(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0af61d"],{"0da4":function(t,e,n){(function(e){
/*!
 * 
 *               jsPDF AutoTable plugin v3.8.3
 *
 *               Copyright (c) 2024 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable
 *               Licensed under the MIT License.
 *               http://opensource.org/licenses/mit-license
 *
 */
(function(e,o){t.exports=o(function(){try{return n("8baf")}catch(t){}}())})("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof this||("undefined"!==typeof window?window:"undefined"!==typeof self&&self),(function(t){return function(){"use strict";var e={172:function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.CellHookData=e.HookData=void 0;var o=function(){function t(t,e,n){this.table=e,this.pageNumber=e.pageNumber,this.pageCount=this.pageNumber,this.settings=e.settings,this.cursor=n,this.doc=t.getDocument()}return t}();e.HookData=o;var r=function(t){function e(e,n,o,r,i,a){var l=t.call(this,e,n,a)||this;return l.cell=o,l.row=r,l.column=i,l.section=r.section,l}return n(e,t),e}(o);e.CellHookData=r},340:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),r=n(136),i=n(744),a=n(776),l=n(664),s=n(972);function u(t){t.API.autoTable=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];1===e.length?t=e[0]:(console.error("Use of deprecated autoTable initiation"),t=e[2]||{},t.columns=e[0],t.body=e[1]);var o=(0,a.parseInput)(this,t),r=(0,s.createTable)(this,o);return(0,l.drawTable)(this,r),this},t.API.lastAutoTable=!1,t.API.previousAutoTable=!1,t.API.autoTable.previous=!1,t.API.autoTableText=function(t,e,n,o){(0,r.default)(t,e,n,o,this)},t.API.autoTableSetDefaults=function(t){return i.DocHandler.setDefaults(t,this),this},t.autoTableSetDefaults=function(t,e){i.DocHandler.setDefaults(t,e)},t.API.autoTableHtmlToJson=function(t,e){var n;if(void 0===e&&(e=!1),"undefined"===typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var r=new i.DocHandler(this),a=(0,o.parseHtml)(r,t,window,e,!1),l=a.head,s=a.body,u=(null===(n=l[0])||void 0===n?void 0:n.map((function(t){return t.content})))||[];return{columns:u,rows:s,data:s}},t.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.");var t=this.lastAutoTable;return t&&t.finalY?t.finalY:0},t.API.autoTableAddPageContent=function(e){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),t.API.autoTable.globalDefaults||(t.API.autoTable.globalDefaults={}),t.API.autoTable.globalDefaults.addPageContent=e,this},t.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}}e["default"]=u},136:function(t,e){function n(t,e,n,o,r){o=o||{};var i=1.15,a=r.internal.scaleFactor,l=r.internal.getFontSize()/a,s=r.getLineHeightFactor?r.getLineHeightFactor():i,u=l*s,d=/\r\n|\r|\n/g,h="",c=1;if("middle"!==o.valign&&"bottom"!==o.valign&&"center"!==o.halign&&"right"!==o.halign||(h="string"===typeof t?t.split(d):t,c=h.length||1),n+=l*(2-i),"middle"===o.valign?n-=c/2*u:"bottom"===o.valign&&(n-=c*u),"center"===o.halign||"right"===o.halign){var f=l;if("center"===o.halign&&(f*=.5),h&&c>=1){for(var g=0;g<h.length;g++)r.text(h[g],e-r.getStringUnitWidth(h[g])*f,n),n+=u;return r}e-=r.getStringUnitWidth(t)*f}return"justify"===o.halign?r.text(t,e,n,{maxWidth:o.maxWidth||100,align:"justify"}):r.text(t,e,n),r}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},420:function(t,e){function n(t,e,n){n.applyStyles(e,!0);var o=Array.isArray(t)?t:[t],r=o.map((function(t){return n.getTextWidth(t)})).reduce((function(t,e){return Math.max(t,e)}),0);return r}function o(t,e,n,o){var i=e.settings.tableLineWidth,a=e.settings.tableLineColor;t.applyStyles({lineWidth:i,lineColor:a});var l=r(i,!1);l&&t.rect(n.x,n.y,e.getWidth(t.pageSize().width),o.y-n.y,l)}function r(t,e){var n=t>0,o=e||0===e;return n&&o?"DF":n?"S":o?"F":null}function i(t,e){var n,o,r,i;if(t=t||e,Array.isArray(t)){if(t.length>=4)return{top:t[0],right:t[1],bottom:t[2],left:t[3]};if(3===t.length)return{top:t[0],right:t[1],bottom:t[2],left:t[1]};if(2===t.length)return{top:t[0],right:t[1],bottom:t[0],left:t[1]};t=1===t.length?t[0]:e}return"object"===typeof t?("number"===typeof t.vertical&&(t.top=t.vertical,t.bottom=t.vertical),"number"===typeof t.horizontal&&(t.right=t.horizontal,t.left=t.horizontal),{left:null!==(n=t.left)&&void 0!==n?n:e,top:null!==(o=t.top)&&void 0!==o?o:e,right:null!==(r=t.right)&&void 0!==r?r:e,bottom:null!==(i=t.bottom)&&void 0!==i?i:e}):("number"!==typeof t&&(t=e),{top:t,right:t,bottom:t,left:t})}function a(t,e){var n=i(e.settings.margin,0);return t.pageSize().width-(n.left+n.right)}Object.defineProperty(e,"__esModule",{value:!0}),e.getPageAvailableWidth=e.parseSpacing=e.getFillStyle=e.addTableBorder=e.getStringWidth=void 0,e.getStringWidth=n,e.addTableBorder=o,e.getFillStyle=r,e.parseSpacing=i,e.getPageAvailableWidth=a},796:function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.getTheme=e.defaultStyles=e.HtmlRowInput=void 0;var o=function(t){function e(e){var n=t.call(this)||this;return n._element=e,n}return n(e,t),e}(Array);function r(t){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/t,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}}function i(t){var e={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}};return e[t]}e.HtmlRowInput=o,e.defaultStyles=r,e.getTheme=i},903:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.parseCss=void 0;var o=n(420);function r(t,e,n,o,r){var l={},u=96/72,d=a(e,(function(t){return r.getComputedStyle(t)["backgroundColor"]}));null!=d&&(l.fillColor=d);var h=a(e,(function(t){return r.getComputedStyle(t)["color"]}));null!=h&&(l.textColor=h);var c=s(o,n);c&&(l.cellPadding=c);var f="borderTopColor",g=u*n,p=o.borderTopWidth;if(o.borderBottomWidth===p&&o.borderRightWidth===p&&o.borderLeftWidth===p){var y=(parseFloat(p)||0)/g;y&&(l.lineWidth=y)}else l.lineWidth={top:(parseFloat(o.borderTopWidth)||0)/g,right:(parseFloat(o.borderRightWidth)||0)/g,bottom:(parseFloat(o.borderBottomWidth)||0)/g,left:(parseFloat(o.borderLeftWidth)||0)/g},l.lineWidth.top||(l.lineWidth.right?f="borderRightColor":l.lineWidth.bottom?f="borderBottomColor":l.lineWidth.left&&(f="borderLeftColor"));var v=a(e,(function(t){return r.getComputedStyle(t)[f]}));null!=v&&(l.lineColor=v);var m=["left","right","center","justify"];-1!==m.indexOf(o.textAlign)&&(l.halign=o.textAlign),m=["middle","bottom","top"],-1!==m.indexOf(o.verticalAlign)&&(l.valign=o.verticalAlign);var b=parseInt(o.fontSize||"");isNaN(b)||(l.fontSize=b/u);var w=i(o);w&&(l.fontStyle=w);var P=(o.fontFamily||"").toLowerCase();return-1!==t.indexOf(P)&&(l.font=P),l}function i(t){var e="";return("bold"===t.fontWeight||"bolder"===t.fontWeight||parseInt(t.fontWeight)>=700)&&(e="bold"),"italic"!==t.fontStyle&&"oblique"!==t.fontStyle||(e+="italic"),e}function a(t,e){var n=l(t,e);if(!n)return null;var o=n.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!o||!Array.isArray(o))return null;var r=[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])],i=parseInt(o[4]);return 0===i||isNaN(r[0])||isNaN(r[1])||isNaN(r[2])?null:r}function l(t,e){var n=e(t);return"rgba(0, 0, 0, 0)"===n||"transparent"===n||"initial"===n||"inherit"===n?null==t.parentElement?null:l(t.parentElement,e):n}function s(t,e){var n=[t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft],r=96/(72/e),i=(parseInt(t.lineHeight)-parseInt(t.fontSize))/e/2,a=n.map((function(t){return parseInt(t||"0")/r})),l=(0,o.parseSpacing)(a,0);return i>l.top&&(l.top=i),i>l.bottom&&(l.bottom=i),l}e.parseCss=r},744:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DocHandler=void 0;var n={},o=function(){function t(t){this.jsPDFDocument=t,this.userStyles={textColor:t.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:t.internal.getFontSize(),fontStyle:t.internal.getFont().fontStyle,font:t.internal.getFont().fontName,lineWidth:t.getLineWidth?this.jsPDFDocument.getLineWidth():0,lineColor:t.getDrawColor?this.jsPDFDocument.getDrawColor():0}}return t.setDefaults=function(t,e){void 0===e&&(e=null),e?e.__autoTableDocumentDefaults=t:n=t},t.unifyColor=function(t){return Array.isArray(t)?t:"number"===typeof t?[t,t,t]:"string"===typeof t?[t]:null},t.prototype.applyStyles=function(e,n){var o,r,i;void 0===n&&(n=!1),e.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(e.fontStyle);var a=this.jsPDFDocument.internal.getFont(),l=a.fontStyle,s=a.fontName;if(e.font&&(s=e.font),e.fontStyle){l=e.fontStyle;var u=this.getFontList()[s];u&&-1===u.indexOf(l)&&(this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(u[0]),l=u[0])}if(this.jsPDFDocument.setFont(s,l),e.fontSize&&this.jsPDFDocument.setFontSize(e.fontSize),!n){var d=t.unifyColor(e.fillColor);d&&(o=this.jsPDFDocument).setFillColor.apply(o,d),d=t.unifyColor(e.textColor),d&&(r=this.jsPDFDocument).setTextColor.apply(r,d),d=t.unifyColor(e.lineColor),d&&(i=this.jsPDFDocument).setDrawColor.apply(i,d),"number"===typeof e.lineWidth&&this.jsPDFDocument.setLineWidth(e.lineWidth)}},t.prototype.splitTextToSize=function(t,e,n){return this.jsPDFDocument.splitTextToSize(t,e,n)},t.prototype.rect=function(t,e,n,o,r){return this.jsPDFDocument.rect(t,e,n,o,r)},t.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},t.prototype.getTextWidth=function(t){return this.jsPDFDocument.getTextWidth(t)},t.prototype.getDocument=function(){return this.jsPDFDocument},t.prototype.setPage=function(t){this.jsPDFDocument.setPage(t)},t.prototype.addPage=function(){return this.jsPDFDocument.addPage()},t.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},t.prototype.getGlobalOptions=function(){return n||{}},t.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},t.prototype.pageSize=function(){var t=this.jsPDFDocument.internal.pageSize;return null==t.width&&(t={width:t.getWidth(),height:t.getHeight()}),t},t.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},t.prototype.getLineHeightFactor=function(){var t=this.jsPDFDocument;return t.getLineHeightFactor?t.getLineHeightFactor():1.15},t.prototype.getLineHeight=function(t){return t/this.scaleFactor()*this.getLineHeightFactor()},t.prototype.pageNumber=function(){var t=this.jsPDFDocument.internal.getCurrentPageInfo();return t?t.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},t}();e.DocHandler=o},4:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.parseHtml=void 0;var o=n(903),r=n(796);function i(t,e,n,o,r){var i,l,s;void 0===o&&(o=!1),void 0===r&&(r=!1),s="string"===typeof e?n.document.querySelector(e):e;var u=Object.keys(t.getFontList()),d=t.scaleFactor(),h=[],c=[],f=[];if(!s)return console.error("Html table could not be found with input: ",e),{head:h,body:c,foot:f};for(var g=0;g<s.rows.length;g++){var p=s.rows[g],y=null===(l=null===(i=null===p||void 0===p?void 0:p.parentElement)||void 0===i?void 0:i.tagName)||void 0===l?void 0:l.toLowerCase(),v=a(u,d,n,p,o,r);v&&("thead"===y?h.push(v):"tfoot"===y?f.push(v):c.push(v))}return{head:h,body:c,foot:f}}function a(t,e,n,i,a,s){for(var u=new r.HtmlRowInput(i),d=0;d<i.cells.length;d++){var h=i.cells[d],c=n.getComputedStyle(h);if(a||"none"!==c.display){var f=void 0;s&&(f=(0,o.parseCss)(t,h,e,c,n)),u.push({rowSpan:h.rowSpan,colSpan:h.colSpan,styles:f,_element:h,content:l(h)})}}var g=n.getComputedStyle(i);if(u.length>0&&(a||"none"!==g.display))return u}function l(t){var e=t.cloneNode(!0);return e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/ +/g," "),e.innerHTML=e.innerHTML.split(/<br.*?>/).map((function(t){return t.trim()})).join("\n"),e.innerText||e.textContent||""}e.parseHtml=i},776:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.parseInput=void 0;var o=n(4),r=n(356),i=n(420),a=n(744),l=n(792);function s(t,e){var n=new a.DocHandler(t),o=n.getDocumentOptions(),i=n.getGlobalOptions();(0,l.default)(n,i,o,e);var s,c=(0,r.assign)({},i,o,e);"undefined"!==typeof window&&(s=window);var g=u(i,o,e),p=d(i,o,e),y=h(n,c),v=f(n,c,s);return{id:e.tableId,content:v,hooks:p,styles:g,settings:y}}function u(t,e,n){for(var o={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},i=function(i){if("columnStyles"===i){var a=t[i],l=e[i],s=n[i];o.columnStyles=(0,r.assign)({},a,l,s)}else{var u=[t,e,n],d=u.map((function(t){return t[i]||{}}));o[i]=(0,r.assign)({},d[0],d[1],d[2])}},a=0,l=Object.keys(o);a<l.length;a++){var s=l[a];i(s)}return o}function d(t,e,n){for(var o=[t,e,n],r={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},i=0,a=o;i<a.length;i++){var l=a[i];l.didParseCell&&r.didParseCell.push(l.didParseCell),l.willDrawCell&&r.willDrawCell.push(l.willDrawCell),l.didDrawCell&&r.didDrawCell.push(l.didDrawCell),l.willDrawPage&&r.willDrawPage.push(l.willDrawPage),l.didDrawPage&&r.didDrawPage.push(l.didDrawPage)}return r}function h(t,e){var n,o,r,a,l,s,u,d,h,f,g,p,y,v,m=(0,i.parseSpacing)(e.margin,40/t.scaleFactor()),b=null!==(n=c(t,e.startY))&&void 0!==n?n:m.top;y=!0===e.showFoot?"everyPage":!1===e.showFoot?"never":null!==(o=e.showFoot)&&void 0!==o?o:"everyPage",v=!0===e.showHead?"everyPage":!1===e.showHead?"never":null!==(r=e.showHead)&&void 0!==r?r:"everyPage";var w=null!==(a=e.useCss)&&void 0!==a&&a,P=e.theme||(w?"plain":"striped"),S=!!e.horizontalPageBreak,x=null!==(l=e.horizontalPageBreakRepeat)&&void 0!==l?l:null;return{includeHiddenHtml:null!==(s=e.includeHiddenHtml)&&void 0!==s&&s,useCss:w,theme:P,startY:b,margin:m,pageBreak:null!==(u=e.pageBreak)&&void 0!==u?u:"auto",rowPageBreak:null!==(d=e.rowPageBreak)&&void 0!==d?d:"auto",tableWidth:null!==(h=e.tableWidth)&&void 0!==h?h:"auto",showHead:v,showFoot:y,tableLineWidth:null!==(f=e.tableLineWidth)&&void 0!==f?f:0,tableLineColor:null!==(g=e.tableLineColor)&&void 0!==g?g:200,horizontalPageBreak:S,horizontalPageBreakRepeat:x,horizontalPageBreakBehaviour:null!==(p=e.horizontalPageBreakBehaviour)&&void 0!==p?p:"afterAllRows"}}function c(t,e){var n=t.getLastAutoTable(),o=t.scaleFactor(),r=t.pageNumber(),i=!1;if(n&&n.startPageNumber){var a=n.startPageNumber+n.pageNumber-1;i=a===r}return"number"===typeof e?e:null!=e&&!1!==e||!i||null==(null===n||void 0===n?void 0:n.finalY)?null:n.finalY+20/o}function f(t,e,n){var r=e.head||[],i=e.body||[],a=e.foot||[];if(e.html){var l=e.includeHiddenHtml;if(n){var s=(0,o.parseHtml)(t,e.html,n,l,e.useCss)||{};r=s.head||r,i=s.body||r,a=s.foot||r}else console.error("Cannot parse html in non browser environment")}var u=e.columns||g(r,i,a);return{columns:u,head:r,body:i,foot:a}}function g(t,e,n){var o=t[0]||e[0]||n[0]||[],r=[];return Object.keys(o).filter((function(t){return"_element"!==t})).forEach((function(t){var e,n=1;e=Array.isArray(o)?o[parseInt(t)]:o[t],"object"!==typeof e||Array.isArray(e)||(n=(null===e||void 0===e?void 0:e.colSpan)||1);for(var i=0;i<n;i++){var a=void 0;a=Array.isArray(o)?r.length:t+(i>0?"_".concat(i):"");var l={dataKey:a};r.push(l)}})),r}e.parseInput=s},792:function(t,e){function n(t,e,n,r){for(var i=function(e){e&&"object"!==typeof e&&console.error("The options parameter should be of type object, is: "+typeof e),"undefined"!==typeof e.extendWidth&&(e.tableWidth=e.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),"undefined"!==typeof e.margins&&("undefined"===typeof e.margin&&(e.margin=e.margins),console.error("Use of deprecated option: margins, use margin instead.")),e.startY&&"number"!==typeof e.startY&&(console.error("Invalid value for startY option",e.startY),delete e.startY),!e.didDrawPage&&(e.afterPageContent||e.beforePageContent||e.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),e.didDrawPage=function(n){t.applyStyles(t.userStyles),e.beforePageContent&&e.beforePageContent(n),t.applyStyles(t.userStyles),e.afterPageContent&&e.afterPageContent(n),t.applyStyles(t.userStyles),e.afterPageAdd&&n.pageNumber>1&&n.afterPageAdd(n),t.applyStyles(t.userStyles)}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach((function(t){e[t]&&console.error('The "'.concat(t,'" hook has changed in version 3.0, check the changelog for how to migrate.'))})),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach((function(t){var n=t[0],o=t[1];e[o]&&(console.error("Use of deprecated option ".concat(o,". Use ").concat(n," instead")),e[n]=e[o])})),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(t){var n="string"===typeof t?t:t[0],o="string"===typeof t?t:t[1];"undefined"!==typeof e[n]&&("undefined"===typeof e.styles[o]&&(e.styles[o]=e[n]),console.error("Use of deprecated option: "+n+", use the style "+o+" instead."))}));for(var n=0,r=["styles","bodyStyles","headStyles","footStyles"];n<r.length;n++){var i=r[n];o(e[i]||{})}for(var a=e["columnStyles"]||{},l=0,s=Object.keys(a);l<s.length;l++){var u=s[l];o(a[u]||{})}},a=0,l=[e,n,r];a<l.length;a++){var s=l[a];i(s)}}function o(t){t.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),t.minCellHeight||(t.minCellHeight=t.rowHeight)):t.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),t.cellWidth||(t.cellWidth=t.columnWidth))}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},260:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Column=e.Cell=e.Row=e.Table=void 0;var o=n(796),r=n(172),i=n(420),a=function(){function t(t,e){this.pageNumber=1,this.pageCount=1,this.id=t.id,this.settings=t.settings,this.styles=t.styles,this.hooks=t.hooks,this.columns=e.columns,this.head=e.head,this.body=e.body,this.foot=e.foot}return t.prototype.getHeadHeight=function(t){return this.head.reduce((function(e,n){return e+n.getMaxCellHeight(t)}),0)},t.prototype.getFootHeight=function(t){return this.foot.reduce((function(e,n){return e+n.getMaxCellHeight(t)}),0)},t.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},t.prototype.callCellHooks=function(t,e,n,o,i,a){for(var l=0,s=e;l<s.length;l++){var u=s[l],d=new r.CellHookData(t,this,n,o,i,a),h=!1===u(d);if(n.text=Array.isArray(n.text)?n.text:[n.text],h)return!1}return!0},t.prototype.callEndPageHooks=function(t,e){t.applyStyles(t.userStyles);for(var n=0,o=this.hooks.didDrawPage;n<o.length;n++){var i=o[n];i(new r.HookData(t,this,e))}},t.prototype.callWillDrawPageHooks=function(t,e){for(var n=0,o=this.hooks.willDrawPage;n<o.length;n++){var i=o[n];i(new r.HookData(t,this,e))}},t.prototype.getWidth=function(t){if("number"===typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth){var e=this.columns.reduce((function(t,e){return t+e.wrappedWidth}),0);return e}var n=this.settings.margin;return t-n.left-n.right},t}();e.Table=a;var l=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this.height=0,this.raw=t,t instanceof o.HtmlRowInput&&(this.raw=t._element,this.element=t._element),this.index=e,this.section=n,this.cells=r,this.spansMultiplePages=i}return t.prototype.getMaxCellHeight=function(t){var e=this;return t.reduce((function(t,n){var o;return Math.max(t,(null===(o=e.cells[n.index])||void 0===o?void 0:o.height)||0)}),0)},t.prototype.hasRowSpan=function(t){var e=this;return t.filter((function(t){var n=e.cells[t.index];return!!n&&n.rowSpan>1})).length>0},t.prototype.canEntireRowFit=function(t,e){return this.getMaxCellHeight(e)<=t},t.prototype.getMinimumRowHeight=function(t,e){var n=this;return t.reduce((function(t,o){var r=n.cells[o.index];if(!r)return 0;var i=e.getLineHeight(r.styles.fontSize),a=r.padding("vertical"),l=a+i;return l>t?l:t}),0)},t}();e.Row=l;var s=function(){function t(t,e,n){var o,r;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=e,this.section=n,this.raw=t;var i=t;null==t||"object"!==typeof t||Array.isArray(t)?(this.rowSpan=1,this.colSpan=1):(this.rowSpan=t.rowSpan||1,this.colSpan=t.colSpan||1,i=null!==(r=null!==(o=t.content)&&void 0!==o?o:t.title)&&void 0!==r?r:t,t._element&&(this.raw=t._element));var a=null!=i?""+i:"",l=/\r\n|\r|\n/g;this.text=a.split(l)}return t.prototype.getTextPos=function(){var t,e;if("top"===this.styles.valign)t=this.y+this.padding("top");else if("bottom"===this.styles.valign)t=this.y+this.height-this.padding("bottom");else{var n=this.height-this.padding("vertical");t=this.y+n/2+this.padding("top")}if("right"===this.styles.halign)e=this.x+this.width-this.padding("right");else if("center"===this.styles.halign){var o=this.width-this.padding("horizontal");e=this.x+o/2+this.padding("left")}else e=this.x+this.padding("left");return{x:e,y:t}},t.prototype.getContentHeight=function(t,e){void 0===e&&(e=1.15);var n=Array.isArray(this.text)?this.text.length:1,o=this.styles.fontSize/t*e,r=n*o+this.padding("vertical");return Math.max(r,this.styles.minCellHeight)},t.prototype.padding=function(t){var e=(0,i.parseSpacing)(this.styles.cellPadding,0);return"vertical"===t?e.top+e.bottom:"horizontal"===t?e.left+e.right:e[t]},t}();e.Cell=s;var u=function(){function t(t,e,n){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=t,this.raw=e,this.index=n}return t.prototype.getMaxCustomCellWidth=function(t){for(var e=0,n=0,o=t.allRows();n<o.length;n++){var r=o[n],i=r.cells[this.index];i&&"number"===typeof i.styles.cellWidth&&(e=Math.max(e,i.styles.cellWidth))}return e},t}();e.Column=u},356:function(t,e){function n(t,e,n,o,r){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),a=1;a<arguments.length;a++){var l=arguments[a];if(null!=l)for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(i[s]=l[s])}return i}Object.defineProperty(e,"__esModule",{value:!0}),e.assign=void 0,e.assign=n},972:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=void 0;var o=n(744),r=n(260),i=n(324),a=n(796),l=n(356);function s(t,e){var n=new o.DocHandler(t),a=u(e,n.scaleFactor()),l=new r.Table(e,a);return(0,i.calculateWidths)(n,l),n.applyStyles(n.userStyles),l}function u(t,e){var n=t.content,o=f(n.columns);if(0===n.head.length){var r=h(o,"head");r&&n.head.push(r)}if(0===n.foot.length){r=h(o,"foot");r&&n.foot.push(r)}var i=t.settings.theme,a=t.styles;return{columns:o,head:d("head",n.head,o,a,i,e),body:d("body",n.body,o,a,i,e),foot:d("foot",n.foot,o,a,i,e)}}function d(t,e,n,o,i,a){var l={},s=e.map((function(e,s){for(var u=0,d={},h=0,c=0,f=0,p=n;f<p.length;f++){var y=p[f];if(null==l[y.index]||0===l[y.index].left)if(0===c){var v=void 0;v=Array.isArray(e)?e[y.index-h-u]:e[y.dataKey];var m={};"object"!==typeof v||Array.isArray(v)||(m=(null===v||void 0===v?void 0:v.styles)||{});var b=g(t,y,s,i,o,a,m),w=new r.Cell(v,b,t);d[y.dataKey]=w,d[y.index]=w,c=w.colSpan-1,l[y.index]={left:w.rowSpan-1,times:c}}else c--,h++;else l[y.index].left--,c=l[y.index].times,u++}return new r.Row(e,s,t,d)}));return s}function h(t,e){var n={};return t.forEach((function(t){if(null!=t.raw){var o=c(e,t.raw);null!=o&&(n[t.dataKey]=o)}})),Object.keys(n).length>0?n:null}function c(t,e){if("head"===t){if("object"===typeof e)return e.header||e.title||null;if("string"===typeof e||"number"===typeof e)return e}else if("foot"===t&&"object"===typeof e)return e.footer;return null}function f(t){return t.map((function(t,e){var n,o,i;return i="object"===typeof t&&null!==(o=null!==(n=t.dataKey)&&void 0!==n?n:t.key)&&void 0!==o?o:e,new r.Column(i,t,e)}))}function g(t,e,n,o,r,i,s){var u,d=(0,a.getTheme)(o);"head"===t?u=r.headStyles:"body"===t?u=r.bodyStyles:"foot"===t&&(u=r.footStyles);var h=(0,l.assign)({},d.table,d[t],r.styles,u),c=r.columnStyles[e.dataKey]||r.columnStyles[e.index]||{},f="body"===t?c:{},g="body"===t&&n%2===0?(0,l.assign)({},d.alternateRow,r.alternateRowStyles):{},p=(0,a.defaultStyles)(i),y=(0,l.assign)({},p,h,g,f);return(0,l.assign)(y,s)}e.createTable=s},664:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.addPage=e.drawTable=void 0;var o=n(420),r=n(260),i=n(744),a=n(356),l=n(136),s=n(224);function u(t,e){var n=e.settings,r=n.startY,l=n.margin,s={x:l.left,y:r},u=e.getHeadHeight(e.columns)+e.getFootHeight(e.columns),h=r+l.bottom+u;if("avoid"===n.pageBreak){var c=e.body,f=c.reduce((function(t,e){return t+e.height}),0);h+=f}var g=new i.DocHandler(t);("always"===n.pageBreak||null!=n.startY&&h>g.pageSize().height)&&(C(g),s.y=l.top),e.callWillDrawPageHooks(g,s);var p=(0,a.assign)({},s);e.startPageNumber=g.pageNumber(),n.horizontalPageBreak?d(g,e,p,s):(g.applyStyles(g.userStyles),"firstPage"!==n.showHead&&"everyPage"!==n.showHead||e.head.forEach((function(t){return b(g,e,t,s,e.columns)})),g.applyStyles(g.userStyles),e.body.forEach((function(t,n){var o=n===e.body.length-1;m(g,e,t,o,p,s,e.columns)})),g.applyStyles(g.userStyles),"lastPage"!==n.showFoot&&"everyPage"!==n.showFoot||e.foot.forEach((function(t){return b(g,e,t,s,e.columns)}))),(0,o.addTableBorder)(g,e,p,s),e.callEndPageHooks(g,s),e.finalY=s.y,t.lastAutoTable=e,t.previousAutoTable=e,t.autoTable&&(t.autoTable.previous=e),g.applyStyles(g.userStyles)}function d(t,e,n,o){var r=(0,s.calculateAllColumnsCanFitInPage)(t,e),i=e.settings;if("afterAllRows"===i.horizontalPageBreakBehaviour)r.forEach((function(r,i){t.applyStyles(t.userStyles),i>0?x(t,e,n,o,r.columns,!0):h(t,e,o,r.columns),c(t,e,n,o,r.columns),g(t,e,o,r.columns)}));else{var a=-1,l=r[0],u=function(){var i=a;if(l){t.applyStyles(t.userStyles);var s=l.columns;a>=0?x(t,e,n,o,s,!0):h(t,e,o,s),i=f(t,e,a+1,o,s),g(t,e,o,s)}var u=i-a;r.slice(1).forEach((function(r){t.applyStyles(t.userStyles),x(t,e,n,o,r.columns,!0),f(t,e,a+1,o,r.columns,u),g(t,e,o,r.columns)})),a=i};while(a<e.body.length-1)u()}}function h(t,e,n,o){var r=e.settings;t.applyStyles(t.userStyles),"firstPage"!==r.showHead&&"everyPage"!==r.showHead||e.head.forEach((function(r){return b(t,e,r,n,o)}))}function c(t,e,n,o,r){t.applyStyles(t.userStyles),e.body.forEach((function(i,a){var l=a===e.body.length-1;m(t,e,i,l,n,o,r)}))}function f(t,e,n,o,r,i){t.applyStyles(t.userStyles),i=null!==i&&void 0!==i?i:e.body.length;var a=Math.min(n+i,e.body.length),l=-1;return e.body.slice(n,a).forEach((function(i,a){var s=n+a===e.body.length-1,u=S(t,e,s,o);i.canEntireRowFit(u,r)&&(b(t,e,i,o,r),l=n+a)})),l}function g(t,e,n,o){var r=e.settings;t.applyStyles(t.userStyles),"lastPage"!==r.showFoot&&"everyPage"!==r.showFoot||e.foot.forEach((function(r){return b(t,e,r,n,o)}))}function p(t,e,n){var o=n.getLineHeight(t.styles.fontSize),r=t.padding("vertical"),i=Math.floor((e-r)/o);return Math.max(0,i)}function y(t,e,n,o){var i={};t.spansMultiplePages=!0,t.height=0;for(var l=0,s=0,u=n.columns;s<u.length;s++){var d=u[s],h=t.cells[d.index];if(h){Array.isArray(h.text)||(h.text=[h.text]);var c=new r.Cell(h.raw,h.styles,h.section);c=(0,a.assign)(c,h),c.text=[];var f=p(h,e,o);h.text.length>f&&(c.text=h.text.splice(f,h.text.length));var g=o.scaleFactor(),y=o.getLineHeightFactor();h.contentHeight=h.getContentHeight(g,y),h.contentHeight>=e&&(h.contentHeight=e,c.styles.minCellHeight-=e),h.contentHeight>t.height&&(t.height=h.contentHeight),c.contentHeight=c.getContentHeight(g,y),c.contentHeight>l&&(l=c.contentHeight),i[d.index]=c}}var v=new r.Row(t.raw,-1,t.section,i,!0);v.height=l;for(var m=0,b=n.columns;m<b.length;m++){d=b[m],c=v.cells[d.index];c&&(c.height=v.height);h=t.cells[d.index];h&&(h.height=t.height)}return v}function v(t,e,n,o){var r=t.pageSize().height,i=o.settings.margin,a=i.top+i.bottom,l=r-a;"body"===e.section&&(l-=o.getHeadHeight(o.columns)+o.getFootHeight(o.columns));var s=e.getMinimumRowHeight(o.columns,t),u=s<n;if(s>l)return console.error("Will not be able to print row ".concat(e.index," correctly since it's minimum height is larger than page height")),!0;if(!u)return!1;var d=e.hasRowSpan(o.columns),h=e.getMaxCellHeight(o.columns)>l;return h?(d&&console.error("The content of row ".concat(e.index," will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")),!0):!d&&"avoid"!==o.settings.rowPageBreak}function m(t,e,n,o,r,i,a){var l=S(t,e,o,i);if(n.canEntireRowFit(l,a))b(t,e,n,i,a);else if(v(t,n,l,e)){var s=y(n,l,e,t);b(t,e,n,i,a),x(t,e,r,i,a),m(t,e,s,o,r,i,a)}else x(t,e,r,i,a),m(t,e,n,o,r,i,a)}function b(t,e,n,o,r){o.x=e.settings.margin.left;for(var i=0,a=r;i<a.length;i++){var s=a[i],u=n.cells[s.index];if(u){t.applyStyles(u.styles),u.x=o.x,u.y=o.y;var d=e.callCellHooks(t,e.hooks.willDrawCell,u,n,s,o);if(!1!==d){w(t,u,o);var h=u.getTextPos();(0,l.default)(u.text,h.x,h.y,{halign:u.styles.halign,valign:u.styles.valign,maxWidth:Math.ceil(u.width-u.padding("left")-u.padding("right"))},t.getDocument()),e.callCellHooks(t,e.hooks.didDrawCell,u,n,s,o),o.x+=s.width}else o.x+=s.width}else o.x+=s.width}o.y+=n.height}function w(t,e,n){var r=e.styles;if(t.getDocument().setFillColor(t.getDocument().getFillColor()),"number"===typeof r.lineWidth){var i=(0,o.getFillStyle)(r.lineWidth,r.fillColor);i&&t.rect(e.x,n.y,e.width,e.height,i)}else"object"===typeof r.lineWidth&&(r.fillColor&&t.rect(e.x,n.y,e.width,e.height,"F"),P(t,e,n,r.lineWidth))}function P(t,e,n,o){var r,i,a,l;function s(e,n,o,r,i){t.getDocument().setLineWidth(e),t.getDocument().line(n,o,r,i,"S")}o.top&&(r=n.x,i=n.y,a=n.x+e.width,l=n.y,o.right&&(a+=.5*o.right),o.left&&(r-=.5*o.left),s(o.top,r,i,a,l)),o.bottom&&(r=n.x,i=n.y+e.height,a=n.x+e.width,l=n.y+e.height,o.right&&(a+=.5*o.right),o.left&&(r-=.5*o.left),s(o.bottom,r,i,a,l)),o.left&&(r=n.x,i=n.y,a=n.x,l=n.y+e.height,o.top&&(i-=.5*o.top),o.bottom&&(l+=.5*o.bottom),s(o.left,r,i,a,l)),o.right&&(r=n.x+e.width,i=n.y,a=n.x+e.width,l=n.y+e.height,o.top&&(i-=.5*o.top),o.bottom&&(l+=.5*o.bottom),s(o.right,r,i,a,l))}function S(t,e,n,o){var r=e.settings.margin.bottom,i=e.settings.showFoot;return("everyPage"===i||"lastPage"===i&&n)&&(r+=e.getFootHeight(e.columns)),t.pageSize().height-o.y-r}function x(t,e,n,r,i,a){void 0===i&&(i=[]),void 0===a&&(a=!1),t.applyStyles(t.userStyles),"everyPage"!==e.settings.showFoot||a||e.foot.forEach((function(n){return b(t,e,n,r,i)})),e.callEndPageHooks(t,r);var l=e.settings.margin;(0,o.addTableBorder)(t,e,n,r),C(t),e.pageNumber++,e.pageCount++,r.x=l.left,r.y=l.top,n.y=l.top,e.callWillDrawPageHooks(t,r),"everyPage"===e.settings.showHead&&(e.head.forEach((function(n){return b(t,e,n,r,i)})),t.applyStyles(t.userStyles))}function C(t){var e=t.pageNumber();t.setPage(e+1);var n=t.pageNumber();return n===e&&(t.addPage(),!0)}e.drawTable=u,e.addPage=x},224:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateAllColumnsCanFitInPage=void 0;var o=n(420);function r(t,e,n){var r;void 0===n&&(n={});var i=(0,o.getPageAvailableWidth)(t,e),a=new Map,l=[],s=[],u=[];e.settings.horizontalPageBreakRepeat,Array.isArray(e.settings.horizontalPageBreakRepeat)?u=e.settings.horizontalPageBreakRepeat:"string"!==typeof e.settings.horizontalPageBreakRepeat&&"number"!==typeof e.settings.horizontalPageBreakRepeat||(u=[e.settings.horizontalPageBreakRepeat]),u.forEach((function(t){var n=e.columns.find((function(e){return e.dataKey===t||e.index===t}));n&&!a.has(n.index)&&(a.set(n.index,!0),l.push(n.index),s.push(e.columns[n.index]),i-=n.wrappedWidth)}));var d=!0,h=null!==(r=null===n||void 0===n?void 0:n.start)&&void 0!==r?r:0;while(h<e.columns.length)if(a.has(h))h++;else{var c=e.columns[h].wrappedWidth;if(!(d||i>=c))break;d=!1,l.push(h),s.push(e.columns[h]),i-=c,h++}return{colIndexes:l,columns:s,lastIndex:h-1}}function i(t,e){for(var n=[],o=0;o<e.columns.length;o++){var i=r(t,e,{start:o});i.columns.length&&(n.push(i),o=i.lastIndex)}return n}e.calculateAllColumnsCanFitInPage=i},324:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsize=e.resizeColumns=e.calculateWidths=void 0;var o=n(420);function r(t,e){i(t,e);var n=[],o=0;e.columns.forEach((function(t){var r=t.getMaxCustomCellWidth(e);r?t.width=r:(t.width=t.wrappedWidth,n.push(t)),o+=t.width}));var r=e.getWidth(t.pageSize().width)-o;r&&(r=a(n,r,(function(t){return Math.max(t.minReadableWidth,t.minWidth)}))),r&&(r=a(n,r,(function(t){return t.minWidth}))),r=Math.abs(r),!e.settings.horizontalPageBreak&&r>.1/t.scaleFactor()&&(r=r<1?r:Math.round(r),console.warn("Of the table content, ".concat(r," units width could not fit page"))),s(e),u(e,t),l(e)}function i(t,e){var n=t.scaleFactor(),r=e.settings.horizontalPageBreak,i=(0,o.getPageAvailableWidth)(t,e);e.allRows().forEach((function(a){for(var l=0,s=e.columns;l<s.length;l++){var u=s[l],d=a.cells[u.index];if(d){var h=e.hooks.didParseCell;e.callCellHooks(t,h,d,a,u,null);var c=d.padding("horizontal");d.contentWidth=(0,o.getStringWidth)(d.text,d.styles,t)+c;var f=(0,o.getStringWidth)(d.text.join(" ").split(/\s+/),d.styles,t);if(d.minReadableWidth=f+d.padding("horizontal"),"number"===typeof d.styles.cellWidth)d.minWidth=d.styles.cellWidth,d.wrappedWidth=d.styles.cellWidth;else if("wrap"===d.styles.cellWidth||!0===r)d.contentWidth>i?(d.minWidth=i,d.wrappedWidth=i):(d.minWidth=d.contentWidth,d.wrappedWidth=d.contentWidth);else{var g=10/n;d.minWidth=d.styles.minCellWidth||g,d.wrappedWidth=d.contentWidth,d.minWidth>d.wrappedWidth&&(d.wrappedWidth=d.minWidth)}}}})),e.allRows().forEach((function(t){for(var n=0,o=e.columns;n<o.length;n++){var r=o[n],i=t.cells[r.index];if(i&&1===i.colSpan)r.wrappedWidth=Math.max(r.wrappedWidth,i.wrappedWidth),r.minWidth=Math.max(r.minWidth,i.minWidth),r.minReadableWidth=Math.max(r.minReadableWidth,i.minReadableWidth);else{var a=e.styles.columnStyles[r.dataKey]||e.styles.columnStyles[r.index]||{},l=a.cellWidth||a.minCellWidth;l&&"number"===typeof l&&(r.minWidth=l,r.wrappedWidth=l)}i&&(i.colSpan>1&&!r.minWidth&&(r.minWidth=i.minWidth),i.colSpan>1&&!r.wrappedWidth&&(r.wrappedWidth=i.minWidth))}}))}function a(t,e,n){for(var o=e,r=t.reduce((function(t,e){return t+e.wrappedWidth}),0),i=0;i<t.length;i++){var l=t[i],s=l.wrappedWidth/r,u=o*s,d=l.width+u,h=n(l),c=d<h?h:d;e-=c-l.width,l.width=c}if(e=Math.round(1e10*e)/1e10,e){var f=t.filter((function(t){return!(e<0)||t.width>n(t)}));f.length&&(e=a(f,e,n))}return e}function l(t){for(var e={},n=1,o=t.allRows(),r=0;r<o.length;r++)for(var i=o[r],a=0,l=t.columns;a<l.length;a++){var s=l[a],u=e[s.index];if(n>1)n--,delete i.cells[s.index];else if(u)u.cell.height+=i.height,n=u.cell.colSpan,delete i.cells[s.index],u.left--,u.left<=1&&delete e[s.index];else{var d=i.cells[s.index];if(!d)continue;if(d.height=i.height,d.rowSpan>1){var h=o.length-r,c=d.rowSpan>h?h:d.rowSpan;e[s.index]={cell:d,left:c,row:i}}}}}function s(t){for(var e=t.allRows(),n=0;n<e.length;n++)for(var o=e[n],r=null,i=0,a=0,l=0;l<t.columns.length;l++){var s=t.columns[l];if(a-=1,a>1&&t.columns[l+1])i+=s.width,delete o.cells[s.index];else if(r){var u=r;delete o.cells[s.index],r=null,u.width=s.width+i}else{u=o.cells[s.index];if(!u)continue;if(a=u.colSpan,i=0,u.colSpan>1){r=u,i+=s.width;continue}u.width=s.width+i}}}function u(t,e){for(var n={count:0,height:0},o=0,r=t.allRows();o<r.length;o++){for(var i=r[o],a=0,l=t.columns;a<l.length;a++){var s=l[a],u=i.cells[s.index];if(u){e.applyStyles(u.styles,!0);var h=u.width-u.padding("horizontal");if("linebreak"===u.styles.overflow)u.text=e.splitTextToSize(u.text,h+1/e.scaleFactor(),{fontSize:u.styles.fontSize});else if("ellipsize"===u.styles.overflow)u.text=d(u.text,h,u.styles,e,"...");else if("hidden"===u.styles.overflow)u.text=d(u.text,h,u.styles,e,"");else if("function"===typeof u.styles.overflow){var c=u.styles.overflow(u.text,h);u.text="string"===typeof c?[c]:c}u.contentHeight=u.getContentHeight(e.scaleFactor(),e.getLineHeightFactor());var f=u.contentHeight/u.rowSpan;u.rowSpan>1&&n.count*n.height<f*u.rowSpan?n={height:f,count:u.rowSpan}:n&&n.count>0&&n.height>f&&(f=n.height),f>i.height&&(i.height=f)}}n.count--}}function d(t,e,n,o,r){return t.map((function(t){return h(t,e,n,o,r)}))}function h(t,e,n,r,i){var a=1e4*r.scaleFactor();if(e=Math.ceil(e*a)/a,e>=(0,o.getStringWidth)(t,n,r))return t;while(e<(0,o.getStringWidth)(t+i,n,r)){if(t.length<=1)break;t=t.substring(0,t.length-1)}return t.trim()+i}e.calculateWidths=r,e.resizeColumns=a,e.ellipsize=d},964:function(e){if("undefined"===typeof t){var n=new Error("Cannot find module 'undefined'");throw n.code="MODULE_NOT_FOUND",n}e.exports=t}},n={};function o(t){var r=n[t];if(void 0!==r)return r.exports;var i=n[t]={exports:{}};return e[t].call(i.exports,i,i.exports,o),i.exports}var r={};return function(){var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.Cell=t.Column=t.Row=t.Table=t.CellHookData=t.__drawTable=t.__createTable=t.applyPlugin=void 0;var e=o(340),n=o(776),i=o(664),a=o(972),l=o(260);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return l.Table}});var s=o(172);Object.defineProperty(t,"CellHookData",{enumerable:!0,get:function(){return s.CellHookData}});var u=o(260);function d(t){(0,e.default)(t)}function h(t,e){var o=(0,n.parseInput)(t,e),r=(0,a.createTable)(t,o);(0,i.drawTable)(t,r)}function c(t,e){var o=(0,n.parseInput)(t,e);return(0,a.createTable)(t,o)}function f(t,e){(0,i.drawTable)(t,e)}Object.defineProperty(t,"Cell",{enumerable:!0,get:function(){return u.Cell}}),Object.defineProperty(t,"Column",{enumerable:!0,get:function(){return u.Column}}),Object.defineProperty(t,"Row",{enumerable:!0,get:function(){return u.Row}}),t.applyPlugin=d,t.__createTable=c,t.__drawTable=f;try{var g=o(964);g.jsPDF&&(g=g.jsPDF),d(g)}catch(p){}t["default"]=h}(),r}()}))}).call(this,n("c8ba"))}}]);
//# sourceMappingURL=chunk-2d0af61d.59ef96fa.js.map