'}calender+='';var thead=(showWeek?'| '+this._get(inst,"weekHeader")+" | ":"");for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+="=5?' class="ui-datepicker-week-end"':"")+'>'+dayNamesMin[day]+" | "}calender+=thead+"
";var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth){inst.selectedDay=Math.min(inst.selectedDay,daysInMonth)}var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var curRows=Math.ceil((leadDays+daysInMonth)/7);var numRows=(isMultiMonth?this.maxRows>curRows?this.maxRows:curRows:curRows);this.maxRows=numRows;var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow";var tbody=(!showWeek?"":''+this._get(inst,"calculateWeek")(printDate)+" | ");for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,""]);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=(otherMonth&&!selectOtherMonths)||!daySettings[0]||(minDate&&printDatemaxDate);tbody+='"+(otherMonth&&!showOtherMonths?" ":(unselectable?''+printDate.getDate()+"":''+printDate.getDate()+""))+" | ";printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+""}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+="
"+(isMultiMonth?""+((numMonths[0]>0&&col==numMonths[1]-1)?'':""):"");group+=calender}html+=group}html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'':"");inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,secondary,monthNames,monthNamesShort){var changeMonth=this._get(inst,"changeMonth");var changeYear=this._get(inst,"changeYear");var showMonthAfterYear=this._get(inst,"showMonthAfterYear");var html='';var monthHtml="";if(secondary||!changeMonth){monthHtml+=''+monthNames[drawMonth]+""}else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='"}if(!showMonthAfterYear){html+=monthHtml+(secondary||!(changeMonth&&changeYear)?" ":"")}if(!inst.yearshtml){inst.yearshtml="";if(secondary||!changeYear){html+=''+drawYear+""}else{var years=this._get(inst,"yearRange").split(":");var thisYear=new Date().getFullYear();var determineYear=function(value){var year=(value.match(/c[+-].*/)?drawYear+parseInt(value.substring(1),10):(value.match(/[+-].*/)?thisYear+parseInt(value,10):parseInt(value,10)));return(isNaN(year)?thisYear:year)};var year=determineYear(years[0]);var endYear=Math.max(year,determineYear(years[1]||""));year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);inst.yearshtml+='";html+=inst.yearshtml;inst.yearshtml=null}}html+=this._get(inst,"yearSuffix");if(showMonthAfterYear){html+=(secondary||!(changeMonth&&changeYear)?" ":"")+monthHtml}html+="
";return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=="Y"?offset:0);var month=inst.drawMonth+(period=="M"?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period=="D"?offset:0);var date=this._restrictMinMax(inst,this._daylightSavingAdjust(new Date(year,month,day)));inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=="M"||period=="Y"){this._notifyChange(inst)}},_restrictMinMax:function(inst,date){var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");var newDate=(minDate&&datemaxDate?maxDate:newDate);return newDate},_notifyChange:function(inst){var onChange=this._get(inst,"onChangeMonthYear");if(onChange){onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])}},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,"numberOfMonths");return(numMonths==null?[1,1]:(typeof numMonths=="number"?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax){return this._determineDate(inst,this._get(inst,minMax+"Date"),null)},_getDaysInMonth:function(year,month){return 32-this._daylightSavingAdjust(new Date(year,month,32)).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[0]*numMonths[1]),1));if(offset<0){date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()))}return this._isInRange(inst,date)},_isInRange:function(inst,date){var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");return((!minDate||date.getTime()>=minDate.getTime())&&(!maxDate||date.getTime()<=maxDate.getTime()))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,"shortYearCutoff");shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,"dayNamesShort"),dayNames:this._get(inst,"dayNames"),monthNamesShort:this._get(inst,"monthNamesShort"),monthNames:this._get(inst,"monthNames")}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day=="object"?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,"dateFormat"),date,this._getFormatConfig(inst))}});function bindHover(dpDiv){var selector="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return dpDiv.bind("mouseout",function(event){var elem=$(event.target).closest(selector);if(!elem.length){return}elem.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(event){var elem=$(event.target).closest(selector);if($.datepicker._isDisabledDatepicker(instActive.inline?dpDiv.parent()[0]:instActive.input[0])||!elem.length){return}elem.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");elem.addClass("ui-state-hover");if(elem.hasClass("ui-datepicker-prev")){elem.addClass("ui-datepicker-prev-hover")}if(elem.hasClass("ui-datepicker-next")){elem.addClass("ui-datepicker-next-hover")}})}function extendRemove(target,props){$.extend(target,props);for(var name in props){if(props[name]==null||props[name]==undefined){target[name]=props[name]}}return target}function isArray(a){return(a&&(($.browser.safari&&typeof a=="object"&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))))}$.fn.datepicker=function(options){if(!this.length){return this}if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv);$.datepicker.initialized=true}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=="string"&&(options=="isDisabled"||options=="getDate"||options=="widget")){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}if(options=="option"&&arguments.length==2&&typeof arguments[1]=="string"){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}return this.each(function(){typeof options=="string"?$.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.8.24";window["DP_jQuery_"+dpuuid]=$})(jQuery);
+(function(a){var b=0;AJS.DatePicker=function(h,d){var g,c,e,f;g={};f=b++;e=a(h);e.attr("data-aui-dp-uuid",f);d=a.extend(undefined,AJS.DatePicker.prototype.defaultOptions,d);g.getField=function(){return e};g.getOptions=function(){return d};c=function(){var l,k,r,m,p,o,q,s,n,i,j;g.hide=function(){q=true;i.hide();q=false};g.show=function(){i.show()};o=function(){j.off();l=a("");l.attr("data-aui-dp-popup-uuid",f);j.append(l);var t={dateFormat:a.datepicker.W3C,defaultDate:e.val(),maxDate:e.attr("max"),minDate:e.attr("min"),nextText:">",onSelect:function(v,u){e.val(v);g.hide();s=true;e.focus()},prevText:"<"};if(!(d.languageCode in AJS.DatePicker.prototype.localisations)){d.languageCode=""}a.extend(t,AJS.DatePicker.prototype.localisations[d.languageCode]);if(d.firstDay>-1){t.firstDay=d.firstDay}if(typeof e.attr("step")!=="undefined"){AJS.log("WARNING: The AJS date picker polyfill currently does not support the step attribute!")}l.datepicker(t);e.on("focusout",r);e.on("propertychange keyup input paste",p)};k=function(u){var t=a(u.target);u.preventDefault();if(!(t.closest(j).length||t.is(e))){if(t.closest("body").length){g.hide()}}};r=function(t){if(!(n)){a("body").on("focus blur click mousedown","*",k);n=true}};m=function(t){if(!(s)){g.show()}else{s=false}};p=function(t){l.datepicker("setDate",e.val());l.datepicker("option",{maxDate:e.attr("max"),minDate:e.attr("min")})};g.destroyPolyfill=function(){g.hide();e.attr("placeholder",null);e.off("propertychange keyup input paste",p);e.off("focus click",m);e.off("focusout",r);e.attr("type","date");if(typeof l!=="undefined"){l.datepicker("destroy")}delete g.destroyPolyfill;delete g.show;delete g.hide};q=false;s=false;n=false;i=AJS.InlineDialog(e,undefined,function(u,t,v){if(typeof l==="undefined"){j=u;o()}v()},{hideCallback:function(){a("body").off("focus blur click mousedown","*",k);n=false},hideDelay:null,noBind:true,preHideCallback:function(){return q},width:300});e.on("focus click",m);e.attr("placeholder","YYYY-MM-DD");if(d.overrideBrowserDefault&&AJS.DatePicker.prototype.browserSupportsDateField){e[0].type="text"}};g.reset=function(){if(typeof g.destroyPolyfill==="function"){g.destroyPolyfill()}if((!(AJS.DatePicker.prototype.browserSupportsDateField))||d.overrideBrowserDefault){c()}};g.reset();return g};AJS.DatePicker.prototype.browserSupportsDateField=(a('')[0].type==="date");AJS.DatePicker.prototype.defaultOptions={overrideBrowserDefault:false,firstDay:-1,languageCode:AJS.$("html").attr("lang")||"en-AU"};AJS.DatePicker.prototype.localisations={"":{dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDay:0,isRTL:false,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],showMonthAfterYear:false,yearSuffix:""},af:{dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesMin:["Son","Maa","Din","Woe","Don","Vry","Sat"],firstDay:1,isRTL:false,monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],showMonthAfterYear:false,yearSuffix:""},"ar-DZ":{dayNames:["Ø§Ù„Ø£ØØ¯","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["Ø§Ù„Ø£ØØ¯","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],firstDay:6,isRTL:true,monthNames:["جانÙÙŠ","ÙÙŠÙØ±ÙŠ","مارس","Ø£ÙØ±ÙŠÙ„","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوÙمبر","ديسمبر"],showMonthAfterYear:false,yearSuffix:""},ar:{dayNames:["Ø§Ù„Ø£ØØ¯","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["Ø§Ù„Ø£ØØ¯","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],firstDay:6,isRTL:true,monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","ØØ²ÙŠØ±Ø§Ù†","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],showMonthAfterYear:false,yearSuffix:""},az:{dayNames:["Bazar","Bazar ertÉ™si","ÇərÅŸÉ™nbÉ™ axÅŸamı","ÇərÅŸÉ™nbÉ™","CümÉ™ axÅŸamı","CümÉ™","ŞənbÉ™"],dayNamesMin:["B","Be","Ça","Ç","Ca","C","Åž"],firstDay:1,isRTL:false,monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],showMonthAfterYear:false,yearSuffix:""},bg:{dayNames:["ÐеделÑ","Понеделник","Вторник","СрÑда","Четвъртък","Петък","Събота"],dayNamesMin:["Ðед","Пон","Вто","СрÑ","Чет","Пет","Съб"],firstDay:1,isRTL:false,monthNames:["Януари","Февруари","Март","Ðприл","Май","Юни","Юли","ÐвгуÑÑ‚","Септември","Октомври","Ðоември","Декември"],showMonthAfterYear:false,yearSuffix:""},bs:{dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","ÄŒetvrtak","Petak","Subota"],dayNamesMin:["Ned","Pon","Uto","Sri","ÄŒet","Pet","Sub"],firstDay:1,isRTL:false,monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],showMonthAfterYear:false,yearSuffix:""},ca:{dayNames:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],dayNamesMin:["Dug","Dln","Dmt","Dmc","Djs","Dvn","Dsb"],firstDay:1,isRTL:false,monthNames:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],showMonthAfterYear:false,yearSuffix:""},cs:{dayNames:["nedÄ›le","pondÄ›lÃ","úterý","stÅ™eda","Ätvrtek","pátek","sobota"],dayNamesMin:["ne","po","út","st","Ät","pá","so"],firstDay:1,isRTL:false,monthNames:["leden","únor","bÅ™ezen","duben","kvÄ›ten","Äerven","Äervenec","srpen","zářÃ","Å™Ãjen","listopad","prosinec"],showMonthAfterYear:false,yearSuffix:""},"cy-GB":{dayNames:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],dayNamesMin:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],firstDay:1,isRTL:false,monthNames:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],showMonthAfterYear:false,yearSuffix:""},da:{dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesMin:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],firstDay:1,isRTL:false,monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],showMonthAfterYear:false,yearSuffix:""},de:{dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],firstDay:1,isRTL:false,monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],showMonthAfterYear:false,yearSuffix:""},el:{dayNames:["ΚυÏιακή","ΔευτÎÏα","ΤÏίτη","ΤετάÏτη","Î Îμπτη","ΠαÏασκευή","Σάββατο"],dayNamesMin:["ΚυÏ","Δευ","ΤÏι","Τετ","Πεμ","ΠαÏ","Σαβ"],firstDay:1,isRTL:false,monthNames:["ΙανουάÏιος","ΦεβÏουάÏιος","ΜάÏτιος","ΑπÏίλιος","Μάιος","ΙοÏνιος","ΙοÏλιος","ΑÏγουστος","ΣεπτÎμβÏιος","ΟκτώβÏιος","ÎοÎμβÏιος","ΔεκÎμβÏιος"],showMonthAfterYear:false,yearSuffix:""},"en-AU":{dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDay:1,isRTL:false,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],showMonthAfterYear:false,yearSuffix:""},"en-GB":{dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDay:1,isRTL:false,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],showMonthAfterYear:false,yearSuffix:""},"en-NZ":{dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDay:1,isRTL:false,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],showMonthAfterYear:false,yearSuffix:""},eo:{dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ä´aÅdo","Vendredo","Sabato"],dayNamesMin:["Dim","Lun","Mar","Mer","Ä´aÅ","Ven","Sab"],firstDay:0,isRTL:false,monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","AÅgusto","Septembro","Oktobro","Novembro","Decembro"],showMonthAfterYear:false,yearSuffix:""},es:{dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesMin:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],firstDay:1,isRTL:false,monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],showMonthAfterYear:false,yearSuffix:""},et:{dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesMin:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],firstDay:1,isRTL:false,monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],showMonthAfterYear:false,yearSuffix:""},eu:{dayNames:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"],dayNamesMin:["Iga","Ast","Ast","Ast","Ost","Ost","Lar"],firstDay:1,isRTL:false,monthNames:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],showMonthAfterYear:false,yearSuffix:""},fa:{dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesMin:["ÙŠ","د","س","Ú†","Ù¾","ج","Ø´"],firstDay:6,isRTL:true,monthNames:["ÙØ±ÙˆØ±Ø¯ÙŠÙ†","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دي","بهمن","اسÙند"],showMonthAfterYear:false,yearSuffix:""},fi:{dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","Su"],firstDay:1,isRTL:false,monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],showMonthAfterYear:false,yearSuffix:""},fo:{dayNames:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","FrÃggjadagur","Leyardagur"],dayNamesMin:["Sun","Mán","Týs","Mik","Hós","FrÃ","Ley"],firstDay:0,isRTL:false,monthNames:["Januar","Februar","Mars","AprÃl","Mei","Juni","Juli","August","September","Oktober","November","Desember"],showMonthAfterYear:false,yearSuffix:""},"fr-CH":{dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesMin:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],firstDay:1,isRTL:false,monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],showMonthAfterYear:false,yearSuffix:""},fr:{dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesMin:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."],firstDay:1,isRTL:false,monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],showMonthAfterYear:false,yearSuffix:""},gl:{dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesMin:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],firstDay:1,isRTL:false,monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],showMonthAfterYear:false,yearSuffix:""},he:{dayNames:["ר×שון","×©× ×™","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesMin:["×'","ב'","×’'","ד'","×”'","ו'","שבת"],firstDay:0,isRTL:true,monthNames:["×™× ×•×ר","פברו×ר","מרץ","×פריל","מ××™","×™×•× ×™","יולי","×וגוסט","ספטמבר","×וקטובר","× ×•×‘×ž×‘×¨","דצמבר"],showMonthAfterYear:false,yearSuffix:""},hr:{dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","ÄŒetvrtak","Petak","Subota"],dayNamesMin:["Ned","Pon","Uto","Sri","ÄŒet","Pet","Sub"],firstDay:1,isRTL:false,monthNames:["SijeÄanj","VeljaÄa","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],showMonthAfterYear:false,yearSuffix:""},hu:{dayNames:["Vasárnap","HétfÅ‘","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesMin:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],firstDay:1,isRTL:false,monthNames:["Január","Február","Március","Ãprilis","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],showMonthAfterYear:true,yearSuffix:""},hy:{dayNames:["Õ¯Õ«Ö€Õ¡Õ¯Õ«","Õ¥Õ¯Õ¸Ö‚Õ·Õ¡Õ¢Õ©Õ«","Õ¥Ö€Õ¥Ö„Õ·Õ¡Õ¢Õ©Õ«","Õ¹Õ¸Ö€Õ¥Ö„Õ·Õ¡Õ¢Õ©Õ«","Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«","Õ¸Ö‚Ö€Õ¢Õ¡Õ©","Õ·Õ¡Õ¢Õ¡Õ©"],dayNamesMin:["Õ¯Õ«Ö€","Õ¥Ö€Õ¯","Õ¥Ö€Ö„","Õ¹Ö€Ö„","Õ°Õ¶Õ£","Õ¸Ö‚Ö€Õ¢","Õ·Õ¢Õ©"],firstDay:1,isRTL:false,monthNames:["Õ€Õ¸Ö‚Õ¶Õ¾Õ¡Ö€","Õ“Õ¥Õ¿Ö€Õ¾Õ¡Ö€","Õ„Õ¡Ö€Õ¿","Ô±ÕºÖ€Õ«Õ¬","Õ„Õ¡ÕµÕ«Õ½","Õ€Õ¸Ö‚Õ¶Õ«Õ½","Õ€Õ¸Ö‚Õ¬Õ«Õ½","Õ•Õ£Õ¸Õ½Õ¿Õ¸Õ½","ÕÕ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö€","Õ€Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€","Õ†Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö€","Ô´Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€"],showMonthAfterYear:false,yearSuffix:""},id:{dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesMin:["Min","Sen","Sel","Rab","kam","Jum","Sab"],firstDay:0,isRTL:false,monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],showMonthAfterYear:false,yearSuffix:""},is:{dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesMin:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],firstDay:0,isRTL:false,monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],showMonthAfterYear:false,yearSuffix:""},it:{dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesMin:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],firstDay:1,isRTL:false,monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],showMonthAfterYear:false,yearSuffix:""},ja:{dayNames:["日曜日","月曜日","ç«æ›œæ—¥","水曜日","木曜日","金曜日","土曜日"],dayNamesMin:["æ—¥","月","ç«","æ°´","木","金","土"],firstDay:0,isRTL:false,monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],showMonthAfterYear:true,yearSuffix:"å¹´"},kk:{dayNames:["ЖекÑенбі","ДүйÑенбі","СейÑенбі","СәрÑенбі","БейÑенбі","Жұма","Сенбі"],dayNamesMin:["жкÑ","дÑн","ÑÑн","ÑÑ€Ñ","бÑн","жма","Ñнб"],firstDay:1,isRTL:false,monthNames:["Қаңтар","Ðқпан","Ðаурыз","Сәуір","Мамыр","МауÑым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","ЖелтоқÑан"],showMonthAfterYear:false,yearSuffix:""},ko:{dayNames:["ì¼","ì›”","í™”","수","목","금","í† "],dayNamesMin:["ì¼","ì›”","í™”","수","목","금","í† "],firstDay:0,isRTL:false,monthNames:["1ì›”(JAN)","2ì›”(FEB)","3ì›”(MAR)","4ì›”(APR)","5ì›”(MAY)","6ì›”(JUN)","7ì›”(JUL)","8ì›”(AUG)","9ì›”(SEP)","10ì›”(OCT)","11ì›”(NOV)","12ì›”(DEC)"],showMonthAfterYear:false,yearSuffix:"ë…„"},lb:{dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesMin:["Son","Méi","Dën","Mët","Don","Fre","Sam"],firstDay:1,isRTL:false,monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],showMonthAfterYear:false,yearSuffix:""},lt:{dayNames:["sekmadienis","pirmadienis","antradienis","treÄiadienis","ketvirtadienis","penktadienis","Å¡eÅ¡tadienis"],dayNamesMin:["sek","pir","ant","tre","ket","pen","Å¡eÅ¡"],firstDay:1,isRTL:false,monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","RugpjÅ«tis","RugsÄ—jis","Spalis","Lapkritis","Gruodis"],showMonthAfterYear:false,yearSuffix:""},lv:{dayNames:["svÄ“tdiena","pirmdiena","otrdiena","treÅ¡diena","ceturtdiena","piektdiena","sestdiena"],dayNamesMin:["svt","prm","otr","tre","ctr","pkt","sst"],firstDay:1,isRTL:false,monthNames:["JanvÄris","FebruÄris","Marts","AprÄ«lis","Maijs","JÅ«nijs","JÅ«lijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],showMonthAfterYear:false,yearSuffix:""},mk:{dayNames:["Ðедела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesMin:["Ðед","Пон","Вто","Сре","Чет","Пет","Саб"],firstDay:1,isRTL:false,monthNames:["Јануари","Фебруари","Март","Ðприл","Мај","Јуни","Јули","ÐвгуÑÑ‚","Септември","Октомври","Ðоември","Декември"],showMonthAfterYear:false,yearSuffix:""},ml:{dayNames:["ഞായരàµâ€","തിങàµà´•à´³àµâ€","ചൊവàµà´µ","à´¬àµà´§à´¨àµâ€","à´µàµà´¯à´¾à´´à´‚","വെളàµà´³à´¿","ശനി"],dayNamesMin:["ഞായ","തിങàµà´•","ചൊവàµà´µ","à´¬àµà´§","à´µàµà´¯à´¾à´´à´‚","വെളàµà´³à´¿","ശനി"],firstDay:1,isRTL:false,monthNames:["ജനàµà´µà´°à´¿","ഫെബàµà´°àµà´µà´°à´¿","മാരàµâ€à´šàµà´šàµ","à´à´ªàµà´°à´¿à´²àµâ€","മേയàµ","ജൂണàµâ€","ജൂലൈ","ആഗസàµà´±àµà´±àµ","സെപàµà´±àµà´±à´‚ബരàµâ€","à´’à´•àµà´Ÿàµ‹à´¬à´°àµâ€","നവംബരàµâ€","ഡിസംബരàµâ€"],showMonthAfterYear:false,yearSuffix:""},ms:{dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesMin:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],firstDay:0,isRTL:false,monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],showMonthAfterYear:false,yearSuffix:""},"nl-BE":{dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesMin:["zon","maa","din","woe","don","vri","zat"],firstDay:1,isRTL:false,monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],showMonthAfterYear:false,yearSuffix:""},nl:{dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesMin:["zon","maa","din","woe","don","vri","zat"],firstDay:1,isRTL:false,monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],showMonthAfterYear:false,yearSuffix:""},no:{dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["søn","man","tir","ons","tor","fre","lør"],firstDay:1,isRTL:false,monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],showMonthAfterYear:false,yearSuffix:""},pl:{dayNames:["Niedziela","PoniedziaÅ‚ek","Wtorek","Åšroda","Czwartek","PiÄ…tek","Sobota"],dayNamesMin:["Nie","Pn","Wt","Åšr","Czw","Pt","So"],firstDay:1,isRTL:false,monthNames:["StyczeÅ„","Luty","Marzec","KwiecieÅ„","Maj","Czerwiec","Lipiec","SierpieÅ„","WrzesieÅ„","Październik","Listopad","GrudzieÅ„"],showMonthAfterYear:false,yearSuffix:""},"pt-BR":{dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],firstDay:0,isRTL:false,monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],showMonthAfterYear:false,yearSuffix:""},pt:{dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],firstDay:0,isRTL:false,monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],showMonthAfterYear:false,yearSuffix:""},rm:{dayNames:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],dayNamesMin:["Dum","Gli","Mar","Mes","Gie","Ven","Som"],firstDay:1,isRTL:false,monthNames:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],showMonthAfterYear:false,yearSuffix:""},ro:{dayNames:["Duminică","Luni","MarÅ£i","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesMin:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],firstDay:1,isRTL:false,monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],showMonthAfterYear:false,yearSuffix:""},ru:{dayNames:["воÑкреÑенье","понедельник","вторник","Ñреда","четверг","пÑтница","Ñуббота"],dayNamesMin:["вÑк","пнд","втр","Ñрд","чтв","птн","Ñбт"],firstDay:1,isRTL:false,monthNames:["Январь","Февраль","Март","Ðпрель","Май","Июнь","Июль","ÐвгуÑÑ‚","СентÑбрь","ОктÑбрь","ÐоÑбрь","Декабрь"],showMonthAfterYear:false,yearSuffix:""},sk:{dayNames:["Nedeľa","Pondelok","Utorok","Streda","Å tvrtok","Piatok","Sobota"],dayNamesMin:["Ned","Pon","Uto","Str","Å tv","Pia","Sob"],firstDay:1,isRTL:false,monthNames:["Január","Február","Marec","AprÃl","Máj","Jún","Júl","August","September","Október","November","December"],showMonthAfterYear:false,yearSuffix:""},sl:{dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesMin:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],firstDay:1,isRTL:false,monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],showMonthAfterYear:false,yearSuffix:""},sq:{dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],firstDay:1,isRTL:false,monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],showMonthAfterYear:false,yearSuffix:""},"sr-SR":{dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","ÄŒetvrtak","Petak","Subota"],dayNamesMin:["Ned","Pon","Uto","Sre","ÄŒet","Pet","Sub"],firstDay:1,isRTL:false,monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],showMonthAfterYear:false,yearSuffix:""},sr:{dayNames:["Ðедеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesMin:["Ðед","Пон","Уто","Сре","Чет","Пет","Суб"],firstDay:1,isRTL:false,monthNames:["Јануар","Фебруар","Март","Ðприл","Мај","Јун","Јул","ÐвгуÑÑ‚","Септембар","Октобар","Ðовембар","Децембар"],showMonthAfterYear:false,yearSuffix:""},sv:{dayNames:["Söndag","MÃ¥ndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sön","MÃ¥n","Tis","Ons","Tor","Fre","Lör"],firstDay:1,isRTL:false,monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],showMonthAfterYear:false,yearSuffix:""},ta:{dayNames:["ஞாயிறà¯à®±à¯à®•à¯à®•ிழமை","திஙà¯à®•டà¯à®•ிழமை","செவà¯à®µà®¾à®¯à¯à®•à¯à®•ிழமை","பà¯à®¤à®©à¯à®•ிழமை","வியாழகà¯à®•ிழமை","வெளà¯à®³à®¿à®•à¯à®•ிழமை","சனிகà¯à®•ிழமை"],dayNamesMin:["ஞாயிறà¯","திஙà¯à®•ளà¯","செவà¯à®µà®¾à®¯à¯","பà¯à®¤à®©à¯","வியாழனà¯","வெளà¯à®³à®¿","சனி"],firstDay:1,isRTL:false,monthNames:["தை","மாசி","பஙà¯à®•à¯à®©à®¿","சிதà¯à®¤à®¿à®°à¯ˆ","வைகாசி","ஆனி","ஆடி","ஆவணி","பà¯à®°à®Ÿà¯à®Ÿà®¾à®šà®¿","à®à®ªà¯à®ªà®šà®¿","காரà¯à®¤à¯à®¤à®¿à®•ை","மாரà¯à®•ழி"],showMonthAfterYear:false,yearSuffix:""},th:{dayNames:["à¸à¸²à¸—ิตย์","จันทร์","à¸à¸±à¸‡à¸„าร","พุธ","พฤหัสบดี","ศุà¸à¸£à¹Œ","เสาร์"],dayNamesMin:["à¸à¸².","จ.","à¸.","พ.","พฤ.","ศ.","ส."],firstDay:0,isRTL:false,monthNames:["มà¸à¸£à¸²à¸„ม","à¸à¸¸à¸¡à¸ าพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","à¸à¸£à¸à¸Žà¸²à¸„ม","สิงหาคม","à¸à¸±à¸™à¸¢à¸²à¸¢à¸™","ตุลาคม","พฤศจิà¸à¸²à¸¢à¸™","ธันวาคม"],showMonthAfterYear:false,yearSuffix:""},tj:{dayNames:["Ñкшанбе","душанбе","Ñешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesMin:["Ñкш","душ","Ñеш","чор","пан","ҷум","шан"],firstDay:1,isRTL:false,monthNames:["Январ","Феврал","Март","Ðпрел","Май","Июн","Июл","ÐвгуÑÑ‚","СентÑбр","ОктÑбр","ÐоÑбр","Декабр"],showMonthAfterYear:false,yearSuffix:""},tr:{dayNames:["Pazar","Pazartesi","Salı","ÇarÅŸamba","PerÅŸembe","Cuma","Cumartesi"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],firstDay:1,isRTL:false,monthNames:["Ocak","Åžubat","Mart","Nisan","Mayıs","Haziran","Temmuz","AÄŸustos","Eylül","Ekim","Kasım","Aralık"],showMonthAfterYear:false,yearSuffix:""},uk:{dayNames:["неділÑ","понеділок","вівторок","Ñереда","четвер","п’ÑтницÑ","Ñубота"],dayNamesMin:["нед","пнд","вів","Ñрд","чтв","птн","Ñбт"],firstDay:1,isRTL:false,monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","ВереÑень","Жовтень","ЛиÑтопад","Грудень"],showMonthAfterYear:false,yearSuffix:""},vi:{dayNames:["Chá»§ Nháºt","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],firstDay:0,isRTL:false,monthNames:["Tháng Má»™t","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng ChÃn","Tháng Mưá»i","Tháng Mưá»i Má»™t","Tháng Mưá»i Hai"],showMonthAfterYear:false,yearSuffix:""},"zh-CN":{dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期å…"],dayNamesMin:["周日","周一","周二","周三","周四","周五","周å…"],firstDay:1,isRTL:false,monthNames:["一月","二月","三月","四月","五月","å…æœˆ","七月","八月","乿œˆ","åæœˆ","å一月","å二月"],showMonthAfterYear:true,yearSuffix:"å¹´"},"zh-HK":{dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期å…"],dayNamesMin:["周日","周一","周二","周三","周四","周五","周å…"],firstDay:0,isRTL:false,monthNames:["一月","二月","三月","四月","五月","å…æœˆ","七月","八月","乿œˆ","åæœˆ","å一月","å二月"],showMonthAfterYear:true,yearSuffix:"å¹´"},"zh-TW":{dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期å…"],dayNamesMin:["周日","周一","周二","周三","周四","周五","周å…"],firstDay:1,isRTL:false,monthNames:["一月","二月","三月","四月","五月","å…æœˆ","七月","八月","乿œˆ","åæœˆ","å一月","å二月"],showMonthAfterYear:true,yearSuffix:"å¹´"}};a.fn.datePicker=function(c){return(new AJS.DatePicker(this,c))}}(jQuery));
diff --git a/ajax/libs/aui/5.3-m3/js/aui-experimental.js b/ajax/libs/aui/5.3-m3/js/aui-experimental.js
new file mode 100644
index 000000000..5c36539cd
--- /dev/null
+++ b/ajax/libs/aui/5.3-m3/js/aui-experimental.js
@@ -0,0 +1,30 @@
+/*! AUI Flat Pack - version 5.3-m3 - generated 2013-09-11 12:41:05 +1000 */
+
+
+(function(e){function d(h,g){return(typeof h=="function")?(h.call(g)):h}function f(g){while(g=g.parentNode){if(g==document){return true}}return false}var a=0;function b(){var g=a++;return"tipsyuid"+g}function c(h,g){this.$element=e(h);this.options=g;this.enabled=true;this.fixTitle()}c.prototype={show:function(){var p=this.getTitle();if(p&&this.enabled){var i=this.tip();i.find(".tipsy-inner")[this.options.html?"html":"text"](p);i[0].className="tipsy";i.remove().css({top:0,left:0,visibility:"hidden",display:"block"}).prependTo(document.body);var l=this;function h(){l.hoverTooltip=true}function m(){if(l.hoverState=="in"){return}l.hoverTooltip=false;if(l.options.trigger!="manual"){var r=l.options.trigger=="hover"?"mouseleave.tipsy":"blur.tipsy";l.$element.trigger(r)}}if(this.options.hoverable){i.hover(h,m)}var n=e.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight});var g=i[0].offsetWidth,k=i[0].offsetHeight,q=d(this.options.gravity,this.$element[0]);var o;switch(q.charAt(0)){case"n":o={top:n.top+n.height+this.options.offset,left:n.left+n.width/2-g/2};break;case"s":o={top:n.top-k-this.options.offset,left:n.left+n.width/2-g/2};break;case"e":o={top:n.top+n.height/2-k/2,left:n.left-g-this.options.offset};break;case"w":o={top:n.top+n.height/2-k/2,left:n.left+n.width+this.options.offset};break}if(q.length==2){if(q.charAt(1)=="w"){o.left=n.left+n.width/2-15}else{o.left=n.left+n.width/2-g+15}}i.css(o).addClass("tipsy-"+q);i.find(".tipsy-arrow")[0].className="tipsy-arrow tipsy-arrow-"+q.charAt(0);if(this.options.className){i.addClass(d(this.options.className,this.$element[0]))}if(this.options.fade){i.stop().css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:this.options.opacity})}else{i.css({visibility:"visible",opacity:this.options.opacity})}if(this.options.aria){var j=b();i.attr("id",j);this.$element.attr("aria-describedby",j)}}},hide:function(){if(this.options.fade){this.tip().stop().fadeOut(function(){e(this).remove()})}else{this.tip().remove()}if(this.options.aria){this.$element.removeAttr("aria-describedby")}},fixTitle:function(){var g=this.$element;if(g.attr("title")||typeof(g.attr("original-title"))!="string"){g.attr("original-title",g.attr("title")||"").removeAttr("title")}},getTitle:function(){var i,g=this.$element,h=this.options;this.fixTitle();var i,h=this.options;if(typeof h.title=="string"){i=g.attr(h.title=="title"?"original-title":h.title)}else{if(typeof h.title=="function"){i=h.title.call(g[0])}}i=(""+i).replace(/(^\s*|\s*$)/,"");return i||h.fallback},tip:function(){if(!this.$tip){this.$tip=e('').html('').attr("role","tooltip");this.$tip.data("tipsy-pointee",this.$element[0])}return this.$tip},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled}};e.fn.tipsy=function(j){if(j===true){return this.data("tipsy")}else{if(typeof j=="string"){var l=this.data("tipsy");if(l){l[j]()}return this}}j=e.extend({},e.fn.tipsy.defaults,j);if(j.hoverable){j.delayOut=j.delayOut||20}function i(n){var o=e.data(n,"tipsy");if(!o){o=new c(n,e.fn.tipsy.elementOptions(n,j));e.data(n,"tipsy",o)}return o}function m(){var n=i(this);n.hoverState="in";if(j.delayIn==0){n.show()}else{n.fixTitle();setTimeout(function(){if(n.hoverState=="in"){n.show()}},j.delayIn)}}function h(){var n=i(this);n.hoverState="out";if(j.delayOut==0){n.hide()}else{setTimeout(function(){if(n.hoverState=="out"&&!n.hoverTooltip){n.hide()}},j.delayOut)}}if(!j.live){this.each(function(){i(this)})}if(j.trigger!="manual"){var k=j.trigger=="hover"?"mouseenter.tipsy":"focus.tipsy",g=j.trigger=="hover"?"mouseleave.tipsy":"blur.tipsy";if(j.live){e(this.context).on(k,this.selector,m).on(g,this.selector,h)}else{this.bind(k,m).bind(g,h)}}return this};e.fn.tipsy.defaults={aria:false,className:null,delayIn:0,delayOut:0,fade:false,fallback:"",gravity:"n",html:false,live:false,hoverable:false,offset:0,opacity:0.8,title:"title",trigger:"hover"};e.fn.tipsy.revalidate=function(){e(".tipsy").each(function(){var g=e.data(this,"tipsy-pointee");if(!g||!f(g)){e(this).remove()}})};e.fn.tipsy.elementOptions=function(h,g){return e.metadata?e.extend({},g,e(h).metadata()):g};e.fn.tipsy.autoNS=function(){return e(this).offset().top>(e(document).scrollTop()+e(window).height()/2)?"s":"n"};e.fn.tipsy.autoWE=function(){return e(this).offset().left>(e(document).scrollLeft()+e(window).width()/2)?"e":"w"};e.fn.tipsy.autoBounds=function(h,g){return function(){var i={ns:g[0],ew:(g.length>1?g[1]:false)},l=e(document).scrollTop()+h,j=e(document).scrollLeft()+h,k=e(this);if(k.offset().top");if(e.hasClass("aui-table-column-issue-key")){c.headers[f].sorter="issue-key"}}});d.tablesorter(c)}AJS.tablessortable={setup:function(){AJS.$.tablesorter.addParser({id:"issue-key",is:function(){return false},format:function(g){var c=g.split("-");var d=c[0];var f=c[1];var i="..........";var h="000000";var e=(d+i).slice(0,i.length);e+=(h+f).slice(-h.length);return e},type:"text"});AJS.$(".aui-table-sortable").each(function(){a(AJS.$(this))})},setTableSortable:function(c){a(c)}};AJS.$(AJS.tablessortable.setup)})();
+/*
+ * TableSorter 2.10.8 - Client-side table sorting with ease!
+ * @requires jQuery v1.2.6+
+ *
+ * Copyright (c) 2007 Christian Bach
+ * Examples and docs at: http://tablesorter.com
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ *
+ * @type jQuery
+ * @name tablesorter
+ * @cat Plugins/Tablesorter
+ * @author Christian Bach/christian.bach@polyester.se
+ * @contributor Rob Garrison/https://github.com/Mottie/tablesorter
+ */
+!(function(b){b.extend({tablesorter:new function(){var c=this;c.version="2.10.8";c.parsers=[];c.widgets=[];c.defaults={theme:"default",widthFixed:false,showProcessing:false,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:true,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:true,delayInit:false,serverSideSorting:false,headers:{},ignoreCase:true,sortForce:null,sortList:[],sortAppend:null,sortInitialOrder:"asc",sortLocaleCompare:false,sortReset:false,sortRestart:false,emptyTo:"bottom",stringTo:"max",textExtraction:"simple",textSorter:null,widgets:[],widgetOptions:{zebra:["even","odd"]},initWidgets:true,initialized:null,tableClass:"tablesorter",cssAsc:"tablesorter-headerAsc",cssChildRow:"tablesorter-childRow",cssDesc:"tablesorter-headerDesc",cssHeader:"tablesorter-header",cssHeaderRow:"tablesorter-headerRow",cssIcon:"tablesorter-icon",cssInfoBlock:"tablesorter-infoOnly",cssProcessing:"tablesorter-processing",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:false,headerList:[],empties:{},strings:{},parsers:[]};function o(y){if(typeof console!=="undefined"&&typeof console.log!=="undefined"){console.log(y)}else{alert(y)}}function i(y,z){o(y+" ("+(new Date().getTime()-z.getTime())+"ms)")}c.log=o;c.benchmark=i;function f(B,A,y){if(!A){return""}var D=B.config,z=D.textExtraction,C="";if(z==="simple"){if(D.supportsTextContent){C=A.textContent}else{C=b(A).text()}}else{if(typeof z==="function"){C=z(A,B,y)}else{if(typeof z==="object"&&z.hasOwnProperty(y)){C=z[y](A,B,y)}else{C=D.supportsTextContent?A.textContent:b(A).text()}}}return b.trim(C)}function j(E,G,C,B){var D,z=c.parsers.length,y=false,A="",F=true;while(A===""&&F){C++;if(G[C]){y=G[C].cells[B];A=f(E,y,B);if(E.config.debug){o("Checking if value was empty on row "+C+", column: "+B+': "'+A+'"')}}else{F=false}}while(--z>=0){D=c.parsers[z];if(D&&D.id!=="text"&&D.is&&D.is(A,E,y)){return D}}return c.getParserById("text")}function k(H){var G=H.config,C=G.$tbodies=G.$table.children("tbody:not(."+G.cssInfoBlock+")"),I,F,B,D,E,y,A,z="";if(C.length===0){return G.debug?o("*Empty table!* Not building a parser cache"):""}I=C[0].rows;if(I[0]){F=[];B=I[0].cells.length;for(D=0;D':"";E.$headers=b(G).find(E.selectorHeaders).each(function(I){B=b(this);y=E.headers[I];E.headerContent[I]=this.innerHTML;H=E.headerTemplate.replace(/\{content\}/g,this.innerHTML).replace(/\{icon\}/g,C);if(E.onRenderTemplate){D=E.onRenderTemplate.apply(B,[I,H]);if(D&&typeof D==="string"){H=D}}this.innerHTML='";if(E.onRenderHeader){E.onRenderHeader.apply(B,[I])}this.column=A[this.parentNode.rowIndex+"-"+this.cellIndex];this.order=h(c.getData(B,y,"sortInitialOrder")||E.sortInitialOrder)?[1,0,2]:[0,1,2];this.count=-1;this.lockedOrder=false;F=c.getData(B,y,"lockedOrder")||false;if(typeof F!=="undefined"&&F!==false){this.order=this.lockedOrder=h(F)?[1,1,1]:[0,0,0]}B.addClass(E.cssHeader);E.headerList[I]=this;B.parent().addClass(E.cssHeaderRow);B.attr("tabindex",0)});l(G);if(E.debug){i("Built headers:",z);o(E.$headers)}}function p(z,y,B){var A=z.config;A.$table.find(A.selectorRemove).remove();k(z);x(z);w(A.$table,y,B)}function l(z){var y,A=z.config;A.$headers.each(function(B,C){y=c.getData(C,A.headers[B],"sorter")==="false";C.sortDisabled=y;b(C)[y?"addClass":"removeClass"]("sorter-false")})}function d(G){var D,B,z,y,F=G.config,E=F.sortList,C=[F.cssAsc,F.cssDesc],A=b(G).find("tfoot tr").children().removeClass(C.join(" "));F.$headers.removeClass(C.join(" "));y=E.length;for(B=0;B"),z=b(A).width();b(A.tBodies[0]).find("tr:first").children("td").each(function(){y.append(b("").css("width",parseInt((b(this).width()/z)*1000,10)/10+"%"))});b(A).prepend(y)}}function t(B,C){var A,z,D,E=B.config,y=C||E.sortList;E.sortList=[];b.each(y,function(G,F){A=[parseInt(F[0],10),parseInt(F[1],10)];D=E.headerList[A[0]];if(D){E.sortList.push(A);z=b.inArray(A[1],D.order);D.count=z>=0?z:A[1]%(E.sortReset?3:2)}})}function m(z,y){return(z&&z[y])?z[y].type||"":""}function u(H,G,C){var F,B,A,y,I,E=H.config,z=!C[E.sortMultiSortKey],D=b(H);D.trigger("sortStart",H);G.count=C[E.sortResetKey]?2:(G.count+1)%(E.sortReset?3:2);if(E.sortRestart){B=G;E.$headers.each(function(){if(this!==B&&(z||!b(this).is("."+E.cssDesc+",."+E.cssAsc))){this.count=-1}})}B=G.column;if(z){E.sortList=[];if(E.sortForce!==null){F=E.sortForce;for(A=0;A1){for(A=1;A1){if(c.isValueInArray(E.sortAppend[0][0],E.sortList)){E.sortList.pop()}}if(c.isValueInArray(B,E.sortList)){for(A=0;A1){for(A=1;A250)){return false}if(F.type==="mousedown"){B=new Date().getTime();return F.target.tagName==="INPUT"?"":!C.cancelSelection}if(C.delayInit&&!C.cache){x(z)}var E=/TH|TD/.test(this.tagName)?b(this):b(this).parents("th, td").filter(":first"),D=E[0];if(!D.sortDisabled){u(z,D,F)}});if(C.cancelSelection){C.$headers.attr("unselectable","on").bind("selectstart",false).css({"user-select":"none",MozUserSelect:"none"})}A.unbind("sortReset update updateRows updateCell updateAll addRows sorton appendCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave ".split(" ").join(".tablesorter ")).bind("sortReset.tablesorter",function(D){D.stopPropagation();C.sortList=[];d(z);r(z);v(z)}).bind("updateAll.tablesorter",function(E,D,F){E.stopPropagation();c.refreshWidgets(z,true,true);c.restoreHeaders(z);s(z);e(z);p(z,D,F)}).bind("update.tablesorter updateRows.tablesorter",function(E,D,F){E.stopPropagation();l(z);p(z,D,F)}).bind("updateCell.tablesorter",function(G,J,H,K){G.stopPropagation();A.find(C.selectorRemove).remove();var E,M,I,D=A.find("tbody"),L=D.index(b(J).parents("tbody").filter(":first")),F=b(J).parents("tr").filter(":first");J=b(J)[0];if(D.length&&L>=0){M=D.eq(L).find("tr").index(F);I=J.cellIndex;E=C.cache[L].normalized[M].length-1;C.cache[L].row[z.config.cache[L].normalized[M][E]]=F;C.cache[L].normalized[M][I]=C.parsers[I].format(f(z,J,I),z,J,I);w(A,H,K)}}).bind("addRows.tablesorter",function(F,H,G,I){F.stopPropagation();var E,L=H.filter("tr").length,J=[],D=H[0].cells.length,K=A.find("tbody").index(H.parents("tbody").filter(":first"));if(!C.parsers){k(z)}for(E=0;Ex")[0].textContent==="x";D.supportsDataObject=parseFloat(b.fn.jquery)>=1.4;D.string={max:1,min:-1,"max+":1,"max-":-1,zero:0,none:0,"null":0,top:true,bottom:false};if(!/tablesorter\-/.test(C.attr("class"))){A=(D.theme!==""?" tablesorter-"+D.theme:"")}D.$table=C.addClass(D.tableClass+A);D.$tbodies=C.children("tbody:not(."+D.cssInfoBlock+")");s(B);n(B);k(B);if(!D.delayInit){x(B)}e(B);if(D.supportsDataObject&&typeof C.data().sortlist!=="undefined"){D.sortList=C.data().sortlist}else{if(z&&(C.metadata()&&C.metadata().sortlist)){D.sortList=C.metadata().sortlist}}c.applyWidget(B,true);if(D.sortList.length>0){C.trigger("sorton",[D.sortList,{},!D.initWidgets])}else{if(D.initWidgets){c.applyWidget(B)}}if(D.showProcessing){C.unbind("sortBegin.tablesorter sortEnd.tablesorter").bind("sortBegin.tablesorter sortEnd.tablesorter",function(E){c.isProcessing(B,E.type==="sortBegin")})}B.hasInitialized=true;B.isProcessing=false;if(D.debug){c.benchmark("Overall initialization time",b.data(B,"startoveralltimer"))}C.trigger("tablesorter-initialized",B);if(typeof D.initialized==="function"){D.initialized(B)}})};c.isProcessing=function(B,z,A){B=b(B);var C=B[0].config,y=A||B.find("."+C.cssHeader);if(z){if(C.sortList.length>0){y=y.filter(function(){return this.sortDisabled?false:c.isValueInArray(parseFloat(b(this).attr("data-column")),C.sortList)})}y.addClass(C.cssProcessing)}else{y.removeClass(C.cssProcessing)}};c.processTbody=function(A,y,z){var B;if(z){A.isProcessing=true;y.before('');B=(b.fn.detach)?y.detach():y.remove();return B}B=b(A).find("span.tablesorter-savemyplace");y.insertAfter(B);B.remove();A.isProcessing=false};c.clearTableBody=function(y){b(y)[0].config.$tbodies.empty()};c.restoreHeaders=function(y){var z=y.config;z.$table.find(z.selectorHeaders).each(function(A){if(b(this).find(".tablesorter-header-inner").length){b(this).html(z.headerContent[A])}})};c.destroy=function(C,z,F){C=b(C)[0];if(!C.hasInitialized){return}c.refreshWidgets(C,true,true);var E=b(C),D=C.config,y=E.find("thead:first"),A=y.find("tr."+D.cssHeaderRow).removeClass(D.cssHeaderRow),B=E.find("tfoot:first > tr").children("th, td");y.find("tr").not(A).remove();E.removeData("tablesorter").unbind("sortReset update updateAll updateRows updateCell addRows sorton appendCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave keypress sortBegin sortEnd ".split(" ").join(".tablesorter "));D.$headers.add(B).removeClass(D.cssHeader+" "+D.cssAsc+" "+D.cssDesc).removeAttr("data-column");A.find(D.selectorSort).unbind("mousedown.tablesorter mouseup.tablesorter keypress.tablesorter");c.restoreHeaders(C);if(z!==false){E.removeClass(D.tableClass+" tablesorter-"+D.theme)}C.hasInitialized=false;if(typeof F==="function"){F(C)}};c.regex=[/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,/^0x[0-9a-f]+$/i];c.sortText=function(M,H,G,A){if(H===G){return 0}var F=M.config,E=F.string[(F.empties[A]||F.emptyTo)],y=c.regex,K,B,D,L,z,J,C,I;if(H===""&&E!==0){return typeof E==="boolean"?(E?-1:1):-E||-1}if(G===""&&E!==0){return typeof E==="boolean"?(E?1:-1):E||1}if(typeof F.textSorter==="function"){return F.textSorter(H,G,M,A)}K=H.replace(y[0],"\\0$1\\0").replace(/\\0$/,"").replace(/^\\0/,"").split("\\0");D=G.replace(y[0],"\\0$1\\0").replace(/\\0$/,"").replace(/^\\0/,"").split("\\0");B=parseInt(H.match(y[2]),16)||(K.length!==1&&H.match(y[1])&&Date.parse(H));L=parseInt(G.match(y[2]),16)||(B&&G.match(y[1])&&Date.parse(G))||null;if(L){if(BL){return 1}}I=Math.max(K.length,D.length);for(C=0;CJ){return 1}}return 0};c.sortTextDesc=function(B,z,y,A){if(z===y){return 0}var D=B.config,C=D.string[(D.empties[A]||D.emptyTo)];if(z===""&&C!==0){return typeof C==="boolean"?(C?-1:1):C||1}if(y===""&&C!==0){return typeof C==="boolean"?(C?1:-1):-C||-1}if(typeof D.textSorter==="function"){return D.textSorter(y,z,B,A)}return c.sortText(B,y,z)};c.getTextValue=function(z,C,B){if(C){var A,y=z?z.length:0,D=C+B;for(A=0;A1){r=0;i=e.children("tr:visible");i.each(function(){m=b(this);if(!d.test(this.className)){r++}j=(r%2===0);m.removeClass(p.zebra[j?1:0]).addClass(p.zebra[j?0:1])})}}if(n.debug){a.benchmark("Applying Zebra widget",f)}},remove:function(i,j,g){var f,e,d=j.$tbodies,h=(g.zebra||["even","odd"]).join(" ");for(f=0;f=0){b.trigger(i,[l,m]);var h=document.body||document.documentElement;var a=h.style;var j="transition";function c(n){window.setTimeout(function(){f.css("width",n*100+"%");b.attr("data-value",n)},0)}if(typeof a.transition==="string"||typeof a.WebkitTransition==="string"){f.one(d,function(){b.trigger(k,[l,m])});c(m)}else{c(m);b.trigger(k,[l,m])}}return b},setIndeterminate:function(c){var b=AJS.$(c).first();var a=b.children(".aui-progress-indicator-value");b.removeAttr("data-value");a.css("width","100%")}};
+!function(i,k,a){var e=["webkit","Moz","ms","O"],p={},o;function g(q,t){var r=k.createElement(q||"div"),s;for(s in t){r[s]=t[s]}return r}function h(r){for(var q=1,s=arguments.length;q>1):parseInt(q.left,10)+A)+"px",top:(q.top=="auto"?z.y-C.y+(x.offsetHeight>>1):parseInt(q.top,10)+A)+"px"})}r.setAttribute("aria-role","progressbar");B.lines(r,B.opts);if(!o){var u=0,s=q.fps,w=s/q.speed,v=(1-q.opacity)/(w*q.trail/100),y=w/q.lines;(function t(){u++;for(var D=q.lines;D;D--){var E=Math.max(1-(u+D*y)%w*v,q.opacity);B.opacity(r,q.lines-D,E,q)}B.timeout=B.el&&setTimeout(t,~~(1000/s))})()}return B},stop:function(){var q=this.el;if(q){clearTimeout(this.timeout);if(q.parentNode){q.parentNode.removeChild(q)}this.el=a}return this},lines:function(s,u){var r=0,q;function t(v,w){return f(g(),{position:"absolute",width:(u.length+u.width)+"px",height:u.width+"px",background:v,boxShadow:w,transformOrigin:"left",transform:"rotate("+~~(360/u.lines*r+u.rotate)+"deg) translate("+u.radius+"px,0)",borderRadius:(u.corners*u.width>>1)+"px"})}for(;r',s)}var r=f(g("group"),{behavior:"url(#default#VML)"});if(!n(r,"transform")&&r.adj){j.addRule(".spin-vml","behavior:url(#default#VML)");b.prototype.lines=function(v,u){var t=u.length+u.width,B=2*t;function A(){return f(q("group",{coordsize:B+" "+B,coordorigin:-t+" "+-t}),{width:B,height:B})}var w=-(u.width+u.length)*2+"px",z=f(A(),{position:"absolute",top:w,left:w}),y;function x(C,s,D){h(z,h(f(A(),{rotation:360/u.lines*C+"deg",left:~~s}),h(f(q("roundrect",{arcsize:u.corners}),{width:t,height:u.width,left:u.radius,top:-u.width>>1,filter:D}),q("fill",{color:u.color,opacity:u.opacity}),q("stroke",{opacity:0}))))}if(u.shadow){for(y=1;y<=u.lines;y++){x(y,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)")}}for(y=1;y<=u.lines;y++){x(y)}return h(v,z)};b.prototype.opacity=function(t,s,v,u){var w=t.firstChild;u=u.shadow&&u.lines||0;if(w&&s+u=112&&M<=123}},z="";t=B(document);a=(function(){var M=1;return function(){return M++}}());function o(O,P){var N=0,M=P.length;for(;N=0){N(P)}})}function G(M){if(M[0]===document.activeElement){return}window.setTimeout(function(){var O=M[0],P=M.val().length,N;M.focus();if(M.is(":visible")&&O===document.activeElement){if(O.setSelectionRange){O.setSelectionRange(P,P)}else{if(O.createTextRange){N=O.createTextRange();N.collapse(false);N.select()}}}},0)}function d(M){M=B(M)[0];var P=0;var N=0;if("selectionStart" in M){P=M.selectionStart;N=M.selectionEnd-P}else{if("selection" in document){M.focus();var O=document.selection.createRange();N=document.selection.createRange().text.length;O.moveStart("character",-M.value.length);P=O.text.length-N}}return{offset:P,length:N}}function y(M){M.preventDefault();M.stopPropagation()}function b(M){M.preventDefault();M.stopImmediatePropagation()}function l(N){if(!n){var M=N[0].currentStyle||window.getComputedStyle(N[0],null);n=B(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:M.fontSize,fontFamily:M.fontFamily,fontStyle:M.fontStyle,fontWeight:M.fontWeight,letterSpacing:M.letterSpacing,textTransform:M.textTransform,whiteSpace:"nowrap"});n.attr("class","select2-sizer");B("body").append(n)}n.text(N.val());return n.width()}function h(N,R,M){var P,Q=[],O;P=N.attr("class");if(P){P=""+P;B(P.split(" ")).each2(function(){if(this.indexOf("select2-")===0){Q.push(this)}})}P=R.attr("class");if(P){P=""+P;B(P.split(" ")).each2(function(){if(this.indexOf("select2-")!==0){O=M(this);if(O){Q.push(this)}}})}N.attr("class",Q.join(" "))}function s(R,Q,O,M){var P=R.toUpperCase().indexOf(Q.toUpperCase()),N=Q.length;if(P<0){O.push(M(R));return}O.push(M(R.substring(0,P)));O.push("");O.push(M(R.substring(P,P+N)));O.push("");O.push(M(R.substring(P+N,R.length)))}function E(M){var N={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(M).replace(/[&<>"'\/\\]/g,function(O){return N[O]})}function C(O){var R,N=0,P=null,S=O.quietMillis||100,Q=O.url,M=this;return function(T){window.clearTimeout(R);R=window.setTimeout(function(){N+=1;var W=N,X=O.data,V=Q,Z=O.transport||B.fn.select2.ajaxDefaults.transport,U={type:O.type||"GET",cache:O.cache||false,jsonpCallback:O.jsonpCallback||k,dataType:O.dataType||"json"},Y=B.extend({},B.fn.select2.ajaxDefaults.params,U);X=X?X.call(M,T.term,T.page,T.context):null;V=(typeof V==="function")?V.call(M,T.term,T.page,T.context):V;if(P){P.abort()}if(O.params){if(B.isFunction(O.params)){B.extend(Y,O.params.call(M))}else{B.extend(Y,O.params)}}B.extend(Y,{url:V,dataType:O.dataType,data:X,success:function(ab){if(W=0){break}}if(T<0){break}P=U.substring(0,T);U=U.substring(T+R.length);if(P.length>0){P=M.createSearchChoice.call(this,P,V);if(P!==k&&P!==null&&M.id(P)!==k&&M.id(P)!==null){W=false;for(Q=0,O=V.length;Q\|])/g,"\\$1");this.container.attr("id",this.containerId);this.body=q(function(){return Q.element.closest("body")});h(this.container,this.opts.element,this.opts.adaptContainerCssClass);this.container.css(A(Q.containerCss));this.container.addClass(A(Q.containerCssClass));this.elementTabIndex=this.opts.element.attr("tabindex");this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container);this.container.data("select2",this);this.dropdown=this.container.find(".select2-drop");this.dropdown.addClass(A(Q.dropdownCssClass));this.dropdown.data("select2",this);this.results=O=this.container.find(R);this.search=N=this.container.find("input.select2-input");this.resultsPage=0;this.context=null;this.initContainer();H(this.results);this.dropdown.on("mousemove-filtered touchstart touchmove touchend",R,this.bind(this.highlightUnderEvent));j(80,this.results);this.dropdown.on("scroll-debounced",R,this.bind(this.loadMoreIfNeeded));B(this.container).on("change",".select2-input",function(S){S.stopPropagation()});B(this.dropdown).on("change",".select2-input",function(S){S.stopPropagation()});if(B.fn.mousewheel){O.mousewheel(function(W,X,U,T){var V=O.scrollTop(),S;if(T>0&&V-T<=0){O.scrollTop(0);y(W)}else{if(T<0&&O.get(0).scrollHeight-O.scrollTop()+T<=O.height()){O.scrollTop(O.get(0).scrollHeight-O.height());y(W)}}})}D(N);N.on("keyup-change input paste",this.bind(this.updateResults));N.on("focus",function(){N.addClass("select2-focused")});N.on("blur",function(){N.removeClass("select2-focused")});this.dropdown.on("mouseup",R,this.bind(function(S){if(B(S.target).closest(".select2-result-selectable").length>0){this.highlightUnderEvent(S);this.selectHighlighted(S)}}));this.dropdown.on("click mouseup mousedown",function(S){S.stopPropagation()});if(B.isFunction(this.opts.initSelection)){this.initSelection();this.monitorSource()}if(Q.maximumInputLength!==null){this.search.attr("maxlength",Q.maximumInputLength)}var P=Q.element.prop("disabled");if(P===k){P=false}this.enable(!P);var M=Q.element.prop("readonly");if(M===k){M=false}this.readonly(M);u=u||K();this.autofocus=Q.element.prop("autofocus");Q.element.prop("autofocus",false);if(this.autofocus){this.focus()}},destroy:function(){var N=this.opts.element,M=N.data("select2");if(this.propertyObserver){delete this.propertyObserver;this.propertyObserver=null}if(M!==k){M.container.remove();M.dropdown.remove();N.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||false);if(this.elementTabIndex){N.attr({tabindex:this.elementTabIndex})}else{N.removeAttr("tabindex")}N.show()}},optionToData:function(M){if(M.is("option")){return{id:M.prop("value"),text:M.text(),element:M.get(),css:M.attr("class"),disabled:M.prop("disabled"),locked:r(M.attr("locked"),"locked")||r(M.data("locked"),true)}}else{if(M.is("optgroup")){return{text:M.attr("label"),children:[],element:M.get(),css:M.attr("class")}}}},prepareOpts:function(R){var P,N,M,Q,O=this;P=R.element;if(P.get(0).tagName.toLowerCase()==="select"){this.select=N=R.element}if(N){B.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in R){throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a