PageSourceSearch

https://www.les-chavannes.com/assets/vendor/tableexport.jquery.plu…n.index-64359eabb059c671b1a501dfba8195b4.js

js les-chavannes.com collected 2026-10-02 20:42:08 UTC 54,440 bytes, 7 lines download raw bytes

vendor: 30,940 bytes, lines 1-7
1/**
2 * Bundled by jsDelivr using Rollup v2.79.2 and Terser v5.39.0.
3 * Original file: /npm/[email protected]/tableExport.min.js
4 *
5 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
6 */
7var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var t={};var n=n||{};n.scope={};n.findInternal=function(e,t,n){e instanceof String&&(e=String(e));for(var o=e.length,r=0;r<o;r++){var i=e[r];if(t.call(n,i,r,e))return{i:r,v:i}}return{i:-1,v:void 0}};n.ASSUME_ES5=!1;n.ASSUME_NO_NATIVE_MAP=!1;n.ASSUME_NO_NATIVE_SET=!1;n.defineProperty=n.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)};n.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:"undefined"!=typeof e&&null!=e?e:t};n.global=n.getGlobal(e);n.polyfill=function(e,t,o,r){if(t){o=n.global;e=e.split(".");for(r=0;r<e.length-1;r++){var i=e[r];i in o||(o[i]={});o=o[i]}e=e[e.length-1];r=o[e];t=t(r);t!=r&&null!=t&&n.defineProperty(o,e,{configurable:!0,writable:!0,value:t})}};n.polyfill("Array.prototype.find",(function(e){return e?e:function(e,t){return n.findInternal(this,e,t).v}}),"es6","es3");(function(e){function t(){return{theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}}}e.fn.tableExport=function(l){function a(t){var n=[];f(t,"thead").each((function(){n.push.apply(n,f(e(this),ie.theadSelector).toArray())}));return n}function s(t){var n=[];f(t,"tbody").each((function(){n.push.apply(n,f(e(this),ie.tbodySelector).toArray())}));ie.tfootSelector.length&&f(t,"tfoot").each((function(){n.push.apply(n,f(e(this),ie.tfootSelector).toArray())}));return n}function f(t,n){var o=t[0].tagName,r=t.parents(o).length;return t.find(n).filter((function(){return r===e(this).closest(o).parents(o).length}))}function d(t){var n=[],o=0,r=0,i=0;e(t).find("thead").first().find("th").each((function(t,l){t=void 0!==e(l).attr("data-field");"undefined"!==typeof l.parentNode.rowIndex&&r!==l.parentNode.rowIndex&&(r=l.parentNode.rowIndex,o=i=0);var a=P(l);for(o+=a?a:1;i<o;)n[i]=t?e(l).attr("data-field"):i.toString(),i++}));return n}function c(t){var n="undefined"!==typeof t[0].rowIndex,o=!1===n&&"undefined"!==typeof t[0].cellIndex,r=o||n?h(t):t.is(":visible"),i=t.attr("data-tableexport-display");o&&"none"!==i&&"always"!==i&&(t=e(t[0].parentNode),n="undefined"!==typeof t[0].rowIndex,i=t.attr("data-tableexport-display"));n&&"none"!==i&&"always"!==i&&(i=t.closest("table").attr("data-tableexport-display"));return"none"!==i&&(!0===r||"always"===i)}function h(e){var t=[];xe&&(t=we.filter((function(){var t=!1;this.nodeType===e[0].nodeType&&("undefined"!==typeof this.rowIndex&&this.rowIndex===e[0].rowIndex?t=!0:"undefined"!==typeof this.cellIndex&&this.cellIndex===e[0].cellIndex&&"undefined"!==typeof this.parentNode.rowIndex&&"undefined"!==typeof e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex&&(t=!0));return t})));return!1===xe||0===t.length}function u(t,n,o){var r=!1;c(t)?0<ie.ignoreColumn.length&&(-1!==e.inArray(o,ie.ignoreColumn)||-1!==e.inArray(o-n,ie.ignoreColumn)||ge.length>o&&"undefined"!==typeof ge[o]&&-1!==e.inArray(ge[o],ie.ignoreColumn))&&(r=!0):r=!0;return r}function p(t,n,o,r,i){if("function"===typeof i){var l=!1;"function"===typeof ie.onIgnoreRow&&(l=ie.onIgnoreRow(e(t),o));if(!1===l&&(0===ie.ignoreRow.length||-1===e.inArray(o,ie.ignoreRow)&&-1===e.inArray(o-r,ie.ignoreRow))&&c(e(t))){t=f(e(t),n);var a=t.length,s=0,d=0;t.each((function(){var t=e(this),n=P(this),r=M(this),l;e.each(me,(function(){if(o>this.s.r&&o<=this.e.r&&s>=this.s.c&&s<=this.e.c)for(l=0;l<=this.e.c-this.s.c;++l)a++,d++,i(null,o,s++)}));if(r||n)n=n||1,me.push({s:{r:o,c:s},e:{r:o+(r||1)-1,c:s+n-1}});!1===u(t,a,d++)&&i(this,o,s++);if(1<n)for(l=0;l<n-1;++l)d++,i(null,o,s++)}));e.each(me,(function(){if(o>=this.s.r&&o<=this.e.r&&s>=this.s.c&&s<=this.e.c)for(var e=0;e<=this.e.c-this.s.c;++e)i(null,o,s++)}))}}}function g(e,t,n,o){if("undefined"!==typeof o.images&&(n=o.images[n],"undefined"!==typeof n)){t=t.getBoundingClientRect();var r=e.width/e.height,i=t.width/t.height,l=e.width,a=e.height,s=19.049976/25.4,f=0;i<=r?(a=Math.min(e.height,t.height),l=t.width*a/t.height):i>r&&(l=Math.min(e.width,t.width),a=t.height*l/t.width);l*=s;a*=s;a<e.height&&(f=(e.height-a)/2);try{o.doc.addImage(n.src,e.textPos.x,e.y+f,l,a)}catch(e){}e.textPos.x+=l}}function m(e,t){if("string"===ie.outputMode)return e.output();if("base64"===ie.outputMode)return q(e.output());if("window"===ie.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(e.output("blob")));else{var n=ie.fileName+".pdf";try{var o=e.output("blob");saveAs(o,n);if("function"===typeof ie.onAfterSaveToFile)ie.onAfterSaveToFile(o,n)}catch(o){K(n,"data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}}function y(e,t,n){var o=0;"undefined"!==typeof n&&(o=n.colspan);if(0<=o){for(var r=e.width,i=e.textPos.x,l=t.table.columns.indexOf(t.column),a=1;a<o;a++)r+=t.table.columns[l+a].width;1<o&&("right"===e.styles.halign?i=e.textPos.x+r-e.width:"center"===e.styles.halign&&(i=e.textPos.x+(r-e.width)/2));e.width=r;e.textPos.x=i;"undefined"!==typeof n&&1<n.rowspan&&(e.height*=n.rowspan);if("middle"===e.styles.valign||"bottom"===e.styles.valign)n=("string"===typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text).length||1,2<n&&(e.textPos.y-=(2-1.15)/2*t.row.styles.fontSize*(n-2)/3);return!0}return!1}function w(t,n,o){"undefined"!==typeof t&&null!==t&&(t.hasAttribute("data-tableexport-canvas")?(n=(new Date).getTime(),e(t).attr("data-tableexport-canvas",n),o.images[n]={url:'[data-tableexport-canvas="'+n+'"]',src:null}):"undefined"!==n&&null!=n&&n.each((function(){if(e(this).is("img")){var n=H(this.src);o.images[n]={url:this.src,src:this.src}}w(t,e(this).children(),o)})))}function x(t,n){function o(t){if(t.url)if(t.src){var o=new Image;r=++i;o.crossOrigin="Anonymous";o.onerror=o.onload=function(){if(o.complete&&(0===o.src.indexOf("data:image/")&&(o.width=t.width||o.width||0,o.height=t.height||o.height||0),o.width+o.height)){var e=document.createElement("canvas"),l=e.getContext("2d");e.width=o.width;e.height=o.height;l.drawImage(o,0,0);t.src=e.toDataURL("image/png")}--i||n(r)};o.src=t.url}else{var l=e(t.url);l.length&&(r=++i,html2canvas(l[0]).then((function(e){t.src=e.toDataURL("image/png");--i||n(r)})))}}var r=0,i=0;if("undefined"!==typeof t.images)for(var l in t.images)t.images.hasOwnProperty(l)&&o(t.images[l]);(t=i)||(n(r),t=void 0);return t}function b(t,n,o){n.each((function(){if(e(this).is("div")){var n=O(I(this,"background-color"),[255,255,255]),r=O(I(this,"border-top-color"),[0,0,0]),i=j(this,"border-top-width",ie.jspdf.unit),l=this.getBoundingClientRect(),a=this.offsetLeft*o.wScaleFactor,s=this.offsetTop*o.hScaleFactor,f=l.width*o.wScaleFactor;l=l.height*o.hScaleFactor;o.doc.setDrawColor.apply(void 0,r);o.doc.setFillColor.apply(void 0,n);o.doc.setLineWidth(i);o.doc.rect(t.x+a,t.y+s,f,l,i?"FD":"F")}else e(this).is("img")&&(n=H(this.src),g(t,this,n,o));b(t,e(this).children(),o)}))}function v(t,n,o){if("function"===typeof o.onAutotableText)o.onAutotableText(o.doc,t,n);else{var r=t.textPos.x,i=t.textPos.y,l={halign:t.styles.halign,valign:t.styles.valign};if(n.length){for(n=n[0];n.previousSibling;)n=n.previousSibling;for(var a=!1,s=!1;n;){var f=n.innerText||n.textContent||"",d=f.length&&" "===f[0]?" ":"",c=1<f.length&&" "===f[f.length-1]?" ":"";!0!==ie.preserve.leadingWS&&(f=d+C(f));!0!==ie.preserve.trailingWS&&(f=k(f)+c);e(n).is("br")&&(r=t.textPos.x,i+=o.doc.internal.getFontSize());e(n).is("b")?a=!0:e(n).is("i")&&(s=!0);(a||s)&&o.doc.setFont("undefined ",a&&s?"bolditalic":a?"bold":"italic");if(d=o.doc.getStringUnitWidth(f)*o.doc.internal.getFontSize()){"linebreak"===t.styles.overflow&&r>t.textPos.x&&r+d>t.textPos.x+t.width&&(0<=".,!%*;:=-".indexOf(f.charAt(0))&&(c=f.charAt(0),d=o.doc.getStringUnitWidth(c)*o.doc.internal.getFontSize(),r+d<=t.textPos.x+t.width&&(_(c,r,i,l),f=f.substring(1,f.length)),d=o.doc.getStringUnitWidth(f)*o.doc.internal.getFontSize()),r=t.textPos.x,i+=o.doc.internal.getFontSize());if("visible"!==t.styles.overflow)for(;f.length&&r+d>t.textPos.x+t.width;)f=f.substring(0,f.length-1),d=o.doc.getStringUnitWidth(f)*o.doc.internal.getFontSize();_(f,r,i,l);r+=d}if(a||s)e(n).is("b")?a=!1:e(n).is("i")&&(s=!1),o.doc.setFont("undefined ",a||s?a?"bold":"italic":"normal");n=n.nextSibling}t.textPos.x=r;t.textPos.y=i}else _(t.text,t.textPos.x,t.textPos.y,l)}}function S(e,t,n){return null==e?"":e.toString().replace(new RegExp(null==t?"":t.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),n)}function C(e){return null==e?"":e.toString().replace(/^\s+/,"")}function k(e){return null==e?"":e.toString().replace(/\s+$/,"")}function F(e){if(0===ie.date.html.length)return!1;ie.date.pattern.lastIndex=0;var t=ie.date.pattern.exec(e);if(null==t)return!1;e=+t[ie.date.match_y];if(0>e||8099<e)return!1;var n=1*t[ie.date.match_m];t=1*t[ie.date.match_d];if(!isFinite(t))return!1;var o=new Date(e,n-1,t,0,0,0);return o.getFullYear()===e&&o.getMonth()===n-1&&o.getDate()===t?new Date(Date.UTC(e,n-1,t,0,0,0)):!1}function R(e){e=e||"0";""!==ie.numbers.html.thousandsSeparator&&(e=S(e,ie.numbers.html.thousandsSeparator,""));"."!==ie.numbers.html.decimalMark&&(e=S(e,ie.numbers.html.decimalMark,"."));return"number"===typeof e||!1!==jQuery.isNumeric(e)?e:!1}function E(e){-1<e.indexOf("%")?(e=R(e.replace(/%/g,"")),!1!==e&&(e/=100)):e=!1;return e}function W(t,n,o,r){var i="",l="text";if(null!==t){var a=e(t);a.removeData("teUserDefText");if(a[0].hasAttribute("data-tableexport-canvas"))var s="";else if(a[0].hasAttribute("data-tableexport-value"))s=(s=a.attr("data-tableexport-value"))?s+"":"",a.data("teUserDefText",1);else if(s=a.html(),"function"===typeof ie.onCellHtmlData)s=ie.onCellHtmlData(a,n,o,s),a.data("teUserDefText",1);else if(""!==s){t=e.parseHTML("<div>"+s+"</div>",null,!1);var f=0,d=0;s="";e.each(t,(function(){if(e(this).is("input"))s+=a.find("input").eq(f++).val();else if(e(this).is("select"))s+=a.find("select option:selected").eq(d++).text();else if(e(this).is("br"))s+="<br>";else{if("undefined"===typeof e(this).html())s+=e(this).text();else if(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===a.parents(".detail-view").length)s+=e(this).html();if(e(this).is("a")){var t=a.find("a").attr("href")||"";i="function"===typeof ie.onCellHtmlHyperlink?i+ie.onCellHtmlHyperlink(a,n,o,t,s):"href"===ie.htmlHyperlink?i+t:i+s;s=""}}}))}if(s&&""!==s&&!0===ie.htmlContent)i=e.trim(s);else if(s&&""!==s)if(""!==a.attr("data-tableexport-cellformat")){var c=s.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"⁠"),h=e("<div/>").html(c).contents();t=!1;c="";e.each(h.text().split("\u2028"),(function(e,t){0<e&&(c+=" ");!0!==ie.preserve.leadingWS&&(t=C(t));c+=!0!==ie.preserve.trailingWS?k(t):t}));e.each(c.split("⁠"),(function(e,t){0<e&&(i+="\n");!0!==ie.preserve.leadingWS&&(t=C(t));!0!==ie.preserve.trailingWS&&(t=k(t));i+=t.replace(/\u00AD/g,"")}));i=i.replace(/\u00A0/g," ");if("json"===ie.type||"excel"===ie.type&&"xmlss"===ie.mso.fileFormat||!1===ie.numbers.output)t=R(i),!1!==t&&(l="number",i=Number(t));else if(ie.numbers.html.decimalMark!==ie.numbers.output.decimalMark||ie.numbers.html.thousandsSeparator!==ie.numbers.output.thousandsSeparator)if(t=R(i),!1!==t){h=(""+t.substr(0>t?1:0)).split(".");1===h.length&&(h[1]="");var u=3<h[0].length?h[0].length%3:0;l="number";i=(0>t?"-":"")+(ie.numbers.output.thousandsSeparator?(u?h[0].substr(0,u)+ie.numbers.output.thousandsSeparator:"")+h[0].substr(u).replace(/(\d{3})(?=\d)/g,"$1"+ie.numbers.output.thousandsSeparator):h[0])+(h[1].length?ie.numbers.output.decimalMark+h[1]:"")}}else i=s;!0===ie.escape&&(i=escape(i));"function"===typeof ie.onCellData&&(i=ie.onCellData(a,n,o,i,l),a.data("teUserDefText",1))}void 0!==r&&(r.type=l);return i}function A(e){return 0<e.length&&!0===ie.preventInjection&&0<="=+-@".indexOf(e.charAt(0))?"'"+e:e}function N(e,t,n){return t+"-"+n.toLowerCase()}function O(e,t){(e=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(e))&&(t=[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]);return t}function T(e){var t=I(e,"text-align"),n=I(e,"font-weight"),o=I(e,"font-style"),r="";"start"===t&&(t="rtl"===I(e,"direction")?"right":"left");700<=n&&(r="bold");"italic"===o&&(r+=o);""===r&&(r="normal");t={style:{align:t,bcolor:O(I(e,"background-color"),[255,255,255]),color:O(I(e,"color"),[0,0,0]),fstyle:r},colspan:P(e),rowspan:M(e)};null!==e&&(e=e.getBoundingClientRect(),t.rect={width:e.width,height:e.height});return t}function P(t){var n=e(t).attr("data-tableexport-colspan");"undefined"===typeof n&&e(t).is("[colspan]")&&(n=e(t).attr("colspan"));return parseInt(n)||0}function M(t){var n=e(t).attr("data-tableexport-rowspan");"undefined"===typeof n&&e(t).is("[rowspan]")&&(n=e(t).attr("rowspan"));return parseInt(n)||0}function I(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,N),"object"===typeof e&&void 0!==e.nodeType?window.getComputedStyle(e,null).getPropertyValue(t):"object"===typeof e&&e.length?e.getPropertyValue(t):""):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function j(e,t,n){t=I(e,t).match(/\d+/);if(null!==t){t=t[0];e=e.parentElement;var o=document.createElement("div");o.style.overflow="hidden";o.style.visibility="hidden";e.appendChild(o);o.style.width=100+n;n=100/o.offsetWidth;e.removeChild(o);return t*n}return 0}function D(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),o=0;o!==e.length;++o)n[o]=e.charCodeAt(o)&255;return t}function U(e){var t=e.c,n="";for(++t;t;t=Math.floor((t-1)/26))n=String.fromCharCode((t-1)%26+65)+n;return n+(""+(e.r+1))}function z(e,t){if("undefined"===typeof t||"number"===typeof t)return z(e.s,e.e);"string"!==typeof e&&(e=U(e));"string"!==typeof t&&(t=U(t));return e===t?e:e+":"+t}function L(e,t){var n=Number(e);if(isFinite(n))return n;var o=1;""!==t.thousandsSeparator&&(e=e.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2"));"."!==t.decimalMark&&(e=e.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2"));e=e.replace(/[$]/g,"").replace(/[%]/g,(function(){o*=100;return""}));if(isFinite(n=Number(e)))return n/o;e=e.replace(/[(](.*)[)]/,(function(e,t){o=-o;return t}));return isFinite(n=Number(e))?n/o:n}function H(e){var t=0,n;if(0===e.length)return t;var o=0;for(n=e.length;o<n;o++){var r=e.charCodeAt(o);t=(t<<5)-t+r;t|=0}return t}function B(e,t,n,o,r,i){var l=!0;"function"===typeof ie.onBeforeSaveToFile&&(l=ie.onBeforeSaveToFile(e,t,n,o,r),"boolean"!==typeof l&&(l=!0));if(l)try{if(ye=i?new Blob([String.fromCharCode(65279),[e]],{type:n+";charset="+o}):new Blob([e],{type:n+";charset="+o}),saveAs(ye,t,{autoBom:!1}),"function"===typeof ie.onAfterSaveToFile)ie.onAfterSaveToFile(e,t)}catch(l){K(t,"data:"+n+(o.length?";charset="+o:"")+(r.length?";"+r:"")+",",i?"\ufeff"+e:e)}}function K(e,t,n){var o=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([n]),e);else if(!1!==e&&(0<o.indexOf("MSIE ")||o.match(/Trident.*rv\:11\./))){if(t=document.createElement("iframe")){document.body.appendChild(t);t.setAttribute("style","display:none");t.contentDocument.open("txt/plain","replace");t.contentDocument.write(n);t.contentDocument.close();t.contentWindow.focus();switch(e.substr(e.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}t.contentDocument.execCommand("SaveAs",!0,e);document.body.removeChild(t)}}else{var r=document.createElement("a");if(r){var i=null;r.style.display="none";!1!==e?r.download=e:r.target="_blank";"object"===typeof n?(window.URL=window.URL||window.webkitURL,o=[],o.push(n),i=window.URL.createObjectURL(new Blob(o,{type:t})),r.href=i):0<=t.toLowerCase().indexOf("base64,")?r.href=t+q(n):r.href=t+encodeURIComponent(n);document.body.appendChild(r);if(document.createEvent)null===de&&(de=document.createEvent("MouseEvents")),de.initEvent("click",!0,!1),r.dispatchEvent(de);else if(document.createEventObject)r.fireEvent("onclick");else if("function"===typeof r.onclick)r.onclick();setTimeout((function(){i&&window.URL.revokeObjectURL(i);document.body.removeChild(r);if("function"===typeof ie.onAfterSaveToFile)ie.onAfterSaveToFile(n,e)}),100)}}}function q(e){var t,n="",o=0;if("string"===typeof e){e=e.replace(/\x0d\x0a/g,"\n");var r="";for(t=0;t<e.length;t++){var i=e.charCodeAt(t);128>i?r+=String.fromCharCode(i):(127<i&&2048>i?r+=String.fromCharCode(i>>6|192):(r+=String.fromCharCode(i>>12|224),r+=String.fromCharCode(i>>6&63|128)),r+=String.fromCharCode(i&63|128))}e=r}for(;o<e.length;){var l=e.charCodeAt(o++);r=e.charCodeAt(o++);t=e.charCodeAt(o++);i=l>>2;l=(l&3)<<4|r>>4;var a=(r&15)<<2|t>>6;var s=t&63;isNaN(r)?a=s=64:isNaN(t)&&(s=64);n=n+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(i)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)}return n}function X(e,t,n,o){t&&"object"===typeof t||console.error("The headers should be an object or array, is: "+typeof t);n&&"object"===typeof n||console.error("The data should be an object or array, is: "+typeof n);o&&"object"!==typeof o&&console.error("The data should be an object or array, is: "+typeof n);Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable");ot=e;it=Y(o||{});lt=1;rt={y:!1===it.startY?it.margin.top:it.startY};e={textColor:30,fontSize:ot.internal.getFontSize(),fontStyle:ot.internal.getFont().fontStyle,fontName:ot.internal.getFont().fontName};V(t,n);Z();t=it.startY+it.margin.bottom+at.headerRow.height+(at.rows[0]&&"auto"===it.pageBreak?at.rows[0].height:0);"avoid"===it.pageBreak&&(t+=at.height);if("always"===it.pageBreak&&!1!==it.startY||!1!==it.startY&&t>ot.internal.pageSize.height)ot.addPage(),rt.y=it.margin.top;J(e);it.beforePageContent(ee());!1!==it.drawHeaderRow(at.headerRow,ee({row:at.headerRow}))&&G(at.headerRow,it.drawHeaderCell);J(e);Q();it.afterPageContent(ee());J(e);return ot}function _(e,t,n,o){"number"===typeof t&&"number"===typeof n||console.error("The x and y parameters are required. Missing for the text: ",e);var r=ot.internal.getFontSize()/ot.internal.scaleFactor,i=/\r\n|\r|\n/g,l=null,a=1;if("middle"===o.valign||"bottom"===o.valign||"center"===o.halign||"right"===o.halign)l="string"===typeof e?e.split(i):e,a=l.length||1;n+=r*(2-1.15);"middle"===o.valign?n-=a/2*r:"bottom"===o.valign&&(n-=a*r);if("center"===o.halign||"right"===o.halign){i=r;"center"===o.halign&&(i*=.5);if(l&&1<=a){for(e=0;e<l.length;e++)ot.text(l[e],t-ot.getStringUnitWidth(l[e])*i,n),n+=r;return ot}t-=ot.getStringUnitWidth(e)*i}ot.text(e,t,n);return ot}function Y(e){var n=oe(t(),e);"undefined"!==typeof n.extendWidth&&(n.tableWidth=n.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead."));"undefined"!==typeof n.margins&&("undefined"===typeof n.margin&&(n.margin=n.margins),console.error("Use of deprecated option: margins, use margin instead."));[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(e){var t="string"===typeof e?e:e[0];e="string"===typeof e?e:e[1];"undefined"!==typeof n[t]&&("undefined"===typeof n.styles[e]&&(n.styles[e]=n[t]),console.error("Use of deprecated option: "+t+", use the style "+e+" instead."))}));var o=n.margin;n.margin={};"number"===typeof o.horizontal&&(o.right=o.horizontal,o.left=o.horizontal);"number"===typeof o.vertical&&(o.top=o.vertical,o.bottom=o.vertical);["top","right","bottom","left"].forEach((function(e,t){"number"===typeof o?n.margin[e]=o:(t=Array.isArray(o)?t:e,n.margin[e]="number"===typeof o[t]?o[t]:40)}));return n}function V(t,l){at=new n;at.x=it.margin.left;var a=/\r\n|\r|\n/g,s=new o(t);s.index=-1;var f=oe(se,ae[it.theme].table,ae[it.theme].header);s.styles=oe(f,it.styles,it.headerStyles);t.forEach((function(t,n){"object"===typeof t&&(n="undefined"!==typeof t.dataKey?t.dataKey:t.key);"undefined"!==typeof t.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");var o=new i(n);o.styles=it.columnStyles[o.dataKey]||{};at.columns.push(o);var l=new r;l.raw="object"===typeof t?t.title:t;l.styles=e.extend({},s.styles);l.text=""+l.raw;l.contentWidth=2*l.styles.cellPadding+ne(l.text,l.styles);l.text=l.text.split(a);s.cells[n]=l;it.createdHeaderCell(l,{column:o,row:s,settings:it})}));at.headerRow=s;l.forEach((function(e,t){var n=new o(e),i=0===t%2,l=oe(se,ae[it.theme].table,i?ae[it.theme].alternateRow:{});i=oe(it.styles,it.bodyStyles,i?it.alternateRowStyles:{});n.styles=oe(l,i);n.index=t;at.columns.forEach((function(t){var o=new r;o.raw=e[t.dataKey];o.styles=oe(n.styles,t.styles);o.text="undefined"!==typeof o.raw?""+o.raw:"";n.cells[t.dataKey]=o;it.createdCell(o,ee({column:t,row:n}));o.contentWidth=2*o.styles.cellPadding+ne(o.text,o.styles);o.text=o.text.split(a)}));at.rows.push(n)}))}function Z(){var e=0;at.columns.forEach((function(t){t.contentWidth=at.headerRow.cells[t.dataKey].contentWidth;at.rows.forEach((function(e){e=e.cells[t.dataKey].contentWidth;e>t.contentWidth&&(t.contentWidth=e)}));t.width=t.contentWidth;e+=t.contentWidth}));at.contentWidth=e;var t=ot.internal.pageSize.width-it.margin.left-it.margin.right,n=t;"number"===typeof it.tableWidth?n=it.tableWidth:"wrap"===it.tableWidth&&(n=at.contentWidth);at.width=n<t?n:t;var o=[],r=0,i=at.width/at.columns.length,l=0;at.columns.forEach((function(e){var t=oe(se,ae[it.theme].table,it.styles,e.styles);"wrap"===t.columnWidth?e.width=e.contentWidth:"number"===typeof t.columnWidth?e.width=t.columnWidth:e.contentWidth<=i&&at.contentWidth>at.width?e.width=e.contentWidth:(o.push(e),r+=e.contentWidth,e.width=0);l+=e.width}));$(o,l,r,i);at.height=0;at.rows.concat(at.headerRow).forEach((function(e,t){var n=0,o=at.x;at.columns.forEach((function(t){var r=e.cells[t.dataKey];t.x=o;J(r.styles);var i=t.width-2*r.styles.cellPadding;"linebreak"===r.styles.overflow?r.text=ot.splitTextToSize(r.text,i+1,{fontSize:r.styles.fontSize}):"ellipsize"===r.styles.overflow?r.text=te(r.text,i,r.styles):"visible"!==r.styles.overflow&&("hidden"===r.styles.overflow?r.text=te(r.text,i,r.styles,""):"function"===typeof r.styles.overflow?r.text=r.styles.overflow(r.text,i):console.error("Unrecognized overflow type: "+r.styles.overflow));r=Array.isArray(r.text)?r.text.length-1:0;r>n&&(n=r);o+=t.width}));e.heightStyle=e.styles.rowHeight;e.height=e.heightStyle+n*e.styles.fontSize*1.15+(2-1.15)/2*e.styles.fontSize;at.height+=e.height}))}function $(e,t,n,o){for(var r=at.width-t-n,i=0;i<e.length;i++){var l=e[i],a=l.contentWidth/n,s=l.contentWidth+r*a<o;if(0>r&&s){e.splice(i,1);n-=l.contentWidth;l.width=o;t+=l.width;$(e,t,n,o);break}else l.width=l.contentWidth+r*a}}function Q(){at.rows.forEach((function(e,t){rt.y+e.height+it.margin.bottom>=ot.internal.pageSize.height&&(it.afterPageContent(ee()),ot.addPage(),lt++,rt={x:it.margin.left,y:it.margin.top},it.beforePageContent(ee()),!1!==it.drawHeaderRow(at.headerRow,ee({row:at.headerRow}))&&G(at.headerRow,it.drawHeaderCell));e.y=rt.y;!1!==it.drawRow(e,ee({row:e}))&&G(e,it.drawCell)}))}function G(e,t){for(var n=0;n<at.columns.length;n++){var o=at.columns[n],r=e.cells[o.dataKey];r&&(J(r.styles),r.x=o.x,r.y=rt.y,r.height=e.height,r.width=o.width,r.textPos.y="top"===r.styles.valign?rt.y+r.styles.cellPadding:"bottom"===r.styles.valign?rt.y+e.height-r.styles.cellPadding:rt.y+e.height/2,r.textPos.x="right"===r.styles.halign?r.x+r.width-r.styles.cellPadding:"center"===r.styles.halign?r.x+r.width/2:r.x+r.styles.cellPadding,o=ee({column:o,row:e}),!1!==t(r,o)&&(ot.rect(r.x,r.y,r.width,r.height,r.styles.fillStyle),_(r.text,r.textPos.x,r.textPos.y,{halign:r.styles.halign,valign:r.styles.valign})))}rt.y+=e.height}function J(e){[{func:ot.setFillColor,value:e.fillColor},{func:ot.setTextColor,value:e.textColor},{func:ot.setFont,value:e.font,style:e.fontStyle},{func:ot.setDrawColor,value:e.lineColor},{func:ot.setLineWidth,value:e.lineWidth},{func:ot.setFont,value:e.font},{func:ot.setFontSize,value:e.fontSize}].forEach((function(e){"undefined"!==typeof e.value&&(e.value.constructor===Array?e.func.apply(ot,e.value):"undefined"!==typeof e.style?e.func(e.value,e.style):e.func(e.value))}))}function ee(e){e=e||{};var t={pageCount:lt,settings:it,table:at,cursor:rt},n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function te(e,t,n,o){o="undefined"!==typeof o?o:"...";if(Array.isArray(e))return e.forEach((function(r,i){e[i]=te(r,t,n,o)})),e;if(t>=ne(e,n))return e;for(;t<ne(e+o,n)&&!(2>e.length);)e=e.substring(0,e.length-1);return e.trim()+o}function ne(e,t){J(t);return ot.getStringUnitWidth(e)*t.fontSize}function oe(e){var t={},n;for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);for(var o=1;o<arguments.length;o++){var r=arguments[o];for(n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}return t}var re,ie={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xlsx:{formatId:{date:14,numbers:2,currency:164},format:{currency:"$#,##0.00;[Red]-$#,##0.00"},onHyperlink:null}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#000000",fontSize:8,font:"Roboto"}},fonts:{},widths:"*"},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},le={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},ae={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},se={cellPadding:5,fontSize:10,fontName:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},fe=this,de=null,ce=[],he=[],ue=0,pe="",ge=[],me=[],ye,we=[],xe=!1;e.extend(!0,ie,l);"xlsx"===ie.type&&(ie.mso.fileFormat=ie.type,ie.type="excel");"undefined"!==typeof ie.excelFileFormat&&"undefined"===typeof ie.mso.fileFormat&&(ie.mso.fileFormat=ie.excelFileFormat);"undefined"!==typeof ie.excelPageFormat&&"undefined"===typeof ie.mso.pageFormat&&(ie.mso.pageFormat=ie.excelPageFormat);"undefined"!==typeof ie.excelPageOrientation&&"undefined"===typeof ie.mso.pageOrientation&&(ie.mso.pageOrientation=ie.excelPageOrientation);"undefined"!==typeof ie.excelRTL&&"undefined"===typeof ie.mso.rtl&&(ie.mso.rtl=ie.excelRTL);"undefined"!==typeof ie.excelstyles&&"undefined"===typeof ie.mso.styles&&(ie.mso.styles=ie.excelstyles);"undefined"!==typeof ie.onMsoNumberFormat&&"undefined"===typeof ie.mso.onMsoNumberFormat&&(ie.mso.onMsoNumberFormat=ie.onMsoNumberFormat);"undefined"!==typeof ie.worksheetName&&"undefined"===typeof ie.mso.worksheetName&&(ie.mso.worksheetName=ie.worksheetName);"undefined"!==typeof ie.mso.xslx&&"undefined"===typeof ie.mso.xlsx&&(ie.mso.xlsx=ie.mso.xslx);ie.mso.pageOrientation="l"===ie.mso.pageOrientation.substr(0,1)?"landscape":"portrait";ie.date.html=ie.date.html||"";if(ie.date.html.length){var be=[];be.dd="(3[01]|[12][0-9]|0?[1-9])";be.mm="(1[012]|0?[1-9])";be.yyyy="((?:1[6-9]|2[0-2])\\d{2})";be.yy="(\\d{2})";var ve=ie.date.html.match(/[^a-zA-Z0-9]/)[0],Se=ie.date.html.toLowerCase().split(ve);ie.date.regex="^\\s*";ie.date.regex+=be[Se[0]];ie.date.regex+="(.)";ie.date.regex+=be[Se[1]];ie.date.regex+="\\2";ie.date.regex+=be[Se[2]];ie.date.regex+="\\s*$";ie.date.pattern=new RegExp(ie.date.regex,"g");var Ce=Se.indexOf("dd")+1;ie.date.match_d=Ce+(1<Ce?1:0);Ce=Se.indexOf("mm")+1;ie.date.match_m=Ce+(1<Ce?1:0);Ce=(0<=Se.indexOf("yyyy")?Se.indexOf("yyyy"):Se.indexOf("yy"))+1;ie.date.match_y=Ce+(1<Ce?1:0)}ge=d(fe);if("function"===typeof ie.onTableExportBegin)ie.onTableExportBegin();if("csv"===ie.type||"tsv"===ie.type||"txt"===ie.type){var ke="",Fe=0;me=[];ue=0;var Re=function(t,n,o){t.each((function(){pe="";p(this,n,ue,o+t.length,(function(e,t,n){var o=pe,r="";if(null!==e)if(e=W(e,t,n),t=null===e||""===e?"":e.toString(),"tsv"===ie.type)e instanceof Date&&e.toLocaleStr
7ing(),r=S(t,"\t"," ");else if(e instanceof Date)r=ie.csvEnclosure+e.toLocaleString()+ie.csvEnclosure;else if(r=A(t),r=S(r,ie.csvEnclosure,ie.csvEnclosure+ie.csvEnclosure),0<=r.indexOf(ie.csvSeparator)||/[\r\n ]/g.test(r))r=ie.csvEnclosure+r+ie.csvEnclosure;pe=o+(r+("tsv"===ie.type?"\t":ie.csvSeparator))}));pe=e.trim(pe).substring(0,pe.length-1);0<pe.length&&(0<ke.length&&(ke+="\n"),ke+=pe);ue++}));return t.length};Fe+=Re(e(fe).find("thead").first().find(ie.theadSelector),"th,td",Fe);f(e(fe),"tbody").each((function(){Fe+=Re(f(e(this),ie.tbodySelector),"td,th",Fe)}));ie.tfootSelector.length&&Re(e(fe).find("tfoot").first().find(ie.tfootSelector),"td,th",Fe);ke+="\n";if("string"===ie.outputMode)return ke;if("base64"===ie.outputMode)return q(ke);if("window"===ie.outputMode){K(!1,"data:text/"+("csv"===ie.type?"csv":"plain")+";charset=utf-8,",ke);return}B(ke,ie.fileName+"."+ie.type,"text/"+("csv"===ie.type?"csv":"plain"),"utf-8","","csv"===ie.type&&ie.csvUseBOM)}else if("sql"===ie.type){ue=0;me=[];var Ee="INSERT INTO "+ie.sql.tableEnclosure+ie.tableName+ie.sql.tableEnclosure+" (";ce=a(e(fe));e(ce).each((function(){p(this,"th,td",ue,ce.length,(function(e,t,n){e=W(e,t,n)||"";-1<e.indexOf(ie.sql.columnEnclosure)&&(e=S(e.toString(),ie.sql.columnEnclosure,ie.sql.columnEnclosure+ie.sql.columnEnclosure));Ee+=ie.sql.columnEnclosure+e+ie.sql.columnEnclosure+","}));ue++;Ee=e.trim(Ee).substring(0,Ee.length-1)}));Ee+=") VALUES ";he=s(e(fe));e(he).each((function(){pe="";p(this,"td,th",ue,ce.length+he.length,(function(e,t,n){e=W(e,t,n)||"";-1<e.indexOf("'")&&(e=S(e.toString(),"'","''"));pe+="'"+e+"',"}));3<pe.length&&(Ee+="("+pe,Ee=e.trim(Ee).substring(0,Ee.length-1),Ee+="),");ue++}));Ee=e.trim(Ee).substring(0,Ee.length-1);Ee+=";";if("string"===ie.outputMode)return Ee;if("base64"===ie.outputMode)return q(Ee);B(Ee,ie.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===ie.type){var We=[];me=[];ce=a(e(fe));e(ce).each((function(){var e=[];p(this,"th,td",ue,ce.length,(function(t,n,o){e.push(W(t,n,o))}));We.push(e)}));var Ae=[];he=s(e(fe));e(he).each((function(){var t={},n=0;p(this,"td,th",ue,ce.length+he.length,(function(e,o,r){We.length?t[We[We.length-1][n]]=W(e,o,r):t[n]=W(e,o,r);n++}));!1===e.isEmptyObject(t)&&Ae.push(t);ue++}));var Ne="head"===ie.jsonScope?JSON.stringify(We):"data"===ie.jsonScope?JSON.stringify(Ae):JSON.stringify({header:We,data:Ae});if("string"===ie.outputMode)return Ne;if("base64"===ie.outputMode)return q(Ne);B(Ne,ie.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===ie.type){ue=0;me=[];var Oe='<?xml version="1.0" encoding="utf-8"?>';Oe+="<tabledata><fields>";ce=a(e(fe));e(ce).each((function(){p(this,"th,td",ue,ce.length,(function(e,t,n){Oe+="<field>"+W(e,t,n)+"</field>"}));ue++}));Oe+="</fields><data>";var Te=1;he=s(e(fe));e(he).each((function(){var e=1;pe="";p(this,"td,th",ue,ce.length+he.length,(function(t,n,o){pe+="<column-"+e+">"+W(t,n,o)+"</column-"+e+">";e++}));0<pe.length&&"<column-1></column-1>"!==pe&&(Oe+='<row id="'+Te+'">'+pe+"</row>",Te++);ue++}));Oe+="</data></tabledata>";if("string"===ie.outputMode)return Oe;if("base64"===ie.outputMode)return q(Oe);B(Oe,ie.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===ie.type&&"xmlss"===ie.mso.fileFormat){var Pe=[],Me=[];e(fe).filter((function(){return c(e(this))})).each((function(){function t(t,n,o){var r=[];e(t).each((function(){var n=0,i=0;pe="";p(this,"td,th",ue,o+t.length,(function(t,o,l){if(null!==t){var a="";o=W(t,o,l);l="String";if(!1!==jQuery.isNumeric(o))l="Number";else{var s=E(o);!1!==s&&(o=s,l="Number",a+=' ss:StyleID="pct1"')}"Number"!==l&&(o=o.replace(/\n/g,"<br>"));s=P(t);t=M(t);e.each(r,(function(){if(ue>=this.s.r&&ue<=this.e.r&&i>=this.s.c&&i<=this.e.c)for(var e=0;e<=this.e.c-this.s.c;++e)i++,n++}));if(t||s)t=t||1,s=s||1,r.push({s:{r:ue,c:i},e:{r:ue+t-1,c:i+s-1}});1<s&&(a+=' ss:MergeAcross="'+(s-1)+'"',i+=s-1);1<t&&(a+=' ss:MergeDown="'+(t-1)+'" ss:StyleID="rsp1"');0<n&&(a+=' ss:Index="'+(i+1)+'"',n=0);pe+="<Cell"+a+'><Data ss:Type="'+l+'">'+e("<div />").text(o).html()+"</Data></Cell>\r";i++}}));0<pe.length&&(re+='<Row ss:AutoFitHeight="0">\r'+pe+"</Row>\r");ue++}));return t.length}var n=e(this),o="";"string"===typeof ie.mso.worksheetName&&ie.mso.worksheetName.length?o=ie.mso.worksheetName+" "+(Me.length+1):"undefined"!==typeof ie.mso.worksheetName[Me.length]&&(o=ie.mso.worksheetName[Me.length]);o.length||(o=n.find("caption").text()||"");o.length||(o="Table "+(Me.length+1));o=e.trim(o.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));Me.push(e("<div />").text(o).html());!1===ie.exportHiddenCells&&(we=n.find("tr, th, td").filter(":hidden"),xe=0<we.length);ue=0;ge=d(this);re="<Table>\r";
vendor: 18,807 bytes, line 7
7o=t(a(n),"th,td",0);t(s(n),"td,th",o);re+="</Table>\r";Pe.push(re)}));for(var Ie={},je={},De,Ue,ze=0,Le=Me.length;ze<Le;ze++)De=Me[ze],Ue=Ie[De],Ue=Ie[De]=null==Ue?1:Ue+1,2===Ue&&(Me[je[De]]=Me[je[De]].substring(0,29)+"-1"),1<Ie[De]?Me[ze]=Me[ze].substring(0,29)+"-"+Ie[De]:je[De]=ze;for(var He='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r  <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r  <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r  <WindowHeight>9000</WindowHeight>\r  <WindowWidth>13860</WindowWidth>\r  <WindowTopX>0</WindowTopX>\r  <WindowTopY>0</WindowTopY>\r  <ProtectStructure>False</ProtectStructure>\r  <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r  <Style ss:ID="Default" ss:Name="Normal">\r    <Alignment ss:Vertical="Bottom"/>\r    <Borders/>\r    <Font/>\r    <Interior/>\r    <NumberFormat/>\r    <Protection/>\r  </Style>\r  <Style ss:ID="rsp1">\r    <Alignment ss:Vertical="Center"/>\r  </Style>\r  <Style ss:ID="pct1">\r    <NumberFormat ss:Format="Percent"/>\r  </Style>\r</Styles>\r',Be=0;Be<Pe.length;Be++)He+='<Worksheet ss:Name="'+Me[Be]+'" ss:RightToLeft="'+(ie.mso.rtl?"1":"0")+'">\r'+Pe[Be],He=ie.mso.rtl?He+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':He+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',He+="</Worksheet>\r";He+="</Workbook>\r";if("string"===ie.outputMode)return He;if("base64"===ie.outputMode)return q(He);B(He,ie.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===ie.type&&"xlsx"===ie.mso.fileFormat){var Ke=[],qe=XLSX.utils.book_new();e(fe).filter((function(){return c(e(this))})).each((function(){for(var t=e(this),n,o={},r=this.getElementsByTagName("tr"),i=Math.min(1e7,r.length),l={s:{r:0,c:0},e:{r:0,c:0}},a=[],s,f=0,d=0,h,p,g,m,y,w=XLSX.SSF.get_table();f<r.length&&d<i;++f)if(h=r[f],p=!1,"function"===typeof ie.onIgnoreRow&&(p=ie.onIgnoreRow(e(h),f)),!0!==p&&(0===ie.ignoreRow.length||-1===e.inArray(f,ie.ignoreRow)&&-1===e.inArray(f-r.length,ie.ignoreRow))&&!1!==c(e(h))){var x=h.children,b=0;for(h=0;h<x.length;++h)y=x[h],m=+P(y)||1,b+=m;var v=0;for(h=p=0;h<x.length;++h)if(y=x[h],m=+P(y)||1,s=h+v,!u(e(y),b,s+(s<p?p-s:0))){v+=m-1;for(s=0;s<a.length;++s){var S=a[s];S.s.c==p&&S.s.r<=d&&d<=S.e.r&&(p=S.e.c+1,s=-1)}(0<(g=+M(y))||1<m)&&a.push({s:{r:d,c:p},e:{r:d+(g||1)-1,c:p+m-1}});var C={type:""};S=W(y,f,h+v,C);s={t:"s",v:S};var k="";if(""!==(e(y).attr("data-tableexport-cellformat")||void 0))if(n=parseInt(e(y).attr("data-tableexport-xlsxformatid")||0),0===n&&"function"===typeof ie.mso.xlsx.formatId.numbers&&(n=ie.mso.xlsx.formatId.numbers(e(y),f,h+v)),0===n&&"function"===typeof ie.mso.xlsx.formatId.date&&(n=ie.mso.xlsx.formatId.date(e(y),f,h+v)),49===n||"@"===n)k="s";else if("number"===C.type||0<n&&14>n||36<n&&41>n||48===n)k="n";else{if("date"===C.type||13<n&&37>n||44<n&&48>n||56===n)k="d"}else k="s";if(null!=S){if(0===S.length)s.t="z";else if(0!==S.trim().length&&"s"!==k)if("function"===C.type)s={f:S};else if("TRUE"===S)s={t:"b",v:!0};else if("FALSE"===S)s={t:"b",v:!1};else if("n"===k||isFinite(L(S,ie.numbers.output))){if(k=L(S,ie.numbers.output),0===n&&"function"!==typeof ie.mso.xlsx.formatId.numbers&&(n=ie.mso.xlsx.formatId.numbers),isFinite(k)||isFinite(S))s={t:"n",v:isFinite(k)?k:S,z:"string"===typeof n?n:n in w?w[n]:n===ie.mso.xlsx.formatId.currency?ie.mso.xlsx.format.currency:"0.00"}}else if(!1!==(C=F(S))||"d"===k)0===n&&"function"!==typeof ie.mso.xlsx.formatId.date&&(n=ie.mso.xlsx.formatId.date),s={t:"d",v:!1!==C?C:S,z:"string"===typeof n?n:n in w?w[n]:"m/d/yy"};(k=e(y).find("a"))&&k.length&&(k=k[0].hasAttribute("href")?k.attr("href"):"",S="href"!==ie.htmlHyperlink||""===k?S:"",C=""!==k?'=HYPERLINK("'+k+(S.length?'","'+S:"")+'")':"",""!==C&&("function"===typeof ie.mso.xlsx.onHyperlink?(S=ie.mso.xlsx.onHyperlink(e(y),f,h,k,S,C),s=0!==S.indexOf("=HYPERLINK")?{t:"s",v:S}:{f:S}):s={f:C}))}o[U({c:p,r:d})]=s;l.e.c<p&&(l.e.c=p);p+=m}++d}a.length&&(o["!merges"]=(o["!merges"]||[]).concat(a));l.e.r=Math.max(l.e.r,d-1);o["!ref"]=z(l);d>=i&&(o["!fullref"]=z((l.e.r=r.length-f+d-1,l)));n="";"string"===typeof ie.mso.worksheetName&&ie.mso.worksheetName.length?n=ie.mso.worksheetName+" "+(Ke.length+1):"undefined"!==typeof ie.mso.worksheetName[Ke.length]&&(n=ie.mso.worksheetName[Ke.length]);n.length||(n=t.find("caption").text()||"");n.length||(n="Table "+(Ke.length+1));n=e.trim(n.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));Ke.push(n);XLSX.utils.book_append_sheet(qe,o,n)}));var Xe=XLSX.write(qe,{type:"binary",bookType:ie.mso.fileFormat,bookSST:!1});B(D(Xe),ie.fileName+"."+ie.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===ie.type||"xls"===ie.type||"word"===ie.type||"doc"===ie.type){var _e="excel"===ie.type||"xls"===ie.type?"excel":"word",Ye="excel"===_e?"xls":"doc",Ve='xmlns:x="urn:schemas-microsoft-com:office:'+_e+'"',Ze=re="";e(fe).filter((function(){return c(e(this))})).each((function(){var t=e(this);""===Ze&&(Ze=ie.mso.worksheetName||t.find("caption").text()||"Table",Ze=e.trim(Ze.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)));!1===ie.exportHiddenCells&&(we=t.find("tr, th, td").filter(":hidden"),xe=0<we.length);ue=0;me=[];ge=d(this);re+="<table><thead>";ce=a(t);e(ce).each((function(){var t=e(this),n=document.defaultView.getComputedStyle(t[0],null);pe="";p(this,"th,td",ue,ce.length,(function(e,t,o){if(null!==e){var r="";pe+="<th";if(ie.mso.styles.length){var i=document.defaultView.getComputedStyle(e,null),l;for(l in ie.mso.styles){var a=ie.mso.styles[l],s=I(i,a);""===s&&(s=I(n,a));""!==s&&"0px none rgb(0, 0, 0)"!==s&&"rgba(0, 0, 0, 0)"!==s&&(r+=""===r?'style="':";",r+=a+":"+s)}}""!==r&&(pe+=" "+r+'"');r=P(e);0<r&&(pe+=' colspan="'+r+'"');r=M(e);0<r&&(pe+=' rowspan="'+r+'"');pe+=">"+W(e,t,o)+"</th>"}}));0<pe.length&&(re+="<tr>"+pe+"</tr>");ue++}));re+="</thead><tbody>";he=s(t);e(he).each((function(){var t=e(this),n=null,o=null;pe="";p(this,"td,th",ue,ce.length+he.length,(function(r,i,l){if(null!==r){var a=W(r,i,l),s="",f=e(r).attr("data-tableexport-msonumberformat");"undefined"===typeof f&&"function"===typeof ie.mso.onMsoNumberFormat&&(f=ie.mso.onMsoNumberFormat(r,i,l));"undefined"!==typeof f&&""!==f&&(s="style=\"mso-number-format:'"+f+"'");if(ie.mso.styles.length){n=document.defaultView.getComputedStyle(r,null);o=null;for(var d in ie.mso.styles)i=ie.mso.styles[d],f=I(n,i),""===f&&(null===o&&(o=document.defaultView.getComputedStyle(t[0],null)),f=I(o,i)),""!==f&&"0px none rgb(0, 0, 0)"!==f&&"rgba(0, 0, 0, 0)"!==f&&(s+=""===s?'style="':";",s+=i+":"+f)}pe+="<td";""!==s&&(pe+=" "+s+'"');s=P(r);0<s&&(pe+=' colspan="'+s+'"');r=M(r);0<r&&(pe+=' rowspan="'+r+'"');"string"===typeof a&&""!==a&&(a=A(a),a=a.replace(/\n/g,"<br>"));pe+=">"+a+"</td>"}}));0<pe.length&&(re+="<tr>"+pe+"</tr>");ue++}));ie.displayTableName&&(re+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+W(e("<p>"+ie.tableName+"</p>"))+"</td></tr>");re+="</tbody></table>"}));var $e='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+Ve+' xmlns="http://www.w3.org/TR/REC-html40">';$e+="<head>";$e+='<meta http-equiv="content-type" content="application/vnd.ms-'+_e+'; charset=UTF-8">';"excel"===_e&&($e+="\x3c!--[if gte mso 9]>",$e+="<xml>",$e+="<x:ExcelWorkbook>",$e+="<x:ExcelWorksheets>",$e+="<x:ExcelWorksheet>",$e+="<x:Name>",$e+=Ze,$e+="</x:Name>",$e+="<x:WorksheetOptions>",$e+="<x:DisplayGridlines/>",ie.mso.rtl&&($e+="<x:DisplayRightToLeft/>"),$e+="</x:WorksheetOptions>",$e+="</x:ExcelWorksheet>",$e+="</x:ExcelWorksheets>",$e+="</x:ExcelWorkbook>",$e+="</xml>",$e+="<![endif]--\x3e");$e+="<style>";$e+="@page { size:"+ie.mso.pageOrientation+"; mso-page-orientation:"+ie.mso.pageOrientation+"; }";$e+="@page Section1 {size:"+le[ie.mso.pageFormat][0]+"pt "+le[ie.mso.pageFormat][1]+"pt";$e+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";$e+="div.Section1 {page:Section1;}";$e+="@page Section2 {size:"+le[ie.mso.pageFormat][1]+"pt "+le[ie.mso.pageFormat][0]+"pt";$e+=";mso-page-orientation:"+ie.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";$e+="div.Section2 {page:Section2;}";$e+="br {mso-data-placement:same-cell;}";$e+="</style>";$e+="</head>";$e+="<body>";$e+='<div class="Section'+("landscape"===ie.mso.pageOrientation?"2":"1")+'">';$e+=re;$e+="</div>";$e+="</body>";$e+="</html>";if("string"===ie.outputMode)return $e;if("base64"===ie.outputMode)return q($e);B($e,ie.fileName+"."+Ye,"application/vnd.ms-"+_e,"","base64",!1)}else if("png"===ie.type)html2canvas(e(fe)[0]).then((function(e){e=e.toDataURL();for(var t=atob(e.substring(22)),n=new ArrayBuffer(t.length),o=new Uint8Array(n),r=0;r<t.length;r++)o[r]=t.charCodeAt(r);if("string"===ie.outputMode)return t;if("base64"===ie.outputMode)return q(e);"window"===ie.outputMode?window.open(e):B(n,ie.fileName+".png","image/png","","",!1)}));else if("pdf"===ie.type)if(!0===ie.pdfmake.enabled){var Qe={content:[]};e.extend(!0,Qe,ie.pdfmake.docDefinition);me=[];e(fe).filter((function(){return c(e(this))})).each((function(){var t=e(this),n=[],o="*",r=[];ue=0;"string"!==typeof ie.pdfmake.widths||"*"!==ie.pdfmake.widths.trim()&&"auto"!==ie.pdfmake.widths.trim()?Array.isArray(ie.pdfmake.widths)&&(n=ie.pdfmake.widths):o=ie.pdfmake.widths.trim();var i=function(t,n,o){var i=0;e(t).each((function(){var e=[];p(this,n,ue,o,(function(t,o,r){if("undefined"!==typeof t&&null!==t){var i=P(t),l=M(t);t={text:W(t,o,r)||" "};if(1<i||1<l)t.colSpan=i||1,t.rowSpan=l||1}else t={text:" "};0<=n.indexOf("th")&&(t.style="header");e.push(t)}));e.length&&r.push(e);i<e.length&&(i=e.length);ue++}));return i};ce=a(t);for(var l=i(ce,"th,td",ce.length),f=n.length;f<l;f++)n.push(o);he=s(t);l=i(he,"td",ce.length+he.length);for(t=n.length;t<l;t++)n.push(o);Qe.content.push({table:{headerRows:ce.length?ce.length:null,widths:n,body:r},layout:{layout:"noBorders",hLineStyle:function(e,t){return 0},vLineWidth:function(e,t){return 0},hLineColor:function(e,t){return e<t.table.headerRows?ie.pdfmake.docDefinition.styles.header.background:ie.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(e,t){return e<t.table.headerRows?ie.pdfmake.docDefinition.styles.header.background:ie.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(e,t,n){return 0===e%2?ie.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:Qe.content.length?"before":void 0})}));"undefined"!==typeof pdfMake&&"undefined"!==typeof pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(Qe.defaultStyle.font="Mirza",e.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(Qe.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(Qe.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,pdfMake.fonts,ie.pdfmake.fonts),pdfMake.createPdf(Qe).getBuffer((function(e){B(e,ie.fileName+".pdf","application/pdf","","",!1)})))}else if(!1===ie.jspdf.autotable){var Ge=new jspdf.jsPDF({orientation:ie.jspdf.orientation,unit:ie.jspdf.unit,format:ie.jspdf.format});Ge.html(fe[0],{callback:function(){m(Ge,!1)},html2canvas:{scale:(Ge.internal.pageSize.width-2*ie.jspdf.margins.left)/fe[0].scrollWidth},x:ie.jspdf.margins.left,y:ie.jspdf.margins.top})}else{var Je=ie.jspdf.autotable.tableExport;if("string"===typeof ie.jspdf.format&&"bestfit"===ie.jspdf.format.toLowerCase()){var et="",tt="",nt=0;e(fe).each((function(){if(c(e(this))){var t=j(e(this).get(0),"width","pt");if(t>nt){t>le.a0[0]&&(et="a0",tt="l");for(var n in le)le.hasOwnProperty(n)&&le[n][1]>t&&(et=n,tt="l",le[n][0]>t&&(tt="p"));nt=t}}}));ie.jspdf.format=""===et?"a4":et;ie.jspdf.orientation=""===tt?"w":tt}if(null==Je.doc&&(Je.doc=new jspdf.jsPDF(ie.jspdf.orientation,ie.jspdf.unit,ie.jspdf.format),Je.wScaleFactor=1,Je.hScaleFactor=1,"function"===typeof ie.jspdf.onDocCreated))ie.jspdf.onDocCreated(Je.doc);se.fontName=Je.doc.getFont().fontName;!0===Je.outputImages&&(Je.images={});"undefined"!==typeof Je.images&&(e(fe).filter((function(){return c(e(this))})).each((function(){var t=0;me=[];!1===ie.exportHiddenCells&&(we=e(this).find("tr, th, td").filter(":hidden"),xe=0<we.length);ce=a(e(this));he=s(e(this));e(he).each((function(){p(this,"td,th",ce.length+t,ce.length+he.length,(function(t){w(t,e(t).children(),Je)}));t++}))})),ce=[],he=[]);x(Je,(function(){e(fe).filter((function(){return c(e(this))})).each((function(){var t;ue=0;me=[];!1===ie.exportHiddenCells&&(we=e(this).find("tr, th, td").filter(":hidden"),xe=0<we.length);ge=d(this);Je.columns=[];Je.rows=[];Je.teCells={};if("function"===typeof Je.onTable&&!1===Je.onTable(e(this),ie))return!0;ie.jspdf.autotable.tableExport=null;var n=e.extend(!0,{},ie.jspdf.autotable);ie.jspdf.autotable.tableExport=Je;n.margin={};e.extend(!0,n.margin,ie.jspdf.margins);n.tableExport=Je;"function"!==typeof n.createdHeaderCell&&(n.createdHeaderCell=function(e,t){if("undefined"!==typeof Je.columns[t.column.dataKey]){var o=Je.columns[t.column.dataKey];if("undefined"!==typeof o.rect){e.contentWidth=o.rect.width;if("undefined"===typeof Je.heightRatio||0===Je.heightRatio){var r=t.row.raw[t.column.dataKey].rowspan?t.row.raw[t.column.dataKey].rect.height/t.row.raw[t.column.dataKey].rowspan:t.row.raw[t.column.dataKey].rect.height;Je.heightRatio=e.styles.rowHeight/r}r=t.row.raw[t.column.dataKey].rect.height*Je.heightRatio;r>e.styles.rowHeight&&(e.styles.rowHeight=r)}e.styles.halign="inherit"===n.headerStyles.halign?"center":n.headerStyles.halign;e.styles.valign=n.headerStyles.valign;"undefined"!==typeof o.style&&!0!==o.style.hidden&&("inherit"===n.headerStyles.halign&&(e.styles.halign=o.style.align),"inherit"===n.styles.fillColor&&(e.styles.fillColor=o.style.bcolor),"inherit"===n.styles.textColor&&(e.styles.textColor=o.style.color),"inherit"===n.styles.fontStyle&&(e.styles.fontStyle=o.style.fstyle))}});"function"!==typeof n.createdCell&&(n.createdCell=function(e,t){t=Je.teCells[t.row.index+":"+t.column.dataKey];e.styles.halign="inherit"===n.styles.halign?"center":n.styles.halign;e.styles.valign=n.styles.valign;"undefined"!==typeof t&&"undefined"!==typeof t.style&&!0!==t.style.hidden&&("inherit"===n.styles.halign&&(e.styles.halign=t.style.align),"inherit"===n.styles.fillColor&&(e.styles.fillColor=t.style.bcolor),"inherit"===n.styles.textColor&&(e.styles.textColor=t.style.color),"inherit"===n.styles.fontStyle&&(e.styles.fontStyle=t.style.fstyle))});"function"!==typeof n.drawHeaderCell&&(n.drawHeaderCell=function(e,t){var n=Je.columns[t.column.dataKey];return(!0!==n.style.hasOwnProperty("hidden")||!0!==n.style.hidden)&&0<=n.rowIndex?y(e,t,n):!1});"function"!==typeof n.drawCell&&(n.drawCell=function(t,n){var o=Je.teCells[n.row.index+":"+n.column.dataKey];if(!0!==("undefined"!==typeof o&&o.isCanvas))y(t,n,o)&&(Je.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),"undefined"===typeof o||"undefined"!==typeof o.hasUserDefText&&!0===o.hasUserDefText||"undefined"===typeof o.elements||!o.elements.length?v(t,{},Je):(n=t.height/o.rect.height,n>Je.hScaleFactor&&(Je.hScaleFactor=n),Je.wScaleFactor=t.width/o.rect.width,n=t.textPos.y,b(t,o.elements,Je),t.textPos.y=n,v(t,o.elements,Je)));else{o=o.elements[0];var r=e(o).attr("data-tableexport-canvas"),i=o.getBoundingClientRect();t.width=i.width*Je.wScaleFactor;t.height=i.height*Je.hScaleFactor;n.row.height=t.height;g(t,o,r,Je)}return!1});Je.headerrows=[];ce=a(e(this));e(ce).each((function(){t=0;Je.headerrows[ue]=[];p(this,"th,td",ue,ce.length,(function(e,n,o){var r=T(e);r.title=W(e,n,o);r.key=t++;r.rowIndex=ue;Je.headerrows[ue].push(r)}));ue++}));if(0<ue)for(var o=ue-1;0<=o;)e.each(Je.headerrows[o],(function(){var e=this;0<o&&null===this.rect&&(e=Je.headerrows[o-1][this.key]);null!==e&&0<=e.rowIndex&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&Je.columns.push(e)})),o=0<Je.columns.length?-1:o-1;var r=0;he=[];he=s(e(this));e(he).each((function(){var n=[];t=0;p(this,"td,th",ue,ce.length+he.length,(function(o,i,l){if("undefined"===typeof Je.columns[t]){var a={title:"",key:t,style:{hidden:!0}};Je.columns.push(a)}n.push(W(o,i,l));"undefined"!==typeof o&&null!==o?(a=T(o),a.isCanvas=o.hasAttribute("data-tableexport-canvas"),a.elements=a.isCanvas?e(o):e(o).children(),"undefined"!==typeof e(o).data("teUserDefText")&&(a.hasUserDefText=!0)):(a=e.extend(!0,{},Je.teCells[r+":"+(t-1)]),a.colspan=-1);Je.teCells[r+":"+t++]=a}));n.length&&(Je.rows.push(n),r++);ue++}));if("function"===typeof Je.onBeforeAutotable)Je.onBeforeAutotable(e(this),Je.columns,Je.rows,n);X(n.tableExport.doc,Je.columns,Je.rows,n);if("function"===typeof Je.onAfterAutotable)Je.onAfterAutotable(e(this),n);var i=ie.jspdf.autotable;var l="undefined"===typeof rt||"undefined"===typeof rt.y?0:rt.y;i.startY=l+n.margin.top}));m(Je.doc,"undefined"!==typeof Je.images&&!1===jQuery.isEmptyObject(Je.images));"undefined"!==typeof Je.headerrows&&(Je.headerrows.length=0);"undefined"!==typeof Je.columns&&(Je.columns.length=0);"undefined"!==typeof Je.rows&&(Je.rows.length=0);delete Je.doc;Je.doc=null}))}var ot,rt,it,lt,at;if("function"===typeof ie.onTableExportEnd)ie.onTableExportEnd();return this};var n=function(){return function(){this.contentWidth=this.y=this.x=this.width=this.height=0;this.rows=[];this.columns=[];this.headerRow=null;this.settings={}}}(),o=function(){return function(e){this.raw=e||{};this.index=0;this.styles={};this.cells={};this.y=this.height=0}}(),r=function(){return function(e){this.raw=e;this.styles={};this.text="";this.contentWidth=0;this.textPos={};this.y=this.x=this.width=this.height=0}}(),i=function(){return function(e){this.dataKey=e;this.options={};this.styles={};this.x=this.width=this.contentWidth=0}}()})(jQuery);export{t as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.