text: /*! minnpost-styles - v0.0.6-alpha - 2020-10-23
  * https://github.com/MinnPost/minnpost-styles
  * Copyright (c) 2020 ; Licensed MIT */
  
  !function(a,b){if("undefined"!=typeof module&&module.exports&&"function"==typeof require)module.exports=b(require("underscore"),require("jquery"),require("datatables"));else if("function"==typeof define&&define.amd)define(["underscore","jquery","datatables"],b);else{if(!a._||!a.jQuery.fn.dataTable)throw new Error("Could not find dependencies for MinnPost Styles Datatables.");a.MP=a.MP||{},a.MP.datatables=b(a._,a.jQuery)}}("undefined"!=typeof window?window:this,function(a,b,c){var d={};return d.defaultOptions={iDisplayLength:10,bLengthChange:!1,bProcessing:!1,bAutoWidth:!0,aaSorting:[[0,"asc"]],aLengthMenu:[[10,20,50,-1],[10,20,50,"All"]],oLanguage:{sSearch:"",oPaginate:{sNext:'<i class="fa fa-arrow-circle-right"></i> <span class="icon-text">Next</span>',sPrevious:'<i class="fa fa-arrow-circle-left"></i> <span class="icon-text">Previous</span>'}},sDom:'<"row datatables-top" <"column-small-50" l > <"column-small-50" f > >  < r > <"table-responsive-medium" t > <"row datatables-bottom" <"column-small-50" i > <"column-small-50" p > >',fnDrawCallback:function(){b(this).parent().parent().find(".dataTables_filter input").attr("placeholder","Search table")}},d.makeTable=function(a,c){var e=a.find("table");return c=b.extend(!0,{},c,d.defaultOptions),e.dataTable(c),e},b.fn.dataTableExt.oApi.fnFilterClear=function(a){var c,d;if(a.oPreviousSearch.sSearch="","undefined"!=typeof a.aanFeatures.f)for(c=a.aanFeatures.f,d=0,iLen=c.length;d<iLen;d++)b("input",c[d]).val("");for(d=0,iLen=a.aoPreSearchCols.length;d<iLen;d++)a.aoPreSearchCols[d].sSearch="";a.oApi._fnReDraw(a)},b.fn.dataTableExt.aTypes.unshift(function(a){var c=a.replace(/[^\d\-\.\/a-zA-Z]/g,"");return b.isNumeric(c)||"-"===c?"formatted-num":null}),b.fn.dataTableExt.oSort["formatted-num-asc"]=function(a,b){var c=a.match(/\d/)?a.replace(/[^\d\-\.]/g,""):0,d=b.match(/\d/)?b.replace(/[^\d\-\.]/g,""):0;return parseFloat(c)-parseFloat(d)},b.fn.dataTableExt.oSort["formatted-num-desc"]=function(a,b){var c=a.match(/\d/)?a.replace(/[^\d\-\.]/g,""):0,d=b.match(/\d/)?b.replace(/[^\d\-\.]/g,""):0;return parseFloat(d)-parseFloat(c)},d.listenFilterLinks=function(a,c,d){d=d||"active",c.on("click.mp.filterLinks",".datatables-filter-link",function(a){a.preventDefault();var e=b(this);e.hasClass("filter-clear")?$dataTable.fnFilterClear():$dataTable.fnFilter(e.data("text"),e.data("col")),c.find(".datatables-filter-link").removeClass(d),e.addClass(d)})},d});