!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/offline-exporting
 * @requires highcharts
 * @requires highcharts/modules/exporting
 *
 * Client side exporting module
 *
 * (c) 2015-2026 Highsoft AS
 * Author: Torstein Hønsi / Øystein Moseng
 *
 * 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/offline-exporting",["highcharts/highcharts"],function(t){return e(t,t.AST,t.Chart)}):"object"==typeof exports?exports["highcharts/modules/offline-exporting"]=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,(t,e,o)=>(()=>{"use strict";var r,n={660:t=>{t.exports=e},944:e=>{e.exports=t},960:t=>{t.exports=o}},a={};function i(t){var e=a[t];if(void 0!==e)return e.exports;var o=a[t]={exports:{}};return n[t](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var l={};i.d(l,{default:()=>B});var s=i(944),c=i.n(s);let{isSafari:d,win:f,win:{document:h}}=c(),p=f.URL||f.webkitURL||f;function u(t){let e=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(e&&e.length>3&&f.atob&&f.ArrayBuffer&&f.Uint8Array&&f.Blob&&p.createObjectURL){let t=f.atob(e[3]),o=new f.ArrayBuffer(t.length),r=new f.Uint8Array(o);for(let e=0;e<r.length;++e)r[e]=t.charCodeAt(e);return p.createObjectURL(new f.Blob([r],{type:e[1]}))}}function g(t,e){let o=f.navigator,r=h.createElement("a");if("string"!=typeof t&&!(t instanceof String)&&o.msSaveOrOpenBlob)return void o.msSaveOrOpenBlob(t,e);if(t=""+t,o.userAgent.length>1e3)throw Error("Input too long");let n=/Edge\/\d+/.test(o.userAgent);if((d&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||n||t.length>2e6)&&!(t=u(t)||""))throw Error("Failed to convert to blob");if(void 0!==r.download)r.href=t,r.download=e,h.body.appendChild(r),r.click(),h.body.removeChild(r);else try{if(!f.open(t,"chart"))throw Error("Failed to open window")}catch{f.location.href=t}}function y(t){return new Promise((e,o)=>{let r=h.getElementsByTagName("head")[0],n=h.createElement("script");n.type="text/javascript",n.src=t,n.onload=()=>{e()},n.onerror=()=>{let e=`Error loading script ${t}`;(0,s.error)(e),o(Error(e))},r.appendChild(n)})}var m=i(660),w=i.n(m),v=i(960),b=i.n(v);let x={exporting:{}},{doc:E,win:F}=c();Array.prototype.find;let{getOptions:A,setOptions:S}=c(),{composed:j,doc:C,win:L}=c();!function(t){async function e(t,e,n,a){var i,l;let s,c,d,f,h,p=(i=t,l=a,d=C.createElement("div"),w().setElementHTML(d,i),f=d.getElementsByTagName("text"),h=function(t,e){let o=t;for(;o&&o!==d;){if(o.style[e]){let r=o.style[e];"fontSize"===e&&/em$/.test(r)&&(r=Math.round(16*parseFloat(r))+"px"),t.style[e]=r;break}o=o.parentNode}},[].forEach.call(f,function(t){for(["fontFamily","fontSize"].forEach(e=>{h(t,e)}),t.style.fontFamily=l?.normal?"HighchartsFont":String(t.style.fontFamily&&t.style.fontFamily.split(" ").splice(-1)),s=t.getElementsByTagName("title"),[].forEach.call(s,function(e){t.removeChild(e)}),c=t.getElementsByClassName("highcharts-text-outline");c.length>0;){let t=c[0];t.parentNode&&t.parentNode.removeChild(t)}}),d.querySelector("svg"));p&&(await o(p,a),g(await r(p,0,e),n))}async function o(t,e){let o,r,n=(t,e)=>{L.jspdf.jsPDF.API.events.push(["initialized",function(){this.addFileToVFS(t,e),this.addFont(t,"HighchartsFont",t),this.getFontList()?.HighchartsFont||this.setFont("HighchartsFont")}])};for(let a of(e&&(r=t.textContent||"",!/[^\u0000-\u007F\u200B]+/.test(r))&&(e=void 0),["normal","italic","bold","bolditalic"])){let t=e?.[a];if(t)try{let e=await L.fetch(t);if(!e.ok)throw Error(`Failed to fetch font: ${t}`);let r=await e.blob(),i=new FileReader,l=await new Promise((t,e)=>{i.onloadend=()=>{"string"==typeof i.result?t(i.result.split(",")[1]):e(Error("Failed to read font as base64"))},i.onerror=e,i.readAsDataURL(r)});n(a,l),"normal"===a&&(o=l)}catch{}else o&&n(a,o)}}async function r(t,e,o){let r=(Number(t.getAttribute("width"))+2*e)*o,n=(Number(t.getAttribute("height"))+2*e)*o,a=new L.jspdf.jsPDF(n>r?"p":"l","pt",[r,n]);[].forEach.call(t.querySelectorAll('*[visibility="hidden"]'),function(t){t.parentNode.removeChild(t)});let i=t.querySelectorAll("linearGradient");for(let t=0;t<i.length;t++){let e=i[t].querySelectorAll("stop"),o=0;for(;o<e.length&&"0"===e[o].getAttribute("offset")&&"0"===e[o+1].getAttribute("offset");)e[o].remove(),o++}return[].forEach.call(t.querySelectorAll("tspan"),t=>{"​"===t.textContent&&(t.textContent=" ",t.setAttribute("dx",-5))}),await a.svg(t,{x:0,y:0,width:r,height:n,removeInvalid:!0}),a.output("datauristring")}t.compose=function(t){var o;if(!function(t,e,o,r={}){let n="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});let a=n.hcEvents;c().Point&&t instanceof c().Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);let i=t.addEventListener;i&&i.call(t,e,o,!!c().supportsPassiveEvents&&{passive:void 0===r.passive?-1!==e.indexOf("touch"):r.passive,capture:!1}),a[e]||(a[e]=[]);let l={fn:o,order:"number"==typeof r.order?r.order:1/0};a[e].push(l),a[e].sort((t,e)=>t.order-e.order)}(t,"downloadSVG",async function(t){let{svg:o,exportingOptions:r,exporting:n,preventDefault:a}=t;if(r?.type==="application/pdf"){a?.();try{let{type:t,filename:n,scale:a,libURL:i}=c().Exporting.prepareImageOptions(r);"application/pdf"===t&&(L.jspdf?.jsPDF||(await y(`${i}jspdf.js`),await y(`${i}svg2pdf.js`)),await e(o,a,n,r?.pdfFont))}catch(t){await n?.fallbackToServer(r,t)}}}),o="OfflineExporting",!(0>j.indexOf(o)&&j.push(o)))return;!function(t,e){let o;for(o in t||(t={}),e)t[o]=e[o]}(b().prototype,{exportChartLocal:async function(t,e){await this.exporting?.exportChart(t,e)}}),S(x);let r=A().exporting?.buttons?.contextButton?.menuItems;r?.push("downloadPDF")},t.downloadSVGLocal=async function(t,e){await c().Exporting.prototype.downloadSVG.call(void 0,t,e)}}(r||(r={}));let O=r,H=c();H.dataURLtoBlob=H.dataURLtoBlob||u,H.downloadSVGLocal=O.downloadSVGLocal,H.downloadURL=H.downloadURL||g,O.compose(H.Exporting);let B=c();return l.default})());