/usr/share/javascript/jquery-datatables/dataTables.bootstrap4.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 | /*!
DataTables Bootstrap 3 integration
©2011-2015 SpryMedia Ltd - datatables.net/license
*/
(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d,p){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
renderer:"bootstrap"});b.extend(f.ext.classes,{sWrapper:"dataTables_wrapper container-fluid dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"});f.ext.renderer.pageButton.bootstrap=function(a,h,u,v,l,q){var r=new f.Api(a),w=a.oClasses,m=a.oLanguage.oPaginate,x=a.oLanguage.oAria.paginate||{},e,g,s=0,t=function(d,f){var n,h,k,c,p=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&
r.page()!=a.data.action&&r.page(a.data.action).draw("page")};n=0;for(h=f.length;n<h;n++)if(c=f[n],b.isArray(c))t(d,c);else{g=e="";switch(c){case "ellipsis":e="…";g="disabled";break;case "first":e=m.sFirst;g=c+(0<l?"":" disabled");break;case "previous":e=m.sPrevious;g=c+(0<l?"":" disabled");break;case "next":e=m.sNext;g=c+(l<q-1?"":" disabled");break;case "last":e=m.sLast;g=c+(l<q-1?"":" disabled");break;default:e=c+1,g=l===c?"active":""}e&&(k=b("<li>",{"class":w.sPageButton+" "+g,id:0===u&&
"string"===typeof c?a.sTableId+"_"+c:null}).append(b("<a>",{href:"#","aria-controls":a.sTableId,"aria-label":x[c],"data-dt-idx":s,tabindex:a.iTabIndex,"class":"page-link"}).html(e)).appendTo(d),a.oApi._fnBindAction(k,{action:c},p),s++)}},k;try{k=b(h).find(d.activeElement).data("dt-idx")}catch(y){}t(b(h).empty().html('<ul class="pagination"/>').children("ul"),v);k!==p&&b(h).find("[data-dt-idx="+k+"]").focus()};return f});
|