$(document).ready(function(){$(".dom-jQuery-events").DataTable();$(".dom-jQuery-events tbody").on("click","tr",function(){var t=table.row(this).data();alert("You clicked on "+t[0]+"'s row")}),$(".column-rendering").DataTable({columnDefs:[{render:function(t,e,a){return t+" ("+a[3]+")"},targets:0},{visible:!1,targets:[3]}]}),$(".multiple-control-elements").DataTable({dom:'<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'}),$(".column-visibility").DataTable({columnDefs:[{visible:!1,targets:-1}]}),$(".language-file").DataTable({language:{url:"//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json"}});$(".setting-defaults").dataTable($.extend(!0,{},{searching:!1,ordering:!1},{})),$(".created-callback").DataTable({createdRow:function(t,e,a){15e4<1*e[5].replace(/[\$,]/g,"")&&$("td",t).eq(5).addClass("highlight")}});$(".row-grouping").DataTable({columnDefs:[{visible:!1,targets:2}],order:[[2,"asc"]],displayLength:25,drawCallback:function(t){var e=this.api(),a=e.rows({page:"current"}).nodes(),o=null;e.column(2,{page:"current"}).data().each(function(t,e){o!==t&&($(a).eq(e).before('<tr class="group"><td colspan="5">'+t+"</td></tr>"),o=t)})}});$(".row-grouping tbody").on("click","tr.group",function(){var t=table.order()[0];2===t[0]&&"asc"===t[1]?table.order([2,"desc"]).draw():table.order([2,"asc"]).draw()}),$(".footer-callback").DataTable({footerCallback:function(t,e,a,o,r){var l=this.api(),n=function(t){return"string"==typeof t?1*t.replace(/[\$,]/g,""):"number"==typeof t?t:0};total=l.column(4).data().reduce(function(t,e){return n(t)+n(e)},0),pageTotal=l.column(4,{page:"current"}).data().reduce(function(t,e){return n(t)+n(e)},0),$(l.column(4).footer()).html("$"+pageTotal+" ( $"+total+" total)")}}),$(".custom-toolbar-elements").DataTable({dom:'<"toolbar">frtip'}),$("div.toolbar").html("<b>Custom tool bar! Text/images etc.</b>"),$(".file-export").DataTable({dom:"Bfrtip",buttons:["copy","csv","excel","pdf","print"]}),$(".buttons-copy, .buttons-csv, .buttons-print, .buttons-pdf, .buttons-excel").addClass("btn btn-primary mr-1")});