PageSourceSearch

https://azanaspa.com/static/js/async/3747.3b08a00bbb.js

js azanaspa.com collected 2026-10-04 10:31:25 UTC 30,239 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[3747],{58686(t,e,n){function o(t,e,n,o,i){o=o||{};var r=i.internal.scaleFactor,l=i.internal.getFontSize()/r,a=l*(i.getLineHeightFactor?i.getLineHeightFactor():1.15),s="",h=1;if(("middle"===o.valign||"bottom"===o.valign||"center"===o.halign||"right"===o.halign)&&(h=(s="string"==typeof t?t.split(/\r\n|\r|\n/g):t).length||1),n+=.8500000000000001*l,"middle"===o.valign?n-=h/2*a:"bottom"===o.valign&&(n-=h*a),"center"===o.halign||"right"===o.halign){var u=l;if("center"===o.halign&&(u*=.5),s&&h>=1){for(var c=0;c<s.length;c++)i.text(s[c],e-i.getStringUnitWidth(s[c])*u,n),n+=a;return i}e-=i.getStringUnitWidth(t)*u}return"justify"===o.halign?i.text(t,e,n,{maxWidth:o.maxWidth||100,align:"justify"}):i.text(t,e,n),i}n.r(e),n.d(e,{Cell:()=>W,CellHookData:()=>b,Column:()=>P,HookData:()=>w,Row:()=>S,Table:()=>x,__createTable:()=>O,__drawTable:()=>I,applyPlugin:()=>_,autoTable:()=>N,default:()=>N});var i,r={},l=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:r=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){void 0===n&&(n=!1),e.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(e.fontStyle);var o,i,r,l=this.jsPDFDocument.internal.getFont(),a=l.fontStyle,s=l.fontName;if(e.font&&(s=e.font),e.fontStyle){a=e.fontStyle;var h=this.getFontList()[s];h&&-1===h.indexOf(a)&&this.jsPDFDocument.setFontStyle&&(this.jsPDFDocument.setFontStyle(h[0]),a=h[0])}if(this.jsPDFDocument.setFont(s,a),e.fontSize&&this.jsPDFDocument.setFontSize(e.fontSize),!n){var u=t.unifyColor(e.fillColor);u&&(o=this.jsPDFDocument).setFillColor.apply(o,u),(u=t.unifyColor(e.textColor))&&(i=this.jsPDFDocument).setTextColor.apply(i,u),(u=t.unifyColor(e.lineColor))&&(r=this.jsPDFDocument).setDrawColor.apply(r,u),"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,i){return this.jsPDFDocument.rect(t,e,n,o,i)},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 r||{}},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}(),a=function(t,e){return(a=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)};function s(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}"function"==typeof SuppressedError&&SuppressedError;var h=function(t){function e(e){var n=t.call(this)||this;return n._element=e,n}return s(e,t),e}(Array);function u(t,e,n){return n.applyStyles(e,!0),(Array.isArray(t)?t:[t]).map(function(t){return n.getTextWidth(t)}).reduce(function(t,e){return Math.max(t,e)},0)}function c(t,e,n,o){var i=e.settings.tableLineWidth,r=e.settings.tableLineColor;t.applyStyles({lineWidth:i,lineColor:r});var l=d(i,!1);l&&t.rect(n.x,n.y,e.getWidth(t.pageSize().width),o.y-n.y,l)}function d(t,e){var n=t>0,o=e||0===e;return n&&o?"DF":n?"S":o?"F":null}function f(t,e){var n,o,i,r;if(Array.isArray(t=t||e))if(t.length>=4)return{top:t[0],right:t[1],bottom:t[2],left:t[3]};else{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)?n:e,top:null!=(o=t.top)?o:e,right:null!=(i=t.right)?i:e,bottom:null!=(r=t.bottom)?r:e}):("number"!=typeof t&&(t=e),{top:t,right:t,bottom:t,left:t})}
1function g(t,e){var n=f(e.settings.margin,0);return t.pageSize().width-(n.left+n.right)}function p(t,e){var n=function t(e,n){var o=n(e);return"rgba(0, 0, 0, 0)"!==o&&"transparent"!==o&&"initial"!==o&&"inherit"!==o?o:null==e.parentElement?null:t(e.parentElement,n)}(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 i=[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])];return 0===parseInt(o[4])||isNaN(i[0])||isNaN(i[1])||isNaN(i[2])?null:i}function y(t,e,n,o,i){void 0===o&&(o=!1),void 0===i&&(i=!1);var r,l,a="string"==typeof e?n.document.querySelector(e):e,s=Object.keys(t.getFontList()),u=t.scaleFactor(),c=[],d=[],g=[];if(!a)return console.error("Html table could not be found with input: ",e),{head:c,body:d,foot:g};for(var y=0;y<a.rows.length;y++){var m=a.rows[y],v=null==(l=null==(r=null==m?void 0:m.parentElement)?void 0:r.tagName)?void 0:l.toLowerCase(),w=function(t,e,n,o,i,r){for(var l=new h(o),a=0;a<o.cells.length;a++){var s=o.cells[a],u=n.getComputedStyle(s);if(i||"none"!==u.display){var c=void 0;r&&(c=function(t,e,n,o,i){var r={},l=96/72,a=p(e,function(t){return i.getComputedStyle(t).backgroundColor});null!=a&&(r.fillColor=a);var s=p(e,function(t){return i.getComputedStyle(t).color});null!=s&&(r.textColor=s);var h=function(t,e){var n=[t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft],o=96/(72/e),i=(parseInt(t.lineHeight)-parseInt(t.fontSize))/e/2,r=f(n.map(function(t){return parseInt(t||"0")/o}),0);return i>r.top&&(r.top=i),i>r.bottom&&(r.bottom=i),r}(o,n);h&&(r.cellPadding=h);var u="borderTopColor",c=l*n,d=o.borderTopWidth;if(o.borderBottomWidth===d&&o.borderRightWidth===d&&o.borderLeftWidth===d){var g=(parseFloat(d)||0)/c;g&&(r.lineWidth=g)}else r.lineWidth={top:(parseFloat(o.borderTopWidth)||0)/c,right:(parseFloat(o.borderRightWidth)||0)/c,bottom:(parseFloat(o.borderBottomWidth)||0)/c,left:(parseFloat(o.borderLeftWidth)||0)/c},!r.lineWidth.top&&(r.lineWidth.right?u="borderRightColor":r.lineWidth.bottom?u="borderBottomColor":r.lineWidth.left&&(u="borderLeftColor"));var y=p(e,function(t){return i.getComputedStyle(t)[u]});null!=y&&(r.lineColor=y);var m=["left","right","center","justify"];-1!==m.indexOf(o.textAlign)&&(r.halign=o.textAlign),-1!==(m=["middle","bottom","top"]).indexOf(o.verticalAlign)&&(r.valign=o.verticalAlign);var v=parseInt(o.fontSize||"");isNaN(v)||(r.fontSize=v/l);var w=function(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}(o);w&&(r.fontStyle=w);var b=(o.fontFamily||"").toLowerCase();return -1!==t.indexOf(b)&&(r.font=b),r}(t,s,e,u,n)),l.push({rowSpan:s.rowSpan,colSpan:s.colSpan,styles:c,_element:s,content:function(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||""}(s)})}}var d=n.getComputedStyle(o);if(l.length>0&&(i||"none"!==d.display))return l}(s,u,n,m,o,i);w&&("thead"===v?c.push(w):"tfoot"===v?g.push(w):d.push(w))}return{head:c,body:d,foot:g}}function m(t,e,n,o,i){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var r=Object(t),l=1;l<arguments.length;l++){var a=arguments[l];if(null!=a)for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(r[s]=a[s])}return r}function v(t,e){for(var n,o,i,r,a,s,h,u,c,d,g,p,v,w,b,x,S,W,P,C,D,F,H,j,k,z,T,A,R,L=new l(t),M=L.getDocumentOptions(),B=L.getGlobalOptions(),E=0,_=[B,M,e];E<_.length;E++){var N=_[E];N&&"object"!=typeof N&&console.error("The options parameter should be of type object, is: "+typeof N),N.startY&&"number"!=typeof N.startY&&(console.error("Invalid value for startY option",N.startY),delete N.startY)}var O=m({},B,M,e);"u">typeof window&&(R=window);var I=function(t,e,n){for(var o={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},i=function(i){if("columnStyles"===i)o.columnStyles=m({},t[i],e[i],n[i]);else{var r=[t,e,n].map(function(t){return t[i]||{}});o[i]=m({},r[0],r[1],r[2])}},r=0,l=Object.keys(o);r<l.length;r++)i(l[r]);return o}(B,M,e),Y=function(t,e,n){for(var o={didParseCell:[],willDrawCell:[],didDrawCell:[],willDrawPage:[],didDrawPage:[]},i=0,r=[t,e,n];i<r.length;i++){var l=r[i];l.didParseCell&&o.didParseCell.push(l.didParseCell),l.willDrawCell&&o.willDrawCell.push(l.willDrawCell),l.didDrawCell&&o.didDrawCell.push(l.didDrawCell),l.willDrawPage&&o.willDrawPage.push(l.willDrawPage),l.didDrawPage&&o.didDrawPage.push(l.didDrawPage)}return o}(B,M,e),K=(n=L,H=f((o=O).margin,40/n.scaleFactor()),j=null!=(i=n,r=o.startY,a=i.getLastAutoTable(),s=i.scaleFactor(),h=i.pageNumber(),u=!1,a&&a.startPageNumber&&(u=a.startPageNumber+a.pageNumber-1===h),c="number"==typeof r?r:(null==r||!1===r)&&u&&(null==a?void 0:a.finalY)!=null?a.finalY+20/s:null)?c:H.top,D=!0===o.showFoot?"everyPage":!1===o.showFoot?"never":null!=(d=o.showFoot)?d:"everyPage",F=!0===o.showHead?"everyPage":!1===o.showHead?"never":null!=(g=o.showHead)?g:"everyPage",k=null!=(p=o.useCss)&&p,z=o.theme||(k?"plain":"striped"),T=!!o.horizontalPageBreak,A=null!=(v=o.horizontalPageBreakRepeat)?v:null,{includeHiddenHtml:null!=(w=o.includeHiddenHtml)&&w,useCss:k,theme:z,startY:j,margin:H,pageBreak:null!=(b=o.pageBreak)?b:"auto",rowPageBreak:null!=(x=o.rowPageBreak)?x:"auto",tableWidth:null!=(S=o.tableWidth)?S:"auto",showHead:F,showFoot:D,tableLineWidth:null!=(W=o.tableLineWidth)?W:0,tableLineColor:null!=(P=o.tableLineColor)?P:200,horizontalPageBreak:T,horizontalPageBreakRepeat:A,horizontalPageBreakBehaviour:null!=(C=o.horizontalPageBreakBehaviour)?C:"afterAllRows"}),q=function(t,e,n){var o,i,r,l,a,s=e.head||[],h=e.body||[],u=e.foot||[];if(e.html){var c=e.includeHiddenHtml;if(n){var d=y(t,e.html,n,c,e.useCss)||{};s=d.head||s,h=d.body||s,u=d.foot||s}else console.error("Cannot parse html in non browser environment")}return{columns:e.columns||(o=s,i=h,r=u,l=o[0]||i[0]||r[0]||[],a=[],Object.keys(l).filter(function(t){return"_element"!==t}
1).forEach(function(t){var e,n=1;"object"!=typeof(e=Array.isArray(l)?l[parseInt(t)]:l[t])||Array.isArray(e)||(n=(null==e?void 0:e.colSpan)||1);for(var o=0;o<n;o++){var i={dataKey:Array.isArray(l)?a.length:t+(o>0?"_".concat(o):"")};a.push(i)}}),a),head:s,body:h,foot:u}}(L,O,R);return{id:e.tableId,content:q,hooks:Y,styles:I,settings:K}}var w=function(t,e,n){this.table=e,this.pageNumber=e.pageNumber,this.settings=e.settings,this.cursor=n,this.doc=t.getDocument()},b=function(t){function e(e,n,o,i,r,l){var a=t.call(this,e,n,l)||this;return a.cell=o,a.row=i,a.column=r,a.section=i.section,a}return s(e,t),e}(w),x=function(){function t(t,e){this.pageNumber=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,r){for(var l=0;l<e.length;l++){var a=!1===(0,e[l])(new b(t,this,n,o,i,r));if(n.text=Array.isArray(n.text)?n.text:[n.text],a)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++)(0,o[n])(new w(t,this,e))},t.prototype.callWillDrawPageHooks=function(t,e){for(var n=0,o=this.hooks.willDrawPage;n<o.length;n++)(0,o[n])(new w(t,this,e))},t.prototype.getWidth=function(t){if("number"==typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth)return this.columns.reduce(function(t,e){return t+e.wrappedWidth},0);var e=this.settings.margin;return t-e.left-e.right},t}(),S=function(){function t(t,e,n,o,i){void 0===i&&(i=!1),this.height=0,this.raw=t,t instanceof h&&(this.raw=t._element,this.element=t._element),this.index=e,this.section=n,this.cells=o,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.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 i=n.cells[o.index];if(!i)return 0;var r=e.getLineHeight(i.styles.fontSize),l=i.padding("vertical")+r;return l>t?l:t},0)},t}(),W=function(){function t(t,e,n){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 o,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!=(o=t.content)?o:t,t._element&&(this.raw=t._element));var r=null!=i?""+i:"";this.text=r.split(/\r\n|\r|\n/g)}return t.prototype.getTextPos=function(){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 t,e,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){return void 0===e&&(e=1.15),Math.max((Array.isArray(this.text)?this.text.length:1)*(this.styles.fontSize/t*e)+this.padding("vertical"),this.styles.minCellHeight)},t.prototype.padding=function(t){var e=f(this.styles.cellPadding,0);return"vertical"===t?e.top+e.bottom:"horizontal"===t?e.left+e.right:e[t]},t}(),P=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 i=o[n].cells[this.index];i&&"number"==typeof i.styles.cellWidth&&(e=Math.max(e,i.styles.cellWidth))}return e},t}();function C(t,e,n){for(var o=e,i=t.reduce(function(t,e){return t+e.wrappedWidth},0),r=0;r<t.length;r++){var l=t[r],a=o*(l.wrappedWidth/i),s=l.width+a,h=n(l),u=s<h?h:s;e-=u-l.width,l.width=u}if(e=Math.round(1e10*e)/1e10){var c=t.filter(function(t){return!(e<0)||t.width>n(t)});c.length&&(e=C(c,e,n))}return e}function D(t,e,n,o,i){return t.map(function(t){var r=t,l=e,a=n,s=o,h=i,c=1e4*s.scaleFactor();if((l=Math.ceil(l*c)/c)>=u(r,a,s))return r;for(;l<u(r+h,a,s)&&!(r.length<=1);)r=r.substring(0,r.length-1);return r.trim()+h})}function F(t,e){var n,o,i,r,a,s,h,c,d=new l(t),f=function(t,e){var n=t.content,o=n.columns.map(function(t,e){var n;return new P("object"==typeof t&&null!=(n=t.dataKey)?n:e,t,e)});if(0===n.head.length){var i=j(o,"head");i&&n.head.push(i)}if(0===n.foot.length){var i=j(o,"foot");i&&n.foot.push(i)}
1var r=t.settings.theme,l=t.styles;return{columns:o,head:H("head",n.head,o,l,r,e),body:H("body",n.body,o,l,r,e),foot:H("foot",n.foot,o,l,r,e)}}(e,d.scaleFactor()),p=new x(e,f);return n=d,o=p,i=n.scaleFactor(),r=o.settings.horizontalPageBreak,a=g(n,o),o.allRows().forEach(function(t){for(var e=0,l=o.columns;e<l.length;e++){var s=l[e],h=t.cells[s.index];if(h){var c=o.hooks.didParseCell;o.callCellHooks(n,c,h,t,s,null);var d=h.padding("horizontal");h.contentWidth=u(h.text,h.styles,n)+d;var f=u(h.text.join(" ").split(/[^\S\u00A0]+/),h.styles,n);if(h.minReadableWidth=f+h.padding("horizontal"),"number"==typeof h.styles.cellWidth)h.minWidth=h.styles.cellWidth,h.wrappedWidth=h.styles.cellWidth;else if("wrap"===h.styles.cellWidth||!0===r)h.contentWidth>a?(h.minWidth=a,h.wrappedWidth=a):(h.minWidth=h.contentWidth,h.wrappedWidth=h.contentWidth);else{var g=10/i;h.minWidth=h.styles.minCellWidth||g,h.wrappedWidth=h.contentWidth,h.minWidth>h.wrappedWidth&&(h.wrappedWidth=h.minWidth)}}}}),o.allRows().forEach(function(t){for(var e=0,n=o.columns;e<n.length;e++){var i=n[e],r=t.cells[i.index];if(r&&1===r.colSpan)i.wrappedWidth=Math.max(i.wrappedWidth,r.wrappedWidth),i.minWidth=Math.max(i.minWidth,r.minWidth),i.minReadableWidth=Math.max(i.minReadableWidth,r.minReadableWidth);else{var l=o.styles.columnStyles[i.dataKey]||o.styles.columnStyles[i.index]||{},a=l.cellWidth||l.minCellWidth;a&&"number"==typeof a&&(i.minWidth=a,i.wrappedWidth=a)}r&&(r.colSpan>1&&!i.minWidth&&(i.minWidth=r.minWidth),r.colSpan>1&&!i.wrappedWidth&&(i.wrappedWidth=r.minWidth))}}),s=[],h=0,p.columns.forEach(function(t){var e=t.getMaxCustomCellWidth(p);e?t.width=e:(t.width=t.wrappedWidth,s.push(t)),h+=t.width}),(c=p.getWidth(d.pageSize().width)-h)&&(c=C(s,c,function(t){return Math.max(t.minReadableWidth,t.minWidth)})),c&&(c=C(s,c,function(t){return t.minWidth})),c=Math.abs(c),!p.settings.horizontalPageBreak&&c>.1/d.scaleFactor()&&(c=c<1?c:Math.round(c),console.log("Of the table content, ".concat(c," units width could not fit page"))),function(t){for(var e=t.allRows(),n=0;n<e.length;n++)for(var o=e[n],i=null,r=0,l=0,a=0;a<t.columns.length;a++){var s=t.columns[a];if((l-=1)>1&&t.columns[a+1])r+=s.width,delete o.cells[s.index];else if(i){var h=i;delete o.cells[s.index],i=null,h.width=s.width+r}else{var h=o.cells[s.index];if(!h)continue;if(l=h.colSpan,r=0,h.colSpan>1){i=h,r+=s.width;continue}h.width=s.width+r}}}(p),function(t,e){for(var n={count:0,height:0},o=0,i=t.allRows();o<i.length;o++){for(var r=i[o],l=0,a=t.columns;l<a.length;l++){var s=a[l],h=r.cells[s.index];if(h){e.applyStyles(h.styles,!0);var u=h.width-h.padding("horizontal");if("linebreak"===h.styles.overflow)h.text=e.splitTextToSize(h.text,u+1/e.scaleFactor(),{fontSize:h.styles.fontSize});else if("ellipsize"===h.styles.overflow)h.text=D(h.text,u,h.styles,e,"...");else if("hidden"===h.styles.overflow)h.text=D(h.text,u,h.styles,e,"");else if("function"==typeof h.styles.overflow){var c=h.styles.overflow(h.text,u);"string"==typeof c?h.text=[c]:h.text=c}h.contentHeight=h.getContentHeight(e.scaleFactor(),e.getLineHeightFactor());var d=h.contentHeight/h.rowSpan;h.rowSpan>1&&n.count*n.height<d*h.rowSpan?n={height:d,count:h.rowSpan}:n&&n.count>0&&n.height>d&&(d=n.height),d>r.height&&(r.height=d)}}n.count--}}(p,d),function(t){for(var e={},n=1,o=t.allRows(),i=0;i<o.length;i++)for(var r=o[i],l=0,a=t.columns;l<a.length;l++){var s=a[l],h=e[s.index];if(n>1)n--,delete r.cells[s.index];else if(h)h.cell.height+=r.height,n=h.cell.colSpan,delete r.cells[s.index],h.left--,h.left<=1&&delete e[s.index];else{var u=r.cells[s.index];if(!u)continue;if(u.height=r.height,u.rowSpan>1){var c=o.length-i,d=u.rowSpan>c?c:u.rowSpan;e[s.index]={cell:u,left:d,row:r}}}}}(p),d.applyStyles(d.userStyles),p}function H(t,e,n,o,i,r){var l={};return e.map(function(e,a){for(var s=0,h={},u=0,c=0,d=0;d<n.length;d++){var f=n[d];if(null==l[f.index]||0===l[f.index].left)if(0===c){var g=void 0;g=Array.isArray(e)?e[f.index-u-s]:e[f.dataKey];var p={};"object"!=typeof g||Array.isArray(g)||(p=(null==g?void 0:g.styles)||{});var y=new W(g,function(t,e,n,o,i,r,l){var a,s={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"}}}[o];"head"===t?a=i.headStyles:"body"===t?a=i.bodyStyles:"foot"===t&&(a=i.footStyles);var h=m({},s.table,s[t],i.styles,a),u=i.columnStyles[e.dataKey]||i.columnStyles[e.index]||{},c="body"===t&&n%2==0?m({},s.alternateRow,i.alternateRowStyles):{},d=m({},{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,
1cellPadding:5/r,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0},h,c,"body"===t?u:{});return m(d,l)}(t,f,a,i,o,r,p),t);h[f.dataKey]=y,h[f.index]=y,c=y.colSpan-1,l[f.index]={left:y.rowSpan-1,times:c}}else c--,u++;else l[f.index].left--,c=l[f.index].times,s++}return new S(e,a,t,h)})}function j(t,e){var n={};return t.forEach(function(t){if(null!=t.raw){var o=function(t,e){if("head"===t){if("object"==typeof e)return e.header||null;else if("string"==typeof e||"number"==typeof e)return e}else if("foot"===t&&"object"==typeof e)return e.footer;return null}(e,t.raw);null!=o&&(n[t.dataKey]=o)}}),Object.keys(n).length>0?n:null}function k(t,e){var n=e.settings,o=n.startY,i=n.margin,r={x:i.left,y:o},a=e.getHeadHeight(e.columns)+e.getFootHeight(e.columns),s=o+i.bottom+a;"avoid"===n.pageBreak&&(s+=e.body.reduce(function(t,e){return t+e.height},0));var h=new l(t);("always"===n.pageBreak||null!=n.startY&&s>h.pageSize().height)&&(E(h),r.y=i.top),e.callWillDrawPageHooks(h,r);var u=m({},r);e.startPageNumber=h.pageNumber(),n.horizontalPageBreak?function(t,e,n,o){var i=function(t,e){for(var n=[],o=0;o<e.columns.length;o++){var i=function(t,e,n){void 0===n&&(n={});var o,i=g(t,e),r=new Map,l=[],a=[],s=[];Array.isArray(e.settings.horizontalPageBreakRepeat)?s=e.settings.horizontalPageBreakRepeat:("string"==typeof e.settings.horizontalPageBreakRepeat||"number"==typeof e.settings.horizontalPageBreakRepeat)&&(s=[e.settings.horizontalPageBreakRepeat]),s.forEac
1h(function(t){var n=e.columns.find(function(e){return e.dataKey===t||e.index===t});n&&!r.has(n.index)&&(r.set(n.index,!0),l.push(n.index),a.push(e.columns[n.index]),i-=n.wrappedWidth)});for(var h=!0,u=null!=(o=null==n?void 0:n.start)?o:0;u<e.columns.length;){if(r.has(u)){u++;continue}var c=e.columns[u].wrappedWidth;if(h||i>=c)h=!1,l.push(u),a.push(e.columns[u]),i-=c;else break;u++}return{colIndexes:l,columns:a,lastIndex:u-1}}(t,e,{start:o});i.columns.length&&(n.push(i),o=i.lastIndex)}return n}(t,e);if("afterAllRows"===e.settings.horizontalPageBreakBehaviour)i.forEach(function(i,r){var l,a,s,h,u;t.applyStyles(t.userStyles),r>0?B(t,e,n,o,i.columns,!0):z(t,e,o,i.columns),l=t,a=e,s=n,h=o,u=i.columns,l.applyStyles(l.userStyles),a.body.forEach(function(t,e){var n=e===a.body.length-1;R(l,a,t,n,s,h,u)}),A(t,e,o,i.columns)});else for(var r=-1,l=i[0];r<e.body.length-1;)!function(){var a=r;if(l){t.applyStyles(t.userStyles);var s=l.columns;r>=0?B(t,e,n,o,s,!0):z(t,e,o,s),a=T(t,e,r+1,o,s),A(t,e,o,s)}var h=a-r;i.slice(1).forEach(function(i){t.applyStyles(t.userStyles),B(t,e,n,o,i.columns,!0),T(t,e,r+1,o,i.columns,h),A(t,e,o,i.columns)}),r=a}()}(h,e,u,r):(h.applyStyles(h.userStyles),("firstPage"===n.showHead||"everyPage"===n.showHead)&&e.head.forEac
1h(function(t){return L(h,e,t,r,e.columns)}),h.applyStyles(h.userStyles),e.body.forEach(function(t,n){var o=n===e.body.length-1;R(h,e,t,o,u,r,e.columns)}),h.applyStyles(h.userStyles),("lastPage"===n.showFoot||"everyPage"===n.showFoot)&&e.foot.forEach(function(t){return L(h,e,t,r,e.columns)})),c(h,e,u,r),e.callEndPageHooks(h,r),e.finalY=r.y,t.lastAutoTable=e,h.applyStyles(h.userStyles)}function z(t,e,n,o){var i=e.settings;t.applyStyles(t.userStyles),("firstPage"===i.showHead||"everyPage"===i.showHead)&&e.head.forEach(function(i){return L(t,e,i,n,o)})}function T(t,e,n,o,i,r){t.applyStyles(t.userStyles);for(var l=Math.min(n+(r=null!=r?r:e.body.length),e.body.length),a=-1,s=e.body.slice(n,l),h=0;h<s.length;h++){var u=s[h],c=n+h===e.body.length-1,d=M(t,e,c,o);if(u.canEntireRowFit(d,i))L(t,e,u,o,i),a=n+h;else break}return a}function A(t,e,n,o){var i=e.settings;t.applyStyles(t.userStyles),("lastPage"===i.showFoot||"everyPage"===i.showFoot)&&e.foot.forEach(function(i){return L(t,e,i,n,o)})}function R(t,e,n,o,i,r,l){var a=M(t,e,o,r);if(n.canEntireRowFit(a,l))L(t,e,n,r,l);else if(function(t,e,n,o){var i=t.pageSize().height,r=o.settings.margin,l=i-(r.top+r.bottom);"body"===e.section&&(l-=o.getHeadHeight(o.columns)+o.getFootHeight(o.columns));var a=e.getMinimumRowHeight(o.columns,t);if(a>l)return console.log("Will not be able to print row ".concat(e.index," correctly since it's minimum height is larger than page height")),!0;if(!(a<n))return!1;var s=e.hasRowSpan(o.columns);return e.getMaxCellHeight(o.columns)>l?(s&&console.log("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):!s&&"avoid"!==o.settings.rowPageBreak}(t,n,a,e)){var s=function(t,e,n,o){var i={};t.spansMultiplePages=!0,t.height=0;for(var r=0,l=0,a=n.columns;l<a.length;l++){var s=a[l],h=t.cells[s.index];if(h){Array.isArray(h.text)||(h.text=[h.text]);var u=new W(h.raw,h.styles,h.section);(u=m(u,h)).text=[];var c=function(t,e,n){var o=n.getLineHeight(t.styles.fontSize);return Math.max(0,Math.floor((e-t.padding("vertical"))/o))}(h,e,o);h.text.length>c&&(u.text=h.text.splice(c,h.text.length));var d=o.scaleFactor(),f=o.getLineHeightFactor();h.contentHeight=h.getContentHeight(d,f),h.contentHeight>=e&&(h.contentHeight=e,u.styles.minCellHeight-=e),h.contentHeight>t.height&&(t.height=h.contentHeight),u.contentHeight=u.getContentHeight(d,f),u.contentHeight>r&&(r=u.contentHeight),i[s.index]=u}}var g=new S(t.raw,-1,t.section,i,!0);g.height=r;for(var p=0,y=n.columns;p<y.length;p++){var s=y[p],u=g.cells[s.index];u&&(u.height=g.height);var h=t.cells[s.index];h&&(h.height=t.height)}return g}(n,a,e,t);L(t,e,n,r,l),B(t,e,i,r,l),R(t,e,s,o,i,r,l)}else B(t,e,i,r,l),R(t,e,n,o,i,r,l)}function L(t,e,n,i,r){i.x=e.settings.margin.left;for(var l=0;l<r.length;l++){var a=r[l],s=n.cells[a.index];if(!s||(t.applyStyles(s.styles),s.x=i.x,s.y=i.y,!1===e.callCellHooks(t,e.hooks.willDrawCell,s,n,a,i))){i.x+=a.width;continue}!function(t,e,n){var o=e.styles;if(t.getDocument().setFillColor(t.getDocument().getFillColor()),"number"==typeof o.lineWidth){var i=d(o.lineWidth,o.fillColor);i&&t.rect(e.x,n.y,e.width,e.height,i)}else"object"==typeof o.lineWidth&&(o.fillColor&&t.rect(e.x,n.y,e.width,e.height,"F"),function(t,e,n,o){var i,r,l,a;function s(e,n,o,i,r){t.getDocument().setLineWidth(e),t.getDocument().line(n,o,i,r,"S")}o.top&&(i=n.x,r=n.y,l=n.x+e.width,a=n.y,o.right&&(l+=.5*o.right),o.left&&(i-=.5*o.left),s(o.top,i,r,l,a)),o.bottom&&(i=n.x,r=n.y+e.height,l=n.x+e.width,a=n.y+e.height,o.right&&(l+=.5*o.right),o.left&&(i-=.5*o.left),s(o.bottom,i,r,l,a)),o.left&&(i=n.x,r=n.y,l=n.x,a=n.y+e.height,o.top&&(r-=.5*o.top),o.bottom&&(a+=.5*o.bottom),s(o.left,i,r,l,a)),o.right&&(i=n.x+e.width,r=n.y,l=n.x+e.width,a=n.y+e.height,o.top&&(r-=.5*o.top),o.bottom&&(a+=.5*o.bottom),s(o.right,i,r,l,a))}(t,e,n,o.lineWidth))}(t,s,i);var h=s.getTextPos();o(s.text,h.x,h.y,{halign:s.styles.halign,valign:s.styles.valign,maxWidth:Math.ceil(s.width-s.padding("left")-s.padding("right"))},t.getDocument()),e.callCellHooks(t,e.hooks.didDrawCell,s,n,a,i),i.x+=a.width}i.y+=n.height}function M(t,e,n,o){var i=e.settings.margin.bottom,r=e.settings.showFoot;return("everyPage"===r||"lastPage"===r&&n)&&(i+=e.getFootHeight(e.columns)),t.pageSize().height-o.y-i}function B(t,e,n,o,i,r){void 0===i&&(i=[]),void 0===r&&(r=!1),t.applyStyles(t.userStyles),"everyPage"!==e.settings.showFoot||r||e.foot.forEach(function(n){return L(t,e,n,o,i)}),e.callEndPageHooks(t,o);var l=e.settings.margin;c(t,e,n,o),E(t),e.pageNumber++,o.x=l.left,o.y=l.top,n.y=l.top,e.callWillDrawPageHooks(t,o),"everyPage"===e.settings.showHead&&(e.head.forEac
1h(function(n){return L(t,e,n,o,i)}),t.applyStyles(t.userStyles))}function E(t){var e=t.pageNumber();return t.setPage(e+1),t.pageNumber()===e&&(t.addPage(),!0)}function _(t){t.API.autoTable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return k(this,F(this,v(this,t[0]))),this},t.API.lastAutoTable=!1,t.API.autoTableText=function(t,e,n,i){o(t,e,n,i,this)},t.API.autoTableSetDefaults=function(t){return l.setDefaults(t,this),this},t.autoTableSetDefaults=function(t,e){l.setDefaults(t,e)},t.API.autoTableHtmlToJson=function(t,e){if(void 0===e&&(e=!1),"u"<typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var n,o=y(new l(this),t,window,e,!1),i=o.head,r=o.body;return{columns:(null==(n=i[0])?void 0:n.map(function(t){return t.content}))||[],rows:r,data:r}}}function N(t,e){var n=v(t,e),o=F(t,n);k(t,o)}function O(t,e){var n=v(t,e);return F(t,n)}function I(t,e){k(t,e)}try{if("u">typeof window&&window){var Y=window,K=Y.jsPDF||(null==(i=Y.jspdf)?void 0:i.jsPDF);K&&_(K)}}catch(t){console.error("Could not apply autoTable plugin",t)}}}]);

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.