You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/packages/TelerikMvcExtensions.2011.2.../content/Scripts/2011.2.712/telerik.common.min.js

1 line
43 KiB

(function(m){try{if(document.execCommand){document.execCommand("BackgroundImageCache",false,true)}}catch(al){}var w=/\d/;var W=/\s+/;var ad=parseInt(m.browser.version.substring(0,5).replace(".",""));var ap=m.browser.mozilla&&ad>=180&&ad<=191;var y=/d{1,4}|M{1,4}|yy(?:yy)?|([Hhmstf])\1*|"[^"]*"|'[^']*'/g;var f=(navigator.userAgent.search(/like\sMac\sOS\sX;.*Mobile\/\S+/)!=-1);var u=(navigator.userAgent.search(/4_1\slike\sMac\sOS\sX;.*Mobile\/\S+/)!=-1);var aa=m.telerik={create:function(e,av){var ax=av.name;var aw=m.extend({},m.fn[ax].defaults,av.options);return e.each(function(){var ay=m(this);aw=m.meta?m.extend({},aw,ay.data()):aw;if(!ay.data(ax)){var az=av.init(this,aw);ay.data(ax,az);aa.trigger(this,"load");if(av.success){av.success(az)}}})},toJson:function(e){function av(ax){return"["+m.map(ax,aw).join(",")+"]"}function aw(az){var ay=[];for(var aA in az){var ax=az[aA];if(m.isArray(ax)){ay.push('"'+aA+'":'+av(ax))}else{if(typeof ax!="object"){ay.push('"'+aA+'":"'+(ax==null?"":ax)+'"')}else{ay.push('"'+aA+'":'+aw(ax))}}}return"{"+ay.join(",")+"}"}if(m.isArray(e)){return av(e)}else{return aw(e)}},delegate:function(av,e){return function(aw){e.apply(av,[aw,this])}},stop:function(e,av){return function(aw){aw.stopPropagation();e.apply(av||this,arguments)}},stopAll:function(e,av){return function(aw){aw.preventDefault();aw.stopPropagation();e.apply(av||this,arguments)}},bind:function(e,av){var aw=m(e.element?e.element:e);m.each(av,function(ax){if(m.isFunction(this)){aw.bind(ax,this)}})},preventDefault:function(av){av.preventDefault()},hover:function(){m(this).addClass("t-state-hover")},leave:function(){m(this).removeClass("t-state-hover")},buttonHover:function(){m(this).addClass("t-button-hover")},buttonLeave:function(){m(this).removeClass("t-button-hover")},stringBuilder:function(){this.buffer=[]},ajaxError:function(ax,aw,e,ay){var av=this.trigger(ax,aw,{XMLHttpRequest:e,textStatus:ay});if(!av){if(ay=="error"&&e.status!="0"){alert("Error! The requested URL returned "+e.status+" - "+e.statusText)}if(ay=="timeout"){alert("Error! Server timeout.")}}return av},trigger:function(aw,av,ax){ax=m.extend(ax||{},new m.Event(av));ax.stopPropagation();m(aw).trigger(ax);return ax.isDefaultPrevented()},getType:function(e){if(e instanceof Date){return"date"}if(typeof e==="number"){return"number"}return"object"},formatString:function(){var ay=arguments[0];for(var e=0,av=arguments.length-1;e<av;e++){var ax=new RegExp("\\{"+e+"(:([^\\}]+))?\\}","gm");var aw=arguments[e+1];var az=this.formatters[this.getType(aw)];if(az){var aA=ax.exec(ay);if(aA){aw=az(aw,aA[2])}}ay=ay.replace(ax,function(){return aw})}return ay},getElementZIndex:function(e){var av="auto";m(e).parents().andSelf().each(function(){av=m(this).css("zIndex");if(Number(av)){av=Number(av)+1;return false}});return av},lastIndexOf:function(e,av){var aw=av.length;for(var ax=e.length-1;ax>-1;ax--){if(e.substr(ax,aw)==av){return ax}}return -1},caretPos:function(e){var av=-1;if(document.selection){av=Math.abs(e.document.selection.createRange().moveStart("character",-e.value.length))}else{if(e.selectionStart!==undefined){av=e.selectionStart}}return av},encode:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00a0/g,"&nbsp;").replace(/'/g,"&#39;")},formatters:{},fx:{},cultureInfo:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbrDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDays:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],abbrMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longTime:"h:mm:ss tt",longDate:"dddd, MMMM dd, yyyy",shortDate:"M/d/yyyy",shortTime:"h:mm tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",generalDateShortTime:"M/d/yyyy h:mm tt",generalDateTime:"M/d/yyyy h:mm:ss tt",sortableDateTime:"yyyy'-'MM'-'ddTHH':'mm':'ss",universalSortableDateTime:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",monthYear:"MMMM, yyyy",monthDay:"MMMM dd",today:"today",tomorrow:"tomorro