"].join(""))}),e.find("li").click(function(){var s=this;if("function"!=typeof require)throw new Error("RequireJS not found");require(["tableexport"],function(){function t(){a.$el.tableExport(p.extend({},a.options.exportOptions,{type:i,escape:!1}))}var o,e,n,i=p(s).data("type");"all"===a.options.exportDataType&&a.options.pagination?(a.$el.one("server"===a.options.sidePagination?"post-body.bs.table":"page-change.bs.table",function(){t(),a.togglePagination()}),a.togglePagination()):"selected"===a.options.exportDataType?(o=a.getData(),n=a.getAllSelections(),"server"===a.options.sidePagination&&((o={total:a.options.totalRows})[a.options.dataField]=a.getData(),e="function"==typeof require?require("table"):null,(n={total:a.options.totalRows})[a.options.dataField]=e&&a.options.maintainSelected?e.api.selecteddata(a.$el):a.getAllSelections()),a.load(n),t(),a.load(o)):t()})}))}}(jQuery);