/*! tablesorter (FORK) - updated 05-17-2015 (v2.22.1)*/ (function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof module==="object"&&typeof module.exports==="object"){module.exports=a(require("jquery"))}else{a(jQuery)}}}(function(a){ /*! Widget: storage - updated 3/26/2015 (v2.21.3) */ ;(function(e,d,b){var c=e.tablesorter||{};c.storage=function(t,q,n,u){t=e(t)[0];var p,s,i,h=false,o={},l=t.config,m=l&&l.widgetOptions,j=(u&&u.useSessionStorage)||(m&&m.storage_useSessionStorage)?"sessionStorage":"localStorage",r=e(t),g=u&&u.id||r.attr(u&&u.group||m&&m.storage_group||"data-table-group")||m&&m.storage_tableId||t.id||e(".tablesorter").index(r),f=u&&u.url||r.attr(u&&u.page||m&&m.storage_page||"data-table-page")||m&&m.storage_fixedUrl||l&&l.fixedUrl||d.location.pathname;if(j in d){try{d[j].setItem("_tmptest","temp");h=true;d[j].removeItem("_tmptest")}catch(k){if(l&&l.debug){c.log(j+" is not supported in this browser")}}}if(e.parseJSON){if(h){o=e.parseJSON(d[j][q]||"null")||{}}else{s=b.cookie.split(/[;\s|=]/);p=e.inArray(q,s)+1;o=(p!==0)?e.parseJSON(s[p]||"null")||{}:{}}}if((n||n==="")&&d.JSON&&JSON.hasOwnProperty("stringify")){if(!o[f]){o[f]={}}o[f][g]=n;if(h){d[j][q]=JSON.stringify(o)}else{i=new Date();i.setTime(i.getTime()+(31536000000));b.cookie=q+"="+(JSON.stringify(o)).replace(/\"/g,'"')+"; expires="+i.toGMTString()+"; path=/"}}else{return o&&o[f]?o[f][g]:""}}})(jQuery,window,document); /*! Widget: uitheme - updated 3/26/2015 (v2.21.3) */ ;(function(c){var b=c.tablesorter||{};b.themes={bootstrap:{table:"table table-bordered table-striped",caption:"caption",header:"bootstrap-header",sortNone:"",sortAsc:"",sortDesc:"",active:"",hover:"",icons:"",iconSortNone:"bootstrap-icon-unsorted",iconSortAsc:"icon-chevron-up glyphicon glyphicon-chevron-up",iconSortDesc:"icon-chevron-down glyphicon glyphicon-chevron-down",filterRow:"",footerRow:"",footerCells:"",even:"",odd:""},jui:{table:"ui-widget ui-widget-content ui-corner-all",caption:"ui-widget-content",header:"ui-widget-header ui-corner-all ui-state-default",sortNone:"",sortAsc:"",sortDesc:"",active:"ui-state-active",hover:"ui-state-hover",icons:"ui-icon",iconSortNone:"ui-icon-carat-2-n-s",iconSortAsc:"ui-icon-carat-1-n",iconSortDesc:"ui-icon-carat-1-s",filterRow:"",footerRow:"",footerCells:"",even:"ui-widget-content",odd:"ui-state-default"}};c.extend(b.css,{wrapper:"tablesorter-wrapper"});b.addWidget({id:"uitheme",priority:10,format:function(s,w,h){var r,g,t,k,y,e,f,d,n,j,m,u,x=b.themes,l=w.$table.add(c(w.namespace+"_extra_table")),o=w.$headers.add(c(w.namespace+"_extra_headers")),v=w.theme||"jui",q=x[v]||{},z=c.trim([q.sortNone,q.sortDesc,q.sortAsc,q.active].join(" ")),p=c.trim([q.iconSortNone,q.iconSortDesc,q.iconSortAsc].join(" "));if(w.debug){k=new Date()}if(!l.hasClass("tablesorter-"+v)||w.theme!==w.appliedTheme||!h.uitheme_applied){h.uitheme_applied=true;n=x[w.appliedTheme]||{};u=!c.isEmptyObject(n);j=u?[n.sortNone,n.sortDesc,n.sortAsc,n.active].join(" "):"";m=u?[n.iconSortNone,n.iconSortDesc,n.iconSortAsc].join(" "):"";if(u){h.zebra[0]=c.trim(" "+h.zebra[0].replace(" "+n.even,""));h.zebra[1]=c.trim(" "+h.zebra[1].replace(" "+n.odd,""));w.$tbodies.children().removeClass([n.even,n.odd].join(" "))}if(q.even){h.zebra[0]+=" "+q.even}if(q.odd){h.zebra[1]+=" "+q.odd}l.children("caption").removeClass(n.caption||"").addClass(q.caption);f=l.removeClass((w.appliedTheme?"tablesorter-"+(w.appliedTheme||""):"")+" "+(n.table||"")).addClass("tablesorter-"+v+" "+(q.table||"")).children("tfoot");w.appliedTheme=w.theme;if(f.length){f.children("tr").removeClass(n.footerRow||"").addClass(q.footerRow).children("th, td").removeClass(n.footerCells||"").addClass(q.footerCells)}o.removeClass((u?[n.header,n.hover,j].join(" "):"")||"").addClass(q.header).not(".sorter-false").unbind("mouseenter.tsuitheme mouseleave.tsuitheme").bind("mouseenter.tsuitheme mouseleave.tsuitheme",function(i){c(this)[i.type==="mouseenter"?"addClass":"removeClass"](q.hover||"")});o.each(function(){var i=c(this);if(!i.find("."+b.css.wrapper).length){i.wrapInner('
')}});if(w.cssIcon){o.find("."+b.css.icon).removeClass(u?[n.icons,m].join(" "):"").addClass(q.icons||"")}if(l.hasClass("hasFilters")){l.children("thead").children("."+b.css.filterRow).removeClass(u?n.filterRow||"":"").addClass(q.filterRow||"")}}for(r=0;r1){for(i=1;i=]/g,query:"(q|query)"},types:{regex:function(j,h){if(c.filter.regex.regex.test(h.filter)){var g,f=h.filter_regexCache[h.index]||c.filter.regex.regex.exec(h.filter),i=f instanceof RegExp;try{if(!i){h.filter_regexCache[h.index]=f=new RegExp(f[1],f[2])}g=f.test(h.exact)}catch(e){g=false}return g}return null},operators:function(l,h){if(/^[<>]=?/.test(h.iFilter)&&h.iExact!==""){var f,o,i,n=l.table,j=h.index,m=h.parsed[j],k=c.formatFloat(h.iFilter.replace(c.filter.regex.operators,""),n),e=l.parsers[j],g=k;if(m||e.type==="numeric"){i=d.trim(""+h.iFilter.replace(c.filter.regex.operators,""));o=c.filter.parseFilter(l,i,j,true);k=(typeof o==="number"&&o!==""&&!isNaN(o))?o:k}if((m||e.type==="numeric")&&!isNaN(k)&&typeof h.cache!=="undefined"){f=h.cache}else{i=isNaN(h.iExact)?h.iExact.replace(c.filter.regex.nondigit,""):h.iExact;f=c.formatFloat(i,n)}if(/>/.test(h.iFilter)){o=/>=/.test(h.iFilter)?f>=k:f>k}else{if(/=0)}}return null},exact:function(h,g){if(c.filter.regex.exact.test(g.iFilter)){var e=g.iFilter.replace(c.filter.regex.exact,""),f=c.filter.parseFilter(h,e,g.index,g.parsed[g.index])||"";return g.anyMatch?d.inArray(f,g.rowArray)>=0:f==g.iExact}return null},and:function(k,j){if(c.filter.regex.andTest.test(j.filter)){var g=j.index,f=j.parsed[g],i=j.iFilter.split(c.filter.regex.andSplit),e=j.iExact.search(d.trim(c.filter.parseFilter(k,i[0],g,f)))>=0,h=i.length-1;while(e&&h){e=e&&j.iExact.search(d.trim(c.filter.parseFilter(k,i[h],g,f)))>=0;h--}return e}return null},range:function(j,e){if(c.filter.regex.toTest.test(e.iFilter)){var n,f,m,k,l=j.table,g=e.index,i=e.parsed[g],h=e.iFilter.split(c.filter.regex.toSplit);f=h[0].replace(c.filter.regex.nondigit,"")||"";m=c.formatFloat(c.filter.parseFilter(j,f,g,i),l);f=h[1].replace(c.filter.regex.nondigit,"")||"";k=c.formatFloat(c.filter.parseFilter(j,f,g,i),l);if(i||j.parsers[g].type==="numeric"){n=j.parsers[g].format(""+h[0],l,j.$headers.eq(g),g);m=(n!==""&&!isNaN(n))?n:m;n=j.parsers[g].format(""+h[1],l,j.$headers.eq(g),g);k=(n!==""&&!isNaN(n))?n:k}if((i||j.parsers[g].type==="numeric")&&!isNaN(m)&&!isNaN(k)){n=e.cache}else{f=isNaN(e.iExact)?e.iExact.replace(c.filter.regex.nondigit,""):e.iExact;n=c.formatFloat(f,l)}if(m>k){f=m;m=k;k=f}return(n>=m&&n<=k)||(m===""||k==="")}return null},wild:function(j,i){if(/[\?\*\|]/.test(i.iFilter)||c.filter.regex.orReplace.test(i.filter)){var g=i.index,f=i.parsed[g],e=i.iFilter.replace(c.filter.regex.orReplace,"|"),h=""+(c.filter.parseFilter(j,e,g,f)||"");if(!j.$headerIndexed[g].hasClass("filter-match")&&/\|/.test(h)){if(h[h.length-1]==="|"){h+="*"}h=i.anyMatch&&d.isArray(i.rowArray)?"("+h+")":"^("+h+")$"}return new RegExp(h.replace(/\?/g,"\\S{1}").replace(/\*/g,"\\S*")).test(i.iExact)}return null},fuzzy:function(k,j){if(/^~/.test(j.iFilter)){var h,g=0,f=j.iExact.length,e=j.iFilter.slice(1),i=c.filter.parseFilter(k,e,j.index,j.parsed[j.index])||"";for(h=0;h'+(e.data("placeholder")||e.attr("data-placeholder")||o.filter_placeholder.select||"")+"":"";g=k;i=k;if(k.indexOf(o.filter_selectSourceSeparator)>=0){g=k.split(o.filter_selectSourceSeparator);i=g[1];g=g[0]}q+=""}}m.$table.find("thead").find("select."+b.filter+'[data-column="'+h+'"]').append(q);i=o.filter_selectSource;l=d.isFunction(i)?true:c.getColumnData(p,i,h);if(l){c.filter.buildSelect(m.table,h,"",true,e.hasClass(o.filter_onlyAvail))}}}}}}c.filter.buildDefault(p,true);c.filter.bindSearch(p,m.$table.find("."+b.filter),true);if(o.filter_external){c.filter.bindSearch(p,o.filter_external)}if(o.filter_hideFilters){c.filter.hideFilters(p,m)}if(m.showProcessing){i="filterStart filterEnd ".split(" ").join(m.namespace+"filter ");m.$table.unbind(i.replace(/\s+/g," ")).bind(i,function(s,r){e=(r)?m.$table.find("."+b.header).filter("[data-column]").filter(function(){return r[d(this).data("column")]!==""}):"";c.isProcessing(p,s.type==="filterStart",r?e:"")})}m.filteredRows=m.totalRows;i="tablesorter-initialized pagerBeforeInitialized ".split(" ").join(m.namespace+"filter ");m.$table.unbind(i.replace(/\s+/g," ")).bind(i,function(){var r=this.config.widgetOptions;f=c.filter.setDefaults(p,m,r)||[];if(f.length){if(!(m.delayInit&&f.join("")==="")){c.setFilters(p,f,true)}}m.$table.trigger("filterFomatterUpdate");setTimeout(function(){if(!r.filter_initialized){c.filter.filterInitComplete(m)}},100)});if(m.pager&&m.pager.initialized&&!o.filter_initialized){m.$table.trigger("filterFomatterUpdate");setTimeout(function(){c.filter.filterInitComplete(m)},100)}},formatterUpdated:function(g,f){var e=g.closest("table")[0].config.widgetOptions;if(!e.filter_initialized){e.filter_formatterInit[f]=1}},filterInitComplete:function(j){var i,e,g=j.widgetOptions,h=0,f=function(){g.filter_initialized=true;j.$table.trigger("filterInit",j);c.filter.findRows(j.table,j.$table.data("lastSearch")||[])};if(d.isEmptyObject(g.filter_formatter)){f()}else{e=g.filter_formatterInit.length;for(i=0;i';for(j=0;j").appendTo(n.$table.children("thead").eq(0)).find("td");for(j=0;j").appendTo(n.$filters.eq(j))}else{e=c.getColumnData(s,p.filter_formatter,j);if(e){p.filter_formatterCount++;q=e(n.$filters.eq(j),j);if(q&&q.length===0){q=n.$filters.eq(j).children("input")}if(q&&(q.parent().length===0||(q.parent().length&&q.parent()[0]!==n.$filters[j]))){n.$filters.eq(j).append(q)}}else{q=d('').appendTo(n.$filters.eq(j))}if(q){l=f.data("placeholder")||f.attr("data-placeholder")||p.filter_placeholder.search||"";q.attr("placeholder",l)}}if(q){g=(d.isArray(p.filter_cssFilter)?(typeof p.filter_cssFilter[j]!=="undefined"?p.filter_cssFilter[j]||"":""):p.filter_cssFilter)||"";q.addClass(b.filter+" "+g).attr("data-column",j);if(k){q.attr("placeholder","").addClass(b.filterDisabled)[0].disabled=true}}}},bindSearch:function(j,g,e){j=d(j)[0];g=d(g);if(!g.length){return}var f,l=j.config,i=l.widgetOptions,h=l.namespace+"filter",k=i.filter_$externalFilters;if(e!==true){f=i.filter_anyColumnSelector+","+i.filter_multipleColumnSelector;i.filter_$anyMatch=g.filter(f);if(k&&k.length){i.filter_$externalFilters=i.filter_$externalFilters.add(g)}else{i.filter_$externalFilters=g}c.setFilters(j,l.$table.data("lastSearch")||[],e===false)}f=("keypress keyup search change ".split(" ").join(h+" "));g.attr("data-lastSearchTime",new Date().getTime()).unbind(f.replace(/\s+/g," ")).bind("keyup"+h,function(m){d(this).attr("data-lastSearchTime",new Date().getTime());if(m.which===27){this.value=""}else{if(i.filter_liveSearch===false){return}else{if(this.value!==""&&((typeof i.filter_liveSearch==="number"&&this.value.length=37&&m.which<=40))))){return}}}c.filter.searching(j,true,true)}).bind("search change keypress ".split(" ").join(h+" "),function(n){var m=d(this).data("column");if(n.which===13||n.type==="search"||n.type==="change"&&this.value!==l.lastSearch[m]){n.preventDefault();d(this).attr("data-lastSearchTime",new Date().getTime());c.filter.searching(j,false,true)}})},searching:function(h,g,f){var e=h.config.widgetOptions;clearTimeout(e.searchTimer);if(typeof g==="undefined"||g===true){e.searchTimer=setTimeout(function(){c.filter.checkFilters(h,g,f)},e.filter_liveSearch?e.filter_searchDelay:10)}else{c.filter.checkFilters(h,g,f)}},checkFilters:function(j,h,g){var l=j.config,f=l.widgetOptions,e=d.isArray(h),i=(e)?h:c.getFilters(j,true),k=(i||[]).join("");if(d.isEmptyObject(l.cache)){if(l.delayInit&&l.pager&&l.pager.initialized){l.$table.trigger("updateCache",[function(){c.filter.checkFilters(j,false,g)}])}return}if(e){c.setFilters(j,i,false,g!==true);if(!f.filter_initialized){l.lastCombinedFilter=""}}if(f.filter_hideFilters){l.$table.find("."+b.filterRow).trigger(k===""?"mouseleave":"mouseenter")}if(l.lastCombinedFilter===k&&h!==false){return}else{if(h===false){l.lastCombinedFilter=null;l.lastSearch=[]}}if(f.filter_initialized){l.$table.trigger("filterStart",[i])}if(l.showProcessing){setTimeout(function(){c.filter.findRows(j,i,k);return false},30)}else{c.filter.findRows(j,i,k);return false}},hideFilters:function(f,i){var g,e,h;d(f).find("."+b.filterRow).addClass(b.filterRowHide).bind("mouseenter mouseleave",function(k){var j=k;g=d(this);clearTimeout(h);h=setTimeout(function(){if(/enter|over/.test(j.type)){g.removeClass(b.filterRowHide)}else{if(d(document.activeElement).closest("tr")[0]!==g[0]){if(i.lastCombinedFilter===""){g.addClass(b.filterRowHide)}}}},200)}).find("input, select").bind("focus blur",function(k){e=d(this).closest("tr");clearTimeout(h);var j=k;h=setTimeout(function(){if(c.getFilters(i.$table).join("")===""){e.toggleClass(b.filterRowHide,j.type==="focus")}},200)})},defaultFilter:function(g,f){if(g===""){return g}var j=c.filter.regex.iQuery,i=f.match(c.filter.regex.igQuery).length,k=i>1?d.trim(g).split(/\s/):[d.trim(g)],e=k.length-1,h=0,l=f;if(e<1&&i>1){k[1]=k[0]}while(j.test(l)){l=l.replace(j,k[h++]||"");if(j.test(l)&&hj){t=f;f=j;j=t}if(j>=q.columns){j=q.columns-1}for(;f<=j;f++){h.push(f)}g=g.replace(e[n],"")}}if(o&&/,/.test(g)){k=g.split(/\s*,\s*/);p=k.length;for(l=0;l-1){if(h.parsed[v]){g=h.cacheArray[v]}else{g=h.rawArray[v];g=d.trim(q.filter_ignoreCase?g.toLowerCase():g);if(o.sortLocaleCompare){g=c.replaceAccents(g)}}return g}}).get();h.filter=h.anyMatchFilter;h.iFilter=h.iAnyMatchFilter;h.exact=h.rowArray.join(" ");h.iExact=q.filter_ignoreCase?h.exact.toLowerCase():h.exact;h.cache=h.cacheArray.slice(0,-1).join(" ");k=null;i=null;for(e in c.filter.types){if(d.inArray(e,n.noAnyMatch)<0&&i===null){i=c.filter.types[e](o,h);if(i!==null){k=i}}}if(k!==null){j=k}else{if(q.filter_startsWith){j=false;l=o.columns;while(!j&&l>0){l--;j=j||h.rowArray[l].indexOf(h.iFilter)===0}}else{j=(h.iExact+h.childRowText).indexOf(h.iFilter)>=0}}h.anyMatch=false;if(h.filters.join("")===h.filter){return j}}for(l=0;l=0:h.filter===h.exact}else{if(typeof m==="function"){k=m(h.exact,h.cache,h.filter,l,h.$row,o,h)}else{if(typeof m[e||h.filter]==="function"){g=e||h.filter;k=m[g](h.exact,h.cache,h.filter,l,h.$row,o,h)}}}}if(k===null){i=null;for(e in c.filter.types){if(d.inArray(e,t)<0&&i===null){i=c.filter.types[e](o,h);if(i!==null){k=i}}}if(k!==null){u=k}else{g=(h.iExact+h.childRowText).indexOf(c.filter.parseFilter(o,h.iFilter,l,h.parsed[l]));u=((!q.filter_startsWith&&g>=0)||(q.filter_startsWith&&g===0))}}else{u=k}j=(u)?j:false}}return j},findRows:function(C,n,m){if(C.config.lastCombinedFilter===m||!C.config.widgetOptions.filter_initialized){return}var B,k,l,v,p,r,u,E,o,z,y,w,j,I,G,x,e,i,A,H,t,q,h=d.extend([],n),g=c.filter.regex,D=C.config,f=D.widgetOptions,F={anyMatch:false,filters:n,filter_regexCache:[]},s={noAnyMatch:["range","notMatch","operators"],functions:[],excludeFilter:[],defaultColFilter:[],defaultAnyFilter:c.getColumnData(C,f.filter_defaultFilter,D.columns,true)||""};F.parsed=D.$headers.map(function(J){return D.parsers&&D.parsers[J]&&D.parsers[J].parsed||c.getData&&c.getData(D.$headerIndexed[J],c.getColumnData(C,D.headers,J),"filter")==="parsed"||d(this).hasClass("filter-parsed")}).get();for(E=0;E1){t=parseInt(H[0],10)-1;if(t>=0&&t=?\s*-\d)/.test(I)||/(<=?\s*\d)/.test(I))&&!(I!==""&&D.$filters&&D.$filters.eq(G).find("select").length&&!D.$headerIndexed[G].hasClass("filter-match"))}}x=v.not("."+f.filter_filteredRow).length;if(e&&x===0){e=false}if(D.debug){c.log("Filter: Searching through "+(e&&x")>=0)){return l}else{if(d.isArray(l)){j=l}else{if(d.type(e)==="object"&&l){j=l(q,g,h)}}}}if(j===false){j=c.filter.getOptions(q,g,h)}j=d.grep(j,function(s,r){return d.inArray(s,j)===r});if(n.$headerIndexed[g].hasClass("filter-select-nosort")){return j}else{k=j.length;for(i=0;i'+(f.data("placeholder")||f.attr("data-placeholder")||o.filter_placeholder.select||"")+"",q=m.$table.find("thead").find("select."+b.filter+'[data-column="'+g+'"]').val();if(typeof k==="undefined"||k===""){k=c.filter.getOptionSource(s,g,i)}if(d.isArray(k)){for(j=0;j=0){r=h.split(o.filter_selectSourceSeparator);e=r[0];h=r[1]}u+=k[j]!==""?"":""}k=[]}l=(m.$filters?m.$filters:m.$table.children("thead")).find("."+b.filter);if(o.filter_$externalFilters){l=l&&l.length?l.add(o.filter_$externalFilters):o.filter_$externalFilters}n=l.filter('select[data-column="'+g+'"]');if(n.length){n[p?"html":"append"](u);if(!d.isArray(k)){n.append(k).val(q)}n.val(q)}},buildDefault:function(j,i){var h,e,k,l=j.config,g=l.widgetOptions,f=l.columns;for(h=0;h=0&&!v.$table.hasClass("hasFilters"))){return}var p=v.$table,z=d(h.stickyHeaders_attachTo),r=v.namespace+"stickyheaders ",s=d(h.stickyHeaders_yScroll||h.stickyHeaders_attachTo||c),k=d(h.stickyHeaders_xScroll||h.stickyHeaders_attachTo||c),o=p.children("thead:first"),x=o.children("tr").not(".sticky-false").children(),f=p.children("tfoot"),j=isNaN(h.stickyHeaders_offset)?d(h.stickyHeaders_offset):"",m=j.length?j.height()||0:parseInt(h.stickyHeaders_offset,10)||0,w=p.parent().closest("."+b.css.table).hasClass("hasStickyHeaders")?p.parent().closest("table.tablesorter")[0].config.widgetOptions.$sticky.parent():[],t=w.length?w.height():0,A=h.$sticky=p.clone().addClass("containsStickyHeaders "+b.css.sticky+" "+h.stickyHeaders+" "+v.namespace.slice(1)+"_extra_table").wrap('
'),n=A.parent().addClass(b.css.stickyHide).css({position:z.length?"absolute":"fixed",padding:parseInt(A.parent().parent().css("padding-left"),10),top:m+t,left:0,visibility:"hidden",zIndex:h.stickyHeaders_zIndex||2}),y=A.children("thead:first"),l,q="",i=0,e=function(B,C){B.filter(":visible").each(function(E){var F,D,G=C.filter(":visible").eq(E),H=d(this);if(H.css("box-sizing")==="border-box"){F=H.outerWidth()}else{if(G.css("border-collapse")==="collapse"){if(c.getComputedStyle){F=parseFloat(c.getComputedStyle(this,null).width)}else{D=parseFloat(H.css("border-width"));F=H.outerWidth()-parseFloat(H.css("padding-left"))-parseFloat(H.css("padding-right"))-D}}else{F=H.width()}}G.css({"min-width":F,"max-width":F})})},g=function(){m=j.length?j.height()||0:parseInt(h.stickyHeaders_offset,10)||0;i=0;n.css({left:z.length?parseInt(z.css("padding-left"),10)||0:p.offset().left-parseInt(p.css("margin-left"),10)-k.scrollLeft()-i,width:p.outerWidth()});e(p,A);e(x,l)};if(z.length&&!z.css("position")){z.css("position","relative")}if(A.attr("id")){A[0].id+=h.stickyHeaders_cloneId}A.find("thead:gt(0), tr.sticky-false").hide();A.find("tbody, tfoot").remove();A.find("caption").toggle(h.stickyHeaders_includeCaption);l=y.children().children();A.css({height:0,width:0,margin:0});l.find("."+b.css.resizer).remove();p.addClass("hasStickyHeaders").bind("pagerComplete"+r,function(){g()});b.bindEvents(u,y.children().children("."+b.css.header));p.after(n);if(v.onRenderHeader){y.children("tr").children().each(function(B){v.onRenderHeader.apply(d(this),[B,v,A])})}k.add(s).unbind(("scroll resize ".split(" ").join(r)).replace(/\s+/g," ")).bind("scroll resize ".split(" ").join(r),function(F){if(!p.is(":visible")){return}t=w.length?w.offset().top-s.scrollTop()+w.height():0;var H=p.offset(),E=d.isWindow(s[0]),D=d.isWindow(k[0]),G=(z.length?(E?s.scrollTop():s.offset().top):s.scrollTop())+m+t,C=p.height()-(n.height()+(f.height()||0)),B=(G>H.top)&&(G=0&&v.$filters){v.$filters.eq(B).find("a, select, input").filter(":visible").focus()}}});b.filter.bindSearch(p,l.find("."+b.css.filter));if(h.filter_hideFilters){b.filter.hideFilters(A,v)}}p.trigger("stickyHeadersInit")},remove:function(g,h,f){var e=h.namespace+"stickyheaders ";h.$table.removeClass("hasStickyHeaders").unbind(("pagerComplete filterEnd ".split(" ").join(e)).replace(/\s+/g," ")).next("."+b.css.stickyWrap).remove();if(f.$sticky&&f.$sticky.length){f.$sticky.remove()}d(c).add(f.stickyHeaders_xScroll).add(f.stickyHeaders_yScroll).add(f.stickyHeaders_attachTo).unbind(("scroll resize ".split(" ").join(e)).replace(/\s+/g," "));b.addHeaderResizeEvent(g,false)}})})(jQuery,window); /*! Widget: resizable - updated 5/17/2015 (v2.22.0) */ ;(function(d,c){var b=d.tablesorter||{};d.extend(b.css,{resizableContainer:"tablesorter-resizable-container",resizableHandle:"tablesorter-resizable-handle",resizableNoSelect:"tablesorter-disableSelection",resizableStorage:"tablesorter-resizable"});d(function(){var e="";d(e).appendTo("body")});b.resizable={init:function(k,g){if(k.$table.hasClass("hasResizable")){return}k.$table.addClass("hasResizable");b.resizableReset(k.table,true);g.resizable_={$wrap:k.$table.parent(),mouseXPosition:0,$target:null,$next:null,overflow:k.$table.parent().css("overflow")==="auto",fullWidth:Math.abs(k.$table.parent().width()-k.$table.width())<20,storedSizes:[]};var j,e,f,i,h=parseInt(k.$table.css("margin-top"),10);g.resizable_.storedSizes=i=((b.storage&&g.resizable!==false)?b.storage(k.table,b.css.resizableStorage):[])||[];b.resizable.setWidths(k,g,i);g.$resizable_container=d('
').css({top:h}).insertBefore(k.$table);for(f=0;f').appendTo(g.$resizable_container).attr({"data-column":f,unselectable:"on"}).data("header",e).bind("selectstart",false)}}k.$table.one("tablesorter-initialized",function(){b.resizable.setHandlePosition(k,g);b.resizable.bindings(this.config,this.config.widgetOptions)})},setWidth:function(e,f){e.css({width:f,"min-width":"","max-width":""})},setWidths:function(j,g,i){var f,h=d(j.namespace+"_extra_headers"),e=j.$table.children("colgroup").children("col");i=i||g.resizable_.storedSizes||[];if(i.length){for(f=0;f0){h.sortList=f}else{if(l.hasInitialized&&f&&f.length>0){j.trigger("sorton",[f])}}}},remove:function(d,e){e.$table.removeClass("hasSaveSort");if(b.storage){b.storage(d,"tablesorter-savesort","")}}})})(jQuery);return a.tablesorter}));