PageSourceSearch

https://app.lynara.ai/_next/static/chunks/42531-910d8089303c540a.js

js lynara.ai collected 2026-10-05 15:12:10 UTC 30,308 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42531],{442531:(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 d=0;d<s.length;d++)i.text(s[d],e-i.getStringUnitWidth(s[d])*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.d(e,{Ay:()=>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 d(t,e,n,o){var i=e.settings.tableLineWidth,r=e.settings.tableLineColor;t.applyStyles({lineWidth:i,lineColor:r});var l=c(i,!1);l&&t.rect(n.x,n.y,e.getWidth(t.pageSize().width),o.y-n.y,l)}function c(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]};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!==(i=t.right)&&void 0!==i?i:e,bottom:null!==(r=t.bottom)&&void 0!==r?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),a="string"==typeof e?n.document.querySelector(e):e;var r,l,a,s=Object.keys(t.getFontList()),u=t.scaleFactor(),d=[],c=[],g=[];if(!a)return console.error("Html table could not be found with input: ",e),{head:d,body:c,foot:g};for(var y=0;y<a.rows.length;y++){var v=a.rows[y],m=null===(l=null===(r=null==v?void 0:v.parentElement)||void 0===r?void 0:r.tagName)||void 0===l?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 d=void 0;r&&(d=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",d=l*n,c=o.borderTopWidth;if(o.borderBottomWidth===c&&o.borderRightWidth===c&&o.borderLeftWidth===c){var g=(parseFloat(c)||0)/d;g&&(r.lineWidth=g)}else r.lineWidth={top:(parseFloat(o.borderTopWidth)||0)/d,right:(parseFloat(o.borderRightWidth)||0)/d,bottom:(parseFloat(o.borderBottomWidth)||0)/d,left:(parseFloat(o.borderLeftWidth)||0)/d},!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 v=["left","right","center","justify"];-1!==v.indexOf(o.textAlign)&&(r.halign=o.textAlign),-1!==(v=["middle","bottom","top"]).indexOf(o.verticalAlign)&&(r.valign=o.verticalAlign);var m=parseInt(o.fontSize||"");isNaN(m)||(r.fontSize=m/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:d,_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 c=n.getComputedStyle(o);if(l.length>0&&(i||"none"!==c.display))return l}(s,u,n,v,o,i);w&&("thead"===m?d.push(w):"tfoot"===m?g.push(w):c.push(w))}return{head:d,body:c,foot:g}}function v(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 m(t,e){var n,o,i,r,a,s,h,u,d,c,g,p,m,w,b,x,S,W,P,C,D,F,H,j,k,z,A=new l(t),T=A.getDocumentOptions(),R=A.getGlobalOptions();!function(t,e,n){for(var o=0,i=[t,e,n];o<i.length;o++){var r=i[o];r&&"object"!=typeof r&&console.error("The options parameter should be of type object, is: "+typeof r),r.startY&&"number"!=typeof r.startY&&(console.error("Invalid value for startY option",r.startY),delete r.startY)}}(R,T,e);var L=v({},R,T,e);"undefined"!=typeof window&&(z=window);var E=function(t,e,n){for(var o={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},i=function(i){if("columnStyles"===i){var r=t[i],l=e[i],a=n[i];
1o.columnStyles=v({},r,l,a)}else{var s=[t,e,n].map(function(t){return t[i]||{}});o[i]=v({},s[0],s[1],s[2])}},r=0,l=Object.keys(o);r<l.length;r++)i(l[r]);return o}(R,T,e),M=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}(R,T,e),B=(C=f(L.margin,40/A.scaleFactor()),D=null!==(n=L.startY,o=A.getLastAutoTable(),i=A.scaleFactor(),r=A.pageNumber(),a=!1,o&&o.startPageNumber&&(a=o.startPageNumber+o.pageNumber-1===r),s="number"==typeof n?n:(null==n||!1===n)&&a&&(null==o?void 0:o.finalY)!=null?o.finalY+20/i:null)&&void 0!==s?s:C.top,W=!0===L.showFoot?"everyPage":!1===L.showFoot?"never":null!==(h=L.showFoot)&&void 0!==h?h:"everyPage",P=!0===L.showHead?"everyPage":!1===L.showHead?"never":null!==(u=L.showHead)&&void 0!==u?u:"everyPage",F=null!==(d=L.useCss)&&void 0!==d&&d,H=L.theme||(F?"plain":"striped"),j=!!L.horizontalPageBreak,k=null!==(c=L.horizontalPageBreakRepeat)&&void 0!==c?c:null,{includeHiddenHtml:null!==(g=L.includeHiddenHtml)&&void 0!==g&&g,useCss:F,theme:H,startY:D,margin:C,pageBreak:null!==(p=L.pageBreak)&&void 0!==p?p:"auto",rowPageBreak:null!==(m=L.rowPageBreak)&&void 0!==m?m:"auto",tableWidth:null!==(w=L.tableWidth)&&void 0!==w?w:"auto",showHead:P,showFoot:W,tableLineWidth:null!==(b=L.tableLineWidth)&&void 0!==b?b:0,tableLineColor:null!==(x=L.tableLineColor)&&void 0!==x?x:200,horizontalPageBreak:j,horizontalPageBreakRepeat:k,horizontalPageBreakBehaviour:null!==(S=L.horizontalPageBreakBehaviour)&&void 0!==S?S:"afterAllRows"}),N=function(t,e,n){var o,i,r,l,a,s=e.head||[],h=e.body||[],u=e.foot||[];if(e.html){var d=e.includeHiddenHtml;if(n){var c=y(t,e.html,n,d,e.useCss)||{};s=c.head||s,h=c.body||s,u=c.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}).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}}(A,L,z);return{id:e.tableId,content:N,hooks:M,styles:E,settings:B}}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?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)&&void 0!==o?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 d=t.filter(function(t){return!(e<0)||t.width>n(t)});d.length&&(e=C(d,e,n))}return e}function D(t,e,n,o,i){return t.map(function(t){return function(t,e,n,o,i){var r=1e4*o.scaleFactor();if((e=Math.ceil(e*r)/r)>=u(t,n,o))return t;for(;e<u(t+i,n,o)&&!(t.length<=1);)t=t.substring(0,t.length-1);return t.trim()+i}(t,e,n,o,i)})}function F(t,e){var n=new l(t),o=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)&&void 0!==n?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,n.scaleFactor()),i=new x(e,o);return!function(t,e){n=t.scaleFactor(),o=e.settings.horizontalPageBreak,i=g(t,e),e.allRows().forEach(function(r){for(var l=0,a=e.columns;l<a.length;l++){var s=a[l],h=r.cells[s.index];if(h){var d=e.hooks.didParseCell;e.callCellHooks(t,d,h,r,s,null);var c=h.padding("horizontal");h.contentWidth=u(h.text,h.styles,t)+c;var f=u(h.text.join(" ").split(/[^\S\u00A0]+/),h.styles,t);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===o)h.contentWidth>i?(h.minWidth=i,h.wrappedWidth=i):(h.minWidth=h.contentWidth,h.wrappedWidth=h.contentWidth);else{var g=10/n;h.minWidth=h.styles.minCellWidth||g,h.wrappedWidth=h.contentWidth,h.minWidth>h.wrappedWidth&&(h.wrappedWidth=h.minWidth)}}}}),e.allRows().forEach(function(t){for(var n=0,o=e.columns;n<o.length;n++){var i=o[n],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=e.styles.columnStyles[i.dataKey]||e.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))}});var n,o,i,r=[],l=0;e.columns.forEach(function(t){var n=t.getMaxCustomCellWidth(e);n?t.width=n:(t.width=t.wrappedWidth,r.push(t)),l+=t.width});var a=e.getWidth(t.pageSize().width)-l;a&&(a=C(r,a,function(t){return Math.max(t.minReadableWidth,t.minWidth)})),a&&(a=C(r,a,function(t){return t.minWidth})),a=Math.abs(a),!e.settings.horizontalPageBreak&&a>.1/t.scaleFactor()&&(a=a<1?a:Math.round(a),console.log("Of the table content, ".concat(a," 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}}}(e),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 d=h.styles.overflow(h.text,u);"string"==typeof d?h.text=[d]:h.text=d}h.contentHeight=h.getContentHeight(e.scaleFactor(),e.getLineHeightFactor());var c=h.contentHeight/h.rowSpan;h.rowSpan>1&&n.count*n.height<c*h.rowSpan?n={height:c,count:h.rowSpan}:n&&n.count>0&&n.height>c&&(c=n.height),c>r.height&&(r.height=c)}}n.count--}}(e,t),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 d=o.length-i,c=u.rowSpan>d?d:u.rowSpan;e[s.index]={cell:u,left:c,row:r}}}}}(e)}(n,i),n.applyStyles(n.userStyles),i}function H(t,e,n,o,i,r){var l={};return e.map(function(e,a){for(var s=0,h={},u=0,d=0,c=0;c<n.length;c++){var f=n[c];if(null==l[f.index]||0===l[f.index].left){if(0===d){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=v({},s.table,s[t],i.styles,a),u=i.columnStyles[e.dataKey]||i.columnStyles[e.index]||{},d="body"===t&&n%2==0?v({},s.alternateRow,i.alternateRowStyles):{},c=v({},{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,d,"body"===t?u:{});return v(c,l)}(t,f,a,i,o,r,p),t);h[f.dataKey]=y,h[f.index]=y,d=y.colSpan-1,l[f.index]={left:y.rowSpan-1,times:d}}else d--,u++}else l[f.index].left--,d=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;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)&&(B(h),r.y=i.top),e.callWillDrawPageHooks(h,r);var u=v({},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)&&void 0!==o?o:0;u<e.columns.length;){if(r.has(u)){u++;continue}var d=e.columns[u].wrappedWidth;if(h||i>=d)h=!1,l.push(u),a.push(e.columns[u]),i-=d;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;t.applyStyles(t.userStyles),r>0?M(t,e,n,o,i.columns,!0):z(t,e,o,i.columns),l=i.columns,t.applyStyles(t.userStyles),e.body.forEach(function(i,r){var a=r===e.body.length-1;R(t,e,i,a,n,o,l)}),T(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?M(t,e,n,o,s,!0):z(t,e,o,s),a=A(t,e,r+1,o,s),T(t,e,o,s)}var h=a-r;i.slice(1).forEach(function(i){t.applyStyles(t.userStyles),M(t,e,n,o,i.columns,!0),A(t,e,r+1,o,i.columns,h),T(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)})),d(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 A(t,e,n,o,i,r){t.applyStyles(t.userStyles);var l=Math.min(n+(r=null!=r?r:e.body.length),e.body.length),a=-1;return e.body.slice(n,l).forEach(function(r,l){var s=n+l===e.body.length-1,h=E(t,e,s,o);r.canEntireRowFit(h,i)&&(L(t,e,r,o,i),a=n+l)}),a}function T(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=E(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=v(u,h)).text=[];var d=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>d&&(u.text=h.text.splice(d,h.text.length));var c=o.scaleFactor(),f=o.getLineHeightFactor();h.contentHeight=h.getContentHeight(c,f),h.contentHeight>=e&&(h.contentHeight=e,u.styles.minCellHeight-=e),h.contentHeight>t.height&&(t.height=h.contentHeight),u.contentHeight=u.getContentHeight(c,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),M(t,e,i,r,l),R(t,e,s,o,i,r,l)}else M(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=c(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 E(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 M(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;d(t,e,n,o),B(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 B(t){var e=t.pageNumber();return t.setPage(e+1),t.pageNumber()===e&&(t.addPage(),!0)}function N(t,e){var n=m(t,e),o=F(t,n);k(t,o)}try{if("undefined"!=typeof window&&window){var _=window,O=_.jsPDF||(null===(i=_.jspdf)||void 0===i?void 0:i.jsPDF);O&&function(t){t.API.autoTable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return k(this,F(this,m(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),"undefined"==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?void 0:n.map(function(t){return t.content}))||[],rows:r,data:r}}}(O)}}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.