!/**
 * Highcharts JS v12.5.0 (2026-01-12)
 * @module highcharts/modules/data
 * @requires highcharts
 *
 * Data module
 *
 * (c) 2012-2026 Highsoft AS
 * Author: Torstein Honsi
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("highcharts"),require("highcharts").Axis,require("highcharts").Chart,require("highcharts").Point,require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/data",[["highcharts/highcharts"],["highcharts/highcharts","Axis"],["highcharts/highcharts","Chart"],["highcharts/highcharts","Point"],["highcharts/highcharts","SeriesRegistry"]],t):"object"==typeof exports?exports["highcharts/modules/data"]=t(require("highcharts"),require("highcharts").Axis,require("highcharts").Chart,require("highcharts").Point,require("highcharts").SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.Axis,e.Highcharts.Chart,e.Highcharts.Point,e.Highcharts.SeriesRegistry)}(this,function(e,t,n,r,i){return function(){"use strict";var o={260:function(e){e.exports=r},512:function(e){e.exports=i},532:function(e){e.exports=t},944:function(t){t.exports=e},960:function(e){e.exports=n}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return o[e](n,n.exports,s),n.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var l={};s.d(l,{default:function(){return k}});var u=s(944),h=s.n(u),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},d=function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},p=h().win,f=h().discardElement,m=h().objectEach,g={ajax:function(e){var t,n={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},r=new XMLHttpRequest;function i(t,n){e.error&&e.error(t,n)}if(!e.url)return!1;r.open((e.type||"get").toUpperCase(),e.url,!0),(null==(t=e.headers)?void 0:t["Content-Type"])||r.setRequestHeader("Content-Type",n[e.dataType||"json"]||n.text),m(e.headers,function(e,t){r.setRequestHeader(t,e)}),e.responseType&&(r.responseType=e.responseType),r.onreadystatechange=function(){var t,n;if(4===r.readyState){if(200===r.status){if("blob"!==e.responseType&&(n=r.responseText,"json"===e.dataType))try{n=JSON.parse(n)}catch(e){if(e instanceof Error)return i(r,e)}return null==(t=e.success)?void 0:t.call(e,n,r)}i(r,r.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),r.send(e.data)},getJSON:function(e,t){g.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};g.post=function(e,t,n){var r,i,o,a;return r=this,i=void 0,o=void 0,a=function(){var r,i,o,a;return d(this,function(s){switch(s.label){case 0:return r=new p.FormData,m(t,function(e,t){r.append(t,e)}),r.append("b64","true"),[4,p.fetch(e,c({method:"POST",body:r},n))];case 1:if(!(i=s.sent()).ok)return[3,3];return[4,i.text()];case 2:o=s.sent(),(a=document.createElement("a")).href="data:".concat(t.type,";base64,").concat(o),a.download=t.filename,a.click(),f(a),s.label=3;case 3:return[2]}})},new(o||(o=Promise))(function(e,t){function n(e){try{l(a.next(e))}catch(e){t(e)}}function s(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof o?r:new o(function(e){e(r)})).then(n,s)}l((a=a.apply(r,i||[])).next())})};var v=s(532),y=s.n(v),x=s(960),T=s.n(x),C=s(260),N=s.n(C),R=s(512),b=s.n(R),w=h().getOptions,A=h().doc,Y=g.ajax,D=b().seriesTypes,O=h().addEvent,U=h().defined,F=h().extend,E=h().fireEvent,j=h().isNumber,S=h().merge,I=h().objectEach,P=h().pick,L=h().splat;function M(e){return!!(e&&(e.rowsURL||e.csvURL||e.columnsURL))}var q=function(){function e(t,n,r){void 0===n&&(n={}),this.rowsToColumns=e.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;var t=new Date,n=+e[3];return n>t.getFullYear()-2e3?n+=1900:n+=2e3,Date.UTC(n,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=r,this.chartOptions=n,this.options=t,this.rawColumns=[],this.init(t,n,r)}return e.data=function(t,n,r){return void 0===n&&(n={}),new e(t,n,r)},e.rowsToColumns=function(e){var t,n,r,i,o;if(e)for(t=0,o=[],n=e.length;t<n;t++)for(r=0,i=e[t].length;r<i;r++)o[r]||(o[r]=[]),o[r][t]=e[t][r];return o},e.prototype.init=function(e,t,n){var r,i=e.decimalPoint;t&&(this.chartOptions=t),n&&(this.chart=n),"."!==i&&","!==i&&(i=void 0),this.options=e,this.columns=e.columns||this.rowsToColumns(e.rows)||[],this.firstRowAsNames=P(e.firstRowAsNames,this.firstRowAsNames,!0),this.decimalRegex=i&&RegExp("^(-?[0-9]+)"+i+"([0-9]+)$"),void 0!==this.liveDataTimeout&&clearTimeout(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),r=!M(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)},e.prototype.getColumnDistribution=function(){var e,t,n=this.chartOptions,r=this.options,i=[],o=function(e){return void 0===e&&(e="line"),(D[e].prototype.pointArrayMap||[0]).length},a=function(e){return void 0===e&&(e="line"),D[e].prototype.pointArrayMap},s=null==(e=null==n?void 0:n.chart)?void 0:e.type,l=[],u=[],h=(null==r?void 0:r.seriesMapping)||(null==(t=null==n?void 0:n.series)?void 0:t.map(function(){return{x:0}}))||[],c=0;((null==n?void 0:n.series)||[]).forEach(function(e){l.push(o(e.type||s))}),h.forEach(function(e){i.push(e.x||0)}),0===i.length&&i.push(0),h.forEach(function(e){var t,r,i=new H,h=l[c]||o(s),d=null!=(r=(null!=(t=null==n?void 0:n.series)?t:[])[c])?r:{},p=a(d.type||s),f=null!=p?p:["y"];(U(e.x)||d.isCartesian||!p)&&i.addColumnReader(e.x,"x"),I(e,function(e,t){"x"!==t&&i.addColumnReader(e,t)});for(var m=0;m<h;m++)i.hasReader(f[m])||i.addColumnReader(void 0,f[m]);u.push(i),c++});var d=a(s);void 0===d&&(d=["y"]),this.valueCount={global:o(s),xColumns:i,individual:l,seriesBuilders:u,globalPointArrayMap:d}},e.prototype.dataFound=function(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()},e.prototype.parseCSV=function(e){var t,n,r,i,o,a=this,s=this.columns=[],l=e||this.options,u=l.startColumn||0,h=l.endColumn||Number.MAX_VALUE,c=[],d={",":0,";":0,"	":0},p=l.csv,f=l.startRow||0,m=l.endRow||Number.MAX_VALUE,g=0;if(p&&l.beforeParse&&(p=l.beforeParse.call(this,p)),p){(o=p.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(l.lineDelimiter||"\n"),(!f||f<0)&&(f=0),(!m||m>=o.length)&&(m=o.length-1),l.itemDelimiter)?i=l.itemDelimiter:(t=0,n=0,r=!1,o.some(function(e,r){var i,o,a,s=!1,l="";if(r>13)return!0;for(var u=0;u<e.length;u++){if(i=e[u],o=e[u+1],a=e[u-1],"#"===i)return;if('"'===i)if(s){if('"'!==a&&'"'!==o){for(;" "===o&&u<e.length;)o=e[++u];void 0!==d[o]&&d[o]++,s=!1}}else s=!0;else void 0!==d[i]?(isNaN(Date.parse(l=l.trim()))?(isNaN(l)||!isFinite(l))&&d[i]++:d[i]++,l=""):l+=i;","===i&&n++,"."===i&&t++}}),d[";"]>d[","]?r=";":(d[","],d[";"],r=","),l.decimalPoint||(t>n?l.decimalPoint=".":l.decimalPoint=",",a.decimalRegex=RegExp("^(-?[0-9]+)"+l.decimalPoint+"([0-9]+)$")),i=r);var v=0;for(g=f;g<=m;g++)"#"===o[g][0]?v++:function(e,t,n,r){var o=0,a="",d="",p="",f="",m=0,g=0;function v(t){a=e[t],d=e[t-1],p=e[t+1]}function y(e){c.length<g+1&&c.push([e]),c[g][c[g].length-1]!==e&&c[g].push(e)}function x(){if(u>m||m>h){++m,f="";return}l.columnTypes||(!isNaN(parseFloat(f))&&isFinite(f)?(f=parseFloat(f),y("number")):isNaN(Date.parse(f))?y("string"):(f=f.replace(/\//g,"-"),y("date"))),s.length<g+1&&s.push([]),s[g][t]=f,f="",++g,++m}if(e.trim().length&&"#"!==e.trim()[0]){for(;o<e.length;o++)if(v(o),'"'===a)for(v(++o);o<e.length&&('"'!==a||'"'===d||'"'===p);)('"'!==a||'"'===a&&'"'!==d)&&(f+=a),v(++o);else a===i?x():f+=a;x()}}(o[g],g-f-v);(!l.columnTypes||0===l.columnTypes.length)&&c.length&&c[0].length&&"date"===c[0][1]&&!l.dateFormat&&(l.dateFormat=function(e,t){var n,r,i,o,s="YYYY/mm/dd",u=[],h=[],c=[],d=0,p=!1;for((!t||t>e.length)&&(t=e.length);d<t;d++)if(void 0!==e[d]&&(null==(n=e[d])?void 0:n.length))for(o=0,r=e[d].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),c=["","",""];o<r.length;o++)o<c.length&&(r[o]=parseInt(r[o],10),r[o]&&(h[o]=!h[o]||h[o]<r[o]?r[o]:h[o],void 0!==u[o]?u[o]!==r[o]&&(u[o]=!1):u[o]=r[o],r[o]>31?r[o]<100?c[o]="YY":c[o]="YYYY":r[o]>12&&r[o]<=31?(c[o]="dd",p=!0):c[o].length||(c[o]="mm")));if(p){for(o=0;o<u.length;o++)!1!==u[o]?h[o]>12&&"YY"!==c[o]&&"YYYY"!==c[o]&&(c[o]="YY"):h[o]>12&&"mm"===c[o]&&(c[o]="dd");return(3===c.length&&"dd"===c[1]&&"dd"===c[2]&&(c[2]="YY"),i=c.join("/"),(l.dateFormats||a.dateFormats)[i])?i:(E(a,"deduceDateFailed"),s)}return s}(s[0])),this.dataFound()}return s},e.prototype.parseTable=function(){var e=this.options,t=this.columns||[],n=e.startRow||0,r=e.endRow||Number.MAX_VALUE,i=e.startColumn||0,o=e.endColumn||Number.MAX_VALUE;if(e.table){var a=e.table;"string"==typeof a&&(a=A.getElementById(a)),[].forEach.call(a.getElementsByTagName("tr"),function(e,a){a>=n&&a<=r&&[].forEach.call(e.children,function(e,r){var s=t[r-i],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&r>=i&&r<=o)for(t[r-i]||(t[r-i]=[]),t[r-i][a-n]=e.innerHTML;a-n>=l&&void 0===s[a-n-l];)s[a-n-l]=null,l++})}),this.dataFound()}return t},e.prototype.fetchLiveData=function(){var e=this,t=this.chart,n=this.options,r=n.enablePolling,i=S(n),o=0,a=1e3*(n.dataRefreshRate||2);return!!M(n)&&(a<1e3&&(a=1e3),delete n.csvURL,delete n.rowsURL,delete n.columnsURL,!function s(l){function u(i,u,h){if(!i||!/^(http|\/|\.\/|\.\.\/)/.test(i))return i&&n.error&&n.error("Invalid URL"),!1;function c(){r&&t.liveDataURL===i&&(e.liveDataTimeout=setTimeout(s,a))}return l&&(clearTimeout(e.liveDataTimeout),t.liveDataURL=i),Y({url:i,dataType:h||"json",success:function(e){(null==t?void 0:t.series)&&u(e),c()},error:function(e,t){var r;return++o<3&&c(),null==(r=n.error)?void 0:r.call(n,t,e)}}),!0}u(i.csvURL,function(e){t.update({data:{csv:e}})},"text")||u(i.rowsURL,function(e){t.update({data:{rows:e}})})||u(i.columnsURL,function(e){t.update({data:{columns:e}})})}(!0),M(n))},e.prototype.parseGoogleSpreadsheet=function(){var e=this,t=this.options,n=t.googleSpreadsheetKey,r=this.chart,i=Math.max(1e3*(t.dataRefreshRate||2),4e3),o=function(){if(t.googleSpreadsheetRange)return t.googleSpreadsheetRange;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZ",n=(e.charAt(t.startColumn||0)||"A")+((t.startRow||0)+1),r=e.charAt(P(t.endColumn,-1))||"ZZ";return U(t.endRow)&&(r+=t.endRow+1),""+n+":".concat(r)};return n&&(delete t.googleSpreadsheetKey,!function r(a){Y({url:["https://sheets.googleapis.com/v4/spreadsheets",n,"values",o(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+t.googleAPIKey].join("/"),dataType:"json",success:function(n){a(n),t.enablePolling&&(e.liveDataTimeout=setTimeout(function(){r(a)},i))},error:function(e,n){var r;return null==(r=t.error)?void 0:r.call(t,n,e)}})}(function(t){var n=t.values;if(!n||0===n.length)return!1;var i=n.reduce(function(e,t){return Math.max(e,t.length)},0);n.forEach(function(e){for(var t=0;t<i;t++)void 0===e[t]&&(e[t]=null)}),(null==r?void 0:r.series)?r.update({data:{columns:n}}):(e.columns=n,e.dataFound())})),!1},e.prototype.trim=function(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},e.prototype.parseTypes=function(){for(var e=this.columns||[],t=e.length;t--;)this.parseColumn(e[t],t)},e.prototype.parseColumn=function(e,t){var n,r,i,o,a,s,l,u,h=this.rawColumns,c=this.columns=this.columns||[],d=this.firstRowAsNames,p=(null==(n=this.valueCount)?void 0:n.xColumns.indexOf(t))!==-1,f=[],m=this.chartOptions,g=(this.options.columnTypes||[])[t],v=p&&(null==m?void 0:m.xAxis)&&"category"===L(m.xAxis)[0].type||"string"===g,y=U(e.name),x=e.length;for(h[t]||(h[t]=[]);x--;)r=f[x]||e[x],o=this.trim(r),i=parseFloat(a=this.trim(r,!0)),void 0===h[t][x]&&(h[t][x]=o),v||0===x&&d&&!y?e[x]=""+o:+a===i?(e[x]=i,i>31536e6&&"float"!==g?e.isDatetime=!0:e.isNumeric=!0,void 0!==e[x+1]&&(u=i>e[x+1])):((null==o?void 0:o.length)&&(s=this.parseDate(r)),p&&j(s)&&"float"!==g?(f[x]=r,e[x]=s,e.isDatetime=!0,void 0!==e[x+1]&&((l=s>e[x+1])!==u&&void 0!==u&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,x=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):e.unsorted=!0),u=l)):(e[x]=""===o?null:o,0!==x&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)));if(p&&e.mixed&&(c[t]=h[t]),p&&u&&this.options.sort){for(t=0;t<c.length;t++)if(c[t].reverse(),d){var T=c[t].pop();T&&c[t].unshift(T)}}},e.prototype.parseDate=function(e){var t,n,r,i,o=this.options.parseDate,a=this.options.dateFormat||this.dateFormat;if(o)t=o(e);else if("string"==typeof e){if(a)(r=this.dateFormats[a])||(r=this.dateFormats["YYYY/mm/dd"]),(i=e.match(r.regex))&&(t=r.parser(i));else for(n in this.dateFormats)if(r=this.dateFormats[n],i=e.match(r.regex)){this.dateFormat=a=n,this.alternativeFormat=r.alternative,t=r.parser(i);break}!i&&(e.match(/:.+(GMT|UTC|[Z+\-])/)&&(e=e.replace(/\s*(?:GMT|UTC)?([+\-])(\d\d)(\d\d)$/,"$1$2:$3").replace(/(?:\s+|GMT|UTC)([+\-])/,"$1").replace(/(\d)\s*(?:GMT|UTC|Z)$/,"$1+00:00")),"object"==typeof(i=Date.parse(e))&&null!==i&&i.getTime?t=i.getTime()-6e4*i.getTimezoneOffset():j(i)&&(t=i-6e4*new Date(i).getTimezoneOffset()))}return t},e.prototype.getData=function(){var e;if(this.columns)return null==(e=this.rowsToColumns(this.columns))?void 0:e.slice(1)},e.prototype.parsed=function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},e.prototype.complete=function(){var e,t,n,r,i,o,a,s,l,u,h,c,d,p,f,m,g=this.columns=this.columns||[],v=this.options,y=[],x="linear";if([].length=g.length,v.complete||v.afterComplete){if(this.firstRowAsNames)for(s=0;s<g.length;s++){var T=g[s];U(T.name)||(T.name=P(T.shift(),"").toString())}for(h=0,o=[],p=function(e,t){var n,r,i,o=[],a=[];for(r=0;r<e;r+=1)o.push(!0);for(n=0;n<t.length;n+=1)for(r=0,i=t[n].getReferencedColumnIndexes();r<i.length;r+=1)o[i[r]]=!1;for(r=0;r<o.length;r+=1)o[r]&&a.push(r);return a}((null==g?void 0:g.length)||0,this.valueCount.seriesBuilders);h<this.valueCount.seriesBuilders.length;h++)(d=this.valueCount.seriesBuilders[h]).populateColumns(p)&&y.push(d);for(;p.length>0;){for((d=new H).addColumnReader(0,"x"),-1!==(m=p.indexOf(0))&&p.splice(m,1),s=0;s<this.valueCount.global;s++)d.addColumnReader(void 0,this.valueCount.globalPointArrayMap[s]);d.populateColumns(p)&&y.push(d)}if(y.length>0&&y[0].readers.length>0&&void 0!==(f=null==g?void 0:g[null!=(e=y[0].readers[0].columnIndex)?e:-1])&&(f.isDatetime?x="datetime":f.isNumeric||(x="category")),"category"===x)for(h=0;h<y.length;h++)for(u=0,d=y[h];u<d.readers.length;u++)"x"===d.readers[u].configName&&(d.readers[u].configName="name");for(h=0;h<y.length;h++){for(l=0,d=y[h],a=[];l<g[0].length;l++)a[l]=d.read(g,l);o[h]={data:a,pointStart:a[0]&&(d.pointIsArray?null==(t=a[0])?void 0:t[0]:null==(n=a[0])?void 0:n.x)||void 0},d.name&&(o[h].name=d.name),"category"===x&&(o[h].turboThreshold=0,o[h].pointStart=0)}c={series:o},"linear"!==x||this.xAxisOptions&&this.xAxisOptions.type!==x?(this.xAxisOptions={type:x},"category"===x&&(this.xAxisOptions.uniqueNames=!1)):x=this.xAxisOptions=void 0,this.chart||S(!0,c,{xAxis:this.xAxisOptions||{}}),null==(r=v.complete)||r.call(v,c),null==(i=v.afterComplete)||i.call(v,this,c)}},e.prototype.xAxisUpdateHandler=function(e){var t=this.xAxisOptions;t&&(!e.options.type&&t.type&&(e.type=t.type),e.options.uniqueNames||!1!==t.uniqueNames||(e.uniqueNames=t.uniqueNames))},e.prototype.update=function(e,t){var n,r=this.chart,i=r.options;e&&(e.afterComplete=function(e,n){if(n){var i=r.xAxis[0],o=e.xAxisOptions;o&&i&&(i.type!==o.type&&!i.options.type||i.uniqueNames&&!1===o.uniqueNames&&void 0===i.options.uniqueNames)?i.update({},!1):((null==n?void 0:n.series)||[]).forEach(function(e){delete e.pointStart}),r.update(n,t,!0)}},S(!0,i.data,e),(null==(n=i.data)?void 0:n.googleSpreadsheetKey)&&!e.columns&&delete i.data.columns,this.init(i.data||{},i))},e}();O(y(),"afterSetOptions",function(){var e;this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&(null==(e=this.chart.data)||e.xAxisUpdateHandler(this))}),O(T(),"init",function(e){var t=this,n=e.args[1],r=w().data,i=e.args[0]||{};(r||i&&i.data)&&!t.hasDataDef&&(t.hasDataDef=!0,t.data=new q(F(S(r,i.data),{afterComplete:function(e,r){var o,a,s,l,u,h;if(Object.hasOwnProperty.call(i,"series"))if("object"==typeof i.series)for(u=Math.max(i.series.length,null!=(a=null==(o=null==r?void 0:r.series)?void 0:o.length)?a:0);u--;)h=i.series[u]||{},i.series[u]=S(h,null!=(l=null==(s=null==r?void 0:r.series)?void 0:s[u])?l:{});else delete i.series;i=S(r,i),t.data=e,t.init(i,n)}}),i,t),e.preventDefault())});var H=function(){function e(){this.readers=[],this.pointIsArray=!0}return e.prototype.populateColumns=function(e){var t=!0;return this.readers.forEach(function(t){void 0===t.columnIndex&&(t.columnIndex=e.shift())}),this.readers.forEach(function(e){void 0===e.columnIndex&&(t=!1)}),t},e.prototype.read=function(e,t){var n=this.pointIsArray,r=n?[]:{};if(this.readers.forEach(function(i){var o=e[i.columnIndex][t];n?r.push(o):i.configName.indexOf(".")>0?N().prototype.setNestedProperty(r,o,i.configName):r[i.configName]=o}),void 0===this.name&&this.readers.length>=2){var i=[];this.readers.forEach(function(e){("x"===e.configName||"name"===e.configName||"y"===e.configName)&&void 0!==e.columnIndex&&i.push(e.columnIndex)}),i.length>=2&&(i.shift(),i.sort(function(e,t){return e-t})),this.name=e[P(i.shift(),0)].name}return r},e.prototype.addColumnReader=function(e,t){this.readers.push({columnIndex:e,configName:t}),"x"!==t&&"y"!==t&&void 0!==t&&(this.pointIsArray=!1)},e.prototype.getReferencedColumnIndexes=function(){var e,t,n=[];for(e=0;e<this.readers.length;e+=1)void 0!==(t=this.readers[e]).columnIndex&&n.push(t.columnIndex);return n},e.prototype.hasReader=function(e){var t;for(t=0;t<this.readers.length;t+=1)if(this.readers[t].configName===e)return!0},e}(),$=h();$.Data=$.Data||q,$.HttpUtilities=$.HttpUtilities||g,$.ajax=$.HttpUtilities.ajax,$.data=$.Data.data,$.getJSON=$.HttpUtilities.getJSON,$.post=$.HttpUtilities.post;var k=h();return l.default}()});