(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
/*! tablesorter (FORK) - updated 2024-08-13 (v2.32.0)*/
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){return function(R){"use strict";var T=R.tablesorter={version:"2.32.0",parsers:[],widgets:[],defaults:{theme:"default",widthFixed:!1,showProcessing:!1,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:!0,tabIndex:!0,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:!0,delayInit:!1,serverSideSorting:!1,resort:!0,headers:null,ignoreCase:!0,sortForce:null,sortList:[],sortAppend:null,sortStable:!1,sortInitialOrder:"asc",sortLocaleCompare:!1,sortReset:!1,sortRestart:!1,emptyTo:"bottom",stringTo:"max",duplicateSpan:!0,textExtraction:"basic",textAttribute:"data-text",textSorter:null,numberSorter:null,initWidgets:!0,widgetClass:"widget-{name}",widgets:[],widgetOptions:{zebra:["even","odd"]},initialized:null,tableClass:"",cssAsc:"",cssDesc:"",cssNone:"",cssHeader:"",cssHeaderRow:"",cssProcessing:"",cssChildRow:"tablesorter-childRow",cssInfoBlock:"tablesorter-infoOnly",cssNoSort:"tablesorter-noSort",cssIgnoreRow:"tablesorter-ignoreRow",cssIcon:"tablesorter-icon",cssIconNone:"",cssIconAsc:"",cssIconDesc:"",cssIconDisabled:"",pointerClick:"click",pointerDown:"mousedown",pointerUp:"mouseup",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[],globalize:0,imgAttr:0},css:{table:"tablesorter",cssHasChild:"tablesorter-hasChildRow",childRow:"tablesorter-childRow",colgroup:"tablesorter-colgroup",header:"tablesorter-header",headerRow:"tablesorter-headerRow",headerIn:"tablesorter-header-inner",icon:"tablesorter-icon",processing:"tablesorter-processing",sortAsc:"tablesorter-headerAsc",sortDesc:"tablesorter-headerDesc",sortNone:"tablesorter-headerUnSorted"},language:{sortAsc:"Ascending sort applied, ",sortDesc:"Descending sort applied, ",sortNone:"No sort applied, ",sortDisabled:"sorting is disabled",nextAsc:"activate to apply an ascending sort",nextDesc:"activate to apply a descending sort",nextNone:"activate to remove the sort"},regex:{templateContent:/\{content\}/g,templateIcon:/\{icon\}/g,templateName:/\{name\}/i,spaces:/\s+/g,nonWord:/\W/g,formElements:/(input|select|button|textarea)/i,chunk:/(^([+\-]?(?:\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i,comma:/,/g,digitNonUS:/[\s|\.]/g,digitNegativeTest:/^\s*\([.\d]+\)/,digitNegativeReplace:/^\s*\(([.\d]+)\)/,digitTest:/^[\-+(]?\d+[)]?$/,digitReplace:/[,.'"\s]/g},string:{max:1,min:-1,emptymin:1,emptymax:-1,zero:0,none:0,null:0,top:!0,bottom:!1},keyCodes:{enter:13},dates:{},instanceMethods:{},setup:function(t,r){var e,a,s,i;t&&t.tHead&&0!==t.tBodies.length&&!0!==t.hasInitialized?(e="",a=R(t),s=R.metadata,t.hasInitialized=!1,t.isProcessing=!0,t.config=r,R.data(t,"tablesorter",r),T.debug(r,"core")&&(console[console.group?"group":"log"]("Initializing tablesorter v"+T.version),R.data(t,"startoveralltimer",new Date)),r.supportsDataObject=((i=R.fn.jquery.split("."))[0]=parseInt(i[0],10),1':"",n.$headers=R(R.map(n.$table.find(n.selectorHeaders),function(e,t){var r,a,s,i,o=R(e);if(!T.getClosest(o,"tr").hasClass(n.cssIgnoreRow))return/(th|td)/i.test(e.nodeName)||(i=T.getClosest(o,"th, td"),o.attr("data-column",i.attr("data-column"))),r=T.getColumnData(n.table,n.headers,t,!0),n.headerContent[t]=o.html(),""===n.headerTemplate||o.find("."+T.css.headerIn).length||(s=n.headerTemplate.replace(T.regex.templateContent,o.html()).replace(T.regex.templateIcon,o.find("."+T.css.icon).length?"":l),n.onRenderTemplate&&(a=n.onRenderTemplate.apply(o,[t,s]))&&"string"==typeof a&&(s=a),o.html('
")),n.onRenderHeader&&n.onRenderHeader.apply(o,[t,n,n.$table]),a=parseInt(o.attr("data-column"),10),e.column=a,i=T.getOrder(T.getData(o,r,"sortInitialOrder")||n.sortInitialOrder),n.sortVars[a]={count:-1,order:i?n.sortReset?[1,0,2]:[1,0]:n.sortReset?[0,1,2]:[0,1],lockedOrder:!1,sortedBy:""},void 0!==(i=T.getData(o,r,"lockedOrder")||!1)&&!1!==i&&(n.sortVars[a].lockedOrder=!0,n.sortVars[a].order=T.getOrder(i)?[1,1]:[0,0]),n.headerList[t]=e,o.addClass(T.css.header+" "+n.cssHeader),T.getClosest(o,"tr").addClass(T.css.headerRow+" "+n.cssHeaderRow).attr("role","row"),n.tabIndex&&o.attr("tabindex",0),e})),n.$headerIndexed=[],r=0;r'),t=e.$table.width(),s=(a=e.$tbodies.find("tr:first").children(":visible")).length,i=0;i").css("width",r));e.$table.prepend(o)}},getData:function(e,t,r){var a,s,i="",e=R(e);return e.length?(a=!!R.metadata&&e.metadata(),s=" "+(e.attr("class")||""),void 0!==e.data(r)||void 0!==e.data(r.toLowerCase())?i+=e.data(r)||e.data(r.toLowerCase()):a&&void 0!==a[r]?i+=a[r]:t&&void 0!==t[r]?i+=t[r]:" "!==s&&s.match(" "+r+"-")&&(i=s.match(new RegExp("\\s"+r+"-([\\w-]+)"))[1]||""),R.trim(i)):""},getColumnData:function(e,t,r,a,s){if("object"!=typeof t||null===t)return t;var i,e=(e=R(e)[0]).config,s=s||e.$headers,o=e.$headerIndexed&&e.$headerIndexed[r]||s.find('[data-column="'+r+'"]:last');if(void 0!==t[r])return a?t[r]:t[s.index(o)];for(i in t)if("string"==typeof i&&o.filter(i).add(o.find(i)).length)return t[i]},isProcessing:function(e,t,r){var a=(e=R(e))[0].config,s=r||e.find("."+T.css.header);t?(void 0!==r&&0'),R.fn.detach?t.detach():t.remove();r=R(e).find("colgroup.tablesorter-savemyplace");t.insertAfter(r),r.remove(),e.isProcessing=!1},clearTableBody:function(e){R(e)[0].config.$tbodies.children().detach()},characterEquivalents:{a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõöō",O:"ÓÒÔÕÖŌ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},replaceAccents:function(e){var t,r="[",a=T.characterEquivalents;if(!T.characterRegex){for(t in T.characterRegexArray={},a)"string"==typeof t&&(r+=a[t],T.characterRegexArray[t]=new RegExp("["+a[t]+"]","g"));T.characterRegex=new RegExp(r+"]")}if(T.characterRegex.test(e))for(t in a)"string"==typeof t&&(e=e.replace(T.characterRegexArray[t],t));return e},validateOptions:function(e){var t,r,a,s,i="headers sortForce sortList sortAppend widgets".split(" "),o=e.originalSettings;if(o){for(t in T.debug(e,"core")&&(s=new Date),o)if("undefined"===(a=typeof T.defaults[t]))console.warn('Tablesorter Warning! "table.config.'+t+'" option not recognized');else if("object"===a)for(r in o[t])a=T.defaults[t]&&typeof T.defaults[t][r],R.inArray(t,i)<0&&"undefined"===a&&console.warn('Tablesorter Warning! "table.config.'+t+"."+r+'" option not recognized');T.debug(e,"core")&&console.log("validate options time:"+T.benchmark(s))}},restoreHeaders:function(e){for(var t,r=R(e)[0].config,a=r.$table.find(r.selectorHeaders),s=a.length,i=0;i tr").children("th, td"),!1===t&&0<=R.inArray("uitheme",s.widgets)&&(a.triggerHandler("applyWidgetId",["uitheme"]),a.triggerHandler("applyWidgetId",["zebra"])),i.find("tr").not(o).remove(),i="sortReset update updateRows updateAll updateHeaders updateCell addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets removeWidget destroy mouseup mouseleave "+"keypress sortBegin sortEnd resetToLoadState ".split(" ").join(s.namespace+" "),a.removeData("tablesorter").unbind(i.replace(T.regex.spaces," ")),s.$headers.add(n).removeClass([T.css.header,s.cssHeader,s.cssAsc,s.cssDesc,T.css.sortAsc,T.css.sortDesc,T.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true"),o.find(s.selectorSort).unbind("mousedown mouseup keypress ".split(" ").join(s.namespace+" ").replace(T.regex.spaces," ")),T.restoreHeaders(e),a.toggleClass(T.css.table+" "+s.tableClass+" tablesorter-"+s.theme,!1===t),a.removeClass(s.namespace.slice(1)),e.hasInitialized=!1,delete e.config.cache,"function"==typeof r&&r(e),T.debug(s,"core"))&&console.log("tablesorter has been removed")}};R.fn.tablesorter=function(t){return this.each(function(){var e=R.extend(!0,{},T.defaults,t,T.instanceMethods);e.originalSettings=t,!this.hasInitialized&&T.buildTable&&"TABLE"!==this.nodeName?T.buildTable(this,e):T.setup(this,e)})},window.console&&window.console.log||(T.logs=[],(console={}).log=console.warn=console.error=console.table=function(){var e=1> Using",s?c:"cookies"),u.parseJSON&&(i=s?u.parseJSON(g[c][t]||"null")||{}:(a=p.cookie.split(/[;\s|=]/),0!==(n=u.inArray(t,a)+1)&&u.parseJSON(a[n]||"null")||{})),void 0===r||!g.JSON||!JSON.hasOwnProperty("stringify"))return i&&i[f]?i[f][e]:"";i[f]||(i[f]={}),i[f][e]=r,s?g[c][t]=JSON.stringify(i):((o=new Date).setTime(o.getTime()+31536e6),p.cookie=t+"="+JSON.stringify(i).replace(/\"/g,'"')+"; expires="+o.toGMTString()+"; path=/")}}(e,window,document),function(_){"use strict";var $=_.tablesorter||{};$.themes={bootstrap:{table:"table table-bordered table-striped",caption:"caption",header:"bootstrap-header",sortNone:"",sortAsc:"",sortDesc:"",active:"",hover:"",icons:"",iconSortNone:"bootstrap-icon-unsorted",iconSortAsc:"glyphicon glyphicon-chevron-up",iconSortDesc:"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 ui-icon-caret-2-n-s",iconSortAsc:"ui-icon-carat-1-n ui-icon-caret-1-n",iconSortDesc:"ui-icon-carat-1-s ui-icon-caret-1-s",filterRow:"",footerRow:"",footerCells:"",even:"ui-widget-content",odd:"ui-state-default"}},_.extend($.css,{wrapper:"tablesorter-wrapper"}),$.addWidget({id:"uitheme",priority:10,format:function(e,t,r){var a,s,i,o,n,l,c,d,f,u,g,p,h=$.themes,m=t.$table.add(_(t.namespace+"_extra_table")),b=t.$headers.add(_(t.namespace+"_extra_headers")),y=t.theme||"jui",w=h[y]||{},v=_.trim([w.sortNone,w.sortDesc,w.sortAsc,w.active].join(" ")),x=_.trim([w.iconSortNone,w.iconSortDesc,w.iconSortAsc].join(" ")),C=$.debug(t,"uitheme");for(C&&(n=new Date),m.hasClass("tablesorter-"+y)&&t.theme===t.appliedTheme&&r.uitheme_applied||(r.uitheme_applied=!0,u=h[t.appliedTheme]||{},h=(p=!_.isEmptyObject(u))?[u.sortNone,u.sortDesc,u.sortAsc,u.active].join(" "):"",g=p?[u.iconSortNone,u.iconSortDesc,u.iconSortAsc].join(" "):"",p&&(r.zebra[0]=_.trim(" "+r.zebra[0].replace(" "+u.even,"")),r.zebra[1]=_.trim(" "+r.zebra[1].replace(" "+u.odd,"")),t.$tbodies.children().removeClass([u.even,u.odd].join(" "))),w.even&&(r.zebra[0]+=" "+w.even),w.odd&&(r.zebra[1]+=" "+w.odd),m.children("caption").removeClass(u.caption||"").addClass(w.caption),d=m.removeClass((t.appliedTheme?"tablesorter-"+(t.appliedTheme||""):"")+" "+(u.table||"")).addClass("tablesorter-"+y+" "+(w.table||"")).children("tfoot"),t.appliedTheme=t.theme,d.length&&d.children("tr").removeClass(u.footerRow||"").addClass(w.footerRow).children("th, td").removeClass(u.footerCells||"").addClass(w.footerCells),b.removeClass((p?[u.header,u.hover,h].join(" "):"")||"").addClass(w.header).not(".sorter-false").unbind("mouseenter.tsuitheme mouseleave.tsuitheme").bind("mouseenter.tsuitheme mouseleave.tsuitheme",function(e){_(this)["mouseenter"===e.type?"addClass":"removeClass"](w.hover||"")}),b.each(function(){var e=_(this);e.find("."+$.css.wrapper).length||e.wrapInner('')}),t.cssIcon&&b.find("."+$.css.icon).removeClass(p?[u.icons,g].join(" "):"").addClass(w.icons||""),$.hasWidget(t.table,"filter")&&(s=function(){m.children("thead").children("."+$.css.filterRow).removeClass(p&&u.filterRow||"").addClass(w.filterRow||"")},r.filter_initialized?s():m.one("filterInit",function(){s()}))),a=0;a> Applied "+y+" theme"+$.benchmark(n))},remove:function(e,t,r,a){var s,i,o,n,l;r.uitheme_applied&&(s=t.$table,t=t.appliedTheme||"jui",i=$.themes[t]||$.themes.jui,o=s.children("thead").children(),n=i.sortNone+" "+i.sortDesc+" "+i.sortAsc,l=i.iconSortNone+" "+i.iconSortDesc+" "+i.iconSortAsc,s.removeClass("tablesorter-"+t+" "+i.table),r.uitheme_applied=!1,a||(s.find($.css.header).removeClass(i.header),o.unbind("mouseenter.tsuitheme mouseleave.tsuitheme").removeClass(i.hover+" "+n+" "+i.active).filter("."+$.css.filterRow).removeClass(i.filterRow),o.find("."+$.css.icon).removeClass(i.icons+" "+l)))}})}(e),function(m){"use strict";var b=m.tablesorter||{};b.addWidget({id:"columns",priority:65,options:{columns:["primary","secondary","tertiary"]},format:function(e,t,r){for(var a,s,i,o,n,l=t.$table,c=t.$tbodies,d=t.sortList,f=d.length,u=r&&r.columns||["primary","secondary","tertiary"],g=u.length-1,p=u.join(" "),h=0;h=]/g,query:"(q|query)",wild01:/\?/g,wild0More:/\*/g,quote:/\"/g,isNeg1:/(>=?\s*-\d)/,isNeg2:/(<=?\s*\d)/},types:{or:function(e,t,r){if(!H.orTest.test(t.iFilter)&&!H.orSplit.test(t.filter)||H.regex.test(t.filter))return null;for(var a,s,i=A.extend({},t),o=t.filter.split(H.orSplit),n=t.iFilter.split(H.orSplit),l=o.length,c=0;c]=?/,gtTest:/>/,gteTest:/>=/,ltTest:/,lteTest:/<=/,notTest:/^\!/,wildOrTest:/[\?\*\|]/,wildTest:/\?\*/,fuzzyTest:/^~/,exactTest:/[=\"\|!]/}),n=d.$headers.filter(".filter-false, .parser-false").length,!1!==f.filter_columnFilters&&n!==d.$headers.length&&D.buildRow(r,d,f),s="addRows updateCell update updateRows updateComplete appendCache filterReset "+"filterAndSortReset filterResetSaved filterEnd search ".split(" ").join(d.namespace+"filter "),d.$table.bind(s,function(e,t){return n=f.filter_hideEmpty&&A.isEmptyObject(d.cache)&&!(d.delayInit&&"appendCache"===e.type),d.$table.find("."+h.filterRow).toggleClass(f.filter_filteredRow,n),/(search|filter)/.test(e.type)||(e.stopPropagation(),D.buildDefault(r,!0)),"filterReset"===e.type||"filterAndSortReset"===e.type?(d.$table.find("."+h.filter).add(f.filter_$externalFilters).val(""),"filterAndSortReset"===e.type?N.sortReset(this.config,function(){D.searching(r,[])}):D.searching(r,[])):"filterResetSaved"===e.type?N.storage(r,"tablesorter-filters",""):"filterEnd"===e.type?D.buildDefault(r,!0):(t="search"===e.type?t:"updateComplete"===e.type?d.$table.data("lastSearch"):"",/(update|add)/.test(e.type)&&"updateComplete"!==e.type&&(d.lastCombinedFilter=null,d.lastSearch=[],setTimeout(function(){d.$table.triggerHandler("filterFomatterUpdate")},100)),D.searching(r,t,!0)),!1}),f.filter_reset&&(f.filter_reset instanceof A?f.filter_reset.click(function(){d.$table.triggerHandler("filterReset")}):A(f.filter_reset).length&&A(document).undelegate(f.filter_reset,"click"+d.namespace+"filter").delegate(f.filter_reset,"click"+d.namespace+"filter",function(){d.$table.triggerHandler("filterReset")})),f.filter_functions)for(o=0;o'+(i.data("placeholder")||i.attr("data-placeholder")||f.filter_placeholder.select||"")+"":"",0<=(s=n=a).indexOf(f.filter_selectSourceSeparator)&&(s=(n=a.split(f.filter_selectSourceSeparator))[1],n=n[0]),t+="");d.$table.find("thead").find("select."+h.filter+'[data-column="'+o+'"]').append(t),("function"==typeof(s=f.filter_selectSource)||N.getColumnData(r,s,o))&&D.buildSelect(d.table,o,"",!0,i.hasClass(f.filter_onlyAvail))}D.buildDefault(r,!0),D.bindSearch(r,d.$table.find("."+h.filter),!0),f.filter_external&&D.bindSearch(r,f.filter_external),f.filter_hideFilters&&D.hideFilters(d),d.showProcessing&&(s="filterStart filterEnd ".split(" ").join(d.namespace+"filter-sp "),d.$table.unbind(s.replace(N.regex.spaces," ")).bind(s,function(e,t){i=t?d.$table.find("."+h.header).filter("[data-column]").filter(function(){return""!==t[A(this).data("column")]}):"",N.isProcessing(r,"filterStart"===e.type,t?i:"")})),d.filteredRows=d.totalRows,s="tablesorter-initialized pagerBeforeInitialized ".split(" ").join(d.namespace+"filter "),d.$table.unbind(s.replace(N.regex.spaces," ")).bind(s,function(){D.completeInit(this)}),d.pager&&d.pager.initialized&&!f.filter_initialized?(d.$table.triggerHandler("filterFomatterUpdate"),setTimeout(function(){D.filterInitComplete(d)},100)):f.filter_initialized||D.completeInit(r)},completeInit:function(e){var t=e.config,r=t.widgetOptions,a=D.setDefaults(e,t,r)||[];!a.length||t.delayInit&&""===a.join("")||N.setFilters(e,a,!0),t.$table.triggerHandler("filterFomatterUpdate"),setTimeout(function(){r.filter_initialized||D.filterInitComplete(t)},100)},formatterUpdated:function(e,t){e=e&&e.closest("table"),e=e.length&&e[0].config,e=e&&e.widgetOptions;e&&!e.filter_initialized&&(e.filter_formatterInit[t]=1)},filterInitComplete:function(e){function t(){s.filter_initialized=!0,e.lastSearch=e.$table.data("lastSearch"),e.$table.triggerHandler("filterInit",e),D.findRows(e.table,e.lastSearch||[]),N.debug(e,"filter")&&console.log("Filter >> Widget initialized")}var r,a,s=e.widgetOptions,i=0;if(A.isEmptyObject(s.filter_formatter))t();else{for(a=s.filter_formatterInit.length,r=0;r',p=0;p");for(t.$filters=A(g+="").appendTo(t.$table.children("thead").eq(0)).children("td"),p=0;p").appendTo(a):((l=N.getColumnData(e,r.filter_formatter,p))?(r.filter_formatterCount++,(g=(g=l(a,p))&&0===g.length?a.children("input"):g)&&(0===g.parent().length||g.parent().length&&g.parent()[0]!==a[0])&&a.append(g)):g=A('').appendTo(a),g&&(c=s.data("placeholder")||s.attr("data-placeholder")||r.filter_placeholder.search||"",g.attr("placeholder",c))),g)&&(n=(A.isArray(r.filter_cssFilter)?void 0!==r.filter_cssFilter[p]&&r.filter_cssFilter[p]||"":r.filter_cssFilter)||"",g.addClass(h.filter+" "+n),c=(n=r.filter_filterLabel).match(/{{([^}]+?)}}/g),A.each(c=c||["{{label}}"],function(e,t){var r=new RegExp(t,"g"),t=s.attr("data-"+t.replace(/{{|}}/g,"")),t=void 0===t?s.text():t;n=n.replace(r,A.trim(t))}),g.attr({"data-column":a.attr("data-column"),"aria-label":n}),o)&&(g.attr("placeholder","").addClass(h.filterDisabled)[0].disabled=!0)},bindSearch:function(s,e,t){var r,i,o,a,n;s=A(s)[0],(e=A(e)).length&&(i=s.config,o=i.widgetOptions,a=i.namespace+"filter",n=o.filter_$externalFilters,!0!==t&&(r=o.filter_anyColumnSelector+","+o.filter_multipleColumnSelector,o.filter_$anyMatch=e.filter(r),n&&n.length?o.filter_$externalFilters=o.filter_$externalFilters.add(e):o.filter_$externalFilters=e,N.setFilters(s,i.$table.data("lastSearch")||[],!1===t)),r="keypress keyup keydown search change input ".split(" ").join(a+" "),e.attr("data-lastSearchTime",(new Date).getTime()).unbind(r.replace(N.regex.spaces," ")).bind("keydown"+a,function(e){if(e.which===l.escape&&!s.config.widgetOptions.filter_resetOnEsc)return!1}).bind("keyup"+a,function(e){o=s.config.widgetOptions;var t=parseInt(A(this).attr("data-column"),10),r="boolean"==typeof o.filter_liveSearch?o.filter_liveSearch:N.getColumnData(s,o.filter_liveSearch,t);if(void 0===r&&(r=o.filter_liveSearch.fallback||!1),A(this).attr("data-lastSearchTime",(new Date).getTime()),e.which===l.escape)this.value=o.filter_resetOnEsc?"":i.lastSearch[t];else{if(""!==this.value&&("number"==typeof r&&this.value.length=l.left&&e.which<=l.down)))return;if(!1===r&&""!==this.value&&e.which!==l.enter)return}D.searching(s,!0,!0,t)}).bind("search change keypress input blur ".split(" ").join(a+" "),function(e){var t=parseInt(A(this).attr("data-column"),10),r=e.type,a="boolean"==typeof o.filter_liveSearch?o.filter_liveSearch:N.getColumnData(s,o.filter_liveSearch,t);!s.config.widgetOptions.filter_initialized||e.which!==l.enter&&"search"!==r&&"blur"!==r&&("change"!==r&&"input"!==r||!0!==a&&(!0===a||"INPUT"===e.target.nodeName)||this.value===i.lastSearch[t])||(e.preventDefault(),A(this).attr("data-lastSearchTime",(new Date).getTime()),D.searching(s,"keypress"!==r||e.which===l.enter,!0,t))}))},searching:function(e,t,r,a){var s,i=e.config.widgetOptions;void 0===a?s=!1:void 0===(s="boolean"==typeof i.filter_liveSearch?i.filter_liveSearch:N.getColumnData(e,i.filter_liveSearch,a))&&(s=i.filter_liveSearch.fallback||!1),clearTimeout(i.filter_searchTimer),void 0===t||!0===t?i.filter_searchTimer=setTimeout(function(){D.checkFilters(e,t,r)},s?i.filter_searchDelay:10):D.checkFilters(e,t,r)},equalFilters:function(e,t,r){var a,s=[],i=[],o=e.columns+1;for(t=A.isArray(t)?t:[],r=A.isArray(r)?r:[],a=0;a=e.columns&&(o=e.columns-1);i<=o;i++)f[f.length]=i;t=t.replace(a[c],"")}if(!r&&/,/.test(t))for(d=(n=t.split(/\s*,\s*/)).length,l=0;l> Starting filter widget search",r),m=new Date),F.filteredRows=0,t=z||[],c=F.totalRows=0;c> Searching through "+(v&&w> Completed search"+N.benchmark(m)),R.filter_initialized&&(F.$table.triggerHandler("filterBeforeEnd",F),F.$table.triggerHandler("filterEnd",F)),setTimeout(function(){N.applyWidget(F.table)},0)}},getOptionSource:function(e,t,r){var a=(e=A(e)[0]).config,s=!1,i=a.widgetOptions.filter_selectSource,a=a.$table.data("lastSearch")||[],o="function"==typeof i||N.getColumnData(e,i,t);if(r&&""!==a[t]&&(r=!1),!0===o)s=i(e,t,r);else{if(o instanceof A||"string"===A.type(o)&&0<=o.indexOf(""))return o;if(A.isArray(o))s=o;else if("object"===A.type(i)&&o&&null===(s=o(e,t,r)))return null}return!1===s&&(s=D.getOptions(e,t,r)),D.processOptions(e,t,s)},processOptions:function(a,s,r){if(!A.isArray(r))return!1;var i,e,t,o,n,l=(a=A(a)[0]).config,c=null!=s&&0<=s&&s'+(u.data("placeholder")||u.attr("data-placeholder")||f.filter_placeholder.select||"")+"",u=d.$table.find("thead").find("select."+h.filter+'[data-column="'+t+'"]').val();if(void 0!==r&&""!==r||null!==(r=D.getOptionSource(e,t,s))){if(A.isArray(r)){for(i=0;i"+c.text.replace(H.quote,""")+""}else""+c!="[object Object]"&&(0<=(o=n=c=(""+c).replace(H.quote,""")).indexOf(f.filter_selectSourceSeparator)&&(o=(l=n.split(f.filter_selectSourceSeparator))[0],n=l[1]),g+=""!==c?"":"");r=[]}e=(d.$filters||d.$table.children("thead")).find("."+h.filter),(s=(e=f.filter_$externalFilters?e&&e.length?e.add(f.filter_$externalFilters):f.filter_$externalFilters:e).filter('select[data-column="'+t+'"]')).length&&(s[a?"html":"append"](g),A.isArray(r)||s.append(r).val(u),s.val(u))}}},buildDefault:function(e,t){for(var r,a,s=e.config,i=s.widgetOptions,o=s.columns,n=0;n'),y=b.parent().addClass(z.css.stickyHide).css({position:d.length?"absolute":"fixed",padding:parseInt(b.parent().parent().css("padding-left"),10),top:p+m,left:0,visibility:"hidden",zIndex:l.stickyHeaders_zIndex||2}),p=b.children("thead:first"),w="",v=function(e,t){for(var r,a,s,i=e.filter(":visible"),o=i.length,n=0;ns.top&&a thead:gt(0), tr.sticky-false").hide(),b.find("> tbody, > tfoot").remove(),b.find("caption").toggle(l.stickyHeaders_includeCaption),i=p.children().children(),b.css({height:0,width:0,margin:0}),i.find("."+z.css.resizer).remove(),c.addClass("hasStickyHeaders").bind("pagerComplete"+o,function(){C()}),z.bindEvents(e,p.children().children("."+z.css.header)),l.stickyHeaders_appendTo?$(l.stickyHeaders_appendTo).append(y):c.after(y),t.onRenderHeader)for(a=(s=p.children("tr").children()).length,r=0;r";c("head").append(e)}),d.resizable={init:function(e,t){if(!e.$table.hasClass("hasResizable")){e.$table.addClass("hasResizable");var r,a,s,i=e.$table,o=i.parent(),n=parseInt(i.css("margin-top"),10),l=t.resizable_vars={useStorage:d.storage&&!1!==t.resizable,$wrap:o,mouseXPosition:0,$target:null,$next:null,overflow:"auto"===o.css("overflow")||"scroll"===o.css("overflow")||"auto"===o.css("overflow-x")||"scroll"===o.css("overflow-x"),storedSizes:[]};for(d.resizableReset(e.table,!0),l.tableWidth=i.width(),l.fullWidth=Math.abs(o.width()-l.tableWidth)<20,l.useStorage&&l.overflow&&(d.storage(e.table,"tablesorter-table-original-css-width",l.tableWidth),s=d.storage(e.table,"tablesorter-table-resized-width")||"auto",d.resizable.setWidth(i,s,!0)),t.resizable_vars.storedSizes=o=(l.useStorage?d.storage(e.table,d.css.resizableStorage):[])||[],d.resizable.setWidths(e,t,o),d.resizable.updateStoredSizes(e,t),t.$resizable_container=c('').css({top:n}).insertBefore(i),a=0;a').appendTo(t.$resizable_container).attr({"data-column":a,unselectable:"on"}).data("header",r).bind("selectstart",!1);d.resizable.bindings(e,t)}},updateStoredSizes:function(e,t){var r,a,s=e.columns,i=t.resizable_vars;for(i.storedSizes=[],r=0;r> Saving last sort: "+e.sortList+l.benchmark(s)):(i.addClass("hasSaveSort"),o="",l.storage&&(o=c(e),n&&console.log('saveSort >> Last sort loaded: "'+o+'"'+l.benchmark(s)),i.bind("saveSortReset",function(e){e.stopPropagation(),l.storage(t,"tablesorter-savesort","")})),a&&o&&0