/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/data
 * @requires highcharts
 *
 * Data module
 *
 * (c) 2012-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */import*as e from"../highcharts.js";var t={};t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},t.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let s=e.default;var i=t.n(s);let{win:a}=i();function r(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},i=new XMLHttpRequest;function a(t,s){e.error&&e.error(t,s)}if(!e.url)return!1;i.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||i.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),(0,s.objectEach)(e.headers,function(e,t){i.setRequestHeader(t,e)}),e.responseType&&(i.responseType=e.responseType),i.onreadystatechange=function(){let t;if(4===i.readyState){if(200===i.status){if("blob"!==e.responseType&&(t=i.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return a(i,e)}return e.success?.(t,i)}a(i,i.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),i.send(e.data)}let n={ajax:r,getJSON:function(e,t){n.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};n.post=async function(e,t,i){let r=new a.FormData;(0,s.objectEach)(t,function(e,t){r.append(t,e)}),r.append("b64","true");let n=await a.fetch(e,{method:"POST",body:r,...i});if(n.ok){let e=await n.text(),i=document.createElement("a");i.href=`data:${t.type};base64,${e}`,i.download=t.filename,i.click(),(0,s.discardElement)(i)}};let o=e.default.Axis;var l=t.n(o);let u=e.default.Chart;var h=t.n(u);let{setLength:d,splice:c}={convertToNumber:function(e,t){switch(typeof e){case"boolean":return+!!e;case"number":return isNaN(e)&&!t?null:e;default:return isNaN(e=parseFloat(`${e??""}`))&&!t?null:e}},setLength:function(e,t,s){return Array.isArray(e)?(e.length=t,e):e[s?"subarray":"slice"](0,t)},splice:function(e,t,s,i,a=[]){if(Array.isArray(e))return Array.isArray(a)||(a=Array.from(a)),{removed:e.splice(t,s,...a),array:e};let r=Object.getPrototypeOf(e).constructor,n=e[i?"subarray":"slice"](t,t+s),o=new r(e.length-s+a.length);return o.set(e.subarray(0,t),0),o.set(a,t),o.set(e.subarray(t+s),t+a.length),{removed:n,array:o}}},m=class{constructor(e={}){this.isDataTable=!0,this.autoId=!e.id,this.columns={},this.id=e.id||(0,s.uniqueKey)(),this.rowCount=0,this.versionTag=(0,s.uniqueKey)();let t=0;(0,s.objectEach)(e.columns||{},(e,s)=>{this.columns[s]=e.slice(),t=Math.max(t,e.length)}),this.applyRowCount(t)}applyRowCount(e){this.rowCount=e,(0,s.objectEach)(this.columns,(t,s)=>{t.length!==e&&(this.columns[s]=d(t,e))})}deleteRows(e,t=1){if(t>0&&e<this.rowCount){let i=0;(0,s.objectEach)(this.columns,(s,a)=>{this.columns[a]=c(s,e,t).array,i=s.length}),this.rowCount=i}(0,s.fireEvent)(this,"afterDeleteRows",{rowIndex:e,rowCount:t}),this.versionTag=(0,s.uniqueKey)()}getColumn(e,t){return this.columns[e]}getColumns(e,t){return(e||Object.keys(this.columns)).reduce((e,t)=>(e[t]=this.columns[t],e),{})}getRowObject(e,t){let s={},i=this.columns;for(let a of(t??(t=Object.keys(this.columns)),t))s[a]=i[a]?.[e];return s}setColumn(e,t=[],s=0,i){this.setColumns({[e]:t},s,i)}setColumns(e,t,i){let a=this.rowCount;(0,s.objectEach)(e,(e,t)=>{this.columns[t]=e.slice(),a=e.length}),this.applyRowCount(a),i?.silent||((0,s.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,s.uniqueKey)())}setRow(e,t=this.rowCount,i,a){var r;let{columns:n}=this,o=i?this.rowCount+1:t+1,l=Object.keys(e);if(a?.addColumns!==!1)for(let e=0,t=l.length;e<t;e++)n[r=l[e]]||(n[r]=Array(this.rowCount));(0,s.objectEach)(n,(s,a)=>{s&&(i?s=c(s,t,0,!0,[e[a]]).array:s[t]=a in e?e[a]:s[t],n[a]=s)}),this.applyRowCount(Math.max(o,this.rowCount)),a?.silent||((0,s.fireEvent)(this,"afterSetRows",{rowIndex:t}),this.versionTag=(0,s.uniqueKey)())}getModified(){return this.modified||this}},p=e.default.Point;var f=t.n(p);let g=e.default.SeriesRegistry;var y=t.n(g);let x=e.default.Time;var v=t.n(x);let{doc:C}=i(),{seriesTypes:R}=y();function N(e){return!!(e.rowsURL||e.csvURL||e.columnsURL)}class T{static data(e,t={},s){return new T(e,t,s)}static rowsToColumns(e){let t,s,i,a,r;if(e)for(t=0,r=[],s=e.length;t<s;t++)for(i=0,a=e[t].length;i<a;i++)r[i]||(r[i]=[]),r[i][t]=e[t][i];return r}constructor(e,t={},s){this.rowsToColumns=T.rowsToColumns,this.dateFormats={"YYYY/mm/dd":{regex:/^(\d{4})[\-\/\.](\d{1,2})[\-\/\.](\d{1,2})$/,parser:function(e){return e?Date.UTC(+e[1],e[2]-1,+e[3]):NaN}},"dd/mm/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(e){return e?Date.UTC(+e[3],e[2]-1,+e[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(e){return e?Date.UTC(+e[3],e[1]-1,+e[2]):NaN}},"dd/mm/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(e){if(!e)return NaN;let t=new Date,s=+e[3];return s>t.getFullYear()-2e3?s+=1900:s+=2e3,Date.UTC(s,e[2]-1,+e[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(e){return e?Date.UTC(+e[3]+2e3,e[1]-1,+e[2]):NaN}}},this.chart=s,this.chartOptions=t,this.options=e,this.rawColumns=[],this.init(e,t,s)}init(e,t,i){let a=e.decimalPoint,r;t&&(this.chartOptions=t),i&&(this.chart=i),"."!==a&&","!==a&&(a=void 0),this.options=e,this.columns=e.columns||this.rowsToColumns(e.rows)||[],this.firstRowAsNames=e.firstRowAsNames??this.firstRowAsNames??!0,this.decimalRegex=a&&RegExp("^(-?[0-9]+)"+a+"([0-9]+)$"),void 0!==this.liveDataTimeout&&(0,s.internalClearTimeout)(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),r=!N(e)),r||(r=this.fetchLiveData()),r||(r=!!this.parseCSV().length),r||(r=!!this.parseTable().length),r||(r=this.parseGoogleSpreadsheet()),!r&&e.afterComplete&&e.afterComplete(this)}getColumnDistribution(){let e=this.chartOptions,t=this.options,i=[],a=function(e="line"){return(R[e].prototype.pointArrayMap||[0]).length},r=function(e="line"){return R[e].prototype.pointArrayMap},n=e?.chart?.type,o=[],l=[],u=t?.seriesMapping||e?.series?.map(function(){return{x:0}})||[],h=0;(e?.series||[]).forEach(e=>{o.push(a(e.type||n))}),u.forEach(e=>{i.push(e.x||0)}),0===i.length&&i.push(0),u.forEach(t=>{let i=new w,u=o[h]||a(n),d=(e?.series??[])[h]??{},c=r(d.type||n),m=c??["y"];((0,s.defined)(t.x)||d.isCartesian||!c)&&i.addColumnReader(t.x,"x"),(0,s.objectEach)(t,function(e,t){"x"!==t&&i.addColumnReader(e,t)});for(let e=0;e<u;e++)i.hasReader(m[e])||i.addColumnReader(void 0,m[e]);l.push(i),h++});let d=r(n);void 0===d&&(d=["y"]),this.valueCount={global:a(n),xColumns:i,individual:o,seriesBuilders:l,globalPointArrayMap:d}}dataFound(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()}parseCSV(e){let t=this,i=this.columns=[],a=e||this.options,r=a.startColumn||0,n=a.endColumn||Number.MAX_VALUE,o=[],l={",":0,";":0,"	":0},u=a.csv,h=a.startRow||0,d=a.endRow||Number.MAX_VALUE,c,m,p=0;if(u&&a.beforeParse&&(u=a.beforeParse.call(this,u,this)),u){if(m=u.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(a.lineDelimiter||"\n"),(!h||h<0)&&(h=0),(!d||d>=m.length)&&(d=m.length-1),a.itemDelimiter)c=a.itemDelimiter;else{let e,s,i;e=0,s=0,i=!1,m.some(function(t,i){let a=!1,r,n,o,u="";if(i>13)return!0;for(let i=0;i<t.length;i++){if(r=t[i],n=t[i+1],o=t[i-1],"#"===r)return;if('"'===r)if(a){if('"'!==o&&'"'!==n){for(;" "===n&&i<t.length;)n=t[++i];void 0!==l[n]&&l[n]++,a=!1}}else a=!0;else void 0!==l[r]?(isNaN(Date.parse(u=u.trim()))?(isNaN(u)||!isFinite(u))&&l[r]++:l[r]++,u=""):u+=r;","===r&&s++,"."===r&&e++}}),l[";"]>l[","]?i=";":(l[","],l[";"],i=","),a.decimalPoint||(e>s?a.decimalPoint=".":a.decimalPoint=",",t.decimalRegex=RegExp("^(-?[0-9]+)"+a.decimalPoint+"([0-9]+)$")),c=i}let e=0;for(p=h;p<=d;p++)"#"===m[p][0]?e++:function(e,t,s,l){let u=0,h="",d="",m="",p="",f=0,g=0;function y(t){h=e[t],d=e[t-1],m=e[t+1]}function x(e){o.length<g+1&&o.push([e]),o[g][o[g].length-1]!==e&&o[g].push(e)}function v(){if(r>f||f>n){++f,p="";return}a.columnTypes||(!isNaN(parseFloat(p))&&isFinite(p)?(p=parseFloat(p),x("number")):isNaN(Date.parse(p))?x("string"):(p=p.replace(/\//g,"-"),x("date"))),i.length<g+1&&i.push([]),i[g][t]=p,p="",++g,++f}if(e.trim().length&&"#"!==e.trim()[0]){for(;u<e.length;u++)if(y(u),'"'===h)for(y(++u);u<e.length&&('"'!==h||'"'===d||'"'===m);)('"'!==h||'"'===h&&'"'!==d)&&(p+=h),y(++u);else h===c?v():p+=h;v()}}(m[p],p-h-e);(!a.columnTypes||0===a.columnTypes.length)&&o.length&&o[0].length&&"date"===o[0][1]&&!a.dateFormat&&(a.dateFormat=function(e,i){let a="YYYY/mm/dd",r=[],n=[],o,l=[],u,h=0,d=!1,c;for((!i||i>e.length)&&(i=e.length);h<i;h++)if(void 0!==e[h]&&e[h]?.length)for(c=0,o=e[h].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),l=["","",""];c<o.length;c++)c<l.length&&(o[c]=parseInt(o[c],10),o[c]&&(n[c]=!n[c]||n[c]<o[c]?o[c]:n[c],void 0!==r[c]?r[c]!==o[c]&&(r[c]=!1):r[c]=o[c],o[c]>31?o[c]<100?l[c]="YY":l[c]="YYYY":o[c]>12&&o[c]<=31?(l[c]="dd",d=!0):l[c].length||(l[c]="mm")));if(d){for(c=0;c<r.length;c++)!1!==r[c]?n[c]>12&&"YY"!==l[c]&&"YYYY"!==l[c]&&(l[c]="YY"):n[c]>12&&"mm"===l[c]&&(l[c]="dd");return(3===l.length&&"dd"===l[1]&&"dd"===l[2]&&(l[2]="YY"),u=l.join("/"),t.dateFormats[u])?u:((0,s.fireEvent)(t,"deduceDateFailed"),a)}return a}(i[0])),this.dataFound()}return i}parseTable(){let e=this.options,t=this.columns||[],s=e.startRow||0,i=e.endRow||Number.MAX_VALUE,a=e.startColumn||0,r=e.endColumn||Number.MAX_VALUE;if(e.table){let n=e.table;"string"==typeof n&&(n=C.getElementById(n)),[].forEach.call(n.getElementsByTagName("tr"),(e,n)=>{n>=s&&n<=i&&[].forEach.call(e.children,(e,i)=>{let o=t[i-a],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&i>=a&&i<=r)for(t[i-a]||(t[i-a]=[]),t[i-a][n-s]=e.innerHTML;n-s>=l&&void 0===o[n-s-l];)o[n-s-l]=null,l++})}),this.dataFound()}return t}fetchLiveData(){let e=this,t=this.chart,i=this.options,a=i.enablePolling,n=(0,s.merge)(i),o=0,l=1e3*(i.dataRefreshRate||2);return!!N(i)&&(l=Math.max(l,1e3),delete i.csvURL,delete i.rowsURL,delete i.columnsURL,!function i(u){function h(n,h,d){if(!n||!/^(http|\/|\.\/|\.\.\/)/.test(n))return n&&(0,s.error)(`Invalid URL: ${n}`,!1,t),!1;function c(){a&&t.liveDataURL===n&&(e.liveDataTimeout=setTimeout(i,l))}return u&&((0,s.internalClearTimeout)(e.liveDataTimeout),t.liveDataURL=n),r({url:n,dataType:d||"json",success:function(e){t?.series&&h(e),c()},error:function(e,i){if(++o<3&&c(),t.options)return(0,s.error)(`Request failed - ${e.status} 
`+("string"==typeof i?i:i.message),!1,t)}}),!0}h(n.csvURL,function(e){t.update({data:{csv:e}})},"text")||h(n.rowsURL,function(e){t.update({data:{rows:e}})})||h(n.columnsURL,function(e){t.update({data:{columns:e}})})}(!0),N(i))}parseGoogleSpreadsheet(){let e=this,t=this.options,i=t.googleSpreadsheetKey,a=this.chart,n=Math.max(1e3*(t.dataRefreshRate||2),4e3);return i&&(delete t.googleSpreadsheetKey,!function o(l){r({url:["https://sheets.googleapis.com/v4/spreadsheets",i,"values",(()=>{if(t.googleSpreadsheetRange)return t.googleSpreadsheetRange;let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ",i=(e.charAt(t.startColumn||0)||"A")+((t.startRow||0)+1),a=e.charAt(t.endColumn??-1)||"ZZ";return(0,s.defined)(t.endRow)&&(a+=t.endRow+1),`${i}:${a}`})(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+t.googleAPIKey].join("/"),dataType:"json",success:function(s){l(s),t.enablePolling&&(e.liveDataTimeout=setTimeout(function(){o(l)},n))},error:function(e,t){if(a.options)return(0,s.error)(`Request failed - ${e.status} 
`+("string"==typeof t?t:t.message),!1,a)}})}(function(t){let s=t.values;if(!s||0===s.length)return!1;let i=s.reduce((e,t)=>Math.max(e,t.length),0);s.forEach(e=>{for(let t=0;t<i;t++)void 0===e[t]&&(e[t]=null)}),a?.series?a.update({data:{columns:s}}):(e.columns=s,e.dataFound())})),!1}trim(e,t){return"string"==typeof e&&(e=e.replace(/^\s+|\s+$/g,""),t&&/[\d\s]+/.test(e)&&(e=e.replace(/\s/g,"")),this.decimalRegex&&(e=e.replace(this.decimalRegex,"$1.$2"))),e}parseTypes(){let e=this.columns||[],t=e.length;for(;t--;)this.parseColumn(e[t],t)}parseColumn(e,t){let i=this.rawColumns,a=this.columns=this.columns||[],r=this.firstRowAsNames,n=this.valueCount?.xColumns.indexOf(t)!==-1,o=[],l=this.chartOptions,u=(this.options.columnTypes||[])[t],h=n&&l?.xAxis&&"category"===(0,s.splat)(l.xAxis)[0].type||"string"===u,d=(0,s.defined)(e.name),c=e.length,m,p,f,g,y,x,v;for(i[t]||(i[t]=[]);c--;)m=o[c]||e[c],f=this.trim(m),p=parseFloat(g=this.trim(m,!0)),void 0===i[t][c]&&(i[t][c]=f),h||0===c&&r&&!d?e[c]=""+f:+g===p?(e[c]=p,p>31536e6&&"float"!==u?e.isDatetime=!0:e.isNumeric=!0,void 0!==e[c+1]&&(v=p>e[c+1])):(f?.length&&(y=this.parseDate(m)),n&&(0,s.isNumber)(y)&&"float"!==u?(o[c]=m,e[c]=y,e.isDatetime=!0,void 0!==e[c+1]&&((x=y>e[c+1])!==v&&void 0!==v&&this.alternativeFormat&&(this.dateFormat=this.alternativeFormat,c=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative),v=x)):(e[c]=""===f?null:f,0!==c&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)));n&&e.mixed&&(a[t]=i[t])}parseDate(e){let t=this.options.parseDate,s,i,a,r=this.options.dateFormat||this.dateFormat,n;if(t)s=t(e);else if(!1===t)s=e;else if("string"==typeof e){if(r)(a=this.dateFormats[r])||(a=this.dateFormats["YYYY/mm/dd"]),(n=e.match(a.regex))&&(s=a.parser(n));else for(i in this.dateFormats)if(a=this.dateFormats[i],n=e.match(a.regex)){this.dateFormat=r=i,this.alternativeFormat=a.alternative,s=a.parser(n);break}n||(s=new(v())().parse(e))}return s}getData(){if(this.columns)return this.rowsToColumns(this.columns)?.slice(1)}getDataTable(){return new m({columns:Object.values(this.columns||[]).reduce((e,t)=>{let s=t.slice(),i=s.shift();return("string"==typeof i||"number"==typeof i)&&(e[i]=s),e},{})})}parsed(){if(this.options.parsed)return this.options.parsed.call(this,this.columns,this)}complete(){let e=this.columns=this.columns||[],t=this.options,i=[],a="linear",r,n,o,l,u,h,d,c,m,p;if([].length=e.length,t.complete||t.afterComplete){var f,g;let y,x;if(this.firstRowAsNames)for(o=0;o<e.length;o++){let t=e[o];(0,s.defined)(t.name)||(t.name=(t.shift()??"").toString())}for(r=[],f=e?.length||0,g=this.valueCount.seriesBuilders,y=Array(f).fill(!0),x=[],g.forEach(e=>{e.getReferencedColumnIndexes().forEach(e=>{y[e]=!1})}),y.forEach((e,t)=>{e&&x.push(t)}),h=0;h<this.valueCount.seriesBuilders.length;h++)(c=this.valueCount.seriesBuilders[h]).populateColumns(x)&&i.push(c);for(;x.length>0;){for((c=new w).addColumnReader(0,"x"),-1!==(p=x.indexOf(0))&&x.splice(p,1),o=0;o<this.valueCount.global;o++)c.addColumnReader(void 0,this.valueCount.globalPointArrayMap[o]);c.populateColumns(x)&&i.push(c)}if(i.length>0&&i[0].readers.length>0&&void 0!==(m=e?.[i[0].readers[0].columnIndex??-1])&&(m.isDatetime?a="datetime":m.isNumeric||(a="category")),"category"===a)for(h=0;h<i.length;h++)for(u=0,c=i[h];u<c.readers.length;u++)"x"===c.readers[u].configName&&(c.readers[u].configName="name");for(h=0;h<i.length;h++){for(l=0,c=i[h],n=[];l<e[0].length;l++)n[l]=c.read(e,l);r[h]={data:n,pointStart:n[0]&&(c.pointIsArray?n[0]?.[0]:n[0]?.x)||void 0},c.name&&(r[h].name=c.name),"category"===a&&(r[h].turboThreshold=0,r[h].pointStart=0)}d={series:r},"linear"!==a||this.xAxisOptions&&this.xAxisOptions.type!==a?(this.xAxisOptions={type:a},"category"===a&&(this.xAxisOptions.uniqueNames=!1)):a=this.xAxisOptions=void 0,this.chart||(0,s.merge)(!0,d,{xAxis:this.xAxisOptions||{}}),t.complete?.(d),t.afterComplete?.(this,d)}}xAxisUpdateHandler(e){let t=this.xAxisOptions;t&&(!e.options.type&&t.type&&(e.type=t.type),e.options.uniqueNames||!1!==t.uniqueNames||(e.uniqueNames=t.uniqueNames))}update(e,t){let i=this.chart,a=i.options;e&&(e.afterComplete=function(e,s){if(!s)return;let a=i.xAxis[0],r=e.xAxisOptions;r&&a&&(a.type!==r.type&&!a.options.type||a.uniqueNames&&!1===r.uniqueNames&&void 0===a.options.uniqueNames)?a.update({},!1):(s?.series||[]).forEach(function(e){delete e.pointStart}),i.update(s,t,!0)},(0,s.merge)(!0,a.data,e),a.data?.googleSpreadsheetKey&&!e.columns&&delete a.data.columns,this.init(a.data||{},a))}}(0,s.addEvent)(l(),"afterSetOptions",function(){this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&this.chart.data?.xAxisUpdateHandler(this)}),(0,s.addEvent)(h(),"init",function(e){let t=this,i=e.args[1],a=(0,s.getOptions)().data,r=e.args[0]||{};if((a||r&&r.data)&&!t.hasDataDef){t.hasDataDef=!0;let n=(0,s.merge)(a,r.data);t.data=new T((0,s.extend)(n,{afterComplete:function(e,a){let n,o;if(Object.hasOwnProperty.call(r,"series"))if("object"==typeof r.series)for(n=Math.max(r.series.length,a?.series?.length??0);n--;)o=r.series[n]||{},r.series[n]=(0,s.merge)(o,a?.series?.[n]??{});else delete r.series;r=(0,s.merge)(a,r),t.data=e,t.init(r,i)}}),r,t),e.preventDefault()}});class w{constructor(){this.readers=[],this.pointIsArray=!0}populateColumns(e){let t=!0;return this.readers.forEach(t=>{void 0===t.columnIndex&&(t.columnIndex=e.shift())}),this.readers.forEach(e=>{void 0===e.columnIndex&&(t=!1)}),t}read(e,t){let s=this.pointIsArray,i=s?[]:{};if(this.readers.forEach(a=>{let r=e[a.columnIndex][t];s?i.push(r):a.configName.indexOf(".")>0?f().prototype.setNestedProperty(i,r,a.configName):i[a.configName]=r}),void 0===this.name&&this.readers.length>=2){let t=[];this.readers.forEach(function(e){("x"===e.configName||"name"===e.configName||"y"===e.configName)&&void 0!==e.columnIndex&&t.push(e.columnIndex)}),t.length>=2&&(t.shift(),t.sort(function(e,t){return e-t})),this.name=e[t.shift()??0].name}return i}addColumnReader(e,t){this.readers.push({columnIndex:e,configName:t}),"x"!==t&&"y"!==t&&void 0!==t&&(this.pointIsArray=!1)}getReferencedColumnIndexes(){let e,t,s=[];for(e=0;e<this.readers.length;e+=1)void 0!==(t=this.readers[e]).columnIndex&&s.push(t.columnIndex);return s}hasReader(e){let t;for(t=0;t<this.readers.length;t+=1)if(this.readers[t].configName===e)return!0}}let A=i();A.Data=A.Data||T,A.HttpUtilities=A.HttpUtilities||n,A.ajax=A.HttpUtilities.ajax,A.data=A.Data.data,A.getJSON=A.HttpUtilities.getJSON,A.post=A.HttpUtilities.post;let b=i();export{b as default};