/*! HTML5 export buttons for Buttons and DataTables. 2016 SpryMedia Ltd - datatables.net/license FileSaver.js (1.3.3) - MIT license Copyright © 2016 Eli Grey - http://eligrey.com */ !function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,o,l,n){return e||(e=window),o&&o.fn.dataTable||(o=require("datatables.net")(e,o).$),o.fn.dataTable.Buttons||require("datatables.net-buttons")(e,o),t(o,e,e.document,l,n)}:t(jQuery,window,document)}((function(t,e,l,n,r,a){function p(t){for(var e="";0<=t;)e=String.fromCharCode(t%26+65)+e,t=Math.floor(t/26)-1;return e}function d(e,o){F===a&&(F=-1===x.serializeToString(t.parseXML(h["xl/worksheets/sheet1.xml"])).indexOf("xmlns:r")),t.each(o,(function(o,l){if(t.isPlainObject(l))d(o=e.folder(o),l);else{if(F){var n,r=l.childNodes[0],a=[];for(n=r.attributes.length-1;0<=n;n--){var p=r.attributes[n].nodeName,i=r.attributes[n].nodeValue;-1!==p.indexOf(":")&&(a.push({name:p,value:i}),r.removeAttribute(p))}for(n=0,p=a.length;n
'+l),l=(l=l.replace(/_dt_b_namespace_token_/g,":")).replace(/xmlns:NS[\d]+="" NS[\d]+:/g,"")),l=l.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),e.file(o,l)}}))}function i(e,o,l){var n=e.createElement(o);return l&&(l.attr&&t(n).attr(l.attr),l.children&&t.each(l.children,(function(t,e){n.appendChild(e)})),null!==l.text&&l.text!==a&&n.appendChild(e.createTextNode(l.text))),n}function s(t,e){var o=t.header[e].length;t.footer&&t.footer[e].length>o&&(o=t.footer[e].length);for(var l=0,n=t.body.length;l
to your system clipboard.
To cancel, click this message or press escape.")+"").append(n),o.buttons.info(o.i18n("buttons.copyTitle","Copy to clipboard"),s,0),r[0].focus(),r[0].select();var f=t(s).closest(".dt-button-info"),m=function(){f.off("click.buttons-copy"),t(l).off(".buttons-copy"),o.buttons.info(!1)};f.on("click.buttons-copy",m),t(l).on("keydown.buttons-copy",(function(t){27===t.keyCode&&(m(),a.processing(!1))})).on("copy.buttons-copy cut.buttons-copy",(function(){m(),a.processing(!1)}))},exportOptions:{},fieldSeparator:"\t",fieldBoundary:"",header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*"},f.ext.buttons.csvHtml5={bom:!1,className:"buttons-csv buttons-html5",available:function(){return e.FileReader!==a&&e.Blob},text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,o,n){this.processing(!0),t=u(e,n).str,o=e.buttons.exportInfo(n);var r=n.charset;n.customize&&(t=n.customize(t,n,e)),!1!==r?(r||(r=l.characterSet||l.charset),r&&(r=";charset="+r)):r="",n.bom&&(t="\ufeff"+t),m(new Blob([t],{type:"text/csv"+r}),o.filename,!0),this.processing(!1)},filename:"*",extension:".csv",exportOptions:{},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!1},f.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return e.FileReader!==a&&(n||e.JSZip)!==a&&!I()&&x},text:function(t){return t.i18n("buttons.excel","Excel")},action:function(o,l,r,f){this.processing(!0);var c=this,u=0,I=(o=function(e){return t.parseXML(h[e])})("xl/worksheets/sheet1.xml"),F=I.getElementsByTagName("sheetData")[0];o={_rels:{".rels":o("_rels/.rels")},xl:{_rels:{"workbook.xml.rels":o("xl/_rels/workbook.xml.rels")},"workbook.xml":o("xl/workbook.xml"),"styles.xml":o("xl/styles.xml"),worksheets:{"sheet1.xml":I}},"[Content_Types].xml":o("[Content_Types].xml")};var x,g,v=l.buttons.exportData(f.exportOptions),w=function(e){g=i(I,"row",{attr:{r:x=u+1}});for(var o=0,l=e.length;o