text: /*! Widget: resizable - updated 3/26/2015 (v2.21.3) */
  ;(function(c,b){var a=c.tablesorter=c.tablesorter||{};c.extend(a.css,{resizableContainer:"tablesorter-resizable-container",resizableHandle:"tablesorter-resizable-handle",resizableNoSelect:"tablesorter-disableSelection",resizableStorage:"tablesorter-resizable"});c(function(){var d="<style>body."+a.css.resizableNoSelect+" { -ms-user-select: none; -moz-user-select: -moz-none;-khtml-user-select: none; -webkit-user-select: none; user-select: none; }."+a.css.resizableContainer+" { position: relative; height: 1px; }."+a.css.resizableHandle+" { position: absolute; display: inline-block; width: 8px; top: 1px;cursor: ew-resize; z-index: 3; user-select: none; -moz-user-select: none; }</style>";c(d).appendTo("body")});a.resizable={init:function(j,f){if(j.$table.hasClass("hasResizable")){return}j.$table.addClass("hasResizable");a.resizableReset(j.table,true);f.resizable_={$wrap:j.$table.parent(),mouseXPosition:0,$target:null,$next:null,overflow:j.$table.parent().css("overflow")==="auto",fullWidth:Math.abs(j.$table.parent().width()-j.$table.width())<20,storedSizes:[]};var i,d,e,h,g=parseInt(j.$table.css("margin-top"),10);f.resizable_.storedSizes=h=((a.storage&&f.resizable!==false)?a.storage(j.table,a.css.resizableStorage):[])||[];a.resizable.setWidths(j,f,h);f.$resizable_container=c('<div class="'+a.css.resizableContainer+'">').css({top:g}).insertBefore(j.$table);for(e=0;e<j.columns;e++){d=j.$headerIndexed[e];i=a.getData(d,a.getColumnData(j.table,j.headers,e),"resizable")==="false";if(!i){c('<div class="'+a.css.resizableHandle+'">').appendTo(f.$resizable_container).attr({"data-column":e,unselectable:"on"}).data("header",d).bind("selectstart",false)}}j.$table.one("tablesorter-initialized",function(){a.resizable.setHandlePosition(j,f);a.resizable.bindings(this.config,this.config.widgetOptions)})},setWidth:function(d,e){d.css({width:e,"min-width":"","max-width":""})},setWidths:function(i,f,h){var e,g=c(i.namespace+"_extra_headers"),d=i.$table.children("colgroup").children("col");h=h||f.resizable_.storedSizes||[];if(h.length){for(e=0;e<i.columns;e++){i.$headers.eq(e).width(h[e]);if(g.length){a.resizable.setWidth(g.eq(e).add(d.eq(e)),h[e])}}if(c(i.namespace+"_extra_table").length&&!a.hasWidget(i.table,"scroller")){a.resizable.setWidth(c(i.namespace+"_extra_table"),i.$table.outerWidth())}}},setHandlePosition:function(j,h){var d=j.$table.outerWidth(),i=a.hasWidget(j.table,"scroller"),f=j.$table.height(),e=h.$resizable_container.children(),g=Math.floor(e.width()/2-parseFloat(j.$headers.css("border-right-width"))*2);if(i){f=0;j.$table.closest("."+a.css.scrollerWrap).children().each(function(){var k=c(this);f+=k.filter('[style*="height"]').length?k.height():k.children("table").height()})}e.each(function(){var n=c(this),m=parseInt(n.attr("data-column"),10),l=j.columns-1,k=n.data("header");if(m<l||m===l&&h.resizable_addLastColumn){n.css({height:f,left:k.position().left+k.width()-g})}})},toggleTextSelection:function(f,d){var e=f.namespace+"tsresize";f.widgetOptions.resizable_.disabled=d;c("body").toggleClass(a.css.resizableNoSelect,d);if(d){c("body").attr("unselectable","on").bind("selectstart"+e,false)}else{c("body").removeAttr("unselectable").unbind("selectstart"+e)}},bindings:function(f,e){var d=f.namespace+"tsresize";e.$resizable_container.children().bind("mousedown",function(i){var h,k=e.resizable_,j=c(f.namespace+"_extra_headers"),g=c(i.target).data("header");h=parseInt(g.attr("data-column"),10);k.$target=g=g.add(j.filter('[data-column="'+h+'"]'));k.target=h;k.$next=i.shiftKey||e.resizable_targetLast?g.parent().children().not(".resizable-false").filter(":last"):g.nextAll(":not(.resizable-false)").eq(0);h=parseInt(k.$next.attr("data-column"),10);k.$next=k.$next.add(j.filter('[data-column="'+h+'"]'));k.next=h;k.mouseXPosition=i.pageX;k.storedSizes=f.$headers.map(function(){return c(this).width()}).get();a.resizable.toggleTextSelection(f,true)});c(document).bind("mousemove"+d,function(g){var h=e.resizable_;if(!h.disabled||h.mouseXPosition===0||!h.$target){return}if(e.resizable_throttle){clearTimeout(h.timer);h.timer=setTimeout(function(){a.resizable.mouseMove(f,e,g)},isNaN(e.resizable_throttle)?5:e.resizable_throttle)}else{a.resizable.mouseMove(f,e,g)}}).bind("mouseup"+d,function(){if(!e.resizable_.disabled){return}a.resizable.toggleTextSelection(f,false);a.resizable.stopResize(f,e);a.resizable.setHandlePosition(f,e)});c(b).bind("resize"+d+" resizeEnd"+d,function(){a.resizable.setHandlePosition(f,e)});f.$table.find("thead:first").add(c(f.namespace+"_extra_table").find("thead:first")).bind("contextmenu"+d,function(){var g=e.resizable_.storedSizes.length===0;a.resizableReset(f.table);a.resizable.setHandlePosition(f,e);e.resizable_.storedSizes=[];return g})},mouseMove:function(k,g,h){if(g.resizable_.mouseXPosition===0||!g.resizable_.$target){return}var j=g.resizable_,d=j.$target,e=j.$next,i=h.pageX-j.mouseXPosition,f=d.width();if(j.fullWidth){j.storedSizes[j.target]+=i;j.storedSizes[j.next]-=i;a.resizable.setWidths(k,g)}else{if(j.overflow){k.$table.add(c(k.namespace+"_extra_table")).width(function(m,l){return l+i});if(!e.length){j.$wrap[0].scrollLeft=k.$table.width()}}else{j.storedSizes[j.target]+=i;a.resizable.setWidths(k,g)}}j.mouseXPosition=h.pageX},stopResize:function(f,d){var e=d.resizable_;e.storedSizes=[];if(a.storage){e.storedSizes=f.$headers.map(function(){return c(this).width()}).get();if(d.resizable!==false){a.storage(f.table,a.css.resizableStorage,e.storedSizes)}}e.mouseXPosition=0;e.$target=e.$next=null;c(b).trigger("resize")}};a.addWidget({id:"resizable",priority:40,options:{resizable:true,resizable_addLastColumn:false,resizable_widths:[],resizable_throttle:false,resizable_targetLast:false},init:function(f,e,g,d){a.resizable.init(g,d)},remove:function(f,g,e){if(e.$resizable_container){var d=g.namespace+"tsresize";g.$table.add(c(g.namespace+"_extra_table")).removeClass("hasResizable").children("thead").unbind("contextmenu"+d);e.$resizable_container.remove();a.resizable.toggleTextSelection(g,false);a.resizableReset(f);c(document).unbind("mousemove"+d+" mouseup"+d)}}});a.resizableReset=function(e,d){c(e).each(function(){var h,g=this.config,f=g&&g.widgetOptions;if(e&&g){g.$headers.each(function(j){h=c(this);if(f.resizable_widths&&f.resizable_widths[j]){h.css("width",f.resizable_widths[j])}else{if(!h.hasClass("resizable-false")){h.css("width","")}}});c(b).trigger("resize");if(a.storage&&!d){a.storage(this,a.css.resizableStorage,{})}}})}})(jQuery,window);