").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),this.menu.blur(),void 0):(this.menu[t](e),void 0):(this.search(null,e),void 0)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("
").text(i).appendTo(this.liveRegion))}}),t.ui.autocomplete,t.extend(t.ui,{datepicker:{version:"1.12.0"}});var c;t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return o(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var s,n,o;s=e.nodeName.toLowerCase(),n="div"===s||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),o=this._newInst(t(e),n),o.settings=t.extend({},i||{}),"input"===s?this._connectDatepicker(e,o):n&&this._inlineDatepicker(e,o)},_newInst:function(e,i){var n=e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(t("
")):this.dpDiv}},_connectDatepicker:function(e,i){var s=t(e);i.append=t([]),i.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var s,n,o,a=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t("
"+a+" "),e[r?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&e.on("focus",this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("
").addClass(this._triggerClass).attr({src:o,alt:n,title:n}):t("
").addClass(this._triggerClass).html(o?t("
").attr({src:o,alt:n,title:n}):n)),e[r?"before":"after"](i.trigger),i.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,n,a){var r,l,h,c,u,d=this._dialogInst;return d||(this.uuid+=1,r="dp"+this.uuid,this._dialogInput=t("
"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),d=this._dialogInst=this._newInst(this._dialogInput,!1),d.settings={},t.data(this._dialogInput[0],"datepicker",d)),o(d.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(d,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(l=document.documentElement.clientWidth,h=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+c,h/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),d.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",d),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty(),c===n&&(c=null))},_enableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,i,s){var n,a,r,l,h=this._getInst(e);return 2===arguments.length&&"string"==typeof i?"defaults"===i?t.extend({},t.datepicker._defaults):h?"all"===i?t.extend({},h.settings):this._get(h,i):null:(n=i||{},"string"==typeof i&&(n={},n[i]=s),h&&(this._curInst===h&&this._hideDatepicker(),a=this._getDateDatepicker(e,!0),r=this._getMinMaxDate(h,"min"),l=this._getMinMaxDate(h,"max"),o(h.settings,n),null!==r&&void 0!==n.dateFormat&&void 0===n.minDate&&(h.settings.minDate=this._formatDate(h,r)),null!==l&&void 0!==n.dateFormat&&void 0===n.maxDate&&(h.settings.maxDate=this._formatDate(h,l)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),h),this._autoSize(h),this._setDate(h,a),this._updateAlternate(h),this._updateDatepicker(h)),void 0)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,o=t.datepicker._getInst(e.target),a=!0,r=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv),n[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,n[0]),i=t.datepicker._get(o,"onSelect"),i?(s=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[s,o])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,s,n=t.datepicker._getInst(e.target);return t.datepicker._get(n,"constrainInput")?(i=t.datepicker._possibleChars(t.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||" ">s||!i||i.indexOf(s)>-1):void 0},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(i){if(i=i.target||i,"input"!==i.nodeName.toLowerCase()&&(i=t("input",i.parentNode)[0]),!t.datepicker._isDisabledDatepicker(i)&&t.datepicker._lastInput!==i){var s,n,a,r,l,h,c;s=t.datepicker._getInst(i),t.datepicker._curInst&&t.datepicker._curInst!==s&&(t.datepicker._curInst.dpDiv.stop(!0,!0),s&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),n=t.datepicker._get(s,"beforeShow"),a=n?n.apply(i,[i,s]):{},a!==!1&&(o(s.settings,a),s.lastVal=null,t.datepicker._lastInput=i,t.datepicker._setDateFromField(s),t.datepicker._inDialog&&(i.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(i),t.datepicker._pos[1]+=i.offsetHeight),r=!1,t(i).parents().each(function(){return r|="fixed"===t(this).css("position"),!r}),l={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(s),l=t.datepicker._checkOffset(s,l,r),s.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":r?"fixed":"absolute",display:"none",left:l.left+"px",top:l.top+"px"}),s.inline||(h=t.datepicker._get(s,"showAnim"),c=t.datepicker._get(s,"duration"),s.dpDiv.css("z-index",e(t(i))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[h]?s.dpDiv.show(h,t.datepicker._get(s,"showOptions"),c):s.dpDiv[h||"show"](h?c:null),t.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),t.datepicker._curInst=s))}},_updateDatepicker:function(e){this.maxRows=4,c=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var i,s=this._getNumberOfMonths(e),o=s[1],a=17,r=e.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&n.apply(r.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&e.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",a*o+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),h=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-a:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>l&&l>n?Math.abs(i.left+n-l):0),i.top-=Math.min(i.top,i.top+o>h&&h>o?Math.abs(o+r):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,o,a=this._curInst;!a||e&&a!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),s=this._get(a,"duration"),n=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,"showOptions"),s,n):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,o=this._get(a,"onClose"),o&&o.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,i+("M"===s?this._get(o,"showCurrentAtPos"):0),s),this._updateDatepicker(o))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),o=this._getInst(n[0]);o["selected"+("M"===s?"Month":"Year")]=o["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(e,i,s,n){var o,a=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||(o=this._getInst(a[0]),o.selectedDay=o.currentDay=t("a",n).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=s,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),o=this._getInst(n[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),s=this._get(o,"onSelect"),s?s.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(o).val(n))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,s){if(null==e||null==i)throw"Invalid arguments";if(i="object"==typeof i?""+i:i+"",""===i)return null;var n,o,a,r,l=0,h=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),u=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,d=(s?s.dayNames:null)||this._defaults.dayNames,p=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,f=(s?s.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,_=-1,v=-1,b=!1,y=function(t){var i=e.length>n+1&&e.charAt(n+1)===t;return i&&n++,i},w=function(t){var e=y(t),s="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n="y"===t?s:1,o=RegExp("^\\d{"+n+","+s+"}"),a=i.substring(l).match(o);if(!a)throw"Missing number at position "+l;return l+=a[0].length,parseInt(a[0],10)},k=function(e,s,n){var o=-1,a=t.map(y(e)?n:s,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(a,function(t,e){var s=e[1];return i.substr(l,s.length).toLowerCase()===s.toLowerCase()?(o=e[0],l+=s.length,!1):void 0}),-1!==o)return o+1;throw"Unknown name at position "+l},x=function(){if(i.charAt(l)!==e.charAt(n))throw"Unexpected literal at position "+l;l++};for(n=0;e.length>n;n++)if(b)"'"!==e.charAt(n)||y("'")?x():b=!1;else switch(e.charAt(n)){case"d":_=w("d");break;case"D":k("D",u,d);break;case"o":v=w("o");break;case"m":m=w("m");break;case"M":m=k("M",p,f);break;case"y":g=w("y");break;case"@":r=new Date(w("@")),g=r.getFullYear(),m=r.getMonth()+1,_=r.getDate();
-break;case"!":r=new Date((w("!")-this._ticksTo1970)/1e4),g=r.getFullYear(),m=r.getMonth()+1,_=r.getDate();break;case"'":y("'")?x():b=!0;break;default:x()}if(i.length>l&&(a=i.substr(l),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c>=g?0:-100)),v>-1)for(m=1,_=v;;){if(o=this._getDaysInMonth(g,m-1),o>=_)break;m++,_-=o}if(r=this._daylightSavingAdjust(new Date(g,m-1,_)),r.getFullYear()!==g||r.getMonth()+1!==m||r.getDate()!==_)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},h=function(t,e,i){var s=""+e;if(l(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return l(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||l("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=h("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,o);break;case"o":u+=h("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=h("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),a,r);break;case"y":u+=l("y")?e.getFullYear():(10>e.getFullYear()%100?"0":"")+e.getFullYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(r){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},o=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),a=n.getMonth(),r=n.getDate(),l=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,h=l.exec(i);h;){switch(h[2]||"d"){case"d":case"D":r+=parseInt(h[1],10);break;case"w":case"W":r+=7*parseInt(h[1],10);break;case"m":case"M":a+=parseInt(h[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(h[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}h=l.exec(i)}return new Date(o,a,r)},a=null==i||""===i?s:"string"==typeof i?o(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return a=a&&"Invalid Date"==""+a?s:a,a&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(s,-i,"M")},next:function(){t.datepicker._adjustDate(s,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(s)},selectDay:function(){return t.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,a,r,l,h,c,u,d,p,f,g,m,_,v,b,y,w,k,x,C,D,T,I,M,P,S,N,H,z,A,O,W,E,F,L,R=new Date,Y=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),B=this._get(t,"isRTL"),j=this._get(t,"showButtonPanel"),q=this._get(t,"hideIfNoPrevNext"),K=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),V=this._get(t,"showCurrentAtPos"),X=this._get(t,"stepMonths"),$=1!==U[0]||1!==U[1],G=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),Z=t.drawMonth-V,te=t.drawYear;if(0>Z&&(Z+=12,te--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-U[0]*U[1]+1,Q.getDate())),e=J&&J>e?J:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-X,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?"
"+i+" ":q?"":"
"+i+" ",n=this._get(t,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+X,1)),this._getFormatConfig(t)):n,o=this._canAdjustMonth(t,1,te,Z)?"
"+n+" ":q?"":"
"+n+" ",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?G:Y,a=K?this.formatDate(a,r,this._getFormatConfig(t)):a,l=t.inline?"":"
"+this._get(t,"closeText")+" ",h=j?"
"+(B?l:"")+(this._isInRange(t,r)?""+a+" ":"")+(B?"":l)+"
":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),_=this._get(t,"showOtherMonths"),v=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;U[0]>k;k++){for(x="",this.maxRows=4,C=0;U[1]>C;C++){if(D=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),T=" ui-corner-all",I="",$){if(I+="
"}for(I+="
"+"",M=u?""+this._get(t,"weekHeader")+" ":"",w=0;7>w;w++)P=(w+c)%7,M+="=5?" class='ui-datepicker-week-end'":"")+">"+""+p[P]+" ";for(I+=M+" ",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),N=(this._getFirstDayOfMonth(te,Z)-c+7)%7,H=Math.ceil((N+S)/7),z=$?this.maxRows>H?this.maxRows:H:H,this.maxRows=z,A=this._daylightSavingAdjust(new Date(te,Z,1-N)),O=0;z>O;O++){for(I+="",W=u?""+this._get(t,"calculateWeek")(A)+" ":"",w=0;7>w;w++)E=m?m.apply(t.input?t.input[0]:null,[A]):[!0,""],F=A.getMonth()!==Z,L=F&&!v||!E[0]||J&&J>A||Q&&A>Q,W+=""+(F&&!_?" ":L?""+A.getDate()+" ":""+A.getDate()+" ")+" ",A.setDate(A.getDate()+1),A=this._daylightSavingAdjust(A);I+=W+" "}Z++,Z>11&&(Z=0,te++),I+="
"+($?"
"+(U[0]>0&&C===U[1]-1?"
":""):""),x+=I}y+=x}return y+=h,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var l,h,c,u,d,p,f,g,m=this._get(t,"changeMonth"),_=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),b="
",y="";if(o||!m)y+=""+a[e]+" ";else{for(l=s&&s.getFullYear()===i,h=n&&n.getFullYear()===i,y+="",c=0;12>c;c++)(!l||c>=s.getMonth())&&(!h||n.getMonth()>=c)&&(y+=""+r[c]+" ");y+=" "}if(v||(b+=y+(!o&&m&&_?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!_)b+=""+i+" ";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="";g>=f;f++)t.yearshtml+=""+f+" ";t.yearshtml+=" ",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),v&&(b+=(!o&&m&&_?"":" ")+y),b+="
"},_adjustInstDate:function(t,e,i){var s=t.selectedYear+("Y"===i?e:0),n=t.selectedMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.0",t.datepicker});
\ No newline at end of file
diff --git a/public/vendor/jquery/js/jquery.form.min.js b/public/vendor/jquery/js/jquery.form.min.js
deleted file mode 100644
index ee9b9ef701..0000000000
--- a/public/vendor/jquery/js/jquery.form.min.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
-* jQuery Form Plugin; v20140218
-* http://jquery.malsup.com/form/
-* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL
-* https://github.com/malsup/form#copyright-and-license
-*/
-;!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a("undefined"!=typeof jQuery?jQuery:window.Zepto)}(function(a){"use strict";function b(b){var c=b.data;b.isDefaultPrevented()||(b.preventDefault(),a(b.target).ajaxSubmit(c))}function c(b){var c=b.target,d=a(c);if(!d.is("[type=submit],[type=image]")){var e=d.closest("[type=submit]");if(0===e.length)return;c=e[0]}var f=this;if(f.clk=c,"image"==c.type)if(void 0!==b.offsetX)f.clk_x=b.offsetX,f.clk_y=b.offsetY;else if("function"==typeof a.fn.offset){var g=d.offset();f.clk_x=b.pageX-g.left,f.clk_y=b.pageY-g.top}else f.clk_x=b.pageX-c.offsetLeft,f.clk_y=b.pageY-c.offsetTop;setTimeout(function(){f.clk=f.clk_x=f.clk_y=null},100)}function d(){if(a.fn.ajaxSubmit.debug){var b="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(b):window.opera&&window.opera.postError&&window.opera.postError(b)}}var e={};e.fileapi=void 0!==a("
").get(0).files,e.formdata=void 0!==window.FormData;var f=!!a.fn.prop;a.fn.attr2=function(){if(!f)return this.attr.apply(this,arguments);var a=this.prop.apply(this,arguments);return a&&a.jquery||"string"==typeof a?a:this.attr.apply(this,arguments)},a.fn.ajaxSubmit=function(b){function c(c){var d,e,f=a.param(c,b.traditional).split("&"),g=f.length,h=[];for(d=0;g>d;d++)f[d]=f[d].replace(/\+/g," "),e=f[d].split("="),h.push([decodeURIComponent(e[0]),decodeURIComponent(e[1])]);return h}function g(d){for(var e=new FormData,f=0;f
').val(m.extraData[n].value).appendTo(x)[0]):k.push(a(' ').val(m.extraData[n]).appendTo(x)[0]));m.iframeTarget||q.appendTo("body"),r.attachEvent?r.attachEvent("onload",h):r.addEventListener("load",h,!1),setTimeout(b,15);try{x.submit()}catch(p){var s=document.createElement("form").submit;s.apply(x)}}finally{x.setAttribute("action",f),x.setAttribute("enctype",j),c?x.setAttribute("target",c):l.removeAttr("target"),a(k).remove()}}function h(b){if(!s.aborted&&!F){if(E=e(r),E||(d("cannot access response document"),b=A),b===z&&s)return s.abort("timeout"),y.reject(s,"timeout"),void 0;if(b==A&&s)return s.abort("server abort"),y.reject(s,"error","server abort"),void 0;if(E&&E.location.href!=m.iframeSrc||v){r.detachEvent?r.detachEvent("onload",h):r.removeEventListener("load",h,!1);var c,f="success";try{if(v)throw"timeout";var g="xml"==m.dataType||E.XMLDocument||a.isXMLDoc(E);if(d("isXml="+g),!g&&window.opera&&(null===E.body||!E.body.innerHTML)&&--G)return d("requeing onLoad callback, DOM not available"),setTimeout(h,250),void 0;var i=E.body?E.body:E.documentElement;s.responseText=i?i.innerHTML:null,s.responseXML=E.XMLDocument?E.XMLDocument:E,g&&(m.dataType="xml"),s.getResponseHeader=function(a){var b={"content-type":m.dataType};return b[a.toLowerCase()]},i&&(s.status=Number(i.getAttribute("status"))||s.status,s.statusText=i.getAttribute("statusText")||s.statusText);var j=(m.dataType||"").toLowerCase(),k=/(json|script|text)/.test(j);if(k||m.textarea){var l=E.getElementsByTagName("textarea")[0];if(l)s.responseText=l.value,s.status=Number(l.getAttribute("status"))||s.status,s.statusText=l.getAttribute("statusText")||s.statusText;else if(k){var o=E.getElementsByTagName("pre")[0],p=E.getElementsByTagName("body")[0];o?s.responseText=o.textContent?o.textContent:o.innerText:p&&(s.responseText=p.textContent?p.textContent:p.innerText)}}else"xml"==j&&!s.responseXML&&s.responseText&&(s.responseXML=H(s.responseText));try{D=J(s,j,m)}catch(t){f="parsererror",s.error=c=t||f}}catch(t){d("error caught: ",t),f="error",s.error=c=t||f}s.aborted&&(d("upload aborted"),f=null),s.status&&(f=s.status>=200&&s.status<300||304===s.status?"success":"error"),"success"===f?(m.success&&m.success.call(m.context,D,"success",s),y.resolve(s.responseText,"success",s),n&&a.event.trigger("ajaxSuccess",[s,m])):f&&(void 0===c&&(c=s.statusText),m.error&&m.error.call(m.context,s,f,c),y.reject(s,"error",c),n&&a.event.trigger("ajaxError",[s,m,c])),n&&a.event.trigger("ajaxComplete",[s,m]),n&&!--a.active&&a.event.trigger("ajaxStop"),m.complete&&m.complete.call(m.context,s,f),F=!0,m.timeout&&clearTimeout(w),setTimeout(function(){m.iframeTarget?q.attr("src",m.iframeSrc):q.remove(),s.responseXML=null},100)}}}var j,k,m,n,o,q,r,s,t,u,v,w,x=l[0],y=a.Deferred();if(y.abort=function(a){s.abort(a)},c)for(k=0;k '),q.css({position:"absolute",top:"-1000px",left:"-1000px"})),r=q[0],s={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(b){var c="timeout"===b?"timeout":"aborted";d("aborting upload... "+c),this.aborted=1;try{r.contentWindow.document.execCommand&&r.contentWindow.document.execCommand("Stop")}catch(e){}q.attr("src",m.iframeSrc),s.error=c,m.error&&m.error.call(m.context,s,c,b),n&&a.event.trigger("ajaxError",[s,m,c]),m.complete&&m.complete.call(m.context,s,c)}},n=m.global,n&&0===a.active++&&a.event.trigger("ajaxStart"),n&&a.event.trigger("ajaxSend",[s,m]),m.beforeSend&&m.beforeSend.call(m.context,s,m)===!1)return m.global&&a.active--,y.reject(),y;if(s.aborted)return y.reject(),y;t=x.clk,t&&(u=t.name,u&&!t.disabled&&(m.extraData=m.extraData||{},m.extraData[u]=t.value,"image"==t.type&&(m.extraData[u+".x"]=x.clk_x,m.extraData[u+".y"]=x.clk_y)));var z=1,A=2,B=a("meta[name=csrf-token]").attr("content"),C=a("meta[name=csrf-param]").attr("content");C&&B&&(m.extraData=m.extraData||{},m.extraData[C]=B),m.forceSync?g():setTimeout(g,10);var D,E,F,G=50,H=a.parseXML||function(a,b){return window.ActiveXObject?(b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a)):b=(new DOMParser).parseFromString(a,"text/xml"),b&&b.documentElement&&"parsererror"!=b.documentElement.nodeName?b:null},I=a.parseJSON||function(a){return window.eval("("+a+")")},J=function(b,c,d){var e=b.getResponseHeader("content-type")||"",f="xml"===c||!c&&e.indexOf("xml")>=0,g=f?b.responseXML:b.responseText;return f&&"parsererror"===g.documentElement.nodeName&&a.error&&a.error("parsererror"),d&&d.dataFilter&&(g=d.dataFilter(g,c)),"string"==typeof g&&("json"===c||!c&&e.indexOf("json")>=0?g=I(g):("script"===c||!c&&e.indexOf("javascript")>=0)&&a.globalEval(g)),g};return y}if(!this.length)return d("ajaxSubmit: skipping submit process - no element selected"),this;var i,j,k,l=this;"function"==typeof b?b={success:b}:void 0===b&&(b={}),i=b.type||this.attr2("method"),j=b.url||this.attr2("action"),k="string"==typeof j?a.trim(j):"",k=k||window.location.href||"",k&&(k=(k.match(/^([^#]+)/)||[])[1]),b=a.extend(!0,{url:k,success:a.ajaxSettings.success,type:i||a.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},b);var m={};if(this.trigger("form-pre-serialize",[this,b,m]),m.veto)return d("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(b.beforeSerialize&&b.beforeSerialize(this,b)===!1)return d("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var n=b.traditional;void 0===n&&(n=a.ajaxSettings.traditional);var o,p=[],q=this.formToArray(b.semantic,p);if(b.data&&(b.extraData=b.data,o=a.param(b.data,n)),b.beforeSubmit&&b.beforeSubmit(q,this,b)===!1)return d("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[q,this,b,m]),m.veto)return d("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var r=a.param(q,n);o&&(r=r?r+"&"+o:o),"GET"==b.type.toUpperCase()?(b.url+=(b.url.indexOf("?")>=0?"&":"?")+r,b.data=null):b.data=r;var s=[];if(b.resetForm&&s.push(function(){l.resetForm()}),b.clearForm&&s.push(function(){l.clearForm(b.includeHidden)}),!b.dataType&&b.target){var t=b.success||function(){};s.push(function(c){var d=b.replaceTarget?"replaceWith":"html";a(b.target)[d](c).each(t,arguments)})}else b.success&&s.push(b.success);if(b.success=function(a,c,d){for(var e=b.context||this,f=0,g=s.length;g>f;f++)s[f].apply(e,[a,c,d||l,l])},b.error){var u=b.error;b.error=function(a,c,d){var e=b.context||this;u.apply(e,[a,c,d,l])}}if(b.complete){var v=b.complete;b.complete=function(a,c){var d=b.context||this;v.apply(d,[a,c,l])}}var w=a("input[type=file]:enabled",this).filter(function(){return""!==a(this).val()}),x=w.length>0,y="multipart/form-data",z=l.attr("enctype")==y||l.attr("encoding")==y,A=e.fileapi&&e.formdata;d("fileAPI :"+A);var B,C=(x||z)&&!A;b.iframe!==!1&&(b.iframe||C)?b.closeKeepAlive?a.get(b.closeKeepAlive,function(){B=h(q)}):B=h(q):B=(x||z)&&A?g(q):a.ajax(b),l.removeData("jqxhr").data("jqxhr",B);for(var D=0;Dj;j++)if(n=i[j],l=n.name,l&&!n.disabled)if(b&&g.clk&&"image"==n.type)g.clk==n&&(d.push({name:l,value:a(n).val(),type:n.type}),d.push({name:l+".x",value:g.clk_x},{name:l+".y",value:g.clk_y}));else if(m=a.fieldValue(n,!0),m&&m.constructor==Array)for(c&&c.push(n),k=0,p=m.length;p>k;k++)d.push({name:l,value:m[k]});else if(e.fileapi&&"file"==n.type){c&&c.push(n);var q=n.files;if(q.length)for(k=0;kf;f++)c.push({name:d,value:e[f]});else null!==e&&"undefined"!=typeof e&&c.push({name:this.name,value:e})}}),a.param(c)},a.fn.fieldValue=function(b){for(var c=[],d=0,e=this.length;e>d;d++){var f=this[d],g=a.fieldValue(f,b);null===g||"undefined"==typeof g||g.constructor==Array&&!g.length||(g.constructor==Array?a.merge(c,g):c.push(g))}return c},a.fieldValue=function(b,c){var d=b.name,e=b.type,f=b.tagName.toLowerCase();if(void 0===c&&(c=!0),c&&(!d||b.disabled||"reset"==e||"button"==e||("checkbox"==e||"radio"==e)&&!b.checked||("submit"==e||"image"==e)&&b.form&&b.form.clk!=b||"select"==f&&-1==b.selectedIndex))return null;if("select"==f){var g=b.selectedIndex;if(0>g)return null;for(var h=[],i=b.options,j="select-one"==e,k=j?g+1:i.length,l=j?g:0;k>l;l++){var m=i[l];if(m.selected){var n=m.value;if(n||(n=m.attributes&&m.attributes.value&&!m.attributes.value.specified?m.text:m.value),j)return n;h.push(n)}}return h}return a(b).val()},a.fn.clearForm=function(b){return this.each(function(){a("input,select,textarea",this).clearFields(b)})},a.fn.clearFields=a.fn.clearInputs=function(b){var c=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var d=this.type,e=this.tagName.toLowerCase();c.test(d)||"textarea"==e?this.value="":"checkbox"==d||"radio"==d?this.checked=!1:"select"==e?this.selectedIndex=-1:"file"==d?/MSIE/.test(navigator.userAgent)?a(this).replaceWith(a(this).clone(!0)):a(this).val(""):b&&(b===!0&&/hidden/.test(d)||"string"==typeof b&&a(this).is(b))&&(this.value="")})},a.fn.resetForm=function(){return this.each(function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()})},a.fn.enable=function(a){return void 0===a&&(a=!0),this.each(function(){this.disabled=!a})},a.fn.selected=function(b){return void 0===b&&(b=!0),this.each(function(){var c=this.type;if("checkbox"==c||"radio"==c)this.checked=b;else if("option"==this.tagName.toLowerCase()){var d=a(this).parent("select");b&&d[0]&&"select-one"==d[0].type&&d.find("option").selected(!1),this.selected=b}})},a.fn.ajaxSubmit.debug=!1});
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/jquery.timeago.js b/public/vendor/jquery/timeago/jquery.timeago.js
deleted file mode 100644
index c85ebcc5b0..0000000000
--- a/public/vendor/jquery/timeago/jquery.timeago.js
+++ /dev/null
@@ -1,229 +0,0 @@
-/**
- * Timeago is a jQuery plugin that makes it easy to support automatically
- * updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
- *
- * @name timeago
- * @version 1.5.3
- * @requires jQuery v1.2.3+
- * @author Ryan McGeary
- * @license MIT License - http://www.opensource.org/licenses/mit-license.php
- *
- * For usage and examples, visit:
- * http://timeago.yarp.com/
- *
- * Copyright (c) 2008-2015, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
- */
-
-(function (factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD. Register as an anonymous module.
- define(['jquery'], factory);
- } else if (typeof module === 'object' && typeof module.exports === 'object') {
- factory(require('jquery'));
- } else {
- // Browser globals
- factory(jQuery);
- }
-}(function ($) {
- $.timeago = function(timestamp) {
- if (timestamp instanceof Date) {
- return inWords(timestamp);
- } else if (typeof timestamp === "string") {
- return inWords($.timeago.parse(timestamp));
- } else if (typeof timestamp === "number") {
- return inWords(new Date(timestamp));
- } else {
- return inWords($.timeago.datetime(timestamp));
- }
- };
- var $t = $.timeago;
-
- $.extend($.timeago, {
- settings: {
- refreshMillis: 60000,
- allowPast: true,
- allowFuture: false,
- localeTitle: false,
- cutoff: 0,
- autoDispose: true,
- strings: {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "ago",
- suffixFromNow: "from now",
- inPast: 'any moment now',
- seconds: "less than a minute",
- minute: "about a minute",
- minutes: "%d minutes",
- hour: "about an hour",
- hours: "about %d hours",
- day: "a day",
- days: "%d days",
- month: "about a month",
- months: "%d months",
- year: "about a year",
- years: "%d years",
- wordSeparator: " ",
- numbers: []
- }
- },
-
- inWords: function(distanceMillis) {
- if (!this.settings.allowPast && ! this.settings.allowFuture) {
- throw 'timeago allowPast and allowFuture settings can not both be set to false.';
- }
-
- var $l = this.settings.strings;
- var prefix = $l.prefixAgo;
- var suffix = $l.suffixAgo;
- if (this.settings.allowFuture) {
- if (distanceMillis < 0) {
- prefix = $l.prefixFromNow;
- suffix = $l.suffixFromNow;
- }
- }
-
- if (!this.settings.allowPast && distanceMillis >= 0) {
- return this.settings.strings.inPast;
- }
-
- var seconds = Math.abs(distanceMillis) / 1000;
- var minutes = seconds / 60;
- var hours = minutes / 60;
- var days = hours / 24;
- var years = days / 365;
-
- function substitute(stringOrFunction, number) {
- var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
- var value = ($l.numbers && $l.numbers[number]) || number;
- return string.replace(/%d/i, value);
- }
-
- var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
- seconds < 90 && substitute($l.minute, 1) ||
- minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
- minutes < 90 && substitute($l.hour, 1) ||
- hours < 24 && substitute($l.hours, Math.round(hours)) ||
- hours < 42 && substitute($l.day, 1) ||
- days < 30 && substitute($l.days, Math.round(days)) ||
- days < 45 && substitute($l.month, 1) ||
- days < 365 && substitute($l.months, Math.round(days / 30)) ||
- years < 1.5 && substitute($l.year, 1) ||
- substitute($l.years, Math.round(years));
-
- var separator = $l.wordSeparator || "";
- if ($l.wordSeparator === undefined) { separator = " "; }
- return $.trim([prefix, words, suffix].join(separator));
- },
-
- parse: function(iso8601) {
- var s = $.trim(iso8601);
- s = s.replace(/\.\d+/,""); // remove milliseconds
- s = s.replace(/-/,"/").replace(/-/,"/");
- s = s.replace(/T/," ").replace(/Z/," UTC");
- s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
- s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
- return new Date(s);
- },
- datetime: function(elem) {
- var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
- return $t.parse(iso8601);
- },
- isTime: function(elem) {
- // jQuery's `is()` doesn't play well with HTML5 in IE
- return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
- }
- });
-
- // functions that can be called via $(el).timeago('action')
- // init is default when no action is given
- // functions are called with context of a single element
- var functions = {
- init: function() {
- var refresh_el = $.proxy(refresh, this);
- refresh_el();
- var $s = $t.settings;
- if ($s.refreshMillis > 0) {
- this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
- }
- },
- update: function(timestamp) {
- var date = (timestamp instanceof Date) ? timestamp : $t.parse(timestamp);
- $(this).data('timeago', { datetime: date });
- if ($t.settings.localeTitle) $(this).attr("title", date.toLocaleString());
- refresh.apply(this);
- },
- updateFromDOM: function() {
- $(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) });
- refresh.apply(this);
- },
- dispose: function () {
- if (this._timeagoInterval) {
- window.clearInterval(this._timeagoInterval);
- this._timeagoInterval = null;
- }
- }
- };
-
- $.fn.timeago = function(action, options) {
- var fn = action ? functions[action] : functions.init;
- if (!fn) {
- throw new Error("Unknown function name '"+ action +"' for timeago");
- }
- // each over objects here and call the requested function
- this.each(function() {
- fn.call(this, options);
- });
- return this;
- };
-
- function refresh() {
- var $s = $t.settings;
-
- //check if it's still visible
- if ($s.autoDispose && !$.contains(document.documentElement,this)) {
- //stop if it has been removed
- $(this).timeago("dispose");
- return this;
- }
-
- var data = prepareData(this);
-
- if (!isNaN(data.datetime)) {
- if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) {
- $(this).text(inWords(data.datetime));
- } else {
- if ($(this).attr('title').length > 0) {
- $(this).text($(this).attr('title'));
- }
- }
- }
- return this;
- }
-
- function prepareData(element) {
- element = $(element);
- if (!element.data("timeago")) {
- element.data("timeago", { datetime: $t.datetime(element) });
- var text = $.trim(element.text());
- if ($t.settings.localeTitle) {
- element.attr("title", element.data('timeago').datetime.toLocaleString());
- } else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
- element.attr("title", text);
- }
- }
- return element.data("timeago");
- }
-
- function inWords(date) {
- return $t.inWords(distance(date));
- }
-
- function distance(date) {
- return (new Date().getTime() - date.getTime());
- }
-
- // fix for IE6 suckage
- document.createElement("abbr");
- document.createElement("time");
-}));
diff --git a/public/vendor/jquery/timeago/locales/README.md b/public/vendor/jquery/timeago/locales/README.md
deleted file mode 100644
index 7557112da6..0000000000
--- a/public/vendor/jquery/timeago/locales/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# Locale override examples for timeago
-
-You can represent time statements in most western languages where
-a prefix and/or suffix is used.
-
-The default case is to use suffix only (as in English), which you
-do by providing the `suffixAgo` and `suffixFromNow` settings in
-the strings hash (earlier versions of timeago used the deprecated
-`ago` and `fromNow` options). If present, they are used.
-
- 2 minutes [suffixAgo]
- 2 minutes [suffixFromNow]
-
-In case you want to use prefix only instead of
-suffix (e.g. Greek), you provide the `prefixAgo` and
-`prefixFromNow` options in the strings hash and leave `suffixAgo`
-and `suffixFromNow` empty or null.
-
- [prefixAgo] 2 minutes
- [prefixFromNow] 2 minutes
-
-For languages where you want to use a prefix only for future
-tense and prefix/suffix for past tense (for example swedish), you
-can combine the prefix and suffixes as needed.
-
- [prefixAgo] 2 minutes [suffixAgo]
- [prefixFromNow] 2 minutes
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.af.js b/public/vendor/jquery/timeago/locales/jquery.timeago.af.js
deleted file mode 100644
index ffb23e6f9c..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.af.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Afrikaans
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "gelede",
- suffixFromNow: "van nou af",
- seconds: "%d sekondes",
- minute: "1 minuut",
- minutes: "%d minute",
- hour: "1 uur",
- hours: "%d ure",
- day: "1 dag",
- days: "%d dae",
- month: "1 maand",
- months: "%d maande",
- year: "1 jaar",
- years: "%d jaar",
- wordSeparator: " ",
- numbers: []
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ar.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ar.js
deleted file mode 100644
index 9e73d7455e..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ar.js
+++ /dev/null
@@ -1,96 +0,0 @@
-(function() {
- function numpf(n, a) {
- return a[plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5];
- }
-
-jQuery.timeago.settings.strings = {
- prefixAgo: "منذ",
- prefixFromNow: "بعد",
- suffixAgo: null,
- suffixFromNow: null, // null OR "من الآن"
- second: function(value) { return numpf(value, [
- 'أقل من ثانية',
- 'ثانية واحدة',
- 'ثانيتين',
- '%d ثوانٍ',
- '%d ثانية',
- '%d ثانية']); },
- seconds: function(value) { return numpf(value, [
- 'أقل من ثانية',
- 'ثانية واحدة',
- 'ثانيتين',
- '%d ثوانٍ',
- '%d ثانية',
- '%d ثانية']); },
- minute: function(value) { return numpf(value, [
- 'أقل من دقيقة',
- 'دقيقة واحدة',
- 'دقيقتين',
- '%d دقائق',
- '%d دقيقة',
- 'دقيقة']); },
- minutes: function(value) { return numpf(value, [
- 'أقل من دقيقة',
- 'دقيقة واحدة',
- 'دقيقتين',
- '%d دقائق',
- '%d دقيقة',
- 'دقيقة']); },
- hour: function(value) { return numpf(value, [
- 'أقل من ساعة',
- 'ساعة واحدة',
- 'ساعتين',
- '%d ساعات',
- '%d ساعة',
- '%d ساعة']); },
- hours: function(value) { return numpf(value, [
- 'أقل من ساعة',
- 'ساعة واحدة',
- 'ساعتين',
- '%d ساعات',
- '%d ساعة',
- '%d ساعة']); },
- day: function(value) { return numpf(value, [
- 'أقل من يوم',
- 'يوم واحد',
- 'يومين',
- '%d أيام',
- '%d يومًا',
- '%d يوم']); },
- days: function(value) { return numpf(value, [
- 'أقل من يوم',
- 'يوم واحد',
- 'يومين',
- '%d أيام',
- '%d يومًا',
- '%d يوم']); },
- month: function(value) { return numpf(value, [
- 'أقل من شهر',
- 'شهر واحد',
- 'شهرين',
- '%d أشهر',
- '%d شهرًا',
- '%d شهر']); },
- months: function(value) { return numpf(value, [
- 'أقل من شهر',
- 'شهر واحد',
- 'شهرين',
- '%d أشهر',
- '%d شهرًا',
- '%d شهر']); },
- year: function(value) { return numpf(value, [
- 'أقل من عام',
- 'عام واحد',
- '%d عامين',
- '%d أعوام',
- '%d عامًا']);
- },
- years: function(value) { return numpf(value, [
- 'أقل من عام',
- 'عام واحد',
- 'عامين',
- '%d أعوام',
- '%d عامًا',
- '%d عام']);}
- };
-})();
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.az-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.az-short.js
deleted file mode 100644
index a430a45768..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.az-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Azerbaijani shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: '1 dəq',
- minute: '1 dəq',
- minutes: '%d dəq',
- hour: '1 saat',
- hours: '%d saat',
- day: '1 gün',
- days: '%d gün',
- month: '1 ay',
- months: '%d ay',
- year: '1 il',
- years: '%d il',
- wordSeparator: '',
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.az.js b/public/vendor/jquery/timeago/locales/jquery.timeago.az.js
deleted file mode 100644
index 1e04a23a83..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.az.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Azerbaijani
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: 'əvvəl',
- suffixFromNow: 'sonra',
- seconds: 'saniyələr',
- minute: '1 dəqiqə',
- minutes: '%d dəqiqə',
- hour: '1 saat',
- hours: '%d saat',
- day: '1 gün',
- days: '%d gün',
- month: '1 ay',
- months: '%d ay',
- year: '1 il',
- years: '%d il',
- wordSeparator: '',
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.bg.js b/public/vendor/jquery/timeago/locales/jquery.timeago.bg.js
deleted file mode 100644
index df6b865ec6..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.bg.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Bulgarian
-jQuery.timeago.settings.strings = {
- prefixAgo: "преди",
- prefixFromNow: "след",
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "по-малко от минута",
- minute: "една минута",
- minutes: "%d минути",
- hour: "един час",
- hours: "%d часа",
- day: "един ден",
- days: "%d дни",
- month: "един месец",
- months: "%d месеца",
- year: "една година",
- years: "%d години"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.bs.js b/public/vendor/jquery/timeago/locales/jquery.timeago.bs.js
deleted file mode 100644
index 01530feaa2..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.bs.js
+++ /dev/null
@@ -1,49 +0,0 @@
-// Bosnian
-(function() {
- var numpf;
-
- numpf = function(n, f, s, t) {
- var n10;
- n10 = n % 10;
- if (n10 === 1 && (n === 1 || n > 20)) {
- return f;
- } else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) {
- return s;
- } else {
- return t;
- }
- };
-
- jQuery.timeago.settings.strings = {
- prefixAgo: "prije",
- prefixFromNow: "za",
- suffixAgo: null,
- suffixFromNow: null,
- second: "sekund",
- seconds: function(value) {
- return numpf(value, "%d sekund", "%d sekunde", "%d sekundi");
- },
- minute: "oko minut",
- minutes: function(value) {
- return numpf(value, "%d minut", "%d minute", "%d minuta");
- },
- hour: "oko sat",
- hours: function(value) {
- return numpf(value, "%d sat", "%d sata", "%d sati");
- },
- day: "oko jednog dana",
- days: function(value) {
- return numpf(value, "%d dan", "%d dana", "%d dana");
- },
- month: "mjesec dana",
- months: function(value) {
- return numpf(value, "%d mjesec", "%d mjeseca", "%d mjeseci");
- },
- year: "prije godinu dana ",
- years: function(value) {
- return numpf(value, "%d godinu", "%d godine", "%d godina");
- },
- wordSeparator: " "
- };
-
-}).call(this);
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ca.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ca.js
deleted file mode 100644
index 59014ea50a..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ca.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Catalan
-jQuery.timeago.settings.strings = {
- prefixAgo: "fa",
- prefixFromNow: "d'aqui a",
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "menys d'1 minut",
- minute: "1 minut",
- minutes: "uns %d minuts",
- hour: "1 hora",
- hours: "unes %d hores",
- day: "1 dia",
- days: "%d dies",
- month: "aproximadament un mes",
- months: "%d mesos",
- year: "aproximadament un any",
- years: "%d anys"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.cs.js b/public/vendor/jquery/timeago/locales/jquery.timeago.cs.js
deleted file mode 100644
index 0ce346963b..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.cs.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Czech
-(function() {
- function f(n, d, a) {
- return a[d>=0 ? 0 : a.length==2 || n<5 ? 1 : 2];
- }
-
- jQuery.timeago.settings.strings = {
- prefixAgo: 'před',
- prefixFromNow: 'za',
- suffixAgo: null,
- suffixFromNow: null,
- seconds: function(n, d) {return f(n, d, ['méně než minutou', 'méně než minutu']);},
- minute: function(n, d) {return f(n, d, ['minutou', 'minutu']);},
- minutes: function(n, d) {return f(n, d, ['%d minutami', '%d minuty', '%d minut']);},
- hour: function(n, d) {return f(n, d, ['hodinou', 'hodinu']);},
- hours: function(n, d) {return f(n, d, ['%d hodinami', '%d hodiny', '%d hodin']);},
- day: function(n, d) {return f(n, d, ['%d dnem', '%d den']);},
- days: function(n, d) {return f(n, d, ['%d dny', '%d dny', '%d dní']);},
- month: function(n, d) {return f(n, d, ['%d měsícem', '%d měsíc']);},
- months: function(n, d) {return f(n, d, ['%d měsíci', '%d měsíce', '%d měsíců']);},
- year: function(n, d) {return f(n, d, ['%d rokem', '%d rok']);},
- years: function(n, d) {return f(n, d, ['%d lety', '%d roky', '%d let']);}
- };
-})();
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.cy.js b/public/vendor/jquery/timeago/locales/jquery.timeago.cy.js
deleted file mode 100644
index a285ff4e84..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.cy.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Welsh
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "yn ôl",
- suffixFromNow: "o hyn",
- seconds: "llai na munud",
- minute: "am funud",
- minutes: "%d munud",
- hour: "tua awr",
- hours: "am %d awr",
- day: "y dydd",
- days: "%d diwrnod",
- month: "tua mis",
- months: "%d mis",
- year: "am y flwyddyn",
- years: "%d blynedd",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.da.js b/public/vendor/jquery/timeago/locales/jquery.timeago.da.js
deleted file mode 100644
index ff50e873f3..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.da.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Danish
-jQuery.timeago.settings.strings = {
- prefixAgo: "for",
- prefixFromNow: "om",
- suffixAgo: "siden",
- suffixFromNow: "",
- seconds: "mindre end et minut",
- minute: "ca. et minut",
- minutes: "%d minutter",
- hour: "ca. en time",
- hours: "ca. %d timer",
- day: "en dag",
- days: "%d dage",
- month: "ca. en måned",
- months: "%d måneder",
- year: "ca. et år",
- years: "%d år"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.de-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.de-short.js
deleted file mode 100644
index 09427ec976..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.de-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// German shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "s",
- minute: "1m",
- minutes: "%dm",
- hour: "1h",
- hours: "%dh",
- day: "1T.",
- days: "%dT.",
- month: "1Mt.",
- months: "%dMt.",
- year: "1J.",
- years: "%dJ.",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.de.js b/public/vendor/jquery/timeago/locales/jquery.timeago.de.js
deleted file mode 100644
index f10b06eebb..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.de.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// German
-jQuery.timeago.settings.strings = {
- prefixAgo: "vor",
- prefixFromNow: "in",
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "wenigen Sekunden",
- minute: "etwa einer Minute",
- minutes: "%d Minuten",
- hour: "etwa einer Stunde",
- hours: "%d Stunden",
- day: "etwa einem Tag",
- days: "%d Tagen",
- month: "etwa einem Monat",
- months: "%d Monaten",
- year: "etwa einem Jahr",
- years: "%d Jahren"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.dv.js b/public/vendor/jquery/timeago/locales/jquery.timeago.dv.js
deleted file mode 100644
index 9f2a9da0ca..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.dv.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Dhivehi time in Thaana for timeago.js
- **/
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "ކުރިން",
- suffixFromNow: "ފަހުން",
- seconds: "ސިކުންތުކޮޅެއް",
- minute: "މިނިޓެއްވަރު",
- minutes: "%d މިނިޓު",
- hour: "ގަޑިއެއްވަރު",
- hours: "ގާތްގަނޑަކަށް %d ގަޑިއިރު",
- day: "އެއް ދުވަސް",
- days: "މީގެ %d ދުވަސް",
- month: "މަހެއްވަރު",
- months: "މީގެ %d މަސް",
- year: "އަހަރެއްވަރު",
- years: "މީގެ %d އަހަރު",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.el.js b/public/vendor/jquery/timeago/locales/jquery.timeago.el.js
deleted file mode 100644
index 61aaafe495..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.el.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Greek
-jQuery.timeago.settings.strings = {
- prefixAgo: "πριν",
- prefixFromNow: "σε",
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "λιγότερο από ένα λεπτό",
- minute: "περίπου ένα λεπτό",
- minutes: "%d λεπτά",
- hour: "περίπου μία ώρα",
- hours: "περίπου %d ώρες",
- day: "μία μέρα",
- days: "%d μέρες",
- month: "περίπου ένα μήνα",
- months: "%d μήνες",
- year: "περίπου ένα χρόνο",
- years: "%d χρόνια"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.en-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.en-short.js
deleted file mode 100644
index 4cab7ff6ff..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.en-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// English shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1m",
- minute: "1m",
- minutes: "%dm",
- hour: "1h",
- hours: "%dh",
- day: "1d",
- days: "%dd",
- month: "1mo",
- months: "%dmo",
- year: "1yr",
- years: "%dyr",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.en.js b/public/vendor/jquery/timeago/locales/jquery.timeago.en.js
deleted file mode 100644
index 3d6652c230..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.en.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// English (Template)
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "ago",
- suffixFromNow: "from now",
- seconds: "less than a minute",
- minute: "about a minute",
- minutes: "%d minutes",
- hour: "about an hour",
- hours: "about %d hours",
- day: "a day",
- days: "%d days",
- month: "about a month",
- months: "%d months",
- year: "about a year",
- years: "%d years",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.es-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.es-short.js
deleted file mode 100644
index 65d85c7154..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.es-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Spanish shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1m",
- minute: "1m",
- minutes: "%dm",
- hour: "1h",
- hours: "%dh",
- day: "1d",
- days: "%dd",
- month: "1me",
- months: "%dme",
- year: "1a",
- years: "%da",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.es.js b/public/vendor/jquery/timeago/locales/jquery.timeago.es.js
deleted file mode 100644
index 00c6d0a6cb..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.es.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Spanish
-jQuery.timeago.settings.strings = {
- prefixAgo: "hace",
- prefixFromNow: "dentro de",
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "menos de un minuto",
- minute: "un minuto",
- minutes: "unos %d minutos",
- hour: "una hora",
- hours: "%d horas",
- day: "un día",
- days: "%d días",
- month: "un mes",
- months: "%d meses",
- year: "un año",
- years: "%d años"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.et.js b/public/vendor/jquery/timeago/locales/jquery.timeago.et.js
deleted file mode 100644
index ca19648b40..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.et.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Estonian
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "tagasi",
- suffixFromNow: "pärast",
- seconds: function(n, d) { return d < 0 ? "vähem kui minuti aja" : "vähem kui minut aega"; },
- minute: function(n, d) { return d < 0 ? "umbes minuti aja" : "umbes minut aega"; },
- minutes: function(n, d) { return d < 0 ? "%d minuti" : "%d minutit"; },
- hour: function(n, d) { return d < 0 ? "umbes tunni aja" : "umbes tund aega"; },
- hours: function(n, d) { return d < 0 ? "%d tunni" : "%d tundi"; },
- day: function(n, d) { return d < 0 ? "umbes päeva" : "umbes päev"; },
- days: function(n, d) { return d < 0 ? "%d päeva" : "%d päeva"; },
- month: function(n, d) { return d < 0 ? "umbes kuu aja" : "umbes kuu aega"; },
- months: function(n, d) { return d < 0 ? "%d kuu" : "%d kuud"; },
- year: function(n, d) { return d < 0 ? "umbes aasta aja" : "umbes aasta aega"; },
- years: function(n, d) { return d < 0 ? "%d aasta" : "%d aastat"; }
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.eu.js b/public/vendor/jquery/timeago/locales/jquery.timeago.eu.js
deleted file mode 100644
index 4b2c91a237..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.eu.js
+++ /dev/null
@@ -1,17 +0,0 @@
-jQuery.timeago.settings.strings = {
- prefixAgo: "duela",
- prefixFromNow: "hemendik",
- suffixAgo: "",
- suffixFromNow: "barru",
- seconds: "minutu bat bainu gutxiago",
- minute: "minutu bat",
- minutes: "%d minutu inguru",
- hour: "ordu bat",
- hours: "%d ordu",
- day: "egun bat",
- days: "%d egun",
- month: "hilabete bat",
- months: "%d hilabete",
- year: "urte bat",
- years: "%d urte"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.fa-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.fa-short.js
deleted file mode 100644
index 66d314cd42..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.fa-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// persion shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1دقیقه",
- minute: "1دقیقه",
- minutes: "%dدقیقه",
- hour: "1ساعت",
- hours: "%dساعت",
- day: "1روز",
- days: "%dروز",
- month: "1ماه",
- months: "%dماه",
- year: "1سال",
- years: "%dسال",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.fa.js b/public/vendor/jquery/timeago/locales/jquery.timeago.fa.js
deleted file mode 100644
index 36bdb449f3..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.fa.js
+++ /dev/null
@@ -1,22 +0,0 @@
-
-// Persian
-// Use DIR attribute for RTL text in Persian Language for ABBR tag .
-// By MB.seifollahi@gmail.com
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "پیش",
- suffixFromNow: "از حال",
- seconds: "کمتر از یک دقیقه",
- minute: "حدود یک دقیقه",
- minutes: "%d دقیقه",
- hour: "حدود یک ساعت",
- hours: "حدود %d ساعت",
- day: "یک روز",
- days: "%d روز",
- month: "حدود یک ماه",
- months: "%d ماه",
- year: "حدود یک سال",
- years: "%d سال",
- wordSeparator: " "
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.fi.js b/public/vendor/jquery/timeago/locales/jquery.timeago.fi.js
deleted file mode 100644
index 06b12ee0bc..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.fi.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Finnish
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "sitten",
- suffixFromNow: "tulevaisuudessa",
- seconds: "alle minuutti",
- minute: "minuutti",
- minutes: "%d minuuttia",
- hour: "tunti",
- hours: "%d tuntia",
- day: "päivä",
- days: "%d päivää",
- month: "kuukausi",
- months: "%d kuukautta",
- year: "vuosi",
- years: "%d vuotta"
-};
-
-// The above is not a great localization because one would usually
-// write "2 days ago" in Finnish as "2 päivää sitten", however
-// one would write "2 days into the future" as "2:n päivän päästä"
-// which cannot be achieved with localization support this simple.
-// This is because Finnish has word suffixes (attached directly
-// to the end of the word). The word "day" is "päivä" in Finnish.
-// As workaround, the above localizations will say
-// "2 päivää tulevaisuudessa" which is understandable but
-// not as fluent.
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.fr-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.fr-short.js
deleted file mode 100644
index dbfe3bb019..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.fr-short.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// French shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: "il y a",
- prefixFromNow: "d'ici",
- seconds: "moins d'une minute",
- minute: "une minute",
- minutes: "%d minutes",
- hour: "une heure",
- hours: "%d heures",
- day: "un jour",
- days: "%d jours",
- month: "un mois",
- months: "%d mois",
- year: "un an",
- years: "%d ans"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.fr.js b/public/vendor/jquery/timeago/locales/jquery.timeago.fr.js
deleted file mode 100644
index 5028342306..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.fr.js
+++ /dev/null
@@ -1,17 +0,0 @@
-// French
-jQuery.timeago.settings.strings = {
- // environ ~= about, it's optional
- prefixAgo: "il y a",
- prefixFromNow: "d'ici",
- seconds: "moins d'une minute",
- minute: "environ une minute",
- minutes: "environ %d minutes",
- hour: "environ une heure",
- hours: "environ %d heures",
- day: "environ un jour",
- days: "environ %d jours",
- month: "environ un mois",
- months: "environ %d mois",
- year: "un an",
- years: "%d ans"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.gl.js b/public/vendor/jquery/timeago/locales/jquery.timeago.gl.js
deleted file mode 100644
index 14bc56ddc3..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.gl.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Galician
-jQuery.timeago.settings.strings = {
- prefixAgo: "hai",
- prefixFromNow: "dentro de",
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "menos dun minuto",
- minute: "un minuto",
- minutes: "uns %d minutos",
- hour: "unha hora",
- hours: "%d horas",
- day: "un día",
- days: "%d días",
- month: "un mes",
- months: "%d meses",
- year: "un ano",
- years: "%d anos"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.he.js b/public/vendor/jquery/timeago/locales/jquery.timeago.he.js
deleted file mode 100644
index b9d89e1f24..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.he.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Hebrew
-jQuery.timeago.settings.strings = {
- prefixAgo: "לפני",
- prefixFromNow: "עוד",
- seconds: "פחות מדקה",
- minute: "דקה",
- minutes: "%d דקות",
- hour: "שעה",
- hours: function(number){return (number==2) ? "שעתיים" : "%d שעות";},
- day: "יום",
- days: function(number){return (number==2) ? "יומיים" : "%d ימים";},
- month: "חודש",
- months: function(number){return (number==2) ? "חודשיים" : "%d חודשים";},
- year: "שנה",
- years: function(number){return (number==2) ? "שנתיים" : "%d שנים";}
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.hr.js b/public/vendor/jquery/timeago/locales/jquery.timeago.hr.js
deleted file mode 100644
index a85bd803bc..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.hr.js
+++ /dev/null
@@ -1,49 +0,0 @@
-// Croatian
-(function () {
- var numpf;
-
- numpf = function (n, f, s, t) {
- var n10;
- n10 = n % 10;
- if (n10 === 1 && (n === 1 || n > 20)) {
- return f;
- } else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) {
- return s;
- } else {
- return t;
- }
- };
-
- jQuery.timeago.settings.strings = {
- prefixAgo: "prije",
- prefixFromNow: "za",
- suffixAgo: null,
- suffixFromNow: null,
- second: "sekundu",
- seconds: function (value) {
- return numpf(value, "%d sekundu", "%d sekunde", "%d sekundi");
- },
- minute: "oko minutu",
- minutes: function (value) {
- return numpf(value, "%d minutu", "%d minute", "%d minuta");
- },
- hour: "oko jedan sat",
- hours: function (value) {
- return numpf(value, "%d sat", "%d sata", "%d sati");
- },
- day: "jedan dan",
- days: function (value) {
- return numpf(value, "%d dan", "%d dana", "%d dana");
- },
- month: "mjesec dana",
- months: function (value) {
- return numpf(value, "%d mjesec", "%d mjeseca", "%d mjeseci");
- },
- year: "prije godinu dana",
- years: function (value) {
- return numpf(value, "%d godinu", "%d godine", "%d godina");
- },
- wordSeparator: " "
- };
-
-}).call(this);
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.hu.js b/public/vendor/jquery/timeago/locales/jquery.timeago.hu.js
deleted file mode 100644
index 3079c22b72..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.hu.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Hungarian
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "kevesebb mint egy perce",
- minute: "körülbelül egy perce",
- minutes: "%d perce",
- hour: "körülbelül egy órája",
- hours: "körülbelül %d órája",
- day: "körülbelül egy napja",
- days: "%d napja",
- month: "körülbelül egy hónapja",
- months: "%d hónapja",
- year: "körülbelül egy éve",
- years: "%d éve"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.hy.js b/public/vendor/jquery/timeago/locales/jquery.timeago.hy.js
deleted file mode 100644
index cd6e195e20..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.hy.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Armenian
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "առաջ",
- suffixFromNow: "հետո",
- seconds: "վայրկյաններ",
- minute: "մեկ րոպե",
- minutes: "%d րոպե",
- hour: "մեկ ժամ",
- hours: "%d ժամ",
- day: "մեկ օր",
- days: "%d օր",
- month: "մեկ ամիս",
- months: "%d ամիս",
- year: "մեկ տարի",
- years: "%d տարի"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.id.js b/public/vendor/jquery/timeago/locales/jquery.timeago.id.js
deleted file mode 100644
index 296d84e241..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.id.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Indonesian
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "yang lalu",
- suffixFromNow: "dari sekarang",
- seconds: "kurang dari semenit",
- minute: "sekitar satu menit",
- minutes: "%d menit",
- hour: "sekitar sejam",
- hours: "sekitar %d jam",
- day: "sehari",
- days: "%d hari",
- month: "sekitar sebulan",
- months: "%d bulan",
- year: "sekitar setahun",
- years: "%d tahun"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.is.js b/public/vendor/jquery/timeago/locales/jquery.timeago.is.js
deleted file mode 100644
index d8074cf01a..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.is.js
+++ /dev/null
@@ -1,19 +0,0 @@
-jQuery.timeago.settings.strings = {
- prefixAgo: "fyrir",
- prefixFromNow: "eftir",
- suffixAgo: "síðan",
- suffixFromNow: null,
- seconds: "minna en mínútu",
- minute: "mínútu",
- minutes: "%d mínútum",
- hour: "klukkutíma",
- hours: "um %d klukkutímum",
- day: "degi",
- days: "%d dögum",
- month: "mánuði",
- months: "%d mánuðum",
- year: "ári",
- years: "%d árum",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.it-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.it-short.js
deleted file mode 100644
index 64328baa85..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.it-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Italian shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1m",
- minute: "1m",
- minutes: "%dm",
- hour: "1h",
- hours: "%dh",
- day: "1g",
- days: "%dg",
- month: "1me",
- months: "%dme",
- year: "1a",
- years: "%da",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.it.js b/public/vendor/jquery/timeago/locales/jquery.timeago.it.js
deleted file mode 100644
index 6308dd30cc..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.it.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Italian
-jQuery.timeago.settings.strings = {
- suffixAgo: "fa",
- suffixFromNow: "da ora",
- seconds: "meno di un minuto",
- minute: "circa un minuto",
- minutes: "%d minuti",
- hour: "circa un'ora",
- hours: "circa %d ore",
- day: "un giorno",
- days: "%d giorni",
- month: "circa un mese",
- months: "%d mesi",
- year: "circa un anno",
- years: "%d anni"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ja.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ja.js
deleted file mode 100644
index 95a7cd2a7a..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ja.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Japanese
-jQuery.timeago.settings.strings = {
- prefixAgo: "",
- prefixFromNow: "今から",
- suffixAgo: "前",
- suffixFromNow: "後",
- seconds: "1 分未満",
- minute: "約 1 分",
- minutes: "%d 分",
- hour: "約 1 時間",
- hours: "約 %d 時間",
- day: "約 1 日",
- days: "約 %d 日",
- month: "約 1 ヶ月",
- months: "約 %d ヶ月",
- year: "約 1 年",
- years: "約 %d 年",
- wordSeparator: ""
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.jv.js b/public/vendor/jquery/timeago/locales/jquery.timeago.jv.js
deleted file mode 100644
index 98f43ef220..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.jv.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Javanesse (Boso Jowo)
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "kepungkur",
- suffixFromNow: "seko saiki",
- seconds: "kurang seko sakmenit",
- minute: "kurang luwih sakmenit",
- minutes: "%d menit",
- hour: "kurang luwih sakjam",
- hours: "kurang luwih %d jam",
- day: "sedina",
- days: "%d dina",
- month: "kurang luwih sewulan",
- months: "%d wulan",
- year: "kurang luwih setahun",
- years: "%d tahun"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ko.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ko.js
deleted file mode 100644
index 95f4f94b31..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ko.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Korean
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "전",
- suffixFromNow: "후",
- seconds: "1분",
- minute: "약 1분",
- minutes: "%d분",
- hour: "약 1시간",
- hours: "약 %d시간",
- day: "하루",
- days: "%d일",
- month: "약 1개월",
- months: "%d개월",
- year: "약 1년",
- years: "%d년",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ky.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ky.js
deleted file mode 100644
index 8663fe0b23..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ky.js
+++ /dev/null
@@ -1,34 +0,0 @@
-// Russian
-(function() {
- function numpf(n, f, s, t) {
- // f - 1, 21, 31, ...
- // s - 2-4, 22-24, 32-34 ...
- // t - 5-20, 25-30, ...
- var n10 = n % 10;
- if ( (n10 == 1) && ( (n == 1) || (n > 20) ) ) {
- return f;
- } else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
- return s;
- } else {
- return t;
- }
- }
-
- jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "через",
- suffixAgo: "мурун",
- suffixFromNow: null,
- seconds: "1 минуттан аз",
- minute: "минута",
- minutes: function(value) { return numpf(value, "%d минута", "%d минута", "%d минут"); },
- hour: "саат",
- hours: function(value) { return numpf(value, "%d саат", "%d саат", "%d саат"); },
- day: "күн",
- days: function(value) { return numpf(value, "%d күн", "%d күн", "%d күн"); },
- month: "ай",
- months: function(value) { return numpf(value, "%d ай", "%d ай", "%d ай"); },
- year: "жыл",
- years: function(value) { return numpf(value, "%d жыл", "%d жыл", "%d жыл"); }
- };
-})();
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.lt.js b/public/vendor/jquery/timeago/locales/jquery.timeago.lt.js
deleted file mode 100644
index 0814555763..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.lt.js
+++ /dev/null
@@ -1,20 +0,0 @@
-//Lithuanian
-jQuery.timeago.settings.strings = {
- prefixAgo: "prieš",
- prefixFromNow: null,
- suffixAgo: null,
- suffixFromNow: "nuo dabar",
- seconds: "%d sek.",
- minute: "min.",
- minutes: "%d min.",
- hour: "val.",
- hours: "%d val.",
- day: "1 d.",
- days: "%d d.",
- month: "mėn.",
- months: "%d mėn.",
- year: "metus",
- years: "%d metus",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.lv.js b/public/vendor/jquery/timeago/locales/jquery.timeago.lv.js
deleted file mode 100644
index eb02391563..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.lv.js
+++ /dev/null
@@ -1,20 +0,0 @@
-//Latvian
-jQuery.timeago.settings.strings = {
- prefixAgo: "pirms",
- prefixFromNow: null,
- suffixAgo: null,
- suffixFromNow: "no šī brīža",
- seconds: "%d sek.",
- minute: "min.",
- minutes: "%d min.",
- hour: "st.",
- hours: "%d st.",
- day: "1 d.",
- days: "%d d.",
- month: "mēnesis.",
- months: "%d mēnesis.",
- year: "gads",
- years: "%d gads",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.mk.js b/public/vendor/jquery/timeago/locales/jquery.timeago.mk.js
deleted file mode 100644
index 8d60a30c88..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.mk.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Macedonian
-(function() {
- jQuery.timeago.settings.strings={
- prefixAgo: "пред",
- prefixFromNow: "за",
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "%d секунди",
- minute: "%d минута",
- minutes: "%d минути",
- hour: "%d час",
- hours: "%d часа",
- day: "%d ден",
- days: "%d денови" ,
- month: "%d месец",
- months: "%d месеци",
- year: "%d година",
- years: "%d години"
- };
-})();
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.nl.js b/public/vendor/jquery/timeago/locales/jquery.timeago.nl.js
deleted file mode 100644
index 74d3dc867f..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.nl.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Dutch
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "over",
- suffixAgo: "geleden",
- suffixFromNow: null,
- seconds: "minder dan een minuut",
- minute: "ongeveer een minuut",
- minutes: "%d minuten",
- hour: "ongeveer een uur",
- hours: "ongeveer %d uur",
- day: "een dag",
- days: "%d dagen",
- month: "ongeveer een maand",
- months: "%d maanden",
- year: "ongeveer een jaar",
- years: "%d jaar",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.no.js b/public/vendor/jquery/timeago/locales/jquery.timeago.no.js
deleted file mode 100644
index 65d1b0d836..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.no.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Norwegian
-jQuery.timeago.settings.strings = {
- prefixAgo: "for",
- prefixFromNow: "om",
- suffixAgo: "siden",
- suffixFromNow: "",
- seconds: "mindre enn et minutt",
- minute: "ca. et minutt",
- minutes: "%d minutter",
- hour: "ca. en time",
- hours: "ca. %d timer",
- day: "en dag",
- days: "%d dager",
- month: "ca. en måned",
- months: "%d måneder",
- year: "ca. et år",
- years: "%d år"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.pl.js b/public/vendor/jquery/timeago/locales/jquery.timeago.pl.js
deleted file mode 100644
index 21d26fc1c1..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.pl.js
+++ /dev/null
@@ -1,31 +0,0 @@
-// Polish
-(function() {
- function numpf(n, s, t) {
- // s - 2-4, 22-24, 32-34 ...
- // t - 5-21, 25-31, ...
- var n10 = n % 10;
- if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
- return s;
- } else {
- return t;
- }
- }
-
- jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "za",
- suffixAgo: "temu",
- suffixFromNow: null,
- seconds: "mniej niż minutę",
- minute: "minutę",
- minutes: function(value) { return numpf(value, "%d minuty", "%d minut"); },
- hour: "godzinę",
- hours: function(value) { return numpf(value, "%d godziny", "%d godzin"); },
- day: "dzień",
- days: "%d dni",
- month: "miesiąc",
- months: function(value) { return numpf(value, "%d miesiące", "%d miesięcy"); },
- year: "rok",
- years: function(value) { return numpf(value, "%d lata", "%d lat"); }
- };
-})();
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.pt-br-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.pt-br-short.js
deleted file mode 100644
index 8f63db43d1..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.pt-br-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Portuguese Brasil shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1m",
- minute: "1m",
- minutes: "%dm",
- hour: "1h",
- hours: "%dh",
- day: "1d",
- days: "%dd",
- month: "1M",
- months: "%dM",
- year: "1a",
- years: "%da",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.pt-br.js b/public/vendor/jquery/timeago/locales/jquery.timeago.pt-br.js
deleted file mode 100644
index c72ea386a7..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.pt-br.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Brazilian Portuguese
-jQuery.timeago.settings.strings = {
- prefixAgo: "há",
- prefixFromNow: "em",
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "alguns segundos",
- minute: "um minuto",
- minutes: "%d minutos",
- hour: "uma hora",
- hours: "%d horas",
- day: "um dia",
- days: "%d dias",
- month: "um mês",
- months: "%d meses",
- year: "um ano",
- years: "%d anos"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.pt-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.pt-short.js
deleted file mode 100644
index 8f6ef76d5c..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.pt-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Portuguese shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1m",
- minute: "1m",
- minutes: "%dm",
- hour: "1h",
- hours: "%dh",
- day: "1d",
- days: "%dd",
- month: "1M",
- months: "%dM",
- year: "1a",
- years: "%da",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.pt.js b/public/vendor/jquery/timeago/locales/jquery.timeago.pt.js
deleted file mode 100644
index 416333c655..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.pt.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Portuguese
-jQuery.timeago.settings.strings = {
- suffixAgo: "atrás",
- suffixFromNow: "a partir de agora",
- seconds: "menos de um minuto",
- minute: "cerca de um minuto",
- minutes: "%d minutos",
- hour: "cerca de uma hora",
- hours: "cerca de %d horas",
- day: "um dia",
- days: "%d dias",
- month: "cerca de um mês",
- months: "%d meses",
- year: "cerca de um ano",
- years: "%d anos"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ro.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ro.js
deleted file mode 100644
index 2cee429902..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ro.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Romanian
-jQuery.timeago.settings.strings = {
- prefixAgo: "acum",
- prefixFromNow: "in timp de",
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "mai putin de un minut",
- minute: "un minut",
- minutes: "%d minute",
- hour: "o ora",
- hours: "%d ore",
- day: "o zi",
- days: "%d zile",
- month: "o luna",
- months: "%d luni",
- year: "un an",
- years: "%d ani"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.rs.js b/public/vendor/jquery/timeago/locales/jquery.timeago.rs.js
deleted file mode 100644
index 0809c9101d..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.rs.js
+++ /dev/null
@@ -1,49 +0,0 @@
-// Serbian
-(function () {
- var numpf;
-
- numpf = function (n, f, s, t) {
- var n10;
- n10 = n % 10;
- if (n10 === 1 && (n === 1 || n > 20)) {
- return f;
- } else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) {
- return s;
- } else {
- return t;
- }
- };
-
- jQuery.timeago.settings.strings = {
- prefixAgo: "pre",
- prefixFromNow: "za",
- suffixAgo: null,
- suffixFromNow: null,
- second: "sekund",
- seconds: function (value) {
- return numpf(value, "%d sekund", "%d sekunde", "%d sekundi");
- },
- minute: "oko minut",
- minutes: function (value) {
- return numpf(value, "%d minut", "%d minuta", "%d minuta");
- },
- hour: "oko jedan sat",
- hours: function (value) {
- return numpf(value, "%d sat", "%d sata", "%d sati");
- },
- day: "jedan dan",
- days: function (value) {
- return numpf(value, "%d dan", "%d dana", "%d dana");
- },
- month: "mesec dana",
- months: function (value) {
- return numpf(value, "%d mesec", "%d meseca", "%d meseci");
- },
- year: "godinu dana",
- years: function (value) {
- return numpf(value, "%d godinu", "%d godine", "%d godina");
- },
- wordSeparator: " "
- };
-
-}).call(this);
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.ru.js b/public/vendor/jquery/timeago/locales/jquery.timeago.ru.js
deleted file mode 100644
index 4cdc01b1ce..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.ru.js
+++ /dev/null
@@ -1,34 +0,0 @@
-// Russian
-(function() {
- function numpf(n, f, s, t) {
- // f - 1, 21, 31, ...
- // s - 2-4, 22-24, 32-34 ...
- // t - 5-20, 25-30, ...
- var n10 = n % 10;
- if ( (n10 == 1) && ( (n == 1) || (n > 20) ) ) {
- return f;
- } else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
- return s;
- } else {
- return t;
- }
- }
-
- jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "через",
- suffixAgo: "назад",
- suffixFromNow: null,
- seconds: "меньше минуты",
- minute: "минуту",
- minutes: function(value) { return numpf(value, "%d минута", "%d минуты", "%d минут"); },
- hour: "час",
- hours: function(value) { return numpf(value, "%d час", "%d часа", "%d часов"); },
- day: "день",
- days: function(value) { return numpf(value, "%d день", "%d дня", "%d дней"); },
- month: "месяц",
- months: function(value) { return numpf(value, "%d месяц", "%d месяца", "%d месяцев"); },
- year: "год",
- years: function(value) { return numpf(value, "%d год", "%d года", "%d лет"); }
- };
-})();
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.rw.js b/public/vendor/jquery/timeago/locales/jquery.timeago.rw.js
deleted file mode 100644
index 18537672eb..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.rw.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Kinyarwanda
-jQuery.timeago.settings.strings = {
- prefixAgo: "hashize",
- prefixFromNow: "mu",
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "amasegonda macye",
- minute: "umunota",
- minutes: "iminota %d",
- hour: "isaha",
- hours: "amasaha %d",
- day: "umunsi",
- days: "iminsi %d",
- month: "ukwezi",
- months: "amezi %d",
- year: "umwaka",
- years: "imyaka %d",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.si.js b/public/vendor/jquery/timeago/locales/jquery.timeago.si.js
deleted file mode 100644
index 468bcd7ca9..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.si.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Sinhalese (SI)
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "පෙර",
- suffixFromNow: "පසුව",
- seconds: "තත්පර කිහිපයකට",
- minute: "මිනිත්තුවකට පමණ",
- minutes: "මිනිත්තු %d කට",
- hour: "පැයක් පමණ ",
- hours: "පැය %d කට පමණ",
- day: "දවසක ට",
- days: "දවස් %d කට ",
- month: "මාසයක් පමණ",
- months: "මාස %d කට",
- year: "වසරක් පමණ",
- years: "වසරක් %d කට පමණ"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.sk.js b/public/vendor/jquery/timeago/locales/jquery.timeago.sk.js
deleted file mode 100644
index 24493a2bd7..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.sk.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Slovak
-jQuery.timeago.settings.strings = {
- prefixAgo: "pred",
- prefixFromNow: null,
- suffixAgo: null,
- suffixFromNow: null,
- seconds: "menej než minútou",
- minute: "minútou",
- minutes: "%d minútami",
- hour: "hodinou",
- hours: "%d hodinami",
- day: "1 dňom",
- days: "%d dňami",
- month: "1 mesiacom",
- months: "%d mesiacmi",
- year: "1 rokom",
- years: "%d rokmi"
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.sl.js b/public/vendor/jquery/timeago/locales/jquery.timeago.sl.js
deleted file mode 100644
index b8ab587d82..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.sl.js
+++ /dev/null
@@ -1,40 +0,0 @@
-// Slovenian with support for dual
-(function () {
- var numpf;
- numpf = function (n, a) {
- return a[n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0];
- };
-
- jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "čez",
- suffixAgo: "nazaj",
- suffixFromNow: null,
- second: "sekundo",
- seconds: function (value) {
- return numpf(value, ["%d sekund", "%d sekundo", "%d sekundi", "%d sekunde"]);
- },
- minute: "minuto",
- minutes: function (value) {
- return numpf(value, ["%d minut", "%d minuto", "%d minuti", "%d minute"]);
- },
- hour: "eno uro",
- hours: function (value) {
- return numpf(value, ["%d ur", "%d uro", "%d uri", "%d ure"]);
- },
- day: "en dan",
- days: function (value) {
- return numpf(value, ["%d dni", "%d dan", "%d dneva", "%d dni"]);
- },
- month: "en mesec",
- months: function (value) {
- return numpf(value, ["%d mesecev", "%d mesec", "%d meseca", "%d mesece"]);
- },
- year: "eno leto",
- years: function (value) {
- return numpf(value, ["%d let", "%d leto", "%d leti", "%d leta"]);
- },
- wordSeparator: " "
- };
-
-}).call(this);
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.sr.js b/public/vendor/jquery/timeago/locales/jquery.timeago.sr.js
deleted file mode 100644
index c75a972e77..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.sr.js
+++ /dev/null
@@ -1,49 +0,0 @@
-// Serbian
-(function () {
- var numpf;
-
- numpf = function (n, f, s, t) {
- var n10;
- n10 = n % 10;
- if (n10 === 1 && (n === 1 || n > 20)) {
- return f;
- } else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) {
- return s;
- } else {
- return t;
- }
- };
-
- jQuery.timeago.settings.strings = {
- prefixAgo: "пре",
- prefixFromNow: "за",
- suffixAgo: null,
- suffixFromNow: null,
- second: "секунд",
- seconds: function (value) {
- return numpf(value, "%d секунд", "%d секунде", "%d секунди");
- },
- minute: "један минут",
- minutes: function (value) {
- return numpf(value, "%d минут", "%d минута", "%d минута");
- },
- hour: "један сат",
- hours: function (value) {
- return numpf(value, "%d сат", "%d сата", "%d сати");
- },
- day: "један дан",
- days: function (value) {
- return numpf(value, "%d дан", "%d дана", "%d дана");
- },
- month: "месец дана",
- months: function (value) {
- return numpf(value, "%d месец", "%d месеца", "%d месеци");
- },
- year: "годину дана",
- years: function (value) {
- return numpf(value, "%d годину", "%d године", "%d година");
- },
- wordSeparator: " "
- };
-
-}).call(this);
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.sv.js b/public/vendor/jquery/timeago/locales/jquery.timeago.sv.js
deleted file mode 100644
index b5c3947179..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.sv.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Swedish
-jQuery.timeago.settings.strings = {
- prefixAgo: "för",
- prefixFromNow: "om",
- suffixAgo: "sedan",
- suffixFromNow: "",
- seconds: "mindre än en minut",
- minute: "ungefär en minut",
- minutes: "%d minuter",
- hour: "ungefär en timme",
- hours: "ungefär %d timmar",
- day: "en dag",
- days: "%d dagar",
- month: "ungefär en månad",
- months: "%d månader",
- year: "ungefär ett år",
- years: "%d år"
-};
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.th.js b/public/vendor/jquery/timeago/locales/jquery.timeago.th.js
deleted file mode 100644
index 894bf7fc83..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.th.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Thai
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "ที่แล้ว",
- suffixFromNow: "จากตอนนี้",
- seconds: "น้อยกว่าหนึ่งนาที",
- minute: "ประมาณหนึ่งนาที",
- minutes: "%d นาที",
- hour: "ประมาณหนึ่งชั่วโมง",
- hours: "ประมาณ %d ชั่วโมง",
- day: "หนึ่งวัน",
- days: "%d วัน",
- month: "ประมาณหนึ่งเดือน",
- months: "%d เดือน",
- year: "ประมาณหนึ่งปี",
- years: "%d ปี",
- wordSeparator: "",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.tr-short.js b/public/vendor/jquery/timeago/locales/jquery.timeago.tr-short.js
deleted file mode 100644
index ebc2277b49..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.tr-short.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Turkish shortened
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "",
- suffixFromNow: "",
- seconds: "1sn",
- minute: "1d",
- minutes: "%dd",
- hour: "1s",
- hours: "%ds",
- day: "1g",
- days: "%dg",
- month: "1ay",
- months: "%day",
- year: "1y",
- years: "%dy",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.tr.js b/public/vendor/jquery/timeago/locales/jquery.timeago.tr.js
deleted file mode 100644
index 160190d026..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.tr.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Turkish
-jQuery.timeago.settings.strings = {
- suffixAgo: 'önce',
- suffixFromNow: null,
- seconds: '1 dakikadan',
- minute: '1 dakika',
- minutes: '%d dakika',
- hour: '1 saat',
- hours: '%d saat',
- day: '1 gün',
- days: '%d gün',
- month: '1 ay',
- months: '%d ay',
- year: '1 yıl',
- years: '%d yıl'
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.uk.js b/public/vendor/jquery/timeago/locales/jquery.timeago.uk.js
deleted file mode 100644
index 4382549f0f..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.uk.js
+++ /dev/null
@@ -1,34 +0,0 @@
-// Ukrainian
-(function() {
- function numpf(n, f, s, t) {
- // f - 1, 21, 31, ...
- // s - 2-4, 22-24, 32-34 ...
- // t - 5-20, 25-30, ...
- var n10 = n % 10;
- if ( (n10 == 1) && ( (n == 1) || (n > 20) ) ) {
- return f;
- } else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
- return s;
- } else {
- return t;
- }
- }
-
- jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "через",
- suffixAgo: "тому",
- suffixFromNow: null,
- seconds: "менше хвилини",
- minute: "хвилина",
- minutes: function(value) { return numpf(value, "%d хвилина", "%d хвилини", "%d хвилин"); },
- hour: "година",
- hours: function(value) { return numpf(value, "%d година", "%d години", "%d годин"); },
- day: "день",
- days: function(value) { return numpf(value, "%d день", "%d дні", "%d днів"); },
- month: "місяць",
- months: function(value) { return numpf(value, "%d місяць", "%d місяці", "%d місяців"); },
- year: "рік",
- years: function(value) { return numpf(value, "%d рік", "%d роки", "%d років"); }
- };
-})();
\ No newline at end of file
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.uz.js b/public/vendor/jquery/timeago/locales/jquery.timeago.uz.js
deleted file mode 100755
index d6a0a7fd20..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.uz.js
+++ /dev/null
@@ -1,19 +0,0 @@
-//Uzbek
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "keyin",
- suffixAgo: "avval",
- suffixFromNow: null,
- seconds: "bir necha soniya",
- minute: "1 daqiqa",
- minutes: function(value) { return "%d daqiqa"; },
- hour: "1 soat",
- hours: function(value) { return "%d soat"; },
- day: "1 kun",
- days: function(value) { return "%d kun"; },
- month: "1 oy",
- months: function(value) { return "%d oy"; },
- year: "1 yil",
- years: function(value) { return "%d yil"; },
- wordSeparator: " "
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.vi.js b/public/vendor/jquery/timeago/locales/jquery.timeago.vi.js
deleted file mode 100644
index 84d6618558..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.vi.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Vietnamese
-jQuery.timeago.settings.strings = {
- prefixAgo: 'cách đây',
- prefixFromNow: null,
- suffixAgo: null,
- suffixFromNow: "trước",
- seconds: "chưa đến một phút",
- minute: "khoảng một phút",
- minutes: "%d phút",
- hour: "khoảng một tiếng",
- hours: "khoảng %d tiếng",
- day: "một ngày",
- days: "%d ngày",
- month: "khoảng một tháng",
- months: "%d tháng",
- year: "khoảng một năm",
- years: "%d năm",
- wordSeparator: " ",
- numbers: []
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.zh-CN.js b/public/vendor/jquery/timeago/locales/jquery.timeago.zh-CN.js
deleted file mode 100644
index f7b979798a..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.zh-CN.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Simplified Chinese
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "从现在开始",
- suffixAgo: "之前",
- suffixFromNow: null,
- seconds: "不到1分钟",
- minute: "大约1分钟",
- minutes: "%d分钟",
- hour: "大约1小时",
- hours: "大约%d小时",
- day: "1天",
- days: "%d天",
- month: "大约1个月",
- months: "%d月",
- year: "大约1年",
- years: "%d年",
- numbers: [],
- wordSeparator: ""
-};
diff --git a/public/vendor/jquery/timeago/locales/jquery.timeago.zh-TW.js b/public/vendor/jquery/timeago/locales/jquery.timeago.zh-TW.js
deleted file mode 100644
index 52633900f3..0000000000
--- a/public/vendor/jquery/timeago/locales/jquery.timeago.zh-TW.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Traditional Chinese, zh-tw
-jQuery.timeago.settings.strings = {
- prefixAgo: null,
- prefixFromNow: "從現在開始",
- suffixAgo: "之前",
- suffixFromNow: null,
- seconds: "不到1分鐘",
- minute: "大約1分鐘",
- minutes: "%d分鐘",
- hour: "大約1小時",
- hours: "%d小時",
- day: "大約1天",
- days: "%d天",
- month: "大約1個月",
- months: "%d個月",
- year: "大約1年",
- years: "%d年",
- numbers: [],
- wordSeparator: ""
-};
diff --git a/src/languages.js b/src/languages.js
index e5b14cc035..5067f6b4a9 100644
--- a/src/languages.js
+++ b/src/languages.js
@@ -2,11 +2,13 @@
const fs = require('fs');
const path = require('path');
+const utils = require('./utils');
+const paths = require('./constants').paths;
const Languages = module.exports;
const languagesPath = path.join(__dirname, '../build/public/language');
-const files = fs.readdirSync(path.join(__dirname, '../public/vendor/jquery/timeago/locales'));
+const files = fs.readdirSync(path.join(paths.nodeModules, '/timeago/locales'));
Languages.timeagoCodes = files.filter(f => f.startsWith('jquery.timeago')).map(f => f.split('.')[2]);
Languages.get = async function (language, namespace) {
@@ -62,4 +64,13 @@ Languages.list = async function () {
return languages;
};
+Languages.userTimeagoCode = async function (userLang) {
+ const languageCodes = await Languages.listCodes();
+ const timeagoCode = utils.userLangToTimeagoCode(userLang);
+ if (languageCodes.includes(userLang) && Languages.timeagoCodes.includes(timeagoCode)) {
+ return timeagoCode;
+ }
+ return '';
+};
+
require('./promisify')(Languages);
diff --git a/src/meta/css.js b/src/meta/css.js
index f0ff59dc12..fa6ad4eaef 100644
--- a/src/meta/css.js
+++ b/src/meta/css.js
@@ -24,7 +24,7 @@ var buildImports = {
client: function (source) {
return '@import "./theme";\n' + source + '\n' + [
'@import "font-awesome";',
- '@import (inline) "../public/vendor/jquery/css/smoothness/jquery-ui.css";',
+ '@import "../../public/less/jquery-ui.less";',
'@import (inline) "../public/vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.css";',
'@import (inline) "../public/vendor/colorpicker/colorpicker.css";',
'@import (inline) "../node_modules/cropperjs/dist/cropper.css";',
@@ -43,7 +43,7 @@ var buildImports = {
'@import "../public/less/admin/admin";',
'@import "../public/less/generics.less";',
'@import (inline) "../public/vendor/colorpicker/colorpicker.css";',
- '@import (inline) "../public/vendor/jquery/css/smoothness/jquery-ui.css";',
+ '@import "../../public/less/jquery-ui.less";',
'@import (inline) "../public/vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.css";',
'@import (inline) "../public/vendor/mdl/material.css";',
].map(function (str) {
diff --git a/src/meta/js.js b/src/meta/js.js
index 8473c95793..9c45956ff5 100644
--- a/src/meta/js.js
+++ b/src/meta/js.js
@@ -24,17 +24,15 @@ var JS = module.exports;
JS.scripts = {
base: [
'node_modules/promise-polyfill/dist/polyfill.js',
- 'node_modules/jquery/dist/jquery.js',
'node_modules/socket.io-client/dist/socket.io.js',
+ 'node_modules/requirejs/require.js',
+ 'public/src/require-config.js',
+ 'node_modules/jquery/dist/jquery.js',
'node_modules/textcomplete/dist/textcomplete.min.js',
'node_modules/textcomplete.contenteditable/dist/textcomplete.codemirror.min.js',
- 'public/vendor/jquery/timeago/jquery.timeago.js',
- 'public/vendor/jquery/js/jquery.form.min.js',
'node_modules/visibilityjs/lib/visibility.core.js',
'node_modules/bootstrap/dist/js/bootstrap.js',
'public/vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.min.js',
- 'node_modules/requirejs/require.js',
- 'public/src/require-config.js',
'public/vendor/bootbox/bootbox.js',
'public/vendor/bootbox/wrapper.js',
'public/vendor/xregexp/xregexp.js',
@@ -50,7 +48,6 @@ JS.scripts = {
// files listed below are only available client-side, or are bundled in to reduce # of network requests on cold load
rjs: [
- 'public/src/client/footer.js',
'public/src/client/header/chat.js',
'public/src/client/header/notifications.js',
'public/src/client/infinitescroll.js',
@@ -74,6 +71,7 @@ JS.scripts = {
'public/src/modules/navigator.js',
'public/src/modules/topicSelect.js',
'public/src/modules/topicList.js',
+ 'public/src/modules/categoryFilter.js',
'public/src/modules/categorySelector.js',
'public/src/modules/categorySearch.js',
'public/src/modules/share.js',
@@ -98,7 +96,7 @@ JS.scripts = {
'Chart.js': 'node_modules/chart.js/dist/Chart.min.js',
'mousetrap.js': 'node_modules/mousetrap/mousetrap.min.js',
'cropper.js': 'node_modules/cropperjs/dist/cropper.min.js',
- 'jqueryui.js': 'public/vendor/jquery/js/jquery-ui.js',
+ 'jquery-ui': 'node_modules/jquery-ui/ui',
'zxcvbn.js': 'node_modules/zxcvbn/dist/zxcvbn.js',
ace: 'node_modules/ace-builds/src-min',
'clipboard.js': 'node_modules/clipboard/dist/clipboard.min.js',
diff --git a/src/middleware/header.js b/src/middleware/header.js
index f79d468496..df491fe6d1 100644
--- a/src/middleware/header.js
+++ b/src/middleware/header.js
@@ -68,6 +68,7 @@ async function generateHeader(req, res, data) {
user: user.getUserData(req.uid),
isEmailConfirmSent: (!meta.config.requireEmailConfirmation || req.uid <= 0) ? false : await db.get('uid:' + req.uid + ':confirm:email:sent'),
languageDirection: translator.translate('[[language:dir]]', res.locals.config.userLang),
+ timeagoCode: languages.userTimeagoCode(res.locals.config.userLang),
browserTitle: translator.translate(controllers.helpers.buildTitle(translator.unescape(data.title))),
navigation: navigation.get(req.uid),
banned: user.bans.isBanned(req.uid),
@@ -95,6 +96,7 @@ async function generateHeader(req, res, data) {
results.user.isGlobalMod = results.isGlobalMod;
results.user.isMod = !!results.isModerator;
results.user.privileges = results.privileges;
+ results.user.timeagoCode = results.timeagoCode;
results.user[results.user.status] = true;
results.user.email = String(results.user.email);
@@ -189,25 +191,9 @@ middleware.renderFooter = async function renderFooter(req, res, templateValues)
templateValues: templateValues,
});
- const results = await utils.promiseParallel({
- scripts: plugins.fireHook('filter:scripts.get', []),
- timeagoLocale: (async () => {
- const languageCodes = await languages.listCodes();
- const userLang = res.locals.config.userLang;
- const timeagoCode = utils.userLangToTimeagoCode(userLang);
-
- if (languageCodes.includes(userLang) && languages.timeagoCodes.includes(timeagoCode)) {
- const pathToLocaleFile = '/vendor/jquery/timeago/locales/jquery.timeago.' + timeagoCode + '.js';
- return res.locals.config.assetBaseUrl + pathToLocaleFile;
- }
- return false;
- })(),
- });
+ const scripts = await plugins.fireHook('filter:scripts.get', []);
- if (results.timeagoLocale) {
- results.scripts.push(results.timeagoLocale);
- }
- data.templateValues.scripts = results.scripts.map(function (script) {
+ data.templateValues.scripts = scripts.map(function (script) {
return { src: script };
});
diff --git a/src/views/admin/footer.tpl b/src/views/admin/footer.tpl
index 1593e636c3..b28202d057 100644
--- a/src/views/admin/footer.tpl
+++ b/src/views/admin/footer.tpl
@@ -11,7 +11,7 @@
diff --git a/src/views/partials/footer/js.tpl b/src/views/partials/footer/js.tpl
index 2067ab8c36..a0b8668f4c 100644
--- a/src/views/partials/footer/js.tpl
+++ b/src/views/partials/footer/js.tpl
@@ -12,13 +12,12 @@
}
function prepareFooter() {
- require(['forum/footer']);
{{customJS}}
$(document).ready(function () {
- ajaxify.coldLoad();
+ app.coldLoad();
});
}
\ No newline at end of file