!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @module highcharts/modules/export-data
 * @requires highcharts
 * @requires highcharts/modules/exporting
 *
 * Export data module
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * A commercial license may be required depending on use,
 * see www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.AST,t._Highcharts.Chart):"function"==typeof define&&define.amd?define("highcharts/modules/export-data",["highcharts/highcharts"],function(t){return e(t,t.AST,t.Chart)}):"object"==typeof exports?exports["highcharts/modules/export-data"]=e(t._Highcharts,t._Highcharts.AST,t._Highcharts.Chart):t.Highcharts=e(t.Highcharts,t.Highcharts.AST,t.Highcharts.Chart)}("u"<typeof window?this:window,function(t,e,n){return function(){"use strict";var a,o={660:function(t){t.exports=e},944:function(e){e.exports=t},960:function(t){t.exports=n}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={exports:{}};return o[t](n,n.exports,i),n.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var l={};i.d(l,{default:function(){return O}});var s=i(944),c=i.n(s),d=c().isSafari,u=c().win,h=c().win.document,p=u.URL||u.webkitURL||u;function f(t){var e=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(e&&e.length>3&&u.atob&&u.ArrayBuffer&&u.Uint8Array&&u.Blob&&p.createObjectURL){for(var n=u.atob(e[3]),a=new u.ArrayBuffer(n.length),o=new u.Uint8Array(a),r=0;r<o.length;++r)o[r]=n.charCodeAt(r);return p.createObjectURL(new u.Blob([o],{type:e[1]}))}}function g(t,e){var n=u.navigator,a=h.createElement("a");if("string"!=typeof t&&!(t instanceof String)&&n.msSaveOrOpenBlob)return void n.msSaveOrOpenBlob(t,e);if(t=""+t,n.userAgent.length>1e3)throw Error("Input too long");var o=/Edge\/\d+/.test(n.userAgent);if((d&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||o||t.length>2e6)&&!(t=f(t)||""))throw Error("Failed to convert to blob");if(void 0!==a.download)a.href=t,a.download=e,h.body.appendChild(a),a.click(),h.body.removeChild(a);else try{if(!u.open(t,"chart"))throw Error("Failed to open window")}catch(e){u.location.href=t}}function v(t,e){var n=u.navigator,a=u.URL||u.webkitURL||u;try{if(n.msSaveOrOpenBlob&&u.MSBlobBuilder){var o=new u.MSBlobBuilder;return o.append(t),o.getBlob("image/svg+xml")}return a.createObjectURL(new u.Blob(["\uFEFF"+t],{type:e}))}catch(t){}}var m=i(660),x=i.n(m),b=i(960),y=i.n(b),w={exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},menuItemDefinitions:{downloadCSV:{textKey:"downloadCSV",onclick:function(){var t;null==(t=this.exporting)||t.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){var t;null==(t=this.exporting)||t.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){var t;null==(t=this.exporting)||t.wrapLoading(this.exporting.toggleDataTable)}}},showExportInProgress:!0,showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table",exportInProgress:"Exporting..."}},T=function(t,e,n){if(n||2==arguments.length)for(var a,o=0,r=e.length;o<r;o++)!a&&o in e||(a||(a=Array.prototype.slice.call(e,0,o)),a[o]=e[o]);return t.concat(a||Array.prototype.slice.call(e))},D=c().getOptions,S=c().setOptions,E=c().composed,C=c().doc,A=c().win;!function(t){function e(){var t=this;this.wrapLoading(function(){var e=t.getCSV(!0);g(v(e,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(e),t.getFilename()+".csv")})}function n(){var t=this;this.wrapLoading(function(){var e='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head>\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+t.getTable(!0)+"</body></html>";g(v(e,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+A.btoa(unescape(encodeURIComponent(e))),t.getFilename()+".xls")})}function a(t){var e,n="",a=this.getDataRows(),o=null==(e=this.options)?void 0:e.csv,r=(0,s.pick)(null==o?void 0:o.decimalPoint,(null==o?void 0:o.itemDelimiter)!==","&&t?1.1.toLocaleString()[1]:"."),i=(0,s.pick)(null==o?void 0:o.itemDelimiter,","===r?";":","),l=null==o?void 0:o.lineDelimiter;return a.forEach(function(t,e){for(var o="",s=t.length;s--;)"string"==typeof(o=t[s])&&(o='"'.concat(o,'"')),"number"==typeof o&&"."!==r&&(o=o.toString().replace(".",r)),t[s]=o;t.length=a.length?a[0].length:0,n+=t.join(i),e<a.length-1&&(n+=l)}),n}function o(t){var e,n,a,o,r,i,l,c,d=this.chart,u=d.hasParallelCoordinates,h=d.time,p=(null==(a=this.options)?void 0:a.csv)||{},f=d.xAxis,g={},v=[],m=[],x=[],b=d.options.lang.exportData,y=null==b?void 0:b.categoryHeader,w=null==b?void 0:b.categoryDatetimeHeader,D=function(e,n,a){if(p.columnHeaderFormatter){var o=p.columnHeaderFormatter(e,n,a);if(!1!==o)return o}return!e&&y?y:!e.bindAxes&&w&&y?e.options.title&&e.options.title.text||(e.dateTime?w:y):t?{columnTitle:((a||0)>1?n:e.name)||"",topLevelColumnTitle:e.name}:e.name+((a||0)>1?" ("+n+")":"")},S=function(t,e,n){var a={},o={};return e.forEach(function(e){var r=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis",i=(0,s.isNumber)(n)?t.chart[r][n]:t[r];a[e]=i&&i.categories||[],o[e]=i&&i.dateTime}),{categoryMap:a,dateTimeValueAxisMap:o}},E=function(t,e){var n=t.pointArrayMap||["y"];return t.data.some(function(t){return void 0!==t.y&&t.name})&&e&&!e.categories&&"name"!==t.exportKey?T(["x"],n,!0):n},C=[],A=0;for(l in d.series.forEach(function(e){var n,a,o=e.options.keys,r=e.xAxis,l=o||E(e,r),c=l.length,d=!e.requireSorting&&{},v=f.indexOf(r),b=S(e,l);if(!1!==e.options.includeInDataExport&&!e.options.isInternal&&!1!==e.visible){for((0,s.find)(C,function(t){return t[0]===v})||C.push([v,A]),a=0;a<c;)i=D(e,l[a],l.length),x.push(i.columnTitle||i),t&&m.push(i.topLevelColumnTitle||i),a++;n={chart:e.chart,autoIncrement:e.autoIncrement,options:e.options,pointArrayMap:e.pointArrayMap,index:e.index,xAxis:e.xAxis};var y=Array(e.dataTable.rowCount).fill(void 0).map(function(t,n){return e.dataTable.getRowObject(n)}),w=e.getColumn("x");(y||[]).forEach(function(t,o){var i,f,m,x,y={series:n};u&&(b=S(e,l,o)),e.pointClass.prototype.applyOptions.call(y,t,w[o]);var T=e.data[o]&&e.data[o].name;if(f=(null!=(i=y.x)?i:"")+","+T,a=0,(!r||"name"===e.exportKey||!u&&r&&r.hasNames&&T)&&(f=T),d&&(d[f]&&(f+="|"+o),d[f]=!0),g[f]){var D=""+f+",".concat(g[f].pointers[e.index]),E=f;g[f].pointers[e.index]&&(g[D]||(g[D]=[],g[D].xValues=[],g[D].pointers=[]),f=D),g[E].pointers[e.index]+=1}else{g[f]=[],g[f].xValues=[];for(var C=[],L=0;L<e.chart.series.length;L++)C[L]=0;g[f].pointers=C,g[f].pointers[e.index]=1}for(g[f].x=y.x,g[f].name=T,g[f].xValues[v]=y.x;a<c;)m=l[a],x=e.pointClass.prototype.getNestedProperty.apply(y,[m]),g[f][A+a]=(0,s.pick)(b.categoryMap[m][x],b.dateTimeValueAxisMap[m]?h.dateFormat(p.dateFormat,x):null,x),a++}),A+=a}}),g)Object.hasOwnProperty.call(g,l)&&v.push(g[l]);for(r=t?[m,x]:[x],A=C.length;A--;)e=C[A][0],n=C[A][1],o=f[e],v.sort(function(t,n){return t.xValues[e]-n.xValues[e]}),c=D(o),r[0].splice(n,0,c),t&&r[1]&&r[1].splice(n,0,c),v.forEach(function(t){var e=t.name;o&&!(0,s.defined)(e)&&(o.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=h.dateFormat(p.dateFormat,t.x)):e=o.categories?(0,s.pick)(o.names[t.x],o.categories[t.x],t.x):t.x),t.splice(n,0,e)});return r=r.concat(v),(0,s.fireEvent)(d,"exportData",{dataRows:r}),r}function r(t){var e=function(t){if(!t.tagName||"#text"===t.tagName)return t.textContent||"";var n=t.attributes,a="<".concat(t.tagName);return n&&Object.keys(n).forEach(function(t){var e=n[t];a+=" ".concat(t,'="').concat(e,'"')}),a+=">",a+=t.textContent||"",(t.children||[]).forEach(function(t){a+=e(t)}),a+="</".concat(t.tagName,">")};return e(this.getTableAST(t))}function i(t){var e,n=0,a=[],o=this,r=o.chart,i=r.options,l=t?1.1.toLocaleString()[1]:".",c=(0,s.pick)(o.options.useMultiLevelHeaders,!0),d=o.getDataRows(c),u=c?d.shift():null,h=d.shift(),p=function(t,e){var n=t.length;if(e.length!==n)return!1;for(;n--;)if(t[n]!==e[n])return!1;return!0},f=function(t,e,n,a){var o=[],i=(0,s.pick)(a,""),c="highcharts-text"+(e?" "+e:"");"number"==typeof i?(i=r.numberFormatter(i,-1,l,"th"===t?"":void 0),c="highcharts-number"):a||(c="highcharts-empty"),"th"===t&&"col"===n.scope&&o.push({tagName:"button",textContent:i,style:{color:"inherit",borderWidth:0,backgroundColor:"transparent",cursor:"pointer",padding:0,fontSize:"inherit",fontWeight:"inherit"}});var d={tagName:t,attributes:n=(0,s.extend)({class:c},n)};return o.length>0?d.children=o:d.textContent=i,d},g=(o.options||{}).tableCaption;!1!==g&&a.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:"string"==typeof g?g:(null==(e=i.title)?void 0:e.text)||i.lang.chartTitle});for(var v=0,m=d.length;v<m;++v)d[v].length>n&&(n=d[v].length);a.push(function(t,e,n){var a,r,i=[],l=0,s=n||e&&e.length,d=0;if(c&&t&&e&&!p(t,e)){for(var u=[];l<s;++l)if((a=t[l])===t[l+1])++d;else if(d)u.push(f("th","highcharts-table-topheading",{scope:"col",colspan:d+1},a)),d=0;else{a===e[l]?o.options.useRowspanHeaders?(r=2,delete e[l]):(r=1,e[l]=""):r=1;var h=f("th","highcharts-table-topheading",{scope:"col"},a);r>1&&h.attributes&&(h.attributes.valign="top",h.attributes.rowspan=r),u.push(h)}i.push({tagName:"tr",children:u})}if(e){var u=[];for(l=0,s=e.length;l<s;++l)void 0!==e[l]&&u.push(f("th",null,{scope:"col"},e[l]));i.push({tagName:"tr",children:u})}return{tagName:"thead",children:i}}(u,h||[],Math.max(n,(null==h?void 0:h.length)||0)));var x=[];d.forEach(function(t){for(var e=[],a=0;a<n;a++)e.push(f(a?"td":"th",null,a?{}:{scope:"row"},t[a]));x.push({tagName:"tr",children:e})}),a.push({tagName:"tbody",children:x});var b={tree:{tagName:"table",id:"highcharts-data-table-".concat(r.index),children:a}};return(0,s.fireEvent)(r,"afterGetTableAST",b),b.tree}function l(){this.toggleDataTable(!1)}function c(t){var e,n=this.chart,a=(t=(0,s.pick)(t,!this.isDataTableVisible))&&!this.dataTableDiv;if(a&&(this.dataTableDiv=C.createElement("div"),this.dataTableDiv.className="highcharts-data-table",n.renderTo.parentNode.insertBefore(this.dataTableDiv,n.renderTo.nextSibling)),this.dataTableDiv){var o=this.dataTableDiv.style,r=o.display;o.display=t?"block":"none",t?(this.dataTableDiv.innerHTML=x().emptyHTML,new(x())([this.getTableAST()]).addToDOM(this.dataTableDiv),(0,s.fireEvent)(n,"afterViewData",{element:this.dataTableDiv,wasHidden:a||r!==o.display})):(0,s.fireEvent)(n,"afterHideData")}this.isDataTableVisible=t;var i=this.divElements,l=this.options,c=null==(e=l.buttons)?void 0:e.contextButton.menuItems,d=n.options.lang;if(l&&l.menuItemDefinitions&&d&&d.viewData&&d.hideData&&c&&i){var u=i[c.indexOf("viewData")];u&&x().setElementHTML(u,this.isDataTableVisible?d.hideData:d.viewData)}}function d(){this.toggleDataTable(!0)}function u(t){var e=this,n=this.chart,a=!!this.options.showExportInProgress,o=A.requestAnimationFrame||setTimeout;o(function(){a&&n.showLoading(n.options.lang.exportInProgress),o(function(){try{t.call(e)}finally{a&&n.hideLoading()}})})}function h(){var t=this.exporting,e=null==t?void 0:t.dataTableDiv,n=this.options.lang,a=(null==n?void 0:n.decimalPoint)||".",o=(null==n?void 0:n.thousandsSep)||",",r=function(t,e){return t.children[e].textContent||""},i=function(t){if(!t)return null;var e=t;o&&(e=e.split(o).join(""));var n=Number(e=e.replace(a,"."));return(0,s.isNumber)(n)?n:null};if(e&&t.options.allowTableSorting){var l=e.querySelector("thead tr");l&&l.childNodes.forEach(function(n){var a=e.querySelector("tbody");n.addEventListener("click",function(){var o,l,s=T([],e.querySelectorAll("tr:not(thead tr)"),!0),c=T([],n.parentNode.children,!0);t&&(s.sort((o=c.indexOf(n),l=t.ascendingOrderInTable=!t.ascendingOrderInTable,function(t,e){var n=r(l?t:e,o),a=r(l?e:t,o),s=i(n),c=i(a);return null!==s&&null!==c?s-c:n.localeCompare(a)})).forEach(function(t){null==a||a.appendChild(t)}),c.forEach(function(t){["highcharts-sort-ascending","highcharts-sort-descending"].forEach(function(e){t.classList.contains(e)&&t.classList.remove(e)}),t!==n&&t.removeAttribute("aria-sort")}),n.classList.add(t.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending"),n.setAttribute("aria-sort",t.ascendingOrderInTable?"ascending":"descending"))})})}}function p(){var t,e,n;(null==(e=null==(t=this.options)?void 0:t.exporting)?void 0:e.showTable)&&!this.options.chart.forExport&&(null==(n=this.exporting)||n.viewData())}function f(){var t,e;null==(e=null==(t=this.exporting)?void 0:t.dataTableDiv)||e.remove()}t.compose=function(t,g,v){if((0,s.pushUnique)(E,"ExportData")){(0,s.extend)(y().prototype,{downloadCSV:function(){var t;return null==(t=this.exporting)?void 0:t.downloadCSV()},downloadXLS:function(){var t;return null==(t=this.exporting)?void 0:t.downloadXLS()},getCSV:function(t){var e;return null==(e=this.exporting)?void 0:e.getCSV(t)},getDataRows:function(t){var e;return null==(e=this.exporting)?void 0:e.getDataRows(t)},getTable:function(t){var e;return null==(e=this.exporting)?void 0:e.getTable(t)},getTableAST:function(t){var e;return null==(e=this.exporting)?void 0:e.getTableAST(t)},hideData:function(){var t;return null==(t=this.exporting)?void 0:t.hideData()},toggleDataTable:function(t){var e;return null==(e=this.exporting)?void 0:e.toggleDataTable(t)},viewData:function(){var t;return null==(t=this.exporting)?void 0:t.viewData()}});var m,x,b,T=g.prototype;if(!T.downloadCSV){(0,s.addEvent)(t,"afterViewData",h),(0,s.addEvent)(t,"render",p),(0,s.addEvent)(t,"destroy",f),T.downloadCSV=e,T.downloadXLS=n,T.getCSV=a,T.getDataRows=o,T.getTable=r,T.getTableAST=i,T.hideData=l,T.toggleDataTable=c,T.wrapLoading=u,T.viewData=d,S(w);var C=null==(b=null==(x=null==(m=D().exporting)?void 0:m.buttons)?void 0:x.contextButton)?void 0:b.menuItems;C&&C.push("separator","downloadCSV","downloadXLS","viewData");var A=v.types,L=A.arearange,k=A.gantt,O=A.map,H=A.mapbubble,V=A.treemap,N=A.xrange;L&&(L.prototype.keyToAxis={low:"y",high:"y"}),k&&(k.prototype.exportKey="name",k.prototype.keyToAxis={start:"x",end:"x"}),O&&(O.prototype.exportKey="name"),H&&(H.prototype.exportKey="name"),V&&(V.prototype.exportKey="name"),N&&(N.prototype.keyToAxis={x2:"x"})}}}}(a||(a={}));var L=a,k=c();k.dataURLtoBlob=k.dataURLtoBlob||f,k.downloadURL=k.downloadURL||g,L.compose(k.Chart,k.Exporting,k.Series);var O=c();return l.default}()});