/usr/share/javascript/jquery-datatables/jquery.dataTables.min.js is in libjs-jquery-datatables 1.10.16+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | /*!
Copyright 2008-2017 SpryMedia Ltd.
This source file is free software, available under the following license:
MIT license - http://datatables.net/license
This source file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
For details please refer to: http://www.datatables.net
DataTables 1.10.16
©2008-2017 SpryMedia Ltd - datatables.net/license
*/
(function(h){"function"===typeof define&&define.amd?define(["jquery"],function(G){return h(G,window,document)}):"object"===typeof exports?module.exports=function(G,J){G||(G=window);J||(J="undefined"!==typeof window?require("jquery"):require("jquery")(G));return h(J,G,G.document)}:h(jQuery,window,document)})(function(h,G,J,m){function Z(a){var b,c,d={};h.each(a,function(e,f){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),
d[c]=e,"o"===b[1]&&Z(a[e])});a._hungarianMap=d}function L(a,b,c){a._hungarianMap||Z(a);var d;h.each(b,function(e,f){d=a._hungarianMap[e];if(d!==m&&(c||b[d]===m))"o"===d.charAt(0)?(b[d]||(b[d]={}),h.extend(!0,b[d],b[e]),L(a[d],b[d],c)):b[d]=b[e]})}function Ea(a){var b=q.defaults.oLanguage,c=a.sZeroRecords;!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&H(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&H(a,a,"sZeroRecords","sLoadingRecords");
a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&db(a)}function eb(a){D(a,"ordering","bSort");D(a,"orderMulti","bSortMulti");D(a,"orderClasses","bSortClasses");D(a,"orderCellsTop","bSortCellsTop");D(a,"order","aaSorting");D(a,"orderFixed","aaSortingFixed");D(a,"paging","bPaginate");D(a,"pagingType","sPaginationType");D(a,"pageLength","iDisplayLength");D(a,"searching","bFilter");"boolean"===typeof a.sScrollX&&(a.sScrollX=a.sScrollX?"100%":"");"boolean"===typeof a.scrollX&&(a.scrollX=
a.scrollX?"100%":"");if(a=a.aoSearchCols)for(var b=0,c=a.length;b<c;b++)a[b]&&L(q.models.oSearch,a[b])}function fb(a){D(a,"orderable","bSortable");D(a,"orderData","aDataSort");D(a,"orderSequence","asSorting");D(a,"orderDataType","sortDataType");var b=a.aDataSort;"number"===typeof b&&!h.isArray(b)&&(a.aDataSort=[b])}function gb(a){if(!q.__browser){var b={};q.__browser=b;var c=h("<div/>").css({position:"fixed",top:0,left:-1*h(G).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(h("<div/>").css({position:"absolute",
top:1,left:1,width:100,overflow:"scroll"}).append(h("<div/>").css({width:"100%",height:10}))).appendTo("body"),d=c.children(),e=d.children();b.barWidth=d[0].offsetWidth-d[0].clientWidth;b.bScrollOversize=100===e[0].offsetWidth&&100!==d[0].clientWidth;b.bScrollbarLeft=1!==Math.round(e.offset().left);b.bBounding=c[0].getBoundingClientRect().width?!0:!1;c.remove()}h.extend(a.oBrowser,q.__browser);a.oScroll.iBarWidth=q.__browser.barWidth}function hb(a,b,c,d,e,f){var g,k=!1;c!==m&&(g=c,k=!0);for(;d!==
e;)a.hasOwnProperty(d)&&(g=k?b(g,a[d],d,a):a[d],k=!0,d+=f);return g}function Fa(a,b){var c=q.defaults.column,d=a.aoColumns.length,c=h.extend({},q.models.oColumn,c,{nTh:b?b:J.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=h.extend({},q.models.oSearch,c[d]);la(a,d,h(b).data())}function la(a,b,c){b=a.aoColumns[b];var d=a.oClasses,e=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=
e.attr("width")||null;var f=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==m&&null!==c&&(fb(c),L(q.defaults.column,c),c.mDataProp!==m&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&!c.sClass&&(c.sClass=c.className),c.sClass&&e.addClass(c.sClass),h.extend(b,c),H(b,c,"sWidth","sWidthOrig"),c.iDataSort!==m&&(b.aDataSort=[c.iDataSort]),H(b,c,"aDataSort"));var g=b.mData,k=S(g),l=b.mRender?S(b.mRender):null;c=function(a){return"string"===
typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b._setter=null;b.fnGetData=function(a,b,c){var d=k(a,b,m,c);return l&&b?l(d,b,a,c):d};b.fnSetData=function(a,b,c){return T(g)(a,b,c)};"number"!==typeof g&&(a._rowReadObject=!0);a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone));a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=
d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function $(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Ga(a);for(var c=0,d=b.length;c<d;c++)b[c].nTh.style.width=b[c].sWidth}b=a.oScroll;(""!==b.sY||""!==b.sX)&&ma(a);y(a,null,"column-sizing",[a])}function aa(a,b){var c=na(a,"bVisible");return"number"===typeof c[b]?c[b]:null}function ba(a,b){var c=
na(a,"bVisible"),c=h.inArray(b,c);return-1!==c?c:null}function ca(a){var b=0;h.each(a.aoColumns,function(a,d){d.bVisible&&"none"!==h(d.nTh).css("display")&&b++});return b}function na(a,b){var c=[];h.map(a.aoColumns,function(a,e){a[b]&&c.push(e)});return c}function Ha(a){var b=a.aoColumns,c=a.aoData,d=q.ext.type.detect,e,f,g,k,l,h,n,t,x;e=0;for(f=b.length;e<f;e++)if(n=b[e],x=[],!n.sType&&n._sManualType)n.sType=n._sManualType;else if(!n.sType){g=0;for(k=d.length;g<k;g++){l=0;for(h=c.length;l<h;l++){x[l]===
m&&(x[l]=E(a,l,e,"type"));t=d[g](x[l],a);if(!t&&g!==d.length-1)break;if("html"===t)break}if(t){n.sType=t;break}}n.sType||(n.sType="string")}}function ib(a,b,c,d){var e,f,g,k,l,p,n=a.aoColumns;if(b)for(e=b.length-1;0<=e;e--){p=b[e];var t=p.targets!==m?p.targets:p.aTargets;h.isArray(t)||(t=[t]);f=0;for(g=t.length;f<g;f++)if("number"===typeof t[f]&&0<=t[f]){for(;n.length<=t[f];)Fa(a);d(t[f],p)}else if("number"===typeof t[f]&&0>t[f])d(n.length+t[f],p);else if("string"===typeof t[f]){k=0;for(l=n.length;k<
l;k++)("_all"==t[f]||h(n[k].nTh).hasClass(t[f]))&&d(k,p)}}if(c){e=0;for(a=c.length;e<a;e++)d(e,c[e])}}function O(a,b,c,d){var e=a.aoData.length,f=h.extend(!0,{},q.models.oRow,{src:c?"dom":"data",idx:e});f._aData=b;a.aoData.push(f);for(var g=a.aoColumns,k=0,l=g.length;k<l;k++)g[k].sType=null;a.aiDisplayMaster.push(e);b=a.rowIdFn(b);b!==m&&(a.aIds[b]=f);(c||!a.oFeatures.bDeferRender)&&Ia(a,e,c,d);return e}function oa(a,b){var c;b instanceof h||(b=h(b));return b.map(function(b,e){c=Ja(a,e);return O(a,
c.data,e,c.cells)})}function E(a,b,c,d){var e=a.iDraw,f=a.aoColumns[c],g=a.aoData[b]._aData,k=f.sDefaultContent,l=f.fnGetData(g,d,{settings:a,row:b,col:c});if(l===m)return a.iDrawError!=e&&null===k&&(M(a,0,"Requested unknown parameter "+("function"==typeof f.mData?"{function}":"'"+f.mData+"'")+" for row "+b+", column "+c,4),a.iDrawError=e),k;if((l===g||null===l)&&null!==k&&d!==m)l=k;else if("function"===typeof l)return l.call(g);return null===l&&"display"==d?"":l}function jb(a,b,c,d){a.aoColumns[c].fnSetData(a.aoData[b]._aData,
d,{settings:a,row:b,col:c})}function Ka(a){return h.map(a.match(/(\\.|[^\.])+/g)||[""],function(a){return a.replace(/\\\./g,".")})}function S(a){if(h.isPlainObject(a)){var b={};h.each(a,function(a,c){c&&(b[a]=S(c))});return function(a,c,f,g){var k=b[c]||b._;return k!==m?k(a,c,f,g):a}}if(null===a)return function(a){return a};if("function"===typeof a)return function(b,c,f,g){return a(b,c,f,g)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||-1!==a.indexOf("("))){var c=function(a,
b,f){var g,k;if(""!==f){k=Ka(f);for(var l=0,p=k.length;l<p;l++){f=k[l].match(da);g=k[l].match(W);if(f){k[l]=k[l].replace(da,"");""!==k[l]&&(a=a[k[l]]);g=[];k.splice(0,l+1);k=k.join(".");if(h.isArray(a)){l=0;for(p=a.length;l<p;l++)g.push(c(a[l],b,k))}a=f[0].substring(1,f[0].length-1);a=""===a?g:g.join(a);break}else if(g){k[l]=k[l].replace(W,"");a=a[k[l]]();continue}if(null===a||a[k[l]]===m)return m;a=a[k[l]]}}return a};return function(b,e){return c(b,e,a)}}return function(b,c){return b[a]}}function T(a){if(h.isPlainObject(a))return T(a._);
if(null===a)return function(){};if("function"===typeof a)return function(b,d,e){a(b,"set",d,e)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||-1!==a.indexOf("("))){var b=function(a,d,e){e=Ka(e);var f;f=e[e.length-1];for(var g,k,l=0,p=e.length-1;l<p;l++){g=e[l].match(da);k=e[l].match(W);if(g){e[l]=e[l].replace(da,"");a[e[l]]=[];f=e.slice();f.splice(0,l+1);g=f.join(".");if(h.isArray(d)){k=0;for(p=d.length;k<p;k++)f={},b(f,d[k],g),a[e[l]].push(f)}else a[e[l]]=d;return}k&&(e[l]=e[l].replace(W,
""),a=a[e[l]](d));if(null===a[e[l]]||a[e[l]]===m)a[e[l]]={};a=a[e[l]]}if(f.match(W))a[f.replace(W,"")](d);else a[f.replace(da,"")]=d};return function(c,d){return b(c,d,a)}}return function(b,d){b[a]=d}}function La(a){return I(a.aoData,"_aData")}function pa(a){a.aoData.length=0;a.aiDisplayMaster.length=0;a.aiDisplay.length=0;a.aIds={}}function qa(a,b,c){for(var d=-1,e=0,f=a.length;e<f;e++)a[e]==b?d=e:a[e]>b&&a[e]--; -1!=d&&c===m&&a.splice(d,1)}function ea(a,b,c,d){var e=a.aoData[b],f,g=function(c,d){for(;c.childNodes.length;)c.removeChild(c.firstChild);
c.innerHTML=E(a,b,d,"display")};if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData=Ja(a,e,d,d===m?m:e._aData).data;else{var k=e.anCells;if(k)if(d!==m)g(k[d],d);else{c=0;for(f=k.length;c<f;c++)g(k[c],c)}}e._aSortData=null;e._aFilterData=null;g=a.aoColumns;if(d!==m)g[d].sType=null;else{c=0;for(f=g.length;c<f;c++)g[c].sType=null;Ma(a,e)}}function Ja(a,b,c,d){var e=[],f=b.firstChild,g,k,l=0,p,n=a.aoColumns,t=a._rowReadObject;d=d!==m?d:t?{}:[];var x=function(a,b){if("string"===typeof a){var c=a.indexOf("@");
-1!==c&&(c=a.substring(c+1),T(a)(d,b.getAttribute(c)))}},q=function(a){if(c===m||c===l)k=n[l],p=h.trim(a.innerHTML),k&&k._bAttrSrc?(T(k.mData._)(d,p),x(k.mData.sort,a),x(k.mData.type,a),x(k.mData.filter,a)):t?(k._setter||(k._setter=T(k.mData)),k._setter(d,p)):d[l]=p;l++};if(f)for(;f;){g=f.nodeName.toUpperCase();if("TD"==g||"TH"==g)q(f),e.push(f);f=f.nextSibling}else{e=b.anCells;f=0;for(g=e.length;f<g;f++)q(e[f])}if(b=b.firstChild?b:b.nTr)(b=b.getAttribute("id"))&&T(a.rowId)(d,b);return{data:d,cells:e}}
function Ia(a,b,c,d){var e=a.aoData[b],f=e._aData,g=[],k,l,p,n,t;if(null===e.nTr){k=c||J.createElement("tr");e.nTr=k;e.anCells=g;k._DT_RowIndex=b;Ma(a,e);n=0;for(t=a.aoColumns.length;n<t;n++){p=a.aoColumns[n];l=c?d[n]:J.createElement(p.sCellType);l._DT_CellIndex={row:b,column:n};g.push(l);if((!c||p.mRender||p.mData!==n)&&(!h.isPlainObject(p.mData)||p.mData._!==n+".display"))l.innerHTML=E(a,b,n,"display");p.sClass&&(l.className+=" "+p.sClass);p.bVisible&&!c?k.appendChild(l):!p.bVisible&&c&&l.parentNode.removeChild(l);
p.fnCreatedCell&&p.fnCreatedCell.call(a.oInstance,l,E(a,b,n),f,b,n)}y(a,"aoRowCreatedCallback",null,[k,f,b])}e.nTr.setAttribute("role","row")}function Ma(a,b){var c=b.nTr,d=b._aData;if(c){var e=a.rowIdFn(d);e&&(c.id=e);d.DT_RowClass&&(e=d.DT_RowClass.split(" "),b.__rowc=b.__rowc?sa(b.__rowc.concat(e)):e,h(c).removeClass(b.__rowc.join(" ")).addClass(d.DT_RowClass));d.DT_RowAttr&&h(c).attr(d.DT_RowAttr);d.DT_RowData&&h(c).data(d.DT_RowData)}}function kb(a){var b,c,d,e,f,g=a.nTHead,k=a.nTFoot,l=0===
h("th, td",g).length,p=a.oClasses,n=a.aoColumns;l&&(e=h("<tr/>").appendTo(g));b=0;for(c=n.length;b<c;b++)f=n[b],d=h(f.nTh).addClass(f.sClass),l&&d.appendTo(e),a.oFeatures.bSort&&(d.addClass(f.sSortingClass),!1!==f.bSortable&&(d.attr("tabindex",a.iTabIndex).attr("aria-controls",a.sTableId),Na(a,f.nTh,b))),f.sTitle!=d[0].innerHTML&&d.html(f.sTitle),Oa(a,"header")(a,d,f,p);l&&fa(a.aoHeader,g);h(g).find(">tr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(p.sHeaderTH);h(k).find(">tr>th, >tr>td").addClass(p.sFooterTH);
if(null!==k){a=a.aoFooter[0];b=0;for(c=a.length;b<c;b++)f=n[b],f.nTf=a[b].cell,f.sClass&&h(f.nTf).addClass(f.sClass)}}function ga(a,b,c){var d,e,f,g=[],k=[],l=a.aoColumns.length,p;if(b){c===m&&(c=!1);d=0;for(e=b.length;d<e;d++){g[d]=b[d].slice();g[d].nTr=b[d].nTr;for(f=l-1;0<=f;f--)!a.aoColumns[f].bVisible&&!c&&g[d].splice(f,1);k.push([])}d=0;for(e=g.length;d<e;d++){if(a=g[d].nTr)for(;f=a.firstChild;)a.removeChild(f);f=0;for(b=g[d].length;f<b;f++)if(p=l=1,k[d][f]===m){a.appendChild(g[d][f].cell);
for(k[d][f]=1;g[d+l]!==m&&g[d][f].cell==g[d+l][f].cell;)k[d+l][f]=1,l++;for(;g[d][f+p]!==m&&g[d][f].cell==g[d][f+p].cell;){for(c=0;c<l;c++)k[d+c][f+p]=1;p++}h(g[d][f].cell).attr("rowspan",l).attr("colspan",p)}}}}function P(a){var b=y(a,"aoPreDrawCallback","preDraw",[a]);if(-1!==h.inArray(!1,b))F(a,!1);else{var b=[],c=0,d=a.asStripeClasses,e=d.length,f=a.oLanguage,g=a.iInitDisplayStart,k="ssp"==B(a),l=a.aiDisplay;a.bDrawing=!0;g!==m&&-1!==g&&(a._iDisplayStart=k?g:g>=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=
-1);var g=a._iDisplayStart,p=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,F(a,!1);else if(k){if(!a.bDestroying&&!lb(a))return}else a.iDraw++;if(0!==l.length){f=k?a.aoData.length:p;for(k=k?0:g;k<f;k++){var n=l[k],t=a.aoData[n];null===t.nTr&&Ia(a,n);n=t.nTr;if(0!==e){var x=d[c%e];t._sRowStripe!=x&&(h(n).removeClass(t._sRowStripe).addClass(x),t._sRowStripe=x)}y(a,"aoRowCallback",null,[n,t._aData,c,k]);b.push(n);c++}}else c=f.sZeroRecords,1==a.iDraw&&"ajax"==B(a)?c=f.sLoadingRecords:
f.sEmptyTable&&0===a.fnRecordsTotal()&&(c=f.sEmptyTable),b[0]=h("<tr/>",{"class":e?d[0]:""}).append(h("<td />",{valign:"top",colSpan:ca(a),"class":a.oClasses.sRowEmpty}).html(c))[0];y(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],La(a),g,p,l]);y(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],La(a),g,p,l]);d=h(a.nTBody);d.children().detach();d.append(h(b));y(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function U(a,b){var c=a.oFeatures,d=c.bFilter;
c.bSort&&mb(a);d?ha(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;P(a);a._drawHold=!1}function nb(a){var b=a.oClasses,c=h(a.nTable),c=h("<div/>").insertBefore(c),d=a.oFeatures,e=h("<div/>",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),g,k,l,p,n,t,x=0;x<f.length;x++){g=null;k=f[x];if("<"==k){l=h("<div/>")[0];
p=f[x+1];if("'"==p||'"'==p){n="";for(t=2;f[x+t]!=p;)n+=f[x+t],t++;"H"==n?n=b.sJUIHeader:"F"==n&&(n=b.sJUIFooter);-1!=n.indexOf(".")?(p=n.split("."),l.id=p[0].substr(1,p[0].length-1),l.className=p[1]):"#"==n.charAt(0)?l.id=n.substr(1,n.length-1):l.className=n;x+=t}e.append(l);e=h(l)}else if(">"==k)e=e.parent();else if("l"==k&&d.bPaginate&&d.bLengthChange)g=ob(a);else if("f"==k&&d.bFilter)g=pb(a);else if("r"==k&&d.bProcessing)g=qb(a);else if("t"==k)g=rb(a);else if("i"==k&&d.bInfo)g=sb(a);else if("p"==
k&&d.bPaginate)g=tb(a);else if(0!==q.ext.feature.length){l=q.ext.feature;t=0;for(p=l.length;t<p;t++)if(k==l[t].cFeature){g=l[t].fnInit(a);break}}g&&(l=a.aanFeatures,l[k]||(l[k]=[]),l[k].push(g),e.append(g))}c.replaceWith(e);a.nHolding=null}function fa(a,b){var c=h(b).children("tr"),d,e,f,g,k,l,p,n,t,x;a.splice(0,a.length);f=0;for(l=c.length;f<l;f++)a.push([]);f=0;for(l=c.length;f<l;f++){d=c[f];for(e=d.firstChild;e;){if("TD"==e.nodeName.toUpperCase()||"TH"==e.nodeName.toUpperCase()){n=1*e.getAttribute("colspan");
t=1*e.getAttribute("rowspan");n=!n||0===n||1===n?1:n;t=!t||0===t||1===t?1:t;g=0;for(k=a[f];k[g];)g++;p=g;x=1===n?!0:!1;for(k=0;k<n;k++)for(g=0;g<t;g++)a[f+g][p+k]={cell:e,unique:x},a[f+g].nTr=d}e=e.nextSibling}}}function ta(a,b,c){var d=[];c||(c=a.aoHeader,b&&(c=[],fa(c,b)));b=0;for(var e=c.length;b<e;b++)for(var f=0,g=c[b].length;f<g;f++)if(c[b][f].unique&&(!d[f]||!a.bSortCellsTop))d[f]=c[b][f].cell;return d}function ua(a,b,c){y(a,"aoServerParams","serverParams",[b]);if(b&&h.isArray(b)){var d={},
e=/(.*?)\[\]$/;h.each(b,function(a,b){var c=b.name.match(e);c?(c=c[0],d[c]||(d[c]=[]),d[c].push(b.value)):d[b.name]=b.value});b=d}var f,g=a.ajax,k=a.oInstance,l=function(b){y(a,null,"xhr",[a,b,a.jqXHR]);c(b)};if(h.isPlainObject(g)&&g.data){f=g.data;var p=h.isFunction(f)?f(b,a):f;b=h.isFunction(f)&&p?p:h.extend(!0,b,p);delete g.data}p={data:b,success:function(b){var c=b.error||b.sError;c&&M(a,0,c);a.json=b;l(b)},dataType:"json",cache:!1,type:a.sServerMethod,error:function(b,c,d){d=y(a,null,"xhr",[a,
null,a.jqXHR]);-1===h.inArray(!0,d)&&("parsererror"==c?M(a,0,"Invalid JSON response",1):4===b.readyState&&M(a,0,"Ajax error",7));F(a,!1)}};a.oAjaxData=b;y(a,null,"preXhr",[a,b]);a.fnServerData?a.fnServerData.call(k,a.sAjaxSource,h.map(b,function(a,b){return{name:b,value:a}}),l,a):a.sAjaxSource||"string"===typeof g?a.jqXHR=h.ajax(h.extend(p,{url:g||a.sAjaxSource})):h.isFunction(g)?a.jqXHR=g.call(k,b,l,a):(a.jqXHR=h.ajax(h.extend(p,g)),g.data=f)}function lb(a){return a.bAjaxDataGet?(a.iDraw++,F(a,!0),
ua(a,ub(a),function(b){vb(a,b)}),!1):!0}function ub(a){var b=a.aoColumns,c=b.length,d=a.oFeatures,e=a.oPreviousSearch,f=a.aoPreSearchCols,g,k=[],l,p,n,t=X(a);g=a._iDisplayStart;l=!1!==d.bPaginate?a._iDisplayLength:-1;var m=function(a,b){k.push({name:a,value:b})};m("sEcho",a.iDraw);m("iColumns",c);m("sColumns",I(b,"sName").join(","));m("iDisplayStart",g);m("iDisplayLength",l);var ra={draw:a.iDraw,columns:[],order:[],start:g,length:l,search:{value:e.sSearch,regex:e.bRegex}};for(g=0;g<c;g++)p=b[g],n=
f[g],l="function"==typeof p.mData?"function":p.mData,ra.columns.push({data:l,name:p.sName,searchable:p.bSearchable,orderable:p.bSortable,search:{value:n.sSearch,regex:n.bRegex}}),m("mDataProp_"+g,l),d.bFilter&&(m("sSearch_"+g,n.sSearch),m("bRegex_"+g,n.bRegex),m("bSearchable_"+g,p.bSearchable)),d.bSort&&m("bSortable_"+g,p.bSortable);d.bFilter&&(m("sSearch",e.sSearch),m("bRegex",e.bRegex));d.bSort&&(h.each(t,function(a,b){ra.order.push({column:b.col,dir:b.dir});m("iSortCol_"+a,b.col);m("sSortDir_"+
a,b.dir)}),m("iSortingCols",t.length));b=q.ext.legacy.ajax;return null===b?a.sAjaxSource?k:ra:b?k:ra}function vb(a,b){var c=va(a,b),d=b.sEcho!==m?b.sEcho:b.draw,e=b.iTotalRecords!==m?b.iTotalRecords:b.recordsTotal,f=b.iTotalDisplayRecords!==m?b.iTotalDisplayRecords:b.recordsFiltered;if(d){if(1*d<a.iDraw)return;a.iDraw=1*d}pa(a);a._iRecordsTotal=parseInt(e,10);a._iRecordsDisplay=parseInt(f,10);d=0;for(e=c.length;d<e;d++)O(a,c[d]);a.aiDisplay=a.aiDisplayMaster.slice();a.bAjaxDataGet=!1;P(a);a._bInitComplete||
wa(a,b);a.bAjaxDataGet=!0;F(a,!1)}function va(a,b){var c=h.isPlainObject(a.ajax)&&a.ajax.dataSrc!==m?a.ajax.dataSrc:a.sAjaxDataProp;return"data"===c?b.aaData||b[c]:""!==c?S(c)(b):b}function pb(a){var b=a.oClasses,c=a.sTableId,d=a.oLanguage,e=a.oPreviousSearch,f=a.aanFeatures,g='<input type="search" class="'+b.sFilterInput+'"/>',k=d.sSearch,k=k.match(/_INPUT_/)?k.replace("_INPUT_",g):k+g,b=h("<div/>",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("<label/>").append(k)),f=function(){var b=!this.value?
"":this.value;b!=e.sSearch&&(ha(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDisplayStart=0,P(a))},g=null!==a.searchDelay?a.searchDelay:"ssp"===B(a)?400:0,l=h("input",b).val(e.sSearch).attr("placeholder",d.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",g?Pa(f,g):f).on("keypress.DT",function(a){if(13==a.keyCode)return!1}).attr("aria-controls",c);h(a.nTable).on("search.dt.DT",function(b,c){if(a===c)try{l[0]!==J.activeElement&&l.val(e.sSearch)}catch(d){}});
return b[0]}function ha(a,b,c){var d=a.oPreviousSearch,e=a.aoPreSearchCols,f=function(a){d.sSearch=a.sSearch;d.bRegex=a.bRegex;d.bSmart=a.bSmart;d.bCaseInsensitive=a.bCaseInsensitive};Ha(a);if("ssp"!=B(a)){wb(a,b.sSearch,c,b.bEscapeRegex!==m?!b.bEscapeRegex:b.bRegex,b.bSmart,b.bCaseInsensitive);f(b);for(b=0;b<e.length;b++)xb(a,e[b].sSearch,b,e[b].bEscapeRegex!==m?!e[b].bEscapeRegex:e[b].bRegex,e[b].bSmart,e[b].bCaseInsensitive);yb(a)}else f(b);a.bFiltered=!0;y(a,null,"search",[a])}function yb(a){for(var b=
q.ext.search,c=a.aiDisplay,d,e,f=0,g=b.length;f<g;f++){for(var k=[],l=0,p=c.length;l<p;l++)e=c[l],d=a.aoData[e],b[f](a,d._aFilterData,e,d._aData,l)&&k.push(e);c.length=0;h.merge(c,k)}}function xb(a,b,c,d,e,f){if(""!==b){var g=[],k=a.aiDisplay;d=Qa(b,d,e,f);for(e=0;e<k.length;e++)b=a.aoData[k[e]]._aFilterData[c],d.test(b)&&g.push(k[e]);a.aiDisplay=g}}function wb(a,b,c,d,e,f){d=Qa(b,d,e,f);f=a.oPreviousSearch.sSearch;var g=a.aiDisplayMaster,k;e=[];0!==q.ext.search.length&&(c=!0);k=zb(a);if(0>=b.length)a.aiDisplay=
g.slice();else{if(k||c||f.length>b.length||0!==b.indexOf(f)||a.bSorted)a.aiDisplay=g.slice();b=a.aiDisplay;for(c=0;c<b.length;c++)d.test(a.aoData[b[c]]._sFilterRow)&&e.push(b[c]);a.aiDisplay=e}}function Qa(a,b,c,d){a=b?a:Ra(a);c&&(a="^(?=.*?"+h.map(a.match(/"[^"]+"|[^ ]+/g)||[""],function(a){if('"'===a.charAt(0)){var b=a.match(/^"(.*)"$/);a=b?b[1]:a}return a.replace('"',"")}).join(")(?=.*?")+").*$");return RegExp(a,d?"i":"")}function zb(a){var b=a.aoColumns,c,d,e,f,g,k,l,h,n=q.ext.type.search;c=!1;
d=0;for(f=a.aoData.length;d<f;d++)if(h=a.aoData[d],!h._aFilterData){k=[];e=0;for(g=b.length;e<g;e++)c=b[e],c.bSearchable?(l=E(a,d,e,"filter"),n[c.sType]&&(l=n[c.sType](l)),null===l&&(l=""),"string"!==typeof l&&l.toString&&(l=l.toString())):l="",l.indexOf&&-1!==l.indexOf("&")&&(xa.innerHTML=l,l=Xb?xa.textContent:xa.innerText),l.replace&&(l=l.replace(/[\r\n]/g,"")),k.push(l);h._aFilterData=k;h._sFilterRow=k.join(" ");c=!0}return c}function Ab(a){return{search:a.sSearch,smart:a.bSmart,regex:a.bRegex,
caseInsensitive:a.bCaseInsensitive}}function Bb(a){return{sSearch:a.search,bSmart:a.smart,bRegex:a.regex,bCaseInsensitive:a.caseInsensitive}}function sb(a){var b=a.sTableId,c=a.aanFeatures.i,d=h("<div/>",{"class":a.oClasses.sInfo,id:!c?b+"_info":null});c||(a.aoDrawCallback.push({fn:Cb,sName:"information"}),d.attr("role","status").attr("aria-live","polite"),h(a.nTable).attr("aria-describedby",b+"_info"));return d[0]}function Cb(a){var b=a.aanFeatures.i;if(0!==b.length){var c=a.oLanguage,d=a._iDisplayStart+
1,e=a.fnDisplayEnd(),f=a.fnRecordsTotal(),g=a.fnRecordsDisplay(),k=g?c.sInfo:c.sInfoEmpty;g!==f&&(k+=" "+c.sInfoFiltered);k+=c.sInfoPostFix;k=Db(a,k);c=c.fnInfoCallback;null!==c&&(k=c.call(a.oInstance,a,d,e,f,g,k));h(b).html(k)}}function Db(a,b){var c=a.fnFormatNumber,d=a._iDisplayStart+1,e=a._iDisplayLength,f=a.fnRecordsDisplay(),g=-1===e;return b.replace(/_START_/g,c.call(a,d)).replace(/_END_/g,c.call(a,a.fnDisplayEnd())).replace(/_MAX_/g,c.call(a,a.fnRecordsTotal())).replace(/_TOTAL_/g,c.call(a,
f)).replace(/_PAGE_/g,c.call(a,g?1:Math.ceil(d/e))).replace(/_PAGES_/g,c.call(a,g?1:Math.ceil(f/e)))}function ia(a){var b,c,d=a.iInitDisplayStart,e=a.aoColumns,f;c=a.oFeatures;var g=a.bDeferLoading;if(a.bInitialised){nb(a);kb(a);ga(a,a.aoHeader);ga(a,a.aoFooter);F(a,!0);c.bAutoWidth&&Ga(a);b=0;for(c=e.length;b<c;b++)f=e[b],f.sWidth&&(f.nTh.style.width=z(f.sWidth));y(a,null,"preInit",[a]);U(a);e=B(a);if("ssp"!=e||g)"ajax"==e?ua(a,[],function(c){var f=va(a,c);for(b=0;b<f.length;b++)O(a,f[b]);a.iInitDisplayStart=
d;U(a);F(a,!1);wa(a,c)},a):(F(a,!1),wa(a))}else setTimeout(function(){ia(a)},200)}function wa(a,b){a._bInitComplete=!0;(b||a.oInit.aaData)&&$(a);y(a,null,"plugin-init",[a,b]);y(a,"aoInitComplete","init",[a,b])}function Sa(a,b){var c=parseInt(b,10);a._iDisplayLength=c;Ta(a);y(a,null,"length",[a,c])}function ob(a){for(var b=a.oClasses,c=a.sTableId,d=a.aLengthMenu,e=h.isArray(d[0]),f=e?d[0]:d,d=e?d[1]:d,e=h("<select/>",{name:c+"_length","aria-controls":c,"class":b.sLengthSelect}),g=0,k=f.length;g<k;g++)e[0][g]=
new Option("number"===typeof d[g]?a.fnFormatNumber(d[g]):d[g],f[g]);var l=h("<div><label/></div>").addClass(b.sLength);a.aanFeatures.l||(l[0].id=c+"_length");l.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",e[0].outerHTML));h("select",l).val(a._iDisplayLength).on("change.DT",function(b){Sa(a,h(this).val());P(a)});h(a.nTable).on("length.dt.DT",function(b,c,d){a===c&&h("select",l).val(d)});return l[0]}function tb(a){var b=a.sPaginationType,c=q.ext.pager[b],d="function"===typeof c,e=function(a){P(a)},
b=h("<div/>").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;d||c.fnInit(a,b,e);f.p||(b.id=a.sTableId+"_paginate",a.aoDrawCallback.push({fn:function(a){if(d){var b=a._iDisplayStart,l=a._iDisplayLength,h=a.fnRecordsDisplay(),n=-1===l,b=n?0:Math.ceil(b/l),l=n?1:Math.ceil(h/l),h=c(b,l),m,n=0;for(m=f.p.length;n<m;n++)Oa(a,"pageButton")(a,f.p[n],n,h,b,l)}else c.fnUpdate(a,e)},sName:"pagination"}));return b}function Ua(a,b,c){var d=a._iDisplayStart,e=a._iDisplayLength,f=a.fnRecordsDisplay();0===f||-1===
e?d=0:"number"===typeof b?(d=b*e,d>f&&(d=0)):"first"==b?d=0:"previous"==b?(d=0<=e?d-e:0,0>d&&(d=0)):"next"==b?d+e<f&&(d+=e):"last"==b?d=Math.floor((f-1)/e)*e:M(a,0,"Unknown paging action: "+b,5);b=a._iDisplayStart!==d;a._iDisplayStart=d;b&&(y(a,null,"page",[a]),c&&P(a));return b}function qb(a){return h("<div/>",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}function F(a,b){a.oFeatures.bProcessing&&h(a.aanFeatures.r).css("display",
b?"block":"none");y(a,null,"processing",[a,b])}function rb(a){var b=h(a.nTable);b.attr("role","grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var d=c.sX,e=c.sY,f=a.oClasses,g=b.children("caption"),k=g.length?g[0]._captionSide:null,l=h(b[0].cloneNode(!1)),p=h(b[0].cloneNode(!1)),n=b.children("tfoot");n.length||(n=null);l=h("<div/>",{"class":f.sScrollWrapper}).append(h("<div/>",{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:d?!d?null:z(d):"100%"}).append(h("<div/>",
{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box",width:c.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===k?g:null).append(b.children("thead"))))).append(h("<div/>",{"class":f.sScrollBody}).css({position:"relative",overflow:"auto",width:!d?null:z(d)}).append(b));n&&l.append(h("<div/>",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:d?!d?null:z(d):"100%"}).append(h("<div/>",{"class":f.sScrollFootInner}).append(p.removeAttr("id").css("margin-left",
0).append("bottom"===k?g:null).append(b.children("tfoot")))));var b=l.children(),m=b[0],f=b[1],x=n?b[2]:null;if(d)h(f).on("scroll.DT",function(a){a=this.scrollLeft;m.scrollLeft=a;n&&(x.scrollLeft=a)});h(f).css(e&&c.bCollapse?"max-height":"height",e);a.nScrollHead=m;a.nScrollBody=f;a.nScrollFoot=x;a.aoDrawCallback.push({fn:ma,sName:"scrolling"});return l[0]}function ma(a){var b=a.oScroll,c=b.sX,d=b.sXInner,e=b.sY,b=b.iBarWidth,f=h(a.nScrollHead),g=f[0].style,k=f.children("div"),l=k[0].style,p=k.children("table"),
k=a.nScrollBody,n=h(k),t=k.style,x=h(a.nScrollFoot).children("div"),q=x.children("table"),r=h(a.nTHead),s=h(a.nTable),u=s[0],y=u.style,v=a.nTFoot?h(a.nTFoot):null,A=a.oBrowser,V=A.bScrollOversize,Yb=I(a.aoColumns,"nTh"),Q,w,R,B,C=[],D=[],E=[],F=[],G,H=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};w=k.scrollHeight>k.clientHeight;if(a.scrollBarVis!==w&&a.scrollBarVis!==m)a.scrollBarVis=w,$(a);else{a.scrollBarVis=w;s.children("thead, tfoot").remove();
v&&(R=v.clone().prependTo(s),Q=v.find("tr"),R=R.find("tr"));B=r.clone().prependTo(s);r=r.find("tr");w=B.find("tr");B.find("th, td").removeAttr("tabindex");c||(t.width="100%",f[0].style.width="100%");h.each(ta(a,B),function(b,c){G=aa(a,b);c.style.width=a.aoColumns[G].sWidth});v&&K(function(a){a.style.width=""},R);f=s.outerWidth();if(""===c){y.width="100%";if(V&&(s.find("tbody").height()>k.offsetHeight||"scroll"==n.css("overflow-y")))y.width=z(s.outerWidth()-b);f=s.outerWidth()}else""!==d&&(y.width=
z(d),f=s.outerWidth());K(H,w);K(function(a){E.push(a.innerHTML);C.push(z(h(a).css("width")))},w);K(function(a,b){-1!==h.inArray(a,Yb)&&(a.style.width=C[b])},r);h(w).height(0);v&&(K(H,R),K(function(a){F.push(a.innerHTML);D.push(z(h(a).css("width")))},R),K(function(a,b){a.style.width=D[b]},Q),h(R).height(0));K(function(a,b){a.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+E[b]+"</div>";a.style.width=C[b]},w);v&&K(function(a,b){a.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+
F[b]+"</div>";a.style.width=D[b]},R);if(s.outerWidth()<f){Q=k.scrollHeight>k.offsetHeight||"scroll"==n.css("overflow-y")?f+b:f;if(V&&(k.scrollHeight>k.offsetHeight||"scroll"==n.css("overflow-y")))y.width=z(Q-b);(""===c||""!==d)&&M(a,1,"Possible column misalignment",6)}else Q="100%";t.width=z(Q);g.width=z(Q);v&&(a.nScrollFoot.style.width=z(Q));!e&&V&&(t.height=z(u.offsetHeight+b));c=s.outerWidth();p[0].style.width=z(c);l.width=z(c);d=s.height()>k.clientHeight||"scroll"==n.css("overflow-y");e="padding"+
(A.bScrollbarLeft?"Left":"Right");l[e]=d?b+"px":"0px";v&&(q[0].style.width=z(c),x[0].style.width=z(c),x[0].style[e]=d?b+"px":"0px");s.children("colgroup").insertBefore(s.children("thead"));n.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)k.scrollTop=0}}function K(a,b,c){for(var d=0,e=0,f=b.length,g,k;e<f;){g=b[e].firstChild;for(k=c?c[e].firstChild:null;g;)1===g.nodeType&&(c?a(g,k,d):a(g,d),d++),g=g.nextSibling,k=c?k.nextSibling:null;e++}}function Ga(a){var b=a.nTable,c=a.aoColumns,d=a.oScroll,
e=d.sY,f=d.sX,g=d.sXInner,k=c.length,l=na(a,"bVisible"),p=h("th",a.nTHead),n=b.getAttribute("width"),m=b.parentNode,x=!1,q,r,s=a.oBrowser,d=s.bScrollOversize;(q=b.style.width)&&-1!==q.indexOf("%")&&(n=q);for(q=0;q<l.length;q++)r=c[l[q]],null!==r.sWidth&&(r.sWidth=Eb(r.sWidthOrig,m),x=!0);if(d||!x&&!f&&!e&&k==ca(a)&&k==p.length)for(q=0;q<k;q++)l=aa(a,q),null!==l&&(c[l].sWidth=z(p.eq(q).width()));else{k=h(b).clone().css("visibility","hidden").removeAttr("id");k.find("tbody tr").remove();var u=h("<tr/>").appendTo(k.find("tbody"));
k.find("thead, tfoot").remove();k.append(h(a.nTHead).clone()).append(h(a.nTFoot).clone());k.find("tfoot th, tfoot td").css("width","");p=ta(a,k.find("thead")[0]);for(q=0;q<l.length;q++)r=c[l[q]],p[q].style.width=null!==r.sWidthOrig&&""!==r.sWidthOrig?z(r.sWidthOrig):"",r.sWidthOrig&&f&&h(p[q]).append(h("<div/>").css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(a.aoData.length)for(q=0;q<l.length;q++)x=l[q],r=c[x],h(Fb(a,x)).clone(!1).append(r.sContentPadding).appendTo(u);h("[name]",
k).removeAttr("name");r=h("<div/>").css(f||e?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(k).appendTo(m);f&&g?k.width(g):f?(k.css("width","auto"),k.removeAttr("width"),k.width()<m.clientWidth&&n&&k.width(m.clientWidth)):e?k.width(m.clientWidth):n&&k.width(n);for(q=e=0;q<l.length;q++)m=h(p[q]),g=m.outerWidth()-m.width(),m=s.bBounding?Math.ceil(p[q].getBoundingClientRect().width):m.outerWidth(),e+=m,c[l[q]].sWidth=z(m-g);b.style.width=z(e);r.remove()}n&&(b.style.width=
z(n));if((n||f)&&!a._reszEvt)b=function(){h(G).on("resize.DT-"+a.sInstance,Pa(function(){$(a)}))},d?setTimeout(b,1E3):b(),a._reszEvt=!0}function Eb(a,b){if(!a)return 0;var c=h("<div/>").css("width",z(a)).appendTo(b||J.body),d=c[0].offsetWidth;c.remove();return d}function Fb(a,b){var c=Gb(a,b);if(0>c)return null;var d=a.aoData[c];return!d.nTr?h("<td/>").html(E(a,c,b,"display"))[0]:d.anCells[b]}function Gb(a,b){for(var c,d=-1,e=-1,f=0,g=a.aoData.length;f<g;f++)c=E(a,f,b,"display")+"",c=c.replace(Zb,
""),c=c.replace(/ /g," "),c.length>d&&(d=c.length,e=f);return e}function z(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function X(a){var b,c,d=[],e=a.aoColumns,f,g,k,l;b=a.aaSortingFixed;c=h.isPlainObject(b);var p=[];f=function(a){a.length&&!h.isArray(a[0])?p.push(a):h.merge(p,a)};h.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;a<p.length;a++){l=p[a][0];f=e[l].aDataSort;b=0;for(c=f.length;b<c;b++)g=f[b],k=e[g].sType||
"string",p[a]._idx===m&&(p[a]._idx=h.inArray(p[a][1],e[g].asSorting)),d.push({src:l,col:g,dir:p[a][1],index:p[a]._idx,type:k,formatter:q.ext.type.order[k+"-pre"]})}return d}function mb(a){var b,c,d=[],e=q.ext.type.order,f=a.aoData,g=0,k,l=a.aiDisplayMaster,h;Ha(a);h=X(a);b=0;for(c=h.length;b<c;b++)k=h[b],k.formatter&&g++,Hb(a,k.col);if("ssp"!=B(a)&&0!==h.length){b=0;for(c=l.length;b<c;b++)d[l[b]]=b;g===h.length?l.sort(function(a,b){var c,e,g,k,l=h.length,m=f[a]._aSortData,q=f[b]._aSortData;for(g=
0;g<l;g++)if(k=h[g],c=m[k.col],e=q[k.col],c=c<e?-1:c>e?1:0,0!==c)return"asc"===k.dir?c:-c;c=d[a];e=d[b];return c<e?-1:c>e?1:0}):l.sort(function(a,b){var c,g,k,l,m=h.length,q=f[a]._aSortData,r=f[b]._aSortData;for(k=0;k<m;k++)if(l=h[k],c=q[l.col],g=r[l.col],l=e[l.type+"-"+l.dir]||e["string-"+l.dir],c=l(c,g),0!==c)return c;c=d[a];g=d[b];return c<g?-1:c>g?1:0})}a.bSorted=!0}function Ib(a){var b,c,d=a.aoColumns,e=X(a);a=a.oLanguage.oAria;for(var f=0,g=d.length;f<g;f++){c=d[f];var k=c.asSorting;b=c.sTitle.replace(/<.*?>/g,
"");var l=c.nTh;l.removeAttribute("aria-sort");c.bSortable&&(0<e.length&&e[0].col==f?(l.setAttribute("aria-sort","asc"==e[0].dir?"ascending":"descending"),c=k[e[0].index+1]||k[0]):c=k[0],b+="asc"===c?a.sSortAscending:a.sSortDescending);l.setAttribute("aria-label",b)}}function Va(a,b,c,d){var e=a.aaSorting,f=a.aoColumns[b].asSorting,g=function(a,b){var c=a._idx;c===m&&(c=h.inArray(a[1],f));return c+1<f.length?c+1:b?null:0};"number"===typeof e[0]&&(e=a.aaSorting=[e]);c&&a.oFeatures.bSortMulti?(c=h.inArray(b,
I(e,"0")),-1!==c?(b=g(e[c],!0),null===b&&1===e.length&&(b=0),null===b?e.splice(c,1):(e[c][1]=f[b],e[c]._idx=b)):(e.push([b,f[0],0]),e[e.length-1]._idx=0)):e.length&&e[0][0]==b?(b=g(e[0]),e.length=1,e[0][1]=f[b],e[0]._idx=b):(e.length=0,e.push([b,f[0]]),e[0]._idx=0);U(a);"function"==typeof d&&d(a)}function Na(a,b,c,d){var e=a.aoColumns[c];Wa(b,{},function(b){!1!==e.bSortable&&(a.oFeatures.bProcessing?(F(a,!0),setTimeout(function(){Va(a,c,b.shiftKey,d);"ssp"!==B(a)&&F(a,!1)},0)):Va(a,c,b.shiftKey,d))})}
function ya(a){var b=a.aLastSort,c=a.oClasses.sSortColumn,d=X(a),e=a.oFeatures,f,g;if(e.bSort&&e.bSortClasses){e=0;for(f=b.length;e<f;e++)g=b[e].src,h(I(a.aoData,"anCells",g)).removeClass(c+(2>e?e+1:3));e=0;for(f=d.length;e<f;e++)g=d[e].src,h(I(a.aoData,"anCells",g)).addClass(c+(2>e?e+1:3))}a.aLastSort=d}function Hb(a,b){var c=a.aoColumns[b],d=q.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,ba(a,b)));for(var f,g=q.ext.type.order[c.sType+"-pre"],k=0,l=a.aoData.length;k<l;k++)if(c=a.aoData[k],
c._aSortData||(c._aSortData=[]),!c._aSortData[b]||d)f=d?e[k]:E(a,k,b,"sort"),c._aSortData[b]=g?g(f):f}function za(a){if(a.oFeatures.bStateSave&&!a.bDestroying){var b={time:+new Date,start:a._iDisplayStart,length:a._iDisplayLength,order:h.extend(!0,[],a.aaSorting),search:Ab(a.oPreviousSearch),columns:h.map(a.aoColumns,function(b,d){return{visible:b.bVisible,search:Ab(a.aoPreSearchCols[d])}})};y(a,"aoStateSaveParams","stateSaveParams",[a,b]);a.oSavedState=b;a.fnStateSaveCallback.call(a.oInstance,a,
b)}}function Jb(a,b,c){var d,e,f=a.aoColumns;b=function(b){if(b&&b.time){var g=y(a,"aoStateLoadParams","stateLoadParams",[a,b]);if(-1===h.inArray(!1,g)&&(g=a.iStateDuration,!(0<g&&b.time<+new Date-1E3*g)&&!(b.columns&&f.length!==b.columns.length))){a.oLoadedState=h.extend(!0,{},b);b.start!==m&&(a._iDisplayStart=b.start,a.iInitDisplayStart=b.start);b.length!==m&&(a._iDisplayLength=b.length);b.order!==m&&(a.aaSorting=[],h.each(b.order,function(b,c){a.aaSorting.push(c[0]>=f.length?[0,c[1]]:c)}));b.search!==
m&&h.extend(a.oPreviousSearch,Bb(b.search));if(b.columns){d=0;for(e=b.columns.length;d<e;d++)g=b.columns[d],g.visible!==m&&(f[d].bVisible=g.visible),g.search!==m&&h.extend(a.aoPreSearchCols[d],Bb(g.search))}y(a,"aoStateLoaded","stateLoaded",[a,b])}}c()};if(a.oFeatures.bStateSave){var g=a.fnStateLoadCallback.call(a.oInstance,a,b);g!==m&&b(g)}else c()}function Aa(a){var b=q.settings;a=h.inArray(a,I(b,"nTable"));return-1!==a?b[a]:null}function M(a,b,c,d){c="DataTables warning: "+(a?"table id="+a.sTableId+
" - ":"")+c;d&&(c+=". For more information about this error, please see http://datatables.net/tn/"+d);if(b)G.console&&console.log&&console.log(c);else if(b=q.ext,b=b.sErrMode||b.errMode,a&&y(a,null,"error",[a,d,c]),"alert"==b)alert(c);else{if("throw"==b)throw Error(c);"function"==typeof b&&b(a,d,c)}}function H(a,b,c,d){h.isArray(c)?h.each(c,function(c,d){h.isArray(d)?H(a,b,d[0],d[1]):H(a,b,d)}):(d===m&&(d=c),b[c]!==m&&(a[d]=b[c]))}function Kb(a,b,c){var d,e;for(e in b)b.hasOwnProperty(e)&&(d=b[e],
h.isPlainObject(d)?(h.isPlainObject(a[e])||(a[e]={}),h.extend(!0,a[e],d)):c&&"data"!==e&&"aaData"!==e&&h.isArray(d)?a[e]=d.slice():a[e]=d);return a}function Wa(a,b,c){h(a).on("click.DT",b,function(b){a.blur();c(b)}).on("keypress.DT",b,function(a){13===a.which&&(a.preventDefault(),c(a))}).on("selectstart.DT",function(){return!1})}function C(a,b,c,d){c&&a[b].push({fn:c,sName:d})}function y(a,b,c,d){var e=[];b&&(e=h.map(a[b].slice().reverse(),function(b,c){return b.fn.apply(a.oInstance,d)}));null!==
c&&(b=h.Event(c+".dt"),h(a.nTable).trigger(b,d),e.push(b.result));return e}function Ta(a){var b=a._iDisplayStart,c=a.fnDisplayEnd(),d=a._iDisplayLength;b>=c&&(b=c-d);b-=b%d;if(-1===d||0>b)b=0;a._iDisplayStart=b}function Oa(a,b){var c=a.renderer,d=q.ext.renderer[b];return h.isPlainObject(c)&&c[b]?d[c[b]]||d._:"string"===typeof c?d[c]||d._:d._}function B(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function ja(a,b){var c=[],c=Lb.numbers_length,d=Math.floor(c/2);b<=c?c=
Y(0,b):a<=d?(c=Y(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-d?c=Y(b-(c-2),b):(c=Y(a-d+2,a+d-1),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0,0,0));c.DT_el="span";return c}function db(a){h.each({num:function(b){return Ba(b,a)},"num-fmt":function(b){return Ba(b,a,Xa)},"html-num":function(b){return Ba(b,a,Ca)},"html-num-fmt":function(b){return Ba(b,a,Ca,Xa)}},function(b,c){A.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(A.type.search[b+a]=A.type.search.html)})}function Mb(a){return function(){var b=
[Aa(this[q.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return q.ext.internal[a].apply(this,b)}}var q=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,b){return this.api(!0).rows(a,b).data()};this.api=function(a){return a?new u(Aa(this[A.iApiIndex])):new u(this)};this.fnAddData=function(a,b){var c=this.api(!0),d=h.isArray(a)&&(h.isArray(a[0])||h.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===m||b)&&c.draw();return d.flatten().toArray()};this.fnAdjustColumnSizing=
function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],d=c.oScroll;a===m||a?b.draw(!1):(""!==d.sX||""!==d.sY)&&ma(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();(a===m||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,b,c){var d=this.api(!0);a=d.rows(a);var e=a.settings()[0],h=e.aoData[a[0][0]];a.remove();b&&b.call(this,e,h);(c===m||c)&&d.draw();return h};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(a)};
this.fnFilter=function(a,b,c,d,e,h){e=this.api(!0);null===b||b===m?e.search(a,c,d,h):e.column(b).search(a,c,d,h);e.draw()};this.fnGetData=function(a,b){var c=this.api(!0);if(a!==m){var d=a.nodeName?a.nodeName.toLowerCase():"";return b!==m||"td"==d||"th"==d?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==m?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();
return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===m||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===m||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return Aa(this[A.iApiIndex])};
this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,d,e){var h=this.api(!0);c===m||null===c?h.row(b).data(a):h.cell(b,c).data(a);(e===m||e)&&h.columns.adjust();(d===m||d)&&h.draw();return 0};this.fnVersionCheck=A.fnVersionCheck;var b=this,c=a===m,d=this.length;c&&(a={});this.oApi=this.internal=A.internal;for(var e in q.ext.internal)e&&(this[e]=Mb(e));this.each(function(){var e={},g=1<d?Kb(e,a,!0):
a,k=0,l,e=this.getAttribute("id"),p=!1,n=q.defaults,t=h(this);if("table"!=this.nodeName.toLowerCase())M(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{eb(n);fb(n.column);L(n,n,!0);L(n.column,n.column,!0);L(n,h.extend(g,t.data()));var x=q.settings,k=0;for(l=x.length;k<l;k++){var r=x[k];if(r.nTable==this||r.nTHead.parentNode==this||r.nTFoot&&r.nTFoot.parentNode==this){var u=g.bRetrieve!==m?g.bRetrieve:n.bRetrieve;if(c||u)return r.oInstance;if(g.bDestroy!==m?g.bDestroy:n.bDestroy){r.oInstance.fnDestroy();
break}else{M(r,0,"Cannot reinitialise DataTable",3);return}}if(r.sTableId==this.id){x.splice(k,1);break}}if(null===e||""===e)this.id=e="DataTables_Table_"+q.ext._unique++;var s=h.extend(!0,{},q.models.oSettings,{sDestroyWidth:t[0].style.width,sInstance:e,sTableId:e});s.nTable=this;s.oApi=b.internal;s.oInit=g;x.push(s);s.oInstance=1===b.length?b:t.dataTable();eb(g);g.oLanguage&&Ea(g.oLanguage);g.aLengthMenu&&!g.iDisplayLength&&(g.iDisplayLength=h.isArray(g.aLengthMenu[0])?g.aLengthMenu[0][0]:g.aLengthMenu[0]);
g=Kb(h.extend(!0,{},n),g);H(s.oFeatures,g,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" "));H(s,g,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],
["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]);H(s.oScroll,g,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]);H(s.oLanguage,g,"fnInfoCallback");C(s,"aoDrawCallback",g.fnDrawCallback,"user");C(s,"aoServerParams",g.fnServerParams,"user");C(s,"aoStateSaveParams",g.fnStateSaveParams,"user");C(s,"aoStateLoadParams",g.fnStateLoadParams,"user");C(s,"aoStateLoaded",g.fnStateLoaded,"user");C(s,"aoRowCallback",
g.fnRowCallback,"user");C(s,"aoRowCreatedCallback",g.fnCreatedRow,"user");C(s,"aoHeaderCallback",g.fnHeaderCallback,"user");C(s,"aoFooterCallback",g.fnFooterCallback,"user");C(s,"aoInitComplete",g.fnInitComplete,"user");C(s,"aoPreDrawCallback",g.fnPreDrawCallback,"user");s.rowIdFn=S(g.rowId);gb(s);var v=s.oClasses;h.extend(v,q.ext.classes,g.oClasses);t.addClass(v.sTable);s.iInitDisplayStart===m&&(s.iInitDisplayStart=g.iDisplayStart,s._iDisplayStart=g.iDisplayStart);null!==g.iDeferLoading&&(s.bDeferLoading=
!0,e=h.isArray(g.iDeferLoading),s._iRecordsDisplay=e?g.iDeferLoading[0]:g.iDeferLoading,s._iRecordsTotal=e?g.iDeferLoading[1]:g.iDeferLoading);var w=s.oLanguage;h.extend(!0,w,g.oLanguage);w.sUrl&&(h.ajax({dataType:"json",url:w.sUrl,success:function(a){Ea(a);L(n.oLanguage,a);h.extend(!0,w,a);ia(s)},error:function(){ia(s)}}),p=!0);null===g.asStripeClasses&&(s.asStripeClasses=[v.sStripeOdd,v.sStripeEven]);var e=s.asStripeClasses,z=t.children("tbody").find("tr").eq(0);-1!==h.inArray(!0,h.map(e,function(a,
b){return z.hasClass(a)}))&&(h("tbody tr",this).removeClass(e.join(" ")),s.asDestroyStripes=e.slice());e=[];x=this.getElementsByTagName("thead");0!==x.length&&(fa(s.aoHeader,x[0]),e=ta(s));if(null===g.aoColumns){x=[];k=0;for(l=e.length;k<l;k++)x.push(null)}else x=g.aoColumns;k=0;for(l=x.length;k<l;k++)Fa(s,e?e[k]:null);ib(s,g.aoColumnDefs,x,function(a,b){la(s,a,b)});if(z.length){var A=function(a,b){return null!==a.getAttribute("data-"+b)?b:null};h(z[0]).children("th, td").each(function(a,b){var c=
s.aoColumns[a];if(c.mData===a){var d=A(b,"sort")||A(b,"order"),e=A(b,"filter")||A(b,"search");if(null!==d||null!==e)c.mData={_:a+".display",sort:null!==d?a+".@data-"+d:m,type:null!==d?a+".@data-"+d:m,filter:null!==e?a+".@data-"+e:m},la(s,a)}})}var V=s.oFeatures,e=function(){if(g.aaSorting===m){var a=s.aaSorting;k=0;for(l=a.length;k<l;k++)a[k][1]=s.aoColumns[k].asSorting[0]}ya(s);V.bSort&&C(s,"aoDrawCallback",function(){if(s.bSorted){var a=X(s),b={};h.each(a,function(a,c){b[c.src]=c.dir});y(s,null,
"order",[s,a,b]);Ib(s)}});C(s,"aoDrawCallback",function(){(s.bSorted||"ssp"===B(s)||V.bDeferRender)&&ya(s)},"sc");var a=t.children("caption").each(function(){this._captionSide=h(this).css("caption-side")}),b=t.children("thead");0===b.length&&(b=h("<thead/>").appendTo(t));s.nTHead=b[0];b=t.children("tbody");0===b.length&&(b=h("<tbody/>").appendTo(t));s.nTBody=b[0];b=t.children("tfoot");if(0===b.length&&0<a.length&&(""!==s.oScroll.sX||""!==s.oScroll.sY))b=h("<tfoot/>").appendTo(t);0===b.length||0===
b.children().length?t.addClass(v.sNoFooter):0<b.length&&(s.nTFoot=b[0],fa(s.aoFooter,s.nTFoot));if(g.aaData)for(k=0;k<g.aaData.length;k++)O(s,g.aaData[k]);else(s.bDeferLoading||"dom"==B(s))&&oa(s,h(s.nTBody).children("tr"));s.aiDisplay=s.aiDisplayMaster.slice();s.bInitialised=!0;!1===p&&ia(s)};g.bStateSave?(V.bStateSave=!0,C(s,"aoDrawCallback",za,"state_save"),Jb(s,g,e)):e()}});b=null;return this},A,u,r,v,Ya={},Nb=/[\r\n]/g,Ca=/<.*?>/g,$b=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,
ac=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Xa=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,N=function(a){return!a||!0===a||"-"===a?!0:!1},Ob=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Pb=function(a,b){Ya[b]||(Ya[b]=RegExp(Ra(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Ya[b],"."):a},Za=function(a,b,c){var d="string"===typeof a;if(N(a))return!0;b&&d&&(a=Pb(a,b));c&&d&&(a=a.replace(Xa,""));return!isNaN(parseFloat(a))&&
isFinite(a)},Qb=function(a,b,c){return N(a)?!0:!(N(a)||"string"===typeof a)?null:Za(a.replace(Ca,""),b,c)?!0:null},I=function(a,b,c){var d=[],e=0,f=a.length;if(c!==m)for(;e<f;e++)a[e]&&a[e][b]&&d.push(a[e][b][c]);else for(;e<f;e++)a[e]&&d.push(a[e][b]);return d},ka=function(a,b,c,d){var e=[],f=0,g=b.length;if(d!==m)for(;f<g;f++)a[b[f]][c]&&e.push(a[b[f]][c][d]);else for(;f<g;f++)e.push(a[b[f]][c]);return e},Y=function(a,b){var c=[],d;b===m?(b=0,d=a):(d=b,b=a);for(var e=b;e<d;e++)c.push(e);return c},
Rb=function(a){for(var b=[],c=0,d=a.length;c<d;c++)a[c]&&b.push(a[c]);return b},sa=function(a){var b;a:{if(!(2>a.length)){b=a.slice().sort();for(var c=b[0],d=1,e=b.length;d<e;d++){if(b[d]===c){b=!1;break a}c=b[d]}}b=!0}if(b)return a.slice();b=[];var e=a.length,f,g=0,d=0;a:for(;d<e;d++){c=a[d];for(f=0;f<g;f++)if(b[f]===c)continue a;b.push(c);g++}return b};q.util={throttle:function(a,b){var c=b!==m?b:200,d,e;return function(){var b=this,g=+new Date,k=arguments;d&&g<d+c?(clearTimeout(e),e=setTimeout(function(){d=
m;a.apply(b,k)},c)):(d=g,a.apply(b,k))}},escapeRegex:function(a){return a.replace(ac,"\\$1")}};var D=function(a,b,c){a[b]!==m&&(a[c]=a[b])},da=/\[.*?\]$/,W=/\(\)$/,Ra=q.util.escapeRegex,xa=h("<div>")[0],Xb=xa.textContent!==m,Zb=/<.*?>/g,Pa=q.util.throttle,Sb=[],w=Array.prototype,bc=function(a){var b,c,d=q.settings,e=h.map(d,function(a,b){return a.nTable});if(a){if(a.nTable&&a.oApi)return[a];if(a.nodeName&&"table"===a.nodeName.toLowerCase())return b=h.inArray(a,e),-1!==b?[d[b]]:null;if(a&&"function"===
typeof a.settings)return a.settings().toArray();"string"===typeof a?c=h(a):a instanceof h&&(c=a)}else return[];if(c)return c.map(function(a){b=h.inArray(this,e);return-1!==b?d[b]:null}).toArray()};u=function(a,b){if(!(this instanceof u))return new u(a,b);var c=[],d=function(a){(a=bc(a))&&(c=c.concat(a))};if(h.isArray(a))for(var e=0,f=a.length;e<f;e++)d(a[e]);else d(a);this.context=sa(c);b&&h.merge(this,b);this.selector={rows:null,cols:null,opts:null};u.extend(this,this,Sb)};q.Api=u;h.extend(u.prototype,
{any:function(){return 0!==this.count()},concat:w.concat,context:[],count:function(){return this.flatten().length},each:function(a){for(var b=0,c=this.length;b<c;b++)a.call(this,this[b],b,this);return this},eq:function(a){var b=this.context;return b.length>a?new u(b[a],this[a]):null},filter:function(a){var b=[];if(w.filter)b=w.filter.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)a.call(this,this[c],c,this)&&b.push(this[c]);return new u(this.context,b)},flatten:function(){var a=[];return new u(this.context,
a.concat.apply(a,this.toArray()))},join:w.join,indexOf:w.indexOf||function(a,b){for(var c=b||0,d=this.length;c<d;c++)if(this[c]===a)return c;return-1},iterator:function(a,b,c,d){var e=[],f,g,k,h,p,n=this.context,q,r,v=this.selector;"string"===typeof a&&(d=c,c=b,b=a,a=!1);g=0;for(k=n.length;g<k;g++){var w=new u(n[g]);if("table"===b)f=c.call(w,n[g],g),f!==m&&e.push(f);else if("columns"===b||"rows"===b)f=c.call(w,n[g],this[g],g),f!==m&&e.push(f);else if("column"===b||"column-rows"===b||"row"===b||"cell"===
b){r=this[g];"column-rows"===b&&(q=Da(n[g],v.opts));h=0;for(p=r.length;h<p;h++)f=r[h],f="cell"===b?c.call(w,n[g],f.row,f.column,g,h):c.call(w,n[g],f,g,h,q),f!==m&&e.push(f)}}return e.length||d?(a=new u(n,a?e.concat.apply([],e):e),b=a.selector,b.rows=v.rows,b.cols=v.cols,b.opts=v.opts,a):this},lastIndexOf:w.lastIndexOf||function(a,b){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(a){var b=[];if(w.map)b=w.map.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)b.push(a.call(this,
this[c],c));return new u(this.context,b)},pluck:function(a){return this.map(function(b){return b[a]})},pop:w.pop,push:w.push,reduce:w.reduce||function(a,b){return hb(this,a,b,0,this.length,1)},reduceRight:w.reduceRight||function(a,b){return hb(this,a,b,this.length-1,-1,-1)},reverse:w.reverse,selector:null,shift:w.shift,slice:function(){return new u(this.context,this)},sort:w.sort,splice:w.splice,toArray:function(){return w.slice.call(this)},to$:function(){return h(this)},toJQuery:function(){return h(this)},
unique:function(){return new u(this.context,sa(this))},unshift:w.unshift});u.extend=function(a,b,c){if(c.length&&b&&(b instanceof u||b.__dt_wrapper)){var d,e,f,g=function(a,b,c){return function(){var d=b.apply(a,arguments);u.extend(d,d,c.methodExt);return d}};d=0;for(e=c.length;d<e;d++)f=c[d],b[f.name]="function"===typeof f.val?g(a,f.val,f):h.isPlainObject(f.val)?{}:f.val,b[f.name].__dt_wrapper=!0,u.extend(a,b[f.name],f.propExt)}};u.register=r=function(a,b){if(h.isArray(a))for(var c=0,d=a.length;c<
d;c++)u.register(a[c],b);else for(var e=a.split("."),f=Sb,g,k,c=0,d=e.length;c<d;c++){g=(k=-1!==e[c].indexOf("()"))?e[c].replace("()",""):e[c];var l;a:{l=0;for(var m=f.length;l<m;l++)if(f[l].name===g){l=f[l];break a}l=null}l||(l={name:g,val:{},methodExt:[],propExt:[]},f.push(l));c===d-1?l.val=b:f=k?l.methodExt:l.propExt}};u.registerPlural=v=function(a,b,c){u.register(a,c);u.register(b,function(){var a=c.apply(this,arguments);return a===this?this:a instanceof u?a.length?h.isArray(a[0])?new u(a.context,
a[0]):a[0]:m:a})};var cc=function(a,b){if("number"===typeof a)return[b[a]];var c=h.map(b,function(a,b){return a.nTable});return h(c).filter(a).map(function(a){a=h.inArray(this,c);return b[a]}).toArray()};r("tables()",function(a){return a?new u(cc(a,this.context)):this});r("table()",function(a){a=this.tables(a);var b=a.context;return b.length?new u(b[0]):a});v("tables().nodes()","table().node()",function(){return this.iterator("table",function(a){return a.nTable},1)});v("tables().body()","table().body()",
function(){return this.iterator("table",function(a){return a.nTBody},1)});v("tables().header()","table().header()",function(){return this.iterator("table",function(a){return a.nTHead},1)});v("tables().footer()","table().footer()",function(){return this.iterator("table",function(a){return a.nTFoot},1)});v("tables().containers()","table().container()",function(){return this.iterator("table",function(a){return a.nTableWrapper},1)});r("draw()",function(a){return this.iterator("table",function(b){"page"===
a?P(b):("string"===typeof a&&(a="full-hold"===a?!1:!0),U(b,!1===a))})});r("page()",function(a){return a===m?this.page.info().page:this.iterator("table",function(b){Ua(b,a)})});r("page.info()",function(a){if(0===this.context.length)return m;a=this.context[0];var b=a._iDisplayStart,c=a.oFeatures.bPaginate?a._iDisplayLength:-1,d=a.fnRecordsDisplay(),e=-1===c;return{page:e?0:Math.floor(b/c),pages:e?1:Math.ceil(d/c),start:b,end:a.fnDisplayEnd(),length:c,recordsTotal:a.fnRecordsTotal(),recordsDisplay:d,
serverSide:"ssp"===B(a)}});r("page.len()",function(a){return a===m?0!==this.context.length?this.context[0]._iDisplayLength:m:this.iterator("table",function(b){Sa(b,a)})});var Tb=function(a,b,c){if(c){var d=new u(a);d.one("draw",function(){c(d.ajax.json())})}if("ssp"==B(a))U(a,b);else{F(a,!0);var e=a.jqXHR;e&&4!==e.readyState&&e.abort();ua(a,[],function(c){pa(a);c=va(a,c);for(var d=0,e=c.length;d<e;d++)O(a,c[d]);U(a,b);F(a,!1)})}};r("ajax.json()",function(){var a=this.context;if(0<a.length)return a[0].json});
r("ajax.params()",function(){var a=this.context;if(0<a.length)return a[0].oAjaxData});r("ajax.reload()",function(a,b){return this.iterator("table",function(c){Tb(c,!1===b,a)})});r("ajax.url()",function(a){var b=this.context;if(a===m){if(0===b.length)return m;b=b[0];return b.ajax?h.isPlainObject(b.ajax)?b.ajax.url:b.ajax:b.sAjaxSource}return this.iterator("table",function(b){h.isPlainObject(b.ajax)?b.ajax.url=a:b.ajax=a})});r("ajax.url().load()",function(a,b){return this.iterator("table",function(c){Tb(c,
!1===b,a)})});var $a=function(a,b,c,d,e){var f=[],g,k,l,p,n,q;l=typeof b;if(!b||"string"===l||"function"===l||b.length===m)b=[b];l=0;for(p=b.length;l<p;l++){k=b[l]&&b[l].split&&!b[l].match(/[\[\(:]/)?b[l].split(","):[b[l]];n=0;for(q=k.length;n<q;n++)(g=c("string"===typeof k[n]?h.trim(k[n]):k[n]))&&g.length&&(f=f.concat(g))}a=A.selector[a];if(a.length){l=0;for(p=a.length;l<p;l++)f=a[l](d,e,f)}return sa(f)},ab=function(a){a||(a={});a.filter&&a.search===m&&(a.search=a.filter);return h.extend({search:"none",
order:"current",page:"all"},a)},bb=function(a){for(var b=0,c=a.length;b<c;b++)if(0<a[b].length)return a[0]=a[b],a[0].length=1,a.length=1,a.context=[a.context[b]],a;a.length=0;return a},Da=function(a,b){var c,d,e,f=[],g=a.aiDisplay;c=a.aiDisplayMaster;var k=b.search;d=b.order;e=b.page;if("ssp"==B(a))return"removed"===k?[]:Y(0,c.length);if("current"==e){c=a._iDisplayStart;for(d=a.fnDisplayEnd();c<d;c++)f.push(g[c])}else if("current"==d||"applied"==d)f="none"==k?c.slice():"applied"==k?g.slice():h.map(c,
function(a,b){return-1===h.inArray(a,g)?a:null});else if("index"==d||"original"==d){c=0;for(d=a.aoData.length;c<d;c++)"none"==k?f.push(c):(e=h.inArray(c,g),(-1===e&&"removed"==k||0<=e&&"applied"==k)&&f.push(c))}return f},dc=function(a,b,c){var d;return $a("row",b,function(b){var f=Ob(b);if(null!==f&&!c)return[f];d||(d=Da(a,c));if(null!==f&&-1!==h.inArray(f,d))return[f];if(null===b||b===m||""===b)return d;if("function"===typeof b)return h.map(d,function(c){var d=a.aoData[c];return b(c,d._aData,d.nTr)?
c:null});f=Rb(ka(a.aoData,d,"nTr"));if(b.nodeName){if(b._DT_RowIndex!==m)return[b._DT_RowIndex];if(b._DT_CellIndex)return[b._DT_CellIndex.row];f=h(b).closest("*[data-dt-row]");return f.length?[f.data("dt-row")]:[]}if("string"===typeof b&&"#"===b.charAt(0)){var g=a.aIds[b.replace(/^#/,"")];if(g!==m)return[g.idx]}return h(f).filter(b).map(function(){return this._DT_RowIndex}).toArray()},a,c)};r("rows()",function(a,b){a===m?a="":h.isPlainObject(a)&&(b=a,a="");b=ab(b);var c=this.iterator("table",function(c){return dc(c,
a,b)},1);c.selector.rows=a;c.selector.opts=b;return c});r("rows().nodes()",function(){return this.iterator("row",function(a,b){return a.aoData[b].nTr||m},1)});r("rows().data()",function(){return this.iterator(!0,"rows",function(a,b){return ka(a.aoData,b,"_aData")},1)});v("rows().cache()","row().cache()",function(a){return this.iterator("row",function(b,c){var d=b.aoData[c];return"search"===a?d._aFilterData:d._aSortData},1)});v("rows().invalidate()","row().invalidate()",function(a){return this.iterator("row",
function(b,c){ea(b,c,a)})});v("rows().indexes()","row().index()",function(){return this.iterator("row",function(a,b){return b},1)});v("rows().ids()","row().id()",function(a){for(var b=[],c=this.context,d=0,e=c.length;d<e;d++)for(var f=0,g=this[d].length;f<g;f++){var h=c[d].rowIdFn(c[d].aoData[this[d][f]]._aData);b.push((!0===a?"#":"")+h)}return new u(c,b)});v("rows().remove()","row().remove()",function(){var a=this;this.iterator("row",function(b,c,d){var e=b.aoData,f=e[c],g,h,l,p,n;e.splice(c,1);
g=0;for(h=e.length;g<h;g++)if(l=e[g],n=l.anCells,null!==l.nTr&&(l.nTr._DT_RowIndex=g),null!==n){l=0;for(p=n.length;l<p;l++)n[l]._DT_CellIndex.row=g}qa(b.aiDisplayMaster,c);qa(b.aiDisplay,c);qa(a[d],c,!1);0<b._iRecordsDisplay&&b._iRecordsDisplay--;Ta(b);c=b.rowIdFn(f._aData);c!==m&&delete b.aIds[c]});this.iterator("table",function(a){for(var c=0,d=a.aoData.length;c<d;c++)a.aoData[c].idx=c});return this});r("rows.add()",function(a){var b=this.iterator("table",function(b){var c,f,g,h=[];f=0;for(g=a.length;f<
g;f++)c=a[f],c.nodeName&&"TR"===c.nodeName.toUpperCase()?h.push(oa(b,c)[0]):h.push(O(b,c));return h},1),c=this.rows(-1);c.pop();h.merge(c,b);return c});r("row()",function(a,b){return bb(this.rows(a,b))});r("row().data()",function(a){var b=this.context;if(a===m)return b.length&&this.length?b[0].aoData[this[0]]._aData:m;b[0].aoData[this[0]]._aData=a;ea(b[0],this[0],"data");return this});r("row().node()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]].nTr||null:null});
r("row.add()",function(a){a instanceof h&&a.length&&(a=a[0]);var b=this.iterator("table",function(b){return a.nodeName&&"TR"===a.nodeName.toUpperCase()?oa(b,a)[0]:O(b,a)});return this.row(b[0])});var ec=function(a,b,c,d){var e=[],f=function(b,c){if(h.isArray(b)||b instanceof h)for(var d=0,m=b.length;d<m;d++)f(b[d],c);else b.nodeName&&"tr"===b.nodeName.toLowerCase()?e.push(b):(d=h("<tr><td/></tr>").addClass(c),h("td",d).addClass(c).html(b)[0].colSpan=ca(a),e.push(d[0]))};f(c,d);b._details&&b._details.detach();
b._details=h(e);b._detailsShow&&b._details.insertAfter(b.nTr)},cb=function(a,b){var c=a.context;if(c.length&&(c=c[0].aoData[b!==m?b:a[0]])&&c._details)c._details.remove(),c._detailsShow=m,c._details=m},Ub=function(a,b){var c=a.context;if(c.length&&a.length){var d=c[0].aoData[a[0]];d._details&&((d._detailsShow=b)?d._details.insertAfter(d.nTr):d._details.detach(),fc(c[0]))}},fc=function(a){var b=new u(a),c=a.aoData;b.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details");0<
I(c,"_details").length&&(b.on("draw.dt.DT_details",function(d,e){a===e&&b.rows({page:"current"}).eq(0).each(function(a){a=c[a];a._detailsShow&&a._details.insertAfter(a.nTr)})}),b.on("column-visibility.dt.DT_details",function(b,e,f,g){if(a===e){e=ca(e);f=0;for(g=c.length;f<g;f++)b=c[f],b._details&&b._details.children("td[colspan]").attr("colspan",e)}}),b.on("destroy.dt.DT_details",function(d,e){if(a===e)for(var f=0,g=c.length;f<g;f++)c[f]._details&&cb(b,f)}))};r("row().child()",function(a,b){var c=
this.context;if(a===m)return c.length&&this.length?c[0].aoData[this[0]]._details:m;!0===a?this.child.show():!1===a?cb(this):c.length&&this.length&&ec(c[0],c[0].aoData[this[0]],a,b);return this});r(["row().child.show()","row().child().show()"],function(a){Ub(this,!0);return this});r(["row().child.hide()","row().child().hide()"],function(){Ub(this,!1);return this});r(["row().child.remove()","row().child().remove()"],function(){cb(this);return this});r("row().child.isShown()",function(){var a=this.context;
return a.length&&this.length?a[0].aoData[this[0]]._detailsShow||!1:!1});var gc=/^([^:]+):(name|visIdx|visible)$/,Vb=function(a,b,c,d,e){c=[];d=0;for(var f=e.length;d<f;d++)c.push(E(a,e[d],b));return c},hc=function(a,b,c){var d=a.aoColumns,e=I(d,"sName"),f=I(d,"nTh");return $a("column",b,function(b){var k=Ob(b);if(""===b)return Y(d.length);if(null!==k)return[0<=k?k:d.length+k];if("function"===typeof b){var l=Da(a,c);return h.map(d,function(c,d){return b(d,Vb(a,d,0,0,l),f[d])?d:null})}var m="string"===
typeof b?b.match(gc):"";if(m)switch(m[2]){case "visIdx":case "visible":k=parseInt(m[1],10);if(0>k){var n=h.map(d,function(a,b){return a.bVisible?b:null});return[n[n.length+k]]}return[aa(a,k)];case "name":return h.map(e,function(a,b){return a===m[1]?b:null});default:return[]}if(b.nodeName&&b._DT_CellIndex)return[b._DT_CellIndex.column];k=h(f).filter(b).map(function(){return h.inArray(this,f)}).toArray();if(k.length||!b.nodeName)return k;k=h(b).closest("*[data-dt-column]");return k.length?[k.data("dt-column")]:
[]},a,c)};r("columns()",function(a,b){a===m?a="":h.isPlainObject(a)&&(b=a,a="");b=ab(b);var c=this.iterator("table",function(c){return hc(c,a,b)},1);c.selector.cols=a;c.selector.opts=b;return c});v("columns().header()","column().header()",function(a,b){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh},1)});v("columns().footer()","column().footer()",function(a,b){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf},1)});v("columns().data()","column().data()",
function(){return this.iterator("column-rows",Vb,1)});v("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData},1)});v("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,d,e,f){return ka(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)},1)});v("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,d,e){return ka(a.aoData,e,"anCells",
b)},1)});v("columns().visible()","column().visible()",function(a,b){var c=this.iterator("column",function(b,c){if(a===m)return b.aoColumns[c].bVisible;var f=b.aoColumns,g=f[c],k=b.aoData,l,p,n;if(a!==m&&g.bVisible!==a){if(a){var q=h.inArray(!0,I(f,"bVisible"),c+1);l=0;for(p=k.length;l<p;l++)n=k[l].nTr,f=k[l].anCells,n&&n.insertBefore(f[c],f[q]||null)}else h(I(b.aoData,"anCells",c)).detach();g.bVisible=a;ga(b,b.aoHeader);ga(b,b.aoFooter);za(b)}});a!==m&&(this.iterator("column",function(c,e){y(c,null,
"column-visibility",[c,e,a,b])}),(b===m||b)&&this.columns.adjust());return c});v("columns().indexes()","column().index()",function(a){return this.iterator("column",function(b,c){return"visible"===a?ba(b,c):c},1)});r("columns.adjust()",function(){return this.iterator("table",function(a){$(a)},1)});r("column.index()",function(a,b){if(0!==this.context.length){var c=this.context[0];if("fromVisible"===a||"toData"===a)return aa(c,b);if("fromData"===a||"toVisible"===a)return ba(c,b)}});r("column()",function(a,
b){return bb(this.columns(a,b))});var ic=function(a,b,c){var d=a.aoData,e=Da(a,c),f=Rb(ka(d,e,"anCells")),g=h([].concat.apply([],f)),k,l=a.aoColumns.length,p,n,q,r,v,u;return $a("cell",b,function(b){var c="function"===typeof b;if(null===b||b===m||c){p=[];n=0;for(q=e.length;n<q;n++){k=e[n];for(r=0;r<l;r++)v={row:k,column:r},c?(u=d[k],b(v,E(a,k,r),u.anCells?u.anCells[r]:null)&&p.push(v)):p.push(v)}return p}if(h.isPlainObject(b))return[b];c=g.filter(b).map(function(a,b){return{row:b._DT_CellIndex.row,
column:b._DT_CellIndex.column}}).toArray();if(c.length||!b.nodeName)return c;u=h(b).closest("*[data-dt-row]");return u.length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},a,c)};r("cells()",function(a,b,c){h.isPlainObject(a)&&(a.row===m?(c=a,a=null):(c=b,b=null));h.isPlainObject(b)&&(c=b,b=null);if(null===b||b===m)return this.iterator("table",function(b){return ic(b,a,ab(c))});var d=this.columns(b,c),e=this.rows(a,c),f,g,k,l,p,n=this.iterator("table",function(a,b){f=[];g=0;for(k=e[b].length;g<
k;g++){l=0;for(p=d[b].length;l<p;l++)f.push({row:e[b][g],column:d[b][l]})}return f},1);h.extend(n.selector,{cols:b,rows:a,opts:c});return n});v("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(a,b,c){return(a=a.aoData[b])&&a.anCells?a.anCells[c]:m},1)});r("cells().data()",function(){return this.iterator("cell",function(a,b,c){return E(a,b,c)},1)});v("cells().cache()","cell().cache()",function(a){a="search"===a?"_aFilterData":"_aSortData";return this.iterator("cell",
function(b,c,d){return b.aoData[c][a][d]},1)});v("cells().render()","cell().render()",function(a){return this.iterator("cell",function(b,c,d){return E(b,c,d,a)},1)});v("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(a,b,c){return{row:b,column:c,columnVisible:ba(a,c)}},1)});v("cells().invalidate()","cell().invalidate()",function(a){return this.iterator("cell",function(b,c,d){ea(b,c,a,d)})});r("cell()",function(a,b,c){return bb(this.cells(a,b,c))});r("cell().data()",
function(a){var b=this.context,c=this[0];if(a===m)return b.length&&c.length?E(b[0],c[0].row,c[0].column):m;jb(b[0],c[0].row,c[0].column,a);ea(b[0],c[0].row,"data",c[0].column);return this});r("order()",function(a,b){var c=this.context;if(a===m)return 0!==c.length?c[0].aaSorting:m;"number"===typeof a?a=[[a,b]]:a.length&&!h.isArray(a[0])&&(a=Array.prototype.slice.call(arguments));return this.iterator("table",function(b){b.aaSorting=a.slice()})});r("order.listener()",function(a,b,c){return this.iterator("table",
function(d){Na(d,a,b,c)})});r("order.fixed()",function(a){if(!a){var b=this.context,b=b.length?b[0].aaSortingFixed:m;return h.isArray(b)?{pre:b}:b}return this.iterator("table",function(b){b.aaSortingFixed=h.extend(!0,{},a)})});r(["columns().order()","column().order()"],function(a){var b=this;return this.iterator("table",function(c,d){var e=[];h.each(b[d],function(b,c){e.push([c,a])});c.aaSorting=e})});r("search()",function(a,b,c,d){var e=this.context;return a===m?0!==e.length?e[0].oPreviousSearch.sSearch:
m:this.iterator("table",function(e){e.oFeatures.bFilter&&ha(e,h.extend({},e.oPreviousSearch,{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),1)})});v("columns().search()","column().search()",function(a,b,c,d){return this.iterator("column",function(e,f){var g=e.aoPreSearchCols;if(a===m)return g[f].sSearch;e.oFeatures.bFilter&&(h.extend(g[f],{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),ha(e,e.oPreviousSearch,1))})});
r("state()",function(){return this.context.length?this.context[0].oSavedState:null});r("state.clear()",function(){return this.iterator("table",function(a){a.fnStateSaveCallback.call(a.oInstance,a,{})})});r("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null});r("state.save()",function(){return this.iterator("table",function(a){za(a)})});q.versionCheck=q.fnVersionCheck=function(a){var b=q.version.split(".");a=a.split(".");for(var c,d,e=0,f=a.length;e<f;e++)if(c=
parseInt(b[e],10)||0,d=parseInt(a[e],10)||0,c!==d)return c>d;return!0};q.isDataTable=q.fnIsDataTable=function(a){var b=h(a).get(0),c=!1;if(a instanceof q.Api)return!0;h.each(q.settings,function(a,e){var f=e.nScrollHead?h("table",e.nScrollHead)[0]:null,g=e.nScrollFoot?h("table",e.nScrollFoot)[0]:null;if(e.nTable===b||f===b||g===b)c=!0});return c};q.tables=q.fnTables=function(a){var b=!1;h.isPlainObject(a)&&(b=a.api,a=a.visible);var c=h.map(q.settings,function(b){if(!a||a&&h(b.nTable).is(":visible"))return b.nTable});
return b?new u(c):c};q.camelToHungarian=L;r("$()",function(a,b){var c=this.rows(b).nodes(),c=h(c);return h([].concat(c.filter(a).toArray(),c.find(a).toArray()))});h.each(["on","one","off"],function(a,b){r(b+"()",function(){var a=Array.prototype.slice.call(arguments);a[0]=h.map(a[0].split(/\s/),function(a){return!a.match(/\.dt\b/)?a+".dt":a}).join(" ");var d=h(this.tables().nodes());d[b].apply(d,a);return this})});r("clear()",function(){return this.iterator("table",function(a){pa(a)})});r("settings()",
function(){return new u(this.context,this.context)});r("init()",function(){var a=this.context;return a.length?a[0].oInit:null});r("data()",function(){return this.iterator("table",function(a){return I(a.aoData,"_aData")}).flatten()});r("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,f=b.nTBody,g=b.nTHead,k=b.nTFoot,l=h(e),f=h(f),m=h(b.nTableWrapper),n=h.map(b.aoData,function(a){return a.nTr}),r;b.bDestroying=!0;y(b,"aoDestroyCallback",
"destroy",[b]);a||(new u(b)).columns().visible(!0);m.off(".DT").find(":not(tbody *)").off(".DT");h(G).off(".DT-"+b.sInstance);e!=g.parentNode&&(l.children("thead").detach(),l.append(g));k&&e!=k.parentNode&&(l.children("tfoot").detach(),l.append(k));b.aaSorting=[];b.aaSortingFixed=[];ya(b);h(n).removeClass(b.asStripeClasses.join(" "));h("th, td",g).removeClass(d.sSortable+" "+d.sSortableAsc+" "+d.sSortableDesc+" "+d.sSortableNone);f.children().detach();f.append(n);g=a?"remove":"detach";l[g]();m[g]();
!a&&c&&(c.insertBefore(e,b.nTableReinsertBefore),l.css("width",b.sDestroyWidth).removeClass(d.sTable),(r=b.asDestroyStripes.length)&&f.children().each(function(a){h(this).addClass(b.asDestroyStripes[a%r])}));c=h.inArray(b,q.settings);-1!==c&&q.settings.splice(c,1)})});h.each(["column","row","cell"],function(a,b){r(b+"s().every()",function(a){var d=this.selector.opts,e=this;return this.iterator(b,function(f,g,h,l,p){a.call(e[b](g,"cell"===b?h:d,"cell"===b?d:m),g,h,l,p)})})});r("i18n()",function(a,
b,c){var d=this.context[0];a=S(a)(d.oLanguage);a===m&&(a=b);c!==m&&h.isPlainObject(a)&&(a=a[c]!==m?a[c]:a._);return a.replace("%d",c)});q.version="1.10.16";q.settings=[];q.models={};q.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};q.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1};q.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,
_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};q.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,
bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===
a.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+a.sInstance+"_"+location.pathname))}catch(b){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+"_"+location.pathname,JSON.stringify(b))}catch(c){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",
sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},
oSearch:h.extend({},q.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"};Z(q.defaults);q.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,
sType:null,sWidth:null};Z(q.defaults.column);q.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],
aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,
searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:m,oAjaxData:m,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==
B(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==B(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,f=e.bPaginate;return e.bServerSide?!1===f||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!f||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};
q.ext=A={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:q.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:q.version};h.extend(A,{afnFiltering:A.search,aTypes:A.type.detect,ofnSearch:A.type.search,oSort:A.type.order,afnSortData:A.order,aoFeatures:A.feature,oApi:A.internal,oStdClasses:A.classes,
oPagination:A.pager});h.extend(q.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",
sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",
sJUIHeader:"",sJUIFooter:""});var Lb=q.ext.pager;h.extend(Lb,{simple:function(a,b){return["previous","next"]},full:function(a,b){return["first","previous","next","last"]},numbers:function(a,b){return[ja(a,b)]},simple_numbers:function(a,b){return["previous",ja(a,b),"next"]},full_numbers:function(a,b){return["first","previous",ja(a,b),"next","last"]},first_last_numbers:function(a,b){return["first",ja(a,b),"last"]},_numbers:ja,numbers_length:7});h.extend(!0,q.ext.renderer,{pageButton:{_:function(a,b,
c,d,e,f){var g=a.oClasses,k=a.oLanguage.oPaginate,l=a.oLanguage.oAria.paginate||{},p,n,q=0,r=function(b,d){var m,u,v,w,y=function(b){Ua(a,b.data.action,!0)};m=0;for(u=d.length;m<u;m++)if(w=d[m],h.isArray(w))v=h("<"+(w.DT_el||"div")+"/>").appendTo(b),r(v,w);else{p=null;n="";switch(w){case "ellipsis":b.append('<span class="ellipsis">…</span>');break;case "first":p=k.sFirst;n=w+(0<e?"":" "+g.sPageButtonDisabled);break;case "previous":p=k.sPrevious;n=w+(0<e?"":" "+g.sPageButtonDisabled);break;
case "next":p=k.sNext;n=w+(e<f-1?"":" "+g.sPageButtonDisabled);break;case "last":p=k.sLast;n=w+(e<f-1?"":" "+g.sPageButtonDisabled);break;default:p=w+1,n=e===w?g.sPageButtonActive:""}null!==p&&(v=h("<a>",{"class":g.sPageButton+" "+n,"aria-controls":a.sTableId,"aria-label":l[w],"data-dt-idx":q,tabindex:a.iTabIndex,id:0===c&&"string"===typeof w?a.sTableId+"_"+w:null}).html(p).appendTo(b),Wa(v,{action:w},y),q++)}},u;try{u=h(b).find(J.activeElement).data("dt-idx")}catch(v){}r(h(b).empty(),d);u!==m&&h(b).find("[data-dt-idx="+
u+"]").focus()}}});h.extend(q.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c)?"num"+c:null},function(a,b){if(a&&!(a instanceof Date)&&!$b.test(a))return null;var c=Date.parse(a);return null!==c&&!isNaN(c)||N(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Qb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Qb(a,c,!0)?"html-num-fmt"+c:null},function(a,b){return N(a)||
"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(q.ext.type.search,{html:function(a){return N(a)?a:"string"===typeof a?a.replace(Nb," ").replace(Ca,""):""},string:function(a){return N(a)?a:"string"===typeof a?a.replace(Nb," "):a}});var Ba=function(a,b,c,d){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Pb(a,b));a.replace&&(c&&(a=a.replace(c,"")),d&&(a=a.replace(d,"")));return 1*a};h.extend(A.type.order,{"date-pre":function(a){return Date.parse(a)||-Infinity},"html-pre":function(a){return N(a)?
"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return N(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return a<b?-1:a>b?1:0},"string-desc":function(a,b){return a<b?1:a>b?-1:0}});db("");h.extend(!0,q.ext.renderer,{header:{_:function(a,b,c,d){h(a.nTable).on("order.dt.DT",function(e,f,g,h){a===f&&(e=c.idx,b.removeClass(c.sSortingClass+" "+d.sSortAsc+" "+d.sSortDesc).addClass("asc"==h[e]?d.sSortAsc:"desc"==h[e]?d.sSortDesc:
c.sSortingClass))})},jqueryui:function(a,b,c,d){h("<div/>").addClass(d.sSortJUIWrapper).append(b.contents()).append(h("<span/>").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(e,f,g,h){a===f&&(e=c.idx,b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass("asc"==h[e]?d.sSortAsc:"desc"==h[e]?d.sSortDesc:c.sSortingClass),b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass("asc"==
h[e]?d.sSortJUIAsc:"desc"==h[e]?d.sSortJUIDesc:c.sSortingClassJUI))})}}});var Wb=function(a){return"string"===typeof a?a.replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):a};q.render={number:function(a,b,c,d,e){return{display:function(f){if("number"!==typeof f&&"string"!==typeof f)return f;var g=0>f?"-":"",h=parseFloat(f);if(isNaN(h))return Wb(f);h=h.toFixed(c);f=Math.abs(h);h=parseInt(f,10);f=c?b+(f-h).toFixed(c).substring(2):"";return g+(d||"")+h.toString().replace(/\B(?=(\d{3})+(?!\d))/g,
a)+f+(e||"")}}},text:function(){return{display:Wb}}};h.extend(q.ext.internal,{_fnExternApiFunc:Mb,_fnBuildAjax:ua,_fnAjaxUpdate:lb,_fnAjaxParameters:ub,_fnAjaxUpdateDraw:vb,_fnAjaxDataSrc:va,_fnAddColumn:Fa,_fnColumnOptions:la,_fnAdjustColumnSizing:$,_fnVisibleToColumnIndex:aa,_fnColumnIndexToVisible:ba,_fnVisbleColumns:ca,_fnGetColumns:na,_fnColumnTypes:Ha,_fnApplyColumnDefs:ib,_fnHungarianMap:Z,_fnCamelToHungarian:L,_fnLanguageCompat:Ea,_fnBrowserDetect:gb,_fnAddData:O,_fnAddTr:oa,_fnNodeToDataIndex:function(a,
b){return b._DT_RowIndex!==m?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return h.inArray(c,a.aoData[b].anCells)},_fnGetCellData:E,_fnSetCellData:jb,_fnSplitObjNotation:Ka,_fnGetObjectDataFn:S,_fnSetObjectDataFn:T,_fnGetDataMaster:La,_fnClearTable:pa,_fnDeleteIndex:qa,_fnInvalidate:ea,_fnGetRowElements:Ja,_fnCreateTr:Ia,_fnBuildHead:kb,_fnDrawHead:ga,_fnDraw:P,_fnReDraw:U,_fnAddOptionsHtml:nb,_fnDetectHeader:fa,_fnGetUniqueThs:ta,_fnFeatureHtmlFilter:pb,_fnFilterComplete:ha,_fnFilterCustom:yb,
_fnFilterColumn:xb,_fnFilter:wb,_fnFilterCreateSearch:Qa,_fnEscapeRegex:Ra,_fnFilterData:zb,_fnFeatureHtmlInfo:sb,_fnUpdateInfo:Cb,_fnInfoMacros:Db,_fnInitialise:ia,_fnInitComplete:wa,_fnLengthChange:Sa,_fnFeatureHtmlLength:ob,_fnFeatureHtmlPaginate:tb,_fnPageChange:Ua,_fnFeatureHtmlProcessing:qb,_fnProcessingDisplay:F,_fnFeatureHtmlTable:rb,_fnScrollDraw:ma,_fnApplyToChildren:K,_fnCalculateColumnWidths:Ga,_fnThrottle:Pa,_fnConvertToWidth:Eb,_fnGetWidestNode:Fb,_fnGetMaxLenString:Gb,_fnStringToCss:z,
_fnSortFlatten:X,_fnSort:mb,_fnSortAria:Ib,_fnSortListener:Va,_fnSortAttachListener:Na,_fnSortingClasses:ya,_fnSortData:Hb,_fnSaveState:za,_fnLoadState:Jb,_fnSettingsFromNode:Aa,_fnLog:M,_fnMap:H,_fnBindAction:Wa,_fnCallbackReg:C,_fnCallbackFire:y,_fnLengthOverflow:Ta,_fnRenderer:Oa,_fnDataSource:B,_fnRowAttributes:Ma,_fnCalculateEnd:function(){}});h.fn.dataTable=q;q.$=h;h.fn.dataTableSettings=q.settings;h.fn.dataTableExt=q.ext;h.fn.DataTable=function(a){return h(this).dataTable(a).api()};h.each(q,
function(a,b){h.fn.DataTable[a]=b});return h.fn.dataTable});
|