(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[54180],{9264:(e,x,b)=>{var E,L;L=function(e){“use strict”;var x=e?e._modules:{};function b(e,x,b,E){e.hasOwnProperty(x)||(e[x]=E.apply(null,b),”function”==typeof CustomEvent&&window.dispatchEvent(new CustomEvent(“HighchartsModuleLoaded”,{detail:{path:x,module:e[x]}})))}b(x,”Core/Chart/ChartNavigationComposition.js”,[],function(){var e;return function(e){e.compose=function(e){return e.navigation||(e.navigation=new t(e)),e};let t=class t{constructor(e){this.updates=[],this.chart=e}addUpdate(e){this.chart.navigation.updates.push(e)}update(e,x){this.updates.forEach(b=>{b.call(this.chart,e,x)})}};e.Additions=t}(e||(e={})),e}),b(x,”Extensions/Exporting/ExportingDefaults.js”,[x[“Core/Globals.js”]],function(e){let{isTouchDevice:x}=e;return{exporting:{allowTableSorting:!0,type:”image/png”,url:”https://export.highcharts.com/”,pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:”highcharts-contextbutton”,menuClassName:”highcharts-contextmenu”,symbol:”menu”,titleKey:”contextButtonTitle”,menuItems:[“viewFullscreen”,”printChart”,”separator”,”downloadPNG”,”downloadJPEG”,”downloadPDF”,”downloadSVG”]}},menuItemDefinitions:{viewFullscreen:{textKey:”viewFullscreen”,onclick:function(){this.fullscreen&&this.fullscreen.toggle()}},printChart:{textKey:”printChart”,onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:”downloadPNG”,onclick:function(){this.exportChart()}},downloadJPEG:{textKey:”downloadJPEG”,onclick:function(){this.exportChart({type:”image/jpeg”})}},downloadPDF:{textKey:”downloadPDF”,onclick:function(){this.exportChart({type:”application/pdf”})}},downloadSVG:{textKey:”downloadSVG”,onclick:function(){this.exportChart({type:”image/svg+xml”})}}}},lang:{viewFullscreen:”View in full screen”,exitFullscreen:”Exit from full screen”,printChart:”Print chart”,downloadPNG:”Download PNG image”,downloadJPEG:”Download JPEG image”,downloadPDF:”Download PDF document”,downloadSVG:”Download SVG vector image”,contextButtonTitle:”Chart context menu”},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:”right”,buttonSpacing:3,height:28,verticalAlign:”top”,width:28,symbolFill:”#666666″,symbolStroke:”#666666″,symbolStrokeWidth:3,theme:{fill:”#ffffff”,padding:5,stroke:”none”,”stroke-linecap”:”round”}},menuStyle:{border:”none”,borderRadius:”3px”,background:”#ffffff”,padding:”0.5em”},menuItemStyle:{background:”none”,borderRadius:”3px”,color:”#333333″,padding:”0.5em”,fontSize:x?”0.9em”:”0.8em”,transition:”background 250ms, color 250ms”},menuItemHoverStyle:{background:”#f2f2f2″}}}}),b(x,”Extensions/Exporting/ExportingSymbols.js”,[],function(){var e;return function(e){let x=[];function b(e,x,b,E){return[[“M”,e,x+2.5],[“L”,e+b,x+2.5],[“M”,e,x+E/2+.5],[“L”,e+b,x+E/2+.5],[“M”,e,x+E-1.5],[“L”,e+b,x+E-1.5]]}function E(e,x,b,E){let L=E/3-2;return[].concat(this.circle(b-L,x,L,L),this.circle(b-L,x+L+4,L,L),this.circle(b-L,x+2*(L+4),L,L))}e.compose=function(e){if(-1===x.indexOf(e)){x.push(e);let L=e.prototype.symbols;L.menu=b,L.menuball=E.bind(L)}}}(e||(e={})),e}),b(x,”Extensions/Exporting/Fullscreen.js”,[x[“Core/Renderer/HTML/AST.js”],x[“Core/Globals.js”],x[“Core/Utilities.js”]],function(e,x,b){let{composed:E}=x,{addEvent:L,fireEvent:O,pushUnique:D}=b;function j(){this.fullscreen=new a(this)}let a=class a{static compose(e){D(E,”Fullscreen”)&&L(e,”beforeRender”,j)}constructor(e){this.chart=e,this.isOpen=!1;let x=e.renderTo;!this.browserProps&&(“function”==typeof x.requestFullscreen?this.browserProps={fullscreenChange:”fullscreenchange”,requestFullscreen:”requestFullscreen”,exitFullscreen:”exitFullscreen”}:x.mozRequestFullScreen?this.browserProps={fullscreenChange:”mozfullscreenchange”,requestFullscreen:”mozRequestFullScreen”,exitFullscreen:”mozCancelFullScreen”}:x.webkitRequestFullScreen?this.browserProps={fullscreenChange:”webkitfullscreenchange”,requestFullscreen:”webkitRequestFullScreen”,exitFullscreen:”webkitExitFullscreen”}:x.msRequestFullscreen&&(this.browserProps={fullscreenChange:”MSFullscreenChange”,requestFullscreen:”msRequestFullscreen”,exitFullscreen:”msExitFullscreen”}))}close(){let e=this,x=e.chart,b=x.options.chart;O(x,”fullscreenClose”,null,function(){e.isOpen&&e.browserProps&&x.container.ownerDocument instanceof Document&&x.container.ownerDocument[e.browserProps.exitFullscreen](),e.unbindFullscreenEvent&&(e.unbindFullscreenEvent=e.unbindFullscreenEvent()),x.setSize(e.origWidth,e.origHeight,!1),e.origWidth=void 0,e.origHeight=void 0,b.width=e.origWidthOption,b.height=e.origHeightOption,e.origWidthOption=void 0,e.origHeightOption=void 0,e.isOpen=!1,e.setButtonText()})}open(){let e=this,x=e.chart,b=x.options.chart;O(x,”fullscreenOpen”,null,function(){if(b&&(e.origWidthOption=b.width,e.origHeightOption=b.height),e.origWidth=x.chartWidth,e.origHeight=x.chartHeight,e.browserProps){let b=L(x.container.ownerDocument,e.browserProps.fullscreenChange,function(){e.isOpen?(e.isOpen=!1,e.close()):(x.setSize(null,null,!1),e.isOpen=!0,e.setButtonText())}),E=L(x,”destroy”,b);e.unbindFullscreenEvent=()=>{b(),E()};let O=x.renderTo[e.browserProps.requestFullscreen]();O&&O.catch(function(){alert(“Full screen is not supported inside a frame.”)})}})}setButtonText(){let x=this.chart,b=x.exportDivElements,E=x.options.exporting,L=E&&E.buttons&&E.buttons.contextButton.menuItems,O=x.options.lang;if(E&&E.menuItemDefinitions&&O&&O.exitFullscreen&&O.viewFullscreen&&L&&b){let x=b[L.indexOf(“viewFullscreen”)];x&&e.setElementHTML(x,this.isOpen?O.exitFullscreen:E.menuItemDefinitions.viewFullscreen.text||O.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}};return a}),b(x,”Core/HttpUtilities.js”,[x[“Core/Globals.js”],x[“Core/Utilities.js”]],function(e,x){let{win:b}=e,{discardElement:E,objectEach:L}=x,O={ajax:function(e){let x={json:”application/json”,xml:”application/xml”,text:”text/plain”,octet:”application/octet-stream”},b=new XMLHttpRequest;function E(x,b){e.error&&e.error(x,b)}if(!e.url)return!1;b.open((e.type||”get”).toUpperCase(),e.url,!0),e.headers&&e.headers[“Content-Type”]||b.setRequestHeader(“Content-Type”,x[e.dataType||”json”]||x.text),L(e.headers,function(e,x){b.setRequestHeader(x,e)}),e.responseType&&(b.responseType=e.responseType),b.onreadystatechange=function(){let x;if(4===b.readyState){if(200===b.status){if(“blob”!==e.responseType&&(x=b.responseText,”json”===e.dataType))try{x=JSON.parse(x)}catch(e){if(e instanceof Error)return E(b,e)}return e.success&&e.success(x,b)}E(b,b.responseText)}},e.data&&”string”!=typeof e.data&&(e.data=JSON.stringify(e.data)),b.send(e.data)},getJSON:function(e,x){O.ajax({url:e,success:x,dataType:”json”,headers:{“Content-Type”:”text/plain”}})},post:function(e,x,O){let D=new b.FormData;L(x,function(e,x){D.append(x,e)}),D.append(“b64″,”true”);let{filename:j,type:R}=x;return b.fetch(e,{method:”POST”,body:D,…O}).then(e=>{e.ok&&e.text().then(e=>{let x=document.createElement(“a”);x.href=`data:${R};base64,${e}`,x.download=j,x.click(),E(x)})})}};return O}),b(x,”Extensions/Exporting/Exporting.js”,[x[“Core/Renderer/HTML/AST.js”],x[“Core/Chart/Chart.js”],x[“Core/Chart/ChartNavigationComposition.js”],x[“Core/Defaults.js”],x[“Extensions/Exporting/ExportingDefaults.js”],x[“Extensions/Exporting/ExportingSymbols.js”],x[“Extensions/Exporting/Fullscreen.js”],x[“Core/Globals.js”],x[“Core/HttpUtilities.js”],x[“Core/Utilities.js”]],function(e,x,b,E,L,O,D,j,R,z){var F;let{defaultOptions:H}=E,{doc:U,SVG_NS:Y,win:V}=j,{addEvent:q,css:K,createElement:$,discardElement:_,extend:Z,find:J,fireEvent:tt,isObject:te,merge:ti,objectEach:ts,pick:to,removeEvent:tr,uniqueKey:tn}=z;return function(x){let E,F=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^[0-9]+$/],ta=[“fill”,”stroke”,”strokeLinecap”,”strokeLinejoin”,”strokeWidth”,”textAnchor”,”x”,”y”];x.inlineAllowlist=[];let tl=[“clipPath”,”defs”,”desc”];function th(e){let x,b,E=this,L=E.renderer,O=ti(E.options.navigation.buttonOptions,e),D=O.onclick,j=O.menuItems,R=O.symbolSize||12;if(E.btnCount||(E.btnCount=0),E.exportDivElements||(E.exportDivElements=[],E.exportSVGElements=[]),!1===O.enabled||!O.theme)return;let z=E.styledMode?{}:O.theme;D?b=function(e){e&&e.stopPropagation(),D.call(E,e)}:j&&(b=function(e){e&&e.stopPropagation(),E.contextMenu(F.menuClassName,j,F.translateX||0,F.translateY||0,F.width||0,F.height||0,F),F.setState(2)}),O.text&&O.symbol?z.paddingLeft=to(z.paddingLeft,30):O.text||Z(z,{width:O.width,height:O.height,padding:0});let F=L.button(O.text,0,0,b,z,void 0,void 0,void 0,void 0,O.useHTML).addClass(e.className).attr({title:to(E.options.lang[O._titleKey||O.titleKey],””)});F.menuClassName=e.menuClassName||”highcharts-menu-“+E.btnCount++,O.symbol&&(x=L.symbol(O.symbol,Math.round((O.symbolX||0)-R/2),Math.round((O.symbolY||0)-R/2),R,R,{width:R,height:R}).addClass(“highcharts-button-symbol”).attr({zIndex:1}).add(F),E.styledMode||x.attr({stroke:O.symbolStroke,fill:O.symbolFill,”stroke-width”:O.symbolStrokeWidth||1})),F.add(E.exportingGroup).align(Z(O,{width:F.width,x:to(O.x,E.buttonOffset)}),!0,”spacingBox”),E.buttonOffset+=((F.width||0)+O.buttonSpacing)*(“right”===O.align?-1:1),E.exportSVGElements.push(F,x)}function td(){if(!this.printReverseInfo)return;let{childNodes:e,origDisplay:x,resetParams:b}=this.printReverseInfo;this.moveContainers(this.renderTo),[].forEach.call(e,function(e,b){1===e.nodeType&&(e.style.display=x[b]||””)}),this.isPrinting=!1,b&&this.setSize.apply(this,b),delete this.printReverseInfo,E=void 0,tt(this,”afterPrint”)}function tc(){let e=U.body,x=this.options.exporting.printMaxWidth,b={childNodes:e.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer?.reset(void 0,0),tt(this,”beforePrint”),x&&this.chartWidth>x&&(b.resetParams=[this.options.chart.width,void 0,!1],this.setSize(x,void 0,!1)),[].forEach.call(b.childNodes,function(e,x){1===e.nodeType&&(b.origDisplay[x]=e.style.display,e.style.display=”none”)}),this.moveContainers(e),this.printReverseInfo=b}function tp(e){e.renderExporting(),q(e,”redraw”,e.renderExporting),q(e,”destroy”,e.destroyExport)}function tu(x,b,E,L,O,D,j){let R=this,F=R.options.navigation,H=R.chartWidth,Y=R.chartHeight,_=”cache-“+x,J=Math.max(O,D),ti,ts=R[_];ts||(R.exportContextMenu=R[_]=ts=$(“div”,{className:x},{position:”absolute”,zIndex:1e3,padding:J+”px”,pointerEvents:”auto”,…R.renderer.style},R.scrollablePlotArea?.fixedDiv||R.container),ti=$(“ul”,{className:”highcharts-menu”},R.styledMode?{}:{listStyle:”none”,margin:0,padding:0},ts),R.styledMode||K(ti,Z({MozBoxShadow:”3px 3px 10px #888″,WebkitBoxShadow:”3px 3px 10px #888″,boxShadow:”3px 3px 10px #888″},F.menuStyle)),ts.hideMenu=function(){K(ts,{display:”none”}),j&&j.setState(0),R.openMenu=!1,K(R.renderTo,{overflow:”hidden”}),K(R.container,{overflow:”hidden”}),z.clearTimeout(ts.hideTimer),tt(R,”exportMenuHidden”)},R.exportEvents.push(q(ts,”mouseleave”,function(){ts.hideTimer=V.setTimeout(ts.hideMenu,500)}),q(ts,”mouseenter”,function(){z.clearTimeout(ts.hideTimer)}),q(U,”mouseup”,function(e){R.pointer?.inClass(e.target,x)||ts.hideMenu()}),q(ts,”click”,function(){R.openMenu&&ts.hideMenu()})),b.forEach(function(x){if(“string”==typeof x&&(x=R.options.exporting.menuItemDefinitions[x]),te(x,!0)){let b;x.separator?b=$(“hr”,void 0,void 0,ti):(“viewData”===x.textKey&&R.isDataTableVisible&&(x.textKey=”hideData”),b=$(“li”,{className:”highcharts-menu-item”,onclick:function(e){e&&e.stopPropagation(),ts.hideMenu(),”string”!=typeof x&&x.onclick&&x.onclick.apply(R,arguments)}},void 0,ti),e.setElementHTML(b,x.text||R.options.lang[x.textKey]),R.styledMode||(b.onmouseover=function(){K(this,F.menuItemHoverStyle)},b.onmouseout=function(){K(this,F.menuItemStyle)},K(b,Z({cursor:”pointer”},F.menuItemStyle||{})))),R.exportDivElements.push(b)}}),R.exportDivElements.push(ti,ts),R.exportMenuWidth=ts.offsetWidth,R.exportMenuHeight=ts.offsetHeight);let to={display:”block”};E+(R.exportMenuWidth||0)>H?to.right=H-E-O-J+”px”:to.left=E-J+”px”,L+D+(R.exportMenuHeight||0)>Y&&j.alignOptions?.verticalAlign!==”top”?to.bottom=Y-L-J+”px”:to.top=L+D-J+”px”,K(ts,to),K(R.renderTo,{overflow:””}),K(R.container,{overflow:””}),R.openMenu=!0,tt(R,”exportMenuShown”)}function tg(e){let x,b=e?e.target:this,E=b.exportSVGElements,L=b.exportDivElements,O=b.exportEvents;E&&(E.forEach((e,L)=>{e&&(e.onclick=e.ontouchstart=null,b[x=”cache-“+e.menuClassName]&&delete b[x],E[L]=e.destroy())}),E.length=0),b.exportingGroup&&(b.exportingGroup.destroy(),delete b.exportingGroup),L&&(L.forEach(function(e,x){e&&(z.clearTimeout(e.hideTimer),tr(e,”mouseleave”),L[x]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,_(e))}),L.length=0),O&&(O.forEach(function(e){e()}),O.length=0)}function tm(e,x){let b=this.getSVGForExport(e,x);e=ti(this.options.exporting,e),R.post(e.url,{filename:e.filename?e.filename.replace(/\//g,”-“):this.getFilename(),type:e.type,width:e.width,scale:e.scale,svg:b},e.fetchOptions)}function tf(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function tx(){let e=this.userOptions.title&&this.userOptions.title.text,x=this.options.exporting.filename;return x?x.replace(/\//g,”-“):(“string”==typeof e&&(x=e.toLowerCase().replace(/<\/?[^>]+(>|$)/g,””).replace(/[\s_]+/g,”-“).replace(/[^a-z0-9\-]/g,””).replace(/^[\-]+/g,””).replace(/[\-]+/g,”-“).substr(0,24).replace(/[\-]+$/g,””)),(!x||x.length<5)&&(x="chart"),x)}function tb(e){let x,b,E=ti(this.options,e);E.plotOptions=ti(this.userOptions.plotOptions,e&&e.plotOptions),E.time=ti(this.userOptions.time,e&&e.time);let L=$("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},U.body),O=this.renderTo.style.width,D=this.renderTo.style.height,j=E.exporting.sourceWidth||E.chart.width||/px$/.test(O)&&parseInt(O,10)||(E.isGantt?800:600),R=E.exporting.sourceHeight||E.chart.height||/px$/.test(D)&&parseInt(D,10)||400;Z(E.chart,{animation:!1,renderTo:L,forExport:!0,renderer:"SVGRenderer",width:j,height:R}),E.exporting.enabled=!1,delete E.data,E.series=[],this.series.forEach(function(e){(b=ti(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||E.series.push(b)});let z={};this.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=tn()),e.options.isInternal||(z[e.coll]||(z[e.coll]=!0,E[e.coll]=[]),E[e.coll].push(ti(e.userOptions,{visible:e.visible})))}),E.colorAxis=this.userOptions.colorAxis;let F=new this.constructor(E,this.callback);return e&&["xAxis","yAxis","series"].forEach(function(x){let b={};e[x]&&(b[x]=e[x],F.update(b))}),this.axes.forEach(function(e){let x=J(F.axes,function(x){return x.options.internalKey===e.userOptions.internalKey}),b=e.getExtremes(),E=b.userMin,L=b.userMax;x&&(void 0!==E&&E!==x.min||void 0!==L&&L!==x.max)&&x.setExtremes(E,L,!0,!1)}),x=F.getChartHTML(),tt(this,"getSVG",{chartCopy:F}),x=this.sanitizeSVG(x,E),E=null,F.destroy(),_(L),x}function ty(e,x){let b=this.options.exporting;return this.getSVG(ti({chart:{borderRadius:0}},b.chartOptions,x,{exporting:{sourceWidth:e&&e.sourceWidth||b.sourceWidth,sourceHeight:e&&e.sourceHeight||b.sourceHeight}}))}function tv(){let e,b=x.inlineAllowlist,E={},L=U.createElement("iframe");K(L,{width:"1px",height:"1px",visibility:"hidden"}),U.body.appendChild(L);let O=L.contentWindow&&L.contentWindow.document;O&&O.body.appendChild(O.createElementNS(Y,"svg")),function x(L){let D,R,z,H,U,Y,q={};if(O&&1===L.nodeType&&-1===tl.indexOf(L.nodeName)){if(D=V.getComputedStyle(L,null),R="svg"===L.nodeName?{}:V.getComputedStyle(L.parentNode,null),!E[L.nodeName]){e=O.getElementsByTagName("svg")[0],z=O.createElementNS(L.namespaceURI,L.nodeName),e.appendChild(z);let x=V.getComputedStyle(z,null),b={};for(let e in x)e.length<1e3&&"string"==typeof x[e]&&!/^[0-9]+$/.test(e)&&(b[e]=x[e]);E[L.nodeName]=b,"text"===L.nodeName&&delete E.text.fill,e.removeChild(z)}for(let e in D)(j.isFirefox||j.isMS||j.isSafari||Object.hasOwnProperty.call(D,e))&&function(e,x){if(H=U=!1,b.length){for(Y=b.length;Y--&&!U;)U=b[Y].test(x);H=!U}for("transform"===x&&"none"===e&&(H=!0),Y=F.length;Y--&&!H;){if(x.length>1e3)throw Error(“Input too long”);H=F[Y].test(x)||”function”==typeof e}!H&&(R[x]!==e||”svg”===L.nodeName)&&E[L.nodeName][x]!==e&&(ta&&-1===ta.indexOf(x)?q[x]=e:e&&L.setAttribute(x.replace(/([A-Z])/g,function(e,x){return”-“+x.toLowerCase()}),e))}(D[e],e);if(K(L,q),”svg”===L.nodeName&&L.setAttribute(“stroke-width”,”1px”),”text”===L.nodeName)return;[].forEach.call(L.children||L.childNodes,x)}}(this.container.querySelector(“svg”)),e.parentNode.removeChild(e),L.parentNode.removeChild(L)}function tS(e){let{scrollablePlotArea:x}=this;(x?[x.fixedDiv,x.scrollingContainer]:[this.container]).forEach(function(x){e.appendChild(x)})}function tC(){let e=this,x=(x,b,E)=>{e.isDirtyExporting=!0,ti(!0,e.options[x],b),to(E,!0)&&e.redraw()};e.exporting={update:function(e,b){x(“exporting”,e,b)}},b.compose(e).navigation.addUpdate((e,b)=>{x(“navigation”,e,b)})}function tk(){let e=this;e.isPrinting||(E=e,j.isSafari||e.beforePrint(),setTimeout(()=>{V.focus(),V.print(),j.isSafari||setTimeout(()=>{e.afterPrint()},1e3)},1))}function tM(){let e=this,x=e.options.exporting,b=x.buttons,E=e.isDirtyExporting||!e.exportSVGElements;e.buttonOffset=0,e.isDirtyExporting&&e.destroyExport(),E&&!1!==x.enabled&&(e.exportEvents=[],e.exportingGroup=e.exportingGroup||e.renderer.g(“exporting-group”).attr({zIndex:3}).add(),ts(b,function(x){e.addButton(x)}),e.isDirtyExporting=!1)}function tw(e,x){let b=e.indexOf(““)+6,E=e.substr(b);return e=e.substr(0,b),x&&x.exporting&&x.exporting.allowHTML&&E&&(E=’
‘+E.replace(/(<(?:img|br).*?(?=\>))>/g,”$1 />”)+”“,e=e.replace(““,E+”“)),e=e.replace(/zIndex=”[^”]+”/g,””).replace(/symbolName=”[^”]+”/g,””).replace(/jQuery[0-9]+=”[^”]+”/g,””).replace(/url\((“|")(.*?)(“|")\;?\)/g,”url($2)”).replace(/url\([^#]+#/g,”url(#”).replace(/