|
|
|
!function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,(n=n||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(d,e,n,t){"use strict";var u=d.fn.dataTable;return u.ext.deepLink=function(e){for(var n=location.search.replace(/^\?/,"").split("&"),t={},r=0,i=n.length;r<i;r++){var o=n[r].split("="),a=decodeURIComponent(o[0]),o=decodeURIComponent(o[1]);if("true"===o)o=!0;else if("false"===o)o=!1;else if(o.match(/[^\d]/)||"search.search"===a){if(0===o.indexOf("{")||0===o.indexOf("["))try{o=d.parseJSON(o)}catch(e){}}else o=+o;"all"!==e&&-1===d.inArray(a,e)||u.util.set(a)(t,o,{})}return t},u});
|