PageSourceSearch

https://pathogen.watch/_next/static/chunks/2491-4394f0713cd497cb.js

js pathogen.watch collected 2026-09-25 15:02:19 UTC 30,986 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="dade99fc-241a-4556-9016-20fb7f811805",t._sentryDebugIdIdentifier="sentry-dbid-dade99fc-241a-4556-9016-20fb7f811805")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2491],{31812:function(t,e,i){i.d(e,{Z:function(){return w}});var o=i(63366),n=i(87462),r=i(67294),s=i(19189),l=i(33448),a=i(94780),f=i(25583),d=i(21758),_=i(30092),u=i(82580),c=i(34867);function h(t){return(0,c.ZP)("MuiLoadingButton",t)}let m=(0,i(1588).Z)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);var g=i(85893);let p=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],b=t=>{let{loading:e,loadingPosition:i,classes:o}=t,r={root:["root",e&&"loading"],startIcon:[e&&`startIconLoading${(0,s.Z)(i)}`],endIcon:[e&&`endIconLoading${(0,s.Z)(i)}`],loadingIndicator:["loadingIndicator",e&&`loadingIndicator${(0,s.Z)(i)}`]},l=(0,a.Z)(r,h,o);return(0,n.Z)({},o,l)},I=t=>"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t&&"classes"!==t,v=(0,f.ZP)(_.Z,{shouldForwardProp:t=>I(t)||"classes"===t,name:"MuiLoadingButton",slot:"Root",overridesResolver:(t,e)=>[e.root,e.startIconLoadingStart&&{[`& .${m.startIconLoadingStart}`]:e.startIconLoadingStart},e.endIconLoadingEnd&&{[`& .${m.endIconLoadingEnd}`]:e.endIconLoadingEnd}]})(({ownerState:t,theme:e})=>(0,n.Z)({[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},"center"===t.loadingPosition&&{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${m.loading}`]:{color:"transparent"}},"start"===t.loadingPosition&&t.fullWidth&&{[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginRight:-8}},"end"===t.loadingPosition&&t.fullWidth&&{[`& .${m.startIconLoadingStart}, & .${m.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginLeft:-8}})),y=(0,f.ZP)("div",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>{let{ownerState:i}=t;return[e.loadingIndicator,e[`loadingIndicator${(0,s.Z)(i.loadingPosition)}`]]}})(({theme:t,ownerState:e})=>(0,n.Z)({position:"absolute",visibility:"visible",display:"flex"},"start"===e.loadingPosition&&("outlined"===e.variant||"contained"===e.variant)&&{left:"small"===e.size?10:14},"start"===e.loadingPosition&&"text"===e.variant&&{left:6},"center"===e.loadingPosition&&{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled},"end"===e.loadingPosition&&("outlined"===e.variant||"contained"===e.variant)&&{right:"small"===e.size?10:14},"end"===e.loadingPosition&&"text"===e.variant&&{right:6},"start"===e.loadingPosition&&e.fullWidth&&{position:"relative",left:-10},"end"===e.loadingPosition&&e.fullWidth&&{position:"relative",right:-10}));var w=r.forwardRef(function(t,e){let i=(0,d.Z)({props:t,name:"MuiLoadingButton"}),{children:r,disabled:s=!1,id:a,loading:f=!1,loadingIndicator:_,loadingPosition:c="center",variant:h="text"}=i,m=(0,o.Z)(i,p),I=(0,l.Z)(a),w=null!=_?_:(0,g.jsx)(u.Z,{"aria-labelledby":I,color:"inherit",size:16}),O=(0,n.Z)({},i,{disabled:s,loading:f,loadingIndicator:w,loadingPosition:c,variant:h}),S=b(O),N=f?(0,g.jsx)(y,{className:S.loadingIndicator,ownerState:O,children:w}):null;return(0,g.jsxs)(v,(0,n.Z)({disabled:s||f,id:I,ref:e},m,{variant:h,classes:S,ownerState:O,children:["end"===O.loadingPosition?r:N,"end"===O.loadingPosition?N:r]}))})},83299:function(t,e,i){var o=i(64836);e.Z=void 0;var n=o(i(40631)),r=i(85893),s=(0,n.default)([(0,r.jsx)("circle",{cx:"7",cy:"14",r:"3"},"0"),(0,r.jsx)("circle",{cx:"11",cy:"6",r:"3"},"1"),(0,r.jsx)("circle",{cx:"16.6",cy:"17.6",r:"3"},"2")],"ScatterPlot");e.Z=s}
1,88378:function(t,e,i){i.d(e,{x:function(){return n}});var o=i(48764).Buffer;class n extends Error{constructor(t,e,i,...r){for(let s of(Array.isArray(e)&&(e=e.join(" ").trim()),super(e),void 0!==Error.captureStackTrace&&Error.captureStackTrace(this,n),this.code=t,r))for(let t in s){let e=s[t];this[t]=o.isBuffer(e)?e.toString(i.encoding):null==e?e:JSON.parse(JSON.stringify(e))}}}},6843:function(t,e,i){i.d(e,{v:function(){return c}});var o=i(88378);let n=function(t){let e=[];for(let i=0,n=t.length;i<n;i++){let n=t[i];if(null==n||!1===n)e[i]={disabled:!0};else if("string"==typeof n)e[i]={name:n};else{if("object"!=typeof n||null===n||Array.isArray(n))throw new o.x("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(n)} at position ${i}`]);if("string"!=typeof n.name)throw new o.x("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${i}`,"when column is an object literal"]);e[i]=n}}return e};var r=i(48764).Buffer;class s{constructor(t=100){this.size=t,this.length=0,this.buf=r.allocUnsafe(t)}prepend(t){if(r.isBuffer(t)){let e=this.length+t.length;if(e>=this.size&&(this.resize(),e>=this.size))throw Error("INVALID_BUFFER_STATE");let i=this.buf;this.buf=r.allocUnsafe(this.size),t.copy(this.buf,0),i.copy(this.buf,t.length),this.length+=t.length}else{let e=this.length++;e===this.size&&this.resize();let i=this.clone();this.buf[0]=t,i.copy(this.buf,1,0,e)}}append(t){let e=this.length++;e===this.size&&this.resize(),this.buf[e]=t}clone(){return r.from(this.buf.slice(0,this.length))}resize(){let t=this.length;this.size=2*this.size;let e=r.allocUnsafe(this.size);this.buf.copy(e,0,0,t),this.buf=e}toString(t){return t?this.buf.slice(0,this.length).toString(t):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}}var l=i(48764).Buffer,a=i(48764).Buffer;let f=function(t){let e={};for(let i in t)e[i.replace(/([A-Z])/g,function(t,e){return"_"+e.toLowerCase()})]=t[i];if(void 0===e.encoding||!0===e.encoding)e.encoding="utf8";else if(null===e.encoding||!1===e.encoding)e.encoding=null;else if("string"!=typeof e.encoding&&null!==e.encoding)throw new o.x("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(void 0===e.bom||null===e.bom||!1===e.bom)e.bom=!1;else if(!0!==e.bom)throw new o.x("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,void 0===e.cast||null===e.cast||!1===e.cast||""===e.cast)e.cast=void 0;else if("function"==typeof e.cast)e.cast_function=e.cast,e.cast=!0;else if(!0!==e.cast)throw new o.x("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(void 0===e.cast_date||null===e.cast_date||!1===e.cast_date||""===e.cast_date)e.cast_date=!1;else if(!0===e.cast_date)e.cast_date=function(t){let e=Date.parse(t);return isNaN(e)?t:new Date(e)};else if("function"!=typeof e.cast_date)throw new o.x("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=null,!0===e.columns)e.cast_first_line_to_header=void 0;else if("function"==typeof e.columns)e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=n(e.columns);else if(void 0===e.columns||null===e.columns||!1===e.columns)e.columns=!1;else throw new o.x("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(void 0===e.group_columns_by_name||null===e.group_columns_by_name||!1===e.group_columns_by_name)e.group_columns_by_name=!1;else if(!0!==e.group_columns_by_name)throw new o.x("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);else if(!1===e.columns)throw new o.x("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e);if(void 0===e.comment||null===e.comment||!1===e.comment||""===e.comment)e.comment=null;else if("string"==typeof e.comment&&(e.comment=a.from(e.comment,e.encoding)),!a.isBuffer(e.comment))throw new o.x("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);let i=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),0===e.delimiter.length)throw new o.x("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of str
1ing|buffer,",`got ${i}`],e);if(e.delimiter=e.delimiter.map(function(t){if(null==t||!1===t)return a.from(",",e.encoding);if("string"==typeof t&&(t=a.from(t,e.encoding)),!a.isBuffer(t)||0===t.length)throw new o.x("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${i}`],e);return t}),void 0===e.escape||!0===e.escape?e.escape=a.from('"',e.encoding):"string"==typeof e.escape?e.escape=a.from(e.escape,e.encoding):(null===e.escape||!1===e.escape)&&(e.escape=null),null!==e.escape&&!a.isBuffer(e.escape))throw Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(void 0===e.from||null===e.from)e.from=1;else if("string"==typeof e.from&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw Error(`Invalid Option: from must be an integer, got ${JSON.str
1ingify(e.from)}`);if(void 0===e.from_line||null===e.from_line)e.from_line=1;else if("string"==typeof e.from_line&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(void 0===e.ignore_last_delimiters||null===e.ignore_last_delimiters)e.ignore_last_delimiters=!1;else if("number"==typeof e.ignore_last_delimiters)e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),0===e.ignore_last_delimiters&&(e.ignore_last_delimiters=!1);else if("boolean"!=typeof e.ignore_last_delimiters)throw new o.x("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(!0===e.ignore_last_delimiters&&!1===e.columns)throw new o.x("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(void 0===e.info||null===e.info||!1===e.info)e.info=!1;else if(!0!==e.info)throw Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(void 0===e.max_record_size||null===e.max_record_size||!1===e.max_record_size)e.max_record_size=0;else if(Number.isInteger(e.max_record_size)&&e.max_record_size>=0);else if("string"==typeof e.max_record_size&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(void 0===e.objname||null===e.objname||!1===e.objname)e.objname=void 0;else if(a.isBuffer(e.objname)){if(0===e.objname.length)throw Error("Invalid Option: objname must be a non empty buffer");null===e.encoding||(e.objname=e.objname.toString(e.encoding))}else if("string"==typeof e.objname){if(0===e.objname.length)throw Error("Invalid Option: objname must be a non empty string")}else if("number"==typeof e.objname);else throw Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(void 0!==e.objname){if("number"==typeof e.objname){if(!1!==e.columns)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(!1===e.columns)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(void 0===e.on_record||null===e.on_record)e.on_record=void 0;else if("function"!=typeof e.on_record)throw new o.x("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(null===e.quote||!1===e.quote||""===e.quote)e.quote=null;else if(void 0===e.quote||!0===e.quote?e.quote=a.from('"',e.encoding):"string"==typeof e.quote&&(e.quote=a.from(e.quote,e.encoding)),!a.isBuffer(e.quote))throw Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(void 0===e.raw||null===e.raw||!1===e.raw)e.raw=!1;else if(!0!==e.raw)throw Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(void 0===e.record_delimiter)e.record_delimiter=[];else if("string"==typeof e.record_delimiter||a.isBuffer(e.record_delimiter)){if(0===e.record_delimiter.length)throw new o.x("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new o.x("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(t,i){if("string"==typeof t||a.isBuffer(t)){if(0===t.length)throw new o.x("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(t)}`],e)}else throw new o.x("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of str
1ing|buffer",`at index ${i},`,`got ${JSON.stringify(t)}`],e);return"string"==typeof t&&(t=a.from(t,e.encoding)),t}),"boolean"==typeof e.relax_column_count);else if(void 0===e.relax_column_count||null===e.relax_column_count)e.relax_column_count=!1;else throw Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if("boolean"==typeof e.relax_column_count_less);else if(void 0===e.relax_column_count_less||null===e.relax_column_count_less)e.relax_column_count_less=!1;else throw Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if("boolean"==typeof e.relax_column_count_more);else if(void 0===e.relax_column_count_more||null===e.relax_column_count_more)e.relax_column_count_more=!1;else throw Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if("boolean"==typeof e.relax_quotes);else if(void 0===e.relax_quotes||null===e.relax_quotes)e.relax_quotes=!1;else throw Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if("boolean"==typeof e.skip_empty_lines);else if(void 0===e.skip_empty_lines||null===e.skip_empty_lines)e.skip_empty_lines=!1;else throw Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if("boolean"==typeof e.skip_records_with_empty_values);else if(void 0===e.skip_records_with_empty_values||null===e.skip_records_with_empty_values)e.skip_records_with_empty_values=!1;else throw Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if("boolean"==typeof e.skip_records_with_error);else if(void 0===e.skip_records_with_error||null===e.skip_records_with_error)e.skip_records_with_error=!1;else throw Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(void 0===e.rtrim||null===e.rtrim||!1===e.rtrim)e.rtrim=!1;else if(!0!==e.rtrim)throw Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(void 0===e.ltrim||null===e.ltrim||!1===e.ltrim)e.ltrim=!1;else if(!0!==e.ltrim)throw Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(void 0===e.trim||null===e.trim||!1===e.trim)e.trim=!1;else if(!0!==e.trim)throw Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(!0===e.trim&&!1!==t.ltrim?e.ltrim=!0:!0!==e.ltrim&&(e.ltrim=!1),!0===e.trim&&!1!==t.rtrim?e.rtrim=!0:!0!==e.rtrim&&(e.rtrim=!1),void 0===e.to||null===e.to)e.to=-1;else if("string"==typeof e.to&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(void 0===e.to_line||null===e.to_line)e.to_line=-1;else if("string"==typeof e.to_line&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e};var d=i(48764).Buffer;let _=function(t){return t.every(t=>null==t||t.toString&&""===t.toString().trim())},u={utf8:d.from([239,187,191]),utf16le:d.from([255,254])},c=function(t={}){let e=f(t);return{info:{bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},original_options:t,options:e,state:{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:1===e.from_line,escaping:!1,escapeIsQuote:l.isBuffer(e.escape)&&l.isBuffer(e.quote)&&0===l.compare(e.escape,e.quote),expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new s(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(null!==e.comment?e.comment.length:0,...e.delimiter.map(t=>t.length),null!==e.quote?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new s(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:0===e.record_delimiter.length?0:Math.max(...e.record_delimiter.map(t=>t.length)),trimChars:[l.from(" ",e.encoding)[0],l.from("	",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[l.from(l.from([13],"utf8").toString(),e.encoding),l.from(l.from([10],"utf8").toString(),e.encoding),l.from(l.from([12],"utf8").toString(),e.encoding),l.from(l.from([32],"utf8").toString(),e.encoding),l.from(l.from([9],"utf8").toString(),e.encoding)]}
1,__needMoreData:function(t,e,i){if(i)return!1;let{encoding:o,escape:n,quote:r}=this.options,{quoting:s,needMoreDataSize:l,recordDelimiterMaxLength:a}=this.state;return e-t-1<Math.max(l,0===a?d.from("\r\n",o).length:a,s?(null===n?0:n.length)+r.length:0,s?r.length+a:0)},parse:function(t,e,i,n){let r,s;let{bom:l,encoding:a,from_line:_,ltrim:c,max_record_size:h,raw:m,relax_quotes:g,rtrim:p,skip_empty_lines:b,to:I,to_line:v}=this.options,{comment:y,escape:w,quote:O,record_delimiter:S}=this.options,{bomSkipped:N,previousBuf:x,rawBuffer:E,escapeIsQuote:L}=this.state;if(void 0===x){if(void 0===t){n();return}r=t}else r=void 0!==x&&void 0===t?x:d.concat([x,t]);if(!1===N){if(!1===l)this.state.bomSkipped=!0;else if(r.length<3){if(!1===e){this.state.previousBuf=r;return}}else{for(let t in u)if(0===u[t].compare(r,0,u[t].length)){let e=u[t].length;this.state.bufBytesStart+=e,r=r.slice(e),this.options=f({...this.original_options,encoding:t}),{comment:y,escape:w,quote:O}=this.options;break}this.state.bomSkipped=!0}}let R=r.length;for(s=0;s<R&&!this.__needMoreData(s,R,e);s++){if(!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1),-1!==v&&this.info.lines>v){this.state.stop=!0,n();return}!1===this.state.quoting&&0===S.length&&this.__autoDiscoverRecordDelimiter(r,s)&&(S=this.options.record_delimiter);let t=r[s];if(!0===m&&E.append(t),(13===t||10===t)&&!1===this.state.wasRowDelimiter&&(this.state.wasRowDelimiter=!0),!0===this.state.escaping)this.state.escaping=!1;else{if(null!==w&&!0===this.state.quoting&&this.__isEscape(r,s,t)&&s+w.length<R){if(L){if(this.__isQuote(r,s+w.length)){this.state.escaping=!0,s+=w.length-1;continue}}else{this.state.escaping=!0,s+=w.length-1;continue}}if(!1===this.state.commenting&&this.__isQuote(r,s)){if(!0===this.state.quoting){let e=r[s+O.length],i=p&&this.__isCharTrimable(r,s+O.length),n=null!==y&&this.__compareBytes(y,r,s+O.length,e),l=this.__isDelimiter(r,s+O.length,e),a=0===S.length?this.__autoDiscoverRecordDelimiter(r,s+O.length):this.__isRecordDelimiter(e,r,s+O.length);if(null!==w&&this.__isEscape(r,s,t)&&this.__isQuote(r,s+w.length))s+=w.length-1;else if(!e||l||a||n||i){this.state.quoting=!1,this.state.wasQuoting=!0,s+=O.length-1;continue}else if(!1===g){let t=this.__error(new o.x("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(e)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(void 0!==t)return t}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(O),s+=O.length-1}else if(0!==this.state.field.length){if(!1===g){let t=this.__infoField(),e=Object.keys(u).map(t=>!!u[t].equals(this.state.field.toString())&&t).filter(Boolean)[0],i=this.__error(new o.x("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(t.column)} at line ${t.lines}, value is ${JSON.stringify(this.state.field.toString(a))}`,e?`(${e} bom)`:void 0],this.options,t,{field:this.state.field}));if(void 0!==i)return i}}else{this.state.quoting=!0,s+=O.length-1;continue}}if(!1===this.state.quoting){let e=this.__isRecordDelimiter(t,r,s);if(0!==e){if(this.state.commenting&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length)this.info.comment_lines++;else{if(!1===this.state.enabled&&this.info.lines+(!0===this.state.wasRowDelimiter?1:0)>=_){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),s+=e-1;continue}if(!0===b&&!1===this.state.wasQuoting&&0===this.state.record.length&&0===this.state.field.length){this.info.empty_lines++,s+=e-1;continue}this.info.bytes=this.state.bufBytesStart+s;let t=this.__onField();if(void 0!==t)return t;this.info.bytes=this.state.bufBytesStart+s+e;let o=this.__onRecord(i);if(void 0!==o)return o;if(-1!==I&&this.info.records>=I){this.state.stop=!0,n();return}}this.state.commenting=!1,s+=e-1;continue}if(this.state.commenting)continue;if(0!==(null===y?0:this.__compareBytes(y,r,s,t))){this.state.commenting=!0;continue}let o=this.__isDelimiter(r,s,t);if(0!==o){this.info.bytes=this.state.bufBytesStart+s;let t=this.__onField();if(void 0!==t)return t;s+=o-1;continue}}}if(!1===this.state.commenting&&0!==h&&this.state.record_length+this.state.field.length>h)return this.__error(new o.x("CSV_MAX_RECORD_SIZE",["Max Record Size:","re
1cord exceed the maximum number of tolerated bytes",`of ${h}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let e=!1===c||!0===this.state.quoting||0!==this.state.field.length||!this.__isCharTrimable(r,s),l=!1===p||!1===this.state.wasQuoting;if(!0===e&&!0===l)this.state.field.append(t);else{if(!0===p&&!this.__isCharTrimable(r,s))return this.__error(new o.x("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));!1===e&&(s+=this.__isCharTrimable(r,s)-1);continue}}if(!0===e){if(!0===this.state.quoting){let t=this.__error(new o.x("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(void 0!==t)return t}else if(!0===this.state.wasQuoting||0!==this.state.record.length||0!==this.state.field.length){this.info.bytes=this.state.bufBytesStart+s;let t=this.__onField();if(void 0!==t)return t;let e=this.__onRecord(i);if(void 0!==e)return e}else!0===this.state.wasRowDelimiter?this.info.empty_lines++:!0===this.state.commenting&&this.info.comment_lines++}else this.state.bufBytesStart+=s,this.state.previousBuf=r.slice(s);!0===this.state.wasRowDelimiter&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(t){let{columns:e,group_columns_by_name:i,encoding:n,info:r,from:s,relax_column_count:l,relax_column_count_less:a,relax_column_count_more:f,raw:d,skip_records_with_empty_values:u}=this.options,{enabled:c,record:h}=this.state;if(!1===c)return this.__resetRecord();let m=h.length;if(!0===e){if(!0===u&&_(h)){this.__resetRecord();return}return this.__firstLineToColumns(h)}if(!1===e&&0===this.info.records&&(this.state.expectedRecordLength=m),m!==this.state.expectedRecordLength){let t=!1===e?new o.x("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:h}):new o.x("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${e.length},`,`got ${m} on line ${this.info.lines}`],this.options,this.__infoField(),{record:h});if(!0===l||!0===a&&m<this.state.expectedRecordLength||!0===f&&m>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=t;else{let e=this.__error(t);if(e)return e}}if(!0===u&&_(h)){this.__resetRecord();return}if(!0===this.state.recordHasError){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,1===s||this.info.records>=s){let{objname:o}=this.options;if(!1!==e){let s={};for(let t=0,o=h.length;t<o;t++)void 0===e[t]||e[t].disabled||(!0===i&&void 0!==s[e[t].name]?Array.isArray(s[e[t].name])?s[e[t].name]=s[e[t].name].concat(h[t]):s[e[t].name]=[s[e[t].name],h[t]]:s[e[t].name]=h[t]);if(!0===d||!0===r){let e=Object.assign({record:s},!0===d?{raw:this.state.rawBuffer.toString(n)}:{},!0===r?{info:this.__infoRecord()}:{}),i=this.__push(void 0===o?e:[s[o],e],t);if(i)return i}else{let e=this.__push(void 0===o?s:[s[o],s],t);if(e)return e}}else if(!0===d||!0===r){let e=Object.assign({record:h},!0===d?{raw:this.state.rawBuffer.toString(n)}:{},!0===r?{info:this.__infoRecord()}:{}),i=this.__push(void 0===o?e:[h[o],e],t);if(i)return i}else{let e=this.__push(void 0===o?h:[h[o],h],t);if(e)return e}}this.__resetRecord()},__firstLineToColumns:function(t){let{firstLineToHeaders:e}=this.state;try{let i=void 0===e?t:e.call(null,t);if(!Array.isArray(i))return this.__error(new o.x("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(i)}`],this.options,this.__infoField(),{headers:i}));let r=n(i);this.state.expectedRecordLength=r.length,this.options.columns=r,this.__resetRecord();return}catch(t){return t}},__resetRecord:function(){!0===this.options.raw&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){let{cast:t,encoding:e,rtrim:i,max_record_size:o}=this.options,{enabled:n,wasQuoting:r}=this.state;if(!1===n)return this.__resetField();let s=this.state.field.toString(e);if(!0===i&&!1===r&&(s=s.trimRight()),!0===t){let[t,e]=this.__cast(s);if(void 0!==t)return t;s=e}this.state.record.push(s),0!==o&&"string"==typeof s&&(this.state.record_length+=s.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(t,e){let{on_record:i}=this.options;if(void 0!==i){let e=this.__infoRecord();try{t=i.call(null,t,e)}catch(t){return t}if(null==t)return}e(t)},__cast:function(t){let{columns:e,relax_column_count:i}=this.options;if(!0===Array.isArray(e)&&i&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(null!==this.state.castField)try{let e=this.__infoField();return[void 0,this.state.castField.call(null,t,e)]}catch(t){return[t]}if(this.__isFloat(t))return[void 0,parseFloat(t)];if(!1!==this.options.cast_date){let e=this.__infoField();return[void 0,this.options.cast_date.call(null,t,e)]}return[void 0,t]},__isCharTrimable:function(t,e){return((t,e)=>{let{timchars:i}=this.state;t:for(let o=0;o<i.length;o++){let n=i[o];for(let i=0;i<n.length;i++)if(n[i]!==t[e+i])continue t;return n.length}return 0})(t,e)},__isFloat:function(t){return t-parseFloat(t)+1>=0}
1,__compareBytes:function(t,e,i,o){if(t[0]!==o)return 0;let n=t.length;for(let o=1;o<n;o++)if(t[o]!==e[i+o])return 0;return n},__isDelimiter:function(t,e,i){let{delimiter:o,ignore_last_delimiters:n}=this.options;if(!0===n&&this.state.record.length===this.options.columns.length-1||!1!==n&&"number"==typeof n&&this.state.record.length===n-1)return 0;t:for(let n=0;n<o.length;n++){let r=o[n];if(r[0]===i){for(let i=1;i<r.length;i++)if(r[i]!==t[e+i])continue t;return r.length}}return 0},__isRecordDelimiter:function(t,e,i){let{record_delimiter:o}=this.options,n=o.length;t:for(let r=0;r<n;r++){let n=o[r],s=n.length;if(n[0]===t){for(let t=1;t<s;t++)if(n[t]!==e[i+t])continue t;return n.length}}return 0},__isEscape:function(t,e,i){let{escape:o}=this.options;if(null===o)return!1;let n=o.length;if(o[0]===i){for(let i=0;i<n;i++)if(o[i]!==t[e+i])return!1;return!0}return!1},__isQuote:function(t,e){let{quote:i}=this.options;if(null===i)return!1;let o=i.length;for(let n=0;n<o;n++)if(i[n]!==t[e+n])return!1;return!0},__autoDiscoverRecordDelimiter:function(t,e){let{encoding:i}=this.options,o=[d.from("\r\n",i),d.from("\n",i),d.from("\r",i)];e:for(let i=0;i<o.length;i++){let n=o[i].length;for(let r=0;r<n;r++)if(o[i][r]!==t[e+r])continue e;return this.options.record_delimiter.push(o[i]),this.state.recordDelimiterMaxLength=o[i].length,o[i].length}return 0},__error:function(t){let{encoding:e,raw:i,skip_records_with_error:o}=this.options,n="string"==typeof t?Error(t):t;if(!o)return n;this.state.recordHasError=!0,void 0!==this.options.on_skip&&this.options.on_skip(n,i?this.state.rawBuffer.toString(e):void 0)},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:t,raw:e,encoding:i}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:!0===t,index:this.state.record.length,raw:e?this.state.rawBuffer.toString(i):void 0}},__infoField:function(){let{columns:t}=this.options,e=Array.isArray(t);return{...this.__infoRecord(),column:!0===e?t.length>this.state.record.length?t[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}}}}]);

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.