From 873aa93ae9108a21ce6c5e9558cfce7d1f160b67 Mon Sep 17 00:00:00 2001 From: netil Date: Tue, 13 Aug 2024 00:47:05 +0000 Subject: [PATCH] skip: 3.12.4-nightly-20240813004629 build [skip ci] --- dist-esm/billboard.js | 6 +++--- dist-esm/plugin/billboardjs-plugin-bubblecompare.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-sparkline.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-stanford.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-tableview.js | 4 ++-- dist-esm/plugin/billboardjs-plugin-textoverlap.js | 4 ++-- dist/billboard.css | 2 +- dist/billboard.js | 4 ++-- dist/billboard.min.css | 2 +- dist/billboard.min.js | 4 ++-- dist/billboard.pkgd.js | 4 ++-- dist/billboard.pkgd.min.js | 4 ++-- dist/plugin/billboardjs-plugin-bubblecompare.js | 4 ++-- dist/plugin/billboardjs-plugin-bubblecompare.min.js | 4 ++-- dist/plugin/billboardjs-plugin-sparkline.js | 4 ++-- dist/plugin/billboardjs-plugin-sparkline.min.js | 4 ++-- dist/plugin/billboardjs-plugin-stanford.js | 4 ++-- dist/plugin/billboardjs-plugin-stanford.min.js | 4 ++-- dist/plugin/billboardjs-plugin-tableview.js | 4 ++-- dist/plugin/billboardjs-plugin-tableview.min.js | 4 ++-- dist/plugin/billboardjs-plugin-textoverlap.js | 4 ++-- dist/plugin/billboardjs-plugin-textoverlap.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js | 4 ++-- .../pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js | 4 ++-- dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js | 4 ++-- dist/theme/dark.css | 2 +- dist/theme/dark.min.css | 2 +- dist/theme/datalab.css | 2 +- dist/theme/datalab.min.css | 2 +- dist/theme/graph.css | 2 +- dist/theme/graph.min.css | 2 +- dist/theme/insight.css | 2 +- dist/theme/insight.min.css | 2 +- dist/theme/modern.css | 2 +- dist/theme/modern.min.css | 2 +- 42 files changed, 73 insertions(+), 73 deletions(-) diff --git a/dist-esm/billboard.js b/dist-esm/billboard.js index ddac2cc09..952b37f4e 100644 --- a/dist-esm/billboard.js +++ b/dist-esm/billboard.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ import { pointer, select, namespaces, selectAll } from 'd3-selection'; import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format'; @@ -24386,7 +24386,7 @@ var zoomModule = function () { var defaults = {}; /** * @namespace bb - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ var bb = { /** @@ -24396,7 +24396,7 @@ var bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.12.4-nightly-20240809004639", + version: "3.12.4-nightly-20240813004629", /** * Generate chart * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: diff --git a/dist-esm/plugin/billboardjs-plugin-bubblecompare.js b/dist-esm/plugin/billboardjs-plugin-bubblecompare.js index c6b56ff1b..2b5ad3dcb 100644 --- a/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +++ b/dist-esm/plugin/billboardjs-plugin-bubblecompare.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -100,7 +100,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240809004639"; + Plugin.version = "3.12.4-nightly-20240813004629"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-sparkline.js b/dist-esm/plugin/billboardjs-plugin-sparkline.js index d3654d9f1..e4f209a44 100644 --- a/dist-esm/plugin/billboardjs-plugin-sparkline.js +++ b/dist-esm/plugin/billboardjs-plugin-sparkline.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -443,7 +443,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240809004639"; + Plugin.version = "3.12.4-nightly-20240813004629"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-stanford.js b/dist-esm/plugin/billboardjs-plugin-stanford.js index 8923a752c..d4bb6982b 100644 --- a/dist-esm/plugin/billboardjs-plugin-stanford.js +++ b/dist-esm/plugin/billboardjs-plugin-stanford.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -501,7 +501,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240809004639"; + Plugin.version = "3.12.4-nightly-20240813004629"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-tableview.js b/dist-esm/plugin/billboardjs-plugin-tableview.js index 1137529ec..f946edf13 100644 --- a/dist-esm/plugin/billboardjs-plugin-tableview.js +++ b/dist-esm/plugin/billboardjs-plugin-tableview.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -290,7 +290,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240809004639"; + Plugin.version = "3.12.4-nightly-20240813004629"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-textoverlap.js b/dist-esm/plugin/billboardjs-plugin-textoverlap.js index 4c10d4b53..2f40f9c60 100644 --- a/dist-esm/plugin/billboardjs-plugin-textoverlap.js +++ b/dist-esm/plugin/billboardjs-plugin-textoverlap.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -267,7 +267,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.12.4-nightly-20240809004639"; + Plugin.version = "3.12.4-nightly-20240813004629"; return Plugin; }()); diff --git a/dist/billboard.css b/dist/billboard.css index a020e9a51..0f1368436 100644 --- a/dist/billboard.css +++ b/dist/billboard.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ /*-- Chart --*/ .bb svg { diff --git a/dist/billboard.js b/dist/billboard.js index 7778db6ab..fcdb3a721 100644 --- a/dist/billboard.js +++ b/dist/billboard.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') @@ -21640,7 +21640,7 @@ const bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.12.4-nightly-20240809004639", + version: "3.12.4-nightly-20240813004629", /** * Generate chart * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: diff --git a/dist/billboard.min.css b/dist/billboard.min.css index 12d624b43..b3eb8117f 100644 --- a/dist/billboard.min.css +++ b/dist/billboard.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */.bb svg{font:10px sans-serif;-webkit-tap-highlight-color:rgba(0,0,0,0)}.bb path,.bb line{fill:none;stroke:#000}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;user-select:none}.bb-legend-item-tile,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle,.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{font-size:13px;fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:1em;fill:#fff;white-space:nowrap}.bb-grid{pointer-events:none}.bb-grid line{stroke:#aaa}.bb-grid text{fill:#aaa}.bb-xgrid,.bb-ygrid{stroke-dasharray:3 3}.bb-text.bb-empty{fill:gray;font-size:2em}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:1px;stroke:#fff}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{font-size:12px;user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font:14px sans-serif}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;user-select:none}.bb-tooltip{border-collapse:collapse;border-spacing:0;background-color:#fff;empty-cells:show;opacity:.9;box-shadow:7px 7px 12px -9px #777;white-space:nowrap}.bb-tooltip tr{border:1px solid #CCC}.bb-tooltip th{background-color:#aaa;font-size:14px;padding:2px 5px;text-align:left;color:#fff}.bb-tooltip td{font-size:13px;padding:3px 6px;background-color:#fff;border-left:1px dotted #999}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:10px;height:10px;margin-right:6px}.bb-tooltip.value{text-align:right}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-max,.bb-chart-arcs .bb-chart-arcs-gauge-min{fill:#777}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{font-size:11px;border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/billboard.min.js b/dist/billboard.min.js index ba776d75b..2d246f9a6 100644 --- a/dist/billboard.min.js +++ b/dist/billboard.min.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */(function(dt,Zt){if(typeof exports=="object"&&typeof module=="object")module.exports=Zt(require("d3-axis"),require("d3-brush"),require("d3-drag"),require("d3-dsv"),require("d3-ease"),require("d3-hierarchy"),require("d3-interpolate"),require("d3-scale"),require("d3-selection"),require("d3-shape"),require("d3-time-format"),require("d3-transition"),require("d3-zoom"));else if(typeof define=="function"&&define.amd)define(["d3-axis","d3-brush","d3-drag","d3-dsv","d3-ease","d3-hierarchy","d3-interpolate","d3-scale","d3-selection","d3-shape","d3-time-format","d3-transition","d3-zoom"],Zt);else{var ue=typeof exports=="object"?Zt(require("d3-axis"),require("d3-brush"),require("d3-drag"),require("d3-dsv"),require("d3-ease"),require("d3-hierarchy"),require("d3-interpolate"),require("d3-scale"),require("d3-selection"),require("d3-shape"),require("d3-time-format"),require("d3-transition"),require("d3-zoom")):Zt(dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3,dt.d3);for(var he in ue)(typeof exports=="object"?exports:dt)[he]=ue[he]}})(this,function(Ue,dt,Zt,ue,he,Pi,Oi,Ii,Di,zi,Fi,Mi,Xi){return function(){"use strict";var Bi=[,,function(D){D.exports=Di},function(D){D.exports=Fi},function(D){D.exports=dt},function(D){D.exports=ue},function(D){D.exports=Zt},function(D){D.exports=Ii},function(D){D.exports=Mi},function(D){D.exports=zi},function(D){D.exports=Xi},function(D){D.exports=Ue},function(D){D.exports=he},function(D){D.exports=Oi},function(D){D.exports=Pi}],Ze={};function U(D){var xt=Ze[D];if(xt!==void 0)return xt.exports;var S=Ze[D]={exports:{}};return Bi[D](S,S.exports,U),S.exports}(function(){U.d=function(D,xt){for(var S in xt)U.o(xt,S)&&!U.o(D,S)&&Object.defineProperty(D,S,{enumerable:!0,get:xt[S]})}})(),function(){U.o=function(D,xt){return Object.prototype.hasOwnProperty.call(D,xt)}}(),function(){U.r=function(D){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(D,"__esModule",{value:!0})}}();var Re={};return function(){U.r(Re),U.d(Re,{bb:function(){return ki},default:function(){return ki}});var D={};U.r(D),U.d(D,{selection:function(){return Os},subchart:function(){return Is},zoom:function(){return Ds}});var xt={};U.r(xt),U.d(xt,{area:function(){return di},areaLineRange:function(){return ui},areaSpline:function(){return gi},areaSplineRange:function(){return fi},areaStep:function(){return pi},areaStepRange:function(){return hi},bar:function(){return Ai},bubble:function(){return wi},candlestick:function(){return Si},donut:function(){return $i},funnel:function(){return Ci},gauge:function(){return yi},line:function(){return xi},pie:function(){return bi},polar:function(){return vi},radar:function(){return Ti},scatter:function(){return Ri},spline:function(){return _i},step:function(){return mi},treemap:function(){return Ei}});var S=U(2),ge=U(3),Ni=Object.defineProperty,qe=Object.getOwnPropertySymbols,Gi=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Ke=(e,t,s)=>t in e?Ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Z=(e,t)=>{for(var s in t||(t={}))Gi.call(t,s)&&Ke(e,s,t[s]);if(qe)for(var s of qe(t))Vi.call(t,s)&&Ke(e,s,t[s]);return e};const z={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},G={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},fe={area:"bb-area",areas:"bb-areas"},ot={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},bt={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},Et={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},ut={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},Ce={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},Bt={dragarea:"bb-dragarea",INCLUDED:"_included_"},oe={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},_t={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},j={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},kt={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},vt={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},q={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},et={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Dt={level:"bb-level",levels:"bb-levels"},Je={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},re={region:"bb-region",regions:"bb-regions"},J={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},st={shape:"bb-shape",shapes:"bb-shapes"},Qe={brush:"bb-brush",subchart:"bb-subchart"},gt={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},pe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},ts={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Ee={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var B=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z({},z),G),fe),ot),bt),Et),ut),Ce),Bt),_t),j),kt),vt),q),oe),et),Je),re),J),st),Qe),gt),pe),ts),Ee),Yi={boost_useCssRule:!1,boost_useWorker:!1},ji={color_pattern:[],color_tiles:void 0,color_threshold:{},color_onover:void 0},Hi={legend_contents_bindto:void 0,legend_contents_template:"{=TITLE}",legend_equally:!1,legend_hide:!1,legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_interaction:!0,legend_item_dblclick:!1,legend_item_onclick:void 0,legend_item_onover:void 0,legend_item_onout:void 0,legend_item_tile_width:10,legend_item_tile_height:10,legend_item_tile_r:5,legend_item_tile_type:"rectangle",legend_format:void 0,legend_padding:0,legend_position:"bottom",legend_show:!0,legend_tooltip:!1,legend_usePoint:!1},Wi={bindto:"#chart",background:{},clipPath:!0,svg_classname:void 0,size_width:void 0,size_height:void 0,padding:!0,padding_mode:void 0,padding_left:void 0,padding_right:void 0,padding_top:void 0,padding_bottom:void 0,resize_auto:!0,resize_timer:!0,onclick:void 0,onover:void 0,onout:void 0,onresize:void 0,onresized:void 0,onbeforeinit:void 0,oninit:void 0,onafterinit:void 0,onrendered:void 0,transition_duration:250,plugins:[],render:{},regions:[]},Ui={title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"center"},Zi={tooltip_show:!0,tooltip_doNotHide:!1,tooltip_grouped:!0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:{},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:void 0,tooltip_linked:!1,tooltip_linked_name:"",tooltip_onshow:()=>{},tooltip_onhide:()=>{},tooltip_onshown:()=>{},tooltip_onhidden:()=>{},tooltip_order:null},qi={data_x:void 0,data_idConverter:e=>e,data_names:{},data_classes:{},data_type:void 0,data_types:{},data_order:"desc",data_groups:[],data_groupsZeroAs:"positive",data_color:void 0,data_colors:{},data_labels:{},data_labels_backgroundColors:void 0,data_labels_colors:void 0,data_labels_position:{},data_hide:!1,data_filter:void 0,data_onclick:()=>{},data_onover:()=>{},data_onout:()=>{},data_onshown:void 0,data_onhidden:void 0,data_onmin:void 0,data_onmax:void 0,data_url:void 0,data_headers:void 0,data_json:void 0,data_rows:void 0,data_columns:void 0,data_mimeType:"csv",data_keys:void 0,data_empty_label_text:""},Ki={interaction_enabled:!0,interaction_brighten:!0,interaction_inputType_mouse:!0,interaction_inputType_touch:{}},xe=U(4);function Ji(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Qi(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",s=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",i=a=>setTimeout(a,1),n=a=>clearTimeout(a);return[t?e.requestAnimationFrame:i,t?e.cancelAnimationFrame:n,s?e.requestIdleCallback:i,s?e.cancelIdleCallback:n]}const H=Ji(),lt=H==null?void 0:H.document,[tn,mr,es,$r]=Qi(H);var en=Object.defineProperty,ss=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,is=(e,t,s)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ns=(e,t)=>{for(var s in t||(t={}))sn.call(t,s)&&is(e,s,t[s]);if(ss)for(var s of ss(t))nn.call(t,s)&&is(e,s,t[s]);return e};const F=e=>e||e===0,P=e=>typeof e=="function",V=e=>typeof e=="string",L=e=>typeof e=="number",it=e=>typeof e=="undefined",W=e=>typeof e!="undefined",ke=e=>typeof e=="boolean",an=e=>Math.ceil(e/10)*10,_e=e=>Math.ceil(e)+.5,Nt=e=>e[1]-e[0],wt=e=>typeof e=="object",Tt=e=>it(e)||e===null||V(e)&&e.length===0||wt(e)&&!(e instanceof Date)&&Object.keys(e).length===0||L(e)&&isNaN(e),nt=e=>!Tt(e),N=e=>Array.isArray(e),X=e=>e&&!(e!=null&&e.nodeType)&&wt(e)&&!N(e);function zt(e,t,s){return W(e[t])?e[t]:s}function on(e,t){let s=!1;return Object.keys(e).forEach(i=>e[i]===t&&(s=!0)),s}function K(e,t,...s){const i=P(e);return i&&e.call(t,...s),i}function me(e,t){let s=0;const i=function(...n){!--s&&t.apply(this,...n)};"duration"in e?e.each(()=>++s).on("end",i):(++s,e.call(i))}function Le(e){return V(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function le(e,t,s=[-1,1],i=!1){if(!(!e||!V(t)))if(t.indexOf(` `)===-1)e.text(t);else{const n=[e.text(),t].map(a=>a.replace(/[\s\n]/g,""));if(n[0]!==n[1]){const a=t.split(` `),o=i?a.length-1:1;e.html(""),a.forEach((r,l)=>{e.append("tspan").attr("x",0).attr("dy",`${l===0?s[0]*o:s[1]}em`).text(r)})}}}function as(e){const{x:t,y:s,width:i,height:n}=e.getBBox();return[{x:t,y:s+n},{x:t,y:s},{x:t+i,y:s},{x:t+i,y:s+n}]}function os(e){const{width:t,height:s}=e.getBoundingClientRect(),i=as(e),n=i[0].x,a=Math.min(i[0].y,i[1].y);return{x:n,y:a,width:t,height:s}}function $t(e,t){var s;const i=e&&((s=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:s[0]);let n=[0,0];try{n=(0,S.pointer)(i||e,t)}catch(a){}return n.map(a=>isNaN(a)?0:a)}function rs(e){const{event:t,$el:s}=e,i=s.subchart.main||s.main;let n;return t&&t.type==="brush"?n=t.selection:i&&(n=i.select(".bb-brush").node())&&(n=(0,xe.brushSelection)(n)),n}function $e(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Lt(e=!0,t=0,s=1e4){const i=H.crypto||H.msCrypto,n=i?t+i.getRandomValues(new Uint32Array(1))[0]%(s-t+1):Math.floor(Math.random()*(s-t)+t);return e?String(n):n}function Pe(e,t,s,i,n){if(s>i)return-1;const a=Math.floor((s+i)/2);let{x:o,w:r=0}=e[a];return n&&(o=e[a].y,r=e[a].h),t>=o&&t<=o+r?a:t{if(X(s)&&s.constructor){const i=new s.constructor;for(const n in s)i[n]=t(s[n]);return i}return s};return e.map(s=>t(s)).reduce((s,i)=>ns(ns({},s),i))}function ct(e={},t){N(t)&&t.forEach(s=>ct(e,s));for(const s in t)/^\d+$/.test(s)||s in e||(e[s]=t[s]);return e}const ft=e=>e.charAt(0).toUpperCase()+e.slice(1);function ln(e,t="-"){return e.split(t).map((s,i)=>i?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Gt=e=>[].slice.call(e);function cn(e,t,s){const{rootSelector:i="",sheet:n}=e,o=`${i} ${(r=>r.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${s.join(";")}}`;return n[n.insertRule?"insertRule":"addRule"](o,n.cssRules.length)}function dn(e){let t=[];return e.forEach(s=>{var i;try{s.cssRules&&s.cssRules.length&&(t=t.concat(Gt(s.cssRules)))}catch(n){(i=H.console)==null||i.warn(`Error while reading rules from ${s.href}: ${n.toString()}`)}}),t}function cs(e){var t,s,i,n,a,o;return{x:((s=(t=H.pageXOffset)!=null?t:H.scrollX)!=null?s:0)+((i=e.scrollLeft)!=null?i:0),y:((a=(n=H.pageYOffset)!=null?n:H.scrollY)!=null?a:0)+((o=e.scrollTop)!=null?o:0)}}function ds(e){const t=e?e.transform:null,s=t&&t.baseVal;return s&&s.numberOfItems?s.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Oe(e){const t=e[0]instanceof Date,s=(t?e.map(Number):e).filter((i,n,a)=>a.indexOf(i)===n);return t?s.map(i=>new Date(i)):s}function Ie(e){return e&&e.length?e.reduce((t,s)=>t.concat(s)):[]}function qt(e,...t){if(!t.length||t.length===1&&!t[0])return e;const s=t.shift();return X(e)&&X(s)&&Object.keys(s).forEach(i=>{const n=s[i];X(n)?(!e[i]&&(e[i]={}),e[i]=qt(e[i],n)):e[i]=N(n)?n.concat():n}),qt(e,...t)}function Kt(e,t=!0){let s;return e[0]instanceof Date?s=t?(i,n)=>i-n:(i,n)=>n-i:t&&!e.every(isNaN)?s=(i,n)=>i-n:t||(s=(i,n)=>i>n&&-1||int(i));return s.length?L(s[0])?s=Math[e](...s):s[0]instanceof Date&&(s=Kt(s,e==="min")[0]):s=void 0,s}const ye=(e,t,s=1)=>{const i=[],n=Math.max(0,Math.ceil((t-e)/s))|0;for(let a=e;a{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,s,i=e())=>{t.dispatchEvent(new MouseEvent(s,i))}}catch(t){return(s,i,n=e())=>{const a=lt.createEvent("MouseEvent");a.initMouseEvent(i,n.bubbles,n.cancelable,H,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(a)}}})(),touch:(e,t,s)=>{const i=new Touch(qt({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[i],targetTouches:[],changedTouches:[i]}))}};function be(e,t){let s=e;for(const i in t)s=s.replace(new RegExp(`{=${i}}`,"g"),t[i]);return s}function mt(e){var t;let s;if(e instanceof Date)s=e;else if(V(e)){const{config:i,format:n}=this;s=(t=n.dataTime(i.data_xFormat)(e))!=null?t:new Date(e)}else L(e)&&!isNaN(e)&&(s=new Date(+e));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),s}function ce(){var e,t;return((e=lt)==null?void 0:e.hidden)===!1||((t=lt)==null?void 0:t.visibilityState)==="visible"}function hn(e,t){const{DocumentTouch:s,matchMedia:i,navigator:n}=H;let a=!1;if(t)if(n&&"maxTouchPoints"in n)a=n.maxTouchPoints>0;else if("ontouchmove"in H||s&< instanceof s)a=!0;else if(i!=null&&i("(pointer:coarse)").matches)a=!0;else{const r=n.userAgent;a=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(r)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(r)}return e&&((i==null?void 0:i("any-hover:hover").matches)||(i==null?void 0:i("any-pointer:fine").matches))&&"mouse"||a&&"touch"||"mouse"}function us(e,t){t()===!1?tn(()=>us(e,t)):e()}var gn=Object.defineProperty,hs=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,De=(e,t,s)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,gs=(e,t)=>{for(var s in t||(t={}))fn.call(t,s)&&De(e,s,t[s]);if(hs)for(var s of hs(t))pn.call(t,s)&&De(e,s,t[s]);return e},xn=(e,t,s)=>De(e,typeof t!="symbol"?t+"":t,s);const fs=class Li{static setOptions(t){this.data=t.reduce((s,i)=>gs(gs({},s),i),this.data)}constructor(){return rn(Wi,Yi,qi,ji,Ki,Hi,Ui,Zi,Li.data)}};xn(fs,"data",{});let Vt=fs;class _n{constructor(){return{chart:null,main:null,svg:null,axis:{x:null,y:null,y2:null,subX:null},axisTooltip:{x:null,y:null,y2:null},defs:null,tooltip:null,legend:null,title:null,subchart:{main:null,bar:null,line:null,area:null},arcs:null,bar:null,candlestick:null,line:null,area:null,circle:null,radar:null,text:null,grid:{main:null,x:null,y:null},gridLines:{main:null,x:null,y:null},region:{main:null,list:null},eventRect:null,zoomResetBtn:null}}}class mn{constructor(){return{width:0,width2:0,height:0,height2:0,margin:{top:0,bottom:0,left:0,right:0},margin2:{top:0,bottom:0,left:0,right:0},margin3:{top:0,bottom:0,left:0,right:0},arcWidth:0,arcHeight:0,xAxisHeight:0,hasAxis:!1,hasFunnel:!1,hasRadar:!1,hasTreemap:!1,cssRule:{},current:{domain:void 0,width:0,height:0,dataMax:0,maxTickSize:{x:{width:0,height:0,ticks:[],clipPath:0,domain:""},y:{width:0,height:0,domain:""},y2:{width:0,height:0,domain:""}},types:[],needle:void 0},isLegendRight:!1,isLegendInset:!1,isLegendTop:!1,isLegendLeft:!1,legendStep:0,legendItemWidth:0,legendItemHeight:0,legendHasRendered:!1,eventReceiver:{currentIdx:-1,rect:{},data:[],coords:[]},axis:{x:{padding:{left:0,right:0},tickCount:0}},rotatedPadding:{left:30,right:0,top:5},withoutFadeIn:{},inputType:"",datetimeId:"",clip:{id:"",idXAxis:"",idYAxis:"",idXAxisTickTexts:"",idGrid:"",idSubchart:"",path:"",pathXAxis:"",pathYAxis:"",pathXAxisTickTexts:"",pathGrid:""},event:null,dragStart:null,dragging:!1,flowing:!1,cancelClick:!1,mouseover:!1,rendered:!1,transiting:!1,redrawing:!1,resizing:!1,toggling:!1,zooming:!1,hasNegativeValue:!1,hasPositiveValue:!0,orgAreaOpacity:"0.2",orgConfig:{},hiddenTargetIds:[],hiddenLegendIds:[],focusedTargetIds:[],defocusedTargetIds:[],radius:0,innerRadius:0,outerRadius:void 0,innerRadiusRatio:0,gaugeArcWidth:0,radiusExpanded:0,xgridAttr:{x1:null,x2:null,y1:null,y2:null}}}}const ps={element:_n,state:mn};class $n{constructor(){Object.keys(ps).forEach(t=>{this[t]=new ps[t]})}getStore(t){return this[t]}}var yn=Object.defineProperty,bn=(e,t,s)=>t in e?yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,vn=(e,t,s)=>bn(e,typeof t!="symbol"?t+"":t,s);const pt={bubbleBaseLength:"$baseLength",colorPattern:"__colorPattern__",dataMinMax:"$dataMinMax",dataTotalSum:"$dataTotalSum",dataTotalPerIndex:"$totalPerIndex",legendItemTextBox:"legendItemTextBox",radarPoints:"$radarPoints",radarTextWidth:"$radarTextWidth",setOverOut:"setOverOut",callOverOutForTouch:"callOverOutForTouch",textRect:"textRect"};class Tn{constructor(){vn(this,"cache",{})}add(t,s,i=!1){return this.cache[t]=i?this.cloneTarget(s):s,this.cache[t]}remove(t){(V(t)?[t]:t).forEach(s=>delete this.cache[s])}get(t,s=!1){if(s&&Array.isArray(t)){const i=[];for(let n=0,a;a=t[n];n++)a in this.cache&&i.push(this.cloneTarget(this.cache[a]));return i}else{const i=this.cache[t];return F(i)?i:null}}reset(t){const s=this;for(const i in s.cache)(t||/^\$/.test(i))&&(s.cache[i]=null)}cloneTarget(t){return{id:t.id,id_org:t.id_org,values:t.values.map(s=>({x:s.x,value:s.value,id:s.id}))}}}const E={AREA:"area",AREA_LINE_RANGE:"area-line-range",AREA_SPLINE:"area-spline",AREA_SPLINE_RANGE:"area-spline-range",AREA_STEP:"area-step",AREA_STEP_RANGE:"area-step-range",BAR:"bar",BUBBLE:"bubble",CANDLESTICK:"candlestick",DONUT:"donut",FUNNEL:"funnel",GAUGE:"gauge",LINE:"line",PIE:"pie",POLAR:"polar",RADAR:"radar",SCATTER:"scatter",SPLINE:"spline",STEP:"step",TREEMAP:"treemap"},ze={AREA:"initArea",AREA_LINE_RANGE:"initArea",AREA_SPLINE:"initArea",AREA_SPLINE_RANGE:"initArea",AREA_STEP:"initArea",AREA_STEP_RANGE:"initArea",BAR:"initBar",BUBBLE:"initCircle",CANDLESTICK:"initCandlestick",DONUT:"initArc",FUNNEL:"initFunnel",GAUGE:"initArc",LINE:"initLine",PIE:"initArc",POLAR:"initPolar",RADAR:"initCircle",SCATTER:"initCircle",SPLINE:"initLine",STEP:"initLine",TREEMAP:"initTreemap"},Ft={Area:[E.AREA,E.AREA_SPLINE,E.AREA_SPLINE_RANGE,E.AREA_LINE_RANGE,E.AREA_STEP,E.AREA_STEP_RANGE],AreaRange:[E.AREA_SPLINE_RANGE,E.AREA_LINE_RANGE,E.AREA_STEP_RANGE],Arc:[E.PIE,E.DONUT,E.GAUGE,E.POLAR,E.RADAR],Line:[E.LINE,E.SPLINE,E.AREA,E.AREA_SPLINE,E.AREA_SPLINE_RANGE,E.AREA_LINE_RANGE,E.STEP,E.AREA_STEP,E.AREA_STEP_RANGE],Step:[E.STEP,E.AREA_STEP,E.AREA_STEP_RANGE],Spline:[E.SPLINE,E.AREA_SPLINE,E.AREA_SPLINE_RANGE]};function An(e){const t=e,{config:s}=t;let i="";if(Tt(s.data_type||s.data_types)&&!t[ze.LINE])i="line";else for(const n in ze){const a=E[n];if(t.hasType(a)&&!t[ze[n]]){i=a;break}}i&&wn(`Please, make sure if %c${ln(i)}`,"module has been imported and specified correctly.")}function wn(e,t){var s;const i="[billboard.js]";throw((s=H.console)==null?void 0:s.error)&&(console.error(`\u274C ${i} ${e}`,"background:red;color:white;display:block;font-size:15px",t),console.info("%c\u2139\uFE0F","font-size:15px","https://github.com/naver/billboard.js/wiki/CHANGELOG-v2#modularization-by-its-functionality")),Error(`${i} ${e.replace(/\%c([a-z-]+)/i,"'$1' ")} ${t}`)}const{setTimeout:Sn,clearTimeout:Rn}=H;function Cn(e){const t=[];let s;const i=function(){i.clear(),e===!1?es(()=>{t.forEach(n=>n())},{timeout:200}):s=Sn(()=>{t.forEach(n=>n())},L(e)?e:200)};return i.clear=()=>{s&&(Rn(s),s=null)},i.add=n=>t.push(n),i.remove=n=>t.splice(t.indexOf(n),1),i}function xs(){let e=[];const t=function(s,i){function n(){var a;let o=0;for(let r=0,l;l=e[r];r++){if(l===!0||(a=l.empty)!=null&&a.call(l)){o++;continue}if(ce()===!1){o=e.length;break}try{l.transition()}catch(c){o++}}return o===e.length}us(()=>{i==null||i()},n)};return t.add=function(s){N(s)?e=e.concat(s):e.push(s)},t}const Fe={};function En(e,t){var s;const i=e.toString(),n=i.replace(/(function|[\s\W\n])/g,"").substring(0,15);return n in Fe||(Fe[n]=new H.Blob([`${(s=t==null?void 0:t.map(String).join(";"))!=null?s:""} @@ -30,4 +30,4 @@ `;return`data:image/svg+xml;base64,${ga(d)}`}function pa(e,t){const{top:s,left:i}=t,{x:n,y:a}=e.getBBox(),{a:o,b:r,c:l,d:c,e:u,f:d}=e.getScreenCTM(),{width:h,height:g}=e.getBoundingClientRect();return{x:o*n+l*a+u-i,y:r*n+c*a+d-s+(g-Math.round(g/4)),width:h,height:g}}function xa(e){const{left:t,top:s}=e.getBoundingClientRect(),i=a=>a.textContent||a.childElementCount,n=[];return Gt(e.querySelectorAll("text")).filter(i).forEach(a=>{const o=r=>{const{fill:l,fontFamily:c,fontSize:u,textAnchor:d,transform:h}=H.getComputedStyle(r),{x:g,y:f,width:p,height:_}=pa(r,{left:t,top:s});return{[r.textContent]:{x:g,y:f,width:p,height:_,fill:l,fontFamily:c,fontSize:u,textAnchor:d,transform:h}}};if(a.childElementCount>1){const r=[];return Gt(a.querySelectorAll("tspan")).filter(i).forEach(l=>{n.push(o(l))}),r}else n.push(o(a))}),n}function _a(e,t){t.forEach(s=>{Object.keys(s).forEach(i=>{const{x:n,y:a,width:o,height:r,fill:l,fontFamily:c,fontSize:u,transform:d}=s[i];if(e.save(),e.font=`${u} ${c}`,e.fillStyle=l,d==="none")e.fillText(i,n,a);else{const h=d.replace(/(matrix|\(|\))/g,"").split(",");h.splice(4).every(g=>+g==0)?(h.push(n+o-o/4),h.push(a-r+r/3)):(h.push(n),h.push(a)),e.transform(...h),e.fillText(i,0,0)}e.restore()})})}var ma={export(e,t){const s=this.internal,{state:i,$el:{chart:n,svg:a}}=s,{width:o,height:r}=i.current,l=qt({width:o,height:r,preserveAspectRatio:!0,preserveFontStyle:!1,mimeType:"image/png"},e),c=fa(n.node(),l,{width:o,height:r}),u=l.preserveFontStyle?xa(a.node()):[];if(t&&P(t)){const d=new Image;d.crossOrigin="Anonymous",d.onload=()=>{const h=lt.createElement("canvas"),g=h.getContext("2d");h.width=l.width||o,h.height=l.height||r,g.drawImage(d,0,0),u.length&&(_a(g,u),u.length=0),t.bind(this)(h.toDataURL(l.mimeType))},d.src=c}return c}},$a={focus(e){const t=this.internal,{state:s}=t,i=t.mapToTargetIds(e),n=t.$el.svg.selectAll(t.selectorTargets(i.filter(t.isTargetToShow,t)));this.revert(),this.defocus(),n.classed(q.focused,!0).classed(q.defocused,!1),t.hasArcType()&&!s.hasRadar&&(t.expandArc(i),t.hasType("gauge")&&t.markOverlapped(e,t,`.${_t.gaugeValue}`)),t.toggleFocusLegend(i,!0),s.focusedTargetIds=i,s.defocusedTargetIds=s.defocusedTargetIds.filter(a=>i.indexOf(a)<0)},defocus(e){const t=this.internal,{state:s}=t,i=t.mapToTargetIds(e);t.$el.svg.selectAll(t.selectorTargets(i.filter(t.isTargetToShow,t))).classed(q.focused,!1).classed(q.defocused,!0),t.hasArcType(null,["polar"])&&(t.unexpandArc(i),t.hasType("gauge")&&t.undoMarkOverlapped(t,`.${_t.gaugeValue}`)),t.toggleFocusLegend(i,!1),s.focusedTargetIds=s.focusedTargetIds.filter(a=>i.indexOf(a)<0),s.defocusedTargetIds=i},revert(e){const t=this.internal,{config:s,state:i,$el:n}=t,a=t.mapToTargetIds(e);n.svg.selectAll(t.selectorTargets(a)).classed(q.focused,!1).classed(q.defocused,!1),t.hasArcType(null,["polar"])&&t.unexpandArc(a),s.legend_show&&(t.showLegend(a.filter(t.isLegendToShow.bind(t))),n.legend.selectAll(t.selectorLegends(a)).filter(function(){return(0,S.select)(this).classed(q.legendItemFocused)}).classed(q.legendItemFocused,!1)),i.focusedTargetIds=[],i.defocusedTargetIds=[]}},ya={legend:{show:function(e){const t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},hide:function(e){const t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})}}},ba={load(e){const t=this.internal,{config:s}=t;e.xs&&t.addXs(e.xs),"names"in e&&this.data.names(e.names),"classes"in e&&Object.keys(e.classes).forEach(i=>{s.data_classes[i]=e.classes[i]}),"categories"in e&&t.axis.isCategorized()&&(s.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(i=>{s.data_axes[i]=e.axes[i]}),"colors"in e&&Object.keys(e.colors).forEach(i=>{s.data_colors[i]=e.colors[i]}),"unload"in e&&e.unload!==!1?t.unload(t.mapToTargetIds(e.unload===!0?null:e.unload),()=>{es(()=>t.loadFromArgs(e))}):t.loadFromArgs(e)},unload(e){const t=this.internal;let s=e||{};Tt(s)&&this.tooltip.hide(),N(s)?s={ids:s}:V(s)&&(s={ids:[s]});const i=t.mapToTargetIds(s.ids);t.unload(i,()=>{t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),t.cache.remove(i),ys.call(t,s.done,s.resizeAfter)})}};function Ss(e,t,s){const i=this.internal,n=i.mapToTargetIds(t),a=i.state.hiddenTargetIds.map(l=>n.indexOf(l)>-1&&l).filter(Boolean);i.state.toggling=!0,i[`${e?"remove":"add"}HiddenTargetIds`](n);const o=i.$el.svg.selectAll(i.selectorTargets(n)),r=e?null:"0";e&&a.length&&(o.style("display",null),K(i.config.data_onshown,this,a)),i.$T(o).style("opacity",r,"important").call(me,()=>{var l;!e&&a.length===0&&(o.style("display","none"),K((l=i.config)==null?void 0:l.data_onhidden,this,n)),o.style("opacity",r)}),s.withLegend&&i[`${e?"show":"hide"}Legend`](n),i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),i.state.toggling=!1}var va={show(e,t={}){Ss.call(this,!0,e,t)},hide(e,t={}){Ss.call(this,!1,e,t)},toggle(e,t={}){const s=this.internal,i={show:[],hide:[]};s.mapToTargetIds(e).forEach(n=>i[s.isTargetToShow(n)?"hide":"show"].push(n)),i.show.length&&this.show(i.show,t),i.hide.length&&setTimeout(()=>this.hide(i.hide,t),0)}},Ta={tooltip:{show:function(e){var t,s,i;const n=this.internal,{$el:a,config:o,state:{eventReceiver:r,hasFunnel:l,hasTreemap:c,inputType:u}}=n;let d,h;if(e.mouse&&(h=e.mouse),e.data){const{data:g}=e,f=(t=n.getYScaleById(g.id))==null?void 0:t(g.value);if((l||c)&&g.id){const p=n.selectorTarget(g.id,void 0,`.${st.shape}`);r.rect=a.main.select(p)}else n.isMultipleX()?h=[n.xx(g),f]:(o.tooltip_grouped||(h=[0,f]),d=(i=g.index)!=null?i:n.hasArcType()&&g.id?(s=n.getArcElementByIdOrIndex(g.id))==null?void 0:s.datum().index:n.getIndexByX(g.x))}else W(e.x)?d=n.getIndexByX(e.x):W(e.index)&&(d=e.index);(u==="mouse"?["mouseover","mousemove"]:["touchstart"]).forEach(g=>{n.dispatchEvent(g,d,h)})},hide:function(){var e,t,s;const i=this.internal,{state:{inputType:n},$el:{tooltip:a}}=i,o=a==null?void 0:a.datum();if(o){const{index:r}=JSON.parse(o.current)[0];(n==="mouse"?["mouseout"]:["touchend"]).forEach(l=>{i.dispatchEvent(l,r)})}n==="touch"&&i.callOverOutForTouch(),i.hideTooltip(!0),(e=i.hideGridFocus)==null||e.call(i),(t=i.unexpandCircles)==null||t.call(i),(s=i.expandBarTypeShapes)==null||s.call(i,!1)}}},Aa=Object.defineProperty,wa=(e,t,s)=>t in e?Aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Rs=(e,t,s)=>wa(e,typeof t!="symbol"?t+"":t,s);class Xt{constructor(t){Rs(this,"plugins",[]),Rs(this,"internal");const s=new jt(this);this.internal=s,function i(n,a,o){Object.keys(n).forEach(r=>{const l=P(n[r]),c=a!==o,u=nt(n[r]),d=u&&Object.keys(n[r]).length>0;l&&(!c&&d||c)?a[r]=n[r].bind(o):u&&!l?a[r]={}:a[r]=n[r],d&&i(n[r],a[r],o)})}(Xt.prototype,this,this),ca.call(s,t),s.beforeInit(),s.init()}}ct(Xt.prototype,[da,ua,ha,ma,$a,ya,ba,va,Ta]);function Cs(e=!1,t,s,i){const n=this,{config:a,$el:{main:o}}=n,r=a.data_selection_grouped,l=a.data_selection_isselectable.bind(n.api);a.data_selection_enabled&&o.selectAll(`.${st.shapes}`).selectAll(`.${st.shape}`).each(function(c){const u=(0,S.select)(this),{id:d,index:h}=c.data?c.data:c,g=n.getToggle(this,c).bind(n),f=r||!t||t.indexOf(d)>=0,p=!s||s.indexOf(h)>=0,_=u.classed(J.SELECTED);u.classed(kt.line)||u.classed(fe.area)||(e?f&&p&&l(c)&&!_?g(!0,u.classed(J.SELECTED,!0),c,h):W(i)&&i&&_&&g(!1,u.classed(J.SELECTED,!1),c,h):f&&p&&l(c)&&_&&g(!1,u.classed(J.SELECTED,!1),c,h))})}var Sa={selected(e){const t=this.internal,s=[];return t.$el.main.selectAll(`.${st.shapes+t.getTargetSelectorSuffix(e)}`).selectAll(`.${st.shape}`).filter(function(){return(0,S.select)(this).classed(J.SELECTED)}).each(i=>s.push(i)),s},select(e,t,s){const i=this.internal;Cs.bind(i)(!0,e,t,s)},unselect(e,t){const s=this.internal;Cs.bind(s)(!1,e,t)}};const Es=function(e){var t;const s=this.internal,{axis:i,brush:n,config:a,scale:{x:o,subX:r},state:l}=s;let c;return a.subchart_show&&(c=e,Array.isArray(c)?(i.isTimeSeries()&&(c=c.map(d=>mt.bind(s)(d))),s.withinRange(c,s.getZoomDomain("subX",!0),s.getZoomDomain("subX"))&&(l.domain=c,n.move(n.getSelection(),c.map(r)))):c=(t=l.domain)!=null?t:o.orgDomain()),c};ct(Es,{show(){var e,t;const s=this.internal,{$el:{subchart:i},config:n}=s,a=n.subchart_show;if(!a){s.unbindZoomEvent(),n.subchart_show=!a,!i.main&&s.initSubchart();let o=i.main.selectAll(`.${z.target}`);s.data.targets.length!==o.size()&&(s.updateSizes(),s.updateTargetsForSubchart(s.data.targets),o=(e=i.main)==null?void 0:e.selectAll(`.${z.target}`)),o==null||o.style("opacity",null),(t=i.main)==null||t.style("display",null),this.resize()}},hide(){const e=this.internal,{$el:{subchart:{main:t}},config:s}=e;s.subchart_show&&(t==null?void 0:t.style("display"))!=="none"&&(s.subchart_show=!1,t.style("display","none"),this.resize())},toggle(){const e=this.internal,{config:t}=e;this.subchart[t.subchart_show?"hide":"show"]()},reset(){const e=this.internal,{brush:t}=e;t.clear(t.getSelection())}});var Ra={subchart:Es},St=U(10);const ks=function(e){var t;const s=this.internal,{axis:i,config:n,org:a,scale:o,state:r}=s,l=i.isCategorized();let c;if(n.zoom_enabled)if(c=e,Array.isArray(c)){if(i.isTimeSeries()&&(c=c.map(d=>mt.bind(s)(d))),s.withinRange(c,s.getZoomDomain("zoom",!0),s.getZoomDomain("zoom"))){if(r.domain=c,c=s.getZoomDomainValue(c),s.api.tooltip.hide(),n.subchart_show){const d=o.zoom||o.x;s.brush.getSelection().call(s.brush.move,c.map(d))}else{const d=l?o.x.orgScale():a.xScale||o.x;s.updateCurrentZoomTransform(d,c)}s.setZoomResetButton()}}else c=s.zoom.getDomain();return(t=r.domain)!=null?t:c};ct(ks,{enable(e){const t=this.internal,{config:s}=t;/^(drag|wheel)$/.test(e)&&(s.zoom_type=e),s.zoom_enabled=!!e,t.zoom?e===!1&&t.bindZoomEvent(!1):(t.initZoom(),t.bindZoomEvent()),t.updateAndRedraw()},max(e){const t=this.internal,{config:s,org:{xDomain:i}}=t;return(e===0||e)&&(s.zoom_x_max=At("max",[i[1],e])),s.zoom_x_max},min(e){const t=this.internal,{config:s,org:{xDomain:i}}=t;return(e===0||e)&&(s.zoom_x_min=At("min",[i[0],e])),s.zoom_x_min},range(e){const t=this.zoom;if(X(e)){const{min:s,max:i}=e;W(s)&&t.min(s),W(i)&&t.max(i)}return{min:t.min(),max:t.max()}}});var Ca={zoom:ks,unzoom(){const e=this.internal,{config:t,$el:{eventRect:s,zoomResetBtn:i},scale:{zoom:n},state:a}=e;n&&(t.subchart_show?e.brush.getSelection().call(e.brush.move,null):e.zoom.updateTransformScale(St.zoomIdentity),e.updateZoom(!0),i==null||i.style("display","none"),(0,St.zoomTransform)(s.node())!==St.zoomIdentity&&e.zoom.transform(s,St.zoomIdentity),a.domain=void 0)}},Ea={initBrush(){const e=this,{config:t,scale:s,$el:{subchart:i},state:n}=e,a=t.axis_rotated,o=t.subchart_size_height;let r,l,c;e.brush=(a?(0,xe.brushY)():(0,xe.brushX)()).handleSize(5),e.brush.on("start brush end",u=>{const{selection:d,sourceEvent:h,target:g,type:f}=u;f==="start"&&(e.state.inputType==="touch"&&e.hideTooltip(),l=h?d:null),/(start|brush)/.test(f)&&(f==="brush"&&h&&n.domain&&(l==null||l.forEach((p,_)=>{p!==d[_]&&(n.domain[_]=s.x.orgDomain()[_])})),e.redrawForBrush(f!=="start")),f==="end"&&(r=s.x.orgDomain()),g!=null&&g.handle&&(d===null?e.brush.handle.attr("display","none"):e.brush.handle.attr("display",null).attr("transform",(p,_)=>{const x=[d[_],o/2];return`translate(${a?x.reverse():x})`}))}),e.brush.updateResize=function(){c&&clearTimeout(c),c=setTimeout(()=>{const u=this.getSelection();r&&(0,xe.brushSelection)(u.node())&&this.move(u,r.map(s.subX.orgScale()))},0)},e.brush.update=function(){var u;return this.extent()()[1].filter(h=>isNaN(h)).length===0&&((u=i.main)==null||u.select(`.${B.brush}`).call(this)),this},e.brush.scale=function(u){const d=t.subchart_size_height;let h=e.getExtent();!h&&u.range?h=[[0,0],[u.range()[1],d]]:N(h)&&(h=h.map((g,f)=>[g,f>0?d:f])),a&&h[1].reverse(),this.extent(h),this.update()},e.brush.getSelection=()=>i.main?i.main.select(`.${B.brush}`):(0,S.select)([])},initSubchart(){const e=this,{config:t,state:{clip:s,hasAxis:i},$el:{defs:n,svg:a,subchart:o,axis:r}}=e;if(!i)return;const l=t.subchart_show?null:"hidden",c=`${s.id}-subchart`,u=e.getClipPath(c);s.idSubchart=c,e.appendClip(n,c),e.initBrush(),o.main=a.append("g").classed(B.subchart,!0).attr("transform",e.getTranslate("context"));const{main:d}=o;d.style("visibility",l),d.append("g").attr("clip-path",u).attr("class",B.chart),["bar","line","bubble","candlestick","scatter"].forEach(g=>{const f=ft(/^(bubble|scatter)$/.test(g)?"circle":g);if(e.hasType(g)||e.hasTypeOf(f)){const p=d.select(`.${B.chart}`),_=B[`chart${f}s`];p.select(`.${_}`).empty()&&p.append("g").attr("class",_)}});const h=d.append("g").attr("clip-path",u).attr("class",B.brush).call(e.brush);t.subchart_showHandle&&e.addBrushHandle(h),r.subX=d.append("g").attr("class",B.axisX).attr("transform",e.getTranslate("subX")).attr("clip-path",t.axis_rotated?"":s.pathXAxis).style("visibility",t.subchart_axis_x_show?l:"hidden")},addBrushHandle(e){const t=this,{config:s}=t,i=s.axis_rotated,n=s.subchart_init_range,a="handle--custom",o=i?["M8.5 0 a6 6 0 0 0 -6 -6.5 H-2.5 a 6 6 0 0 0 -6 6.5 z m-5 -2 H-3.5 m7 -2 H-3.5z","M8.5 0 a6 -6 0 0 1 -6 6.5 H-2.5 a 6 -6 0 0 1 -6 -6.5z m-5 2 H-3.5 m7 2 H-3.5z"]:["M0 -8.5 A6 6 0 0 0 -6.5 -3.5 V2.5 A6 6 0 0 0 0 8.5 Z M-2 -3.5 V3.5 M-4 -3.5 V3.5z","M0 -8.5 A6 6 0 0 1 6.5 -3.5 V2.5 A6 6 0 0 1 0 8.5 Z M2 -3.5 V3.5 M4 -3.5 V3.5z"];t.brush.handle=e.selectAll(`.${a}`).data(i?[{type:"n"},{type:"s"}]:[{type:"w"},{type:"e"}]).enter().append("path").attr("class",a).attr("cursor",`${i?"ns":"ew"}-resize`).attr("d",r=>o[+/[se]/.test(r.type)]).attr("display",n?null:"none")},updateTargetsForSubchart(e){const t=this,{config:s,state:i,$el:{subchart:{main:n}}}=t;s.subchart_show&&(["bar","line","bubble","candlestick","scatter"].filter(a=>t.hasType(a)||t.hasTypeOf(ft(a))).forEach(a=>{const o=/^(bubble|scatter)$/.test(a),r=ft(o?"circle":a),l=t.getChartClass(r,!0),c=t.getClass(o?"circles":`${a}s`,!0),u=n.select(`.${B[`chart${`${r}s`}`]}`);if(o){const d=u.selectAll(`.${B.circles}`).data(e.filter(t[`is${ft(a)}Type`].bind(t))).attr("class",c);d.exit().remove(),d.enter().append("g").attr("class",c)}else{const d=u.selectAll(`.${B[`chart${r}`]}`).attr("class",l).data(e.filter(t[`is${r}Type`].bind(t))),h=d.enter().append("g").style("opacity","0").attr("class",l).append("g").attr("class",c);d.exit().remove(),a==="line"&&t.hasTypeOf("Area")&&h.append("g").attr("class",t.getClass("areas",!0))}}),n.selectAll(`.${B.brush} rect`).attr(s.axis_rotated?"width":"height",s.axis_rotated?i.width2:i.height2))},redrawSubchart(e,t,s){var i;const n=this,{config:a,$el:{subchart:{main:o}},state:r}=n,l=!!t;if(o.style("visibility",a.subchart_show?null:"hidden"),a.subchart_show&&(((i=r.event)==null?void 0:i.type)==="zoom"&&n.brush.update(),e)){const c=a.subchart_init_range;if(!ls(n)&&n.brush.update(),Object.keys(s.type).forEach(u=>{const d=ft(u),h=n[`generateDraw${d}`](s.indices[u],!0);n[`update${d}`](l,!0),n[`redraw${d}`](h,l,!0)}),n.hasType("bubble")||n.hasType("scatter")){const{cx:u}=s.pos,d=n.updateCircleY(!0);n.updateCircle(!0),n.redrawCircle(u,d,l,void 0,!0)}!r.rendered&&c&&(r.domain=c,n.brush.move(n.brush.getSelection(),c.map(n.scale.x)))}},redrawForBrush(e=!0){var t;const s=this,{config:{subchart_onbrush:i,zoom_rescale:n},scale:a,state:o}=s;s.redraw({withTransition:!1,withY:n,withSubchart:!1,withUpdateXDomain:!0,withDimension:!1}),e&&o.rendered&&i.bind(s.api)((t=o.domain)!=null?t:a.x.orgDomain())},transformContext(e,t){const s=this,{$el:{subchart:i},$T:n}=s,a=t!=null&&t.axisSubX?t.axisSubX:n(i.main.select(`.${B.axisX}`),e);i.main.attr("transform",s.getTranslate("context")),a.attr("transform",s.getTranslate("subX"))},getExtent(){const e=this,{config:t,scale:s}=e;let i=t.axis_x_extent;if(i){if(P(i))i=i.bind(e.api)(e.getXDomain(e.data.targets),s.subX);else if(e.axis.isTimeSeries()&&i.every(isNaN)){const n=mt.bind(e);i=i.map(a=>s.subX(n(a)))}}return i}},ka={initZoom(){const e=this;e.scale.zoom=null,e.generateZoom(),e.initZoomBehaviour()},bindZoomEvent(e=!0){const t=this,{config:s}=t;s.zoom_enabled&&e?!s.subchart_show&&t.bindZoomOnEventRect():e===!1&&(t.api.unzoom(),t.unbindZoomEvent())},generateZoom(){const e=this,{config:t,org:s,scale:i}=e,n=(0,St.zoom)().duration(0).on("start",e.onZoomStart.bind(e)).on("zoom",e.onZoom.bind(e)).on("end",e.onZoomEnd.bind(e));n.orgScaleExtent=()=>{const a=t.zoom_extent||[1,10];return[a[0],Math.max(e.getMaxDataCount()/a[1],a[1])]},n.updateScaleExtent=function(){const a=Nt(e.scale.x.orgDomain())/Nt(e.getZoomDomain()),o=this.orgScaleExtent();return this.scaleExtent([o[0]*a,o[1]*a]),this},n.updateTransformScale=(a,o)=>{var r;const l=t.axis_rotated;(r=s.xScale)==null||r.range(i.x.range());const c=a[l?"rescaleY":"rescaleX"](s.xScale||i.x),u=e.trimXDomain(c.domain()),d=t.zoom_rescale;if(c.domain(u,s.xDomain),o){const h=c(i.x.domain()[0]),g=l?a.x:h,f=l?h:a.y;e.$el.eventRect.property("__zoom",St.zoomIdentity.translate(g,f).scale(a.k))}e.state.xTickOffset||(e.state.xTickOffset=e.axis.x.tickOffset()),i.zoom=e.getCustomizedXScale(c),e.axis.x.scale(i.zoom),d?(!s.xScale&&(s.xScale=i.x.copy()),i.x.domain(u)):s.xScale&&(i.x.domain(s.xScale.domain()),s.xScale=null)},n.getDomain=()=>{const a=i[i.zoom?"zoom":"subX"].domain();return e.axis.isCategorized()&&(a[1]-=2),a},e.zoom=n},onZoomStart(e){const t=this,{sourceEvent:s}=e;s&&(t.zoom.startEvent=s,t.state.zooming=!0,K(t.config.zoom_onzoomstart,t.api,e))},onZoom(e){var t;const s=this,{config:i,scale:n,state:a,org:o}=s,{sourceEvent:r}=e,l=(e==null?void 0:e.transform)===St.zoomIdentity;if(!i.zoom_enabled||s.filterTargetsToShow(s.data.targets).length===0||!n.zoom&&(r==null?void 0:r.type.indexOf("touch"))>-1&&(r==null?void 0:r.touches.length)===1)return;e.sourceEvent&&(a.zooming=!0,a.domain=void 0);const c=(r==null?void 0:r.type)==="mousemove",u=(r==null?void 0:r.wheelDelta)<0,{transform:d}=e;!c&&u&&n.x.domain().every((g,f)=>g!==o.xDomain[f])&&n.x.domain(o.xDomain),s.zoom.updateTransformScale(d,i.zoom_type==="wheel"&&r);const h=i.transition_duration>0&&!i.subchart_show&&(a.dragging||l||!e.sourceEvent);s.redraw({withTransition:h,withY:i.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),s.state.cancelClick=c,!l&&K(i.zoom_onzoom,s.api,(t=s.state.domain)!=null?t:s.zoom.getDomain())},onZoomEnd(e){var t,s;const i=this,{config:n,state:a}=i;let{startEvent:o}=i.zoom,r=e==null?void 0:e.sourceEvent;const l=(e==null?void 0:e.transform)===St.zoomIdentity;(o==null?void 0:o.type.indexOf("touch"))>-1&&(o=o.changedTouches[0],r=(t=r==null?void 0:r.changedTouches)==null?void 0:t[0]),!(n.zoom_type==="drag"&&r&&o.clientX===r.clientX&&o.clientY===r.clientY)&&(a.zooming=!1,i.redrawEventRect(),i.updateZoom(),!l&&(r||a.dragging)&&K(n.zoom_onzoomend,i.api,(s=i.state.domain)!=null?s:i.zoom.getDomain()))},updateZoom(e){const t=this,{subX:s,x:i,zoom:n}=t.scale;if(n){const a=n.domain(),o=s.domain(),r=.015,l=t.config.axis_x_inverted?(a[0]>=o[0]||a[0]+r>=o[0])&&(o[1]>=a[1]||o[1]>=a[1]+r):(a[0]<=o[0]||a[0]-r<=o[0])&&(o[1]<=a[1]||o[1]<=a[1]-r);(e||l)&&(t.axis.x.scale(s),i.domain(s.orgDomain()),t.scale.zoom=null)}},updateCurrentZoomTransform(e,t){const s=this,{$el:{eventRect:i},config:n}=s,a=n.axis_rotated,o=[-e(t[0]),0],r=St.zoomIdentity.scale(e.range()[1]/(e(t[1])-e(t[0]))).translate(...a?o.reverse():o);i.call(s.zoom.transform,r)},bindZoomOnEventRect(){const e=this,{config:t,$el:{eventRect:s,svg:i}}=e,n=t.zoom_type==="drag"?e.zoomBehaviour:e.zoom;H.GestureEvent&&/^((?!chrome|android|mobile).)*safari/i.test(navigator.userAgent)&&i.on("wheel",()=>{}),s==null||s.call(n).on("dblclick.zoom",null)},initZoomBehaviour(){const e=this,{config:t,state:s}=e,i=t.axis_rotated;let n=0,a=0,o;const r={axis:i?"y":"x",attr:i?"height":"width",index:i?1:0};e.zoomBehaviour=(0,bs.drag)().clickDistance(4).on("start",function(l){s.event=l,e.setDragStatus(!0),e.unselectRect(),o||(o=e.$el.main.append("rect").attr("clip-path",s.clip.path).attr("class",Ee.zoomBrush).attr("width",i?s.width:0).attr("height",i?0:s.height)),n=$t(l,this)[r.index],a=n,o.attr(r.axis,n).attr(r.attr,0),e.onZoomStart(l)}).on("drag",function(l){a=$t(l,this)[r.index],o.attr(r.axis,Math.min(n,a)).attr(r.attr,Math.abs(a-n))}).on("end",l=>{const c=e.scale.zoom||e.scale.x;s.event=l,o.attr(r.axis,0).attr(r.attr,0),n>a&&([n,a]=[a,n]),n<0&&(a+=Math.abs(n),n=0),n!==a&&e.api.zoom([n,a].map(u=>c.invert(u))),e.setDragStatus(!1)})},setZoomResetButton(){const e=this,{config:t,$el:s}=e,i=t.zoom_resetButton;i&&t.zoom_type==="drag"&&(s.zoomResetBtn?s.zoomResetBtn.style("display",null):s.zoomResetBtn=e.$el.chart.append("div").classed(z.button,!0).append("span").on("click",function(){P(i.onclick)&&i.onclick.bind(e.api)(this),e.api.unzoom()}).classed(Ee.buttonZoomReset,!0).text(i.text||"Reset Zoom"))},getZoomTransform(){const e=this,{$el:{eventRect:t}}=e;return t!=null&&t.node()?(0,St.zoomTransform)(t.node()):{k:1}}},La={drag(e){const t=this,{config:s,state:i,$el:{main:n}}=t,a=s.data_selection_grouped,o=s.interaction_enabled&&s.data_selection_isselectable;if(t.hasArcType()||!s.data_selection_enabled||s.zoom_enabled&&!t.zoom.altDomain||!s.data_selection_multiple)return;const[r,l]=i.dragStart||[0,0],[c,u]=e,d=Math.min(r,c),h=Math.max(r,c),g=a?i.margin.top:Math.min(l,u),f=a?i.height:Math.max(l,u);n.select(`.${Bt.dragarea}`).attr("x",d).attr("y",g).attr("width",h-d).attr("height",f-g),n.selectAll(`.${st.shapes}`).selectAll(`.${st.shape}`).filter(p=>o==null?void 0:o.bind(t.api)(p)).each(function(p,_){const x=(0,S.select)(this),m=x.classed(J.SELECTED),$=x.classed(Bt.INCLUDED);let b=!1,A;if(x.classed(ut.circle)){const y=+x.attr("cx")*1,v=+x.attr("cy")*1;A=t.togglePoint,b=dt in e?Pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Fa=(e,t)=>{for(var s in t||(t={}))Da.call(t,s)&&Ps(e,s,t[s]);if(Ls)for(var s of Ls(t))za.call(t,s)&&Ps(e,s,t[s]);return e},Ma=(e,t)=>Oa(e,Ia(t)),Xa=Ma(Fa({},La),{selectPoint(e,t,s){const i=this,{config:n,$el:{main:a},$T:o}=i,r=n.axis_rotated,l=(r?i.circleY:i.circleX).bind(i),c=(r?i.circleX:i.circleY).bind(i),u=i.pointSelectR.bind(i);K(n.data_onselected,i.api,t,e.node()),o(a.select(`.${J.selectedCircles}${i.getTargetSelectorSuffix(t.id)}`).selectAll(`.${J.selectedCircle}-${s}`).data([t]).enter().append("circle").attr("class",()=>i.generateClass(J.selectedCircle,s)).attr("cx",l).attr("cy",c).attr("stroke",i.color).attr("r",d=>i.pointSelectR(d)*1.4)).attr("r",u)},unselectPoint(e,t,s){const i=this,{config:n,$el:{main:a},$T:o}=i;K(n.data_onunselected,i.api,t,e==null?void 0:e.node()),o(a.select(`.${J.selectedCircles}${i.getTargetSelectorSuffix(t.id)}`).selectAll(`.${J.selectedCircle}-${s}`)).attr("r",0).remove()},togglePoint(e,t,s,i){this[`${e?"":"un"}selectPoint`](t,s,i)},selectPath(e,t){const s=this,{config:i}=s;K(i.data_onselected,s.api,t,e.node()),i.interaction_brighten&&e.style("filter","brightness(1.25)")},unselectPath(e,t){const s=this,{config:i}=s;K(i.data_onunselected,s.api,t,e.node()),i.interaction_brighten&&e.style("filter",null)},togglePath(e,t,s,i){this[`${e?"":"un"}selectPath`](t,s,i)},getToggle(e,t){const s=this;return e.nodeName==="path"?s.togglePath:s.isStepType(t)?()=>{}:s.togglePoint},toggleShape(e,t,s){var i;const n=this,{config:a,$el:{main:o}}=n;if(a.data_selection_enabled&&a.data_selection_isselectable.bind(n.api)(t)){const r=(0,S.select)(e),l=r.classed(J.SELECTED),c=n.getToggle(e,t).bind(n);let u;if(!a.data_selection_multiple){const d=(i=n.isPointFocusOnly)==null?void 0:i.call(n);let h=`.${d?J.selectedCircles:st.shapes}`;a.data_selection_grouped&&(h+=n.getTargetSelectorSuffix(t.id)),o.selectAll(h).selectAll(d?`.${J.selectedCircle}`:`.${st.shape}.${J.SELECTED}`).classed(J.SELECTED,!1).each(function(g){const f=(0,S.select)(this);u=f,c(!1,f,g,g.index)})}(!u||u.node()!==r.node())&&(r.classed(J.SELECTED,!l),c(!l,r,t,s))}}}),Ba={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},Na={subchart_show:!1,subchart_showHandle:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_axis_x_tick_show:!0,subchart_axis_x_tick_format:void 0,subchart_axis_x_tick_text_show:!0,subchart_init_range:void 0,subchart_onbrush:()=>{}},Ga={zoom_enabled:!1,zoom_type:"wheel",zoom_extent:void 0,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:void 0,zoom_onzoomstart:void 0,zoom_onzoomend:void 0,zoom_resetButton:!0,zoom_x_min:void 0,zoom_x_max:void 0};let Os=()=>(ct(jt.prototype,Xa),ct(Xt.prototype,Sa),Vt.setOptions([Ba]),(Os=()=>!0)()),Is=()=>(ct(jt.prototype,Ea),ct(Xt.prototype,Ra),Vt.setOptions([Na]),(Is=()=>!0)()),Ds=()=>(ct(jt.prototype,ka),ct(Xt.prototype,Ca),Vt.setOptions([Ga]),(Ds=()=>!0)());function zs(e,t,s){const{config:i}=e,n=(a,o)=>{const r=L(o)?o:o===!1?void 0:null;r!==null&&(i[`axis_${a}_${t}`]=r)};W(s)&&(wt(s)?Object.keys(s).forEach(a=>{n(a,s[a])}):(L(s)||s===!1)&&["y","y2"].forEach(a=>{n(a,s)}),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))}function Fs(e,t){const{config:s}=e;return{x:s[`axis_x_${t}`],y:s[`axis_y_${t}`],y2:s[`axis_y2_${t}`]}}var Va={axis:{labels:function(e){const t=this.internal;let s;return e&&(Object.keys(e).forEach(i=>{t.axis.setLabelText(i,e[i])}),t.axis.updateLabels()),["x","y","y2"].forEach(i=>{const n=t.axis.getLabelText(i);n&&(!s&&(s={}),s[i]=n)}),s},min:function(e){const t=this.internal;return F(e)||e===!1?zs(t,"min",e):Fs(t,"min")},max:function(e){const t=this.internal;return F(e)||e===!1?zs(t,"max",e):Fs(t,"max")},range:function(e){const{axis:t}=this;if(arguments.length){const{min:s,max:i}=e;W(i)&&t.max(i),W(s)&&t.min(s)}else return{max:t.max(),min:t.min()}}}},Ya={category(e,t){const s=this.internal,{config:i}=s;return arguments.length>1&&(i.axis_x_categories[e]=t,s.redraw()),i.axis_x_categories[e]},categories(e){const t=this.internal,{config:s}=t;if(!e||!Array.isArray(e)){const i=s.axis_x_categories;return Tt(i)?Object.values(t.data.xs)[0]:i}return s.axis_x_categories=e,t.redraw(),s.axis_x_categories}},ja={flow(e){const t=this.internal;let s;(e.json||e.rows||e.columns)&&t.convertData(e,n=>{s=n,i()});function i(){let n,a=0,o=0,r,l;if(t.state.redrawing||!s||!ce())return;const c=[],u=t.getMaxDataCount(),d=t.convertDataToTargets(s,!0),h=t.axis.isTimeSeries();t.data.targets.forEach(p=>{let _=!1;for(let x=0;x{for(let _=0;_{const _=[];for(let x=t.data.targets[0].values[0].index;x{x.index+=o,h||(x.x+=o)}),p.values=_.concat(p.values)}),t.data.targets=t.data.targets.concat(d);const g=t.data.targets[0],f=g.values[0];W(e.to)?(a=0,l=h?mt.call(t,e.to):e.to,g.values.forEach(p=>{p.x1?g.values[g.values.length-1].x-f.x:f.x-t.getXDomain(t.data.targets)[0]:r=1,n=[f.x-r,f.x]),n&&t.updateXDomain(null,!0,!0,!1,n),t.updateTargets(t.data.targets),t.redraw({flow:{index:f.index,length:a,duration:F(e.duration)?e.duration:t.config.transition_duration,done:e.done,orgDataCount:u},withLegend:!0,withTransition:u>1,withTrimXDomain:!1,withUpdateXAxis:!0})}}};function Ge(e,t){const s=this.internal,{config:i}=s,n=i.transition_duration&&ce(),a=`grid_${t}_lines`;return e&&(i[a]=e,s.updateGrid(),s.redrawGrid(n)),i[a]}function Ms(e,t){const s=`grid_${t}_lines`;return Ge.bind(this)(this.internal.config[s].concat(e||[]),t)}function Xs(e,t){this.internal.removeGridLines(e,t)}const Bs=function(e){return Ge.bind(this)(e,"x")};ct(Bs,{add(e){return Ms.bind(this)(e,"x")},remove(e){return Xs.bind(this)(e,!0)}});const Ns=function(e){return Ge.bind(this)(e,"y")};ct(Ns,{add(e){return Ms.bind(this)(e,"y")},remove(e){return Xs.bind(this)(e,!1)}});var Ha={xgrids:Bs,ygrids:Ns},Wa={groups(e){const t=this.internal,{config:s}=t;return it(e)||(s.data_groups=e,t.redraw()),s.data_groups}};function Gs(e,t=!1){const s=this.internal,{config:i}=s,n=i.transition_duration&&ce();return e?(i.regions=t?i.regions.concat(e):e,s.updateRegion(),s.redrawRegion(n),t?i.regions:e):i.regions}const Vs=function(e){return Gs.bind(this)(e)};ct(Vs,{add:function(e){return Gs.bind(this)(e,!0)},remove:function(e){const t=this.internal,{config:s,$T:i}=t,n=e||{},a=zt(n,"classes",[re.region]);let o=t.$el.main.select(`.${re.regions}`).selectAll(a.map(r=>`.${r}`));return i(o).style("opacity","0").remove(),o=s.regions,Object.keys(n).length?(o=o.filter(r=>{let l=!1;return r.class?(r.class.split(" ").forEach(c=>{a.indexOf(c)>=0&&(l=!0)}),!l):!0}),s.regions=o):s.regions=[],o}});var Ua={regions:Vs},Za={x(e){const t=this.internal,{axis:s,data:i}=t,n=s.isCustomX()&&s.isCategorized();return N(e)&&(n?this.categories(e):(t.updateTargetX(i.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))),n?this.categories():i.xs},xs(e){const t=this.internal;return X(e)&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs}},Jt=U(11),qa=Object.defineProperty,Ka=(e,t,s)=>t in e?qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ve=(e,t,s)=>Ka(e,typeof t!="symbol"?t+"":t,s);class Ys{constructor(t){Ve(this,"owner"),Ve(this,"config"),Ve(this,"scale");const s=Yt(),{config:i,params:n}=t;this.owner=t,this.config=i,this.scale=s,(i.noTransition||!n.config.transition_duration)&&(i.withoutTransition=!0),i.range=this.scaleExtent((n.orgXScale||s).range())}static getSizeFor1Char(t){const s={w:5.5,h:11.5};return!t.empty()&&t.select("text").text("0").call(i=>{try{const{width:n,height:a}=i.node().getBBox();n&&a&&(s.w=n,s.h=a)}catch(n){}finally{i.text("")}}),this.getSizeFor1Char=()=>s,s}getTickTransformSetter(t){const{config:s}=this,i=t==="x"?n=>`translate(${n+s.tickOffset},0)`:n=>`translate(0,${n})`;return(n,a)=>{n.attr("transform",o=>F(o)?i(Math.ceil(a(o))):null)}}scaleExtent(t){const s=t[0],i=t[t.length-1];return s0?n:1,a]).range(t.range());o=l.ticks();for(let c=a.toFixed().length;o.length>15;c--)o=l.ticks(c);o.splice(0,1,n),o.splice(o.length-1,1,a)}else o=t.ticks(...this.config.tickArguments||[]);o=o.map(l=>V(l)&&L(l)&&!isNaN(l)&&Math.round(l*10)/10||l)}return o}copyScale(){const t=this.scale.copy();return t.domain().length||t.domain(this.scale.domain()),t.type=this.scale.type,t}textFormatted(t){const s=this.config.tickFormat,i=/\d+\.\d+0{5,}\d$/.test(t)?+String(t).replace(/0+\d$/,""):t,n=s?s(i):i;return W(n)?n:""}transitionise(t){const{config:s}=this;let i=t;if(s.withoutTransition)i=t.interrupt();else if(s.transition||!this.owner.params.noTransition)try{i=t.transition(s.transition)}catch(n){}return i}}var Ja=Object.defineProperty,Qa=(e,t,s)=>t in e?Ja(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,de=(e,t,s)=>Qa(e,typeof t!="symbol"?t+"":t,s);class to{constructor(t={}){de(this,"helper"),de(this,"config"),de(this,"params"),de(this,"g"),de(this,"generatedTicks");const s={innerTickSize:6,outerTickSize:t.outerTick?6:0,orient:"bottom",range:[],tickArguments:null,tickCentered:null,tickCulling:!0,tickFormat:null,tickLength:9,tickOffset:0,tickPadding:3,tickValues:null,transition:null,noTransition:t.noTransition};s.tickLength=Math.max(s.innerTickSize,0)+s.tickPadding,this.config=s,this.params=t,this.helper=new Ys(this)}create(t){const s=this,{config:i,helper:n,params:a}=s,{scale:o}=n,{orient:r}=i,l=this.splitTickText.bind(s),c=/^(left|right)$/.test(r),u=/^(top|bottom)$/.test(r),d=n.getTickTransformSetter(u?"x":"y"),h=d===n.axisX?"y":"x",g=/^(top|left)$/.test(r)?-1:1,f=a.tickTextRotate;this.config.range=o.rangeExtent?o.rangeExtent():n.scaleExtent((a.orgXScale||o).range());const{innerTickSize:p,tickLength:_,range:x}=i,m=a.id,$=m&&/^(x|y|y2)$/.test(m)?a.config[`axis_${m}_tick_text_position`]:{x:0,y:0},b=m==="subX"?"subchart_axis_x":`axis_${m}`,A=a.config[`${b}_show`],y={tick:A?a.config[`${b}_tick_show`]:!1,text:A?a.config[`${b}_tick_text_show`]:!1};let v;t.each(function(){const R=(0,S.select)(this);let w=this.__chart__||o,T=n.copyScale();v=R,this.__chart__=T,i.tickOffset=a.isCategory?Math.ceil((T(1)-T(0))/2):0;const C=R.selectAll(".domain").data([0]);if(C.enter().append("path").attr("class","domain").merge(C).attr("d",()=>{const I=i.outerTickSize*g;return u?`M${x[0]},${I}V0H${x[1]}V${I}`:`M${I},${x[0]}H0V${x[1]}H${I}`}),y.tick||y.text){const I=i.tickValues||n.generateTicks(T,c);s.generatedTicks=I;let k=R.selectAll(".tick").data(I,T);const O=k.enter().insert("g",".domain").attr("class","tick"),M=k.exit().remove();k=O.merge(k),y.tick&&O.append("line"),y.text&&O.append("text");const Y=Ys.getSizeFor1Char(k),Q=[];let rt=k.select("text").selectAll("tspan").data((at,Ct)=>{const Wt=a.tickMultiline?l(at,T,I,c,Y.w):N(n.textFormatted(at))?n.textFormatted(at).concat():[n.textFormatted(at)];return Q[Ct]=Wt.length,Wt.map(Ut=>({index:Ct,splitted:Ut}))});rt.exit().remove(),rt=rt.enter().append("tspan").merge(rt).text(at=>at.splitted),rt.attr("x",u?0:_*g).attr("dx",(()=>{let at=0;return/(top|bottom)/.test(r)&&f&&(at=8*Math.sin(Math.PI*(f/180))*(r==="top"?-1:1)),at+($.x||0)})()).attr("dy",(at,Ct)=>{const Wt=".71em";let Ut=0;return r!=="top"&&(Ut=Y.h,Ct===0&&(Ut=c?-((Q[at.index]-1)*(Y.h/2)-3):$.y===0?Wt:0)),L(Ut)&&$.y?Ut+$.y:Ut||Wt});const yt=k.select("line"),Rt=k.select("text");if(O.select("line").attr(`${h}2`,p*g),O.select("text").attr(h,_*g),s.setTickLineTextPosition(yt,Rt),a.tickTitle){const at=Rt.select("title");(at.empty()?Rt.append("title"):at).text(Ct=>a.tickTitle[Ct])}if(T.bandwidth){const at=T,Ct=at.bandwidth()/2;w=Wt=>at(Wt)+Ct,T=w}else w.bandwidth?w=T:d(M,T);k=a.owner.state.flowing?n.transitionise(k):a.owner.$T(k),d(O,w),d(k.style("opacity",null),T)}}),this.g=v}getGeneratedTicks(t){var s;const i=((s=this.generatedTicks)==null?void 0:s.length)-1;let n=this.generatedTicks;if(i>t){const a=Math.round(i/t+.1);n=this.generatedTicks.map((o,r)=>r%a===0?o:null).filter(o=>o!==null).splice(0,t)}return n}getTickXY(){const{config:t}=this,s={x:0,y:0};return this.params.isCategory&&(s.x=t.tickCentered?0:t.tickOffset,s.y=t.tickCentered?t.tickOffset:0),s}getTickSize(t){const{scale:s}=this.helper,{config:i}=this,{innerTickSize:n,range:a}=i,o=s(t)+(i.tickCentered?0:i.tickOffset);return a[0]{const p=["start","end"];return a==="top"&&p.reverse(),f?p[f>0?0:1]:"middle"},u=f=>f?`rotate(${f})`:null,d=f=>{const p=f/(a==="bottom"?15:23);return f?11.5-2.5*p*(f>0?1:-1):o},{config:{axis_rotated:h,axis_x_tick_text_inner:g}}=this.params.owner;switch(a){case"bottom":t.attr("x1",i.x).attr("x2",i.x).attr("y2",this.getTickSize.bind(this)),s.attr("x",0).attr("y",d(l)).style("text-anchor",c(l)).style("text-anchor",(f,p,{length:_})=>!h&&p===0&&(g===!0||g.first)?"start":!h&&p===_-1&&(g===!0||g.last)?"end":c(l)).attr("transform",u(l));break;case"top":t.attr("x2",0).attr("y2",-n),s.attr("x",0).attr("y",-d(l)*2).style("text-anchor",c(l)).attr("transform",u(l));break;case"left":t.attr("x2",-n).attr("y1",i.y).attr("y2",i.y),s.attr("x",-o).attr("y",r).style("text-anchor","end");break;case"right":t.attr("x2",n).attr("y2",0),s.attr("x",o).attr("y",0).style("text-anchor","start")}}splitTickText(t,s,i,n,a){const{params:o}=this,r=this.helper.textFormatted(t),l=V(r)&&r.indexOf(` `)>-1?r.split(` `):[];if(l.length)return l;if(N(r))return r;let c=o.tickWidth;(!c||c<=0)&&(c=n?95:o.isCategory?Math.ceil(o.isInverted?s(i[0])-s(i[1]):s(i[1])-s(i[0]))-12:110);function u(d,h){let g,f,p;for(let _=1;_{const g=d+1;return gt(this.helper.scale.domain());else{if(!arguments.length)return s.tickValues;s.tickValues=t}return this}setTransition(t){return this.config.transition=t,this}}var eo=Object.defineProperty,so=(e,t,s)=>t in e?eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Pt=(e,t,s)=>so(e,typeof t!="symbol"?t+"":t,s),io={getAxisInstance:function(){return this.axis||new no(this)}};class no{constructor(t){Pt(this,"owner"),Pt(this,"x"),Pt(this,"subX"),Pt(this,"y"),Pt(this,"y2"),Pt(this,"axesList",{}),Pt(this,"tick",{x:null,y:null,y2:null}),Pt(this,"xs",[]),Pt(this,"orient",{x:"bottom",y:"left",y2:"right",subX:"bottom"}),this.owner=t,this.setOrient()}getAxisClassName(t){return`${ot.axis} ${ot[`axis${ft(t)}`]}`}isHorizontal(t,s){const i=t.config.axis_rotated;return s?i:!i}isCategorized(){const{config:t,state:s}=this.owner;return t.axis_x_type.indexOf("category")>=0||s.hasRadar}isCustomX(){const{config:t}=this.owner;return!this.isTimeSeries()&&(t.data_x||nt(t.data_xs))}isTimeSeries(t="x"){return this.owner.config[`axis_${t}_type`]==="timeseries"}isLog(t="x"){return this.owner.config[`axis_${t}_type`]==="log"}isTimeSeriesY(){return this.isTimeSeries("y")}getAxisType(t="x"){let s="linear";return this.isTimeSeries(t)?s=this.owner.config.axis_x_localtime?"time":"utc":this.isLog(t)&&(s="log"),s}init(){const t=this.owner,{config:s,$el:{main:i,axis:n},state:{clip:a}}=t,o=s.axis_rotated,r=["x","y"];s.axis_y2_show&&r.push("y2"),r.forEach(l=>{const c=this.getAxisClassName(l),u=ot[`axis${l.toUpperCase()}Label`];n[l]=i.append("g").attr("class",c).attr("clip-path",()=>{let d=null;return l==="x"?d=a.pathXAxis:l==="y"&&(d=a.pathYAxis),d}).attr("transform",t.getTranslate(l)).style("visibility",s[`axis_${l}_show`]?null:"hidden"),n[l].append("text").attr("class",u).attr("transform",["rotate(-90)",null][l==="x"?+!o:+o]).style("text-anchor",()=>this.textAnchorForAxisLabel(l)),this.generateAxes(l)}),s.axis_tooltip&&this.setAxisTooltip()}setOrient(){const t=this.owner,{axis_rotated:s,axis_y_inner:i,axis_y2_inner:n}=t.config;this.orient={x:s?"left":"bottom",y:s?i?"top":"bottom":i?"right":"left",y2:s?n?"bottom":"top":n?"left":"right",subX:s?"left":"bottom"}}generateAxes(t){const s=this.owner,{config:i}=s,n=[],a=i[`axis_${t}_axes`],o=i.axis_rotated;let r;t==="x"?r=o?Jt.axisLeft:Jt.axisBottom:t==="y"?r=o?Jt.axisBottom:Jt.axisLeft:t==="y2"&&(r=o?Jt.axisTop:Jt.axisRight),a.length&&a.forEach(l=>{const c=l.tick||{},u=s.scale[t].copy();l.domain&&u.domain(l.domain),n.push(r(u).ticks(c.count).tickFormat(P(c.format)?c.format.bind(s.api):d=>d).tickValues(c.values).tickSizeOuter(c.outer===!1?0:6))}),this.axesList[t]=n}updateAxes(){const t=this.owner,{config:s,$el:{main:i},$T:n}=t;Object.keys(this.axesList).forEach(a=>{const o=s[`axis_${a}_axes`],r=t.scale[a].copy(),l=r.range();this.axesList[a].forEach((c,u)=>{const d=c.scale().range();l.every((f,p)=>f===d[p])||c.scale().range(l);const h=`${this.getAxisClassName(a)}-${u+1}`;let g=i.select(`.${h.replace(/\s/,".")}`);g.empty()?g=i.append("g").attr("class",h).style("visibility",s[`axis_${a}_show`]?null:"hidden").call(c):(o[u].domain&&r.domain(o[u].domain),n(g).call(c.scale(r))),g.attr("transform",t.getTranslate(a,u+1))})})}setAxis(t,s,i,n){const a=this.owner;t!=="subX"&&(this.tick[t]=this.getTickValues(t)),this[t]=this.getAxis(t,s,i,t==="x"&&(a.scale.zoom||a.config.subchart_show||a.state.resizing)?!0:n)}getAxis(t,s,i,n,a){const o=this.owner,{config:r}=o,l=/^(x|subX)$/.test(t),c=l?"x":t,u=l&&this.isCategorized(),d=this.orient[t],h=a?0:o.getAxisTickRotate(c);let g;if(l)g=t==="subX"?o.format.subXAxisTick:o.format.xAxisTick;else{const m=r[`axis_${t}_tick_format`];P(m)&&(g=m.bind(o.api))}let f=this.tick[c];const p=qt({outerTick:i,noTransition:n,config:r,id:t,tickTextRotate:h,owner:o},l&&{isCategory:u,isInverted:r.axis_x_inverted,tickMultiline:r.axis_x_tick_multiline,tickWidth:r.axis_x_tick_width,tickTitle:u&&r.axis_x_tick_tooltip&&o.api.categories(),orgXScale:o.scale.x});l||(p.tickStepSize=r[`axis_${c}_tick_stepSize`]);const _=new to(p).scale(l&&o.scale.zoom||s).orient(d);if(l&&this.isTimeSeries()&&f&&!P(f)){const m=mt.bind(o);f=f.map($=>m($))}else!l&&this.isTimeSeriesY()&&(_.ticks(r.axis_y_tick_time_value),f=null);f&&_.tickValues(f),_.tickFormat(g||!l&&o.isStackNormalized()&&(m=>`${m}%`)),u&&(_.tickCentered(r.axis_x_tick_centered),Tt(r.axis_x_tick_culling)&&(r.axis_x_tick_culling=!1));const x=r[`axis_${c}_tick_count`];return x&&_.ticks(x),_}updateXAxisTickValues(t,s){var i;const n=this.owner,{config:a}=n,o=a.axis_x_tick_fit;let r=a.axis_x_tick_count,l;return(o||r&&o)&&(l=n.mapTargetsToUniqueXs(t),this.isCategorized()&&r>l.length&&(r=l.length),l=this.generateTickValues(l,r,this.isTimeSeries())),s?s.tickValues(l):this.x&&(this.x.tickValues(l),(i=this.subX)==null||i.tickValues(l)),l}getId(t){const{config:s,scale:i}=this.owner;let n=s.data_axes[t];return(!n||!i[n])&&(n="y"),n}getXAxisTickFormat(t){const s=this.owner,{config:i,format:n}=s,a=t&&i.subchart_axis_x_tick_format||i.axis_x_tick_format,o=this.isTimeSeries(),r=this.isCategorized();let l;return a?P(a)?l=a.bind(s.api):o&&(l=c=>c?n.axisTime(a)(c):""):l=o?n.defaultAxisTime:r?s.categoryName:c=>c<0?c.toFixed(0):c,P(l)?c=>l.apply(s,r?[c,s.categoryName(c)]:[c]):l}getTickValues(t){const s=this.owner,i=s.config[`axis_${t}_tick_values`],n=s[`${t}Axis`];return(P(i)?i.call(s.api):i)||(n?n.tickValues():void 0)}getLabelOptionByAxisId(t){return this.owner.config[`axis_${t}_label`]}getLabelText(t){const s=this.getLabelOptionByAxisId(t);return V(s)?s:s?s.text:null}setLabelText(t,s){const i=this.owner,{config:n}=i,a=this.getLabelOptionByAxisId(t);V(a)?n[`axis_${t}_label`]=s:a&&(a.text=s)}getLabelPosition(t,s){const i=this.owner.config.axis_rotated,n=this.getLabelOptionByAxisId(t),a=wt(n)&&n.position?n.position:s[+!i],o=r=>!!~a.indexOf(r);return{isInner:o("inner"),isOuter:o("outer"),isLeft:o("left"),isCenter:o("center"),isRight:o("right"),isTop:o("top"),isMiddle:o("middle"),isBottom:o("bottom")}}getAxisLabelPosition(t){return this.getLabelPosition(t,t==="x"?["inner-top","inner-right"]:["inner-right","inner-top"])}getLabelPositionById(t){return this.getAxisLabelPosition(t)}xForAxisLabel(t){const s=this.owner,{state:{width:i,height:n}}=s,a=this.getAxisLabelPosition(t);let o=a.isMiddle?-n/2:0;return this.isHorizontal(s,t!=="x")?o=a.isLeft?0:a.isCenter?i/2:i:a.isBottom&&(o=-n),o}dxForAxisLabel(t){const s=this.owner,i=this.getAxisLabelPosition(t);let n=i.isBottom?"0.5em":"0";return this.isHorizontal(s,t!=="x")?n=i.isLeft?"0.5em":i.isRight?"-0.5em":"0":i.isTop&&(n="-0.5em"),n}textAnchorForAxisLabel(t){const s=this.owner,i=this.getAxisLabelPosition(t);let n=i.isMiddle?"middle":"end";return this.isHorizontal(s,t!=="x")?n=i.isLeft?"start":i.isCenter?"middle":"end":i.isBottom&&(n="start"),n}dyForAxisLabel(t){const s=this.owner,{config:i}=s,n=i.axis_rotated,a=this.getAxisLabelPosition(t).isInner,o=i[`axis_${t}_tick_rotate`]?s.getHorizontalAxisHeight(t):0,{width:r}=this.getMaxTickSize(t);let l;if(t==="x"){const c=i.axis_x_height;n?l=a?"1.2em":-25-r:a?l="-0.5em":c?l=c-10:o?l=o-10:l="3em"}else l={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[t],n?a?l=l[0]:o?l=o*(t==="y2"?-1:1)-l[1]:l=l[2]:l=a?l[3]:(l[4]+(i[`axis_${t}_inner`]?0:r+l[4]))*(t==="y"?-1:1);return l}getMaxTickSize(t,s){const i=this.owner,{config:n,state:{current:a},$el:{svg:o,chart:r}}=i,l=a.maxTickSize[t],c=`axis_${t}`,u={width:0,height:0};if(s||!n[`${c}_show`]||l.width>0&&i.filterTargetsToShow().length===0)return l;if(o){const d=/^y2?$/.test(t),h=i.filterTargetsToShow(i.data.targets),g=i.scale[t].copy().domain(i[`get${d?"Y":"X"}Domain`](h,t)),f=g.domain(),p=f[0]===f[1]&&f.every(y=>y>0),_=N(l.domain)&&l.domain[0]===l.domain[1]&&l.domain.every(y=>y>0);if(p||_)return l.size;l.domain=f,d||l.ticks.splice(0);const x=this.getAxis(t,g,!1,!1,!0),m=n[`${c}_tick_rotate`],$=n[`${c}_tick_count`];!n[`${c}_tick_values`]&&$&&x.tickValues(this.generateTickValues(f,$,d?this.isTimeSeriesY():this.isTimeSeries())),!d&&this.updateXAxisTickValues(h,x);const A=r.append("svg").style("visibility","hidden").style("position","fixed").style("top","0").style("left","0");x.create(A),A.selectAll("text").attr("transform",L(m)?`rotate(${m})`:null).each(function(y,v){const{width:R,height:w}=this.getBoundingClientRect();u.width=Math.max(u.width,R),u.height=Math.max(u.height,w),d||(l.ticks[v]=R)}),A.remove()}return Object.keys(u).forEach(d=>{u[d]>0&&(l[d]=u[d])}),l}getXAxisTickTextY2Overflow(t){const s=this.owner,{axis:i,config:n,state:{current:a,isLegendRight:o,legendItemWidth:r}}=s,l=s.getAxisTickRotate("x"),c=l>0&&l<90;if((i.isCategorized()||i.isTimeSeries())&&n.axis_x_tick_fit&&(!n.axis_x_tick_culling||Tt(n.axis_x_tick_culling))&&!n.axis_x_tick_multiline&&c){const u=n.axis_y2_show&&a.maxTickSize.y2.width||0,d=o&&r||0,h=a.width-s.getCurrentPaddingByDirection("left"),g=this.getXAxisTickMaxOverflow(l,h-t)-u-d,f=Math.max(0,g)+t;return Math.min(f,h/2)}return 0}getXAxisTickMaxOverflow(t,s){const i=this.owner,{axis:n,config:a,state:o}=i,r=n.isTimeSeries(),l=o.current.maxTickSize.x.ticks,c=l.length,{left:u,right:d}=o.axis.x.padding;let h=0;const g=c-(r&&a.axis_x_tick_fit?.5:0);for(let _=0;_!a[o].empty()).forEach(o=>{const r=a[o];n(r,t).attr("x",()=>this.xForAxisLabel(o)).attr("dx",()=>this.dxForAxisLabel(o)).attr("dy",()=>this.dyForAxisLabel(o)).text(()=>this.getLabelText(o))})}getPadding(t,s,i,n){const a=L(t)?t:t[s];return F(a)?this.owner.convertPixelToScale(/(bottom|top)/.test(s)?"y":"x",a,n):i}generateTickValues(t,s,i){let n=t;if(s){const a=P(s)?s():s;if(a===1)n=[t[0]];else if(a===2)n=[t[0],t[t.length-1]];else if(a>2){const o=this.isCategorized(),r=a-2,l=t[0],c=t[t.length-1],u=(c-l)/(r+1);let d;n=[l];for(let h=0;ha-o)),n}generateTransitions(t){const s=this.owner,{$el:{axis:i},$T:n}=s,[a,o,r,l]=["x","y","y2","subX"].map(c=>n(i[c],t));return{axisX:a,axisY:o,axisY2:r,axisSubX:l}}redraw(t,s,i){const n=this.owner,{config:a,$el:o}=n,r=s?"0":null;["x","y","y2","subX"].forEach(l=>{const c=this[l],u=o.axis[l];c&&u&&(!i&&!a.transition_duration&&(c.config.withoutTransition=!0),u.style("opacity",r),c.create(t[`axis${ft(l)}`]))}),this.updateAxes()}redrawAxis(t,s,i,n,a){var o,r,l;const c=this.owner,{config:u,scale:d,$el:h}=c,g=!!d.zoom;let f;!g&&this.isCategorized()&&t.length===0&&d.x.domain([0,h.axis.x.selectAll(".tick").size()]),d.x&&t.length?(!g&&c.updateXDomain(t,s.UpdateXDomain,s.UpdateOrgXDomain,s.TrimXDomain),u.axis_x_tick_values||this.updateXAxisTickValues(t)):this.x&&(this.x.tickValues([]),(o=this.subX)==null||o.tickValues([])),u.zoom_rescale&&!n&&(f=d.x.orgDomain()),["y","y2"].forEach(p=>{const _=`axis_${p}_`,x=d[p];if(x){const m=u[`${_}tick_values`],$=u[`${_}tick_count`];if(x.domain(c.getYDomain(t,p,f)),!m&&$){const b=c.axis[p],A=x.domain();b.tickValues(this.generateTickValues(A,A.every(y=>y===0)?1:$,this.isTimeSeriesY()))}}}),this.redraw(i,c.hasArcType(),a),this.updateLabels(s.Transition),(s.UpdateXDomain||s.UpdateXAxis||s.Y)&&t.length&&this.setCulling(),s.Y&&((r=d.subY)==null||r.domain(c.getYDomain(t,"y")),(l=d.subY2)==null||l.domain(c.getYDomain(t,"y2")))}setCulling(){const t=this.owner,{config:s,state:{clip:i,current:n},$el:a}=t;["subX","x","y","y2"].forEach(o=>{const r=a.axis[o],c=`axis_${o==="subX"?"x":o}_tick_culling`,u=s[c];if(r&&u){const d=r.selectAll(".tick"),h=Kt(d.data()),g=h.length,f=s[`${c}_max`],p=s[`${c}_lines`];let _;if(g){for(let x=1;x{var c,u,d;if(o[l]=(c=a[l])==null?void 0:c.append("text").classed(ot[`axis${l.toUpperCase()}Tooltip`],!0).attr("filter",s.updateTextBGColor({id:l},r)),i){const h=l==="x"?"x":"y",g=l==="y"?"1.15em":l==="x"?"-0.3em":"-0.4em";(u=o[l])==null||u.attr(h,g).attr(`d${l==="x"?"y":"x"}`,l==="x"?"0.4em":"-1.3em").style("text-anchor",l==="x"?"end":null)}else{const h=l==="x"?"y":"x",g=l==="x"?"1.15em":`${l==="y"?"-":""}0.4em`;(d=o[l])==null||d.attr(h,g).attr(`d${l==="x"?"x":"y"}`,l==="x"?"-1em":"0.3em").style("text-anchor",l==="y"?"end":null)}})}}var ao={initEventRect(){this.$el.main.select(`.${z.chart}`).append("g").attr("class",vt.eventRects).style("fill-opacity","0")},redrawEventRect(){var e;const t=this,{config:s,state:i,$el:n}=t,a=t.isMultipleX(),o=s.axis_x_inverted;if(n.eventRect)t.updateEventRect(n.eventRect,!0);else if(t.data.targets.length){const l=t.$el.main.select(`.${vt.eventRects}`).style("cursor",s.zoom_enabled&&s.zoom_type!=="drag"?s.axis_rotated?"ns-resize":"ew-resize":null).classed(vt.eventRectsMultiple,a).classed(vt.eventRectsSingle,!a).selectAll(`.${vt.eventRect}`).data([0]).enter().append("rect");t.updateEventRect(l),t.updateEventType(l),l.call(t.getDraggableSelection()),n.eventRect=l,t.state.inputType==="touch"&&!n.svg.on("touchstart.eventRect")&&!t.hasArcType()&&t.bindTouchOnEventRect(),i.rendered&&t.updateEventRect(n.eventRect,!0)}if(!a){const r=t.getMaxDataCountTarget();(!s.data_xSort||o)&&r.sort((l,c)=>o?c.x-l.x:l.x-c.x),t.updateDataIndexByX(r),t.updateXs(r),(e=t.updatePointClass)==null||e.call(t,!0),i.eventReceiver.data=r}t.updateEventRectData()},bindTouchOnEventRect(){const e=this,{config:t,state:s,$el:{eventRect:i,svg:n}}=e,a=h=>{if(e.isMultipleX())e.selectRectForMultipleXs(h);else{const g=e.getDataIndexFromEvent(s.event);e.callOverOutForTouch(g),g===-1?e.unselectRect():e.selectRectForSingle(h,g)}},o=()=>{e.unselectRect(),e.callOverOutForTouch()},r=t.interaction_inputType_touch.preventDefault,l=ke(r)&&r||!1,c=!isNaN(r)&&r||null;let u;const d=h=>{const g=h.type,p=h.changedTouches[0][`client${t.axis_rotated?"Y":"X"}`];g==="touchstart"?l?h.preventDefault():c!==null&&(u=p):g==="touchmove"&&(l||u===!0||c!==null&&Math.abs(u-p)>=c)&&(u=!0,h.preventDefault())};i.on("touchstart",h=>{s.event=h,e.updateEventRect()}).on("touchstart.eventRect touchmove.eventRect",h=>{if(s.event=h,!i.empty()&&i.classed(vt.eventRect)){if(s.dragging||s.flowing||e.hasArcType()||h.touches.length>1)return;d(h),a(i.node())}else o()},!0).on("touchend.eventRect",h=>{s.event=h,!i.empty()&&i.classed(vt.eventRect)&&(e.hasArcType()||!e.toggleShape||s.cancelClick)&&s.cancelClick&&(s.cancelClick=!1)},!0),n.on("touchstart",h=>{s.event=h;const{target:g}=h;g&&g!==i.node()&&o()})},updateEventRect(e,t=!1){const s=this,{state:i,$el:n}=s,{eventReceiver:a,width:o,height:r,rendered:l,resizing:c}=i,u=e||n.eventRect,d=()=>{if(a){const h=cs(n.chart.node());a.rect=u.node().getBoundingClientRect().toJSON(),a.rect.top+=h.y,a.rect.left+=h.x}};(!l||c||t)&&(u.attr("x",0).attr("y",0).attr("width",o).attr("height",r),(!l||t)&&u.classed(vt.eventRect,!0)),d()},updateEventType(e){const t=this,s=ke(e),i=s?t.$el.eventRect:e,n=s?e!==(i==null?void 0:i.datum().multipleX):!1;i&&(n&&(i==null||i.on("mouseover mousemove mouseout click",null)),t.isMultipleX()?t.generateEventRectsForMultipleXs(i):t.generateEventRectsForSingleX(i))},updateEventRectData(){const e=this,{config:t,scale:s,state:i}=e,n=s.zoom||s.x,a=t.axis_rotated,o=e.isMultipleX();let r,l,c,u;if(e.updateEventType(o),o)r=0,l=0,c=i.width,u=i.height;else{let g,f;if(e.axis.isCategorized())g=e.getEventRectWidth(),f=p=>n(p.x)-g/2;else{const p=({index:_})=>({prev:e.getPrevX(_),next:e.getNextX(_)});g=_=>{const x=p(_),m=n.domain();let $;return x.prev===null&&x.next===null?$=a?i.height:i.width:x.prev===null?$=(n(x.next)+n(_.x))/2:x.next===null?$=n(m[1])-(n(x.prev)+n(_.x))/2:(Object.keys(x).forEach((b,A)=>{var y;x[b]=(y=x[b])!=null?y:m[A]}),$=Math.max(0,(n(x.next)-n(x.prev))/2)),$},f=_=>{const x=p(_);let m;return x.prev===null&&x.next===null?m=0:x.prev===null?m=n(n.domain()[0]):m=(n(_.x)+n(x.prev))/2,m}}r=a?0:f,l=a?f:0,c=a?i.width:g,u=a?g:i.height}const{eventReceiver:d}=i,h=(g,f)=>P(g)?g(f):g;d.coords.splice(d.data.length),d.data.forEach((g,f)=>{d.coords[f]={x:h(r,g),y:h(l,g),w:h(c,g),h:h(u,g)}})},selectRectForSingle(e,t){var s,i;const n=this,{config:a,$el:{main:o,circle:r}}=n,l=a.data_selection_enabled,c=a.data_selection_grouped,u=a.data_selection_isselectable,d=a.tooltip_grouped,h=n.getAllValuesOnIndex(t);if(d&&(n.showTooltip(h,e),(s=n.showGridFocus)==null||s.call(n,h),!l||c))return;!r&&o.selectAll(`.${z.EXPANDED}:not(.${st.shape}-${t})`).classed(z.EXPANDED,!1);const g=o.selectAll(`.${st.shape}-${t}`).classed(z.EXPANDED,!0).style("cursor",u?"pointer":null).filter(function(f){return n.isWithinShape(this,f)});g.empty()&&!d&&((i=n.hideGridFocus)==null||i.call(n),n.hideTooltip(),!c&&n.setExpand(t)),g.call(f=>{var p,_;const x=f.data();l&&(c||u!=null&&u.bind(n.api)(x))&&(e.style.cursor="pointer"),d||(n.showTooltip(x,e),(p=n.showGridFocus)==null||p.call(n,x),(_=n.unexpandCircles)==null||_.call(n),f.each(m=>n.setExpand(t,m.id)))})},selectRectForMultipleXs(e,t=!0){const s=this,{config:i,state:n}=s,a=s.filterTargetsToShow(s.data.targets);if(n.dragging||s.hasArcType(a))return;const o=$t(n.event,e),r=s.findClosestFromTargets(a,o);if(t&&n.mouseover&&(!r||r.id!==n.mouseover.id)&&(i.data_onout.call(s.api,n.mouseover),n.mouseover=void 0),!r){s.unselectRect();return}const c=(s.isBubbleType(r)||s.isScatterType(r)||!i.tooltip_grouped?[r]:s.filterByX(a,r.x)).map(d=>s.addName(d));s.showTooltip(c,e),s.setExpand(r.index,r.id,!0),s.showGridFocus(c);const u=s.dist(r,o);(s.isBarType(r.id)||u{const l=r?t.getDataIndexFromEvent(r):n.currentIdx;return l>-1?n.data[l]:null};a.on("mouseover",r=>{i.event=r,t.updateEventRect(),Object.values(t.$el.axisTooltip).forEach(l=>l==null?void 0:l.style("display",null))}).on("mousemove",function(r){const l=o(r);if(i.event=r,!l)return;let{index:c}=l;const u=s.line_step_type;if(s.line_step_tooltipMatch&&t.hasType("step")&&/^step\-(before|after)$/.test(u)){const h=t.scale.zoom||t.scale.x,g=t.axis.xs[c],f=h.invert($t(r,this)[0]);u==="step-after"&&fg&&(c+=1)}t.showAxisGridFocus();const d=s.tooltip_grouped&&c===n.currentIdx;if(i.dragging||i.flowing||t.hasArcType()||d){s.tooltip_show&&d&&t.setTooltipPosition();return}c!==n.currentIdx&&(t.setOverOut(!1,n.currentIdx),n.currentIdx=c),c===-1?t.unselectRect():t.selectRectForSingle(this,c),t.setOverOut(c!==-1,c)}).on("mouseout",r=>{i.event=r,!(!s||t.hasArcType()||n.currentIdx===-1)&&(t.hideAxisGridFocus(),t.unselectRect(),t.setOverOut(!1,n.currentIdx),n.currentIdx=-1)})}return a},clickHandlerForSingleX(e,t){const s=t,{config:i,state:n,$el:{main:a}}=s;if(!e||s.hasArcType()||n.cancelClick){n.cancelClick&&(n.cancelClick=!1);return}const{index:o}=e;a.selectAll(`.${st.shape}-${o}`).each(function(r){var l;(i.data_selection_grouped||s.isWithinShape(this,r))&&((l=s.toggleShape)==null||l.call(s,this,r,o),i.data_onclick.bind(s.api)(r,this))})},generateEventRectsForMultipleXs(e){const t=this,{state:s}=t;e.on("click",function(i){s.event=i,t.clickHandlerForMultipleXS.bind(this)(t)}).datum({multipleX:!0}),s.inputType==="mouse"&&e.on("mouseover mousemove",function(i){s.event=i,t.selectRectForMultipleXs(this)}).on("mouseout",i=>{s.event=i,!(!t.config||t.hasArcType())&&t.unselectRect()})},clickHandlerForMultipleXS(e){const t=e,{config:s,state:i}=t,n=t.filterTargetsToShow(t.data.targets);if(t.hasArcType(n))return;const a=$t(i.event,this),o=t.findClosestFromTargets(n,a),r=s.point_sensitivity==="radius"?o.r:s.point_sensitivity;o&&(t.isBarType(o.id)||t.dist(o,a){r.values.splice(0,a)}),t.updateXGrid&&t.updateXGrid(!0);const o={};["axis.x","grid.x","gridLines.x","region.list","text","bar","line","area","circle"].forEach(r=>{const l=r.split(".");let c=n[l[0]];c&&l.length>1&&(c=c[l[1]]),c!=null&&c.size()&&(o[r]=c)}),t.hideGridFocus(),t.setFlowList(o,e)}},setFlowList(e,t){const s=this,{flow:i,targets:n}=t,{duration:a=t.duration,index:o,length:r,orgDataCount:l}=i,c=s.getFlowTransform(n,l,o,r),u=xs();let d;u.add(Object.keys(e).map(h=>(d=e[h].transition().ease(oo.easeLinear).duration(a),h==="axis.x"?d=d.call(g=>{s.axis.x.setTransition(g).create(g)}):h==="region.list"?d=d.filter(s.isRegionOnX).attr("transform",c):d=d.attr("transform",c),d))),d.call(u,()=>{s.cleanUpFlow(e,t)})},cleanUpFlow(e,t){const s=this,{config:i,state:n,$el:{svg:a}}=s,o=i.axis_rotated,{flow:r,shape:l,xv:c}=t,{cx:u,cy:d,xForText:h,yForText:g}=l.pos,{done:f=()=>{},length:p}=r;p&&(["circle","text","shape","eventRect"].forEach(_=>{const x=[];for(let m=0;m{const x=e[_];if(_!=="axis.x"&&x.attr("transform",null),_==="grid.x")x.attr(n.xgridAttr);else if(_==="gridLines.x")x.attr("x1",o?0:c).attr("x2",o?n.width:c),x.select("text").attr("x",o?n.width:0).attr("y",c);else if(/^(area|bar|line)$/.test(_))x.attr("d",l.type[_]);else if(_==="text")x.attr("x",h).attr("y",g).style("fill-opacity",s.opacityForText.bind(s));else if(_==="circle")if(s.isCirclePoint())x.attr("cx",u).attr("cy",d);else{const m=b=>u(b)-i.point_r,$=b=>d(b)-i.point_r;x.attr("x",m).attr("y",$)}else _==="region.list"&&x.select("rect").filter(s.isRegionOnX).attr("x",s.regionX.bind(s)).attr("width",s.regionWidth.bind(s))}),i.interaction_enabled&&s.redrawEventRect(),f.call(s.api),n.flowing=!1},getFlowTransform(e,t,s,i){const n=this,{data:a,scale:{x:o}}=n,r=a.targets[0].values;let l=n.getValueOnIndex(r,s),c=n.getValueOnIndex(r,s+i),u;const d=o.domain(),h=n.updateXDomain(e,!0,!0);t?t===1||(l==null?void 0:l.x)===(c==null?void 0:c.x)?u=o(d[0])-o(h[0]):u=n.axis.isTimeSeries()?o(d[0])-o(h[0]):o((l==null?void 0:l.x)||0)-o(c.x):r.length!==1?u=o(d[0])-o(h[0]):n.axis.isTimeSeries()?(l=n.getValueOnIndex(r,0),c=n.getValueOnIndex(r,r.length-1),u=o(l.x)-o(c.x)):u=Nt(h)/2;const g=Nt(d)/Nt(h);return`translate(${u},0) scale(${g},1)`}},lo={initClip(){const e=this,{clip:t,datetimeId:s}=e.state;t.id=`${s}-clip`,t.idXAxis=`${t.id}-xaxis`,t.idYAxis=`${t.id}-yaxis`,t.idGrid=`${t.id}-grid`,t.path=e.getClipPath(t.id),t.pathXAxis=e.getClipPath(t.idXAxis),t.pathYAxis=e.getClipPath(t.idYAxis),t.pathGrid=e.getClipPath(t.idGrid)},getClipPath(e){const t=this,{config:s}=t;return!s.clipPath&&/-clip$/.test(e)||!s.axis_x_clipPath&&/-clip-xaxis$/.test(e)||!s.axis_y_clipPath&&/-clip-yaxis$/.test(e)?null:`url(#${e})`},appendClip(e,t){t&&e.append("clipPath").attr("id",t).append("rect")},setXAxisClipPath(e){const t=this,{config:s,state:{margin:i,width:n,height:a}}=t,o=s.axis_rotated,r=Math.max(30,i.left)-(o?0:20),l=(o?i.top+a+10:i.bottom)+20,c=o?-(1+r):-(r-1),u=-15,d=o?i.left+20:n+10+r;e.attr("x",c).attr("y",u).attr("width",d).attr("height",l)},setYAxisClipPath(e){const t=this,{config:s,state:{margin:i,width:n,height:a}}=t,o=s.axis_rotated,r=Math.max(30,i.left)-(o?20:0),l=s.axis_y_inner,c=l&&!o?s.axis_y_label.text?-20:-1:o?-(1+r):-(r-1),u=-(o?20:i.top),d=(o?n+15+r:i.left+20)+(l?20:0),h=(o?i.bottom+10:i.top+a)+10;e.attr("x",c).attr("y",u).attr("width",d).attr("height",h)},updateXAxisTickClip(){const e=this,{config:t,state:{clip:s,xAxisHeight:i},$el:{defs:n}}=e,a=e.getHorizontalAxisHeight("x");if(n&&!s.idXAxisTickTexts){const o=`${s.id}-xaxisticktexts`;e.appendClip(n,o),s.pathXAxisTickTexts=e.getClipPath(s.idXAxisTickTexts),s.idXAxisTickTexts=o}!t.axis_x_tick_multiline&&e.getAxisTickRotate("x")&&a!==i&&(e.setXAxisTickClipWidth(),e.setXAxisTickTextClipPathWidth()),e.state.xAxisHeight=a},setXAxisTickClipWidth(){const e=this,{config:t,state:{current:{maxTickSize:s}}}=e,i=e.getAxisTickRotate("x");if(!t.axis_x_tick_multiline&&i){const n=Math.sin(Math.PI/180*Math.abs(i));s.x.clipPath=(e.getHorizontalAxisHeight("x")-20)/n}else s.x.clipPath=null},setXAxisTickTextClipPathWidth(){const e=this,{state:{clip:t,current:s},$el:{svg:i}}=e;i&&i.select(`#${t.idXAxisTickTexts} rect`).attr("width",s.maxTickSize.x.clipPath).attr("height",30)}};const co=e=>F(e.position)||"end",uo=e=>e.position==="start"?4:e.position==="middle"?0:-4;function js(e,t,s){return i=>{let n=e?0:t;return i.position==="start"?n=e?-s:0:i.position==="middle"&&(n=(e?-s:t)/2),n}}function Hs(e,t){t==="grid"&&e.each(function(){const s=(0,S.select)(this);["x1","x2","y1","y2"].forEach(i=>s.attr(i,Math.ceil(+s.attr(i))))})}var ho={hasGrid(){const{config:e}=this;return["x","y"].some(t=>e[`grid_${t}_show`]||e[`grid_${t}_lines`].length)},initGrid(){const e=this;e.hasGrid()&&e.initGridLines(),e.initFocusGrid()},initGridLines(){const e=this,{config:t,state:{clip:s},$el:i}=e;(t.grid_x_lines.length||t.grid_y_lines.length)&&(i.gridLines.main=i.main.insert("g",`.${z.chart}${t.grid_lines_front?" + *":""}`).attr("clip-path",s.pathGrid).attr("class",`${et.grid} ${et.gridLines}`),i.gridLines.main.append("g").attr("class",et.xgridLines),i.gridLines.main.append("g").attr("class",et.ygridLines),i.gridLines.x=(0,S.selectAll)([]))},updateXGrid(e){const t=this,{config:s,scale:i,state:n,$el:{main:a,grid:o}}=t,r=s.axis_rotated,l=t.generateGridData(s.grid_x_type,i.x),c=t.axis.isCategorized()?t.axis.x.tickOffset():0,u=d=>(i.zoom||i.x)(d)+c*(r?-1:1);n.xgridAttr=r?{x1:0,x2:n.width,y1:u,y2:u}:{x1:u,x2:u,y1:0,y2:n.height},o.x=a.select(`.${et.xgrids}`).selectAll(`.${et.xgrid}`).data(l),o.x.exit().remove(),o.x=o.x.enter().append("line").attr("class",et.xgrid).merge(o.x),e||o.x.each(function(){const d=(0,S.select)(this);Object.keys(n.xgridAttr).forEach(h=>{d.attr(h,n.xgridAttr[h]).style("opacity",()=>d.attr(r?"y1":"x1")===(r?n.height:0)?"0":null)})})},updateYGrid(){const e=this,{axis:t,config:s,scale:i,state:n,$el:{grid:a,main:o}}=e,r=s.axis_rotated,l=u=>Math.ceil(i.y(u)),c=t.y.getGeneratedTicks(s.grid_y_ticks)||e.scale.y.ticks(s.grid_y_ticks);a.y=o.select(`.${et.ygrids}`).selectAll(`.${et.ygrid}`).data(c),a.y.exit().remove(),a.y=a.y.enter().append("line").attr("class",et.ygrid).merge(a.y),a.y.attr("x1",r?l:0).attr("x2",r?l:n.width).attr("y1",r?0:l).attr("y2",r?n.height:l),Hs(a.y,"grid")},updateGrid(){const e=this,{$el:{grid:t,gridLines:s}}=e;!s.main&&e.initGridLines(),t.main.style("visibility",e.hasArcType()?"hidden":null),e.hideGridFocus(),e.updateGridLines("x"),e.updateGridLines("y")},updateGridLines(e){const t=this,{config:s,$el:{gridLines:i,main:n},$T:a}=t,o=s.axis_rotated,r=e==="x";s[`grid_${e}_show`]&&t[`update${e.toUpperCase()}Grid`]();let l=n.select(`.${et[`${e}gridLines`]}`).selectAll(`.${et[`${e}gridLine`]}`).data(s[`grid_${e}_lines`]);a(l.exit()).style("opacity","0").remove();const c=l.enter().append("g");c.append("line").style("opacity","0"),l=c.merge(l),l.each(function(u){const d=(0,S.select)(this);d.select("text").empty()&&u.text&&d.append("text").style("opacity","0")}),a(l.attr("class",u=>`${et[`${e}gridLine`]} ${u.class||""}`.trim()).select("text").attr("text-anchor",co).attr("transform",()=>r?o?null:"rotate(-90)":o?"rotate(-90)":null).attr("dx",uo).attr("dy",-5)).text(function(u){var d;return(d=u.text)!=null?d:this.remove()}),i[e]=l},redrawGrid(e){const t=this,{config:{axis_rotated:s},state:{width:i,height:n},$el:{gridLines:a},$T:o}=t,r=t.xv.bind(t),l=t.yv.bind(t);let c=a.x.select("line"),u=a.x.select("text"),d=a.y.select("line"),h=a.y.select("text");return c=o(c,e).attr("x1",s?0:r).attr("x2",s?i:r).attr("y1",s?r:0).attr("y2",s?r:n),u=o(u,e).attr("x",js(!s,i,n)).attr("y",r),d=o(d,e).attr("x1",s?l:0).attr("x2",s?l:i).attr("y1",s?0:l).attr("y2",s?n:l),h=o(h,e).attr("x",js(s,i,n)).attr("y",l),[c.style("opacity",null),u.style("opacity",null),d.style("opacity",null),h.style("opacity",null)]},initFocusGrid(){const e=this,{config:t,state:{clip:s},$el:i}=e,n=t.grid_front,a=`.${n&&i.gridLines.main?et.gridLines:z.chart}${n?" + *":""}`,o=i.main.insert("g",a).attr("clip-path",s.pathGrid).attr("class",et.grid);if(i.grid.main=o,t.grid_x_show&&o.append("g").attr("class",et.xgrids),t.grid_y_show&&o.append("g").attr("class",et.ygrids),t.axis_tooltip){const r=o.append("g").attr("class","bb-axis-tooltip");r.append("line").attr("class","bb-axis-tooltip-x"),r.append("line").attr("class","bb-axis-tooltip-y")}t.interaction_enabled&&t.grid_focus_show&&!t.axis_tooltip&&(o.append("g").attr("class",q.xgridFocus).append("line").attr("class",q.xgridFocus),t.grid_focus_y&&!t.tooltip_grouped&&o.append("g").attr("class",q.ygridFocus).append("line").attr("class",q.ygridFocus))},showAxisGridFocus(){var e,t;const s=this,{config:i,format:n,state:{event:a,width:o,height:r}}=s,l=i.axis_rotated,[c,u]=$t(a,(e=s.$el.eventRect)==null?void 0:e.node()),d={x:c,y:u};for(const[h,g]of Object.entries(s.$el.axisTooltip)){const f=h==="x"&&!l||h!=="x"&&l?"x":"y",p=d[f];let _=(t=s.scale[h])==null?void 0:t.invert(p);_&&(_=h==="x"&&s.axis.isTimeSeries()?n.xAxisTick(_):_==null?void 0:_.toFixed(2),g==null||g.attr(f,p).text(_))}s.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility",null).each(function(h,g){const f=(0,S.select)(this);g===0?f.attr("x1",c).attr("x2",c).attr("y1",g?0:r).attr("y2",g?r:0):f.attr("x1",g?0:o).attr("x2",g?o:0).attr("y1",u).attr("y2",u)})},hideAxisGridFocus(){const e=this;e.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility","hidden"),Object.values(e.$el.axisTooltip).forEach(t=>t==null?void 0:t.style("display","none"))},showGridFocus(e){var t;const s=this,{config:i,state:{width:n,height:a}}=s,o=i.axis_rotated,r=s.$el.main.selectAll(`line.${q.xgridFocus}, line.${q.ygridFocus}`),l=(e||[r.datum()]).filter(d=>d&&F(s.getBaseValue(d)));if(!i.tooltip_show||l.length===0||!i.axis_x_forceAsSingle&&s.hasType("bubble")||s.hasArcType())return;const c=i.grid_focus_edge&&!i.tooltip_grouped,u=s.xx.bind(s);r.style("visibility",null).data(l.concat(l)).each(function(d){const h=(0,S.select)(this),g={x:u(d),y:s.getYScaleById(d.id)(d.value)};let f;if(h.classed(q.xgridFocus))f=o?[null,g.x,c?g.y:n,g.x]:[g.x,c?g.y:null,g.x,a];else{const p=s.axis.getId(d.id)==="y2";f=o?[g.y,c&&!p?g.x:null,g.y,c&&p?g.x:a]:[c&&p?g.x:null,g.y,c&&!p?g.x:n,g.y]}["x1","y1","x2","y2"].forEach((p,_)=>h.attr(p,f[_]))}),Hs(r,"grid"),(t=s.showCircleFocus)==null||t.call(s,e)},hideGridFocus(){var e;const t=this,{state:{inputType:s,resizing:i},$el:{main:n}}=t;(s==="mouse"||!i)&&(n.selectAll(`line.${q.xgridFocus}, line.${q.ygridFocus}`).style("visibility","hidden"),(e=t.hideCircleFocus)==null||e.call(t))},updateGridFocus(){var e;const t=this,{state:{inputType:s,width:i,height:n,resizing:a},$el:{grid:o}}=t,r=o.main.select(`line.${q.xgridFocus}`);if(s==="touch")r.empty()?a&&((e=t.showCircleFocus)==null||e.call(t)):t.showGridFocus();else{const l=t.config.axis_rotated;r.attr("x1",l?0:-10).attr("x2",l?i:-10).attr("y1",l?-10:0).attr("y2",l?-10:n)}return!0},generateGridData(e,t){const s=this,i=s.$el.main.select(`.${ot.axisX}`).selectAll(".tick").size();let n=[];if(e==="year"){const a=s.getXDomain(),[o,r]=a.map(l=>l.getFullYear());for(let l=o;l<=r;l++)n.push(new Date(`${l}-01-01 00:00:00`))}else n=t.ticks(10),n.length>i&&(n=n.filter(a=>String(a).indexOf(".")<0));return n},getGridFilterToRemove(e){return e?t=>{let s=!1;return(N(e)?e.concat():[e]).forEach(i=>{("value"in i&&t.value===i.value||"class"in i&&t.class===i.class)&&(s=!0)}),s}:()=>!0},removeGridLines(e,t){const s=this,{config:i,$T:n}=s,a=s.getGridFilterToRemove(e),o=u=>!a(u),r=t?et.xgridLines:et.ygridLines,l=t?et.xgridLine:et.ygridLine;n(s.$el.main.select(`.${r}`).selectAll(`.${l}`).filter(a)).style("opacity","0").remove();const c=`grid_${t?"x":"y"}_lines`;i[c]=i[c].filter(o)}},go={initRegion(){const e=this,{$el:t}=e;t.region.main=t.main.insert("g",":first-child").attr("clip-path",e.state.clip.path).attr("class",re.regions)},updateRegion(){const e=this,{config:t,$el:{region:s},$T:i}=e;s.main||e.initRegion(),s.main.style("visibility",e.hasArcType()?"hidden":null);const n=s.main.selectAll(`.${re.region}`).data(t.regions);i(n.exit()).style("opacity","0").remove();const a=n.enter().append("g");a.append("rect").style("fill-opacity","0"),s.list=a.merge(n).attr("class",e.classRegion.bind(e)),s.list.each(function(o){var r;(0,S.select)(this).select("text").empty()&&((r=o.label)!=null&&r.text)&&(0,S.select)(this).append("text").style("opacity","0")})},redrawRegion(e){const t=this,{$el:{region:s},$T:i}=t;let n=s.list.select("rect"),a=s.list.selectAll("text");return n=i(n,e).attr("x",t.regionX.bind(t)).attr("y",t.regionY.bind(t)).attr("width",t.regionWidth.bind(t)).attr("height",t.regionHeight.bind(t)),a=i(a,e).attr("transform",o=>{var r;const{x:l=0,y:c=0,rotated:u=!1}=(r=o.label)!=null?r:{};return`translate(${t.regionX.bind(t)(o)+l}, ${t.regionY.bind(t)(o)+c})${u?" rotate(-90)":""}`}).attr("text-anchor",o=>{var r;return(r=o.label)!=null&&r.rotated?"end":null}).attr("dy","1em").style("fill",o=>{var r,l;return(l=(r=o.label)==null?void 0:r.color)!=null?l:null}).text(o=>{var r;return(r=o.label)==null?void 0:r.text}),[n.style("fill-opacity",o=>F(o.opacity)?o.opacity:null).on("end",function(){(0,S.select)(this.parentNode).selectAll("rect:not([x])").remove()}),a.style("opacity",null)]},getRegionXY(e,t){const s=this,{config:i,scale:n}=s,a=i.axis_rotated,o=e==="x";let r="start",l,c=0;return t.axis==="y"||t.axis==="y2"?(o||(r="end"),(o?a:!a)&&r in t&&(l=n[t.axis],c=l(t[r]))):(o?!a:a)&&r in t&&(l=n.zoom||n.x,c=l(s.axis.isTimeSeries()?mt.call(s,t[r]):t[r])),c},regionX(e){return this.getRegionXY("x",e)},regionY(e){return this.getRegionXY("y",e)},getRegionSize(e,t){const s=this,{config:i,scale:n,state:a}=s,o=i.axis_rotated,r=e==="width",l=s[r?"regionX":"regionY"](t);let c,u="end",d=a[e];return t.axis==="y"||t.axis==="y2"?(r||(u="start"),(r?o:!o)&&u in t&&(c=n[t.axis],d=c(t[u]))):(r?!o:o)&&u in t&&(c=n.zoom||n.x,d=c(s.axis.isTimeSeries()?mt.call(s,t[u]):t[u])),d0&&(!n.axis_x_tick_autorotate||i.needToRotateXAxisTickTexts());return(n.axis_x_tick_multiline||_)&&p.height>g&&(f+=p.height-g),f+(i.axis.getLabelPositionById(e).isInner?0:10)+(e==="y2"&&!c?-10:0)},getEventRectWidth(){const e=this,{config:t,axis:s}=e,i=t.axis_x_inverted,n=s.x.tickInterval();return Math.max(0,i?Math.abs(n):n)},getAxisTickRotate(e){const t=this,{axis:s,config:i,state:n,$el:a}=t;let o=i[`axis_${e}_tick_rotate`];if(e==="x"){const r=s.isCategorized()||s.isTimeSeries();if(i.axis_x_tick_fit&&r){const l=i.axis_x_tick_count,c=n.current.maxTickSize.x.ticks.length;let u=0;if(l?u=l>c?c:l:c&&(u=c),u!==n.axis.x.tickCount){const{targets:d}=t.data;n.axis.x.padding=t.getXDomainPadding([t.getXDomainMinMax(d,"min"),t.getXDomainMinMax(d,"max")],u)}n.axis.x.tickCount=u}a.svg&&i.axis_x_tick_autorotate&&i.axis_x_tick_fit&&!i.axis_x_tick_multiline&&!i.axis_x_tick_culling&&r&&(o=t.needToRotateXAxisTickTexts()?i.axis_x_tick_rotate:0)}return o},needToRotateXAxisTickTexts(){const e=this,{state:{axis:t,current:s,isLegendRight:i,legendItemWidth:n}}=e,a=i&&n,o=s.width-a-e.getCurrentPaddingByDirection("left")-e.getCurrentPaddingByDirection("right"),r=t.x.tickCount+t.x.padding.left+t.x.padding.right,{width:l}=e.axis.getMaxTickSize("x"),c=r?o/r:0;return l>c}},po={axis_x_clipPath:!0,axis_x_show:!0,axis_x_forceAsSingle:!1,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_culling_lines:!0,axis_x_tick_count:void 0,axis_x_tick_show:!0,axis_x_tick_text_show:!0,axis_x_tick_text_inner:!1,axis_x_tick_text_position:{x:0,y:0},axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_autorotate:!1,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_width:null,axis_x_tick_tooltip:!1,axis_x_max:void 0,axis_x_min:void 0,axis_x_inverted:!1,axis_x_padding:{},axis_x_height:void 0,axis_x_extent:void 0,axis_x_label:{},axis_x_axes:[]},xo={axis_y_clipPath:!0,axis_y_show:!0,axis_y_type:"indexed",axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:!1,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_culling:!1,axis_y_tick_culling_max:5,axis_y_tick_culling_lines:!0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_show:!0,axis_y_tick_stepSize:null,axis_y_tick_text_show:!0,axis_y_tick_text_position:{x:0,y:0},axis_y_tick_time_value:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y_axes:[]},_o={axis_y2_show:!1,axis_y2_type:"indexed",axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:!1,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_culling:!1,axis_y2_tick_culling_max:5,axis_y2_tick_culling_lines:!0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_rotate:0,axis_y2_tick_count:void 0,axis_y2_tick_show:!0,axis_y2_tick_stepSize:null,axis_y2_tick_text_show:!0,axis_y2_tick_text_position:{x:0,y:0},axis_y2_padding:{},axis_y2_default:void 0,axis_y2_axes:[]},mo=Object.defineProperty,Ws=Object.getOwnPropertySymbols,$o=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable,Us=(e,t,s)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ye=(e,t)=>{for(var s in t||(t={}))$o.call(t,s)&&Us(e,s,t[s]);if(Ws)for(var s of Ws(t))yo.call(t,s)&&Us(e,s,t[s]);return e},bo=Ye(Ye(Ye({axis_rotated:!1,axis_tooltip:!1},po),xo),_o),vo={grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:void 0,grid_focus_edge:!1,grid_focus_show:!0,grid_focus_y:!1,grid_front:!1,grid_lines_front:!0},To={data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1};const Ao=[Va,Ya,ja,Ha,Wa,Ua,Za],Zs={axis:io,clip:lo,eventrect:ao,flow:ro,grid:ho,region:go,sizeAxis:fo},qs={optDataAxis:To,optAxis:bo,optGrid:vo};var Ks=U(13),wo=Object.defineProperty,So=Object.defineProperties,Ro=Object.getOwnPropertyDescriptors,Js=Object.getOwnPropertySymbols,Co=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,Qs=(e,t,s)=>t in e?wo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ko=(e,t)=>{for(var s in t||(t={}))Co.call(t,s)&&Qs(e,s,t[s]);if(Js)for(var s of Js(t))Eo.call(t,s)&&Qs(e,s,t[s]);return e},Lo=(e,t)=>So(e,Ro(t));function ti(e=0){const t=this,{config:s,state:i}=t,n=t.hasMultiArcGauge(),a=i.gaugeArcWidth/t.filterTargetsToShow(t.data.targets).length,o=e?Math.min(i.radiusExpanded*e-i.radius,a*.8-(1-e)*100):0;return{inner(r){const{innerRadius:l}=t.getRadius(r);return n?i.radius-a*(r.index+1):L(l)?l:0},outer(r){const{outerRadius:l}=t.getRadius(r);let c;if(n)c=i.radius-a*r.index+o;else if(t.hasType("polar")&&!e)c=t.getPolarOuterRadius(r,l);else if(c=l,e){let{radiusExpanded:u}=i;i.radius!==l&&(u-=Math.abs(i.radius-l)),c=u*e}return c},corner(r,l){const{arc_cornerRadius_ratio:c=0,arc_cornerRadius:u=0}=s,{data:{id:d},value:h}=r;let g=0;return c?g=c*l:g=L(u)?u:u.call(t.api,d,h,l),g}}}function je(e){return function(t){const s=({startAngle:n=0,endAngle:a=0,padAngle:o=0})=>({startAngle:n,endAngle:a,padAngle:o}),i=(0,Ks.interpolate)(s(this._current),s(t));return this._current=t,function(n){const a=i(n),{data:o,index:r,value:l}=t;return e(Lo(ko({},a),{data:o,index:r,value:l}))}}}var Po={initPie(){const e=this,{config:t}=e,s=t.data_type,i=t[`${s}_padding`],n=t[`${s}_startingAngle`]||0,a=(i?i*.01:t[`${s}_padAngle`])||0;e.pie=(0,tt.pie)().startAngle(n).endAngle(n+2*Math.PI).padAngle(a).value(o=>{var r,l;return(l=(r=o.values)==null?void 0:r.reduce((c,u)=>c+u.value,0))!=null?l:o}).sort(e.getSortCompareFn.bind(e)(!0))},updateRadius(){const e=this,{config:t,state:s}=e,i=t.data_type,n=t[`${i}_padding`],a=t.gauge_width||t.donut_width,o=e.filterTargetsToShow(e.data.targets).length*t.gauge_arcs_minWidth;s.radiusExpanded=Math.min(s.arcWidth,s.arcHeight)/2*(e.hasMultiArcGauge()&&t.gauge_label_show?.85:1),s.radius=s.radiusExpanded*.95,s.innerRadiusRatio=a?(s.radius-a)/s.radius:.6,s.gaugeArcWidth=a||(o<=s.radius-s.innerRadius?s.radius-s.innerRadius:o<=s.radius?o:s.radius);const r=t.pie_innerRadius||(n?n*(s.innerRadiusRatio+.1):0);s.outerRadius=t.pie_outerRadius,s.innerRadius=e.hasType("donut")||e.hasType("gauge")?s.radius*s.innerRadiusRatio:r},getRadius(e){const t=this,s=e==null?void 0:e.data;let{innerRadius:i,outerRadius:n}=t.state;return!L(i)&&s&&(i=i[s.id]||0),X(n)&&s&&s.id in n?n=n[s.id]:L(n)||(n=t.state.radius),{innerRadius:i,outerRadius:n}},updateArc(){const e=this;e.updateRadius(),e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded()},getArcLength(){const e=this,{config:t}=e,s=t.gauge_arcLength*3.6;let i=2*(s/360);return s<-360?i=-2:s>360&&(i=2),i*Math.PI},getStartingAngle(){const e=this,{config:t}=e,s=t.data_type,i=e.hasType("gauge")?t.gauge_fullCircle:!1,n=-1*Math.PI/2,a=Math.PI/2;let o=t[`${s}_startingAngle`]||0;return!i&&o<=n?o=n:!i&&o>=a?o=a:(o>Math.PI||o<-1*Math.PI)&&(o=Math.PI),o},updateAngle(e,t=!1){var s;const i=this,{config:n,state:a}=i,o=t&&i.hasType("gauge");let{pie:r}=i,l=e,c=!1;if(!n)return null;const u=i.getStartingAngle(),d=n.gauge_fullCircle||t&&!o?i.getArcLength():u*-2;if(l.data&&i.isGaugeType(l.data)&&!i.hasMultiArcGauge()){const{gauge_min:h,gauge_max:g}=n,f=i.getTotalDataSum(a.rendered),p=d*((f-h)/(g-h));r=r.startAngle(u).endAngle(p+u)}if(t===!1&&r(i.filterTargetsToShow()).forEach((h,g)=>{var f;!c&&h.data.id===((f=l.data)==null?void 0:f.id)&&(c=!0,l=h,l.index=g)}),isNaN(l.startAngle)&&(l.startAngle=0),isNaN(l.endAngle)&&(l.endAngle=l.startAngle),t||l.data&&(n.gauge_enforceMinMax||i.hasMultiArcGauge())){const{gauge_min:h,gauge_max:g}=n,f=t&&!o?i.getTotalDataSum(a.rendered):g,p=d/(f-h),_=(s=l.value)!=null?s:0,x=_{const r=t.updateAngle(o),l=i(r);let c=0;return r&&(c=n(r,l)),r?a.cornerRadius(c)(r):"M 0 0"}},getArc(e,t,s){return s||this.isArcType(e.data)?this.svgArc(e,t):"M 0 0"},redrawArcRangeText(){const e=this,{config:t,$el:{arcs:s},state:i,$T:n}=e,a=t.arc_rangeText_format,o=e.hasType("gauge")&&t.arc_rangeText_fixed;let r=t.arc_rangeText_values;if(r!=null&&r.length){const l=t.arc_rangeText_unit==="%",c=e.getTotalDataSum(i.rendered);l&&(r=r.map(h=>c/100*h));const u=e.pie(r).map((h,g)=>(h.index=g,h));let d=s.selectAll(`.${G.arcRange}`).data(r);d.exit(),d=n(d.enter().append("text").attr("class",G.arcRange).style("text-anchor","middle").style("pointer-events","none").style("opacity","0").text(h=>{const g=l?h/c*100:h;return P(a)?a(g):`${g}${l?"%":""}`}).merge(d)),(!i.rendered||i.rendered&&!o)&&c>0&&d.attr("transform",(h,g)=>e.transformForArcLabel(u[g],!0)),d.style("opacity",h=>!o&&(h>c||c===0)?"0":null)}},transformForArcLabel(e,t=!1){var s,i,n;const a=this,{config:o,state:{radiusExpanded:r}}=a,l=a.updateAngle(e,t);let c="";if(l){if(t||a.hasMultiArcGauge()){const u=Math.sin(l.endAngle-Math.PI/2),d=o.arc_rangeText_position;let h=Math.cos(l.endAngle-Math.PI/2)*(r+(t?5:25)),g=u*(r+15-Math.abs(u*10))+3;if(t&&d){const f=o.arc_rangeText_values,p=P(d)?d(f[e.index]):d;h+=(s=p==null?void 0:p.x)!=null?s:0,g+=(i=p==null?void 0:p.y)!=null?i:0}c=`translate(${h},${g})`}else if(!a.hasType("gauge")||a.data.targets.length>1){let{outerRadius:u}=a.getRadius(e);a.hasType("polar")&&(u=a.getPolarOuterRadius(e,u));const d=this.svgArc.centroid(l),[h,g]=d.map(_=>isNaN(_)?0:_),f=Math.sqrt(h*h+g*g);let p=(n=["donut","gauge","pie","polar"].filter(a.hasType.bind(a)).map(_=>o[`${_}_label_ratio`]))==null?void 0:n[0];p?p=P(p)?p.bind(a.api)(e,u,f):p:p=u&&(f?(36/u>.375?1.175-36/u:.8)*u/f:0),c=`translate(${h*p},${g*p})`}}return c},convertToArcData(e){return this.addName({id:"data"in e?e.data.id:e.id,value:e.value,ratio:this.getRatio("arc",e),index:e.index})},textForArcLabel(e){const t=this,s=t.hasType("gauge");t.shouldShowArcLabel()&&e.style("fill",t.updateTextColor.bind(t)).attr("filter",i=>t.updateTextBGColor.bind(t)(i,t.config.data_labels_backgroundColors)).each(function(i){var n;const a=(0,S.select)(this),o=t.updateAngle(i),r=t.getRatio("arc",o);if(t.meetsLabelThreshold(r,(n=["donut","gauge","pie","polar"].filter(t.hasType.bind(t)))==null?void 0:n[0])){const{value:c}=o||i,u=(t.getArcLabelFormat()||t.defaultArcValueFormat)(c,r,i.data.id).toString();le(a,u,[-1,1],s)}else a.text("")})},expandArc(e){const t=this,{state:{transiting:s},$el:i}=t;if(s){const a=setInterval(()=>{s||(clearInterval(a),i.legend.selectAll(`.${q.legendItemFocused}`).size()>0&&t.expandArc(e))},10);return}const n=t.mapToTargetIds(e);i.svg.selectAll(t.selectorTargets(n,`.${G.chartArc}`)).each(function(a){if(!t.shouldExpand(a.data.id))return;const o=t.getExpandConfig(a.data.id,"duration"),r=t.getSvgArcExpanded(t.getExpandConfig(a.data.id,"rate"));(0,S.select)(this).selectAll("path").transition().duration(o).attrTween("d",je(t.svgArcExpanded.bind(t))).transition().duration(o*2).attrTween("d",je(r.bind(t)))})},unexpandArc(e){const t=this,{state:{transiting:s},$el:{svg:i}}=t;if(s)return;const n=t.mapToTargetIds(e);i.selectAll(t.selectorTargets(n,`.${G.chartArc}`)).selectAll("path").transition().duration(a=>t.getExpandConfig(a.data.id,"duration")).attrTween("d",je(t.svgArc.bind(t))),i.selectAll(`${G.arc}`).style("opacity",null)},getExpandConfig(e,t){const s=this,{config:i}=s,n={duration:50,rate:.98};let a;return s.isDonutType(e)?a="donut":s.isGaugeType(e)?a="gauge":s.isPieType(e)&&(a="pie"),a?i[`${a}_expand_${t}`]:n[t]},shouldExpand(e){const t=this,{config:s}=t;return t.isDonutType(e)&&s.donut_expand||t.isGaugeType(e)&&s.gauge_expand||t.isPieType(e)&&s.pie_expand},shouldShowArcLabel(){const e=this,{config:t}=e;return["donut","gauge","pie","polar"].some(s=>e.hasType(s)&&t[`${s}_label_show`])},getArcLabelFormat(){const e=this,{config:t}=e;let s=i=>i;return["donut","gauge","pie","polar"].filter(e.hasType.bind(e)).forEach(i=>{s=t[`${i}_label_format`]}),P(s)?s.bind(e.api):s},updateTargetsForArc(e){const t=this,{$el:s}=t,i=t.hasType("gauge"),n=t.getChartClass("Arc"),a=t.getClass("arcs",!0),o=t.classFocus.bind(t),r=s.main.select(`.${G.chartArcs}`),l=r.selectAll(`.${G.chartArc}`).data(t.pie(e)).attr("class",u=>n(u)+o(u.data)),c=l.enter().append("g").attr("class",n).call(this.setCssRule(!1,`.${G.chartArcs} text`,["pointer-events:none","text-anchor:middle"]));c.append("g").attr("class",a).merge(l),c.append("text").attr("dy",i&&!t.hasMultiTargets()?"-.1em":".35em").style("opacity","0").style("text-anchor",t.getStylePropValue("middle")).style("pointer-events",t.getStylePropValue("none")),s.text=r.selectAll(`.${z.target} text`)},initArc(){const e=this,{$el:t}=e;t.arcs=t.main.select(`.${z.chart}`).append("g").attr("class",G.chartArcs).attr("transform",e.getTranslate("arc")),e.setArcTitle()},setArcTitle(e){const t=this,s=e||t.getArcTitle(),i=t.hasType("gauge");if(s){const n=i?_t.chartArcsGaugeTitle:G.chartArcsTitle;let a=t.$el.arcs.select(`.${n}`);a.empty()&&(a=t.$el.arcs.append("text").attr("class",n).style("text-anchor","middle")),i&&a.attr("dy","-0.3em"),le(a,s,i?void 0:[-.6,1.35],!0)}},getArcTitle(){const e=this,t=e.hasType("donut")&&"donut"||e.hasType("gauge")&&"gauge";return t?e.config[`${t}_title`]:""},getArcTitleWithNeedleValue(){const e=this,{config:t,state:s}=e,i=e.getArcTitle();if(i&&e.config.arc_needle_show&&/{=[A-Z_]+}/.test(i)){let n=s.current.needle;return L(n)||(n=t.arc_needle_value),be(i,{NEEDLE_VALUE:L(n)?n:0})}return!1},redrawArc(e,t,s){const i=this,{config:n,state:a,$el:{main:o}}=i,r=n.interaction_enabled,l=r&&n.data_selection_isselectable;let c=o.selectAll(`.${G.arcs}`).selectAll(`.${G.arc}`).data(i.arcData.bind(i));c.exit().transition().duration(t).style("opacity","0").remove(),c=c.enter().append("path").attr("class",i.getClass("arc",!0)).style("fill",u=>i.color(u.data)).style("cursor",u=>{var d;return(d=l==null?void 0:l.bind)!=null&&d.call(l,i.api)(u)?"pointer":null}).style("opacity","0").each(function(u){i.isGaugeType(u.data)&&(u.startAngle=n.gauge_startingAngle,u.endAngle=n.gauge_startingAngle),this._current=u}).merge(c),i.hasType("gauge")&&(i.updateGaugeMax(),i.hasMultiArcGauge()&&i.redrawArcGaugeLine()),c.attr("transform",u=>!i.isGaugeType(u.data)&&s?"scale(0)":"").style("opacity",function(u){return u===this._current?"0":null}).each(()=>{a.transiting=!0}).transition().duration(e).attrTween("d",function(u){const d=i.updateAngle(u);if(!d)return()=>"M 0 0";isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle);const h=(0,Ks.interpolate)(this._current,d);return this._current=h(0),function(g){const f=h(g);return f.data=u.data,i.getArc(f,!0)}}).attr("transform",s?"scale(1)":"").style("fill",u=>{let d;return i.levelColor?(d=i.levelColor(u.data.values[0].value),n.data_colors[u.data.id]=d):d=i.color(u.data),d}).style("opacity",null).call(me,function(){if(i.levelColor){const u=(0,S.select)(this),d=u.datum(this._current);i.updateLegendItemColor(d.data.id,u.style("fill"))}a.transiting=!1,K(n.onrendered,i.api)}),r&&i.bindArcEvent(c),i.hasType("polar")&&i.redrawPolar(),i.hasType("gauge")&&i.redrawBackgroundArcs(),n.arc_needle_show&&i.redrawNeedle(),i.redrawArcText(e),i.redrawArcRangeText()},redrawNeedle(){const e=this,{$el:t,config:s,state:{hiddenTargetIds:i,radius:n}}=e,a=(n-1)/100*s.arc_needle_length,o=i.length!==e.data.targets.length;let r=e.$el.arcs.select(`.${G.needle}`);const l=s.arc_needle_path,c=s.arc_needle_bottom_width/2,u=s.arc_needle_top_width/2,d=s.arc_needle_top_rx,h=s.arc_needle_top_ry,g=s.arc_needle_bottom_len,f=s.arc_needle_bottom_rx,p=s.arc_needle_bottom_ry,_=e.getNeedleAngle(),x=()=>{const m=e.getArcTitleWithNeedleValue();m&&e.setArcTitle(m)};if(x(),r.empty()&&(r=t.arcs.append("path").classed(G.needle,!0),t.needle=r,t.needle.updateHelper=(m,$=!1)=>{t.needle.style("display")!=="none"&&e.$T(t.needle).style("transform",`rotate(${e.getNeedleAngle(m)}deg)`).call(me,()=>{$&&(s.arc_needle_value=m),x()})}),o){const m=P(l)?l.call(e,a):`M-${c} ${g} A${f} ${p} 0 0 0 ${c} ${g} L${u} -${a} A${d} ${h} 0 0 0 -${u} -${a} L-${c} ${g} Z`;e.$T(r).attr("d",m).style("fill",s.arc_needle_color).style("display",null).style("transform",`rotate(${_}deg)`)}else r.style("display","none")},getNeedleAngle(e){const t=this,{config:s,state:i}=t,n=t.getArcLength(),a=t.hasType("gauge"),o=t.getTotalDataSum(!0);let r=W(e)?e:s.arc_needle_value,l=s[`${s.data_type}_startingAngle`]||0,c=0;if(L(r)||(r=a&&t.data.targets.length===1?o:0),i.current.needle=r,a){l=t.getStartingAngle();const u=s.gauge_fullCircle?n:l*-2,{gauge_min:d,gauge_max:h}=s;c=u*((r-d)/(h-d))}else c=n*(r/o);return(l+c)*(180/Math.PI)},redrawBackgroundArcs(){const e=this,{config:t,state:s}=e,i=e.hasMultiArcGauge(),n=t.gauge_fullCircle,a=e.filterTargetsToShow(e.data.targets).length===0&&!!t.data_empty_label_text,o=e.getStartingAngle(),r=n?o+e.getArcLength():o*-1;let l=e.$el.arcs.select(`${i?"g":""}.${G.chartArcsBackground}`);if(i){let c=0;l=l.selectAll(`path.${G.chartArcsBackground}`).data(e.data.targets),l.enter().append("path").attr("class",(u,d)=>`${G.chartArcsBackground} ${G.chartArcsBackground}-${d}`).merge(l).style("fill",t.gauge_background||null).attr("d",({id:u})=>{if(a||s.hiddenTargetIds.indexOf(u)>=0)return"M 0 0";const d={data:[{value:t.gauge_max}],startAngle:o,endAngle:r,index:c++};return e.getArc(d,!0,!0)}),l.exit().remove()}else l.attr("d",a?"M 0 0":()=>{const c={data:[{value:t.gauge_max}],startAngle:o,endAngle:r};return e.getArc(c,!0,!0)})},bindArcEvent(e){const t=this,{config:s,state:i}=t,n=i.inputType==="touch",a=i.inputType==="mouse";function o(l,c,u){t.expandArc(u),t.api.focus(u),t.toggleFocusLegend(u,!0),t.showTooltip([c],l)}function r(l){const c=(l==null?void 0:l.id)||void 0;t.unexpandArc(c),t.api.revert(),t.revertLegend(),t.hideTooltip()}if(e.on("click",function(l,c,u){var d;const h=t.updateAngle(c);let g;h&&(g=t.convertToArcData(h),(d=t.toggleShape)==null||d.call(t,this,g,u),s.data_onclick.bind(t.api)(g,this))}),a&&e.on("mouseover",function(l,c){if(i.transiting)return;i.event=l;const u=t.updateAngle(c),d=u?t.convertToArcData(u):null,h=(d==null?void 0:d.id)||void 0;o(this,d,h),t.setOverOut(!0,d)}).on("mouseout",(l,c)=>{if(i.transiting)return;i.event=l;const u=t.updateAngle(c),d=u?t.convertToArcData(u):null;r(),t.setOverOut(!1,d)}).on("mousemove",function(l,c){const u=t.updateAngle(c),d=u?t.convertToArcData(u):null;i.event=l,t.showTooltip([d],this)}),n&&t.hasArcType()&&!t.radars){const l=c=>{var u,d;const{clientX:h,clientY:g}=(d=(u=c.changedTouches)==null?void 0:u[0])!=null?d:{clientX:0,clientY:0};return(0,S.select)(lt.elementFromPoint(h,g))};t.$el.svg.on("touchstart touchmove",function(c){if(i.transiting)return;i.event=c;const d=l(c).datum(),h=d!=null&&d.data&&d.data.id?t.updateAngle(d):null,g=h?t.convertToArcData(h):null,f=(g==null?void 0:g.id)||void 0;t.callOverOutForTouch(g),it(f)?r():o(this,g,f)})}},redrawArcText(e){const t=this,{config:s,state:i,$el:{main:n,arcs:a}}=t,o=t.hasType("gauge"),r=t.hasMultiArcGauge();let l;if(o&&t.data.targets.length===1&&s.gauge_title||(l=n.selectAll(`.${G.chartArc}`).select("text").style("opacity","0").attr("class",c=>t.isGaugeType(c.data)?_t.gaugeValue:null).call(t.textForArcLabel.bind(t)).attr("transform",c=>t.transformForArcLabel.bind(t)(c)).style("font-size",c=>t.isGaugeType(c.data)&&t.data.targets.length===1&&!r?`${Math.round(i.radius/5)}px`:null).transition().duration(e).style("opacity",c=>t.isTargetToShow(c.data.id)&&t.isArcType(c.data)?null:"0"),r&&l.attr("dy","-.1em")),n.select(`.${G.chartArcsTitle}`).style("opacity",t.hasType("donut")||o?null:"0"),o){const c=s.gauge_fullCircle;c&&(l==null||l.attr("dy",`${r?0:Math.round(i.radius/14)}`)),s.gauge_label_show&&(a.select(`.${_t.chartArcsGaugeUnit}`).attr("dy",`${c?1.5:.75}em`).text(s.gauge_units),a.select(`.${_t.chartArcsGaugeMin}`).attr("dx",`${-1*(i.innerRadius+(i.radius-i.innerRadius)/(c?1:2))}px`).attr("dy","1.2em").text(t.textForGaugeMinMax(s.gauge_min,!1)),!c&&a.select(`.${_t.chartArcsGaugeMax}`).attr("dx",`${i.innerRadius+(i.radius-i.innerRadius)/2}px`).attr("dy","1.2em").text(t.textForGaugeMinMax(s.gauge_max,!0)))}},getArcElementByIdOrIndex(e){const t=this,{$el:{arcs:s}}=t,i=L(e)?n=>n.index===e:n=>n.data.id===e;return s==null?void 0:s.selectAll(`.${z.target} path`).filter(i)}},Qt={initArea(e){const t=this,{config:s}=t;e.insert("g",`.${s.area_front?ut.circles:kt.lines}`).attr("class",t.getClass("areas",!0))},updateAreaColor(e){const t=this;return t.config.area_linearGradient?t.getGradienColortUrl(e.id):t.color(e)},updateArea(e,t=!1){const s=this,{config:i,state:n,$el:a,$T:o}=s,r=t?a.subchart:a;i.area_linearGradient&&s.updateLinearGradient();const l=r.main.selectAll(`.${fe.areas}`).selectAll(`.${fe.area}`).data(s.lineData.bind(s));o(l.exit(),e).style("opacity","0").remove(),r.area=l.enter().append("path").attr("class",s.getClass("area",!0)).style("fill",s.updateAreaColor.bind(s)).style("opacity",function(){return n.orgAreaOpacity=(0,S.select)(this).style("opacity"),"0"}).merge(l),l.style("opacity",n.orgAreaOpacity),s.setRatioForGroupedData(r.area.data())},redrawArea(e,t,s=!1){const i=this,{area:n}=s?this.$el.subchart:this.$el,{orgAreaOpacity:a}=i.state;return[i.$T(n,t,Lt()).attr("d",e).style("fill",i.updateAreaColor.bind(i)).style("opacity",o=>String(i.isAreaRangeType(o)?a/1.75:a))]},generateDrawArea(e,t){const s=this,{config:i}=s,n=i.line_connectNull,a=i.axis_rotated,o=s.generateGetAreaPoints(e,t),r=s.getYScaleById.bind(s),l=d=>(t?s.subxx:s.xx).call(s,d),c=(d,h)=>s.isGrouped(d.id)?o(d,h)[0][1]:r(d.id,t)(s.isAreaRangeType(d)?s.getRangedData(d,"high"):s.getShapeYMin(d.id)),u=(d,h)=>s.isGrouped(d.id)?o(d,h)[1][1]:r(d.id,t)(s.isAreaRangeType(d)?s.getRangedData(d,"low"):d.value);return d=>{let h=n?s.filterRemoveNull(d.values):d.values,g=0,f=0,p;if(s.isAreaType(d)){let _=(0,tt.area)();_=a?_.y(l).x0(c).x1(u):_.x(l).y0(i.area_above?0:i.area_below?s.state.height:c).y1(u),n||(_=_.defined(x=>s.getBaseValue(x)!==null)),s.isStepType(d)&&(h=s.convertValuesToStep(h)),p=_.curve(s.getCurve(d))(h)}else h[0]&&(g=s.scale.x(h[0].x),f=s.getYScaleById(d.id)(h[0].value)),p=a?`M ${f} ${g}`:`M ${g} ${f}`;return p||"M 0 0"}},generateGetAreaPoints(e,t){const s=this,{config:i}=s,n=s.getShapeX(0,e,t),a=s.getShapeY(!!t),o=s.getShapeOffset(s.isAreaType,e,t),r=s.getYScaleById.bind(s);return function(l,c){const u=r.call(s,l.id,t)(s.getShapeYMin(l.id)),d=o(l,c)||u,h=n(l),g=l.value;let f=a(l);return i.axis_rotated&&(g>0&&fu.values.some(d=>L(d.value)||t.isBarRangeType(d)))).attr("class",u=>n(u)+o(u)).enter().append("g").attr("class",n).style("opacity","0").style("pointer-events",t.getStylePropValue("none")).append("g").attr("class",a).style("cursor",u=>{var d;return(d=r==null?void 0:r.bind)!=null&&d.call(r,t.api)(u)?"pointer":null}).call(t.setCssRule(!0,` .${bt.bar}`,["fill"],t.color))},updateBar(e,t=!1){const s=this,{config:i,$el:n,$T:a}=s,o=t?n.subchart:n,r=s.getClass("bar",!0),l=s.initialOpacity.bind(s);i.bar_linearGradient&&s.updateLinearGradient();const c=o.main.selectAll(`.${bt.bars}`).selectAll(`.${bt.bar}`).data(s.labelishData.bind(s));a(c.exit(),e).style("opacity","0").remove(),o.bar=c.enter().append("path").attr("class",r).style("fill",s.updateBarColor.bind(s)).merge(c).style("opacity",l),s.setRatioForGroupedData(o.bar.data())},updateBarColor(e){const t=this,s=t.getStylePropValue(t.color);return t.config.bar_linearGradient?t.getGradienColortUrl(e.id):s?s(e):null},redrawBar(e,t,s=!1){const i=this,{bar:n}=s?i.$el.subchart:i.$el;return[i.$T(n,t,Lt()).attr("d",a=>(L(a.value)||i.isBarRangeType(a))&&e(a)).style("fill",i.updateBarColor.bind(i)).style("opacity",null)]},generateDrawBar(e,t){const s=this,{config:i}=s,n=s.generateGetBarPoints(e,t),a=i.axis_rotated,o=i.bar_radius,r=i.bar_radius_ratio,l=L(o)&&o>0?()=>o:L(r)?c=>c*r:null;return(c,u)=>{const d=n(c,u),h=+a,g=+!h,f=c.value<0,p=i[`axis_${s.axis.getId(c.id)}_inverted`],_=!p&&f||p&&!f,x=["",""];let m=0;const $=s.isGrouped(c.id),b=l&&$?s.isStackingRadiusData(c):!1;if(l){const y=a?g:h,v=d[2][y]-d[0][y];m=!$||b?l(v):0;const R=`a${m},${m} ${_?"1 0 0":"0 0 1"} `;x[+!a]=`${R}${m},${m}`,x[+a]=`${R}${[-m,m][a?"sort":"reverse"]()}`,_&&x.reverse()}const A=a?`H${d[1][h]+(_?m:-m)} ${x[0]}V${d[2][g]-m} ${x[1]}H${d[3][h]}`:`V${d[1][g]+(_?-m:m)} ${x[0]}H${d[2][h]-m} ${x[1]}V${d[3][g]}`;return`M${d[0][h]},${d[0][g]}${A}z`}},isStackingRadiusData(e){const t=this,{$el:s,config:i,data:n,state:a}=t,{id:o,index:r,value:l}=e;if(a.hiddenTargetIds.indexOf(o)>-1){const h=s.bar.filter(g=>g.id===o&&g.value===l);return!h.empty()&&/a\d+/i.test(h.attr("d"))}const c=i.data_groups.find(h=>h.indexOf(o)>-1),d=t.orderTargets(t.filterTargetsToShow(n.targets.filter(t.isBarType,t))).filter(h=>c.indexOf(h.id)>-1).map(h=>h.values.filter(g=>g.index===r&&(L(l)&&l>0?g.value>0:g.value<0))[0]).filter(Boolean).map(h=>h.id);return l!==0&&d.indexOf(o)===d.length-1},generateGetBarPoints(e,t){const s=this,{config:i}=s,n=t?s.axis.subX:s.axis.x,a=s.getIndicesMax(e)+1,o=s.getBarW("bar",n,a),r=s.getShapeX(o,e,!!t),l=s.getShapeY(!!t),c=s.getShapeOffset(s.isBarType,e,!!t),u=s.getYScaleById.bind(s);return(d,h)=>{const{id:g}=d,f=u.call(s,g,t)(s.getShapeYMin(g)),p=c(d,h)||f,_=L(o)?o:o[d.id]||o._$width,x=i[`axis_${s.axis.getId(g)}_inverted`],m=d.value,$=r(d);let b=l(d);i.axis_rotated&&!x&&(m>0&&bt.isBubbleZType(o)?t.getBubbleZData(o.value,"y"):X(o.value)?o.value.mid:o.value)),n=s*s*Math.PI,a=(t.isBubbleZType(e)?t.getBubbleZData(e.value,"z"):e.value)*(n/i);return Math.sqrt(a/Math.PI)},getBubbleZData(e,t){return X(e)?e[t]:e[t==="y"?0:1]}},Do=Object.defineProperty,ei=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,si=(e,t,s)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Mo=(e,t)=>{for(var s in t||(t={}))zo.call(t,s)&&si(e,s,t[s]);if(ei)for(var s of ei(t))Fo.call(t,s)&&si(e,s,t[s]);return e},Xo={initCandlestick(){const{$el:e}=this;e.candlestick=e.main.select(`.${z.chart}`).append("g").attr("class",Et.chartCandlesticks)},updateTargetsForCandlestick(e){const t=this,{$el:s}=t,i=t.getChartClass("Candlestick");s.candlestick||t.initCandlestick(),t.$el.main.select(`.${Et.chartCandlesticks}`).selectAll(`.${Et.chartCandlestick}`).data(e).enter().append("g").attr("class",i).style("pointer-events","none")},updateCandlestick(e,t=!1){const s=this,{$el:i,$T:n}=s,a=t?i.subchart:i,o=s.getClass("candlestick",!0),r=s.initialOpacity.bind(s),l=a.main.selectAll(`.${Et.chartCandlestick}`).selectAll(`.${Et.candlestick}`).data(s.labelishData.bind(s));n(l.exit(),e).style("opacity","0").remove();const c=l.enter().filter(u=>u.value).append("g").attr("class",o);c.append("line"),c.append("path"),a.candlestick=l.merge(c).style("opacity",r)},generateDrawCandlestick(e,t){const s=this,{config:i}=s,n=s.generateGetCandlestickPoints(e,t),a=i.axis_rotated,o=i.candlestick_color_down;return(r,l,c)=>{const u=n(r,l),d=s.getCandlestickData(r),h=d==null?void 0:d._isUp,g=+a,f=+!g;c.classed&&c.classed(Et[h?"valueUp":"valueDown"],!0);const p=a?`H${u[1][1]} V${u[1][0]} H${u[0][1]}`:`V${u[1][1]} H${u[1][0]} V${u[0][1]}`;c.select("path").attr("d",`M${u[0][g]},${u[0][f]}${p}z`).style("fill",m=>(h?s.color(m):X(o)?o[m.id]:o)||s.color(m));const _=c.select("line"),x=a?{x1:u[2][1],x2:u[2][2],y1:u[2][0],y2:u[2][0]}:{x1:u[2][0],x2:u[2][0],y1:u[2][1],y2:u[2][2]};for(const m in x)_.attr(m,x[m])}},generateGetCandlestickPoints(e,t=!1){const s=this,i=t?s.axis.subX:s.axis.x,n=s.getIndicesMax(e)+1,a=s.getBarW("candlestick",i,n),o=s.getShapeX(a,e,!!t),r=s.getShapeY(!!t),l=s.getShapeOffset(s.isBarType,e,!!t),c=s.getYScaleById.bind(s);return(u,d)=>{const h=c.call(s,u.id,t)(s.getShapeYMin(u.id)),g=l(u,d)||h,f=L(a)?a:a[u.id]||a._$width,p=s.getCandlestickData(u);let _;if(p&&L(p.open)&&L(p.close)){const x={start:o(u),end:0};x.end=x.start+f;const m={start:r(p.open),end:r(p.close)},$={x:x.start+f/2,high:r(p.high),low:r(p.low)};m.start-=h-g,_=[[x.start,m.start],[x.end,m.end],[$.x,$.low,$.high]]}else _=[[0,0],[0,0],[0,0,0]];return _}},redrawCandlestick(e,t,s=!1){const i=this,{$el:n,$T:a}=i,{candlestick:o}=s?n.subchart:n,r=Lt(!0);return[o.each(function(l,c){const u=a((0,S.select)(this),t,r);e(l,c,u)}).style("opacity",null)]},getCandlestickData({value:e}){let t;if(N(e)){const[s,i,n,a,o=!1]=e;t={open:s,high:i,low:n,close:a},o!==!1&&(t.volume=o)}else X(e)&&(t=Mo({},e));return t&&(t._isUp=t.close>=t.open),t||null}},Bo=Object.defineProperty,ii=Object.getOwnPropertySymbols,No=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,ni=(e,t,s)=>t in e?Bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Vo=(e,t)=>{for(var s in t||(t={}))No.call(t,s)&&ni(e,s,t[s]);if(ii)for(var s of ii(t))Go.call(t,s)&&ni(e,s,t[s]);return e};function Ae(e=!1){const t=this,{config:s,state:{current:{width:i,height:n}}}=t,a=t.getCurrentPadding(),o=Vo({width:i-(a.left+a.right),height:n-(s.legend_show?t.getLegendHeight()+10:0)-(a.top+a.bottom)},a);if(e){const{width:r,height:l}=ai.call(t,{width:o.width,height:o.height});o.width{let r=a;return X(a)&&(r=e[o?"height":"width"]*a.ratio),r}),{width:i,height:n}}function Yo(e){const t=this,{top:s,left:i,width:n}=Ae.call(t,!0),a=[];return e.forEach((o,r)=>{const{ratio:l}=o,c=r>0?a[r-1][2][1]:s;a.push(o.coords=[[i,c],[i+n,c],[i+n,r>0?l+c:l+s],[i,r>0?l+c:l+s],[i,c]])}),a}function oi(e=!1){const t=this,{width:s,height:i,top:n,left:a}=Ae.call(t,!0),o=ai.call(t,{width:s,height:i}),r=(s-o.width)/2,l=(s+o.width)/2,c=i-o.height,u=[[0,0],[s,0],[l,c],[l,i],[r,i],[r,c],[0,0]];return e&&u.forEach(d=>{d[0]+=a,d[1]+=n}),`M${u.join("L")}z`}function jo(e){const t=this,{config:s}=t,i=e.map(n=>({id:n.id,value:n.values.reduce((a,o)=>a+o.value,0)}));return s.data_order&&i.sort(t.getSortCompareFn.bind(t)(!0)),ri.call(t,i)}function ri(e){const t=this,{height:s}=Ae.call(t),i=t.getTotalDataSum(!0);return e.forEach(n=>{n.ratio=n.value/i*s}),e}var Ho={initFunnel(){const e=this,{$el:t}=e;t.funnel=t.main.select(`.${z.chart}`).append("g").classed(oe.chartFunnels,!0),t.funnel.background=t.funnel.append("path").classed(oe.funnelBackground,!0),e.bindFunnelEvent()},bindFunnelEvent(){const e=this,{$el:{funnel:t},config:s,state:i}=e,n=a=>{var o;const r=a.isTrusted?a.target:(o=i.eventReceiver.rect)==null?void 0:o.node();let l;return/^path$/i.test(r.tagName)&&(i.event=a,l=(0,S.select)(r).datum()),l};if(s.interaction_enabled){const a=i.inputType==="touch";t.on(a?"touchstart":"mouseover mousemove",o=>{const r=n(o);r&&(e.showTooltip([r],o.target),/^(touchstart|mouseover)$/.test(o.type)&&e.setOverOut(!0,r))}).on(a?"touchend":"mouseout",o=>{const r=n(o);e.hideTooltip(),e.setOverOut(!1,r)})}},updateTargetsForFunnel(e){const t=this,{$el:{funnel:s}}=t,i=t.getChartClass("Funnel"),n=t.getClass("funnel",!0);s||t.initFunnel();const a=jo.call(t,e.filter(t.isFunnelType.bind(t))),o=s.selectAll(`.${oe.chartFunnel}`).data(a);o.exit().remove();const r=o.enter().insert("g",`.${oe.funnelBackground}`);r.append("path"),s.path=r.merge(o).attr("class",l=>i(l)).select("path").attr("class",n).style("opacity","0").style("fill",t.color)},updateFunnel(e){const t=this,{$el:{funnel:s}}=t,i=e.map(({id:n})=>n);s.path=s.path.filter(n=>i.indexOf(n.id)>=0)},generateGetFunnelPoints(){const e=this,{$el:{funnel:t}}=e,s=e.filterTargetsToShow(t.path),{top:i,left:n,right:a}=Ae.call(e),o=(n-a)/2,r={};let l=i!=null?i:0;return s.each((c,u)=>{var d;r[c.id]=[[o,l],[o,l+=((d=s==null?void 0:s[u])!=null?d:c).ratio]]}),c=>r[c.id]},redrawFunnel(){const e=this,{$T:t,$el:{funnel:s}}=e,i=e.filterTargetsToShow(s.path),n=Yo.call(e,ri.call(e,i.data()));s.attr("clip-path",`path('${oi.bind(e)()}')`),s.background.attr("d",oi.call(e,!0)),t(i).attr("d",(a,o)=>`M${n[o].join("L")}z`).style("opacity","1"),s.selectAll("g").style("opacity",null)}},Wo={initGauge(){const e=this,{config:t,$el:{arcs:s}}=e,i=(n=null,a="")=>{s.append("text").attr("class",n).style("text-anchor","middle").style("pointer-events","none").text(a)};if(e.hasType("gauge")){const n=e.hasMultiArcGauge();s.append(n?"g":"path").attr("class",G.chartArcsBackground).style("fill",!n&&t.gauge_background||null),t.gauge_units&&i(_t.chartArcsGaugeUnit),t.gauge_label_show&&(i(_t.chartArcsGaugeMin),!t.gauge_fullCircle&&i(_t.chartArcsGaugeMax))}},updateGaugeMax(){const e=this,{config:t,state:s}=e,n=e.hasMultiArcGauge()?e.getMinMaxData().max[0].value:e.getTotalDataSum(s.rendered);!t.gauge_enforceMinMax&&n+t.gauge_min*(t.gauge_min>0?-1:1)>t.gauge_max&&(t.gauge_max=n-t.gauge_min)},redrawArcGaugeLine(){const e=this,{config:t,state:s,$el:i}=e,{hiddenTargetIds:n}=e.state,a=i.main.selectAll(`.${G.arcs}`).selectAll(`.${G.arcLabelLine}`).data(e.arcData.bind(e));a.enter().append("rect").attr("class",r=>`${G.arcLabelLine} ${z.target} ${z.target}-${r.data.id}`).merge(a).style("fill",r=>e.levelColor?e.levelColor(r.data.values[0].value):e.color(r.data)).style("display",t.gauge_label_show?null:"none").each(function(r){let l=0;const c=2;let u=0,d=0,h="";if(n.indexOf(r.data.id)<0){const g=e.updateAngle(r),f=s.gaugeArcWidth/e.filterTargetsToShow(e.data.targets).length*(g.index+1),p=g.endAngle-Math.PI/2,_=s.radius-f,x=p-(_===0?0:1/_);l=s.radiusExpanded-s.radius+f,u=Math.cos(x)*_,d=Math.sin(x)*_,h=`rotate(${p*180/Math.PI}, ${u}, ${d})`}(0,S.select)(this).attr("x",u).attr("y",d).attr("width",l).attr("height",c).attr("transform",h).style("stroke-dasharray",`0, ${l+c}, 0`)})},textForGaugeMinMax(e,t){const s=this,{config:i}=s,n=i.gauge_label_extents;return P(n)?n.bind(s.api)(e,t):e},getGaugeLabelHeight(){const{config:e}=this;return this.config.gauge_label_show&&!e.gauge_fullCircle?20:0},getPaddingBottomForGauge(){const e=this;return e.getGaugeLabelHeight()*(e.config.gauge_label_show?2:2.5)}};function Uo(e,t,s,i=!1){const n=e?[e,0]:s;for(let a=e||s.reduce((o,r)=>o+r);a<=t;)s.forEach(o=>{a+o<=t&&n.push(o),a+=o});return n.length%2!==0&&n.push(i?s[1]:0),{dash:n.join(" "),length:n.reduce((a,o)=>a+o,0)}}function Zo(e,t,s){const i=this,n=[],a="2 2";if(W(t)){const o=(r,l)=>it(r)?l:s?mt.call(i,r):r;for(let r=0,l;l=t[r];r++){const c=o(l.start,e[0].x),u=o(l.end,e[e.length-1].x),d=l.style||{dasharray:a};n[r]={start:c,end:u,style:d}}}return n}var qo={initLine(){const{$el:e}=this;e.line=e.main.select(`.${z.chart}`).append("g").attr("class",kt.chartLines).call(this.setCssRule(!1,`.${kt.chartLines}`,["pointer-events:none"]))},updateTargetsForLine(e){const t=this,{$el:{area:s,line:i,main:n}}=t,a=t.getChartClass("Line"),o=t.getClass("lines",!0),r=t.classFocus.bind(t);i||t.initLine();const l=e.filter(d=>!(t.isScatterType(d)||t.isBubbleType(d))),c=n.select(`.${kt.chartLines}`).selectAll(`.${kt.chartLine}`).data(l).attr("class",d=>a(d)+r(d)),u=c.enter().append("g").attr("class",a).style("opacity","0").style("pointer-events",t.getStylePropValue("none"));if(u.append("g").attr("class",o),t.hasTypeOf("Area")){const d=(!s&&u.empty()?c:u).filter(t.isAreaType.bind(t));t.initArea(d)}t.updateTargetForCircle(l,u)},updateLine(e,t=!1){const s=this,{format:{extraLineClasses:i},$el:n,$T:a}=s,o=t?n.subchart:n,r=o.main.selectAll(`.${kt.lines}`).selectAll(`.${kt.line}`).data(s.lineData.bind(s));a(r.exit(),e).style("opacity","0").remove(),o.line=r.enter().append("path").attr("class",l=>`${s.getClass("line",!0)(l)} ${i(l)||""}`).style("stroke",s.color).merge(r).style("opacity",s.initialOpacity.bind(s)).attr("transform",null)},redrawLine(e,t,s=!1){const i=this,{$el:n,$T:a}=i,{line:o}=s?n.subchart:n;return[a(o,t,Lt()).attr("d",e).style("stroke",this.color).style("opacity",null)]},getCurve(e){const t=this;return t.config.axis_rotated&&t.isStepType(e)?i=>{const n=t.getInterpolate(e)(i);return n.orgPoint=n.point,n.pointRotated=function(a,o){this._point===1&&(this._point=2);const r=this._y*(1-this._t)+o*this._t;this._context.lineTo(this._x,r),this._context.lineTo(a,r),this._x=a,this._y=o},n.point=function(a,o){this._point===0?this.orgPoint(a,o):this.pointRotated(a,o)},n}:t.getInterpolate(e)},generateDrawLine(e,t){const s=this,{config:i,scale:n}=s,a=i.line_connectNull,o=i.axis_rotated,r=s.generateGetLinePoints(e,t),l=s.getYScaleById.bind(s),c=g=>(t?s.subxx:s.xx).call(s,g),u=(g,f)=>s.isGrouped(g.id)?r(g,f)[0][1]:l(g.id,t)(s.getBaseValue(g));let d=(0,tt.line)();d=o?d.x(u).y(c):d.x(c).y(u),a||(d=d.defined(g=>s.getBaseValue(g)!==null));const h=t?n.subX:n.x;return g=>{const f=l(g.id,t);let p=a?s.filterRemoveNull(g.values):g.values,_=0,x=0,m;if(s.isLineType(g)){const $=i.data_regions[g.id];$?m=s.lineWithRegions(p,n.zoom||h,f,$):(s.isStepType(g)&&(p=s.convertValuesToStep(p)),m=d.curve(s.getCurve(g))(p))}else p[0]&&(_=h(p[0].x),x=f(p[0].value)),m=o?`M ${x} ${_}`:`M ${_} ${x}`;return m||"M 0 0"}},lineWithRegions(e,t,s,i){const n=this,{config:a}=n,o=a.axis_rotated,r=n.axis.isTimeSeries(),l="2 2",c=Zo.bind(n)(e,i,r),u=n.hasNullDataValue(e);let d,h,g,f;const p=o?T=>s(T.value):T=>t(T.x),_=o?T=>t(T.x):T=>s(T.value),x=T=>`M${T[0][0]},${T[0][1]}L${T[1][0]},${T[1][1]}`,m=r?(T,C,I,k)=>{const O=T.x.getTime(),M=C.x-T.x,Y=new Date(O+M*I),Q=new Date(O+M*(I+k)),rt=o?[[s(h(I)),t(Y)],[s(h(I+g)),t(Q)]]:[[t(Y),s(h(I))],[t(Q),s(h(I+g))]];return x(rt)}:(T,C,I,k)=>{const O=t(C.x,!o),M=s(C.value,o),Y=I+k,Q=t(d(I),!o),rt=s(h(I),o);let yt=t(d(Y),!o),Rt=s(h(Y),o);yt>O&&(yt=O),T.value>C.value&&(o?RtM)&&(Rt=M);const at=[[Q,rt],[yt,Rt]];return o&&at.forEach(Ct=>Ct.reverse()),x(at)},$={x:n.axis.getAxisType("x"),y:n.axis.getAxisType("y")};let b="";const A=n.$el.line.filter(({id:T})=>T===e[0].id),y=A.clone().style("display","none"),v=(T,C)=>T.attr("d",C).node().getTotalLength(),R={dash:[],lastLength:0};let w=!1;for(let T=0,C;C=e[T];T++){const I=e[T-1],k=I&&F(I.value);let O=n.isWithinRegions(C.x,c);if(F(C.value)){if(it(c)||!O||!k)b+=`${T&&k?"L":"M"}${p(C)},${_(C)}`;else if(k)if(O=((O==null?void 0:O.dasharray)||l).split(" ").map(Number),d=Yt($.x,I.x,C.x),h=Yt($.y,I.value,C.value),u){const M=t(C.x)-t(I.x),Y=s(C.value)-s(I.value),Q=Math.sqrt(Math.pow(M,2)+Math.pow(Y,2));g=O[0]/Q,f=g*O[1];for(let rt=g;rt<=1;rt+=f)b+=m(I,C,rt,g),rt+f>=1&&(b+=m(I,C,1,0))}else{let M=[];if(w=C.x===e[e.length-1].x,r){const yt=+I.x,Rt=new Date(yt),at=new Date(yt+(+C.x-yt));M=[[t(Rt),s(h(0))],[t(at),s(h(1))]]}else M=[[t(d(0)),s(h(0))],[t(d(1)),s(h(1))]];o&&M.forEach(yt=>yt.reverse());const Y=v(y,b),Q=v(y,b+=`L${M[1].join(",")}`),rt=Uo(Y-R.lastLength,Q-R.lastLength,O,w);R.lastLength+=rt.length,R.dash.push(rt.dash)}}}return R.dash.length&&(!w&&R.dash.push(v(y,b)),y.remove(),A.attr("stroke-dasharray",R.dash.join(" "))),b},isWithinRegions(e,t){for(let s=0,i;i=t[s];s++)if(i.startLt();var we={initialOpacityForCircle(e){const{config:t,state:{withoutFadeIn:s}}=this;let i=t.point_opacity;return it(i)&&(i=this.getBaseValue(e)!==null&&s[e.id]?this.opacityForCircle(e):"0"),i},opacityForCircle(e){var t;const{config:s}=this;let i=s.point_opacity;return it(i)&&(i=s.point_show&&!((t=this.isPointFocusOnly)!=null&&t.call(this))?null:"0",i=F(this.getBaseValue(e))?this.isBubbleType(e)||this.isScatterType(e)?"0.5":i:"0"),i},initCircle(){const e=this,{$el:{main:t}}=e;!e.point&&(e.point=e.generatePoint()),(e.hasType("bubble")||e.hasType("scatter"))&&t.select(`.${z.chart} > .${ut.chartCircles}`).empty()&&t.select(`.${z.chart}`).append("g").attr("class",ut.chartCircles)},updateTargetForCircle(e,t){const s=this,{config:i,data:n,$el:a}=s,o=i.interaction_enabled&&i.data_selection_enabled,r=o&&i.data_selection_isselectable,l=s.getClass("circles",!0);if(!i.point_show)return;s.initCircle();let c=e,u=t;if(!c){c=n.targets.filter(h=>this.isScatterType(h)||this.isBubbleType(h));const d=a.main.select(`.${ut.chartCircles}`).style("pointer-events","none").selectAll(`.${ut.circles}`).data(c);d.exit().remove(),u=d.enter()}o&&u.append("g").attr("class",d=>s.generateClass(J.selectedCircles,d.id)),u.append("g").attr("class",l).call(d=>{s.setCssRule(!0,`.${ut.circles}`,["cursor:pointer"],r)(d),s.setCssRule(!0,` .${ut.circle}`,["fill","stroke"],s.color)(d)}).style("opacity",function(){return(0,S.select)(this.parentNode).attr("class").indexOf(ut.chartCircles)>-1?"0":null}),o&&c.forEach(d=>{a.main.selectAll(`.${J.selectedCircles}${s.getTargetSelectorSuffix(d.id)}`).selectAll(`${J.selectedCircle}`).each(h=>{h.value=d.values[h.index].value})})},updateCircle(e=!1){const t=this,{config:s,state:i,$el:n}=t,a=t.isPointFocusOnly(),o=e?n.subchart:n;if(s.point_show&&!i.toggling){s.point_radialGradient&&t.updateLinearGradient();const r=o.main.selectAll(`.${ut.circles}`).selectAll(`.${ut.circle}`).data(l=>t.isLineType(l)&&t.shouldDrawPointsForLine(l)||t.isBubbleType(l)||t.isRadarType(l)||t.isScatterType(l)?a?[l.values[0]]:l.values:[]);r.exit().remove(),r.enter().filter(Boolean).append(t.point("create",this,t.pointR.bind(t),t.updateCircleColor.bind(t))),o.circle=o.main.selectAll(`.${ut.circles} .${ut.circle}`).style("stroke",t.getStylePropValue(t.color)).style("opacity",t.initialOpacityForCircle.bind(t))}},updateCircleColor(e){const t=this,s=t.getStylePropValue(t.color);return t.config.point_radialGradient?t.getGradienColortUrl(e.id):s?s(e):null},redrawCircle(e,t,s,i,n=!1){const a=this,{state:{rendered:o},$el:r,$T:l}=a,c=n?r.subchart:r,u=c.main.selectAll(`.${J.selectedCircle}`);if(!a.config.point_show)return[];const d=a.point("update",a,e,t,a.updateCircleColor.bind(a),s,i,u),h=a.isCirclePoint()?"c":"",g=Lt(),f=a.opacityForCircle.bind(a),p=[];return c.circle.each(function(_){let x=d.bind(this)(_);x=l(x,s||!o,g).style("opacity",f),p.push(x)}),[p,l(u,s).attr(`${h}x`,e).attr(`${h}y`,t)]},showCircleFocus(e){const t=this,{state:{hasRadar:s,resizing:i,toggling:n,transiting:a},$el:o}=t;let{circle:r}=o;if(a===!1&&r&&t.isPointFocusOnly()){const l=(s?t.radarCircleX:t.circleX).bind(t),c=(s?t.radarCircleY:t.circleY).bind(t),u=n||it(e),d=t.point("update",t,l,c,t.getStylePropValue(t.color),i?!1:u);e&&(r=r.filter(function(h){var g;const f=(g=e.filter)==null?void 0:g.call(e,p=>p.id===h.id);return f.length?(0,S.select)(this).datum(f[0]):!1})),r.attr("class",this.updatePointClass.bind(this)).style("opacity",null).each(function(h){const{id:g,index:f,value:p}=h;let _="hidden";F(p)&&(d.bind(this)(h),t.expandCircles(f,g),_=""),this.style.visibility=_})}},hideCircleFocus(){const e=this,{$el:{circle:t}}=e;e.isPointFocusOnly()&&t&&(e.unexpandCircles(),t.style("visibility","hidden"))},circleX(e){return this.xx(e)},updateCircleY(e=!1){const t=this,s=t.generateGetLinePoints(t.getShapeIndices(t.isLineType),e);return(i,n)=>{const a=i.id;return t.isGrouped(a)?s(i,n)[0][1]:t.getYScaleById(a,e)(t.getBaseValue(i))}},expandCircles(e,t,s){const i=this,n=i.pointExpandedR.bind(i);s&&i.unexpandCircles();const a=i.getShapeByIndex("circle",e,t).classed(z.EXPANDED,!0),o=n(a)/i.config.point_r,r=1-o;i.isCirclePoint()?a.attr("r",n):a.each(function(){const l=(0,S.select)(this);if(this.tagName==="circle")l.attr("r",n);else{const{width:c,height:u}=this.getBBox(),d=r*(+l.attr("x")+c/2),h=r*(+l.attr("y")+u/2);l.attr("transform",`translate(${d} ${h}) scale(${o})`)}})},unexpandCircles(e){const t=this,s=t.pointR.bind(t),i=t.getShapeByIndex("circle",e).filter(function(){return(0,S.select)(this).classed(z.EXPANDED)}).classed(z.EXPANDED,!1);if(i.attr("r",s),!t.isCirclePoint()){const n=s(i)/t.config.point_r;i.attr("transform",n!==1?`scale(${n})`:null)}},pointR(e){const t=this,{config:s}=t,i=s.point_r;let n=i;return t.isBubbleType(e)?n=t.getBubbleR(e):P(i)&&(n=i.bind(t.api)(e)),e.r=n,n},pointExpandedR(e){const t=this,{config:s}=t,i=t.isBubbleType(e)?1.15:1.75;return s.point_focus_expand_enabled?s.point_focus_expand_r||t.pointR(e)*i:t.pointR(e)},pointSelectR(e){const t=this,s=t.config.point_select_r;return P(s)?s(e):s||t.pointR(e)*4},isPointFocusOnly(){const e=this;return e.config.point_focus_only&&!e.hasType("bubble")&&!e.hasType("scatter")&&!e.hasArcType(null,["radar"])},isWithinCircle(e,t){const{config:s,state:i}=this,n=$t(i.event,e),a=(0,S.select)(e),o=this.isCirclePoint(e)?"c":"",r=s.point_sensitivity==="radius"?e.getAttribute("r"):s.point_sensitivity;let l=+a.attr(`${o}x`),c=+a.attr(`${o}y`);if(!(l||c)&&e.nodeType===1){const{x:u,y:d}=$e(e);l=u,c=d}return Math.sqrt(Math.pow(l-n[0],2)+Math.pow(c-n[1],2))<(t||r)},getPointSensitivity(e){const t=this;let s=t.config.point_sensitivity;return P(s)?s=s.call(t.api,e):s==="radius"&&(s=e.r),s},updatePointClass(e){const t=this,{circle:s}=t.$el;let i=!1;return(X(e)||s)&&(i=e===!0?s.each(function(n){let a=t.getClass("circle",!0)(n);this.getAttribute("class").indexOf(z.EXPANDED)>-1&&(a+=` ${z.EXPANDED}`),this.setAttribute("class",a)}):t.getClass("circle",!0)(e)),i},generateGetLinePoints(e,t){const s=this,{config:i}=s,n=s.getShapeX(0,e,t),a=s.getShapeY(t),o=s.getShapeOffset(s.isLineType,e,t),r=s.getYScaleById.bind(s);return(l,c)=>{const u=r.call(s,l.id,t)(s.getShapeYMin(l.id)),d=o(l,c)||u,h=n(l);let g=a(l);i.axis_rotated&&(l.value>0&&gF(g.value)?t(g)-l/2:0,d=g=>F(g.value)?s(g)-c/2:0;let h=e;return n&&(a&&h.attr("x",u),h=r.$T(h,n,te()),o&&r.$T(o,n,te())),h.attr("x",u).attr("y",d).style("fill",i)}},circle:{create(e,t,s){return e.append("circle").attr("class",this.updatePointClass.bind(this)).attr("r",t).style("fill",s).node()},update(e,t,s,i,n,a,o){const r=this;let l=e;return r.hasType("bubble")&&l.attr("r",r.pointR.bind(r)),n&&(a&&l.attr("cx",t),l.attr("cx")&&(l=r.$T(l,n,te())),o&&r.$T(l,n,te())),l.attr("cx",t).attr("cy",s).style("fill",i)}},rectangle:{create(e,t,s){const i=n=>t(n)*2;return e.append("rect").attr("class",this.updatePointClass.bind(this)).attr("width",i).attr("height",i).style("fill",s).node()},update(e,t,s,i,n,a,o){const r=this,l=r.config.point_r,c=h=>t(h)-l,u=h=>s(h)-l;let d=e;return n&&(a&&d.attr("x",c),d=r.$T(d,n,te()),o&&r.$T(o,n,te())),d.attr("x",c).attr("y",u).style("fill",i)}}};function Ko(e){return wt(e)&&P(e.create)&&P(e.update)}function Jo(e,t){var s;const i=this,n=(l,c)=>{const u=l.attributes;for(let d=0,h;h=u[d];d++)h=h.name,c.setAttribute(h,l.getAttribute(h))},o=new DOMParser().parseFromString(e,"image/svg+xml").documentElement,r=lt.createElementNS(S.namespaces.svg,o.nodeName.toLowerCase());if(r.id=t,r.style.fill="inherit",r.style.stroke="inherit",n(o,r),(s=o.childNodes)!=null&&s.length){const l=(0,S.select)(r);"innerHTML"in r?l.html(o.innerHTML):Gt(o.childNodes).forEach(c=>{n(c,l.append(c.tagName).node())})}i.$el.defs.node().appendChild(r)}var ee={hasValidPointType(e){return/^(circle|rect(angle)?|polygon|ellipse|use)$/i.test(e||this.config.point_type)},hasLegendDefsPoint(){var e;const{config:t}=this;return t.legend_show&&((e=t.point_pattern)==null?void 0:e.length)&&t.legend_usePoint},getDefsPointId(e){const{state:{datetimeId:t}}=this;return`${t}-point${e}`},generatePoint(){const e=this,{$el:t,config:s}=e,i=[],n=nt(s.point_pattern)?s.point_pattern:[s.point_type];return function(a,o,...r){return function(l){var c,u,d,h;const g=e.getTargetSelectorSuffix(l.id||((c=l.data)==null?void 0:c.id)||l),f=(0,S.select)(this);i.indexOf(g)<0&&i.push(g);let p=n[i.indexOf(g)%n.length];if(e.hasValidPointType(p))p=e[p];else if(!Ko(p||s.point_type)){const _=e.getDefsPointId(g);if(t.defs.select(`#${_}`).size()<1&&Jo.bind(e)(p,_),a==="create")return(u=e.custom)==null?void 0:u.create.bind(o)(f,_,...r);if(a==="update")return(d=e.custom)==null?void 0:d.update.bind(o)(f,...r)}return(h=p[a])==null?void 0:h.bind(o)(f,...r)}}}};function li(e){const t=e.config.polar_level_max;let s=e.getMinMaxData().max[0].value;return t&&t>s&&(s=t),s}var Qo={initPolar(){const e=this,{$el:{arcs:t},config:s}=e,i=s.polar_level_text_show,n=s.polar_level_text_backgroundColor;t.levels=t.append("g").attr("class",Dt.levels),i&&n&&e.generateTextBGColorFilter(n)},getPolarOuterRadius(e,t){var s;const i=li(this);return((s=e==null?void 0:e.data.values[0].value)!=null?s:0)/i*t},updateTargetsForPolar(e){this.updateTargetsForArc(e)},redrawPolar(){const e=this,{config:t}=e;t.polar_level_show&&e.updatePolarLevel()},updatePolarLevel(){const e=this,{config:t,state:s,$el:{arcs:{levels:i}}}=e,n=t.polar_level_depth,a=li(e),o=ye(0,n),r=s.radius,l=o.map(h=>r*((h+1)/n)),c=(t.polar_level_text_format||function(){}).bind(e.api),u=i.selectAll(`.${Dt.level}`).data(o);u.exit().remove();const d=u.enter().append("g").attr("class",(h,g)=>`${Dt.level} ${Dt.level}-${g}`);if(d.append("circle"),d.merge(u).selectAll("circle").style("visibility",t.polar_level_show?null:"hidden").attr("cx",0).attr("cy",0).attr("r",h=>l[h]),t.polar_level_text_show){const h=t.polar_level_text_backgroundColor,g=`#${s.datetimeId}-labels-bg${e.getTargetSelectorSuffix(h)}`;d.append("text").style("text-anchor","middle"),d.merge(u).selectAll("text").attr("dy",f=>-l[f]+5).attr("filter",h?`url(${g})`:null).text(f=>c(a/o.length*(f+1)))}}};function tr(e,t,s,i,n,a){const o=e&&i>0?s-i:i,r=2*Math.PI;return n*(1-a*(t==="x"?Math.sin:Math.cos)(o*r/s))}const se=pt.radarPoints,ci=pt.radarTextWidth;var er={initRadar(){const e=this,{config:t,state:{current:s},$el:i}=e;e.hasType("radar")&&(i.radar=i.main.select(`.${z.chart}`).append("g").attr("class",Je.chartRadars),i.radar.levels=i.radar.append("g").attr("class",Dt.levels),i.radar.axes=i.radar.append("g").attr("class",ot.axis),i.radar.shapes=i.radar.append("g").attr("class",st.shapes),s.dataMax=t.radar_axis_max||e.getMinMaxData().max[0].value,t.radar_axis_text_show&&(t.interaction_enabled&&e.bindRadarEvent(),e.updateRadarLevel(),e.updateRadarAxes()))},getRadarSize(){const e=this,{config:t,state:{arcWidth:s,arcHeight:i}}=e,n=t.axis_x_categories.length<4?-20:10,a=(Math.min(s,i)-n)/2;return[a,a]},updateTargetsForRadar(e){const t=this,{config:s}=t;Tt(s.axis_x_categories)&&(s.axis_x_categories=ye(0,At("max",e.map(i=>i.values.length)))),t.generateRadarPoints()},getRadarPosition(e,t,s,i){const n=this,{config:a}=n,[o,r]=n.getRadarSize(),l=a.axis_x_categories.length,c=a.radar_direction_clockwise,u=Gt(e).map(d=>tr(c,d,l,t,W(s)?s:e==="x"?o:r,L(i)?i:a.radar_size_ratio));return u.length===1?u[0]:u},generateRadarPoints(){const e=this,t=e.data.targets,[s,i]=e.getRadarSize(),n=e.cache.get(se)||{},a=n._size;(!a||a.width!==s&&a.height!==i)&&(t.forEach(o=>{n[o.id]=o.values.map((r,l)=>e.getRadarPosition(["x","y"],l,void 0,e.getRatio("radar",r)))}),n._size={width:s,height:i},e.cache.add(se,n))},redrawRadar(){const e=this,{radar:t,main:s}=e.$el,i=e.getTranslate("radar");i&&(t.attr("transform",i),s.select(`.${gt.chartTexts}`).attr("transform",i),e.generateRadarPoints(),e.updateRadarLevel(),e.updateRadarAxes(),e.updateRadarShape())},generateGetRadarPoints(){const e=this.cache.get(se);return(t,s)=>{const i=e[t.id][s];return[i,i,i,i]}},updateRadarLevel(){const e=this,{config:t,state:s,$el:{radar:i}}=e,[n,a]=e.getRadarSize(),o=t.radar_level_depth,r=t.axis_x_categories.length,l=t.radar_level_text_show,c=i.levels,u=ye(0,o),d=t.radar_size_ratio*Math.min(n,a),h=u.map(x=>d*((x+1)/o)),g=(t.radar_level_text_format||function(){}).bind(e.api),f=u.map(x=>{const m=h[x];return ye(0,r).map(b=>e.getRadarPosition(["x","y"],b,m,1).join(",")).join(" ")}),p=c.selectAll(`.${Dt.level}`).data(u);p.exit().remove();const _=p.enter().append("g").attr("class",(x,m)=>`${Dt.level} ${Dt.level}-${m}`);_.append("polygon").style("visibility",t.radar_level_show?null:"hidden"),l&&(c.select("text").empty()&&c.append("text").attr("dx","-.5em").attr("dy","-.7em").style("text-anchor","end").text(()=>g(0)),_.append("text").attr("dx","-.5em").style("text-anchor","end").text(x=>g(s.current.dataMax/u.length*(x+1)))),_.merge(p).attr("transform",x=>`translate(${n-h[x]}, ${a-h[x]})`).selectAll("polygon").attr("points",x=>f[x]),l&&c.selectAll("text").attr("x",x=>it(x)?n:f[x].split(",")[0]).attr("y",x=>it(x)?a:0)},updateRadarAxes(){const e=this,{config:t,$el:{radar:s}}=e,[i,n]=e.getRadarSize(),a=t.axis_x_categories;let o=s.axes.selectAll("g").data(a);o.exit().remove();const r=o.enter().append("g").attr("class",(l,c)=>`${ot.axis}-${c}`);if(t.radar_axis_line_show&&r.append("line"),t.radar_axis_text_show&&r.append("text"),o=r.merge(o),t.radar_axis_line_show&&o.select("line").attr("x1",i).attr("y1",n).attr("x2",(l,c)=>e.getRadarPosition("x",c)).attr("y2",(l,c)=>e.getRadarPosition("y",c)),t.radar_axis_text_show){const{x:l=0,y:c=0}=t.radar_axis_text_position,u=e.cache.get(ci)||0;if(o.select("text").style("text-anchor","middle").attr("dy",".5em").call(d=>{d.each(function(h){le((0,S.select)(this),String(h),[-.6,1.2])})}).datum((d,h)=>({index:h})).attr("transform",function(d){it(this.width)&&(this.width=this.getBoundingClientRect().width/2);let h=e.getRadarPosition("x",d.index,void 0,1),g=Math.round(e.getRadarPosition("y",d.index,void 0,1));return h>i?h+=this.width+l:Math.round(h)n?(g/2===n&&this.firstChild.tagName==="tspan"&&this.firstChild.setAttribute("dy","0em"),g+=c):gos(h.node()).width);d.every(h=>h>0)&&e.cache.add(ci,d[0]-d[1])}}},bindRadarEvent(){const e=this,{state:t,$el:{radar:s,svg:i}}=e,n=e.isPointFocusOnly(),{inputType:a,transiting:o}=t,r=a==="mouse",l=c=>{t.event=c;const u=e.getDataIndexFromEvent(c),d=it(u);(r||d)&&(e.hideTooltip(),n?e.hideCircleFocus():e.unexpandCircles(),r?e.setOverOut(!1,u):d&&e.callOverOutForTouch())};s.axes.on(r?"mouseover ":"touchstart",c=>{if(o)return;t.event=c;const u=e.getDataIndexFromEvent(c);e.selectRectForSingle(i.node(),u),r?e.setOverOut(!0,u):e.callOverOutForTouch(u)}).on("mouseout",r?l:null),r||i.on("touchstart",l)},updateRadarShape(){const e=this,t=e.data.targets.filter(a=>e.isRadarType(a)),s=e.cache.get(se),i=e.$el.radar.shapes.selectAll("polygon").data(t),n=i.enter().append("g").attr("class",e.getChartClass("Radar"));e.$T(i.exit()).remove(),n.append("polygon").merge(i).style("fill",e.color).style("stroke",e.color).attr("points",a=>s[a.id].join(" ")),e.updateTargetForCircle(t,n)},radarCircleX(e){return this.cache.get(se)[e.id][e.index][0]},radarCircleY(e){return this.cache.get(se)[e.id][e.index][1]}},Ot=U(14);function sr(e,t){const s=this,{scale:{x:i,y:n},state:{width:a}}=s;e.selectAll("g").attr("transform",o=>`translate(${o===t?"0,0":`${i(o.x0)},${n(o.y0)}`})`).select("rect").attr("width",o=>o===t?a:i(o.x1)-i(o.x0)).attr("height",o=>o===t?0:n(o.y1)-n(o.y0))}function ir(e){const t=this;return e.map(s=>{const{id:i,values:n}=s,{value:a}=n[0];return{name:i,id:i,value:a,ratio:t.getRatio("treemap",n[0])}})}function nr(e){const t=this,s=(0,Ot.hierarchy)(e).sum(n=>n.value),i=t.getSortCompareFn(!0);return[t.treemap(i?s.sort(i):s)]}var ar={initTreemap(){const e=this,{$el:t,state:{current:{width:s,height:i},clip:n,datetimeId:a}}=e;n.id=`${a}-clip`,e.treemap=(0,Ot.treemap)().tile(e.getTreemapTile()),t.defs.append("clipPath").attr("id",n.id).append("rect").attr("width",s).attr("height",i),t.treemap=t.main.select(`.${z.chart}`).attr("clip-path",`url(#${n.id})`).append("g").classed(ts.chartTreemaps,!0),e.bindTreemapEvent()},bindTreemapEvent(){const e=this,{$el:t,config:s,state:i}=e,n=a=>{var o;const r=a.isTrusted?a.target:(o=i.eventReceiver.rect)==null?void 0:o.node();let l;return/^rect$/i.test(r.tagName)&&(i.event=a,l=(0,S.select)(r).datum()),l==null?void 0:l.data};if(s.interaction_enabled){const a=i.inputType==="touch";t.treemap.on(a?"touchstart":"mouseover mousemove",o=>{const r=n(o);r&&(e.showTooltip([r],o.currentTarget),/^(touchstart|mouseover)$/.test(o.type)&&e.setOverOut(!0,r))}).on(a?"touchend":"mouseout",o=>{const r=n(o);e.hideTooltip(),e.setOverOut(!1,r)})}},getTreemapTile(){var e,t;const s=this,{config:i,state:{current:{width:n,height:a}}}=s,o=(t={binary:Ot.treemapBinary,dice:Ot.treemapDice,slice:Ot.treemapSlice,sliceDice:Ot.treemapSliceDice,squarify:Ot.treemapSquarify,resquarify:Ot.treemapResquarify}[(e=i.treemap_tile)!=null?e:"binary"])!=null?t:Ot.treemapBinary;return(r,l,c,u,d)=>{o(r,0,0,n,a);for(const h of r.children)h.x0=l+h.x0/n*(u-l),h.x1=l+h.x1/n*(u-l),h.y0=c+h.y0/a*(d-c),h.y1=c+h.y1/a*(d-c)}},getTreemapData(e){const t=this;return{name:"root",children:ir.bind(t)(t.filterTargetsToShow(e.filter(t.isTreemapType,t)))}},updateTargetsForTreemap(e){const t=this,{$el:{treemap:s}}=t,i=nr.call(t,t.getTreemapData(e!=null?e:t.data.targets));s.data(i)},updateTreemap(e){const t=this,{$el:s,$T:i}=t,n=s.treemap.datum(),a=t.getChartClass("Treemap"),o=t.getClass("treemap",!0),r=s.treemap.selectAll("g").data(n.children);i(r.exit(),e).style("opacity","0").remove(),r.enter().append("g").append("rect"),s.treemap.selectAll("g").attr("class",a).select("rect").attr("class",o).attr("fill",l=>t.color(l.data.name))},generateGetTreemapPoints(){const e=this,{$el:t,scale:{x:s,y:i}}=e,n={};return t.treemap.selectAll("g").each(a=>{n[a.data.name]=[[s(a.x0),i(a.y0)],[s(a.x1),i(a.y1)]]}),a=>n[a.id]},redrawTreemap(e){const t=this,{$el:s,state:{current:{width:i,height:n}}}=t;return s.defs.select("rect").attr("width",i).attr("height",n),[t.$T(s.treemap,e,Lt()).call(sr.bind(t),s.treemap.datum())]},treemapDataLabelFormat(e){const t=this,{config:s}=t,{id:i,value:n}=e,a=s.treemap_label_format,o=t.getRatio("treemap",e),r=(o*100).toFixed(2),l=s.treemap_label_show&&t.meetsLabelThreshold(o,"treemap")?null:"0";return function(c){return c.style("opacity",l),P(a)?a.bind(t.api)(n,o,i):`${i} -${r}%`}}},Ht={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},ie={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},or={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},rr={bubble_maxR:35,bubble_zerobased:!1},lr={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},cr={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},dr={scatter_zerobased:!1},He={spline_interpolation_type:"cardinal"},Se={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},ur={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},hr={funnel_neck_width:0,funnel_neck_height:0},gr={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},fr={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},pr={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:e=>e%1===0?e:e.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},xr={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:e=>e%1===0?e:e.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},_r={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ne(e,t){ct(jt.prototype,Object.values(Zs).concat(e)),ct(Xt.prototype,Ao),Vt.setOptions(Object.values(qs).concat(t||[]))}function It(e,t){ne([ee,we,qo].concat(e||[])),Vt.setOptions([Ht,cr].concat(t||[]))}function ae(e,t){ct(jt.prototype,[Po,ee].concat(e||[])),Vt.setOptions([Ht].concat(t||[]))}let di=()=>(It(Qt,[ie]),(di=()=>E.AREA)()),ui=()=>(It(Qt,[ie]),(ui=()=>E.AREA_LINE_RANGE)()),hi=()=>(It(Qt,[ie]),(hi=()=>E.AREA_STEP_RANGE)()),gi=()=>(It(Qt,[ie,He]),(gi=()=>E.AREA_SPLINE)()),fi=()=>(It(Qt,[ie,He]),(fi=()=>E.AREA_SPLINE_RANGE)()),pi=()=>(It(Qt,[ie]),(pi=()=>E.AREA_STEP)()),xi=()=>(It(),(xi=()=>E.LINE)()),_i=()=>(It(void 0,[He]),(_i=()=>E.SPLINE)()),mi=()=>(It(),(mi=()=>E.STEP)()),$i=()=>(ae(void 0,[Se,ur]),($i=()=>E.DONUT)()),yi=()=>(ae([Wo],[Se,gr]),(yi=()=>E.GAUGE)()),bi=()=>(ae(void 0,[Se,fr]),(bi=()=>E.PIE)()),vi=()=>(ae([Qo],[Se,pr]),(vi=()=>E.POLAR)()),Ti=()=>(ae([Zs.eventrect,we,er],[Ht,xr,{axis_x_categories:qs.optAxis.axis_x_categories}]),(Ti=()=>E.RADAR)()),Ai=()=>(ne([Oo,ee],[or,Ht]),(Ai=()=>E.BAR)()),wi=()=>(ne([ee,we,Io],[rr,Ht]),(wi=()=>E.BUBBLE)()),Si=()=>(ne([Xo,ee],[lr,Ht]),(Si=()=>E.CANDLESTICK)()),Ri=()=>(ne([ee,we],[Ht,dr]),(Ri=()=>E.SCATTER)()),Ci=()=>(ae([Ho],[hr]),(Ci=()=>E.FUNNEL)()),Ei=()=>(ne([ar],[_r]),(Ei=()=>E.TREEMAP)()),We={};const ki={version:"3.12.4-nightly-20240809004639",generate(e){const t=qt({},We,e),s=new Xt(t);return s.internal.charts=this.instance,this.instance.push(s),s},defaults(e){return X(e)&&(We=e),We},instance:[],plugin:{}};Object.keys(xt).forEach(e=>xt[e]()),Object.keys(D).forEach(e=>D[e]())}(),Re}()}); +${r}%`}}},Ht={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},ie={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},or={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},rr={bubble_maxR:35,bubble_zerobased:!1},lr={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},cr={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},dr={scatter_zerobased:!1},He={spline_interpolation_type:"cardinal"},Se={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},ur={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},hr={funnel_neck_width:0,funnel_neck_height:0},gr={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},fr={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},pr={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:e=>e%1===0?e:e.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},xr={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:e=>e%1===0?e:e.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},_r={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ne(e,t){ct(jt.prototype,Object.values(Zs).concat(e)),ct(Xt.prototype,Ao),Vt.setOptions(Object.values(qs).concat(t||[]))}function It(e,t){ne([ee,we,qo].concat(e||[])),Vt.setOptions([Ht,cr].concat(t||[]))}function ae(e,t){ct(jt.prototype,[Po,ee].concat(e||[])),Vt.setOptions([Ht].concat(t||[]))}let di=()=>(It(Qt,[ie]),(di=()=>E.AREA)()),ui=()=>(It(Qt,[ie]),(ui=()=>E.AREA_LINE_RANGE)()),hi=()=>(It(Qt,[ie]),(hi=()=>E.AREA_STEP_RANGE)()),gi=()=>(It(Qt,[ie,He]),(gi=()=>E.AREA_SPLINE)()),fi=()=>(It(Qt,[ie,He]),(fi=()=>E.AREA_SPLINE_RANGE)()),pi=()=>(It(Qt,[ie]),(pi=()=>E.AREA_STEP)()),xi=()=>(It(),(xi=()=>E.LINE)()),_i=()=>(It(void 0,[He]),(_i=()=>E.SPLINE)()),mi=()=>(It(),(mi=()=>E.STEP)()),$i=()=>(ae(void 0,[Se,ur]),($i=()=>E.DONUT)()),yi=()=>(ae([Wo],[Se,gr]),(yi=()=>E.GAUGE)()),bi=()=>(ae(void 0,[Se,fr]),(bi=()=>E.PIE)()),vi=()=>(ae([Qo],[Se,pr]),(vi=()=>E.POLAR)()),Ti=()=>(ae([Zs.eventrect,we,er],[Ht,xr,{axis_x_categories:qs.optAxis.axis_x_categories}]),(Ti=()=>E.RADAR)()),Ai=()=>(ne([Oo,ee],[or,Ht]),(Ai=()=>E.BAR)()),wi=()=>(ne([ee,we,Io],[rr,Ht]),(wi=()=>E.BUBBLE)()),Si=()=>(ne([Xo,ee],[lr,Ht]),(Si=()=>E.CANDLESTICK)()),Ri=()=>(ne([ee,we],[Ht,dr]),(Ri=()=>E.SCATTER)()),Ci=()=>(ae([Ho],[hr]),(Ci=()=>E.FUNNEL)()),Ei=()=>(ne([ar],[_r]),(Ei=()=>E.TREEMAP)()),We={};const ki={version:"3.12.4-nightly-20240813004629",generate(e){const t=qt({},We,e),s=new Xt(t);return s.internal.charts=this.instance,this.instance.push(s),s},defaults(e){return X(e)&&(We=e),We},instance:[],plugin:{}};Object.keys(xt).forEach(e=>xt[e]()),Object.keys(D).forEach(e=>D[e]())}(),Re}()}); diff --git a/dist/billboard.pkgd.js b/dist/billboard.pkgd.js index 9dbf09f24..3704d356b 100644 --- a/dist/billboard.pkgd.js +++ b/dist/billboard.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills. * - @types/d3-selection ^3.0.0 @@ -48272,7 +48272,7 @@ const bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.12.4-nightly-20240809004639", + version: "3.12.4-nightly-20240813004629", /** * Generate chart * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: diff --git a/dist/billboard.pkgd.min.js b/dist/billboard.pkgd.min.js index 8ff270aff..c60cd8a37 100644 --- a/dist/billboard.pkgd.min.js +++ b/dist/billboard.pkgd.min.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills. * - @types/d3-selection ^3.0.0 @@ -54,4 +54,4 @@ `;return`data:image/svg+xml;base64,${mm(v)}`}function xm(t,e){const{top:n,left:a}=e,{x:i,y:s}=t.getBBox(),{a:o,b:l,c,d:u,e:g,f:v}=t.getScreenCTM(),{width:m,height:S}=t.getBoundingClientRect();return{x:o*i+c*s+g-a,y:l*i+u*s+v-n+(S-Math.round(S/4)),width:m,height:S}}function Tm(t){const{left:e,top:n}=t.getBoundingClientRect(),a=s=>s.textContent||s.childElementCount,i=[];return Cr(t.querySelectorAll("text")).filter(a).forEach(s=>{const o=l=>{const{fill:c,fontFamily:u,fontSize:g,textAnchor:v,transform:m}=Xe.getComputedStyle(l),{x:S,y:I,width:N,height:M}=xm(l,{left:e,top:n});return{[l.textContent]:{x:S,y:I,width:N,height:M,fill:c,fontFamily:u,fontSize:g,textAnchor:v,transform:m}}};if(s.childElementCount>1){const l=[];return Cr(s.querySelectorAll("tspan")).filter(a).forEach(c=>{i.push(o(c))}),l}else i.push(o(s))}),i}function $m(t,e){e.forEach(n=>{Object.keys(n).forEach(a=>{const{x:i,y:s,width:o,height:l,fill:c,fontFamily:u,fontSize:g,transform:v}=n[a];if(t.save(),t.font=`${g} ${u}`,t.fillStyle=c,v==="none")t.fillText(a,i,s);else{const m=v.replace(/(matrix|\(|\))/g,"").split(",");m.splice(4).every(S=>+S==0)?(m.push(i+o-o/4),m.push(s-l+l/3)):(m.push(i),m.push(s)),t.transform(...m),t.fillText(a,0,0)}t.restore()})})}var Sm={export(t,e){const n=this.internal,{state:a,$el:{chart:i,svg:s}}=n,{width:o,height:l}=a.current,c=_r({width:o,height:l,preserveAspectRatio:!0,preserveFontStyle:!1,mimeType:"image/png"},t),u=ym(i.node(),c,{width:o,height:l}),g=c.preserveFontStyle?Tm(s.node()):[];if(e&&de(e)){const v=new Image;v.crossOrigin="Anonymous",v.onload=()=>{const m=fn.createElement("canvas"),S=m.getContext("2d");m.width=c.width||o,m.height=c.height||l,S.drawImage(v,0,0),g.length&&($m(S,g),g.length=0),e.bind(this)(m.toDataURL(c.mimeType))},v.src=u}return u}},Am={focus(t){const e=this.internal,{state:n}=e,a=e.mapToTargetIds(t),i=e.$el.svg.selectAll(e.selectorTargets(a.filter(e.isTargetToShow,e)));this.revert(),this.defocus(),i.classed(Ke.focused,!0).classed(Ke.defocused,!1),e.hasArcType()&&!n.hasRadar&&(e.expandArc(a),e.hasType("gauge")&&e.markOverlapped(t,e,`.${Ln.gaugeValue}`)),e.toggleFocusLegend(a,!0),n.focusedTargetIds=a,n.defocusedTargetIds=n.defocusedTargetIds.filter(s=>a.indexOf(s)<0)},defocus(t){const e=this.internal,{state:n}=e,a=e.mapToTargetIds(t);e.$el.svg.selectAll(e.selectorTargets(a.filter(e.isTargetToShow,e))).classed(Ke.focused,!1).classed(Ke.defocused,!0),e.hasArcType(null,["polar"])&&(e.unexpandArc(a),e.hasType("gauge")&&e.undoMarkOverlapped(e,`.${Ln.gaugeValue}`)),e.toggleFocusLegend(a,!1),n.focusedTargetIds=n.focusedTargetIds.filter(s=>a.indexOf(s)<0),n.defocusedTargetIds=a},revert(t){const e=this.internal,{config:n,state:a,$el:i}=e,s=e.mapToTargetIds(t);i.svg.selectAll(e.selectorTargets(s)).classed(Ke.focused,!1).classed(Ke.defocused,!1),e.hasArcType(null,["polar"])&&e.unexpandArc(s),n.legend_show&&(e.showLegend(s.filter(e.isLegendToShow.bind(e))),i.legend.selectAll(e.selectorLegends(s)).filter(function(){return st(this).classed(Ke.legendItemFocused)}).classed(Ke.legendItemFocused,!1)),a.focusedTargetIds=[],a.defocusedTargetIds=[]}},bm={legend:{show:function(t){const e=this.internal;e.showLegend(e.mapToTargetIds(t)),e.updateAndRedraw({withLegend:!0})},hide:function(t){const e=this.internal;e.hideLegend(e.mapToTargetIds(t)),e.updateAndRedraw({withLegend:!0})}}},Em={load(t){const e=this.internal,{config:n}=e;t.xs&&e.addXs(t.xs),"names"in t&&this.data.names(t.names),"classes"in t&&Object.keys(t.classes).forEach(a=>{n.data_classes[a]=t.classes[a]}),"categories"in t&&e.axis.isCategorized()&&(n.axis_x_categories=t.categories),"axes"in t&&Object.keys(t.axes).forEach(a=>{n.data_axes[a]=t.axes[a]}),"colors"in t&&Object.keys(t.colors).forEach(a=>{n.data_colors[a]=t.colors[a]}),"unload"in t&&t.unload!==!1?e.unload(e.mapToTargetIds(t.unload===!0?null:t.unload),()=>{Ul(()=>e.loadFromArgs(t))}):e.loadFromArgs(t)},unload(t){const e=this.internal;let n=t||{};Wn(n)&&this.tooltip.hide(),Fe(n)?n={ids:n}:ze(n)&&(n={ids:[n]});const a=e.mapToTargetIds(n.ids);e.unload(a,()=>{e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.cache.remove(a),oc.call(e,n.done,n.resizeAfter)})}};function ru(t,e,n){const a=this.internal,i=a.mapToTargetIds(e),s=a.state.hiddenTargetIds.map(c=>i.indexOf(c)>-1&&c).filter(Boolean);a.state.toggling=!0,a[`${t?"remove":"add"}HiddenTargetIds`](i);const o=a.$el.svg.selectAll(a.selectorTargets(i)),l=t?null:"0";t&&s.length&&(o.style("display",null),Ze(a.config.data_onshown,this,s)),a.$T(o).style("opacity",l,"important").call($i,()=>{var c;!t&&s.length===0&&(o.style("display","none"),Ze((c=a.config)==null?void 0:c.data_onhidden,this,i)),o.style("opacity",l)}),n.withLegend&&a[`${t?"show":"hide"}Legend`](i),a.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),a.state.toggling=!1}var Rm={show(t,e={}){ru.call(this,!0,t,e)},hide(t,e={}){ru.call(this,!1,t,e)},toggle(t,e={}){const n=this.internal,a={show:[],hide:[]};n.mapToTargetIds(t).forEach(i=>a[n.isTargetToShow(i)?"hide":"show"].push(i)),a.show.length&&this.show(a.show,e),a.hide.length&&setTimeout(()=>this.hide(a.hide,e),0)}},Om={tooltip:{show:function(t){var e,n,a;const i=this.internal,{$el:s,config:o,state:{eventReceiver:l,hasFunnel:c,hasTreemap:u,inputType:g}}=i;let v,m;if(t.mouse&&(m=t.mouse),t.data){const{data:S}=t,I=(e=i.getYScaleById(S.id))==null?void 0:e(S.value);if((c||u)&&S.id){const N=i.selectorTarget(S.id,void 0,`.${tn.shape}`);l.rect=s.main.select(N)}else i.isMultipleX()?m=[i.xx(S),I]:(o.tooltip_grouped||(m=[0,I]),v=(a=S.index)!=null?a:i.hasArcType()&&S.id?(n=i.getArcElementByIdOrIndex(S.id))==null?void 0:n.datum().index:i.getIndexByX(S.x))}else Ye(t.x)?v=i.getIndexByX(t.x):Ye(t.index)&&(v=t.index);(g==="mouse"?["mouseover","mousemove"]:["touchstart"]).forEach(S=>{i.dispatchEvent(S,v,m)})},hide:function(){var t,e,n;const a=this.internal,{state:{inputType:i},$el:{tooltip:s}}=a,o=s==null?void 0:s.datum();if(o){const{index:l}=JSON.parse(o.current)[0];(i==="mouse"?["mouseout"]:["touchend"]).forEach(c=>{a.dispatchEvent(c,l)})}i==="touch"&&a.callOverOutForTouch(),a.hideTooltip(!0),(t=a.hideGridFocus)==null||t.call(a),(e=a.unexpandCircles)==null||e.call(a),(n=a.expandBarTypeShapes)==null||n.call(a,!1)}}},Im=Object.defineProperty,Cm=(t,e,n)=>e in t?Im(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,au=(t,e,n)=>Cm(t,typeof e!="symbol"?e+"":e,n);class xr{constructor(e){au(this,"plugins",[]),au(this,"internal");const n=new Fr(this);this.internal=n,function a(i,s,o){Object.keys(i).forEach(l=>{const c=de(i[l]),u=s!==o,g=nn(i[l]),v=g&&Object.keys(i[l]).length>0;c&&(!u&&v||u)?s[l]=i[l].bind(o):g&&!c?s[l]={}:s[l]=i[l],v&&a(i[l],s[l],o)})}(xr.prototype,this,this),hm.call(n,e),n.beforeInit(),n.init()}}gn(xr.prototype,[gm,vm,pm,Sm,Am,bm,Em,Rm,Om]);function iu(t=!1,e,n,a){const i=this,{config:s,$el:{main:o}}=i,l=s.data_selection_grouped,c=s.data_selection_isselectable.bind(i.api);s.data_selection_enabled&&o.selectAll(`.${tn.shapes}`).selectAll(`.${tn.shape}`).each(function(u){const g=st(this),{id:v,index:m}=u.data?u.data:u,S=i.getToggle(this,u).bind(i),I=l||!e||e.indexOf(v)>=0,N=!n||n.indexOf(m)>=0,M=g.classed(ke.SELECTED);g.classed(ar.line)||g.classed(qa.area)||(t?I&&N&&c(u)&&!M?S(!0,g.classed(ke.SELECTED,!0),u,m):Ye(a)&&a&&M&&S(!1,g.classed(ke.SELECTED,!1),u,m):I&&N&&c(u)&&M&&S(!1,g.classed(ke.SELECTED,!1),u,m))})}var Pm={selected(t){const e=this.internal,n=[];return e.$el.main.selectAll(`.${tn.shapes+e.getTargetSelectorSuffix(t)}`).selectAll(`.${tn.shape}`).filter(function(){return st(this).classed(ke.SELECTED)}).each(a=>n.push(a)),n},select(t,e,n){const a=this.internal;iu.bind(a)(!0,t,e,n)},unselect(t,e){const n=this.internal;iu.bind(n)(!1,t,e)}};const su=function(t){var e;const n=this.internal,{axis:a,brush:i,config:s,scale:{x:o,subX:l},state:c}=n;let u;return s.subchart_show&&(u=t,Array.isArray(u)?(a.isTimeSeries()&&(u=u.map(v=>Dn.bind(n)(v))),n.withinRange(u,n.getZoomDomain("subX",!0),n.getZoomDomain("subX"))&&(c.domain=u,i.move(i.getSelection(),u.map(l)))):u=(e=c.domain)!=null?e:o.orgDomain()),u};gn(su,{show(){var t,e;const n=this.internal,{$el:{subchart:a},config:i}=n,s=i.subchart_show;if(!s){n.unbindZoomEvent(),i.subchart_show=!s,!a.main&&n.initSubchart();let o=a.main.selectAll(`.${Se.target}`);n.data.targets.length!==o.size()&&(n.updateSizes(),n.updateTargetsForSubchart(n.data.targets),o=(t=a.main)==null?void 0:t.selectAll(`.${Se.target}`)),o==null||o.style("opacity",null),(e=a.main)==null||e.style("display",null),this.resize()}},hide(){const t=this.internal,{$el:{subchart:{main:e}},config:n}=t;n.subchart_show&&(e==null?void 0:e.style("display"))!=="none"&&(n.subchart_show=!1,e.style("display","none"),this.resize())},toggle(){const t=this.internal,{config:e}=t;this.subchart[e.subchart_show?"hide":"show"]()},reset(){const t=this.internal,{brush:e}=t;e.clear(e.getSelection())}});var wm={subchart:su},Mm=1e-12;function ou(t){return((t=Math.exp(t))+1/t)/2}function Lm(t){return((t=Math.exp(t))-1/t)/2}function Dm(t){return((t=Math.exp(2*t))-1)/(t+1)}var Nm=function t(e,n,a){function i(s,o){var l=s[0],c=s[1],u=s[2],g=o[0],v=o[1],m=o[2],S=g-l,I=v-c,N=S*S+I*I,M,P;if(N()=>t;function Fm(t,{sourceEvent:e,target:n,transform:a,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:a,enumerable:!0,configurable:!0},_:{value:i}})}function cr(t,e,n){this.k=t,this.x=e,this.y=n}cr.prototype={constructor:cr,scale:function(t){return t===1?this:new cr(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new cr(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var _n=new cr(1,0,0);ho.prototype=cr.prototype;function ho(t){for(;!t.__zoom;)if(!(t=t.parentNode))return _n;return t.__zoom}function go(t){t.stopImmediatePropagation()}function Fa(t){t.preventDefault(),t.stopImmediatePropagation()}function Bm(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function Um(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function lu(){return this.__zoom||_n}function zm(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function jm(){return navigator.maxTouchPoints||"ontouchstart"in this}function Gm(t,e,n){var a=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],s=t.invertY(e[0][1])-n[0][1],o=t.invertY(e[1][1])-n[1][1];return t.translate(i>a?(a+i)/2:Math.min(0,a)||Math.max(0,i),o>s?(s+o)/2:Math.min(0,s)||Math.max(0,o))}function Vm(){var t=Bm,e=Um,n=Gm,a=zm,i=jm,s=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],l=250,c=Nm,u=ni("start","zoom","end"),g,v,m,S=500,I=150,N=0,M=10;function P(Z){Z.property("__zoom",lu).on("wheel.zoom",$t,{passive:!1}).on("mousedown.zoom",At).on("dblclick.zoom",vt).filter(i).on("touchstart.zoom",gt).on("touchmove.zoom",Ft).on("touchend.zoom touchcancel.zoom",pt).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}P.transform=function(Z,Et,ut,Rt){var jt=Z.selection?Z.selection():Z;jt.property("__zoom",lu),Z!==jt?_(Z,Et,ut,Rt):jt.interrupt().each(function(){K(this,arguments).event(Rt).start().zoom(null,typeof Et=="function"?Et.apply(this,arguments):Et).end()})},P.scaleBy=function(Z,Et,ut,Rt){P.scaleTo(Z,function(){var jt=this.__zoom.k,zt=typeof Et=="function"?Et.apply(this,arguments):Et;return jt*zt},ut,Rt)},P.scaleTo=function(Z,Et,ut,Rt){P.transform(Z,function(){var jt=e.apply(this,arguments),zt=this.__zoom,Wt=ut==null?Y(jt):typeof ut=="function"?ut.apply(this,arguments):ut,Ht=zt.invert(Wt),ee=typeof Et=="function"?Et.apply(this,arguments):Et;return n(H(V(zt,ee),Wt,Ht),jt,o)},ut,Rt)},P.translateBy=function(Z,Et,ut,Rt){P.transform(Z,function(){return n(this.__zoom.translate(typeof Et=="function"?Et.apply(this,arguments):Et,typeof ut=="function"?ut.apply(this,arguments):ut),e.apply(this,arguments),o)},null,Rt)},P.translateTo=function(Z,Et,ut,Rt,jt){P.transform(Z,function(){var zt=e.apply(this,arguments),Wt=this.__zoom,Ht=Rt==null?Y(zt):typeof Rt=="function"?Rt.apply(this,arguments):Rt;return n(_n.translate(Ht[0],Ht[1]).scale(Wt.k).translate(typeof Et=="function"?-Et.apply(this,arguments):-Et,typeof ut=="function"?-ut.apply(this,arguments):-ut),zt,o)},Rt,jt)};function V(Z,Et){return Et=Math.max(s[0],Math.min(s[1],Et)),Et===Z.k?Z:new cr(Et,Z.x,Z.y)}function H(Z,Et,ut){var Rt=Et[0]-ut[0]*Z.k,jt=Et[1]-ut[1]*Z.k;return Rt===Z.x&&jt===Z.y?Z:new cr(Z.k,Rt,jt)}function Y(Z){return[(+Z[0][0]+ +Z[1][0])/2,(+Z[0][1]+ +Z[1][1])/2]}function _(Z,Et,ut,Rt){Z.on("start.zoom",function(){K(this,arguments).event(Rt).start()}).on("interrupt.zoom end.zoom",function(){K(this,arguments).event(Rt).end()}).tween("zoom",function(){var jt=this,zt=arguments,Wt=K(jt,zt).event(Rt),Ht=e.apply(jt,zt),ee=ut==null?Y(Ht):typeof ut=="function"?ut.apply(jt,zt):ut,je=Math.max(Ht[1][0]-Ht[0][0],Ht[1][1]-Ht[0][1]),Oe=jt.__zoom,Ge=typeof Et=="function"?Et.apply(jt,zt):Et,cn=c(Oe.invert(ee).concat(je/Oe.k),Ge.invert(ee).concat(je/Ge.k));return function(Le){if(Le===1)Le=Ge;else{var ln=cn(Le),Kt=je/ln[2];Le=new cr(Kt,ee[0]-ln[0]*Kt,ee[1]-ln[1]*Kt)}Wt.zoom(null,Le)}})}function K(Z,Et,ut){return!ut&&Z.__zooming||new at(Z,Et)}function at(Z,Et){this.that=Z,this.args=Et,this.active=0,this.sourceEvent=null,this.extent=e.apply(Z,Et),this.taps=0}at.prototype={event:function(Z){return Z&&(this.sourceEvent=Z),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Z,Et){return this.mouse&&Z!=="mouse"&&(this.mouse[1]=Et.invert(this.mouse[0])),this.touch0&&Z!=="touch"&&(this.touch0[1]=Et.invert(this.touch0[0])),this.touch1&&Z!=="touch"&&(this.touch1[1]=Et.invert(this.touch1[0])),this.that.__zoom=Et,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Z){var Et=st(this.that).datum();u.call(Z,this.that,new Fm(Z,{sourceEvent:this.sourceEvent,target:P,type:Z,transform:this.that.__zoom,dispatch:u}),Et)}};function $t(Z,...Et){if(!t.apply(this,arguments))return;var ut=K(this,Et).event(Z),Rt=this.__zoom,jt=Math.max(s[0],Math.min(s[1],Rt.k*Math.pow(2,a.apply(this,arguments)))),zt=Un(Z);if(ut.wheel)(ut.mouse[0][0]!==zt[0]||ut.mouse[0][1]!==zt[1])&&(ut.mouse[1]=Rt.invert(ut.mouse[0]=zt)),clearTimeout(ut.wheel);else{if(Rt.k===jt)return;ut.mouse=[zt,Rt.invert(zt)],kr(this),ut.start()}Fa(Z),ut.wheel=setTimeout(Wt,I),ut.zoom("mouse",n(H(V(Rt,jt),ut.mouse[0],ut.mouse[1]),ut.extent,o));function Wt(){ut.wheel=null,ut.end()}}function At(Z,...Et){if(m||!t.apply(this,arguments))return;var ut=Z.currentTarget,Rt=K(this,Et,!0).event(Z),jt=st(Z.view).on("mousemove.zoom",ee,!0).on("mouseup.zoom",je,!0),zt=Un(Z,ut),Wt=Z.clientX,Ht=Z.clientY;ls(Z.view),go(Z),Rt.mouse=[zt,this.__zoom.invert(zt)],kr(this),Rt.start();function ee(Oe){if(Fa(Oe),!Rt.moved){var Ge=Oe.clientX-Wt,cn=Oe.clientY-Ht;Rt.moved=Ge*Ge+cn*cn>N}Rt.event(Oe).zoom("mouse",n(H(Rt.that.__zoom,Rt.mouse[0]=Un(Oe,ut),Rt.mouse[1]),Rt.extent,o))}function je(Oe){jt.on("mousemove.zoom mouseup.zoom",null),cs(Oe.view,Rt.moved),Fa(Oe),Rt.event(Oe).end()}}function vt(Z,...Et){if(t.apply(this,arguments)){var ut=this.__zoom,Rt=Un(Z.changedTouches?Z.changedTouches[0]:Z,this),jt=ut.invert(Rt),zt=ut.k*(Z.shiftKey?.5:2),Wt=n(H(V(ut,zt),Rt,jt),e.apply(this,Et),o);Fa(Z),l>0?st(this).transition().duration(l).call(_,Wt,Rt,Z):st(this).call(P.transform,Wt,Rt,Z)}}function gt(Z,...Et){if(t.apply(this,arguments)){var ut=Z.touches,Rt=ut.length,jt=K(this,Et,Z.changedTouches.length===Rt).event(Z),zt,Wt,Ht,ee;for(go(Z),Wt=0;WtDn.bind(n)(v))),n.withinRange(u,n.getZoomDomain("zoom",!0),n.getZoomDomain("zoom"))){if(l.domain=u,u=n.getZoomDomainValue(u),n.api.tooltip.hide(),i.subchart_show){const v=o.zoom||o.x;n.brush.getSelection().call(n.brush.move,u.map(v))}else{const v=c?o.x.orgScale():s.xScale||o.x;n.updateCurrentZoomTransform(v,u)}n.setZoomResetButton()}}else u=n.zoom.getDomain();return(e=l.domain)!=null?e:u};gn(cu,{enable(t){const e=this.internal,{config:n}=e;/^(drag|wheel)$/.test(t)&&(n.zoom_type=t),n.zoom_enabled=!!t,e.zoom?t===!1&&e.bindZoomEvent(!1):(e.initZoom(),e.bindZoomEvent()),e.updateAndRedraw()},max(t){const e=this.internal,{config:n,org:{xDomain:a}}=e;return(t===0||t)&&(n.zoom_x_max=Kn("max",[a[1],t])),n.zoom_x_max},min(t){const e=this.internal,{config:n,org:{xDomain:a}}=e;return(t===0||t)&&(n.zoom_x_min=Kn("min",[a[0],t])),n.zoom_x_min},range(t){const e=this.zoom;if(De(t)){const{min:n,max:a}=t;Ye(n)&&e.min(n),Ye(a)&&e.max(a)}return{min:e.min(),max:e.max()}}});var Xm={zoom:cu,unzoom(){const t=this.internal,{config:e,$el:{eventRect:n,zoomResetBtn:a},scale:{zoom:i},state:s}=t;i&&(e.subchart_show?t.brush.getSelection().call(t.brush.move,null):t.zoom.updateTransformScale(_n),t.updateZoom(!0),a==null||a.style("display","none"),ho(n.node())!==_n&&t.zoom.transform(n,_n),s.domain=void 0)}},Ym={initBrush(){const t=this,{config:e,scale:n,$el:{subchart:a},state:i}=t,s=e.axis_rotated,o=e.subchart_size_height;let l,c,u;t.brush=(s?jg():zg()).handleSize(5),t.brush.on("start brush end",g=>{const{selection:v,sourceEvent:m,target:S,type:I}=g;I==="start"&&(t.state.inputType==="touch"&&t.hideTooltip(),c=m?v:null),/(start|brush)/.test(I)&&(I==="brush"&&m&&i.domain&&(c==null||c.forEach((N,M)=>{N!==v[M]&&(i.domain[M]=n.x.orgDomain()[M])})),t.redrawForBrush(I!=="start")),I==="end"&&(l=n.x.orgDomain()),S!=null&&S.handle&&(v===null?t.brush.handle.attr("display","none"):t.brush.handle.attr("display",null).attr("transform",(N,M)=>{const P=[v[M],o/2];return`translate(${s?P.reverse():P})`}))}),t.brush.updateResize=function(){u&&clearTimeout(u),u=setTimeout(()=>{const g=this.getSelection();l&&Bl(g.node())&&this.move(g,l.map(n.subX.orgScale()))},0)},t.brush.update=function(){var g;return this.extent()()[1].filter(m=>isNaN(m)).length===0&&((g=a.main)==null||g.select(`.${Ne.brush}`).call(this)),this},t.brush.scale=function(g){const v=e.subchart_size_height;let m=t.getExtent();!m&&g.range?m=[[0,0],[g.range()[1],v]]:Fe(m)&&(m=m.map((S,I)=>[S,I>0?v:I])),s&&m[1].reverse(),this.extent(m),this.update()},t.brush.getSelection=()=>a.main?a.main.select(`.${Ne.brush}`):st([])},initSubchart(){const t=this,{config:e,state:{clip:n,hasAxis:a},$el:{defs:i,svg:s,subchart:o,axis:l}}=t;if(!a)return;const c=e.subchart_show?null:"hidden",u=`${n.id}-subchart`,g=t.getClipPath(u);n.idSubchart=u,t.appendClip(i,u),t.initBrush(),o.main=s.append("g").classed(Ne.subchart,!0).attr("transform",t.getTranslate("context"));const{main:v}=o;v.style("visibility",c),v.append("g").attr("clip-path",g).attr("class",Ne.chart),["bar","line","bubble","candlestick","scatter"].forEach(S=>{const I=In(/^(bubble|scatter)$/.test(S)?"circle":S);if(t.hasType(S)||t.hasTypeOf(I)){const N=v.select(`.${Ne.chart}`),M=Ne[`chart${I}s`];N.select(`.${M}`).empty()&&N.append("g").attr("class",M)}});const m=v.append("g").attr("clip-path",g).attr("class",Ne.brush).call(t.brush);e.subchart_showHandle&&t.addBrushHandle(m),l.subX=v.append("g").attr("class",Ne.axisX).attr("transform",t.getTranslate("subX")).attr("clip-path",e.axis_rotated?"":n.pathXAxis).style("visibility",e.subchart_axis_x_show?c:"hidden")},addBrushHandle(t){const e=this,{config:n}=e,a=n.axis_rotated,i=n.subchart_init_range,s="handle--custom",o=a?["M8.5 0 a6 6 0 0 0 -6 -6.5 H-2.5 a 6 6 0 0 0 -6 6.5 z m-5 -2 H-3.5 m7 -2 H-3.5z","M8.5 0 a6 -6 0 0 1 -6 6.5 H-2.5 a 6 -6 0 0 1 -6 -6.5z m-5 2 H-3.5 m7 2 H-3.5z"]:["M0 -8.5 A6 6 0 0 0 -6.5 -3.5 V2.5 A6 6 0 0 0 0 8.5 Z M-2 -3.5 V3.5 M-4 -3.5 V3.5z","M0 -8.5 A6 6 0 0 1 6.5 -3.5 V2.5 A6 6 0 0 1 0 8.5 Z M2 -3.5 V3.5 M4 -3.5 V3.5z"];e.brush.handle=t.selectAll(`.${s}`).data(a?[{type:"n"},{type:"s"}]:[{type:"w"},{type:"e"}]).enter().append("path").attr("class",s).attr("cursor",`${a?"ns":"ew"}-resize`).attr("d",l=>o[+/[se]/.test(l.type)]).attr("display",i?null:"none")},updateTargetsForSubchart(t){const e=this,{config:n,state:a,$el:{subchart:{main:i}}}=e;n.subchart_show&&(["bar","line","bubble","candlestick","scatter"].filter(s=>e.hasType(s)||e.hasTypeOf(In(s))).forEach(s=>{const o=/^(bubble|scatter)$/.test(s),l=In(o?"circle":s),c=e.getChartClass(l,!0),u=e.getClass(o?"circles":`${s}s`,!0),g=i.select(`.${Ne[`chart${`${l}s`}`]}`);if(o){const v=g.selectAll(`.${Ne.circles}`).data(t.filter(e[`is${In(s)}Type`].bind(e))).attr("class",u);v.exit().remove(),v.enter().append("g").attr("class",u)}else{const v=g.selectAll(`.${Ne[`chart${l}`]}`).attr("class",c).data(t.filter(e[`is${l}Type`].bind(e))),m=v.enter().append("g").style("opacity","0").attr("class",c).append("g").attr("class",u);v.exit().remove(),s==="line"&&e.hasTypeOf("Area")&&m.append("g").attr("class",e.getClass("areas",!0))}}),i.selectAll(`.${Ne.brush} rect`).attr(n.axis_rotated?"width":"height",n.axis_rotated?a.width2:a.height2))},redrawSubchart(t,e,n){var a;const i=this,{config:s,$el:{subchart:{main:o}},state:l}=i,c=!!e;if(o.style("visibility",s.subchart_show?null:"hidden"),s.subchart_show&&(((a=l.event)==null?void 0:a.type)==="zoom"&&i.brush.update(),t)){const u=s.subchart_init_range;if(!Hl(i)&&i.brush.update(),Object.keys(n.type).forEach(g=>{const v=In(g),m=i[`generateDraw${v}`](n.indices[g],!0);i[`update${v}`](c,!0),i[`redraw${v}`](m,c,!0)}),i.hasType("bubble")||i.hasType("scatter")){const{cx:g}=n.pos,v=i.updateCircleY(!0);i.updateCircle(!0),i.redrawCircle(g,v,c,void 0,!0)}!l.rendered&&u&&(l.domain=u,i.brush.move(i.brush.getSelection(),u.map(i.scale.x)))}},redrawForBrush(t=!0){var e;const n=this,{config:{subchart_onbrush:a,zoom_rescale:i},scale:s,state:o}=n;n.redraw({withTransition:!1,withY:i,withSubchart:!1,withUpdateXDomain:!0,withDimension:!1}),t&&o.rendered&&a.bind(n.api)((e=o.domain)!=null?e:s.x.orgDomain())},transformContext(t,e){const n=this,{$el:{subchart:a},$T:i}=n,s=e!=null&&e.axisSubX?e.axisSubX:i(a.main.select(`.${Ne.axisX}`),t);a.main.attr("transform",n.getTranslate("context")),s.attr("transform",n.getTranslate("subX"))},getExtent(){const t=this,{config:e,scale:n}=t;let a=e.axis_x_extent;if(a){if(de(a))a=a.bind(t.api)(t.getXDomain(t.data.targets),n.subX);else if(t.axis.isTimeSeries()&&a.every(isNaN)){const i=Dn.bind(t);a=a.map(s=>n.subX(i(s)))}}return a}},Hm={initZoom(){const t=this;t.scale.zoom=null,t.generateZoom(),t.initZoomBehaviour()},bindZoomEvent(t=!0){const e=this,{config:n}=e;n.zoom_enabled&&t?!n.subchart_show&&e.bindZoomOnEventRect():t===!1&&(e.api.unzoom(),e.unbindZoomEvent())},generateZoom(){const t=this,{config:e,org:n,scale:a}=t,i=Vm().duration(0).on("start",t.onZoomStart.bind(t)).on("zoom",t.onZoom.bind(t)).on("end",t.onZoomEnd.bind(t));i.orgScaleExtent=()=>{const s=e.zoom_extent||[1,10];return[s[0],Math.max(t.getMaxDataCount()/s[1],s[1])]},i.updateScaleExtent=function(){const s=Ir(t.scale.x.orgDomain())/Ir(t.getZoomDomain()),o=this.orgScaleExtent();return this.scaleExtent([o[0]*s,o[1]*s]),this},i.updateTransformScale=(s,o)=>{var l;const c=e.axis_rotated;(l=n.xScale)==null||l.range(a.x.range());const u=s[c?"rescaleY":"rescaleX"](n.xScale||a.x),g=t.trimXDomain(u.domain()),v=e.zoom_rescale;if(u.domain(g,n.xDomain),o){const m=u(a.x.domain()[0]),S=c?s.x:m,I=c?m:s.y;t.$el.eventRect.property("__zoom",_n.translate(S,I).scale(s.k))}t.state.xTickOffset||(t.state.xTickOffset=t.axis.x.tickOffset()),a.zoom=t.getCustomizedXScale(u),t.axis.x.scale(a.zoom),v?(!n.xScale&&(n.xScale=a.x.copy()),a.x.domain(g)):n.xScale&&(a.x.domain(n.xScale.domain()),n.xScale=null)},i.getDomain=()=>{const s=a[a.zoom?"zoom":"subX"].domain();return t.axis.isCategorized()&&(s[1]-=2),s},t.zoom=i},onZoomStart(t){const e=this,{sourceEvent:n}=t;n&&(e.zoom.startEvent=n,e.state.zooming=!0,Ze(e.config.zoom_onzoomstart,e.api,t))},onZoom(t){var e;const n=this,{config:a,scale:i,state:s,org:o}=n,{sourceEvent:l}=t,c=(t==null?void 0:t.transform)===_n;if(!a.zoom_enabled||n.filterTargetsToShow(n.data.targets).length===0||!i.zoom&&(l==null?void 0:l.type.indexOf("touch"))>-1&&(l==null?void 0:l.touches.length)===1)return;t.sourceEvent&&(s.zooming=!0,s.domain=void 0);const u=(l==null?void 0:l.type)==="mousemove",g=(l==null?void 0:l.wheelDelta)<0,{transform:v}=t;!u&&g&&i.x.domain().every((S,I)=>S!==o.xDomain[I])&&i.x.domain(o.xDomain),n.zoom.updateTransformScale(v,a.zoom_type==="wheel"&&l);const m=a.transition_duration>0&&!a.subchart_show&&(s.dragging||c||!t.sourceEvent);n.redraw({withTransition:m,withY:a.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),n.state.cancelClick=u,!c&&Ze(a.zoom_onzoom,n.api,(e=n.state.domain)!=null?e:n.zoom.getDomain())},onZoomEnd(t){var e,n;const a=this,{config:i,state:s}=a;let{startEvent:o}=a.zoom,l=t==null?void 0:t.sourceEvent;const c=(t==null?void 0:t.transform)===_n;(o==null?void 0:o.type.indexOf("touch"))>-1&&(o=o.changedTouches[0],l=(e=l==null?void 0:l.changedTouches)==null?void 0:e[0]),!(i.zoom_type==="drag"&&l&&o.clientX===l.clientX&&o.clientY===l.clientY)&&(s.zooming=!1,a.redrawEventRect(),a.updateZoom(),!c&&(l||s.dragging)&&Ze(i.zoom_onzoomend,a.api,(n=a.state.domain)!=null?n:a.zoom.getDomain()))},updateZoom(t){const e=this,{subX:n,x:a,zoom:i}=e.scale;if(i){const s=i.domain(),o=n.domain(),l=.015,c=e.config.axis_x_inverted?(s[0]>=o[0]||s[0]+l>=o[0])&&(o[1]>=s[1]||o[1]>=s[1]+l):(s[0]<=o[0]||s[0]-l<=o[0])&&(o[1]<=s[1]||o[1]<=s[1]-l);(t||c)&&(e.axis.x.scale(n),a.domain(n.orgDomain()),e.scale.zoom=null)}},updateCurrentZoomTransform(t,e){const n=this,{$el:{eventRect:a},config:i}=n,s=i.axis_rotated,o=[-t(e[0]),0],l=_n.scale(t.range()[1]/(t(e[1])-t(e[0]))).translate(...s?o.reverse():o);a.call(n.zoom.transform,l)},bindZoomOnEventRect(){const t=this,{config:e,$el:{eventRect:n,svg:a}}=t,i=e.zoom_type==="drag"?t.zoomBehaviour:t.zoom;Xe.GestureEvent&&/^((?!chrome|android|mobile).)*safari/i.test(navigator.userAgent)&&a.on("wheel",()=>{}),n==null||n.call(i).on("dblclick.zoom",null)},initZoomBehaviour(){const t=this,{config:e,state:n}=t,a=e.axis_rotated;let i=0,s=0,o;const l={axis:a?"y":"x",attr:a?"height":"width",index:a?1:0};t.zoomBehaviour=lc().clickDistance(4).on("start",function(c){n.event=c,t.setDragStatus(!0),t.unselectRect(),o||(o=t.$el.main.append("rect").attr("clip-path",n.clip.path).attr("class",ss.zoomBrush).attr("width",a?n.width:0).attr("height",a?0:n.height)),i=zn(c,this)[l.index],s=i,o.attr(l.axis,i).attr(l.attr,0),t.onZoomStart(c)}).on("drag",function(c){s=zn(c,this)[l.index],o.attr(l.axis,Math.min(i,s)).attr(l.attr,Math.abs(s-i))}).on("end",c=>{const u=t.scale.zoom||t.scale.x;n.event=c,o.attr(l.axis,0).attr(l.attr,0),i>s&&([i,s]=[s,i]),i<0&&(s+=Math.abs(i),i=0),i!==s&&t.api.zoom([i,s].map(g=>u.invert(g))),t.setDragStatus(!1)})},setZoomResetButton(){const t=this,{config:e,$el:n}=t,a=e.zoom_resetButton;a&&e.zoom_type==="drag"&&(n.zoomResetBtn?n.zoomResetBtn.style("display",null):n.zoomResetBtn=t.$el.chart.append("div").classed(Se.button,!0).append("span").on("click",function(){de(a.onclick)&&a.onclick.bind(t.api)(this),t.api.unzoom()}).classed(ss.buttonZoomReset,!0).text(a.text||"Reset Zoom"))},getZoomTransform(){const t=this,{$el:{eventRect:e}}=t;return e!=null&&e.node()?ho(e.node()):{k:1}}},Wm={drag(t){const e=this,{config:n,state:a,$el:{main:i}}=e,s=n.data_selection_grouped,o=n.interaction_enabled&&n.data_selection_isselectable;if(e.hasArcType()||!n.data_selection_enabled||n.zoom_enabled&&!e.zoom.altDomain||!n.data_selection_multiple)return;const[l,c]=a.dragStart||[0,0],[u,g]=t,v=Math.min(l,u),m=Math.max(l,u),S=s?a.margin.top:Math.min(c,g),I=s?a.height:Math.max(c,g);i.select(`.${Ar.dragarea}`).attr("x",v).attr("y",S).attr("width",m-v).attr("height",I-S),i.selectAll(`.${tn.shapes}`).selectAll(`.${tn.shape}`).filter(N=>o==null?void 0:o.bind(e.api)(N)).each(function(N,M){const P=st(this),V=P.classed(ke.SELECTED),H=P.classed(Ar.INCLUDED);let Y=!1,_;if(P.classed(pn.circle)){const K=+P.attr("cx")*1,at=+P.attr("cy")*1;_=e.togglePoint,Y=ve in t?Km(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_m=(t,e)=>{for(var n in e||(e={}))Jm.call(e,n)&&fu(t,n,e[n]);if(uu)for(var n of uu(e))Qm.call(e,n)&&fu(t,n,e[n]);return t},qm=(t,e)=>Zm(t,km(e)),ty=qm(_m({},Wm),{selectPoint(t,e,n){const a=this,{config:i,$el:{main:s},$T:o}=a,l=i.axis_rotated,c=(l?a.circleY:a.circleX).bind(a),u=(l?a.circleX:a.circleY).bind(a),g=a.pointSelectR.bind(a);Ze(i.data_onselected,a.api,e,t.node()),o(s.select(`.${ke.selectedCircles}${a.getTargetSelectorSuffix(e.id)}`).selectAll(`.${ke.selectedCircle}-${n}`).data([e]).enter().append("circle").attr("class",()=>a.generateClass(ke.selectedCircle,n)).attr("cx",c).attr("cy",u).attr("stroke",a.color).attr("r",v=>a.pointSelectR(v)*1.4)).attr("r",g)},unselectPoint(t,e,n){const a=this,{config:i,$el:{main:s},$T:o}=a;Ze(i.data_onunselected,a.api,e,t==null?void 0:t.node()),o(s.select(`.${ke.selectedCircles}${a.getTargetSelectorSuffix(e.id)}`).selectAll(`.${ke.selectedCircle}-${n}`)).attr("r",0).remove()},togglePoint(t,e,n,a){this[`${t?"":"un"}selectPoint`](e,n,a)},selectPath(t,e){const n=this,{config:a}=n;Ze(a.data_onselected,n.api,e,t.node()),a.interaction_brighten&&t.style("filter","brightness(1.25)")},unselectPath(t,e){const n=this,{config:a}=n;Ze(a.data_onunselected,n.api,e,t.node()),a.interaction_brighten&&t.style("filter",null)},togglePath(t,e,n,a){this[`${t?"":"un"}selectPath`](e,n,a)},getToggle(t,e){const n=this;return t.nodeName==="path"?n.togglePath:n.isStepType(e)?()=>{}:n.togglePoint},toggleShape(t,e,n){var a;const i=this,{config:s,$el:{main:o}}=i;if(s.data_selection_enabled&&s.data_selection_isselectable.bind(i.api)(e)){const l=st(t),c=l.classed(ke.SELECTED),u=i.getToggle(t,e).bind(i);let g;if(!s.data_selection_multiple){const v=(a=i.isPointFocusOnly)==null?void 0:a.call(i);let m=`.${v?ke.selectedCircles:tn.shapes}`;s.data_selection_grouped&&(m+=i.getTargetSelectorSuffix(e.id)),o.selectAll(m).selectAll(v?`.${ke.selectedCircle}`:`.${tn.shape}.${ke.SELECTED}`).classed(ke.SELECTED,!1).each(function(S){const I=st(this);g=I,u(!1,I,S,S.index)})}(!g||g.node()!==l.node())&&(l.classed(ke.SELECTED,!c),u(!c,l,e,n))}}}),ey={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},ny={subchart_show:!1,subchart_showHandle:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_axis_x_tick_show:!0,subchart_axis_x_tick_format:void 0,subchart_axis_x_tick_text_show:!0,subchart_init_range:void 0,subchart_onbrush:()=>{}},ry={zoom_enabled:!1,zoom_type:"wheel",zoom_extent:void 0,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:void 0,zoom_onzoomstart:void 0,zoom_onzoomend:void 0,zoom_resetButton:!0,zoom_x_min:void 0,zoom_x_max:void 0};let du=()=>(gn(Fr.prototype,ty),gn(xr.prototype,Pm),Pr.setOptions([ey]),(du=()=>!0)()),hu=()=>(gn(Fr.prototype,Ym),gn(xr.prototype,wm),Pr.setOptions([ny]),(hu=()=>!0)()),gu=()=>(gn(Fr.prototype,Hm),gn(xr.prototype,Xm),Pr.setOptions([ry]),(gu=()=>!0)());function vu(t,e,n){const{config:a}=t,i=(s,o)=>{const l=fe(o)?o:o===!1?void 0:null;l!==null&&(a[`axis_${s}_${e}`]=l)};Ye(n)&&(Jn(n)?Object.keys(n).forEach(s=>{i(s,n[s])}):(fe(n)||n===!1)&&["y","y2"].forEach(s=>{i(s,n)}),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))}function pu(t,e){const{config:n}=t;return{x:n[`axis_x_${e}`],y:n[`axis_y_${e}`],y2:n[`axis_y2_${e}`]}}var ay={axis:{labels:function(t){const e=this.internal;let n;return t&&(Object.keys(t).forEach(a=>{e.axis.setLabelText(a,t[a])}),e.axis.updateLabels()),["x","y","y2"].forEach(a=>{const i=e.axis.getLabelText(a);i&&(!n&&(n={}),n[a]=i)}),n},min:function(t){const e=this.internal;return Ie(t)||t===!1?vu(e,"min",t):pu(e,"min")},max:function(t){const e=this.internal;return Ie(t)||t===!1?vu(e,"max",t):pu(e,"max")},range:function(t){const{axis:e}=this;if(arguments.length){const{min:n,max:a}=t;Ye(a)&&e.max(a),Ye(n)&&e.min(n)}else return{max:e.max(),min:e.min()}}}},iy={category(t,e){const n=this.internal,{config:a}=n;return arguments.length>1&&(a.axis_x_categories[t]=e,n.redraw()),a.axis_x_categories[t]},categories(t){const e=this.internal,{config:n}=e;if(!t||!Array.isArray(t)){const a=n.axis_x_categories;return Wn(a)?Object.values(e.data.xs)[0]:a}return n.axis_x_categories=t,e.redraw(),n.axis_x_categories}},sy={flow(t){const e=this.internal;let n;(t.json||t.rows||t.columns)&&e.convertData(t,i=>{n=i,a()});function a(){let i,s=0,o=0,l,c;if(e.state.redrawing||!n||!Ma())return;const u=[],g=e.getMaxDataCount(),v=e.convertDataToTargets(n,!0),m=e.axis.isTimeSeries();e.data.targets.forEach(N=>{let M=!1;for(let P=0;P{for(let M=0;M{const M=[];for(let P=e.data.targets[0].values[0].index;P{P.index+=o,m||(P.x+=o)}),N.values=M.concat(N.values)}),e.data.targets=e.data.targets.concat(v);const S=e.data.targets[0],I=S.values[0];Ye(t.to)?(s=0,c=m?Dn.call(e,t.to):t.to,S.values.forEach(N=>{N.x1?S.values[S.values.length-1].x-I.x:I.x-e.getXDomain(e.data.targets)[0]:l=1,i=[I.x-l,I.x]),i&&e.updateXDomain(null,!0,!0,!1,i),e.updateTargets(e.data.targets),e.redraw({flow:{index:I.index,length:s,duration:Ie(t.duration)?t.duration:e.config.transition_duration,done:t.done,orgDataCount:g},withLegend:!0,withTransition:g>1,withTrimXDomain:!1,withUpdateXAxis:!0})}}};function vo(t,e){const n=this.internal,{config:a}=n,i=a.transition_duration&&Ma(),s=`grid_${e}_lines`;return t&&(a[s]=t,n.updateGrid(),n.redrawGrid(i)),a[s]}function mu(t,e){const n=`grid_${e}_lines`;return vo.bind(this)(this.internal.config[n].concat(t||[]),e)}function yu(t,e){this.internal.removeGridLines(t,e)}const xu=function(t){return vo.bind(this)(t,"x")};gn(xu,{add(t){return mu.bind(this)(t,"x")},remove(t){return yu.bind(this)(t,!0)}});const Tu=function(t){return vo.bind(this)(t,"y")};gn(Tu,{add(t){return mu.bind(this)(t,"y")},remove(t){return yu.bind(this)(t,!1)}});var oy={xgrids:xu,ygrids:Tu},ly={groups(t){const e=this.internal,{config:n}=e;return en(t)||(n.data_groups=t,e.redraw()),n.data_groups}};function $u(t,e=!1){const n=this.internal,{config:a}=n,i=a.transition_duration&&Ma();return t?(a.regions=e?a.regions.concat(t):t,n.updateRegion(),n.redrawRegion(i),e?a.regions:t):a.regions}const Su=function(t){return $u.bind(this)(t)};gn(Su,{add:function(t){return $u.bind(this)(t,!0)},remove:function(t){const e=this.internal,{config:n,$T:a}=e,i=t||{},s=pr(i,"classes",[$a.region]);let o=e.$el.main.select(`.${$a.regions}`).selectAll(s.map(l=>`.${l}`));return a(o).style("opacity","0").remove(),o=n.regions,Object.keys(i).length?(o=o.filter(l=>{let c=!1;return l.class?(l.class.split(" ").forEach(u=>{s.indexOf(u)>=0&&(c=!0)}),!c):!0}),n.regions=o):n.regions=[],o}});var cy={regions:Su},uy={x(t){const e=this.internal,{axis:n,data:a}=e,i=n.isCustomX()&&n.isCategorized();return Fe(t)&&(i?this.categories(t):(e.updateTargetX(a.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))),i?this.categories():a.xs},xs(t){const e=this.internal;return De(t)&&(e.updateTargetXs(e.data.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),e.data.xs}};function fy(t){return t}var Vi=1,Xi=2,po=3,Ba=4,Au=1e-6;function dy(t){return"translate("+t+",0)"}function hy(t){return"translate(0,"+t+")"}function gy(t){return e=>+t(e)}function vy(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function py(){return!this.__axis}function Yi(t,e){var n=[],a=null,i=null,s=6,o=6,l=3,c=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,u=t===Vi||t===Ba?-1:1,g=t===Ba||t===Xi?"x":"y",v=t===Vi||t===po?dy:hy;function m(S){var I=a==null?e.ticks?e.ticks.apply(e,n):e.domain():a,N=i==null?e.tickFormat?e.tickFormat.apply(e,n):fy:i,M=Math.max(s,0)+l,P=e.range(),V=+P[0]+c,H=+P[P.length-1]+c,Y=(e.bandwidth?vy:gy)(e.copy(),c),_=S.selection?S.selection():S,K=_.selectAll(".domain").data([null]),at=_.selectAll(".tick").data(I,e).order(),$t=at.exit(),At=at.enter().append("g").attr("class","tick"),vt=at.select("line"),gt=at.select("text");K=K.merge(K.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),at=at.merge(At),vt=vt.merge(At.append("line").attr("stroke","currentColor").attr(g+"2",u*s)),gt=gt.merge(At.append("text").attr("fill","currentColor").attr(g,u*M).attr("dy",t===Vi?"0em":t===po?"0.71em":"0.32em")),S!==_&&(K=K.transition(S),at=at.transition(S),vt=vt.transition(S),gt=gt.transition(S),$t=$t.transition(S).attr("opacity",Au).attr("transform",function(Ft){return isFinite(Ft=Y(Ft))?v(Ft+c):this.getAttribute("transform")}),At.attr("opacity",Au).attr("transform",function(Ft){var pt=this.parentNode.__axis;return v((pt&&isFinite(pt=pt(Ft))?pt:Y(Ft))+c)})),$t.remove(),K.attr("d",t===Ba||t===Xi?o?"M"+u*o+","+V+"H"+c+"V"+H+"H"+u*o:"M"+c+","+V+"V"+H:o?"M"+V+","+u*o+"V"+c+"H"+H+"V"+u*o:"M"+V+","+c+"H"+H),at.attr("opacity",1).attr("transform",function(Ft){return v(Y(Ft)+c)}),vt.attr(g+"2",u*s),gt.attr(g,u*M).text(N),_.filter(py).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Xi?"start":t===Ba?"end":"middle"),_.each(function(){this.__axis=Y})}return m.scale=function(S){return arguments.length?(e=S,m):e},m.ticks=function(){return n=Array.from(arguments),m},m.tickArguments=function(S){return arguments.length?(n=S==null?[]:Array.from(S),m):n.slice()},m.tickValues=function(S){return arguments.length?(a=S==null?null:Array.from(S),m):a&&a.slice()},m.tickFormat=function(S){return arguments.length?(i=S,m):i},m.tickSize=function(S){return arguments.length?(s=o=+S,m):s},m.tickSizeInner=function(S){return arguments.length?(s=+S,m):s},m.tickSizeOuter=function(S){return arguments.length?(o=+S,m):o},m.tickPadding=function(S){return arguments.length?(l=+S,m):l},m.offset=function(S){return arguments.length?(c=+S,m):c},m}function my(t){return Yi(Vi,t)}function yy(t){return Yi(Xi,t)}function bu(t){return Yi(po,t)}function Eu(t){return Yi(Ba,t)}var xy=Object.defineProperty,Ty=(t,e,n)=>e in t?xy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mo=(t,e,n)=>Ty(t,typeof e!="symbol"?e+"":e,n);class Ru{constructor(e){mo(this,"owner"),mo(this,"config"),mo(this,"scale");const n=Dr(),{config:a,params:i}=e;this.owner=e,this.config=a,this.scale=n,(a.noTransition||!i.config.transition_duration)&&(a.withoutTransition=!0),a.range=this.scaleExtent((i.orgXScale||n).range())}static getSizeFor1Char(e){const n={w:5.5,h:11.5};return!e.empty()&&e.select("text").text("0").call(a=>{try{const{width:i,height:s}=a.node().getBBox();i&&s&&(n.w=i,n.h=s)}catch(i){}finally{a.text("")}}),this.getSizeFor1Char=()=>n,n}getTickTransformSetter(e){const{config:n}=this,a=e==="x"?i=>`translate(${i+n.tickOffset},0)`:i=>`translate(0,${i})`;return(i,s)=>{i.attr("transform",o=>Ie(o)?a(Math.ceil(s(o))):null)}}scaleExtent(e){const n=e[0],a=e[e.length-1];return n0?i:1,s]).range(e.range());o=c.ticks();for(let u=s.toFixed().length;o.length>15;u--)o=c.ticks(u);o.splice(0,1,i),o.splice(o.length-1,1,s)}else o=e.ticks(...this.config.tickArguments||[]);o=o.map(c=>ze(c)&&fe(c)&&!isNaN(c)&&Math.round(c*10)/10||c)}return o}copyScale(){const e=this.scale.copy();return e.domain().length||e.domain(this.scale.domain()),e.type=this.scale.type,e}textFormatted(e){const n=this.config.tickFormat,a=/\d+\.\d+0{5,}\d$/.test(e)?+String(e).replace(/0+\d$/,""):e,i=n?n(a):a;return Ye(i)?i:""}transitionise(e){const{config:n}=this;let a=e;if(n.withoutTransition)a=e.interrupt();else if(n.transition||!this.owner.params.noTransition)try{a=e.transition(n.transition)}catch(i){}return a}}var $y=Object.defineProperty,Sy=(t,e,n)=>e in t?$y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ua=(t,e,n)=>Sy(t,typeof e!="symbol"?e+"":e,n);class Ay{constructor(e={}){Ua(this,"helper"),Ua(this,"config"),Ua(this,"params"),Ua(this,"g"),Ua(this,"generatedTicks");const n={innerTickSize:6,outerTickSize:e.outerTick?6:0,orient:"bottom",range:[],tickArguments:null,tickCentered:null,tickCulling:!0,tickFormat:null,tickLength:9,tickOffset:0,tickPadding:3,tickValues:null,transition:null,noTransition:e.noTransition};n.tickLength=Math.max(n.innerTickSize,0)+n.tickPadding,this.config=n,this.params=e,this.helper=new Ru(this)}create(e){const n=this,{config:a,helper:i,params:s}=n,{scale:o}=i,{orient:l}=a,c=this.splitTickText.bind(n),u=/^(left|right)$/.test(l),g=/^(top|bottom)$/.test(l),v=i.getTickTransformSetter(g?"x":"y"),m=v===i.axisX?"y":"x",S=/^(top|left)$/.test(l)?-1:1,I=s.tickTextRotate;this.config.range=o.rangeExtent?o.rangeExtent():i.scaleExtent((s.orgXScale||o).range());const{innerTickSize:N,tickLength:M,range:P}=a,V=s.id,H=V&&/^(x|y|y2)$/.test(V)?s.config[`axis_${V}_tick_text_position`]:{x:0,y:0},Y=V==="subX"?"subchart_axis_x":`axis_${V}`,_=s.config[`${Y}_show`],K={tick:_?s.config[`${Y}_tick_show`]:!1,text:_?s.config[`${Y}_tick_text_show`]:!1};let at;e.each(function(){const $t=st(this);let At=this.__chart__||o,vt=i.copyScale();at=$t,this.__chart__=vt,a.tickOffset=s.isCategory?Math.ceil((vt(1)-vt(0))/2):0;const gt=$t.selectAll(".domain").data([0]);if(gt.enter().append("path").attr("class","domain").merge(gt).attr("d",()=>{const Ft=a.outerTickSize*S;return g?`M${P[0]},${Ft}V0H${P[1]}V${Ft}`:`M${Ft},${P[0]}H0V${P[1]}H${Ft}`}),K.tick||K.text){const Ft=a.tickValues||i.generateTicks(vt,u);n.generatedTicks=Ft;let pt=$t.selectAll(".tick").data(Ft,vt);const Z=pt.enter().insert("g",".domain").attr("class","tick"),Et=pt.exit().remove();pt=Z.merge(pt),K.tick&&Z.append("line"),K.text&&Z.append("text");const ut=Ru.getSizeFor1Char(pt),Rt=[];let jt=pt.select("text").selectAll("tspan").data((Ht,ee)=>{const je=s.tickMultiline?c(Ht,vt,Ft,u,ut.w):Fe(i.textFormatted(Ht))?i.textFormatted(Ht).concat():[i.textFormatted(Ht)];return Rt[ee]=je.length,je.map(Oe=>({index:ee,splitted:Oe}))});jt.exit().remove(),jt=jt.enter().append("tspan").merge(jt).text(Ht=>Ht.splitted),jt.attr("x",g?0:M*S).attr("dx",(()=>{let Ht=0;return/(top|bottom)/.test(l)&&I&&(Ht=8*Math.sin(Math.PI*(I/180))*(l==="top"?-1:1)),Ht+(H.x||0)})()).attr("dy",(Ht,ee)=>{const je=".71em";let Oe=0;return l!=="top"&&(Oe=ut.h,ee===0&&(Oe=u?-((Rt[Ht.index]-1)*(ut.h/2)-3):H.y===0?je:0)),fe(Oe)&&H.y?Oe+H.y:Oe||je});const zt=pt.select("line"),Wt=pt.select("text");if(Z.select("line").attr(`${m}2`,N*S),Z.select("text").attr(m,M*S),n.setTickLineTextPosition(zt,Wt),s.tickTitle){const Ht=Wt.select("title");(Ht.empty()?Wt.append("title"):Ht).text(ee=>s.tickTitle[ee])}if(vt.bandwidth){const Ht=vt,ee=Ht.bandwidth()/2;At=je=>Ht(je)+ee,vt=At}else At.bandwidth?At=vt:v(Et,vt);pt=s.owner.state.flowing?i.transitionise(pt):s.owner.$T(pt),v(Z,At),v(pt.style("opacity",null),vt)}}),this.g=at}getGeneratedTicks(e){var n;const a=((n=this.generatedTicks)==null?void 0:n.length)-1;let i=this.generatedTicks;if(a>e){const s=Math.round(a/e+.1);i=this.generatedTicks.map((o,l)=>l%s===0?o:null).filter(o=>o!==null).splice(0,e)}return i}getTickXY(){const{config:e}=this,n={x:0,y:0};return this.params.isCategory&&(n.x=e.tickCentered?0:e.tickOffset,n.y=e.tickCentered?e.tickOffset:0),n}getTickSize(e){const{scale:n}=this.helper,{config:a}=this,{innerTickSize:i,range:s}=a,o=n(e)+(a.tickCentered?0:a.tickOffset);return s[0]{const N=["start","end"];return s==="top"&&N.reverse(),I?N[I>0?0:1]:"middle"},g=I=>I?`rotate(${I})`:null,v=I=>{const N=I/(s==="bottom"?15:23);return I?11.5-2.5*N*(I>0?1:-1):o},{config:{axis_rotated:m,axis_x_tick_text_inner:S}}=this.params.owner;switch(s){case"bottom":e.attr("x1",a.x).attr("x2",a.x).attr("y2",this.getTickSize.bind(this)),n.attr("x",0).attr("y",v(c)).style("text-anchor",u(c)).style("text-anchor",(I,N,{length:M})=>!m&&N===0&&(S===!0||S.first)?"start":!m&&N===M-1&&(S===!0||S.last)?"end":u(c)).attr("transform",g(c));break;case"top":e.attr("x2",0).attr("y2",-i),n.attr("x",0).attr("y",-v(c)*2).style("text-anchor",u(c)).attr("transform",g(c));break;case"left":e.attr("x2",-i).attr("y1",a.y).attr("y2",a.y),n.attr("x",-o).attr("y",l).style("text-anchor","end");break;case"right":e.attr("x2",i).attr("y2",0),n.attr("x",o).attr("y",0).style("text-anchor","start")}}splitTickText(e,n,a,i,s){const{params:o}=this,l=this.helper.textFormatted(e),c=ze(l)&&l.indexOf(` `)>-1?l.split(` `):[];if(c.length)return c;if(Fe(l))return l;let u=o.tickWidth;(!u||u<=0)&&(u=i?95:o.isCategory?Math.ceil(o.isInverted?n(a[0])-n(a[1]):n(a[1])-n(a[0]))-12:110);function g(v,m){let S,I,N;for(let M=1;M{const S=v+1;return Se(this.helper.scale.domain());else{if(!arguments.length)return n.tickValues;n.tickValues=e}return this}setTransition(e){return this.config.transition=e,this}}var by=Object.defineProperty,Ey=(t,e,n)=>e in t?by(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ur=(t,e,n)=>Ey(t,typeof e!="symbol"?e+"":e,n),Ry={getAxisInstance:function(){return this.axis||new Oy(this)}};class Oy{constructor(e){ur(this,"owner"),ur(this,"x"),ur(this,"subX"),ur(this,"y"),ur(this,"y2"),ur(this,"axesList",{}),ur(this,"tick",{x:null,y:null,y2:null}),ur(this,"xs",[]),ur(this,"orient",{x:"bottom",y:"left",y2:"right",subX:"bottom"}),this.owner=e,this.setOrient()}getAxisClassName(e){return`${on.axis} ${on[`axis${In(e)}`]}`}isHorizontal(e,n){const a=e.config.axis_rotated;return n?a:!a}isCategorized(){const{config:e,state:n}=this.owner;return e.axis_x_type.indexOf("category")>=0||n.hasRadar}isCustomX(){const{config:e}=this.owner;return!this.isTimeSeries()&&(e.data_x||nn(e.data_xs))}isTimeSeries(e="x"){return this.owner.config[`axis_${e}_type`]==="timeseries"}isLog(e="x"){return this.owner.config[`axis_${e}_type`]==="log"}isTimeSeriesY(){return this.isTimeSeries("y")}getAxisType(e="x"){let n="linear";return this.isTimeSeries(e)?n=this.owner.config.axis_x_localtime?"time":"utc":this.isLog(e)&&(n="log"),n}init(){const e=this.owner,{config:n,$el:{main:a,axis:i},state:{clip:s}}=e,o=n.axis_rotated,l=["x","y"];n.axis_y2_show&&l.push("y2"),l.forEach(c=>{const u=this.getAxisClassName(c),g=on[`axis${c.toUpperCase()}Label`];i[c]=a.append("g").attr("class",u).attr("clip-path",()=>{let v=null;return c==="x"?v=s.pathXAxis:c==="y"&&(v=s.pathYAxis),v}).attr("transform",e.getTranslate(c)).style("visibility",n[`axis_${c}_show`]?null:"hidden"),i[c].append("text").attr("class",g).attr("transform",["rotate(-90)",null][c==="x"?+!o:+o]).style("text-anchor",()=>this.textAnchorForAxisLabel(c)),this.generateAxes(c)}),n.axis_tooltip&&this.setAxisTooltip()}setOrient(){const e=this.owner,{axis_rotated:n,axis_y_inner:a,axis_y2_inner:i}=e.config;this.orient={x:n?"left":"bottom",y:n?a?"top":"bottom":a?"right":"left",y2:n?i?"bottom":"top":i?"left":"right",subX:n?"left":"bottom"}}generateAxes(e){const n=this.owner,{config:a}=n,i=[],s=a[`axis_${e}_axes`],o=a.axis_rotated;let l;e==="x"?l=o?Eu:bu:e==="y"?l=o?bu:Eu:e==="y2"&&(l=o?my:yy),s.length&&s.forEach(c=>{const u=c.tick||{},g=n.scale[e].copy();c.domain&&g.domain(c.domain),i.push(l(g).ticks(u.count).tickFormat(de(u.format)?u.format.bind(n.api):v=>v).tickValues(u.values).tickSizeOuter(u.outer===!1?0:6))}),this.axesList[e]=i}updateAxes(){const e=this.owner,{config:n,$el:{main:a},$T:i}=e;Object.keys(this.axesList).forEach(s=>{const o=n[`axis_${s}_axes`],l=e.scale[s].copy(),c=l.range();this.axesList[s].forEach((u,g)=>{const v=u.scale().range();c.every((I,N)=>I===v[N])||u.scale().range(c);const m=`${this.getAxisClassName(s)}-${g+1}`;let S=a.select(`.${m.replace(/\s/,".")}`);S.empty()?S=a.append("g").attr("class",m).style("visibility",n[`axis_${s}_show`]?null:"hidden").call(u):(o[g].domain&&l.domain(o[g].domain),i(S).call(u.scale(l))),S.attr("transform",e.getTranslate(s,g+1))})})}setAxis(e,n,a,i){const s=this.owner;e!=="subX"&&(this.tick[e]=this.getTickValues(e)),this[e]=this.getAxis(e,n,a,e==="x"&&(s.scale.zoom||s.config.subchart_show||s.state.resizing)?!0:i)}getAxis(e,n,a,i,s){const o=this.owner,{config:l}=o,c=/^(x|subX)$/.test(e),u=c?"x":e,g=c&&this.isCategorized(),v=this.orient[e],m=s?0:o.getAxisTickRotate(u);let S;if(c)S=e==="subX"?o.format.subXAxisTick:o.format.xAxisTick;else{const V=l[`axis_${e}_tick_format`];de(V)&&(S=V.bind(o.api))}let I=this.tick[u];const N=_r({outerTick:a,noTransition:i,config:l,id:e,tickTextRotate:m,owner:o},c&&{isCategory:g,isInverted:l.axis_x_inverted,tickMultiline:l.axis_x_tick_multiline,tickWidth:l.axis_x_tick_width,tickTitle:g&&l.axis_x_tick_tooltip&&o.api.categories(),orgXScale:o.scale.x});c||(N.tickStepSize=l[`axis_${u}_tick_stepSize`]);const M=new Ay(N).scale(c&&o.scale.zoom||n).orient(v);if(c&&this.isTimeSeries()&&I&&!de(I)){const V=Dn.bind(o);I=I.map(H=>V(H))}else!c&&this.isTimeSeriesY()&&(M.ticks(l.axis_y_tick_time_value),I=null);I&&M.tickValues(I),M.tickFormat(S||!c&&o.isStackNormalized()&&(V=>`${V}%`)),g&&(M.tickCentered(l.axis_x_tick_centered),Wn(l.axis_x_tick_culling)&&(l.axis_x_tick_culling=!1));const P=l[`axis_${u}_tick_count`];return P&&M.ticks(P),M}updateXAxisTickValues(e,n){var a;const i=this.owner,{config:s}=i,o=s.axis_x_tick_fit;let l=s.axis_x_tick_count,c;return(o||l&&o)&&(c=i.mapTargetsToUniqueXs(e),this.isCategorized()&&l>c.length&&(l=c.length),c=this.generateTickValues(c,l,this.isTimeSeries())),n?n.tickValues(c):this.x&&(this.x.tickValues(c),(a=this.subX)==null||a.tickValues(c)),c}getId(e){const{config:n,scale:a}=this.owner;let i=n.data_axes[e];return(!i||!a[i])&&(i="y"),i}getXAxisTickFormat(e){const n=this.owner,{config:a,format:i}=n,s=e&&a.subchart_axis_x_tick_format||a.axis_x_tick_format,o=this.isTimeSeries(),l=this.isCategorized();let c;return s?de(s)?c=s.bind(n.api):o&&(c=u=>u?i.axisTime(s)(u):""):c=o?i.defaultAxisTime:l?n.categoryName:u=>u<0?u.toFixed(0):u,de(c)?u=>c.apply(n,l?[u,n.categoryName(u)]:[u]):c}getTickValues(e){const n=this.owner,a=n.config[`axis_${e}_tick_values`],i=n[`${e}Axis`];return(de(a)?a.call(n.api):a)||(i?i.tickValues():void 0)}getLabelOptionByAxisId(e){return this.owner.config[`axis_${e}_label`]}getLabelText(e){const n=this.getLabelOptionByAxisId(e);return ze(n)?n:n?n.text:null}setLabelText(e,n){const a=this.owner,{config:i}=a,s=this.getLabelOptionByAxisId(e);ze(s)?i[`axis_${e}_label`]=n:s&&(s.text=n)}getLabelPosition(e,n){const a=this.owner.config.axis_rotated,i=this.getLabelOptionByAxisId(e),s=Jn(i)&&i.position?i.position:n[+!a],o=l=>!!~s.indexOf(l);return{isInner:o("inner"),isOuter:o("outer"),isLeft:o("left"),isCenter:o("center"),isRight:o("right"),isTop:o("top"),isMiddle:o("middle"),isBottom:o("bottom")}}getAxisLabelPosition(e){return this.getLabelPosition(e,e==="x"?["inner-top","inner-right"]:["inner-right","inner-top"])}getLabelPositionById(e){return this.getAxisLabelPosition(e)}xForAxisLabel(e){const n=this.owner,{state:{width:a,height:i}}=n,s=this.getAxisLabelPosition(e);let o=s.isMiddle?-i/2:0;return this.isHorizontal(n,e!=="x")?o=s.isLeft?0:s.isCenter?a/2:a:s.isBottom&&(o=-i),o}dxForAxisLabel(e){const n=this.owner,a=this.getAxisLabelPosition(e);let i=a.isBottom?"0.5em":"0";return this.isHorizontal(n,e!=="x")?i=a.isLeft?"0.5em":a.isRight?"-0.5em":"0":a.isTop&&(i="-0.5em"),i}textAnchorForAxisLabel(e){const n=this.owner,a=this.getAxisLabelPosition(e);let i=a.isMiddle?"middle":"end";return this.isHorizontal(n,e!=="x")?i=a.isLeft?"start":a.isCenter?"middle":"end":a.isBottom&&(i="start"),i}dyForAxisLabel(e){const n=this.owner,{config:a}=n,i=a.axis_rotated,s=this.getAxisLabelPosition(e).isInner,o=a[`axis_${e}_tick_rotate`]?n.getHorizontalAxisHeight(e):0,{width:l}=this.getMaxTickSize(e);let c;if(e==="x"){const u=a.axis_x_height;i?c=s?"1.2em":-25-l:s?c="-0.5em":u?c=u-10:o?c=o-10:c="3em"}else c={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[e],i?s?c=c[0]:o?c=o*(e==="y2"?-1:1)-c[1]:c=c[2]:c=s?c[3]:(c[4]+(a[`axis_${e}_inner`]?0:l+c[4]))*(e==="y"?-1:1);return c}getMaxTickSize(e,n){const a=this.owner,{config:i,state:{current:s},$el:{svg:o,chart:l}}=a,c=s.maxTickSize[e],u=`axis_${e}`,g={width:0,height:0};if(n||!i[`${u}_show`]||c.width>0&&a.filterTargetsToShow().length===0)return c;if(o){const v=/^y2?$/.test(e),m=a.filterTargetsToShow(a.data.targets),S=a.scale[e].copy().domain(a[`get${v?"Y":"X"}Domain`](m,e)),I=S.domain(),N=I[0]===I[1]&&I.every(K=>K>0),M=Fe(c.domain)&&c.domain[0]===c.domain[1]&&c.domain.every(K=>K>0);if(N||M)return c.size;c.domain=I,v||c.ticks.splice(0);const P=this.getAxis(e,S,!1,!1,!0),V=i[`${u}_tick_rotate`],H=i[`${u}_tick_count`];!i[`${u}_tick_values`]&&H&&P.tickValues(this.generateTickValues(I,H,v?this.isTimeSeriesY():this.isTimeSeries())),!v&&this.updateXAxisTickValues(m,P);const _=l.append("svg").style("visibility","hidden").style("position","fixed").style("top","0").style("left","0");P.create(_),_.selectAll("text").attr("transform",fe(V)?`rotate(${V})`:null).each(function(K,at){const{width:$t,height:At}=this.getBoundingClientRect();g.width=Math.max(g.width,$t),g.height=Math.max(g.height,At),v||(c.ticks[at]=$t)}),_.remove()}return Object.keys(g).forEach(v=>{g[v]>0&&(c[v]=g[v])}),c}getXAxisTickTextY2Overflow(e){const n=this.owner,{axis:a,config:i,state:{current:s,isLegendRight:o,legendItemWidth:l}}=n,c=n.getAxisTickRotate("x"),u=c>0&&c<90;if((a.isCategorized()||a.isTimeSeries())&&i.axis_x_tick_fit&&(!i.axis_x_tick_culling||Wn(i.axis_x_tick_culling))&&!i.axis_x_tick_multiline&&u){const g=i.axis_y2_show&&s.maxTickSize.y2.width||0,v=o&&l||0,m=s.width-n.getCurrentPaddingByDirection("left"),S=this.getXAxisTickMaxOverflow(c,m-e)-g-v,I=Math.max(0,S)+e;return Math.min(I,m/2)}return 0}getXAxisTickMaxOverflow(e,n){const a=this.owner,{axis:i,config:s,state:o}=a,l=i.isTimeSeries(),c=o.current.maxTickSize.x.ticks,u=c.length,{left:g,right:v}=o.axis.x.padding;let m=0;const S=u-(l&&s.axis_x_tick_fit?.5:0);for(let M=0;M!s[o].empty()).forEach(o=>{const l=s[o];i(l,e).attr("x",()=>this.xForAxisLabel(o)).attr("dx",()=>this.dxForAxisLabel(o)).attr("dy",()=>this.dyForAxisLabel(o)).text(()=>this.getLabelText(o))})}getPadding(e,n,a,i){const s=fe(e)?e:e[n];return Ie(s)?this.owner.convertPixelToScale(/(bottom|top)/.test(n)?"y":"x",s,i):a}generateTickValues(e,n,a){let i=e;if(n){const s=de(n)?n():n;if(s===1)i=[e[0]];else if(s===2)i=[e[0],e[e.length-1]];else if(s>2){const o=this.isCategorized(),l=s-2,c=e[0],u=e[e.length-1],g=(u-c)/(l+1);let v;i=[c];for(let m=0;ms-o)),i}generateTransitions(e){const n=this.owner,{$el:{axis:a},$T:i}=n,[s,o,l,c]=["x","y","y2","subX"].map(u=>i(a[u],e));return{axisX:s,axisY:o,axisY2:l,axisSubX:c}}redraw(e,n,a){const i=this.owner,{config:s,$el:o}=i,l=n?"0":null;["x","y","y2","subX"].forEach(c=>{const u=this[c],g=o.axis[c];u&&g&&(!a&&!s.transition_duration&&(u.config.withoutTransition=!0),g.style("opacity",l),u.create(e[`axis${In(c)}`]))}),this.updateAxes()}redrawAxis(e,n,a,i,s){var o,l,c;const u=this.owner,{config:g,scale:v,$el:m}=u,S=!!v.zoom;let I;!S&&this.isCategorized()&&e.length===0&&v.x.domain([0,m.axis.x.selectAll(".tick").size()]),v.x&&e.length?(!S&&u.updateXDomain(e,n.UpdateXDomain,n.UpdateOrgXDomain,n.TrimXDomain),g.axis_x_tick_values||this.updateXAxisTickValues(e)):this.x&&(this.x.tickValues([]),(o=this.subX)==null||o.tickValues([])),g.zoom_rescale&&!i&&(I=v.x.orgDomain()),["y","y2"].forEach(N=>{const M=`axis_${N}_`,P=v[N];if(P){const V=g[`${M}tick_values`],H=g[`${M}tick_count`];if(P.domain(u.getYDomain(e,N,I)),!V&&H){const Y=u.axis[N],_=P.domain();Y.tickValues(this.generateTickValues(_,_.every(K=>K===0)?1:H,this.isTimeSeriesY()))}}}),this.redraw(a,u.hasArcType(),s),this.updateLabels(n.Transition),(n.UpdateXDomain||n.UpdateXAxis||n.Y)&&e.length&&this.setCulling(),n.Y&&((l=v.subY)==null||l.domain(u.getYDomain(e,"y")),(c=v.subY2)==null||c.domain(u.getYDomain(e,"y2")))}setCulling(){const e=this.owner,{config:n,state:{clip:a,current:i},$el:s}=e;["subX","x","y","y2"].forEach(o=>{const l=s.axis[o],u=`axis_${o==="subX"?"x":o}_tick_culling`,g=n[u];if(l&&g){const v=l.selectAll(".tick"),m=qr(v.data()),S=m.length,I=n[`${u}_max`],N=n[`${u}_lines`];let M;if(S){for(let P=1;P{var u,g,v;if(o[c]=(u=s[c])==null?void 0:u.append("text").classed(on[`axis${c.toUpperCase()}Tooltip`],!0).attr("filter",n.updateTextBGColor({id:c},l)),a){const m=c==="x"?"x":"y",S=c==="y"?"1.15em":c==="x"?"-0.3em":"-0.4em";(g=o[c])==null||g.attr(m,S).attr(`d${c==="x"?"y":"x"}`,c==="x"?"0.4em":"-1.3em").style("text-anchor",c==="x"?"end":null)}else{const m=c==="x"?"y":"x",S=c==="x"?"1.15em":`${c==="y"?"-":""}0.4em`;(v=o[c])==null||v.attr(m,S).attr(`d${c==="x"?"x":"y"}`,c==="x"?"-1em":"0.3em").style("text-anchor",c==="y"?"end":null)}})}}var Iy={initEventRect(){this.$el.main.select(`.${Se.chart}`).append("g").attr("class",Vn.eventRects).style("fill-opacity","0")},redrawEventRect(){var t;const e=this,{config:n,state:a,$el:i}=e,s=e.isMultipleX(),o=n.axis_x_inverted;if(i.eventRect)e.updateEventRect(i.eventRect,!0);else if(e.data.targets.length){const c=e.$el.main.select(`.${Vn.eventRects}`).style("cursor",n.zoom_enabled&&n.zoom_type!=="drag"?n.axis_rotated?"ns-resize":"ew-resize":null).classed(Vn.eventRectsMultiple,s).classed(Vn.eventRectsSingle,!s).selectAll(`.${Vn.eventRect}`).data([0]).enter().append("rect");e.updateEventRect(c),e.updateEventType(c),c.call(e.getDraggableSelection()),i.eventRect=c,e.state.inputType==="touch"&&!i.svg.on("touchstart.eventRect")&&!e.hasArcType()&&e.bindTouchOnEventRect(),a.rendered&&e.updateEventRect(i.eventRect,!0)}if(!s){const l=e.getMaxDataCountTarget();(!n.data_xSort||o)&&l.sort((c,u)=>o?u.x-c.x:c.x-u.x),e.updateDataIndexByX(l),e.updateXs(l),(t=e.updatePointClass)==null||t.call(e,!0),a.eventReceiver.data=l}e.updateEventRectData()},bindTouchOnEventRect(){const t=this,{config:e,state:n,$el:{eventRect:a,svg:i}}=t,s=m=>{if(t.isMultipleX())t.selectRectForMultipleXs(m);else{const S=t.getDataIndexFromEvent(n.event);t.callOverOutForTouch(S),S===-1?t.unselectRect():t.selectRectForSingle(m,S)}},o=()=>{t.unselectRect(),t.callOverOutForTouch()},l=e.interaction_inputType_touch.preventDefault,c=Os(l)&&l||!1,u=!isNaN(l)&&l||null;let g;const v=m=>{const S=m.type,N=m.changedTouches[0][`client${e.axis_rotated?"Y":"X"}`];S==="touchstart"?c?m.preventDefault():u!==null&&(g=N):S==="touchmove"&&(c||g===!0||u!==null&&Math.abs(g-N)>=u)&&(g=!0,m.preventDefault())};a.on("touchstart",m=>{n.event=m,t.updateEventRect()}).on("touchstart.eventRect touchmove.eventRect",m=>{if(n.event=m,!a.empty()&&a.classed(Vn.eventRect)){if(n.dragging||n.flowing||t.hasArcType()||m.touches.length>1)return;v(m),s(a.node())}else o()},!0).on("touchend.eventRect",m=>{n.event=m,!a.empty()&&a.classed(Vn.eventRect)&&(t.hasArcType()||!t.toggleShape||n.cancelClick)&&n.cancelClick&&(n.cancelClick=!1)},!0),i.on("touchstart",m=>{n.event=m;const{target:S}=m;S&&S!==a.node()&&o()})},updateEventRect(t,e=!1){const n=this,{state:a,$el:i}=n,{eventReceiver:s,width:o,height:l,rendered:c,resizing:u}=a,g=t||i.eventRect,v=()=>{if(s){const m=Wl(i.chart.node());s.rect=g.node().getBoundingClientRect().toJSON(),s.rect.top+=m.y,s.rect.left+=m.x}};(!c||u||e)&&(g.attr("x",0).attr("y",0).attr("width",o).attr("height",l),(!c||e)&&g.classed(Vn.eventRect,!0)),v()},updateEventType(t){const e=this,n=Os(t),a=n?e.$el.eventRect:t,i=n?t!==(a==null?void 0:a.datum().multipleX):!1;a&&(i&&(a==null||a.on("mouseover mousemove mouseout click",null)),e.isMultipleX()?e.generateEventRectsForMultipleXs(a):e.generateEventRectsForSingleX(a))},updateEventRectData(){const t=this,{config:e,scale:n,state:a}=t,i=n.zoom||n.x,s=e.axis_rotated,o=t.isMultipleX();let l,c,u,g;if(t.updateEventType(o),o)l=0,c=0,u=a.width,g=a.height;else{let S,I;if(t.axis.isCategorized())S=t.getEventRectWidth(),I=N=>i(N.x)-S/2;else{const N=({index:M})=>({prev:t.getPrevX(M),next:t.getNextX(M)});S=M=>{const P=N(M),V=i.domain();let H;return P.prev===null&&P.next===null?H=s?a.height:a.width:P.prev===null?H=(i(P.next)+i(M.x))/2:P.next===null?H=i(V[1])-(i(P.prev)+i(M.x))/2:(Object.keys(P).forEach((Y,_)=>{var K;P[Y]=(K=P[Y])!=null?K:V[_]}),H=Math.max(0,(i(P.next)-i(P.prev))/2)),H},I=M=>{const P=N(M);let V;return P.prev===null&&P.next===null?V=0:P.prev===null?V=i(i.domain()[0]):V=(i(M.x)+i(P.prev))/2,V}}l=s?0:I,c=s?I:0,u=s?a.width:S,g=s?S:a.height}const{eventReceiver:v}=a,m=(S,I)=>de(S)?S(I):S;v.coords.splice(v.data.length),v.data.forEach((S,I)=>{v.coords[I]={x:m(l,S),y:m(c,S),w:m(u,S),h:m(g,S)}})},selectRectForSingle(t,e){var n,a;const i=this,{config:s,$el:{main:o,circle:l}}=i,c=s.data_selection_enabled,u=s.data_selection_grouped,g=s.data_selection_isselectable,v=s.tooltip_grouped,m=i.getAllValuesOnIndex(e);if(v&&(i.showTooltip(m,t),(n=i.showGridFocus)==null||n.call(i,m),!c||u))return;!l&&o.selectAll(`.${Se.EXPANDED}:not(.${tn.shape}-${e})`).classed(Se.EXPANDED,!1);const S=o.selectAll(`.${tn.shape}-${e}`).classed(Se.EXPANDED,!0).style("cursor",g?"pointer":null).filter(function(I){return i.isWithinShape(this,I)});S.empty()&&!v&&((a=i.hideGridFocus)==null||a.call(i),i.hideTooltip(),!u&&i.setExpand(e)),S.call(I=>{var N,M;const P=I.data();c&&(u||g!=null&&g.bind(i.api)(P))&&(t.style.cursor="pointer"),v||(i.showTooltip(P,t),(N=i.showGridFocus)==null||N.call(i,P),(M=i.unexpandCircles)==null||M.call(i),I.each(V=>i.setExpand(e,V.id)))})},selectRectForMultipleXs(t,e=!0){const n=this,{config:a,state:i}=n,s=n.filterTargetsToShow(n.data.targets);if(i.dragging||n.hasArcType(s))return;const o=zn(i.event,t),l=n.findClosestFromTargets(s,o);if(e&&i.mouseover&&(!l||l.id!==i.mouseover.id)&&(a.data_onout.call(n.api,i.mouseover),i.mouseover=void 0),!l){n.unselectRect();return}const u=(n.isBubbleType(l)||n.isScatterType(l)||!a.tooltip_grouped?[l]:n.filterByX(s,l.x)).map(v=>n.addName(v));n.showTooltip(u,t),n.setExpand(l.index,l.id,!0),n.showGridFocus(u);const g=n.dist(l,o);(n.isBarType(l.id)||g{const c=l?e.getDataIndexFromEvent(l):i.currentIdx;return c>-1?i.data[c]:null};s.on("mouseover",l=>{a.event=l,e.updateEventRect(),Object.values(e.$el.axisTooltip).forEach(c=>c==null?void 0:c.style("display",null))}).on("mousemove",function(l){const c=o(l);if(a.event=l,!c)return;let{index:u}=c;const g=n.line_step_type;if(n.line_step_tooltipMatch&&e.hasType("step")&&/^step\-(before|after)$/.test(g)){const m=e.scale.zoom||e.scale.x,S=e.axis.xs[u],I=m.invert(zn(l,this)[0]);g==="step-after"&&IS&&(u+=1)}e.showAxisGridFocus();const v=n.tooltip_grouped&&u===i.currentIdx;if(a.dragging||a.flowing||e.hasArcType()||v){n.tooltip_show&&v&&e.setTooltipPosition();return}u!==i.currentIdx&&(e.setOverOut(!1,i.currentIdx),i.currentIdx=u),u===-1?e.unselectRect():e.selectRectForSingle(this,u),e.setOverOut(u!==-1,u)}).on("mouseout",l=>{a.event=l,!(!n||e.hasArcType()||i.currentIdx===-1)&&(e.hideAxisGridFocus(),e.unselectRect(),e.setOverOut(!1,i.currentIdx),i.currentIdx=-1)})}return s},clickHandlerForSingleX(t,e){const n=e,{config:a,state:i,$el:{main:s}}=n;if(!t||n.hasArcType()||i.cancelClick){i.cancelClick&&(i.cancelClick=!1);return}const{index:o}=t;s.selectAll(`.${tn.shape}-${o}`).each(function(l){var c;(a.data_selection_grouped||n.isWithinShape(this,l))&&((c=n.toggleShape)==null||c.call(n,this,l,o),a.data_onclick.bind(n.api)(l,this))})},generateEventRectsForMultipleXs(t){const e=this,{state:n}=e;t.on("click",function(a){n.event=a,e.clickHandlerForMultipleXS.bind(this)(e)}).datum({multipleX:!0}),n.inputType==="mouse"&&t.on("mouseover mousemove",function(a){n.event=a,e.selectRectForMultipleXs(this)}).on("mouseout",a=>{n.event=a,!(!e.config||e.hasArcType())&&e.unselectRect()})},clickHandlerForMultipleXS(t){const e=t,{config:n,state:a}=e,i=e.filterTargetsToShow(e.data.targets);if(e.hasArcType(i))return;const s=zn(a.event,this),o=e.findClosestFromTargets(i,s),l=n.point_sensitivity==="radius"?o.r:n.point_sensitivity;o&&(e.isBarType(o.id)||e.dist(o,s)+t;var Py={generateFlow(t){const e=this,{data:n,state:a,$el:i}=e;return function(){const s=t.flow.length;a.flowing=!0,n.targets.forEach(l=>{l.values.splice(0,s)}),e.updateXGrid&&e.updateXGrid(!0);const o={};["axis.x","grid.x","gridLines.x","region.list","text","bar","line","area","circle"].forEach(l=>{const c=l.split(".");let u=i[c[0]];u&&c.length>1&&(u=u[c[1]]),u!=null&&u.size()&&(o[l]=u)}),e.hideGridFocus(),e.setFlowList(o,t)}},setFlowList(t,e){const n=this,{flow:a,targets:i}=e,{duration:s=e.duration,index:o,length:l,orgDataCount:c}=a,u=n.getFlowTransform(i,c,o,l),g=ql();let v;g.add(Object.keys(t).map(m=>(v=t[m].transition().ease(Cy).duration(s),m==="axis.x"?v=v.call(S=>{n.axis.x.setTransition(S).create(S)}):m==="region.list"?v=v.filter(n.isRegionOnX).attr("transform",u):v=v.attr("transform",u),v))),v.call(g,()=>{n.cleanUpFlow(t,e)})},cleanUpFlow(t,e){const n=this,{config:a,state:i,$el:{svg:s}}=n,o=a.axis_rotated,{flow:l,shape:c,xv:u}=e,{cx:g,cy:v,xForText:m,yForText:S}=c.pos,{done:I=()=>{},length:N}=l;N&&(["circle","text","shape","eventRect"].forEach(M=>{const P=[];for(let V=0;V{const P=t[M];if(M!=="axis.x"&&P.attr("transform",null),M==="grid.x")P.attr(i.xgridAttr);else if(M==="gridLines.x")P.attr("x1",o?0:u).attr("x2",o?i.width:u),P.select("text").attr("x",o?i.width:0).attr("y",u);else if(/^(area|bar|line)$/.test(M))P.attr("d",c.type[M]);else if(M==="text")P.attr("x",m).attr("y",S).style("fill-opacity",n.opacityForText.bind(n));else if(M==="circle")if(n.isCirclePoint())P.attr("cx",g).attr("cy",v);else{const V=Y=>g(Y)-a.point_r,H=Y=>v(Y)-a.point_r;P.attr("x",V).attr("y",H)}else M==="region.list"&&P.select("rect").filter(n.isRegionOnX).attr("x",n.regionX.bind(n)).attr("width",n.regionWidth.bind(n))}),a.interaction_enabled&&n.redrawEventRect(),I.call(n.api),i.flowing=!1},getFlowTransform(t,e,n,a){const i=this,{data:s,scale:{x:o}}=i,l=s.targets[0].values;let c=i.getValueOnIndex(l,n),u=i.getValueOnIndex(l,n+a),g;const v=o.domain(),m=i.updateXDomain(t,!0,!0);e?e===1||(c==null?void 0:c.x)===(u==null?void 0:u.x)?g=o(v[0])-o(m[0]):g=i.axis.isTimeSeries()?o(v[0])-o(m[0]):o((c==null?void 0:c.x)||0)-o(u.x):l.length!==1?g=o(v[0])-o(m[0]):i.axis.isTimeSeries()?(c=i.getValueOnIndex(l,0),u=i.getValueOnIndex(l,l.length-1),g=o(c.x)-o(u.x)):g=Ir(m)/2;const S=Ir(v)/Ir(m);return`translate(${g},0) scale(${S},1)`}},wy={initClip(){const t=this,{clip:e,datetimeId:n}=t.state;e.id=`${n}-clip`,e.idXAxis=`${e.id}-xaxis`,e.idYAxis=`${e.id}-yaxis`,e.idGrid=`${e.id}-grid`,e.path=t.getClipPath(e.id),e.pathXAxis=t.getClipPath(e.idXAxis),e.pathYAxis=t.getClipPath(e.idYAxis),e.pathGrid=t.getClipPath(e.idGrid)},getClipPath(t){const e=this,{config:n}=e;return!n.clipPath&&/-clip$/.test(t)||!n.axis_x_clipPath&&/-clip-xaxis$/.test(t)||!n.axis_y_clipPath&&/-clip-yaxis$/.test(t)?null:`url(#${t})`},appendClip(t,e){e&&t.append("clipPath").attr("id",e).append("rect")},setXAxisClipPath(t){const e=this,{config:n,state:{margin:a,width:i,height:s}}=e,o=n.axis_rotated,l=Math.max(30,a.left)-(o?0:20),c=(o?a.top+s+10:a.bottom)+20,u=o?-(1+l):-(l-1),g=-15,v=o?a.left+20:i+10+l;t.attr("x",u).attr("y",g).attr("width",v).attr("height",c)},setYAxisClipPath(t){const e=this,{config:n,state:{margin:a,width:i,height:s}}=e,o=n.axis_rotated,l=Math.max(30,a.left)-(o?20:0),c=n.axis_y_inner,u=c&&!o?n.axis_y_label.text?-20:-1:o?-(1+l):-(l-1),g=-(o?20:a.top),v=(o?i+15+l:a.left+20)+(c?20:0),m=(o?a.bottom+10:a.top+s)+10;t.attr("x",u).attr("y",g).attr("width",v).attr("height",m)},updateXAxisTickClip(){const t=this,{config:e,state:{clip:n,xAxisHeight:a},$el:{defs:i}}=t,s=t.getHorizontalAxisHeight("x");if(i&&!n.idXAxisTickTexts){const o=`${n.id}-xaxisticktexts`;t.appendClip(i,o),n.pathXAxisTickTexts=t.getClipPath(n.idXAxisTickTexts),n.idXAxisTickTexts=o}!e.axis_x_tick_multiline&&t.getAxisTickRotate("x")&&s!==a&&(t.setXAxisTickClipWidth(),t.setXAxisTickTextClipPathWidth()),t.state.xAxisHeight=s},setXAxisTickClipWidth(){const t=this,{config:e,state:{current:{maxTickSize:n}}}=t,a=t.getAxisTickRotate("x");if(!e.axis_x_tick_multiline&&a){const i=Math.sin(Math.PI/180*Math.abs(a));n.x.clipPath=(t.getHorizontalAxisHeight("x")-20)/i}else n.x.clipPath=null},setXAxisTickTextClipPathWidth(){const t=this,{state:{clip:e,current:n},$el:{svg:a}}=t;a&&a.select(`#${e.idXAxisTickTexts} rect`).attr("width",n.maxTickSize.x.clipPath).attr("height",30)}};const My=t=>Ie(t.position)||"end",Ly=t=>t.position==="start"?4:t.position==="middle"?0:-4;function Ou(t,e,n){return a=>{let i=t?0:e;return a.position==="start"?i=t?-n:0:a.position==="middle"&&(i=(t?-n:e)/2),i}}function Iu(t,e){e==="grid"&&t.each(function(){const n=st(this);["x1","x2","y1","y2"].forEach(a=>n.attr(a,Math.ceil(+n.attr(a))))})}var Dy={hasGrid(){const{config:t}=this;return["x","y"].some(e=>t[`grid_${e}_show`]||t[`grid_${e}_lines`].length)},initGrid(){const t=this;t.hasGrid()&&t.initGridLines(),t.initFocusGrid()},initGridLines(){const t=this,{config:e,state:{clip:n},$el:a}=t;(e.grid_x_lines.length||e.grid_y_lines.length)&&(a.gridLines.main=a.main.insert("g",`.${Se.chart}${e.grid_lines_front?" + *":""}`).attr("clip-path",n.pathGrid).attr("class",`${qe.grid} ${qe.gridLines}`),a.gridLines.main.append("g").attr("class",qe.xgridLines),a.gridLines.main.append("g").attr("class",qe.ygridLines),a.gridLines.x=Fc([]))},updateXGrid(t){const e=this,{config:n,scale:a,state:i,$el:{main:s,grid:o}}=e,l=n.axis_rotated,c=e.generateGridData(n.grid_x_type,a.x),u=e.axis.isCategorized()?e.axis.x.tickOffset():0,g=v=>(a.zoom||a.x)(v)+u*(l?-1:1);i.xgridAttr=l?{x1:0,x2:i.width,y1:g,y2:g}:{x1:g,x2:g,y1:0,y2:i.height},o.x=s.select(`.${qe.xgrids}`).selectAll(`.${qe.xgrid}`).data(c),o.x.exit().remove(),o.x=o.x.enter().append("line").attr("class",qe.xgrid).merge(o.x),t||o.x.each(function(){const v=st(this);Object.keys(i.xgridAttr).forEach(m=>{v.attr(m,i.xgridAttr[m]).style("opacity",()=>v.attr(l?"y1":"x1")===(l?i.height:0)?"0":null)})})},updateYGrid(){const t=this,{axis:e,config:n,scale:a,state:i,$el:{grid:s,main:o}}=t,l=n.axis_rotated,c=g=>Math.ceil(a.y(g)),u=e.y.getGeneratedTicks(n.grid_y_ticks)||t.scale.y.ticks(n.grid_y_ticks);s.y=o.select(`.${qe.ygrids}`).selectAll(`.${qe.ygrid}`).data(u),s.y.exit().remove(),s.y=s.y.enter().append("line").attr("class",qe.ygrid).merge(s.y),s.y.attr("x1",l?c:0).attr("x2",l?c:i.width).attr("y1",l?0:c).attr("y2",l?i.height:c),Iu(s.y,"grid")},updateGrid(){const t=this,{$el:{grid:e,gridLines:n}}=t;!n.main&&t.initGridLines(),e.main.style("visibility",t.hasArcType()?"hidden":null),t.hideGridFocus(),t.updateGridLines("x"),t.updateGridLines("y")},updateGridLines(t){const e=this,{config:n,$el:{gridLines:a,main:i},$T:s}=e,o=n.axis_rotated,l=t==="x";n[`grid_${t}_show`]&&e[`update${t.toUpperCase()}Grid`]();let c=i.select(`.${qe[`${t}gridLines`]}`).selectAll(`.${qe[`${t}gridLine`]}`).data(n[`grid_${t}_lines`]);s(c.exit()).style("opacity","0").remove();const u=c.enter().append("g");u.append("line").style("opacity","0"),c=u.merge(c),c.each(function(g){const v=st(this);v.select("text").empty()&&g.text&&v.append("text").style("opacity","0")}),s(c.attr("class",g=>`${qe[`${t}gridLine`]} ${g.class||""}`.trim()).select("text").attr("text-anchor",My).attr("transform",()=>l?o?null:"rotate(-90)":o?"rotate(-90)":null).attr("dx",Ly).attr("dy",-5)).text(function(g){var v;return(v=g.text)!=null?v:this.remove()}),a[t]=c},redrawGrid(t){const e=this,{config:{axis_rotated:n},state:{width:a,height:i},$el:{gridLines:s},$T:o}=e,l=e.xv.bind(e),c=e.yv.bind(e);let u=s.x.select("line"),g=s.x.select("text"),v=s.y.select("line"),m=s.y.select("text");return u=o(u,t).attr("x1",n?0:l).attr("x2",n?a:l).attr("y1",n?l:0).attr("y2",n?l:i),g=o(g,t).attr("x",Ou(!n,a,i)).attr("y",l),v=o(v,t).attr("x1",n?c:0).attr("x2",n?c:a).attr("y1",n?0:c).attr("y2",n?i:c),m=o(m,t).attr("x",Ou(n,a,i)).attr("y",c),[u.style("opacity",null),g.style("opacity",null),v.style("opacity",null),m.style("opacity",null)]},initFocusGrid(){const t=this,{config:e,state:{clip:n},$el:a}=t,i=e.grid_front,s=`.${i&&a.gridLines.main?qe.gridLines:Se.chart}${i?" + *":""}`,o=a.main.insert("g",s).attr("clip-path",n.pathGrid).attr("class",qe.grid);if(a.grid.main=o,e.grid_x_show&&o.append("g").attr("class",qe.xgrids),e.grid_y_show&&o.append("g").attr("class",qe.ygrids),e.axis_tooltip){const l=o.append("g").attr("class","bb-axis-tooltip");l.append("line").attr("class","bb-axis-tooltip-x"),l.append("line").attr("class","bb-axis-tooltip-y")}e.interaction_enabled&&e.grid_focus_show&&!e.axis_tooltip&&(o.append("g").attr("class",Ke.xgridFocus).append("line").attr("class",Ke.xgridFocus),e.grid_focus_y&&!e.tooltip_grouped&&o.append("g").attr("class",Ke.ygridFocus).append("line").attr("class",Ke.ygridFocus))},showAxisGridFocus(){var t,e;const n=this,{config:a,format:i,state:{event:s,width:o,height:l}}=n,c=a.axis_rotated,[u,g]=zn(s,(t=n.$el.eventRect)==null?void 0:t.node()),v={x:u,y:g};for(const[m,S]of Object.entries(n.$el.axisTooltip)){const I=m==="x"&&!c||m!=="x"&&c?"x":"y",N=v[I];let M=(e=n.scale[m])==null?void 0:e.invert(N);M&&(M=m==="x"&&n.axis.isTimeSeries()?i.xAxisTick(M):M==null?void 0:M.toFixed(2),S==null||S.attr(I,N).text(M))}n.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility",null).each(function(m,S){const I=st(this);S===0?I.attr("x1",u).attr("x2",u).attr("y1",S?0:l).attr("y2",S?l:0):I.attr("x1",S?0:o).attr("x2",S?o:0).attr("y1",g).attr("y2",g)})},hideAxisGridFocus(){const t=this;t.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility","hidden"),Object.values(t.$el.axisTooltip).forEach(e=>e==null?void 0:e.style("display","none"))},showGridFocus(t){var e;const n=this,{config:a,state:{width:i,height:s}}=n,o=a.axis_rotated,l=n.$el.main.selectAll(`line.${Ke.xgridFocus}, line.${Ke.ygridFocus}`),c=(t||[l.datum()]).filter(v=>v&&Ie(n.getBaseValue(v)));if(!a.tooltip_show||c.length===0||!a.axis_x_forceAsSingle&&n.hasType("bubble")||n.hasArcType())return;const u=a.grid_focus_edge&&!a.tooltip_grouped,g=n.xx.bind(n);l.style("visibility",null).data(c.concat(c)).each(function(v){const m=st(this),S={x:g(v),y:n.getYScaleById(v.id)(v.value)};let I;if(m.classed(Ke.xgridFocus))I=o?[null,S.x,u?S.y:i,S.x]:[S.x,u?S.y:null,S.x,s];else{const N=n.axis.getId(v.id)==="y2";I=o?[S.y,u&&!N?S.x:null,S.y,u&&N?S.x:s]:[u&&N?S.x:null,S.y,u&&!N?S.x:i,S.y]}["x1","y1","x2","y2"].forEach((N,M)=>m.attr(N,I[M]))}),Iu(l,"grid"),(e=n.showCircleFocus)==null||e.call(n,t)},hideGridFocus(){var t;const e=this,{state:{inputType:n,resizing:a},$el:{main:i}}=e;(n==="mouse"||!a)&&(i.selectAll(`line.${Ke.xgridFocus}, line.${Ke.ygridFocus}`).style("visibility","hidden"),(t=e.hideCircleFocus)==null||t.call(e))},updateGridFocus(){var t;const e=this,{state:{inputType:n,width:a,height:i,resizing:s},$el:{grid:o}}=e,l=o.main.select(`line.${Ke.xgridFocus}`);if(n==="touch")l.empty()?s&&((t=e.showCircleFocus)==null||t.call(e)):e.showGridFocus();else{const c=e.config.axis_rotated;l.attr("x1",c?0:-10).attr("x2",c?a:-10).attr("y1",c?-10:0).attr("y2",c?-10:i)}return!0},generateGridData(t,e){const n=this,a=n.$el.main.select(`.${on.axisX}`).selectAll(".tick").size();let i=[];if(t==="year"){const s=n.getXDomain(),[o,l]=s.map(c=>c.getFullYear());for(let c=o;c<=l;c++)i.push(new Date(`${c}-01-01 00:00:00`))}else i=e.ticks(10),i.length>a&&(i=i.filter(s=>String(s).indexOf(".")<0));return i},getGridFilterToRemove(t){return t?e=>{let n=!1;return(Fe(t)?t.concat():[t]).forEach(a=>{("value"in a&&e.value===a.value||"class"in a&&e.class===a.class)&&(n=!0)}),n}:()=>!0},removeGridLines(t,e){const n=this,{config:a,$T:i}=n,s=n.getGridFilterToRemove(t),o=g=>!s(g),l=e?qe.xgridLines:qe.ygridLines,c=e?qe.xgridLine:qe.ygridLine;i(n.$el.main.select(`.${l}`).selectAll(`.${c}`).filter(s)).style("opacity","0").remove();const u=`grid_${e?"x":"y"}_lines`;a[u]=a[u].filter(o)}},Ny={initRegion(){const t=this,{$el:e}=t;e.region.main=e.main.insert("g",":first-child").attr("clip-path",t.state.clip.path).attr("class",$a.regions)},updateRegion(){const t=this,{config:e,$el:{region:n},$T:a}=t;n.main||t.initRegion(),n.main.style("visibility",t.hasArcType()?"hidden":null);const i=n.main.selectAll(`.${$a.region}`).data(e.regions);a(i.exit()).style("opacity","0").remove();const s=i.enter().append("g");s.append("rect").style("fill-opacity","0"),n.list=s.merge(i).attr("class",t.classRegion.bind(t)),n.list.each(function(o){var l;st(this).select("text").empty()&&((l=o.label)!=null&&l.text)&&st(this).append("text").style("opacity","0")})},redrawRegion(t){const e=this,{$el:{region:n},$T:a}=e;let i=n.list.select("rect"),s=n.list.selectAll("text");return i=a(i,t).attr("x",e.regionX.bind(e)).attr("y",e.regionY.bind(e)).attr("width",e.regionWidth.bind(e)).attr("height",e.regionHeight.bind(e)),s=a(s,t).attr("transform",o=>{var l;const{x:c=0,y:u=0,rotated:g=!1}=(l=o.label)!=null?l:{};return`translate(${e.regionX.bind(e)(o)+c}, ${e.regionY.bind(e)(o)+u})${g?" rotate(-90)":""}`}).attr("text-anchor",o=>{var l;return(l=o.label)!=null&&l.rotated?"end":null}).attr("dy","1em").style("fill",o=>{var l,c;return(c=(l=o.label)==null?void 0:l.color)!=null?c:null}).text(o=>{var l;return(l=o.label)==null?void 0:l.text}),[i.style("fill-opacity",o=>Ie(o.opacity)?o.opacity:null).on("end",function(){st(this.parentNode).selectAll("rect:not([x])").remove()}),s.style("opacity",null)]},getRegionXY(t,e){const n=this,{config:a,scale:i}=n,s=a.axis_rotated,o=t==="x";let l="start",c,u=0;return e.axis==="y"||e.axis==="y2"?(o||(l="end"),(o?s:!s)&&l in e&&(c=i[e.axis],u=c(e[l]))):(o?!s:s)&&l in e&&(c=i.zoom||i.x,u=c(n.axis.isTimeSeries()?Dn.call(n,e[l]):e[l])),u},regionX(t){return this.getRegionXY("x",t)},regionY(t){return this.getRegionXY("y",t)},getRegionSize(t,e){const n=this,{config:a,scale:i,state:s}=n,o=a.axis_rotated,l=t==="width",c=n[l?"regionX":"regionY"](e);let u,g="end",v=s[t];return e.axis==="y"||e.axis==="y2"?(l||(g="start"),(l?o:!o)&&g in e&&(u=i[e.axis],v=u(e[g]))):(l?!o:o)&&g in e&&(u=i.zoom||i.x,v=u(n.axis.isTimeSeries()?Dn.call(n,e[g]):e[g])),v0&&(!i.axis_x_tick_autorotate||a.needToRotateXAxisTickTexts());return(i.axis_x_tick_multiline||M)&&N.height>S&&(I+=N.height-S),I+(a.axis.getLabelPositionById(t).isInner?0:10)+(t==="y2"&&!u?-10:0)},getEventRectWidth(){const t=this,{config:e,axis:n}=t,a=e.axis_x_inverted,i=n.x.tickInterval();return Math.max(0,a?Math.abs(i):i)},getAxisTickRotate(t){const e=this,{axis:n,config:a,state:i,$el:s}=e;let o=a[`axis_${t}_tick_rotate`];if(t==="x"){const l=n.isCategorized()||n.isTimeSeries();if(a.axis_x_tick_fit&&l){const c=a.axis_x_tick_count,u=i.current.maxTickSize.x.ticks.length;let g=0;if(c?g=c>u?u:c:u&&(g=u),g!==i.axis.x.tickCount){const{targets:v}=e.data;i.axis.x.padding=e.getXDomainPadding([e.getXDomainMinMax(v,"min"),e.getXDomainMinMax(v,"max")],g)}i.axis.x.tickCount=g}s.svg&&a.axis_x_tick_autorotate&&a.axis_x_tick_fit&&!a.axis_x_tick_multiline&&!a.axis_x_tick_culling&&l&&(o=e.needToRotateXAxisTickTexts()?a.axis_x_tick_rotate:0)}return o},needToRotateXAxisTickTexts(){const t=this,{state:{axis:e,current:n,isLegendRight:a,legendItemWidth:i}}=t,s=a&&i,o=n.width-s-t.getCurrentPaddingByDirection("left")-t.getCurrentPaddingByDirection("right"),l=e.x.tickCount+e.x.padding.left+e.x.padding.right,{width:c}=t.axis.getMaxTickSize("x"),u=l?o/l:0;return c>u}},By={axis_x_clipPath:!0,axis_x_show:!0,axis_x_forceAsSingle:!1,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_culling_lines:!0,axis_x_tick_count:void 0,axis_x_tick_show:!0,axis_x_tick_text_show:!0,axis_x_tick_text_inner:!1,axis_x_tick_text_position:{x:0,y:0},axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_autorotate:!1,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_width:null,axis_x_tick_tooltip:!1,axis_x_max:void 0,axis_x_min:void 0,axis_x_inverted:!1,axis_x_padding:{},axis_x_height:void 0,axis_x_extent:void 0,axis_x_label:{},axis_x_axes:[]},Uy={axis_y_clipPath:!0,axis_y_show:!0,axis_y_type:"indexed",axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:!1,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_culling:!1,axis_y_tick_culling_max:5,axis_y_tick_culling_lines:!0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_show:!0,axis_y_tick_stepSize:null,axis_y_tick_text_show:!0,axis_y_tick_text_position:{x:0,y:0},axis_y_tick_time_value:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y_axes:[]},zy={axis_y2_show:!1,axis_y2_type:"indexed",axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:!1,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_culling:!1,axis_y2_tick_culling_max:5,axis_y2_tick_culling_lines:!0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_rotate:0,axis_y2_tick_count:void 0,axis_y2_tick_show:!0,axis_y2_tick_stepSize:null,axis_y2_tick_text_show:!0,axis_y2_tick_text_position:{x:0,y:0},axis_y2_padding:{},axis_y2_default:void 0,axis_y2_axes:[]},jy=Object.defineProperty,Cu=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,Vy=Object.prototype.propertyIsEnumerable,Pu=(t,e,n)=>e in t?jy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,yo=(t,e)=>{for(var n in e||(e={}))Gy.call(e,n)&&Pu(t,n,e[n]);if(Cu)for(var n of Cu(e))Vy.call(e,n)&&Pu(t,n,e[n]);return t},Xy=yo(yo(yo({axis_rotated:!1,axis_tooltip:!1},By),Uy),zy),Yy={grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:void 0,grid_focus_edge:!1,grid_focus_show:!0,grid_focus_y:!1,grid_front:!1,grid_lines_front:!0},Hy={data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1};const Wy=[ay,iy,sy,oy,ly,cy,uy],wu={axis:Ry,clip:wy,eventrect:Iy,flow:Py,grid:Dy,region:Ny,sizeAxis:Fy},Mu={optDataAxis:Hy,optAxis:Xy,optGrid:Yy};var b1=Array.prototype.slice;function xo(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Pe(t){return function(){return t}}function Ky(t,e){return et?1:e>=t?0:NaN}function Zy(t){return t}function ky(){var t=Zy,e=Ky,n=null,a=Pe(0),i=Pe(Ui),s=Pe(0);function o(l){var c,u=(l=xo(l)).length,g,v,m=0,S=new Array(u),I=new Array(u),N=+a.apply(this,arguments),M=Math.min(Ui,Math.max(-Ui,i.apply(this,arguments)-N)),P,V=Math.min(Math.abs(M)/u,s.apply(this,arguments)),H=V*(M<0?-1:1),Y;for(c=0;c0&&(m+=Y);for(e!=null?S.sort(function(_,K){return e(I[_],I[K])}):n!=null&&S.sort(function(_,K){return n(l[_],l[K])}),c=0,v=m?(M-u*H)/m:0;c0?Y*v:0)+H,I[g]={data:l[g],index:c,value:Y,startAngle:N,endAngle:P,padAngle:V};return I}return o.value=function(l){return arguments.length?(t=typeof l=="function"?l:Pe(+l),o):t},o.sortValues=function(l){return arguments.length?(e=l,n=null,o):e},o.sort=function(l){return arguments.length?(n=l,e=null,o):n},o.startAngle=function(l){return arguments.length?(a=typeof l=="function"?l:Pe(+l),o):a},o.endAngle=function(l){return arguments.length?(i=typeof l=="function"?l:Pe(+l),o):i},o.padAngle=function(l){return arguments.length?(s=typeof l=="function"?l:Pe(+l),o):s},o}var Jy=Math.pow;const To=Math.PI,$o=2*To,Br=1e-6,Qy=$o-Br;function Lu(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Lu;const n=Jy(10,e);return function(a){this._+=a[0];for(let i=1,s=a.length;iBr)if(!(Math.abs(v*c-u*g)>Br)||!s)this._append`L${this._x1=e},${this._y1=n}`;else{let S=a-o,I=i-l,N=c*c+u*u,M=S*S+I*I,P=Math.sqrt(N),V=Math.sqrt(m),H=s*Math.tan((To-Math.acos((N+m-M)/(2*P*V)))/2),Y=H/V,_=H/P;Math.abs(Y-1)>Br&&this._append`L${e+Y*g},${n+Y*v}`,this._append`A${s},${s},0,0,${+(v*S>g*I)},${this._x1=e+_*c},${this._y1=n+_*u}`}}arc(e,n,a,i,s,o){if(e=+e,n=+n,a=+a,o=!!o,a<0)throw new Error(`negative radius: ${a}`);let l=a*Math.cos(i),c=a*Math.sin(i),u=e+l,g=n+c,v=1^o,m=o?i-s:s-i;this._x1===null?this._append`M${u},${g}`:(Math.abs(this._x1-u)>Br||Math.abs(this._y1-g)>Br)&&this._append`L${u},${g}`,a&&(m<0&&(m=m%$o+$o),m>Qy?this._append`A${a},${a},0,1,${v},${e-l},${n-c}A${a},${a},0,1,${v},${this._x1=u},${this._y1=g}`:m>Br&&this._append`A${a},${a},0,${+(m>=To)},${v},${this._x1=e+a*Math.cos(s)},${this._y1=n+a*Math.sin(s)}`)}rect(e,n,a,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${a=+a}v${+i}h${-a}Z`}toString(){return this._}}function qy(){return new Hi}qy.prototype=Hi.prototype;function E1(t=3){return new Hi(+t)}function So(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const a=Math.floor(n);if(!(a>=0))throw new RangeError(`invalid digits: ${n}`);e=a}return t},()=>new Hi(e)}function tx(t){return t.innerRadius}function ex(t){return t.outerRadius}function nx(t){return t.startAngle}function rx(t){return t.endAngle}function ax(t){return t&&t.padAngle}function ix(t,e,n,a,i,s,o,l){var c=n-t,u=a-e,g=o-i,v=l-s,m=v*c-g*u;if(!(m*mZ*Z+Et*Et&&($t=vt,At=gt),{cx:$t,cy:At,x01:-g,y01:-v,x11:$t*(i/_-1),y11:At*(i/_-1)}}function Du(){var t=tx,e=ex,n=Pe(0),a=null,i=nx,s=rx,o=ax,l=null,c=So(u);function u(){var g,v,m=+t.apply(this,arguments),S=+e.apply(this,arguments),I=i.apply(this,arguments)-Bi,N=s.apply(this,arguments)-Bi,M=Vc(N-I),P=N>I;if(l||(l=g=c()),STn))l.moveTo(0,0);else if(M>Ui-Tn)l.moveTo(S*Nr(I),S*Qn(I)),l.arc(0,0,S,I,N,!P),m>Tn&&(l.moveTo(m*Nr(N),m*Qn(N)),l.arc(0,0,m,N,I,P));else{var V=I,H=N,Y=I,_=N,K=M,at=M,$t=o.apply(this,arguments)/2,At=$t>Tn&&(a?+a.apply(this,arguments):ra(m*m+S*S)),vt=lo(Vc(S-m)/2,+n.apply(this,arguments)),gt=vt,Ft=vt,pt,Z;if(At>Tn){var Et=Xc(At/m*Qn($t)),ut=Xc(At/S*Qn($t));(K-=Et*2)>Tn?(Et*=P?1:-1,Y+=Et,_-=Et):(K=0,Y=_=(I+N)/2),(at-=ut*2)>Tn?(ut*=P?1:-1,V+=ut,H-=ut):(at=0,V=H=(I+N)/2)}var Rt=S*Nr(V),jt=S*Qn(V),zt=m*Nr(_),Wt=m*Qn(_);if(vt>Tn){var Ht=S*Nr(H),ee=S*Qn(H),je=m*Nr(Y),Oe=m*Qn(Y),Ge;if(MTn?Ft>Tn?(pt=Wi(je,Oe,Rt,jt,S,Ft,P),Z=Wi(Ht,ee,zt,Wt,S,Ft,P),l.moveTo(pt.cx+pt.x01,pt.cy+pt.y01),FtTn)||!(K>Tn)?l.lineTo(zt,Wt):gt>Tn?(pt=Wi(zt,Wt,Ht,ee,m,-gt,P),Z=Wi(Rt,jt,je,Oe,m,-gt,P),l.lineTo(pt.cx+pt.x01,pt.cy+pt.y01),gte in t?sx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,fx=(t,e)=>{for(var n in e||(e={}))cx.call(e,n)&&Fu(t,n,e[n]);if(Nu)for(var n of Nu(e))ux.call(e,n)&&Fu(t,n,e[n]);return t},dx=(t,e)=>ox(t,lx(e));function Bu(t=0){const e=this,{config:n,state:a}=e,i=e.hasMultiArcGauge(),s=a.gaugeArcWidth/e.filterTargetsToShow(e.data.targets).length,o=t?Math.min(a.radiusExpanded*t-a.radius,s*.8-(1-t)*100):0;return{inner(l){const{innerRadius:c}=e.getRadius(l);return i?a.radius-s*(l.index+1):fe(c)?c:0},outer(l){const{outerRadius:c}=e.getRadius(l);let u;if(i)u=a.radius-s*l.index+o;else if(e.hasType("polar")&&!t)u=e.getPolarOuterRadius(l,c);else if(u=c,t){let{radiusExpanded:g}=a;a.radius!==c&&(g-=Math.abs(a.radius-c)),u=g*t}return u},corner(l,c){const{arc_cornerRadius_ratio:u=0,arc_cornerRadius:g=0}=n,{data:{id:v},value:m}=l;let S=0;return u?S=u*c:S=fe(g)?g:g.call(e.api,v,m,c),S}}}function Ao(t){return function(e){const n=({startAngle:i=0,endAngle:s=0,padAngle:o=0})=>({startAngle:i,endAngle:s,padAngle:o}),a=Kr(n(this._current),n(e));return this._current=e,function(i){const s=a(i),{data:o,index:l,value:c}=e;return t(dx(fx({},s),{data:o,index:l,value:c}))}}}var hx={initPie(){const t=this,{config:e}=t,n=e.data_type,a=e[`${n}_padding`],i=e[`${n}_startingAngle`]||0,s=(a?a*.01:e[`${n}_padAngle`])||0;t.pie=ky().startAngle(i).endAngle(i+2*Math.PI).padAngle(s).value(o=>{var l,c;return(c=(l=o.values)==null?void 0:l.reduce((u,g)=>u+g.value,0))!=null?c:o}).sort(t.getSortCompareFn.bind(t)(!0))},updateRadius(){const t=this,{config:e,state:n}=t,a=e.data_type,i=e[`${a}_padding`],s=e.gauge_width||e.donut_width,o=t.filterTargetsToShow(t.data.targets).length*e.gauge_arcs_minWidth;n.radiusExpanded=Math.min(n.arcWidth,n.arcHeight)/2*(t.hasMultiArcGauge()&&e.gauge_label_show?.85:1),n.radius=n.radiusExpanded*.95,n.innerRadiusRatio=s?(n.radius-s)/n.radius:.6,n.gaugeArcWidth=s||(o<=n.radius-n.innerRadius?n.radius-n.innerRadius:o<=n.radius?o:n.radius);const l=e.pie_innerRadius||(i?i*(n.innerRadiusRatio+.1):0);n.outerRadius=e.pie_outerRadius,n.innerRadius=t.hasType("donut")||t.hasType("gauge")?n.radius*n.innerRadiusRatio:l},getRadius(t){const e=this,n=t==null?void 0:t.data;let{innerRadius:a,outerRadius:i}=e.state;return!fe(a)&&n&&(a=a[n.id]||0),De(i)&&n&&n.id in i?i=i[n.id]:fe(i)||(i=e.state.radius),{innerRadius:a,outerRadius:i}},updateArc(){const t=this;t.updateRadius(),t.svgArc=t.getSvgArc(),t.svgArcExpanded=t.getSvgArcExpanded()},getArcLength(){const t=this,{config:e}=t,n=e.gauge_arcLength*3.6;let a=2*(n/360);return n<-360?a=-2:n>360&&(a=2),a*Math.PI},getStartingAngle(){const t=this,{config:e}=t,n=e.data_type,a=t.hasType("gauge")?e.gauge_fullCircle:!1,i=-1*Math.PI/2,s=Math.PI/2;let o=e[`${n}_startingAngle`]||0;return!a&&o<=i?o=i:!a&&o>=s?o=s:(o>Math.PI||o<-1*Math.PI)&&(o=Math.PI),o},updateAngle(t,e=!1){var n;const a=this,{config:i,state:s}=a,o=e&&a.hasType("gauge");let{pie:l}=a,c=t,u=!1;if(!i)return null;const g=a.getStartingAngle(),v=i.gauge_fullCircle||e&&!o?a.getArcLength():g*-2;if(c.data&&a.isGaugeType(c.data)&&!a.hasMultiArcGauge()){const{gauge_min:m,gauge_max:S}=i,I=a.getTotalDataSum(s.rendered),N=v*((I-m)/(S-m));l=l.startAngle(g).endAngle(N+g)}if(e===!1&&l(a.filterTargetsToShow()).forEach((m,S)=>{var I;!u&&m.data.id===((I=c.data)==null?void 0:I.id)&&(u=!0,c=m,c.index=S)}),isNaN(c.startAngle)&&(c.startAngle=0),isNaN(c.endAngle)&&(c.endAngle=c.startAngle),e||c.data&&(i.gauge_enforceMinMax||a.hasMultiArcGauge())){const{gauge_min:m,gauge_max:S}=i,I=e&&!o?a.getTotalDataSum(s.rendered):S,N=v/(I-m),M=(n=c.value)!=null?n:0,P=M{const l=e.updateAngle(o),c=a(l);let u=0;return l&&(u=i(l,c)),l?s.cornerRadius(u)(l):"M 0 0"}},getArc(t,e,n){return n||this.isArcType(t.data)?this.svgArc(t,e):"M 0 0"},redrawArcRangeText(){const t=this,{config:e,$el:{arcs:n},state:a,$T:i}=t,s=e.arc_rangeText_format,o=t.hasType("gauge")&&e.arc_rangeText_fixed;let l=e.arc_rangeText_values;if(l!=null&&l.length){const c=e.arc_rangeText_unit==="%",u=t.getTotalDataSum(a.rendered);c&&(l=l.map(m=>u/100*m));const g=t.pie(l).map((m,S)=>(m.index=S,m));let v=n.selectAll(`.${Be.arcRange}`).data(l);v.exit(),v=i(v.enter().append("text").attr("class",Be.arcRange).style("text-anchor","middle").style("pointer-events","none").style("opacity","0").text(m=>{const S=c?m/u*100:m;return de(s)?s(S):`${S}${c?"%":""}`}).merge(v)),(!a.rendered||a.rendered&&!o)&&u>0&&v.attr("transform",(m,S)=>t.transformForArcLabel(g[S],!0)),v.style("opacity",m=>!o&&(m>u||u===0)?"0":null)}},transformForArcLabel(t,e=!1){var n,a,i;const s=this,{config:o,state:{radiusExpanded:l}}=s,c=s.updateAngle(t,e);let u="";if(c){if(e||s.hasMultiArcGauge()){const g=Math.sin(c.endAngle-Math.PI/2),v=o.arc_rangeText_position;let m=Math.cos(c.endAngle-Math.PI/2)*(l+(e?5:25)),S=g*(l+15-Math.abs(g*10))+3;if(e&&v){const I=o.arc_rangeText_values,N=de(v)?v(I[t.index]):v;m+=(n=N==null?void 0:N.x)!=null?n:0,S+=(a=N==null?void 0:N.y)!=null?a:0}u=`translate(${m},${S})`}else if(!s.hasType("gauge")||s.data.targets.length>1){let{outerRadius:g}=s.getRadius(t);s.hasType("polar")&&(g=s.getPolarOuterRadius(t,g));const v=this.svgArc.centroid(c),[m,S]=v.map(M=>isNaN(M)?0:M),I=Math.sqrt(m*m+S*S);let N=(i=["donut","gauge","pie","polar"].filter(s.hasType.bind(s)).map(M=>o[`${M}_label_ratio`]))==null?void 0:i[0];N?N=de(N)?N.bind(s.api)(t,g,I):N:N=g&&(I?(36/g>.375?1.175-36/g:.8)*g/I:0),u=`translate(${m*N},${S*N})`}}return u},convertToArcData(t){return this.addName({id:"data"in t?t.data.id:t.id,value:t.value,ratio:this.getRatio("arc",t),index:t.index})},textForArcLabel(t){const e=this,n=e.hasType("gauge");e.shouldShowArcLabel()&&t.style("fill",e.updateTextColor.bind(e)).attr("filter",a=>e.updateTextBGColor.bind(e)(a,e.config.data_labels_backgroundColors)).each(function(a){var i;const s=st(this),o=e.updateAngle(a),l=e.getRatio("arc",o);if(e.meetsLabelThreshold(l,(i=["donut","gauge","pie","polar"].filter(e.hasType.bind(e)))==null?void 0:i[0])){const{value:u}=o||a,g=(e.getArcLabelFormat()||e.defaultArcValueFormat)(u,l,a.data.id).toString();wa(s,g,[-1,1],n)}else s.text("")})},expandArc(t){const e=this,{state:{transiting:n},$el:a}=e;if(n){const s=setInterval(()=>{n||(clearInterval(s),a.legend.selectAll(`.${Ke.legendItemFocused}`).size()>0&&e.expandArc(t))},10);return}const i=e.mapToTargetIds(t);a.svg.selectAll(e.selectorTargets(i,`.${Be.chartArc}`)).each(function(s){if(!e.shouldExpand(s.data.id))return;const o=e.getExpandConfig(s.data.id,"duration"),l=e.getSvgArcExpanded(e.getExpandConfig(s.data.id,"rate"));st(this).selectAll("path").transition().duration(o).attrTween("d",Ao(e.svgArcExpanded.bind(e))).transition().duration(o*2).attrTween("d",Ao(l.bind(e)))})},unexpandArc(t){const e=this,{state:{transiting:n},$el:{svg:a}}=e;if(n)return;const i=e.mapToTargetIds(t);a.selectAll(e.selectorTargets(i,`.${Be.chartArc}`)).selectAll("path").transition().duration(s=>e.getExpandConfig(s.data.id,"duration")).attrTween("d",Ao(e.svgArc.bind(e))),a.selectAll(`${Be.arc}`).style("opacity",null)},getExpandConfig(t,e){const n=this,{config:a}=n,i={duration:50,rate:.98};let s;return n.isDonutType(t)?s="donut":n.isGaugeType(t)?s="gauge":n.isPieType(t)&&(s="pie"),s?a[`${s}_expand_${e}`]:i[e]},shouldExpand(t){const e=this,{config:n}=e;return e.isDonutType(t)&&n.donut_expand||e.isGaugeType(t)&&n.gauge_expand||e.isPieType(t)&&n.pie_expand},shouldShowArcLabel(){const t=this,{config:e}=t;return["donut","gauge","pie","polar"].some(n=>t.hasType(n)&&e[`${n}_label_show`])},getArcLabelFormat(){const t=this,{config:e}=t;let n=a=>a;return["donut","gauge","pie","polar"].filter(t.hasType.bind(t)).forEach(a=>{n=e[`${a}_label_format`]}),de(n)?n.bind(t.api):n},updateTargetsForArc(t){const e=this,{$el:n}=e,a=e.hasType("gauge"),i=e.getChartClass("Arc"),s=e.getClass("arcs",!0),o=e.classFocus.bind(e),l=n.main.select(`.${Be.chartArcs}`),c=l.selectAll(`.${Be.chartArc}`).data(e.pie(t)).attr("class",g=>i(g)+o(g.data)),u=c.enter().append("g").attr("class",i).call(this.setCssRule(!1,`.${Be.chartArcs} text`,["pointer-events:none","text-anchor:middle"]));u.append("g").attr("class",s).merge(c),u.append("text").attr("dy",a&&!e.hasMultiTargets()?"-.1em":".35em").style("opacity","0").style("text-anchor",e.getStylePropValue("middle")).style("pointer-events",e.getStylePropValue("none")),n.text=l.selectAll(`.${Se.target} text`)},initArc(){const t=this,{$el:e}=t;e.arcs=e.main.select(`.${Se.chart}`).append("g").attr("class",Be.chartArcs).attr("transform",t.getTranslate("arc")),t.setArcTitle()},setArcTitle(t){const e=this,n=t||e.getArcTitle(),a=e.hasType("gauge");if(n){const i=a?Ln.chartArcsGaugeTitle:Be.chartArcsTitle;let s=e.$el.arcs.select(`.${i}`);s.empty()&&(s=e.$el.arcs.append("text").attr("class",i).style("text-anchor","middle")),a&&s.attr("dy","-0.3em"),wa(s,n,a?void 0:[-.6,1.35],!0)}},getArcTitle(){const t=this,e=t.hasType("donut")&&"donut"||t.hasType("gauge")&&"gauge";return e?t.config[`${e}_title`]:""},getArcTitleWithNeedleValue(){const t=this,{config:e,state:n}=t,a=t.getArcTitle();if(a&&t.config.arc_needle_show&&/{=[A-Z_]+}/.test(a)){let i=n.current.needle;return fe(i)||(i=e.arc_needle_value),bi(a,{NEEDLE_VALUE:fe(i)?i:0})}return!1},redrawArc(t,e,n){const a=this,{config:i,state:s,$el:{main:o}}=a,l=i.interaction_enabled,c=l&&i.data_selection_isselectable;let u=o.selectAll(`.${Be.arcs}`).selectAll(`.${Be.arc}`).data(a.arcData.bind(a));u.exit().transition().duration(e).style("opacity","0").remove(),u=u.enter().append("path").attr("class",a.getClass("arc",!0)).style("fill",g=>a.color(g.data)).style("cursor",g=>{var v;return(v=c==null?void 0:c.bind)!=null&&v.call(c,a.api)(g)?"pointer":null}).style("opacity","0").each(function(g){a.isGaugeType(g.data)&&(g.startAngle=i.gauge_startingAngle,g.endAngle=i.gauge_startingAngle),this._current=g}).merge(u),a.hasType("gauge")&&(a.updateGaugeMax(),a.hasMultiArcGauge()&&a.redrawArcGaugeLine()),u.attr("transform",g=>!a.isGaugeType(g.data)&&n?"scale(0)":"").style("opacity",function(g){return g===this._current?"0":null}).each(()=>{s.transiting=!0}).transition().duration(t).attrTween("d",function(g){const v=a.updateAngle(g);if(!v)return()=>"M 0 0";isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle);const m=Kr(this._current,v);return this._current=m(0),function(S){const I=m(S);return I.data=g.data,a.getArc(I,!0)}}).attr("transform",n?"scale(1)":"").style("fill",g=>{let v;return a.levelColor?(v=a.levelColor(g.data.values[0].value),i.data_colors[g.data.id]=v):v=a.color(g.data),v}).style("opacity",null).call($i,function(){if(a.levelColor){const g=st(this),v=g.datum(this._current);a.updateLegendItemColor(v.data.id,g.style("fill"))}s.transiting=!1,Ze(i.onrendered,a.api)}),l&&a.bindArcEvent(u),a.hasType("polar")&&a.redrawPolar(),a.hasType("gauge")&&a.redrawBackgroundArcs(),i.arc_needle_show&&a.redrawNeedle(),a.redrawArcText(t),a.redrawArcRangeText()},redrawNeedle(){const t=this,{$el:e,config:n,state:{hiddenTargetIds:a,radius:i}}=t,s=(i-1)/100*n.arc_needle_length,o=a.length!==t.data.targets.length;let l=t.$el.arcs.select(`.${Be.needle}`);const c=n.arc_needle_path,u=n.arc_needle_bottom_width/2,g=n.arc_needle_top_width/2,v=n.arc_needle_top_rx,m=n.arc_needle_top_ry,S=n.arc_needle_bottom_len,I=n.arc_needle_bottom_rx,N=n.arc_needle_bottom_ry,M=t.getNeedleAngle(),P=()=>{const V=t.getArcTitleWithNeedleValue();V&&t.setArcTitle(V)};if(P(),l.empty()&&(l=e.arcs.append("path").classed(Be.needle,!0),e.needle=l,e.needle.updateHelper=(V,H=!1)=>{e.needle.style("display")!=="none"&&t.$T(e.needle).style("transform",`rotate(${t.getNeedleAngle(V)}deg)`).call($i,()=>{H&&(n.arc_needle_value=V),P()})}),o){const V=de(c)?c.call(t,s):`M-${u} ${S} A${I} ${N} 0 0 0 ${u} ${S} L${g} -${s} A${v} ${m} 0 0 0 -${g} -${s} L-${u} ${S} Z`;t.$T(l).attr("d",V).style("fill",n.arc_needle_color).style("display",null).style("transform",`rotate(${M}deg)`)}else l.style("display","none")},getNeedleAngle(t){const e=this,{config:n,state:a}=e,i=e.getArcLength(),s=e.hasType("gauge"),o=e.getTotalDataSum(!0);let l=Ye(t)?t:n.arc_needle_value,c=n[`${n.data_type}_startingAngle`]||0,u=0;if(fe(l)||(l=s&&e.data.targets.length===1?o:0),a.current.needle=l,s){c=e.getStartingAngle();const g=n.gauge_fullCircle?i:c*-2,{gauge_min:v,gauge_max:m}=n;u=g*((l-v)/(m-v))}else u=i*(l/o);return(c+u)*(180/Math.PI)},redrawBackgroundArcs(){const t=this,{config:e,state:n}=t,a=t.hasMultiArcGauge(),i=e.gauge_fullCircle,s=t.filterTargetsToShow(t.data.targets).length===0&&!!e.data_empty_label_text,o=t.getStartingAngle(),l=i?o+t.getArcLength():o*-1;let c=t.$el.arcs.select(`${a?"g":""}.${Be.chartArcsBackground}`);if(a){let u=0;c=c.selectAll(`path.${Be.chartArcsBackground}`).data(t.data.targets),c.enter().append("path").attr("class",(g,v)=>`${Be.chartArcsBackground} ${Be.chartArcsBackground}-${v}`).merge(c).style("fill",e.gauge_background||null).attr("d",({id:g})=>{if(s||n.hiddenTargetIds.indexOf(g)>=0)return"M 0 0";const v={data:[{value:e.gauge_max}],startAngle:o,endAngle:l,index:u++};return t.getArc(v,!0,!0)}),c.exit().remove()}else c.attr("d",s?"M 0 0":()=>{const u={data:[{value:e.gauge_max}],startAngle:o,endAngle:l};return t.getArc(u,!0,!0)})},bindArcEvent(t){const e=this,{config:n,state:a}=e,i=a.inputType==="touch",s=a.inputType==="mouse";function o(c,u,g){e.expandArc(g),e.api.focus(g),e.toggleFocusLegend(g,!0),e.showTooltip([u],c)}function l(c){const u=(c==null?void 0:c.id)||void 0;e.unexpandArc(u),e.api.revert(),e.revertLegend(),e.hideTooltip()}if(t.on("click",function(c,u,g){var v;const m=e.updateAngle(u);let S;m&&(S=e.convertToArcData(m),(v=e.toggleShape)==null||v.call(e,this,S,g),n.data_onclick.bind(e.api)(S,this))}),s&&t.on("mouseover",function(c,u){if(a.transiting)return;a.event=c;const g=e.updateAngle(u),v=g?e.convertToArcData(g):null,m=(v==null?void 0:v.id)||void 0;o(this,v,m),e.setOverOut(!0,v)}).on("mouseout",(c,u)=>{if(a.transiting)return;a.event=c;const g=e.updateAngle(u),v=g?e.convertToArcData(g):null;l(),e.setOverOut(!1,v)}).on("mousemove",function(c,u){const g=e.updateAngle(u),v=g?e.convertToArcData(g):null;a.event=c,e.showTooltip([v],this)}),i&&e.hasArcType()&&!e.radars){const c=u=>{var g,v;const{clientX:m,clientY:S}=(v=(g=u.changedTouches)==null?void 0:g[0])!=null?v:{clientX:0,clientY:0};return st(fn.elementFromPoint(m,S))};e.$el.svg.on("touchstart touchmove",function(u){if(a.transiting)return;a.event=u;const v=c(u).datum(),m=v!=null&&v.data&&v.data.id?e.updateAngle(v):null,S=m?e.convertToArcData(m):null,I=(S==null?void 0:S.id)||void 0;e.callOverOutForTouch(S),en(I)?l():o(this,S,I)})}},redrawArcText(t){const e=this,{config:n,state:a,$el:{main:i,arcs:s}}=e,o=e.hasType("gauge"),l=e.hasMultiArcGauge();let c;if(o&&e.data.targets.length===1&&n.gauge_title||(c=i.selectAll(`.${Be.chartArc}`).select("text").style("opacity","0").attr("class",u=>e.isGaugeType(u.data)?Ln.gaugeValue:null).call(e.textForArcLabel.bind(e)).attr("transform",u=>e.transformForArcLabel.bind(e)(u)).style("font-size",u=>e.isGaugeType(u.data)&&e.data.targets.length===1&&!l?`${Math.round(a.radius/5)}px`:null).transition().duration(t).style("opacity",u=>e.isTargetToShow(u.data.id)&&e.isArcType(u.data)?null:"0"),l&&c.attr("dy","-.1em")),i.select(`.${Be.chartArcsTitle}`).style("opacity",e.hasType("donut")||o?null:"0"),o){const u=n.gauge_fullCircle;u&&(c==null||c.attr("dy",`${l?0:Math.round(a.radius/14)}`)),n.gauge_label_show&&(s.select(`.${Ln.chartArcsGaugeUnit}`).attr("dy",`${u?1.5:.75}em`).text(n.gauge_units),s.select(`.${Ln.chartArcsGaugeMin}`).attr("dx",`${-1*(a.innerRadius+(a.radius-a.innerRadius)/(u?1:2))}px`).attr("dy","1.2em").text(e.textForGaugeMinMax(n.gauge_min,!1)),!u&&s.select(`.${Ln.chartArcsGaugeMax}`).attr("dx",`${a.innerRadius+(a.radius-a.innerRadius)/2}px`).attr("dy","1.2em").text(e.textForGaugeMinMax(n.gauge_max,!0)))}},getArcElementByIdOrIndex(t){const e=this,{$el:{arcs:n}}=e,a=fe(t)?i=>i.index===t:i=>i.data.id===t;return n==null?void 0:n.selectAll(`.${Se.target} path`).filter(a)}};function Uu(t){return t[0]}function zu(t){return t[1]}function ju(t,e){var n=Pe(!0),a=null,i=fo,s=null,o=So(l);t=typeof t=="function"?t:t===void 0?Uu:Pe(t),e=typeof e=="function"?e:e===void 0?zu:Pe(e);function l(c){var u,g=(c=xo(c)).length,v,m=!1,S;for(a==null&&(s=i(S=o())),u=0;u<=g;++u)!(u=S;--I)l.point(H[I],Y[I]);l.lineEnd(),l.areaEnd()}P&&(H[m]=+t(M,m,v),Y[m]=+e(M,m,v),l.point(a?+a(M,m,v):H[m],n?+n(M,m,v):Y[m]))}if(V)return l=null,V+""||null}function g(){return ju().defined(i).curve(o).context(s)}return u.x=function(v){return arguments.length?(t=typeof v=="function"?v:Pe(+v),a=null,u):t},u.x0=function(v){return arguments.length?(t=typeof v=="function"?v:Pe(+v),u):t},u.x1=function(v){return arguments.length?(a=v==null?null:typeof v=="function"?v:Pe(+v),u):a},u.y=function(v){return arguments.length?(e=typeof v=="function"?v:Pe(+v),n=null,u):e},u.y0=function(v){return arguments.length?(e=typeof v=="function"?v:Pe(+v),u):e},u.y1=function(v){return arguments.length?(n=v==null?null:typeof v=="function"?v:Pe(+v),u):n},u.lineX0=u.lineY0=function(){return g().x(t).y(e)},u.lineY1=function(){return g().x(t).y(n)},u.lineX1=function(){return g().x(a).y(e)},u.defined=function(v){return arguments.length?(i=typeof v=="function"?v:Pe(!!v),u):i},u.curve=function(v){return arguments.length?(o=v,s!=null&&(l=o(s)),u):o},u.context=function(v){return arguments.length?(v==null?s=l=null:l=o(s=v),u):s},u}var aa={initArea(t){const e=this,{config:n}=e;t.insert("g",`.${n.area_front?pn.circles:ar.lines}`).attr("class",e.getClass("areas",!0))},updateAreaColor(t){const e=this;return e.config.area_linearGradient?e.getGradienColortUrl(t.id):e.color(t)},updateArea(t,e=!1){const n=this,{config:a,state:i,$el:s,$T:o}=n,l=e?s.subchart:s;a.area_linearGradient&&n.updateLinearGradient();const c=l.main.selectAll(`.${qa.areas}`).selectAll(`.${qa.area}`).data(n.lineData.bind(n));o(c.exit(),t).style("opacity","0").remove(),l.area=c.enter().append("path").attr("class",n.getClass("area",!0)).style("fill",n.updateAreaColor.bind(n)).style("opacity",function(){return i.orgAreaOpacity=st(this).style("opacity"),"0"}).merge(c),c.style("opacity",i.orgAreaOpacity),n.setRatioForGroupedData(l.area.data())},redrawArea(t,e,n=!1){const a=this,{area:i}=n?this.$el.subchart:this.$el,{orgAreaOpacity:s}=a.state;return[a.$T(i,e,lr()).attr("d",t).style("fill",a.updateAreaColor.bind(a)).style("opacity",o=>String(a.isAreaRangeType(o)?s/1.75:s))]},generateDrawArea(t,e){const n=this,{config:a}=n,i=a.line_connectNull,s=a.axis_rotated,o=n.generateGetAreaPoints(t,e),l=n.getYScaleById.bind(n),c=v=>(e?n.subxx:n.xx).call(n,v),u=(v,m)=>n.isGrouped(v.id)?o(v,m)[0][1]:l(v.id,e)(n.isAreaRangeType(v)?n.getRangedData(v,"high"):n.getShapeYMin(v.id)),g=(v,m)=>n.isGrouped(v.id)?o(v,m)[1][1]:l(v.id,e)(n.isAreaRangeType(v)?n.getRangedData(v,"low"):v.value);return v=>{let m=i?n.filterRemoveNull(v.values):v.values,S=0,I=0,N;if(n.isAreaType(v)){let M=gx();M=s?M.y(c).x0(u).x1(g):M.x(c).y0(a.area_above?0:a.area_below?n.state.height:u).y1(g),i||(M=M.defined(P=>n.getBaseValue(P)!==null)),n.isStepType(v)&&(m=n.convertValuesToStep(m)),N=M.curve(n.getCurve(v))(m)}else m[0]&&(S=n.scale.x(m[0].x),I=n.getYScaleById(v.id)(m[0].value)),N=s?`M ${I} ${S}`:`M ${S} ${I}`;return N||"M 0 0"}},generateGetAreaPoints(t,e){const n=this,{config:a}=n,i=n.getShapeX(0,t,e),s=n.getShapeY(!!e),o=n.getShapeOffset(n.isAreaType,t,e),l=n.getYScaleById.bind(n);return function(c,u){const g=l.call(n,c.id,e)(n.getShapeYMin(c.id)),v=o(c,u)||g,m=i(c),S=c.value;let I=s(c);return a.axis_rotated&&(S>0&&Ig.values.some(v=>fe(v.value)||e.isBarRangeType(v)))).attr("class",g=>i(g)+o(g)).enter().append("g").attr("class",i).style("opacity","0").style("pointer-events",e.getStylePropValue("none")).append("g").attr("class",s).style("cursor",g=>{var v;return(v=l==null?void 0:l.bind)!=null&&v.call(l,e.api)(g)?"pointer":null}).call(e.setCssRule(!0,` .${Gn.bar}`,["fill"],e.color))},updateBar(t,e=!1){const n=this,{config:a,$el:i,$T:s}=n,o=e?i.subchart:i,l=n.getClass("bar",!0),c=n.initialOpacity.bind(n);a.bar_linearGradient&&n.updateLinearGradient();const u=o.main.selectAll(`.${Gn.bars}`).selectAll(`.${Gn.bar}`).data(n.labelishData.bind(n));s(u.exit(),t).style("opacity","0").remove(),o.bar=u.enter().append("path").attr("class",l).style("fill",n.updateBarColor.bind(n)).merge(u).style("opacity",c),n.setRatioForGroupedData(o.bar.data())},updateBarColor(t){const e=this,n=e.getStylePropValue(e.color);return e.config.bar_linearGradient?e.getGradienColortUrl(t.id):n?n(t):null},redrawBar(t,e,n=!1){const a=this,{bar:i}=n?a.$el.subchart:a.$el;return[a.$T(i,e,lr()).attr("d",s=>(fe(s.value)||a.isBarRangeType(s))&&t(s)).style("fill",a.updateBarColor.bind(a)).style("opacity",null)]},generateDrawBar(t,e){const n=this,{config:a}=n,i=n.generateGetBarPoints(t,e),s=a.axis_rotated,o=a.bar_radius,l=a.bar_radius_ratio,c=fe(o)&&o>0?()=>o:fe(l)?u=>u*l:null;return(u,g)=>{const v=i(u,g),m=+s,S=+!m,I=u.value<0,N=a[`axis_${n.axis.getId(u.id)}_inverted`],M=!N&&I||N&&!I,P=["",""];let V=0;const H=n.isGrouped(u.id),Y=c&&H?n.isStackingRadiusData(u):!1;if(c){const K=s?S:m,at=v[2][K]-v[0][K];V=!H||Y?c(at):0;const $t=`a${V},${V} ${M?"1 0 0":"0 0 1"} `;P[+!s]=`${$t}${V},${V}`,P[+s]=`${$t}${[-V,V][s?"sort":"reverse"]()}`,M&&P.reverse()}const _=s?`H${v[1][m]+(M?V:-V)} ${P[0]}V${v[2][S]-V} ${P[1]}H${v[3][m]}`:`V${v[1][S]+(M?-V:V)} ${P[0]}H${v[2][m]-V} ${P[1]}V${v[3][S]}`;return`M${v[0][m]},${v[0][S]}${_}z`}},isStackingRadiusData(t){const e=this,{$el:n,config:a,data:i,state:s}=e,{id:o,index:l,value:c}=t;if(s.hiddenTargetIds.indexOf(o)>-1){const m=n.bar.filter(S=>S.id===o&&S.value===c);return!m.empty()&&/a\d+/i.test(m.attr("d"))}const u=a.data_groups.find(m=>m.indexOf(o)>-1),v=e.orderTargets(e.filterTargetsToShow(i.targets.filter(e.isBarType,e))).filter(m=>u.indexOf(m.id)>-1).map(m=>m.values.filter(S=>S.index===l&&(fe(c)&&c>0?S.value>0:S.value<0))[0]).filter(Boolean).map(m=>m.id);return c!==0&&v.indexOf(o)===v.length-1},generateGetBarPoints(t,e){const n=this,{config:a}=n,i=e?n.axis.subX:n.axis.x,s=n.getIndicesMax(t)+1,o=n.getBarW("bar",i,s),l=n.getShapeX(o,t,!!e),c=n.getShapeY(!!e),u=n.getShapeOffset(n.isBarType,t,!!e),g=n.getYScaleById.bind(n);return(v,m)=>{const{id:S}=v,I=g.call(n,S,e)(n.getShapeYMin(S)),N=u(v,m)||I,M=fe(o)?o:o[v.id]||o._$width,P=a[`axis_${n.axis.getId(S)}_inverted`],V=v.value,H=l(v);let Y=c(v);a.axis_rotated&&!P&&(V>0&&Ye.isBubbleZType(o)?e.getBubbleZData(o.value,"y"):De(o.value)?o.value.mid:o.value)),i=n*n*Math.PI,s=(e.isBubbleZType(t)?e.getBubbleZData(t.value,"z"):t.value)*(i/a);return Math.sqrt(s/Math.PI)},getBubbleZData(t,e){return De(t)?t[e]:t[e==="y"?0:1]}},mx=Object.defineProperty,Gu=Object.getOwnPropertySymbols,yx=Object.prototype.hasOwnProperty,xx=Object.prototype.propertyIsEnumerable,Vu=(t,e,n)=>e in t?mx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Tx=(t,e)=>{for(var n in e||(e={}))yx.call(e,n)&&Vu(t,n,e[n]);if(Gu)for(var n of Gu(e))xx.call(e,n)&&Vu(t,n,e[n]);return t},$x={initCandlestick(){const{$el:t}=this;t.candlestick=t.main.select(`.${Se.chart}`).append("g").attr("class",rr.chartCandlesticks)},updateTargetsForCandlestick(t){const e=this,{$el:n}=e,a=e.getChartClass("Candlestick");n.candlestick||e.initCandlestick(),e.$el.main.select(`.${rr.chartCandlesticks}`).selectAll(`.${rr.chartCandlestick}`).data(t).enter().append("g").attr("class",a).style("pointer-events","none")},updateCandlestick(t,e=!1){const n=this,{$el:a,$T:i}=n,s=e?a.subchart:a,o=n.getClass("candlestick",!0),l=n.initialOpacity.bind(n),c=s.main.selectAll(`.${rr.chartCandlestick}`).selectAll(`.${rr.candlestick}`).data(n.labelishData.bind(n));i(c.exit(),t).style("opacity","0").remove();const u=c.enter().filter(g=>g.value).append("g").attr("class",o);u.append("line"),u.append("path"),s.candlestick=c.merge(u).style("opacity",l)},generateDrawCandlestick(t,e){const n=this,{config:a}=n,i=n.generateGetCandlestickPoints(t,e),s=a.axis_rotated,o=a.candlestick_color_down;return(l,c,u)=>{const g=i(l,c),v=n.getCandlestickData(l),m=v==null?void 0:v._isUp,S=+s,I=+!S;u.classed&&u.classed(rr[m?"valueUp":"valueDown"],!0);const N=s?`H${g[1][1]} V${g[1][0]} H${g[0][1]}`:`V${g[1][1]} H${g[1][0]} V${g[0][1]}`;u.select("path").attr("d",`M${g[0][S]},${g[0][I]}${N}z`).style("fill",V=>(m?n.color(V):De(o)?o[V.id]:o)||n.color(V));const M=u.select("line"),P=s?{x1:g[2][1],x2:g[2][2],y1:g[2][0],y2:g[2][0]}:{x1:g[2][0],x2:g[2][0],y1:g[2][1],y2:g[2][2]};for(const V in P)M.attr(V,P[V])}},generateGetCandlestickPoints(t,e=!1){const n=this,a=e?n.axis.subX:n.axis.x,i=n.getIndicesMax(t)+1,s=n.getBarW("candlestick",a,i),o=n.getShapeX(s,t,!!e),l=n.getShapeY(!!e),c=n.getShapeOffset(n.isBarType,t,!!e),u=n.getYScaleById.bind(n);return(g,v)=>{const m=u.call(n,g.id,e)(n.getShapeYMin(g.id)),S=c(g,v)||m,I=fe(s)?s:s[g.id]||s._$width,N=n.getCandlestickData(g);let M;if(N&&fe(N.open)&&fe(N.close)){const P={start:o(g),end:0};P.end=P.start+I;const V={start:l(N.open),end:l(N.close)},H={x:P.start+I/2,high:l(N.high),low:l(N.low)};V.start-=m-S,M=[[P.start,V.start],[P.end,V.end],[H.x,H.low,H.high]]}else M=[[0,0],[0,0],[0,0,0]];return M}},redrawCandlestick(t,e,n=!1){const a=this,{$el:i,$T:s}=a,{candlestick:o}=n?i.subchart:i,l=lr(!0);return[o.each(function(c,u){const g=s(st(this),e,l);t(c,u,g)}).style("opacity",null)]},getCandlestickData({value:t}){let e;if(Fe(t)){const[n,a,i,s,o=!1]=t;e={open:n,high:a,low:i,close:s},o!==!1&&(e.volume=o)}else De(t)&&(e=Tx({},t));return e&&(e._isUp=e.close>=e.open),e||null}},Sx=Object.defineProperty,Xu=Object.getOwnPropertySymbols,Ax=Object.prototype.hasOwnProperty,bx=Object.prototype.propertyIsEnumerable,Yu=(t,e,n)=>e in t?Sx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ex=(t,e)=>{for(var n in e||(e={}))Ax.call(e,n)&&Yu(t,n,e[n]);if(Xu)for(var n of Xu(e))bx.call(e,n)&&Yu(t,n,e[n]);return t};function Ki(t=!1){const e=this,{config:n,state:{current:{width:a,height:i}}}=e,s=e.getCurrentPadding(),o=Ex({width:a-(s.left+s.right),height:i-(n.legend_show?e.getLegendHeight()+10:0)-(s.top+s.bottom)},s);if(t){const{width:l,height:c}=Hu.call(e,{width:o.width,height:o.height});o.width{let l=s;return De(s)&&(l=t[o?"height":"width"]*s.ratio),l}),{width:a,height:i}}function Rx(t){const e=this,{top:n,left:a,width:i}=Ki.call(e,!0),s=[];return t.forEach((o,l)=>{const{ratio:c}=o,u=l>0?s[l-1][2][1]:n;s.push(o.coords=[[a,u],[a+i,u],[a+i,l>0?c+u:c+n],[a,l>0?c+u:c+n],[a,u]])}),s}function Wu(t=!1){const e=this,{width:n,height:a,top:i,left:s}=Ki.call(e,!0),o=Hu.call(e,{width:n,height:a}),l=(n-o.width)/2,c=(n+o.width)/2,u=a-o.height,g=[[0,0],[n,0],[c,u],[c,a],[l,a],[l,u],[0,0]];return t&&g.forEach(v=>{v[0]+=s,v[1]+=i}),`M${g.join("L")}z`}function Ox(t){const e=this,{config:n}=e,a=t.map(i=>({id:i.id,value:i.values.reduce((s,o)=>s+o.value,0)}));return n.data_order&&a.sort(e.getSortCompareFn.bind(e)(!0)),Ku.call(e,a)}function Ku(t){const e=this,{height:n}=Ki.call(e),a=e.getTotalDataSum(!0);return t.forEach(i=>{i.ratio=i.value/a*n}),t}var Ix={initFunnel(){const t=this,{$el:e}=t;e.funnel=e.main.select(`.${Se.chart}`).append("g").classed(Ta.chartFunnels,!0),e.funnel.background=e.funnel.append("path").classed(Ta.funnelBackground,!0),t.bindFunnelEvent()},bindFunnelEvent(){const t=this,{$el:{funnel:e},config:n,state:a}=t,i=s=>{var o;const l=s.isTrusted?s.target:(o=a.eventReceiver.rect)==null?void 0:o.node();let c;return/^path$/i.test(l.tagName)&&(a.event=s,c=st(l).datum()),c};if(n.interaction_enabled){const s=a.inputType==="touch";e.on(s?"touchstart":"mouseover mousemove",o=>{const l=i(o);l&&(t.showTooltip([l],o.target),/^(touchstart|mouseover)$/.test(o.type)&&t.setOverOut(!0,l))}).on(s?"touchend":"mouseout",o=>{const l=i(o);t.hideTooltip(),t.setOverOut(!1,l)})}},updateTargetsForFunnel(t){const e=this,{$el:{funnel:n}}=e,a=e.getChartClass("Funnel"),i=e.getClass("funnel",!0);n||e.initFunnel();const s=Ox.call(e,t.filter(e.isFunnelType.bind(e))),o=n.selectAll(`.${Ta.chartFunnel}`).data(s);o.exit().remove();const l=o.enter().insert("g",`.${Ta.funnelBackground}`);l.append("path"),n.path=l.merge(o).attr("class",c=>a(c)).select("path").attr("class",i).style("opacity","0").style("fill",e.color)},updateFunnel(t){const e=this,{$el:{funnel:n}}=e,a=t.map(({id:i})=>i);n.path=n.path.filter(i=>a.indexOf(i.id)>=0)},generateGetFunnelPoints(){const t=this,{$el:{funnel:e}}=t,n=t.filterTargetsToShow(e.path),{top:a,left:i,right:s}=Ki.call(t),o=(i-s)/2,l={};let c=a!=null?a:0;return n.each((u,g)=>{var v;l[u.id]=[[o,c],[o,c+=((v=n==null?void 0:n[g])!=null?v:u).ratio]]}),u=>l[u.id]},redrawFunnel(){const t=this,{$T:e,$el:{funnel:n}}=t,a=t.filterTargetsToShow(n.path),i=Rx.call(t,Ku.call(t,a.data()));n.attr("clip-path",`path('${Wu.bind(t)()}')`),n.background.attr("d",Wu.call(t,!0)),e(a).attr("d",(s,o)=>`M${i[o].join("L")}z`).style("opacity","1"),n.selectAll("g").style("opacity",null)}},Cx={initGauge(){const t=this,{config:e,$el:{arcs:n}}=t,a=(i=null,s="")=>{n.append("text").attr("class",i).style("text-anchor","middle").style("pointer-events","none").text(s)};if(t.hasType("gauge")){const i=t.hasMultiArcGauge();n.append(i?"g":"path").attr("class",Be.chartArcsBackground).style("fill",!i&&e.gauge_background||null),e.gauge_units&&a(Ln.chartArcsGaugeUnit),e.gauge_label_show&&(a(Ln.chartArcsGaugeMin),!e.gauge_fullCircle&&a(Ln.chartArcsGaugeMax))}},updateGaugeMax(){const t=this,{config:e,state:n}=t,i=t.hasMultiArcGauge()?t.getMinMaxData().max[0].value:t.getTotalDataSum(n.rendered);!e.gauge_enforceMinMax&&i+e.gauge_min*(e.gauge_min>0?-1:1)>e.gauge_max&&(e.gauge_max=i-e.gauge_min)},redrawArcGaugeLine(){const t=this,{config:e,state:n,$el:a}=t,{hiddenTargetIds:i}=t.state,s=a.main.selectAll(`.${Be.arcs}`).selectAll(`.${Be.arcLabelLine}`).data(t.arcData.bind(t));s.enter().append("rect").attr("class",l=>`${Be.arcLabelLine} ${Se.target} ${Se.target}-${l.data.id}`).merge(s).style("fill",l=>t.levelColor?t.levelColor(l.data.values[0].value):t.color(l.data)).style("display",e.gauge_label_show?null:"none").each(function(l){let c=0;const u=2;let g=0,v=0,m="";if(i.indexOf(l.data.id)<0){const S=t.updateAngle(l),I=n.gaugeArcWidth/t.filterTargetsToShow(t.data.targets).length*(S.index+1),N=S.endAngle-Math.PI/2,M=n.radius-I,P=N-(M===0?0:1/M);c=n.radiusExpanded-n.radius+I,g=Math.cos(P)*M,v=Math.sin(P)*M,m=`rotate(${N*180/Math.PI}, ${g}, ${v})`}st(this).attr("x",g).attr("y",v).attr("width",c).attr("height",u).attr("transform",m).style("stroke-dasharray",`0, ${c+u}, 0`)})},textForGaugeMinMax(t,e){const n=this,{config:a}=n,i=a.gauge_label_extents;return de(i)?i.bind(n.api)(t,e):t},getGaugeLabelHeight(){const{config:t}=this;return this.config.gauge_label_show&&!t.gauge_fullCircle?20:0},getPaddingBottomForGauge(){const t=this;return t.getGaugeLabelHeight()*(t.config.gauge_label_show?2:2.5)}};function Px(t,e,n,a=!1){const i=t?[t,0]:n;for(let s=t||n.reduce((o,l)=>o+l);s<=e;)n.forEach(o=>{s+o<=e&&i.push(o),s+=o});return i.length%2!==0&&i.push(a?n[1]:0),{dash:i.join(" "),length:i.reduce((s,o)=>s+o,0)}}function wx(t,e,n){const a=this,i=[],s="2 2";if(Ye(e)){const o=(l,c)=>en(l)?c:n?Dn.call(a,l):l;for(let l=0,c;c=e[l];l++){const u=o(c.start,t[0].x),g=o(c.end,t[t.length-1].x),v=c.style||{dasharray:s};i[l]={start:u,end:g,style:v}}}return i}var Mx={initLine(){const{$el:t}=this;t.line=t.main.select(`.${Se.chart}`).append("g").attr("class",ar.chartLines).call(this.setCssRule(!1,`.${ar.chartLines}`,["pointer-events:none"]))},updateTargetsForLine(t){const e=this,{$el:{area:n,line:a,main:i}}=e,s=e.getChartClass("Line"),o=e.getClass("lines",!0),l=e.classFocus.bind(e);a||e.initLine();const c=t.filter(v=>!(e.isScatterType(v)||e.isBubbleType(v))),u=i.select(`.${ar.chartLines}`).selectAll(`.${ar.chartLine}`).data(c).attr("class",v=>s(v)+l(v)),g=u.enter().append("g").attr("class",s).style("opacity","0").style("pointer-events",e.getStylePropValue("none"));if(g.append("g").attr("class",o),e.hasTypeOf("Area")){const v=(!n&&g.empty()?u:g).filter(e.isAreaType.bind(e));e.initArea(v)}e.updateTargetForCircle(c,g)},updateLine(t,e=!1){const n=this,{format:{extraLineClasses:a},$el:i,$T:s}=n,o=e?i.subchart:i,l=o.main.selectAll(`.${ar.lines}`).selectAll(`.${ar.line}`).data(n.lineData.bind(n));s(l.exit(),t).style("opacity","0").remove(),o.line=l.enter().append("path").attr("class",c=>`${n.getClass("line",!0)(c)} ${a(c)||""}`).style("stroke",n.color).merge(l).style("opacity",n.initialOpacity.bind(n)).attr("transform",null)},redrawLine(t,e,n=!1){const a=this,{$el:i,$T:s}=a,{line:o}=n?i.subchart:i;return[s(o,e,lr()).attr("d",t).style("stroke",this.color).style("opacity",null)]},getCurve(t){const e=this;return e.config.axis_rotated&&e.isStepType(t)?a=>{const i=e.getInterpolate(t)(a);return i.orgPoint=i.point,i.pointRotated=function(s,o){this._point===1&&(this._point=2);const l=this._y*(1-this._t)+o*this._t;this._context.lineTo(this._x,l),this._context.lineTo(s,l),this._x=s,this._y=o},i.point=function(s,o){this._point===0?this.orgPoint(s,o):this.pointRotated(s,o)},i}:e.getInterpolate(t)},generateDrawLine(t,e){const n=this,{config:a,scale:i}=n,s=a.line_connectNull,o=a.axis_rotated,l=n.generateGetLinePoints(t,e),c=n.getYScaleById.bind(n),u=S=>(e?n.subxx:n.xx).call(n,S),g=(S,I)=>n.isGrouped(S.id)?l(S,I)[0][1]:c(S.id,e)(n.getBaseValue(S));let v=ju();v=o?v.x(g).y(u):v.x(u).y(g),s||(v=v.defined(S=>n.getBaseValue(S)!==null));const m=e?i.subX:i.x;return S=>{const I=c(S.id,e);let N=s?n.filterRemoveNull(S.values):S.values,M=0,P=0,V;if(n.isLineType(S)){const H=a.data_regions[S.id];H?V=n.lineWithRegions(N,i.zoom||m,I,H):(n.isStepType(S)&&(N=n.convertValuesToStep(N)),V=v.curve(n.getCurve(S))(N))}else N[0]&&(M=m(N[0].x),P=I(N[0].value)),V=o?`M ${P} ${M}`:`M ${M} ${P}`;return V||"M 0 0"}},lineWithRegions(t,e,n,a){const i=this,{config:s}=i,o=s.axis_rotated,l=i.axis.isTimeSeries(),c="2 2",u=wx.bind(i)(t,a,l),g=i.hasNullDataValue(t);let v,m,S,I;const N=o?vt=>n(vt.value):vt=>e(vt.x),M=o?vt=>e(vt.x):vt=>n(vt.value),P=vt=>`M${vt[0][0]},${vt[0][1]}L${vt[1][0]},${vt[1][1]}`,V=l?(vt,gt,Ft,pt)=>{const Z=vt.x.getTime(),Et=gt.x-vt.x,ut=new Date(Z+Et*Ft),Rt=new Date(Z+Et*(Ft+pt)),jt=o?[[n(m(Ft)),e(ut)],[n(m(Ft+S)),e(Rt)]]:[[e(ut),n(m(Ft))],[e(Rt),n(m(Ft+S))]];return P(jt)}:(vt,gt,Ft,pt)=>{const Z=e(gt.x,!o),Et=n(gt.value,o),ut=Ft+pt,Rt=e(v(Ft),!o),jt=n(m(Ft),o);let zt=e(v(ut),!o),Wt=n(m(ut),o);zt>Z&&(zt=Z),vt.value>gt.value&&(o?WtEt)&&(Wt=Et);const Ht=[[Rt,jt],[zt,Wt]];return o&&Ht.forEach(ee=>ee.reverse()),P(Ht)},H={x:i.axis.getAxisType("x"),y:i.axis.getAxisType("y")};let Y="";const _=i.$el.line.filter(({id:vt})=>vt===t[0].id),K=_.clone().style("display","none"),at=(vt,gt)=>vt.attr("d",gt).node().getTotalLength(),$t={dash:[],lastLength:0};let At=!1;for(let vt=0,gt;gt=t[vt];vt++){const Ft=t[vt-1],pt=Ft&&Ie(Ft.value);let Z=i.isWithinRegions(gt.x,u);if(Ie(gt.value)){if(en(u)||!Z||!pt)Y+=`${vt&&pt?"L":"M"}${N(gt)},${M(gt)}`;else if(pt)if(Z=((Z==null?void 0:Z.dasharray)||c).split(" ").map(Number),v=Dr(H.x,Ft.x,gt.x),m=Dr(H.y,Ft.value,gt.value),g){const Et=e(gt.x)-e(Ft.x),ut=n(gt.value)-n(Ft.value),Rt=Math.sqrt(Math.pow(Et,2)+Math.pow(ut,2));S=Z[0]/Rt,I=S*Z[1];for(let jt=S;jt<=1;jt+=I)Y+=V(Ft,gt,jt,S),jt+I>=1&&(Y+=V(Ft,gt,1,0))}else{let Et=[];if(At=gt.x===t[t.length-1].x,l){const zt=+Ft.x,Wt=new Date(zt),Ht=new Date(zt+(+gt.x-zt));Et=[[e(Wt),n(m(0))],[e(Ht),n(m(1))]]}else Et=[[e(v(0)),n(m(0))],[e(v(1)),n(m(1))]];o&&Et.forEach(zt=>zt.reverse());const ut=at(K,Y),Rt=at(K,Y+=`L${Et[1].join(",")}`),jt=Px(ut-$t.lastLength,Rt-$t.lastLength,Z,At);$t.lastLength+=jt.length,$t.dash.push(jt.dash)}}}return $t.dash.length&&(!At&&$t.dash.push(at(K,Y)),K.remove(),_.attr("stroke-dasharray",$t.dash.join(" "))),Y},isWithinRegions(t,e){for(let n=0,a;a=e[n];n++)if(a.startlr();var Zi={initialOpacityForCircle(t){const{config:e,state:{withoutFadeIn:n}}=this;let a=e.point_opacity;return en(a)&&(a=this.getBaseValue(t)!==null&&n[t.id]?this.opacityForCircle(t):"0"),a},opacityForCircle(t){var e;const{config:n}=this;let a=n.point_opacity;return en(a)&&(a=n.point_show&&!((e=this.isPointFocusOnly)!=null&&e.call(this))?null:"0",a=Ie(this.getBaseValue(t))?this.isBubbleType(t)||this.isScatterType(t)?"0.5":a:"0"),a},initCircle(){const t=this,{$el:{main:e}}=t;!t.point&&(t.point=t.generatePoint()),(t.hasType("bubble")||t.hasType("scatter"))&&e.select(`.${Se.chart} > .${pn.chartCircles}`).empty()&&e.select(`.${Se.chart}`).append("g").attr("class",pn.chartCircles)},updateTargetForCircle(t,e){const n=this,{config:a,data:i,$el:s}=n,o=a.interaction_enabled&&a.data_selection_enabled,l=o&&a.data_selection_isselectable,c=n.getClass("circles",!0);if(!a.point_show)return;n.initCircle();let u=t,g=e;if(!u){u=i.targets.filter(m=>this.isScatterType(m)||this.isBubbleType(m));const v=s.main.select(`.${pn.chartCircles}`).style("pointer-events","none").selectAll(`.${pn.circles}`).data(u);v.exit().remove(),g=v.enter()}o&&g.append("g").attr("class",v=>n.generateClass(ke.selectedCircles,v.id)),g.append("g").attr("class",c).call(v=>{n.setCssRule(!0,`.${pn.circles}`,["cursor:pointer"],l)(v),n.setCssRule(!0,` .${pn.circle}`,["fill","stroke"],n.color)(v)}).style("opacity",function(){return st(this.parentNode).attr("class").indexOf(pn.chartCircles)>-1?"0":null}),o&&u.forEach(v=>{s.main.selectAll(`.${ke.selectedCircles}${n.getTargetSelectorSuffix(v.id)}`).selectAll(`${ke.selectedCircle}`).each(m=>{m.value=v.values[m.index].value})})},updateCircle(t=!1){const e=this,{config:n,state:a,$el:i}=e,s=e.isPointFocusOnly(),o=t?i.subchart:i;if(n.point_show&&!a.toggling){n.point_radialGradient&&e.updateLinearGradient();const l=o.main.selectAll(`.${pn.circles}`).selectAll(`.${pn.circle}`).data(c=>e.isLineType(c)&&e.shouldDrawPointsForLine(c)||e.isBubbleType(c)||e.isRadarType(c)||e.isScatterType(c)?s?[c.values[0]]:c.values:[]);l.exit().remove(),l.enter().filter(Boolean).append(e.point("create",this,e.pointR.bind(e),e.updateCircleColor.bind(e))),o.circle=o.main.selectAll(`.${pn.circles} .${pn.circle}`).style("stroke",e.getStylePropValue(e.color)).style("opacity",e.initialOpacityForCircle.bind(e))}},updateCircleColor(t){const e=this,n=e.getStylePropValue(e.color);return e.config.point_radialGradient?e.getGradienColortUrl(t.id):n?n(t):null},redrawCircle(t,e,n,a,i=!1){const s=this,{state:{rendered:o},$el:l,$T:c}=s,u=i?l.subchart:l,g=u.main.selectAll(`.${ke.selectedCircle}`);if(!s.config.point_show)return[];const v=s.point("update",s,t,e,s.updateCircleColor.bind(s),n,a,g),m=s.isCirclePoint()?"c":"",S=lr(),I=s.opacityForCircle.bind(s),N=[];return u.circle.each(function(M){let P=v.bind(this)(M);P=c(P,n||!o,S).style("opacity",I),N.push(P)}),[N,c(g,n).attr(`${m}x`,t).attr(`${m}y`,e)]},showCircleFocus(t){const e=this,{state:{hasRadar:n,resizing:a,toggling:i,transiting:s},$el:o}=e;let{circle:l}=o;if(s===!1&&l&&e.isPointFocusOnly()){const c=(n?e.radarCircleX:e.circleX).bind(e),u=(n?e.radarCircleY:e.circleY).bind(e),g=i||en(t),v=e.point("update",e,c,u,e.getStylePropValue(e.color),a?!1:g);t&&(l=l.filter(function(m){var S;const I=(S=t.filter)==null?void 0:S.call(t,N=>N.id===m.id);return I.length?st(this).datum(I[0]):!1})),l.attr("class",this.updatePointClass.bind(this)).style("opacity",null).each(function(m){const{id:S,index:I,value:N}=m;let M="hidden";Ie(N)&&(v.bind(this)(m),e.expandCircles(I,S),M=""),this.style.visibility=M})}},hideCircleFocus(){const t=this,{$el:{circle:e}}=t;t.isPointFocusOnly()&&e&&(t.unexpandCircles(),e.style("visibility","hidden"))},circleX(t){return this.xx(t)},updateCircleY(t=!1){const e=this,n=e.generateGetLinePoints(e.getShapeIndices(e.isLineType),t);return(a,i)=>{const s=a.id;return e.isGrouped(s)?n(a,i)[0][1]:e.getYScaleById(s,t)(e.getBaseValue(a))}},expandCircles(t,e,n){const a=this,i=a.pointExpandedR.bind(a);n&&a.unexpandCircles();const s=a.getShapeByIndex("circle",t,e).classed(Se.EXPANDED,!0),o=i(s)/a.config.point_r,l=1-o;a.isCirclePoint()?s.attr("r",i):s.each(function(){const c=st(this);if(this.tagName==="circle")c.attr("r",i);else{const{width:u,height:g}=this.getBBox(),v=l*(+c.attr("x")+u/2),m=l*(+c.attr("y")+g/2);c.attr("transform",`translate(${v} ${m}) scale(${o})`)}})},unexpandCircles(t){const e=this,n=e.pointR.bind(e),a=e.getShapeByIndex("circle",t).filter(function(){return st(this).classed(Se.EXPANDED)}).classed(Se.EXPANDED,!1);if(a.attr("r",n),!e.isCirclePoint()){const i=n(a)/e.config.point_r;a.attr("transform",i!==1?`scale(${i})`:null)}},pointR(t){const e=this,{config:n}=e,a=n.point_r;let i=a;return e.isBubbleType(t)?i=e.getBubbleR(t):de(a)&&(i=a.bind(e.api)(t)),t.r=i,i},pointExpandedR(t){const e=this,{config:n}=e,a=e.isBubbleType(t)?1.15:1.75;return n.point_focus_expand_enabled?n.point_focus_expand_r||e.pointR(t)*a:e.pointR(t)},pointSelectR(t){const e=this,n=e.config.point_select_r;return de(n)?n(t):n||e.pointR(t)*4},isPointFocusOnly(){const t=this;return t.config.point_focus_only&&!t.hasType("bubble")&&!t.hasType("scatter")&&!t.hasArcType(null,["radar"])},isWithinCircle(t,e){const{config:n,state:a}=this,i=zn(a.event,t),s=st(t),o=this.isCirclePoint(t)?"c":"",l=n.point_sensitivity==="radius"?t.getAttribute("r"):n.point_sensitivity;let c=+s.attr(`${o}x`),u=+s.attr(`${o}y`);if(!(c||u)&&t.nodeType===1){const{x:g,y:v}=Si(t);c=g,u=v}return Math.sqrt(Math.pow(c-i[0],2)+Math.pow(u-i[1],2))<(e||l)},getPointSensitivity(t){const e=this;let n=e.config.point_sensitivity;return de(n)?n=n.call(e.api,t):n==="radius"&&(n=t.r),n},updatePointClass(t){const e=this,{circle:n}=e.$el;let a=!1;return(De(t)||n)&&(a=t===!0?n.each(function(i){let s=e.getClass("circle",!0)(i);this.getAttribute("class").indexOf(Se.EXPANDED)>-1&&(s+=` ${Se.EXPANDED}`),this.setAttribute("class",s)}):e.getClass("circle",!0)(t)),a},generateGetLinePoints(t,e){const n=this,{config:a}=n,i=n.getShapeX(0,t,e),s=n.getShapeY(e),o=n.getShapeOffset(n.isLineType,t,e),l=n.getYScaleById.bind(n);return(c,u)=>{const g=l.call(n,c.id,e)(n.getShapeYMin(c.id)),v=o(c,u)||g,m=i(c);let S=s(c);a.axis_rotated&&(c.value>0&&SIe(S.value)?e(S)-c/2:0,v=S=>Ie(S.value)?n(S)-u/2:0;let m=t;return i&&(s&&m.attr("x",g),m=l.$T(m,i,ia()),o&&l.$T(o,i,ia())),m.attr("x",g).attr("y",v).style("fill",a)}},circle:{create(t,e,n){return t.append("circle").attr("class",this.updatePointClass.bind(this)).attr("r",e).style("fill",n).node()},update(t,e,n,a,i,s,o){const l=this;let c=t;return l.hasType("bubble")&&c.attr("r",l.pointR.bind(l)),i&&(s&&c.attr("cx",e),c.attr("cx")&&(c=l.$T(c,i,ia())),o&&l.$T(c,i,ia())),c.attr("cx",e).attr("cy",n).style("fill",a)}},rectangle:{create(t,e,n){const a=i=>e(i)*2;return t.append("rect").attr("class",this.updatePointClass.bind(this)).attr("width",a).attr("height",a).style("fill",n).node()},update(t,e,n,a,i,s,o){const l=this,c=l.config.point_r,u=m=>e(m)-c,g=m=>n(m)-c;let v=t;return i&&(s&&v.attr("x",u),v=l.$T(v,i,ia()),o&&l.$T(o,i,ia())),v.attr("x",u).attr("y",g).style("fill",a)}}};function Lx(t){return Jn(t)&&de(t.create)&&de(t.update)}function Dx(t,e){var n;const a=this,i=(c,u)=>{const g=c.attributes;for(let v=0,m;m=g[v];v++)m=m.name,u.setAttribute(m,c.getAttribute(m))},o=new DOMParser().parseFromString(t,"image/svg+xml").documentElement,l=fn.createElementNS(ne.svg,o.nodeName.toLowerCase());if(l.id=e,l.style.fill="inherit",l.style.stroke="inherit",i(o,l),(n=o.childNodes)!=null&&n.length){const c=st(l);"innerHTML"in l?c.html(o.innerHTML):Cr(o.childNodes).forEach(u=>{i(u,c.append(u.tagName).node())})}a.$el.defs.node().appendChild(l)}var sa={hasValidPointType(t){return/^(circle|rect(angle)?|polygon|ellipse|use)$/i.test(t||this.config.point_type)},hasLegendDefsPoint(){var t;const{config:e}=this;return e.legend_show&&((t=e.point_pattern)==null?void 0:t.length)&&e.legend_usePoint},getDefsPointId(t){const{state:{datetimeId:e}}=this;return`${e}-point${t}`},generatePoint(){const t=this,{$el:e,config:n}=t,a=[],i=nn(n.point_pattern)?n.point_pattern:[n.point_type];return function(s,o,...l){return function(c){var u,g,v,m;const S=t.getTargetSelectorSuffix(c.id||((u=c.data)==null?void 0:u.id)||c),I=st(this);a.indexOf(S)<0&&a.push(S);let N=i[a.indexOf(S)%i.length];if(t.hasValidPointType(N))N=t[N];else if(!Lx(N||n.point_type)){const M=t.getDefsPointId(S);if(e.defs.select(`#${M}`).size()<1&&Dx.bind(t)(N,M),s==="create")return(g=t.custom)==null?void 0:g.create.bind(o)(I,M,...l);if(s==="update")return(v=t.custom)==null?void 0:v.update.bind(o)(I,...l)}return(m=N[s])==null?void 0:m.bind(o)(I,...l)}}}};function Zu(t){const e=t.config.polar_level_max;let n=t.getMinMaxData().max[0].value;return e&&e>n&&(n=e),n}var Nx={initPolar(){const t=this,{$el:{arcs:e},config:n}=t,a=n.polar_level_text_show,i=n.polar_level_text_backgroundColor;e.levels=e.append("g").attr("class",vr.levels),a&&i&&t.generateTextBGColorFilter(i)},getPolarOuterRadius(t,e){var n;const a=Zu(this);return((n=t==null?void 0:t.data.values[0].value)!=null?n:0)/a*e},updateTargetsForPolar(t){this.updateTargetsForArc(t)},redrawPolar(){const t=this,{config:e}=t;e.polar_level_show&&t.updatePolarLevel()},updatePolarLevel(){const t=this,{config:e,state:n,$el:{arcs:{levels:a}}}=t,i=e.polar_level_depth,s=Zu(t),o=Ai(0,i),l=n.radius,c=o.map(m=>l*((m+1)/i)),u=(e.polar_level_text_format||function(){}).bind(t.api),g=a.selectAll(`.${vr.level}`).data(o);g.exit().remove();const v=g.enter().append("g").attr("class",(m,S)=>`${vr.level} ${vr.level}-${S}`);if(v.append("circle"),v.merge(g).selectAll("circle").style("visibility",e.polar_level_show?null:"hidden").attr("cx",0).attr("cy",0).attr("r",m=>c[m]),e.polar_level_text_show){const m=e.polar_level_text_backgroundColor,S=`#${n.datetimeId}-labels-bg${t.getTargetSelectorSuffix(m)}`;v.append("text").style("text-anchor","middle"),v.merge(g).selectAll("text").attr("dy",I=>-c[I]+5).attr("filter",m?`url(${S})`:null).text(I=>u(s/o.length*(I+1)))}}};function Fx(t,e,n,a,i,s){const o=t&&a>0?n-a:a,l=2*Math.PI;return i*(1-s*(e==="x"?Math.sin:Math.cos)(o*l/n))}const oa=Cn.radarPoints,ku=Cn.radarTextWidth;var Bx={initRadar(){const t=this,{config:e,state:{current:n},$el:a}=t;t.hasType("radar")&&(a.radar=a.main.select(`.${Se.chart}`).append("g").attr("class",Zo.chartRadars),a.radar.levels=a.radar.append("g").attr("class",vr.levels),a.radar.axes=a.radar.append("g").attr("class",on.axis),a.radar.shapes=a.radar.append("g").attr("class",tn.shapes),n.dataMax=e.radar_axis_max||t.getMinMaxData().max[0].value,e.radar_axis_text_show&&(e.interaction_enabled&&t.bindRadarEvent(),t.updateRadarLevel(),t.updateRadarAxes()))},getRadarSize(){const t=this,{config:e,state:{arcWidth:n,arcHeight:a}}=t,i=e.axis_x_categories.length<4?-20:10,s=(Math.min(n,a)-i)/2;return[s,s]},updateTargetsForRadar(t){const e=this,{config:n}=e;Wn(n.axis_x_categories)&&(n.axis_x_categories=Ai(0,Kn("max",t.map(a=>a.values.length)))),e.generateRadarPoints()},getRadarPosition(t,e,n,a){const i=this,{config:s}=i,[o,l]=i.getRadarSize(),c=s.axis_x_categories.length,u=s.radar_direction_clockwise,g=Cr(t).map(v=>Fx(u,v,c,e,Ye(n)?n:t==="x"?o:l,fe(a)?a:s.radar_size_ratio));return g.length===1?g[0]:g},generateRadarPoints(){const t=this,e=t.data.targets,[n,a]=t.getRadarSize(),i=t.cache.get(oa)||{},s=i._size;(!s||s.width!==n&&s.height!==a)&&(e.forEach(o=>{i[o.id]=o.values.map((l,c)=>t.getRadarPosition(["x","y"],c,void 0,t.getRatio("radar",l)))}),i._size={width:n,height:a},t.cache.add(oa,i))},redrawRadar(){const t=this,{radar:e,main:n}=t.$el,a=t.getTranslate("radar");a&&(e.attr("transform",a),n.select(`.${An.chartTexts}`).attr("transform",a),t.generateRadarPoints(),t.updateRadarLevel(),t.updateRadarAxes(),t.updateRadarShape())},generateGetRadarPoints(){const t=this.cache.get(oa);return(e,n)=>{const a=t[e.id][n];return[a,a,a,a]}},updateRadarLevel(){const t=this,{config:e,state:n,$el:{radar:a}}=t,[i,s]=t.getRadarSize(),o=e.radar_level_depth,l=e.axis_x_categories.length,c=e.radar_level_text_show,u=a.levels,g=Ai(0,o),v=e.radar_size_ratio*Math.min(i,s),m=g.map(P=>v*((P+1)/o)),S=(e.radar_level_text_format||function(){}).bind(t.api),I=g.map(P=>{const V=m[P];return Ai(0,l).map(Y=>t.getRadarPosition(["x","y"],Y,V,1).join(",")).join(" ")}),N=u.selectAll(`.${vr.level}`).data(g);N.exit().remove();const M=N.enter().append("g").attr("class",(P,V)=>`${vr.level} ${vr.level}-${V}`);M.append("polygon").style("visibility",e.radar_level_show?null:"hidden"),c&&(u.select("text").empty()&&u.append("text").attr("dx","-.5em").attr("dy","-.7em").style("text-anchor","end").text(()=>S(0)),M.append("text").attr("dx","-.5em").style("text-anchor","end").text(P=>S(n.current.dataMax/g.length*(P+1)))),M.merge(N).attr("transform",P=>`translate(${i-m[P]}, ${s-m[P]})`).selectAll("polygon").attr("points",P=>I[P]),c&&u.selectAll("text").attr("x",P=>en(P)?i:I[P].split(",")[0]).attr("y",P=>en(P)?s:0)},updateRadarAxes(){const t=this,{config:e,$el:{radar:n}}=t,[a,i]=t.getRadarSize(),s=e.axis_x_categories;let o=n.axes.selectAll("g").data(s);o.exit().remove();const l=o.enter().append("g").attr("class",(c,u)=>`${on.axis}-${u}`);if(e.radar_axis_line_show&&l.append("line"),e.radar_axis_text_show&&l.append("text"),o=l.merge(o),e.radar_axis_line_show&&o.select("line").attr("x1",a).attr("y1",i).attr("x2",(c,u)=>t.getRadarPosition("x",u)).attr("y2",(c,u)=>t.getRadarPosition("y",u)),e.radar_axis_text_show){const{x:c=0,y:u=0}=e.radar_axis_text_position,g=t.cache.get(ku)||0;if(o.select("text").style("text-anchor","middle").attr("dy",".5em").call(v=>{v.each(function(m){wa(st(this),String(m),[-.6,1.2])})}).datum((v,m)=>({index:m})).attr("transform",function(v){en(this.width)&&(this.width=this.getBoundingClientRect().width/2);let m=t.getRadarPosition("x",v.index,void 0,1),S=Math.round(t.getRadarPosition("y",v.index,void 0,1));return m>a?m+=this.width+c:Math.round(m)i?(S/2===i&&this.firstChild.tagName==="tspan"&&this.firstChild.setAttribute("dy","0em"),S+=u):SXl(m.node()).width);v.every(m=>m>0)&&t.cache.add(ku,v[0]-v[1])}}},bindRadarEvent(){const t=this,{state:e,$el:{radar:n,svg:a}}=t,i=t.isPointFocusOnly(),{inputType:s,transiting:o}=e,l=s==="mouse",c=u=>{e.event=u;const g=t.getDataIndexFromEvent(u),v=en(g);(l||v)&&(t.hideTooltip(),i?t.hideCircleFocus():t.unexpandCircles(),l?t.setOverOut(!1,g):v&&t.callOverOutForTouch())};n.axes.on(l?"mouseover ":"touchstart",u=>{if(o)return;e.event=u;const g=t.getDataIndexFromEvent(u);t.selectRectForSingle(a.node(),g),l?t.setOverOut(!0,g):t.callOverOutForTouch(g)}).on("mouseout",l?c:null),l||a.on("touchstart",c)},updateRadarShape(){const t=this,e=t.data.targets.filter(s=>t.isRadarType(s)),n=t.cache.get(oa),a=t.$el.radar.shapes.selectAll("polygon").data(e),i=a.enter().append("g").attr("class",t.getChartClass("Radar"));t.$T(a.exit()).remove(),i.append("polygon").merge(a).style("fill",t.color).style("stroke",t.color).attr("points",s=>n[s.id].join(" ")),t.updateTargetForCircle(e,i)},radarCircleX(t){return this.cache.get(oa)[t.id][t.index][0]},radarCircleY(t){return this.cache.get(oa)[t.id][t.index][1]}};function Ux(t){var e=0,n=t.children,a=n&&n.length;if(!a)e=1;else for(;--a>=0;)e+=n[a].value;t.value=e}function zx(){return this.eachAfter(Ux)}function jx(t,e){let n=-1;for(const a of this)t.call(e,a,++n,this);return this}function Gx(t,e){for(var n=this,a=[n],i,s,o=-1;n=a.pop();)if(t.call(e,n,++o,this),i=n.children)for(s=i.length-1;s>=0;--s)a.push(i[s]);return this}function Vx(t,e){for(var n=this,a=[n],i=[],s,o,l,c=-1;n=a.pop();)if(i.push(n),s=n.children)for(o=0,l=s.length;o=0;)n+=a[i].value;e.value=n})}function Hx(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function Wx(t){for(var e=this,n=Kx(e,t),a=[e];e!==n;)e=e.parent,a.push(e);for(var i=a.length;t!==n;)a.splice(i,0,t),t=t.parent;return a}function Kx(t,e){if(t===e)return t;var n=t.ancestors(),a=e.ancestors(),i=null;for(t=n.pop(),e=a.pop();t===e;)i=t,t=n.pop(),e=a.pop();return i}function Zx(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function kx(){return Array.from(this)}function Jx(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function Qx(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}function*_x(){var t=this,e,n=[t],a,i,s;do for(e=n.reverse(),n=[];t=e.pop();)if(yield t,a=t.children)for(i=0,s=a.length;i=0;--l)i.push(s=o[l]=new ki(o[l])),s.parent=a,s.depth=a.depth+1;return n.eachBefore(r0)}function qx(){return bo(this).eachBefore(n0)}function t0(t){return t.children}function e0(t){return Array.isArray(t)?t[1]:null}function n0(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function r0(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function ki(t){this.data=t,this.depth=this.height=0,this.parent=null}ki.prototype=bo.prototype={constructor:ki,count:zx,each:jx,eachAfter:Vx,eachBefore:Gx,find:Xx,sum:Yx,sort:Hx,path:Wx,ancestors:Zx,descendants:kx,leaves:Jx,links:Qx,copy:qx,[Symbol.iterator]:_x};function a0(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Ji(t,e,n,a,i){for(var s=t.children,o,l=-1,c=s.length,u=t.value&&(a-e)/t.value;++lV&&(V=u),K=M*M*_,H=Math.max(V/K,K/P),H>Y){M-=u;break}Y=H}o.push(c={value:M,dice:S1?a:1)},n}(Ju);function R1(t){return t==null?null:qu(t)}function qu(t){if(typeof t!="function")throw new Error;return t}function za(){return 0}function ja(t){return function(){return t}}function i0(){var t=_u,e=!1,n=1,a=1,i=[0],s=za,o=za,l=za,c=za,u=za;function g(m){return m.x0=m.y0=0,m.x1=n,m.y1=a,m.eachBefore(v),i=[0],e&&m.eachBefore(a0),m}function v(m){var S=i[m.depth],I=m.x0+S,N=m.y0+S,M=m.x1-S,P=m.y1-S;M=m-1){var V=s[v];V.x0=I,V.y0=N,V.x1=M,V.y1=P;return}for(var H=u[v],Y=S/2+H,_=v+1,K=m-1;_>>1;u[at]P-N){var vt=S?(I*At+M*$t)/S:M;g(v,_,$t,I,N,vt,P),g(_,m,At,vt,N,M,P)}else{var gt=S?(N*At+P*$t)/S:P;g(v,_,$t,I,N,M,gt),g(_,m,At,I,gt,M,P)}}}function s0(t,e,n,a,i){(t.depth&1?Qi:Ji)(t,e,n,a,i)}var o0=function t(e){function n(a,i,s,o,l){if((c=a._squarify)&&c.ratio===e)for(var c,u,g,v,m=-1,S,I=c.length,N=a.value;++m1?a:1)},n}(Ju);function l0(t,e){const n=this,{scale:{x:a,y:i},state:{width:s}}=n;t.selectAll("g").attr("transform",o=>`translate(${o===e?"0,0":`${a(o.x0)},${i(o.y0)}`})`).select("rect").attr("width",o=>o===e?s:a(o.x1)-a(o.x0)).attr("height",o=>o===e?0:i(o.y1)-i(o.y0))}function c0(t){const e=this;return t.map(n=>{const{id:a,values:i}=n,{value:s}=i[0];return{name:a,id:a,value:s,ratio:e.getRatio("treemap",i[0])}})}function u0(t){const e=this,n=bo(t).sum(i=>i.value),a=e.getSortCompareFn(!0);return[e.treemap(a?n.sort(a):n)]}var f0={initTreemap(){const t=this,{$el:e,state:{current:{width:n,height:a},clip:i,datetimeId:s}}=t;i.id=`${s}-clip`,t.treemap=i0().tile(t.getTreemapTile()),e.defs.append("clipPath").attr("id",i.id).append("rect").attr("width",n).attr("height",a),e.treemap=e.main.select(`.${Se.chart}`).attr("clip-path",`url(#${i.id})`).append("g").classed(Jo.chartTreemaps,!0),t.bindTreemapEvent()},bindTreemapEvent(){const t=this,{$el:e,config:n,state:a}=t,i=s=>{var o;const l=s.isTrusted?s.target:(o=a.eventReceiver.rect)==null?void 0:o.node();let c;return/^rect$/i.test(l.tagName)&&(a.event=s,c=st(l).datum()),c==null?void 0:c.data};if(n.interaction_enabled){const s=a.inputType==="touch";e.treemap.on(s?"touchstart":"mouseover mousemove",o=>{const l=i(o);l&&(t.showTooltip([l],o.currentTarget),/^(touchstart|mouseover)$/.test(o.type)&&t.setOverOut(!0,l))}).on(s?"touchend":"mouseout",o=>{const l=i(o);t.hideTooltip(),t.setOverOut(!1,l)})}},getTreemapTile(){var t,e;const n=this,{config:a,state:{current:{width:i,height:s}}}=n,o=(e={binary:tf,dice:Ji,slice:Qi,sliceDice:s0,squarify:_u,resquarify:o0}[(t=a.treemap_tile)!=null?t:"binary"])!=null?e:tf;return(l,c,u,g,v)=>{o(l,0,0,i,s);for(const m of l.children)m.x0=c+m.x0/i*(g-c),m.x1=c+m.x1/i*(g-c),m.y0=u+m.y0/s*(v-u),m.y1=u+m.y1/s*(v-u)}},getTreemapData(t){const e=this;return{name:"root",children:c0.bind(e)(e.filterTargetsToShow(t.filter(e.isTreemapType,e)))}},updateTargetsForTreemap(t){const e=this,{$el:{treemap:n}}=e,a=u0.call(e,e.getTreemapData(t!=null?t:e.data.targets));n.data(a)},updateTreemap(t){const e=this,{$el:n,$T:a}=e,i=n.treemap.datum(),s=e.getChartClass("Treemap"),o=e.getClass("treemap",!0),l=n.treemap.selectAll("g").data(i.children);a(l.exit(),t).style("opacity","0").remove(),l.enter().append("g").append("rect"),n.treemap.selectAll("g").attr("class",s).select("rect").attr("class",o).attr("fill",c=>e.color(c.data.name))},generateGetTreemapPoints(){const t=this,{$el:e,scale:{x:n,y:a}}=t,i={};return e.treemap.selectAll("g").each(s=>{i[s.data.name]=[[n(s.x0),a(s.y0)],[n(s.x1),a(s.y1)]]}),s=>i[s.id]},redrawTreemap(t){const e=this,{$el:n,state:{current:{width:a,height:i}}}=e;return n.defs.select("rect").attr("width",a).attr("height",i),[e.$T(n.treemap,t,lr()).call(l0.bind(e),n.treemap.datum())]},treemapDataLabelFormat(t){const e=this,{config:n}=e,{id:a,value:i}=t,s=n.treemap_label_format,o=e.getRatio("treemap",t),l=(o*100).toFixed(2),c=n.treemap_label_show&&e.meetsLabelThreshold(o,"treemap")?null:"0";return function(u){return u.style("opacity",c),de(s)?s.bind(e.api)(i,o,a):`${a} -${l}%`}}},Ur={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},la={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},d0={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},h0={bubble_maxR:35,bubble_zerobased:!1},g0={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},v0={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},p0={scatter_zerobased:!1},Eo={spline_interpolation_type:"cardinal"},_i={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},m0={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},y0={funnel_neck_width:0,funnel_neck_height:0},x0={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},T0={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},$0={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:t=>t%1===0?t:t.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},S0={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:t=>t%1===0?t:t.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},A0={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ca(t,e){gn(Fr.prototype,Object.values(wu).concat(t)),gn(xr.prototype,Wy),Pr.setOptions(Object.values(Mu).concat(e||[]))}function fr(t,e){ca([sa,Zi,Mx].concat(t||[])),Pr.setOptions([Ur,v0].concat(e||[]))}function ua(t,e){gn(Fr.prototype,[hx,sa].concat(t||[])),Pr.setOptions([Ur].concat(e||[]))}let ef=()=>(fr(aa,[la]),(ef=()=>ae.AREA)()),nf=()=>(fr(aa,[la]),(nf=()=>ae.AREA_LINE_RANGE)()),rf=()=>(fr(aa,[la]),(rf=()=>ae.AREA_STEP_RANGE)()),af=()=>(fr(aa,[la,Eo]),(af=()=>ae.AREA_SPLINE)()),sf=()=>(fr(aa,[la,Eo]),(sf=()=>ae.AREA_SPLINE_RANGE)()),of=()=>(fr(aa,[la]),(of=()=>ae.AREA_STEP)()),lf=()=>(fr(),(lf=()=>ae.LINE)()),cf=()=>(fr(void 0,[Eo]),(cf=()=>ae.SPLINE)()),uf=()=>(fr(),(uf=()=>ae.STEP)()),ff=()=>(ua(void 0,[_i,m0]),(ff=()=>ae.DONUT)()),df=()=>(ua([Cx],[_i,x0]),(df=()=>ae.GAUGE)()),hf=()=>(ua(void 0,[_i,T0]),(hf=()=>ae.PIE)()),gf=()=>(ua([Nx],[_i,$0]),(gf=()=>ae.POLAR)()),vf=()=>(ua([wu.eventrect,Zi,Bx],[Ur,S0,{axis_x_categories:Mu.optAxis.axis_x_categories}]),(vf=()=>ae.RADAR)()),pf=()=>(ca([vx,sa],[d0,Ur]),(pf=()=>ae.BAR)()),mf=()=>(ca([sa,Zi,px],[h0,Ur]),(mf=()=>ae.BUBBLE)()),yf=()=>(ca([$x,sa],[g0,Ur]),(yf=()=>ae.CANDLESTICK)()),xf=()=>(ca([sa,Zi],[Ur,p0]),(xf=()=>ae.SCATTER)()),Tf=()=>(ua([Ix],[y0]),(Tf=()=>ae.FUNNEL)()),$f=()=>(ca([f0],[A0]),($f=()=>ae.TREEMAP)()),Ro={};const Sf={version:"3.12.4-nightly-20240809004639",generate(t){const e=_r({},Ro,t),n=new xr(e);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(t){return De(t)&&(Ro=t),Ro},instance:[],plugin:{}};Object.keys(d).forEach(t=>d[t]()),Object.keys(f).forEach(t=>f[t]())}],Va={};function Nn(x){var E=Va[x];if(E!==void 0)return E.exports;var r=Va[x]={exports:{}};return Oo[x].call(r.exports,r,r.exports,Nn),r.exports}(function(){Nn.d=function(x,E){for(var r in E)Nn.o(E,r)&&!Nn.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:E[r]})}})(),function(){Nn.o=function(x,E){return Object.prototype.hasOwnProperty.call(x,E)}}(),function(){Nn.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}(),Nn(0);var Xa=Nn(559);return Xa}()}); +${l}%`}}},Ur={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},la={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},d0={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},h0={bubble_maxR:35,bubble_zerobased:!1},g0={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},v0={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},p0={scatter_zerobased:!1},Eo={spline_interpolation_type:"cardinal"},_i={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},m0={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},y0={funnel_neck_width:0,funnel_neck_height:0},x0={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},T0={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},$0={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:t=>t%1===0?t:t.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},S0={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:t=>t%1===0?t:t.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},A0={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function ca(t,e){gn(Fr.prototype,Object.values(wu).concat(t)),gn(xr.prototype,Wy),Pr.setOptions(Object.values(Mu).concat(e||[]))}function fr(t,e){ca([sa,Zi,Mx].concat(t||[])),Pr.setOptions([Ur,v0].concat(e||[]))}function ua(t,e){gn(Fr.prototype,[hx,sa].concat(t||[])),Pr.setOptions([Ur].concat(e||[]))}let ef=()=>(fr(aa,[la]),(ef=()=>ae.AREA)()),nf=()=>(fr(aa,[la]),(nf=()=>ae.AREA_LINE_RANGE)()),rf=()=>(fr(aa,[la]),(rf=()=>ae.AREA_STEP_RANGE)()),af=()=>(fr(aa,[la,Eo]),(af=()=>ae.AREA_SPLINE)()),sf=()=>(fr(aa,[la,Eo]),(sf=()=>ae.AREA_SPLINE_RANGE)()),of=()=>(fr(aa,[la]),(of=()=>ae.AREA_STEP)()),lf=()=>(fr(),(lf=()=>ae.LINE)()),cf=()=>(fr(void 0,[Eo]),(cf=()=>ae.SPLINE)()),uf=()=>(fr(),(uf=()=>ae.STEP)()),ff=()=>(ua(void 0,[_i,m0]),(ff=()=>ae.DONUT)()),df=()=>(ua([Cx],[_i,x0]),(df=()=>ae.GAUGE)()),hf=()=>(ua(void 0,[_i,T0]),(hf=()=>ae.PIE)()),gf=()=>(ua([Nx],[_i,$0]),(gf=()=>ae.POLAR)()),vf=()=>(ua([wu.eventrect,Zi,Bx],[Ur,S0,{axis_x_categories:Mu.optAxis.axis_x_categories}]),(vf=()=>ae.RADAR)()),pf=()=>(ca([vx,sa],[d0,Ur]),(pf=()=>ae.BAR)()),mf=()=>(ca([sa,Zi,px],[h0,Ur]),(mf=()=>ae.BUBBLE)()),yf=()=>(ca([$x,sa],[g0,Ur]),(yf=()=>ae.CANDLESTICK)()),xf=()=>(ca([sa,Zi],[Ur,p0]),(xf=()=>ae.SCATTER)()),Tf=()=>(ua([Ix],[y0]),(Tf=()=>ae.FUNNEL)()),$f=()=>(ca([f0],[A0]),($f=()=>ae.TREEMAP)()),Ro={};const Sf={version:"3.12.4-nightly-20240813004629",generate(t){const e=_r({},Ro,t),n=new xr(e);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(t){return De(t)&&(Ro=t),Ro},instance:[],plugin:{}};Object.keys(d).forEach(t=>d[t]()),Object.keys(f).forEach(t=>f[t]())}],Va={};function Nn(x){var E=Va[x];if(E!==void 0)return E.exports;var r=Va[x]={exports:{}};return Oo[x].call(r.exports,r,r.exports,Nn),r.exports}(function(){Nn.d=function(x,E){for(var r in E)Nn.o(E,r)&&!Nn.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:E[r]})}})(),function(){Nn.o=function(x,E){return Object.prototype.hasOwnProperty.call(x,E)}}(),function(){Nn.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}(),Nn(0);var Xa=Nn(559);return Xa}()}); diff --git a/dist/plugin/billboardjs-plugin-bubblecompare.js b/dist/plugin/billboardjs-plugin-bubblecompare.js index 5832d494b..cd54e7d24 100644 --- a/dist/plugin/billboardjs-plugin-bubblecompare.js +++ b/dist/plugin/billboardjs-plugin-bubblecompare.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -133,7 +133,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/bubblecompare/index.ts var bubblecompare_defProp = Object.defineProperty; diff --git a/dist/plugin/billboardjs-plugin-bubblecompare.min.js b/dist/plugin/billboardjs-plugin-bubblecompare.min.js index b88242708..68c249fbe 100644 --- a/dist/plugin/billboardjs-plugin-bubblecompare.min.js +++ b/dist/plugin/billboardjs-plugin-bubblecompare.min.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin - */(function(n,i){typeof exports=="object"&&typeof module=="object"?module.exports=i(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],i):typeof exports=="object"?exports.bb=i(require("d3-selection")):(n.bb=n.bb||{},n.bb.plugin=n.bb.plugin||{},n.bb.plugin.bubblecompare=i(n.d3))})(this,function(p){return function(){"use strict";var n={747:function(r){r.exports=p}},i={};function s(r){var e=i[r];if(e!==void 0)return e.exports;var t=i[r]={exports:{}};return n[r](t,t.exports,s),t.exports}(function(){s.d=function(r,e){for(var t in e)s.o(e,t)&&!s.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})}})(),function(){s.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();var b={};s.d(b,{default:function(){return R}});var $=s(747),g=Object.defineProperty,v=(r,e,t)=>e in r?g(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,l=(r,e,t)=>v(r,typeof e!="symbol"?e+"":e,t);class d{constructor(e={}){l(this,"$$"),l(this,"options"),this.options=e}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(e=>{this[e]=null,delete this[e]})}}l(d,"version","3.12.4-nightly-20240809004639");var x=Object.defineProperty,B=(r,e,t)=>e in r?x(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,_=(r,e,t)=>B(r,typeof e!="symbol"?e+"":e,t);const f=class m extends d{constructor(e){return super(e),_(this,"$$"),this}$init(){const{$$:e}=this;e.findClosest=this.findClosest.bind(this),e.getBubbleR=this.getBubbleR.bind(this),e.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(e){const t=this.getBubbleR(e),{expandScale:a=1}=this.options;return m.raiseFocusedBubbleLayer(e),this.changeCursorPoint(),t*a}static raiseFocusedBubbleLayer(e){e.raise&&(0,$.select)(e.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(e,t){const{$$:a}=this;return e.filter(o=>o&&!a.isBarType(o.id)).reduce((o,u)=>a.dist(u,t){const h=this.getZData(j.values[0]);return[Math.min(w,h),Math.max(C,h)]},[1e4,0]),P=u>0&&c===u?0:o/c;return Math.abs(P)*(a-t)+t}getZData(e){return this.$$.isBubbleZType(e)?this.$$.getBubbleZData(e.value,"z"):e.value}};_(f,"version","0.0.1");let R=f;return b=b.default,b}()}); + */(function(n,i){typeof exports=="object"&&typeof module=="object"?module.exports=i(require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-selection"],i):typeof exports=="object"?exports.bb=i(require("d3-selection")):(n.bb=n.bb||{},n.bb.plugin=n.bb.plugin||{},n.bb.plugin.bubblecompare=i(n.d3))})(this,function(p){return function(){"use strict";var n={747:function(r){r.exports=p}},i={};function s(r){var e=i[r];if(e!==void 0)return e.exports;var t=i[r]={exports:{}};return n[r](t,t.exports,s),t.exports}(function(){s.d=function(r,e){for(var t in e)s.o(e,t)&&!s.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})}})(),function(){s.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)}}();var b={};s.d(b,{default:function(){return R}});var $=s(747),g=Object.defineProperty,v=(r,e,t)=>e in r?g(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,l=(r,e,t)=>v(r,typeof e!="symbol"?e+"":e,t);class d{constructor(e={}){l(this,"$$"),l(this,"options"),this.options=e}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(e=>{this[e]=null,delete this[e]})}}l(d,"version","3.12.4-nightly-20240813004629");var x=Object.defineProperty,B=(r,e,t)=>e in r?x(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,_=(r,e,t)=>B(r,typeof e!="symbol"?e+"":e,t);const f=class m extends d{constructor(e){return super(e),_(this,"$$"),this}$init(){const{$$:e}=this;e.findClosest=this.findClosest.bind(this),e.getBubbleR=this.getBubbleR.bind(this),e.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(e){const t=this.getBubbleR(e),{expandScale:a=1}=this.options;return m.raiseFocusedBubbleLayer(e),this.changeCursorPoint(),t*a}static raiseFocusedBubbleLayer(e){e.raise&&(0,$.select)(e.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(e,t){const{$$:a}=this;return e.filter(o=>o&&!a.isBarType(o.id)).reduce((o,u)=>a.dist(u,t){const h=this.getZData(j.values[0]);return[Math.min(w,h),Math.max(C,h)]},[1e4,0]),P=u>0&&c===u?0:o/c;return Math.abs(P)*(a-t)+t}getZData(e){return this.$$.isBubbleZType(e)?this.$$.getBubbleZData(e.value,"z"):e.value}};_(f,"version","0.0.1");let R=f;return b=b.default,b}()}); diff --git a/dist/plugin/billboardjs-plugin-sparkline.js b/dist/plugin/billboardjs-plugin-sparkline.js index 2ed9e9553..7a6014129 100644 --- a/dist/plugin/billboardjs-plugin-sparkline.js +++ b/dist/plugin/billboardjs-plugin-sparkline.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -777,7 +777,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts class Options { diff --git a/dist/plugin/billboardjs-plugin-sparkline.min.js b/dist/plugin/billboardjs-plugin-sparkline.min.js index 798083a0a..edb0cb9b0 100644 --- a/dist/plugin/billboardjs-plugin-sparkline.min.js +++ b/dist/plugin/billboardjs-plugin-sparkline.min.js @@ -5,9 +5,9 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(b,f){typeof exports=="object"&&typeof module=="object"?module.exports=f(require("d3-brush"),require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-brush","d3-selection"],f):typeof exports=="object"?exports.bb=f(require("d3-brush"),require("d3-selection")):(b.bb=b.bb||{},b.bb.plugin=b.bb.plugin||{},b.bb.plugin.sparkline=f(b.d3,b.d3))})(this,function(T,b){return function(){"use strict";var f={853:function(e){e.exports=T},747:function(e){e.exports=b}},A={};function d(e){var t=A[e];if(t!==void 0)return t.exports;var n=A[e]={exports:{}};return f[e](n,n.exports,d),n.exports}(function(){d.d=function(e,t){for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),function(){d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var p={};d.d(p,{default:function(){return j}});var N=Object.defineProperty,P=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,C=(e,t,n)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>{for(var n in t||(t={}))B.call(t,n)&&C(e,n,t[n]);if(P)for(var n of P(t))q.call(t,n)&&C(e,n,t[n]);return e};const R={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},k={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},H={area:"bb-area",areas:"bb-areas"},U={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},X={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},Y={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},V={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},G={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},z={dragarea:"bb-dragarea",INCLUDED:"_included_"},W={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},K={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},Z={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},J={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},Q={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},ee={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},te={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Le={level:"bb-level",levels:"bb-levels"},ne={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},re={region:"bb-region",regions:"bb-regions"},ie={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},se={shape:"bb-shape",shapes:"bb-shapes"},oe={brush:"bb-brush",subchart:"bb-subchart"},le={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},ce={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},ae={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},ue={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var De=l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l({},R),k),H),U),X),Y),V),G),z),K),Z),J),Q),ee),W),te),ne),re),ie),se),oe),le),ce),ae),ue),Me=d(853),Fe=d(747);function be(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function de(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",r=s=>setTimeout(s,1),i=s=>clearTimeout(s);return[t?e.requestAnimationFrame:r,t?e.cancelAnimationFrame:i,n?e.requestIdleCallback:r,n?e.cancelIdleCallback:i]}const g=be(),fe=g==null?void 0:g.document,[je,Ne,Be,qe]=de(g);var he=Object.defineProperty,I=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,S=(e,t,n)=>t in e?he(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))pe.call(t,n)&&S(e,n,t[n]);if(I)for(var n of I(t))ge.call(t,n)&&S(e,n,t[n]);return e};const ke=e=>e||e===0,me=e=>typeof e=="function",m=e=>typeof e=="string",_=e=>typeof e=="number",ve=e=>typeof e=="undefined",D=e=>typeof e!="undefined",He=e=>typeof e=="boolean",Ue=e=>Math.ceil(e/10)*10,Xe=e=>Math.ceil(e)+.5,Ye=e=>e[1]-e[0],y=e=>typeof e=="object",_e=e=>ve(e)||e===null||m(e)&&e.length===0||y(e)&&!(e instanceof Date)&&Object.keys(e).length===0||_(e)&&isNaN(e),ye=e=>!_e(e),x=e=>Array.isArray(e),v=e=>e&&!(e!=null&&e.nodeType)&&y(e)&&!x(e);function Ve(e,t,n){return D(e[t])?e[t]:n}function Ge(e,t){let n=!1;return Object.keys(e).forEach(r=>e[r]===t&&(n=!0)),n}function ze(e,t,...n){const r=me(e);return r&&e.call(t,...n),r}function We(e,t){let n=0;const r=function(...i){!--n&&t.apply(this,...i)};"duration"in e?e.each(()=>++n).on("end",r):(++n,e.call(r))}function Ke(e){return m(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Ze(e,t,n=[-1,1],r=!1){if(!(!e||!m(t)))if(t.indexOf(` `)===-1)e.text(t);else{const i=[e.text(),t].map(s=>s.replace(/[\s\n]/g,""));if(i[0]!==i[1]){const s=t.split(` -`),o=r?s.length-1:1;e.html(""),s.forEach((c,a)=>{e.append("tspan").attr("x",0).attr("dy",`${a===0?n[0]*o:n[1]}em`).text(c)})}}}function xe(e){const{x:t,y:n,width:r,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i}]}function Je(e){const{width:t,height:n}=e.getBoundingClientRect(),r=xe(e),i=r[0].x,s=Math.min(r[0].y,r[1].y);return{x:i,y:s,width:t,height:n}}function Qe(e,t){var n;const r=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(r||e,t)}catch(s){}return i.map(s=>isNaN(s)?0:s)}function $e(e){const{event:t,$el:n}=e,r=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:r&&(i=r.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function et(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function tt(e=!0,t=0,n=1e4){const r=window.crypto||window.msCrypto,i=r?t+r.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function M(e,t,n,r,i){if(n>r)return-1;const s=Math.floor((n+r)/2);let{x:o,w:c=0}=e[s];return i&&(o=e[s].y,c=e[s].h),t>=o&&t<=o+c?s:t{if(v(n)&&n.constructor){const r=new n.constructor;for(const i in n)r[i]=t(n[i]);return r}return n};return e.map(n=>t(n)).reduce((n,r)=>L(L({},n),r))}function Ee(e={},t){x(t)&&t.forEach(n=>Ee(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const it=e=>e.charAt(0).toUpperCase()+e.slice(1);function st(e,t="-"){return e.split(t).map((n,r)=>r?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const we=e=>[].slice.call(e);function ot(e,t,n){const{rootSelector:r="",sheet:i}=e,o=`${r} ${(c=>c.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](o,i.cssRules.length)}function lt(e){let t=[];return e.forEach(n=>{var r;try{n.cssRules&&n.cssRules.length&&(t=t.concat(we(n.cssRules)))}catch(i){(r=window.console)==null||r.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function ct(e){var t,n,r,i,s,o;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((r=e.scrollLeft)!=null?r:0),y:((s=(i=window.pageYOffset)!=null?i:window.scrollY)!=null?s:0)+((o=e.scrollTop)!=null?o:0)}}function at(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function ut(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((r,i,s)=>s.indexOf(r)===i);return t?n.map(r=>new Date(r)):n}function bt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function $(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(r=>{const i=n[r];v(i)?(!e[r]&&(e[r]={}),e[r]=$(e[r],i)):e[r]=x(i)?i.concat():i}),$(e,...t)}function Oe(e,t=!0){let n;return e[0]instanceof Date?n=t?(r,i)=>r-i:(r,i)=>i-r:t&&!e.every(isNaN)?n=(r,i)=>r-i:t||(n=(r,i)=>r>i&&-1||rye(r));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Oe(n,e==="min")[0]):n=void 0,n}const ft=(e,t,n=1)=>{const r=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,r=e())=>{t.dispatchEvent(new MouseEvent(n,r))}}catch(t){return(n,r,i=e())=>{const s=fe.createEvent("MouseEvent");s.initMouseEvent(r,i.bubbles,i.cancelable,g,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const r=new Touch($({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function pt(e,t){let n=e;for(const r in t)n=n.replace(new RegExp(`{=${r}}`,"g"),t[r]);return n}function gt(e){var t;let n;if(e instanceof Date)n=e;else if(m(e)){const{config:r,format:i}=this;n=(t=i.dataTime(r.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function mt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function vt(e,t){const{DocumentTouch:n,matchMedia:r,navigator:i}=window;let s=!1;if(t)if(i&&"maxTouchPoints"in i)s=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(r!=null&&r("(pointer:coarse)").matches)s=!0;else{const c=i.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(c)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(c)}return e&&((r==null?void 0:r("any-hover:hover").matches)||(r==null?void 0:r("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Te(e,t){t()===!1?requestAnimationFrame(()=>Te(e,t)):e()}function Ae(e){const t=this.config;let n,r,i;const s=()=>{const o=r.shift();if(o&&n&&y(n)&&o in n)return n=n[o],s();if(!o)return n};Object.keys(t).forEach(o=>{n=e,r=o.split("_"),i=s(),D(i)&&(t[o]=i)}),this.api&&(this.state.orgConfig=e)}var Pe=Object.defineProperty,Ce=(e,t,n)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>Ce(e,typeof t!="symbol"?t+"":t,n);class F{constructor(t={}){E(this,"$$"),E(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}E(F,"version","3.12.4-nightly-20240809004639");class Re{constructor(){return{selector:void 0}}}var Ie=Object.defineProperty,Se=(e,t,n)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t,n)=>Se(e,typeof t!="symbol"?t+"":t,n);class j extends F{constructor(t){return super(t),w(this,"config"),w(this,"element"),this.config=new Re,this}$beforeInit(){Ae.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:t,config:n}=this;let r="";if((!n.selector||!document.querySelector(n.selector))&&(r="No holder elements found from given selector option."),(t.hasType("bubble")||t.hasType("scatter")||t.hasArcType(t.data.targets))&&(r="Contains non supported chart types."),r)throw new Error(`[Sparkline plugin] ${r}`)}overrideInternals(){const{$$:t}=this,{getBarW:n,getIndices:r}=t;t.getIndices=function(i,s,o){return o==="getShapeX"?{}:r.call(this,i,s)},t.getBarW=function(i,s){return n.call(this,i,s,1)}}overrideOptions(){const{config:t}=this.$$;if(t.legend_show=!1,t.resize_auto=!1,t.axis_x_show=!1,t.padding!==!1){const n=r=>Object.keys(r||{}).length>0;n(t.axis_x_padding)&&(t.axis_x_padding={left:15,right:15,unit:"px"}),n(t.axis_y_padding)&&(t.axis_y_padding=5)}t.axis_y_show=!1,t.tooltip_position||(t.tooltip_position=function(n,r,i){const{internal:{state:{event:s}}}=this;let o=s.pageY-i*1.35,c=s.pageX-r/2;return o<0&&(o=0),c<0&&(c=0),{top:o,left:c}})}$init(){var t;const{$$:{$el:n}}=this;n.chart.style("width","0").style("height","0").style("pointer-events","none"),(t=n.tooltip)!=null&&t.node()&&document.body.appendChild(n.tooltip.node())}$afterInit(){const{$$:t}=this;t.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(t=!0){const{$$:{config:n}}=this;if(n.interaction_enabled&&n.tooltip_show){const r=`${t?"add":"remove"}EventListener`;this.element.forEach(i=>{const s=i.querySelector("svg");s[r]("mouseover",this.overHandler),s[r]("mousemove",this.moveHandler),s[r]("mouseout",this.outHandler)})}}overHandler(t){const{$$:n}=this,{state:{eventReceiver:r}}=n;r.rect=t.target.getBoundingClientRect()}moveHandler(t){var n,r,i,s;const{$$:o}=this,c=o.getDataIndexFromEvent(t),a=(n=o.api.data(t.target.__id))==null?void 0:n[0],u=(r=a==null?void 0:a.values)==null?void 0:r[c];u&&!u.name&&(u.name=u.id),o.state.event=t,(i=o.isPointFocusOnly)!=null&&i.call(o)&&u&&((s=o.showCircleFocus)==null||s.call(o,[u])),o.setExpand(c,a.id,!0),o.showTooltip([u],t.target)}outHandler(t){const{$$:n}=this;n.state.event=t,n.isPointFocusOnly()?n.hideCircleFocus():n.unexpandCircles(),n.hideTooltip()}$redraw(){var t;const{$$:n}=this,{$el:r}=n;let i=this.element;const s=n.api.data(),o=(t=r.chart.html().match(/]*>/))==null?void 0:t[0];if(i.length0;a--)c.parentNode.insertBefore(i[0].cloneNode(),c.nextSibling);this.element=document.querySelectorAll(this.config.selector),i=this.element}s.map(c=>c.id).forEach((c,a)=>{const u=`.${R.target}-${c}`,O=r.main.selectAll(u);let h=i[a].querySelector("svg");h||(i[a].innerHTML=`${o}`,h=i[a].querySelector("svg"),h.__id=c),h.querySelector(u)||O.style("opacity",null),O.style("fill","none").style("opacity",null),h.innerHTML="",h.appendChild(O.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(t=>{t.innerHTML=""})}}return w(j,"version","0.0.1"),p=p.default,p}()}); +`),o=r?s.length-1:1;e.html(""),s.forEach((c,a)=>{e.append("tspan").attr("x",0).attr("dy",`${a===0?n[0]*o:n[1]}em`).text(c)})}}}function xe(e){const{x:t,y:n,width:r,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i}]}function Je(e){const{width:t,height:n}=e.getBoundingClientRect(),r=xe(e),i=r[0].x,s=Math.min(r[0].y,r[1].y);return{x:i,y:s,width:t,height:n}}function Qe(e,t){var n;const r=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(r||e,t)}catch(s){}return i.map(s=>isNaN(s)?0:s)}function $e(e){const{event:t,$el:n}=e,r=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:r&&(i=r.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function et(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function tt(e=!0,t=0,n=1e4){const r=window.crypto||window.msCrypto,i=r?t+r.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function M(e,t,n,r,i){if(n>r)return-1;const s=Math.floor((n+r)/2);let{x:o,w:c=0}=e[s];return i&&(o=e[s].y,c=e[s].h),t>=o&&t<=o+c?s:t{if(v(n)&&n.constructor){const r=new n.constructor;for(const i in n)r[i]=t(n[i]);return r}return n};return e.map(n=>t(n)).reduce((n,r)=>L(L({},n),r))}function Ee(e={},t){x(t)&&t.forEach(n=>Ee(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const it=e=>e.charAt(0).toUpperCase()+e.slice(1);function st(e,t="-"){return e.split(t).map((n,r)=>r?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const we=e=>[].slice.call(e);function ot(e,t,n){const{rootSelector:r="",sheet:i}=e,o=`${r} ${(c=>c.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](o,i.cssRules.length)}function lt(e){let t=[];return e.forEach(n=>{var r;try{n.cssRules&&n.cssRules.length&&(t=t.concat(we(n.cssRules)))}catch(i){(r=window.console)==null||r.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function ct(e){var t,n,r,i,s,o;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((r=e.scrollLeft)!=null?r:0),y:((s=(i=window.pageYOffset)!=null?i:window.scrollY)!=null?s:0)+((o=e.scrollTop)!=null?o:0)}}function at(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function ut(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((r,i,s)=>s.indexOf(r)===i);return t?n.map(r=>new Date(r)):n}function bt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function $(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(r=>{const i=n[r];v(i)?(!e[r]&&(e[r]={}),e[r]=$(e[r],i)):e[r]=x(i)?i.concat():i}),$(e,...t)}function Oe(e,t=!0){let n;return e[0]instanceof Date?n=t?(r,i)=>r-i:(r,i)=>i-r:t&&!e.every(isNaN)?n=(r,i)=>r-i:t||(n=(r,i)=>r>i&&-1||rye(r));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Oe(n,e==="min")[0]):n=void 0,n}const ft=(e,t,n=1)=>{const r=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,r=e())=>{t.dispatchEvent(new MouseEvent(n,r))}}catch(t){return(n,r,i=e())=>{const s=fe.createEvent("MouseEvent");s.initMouseEvent(r,i.bubbles,i.cancelable,g,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const r=new Touch($({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function pt(e,t){let n=e;for(const r in t)n=n.replace(new RegExp(`{=${r}}`,"g"),t[r]);return n}function gt(e){var t;let n;if(e instanceof Date)n=e;else if(m(e)){const{config:r,format:i}=this;n=(t=i.dataTime(r.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function mt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function vt(e,t){const{DocumentTouch:n,matchMedia:r,navigator:i}=window;let s=!1;if(t)if(i&&"maxTouchPoints"in i)s=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(r!=null&&r("(pointer:coarse)").matches)s=!0;else{const c=i.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(c)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(c)}return e&&((r==null?void 0:r("any-hover:hover").matches)||(r==null?void 0:r("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Te(e,t){t()===!1?requestAnimationFrame(()=>Te(e,t)):e()}function Ae(e){const t=this.config;let n,r,i;const s=()=>{const o=r.shift();if(o&&n&&y(n)&&o in n)return n=n[o],s();if(!o)return n};Object.keys(t).forEach(o=>{n=e,r=o.split("_"),i=s(),D(i)&&(t[o]=i)}),this.api&&(this.state.orgConfig=e)}var Pe=Object.defineProperty,Ce=(e,t,n)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>Ce(e,typeof t!="symbol"?t+"":t,n);class F{constructor(t={}){E(this,"$$"),E(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}E(F,"version","3.12.4-nightly-20240813004629");class Re{constructor(){return{selector:void 0}}}var Ie=Object.defineProperty,Se=(e,t,n)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t,n)=>Se(e,typeof t!="symbol"?t+"":t,n);class j extends F{constructor(t){return super(t),w(this,"config"),w(this,"element"),this.config=new Re,this}$beforeInit(){Ae.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:t,config:n}=this;let r="";if((!n.selector||!document.querySelector(n.selector))&&(r="No holder elements found from given selector option."),(t.hasType("bubble")||t.hasType("scatter")||t.hasArcType(t.data.targets))&&(r="Contains non supported chart types."),r)throw new Error(`[Sparkline plugin] ${r}`)}overrideInternals(){const{$$:t}=this,{getBarW:n,getIndices:r}=t;t.getIndices=function(i,s,o){return o==="getShapeX"?{}:r.call(this,i,s)},t.getBarW=function(i,s){return n.call(this,i,s,1)}}overrideOptions(){const{config:t}=this.$$;if(t.legend_show=!1,t.resize_auto=!1,t.axis_x_show=!1,t.padding!==!1){const n=r=>Object.keys(r||{}).length>0;n(t.axis_x_padding)&&(t.axis_x_padding={left:15,right:15,unit:"px"}),n(t.axis_y_padding)&&(t.axis_y_padding=5)}t.axis_y_show=!1,t.tooltip_position||(t.tooltip_position=function(n,r,i){const{internal:{state:{event:s}}}=this;let o=s.pageY-i*1.35,c=s.pageX-r/2;return o<0&&(o=0),c<0&&(c=0),{top:o,left:c}})}$init(){var t;const{$$:{$el:n}}=this;n.chart.style("width","0").style("height","0").style("pointer-events","none"),(t=n.tooltip)!=null&&t.node()&&document.body.appendChild(n.tooltip.node())}$afterInit(){const{$$:t}=this;t.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(t=!0){const{$$:{config:n}}=this;if(n.interaction_enabled&&n.tooltip_show){const r=`${t?"add":"remove"}EventListener`;this.element.forEach(i=>{const s=i.querySelector("svg");s[r]("mouseover",this.overHandler),s[r]("mousemove",this.moveHandler),s[r]("mouseout",this.outHandler)})}}overHandler(t){const{$$:n}=this,{state:{eventReceiver:r}}=n;r.rect=t.target.getBoundingClientRect()}moveHandler(t){var n,r,i,s;const{$$:o}=this,c=o.getDataIndexFromEvent(t),a=(n=o.api.data(t.target.__id))==null?void 0:n[0],u=(r=a==null?void 0:a.values)==null?void 0:r[c];u&&!u.name&&(u.name=u.id),o.state.event=t,(i=o.isPointFocusOnly)!=null&&i.call(o)&&u&&((s=o.showCircleFocus)==null||s.call(o,[u])),o.setExpand(c,a.id,!0),o.showTooltip([u],t.target)}outHandler(t){const{$$:n}=this;n.state.event=t,n.isPointFocusOnly()?n.hideCircleFocus():n.unexpandCircles(),n.hideTooltip()}$redraw(){var t;const{$$:n}=this,{$el:r}=n;let i=this.element;const s=n.api.data(),o=(t=r.chart.html().match(/]*>/))==null?void 0:t[0];if(i.length0;a--)c.parentNode.insertBefore(i[0].cloneNode(),c.nextSibling);this.element=document.querySelectorAll(this.config.selector),i=this.element}s.map(c=>c.id).forEach((c,a)=>{const u=`.${R.target}-${c}`,O=r.main.selectAll(u);let h=i[a].querySelector("svg");h||(i[a].innerHTML=`${o}`,h=i[a].querySelector("svg"),h.__id=c),h.querySelector(u)||O.style("opacity",null),O.style("fill","none").style("opacity",null),h.innerHTML="",h.appendChild(O.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(t=>{t.innerHTML=""})}}return w(j,"version","0.0.1"),p=p.default,p}()}); diff --git a/dist/plugin/billboardjs-plugin-stanford.js b/dist/plugin/billboardjs-plugin-stanford.js index 2c854caa9..6594fd51e 100644 --- a/dist/plugin/billboardjs-plugin-stanford.js +++ b/dist/plugin/billboardjs-plugin-stanford.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -814,7 +814,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); // EXTERNAL MODULE: external {"commonjs":"d3-axis","commonjs2":"d3-axis","amd":"d3-axis","root":"d3"} var external_commonjs_d3_axis_commonjs2_d3_axis_amd_d3_axis_root_d3_ = __webpack_require__(8); diff --git a/dist/plugin/billboardjs-plugin-stanford.min.js b/dist/plugin/billboardjs-plugin-stanford.min.js index f07cf498a..38b39fc56 100644 --- a/dist/plugin/billboardjs-plugin-stanford.min.js +++ b/dist/plugin/billboardjs-plugin-stanford.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(f,_){typeof exports=="object"&&typeof module=="object"?module.exports=_(require("d3-color"),require("d3-interpolate"),require("d3-scale"),require("d3-brush"),require("d3-selection"),require("d3-axis"),require("d3-format")):typeof define=="function"&&define.amd?define("bb",["d3-color","d3-interpolate","d3-scale","d3-brush","d3-selection","d3-axis","d3-format"],_):typeof exports=="object"?exports.bb=_(require("d3-color"),require("d3-interpolate"),require("d3-scale"),require("d3-brush"),require("d3-selection"),require("d3-axis"),require("d3-format")):(f.bb=f.bb||{},f.bb.plugin=f.bb.plugin||{},f.bb.plugin.stanford=_(f.d3,f.d3,f.d3,f.d3,f.d3,f.d3,f.d3))})(this,function(j,f,_,z,H,K,W){return function(){"use strict";var Z={996:function(e){e.exports=K},853:function(e){e.exports=z},218:function(e){e.exports=j},390:function(e){e.exports=W},798:function(e){e.exports=f},455:function(e){e.exports=_},747:function(e){e.exports=H}},M={};function h(e){var t=M[e];if(t!==void 0)return t.exports;var n=M[e]={exports:{}};return Z[e](n,n.exports,h),n.exports}(function(){h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),function(){h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var y={};h.d(y,{default:function(){return st}});var I=h(218),J=h(798),E=h(455),Q=Object.defineProperty,D=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,N=(e,t,n)=>t in e?Q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))ee.call(t,n)&&N(e,n,t[n]);if(D)for(var n of D(t))te.call(t,n)&&N(e,n,t[n]);return e};const ne={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},oe={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},re={area:"bb-area",areas:"bb-areas"},se={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},ae={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},ie={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},ce={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},le={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},ue={dragarea:"bb-dragarea",INCLUDED:"_included_"},de={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},be={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},fe={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},he={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},pe={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},ge={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},me={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},it={level:"bb-level",levels:"bb-levels"},_e={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},xe={region:"bb-region",regions:"bb-regions"},ye={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},ve={shape:"bb-shape",shapes:"bb-shapes"},$e={brush:"bb-brush",subchart:"bb-subchart"},we={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},S={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},Ee={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Se={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var ct=u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u({},ne),oe),re),se),ae),ie),ce),le),ue),be),fe),he),pe),ge),de),me),_e),xe),ye),ve),$e),we),S),Ee),Se),lt=h(853),ut=h(747);function Ce(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Oe(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",o=s=>setTimeout(s,1),r=s=>clearTimeout(s);return[t?e.requestAnimationFrame:o,t?e.cancelAnimationFrame:r,n?e.requestIdleCallback:o,n?e.cancelIdleCallback:r]}const v=Ce(),Pe=v==null?void 0:v.document,[dt,bt,ft,ht]=Oe(v);var Re=Object.defineProperty,F=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,q=(e,t,n)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||(t={}))Ae.call(t,n)&&q(e,n,t[n]);if(F)for(var n of F(t))Te.call(t,n)&&q(e,n,t[n]);return e};const pt=e=>e||e===0,C=e=>typeof e=="function",x=e=>typeof e=="string",O=e=>typeof e=="number",Le=e=>typeof e=="undefined",U=e=>typeof e!="undefined",gt=e=>typeof e=="boolean",mt=e=>Math.ceil(e/10)*10,_t=e=>Math.ceil(e)+.5,xt=e=>e[1]-e[0],P=e=>typeof e=="object",X=e=>Le(e)||e===null||x(e)&&e.length===0||P(e)&&!(e instanceof Date)&&Object.keys(e).length===0||O(e)&&isNaN(e),je=e=>!X(e),R=e=>Array.isArray(e),$=e=>e&&!(e!=null&&e.nodeType)&&P(e)&&!R(e);function yt(e,t,n){return U(e[t])?e[t]:n}function vt(e,t){let n=!1;return Object.keys(e).forEach(o=>e[o]===t&&(n=!0)),n}function $t(e,t,...n){const o=C(e);return o&&e.call(t,...n),o}function wt(e,t){let n=0;const o=function(...r){!--n&&t.apply(this,...r)};"duration"in e?e.each(()=>++n).on("end",o):(++n,e.call(o))}function Et(e){return x(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function St(e,t,n=[-1,1],o=!1){if(!(!e||!x(t)))if(t.indexOf(` `)===-1)e.text(t);else{const r=[e.text(),t].map(s=>s.replace(/[\s\n]/g,""));if(r[0]!==r[1]){const s=t.split(` -`),a=o?s.length-1:1;e.html(""),s.forEach((i,d)=>{e.append("tspan").attr("x",0).attr("dy",`${d===0?n[0]*a:n[1]}em`).text(i)})}}}function Me(e){const{x:t,y:n,width:o,height:r}=e.getBBox();return[{x:t,y:n+r},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+r}]}function Ct(e){const{width:t,height:n}=e.getBoundingClientRect(),o=Me(e),r=o[0].x,s=Math.min(o[0].y,o[1].y);return{x:r,y:s,width:t,height:n}}function Ot(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let r=[0,0];try{r=d3Pointer(o||e,t)}catch(s){}return r.map(s=>isNaN(s)?0:s)}function Ie(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let r;return t&&t.type==="brush"?r=t.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Pt(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Rt(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,r=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(r):r}function Y(e,t,n,o,r){if(n>o)return-1;const s=Math.floor((n+o)/2);let{x:a,w:i=0}=e[s];return r&&(a=e[s].y,i=e[s].h),t>=a&&t<=a+i?s:t{if($(n)&&n.constructor){const o=new n.constructor;for(const r in n)o[r]=t(n[r]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>B(B({},n),o))}function De(e={},t){R(t)&&t.forEach(n=>De(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Lt=e=>e.charAt(0).toUpperCase()+e.slice(1);function jt(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const Ne=e=>[].slice.call(e);function Mt(e,t,n){const{rootSelector:o="",sheet:r}=e,a=`${o} ${(i=>i.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](a,r.cssRules.length)}function It(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(Ne(n.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${r.toString()}`)}}),t}function Dt(e){var t,n,o,r,s,a;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((o=e.scrollLeft)!=null?o:0),y:((s=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?s:0)+((a=e.scrollTop)!=null?a:0)}}function Nt(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ft(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,r,s)=>s.indexOf(o)===r);return t?n.map(o=>new Date(o)):n}function qt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function A(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return $(e)&&$(n)&&Object.keys(n).forEach(o=>{const r=n[o];$(r)?(!e[o]&&(e[o]={}),e[o]=A(e[o],r)):e[o]=R(r)?r.concat():r}),A(e,...t)}function Fe(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,r)=>o-r:(o,r)=>r-o:t&&!e.every(isNaN)?n=(o,r)=>o-r:t||(n=(o,r)=>o>r&&-1||oje(o));return n.length?O(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Fe(n,e==="min")[0]):n=void 0,n}const qe=(e,t,n=1)=>{const o=[],r=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,r=e())=>{const s=Pe.createEvent("MouseEvent");s.initMouseEvent(o,r.bubbles,r.cancelable,v,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const o=new Touch(A({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function Xt(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function Be(e){var t;let n;if(e instanceof Date)n=e;else if(x(e)){const{config:o,format:r}=this;n=(t=r.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else O(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Yt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Gt(e,t){const{DocumentTouch:n,matchMedia:o,navigator:r}=window;let s=!1;if(t)if(r&&"maxTouchPoints"in r)s=r.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(o!=null&&o("(pointer:coarse)").matches)s=!0;else{const i=r.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(i)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(i)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Ue(e,t){t()===!1?requestAnimationFrame(()=>Ue(e,t)):e()}function Xe(e){const t=this.config;let n,o,r;const s=()=>{const a=o.shift();if(a&&n&&P(n)&&a in n)return n=n[a],s();if(!a)return n};Object.keys(t).forEach(a=>{n=e,o=a.split("_"),r=s(),U(r)&&(t[a]=r)}),this.api&&(this.state.orgConfig=e)}var Ye=Object.defineProperty,Ge=(e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t,n)=>Ge(e,typeof t!="symbol"?t+"":t,n);class G{constructor(t={}){T(this,"$$"),T(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}T(G,"version","3.12.4-nightly-20240809004639");var Ve=h(996),ke=h(390),p={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},ze=Object.defineProperty,He=(e,t,n)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>He(e,typeof t!="symbol"?t+"":t,n);class Ke{constructor(t){V(this,"owner"),V(this,"colorScale"),this.owner=t}drawColorScale(){const{$$:t,config:n}=this.owner,o=t.data.targets[0],r=t.state.height-n.padding_bottom-n.padding_top,s=n.scale_width,a=5,i=qe(n.padding_bottom,r,a),d=(0,E.scaleSequential)(o.colors).domain([i[i.length-1],i[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=t.$el.svg.append("g").attr("width",50).attr("height",r).attr("class",p.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${n.padding_top})`).selectAll("bars").data(i).enter().append("rect").attr("y",(m,at)=>at*a).attr("x",0).attr("width",s).attr("height",a).attr("fill",m=>d(m));const b=(0,E.scaleSymlog)().domain([o.minEpochs,o.maxEpochs]).range([i[0]+n.padding_top+i[i.length-1]+a-1,i[0]+n.padding_top]),c=(0,Ve.axisRight)(b),l=n.scale_format;l==="pow10"?c.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):C(l)?c.tickFormat(l):c.tickFormat((0,ke.format)("d"));const g=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${s},0)`).call(c);l==="pow10"&&g.selectAll(".tick text").text(null).filter(m=>m/Math.pow(10,Math.ceil(Math.log(m)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(m=>Math.round(Math.log(m)/Math.LN10)),this.colorScale.attr("transform",`translate(${t.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function We(e,t){const n=e.x,o=e.value;let r=!1;for(let s=0,a=t.length-1;so!=c>o&&n<(b-i)*(o-d)/(c-d)+i&&(r=!r)}return r}function Ze(e,t){return e.epochst.epochs?1:0}function Je(e){let t=0,n,o;for(let r=0,s=e.length,a=s-1;rt in e?Qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t,n)=>et(e,typeof t!="symbol"?t+"":t,n);class nt{constructor(t){tt(this,"owner"),this.owner=t;const n=t.$$.$el.main.select(".bb-chart").append("g").attr("class",p.stanfordElements);n.append("g").attr("class",p.stanfordLines),n.append("g").attr("class",p.stanfordRegions)}updateStanfordLines(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=r.select(`.${p.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${p.stanfordLine}`).data(this.owner.config.lines);d.exit().transition().duration(t).style("opacity","0").remove();const b=d.enter().append("g");b.append("line").style("opacity","0"),b.merge(d).attr("class",c=>p.stanfordLine+(c.class?` ${c.class}`:"")).select("line").transition().duration(t).attr("x1",c=>s?i(c,"y1"):a(c,"x1")).attr("x2",c=>s?i(c,"y2"):a(c,"x2")).attr("y1",c=>s?a(c,"x1"):i(c,"y1")).attr("y2",c=>s?a(c,"x2"):i(c,"y2")).transition().style("opacity",null)}updateStanfordRegions(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=this.owner.countEpochsInRegion.bind(n);let b=r.select(`.${p.stanfordRegions}`).selectAll(`.${p.stanfordRegion}`).data(this.owner.config.regions);b.exit().transition().duration(t).style("opacity","0").remove();const c=b.enter().append("g");c.append("polygon").style("opacity","0"),c.append("text").attr("transform",s?"rotate(-90)":"").style("opacity","0"),b=c.merge(b),b.attr("class",l=>p.stanfordRegion+(l.class?` ${l.class}`:"")).select("polygon").transition().duration(t).attr("points",l=>l.points.map(g=>[s?i(g,"y"):a(g,"x"),s?a(g,"x"):i(g,"y")].join(",")).join(" ")).transition().style("opacity",l=>String(l.opacity?l.opacity:.2)),b.select("text").transition().duration(t).attr("x",l=>s?i(w(l.points),"y"):a(w(l.points),"x")).attr("y",l=>s?a(w(l.points),"x"):i(w(l.points),"y")).text(l=>{if(l.text){const{value:g,percentage:m}=d(l.points);return l.text(g,m)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(t=0){this.updateStanfordLines(t),this.updateStanfordRegions(t)}xvCustom(t,n){const o=this,{axis:r,config:s}=o;let a=n?t[n]:o.getBaseValue(t);return r.isTimeSeries()?a=Be.call(o,a):r.isCategorized()&&x(a)&&(a=s.axis_x_categories.indexOf(t.value)),Math.ceil(o.scale.x(a))}yvCustom(t,n){const o=this,r=t.axis&&t.axis==="y2"?o.scale.y2:o.scale.y,s=n?t[n]:o.getBaseValue(t);return Math.ceil(r(s))}}class k{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var ot=Object.defineProperty,rt=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t,n)=>rt(e,typeof t!="symbol"?t+"":t,n);class st extends G{constructor(t){return super(t),L(this,"config"),L(this,"colorScale"),L(this,"elements"),this.config=new k,this}$beforeInit(){const{$$:t}=this;t.config.data_xSort=!1,t.isMultipleX=()=>!0,t.showGridFocus=()=>{},t.labelishData=o=>o.values,t.opacityForCircle=()=>1;const n=t.getCurrentPadding.bind(t);t.getCurrentPadding=()=>{const o=n();return o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,o}}$init(){const{$$:t}=this;Xe.call(this,this.options),t.color=this.getStanfordPointColor.bind(t),this.colorScale=new Ke(this),this.elements=new nt(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),t.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(t){var n,o;(n=this.colorScale)==null||n.drawColorScale(),(o=this.elements)==null||o.updateStanfordElements(t)}getOptions(){return new k}convertData(){const t=this.$$.data.targets,n=this.options.epochs;t.forEach(o=>{o.values.forEach((r,s)=>{r.epochs=n[s]}),o.minEpochs=void 0,o.maxEpochs=void 0,o.colors=void 0,o.colorscale=void 0})}initStanfordData(){const{config:t}=this,n=this.$$.data.targets[0];n.values.sort(Ze);const o=n.values.map(r=>r.epochs);n.minEpochs=isNaN(t.scale_min)?Math.min(...o):t.scale_min,n.maxEpochs=isNaN(t.scale_max)?Math.max(...o):t.scale_max,n.colors=C(t.colors)?t.colors:(0,J.interpolateHslLong)((0,I.hsl)(250,1,.5),(0,I.hsl)(0,1,.5)),n.colorscale=(0,E.scaleSequentialLog)(n.colors).domain([n.minEpochs,n.maxEpochs])}getStanfordPointColor(t){return this.data.targets[0].colorscale(t.epochs)}setStanfordTooltip(){const{config:t}=this.$$;X(t.tooltip_contents)&&(t.tooltip_contents=function(n,o,r,s){const{data_x:a}=t;let i=``;return n.forEach(d=>{const{id:b="",value:c=0,epochs:l=0,x:g=""}=d;i+=` +`),a=o?s.length-1:1;e.html(""),s.forEach((i,d)=>{e.append("tspan").attr("x",0).attr("dy",`${d===0?n[0]*a:n[1]}em`).text(i)})}}}function Me(e){const{x:t,y:n,width:o,height:r}=e.getBBox();return[{x:t,y:n+r},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+r}]}function Ct(e){const{width:t,height:n}=e.getBoundingClientRect(),o=Me(e),r=o[0].x,s=Math.min(o[0].y,o[1].y);return{x:r,y:s,width:t,height:n}}function Ot(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let r=[0,0];try{r=d3Pointer(o||e,t)}catch(s){}return r.map(s=>isNaN(s)?0:s)}function Ie(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let r;return t&&t.type==="brush"?r=t.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Pt(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Rt(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,r=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(r):r}function Y(e,t,n,o,r){if(n>o)return-1;const s=Math.floor((n+o)/2);let{x:a,w:i=0}=e[s];return r&&(a=e[s].y,i=e[s].h),t>=a&&t<=a+i?s:t{if($(n)&&n.constructor){const o=new n.constructor;for(const r in n)o[r]=t(n[r]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>B(B({},n),o))}function De(e={},t){R(t)&&t.forEach(n=>De(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Lt=e=>e.charAt(0).toUpperCase()+e.slice(1);function jt(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const Ne=e=>[].slice.call(e);function Mt(e,t,n){const{rootSelector:o="",sheet:r}=e,a=`${o} ${(i=>i.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](a,r.cssRules.length)}function It(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(Ne(n.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${r.toString()}`)}}),t}function Dt(e){var t,n,o,r,s,a;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((o=e.scrollLeft)!=null?o:0),y:((s=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?s:0)+((a=e.scrollTop)!=null?a:0)}}function Nt(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ft(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,r,s)=>s.indexOf(o)===r);return t?n.map(o=>new Date(o)):n}function qt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function A(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return $(e)&&$(n)&&Object.keys(n).forEach(o=>{const r=n[o];$(r)?(!e[o]&&(e[o]={}),e[o]=A(e[o],r)):e[o]=R(r)?r.concat():r}),A(e,...t)}function Fe(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,r)=>o-r:(o,r)=>r-o:t&&!e.every(isNaN)?n=(o,r)=>o-r:t||(n=(o,r)=>o>r&&-1||oje(o));return n.length?O(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Fe(n,e==="min")[0]):n=void 0,n}const qe=(e,t,n=1)=>{const o=[],r=Math.max(0,Math.ceil((t-e)/n))|0;for(let s=e;s{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,r=e())=>{const s=Pe.createEvent("MouseEvent");s.initMouseEvent(o,r.bubbles,r.cancelable,v,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(s)}}})(),touch:(e,t,n)=>{const o=new Touch(A({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function Xt(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function Be(e){var t;let n;if(e instanceof Date)n=e;else if(x(e)){const{config:o,format:r}=this;n=(t=r.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else O(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Yt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Gt(e,t){const{DocumentTouch:n,matchMedia:o,navigator:r}=window;let s=!1;if(t)if(r&&"maxTouchPoints"in r)s=r.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)s=!0;else if(o!=null&&o("(pointer:coarse)").matches)s=!0;else{const i=r.userAgent;s=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(i)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(i)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||s&&"touch"||"mouse"}function Ue(e,t){t()===!1?requestAnimationFrame(()=>Ue(e,t)):e()}function Xe(e){const t=this.config;let n,o,r;const s=()=>{const a=o.shift();if(a&&n&&P(n)&&a in n)return n=n[a],s();if(!a)return n};Object.keys(t).forEach(a=>{n=e,o=a.split("_"),r=s(),U(r)&&(t[a]=r)}),this.api&&(this.state.orgConfig=e)}var Ye=Object.defineProperty,Ge=(e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t,n)=>Ge(e,typeof t!="symbol"?t+"":t,n);class G{constructor(t={}){T(this,"$$"),T(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}T(G,"version","3.12.4-nightly-20240813004629");var Ve=h(996),ke=h(390),p={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},ze=Object.defineProperty,He=(e,t,n)=>t in e?ze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>He(e,typeof t!="symbol"?t+"":t,n);class Ke{constructor(t){V(this,"owner"),V(this,"colorScale"),this.owner=t}drawColorScale(){const{$$:t,config:n}=this.owner,o=t.data.targets[0],r=t.state.height-n.padding_bottom-n.padding_top,s=n.scale_width,a=5,i=qe(n.padding_bottom,r,a),d=(0,E.scaleSequential)(o.colors).domain([i[i.length-1],i[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=t.$el.svg.append("g").attr("width",50).attr("height",r).attr("class",p.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${n.padding_top})`).selectAll("bars").data(i).enter().append("rect").attr("y",(m,at)=>at*a).attr("x",0).attr("width",s).attr("height",a).attr("fill",m=>d(m));const b=(0,E.scaleSymlog)().domain([o.minEpochs,o.maxEpochs]).range([i[0]+n.padding_top+i[i.length-1]+a-1,i[0]+n.padding_top]),c=(0,Ve.axisRight)(b),l=n.scale_format;l==="pow10"?c.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):C(l)?c.tickFormat(l):c.tickFormat((0,ke.format)("d"));const g=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${s},0)`).call(c);l==="pow10"&&g.selectAll(".tick text").text(null).filter(m=>m/Math.pow(10,Math.ceil(Math.log(m)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(m=>Math.round(Math.log(m)/Math.LN10)),this.colorScale.attr("transform",`translate(${t.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function We(e,t){const n=e.x,o=e.value;let r=!1;for(let s=0,a=t.length-1;so!=c>o&&n<(b-i)*(o-d)/(c-d)+i&&(r=!r)}return r}function Ze(e,t){return e.epochst.epochs?1:0}function Je(e){let t=0,n,o;for(let r=0,s=e.length,a=s-1;rt in e?Qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t,n)=>et(e,typeof t!="symbol"?t+"":t,n);class nt{constructor(t){tt(this,"owner"),this.owner=t;const n=t.$$.$el.main.select(".bb-chart").append("g").attr("class",p.stanfordElements);n.append("g").attr("class",p.stanfordLines),n.append("g").attr("class",p.stanfordRegions)}updateStanfordLines(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=r.select(`.${p.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${p.stanfordLine}`).data(this.owner.config.lines);d.exit().transition().duration(t).style("opacity","0").remove();const b=d.enter().append("g");b.append("line").style("opacity","0"),b.merge(d).attr("class",c=>p.stanfordLine+(c.class?` ${c.class}`:"")).select("line").transition().duration(t).attr("x1",c=>s?i(c,"y1"):a(c,"x1")).attr("x2",c=>s?i(c,"y2"):a(c,"x2")).attr("y1",c=>s?a(c,"x1"):i(c,"y1")).attr("y2",c=>s?a(c,"x2"):i(c,"y2")).transition().style("opacity",null)}updateStanfordRegions(t){const{$$:n}=this.owner,{config:o,$el:{main:r}}=n,s=o.axis_rotated,a=this.xvCustom.bind(n),i=this.yvCustom.bind(n),d=this.owner.countEpochsInRegion.bind(n);let b=r.select(`.${p.stanfordRegions}`).selectAll(`.${p.stanfordRegion}`).data(this.owner.config.regions);b.exit().transition().duration(t).style("opacity","0").remove();const c=b.enter().append("g");c.append("polygon").style("opacity","0"),c.append("text").attr("transform",s?"rotate(-90)":"").style("opacity","0"),b=c.merge(b),b.attr("class",l=>p.stanfordRegion+(l.class?` ${l.class}`:"")).select("polygon").transition().duration(t).attr("points",l=>l.points.map(g=>[s?i(g,"y"):a(g,"x"),s?a(g,"x"):i(g,"y")].join(",")).join(" ")).transition().style("opacity",l=>String(l.opacity?l.opacity:.2)),b.select("text").transition().duration(t).attr("x",l=>s?i(w(l.points),"y"):a(w(l.points),"x")).attr("y",l=>s?a(w(l.points),"x"):i(w(l.points),"y")).text(l=>{if(l.text){const{value:g,percentage:m}=d(l.points);return l.text(g,m)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(t=0){this.updateStanfordLines(t),this.updateStanfordRegions(t)}xvCustom(t,n){const o=this,{axis:r,config:s}=o;let a=n?t[n]:o.getBaseValue(t);return r.isTimeSeries()?a=Be.call(o,a):r.isCategorized()&&x(a)&&(a=s.axis_x_categories.indexOf(t.value)),Math.ceil(o.scale.x(a))}yvCustom(t,n){const o=this,r=t.axis&&t.axis==="y2"?o.scale.y2:o.scale.y,s=n?t[n]:o.getBaseValue(t);return Math.ceil(r(s))}}class k{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var ot=Object.defineProperty,rt=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t,n)=>rt(e,typeof t!="symbol"?t+"":t,n);class st extends G{constructor(t){return super(t),L(this,"config"),L(this,"colorScale"),L(this,"elements"),this.config=new k,this}$beforeInit(){const{$$:t}=this;t.config.data_xSort=!1,t.isMultipleX=()=>!0,t.showGridFocus=()=>{},t.labelishData=o=>o.values,t.opacityForCircle=()=>1;const n=t.getCurrentPadding.bind(t);t.getCurrentPadding=()=>{const o=n();return o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,o}}$init(){const{$$:t}=this;Xe.call(this,this.options),t.color=this.getStanfordPointColor.bind(t),this.colorScale=new Ke(this),this.elements=new nt(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),t.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(t){var n,o;(n=this.colorScale)==null||n.drawColorScale(),(o=this.elements)==null||o.updateStanfordElements(t)}getOptions(){return new k}convertData(){const t=this.$$.data.targets,n=this.options.epochs;t.forEach(o=>{o.values.forEach((r,s)=>{r.epochs=n[s]}),o.minEpochs=void 0,o.maxEpochs=void 0,o.colors=void 0,o.colorscale=void 0})}initStanfordData(){const{config:t}=this,n=this.$$.data.targets[0];n.values.sort(Ze);const o=n.values.map(r=>r.epochs);n.minEpochs=isNaN(t.scale_min)?Math.min(...o):t.scale_min,n.maxEpochs=isNaN(t.scale_max)?Math.max(...o):t.scale_max,n.colors=C(t.colors)?t.colors:(0,J.interpolateHslLong)((0,I.hsl)(250,1,.5),(0,I.hsl)(0,1,.5)),n.colorscale=(0,E.scaleSequentialLog)(n.colors).domain([n.minEpochs,n.maxEpochs])}getStanfordPointColor(t){return this.data.targets[0].colorscale(t.epochs)}setStanfordTooltip(){const{config:t}=this.$$;X(t.tooltip_contents)&&(t.tooltip_contents=function(n,o,r,s){const{data_x:a}=t;let i=`
`;return n.forEach(d=>{const{id:b="",value:c=0,epochs:l=0,x:g=""}=d;i+=` diff --git a/dist/plugin/billboardjs-plugin-tableview.js b/dist/plugin/billboardjs-plugin-tableview.js index 8c55e22bd..b5eef2b6e 100644 --- a/dist/plugin/billboardjs-plugin-tableview.js +++ b/dist/plugin/billboardjs-plugin-tableview.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -596,7 +596,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/tableview/const.ts diff --git a/dist/plugin/billboardjs-plugin-tableview.min.js b/dist/plugin/billboardjs-plugin-tableview.min.js index 23dd45422..4a8be21fc 100644 --- a/dist/plugin/billboardjs-plugin-tableview.min.js +++ b/dist/plugin/billboardjs-plugin-tableview.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(c,u){typeof exports=="object"&&typeof module=="object"?module.exports=u(require("d3-brush"),require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-brush","d3-selection"],u):typeof exports=="object"?exports.bb=u(require("d3-brush"),require("d3-selection")):(c.bb=c.bb||{},c.bb.plugin=c.bb.plugin||{},c.bb.plugin.tableview=u(c.d3,c.d3))})(this,function(j,c){return function(){"use strict";var u={853:function(e){e.exports=j},747:function(e){e.exports=c}},C={};function a(e){var t=C[e];if(t!==void 0)return t.exports;var n=C[e]={exports:{}};return u[e](n,n.exports,a),n.exports}(function(){a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var p={};a.d(p,{default:function(){return fe}});var he=a(853),be=a(747);function R(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function q(e){const t=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",n=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",o=r=>setTimeout(r,1),i=r=>clearTimeout(r);return[t?e.requestAnimationFrame:o,t?e.cancelAnimationFrame:i,n?e.requestIdleCallback:o,n?e.cancelIdleCallback:i]}const m=R(),V=m==null?void 0:m.document,[pe,me,ge,_e]=q(m);var L=Object.defineProperty,S=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,M=(e,t,n)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t||(t={}))U.call(t,n)&&M(e,n,t[n]);if(S)for(var n of S(t))z.call(t,n)&&M(e,n,t[n]);return e};const ve=e=>e||e===0,X=e=>typeof e=="function",g=e=>typeof e=="string",_=e=>typeof e=="number",Y=e=>typeof e=="undefined",A=e=>typeof e!="undefined",ye=e=>typeof e=="boolean",we=e=>Math.ceil(e/10)*10,Oe=e=>Math.ceil(e)+.5,xe=e=>e[1]-e[0],O=e=>typeof e=="object",H=e=>Y(e)||e===null||g(e)&&e.length===0||O(e)&&!(e instanceof Date)&&Object.keys(e).length===0||_(e)&&isNaN(e),k=e=>!H(e),x=e=>Array.isArray(e),v=e=>e&&!(e!=null&&e.nodeType)&&O(e)&&!x(e);function Ee(e,t,n){return A(e[t])?e[t]:n}function Pe(e,t){let n=!1;return Object.keys(e).forEach(o=>e[o]===t&&(n=!0)),n}function $e(e,t,...n){const o=X(e);return o&&e.call(t,...n),o}function Te(e,t){let n=0;const o=function(...i){!--n&&t.apply(this,...i)};"duration"in e?e.each(()=>++n).on("end",o):(++n,e.call(o))}function je(e){return g(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Ce(e,t,n=[-1,1],o=!1){if(!(!e||!g(t)))if(t.indexOf(` `)===-1)e.text(t);else{const i=[e.text(),t].map(r=>r.replace(/[\s\n]/g,""));if(i[0]!==i[1]){const r=t.split(` -`),l=o?r.length-1:1;e.html(""),r.forEach((s,T)=>{e.append("tspan").attr("x",0).attr("dy",`${T===0?n[0]*l:n[1]}em`).text(s)})}}}function G(e){const{x:t,y:n,width:o,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+i}]}function Se(e){const{width:t,height:n}=e.getBoundingClientRect(),o=G(e),i=o[0].x,r=Math.min(o[0].y,o[1].y);return{x:i,y:r,width:t,height:n}}function Me(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(o||e,t)}catch(r){}return i.map(r=>isNaN(r)?0:r)}function K(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:o&&(i=o.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function De(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ae(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,i=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function N(e,t,n,o,i){if(n>o)return-1;const r=Math.floor((n+o)/2);let{x:l,w:s=0}=e[r];return i&&(l=e[r].y,s=e[r].h),t>=l&&t<=l+s?r:t{if(v(n)&&n.constructor){const o=new n.constructor;for(const i in n)o[i]=t(n[i]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>D(D({},n),o))}function W(e={},t){x(t)&&t.forEach(n=>W(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Fe=e=>e.charAt(0).toUpperCase()+e.slice(1);function Be(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const J=e=>[].slice.call(e);function Re(e,t,n){const{rootSelector:o="",sheet:i}=e,l=`${o} ${(s=>s.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](l,i.cssRules.length)}function qe(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(J(n.cssRules)))}catch(i){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function Ve(e){var t,n,o,i,r,l;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((o=e.scrollLeft)!=null?o:0),y:((r=(i=window.pageYOffset)!=null?i:window.scrollY)!=null?r:0)+((l=e.scrollTop)!=null?l:0)}}function Le(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ue(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,i,r)=>r.indexOf(o)===i);return t?n.map(o=>new Date(o)):n}function ze(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function E(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(o=>{const i=n[o];v(i)?(!e[o]&&(e[o]={}),e[o]=E(e[o],i)):e[o]=x(i)?i.concat():i}),E(e,...t)}function Q(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,i)=>o-i:(o,i)=>i-o:t&&!e.every(isNaN)?n=(o,i)=>o-i:t||(n=(o,i)=>o>i&&-1||ok(o));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Q(n,e==="min")[0]):n=void 0,n}const Ye=(e,t,n=1)=>{const o=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let r=e;r{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,i=e())=>{const r=V.createEvent("MouseEvent");r.initMouseEvent(o,i.bubbles,i.cancelable,m,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}}})(),touch:(e,t,n)=>{const o=new Touch(E({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function y(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function ke(e){var t;let n;if(e instanceof Date)n=e;else if(g(e)){const{config:o,format:i}=this;n=(t=i.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Ge(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Ke(e,t){const{DocumentTouch:n,matchMedia:o,navigator:i}=window;let r=!1;if(t)if(i&&"maxTouchPoints"in i)r=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)r=!0;else if(o!=null&&o("(pointer:coarse)").matches)r=!0;else{const s=i.userAgent;r=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(s)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(s)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||r&&"touch"||"mouse"}function Z(e,t){t()===!1?requestAnimationFrame(()=>Z(e,t)):e()}function ee(e){const t=this.config;let n,o,i;const r=()=>{const l=o.shift();if(l&&n&&O(n)&&l in n)return n=n[l],r();if(!l)return n};Object.keys(t).forEach(l=>{n=e,o=l.split("_"),i=r(),A(i)&&(t[l]=i)}),this.api&&(this.state.orgConfig=e)}var te=Object.defineProperty,ne=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t,n)=>ne(e,typeof t!="symbol"?t+"":t,n);class I{constructor(t={}){P(this,"$$"),P(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}P(I,"version","3.12.4-nightly-20240809004639");const f={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { +`),l=o?r.length-1:1;e.html(""),r.forEach((s,T)=>{e.append("tspan").attr("x",0).attr("dy",`${T===0?n[0]*l:n[1]}em`).text(s)})}}}function G(e){const{x:t,y:n,width:o,height:i}=e.getBBox();return[{x:t,y:n+i},{x:t,y:n},{x:t+o,y:n},{x:t+o,y:n+i}]}function Se(e){const{width:t,height:n}=e.getBoundingClientRect(),o=G(e),i=o[0].x,r=Math.min(o[0].y,o[1].y);return{x:i,y:r,width:t,height:n}}function Me(e,t){var n;const o=e&&((n=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:n[0]);let i=[0,0];try{i=d3Pointer(o||e,t)}catch(r){}return i.map(r=>isNaN(r)?0:r)}function K(e){const{event:t,$el:n}=e,o=n.subchart.main||n.main;let i;return t&&t.type==="brush"?i=t.selection:o&&(i=o.select(".bb-brush").node())&&(i=d3BrushSelection(i)),i}function De(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ae(e=!0,t=0,n=1e4){const o=window.crypto||window.msCrypto,i=o?t+o.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(i):i}function N(e,t,n,o,i){if(n>o)return-1;const r=Math.floor((n+o)/2);let{x:l,w:s=0}=e[r];return i&&(l=e[r].y,s=e[r].h),t>=l&&t<=l+s?r:t{if(v(n)&&n.constructor){const o=new n.constructor;for(const i in n)o[i]=t(n[i]);return o}return n};return e.map(n=>t(n)).reduce((n,o)=>D(D({},n),o))}function W(e={},t){x(t)&&t.forEach(n=>W(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Fe=e=>e.charAt(0).toUpperCase()+e.slice(1);function Be(e,t="-"){return e.split(t).map((n,o)=>o?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()).join("")}const J=e=>[].slice.call(e);function Re(e,t,n){const{rootSelector:o="",sheet:i}=e,l=`${o} ${(s=>s.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return i[i.insertRule?"insertRule":"addRule"](l,i.cssRules.length)}function qe(e){let t=[];return e.forEach(n=>{var o;try{n.cssRules&&n.cssRules.length&&(t=t.concat(J(n.cssRules)))}catch(i){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${i.toString()}`)}}),t}function Ve(e){var t,n,o,i,r,l;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((o=e.scrollLeft)!=null?o:0),y:((r=(i=window.pageYOffset)!=null?i:window.scrollY)!=null?r:0)+((l=e.scrollTop)!=null?l:0)}}function Le(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ue(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,i,r)=>r.indexOf(o)===i);return t?n.map(o=>new Date(o)):n}function ze(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function E(e,...t){if(!t.length||t.length===1&&!t[0])return e;const n=t.shift();return v(e)&&v(n)&&Object.keys(n).forEach(o=>{const i=n[o];v(i)?(!e[o]&&(e[o]={}),e[o]=E(e[o],i)):e[o]=x(i)?i.concat():i}),E(e,...t)}function Q(e,t=!0){let n;return e[0]instanceof Date?n=t?(o,i)=>o-i:(o,i)=>i-o:t&&!e.every(isNaN)?n=(o,i)=>o-i:t||(n=(o,i)=>o>i&&-1||ok(o));return n.length?_(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Q(n,e==="min")[0]):n=void 0,n}const Ye=(e,t,n=1)=>{const o=[],i=Math.max(0,Math.ceil((t-e)/n))|0;for(let r=e;r{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,i=e())=>{const r=V.createEvent("MouseEvent");r.initMouseEvent(o,i.bubbles,i.cancelable,m,0,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(r)}}})(),touch:(e,t,n)=>{const o=new Touch(E({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function y(e,t){let n=e;for(const o in t)n=n.replace(new RegExp(`{=${o}}`,"g"),t[o]);return n}function ke(e){var t;let n;if(e instanceof Date)n=e;else if(g(e)){const{config:o,format:i}=this;n=(t=i.dataTime(o.data_xFormat)(e))!=null?t:new Date(e)}else _(e)&&!isNaN(e)&&(n=new Date(+e));return(!n||isNaN(+n))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function Ge(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Ke(e,t){const{DocumentTouch:n,matchMedia:o,navigator:i}=window;let r=!1;if(t)if(i&&"maxTouchPoints"in i)r=i.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)r=!0;else if(o!=null&&o("(pointer:coarse)").matches)r=!0;else{const s=i.userAgent;r=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(s)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(s)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||r&&"touch"||"mouse"}function Z(e,t){t()===!1?requestAnimationFrame(()=>Z(e,t)):e()}function ee(e){const t=this.config;let n,o,i;const r=()=>{const l=o.shift();if(l&&n&&O(n)&&l in n)return n=n[l],r();if(!l)return n};Object.keys(t).forEach(l=>{n=e,o=l.split("_"),i=r(),A(i)&&(t[l]=i)}),this.api&&(this.state.orgConfig=e)}var te=Object.defineProperty,ne=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t,n)=>ne(e,typeof t!="symbol"?t+"":t,n);class I{constructor(t={}){P(this,"$$"),P(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}P(I,"version","3.12.4-nightly-20240813004629");const f={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { border-collapse:collapse; border-spacing:0; background:#fff; diff --git a/dist/plugin/billboardjs-plugin-textoverlap.js b/dist/plugin/billboardjs-plugin-textoverlap.js index b67f10bbf..9c8f20dad 100644 --- a/dist/plugin/billboardjs-plugin-textoverlap.js +++ b/dist/plugin/billboardjs-plugin-textoverlap.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -615,7 +615,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts class Options { diff --git a/dist/plugin/billboardjs-plugin-textoverlap.min.js b/dist/plugin/billboardjs-plugin-textoverlap.min.js index 6ab0b3d67..e9bebea6d 100644 --- a/dist/plugin/billboardjs-plugin-textoverlap.min.js +++ b/dist/plugin/billboardjs-plugin-textoverlap.min.js @@ -5,9 +5,9 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(l,u){typeof exports=="object"&&typeof module=="object"?module.exports=u(require("d3-delaunay"),require("d3-polygon"),require("d3-brush"),require("d3-selection")):typeof define=="function"&&define.amd?define("bb",["d3-delaunay","d3-polygon","d3-brush","d3-selection"],u):typeof exports=="object"?exports.bb=u(require("d3-delaunay"),require("d3-polygon"),require("d3-brush"),require("d3-selection")):(l.bb=l.bb||{},l.bb.plugin=l.bb.plugin||{},l.bb.plugin.textoverlap=u(l.d3,l.d3,l.d3,l.d3))})(this,function(w,l,u,C){return function(){"use strict";var D={853:function(e){e.exports=u},348:function(e){e.exports=w},263:function(e){e.exports=l},747:function(e){e.exports=C}},O={};function a(e){var n=O[e];if(n!==void 0)return n.exports;var t=O[e]={exports:{}};return D[e](t,t.exports,a),t.exports}(function(){a.d=function(e,n){for(var t in n)a.o(n,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}})(),function(){a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}();var d={};a.d(d,{default:function(){return oe}});var q=a(348),P=a(263),fe=a(853),de=a(747);function R(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function F(e){const n=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",t=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",o=i=>setTimeout(i,1),r=i=>clearTimeout(i);return[n?e.requestAnimationFrame:o,n?e.cancelAnimationFrame:r,t?e.requestIdleCallback:o,t?e.cancelIdleCallback:r]}const p=R(),I=p==null?void 0:p.document,[pe,he,be,me]=F(p);var S=Object.defineProperty,E=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,$=(e,n,t)=>n in e?S(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,j=(e,n)=>{for(var t in n||(n={}))B.call(n,t)&&$(e,t,n[t]);if(E)for(var t of E(n))N.call(n,t)&&$(e,t,n[t]);return e};const _e=e=>e||e===0,V=e=>typeof e=="function",h=e=>typeof e=="string",m=e=>typeof e=="number",U=e=>typeof e=="undefined",A=e=>typeof e!="undefined",ge=e=>typeof e=="boolean",ye=e=>Math.ceil(e/10)*10,ve=e=>Math.ceil(e)+.5,xe=e=>e[1]-e[0],_=e=>typeof e=="object",X=e=>U(e)||e===null||h(e)&&e.length===0||_(e)&&!(e instanceof Date)&&Object.keys(e).length===0||m(e)&&isNaN(e),Y=e=>!X(e),g=e=>Array.isArray(e),b=e=>e&&!(e!=null&&e.nodeType)&&_(e)&&!g(e);function we(e,n,t){return A(e[n])?e[n]:t}function Oe(e,n){let t=!1;return Object.keys(e).forEach(o=>e[o]===n&&(t=!0)),t}function Pe(e,n,...t){const o=V(e);return o&&e.call(n,...t),o}function Ee(e,n){let t=0;const o=function(...r){!--t&&n.apply(this,...r)};"duration"in e?e.each(()=>++t).on("end",o):(++t,e.call(o))}function $e(e){return h(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function je(e,n,t=[-1,1],o=!1){if(!(!e||!h(n)))if(n.indexOf(` `)===-1)e.text(n);else{const r=[e.text(),n].map(i=>i.replace(/[\s\n]/g,""));if(r[0]!==r[1]){const i=n.split(` -`),s=o?i.length-1:1;e.html(""),i.forEach((c,x)=>{e.append("tspan").attr("x",0).attr("dy",`${x===0?t[0]*s:t[1]}em`).text(c)})}}}function L(e){const{x:n,y:t,width:o,height:r}=e.getBBox();return[{x:n,y:t+r},{x:n,y:t},{x:n+o,y:t},{x:n+o,y:t+r}]}function Ae(e){const{width:n,height:t}=e.getBoundingClientRect(),o=L(e),r=o[0].x,i=Math.min(o[0].y,o[1].y);return{x:r,y:i,width:n,height:t}}function Me(e,n){var t;const o=e&&((t=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:t[0]);let r=[0,0];try{r=d3Pointer(o||e,n)}catch(i){}return r.map(i=>isNaN(i)?0:i)}function z(e){const{event:n,$el:t}=e,o=t.subchart.main||t.main;let r;return n&&n.type==="brush"?r=n.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Te(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ce(e=!0,n=0,t=1e4){const o=window.crypto||window.msCrypto,r=o?n+o.getRandomValues(new Uint32Array(1))[0]%(t-n+1):Math.floor(Math.random()*(t-n)+n);return e?String(r):r}function M(e,n,t,o,r){if(t>o)return-1;const i=Math.floor((t+o)/2);let{x:s,w:c=0}=e[i];return r&&(s=e[i].y,c=e[i].h),n>=s&&n<=s+c?i:n{if(b(t)&&t.constructor){const o=new t.constructor;for(const r in t)o[r]=n(t[r]);return o}return t};return e.map(t=>n(t)).reduce((t,o)=>j(j({},t),o))}function G(e={},n){g(n)&&n.forEach(t=>G(e,t));for(const t in n)/^\d+$/.test(t)||t in e||(e[t]=n[t]);return e}const Re=e=>e.charAt(0).toUpperCase()+e.slice(1);function Fe(e,n="-"){return e.split(n).map((t,o)=>o?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()).join("")}const H=e=>[].slice.call(e);function Ie(e,n,t){const{rootSelector:o="",sheet:r}=e,s=`${o} ${(c=>c.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(n)} {${t.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](s,r.cssRules.length)}function Se(e){let n=[];return e.forEach(t=>{var o;try{t.cssRules&&t.cssRules.length&&(n=n.concat(H(t.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${t.href}: ${r.toString()}`)}}),n}function Be(e){var n,t,o,r,i,s;return{x:((t=(n=window.pageXOffset)!=null?n:window.scrollX)!=null?t:0)+((o=e.scrollLeft)!=null?o:0),y:((i=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?i:0)+((s=e.scrollTop)!=null?s:0)}}function Ne(e){const n=e?e.transform:null,t=n&&n.baseVal;return t&&t.numberOfItems?t.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ve(e){const n=e[0]instanceof Date,t=(n?e.map(Number):e).filter((o,r,i)=>i.indexOf(o)===r);return n?t.map(o=>new Date(o)):t}function Ue(e){return e&&e.length?e.reduce((n,t)=>n.concat(t)):[]}function y(e,...n){if(!n.length||n.length===1&&!n[0])return e;const t=n.shift();return b(e)&&b(t)&&Object.keys(t).forEach(o=>{const r=t[o];b(r)?(!e[o]&&(e[o]={}),e[o]=y(e[o],r)):e[o]=g(r)?r.concat():r}),y(e,...n)}function K(e,n=!0){let t;return e[0]instanceof Date?t=n?(o,r)=>o-r:(o,r)=>r-o:n&&!e.every(isNaN)?t=(o,r)=>o-r:n||(t=(o,r)=>o>r&&-1||oY(o));return t.length?m(t[0])?t=Math[e](...t):t[0]instanceof Date&&(t=K(t,e==="min")[0]):t=void 0,t}const Ye=(e,n,t=1)=>{const o=[],r=Math.max(0,Math.ceil((n-e)/t))|0;for(let i=e;i{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(n,t,o=e())=>{n.dispatchEvent(new MouseEvent(t,o))}}catch(n){return(t,o,r=e())=>{const i=I.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,p,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}})(),touch:(e,n,t)=>{const o=new Touch(y({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},t));e.dispatchEvent(new TouchEvent(n,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function ze(e,n){let t=e;for(const o in n)t=t.replace(new RegExp(`{=${o}}`,"g"),n[o]);return t}function Ge(e){var n;let t;if(e instanceof Date)t=e;else if(h(e)){const{config:o,format:r}=this;t=(n=r.dataTime(o.data_xFormat)(e))!=null?n:new Date(e)}else m(e)&&!isNaN(e)&&(t=new Date(+e));return(!t||isNaN(+t))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),t}function He(){var e,n;return((e=document)==null?void 0:e.hidden)===!1||((n=document)==null?void 0:n.visibilityState)==="visible"}function Ke(e,n){const{DocumentTouch:t,matchMedia:o,navigator:r}=window;let i=!1;if(n)if(r&&"maxTouchPoints"in r)i=r.maxTouchPoints>0;else if("ontouchmove"in window||t&&document instanceof t)i=!0;else if(o!=null&&o("(pointer:coarse)").matches)i=!0;else{const c=r.userAgent;i=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(c)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(c)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||i&&"touch"||"mouse"}function W(e,n){n()===!1?requestAnimationFrame(()=>W(e,n)):e()}function k(e){const n=this.config;let t,o,r;const i=()=>{const s=o.shift();if(s&&t&&_(t)&&s in t)return t=t[s],i();if(!s)return t};Object.keys(n).forEach(s=>{t=e,o=s.split("_"),r=i(),A(r)&&(n[s]=r)}),this.api&&(this.state.orgConfig=e)}var J=Object.defineProperty,Q=(e,n,t)=>n in e?J(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,v=(e,n,t)=>Q(e,typeof n!="symbol"?n+"":n,t);class T{constructor(n={}){v(this,"$$"),v(this,"options"),this.options=n}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(n=>{this[n]=null,delete this[n]})}}v(T,"version","3.12.4-nightly-20240809004639");class Z{constructor(){return{selector:void 0,extent:1,area:0}}}var ee=Object.defineProperty,te=(e,n,t)=>n in e?ee(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ne=(e,n,t)=>te(e,typeof n!="symbol"?n+"":n,t);class oe extends T{constructor(n){return super(n),ne(this,"config"),this.config=new Z,this}$init(){k.call(this,this.options)}$redraw(){const{$$:{$el:n},config:{selector:t}}=this,o=t?n.main.selectAll(t):n.text;!o.empty()&&this.preventLabelOverlap(o)}generateVoronoi(n){const{$$:t}=this,{scale:o}=t,[r,i]=["x","y"].map(s=>o[s].domain());return[r[1],i[0]]=[i[0],r[1]],q.Delaunay.from(n).voronoi([...r,...i])}preventLabelOverlap(n){const{extent:t,area:o}=this.config,r=n.data().map(c=>[c.index,c.value]),i=this.generateVoronoi(r);let s=0;n.each(function(){const c=i.cellPolygon(s);if(c&&this){const[x,re]=r[s],[ie,se]=(0,P.polygonCentroid)(c),ce=Math.abs((0,P.polygonArea)(c)),f=Math.round(Math.atan2(se-re,ie-x)/Math.PI*2),le=t*(f===0?1:-1),ae=f===-1?-t:t+5,ue=Math.abs(f)===1?"middle":f===0?"start":"end";this.style.display=ce{e.append("tspan").attr("x",0).attr("dy",`${x===0?t[0]*s:t[1]}em`).text(c)})}}}function L(e){const{x:n,y:t,width:o,height:r}=e.getBBox();return[{x:n,y:t+r},{x:n,y:t},{x:n+o,y:t},{x:n+o,y:t+r}]}function Ae(e){const{width:n,height:t}=e.getBoundingClientRect(),o=L(e),r=o[0].x,i=Math.min(o[0].y,o[1].y);return{x:r,y:i,width:n,height:t}}function Me(e,n){var t;const o=e&&((t=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:t[0]);let r=[0,0];try{r=d3Pointer(o||e,n)}catch(i){}return r.map(i=>isNaN(i)?0:i)}function z(e){const{event:n,$el:t}=e,o=t.subchart.main||t.main;let r;return n&&n.type==="brush"?r=n.selection:o&&(r=o.select(".bb-brush").node())&&(r=d3BrushSelection(r)),r}function Te(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ce(e=!0,n=0,t=1e4){const o=window.crypto||window.msCrypto,r=o?n+o.getRandomValues(new Uint32Array(1))[0]%(t-n+1):Math.floor(Math.random()*(t-n)+n);return e?String(r):r}function M(e,n,t,o,r){if(t>o)return-1;const i=Math.floor((t+o)/2);let{x:s,w:c=0}=e[i];return r&&(s=e[i].y,c=e[i].h),n>=s&&n<=s+c?i:n{if(b(t)&&t.constructor){const o=new t.constructor;for(const r in t)o[r]=n(t[r]);return o}return t};return e.map(t=>n(t)).reduce((t,o)=>j(j({},t),o))}function G(e={},n){g(n)&&n.forEach(t=>G(e,t));for(const t in n)/^\d+$/.test(t)||t in e||(e[t]=n[t]);return e}const Re=e=>e.charAt(0).toUpperCase()+e.slice(1);function Fe(e,n="-"){return e.split(n).map((t,o)=>o?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()).join("")}const H=e=>[].slice.call(e);function Ie(e,n,t){const{rootSelector:o="",sheet:r}=e,s=`${o} ${(c=>c.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(n)} {${t.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](s,r.cssRules.length)}function Se(e){let n=[];return e.forEach(t=>{var o;try{t.cssRules&&t.cssRules.length&&(n=n.concat(H(t.cssRules)))}catch(r){(o=window.console)==null||o.warn(`Error while reading rules from ${t.href}: ${r.toString()}`)}}),n}function Be(e){var n,t,o,r,i,s;return{x:((t=(n=window.pageXOffset)!=null?n:window.scrollX)!=null?t:0)+((o=e.scrollLeft)!=null?o:0),y:((i=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?i:0)+((s=e.scrollTop)!=null?s:0)}}function Ne(e){const n=e?e.transform:null,t=n&&n.baseVal;return t&&t.numberOfItems?t.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Ve(e){const n=e[0]instanceof Date,t=(n?e.map(Number):e).filter((o,r,i)=>i.indexOf(o)===r);return n?t.map(o=>new Date(o)):t}function Ue(e){return e&&e.length?e.reduce((n,t)=>n.concat(t)):[]}function y(e,...n){if(!n.length||n.length===1&&!n[0])return e;const t=n.shift();return b(e)&&b(t)&&Object.keys(t).forEach(o=>{const r=t[o];b(r)?(!e[o]&&(e[o]={}),e[o]=y(e[o],r)):e[o]=g(r)?r.concat():r}),y(e,...n)}function K(e,n=!0){let t;return e[0]instanceof Date?t=n?(o,r)=>o-r:(o,r)=>r-o:n&&!e.every(isNaN)?t=(o,r)=>o-r:n||(t=(o,r)=>o>r&&-1||oY(o));return t.length?m(t[0])?t=Math[e](...t):t[0]instanceof Date&&(t=K(t,e==="min")[0]):t=void 0,t}const Ye=(e,n,t=1)=>{const o=[],r=Math.max(0,Math.ceil((n-e)/t))|0;for(let i=e;i{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(n,t,o=e())=>{n.dispatchEvent(new MouseEvent(t,o))}}catch(n){return(t,o,r=e())=>{const i=I.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,p,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.dispatchEvent(i)}}})(),touch:(e,n,t)=>{const o=new Touch(y({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},t));e.dispatchEvent(new TouchEvent(n,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[o],targetTouches:[],changedTouches:[o]}))}};function ze(e,n){let t=e;for(const o in n)t=t.replace(new RegExp(`{=${o}}`,"g"),n[o]);return t}function Ge(e){var n;let t;if(e instanceof Date)t=e;else if(h(e)){const{config:o,format:r}=this;t=(n=r.dataTime(o.data_xFormat)(e))!=null?n:new Date(e)}else m(e)&&!isNaN(e)&&(t=new Date(+e));return(!t||isNaN(+t))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),t}function He(){var e,n;return((e=document)==null?void 0:e.hidden)===!1||((n=document)==null?void 0:n.visibilityState)==="visible"}function Ke(e,n){const{DocumentTouch:t,matchMedia:o,navigator:r}=window;let i=!1;if(n)if(r&&"maxTouchPoints"in r)i=r.maxTouchPoints>0;else if("ontouchmove"in window||t&&document instanceof t)i=!0;else if(o!=null&&o("(pointer:coarse)").matches)i=!0;else{const c=r.userAgent;i=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(c)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(c)}return e&&((o==null?void 0:o("any-hover:hover").matches)||(o==null?void 0:o("any-pointer:fine").matches))&&"mouse"||i&&"touch"||"mouse"}function W(e,n){n()===!1?requestAnimationFrame(()=>W(e,n)):e()}function k(e){const n=this.config;let t,o,r;const i=()=>{const s=o.shift();if(s&&t&&_(t)&&s in t)return t=t[s],i();if(!s)return t};Object.keys(n).forEach(s=>{t=e,o=s.split("_"),r=i(),A(r)&&(n[s]=r)}),this.api&&(this.state.orgConfig=e)}var J=Object.defineProperty,Q=(e,n,t)=>n in e?J(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,v=(e,n,t)=>Q(e,typeof n!="symbol"?n+"":n,t);class T{constructor(n={}){v(this,"$$"),v(this,"options"),this.options=n}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(n=>{this[n]=null,delete this[n]})}}v(T,"version","3.12.4-nightly-20240813004629");class Z{constructor(){return{selector:void 0,extent:1,area:0}}}var ee=Object.defineProperty,te=(e,n,t)=>n in e?ee(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ne=(e,n,t)=>te(e,typeof n!="symbol"?n+"":n,t);class oe extends T{constructor(n){return super(n),ne(this,"config"),this.config=new Z,this}$init(){k.call(this,this.options)}$redraw(){const{$$:{$el:n},config:{selector:t}}=this,o=t?n.main.selectAll(t):n.text;!o.empty()&&this.preventLabelOverlap(o)}generateVoronoi(n){const{$$:t}=this,{scale:o}=t,[r,i]=["x","y"].map(s=>o[s].domain());return[r[1],i[0]]=[i[0],r[1]],q.Delaunay.from(n).voronoi([...r,...i])}preventLabelOverlap(n){const{extent:t,area:o}=this.config,r=n.data().map(c=>[c.index,c.value]),i=this.generateVoronoi(r);let s=0;n.each(function(){const c=i.cellPolygon(s);if(c&&this){const[x,re]=r[s],[ie,se]=(0,P.polygonCentroid)(c),ce=Math.abs((0,P.polygonArea)(c)),f=Math.round(Math.atan2(se-re,ie-x)/Math.PI*2),le=t*(f===0?1:-1),ae=f===-1?-t:t+5,ue=Math.abs(f)===1?"middle":f===0?"start":"end";this.style.display=ce=Mr&&(Mr=Rr+1);!(Br=$r[Mr])&&++Mr=0;)(Et=it[_])&&(dt&&Et.compareDocumentPosition(dt)^4&&dt.parentNode.insertBefore(Et,dt),dt=Et);return this}function Y(R){R||(R=H);function M(tr,sr){return tr&&sr?R(tr.__data__,sr.__data__):!tr-!sr}for(var Z=this._groups,it=Z.length,_=new Array(it),dt=0;dtM?1:R>=M?0:NaN}function Q(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function X(){return Array.from(this)}function st(){for(var R=this._groups,M=0,Z=R.length;M=0&&(M=R.slice(0,Z))!=="xmlns"&&(R=R.slice(Z+1)),Lt.hasOwnProperty(M)?{space:Lt[M],local:R}:R}function Pt(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function vt(R,M){return function(){this.setAttribute(R,M)}}function St(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Rt(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttribute(R):this.setAttribute(R,Z)}}function It(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,Z)}}function Nt(R,M){var Z=Ft(R);if(arguments.length<2){var it=this.node();return Z.local?it.getAttributeNS(Z.space,Z.local):it.getAttribute(Z)}return this.each((M==null?Z.local?at:Pt:typeof M=="function"?Z.local?It:Rt:Z.local?St:vt)(Z,M))}function Ht(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Wt(R){return function(){this.style.removeProperty(R)}}function bt(R,M,Z){return function(){this.style.setProperty(R,M,Z)}}function Ct(R,M,Z){return function(){var it=M.apply(this,arguments);it==null?this.style.removeProperty(R):this.style.setProperty(R,it,Z)}}function Vt(R,M,Z){return arguments.length>1?this.each((M==null?Wt:typeof M=="function"?Ct:bt)(R,M,Z==null?"":Z)):$t(this.node(),R)}function $t(R,M){return R.style.getPropertyValue(M)||Ht(R).getComputedStyle(R,null).getPropertyValue(M)}function Mt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function ut(R,M){return function(){var Z=M.apply(this,arguments);Z==null?delete this[R]:this[R]=Z}}function J(R,M){return arguments.length>1?this.each((M==null?Mt:typeof M=="function"?ut:q)(R,M)):this.node()[R]}function yt(R){return R.trim().split(/^|\s+/)}function pt(R){return R.classList||new ct(R)}function ct(R){this._node=R,this._names=yt(R.getAttribute("class")||"")}ct.prototype={add:function(R){var M=this._names.indexOf(R);M<0&&(this._names.push(R),this._node.setAttribute("class",this._names.join(" ")))},remove:function(R){var M=this._names.indexOf(R);M>=0&&(this._names.splice(M,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(R){return this._names.indexOf(R)>=0}};function ft(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.add(M[it])}function zt(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.remove(M[it])}function Yt(R){return function(){ft(this,R)}}function W(R){return function(){zt(this,R)}}function k(R,M){return function(){(M.apply(this,arguments)?ft:zt)(this,R)}}function tt(R,M){var Z=yt(R+"");if(arguments.length<2){for(var it=pt(this.node()),_=-1,dt=Z.length;++_=0&&(Z=M.slice(it+1),M=M.slice(0,it)),{type:M,name:Z}})}function kt(R){return function(){var M=this.__on;if(M){for(var Z=0,it=-1,_=M.length,dt;Z<_;++Z)dt=M[Z],(!R.type||dt.type===R.type)&&dt.name===R.name?this.removeEventListener(dt.type,dt.listener,dt.options):M[++it]=dt;++it?M.length=it:delete this.__on}}}function qt(R,M,Z){return function(){var it=this.__on,_,dt=Er(M);if(it){for(var Et=0,Tt=it.length;EtM in R?_t(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Jt=(R,M,Z)=>rt(R,typeof M!="symbol"?M+"":M,Z);class er{constructor(M={}){Jt(this,"$$"),Jt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}Jt(er,"version","3.12.4-nightly-20240809004639");var Tr=Object.defineProperty,Nr=(R,M,Z)=>M in R?Tr(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Ir=(R,M,Z)=>Nr(R,typeof M!="symbol"?M+"":M,Z);const yr=class jr extends er{constructor(M){return super(M),Ir(this,"$$"),this}$init(){const{$$:M}=this;M.findClosest=this.findClosest.bind(this),M.getBubbleR=this.getBubbleR.bind(this),M.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(M){const Z=this.getBubbleR(M),{expandScale:it=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),Z*it}static raiseFocusedBubbleLayer(M){M.raise&&wt(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,Z){const{$$:it}=this;return M.filter(_=>_&&!it.isBarType(_.id)).reduce((_,dt)=>it.dist(dt,Z){const tr=this.getZData(Kt.values[0]);return[Math.min(Dt,tr),Math.max(Gt,tr)]},[1e4,0]),Tt=dt>0&&Et===dt?0:_/Et;return Math.abs(Tt)*(it-Z)+Z}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Ir(yr,"version","0.0.1");let br=yr},85156:function(s,l,t){var r=t(23583),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},80042:function(s,l,t){var r=t(11051),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},53408:function(s,l,t){var r=t(52427),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},76602:function(s,l,t){var r=t(172).has;s.exports=function(n){return r(n),n}},23811:function(s,l,t){var r=t(18565),n=t(5406),e=t(7831).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),s.exports=function(u){o[a][u]=!0}},24487:function(s,l,t){var r=t(22149).charAt;s.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},12833:function(s,l,t){var r=t(95307),n=TypeError;s.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},25001:function(s,l,t){var r=t(37540),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},3237:function(s){s.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(s,l,t){var r=t(34246),n=t(84756),e=t(14274),a=r.ArrayBuffer,o=r.TypeError;s.exports=a&&n(a.prototype,"byteLength","get")||function(u){if(e(u)!=="ArrayBuffer")throw new o("ArrayBuffer expected");return u.byteLength}},30736:function(s,l,t){var r=t(34246),n=t(77422),e=t(58360),a=r.ArrayBuffer,o=a&&a.prototype,u=o&&n(o.slice);s.exports=function(i){if(e(i)!==0||!u)return!1;try{return u(i,0,0),!1}catch(v){return!0}}},72058:function(s,l,t){var r=t(72069);s.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},83843:function(s,l,t){var r=t(30736),n=TypeError;s.exports=function(e){if(r(e))throw new n("ArrayBuffer is detached");return e}},65006:function(s,l,t){var r=t(34246),n=t(11286),e=t(84756),a=t(9450),o=t(83843),u=t(58360),i=t(63741),v=t(99050),f=r.structuredClone,c=r.ArrayBuffer,d=r.DataView,h=Math.min,g=c.prototype,p=d.prototype,y=n(g.slice),m=e(g,"resizable","get"),O=e(g,"maxByteLength","get"),S=n(p.getInt8),E=n(p.setInt8);s.exports=(v||i)&&function(T,x,I){var A=u(T),C=x===void 0?A:a(x),P=!m||!m(T),N;if(o(T),v&&(T=f(T,{transfer:[T]}),A===C&&(I||P)))return T;if(A>=C&&(!I||P))N=y(T,0,C);else{var $=I&&!P&&O?{maxByteLength:O(T)}:void 0;N=new c(C,$);for(var U=new d(T),D=new d(N),F=h(C,A),L=0;L>8&255]},Rt=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},It=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Nt=function(q){return Pt(p(q),23,4)},Ht=function(q){return Pt(q,52,8)},Wt=function(q,ut,J){i(q[U],ut,{configurable:!0,get:function(){return J(this)[ut]}})},bt=function(q,ut,J,yt){var pt=G(q),ct=g(J),ft=!!yt;if(ct+ut>pt.byteLength)throw new gt(F);var zt=pt.bytes,Yt=ct+pt.byteOffset,W=E(zt,Yt,Yt+ut);return ft?W:Ft(W)},Ct=function(q,ut,J,yt,pt,ct){var ft=G(q),zt=g(J),Yt=yt(+pt),W=!!ct;if(zt+ut>ft.byteLength)throw new gt(F);for(var k=ft.bytes,tt=zt+ft.byteOffset,j=0;jct)throw new gt("Wrong offset");if(yt=yt===void 0?ct-ft:h(yt),ft+yt>ct)throw new gt(D);Y(this,{type:$,buffer:ut,byteLength:yt,byteOffset:ft,bytes:pt.bytes}),e||(this.buffer=ut,this.byteLength=yt,this.byteOffset=ft)},et=st[U],e&&(Wt(Q,"byteLength",L),Wt(st,"buffer",G),Wt(st,"byteLength",G),Wt(st,"byteOffset",G)),v(et,{getInt8:function(ut){return bt(this,1,ut)[0]<<24>>24},getUint8:function(ut){return bt(this,1,ut)[0]},getInt16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return(J[1]<<8|J[0])<<16>>16},getUint16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return J[1]<<8|J[0]},getInt32:function(ut){return It(bt(this,4,ut,arguments.length>1?arguments[1]:!1))},getUint32:function(ut){return It(bt(this,4,ut,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ut){return at(bt(this,4,ut,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ut){return at(bt(this,8,ut,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ut,J){Ct(this,1,ut,vt,J)},setUint8:function(ut,J){Ct(this,1,ut,vt,J)},setInt16:function(ut,J){Ct(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setUint16:function(ut,J){Ct(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setInt32:function(ut,J){Ct(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setUint32:function(ut,J){Ct(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setFloat32:function(ut,J){Ct(this,4,ut,Nt,J,arguments.length>2?arguments[2]:!1)},setFloat64:function(ut,J){Ct(this,8,ut,Ht,J,arguments.length>2?arguments[2]:!1)}});else{var Vt=C&&H.name!==N;!f(function(){H(1)})||!f(function(){new H(-1)})||f(function(){return new H,new H(1.5),new H(NaN),H.length!==1||Vt&&!P})?(Q=function(ut){return c(this,X),T(new H(g(ut)),this,Q)},Q[U]=X,X.constructor=Q,x(Q,H)):Vt&&P&&u(H,"name",N),O&&m(et)!==lt&&O(et,lt);var $t=new st(new Q(2)),Mt=n(et.setInt8);$t.setInt8(0,2147483648),$t.setInt8(1,2147483649),($t.getInt8(0)||!$t.getInt8(1))&&v(et,{setInt8:function(ut,J){Mt(this,ut,J<<24>>24)},setUint8:function(ut,J){Mt(this,ut,J<<24>>24)}},{unsafe:!0})}I(Q,N),I(st,$),s.exports={ArrayBuffer:Q,DataView:st}},81499:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628),a=t(12384),o=Math.min;s.exports=[].copyWithin||function(i,v){var f=r(this),c=e(f),d=n(i,c),h=n(v,c),g=arguments.length>2?arguments[2]:void 0,p=o((g===void 0?c:n(g,c))-h,c-d),y=1;for(h0;)h in f?f[d]=f[h]:a(f,d),d+=y,h+=y;return f}},43011:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628);s.exports=function(o){for(var u=r(this),i=e(u),v=arguments.length,f=n(v>1?arguments[1]:void 0,i),c=v>2?arguments[2]:void 0,d=c===void 0?i:n(c,i);d>f;)u[f++]=o;return u}},13349:function(s,l,t){var r=t(66655).forEach,n=t(6148),e=n("forEach");s.exports=e?[].forEach:function(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}},5220:function(s,l,t){var r=t(82628);s.exports=function(n,e,a){for(var o=0,u=arguments.length>2?a:r(e),i=new n(u);u>o;)i[o]=e[o++];return i}},48258:function(s,l,t){var r=t(45526),n=t(96499),e=t(49671),a=t(39969),o=t(48199),u=t(11051),i=t(82628),v=t(84082),f=t(90619),c=t(81077),d=Array;s.exports=function(g){var p=e(g),y=u(this),m=arguments.length,O=m>1?arguments[1]:void 0,S=O!==void 0;S&&(O=r(O,m>2?arguments[2]:void 0));var E=c(p),T=0,x,I,A,C,P,N;if(E&&!(this===d&&o(E)))for(I=y?new this:[],C=f(p,E),P=C.next;!(A=n(P,C)).done;T++)N=S?a(C,O,[A.value,T],!0):A.value,v(I,T,N);else for(x=i(p),I=y?new this(x):d(x);x>T;T++)N=S?O(p[T],T):p[T],v(I,T,N);return I.length=T,I}},94319:function(s,l,t){var r=t(36859),n=t(4652),e=t(82628),a=function(o){return function(u,i,v){var f=r(u),c=e(f);if(c===0)return!o&&-1;var d=n(v,c),h;if(o&&i!==i){for(;c>d;)if(h=f[d++],h!==h)return!0}else for(;c>d;d++)if((o||d in f)&&f[d]===i)return o||d||0;return!o&&-1}};s.exports={includes:a(!0),indexOf:a(!1)}},73849:function(s,l,t){var r=t(45526),n=t(72181),e=t(49671),a=t(82628),o=function(u){var i=u===1;return function(v,f,c){for(var d=e(v),h=n(d),g=a(h),p=r(f,c),y,m;g-- >0;)if(y=h[g],m=p(y,g,d),m)switch(u){case 0:return y;case 1:return g}return i?-1:void 0}};s.exports={findLast:o(0),findLastIndex:o(1)}},66655:function(s,l,t){var r=t(45526),n=t(11286),e=t(72181),a=t(49671),o=t(82628),u=t(62083),i=n([].push),v=function(f){var c=f===1,d=f===2,h=f===3,g=f===4,p=f===6,y=f===7,m=f===5||p;return function(O,S,E,T){for(var x=a(O),I=e(x),A=o(I),C=r(S,E),P=0,N=T||u,$=c?N(O,A):d||y?N(O,0):void 0,U,D;A>P;P++)if((m||P in I)&&(U=I[P],D=C(U,P,x),f))if(c)$[P]=D;else if(D)switch(f){case 3:return!0;case 5:return U;case 6:return P;case 2:i($,U)}else switch(f){case 4:return!1;case 7:i($,U)}return p?-1:h||g?g:$}};s.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(s,l,t){var r=t(66543),n=t(36859),e=t(12105),a=t(82628),o=t(6148),u=Math.min,i=[].lastIndexOf,v=!!i&&1/[1].lastIndexOf(1,-0)<0,f=o("lastIndexOf"),c=v||!f;s.exports=c?function(h){if(v)return r(i,this,arguments)||0;var g=n(this),p=a(g);if(p===0)return-1;var y=p-1;for(arguments.length>1&&(y=u(y,e(arguments[1]))),y<0&&(y=p+y);y>=0;y--)if(y in g&&g[y]===h)return y||0;return-1}:i},52183:function(s,l,t){var r=t(72069),n=t(18565),e=t(44241),a=n("species");s.exports=function(o){return e>=51||!r(function(){var u=[],i=u.constructor={};return i[a]=function(){return{foo:1}},u[o](Boolean).foo!==1})}},6148:function(s,l,t){var r=t(72069);s.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},97264:function(s,l,t){var r=t(85156),n=t(49671),e=t(72181),a=t(82628),o=TypeError,u="Reduce of empty array with no initial value",i=function(v){return function(f,c,d,h){var g=n(f),p=e(g),y=a(g);if(r(c),y===0&&d<2)throw new o(u);var m=v?y-1:0,O=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=O;break}if(m+=O,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=O)m in p&&(h=c(h,p[m],m,g));return h}};s.exports={left:i(!1),right:i(!0)}},2213:function(s,l,t){var r=t(92986),n=t(3438),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();s.exports=o?function(u,i){if(n(u)&&!a(u,"length").writable)throw new e("Cannot set read only .length");return u.length=i}:function(u,i){return u.length=i}},22806:function(s,l,t){var r=t(11286);s.exports=r([].slice)},13270:function(s,l,t){var r=t(22806),n=Math.floor,e=function(a,o){var u=a.length;if(u<8)for(var i=1,v,f;i0;)a[f]=a[--f];f!==i++&&(a[f]=v)}else for(var c=n(u/2),d=e(r(a,0,c),o),h=e(r(a,c),o),g=d.length,p=h.length,y=0,m=0;y=v||c<0)throw new e("Incorrect index");for(var d=new o(v),h=0;h1?arguments[1]:void 0),D;D=D?D.next:$.first;)for(U(D.value,D.key,this);D&&D.removed;)D=D.previous},has:function(N){return!!C(this,N)}}),e(x,S?{get:function(N){var $=C(this,N);return $&&$.value},set:function(N,$){return A(this,N===0?0:N,$)}}:{add:function(N){return A(this,N=N===0?0:N,N)}}),d&&n(x,"size",{configurable:!0,get:function(){return I(this).size}}),T},setStrong:function(m,O,S){var E=O+" Iterator",T=y(O),x=y(E);v(m,O,function(I,A){p(this,{type:E,target:I,state:T(I),kind:A,last:void 0})},function(){for(var I=x(this),A=I.kind,C=I.last;C&&C.removed;)C=C.previous;return!I.target||!(I.last=C=C?C.next:I.state.first)?(I.target=void 0,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},S?"entries":"values",!S,!0),c(O)}}},94667:function(s,l,t){var r=t(11286),n=t(2725),e=t(31853).getWeakData,a=t(12833),o=t(25001),u=t(5683),i=t(37540),v=t(55902),f=t(66655),c=t(94879),d=t(82367),h=d.set,g=d.getterFor,p=f.find,y=f.findIndex,m=r([].splice),O=0,S=function(x){return x.frozen||(x.frozen=new E)},E=function(){this.entries=[]},T=function(x,I){return p(x.entries,function(A){return A[0]===I})};E.prototype={get:function(x){var I=T(this,x);if(I)return I[1]},has:function(x){return!!T(this,x)},set:function(x,I){var A=T(this,x);A?A[1]=I:this.entries.push([x,I])},delete:function(x){var I=y(this.entries,function(A){return A[0]===x});return~I&&m(this.entries,I,1),!!~I}},s.exports={getConstructor:function(x,I,A,C){var P=x(function(D,F){a(D,N),h(D,{type:I,id:O++,frozen:void 0}),u(F)||v(F,D[C],{that:D,AS_ENTRIES:A})}),N=P.prototype,$=g(I),U=function(D,F,L){var G=$(D),Y=e(o(F),!0);return Y===!0?S(G).set(F,L):Y[G.id]=L,D};return n(N,{delete:function(D){var F=$(this);if(!i(D))return!1;var L=e(D);return L===!0?S(F).delete(D):L&&c(L,F.id)&&delete L[F.id]},has:function(F){var L=$(this);if(!i(F))return!1;var G=e(F);return G===!0?S(L).has(F):G&&c(G,L.id)}}),n(N,A?{get:function(F){var L=$(this);if(i(F)){var G=e(F);return G===!0?S(L).get(F):G?G[L.id]:void 0}},set:function(F,L){return U(this,F,L)}}:{add:function(F){return U(this,F,!0)}}),P}}},89378:function(s,l,t){var r=t(14304),n=t(34246),e=t(11286),a=t(13278),o=t(16142),u=t(31853),i=t(55902),v=t(12833),f=t(23583),c=t(5683),d=t(37540),h=t(72069),g=t(97494),p=t(78401),y=t(32345);s.exports=function(m,O,S){var E=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,x=E?"set":"add",I=n[m],A=I&&I.prototype,C=I,P={},N=function(Y){var H=e(A[Y]);o(A,Y,Y==="add"?function(X){return H(this,X===0?0:X),this}:Y==="delete"?function(Q){return T&&!d(Q)?!1:H(this,Q===0?0:Q)}:Y==="get"?function(X){return T&&!d(X)?void 0:H(this,X===0?0:X)}:Y==="has"?function(X){return T&&!d(X)?!1:H(this,X===0?0:X)}:function(X,st){return H(this,X===0?0:X,st),this})},$=a(m,!f(I)||!(T||A.forEach&&!h(function(){new I().entries().next()})));if($)C=S.getConstructor(O,m,E,x),u.enable();else if(a(m,!0)){var U=new C,D=U[x](T?{}:-0,1)!==U,F=h(function(){U.has(1)}),L=g(function(Y){new I(Y)}),G=!T&&h(function(){for(var Y=new I,H=5;H--;)Y[x](H,H);return!Y.has(-0)});L||(C=O(function(Y,H){v(Y,A);var Q=y(new I,Y,C);return c(H)||i(H,Q[x],{that:Q,AS_ENTRIES:E}),Q}),C.prototype=A,A.constructor=C),(F||G)&&(N("delete"),N("has"),E&&N("get")),(G||D)&&N(x),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==I},P),p(C,m),T||S.setStrong(C,m,E),C}},93706:function(s,l,t){var r=t(94879),n=t(16885),e=t(71349),a=t(7831);s.exports=function(o,u,i){for(var v=n(u),f=a.f,c=e.f,d=0;d"+c+""}},10659:function(s){s.exports=function(l,t){return{value:l,done:t}}},90809:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=r?function(a,o,u){return n.f(a,o,e(1,u))}:function(a,o,u){return a[o]=u,a}},18526:function(s){s.exports=function(l,t){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:t}}},84082:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=function(a,o,u){r?n.f(a,o,e(0,u)):a[o]=u}},11890:function(s,l,t){var r=t(11286),n=t(72069),e=t(61607).start,a=RangeError,o=isFinite,u=Math.abs,i=Date.prototype,v=i.toISOString,f=r(i.getTime),c=r(i.getUTCDate),d=r(i.getUTCFullYear),h=r(i.getUTCHours),g=r(i.getUTCMilliseconds),p=r(i.getUTCMinutes),y=r(i.getUTCMonth),m=r(i.getUTCSeconds);s.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!o(f(this)))throw new a("Invalid time value");var S=this,E=d(S),T=g(S),x=E<0?"-":E>9999?"+":"";return x+e(u(E),x?6:4,0)+"-"+e(y(S)+1,2,0)+"-"+e(c(S),2,0)+"T"+e(h(S),2,0)+":"+e(p(S),2,0)+":"+e(m(S),2,0)+"."+e(T,3,0)+"Z"}:v},84306:function(s,l,t){var r=t(25001),n=t(2064),e=TypeError;s.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}},85500:function(s,l,t){var r=t(13749),n=t(7831);s.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}},16142:function(s,l,t){var r=t(23583),n=t(7831),e=t(13749),a=t(36003);s.exports=function(o,u,i,v){v||(v={});var f=v.enumerable,c=v.name!==void 0?v.name:u;if(r(i)&&e(i,c,v),v.global)f?o[u]=i:a(u,i);else{try{v.unsafe?o[u]&&(f=!0):delete o[u]}catch(d){}f?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},2725:function(s,l,t){var r=t(16142);s.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},36003:function(s,l,t){var r=t(34246),n=Object.defineProperty;s.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},12384:function(s,l,t){var r=t(82453),n=TypeError;s.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},92986:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(s,l,t){var r=t(34246),n=t(81191),e=t(99050),a=r.structuredClone,o=r.ArrayBuffer,u=r.MessageChannel,i=!1,v,f,c,d;if(e)i=function(h){a(h,{transfer:[h]})};else if(o)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(f=new u,c=new o(2),d=function(h){f.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(i=d)))}catch(h){}s.exports=i},85501:function(s,l,t){var r=t(34246),n=t(37540),e=r.document,a=n(e)&&n(e.createElement);s.exports=function(o){return a?e.createElement(o):{}}},20095:function(s){var l=TypeError,t=9007199254740991;s.exports=function(r){if(r>t)throw l("Maximum allowed index exceeded");return r}},74408:function(s){s.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(s,l,t){var r=t(85501),n=r("span").classList,e=n&&n.constructor&&n.constructor.prototype;s.exports=e===Object.prototype?void 0:e},75785:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(s,l,t){var r=t(18257),n=r.match(/firefox\/(\d+)/i);s.exports=!!n&&+n[1]},17417:function(s,l,t){var r=t(18257);s.exports=/MSIE|Trident/.test(r)},7307:function(s,l,t){var r=t(18257);s.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(s,l,t){var r=t(18257);s.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(s,l,t){var r=t(21501);s.exports=r==="NODE"},67722:function(s,l,t){var r=t(18257);s.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(s,l,t){var r=t(34246),n=r.navigator,e=n&&n.userAgent;s.exports=e?String(e):""},44241:function(s,l,t){var r=t(34246),n=t(18257),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,u=o&&o.v8,i,v;u&&(i=u.split("."),v=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!v&&n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(v=+i[1]))),s.exports=v},66577:function(s,l,t){var r=t(18257),n=r.match(/AppleWebKit\/(\d+)\./);s.exports=!!n&&+n[1]},21501:function(s,l,t){var r=t(34246),n=t(18257),e=t(14274),a=function(o){return n.slice(0,o.length)===o};s.exports=function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":e(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"}()},40851:function(s,l,t){var r=t(11286),n=Error,e=r("".replace),a=function(i){return String(new n(i).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,u=o.test(a);s.exports=function(i,v){if(u&&typeof i=="string"&&!n.prepareStackTrace)for(;v--;)i=e(i,o,"");return i}},97077:function(s,l,t){var r=t(90809),n=t(40851),e=t(16929),a=Error.captureStackTrace;s.exports=function(o,u,i,v){e&&(a?a(o,u):r(o,"stack",n(i,v)))}},16929:function(s,l,t){var r=t(72069),n=t(18526);s.exports=!r(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",n(1,7)),e.stack!==7):!0})},58434:function(s,l,t){var r=t(92986),n=t(72069),e=t(25001),a=t(15453),o=Error.prototype.toString,u=n(function(){if(r){var i=Object.create(Object.defineProperty({},"name",{get:function(){return this===i}}));if(o.call(i)!=="true")return!0}return o.call({message:1,name:2})!=="2: 1"||o.call({})!=="Error"});s.exports=u?function(){var v=e(this),f=a(v.name,"Error"),c=a(v.message);return f?c?f+": "+c:f:c}:o},14304:function(s,l,t){var r=t(34246),n=t(71349).f,e=t(90809),a=t(16142),o=t(36003),u=t(93706),i=t(13278);s.exports=function(v,f){var c=v.target,d=v.global,h=v.stat,g,p,y,m,O,S;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(O=f[y],v.dontCallGetSet?(S=n(p,y),m=S&&S.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof O==typeof m)continue;u(O,m)}(v.sham||m&&m.sham)&&e(O,"sham",!0),a(p,y,O,v)}}},72069:function(s){s.exports=function(l){try{return!!l()}catch(t){return!0}}},63194:function(s,l,t){t(31145);var r=t(96499),n=t(16142),e=t(44381),a=t(72069),o=t(18565),u=t(90809),i=o("species"),v=RegExp.prototype;s.exports=function(f,c,d,h){var g=o(f),p=!a(function(){var S={};return S[g]=function(){return 7},""[f](S)!==7}),y=p&&!a(function(){var S=!1,E=/a/;return f==="split"&&(E={},E.constructor={},E.constructor[i]=function(){return E},E.flags="",E[g]=/./[g]),E.exec=function(){return S=!0,null},E[g](""),!S});if(!p||!y||d){var m=/./[g],O=c(g,""[f],function(S,E,T,x,I){var A=E.exec;return A===e||A===v.exec?p&&!I?{done:!0,value:r(m,E,T,x)}:{done:!0,value:r(S,T,E,x)}:{done:!1}});n(String.prototype,f,O[0]),n(v,g,O[1])}h&&u(v[g],"sham",!0)}},53149:function(s,l,t){var r=t(3438),n=t(82628),e=t(20095),a=t(45526),o=function(u,i,v,f,c,d,h,g){for(var p=c,y=0,m=h?a(h,g):!1,O,S;y0&&r(O)?(S=n(O),p=o(u,i,O,S,p,d-1)-1):(e(p+1),u[p]=O),p++),y++;return p};s.exports=o},27534:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(s,l,t){var r=t(87878),n=Function.prototype,e=n.apply,a=n.call;s.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},45526:function(s,l,t){var r=t(77422),n=t(85156),e=t(87878),a=r(r.bind);s.exports=function(o,u){return n(o),u===void 0?o:e?a(o,u):function(){return o.apply(u,arguments)}}},87878:function(s,l,t){var r=t(72069);s.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(s,l,t){var r=t(11286),n=t(85156),e=t(37540),a=t(94879),o=t(22806),u=t(87878),i=Function,v=r([].concat),f=r([].join),c={},d=function(h,g,p){if(!a(c,g)){for(var y=[],m=0;m]*>)/g,v=/\$([$&'`]|\d{1,2})/g;s.exports=function(f,c,d,h,g,p){var y=d+f.length,m=h.length,O=v;return g!==void 0&&(g=n(g),O=i),o(p,O,function(S,E){var T;switch(a(E,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(E,1,-1)];break;default:var x=+E;if(x===0)return S;if(x>m){var I=e(x/10);return I===0?S:I<=m?h[I-1]===void 0?a(E,1):h[I-1]+a(E,1):S}T=h[x-1]}return T===void 0?"":T})}},34246:function(s){var l=function(t){return t&&t.Math===Math&&t};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof global=="object"&&global)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(s,l,t){var r=t(11286),n=t(49671),e=r({}.hasOwnProperty);s.exports=Object.hasOwn||function(o,u){return e(n(o),u)}},19423:function(s){s.exports={}},99095:function(s){s.exports=function(l,t){try{arguments.length===1?console.error(l):console.error(l,t)}catch(r){}}},96439:function(s,l,t){var r=t(38941);s.exports=r("document","documentElement")},52515:function(s,l,t){var r=t(92986),n=t(72069),e=t(85501);s.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(s){var l=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(i,v,f){var c=l(f),d=f*8-v-1,h=(1<>1,p=v===23?r(2,-24)-r(2,-77):0,y=i<0||i===0&&1/i<0?1:0,m=0,O,S,E;for(i=t(i),i!==i||i===1/0?(S=i!==i?1:0,O=h):(O=n(e(i)/a),E=r(2,-O),i*E<1&&(O--,E*=2),O+g>=1?i+=p/E:i+=p*r(2,1-g),i*E>=2&&(O++,E/=2),O+g>=h?(S=0,O=h):O+g>=1?(S=(i*E-1)*r(2,v),O+=g):(S=i*r(2,g-1)*r(2,v),O=0));v>=8;)c[m++]=S&255,S/=256,v-=8;for(O=O<0;)c[m++]=O&255,O/=256,d-=8;return c[m-1]|=y*128,c},u=function(i,v){var f=i.length,c=f*8-v-1,d=(1<>1,g=c-7,p=f-1,y=i[p--],m=y&127,O;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(O=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)O=O*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return O?NaN:y?-1/0:1/0;O+=r(2,v),m-=h}return(y?-1:1)*O*r(2,m-v)};s.exports={pack:o,unpack:u}},72181:function(s,l,t){var r=t(11286),n=t(72069),e=t(14274),a=Object,o=r("".split);s.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return e(u)==="String"?o(u,""):a(u)}:a},32345:function(s,l,t){var r=t(23583),n=t(37540),e=t(15861);s.exports=function(a,o,u){var i,v;return e&&r(i=o.constructor)&&i!==u&&n(v=i.prototype)&&v!==u.prototype&&e(a,v),a}},84352:function(s,l,t){var r=t(11286),n=t(23583),e=t(70443),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(o){return a(o)}),s.exports=e.inspectSource},31486:function(s,l,t){var r=t(37540),n=t(90809);s.exports=function(e,a){r(a)&&"cause"in a&&n(e,"cause",a.cause)}},31853:function(s,l,t){var r=t(14304),n=t(11286),e=t(19423),a=t(37540),o=t(94879),u=t(7831).f,i=t(83258),v=t(92880),f=t(28174),c=t(36374),d=t(27534),h=!1,g=c("meta"),p=0,y=function(x){u(x,g,{value:{objectID:"O"+p++,weakData:{}}})},m=function(x,I){if(!a(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!o(x,g)){if(!f(x))return"F";if(!I)return"E";y(x)}return x[g].objectID},O=function(x,I){if(!o(x,g)){if(!f(x))return!0;if(!I)return!1;y(x)}return x[g].weakData},S=function(x){return d&&h&&f(x)&&!o(x,g)&&y(x),x},E=function(){T.enable=function(){},h=!0;var x=i.f,I=n([].splice),A={};A[g]=1,x(A).length&&(i.f=function(C){for(var P=x(C),N=0,$=P.length;N<$;N++)if(P[N]===g){I(P,N,1);break}return P},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},T=s.exports={enable:E,fastKey:m,getWeakData:O,onFreeze:S};e[g]=!0},82367:function(s,l,t){var r=t(42960),n=t(34246),e=t(37540),a=t(90809),o=t(94879),u=t(70443),i=t(44869),v=t(19423),f="Object already initialized",c=n.TypeError,d=n.WeakMap,h,g,p,y=function(E){return p(E)?g(E):h(E,{})},m=function(E){return function(T){var x;if(!e(T)||(x=g(T)).type!==E)throw new c("Incompatible receiver, "+E+" required");return x}};if(r||u.state){var O=u.state||(u.state=new d);O.get=O.get,O.has=O.has,O.set=O.set,h=function(E,T){if(O.has(E))throw new c(f);return T.facade=E,O.set(E,T),T},g=function(E){return O.get(E)||{}},p=function(E){return O.has(E)}}else{var S=i("state");v[S]=!0,h=function(E,T){if(o(E,S))throw new c(f);return T.facade=E,a(E,S,T),T},g=function(E){return o(E,S)?E[S]:{}},p=function(E){return o(E,S)}}s.exports={set:h,get:g,has:p,enforce:y,getterFor:m}},48199:function(s,l,t){var r=t(18565),n=t(29107),e=r("iterator"),a=Array.prototype;s.exports=function(o){return o!==void 0&&(n.Array===o||a[e]===o)}},3438:function(s,l,t){var r=t(14274);s.exports=Array.isArray||function(e){return r(e)==="Array"}},77129:function(s,l,t){var r=t(9205);s.exports=function(n){var e=r(n);return e==="BigInt64Array"||e==="BigUint64Array"}},23583:function(s){var l=typeof document=="object"&&document.all;s.exports=typeof l=="undefined"&&l!==void 0?function(t){return typeof t=="function"||t===l}:function(t){return typeof t=="function"}},11051:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(9205),o=t(38941),u=t(84352),i=function(){},v=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,c=r(f.exec),d=!f.test(i),h=function(y){if(!e(y))return!1;try{return v(i,[],y),!0}catch(m){return!1}},g=function(y){if(!e(y))return!1;switch(a(y)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(f,u(y))}catch(m){return!0}};g.sham=!0,s.exports=!v||n(function(){var p;return h(h.call)||!h(Object)||!h(function(){p=!0})||p})?g:h},69745:function(s,l,t){var r=t(94879);s.exports=function(n){return n!==void 0&&(r(n,"value")||r(n,"writable"))}},13278:function(s,l,t){var r=t(72069),n=t(23583),e=/#|\.prototype\./,a=function(f,c){var d=u[o(f)];return d===v?!0:d===i?!1:n(c)?r(c):!!c},o=a.normalize=function(f){return String(f).replace(e,".").toLowerCase()},u=a.data={},i=a.NATIVE="N",v=a.POLYFILL="P";s.exports=a},613:function(s,l,t){var r=t(37540),n=Math.floor;s.exports=Number.isInteger||function(a){return!r(a)&&isFinite(a)&&n(a)===a}},5683:function(s){s.exports=function(l){return l==null}},37540:function(s,l,t){var r=t(23583);s.exports=function(n){return typeof n=="object"?n!==null:r(n)}},52427:function(s,l,t){var r=t(37540);s.exports=function(n){return r(n)||n===null}},70457:function(s){s.exports=!1},11566:function(s,l,t){var r=t(37540),n=t(14274),e=t(18565),a=e("match");s.exports=function(o){var u;return r(o)&&((u=o[a])!==void 0?!!u:n(o)==="RegExp")}},491:function(s,l,t){var r=t(38941),n=t(23583),e=t(95307),a=t(50234),o=Object;s.exports=a?function(u){return typeof u=="symbol"}:function(u){var i=r("Symbol");return n(i)&&e(i.prototype,o(u))}},9573:function(s,l,t){var r=t(96499);s.exports=function(n,e,a){for(var o=a?n:n.iterator,u=n.next,i,v;!(i=r(u,o)).done;)if(v=e(i.value),v!==void 0)return v}},55902:function(s,l,t){var r=t(45526),n=t(96499),e=t(25001),a=t(82453),o=t(48199),u=t(82628),i=t(95307),v=t(90619),f=t(81077),c=t(99797),d=TypeError,h=function(p,y){this.stopped=p,this.result=y},g=h.prototype;s.exports=function(p,y,m){var O=m&&m.that,S=!!(m&&m.AS_ENTRIES),E=!!(m&&m.IS_RECORD),T=!!(m&&m.IS_ITERATOR),x=!!(m&&m.INTERRUPTED),I=r(y,O),A,C,P,N,$,U,D,F=function(G){return A&&c(A,"normal",G),new h(!0,G)},L=function(G){return S?(e(G),x?I(G[0],G[1],F):I(G[0],G[1])):x?I(G,F):I(G)};if(E)A=p.iterator;else if(T)A=p;else{if(C=f(p),!C)throw new d(a(p)+" is not iterable");if(o(C)){for(P=0,N=u(p);N>P;P++)if($=L(p[P]),$&&i(g,$))return $;return new h(!1)}A=v(p,C)}for(U=E?p.next:A.next;!(D=n(U,A)).done;){try{$=L(D.value)}catch(G){c(A,"throw",G)}if(typeof $=="object"&&$&&i(g,$))return $}return new h(!1)}},99797:function(s,l,t){var r=t(96499),n=t(25001),e=t(10512);s.exports=function(a,o,u){var i,v;n(a);try{if(i=e(a,"return"),!i){if(o==="throw")throw u;return u}i=r(i,a)}catch(f){v=!0,i=f}if(o==="throw")throw u;if(v)throw i;return n(i),u}},26820:function(s,l,t){var r=t(24519).IteratorPrototype,n=t(5406),e=t(18526),a=t(78401),o=t(29107),u=function(){return this};s.exports=function(i,v,f,c){var d=v+" Iterator";return i.prototype=n(r,{next:e(+!c,f)}),a(i,d,!1,!0),o[d]=u,i}},10218:function(s,l,t){var r=t(14304),n=t(96499),e=t(70457),a=t(86588),o=t(23583),u=t(26820),i=t(26313),v=t(15861),f=t(78401),c=t(90809),d=t(16142),h=t(18565),g=t(29107),p=t(24519),y=a.PROPER,m=a.CONFIGURABLE,O=p.IteratorPrototype,S=p.BUGGY_SAFARI_ITERATORS,E=h("iterator"),T="keys",x="values",I="entries",A=function(){return this};s.exports=function(C,P,N,$,U,D,F){u(N,P,$);var L=function(gt){if(gt===U&&X)return X;if(!S&>&> in H)return H[gt];switch(gt){case T:return function(){return new N(this,gt)};case x:return function(){return new N(this,gt)};case I:return function(){return new N(this,gt)}}return function(){return new N(this)}},G=P+" Iterator",Y=!1,H=C.prototype,Q=H[E]||H["@@iterator"]||U&&H[U],X=!S&&Q||L(U),st=P==="Array"&&H.entries||Q,et,lt,ht;if(st&&(et=i(st.call(new C)),et!==Object.prototype&&et.next&&(!e&&i(et)!==O&&(v?v(et,O):o(et[E])||d(et,E,A)),f(et,G,!0,!0),e&&(g[G]=A))),y&&U===x&&Q&&Q.name!==x&&(!e&&m?c(H,"name",x):(Y=!0,X=function(){return n(Q,this)})),U)if(lt={values:L(x),keys:D?X:L(T),entries:L(I)},F)for(ht in lt)(S||Y||!(ht in H))&&d(H,ht,lt[ht]);else r({target:P,proto:!0,forced:S||Y},lt);return(!e||F)&&H[E]!==X&&d(H,E,X,{name:U}),g[P]=X,lt}},24519:function(s,l,t){var r=t(72069),n=t(23583),e=t(37540),a=t(5406),o=t(26313),u=t(16142),i=t(18565),v=t(70457),f=i("iterator"),c=!1,d,h,g;[].keys&&(g=[].keys(),"next"in g?(h=o(o(g)),h!==Object.prototype&&(d=h)):c=!0);var p=!e(d)||r(function(){var y={};return d[f].call(y)!==y});p?d={}:v&&(d=a(d)),n(d[f])||u(d,f,function(){return this}),s.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c}},29107:function(s){s.exports={}},82628:function(s,l,t){var r=t(45344);s.exports=function(n){return r(n.length)}},13749:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(94879),o=t(92986),u=t(86588).CONFIGURABLE,i=t(84352),v=t(82367),f=v.enforce,c=v.get,d=String,h=Object.defineProperty,g=r("".slice),p=r("".replace),y=r([].join),m=o&&!n(function(){return h(function(){},"length",{value:8}).length!==8}),O=String(String).split("String"),S=s.exports=function(E,T,x){g(d(T),0,7)==="Symbol("&&(T="["+p(d(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(T="get "+T),x&&x.setter&&(T="set "+T),(!a(E,"name")||u&&E.name!==T)&&(o?h(E,"name",{value:T,configurable:!0}):E.name=T),m&&x&&a(x,"arity")&&E.length!==x.arity&&h(E,"length",{value:x.arity});try{x&&a(x,"constructor")&&x.constructor?o&&h(E,"prototype",{writable:!1}):E.prototype&&(E.prototype=void 0)}catch(A){}var I=f(E);return a(I,"source")||(I.source=y(O,typeof T=="string"?T:"")),E};Function.prototype.toString=S(function(){return e(this)&&c(this).source||i(this)},"toString")},1774:function(s,l,t){var r=t(11286),n=Map.prototype;s.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(s){var l=Math.expm1,t=Math.exp;s.exports=!l||l(10)>22025.465794806718||l(10)<22025.465794806718||l(-2e-17)!==-2e-17?function(n){var e=+n;return e===0?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}:l},10418:function(s,l,t){var r=t(93976),n=Math.abs,e=2220446049250313e-31,a=1/e,o=function(u){return u+a-a};s.exports=function(u,i,v,f){var c=+u,d=n(c),h=r(c);if(dv||p!==p?h*(1/0):h*p}},93279:function(s,l,t){var r=t(10418),n=11920928955078125e-23,e=34028234663852886e22,a=11754943508222875e-54;s.exports=Math.fround||function(u){return r(u,n,e,a)}},41942:function(s){var l=Math.log,t=Math.LOG10E;s.exports=Math.log10||function(n){return l(n)*t}},49366:function(s){var l=Math.log;s.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:l(1+n)}},93976:function(s){s.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(s){var l=Math.ceil,t=Math.floor;s.exports=Math.trunc||function(n){var e=+n;return(e>0?t:l)(e)}},9709:function(s,l,t){var r=t(34246),n=t(28167),e=t(45526),a=t(23115).set,o=t(76895),u=t(5286),i=t(7307),v=t(67722),f=t(91707),c=r.MutationObserver||r.WebKitMutationObserver,d=r.document,h=r.process,g=r.Promise,p=n("queueMicrotask"),y,m,O,S,E;if(!p){var T=new o,x=function(){var I,A;for(f&&(I=h.domain)&&I.exit();A=T.get();)try{A()}catch(C){throw T.head&&y(),C}I&&I.enter()};!u&&!f&&!v&&c&&d?(m=!0,O=d.createTextNode(""),new c(x).observe(O,{characterData:!0}),y=function(){O.data=m=!m}):!i&&g&&g.resolve?(S=g.resolve(void 0),S.constructor=g,E=e(S.then,S),y=function(){E(x)}):f?y=function(){h.nextTick(x)}:(a=e(a,r),y=function(){a(x)}),p=function(I){T.head||y(),T.add(I)}}s.exports=p},24649:function(s,l,t){var r=t(85156),n=TypeError,e=function(a){var o,u;this.promise=new a(function(i,v){if(o!==void 0||u!==void 0)throw new n("Bad Promise constructor");o=i,u=v}),this.resolve=r(o),this.reject=r(u)};s.exports.f=function(a){return new e(a)}},15453:function(s,l,t){var r=t(17361);s.exports=function(n,e){return n===void 0?arguments.length<2?"":e:r(n)}},92337:function(s,l,t){var r=t(11566),n=TypeError;s.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},98074:function(s,l,t){var r=t(34246),n=r.isFinite;s.exports=Number.isFinite||function(a){return typeof a=="number"&&n(a)}},25838:function(s,l,t){var r=t(34246),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=e("".charAt),v=r.parseFloat,f=r.Symbol,c=f&&f.iterator,d=1/v(u+"-0")!==-1/0||c&&!n(function(){v(Object(c))});s.exports=d?function(g){var p=o(a(g)),y=v(p);return y===0&&i(p,0)==="-"?-0:y}:v},23009:function(s,l,t){var r=t(34246),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=r.parseInt,v=r.Symbol,f=v&&v.iterator,c=/^[+-]?0x/i,d=e(c.exec),h=i(u+"08")!==8||i(u+"0x16")!==22||f&&!n(function(){i(Object(f))});s.exports=h?function(p,y){var m=o(a(p));return i(m,y>>>0||(d(c,m)?16:10))}:i},16667:function(s,l,t){var r=t(92986),n=t(11286),e=t(96499),a=t(72069),o=t(18350),u=t(24943),i=t(79591),v=t(49671),f=t(72181),c=Object.assign,d=Object.defineProperty,h=n([].concat);s.exports=!c||a(function(){if(r&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},p={},y=Symbol("assign detection"),m="abcdefghijklmnopqrst";return g[y]=7,m.split("").forEach(function(O){p[O]=O}),c({},g)[y]!==7||o(c({},p)).join("")!==m})?function(p,y){for(var m=v(p),O=arguments.length,S=1,E=u.f,T=i.f;O>S;)for(var x=f(arguments[S++]),I=E?h(o(x),E(x)):o(x),A=I.length,C=0,P;A>C;)P=I[C++],(!r||e(T,x,P))&&(m[P]=x[P]);return m}:c},5406:function(s,l,t){var r=t(25001),n=t(61963),e=t(75785),a=t(19423),o=t(96439),u=t(85501),i=t(44869),v=">",f="<",c="prototype",d="script",h=i("IE_PROTO"),g=function(){},p=function(E){return f+d+v+E+f+"/"+d+v},y=function(E){E.write(p("")),E.close();var T=E.parentWindow.Object;return E=null,T},m=function(){var E=u("iframe"),T="java"+d+":",x;return E.style.display="none",o.appendChild(E),E.src=String(T),x=E.contentWindow.document,x.open(),x.write(p("document.F=Object")),x.close(),x.F},O,S=function(){try{O=new ActiveXObject("htmlfile")}catch(T){}S=typeof document!="undefined"?document.domain&&O?y(O):m():y(O);for(var E=e.length;E--;)delete S[c][e[E]];return S()};a[h]=!0,s.exports=Object.create||function(T,x){var I;return T!==null?(g[c]=r(T),I=new g,g[c]=null,I[h]=T):I=S(),x===void 0?I:n.f(I,x)}},61963:function(s,l,t){var r=t(92986),n=t(356),e=t(7831),a=t(25001),o=t(36859),u=t(18350);l.f=r&&!n?Object.defineProperties:function(v,f){a(v);for(var c=o(f),d=u(f),h=d.length,g=0,p;h>g;)e.f(v,p=d[g++],c[p]);return v}},7831:function(s,l,t){var r=t(92986),n=t(52515),e=t(356),a=t(25001),o=t(50035),u=TypeError,i=Object.defineProperty,v=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",d="writable";l.f=r?e?function(g,p,y){if(a(g),p=o(p),a(y),typeof g=="function"&&p==="prototype"&&"value"in y&&d in y&&!y[d]){var m=v(g,p);m&&m[d]&&(g[p]=y.value,y={configurable:c in y?y[c]:m[c],enumerable:f in y?y[f]:m[f],writable:!1})}return i(g,p,y)}:i:function(g,p,y){if(a(g),p=o(p),a(y),n)try{return i(g,p,y)}catch(m){}if("get"in y||"set"in y)throw new u("Accessors not supported");return"value"in y&&(g[p]=y.value),g}},71349:function(s,l,t){var r=t(92986),n=t(96499),e=t(79591),a=t(18526),o=t(36859),u=t(50035),i=t(94879),v=t(52515),f=Object.getOwnPropertyDescriptor;l.f=r?f:function(d,h){if(d=o(d),h=u(h),v)try{return f(d,h)}catch(g){}if(i(d,h))return a(!n(e.f,d,h),d[h])}},92880:function(s,l,t){var r=t(14274),n=t(36859),e=t(83258).f,a=t(22806),o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(i){try{return e(i)}catch(v){return a(o)}};s.exports.f=function(v){return o&&r(v)==="Window"?u(v):e(n(v))}},83258:function(s,l,t){var r=t(6242),n=t(75785),e=n.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(o){return r(o,e)}},24943:function(s,l){l.f=Object.getOwnPropertySymbols},26313:function(s,l,t){var r=t(94879),n=t(23583),e=t(49671),a=t(44869),o=t(87501),u=a("IE_PROTO"),i=Object,v=i.prototype;s.exports=o?i.getPrototypeOf:function(f){var c=e(f);if(r(c,u))return c[u];var d=c.constructor;return n(d)&&c instanceof d?d.prototype:c instanceof i?v:null}},28174:function(s,l,t){var r=t(72069),n=t(37540),e=t(14274),a=t(72058),o=Object.isExtensible,u=r(function(){o(1)});s.exports=u||a?function(v){return!n(v)||a&&e(v)==="ArrayBuffer"?!1:o?o(v):!0}:o},95307:function(s,l,t){var r=t(11286);s.exports=r({}.isPrototypeOf)},6242:function(s,l,t){var r=t(11286),n=t(94879),e=t(36859),a=t(94319).indexOf,o=t(19423),u=r([].push);s.exports=function(i,v){var f=e(i),c=0,d=[],h;for(h in f)!n(o,h)&&n(f,h)&&u(d,h);for(;v.length>c;)n(f,h=v[c++])&&(~a(d,h)||u(d,h));return d}},18350:function(s,l,t){var r=t(6242),n=t(75785);s.exports=Object.keys||function(a){return r(a,n)}},79591:function(s,l){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);l.f=n?function(a){var o=r(this,a);return!!o&&o.enumerable}:t},57629:function(s,l,t){var r=t(70457),n=t(34246),e=t(72069),a=t(66577);s.exports=r||!e(function(){if(!(a&&a<535)){var o=Math.random();__defineSetter__.call(null,o,function(){}),delete n[o]}})},15861:function(s,l,t){var r=t(84756),n=t(37540),e=t(2068),a=t(53408);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,u={},i;try{i=r(Object.prototype,"__proto__","set"),i(u,[]),o=u instanceof Array}catch(v){}return function(f,c){return e(f),a(c),n(f)&&(o?i(f,c):f.__proto__=c),f}}():void 0)},8511:function(s,l,t){var r=t(92986),n=t(72069),e=t(11286),a=t(26313),o=t(18350),u=t(36859),i=t(79591).f,v=e(i),f=e([].push),c=r&&n(function(){var h=Object.create(null);return h[2]=2,!v(h,2)}),d=function(h){return function(g){for(var p=u(g),y=o(p),m=c&&a(p)===null,O=y.length,S=0,E=[],T;O>S;)T=y[S++],(!r||(m?T in p:v(p,T)))&&f(E,h?[T,p[T]]:p[T]);return E}};s.exports={entries:d(!0),values:d(!1)}},60105:function(s,l,t){var r=t(67878),n=t(9205);s.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(s,l,t){var r=t(96499),n=t(23583),e=t(37540),a=TypeError;s.exports=function(o,u){var i,v;if(u==="string"&&n(i=o.toString)&&!e(v=r(i,o))||n(i=o.valueOf)&&!e(v=r(i,o))||u!=="string"&&n(i=o.toString)&&!e(v=r(i,o)))return v;throw new a("Can't convert object to primitive value")}},16885:function(s,l,t){var r=t(38941),n=t(11286),e=t(83258),a=t(24943),o=t(25001),u=n([].concat);s.exports=r("Reflect","ownKeys")||function(v){var f=e.f(o(v)),c=a.f;return c?u(f,c(v)):f}},75081:function(s,l,t){var r=t(34246);s.exports=r},67805:function(s){s.exports=function(l){try{return{error:!1,value:l()}}catch(t){return{error:!0,value:t}}}},37130:function(s,l,t){var r=t(34246),n=t(98844),e=t(23583),a=t(13278),o=t(84352),u=t(18565),i=t(21501),v=t(70457),f=t(44241),c=n&&n.prototype,d=u("species"),h=!1,g=e(r.PromiseRejectionEvent),p=a("Promise",function(){var y=o(n),m=y!==String(n);if(!m&&f===66||v&&!(c.catch&&c.finally))return!0;if(!f||f<51||!/native code/.test(y)){var O=new n(function(T){T(1)}),S=function(T){T(function(){},function(){})},E=O.constructor={};if(E[d]=S,h=O.then(function(){})instanceof S,!h)return!0}return!m&&(i==="BROWSER"||i==="DENO")&&!g});s.exports={CONSTRUCTOR:p,REJECTION_EVENT:g,SUBCLASSING:h}},98844:function(s,l,t){var r=t(34246);s.exports=r.Promise},87408:function(s,l,t){var r=t(25001),n=t(37540),e=t(24649);s.exports=function(a,o){if(r(a),n(o)&&o.constructor===a)return o;var u=e.f(a),i=u.resolve;return i(o),u.promise}},26035:function(s,l,t){var r=t(98844),n=t(97494),e=t(37130).CONSTRUCTOR;s.exports=e||!n(function(a){r.all(a).then(void 0,function(){})})},2594:function(s,l,t){var r=t(7831).f;s.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){return e[a]},set:function(o){e[a]=o}})}},76895:function(s){var l=function(){this.head=null,this.tail=null};l.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},s.exports=l},33064:function(s,l,t){var r=t(96499),n=t(25001),e=t(23583),a=t(14274),o=t(44381),u=TypeError;s.exports=function(i,v){var f=i.exec;if(e(f)){var c=r(f,i,v);return c!==null&&n(c),c}if(a(i)==="RegExp")return r(o,i,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(s,l,t){var r=t(96499),n=t(11286),e=t(17361),a=t(29833),o=t(39807),u=t(96731),i=t(5406),v=t(82367).get,f=t(76769),c=t(85220),d=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,g=h,p=n("".charAt),y=n("".indexOf),m=n("".replace),O=n("".slice),S=function(){var I=/a/,A=/b*/g;return r(h,I,"a"),r(h,A,"a"),I.lastIndex!==0||A.lastIndex!==0}(),E=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,x=S||T||E||f||c;x&&(g=function(A){var C=this,P=v(C),N=e(A),$=P.raw,U,D,F,L,G,Y,H;if($)return $.lastIndex=C.lastIndex,U=r(g,$,N),C.lastIndex=$.lastIndex,U;var Q=P.groups,X=E&&C.sticky,st=r(a,C),et=C.source,lt=0,ht=N;if(X&&(st=m(st,"y",""),y(st,"g")===-1&&(st+="g"),ht=O(N,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&p(N,C.lastIndex-1)!==` + */(function(vr,rr){typeof exports=="object"&&typeof module=="object"?module.exports=rr():typeof define=="function"&&define.amd?define("bb",[],rr):typeof exports=="object"?exports.bb=rr():(vr.bb=vr.bb||{},vr.bb.plugin=vr.bb.plugin||{},vr.bb.plugin["bubblecompare.pkgd"]=rr())})(this,function(){return function(){"use strict";var Fr={19770:function(s,l,t){t.d(l,{default:function(){return br}});function r(){}function n(R){return R==null?r:function(){return this.querySelector(R)}}function e(R){typeof R!="function"&&(R=n(R));for(var M=this._groups,Z=M.length,it=new Array(Z),_=0;_=Mr&&(Mr=Rr+1);!(Br=$r[Mr])&&++Mr=0;)(Et=it[_])&&(dt&&Et.compareDocumentPosition(dt)^4&&dt.parentNode.insertBefore(Et,dt),dt=Et);return this}function Y(R){R||(R=H);function M(tr,sr){return tr&&sr?R(tr.__data__,sr.__data__):!tr-!sr}for(var Z=this._groups,it=Z.length,_=new Array(it),dt=0;dtM?1:R>=M?0:NaN}function Q(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function X(){return Array.from(this)}function st(){for(var R=this._groups,M=0,Z=R.length;M=0&&(M=R.slice(0,Z))!=="xmlns"&&(R=R.slice(Z+1)),Lt.hasOwnProperty(M)?{space:Lt[M],local:R}:R}function Pt(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function vt(R,M){return function(){this.setAttribute(R,M)}}function St(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Rt(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttribute(R):this.setAttribute(R,Z)}}function It(R,M){return function(){var Z=M.apply(this,arguments);Z==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,Z)}}function Nt(R,M){var Z=Ft(R);if(arguments.length<2){var it=this.node();return Z.local?it.getAttributeNS(Z.space,Z.local):it.getAttribute(Z)}return this.each((M==null?Z.local?at:Pt:typeof M=="function"?Z.local?It:Rt:Z.local?St:vt)(Z,M))}function Ht(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Wt(R){return function(){this.style.removeProperty(R)}}function bt(R,M,Z){return function(){this.style.setProperty(R,M,Z)}}function Ct(R,M,Z){return function(){var it=M.apply(this,arguments);it==null?this.style.removeProperty(R):this.style.setProperty(R,it,Z)}}function Vt(R,M,Z){return arguments.length>1?this.each((M==null?Wt:typeof M=="function"?Ct:bt)(R,M,Z==null?"":Z)):$t(this.node(),R)}function $t(R,M){return R.style.getPropertyValue(M)||Ht(R).getComputedStyle(R,null).getPropertyValue(M)}function Mt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function ut(R,M){return function(){var Z=M.apply(this,arguments);Z==null?delete this[R]:this[R]=Z}}function J(R,M){return arguments.length>1?this.each((M==null?Mt:typeof M=="function"?ut:q)(R,M)):this.node()[R]}function yt(R){return R.trim().split(/^|\s+/)}function pt(R){return R.classList||new ct(R)}function ct(R){this._node=R,this._names=yt(R.getAttribute("class")||"")}ct.prototype={add:function(R){var M=this._names.indexOf(R);M<0&&(this._names.push(R),this._node.setAttribute("class",this._names.join(" ")))},remove:function(R){var M=this._names.indexOf(R);M>=0&&(this._names.splice(M,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(R){return this._names.indexOf(R)>=0}};function ft(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.add(M[it])}function zt(R,M){for(var Z=pt(R),it=-1,_=M.length;++it<_;)Z.remove(M[it])}function Yt(R){return function(){ft(this,R)}}function W(R){return function(){zt(this,R)}}function k(R,M){return function(){(M.apply(this,arguments)?ft:zt)(this,R)}}function tt(R,M){var Z=yt(R+"");if(arguments.length<2){for(var it=pt(this.node()),_=-1,dt=Z.length;++_=0&&(Z=M.slice(it+1),M=M.slice(0,it)),{type:M,name:Z}})}function kt(R){return function(){var M=this.__on;if(M){for(var Z=0,it=-1,_=M.length,dt;Z<_;++Z)dt=M[Z],(!R.type||dt.type===R.type)&&dt.name===R.name?this.removeEventListener(dt.type,dt.listener,dt.options):M[++it]=dt;++it?M.length=it:delete this.__on}}}function qt(R,M,Z){return function(){var it=this.__on,_,dt=Er(M);if(it){for(var Et=0,Tt=it.length;EtM in R?_t(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Jt=(R,M,Z)=>rt(R,typeof M!="symbol"?M+"":M,Z);class er{constructor(M={}){Jt(this,"$$"),Jt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}Jt(er,"version","3.12.4-nightly-20240813004629");var Tr=Object.defineProperty,Nr=(R,M,Z)=>M in R?Tr(R,M,{enumerable:!0,configurable:!0,writable:!0,value:Z}):R[M]=Z,Ir=(R,M,Z)=>Nr(R,typeof M!="symbol"?M+"":M,Z);const yr=class jr extends er{constructor(M){return super(M),Ir(this,"$$"),this}$init(){const{$$:M}=this;M.findClosest=this.findClosest.bind(this),M.getBubbleR=this.getBubbleR.bind(this),M.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(M){const Z=this.getBubbleR(M),{expandScale:it=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),Z*it}static raiseFocusedBubbleLayer(M){M.raise&&wt(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,Z){const{$$:it}=this;return M.filter(_=>_&&!it.isBarType(_.id)).reduce((_,dt)=>it.dist(dt,Z){const tr=this.getZData(Kt.values[0]);return[Math.min(Dt,tr),Math.max(Gt,tr)]},[1e4,0]),Tt=dt>0&&Et===dt?0:_/Et;return Math.abs(Tt)*(it-Z)+Z}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Ir(yr,"version","0.0.1");let br=yr},85156:function(s,l,t){var r=t(23583),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},80042:function(s,l,t){var r=t(11051),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},53408:function(s,l,t){var r=t(52427),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},76602:function(s,l,t){var r=t(172).has;s.exports=function(n){return r(n),n}},23811:function(s,l,t){var r=t(18565),n=t(5406),e=t(7831).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),s.exports=function(u){o[a][u]=!0}},24487:function(s,l,t){var r=t(22149).charAt;s.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},12833:function(s,l,t){var r=t(95307),n=TypeError;s.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},25001:function(s,l,t){var r=t(37540),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},3237:function(s){s.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(s,l,t){var r=t(34246),n=t(84756),e=t(14274),a=r.ArrayBuffer,o=r.TypeError;s.exports=a&&n(a.prototype,"byteLength","get")||function(u){if(e(u)!=="ArrayBuffer")throw new o("ArrayBuffer expected");return u.byteLength}},30736:function(s,l,t){var r=t(34246),n=t(77422),e=t(58360),a=r.ArrayBuffer,o=a&&a.prototype,u=o&&n(o.slice);s.exports=function(i){if(e(i)!==0||!u)return!1;try{return u(i,0,0),!1}catch(v){return!0}}},72058:function(s,l,t){var r=t(72069);s.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},83843:function(s,l,t){var r=t(30736),n=TypeError;s.exports=function(e){if(r(e))throw new n("ArrayBuffer is detached");return e}},65006:function(s,l,t){var r=t(34246),n=t(11286),e=t(84756),a=t(9450),o=t(83843),u=t(58360),i=t(63741),v=t(99050),f=r.structuredClone,c=r.ArrayBuffer,d=r.DataView,h=Math.min,g=c.prototype,p=d.prototype,y=n(g.slice),m=e(g,"resizable","get"),O=e(g,"maxByteLength","get"),S=n(p.getInt8),E=n(p.setInt8);s.exports=(v||i)&&function(T,x,I){var A=u(T),C=x===void 0?A:a(x),P=!m||!m(T),N;if(o(T),v&&(T=f(T,{transfer:[T]}),A===C&&(I||P)))return T;if(A>=C&&(!I||P))N=y(T,0,C);else{var $=I&&!P&&O?{maxByteLength:O(T)}:void 0;N=new c(C,$);for(var U=new d(T),D=new d(N),F=h(C,A),L=0;L>8&255]},Rt=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},It=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Nt=function(q){return Pt(p(q),23,4)},Ht=function(q){return Pt(q,52,8)},Wt=function(q,ut,J){i(q[U],ut,{configurable:!0,get:function(){return J(this)[ut]}})},bt=function(q,ut,J,yt){var pt=G(q),ct=g(J),ft=!!yt;if(ct+ut>pt.byteLength)throw new gt(F);var zt=pt.bytes,Yt=ct+pt.byteOffset,W=E(zt,Yt,Yt+ut);return ft?W:Ft(W)},Ct=function(q,ut,J,yt,pt,ct){var ft=G(q),zt=g(J),Yt=yt(+pt),W=!!ct;if(zt+ut>ft.byteLength)throw new gt(F);for(var k=ft.bytes,tt=zt+ft.byteOffset,j=0;jct)throw new gt("Wrong offset");if(yt=yt===void 0?ct-ft:h(yt),ft+yt>ct)throw new gt(D);Y(this,{type:$,buffer:ut,byteLength:yt,byteOffset:ft,bytes:pt.bytes}),e||(this.buffer=ut,this.byteLength=yt,this.byteOffset=ft)},et=st[U],e&&(Wt(Q,"byteLength",L),Wt(st,"buffer",G),Wt(st,"byteLength",G),Wt(st,"byteOffset",G)),v(et,{getInt8:function(ut){return bt(this,1,ut)[0]<<24>>24},getUint8:function(ut){return bt(this,1,ut)[0]},getInt16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return(J[1]<<8|J[0])<<16>>16},getUint16:function(ut){var J=bt(this,2,ut,arguments.length>1?arguments[1]:!1);return J[1]<<8|J[0]},getInt32:function(ut){return It(bt(this,4,ut,arguments.length>1?arguments[1]:!1))},getUint32:function(ut){return It(bt(this,4,ut,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ut){return at(bt(this,4,ut,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ut){return at(bt(this,8,ut,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ut,J){Ct(this,1,ut,vt,J)},setUint8:function(ut,J){Ct(this,1,ut,vt,J)},setInt16:function(ut,J){Ct(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setUint16:function(ut,J){Ct(this,2,ut,St,J,arguments.length>2?arguments[2]:!1)},setInt32:function(ut,J){Ct(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setUint32:function(ut,J){Ct(this,4,ut,Rt,J,arguments.length>2?arguments[2]:!1)},setFloat32:function(ut,J){Ct(this,4,ut,Nt,J,arguments.length>2?arguments[2]:!1)},setFloat64:function(ut,J){Ct(this,8,ut,Ht,J,arguments.length>2?arguments[2]:!1)}});else{var Vt=C&&H.name!==N;!f(function(){H(1)})||!f(function(){new H(-1)})||f(function(){return new H,new H(1.5),new H(NaN),H.length!==1||Vt&&!P})?(Q=function(ut){return c(this,X),T(new H(g(ut)),this,Q)},Q[U]=X,X.constructor=Q,x(Q,H)):Vt&&P&&u(H,"name",N),O&&m(et)!==lt&&O(et,lt);var $t=new st(new Q(2)),Mt=n(et.setInt8);$t.setInt8(0,2147483648),$t.setInt8(1,2147483649),($t.getInt8(0)||!$t.getInt8(1))&&v(et,{setInt8:function(ut,J){Mt(this,ut,J<<24>>24)},setUint8:function(ut,J){Mt(this,ut,J<<24>>24)}},{unsafe:!0})}I(Q,N),I(st,$),s.exports={ArrayBuffer:Q,DataView:st}},81499:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628),a=t(12384),o=Math.min;s.exports=[].copyWithin||function(i,v){var f=r(this),c=e(f),d=n(i,c),h=n(v,c),g=arguments.length>2?arguments[2]:void 0,p=o((g===void 0?c:n(g,c))-h,c-d),y=1;for(h0;)h in f?f[d]=f[h]:a(f,d),d+=y,h+=y;return f}},43011:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628);s.exports=function(o){for(var u=r(this),i=e(u),v=arguments.length,f=n(v>1?arguments[1]:void 0,i),c=v>2?arguments[2]:void 0,d=c===void 0?i:n(c,i);d>f;)u[f++]=o;return u}},13349:function(s,l,t){var r=t(66655).forEach,n=t(6148),e=n("forEach");s.exports=e?[].forEach:function(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}},5220:function(s,l,t){var r=t(82628);s.exports=function(n,e,a){for(var o=0,u=arguments.length>2?a:r(e),i=new n(u);u>o;)i[o]=e[o++];return i}},48258:function(s,l,t){var r=t(45526),n=t(96499),e=t(49671),a=t(39969),o=t(48199),u=t(11051),i=t(82628),v=t(84082),f=t(90619),c=t(81077),d=Array;s.exports=function(g){var p=e(g),y=u(this),m=arguments.length,O=m>1?arguments[1]:void 0,S=O!==void 0;S&&(O=r(O,m>2?arguments[2]:void 0));var E=c(p),T=0,x,I,A,C,P,N;if(E&&!(this===d&&o(E)))for(I=y?new this:[],C=f(p,E),P=C.next;!(A=n(P,C)).done;T++)N=S?a(C,O,[A.value,T],!0):A.value,v(I,T,N);else for(x=i(p),I=y?new this(x):d(x);x>T;T++)N=S?O(p[T],T):p[T],v(I,T,N);return I.length=T,I}},94319:function(s,l,t){var r=t(36859),n=t(4652),e=t(82628),a=function(o){return function(u,i,v){var f=r(u),c=e(f);if(c===0)return!o&&-1;var d=n(v,c),h;if(o&&i!==i){for(;c>d;)if(h=f[d++],h!==h)return!0}else for(;c>d;d++)if((o||d in f)&&f[d]===i)return o||d||0;return!o&&-1}};s.exports={includes:a(!0),indexOf:a(!1)}},73849:function(s,l,t){var r=t(45526),n=t(72181),e=t(49671),a=t(82628),o=function(u){var i=u===1;return function(v,f,c){for(var d=e(v),h=n(d),g=a(h),p=r(f,c),y,m;g-- >0;)if(y=h[g],m=p(y,g,d),m)switch(u){case 0:return y;case 1:return g}return i?-1:void 0}};s.exports={findLast:o(0),findLastIndex:o(1)}},66655:function(s,l,t){var r=t(45526),n=t(11286),e=t(72181),a=t(49671),o=t(82628),u=t(62083),i=n([].push),v=function(f){var c=f===1,d=f===2,h=f===3,g=f===4,p=f===6,y=f===7,m=f===5||p;return function(O,S,E,T){for(var x=a(O),I=e(x),A=o(I),C=r(S,E),P=0,N=T||u,$=c?N(O,A):d||y?N(O,0):void 0,U,D;A>P;P++)if((m||P in I)&&(U=I[P],D=C(U,P,x),f))if(c)$[P]=D;else if(D)switch(f){case 3:return!0;case 5:return U;case 6:return P;case 2:i($,U)}else switch(f){case 4:return!1;case 7:i($,U)}return p?-1:h||g?g:$}};s.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(s,l,t){var r=t(66543),n=t(36859),e=t(12105),a=t(82628),o=t(6148),u=Math.min,i=[].lastIndexOf,v=!!i&&1/[1].lastIndexOf(1,-0)<0,f=o("lastIndexOf"),c=v||!f;s.exports=c?function(h){if(v)return r(i,this,arguments)||0;var g=n(this),p=a(g);if(p===0)return-1;var y=p-1;for(arguments.length>1&&(y=u(y,e(arguments[1]))),y<0&&(y=p+y);y>=0;y--)if(y in g&&g[y]===h)return y||0;return-1}:i},52183:function(s,l,t){var r=t(72069),n=t(18565),e=t(44241),a=n("species");s.exports=function(o){return e>=51||!r(function(){var u=[],i=u.constructor={};return i[a]=function(){return{foo:1}},u[o](Boolean).foo!==1})}},6148:function(s,l,t){var r=t(72069);s.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},97264:function(s,l,t){var r=t(85156),n=t(49671),e=t(72181),a=t(82628),o=TypeError,u="Reduce of empty array with no initial value",i=function(v){return function(f,c,d,h){var g=n(f),p=e(g),y=a(g);if(r(c),y===0&&d<2)throw new o(u);var m=v?y-1:0,O=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=O;break}if(m+=O,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=O)m in p&&(h=c(h,p[m],m,g));return h}};s.exports={left:i(!1),right:i(!0)}},2213:function(s,l,t){var r=t(92986),n=t(3438),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();s.exports=o?function(u,i){if(n(u)&&!a(u,"length").writable)throw new e("Cannot set read only .length");return u.length=i}:function(u,i){return u.length=i}},22806:function(s,l,t){var r=t(11286);s.exports=r([].slice)},13270:function(s,l,t){var r=t(22806),n=Math.floor,e=function(a,o){var u=a.length;if(u<8)for(var i=1,v,f;i0;)a[f]=a[--f];f!==i++&&(a[f]=v)}else for(var c=n(u/2),d=e(r(a,0,c),o),h=e(r(a,c),o),g=d.length,p=h.length,y=0,m=0;y=v||c<0)throw new e("Incorrect index");for(var d=new o(v),h=0;h1?arguments[1]:void 0),D;D=D?D.next:$.first;)for(U(D.value,D.key,this);D&&D.removed;)D=D.previous},has:function(N){return!!C(this,N)}}),e(x,S?{get:function(N){var $=C(this,N);return $&&$.value},set:function(N,$){return A(this,N===0?0:N,$)}}:{add:function(N){return A(this,N=N===0?0:N,N)}}),d&&n(x,"size",{configurable:!0,get:function(){return I(this).size}}),T},setStrong:function(m,O,S){var E=O+" Iterator",T=y(O),x=y(E);v(m,O,function(I,A){p(this,{type:E,target:I,state:T(I),kind:A,last:void 0})},function(){for(var I=x(this),A=I.kind,C=I.last;C&&C.removed;)C=C.previous;return!I.target||!(I.last=C=C?C.next:I.state.first)?(I.target=void 0,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},S?"entries":"values",!S,!0),c(O)}}},94667:function(s,l,t){var r=t(11286),n=t(2725),e=t(31853).getWeakData,a=t(12833),o=t(25001),u=t(5683),i=t(37540),v=t(55902),f=t(66655),c=t(94879),d=t(82367),h=d.set,g=d.getterFor,p=f.find,y=f.findIndex,m=r([].splice),O=0,S=function(x){return x.frozen||(x.frozen=new E)},E=function(){this.entries=[]},T=function(x,I){return p(x.entries,function(A){return A[0]===I})};E.prototype={get:function(x){var I=T(this,x);if(I)return I[1]},has:function(x){return!!T(this,x)},set:function(x,I){var A=T(this,x);A?A[1]=I:this.entries.push([x,I])},delete:function(x){var I=y(this.entries,function(A){return A[0]===x});return~I&&m(this.entries,I,1),!!~I}},s.exports={getConstructor:function(x,I,A,C){var P=x(function(D,F){a(D,N),h(D,{type:I,id:O++,frozen:void 0}),u(F)||v(F,D[C],{that:D,AS_ENTRIES:A})}),N=P.prototype,$=g(I),U=function(D,F,L){var G=$(D),Y=e(o(F),!0);return Y===!0?S(G).set(F,L):Y[G.id]=L,D};return n(N,{delete:function(D){var F=$(this);if(!i(D))return!1;var L=e(D);return L===!0?S(F).delete(D):L&&c(L,F.id)&&delete L[F.id]},has:function(F){var L=$(this);if(!i(F))return!1;var G=e(F);return G===!0?S(L).has(F):G&&c(G,L.id)}}),n(N,A?{get:function(F){var L=$(this);if(i(F)){var G=e(F);return G===!0?S(L).get(F):G?G[L.id]:void 0}},set:function(F,L){return U(this,F,L)}}:{add:function(F){return U(this,F,!0)}}),P}}},89378:function(s,l,t){var r=t(14304),n=t(34246),e=t(11286),a=t(13278),o=t(16142),u=t(31853),i=t(55902),v=t(12833),f=t(23583),c=t(5683),d=t(37540),h=t(72069),g=t(97494),p=t(78401),y=t(32345);s.exports=function(m,O,S){var E=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,x=E?"set":"add",I=n[m],A=I&&I.prototype,C=I,P={},N=function(Y){var H=e(A[Y]);o(A,Y,Y==="add"?function(X){return H(this,X===0?0:X),this}:Y==="delete"?function(Q){return T&&!d(Q)?!1:H(this,Q===0?0:Q)}:Y==="get"?function(X){return T&&!d(X)?void 0:H(this,X===0?0:X)}:Y==="has"?function(X){return T&&!d(X)?!1:H(this,X===0?0:X)}:function(X,st){return H(this,X===0?0:X,st),this})},$=a(m,!f(I)||!(T||A.forEach&&!h(function(){new I().entries().next()})));if($)C=S.getConstructor(O,m,E,x),u.enable();else if(a(m,!0)){var U=new C,D=U[x](T?{}:-0,1)!==U,F=h(function(){U.has(1)}),L=g(function(Y){new I(Y)}),G=!T&&h(function(){for(var Y=new I,H=5;H--;)Y[x](H,H);return!Y.has(-0)});L||(C=O(function(Y,H){v(Y,A);var Q=y(new I,Y,C);return c(H)||i(H,Q[x],{that:Q,AS_ENTRIES:E}),Q}),C.prototype=A,A.constructor=C),(F||G)&&(N("delete"),N("has"),E&&N("get")),(G||D)&&N(x),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==I},P),p(C,m),T||S.setStrong(C,m,E),C}},93706:function(s,l,t){var r=t(94879),n=t(16885),e=t(71349),a=t(7831);s.exports=function(o,u,i){for(var v=n(u),f=a.f,c=e.f,d=0;d"+c+""}},10659:function(s){s.exports=function(l,t){return{value:l,done:t}}},90809:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=r?function(a,o,u){return n.f(a,o,e(1,u))}:function(a,o,u){return a[o]=u,a}},18526:function(s){s.exports=function(l,t){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:t}}},84082:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=function(a,o,u){r?n.f(a,o,e(0,u)):a[o]=u}},11890:function(s,l,t){var r=t(11286),n=t(72069),e=t(61607).start,a=RangeError,o=isFinite,u=Math.abs,i=Date.prototype,v=i.toISOString,f=r(i.getTime),c=r(i.getUTCDate),d=r(i.getUTCFullYear),h=r(i.getUTCHours),g=r(i.getUTCMilliseconds),p=r(i.getUTCMinutes),y=r(i.getUTCMonth),m=r(i.getUTCSeconds);s.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!o(f(this)))throw new a("Invalid time value");var S=this,E=d(S),T=g(S),x=E<0?"-":E>9999?"+":"";return x+e(u(E),x?6:4,0)+"-"+e(y(S)+1,2,0)+"-"+e(c(S),2,0)+"T"+e(h(S),2,0)+":"+e(p(S),2,0)+":"+e(m(S),2,0)+"."+e(T,3,0)+"Z"}:v},84306:function(s,l,t){var r=t(25001),n=t(2064),e=TypeError;s.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}},85500:function(s,l,t){var r=t(13749),n=t(7831);s.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}},16142:function(s,l,t){var r=t(23583),n=t(7831),e=t(13749),a=t(36003);s.exports=function(o,u,i,v){v||(v={});var f=v.enumerable,c=v.name!==void 0?v.name:u;if(r(i)&&e(i,c,v),v.global)f?o[u]=i:a(u,i);else{try{v.unsafe?o[u]&&(f=!0):delete o[u]}catch(d){}f?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},2725:function(s,l,t){var r=t(16142);s.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},36003:function(s,l,t){var r=t(34246),n=Object.defineProperty;s.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},12384:function(s,l,t){var r=t(82453),n=TypeError;s.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},92986:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(s,l,t){var r=t(34246),n=t(81191),e=t(99050),a=r.structuredClone,o=r.ArrayBuffer,u=r.MessageChannel,i=!1,v,f,c,d;if(e)i=function(h){a(h,{transfer:[h]})};else if(o)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(f=new u,c=new o(2),d=function(h){f.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(i=d)))}catch(h){}s.exports=i},85501:function(s,l,t){var r=t(34246),n=t(37540),e=r.document,a=n(e)&&n(e.createElement);s.exports=function(o){return a?e.createElement(o):{}}},20095:function(s){var l=TypeError,t=9007199254740991;s.exports=function(r){if(r>t)throw l("Maximum allowed index exceeded");return r}},74408:function(s){s.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(s,l,t){var r=t(85501),n=r("span").classList,e=n&&n.constructor&&n.constructor.prototype;s.exports=e===Object.prototype?void 0:e},75785:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(s,l,t){var r=t(18257),n=r.match(/firefox\/(\d+)/i);s.exports=!!n&&+n[1]},17417:function(s,l,t){var r=t(18257);s.exports=/MSIE|Trident/.test(r)},7307:function(s,l,t){var r=t(18257);s.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(s,l,t){var r=t(18257);s.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(s,l,t){var r=t(21501);s.exports=r==="NODE"},67722:function(s,l,t){var r=t(18257);s.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(s,l,t){var r=t(34246),n=r.navigator,e=n&&n.userAgent;s.exports=e?String(e):""},44241:function(s,l,t){var r=t(34246),n=t(18257),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,u=o&&o.v8,i,v;u&&(i=u.split("."),v=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!v&&n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(v=+i[1]))),s.exports=v},66577:function(s,l,t){var r=t(18257),n=r.match(/AppleWebKit\/(\d+)\./);s.exports=!!n&&+n[1]},21501:function(s,l,t){var r=t(34246),n=t(18257),e=t(14274),a=function(o){return n.slice(0,o.length)===o};s.exports=function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":e(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"}()},40851:function(s,l,t){var r=t(11286),n=Error,e=r("".replace),a=function(i){return String(new n(i).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,u=o.test(a);s.exports=function(i,v){if(u&&typeof i=="string"&&!n.prepareStackTrace)for(;v--;)i=e(i,o,"");return i}},97077:function(s,l,t){var r=t(90809),n=t(40851),e=t(16929),a=Error.captureStackTrace;s.exports=function(o,u,i,v){e&&(a?a(o,u):r(o,"stack",n(i,v)))}},16929:function(s,l,t){var r=t(72069),n=t(18526);s.exports=!r(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",n(1,7)),e.stack!==7):!0})},58434:function(s,l,t){var r=t(92986),n=t(72069),e=t(25001),a=t(15453),o=Error.prototype.toString,u=n(function(){if(r){var i=Object.create(Object.defineProperty({},"name",{get:function(){return this===i}}));if(o.call(i)!=="true")return!0}return o.call({message:1,name:2})!=="2: 1"||o.call({})!=="Error"});s.exports=u?function(){var v=e(this),f=a(v.name,"Error"),c=a(v.message);return f?c?f+": "+c:f:c}:o},14304:function(s,l,t){var r=t(34246),n=t(71349).f,e=t(90809),a=t(16142),o=t(36003),u=t(93706),i=t(13278);s.exports=function(v,f){var c=v.target,d=v.global,h=v.stat,g,p,y,m,O,S;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(O=f[y],v.dontCallGetSet?(S=n(p,y),m=S&&S.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof O==typeof m)continue;u(O,m)}(v.sham||m&&m.sham)&&e(O,"sham",!0),a(p,y,O,v)}}},72069:function(s){s.exports=function(l){try{return!!l()}catch(t){return!0}}},63194:function(s,l,t){t(31145);var r=t(96499),n=t(16142),e=t(44381),a=t(72069),o=t(18565),u=t(90809),i=o("species"),v=RegExp.prototype;s.exports=function(f,c,d,h){var g=o(f),p=!a(function(){var S={};return S[g]=function(){return 7},""[f](S)!==7}),y=p&&!a(function(){var S=!1,E=/a/;return f==="split"&&(E={},E.constructor={},E.constructor[i]=function(){return E},E.flags="",E[g]=/./[g]),E.exec=function(){return S=!0,null},E[g](""),!S});if(!p||!y||d){var m=/./[g],O=c(g,""[f],function(S,E,T,x,I){var A=E.exec;return A===e||A===v.exec?p&&!I?{done:!0,value:r(m,E,T,x)}:{done:!0,value:r(S,T,E,x)}:{done:!1}});n(String.prototype,f,O[0]),n(v,g,O[1])}h&&u(v[g],"sham",!0)}},53149:function(s,l,t){var r=t(3438),n=t(82628),e=t(20095),a=t(45526),o=function(u,i,v,f,c,d,h,g){for(var p=c,y=0,m=h?a(h,g):!1,O,S;y0&&r(O)?(S=n(O),p=o(u,i,O,S,p,d-1)-1):(e(p+1),u[p]=O),p++),y++;return p};s.exports=o},27534:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(s,l,t){var r=t(87878),n=Function.prototype,e=n.apply,a=n.call;s.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},45526:function(s,l,t){var r=t(77422),n=t(85156),e=t(87878),a=r(r.bind);s.exports=function(o,u){return n(o),u===void 0?o:e?a(o,u):function(){return o.apply(u,arguments)}}},87878:function(s,l,t){var r=t(72069);s.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(s,l,t){var r=t(11286),n=t(85156),e=t(37540),a=t(94879),o=t(22806),u=t(87878),i=Function,v=r([].concat),f=r([].join),c={},d=function(h,g,p){if(!a(c,g)){for(var y=[],m=0;m]*>)/g,v=/\$([$&'`]|\d{1,2})/g;s.exports=function(f,c,d,h,g,p){var y=d+f.length,m=h.length,O=v;return g!==void 0&&(g=n(g),O=i),o(p,O,function(S,E){var T;switch(a(E,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(E,1,-1)];break;default:var x=+E;if(x===0)return S;if(x>m){var I=e(x/10);return I===0?S:I<=m?h[I-1]===void 0?a(E,1):h[I-1]+a(E,1):S}T=h[x-1]}return T===void 0?"":T})}},34246:function(s){var l=function(t){return t&&t.Math===Math&&t};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof global=="object"&&global)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(s,l,t){var r=t(11286),n=t(49671),e=r({}.hasOwnProperty);s.exports=Object.hasOwn||function(o,u){return e(n(o),u)}},19423:function(s){s.exports={}},99095:function(s){s.exports=function(l,t){try{arguments.length===1?console.error(l):console.error(l,t)}catch(r){}}},96439:function(s,l,t){var r=t(38941);s.exports=r("document","documentElement")},52515:function(s,l,t){var r=t(92986),n=t(72069),e=t(85501);s.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(s){var l=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(i,v,f){var c=l(f),d=f*8-v-1,h=(1<>1,p=v===23?r(2,-24)-r(2,-77):0,y=i<0||i===0&&1/i<0?1:0,m=0,O,S,E;for(i=t(i),i!==i||i===1/0?(S=i!==i?1:0,O=h):(O=n(e(i)/a),E=r(2,-O),i*E<1&&(O--,E*=2),O+g>=1?i+=p/E:i+=p*r(2,1-g),i*E>=2&&(O++,E/=2),O+g>=h?(S=0,O=h):O+g>=1?(S=(i*E-1)*r(2,v),O+=g):(S=i*r(2,g-1)*r(2,v),O=0));v>=8;)c[m++]=S&255,S/=256,v-=8;for(O=O<0;)c[m++]=O&255,O/=256,d-=8;return c[m-1]|=y*128,c},u=function(i,v){var f=i.length,c=f*8-v-1,d=(1<>1,g=c-7,p=f-1,y=i[p--],m=y&127,O;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(O=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)O=O*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return O?NaN:y?-1/0:1/0;O+=r(2,v),m-=h}return(y?-1:1)*O*r(2,m-v)};s.exports={pack:o,unpack:u}},72181:function(s,l,t){var r=t(11286),n=t(72069),e=t(14274),a=Object,o=r("".split);s.exports=n(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return e(u)==="String"?o(u,""):a(u)}:a},32345:function(s,l,t){var r=t(23583),n=t(37540),e=t(15861);s.exports=function(a,o,u){var i,v;return e&&r(i=o.constructor)&&i!==u&&n(v=i.prototype)&&v!==u.prototype&&e(a,v),a}},84352:function(s,l,t){var r=t(11286),n=t(23583),e=t(70443),a=r(Function.toString);n(e.inspectSource)||(e.inspectSource=function(o){return a(o)}),s.exports=e.inspectSource},31486:function(s,l,t){var r=t(37540),n=t(90809);s.exports=function(e,a){r(a)&&"cause"in a&&n(e,"cause",a.cause)}},31853:function(s,l,t){var r=t(14304),n=t(11286),e=t(19423),a=t(37540),o=t(94879),u=t(7831).f,i=t(83258),v=t(92880),f=t(28174),c=t(36374),d=t(27534),h=!1,g=c("meta"),p=0,y=function(x){u(x,g,{value:{objectID:"O"+p++,weakData:{}}})},m=function(x,I){if(!a(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!o(x,g)){if(!f(x))return"F";if(!I)return"E";y(x)}return x[g].objectID},O=function(x,I){if(!o(x,g)){if(!f(x))return!0;if(!I)return!1;y(x)}return x[g].weakData},S=function(x){return d&&h&&f(x)&&!o(x,g)&&y(x),x},E=function(){T.enable=function(){},h=!0;var x=i.f,I=n([].splice),A={};A[g]=1,x(A).length&&(i.f=function(C){for(var P=x(C),N=0,$=P.length;N<$;N++)if(P[N]===g){I(P,N,1);break}return P},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},T=s.exports={enable:E,fastKey:m,getWeakData:O,onFreeze:S};e[g]=!0},82367:function(s,l,t){var r=t(42960),n=t(34246),e=t(37540),a=t(90809),o=t(94879),u=t(70443),i=t(44869),v=t(19423),f="Object already initialized",c=n.TypeError,d=n.WeakMap,h,g,p,y=function(E){return p(E)?g(E):h(E,{})},m=function(E){return function(T){var x;if(!e(T)||(x=g(T)).type!==E)throw new c("Incompatible receiver, "+E+" required");return x}};if(r||u.state){var O=u.state||(u.state=new d);O.get=O.get,O.has=O.has,O.set=O.set,h=function(E,T){if(O.has(E))throw new c(f);return T.facade=E,O.set(E,T),T},g=function(E){return O.get(E)||{}},p=function(E){return O.has(E)}}else{var S=i("state");v[S]=!0,h=function(E,T){if(o(E,S))throw new c(f);return T.facade=E,a(E,S,T),T},g=function(E){return o(E,S)?E[S]:{}},p=function(E){return o(E,S)}}s.exports={set:h,get:g,has:p,enforce:y,getterFor:m}},48199:function(s,l,t){var r=t(18565),n=t(29107),e=r("iterator"),a=Array.prototype;s.exports=function(o){return o!==void 0&&(n.Array===o||a[e]===o)}},3438:function(s,l,t){var r=t(14274);s.exports=Array.isArray||function(e){return r(e)==="Array"}},77129:function(s,l,t){var r=t(9205);s.exports=function(n){var e=r(n);return e==="BigInt64Array"||e==="BigUint64Array"}},23583:function(s){var l=typeof document=="object"&&document.all;s.exports=typeof l=="undefined"&&l!==void 0?function(t){return typeof t=="function"||t===l}:function(t){return typeof t=="function"}},11051:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(9205),o=t(38941),u=t(84352),i=function(){},v=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,c=r(f.exec),d=!f.test(i),h=function(y){if(!e(y))return!1;try{return v(i,[],y),!0}catch(m){return!1}},g=function(y){if(!e(y))return!1;switch(a(y)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(f,u(y))}catch(m){return!0}};g.sham=!0,s.exports=!v||n(function(){var p;return h(h.call)||!h(Object)||!h(function(){p=!0})||p})?g:h},69745:function(s,l,t){var r=t(94879);s.exports=function(n){return n!==void 0&&(r(n,"value")||r(n,"writable"))}},13278:function(s,l,t){var r=t(72069),n=t(23583),e=/#|\.prototype\./,a=function(f,c){var d=u[o(f)];return d===v?!0:d===i?!1:n(c)?r(c):!!c},o=a.normalize=function(f){return String(f).replace(e,".").toLowerCase()},u=a.data={},i=a.NATIVE="N",v=a.POLYFILL="P";s.exports=a},613:function(s,l,t){var r=t(37540),n=Math.floor;s.exports=Number.isInteger||function(a){return!r(a)&&isFinite(a)&&n(a)===a}},5683:function(s){s.exports=function(l){return l==null}},37540:function(s,l,t){var r=t(23583);s.exports=function(n){return typeof n=="object"?n!==null:r(n)}},52427:function(s,l,t){var r=t(37540);s.exports=function(n){return r(n)||n===null}},70457:function(s){s.exports=!1},11566:function(s,l,t){var r=t(37540),n=t(14274),e=t(18565),a=e("match");s.exports=function(o){var u;return r(o)&&((u=o[a])!==void 0?!!u:n(o)==="RegExp")}},491:function(s,l,t){var r=t(38941),n=t(23583),e=t(95307),a=t(50234),o=Object;s.exports=a?function(u){return typeof u=="symbol"}:function(u){var i=r("Symbol");return n(i)&&e(i.prototype,o(u))}},9573:function(s,l,t){var r=t(96499);s.exports=function(n,e,a){for(var o=a?n:n.iterator,u=n.next,i,v;!(i=r(u,o)).done;)if(v=e(i.value),v!==void 0)return v}},55902:function(s,l,t){var r=t(45526),n=t(96499),e=t(25001),a=t(82453),o=t(48199),u=t(82628),i=t(95307),v=t(90619),f=t(81077),c=t(99797),d=TypeError,h=function(p,y){this.stopped=p,this.result=y},g=h.prototype;s.exports=function(p,y,m){var O=m&&m.that,S=!!(m&&m.AS_ENTRIES),E=!!(m&&m.IS_RECORD),T=!!(m&&m.IS_ITERATOR),x=!!(m&&m.INTERRUPTED),I=r(y,O),A,C,P,N,$,U,D,F=function(G){return A&&c(A,"normal",G),new h(!0,G)},L=function(G){return S?(e(G),x?I(G[0],G[1],F):I(G[0],G[1])):x?I(G,F):I(G)};if(E)A=p.iterator;else if(T)A=p;else{if(C=f(p),!C)throw new d(a(p)+" is not iterable");if(o(C)){for(P=0,N=u(p);N>P;P++)if($=L(p[P]),$&&i(g,$))return $;return new h(!1)}A=v(p,C)}for(U=E?p.next:A.next;!(D=n(U,A)).done;){try{$=L(D.value)}catch(G){c(A,"throw",G)}if(typeof $=="object"&&$&&i(g,$))return $}return new h(!1)}},99797:function(s,l,t){var r=t(96499),n=t(25001),e=t(10512);s.exports=function(a,o,u){var i,v;n(a);try{if(i=e(a,"return"),!i){if(o==="throw")throw u;return u}i=r(i,a)}catch(f){v=!0,i=f}if(o==="throw")throw u;if(v)throw i;return n(i),u}},26820:function(s,l,t){var r=t(24519).IteratorPrototype,n=t(5406),e=t(18526),a=t(78401),o=t(29107),u=function(){return this};s.exports=function(i,v,f,c){var d=v+" Iterator";return i.prototype=n(r,{next:e(+!c,f)}),a(i,d,!1,!0),o[d]=u,i}},10218:function(s,l,t){var r=t(14304),n=t(96499),e=t(70457),a=t(86588),o=t(23583),u=t(26820),i=t(26313),v=t(15861),f=t(78401),c=t(90809),d=t(16142),h=t(18565),g=t(29107),p=t(24519),y=a.PROPER,m=a.CONFIGURABLE,O=p.IteratorPrototype,S=p.BUGGY_SAFARI_ITERATORS,E=h("iterator"),T="keys",x="values",I="entries",A=function(){return this};s.exports=function(C,P,N,$,U,D,F){u(N,P,$);var L=function(gt){if(gt===U&&X)return X;if(!S&>&> in H)return H[gt];switch(gt){case T:return function(){return new N(this,gt)};case x:return function(){return new N(this,gt)};case I:return function(){return new N(this,gt)}}return function(){return new N(this)}},G=P+" Iterator",Y=!1,H=C.prototype,Q=H[E]||H["@@iterator"]||U&&H[U],X=!S&&Q||L(U),st=P==="Array"&&H.entries||Q,et,lt,ht;if(st&&(et=i(st.call(new C)),et!==Object.prototype&&et.next&&(!e&&i(et)!==O&&(v?v(et,O):o(et[E])||d(et,E,A)),f(et,G,!0,!0),e&&(g[G]=A))),y&&U===x&&Q&&Q.name!==x&&(!e&&m?c(H,"name",x):(Y=!0,X=function(){return n(Q,this)})),U)if(lt={values:L(x),keys:D?X:L(T),entries:L(I)},F)for(ht in lt)(S||Y||!(ht in H))&&d(H,ht,lt[ht]);else r({target:P,proto:!0,forced:S||Y},lt);return(!e||F)&&H[E]!==X&&d(H,E,X,{name:U}),g[P]=X,lt}},24519:function(s,l,t){var r=t(72069),n=t(23583),e=t(37540),a=t(5406),o=t(26313),u=t(16142),i=t(18565),v=t(70457),f=i("iterator"),c=!1,d,h,g;[].keys&&(g=[].keys(),"next"in g?(h=o(o(g)),h!==Object.prototype&&(d=h)):c=!0);var p=!e(d)||r(function(){var y={};return d[f].call(y)!==y});p?d={}:v&&(d=a(d)),n(d[f])||u(d,f,function(){return this}),s.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c}},29107:function(s){s.exports={}},82628:function(s,l,t){var r=t(45344);s.exports=function(n){return r(n.length)}},13749:function(s,l,t){var r=t(11286),n=t(72069),e=t(23583),a=t(94879),o=t(92986),u=t(86588).CONFIGURABLE,i=t(84352),v=t(82367),f=v.enforce,c=v.get,d=String,h=Object.defineProperty,g=r("".slice),p=r("".replace),y=r([].join),m=o&&!n(function(){return h(function(){},"length",{value:8}).length!==8}),O=String(String).split("String"),S=s.exports=function(E,T,x){g(d(T),0,7)==="Symbol("&&(T="["+p(d(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),x&&x.getter&&(T="get "+T),x&&x.setter&&(T="set "+T),(!a(E,"name")||u&&E.name!==T)&&(o?h(E,"name",{value:T,configurable:!0}):E.name=T),m&&x&&a(x,"arity")&&E.length!==x.arity&&h(E,"length",{value:x.arity});try{x&&a(x,"constructor")&&x.constructor?o&&h(E,"prototype",{writable:!1}):E.prototype&&(E.prototype=void 0)}catch(A){}var I=f(E);return a(I,"source")||(I.source=y(O,typeof T=="string"?T:"")),E};Function.prototype.toString=S(function(){return e(this)&&c(this).source||i(this)},"toString")},1774:function(s,l,t){var r=t(11286),n=Map.prototype;s.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(s){var l=Math.expm1,t=Math.exp;s.exports=!l||l(10)>22025.465794806718||l(10)<22025.465794806718||l(-2e-17)!==-2e-17?function(n){var e=+n;return e===0?e:e>-1e-6&&e<1e-6?e+e*e/2:t(e)-1}:l},10418:function(s,l,t){var r=t(93976),n=Math.abs,e=2220446049250313e-31,a=1/e,o=function(u){return u+a-a};s.exports=function(u,i,v,f){var c=+u,d=n(c),h=r(c);if(dv||p!==p?h*(1/0):h*p}},93279:function(s,l,t){var r=t(10418),n=11920928955078125e-23,e=34028234663852886e22,a=11754943508222875e-54;s.exports=Math.fround||function(u){return r(u,n,e,a)}},41942:function(s){var l=Math.log,t=Math.LOG10E;s.exports=Math.log10||function(n){return l(n)*t}},49366:function(s){var l=Math.log;s.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:l(1+n)}},93976:function(s){s.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(s){var l=Math.ceil,t=Math.floor;s.exports=Math.trunc||function(n){var e=+n;return(e>0?t:l)(e)}},9709:function(s,l,t){var r=t(34246),n=t(28167),e=t(45526),a=t(23115).set,o=t(76895),u=t(5286),i=t(7307),v=t(67722),f=t(91707),c=r.MutationObserver||r.WebKitMutationObserver,d=r.document,h=r.process,g=r.Promise,p=n("queueMicrotask"),y,m,O,S,E;if(!p){var T=new o,x=function(){var I,A;for(f&&(I=h.domain)&&I.exit();A=T.get();)try{A()}catch(C){throw T.head&&y(),C}I&&I.enter()};!u&&!f&&!v&&c&&d?(m=!0,O=d.createTextNode(""),new c(x).observe(O,{characterData:!0}),y=function(){O.data=m=!m}):!i&&g&&g.resolve?(S=g.resolve(void 0),S.constructor=g,E=e(S.then,S),y=function(){E(x)}):f?y=function(){h.nextTick(x)}:(a=e(a,r),y=function(){a(x)}),p=function(I){T.head||y(),T.add(I)}}s.exports=p},24649:function(s,l,t){var r=t(85156),n=TypeError,e=function(a){var o,u;this.promise=new a(function(i,v){if(o!==void 0||u!==void 0)throw new n("Bad Promise constructor");o=i,u=v}),this.resolve=r(o),this.reject=r(u)};s.exports.f=function(a){return new e(a)}},15453:function(s,l,t){var r=t(17361);s.exports=function(n,e){return n===void 0?arguments.length<2?"":e:r(n)}},92337:function(s,l,t){var r=t(11566),n=TypeError;s.exports=function(e){if(r(e))throw new n("The method doesn't accept regular expressions");return e}},98074:function(s,l,t){var r=t(34246),n=r.isFinite;s.exports=Number.isFinite||function(a){return typeof a=="number"&&n(a)}},25838:function(s,l,t){var r=t(34246),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=e("".charAt),v=r.parseFloat,f=r.Symbol,c=f&&f.iterator,d=1/v(u+"-0")!==-1/0||c&&!n(function(){v(Object(c))});s.exports=d?function(g){var p=o(a(g)),y=v(p);return y===0&&i(p,0)==="-"?-0:y}:v},23009:function(s,l,t){var r=t(34246),n=t(72069),e=t(11286),a=t(17361),o=t(85900).trim,u=t(77082),i=r.parseInt,v=r.Symbol,f=v&&v.iterator,c=/^[+-]?0x/i,d=e(c.exec),h=i(u+"08")!==8||i(u+"0x16")!==22||f&&!n(function(){i(Object(f))});s.exports=h?function(p,y){var m=o(a(p));return i(m,y>>>0||(d(c,m)?16:10))}:i},16667:function(s,l,t){var r=t(92986),n=t(11286),e=t(96499),a=t(72069),o=t(18350),u=t(24943),i=t(79591),v=t(49671),f=t(72181),c=Object.assign,d=Object.defineProperty,h=n([].concat);s.exports=!c||a(function(){if(r&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},p={},y=Symbol("assign detection"),m="abcdefghijklmnopqrst";return g[y]=7,m.split("").forEach(function(O){p[O]=O}),c({},g)[y]!==7||o(c({},p)).join("")!==m})?function(p,y){for(var m=v(p),O=arguments.length,S=1,E=u.f,T=i.f;O>S;)for(var x=f(arguments[S++]),I=E?h(o(x),E(x)):o(x),A=I.length,C=0,P;A>C;)P=I[C++],(!r||e(T,x,P))&&(m[P]=x[P]);return m}:c},5406:function(s,l,t){var r=t(25001),n=t(61963),e=t(75785),a=t(19423),o=t(96439),u=t(85501),i=t(44869),v=">",f="<",c="prototype",d="script",h=i("IE_PROTO"),g=function(){},p=function(E){return f+d+v+E+f+"/"+d+v},y=function(E){E.write(p("")),E.close();var T=E.parentWindow.Object;return E=null,T},m=function(){var E=u("iframe"),T="java"+d+":",x;return E.style.display="none",o.appendChild(E),E.src=String(T),x=E.contentWindow.document,x.open(),x.write(p("document.F=Object")),x.close(),x.F},O,S=function(){try{O=new ActiveXObject("htmlfile")}catch(T){}S=typeof document!="undefined"?document.domain&&O?y(O):m():y(O);for(var E=e.length;E--;)delete S[c][e[E]];return S()};a[h]=!0,s.exports=Object.create||function(T,x){var I;return T!==null?(g[c]=r(T),I=new g,g[c]=null,I[h]=T):I=S(),x===void 0?I:n.f(I,x)}},61963:function(s,l,t){var r=t(92986),n=t(356),e=t(7831),a=t(25001),o=t(36859),u=t(18350);l.f=r&&!n?Object.defineProperties:function(v,f){a(v);for(var c=o(f),d=u(f),h=d.length,g=0,p;h>g;)e.f(v,p=d[g++],c[p]);return v}},7831:function(s,l,t){var r=t(92986),n=t(52515),e=t(356),a=t(25001),o=t(50035),u=TypeError,i=Object.defineProperty,v=Object.getOwnPropertyDescriptor,f="enumerable",c="configurable",d="writable";l.f=r?e?function(g,p,y){if(a(g),p=o(p),a(y),typeof g=="function"&&p==="prototype"&&"value"in y&&d in y&&!y[d]){var m=v(g,p);m&&m[d]&&(g[p]=y.value,y={configurable:c in y?y[c]:m[c],enumerable:f in y?y[f]:m[f],writable:!1})}return i(g,p,y)}:i:function(g,p,y){if(a(g),p=o(p),a(y),n)try{return i(g,p,y)}catch(m){}if("get"in y||"set"in y)throw new u("Accessors not supported");return"value"in y&&(g[p]=y.value),g}},71349:function(s,l,t){var r=t(92986),n=t(96499),e=t(79591),a=t(18526),o=t(36859),u=t(50035),i=t(94879),v=t(52515),f=Object.getOwnPropertyDescriptor;l.f=r?f:function(d,h){if(d=o(d),h=u(h),v)try{return f(d,h)}catch(g){}if(i(d,h))return a(!n(e.f,d,h),d[h])}},92880:function(s,l,t){var r=t(14274),n=t(36859),e=t(83258).f,a=t(22806),o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(i){try{return e(i)}catch(v){return a(o)}};s.exports.f=function(v){return o&&r(v)==="Window"?u(v):e(n(v))}},83258:function(s,l,t){var r=t(6242),n=t(75785),e=n.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(o){return r(o,e)}},24943:function(s,l){l.f=Object.getOwnPropertySymbols},26313:function(s,l,t){var r=t(94879),n=t(23583),e=t(49671),a=t(44869),o=t(87501),u=a("IE_PROTO"),i=Object,v=i.prototype;s.exports=o?i.getPrototypeOf:function(f){var c=e(f);if(r(c,u))return c[u];var d=c.constructor;return n(d)&&c instanceof d?d.prototype:c instanceof i?v:null}},28174:function(s,l,t){var r=t(72069),n=t(37540),e=t(14274),a=t(72058),o=Object.isExtensible,u=r(function(){o(1)});s.exports=u||a?function(v){return!n(v)||a&&e(v)==="ArrayBuffer"?!1:o?o(v):!0}:o},95307:function(s,l,t){var r=t(11286);s.exports=r({}.isPrototypeOf)},6242:function(s,l,t){var r=t(11286),n=t(94879),e=t(36859),a=t(94319).indexOf,o=t(19423),u=r([].push);s.exports=function(i,v){var f=e(i),c=0,d=[],h;for(h in f)!n(o,h)&&n(f,h)&&u(d,h);for(;v.length>c;)n(f,h=v[c++])&&(~a(d,h)||u(d,h));return d}},18350:function(s,l,t){var r=t(6242),n=t(75785);s.exports=Object.keys||function(a){return r(a,n)}},79591:function(s,l){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);l.f=n?function(a){var o=r(this,a);return!!o&&o.enumerable}:t},57629:function(s,l,t){var r=t(70457),n=t(34246),e=t(72069),a=t(66577);s.exports=r||!e(function(){if(!(a&&a<535)){var o=Math.random();__defineSetter__.call(null,o,function(){}),delete n[o]}})},15861:function(s,l,t){var r=t(84756),n=t(37540),e=t(2068),a=t(53408);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,u={},i;try{i=r(Object.prototype,"__proto__","set"),i(u,[]),o=u instanceof Array}catch(v){}return function(f,c){return e(f),a(c),n(f)&&(o?i(f,c):f.__proto__=c),f}}():void 0)},8511:function(s,l,t){var r=t(92986),n=t(72069),e=t(11286),a=t(26313),o=t(18350),u=t(36859),i=t(79591).f,v=e(i),f=e([].push),c=r&&n(function(){var h=Object.create(null);return h[2]=2,!v(h,2)}),d=function(h){return function(g){for(var p=u(g),y=o(p),m=c&&a(p)===null,O=y.length,S=0,E=[],T;O>S;)T=y[S++],(!r||(m?T in p:v(p,T)))&&f(E,h?[T,p[T]]:p[T]);return E}};s.exports={entries:d(!0),values:d(!1)}},60105:function(s,l,t){var r=t(67878),n=t(9205);s.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(s,l,t){var r=t(96499),n=t(23583),e=t(37540),a=TypeError;s.exports=function(o,u){var i,v;if(u==="string"&&n(i=o.toString)&&!e(v=r(i,o))||n(i=o.valueOf)&&!e(v=r(i,o))||u!=="string"&&n(i=o.toString)&&!e(v=r(i,o)))return v;throw new a("Can't convert object to primitive value")}},16885:function(s,l,t){var r=t(38941),n=t(11286),e=t(83258),a=t(24943),o=t(25001),u=n([].concat);s.exports=r("Reflect","ownKeys")||function(v){var f=e.f(o(v)),c=a.f;return c?u(f,c(v)):f}},75081:function(s,l,t){var r=t(34246);s.exports=r},67805:function(s){s.exports=function(l){try{return{error:!1,value:l()}}catch(t){return{error:!0,value:t}}}},37130:function(s,l,t){var r=t(34246),n=t(98844),e=t(23583),a=t(13278),o=t(84352),u=t(18565),i=t(21501),v=t(70457),f=t(44241),c=n&&n.prototype,d=u("species"),h=!1,g=e(r.PromiseRejectionEvent),p=a("Promise",function(){var y=o(n),m=y!==String(n);if(!m&&f===66||v&&!(c.catch&&c.finally))return!0;if(!f||f<51||!/native code/.test(y)){var O=new n(function(T){T(1)}),S=function(T){T(function(){},function(){})},E=O.constructor={};if(E[d]=S,h=O.then(function(){})instanceof S,!h)return!0}return!m&&(i==="BROWSER"||i==="DENO")&&!g});s.exports={CONSTRUCTOR:p,REJECTION_EVENT:g,SUBCLASSING:h}},98844:function(s,l,t){var r=t(34246);s.exports=r.Promise},87408:function(s,l,t){var r=t(25001),n=t(37540),e=t(24649);s.exports=function(a,o){if(r(a),n(o)&&o.constructor===a)return o;var u=e.f(a),i=u.resolve;return i(o),u.promise}},26035:function(s,l,t){var r=t(98844),n=t(97494),e=t(37130).CONSTRUCTOR;s.exports=e||!n(function(a){r.all(a).then(void 0,function(){})})},2594:function(s,l,t){var r=t(7831).f;s.exports=function(n,e,a){a in n||r(n,a,{configurable:!0,get:function(){return e[a]},set:function(o){e[a]=o}})}},76895:function(s){var l=function(){this.head=null,this.tail=null};l.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},s.exports=l},33064:function(s,l,t){var r=t(96499),n=t(25001),e=t(23583),a=t(14274),o=t(44381),u=TypeError;s.exports=function(i,v){var f=i.exec;if(e(f)){var c=r(f,i,v);return c!==null&&n(c),c}if(a(i)==="RegExp")return r(o,i,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(s,l,t){var r=t(96499),n=t(11286),e=t(17361),a=t(29833),o=t(39807),u=t(96731),i=t(5406),v=t(82367).get,f=t(76769),c=t(85220),d=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,g=h,p=n("".charAt),y=n("".indexOf),m=n("".replace),O=n("".slice),S=function(){var I=/a/,A=/b*/g;return r(h,I,"a"),r(h,A,"a"),I.lastIndex!==0||A.lastIndex!==0}(),E=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,x=S||T||E||f||c;x&&(g=function(A){var C=this,P=v(C),N=e(A),$=P.raw,U,D,F,L,G,Y,H;if($)return $.lastIndex=C.lastIndex,U=r(g,$,N),C.lastIndex=$.lastIndex,U;var Q=P.groups,X=E&&C.sticky,st=r(a,C),et=C.source,lt=0,ht=N;if(X&&(st=m(st,"y",""),y(st,"g")===-1&&(st+="g"),ht=O(N,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&p(N,C.lastIndex-1)!==` `)&&(et="(?: "+et+")",ht=" "+ht,lt++),D=new RegExp("^(?:"+et+")",st)),T&&(D=new RegExp("^"+et+"$(?!\\s)",st)),S&&(F=C.lastIndex),L=r(h,X?D:C,ht),X?L?(L.input=O(L.input,lt),L[0]=O(L[0],lt),L.index=C.lastIndex,C.lastIndex+=L[0].length):C.lastIndex=0:S&&L&&(C.lastIndex=C.global?L.index+L[0].length:F),T&&L&&L.length>1&&r(d,L[0],D,function(){for(G=1;Gb)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$c")!=="bc"})},2068:function(s,l,t){var r=t(5683),n=TypeError;s.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}},28167:function(s,l,t){var r=t(34246),n=t(92986),e=Object.getOwnPropertyDescriptor;s.exports=function(a){if(!n)return r[a];var o=e(r,a);return o&&o.value}},13944:function(s){s.exports=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}},9934:function(s,l,t){var r=t(34246),n=t(66543),e=t(23583),a=t(21501),o=t(18257),u=t(22806),i=t(95486),v=r.Function,f=/MSIE .\./.test(o)||a==="BUN"&&function(){var c=r.Bun.version.split(".");return c.length<3||c[0]==="0"&&(c[1]<3||c[1]==="3"&&c[2]==="0")}();s.exports=function(c,d){var h=d?2:1;return f?function(g,p){var y=i(arguments.length,1)>h,m=e(g)?g:v(g),O=y?u(arguments,h):[],S=y?function(){n(m,this,O)}:m;return d?c(S,p):c(S)}:c}},48348:function(s,l,t){var r=t(172),n=t(35051),e=r.Set,a=r.add;s.exports=function(o){var u=new e;return n(o,function(i){a(u,i)}),u}},41754:function(s,l,t){var r=t(76602),n=t(172),e=t(48348),a=t(17768),o=t(65263),u=t(35051),i=t(9573),v=n.has,f=n.remove;s.exports=function(d){var h=r(this),g=o(d),p=e(h);return a(h)<=g.size?u(h,function(y){g.includes(y)&&f(p,y)}):i(g.getIterator(),function(y){v(h,y)&&f(p,y)}),p}},172:function(s,l,t){var r=t(11286),n=Set.prototype;s.exports={Set,add:r(n.add),has:r(n.has),remove:r(n.delete),proto:n}},92292:function(s,l,t){var r=t(76602),n=t(172),e=t(17768),a=t(65263),o=t(35051),u=t(9573),i=n.Set,v=n.add,f=n.has;s.exports=function(d){var h=r(this),g=a(d),p=new i;return e(h)>g.size?u(g.getIterator(),function(y){f(h,y)&&v(p,y)}):o(h,function(y){g.includes(y)&&v(p,y)}),p}},47391:function(s,l,t){var r=t(76602),n=t(172).has,e=t(17768),a=t(65263),o=t(35051),u=t(9573),i=t(99797);s.exports=function(f){var c=r(this),d=a(f);if(e(c)<=d.size)return o(c,function(g){if(d.includes(g))return!1},!0)!==!1;var h=d.getIterator();return u(h,function(g){if(n(c,g))return i(h,"normal",!1)})!==!1}},75492:function(s,l,t){var r=t(76602),n=t(17768),e=t(35051),a=t(65263);s.exports=function(u){var i=r(this),v=a(u);return n(i)>v.size?!1:e(i,function(f){if(!v.includes(f))return!1},!0)!==!1}},1333:function(s,l,t){var r=t(76602),n=t(172).has,e=t(17768),a=t(65263),o=t(9573),u=t(99797);s.exports=function(v){var f=r(this),c=a(v);if(e(f)3})}},22149:function(s,l,t){var r=t(11286),n=t(12105),e=t(17361),a=t(2068),o=r("".charAt),u=r("".charCodeAt),i=r("".slice),v=function(f){return function(c,d){var h=e(a(c)),g=n(d),p=h.length,y,m;return g<0||g>=p?f?"":void 0:(y=u(h,g),y<55296||y>56319||g+1===p||(m=u(h,g+1))<56320||m>57343?f?o(h,g):y:f?i(h,g,g+2):(y-55296<<10)+(m-56320)+65536)}};s.exports={codeAt:v(!1),charAt:v(!0)}},36945:function(s,l,t){var r=t(18257);s.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},61607:function(s,l,t){var r=t(11286),n=t(45344),e=t(17361),a=t(79719),o=t(2068),u=r(a),i=r("".slice),v=Math.ceil,f=function(c){return function(d,h,g){var p=e(o(d)),y=n(h),m=p.length,O=g===void 0?" ":e(g),S,E;return y<=m||O===""?p:(S=y-m,E=u(O,v(S/O.length)),E.length>S&&(E=i(E,0,S)),c?p+E:E+p)}};s.exports={start:f(!1),end:f(!0)}},38679:function(s,l,t){var r=t(11286),n=2147483647,e=36,a=1,o=26,u=38,i=700,v=72,f=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",p=e-a,y=RangeError,m=r(h.exec),O=Math.floor,S=String.fromCharCode,E=r("".charCodeAt),T=r([].join),x=r([].push),I=r("".replace),A=r("".split),C=r("".toLowerCase),P=function(D){for(var F=[],L=0,G=D.length;L=55296&&Y<=56319&&L>1,D+=O(D/F);D>p*o>>1;)D=O(D/p),G+=e;return O(G+(p+1)*D/(D+u))},U=function(D){var F=[];D=P(D);var L=D.length,G=f,Y=0,H=v,Q,X;for(Q=0;Q=G&&XO((n-Y)/ht))throw new y(g);for(Y+=(lt-G)*ht,G=lt,Q=0;Qn)throw new y(g);if(X===G){for(var gt=Y,Lt=e;;){var Ft=Lt<=H?a:Lt>=H+o?o:Lt-H;if(gt0;(f>>>=1)&&(i+=i))f&1&&(v+=i);return v}},75176:function(s,l,t){var r=t(85900).end,n=t(33328);s.exports=n("trimEnd")?function(){return r(this)}:"".trimEnd},33328:function(s,l,t){var r=t(86588).PROPER,n=t(72069),e=t(77082),a="\u200B\x85\u180E";s.exports=function(o){return n(function(){return!!e[o]()||a[o]()!==a||r&&e[o].name!==o})}},83481:function(s,l,t){var r=t(85900).start,n=t(33328);s.exports=n("trimStart")?function(){return r(this)}:"".trimStart},85900:function(s,l,t){var r=t(11286),n=t(2068),e=t(17361),a=t(77082),o=r("".replace),u=RegExp("^["+a+"]+"),i=RegExp("(^|[^"+a+"])["+a+"]+$"),v=function(f){return function(c){var d=e(n(c));return f&1&&(d=o(d,u,"")),f&2&&(d=o(d,i,"$1")),d}};s.exports={start:v(1),end:v(2),trim:v(3)}},99050:function(s,l,t){var r=t(34246),n=t(72069),e=t(44241),a=t(21501),o=r.structuredClone;s.exports=!!o&&!n(function(){if(a==="DENO"&&e>92||a==="NODE"&&e>94||a==="BROWSER"&&e>97)return!1;var u=new ArrayBuffer(8),i=o(u,{transfer:[u]});return u.byteLength!==0||i.byteLength!==8})},39729:function(s,l,t){var r=t(44241),n=t(72069),e=t(34246),a=e.String;s.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return!a(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})},60796:function(s,l,t){var r=t(96499),n=t(38941),e=t(18565),a=t(16142);s.exports=function(){var o=n("Symbol"),u=o&&o.prototype,i=u&&u.valueOf,v=e("toPrimitive");u&&!u[v]&&a(u,v,function(f){return r(i,this)},{arity:1})}},61190:function(s,l,t){var r=t(39729);s.exports=r&&!!Symbol.for&&!!Symbol.keyFor},23115:function(s,l,t){var r=t(34246),n=t(66543),e=t(45526),a=t(23583),o=t(94879),u=t(72069),i=t(96439),v=t(22806),f=t(85501),c=t(95486),d=t(5286),h=t(91707),g=r.setImmediate,p=r.clearImmediate,y=r.process,m=r.Dispatch,O=r.Function,S=r.MessageChannel,E=r.String,T=0,x={},I="onreadystatechange",A,C,P,N;u(function(){A=r.location});var $=function(L){if(o(x,L)){var G=x[L];delete x[L],G()}},U=function(L){return function(){$(L)}},D=function(L){$(L.data)},F=function(L){r.postMessage(E(L),A.protocol+"//"+A.host)};(!g||!p)&&(g=function(G){c(arguments.length,1);var Y=a(G)?G:O(G),H=v(arguments,1);return x[++T]=function(){n(Y,void 0,H)},C(T),T},p=function(G){delete x[G]},h?C=function(L){y.nextTick(U(L))}:m&&m.now?C=function(L){m.now(U(L))}:S&&!d?(P=new S,N=P.port2,P.port1.onmessage=D,C=e(N.postMessage,N)):r.addEventListener&&a(r.postMessage)&&!r.importScripts&&A&&A.protocol!=="file:"&&!u(F)?(C=F,r.addEventListener("message",D,!1)):I in f("script")?C=function(L){i.appendChild(f("script"))[I]=function(){i.removeChild(this),$(L)}}:C=function(L){setTimeout(U(L),0)}),s.exports={set:g,clear:p}},34338:function(s,l,t){var r=t(11286);s.exports=r(1 .valueOf)},4652:function(s,l,t){var r=t(12105),n=Math.max,e=Math.min;s.exports=function(a,o){var u=r(a);return u<0?n(u+o,0):e(u,o)}},11344:function(s,l,t){var r=t(89935),n=TypeError;s.exports=function(e){var a=r(e,"number");if(typeof a=="number")throw new n("Can't convert number to bigint");return BigInt(a)}},9450:function(s,l,t){var r=t(12105),n=t(45344),e=RangeError;s.exports=function(a){if(a===void 0)return 0;var o=r(a),u=n(o);if(o!==u)throw new e("Wrong length or index");return u}},36859:function(s,l,t){var r=t(72181),n=t(2068);s.exports=function(e){return r(n(e))}},12105:function(s,l,t){var r=t(22459);s.exports=function(n){var e=+n;return e!==e||e===0?0:r(e)}},45344:function(s,l,t){var r=t(12105),n=Math.min;s.exports=function(e){var a=r(e);return a>0?n(a,9007199254740991):0}},49671:function(s,l,t){var r=t(2068),n=Object;s.exports=function(e){return n(r(e))}},58143:function(s,l,t){var r=t(98072),n=RangeError;s.exports=function(e,a){var o=r(e);if(o%a)throw new n("Wrong offset");return o}},98072:function(s,l,t){var r=t(12105),n=RangeError;s.exports=function(e){var a=r(e);if(a<0)throw new n("The argument can't be less than 0");return a}},89935:function(s,l,t){var r=t(96499),n=t(37540),e=t(491),a=t(10512),o=t(2064),u=t(18565),i=TypeError,v=u("toPrimitive");s.exports=function(f,c){if(!n(f)||e(f))return f;var d=a(f,v),h;if(d){if(c===void 0&&(c="default"),h=r(d,f,c),!n(h)||e(h))return h;throw new i("Can't convert object to primitive value")}return c===void 0&&(c="number"),o(f,c)}},50035:function(s,l,t){var r=t(89935),n=t(491);s.exports=function(e){var a=r(e,"string");return n(a)?a:a+""}},67878:function(s,l,t){var r=t(18565),n=r("toStringTag"),e={};e[n]="z",s.exports=String(e)==="[object z]"},17361:function(s,l,t){var r=t(9205),n=String;s.exports=function(e){if(r(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},76517:function(s){var l=Math.round;s.exports=function(t){var r=l(t);return r<0?0:r>255?255:r&255}},82453:function(s){var l=String;s.exports=function(t){try{return l(t)}catch(r){return"Object"}}},80357:function(s,l,t){var r=t(14304),n=t(34246),e=t(96499),a=t(92986),o=t(46868),u=t(88037),i=t(17468),v=t(12833),f=t(18526),c=t(90809),d=t(613),h=t(45344),g=t(9450),p=t(58143),y=t(76517),m=t(50035),O=t(94879),S=t(9205),E=t(37540),T=t(491),x=t(5406),I=t(95307),A=t(15861),C=t(83258).f,P=t(66169),N=t(66655).forEach,$=t(36167),U=t(85500),D=t(7831),F=t(71349),L=t(5220),G=t(82367),Y=t(32345),H=G.get,Q=G.set,X=G.enforce,st=D.f,et=F.f,lt=n.RangeError,ht=i.ArrayBuffer,gt=ht.prototype,Lt=i.DataView,Ft=u.NATIVE_ARRAY_BUFFER_VIEWS,Pt=u.TYPED_ARRAY_TAG,at=u.TypedArray,vt=u.TypedArrayPrototype,St=u.isTypedArray,Rt="BYTES_PER_ELEMENT",It="Wrong length",Nt=function(Vt,$t){U(Vt,$t,{configurable:!0,get:function(){return H(this)[$t]}})},Ht=function(Vt){var $t;return I(gt,Vt)||($t=S(Vt))==="ArrayBuffer"||$t==="SharedArrayBuffer"},Wt=function(Vt,$t){return St(Vt)&&!T($t)&&$t in Vt&&d(+$t)&&$t>=0},bt=function($t,Mt){return Mt=m(Mt),Wt($t,Mt)?f(2,$t[Mt]):et($t,Mt)},Ct=function($t,Mt,q){return Mt=m(Mt),Wt($t,Mt)&&E(q)&&O(q,"value")&&!O(q,"get")&&!O(q,"set")&&!q.configurable&&(!O(q,"writable")||q.writable)&&(!O(q,"enumerable")||q.enumerable)?($t[Mt]=q.value,$t):st($t,Mt,q)};a?(Ft||(F.f=bt,D.f=Ct,Nt(vt,"buffer"),Nt(vt,"byteOffset"),Nt(vt,"byteLength"),Nt(vt,"length")),r({target:"Object",stat:!0,forced:!Ft},{getOwnPropertyDescriptor:bt,defineProperty:Ct}),s.exports=function(Vt,$t,Mt){var q=Vt.match(/\d+/)[0]/8,ut=Vt+(Mt?"Clamped":"")+"Array",J="get"+Vt,yt="set"+Vt,pt=n[ut],ct=pt,ft=ct&&ct.prototype,zt={},Yt=function(j,z){var b=H(j);return b.view[J](z*q+b.byteOffset,!0)},W=function(j,z,b){var ot=H(j);ot.view[yt](z*q+ot.byteOffset,Mt?y(b):b,!0)},k=function(j,z){st(j,z,{get:function(){return Yt(this,z)},set:function(b){return W(this,z,b)},enumerable:!0})};Ft?o&&(ct=$t(function(j,z,b,ot){return v(j,ft),Y(function(){return E(z)?Ht(z)?ot!==void 0?new pt(z,p(b,q),ot):b!==void 0?new pt(z,p(b,q)):new pt(z):St(z)?L(ct,z):e(P,ct,z):new pt(g(z))}(),j,ct)}),A&&A(ct,at),N(C(pt),function(j){j in ct||c(ct,j,pt[j])}),ct.prototype=ft):(ct=$t(function(j,z,b,ot){v(j,ft);var mt=0,At=0,Bt,jt,Ut;if(!E(z))Ut=g(z),jt=Ut*q,Bt=new ht(jt);else if(Ht(z)){Bt=z,At=p(b,q);var Qt=z.byteLength;if(ot===void 0){if(Qt%q)throw new lt(It);if(jt=Qt-At,jt<0)throw new lt(It)}else if(jt=h(ot)*q,jt+At>Qt)throw new lt(It);Ut=jt/q}else return St(z)?L(ct,z):e(P,ct,z);for(Q(j,{buffer:Bt,byteOffset:At,byteLength:jt,length:Ut,view:new Lt(Bt)});mt1?arguments[1]:void 0,S=O!==void 0,E=i(y),T,x,I,A,C,P,N,$;if(E&&!v(E))for(N=u(y,E),$=N.next,y=[];!(P=n($,N)).done;)y.push(P.value);for(S&&m>2&&(O=r(O,arguments[2])),x=o(y),I=new(c(p))(x),A=f(I),T=0;x>T;T++)C=S?O(y[T],T):y[T],I[T]=A?d(C):+C;return I}},21822:function(s,l,t){var r=t(88037),n=t(16887),e=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;s.exports=function(o){return e(n(o,a(o)))}},36374:function(s,l,t){var r=t(11286),n=0,e=Math.random(),a=r(1 .toString);s.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+a(++n+e,36)}},91918:function(s,l,t){var r=t(72069),n=t(18565),e=t(92986),a=t(70457),o=n("iterator");s.exports=!r(function(){var u=new URL("b?a=1&b=2&c=3","https://a"),i=u.searchParams,v=new URLSearchParams("a=1&a=2&b=3"),f="";return u.pathname="c%20d",i.forEach(function(c,d){i.delete("b"),f+=d+c}),v.delete("a",2),v.delete("b",void 0),a&&(!u.toJSON||!v.has("a",1)||v.has("a",2)||!v.has("a",void 0)||v.has("b"))||!i.size&&(a||!e)||!i.sort||u.href!=="https://a/c%20d?a=1&c=3"||i.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!i[o]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("https://a#\u0431").hash!=="#%D0%B1"||f!=="a1c3"||new URL("https://x",void 0).host!=="x"})},50234:function(s,l,t){var r=t(39729);s.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(s,l,t){var r=t(92986),n=t(72069);s.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(s){var l=TypeError;s.exports=function(t,r){if(tE&&c(D,arguments[E]),D});if(P.prototype=A,x!=="Error"?o?o(P,C):u(P,C,{name:!0}):h&&S in I&&(i(P,I,S),i(P,I,"prepareStackTrace")),u(P,I),!g)try{A.name!==x&&e(A,"name",x),A.constructor=P}catch(N){}return P}}},27796:function(s,l,t){var r=t(14304),n=t(38941),e=t(66543),a=t(72069),o=t(70003),u="AggregateError",i=n(u),v=!a(function(){return i([1]).errors[0]!==1})&&a(function(){return i([1],u,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:o(u,function(f){return function(d,h){return e(f,this,arguments)}},v,!0)})},85647:function(s,l,t){var r=t(14304),n=t(95307),e=t(26313),a=t(15861),o=t(93706),u=t(5406),i=t(90809),v=t(18526),f=t(31486),c=t(97077),d=t(55902),h=t(15453),g=t(18565),p=g("toStringTag"),y=Error,m=[].push,O=function(T,x){var I=n(S,this),A;a?A=a(new y,I?e(this):S):(A=I?this:u(S),i(A,p,"Error")),x!==void 0&&i(A,"message",h(x)),c(A,O,A.stack,1),arguments.length>2&&f(A,arguments[2]);var C=[];return d(T,m,{that:C}),i(A,"errors",C),A};a?a(O,y):o(O,y,{name:!0});var S=O.prototype=u(y.prototype,{constructor:v(1,O),message:v(1,""),name:v(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:O})},42861:function(s,l,t){t(85647)},35473:function(s,l,t){var r=t(14304),n=t(34246),e=t(17468),a=t(36167),o="ArrayBuffer",u=e[o],i=n[o];r({global:!0,constructor:!0,forced:i!==u},{ArrayBuffer:u}),a(o)},35495:function(s,l,t){var r=t(92986),n=t(85500),e=t(30736),a=ArrayBuffer.prototype;r&&!("detached"in a)&&n(a,"detached",{configurable:!0,get:function(){return e(this)}})},4983:function(s,l,t){var r=t(14304),n=t(88037),e=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!e},{isView:n.isView})},6875:function(s,l,t){var r=t(14304),n=t(77422),e=t(72069),a=t(17468),o=t(25001),u=t(4652),i=t(45344),v=t(16887),f=a.ArrayBuffer,c=a.DataView,d=c.prototype,h=n(f.prototype.slice),g=n(d.getUint8),p=n(d.setUint8),y=e(function(){return!new f(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:y},{slice:function(O,S){if(h&&S===void 0)return h(o(this),O);for(var E=o(this).byteLength,T=u(O,E),x=u(S===void 0?E:S,E),I=new(v(this,f))(i(x-T)),A=new c(this),C=new c(I),P=0;T=0?c:f+c;return d<0||d>=f?void 0:v[d]}}),o("at")},98700:function(s,l,t){var r=t(14304),n=t(72069),e=t(3438),a=t(37540),o=t(49671),u=t(82628),i=t(20095),v=t(84082),f=t(62083),c=t(52183),d=t(18565),h=t(44241),g=d("isConcatSpreadable"),p=h>=51||!n(function(){var O=[];return O[g]=!1,O.concat()[0]!==O}),y=function(O){if(!a(O))return!1;var S=O[g];return S!==void 0?!!S:e(O)},m=!p||!c("concat");r({target:"Array",proto:!0,arity:1,forced:m},{concat:function(S){var E=o(this),T=f(E,0),x=0,I,A,C,P,N;for(I=-1,C=arguments.length;I1?arguments[1]:void 0)}})},41585:function(s,l,t){var r=t(14304),n=t(43011),e=t(23811);r({target:"Array",proto:!0},{fill:n}),e("fill")},84554:function(s,l,t){var r=t(14304),n=t(66655).filter,e=t(52183),a=e("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},33818:function(s,l,t){var r=t(14304),n=t(66655).findIndex,e=t(23811),a="findIndex",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{findIndex:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),e(a)},2209:function(s,l,t){var r=t(14304),n=t(73849).findLastIndex,e=t(23811);r({target:"Array",proto:!0},{findLastIndex:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),e("findLastIndex")},64096:function(s,l,t){var r=t(14304),n=t(73849).findLast,e=t(23811);r({target:"Array",proto:!0},{findLast:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),e("findLast")},36619:function(s,l,t){var r=t(14304),n=t(66655).find,e=t(23811),a="find",o=!0;a in[]&&Array(1)[a](function(){o=!1}),r({target:"Array",proto:!0,forced:o},{find:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),e(a)},74092:function(s,l,t){var r=t(14304),n=t(53149),e=t(85156),a=t(49671),o=t(82628),u=t(62083);r({target:"Array",proto:!0},{flatMap:function(v){var f=a(this),c=o(f),d;return e(v),d=u(f,0),d.length=n(d,f,f,c,0,1,v,arguments.length>1?arguments[1]:void 0),d}})},91591:function(s,l,t){var r=t(14304),n=t(53149),e=t(49671),a=t(82628),o=t(12105),u=t(62083);r({target:"Array",proto:!0},{flat:function(){var v=arguments.length?arguments[0]:void 0,f=e(this),c=a(f),d=u(f,0);return d.length=n(d,f,f,c,0,v===void 0?1:o(v)),d}})},54703:function(s,l,t){var r=t(14304),n=t(13349);r({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n})},82936:function(s,l,t){var r=t(14304),n=t(48258),e=t(97494),a=!e(function(o){Array.from(o)});r({target:"Array",stat:!0,forced:a},{from:n})},48493:function(s,l,t){var r=t(14304),n=t(94319).includes,e=t(72069),a=t(23811),o=e(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:o},{includes:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),a("includes")},64730:function(s,l,t){var r=t(14304),n=t(77422),e=t(94319).indexOf,a=t(6148),o=n([].indexOf),u=!!o&&1/o([1],1,-0)<0,i=u||!a("indexOf");r({target:"Array",proto:!0,forced:i},{indexOf:function(f){var c=arguments.length>1?arguments[1]:void 0;return u?o(this,f,c)||0:e(this,f,c)}})},95024:function(s,l,t){var r=t(14304),n=t(3438);r({target:"Array",stat:!0},{isArray:n})},35054:function(s,l,t){var r=t(36859),n=t(23811),e=t(29107),a=t(82367),o=t(7831).f,u=t(10218),i=t(10659),v=t(70457),f=t(92986),c="Array Iterator",d=a.set,h=a.getterFor(c);s.exports=u(Array,"Array",function(p,y){d(this,{type:c,target:r(p),index:0,kind:y})},function(){var p=h(this),y=p.target,m=p.index++;if(!y||m>=y.length)return p.target=void 0,i(void 0,!0);switch(p.kind){case"keys":return i(m,!1);case"values":return i(y[m],!1)}return i([m,y[m]],!1)},"values");var g=e.Arguments=e.Array;if(n("keys"),n("values"),n("entries"),!v&&f&&g.name!=="values")try{o(g,"name",{value:"values"})}catch(p){}},25460:function(s,l,t){var r=t(14304),n=t(11286),e=t(72181),a=t(36859),o=t(6148),u=n([].join),i=e!==Object,v=i||!o("join",",");r({target:"Array",proto:!0,forced:v},{join:function(c){return u(a(this),c===void 0?",":c)}})},60703:function(s,l,t){var r=t(14304),n=t(58465);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},90468:function(s,l,t){var r=t(14304),n=t(66655).map,e=t(52183),a=e("map");r({target:"Array",proto:!0,forced:!a},{map:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},69581:function(s,l,t){var r=t(14304),n=t(72069),e=t(11051),a=t(84082),o=Array,u=n(function(){function i(){}return!(o.of.call(i)instanceof i)});r({target:"Array",stat:!0,forced:u},{of:function(){for(var v=0,f=arguments.length,c=new(e(this)?this:o)(f);f>v;)a(c,v,arguments[v++]);return c.length=f,c}})},720:function(s,l,t){var r=t(14304),n=t(49671),e=t(82628),a=t(2213),o=t(20095),u=t(72069),i=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},f=i||!v();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(d){var h=n(this),g=e(h),p=arguments.length;o(g+p);for(var y=0;y79&&a<83,i=u||!e("reduceRight");r({target:"Array",proto:!0,forced:i},{reduceRight:function(f){return n(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(s,l,t){var r=t(14304),n=t(97264).left,e=t(6148),a=t(44241),o=t(91707),u=!o&&a>79&&a<83,i=u||!e("reduce");r({target:"Array",proto:!0,forced:i},{reduce:function(f){var c=arguments.length;return n(this,f,c,c>1?arguments[1]:void 0)}})},24608:function(s,l,t){var r=t(14304),n=t(11286),e=t(3438),a=n([].reverse),o=[1,2];r({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return e(this)&&(this.length=this.length),a(this)}})},51644:function(s,l,t){var r=t(14304),n=t(3438),e=t(11051),a=t(37540),o=t(4652),u=t(82628),i=t(36859),v=t(84082),f=t(18565),c=t(52183),d=t(22806),h=c("slice"),g=f("species"),p=Array,y=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(O,S){var E=i(this),T=u(E),x=o(O,T),I=o(S===void 0?T:S,T),A,C,P;if(n(E)&&(A=E.constructor,e(A)&&(A===p||n(A.prototype))?A=void 0:a(A)&&(A=A[g],A===null&&(A=void 0)),A===p||A===void 0))return d(E,x,I);for(C=new(A===void 0?p:A)(y(I-x,0)),P=0;x1?arguments[1]:void 0)}})},46828:function(s,l,t){var r=t(14304),n=t(11286),e=t(85156),a=t(49671),o=t(82628),u=t(12384),i=t(17361),v=t(72069),f=t(13270),c=t(6148),d=t(507),h=t(17417),g=t(44241),p=t(66577),y=[],m=n(y.sort),O=n(y.push),S=v(function(){y.sort(void 0)}),E=v(function(){y.sort(null)}),T=c("sort"),x=!v(function(){if(g)return g<70;if(!(d&&d>3)){if(h)return!0;if(p)return p<603;var C="",P,N,$,U;for(P=65;P<76;P++){switch(N=String.fromCharCode(P),P){case 66:case 69:case 70:case 72:$=3;break;case 68:case 71:$=4;break;default:$=2}for(U=0;U<47;U++)y.push({k:N+U,v:$})}for(y.sort(function(D,F){return F.v-D.v}),U=0;Ui(N)?1:-1}};r({target:"Array",proto:!0,forced:I},{sort:function(P){P!==void 0&&e(P);var N=a(this);if(x)return P===void 0?m(N):m(N,P);var $=[],U=o(N),D,F;for(F=0;FE-A+I;P--)c(S,P-1)}else if(I>A)for(P=E-A;P>T;P--)N=P+A-1,$=P+I-1,N in S?S[$]=S[N]:c(S,$);for(P=0;P=0&&f<=99?f+1900:f;return u(this,c)}})},33685:function(s,l,t){var r=t(14304);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(s,l,t){var r=t(14304),n=t(11890);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},96049:function(s,l,t){var r=t(14304),n=t(72069),e=t(49671),a=t(89935),o=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:o},{toJSON:function(i){var v=e(this),f=a(v,"number");return typeof f=="number"&&!isFinite(f)?null:v.toISOString()}})},14038:function(s,l,t){var r=t(94879),n=t(16142),e=t(84306),a=t(18565),o=a("toPrimitive"),u=Date.prototype;r(u,o)||n(u,o,e)},55518:function(s,l,t){var r=t(11286),n=t(16142),e=Date.prototype,a="Invalid Date",o="toString",u=r(e[o]),i=r(e.getTime);String(new Date(NaN))!==a&&n(e,o,function(){var f=i(this);return f===f?u(this):a})},81742:function(s,l,t){var r=t(14304),n=t(34246),e=t(66543),a=t(70003),o="WebAssembly",u=n[o],i=new Error("e",{cause:7}).cause!==7,v=function(c,d){var h={};h[c]=a(c,d,i),r({global:!0,constructor:!0,arity:1,forced:i},h)},f=function(c,d){if(u&&u[c]){var h={};h[c]=a(o+"."+c,d,i),r({target:o,stat:!0,constructor:!0,arity:1,forced:i},h)}};v("Error",function(c){return function(h){return e(c,this,arguments)}}),v("EvalError",function(c){return function(h){return e(c,this,arguments)}}),v("RangeError",function(c){return function(h){return e(c,this,arguments)}}),v("ReferenceError",function(c){return function(h){return e(c,this,arguments)}}),v("SyntaxError",function(c){return function(h){return e(c,this,arguments)}}),v("TypeError",function(c){return function(h){return e(c,this,arguments)}}),v("URIError",function(c){return function(h){return e(c,this,arguments)}}),f("CompileError",function(c){return function(h){return e(c,this,arguments)}}),f("LinkError",function(c){return function(h){return e(c,this,arguments)}}),f("RuntimeError",function(c){return function(h){return e(c,this,arguments)}})},8720:function(s,l,t){var r=t(16142),n=t(58434),e=Error.prototype;e.toString!==n&&r(e,"toString",n)},8894:function(s,l,t){var r=t(14304),n=t(11286),e=t(17361),a=n("".charAt),o=n("".charCodeAt),u=n(/./.exec),i=n(1 .toString),v=n("".toUpperCase),f=/[\w*+\-./@]/,c=function(d,h){for(var g=i(d,16);g.length9490626562425156e-8?a(c)+u:n(c-1+o(c-1)*o(c+1))}})},15656:function(s,l,t){var r=t(14304),n=Math.asinh,e=Math.log,a=Math.sqrt;function o(i){var v=+i;return!isFinite(v)||v===0?v:v<0?-o(-v):e(v+a(v*v+1))}var u=!(n&&1/n(0)>0);r({target:"Math",stat:!0,forced:u},{asinh:o})},22091:function(s,l,t){var r=t(14304),n=Math.atanh,e=Math.log,a=!(n&&1/n(-0)<0);r({target:"Math",stat:!0,forced:a},{atanh:function(u){var i=+u;return i===0?i:e((1+i)/(1-i))/2}})},2886:function(s,l,t){var r=t(14304),n=t(93976),e=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(u){var i=+u;return n(i)*a(e(i),.3333333333333333)}})},25895:function(s,l,t){var r=t(14304),n=Math.floor,e=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(u){var i=u>>>0;return i?31-n(e(i+.5)*a):32}})},24228:function(s,l,t){var r=t(14304),n=t(98940),e=Math.cosh,a=Math.abs,o=Math.E,u=!e||e(710)===1/0;r({target:"Math",stat:!0,forced:u},{cosh:function(v){var f=n(a(v)-1)+1;return(f+1/(f*o*o))*(o/2)}})},79488:function(s,l,t){var r=t(14304),n=t(98940);r({target:"Math",stat:!0,forced:n!==Math.expm1},{expm1:n})},75987:function(s,l,t){var r=t(14304),n=t(93279);r({target:"Math",stat:!0},{fround:n})},81555:function(s,l,t){var r=t(14304),n=Math.hypot,e=Math.abs,a=Math.sqrt,o=!!n&&n(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:o},{hypot:function(i,v){for(var f=0,c=0,d=arguments.length,h=0,g,p;c0?(p=g/h,f+=p*p):f+=g;return h===1/0?1/0:h*a(f)}})},87854:function(s,l,t){var r=t(14304),n=t(72069),e=Math.imul,a=n(function(){return e(4294967295,5)!==-5||e.length!==2});r({target:"Math",stat:!0,forced:a},{imul:function(u,i){var v=65535,f=+u,c=+i,d=v&f,h=v&c;return 0|d*h+((v&f>>>16)*h+d*(v&c>>>16)<<16>>>0)}})},35074:function(s,l,t){var r=t(14304),n=t(41942);r({target:"Math",stat:!0},{log10:n})},50946:function(s,l,t){var r=t(14304),n=t(49366);r({target:"Math",stat:!0},{log1p:n})},29417:function(s,l,t){var r=t(14304),n=Math.log,e=Math.LN2;r({target:"Math",stat:!0},{log2:function(o){return n(o)/e}})},80628:function(s,l,t){var r=t(14304),n=t(93976);r({target:"Math",stat:!0},{sign:n})},74375:function(s,l,t){var r=t(14304),n=t(72069),e=t(98940),a=Math.abs,o=Math.exp,u=Math.E,i=n(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:i},{sinh:function(f){var c=+f;return a(c)<1?(e(c)-e(-c))/2:(o(c-1)-o(-c-1))*(u/2)}})},29708:function(s,l,t){var r=t(14304),n=t(98940),e=Math.exp;r({target:"Math",stat:!0},{tanh:function(o){var u=+o,i=n(u),v=n(-u);return i===1/0?1:v===1/0?-1:(i-v)/(e(u)+e(-u))}})},93449:function(s,l,t){var r=t(78401);r(Math,"Math",!0)},9111:function(s,l,t){var r=t(14304),n=t(22459);r({target:"Math",stat:!0},{trunc:n})},83514:function(s,l,t){var r=t(14304),n=t(70457),e=t(92986),a=t(34246),o=t(75081),u=t(11286),i=t(13278),v=t(94879),f=t(32345),c=t(95307),d=t(491),h=t(89935),g=t(72069),p=t(83258).f,y=t(71349).f,m=t(7831).f,O=t(34338),S=t(85900).trim,E="Number",T=a[E],x=o[E],I=T.prototype,A=a.TypeError,C=u("".slice),P=u("".charCodeAt),N=function(G){var Y=h(G,"number");return typeof Y=="bigint"?Y:$(Y)},$=function(G){var Y=h(G,"number"),H,Q,X,st,et,lt,ht,gt;if(d(Y))throw new A("Cannot convert a Symbol value to a number");if(typeof Y=="string"&&Y.length>2){if(Y=S(Y),H=P(Y,0),H===43||H===45){if(Q=P(Y,2),Q===88||Q===120)return NaN}else if(H===48){switch(P(Y,1)){case 66:case 98:X=2,st=49;break;case 79:case 111:X=8,st=55;break;default:return+Y}for(et=C(Y,2),lt=et.length,ht=0;htst)return NaN;return parseInt(et,X)}}return+Y},U=i(E,!T(" 0o1")||!T("0b1")||T("+0x1")),D=function(G){return c(I,G)&&g(function(){O(G)})},F=function(Y){var H=arguments.length<1?0:T(N(Y));return D(this)?f(Object(H),this,F):H};F.prototype=I,U&&!n&&(I.constructor=F),r({global:!0,constructor:!0,wrap:!0,forced:U},{Number:F});var L=function(G,Y){for(var H=e?p(Y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Q=0,X;H.length>Q;Q++)v(Y,X=H[Q])&&!v(G,X)&&m(G,X,y(Y,X))};n&&x&&L(o[E],x),(U||n)&&L(o[E],T)},15096:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(s,l,t){var r=t(14304),n=t(98074);r({target:"Number",stat:!0},{isFinite:n})},99663:function(s,l,t){var r=t(14304),n=t(613);r({target:"Number",stat:!0},{isInteger:n})},89988:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0},{isNaN:function(e){return e!==e}})},54427:function(s,l,t){var r=t(14304),n=t(613),e=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(o){return n(o)&&e(o)<=9007199254740991}})},67895:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(s,l,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(s,l,t){var r=t(14304),n=t(25838);r({target:"Number",stat:!0,forced:Number.parseFloat!==n},{parseFloat:n})},55461:function(s,l,t){var r=t(14304),n=t(23009);r({target:"Number",stat:!0,forced:Number.parseInt!==n},{parseInt:n})},97339:function(s,l,t){var r=t(14304),n=t(11286),e=t(12105),a=t(34338),o=t(79719),u=t(41942),i=t(72069),v=RangeError,f=String,c=isFinite,d=Math.abs,h=Math.floor,g=Math.pow,p=Math.round,y=n(1 .toExponential),m=n(o),O=n("".slice),S=y(-69e-12,4)==="-6.9000e-11"&&y(1.255,2)==="1.25e+0"&&y(12345,3)==="1.235e+4"&&y(25,0)==="3e+1",E=function(){return i(function(){y(1,1/0)})&&i(function(){y(1,-1/0)})},T=function(){return!i(function(){y(1/0,1/0),y(NaN,1/0)})},x=!S||!E()||!T();r({target:"Number",proto:!0,forced:x},{toExponential:function(A){var C=a(this);if(A===void 0)return y(C);var P=e(A);if(!c(C))return String(C);if(P<0||P>20)throw new v("Incorrect fraction digits");if(S)return y(C,P);var N="",$,U,D,F;if(C<0&&(N="-",C=-C),C===0)U=0,$=m("0",P+1);else{var L=u(C);U=h(L);var G=g(10,U-P),Y=p(C/G);2*C>=(2*Y+1)*G&&(Y+=1),Y>=g(10,P+1)&&(Y/=10,U+=1),$=f(Y)}return P!==0&&($=O($,0,1)+"."+O($,1)),U===0?(D="+",F="0"):(D=U>0?"+":"-",F=f(d(U))),$+="e"+D+F,N+$}})},3670:function(s,l,t){var r=t(14304),n=t(11286),e=t(12105),a=t(34338),o=t(79719),u=t(72069),i=RangeError,v=String,f=Math.floor,c=n(o),d=n("".slice),h=n(1 .toFixed),g=function(E,T,x){return T===0?x:T%2===1?g(E,T-1,x*E):g(E*E,T/2,x)},p=function(E){for(var T=0,x=E;x>=4096;)T+=12,x/=4096;for(;x>=2;)T+=1,x/=2;return T},y=function(E,T,x){for(var I=-1,A=x;++I<6;)A+=T*E[I],E[I]=A%1e7,A=f(A/1e7)},m=function(E,T){for(var x=6,I=0;--x>=0;)I+=E[x],E[x]=f(I/T),I=I%T*1e7},O=function(E){for(var T=6,x="";--T>=0;)if(x!==""||T===0||E[T]!==0){var I=v(E[T]);x=x===""?I:x+c("0",7-I.length)+I}return x},S=u(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){h({})});r({target:"Number",proto:!0,forced:S},{toFixed:function(T){var x=a(this),I=e(T),A=[0,0,0,0,0,0],C="",P="0",N,$,U,D;if(I<0||I>20)throw new i("Incorrect fraction digits");if(x!==x)return"NaN";if(x<=-1e21||x>=1e21)return v(x);if(x<0&&(C="-",x=-x),x>1e-21)if(N=p(x*g(2,69,1))-69,$=N<0?x*g(2,-N,1):x/g(2,N,1),$*=4503599627370496,N=52-N,N>0){for(y(A,0,$),U=I;U>=7;)y(A,1e7,0),U-=7;for(y(A,g(10,U,1),0),U=N-1;U>=23;)m(A,8388608),U-=23;m(A,1<0?(D=P.length,P=C+(D<=I?"0."+c("0",I-D)+P:d(P,0,D-I)+"."+d(P,D-I))):P=C+P,P}})},15224:function(s,l,t){var r=t(14304),n=t(11286),e=t(72069),a=t(34338),o=n(1 .toPrecision),u=e(function(){return o(1,void 0)!=="1"})||!e(function(){o({})});r({target:"Number",proto:!0,forced:u},{toPrecision:function(v){return v===void 0?o(a(this)):o(a(this),v)}})},45891:function(s,l,t){var r=t(14304),n=t(16667);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},99910:function(s,l,t){var r=t(14304),n=t(92986),e=t(5406);r({target:"Object",stat:!0,sham:!n},{create:e})},92445:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(85156),o=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:e},{__defineGetter__:function(v,f){u.f(o(this),v,{get:a(f),enumerable:!0,configurable:!0})}})},21875:function(s,l,t){var r=t(14304),n=t(92986),e=t(61963).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==e,sham:!n},{defineProperties:e})},4383:function(s,l,t){var r=t(14304),n=t(92986),e=t(7831).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==e,sham:!n},{defineProperty:e})},11361:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(85156),o=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:e},{__defineSetter__:function(v,f){u.f(o(this),v,{set:a(f),enumerable:!0,configurable:!0})}})},13728:function(s,l,t){var r=t(14304),n=t(8511).entries;r({target:"Object",stat:!0},{entries:function(a){return n(a)}})},14885:function(s,l,t){var r=t(14304),n=t(27534),e=t(72069),a=t(37540),o=t(31853).onFreeze,u=Object.freeze,i=e(function(){u(1)});r({target:"Object",stat:!0,forced:i,sham:!n},{freeze:function(f){return u&&a(f)?u(o(f)):f}})},30343:function(s,l,t){var r=t(14304),n=t(55902),e=t(84082);r({target:"Object",stat:!0},{fromEntries:function(o){var u={};return n(o,function(i,v){e(u,i,v)},{AS_ENTRIES:!0}),u}})},22045:function(s,l,t){var r=t(14304),n=t(72069),e=t(36859),a=t(71349).f,o=t(92986),u=!o||n(function(){a(1)});r({target:"Object",stat:!0,forced:u,sham:!o},{getOwnPropertyDescriptor:function(v,f){return a(e(v),f)}})},75e3:function(s,l,t){var r=t(14304),n=t(92986),e=t(16885),a=t(36859),o=t(71349),u=t(84082);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(v){for(var f=a(v),c=o.f,d=e(f),h={},g=0,p,y;d.length>g;)y=c(f,p=d[g++]),y!==void 0&&u(h,p,y);return h}})},64658:function(s,l,t){var r=t(14304),n=t(72069),e=t(92880).f,a=n(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:e})},45223:function(s,l,t){var r=t(14304),n=t(39729),e=t(72069),a=t(24943),o=t(49671),u=!n||e(function(){a.f(1)});r({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(v){var f=a.f;return f?f(o(v)):[]}})},16017:function(s,l,t){var r=t(14304),n=t(72069),e=t(49671),a=t(26313),o=t(87501),u=n(function(){a(1)});r({target:"Object",stat:!0,forced:u,sham:!o},{getPrototypeOf:function(v){return a(e(v))}})},84681:function(s,l,t){var r=t(14304),n=t(38941),e=t(11286),a=t(85156),o=t(2068),u=t(50035),i=t(55902),v=t(72069),f=Object.groupBy,c=n("Object","create"),d=e([].push),h=!f||v(function(){return f("ab",function(g){return g}).a.length!==1});r({target:"Object",stat:!0,forced:h},{groupBy:function(p,y){o(p),a(y);var m=c(null),O=0;return i(p,function(S){var E=u(y(S,O++));E in m?d(m[E],S):m[E]=[S]}),m}})},73421:function(s,l,t){var r=t(14304),n=t(94879);r({target:"Object",stat:!0},{hasOwn:n})},31046:function(s,l,t){var r=t(14304),n=t(28174);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},94645:function(s,l,t){var r=t(14304),n=t(72069),e=t(37540),a=t(14274),o=t(72058),u=Object.isFrozen,i=o||n(function(){u(1)});r({target:"Object",stat:!0,forced:i},{isFrozen:function(f){return!e(f)||o&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},62935:function(s,l,t){var r=t(14304),n=t(72069),e=t(37540),a=t(14274),o=t(72058),u=Object.isSealed,i=o||n(function(){u(1)});r({target:"Object",stat:!0,forced:i},{isSealed:function(f){return!e(f)||o&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},93446:function(s,l,t){var r=t(14304),n=t(13944);r({target:"Object",stat:!0},{is:n})},62518:function(s,l,t){var r=t(14304),n=t(49671),e=t(18350),a=t(72069),o=a(function(){e(1)});r({target:"Object",stat:!0,forced:o},{keys:function(i){return e(n(i))}})},45130:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(49671),o=t(50035),u=t(26313),i=t(71349).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupGetter__:function(f){var c=a(this),d=o(f),h;do if(h=i(c,d))return h.get;while(c=u(c))}})},51542:function(s,l,t){var r=t(14304),n=t(92986),e=t(57629),a=t(49671),o=t(50035),u=t(26313),i=t(71349).f;n&&r({target:"Object",proto:!0,forced:e},{__lookupSetter__:function(f){var c=a(this),d=o(f),h;do if(h=i(c,d))return h.set;while(c=u(c))}})},43781:function(s,l,t){var r=t(14304),n=t(37540),e=t(31853).onFreeze,a=t(27534),o=t(72069),u=Object.preventExtensions,i=o(function(){u(1)});r({target:"Object",stat:!0,forced:i,sham:!a},{preventExtensions:function(f){return u&&n(f)?u(e(f)):f}})},25738:function(s,l,t){var r=t(92986),n=t(85500),e=t(37540),a=t(52427),o=t(49671),u=t(2068),i=Object.getPrototypeOf,v=Object.setPrototypeOf,f=Object.prototype,c="__proto__";if(r&&i&&v&&!(c in f))try{n(f,c,{configurable:!0,get:function(){return i(o(this))},set:function(h){var g=u(this);a(h)&&e(g)&&v(g,h)}})}catch(d){}},93247:function(s,l,t){var r=t(14304),n=t(37540),e=t(31853).onFreeze,a=t(27534),o=t(72069),u=Object.seal,i=o(function(){u(1)});r({target:"Object",stat:!0,forced:i,sham:!a},{seal:function(f){return u&&n(f)?u(e(f)):f}})},41533:function(s,l,t){var r=t(14304),n=t(15861);r({target:"Object",stat:!0},{setPrototypeOf:n})},60225:function(s,l,t){var r=t(67878),n=t(16142),e=t(60105);r||n(Object.prototype,"toString",e,{unsafe:!0})},69920:function(s,l,t){var r=t(14304),n=t(8511).values;r({target:"Object",stat:!0},{values:function(a){return n(a)}})},89205:function(s,l,t){var r=t(14304),n=t(25838);r({global:!0,forced:parseFloat!==n},{parseFloat:n})},78546:function(s,l,t){var r=t(14304),n=t(23009);r({global:!0,forced:parseInt!==n},{parseInt:n})},16893:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(24649),o=t(67805),u=t(55902),i=t(26035);r({target:"Promise",stat:!0,forced:i},{allSettled:function(f){var c=this,d=a.f(c),h=d.resolve,g=d.reject,p=o(function(){var y=e(c.resolve),m=[],O=0,S=1;u(f,function(E){var T=O++,x=!1;S++,n(y,c,E).then(function(I){x||(x=!0,m[T]={status:"fulfilled",value:I},--S||h(m))},function(I){x||(x=!0,m[T]={status:"rejected",reason:I},--S||h(m))})}),--S||h(m)});return p.error&&g(p.value),d.promise}})},11733:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(24649),o=t(67805),u=t(55902),i=t(26035);r({target:"Promise",stat:!0,forced:i},{all:function(f){var c=this,d=a.f(c),h=d.resolve,g=d.reject,p=o(function(){var y=e(c.resolve),m=[],O=0,S=1;u(f,function(E){var T=O++,x=!1;S++,n(y,c,E).then(function(I){x||(x=!0,m[T]=I,--S||h(m))},g)}),--S||h(m)});return p.error&&g(p.value),d.promise}})},3676:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(38941),o=t(24649),u=t(67805),i=t(55902),v=t(26035),f="No one promise resolved";r({target:"Promise",stat:!0,forced:v},{any:function(d){var h=this,g=a("AggregateError"),p=o.f(h),y=p.resolve,m=p.reject,O=u(function(){var S=e(h.resolve),E=[],T=0,x=1,I=!1;i(d,function(A){var C=T++,P=!1;x++,n(S,h,A).then(function(N){P||I||(I=!0,y(N))},function(N){P||I||(P=!0,E[C]=N,--x||m(new g(E,f)))})}),--x||m(new g(E,f))});return O.error&&m(O.value),p.promise}})},14013:function(s,l,t){var r=t(14304),n=t(70457),e=t(37130).CONSTRUCTOR,a=t(98844),o=t(38941),u=t(23583),i=t(16142),v=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:e,real:!0},{catch:function(c){return this.then(void 0,c)}}),!n&&u(a)){var f=o("Promise").prototype.catch;v.catch!==f&&i(v,"catch",f,{unsafe:!0})}},20238:function(s,l,t){var r=t(14304),n=t(70457),e=t(91707),a=t(34246),o=t(96499),u=t(16142),i=t(15861),v=t(78401),f=t(36167),c=t(85156),d=t(23583),h=t(37540),g=t(12833),p=t(16887),y=t(23115).set,m=t(9709),O=t(99095),S=t(67805),E=t(76895),T=t(82367),x=t(98844),I=t(37130),A=t(24649),C="Promise",P=I.CONSTRUCTOR,N=I.REJECTION_EVENT,$=I.SUBCLASSING,U=T.getterFor(C),D=T.set,F=x&&x.prototype,L=x,G=F,Y=a.TypeError,H=a.document,Q=a.process,X=A.f,st=X,et=!!(H&&H.createEvent&&a.dispatchEvent),lt="unhandledrejection",ht="rejectionhandled",gt=0,Lt=1,Ft=2,Pt=1,at=2,vt,St,Rt,It,Nt=function(J){var yt;return h(J)&&d(yt=J.then)?yt:!1},Ht=function(J,yt){var pt=yt.value,ct=yt.state===Lt,ft=ct?J.ok:J.fail,zt=J.resolve,Yt=J.reject,W=J.domain,k,tt,j;try{ft?(ct||(yt.rejection===at&&$t(yt),yt.rejection=Pt),ft===!0?k=pt:(W&&W.enter(),k=ft(pt),W&&(W.exit(),j=!0)),k===J.promise?Yt(new Y("Promise-chain cycle")):(tt=Nt(k))?o(tt,k,zt,Yt):zt(k)):Yt(pt)}catch(z){W&&!j&&W.exit(),Yt(z)}},Wt=function(J,yt){J.notified||(J.notified=!0,m(function(){for(var pt=J.reactions,ct;ct=pt.get();)Ht(ct,J);J.notified=!1,yt&&!J.rejection&&Ct(J)}))},bt=function(J,yt,pt){var ct,ft;et?(ct=H.createEvent("Event"),ct.promise=yt,ct.reason=pt,ct.initEvent(J,!1,!0),a.dispatchEvent(ct)):ct={promise:yt,reason:pt},!N&&(ft=a["on"+J])?ft(ct):J===lt&&O("Unhandled promise rejection",pt)},Ct=function(J){o(y,a,function(){var yt=J.facade,pt=J.value,ct=Vt(J),ft;if(ct&&(ft=S(function(){e?Q.emit("unhandledRejection",pt,yt):bt(lt,yt,pt)}),J.rejection=e||Vt(J)?at:Pt,ft.error))throw ft.value})},Vt=function(J){return J.rejection!==Pt&&!J.parent},$t=function(J){o(y,a,function(){var yt=J.facade;e?Q.emit("rejectionHandled",yt):bt(ht,yt,J.value)})},Mt=function(J,yt,pt){return function(ct){J(yt,ct,pt)}},q=function(J,yt,pt){J.done||(J.done=!0,pt&&(J=pt),J.value=yt,J.state=Ft,Wt(J,!0))},ut=function(J,yt,pt){if(!J.done){J.done=!0,pt&&(J=pt);try{if(J.facade===yt)throw new Y("Promise can't be resolved itself");var ct=Nt(yt);ct?m(function(){var ft={done:!1};try{o(ct,yt,Mt(ut,ft,J),Mt(q,ft,J))}catch(zt){q(ft,zt,J)}}):(J.value=yt,J.state=Lt,Wt(J,!1))}catch(ft){q({done:!1},ft,J)}}};if(P&&(L=function(yt){g(this,G),c(yt),o(vt,this);var pt=U(this);try{yt(Mt(ut,pt),Mt(q,pt))}catch(ct){q(pt,ct)}},G=L.prototype,vt=function(yt){D(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:gt,value:void 0})},vt.prototype=u(G,"then",function(yt,pt){var ct=U(this),ft=X(p(this,L));return ct.parent=!0,ft.ok=d(yt)?yt:!0,ft.fail=d(pt)&&pt,ft.domain=e?Q.domain:void 0,ct.state===gt?ct.reactions.add(ft):m(function(){Ht(ft,ct)}),ft.promise}),St=function(){var J=new vt,yt=U(J);this.promise=J,this.resolve=Mt(ut,yt),this.reject=Mt(q,yt)},A.f=X=function(J){return J===L||J===Rt?new St(J):st(J)},!n&&d(x)&&F!==Object.prototype)){It=F.then,$||u(F,"then",function(yt,pt){var ct=this;return new L(function(ft,zt){o(It,ct,ft,zt)}).then(yt,pt)},{unsafe:!0});try{delete F.constructor}catch(J){}i&&i(F,G)}r({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:L}),v(L,C,!1,!0),f(C)},58361:function(s,l,t){var r=t(14304),n=t(70457),e=t(98844),a=t(72069),o=t(38941),u=t(23583),i=t(16887),v=t(87408),f=t(16142),c=e&&e.prototype,d=!!e&&a(function(){c.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(g){var p=i(this,o("Promise")),y=u(g);return this.then(y?function(m){return v(p,g()).then(function(){return m})}:g,y?function(m){return v(p,g()).then(function(){throw m})}:g)}}),!n&&u(e)){var h=o("Promise").prototype.finally;c.finally!==h&&f(c,"finally",h,{unsafe:!0})}},63616:function(s,l,t){t(20238),t(11733),t(14013),t(3037),t(36027),t(97282)},3037:function(s,l,t){var r=t(14304),n=t(96499),e=t(85156),a=t(24649),o=t(67805),u=t(55902),i=t(26035);r({target:"Promise",stat:!0,forced:i},{race:function(f){var c=this,d=a.f(c),h=d.reject,g=o(function(){var p=e(c.resolve);u(f,function(y){n(p,c,y).then(d.resolve,h)})});return g.error&&h(g.value),d.promise}})},36027:function(s,l,t){var r=t(14304),n=t(24649),e=t(37130).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:e},{reject:function(o){var u=n.f(this),i=u.reject;return i(o),u.promise}})},97282:function(s,l,t){var r=t(14304),n=t(38941),e=t(70457),a=t(98844),o=t(37130).CONSTRUCTOR,u=t(87408),i=n("Promise"),v=e&&!o;r({target:"Promise",stat:!0,forced:e||o},{resolve:function(c){return u(v&&this===i?a:this,c)}})},23958:function(s,l,t){var r=t(14304),n=t(24649);r({target:"Promise",stat:!0},{withResolvers:function(){var a=n.f(this);return{promise:a.promise,resolve:a.resolve,reject:a.reject}}})},9798:function(s,l,t){var r=t(14304),n=t(66543),e=t(85156),a=t(25001),o=t(72069),u=!o(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:u},{apply:function(v,f,c){return n(e(v),f,a(c))}})},2371:function(s,l,t){var r=t(14304),n=t(38941),e=t(66543),a=t(91384),o=t(80042),u=t(25001),i=t(37540),v=t(5406),f=t(72069),c=n("Reflect","construct"),d=Object.prototype,h=[].push,g=f(function(){function m(){}return!(c(function(){},[],m)instanceof m)}),p=!f(function(){c(function(){})}),y=g||p;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(O,S){o(O),u(S);var E=arguments.length<3?O:o(arguments[2]);if(p&&!g)return c(O,S,E);if(O===E){switch(S.length){case 0:return new O;case 1:return new O(S[0]);case 2:return new O(S[0],S[1]);case 3:return new O(S[0],S[1],S[2]);case 4:return new O(S[0],S[1],S[2],S[3])}var T=[null];return e(h,T,S),new(e(a,O,T))}var x=E.prototype,I=v(i(x)?x:d),A=e(O,I,S);return i(A)?A:I}})},76185:function(s,l,t){var r=t(14304),n=t(92986),e=t(25001),a=t(50035),o=t(7831),u=t(72069),i=u(function(){Reflect.defineProperty(o.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:i,sham:!n},{defineProperty:function(f,c,d){e(f);var h=a(c);e(d);try{return o.f(f,h,d),!0}catch(g){return!1}}})},76553:function(s,l,t){var r=t(14304),n=t(25001),e=t(71349).f;r({target:"Reflect",stat:!0},{deleteProperty:function(o,u){var i=e(n(o),u);return i&&!i.configurable?!1:delete o[u]}})},25227:function(s,l,t){var r=t(14304),n=t(92986),e=t(25001),a=t(71349);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(u,i){return a.f(e(u),i)}})},91723:function(s,l,t){var r=t(14304),n=t(25001),e=t(26313),a=t(87501);r({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(u){return e(n(u))}})},93518:function(s,l,t){var r=t(14304),n=t(96499),e=t(37540),a=t(25001),o=t(69745),u=t(71349),i=t(26313);function v(f,c){var d=arguments.length<3?f:arguments[2],h,g;if(a(f)===d)return f[c];if(h=u.f(f,c),h)return o(h)?h.value:h.get===void 0?void 0:n(h.get,d);if(e(g=i(f)))return v(g,c,d)}r({target:"Reflect",stat:!0},{get:v})},57882:function(s,l,t){var r=t(14304);r({target:"Reflect",stat:!0},{has:function(e,a){return a in e}})},37796:function(s,l,t){var r=t(14304),n=t(25001),e=t(28174);r({target:"Reflect",stat:!0},{isExtensible:function(o){return n(o),e(o)}})},11563:function(s,l,t){var r=t(14304),n=t(16885);r({target:"Reflect",stat:!0},{ownKeys:n})},26159:function(s,l,t){var r=t(14304),n=t(38941),e=t(25001),a=t(27534);r({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(u){e(u);try{var i=n("Object","preventExtensions");return i&&i(u),!0}catch(v){return!1}}})},77487:function(s,l,t){var r=t(14304),n=t(25001),e=t(53408),a=t(15861);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(u,i){n(u),e(i);try{return a(u,i),!0}catch(v){return!1}}})},20962:function(s,l,t){var r=t(14304),n=t(96499),e=t(25001),a=t(37540),o=t(69745),u=t(72069),i=t(7831),v=t(71349),f=t(26313),c=t(18526);function d(g,p,y){var m=arguments.length<4?g:arguments[3],O=v.f(e(g),p),S,E,T;if(!O){if(a(E=f(g)))return d(E,p,y,m);O=c(0)}if(o(O)){if(O.writable===!1||!a(m))return!1;if(S=v.f(m,p)){if(S.get||S.set||S.writable===!1)return!1;S.value=y,i.f(m,p,S)}else i.f(m,p,c(0,y))}else{if(T=O.set,T===void 0)return!1;n(T,m,y)}return!0}var h=u(function(){var g=function(){},p=i.f(new g,"a",{configurable:!0});return Reflect.set(g.prototype,"a",1,p)!==!1});r({target:"Reflect",stat:!0,forced:h},{set:d})},6130:function(s,l,t){var r=t(14304),n=t(34246),e=t(78401);r({global:!0},{Reflect:{}}),e(n.Reflect,"Reflect",!0)},1354:function(s,l,t){var r=t(92986),n=t(34246),e=t(11286),a=t(13278),o=t(32345),u=t(90809),i=t(5406),v=t(83258).f,f=t(95307),c=t(11566),d=t(17361),h=t(54932),g=t(39807),p=t(2594),y=t(16142),m=t(72069),O=t(94879),S=t(82367).enforce,E=t(36167),T=t(18565),x=t(76769),I=t(85220),A=T("match"),C=n.RegExp,P=C.prototype,N=n.SyntaxError,$=e(P.exec),U=e("".charAt),D=e("".replace),F=e("".indexOf),L=e("".slice),G=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Y=/a/g,H=/a/g,Q=new C(Y)!==Y,X=g.MISSED_STICKY,st=g.UNSUPPORTED_Y,et=r&&(!Q||X||x||I||m(function(){return H[A]=!1,C(Y)!==Y||C(H)===H||String(C(Y,"i"))!=="/a/i"})),lt=function(Pt){for(var at=Pt.length,vt=0,St="",Rt=!1,It;vt<=at;vt++){if(It=U(Pt,vt),It==="\\"){St+=It+U(Pt,++vt);continue}!Rt&&It==="."?St+="[\\s\\S]":(It==="["?Rt=!0:It==="]"&&(Rt=!1),St+=It)}return St},ht=function(Pt){for(var at=Pt.length,vt=0,St="",Rt=[],It=i(null),Nt=!1,Ht=!1,Wt=0,bt="",Ct;vt<=at;vt++){if(Ct=U(Pt,vt),Ct==="\\")Ct+=U(Pt,++vt);else if(Ct==="]")Nt=!1;else if(!Nt)switch(!0){case Ct==="[":Nt=!0;break;case Ct==="(":if(St+=Ct,L(Pt,vt+1,vt+3)==="?:")continue;$(G,L(Pt,vt+1))&&(vt+=2,Ht=!0),Wt++;continue;case(Ct===">"&&Ht):if(bt===""||O(It,bt))throw new N("Invalid capture group name");It[bt]=!0,Rt[Rt.length]=[bt,Wt],Ht=!1,bt="";continue}Ht?bt+=Ct:St+=Ct}return[St,Rt]};if(a("RegExp",et)){for(var gt=function(at,vt){var St=f(P,this),Rt=c(at),It=vt===void 0,Nt=[],Ht=at,Wt,bt,Ct,Vt,$t,Mt;if(!St&&Rt&&It&&at.constructor===gt)return at;if((Rt||f(P,at))&&(at=at.source,It&&(vt=h(Ht))),at=at===void 0?"":d(at),vt=vt===void 0?"":d(vt),Ht=at,x&&"dotAll"in Y&&(bt=!!vt&&F(vt,"s")>-1,bt&&(vt=D(vt,/s/g,""))),Wt=vt,X&&"sticky"in Y&&(Ct=!!vt&&F(vt,"y")>-1,Ct&&st&&(vt=D(vt,/y/g,""))),I&&(Vt=ht(at),at=Vt[0],Nt=Vt[1]),$t=o(C(at,vt),St?this:P,gt),(bt||Ct||Nt.length)&&(Mt=S($t),bt&&(Mt.dotAll=!0,Mt.raw=gt(lt(at),Wt)),Ct&&(Mt.sticky=!0),Nt.length&&(Mt.groups=Nt)),at!==Ht)try{u($t,"source",Ht===""?"(?:)":Ht)}catch(q){}return $t},Lt=v(C),Ft=0;Lt.length>Ft;)p(gt,C,Lt[Ft++]);P.constructor=gt,gt.prototype=P,y(n,"RegExp",gt,{constructor:!0})}E("RegExp")},47119:function(s,l,t){var r=t(92986),n=t(76769),e=t(14274),a=t(85500),o=t(82367).get,u=RegExp.prototype,i=TypeError;r&&n&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(e(this)==="RegExp")return!!o(this).dotAll;throw new i("Incompatible receiver, RegExp required")}}})},31145:function(s,l,t){var r=t(14304),n=t(44381);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},96773:function(s,l,t){var r=t(34246),n=t(92986),e=t(85500),a=t(29833),o=t(72069),u=r.RegExp,i=u.prototype,v=n&&o(function(){var f=!0;try{u(".","d")}catch(O){f=!1}var c={},d="",h=f?"dgimsy":"gimsy",g=function(O,S){Object.defineProperty(c,O,{get:function(){return d+=S,!0}})},p={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(p.hasIndices="d");for(var y in p)g(y,p[y]);var m=Object.getOwnPropertyDescriptor(i,"flags").get.call(c);return m!==h||d!==h});v&&e(i,"flags",{configurable:!0,get:a})},14371:function(s,l,t){var r=t(92986),n=t(39807).MISSED_STICKY,e=t(14274),a=t(85500),o=t(82367).get,u=RegExp.prototype,i=TypeError;r&&n&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(e(this)==="RegExp")return!!o(this).sticky;throw new i("Incompatible receiver, RegExp required")}}})},18180:function(s,l,t){t(31145);var r=t(14304),n=t(96499),e=t(23583),a=t(25001),o=t(17361),u=function(){var v=!1,f=/[ac]/;return f.exec=function(){return v=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&v}(),i=/./.test;r({target:"RegExp",proto:!0,forced:!u},{test:function(v){var f=a(this),c=o(v),d=f.exec;if(!e(d))return n(i,f,c);var h=n(d,f,c);return h===null?!1:(a(h),!0)}})},83147:function(s,l,t){var r=t(86588).PROPER,n=t(16142),e=t(25001),a=t(17361),o=t(72069),u=t(54932),i="toString",v=RegExp.prototype,f=v[i],c=o(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),d=r&&f.name!==i;(c||d)&&n(v,i,function(){var g=e(this),p=a(g.source),y=a(u(g));return"/"+p+"/"+y},{unsafe:!0})},6583:function(s,l,t){var r=t(89378),n=t(34440);r("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},n)},86548:function(s,l,t){var r=t(14304),n=t(41754),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("difference")},{difference:n})},15282:function(s,l,t){var r=t(14304),n=t(72069),e=t(92292),a=t(94118),o=!a("intersection")||n(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:o},{intersection:e})},51275:function(s,l,t){var r=t(14304),n=t(47391),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("isDisjointFrom")},{isDisjointFrom:n})},91890:function(s,l,t){var r=t(14304),n=t(75492),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("isSubsetOf")},{isSubsetOf:n})},15089:function(s,l,t){var r=t(14304),n=t(1333),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("isSupersetOf")},{isSupersetOf:n})},75765:function(s,l,t){t(6583)},78134:function(s,l,t){var r=t(14304),n=t(64680),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("symmetricDifference")},{symmetricDifference:n})},56456:function(s,l,t){var r=t(14304),n=t(70402),e=t(94118);r({target:"Set",proto:!0,real:!0,forced:!e("union")},{union:n})},70641:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("anchor")},{anchor:function(o){return n(this,"a","name",o)}})},40735:function(s,l,t){var r=t(14304),n=t(11286),e=t(2068),a=t(12105),o=t(17361),u=t(72069),i=n("".charAt),v=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:v},{at:function(c){var d=o(e(this)),h=d.length,g=a(c),p=g>=0?g:h+g;return p<0||p>=h?void 0:i(d,p)}})},53892:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("big")},{big:function(){return n(this,"big","","")}})},95976:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("blink")},{blink:function(){return n(this,"blink","","")}})},399:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("bold")},{bold:function(){return n(this,"b","","")}})},8510:function(s,l,t){var r=t(14304),n=t(22149).codeAt;r({target:"String",proto:!0},{codePointAt:function(a){return n(this,a)}})},70159:function(s,l,t){var r=t(14304),n=t(77422),e=t(71349).f,a=t(45344),o=t(17361),u=t(92337),i=t(2068),v=t(8790),f=t(70457),c=n("".slice),d=Math.min,h=v("endsWith"),g=!f&&!h&&!!function(){var p=e(String.prototype,"endsWith");return p&&!p.writable}();r({target:"String",proto:!0,forced:!g&&!h},{endsWith:function(y){var m=o(i(this));u(y);var O=arguments.length>1?arguments[1]:void 0,S=m.length,E=O===void 0?S:d(a(O),S),T=o(y);return c(m,E-T.length,E)===T}})},72032:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("fixed")},{fixed:function(){return n(this,"tt","","")}})},49442:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("fontcolor")},{fontcolor:function(o){return n(this,"font","color",o)}})},16012:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("fontsize")},{fontsize:function(o){return n(this,"font","size",o)}})},93087:function(s,l,t){var r=t(14304),n=t(11286),e=t(4652),a=RangeError,o=String.fromCharCode,u=String.fromCodePoint,i=n([].join),v=!!u&&u.length!==1;r({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(c){for(var d=[],h=arguments.length,g=0,p;h>g;){if(p=+arguments[g++],e(p,1114111)!==p)throw new a(p+" is not a valid code point");d[g]=p<65536?o(p):o(((p-=65536)>>10)+55296,p%1024+56320)}return i(d,"")}})},26021:function(s,l,t){var r=t(14304),n=t(11286),e=t(92337),a=t(2068),o=t(17361),u=t(8790),i=n("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~i(o(a(this)),o(e(f)),arguments.length>1?arguments[1]:void 0)}})},93029:function(s,l,t){var r=t(14304),n=t(11286),e=t(2068),a=t(17361),o=n("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var i=a(e(this)),v=i.length,f=0;f=56320||++f>=v||(o(i,f)&64512)!==56320))return!1}return!0}})},9943:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("italics")},{italics:function(){return n(this,"i","","")}})},59158:function(s,l,t){var r=t(22149).charAt,n=t(17361),e=t(82367),a=t(10218),o=t(10659),u="String Iterator",i=e.set,v=e.getterFor(u);a(String,"String",function(f){i(this,{type:u,string:n(f),index:0})},function(){var c=v(this),d=c.string,h=c.index,g;return h>=d.length?o(void 0,!0):(g=r(d,h),c.index+=g.length,o(g,!1))})},33128:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("link")},{link:function(o){return n(this,"a","href",o)}})},18509:function(s,l,t){var r=t(14304),n=t(96499),e=t(77422),a=t(26820),o=t(10659),u=t(2068),i=t(45344),v=t(17361),f=t(25001),c=t(5683),d=t(14274),h=t(11566),g=t(54932),p=t(10512),y=t(16142),m=t(72069),O=t(18565),S=t(16887),E=t(24487),T=t(33064),x=t(82367),I=t(70457),A=O("matchAll"),C="RegExp String",P=C+" Iterator",N=x.set,$=x.getterFor(P),U=RegExp.prototype,D=TypeError,F=e("".indexOf),L=e("".matchAll),G=!!L&&!m(function(){L("a",/./)}),Y=a(function(X,st,et,lt){N(this,{type:P,regexp:X,string:st,global:et,unicode:lt,done:!1})},C,function(){var X=$(this);if(X.done)return o(void 0,!0);var st=X.regexp,et=X.string,lt=T(st,et);return lt===null?(X.done=!0,o(void 0,!0)):X.global?(v(lt[0])===""&&(st.lastIndex=E(et,i(st.lastIndex),X.unicode)),o(lt,!1)):(X.done=!0,o(lt,!1))}),H=function(Q){var X=f(this),st=v(Q),et=S(X,RegExp),lt=v(g(X)),ht,gt,Lt;return ht=new et(et===RegExp?X.source:X,lt),gt=!!~F(lt,"g"),Lt=!!~F(lt,"u"),ht.lastIndex=i(X.lastIndex),new Y(ht,st,gt,Lt)};r({target:"String",proto:!0,forced:G},{matchAll:function(X){var st=u(this),et,lt,ht,gt;if(c(X)){if(G)return L(st,X)}else{if(h(X)&&(et=v(u(g(X))),!~F(et,"g")))throw new D("`.matchAll` does not allow non-global regexes");if(G)return L(st,X);if(ht=p(X,A),ht===void 0&&I&&d(X)==="RegExp"&&(ht=H),ht)return n(ht,X,st)}return lt=v(st),gt=new RegExp(X,"g"),I?n(H,gt,lt):gt[A](lt)}}),I||A in U||y(U,A,H)},15599:function(s,l,t){var r=t(96499),n=t(63194),e=t(25001),a=t(5683),o=t(45344),u=t(17361),i=t(2068),v=t(10512),f=t(24487),c=t(33064);n("match",function(d,h,g){return[function(y){var m=i(this),O=a(y)?void 0:v(y,d);return O?r(O,y,m):new RegExp(y)[d](u(m))},function(p){var y=e(this),m=u(p),O=g(h,y,m);if(O.done)return O.value;if(!y.global)return c(y,m);var S=y.unicode;y.lastIndex=0;for(var E=[],T=0,x;(x=c(y,m))!==null;){var I=u(x[0]);E[T]=I,I===""&&(y.lastIndex=f(m,o(y.lastIndex),S)),T++}return T===0?null:E}]})},21579:function(s,l,t){var r=t(14304),n=t(61607).end,e=t(36945);r({target:"String",proto:!0,forced:e},{padEnd:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}})},8854:function(s,l,t){var r=t(14304),n=t(61607).start,e=t(36945);r({target:"String",proto:!0,forced:e},{padStart:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}})},57676:function(s,l,t){var r=t(14304),n=t(11286),e=t(36859),a=t(49671),o=t(17361),u=t(82628),i=n([].push),v=n([].join);r({target:"String",stat:!0},{raw:function(c){var d=e(a(c).raw),h=u(d);if(!h)return"";for(var g=arguments.length,p=[],y=0;;){if(i(p,o(d[y++])),y===h)return v(p,"");y$.length?-1:m($,U,G+L);return H<$.length&&(Q+=S($,H)),Q}})},96834:function(s,l,t){var r=t(66543),n=t(96499),e=t(11286),a=t(63194),o=t(72069),u=t(25001),i=t(23583),v=t(5683),f=t(12105),c=t(45344),d=t(17361),h=t(2068),g=t(24487),p=t(10512),y=t(38368),m=t(33064),O=t(18565),S=O("replace"),E=Math.max,T=Math.min,x=e([].concat),I=e([].push),A=e("".indexOf),C=e("".slice),P=function(D){return D===void 0?D:String(D)},N=function(){return"a".replace(/./,"$0")==="$0"}(),$=function(){return/./[S]?/./[S]("a","$0")==="":!1}(),U=!o(function(){var D=/./;return D.exec=function(){var F=[];return F.groups={a:"7"},F},"".replace(D,"$")!=="7"});a("replace",function(D,F,L){var G=$?"$":"$0";return[function(H,Q){var X=h(this),st=v(H)?void 0:p(H,S);return st?n(st,H,X,Q):n(F,d(X),H,Q)},function(Y,H){var Q=u(this),X=d(Y);if(typeof H=="string"&&A(H,G)===-1&&A(H,"$<")===-1){var st=L(F,Q,X,H);if(st.done)return st.value}var et=i(H);et||(H=d(H));var lt=Q.global,ht;lt&&(ht=Q.unicode,Q.lastIndex=0);for(var gt=[],Lt;Lt=m(Q,X),!(Lt===null||(I(gt,Lt),!lt));){var Ft=d(Lt[0]);Ft===""&&(Q.lastIndex=g(X,c(Q.lastIndex),ht))}for(var Pt="",at=0,vt=0;vt=at&&(Pt+=C(X,at,Rt)+Nt,at=Rt+St.length)}return Pt+C(X,at)}]},!U||!N||$)},74980:function(s,l,t){var r=t(96499),n=t(63194),e=t(25001),a=t(5683),o=t(2068),u=t(13944),i=t(17361),v=t(10512),f=t(33064);n("search",function(c,d,h){return[function(p){var y=o(this),m=a(p)?void 0:v(p,c);return m?r(m,p,y):new RegExp(p)[c](i(y))},function(g){var p=e(this),y=i(g),m=h(d,p,y);if(m.done)return m.value;var O=p.lastIndex;u(O,0)||(p.lastIndex=0);var S=f(p,y);return u(p.lastIndex,O)||(p.lastIndex=O),S===null?-1:S.index}]})},95625:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("small")},{small:function(){return n(this,"small","","")}})},390:function(s,l,t){var r=t(96499),n=t(11286),e=t(63194),a=t(25001),o=t(5683),u=t(2068),i=t(16887),v=t(24487),f=t(45344),c=t(17361),d=t(10512),h=t(33064),g=t(39807),p=t(72069),y=g.UNSUPPORTED_Y,m=4294967295,O=Math.min,S=n([].push),E=n("".slice),T=!p(function(){var I=/(?:)/,A=I.exec;I.exec=function(){return A.apply(this,arguments)};var C="ab".split(I);return C.length!==2||C[0]!=="a"||C[1]!=="b"}),x="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;e("split",function(I,A,C){var P="0".split(void 0,0).length?function(N,$){return N===void 0&&$===0?[]:r(A,this,N,$)}:A;return[function($,U){var D=u(this),F=o($)?void 0:d($,I);return F?r(F,$,D,U):r(P,c(D),$,U)},function(N,$){var U=a(this),D=c(N);if(!x){var F=C(P,U,D,$,P!==A);if(F.done)return F.value}var L=i(U,RegExp),G=U.unicode,Y=(U.ignoreCase?"i":"")+(U.multiline?"m":"")+(U.unicode?"u":"")+(y?"g":"y"),H=new L(y?"^(?:"+U.source+")":U,Y),Q=$===void 0?m:$>>>0;if(Q===0)return[];if(D.length===0)return h(H,D)===null?[D]:[];for(var X=0,st=0,et=[];st1?arguments[1]:void 0,m.length)),S=o(y);return c(m,O,O+S.length)===S}})},90614:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("strike")},{strike:function(){return n(this,"strike","","")}})},60120:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("sub")},{sub:function(){return n(this,"sub","","")}})},21293:function(s,l,t){var r=t(14304),n=t(11286),e=t(2068),a=t(12105),o=t(17361),u=n("".slice),i=Math.max,v=Math.min,f=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:f},{substr:function(d,h){var g=o(e(this)),p=g.length,y=a(d),m,O;return y===1/0&&(y=0),y<0&&(y=i(p+y,0)),m=h===void 0?p:a(h),m<=0||m===1/0?"":(O=v(y+m,p),y>=O?"":u(g,y,O))}})},75826:function(s,l,t){var r=t(14304),n=t(68422),e=t(5287);r({target:"String",proto:!0,forced:e("sup")},{sup:function(){return n(this,"sup","","")}})},18184:function(s,l,t){var r=t(14304),n=t(96499),e=t(11286),a=t(2068),o=t(17361),u=t(72069),i=Array,v=e("".charAt),f=e("".charCodeAt),c=e([].join),d="".toWellFormed,h="\uFFFD",g=d&&u(function(){return n(d,1)!=="1"});r({target:"String",proto:!0,forced:g},{toWellFormed:function(){var y=o(a(this));if(g)return n(d,y);for(var m=y.length,O=i(m),S=0;S=56320||S+1>=m||(f(y,S+1)&64512)!==56320?O[S]=h:(O[S]=v(y,S),O[++S]=v(y,S))}return c(O,"")}})},19680:function(s,l,t){t(23283);var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},12272:function(s,l,t){var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},23283:function(s,l,t){var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},4193:function(s,l,t){t(12272);var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},75012:function(s,l,t){var r=t(14304),n=t(85900).trim,e=t(33328);r({target:"String",proto:!0,forced:e("trim")},{trim:function(){return n(this)}})},43606:function(s,l,t){var r=t(83749);r("asyncIterator")},51767:function(s,l,t){var r=t(14304),n=t(34246),e=t(96499),a=t(11286),o=t(70457),u=t(92986),i=t(39729),v=t(72069),f=t(94879),c=t(95307),d=t(25001),h=t(36859),g=t(50035),p=t(17361),y=t(18526),m=t(5406),O=t(18350),S=t(83258),E=t(92880),T=t(24943),x=t(71349),I=t(7831),A=t(61963),C=t(79591),P=t(16142),N=t(85500),$=t(96731),U=t(44869),D=t(19423),F=t(36374),L=t(18565),G=t(56529),Y=t(83749),H=t(60796),Q=t(78401),X=t(82367),st=t(66655).forEach,et=U("hidden"),lt="Symbol",ht="prototype",gt=X.set,Lt=X.getterFor(lt),Ft=Object[ht],Pt=n.Symbol,at=Pt&&Pt[ht],vt=n.RangeError,St=n.TypeError,Rt=n.QObject,It=x.f,Nt=I.f,Ht=E.f,Wt=C.f,bt=a([].push),Ct=$("symbols"),Vt=$("op-symbols"),$t=$("wks"),Mt=!Rt||!Rt[ht]||!Rt[ht].findChild,q=function(k,tt,j){var z=It(Ft,tt);z&&delete Ft[tt],Nt(k,tt,j),z&&k!==Ft&&Nt(Ft,tt,z)},ut=u&&v(function(){return m(Nt({},"a",{get:function(){return Nt(this,"a",{value:7}).a}})).a!==7})?q:Nt,J=function(k,tt){var j=Ct[k]=m(at);return gt(j,{type:lt,tag:k,description:tt}),u||(j.description=tt),j},yt=function(tt,j,z){tt===Ft&&yt(Vt,j,z),d(tt);var b=g(j);return d(z),f(Ct,b)?(z.enumerable?(f(tt,et)&&tt[et][b]&&(tt[et][b]=!1),z=m(z,{enumerable:y(0,!1)})):(f(tt,et)||Nt(tt,et,y(1,m(null))),tt[et][b]=!0),ut(tt,b,z)):Nt(tt,b,z)},pt=function(tt,j){d(tt);var z=h(j),b=O(z).concat(W(z));return st(b,function(ot){(!u||e(ft,z,ot))&&yt(tt,ot,z[ot])}),tt},ct=function(tt,j){return j===void 0?m(tt):pt(m(tt),j)},ft=function(tt){var j=g(tt),z=e(Wt,this,j);return this===Ft&&f(Ct,j)&&!f(Vt,j)?!1:z||!f(this,j)||!f(Ct,j)||f(this,et)&&this[et][j]?z:!0},zt=function(tt,j){var z=h(tt),b=g(j);if(!(z===Ft&&f(Ct,b)&&!f(Vt,b))){var ot=It(z,b);return ot&&f(Ct,b)&&!(f(z,et)&&z[et][b])&&(ot.enumerable=!0),ot}},Yt=function(tt){var j=Ht(h(tt)),z=[];return st(j,function(b){!f(Ct,b)&&!f(D,b)&&bt(z,b)}),z},W=function(k){var tt=k===Ft,j=Ht(tt?Vt:h(k)),z=[];return st(j,function(b){f(Ct,b)&&(!tt||f(Ft,b))&&bt(z,Ct[b])}),z};i||(Pt=function(){if(c(at,this))throw new St("Symbol is not a constructor");var tt=!arguments.length||arguments[0]===void 0?void 0:p(arguments[0]),j=F(tt),z=function(b){var ot=this===void 0?n:this;ot===Ft&&e(z,Vt,b),f(ot,et)&&f(ot[et],j)&&(ot[et][j]=!1);var mt=y(1,b);try{ut(ot,j,mt)}catch(At){if(!(At instanceof vt))throw At;q(ot,j,mt)}};return u&&Mt&&ut(Ft,j,{configurable:!0,set:z}),J(j,tt)},at=Pt[ht],P(at,"toString",function(){return Lt(this).tag}),P(Pt,"withoutSetter",function(k){return J(F(k),k)}),C.f=ft,I.f=yt,A.f=pt,x.f=zt,S.f=E.f=Yt,T.f=W,G.f=function(k){return J(L(k),k)},u&&(N(at,"description",{configurable:!0,get:function(){return Lt(this).description}}),o||P(Ft,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!i,sham:!i},{Symbol:Pt}),st(O($t),function(k){Y(k)}),r({target:lt,stat:!0,forced:!i},{useSetter:function(){Mt=!0},useSimple:function(){Mt=!1}}),r({target:"Object",stat:!0,forced:!i,sham:!u},{create:ct,defineProperty:yt,defineProperties:pt,getOwnPropertyDescriptor:zt}),r({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:Yt}),H(),Q(Pt,lt),D[et]=!0},43657:function(s,l,t){var r=t(14304),n=t(92986),e=t(34246),a=t(11286),o=t(94879),u=t(23583),i=t(95307),v=t(17361),f=t(85500),c=t(93706),d=e.Symbol,h=d&&d.prototype;if(n&&u(d)&&(!("description"in h)||d().description!==void 0)){var g={},p=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),A=i(h,this)?new d(I):I===void 0?d():d(I);return I===""&&(g[A]=!0),A};c(p,d),p.prototype=h,h.constructor=p;var y=String(d("description detection"))==="Symbol(description detection)",m=a(h.valueOf),O=a(h.toString),S=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),T=a("".slice);f(h,"description",{configurable:!0,get:function(){var I=m(this);if(o(g,I))return"";var A=O(I),C=y?T(A,7,-1):E(A,S,"$1");return C===""?void 0:C}}),r({global:!0,constructor:!0,forced:!0},{Symbol:p})}},20872:function(s,l,t){var r=t(14304),n=t(38941),e=t(94879),a=t(17361),o=t(96731),u=t(61190),i=o("string-to-symbol-registry"),v=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(f){var c=a(f);if(e(i,c))return i[c];var d=n("Symbol")(c);return i[c]=d,v[d]=c,d}})},15855:function(s,l,t){var r=t(83749);r("hasInstance")},42026:function(s,l,t){var r=t(83749);r("isConcatSpreadable")},33257:function(s,l,t){var r=t(83749);r("iterator")},40949:function(s,l,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(s,l,t){var r=t(14304),n=t(94879),e=t(491),a=t(82453),o=t(96731),u=t(61190),i=o("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!e(f))throw new TypeError(a(f)+" is not a symbol");if(n(i,f))return i[f]}})},88344:function(s,l,t){var r=t(83749);r("matchAll")},59414:function(s,l,t){var r=t(83749);r("match")},92579:function(s,l,t){var r=t(83749);r("replace")},94655:function(s,l,t){var r=t(83749);r("search")},8565:function(s,l,t){var r=t(83749);r("species")},60843:function(s,l,t){var r=t(83749);r("split")},65842:function(s,l,t){var r=t(83749),n=t(60796);r("toPrimitive"),n()},51595:function(s,l,t){var r=t(38941),n=t(83749),e=t(78401);n("toStringTag"),e(r("Symbol"),"Symbol")},54908:function(s,l,t){var r=t(83749);r("unscopables")},71998:function(s,l,t){var r=t(88037),n=t(82628),e=t(12105),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("at",function(i){var v=a(this),f=n(v),c=e(i),d=c>=0?c:f+c;return d<0||d>=f?void 0:v[d]})},6116:function(s,l,t){var r=t(11286),n=t(88037),e=t(81499),a=r(e),o=n.aTypedArray,u=n.exportTypedArrayMethod;u("copyWithin",function(v,f){return a(o(this),v,f,arguments.length>2?arguments[2]:void 0)})},33032:function(s,l,t){var r=t(88037),n=t(66655).every,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("every",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},80962:function(s,l,t){var r=t(88037),n=t(43011),e=t(11344),a=t(9205),o=t(96499),u=t(11286),i=t(72069),v=r.aTypedArray,f=r.exportTypedArrayMethod,c=u("".slice),d=i(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});f("fill",function(g){var p=arguments.length;v(this);var y=c(a(this),0,3)==="Big"?e(g):+g;return o(n,this,y,p>1?arguments[1]:void 0,p>2?arguments[2]:void 0)},d)},49381:function(s,l,t){var r=t(88037),n=t(66655).filter,e=t(3795),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("filter",function(i){var v=n(a(this),i,arguments.length>1?arguments[1]:void 0);return e(this,v)})},65961:function(s,l,t){var r=t(88037),n=t(66655).findIndex,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findIndex",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},16028:function(s,l,t){var r=t(88037),n=t(73849).findLastIndex,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLastIndex",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},94153:function(s,l,t){var r=t(88037),n=t(73849).findLast,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("findLast",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},38344:function(s,l,t){var r=t(88037),n=t(66655).find,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("find",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},25560:function(s,l,t){var r=t(80357);r("Float32",function(n){return function(a,o,u){return n(this,a,o,u)}})},22571:function(s,l,t){var r=t(80357);r("Float64",function(n){return function(a,o,u){return n(this,a,o,u)}})},20656:function(s,l,t){var r=t(88037),n=t(66655).forEach,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("forEach",function(u){n(e(this),u,arguments.length>1?arguments[1]:void 0)})},17063:function(s,l,t){var r=t(46868),n=t(88037).exportTypedArrayStaticMethod,e=t(66169);n("from",e,r)},21774:function(s,l,t){var r=t(88037),n=t(94319).includes,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("includes",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},51761:function(s,l,t){var r=t(88037),n=t(94319).indexOf,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("indexOf",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},36849:function(s,l,t){var r=t(80357);r("Int16",function(n){return function(a,o,u){return n(this,a,o,u)}})},49191:function(s,l,t){var r=t(80357);r("Int32",function(n){return function(a,o,u){return n(this,a,o,u)}})},40704:function(s,l,t){var r=t(80357);r("Int8",function(n){return function(a,o,u){return n(this,a,o,u)}})},12317:function(s,l,t){var r=t(34246),n=t(72069),e=t(11286),a=t(88037),o=t(35054),u=t(18565),i=u("iterator"),v=r.Uint8Array,f=e(o.values),c=e(o.keys),d=e(o.entries),h=a.aTypedArray,g=a.exportTypedArrayMethod,p=v&&v.prototype,y=!n(function(){p[i].call([1])}),m=!!p&&p.values&&p[i]===p.values&&p.values.name==="values",O=function(){return f(h(this))};g("entries",function(){return d(h(this))},y),g("keys",function(){return c(h(this))},y),g("values",O,y||!m,{name:"values"}),g(i,O,y||!m,{name:"values"})},19711:function(s,l,t){var r=t(88037),n=t(11286),e=r.aTypedArray,a=r.exportTypedArrayMethod,o=n([].join);a("join",function(i){return o(e(this),i)})},41034:function(s,l,t){var r=t(88037),n=t(66543),e=t(58465),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("lastIndexOf",function(i){var v=arguments.length;return n(e,a(this),v>1?[i,arguments[1]]:[i])})},13313:function(s,l,t){var r=t(88037),n=t(66655).map,e=t(21822),a=r.aTypedArray,o=r.exportTypedArrayMethod;o("map",function(i){return n(a(this),i,arguments.length>1?arguments[1]:void 0,function(v,f){return new(e(v))(f)})})},44698:function(s,l,t){var r=t(88037),n=t(46868),e=r.aTypedArrayConstructor,a=r.exportTypedArrayStaticMethod;a("of",function(){for(var u=0,i=arguments.length,v=new(e(this))(i);i>u;)v[u]=arguments[u++];return v},n)},66178:function(s,l,t){var r=t(88037),n=t(97264).right,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduceRight",function(u){var i=arguments.length;return n(e(this),u,i,i>1?arguments[1]:void 0)})},7369:function(s,l,t){var r=t(88037),n=t(97264).left,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("reduce",function(u){var i=arguments.length;return n(e(this),u,i,i>1?arguments[1]:void 0)})},67961:function(s,l,t){var r=t(88037),n=r.aTypedArray,e=r.exportTypedArrayMethod,a=Math.floor;e("reverse",function(){for(var u=this,i=n(u).length,v=a(i/2),f=0,c;f1?arguments[1]:void 0,1),E=u(O);if(p)return n(d,this,E,S);var T=this.length,x=a(E),I=0;if(x+S>T)throw new v("Wrong length");for(;Ig;)y[g]=d[g++];return y},i)},9711:function(s,l,t){var r=t(88037),n=t(66655).some,e=r.aTypedArray,a=r.exportTypedArrayMethod;a("some",function(u){return n(e(this),u,arguments.length>1?arguments[1]:void 0)})},3923:function(s,l,t){var r=t(34246),n=t(77422),e=t(72069),a=t(85156),o=t(13270),u=t(88037),i=t(507),v=t(17417),f=t(44241),c=t(66577),d=u.aTypedArray,h=u.exportTypedArrayMethod,g=r.Uint16Array,p=g&&n(g.prototype.sort),y=!!p&&!(e(function(){p(new g(2),null)})&&e(function(){p(new g(2),{})})),m=!!p&&!e(function(){if(f)return f<74;if(i)return i<67;if(v)return!0;if(c)return c<602;var S=new g(516),E=Array(516),T,x;for(T=0;T<516;T++)x=T%4,S[T]=515-T,E[T]=T-2*x+3;for(p(S,function(I,A){return(I/4|0)-(A/4|0)}),T=0;T<516;T++)if(S[T]!==E[T])return!0}),O=function(S){return function(E,T){return S!==void 0?+S(E,T)||0:T!==T?-1:E!==E?1:E===0&&T===0?1/E>0&&1/T<0?1:-1:E>T}};h("sort",function(E){return E!==void 0&&a(E),m?p(this,E):o(d(this),O(E))},!m||y)},59728:function(s,l,t){var r=t(88037),n=t(45344),e=t(4652),a=t(21822),o=r.aTypedArray,u=r.exportTypedArrayMethod;u("subarray",function(v,f){var c=o(this),d=c.length,h=e(v,d),g=a(c);return new g(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,n((f===void 0?d:e(f,d))-h))})},85227:function(s,l,t){var r=t(34246),n=t(66543),e=t(88037),a=t(72069),o=t(22806),u=r.Int8Array,i=e.aTypedArray,v=e.exportTypedArrayMethod,f=[].toLocaleString,c=!!u&&a(function(){f.call(new u(1))}),d=a(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!a(function(){u.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){return n(f,c?o(i(this)):i(this),o(arguments))},d)},56933:function(s,l,t){var r=t(61638),n=t(88037),e=n.aTypedArray,a=n.exportTypedArrayMethod,o=n.getTypedArrayConstructor;a("toReversed",function(){return r(e(this),o(this))})},91490:function(s,l,t){var r=t(88037),n=t(11286),e=t(85156),a=t(5220),o=r.aTypedArray,u=r.getTypedArrayConstructor,i=r.exportTypedArrayMethod,v=n(r.TypedArrayPrototype.sort);i("toSorted",function(c){c!==void 0&&e(c);var d=o(this),h=a(u(d),d);return v(h,c)})},61766:function(s,l,t){var r=t(88037).exportTypedArrayMethod,n=t(72069),e=t(34246),a=t(11286),o=e.Uint8Array,u=o&&o.prototype||{},i=[].toString,v=a([].join);n(function(){i.call({})})&&(i=function(){return v(this)});var f=u.toString!==i;r("toString",i,f)},44884:function(s,l,t){var r=t(80357);r("Uint16",function(n){return function(a,o,u){return n(this,a,o,u)}})},48658:function(s,l,t){var r=t(80357);r("Uint32",function(n){return function(a,o,u){return n(this,a,o,u)}})},81083:function(s,l,t){var r=t(80357);r("Uint8",function(n){return function(a,o,u){return n(this,a,o,u)}})},27428:function(s,l,t){var r=t(80357);r("Uint8",function(n){return function(a,o,u){return n(this,a,o,u)}},!0)},85143:function(s,l,t){var r=t(72302),n=t(88037),e=t(77129),a=t(12105),o=t(11344),u=n.aTypedArray,i=n.getTypedArrayConstructor,v=n.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(c){return c===8}}();v("with",function(c,d){var h=u(this),g=a(c),p=e(h)?o(d):+d;return r(h,i(h),g,p)},!f)},47005:function(s,l,t){var r=t(14304),n=t(11286),e=t(17361),a=String.fromCharCode,o=n("".charAt),u=n(/./.exec),i=n("".slice),v=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(d){for(var h=e(d),g="",p=h.length,y=0,m,O;y>(-2*D&6)));return $}})},60869:function(s,l,t){var r=t(14304),n=t(34246),e=t(38941),a=t(11286),o=t(96499),u=t(72069),i=t(17361),v=t(95486),f=t(6210).i2c,c=e("btoa"),d=a("".charAt),h=a("".charCodeAt),g=!!c&&!u(function(){return c("hi")!=="aGk="}),p=g&&!u(function(){c()}),y=g&&u(function(){return c(null)!=="bnVsbA=="}),m=g&&c.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!g||p||y||m},{btoa:function(S){if(v(arguments.length,1),g)return o(c,n,i(S));for(var E=i(S),T="",x=0,I=f,A,C;d(E,x)||(I="=",x%1);){if(C=h(E,x+=.75),C>255)throw new(e("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");A=A<<8|C,T+=d(I,63&A>>8-x%1*8)}return T}})},66722:function(s,l,t){var r=t(14304),n=t(34246),e=t(23115).clear;r({global:!0,bind:!0,enumerable:!0,forced:n.clearImmediate!==e},{clearImmediate:e})},50338:function(s,l,t){var r=t(34246),n=t(93014),e=t(39882),a=t(13349),o=t(90809),u=function(v){if(v&&v.forEach!==a)try{o(v,"forEach",a)}catch(f){v.forEach=a}};for(var i in n)n[i]&&u(r[i]&&r[i].prototype);u(e)},53059:function(s,l,t){var r=t(34246),n=t(93014),e=t(39882),a=t(35054),o=t(90809),u=t(78401),i=t(18565),v=i("iterator"),f=a.values,c=function(h,g){if(h){if(h[v]!==f)try{o(h,v,f)}catch(y){h[v]=f}if(u(h,g,!0),n[g]){for(var p in a)if(h[p]!==a[p])try{o(h,p,a[p])}catch(y){h[p]=a[p]}}}};for(var d in n)c(r[d]&&r[d].prototype,d);c(e,"DOMTokenList")},5805:function(s,l,t){var r=t(14304),n=t(38941),e=t(81191),a=t(72069),o=t(5406),u=t(18526),i=t(7831).f,v=t(16142),f=t(85500),c=t(94879),d=t(12833),h=t(25001),g=t(58434),p=t(15453),y=t(74408),m=t(40851),O=t(82367),S=t(92986),E=t(70457),T="DOMException",x="DATA_CLONE_ERR",I=n("Error"),A=n(T)||function(){try{var at=n("MessageChannel")||e("worker_threads").MessageChannel;new at().port1.postMessage(new WeakMap)}catch(vt){if(vt.name===x&&vt.code===25)return vt.constructor}}(),C=A&&A.prototype,P=I.prototype,N=O.set,$=O.getterFor(T),U="stack"in new I(T),D=function(at){return c(y,at)&&y[at].m?y[at].c:0},F=function(){d(this,L);var vt=arguments.length,St=p(vt<1?void 0:arguments[0]),Rt=p(vt<2?void 0:arguments[1],"Error"),It=D(Rt);if(N(this,{type:T,name:Rt,message:St,code:It}),S||(this.name=Rt,this.message=St,this.code=It),U){var Nt=new I(St);Nt.name=T,i(this,"stack",u(1,m(Nt.stack,1)))}},L=F.prototype=o(P),G=function(at){return{enumerable:!0,configurable:!0,get:at}},Y=function(at){return G(function(){return $(this)[at]})};S&&(f(L,"code",Y("code")),f(L,"message",Y("message")),f(L,"name",Y("name"))),i(L,"constructor",u(1,F));var H=a(function(){return!(new A instanceof I)}),Q=H||a(function(){return P.toString!==g||String(new A(1,2))!=="2: 1"}),X=H||a(function(){return new A(1,"DataCloneError").code!==25}),st=H||A[x]!==25||C[x]!==25,et=E?Q||X||st:H;r({global:!0,constructor:!0,forced:et},{DOMException:et?F:A});var lt=n(T),ht=lt.prototype;Q&&(E||A===lt)&&v(ht,"toString",g),X&&S&&A===lt&&f(ht,"code",G(function(){return D(h(this).name)}));for(var gt in y)if(c(y,gt)){var Lt=y[gt],Ft=Lt.s,Pt=u(6,Lt.c);c(lt,Ft)||i(lt,Ft,Pt),c(ht,Ft)||i(ht,Ft,Pt)}},50685:function(s,l,t){var r=t(14304),n=t(34246),e=t(38941),a=t(18526),o=t(7831).f,u=t(94879),i=t(12833),v=t(32345),f=t(15453),c=t(74408),d=t(40851),h=t(92986),g=t(70457),p="DOMException",y=e("Error"),m=e(p),O=function(){i(this,S);var F=arguments.length,L=f(F<1?void 0:arguments[0]),G=f(F<2?void 0:arguments[1],"Error"),Y=new m(L,G),H=new y(L);return H.name=p,o(Y,"stack",a(1,d(H.stack,1))),v(Y,this,O),Y},S=O.prototype=m.prototype,E="stack"in new y(p),T="stack"in new m(1,2),x=m&&h&&Object.getOwnPropertyDescriptor(n,p),I=!!x&&!(x.writable&&x.configurable),A=E&&!I&&!T;r({global:!0,constructor:!0,forced:g||A},{DOMException:A?O:m});var C=e(p),P=C.prototype;if(P.constructor!==C){g||o(P,"constructor",a(1,C));for(var N in c)if(u(c,N)){var $=c[N],U=$.s;u(C,U)||o(C,U,a(6,$.c))}}},70649:function(s,l,t){var r=t(38941),n=t(78401),e="DOMException";n(r(e),e)},39842:function(s,l,t){t(66722),t(8235)},82872:function(s,l,t){var r=t(14304),n=t(34246),e=t(9709),a=t(85156),o=t(95486),u=t(72069),i=t(92986),v=u(function(){return i&&Object.getOwnPropertyDescriptor(n,"queueMicrotask").value.length!==1});r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:v},{queueMicrotask:function(c){o(arguments.length,1),e(a(c))}})},91401:function(s,l,t){var r=t(14304),n=t(34246),e=t(85500),a=t(92986),o=TypeError,u=Object.defineProperty,i=n.self!==n;try{if(a){var v=Object.getOwnPropertyDescriptor(n,"self");(i||!v||!v.get||!v.enumerable)&&e(n,"self",{get:function(){return n},set:function(c){if(this!==n)throw new o("Illegal invocation");u(n,"self",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:i},{self:n})}catch(f){}},8235:function(s,l,t){var r=t(14304),n=t(34246),e=t(23115).set,a=t(9934),o=n.setImmediate?a(e,!1):e;r({global:!0,bind:!0,enumerable:!0,forced:n.setImmediate!==o},{setImmediate:o})},63981:function(s,l,t){var r=t(14304),n=t(34246),e=t(9934),a=e(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==a},{setInterval:a})},23913:function(s,l,t){var r=t(14304),n=t(34246),e=t(9934),a=e(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==a},{setTimeout:a})},92904:function(s,l,t){var r=t(70457),n=t(14304),e=t(34246),a=t(38941),o=t(11286),u=t(72069),i=t(36374),v=t(23583),f=t(11051),c=t(5683),d=t(37540),h=t(491),g=t(55902),p=t(25001),y=t(9205),m=t(94879),O=t(84082),S=t(90809),E=t(82628),T=t(95486),x=t(54932),I=t(1774),A=t(172),C=t(35051),P=t(63741),N=t(16929),$=t(99050),U=e.Object,D=e.Array,F=e.Date,L=e.Error,G=e.TypeError,Y=e.PerformanceMark,H=a("DOMException"),Q=I.Map,X=I.has,st=I.get,et=I.set,lt=A.Set,ht=A.add,gt=A.has,Lt=a("Object","keys"),Ft=o([].push),Pt=o((!0).valueOf),at=o(1 .valueOf),vt=o("".valueOf),St=o(F.prototype.getTime),Rt=i("structuredClone"),It="DataCloneError",Nt="Transferring",Ht=function(W){return!u(function(){var k=new e.Set([7]),tt=W(k),j=W(U(7));return tt===k||!tt.has(7)||!d(j)||+j!=7})&&W},Wt=function(W,k){return!u(function(){var tt=new k,j=W({a:tt,b:tt});return!(j&&j.a===j.b&&j.a instanceof k&&j.a.stack===tt.stack)})},bt=function(W){return!u(function(){var k=W(new e.AggregateError([1],Rt,{cause:3}));return k.name!=="AggregateError"||k.errors[0]!==1||k.message!==Rt||k.cause!==3})},Ct=e.structuredClone,Vt=r||!Wt(Ct,L)||!Wt(Ct,H)||!bt(Ct),$t=!Ct&&Ht(function(W){return new Y(Rt,{detail:W}).detail}),Mt=Ht(Ct)||$t,q=function(W){throw new H("Uncloneable type: "+W,It)},ut=function(W,k){throw new H((k||"Cloning")+" of "+W+" cannot be properly polyfilled in this engine",It)},J=function(W,k){return Mt||ut(k),Mt(W)},yt=function(){var W;try{W=new e.DataTransfer}catch(k){try{W=new e.ClipboardEvent("").clipboardData}catch(tt){}}return W&&W.items&&W.files?W:null},pt=function(W,k,tt){if(X(k,W))return st(k,W);var j=tt||y(W),z,b,ot,mt,At,Bt;if(j==="SharedArrayBuffer")Mt?z=Mt(W):z=W;else{var jt=e.DataView;!jt&&!v(W.slice)&&ut("ArrayBuffer");try{if(v(W.slice)&&!W.resizable)z=W.slice(0);else for(b=W.byteLength,ot=("maxByteLength"in W)?{maxByteLength:W.maxByteLength}:void 0,z=new ArrayBuffer(b,ot),mt=new jt(W),At=new jt(z),Bt=0;Bt1&&!c(arguments[1])?p(arguments[1]):void 0,j=tt?tt.transfer:void 0,z,b;j!==void 0&&(z=new Q,b=zt(j,z));var ot=ft(k,z);return b&&Yt(b),ot}})},28381:function(s,l,t){t(63981),t(23913)},98812:function(s,l,t){t(35054);var r=t(14304),n=t(34246),e=t(28167),a=t(96499),o=t(11286),u=t(92986),i=t(91918),v=t(16142),f=t(85500),c=t(2725),d=t(78401),h=t(26820),g=t(82367),p=t(12833),y=t(23583),m=t(94879),O=t(45526),S=t(9205),E=t(25001),T=t(37540),x=t(17361),I=t(5406),A=t(18526),C=t(90619),P=t(81077),N=t(10659),$=t(95486),U=t(18565),D=t(13270),F=U("iterator"),L="URLSearchParams",G=L+"Iterator",Y=g.set,H=g.getterFor(L),Q=g.getterFor(G),X=e("fetch"),st=e("Request"),et=e("Headers"),lt=st&&st.prototype,ht=et&&et.prototype,gt=n.RegExp,Lt=n.TypeError,Ft=n.decodeURIComponent,Pt=n.encodeURIComponent,at=o("".charAt),vt=o([].join),St=o([].push),Rt=o("".replace),It=o([].shift),Nt=o([].splice),Ht=o("".split),Wt=o("".slice),bt=/\+/g,Ct=Array(4),Vt=function(j){return Ct[j-1]||(Ct[j-1]=gt("((?:%[\\da-f]{2}){"+j+"})","gi"))},$t=function(j){try{return Ft(j)}catch(z){return j}},Mt=function(j){var z=Rt(j,bt," "),b=4;try{return Ft(z)}catch(ot){for(;b;)z=Rt(z,Vt(b--),$t);return z}},q=/[!'()~]|%20/g,ut={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},J=function(j){return ut[j]},yt=function(j){return Rt(Pt(j),q,J)},pt=h(function(z,b){Y(this,{type:G,target:H(z).entries,index:0,kind:b})},L,function(){var z=Q(this),b=z.target,ot=z.index++;if(!b||ot>=b.length)return z.target=void 0,N(void 0,!0);var mt=b[ot];switch(z.kind){case"keys":return N(mt.key,!1);case"values":return N(mt.value,!1)}return N([mt.key,mt.value],!1)},!0),ct=function(j){this.entries=[],this.url=null,j!==void 0&&(T(j)?this.parseObject(j):this.parseQuery(typeof j=="string"?at(j,0)==="?"?Wt(j,1):j:x(j)))};ct.prototype={type:L,bindURL:function(j){this.url=j,this.update()},parseObject:function(j){var z=this.entries,b=P(j),ot,mt,At,Bt,jt,Ut,Qt;if(b)for(ot=C(j,b),mt=ot.next;!(At=a(mt,ot)).done;){if(Bt=C(E(At.value)),jt=Bt.next,(Ut=a(jt,Bt)).done||(Qt=a(jt,Bt)).done||!a(jt,Bt).done)throw new Lt("Expected sequence with length 2");St(z,{key:x(Ut.value),value:x(Qt.value)})}else for(var fr in j)m(j,fr)&&St(z,{key:fr,value:x(j[fr])})},parseQuery:function(j){if(j)for(var z=this.entries,b=Ht(j,"&"),ot=0,mt,At;ot0?arguments[0]:void 0,b=Y(this,new ct(z));u||(this.size=b.entries.length)},zt=ft.prototype;if(c(zt,{append:function(z,b){var ot=H(this);$(arguments.length,2),St(ot.entries,{key:x(z),value:x(b)}),u||this.length++,ot.updateURL()},delete:function(j){for(var z=H(this),b=$(arguments.length,1),ot=z.entries,mt=x(j),At=b<2?void 0:arguments[1],Bt=At===void 0?At:x(At),jt=0;jtot.key?1:-1}),z.updateURL()},forEach:function(z){for(var b=H(this).entries,ot=O(z,arguments.length>1?arguments[1]:void 0),mt=0,At;mt1?k(arguments[1]):{})}}),y(st)){var tt=function(z){return p(this,lt),new st(z,arguments.length>1?k(arguments[1]):{})};lt.constructor=tt,tt.prototype=lt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:tt})}}s.exports={URLSearchParams:ft,getState:H}},10901:function(s,l,t){var r=t(16142),n=t(11286),e=t(17361),a=t(95486),o=URLSearchParams,u=o.prototype,i=n(u.append),v=n(u.delete),f=n(u.forEach),c=n([].push),d=new o("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&r(u,"delete",function(h){var g=arguments.length,p=g<2?void 0:arguments[1];if(g&&p===void 0)return v(this,h);var y=[];f(this,function(A,C){c(y,{key:C,value:A})}),a(g,1);for(var m=e(h),O=e(p),S=0,E=0,T=!1,x=y.length,I;S?@[\\\]^|]/,Ct=/[\0\t\n\r #/:<>?@[\\\]^|]/,Vt=/^[\u0000-\u0020]+/,$t=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Mt=/[\t\n\r]/g,q,ut=function(V){var nt=et(V,"."),K,B,w,Ot,xt,Xt,Zt;if(nt.length&&nt[nt.length-1]===""&&nt.length--,K=nt.length,K>4)return V;for(B=[],w=0;w1&&F(Ot,0)==="0"&&(xt=L(It,Ot)?16:8,Ot=lt(Ot,xt===8?1:2)),Ot==="")Xt=0;else{if(!L(xt===10?Ht:xt===8?Nt:Wt,Ot))return V;Xt=$(Ot,xt)}Q(B,Xt)}for(w=0;w=D(256,5-K))return null}else if(Xt>255)return null;for(Zt=H(B),w=0;w6))return;for(Xt=0;Jt();){if(Zt=null,Xt>0)if(Jt()==="."&&Xt<4)w++;else return;if(!L(Rt,Jt()))return;for(;L(Rt,Jt());){if(wt=$(Jt(),10),Zt===null)Zt=wt;else{if(Zt===0)return;Zt=Zt*10+wt}if(Zt>255)return;w++}nt[K]=nt[K]*256+Zt,Xt++,(Xt===2||Xt===4)&&K++}if(Xt!==4)return;break}else if(Jt()===":"){if(w++,!Jt())return}else if(Jt())return;nt[K++]=Ot}if(B!==null)for(_t=K-B,K=7;K!==0&&_t>0;)rt=nt[K],nt[K--]=nt[B+_t-1],nt[B+--_t]=rt;else if(K!==8)return;return nt},yt=function(V){for(var nt=null,K=1,B=null,w=0,Ot=0;Ot<8;Ot++)V[Ot]!==0?(w>K&&(nt=B,K=w),B=null,w=0):(B===null&&(B=Ot),++w);return w>K?B:nt},pt=function(V){var nt,K,B,w;if(typeof V=="number"){for(nt=[],K=0;K<4;K++)gt(nt,V%256),V=U(V/256);return G(nt,".")}if(typeof V=="object"){for(nt="",B=yt(V),K=0;K<8;K++)w&&V[K]===0||(w&&(w=!1),B===K?(nt+=K?":":"::",w=!0):(nt+=Y(V[K],16),K<7&&(nt+=":")));return"["+nt+"]"}return V},ct={},ft=d({},ct,{" ":1,'"':1,"<":1,">":1,"`":1}),zt=d({},ft,{"#":1,"?":1,"{":1,"}":1}),Yt=d({},zt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(V,nt){var K=p(V,0);return K>32&&K<127&&!c(nt,V)?V:encodeURIComponent(V)},k={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tt=function(V,nt){var K;return V.length===2&&L(vt,F(V,0))&&((K=F(V,1))===":"||!nt&&K==="|")},j=function(V){var nt;return V.length>1&&tt(lt(V,0,2))&&(V.length===2||(nt=F(V,2))==="/"||nt==="\\"||nt==="?"||nt==="#")},z=function(V){return V==="."||ht(V)==="%2e"},b=function(V){return V=ht(V),V===".."||V==="%2e."||V===".%2e"||V==="%2e%2e"},ot={},mt={},At={},Bt={},jt={},Ut={},Qt={},fr={},dr={},hr={},pr={},gr={},mr={},xr={},Ar={},Sr={},lr={},nr={},Pr={},ir={},or={},Er=function(V,nt,K){var B=m(V),w,Ot,xt;if(nt){if(Ot=this.parse(B),Ot)throw new N(Ot);this.searchParams=null}else{if(K!==void 0&&(w=new Er(K,!0)),Ot=this.parse(B,null,w),Ot)throw new N(Ot);xt=C(new A),xt.bindURL(this),this.searchParams=xt}};Er.prototype={type:"URL",parse:function(V,nt,K){var B=this,w=nt||ot,Ot=0,xt="",Xt=!1,Zt=!1,wt=!1,_t,rt,Jt,er;for(V=m(V),nt||(B.scheme="",B.username="",B.password="",B.host=null,B.port=null,B.path=[],B.query=null,B.fragment=null,B.cannotBeABaseURL=!1,V=X(V,Vt,""),V=X(V,$t,"$1")),V=X(V,Mt,""),_t=h(V);Ot<=_t.length;){switch(rt=_t[Ot],w){case ot:if(rt&&L(vt,rt))xt+=ht(rt),w=mt;else{if(nt)return Ft;w=At;continue}break;case mt:if(rt&&(L(St,rt)||rt==="+"||rt==="-"||rt==="."))xt+=ht(rt);else if(rt===":"){if(nt&&(B.isSpecial()!==c(k,xt)||xt==="file"&&(B.includesCredentials()||B.port!==null)||B.scheme==="file"&&!B.host))return;if(B.scheme=xt,nt){B.isSpecial()&&k[B.scheme]===B.port&&(B.port=null);return}xt="",B.scheme==="file"?w=xr:B.isSpecial()&&K&&K.scheme===B.scheme?w=Bt:B.isSpecial()?w=fr:_t[Ot+1]==="/"?(w=jt,Ot++):(B.cannotBeABaseURL=!0,Q(B.path,""),w=Pr)}else{if(nt)return Ft;xt="",w=At,Ot=0;continue}break;case At:if(!K||K.cannotBeABaseURL&&rt!=="#")return Ft;if(K.cannotBeABaseURL&&rt==="#"){B.scheme=K.scheme,B.path=g(K.path),B.query=K.query,B.fragment="",B.cannotBeABaseURL=!0,w=or;break}w=K.scheme==="file"?xr:Ut;continue;case Bt:if(rt==="/"&&_t[Ot+1]==="/")w=dr,Ot++;else{w=Ut;continue}break;case jt:if(rt==="/"){w=hr;break}else{w=nr;continue}case Ut:if(B.scheme=K.scheme,rt===q)B.username=K.username,B.password=K.password,B.host=K.host,B.port=K.port,B.path=g(K.path),B.query=K.query;else if(rt==="/"||rt==="\\"&&B.isSpecial())w=Qt;else if(rt==="?")B.username=K.username,B.password=K.password,B.host=K.host,B.port=K.port,B.path=g(K.path),B.query="",w=ir;else if(rt==="#")B.username=K.username,B.password=K.password,B.host=K.host,B.port=K.port,B.path=g(K.path),B.query=K.query,B.fragment="",w=or;else{B.username=K.username,B.password=K.password,B.host=K.host,B.port=K.port,B.path=g(K.path),B.path.length--,w=nr;continue}break;case Qt:if(B.isSpecial()&&(rt==="/"||rt==="\\"))w=dr;else if(rt==="/")w=hr;else{B.username=K.username,B.password=K.password,B.host=K.host,B.port=K.port,w=nr;continue}break;case fr:if(w=dr,rt!=="/"||F(xt,Ot+1)!=="/")continue;Ot++;break;case dr:if(rt!=="/"&&rt!=="\\"){w=hr;continue}break;case hr:if(rt==="@"){Xt&&(xt="%40"+xt),Xt=!0,Jt=h(xt);for(var Tr=0;Tr65535)return at;B.port=B.isSpecial()&&yr===k[B.scheme]?null:yr,xt=""}if(nt)return;w=lr;continue}else return at;break;case xr:if(B.scheme="file",rt==="/"||rt==="\\")w=Ar;else if(K&&K.scheme==="file")switch(rt){case q:B.host=K.host,B.path=g(K.path),B.query=K.query;break;case"?":B.host=K.host,B.path=g(K.path),B.query="",w=ir;break;case"#":B.host=K.host,B.path=g(K.path),B.query=K.query,B.fragment="",w=or;break;default:j(G(g(_t,Ot),""))||(B.host=K.host,B.path=g(K.path),B.shortenPath()),w=nr;continue}else{w=nr;continue}break;case Ar:if(rt==="/"||rt==="\\"){w=Sr;break}K&&K.scheme==="file"&&!j(G(g(_t,Ot),""))&&(tt(K.path[0],!0)?Q(B.path,K.path[0]):B.host=K.host),w=nr;continue;case Sr:if(rt===q||rt==="/"||rt==="\\"||rt==="?"||rt==="#"){if(!nt&&tt(xt))w=nr;else if(xt===""){if(B.host="",nt)return;w=lr}else{if(er=B.parseHost(xt),er)return er;if(B.host==="localhost"&&(B.host=""),nt)return;xt="",w=lr}continue}else xt+=rt;break;case lr:if(B.isSpecial()){if(w=nr,rt!=="/"&&rt!=="\\")continue}else if(!nt&&rt==="?")B.query="",w=ir;else if(!nt&&rt==="#")B.fragment="",w=or;else if(rt!==q&&(w=nr,rt!=="/"))continue;break;case nr:if(rt===q||rt==="/"||rt==="\\"&&B.isSpecial()||!nt&&(rt==="?"||rt==="#")){if(b(xt)?(B.shortenPath(),rt!=="/"&&!(rt==="\\"&&B.isSpecial())&&Q(B.path,"")):z(xt)?rt!=="/"&&!(rt==="\\"&&B.isSpecial())&&Q(B.path,""):(B.scheme==="file"&&!B.path.length&&tt(xt)&&(B.host&&(B.host=""),xt=F(xt,0)+":"),Q(B.path,xt)),xt="",B.scheme==="file"&&(rt===q||rt==="?"||rt==="#"))for(;B.path.length>1&&B.path[0]==="";)st(B.path);rt==="?"?(B.query="",w=ir):rt==="#"&&(B.fragment="",w=or)}else xt+=W(rt,zt);break;case Pr:rt==="?"?(B.query="",w=ir):rt==="#"?(B.fragment="",w=or):rt!==q&&(B.path[0]+=W(rt,ct));break;case ir:!nt&&rt==="#"?(B.fragment="",w=or):rt!==q&&(rt==="'"&&B.isSpecial()?B.query+="%27":rt==="#"?B.query+="%23":B.query+=W(rt,ct));break;case or:rt!==q&&(B.fragment+=W(rt,ft));break}Ot++}},parseHost:function(V){var nt,K,B;if(F(V,0)==="["){if(F(V,V.length-1)!=="]"||(nt=J(lt(V,1,-1)),!nt))return Pt;this.host=nt}else if(this.isSpecial()){if(V=y(V),L(bt,V)||(nt=ut(V),nt===null))return Pt;this.host=nt}else{if(L(Ct,V))return Pt;for(nt="",K=h(V),B=0;B1?arguments[1]:void 0,w=x(K,new Er(nt,!1,B));n||(K.href=w.serialize(),K.origin=w.getOrigin(),K.protocol=w.getProtocol(),K.username=w.getUsername(),K.password=w.getPassword(),K.host=w.getHost(),K.hostname=w.getHostname(),K.port=w.getPort(),K.pathname=w.getPathname(),K.search=w.getSearch(),K.searchParams=w.getSearchParams(),K.hash=w.getHash())},kt=cr.prototype,qt=function(V,nt){return{get:function(){return I(this)[V]()},set:nt&&function(K){return I(this)[nt](K)},configurable:!0,enumerable:!0}};if(n&&(v(kt,"href",qt("serialize","setHref")),v(kt,"origin",qt("getOrigin")),v(kt,"protocol",qt("getProtocol","setProtocol")),v(kt,"username",qt("getUsername","setUsername")),v(kt,"password",qt("getPassword","setPassword")),v(kt,"host",qt("getHost","setHost")),v(kt,"hostname",qt("getHostname","setHostname")),v(kt,"port",qt("getPort","setPort")),v(kt,"pathname",qt("getPathname","setPathname")),v(kt,"search",qt("getSearch","setSearch")),v(kt,"searchParams",qt("getSearchParams")),v(kt,"hash",qt("getHash","setHash"))),i(kt,"toJSON",function(){return I(this).serialize()},{enumerable:!0}),i(kt,"toString",function(){return I(this).serialize()},{enumerable:!0}),P){var Cr=P.createObjectURL,Or=P.revokeObjectURL;Cr&&i(cr,"createObjectURL",o(Cr,P)),Or&&i(cr,"revokeObjectURL",o(Or,P))}O(cr,"URL"),r({global:!0,constructor:!0,forced:!e,sham:!n},{URL:cr})},51862:function(s,l,t){t(81888)},24119:function(s,l,t){var r=t(14304),n=t(38941),e=t(95486),a=t(17361),o=t(91918),u=n("URL");r({target:"URL",stat:!0,forced:!o},{parse:function(v){var f=e(arguments.length,1),c=a(v),d=f<2||arguments[1]===void 0?void 0:a(arguments[1]);try{return new u(c,d)}catch(h){return null}}})},97526:function(s,l,t){var r=t(14304),n=t(96499);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})},61969:function(s,l,t){t(40949),t(43657),t(43606),t(15855),t(42026),t(33257),t(59414),t(88344),t(92579),t(94655),t(8565),t(60843),t(65842),t(51595),t(54908),t(81742),t(8720),t(42861),t(27796),t(1341),t(98700),t(65481),t(46509),t(41585),t(84554),t(36619),t(33818),t(64096),t(2209),t(91591),t(74092),t(54703),t(82936),t(48493),t(64730),t(95024),t(35054),t(25460),t(60703),t(90468),t(69581),t(720),t(11042),t(17289),t(24608),t(51644),t(88088),t(46828),t(90088),t(35148),t(86184),t(53983),t(42560),t(88444),t(27839),t(73051),t(9372),t(35473),t(4983),t(6875),t(68575),t(35495),t(32790),t(58594),t(30801),t(90911),t(90429),t(33685),t(60086),t(96049),t(14038),t(55518),t(8894),t(60628),t(56347),t(16864),t(93819),t(71332),t(47269),t(25627),t(22090),t(9839),t(15656),t(22091),t(2886),t(25895),t(24228),t(79488),t(75987),t(81555),t(87854),t(35074),t(50946),t(29417),t(80628),t(74375),t(29708),t(93449),t(9111),t(83514),t(15096),t(59590),t(99663),t(89988),t(54427),t(67895),t(57909),t(83938),t(55461),t(97339),t(3670),t(15224),t(45891),t(99910),t(92445),t(21875),t(4383),t(11361),t(13728),t(14885),t(30343),t(22045),t(75e3),t(64658),t(16017),t(84681),t(73421),t(93446),t(31046),t(94645),t(62935),t(62518),t(45130),t(51542),t(43781),t(25738),t(93247),t(41533),t(60225),t(69920),t(89205),t(78546),t(63616),t(16893),t(3676),t(58361),t(23958),t(9798),t(2371),t(76185),t(76553),t(93518),t(25227),t(91723),t(57882),t(37796),t(11563),t(26159),t(20962),t(77487),t(6130),t(1354),t(47119),t(31145),t(96773),t(14371),t(18180),t(83147),t(75765),t(86548),t(15282),t(51275),t(91890),t(15089),t(78134),t(56456),t(40735),t(8510),t(70159),t(93087),t(26021),t(93029),t(59158),t(15599),t(18509),t(21579),t(8854),t(57676),t(14527),t(96834),t(52684),t(74980),t(390),t(42794),t(21293),t(18184),t(75012),t(19680),t(4193),t(70641),t(53892),t(95976),t(399),t(72032),t(49442),t(16012),t(9943),t(33128),t(95625),t(90614),t(60120),t(75826),t(25560),t(22571),t(40704),t(36849),t(49191),t(81083),t(27428),t(44884),t(48658),t(71998),t(6116),t(33032),t(80962),t(49381),t(38344),t(65961),t(94153),t(16028),t(20656),t(17063),t(21774),t(51761),t(12317),t(19711),t(41034),t(13313),t(44698),t(7369),t(66178),t(67961),t(8695),t(69997),t(9711),t(3923),t(59728),t(85227),t(56933),t(91490),t(61766),t(85143),t(47005),t(10042),t(37888),t(19431),t(60869),t(50338),t(53059),t(5805),t(50685),t(70649),t(39842),t(82872),t(91401),t(92904),t(28381),t(51862),t(20760),t(24119),t(97526),t(86650),t(10901),t(93944),t(79043),t(75081)}},vr={};function rr(s){var l=vr[s];if(l!==void 0)return l.exports;var t=vr[s]={exports:{}};return Fr[s].call(t.exports,t,t.exports,rr),t.exports}(function(){rr.d=function(s,l){for(var t in l)rr.o(l,t)&&!rr.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:l[t]})}})(),function(){rr.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)}}(),rr(61969);var Dr=rr(19770);return Dr=Dr.default,Dr}()}); diff --git a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js index 5322f198f..f7c3759f4 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -22946,7 +22946,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/sparkline/Options.ts class Options { diff --git a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js index 707821d83..6d2df6685 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(Kr,Mr){typeof exports=="object"&&typeof module=="object"?module.exports=Mr():typeof define=="function"&&define.amd?define("bb",[],Mr):typeof exports=="object"?exports.bb=Mr():(Kr.bb=Kr.bb||{},Kr.bb.plugin=Kr.bb.plugin||{},Kr.bb.plugin["sparkline.pkgd"]=Mr())})(this,function(){return function(){"use strict";var Ce={68990:function(i,h,t){t.d(h,{default:function(){return Sa}});var r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(e,f,c)=>f in e?r(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,u=(e,f)=>{for(var c in f||(f={}))a.call(f,c)&&s(e,c,f[c]);if(n)for(var c of n(f))o.call(f,c)&&s(e,c,f[c]);return e};const l={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},v={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},d={area:"bb-area",areas:"bb-areas"},g={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},y={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},p={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},m={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},E={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},S={dragarea:"bb-dragarea",INCLUDED:"_included_"},T={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},P={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},A={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},R={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},C={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},I={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},N={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},b={level:"bb-level",levels:"bb-levels"},L={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},F={region:"bb-region",regions:"bb-regions"},$={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},G={shape:"bb-shape",shapes:"bb-shapes"},V={brush:"bb-brush",subchart:"bb-subchart"},U={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},B={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},j={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},K={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var _=u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u({},l),v),d),g),y),p),m),E),S),P),A),R),C),I),T),N),L),F),$),G),V),U),B),j),K);function J(){}function nt(e){return e==null?J:function(){return this.querySelector(e)}}function q(e){typeof e!="function"&&(e=nt(e));for(var f=this._groups,c=f.length,x=new Array(c),O=0;O=$t&&($t=zt+1);!(tr=mt[$t])&&++$t=0;)(D=x[O])&&(M&&D.compareDocumentPosition(M)^4&&M.parentNode.insertBefore(D,M),M=D);return this}function rr(e){e||(e=Q);function f(Et,bt){return Et&&bt?e(Et.__data__,bt.__data__):!Et-!bt}for(var c=this._groups,x=c.length,O=new Array(x),M=0;Mf?1:e>=f?0:NaN}function at(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function it(){return Array.from(this)}function z(){for(var e=this._groups,f=0,c=e.length;f=0&&(f=e.slice(0,c))!=="xmlns"&&(e=e.slice(c+1)),Nt.hasOwnProperty(f)?{space:Nt[f],local:e}:e}function Jt(e){return function(){this.removeAttribute(e)}}function Yt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function er(e,f){return function(){this.setAttribute(e,f)}}function Xr(e,f){return function(){this.setAttributeNS(e.space,e.local,f)}}function en(e,f){return function(){var c=f.apply(this,arguments);c==null?this.removeAttribute(e):this.setAttribute(e,c)}}function an(e,f){return function(){var c=f.apply(this,arguments);c==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,c)}}function dn(e,f){var c=Wt(e);if(arguments.length<2){var x=this.node();return c.local?x.getAttributeNS(c.space,c.local):x.getAttribute(c)}return this.each((f==null?c.local?Yt:Jt:typeof f=="function"?c.local?an:en:c.local?Xr:er)(c,f))}function on(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function hn(e){return function(){this.style.removeProperty(e)}}function gn(e,f,c){return function(){this.style.setProperty(e,f,c)}}function Dn(e,f,c){return function(){var x=f.apply(this,arguments);x==null?this.style.removeProperty(e):this.style.setProperty(e,x,c)}}function yn(e,f,c){return arguments.length>1?this.each((f==null?hn:typeof f=="function"?Dn:gn)(e,f,c==null?"":c)):Nr(this.node(),e)}function Nr(e,f){return e.style.getPropertyValue(f)||on(e).getComputedStyle(e,null).getPropertyValue(f)}function br(e){return function(){delete this[e]}}function Fn(e,f){return function(){this[e]=f}}function Hr(e,f){return function(){var c=f.apply(this,arguments);c==null?delete this[e]:this[e]=c}}function Dr(e,f){return arguments.length>1?this.each((f==null?br:typeof f=="function"?Hr:Fn)(e,f)):this.node()[e]}function sn(e){return e.trim().split(/^|\s+/)}function jr(e){return e.classList||new dr(e)}function dr(e){this._node=e,this._names=sn(e.getAttribute("class")||"")}dr.prototype={add:function(e){var f=this._names.indexOf(e);f<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var f=this._names.indexOf(e);f>=0&&(this._names.splice(f,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Ir(e,f){for(var c=jr(e),x=-1,O=f.length;++x=0&&(c=f.slice(x+1),f=f.slice(0,x)),{type:f,name:c}})}function Ua(e){return function(){var f=this.__on;if(f){for(var c=0,x=-1,O=f.length,M;c{}};function be(){for(var e=0,f=arguments.length,c={},x;e=0&&(x=c.slice(O+1),c=c.slice(0,O)),c&&!f.hasOwnProperty(c))throw new Error("unknown type: "+c);return{type:c,name:x}})}Bn.prototype=be.prototype={constructor:Bn,on:function(e,f){var c=this._,x=Ka(e+"",c),O,M=-1,D=x.length;if(arguments.length<2){for(;++M0)for(var c=new Array(O),x=0,O,M;x=0&&e._call.call(void 0,f),e=e._next;--fn}function Ue(){_r=(wn=Tn.now())+Gn,fn=Sn=0;try{Za()}finally{fn=0,qa(),_r=0}}function ka(){var e=Tn.now(),f=e-wn;f>Fe&&(Gn-=f,wn=e)}function qa(){for(var e,f=jn,c,x=1/0;f;)f._call?(x>f._time&&(x=f._time),e=f,f=f._next):(c=f._next,f._next=null,f=e?e._next=c:jn=c);On=e,ie(x)}function ie(e){if(!fn){Sn&&(Sn=clearTimeout(Sn));var f=e-_r;f>24?(e<1/0&&(Sn=setTimeout(Ue,e-Tn.now()-Gn)),En&&(En=clearInterval(En))):(En||(wn=Tn.now(),En=setInterval(ka,Fe)),fn=1,Le(Ue))}}function Be(e,f,c){var x=new Vn;return f=f==null?0:+f,x.restart(O=>{x.stop(),e(O+f)},f,c),x}var _a=Ja("start","end","cancel","interrupt"),to=[],je=0,we=1,ue=2,Hn=3,Ge=4,fe=5,Wn=6;function zn(e,f,c,x,O,M){var D=e.__transition;if(!D)e.__transition={};else if(c in D)return;ro(e,c,{name:f,index:x,group:O,on:_a,tween:to,time:M.time,delay:M.delay,duration:M.duration,ease:M.ease,timer:null,state:je})}function le(e,f){var c=$r(e,f);if(c.state>je)throw new Error("too late; already scheduled");return c}function wr(e,f){var c=$r(e,f);if(c.state>Hn)throw new Error("too late; already running");return c}function $r(e,f){var c=e.__transition;if(!c||!(c=c[f]))throw new Error("transition not found");return c}function ro(e,f,c){var x=e.__transition,O;x[f]=c,c.timer=$e(M,0,c.time);function M(tt){c.state=we,c.timer.restart(D,c.delay,c.time),c.delay<=tt&&D(tt-c.delay)}function D(tt){var et,Et,bt,wt;if(c.state!==we)return W();for(et in x)if(wt=x[et],wt.name===c.name){if(wt.state===Hn)return Be(D);wt.state===Ge?(wt.state=Wn,wt.timer.stop(),wt.on.call("interrupt",e,e.__data__,wt.index,wt.group),delete x[et]):+etue&&x.state180?et+=360:et-tt>180&&(tt+=360),bt.push({i:Et.push(O(Et)+"rotate(",null,x)-2,x:Jr(tt,et)})):et&&Et.push(O(Et)+"rotate("+et+x)}function w(tt,et,Et,bt){tt!==et?bt.push({i:Et.push(O(Et)+"skewX(",null,x)-2,x:Jr(tt,et)}):et&&Et.push(O(Et)+"skewX("+et+x)}function W(tt,et,Et,bt,wt,or){if(tt!==Et||et!==bt){var hr=wt.push(O(wt)+"scale(",null,",",null,")");or.push({i:hr-4,x:Jr(tt,Et)},{i:hr-2,x:Jr(et,bt)})}else(Et!==1||bt!==1)&&wt.push(O(wt)+"scale("+Et+","+bt+")")}return function(tt,et){var Et=[],bt=[];return tt=e(tt),et=e(et),M(tt.translateX,tt.translateY,et.translateX,et.translateY,Et,bt),D(tt.rotate,et.rotate,Et,bt),w(tt.skewX,et.skewX,Et,bt),W(tt.scaleX,tt.scaleY,et.scaleX,et.scaleY,Et,bt),tt=et=null,function(wt){for(var or=-1,hr=bt.length,mt;++or>8&15|f>>4&240,f>>4&15|f&240,(f&15)<<4|f&15,1):c===8?Xn(f>>24&255,f>>16&255,f>>8&255,(f&255)/255):c===4?Xn(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|f&240,((f&15)<<4|f&15)/255):null):(f=co.exec(e))?new Pr(f[1],f[2],f[3],1):(f=ho.exec(e))?new Pr(f[1]*255/100,f[2]*255/100,f[3]*255/100,1):(f=go.exec(e))?Xn(f[1],f[2],f[3],f[4]):(f=yo.exec(e))?Xn(f[1]*255/100,f[2]*255/100,f[3]*255/100,f[4]):(f=po.exec(e))?ke(f[1],f[2]/100,f[3]/100,1):(f=mo.exec(e))?ke(f[1],f[2]/100,f[3]/100,f[4]):Ye.hasOwnProperty(e)?Je(Ye[e]):e==="transparent"?new Pr(NaN,NaN,NaN,0):null}function Je(e){return new Pr(e>>16&255,e>>8&255,e&255,1)}function Xn(e,f,c,x){return x<=0&&(e=f=c=NaN),new Pr(e,f,c,x)}function Eo(e){return e instanceof In||(e=Pn(e)),e?(e=e.rgb(),new Pr(e.r,e.g,e.b,e.opacity)):new Pr}function Jn(e,f,c,x){return arguments.length===1?Eo(e):new Pr(e,f,c,x==null?1:x)}function Pr(e,f,c,x){this.r=+e,this.g=+f,this.b=+c,this.opacity=+x}de(Pr,Jn,ze(In,{brighter(e){return e=e==null?Kn:Math.pow(Kn,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?An:Math.pow(An,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Pr(tn(this.r),tn(this.g),tn(this.b),Qn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qe,formatHex:Qe,formatHex8:Oo,formatRgb:Ze,toString:Ze}));function Qe(){return`#${rn(this.r)}${rn(this.g)}${rn(this.b)}`}function Oo(){return`#${rn(this.r)}${rn(this.g)}${rn(this.b)}${rn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ze(){const e=Qn(this.opacity);return`${e===1?"rgb(":"rgba("}${tn(this.r)}, ${tn(this.g)}, ${tn(this.b)}${e===1?")":`, ${e})`}`}function Qn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function tn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function rn(e){return e=tn(e),(e<16?"0":"")+e.toString(16)}function ke(e,f,c,x){return x<=0?e=f=c=NaN:c<=0||c>=1?e=f=NaN:f<=0&&(e=NaN),new Ur(e,f,c,x)}function qe(e){if(e instanceof Ur)return new Ur(e.h,e.s,e.l,e.opacity);if(e instanceof In||(e=Pn(e)),!e)return new Ur;if(e instanceof Ur)return e;e=e.rgb();var f=e.r/255,c=e.g/255,x=e.b/255,O=Math.min(f,c,x),M=Math.max(f,c,x),D=NaN,w=M-O,W=(M+O)/2;return w?(f===M?D=(c-x)/w+(c0&&W<1?0:D,new Ur(D,w,W,e.opacity)}function To(e,f,c,x){return arguments.length===1?qe(e):new Ur(e,f,c,x==null?1:x)}function Ur(e,f,c,x){this.h=+e,this.s=+f,this.l=+c,this.opacity=+x}de(Ur,To,ze(In,{brighter(e){return e=e==null?Kn:Math.pow(Kn,e),new Ur(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?An:Math.pow(An,e),new Ur(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,f=isNaN(e)||isNaN(this.s)?0:this.s,c=this.l,x=c+(c<.5?c:1-c)*f,O=2*c-x;return new Pr(he(e>=240?e-240:e+120,O,x),he(e,O,x),he(e<120?e+240:e-120,O,x),this.opacity)},clamp(){return new Ur(_e(this.h),Zn(this.s),Zn(this.l),Qn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Qn(this.opacity);return`${e===1?"hsl(":"hsla("}${_e(this.h)}, ${Zn(this.s)*100}%, ${Zn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function _e(e){return e=(e||0)%360,e<0?e+360:e}function Zn(e){return Math.max(0,Math.min(1,e||0))}function he(e,f,c){return(e<60?f+(c-f)*e/60:e<180?c:e<240?f+(c-f)*(240-e)/60:f)*255}function ta(e,f,c,x,O){var M=e*e,D=M*e;return((1-3*e+3*M-D)*f+(4-6*M+3*D)*c+(1+3*e+3*M-3*D)*x+D*O)/6}function Io(e){var f=e.length-1;return function(c){var x=c<=0?c=0:c>=1?(c=1,f-1):Math.floor(c*f),O=e[x],M=e[x+1],D=x>0?e[x-1]:2*O-M,w=x()=>e;function na(e,f){return function(c){return e+c*f}}function Ro(e,f,c){return e=Math.pow(e,c),f=Math.pow(f,c)-e,c=1/c,function(x){return Math.pow(e+x*f,c)}}function fi(e,f){var c=f-e;return c?na(e,c>180||c<-180?c-360*Math.round(c/360):c):constant(isNaN(e)?f:e)}function Po(e){return(e=+e)==1?ea:function(f,c){return c-f?Ro(f,c,e):ra(isNaN(f)?c:f)}}function ea(e,f){var c=f-e;return c?na(e,c):ra(isNaN(e)?f:e)}var aa=function e(f){var c=Po(f);function x(O,M){var D=c((O=Jn(O)).r,(M=Jn(M)).r),w=c(O.g,M.g),W=c(O.b,M.b),tt=ea(O.opacity,M.opacity);return function(et){return O.r=D(et),O.g=w(et),O.b=W(et),O.opacity=tt(et),O+""}}return x.gamma=e,x}(1);function oa(e){return function(f){var c=f.length,x=new Array(c),O=new Array(c),M=new Array(c),D,w;for(D=0;Dc&&(M=f.slice(c,M),w[D]?w[D]+=M:w[++D]=M),(x=x[0])===(O=O[0])?w[D]?w[D]+=O:w[++D]=O:(w[++D]=null,W.push({i:D,x:Jr(x,O)})),c=ye.lastIndex;return c=0&&(f=f.slice(0,c)),!f||f==="start"})}function ns(e,f,c){var x,O,M=rs(f)?le:wr;return function(){var D=M(this,e),w=D.on;w!==x&&(O=(x=w).copy()).on(f,c),D.on=O}}function es(e,f){var c=this._id;return arguments.length<2?$r(this.node(),c).on.on(e):this.each(ns(c,e,f))}function as(e){return function(){var f=this.parentNode;for(var c in this.__transition)if(+c!==e)return;f&&f.removeChild(this)}}function os(){return this.on("end.remove",as(this._id))}function ss(e){var f=this._name,c=this._id;typeof e!="function"&&(e=nt(e));for(var x=this._groups,O=x.length,M=new Array(O),D=0;D{const cr=Qt.identifier;return Qt=pointer(Qt,Bt),Qt.point0=Qt.slice(),Qt.identifier=cr,Qt});interrupt(Bt);var Nn=et(Bt,arguments,!0).beforestart();if(zt==="overlay"){fr&&(Pe=!0);const Qt=[Cr[0],Cr[1]||Cr[0]];Ar.selection=fr=[[ir=e===qn?Br:Tr(Qt[0][0],Qt[1][0]),yr=e===kn?Qr:Tr(Qt[0][1],Qt[1][1])],[mr=e===qn?Zr:Or(Qt[0][0],Qt[1][0]),Sr=e===kn?kr:Or(Qt[0][1],Qt[1][1])]],Cr.length>1&&nn(mt)}else ir=fr[0][0],yr=fr[0][1],mr=fr[1][0],Sr=fr[1][1];gr=ir,pr=yr,xr=mr,Er=Sr;var Ea=select(Bt).attr("pointer-events","none"),Mn=Ea.selectAll(".overlay").attr("cursor",Yr[zt]);if(mt.touches)Nn.moved=Ta,Nn.ended=Ia;else{var Oa=select(mt.view).on("mousemove.brush",Ta,!0).on("mouseup.brush",Ia,!0);O&&Oa.on("keydown.brush",ii,!0).on("keyup.brush",ui,!0),dragDisable(mt.view)}tt.call(Bt),Nn.start(mt,$t.name);function Ta(Qt){for(const cr of Qt.changedTouches||[Qt])for(const bn of Cr)bn.identifier===cr.identifier&&(bn.cur=pointer(cr,Bt));if(ne&&!ee&&!ae&&Cr.length===1){const cr=Cr[0];la(cr.cur[0]-cr[0])>la(cr.cur[1]-cr[1])?ae=!0:ee=!0}for(const cr of Cr)cr.cur&&(cr[0]=cr.cur[0],cr[1]=cr.cur[1]);Pe=!0,noevent(Qt),nn(Qt)}function nn(Qt){const cr=Cr[0],bn=cr.point0;var qr;switch(lr=cr[0]-bn[0],vr=cr[1]-bn[1],$t){case pe:case fa:{qt&&(lr=Or(Br-ir,Tr(Zr-mr,lr)),gr=ir+lr,xr=mr+lr),tr&&(vr=Or(Qr-yr,Tr(kr-Sr,vr)),pr=yr+vr,Er=Sr+vr);break}case vn:{Cr[1]?(qt&&(gr=Or(Br,Tr(Zr,Cr[0][0])),xr=Or(Br,Tr(Zr,Cr[1][0])),qt=1),tr&&(pr=Or(Qr,Tr(kr,Cr[0][1])),Er=Or(Qr,Tr(kr,Cr[1][1])),tr=1)):(qt<0?(lr=Or(Br-ir,Tr(Zr-ir,lr)),gr=ir+lr,xr=mr):qt>0&&(lr=Or(Br-mr,Tr(Zr-mr,lr)),gr=ir,xr=mr+lr),tr<0?(vr=Or(Qr-yr,Tr(kr-yr,vr)),pr=yr+vr,Er=Sr):tr>0&&(vr=Or(Qr-Sr,Tr(kr-Sr,vr)),pr=yr,Er=Sr+vr));break}case cn:{qt&&(gr=Or(Br,Tr(Zr,ir-lr*qt)),xr=Or(Br,Tr(Zr,mr+lr*qt))),tr&&(pr=Or(Qr,Tr(kr,yr-vr*tr)),Er=Or(Qr,Tr(kr,Sr+vr*tr)));break}}xr0&&(ir=gr-lr),tr<0?Sr=Er-vr:tr>0&&(yr=pr-vr),$t=pe,Mn.attr("cursor",Yr.selection),nn(Qt));break}default:return}noevent(Qt)}function ui(Qt){switch(Qt.keyCode){case 16:{ne&&(ee=ae=ne=!1,nn(Qt));break}case 18:{$t===cn&&(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),$t=vn,nn(Qt));break}case 32:{$t===pe&&(Qt.altKey?(qt&&(mr=xr-lr*qt,ir=gr+lr*qt),tr&&(Sr=Er-vr*tr,yr=pr+vr*tr),$t=cn):(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),$t=vn),Mn.attr("cursor",Yr[zt]),nn(Qt));break}default:return}noevent(Qt)}}function wt(mt){et(this,arguments).moved(mt)}function or(mt){et(this,arguments).ended(mt)}function hr(){var mt=this.__brush||{selection:null};return mt.extent=me(f.apply(this,arguments)),mt.dim=e,mt}return W.extent=function(mt){return arguments.length?(f=typeof mt=="function"?mt:constant(me(mt)),W):f},W.filter=function(mt){return arguments.length?(c=typeof mt=="function"?mt:constant(!!mt),W):c},W.touchable=function(mt){return arguments.length?(x=typeof mt=="function"?mt:constant(!!mt),W):x},W.handleSize=function(mt){return arguments.length?(D=+mt,W):D},W.keyModifiers=function(mt){return arguments.length?(O=!!mt,W):O},W.on=function(){var mt=M.on.apply(M,arguments);return mt===M?W:mt},W}function ws(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Gs(e){const f=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",c=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",x=M=>setTimeout(M,1),O=M=>clearTimeout(M);return[f?e.requestAnimationFrame:x,f?e.cancelAnimationFrame:O,c?e.requestIdleCallback:x,c?e.cancelIdleCallback:O]}const _n=ws(),Vs=_n==null?void 0:_n.document,[mi,xi,Si,Ei]=Gs(_n);var Hs=Object.defineProperty,ha=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,ga=(e,f,c)=>f in e?Hs(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,ya=(e,f)=>{for(var c in f||(f={}))Ws.call(f,c)&&ga(e,c,f[c]);if(ha)for(var c of ha(f))zs.call(f,c)&&ga(e,c,f[c]);return e};const Oi=e=>e||e===0,Ys=e=>typeof e=="function",te=e=>typeof e=="string",Ee=e=>typeof e=="number",Ks=e=>typeof e=="undefined",pa=e=>typeof e!="undefined",Ti=e=>typeof e=="boolean",Ii=e=>Math.ceil(e/10)*10,Ai=e=>Math.ceil(e)+.5,Ri=e=>e[1]-e[0],Oe=e=>typeof e=="object",Xs=e=>Ks(e)||e===null||te(e)&&e.length===0||Oe(e)&&!(e instanceof Date)&&Object.keys(e).length===0||Ee(e)&&isNaN(e),Js=e=>!Xs(e),Te=e=>Array.isArray(e),re=e=>e&&!(e!=null&&e.nodeType)&&Oe(e)&&!Te(e);function Pi(e,f,c){return pa(e[f])?e[f]:c}function Ci(e,f){let c=!1;return Object.keys(e).forEach(x=>e[x]===f&&(c=!0)),c}function Ni(e,f,...c){const x=Ys(e);return x&&e.call(f,...c),x}function Mi(e,f){let c=0;const x=function(...O){!--c&&f.apply(this,...O)};"duration"in e?e.each(()=>++c).on("end",x):(++c,e.call(x))}function bi(e){return te(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Di(e,f,c=[-1,1],x=!1){if(!(!e||!te(f)))if(f.indexOf(` `)===-1)e.text(f);else{const O=[e.text(),f].map(M=>M.replace(/[\s\n]/g,""));if(O[0]!==O[1]){const M=f.split(` -`),D=x?M.length-1:1;e.html(""),M.forEach((w,W)=>{e.append("tspan").attr("x",0).attr("dy",`${W===0?c[0]*D:c[1]}em`).text(w)})}}}function Qs(e){const{x:f,y:c,width:x,height:O}=e.getBBox();return[{x:f,y:c+O},{x:f,y:c},{x:f+x,y:c},{x:f+x,y:c+O}]}function Fi(e){const{width:f,height:c}=e.getBoundingClientRect(),x=Qs(e),O=x[0].x,M=Math.min(x[0].y,x[1].y);return{x:O,y:M,width:f,height:c}}function Li(e,f){var c;const x=e&&((c=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:c[0]);let O=[0,0];try{O=d3Pointer(x||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Zs(e){const{event:f,$el:c}=e,x=c.subchart.main||c.main;let O;return f&&f.type==="brush"?O=f.selection:x&&(O=x.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function $i(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ui(e=!0,f=0,c=1e4){const x=window.crypto||window.msCrypto,O=x?f+x.getRandomValues(new Uint32Array(1))[0]%(c-f+1):Math.floor(Math.random()*(c-f)+f);return e?String(O):O}function ma(e,f,c,x,O){if(c>x)return-1;const M=Math.floor((c+x)/2);let{x:D,w=0}=e[M];return O&&(D=e[M].y,w=e[M].h),f>=D&&f<=D+w?M:f{if(re(c)&&c.constructor){const x=new c.constructor;for(const O in c)x[O]=f(c[O]);return x}return c};return e.map(c=>f(c)).reduce((c,x)=>ya(ya({},c),x))}function ks(e={},f){Te(f)&&f.forEach(c=>ks(e,c));for(const c in f)/^\d+$/.test(c)||c in e||(e[c]=f[c]);return e}const wi=e=>e.charAt(0).toUpperCase()+e.slice(1);function Gi(e,f="-"){return e.split(f).map((c,x)=>x?c.charAt(0).toUpperCase()+c.slice(1).toLowerCase():c.toLowerCase()).join("")}const qs=e=>[].slice.call(e);function Vi(e,f,c){const{rootSelector:x="",sheet:O}=e,D=`${x} ${(w=>w.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${c.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](D,O.cssRules.length)}function Hi(e){let f=[];return e.forEach(c=>{var x;try{c.cssRules&&c.cssRules.length&&(f=f.concat(qs(c.cssRules)))}catch(O){(x=window.console)==null||x.warn(`Error while reading rules from ${c.href}: ${O.toString()}`)}}),f}function Wi(e){var f,c,x,O,M,D;return{x:((c=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?c:0)+((x=e.scrollLeft)!=null?x:0),y:((M=(O=window.pageYOffset)!=null?O:window.scrollY)!=null?M:0)+((D=e.scrollTop)!=null?D:0)}}function zi(e){const f=e?e.transform:null,c=f&&f.baseVal;return c&&c.numberOfItems?c.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Yi(e){const f=e[0]instanceof Date,c=(f?e.map(Number):e).filter((x,O,M)=>M.indexOf(x)===O);return f?c.map(x=>new Date(x)):c}function Ki(e){return e&&e.length?e.reduce((f,c)=>f.concat(c)):[]}function Ie(e,...f){if(!f.length||f.length===1&&!f[0])return e;const c=f.shift();return re(e)&&re(c)&&Object.keys(c).forEach(x=>{const O=c[x];re(O)?(!e[x]&&(e[x]={}),e[x]=Ie(e[x],O)):e[x]=Te(O)?O.concat():O}),Ie(e,...f)}function _s(e,f=!0){let c;return e[0]instanceof Date?c=f?(x,O)=>x-O:(x,O)=>O-x:f&&!e.every(isNaN)?c=(x,O)=>x-O:f||(c=(x,O)=>x>O&&-1||xJs(x));return c.length?Ee(c[0])?c=Math[e](...c):c[0]instanceof Date&&(c=_s(c,e==="min")[0]):c=void 0,c}const Ji=(e,f,c=1)=>{const x=[],O=Math.max(0,Math.ceil((f-e)/c))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,c,x=e())=>{f.dispatchEvent(new MouseEvent(c,x))}}catch(f){return(c,x,O=e())=>{const M=Vs.createEvent("MouseEvent");M.initMouseEvent(x,O.bubbles,O.cancelable,_n,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),c.dispatchEvent(M)}}})(),touch:(e,f,c)=>{const x=new Touch(Ie({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},c));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[x],targetTouches:[],changedTouches:[x]}))}};function Zi(e,f){let c=e;for(const x in f)c=c.replace(new RegExp(`{=${x}}`,"g"),f[x]);return c}function ki(e){var f;let c;if(e instanceof Date)c=e;else if(te(e)){const{config:x,format:O}=this;c=(f=O.dataTime(x.data_xFormat)(e))!=null?f:new Date(e)}else Ee(e)&&!isNaN(e)&&(c=new Date(+e));return(!c||isNaN(+c))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),c}function qi(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function _i(e,f){const{DocumentTouch:c,matchMedia:x,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||c&&document instanceof c)M=!0;else if(x!=null&&x("(pointer:coarse)").matches)M=!0;else{const w=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(w)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(w)}return e&&((x==null?void 0:x("any-hover:hover").matches)||(x==null?void 0:x("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function ti(e,f){f()===!1?requestAnimationFrame(()=>ti(e,f)):e()}function ri(e){const f=this.config;let c,x,O;const M=()=>{const D=x.shift();if(D&&c&&Oe(c)&&D in c)return c=c[D],M();if(!D)return c};Object.keys(f).forEach(D=>{c=e,x=D.split("_"),O=M(),pa(O)&&(f[D]=O)}),this.api&&(this.state.orgConfig=e)}var ni=Object.defineProperty,ei=(e,f,c)=>f in e?ni(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Ae=(e,f,c)=>ei(e,typeof f!="symbol"?f+"":f,c);class xa{constructor(f={}){Ae(this,"$$"),Ae(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Ae(xa,"version","3.12.4-nightly-20240809004639");class ai{constructor(){return{selector:void 0}}}var oi=Object.defineProperty,si=(e,f,c)=>f in e?oi(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Re=(e,f,c)=>si(e,typeof f!="symbol"?f+"":f,c);class Sa extends xa{constructor(f){return super(f),Re(this,"config"),Re(this,"element"),this.config=new ai,this}$beforeInit(){ri.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:f,config:c}=this;let x="";if((!c.selector||!document.querySelector(c.selector))&&(x="No holder elements found from given selector option."),(f.hasType("bubble")||f.hasType("scatter")||f.hasArcType(f.data.targets))&&(x="Contains non supported chart types."),x)throw new Error(`[Sparkline plugin] ${x}`)}overrideInternals(){const{$$:f}=this,{getBarW:c,getIndices:x}=f;f.getIndices=function(O,M,D){return D==="getShapeX"?{}:x.call(this,O,M)},f.getBarW=function(O,M){return c.call(this,O,M,1)}}overrideOptions(){const{config:f}=this.$$;if(f.legend_show=!1,f.resize_auto=!1,f.axis_x_show=!1,f.padding!==!1){const c=x=>Object.keys(x||{}).length>0;c(f.axis_x_padding)&&(f.axis_x_padding={left:15,right:15,unit:"px"}),c(f.axis_y_padding)&&(f.axis_y_padding=5)}f.axis_y_show=!1,f.tooltip_position||(f.tooltip_position=function(c,x,O){const{internal:{state:{event:M}}}=this;let D=M.pageY-O*1.35,w=M.pageX-x/2;return D<0&&(D=0),w<0&&(w=0),{top:D,left:w}})}$init(){var f;const{$$:{$el:c}}=this;c.chart.style("width","0").style("height","0").style("pointer-events","none"),(f=c.tooltip)!=null&&f.node()&&document.body.appendChild(c.tooltip.node())}$afterInit(){const{$$:f}=this;f.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(f=!0){const{$$:{config:c}}=this;if(c.interaction_enabled&&c.tooltip_show){const x=`${f?"add":"remove"}EventListener`;this.element.forEach(O=>{const M=O.querySelector("svg");M[x]("mouseover",this.overHandler),M[x]("mousemove",this.moveHandler),M[x]("mouseout",this.outHandler)})}}overHandler(f){const{$$:c}=this,{state:{eventReceiver:x}}=c;x.rect=f.target.getBoundingClientRect()}moveHandler(f){var c,x,O,M;const{$$:D}=this,w=D.getDataIndexFromEvent(f),W=(c=D.api.data(f.target.__id))==null?void 0:c[0],tt=(x=W==null?void 0:W.values)==null?void 0:x[w];tt&&!tt.name&&(tt.name=tt.id),D.state.event=f,(O=D.isPointFocusOnly)!=null&&O.call(D)&&tt&&((M=D.showCircleFocus)==null||M.call(D,[tt])),D.setExpand(w,W.id,!0),D.showTooltip([tt],f.target)}outHandler(f){const{$$:c}=this;c.state.event=f,c.isPointFocusOnly()?c.hideCircleFocus():c.unexpandCircles(),c.hideTooltip()}$redraw(){var f;const{$$:c}=this,{$el:x}=c;let O=this.element;const M=c.api.data(),D=(f=x.chart.html().match(/]*>/))==null?void 0:f[0];if(O.length0;W--)w.parentNode.insertBefore(O[0].cloneNode(),w.nextSibling);this.element=document.querySelectorAll(this.config.selector),O=this.element}M.map(w=>w.id).forEach((w,W)=>{const tt=`.${l.target}-${w}`,et=x.main.selectAll(tt);let Et=O[W].querySelector("svg");Et||(O[W].innerHTML=`${D}`,Et=O[W].querySelector("svg"),Et.__id=w),Et.querySelector(tt)||et.style("opacity",null),et.style("fill","none").style("opacity",null),Et.innerHTML="",Et.appendChild(et.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(f=>{f.innerHTML=""})}}Re(Sa,"version","0.0.1")},85156:function(i,h,t){var r=t(23583),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a function")}},80042:function(i,h,t){var r=t(11051),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a constructor")}},53408:function(i,h,t){var r=t(52427),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a("Can't set "+n(o)+" as a prototype")}},76602:function(i,h,t){var r=t(172).has;i.exports=function(n){return r(n),n}},23811:function(i,h,t){var r=t(18565),n=t(5406),a=t(7831).f,o=r("unscopables"),s=Array.prototype;s[o]===void 0&&a(s,o,{configurable:!0,value:n(null)}),i.exports=function(u){s[o][u]=!0}},24487:function(i,h,t){var r=t(22149).charAt;i.exports=function(n,a,o){return a+(o?r(n,a).length:1)}},12833:function(i,h,t){var r=t(95307),n=TypeError;i.exports=function(a,o){if(r(o,a))return a;throw new n("Incorrect invocation")}},25001:function(i,h,t){var r=t(37540),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not an object")}},3237:function(i){i.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(i,h,t){var r=t(34246),n=t(84756),a=t(14274),o=r.ArrayBuffer,s=r.TypeError;i.exports=o&&n(o.prototype,"byteLength","get")||function(u){if(a(u)!=="ArrayBuffer")throw new s("ArrayBuffer expected");return u.byteLength}},30736:function(i,h,t){var r=t(34246),n=t(77422),a=t(58360),o=r.ArrayBuffer,s=o&&o.prototype,u=s&&n(s.slice);i.exports=function(l){if(a(l)!==0||!u)return!1;try{return u(l,0,0),!1}catch(v){return!0}}},72058:function(i,h,t){var r=t(72069);i.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},83843:function(i,h,t){var r=t(30736),n=TypeError;i.exports=function(a){if(r(a))throw new n("ArrayBuffer is detached");return a}},65006:function(i,h,t){var r=t(34246),n=t(11286),a=t(84756),o=t(9450),s=t(83843),u=t(58360),l=t(63741),v=t(99050),d=r.structuredClone,g=r.ArrayBuffer,y=r.DataView,p=Math.min,m=g.prototype,E=y.prototype,S=n(m.slice),T=a(m,"resizable","get"),P=a(m,"maxByteLength","get"),A=n(E.getInt8),R=n(E.setInt8);i.exports=(v||l)&&function(C,I,N){var b=u(C),L=I===void 0?b:o(I),F=!T||!T(C),$;if(s(C),v&&(C=d(C,{transfer:[C]}),b===L&&(N||F)))return C;if(b>=L&&(!N||F))$=S(C,0,L);else{var G=N&&!F&&P?{maxByteLength:P(C)}:void 0;$=new g(L,G);for(var V=new y(C),U=new y($),B=p(L,b),j=0;j>8&255]},Mt=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},Ct=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Lt=function(st){return Dt(E(st),23,4)},Zt=function(st){return Dt(st,52,8)},kt=function(st,ht,rt){l(st[V],ht,{configurable:!0,get:function(){return rt(this)[ht]}})},Kt=function(st,ht,rt,Ot){var It=K(st),xt=m(rt),pt=!!Ot;if(xt+ht>It.byteLength)throw new Tt(B);var _t=It.bytes,rr=xt+It.byteOffset,Q=R(_t,rr,rr+ht);return pt?Q:jt(Q)},Ft=function(st,ht,rt,Ot,It,xt){var pt=K(st),_t=m(rt),rr=Ot(+It),Q=!!xt;if(_t+ht>pt.byteLength)throw new Tt(B);for(var at=pt.bytes,it=_t+pt.byteOffset,z=0;zxt)throw new Tt("Wrong offset");if(Ot=Ot===void 0?xt-pt:p(Ot),pt+Ot>xt)throw new Tt(U);_(this,{type:G,buffer:ht,byteLength:Ot,byteOffset:pt,bytes:It.bytes}),a||(this.buffer=ht,this.byteLength=Ot,this.byteOffset=pt)},lt=dt[V],a&&(kt(nt,"byteLength",j),kt(dt,"buffer",K),kt(dt,"byteLength",K),kt(dt,"byteOffset",K)),v(lt,{getInt8:function(ht){return Kt(this,1,ht)[0]<<24>>24},getUint8:function(ht){return Kt(this,1,ht)[0]},getInt16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return(rt[1]<<8|rt[0])<<16>>16},getUint16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return rt[1]<<8|rt[0]},getInt32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))},getUint32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ht){return vt(Kt(this,4,ht,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ht){return vt(Kt(this,8,ht,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ht,rt){Ft(this,1,ht,gt,rt)},setUint8:function(ht,rt){Ft(this,1,ht,gt,rt)},setInt16:function(ht,rt){Ft(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setUint16:function(ht,rt){Ft(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setInt32:function(ht,rt){Ft(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setUint32:function(ht,rt){Ft(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setFloat32:function(ht,rt){Ft(this,4,ht,Lt,rt,arguments.length>2?arguments[2]:!1)},setFloat64:function(ht,rt){Ft(this,8,ht,Zt,rt,arguments.length>2?arguments[2]:!1)}});else{var Xt=L&&J.name!==$;!d(function(){J(1)})||!d(function(){new J(-1)})||d(function(){return new J,new J(1.5),new J(NaN),J.length!==1||Xt&&!F})?(nt=function(ht){return g(this,q),C(new J(m(ht)),this,nt)},nt[V]=q,q.constructor=nt,I(nt,J)):Xt&&F&&u(J,"name",$),P&&T(lt)!==yt&&P(lt,yt);var Ht=new dt(new nt(2)),Ut=n(lt.setInt8);Ht.setInt8(0,2147483648),Ht.setInt8(1,2147483649),(Ht.getInt8(0)||!Ht.getInt8(1))&&v(lt,{setInt8:function(ht,rt){Ut(this,ht,rt<<24>>24)},setUint8:function(ht,rt){Ut(this,ht,rt<<24>>24)}},{unsafe:!0})}N(nt,$),N(dt,G),i.exports={ArrayBuffer:nt,DataView:dt}},81499:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628),o=t(12384),s=Math.min;i.exports=[].copyWithin||function(l,v){var d=r(this),g=a(d),y=n(l,g),p=n(v,g),m=arguments.length>2?arguments[2]:void 0,E=s((m===void 0?g:n(m,g))-p,g-y),S=1;for(p0;)p in d?d[y]=d[p]:o(d,y),y+=S,p+=S;return d}},43011:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628);i.exports=function(s){for(var u=r(this),l=a(u),v=arguments.length,d=n(v>1?arguments[1]:void 0,l),g=v>2?arguments[2]:void 0,y=g===void 0?l:n(g,l);y>d;)u[d++]=s;return u}},13349:function(i,h,t){var r=t(66655).forEach,n=t(6148),a=n("forEach");i.exports=a?[].forEach:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}},5220:function(i,h,t){var r=t(82628);i.exports=function(n,a,o){for(var s=0,u=arguments.length>2?o:r(a),l=new n(u);u>s;)l[s]=a[s++];return l}},48258:function(i,h,t){var r=t(45526),n=t(96499),a=t(49671),o=t(39969),s=t(48199),u=t(11051),l=t(82628),v=t(84082),d=t(90619),g=t(81077),y=Array;i.exports=function(m){var E=a(m),S=u(this),T=arguments.length,P=T>1?arguments[1]:void 0,A=P!==void 0;A&&(P=r(P,T>2?arguments[2]:void 0));var R=g(E),C=0,I,N,b,L,F,$;if(R&&!(this===y&&s(R)))for(N=S?new this:[],L=d(E,R),F=L.next;!(b=n(F,L)).done;C++)$=A?o(L,P,[b.value,C],!0):b.value,v(N,C,$);else for(I=l(E),N=S?new this(I):y(I);I>C;C++)$=A?P(E[C],C):E[C],v(N,C,$);return N.length=C,N}},94319:function(i,h,t){var r=t(36859),n=t(4652),a=t(82628),o=function(s){return function(u,l,v){var d=r(u),g=a(d);if(g===0)return!s&&-1;var y=n(v,g),p;if(s&&l!==l){for(;g>y;)if(p=d[y++],p!==p)return!0}else for(;g>y;y++)if((s||y in d)&&d[y]===l)return s||y||0;return!s&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},73849:function(i,h,t){var r=t(45526),n=t(72181),a=t(49671),o=t(82628),s=function(u){var l=u===1;return function(v,d,g){for(var y=a(v),p=n(y),m=o(p),E=r(d,g),S,T;m-- >0;)if(S=p[m],T=E(S,m,y),T)switch(u){case 0:return S;case 1:return m}return l?-1:void 0}};i.exports={findLast:s(0),findLastIndex:s(1)}},66655:function(i,h,t){var r=t(45526),n=t(11286),a=t(72181),o=t(49671),s=t(82628),u=t(62083),l=n([].push),v=function(d){var g=d===1,y=d===2,p=d===3,m=d===4,E=d===6,S=d===7,T=d===5||E;return function(P,A,R,C){for(var I=o(P),N=a(I),b=s(N),L=r(A,R),F=0,$=C||u,G=g?$(P,b):y||S?$(P,0):void 0,V,U;b>F;F++)if((T||F in N)&&(V=N[F],U=L(V,F,I),d))if(g)G[F]=U;else if(U)switch(d){case 3:return!0;case 5:return V;case 6:return F;case 2:l(G,V)}else switch(d){case 4:return!1;case 7:l(G,V)}return E?-1:p||m?m:G}};i.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(i,h,t){var r=t(66543),n=t(36859),a=t(12105),o=t(82628),s=t(6148),u=Math.min,l=[].lastIndexOf,v=!!l&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),g=v||!d;i.exports=g?function(p){if(v)return r(l,this,arguments)||0;var m=n(this),E=o(m);if(E===0)return-1;var S=E-1;for(arguments.length>1&&(S=u(S,a(arguments[1]))),S<0&&(S=E+S);S>=0;S--)if(S in m&&m[S]===p)return S||0;return-1}:l},52183:function(i,h,t){var r=t(72069),n=t(18565),a=t(44241),o=n("species");i.exports=function(s){return a>=51||!r(function(){var u=[],l=u.constructor={};return l[o]=function(){return{foo:1}},u[s](Boolean).foo!==1})}},6148:function(i,h,t){var r=t(72069);i.exports=function(n,a){var o=[][n];return!!o&&r(function(){o.call(null,a||function(){return 1},1)})}},97264:function(i,h,t){var r=t(85156),n=t(49671),a=t(72181),o=t(82628),s=TypeError,u="Reduce of empty array with no initial value",l=function(v){return function(d,g,y,p){var m=n(d),E=a(m),S=o(m);if(r(g),S===0&&y<2)throw new s(u);var T=v?S-1:0,P=v?-1:1;if(y<2)for(;;){if(T in E){p=E[T],T+=P;break}if(T+=P,v?T<0:S<=T)throw new s(u)}for(;v?T>=0:S>T;T+=P)T in E&&(p=g(p,E[T],T,m));return p}};i.exports={left:l(!1),right:l(!0)}},2213:function(i,h,t){var r=t(92986),n=t(3438),a=TypeError,o=Object.getOwnPropertyDescriptor,s=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=s?function(u,l){if(n(u)&&!o(u,"length").writable)throw new a("Cannot set read only .length");return u.length=l}:function(u,l){return u.length=l}},22806:function(i,h,t){var r=t(11286);i.exports=r([].slice)},13270:function(i,h,t){var r=t(22806),n=Math.floor,a=function(o,s){var u=o.length;if(u<8)for(var l=1,v,d;l0;)o[d]=o[--d];d!==l++&&(o[d]=v)}else for(var g=n(u/2),y=a(r(o,0,g),s),p=a(r(o,g),s),m=y.length,E=p.length,S=0,T=0;S=v||g<0)throw new a("Incorrect index");for(var y=new s(v),p=0;p1?arguments[1]:void 0),U;U=U?U.next:G.first;)for(V(U.value,U.key,this);U&&U.removed;)U=U.previous},has:function($){return!!L(this,$)}}),a(I,A?{get:function($){var G=L(this,$);return G&&G.value},set:function($,G){return b(this,$===0?0:$,G)}}:{add:function($){return b(this,$=$===0?0:$,$)}}),y&&n(I,"size",{configurable:!0,get:function(){return N(this).size}}),C},setStrong:function(T,P,A){var R=P+" Iterator",C=S(P),I=S(R);v(T,P,function(N,b){E(this,{type:R,target:N,state:C(N),kind:b,last:void 0})},function(){for(var N=I(this),b=N.kind,L=N.last;L&&L.removed;)L=L.previous;return!N.target||!(N.last=L=L?L.next:N.state.first)?(N.target=void 0,d(void 0,!0)):d(b==="keys"?L.key:b==="values"?L.value:[L.key,L.value],!1)},A?"entries":"values",!A,!0),g(P)}}},94667:function(i,h,t){var r=t(11286),n=t(2725),a=t(31853).getWeakData,o=t(12833),s=t(25001),u=t(5683),l=t(37540),v=t(55902),d=t(66655),g=t(94879),y=t(82367),p=y.set,m=y.getterFor,E=d.find,S=d.findIndex,T=r([].splice),P=0,A=function(I){return I.frozen||(I.frozen=new R)},R=function(){this.entries=[]},C=function(I,N){return E(I.entries,function(b){return b[0]===N})};R.prototype={get:function(I){var N=C(this,I);if(N)return N[1]},has:function(I){return!!C(this,I)},set:function(I,N){var b=C(this,I);b?b[1]=N:this.entries.push([I,N])},delete:function(I){var N=S(this.entries,function(b){return b[0]===I});return~N&&T(this.entries,N,1),!!~N}},i.exports={getConstructor:function(I,N,b,L){var F=I(function(U,B){o(U,$),p(U,{type:N,id:P++,frozen:void 0}),u(B)||v(B,U[L],{that:U,AS_ENTRIES:b})}),$=F.prototype,G=m(N),V=function(U,B,j){var K=G(U),_=a(s(B),!0);return _===!0?A(K).set(B,j):_[K.id]=j,U};return n($,{delete:function(U){var B=G(this);if(!l(U))return!1;var j=a(U);return j===!0?A(B).delete(U):j&&g(j,B.id)&&delete j[B.id]},has:function(B){var j=G(this);if(!l(B))return!1;var K=a(B);return K===!0?A(j).has(B):K&&g(K,j.id)}}),n($,b?{get:function(B){var j=G(this);if(l(B)){var K=a(B);return K===!0?A(j).get(B):K?K[j.id]:void 0}},set:function(B,j){return V(this,B,j)}}:{add:function(B){return V(this,B,!0)}}),F}}},89378:function(i,h,t){var r=t(14304),n=t(34246),a=t(11286),o=t(13278),s=t(16142),u=t(31853),l=t(55902),v=t(12833),d=t(23583),g=t(5683),y=t(37540),p=t(72069),m=t(97494),E=t(78401),S=t(32345);i.exports=function(T,P,A){var R=T.indexOf("Map")!==-1,C=T.indexOf("Weak")!==-1,I=R?"set":"add",N=n[T],b=N&&N.prototype,L=N,F={},$=function(_){var J=a(b[_]);s(b,_,_==="add"?function(q){return J(this,q===0?0:q),this}:_==="delete"?function(nt){return C&&!y(nt)?!1:J(this,nt===0?0:nt)}:_==="get"?function(q){return C&&!y(q)?void 0:J(this,q===0?0:q)}:_==="has"?function(q){return C&&!y(q)?!1:J(this,q===0?0:q)}:function(q,dt){return J(this,q===0?0:q,dt),this})},G=o(T,!d(N)||!(C||b.forEach&&!p(function(){new N().entries().next()})));if(G)L=A.getConstructor(P,T,R,I),u.enable();else if(o(T,!0)){var V=new L,U=V[I](C?{}:-0,1)!==V,B=p(function(){V.has(1)}),j=m(function(_){new N(_)}),K=!C&&p(function(){for(var _=new N,J=5;J--;)_[I](J,J);return!_.has(-0)});j||(L=P(function(_,J){v(_,b);var nt=S(new N,_,L);return g(J)||l(J,nt[I],{that:nt,AS_ENTRIES:R}),nt}),L.prototype=b,b.constructor=L),(B||K)&&($("delete"),$("has"),R&&$("get")),(K||U)&&$(I),C&&b.clear&&delete b.clear}return F[T]=L,r({global:!0,constructor:!0,forced:L!==N},F),E(L,T),C||A.setStrong(L,T,R),L}},93706:function(i,h,t){var r=t(94879),n=t(16885),a=t(71349),o=t(7831);i.exports=function(s,u,l){for(var v=n(u),d=o.f,g=a.f,y=0;y"+g+""}},10659:function(i){i.exports=function(h,t){return{value:h,done:t}}},90809:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=r?function(o,s,u){return n.f(o,s,a(1,u))}:function(o,s,u){return o[s]=u,o}},18526:function(i){i.exports=function(h,t){return{enumerable:!(h&1),configurable:!(h&2),writable:!(h&4),value:t}}},84082:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=function(o,s,u){r?n.f(o,s,a(0,u)):o[s]=u}},11890:function(i,h,t){var r=t(11286),n=t(72069),a=t(61607).start,o=RangeError,s=isFinite,u=Math.abs,l=Date.prototype,v=l.toISOString,d=r(l.getTime),g=r(l.getUTCDate),y=r(l.getUTCFullYear),p=r(l.getUTCHours),m=r(l.getUTCMilliseconds),E=r(l.getUTCMinutes),S=r(l.getUTCMonth),T=r(l.getUTCSeconds);i.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!s(d(this)))throw new o("Invalid time value");var A=this,R=y(A),C=m(A),I=R<0?"-":R>9999?"+":"";return I+a(u(R),I?6:4,0)+"-"+a(S(A)+1,2,0)+"-"+a(g(A),2,0)+"T"+a(p(A),2,0)+":"+a(E(A),2,0)+":"+a(T(A),2,0)+"."+a(C,3,0)+"Z"}:v},84306:function(i,h,t){var r=t(25001),n=t(2064),a=TypeError;i.exports=function(o){if(r(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new a("Incorrect hint");return n(this,o)}},85500:function(i,h,t){var r=t(13749),n=t(7831);i.exports=function(a,o,s){return s.get&&r(s.get,o,{getter:!0}),s.set&&r(s.set,o,{setter:!0}),n.f(a,o,s)}},16142:function(i,h,t){var r=t(23583),n=t(7831),a=t(13749),o=t(36003);i.exports=function(s,u,l,v){v||(v={});var d=v.enumerable,g=v.name!==void 0?v.name:u;if(r(l)&&a(l,g,v),v.global)d?s[u]=l:o(u,l);else{try{v.unsafe?s[u]&&(d=!0):delete s[u]}catch(y){}d?s[u]=l:n.f(s,u,{value:l,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return s}},2725:function(i,h,t){var r=t(16142);i.exports=function(n,a,o){for(var s in a)r(n,s,a[s],o);return n}},36003:function(i,h,t){var r=t(34246),n=Object.defineProperty;i.exports=function(a,o){try{n(r,a,{value:o,configurable:!0,writable:!0})}catch(s){r[a]=o}return o}},12384:function(i,h,t){var r=t(82453),n=TypeError;i.exports=function(a,o){if(!delete a[o])throw new n("Cannot delete property "+r(o)+" of "+r(a))}},92986:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(i,h,t){var r=t(34246),n=t(81191),a=t(99050),o=r.structuredClone,s=r.ArrayBuffer,u=r.MessageChannel,l=!1,v,d,g,y;if(a)l=function(p){o(p,{transfer:[p]})};else if(s)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(d=new u,g=new s(2),y=function(p){d.port1.postMessage(null,[p])},g.byteLength===2&&(y(g),g.byteLength===0&&(l=y)))}catch(p){}i.exports=l},85501:function(i,h,t){var r=t(34246),n=t(37540),a=r.document,o=n(a)&&n(a.createElement);i.exports=function(s){return o?a.createElement(s):{}}},20095:function(i){var h=TypeError,t=9007199254740991;i.exports=function(r){if(r>t)throw h("Maximum allowed index exceeded");return r}},74408:function(i){i.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(i,h,t){var r=t(85501),n=r("span").classList,a=n&&n.constructor&&n.constructor.prototype;i.exports=a===Object.prototype?void 0:a},75785:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(i,h,t){var r=t(18257),n=r.match(/firefox\/(\d+)/i);i.exports=!!n&&+n[1]},17417:function(i,h,t){var r=t(18257);i.exports=/MSIE|Trident/.test(r)},7307:function(i,h,t){var r=t(18257);i.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(i,h,t){var r=t(18257);i.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(i,h,t){var r=t(21501);i.exports=r==="NODE"},67722:function(i,h,t){var r=t(18257);i.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(i,h,t){var r=t(34246),n=r.navigator,a=n&&n.userAgent;i.exports=a?String(a):""},44241:function(i,h,t){var r=t(34246),n=t(18257),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,u=s&&s.v8,l,v;u&&(l=u.split("."),v=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!v&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(v=+l[1]))),i.exports=v},66577:function(i,h,t){var r=t(18257),n=r.match(/AppleWebKit\/(\d+)\./);i.exports=!!n&&+n[1]},21501:function(i,h,t){var r=t(34246),n=t(18257),a=t(14274),o=function(s){return n.slice(0,s.length)===s};i.exports=function(){return o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":a(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"}()},40851:function(i,h,t){var r=t(11286),n=Error,a=r("".replace),o=function(l){return String(new n(l).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(o);i.exports=function(l,v){if(u&&typeof l=="string"&&!n.prepareStackTrace)for(;v--;)l=a(l,s,"");return l}},97077:function(i,h,t){var r=t(90809),n=t(40851),a=t(16929),o=Error.captureStackTrace;i.exports=function(s,u,l,v){a&&(o?o(s,u):r(s,"stack",n(l,v)))}},16929:function(i,h,t){var r=t(72069),n=t(18526);i.exports=!r(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",n(1,7)),a.stack!==7):!0})},58434:function(i,h,t){var r=t(92986),n=t(72069),a=t(25001),o=t(15453),s=Error.prototype.toString,u=n(function(){if(r){var l=Object.create(Object.defineProperty({},"name",{get:function(){return this===l}}));if(s.call(l)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});i.exports=u?function(){var v=a(this),d=o(v.name,"Error"),g=o(v.message);return d?g?d+": "+g:d:g}:s},14304:function(i,h,t){var r=t(34246),n=t(71349).f,a=t(90809),o=t(16142),s=t(36003),u=t(93706),l=t(13278);i.exports=function(v,d){var g=v.target,y=v.global,p=v.stat,m,E,S,T,P,A;if(y?E=r:p?E=r[g]||s(g,{}):E=r[g]&&r[g].prototype,E)for(S in d){if(P=d[S],v.dontCallGetSet?(A=n(E,S),T=A&&A.value):T=E[S],m=l(y?S:g+(p?".":"#")+S,v.forced),!m&&T!==void 0){if(typeof P==typeof T)continue;u(P,T)}(v.sham||T&&T.sham)&&a(P,"sham",!0),o(E,S,P,v)}}},72069:function(i){i.exports=function(h){try{return!!h()}catch(t){return!0}}},63194:function(i,h,t){t(31145);var r=t(96499),n=t(16142),a=t(44381),o=t(72069),s=t(18565),u=t(90809),l=s("species"),v=RegExp.prototype;i.exports=function(d,g,y,p){var m=s(d),E=!o(function(){var A={};return A[m]=function(){return 7},""[d](A)!==7}),S=E&&!o(function(){var A=!1,R=/a/;return d==="split"&&(R={},R.constructor={},R.constructor[l]=function(){return R},R.flags="",R[m]=/./[m]),R.exec=function(){return A=!0,null},R[m](""),!A});if(!E||!S||y){var T=/./[m],P=g(m,""[d],function(A,R,C,I,N){var b=R.exec;return b===a||b===v.exec?E&&!N?{done:!0,value:r(T,R,C,I)}:{done:!0,value:r(A,C,R,I)}:{done:!1}});n(String.prototype,d,P[0]),n(v,m,P[1])}p&&u(v[m],"sham",!0)}},53149:function(i,h,t){var r=t(3438),n=t(82628),a=t(20095),o=t(45526),s=function(u,l,v,d,g,y,p,m){for(var E=g,S=0,T=p?o(p,m):!1,P,A;S0&&r(P)?(A=n(P),E=s(u,l,P,A,E,y-1)-1):(a(E+1),u[E]=P),E++),S++;return E};i.exports=s},27534:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(i,h,t){var r=t(87878),n=Function.prototype,a=n.apply,o=n.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},45526:function(i,h,t){var r=t(77422),n=t(85156),a=t(87878),o=r(r.bind);i.exports=function(s,u){return n(s),u===void 0?s:a?o(s,u):function(){return s.apply(u,arguments)}}},87878:function(i,h,t){var r=t(72069);i.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(i,h,t){var r=t(11286),n=t(85156),a=t(37540),o=t(94879),s=t(22806),u=t(87878),l=Function,v=r([].concat),d=r([].join),g={},y=function(p,m,E){if(!o(g,m)){for(var S=[],T=0;T]*>)/g,v=/\$([$&'`]|\d{1,2})/g;i.exports=function(d,g,y,p,m,E){var S=y+d.length,T=p.length,P=v;return m!==void 0&&(m=n(m),P=l),s(E,P,function(A,R){var C;switch(o(R,0)){case"$":return"$";case"&":return d;case"`":return u(g,0,y);case"'":return u(g,S);case"<":C=m[u(R,1,-1)];break;default:var I=+R;if(I===0)return A;if(I>T){var N=a(I/10);return N===0?A:N<=T?p[N-1]===void 0?o(R,1):p[N-1]+o(R,1):A}C=p[I-1]}return C===void 0?"":C})}},34246:function(i){var h=function(t){return t&&t.Math===Math&&t};i.exports=h(typeof globalThis=="object"&&globalThis)||h(typeof window=="object"&&window)||h(typeof self=="object"&&self)||h(typeof global=="object"&&global)||h(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(i,h,t){var r=t(11286),n=t(49671),a=r({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return a(n(s),u)}},19423:function(i){i.exports={}},99095:function(i){i.exports=function(h,t){try{arguments.length===1?console.error(h):console.error(h,t)}catch(r){}}},96439:function(i,h,t){var r=t(38941);i.exports=r("document","documentElement")},52515:function(i,h,t){var r=t(92986),n=t(72069),a=t(85501);i.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(i){var h=Array,t=Math.abs,r=Math.pow,n=Math.floor,a=Math.log,o=Math.LN2,s=function(l,v,d){var g=h(d),y=d*8-v-1,p=(1<>1,E=v===23?r(2,-24)-r(2,-77):0,S=l<0||l===0&&1/l<0?1:0,T=0,P,A,R;for(l=t(l),l!==l||l===1/0?(A=l!==l?1:0,P=p):(P=n(a(l)/o),R=r(2,-P),l*R<1&&(P--,R*=2),P+m>=1?l+=E/R:l+=E*r(2,1-m),l*R>=2&&(P++,R/=2),P+m>=p?(A=0,P=p):P+m>=1?(A=(l*R-1)*r(2,v),P+=m):(A=l*r(2,m-1)*r(2,v),P=0));v>=8;)g[T++]=A&255,A/=256,v-=8;for(P=P<0;)g[T++]=P&255,P/=256,y-=8;return g[T-1]|=S*128,g},u=function(l,v){var d=l.length,g=d*8-v-1,y=(1<>1,m=g-7,E=d-1,S=l[E--],T=S&127,P;for(S>>=7;m>0;)T=T*256+l[E--],m-=8;for(P=T&(1<<-m)-1,T>>=-m,m+=v;m>0;)P=P*256+l[E--],m-=8;if(T===0)T=1-p;else{if(T===y)return P?NaN:S?-1/0:1/0;P+=r(2,v),T-=p}return(S?-1:1)*P*r(2,T-v)};i.exports={pack:s,unpack:u}},72181:function(i,h,t){var r=t(11286),n=t(72069),a=t(14274),o=Object,s=r("".split);i.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(u){return a(u)==="String"?s(u,""):o(u)}:o},32345:function(i,h,t){var r=t(23583),n=t(37540),a=t(15861);i.exports=function(o,s,u){var l,v;return a&&r(l=s.constructor)&&l!==u&&n(v=l.prototype)&&v!==u.prototype&&a(o,v),o}},84352:function(i,h,t){var r=t(11286),n=t(23583),a=t(70443),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(s){return o(s)}),i.exports=a.inspectSource},31486:function(i,h,t){var r=t(37540),n=t(90809);i.exports=function(a,o){r(o)&&"cause"in o&&n(a,"cause",o.cause)}},31853:function(i,h,t){var r=t(14304),n=t(11286),a=t(19423),o=t(37540),s=t(94879),u=t(7831).f,l=t(83258),v=t(92880),d=t(28174),g=t(36374),y=t(27534),p=!1,m=g("meta"),E=0,S=function(I){u(I,m,{value:{objectID:"O"+E++,weakData:{}}})},T=function(I,N){if(!o(I))return typeof I=="symbol"?I:(typeof I=="string"?"S":"P")+I;if(!s(I,m)){if(!d(I))return"F";if(!N)return"E";S(I)}return I[m].objectID},P=function(I,N){if(!s(I,m)){if(!d(I))return!0;if(!N)return!1;S(I)}return I[m].weakData},A=function(I){return y&&p&&d(I)&&!s(I,m)&&S(I),I},R=function(){C.enable=function(){},p=!0;var I=l.f,N=n([].splice),b={};b[m]=1,I(b).length&&(l.f=function(L){for(var F=I(L),$=0,G=F.length;$F;F++)if(G=j(E[F]),G&&l(m,G))return G;return new p(!1)}b=v(E,L)}for(V=R?E.next:b.next;!(U=n(V,b)).done;){try{G=j(U.value)}catch(K){g(b,"throw",K)}if(typeof G=="object"&&G&&l(m,G))return G}return new p(!1)}},99797:function(i,h,t){var r=t(96499),n=t(25001),a=t(10512);i.exports=function(o,s,u){var l,v;n(o);try{if(l=a(o,"return"),!l){if(s==="throw")throw u;return u}l=r(l,o)}catch(d){v=!0,l=d}if(s==="throw")throw u;if(v)throw l;return n(l),u}},26820:function(i,h,t){var r=t(24519).IteratorPrototype,n=t(5406),a=t(18526),o=t(78401),s=t(29107),u=function(){return this};i.exports=function(l,v,d,g){var y=v+" Iterator";return l.prototype=n(r,{next:a(+!g,d)}),o(l,y,!1,!0),s[y]=u,l}},10218:function(i,h,t){var r=t(14304),n=t(96499),a=t(70457),o=t(86588),s=t(23583),u=t(26820),l=t(26313),v=t(15861),d=t(78401),g=t(90809),y=t(16142),p=t(18565),m=t(29107),E=t(24519),S=o.PROPER,T=o.CONFIGURABLE,P=E.IteratorPrototype,A=E.BUGGY_SAFARI_ITERATORS,R=p("iterator"),C="keys",I="values",N="entries",b=function(){return this};i.exports=function(L,F,$,G,V,U,B){u($,F,G);var j=function(Tt){if(Tt===V&&q)return q;if(!A&&Tt&&Tt in J)return J[Tt];switch(Tt){case C:return function(){return new $(this,Tt)};case I:return function(){return new $(this,Tt)};case N:return function(){return new $(this,Tt)}}return function(){return new $(this)}},K=F+" Iterator",_=!1,J=L.prototype,nt=J[R]||J["@@iterator"]||V&&J[V],q=!A&&nt||j(V),dt=F==="Array"&&J.entries||nt,lt,yt,St;if(dt&&(lt=l(dt.call(new L)),lt!==Object.prototype&<.next&&(!a&&l(lt)!==P&&(v?v(lt,P):s(lt[R])||y(lt,R,b)),d(lt,K,!0,!0),a&&(m[K]=b))),S&&V===I&&nt&&nt.name!==I&&(!a&&T?g(J,"name",I):(_=!0,q=function(){return n(nt,this)})),V)if(yt={values:j(I),keys:U?q:j(C),entries:j(N)},B)for(St in yt)(A||_||!(St in J))&&y(J,St,yt[St]);else r({target:F,proto:!0,forced:A||_},yt);return(!a||B)&&J[R]!==q&&y(J,R,q,{name:V}),m[F]=q,yt}},24519:function(i,h,t){var r=t(72069),n=t(23583),a=t(37540),o=t(5406),s=t(26313),u=t(16142),l=t(18565),v=t(70457),d=l("iterator"),g=!1,y,p,m;[].keys&&(m=[].keys(),"next"in m?(p=s(s(m)),p!==Object.prototype&&(y=p)):g=!0);var E=!a(y)||r(function(){var S={};return y[d].call(S)!==S});E?y={}:v&&(y=o(y)),n(y[d])||u(y,d,function(){return this}),i.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:g}},29107:function(i){i.exports={}},82628:function(i,h,t){var r=t(45344);i.exports=function(n){return r(n.length)}},13749:function(i,h,t){var r=t(11286),n=t(72069),a=t(23583),o=t(94879),s=t(92986),u=t(86588).CONFIGURABLE,l=t(84352),v=t(82367),d=v.enforce,g=v.get,y=String,p=Object.defineProperty,m=r("".slice),E=r("".replace),S=r([].join),T=s&&!n(function(){return p(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),A=i.exports=function(R,C,I){m(y(C),0,7)==="Symbol("&&(C="["+E(y(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),I&&I.getter&&(C="get "+C),I&&I.setter&&(C="set "+C),(!o(R,"name")||u&&R.name!==C)&&(s?p(R,"name",{value:C,configurable:!0}):R.name=C),T&&I&&o(I,"arity")&&R.length!==I.arity&&p(R,"length",{value:I.arity});try{I&&o(I,"constructor")&&I.constructor?s&&p(R,"prototype",{writable:!1}):R.prototype&&(R.prototype=void 0)}catch(b){}var N=d(R);return o(N,"source")||(N.source=S(P,typeof C=="string"?C:"")),R};Function.prototype.toString=A(function(){return a(this)&&g(this).source||l(this)},"toString")},1774:function(i,h,t){var r=t(11286),n=Map.prototype;i.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(i){var h=Math.expm1,t=Math.exp;i.exports=!h||h(10)>22025.465794806718||h(10)<22025.465794806718||h(-2e-17)!==-2e-17?function(n){var a=+n;return a===0?a:a>-1e-6&&a<1e-6?a+a*a/2:t(a)-1}:h},10418:function(i,h,t){var r=t(93976),n=Math.abs,a=2220446049250313e-31,o=1/a,s=function(u){return u+o-o};i.exports=function(u,l,v,d){var g=+u,y=n(g),p=r(g);if(yv||E!==E?p*(1/0):p*E}},93279:function(i,h,t){var r=t(10418),n=11920928955078125e-23,a=34028234663852886e22,o=11754943508222875e-54;i.exports=Math.fround||function(u){return r(u,n,a,o)}},41942:function(i){var h=Math.log,t=Math.LOG10E;i.exports=Math.log10||function(n){return h(n)*t}},49366:function(i){var h=Math.log;i.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:h(1+n)}},93976:function(i){i.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(i){var h=Math.ceil,t=Math.floor;i.exports=Math.trunc||function(n){var a=+n;return(a>0?t:h)(a)}},9709:function(i,h,t){var r=t(34246),n=t(28167),a=t(45526),o=t(23115).set,s=t(76895),u=t(5286),l=t(7307),v=t(67722),d=t(91707),g=r.MutationObserver||r.WebKitMutationObserver,y=r.document,p=r.process,m=r.Promise,E=n("queueMicrotask"),S,T,P,A,R;if(!E){var C=new s,I=function(){var N,b;for(d&&(N=p.domain)&&N.exit();b=C.get();)try{b()}catch(L){throw C.head&&S(),L}N&&N.enter()};!u&&!d&&!v&&g&&y?(T=!0,P=y.createTextNode(""),new g(I).observe(P,{characterData:!0}),S=function(){P.data=T=!T}):!l&&m&&m.resolve?(A=m.resolve(void 0),A.constructor=m,R=a(A.then,A),S=function(){R(I)}):d?S=function(){p.nextTick(I)}:(o=a(o,r),S=function(){o(I)}),E=function(N){C.head||S(),C.add(N)}}i.exports=E},24649:function(i,h,t){var r=t(85156),n=TypeError,a=function(o){var s,u;this.promise=new o(function(l,v){if(s!==void 0||u!==void 0)throw new n("Bad Promise constructor");s=l,u=v}),this.resolve=r(s),this.reject=r(u)};i.exports.f=function(o){return new a(o)}},15453:function(i,h,t){var r=t(17361);i.exports=function(n,a){return n===void 0?arguments.length<2?"":a:r(n)}},92337:function(i,h,t){var r=t(11566),n=TypeError;i.exports=function(a){if(r(a))throw new n("The method doesn't accept regular expressions");return a}},98074:function(i,h,t){var r=t(34246),n=r.isFinite;i.exports=Number.isFinite||function(o){return typeof o=="number"&&n(o)}},25838:function(i,h,t){var r=t(34246),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=a("".charAt),v=r.parseFloat,d=r.Symbol,g=d&&d.iterator,y=1/v(u+"-0")!==-1/0||g&&!n(function(){v(Object(g))});i.exports=y?function(m){var E=s(o(m)),S=v(E);return S===0&&l(E,0)==="-"?-0:S}:v},23009:function(i,h,t){var r=t(34246),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=r.parseInt,v=r.Symbol,d=v&&v.iterator,g=/^[+-]?0x/i,y=a(g.exec),p=l(u+"08")!==8||l(u+"0x16")!==22||d&&!n(function(){l(Object(d))});i.exports=p?function(E,S){var T=s(o(E));return l(T,S>>>0||(y(g,T)?16:10))}:l},16667:function(i,h,t){var r=t(92986),n=t(11286),a=t(96499),o=t(72069),s=t(18350),u=t(24943),l=t(79591),v=t(49671),d=t(72181),g=Object.assign,y=Object.defineProperty,p=n([].concat);i.exports=!g||o(function(){if(r&&g({b:1},g(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var m={},E={},S=Symbol("assign detection"),T="abcdefghijklmnopqrst";return m[S]=7,T.split("").forEach(function(P){E[P]=P}),g({},m)[S]!==7||s(g({},E)).join("")!==T})?function(E,S){for(var T=v(E),P=arguments.length,A=1,R=u.f,C=l.f;P>A;)for(var I=d(arguments[A++]),N=R?p(s(I),R(I)):s(I),b=N.length,L=0,F;b>L;)F=N[L++],(!r||a(C,I,F))&&(T[F]=I[F]);return T}:g},5406:function(i,h,t){var r=t(25001),n=t(61963),a=t(75785),o=t(19423),s=t(96439),u=t(85501),l=t(44869),v=">",d="<",g="prototype",y="script",p=l("IE_PROTO"),m=function(){},E=function(R){return d+y+v+R+d+"/"+y+v},S=function(R){R.write(E("")),R.close();var C=R.parentWindow.Object;return R=null,C},T=function(){var R=u("iframe"),C="java"+y+":",I;return R.style.display="none",s.appendChild(R),R.src=String(C),I=R.contentWindow.document,I.open(),I.write(E("document.F=Object")),I.close(),I.F},P,A=function(){try{P=new ActiveXObject("htmlfile")}catch(C){}A=typeof document!="undefined"?document.domain&&P?S(P):T():S(P);for(var R=a.length;R--;)delete A[g][a[R]];return A()};o[p]=!0,i.exports=Object.create||function(C,I){var N;return C!==null?(m[g]=r(C),N=new m,m[g]=null,N[p]=C):N=A(),I===void 0?N:n.f(N,I)}},61963:function(i,h,t){var r=t(92986),n=t(356),a=t(7831),o=t(25001),s=t(36859),u=t(18350);h.f=r&&!n?Object.defineProperties:function(v,d){o(v);for(var g=s(d),y=u(d),p=y.length,m=0,E;p>m;)a.f(v,E=y[m++],g[E]);return v}},7831:function(i,h,t){var r=t(92986),n=t(52515),a=t(356),o=t(25001),s=t(50035),u=TypeError,l=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d="enumerable",g="configurable",y="writable";h.f=r?a?function(m,E,S){if(o(m),E=s(E),o(S),typeof m=="function"&&E==="prototype"&&"value"in S&&y in S&&!S[y]){var T=v(m,E);T&&T[y]&&(m[E]=S.value,S={configurable:g in S?S[g]:T[g],enumerable:d in S?S[d]:T[d],writable:!1})}return l(m,E,S)}:l:function(m,E,S){if(o(m),E=s(E),o(S),n)try{return l(m,E,S)}catch(T){}if("get"in S||"set"in S)throw new u("Accessors not supported");return"value"in S&&(m[E]=S.value),m}},71349:function(i,h,t){var r=t(92986),n=t(96499),a=t(79591),o=t(18526),s=t(36859),u=t(50035),l=t(94879),v=t(52515),d=Object.getOwnPropertyDescriptor;h.f=r?d:function(y,p){if(y=s(y),p=u(p),v)try{return d(y,p)}catch(m){}if(l(y,p))return o(!n(a.f,y,p),y[p])}},92880:function(i,h,t){var r=t(14274),n=t(36859),a=t(83258).f,o=t(22806),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(l){try{return a(l)}catch(v){return o(s)}};i.exports.f=function(v){return s&&r(v)==="Window"?u(v):a(n(v))}},83258:function(i,h,t){var r=t(6242),n=t(75785),a=n.concat("length","prototype");h.f=Object.getOwnPropertyNames||function(s){return r(s,a)}},24943:function(i,h){h.f=Object.getOwnPropertySymbols},26313:function(i,h,t){var r=t(94879),n=t(23583),a=t(49671),o=t(44869),s=t(87501),u=o("IE_PROTO"),l=Object,v=l.prototype;i.exports=s?l.getPrototypeOf:function(d){var g=a(d);if(r(g,u))return g[u];var y=g.constructor;return n(y)&&g instanceof y?y.prototype:g instanceof l?v:null}},28174:function(i,h,t){var r=t(72069),n=t(37540),a=t(14274),o=t(72058),s=Object.isExtensible,u=r(function(){s(1)});i.exports=u||o?function(v){return!n(v)||o&&a(v)==="ArrayBuffer"?!1:s?s(v):!0}:s},95307:function(i,h,t){var r=t(11286);i.exports=r({}.isPrototypeOf)},6242:function(i,h,t){var r=t(11286),n=t(94879),a=t(36859),o=t(94319).indexOf,s=t(19423),u=r([].push);i.exports=function(l,v){var d=a(l),g=0,y=[],p;for(p in d)!n(s,p)&&n(d,p)&&u(y,p);for(;v.length>g;)n(d,p=v[g++])&&(~o(y,p)||u(y,p));return y}},18350:function(i,h,t){var r=t(6242),n=t(75785);i.exports=Object.keys||function(o){return r(o,n)}},79591:function(i,h){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);h.f=n?function(o){var s=r(this,o);return!!s&&s.enumerable}:t},57629:function(i,h,t){var r=t(70457),n=t(34246),a=t(72069),o=t(66577);i.exports=r||!a(function(){if(!(o&&o<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete n[s]}})},15861:function(i,h,t){var r=t(84756),n=t(37540),a=t(2068),o=t(53408);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,u={},l;try{l=r(Object.prototype,"__proto__","set"),l(u,[]),s=u instanceof Array}catch(v){}return function(d,g){return a(d),o(g),n(d)&&(s?l(d,g):d.__proto__=g),d}}():void 0)},8511:function(i,h,t){var r=t(92986),n=t(72069),a=t(11286),o=t(26313),s=t(18350),u=t(36859),l=t(79591).f,v=a(l),d=a([].push),g=r&&n(function(){var p=Object.create(null);return p[2]=2,!v(p,2)}),y=function(p){return function(m){for(var E=u(m),S=s(E),T=g&&o(E)===null,P=S.length,A=0,R=[],C;P>A;)C=S[A++],(!r||(T?C in E:v(E,C)))&&d(R,p?[C,E[C]]:E[C]);return R}};i.exports={entries:y(!0),values:y(!1)}},60105:function(i,h,t){var r=t(67878),n=t(9205);i.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(i,h,t){var r=t(96499),n=t(23583),a=t(37540),o=TypeError;i.exports=function(s,u){var l,v;if(u==="string"&&n(l=s.toString)&&!a(v=r(l,s))||n(l=s.valueOf)&&!a(v=r(l,s))||u!=="string"&&n(l=s.toString)&&!a(v=r(l,s)))return v;throw new o("Can't convert object to primitive value")}},16885:function(i,h,t){var r=t(38941),n=t(11286),a=t(83258),o=t(24943),s=t(25001),u=n([].concat);i.exports=r("Reflect","ownKeys")||function(v){var d=a.f(s(v)),g=o.f;return g?u(d,g(v)):d}},75081:function(i,h,t){var r=t(34246);i.exports=r},67805:function(i){i.exports=function(h){try{return{error:!1,value:h()}}catch(t){return{error:!0,value:t}}}},37130:function(i,h,t){var r=t(34246),n=t(98844),a=t(23583),o=t(13278),s=t(84352),u=t(18565),l=t(21501),v=t(70457),d=t(44241),g=n&&n.prototype,y=u("species"),p=!1,m=a(r.PromiseRejectionEvent),E=o("Promise",function(){var S=s(n),T=S!==String(n);if(!T&&d===66||v&&!(g.catch&&g.finally))return!0;if(!d||d<51||!/native code/.test(S)){var P=new n(function(C){C(1)}),A=function(C){C(function(){},function(){})},R=P.constructor={};if(R[y]=A,p=P.then(function(){})instanceof A,!p)return!0}return!T&&(l==="BROWSER"||l==="DENO")&&!m});i.exports={CONSTRUCTOR:E,REJECTION_EVENT:m,SUBCLASSING:p}},98844:function(i,h,t){var r=t(34246);i.exports=r.Promise},87408:function(i,h,t){var r=t(25001),n=t(37540),a=t(24649);i.exports=function(o,s){if(r(o),n(s)&&s.constructor===o)return s;var u=a.f(o),l=u.resolve;return l(s),u.promise}},26035:function(i,h,t){var r=t(98844),n=t(97494),a=t(37130).CONSTRUCTOR;i.exports=a||!n(function(o){r.all(o).then(void 0,function(){})})},2594:function(i,h,t){var r=t(7831).f;i.exports=function(n,a,o){o in n||r(n,o,{configurable:!0,get:function(){return a[o]},set:function(s){a[o]=s}})}},76895:function(i){var h=function(){this.head=null,this.tail=null};h.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},i.exports=h},33064:function(i,h,t){var r=t(96499),n=t(25001),a=t(23583),o=t(14274),s=t(44381),u=TypeError;i.exports=function(l,v){var d=l.exec;if(a(d)){var g=r(d,l,v);return g!==null&&n(g),g}if(o(l)==="RegExp")return r(s,l,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(i,h,t){var r=t(96499),n=t(11286),a=t(17361),o=t(29833),s=t(39807),u=t(96731),l=t(5406),v=t(82367).get,d=t(76769),g=t(85220),y=u("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,E=n("".charAt),S=n("".indexOf),T=n("".replace),P=n("".slice),A=function(){var N=/a/,b=/b*/g;return r(p,N,"a"),r(p,b,"a"),N.lastIndex!==0||b.lastIndex!==0}(),R=s.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,I=A||C||R||d||g;I&&(m=function(b){var L=this,F=v(L),$=a(b),G=F.raw,V,U,B,j,K,_,J;if(G)return G.lastIndex=L.lastIndex,V=r(m,G,$),L.lastIndex=G.lastIndex,V;var nt=F.groups,q=R&&L.sticky,dt=r(o,L),lt=L.source,yt=0,St=$;if(q&&(dt=T(dt,"y",""),S(dt,"g")===-1&&(dt+="g"),St=P($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&E($,L.lastIndex-1)!==` +`),D=x?M.length-1:1;e.html(""),M.forEach((w,W)=>{e.append("tspan").attr("x",0).attr("dy",`${W===0?c[0]*D:c[1]}em`).text(w)})}}}function Qs(e){const{x:f,y:c,width:x,height:O}=e.getBBox();return[{x:f,y:c+O},{x:f,y:c},{x:f+x,y:c},{x:f+x,y:c+O}]}function Fi(e){const{width:f,height:c}=e.getBoundingClientRect(),x=Qs(e),O=x[0].x,M=Math.min(x[0].y,x[1].y);return{x:O,y:M,width:f,height:c}}function Li(e,f){var c;const x=e&&((c=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:c[0]);let O=[0,0];try{O=d3Pointer(x||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Zs(e){const{event:f,$el:c}=e,x=c.subchart.main||c.main;let O;return f&&f.type==="brush"?O=f.selection:x&&(O=x.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function $i(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ui(e=!0,f=0,c=1e4){const x=window.crypto||window.msCrypto,O=x?f+x.getRandomValues(new Uint32Array(1))[0]%(c-f+1):Math.floor(Math.random()*(c-f)+f);return e?String(O):O}function ma(e,f,c,x,O){if(c>x)return-1;const M=Math.floor((c+x)/2);let{x:D,w=0}=e[M];return O&&(D=e[M].y,w=e[M].h),f>=D&&f<=D+w?M:f{if(re(c)&&c.constructor){const x=new c.constructor;for(const O in c)x[O]=f(c[O]);return x}return c};return e.map(c=>f(c)).reduce((c,x)=>ya(ya({},c),x))}function ks(e={},f){Te(f)&&f.forEach(c=>ks(e,c));for(const c in f)/^\d+$/.test(c)||c in e||(e[c]=f[c]);return e}const wi=e=>e.charAt(0).toUpperCase()+e.slice(1);function Gi(e,f="-"){return e.split(f).map((c,x)=>x?c.charAt(0).toUpperCase()+c.slice(1).toLowerCase():c.toLowerCase()).join("")}const qs=e=>[].slice.call(e);function Vi(e,f,c){const{rootSelector:x="",sheet:O}=e,D=`${x} ${(w=>w.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${c.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](D,O.cssRules.length)}function Hi(e){let f=[];return e.forEach(c=>{var x;try{c.cssRules&&c.cssRules.length&&(f=f.concat(qs(c.cssRules)))}catch(O){(x=window.console)==null||x.warn(`Error while reading rules from ${c.href}: ${O.toString()}`)}}),f}function Wi(e){var f,c,x,O,M,D;return{x:((c=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?c:0)+((x=e.scrollLeft)!=null?x:0),y:((M=(O=window.pageYOffset)!=null?O:window.scrollY)!=null?M:0)+((D=e.scrollTop)!=null?D:0)}}function zi(e){const f=e?e.transform:null,c=f&&f.baseVal;return c&&c.numberOfItems?c.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Yi(e){const f=e[0]instanceof Date,c=(f?e.map(Number):e).filter((x,O,M)=>M.indexOf(x)===O);return f?c.map(x=>new Date(x)):c}function Ki(e){return e&&e.length?e.reduce((f,c)=>f.concat(c)):[]}function Ie(e,...f){if(!f.length||f.length===1&&!f[0])return e;const c=f.shift();return re(e)&&re(c)&&Object.keys(c).forEach(x=>{const O=c[x];re(O)?(!e[x]&&(e[x]={}),e[x]=Ie(e[x],O)):e[x]=Te(O)?O.concat():O}),Ie(e,...f)}function _s(e,f=!0){let c;return e[0]instanceof Date?c=f?(x,O)=>x-O:(x,O)=>O-x:f&&!e.every(isNaN)?c=(x,O)=>x-O:f||(c=(x,O)=>x>O&&-1||xJs(x));return c.length?Ee(c[0])?c=Math[e](...c):c[0]instanceof Date&&(c=_s(c,e==="min")[0]):c=void 0,c}const Ji=(e,f,c=1)=>{const x=[],O=Math.max(0,Math.ceil((f-e)/c))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,c,x=e())=>{f.dispatchEvent(new MouseEvent(c,x))}}catch(f){return(c,x,O=e())=>{const M=Vs.createEvent("MouseEvent");M.initMouseEvent(x,O.bubbles,O.cancelable,_n,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),c.dispatchEvent(M)}}})(),touch:(e,f,c)=>{const x=new Touch(Ie({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},c));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[x],targetTouches:[],changedTouches:[x]}))}};function Zi(e,f){let c=e;for(const x in f)c=c.replace(new RegExp(`{=${x}}`,"g"),f[x]);return c}function ki(e){var f;let c;if(e instanceof Date)c=e;else if(te(e)){const{config:x,format:O}=this;c=(f=O.dataTime(x.data_xFormat)(e))!=null?f:new Date(e)}else Ee(e)&&!isNaN(e)&&(c=new Date(+e));return(!c||isNaN(+c))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),c}function qi(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function _i(e,f){const{DocumentTouch:c,matchMedia:x,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||c&&document instanceof c)M=!0;else if(x!=null&&x("(pointer:coarse)").matches)M=!0;else{const w=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(w)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(w)}return e&&((x==null?void 0:x("any-hover:hover").matches)||(x==null?void 0:x("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function ti(e,f){f()===!1?requestAnimationFrame(()=>ti(e,f)):e()}function ri(e){const f=this.config;let c,x,O;const M=()=>{const D=x.shift();if(D&&c&&Oe(c)&&D in c)return c=c[D],M();if(!D)return c};Object.keys(f).forEach(D=>{c=e,x=D.split("_"),O=M(),pa(O)&&(f[D]=O)}),this.api&&(this.state.orgConfig=e)}var ni=Object.defineProperty,ei=(e,f,c)=>f in e?ni(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Ae=(e,f,c)=>ei(e,typeof f!="symbol"?f+"":f,c);class xa{constructor(f={}){Ae(this,"$$"),Ae(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Ae(xa,"version","3.12.4-nightly-20240813004629");class ai{constructor(){return{selector:void 0}}}var oi=Object.defineProperty,si=(e,f,c)=>f in e?oi(e,f,{enumerable:!0,configurable:!0,writable:!0,value:c}):e[f]=c,Re=(e,f,c)=>si(e,typeof f!="symbol"?f+"":f,c);class Sa extends xa{constructor(f){return super(f),Re(this,"config"),Re(this,"element"),this.config=new ai,this}$beforeInit(){ri.call(this,this.options),this.validate(),this.element=[].slice.call(document.querySelectorAll(this.config.selector)),this.overrideInternals(),this.overrideOptions(),this.overHandler=this.overHandler.bind(this),this.moveHandler=this.moveHandler.bind(this),this.outHandler=this.outHandler.bind(this)}validate(){const{$$:f,config:c}=this;let x="";if((!c.selector||!document.querySelector(c.selector))&&(x="No holder elements found from given selector option."),(f.hasType("bubble")||f.hasType("scatter")||f.hasArcType(f.data.targets))&&(x="Contains non supported chart types."),x)throw new Error(`[Sparkline plugin] ${x}`)}overrideInternals(){const{$$:f}=this,{getBarW:c,getIndices:x}=f;f.getIndices=function(O,M,D){return D==="getShapeX"?{}:x.call(this,O,M)},f.getBarW=function(O,M){return c.call(this,O,M,1)}}overrideOptions(){const{config:f}=this.$$;if(f.legend_show=!1,f.resize_auto=!1,f.axis_x_show=!1,f.padding!==!1){const c=x=>Object.keys(x||{}).length>0;c(f.axis_x_padding)&&(f.axis_x_padding={left:15,right:15,unit:"px"}),c(f.axis_y_padding)&&(f.axis_y_padding=5)}f.axis_y_show=!1,f.tooltip_position||(f.tooltip_position=function(c,x,O){const{internal:{state:{event:M}}}=this;let D=M.pageY-O*1.35,w=M.pageX-x/2;return D<0&&(D=0),w<0&&(w=0),{top:D,left:w}})}$init(){var f;const{$$:{$el:c}}=this;c.chart.style("width","0").style("height","0").style("pointer-events","none"),(f=c.tooltip)!=null&&f.node()&&document.body.appendChild(c.tooltip.node())}$afterInit(){const{$$:f}=this;f.$el.svg.attr("style",null).style("width","0").style("height","0"),this.bindEvents(!0)}bindEvents(f=!0){const{$$:{config:c}}=this;if(c.interaction_enabled&&c.tooltip_show){const x=`${f?"add":"remove"}EventListener`;this.element.forEach(O=>{const M=O.querySelector("svg");M[x]("mouseover",this.overHandler),M[x]("mousemove",this.moveHandler),M[x]("mouseout",this.outHandler)})}}overHandler(f){const{$$:c}=this,{state:{eventReceiver:x}}=c;x.rect=f.target.getBoundingClientRect()}moveHandler(f){var c,x,O,M;const{$$:D}=this,w=D.getDataIndexFromEvent(f),W=(c=D.api.data(f.target.__id))==null?void 0:c[0],tt=(x=W==null?void 0:W.values)==null?void 0:x[w];tt&&!tt.name&&(tt.name=tt.id),D.state.event=f,(O=D.isPointFocusOnly)!=null&&O.call(D)&&tt&&((M=D.showCircleFocus)==null||M.call(D,[tt])),D.setExpand(w,W.id,!0),D.showTooltip([tt],f.target)}outHandler(f){const{$$:c}=this;c.state.event=f,c.isPointFocusOnly()?c.hideCircleFocus():c.unexpandCircles(),c.hideTooltip()}$redraw(){var f;const{$$:c}=this,{$el:x}=c;let O=this.element;const M=c.api.data(),D=(f=x.chart.html().match(/]*>/))==null?void 0:f[0];if(O.length0;W--)w.parentNode.insertBefore(O[0].cloneNode(),w.nextSibling);this.element=document.querySelectorAll(this.config.selector),O=this.element}M.map(w=>w.id).forEach((w,W)=>{const tt=`.${l.target}-${w}`,et=x.main.selectAll(tt);let Et=O[W].querySelector("svg");Et||(O[W].innerHTML=`${D}`,Et=O[W].querySelector("svg"),Et.__id=w),Et.querySelector(tt)||et.style("opacity",null),et.style("fill","none").style("opacity",null),Et.innerHTML="",Et.appendChild(et.node())})}$willDestroy(){this.bindEvents(!1),this.element.forEach(f=>{f.innerHTML=""})}}Re(Sa,"version","0.0.1")},85156:function(i,h,t){var r=t(23583),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a function")}},80042:function(i,h,t){var r=t(11051),n=t(82453),a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not a constructor")}},53408:function(i,h,t){var r=t(52427),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a("Can't set "+n(o)+" as a prototype")}},76602:function(i,h,t){var r=t(172).has;i.exports=function(n){return r(n),n}},23811:function(i,h,t){var r=t(18565),n=t(5406),a=t(7831).f,o=r("unscopables"),s=Array.prototype;s[o]===void 0&&a(s,o,{configurable:!0,value:n(null)}),i.exports=function(u){s[o][u]=!0}},24487:function(i,h,t){var r=t(22149).charAt;i.exports=function(n,a,o){return a+(o?r(n,a).length:1)}},12833:function(i,h,t){var r=t(95307),n=TypeError;i.exports=function(a,o){if(r(o,a))return a;throw new n("Incorrect invocation")}},25001:function(i,h,t){var r=t(37540),n=String,a=TypeError;i.exports=function(o){if(r(o))return o;throw new a(n(o)+" is not an object")}},3237:function(i){i.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(i,h,t){var r=t(34246),n=t(84756),a=t(14274),o=r.ArrayBuffer,s=r.TypeError;i.exports=o&&n(o.prototype,"byteLength","get")||function(u){if(a(u)!=="ArrayBuffer")throw new s("ArrayBuffer expected");return u.byteLength}},30736:function(i,h,t){var r=t(34246),n=t(77422),a=t(58360),o=r.ArrayBuffer,s=o&&o.prototype,u=s&&n(s.slice);i.exports=function(l){if(a(l)!==0||!u)return!1;try{return u(l,0,0),!1}catch(v){return!0}}},72058:function(i,h,t){var r=t(72069);i.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},83843:function(i,h,t){var r=t(30736),n=TypeError;i.exports=function(a){if(r(a))throw new n("ArrayBuffer is detached");return a}},65006:function(i,h,t){var r=t(34246),n=t(11286),a=t(84756),o=t(9450),s=t(83843),u=t(58360),l=t(63741),v=t(99050),d=r.structuredClone,g=r.ArrayBuffer,y=r.DataView,p=Math.min,m=g.prototype,E=y.prototype,S=n(m.slice),T=a(m,"resizable","get"),P=a(m,"maxByteLength","get"),A=n(E.getInt8),R=n(E.setInt8);i.exports=(v||l)&&function(C,I,N){var b=u(C),L=I===void 0?b:o(I),F=!T||!T(C),$;if(s(C),v&&(C=d(C,{transfer:[C]}),b===L&&(N||F)))return C;if(b>=L&&(!N||F))$=S(C,0,L);else{var G=N&&!F&&P?{maxByteLength:P(C)}:void 0;$=new g(L,G);for(var V=new y(C),U=new y($),B=p(L,b),j=0;j>8&255]},Mt=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},Ct=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Lt=function(st){return Dt(E(st),23,4)},Zt=function(st){return Dt(st,52,8)},kt=function(st,ht,rt){l(st[V],ht,{configurable:!0,get:function(){return rt(this)[ht]}})},Kt=function(st,ht,rt,Ot){var It=K(st),xt=m(rt),pt=!!Ot;if(xt+ht>It.byteLength)throw new Tt(B);var _t=It.bytes,rr=xt+It.byteOffset,Q=R(_t,rr,rr+ht);return pt?Q:jt(Q)},Ft=function(st,ht,rt,Ot,It,xt){var pt=K(st),_t=m(rt),rr=Ot(+It),Q=!!xt;if(_t+ht>pt.byteLength)throw new Tt(B);for(var at=pt.bytes,it=_t+pt.byteOffset,z=0;zxt)throw new Tt("Wrong offset");if(Ot=Ot===void 0?xt-pt:p(Ot),pt+Ot>xt)throw new Tt(U);_(this,{type:G,buffer:ht,byteLength:Ot,byteOffset:pt,bytes:It.bytes}),a||(this.buffer=ht,this.byteLength=Ot,this.byteOffset=pt)},lt=dt[V],a&&(kt(nt,"byteLength",j),kt(dt,"buffer",K),kt(dt,"byteLength",K),kt(dt,"byteOffset",K)),v(lt,{getInt8:function(ht){return Kt(this,1,ht)[0]<<24>>24},getUint8:function(ht){return Kt(this,1,ht)[0]},getInt16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return(rt[1]<<8|rt[0])<<16>>16},getUint16:function(ht){var rt=Kt(this,2,ht,arguments.length>1?arguments[1]:!1);return rt[1]<<8|rt[0]},getInt32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))},getUint32:function(ht){return Ct(Kt(this,4,ht,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ht){return vt(Kt(this,4,ht,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ht){return vt(Kt(this,8,ht,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ht,rt){Ft(this,1,ht,gt,rt)},setUint8:function(ht,rt){Ft(this,1,ht,gt,rt)},setInt16:function(ht,rt){Ft(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setUint16:function(ht,rt){Ft(this,2,ht,Pt,rt,arguments.length>2?arguments[2]:!1)},setInt32:function(ht,rt){Ft(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setUint32:function(ht,rt){Ft(this,4,ht,Mt,rt,arguments.length>2?arguments[2]:!1)},setFloat32:function(ht,rt){Ft(this,4,ht,Lt,rt,arguments.length>2?arguments[2]:!1)},setFloat64:function(ht,rt){Ft(this,8,ht,Zt,rt,arguments.length>2?arguments[2]:!1)}});else{var Xt=L&&J.name!==$;!d(function(){J(1)})||!d(function(){new J(-1)})||d(function(){return new J,new J(1.5),new J(NaN),J.length!==1||Xt&&!F})?(nt=function(ht){return g(this,q),C(new J(m(ht)),this,nt)},nt[V]=q,q.constructor=nt,I(nt,J)):Xt&&F&&u(J,"name",$),P&&T(lt)!==yt&&P(lt,yt);var Ht=new dt(new nt(2)),Ut=n(lt.setInt8);Ht.setInt8(0,2147483648),Ht.setInt8(1,2147483649),(Ht.getInt8(0)||!Ht.getInt8(1))&&v(lt,{setInt8:function(ht,rt){Ut(this,ht,rt<<24>>24)},setUint8:function(ht,rt){Ut(this,ht,rt<<24>>24)}},{unsafe:!0})}N(nt,$),N(dt,G),i.exports={ArrayBuffer:nt,DataView:dt}},81499:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628),o=t(12384),s=Math.min;i.exports=[].copyWithin||function(l,v){var d=r(this),g=a(d),y=n(l,g),p=n(v,g),m=arguments.length>2?arguments[2]:void 0,E=s((m===void 0?g:n(m,g))-p,g-y),S=1;for(p0;)p in d?d[y]=d[p]:o(d,y),y+=S,p+=S;return d}},43011:function(i,h,t){var r=t(49671),n=t(4652),a=t(82628);i.exports=function(s){for(var u=r(this),l=a(u),v=arguments.length,d=n(v>1?arguments[1]:void 0,l),g=v>2?arguments[2]:void 0,y=g===void 0?l:n(g,l);y>d;)u[d++]=s;return u}},13349:function(i,h,t){var r=t(66655).forEach,n=t(6148),a=n("forEach");i.exports=a?[].forEach:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}},5220:function(i,h,t){var r=t(82628);i.exports=function(n,a,o){for(var s=0,u=arguments.length>2?o:r(a),l=new n(u);u>s;)l[s]=a[s++];return l}},48258:function(i,h,t){var r=t(45526),n=t(96499),a=t(49671),o=t(39969),s=t(48199),u=t(11051),l=t(82628),v=t(84082),d=t(90619),g=t(81077),y=Array;i.exports=function(m){var E=a(m),S=u(this),T=arguments.length,P=T>1?arguments[1]:void 0,A=P!==void 0;A&&(P=r(P,T>2?arguments[2]:void 0));var R=g(E),C=0,I,N,b,L,F,$;if(R&&!(this===y&&s(R)))for(N=S?new this:[],L=d(E,R),F=L.next;!(b=n(F,L)).done;C++)$=A?o(L,P,[b.value,C],!0):b.value,v(N,C,$);else for(I=l(E),N=S?new this(I):y(I);I>C;C++)$=A?P(E[C],C):E[C],v(N,C,$);return N.length=C,N}},94319:function(i,h,t){var r=t(36859),n=t(4652),a=t(82628),o=function(s){return function(u,l,v){var d=r(u),g=a(d);if(g===0)return!s&&-1;var y=n(v,g),p;if(s&&l!==l){for(;g>y;)if(p=d[y++],p!==p)return!0}else for(;g>y;y++)if((s||y in d)&&d[y]===l)return s||y||0;return!s&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},73849:function(i,h,t){var r=t(45526),n=t(72181),a=t(49671),o=t(82628),s=function(u){var l=u===1;return function(v,d,g){for(var y=a(v),p=n(y),m=o(p),E=r(d,g),S,T;m-- >0;)if(S=p[m],T=E(S,m,y),T)switch(u){case 0:return S;case 1:return m}return l?-1:void 0}};i.exports={findLast:s(0),findLastIndex:s(1)}},66655:function(i,h,t){var r=t(45526),n=t(11286),a=t(72181),o=t(49671),s=t(82628),u=t(62083),l=n([].push),v=function(d){var g=d===1,y=d===2,p=d===3,m=d===4,E=d===6,S=d===7,T=d===5||E;return function(P,A,R,C){for(var I=o(P),N=a(I),b=s(N),L=r(A,R),F=0,$=C||u,G=g?$(P,b):y||S?$(P,0):void 0,V,U;b>F;F++)if((T||F in N)&&(V=N[F],U=L(V,F,I),d))if(g)G[F]=U;else if(U)switch(d){case 3:return!0;case 5:return V;case 6:return F;case 2:l(G,V)}else switch(d){case 4:return!1;case 7:l(G,V)}return E?-1:p||m?m:G}};i.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(i,h,t){var r=t(66543),n=t(36859),a=t(12105),o=t(82628),s=t(6148),u=Math.min,l=[].lastIndexOf,v=!!l&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),g=v||!d;i.exports=g?function(p){if(v)return r(l,this,arguments)||0;var m=n(this),E=o(m);if(E===0)return-1;var S=E-1;for(arguments.length>1&&(S=u(S,a(arguments[1]))),S<0&&(S=E+S);S>=0;S--)if(S in m&&m[S]===p)return S||0;return-1}:l},52183:function(i,h,t){var r=t(72069),n=t(18565),a=t(44241),o=n("species");i.exports=function(s){return a>=51||!r(function(){var u=[],l=u.constructor={};return l[o]=function(){return{foo:1}},u[s](Boolean).foo!==1})}},6148:function(i,h,t){var r=t(72069);i.exports=function(n,a){var o=[][n];return!!o&&r(function(){o.call(null,a||function(){return 1},1)})}},97264:function(i,h,t){var r=t(85156),n=t(49671),a=t(72181),o=t(82628),s=TypeError,u="Reduce of empty array with no initial value",l=function(v){return function(d,g,y,p){var m=n(d),E=a(m),S=o(m);if(r(g),S===0&&y<2)throw new s(u);var T=v?S-1:0,P=v?-1:1;if(y<2)for(;;){if(T in E){p=E[T],T+=P;break}if(T+=P,v?T<0:S<=T)throw new s(u)}for(;v?T>=0:S>T;T+=P)T in E&&(p=g(p,E[T],T,m));return p}};i.exports={left:l(!1),right:l(!0)}},2213:function(i,h,t){var r=t(92986),n=t(3438),a=TypeError,o=Object.getOwnPropertyDescriptor,s=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=s?function(u,l){if(n(u)&&!o(u,"length").writable)throw new a("Cannot set read only .length");return u.length=l}:function(u,l){return u.length=l}},22806:function(i,h,t){var r=t(11286);i.exports=r([].slice)},13270:function(i,h,t){var r=t(22806),n=Math.floor,a=function(o,s){var u=o.length;if(u<8)for(var l=1,v,d;l0;)o[d]=o[--d];d!==l++&&(o[d]=v)}else for(var g=n(u/2),y=a(r(o,0,g),s),p=a(r(o,g),s),m=y.length,E=p.length,S=0,T=0;S=v||g<0)throw new a("Incorrect index");for(var y=new s(v),p=0;p1?arguments[1]:void 0),U;U=U?U.next:G.first;)for(V(U.value,U.key,this);U&&U.removed;)U=U.previous},has:function($){return!!L(this,$)}}),a(I,A?{get:function($){var G=L(this,$);return G&&G.value},set:function($,G){return b(this,$===0?0:$,G)}}:{add:function($){return b(this,$=$===0?0:$,$)}}),y&&n(I,"size",{configurable:!0,get:function(){return N(this).size}}),C},setStrong:function(T,P,A){var R=P+" Iterator",C=S(P),I=S(R);v(T,P,function(N,b){E(this,{type:R,target:N,state:C(N),kind:b,last:void 0})},function(){for(var N=I(this),b=N.kind,L=N.last;L&&L.removed;)L=L.previous;return!N.target||!(N.last=L=L?L.next:N.state.first)?(N.target=void 0,d(void 0,!0)):d(b==="keys"?L.key:b==="values"?L.value:[L.key,L.value],!1)},A?"entries":"values",!A,!0),g(P)}}},94667:function(i,h,t){var r=t(11286),n=t(2725),a=t(31853).getWeakData,o=t(12833),s=t(25001),u=t(5683),l=t(37540),v=t(55902),d=t(66655),g=t(94879),y=t(82367),p=y.set,m=y.getterFor,E=d.find,S=d.findIndex,T=r([].splice),P=0,A=function(I){return I.frozen||(I.frozen=new R)},R=function(){this.entries=[]},C=function(I,N){return E(I.entries,function(b){return b[0]===N})};R.prototype={get:function(I){var N=C(this,I);if(N)return N[1]},has:function(I){return!!C(this,I)},set:function(I,N){var b=C(this,I);b?b[1]=N:this.entries.push([I,N])},delete:function(I){var N=S(this.entries,function(b){return b[0]===I});return~N&&T(this.entries,N,1),!!~N}},i.exports={getConstructor:function(I,N,b,L){var F=I(function(U,B){o(U,$),p(U,{type:N,id:P++,frozen:void 0}),u(B)||v(B,U[L],{that:U,AS_ENTRIES:b})}),$=F.prototype,G=m(N),V=function(U,B,j){var K=G(U),_=a(s(B),!0);return _===!0?A(K).set(B,j):_[K.id]=j,U};return n($,{delete:function(U){var B=G(this);if(!l(U))return!1;var j=a(U);return j===!0?A(B).delete(U):j&&g(j,B.id)&&delete j[B.id]},has:function(B){var j=G(this);if(!l(B))return!1;var K=a(B);return K===!0?A(j).has(B):K&&g(K,j.id)}}),n($,b?{get:function(B){var j=G(this);if(l(B)){var K=a(B);return K===!0?A(j).get(B):K?K[j.id]:void 0}},set:function(B,j){return V(this,B,j)}}:{add:function(B){return V(this,B,!0)}}),F}}},89378:function(i,h,t){var r=t(14304),n=t(34246),a=t(11286),o=t(13278),s=t(16142),u=t(31853),l=t(55902),v=t(12833),d=t(23583),g=t(5683),y=t(37540),p=t(72069),m=t(97494),E=t(78401),S=t(32345);i.exports=function(T,P,A){var R=T.indexOf("Map")!==-1,C=T.indexOf("Weak")!==-1,I=R?"set":"add",N=n[T],b=N&&N.prototype,L=N,F={},$=function(_){var J=a(b[_]);s(b,_,_==="add"?function(q){return J(this,q===0?0:q),this}:_==="delete"?function(nt){return C&&!y(nt)?!1:J(this,nt===0?0:nt)}:_==="get"?function(q){return C&&!y(q)?void 0:J(this,q===0?0:q)}:_==="has"?function(q){return C&&!y(q)?!1:J(this,q===0?0:q)}:function(q,dt){return J(this,q===0?0:q,dt),this})},G=o(T,!d(N)||!(C||b.forEach&&!p(function(){new N().entries().next()})));if(G)L=A.getConstructor(P,T,R,I),u.enable();else if(o(T,!0)){var V=new L,U=V[I](C?{}:-0,1)!==V,B=p(function(){V.has(1)}),j=m(function(_){new N(_)}),K=!C&&p(function(){for(var _=new N,J=5;J--;)_[I](J,J);return!_.has(-0)});j||(L=P(function(_,J){v(_,b);var nt=S(new N,_,L);return g(J)||l(J,nt[I],{that:nt,AS_ENTRIES:R}),nt}),L.prototype=b,b.constructor=L),(B||K)&&($("delete"),$("has"),R&&$("get")),(K||U)&&$(I),C&&b.clear&&delete b.clear}return F[T]=L,r({global:!0,constructor:!0,forced:L!==N},F),E(L,T),C||A.setStrong(L,T,R),L}},93706:function(i,h,t){var r=t(94879),n=t(16885),a=t(71349),o=t(7831);i.exports=function(s,u,l){for(var v=n(u),d=o.f,g=a.f,y=0;y"+g+""}},10659:function(i){i.exports=function(h,t){return{value:h,done:t}}},90809:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=r?function(o,s,u){return n.f(o,s,a(1,u))}:function(o,s,u){return o[s]=u,o}},18526:function(i){i.exports=function(h,t){return{enumerable:!(h&1),configurable:!(h&2),writable:!(h&4),value:t}}},84082:function(i,h,t){var r=t(92986),n=t(7831),a=t(18526);i.exports=function(o,s,u){r?n.f(o,s,a(0,u)):o[s]=u}},11890:function(i,h,t){var r=t(11286),n=t(72069),a=t(61607).start,o=RangeError,s=isFinite,u=Math.abs,l=Date.prototype,v=l.toISOString,d=r(l.getTime),g=r(l.getUTCDate),y=r(l.getUTCFullYear),p=r(l.getUTCHours),m=r(l.getUTCMilliseconds),E=r(l.getUTCMinutes),S=r(l.getUTCMonth),T=r(l.getUTCSeconds);i.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!s(d(this)))throw new o("Invalid time value");var A=this,R=y(A),C=m(A),I=R<0?"-":R>9999?"+":"";return I+a(u(R),I?6:4,0)+"-"+a(S(A)+1,2,0)+"-"+a(g(A),2,0)+"T"+a(p(A),2,0)+":"+a(E(A),2,0)+":"+a(T(A),2,0)+"."+a(C,3,0)+"Z"}:v},84306:function(i,h,t){var r=t(25001),n=t(2064),a=TypeError;i.exports=function(o){if(r(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new a("Incorrect hint");return n(this,o)}},85500:function(i,h,t){var r=t(13749),n=t(7831);i.exports=function(a,o,s){return s.get&&r(s.get,o,{getter:!0}),s.set&&r(s.set,o,{setter:!0}),n.f(a,o,s)}},16142:function(i,h,t){var r=t(23583),n=t(7831),a=t(13749),o=t(36003);i.exports=function(s,u,l,v){v||(v={});var d=v.enumerable,g=v.name!==void 0?v.name:u;if(r(l)&&a(l,g,v),v.global)d?s[u]=l:o(u,l);else{try{v.unsafe?s[u]&&(d=!0):delete s[u]}catch(y){}d?s[u]=l:n.f(s,u,{value:l,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return s}},2725:function(i,h,t){var r=t(16142);i.exports=function(n,a,o){for(var s in a)r(n,s,a[s],o);return n}},36003:function(i,h,t){var r=t(34246),n=Object.defineProperty;i.exports=function(a,o){try{n(r,a,{value:o,configurable:!0,writable:!0})}catch(s){r[a]=o}return o}},12384:function(i,h,t){var r=t(82453),n=TypeError;i.exports=function(a,o){if(!delete a[o])throw new n("Cannot delete property "+r(o)+" of "+r(a))}},92986:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(i,h,t){var r=t(34246),n=t(81191),a=t(99050),o=r.structuredClone,s=r.ArrayBuffer,u=r.MessageChannel,l=!1,v,d,g,y;if(a)l=function(p){o(p,{transfer:[p]})};else if(s)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(d=new u,g=new s(2),y=function(p){d.port1.postMessage(null,[p])},g.byteLength===2&&(y(g),g.byteLength===0&&(l=y)))}catch(p){}i.exports=l},85501:function(i,h,t){var r=t(34246),n=t(37540),a=r.document,o=n(a)&&n(a.createElement);i.exports=function(s){return o?a.createElement(s):{}}},20095:function(i){var h=TypeError,t=9007199254740991;i.exports=function(r){if(r>t)throw h("Maximum allowed index exceeded");return r}},74408:function(i){i.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(i){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(i,h,t){var r=t(85501),n=r("span").classList,a=n&&n.constructor&&n.constructor.prototype;i.exports=a===Object.prototype?void 0:a},75785:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(i,h,t){var r=t(18257),n=r.match(/firefox\/(\d+)/i);i.exports=!!n&&+n[1]},17417:function(i,h,t){var r=t(18257);i.exports=/MSIE|Trident/.test(r)},7307:function(i,h,t){var r=t(18257);i.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(i,h,t){var r=t(18257);i.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(i,h,t){var r=t(21501);i.exports=r==="NODE"},67722:function(i,h,t){var r=t(18257);i.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(i,h,t){var r=t(34246),n=r.navigator,a=n&&n.userAgent;i.exports=a?String(a):""},44241:function(i,h,t){var r=t(34246),n=t(18257),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,u=s&&s.v8,l,v;u&&(l=u.split("."),v=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!v&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(v=+l[1]))),i.exports=v},66577:function(i,h,t){var r=t(18257),n=r.match(/AppleWebKit\/(\d+)\./);i.exports=!!n&&+n[1]},21501:function(i,h,t){var r=t(34246),n=t(18257),a=t(14274),o=function(s){return n.slice(0,s.length)===s};i.exports=function(){return o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":a(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"}()},40851:function(i,h,t){var r=t(11286),n=Error,a=r("".replace),o=function(l){return String(new n(l).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(o);i.exports=function(l,v){if(u&&typeof l=="string"&&!n.prepareStackTrace)for(;v--;)l=a(l,s,"");return l}},97077:function(i,h,t){var r=t(90809),n=t(40851),a=t(16929),o=Error.captureStackTrace;i.exports=function(s,u,l,v){a&&(o?o(s,u):r(s,"stack",n(l,v)))}},16929:function(i,h,t){var r=t(72069),n=t(18526);i.exports=!r(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",n(1,7)),a.stack!==7):!0})},58434:function(i,h,t){var r=t(92986),n=t(72069),a=t(25001),o=t(15453),s=Error.prototype.toString,u=n(function(){if(r){var l=Object.create(Object.defineProperty({},"name",{get:function(){return this===l}}));if(s.call(l)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});i.exports=u?function(){var v=a(this),d=o(v.name,"Error"),g=o(v.message);return d?g?d+": "+g:d:g}:s},14304:function(i,h,t){var r=t(34246),n=t(71349).f,a=t(90809),o=t(16142),s=t(36003),u=t(93706),l=t(13278);i.exports=function(v,d){var g=v.target,y=v.global,p=v.stat,m,E,S,T,P,A;if(y?E=r:p?E=r[g]||s(g,{}):E=r[g]&&r[g].prototype,E)for(S in d){if(P=d[S],v.dontCallGetSet?(A=n(E,S),T=A&&A.value):T=E[S],m=l(y?S:g+(p?".":"#")+S,v.forced),!m&&T!==void 0){if(typeof P==typeof T)continue;u(P,T)}(v.sham||T&&T.sham)&&a(P,"sham",!0),o(E,S,P,v)}}},72069:function(i){i.exports=function(h){try{return!!h()}catch(t){return!0}}},63194:function(i,h,t){t(31145);var r=t(96499),n=t(16142),a=t(44381),o=t(72069),s=t(18565),u=t(90809),l=s("species"),v=RegExp.prototype;i.exports=function(d,g,y,p){var m=s(d),E=!o(function(){var A={};return A[m]=function(){return 7},""[d](A)!==7}),S=E&&!o(function(){var A=!1,R=/a/;return d==="split"&&(R={},R.constructor={},R.constructor[l]=function(){return R},R.flags="",R[m]=/./[m]),R.exec=function(){return A=!0,null},R[m](""),!A});if(!E||!S||y){var T=/./[m],P=g(m,""[d],function(A,R,C,I,N){var b=R.exec;return b===a||b===v.exec?E&&!N?{done:!0,value:r(T,R,C,I)}:{done:!0,value:r(A,C,R,I)}:{done:!1}});n(String.prototype,d,P[0]),n(v,m,P[1])}p&&u(v[m],"sham",!0)}},53149:function(i,h,t){var r=t(3438),n=t(82628),a=t(20095),o=t(45526),s=function(u,l,v,d,g,y,p,m){for(var E=g,S=0,T=p?o(p,m):!1,P,A;S0&&r(P)?(A=n(P),E=s(u,l,P,A,E,y-1)-1):(a(E+1),u[E]=P),E++),S++;return E};i.exports=s},27534:function(i,h,t){var r=t(72069);i.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(i,h,t){var r=t(87878),n=Function.prototype,a=n.apply,o=n.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},45526:function(i,h,t){var r=t(77422),n=t(85156),a=t(87878),o=r(r.bind);i.exports=function(s,u){return n(s),u===void 0?s:a?o(s,u):function(){return s.apply(u,arguments)}}},87878:function(i,h,t){var r=t(72069);i.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(i,h,t){var r=t(11286),n=t(85156),a=t(37540),o=t(94879),s=t(22806),u=t(87878),l=Function,v=r([].concat),d=r([].join),g={},y=function(p,m,E){if(!o(g,m)){for(var S=[],T=0;T]*>)/g,v=/\$([$&'`]|\d{1,2})/g;i.exports=function(d,g,y,p,m,E){var S=y+d.length,T=p.length,P=v;return m!==void 0&&(m=n(m),P=l),s(E,P,function(A,R){var C;switch(o(R,0)){case"$":return"$";case"&":return d;case"`":return u(g,0,y);case"'":return u(g,S);case"<":C=m[u(R,1,-1)];break;default:var I=+R;if(I===0)return A;if(I>T){var N=a(I/10);return N===0?A:N<=T?p[N-1]===void 0?o(R,1):p[N-1]+o(R,1):A}C=p[I-1]}return C===void 0?"":C})}},34246:function(i){var h=function(t){return t&&t.Math===Math&&t};i.exports=h(typeof globalThis=="object"&&globalThis)||h(typeof window=="object"&&window)||h(typeof self=="object"&&self)||h(typeof global=="object"&&global)||h(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(i,h,t){var r=t(11286),n=t(49671),a=r({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return a(n(s),u)}},19423:function(i){i.exports={}},99095:function(i){i.exports=function(h,t){try{arguments.length===1?console.error(h):console.error(h,t)}catch(r){}}},96439:function(i,h,t){var r=t(38941);i.exports=r("document","documentElement")},52515:function(i,h,t){var r=t(92986),n=t(72069),a=t(85501);i.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(i){var h=Array,t=Math.abs,r=Math.pow,n=Math.floor,a=Math.log,o=Math.LN2,s=function(l,v,d){var g=h(d),y=d*8-v-1,p=(1<>1,E=v===23?r(2,-24)-r(2,-77):0,S=l<0||l===0&&1/l<0?1:0,T=0,P,A,R;for(l=t(l),l!==l||l===1/0?(A=l!==l?1:0,P=p):(P=n(a(l)/o),R=r(2,-P),l*R<1&&(P--,R*=2),P+m>=1?l+=E/R:l+=E*r(2,1-m),l*R>=2&&(P++,R/=2),P+m>=p?(A=0,P=p):P+m>=1?(A=(l*R-1)*r(2,v),P+=m):(A=l*r(2,m-1)*r(2,v),P=0));v>=8;)g[T++]=A&255,A/=256,v-=8;for(P=P<0;)g[T++]=P&255,P/=256,y-=8;return g[T-1]|=S*128,g},u=function(l,v){var d=l.length,g=d*8-v-1,y=(1<>1,m=g-7,E=d-1,S=l[E--],T=S&127,P;for(S>>=7;m>0;)T=T*256+l[E--],m-=8;for(P=T&(1<<-m)-1,T>>=-m,m+=v;m>0;)P=P*256+l[E--],m-=8;if(T===0)T=1-p;else{if(T===y)return P?NaN:S?-1/0:1/0;P+=r(2,v),T-=p}return(S?-1:1)*P*r(2,T-v)};i.exports={pack:s,unpack:u}},72181:function(i,h,t){var r=t(11286),n=t(72069),a=t(14274),o=Object,s=r("".split);i.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(u){return a(u)==="String"?s(u,""):o(u)}:o},32345:function(i,h,t){var r=t(23583),n=t(37540),a=t(15861);i.exports=function(o,s,u){var l,v;return a&&r(l=s.constructor)&&l!==u&&n(v=l.prototype)&&v!==u.prototype&&a(o,v),o}},84352:function(i,h,t){var r=t(11286),n=t(23583),a=t(70443),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(s){return o(s)}),i.exports=a.inspectSource},31486:function(i,h,t){var r=t(37540),n=t(90809);i.exports=function(a,o){r(o)&&"cause"in o&&n(a,"cause",o.cause)}},31853:function(i,h,t){var r=t(14304),n=t(11286),a=t(19423),o=t(37540),s=t(94879),u=t(7831).f,l=t(83258),v=t(92880),d=t(28174),g=t(36374),y=t(27534),p=!1,m=g("meta"),E=0,S=function(I){u(I,m,{value:{objectID:"O"+E++,weakData:{}}})},T=function(I,N){if(!o(I))return typeof I=="symbol"?I:(typeof I=="string"?"S":"P")+I;if(!s(I,m)){if(!d(I))return"F";if(!N)return"E";S(I)}return I[m].objectID},P=function(I,N){if(!s(I,m)){if(!d(I))return!0;if(!N)return!1;S(I)}return I[m].weakData},A=function(I){return y&&p&&d(I)&&!s(I,m)&&S(I),I},R=function(){C.enable=function(){},p=!0;var I=l.f,N=n([].splice),b={};b[m]=1,I(b).length&&(l.f=function(L){for(var F=I(L),$=0,G=F.length;$F;F++)if(G=j(E[F]),G&&l(m,G))return G;return new p(!1)}b=v(E,L)}for(V=R?E.next:b.next;!(U=n(V,b)).done;){try{G=j(U.value)}catch(K){g(b,"throw",K)}if(typeof G=="object"&&G&&l(m,G))return G}return new p(!1)}},99797:function(i,h,t){var r=t(96499),n=t(25001),a=t(10512);i.exports=function(o,s,u){var l,v;n(o);try{if(l=a(o,"return"),!l){if(s==="throw")throw u;return u}l=r(l,o)}catch(d){v=!0,l=d}if(s==="throw")throw u;if(v)throw l;return n(l),u}},26820:function(i,h,t){var r=t(24519).IteratorPrototype,n=t(5406),a=t(18526),o=t(78401),s=t(29107),u=function(){return this};i.exports=function(l,v,d,g){var y=v+" Iterator";return l.prototype=n(r,{next:a(+!g,d)}),o(l,y,!1,!0),s[y]=u,l}},10218:function(i,h,t){var r=t(14304),n=t(96499),a=t(70457),o=t(86588),s=t(23583),u=t(26820),l=t(26313),v=t(15861),d=t(78401),g=t(90809),y=t(16142),p=t(18565),m=t(29107),E=t(24519),S=o.PROPER,T=o.CONFIGURABLE,P=E.IteratorPrototype,A=E.BUGGY_SAFARI_ITERATORS,R=p("iterator"),C="keys",I="values",N="entries",b=function(){return this};i.exports=function(L,F,$,G,V,U,B){u($,F,G);var j=function(Tt){if(Tt===V&&q)return q;if(!A&&Tt&&Tt in J)return J[Tt];switch(Tt){case C:return function(){return new $(this,Tt)};case I:return function(){return new $(this,Tt)};case N:return function(){return new $(this,Tt)}}return function(){return new $(this)}},K=F+" Iterator",_=!1,J=L.prototype,nt=J[R]||J["@@iterator"]||V&&J[V],q=!A&&nt||j(V),dt=F==="Array"&&J.entries||nt,lt,yt,St;if(dt&&(lt=l(dt.call(new L)),lt!==Object.prototype&<.next&&(!a&&l(lt)!==P&&(v?v(lt,P):s(lt[R])||y(lt,R,b)),d(lt,K,!0,!0),a&&(m[K]=b))),S&&V===I&&nt&&nt.name!==I&&(!a&&T?g(J,"name",I):(_=!0,q=function(){return n(nt,this)})),V)if(yt={values:j(I),keys:U?q:j(C),entries:j(N)},B)for(St in yt)(A||_||!(St in J))&&y(J,St,yt[St]);else r({target:F,proto:!0,forced:A||_},yt);return(!a||B)&&J[R]!==q&&y(J,R,q,{name:V}),m[F]=q,yt}},24519:function(i,h,t){var r=t(72069),n=t(23583),a=t(37540),o=t(5406),s=t(26313),u=t(16142),l=t(18565),v=t(70457),d=l("iterator"),g=!1,y,p,m;[].keys&&(m=[].keys(),"next"in m?(p=s(s(m)),p!==Object.prototype&&(y=p)):g=!0);var E=!a(y)||r(function(){var S={};return y[d].call(S)!==S});E?y={}:v&&(y=o(y)),n(y[d])||u(y,d,function(){return this}),i.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:g}},29107:function(i){i.exports={}},82628:function(i,h,t){var r=t(45344);i.exports=function(n){return r(n.length)}},13749:function(i,h,t){var r=t(11286),n=t(72069),a=t(23583),o=t(94879),s=t(92986),u=t(86588).CONFIGURABLE,l=t(84352),v=t(82367),d=v.enforce,g=v.get,y=String,p=Object.defineProperty,m=r("".slice),E=r("".replace),S=r([].join),T=s&&!n(function(){return p(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),A=i.exports=function(R,C,I){m(y(C),0,7)==="Symbol("&&(C="["+E(y(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),I&&I.getter&&(C="get "+C),I&&I.setter&&(C="set "+C),(!o(R,"name")||u&&R.name!==C)&&(s?p(R,"name",{value:C,configurable:!0}):R.name=C),T&&I&&o(I,"arity")&&R.length!==I.arity&&p(R,"length",{value:I.arity});try{I&&o(I,"constructor")&&I.constructor?s&&p(R,"prototype",{writable:!1}):R.prototype&&(R.prototype=void 0)}catch(b){}var N=d(R);return o(N,"source")||(N.source=S(P,typeof C=="string"?C:"")),R};Function.prototype.toString=A(function(){return a(this)&&g(this).source||l(this)},"toString")},1774:function(i,h,t){var r=t(11286),n=Map.prototype;i.exports={Map,set:r(n.set),get:r(n.get),has:r(n.has),remove:r(n.delete),proto:n}},98940:function(i){var h=Math.expm1,t=Math.exp;i.exports=!h||h(10)>22025.465794806718||h(10)<22025.465794806718||h(-2e-17)!==-2e-17?function(n){var a=+n;return a===0?a:a>-1e-6&&a<1e-6?a+a*a/2:t(a)-1}:h},10418:function(i,h,t){var r=t(93976),n=Math.abs,a=2220446049250313e-31,o=1/a,s=function(u){return u+o-o};i.exports=function(u,l,v,d){var g=+u,y=n(g),p=r(g);if(yv||E!==E?p*(1/0):p*E}},93279:function(i,h,t){var r=t(10418),n=11920928955078125e-23,a=34028234663852886e22,o=11754943508222875e-54;i.exports=Math.fround||function(u){return r(u,n,a,o)}},41942:function(i){var h=Math.log,t=Math.LOG10E;i.exports=Math.log10||function(n){return h(n)*t}},49366:function(i){var h=Math.log;i.exports=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:h(1+n)}},93976:function(i){i.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(i){var h=Math.ceil,t=Math.floor;i.exports=Math.trunc||function(n){var a=+n;return(a>0?t:h)(a)}},9709:function(i,h,t){var r=t(34246),n=t(28167),a=t(45526),o=t(23115).set,s=t(76895),u=t(5286),l=t(7307),v=t(67722),d=t(91707),g=r.MutationObserver||r.WebKitMutationObserver,y=r.document,p=r.process,m=r.Promise,E=n("queueMicrotask"),S,T,P,A,R;if(!E){var C=new s,I=function(){var N,b;for(d&&(N=p.domain)&&N.exit();b=C.get();)try{b()}catch(L){throw C.head&&S(),L}N&&N.enter()};!u&&!d&&!v&&g&&y?(T=!0,P=y.createTextNode(""),new g(I).observe(P,{characterData:!0}),S=function(){P.data=T=!T}):!l&&m&&m.resolve?(A=m.resolve(void 0),A.constructor=m,R=a(A.then,A),S=function(){R(I)}):d?S=function(){p.nextTick(I)}:(o=a(o,r),S=function(){o(I)}),E=function(N){C.head||S(),C.add(N)}}i.exports=E},24649:function(i,h,t){var r=t(85156),n=TypeError,a=function(o){var s,u;this.promise=new o(function(l,v){if(s!==void 0||u!==void 0)throw new n("Bad Promise constructor");s=l,u=v}),this.resolve=r(s),this.reject=r(u)};i.exports.f=function(o){return new a(o)}},15453:function(i,h,t){var r=t(17361);i.exports=function(n,a){return n===void 0?arguments.length<2?"":a:r(n)}},92337:function(i,h,t){var r=t(11566),n=TypeError;i.exports=function(a){if(r(a))throw new n("The method doesn't accept regular expressions");return a}},98074:function(i,h,t){var r=t(34246),n=r.isFinite;i.exports=Number.isFinite||function(o){return typeof o=="number"&&n(o)}},25838:function(i,h,t){var r=t(34246),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=a("".charAt),v=r.parseFloat,d=r.Symbol,g=d&&d.iterator,y=1/v(u+"-0")!==-1/0||g&&!n(function(){v(Object(g))});i.exports=y?function(m){var E=s(o(m)),S=v(E);return S===0&&l(E,0)==="-"?-0:S}:v},23009:function(i,h,t){var r=t(34246),n=t(72069),a=t(11286),o=t(17361),s=t(85900).trim,u=t(77082),l=r.parseInt,v=r.Symbol,d=v&&v.iterator,g=/^[+-]?0x/i,y=a(g.exec),p=l(u+"08")!==8||l(u+"0x16")!==22||d&&!n(function(){l(Object(d))});i.exports=p?function(E,S){var T=s(o(E));return l(T,S>>>0||(y(g,T)?16:10))}:l},16667:function(i,h,t){var r=t(92986),n=t(11286),a=t(96499),o=t(72069),s=t(18350),u=t(24943),l=t(79591),v=t(49671),d=t(72181),g=Object.assign,y=Object.defineProperty,p=n([].concat);i.exports=!g||o(function(){if(r&&g({b:1},g(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var m={},E={},S=Symbol("assign detection"),T="abcdefghijklmnopqrst";return m[S]=7,T.split("").forEach(function(P){E[P]=P}),g({},m)[S]!==7||s(g({},E)).join("")!==T})?function(E,S){for(var T=v(E),P=arguments.length,A=1,R=u.f,C=l.f;P>A;)for(var I=d(arguments[A++]),N=R?p(s(I),R(I)):s(I),b=N.length,L=0,F;b>L;)F=N[L++],(!r||a(C,I,F))&&(T[F]=I[F]);return T}:g},5406:function(i,h,t){var r=t(25001),n=t(61963),a=t(75785),o=t(19423),s=t(96439),u=t(85501),l=t(44869),v=">",d="<",g="prototype",y="script",p=l("IE_PROTO"),m=function(){},E=function(R){return d+y+v+R+d+"/"+y+v},S=function(R){R.write(E("")),R.close();var C=R.parentWindow.Object;return R=null,C},T=function(){var R=u("iframe"),C="java"+y+":",I;return R.style.display="none",s.appendChild(R),R.src=String(C),I=R.contentWindow.document,I.open(),I.write(E("document.F=Object")),I.close(),I.F},P,A=function(){try{P=new ActiveXObject("htmlfile")}catch(C){}A=typeof document!="undefined"?document.domain&&P?S(P):T():S(P);for(var R=a.length;R--;)delete A[g][a[R]];return A()};o[p]=!0,i.exports=Object.create||function(C,I){var N;return C!==null?(m[g]=r(C),N=new m,m[g]=null,N[p]=C):N=A(),I===void 0?N:n.f(N,I)}},61963:function(i,h,t){var r=t(92986),n=t(356),a=t(7831),o=t(25001),s=t(36859),u=t(18350);h.f=r&&!n?Object.defineProperties:function(v,d){o(v);for(var g=s(d),y=u(d),p=y.length,m=0,E;p>m;)a.f(v,E=y[m++],g[E]);return v}},7831:function(i,h,t){var r=t(92986),n=t(52515),a=t(356),o=t(25001),s=t(50035),u=TypeError,l=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d="enumerable",g="configurable",y="writable";h.f=r?a?function(m,E,S){if(o(m),E=s(E),o(S),typeof m=="function"&&E==="prototype"&&"value"in S&&y in S&&!S[y]){var T=v(m,E);T&&T[y]&&(m[E]=S.value,S={configurable:g in S?S[g]:T[g],enumerable:d in S?S[d]:T[d],writable:!1})}return l(m,E,S)}:l:function(m,E,S){if(o(m),E=s(E),o(S),n)try{return l(m,E,S)}catch(T){}if("get"in S||"set"in S)throw new u("Accessors not supported");return"value"in S&&(m[E]=S.value),m}},71349:function(i,h,t){var r=t(92986),n=t(96499),a=t(79591),o=t(18526),s=t(36859),u=t(50035),l=t(94879),v=t(52515),d=Object.getOwnPropertyDescriptor;h.f=r?d:function(y,p){if(y=s(y),p=u(p),v)try{return d(y,p)}catch(m){}if(l(y,p))return o(!n(a.f,y,p),y[p])}},92880:function(i,h,t){var r=t(14274),n=t(36859),a=t(83258).f,o=t(22806),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(l){try{return a(l)}catch(v){return o(s)}};i.exports.f=function(v){return s&&r(v)==="Window"?u(v):a(n(v))}},83258:function(i,h,t){var r=t(6242),n=t(75785),a=n.concat("length","prototype");h.f=Object.getOwnPropertyNames||function(s){return r(s,a)}},24943:function(i,h){h.f=Object.getOwnPropertySymbols},26313:function(i,h,t){var r=t(94879),n=t(23583),a=t(49671),o=t(44869),s=t(87501),u=o("IE_PROTO"),l=Object,v=l.prototype;i.exports=s?l.getPrototypeOf:function(d){var g=a(d);if(r(g,u))return g[u];var y=g.constructor;return n(y)&&g instanceof y?y.prototype:g instanceof l?v:null}},28174:function(i,h,t){var r=t(72069),n=t(37540),a=t(14274),o=t(72058),s=Object.isExtensible,u=r(function(){s(1)});i.exports=u||o?function(v){return!n(v)||o&&a(v)==="ArrayBuffer"?!1:s?s(v):!0}:s},95307:function(i,h,t){var r=t(11286);i.exports=r({}.isPrototypeOf)},6242:function(i,h,t){var r=t(11286),n=t(94879),a=t(36859),o=t(94319).indexOf,s=t(19423),u=r([].push);i.exports=function(l,v){var d=a(l),g=0,y=[],p;for(p in d)!n(s,p)&&n(d,p)&&u(y,p);for(;v.length>g;)n(d,p=v[g++])&&(~o(y,p)||u(y,p));return y}},18350:function(i,h,t){var r=t(6242),n=t(75785);i.exports=Object.keys||function(o){return r(o,n)}},79591:function(i,h){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);h.f=n?function(o){var s=r(this,o);return!!s&&s.enumerable}:t},57629:function(i,h,t){var r=t(70457),n=t(34246),a=t(72069),o=t(66577);i.exports=r||!a(function(){if(!(o&&o<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete n[s]}})},15861:function(i,h,t){var r=t(84756),n=t(37540),a=t(2068),o=t(53408);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,u={},l;try{l=r(Object.prototype,"__proto__","set"),l(u,[]),s=u instanceof Array}catch(v){}return function(d,g){return a(d),o(g),n(d)&&(s?l(d,g):d.__proto__=g),d}}():void 0)},8511:function(i,h,t){var r=t(92986),n=t(72069),a=t(11286),o=t(26313),s=t(18350),u=t(36859),l=t(79591).f,v=a(l),d=a([].push),g=r&&n(function(){var p=Object.create(null);return p[2]=2,!v(p,2)}),y=function(p){return function(m){for(var E=u(m),S=s(E),T=g&&o(E)===null,P=S.length,A=0,R=[],C;P>A;)C=S[A++],(!r||(T?C in E:v(E,C)))&&d(R,p?[C,E[C]]:E[C]);return R}};i.exports={entries:y(!0),values:y(!1)}},60105:function(i,h,t){var r=t(67878),n=t(9205);i.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2064:function(i,h,t){var r=t(96499),n=t(23583),a=t(37540),o=TypeError;i.exports=function(s,u){var l,v;if(u==="string"&&n(l=s.toString)&&!a(v=r(l,s))||n(l=s.valueOf)&&!a(v=r(l,s))||u!=="string"&&n(l=s.toString)&&!a(v=r(l,s)))return v;throw new o("Can't convert object to primitive value")}},16885:function(i,h,t){var r=t(38941),n=t(11286),a=t(83258),o=t(24943),s=t(25001),u=n([].concat);i.exports=r("Reflect","ownKeys")||function(v){var d=a.f(s(v)),g=o.f;return g?u(d,g(v)):d}},75081:function(i,h,t){var r=t(34246);i.exports=r},67805:function(i){i.exports=function(h){try{return{error:!1,value:h()}}catch(t){return{error:!0,value:t}}}},37130:function(i,h,t){var r=t(34246),n=t(98844),a=t(23583),o=t(13278),s=t(84352),u=t(18565),l=t(21501),v=t(70457),d=t(44241),g=n&&n.prototype,y=u("species"),p=!1,m=a(r.PromiseRejectionEvent),E=o("Promise",function(){var S=s(n),T=S!==String(n);if(!T&&d===66||v&&!(g.catch&&g.finally))return!0;if(!d||d<51||!/native code/.test(S)){var P=new n(function(C){C(1)}),A=function(C){C(function(){},function(){})},R=P.constructor={};if(R[y]=A,p=P.then(function(){})instanceof A,!p)return!0}return!T&&(l==="BROWSER"||l==="DENO")&&!m});i.exports={CONSTRUCTOR:E,REJECTION_EVENT:m,SUBCLASSING:p}},98844:function(i,h,t){var r=t(34246);i.exports=r.Promise},87408:function(i,h,t){var r=t(25001),n=t(37540),a=t(24649);i.exports=function(o,s){if(r(o),n(s)&&s.constructor===o)return s;var u=a.f(o),l=u.resolve;return l(s),u.promise}},26035:function(i,h,t){var r=t(98844),n=t(97494),a=t(37130).CONSTRUCTOR;i.exports=a||!n(function(o){r.all(o).then(void 0,function(){})})},2594:function(i,h,t){var r=t(7831).f;i.exports=function(n,a,o){o in n||r(n,o,{configurable:!0,get:function(){return a[o]},set:function(s){a[o]=s}})}},76895:function(i){var h=function(){this.head=null,this.tail=null};h.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},i.exports=h},33064:function(i,h,t){var r=t(96499),n=t(25001),a=t(23583),o=t(14274),s=t(44381),u=TypeError;i.exports=function(l,v){var d=l.exec;if(a(d)){var g=r(d,l,v);return g!==null&&n(g),g}if(o(l)==="RegExp")return r(s,l,v);throw new u("RegExp#exec called on incompatible receiver")}},44381:function(i,h,t){var r=t(96499),n=t(11286),a=t(17361),o=t(29833),s=t(39807),u=t(96731),l=t(5406),v=t(82367).get,d=t(76769),g=t(85220),y=u("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,E=n("".charAt),S=n("".indexOf),T=n("".replace),P=n("".slice),A=function(){var N=/a/,b=/b*/g;return r(p,N,"a"),r(p,b,"a"),N.lastIndex!==0||b.lastIndex!==0}(),R=s.BROKEN_CARET,C=/()??/.exec("")[1]!==void 0,I=A||C||R||d||g;I&&(m=function(b){var L=this,F=v(L),$=a(b),G=F.raw,V,U,B,j,K,_,J;if(G)return G.lastIndex=L.lastIndex,V=r(m,G,$),L.lastIndex=G.lastIndex,V;var nt=F.groups,q=R&&L.sticky,dt=r(o,L),lt=L.source,yt=0,St=$;if(q&&(dt=T(dt,"y",""),S(dt,"g")===-1&&(dt+="g"),St=P($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&E($,L.lastIndex-1)!==` `)&&(lt="(?: "+lt+")",St=" "+St,yt++),U=new RegExp("^(?:"+lt+")",dt)),C&&(U=new RegExp("^"+lt+"$(?!\\s)",dt)),A&&(B=L.lastIndex),j=r(p,q?U:L,St),q?j?(j.input=P(j.input,yt),j[0]=P(j[0],yt),j.index=L.lastIndex,L.lastIndex+=j[0].length):L.lastIndex=0:A&&j&&(L.lastIndex=L.global?j.index+j[0].length:B),C&&j&&j.length>1&&r(y,j[0],U,function(){for(K=1;Kb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},2068:function(i,h,t){var r=t(5683),n=TypeError;i.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a}},28167:function(i,h,t){var r=t(34246),n=t(92986),a=Object.getOwnPropertyDescriptor;i.exports=function(o){if(!n)return r[o];var s=a(r,o);return s&&s.value}},13944:function(i){i.exports=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}},9934:function(i,h,t){var r=t(34246),n=t(66543),a=t(23583),o=t(21501),s=t(18257),u=t(22806),l=t(95486),v=r.Function,d=/MSIE .\./.test(s)||o==="BUN"&&function(){var g=r.Bun.version.split(".");return g.length<3||g[0]==="0"&&(g[1]<3||g[1]==="3"&&g[2]==="0")}();i.exports=function(g,y){var p=y?2:1;return d?function(m,E){var S=l(arguments.length,1)>p,T=a(m)?m:v(m),P=S?u(arguments,p):[],A=S?function(){n(T,this,P)}:T;return y?g(A,E):g(A)}:g}},48348:function(i,h,t){var r=t(172),n=t(35051),a=r.Set,o=r.add;i.exports=function(s){var u=new a;return n(s,function(l){o(u,l)}),u}},41754:function(i,h,t){var r=t(76602),n=t(172),a=t(48348),o=t(17768),s=t(65263),u=t(35051),l=t(9573),v=n.has,d=n.remove;i.exports=function(y){var p=r(this),m=s(y),E=a(p);return o(p)<=m.size?u(p,function(S){m.includes(S)&&d(E,S)}):l(m.getIterator(),function(S){v(p,S)&&d(E,S)}),E}},172:function(i,h,t){var r=t(11286),n=Set.prototype;i.exports={Set,add:r(n.add),has:r(n.has),remove:r(n.delete),proto:n}},92292:function(i,h,t){var r=t(76602),n=t(172),a=t(17768),o=t(65263),s=t(35051),u=t(9573),l=n.Set,v=n.add,d=n.has;i.exports=function(y){var p=r(this),m=o(y),E=new l;return a(p)>m.size?u(m.getIterator(),function(S){d(p,S)&&v(E,S)}):s(p,function(S){m.includes(S)&&v(E,S)}),E}},47391:function(i,h,t){var r=t(76602),n=t(172).has,a=t(17768),o=t(65263),s=t(35051),u=t(9573),l=t(99797);i.exports=function(d){var g=r(this),y=o(d);if(a(g)<=y.size)return s(g,function(m){if(y.includes(m))return!1},!0)!==!1;var p=y.getIterator();return u(p,function(m){if(n(g,m))return l(p,"normal",!1)})!==!1}},75492:function(i,h,t){var r=t(76602),n=t(17768),a=t(35051),o=t(65263);i.exports=function(u){var l=r(this),v=o(u);return n(l)>v.size?!1:a(l,function(d){if(!v.includes(d))return!1},!0)!==!1}},1333:function(i,h,t){var r=t(76602),n=t(172).has,a=t(17768),o=t(65263),s=t(9573),u=t(99797);i.exports=function(v){var d=r(this),g=o(v);if(a(d)3})}},22149:function(i,h,t){var r=t(11286),n=t(12105),a=t(17361),o=t(2068),s=r("".charAt),u=r("".charCodeAt),l=r("".slice),v=function(d){return function(g,y){var p=a(o(g)),m=n(y),E=p.length,S,T;return m<0||m>=E?d?"":void 0:(S=u(p,m),S<55296||S>56319||m+1===E||(T=u(p,m+1))<56320||T>57343?d?s(p,m):S:d?l(p,m,m+2):(S-55296<<10)+(T-56320)+65536)}};i.exports={codeAt:v(!1),charAt:v(!0)}},36945:function(i,h,t){var r=t(18257);i.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},61607:function(i,h,t){var r=t(11286),n=t(45344),a=t(17361),o=t(79719),s=t(2068),u=r(o),l=r("".slice),v=Math.ceil,d=function(g){return function(y,p,m){var E=a(s(y)),S=n(p),T=E.length,P=m===void 0?" ":a(m),A,R;return S<=T||P===""?E:(A=S-T,R=u(P,v(A/P.length)),R.length>A&&(R=l(R,0,A)),g?E+R:R+E)}};i.exports={start:d(!1),end:d(!0)}},38679:function(i,h,t){var r=t(11286),n=2147483647,a=36,o=1,s=26,u=38,l=700,v=72,d=128,g="-",y=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m="Overflow: input needs wider integers to process",E=a-o,S=RangeError,T=r(p.exec),P=Math.floor,A=String.fromCharCode,R=r("".charCodeAt),C=r([].join),I=r([].push),N=r("".replace),b=r("".split),L=r("".toLowerCase),F=function(U){for(var B=[],j=0,K=U.length;j=55296&&_<=56319&&j>1,U+=P(U/B);U>E*s>>1;)U=P(U/E),K+=a;return P(K+(E+1)*U/(U+u))},V=function(U){var B=[];U=F(U);var j=U.length,K=d,_=0,J=v,nt,q;for(nt=0;nt=K&&qP((n-_)/St))throw new S(m);for(_+=(yt-K)*St,K=yt,nt=0;ntn)throw new S(m);if(q===K){for(var Tt=_,Gt=a;;){var jt=Gt<=J?o:Gt>=J+s?s:Gt-J;if(Tt0;(d>>>=1)&&(l+=l))d&1&&(v+=l);return v}},75176:function(i,h,t){var r=t(85900).end,n=t(33328);i.exports=n("trimEnd")?function(){return r(this)}:"".trimEnd},33328:function(i,h,t){var r=t(86588).PROPER,n=t(72069),a=t(77082),o="\u200B\x85\u180E";i.exports=function(s){return n(function(){return!!a[s]()||o[s]()!==o||r&&a[s].name!==s})}},83481:function(i,h,t){var r=t(85900).start,n=t(33328);i.exports=n("trimStart")?function(){return r(this)}:"".trimStart},85900:function(i,h,t){var r=t(11286),n=t(2068),a=t(17361),o=t(77082),s=r("".replace),u=RegExp("^["+o+"]+"),l=RegExp("(^|[^"+o+"])["+o+"]+$"),v=function(d){return function(g){var y=a(n(g));return d&1&&(y=s(y,u,"")),d&2&&(y=s(y,l,"$1")),y}};i.exports={start:v(1),end:v(2),trim:v(3)}},99050:function(i,h,t){var r=t(34246),n=t(72069),a=t(44241),o=t(21501),s=r.structuredClone;i.exports=!!s&&!n(function(){if(o==="DENO"&&a>92||o==="NODE"&&a>94||o==="BROWSER"&&a>97)return!1;var u=new ArrayBuffer(8),l=s(u,{transfer:[u]});return u.byteLength!==0||l.byteLength!==8})},39729:function(i,h,t){var r=t(44241),n=t(72069),a=t(34246),o=a.String;i.exports=!!Object.getOwnPropertySymbols&&!n(function(){var s=Symbol("symbol detection");return!o(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&r&&r<41})},60796:function(i,h,t){var r=t(96499),n=t(38941),a=t(18565),o=t(16142);i.exports=function(){var s=n("Symbol"),u=s&&s.prototype,l=u&&u.valueOf,v=a("toPrimitive");u&&!u[v]&&o(u,v,function(d){return r(l,this)},{arity:1})}},61190:function(i,h,t){var r=t(39729);i.exports=r&&!!Symbol.for&&!!Symbol.keyFor},23115:function(i,h,t){var r=t(34246),n=t(66543),a=t(45526),o=t(23583),s=t(94879),u=t(72069),l=t(96439),v=t(22806),d=t(85501),g=t(95486),y=t(5286),p=t(91707),m=r.setImmediate,E=r.clearImmediate,S=r.process,T=r.Dispatch,P=r.Function,A=r.MessageChannel,R=r.String,C=0,I={},N="onreadystatechange",b,L,F,$;u(function(){b=r.location});var G=function(j){if(s(I,j)){var K=I[j];delete I[j],K()}},V=function(j){return function(){G(j)}},U=function(j){G(j.data)},B=function(j){r.postMessage(R(j),b.protocol+"//"+b.host)};(!m||!E)&&(m=function(K){g(arguments.length,1);var _=o(K)?K:P(K),J=v(arguments,1);return I[++C]=function(){n(_,void 0,J)},L(C),C},E=function(K){delete I[K]},p?L=function(j){S.nextTick(V(j))}:T&&T.now?L=function(j){T.now(V(j))}:A&&!y?(F=new A,$=F.port2,F.port1.onmessage=U,L=a($.postMessage,$)):r.addEventListener&&o(r.postMessage)&&!r.importScripts&&b&&b.protocol!=="file:"&&!u(B)?(L=B,r.addEventListener("message",U,!1)):N in d("script")?L=function(j){l.appendChild(d("script"))[N]=function(){l.removeChild(this),G(j)}}:L=function(j){setTimeout(V(j),0)}),i.exports={set:m,clear:E}},34338:function(i,h,t){var r=t(11286);i.exports=r(1 .valueOf)},4652:function(i,h,t){var r=t(12105),n=Math.max,a=Math.min;i.exports=function(o,s){var u=r(o);return u<0?n(u+s,0):a(u,s)}},11344:function(i,h,t){var r=t(89935),n=TypeError;i.exports=function(a){var o=r(a,"number");if(typeof o=="number")throw new n("Can't convert number to bigint");return BigInt(o)}},9450:function(i,h,t){var r=t(12105),n=t(45344),a=RangeError;i.exports=function(o){if(o===void 0)return 0;var s=r(o),u=n(s);if(s!==u)throw new a("Wrong length or index");return u}},36859:function(i,h,t){var r=t(72181),n=t(2068);i.exports=function(a){return r(n(a))}},12105:function(i,h,t){var r=t(22459);i.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)}},45344:function(i,h,t){var r=t(12105),n=Math.min;i.exports=function(a){var o=r(a);return o>0?n(o,9007199254740991):0}},49671:function(i,h,t){var r=t(2068),n=Object;i.exports=function(a){return n(r(a))}},58143:function(i,h,t){var r=t(98072),n=RangeError;i.exports=function(a,o){var s=r(a);if(s%o)throw new n("Wrong offset");return s}},98072:function(i,h,t){var r=t(12105),n=RangeError;i.exports=function(a){var o=r(a);if(o<0)throw new n("The argument can't be less than 0");return o}},89935:function(i,h,t){var r=t(96499),n=t(37540),a=t(491),o=t(10512),s=t(2064),u=t(18565),l=TypeError,v=u("toPrimitive");i.exports=function(d,g){if(!n(d)||a(d))return d;var y=o(d,v),p;if(y){if(g===void 0&&(g="default"),p=r(y,d,g),!n(p)||a(p))return p;throw new l("Can't convert object to primitive value")}return g===void 0&&(g="number"),s(d,g)}},50035:function(i,h,t){var r=t(89935),n=t(491);i.exports=function(a){var o=r(a,"string");return n(o)?o:o+""}},67878:function(i,h,t){var r=t(18565),n=r("toStringTag"),a={};a[n]="z",i.exports=String(a)==="[object z]"},17361:function(i,h,t){var r=t(9205),n=String;i.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)}},76517:function(i){var h=Math.round;i.exports=function(t){var r=h(t);return r<0?0:r>255?255:r&255}},82453:function(i){var h=String;i.exports=function(t){try{return h(t)}catch(r){return"Object"}}},80357:function(i,h,t){var r=t(14304),n=t(34246),a=t(96499),o=t(92986),s=t(46868),u=t(88037),l=t(17468),v=t(12833),d=t(18526),g=t(90809),y=t(613),p=t(45344),m=t(9450),E=t(58143),S=t(76517),T=t(50035),P=t(94879),A=t(9205),R=t(37540),C=t(491),I=t(5406),N=t(95307),b=t(15861),L=t(83258).f,F=t(66169),$=t(66655).forEach,G=t(36167),V=t(85500),U=t(7831),B=t(71349),j=t(5220),K=t(82367),_=t(32345),J=K.get,nt=K.set,q=K.enforce,dt=U.f,lt=B.f,yt=n.RangeError,St=l.ArrayBuffer,Tt=St.prototype,Gt=l.DataView,jt=u.NATIVE_ARRAY_BUFFER_VIEWS,Dt=u.TYPED_ARRAY_TAG,vt=u.TypedArray,gt=u.TypedArrayPrototype,Pt=u.isTypedArray,Mt="BYTES_PER_ELEMENT",Ct="Wrong length",Lt=function(Xt,Ht){V(Xt,Ht,{configurable:!0,get:function(){return J(this)[Ht]}})},Zt=function(Xt){var Ht;return N(Tt,Xt)||(Ht=A(Xt))==="ArrayBuffer"||Ht==="SharedArrayBuffer"},kt=function(Xt,Ht){return Pt(Xt)&&!C(Ht)&&Ht in Xt&&y(+Ht)&&Ht>=0},Kt=function(Ht,Ut){return Ut=T(Ut),kt(Ht,Ut)?d(2,Ht[Ut]):lt(Ht,Ut)},Ft=function(Ht,Ut,st){return Ut=T(Ut),kt(Ht,Ut)&&R(st)&&P(st,"value")&&!P(st,"get")&&!P(st,"set")&&!st.configurable&&(!P(st,"writable")||st.writable)&&(!P(st,"enumerable")||st.enumerable)?(Ht[Ut]=st.value,Ht):dt(Ht,Ut,st)};o?(jt||(B.f=Kt,U.f=Ft,Lt(gt,"buffer"),Lt(gt,"byteOffset"),Lt(gt,"byteLength"),Lt(gt,"length")),r({target:"Object",stat:!0,forced:!jt},{getOwnPropertyDescriptor:Kt,defineProperty:Ft}),i.exports=function(Xt,Ht,Ut){var st=Xt.match(/\d+/)[0]/8,ht=Xt+(Ut?"Clamped":"")+"Array",rt="get"+Xt,Ot="set"+Xt,It=n[ht],xt=It,pt=xt&&xt.prototype,_t={},rr=function(z,Z){var Y=J(z);return Y.view[rt](Z*st+Y.byteOffset,!0)},Q=function(z,Z,Y){var ct=J(z);ct.view[Ot](Z*st+ct.byteOffset,Ut?S(Y):Y,!0)},at=function(z,Z){dt(z,Z,{get:function(){return rr(this,Z)},set:function(Y){return Q(this,Z,Y)},enumerable:!0})};jt?s&&(xt=Ht(function(z,Z,Y,ct){return v(z,pt),_(function(){return R(Z)?Zt(Z)?ct!==void 0?new It(Z,E(Y,st),ct):Y!==void 0?new It(Z,E(Y,st)):new It(Z):Pt(Z)?j(xt,Z):a(F,xt,Z):new It(m(Z))}(),z,xt)}),b&&b(xt,vt),$(L(It),function(z){z in xt||g(xt,z,It[z])}),xt.prototype=pt):(xt=Ht(function(z,Z,Y,ct){v(z,pt);var At=0,Nt=0,Wt,Jt,Yt;if(!R(Z))Yt=m(Z),Jt=Yt*st,Wt=new St(Jt);else if(Zt(Z)){Wt=Z,Nt=E(Y,st);var er=Z.byteLength;if(ct===void 0){if(er%st)throw new yt(Ct);if(Jt=er-Nt,Jt<0)throw new yt(Ct)}else if(Jt=p(ct)*st,Jt+Nt>er)throw new yt(Ct);Yt=Jt/st}else return Pt(Z)?j(xt,Z):a(F,xt,Z);for(nt(z,{buffer:Wt,byteOffset:Nt,byteLength:Jt,length:Yt,view:new Gt(Wt)});At1?arguments[1]:void 0,A=P!==void 0,R=l(S),C,I,N,b,L,F,$,G;if(R&&!v(R))for($=u(S,R),G=$.next,S=[];!(F=n(G,$)).done;)S.push(F.value);for(A&&T>2&&(P=r(P,arguments[2])),I=s(S),N=new(g(E))(I),b=d(N),C=0;I>C;C++)L=A?P(S[C],C):S[C],N[C]=b?y(L):+L;return N}},21822:function(i,h,t){var r=t(88037),n=t(16887),a=r.aTypedArrayConstructor,o=r.getTypedArrayConstructor;i.exports=function(s){return a(n(s,o(s)))}},36374:function(i,h,t){var r=t(11286),n=0,a=Math.random(),o=r(1 .toString);i.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+o(++n+a,36)}},91918:function(i,h,t){var r=t(72069),n=t(18565),a=t(92986),o=t(70457),s=n("iterator");i.exports=!r(function(){var u=new URL("b?a=1&b=2&c=3","https://a"),l=u.searchParams,v=new URLSearchParams("a=1&a=2&b=3"),d="";return u.pathname="c%20d",l.forEach(function(g,y){l.delete("b"),d+=y+g}),v.delete("a",2),v.delete("b",void 0),o&&(!u.toJSON||!v.has("a",1)||v.has("a",2)||!v.has("a",void 0)||v.has("b"))||!l.size&&(o||!a)||!l.sort||u.href!=="https://a/c%20d?a=1&c=3"||l.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!l[s]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("https://a#\u0431").hash!=="#%D0%B1"||d!=="a1c3"||new URL("https://x",void 0).host!=="x"})},50234:function(i,h,t){var r=t(39729);i.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(i,h,t){var r=t(92986),n=t(72069);i.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(i){var h=TypeError;i.exports=function(t,r){if(tR&&g(U,arguments[R]),U});if(F.prototype=b,I!=="Error"?s?s(F,L):u(F,L,{name:!0}):p&&A in N&&(l(F,N,A),l(F,N,"prepareStackTrace")),u(F,N),!m)try{b.name!==I&&a(b,"name",I),b.constructor=F}catch($){}return F}}},27796:function(i,h,t){var r=t(14304),n=t(38941),a=t(66543),o=t(72069),s=t(70003),u="AggregateError",l=n(u),v=!o(function(){return l([1]).errors[0]!==1})&&o(function(){return l([1],u,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:s(u,function(d){return function(y,p){return a(d,this,arguments)}},v,!0)})},85647:function(i,h,t){var r=t(14304),n=t(95307),a=t(26313),o=t(15861),s=t(93706),u=t(5406),l=t(90809),v=t(18526),d=t(31486),g=t(97077),y=t(55902),p=t(15453),m=t(18565),E=m("toStringTag"),S=Error,T=[].push,P=function(C,I){var N=n(A,this),b;o?b=o(new S,N?a(this):A):(b=N?this:u(A),l(b,E,"Error")),I!==void 0&&l(b,"message",p(I)),g(b,P,b.stack,1),arguments.length>2&&d(b,arguments[2]);var L=[];return y(C,T,{that:L}),l(b,"errors",L),b};o?o(P,S):s(P,S,{name:!0});var A=P.prototype=u(S.prototype,{constructor:v(1,P),message:v(1,""),name:v(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:P})},42861:function(i,h,t){t(85647)},35473:function(i,h,t){var r=t(14304),n=t(34246),a=t(17468),o=t(36167),s="ArrayBuffer",u=a[s],l=n[s];r({global:!0,constructor:!0,forced:l!==u},{ArrayBuffer:u}),o(s)},35495:function(i,h,t){var r=t(92986),n=t(85500),a=t(30736),o=ArrayBuffer.prototype;r&&!("detached"in o)&&n(o,"detached",{configurable:!0,get:function(){return a(this)}})},4983:function(i,h,t){var r=t(14304),n=t(88037),a=n.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!a},{isView:n.isView})},6875:function(i,h,t){var r=t(14304),n=t(77422),a=t(72069),o=t(17468),s=t(25001),u=t(4652),l=t(45344),v=t(16887),d=o.ArrayBuffer,g=o.DataView,y=g.prototype,p=n(d.prototype.slice),m=n(y.getUint8),E=n(y.setUint8),S=a(function(){return!new d(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(P,A){if(p&&A===void 0)return p(s(this),P);for(var R=s(this).byteLength,C=u(P,R),I=u(A===void 0?R:A,R),N=new(v(this,d))(l(I-C)),b=new g(this),L=new g(N),F=0;C=0?g:d+g;return y<0||y>=d?void 0:v[y]}}),s("at")},98700:function(i,h,t){var r=t(14304),n=t(72069),a=t(3438),o=t(37540),s=t(49671),u=t(82628),l=t(20095),v=t(84082),d=t(62083),g=t(52183),y=t(18565),p=t(44241),m=y("isConcatSpreadable"),E=p>=51||!n(function(){var P=[];return P[m]=!1,P.concat()[0]!==P}),S=function(P){if(!o(P))return!1;var A=P[m];return A!==void 0?!!A:a(P)},T=!E||!g("concat");r({target:"Array",proto:!0,arity:1,forced:T},{concat:function(A){var R=s(this),C=d(R,0),I=0,N,b,L,F,$;for(N=-1,L=arguments.length;N1?arguments[1]:void 0)}})},41585:function(i,h,t){var r=t(14304),n=t(43011),a=t(23811);r({target:"Array",proto:!0},{fill:n}),a("fill")},84554:function(i,h,t){var r=t(14304),n=t(66655).filter,a=t(52183),o=a("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},33818:function(i,h,t){var r=t(14304),n=t(66655).findIndex,a=t(23811),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{findIndex:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}}),a(o)},2209:function(i,h,t){var r=t(14304),n=t(73849).findLastIndex,a=t(23811);r({target:"Array",proto:!0},{findLastIndex:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},64096:function(i,h,t){var r=t(14304),n=t(73849).findLast,a=t(23811);r({target:"Array",proto:!0},{findLast:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},36619:function(i,h,t){var r=t(14304),n=t(66655).find,a=t(23811),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r({target:"Array",proto:!0,forced:s},{find:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}}),a(o)},74092:function(i,h,t){var r=t(14304),n=t(53149),a=t(85156),o=t(49671),s=t(82628),u=t(62083);r({target:"Array",proto:!0},{flatMap:function(v){var d=o(this),g=s(d),y;return a(v),y=u(d,0),y.length=n(y,d,d,g,0,1,v,arguments.length>1?arguments[1]:void 0),y}})},91591:function(i,h,t){var r=t(14304),n=t(53149),a=t(49671),o=t(82628),s=t(12105),u=t(62083);r({target:"Array",proto:!0},{flat:function(){var v=arguments.length?arguments[0]:void 0,d=a(this),g=o(d),y=u(d,0);return y.length=n(y,d,d,g,0,v===void 0?1:s(v)),y}})},54703:function(i,h,t){var r=t(14304),n=t(13349);r({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n})},82936:function(i,h,t){var r=t(14304),n=t(48258),a=t(97494),o=!a(function(s){Array.from(s)});r({target:"Array",stat:!0,forced:o},{from:n})},48493:function(i,h,t){var r=t(14304),n=t(94319).includes,a=t(72069),o=t(23811),s=a(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:s},{includes:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}}),o("includes")},64730:function(i,h,t){var r=t(14304),n=t(77422),a=t(94319).indexOf,o=t(6148),s=n([].indexOf),u=!!s&&1/s([1],1,-0)<0,l=u||!o("indexOf");r({target:"Array",proto:!0,forced:l},{indexOf:function(d){var g=arguments.length>1?arguments[1]:void 0;return u?s(this,d,g)||0:a(this,d,g)}})},95024:function(i,h,t){var r=t(14304),n=t(3438);r({target:"Array",stat:!0},{isArray:n})},35054:function(i,h,t){var r=t(36859),n=t(23811),a=t(29107),o=t(82367),s=t(7831).f,u=t(10218),l=t(10659),v=t(70457),d=t(92986),g="Array Iterator",y=o.set,p=o.getterFor(g);i.exports=u(Array,"Array",function(E,S){y(this,{type:g,target:r(E),index:0,kind:S})},function(){var E=p(this),S=E.target,T=E.index++;if(!S||T>=S.length)return E.target=void 0,l(void 0,!0);switch(E.kind){case"keys":return l(T,!1);case"values":return l(S[T],!1)}return l([T,S[T]],!1)},"values");var m=a.Arguments=a.Array;if(n("keys"),n("values"),n("entries"),!v&&d&&m.name!=="values")try{s(m,"name",{value:"values"})}catch(E){}},25460:function(i,h,t){var r=t(14304),n=t(11286),a=t(72181),o=t(36859),s=t(6148),u=n([].join),l=a!==Object,v=l||!s("join",",");r({target:"Array",proto:!0,forced:v},{join:function(g){return u(o(this),g===void 0?",":g)}})},60703:function(i,h,t){var r=t(14304),n=t(58465);r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},90468:function(i,h,t){var r=t(14304),n=t(66655).map,a=t(52183),o=a("map");r({target:"Array",proto:!0,forced:!o},{map:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}})},69581:function(i,h,t){var r=t(14304),n=t(72069),a=t(11051),o=t(84082),s=Array,u=n(function(){function l(){}return!(s.of.call(l)instanceof l)});r({target:"Array",stat:!0,forced:u},{of:function(){for(var v=0,d=arguments.length,g=new(a(this)?this:s)(d);d>v;)o(g,v,arguments[v++]);return g.length=d,g}})},720:function(i,h,t){var r=t(14304),n=t(49671),a=t(82628),o=t(2213),s=t(20095),u=t(72069),l=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},d=l||!v();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(y){var p=n(this),m=a(p),E=arguments.length;s(m+E);for(var S=0;S79&&o<83,l=u||!a("reduceRight");r({target:"Array",proto:!0,forced:l},{reduceRight:function(d){return n(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(i,h,t){var r=t(14304),n=t(97264).left,a=t(6148),o=t(44241),s=t(91707),u=!s&&o>79&&o<83,l=u||!a("reduce");r({target:"Array",proto:!0,forced:l},{reduce:function(d){var g=arguments.length;return n(this,d,g,g>1?arguments[1]:void 0)}})},24608:function(i,h,t){var r=t(14304),n=t(11286),a=t(3438),o=n([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o(this)}})},51644:function(i,h,t){var r=t(14304),n=t(3438),a=t(11051),o=t(37540),s=t(4652),u=t(82628),l=t(36859),v=t(84082),d=t(18565),g=t(52183),y=t(22806),p=g("slice"),m=d("species"),E=Array,S=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(P,A){var R=l(this),C=u(R),I=s(P,C),N=s(A===void 0?C:A,C),b,L,F;if(n(R)&&(b=R.constructor,a(b)&&(b===E||n(b.prototype))?b=void 0:o(b)&&(b=b[m],b===null&&(b=void 0)),b===E||b===void 0))return y(R,I,N);for(L=new(b===void 0?E:b)(S(N-I,0)),F=0;I1?arguments[1]:void 0)}})},46828:function(i,h,t){var r=t(14304),n=t(11286),a=t(85156),o=t(49671),s=t(82628),u=t(12384),l=t(17361),v=t(72069),d=t(13270),g=t(6148),y=t(507),p=t(17417),m=t(44241),E=t(66577),S=[],T=n(S.sort),P=n(S.push),A=v(function(){S.sort(void 0)}),R=v(function(){S.sort(null)}),C=g("sort"),I=!v(function(){if(m)return m<70;if(!(y&&y>3)){if(p)return!0;if(E)return E<603;var L="",F,$,G,V;for(F=65;F<76;F++){switch($=String.fromCharCode(F),F){case 66:case 69:case 70:case 72:G=3;break;case 68:case 71:G=4;break;default:G=2}for(V=0;V<47;V++)S.push({k:$+V,v:G})}for(S.sort(function(U,B){return B.v-U.v}),V=0;Vl($)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(F){F!==void 0&&a(F);var $=o(this);if(I)return F===void 0?T($):T($,F);var G=[],V=s($),U,B;for(B=0;BR-b+N;F--)g(A,F-1)}else if(N>b)for(F=R-b;F>C;F--)$=F+b-1,G=F+N-1,$ in A?A[G]=A[$]:g(A,G);for(F=0;F=0&&d<=99?d+1900:d;return u(this,g)}})},33685:function(i,h,t){var r=t(14304);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(i,h,t){var r=t(14304),n=t(11890);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==n},{toISOString:n})},96049:function(i,h,t){var r=t(14304),n=t(72069),a=t(49671),o=t(89935),s=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(l){var v=a(this),d=o(v,"number");return typeof d=="number"&&!isFinite(d)?null:v.toISOString()}})},14038:function(i,h,t){var r=t(94879),n=t(16142),a=t(84306),o=t(18565),s=o("toPrimitive"),u=Date.prototype;r(u,s)||n(u,s,a)},55518:function(i,h,t){var r=t(11286),n=t(16142),a=Date.prototype,o="Invalid Date",s="toString",u=r(a[s]),l=r(a.getTime);String(new Date(NaN))!==o&&n(a,s,function(){var d=l(this);return d===d?u(this):o})},81742:function(i,h,t){var r=t(14304),n=t(34246),a=t(66543),o=t(70003),s="WebAssembly",u=n[s],l=new Error("e",{cause:7}).cause!==7,v=function(g,y){var p={};p[g]=o(g,y,l),r({global:!0,constructor:!0,arity:1,forced:l},p)},d=function(g,y){if(u&&u[g]){var p={};p[g]=o(s+"."+g,y,l),r({target:s,stat:!0,constructor:!0,arity:1,forced:l},p)}};v("Error",function(g){return function(p){return a(g,this,arguments)}}),v("EvalError",function(g){return function(p){return a(g,this,arguments)}}),v("RangeError",function(g){return function(p){return a(g,this,arguments)}}),v("ReferenceError",function(g){return function(p){return a(g,this,arguments)}}),v("SyntaxError",function(g){return function(p){return a(g,this,arguments)}}),v("TypeError",function(g){return function(p){return a(g,this,arguments)}}),v("URIError",function(g){return function(p){return a(g,this,arguments)}}),d("CompileError",function(g){return function(p){return a(g,this,arguments)}}),d("LinkError",function(g){return function(p){return a(g,this,arguments)}}),d("RuntimeError",function(g){return function(p){return a(g,this,arguments)}})},8720:function(i,h,t){var r=t(16142),n=t(58434),a=Error.prototype;a.toString!==n&&r(a,"toString",n)},8894:function(i,h,t){var r=t(14304),n=t(11286),a=t(17361),o=n("".charAt),s=n("".charCodeAt),u=n(/./.exec),l=n(1 .toString),v=n("".toUpperCase),d=/[\w*+\-./@]/,g=function(y,p){for(var m=l(y,16);m.length9490626562425156e-8?o(g)+u:n(g-1+s(g-1)*s(g+1))}})},15656:function(i,h,t){var r=t(14304),n=Math.asinh,a=Math.log,o=Math.sqrt;function s(l){var v=+l;return!isFinite(v)||v===0?v:v<0?-s(-v):a(v+o(v*v+1))}var u=!(n&&1/n(0)>0);r({target:"Math",stat:!0,forced:u},{asinh:s})},22091:function(i,h,t){var r=t(14304),n=Math.atanh,a=Math.log,o=!(n&&1/n(-0)<0);r({target:"Math",stat:!0,forced:o},{atanh:function(u){var l=+u;return l===0?l:a((1+l)/(1-l))/2}})},2886:function(i,h,t){var r=t(14304),n=t(93976),a=Math.abs,o=Math.pow;r({target:"Math",stat:!0},{cbrt:function(u){var l=+u;return n(l)*o(a(l),.3333333333333333)}})},25895:function(i,h,t){var r=t(14304),n=Math.floor,a=Math.log,o=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(u){var l=u>>>0;return l?31-n(a(l+.5)*o):32}})},24228:function(i,h,t){var r=t(14304),n=t(98940),a=Math.cosh,o=Math.abs,s=Math.E,u=!a||a(710)===1/0;r({target:"Math",stat:!0,forced:u},{cosh:function(v){var d=n(o(v)-1)+1;return(d+1/(d*s*s))*(s/2)}})},79488:function(i,h,t){var r=t(14304),n=t(98940);r({target:"Math",stat:!0,forced:n!==Math.expm1},{expm1:n})},75987:function(i,h,t){var r=t(14304),n=t(93279);r({target:"Math",stat:!0},{fround:n})},81555:function(i,h,t){var r=t(14304),n=Math.hypot,a=Math.abs,o=Math.sqrt,s=!!n&&n(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(l,v){for(var d=0,g=0,y=arguments.length,p=0,m,E;g0?(E=m/p,d+=E*E):d+=m;return p===1/0?1/0:p*o(d)}})},87854:function(i,h,t){var r=t(14304),n=t(72069),a=Math.imul,o=n(function(){return a(4294967295,5)!==-5||a.length!==2});r({target:"Math",stat:!0,forced:o},{imul:function(u,l){var v=65535,d=+u,g=+l,y=v&d,p=v&g;return 0|y*p+((v&d>>>16)*p+y*(v&g>>>16)<<16>>>0)}})},35074:function(i,h,t){var r=t(14304),n=t(41942);r({target:"Math",stat:!0},{log10:n})},50946:function(i,h,t){var r=t(14304),n=t(49366);r({target:"Math",stat:!0},{log1p:n})},29417:function(i,h,t){var r=t(14304),n=Math.log,a=Math.LN2;r({target:"Math",stat:!0},{log2:function(s){return n(s)/a}})},80628:function(i,h,t){var r=t(14304),n=t(93976);r({target:"Math",stat:!0},{sign:n})},74375:function(i,h,t){var r=t(14304),n=t(72069),a=t(98940),o=Math.abs,s=Math.exp,u=Math.E,l=n(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:l},{sinh:function(d){var g=+d;return o(g)<1?(a(g)-a(-g))/2:(s(g-1)-s(-g-1))*(u/2)}})},29708:function(i,h,t){var r=t(14304),n=t(98940),a=Math.exp;r({target:"Math",stat:!0},{tanh:function(s){var u=+s,l=n(u),v=n(-u);return l===1/0?1:v===1/0?-1:(l-v)/(a(u)+a(-u))}})},93449:function(i,h,t){var r=t(78401);r(Math,"Math",!0)},9111:function(i,h,t){var r=t(14304),n=t(22459);r({target:"Math",stat:!0},{trunc:n})},83514:function(i,h,t){var r=t(14304),n=t(70457),a=t(92986),o=t(34246),s=t(75081),u=t(11286),l=t(13278),v=t(94879),d=t(32345),g=t(95307),y=t(491),p=t(89935),m=t(72069),E=t(83258).f,S=t(71349).f,T=t(7831).f,P=t(34338),A=t(85900).trim,R="Number",C=o[R],I=s[R],N=C.prototype,b=o.TypeError,L=u("".slice),F=u("".charCodeAt),$=function(K){var _=p(K,"number");return typeof _=="bigint"?_:G(_)},G=function(K){var _=p(K,"number"),J,nt,q,dt,lt,yt,St,Tt;if(y(_))throw new b("Cannot convert a Symbol value to a number");if(typeof _=="string"&&_.length>2){if(_=A(_),J=F(_,0),J===43||J===45){if(nt=F(_,2),nt===88||nt===120)return NaN}else if(J===48){switch(F(_,1)){case 66:case 98:q=2,dt=49;break;case 79:case 111:q=8,dt=55;break;default:return+_}for(lt=L(_,2),yt=lt.length,St=0;Stdt)return NaN;return parseInt(lt,q)}}return+_},V=l(R,!C(" 0o1")||!C("0b1")||C("+0x1")),U=function(K){return g(N,K)&&m(function(){P(K)})},B=function(_){var J=arguments.length<1?0:C($(_));return U(this)?d(Object(J),this,B):J};B.prototype=N,V&&!n&&(N.constructor=B),r({global:!0,constructor:!0,wrap:!0,forced:V},{Number:B});var j=function(K,_){for(var J=a?E(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),nt=0,q;J.length>nt;nt++)v(_,q=J[nt])&&!v(K,q)&&T(K,q,S(_,q))};n&&I&&j(s[R],I),(V||n)&&j(s[R],C)},15096:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(i,h,t){var r=t(14304),n=t(98074);r({target:"Number",stat:!0},{isFinite:n})},99663:function(i,h,t){var r=t(14304),n=t(613);r({target:"Number",stat:!0},{isInteger:n})},89988:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0},{isNaN:function(a){return a!==a}})},54427:function(i,h,t){var r=t(14304),n=t(613),a=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(s){return n(s)&&a(s)<=9007199254740991}})},67895:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(i,h,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(i,h,t){var r=t(14304),n=t(25838);r({target:"Number",stat:!0,forced:Number.parseFloat!==n},{parseFloat:n})},55461:function(i,h,t){var r=t(14304),n=t(23009);r({target:"Number",stat:!0,forced:Number.parseInt!==n},{parseInt:n})},97339:function(i,h,t){var r=t(14304),n=t(11286),a=t(12105),o=t(34338),s=t(79719),u=t(41942),l=t(72069),v=RangeError,d=String,g=isFinite,y=Math.abs,p=Math.floor,m=Math.pow,E=Math.round,S=n(1 .toExponential),T=n(s),P=n("".slice),A=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",R=function(){return l(function(){S(1,1/0)})&&l(function(){S(1,-1/0)})},C=function(){return!l(function(){S(1/0,1/0),S(NaN,1/0)})},I=!A||!R()||!C();r({target:"Number",proto:!0,forced:I},{toExponential:function(b){var L=o(this);if(b===void 0)return S(L);var F=a(b);if(!g(L))return String(L);if(F<0||F>20)throw new v("Incorrect fraction digits");if(A)return S(L,F);var $="",G,V,U,B;if(L<0&&($="-",L=-L),L===0)V=0,G=T("0",F+1);else{var j=u(L);V=p(j);var K=m(10,V-F),_=E(L/K);2*L>=(2*_+1)*K&&(_+=1),_>=m(10,F+1)&&(_/=10,V+=1),G=d(_)}return F!==0&&(G=P(G,0,1)+"."+P(G,1)),V===0?(U="+",B="0"):(U=V>0?"+":"-",B=d(y(V))),G+="e"+U+B,$+G}})},3670:function(i,h,t){var r=t(14304),n=t(11286),a=t(12105),o=t(34338),s=t(79719),u=t(72069),l=RangeError,v=String,d=Math.floor,g=n(s),y=n("".slice),p=n(1 .toFixed),m=function(R,C,I){return C===0?I:C%2===1?m(R,C-1,I*R):m(R*R,C/2,I)},E=function(R){for(var C=0,I=R;I>=4096;)C+=12,I/=4096;for(;I>=2;)C+=1,I/=2;return C},S=function(R,C,I){for(var N=-1,b=I;++N<6;)b+=C*R[N],R[N]=b%1e7,b=d(b/1e7)},T=function(R,C){for(var I=6,N=0;--I>=0;)N+=R[I],R[I]=d(N/C),N=N%C*1e7},P=function(R){for(var C=6,I="";--C>=0;)if(I!==""||C===0||R[C]!==0){var N=v(R[C]);I=I===""?N:I+g("0",7-N.length)+N}return I},A=u(function(){return p(8e-5,3)!=="0.000"||p(.9,0)!=="1"||p(1.255,2)!=="1.25"||p(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){p({})});r({target:"Number",proto:!0,forced:A},{toFixed:function(C){var I=o(this),N=a(C),b=[0,0,0,0,0,0],L="",F="0",$,G,V,U;if(N<0||N>20)throw new l("Incorrect fraction digits");if(I!==I)return"NaN";if(I<=-1e21||I>=1e21)return v(I);if(I<0&&(L="-",I=-I),I>1e-21)if($=E(I*m(2,69,1))-69,G=$<0?I*m(2,-$,1):I/m(2,$,1),G*=4503599627370496,$=52-$,$>0){for(S(b,0,G),V=N;V>=7;)S(b,1e7,0),V-=7;for(S(b,m(10,V,1),0),V=$-1;V>=23;)T(b,8388608),V-=23;T(b,1<0?(U=F.length,F=L+(U<=N?"0."+g("0",N-U)+F:y(F,0,U-N)+"."+y(F,U-N))):F=L+F,F}})},15224:function(i,h,t){var r=t(14304),n=t(11286),a=t(72069),o=t(34338),s=n(1 .toPrecision),u=a(function(){return s(1,void 0)!=="1"})||!a(function(){s({})});r({target:"Number",proto:!0,forced:u},{toPrecision:function(v){return v===void 0?s(o(this)):s(o(this),v)}})},45891:function(i,h,t){var r=t(14304),n=t(16667);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},99910:function(i,h,t){var r=t(14304),n=t(92986),a=t(5406);r({target:"Object",stat:!0,sham:!n},{create:a})},92445:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(85156),s=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:a},{__defineGetter__:function(v,d){u.f(s(this),v,{get:o(d),enumerable:!0,configurable:!0})}})},21875:function(i,h,t){var r=t(14304),n=t(92986),a=t(61963).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!n},{defineProperties:a})},4383:function(i,h,t){var r=t(14304),n=t(92986),a=t(7831).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!n},{defineProperty:a})},11361:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(85156),s=t(49671),u=t(7831);n&&r({target:"Object",proto:!0,forced:a},{__defineSetter__:function(v,d){u.f(s(this),v,{set:o(d),enumerable:!0,configurable:!0})}})},13728:function(i,h,t){var r=t(14304),n=t(8511).entries;r({target:"Object",stat:!0},{entries:function(o){return n(o)}})},14885:function(i,h,t){var r=t(14304),n=t(27534),a=t(72069),o=t(37540),s=t(31853).onFreeze,u=Object.freeze,l=a(function(){u(1)});r({target:"Object",stat:!0,forced:l,sham:!n},{freeze:function(d){return u&&o(d)?u(s(d)):d}})},30343:function(i,h,t){var r=t(14304),n=t(55902),a=t(84082);r({target:"Object",stat:!0},{fromEntries:function(s){var u={};return n(s,function(l,v){a(u,l,v)},{AS_ENTRIES:!0}),u}})},22045:function(i,h,t){var r=t(14304),n=t(72069),a=t(36859),o=t(71349).f,s=t(92986),u=!s||n(function(){o(1)});r({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(v,d){return o(a(v),d)}})},75e3:function(i,h,t){var r=t(14304),n=t(92986),a=t(16885),o=t(36859),s=t(71349),u=t(84082);r({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(v){for(var d=o(v),g=s.f,y=a(d),p={},m=0,E,S;y.length>m;)S=g(d,E=y[m++]),S!==void 0&&u(p,E,S);return p}})},64658:function(i,h,t){var r=t(14304),n=t(72069),a=t(92880).f,o=n(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:a})},45223:function(i,h,t){var r=t(14304),n=t(39729),a=t(72069),o=t(24943),s=t(49671),u=!n||a(function(){o.f(1)});r({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(v){var d=o.f;return d?d(s(v)):[]}})},16017:function(i,h,t){var r=t(14304),n=t(72069),a=t(49671),o=t(26313),s=t(87501),u=n(function(){o(1)});r({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(v){return o(a(v))}})},84681:function(i,h,t){var r=t(14304),n=t(38941),a=t(11286),o=t(85156),s=t(2068),u=t(50035),l=t(55902),v=t(72069),d=Object.groupBy,g=n("Object","create"),y=a([].push),p=!d||v(function(){return d("ab",function(m){return m}).a.length!==1});r({target:"Object",stat:!0,forced:p},{groupBy:function(E,S){s(E),o(S);var T=g(null),P=0;return l(E,function(A){var R=u(S(A,P++));R in T?y(T[R],A):T[R]=[A]}),T}})},73421:function(i,h,t){var r=t(14304),n=t(94879);r({target:"Object",stat:!0},{hasOwn:n})},31046:function(i,h,t){var r=t(14304),n=t(28174);r({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},94645:function(i,h,t){var r=t(14304),n=t(72069),a=t(37540),o=t(14274),s=t(72058),u=Object.isFrozen,l=s||n(function(){u(1)});r({target:"Object",stat:!0,forced:l},{isFrozen:function(d){return!a(d)||s&&o(d)==="ArrayBuffer"?!0:u?u(d):!1}})},62935:function(i,h,t){var r=t(14304),n=t(72069),a=t(37540),o=t(14274),s=t(72058),u=Object.isSealed,l=s||n(function(){u(1)});r({target:"Object",stat:!0,forced:l},{isSealed:function(d){return!a(d)||s&&o(d)==="ArrayBuffer"?!0:u?u(d):!1}})},93446:function(i,h,t){var r=t(14304),n=t(13944);r({target:"Object",stat:!0},{is:n})},62518:function(i,h,t){var r=t(14304),n=t(49671),a=t(18350),o=t(72069),s=o(function(){a(1)});r({target:"Object",stat:!0,forced:s},{keys:function(l){return a(n(l))}})},45130:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(49671),s=t(50035),u=t(26313),l=t(71349).f;n&&r({target:"Object",proto:!0,forced:a},{__lookupGetter__:function(d){var g=o(this),y=s(d),p;do if(p=l(g,y))return p.get;while(g=u(g))}})},51542:function(i,h,t){var r=t(14304),n=t(92986),a=t(57629),o=t(49671),s=t(50035),u=t(26313),l=t(71349).f;n&&r({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(d){var g=o(this),y=s(d),p;do if(p=l(g,y))return p.set;while(g=u(g))}})},43781:function(i,h,t){var r=t(14304),n=t(37540),a=t(31853).onFreeze,o=t(27534),s=t(72069),u=Object.preventExtensions,l=s(function(){u(1)});r({target:"Object",stat:!0,forced:l,sham:!o},{preventExtensions:function(d){return u&&n(d)?u(a(d)):d}})},25738:function(i,h,t){var r=t(92986),n=t(85500),a=t(37540),o=t(52427),s=t(49671),u=t(2068),l=Object.getPrototypeOf,v=Object.setPrototypeOf,d=Object.prototype,g="__proto__";if(r&&l&&v&&!(g in d))try{n(d,g,{configurable:!0,get:function(){return l(s(this))},set:function(p){var m=u(this);o(p)&&a(m)&&v(m,p)}})}catch(y){}},93247:function(i,h,t){var r=t(14304),n=t(37540),a=t(31853).onFreeze,o=t(27534),s=t(72069),u=Object.seal,l=s(function(){u(1)});r({target:"Object",stat:!0,forced:l,sham:!o},{seal:function(d){return u&&n(d)?u(a(d)):d}})},41533:function(i,h,t){var r=t(14304),n=t(15861);r({target:"Object",stat:!0},{setPrototypeOf:n})},60225:function(i,h,t){var r=t(67878),n=t(16142),a=t(60105);r||n(Object.prototype,"toString",a,{unsafe:!0})},69920:function(i,h,t){var r=t(14304),n=t(8511).values;r({target:"Object",stat:!0},{values:function(o){return n(o)}})},89205:function(i,h,t){var r=t(14304),n=t(25838);r({global:!0,forced:parseFloat!==n},{parseFloat:n})},78546:function(i,h,t){var r=t(14304),n=t(23009);r({global:!0,forced:parseInt!==n},{parseInt:n})},16893:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(24649),s=t(67805),u=t(55902),l=t(26035);r({target:"Promise",stat:!0,forced:l},{allSettled:function(d){var g=this,y=o.f(g),p=y.resolve,m=y.reject,E=s(function(){var S=a(g.resolve),T=[],P=0,A=1;u(d,function(R){var C=P++,I=!1;A++,n(S,g,R).then(function(N){I||(I=!0,T[C]={status:"fulfilled",value:N},--A||p(T))},function(N){I||(I=!0,T[C]={status:"rejected",reason:N},--A||p(T))})}),--A||p(T)});return E.error&&m(E.value),y.promise}})},11733:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(24649),s=t(67805),u=t(55902),l=t(26035);r({target:"Promise",stat:!0,forced:l},{all:function(d){var g=this,y=o.f(g),p=y.resolve,m=y.reject,E=s(function(){var S=a(g.resolve),T=[],P=0,A=1;u(d,function(R){var C=P++,I=!1;A++,n(S,g,R).then(function(N){I||(I=!0,T[C]=N,--A||p(T))},m)}),--A||p(T)});return E.error&&m(E.value),y.promise}})},3676:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(38941),s=t(24649),u=t(67805),l=t(55902),v=t(26035),d="No one promise resolved";r({target:"Promise",stat:!0,forced:v},{any:function(y){var p=this,m=o("AggregateError"),E=s.f(p),S=E.resolve,T=E.reject,P=u(function(){var A=a(p.resolve),R=[],C=0,I=1,N=!1;l(y,function(b){var L=C++,F=!1;I++,n(A,p,b).then(function($){F||N||(N=!0,S($))},function($){F||N||(F=!0,R[L]=$,--I||T(new m(R,d)))})}),--I||T(new m(R,d))});return P.error&&T(P.value),E.promise}})},14013:function(i,h,t){var r=t(14304),n=t(70457),a=t(37130).CONSTRUCTOR,o=t(98844),s=t(38941),u=t(23583),l=t(16142),v=o&&o.prototype;if(r({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(g){return this.then(void 0,g)}}),!n&&u(o)){var d=s("Promise").prototype.catch;v.catch!==d&&l(v,"catch",d,{unsafe:!0})}},20238:function(i,h,t){var r=t(14304),n=t(70457),a=t(91707),o=t(34246),s=t(96499),u=t(16142),l=t(15861),v=t(78401),d=t(36167),g=t(85156),y=t(23583),p=t(37540),m=t(12833),E=t(16887),S=t(23115).set,T=t(9709),P=t(99095),A=t(67805),R=t(76895),C=t(82367),I=t(98844),N=t(37130),b=t(24649),L="Promise",F=N.CONSTRUCTOR,$=N.REJECTION_EVENT,G=N.SUBCLASSING,V=C.getterFor(L),U=C.set,B=I&&I.prototype,j=I,K=B,_=o.TypeError,J=o.document,nt=o.process,q=b.f,dt=q,lt=!!(J&&J.createEvent&&o.dispatchEvent),yt="unhandledrejection",St="rejectionhandled",Tt=0,Gt=1,jt=2,Dt=1,vt=2,gt,Pt,Mt,Ct,Lt=function(rt){var Ot;return p(rt)&&y(Ot=rt.then)?Ot:!1},Zt=function(rt,Ot){var It=Ot.value,xt=Ot.state===Gt,pt=xt?rt.ok:rt.fail,_t=rt.resolve,rr=rt.reject,Q=rt.domain,at,it,z;try{pt?(xt||(Ot.rejection===vt&&Ht(Ot),Ot.rejection=Dt),pt===!0?at=It:(Q&&Q.enter(),at=pt(It),Q&&(Q.exit(),z=!0)),at===rt.promise?rr(new _("Promise-chain cycle")):(it=Lt(at))?s(it,at,_t,rr):_t(at)):rr(It)}catch(Z){Q&&!z&&Q.exit(),rr(Z)}},kt=function(rt,Ot){rt.notified||(rt.notified=!0,T(function(){for(var It=rt.reactions,xt;xt=It.get();)Zt(xt,rt);rt.notified=!1,Ot&&!rt.rejection&&Ft(rt)}))},Kt=function(rt,Ot,It){var xt,pt;lt?(xt=J.createEvent("Event"),xt.promise=Ot,xt.reason=It,xt.initEvent(rt,!1,!0),o.dispatchEvent(xt)):xt={promise:Ot,reason:It},!$&&(pt=o["on"+rt])?pt(xt):rt===yt&&P("Unhandled promise rejection",It)},Ft=function(rt){s(S,o,function(){var Ot=rt.facade,It=rt.value,xt=Xt(rt),pt;if(xt&&(pt=A(function(){a?nt.emit("unhandledRejection",It,Ot):Kt(yt,Ot,It)}),rt.rejection=a||Xt(rt)?vt:Dt,pt.error))throw pt.value})},Xt=function(rt){return rt.rejection!==Dt&&!rt.parent},Ht=function(rt){s(S,o,function(){var Ot=rt.facade;a?nt.emit("rejectionHandled",Ot):Kt(St,Ot,rt.value)})},Ut=function(rt,Ot,It){return function(xt){rt(Ot,xt,It)}},st=function(rt,Ot,It){rt.done||(rt.done=!0,It&&(rt=It),rt.value=Ot,rt.state=jt,kt(rt,!0))},ht=function(rt,Ot,It){if(!rt.done){rt.done=!0,It&&(rt=It);try{if(rt.facade===Ot)throw new _("Promise can't be resolved itself");var xt=Lt(Ot);xt?T(function(){var pt={done:!1};try{s(xt,Ot,Ut(ht,pt,rt),Ut(st,pt,rt))}catch(_t){st(pt,_t,rt)}}):(rt.value=Ot,rt.state=Gt,kt(rt,!1))}catch(pt){st({done:!1},pt,rt)}}};if(F&&(j=function(Ot){m(this,K),g(Ot),s(gt,this);var It=V(this);try{Ot(Ut(ht,It),Ut(st,It))}catch(xt){st(It,xt)}},K=j.prototype,gt=function(Ot){U(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new R,rejection:!1,state:Tt,value:void 0})},gt.prototype=u(K,"then",function(Ot,It){var xt=V(this),pt=q(E(this,j));return xt.parent=!0,pt.ok=y(Ot)?Ot:!0,pt.fail=y(It)&&It,pt.domain=a?nt.domain:void 0,xt.state===Tt?xt.reactions.add(pt):T(function(){Zt(pt,xt)}),pt.promise}),Pt=function(){var rt=new gt,Ot=V(rt);this.promise=rt,this.resolve=Ut(ht,Ot),this.reject=Ut(st,Ot)},b.f=q=function(rt){return rt===j||rt===Mt?new Pt(rt):dt(rt)},!n&&y(I)&&B!==Object.prototype)){Ct=B.then,G||u(B,"then",function(Ot,It){var xt=this;return new j(function(pt,_t){s(Ct,xt,pt,_t)}).then(Ot,It)},{unsafe:!0});try{delete B.constructor}catch(rt){}l&&l(B,K)}r({global:!0,constructor:!0,wrap:!0,forced:F},{Promise:j}),v(j,L,!1,!0),d(L)},58361:function(i,h,t){var r=t(14304),n=t(70457),a=t(98844),o=t(72069),s=t(38941),u=t(23583),l=t(16887),v=t(87408),d=t(16142),g=a&&a.prototype,y=!!a&&o(function(){g.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:y},{finally:function(m){var E=l(this,s("Promise")),S=u(m);return this.then(S?function(T){return v(E,m()).then(function(){return T})}:m,S?function(T){return v(E,m()).then(function(){throw T})}:m)}}),!n&&u(a)){var p=s("Promise").prototype.finally;g.finally!==p&&d(g,"finally",p,{unsafe:!0})}},63616:function(i,h,t){t(20238),t(11733),t(14013),t(3037),t(36027),t(97282)},3037:function(i,h,t){var r=t(14304),n=t(96499),a=t(85156),o=t(24649),s=t(67805),u=t(55902),l=t(26035);r({target:"Promise",stat:!0,forced:l},{race:function(d){var g=this,y=o.f(g),p=y.reject,m=s(function(){var E=a(g.resolve);u(d,function(S){n(E,g,S).then(y.resolve,p)})});return m.error&&p(m.value),y.promise}})},36027:function(i,h,t){var r=t(14304),n=t(24649),a=t(37130).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:a},{reject:function(s){var u=n.f(this),l=u.reject;return l(s),u.promise}})},97282:function(i,h,t){var r=t(14304),n=t(38941),a=t(70457),o=t(98844),s=t(37130).CONSTRUCTOR,u=t(87408),l=n("Promise"),v=a&&!s;r({target:"Promise",stat:!0,forced:a||s},{resolve:function(g){return u(v&&this===l?o:this,g)}})},23958:function(i,h,t){var r=t(14304),n=t(24649);r({target:"Promise",stat:!0},{withResolvers:function(){var o=n.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})},9798:function(i,h,t){var r=t(14304),n=t(66543),a=t(85156),o=t(25001),s=t(72069),u=!s(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:u},{apply:function(v,d,g){return n(a(v),d,o(g))}})},2371:function(i,h,t){var r=t(14304),n=t(38941),a=t(66543),o=t(91384),s=t(80042),u=t(25001),l=t(37540),v=t(5406),d=t(72069),g=n("Reflect","construct"),y=Object.prototype,p=[].push,m=d(function(){function T(){}return!(g(function(){},[],T)instanceof T)}),E=!d(function(){g(function(){})}),S=m||E;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(P,A){s(P),u(A);var R=arguments.length<3?P:s(arguments[2]);if(E&&!m)return g(P,A,R);if(P===R){switch(A.length){case 0:return new P;case 1:return new P(A[0]);case 2:return new P(A[0],A[1]);case 3:return new P(A[0],A[1],A[2]);case 4:return new P(A[0],A[1],A[2],A[3])}var C=[null];return a(p,C,A),new(a(o,P,C))}var I=R.prototype,N=v(l(I)?I:y),b=a(P,N,A);return l(b)?b:N}})},76185:function(i,h,t){var r=t(14304),n=t(92986),a=t(25001),o=t(50035),s=t(7831),u=t(72069),l=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:l,sham:!n},{defineProperty:function(d,g,y){a(d);var p=o(g);a(y);try{return s.f(d,p,y),!0}catch(m){return!1}}})},76553:function(i,h,t){var r=t(14304),n=t(25001),a=t(71349).f;r({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var l=a(n(s),u);return l&&!l.configurable?!1:delete s[u]}})},25227:function(i,h,t){var r=t(14304),n=t(92986),a=t(25001),o=t(71349);r({target:"Reflect",stat:!0,sham:!n},{getOwnPropertyDescriptor:function(u,l){return o.f(a(u),l)}})},91723:function(i,h,t){var r=t(14304),n=t(25001),a=t(26313),o=t(87501);r({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(u){return a(n(u))}})},93518:function(i,h,t){var r=t(14304),n=t(96499),a=t(37540),o=t(25001),s=t(69745),u=t(71349),l=t(26313);function v(d,g){var y=arguments.length<3?d:arguments[2],p,m;if(o(d)===y)return d[g];if(p=u.f(d,g),p)return s(p)?p.value:p.get===void 0?void 0:n(p.get,y);if(a(m=l(d)))return v(m,g,y)}r({target:"Reflect",stat:!0},{get:v})},57882:function(i,h,t){var r=t(14304);r({target:"Reflect",stat:!0},{has:function(a,o){return o in a}})},37796:function(i,h,t){var r=t(14304),n=t(25001),a=t(28174);r({target:"Reflect",stat:!0},{isExtensible:function(s){return n(s),a(s)}})},11563:function(i,h,t){var r=t(14304),n=t(16885);r({target:"Reflect",stat:!0},{ownKeys:n})},26159:function(i,h,t){var r=t(14304),n=t(38941),a=t(25001),o=t(27534);r({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(u){a(u);try{var l=n("Object","preventExtensions");return l&&l(u),!0}catch(v){return!1}}})},77487:function(i,h,t){var r=t(14304),n=t(25001),a=t(53408),o=t(15861);o&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(u,l){n(u),a(l);try{return o(u,l),!0}catch(v){return!1}}})},20962:function(i,h,t){var r=t(14304),n=t(96499),a=t(25001),o=t(37540),s=t(69745),u=t(72069),l=t(7831),v=t(71349),d=t(26313),g=t(18526);function y(m,E,S){var T=arguments.length<4?m:arguments[3],P=v.f(a(m),E),A,R,C;if(!P){if(o(R=d(m)))return y(R,E,S,T);P=g(0)}if(s(P)){if(P.writable===!1||!o(T))return!1;if(A=v.f(T,E)){if(A.get||A.set||A.writable===!1)return!1;A.value=S,l.f(T,E,A)}else l.f(T,E,g(0,S))}else{if(C=P.set,C===void 0)return!1;n(C,T,S)}return!0}var p=u(function(){var m=function(){},E=l.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,E)!==!1});r({target:"Reflect",stat:!0,forced:p},{set:y})},6130:function(i,h,t){var r=t(14304),n=t(34246),a=t(78401);r({global:!0},{Reflect:{}}),a(n.Reflect,"Reflect",!0)},1354:function(i,h,t){var r=t(92986),n=t(34246),a=t(11286),o=t(13278),s=t(32345),u=t(90809),l=t(5406),v=t(83258).f,d=t(95307),g=t(11566),y=t(17361),p=t(54932),m=t(39807),E=t(2594),S=t(16142),T=t(72069),P=t(94879),A=t(82367).enforce,R=t(36167),C=t(18565),I=t(76769),N=t(85220),b=C("match"),L=n.RegExp,F=L.prototype,$=n.SyntaxError,G=a(F.exec),V=a("".charAt),U=a("".replace),B=a("".indexOf),j=a("".slice),K=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,_=/a/g,J=/a/g,nt=new L(_)!==_,q=m.MISSED_STICKY,dt=m.UNSUPPORTED_Y,lt=r&&(!nt||q||I||N||T(function(){return J[b]=!1,L(_)!==_||L(J)===J||String(L(_,"i"))!=="/a/i"})),yt=function(Dt){for(var vt=Dt.length,gt=0,Pt="",Mt=!1,Ct;gt<=vt;gt++){if(Ct=V(Dt,gt),Ct==="\\"){Pt+=Ct+V(Dt,++gt);continue}!Mt&&Ct==="."?Pt+="[\\s\\S]":(Ct==="["?Mt=!0:Ct==="]"&&(Mt=!1),Pt+=Ct)}return Pt},St=function(Dt){for(var vt=Dt.length,gt=0,Pt="",Mt=[],Ct=l(null),Lt=!1,Zt=!1,kt=0,Kt="",Ft;gt<=vt;gt++){if(Ft=V(Dt,gt),Ft==="\\")Ft+=V(Dt,++gt);else if(Ft==="]")Lt=!1;else if(!Lt)switch(!0){case Ft==="[":Lt=!0;break;case Ft==="(":if(Pt+=Ft,j(Dt,gt+1,gt+3)==="?:")continue;G(K,j(Dt,gt+1))&&(gt+=2,Zt=!0),kt++;continue;case(Ft===">"&&Zt):if(Kt===""||P(Ct,Kt))throw new $("Invalid capture group name");Ct[Kt]=!0,Mt[Mt.length]=[Kt,kt],Zt=!1,Kt="";continue}Zt?Kt+=Ft:Pt+=Ft}return[Pt,Mt]};if(o("RegExp",lt)){for(var Tt=function(vt,gt){var Pt=d(F,this),Mt=g(vt),Ct=gt===void 0,Lt=[],Zt=vt,kt,Kt,Ft,Xt,Ht,Ut;if(!Pt&&Mt&&Ct&&vt.constructor===Tt)return vt;if((Mt||d(F,vt))&&(vt=vt.source,Ct&&(gt=p(Zt))),vt=vt===void 0?"":y(vt),gt=gt===void 0?"":y(gt),Zt=vt,I&&"dotAll"in _&&(Kt=!!gt&&B(gt,"s")>-1,Kt&&(gt=U(gt,/s/g,""))),kt=gt,q&&"sticky"in _&&(Ft=!!gt&&B(gt,"y")>-1,Ft&&dt&&(gt=U(gt,/y/g,""))),N&&(Xt=St(vt),vt=Xt[0],Lt=Xt[1]),Ht=s(L(vt,gt),Pt?this:F,Tt),(Kt||Ft||Lt.length)&&(Ut=A(Ht),Kt&&(Ut.dotAll=!0,Ut.raw=Tt(yt(vt),kt)),Ft&&(Ut.sticky=!0),Lt.length&&(Ut.groups=Lt)),vt!==Zt)try{u(Ht,"source",Zt===""?"(?:)":Zt)}catch(st){}return Ht},Gt=v(L),jt=0;Gt.length>jt;)E(Tt,L,Gt[jt++]);F.constructor=Tt,Tt.prototype=F,S(n,"RegExp",Tt,{constructor:!0})}R("RegExp")},47119:function(i,h,t){var r=t(92986),n=t(76769),a=t(14274),o=t(85500),s=t(82367).get,u=RegExp.prototype,l=TypeError;r&&n&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(a(this)==="RegExp")return!!s(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},31145:function(i,h,t){var r=t(14304),n=t(44381);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},96773:function(i,h,t){var r=t(34246),n=t(92986),a=t(85500),o=t(29833),s=t(72069),u=r.RegExp,l=u.prototype,v=n&&s(function(){var d=!0;try{u(".","d")}catch(P){d=!1}var g={},y="",p=d?"dgimsy":"gimsy",m=function(P,A){Object.defineProperty(g,P,{get:function(){return y+=A,!0}})},E={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};d&&(E.hasIndices="d");for(var S in E)m(S,E[S]);var T=Object.getOwnPropertyDescriptor(l,"flags").get.call(g);return T!==p||y!==p});v&&a(l,"flags",{configurable:!0,get:o})},14371:function(i,h,t){var r=t(92986),n=t(39807).MISSED_STICKY,a=t(14274),o=t(85500),s=t(82367).get,u=RegExp.prototype,l=TypeError;r&&n&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(a(this)==="RegExp")return!!s(this).sticky;throw new l("Incompatible receiver, RegExp required")}}})},18180:function(i,h,t){t(31145);var r=t(14304),n=t(96499),a=t(23583),o=t(25001),s=t(17361),u=function(){var v=!1,d=/[ac]/;return d.exec=function(){return v=!0,/./.exec.apply(this,arguments)},d.test("abc")===!0&&v}(),l=/./.test;r({target:"RegExp",proto:!0,forced:!u},{test:function(v){var d=o(this),g=s(v),y=d.exec;if(!a(y))return n(l,d,g);var p=n(y,d,g);return p===null?!1:(o(p),!0)}})},83147:function(i,h,t){var r=t(86588).PROPER,n=t(16142),a=t(25001),o=t(17361),s=t(72069),u=t(54932),l="toString",v=RegExp.prototype,d=v[l],g=s(function(){return d.call({source:"a",flags:"b"})!=="/a/b"}),y=r&&d.name!==l;(g||y)&&n(v,l,function(){var m=a(this),E=o(m.source),S=o(u(m));return"/"+E+"/"+S},{unsafe:!0})},6583:function(i,h,t){var r=t(89378),n=t(34440);r("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},n)},86548:function(i,h,t){var r=t(14304),n=t(41754),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("difference")},{difference:n})},15282:function(i,h,t){var r=t(14304),n=t(72069),a=t(92292),o=t(94118),s=!o("intersection")||n(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:s},{intersection:a})},51275:function(i,h,t){var r=t(14304),n=t(47391),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("isDisjointFrom")},{isDisjointFrom:n})},91890:function(i,h,t){var r=t(14304),n=t(75492),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("isSubsetOf")},{isSubsetOf:n})},15089:function(i,h,t){var r=t(14304),n=t(1333),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("isSupersetOf")},{isSupersetOf:n})},75765:function(i,h,t){t(6583)},78134:function(i,h,t){var r=t(14304),n=t(64680),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("symmetricDifference")},{symmetricDifference:n})},56456:function(i,h,t){var r=t(14304),n=t(70402),a=t(94118);r({target:"Set",proto:!0,real:!0,forced:!a("union")},{union:n})},70641:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("anchor")},{anchor:function(s){return n(this,"a","name",s)}})},40735:function(i,h,t){var r=t(14304),n=t(11286),a=t(2068),o=t(12105),s=t(17361),u=t(72069),l=n("".charAt),v=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:v},{at:function(g){var y=s(a(this)),p=y.length,m=o(g),E=m>=0?m:p+m;return E<0||E>=p?void 0:l(y,E)}})},53892:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("big")},{big:function(){return n(this,"big","","")}})},95976:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("blink")},{blink:function(){return n(this,"blink","","")}})},399:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("bold")},{bold:function(){return n(this,"b","","")}})},8510:function(i,h,t){var r=t(14304),n=t(22149).codeAt;r({target:"String",proto:!0},{codePointAt:function(o){return n(this,o)}})},70159:function(i,h,t){var r=t(14304),n=t(77422),a=t(71349).f,o=t(45344),s=t(17361),u=t(92337),l=t(2068),v=t(8790),d=t(70457),g=n("".slice),y=Math.min,p=v("endsWith"),m=!d&&!p&&!!function(){var E=a(String.prototype,"endsWith");return E&&!E.writable}();r({target:"String",proto:!0,forced:!m&&!p},{endsWith:function(S){var T=s(l(this));u(S);var P=arguments.length>1?arguments[1]:void 0,A=T.length,R=P===void 0?A:y(o(P),A),C=s(S);return g(T,R-C.length,R)===C}})},72032:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("fixed")},{fixed:function(){return n(this,"tt","","")}})},49442:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("fontcolor")},{fontcolor:function(s){return n(this,"font","color",s)}})},16012:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("fontsize")},{fontsize:function(s){return n(this,"font","size",s)}})},93087:function(i,h,t){var r=t(14304),n=t(11286),a=t(4652),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,l=n([].join),v=!!u&&u.length!==1;r({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(g){for(var y=[],p=arguments.length,m=0,E;p>m;){if(E=+arguments[m++],a(E,1114111)!==E)throw new o(E+" is not a valid code point");y[m]=E<65536?s(E):s(((E-=65536)>>10)+55296,E%1024+56320)}return l(y,"")}})},26021:function(i,h,t){var r=t(14304),n=t(11286),a=t(92337),o=t(2068),s=t(17361),u=t(8790),l=n("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(d){return!!~l(s(o(this)),s(a(d)),arguments.length>1?arguments[1]:void 0)}})},93029:function(i,h,t){var r=t(14304),n=t(11286),a=t(2068),o=t(17361),s=n("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var l=o(a(this)),v=l.length,d=0;d=56320||++d>=v||(s(l,d)&64512)!==56320))return!1}return!0}})},9943:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("italics")},{italics:function(){return n(this,"i","","")}})},59158:function(i,h,t){var r=t(22149).charAt,n=t(17361),a=t(82367),o=t(10218),s=t(10659),u="String Iterator",l=a.set,v=a.getterFor(u);o(String,"String",function(d){l(this,{type:u,string:n(d),index:0})},function(){var g=v(this),y=g.string,p=g.index,m;return p>=y.length?s(void 0,!0):(m=r(y,p),g.index+=m.length,s(m,!1))})},33128:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("link")},{link:function(s){return n(this,"a","href",s)}})},18509:function(i,h,t){var r=t(14304),n=t(96499),a=t(77422),o=t(26820),s=t(10659),u=t(2068),l=t(45344),v=t(17361),d=t(25001),g=t(5683),y=t(14274),p=t(11566),m=t(54932),E=t(10512),S=t(16142),T=t(72069),P=t(18565),A=t(16887),R=t(24487),C=t(33064),I=t(82367),N=t(70457),b=P("matchAll"),L="RegExp String",F=L+" Iterator",$=I.set,G=I.getterFor(F),V=RegExp.prototype,U=TypeError,B=a("".indexOf),j=a("".matchAll),K=!!j&&!T(function(){j("a",/./)}),_=o(function(q,dt,lt,yt){$(this,{type:F,regexp:q,string:dt,global:lt,unicode:yt,done:!1})},L,function(){var q=G(this);if(q.done)return s(void 0,!0);var dt=q.regexp,lt=q.string,yt=C(dt,lt);return yt===null?(q.done=!0,s(void 0,!0)):q.global?(v(yt[0])===""&&(dt.lastIndex=R(lt,l(dt.lastIndex),q.unicode)),s(yt,!1)):(q.done=!0,s(yt,!1))}),J=function(nt){var q=d(this),dt=v(nt),lt=A(q,RegExp),yt=v(m(q)),St,Tt,Gt;return St=new lt(lt===RegExp?q.source:q,yt),Tt=!!~B(yt,"g"),Gt=!!~B(yt,"u"),St.lastIndex=l(q.lastIndex),new _(St,dt,Tt,Gt)};r({target:"String",proto:!0,forced:K},{matchAll:function(q){var dt=u(this),lt,yt,St,Tt;if(g(q)){if(K)return j(dt,q)}else{if(p(q)&&(lt=v(u(m(q))),!~B(lt,"g")))throw new U("`.matchAll` does not allow non-global regexes");if(K)return j(dt,q);if(St=E(q,b),St===void 0&&N&&y(q)==="RegExp"&&(St=J),St)return n(St,q,dt)}return yt=v(dt),Tt=new RegExp(q,"g"),N?n(J,Tt,yt):Tt[b](yt)}}),N||b in V||S(V,b,J)},15599:function(i,h,t){var r=t(96499),n=t(63194),a=t(25001),o=t(5683),s=t(45344),u=t(17361),l=t(2068),v=t(10512),d=t(24487),g=t(33064);n("match",function(y,p,m){return[function(S){var T=l(this),P=o(S)?void 0:v(S,y);return P?r(P,S,T):new RegExp(S)[y](u(T))},function(E){var S=a(this),T=u(E),P=m(p,S,T);if(P.done)return P.value;if(!S.global)return g(S,T);var A=S.unicode;S.lastIndex=0;for(var R=[],C=0,I;(I=g(S,T))!==null;){var N=u(I[0]);R[C]=N,N===""&&(S.lastIndex=d(T,s(S.lastIndex),A)),C++}return C===0?null:R}]})},21579:function(i,h,t){var r=t(14304),n=t(61607).end,a=t(36945);r({target:"String",proto:!0,forced:a},{padEnd:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},8854:function(i,h,t){var r=t(14304),n=t(61607).start,a=t(36945);r({target:"String",proto:!0,forced:a},{padStart:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},57676:function(i,h,t){var r=t(14304),n=t(11286),a=t(36859),o=t(49671),s=t(17361),u=t(82628),l=n([].push),v=n([].join);r({target:"String",stat:!0},{raw:function(g){var y=a(o(g).raw),p=u(y);if(!p)return"";for(var m=arguments.length,E=[],S=0;;){if(l(E,s(y[S++])),S===p)return v(E,"");SG.length?-1:T(G,V,K+j);return J")!=="7"});o("replace",function(U,B,j){var K=G?"$":"$0";return[function(J,nt){var q=p(this),dt=v(J)?void 0:E(J,A);return dt?n(dt,J,q,nt):n(B,y(q),J,nt)},function(_,J){var nt=u(this),q=y(_);if(typeof J=="string"&&b(J,K)===-1&&b(J,"$<")===-1){var dt=j(B,nt,q,J);if(dt.done)return dt.value}var lt=l(J);lt||(J=y(J));var yt=nt.global,St;yt&&(St=nt.unicode,nt.lastIndex=0);for(var Tt=[],Gt;Gt=T(nt,q),!(Gt===null||(N(Tt,Gt),!yt));){var jt=y(Gt[0]);jt===""&&(nt.lastIndex=m(q,g(nt.lastIndex),St))}for(var Dt="",vt=0,gt=0;gt=vt&&(Dt+=L(q,vt,Mt)+Lt,vt=Mt+Pt.length)}return Dt+L(q,vt)}]},!V||!$||G)},74980:function(i,h,t){var r=t(96499),n=t(63194),a=t(25001),o=t(5683),s=t(2068),u=t(13944),l=t(17361),v=t(10512),d=t(33064);n("search",function(g,y,p){return[function(E){var S=s(this),T=o(E)?void 0:v(E,g);return T?r(T,E,S):new RegExp(E)[g](l(S))},function(m){var E=a(this),S=l(m),T=p(y,E,S);if(T.done)return T.value;var P=E.lastIndex;u(P,0)||(E.lastIndex=0);var A=d(E,S);return u(E.lastIndex,P)||(E.lastIndex=P),A===null?-1:A.index}]})},95625:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("small")},{small:function(){return n(this,"small","","")}})},390:function(i,h,t){var r=t(96499),n=t(11286),a=t(63194),o=t(25001),s=t(5683),u=t(2068),l=t(16887),v=t(24487),d=t(45344),g=t(17361),y=t(10512),p=t(33064),m=t(39807),E=t(72069),S=m.UNSUPPORTED_Y,T=4294967295,P=Math.min,A=n([].push),R=n("".slice),C=!E(function(){var N=/(?:)/,b=N.exec;N.exec=function(){return b.apply(this,arguments)};var L="ab".split(N);return L.length!==2||L[0]!=="a"||L[1]!=="b"}),I="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;a("split",function(N,b,L){var F="0".split(void 0,0).length?function($,G){return $===void 0&&G===0?[]:r(b,this,$,G)}:b;return[function(G,V){var U=u(this),B=s(G)?void 0:y(G,N);return B?r(B,G,U,V):r(F,g(U),G,V)},function($,G){var V=o(this),U=g($);if(!I){var B=L(F,V,U,G,F!==b);if(B.done)return B.value}var j=l(V,RegExp),K=V.unicode,_=(V.ignoreCase?"i":"")+(V.multiline?"m":"")+(V.unicode?"u":"")+(S?"g":"y"),J=new j(S?"^(?:"+V.source+")":V,_),nt=G===void 0?T:G>>>0;if(nt===0)return[];if(U.length===0)return p(J,U)===null?[U]:[];for(var q=0,dt=0,lt=[];dt1?arguments[1]:void 0,T.length)),A=s(S);return g(T,P,P+A.length)===A}})},90614:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("strike")},{strike:function(){return n(this,"strike","","")}})},60120:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("sub")},{sub:function(){return n(this,"sub","","")}})},21293:function(i,h,t){var r=t(14304),n=t(11286),a=t(2068),o=t(12105),s=t(17361),u=n("".slice),l=Math.max,v=Math.min,d=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:d},{substr:function(y,p){var m=s(a(this)),E=m.length,S=o(y),T,P;return S===1/0&&(S=0),S<0&&(S=l(E+S,0)),T=p===void 0?E:o(p),T<=0||T===1/0?"":(P=v(S+T,E),S>=P?"":u(m,S,P))}})},75826:function(i,h,t){var r=t(14304),n=t(68422),a=t(5287);r({target:"String",proto:!0,forced:a("sup")},{sup:function(){return n(this,"sup","","")}})},18184:function(i,h,t){var r=t(14304),n=t(96499),a=t(11286),o=t(2068),s=t(17361),u=t(72069),l=Array,v=a("".charAt),d=a("".charCodeAt),g=a([].join),y="".toWellFormed,p="\uFFFD",m=y&&u(function(){return n(y,1)!=="1"});r({target:"String",proto:!0,forced:m},{toWellFormed:function(){var S=s(o(this));if(m)return n(y,S);for(var T=S.length,P=l(T),A=0;A=56320||A+1>=T||(d(S,A+1)&64512)!==56320?P[A]=p:(P[A]=v(S,A),P[++A]=v(S,A))}return g(P,"")}})},19680:function(i,h,t){t(23283);var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},12272:function(i,h,t){var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},23283:function(i,h,t){var r=t(14304),n=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},4193:function(i,h,t){t(12272);var r=t(14304),n=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},75012:function(i,h,t){var r=t(14304),n=t(85900).trim,a=t(33328);r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return n(this)}})},43606:function(i,h,t){var r=t(83749);r("asyncIterator")},51767:function(i,h,t){var r=t(14304),n=t(34246),a=t(96499),o=t(11286),s=t(70457),u=t(92986),l=t(39729),v=t(72069),d=t(94879),g=t(95307),y=t(25001),p=t(36859),m=t(50035),E=t(17361),S=t(18526),T=t(5406),P=t(18350),A=t(83258),R=t(92880),C=t(24943),I=t(71349),N=t(7831),b=t(61963),L=t(79591),F=t(16142),$=t(85500),G=t(96731),V=t(44869),U=t(19423),B=t(36374),j=t(18565),K=t(56529),_=t(83749),J=t(60796),nt=t(78401),q=t(82367),dt=t(66655).forEach,lt=V("hidden"),yt="Symbol",St="prototype",Tt=q.set,Gt=q.getterFor(yt),jt=Object[St],Dt=n.Symbol,vt=Dt&&Dt[St],gt=n.RangeError,Pt=n.TypeError,Mt=n.QObject,Ct=I.f,Lt=N.f,Zt=R.f,kt=L.f,Kt=o([].push),Ft=G("symbols"),Xt=G("op-symbols"),Ht=G("wks"),Ut=!Mt||!Mt[St]||!Mt[St].findChild,st=function(at,it,z){var Z=Ct(jt,it);Z&&delete jt[it],Lt(at,it,z),Z&&at!==jt&&Lt(jt,it,Z)},ht=u&&v(function(){return T(Lt({},"a",{get:function(){return Lt(this,"a",{value:7}).a}})).a!==7})?st:Lt,rt=function(at,it){var z=Ft[at]=T(vt);return Tt(z,{type:yt,tag:at,description:it}),u||(z.description=it),z},Ot=function(it,z,Z){it===jt&&Ot(Xt,z,Z),y(it);var Y=m(z);return y(Z),d(Ft,Y)?(Z.enumerable?(d(it,lt)&&it[lt][Y]&&(it[lt][Y]=!1),Z=T(Z,{enumerable:S(0,!1)})):(d(it,lt)||Lt(it,lt,S(1,T(null))),it[lt][Y]=!0),ht(it,Y,Z)):Lt(it,Y,Z)},It=function(it,z){y(it);var Z=p(z),Y=P(Z).concat(Q(Z));return dt(Y,function(ct){(!u||a(pt,Z,ct))&&Ot(it,ct,Z[ct])}),it},xt=function(it,z){return z===void 0?T(it):It(T(it),z)},pt=function(it){var z=m(it),Z=a(kt,this,z);return this===jt&&d(Ft,z)&&!d(Xt,z)?!1:Z||!d(this,z)||!d(Ft,z)||d(this,lt)&&this[lt][z]?Z:!0},_t=function(it,z){var Z=p(it),Y=m(z);if(!(Z===jt&&d(Ft,Y)&&!d(Xt,Y))){var ct=Ct(Z,Y);return ct&&d(Ft,Y)&&!(d(Z,lt)&&Z[lt][Y])&&(ct.enumerable=!0),ct}},rr=function(it){var z=Zt(p(it)),Z=[];return dt(z,function(Y){!d(Ft,Y)&&!d(U,Y)&&Kt(Z,Y)}),Z},Q=function(at){var it=at===jt,z=Zt(it?Xt:p(at)),Z=[];return dt(z,function(Y){d(Ft,Y)&&(!it||d(jt,Y))&&Kt(Z,Ft[Y])}),Z};l||(Dt=function(){if(g(vt,this))throw new Pt("Symbol is not a constructor");var it=!arguments.length||arguments[0]===void 0?void 0:E(arguments[0]),z=B(it),Z=function(Y){var ct=this===void 0?n:this;ct===jt&&a(Z,Xt,Y),d(ct,lt)&&d(ct[lt],z)&&(ct[lt][z]=!1);var At=S(1,Y);try{ht(ct,z,At)}catch(Nt){if(!(Nt instanceof gt))throw Nt;st(ct,z,At)}};return u&&Ut&&ht(jt,z,{configurable:!0,set:Z}),rt(z,it)},vt=Dt[St],F(vt,"toString",function(){return Gt(this).tag}),F(Dt,"withoutSetter",function(at){return rt(B(at),at)}),L.f=pt,N.f=Ot,b.f=It,I.f=_t,A.f=R.f=rr,C.f=Q,K.f=function(at){return rt(j(at),at)},u&&($(vt,"description",{configurable:!0,get:function(){return Gt(this).description}}),s||F(jt,"propertyIsEnumerable",pt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Dt}),dt(P(Ht),function(at){_(at)}),r({target:yt,stat:!0,forced:!l},{useSetter:function(){Ut=!0},useSimple:function(){Ut=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:xt,defineProperty:Ot,defineProperties:It,getOwnPropertyDescriptor:_t}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:rr}),J(),nt(Dt,yt),U[lt]=!0},43657:function(i,h,t){var r=t(14304),n=t(92986),a=t(34246),o=t(11286),s=t(94879),u=t(23583),l=t(95307),v=t(17361),d=t(85500),g=t(93706),y=a.Symbol,p=y&&y.prototype;if(n&&u(y)&&(!("description"in p)||y().description!==void 0)){var m={},E=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),b=l(p,this)?new y(N):N===void 0?y():y(N);return N===""&&(m[b]=!0),b};g(E,y),E.prototype=p,p.constructor=E;var S=String(y("description detection"))==="Symbol(description detection)",T=o(p.valueOf),P=o(p.toString),A=/^Symbol\((.*)\)[^)]+$/,R=o("".replace),C=o("".slice);d(p,"description",{configurable:!0,get:function(){var N=T(this);if(s(m,N))return"";var b=P(N),L=S?C(b,7,-1):R(b,A,"$1");return L===""?void 0:L}}),r({global:!0,constructor:!0,forced:!0},{Symbol:E})}},20872:function(i,h,t){var r=t(14304),n=t(38941),a=t(94879),o=t(17361),s=t(96731),u=t(61190),l=s("string-to-symbol-registry"),v=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(d){var g=o(d);if(a(l,g))return l[g];var y=n("Symbol")(g);return l[g]=y,v[y]=g,y}})},15855:function(i,h,t){var r=t(83749);r("hasInstance")},42026:function(i,h,t){var r=t(83749);r("isConcatSpreadable")},33257:function(i,h,t){var r=t(83749);r("iterator")},40949:function(i,h,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(i,h,t){var r=t(14304),n=t(94879),a=t(491),o=t(82453),s=t(96731),u=t(61190),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(d){if(!a(d))throw new TypeError(o(d)+" is not a symbol");if(n(l,d))return l[d]}})},88344:function(i,h,t){var r=t(83749);r("matchAll")},59414:function(i,h,t){var r=t(83749);r("match")},92579:function(i,h,t){var r=t(83749);r("replace")},94655:function(i,h,t){var r=t(83749);r("search")},8565:function(i,h,t){var r=t(83749);r("species")},60843:function(i,h,t){var r=t(83749);r("split")},65842:function(i,h,t){var r=t(83749),n=t(60796);r("toPrimitive"),n()},51595:function(i,h,t){var r=t(38941),n=t(83749),a=t(78401);n("toStringTag"),a(r("Symbol"),"Symbol")},54908:function(i,h,t){var r=t(83749);r("unscopables")},71998:function(i,h,t){var r=t(88037),n=t(82628),a=t(12105),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("at",function(l){var v=o(this),d=n(v),g=a(l),y=g>=0?g:d+g;return y<0||y>=d?void 0:v[y]})},6116:function(i,h,t){var r=t(11286),n=t(88037),a=t(81499),o=r(a),s=n.aTypedArray,u=n.exportTypedArrayMethod;u("copyWithin",function(v,d){return o(s(this),v,d,arguments.length>2?arguments[2]:void 0)})},33032:function(i,h,t){var r=t(88037),n=t(66655).every,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("every",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},80962:function(i,h,t){var r=t(88037),n=t(43011),a=t(11344),o=t(9205),s=t(96499),u=t(11286),l=t(72069),v=r.aTypedArray,d=r.exportTypedArrayMethod,g=u("".slice),y=l(function(){var p=0;return new Int8Array(2).fill({valueOf:function(){return p++}}),p!==1});d("fill",function(m){var E=arguments.length;v(this);var S=g(o(this),0,3)==="Big"?a(m):+m;return s(n,this,S,E>1?arguments[1]:void 0,E>2?arguments[2]:void 0)},y)},49381:function(i,h,t){var r=t(88037),n=t(66655).filter,a=t(3795),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("filter",function(l){var v=n(o(this),l,arguments.length>1?arguments[1]:void 0);return a(this,v)})},65961:function(i,h,t){var r=t(88037),n=t(66655).findIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findIndex",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},16028:function(i,h,t){var r=t(88037),n=t(73849).findLastIndex,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findLastIndex",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},94153:function(i,h,t){var r=t(88037),n=t(73849).findLast,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("findLast",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},38344:function(i,h,t){var r=t(88037),n=t(66655).find,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("find",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},25560:function(i,h,t){var r=t(80357);r("Float32",function(n){return function(o,s,u){return n(this,o,s,u)}})},22571:function(i,h,t){var r=t(80357);r("Float64",function(n){return function(o,s,u){return n(this,o,s,u)}})},20656:function(i,h,t){var r=t(88037),n=t(66655).forEach,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("forEach",function(u){n(a(this),u,arguments.length>1?arguments[1]:void 0)})},17063:function(i,h,t){var r=t(46868),n=t(88037).exportTypedArrayStaticMethod,a=t(66169);n("from",a,r)},21774:function(i,h,t){var r=t(88037),n=t(94319).includes,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("includes",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},51761:function(i,h,t){var r=t(88037),n=t(94319).indexOf,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("indexOf",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},36849:function(i,h,t){var r=t(80357);r("Int16",function(n){return function(o,s,u){return n(this,o,s,u)}})},49191:function(i,h,t){var r=t(80357);r("Int32",function(n){return function(o,s,u){return n(this,o,s,u)}})},40704:function(i,h,t){var r=t(80357);r("Int8",function(n){return function(o,s,u){return n(this,o,s,u)}})},12317:function(i,h,t){var r=t(34246),n=t(72069),a=t(11286),o=t(88037),s=t(35054),u=t(18565),l=u("iterator"),v=r.Uint8Array,d=a(s.values),g=a(s.keys),y=a(s.entries),p=o.aTypedArray,m=o.exportTypedArrayMethod,E=v&&v.prototype,S=!n(function(){E[l].call([1])}),T=!!E&&E.values&&E[l]===E.values&&E.values.name==="values",P=function(){return d(p(this))};m("entries",function(){return y(p(this))},S),m("keys",function(){return g(p(this))},S),m("values",P,S||!T,{name:"values"}),m(l,P,S||!T,{name:"values"})},19711:function(i,h,t){var r=t(88037),n=t(11286),a=r.aTypedArray,o=r.exportTypedArrayMethod,s=n([].join);o("join",function(l){return s(a(this),l)})},41034:function(i,h,t){var r=t(88037),n=t(66543),a=t(58465),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("lastIndexOf",function(l){var v=arguments.length;return n(a,o(this),v>1?[l,arguments[1]]:[l])})},13313:function(i,h,t){var r=t(88037),n=t(66655).map,a=t(21822),o=r.aTypedArray,s=r.exportTypedArrayMethod;s("map",function(l){return n(o(this),l,arguments.length>1?arguments[1]:void 0,function(v,d){return new(a(v))(d)})})},44698:function(i,h,t){var r=t(88037),n=t(46868),a=r.aTypedArrayConstructor,o=r.exportTypedArrayStaticMethod;o("of",function(){for(var u=0,l=arguments.length,v=new(a(this))(l);l>u;)v[u]=arguments[u++];return v},n)},66178:function(i,h,t){var r=t(88037),n=t(97264).right,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduceRight",function(u){var l=arguments.length;return n(a(this),u,l,l>1?arguments[1]:void 0)})},7369:function(i,h,t){var r=t(88037),n=t(97264).left,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("reduce",function(u){var l=arguments.length;return n(a(this),u,l,l>1?arguments[1]:void 0)})},67961:function(i,h,t){var r=t(88037),n=r.aTypedArray,a=r.exportTypedArrayMethod,o=Math.floor;a("reverse",function(){for(var u=this,l=n(u).length,v=o(l/2),d=0,g;d1?arguments[1]:void 0,1),R=u(P);if(E)return n(y,this,R,A);var C=this.length,I=o(R),N=0;if(I+A>C)throw new v("Wrong length");for(;Nm;)S[m]=y[m++];return S},l)},9711:function(i,h,t){var r=t(88037),n=t(66655).some,a=r.aTypedArray,o=r.exportTypedArrayMethod;o("some",function(u){return n(a(this),u,arguments.length>1?arguments[1]:void 0)})},3923:function(i,h,t){var r=t(34246),n=t(77422),a=t(72069),o=t(85156),s=t(13270),u=t(88037),l=t(507),v=t(17417),d=t(44241),g=t(66577),y=u.aTypedArray,p=u.exportTypedArrayMethod,m=r.Uint16Array,E=m&&n(m.prototype.sort),S=!!E&&!(a(function(){E(new m(2),null)})&&a(function(){E(new m(2),{})})),T=!!E&&!a(function(){if(d)return d<74;if(l)return l<67;if(v)return!0;if(g)return g<602;var A=new m(516),R=Array(516),C,I;for(C=0;C<516;C++)I=C%4,A[C]=515-C,R[C]=C-2*I+3;for(E(A,function(N,b){return(N/4|0)-(b/4|0)}),C=0;C<516;C++)if(A[C]!==R[C])return!0}),P=function(A){return function(R,C){return A!==void 0?+A(R,C)||0:C!==C?-1:R!==R?1:R===0&&C===0?1/R>0&&1/C<0?1:-1:R>C}};p("sort",function(R){return R!==void 0&&o(R),T?E(this,R):s(y(this),P(R))},!T||S)},59728:function(i,h,t){var r=t(88037),n=t(45344),a=t(4652),o=t(21822),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("subarray",function(v,d){var g=s(this),y=g.length,p=a(v,y),m=o(g);return new m(g.buffer,g.byteOffset+p*g.BYTES_PER_ELEMENT,n((d===void 0?y:a(d,y))-p))})},85227:function(i,h,t){var r=t(34246),n=t(66543),a=t(88037),o=t(72069),s=t(22806),u=r.Int8Array,l=a.aTypedArray,v=a.exportTypedArrayMethod,d=[].toLocaleString,g=!!u&&o(function(){d.call(new u(1))}),y=o(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!o(function(){u.prototype.toLocaleString.call([1,2])});v("toLocaleString",function(){return n(d,g?s(l(this)):l(this),s(arguments))},y)},56933:function(i,h,t){var r=t(61638),n=t(88037),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=n.getTypedArrayConstructor;o("toReversed",function(){return r(a(this),s(this))})},91490:function(i,h,t){var r=t(88037),n=t(11286),a=t(85156),o=t(5220),s=r.aTypedArray,u=r.getTypedArrayConstructor,l=r.exportTypedArrayMethod,v=n(r.TypedArrayPrototype.sort);l("toSorted",function(g){g!==void 0&&a(g);var y=s(this),p=o(u(y),y);return v(p,g)})},61766:function(i,h,t){var r=t(88037).exportTypedArrayMethod,n=t(72069),a=t(34246),o=t(11286),s=a.Uint8Array,u=s&&s.prototype||{},l=[].toString,v=o([].join);n(function(){l.call({})})&&(l=function(){return v(this)});var d=u.toString!==l;r("toString",l,d)},44884:function(i,h,t){var r=t(80357);r("Uint16",function(n){return function(o,s,u){return n(this,o,s,u)}})},48658:function(i,h,t){var r=t(80357);r("Uint32",function(n){return function(o,s,u){return n(this,o,s,u)}})},81083:function(i,h,t){var r=t(80357);r("Uint8",function(n){return function(o,s,u){return n(this,o,s,u)}})},27428:function(i,h,t){var r=t(80357);r("Uint8",function(n){return function(o,s,u){return n(this,o,s,u)}},!0)},85143:function(i,h,t){var r=t(72302),n=t(88037),a=t(77129),o=t(12105),s=t(11344),u=n.aTypedArray,l=n.getTypedArrayConstructor,v=n.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(g){return g===8}}();v("with",function(g,y){var p=u(this),m=o(g),E=a(p)?s(y):+y;return r(p,l(p),m,E)},!d)},47005:function(i,h,t){var r=t(14304),n=t(11286),a=t(17361),o=String.fromCharCode,s=n("".charAt),u=n(/./.exec),l=n("".slice),v=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(y){for(var p=a(y),m="",E=p.length,S=0,T,P;S>(-2*U&6)));return G}})},60869:function(i,h,t){var r=t(14304),n=t(34246),a=t(38941),o=t(11286),s=t(96499),u=t(72069),l=t(17361),v=t(95486),d=t(6210).i2c,g=a("btoa"),y=o("".charAt),p=o("".charCodeAt),m=!!g&&!u(function(){return g("hi")!=="aGk="}),E=m&&!u(function(){g()}),S=m&&u(function(){return g(null)!=="bnVsbA=="}),T=m&&g.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!m||E||S||T},{btoa:function(A){if(v(arguments.length,1),m)return s(g,n,l(A));for(var R=l(A),C="",I=0,N=d,b,L;y(R,I)||(N="=",I%1);){if(L=p(R,I+=.75),L>255)throw new(a("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");b=b<<8|L,C+=y(N,63&b>>8-I%1*8)}return C}})},66722:function(i,h,t){var r=t(14304),n=t(34246),a=t(23115).clear;r({global:!0,bind:!0,enumerable:!0,forced:n.clearImmediate!==a},{clearImmediate:a})},50338:function(i,h,t){var r=t(34246),n=t(93014),a=t(39882),o=t(13349),s=t(90809),u=function(v){if(v&&v.forEach!==o)try{s(v,"forEach",o)}catch(d){v.forEach=o}};for(var l in n)n[l]&&u(r[l]&&r[l].prototype);u(a)},53059:function(i,h,t){var r=t(34246),n=t(93014),a=t(39882),o=t(35054),s=t(90809),u=t(78401),l=t(18565),v=l("iterator"),d=o.values,g=function(p,m){if(p){if(p[v]!==d)try{s(p,v,d)}catch(S){p[v]=d}if(u(p,m,!0),n[m]){for(var E in o)if(p[E]!==o[E])try{s(p,E,o[E])}catch(S){p[E]=o[E]}}}};for(var y in n)g(r[y]&&r[y].prototype,y);g(a,"DOMTokenList")},5805:function(i,h,t){var r=t(14304),n=t(38941),a=t(81191),o=t(72069),s=t(5406),u=t(18526),l=t(7831).f,v=t(16142),d=t(85500),g=t(94879),y=t(12833),p=t(25001),m=t(58434),E=t(15453),S=t(74408),T=t(40851),P=t(82367),A=t(92986),R=t(70457),C="DOMException",I="DATA_CLONE_ERR",N=n("Error"),b=n(C)||function(){try{var vt=n("MessageChannel")||a("worker_threads").MessageChannel;new vt().port1.postMessage(new WeakMap)}catch(gt){if(gt.name===I&>.code===25)return gt.constructor}}(),L=b&&b.prototype,F=N.prototype,$=P.set,G=P.getterFor(C),V="stack"in new N(C),U=function(vt){return g(S,vt)&&S[vt].m?S[vt].c:0},B=function(){y(this,j);var gt=arguments.length,Pt=E(gt<1?void 0:arguments[0]),Mt=E(gt<2?void 0:arguments[1],"Error"),Ct=U(Mt);if($(this,{type:C,name:Mt,message:Pt,code:Ct}),A||(this.name=Mt,this.message=Pt,this.code=Ct),V){var Lt=new N(Pt);Lt.name=C,l(this,"stack",u(1,T(Lt.stack,1)))}},j=B.prototype=s(F),K=function(vt){return{enumerable:!0,configurable:!0,get:vt}},_=function(vt){return K(function(){return G(this)[vt]})};A&&(d(j,"code",_("code")),d(j,"message",_("message")),d(j,"name",_("name"))),l(j,"constructor",u(1,B));var J=o(function(){return!(new b instanceof N)}),nt=J||o(function(){return F.toString!==m||String(new b(1,2))!=="2: 1"}),q=J||o(function(){return new b(1,"DataCloneError").code!==25}),dt=J||b[I]!==25||L[I]!==25,lt=R?nt||q||dt:J;r({global:!0,constructor:!0,forced:lt},{DOMException:lt?B:b});var yt=n(C),St=yt.prototype;nt&&(R||b===yt)&&v(St,"toString",m),q&&A&&b===yt&&d(St,"code",K(function(){return U(p(this).name)}));for(var Tt in S)if(g(S,Tt)){var Gt=S[Tt],jt=Gt.s,Dt=u(6,Gt.c);g(yt,jt)||l(yt,jt,Dt),g(St,jt)||l(St,jt,Dt)}},50685:function(i,h,t){var r=t(14304),n=t(34246),a=t(38941),o=t(18526),s=t(7831).f,u=t(94879),l=t(12833),v=t(32345),d=t(15453),g=t(74408),y=t(40851),p=t(92986),m=t(70457),E="DOMException",S=a("Error"),T=a(E),P=function(){l(this,A);var B=arguments.length,j=d(B<1?void 0:arguments[0]),K=d(B<2?void 0:arguments[1],"Error"),_=new T(j,K),J=new S(j);return J.name=E,s(_,"stack",o(1,y(J.stack,1))),v(_,this,P),_},A=P.prototype=T.prototype,R="stack"in new S(E),C="stack"in new T(1,2),I=T&&p&&Object.getOwnPropertyDescriptor(n,E),N=!!I&&!(I.writable&&I.configurable),b=R&&!N&&!C;r({global:!0,constructor:!0,forced:m||b},{DOMException:b?P:T});var L=a(E),F=L.prototype;if(F.constructor!==L){m||s(F,"constructor",o(1,L));for(var $ in g)if(u(g,$)){var G=g[$],V=G.s;u(L,V)||s(L,V,o(6,G.c))}}},70649:function(i,h,t){var r=t(38941),n=t(78401),a="DOMException";n(r(a),a)},39842:function(i,h,t){t(66722),t(8235)},82872:function(i,h,t){var r=t(14304),n=t(34246),a=t(9709),o=t(85156),s=t(95486),u=t(72069),l=t(92986),v=u(function(){return l&&Object.getOwnPropertyDescriptor(n,"queueMicrotask").value.length!==1});r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:v},{queueMicrotask:function(g){s(arguments.length,1),a(o(g))}})},91401:function(i,h,t){var r=t(14304),n=t(34246),a=t(85500),o=t(92986),s=TypeError,u=Object.defineProperty,l=n.self!==n;try{if(o){var v=Object.getOwnPropertyDescriptor(n,"self");(l||!v||!v.get||!v.enumerable)&&a(n,"self",{get:function(){return n},set:function(g){if(this!==n)throw new s("Illegal invocation");u(n,"self",{value:g,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:l},{self:n})}catch(d){}},8235:function(i,h,t){var r=t(14304),n=t(34246),a=t(23115).set,o=t(9934),s=n.setImmediate?o(a,!1):a;r({global:!0,bind:!0,enumerable:!0,forced:n.setImmediate!==s},{setImmediate:s})},63981:function(i,h,t){var r=t(14304),n=t(34246),a=t(9934),o=a(n.setInterval,!0);r({global:!0,bind:!0,forced:n.setInterval!==o},{setInterval:o})},23913:function(i,h,t){var r=t(14304),n=t(34246),a=t(9934),o=a(n.setTimeout,!0);r({global:!0,bind:!0,forced:n.setTimeout!==o},{setTimeout:o})},92904:function(i,h,t){var r=t(70457),n=t(14304),a=t(34246),o=t(38941),s=t(11286),u=t(72069),l=t(36374),v=t(23583),d=t(11051),g=t(5683),y=t(37540),p=t(491),m=t(55902),E=t(25001),S=t(9205),T=t(94879),P=t(84082),A=t(90809),R=t(82628),C=t(95486),I=t(54932),N=t(1774),b=t(172),L=t(35051),F=t(63741),$=t(16929),G=t(99050),V=a.Object,U=a.Array,B=a.Date,j=a.Error,K=a.TypeError,_=a.PerformanceMark,J=o("DOMException"),nt=N.Map,q=N.has,dt=N.get,lt=N.set,yt=b.Set,St=b.add,Tt=b.has,Gt=o("Object","keys"),jt=s([].push),Dt=s((!0).valueOf),vt=s(1 .valueOf),gt=s("".valueOf),Pt=s(B.prototype.getTime),Mt=l("structuredClone"),Ct="DataCloneError",Lt="Transferring",Zt=function(Q){return!u(function(){var at=new a.Set([7]),it=Q(at),z=Q(V(7));return it===at||!it.has(7)||!y(z)||+z!=7})&&Q},kt=function(Q,at){return!u(function(){var it=new at,z=Q({a:it,b:it});return!(z&&z.a===z.b&&z.a instanceof at&&z.a.stack===it.stack)})},Kt=function(Q){return!u(function(){var at=Q(new a.AggregateError([1],Mt,{cause:3}));return at.name!=="AggregateError"||at.errors[0]!==1||at.message!==Mt||at.cause!==3})},Ft=a.structuredClone,Xt=r||!kt(Ft,j)||!kt(Ft,J)||!Kt(Ft),Ht=!Ft&&Zt(function(Q){return new _(Mt,{detail:Q}).detail}),Ut=Zt(Ft)||Ht,st=function(Q){throw new J("Uncloneable type: "+Q,Ct)},ht=function(Q,at){throw new J((at||"Cloning")+" of "+Q+" cannot be properly polyfilled in this engine",Ct)},rt=function(Q,at){return Ut||ht(at),Ut(Q)},Ot=function(){var Q;try{Q=new a.DataTransfer}catch(at){try{Q=new a.ClipboardEvent("").clipboardData}catch(it){}}return Q&&Q.items&&Q.files?Q:null},It=function(Q,at,it){if(q(at,Q))return dt(at,Q);var z=it||S(Q),Z,Y,ct,At,Nt,Wt;if(z==="SharedArrayBuffer")Ut?Z=Ut(Q):Z=Q;else{var Jt=a.DataView;!Jt&&!v(Q.slice)&&ht("ArrayBuffer");try{if(v(Q.slice)&&!Q.resizable)Z=Q.slice(0);else for(Y=Q.byteLength,ct=("maxByteLength"in Q)?{maxByteLength:Q.maxByteLength}:void 0,Z=new ArrayBuffer(Y,ct),At=new Jt(Q),Nt=new Jt(Z),Wt=0;Wt1&&!g(arguments[1])?E(arguments[1]):void 0,z=it?it.transfer:void 0,Z,Y;z!==void 0&&(Z=new nt,Y=_t(z,Z));var ct=pt(at,Z);return Y&&rr(Y),ct}})},28381:function(i,h,t){t(63981),t(23913)},98812:function(i,h,t){t(35054);var r=t(14304),n=t(34246),a=t(28167),o=t(96499),s=t(11286),u=t(92986),l=t(91918),v=t(16142),d=t(85500),g=t(2725),y=t(78401),p=t(26820),m=t(82367),E=t(12833),S=t(23583),T=t(94879),P=t(45526),A=t(9205),R=t(25001),C=t(37540),I=t(17361),N=t(5406),b=t(18526),L=t(90619),F=t(81077),$=t(10659),G=t(95486),V=t(18565),U=t(13270),B=V("iterator"),j="URLSearchParams",K=j+"Iterator",_=m.set,J=m.getterFor(j),nt=m.getterFor(K),q=a("fetch"),dt=a("Request"),lt=a("Headers"),yt=dt&&dt.prototype,St=lt&<.prototype,Tt=n.RegExp,Gt=n.TypeError,jt=n.decodeURIComponent,Dt=n.encodeURIComponent,vt=s("".charAt),gt=s([].join),Pt=s([].push),Mt=s("".replace),Ct=s([].shift),Lt=s([].splice),Zt=s("".split),kt=s("".slice),Kt=/\+/g,Ft=Array(4),Xt=function(z){return Ft[z-1]||(Ft[z-1]=Tt("((?:%[\\da-f]{2}){"+z+"})","gi"))},Ht=function(z){try{return jt(z)}catch(Z){return z}},Ut=function(z){var Z=Mt(z,Kt," "),Y=4;try{return jt(Z)}catch(ct){for(;Y;)Z=Mt(Z,Xt(Y--),Ht);return Z}},st=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},rt=function(z){return ht[z]},Ot=function(z){return Mt(Dt(z),st,rt)},It=p(function(Z,Y){_(this,{type:K,target:J(Z).entries,index:0,kind:Y})},j,function(){var Z=nt(this),Y=Z.target,ct=Z.index++;if(!Y||ct>=Y.length)return Z.target=void 0,$(void 0,!0);var At=Y[ct];switch(Z.kind){case"keys":return $(At.key,!1);case"values":return $(At.value,!1)}return $([At.key,At.value],!1)},!0),xt=function(z){this.entries=[],this.url=null,z!==void 0&&(C(z)?this.parseObject(z):this.parseQuery(typeof z=="string"?vt(z,0)==="?"?kt(z,1):z:I(z)))};xt.prototype={type:j,bindURL:function(z){this.url=z,this.update()},parseObject:function(z){var Z=this.entries,Y=F(z),ct,At,Nt,Wt,Jt,Yt,er;if(Y)for(ct=L(z,Y),At=ct.next;!(Nt=o(At,ct)).done;){if(Wt=L(R(Nt.value)),Jt=Wt.next,(Yt=o(Jt,Wt)).done||(er=o(Jt,Wt)).done||!o(Jt,Wt).done)throw new Gt("Expected sequence with length 2");Pt(Z,{key:I(Yt.value),value:I(er.value)})}else for(var Xr in z)T(z,Xr)&&Pt(Z,{key:Xr,value:I(z[Xr])})},parseQuery:function(z){if(z)for(var Z=this.entries,Y=Zt(z,"&"),ct=0,At,Nt;ct0?arguments[0]:void 0,Y=_(this,new xt(Z));u||(this.size=Y.entries.length)},_t=pt.prototype;if(g(_t,{append:function(Z,Y){var ct=J(this);G(arguments.length,2),Pt(ct.entries,{key:I(Z),value:I(Y)}),u||this.length++,ct.updateURL()},delete:function(z){for(var Z=J(this),Y=G(arguments.length,1),ct=Z.entries,At=I(z),Nt=Y<2?void 0:arguments[1],Wt=Nt===void 0?Nt:I(Nt),Jt=0;Jtct.key?1:-1}),Z.updateURL()},forEach:function(Z){for(var Y=J(this).entries,ct=P(Z,arguments.length>1?arguments[1]:void 0),At=0,Nt;At1?at(arguments[1]):{})}}),S(dt)){var it=function(Z){return E(this,yt),new dt(Z,arguments.length>1?at(arguments[1]):{})};yt.constructor=it,it.prototype=yt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:it})}}i.exports={URLSearchParams:pt,getState:J}},10901:function(i,h,t){var r=t(16142),n=t(11286),a=t(17361),o=t(95486),s=URLSearchParams,u=s.prototype,l=n(u.append),v=n(u.delete),d=n(u.forEach),g=n([].push),y=new s("a=1&a=2&b=3");y.delete("a",1),y.delete("b",void 0),y+""!="a=2"&&r(u,"delete",function(p){var m=arguments.length,E=m<2?void 0:arguments[1];if(m&&E===void 0)return v(this,p);var S=[];d(this,function(b,L){g(S,{key:L,value:b})}),o(m,1);for(var T=a(p),P=a(E),A=0,R=0,C=!1,I=S.length,N;A?@[\\\]^|]/,Ft=/[\0\t\n\r #/:<>?@[\\\]^|]/,Xt=/^[\u0000-\u0020]+/,Ht=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ut=/[\t\n\r]/g,st,ht=function(X){var ft=lt(X,"."),k,H,ot,Vt,Rt,nr,ar;if(ft.length&&ft[ft.length-1]===""&&ft.length--,k=ft.length,k>4)return X;for(H=[],ot=0;ot1&&B(Vt,0)==="0"&&(Rt=j(Ct,Vt)?16:8,Vt=yt(Vt,Rt===8?1:2)),Vt==="")nr=0;else{if(!j(Rt===10?Zt:Rt===8?Lt:kt,Vt))return X;nr=G(Vt,Rt)}nt(H,nr)}for(ot=0;ot=U(256,5-k))return null}else if(nr>255)return null;for(ar=J(H),ot=0;ot6))return;for(nr=0;sr();){if(ar=null,nr>0)if(sr()==="."&&nr<4)ot++;else return;if(!j(Mt,sr()))return;for(;j(Mt,sr());){if(ur=G(sr(),10),ar===null)ar=ur;else{if(ar===0)return;ar=ar*10+ur}if(ar>255)return;ot++}ft[k]=ft[k]*256+ar,nr++,(nr===2||nr===4)&&k++}if(nr!==4)return;break}else if(sr()===":"){if(ot++,!sr())return}else if(sr())return;ft[k++]=Vt}if(H!==null)for(Rr=k-H,k=7;k!==0&&Rr>0;)ut=ft[k],ft[k--]=ft[H+Rr-1],ft[H+--Rr]=ut;else if(k!==8)return;return ft},Ot=function(X){for(var ft=null,k=1,H=null,ot=0,Vt=0;Vt<8;Vt++)X[Vt]!==0?(ot>k&&(ft=H,k=ot),H=null,ot=0):(H===null&&(H=Vt),++ot);return ot>k?H:ft},It=function(X){var ft,k,H,ot;if(typeof X=="number"){for(ft=[],k=0;k<4;k++)Tt(ft,X%256),X=V(X/256);return K(ft,".")}if(typeof X=="object"){for(ft="",H=Ot(X),k=0;k<8;k++)ot&&X[k]===0||(ot&&(ot=!1),H===k?(ft+=k?":":"::",ot=!0):(ft+=_(X[k],16),k<7&&(ft+=":")));return"["+ft+"]"}return X},xt={},pt=y({},xt,{" ":1,'"':1,"<":1,">":1,"`":1}),_t=y({},pt,{"#":1,"?":1,"{":1,"}":1}),rr=y({},_t,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Q=function(X,ft){var k=E(X,0);return k>32&&k<127&&!g(ft,X)?X:encodeURIComponent(X)},at={ftp:21,file:null,http:80,https:443,ws:80,wss:443},it=function(X,ft){var k;return X.length===2&&j(gt,B(X,0))&&((k=B(X,1))===":"||!ft&&k==="|")},z=function(X){var ft;return X.length>1&&it(yt(X,0,2))&&(X.length===2||(ft=B(X,2))==="/"||ft==="\\"||ft==="?"||ft==="#")},Z=function(X){return X==="."||St(X)==="%2e"},Y=function(X){return X=St(X),X===".."||X==="%2e."||X===".%2e"||X==="%2e%2e"},ct={},At={},Nt={},Wt={},Jt={},Yt={},er={},Xr={},en={},an={},dn={},on={},hn={},gn={},Dn={},yn={},Nr={},br={},Fn={},Hr={},Dr={},sn=function(X,ft,k){var H=T(X),ot,Vt,Rt;if(ft){if(Vt=this.parse(H),Vt)throw new $(Vt);this.searchParams=null}else{if(k!==void 0&&(ot=new sn(k,!0)),Vt=this.parse(H,null,ot),Vt)throw new $(Vt);Rt=L(new b),Rt.bindURL(this),this.searchParams=Rt}};sn.prototype={type:"URL",parse:function(X,ft,k){var H=this,ot=ft||ct,Vt=0,Rt="",nr=!1,ar=!1,ur=!1,Rr,ut,sr,Fr;for(X=T(X),ft||(H.scheme="",H.username="",H.password="",H.host=null,H.port=null,H.path=[],H.query=null,H.fragment=null,H.cannotBeABaseURL=!1,X=q(X,Xt,""),X=q(X,Ht,"$1")),X=q(X,Ut,""),Rr=p(X);Vt<=Rr.length;){switch(ut=Rr[Vt],ot){case ct:if(ut&&j(gt,ut))Rt+=St(ut),ot=At;else{if(ft)return jt;ot=Nt;continue}break;case At:if(ut&&(j(Pt,ut)||ut==="+"||ut==="-"||ut==="."))Rt+=St(ut);else if(ut===":"){if(ft&&(H.isSpecial()!==g(at,Rt)||Rt==="file"&&(H.includesCredentials()||H.port!==null)||H.scheme==="file"&&!H.host))return;if(H.scheme=Rt,ft){H.isSpecial()&&at[H.scheme]===H.port&&(H.port=null);return}Rt="",H.scheme==="file"?ot=gn:H.isSpecial()&&k&&k.scheme===H.scheme?ot=Wt:H.isSpecial()?ot=Xr:Rr[Vt+1]==="/"?(ot=Jt,Vt++):(H.cannotBeABaseURL=!0,nt(H.path,""),ot=Fn)}else{if(ft)return jt;Rt="",ot=Nt,Vt=0;continue}break;case Nt:if(!k||k.cannotBeABaseURL&&ut!=="#")return jt;if(k.cannotBeABaseURL&&ut==="#"){H.scheme=k.scheme,H.path=m(k.path),H.query=k.query,H.fragment="",H.cannotBeABaseURL=!0,ot=Dr;break}ot=k.scheme==="file"?gn:Yt;continue;case Wt:if(ut==="/"&&Rr[Vt+1]==="/")ot=en,Vt++;else{ot=Yt;continue}break;case Jt:if(ut==="/"){ot=an;break}else{ot=br;continue}case Yt:if(H.scheme=k.scheme,ut===st)H.username=k.username,H.password=k.password,H.host=k.host,H.port=k.port,H.path=m(k.path),H.query=k.query;else if(ut==="/"||ut==="\\"&&H.isSpecial())ot=er;else if(ut==="?")H.username=k.username,H.password=k.password,H.host=k.host,H.port=k.port,H.path=m(k.path),H.query="",ot=Hr;else if(ut==="#")H.username=k.username,H.password=k.password,H.host=k.host,H.port=k.port,H.path=m(k.path),H.query=k.query,H.fragment="",ot=Dr;else{H.username=k.username,H.password=k.password,H.host=k.host,H.port=k.port,H.path=m(k.path),H.path.length--,ot=br;continue}break;case er:if(H.isSpecial()&&(ut==="/"||ut==="\\"))ot=en;else if(ut==="/")ot=an;else{H.username=k.username,H.password=k.password,H.host=k.host,H.port=k.port,ot=br;continue}break;case Xr:if(ot=en,ut!=="/"||B(Rt,Vt+1)!=="/")continue;Vt++;break;case en:if(ut!=="/"&&ut!=="\\"){ot=an;continue}break;case an:if(ut==="@"){nr&&(Rt="%40"+Rt),nr=!0,sr=p(Rt);for(var mn=0;mn65535)return vt;H.port=H.isSpecial()&&un===at[H.scheme]?null:un,Rt=""}if(ft)return;ot=Nr;continue}else return vt;break;case gn:if(H.scheme="file",ut==="/"||ut==="\\")ot=Dn;else if(k&&k.scheme==="file")switch(ut){case st:H.host=k.host,H.path=m(k.path),H.query=k.query;break;case"?":H.host=k.host,H.path=m(k.path),H.query="",ot=Hr;break;case"#":H.host=k.host,H.path=m(k.path),H.query=k.query,H.fragment="",ot=Dr;break;default:z(K(m(Rr,Vt),""))||(H.host=k.host,H.path=m(k.path),H.shortenPath()),ot=br;continue}else{ot=br;continue}break;case Dn:if(ut==="/"||ut==="\\"){ot=yn;break}k&&k.scheme==="file"&&!z(K(m(Rr,Vt),""))&&(it(k.path[0],!0)?nt(H.path,k.path[0]):H.host=k.host),ot=br;continue;case yn:if(ut===st||ut==="/"||ut==="\\"||ut==="?"||ut==="#"){if(!ft&&it(Rt))ot=br;else if(Rt===""){if(H.host="",ft)return;ot=Nr}else{if(Fr=H.parseHost(Rt),Fr)return Fr;if(H.host==="localhost"&&(H.host=""),ft)return;Rt="",ot=Nr}continue}else Rt+=ut;break;case Nr:if(H.isSpecial()){if(ot=br,ut!=="/"&&ut!=="\\")continue}else if(!ft&&ut==="?")H.query="",ot=Hr;else if(!ft&&ut==="#")H.fragment="",ot=Dr;else if(ut!==st&&(ot=br,ut!=="/"))continue;break;case br:if(ut===st||ut==="/"||ut==="\\"&&H.isSpecial()||!ft&&(ut==="?"||ut==="#")){if(Y(Rt)?(H.shortenPath(),ut!=="/"&&!(ut==="\\"&&H.isSpecial())&&nt(H.path,"")):Z(Rt)?ut!=="/"&&!(ut==="\\"&&H.isSpecial())&&nt(H.path,""):(H.scheme==="file"&&!H.path.length&&it(Rt)&&(H.host&&(H.host=""),Rt=B(Rt,0)+":"),nt(H.path,Rt)),Rt="",H.scheme==="file"&&(ut===st||ut==="?"||ut==="#"))for(;H.path.length>1&&H.path[0]==="";)dt(H.path);ut==="?"?(H.query="",ot=Hr):ut==="#"&&(H.fragment="",ot=Dr)}else Rt+=Q(ut,_t);break;case Fn:ut==="?"?(H.query="",ot=Hr):ut==="#"?(H.fragment="",ot=Dr):ut!==st&&(H.path[0]+=Q(ut,xt));break;case Hr:!ft&&ut==="#"?(H.fragment="",ot=Dr):ut!==st&&(ut==="'"&&H.isSpecial()?H.query+="%27":ut==="#"?H.query+="%23":H.query+=Q(ut,xt));break;case Dr:ut!==st&&(H.fragment+=Q(ut,pt));break}Vt++}},parseHost:function(X){var ft,k,H;if(B(X,0)==="["){if(B(X,X.length-1)!=="]"||(ft=rt(yt(X,1,-1)),!ft))return Dt;this.host=ft}else if(this.isSpecial()){if(X=S(X),j(Kt,X)||(ft=ht(X),ft===null))return Dt;this.host=ft}else{if(j(Ft,X))return Dt;for(ft="",k=p(X),H=0;H1?arguments[1]:void 0,ot=I(k,new sn(ft,!1,H));n||(k.href=ot.serialize(),k.origin=ot.getOrigin(),k.protocol=ot.getProtocol(),k.username=ot.getUsername(),k.password=ot.getPassword(),k.host=ot.getHost(),k.hostname=ot.getHostname(),k.port=ot.getPort(),k.pathname=ot.getPathname(),k.search=ot.getSearch(),k.searchParams=ot.getSearchParams(),k.hash=ot.getHash())},dr=jr.prototype,Ir=function(X,ft){return{get:function(){return N(this)[X]()},set:ft&&function(k){return N(this)[ft](k)},configurable:!0,enumerable:!0}};if(n&&(v(dr,"href",Ir("serialize","setHref")),v(dr,"origin",Ir("getOrigin")),v(dr,"protocol",Ir("getProtocol","setProtocol")),v(dr,"username",Ir("getUsername","setUsername")),v(dr,"password",Ir("getPassword","setPassword")),v(dr,"host",Ir("getHost","setHost")),v(dr,"hostname",Ir("getHostname","setHostname")),v(dr,"port",Ir("getPort","setPort")),v(dr,"pathname",Ir("getPathname","setPathname")),v(dr,"search",Ir("getSearch","setSearch")),v(dr,"searchParams",Ir("getSearchParams")),v(dr,"hash",Ir("getHash","setHash"))),l(dr,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),l(dr,"toString",function(){return N(this).serialize()},{enumerable:!0}),F){var pn=F.createObjectURL,Ln=F.revokeObjectURL;pn&&l(jr,"createObjectURL",s(pn,F)),Ln&&l(jr,"revokeObjectURL",s(Ln,F))}P(jr,"URL"),r({global:!0,constructor:!0,forced:!a,sham:!n},{URL:jr})},51862:function(i,h,t){t(81888)},24119:function(i,h,t){var r=t(14304),n=t(38941),a=t(95486),o=t(17361),s=t(91918),u=n("URL");r({target:"URL",stat:!0,forced:!s},{parse:function(v){var d=a(arguments.length,1),g=o(v),y=d<2||arguments[1]===void 0?void 0:o(arguments[1]);try{return new u(g,y)}catch(p){return null}}})},97526:function(i,h,t){var r=t(14304),n=t(96499);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})},61969:function(i,h,t){t(40949),t(43657),t(43606),t(15855),t(42026),t(33257),t(59414),t(88344),t(92579),t(94655),t(8565),t(60843),t(65842),t(51595),t(54908),t(81742),t(8720),t(42861),t(27796),t(1341),t(98700),t(65481),t(46509),t(41585),t(84554),t(36619),t(33818),t(64096),t(2209),t(91591),t(74092),t(54703),t(82936),t(48493),t(64730),t(95024),t(35054),t(25460),t(60703),t(90468),t(69581),t(720),t(11042),t(17289),t(24608),t(51644),t(88088),t(46828),t(90088),t(35148),t(86184),t(53983),t(42560),t(88444),t(27839),t(73051),t(9372),t(35473),t(4983),t(6875),t(68575),t(35495),t(32790),t(58594),t(30801),t(90911),t(90429),t(33685),t(60086),t(96049),t(14038),t(55518),t(8894),t(60628),t(56347),t(16864),t(93819),t(71332),t(47269),t(25627),t(22090),t(9839),t(15656),t(22091),t(2886),t(25895),t(24228),t(79488),t(75987),t(81555),t(87854),t(35074),t(50946),t(29417),t(80628),t(74375),t(29708),t(93449),t(9111),t(83514),t(15096),t(59590),t(99663),t(89988),t(54427),t(67895),t(57909),t(83938),t(55461),t(97339),t(3670),t(15224),t(45891),t(99910),t(92445),t(21875),t(4383),t(11361),t(13728),t(14885),t(30343),t(22045),t(75e3),t(64658),t(16017),t(84681),t(73421),t(93446),t(31046),t(94645),t(62935),t(62518),t(45130),t(51542),t(43781),t(25738),t(93247),t(41533),t(60225),t(69920),t(89205),t(78546),t(63616),t(16893),t(3676),t(58361),t(23958),t(9798),t(2371),t(76185),t(76553),t(93518),t(25227),t(91723),t(57882),t(37796),t(11563),t(26159),t(20962),t(77487),t(6130),t(1354),t(47119),t(31145),t(96773),t(14371),t(18180),t(83147),t(75765),t(86548),t(15282),t(51275),t(91890),t(15089),t(78134),t(56456),t(40735),t(8510),t(70159),t(93087),t(26021),t(93029),t(59158),t(15599),t(18509),t(21579),t(8854),t(57676),t(14527),t(96834),t(52684),t(74980),t(390),t(42794),t(21293),t(18184),t(75012),t(19680),t(4193),t(70641),t(53892),t(95976),t(399),t(72032),t(49442),t(16012),t(9943),t(33128),t(95625),t(90614),t(60120),t(75826),t(25560),t(22571),t(40704),t(36849),t(49191),t(81083),t(27428),t(44884),t(48658),t(71998),t(6116),t(33032),t(80962),t(49381),t(38344),t(65961),t(94153),t(16028),t(20656),t(17063),t(21774),t(51761),t(12317),t(19711),t(41034),t(13313),t(44698),t(7369),t(66178),t(67961),t(8695),t(69997),t(9711),t(3923),t(59728),t(85227),t(56933),t(91490),t(61766),t(85143),t(47005),t(10042),t(37888),t(19431),t(60869),t(50338),t(53059),t(5805),t(50685),t(70649),t(39842),t(82872),t(91401),t(92904),t(28381),t(51862),t(20760),t(24119),t(97526),t(86650),t(10901),t(93944),t(79043),t(75081)}},Kr={};function Mr(i){var h=Kr[i];if(h!==void 0)return h.exports;var t=Kr[i]={exports:{}};return Ce[i].call(t.exports,t,t.exports,Mr),t.exports}(function(){Mr.d=function(i,h){for(var t in h)Mr.o(h,t)&&!Mr.o(i,t)&&Object.defineProperty(i,t,{enumerable:!0,get:h[t]})}})(),function(){Mr.o=function(i,h){return Object.prototype.hasOwnProperty.call(i,h)}}(),Mr(61969);var oe=Mr(68990);return oe=oe.default,oe}()}); diff --git a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js index f33b3295d..811d126a1 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -23857,7 +23857,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./node_modules/d3-axis/src/identity.js /* harmony default export */ function d3_axis_src_identity(x) { diff --git a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js index 2c522fab2..a111ef218 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(Xr,Lr){typeof exports=="object"&&typeof module=="object"?module.exports=Lr():typeof define=="function"&&define.amd?define("bb",[],Lr):typeof exports=="object"?exports.bb=Lr():(Xr.bb=Xr.bb||{},Xr.bb.plugin=Xr.bb.plugin||{},Xr.bb.plugin["stanford.pkgd"]=Lr())})(this,function(){return function(){"use strict";var Me={33539:function(u,g,t){t.d(g,{default:function(){return mf}});function n(r,o,f){r.prototype=o.prototype=f,f.constructor=r}function e(r,o){var f=Object.create(r.prototype);for(var d in o)f[d]=o[d];return f}function a(){}var s=.7,i=1/s,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",v="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,p=new RegExp(`^rgb\\(${l},${l},${l}\\)$`),y=new RegExp(`^rgb\\(${v},${v},${v}\\)$`),x=new RegExp(`^rgba\\(${l},${l},${l},${c}\\)$`),S=new RegExp(`^rgba\\(${v},${v},${v},${c}\\)$`),O=new RegExp(`^hsl\\(${c},${v},${v}\\)$`),E=new RegExp(`^hsla\\(${c},${v},${v},${c}\\)$`),I={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n(a,R,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:M,formatHex:M,formatHex8:P,formatHsl:C,formatRgb:N,toString:N});function M(){return this.rgb().formatHex()}function P(){return this.rgb().formatHex8()}function C(){return k(this).formatHsl()}function N(){return this.rgb().formatRgb()}function R(r){var o,f;return r=(r+"").trim().toLowerCase(),(o=h.exec(r))?(f=o[1].length,o=parseInt(o[1],16),f===6?b(o):f===3?new U(o>>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):f===8?D(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):f===4?D(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|o&240,((o&15)<<4|o&15)/255):null):(o=p.exec(r))?new U(o[1],o[2],o[3],1):(o=y.exec(r))?new U(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=x.exec(r))?D(o[1],o[2],o[3],o[4]):(o=S.exec(r))?D(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=O.exec(r))?et(o[1],o[2]/100,o[3]/100,1):(o=E.exec(r))?et(o[1],o[2]/100,o[3]/100,o[4]):I.hasOwnProperty(r)?b(I[r]):r==="transparent"?new U(NaN,NaN,NaN,0):null}function b(r){return new U(r>>16&255,r>>8&255,r&255,1)}function D(r,o,f,d){return d<=0&&(r=o=f=NaN),new U(r,o,f,d)}function j(r){return r instanceof a||(r=R(r)),r?(r=r.rgb(),new U(r.r,r.g,r.b,r.opacity)):new U}function B(r,o,f,d){return arguments.length===1?j(r):new U(r,o,f,d==null?1:d)}function U(r,o,f,d){this.r=+r,this.g=+o,this.b=+f,this.opacity=+d}n(U,B,e(a,{brighter(r){return r=r==null?i:Math.pow(i,r),new U(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new U(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new U(V(this.r),V(this.g),V(this.b),G(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:W,formatHex:W,formatHex8:z,formatRgb:w,toString:w}));function W(){return`#${J(this.r)}${J(this.g)}${J(this.b)}`}function z(){return`#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity)?1:this.opacity)*255)}`}function w(){const r=G(this.opacity);return`${r===1?"rgb(":"rgba("}${V(this.r)}, ${V(this.g)}, ${V(this.b)}${r===1?")":`, ${r})`}`}function G(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function V(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function J(r){return r=V(r),(r<16?"0":"")+r.toString(16)}function et(r,o,f,d){return d<=0?r=o=f=NaN:f<=0||f>=1?r=o=NaN:o<=0&&(r=NaN),new _(r,o,f,d)}function k(r){if(r instanceof _)return new _(r.h,r.s,r.l,r.opacity);if(r instanceof a||(r=R(r)),!r)return new _;if(r instanceof _)return r;r=r.rgb();var o=r.r/255,f=r.g/255,d=r.b/255,m=Math.min(o,f,d),T=Math.max(o,f,d),A=NaN,F=T-m,L=(T+m)/2;return F?(o===T?A=(f-d)/F+(f0&&L<1?0:A,new _(A,F,L,r.opacity)}function ot(r,o,f,d){return arguments.length===1?k(r):new _(r,o,f,d==null?1:d)}function _(r,o,f,d){this.h=+r,this.s=+o,this.l=+f,this.opacity=+d}n(_,ot,e(a,{brighter(r){return r=r==null?i:Math.pow(i,r),new _(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new _(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,o=isNaN(r)||isNaN(this.s)?0:this.s,f=this.l,d=f+(f<.5?f:1-f)*o,m=2*f-d;return new U(St(r>=240?r-240:r+120,m,d),St(r,m,d),St(r<120?r+240:r-120,m,d),this.opacity)},clamp(){return new _(mt(this.h),ct(this.s),ct(this.l),G(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=G(this.opacity);return`${r===1?"hsl(":"hsla("}${mt(this.h)}, ${ct(this.s)*100}%, ${ct(this.l)*100}%${r===1?")":`, ${r})`}`}}));function mt(r){return r=(r||0)%360,r<0?r+360:r}function ct(r){return Math.max(0,Math.min(1,r||0))}function St(r,o,f){return(r<60?o+(f-o)*r/60:r<180?f:r<240?o+(f-o)*(240-r)/60:o)*255}var Tt=r=>()=>r;function Ct(r,o){return function(f){return r+f*o}}function Yt(r,o,f){return r=Math.pow(r,f),o=Math.pow(o,f)-r,f=1/f,function(d){return Math.pow(r+d*o,f)}}function Wt(r,o){var f=o-r;return f?Ct(r,f>180||f<-180?f-360*Math.round(f/360):f):Tt(isNaN(r)?o:r)}function Bt(r){return(r=+r)==1?vt:function(o,f){return f-o?Yt(o,f,r):Tt(isNaN(o)?f:o)}}function vt(r,o){var f=o-r;return f?Ct(r,f):Tt(isNaN(r)?o:r)}function xt(r){return function(o,f){var d=r((o=ot(o)).h,(f=ot(f)).h),m=vt(o.s,f.s),T=vt(o.l,f.l),A=vt(o.opacity,f.opacity);return function(F){return o.h=d(F),o.s=m(F),o.l=T(F),o.opacity=A(F),o+""}}}var bt=xt(Wt),Lt=xt(vt);function Ft(r,o,f,d,m){var T=r*r,A=T*r;return((1-3*r+3*T-A)*o+(4-6*T+3*A)*f+(1+3*r+3*T-3*A)*d+A*m)/6}function jt(r){var o=r.length-1;return function(f){var d=f<=0?f=0:f>=1?(f=1,o-1):Math.floor(f*o),m=r[d],T=r[d+1],A=d>0?r[d-1]:2*m-T,F=df&&(T=o.slice(f,T),F[A]?F[A]+=T:F[++A]=T),(d=d[0])===(m=m[0])?F[A]?F[A]+=m:F[++A]=m:(F[++A]=null,L.push({i:A,x:dt(d,m)})),f=Pt.lastIndex;return fo?1:r>=o?0:NaN}function rt(r,o){return r==null||o==null?NaN:or?1:o>=r?0:NaN}function Q(r){let o,f,d;r.length!==2?(o=X,f=(F,L)=>X(r(F),L),d=(F,L)=>r(F)-L):(o=r===X||r===rt?r:yt,f=r,d=r);function m(F,L,$=0,H=F.length){if($>>1;f(F[K],L)<0?$=K+1:H=K}while($>>1;f(F[K],L)<=0?$=K+1:H=K}while($$&&d(F[K-1],L)>-d(F[K],L)?K-1:K}return{left:m,center:A,right:T}}function yt(){return 0}function Nt(r){return r===null?NaN:+r}function*$t(r,o){if(o===void 0)for(let f of r)f!=null&&(f=+f)>=f&&(yield f);else{let f=-1;for(let d of r)(d=o(d,++f,r))!=null&&(d=+d)>=d&&(yield d)}}const Xt=Q(X),Qt=Xt.right,Zt=Xt.left,mr=Q(Nt).center;var Jr=Qt;function rn(r){return function(){return r}}function nn(r){return+r}var en=[0,1];function $r(r){return r}function qr(r,o){return(o-=r=+r)?function(f){return(f-r)/o}:rn(isNaN(o)?NaN:.5)}function dn(r,o){var f;return r>o&&(f=r,r=o,o=f),function(d){return Math.max(r,Math.min(o,d))}}function Mn(r,o,f){var d=r[0],m=r[1],T=o[0],A=o[1];return m2?hn:Mn,L=$=null,K}function K(nt){return nt==null||isNaN(nt=+nt)?T:(L||(L=F(r.map(d),o,f)))(d(A(nt)))}return K.invert=function(nt){return A(m(($||($=F(o,r.map(d),dt)))(nt)))},K.domain=function(nt){return arguments.length?(r=Array.from(nt,nn),H()):r.slice()},K.range=function(nt){return arguments.length?(o=Array.from(nt),H()):o.slice()},K.rangeRound=function(nt){return o=Array.from(nt),f=lt,H()},K.clamp=function(nt){return arguments.length?(A=nt?!0:$r,H()):A!==$r},K.interpolate=function(nt){return arguments.length?(f=nt,H()):f},K.unknown=function(nt){return arguments.length?(T=nt,K):T},function(nt,st){return d=nt,m=st,H()}}function ee(){return Fr()($r,$r)}function Wr(r,o){switch(arguments.length){case 0:break;case 1:this.range(r);break;default:this.range(o).domain(r);break}return this}function Br(r,o){switch(arguments.length){case 0:break;case 1:{typeof r=="function"?this.interpolator(r):this.range(r);break}default:{this.domain(r),typeof o=="function"?this.interpolator(o):this.range(o);break}}return this}const gn=Math.sqrt(50),Zr=Math.sqrt(10),Ar=Math.sqrt(2);function Rr(r,o,f){const d=(o-r)/Math.max(0,f),m=Math.floor(Math.log10(d)),T=d/Math.pow(10,m),A=T>=gn?10:T>=Zr?5:T>=Ar?2:1;let F,L,$;return m<0?($=Math.pow(10,-m)/A,F=Math.round(r*$),L=Math.round(o*$),F/$o&&--L,$=-$):($=Math.pow(10,m)*A,F=Math.round(r/$),L=Math.round(o/$),F*$o&&--L),L0))return[];if(r===o)return[r];const d=o=m))return[];const F=T-m+1,L=new Array(F);if(d)if(A<0)for(let $=0;$=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tt(r){if(!(o=gt.exec(r)))throw new Error("invalid format: "+r);var o;return new Y({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10]})}tt.prototype=Y.prototype;function Y(r){this.fill=r.fill===void 0?" ":r.fill+"",this.align=r.align===void 0?">":r.align+"",this.sign=r.sign===void 0?"-":r.sign+"",this.symbol=r.symbol===void 0?"":r.symbol+"",this.zero=!!r.zero,this.width=r.width===void 0?void 0:+r.width,this.comma=!!r.comma,this.precision=r.precision===void 0?void 0:+r.precision,this.trim=!!r.trim,this.type=r.type===void 0?"":r.type+""}Y.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function ut(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)}function zt(r,o){if((f=(r=o?r.toExponential(o-1):r.toExponential()).indexOf("e"))<0)return null;var f,d=r.slice(0,f);return[d.length>1?d[0]+d.slice(2):d,+r.slice(f+1)]}function At(r){return r=zt(Math.abs(r)),r?r[1]:NaN}function dr(r,o){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(At(o)/3)))*3-At(Math.abs(r)))}function yr(r,o){return function(f,d){for(var m=f.length,T=[],A=0,F=r[0],L=0;m>0&&F>0&&(L+F+1>d&&(F=Math.max(1,d-L)),T.push(f.substring(m-=F,m+F)),!((L+=F+1)>d));)F=r[A=(A+1)%r.length];return T.reverse().join(o)}}function Sr(r){return function(o){return o.replace(/[0-9]/g,function(f){return r[+f]})}}function Nr(r){t:for(var o=r.length,f=1,d=-1,m;f0&&(d=0);break}return d>0?r.slice(0,d)+r.slice(m+1):r}var ht;function xr(r,o){var f=zt(r,o);if(!f)return r+"";var d=f[0],m=f[1],T=m-(ht=Math.max(-8,Math.min(8,Math.floor(m/3)))*3)+1,A=d.length;return T===A?d:T>A?d+new Array(T-A+1).join("0"):T>0?d.slice(0,T)+"."+d.slice(T):"0."+new Array(1-T).join("0")+zt(r,Math.max(0,o+T-1))[0]}function Ur(r,o){var f=zt(r,o);if(!f)return r+"";var d=f[0],m=f[1];return m<0?"0."+new Array(-m).join("0")+d:d.length>m+1?d.slice(0,m+1)+"."+d.slice(m+1):d+new Array(m-d.length+2).join("0")}var sn={"%":(r,o)=>(r*100).toFixed(o),b:r=>Math.round(r).toString(2),c:r=>r+"",d:ut,e:(r,o)=>r.toExponential(o),f:(r,o)=>r.toFixed(o),g:(r,o)=>r.toPrecision(o),o:r=>Math.round(r).toString(8),p:(r,o)=>Ur(r*100,o),r:Ur,s:xr,X:r=>Math.round(r).toString(16).toUpperCase(),x:r=>Math.round(r).toString(16)};function pn(r){return r}var yn=Array.prototype.map,un=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Ua(r){var o=r.grouping===void 0||r.thousands===void 0?pn:yr(yn.call(r.grouping,Number),r.thousands+""),f=r.currency===void 0?"":r.currency[0]+"",d=r.currency===void 0?"":r.currency[1]+"",m=r.decimal===void 0?".":r.decimal+"",T=r.numerals===void 0?pn:Sr(yn.call(r.numerals,String)),A=r.percent===void 0?"%":r.percent+"",F=r.minus===void 0?"\u2212":r.minus+"",L=r.nan===void 0?"NaN":r.nan+"";function $(K){K=tt(K);var nt=K.fill,st=K.align,Vt=K.sign,er=K.symbol,pt=K.zero,Rt=K.width,Ut=K.comma,Mt=K.precision,kt=K.trim,Ht=K.type;Ht==="n"?(Ut=!0,Ht="g"):sn[Ht]||(Mt===void 0&&(Mt=12),kt=!0,Ht="g"),(pt||nt==="0"&&st==="=")&&(pt=!0,nt="0",st="=");var cr=er==="$"?f:er==="#"&&/[boxX]/.test(Ht)?"0"+Ht.toLowerCase():"",hr=er==="$"?d:/[%p]/.test(Ht)?A:"",ir=sn[Ht],Ir=/[defgprs%]/.test(Ht);Mt=Mt===void 0?6:/[gprs]/.test(Ht)?Math.max(1,Math.min(21,Mt)):Math.max(0,Math.min(20,Mt));function or(Dt){var fr=cr,nr=hr,vr,Gr,gr;if(Ht==="c")nr=ir(Dt)+nr,Dt="";else{Dt=+Dt;var pr=Dt<0||1/Dt<0;if(Dt=isNaN(Dt)?L:ir(Math.abs(Dt),Mt),kt&&(Dt=Nr(Dt)),pr&&+Dt==0&&Vt!=="+"&&(pr=!1),fr=(pr?Vt==="("?Vt:F:Vt==="-"||Vt==="("?"":Vt)+fr,nr=(Ht==="s"?un[8+ht/3]:"")+nr+(pr&&Vt==="("?")":""),Ir){for(vr=-1,Gr=Dt.length;++vrgr||gr>57){nr=(gr===46?m+Dt.slice(vr+1):Dt.slice(vr))+nr,Dt=Dt.slice(0,vr);break}}}Ut&&!pt&&(Dt=o(Dt,1/0));var Dr=fr.length+Dt.length+nr.length,sr=Dr>1)+fr+Dt+nr+sr.slice(Dr);break;default:Dt=sr+fr+Dt+nr;break}return T(Dt)}return or.toString=function(){return K+""},or}function H(K,nt){var st=$((K=tt(K),K.type="f",K)),Vt=Math.max(-8,Math.min(8,Math.floor(At(nt)/3)))*3,er=Math.pow(10,-Vt),pt=un[8+Vt/3];return function(Rt){return st(er*Rt)+pt}}return{format:$,formatPrefix:H}}var Nn,bn,Ne;ja({thousands:",",grouping:[3],currency:["$",""]});function ja(r){return Nn=Ua(r),bn=Nn.format,Ne=Nn.formatPrefix,Nn}function wa(r,o){return r=Math.abs(r),o=Math.abs(o)-r,Math.max(0,At(o)-At(r))+1}function Ga(r){return Math.max(0,-At(Math.abs(r)))}function Va(r,o,f,d){var m=Z(r,o,f),T;switch(d=tt(d==null?",f":d),d.type){case"s":{var A=Math.max(Math.abs(r),Math.abs(o));return d.precision==null&&!isNaN(T=dr(m,A))&&(d.precision=T),Ne(d,A)}case"":case"e":case"g":case"p":case"r":{d.precision==null&&!isNaN(T=wa(m,Math.max(Math.abs(r),Math.abs(o))))&&(d.precision=T-(d.type==="e"));break}case"f":case"%":{d.precision==null&&!isNaN(T=Ga(m))&&(d.precision=T-(d.type==="%")*2);break}}return bn(d)}function ae(r){var o=r.domain;return r.ticks=function(f){var d=o();return an(d[0],d[d.length-1],f==null?10:f)},r.tickFormat=function(f,d){var m=o();return Va(m[0],m[m.length-1],f==null?10:f,d)},r.nice=function(f){f==null&&(f=10);var d=o(),m=0,T=d.length-1,A=d[m],F=d[T],L,$,H=10;for(F0;){if($=on(A,F,f),$===L)return d[m]=A,d[T]=F,o(d);if($>0)A=Math.floor(A/$)*$,F=Math.ceil(F/$)*$;else if($<0)A=Math.ceil(A*$)/$,F=Math.floor(F*$)/$;else break;L=$}return r},r}function Ha(){var r=continuous();return r.copy=function(){return copy(r,Ha())},initRange.apply(r,arguments),ae(r)}function Wa(r,o){r=r.slice();var f=0,d=r.length-1,m=r[f],T=r[d],A;return TMath.pow(r,o)}function Ja(r){return r===Math.E?Math.log:r===10&&Math.log10||r===2&&Math.log2||(r=Math.log(r),o=>Math.log(o)/r)}function De(r){return(o,f)=>-r(-o,f)}function Le(r){const o=r(be,Fe),f=o.domain;let d=10,m,T;function A(){return m=Ja(d),T=Xa(d),f()[0]<0?(m=De(m),T=De(T),r(za,Ya)):r(be,Fe),o}return o.base=function(F){return arguments.length?(d=+F,A()):d},o.domain=function(F){return arguments.length?(f(F),A()):f()},o.ticks=F=>{const L=f();let $=L[0],H=L[L.length-1];const K=H<$;K&&([$,H]=[H,$]);let nt=m($),st=m(H),Vt,er;const pt=F==null?10:+F;let Rt=[];if(!(d%1)&&st-nt0){for(;nt<=st;++nt)for(Vt=1;VtH)break;Rt.push(er)}}else for(;nt<=st;++nt)for(Vt=d-1;Vt>=1;--Vt)if(er=nt>0?Vt/T(-nt):Vt*T(nt),!(er<$)){if(er>H)break;Rt.push(er)}Rt.length*2{if(F==null&&(F=10),L==null&&(L=d===10?"s":","),typeof L!="function"&&(!(d%1)&&(L=tt(L)).precision==null&&(L.trim=!0),L=bn(L)),F===1/0)return L;const $=Math.max(1,d*F/o.ticks().length);return H=>{let K=H/T(Math.round(m(H)));return K*df(Wa(f(),{floor:F=>T(Math.floor(m(F))),ceil:F=>T(Math.ceil(m(F)))})),o}function Qa(){const r=Le(transformer()).domain([1,10]);return r.copy=()=>copy(r,Qa()).base(r.base()),initRange.apply(r,arguments),r}function Fn(){var r=0,o=1,f,d,m,T,A=$r,F=!1,L;function $(K){return K==null||isNaN(K=+K)?L:A(m===0?.5:(K=(T(K)-f)*m,F?Math.max(0,Math.min(1,K)):K))}$.domain=function(K){return arguments.length?([r,o]=K,f=T(r=+r),d=T(o=+o),m=f===d?0:1/(d-f),$):[r,o]},$.clamp=function(K){return arguments.length?(F=!!K,$):F},$.interpolator=function(K){return arguments.length?(A=K,$):A};function H(K){return function(nt){var st,Vt;return arguments.length?([st,Vt]=nt,A=K(st,Vt),$):[A(0),A(1)]}}return $.range=H(it),$.rangeRound=H(lt),$.unknown=function(K){return arguments.length?(L=K,$):L},function(K){return T=K,f=K(r),d=K(o),m=f===d?0:1/(d-f),$}}function Dn(r,o){return o.domain(r.domain()).interpolator(r.interpolator()).clamp(r.clamp()).unknown(r.unknown())}function $e(){var r=ae(Fn()($r));return r.copy=function(){return Dn(r,$e())},Br.apply(r,arguments)}function Be(){var r=Le(Fn()).domain([1,10]);return r.copy=function(){return Dn(r,Be()).base(r.base())},Br.apply(r,arguments)}function Za(){var r=symlogish(Fn());return r.copy=function(){return Dn(r,Za()).constant(r.constant())},initInterpolator.apply(r,arguments)}function Ue(){var r=powish(Fn());return r.copy=function(){return Dn(r,Ue()).exponent(r.exponent())},initInterpolator.apply(r,arguments)}function Ef(){return Ue.apply(null,arguments).exponent(.5)}var ka=Object.defineProperty,je=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,we=(r,o,f)=>o in r?ka(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,ur=(r,o)=>{for(var f in o||(o={}))qa.call(o,f)&&we(r,f,o[f]);if(je)for(var f of je(o))_a.call(o,f)&&we(r,f,o[f]);return r};const to={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},ro={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},no={area:"bb-area",areas:"bb-areas"},eo={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},ao={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},oo={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},so={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},io={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},uo={dragarea:"bb-dragarea",INCLUDED:"_included_"},fo={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},lo={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},co={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},vo={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},ho={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},go={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},po={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Of={level:"bb-level",levels:"bb-levels"},yo={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},mo={region:"bb-region",regions:"bb-regions"},xo={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},So={shape:"bb-shape",shapes:"bb-shapes"},Eo={brush:"bb-brush",subchart:"bb-subchart"},Oo={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},oe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},To={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Io={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var Tf=ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur(ur({},to),ro),no),eo),ao),oo),so),io),uo),lo),co),vo),ho),go),fo),po),yo),mo),xo),So),Eo),Oo),oe),To),Io);function Ao(){}function se(r){return r==null?Ao:function(){return this.querySelector(r)}}function Ro(r){typeof r!="function"&&(r=se(r));for(var o=this._groups,f=o.length,d=new Array(f),m=0;m=Mt&&(Mt=Ut+1);!(Ht=pt[Mt])&&++Mt=0;)(A=d[m])&&(T&&A.compareDocumentPosition(T)^4&&T.parentNode.insertBefore(A,T),T=A);return this}function ko(r){r||(r=qo);function o(K,nt){return K&&nt?r(K.__data__,nt.__data__):!K-!nt}for(var f=this._groups,d=f.length,m=new Array(d),T=0;To?1:r>=o?0:NaN}function _o(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function ts(){return Array.from(this)}function rs(){for(var r=this._groups,o=0,f=r.length;o=0&&(o=r.slice(0,f))!=="xmlns"&&(r=r.slice(f+1)),ze.hasOwnProperty(o)?{space:ze[o],local:r}:r}function os(r){return function(){this.removeAttribute(r)}}function ss(r){return function(){this.removeAttributeNS(r.space,r.local)}}function is(r,o){return function(){this.setAttribute(r,o)}}function us(r,o){return function(){this.setAttributeNS(r.space,r.local,o)}}function fs(r,o){return function(){var f=o.apply(this,arguments);f==null?this.removeAttribute(r):this.setAttribute(r,f)}}function ls(r,o){return function(){var f=o.apply(this,arguments);f==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,f)}}function cs(r,o){var f=$n(r);if(arguments.length<2){var d=this.node();return f.local?d.getAttributeNS(f.space,f.local):d.getAttribute(f)}return this.each((o==null?f.local?ss:os:typeof o=="function"?f.local?ls:fs:f.local?us:is)(f,o))}function Ye(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function vs(r){return function(){this.style.removeProperty(r)}}function ds(r,o,f){return function(){this.style.setProperty(r,o,f)}}function hs(r,o,f){return function(){var d=o.apply(this,arguments);d==null?this.style.removeProperty(r):this.style.setProperty(r,d,f)}}function gs(r,o,f){return arguments.length>1?this.each((o==null?vs:typeof o=="function"?hs:ds)(r,o,f==null?"":f)):fn(this.node(),r)}function fn(r,o){return r.style.getPropertyValue(o)||Ye(r).getComputedStyle(r,null).getPropertyValue(o)}function ps(r){return function(){delete this[r]}}function ys(r,o){return function(){this[r]=o}}function ms(r,o){return function(){var f=o.apply(this,arguments);f==null?delete this[r]:this[r]=f}}function xs(r,o){return arguments.length>1?this.each((o==null?ps:typeof o=="function"?ms:ys)(r,o)):this.node()[r]}function Ke(r){return r.trim().split(/^|\s+/)}function ue(r){return r.classList||new Xe(r)}function Xe(r){this._node=r,this._names=Ke(r.getAttribute("class")||"")}Xe.prototype={add:function(r){var o=this._names.indexOf(r);o<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var o=this._names.indexOf(r);o>=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Je(r,o){for(var f=ue(r),d=-1,m=o.length;++d=0&&(f=o.slice(d+1),o=o.slice(0,d)),{type:o,name:f}})}function Qs(r){return function(){var o=this.__on;if(o){for(var f=0,d=-1,m=o.length,T;f{}};function _e(){for(var r=0,o=arguments.length,f={},d;r=0&&(d=f.slice(m+1),f=f.slice(0,m)),f&&!o.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:d}})}Bn.prototype=_e.prototype={constructor:Bn,on:function(r,o){var f=this._,d=oi(r+"",f),m,T=-1,A=d.length;if(arguments.length<2){for(;++T0)for(var f=new Array(m),d=0,m,T;d=0&&r._call.call(void 0,o),r=r._next;--ln}function aa(){_r=(jn=On.now())+wn,ln=xn=0;try{fi()}finally{ln=0,ci(),_r=0}}function li(){var r=On.now(),o=r-jn;o>ra&&(wn-=o,jn=r)}function ci(){for(var r,o=Un,f,d=1/0;o;)o._call?(d>o._time&&(d=o._time),r=o,o=o._next):(f=o._next,o._next=null,o=r?r._next=f:Un=f);En=r,le(d)}function le(r){if(!ln){xn&&(xn=clearTimeout(xn));var o=r-_r;o>24?(r<1/0&&(xn=setTimeout(aa,r-On.now()-wn)),Sn&&(Sn=clearInterval(Sn))):(Sn||(jn=On.now(),Sn=setInterval(li,ra)),ln=1,na(aa))}}function oa(r,o,f){var d=new Gn;return o=o==null?0:+o,d.restart(m=>{d.stop(),r(m+o)},o,f),d}var vi=ii("start","end","cancel","interrupt"),di=[],sa=0,ia=1,ce=2,Vn=3,ua=4,ve=5,Hn=6;function Wn(r,o,f,d,m,T){var A=r.__transition;if(!A)r.__transition={};else if(f in A)return;hi(r,f,{name:o,index:d,group:m,on:vi,tween:di,time:T.time,delay:T.delay,duration:T.duration,ease:T.ease,timer:null,state:sa})}function de(r,o){var f=wr(r,o);if(f.state>sa)throw new Error("too late; already scheduled");return f}function Vr(r,o){var f=wr(r,o);if(f.state>Vn)throw new Error("too late; already running");return f}function wr(r,o){var f=r.__transition;if(!f||!(f=f[o]))throw new Error("transition not found");return f}function hi(r,o,f){var d=r.__transition,m;d[o]=f,f.timer=ea(T,0,f.time);function T($){f.state=ia,f.timer.restart(A,f.delay,f.time),f.delay<=$&&A($-f.delay)}function A($){var H,K,nt,st;if(f.state!==ia)return L();for(H in d)if(st=d[H],st.name===f.name){if(st.state===Vn)return oa(A);st.state===ua?(st.state=Hn,st.timer.stop(),st.on.call("interrupt",r,r.__data__,st.index,st.group),delete d[H]):+Hce&&d.state180?H+=360:H-$>180&&($+=360),nt.push({i:K.push(m(K)+"rotate(",null,d)-2,x:dt($,H)})):H&&K.push(m(K)+"rotate("+H+d)}function F($,H,K,nt){$!==H?nt.push({i:K.push(m(K)+"skewX(",null,d)-2,x:dt($,H)}):H&&K.push(m(K)+"skewX("+H+d)}function L($,H,K,nt,st,Vt){if($!==K||H!==nt){var er=st.push(m(st)+"scale(",null,",",null,")");Vt.push({i:er-4,x:dt($,K)},{i:er-2,x:dt(H,nt)})}else(K!==1||nt!==1)&&st.push(m(st)+"scale("+K+","+nt+")")}return function($,H){var K=[],nt=[];return $=r($),H=r(H),T($.translateX,$.translateY,H.translateX,H.translateY,K,nt),A($.rotate,H.rotate,K,nt),F($.skewX,H.skewX,K,nt),L($.scaleX,$.scaleY,H.scaleX,H.scaleY,K,nt),$=H=null,function(st){for(var Vt=-1,er=nt.length,pt;++Vt=0&&(o=o.slice(0,f)),!o||o==="start"})}function Qi(r,o,f){var d,m,T=Ji(o)?de:Vr;return function(){var A=T(this,r),F=A.on;F!==d&&(m=(d=F).copy()).on(o,f),A.on=m}}function Zi(r,o){var f=this._id;return arguments.length<2?wr(this.node(),f).on.on(r):this.each(Qi(f,r,o))}function ki(r){return function(){var o=this.parentNode;for(var f in this.__transition)if(+f!==r)return;o&&o.removeChild(this)}}function qi(){return this.on("end.remove",ki(this._id))}function _i(r){var o=this._name,f=this._id;typeof r!="function"&&(r=se(r));for(var d=this._groups,m=d.length,T=new Array(m),A=0;A{const Tr=qt.identifier;return qt=pointer(qt,Rt),qt.point0=qt.slice(),qt.identifier=Tr,qt});interrupt(Rt);var Rn=H(Rt,arguments,!0).beforestart();if(Ut==="overlay"){ir&&(Ce=!0);const qt=[br[0],br[1]||br[0]];cr.selection=ir=[[or=r===Kn?Ir:Mr(qt[0][0],qt[1][0]),nr=r===Yn?fr:Mr(qt[0][1],qt[1][1])],[gr=r===Kn?Gr:Cr(qt[0][0],qt[1][0]),sr=r===Yn?Dr:Cr(qt[0][1],qt[1][1])]],br.length>1&&tn(pt)}else or=ir[0][0],nr=ir[0][1],gr=ir[1][0],sr=ir[1][1];Dt=or,vr=nr,pr=gr,Pr=sr;var Da=select(Rt).attr("pointer-events","none"),Pn=Da.selectAll(".overlay").attr("cursor",Kr[Ut]);if(pt.touches)Rn.moved=$a,Rn.ended=Ba;else{var La=select(pt.view).on("mousemove.brush",$a,!0).on("mouseup.brush",Ba,!0);m&&La.on("keydown.brush",xf,!0).on("keyup.brush",Sf,!0),dragDisable(pt.view)}$.call(Rt),Rn.start(pt,Mt.name);function $a(qt){for(const Tr of qt.changedTouches||[qt])for(const Cn of br)Cn.identifier===Tr.identifier&&(Cn.cur=pointer(Tr,Rt));if(_n&&!te&&!re&&br.length===1){const Tr=br[0];pa(Tr.cur[0]-Tr[0])>pa(Tr.cur[1]-Tr[1])?re=!0:te=!0}for(const Tr of br)Tr.cur&&(Tr[0]=Tr.cur[0],Tr[1]=Tr.cur[1]);Ce=!0,noevent(qt),tn(qt)}function tn(qt){const Tr=br[0],Cn=Tr.point0;var kr;switch(Er=Tr[0]-Cn[0],Or=Tr[1]-Cn[1],Mt){case pe:case ga:{kt&&(Er=Cr(Ir-or,Mr(Gr-gr,Er)),Dt=or+Er,pr=gr+Er),Ht&&(Or=Cr(fr-nr,Mr(Dr-sr,Or)),vr=nr+Or,Pr=sr+Or);break}case cn:{br[1]?(kt&&(Dt=Cr(Ir,Mr(Gr,br[0][0])),pr=Cr(Ir,Mr(Gr,br[1][0])),kt=1),Ht&&(vr=Cr(fr,Mr(Dr,br[0][1])),Pr=Cr(fr,Mr(Dr,br[1][1])),Ht=1)):(kt<0?(Er=Cr(Ir-or,Mr(Gr-or,Er)),Dt=or+Er,pr=gr):kt>0&&(Er=Cr(Ir-gr,Mr(Gr-gr,Er)),Dt=or,pr=gr+Er),Ht<0?(Or=Cr(fr-nr,Mr(Dr-nr,Or)),vr=nr+Or,Pr=sr):Ht>0&&(Or=Cr(fr-sr,Mr(Dr-sr,Or)),vr=nr,Pr=sr+Or));break}case vn:{kt&&(Dt=Cr(Ir,Mr(Gr,or-Er*kt)),pr=Cr(Ir,Mr(Gr,gr+Er*kt))),Ht&&(vr=Cr(fr,Mr(Dr,nr-Or*Ht)),Pr=Cr(fr,Mr(Dr,sr+Or*Ht)));break}}pr0&&(or=Dt-Er),Ht<0?sr=Pr-Or:Ht>0&&(nr=vr-Or),Mt=pe,Pn.attr("cursor",Kr.selection),tn(qt));break}default:return}noevent(qt)}function Sf(qt){switch(qt.keyCode){case 16:{_n&&(te=re=_n=!1,tn(qt));break}case 18:{Mt===vn&&(kt<0?gr=pr:kt>0&&(or=Dt),Ht<0?sr=Pr:Ht>0&&(nr=vr),Mt=cn,tn(qt));break}case 32:{Mt===pe&&(qt.altKey?(kt&&(gr=pr-Er*kt,or=Dt+Er*kt),Ht&&(sr=Pr-Or*Ht,nr=vr+Or*Ht),Mt=vn):(kt<0?gr=pr:kt>0&&(or=Dt),Ht<0?sr=Pr:Ht>0&&(nr=vr),Mt=cn),Pn.attr("cursor",Kr[Ut]),tn(qt));break}default:return}noevent(qt)}}function st(pt){H(this,arguments).moved(pt)}function Vt(pt){H(this,arguments).ended(pt)}function er(){var pt=this.__brush||{selection:null};return pt.extent=ye(o.apply(this,arguments)),pt.dim=r,pt}return L.extent=function(pt){return arguments.length?(o=typeof pt=="function"?pt:constant(ye(pt)),L):o},L.filter=function(pt){return arguments.length?(f=typeof pt=="function"?pt:constant(!!pt),L):f},L.touchable=function(pt){return arguments.length?(d=typeof pt=="function"?pt:constant(!!pt),L):d},L.handleSize=function(pt){return arguments.length?(A=+pt,L):A},L.keyModifiers=function(pt){return arguments.length?(m=!!pt,L):m},L.on=function(){var pt=T.on.apply(T,arguments);return pt===T?L:pt},L}function Fu(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Du(r){const o=typeof(r==null?void 0:r.requestAnimationFrame)=="function"&&typeof(r==null?void 0:r.cancelAnimationFrame)=="function",f=typeof(r==null?void 0:r.requestIdleCallback)=="function"&&typeof(r==null?void 0:r.cancelIdleCallback)=="function",d=T=>setTimeout(T,1),m=T=>clearTimeout(T);return[o?r.requestAnimationFrame:d,o?r.cancelAnimationFrame:m,f?r.requestIdleCallback:d,f?r.cancelIdleCallback:m]}const Xn=Fu(),Lu=Xn==null?void 0:Xn.document,[Nf,bf,Ff,Df]=Du(Xn);var $u=Object.defineProperty,Sa=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,Ea=(r,o,f)=>o in r?$u(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,Oa=(r,o)=>{for(var f in o||(o={}))Bu.call(o,f)&&Ea(r,f,o[f]);if(Sa)for(var f of Sa(o))Uu.call(o,f)&&Ea(r,f,o[f]);return r};const Lf=r=>r||r===0,Se=r=>typeof r=="function",In=r=>typeof r=="string",Ee=r=>typeof r=="number",ju=r=>typeof r=="undefined",Ta=r=>typeof r!="undefined",$f=r=>typeof r=="boolean",Bf=r=>Math.ceil(r/10)*10,Uf=r=>Math.ceil(r)+.5,jf=r=>r[1]-r[0],Oe=r=>typeof r=="object",Ia=r=>ju(r)||r===null||In(r)&&r.length===0||Oe(r)&&!(r instanceof Date)&&Object.keys(r).length===0||Ee(r)&&isNaN(r),wu=r=>!Ia(r),Te=r=>Array.isArray(r),Jn=r=>r&&!(r!=null&&r.nodeType)&&Oe(r)&&!Te(r);function wf(r,o,f){return Ta(r[o])?r[o]:f}function Gf(r,o){let f=!1;return Object.keys(r).forEach(d=>r[d]===o&&(f=!0)),f}function Vf(r,o,...f){const d=Se(r);return d&&r.call(o,...f),d}function Hf(r,o){let f=0;const d=function(...m){!--f&&o.apply(this,...m)};"duration"in r?r.each(()=>++f).on("end",d):(++f,r.call(d))}function Wf(r){return In(r)?r.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):r}function zf(r,o,f=[-1,1],d=!1){if(!(!r||!In(o)))if(o.indexOf(` `)===-1)r.text(o);else{const m=[r.text(),o].map(T=>T.replace(/[\s\n]/g,""));if(m[0]!==m[1]){const T=o.split(` -`),A=d?T.length-1:1;r.html(""),T.forEach((F,L)=>{r.append("tspan").attr("x",0).attr("dy",`${L===0?f[0]*A:f[1]}em`).text(F)})}}}function Gu(r){const{x:o,y:f,width:d,height:m}=r.getBBox();return[{x:o,y:f+m},{x:o,y:f},{x:o+d,y:f},{x:o+d,y:f+m}]}function Yf(r){const{width:o,height:f}=r.getBoundingClientRect(),d=Gu(r),m=d[0].x,T=Math.min(d[0].y,d[1].y);return{x:m,y:T,width:o,height:f}}function Kf(r,o){var f;const d=r&&((f=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:f[0]);let m=[0,0];try{m=d3Pointer(d||r,o)}catch(T){}return m.map(T=>isNaN(T)?0:T)}function Vu(r){const{event:o,$el:f}=r,d=f.subchart.main||f.main;let m;return o&&o.type==="brush"?m=o.selection:d&&(m=d.select(".bb-brush").node())&&(m=d3BrushSelection(m)),m}function Xf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Jf(r=!0,o=0,f=1e4){const d=window.crypto||window.msCrypto,m=d?o+d.getRandomValues(new Uint32Array(1))[0]%(f-o+1):Math.floor(Math.random()*(f-o)+o);return r?String(m):m}function Aa(r,o,f,d,m){if(f>d)return-1;const T=Math.floor((f+d)/2);let{x:A,w:F=0}=r[T];return m&&(A=r[T].y,F=r[T].h),o>=A&&o<=A+F?T:o{if(Jn(f)&&f.constructor){const d=new f.constructor;for(const m in f)d[m]=o(f[m]);return d}return f};return r.map(f=>o(f)).reduce((f,d)=>Oa(Oa({},f),d))}function Hu(r={},o){Te(o)&&o.forEach(f=>Hu(r,f));for(const f in o)/^\d+$/.test(f)||f in r||(r[f]=o[f]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,o="-"){return r.split(o).map((f,d)=>d?f.charAt(0).toUpperCase()+f.slice(1).toLowerCase():f.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,o,f){const{rootSelector:d="",sheet:m}=r,A=`${d} ${(F=>F.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(o)} {${f.join(";")}}`;return m[m.insertRule?"insertRule":"addRule"](A,m.cssRules.length)}function tl(r){let o=[];return r.forEach(f=>{var d;try{f.cssRules&&f.cssRules.length&&(o=o.concat(Wu(f.cssRules)))}catch(m){(d=window.console)==null||d.warn(`Error while reading rules from ${f.href}: ${m.toString()}`)}}),o}function rl(r){var o,f,d,m,T,A;return{x:((f=(o=window.pageXOffset)!=null?o:window.scrollX)!=null?f:0)+((d=r.scrollLeft)!=null?d:0),y:((T=(m=window.pageYOffset)!=null?m:window.scrollY)!=null?T:0)+((A=r.scrollTop)!=null?A:0)}}function nl(r){const o=r?r.transform:null,f=o&&o.baseVal;return f&&f.numberOfItems?f.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function el(r){const o=r[0]instanceof Date,f=(o?r.map(Number):r).filter((d,m,T)=>T.indexOf(d)===m);return o?f.map(d=>new Date(d)):f}function al(r){return r&&r.length?r.reduce((o,f)=>o.concat(f)):[]}function Ie(r,...o){if(!o.length||o.length===1&&!o[0])return r;const f=o.shift();return Jn(r)&&Jn(f)&&Object.keys(f).forEach(d=>{const m=f[d];Jn(m)?(!r[d]&&(r[d]={}),r[d]=Ie(r[d],m)):r[d]=Te(m)?m.concat():m}),Ie(r,...o)}function zu(r,o=!0){let f;return r[0]instanceof Date?f=o?(d,m)=>d-m:(d,m)=>m-d:o&&!r.every(isNaN)?f=(d,m)=>d-m:o||(f=(d,m)=>d>m&&-1||dwu(d));return f.length?Ee(f[0])?f=Math[r](...f):f[0]instanceof Date&&(f=zu(f,r==="min")[0]):f=void 0,f}const Yu=(r,o,f=1)=>{const d=[],m=Math.max(0,Math.ceil((o-r)/f))|0;for(let T=r;T{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(o,f,d=r())=>{o.dispatchEvent(new MouseEvent(f,d))}}catch(o){return(f,d,m=r())=>{const T=Lu.createEvent("MouseEvent");T.initMouseEvent(d,m.bubbles,m.cancelable,Xn,0,m.screenX,m.screenY,m.clientX,m.clientY,!1,!1,!1,!1,0,null),f.dispatchEvent(T)}}})(),touch:(r,o,f)=>{const d=new Touch(Ie({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},f));r.dispatchEvent(new TouchEvent(o,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function il(r,o){let f=r;for(const d in o)f=f.replace(new RegExp(`{=${d}}`,"g"),o[d]);return f}function Ku(r){var o;let f;if(r instanceof Date)f=r;else if(In(r)){const{config:d,format:m}=this;f=(o=m.dataTime(d.data_xFormat)(r))!=null?o:new Date(r)}else Ee(r)&&!isNaN(r)&&(f=new Date(+r));return(!f||isNaN(+f))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),f}function ul(){var r,o;return((r=document)==null?void 0:r.hidden)===!1||((o=document)==null?void 0:o.visibilityState)==="visible"}function fl(r,o){const{DocumentTouch:f,matchMedia:d,navigator:m}=window;let T=!1;if(o)if(m&&"maxTouchPoints"in m)T=m.maxTouchPoints>0;else if("ontouchmove"in window||f&&document instanceof f)T=!0;else if(d!=null&&d("(pointer:coarse)").matches)T=!0;else{const F=m.userAgent;T=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(F)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(F)}return r&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||T&&"touch"||"mouse"}function Xu(r,o){o()===!1?requestAnimationFrame(()=>Xu(r,o)):r()}function Ju(r){const o=this.config;let f,d,m;const T=()=>{const A=d.shift();if(A&&f&&Oe(f)&&A in f)return f=f[A],T();if(!A)return f};Object.keys(o).forEach(A=>{f=r,d=A.split("_"),m=T(),Ta(m)&&(o[A]=m)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,o,f)=>o in r?Qu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,Ae=(r,o,f)=>Zu(r,typeof o!="symbol"?o+"":o,f);class Ra{constructor(o={}){Ae(this,"$$"),Ae(this,"options"),this.options=o}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(o=>{this[o]=null,delete this[o]})}}Ae(Ra,"version","3.12.4-nightly-20240809004639");function ku(r){return r}var Qn=1,Zn=2,Re=3,An=4,Pa=1e-6;function qu(r){return"translate("+r+",0)"}function _u(r){return"translate(0,"+r+")"}function tf(r){return o=>+r(o)}function rf(r,o){return o=Math.max(0,r.bandwidth()-o*2)/2,r.round()&&(o=Math.round(o)),f=>+r(f)+o}function nf(){return!this.__axis}function kn(r,o){var f=[],d=null,m=null,T=6,A=6,F=3,L=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,$=r===Qn||r===An?-1:1,H=r===An||r===Zn?"x":"y",K=r===Qn||r===Re?qu:_u;function nt(st){var Vt=d==null?o.ticks?o.ticks.apply(o,f):o.domain():d,er=m==null?o.tickFormat?o.tickFormat.apply(o,f):ku:m,pt=Math.max(T,0)+F,Rt=o.range(),Ut=+Rt[0]+L,Mt=+Rt[Rt.length-1]+L,kt=(o.bandwidth?rf:tf)(o.copy(),L),Ht=st.selection?st.selection():st,cr=Ht.selectAll(".domain").data([null]),hr=Ht.selectAll(".tick").data(Vt,o).order(),ir=hr.exit(),Ir=hr.enter().append("g").attr("class","tick"),or=hr.select("line"),Dt=hr.select("text");cr=cr.merge(cr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),hr=hr.merge(Ir),or=or.merge(Ir.append("line").attr("stroke","currentColor").attr(H+"2",$*T)),Dt=Dt.merge(Ir.append("text").attr("fill","currentColor").attr(H,$*pt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),st!==Ht&&(cr=cr.transition(st),hr=hr.transition(st),or=or.transition(st),Dt=Dt.transition(st),ir=ir.transition(st).attr("opacity",Pa).attr("transform",function(fr){return isFinite(fr=kt(fr))?K(fr+L):this.getAttribute("transform")}),Ir.attr("opacity",Pa).attr("transform",function(fr){var nr=this.parentNode.__axis;return K((nr&&isFinite(nr=nr(fr))?nr:kt(fr))+L)})),ir.remove(),cr.attr("d",r===An||r===Zn?A?"M"+$*A+","+Ut+"H"+L+"V"+Mt+"H"+$*A:"M"+L+","+Ut+"V"+Mt:A?"M"+Ut+","+$*A+"V"+L+"H"+Mt+"V"+$*A:"M"+Ut+","+L+"H"+Mt),hr.attr("opacity",1).attr("transform",function(fr){return K(kt(fr)+L)}),or.attr(H+"2",$*T),Dt.attr(H,$*pt).text(er),Ht.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===An?"end":"middle"),Ht.each(function(){this.__axis=kt})}return nt.scale=function(st){return arguments.length?(o=st,nt):o},nt.ticks=function(){return f=Array.from(arguments),nt},nt.tickArguments=function(st){return arguments.length?(f=st==null?[]:Array.from(st),nt):f.slice()},nt.tickValues=function(st){return arguments.length?(d=st==null?null:Array.from(st),nt):d&&d.slice()},nt.tickFormat=function(st){return arguments.length?(m=st,nt):m},nt.tickSize=function(st){return arguments.length?(T=A=+st,nt):T},nt.tickSizeInner=function(st){return arguments.length?(T=+st,nt):T},nt.tickSizeOuter=function(st){return arguments.length?(A=+st,nt):A},nt.tickPadding=function(st){return arguments.length?(F=+st,nt):F},nt.offset=function(st){return arguments.length?(L=+st,nt):L},nt}function ll(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function cl(r){return kn(Re,r)}function vl(r){return kn(An,r)}function Ca(r){return function(o){return Math.sign(o)*Math.log1p(Math.abs(o/r))}}function Ma(r){return function(o){return Math.sign(o)*Math.expm1(Math.abs(o))*r}}function af(r){var o=1,f=r(Ca(o),Ma(o));return f.constant=function(d){return arguments.length?r(Ca(o=+d),Ma(o)):o},ae(f)}function Na(){var r=af(Fr());return r.copy=function(){return Qr(r,Na()).constant(r.constant())},Wr.apply(r,arguments)}var Hr={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},of=Object.defineProperty,sf=(r,o,f)=>o in r?of(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,ba=(r,o,f)=>sf(r,typeof o!="symbol"?o+"":o,f);class uf{constructor(o){ba(this,"owner"),ba(this,"colorScale"),this.owner=o}drawColorScale(){const{$$:o,config:f}=this.owner,d=o.data.targets[0],m=o.state.height-f.padding_bottom-f.padding_top,T=f.scale_width,A=5,F=Yu(f.padding_bottom,m,A),L=$e(d.colors).domain([F[F.length-1],F[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=o.$el.svg.append("g").attr("width",50).attr("height",m).attr("class",Hr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${f.padding_top})`).selectAll("bars").data(F).enter().append("rect").attr("y",(st,Vt)=>Vt*A).attr("x",0).attr("width",T).attr("height",A).attr("fill",st=>L(st));const $=Na().domain([d.minEpochs,d.maxEpochs]).range([F[0]+f.padding_top+F[F.length-1]+A-1,F[0]+f.padding_top]),H=ef($),K=f.scale_format;K==="pow10"?H.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(K)?H.tickFormat(K):H.tickFormat(bn("d"));const nt=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${T},0)`).call(H);K==="pow10"&&nt.selectAll(".tick text").text(null).filter(st=>st/Math.pow(10,Math.ceil(Math.log(st)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(st=>Math.round(Math.log(st)/Math.LN10)),this.colorScale.attr("transform",`translate(${o.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function ff(r,o){const f=r.x,d=r.value;let m=!1;for(let T=0,A=o.length-1;Td!=H>d&&f<($-F)*(d-L)/(H-L)+F&&(m=!m)}return m}function lf(r,o){return r.epochso.epochs?1:0}function cf(r){let o=0,f,d;for(let m=0,T=r.length,A=T-1;mo in r?vf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,hf=(r,o,f)=>df(r,typeof o!="symbol"?o+"":o,f);class gf{constructor(o){hf(this,"owner"),this.owner=o;const f=o.$$.$el.main.select(".bb-chart").append("g").attr("class",Hr.stanfordElements);f.append("g").attr("class",Hr.stanfordLines),f.append("g").attr("class",Hr.stanfordRegions)}updateStanfordLines(o){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,T=d.axis_rotated,A=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=m.select(`.${Hr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Hr.stanfordLine}`).data(this.owner.config.lines);L.exit().transition().duration(o).style("opacity","0").remove();const $=L.enter().append("g");$.append("line").style("opacity","0"),$.merge(L).attr("class",H=>Hr.stanfordLine+(H.class?` ${H.class}`:"")).select("line").transition().duration(o).attr("x1",H=>T?F(H,"y1"):A(H,"x1")).attr("x2",H=>T?F(H,"y2"):A(H,"x2")).attr("y1",H=>T?A(H,"x1"):F(H,"y1")).attr("y2",H=>T?A(H,"x2"):F(H,"y2")).transition().style("opacity",null)}updateStanfordRegions(o){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,T=d.axis_rotated,A=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=this.owner.countEpochsInRegion.bind(f);let $=m.select(`.${Hr.stanfordRegions}`).selectAll(`.${Hr.stanfordRegion}`).data(this.owner.config.regions);$.exit().transition().duration(o).style("opacity","0").remove();const H=$.enter().append("g");H.append("polygon").style("opacity","0"),H.append("text").attr("transform",T?"rotate(-90)":"").style("opacity","0"),$=H.merge($),$.attr("class",K=>Hr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(o).attr("points",K=>K.points.map(nt=>[T?F(nt,"y"):A(nt,"x"),T?A(nt,"x"):F(nt,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),$.select("text").transition().duration(o).attr("x",K=>T?F(qn(K.points),"y"):A(qn(K.points),"x")).attr("y",K=>T?A(qn(K.points),"x"):F(qn(K.points),"y")).text(K=>{if(K.text){const{value:nt,percentage:st}=L(K.points);return K.text(nt,st)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(o=0){this.updateStanfordLines(o),this.updateStanfordRegions(o)}xvCustom(o,f){const d=this,{axis:m,config:T}=d;let A=f?o[f]:d.getBaseValue(o);return m.isTimeSeries()?A=Ku.call(d,A):m.isCategorized()&&In(A)&&(A=T.axis_x_categories.indexOf(o.value)),Math.ceil(d.scale.x(A))}yvCustom(o,f){const d=this,m=o.axis&&o.axis==="y2"?d.scale.y2:d.scale.y,T=f?o[f]:d.getBaseValue(o);return Math.ceil(m(T))}}class Fa{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var pf=Object.defineProperty,yf=(r,o,f)=>o in r?pf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,Pe=(r,o,f)=>yf(r,typeof o!="symbol"?o+"":o,f);class mf extends Ra{constructor(o){return super(o),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Fa,this}$beforeInit(){const{$$:o}=this;o.config.data_xSort=!1,o.isMultipleX=()=>!0,o.showGridFocus=()=>{},o.labelishData=d=>d.values,o.opacityForCircle=()=>1;const f=o.getCurrentPadding.bind(o);o.getCurrentPadding=()=>{const d=f();return d.right+=this.colorScale?this.colorScale.getColorScalePadding():0,d}}$init(){const{$$:o}=this;Ju.call(this,this.options),o.color=this.getStanfordPointColor.bind(o),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(o){var f,d;(f=this.colorScale)==null||f.drawColorScale(),(d=this.elements)==null||d.updateStanfordElements(o)}getOptions(){return new Fa}convertData(){const o=this.$$.data.targets,f=this.options.epochs;o.forEach(d=>{d.values.forEach((m,T)=>{m.epochs=f[T]}),d.minEpochs=void 0,d.maxEpochs=void 0,d.colors=void 0,d.colorscale=void 0})}initStanfordData(){const{config:o}=this,f=this.$$.data.targets[0];f.values.sort(lf);const d=f.values.map(m=>m.epochs);f.minEpochs=isNaN(o.scale_min)?Math.min(...d):o.scale_min,f.maxEpochs=isNaN(o.scale_max)?Math.max(...d):o.scale_max,f.colors=Se(o.colors)?o.colors:Lt(ot(250,1,.5),ot(0,1,.5)),f.colorscale=Be(f.colors).domain([f.minEpochs,f.maxEpochs])}getStanfordPointColor(o){return this.data.targets[0].colorscale(o.epochs)}setStanfordTooltip(){const{config:o}=this.$$;Ia(o.tooltip_contents)&&(o.tooltip_contents=function(f,d,m,T){const{data_x:A}=o;let F=`
${a||""} ${o(g)}
`;return f.forEach(L=>{const{id:$="",value:H=0,epochs:K=0,x:nt=""}=L;F+=` +`),A=d?T.length-1:1;r.html(""),T.forEach((F,L)=>{r.append("tspan").attr("x",0).attr("dy",`${L===0?f[0]*A:f[1]}em`).text(F)})}}}function Gu(r){const{x:o,y:f,width:d,height:m}=r.getBBox();return[{x:o,y:f+m},{x:o,y:f},{x:o+d,y:f},{x:o+d,y:f+m}]}function Yf(r){const{width:o,height:f}=r.getBoundingClientRect(),d=Gu(r),m=d[0].x,T=Math.min(d[0].y,d[1].y);return{x:m,y:T,width:o,height:f}}function Kf(r,o){var f;const d=r&&((f=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:f[0]);let m=[0,0];try{m=d3Pointer(d||r,o)}catch(T){}return m.map(T=>isNaN(T)?0:T)}function Vu(r){const{event:o,$el:f}=r,d=f.subchart.main||f.main;let m;return o&&o.type==="brush"?m=o.selection:d&&(m=d.select(".bb-brush").node())&&(m=d3BrushSelection(m)),m}function Xf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Jf(r=!0,o=0,f=1e4){const d=window.crypto||window.msCrypto,m=d?o+d.getRandomValues(new Uint32Array(1))[0]%(f-o+1):Math.floor(Math.random()*(f-o)+o);return r?String(m):m}function Aa(r,o,f,d,m){if(f>d)return-1;const T=Math.floor((f+d)/2);let{x:A,w:F=0}=r[T];return m&&(A=r[T].y,F=r[T].h),o>=A&&o<=A+F?T:o{if(Jn(f)&&f.constructor){const d=new f.constructor;for(const m in f)d[m]=o(f[m]);return d}return f};return r.map(f=>o(f)).reduce((f,d)=>Oa(Oa({},f),d))}function Hu(r={},o){Te(o)&&o.forEach(f=>Hu(r,f));for(const f in o)/^\d+$/.test(f)||f in r||(r[f]=o[f]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,o="-"){return r.split(o).map((f,d)=>d?f.charAt(0).toUpperCase()+f.slice(1).toLowerCase():f.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,o,f){const{rootSelector:d="",sheet:m}=r,A=`${d} ${(F=>F.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(o)} {${f.join(";")}}`;return m[m.insertRule?"insertRule":"addRule"](A,m.cssRules.length)}function tl(r){let o=[];return r.forEach(f=>{var d;try{f.cssRules&&f.cssRules.length&&(o=o.concat(Wu(f.cssRules)))}catch(m){(d=window.console)==null||d.warn(`Error while reading rules from ${f.href}: ${m.toString()}`)}}),o}function rl(r){var o,f,d,m,T,A;return{x:((f=(o=window.pageXOffset)!=null?o:window.scrollX)!=null?f:0)+((d=r.scrollLeft)!=null?d:0),y:((T=(m=window.pageYOffset)!=null?m:window.scrollY)!=null?T:0)+((A=r.scrollTop)!=null?A:0)}}function nl(r){const o=r?r.transform:null,f=o&&o.baseVal;return f&&f.numberOfItems?f.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function el(r){const o=r[0]instanceof Date,f=(o?r.map(Number):r).filter((d,m,T)=>T.indexOf(d)===m);return o?f.map(d=>new Date(d)):f}function al(r){return r&&r.length?r.reduce((o,f)=>o.concat(f)):[]}function Ie(r,...o){if(!o.length||o.length===1&&!o[0])return r;const f=o.shift();return Jn(r)&&Jn(f)&&Object.keys(f).forEach(d=>{const m=f[d];Jn(m)?(!r[d]&&(r[d]={}),r[d]=Ie(r[d],m)):r[d]=Te(m)?m.concat():m}),Ie(r,...o)}function zu(r,o=!0){let f;return r[0]instanceof Date?f=o?(d,m)=>d-m:(d,m)=>m-d:o&&!r.every(isNaN)?f=(d,m)=>d-m:o||(f=(d,m)=>d>m&&-1||dwu(d));return f.length?Ee(f[0])?f=Math[r](...f):f[0]instanceof Date&&(f=zu(f,r==="min")[0]):f=void 0,f}const Yu=(r,o,f=1)=>{const d=[],m=Math.max(0,Math.ceil((o-r)/f))|0;for(let T=r;T{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(o,f,d=r())=>{o.dispatchEvent(new MouseEvent(f,d))}}catch(o){return(f,d,m=r())=>{const T=Lu.createEvent("MouseEvent");T.initMouseEvent(d,m.bubbles,m.cancelable,Xn,0,m.screenX,m.screenY,m.clientX,m.clientY,!1,!1,!1,!1,0,null),f.dispatchEvent(T)}}})(),touch:(r,o,f)=>{const d=new Touch(Ie({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},f));r.dispatchEvent(new TouchEvent(o,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function il(r,o){let f=r;for(const d in o)f=f.replace(new RegExp(`{=${d}}`,"g"),o[d]);return f}function Ku(r){var o;let f;if(r instanceof Date)f=r;else if(In(r)){const{config:d,format:m}=this;f=(o=m.dataTime(d.data_xFormat)(r))!=null?o:new Date(r)}else Ee(r)&&!isNaN(r)&&(f=new Date(+r));return(!f||isNaN(+f))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),f}function ul(){var r,o;return((r=document)==null?void 0:r.hidden)===!1||((o=document)==null?void 0:o.visibilityState)==="visible"}function fl(r,o){const{DocumentTouch:f,matchMedia:d,navigator:m}=window;let T=!1;if(o)if(m&&"maxTouchPoints"in m)T=m.maxTouchPoints>0;else if("ontouchmove"in window||f&&document instanceof f)T=!0;else if(d!=null&&d("(pointer:coarse)").matches)T=!0;else{const F=m.userAgent;T=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(F)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(F)}return r&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||T&&"touch"||"mouse"}function Xu(r,o){o()===!1?requestAnimationFrame(()=>Xu(r,o)):r()}function Ju(r){const o=this.config;let f,d,m;const T=()=>{const A=d.shift();if(A&&f&&Oe(f)&&A in f)return f=f[A],T();if(!A)return f};Object.keys(o).forEach(A=>{f=r,d=A.split("_"),m=T(),Ta(m)&&(o[A]=m)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,o,f)=>o in r?Qu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,Ae=(r,o,f)=>Zu(r,typeof o!="symbol"?o+"":o,f);class Ra{constructor(o={}){Ae(this,"$$"),Ae(this,"options"),this.options=o}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(o=>{this[o]=null,delete this[o]})}}Ae(Ra,"version","3.12.4-nightly-20240813004629");function ku(r){return r}var Qn=1,Zn=2,Re=3,An=4,Pa=1e-6;function qu(r){return"translate("+r+",0)"}function _u(r){return"translate(0,"+r+")"}function tf(r){return o=>+r(o)}function rf(r,o){return o=Math.max(0,r.bandwidth()-o*2)/2,r.round()&&(o=Math.round(o)),f=>+r(f)+o}function nf(){return!this.__axis}function kn(r,o){var f=[],d=null,m=null,T=6,A=6,F=3,L=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,$=r===Qn||r===An?-1:1,H=r===An||r===Zn?"x":"y",K=r===Qn||r===Re?qu:_u;function nt(st){var Vt=d==null?o.ticks?o.ticks.apply(o,f):o.domain():d,er=m==null?o.tickFormat?o.tickFormat.apply(o,f):ku:m,pt=Math.max(T,0)+F,Rt=o.range(),Ut=+Rt[0]+L,Mt=+Rt[Rt.length-1]+L,kt=(o.bandwidth?rf:tf)(o.copy(),L),Ht=st.selection?st.selection():st,cr=Ht.selectAll(".domain").data([null]),hr=Ht.selectAll(".tick").data(Vt,o).order(),ir=hr.exit(),Ir=hr.enter().append("g").attr("class","tick"),or=hr.select("line"),Dt=hr.select("text");cr=cr.merge(cr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),hr=hr.merge(Ir),or=or.merge(Ir.append("line").attr("stroke","currentColor").attr(H+"2",$*T)),Dt=Dt.merge(Ir.append("text").attr("fill","currentColor").attr(H,$*pt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),st!==Ht&&(cr=cr.transition(st),hr=hr.transition(st),or=or.transition(st),Dt=Dt.transition(st),ir=ir.transition(st).attr("opacity",Pa).attr("transform",function(fr){return isFinite(fr=kt(fr))?K(fr+L):this.getAttribute("transform")}),Ir.attr("opacity",Pa).attr("transform",function(fr){var nr=this.parentNode.__axis;return K((nr&&isFinite(nr=nr(fr))?nr:kt(fr))+L)})),ir.remove(),cr.attr("d",r===An||r===Zn?A?"M"+$*A+","+Ut+"H"+L+"V"+Mt+"H"+$*A:"M"+L+","+Ut+"V"+Mt:A?"M"+Ut+","+$*A+"V"+L+"H"+Mt+"V"+$*A:"M"+Ut+","+L+"H"+Mt),hr.attr("opacity",1).attr("transform",function(fr){return K(kt(fr)+L)}),or.attr(H+"2",$*T),Dt.attr(H,$*pt).text(er),Ht.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===An?"end":"middle"),Ht.each(function(){this.__axis=kt})}return nt.scale=function(st){return arguments.length?(o=st,nt):o},nt.ticks=function(){return f=Array.from(arguments),nt},nt.tickArguments=function(st){return arguments.length?(f=st==null?[]:Array.from(st),nt):f.slice()},nt.tickValues=function(st){return arguments.length?(d=st==null?null:Array.from(st),nt):d&&d.slice()},nt.tickFormat=function(st){return arguments.length?(m=st,nt):m},nt.tickSize=function(st){return arguments.length?(T=A=+st,nt):T},nt.tickSizeInner=function(st){return arguments.length?(T=+st,nt):T},nt.tickSizeOuter=function(st){return arguments.length?(A=+st,nt):A},nt.tickPadding=function(st){return arguments.length?(F=+st,nt):F},nt.offset=function(st){return arguments.length?(L=+st,nt):L},nt}function ll(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function cl(r){return kn(Re,r)}function vl(r){return kn(An,r)}function Ca(r){return function(o){return Math.sign(o)*Math.log1p(Math.abs(o/r))}}function Ma(r){return function(o){return Math.sign(o)*Math.expm1(Math.abs(o))*r}}function af(r){var o=1,f=r(Ca(o),Ma(o));return f.constant=function(d){return arguments.length?r(Ca(o=+d),Ma(o)):o},ae(f)}function Na(){var r=af(Fr());return r.copy=function(){return Qr(r,Na()).constant(r.constant())},Wr.apply(r,arguments)}var Hr={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},of=Object.defineProperty,sf=(r,o,f)=>o in r?of(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,ba=(r,o,f)=>sf(r,typeof o!="symbol"?o+"":o,f);class uf{constructor(o){ba(this,"owner"),ba(this,"colorScale"),this.owner=o}drawColorScale(){const{$$:o,config:f}=this.owner,d=o.data.targets[0],m=o.state.height-f.padding_bottom-f.padding_top,T=f.scale_width,A=5,F=Yu(f.padding_bottom,m,A),L=$e(d.colors).domain([F[F.length-1],F[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=o.$el.svg.append("g").attr("width",50).attr("height",m).attr("class",Hr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${f.padding_top})`).selectAll("bars").data(F).enter().append("rect").attr("y",(st,Vt)=>Vt*A).attr("x",0).attr("width",T).attr("height",A).attr("fill",st=>L(st));const $=Na().domain([d.minEpochs,d.maxEpochs]).range([F[0]+f.padding_top+F[F.length-1]+A-1,F[0]+f.padding_top]),H=ef($),K=f.scale_format;K==="pow10"?H.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(K)?H.tickFormat(K):H.tickFormat(bn("d"));const nt=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${T},0)`).call(H);K==="pow10"&&nt.selectAll(".tick text").text(null).filter(st=>st/Math.pow(10,Math.ceil(Math.log(st)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(st=>Math.round(Math.log(st)/Math.LN10)),this.colorScale.attr("transform",`translate(${o.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function ff(r,o){const f=r.x,d=r.value;let m=!1;for(let T=0,A=o.length-1;Td!=H>d&&f<($-F)*(d-L)/(H-L)+F&&(m=!m)}return m}function lf(r,o){return r.epochso.epochs?1:0}function cf(r){let o=0,f,d;for(let m=0,T=r.length,A=T-1;mo in r?vf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,hf=(r,o,f)=>df(r,typeof o!="symbol"?o+"":o,f);class gf{constructor(o){hf(this,"owner"),this.owner=o;const f=o.$$.$el.main.select(".bb-chart").append("g").attr("class",Hr.stanfordElements);f.append("g").attr("class",Hr.stanfordLines),f.append("g").attr("class",Hr.stanfordRegions)}updateStanfordLines(o){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,T=d.axis_rotated,A=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=m.select(`.${Hr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Hr.stanfordLine}`).data(this.owner.config.lines);L.exit().transition().duration(o).style("opacity","0").remove();const $=L.enter().append("g");$.append("line").style("opacity","0"),$.merge(L).attr("class",H=>Hr.stanfordLine+(H.class?` ${H.class}`:"")).select("line").transition().duration(o).attr("x1",H=>T?F(H,"y1"):A(H,"x1")).attr("x2",H=>T?F(H,"y2"):A(H,"x2")).attr("y1",H=>T?A(H,"x1"):F(H,"y1")).attr("y2",H=>T?A(H,"x2"):F(H,"y2")).transition().style("opacity",null)}updateStanfordRegions(o){const{$$:f}=this.owner,{config:d,$el:{main:m}}=f,T=d.axis_rotated,A=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=this.owner.countEpochsInRegion.bind(f);let $=m.select(`.${Hr.stanfordRegions}`).selectAll(`.${Hr.stanfordRegion}`).data(this.owner.config.regions);$.exit().transition().duration(o).style("opacity","0").remove();const H=$.enter().append("g");H.append("polygon").style("opacity","0"),H.append("text").attr("transform",T?"rotate(-90)":"").style("opacity","0"),$=H.merge($),$.attr("class",K=>Hr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(o).attr("points",K=>K.points.map(nt=>[T?F(nt,"y"):A(nt,"x"),T?A(nt,"x"):F(nt,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),$.select("text").transition().duration(o).attr("x",K=>T?F(qn(K.points),"y"):A(qn(K.points),"x")).attr("y",K=>T?A(qn(K.points),"x"):F(qn(K.points),"y")).text(K=>{if(K.text){const{value:nt,percentage:st}=L(K.points);return K.text(nt,st)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(o=0){this.updateStanfordLines(o),this.updateStanfordRegions(o)}xvCustom(o,f){const d=this,{axis:m,config:T}=d;let A=f?o[f]:d.getBaseValue(o);return m.isTimeSeries()?A=Ku.call(d,A):m.isCategorized()&&In(A)&&(A=T.axis_x_categories.indexOf(o.value)),Math.ceil(d.scale.x(A))}yvCustom(o,f){const d=this,m=o.axis&&o.axis==="y2"?d.scale.y2:d.scale.y,T=f?o[f]:d.getBaseValue(o);return Math.ceil(m(T))}}class Fa{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var pf=Object.defineProperty,yf=(r,o,f)=>o in r?pf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[o]=f,Pe=(r,o,f)=>yf(r,typeof o!="symbol"?o+"":o,f);class mf extends Ra{constructor(o){return super(o),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Fa,this}$beforeInit(){const{$$:o}=this;o.config.data_xSort=!1,o.isMultipleX=()=>!0,o.showGridFocus=()=>{},o.labelishData=d=>d.values,o.opacityForCircle=()=>1;const f=o.getCurrentPadding.bind(o);o.getCurrentPadding=()=>{const d=f();return d.right+=this.colorScale?this.colorScale.getColorScalePadding():0,d}}$init(){const{$$:o}=this;Ju.call(this,this.options),o.color=this.getStanfordPointColor.bind(o),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(o){var f,d;(f=this.colorScale)==null||f.drawColorScale(),(d=this.elements)==null||d.updateStanfordElements(o)}getOptions(){return new Fa}convertData(){const o=this.$$.data.targets,f=this.options.epochs;o.forEach(d=>{d.values.forEach((m,T)=>{m.epochs=f[T]}),d.minEpochs=void 0,d.maxEpochs=void 0,d.colors=void 0,d.colorscale=void 0})}initStanfordData(){const{config:o}=this,f=this.$$.data.targets[0];f.values.sort(lf);const d=f.values.map(m=>m.epochs);f.minEpochs=isNaN(o.scale_min)?Math.min(...d):o.scale_min,f.maxEpochs=isNaN(o.scale_max)?Math.max(...d):o.scale_max,f.colors=Se(o.colors)?o.colors:Lt(ot(250,1,.5),ot(0,1,.5)),f.colorscale=Be(f.colors).domain([f.minEpochs,f.maxEpochs])}getStanfordPointColor(o){return this.data.targets[0].colorscale(o.epochs)}setStanfordTooltip(){const{config:o}=this.$$;Ia(o.tooltip_contents)&&(o.tooltip_contents=function(f,d,m,T){const{data_x:A}=o;let F=`
`;return f.forEach(L=>{const{id:$="",value:H=0,epochs:K=0,x:nt=""}=L;F+=` diff --git a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js index 987dba4e2..0af9e320d 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -22767,7 +22767,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/tableview/const.ts diff --git a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js index 73a47cfc7..3fb9249dc 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(Kr,Nr){typeof exports=="object"&&typeof module=="object"?module.exports=Nr():typeof define=="function"&&define.amd?define("bb",[],Nr):typeof exports=="object"?exports.bb=Nr():(Kr.bb=Kr.bb||{},Kr.bb.plugin=Kr.bb.plugin||{},Kr.bb.plugin["tableview.pkgd"]=Nr())})(this,function(){return function(){"use strict";var Re={72611:function(i,d,t){t.d(d,{default:function(){return Bs}});function r(){}function n(e){return e==null?r:function(){return this.querySelector(e)}}function a(e){typeof e!="function"&&(e=n(e));for(var f=this._groups,h=f.length,E=new Array(h),O=0;O=Bt&&(Bt=Wt+1);!(tr=mt[Bt])&&++Bt=0;)(L=E[O])&&(M&&L.compareDocumentPosition(M)^4&&M.parentNode.insertBefore(L,M),M=L);return this}function q(e){e||(e=J);function f(Et,Ct){return Et&&Ct?e(Et.__data__,Ct.__data__):!Et-!Ct}for(var h=this._groups,E=h.length,O=new Array(E),M=0;Mf?1:e>=f?0:NaN}function et(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function _(){return Array.from(this)}function dt(){for(var e=this._groups,f=0,h=e.length;f=0&&(f=e.slice(0,h))!=="xmlns"&&(e=e.slice(h+1)),Ht.hasOwnProperty(f)?{space:Ht[f],local:e}:e}function Lt(e){return function(){this.removeAttribute(e)}}function vt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function gt(e,f){return function(){this.setAttribute(e,f)}}function Pt(e,f){return function(){this.setAttributeNS(e.space,e.local,f)}}function Dt(e,f){return function(){var h=f.apply(this,arguments);h==null?this.removeAttribute(e):this.setAttribute(e,h)}}function Nt(e,f){return function(){var h=f.apply(this,arguments);h==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,h)}}function Ut(e,f){var h=bt(e);if(arguments.length<2){var E=this.node();return h.local?E.getAttributeNS(h.space,h.local):E.getAttribute(h)}return this.each((f==null?h.local?vt:Lt:typeof f=="function"?h.local?Nt:Dt:h.local?Pt:gt)(h,f))}function Zt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function kt(e){return function(){this.style.removeProperty(e)}}function Jt(e,f,h){return function(){this.style.setProperty(e,f,h)}}function $t(e,f,h){return function(){var E=f.apply(this,arguments);E==null?this.style.removeProperty(e):this.style.setProperty(e,E,h)}}function Qt(e,f,h){return arguments.length>1?this.each((f==null?kt:typeof f=="function"?$t:Jt)(e,f,h==null?"":h)):Vt(this.node(),e)}function Vt(e,f){return e.style.getPropertyValue(f)||Zt(e).getComputedStyle(e,null).getPropertyValue(f)}function jt(e){return function(){delete this[e]}}function st(e,f){return function(){this[e]=f}}function ht(e,f){return function(){var h=f.apply(this,arguments);h==null?delete this[e]:this[e]=h}}function tt(e,f){return arguments.length>1?this.each((f==null?jt:typeof f=="function"?ht:st)(e,f)):this.node()[e]}function Tt(e){return e.trim().split(/^|\s+/)}function It(e){return e.classList||new xt(e)}function xt(e){this._node=e,this._names=Tt(e.getAttribute("class")||"")}xt.prototype={add:function(e){var f=this._names.indexOf(e);f<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var f=this._names.indexOf(e);f>=0&&(this._names.splice(f,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function yt(e,f){for(var h=It(e),E=-1,O=f.length;++E=0&&(h=f.slice(E+1),f=f.slice(0,E)),{type:f,name:h}})}function dr(e){return function(){var f=this.__on;if(f){for(var h=0,E=-1,O=f.length,M;h{}};function Ir(){for(var e=0,f=arguments.length,h={},E;e=0&&(E=h.slice(O+1),h=h.slice(0,O)),h&&!f.hasOwnProperty(h))throw new Error("unknown type: "+h);return{type:h,name:E}})}it.prototype=Ir.prototype={constructor:it,on:function(e,f){var h=this._,E=sr(e+"",h),O,M=-1,L=E.length;if(arguments.length<2){for(;++M0)for(var h=new Array(O),E=0,O,M;E=0&&e._call.call(void 0,f),e=e._next;--Gr}function Me(){tn=(Un=En.now())+Bn,Gr=Vr=0;try{Ea()}finally{Gr=0,Ta(),tn=0}}function Oa(){var e=En.now(),f=e-Un;f>Pe&&(Bn-=f,Un=e)}function Ta(){for(var e,f=bn,h,E=1/0;f;)f._call?(E>f._time&&(E=f._time),e=f,f=f._next):(h=f._next,f._next=null,f=e?e._next=h:bn=h);Sn=e,se(E)}function se(e){if(!Gr){Vr&&(Vr=clearTimeout(Vr));var f=e-tn;f>24?(e<1/0&&(Vr=setTimeout(Me,e-En.now()-Bn)),xn&&(xn=clearInterval(xn))):(xn||(Un=En.now(),xn=setInterval(Oa,Pe)),Gr=1,Ce(Me))}}function De(e,f,h){var E=new jn;return f=f==null?0:+f,E.restart(O=>{E.stop(),e(O+f)},f,h),E}var Ia=$n("start","end","cancel","interrupt"),Aa=[],Fe=0,Le=1,ie=2,wn=3,$e=4,ue=5,Gn=6;function Vn(e,f,h,E,O,M){var L=e.__transition;if(!L)e.__transition={};else if(h in L)return;Ra(e,h,{name:f,index:E,group:O,on:Ia,tween:Aa,time:M.time,delay:M.delay,duration:M.duration,ease:M.ease,timer:null,state:Fe})}function fe(e,f){var h=Lr(e,f);if(h.state>Fe)throw new Error("too late; already scheduled");return h}function Ur(e,f){var h=Lr(e,f);if(h.state>wn)throw new Error("too late; already running");return h}function Lr(e,f){var h=e.__transition;if(!h||!(h=h[f]))throw new Error("transition not found");return h}function Ra(e,f,h){var E=e.__transition,O;E[f]=h,h.timer=Ne(M,0,h.time);function M(rt){h.state=Le,h.timer.restart(L,h.delay,h.time),h.delay<=rt&&L(rt-h.delay)}function L(rt){var nt,Et,Ct,Gt;if(h.state!==Le)return K();for(nt in E)if(Gt=E[nt],Gt.name===h.name){if(Gt.state===wn)return De(L);Gt.state===$e?(Gt.state=Gn,Gt.timer.stop(),Gt.on.call("interrupt",e,e.__data__,Gt.index,Gt.group),delete E[nt]):+ntie&&E.state180?nt+=360:nt-rt>180&&(rt+=360),Ct.push({i:Et.push(O(Et)+"rotate(",null,E)-2,x:Qr(rt,nt)})):nt&&Et.push(O(Et)+"rotate("+nt+E)}function G(rt,nt,Et,Ct){rt!==nt?Ct.push({i:Et.push(O(Et)+"skewX(",null,E)-2,x:Qr(rt,nt)}):nt&&Et.push(O(Et)+"skewX("+nt+E)}function K(rt,nt,Et,Ct,Gt,or){if(rt!==Et||nt!==Ct){var hr=Gt.push(O(Gt)+"scale(",null,",",null,")");or.push({i:hr-4,x:Qr(rt,Et)},{i:hr-2,x:Qr(nt,Ct)})}else(Et!==1||Ct!==1)&&Gt.push(O(Gt)+"scale("+Et+","+Ct+")")}return function(rt,nt){var Et=[],Ct=[];return rt=e(rt),nt=e(nt),M(rt.translateX,rt.translateY,nt.translateX,nt.translateY,Et,Ct),L(rt.rotate,nt.rotate,Et,Ct),G(rt.skewX,nt.skewX,Et,Ct),K(rt.scaleX,rt.scaleY,nt.scaleX,nt.scaleY,Et,Ct),rt=nt=null,function(Gt){for(var or=-1,hr=Ct.length,mt;++or>8&15|f>>4&240,f>>4&15|f&240,(f&15)<<4|f&15,1):h===8?zn(f>>24&255,f>>16&255,f>>8&255,(f&255)/255):h===4?zn(f>>12&15|f>>8&240,f>>8&15|f>>4&240,f>>4&15|f&240,((f&15)<<4|f&15)/255):null):(f=Ba.exec(e))?new Pr(f[1],f[2],f[3],1):(f=ja.exec(e))?new Pr(f[1]*255/100,f[2]*255/100,f[3]*255/100,1):(f=wa.exec(e))?zn(f[1],f[2],f[3],f[4]):(f=Ga.exec(e))?zn(f[1]*255/100,f[2]*255/100,f[3]*255/100,f[4]):(f=Va.exec(e))?Ke(f[1],f[2]/100,f[3]/100,1):(f=Ha.exec(e))?Ke(f[1],f[2]/100,f[3]/100,f[4]):we.hasOwnProperty(e)?He(we[e]):e==="transparent"?new Pr(NaN,NaN,NaN,0):null}function He(e){return new Pr(e>>16&255,e>>8&255,e&255,1)}function zn(e,f,h,E){return E<=0&&(e=f=h=NaN),new Pr(e,f,h,E)}function Ka(e){return e instanceof On||(e=An(e)),e?(e=e.rgb(),new Pr(e.r,e.g,e.b,e.opacity)):new Pr}function Kn(e,f,h,E){return arguments.length===1?Ka(e):new Pr(e,f,h,E==null?1:E)}function Pr(e,f,h,E){this.r=+e,this.g=+f,this.b=+h,this.opacity=+E}ce(Pr,Kn,je(On,{brighter(e){return e=e==null?Wn:Math.pow(Wn,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new Pr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Pr(rn(this.r),rn(this.g),rn(this.b),Yn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:We,formatHex:We,formatHex8:Ya,formatRgb:ze,toString:ze}));function We(){return`#${nn(this.r)}${nn(this.g)}${nn(this.b)}`}function Ya(){return`#${nn(this.r)}${nn(this.g)}${nn(this.b)}${nn((isNaN(this.opacity)?1:this.opacity)*255)}`}function ze(){const e=Yn(this.opacity);return`${e===1?"rgb(":"rgba("}${rn(this.r)}, ${rn(this.g)}, ${rn(this.b)}${e===1?")":`, ${e})`}`}function Yn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function rn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function nn(e){return e=rn(e),(e<16?"0":"")+e.toString(16)}function Ke(e,f,h,E){return E<=0?e=f=h=NaN:h<=0||h>=1?e=f=NaN:f<=0&&(e=NaN),new $r(e,f,h,E)}function Ye(e){if(e instanceof $r)return new $r(e.h,e.s,e.l,e.opacity);if(e instanceof On||(e=An(e)),!e)return new $r;if(e instanceof $r)return e;e=e.rgb();var f=e.r/255,h=e.g/255,E=e.b/255,O=Math.min(f,h,E),M=Math.max(f,h,E),L=NaN,G=M-O,K=(M+O)/2;return G?(f===M?L=(h-E)/G+(h0&&K<1?0:L,new $r(L,G,K,e.opacity)}function Xa(e,f,h,E){return arguments.length===1?Ye(e):new $r(e,f,h,E==null?1:E)}function $r(e,f,h,E){this.h=+e,this.s=+f,this.l=+h,this.opacity=+E}ce($r,Xa,je(On,{brighter(e){return e=e==null?Wn:Math.pow(Wn,e),new $r(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new $r(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,f=isNaN(e)||isNaN(this.s)?0:this.s,h=this.l,E=h+(h<.5?h:1-h)*f,O=2*h-E;return new Pr(de(e>=240?e-240:e+120,O,E),de(e,O,E),de(e<120?e+240:e-120,O,E),this.opacity)},clamp(){return new $r(Xe(this.h),Xn(this.s),Xn(this.l),Yn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Yn(this.opacity);return`${e===1?"hsl(":"hsla("}${Xe(this.h)}, ${Xn(this.s)*100}%, ${Xn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Xe(e){return e=(e||0)%360,e<0?e+360:e}function Xn(e){return Math.max(0,Math.min(1,e||0))}function de(e,f,h){return(e<60?f+(h-f)*e/60:e<180?h:e<240?f+(h-f)*(240-e)/60:f)*255}function Je(e,f,h,E,O){var M=e*e,L=M*e;return((1-3*e+3*M-L)*f+(4-6*M+3*L)*h+(1+3*e+3*M-3*L)*E+L*O)/6}function Ja(e){var f=e.length-1;return function(h){var E=h<=0?h=0:h>=1?(h=1,f-1):Math.floor(h*f),O=e[E],M=e[E+1],L=E>0?e[E-1]:2*O-M,G=E()=>e;function Ze(e,f){return function(h){return e+h*f}}function Za(e,f,h){return e=Math.pow(e,h),f=Math.pow(f,h)-e,h=1/h,function(E){return Math.pow(e+E*f,h)}}function Gs(e,f){var h=f-e;return h?Ze(e,h>180||h<-180?h-360*Math.round(h/360):h):constant(isNaN(e)?f:e)}function ka(e){return(e=+e)==1?ke:function(f,h){return h-f?Za(f,h,e):Qe(isNaN(f)?h:f)}}function ke(e,f){var h=f-e;return h?Ze(e,h):Qe(isNaN(e)?f:e)}var qe=function e(f){var h=ka(f);function E(O,M){var L=h((O=Kn(O)).r,(M=Kn(M)).r),G=h(O.g,M.g),K=h(O.b,M.b),rt=ke(O.opacity,M.opacity);return function(nt){return O.r=L(nt),O.g=G(nt),O.b=K(nt),O.opacity=rt(nt),O+""}}return E.gamma=e,E}(1);function _e(e){return function(f){var h=f.length,E=new Array(h),O=new Array(h),M=new Array(h),L,G;for(L=0;Lh&&(M=f.slice(h,M),G[L]?G[L]+=M:G[++L]=M),(E=E[0])===(O=O[0])?G[L]?G[L]+=O:G[++L]=O:(G[++L]=null,K.push({i:L,x:Qr(E,O)})),h=ge.lastIndex;return h=0&&(f=f.slice(0,h)),!f||f==="start"})}function Po(e,f,h){var E,O,M=Ro(f)?fe:Ur;return function(){var L=M(this,e),G=L.on;G!==E&&(O=(E=G).copy()).on(f,h),L.on=O}}function Co(e,f){var h=this._id;return arguments.length<2?Lr(this.node(),h).on.on(e):this.each(Po(h,e,f))}function No(e){return function(){var f=this.parentNode;for(var h in this.__transition)if(+h!==e)return;f&&f.removeChild(this)}}function Mo(){return this.on("end.remove",No(this._id))}function Do(e){var f=this._name,h=this._id;typeof e!="function"&&(e=n(e));for(var E=this._groups,O=E.length,M=new Array(O),L=0;L{const cr=Xt.identifier;return Xt=pointer(Xt,wt),Xt.point0=Xt.slice(),Xt.identifier=cr,Xt});interrupt(wt);var Cn=nt(wt,arguments,!0).beforestart();if(Wt==="overlay"){fr&&(Ae=!0);const Xt=[Cr[0],Cr[1]||Cr[0]];Ar.selection=fr=[[ir=e===Qn?br:Tr(Xt[0][0],Xt[1][0]),yr=e===Jn?Zr:Tr(Xt[0][1],Xt[1][1])],[mr=e===Qn?kr:Or(Xt[0][0],Xt[1][0]),Sr=e===Jn?qr:Or(Xt[0][1],Xt[1][1])]],Cr.length>1&&en(mt)}else ir=fr[0][0],yr=fr[0][1],mr=fr[1][0],Sr=fr[1][1];gr=ir,pr=yr,xr=mr,Er=Sr;var ya=select(wt).attr("pointer-events","none"),Nn=ya.selectAll(".overlay").attr("cursor",zr[Wt]);if(mt.touches)Cn.moved=ma,Cn.ended=xa;else{var pa=select(mt.view).on("mousemove.brush",ma,!0).on("mouseup.brush",xa,!0);O&&pa.on("keydown.brush",js,!0).on("keyup.brush",ws,!0),dragDisable(mt.view)}rt.call(wt),Cn.start(mt,Bt.name);function ma(Xt){for(const cr of Xt.changedTouches||[Xt])for(const Mn of Cr)Mn.identifier===cr.identifier&&(Mn.cur=pointer(cr,wt));if(re&&!ne&&!ee&&Cr.length===1){const cr=Cr[0];aa(cr.cur[0]-cr[0])>aa(cr.cur[1]-cr[1])?ee=!0:ne=!0}for(const cr of Cr)cr.cur&&(cr[0]=cr.cur[0],cr[1]=cr.cur[1]);Ae=!0,noevent(Xt),en(Xt)}function en(Xt){const cr=Cr[0],Mn=cr.point0;var _r;switch(lr=cr[0]-Mn[0],vr=cr[1]-Mn[1],Bt){case ye:case ea:{qt&&(lr=Or(br-ir,Tr(kr-mr,lr)),gr=ir+lr,xr=mr+lr),tr&&(vr=Or(Zr-yr,Tr(qr-Sr,vr)),pr=yr+vr,Er=Sr+vr);break}case ln:{Cr[1]?(qt&&(gr=Or(br,Tr(kr,Cr[0][0])),xr=Or(br,Tr(kr,Cr[1][0])),qt=1),tr&&(pr=Or(Zr,Tr(qr,Cr[0][1])),Er=Or(Zr,Tr(qr,Cr[1][1])),tr=1)):(qt<0?(lr=Or(br-ir,Tr(kr-ir,lr)),gr=ir+lr,xr=mr):qt>0&&(lr=Or(br-mr,Tr(kr-mr,lr)),gr=ir,xr=mr+lr),tr<0?(vr=Or(Zr-yr,Tr(qr-yr,vr)),pr=yr+vr,Er=Sr):tr>0&&(vr=Or(Zr-Sr,Tr(qr-Sr,vr)),pr=yr,Er=Sr+vr));break}case vn:{qt&&(gr=Or(br,Tr(kr,ir-lr*qt)),xr=Or(br,Tr(kr,mr+lr*qt))),tr&&(pr=Or(Zr,Tr(qr,yr-vr*tr)),Er=Or(Zr,Tr(qr,Sr+vr*tr)));break}}xr0&&(ir=gr-lr),tr<0?Sr=Er-vr:tr>0&&(yr=pr-vr),Bt=ye,Nn.attr("cursor",zr.selection),en(Xt));break}default:return}noevent(Xt)}function ws(Xt){switch(Xt.keyCode){case 16:{re&&(ne=ee=re=!1,en(Xt));break}case 18:{Bt===vn&&(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),Bt=ln,en(Xt));break}case 32:{Bt===ye&&(Xt.altKey?(qt&&(mr=xr-lr*qt,ir=gr+lr*qt),tr&&(Sr=Er-vr*tr,yr=pr+vr*tr),Bt=vn):(qt<0?mr=xr:qt>0&&(ir=gr),tr<0?Sr=Er:tr>0&&(yr=pr),Bt=ln),Nn.attr("cursor",zr[Wt]),en(Xt));break}default:return}noevent(Xt)}}function Gt(mt){nt(this,arguments).moved(mt)}function or(mt){nt(this,arguments).ended(mt)}function hr(){var mt=this.__brush||{selection:null};return mt.extent=pe(f.apply(this,arguments)),mt.dim=e,mt}return K.extent=function(mt){return arguments.length?(f=typeof mt=="function"?mt:constant(pe(mt)),K):f},K.filter=function(mt){return arguments.length?(h=typeof mt=="function"?mt:constant(!!mt),K):h},K.touchable=function(mt){return arguments.length?(E=typeof mt=="function"?mt:constant(!!mt),K):E},K.handleSize=function(mt){return arguments.length?(L=+mt,K):L},K.keyModifiers=function(mt){return arguments.length?(O=!!mt,K):O},K.on=function(){var mt=M.on.apply(M,arguments);return mt===M?K:mt},K}function ls(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function vs(e){const f=typeof(e==null?void 0:e.requestAnimationFrame)=="function"&&typeof(e==null?void 0:e.cancelAnimationFrame)=="function",h=typeof(e==null?void 0:e.requestIdleCallback)=="function"&&typeof(e==null?void 0:e.cancelIdleCallback)=="function",E=M=>setTimeout(M,1),O=M=>clearTimeout(M);return[f?e.requestAnimationFrame:E,f?e.cancelAnimationFrame:O,h?e.requestIdleCallback:E,h?e.cancelIdleCallback:O]}const Zn=ls(),cs=Zn==null?void 0:Zn.document,[Qs,Zs,ks,qs]=vs(Zn);var ds=Object.defineProperty,ua=Object.getOwnPropertySymbols,hs=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,fa=(e,f,h)=>f in e?ds(e,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[f]=h,la=(e,f)=>{for(var h in f||(f={}))hs.call(f,h)&&fa(e,h,f[h]);if(ua)for(var h of ua(f))gs.call(f,h)&&fa(e,h,f[h]);return e};const _s=e=>e||e===0,ys=e=>typeof e=="function",kn=e=>typeof e=="string",qn=e=>typeof e=="number",ps=e=>typeof e=="undefined",va=e=>typeof e!="undefined",ti=e=>typeof e=="boolean",ri=e=>Math.ceil(e/10)*10,ni=e=>Math.ceil(e)+.5,ei=e=>e[1]-e[0],Se=e=>typeof e=="object",ms=e=>ps(e)||e===null||kn(e)&&e.length===0||Se(e)&&!(e instanceof Date)&&Object.keys(e).length===0||qn(e)&&isNaN(e),xs=e=>!ms(e),Ee=e=>Array.isArray(e),_n=e=>e&&!(e!=null&&e.nodeType)&&Se(e)&&!Ee(e);function ai(e,f,h){return va(e[f])?e[f]:h}function oi(e,f){let h=!1;return Object.keys(e).forEach(E=>e[E]===f&&(h=!0)),h}function si(e,f,...h){const E=ys(e);return E&&e.call(f,...h),E}function ii(e,f){let h=0;const E=function(...O){!--h&&f.apply(this,...O)};"duration"in e?e.each(()=>++h).on("end",E):(++h,e.call(E))}function ui(e){return kn(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function fi(e,f,h=[-1,1],E=!1){if(!(!e||!kn(f)))if(f.indexOf(` `)===-1)e.text(f);else{const O=[e.text(),f].map(M=>M.replace(/[\s\n]/g,""));if(O[0]!==O[1]){const M=f.split(` -`),L=E?M.length-1:1;e.html(""),M.forEach((G,K)=>{e.append("tspan").attr("x",0).attr("dy",`${K===0?h[0]*L:h[1]}em`).text(G)})}}}function Ss(e){const{x:f,y:h,width:E,height:O}=e.getBBox();return[{x:f,y:h+O},{x:f,y:h},{x:f+E,y:h},{x:f+E,y:h+O}]}function li(e){const{width:f,height:h}=e.getBoundingClientRect(),E=Ss(e),O=E[0].x,M=Math.min(E[0].y,E[1].y);return{x:O,y:M,width:f,height:h}}function vi(e,f){var h;const E=e&&((h=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:h[0]);let O=[0,0];try{O=d3Pointer(E||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Es(e){const{event:f,$el:h}=e,E=h.subchart.main||h.main;let O;return f&&f.type==="brush"?O=f.selection:E&&(O=E.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function ci(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function di(e=!0,f=0,h=1e4){const E=window.crypto||window.msCrypto,O=E?f+E.getRandomValues(new Uint32Array(1))[0]%(h-f+1):Math.floor(Math.random()*(h-f)+f);return e?String(O):O}function ca(e,f,h,E,O){if(h>E)return-1;const M=Math.floor((h+E)/2);let{x:L,w:G=0}=e[M];return O&&(L=e[M].y,G=e[M].h),f>=L&&f<=L+G?M:f{if(_n(h)&&h.constructor){const E=new h.constructor;for(const O in h)E[O]=f(h[O]);return E}return h};return e.map(h=>f(h)).reduce((h,E)=>la(la({},h),E))}function Os(e={},f){Ee(f)&&f.forEach(h=>Os(e,h));for(const h in f)/^\d+$/.test(h)||h in e||(e[h]=f[h]);return e}const yi=e=>e.charAt(0).toUpperCase()+e.slice(1);function pi(e,f="-"){return e.split(f).map((h,E)=>E?h.charAt(0).toUpperCase()+h.slice(1).toLowerCase():h.toLowerCase()).join("")}const Ts=e=>[].slice.call(e);function mi(e,f,h){const{rootSelector:E="",sheet:O}=e,L=`${E} ${(G=>G.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${h.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](L,O.cssRules.length)}function xi(e){let f=[];return e.forEach(h=>{var E;try{h.cssRules&&h.cssRules.length&&(f=f.concat(Ts(h.cssRules)))}catch(O){(E=window.console)==null||E.warn(`Error while reading rules from ${h.href}: ${O.toString()}`)}}),f}function Si(e){var f,h,E,O,M,L;return{x:((h=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?h:0)+((E=e.scrollLeft)!=null?E:0),y:((M=(O=window.pageYOffset)!=null?O:window.scrollY)!=null?M:0)+((L=e.scrollTop)!=null?L:0)}}function Ei(e){const f=e?e.transform:null,h=f&&f.baseVal;return h&&h.numberOfItems?h.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Oi(e){const f=e[0]instanceof Date,h=(f?e.map(Number):e).filter((E,O,M)=>M.indexOf(E)===O);return f?h.map(E=>new Date(E)):h}function Ti(e){return e&&e.length?e.reduce((f,h)=>f.concat(h)):[]}function Oe(e,...f){if(!f.length||f.length===1&&!f[0])return e;const h=f.shift();return _n(e)&&_n(h)&&Object.keys(h).forEach(E=>{const O=h[E];_n(O)?(!e[E]&&(e[E]={}),e[E]=Oe(e[E],O)):e[E]=Ee(O)?O.concat():O}),Oe(e,...f)}function Is(e,f=!0){let h;return e[0]instanceof Date?h=f?(E,O)=>E-O:(E,O)=>O-E:f&&!e.every(isNaN)?h=(E,O)=>E-O:f||(h=(E,O)=>E>O&&-1||Exs(E));return h.length?qn(h[0])?h=Math[e](...h):h[0]instanceof Date&&(h=Is(h,e==="min")[0]):h=void 0,h}const Ai=(e,f,h=1)=>{const E=[],O=Math.max(0,Math.ceil((f-e)/h))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,h,E=e())=>{f.dispatchEvent(new MouseEvent(h,E))}}catch(f){return(h,E,O=e())=>{const M=cs.createEvent("MouseEvent");M.initMouseEvent(E,O.bubbles,O.cancelable,Zn,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),h.dispatchEvent(M)}}})(),touch:(e,f,h)=>{const E=new Touch(Oe({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},h));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[E],targetTouches:[],changedTouches:[E]}))}};function te(e,f){let h=e;for(const E in f)h=h.replace(new RegExp(`{=${E}}`,"g"),f[E]);return h}function Pi(e){var f;let h;if(e instanceof Date)h=e;else if(kn(e)){const{config:E,format:O}=this;h=(f=O.dataTime(E.data_xFormat)(e))!=null?f:new Date(e)}else qn(e)&&!isNaN(e)&&(h=new Date(+e));return(!h||isNaN(+h))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),h}function Ci(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function Ni(e,f){const{DocumentTouch:h,matchMedia:E,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||h&&document instanceof h)M=!0;else if(E!=null&&E("(pointer:coarse)").matches)M=!0;else{const G=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(G)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(G)}return e&&((E==null?void 0:E("any-hover:hover").matches)||(E==null?void 0:E("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function As(e,f){f()===!1?requestAnimationFrame(()=>As(e,f)):e()}function Rs(e){const f=this.config;let h,E,O;const M=()=>{const L=E.shift();if(L&&h&&Se(h)&&L in h)return h=h[L],M();if(!L)return h};Object.keys(f).forEach(L=>{h=e,E=L.split("_"),O=M(),va(O)&&(f[L]=O)}),this.api&&(this.state.orgConfig=e)}var Ps=Object.defineProperty,Cs=(e,f,h)=>f in e?Ps(e,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[f]=h,Te=(e,f,h)=>Cs(e,typeof f!="symbol"?f+"":f,h);class da{constructor(f={}){Te(this,"$$"),Te(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Te(da,"version","3.12.4-nightly-20240809004639");const cn={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { +`),L=E?M.length-1:1;e.html(""),M.forEach((G,K)=>{e.append("tspan").attr("x",0).attr("dy",`${K===0?h[0]*L:h[1]}em`).text(G)})}}}function Ss(e){const{x:f,y:h,width:E,height:O}=e.getBBox();return[{x:f,y:h+O},{x:f,y:h},{x:f+E,y:h},{x:f+E,y:h+O}]}function li(e){const{width:f,height:h}=e.getBoundingClientRect(),E=Ss(e),O=E[0].x,M=Math.min(E[0].y,E[1].y);return{x:O,y:M,width:f,height:h}}function vi(e,f){var h;const E=e&&((h=e.touches||e.sourceEvent&&e.sourceEvent.touches)==null?void 0:h[0]);let O=[0,0];try{O=d3Pointer(E||e,f)}catch(M){}return O.map(M=>isNaN(M)?0:M)}function Es(e){const{event:f,$el:h}=e,E=h.subchart.main||h.main;let O;return f&&f.type==="brush"?O=f.selection:E&&(O=E.select(".bb-brush").node())&&(O=d3BrushSelection(O)),O}function ci(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function di(e=!0,f=0,h=1e4){const E=window.crypto||window.msCrypto,O=E?f+E.getRandomValues(new Uint32Array(1))[0]%(h-f+1):Math.floor(Math.random()*(h-f)+f);return e?String(O):O}function ca(e,f,h,E,O){if(h>E)return-1;const M=Math.floor((h+E)/2);let{x:L,w:G=0}=e[M];return O&&(L=e[M].y,G=e[M].h),f>=L&&f<=L+G?M:f{if(_n(h)&&h.constructor){const E=new h.constructor;for(const O in h)E[O]=f(h[O]);return E}return h};return e.map(h=>f(h)).reduce((h,E)=>la(la({},h),E))}function Os(e={},f){Ee(f)&&f.forEach(h=>Os(e,h));for(const h in f)/^\d+$/.test(h)||h in e||(e[h]=f[h]);return e}const yi=e=>e.charAt(0).toUpperCase()+e.slice(1);function pi(e,f="-"){return e.split(f).map((h,E)=>E?h.charAt(0).toUpperCase()+h.slice(1).toLowerCase():h.toLowerCase()).join("")}const Ts=e=>[].slice.call(e);function mi(e,f,h){const{rootSelector:E="",sheet:O}=e,L=`${E} ${(G=>G.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${h.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](L,O.cssRules.length)}function xi(e){let f=[];return e.forEach(h=>{var E;try{h.cssRules&&h.cssRules.length&&(f=f.concat(Ts(h.cssRules)))}catch(O){(E=window.console)==null||E.warn(`Error while reading rules from ${h.href}: ${O.toString()}`)}}),f}function Si(e){var f,h,E,O,M,L;return{x:((h=(f=window.pageXOffset)!=null?f:window.scrollX)!=null?h:0)+((E=e.scrollLeft)!=null?E:0),y:((M=(O=window.pageYOffset)!=null?O:window.scrollY)!=null?M:0)+((L=e.scrollTop)!=null?L:0)}}function Ei(e){const f=e?e.transform:null,h=f&&f.baseVal;return h&&h.numberOfItems?h.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Oi(e){const f=e[0]instanceof Date,h=(f?e.map(Number):e).filter((E,O,M)=>M.indexOf(E)===O);return f?h.map(E=>new Date(E)):h}function Ti(e){return e&&e.length?e.reduce((f,h)=>f.concat(h)):[]}function Oe(e,...f){if(!f.length||f.length===1&&!f[0])return e;const h=f.shift();return _n(e)&&_n(h)&&Object.keys(h).forEach(E=>{const O=h[E];_n(O)?(!e[E]&&(e[E]={}),e[E]=Oe(e[E],O)):e[E]=Ee(O)?O.concat():O}),Oe(e,...f)}function Is(e,f=!0){let h;return e[0]instanceof Date?h=f?(E,O)=>E-O:(E,O)=>O-E:f&&!e.every(isNaN)?h=(E,O)=>E-O:f||(h=(E,O)=>E>O&&-1||Exs(E));return h.length?qn(h[0])?h=Math[e](...h):h[0]instanceof Date&&(h=Is(h,e==="min")[0]):h=void 0,h}const Ai=(e,f,h=1)=>{const E=[],O=Math.max(0,Math.ceil((f-e)/h))|0;for(let M=e;M{const e=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(f,h,E=e())=>{f.dispatchEvent(new MouseEvent(h,E))}}catch(f){return(h,E,O=e())=>{const M=cs.createEvent("MouseEvent");M.initMouseEvent(E,O.bubbles,O.cancelable,Zn,0,O.screenX,O.screenY,O.clientX,O.clientY,!1,!1,!1,!1,0,null),h.dispatchEvent(M)}}})(),touch:(e,f,h)=>{const E=new Touch(Oe({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},h));e.dispatchEvent(new TouchEvent(f,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[E],targetTouches:[],changedTouches:[E]}))}};function te(e,f){let h=e;for(const E in f)h=h.replace(new RegExp(`{=${E}}`,"g"),f[E]);return h}function Pi(e){var f;let h;if(e instanceof Date)h=e;else if(kn(e)){const{config:E,format:O}=this;h=(f=O.dataTime(E.data_xFormat)(e))!=null?f:new Date(e)}else qn(e)&&!isNaN(e)&&(h=new Date(+e));return(!h||isNaN(+h))&&console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),h}function Ci(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function Ni(e,f){const{DocumentTouch:h,matchMedia:E,navigator:O}=window;let M=!1;if(f)if(O&&"maxTouchPoints"in O)M=O.maxTouchPoints>0;else if("ontouchmove"in window||h&&document instanceof h)M=!0;else if(E!=null&&E("(pointer:coarse)").matches)M=!0;else{const G=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(G)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(G)}return e&&((E==null?void 0:E("any-hover:hover").matches)||(E==null?void 0:E("any-pointer:fine").matches))&&"mouse"||M&&"touch"||"mouse"}function As(e,f){f()===!1?requestAnimationFrame(()=>As(e,f)):e()}function Rs(e){const f=this.config;let h,E,O;const M=()=>{const L=E.shift();if(L&&h&&Se(h)&&L in h)return h=h[L],M();if(!L)return h};Object.keys(f).forEach(L=>{h=e,E=L.split("_"),O=M(),va(O)&&(f[L]=O)}),this.api&&(this.state.orgConfig=e)}var Ps=Object.defineProperty,Cs=(e,f,h)=>f in e?Ps(e,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):e[f]=h,Te=(e,f,h)=>Cs(e,typeof f!="symbol"?f+"":f,h);class da{constructor(f={}){Te(this,"$$"),Te(this,"options"),this.options=f}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(f=>{this[f]=null,delete this[f]})}}Te(da,"version","3.12.4-nightly-20240813004629");const cn={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { border-collapse:collapse; border-spacing:0; background:#fff; diff --git a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js index d593d86a6..f3c21e4cb 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +++ b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */ @@ -26207,7 +26207,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.12.4-nightly-20240809004639"); +__publicField(Plugin, "version", "3.12.4-nightly-20240813004629"); ;// CONCATENATED MODULE: ./src/Plugin/textoverlap/Options.ts class Options { diff --git a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js index fc2b493ef..129b68b9e 100644 --- a/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +++ b/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js @@ -5,12 +5,12 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 * @requires billboard.js * @summary billboard.js plugin */(function(Sn,sn){typeof exports=="object"&&typeof module=="object"?module.exports=sn():typeof define=="function"&&define.amd?define("bb",[],sn):typeof exports=="object"?exports.bb=sn():(Sn.bb=Sn.bb||{},Sn.bb.plugin=Sn.bb.plugin||{},Sn.bb.plugin["textoverlap.pkgd"]=sn())})(this,function(){return function(){"use strict";var ia={65908:function(l,p,t){t.d(p,{default:function(){return Kl}});const r=11102230246251565e-32,e=134217729,o=(3+8*r)*r;function i(n,a,s,d,h){let m,x,O,P,R=a[0],C=d[0],B=0,L=0;C>R==C>-R?(m=R,R=a[++B]):(m=C,C=d[++L]);let D=0;if(BR==C>-R?(x=R+m,O=m-(x-R),R=a[++B]):(x=C+m,O=m-(x-C),C=d[++L]),m=x,O!==0&&(h[D++]=O);BR==C>-R?(x=m+R,P=x-m,O=m-(x-P)+(R-P),R=a[++B]):(x=m+C,P=x-m,O=m-(x-P)+(C-P),C=d[++L]),m=x,O!==0&&(h[D++]=O);for(;B=V||-Gt>=V||(B=n-ft,O=n-(ft+B)+(B-h),B=s-Tt,R=s-(Tt+B)+(B-h),B=a-Mt,P=a-(Mt+B)+(B-m),B=d-Dt,C=d-(Dt+B)+(B-m),O===0&&P===0&&R===0&&C===0)||(V=E*x+o*Math.abs(Gt),Gt+=ft*C+Dt*O-(Mt*R+Tt*P),Gt>=V||-Gt>=V))return Gt;lt=O*Dt,L=e*O,D=L-(L-O),k=O-D,L=e*Dt,b=L-(L-Dt),j=Dt-b,nt=k*j-(lt-D*b-k*b-D*j),xt=P*Tt,L=e*P,D=L-(L-P),k=P-D,L=e*Tt,b=L-(L-Tt),j=Tt-b,it=k*j-(xt-D*b-k*b-D*j),H=nt-it,B=nt-H,N[0]=nt-(H+B)+(B-it),Q=lt+H,B=Q-lt,J=lt-(Q-B)+(H-B),H=J-xt,B=J-H,N[1]=J-(H+B)+(B-xt),vt=Q+H,B=vt-Q,N[2]=Q-(vt-B)+(H-B),N[3]=vt;const tt=i(4,T,4,N,A);lt=ft*C,L=e*ft,D=L-(L-ft),k=ft-D,L=e*C,b=L-(L-C),j=C-b,nt=k*j-(lt-D*b-k*b-D*j),xt=Mt*R,L=e*Mt,D=L-(L-Mt),k=Mt-D,L=e*R,b=L-(L-R),j=R-b,it=k*j-(xt-D*b-k*b-D*j),H=nt-it,B=nt-H,N[0]=nt-(H+B)+(B-it),Q=lt+H,B=Q-lt,J=lt-(Q-B)+(H-B),H=J-xt,B=J-H,N[1]=J-(H+B)+(B-xt),vt=Q+H,B=vt-Q,N[2]=Q-(vt-B)+(H-B),N[3]=vt;const _=i(tt,A,4,N,I);lt=O*C,L=e*O,D=L-(L-O),k=O-D,L=e*C,b=L-(L-C),j=C-b,nt=k*j-(lt-D*b-k*b-D*j),xt=P*R,L=e*P,D=L-(L-P),k=P-D,L=e*R,b=L-(L-R),j=R-b,it=k*j-(xt-D*b-k*b-D*j),H=nt-it,B=nt-H,N[0]=nt-(H+B)+(B-it),Q=lt+H,B=Q-lt,J=lt-(Q-B)+(H-B),H=J-xt,B=J-H,N[1]=J-(H+B)+(B-xt),vt=Q+H,B=vt-Q,N[2]=Q-(vt-B)+(H-B),N[3]=vt;const dt=i(_,I,4,N,M);return M[dt-1]}function U(n,a,s,d,h,m){const x=(a-m)*(s-h),O=(n-h)*(d-m),P=x-O,R=Math.abs(x+O);return Math.abs(P)>=y*R?P:-$(n,a,s,d,h,m,R)}function w(n,a,s,d,h,m){return(a-m)*(s-h)-(n-h)*(d-m)}const F=(7+56*r)*r,G=(3+28*r)*r,W=(26+288*r)*r*r,X=v(4),z=v(4),Z=v(4),st=v(4),ut=v(4),rt=v(4),at=v(4),ot=v(4),yt=v(4),Nt=v(8),St=v(8),$t=v(8),Rt=v(4),Qt=v(8),Yt=v(8),Xt=v(8),er=v(12);let ir=v(192),Or=v(192);function yr(n,a,s){n=sum(n,ir,a,s,Or);const d=ir;return ir=Or,Or=d,n}function xr(n,a,s,d,h,m,x,O){let P,R,C,B,L,D,k,b,j,H,Q,J,lt,nt,xt,it;return n===0?a===0?(x[0]=0,O[0]=0,1):(it=-a,Q=it*s,R=splitter*it,C=R-(R-it),B=it-C,R=splitter*s,L=R-(R-s),D=s-L,x[0]=B*D-(Q-C*L-B*L-C*D),x[1]=Q,Q=a*h,R=splitter*a,C=R-(R-a),B=a-C,R=splitter*h,L=R-(R-h),D=h-L,O[0]=B*D-(Q-C*L-B*L-C*D),O[1]=Q,2):a===0?(Q=n*d,R=splitter*n,C=R-(R-n),B=n-C,R=splitter*d,L=R-(R-d),D=d-L,x[0]=B*D-(Q-C*L-B*L-C*D),x[1]=Q,it=-n,Q=it*m,R=splitter*it,C=R-(R-it),B=it-C,R=splitter*m,L=R-(R-m),D=m-L,O[0]=B*D-(Q-C*L-B*L-C*D),O[1]=Q,2):(Q=n*d,R=splitter*n,C=R-(R-n),B=n-C,R=splitter*d,L=R-(R-d),D=d-L,J=B*D-(Q-C*L-B*L-C*D),lt=a*s,R=splitter*a,C=R-(R-a),B=a-C,R=splitter*s,L=R-(R-s),D=s-L,nt=B*D-(lt-C*L-B*L-C*D),k=J-nt,P=J-k,x[0]=J-(k+P)+(P-nt),b=Q+k,P=b-Q,H=Q-(b-P)+(k-P),k=H-lt,P=H-k,x[1]=H-(k+P)+(P-lt),xt=b+k,P=xt-b,x[2]=b-(xt-P)+(k-P),x[3]=xt,Q=a*h,R=splitter*a,C=R-(R-a),B=a-C,R=splitter*h,L=R-(R-h),D=h-L,J=B*D-(Q-C*L-B*L-C*D),lt=n*m,R=splitter*n,C=R-(R-n),B=n-C,R=splitter*m,L=R-(R-m),D=m-L,nt=B*D-(lt-C*L-B*L-C*D),k=J-nt,P=J-k,O[0]=J-(k+P)+(P-nt),b=Q+k,P=b-Q,H=Q-(b-P)+(k-P),k=H-lt,P=H-k,O[1]=H-(k+P)+(P-lt),xt=b+k,P=xt-b,O[2]=b-(xt-P)+(k-P),O[3]=xt,4)}function Wt(n,a,s,d,h){let m,x,O,P,R,C,B,L,D,k,b,j,H;return b=a*s,x=splitter*a,O=x-(x-a),P=a-O,x=splitter*s,R=x-(x-s),C=s-R,j=P*C-(b-O*R-P*R-O*C),x=splitter*d,R=x-(x-d),C=d-R,B=j*d,x=splitter*j,O=x-(x-j),P=j-O,Rt[0]=P*C-(B-O*R-P*R-O*C),L=b*d,x=splitter*b,O=x-(x-b),P=b-O,k=P*C-(L-O*R-P*R-O*C),D=B+k,m=D-B,Rt[1]=B-(D-m)+(k-m),H=L+D,Rt[2]=D-(H-L),Rt[3]=H,n=yr(n,4,Rt),h!==0&&(x=splitter*h,R=x-(x-h),C=h-R,B=j*h,x=splitter*j,O=x-(x-j),P=j-O,Rt[0]=P*C-(B-O*R-P*R-O*C),L=b*h,x=splitter*b,O=x-(x-b),P=b-O,k=P*C-(L-O*R-P*R-O*C),D=B+k,m=D-B,Rt[1]=B-(D-m)+(k-m),H=L+D,Rt[2]=D-(H-L),Rt[3]=H,n=yr(n,4,Rt)),n}function kt(n,a,s,d,h,m,x,O,P,R,C,B,L){let D,k,b,j,H,Q,J,lt,nt,xt,it,vt,ft,Tt,Mt,Dt,Gt,V,tt,_,dt,K,et,Y,ct;const pt=n-R,Pt=d-R,Ot=x-R,Lt=a-C,zt=h-C,Ft=O-C,tr=s-B,nr=m-B,or=P-B;dt=Pt*Ft,vt=splitter*Pt,ft=vt-(vt-Pt),Tt=Pt-ft,vt=splitter*Ft,Mt=vt-(vt-Ft),Dt=Ft-Mt,K=Tt*Dt-(dt-ft*Mt-Tt*Mt-ft*Dt),et=Ot*zt,vt=splitter*Ot,ft=vt-(vt-Ot),Tt=Ot-ft,vt=splitter*zt,Mt=vt-(vt-zt),Dt=zt-Mt,Y=Tt*Dt-(et-ft*Mt-Tt*Mt-ft*Dt),Gt=K-Y,it=K-Gt,X[0]=K-(Gt+it)+(it-Y),V=dt+Gt,it=V-dt,_=dt-(V-it)+(Gt-it),Gt=_-et,it=_-Gt,X[1]=_-(Gt+it)+(it-et),ct=V+Gt,it=ct-V,X[2]=V-(ct-it)+(Gt-it),X[3]=ct,dt=Ot*Lt,vt=splitter*Ot,ft=vt-(vt-Ot),Tt=Ot-ft,vt=splitter*Lt,Mt=vt-(vt-Lt),Dt=Lt-Mt,K=Tt*Dt-(dt-ft*Mt-Tt*Mt-ft*Dt),et=pt*Ft,vt=splitter*pt,ft=vt-(vt-pt),Tt=pt-ft,vt=splitter*Ft,Mt=vt-(vt-Ft),Dt=Ft-Mt,Y=Tt*Dt-(et-ft*Mt-Tt*Mt-ft*Dt),Gt=K-Y,it=K-Gt,z[0]=K-(Gt+it)+(it-Y),V=dt+Gt,it=V-dt,_=dt-(V-it)+(Gt-it),Gt=_-et,it=_-Gt,z[1]=_-(Gt+it)+(it-et),ct=V+Gt,it=ct-V,z[2]=V-(ct-it)+(Gt-it),z[3]=ct,dt=pt*zt,vt=splitter*pt,ft=vt-(vt-pt),Tt=pt-ft,vt=splitter*zt,Mt=vt-(vt-zt),Dt=zt-Mt,K=Tt*Dt-(dt-ft*Mt-Tt*Mt-ft*Dt),et=Pt*Lt,vt=splitter*Pt,ft=vt-(vt-Pt),Tt=Pt-ft,vt=splitter*Lt,Mt=vt-(vt-Lt),Dt=Lt-Mt,Y=Tt*Dt-(et-ft*Mt-Tt*Mt-ft*Dt),Gt=K-Y,it=K-Gt,Z[0]=K-(Gt+it)+(it-Y),V=dt+Gt,it=V-dt,_=dt-(V-it)+(Gt-it),Gt=_-et,it=_-Gt,Z[1]=_-(Gt+it)+(it-et),ct=V+Gt,it=ct-V,Z[2]=V-(ct-it)+(Gt-it),Z[3]=ct,D=sum(sum(scale(4,X,tr,Qt),Qt,scale(4,z,nr,Yt),Yt,Xt),Xt,scale(4,Z,or,Qt),Qt,ir);let sr=estimate(D,ir),ur=G*L;if(sr>=ur||-sr>=ur||(it=n-pt,k=n-(pt+it)+(it-R),it=d-Pt,b=d-(Pt+it)+(it-R),it=x-Ot,j=x-(Ot+it)+(it-R),it=a-Lt,H=a-(Lt+it)+(it-C),it=h-zt,Q=h-(zt+it)+(it-C),it=O-Ft,J=O-(Ft+it)+(it-C),it=s-tr,lt=s-(tr+it)+(it-B),it=m-nr,nt=m-(nr+it)+(it-B),it=P-or,xt=P-(or+it)+(it-B),k===0&&b===0&&j===0&&H===0&&Q===0&&J===0&<===0&&nt===0&&xt===0)||(ur=W*L+resulterrbound*Math.abs(sr),sr+=tr*(Pt*J+Ft*b-(zt*j+Ot*Q))+lt*(Pt*Ft-zt*Ot)+nr*(Ot*H+Lt*j-(Ft*k+pt*J))+nt*(Ot*Lt-Ft*pt)+or*(pt*Q+zt*k-(Lt*b+Pt*H))+xt*(pt*zt-Lt*Pt),sr>=ur||-sr>=ur))return sr;const lr=xr(k,H,Pt,zt,Ot,Ft,st,ut),Nr=xr(b,Q,Ot,Ft,pt,Lt,rt,at),br=xr(j,J,pt,Lt,Pt,zt,ot,yt),Rr=sum(Nr,rt,br,yt,Nt);D=yr(D,scale(Rr,Nt,tr,Xt),Xt);const Zt=sum(br,ot,lr,ut,St);D=yr(D,scale(Zt,St,nr,Xt),Xt);const Mr=sum(lr,st,Nr,at,$t);return D=yr(D,scale(Mr,$t,or,Xt),Xt),lt!==0&&(D=yr(D,scale(4,X,lt,er),er),D=yr(D,scale(Rr,Nt,lt,Xt),Xt)),nt!==0&&(D=yr(D,scale(4,z,nt,er),er),D=yr(D,scale(Zt,St,nt,Xt),Xt)),xt!==0&&(D=yr(D,scale(4,Z,xt,er),er),D=yr(D,scale(Mr,$t,xt,Xt),Xt)),k!==0&&(Q!==0&&(D=Wt(D,k,Q,or,xt)),J!==0&&(D=Wt(D,-k,J,nr,nt))),b!==0&&(J!==0&&(D=Wt(D,b,J,tr,lt)),H!==0&&(D=Wt(D,-b,H,or,xt))),j!==0&&(H!==0&&(D=Wt(D,j,H,nr,nt)),Q!==0&&(D=Wt(D,-j,Q,tr,lt))),ir[D-1]}function hr(n,a,s,d,h,m,x,O,P,R,C,B){const L=n-R,D=d-R,k=x-R,b=a-C,j=h-C,H=O-C,Q=s-B,J=m-B,lt=P-B,nt=D*H,xt=k*j,it=k*b,vt=L*H,ft=L*j,Tt=D*b,Mt=Q*(nt-xt)+J*(it-vt)+lt*(ft-Tt),Dt=(Math.abs(nt)+Math.abs(xt))*Math.abs(Q)+(Math.abs(it)+Math.abs(vt))*Math.abs(J)+(Math.abs(ft)+Math.abs(Tt))*Math.abs(lt),Gt=F*Dt;return Mt>Gt||-Mt>Gt?Mt:kt(n,a,s,d,h,m,x,O,P,R,C,B,Dt)}function Sr(n,a,s,d,h,m,x,O,P,R,C,B){const L=n-R,D=d-R,k=x-R,b=a-C,j=h-C,H=O-C,Q=s-B,J=m-B,lt=P-B;return L*(j*lt-J*H)+D*(H*Q-lt*b)+k*(b*J-Q*j)}const mr=(10+96*r)*r,Tr=(4+48*r)*r,Fr=(44+576*r)*r*r,Dr=v(4),Pr=v(4),gr=v(4),Cr=v(4),Er=v(4),pr=v(4),Ut=v(4),Vt=v(4),bt=v(8),fr=v(8),cr=v(8),rr=v(8),_t=v(8),$r=v(8),Br=v(8),Et=v(8),Bt=v(8),wt=v(4),gt=v(4),It=v(4),q=v(8),At=v(16),Jt=v(16),qt=v(16),ar=v(32),Ir=v(32),dr=v(48),Lr=v(64);let on=v(1152),En=v(1152);function Ur(n,a,s){n=sum(n,on,a,s,En);const d=on;return on=En,En=d,n}function Vn(n,a,s,d,h,m,x,O,P){let R,C,B,L,D,k,b,j,H,Q,J,lt,nt,xt,it,vt,ft,Tt,Mt,Dt,Gt,V,tt,_,dt,K,et,Y,ct,pt,Pt,Ot,Lt,zt,Ft;const tr=n-x,nr=s-x,or=h-x,sr=a-O,ur=d-O,lr=m-O;Pt=nr*lr,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*lr,K=tt-(tt-lr),et=lr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=or*ur,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*ur,K=tt-(tt-ur),et=ur-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot-zt,V=Ot-Y,Dr[0]=Ot-(Y+V)+(V-zt),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt-Lt,V=pt-Y,Dr[1]=pt-(Y+V)+(V-Lt),Ft=ct+Y,V=Ft-ct,Dr[2]=ct-(Ft-V)+(Y-V),Dr[3]=Ft,Pt=or*sr,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*sr,K=tt-(tt-sr),et=sr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=tr*lr,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*lr,K=tt-(tt-lr),et=lr-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot-zt,V=Ot-Y,Pr[0]=Ot-(Y+V)+(V-zt),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt-Lt,V=pt-Y,Pr[1]=pt-(Y+V)+(V-Lt),Ft=ct+Y,V=Ft-ct,Pr[2]=ct-(Ft-V)+(Y-V),Pr[3]=Ft,Pt=tr*ur,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*ur,K=tt-(tt-ur),et=ur-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=nr*sr,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*sr,K=tt-(tt-sr),et=sr-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot-zt,V=Ot-Y,gr[0]=Ot-(Y+V)+(V-zt),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt-Lt,V=pt-Y,gr[1]=pt-(Y+V)+(V-Lt),Ft=ct+Y,V=Ft-ct,gr[2]=ct-(Ft-V)+(Y-V),gr[3]=Ft,R=sum(sum(sum(scale(scale(4,Dr,tr,q),q,tr,At),At,scale(scale(4,Dr,sr,q),q,sr,Jt),Jt,ar),ar,sum(scale(scale(4,Pr,nr,q),q,nr,At),At,scale(scale(4,Pr,ur,q),q,ur,Jt),Jt,Ir),Ir,Lr),Lr,sum(scale(scale(4,gr,or,q),q,or,At),At,scale(scale(4,gr,lr,q),q,lr,Jt),Jt,ar),ar,on);let Nr=estimate(R,on),br=Tr*P;if(Nr>=br||-Nr>=br||(V=n-tr,C=n-(tr+V)+(V-x),V=a-sr,D=a-(sr+V)+(V-O),V=s-nr,B=s-(nr+V)+(V-x),V=d-ur,k=d-(ur+V)+(V-O),V=h-or,L=h-(or+V)+(V-x),V=m-lr,b=m-(lr+V)+(V-O),C===0&&B===0&&L===0&&D===0&&k===0&&b===0)||(br=Fr*P+resulterrbound*Math.abs(Nr),Nr+=(tr*tr+sr*sr)*(nr*b+lr*B-(ur*L+or*k))+2*(tr*C+sr*D)*(nr*lr-ur*or)+((nr*nr+ur*ur)*(or*D+sr*L-(lr*C+tr*b))+2*(nr*B+ur*k)*(or*sr-lr*tr))+((or*or+lr*lr)*(tr*k+ur*C-(sr*B+nr*D))+2*(or*L+lr*b)*(tr*ur-sr*nr)),Nr>=br||-Nr>=br))return Nr;if((B!==0||k!==0||L!==0||b!==0)&&(Pt=tr*tr,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,Ot=dt*dt-(Pt-_*_-(_+_)*dt),Lt=sr*sr,tt=splitter*sr,_=tt-(tt-sr),dt=sr-_,zt=dt*dt-(Lt-_*_-(_+_)*dt),Y=Ot+zt,V=Y-Ot,Cr[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Cr[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Cr[2]=ct-(Ft-V)+(Y-V),Cr[3]=Ft),(L!==0||b!==0||C!==0||D!==0)&&(Pt=nr*nr,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,Ot=dt*dt-(Pt-_*_-(_+_)*dt),Lt=ur*ur,tt=splitter*ur,_=tt-(tt-ur),dt=ur-_,zt=dt*dt-(Lt-_*_-(_+_)*dt),Y=Ot+zt,V=Y-Ot,Er[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Er[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Er[2]=ct-(Ft-V)+(Y-V),Er[3]=Ft),(C!==0||D!==0||B!==0||k!==0)&&(Pt=or*or,tt=splitter*or,_=tt-(tt-or),dt=or-_,Ot=dt*dt-(Pt-_*_-(_+_)*dt),Lt=lr*lr,tt=splitter*lr,_=tt-(tt-lr),dt=lr-_,zt=dt*dt-(Lt-_*_-(_+_)*dt),Y=Ot+zt,V=Y-Ot,pr[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,pr[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,pr[2]=ct-(Ft-V)+(Y-V),pr[3]=Ft),C!==0&&(j=scale(4,Dr,C,bt),R=Ur(R,sum_three(scale(j,bt,2*tr,At),At,scale(scale(4,pr,C,q),q,ur,Jt),Jt,scale(scale(4,Er,C,q),q,-lr,qt),qt,ar,dr),dr)),D!==0&&(H=scale(4,Dr,D,fr),R=Ur(R,sum_three(scale(H,fr,2*sr,At),At,scale(scale(4,Er,D,q),q,or,Jt),Jt,scale(scale(4,pr,D,q),q,-nr,qt),qt,ar,dr),dr)),B!==0&&(Q=scale(4,Pr,B,cr),R=Ur(R,sum_three(scale(Q,cr,2*nr,At),At,scale(scale(4,Cr,B,q),q,lr,Jt),Jt,scale(scale(4,pr,B,q),q,-sr,qt),qt,ar,dr),dr)),k!==0&&(J=scale(4,Pr,k,rr),R=Ur(R,sum_three(scale(J,rr,2*ur,At),At,scale(scale(4,pr,k,q),q,tr,Jt),Jt,scale(scale(4,Cr,k,q),q,-or,qt),qt,ar,dr),dr)),L!==0&&(lt=scale(4,gr,L,_t),R=Ur(R,sum_three(scale(lt,_t,2*or,At),At,scale(scale(4,Er,L,q),q,sr,Jt),Jt,scale(scale(4,Cr,L,q),q,-ur,qt),qt,ar,dr),dr)),b!==0&&(nt=scale(4,gr,b,$r),R=Ur(R,sum_three(scale(nt,$r,2*lr,At),At,scale(scale(4,Cr,b,q),q,nr,Jt),Jt,scale(scale(4,Er,b,q),q,-tr,qt),qt,ar,dr),dr)),C!==0||D!==0){if(B!==0||k!==0||L!==0||b!==0?(Pt=B*lr,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*lr,K=tt-(tt-lr),et=lr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=nr*b,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*b,K=tt-(tt-b),et=b-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot+zt,V=Y-Ot,Ut[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Ut[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Ut[2]=ct-(Ft-V)+(Y-V),Ut[3]=Ft,Pt=L*-ur,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*-ur,K=tt-(tt- -ur),et=-ur-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=or*-k,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*-k,K=tt-(tt- -k),et=-k-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot+zt,V=Y-Ot,Vt[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Vt[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Vt[2]=ct-(Ft-V)+(Y-V),Vt[3]=Ft,it=sum(4,Ut,4,Vt,Et),Pt=B*b,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*b,K=tt-(tt-b),et=b-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=L*k,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*k,K=tt-(tt-k),et=k-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot-zt,V=Ot-Y,gt[0]=Ot-(Y+V)+(V-zt),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt-Lt,V=pt-Y,gt[1]=pt-(Y+V)+(V-Lt),Ft=ct+Y,V=Ft-ct,gt[2]=ct-(Ft-V)+(Y-V),gt[3]=Ft,Tt=4):(Et[0]=0,it=1,gt[0]=0,Tt=1),C!==0){const Rr=scale(it,Et,C,qt);R=Ur(R,sum(scale(j,bt,C,At),At,scale(Rr,qt,2*tr,ar),ar,dr),dr);const Zt=scale(Tt,gt,C,q);R=Ur(R,sum_three(scale(Zt,q,2*tr,At),At,scale(Zt,q,C,Jt),Jt,scale(Rr,qt,C,ar),ar,Ir,Lr),Lr),k!==0&&(R=Ur(R,scale(scale(4,pr,C,q),q,k,At),At)),b!==0&&(R=Ur(R,scale(scale(4,Er,-C,q),q,b,At),At))}if(D!==0){const Rr=scale(it,Et,D,qt);R=Ur(R,sum(scale(H,fr,D,At),At,scale(Rr,qt,2*sr,ar),ar,dr),dr);const Zt=scale(Tt,gt,D,q);R=Ur(R,sum_three(scale(Zt,q,2*sr,At),At,scale(Zt,q,D,Jt),Jt,scale(Rr,qt,D,ar),ar,Ir,Lr),Lr)}}if(B!==0||k!==0){if(L!==0||b!==0||C!==0||D!==0?(Pt=L*sr,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*sr,K=tt-(tt-sr),et=sr-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=or*D,tt=splitter*or,_=tt-(tt-or),dt=or-_,tt=splitter*D,K=tt-(tt-D),et=D-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot+zt,V=Y-Ot,Ut[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Ut[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Ut[2]=ct-(Ft-V)+(Y-V),Ut[3]=Ft,Dt=-lr,Gt=-b,Pt=C*Dt,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*Dt,K=tt-(tt-Dt),et=Dt-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=tr*Gt,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*Gt,K=tt-(tt-Gt),et=Gt-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot+zt,V=Y-Ot,Vt[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Vt[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Vt[2]=ct-(Ft-V)+(Y-V),Vt[3]=Ft,vt=sum(4,Ut,4,Vt,Bt),Pt=L*D,tt=splitter*L,_=tt-(tt-L),dt=L-_,tt=splitter*D,K=tt-(tt-D),et=D-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=C*b,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*b,K=tt-(tt-b),et=b-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot-zt,V=Ot-Y,It[0]=Ot-(Y+V)+(V-zt),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt-Lt,V=pt-Y,It[1]=pt-(Y+V)+(V-Lt),Ft=ct+Y,V=Ft-ct,It[2]=ct-(Ft-V)+(Y-V),It[3]=Ft,Mt=4):(Bt[0]=0,vt=1,It[0]=0,Mt=1),B!==0){const Rr=scale(vt,Bt,B,qt);R=Ur(R,sum(scale(Q,cr,B,At),At,scale(Rr,qt,2*nr,ar),ar,dr),dr);const Zt=scale(Mt,It,B,q);R=Ur(R,sum_three(scale(Zt,q,2*nr,At),At,scale(Zt,q,B,Jt),Jt,scale(Rr,qt,B,ar),ar,Ir,Lr),Lr),b!==0&&(R=Ur(R,scale(scale(4,Cr,B,q),q,b,At),At)),D!==0&&(R=Ur(R,scale(scale(4,pr,-B,q),q,D,At),At))}if(k!==0){const Rr=scale(vt,Bt,k,qt);R=Ur(R,sum(scale(J,rr,k,At),At,scale(Rr,qt,2*ur,ar),ar,dr),dr);const Zt=scale(Mt,It,k,q);R=Ur(R,sum_three(scale(Zt,q,2*ur,At),At,scale(Zt,q,k,Jt),Jt,scale(Rr,qt,k,ar),ar,Ir,Lr),Lr)}}if(L!==0||b!==0){if(C!==0||D!==0||B!==0||k!==0?(Pt=C*ur,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*ur,K=tt-(tt-ur),et=ur-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=tr*k,tt=splitter*tr,_=tt-(tt-tr),dt=tr-_,tt=splitter*k,K=tt-(tt-k),et=k-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot+zt,V=Y-Ot,Ut[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Ut[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Ut[2]=ct-(Ft-V)+(Y-V),Ut[3]=Ft,Dt=-sr,Gt=-D,Pt=B*Dt,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*Dt,K=tt-(tt-Dt),et=Dt-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=nr*Gt,tt=splitter*nr,_=tt-(tt-nr),dt=nr-_,tt=splitter*Gt,K=tt-(tt-Gt),et=Gt-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot+zt,V=Y-Ot,Vt[0]=Ot-(Y-V)+(zt-V),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt+Lt,V=Y-pt,Vt[1]=pt-(Y-V)+(Lt-V),Ft=ct+Y,V=Ft-ct,Vt[2]=ct-(Ft-V)+(Y-V),Vt[3]=Ft,xt=sum(4,Ut,4,Vt,Br),Pt=C*k,tt=splitter*C,_=tt-(tt-C),dt=C-_,tt=splitter*k,K=tt-(tt-k),et=k-K,Ot=dt*et-(Pt-_*K-dt*K-_*et),Lt=B*D,tt=splitter*B,_=tt-(tt-B),dt=B-_,tt=splitter*D,K=tt-(tt-D),et=D-K,zt=dt*et-(Lt-_*K-dt*K-_*et),Y=Ot-zt,V=Ot-Y,wt[0]=Ot-(Y+V)+(V-zt),ct=Pt+Y,V=ct-Pt,pt=Pt-(ct-V)+(Y-V),Y=pt-Lt,V=pt-Y,wt[1]=pt-(Y+V)+(V-Lt),Ft=ct+Y,V=Ft-ct,wt[2]=ct-(Ft-V)+(Y-V),wt[3]=Ft,ft=4):(Br[0]=0,xt=1,wt[0]=0,ft=1),L!==0){const Rr=scale(xt,Br,L,qt);R=Ur(R,sum(scale(lt,_t,L,At),At,scale(Rr,qt,2*or,ar),ar,dr),dr);const Zt=scale(ft,wt,L,q);R=Ur(R,sum_three(scale(Zt,q,2*or,At),At,scale(Zt,q,L,Jt),Jt,scale(Rr,qt,L,ar),ar,Ir,Lr),Lr),D!==0&&(R=Ur(R,scale(scale(4,Er,L,q),q,D,At),At)),k!==0&&(R=Ur(R,scale(scale(4,Cr,-L,q),q,k,At),At))}if(b!==0){const Rr=scale(xt,Br,b,qt);R=Ur(R,sum(scale(nt,$r,b,At),At,scale(Rr,qt,2*lr,ar),ar,dr),dr);const Zt=scale(ft,wt,b,q);R=Ur(R,sum_three(scale(Zt,q,2*lr,At),At,scale(Zt,q,b,Jt),Jt,scale(Rr,qt,b,ar),ar,Ir,Lr),Lr)}}return on[R-1]}function ee(n,a,s,d,h,m,x,O){const P=n-x,R=s-x,C=h-x,B=a-O,L=d-O,D=m-O,k=R*D,b=C*L,j=P*P+B*B,H=C*B,Q=P*D,J=R*R+L*L,lt=P*L,nt=R*B,xt=C*C+D*D,it=j*(k-b)+J*(H-Q)+xt*(lt-nt),vt=(Math.abs(k)+Math.abs(b))*j+(Math.abs(H)+Math.abs(Q))*J+(Math.abs(lt)+Math.abs(nt))*xt,ft=mr*vt;return it>ft||-it>ft?it:Vn(n,a,s,d,h,m,x,O,vt)}function ae(n,a,s,d,h,m,x,O){const P=n-x,R=a-O,C=s-x,B=d-O,L=h-x,D=m-O,k=P*B-C*R,b=C*D-L*B,j=L*R-P*D,H=P*P+R*R,Q=C*C+B*B,J=L*L+D*D;return H*b+Q*j+J*k}const Hn=(16+224*r)*r,oe=(5+72*r)*r,Wn=(71+1408*r)*r*r,Xr=v(4),Vr=v(4),tn=v(4),en=v(4),kr=v(4),qr=v(4),Jr=v(4),Wr=v(4),wr=v(4),hn=v(4),Dn=v(24),mt=v(24),Kt=v(24),Ct=v(24),ht=v(24),jt=v(24),Ar=v(24),vr=v(24),Gr=v(24),Kr=v(24),Yr=v(1152),_r=v(1152),Ht=v(1152),zr=v(1152),un=v(1152),An=v(2304),Fn=v(2304),Kn=v(3456),bn=v(5760),ua=v(8),la=v(8),fa=v(8),Mo=v(16),se=v(24),Tn=v(48),Le=v(48),ie=v(96),Rn=v(192),ca=v(384),va=v(384),da=v(384),No=v(768);function fn(n,a,s,d,h,m,x){return sum_three(scale(4,n,d,ua),ua,scale(4,a,h,la),la,scale(4,s,m,fa),fa,Mo,x)}function Yn(n,a,s,d,h,m,x,O,P,R,C,B){const L=sum(sum(n,a,s,d,Tn),Tn,negate(sum(h,m,x,O,Le),Le),Le,ie);return sum_three(scale(scale(L,ie,P,Rn),Rn,P,ca),ca,scale(scale(L,ie,R,Rn),Rn,R,va),va,scale(scale(L,ie,C,Rn),Rn,C,da),da,No,B)}function Do(n,a,s,d,h,m,x,O,P,R,C,B,L,D,k){let b,j,H,Q,J,lt,nt,xt,it,vt,ft,Tt,Mt,Dt;vt=n*h,j=splitter*n,H=j-(j-n),Q=n-H,j=splitter*h,J=j-(j-h),lt=h-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=d*a,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*a,J=j-(j-a),lt=a-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,Xr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,Xr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,Xr[2]=xt-(Dt-b)+(nt-b),Xr[3]=Dt,vt=d*O,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*O,J=j-(j-O),lt=O-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=x*h,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*h,J=j-(j-h),lt=h-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,Vr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,Vr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,Vr[2]=xt-(Dt-b)+(nt-b),Vr[3]=Dt,vt=x*C,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*C,J=j-(j-C),lt=C-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=R*O,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*O,J=j-(j-O),lt=O-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,tn[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,tn[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,tn[2]=xt-(Dt-b)+(nt-b),tn[3]=Dt,vt=R*D,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*D,J=j-(j-D),lt=D-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=L*C,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*C,J=j-(j-C),lt=C-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,en[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,en[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,en[2]=xt-(Dt-b)+(nt-b),en[3]=Dt,vt=L*a,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*a,J=j-(j-a),lt=a-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=n*D,j=splitter*n,H=j-(j-n),Q=n-H,j=splitter*D,J=j-(j-D),lt=D-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,kr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,kr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,kr[2]=xt-(Dt-b)+(nt-b),kr[3]=Dt,vt=n*O,j=splitter*n,H=j-(j-n),Q=n-H,j=splitter*O,J=j-(j-O),lt=O-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=x*a,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*a,J=j-(j-a),lt=a-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,qr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,qr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,qr[2]=xt-(Dt-b)+(nt-b),qr[3]=Dt,vt=d*C,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*C,J=j-(j-C),lt=C-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=R*h,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*h,J=j-(j-h),lt=h-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,Jr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,Jr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,Jr[2]=xt-(Dt-b)+(nt-b),Jr[3]=Dt,vt=x*D,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*D,J=j-(j-D),lt=D-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=L*O,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*O,J=j-(j-O),lt=O-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,Wr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,Wr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,Wr[2]=xt-(Dt-b)+(nt-b),Wr[3]=Dt,vt=R*a,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*a,J=j-(j-a),lt=a-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=n*C,j=splitter*n,H=j-(j-n),Q=n-H,j=splitter*C,J=j-(j-C),lt=C-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,wr[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,wr[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,wr[2]=xt-(Dt-b)+(nt-b),wr[3]=Dt,vt=L*h,j=splitter*L,H=j-(j-L),Q=L-H,j=splitter*h,J=j-(j-h),lt=h-J,ft=Q*lt-(vt-H*J-Q*J-H*lt),Tt=d*D,j=splitter*d,H=j-(j-d),Q=d-H,j=splitter*D,J=j-(j-D),lt=D-J,Mt=Q*lt-(Tt-H*J-Q*J-H*lt),nt=ft-Mt,b=ft-nt,hn[0]=ft-(nt+b)+(b-Mt),xt=vt+nt,b=xt-vt,it=vt-(xt-b)+(nt-b),nt=it-Tt,b=it-nt,hn[1]=it-(nt+b)+(b-Tt),Dt=xt+nt,b=Dt-xt,hn[2]=xt-(Dt-b)+(nt-b),hn[3]=Dt;const Gt=fn(Xr,Vr,qr,P,s,-m,Dn),V=fn(Vr,tn,Jr,B,m,-P,mt),tt=fn(tn,en,Wr,k,P,-B,Kt),_=fn(en,kr,wr,s,B,-k,Ct),dt=fn(kr,Xr,hn,m,k,-s,ht),K=fn(Xr,Jr,wr,B,s,m,jt),et=fn(Vr,Wr,hn,k,m,P,Ar),Y=fn(tn,wr,qr,s,P,B,vr),ct=fn(en,hn,Jr,m,B,k,Gr),pt=fn(kr,qr,Wr,P,k,s,Kr),Pt=sum_three(Yn(tt,Kt,et,Ar,ct,Gr,V,mt,n,a,s,Yr),Yr,Yn(_,Ct,Y,vr,pt,Kr,tt,Kt,d,h,m,_r),_r,sum_three(Yn(dt,ht,ct,Gr,K,jt,_,Ct,x,O,P,Ht),Ht,Yn(Gt,Dn,pt,Kr,et,Ar,dt,ht,R,C,B,zr),zr,Yn(V,mt,K,jt,Y,vr,Gt,Dn,L,D,k,un),un,Fn,Kn),Kn,An,bn);return bn[Pt-1]}const ha=v(96),ga=v(96),pa=v(96),ya=v(1152);function ue(n,a,s,d,h,m,x,O,P,R){const C=fn(n,a,s,d,h,m,se);return sum_three(scale(scale(C,se,x,Tn),Tn,x,ha),ha,scale(scale(C,se,O,Tn),Tn,O,ga),ga,scale(scale(C,se,P,Tn),Tn,P,pa),pa,Rn,R)}function Fo(n,a,s,d,h,m,x,O,P,R,C,B,L,D,k,b){let j,H,Q,J,lt,nt,xt,it,vt,ft,Tt,Mt,Dt,Gt,V,tt,_,dt,K,et,Y,ct,pt,Pt,Ot,Lt,zt,Ft,tr,nr,or;const sr=n-L,ur=d-L,lr=x-L,Nr=R-L,br=a-D,Rr=h-D,Zt=O-D,Mr=C-D,Hr=s-k,jr=m-k,Qr=P-k,Zr=B-k;Ft=sr*Rr,et=splitter*sr,Y=et-(et-sr),ct=sr-Y,et=splitter*Rr,pt=et-(et-Rr),Pt=Rr-pt,tr=ct*Pt-(Ft-Y*pt-ct*pt-Y*Pt),nr=ur*br,et=splitter*ur,Y=et-(et-ur),ct=ur-Y,et=splitter*br,pt=et-(et-br),Pt=br-pt,or=ct*Pt-(nr-Y*pt-ct*pt-Y*Pt),Ot=tr-or,K=tr-Ot,Xr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,Xr[1]=zt-(Ot+K)+(K-nr),j=Lt+Ot,K=j-Lt,Xr[2]=Lt-(j-K)+(Ot-K),Xr[3]=j,Ft=ur*Zt,et=splitter*ur,Y=et-(et-ur),ct=ur-Y,et=splitter*Zt,pt=et-(et-Zt),Pt=Zt-pt,tr=ct*Pt-(Ft-Y*pt-ct*pt-Y*Pt),nr=lr*Rr,et=splitter*lr,Y=et-(et-lr),ct=lr-Y,et=splitter*Rr,pt=et-(et-Rr),Pt=Rr-pt,or=ct*Pt-(nr-Y*pt-ct*pt-Y*Pt),Ot=tr-or,K=tr-Ot,Vr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,Vr[1]=zt-(Ot+K)+(K-nr),H=Lt+Ot,K=H-Lt,Vr[2]=Lt-(H-K)+(Ot-K),Vr[3]=H,Ft=lr*Mr,et=splitter*lr,Y=et-(et-lr),ct=lr-Y,et=splitter*Mr,pt=et-(et-Mr),Pt=Mr-pt,tr=ct*Pt-(Ft-Y*pt-ct*pt-Y*Pt),nr=Nr*Zt,et=splitter*Nr,Y=et-(et-Nr),ct=Nr-Y,et=splitter*Zt,pt=et-(et-Zt),Pt=Zt-pt,or=ct*Pt-(nr-Y*pt-ct*pt-Y*Pt),Ot=tr-or,K=tr-Ot,tn[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,tn[1]=zt-(Ot+K)+(K-nr),Q=Lt+Ot,K=Q-Lt,tn[2]=Lt-(Q-K)+(Ot-K),tn[3]=Q,Ft=Nr*br,et=splitter*Nr,Y=et-(et-Nr),ct=Nr-Y,et=splitter*br,pt=et-(et-br),Pt=br-pt,tr=ct*Pt-(Ft-Y*pt-ct*pt-Y*Pt),nr=sr*Mr,et=splitter*sr,Y=et-(et-sr),ct=sr-Y,et=splitter*Mr,pt=et-(et-Mr),Pt=Mr-pt,or=ct*Pt-(nr-Y*pt-ct*pt-Y*Pt),Ot=tr-or,K=tr-Ot,wr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,wr[1]=zt-(Ot+K)+(K-nr),J=Lt+Ot,K=J-Lt,wr[2]=Lt-(J-K)+(Ot-K),wr[3]=J,Ft=sr*Zt,et=splitter*sr,Y=et-(et-sr),ct=sr-Y,et=splitter*Zt,pt=et-(et-Zt),Pt=Zt-pt,tr=ct*Pt-(Ft-Y*pt-ct*pt-Y*Pt),nr=lr*br,et=splitter*lr,Y=et-(et-lr),ct=lr-Y,et=splitter*br,pt=et-(et-br),Pt=br-pt,or=ct*Pt-(nr-Y*pt-ct*pt-Y*Pt),Ot=tr-or,K=tr-Ot,qr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,qr[1]=zt-(Ot+K)+(K-nr),lt=Lt+Ot,K=lt-Lt,qr[2]=Lt-(lt-K)+(Ot-K),qr[3]=lt,Ft=ur*Mr,et=splitter*ur,Y=et-(et-ur),ct=ur-Y,et=splitter*Mr,pt=et-(et-Mr),Pt=Mr-pt,tr=ct*Pt-(Ft-Y*pt-ct*pt-Y*Pt),nr=Nr*Rr,et=splitter*Nr,Y=et-(et-Nr),ct=Nr-Y,et=splitter*Rr,pt=et-(et-Rr),Pt=Rr-pt,or=ct*Pt-(nr-Y*pt-ct*pt-Y*Pt),Ot=tr-or,K=tr-Ot,Jr[0]=tr-(Ot+K)+(K-or),Lt=Ft+Ot,K=Lt-Ft,zt=Ft-(Lt-K)+(Ot-K),Ot=zt-nr,K=zt-Ot,Jr[1]=zt-(Ot+K)+(K-nr),nt=Lt+Ot,K=nt-Lt,Jr[2]=Lt-(nt-K)+(Ot-K),Jr[3]=nt;const Fe=sum(sum(negate(ue(Vr,tn,Jr,Zr,jr,-Qr,sr,br,Hr,Yr),Yr),Yr,ue(tn,wr,qr,Hr,Qr,Zr,ur,Rr,jr,_r),_r,An),An,sum(negate(ue(wr,Xr,Jr,jr,Zr,Hr,lr,Zt,Qr,Ht),Ht),Ht,ue(Xr,Vr,qr,Qr,Hr,-jr,Nr,Mr,Zr,zr),zr,Fn),Fn,ya);let ln=estimate(Fe,ya),In=oe*b;if(ln>=In||-ln>=In||(K=n-sr,xt=n-(sr+K)+(K-L),K=a-br,Tt=a-(br+K)+(K-D),K=s-Hr,V=s-(Hr+K)+(K-k),K=d-ur,it=d-(ur+K)+(K-L),K=h-Rr,Mt=h-(Rr+K)+(K-D),K=m-jr,tt=m-(jr+K)+(K-k),K=x-lr,vt=x-(lr+K)+(K-L),K=O-Zt,Dt=O-(Zt+K)+(K-D),K=P-Qr,_=P-(Qr+K)+(K-k),K=R-Nr,ft=R-(Nr+K)+(K-L),K=C-Mr,Gt=C-(Mr+K)+(K-D),K=B-Zr,dt=B-(Zr+K)+(K-k),xt===0&&Tt===0&&V===0&&it===0&&Mt===0&&tt===0&&vt===0&&Dt===0&&_===0&&ft===0&&Gt===0&&dt===0))return ln;In=Wn*b+resulterrbound*Math.abs(ln);const Oo=sr*Mt+Rr*xt-(br*it+ur*Tt),Io=ur*Dt+Zt*it-(Rr*vt+lr*Mt),Ao=lr*Gt+Mr*vt-(Zt*ft+Nr*Dt),Ro=Nr*Tt+br*ft-(Mr*xt+sr*Gt),Po=sr*Dt+Zt*xt-(br*vt+lr*Tt),Co=ur*Gt+Mr*it-(Rr*ft+Nr*Mt);return ln+=(ur*ur+Rr*Rr+jr*jr)*(Qr*Ro+Zr*Po+Hr*Ao+(_*J+dt*lt+V*Q))+(Nr*Nr+Mr*Mr+Zr*Zr)*(Hr*Io-jr*Po+Qr*Oo+(V*H-tt*lt+_*j))-((sr*sr+br*br+Hr*Hr)*(jr*Ao-Qr*Co+Zr*Io+(tt*Q-_*nt+dt*H))+(lr*lr+Zt*Zt+Qr*Qr)*(Zr*Oo+Hr*Co+jr*Ro+(dt*j+V*nt+tt*J)))+2*((ur*it+Rr*Mt+jr*tt)*(Qr*J+Zr*lt+Hr*Q)+(Nr*ft+Mr*Gt+Zr*dt)*(Hr*H-jr*lt+Qr*j)-((sr*xt+br*Tt+Hr*V)*(jr*Q-Qr*nt+Zr*H)+(lr*vt+Zt*Dt+Qr*_)*(Zr*j+Hr*nt+jr*J))),ln>=In||-ln>=In?ln:Do(n,a,s,d,h,m,x,O,P,R,C,B,L,D,k)}function Yl(n,a,s,d,h,m,x,O,P,R,C,B,L,D,k){const b=n-L,j=d-L,H=x-L,Q=R-L,J=a-D,lt=h-D,nt=O-D,xt=C-D,it=s-k,vt=m-k,ft=P-k,Tt=B-k,Mt=b*lt,Dt=j*J,Gt=Mt-Dt,V=j*nt,tt=H*lt,_=V-tt,dt=H*xt,K=Q*nt,et=dt-K,Y=Q*J,ct=b*xt,pt=Y-ct,Pt=b*nt,Ot=H*J,Lt=Pt-Ot,zt=j*xt,Ft=Q*lt,tr=zt-Ft,nr=b*b+J*J+it*it,or=j*j+lt*lt+vt*vt,sr=H*H+nt*nt+ft*ft,ur=Q*Q+xt*xt+Tt*Tt,lr=sr*(Tt*Gt+it*tr+vt*pt)-ur*(it*_-vt*Lt+ft*Gt)+(nr*(vt*et-ft*tr+Tt*_)-or*(ft*pt+Tt*Lt+it*et)),Nr=Math.abs(it),br=Math.abs(vt),Rr=Math.abs(ft),Zt=Math.abs(Tt),Mr=Math.abs(Mt)+Math.abs(Dt),Hr=Math.abs(V)+Math.abs(tt),jr=Math.abs(dt)+Math.abs(K),Qr=Math.abs(Y)+Math.abs(ct),Zr=Math.abs(Pt)+Math.abs(Ot),Fe=Math.abs(zt)+Math.abs(Ft),ln=(jr*br+Fe*Rr+Hr*Zt)*nr+(Qr*Rr+Zr*Zt+jr*Nr)*or+(Mr*Zt+Fe*Nr+Qr*br)*sr+(Hr*Nr+Zr*br+Mr*Rr)*ur,In=Hn*ln;return lr>In||-lr>In?lr:-Fo(n,a,s,d,h,m,x,O,P,R,C,B,L,D,k,ln)}function zl(n,a,s,d,h,m,x,O,P,R,C,B,L,D,k){const b=n-L,j=d-L,H=x-L,Q=R-L,J=a-D,lt=h-D,nt=O-D,xt=C-D,it=s-k,vt=m-k,ft=P-k,Tt=B-k,Mt=b*lt-j*J,Dt=j*nt-H*lt,Gt=H*xt-Q*nt,V=Q*J-b*xt,tt=b*nt-H*J,_=j*xt-Q*lt,dt=it*Dt-vt*tt+ft*Mt,K=vt*Gt-ft*_+Tt*Dt,et=ft*V+Tt*tt+it*Gt,Y=Tt*Mt+it*_+vt*V,ct=b*b+J*J+it*it,pt=j*j+lt*lt+vt*vt,Pt=H*H+nt*nt+ft*ft,Ot=Q*Q+xt*xt+Tt*Tt;return Pt*Y-Ot*dt+(ct*K-pt*et)}const ma=Math.pow(2,-52),le=new Uint32Array(512);class fe{static from(a,s=Bo,d=jo){const h=a.length,m=new Float64Array(h*2);for(let x=0;x>1;if(s>0&&typeof a[0]!="number")throw new Error("Expected coords to contain numbers.");this.coords=a;const d=Math.max(2*s-5,0);this._triangles=new Uint32Array(d*3),this._halfedges=new Int32Array(d*3),this._hashSize=Math.ceil(Math.sqrt(s)),this._hullPrev=new Uint32Array(s),this._hullNext=new Uint32Array(s),this._hullTri=new Uint32Array(s),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(s),this._dists=new Float64Array(s),this.update()}update(){const{coords:a,_hullPrev:s,_hullNext:d,_hullTri:h,_hullHash:m}=this,x=a.length>>1;let O=1/0,P=1/0,R=-1/0,C=-1/0;for(let ft=0;ftR&&(R=Tt),Mt>C&&(C=Mt),this._ids[ft]=ft}const B=(O+R)/2,L=(P+C)/2;let D,k,b;for(let ft=0,Tt=1/0;ft0&&(k=ft,Tt=Mt)}let Q=a[2*k],J=a[2*k+1],lt=1/0;for(let ft=0;ftDt&&(ft[Tt++]=Gt,Dt=V)}this.hull=ft.subarray(0,Tt),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(U(j,H,Q,J,nt,xt)<0){const ft=k,Tt=Q,Mt=J;k=b,Q=nt,J=xt,b=ft,nt=Tt,xt=Mt}const it=Uo(j,H,Q,J,nt,xt);this._cx=it.x,this._cy=it.y;for(let ft=0;ft0&&Math.abs(Gt-Tt)<=ma&&Math.abs(V-Mt)<=ma||(Tt=Gt,Mt=V,Dt===D||Dt===k||Dt===b))continue;let tt=0;for(let Y=0,ct=this._hashKey(Gt,V);Y=0;)if(_=dt,_===tt){_=-1;break}if(_===-1)continue;let K=this._addTriangle(_,Dt,d[_],-1,-1,h[_]);h[Dt]=this._legalize(K+2),h[_]=K,vt++;let et=d[_];for(;dt=d[et],U(Gt,V,a[2*et],a[2*et+1],a[2*dt],a[2*dt+1])<0;)K=this._addTriangle(et,Dt,dt,h[Dt],-1,h[et]),h[Dt]=this._legalize(K+2),d[et]=et,vt--,et=dt;if(_===tt)for(;dt=s[_],U(Gt,V,a[2*dt],a[2*dt+1],a[2*_],a[2*_+1])<0;)K=this._addTriangle(dt,Dt,_,-1,h[_],h[dt]),this._legalize(K+2),h[dt]=K,d[_]=_,vt--,_=dt;this._hullStart=s[Dt]=_,d[_]=s[et]=Dt,d[Dt]=et,m[this._hashKey(Gt,V)]=Dt,m[this._hashKey(a[2*_],a[2*_+1])]=_}this.hull=new Uint32Array(vt);for(let ft=0,Tt=this._hullStart;ft0?3-s:1+s)/4}function $e(n,a,s,d){const h=n-s,m=a-d;return h*h+m*m}function Lo(n,a,s,d,h,m,x,O){const P=n-x,R=a-O,C=s-x,B=d-O,L=h-x,D=m-O,k=P*P+R*R,b=C*C+B*B,j=L*L+D*D;return P*(B*j-b*D)-R*(C*j-b*L)+k*(C*D-B*L)<0}function $o(n,a,s,d,h,m){const x=s-n,O=d-a,P=h-n,R=m-a,C=x*x+O*O,B=P*P+R*R,L=.5/(x*R-O*P),D=(R*C-O*B)*L,k=(x*B-P*C)*L;return D*D+k*k}function Uo(n,a,s,d,h,m){const x=s-n,O=d-a,P=h-n,R=m-a,C=x*x+O*O,B=P*P+R*R,L=.5/(x*R-O*P),D=n+(R*C-O*B)*L,k=a+(x*B-P*C)*L;return{x:D,y:k}}function Ln(n,a,s,d){if(d-s<=20)for(let h=s+1;h<=d;h++){const m=n[h],x=a[m];let O=h-1;for(;O>=s&&a[n[O]]>x;)n[O+1]=n[O--];n[O+1]=m}else{const h=s+d>>1;let m=s+1,x=d;zn(n,h,m),a[n[s]]>a[n[d]]&&zn(n,s,d),a[n[m]]>a[n[d]]&&zn(n,m,d),a[n[s]]>a[n[m]]&&zn(n,s,m);const O=n[m],P=a[O];for(;;){do m++;while(a[n[m]]P);if(x=x-s?(Ln(n,a,m,d),Ln(n,a,s,x-1)):(Ln(n,a,s,x-1),Ln(n,a,m,d))}}function zn(n,a,s){const d=n[a];n[a]=n[s],n[s]=d}function Bo(n){return n[0]}function jo(n){return n[1]}const xa=1e-6;class Pn{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(a,s){this._+=`M${this._x0=this._x1=+a},${this._y0=this._y1=+s}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(a,s){this._+=`L${this._x1=+a},${this._y1=+s}`}arc(a,s,d){a=+a,s=+s,d=+d;const h=a+d,m=s;if(d<0)throw new Error("negative radius");this._x1===null?this._+=`M${h},${m}`:(Math.abs(this._x1-h)>xa||Math.abs(this._y1-m)>xa)&&(this._+="L"+h+","+m),d&&(this._+=`A${d},${d},0,1,1,${a-d},${s}A${d},${d},0,1,1,${this._x1=h},${this._y1=m}`)}rect(a,s,d,h){this._+=`M${this._x0=this._x1=+a},${this._y0=this._y1=+s}h${+d}v${+h}h${-d}Z`}value(){return this._||null}}class Ue{constructor(){this._=[]}moveTo(a,s){this._.push([a,s])}closePath(){this._.push(this._[0].slice())}lineTo(a,s){this._.push([a,s])}value(){return this._.length?this._:null}}class wo{constructor(a,[s,d,h,m]=[0,0,960,500]){if(!((h=+h)>=(s=+s))||!((m=+m)>=(d=+d)))throw new Error("invalid bounds");this.delaunay=a,this._circumcenters=new Float64Array(a.points.length*2),this.vectors=new Float64Array(a.points.length*2),this.xmax=h,this.xmin=s,this.ymax=m,this.ymin=d,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:a,hull:s,triangles:d},vectors:h}=this;let m,x;const O=this.circumcenters=this._circumcenters.subarray(0,d.length/3*2);for(let b=0,j=0,H=d.length,Q,J;b1;)m-=2;for(let x=2;x0){if(s>=this.ymax)return null;(x=(this.ymax-s)/h)0){if(a>=this.xmax)return null;(x=(this.xmax-a)/d)this.xmax?2:0)|(sthis.ymax?8:0)}_simplify(a){if(a&&a.length>4){for(let s=0;s1e-10)return!1}return!0}function Ko(n,a,s){return[n+Math.sin(n+a)*s,a+Math.cos(n-a)*s]}class Be{static from(a,s=Vo,d=Ho,h){return new Be("length"in a?Yo(a,s,d,h):Float64Array.from(zo(a,s,d,h)))}constructor(a){this._delaunator=new fe(a),this.inedges=new Int32Array(a.length/2),this._hullIndex=new Int32Array(a.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const a=this._delaunator,s=this.points;if(a.hull&&a.hull.length>2&&Wo(a)){this.collinear=Int32Array.from({length:s.length/2},(L,D)=>D).sort((L,D)=>s[2*L]-s[2*D]||s[2*L+1]-s[2*D+1]);const P=this.collinear[0],R=this.collinear[this.collinear.length-1],C=[s[2*P],s[2*P+1],s[2*R],s[2*R+1]],B=1e-8*Math.hypot(C[3]-C[1],C[2]-C[0]);for(let L=0,D=s.length/2;L0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=h[0],x[h[0]]=1,h.length===2&&(x[h[1]]=0,this.triangles[1]=h[1],this.triangles[2]=h[1]))}voronoi(a){return new wo(this,a)}*neighbors(a){const{inedges:s,hull:d,_hullIndex:h,halfedges:m,triangles:x,collinear:O}=this;if(O){const B=O.indexOf(a);B>0&&(yield O[B-1]),B=0&&m!==d&&m!==h;)d=m;return m}_step(a,s,d){const{inedges:h,hull:m,_hullIndex:x,halfedges:O,triangles:P,points:R}=this;if(h[a]===-1||!R.length)return(a+1)%(R.length>>1);let C=a,B=$n(s-R[a*2],2)+$n(d-R[a*2+1],2);const L=h[a];let D=L;do{let k=P[D];const b=$n(s-R[k*2],2)+$n(d-R[k*2+1],2);if(b=J&&(J=Q+1);!(nt=j[J])&&++J=0;)(x=d[h])&&(m&&x.compareDocumentPosition(m)^4&&m.parentNode.insertBefore(x,m),m=x);return this}function Es(n){n||(n=Ts);function a(B,L){return B&&L?n(B.__data__,L.__data__):!B-!L}for(var s=this._groups,d=s.length,h=new Array(d),m=0;ma?1:n>=a?0:NaN}function Os(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function Is(){return Array.from(this)}function As(){for(var n=this._groups,a=0,s=n.length;a=0&&(a=n.slice(0,s))!=="xmlns"&&(n=n.slice(s+1)),Ia.hasOwnProperty(a)?{space:Ia[a],local:n}:n}function Ms(n){return function(){this.removeAttribute(n)}}function Ns(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Ds(n,a){return function(){this.setAttribute(n,a)}}function Fs(n,a){return function(){this.setAttributeNS(n.space,n.local,a)}}function bs(n,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttribute(n):this.setAttribute(n,s)}}function Ls(n,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,s)}}function $s(n,a){var s=ve(n);if(arguments.length<2){var d=this.node();return s.local?d.getAttributeNS(s.space,s.local):d.getAttribute(s)}return this.each((a==null?s.local?Ns:Ms:typeof a=="function"?s.local?Ls:bs:s.local?Fs:Ds)(s,a))}function Aa(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function Us(n){return function(){this.style.removeProperty(n)}}function Bs(n,a,s){return function(){this.style.setProperty(n,a,s)}}function js(n,a,s){return function(){var d=a.apply(this,arguments);d==null?this.style.removeProperty(n):this.style.setProperty(n,d,s)}}function ws(n,a,s){return arguments.length>1?this.each((a==null?Us:typeof a=="function"?js:Bs)(n,a,s==null?"":s)):Un(this.node(),n)}function Un(n,a){return n.style.getPropertyValue(a)||Aa(n).getComputedStyle(n,null).getPropertyValue(a)}function Gs(n){return function(){delete this[n]}}function Vs(n,a){return function(){this[n]=a}}function Hs(n,a){return function(){var s=a.apply(this,arguments);s==null?delete this[n]:this[n]=s}}function Ws(n,a){return arguments.length>1?this.each((a==null?Gs:typeof a=="function"?Hs:Vs)(n,a)):this.node()[n]}function Ra(n){return n.trim().split(/^|\s+/)}function Ge(n){return n.classList||new Pa(n)}function Pa(n){this._node=n,this._names=Ra(n.getAttribute("class")||"")}Pa.prototype={add:function(n){var a=this._names.indexOf(n);a<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var a=this._names.indexOf(n);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function Ca(n,a){for(var s=Ge(n),d=-1,h=a.length;++d=0&&(s=a.slice(d+1),a=a.slice(0,d)),{type:a,name:s}})}function xi(n){return function(){var a=this.__on;if(a){for(var s=0,d=-1,h=a.length,m;s{}};function ba(){for(var n=0,a=arguments.length,s={},d;n=0&&(d=s.slice(h+1),s=s.slice(0,h)),s&&!a.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:d}})}de.prototype=ba.prototype={constructor:de,on:function(n,a){var s=this._,d=Mi(n+"",s),h,m=-1,x=d.length;if(arguments.length<2){for(;++m0)for(var s=new Array(h),d=0,h,m;d=0&&n._call.call(void 0,a),n=n._next;--Bn}function ja(){Cn=(ge=kn.now())+pe,Bn=Jn=0;try{bi()}finally{Bn=0,$i(),Cn=0}}function Li(){var n=kn.now(),a=n-ge;a>$a&&(pe-=a,ge=n)}function $i(){for(var n,a=he,s,d=1/0;a;)a._call?(d>a._time&&(d=a._time),n=a,a=a._next):(s=a._next,a._next=null,a=n?n._next=s:he=s);Zn=n,He(d)}function He(n){if(!Bn){Jn&&(Jn=clearTimeout(Jn));var a=n-Cn;a>24?(n<1/0&&(Jn=setTimeout(ja,n-kn.now()-pe)),Qn&&(Qn=clearInterval(Qn))):(Qn||(ge=kn.now(),Qn=setInterval(Li,$a)),Bn=1,Ua(ja))}}function wa(n,a,s){var d=new ye;return a=a==null?0:+a,d.restart(h=>{d.stop(),n(h+a)},a,s),d}var Ui=Di("start","end","cancel","interrupt"),Bi=[],Ga=0,Va=1,We=2,me=3,Ha=4,Ke=5,xe=6;function Se(n,a,s,d,h,m){var x=n.__transition;if(!x)n.__transition={};else if(s in x)return;ji(n,s,{name:a,index:d,group:h,on:Ui,tween:Bi,time:m.time,delay:m.delay,duration:m.duration,ease:m.ease,timer:null,state:Ga})}function Ye(n,a){var s=vn(n,a);if(s.state>Ga)throw new Error("too late; already scheduled");return s}function gn(n,a){var s=vn(n,a);if(s.state>me)throw new Error("too late; already running");return s}function vn(n,a){var s=n.__transition;if(!s||!(s=s[a]))throw new Error("transition not found");return s}function ji(n,a,s){var d=n.__transition,h;d[a]=s,s.timer=Ba(m,0,s.time);function m(R){s.state=Va,s.timer.restart(x,s.delay,s.time),s.delay<=R&&x(R-s.delay)}function x(R){var C,B,L,D;if(s.state!==Va)return P();for(C in d)if(D=d[C],D.name===s.name){if(D.state===me)return wa(x);D.state===Ha?(D.state=xe,D.timer.stop(),D.on.call("interrupt",n,n.__data__,D.index,D.group),delete d[C]):+CWe&&d.state180?C+=360:C-R>180&&(R+=360),L.push({i:B.push(h(B)+"rotate(",null,d)-2,x:On(R,C)})):C&&B.push(h(B)+"rotate("+C+d)}function O(R,C,B,L){R!==C?L.push({i:B.push(h(B)+"skewX(",null,d)-2,x:On(R,C)}):C&&B.push(h(B)+"skewX("+C+d)}function P(R,C,B,L,D,k){if(R!==B||C!==L){var b=D.push(h(D)+"scale(",null,",",null,")");k.push({i:b-4,x:On(R,B)},{i:b-2,x:On(C,L)})}else(B!==1||L!==1)&&D.push(h(D)+"scale("+B+","+L+")")}return function(R,C){var B=[],L=[];return R=n(R),C=n(C),m(R.translateX,R.translateY,C.translateX,C.translateY,B,L),x(R.rotate,C.rotate,B,L),O(R.skewX,C.skewX,B,L),P(R.scaleX,R.scaleY,C.scaleX,C.scaleY,B,L),R=C=null,function(D){for(var k=-1,b=L.length,j;++k>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):s===8?Oe(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):s===4?Oe(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=Qi.exec(n))?new an(a[1],a[2],a[3],1):(a=Zi.exec(n))?new an(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=ki.exec(n))?Oe(a[1],a[2],a[3],a[4]):(a=qi.exec(n))?Oe(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=_i.exec(n))?_a(a[1],a[2]/100,a[3]/100,1):(a=tu.exec(n))?_a(a[1],a[2]/100,a[3]/100,a[4]):Xa.hasOwnProperty(n)?Za(Xa[n]):n==="transparent"?new an(NaN,NaN,NaN,0):null}function Za(n){return new an(n>>16&255,n>>8&255,n&255,1)}function Oe(n,a,s,d){return d<=0&&(n=a=s=NaN),new an(n,a,s,d)}function eu(n){return n instanceof qn||(n=re(n)),n?(n=n.rgb(),new an(n.r,n.g,n.b,n.opacity)):new an}function Ie(n,a,s,d){return arguments.length===1?eu(n):new an(n,a,s,d==null?1:d)}function an(n,a,s,d){this.r=+n,this.g=+a,this.b=+s,this.opacity=+d}Je(an,Ie,za(qn,{brighter(n){return n=n==null?Te:Math.pow(Te,n),new an(this.r*n,this.g*n,this.b*n,this.opacity)},darker(n){return n=n==null?_n:Math.pow(_n,n),new an(this.r*n,this.g*n,this.b*n,this.opacity)},rgb(){return this},clamp(){return new an(Mn(this.r),Mn(this.g),Mn(this.b),Ae(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ka,formatHex:ka,formatHex8:au,formatRgb:qa,toString:qa}));function ka(){return`#${Nn(this.r)}${Nn(this.g)}${Nn(this.b)}`}function au(){return`#${Nn(this.r)}${Nn(this.g)}${Nn(this.b)}${Nn((isNaN(this.opacity)?1:this.opacity)*255)}`}function qa(){const n=Ae(this.opacity);return`${n===1?"rgb(":"rgba("}${Mn(this.r)}, ${Mn(this.g)}, ${Mn(this.b)}${n===1?")":`, ${n})`}`}function Ae(n){return isNaN(n)?1:Math.max(0,Math.min(1,n))}function Mn(n){return Math.max(0,Math.min(255,Math.round(n)||0))}function Nn(n){return n=Mn(n),(n<16?"0":"")+n.toString(16)}function _a(n,a,s,d){return d<=0?n=a=s=NaN:s<=0||s>=1?n=a=NaN:a<=0&&(n=NaN),new dn(n,a,s,d)}function to(n){if(n instanceof dn)return new dn(n.h,n.s,n.l,n.opacity);if(n instanceof qn||(n=re(n)),!n)return new dn;if(n instanceof dn)return n;n=n.rgb();var a=n.r/255,s=n.g/255,d=n.b/255,h=Math.min(a,s,d),m=Math.max(a,s,d),x=NaN,O=m-h,P=(m+h)/2;return O?(a===m?x=(s-d)/O+(s0&&P<1?0:x,new dn(x,O,P,n.opacity)}function ou(n,a,s,d){return arguments.length===1?to(n):new dn(n,a,s,d==null?1:d)}function dn(n,a,s,d){this.h=+n,this.s=+a,this.l=+s,this.opacity=+d}Je(dn,ou,za(qn,{brighter(n){return n=n==null?Te:Math.pow(Te,n),new dn(this.h,this.s,this.l*n,this.opacity)},darker(n){return n=n==null?_n:Math.pow(_n,n),new dn(this.h,this.s,this.l*n,this.opacity)},rgb(){var n=this.h%360+(this.h<0)*360,a=isNaN(n)||isNaN(this.s)?0:this.s,s=this.l,d=s+(s<.5?s:1-s)*a,h=2*s-d;return new an(Qe(n>=240?n-240:n+120,h,d),Qe(n,h,d),Qe(n<120?n+240:n-120,h,d),this.opacity)},clamp(){return new dn(ro(this.h),Re(this.s),Re(this.l),Ae(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const n=Ae(this.opacity);return`${n===1?"hsl(":"hsla("}${ro(this.h)}, ${Re(this.s)*100}%, ${Re(this.l)*100}%${n===1?")":`, ${n})`}`}}));function ro(n){return n=(n||0)%360,n<0?n+360:n}function Re(n){return Math.max(0,Math.min(1,n||0))}function Qe(n,a,s){return(n<60?a+(s-a)*n/60:n<180?s:n<240?a+(s-a)*(240-n)/60:a)*255}function no(n,a,s,d,h){var m=n*n,x=m*n;return((1-3*n+3*m-x)*a+(4-6*m+3*x)*s+(1+3*n+3*m-3*x)*d+x*h)/6}function su(n){var a=n.length-1;return function(s){var d=s<=0?s=0:s>=1?(s=1,a-1):Math.floor(s*a),h=n[d],m=n[d+1],x=d>0?n[d-1]:2*h-m,O=d()=>n;function ao(n,a){return function(s){return n+s*a}}function uu(n,a,s){return n=Math.pow(n,s),a=Math.pow(a,s)-n,s=1/s,function(d){return Math.pow(n+d*a,s)}}function Xl(n,a){var s=a-n;return s?ao(n,s>180||s<-180?s-360*Math.round(s/360):s):constant(isNaN(n)?a:n)}function lu(n){return(n=+n)==1?oo:function(a,s){return s-a?uu(a,s,n):eo(isNaN(a)?s:a)}}function oo(n,a){var s=a-n;return s?ao(n,s):eo(isNaN(n)?a:n)}var so=function n(a){var s=lu(a);function d(h,m){var x=s((h=Ie(h)).r,(m=Ie(m)).r),O=s(h.g,m.g),P=s(h.b,m.b),R=oo(h.opacity,m.opacity);return function(C){return h.r=x(C),h.g=O(C),h.b=P(C),h.opacity=R(C),h+""}}return d.gamma=n,d}(1);function io(n){return function(a){var s=a.length,d=new Array(s),h=new Array(s),m=new Array(s),x,O;for(x=0;xs&&(m=a.slice(s,m),O[x]?O[x]+=m:O[++x]=m),(d=d[0])===(h=h[0])?O[x]?O[x]+=h:O[++x]=h:(O[++x]=null,P.push({i:x,x:On(d,h)})),s=ke.lastIndex;return s=0&&(a=a.slice(0,s)),!a||a==="start"})}function ju(n,a,s){var d,h,m=Bu(a)?Ye:gn;return function(){var x=m(this,n),O=x.on;O!==d&&(h=(d=O).copy()).on(a,s),x.on=h}}function wu(n,a){var s=this._id;return arguments.length<2?vn(this.node(),s).on.on(n):this.each(ju(s,n,a))}function Gu(n){return function(){var a=this.parentNode;for(var s in this.__transition)if(+s!==n)return;a&&a.removeChild(this)}}function Vu(){return this.on("end.remove",Gu(this._id))}function Hu(n){var a=this._name,s=this._id;typeof n!="function"&&(n=je(n));for(var d=this._groups,h=d.length,m=new Array(h),x=0;x{const Mr=Zt.identifier;return Zt=pointer(Zt,H),Zt.point0=Zt.slice(),Zt.identifier=Mr,Zt});interrupt(H);var tr=C(H,arguments,!0).beforestart();if(Q==="overlay"){vt&&(Pt=!0);const Zt=[Ft[0],Ft[1]||Ft[0]];xt.selection=vt=[[Tt=n===Ce?ft:nn(Zt[0][0],Zt[1][0]),Gt=n===Pe?Dt:nn(Zt[0][1],Zt[1][1])],[_=n===Ce?tt:rn(Zt[0][0],Zt[1][0]),et=n===Pe?K:rn(Zt[0][1],Zt[1][1])]],Ft.length>1&&lr(j)}else Tt=vt[0][0],Gt=vt[0][1],_=vt[1][0],et=vt[1][1];Mt=Tt,V=Gt,dt=_,Y=et;var nr=select(H).attr("pointer-events","none"),or=nr.selectAll(".overlay").attr("cursor",xn[Q]);if(j.touches)tr.moved=ur,tr.ended=Nr;else{var sr=select(j.view).on("mousemove.brush",ur,!0).on("mouseup.brush",Nr,!0);h&&sr.on("keydown.brush",br,!0).on("keyup.brush",Rr,!0),dragDisable(j.view)}R.call(H),tr.start(j,J.name);function ur(Zt){for(const Mr of Zt.changedTouches||[Zt])for(const Hr of Ft)Hr.identifier===Mr.identifier&&(Hr.cur=pointer(Mr,H));if(Ot&&!Lt&&!zt&&Ft.length===1){const Mr=Ft[0];vo(Mr.cur[0]-Mr[0])>vo(Mr.cur[1]-Mr[1])?zt=!0:Lt=!0}for(const Mr of Ft)Mr.cur&&(Mr[0]=Mr.cur[0],Mr[1]=Mr.cur[1]);Pt=!0,noevent(Zt),lr(Zt)}function lr(Zt){const Mr=Ft[0],Hr=Mr.point0;var jr;switch(ct=Mr[0]-Hr[0],pt=Mr[1]-Hr[1],J){case qe:case co:{lt&&(ct=rn(ft-Tt,nn(tt-_,ct)),Mt=Tt+ct,dt=_+ct),nt&&(pt=rn(Dt-Gt,nn(K-et,pt)),V=Gt+pt,Y=et+pt);break}case wn:{Ft[1]?(lt&&(Mt=rn(ft,nn(tt,Ft[0][0])),dt=rn(ft,nn(tt,Ft[1][0])),lt=1),nt&&(V=rn(Dt,nn(K,Ft[0][1])),Y=rn(Dt,nn(K,Ft[1][1])),nt=1)):(lt<0?(ct=rn(ft-Tt,nn(tt-Tt,ct)),Mt=Tt+ct,dt=_):lt>0&&(ct=rn(ft-_,nn(tt-_,ct)),Mt=Tt,dt=_+ct),nt<0?(pt=rn(Dt-Gt,nn(K-Gt,pt)),V=Gt+pt,Y=et):nt>0&&(pt=rn(Dt-et,nn(K-et,pt)),V=Gt,Y=et+pt));break}case Gn:{lt&&(Mt=rn(ft,nn(tt,Tt-ct*lt)),dt=rn(ft,nn(tt,_+ct*lt))),nt&&(V=rn(Dt,nn(K,Gt-pt*nt)),Y=rn(Dt,nn(K,et+pt*nt)));break}}dt0&&(Tt=Mt-ct),nt<0?et=Y-pt:nt>0&&(Gt=V-pt),J=qe,or.attr("cursor",xn.selection),lr(Zt));break}default:return}noevent(Zt)}function Rr(Zt){switch(Zt.keyCode){case 16:{Ot&&(Lt=zt=Ot=!1,lr(Zt));break}case 18:{J===Gn&&(lt<0?_=dt:lt>0&&(Tt=Mt),nt<0?et=Y:nt>0&&(Gt=V),J=wn,lr(Zt));break}case 32:{J===qe&&(Zt.altKey?(lt&&(_=dt-ct*lt,Tt=Mt+ct*lt),nt&&(et=Y-pt*nt,Gt=V+pt*nt),J=Gn):(lt<0?_=dt:lt>0&&(Tt=Mt),nt<0?et=Y:nt>0&&(Gt=V),J=wn),or.attr("cursor",xn[Q]),lr(Zt));break}default:return}noevent(Zt)}}function D(j){C(this,arguments).moved(j)}function k(j){C(this,arguments).ended(j)}function b(){var j=this.__brush||{selection:null};return j.extent=_e(a.apply(this,arguments)),j.dim=n,j}return P.extent=function(j){return arguments.length?(a=typeof j=="function"?j:constant(_e(j)),P):a},P.filter=function(j){return arguments.length?(s=typeof j=="function"?j:constant(!!j),P):s},P.touchable=function(j){return arguments.length?(d=typeof j=="function"?j:constant(!!j),P):d},P.handleSize=function(j){return arguments.length?(x=+j,P):x},P.keyModifiers=function(j){return arguments.length?(h=!!j,P):h},P.on=function(){var j=m.on.apply(m,arguments);return j===m?P:j},P}function El(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function Tl(n){const a=typeof(n==null?void 0:n.requestAnimationFrame)=="function"&&typeof(n==null?void 0:n.cancelAnimationFrame)=="function",s=typeof(n==null?void 0:n.requestIdleCallback)=="function"&&typeof(n==null?void 0:n.cancelIdleCallback)=="function",d=m=>setTimeout(m,1),h=m=>clearTimeout(m);return[a?n.requestAnimationFrame:d,a?n.cancelAnimationFrame:h,s?n.requestIdleCallback:d,s?n.cancelIdleCallback:h]}const Me=El(),Ol=Me==null?void 0:Me.document,[nf,ef,af,of]=Tl(Me);var Il=Object.defineProperty,yo=Object.getOwnPropertySymbols,Al=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,mo=(n,a,s)=>a in n?Il(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,xo=(n,a)=>{for(var s in a||(a={}))Al.call(a,s)&&mo(n,s,a[s]);if(yo)for(var s of yo(a))Rl.call(a,s)&&mo(n,s,a[s]);return n};const sf=n=>n||n===0,Pl=n=>typeof n=="function",Ne=n=>typeof n=="string",na=n=>typeof n=="number",Cl=n=>typeof n=="undefined",So=n=>typeof n!="undefined",uf=n=>typeof n=="boolean",lf=n=>Math.ceil(n/10)*10,ff=n=>Math.ceil(n)+.5,cf=n=>n[1]-n[0],ea=n=>typeof n=="object",Ml=n=>Cl(n)||n===null||Ne(n)&&n.length===0||ea(n)&&!(n instanceof Date)&&Object.keys(n).length===0||na(n)&&isNaN(n),Nl=n=>!Ml(n),aa=n=>Array.isArray(n),De=n=>n&&!(n!=null&&n.nodeType)&&ea(n)&&!aa(n);function vf(n,a,s){return So(n[a])?n[a]:s}function df(n,a){let s=!1;return Object.keys(n).forEach(d=>n[d]===a&&(s=!0)),s}function hf(n,a,...s){const d=Pl(n);return d&&n.call(a,...s),d}function gf(n,a){let s=0;const d=function(...h){!--s&&a.apply(this,...h)};"duration"in n?n.each(()=>++s).on("end",d):(++s,n.call(d))}function pf(n){return Ne(n)?n.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):n}function yf(n,a,s=[-1,1],d=!1){if(!(!n||!Ne(a)))if(a.indexOf(` `)===-1)n.text(a);else{const h=[n.text(),a].map(m=>m.replace(/[\s\n]/g,""));if(h[0]!==h[1]){const m=a.split(` -`),x=d?m.length-1:1;n.html(""),m.forEach((O,P)=>{n.append("tspan").attr("x",0).attr("dy",`${P===0?s[0]*x:s[1]}em`).text(O)})}}}function Dl(n){const{x:a,y:s,width:d,height:h}=n.getBBox();return[{x:a,y:s+h},{x:a,y:s},{x:a+d,y:s},{x:a+d,y:s+h}]}function mf(n){const{width:a,height:s}=n.getBoundingClientRect(),d=Dl(n),h=d[0].x,m=Math.min(d[0].y,d[1].y);return{x:h,y:m,width:a,height:s}}function xf(n,a){var s;const d=n&&((s=n.touches||n.sourceEvent&&n.sourceEvent.touches)==null?void 0:s[0]);let h=[0,0];try{h=d3Pointer(d||n,a)}catch(m){}return h.map(m=>isNaN(m)?0:m)}function Fl(n){const{event:a,$el:s}=n,d=s.subchart.main||s.main;let h;return a&&a.type==="brush"?h=a.selection:d&&(h=d.select(".bb-brush").node())&&(h=d3BrushSelection(h)),h}function Sf(n){return!("rect"in n)||"rect"in n&&n.hasAttribute("width")&&n.rect.width!==+n.getAttribute("width")?n.rect=n.getBoundingClientRect():n.rect}function Ef(n=!0,a=0,s=1e4){const d=window.crypto||window.msCrypto,h=d?a+d.getRandomValues(new Uint32Array(1))[0]%(s-a+1):Math.floor(Math.random()*(s-a)+a);return n?String(h):h}function Eo(n,a,s,d,h){if(s>d)return-1;const m=Math.floor((s+d)/2);let{x,w:O=0}=n[m];return h&&(x=n[m].y,O=n[m].h),a>=x&&a<=x+O?m:a{if(De(s)&&s.constructor){const d=new s.constructor;for(const h in s)d[h]=a(s[h]);return d}return s};return n.map(s=>a(s)).reduce((s,d)=>xo(xo({},s),d))}function bl(n={},a){aa(a)&&a.forEach(s=>bl(n,s));for(const s in a)/^\d+$/.test(s)||s in n||(n[s]=a[s]);return n}const If=n=>n.charAt(0).toUpperCase()+n.slice(1);function Af(n,a="-"){return n.split(a).map((s,d)=>d?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Ll=n=>[].slice.call(n);function Rf(n,a,s){const{rootSelector:d="",sheet:h}=n,x=`${d} ${(O=>O.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${s.join(";")}}`;return h[h.insertRule?"insertRule":"addRule"](x,h.cssRules.length)}function Pf(n){let a=[];return n.forEach(s=>{var d;try{s.cssRules&&s.cssRules.length&&(a=a.concat(Ll(s.cssRules)))}catch(h){(d=window.console)==null||d.warn(`Error while reading rules from ${s.href}: ${h.toString()}`)}}),a}function Cf(n){var a,s,d,h,m,x;return{x:((s=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?s:0)+((d=n.scrollLeft)!=null?d:0),y:((m=(h=window.pageYOffset)!=null?h:window.scrollY)!=null?m:0)+((x=n.scrollTop)!=null?x:0)}}function Mf(n){const a=n?n.transform:null,s=a&&a.baseVal;return s&&s.numberOfItems?s.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Nf(n){const a=n[0]instanceof Date,s=(a?n.map(Number):n).filter((d,h,m)=>m.indexOf(d)===h);return a?s.map(d=>new Date(d)):s}function Df(n){return n&&n.length?n.reduce((a,s)=>a.concat(s)):[]}function oa(n,...a){if(!a.length||a.length===1&&!a[0])return n;const s=a.shift();return De(n)&&De(s)&&Object.keys(s).forEach(d=>{const h=s[d];De(h)?(!n[d]&&(n[d]={}),n[d]=oa(n[d],h)):n[d]=aa(h)?h.concat():h}),oa(n,...a)}function $l(n,a=!0){let s;return n[0]instanceof Date?s=a?(d,h)=>d-h:(d,h)=>h-d:a&&!n.every(isNaN)?s=(d,h)=>d-h:a||(s=(d,h)=>d>h&&-1||dNl(d));return s.length?na(s[0])?s=Math[n](...s):s[0]instanceof Date&&(s=$l(s,n==="min")[0]):s=void 0,s}const bf=(n,a,s=1)=>{const d=[],h=Math.max(0,Math.ceil((a-n)/s))|0;for(let m=n;m{const n=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,s,d=n())=>{a.dispatchEvent(new MouseEvent(s,d))}}catch(a){return(s,d,h=n())=>{const m=Ol.createEvent("MouseEvent");m.initMouseEvent(d,h.bubbles,h.cancelable,Me,0,h.screenX,h.screenY,h.clientX,h.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(m)}}})(),touch:(n,a,s)=>{const d=new Touch(oa({identifier:Date.now(),target:n,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));n.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function $f(n,a){let s=n;for(const d in a)s=s.replace(new RegExp(`{=${d}}`,"g"),a[d]);return s}function Uf(n){var a;let s;if(n instanceof Date)s=n;else if(Ne(n)){const{config:d,format:h}=this;s=(a=h.dataTime(d.data_xFormat)(n))!=null?a:new Date(n)}else na(n)&&!isNaN(n)&&(s=new Date(+n));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${n}' to Date object`),s}function Bf(){var n,a;return((n=document)==null?void 0:n.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function jf(n,a){const{DocumentTouch:s,matchMedia:d,navigator:h}=window;let m=!1;if(a)if(h&&"maxTouchPoints"in h)m=h.maxTouchPoints>0;else if("ontouchmove"in window||s&&document instanceof s)m=!0;else if(d!=null&&d("(pointer:coarse)").matches)m=!0;else{const O=h.userAgent;m=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(O)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(O)}return n&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||m&&"touch"||"mouse"}function Ul(n,a){a()===!1?requestAnimationFrame(()=>Ul(n,a)):n()}function Bl(n){const a=this.config;let s,d,h;const m=()=>{const x=d.shift();if(x&&s&&ea(s)&&x in s)return s=s[x],m();if(!x)return s};Object.keys(a).forEach(x=>{s=n,d=x.split("_"),h=m(),So(h)&&(a[x]=h)}),this.api&&(this.state.orgConfig=n)}var jl=Object.defineProperty,wl=(n,a,s)=>a in n?jl(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,sa=(n,a,s)=>wl(n,typeof a!="symbol"?a+"":a,s);class To{constructor(a={}){sa(this,"$$"),sa(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}sa(To,"version","3.12.4-nightly-20240809004639");class Gl{constructor(){return{selector:void 0,extent:1,area:0}}}var Vl=Object.defineProperty,Hl=(n,a,s)=>a in n?Vl(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,Wl=(n,a,s)=>Hl(n,typeof a!="symbol"?a+"":a,s);class Kl extends To{constructor(a){return super(a),Wl(this,"config"),this.config=new Gl,this}$init(){Bl.call(this,this.options)}$redraw(){const{$$:{$el:a},config:{selector:s}}=this,d=s?a.main.selectAll(s):a.text;!d.empty()&&this.preventLabelOverlap(d)}generateVoronoi(a){const{$$:s}=this,{scale:d}=s,[h,m]=["x","y"].map(x=>d[x].domain());return[h[1],m[0]]=[m[0],h[1]],Be.from(a).voronoi([...h,...m])}preventLabelOverlap(a){const{extent:s,area:d}=this.config,h=a.data().map(O=>[O.index,O.value]),m=this.generateVoronoi(h);let x=0;a.each(function(){const O=m.cellPolygon(x);if(O&&this){const[P,R]=h[x],[C,B]=Xo(O),L=Math.abs(Jo(O)),D=Math.round(Math.atan2(B-R,C-P)/Math.PI*2),k=s*(D===0?1:-1),b=D===-1?-s:s+5,j=Math.abs(D)===1?"middle":D===0?"start":"end";this.style.display=L=X&&(!G||z))Z=I(w,0,X);else{var st=G&&!z&&N?{maxByteLength:N(w)}:void 0;Z=new y(X,st);for(var ut=new S(w),rt=new S(Z),at=E(X,W),ot=0;ot>8&255]},Sr=function(Ut){return[Ut&255,Ut>>8&255,Ut>>16&255,Ut>>24&255]},mr=function(Ut){return Ut[3]<<24|Ut[2]<<16|Ut[1]<<8|Ut[0]},Tr=function(Ut){return xr(A(Ut),23,4)},Fr=function(Ut){return xr(Ut,52,8)},Dr=function(Ut,Vt,bt){c(Ut[ut],Vt,{configurable:!0,get:function(){return bt(this)[Vt]}})},Pr=function(Ut,Vt,bt,fr){var cr=yt(Ut),rr=T(bt),_t=!!fr;if(rr+Vt>cr.byteLength)throw new ir(at);var $r=cr.bytes,Br=rr+cr.byteOffset,Et=U($r,Br,Br+Vt);return _t?Et:yr(Et)},gr=function(Ut,Vt,bt,fr,cr,rr){var _t=yt(Ut),$r=T(bt),Br=fr(+cr),Et=!!rr;if($r+Vt>_t.byteLength)throw new ir(at);for(var Bt=_t.bytes,wt=$r+_t.byteOffset,gt=0;gtrr)throw new ir("Wrong offset");if(fr=fr===void 0?rr-_t:E(fr),_t+fr>rr)throw new ir(rt);Nt(this,{type:st,buffer:Vt,byteLength:fr,byteOffset:_t,bytes:cr.bytes}),o||(this.buffer=Vt,this.byteLength=fr,this.byteOffset=_t)},Yt=Qt[ut],o&&(Dr($t,"byteLength",ot),Dr(Qt,"buffer",yt),Dr(Qt,"byteLength",yt),Dr(Qt,"byteOffset",yt)),g(Yt,{getInt8:function(Vt){return Pr(this,1,Vt)[0]<<24>>24},getUint8:function(Vt){return Pr(this,1,Vt)[0]},getInt16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return(bt[1]<<8|bt[0])<<16>>16},getUint16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return bt[1]<<8|bt[0]},getInt32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))},getUint32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Vt){return Wt(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Vt){return Wt(Pr(this,8,Vt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Vt,bt){gr(this,1,Vt,kt,bt)},setUint8:function(Vt,bt){gr(this,1,Vt,kt,bt)},setInt16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setUint16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setInt32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setUint32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setFloat32:function(Vt,bt){gr(this,4,Vt,Tr,bt,arguments.length>2?arguments[2]:!1)},setFloat64:function(Vt,bt){gr(this,8,Vt,Fr,bt,arguments.length>2?arguments[2]:!1)}});else{var Cr=X&&St.name!==Z;!v(function(){St(1)})||!v(function(){new St(-1)})||v(function(){return new St,new St(1.5),new St(NaN),St.length!==1||Cr&&!z})?($t=function(Vt){return y(this,Rt),w(new St(T(Vt)),this,$t)},$t[ut]=Rt,Rt.constructor=$t,F($t,St)):Cr&&z&&f(St,"name",Z),N&&M(Yt)!==Xt&&N(Yt,Xt);var Er=new Qt(new $t(2)),pr=e(Yt.setInt8);Er.setInt8(0,2147483648),Er.setInt8(1,2147483649),(Er.getInt8(0)||!Er.getInt8(1))&&g(Yt,{setInt8:function(Vt,bt){pr(this,Vt,bt<<24>>24)},setUint8:function(Vt,bt){pr(this,Vt,bt<<24>>24)}},{unsafe:!0})}G($t,Z),G(Qt,st),l.exports={ArrayBuffer:$t,DataView:Qt}},81499:function(l,p,t){var r=t(49671),e=t(4652),o=t(82628),i=t(12384),u=Math.min;l.exports=[].copyWithin||function(c,g){var v=r(this),y=o(v),S=e(c,y),E=e(g,y),T=arguments.length>2?arguments[2]:void 0,A=u((T===void 0?y:e(T,y))-E,y-S),I=1;for(E0;)E in v?v[S]=v[E]:i(v,S),S+=I,E+=I;return v}},43011:function(l,p,t){var r=t(49671),e=t(4652),o=t(82628);l.exports=function(u){for(var f=r(this),c=o(f),g=arguments.length,v=e(g>1?arguments[1]:void 0,c),y=g>2?arguments[2]:void 0,S=y===void 0?c:e(y,c);S>v;)f[v++]=u;return f}},13349:function(l,p,t){var r=t(66655).forEach,e=t(6148),o=e("forEach");l.exports=o?[].forEach:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}},5220:function(l,p,t){var r=t(82628);l.exports=function(e,o,i){for(var u=0,f=arguments.length>2?i:r(o),c=new e(f);f>u;)c[u]=o[u++];return c}},48258:function(l,p,t){var r=t(45526),e=t(96499),o=t(49671),i=t(39969),u=t(48199),f=t(11051),c=t(82628),g=t(84082),v=t(90619),y=t(81077),S=Array;l.exports=function(T){var A=o(T),I=f(this),M=arguments.length,N=M>1?arguments[1]:void 0,$=N!==void 0;$&&(N=r(N,M>2?arguments[2]:void 0));var U=y(A),w=0,F,G,W,X,z,Z;if(U&&!(this===S&&u(U)))for(G=I?new this:[],X=v(A,U),z=X.next;!(W=e(z,X)).done;w++)Z=$?i(X,N,[W.value,w],!0):W.value,g(G,w,Z);else for(F=c(A),G=I?new this(F):S(F);F>w;w++)Z=$?N(A[w],w):A[w],g(G,w,Z);return G.length=w,G}},94319:function(l,p,t){var r=t(36859),e=t(4652),o=t(82628),i=function(u){return function(f,c,g){var v=r(f),y=o(v);if(y===0)return!u&&-1;var S=e(g,y),E;if(u&&c!==c){for(;y>S;)if(E=v[S++],E!==E)return!0}else for(;y>S;S++)if((u||S in v)&&v[S]===c)return u||S||0;return!u&&-1}};l.exports={includes:i(!0),indexOf:i(!1)}},73849:function(l,p,t){var r=t(45526),e=t(72181),o=t(49671),i=t(82628),u=function(f){var c=f===1;return function(g,v,y){for(var S=o(g),E=e(S),T=i(E),A=r(v,y),I,M;T-- >0;)if(I=E[T],M=A(I,T,S),M)switch(f){case 0:return I;case 1:return T}return c?-1:void 0}};l.exports={findLast:u(0),findLastIndex:u(1)}},66655:function(l,p,t){var r=t(45526),e=t(11286),o=t(72181),i=t(49671),u=t(82628),f=t(62083),c=e([].push),g=function(v){var y=v===1,S=v===2,E=v===3,T=v===4,A=v===6,I=v===7,M=v===5||A;return function(N,$,U,w){for(var F=i(N),G=o(F),W=u(G),X=r($,U),z=0,Z=w||f,st=y?Z(N,W):S||I?Z(N,0):void 0,ut,rt;W>z;z++)if((M||z in G)&&(ut=G[z],rt=X(ut,z,F),v))if(y)st[z]=rt;else if(rt)switch(v){case 3:return!0;case 5:return ut;case 6:return z;case 2:c(st,ut)}else switch(v){case 4:return!1;case 7:c(st,ut)}return A?-1:E||T?T:st}};l.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},58465:function(l,p,t){var r=t(66543),e=t(36859),o=t(12105),i=t(82628),u=t(6148),f=Math.min,c=[].lastIndexOf,g=!!c&&1/[1].lastIndexOf(1,-0)<0,v=u("lastIndexOf"),y=g||!v;l.exports=y?function(E){if(g)return r(c,this,arguments)||0;var T=e(this),A=i(T);if(A===0)return-1;var I=A-1;for(arguments.length>1&&(I=f(I,o(arguments[1]))),I<0&&(I=A+I);I>=0;I--)if(I in T&&T[I]===E)return I||0;return-1}:c},52183:function(l,p,t){var r=t(72069),e=t(18565),o=t(44241),i=e("species");l.exports=function(u){return o>=51||!r(function(){var f=[],c=f.constructor={};return c[i]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},6148:function(l,p,t){var r=t(72069);l.exports=function(e,o){var i=[][e];return!!i&&r(function(){i.call(null,o||function(){return 1},1)})}},97264:function(l,p,t){var r=t(85156),e=t(49671),o=t(72181),i=t(82628),u=TypeError,f="Reduce of empty array with no initial value",c=function(g){return function(v,y,S,E){var T=e(v),A=o(T),I=i(T);if(r(y),I===0&&S<2)throw new u(f);var M=g?I-1:0,N=g?-1:1;if(S<2)for(;;){if(M in A){E=A[M],M+=N;break}if(M+=N,g?M<0:I<=M)throw new u(f)}for(;g?M>=0:I>M;M+=N)M in A&&(E=y(E,A[M],M,T));return E}};l.exports={left:c(!1),right:c(!0)}},2213:function(l,p,t){var r=t(92986),e=t(3438),o=TypeError,i=Object.getOwnPropertyDescriptor,u=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();l.exports=u?function(f,c){if(e(f)&&!i(f,"length").writable)throw new o("Cannot set read only .length");return f.length=c}:function(f,c){return f.length=c}},22806:function(l,p,t){var r=t(11286);l.exports=r([].slice)},13270:function(l,p,t){var r=t(22806),e=Math.floor,o=function(i,u){var f=i.length;if(f<8)for(var c=1,g,v;c0;)i[v]=i[--v];v!==c++&&(i[v]=g)}else for(var y=e(f/2),S=o(r(i,0,y),u),E=o(r(i,y),u),T=S.length,A=E.length,I=0,M=0;I=g||y<0)throw new o("Incorrect index");for(var S=new u(g),E=0;E1?arguments[1]:void 0),rt;rt=rt?rt.next:st.first;)for(ut(rt.value,rt.key,this);rt&&rt.removed;)rt=rt.previous},has:function(Z){return!!X(this,Z)}}),o(F,$?{get:function(Z){var st=X(this,Z);return st&&st.value},set:function(Z,st){return W(this,Z===0?0:Z,st)}}:{add:function(Z){return W(this,Z=Z===0?0:Z,Z)}}),S&&e(F,"size",{configurable:!0,get:function(){return G(this).size}}),w},setStrong:function(M,N,$){var U=N+" Iterator",w=I(N),F=I(U);g(M,N,function(G,W){A(this,{type:U,target:G,state:w(G),kind:W,last:void 0})},function(){for(var G=F(this),W=G.kind,X=G.last;X&&X.removed;)X=X.previous;return!G.target||!(G.last=X=X?X.next:G.state.first)?(G.target=void 0,v(void 0,!0)):v(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},$?"entries":"values",!$,!0),y(N)}}},94667:function(l,p,t){var r=t(11286),e=t(2725),o=t(31853).getWeakData,i=t(12833),u=t(25001),f=t(5683),c=t(37540),g=t(55902),v=t(66655),y=t(94879),S=t(82367),E=S.set,T=S.getterFor,A=v.find,I=v.findIndex,M=r([].splice),N=0,$=function(F){return F.frozen||(F.frozen=new U)},U=function(){this.entries=[]},w=function(F,G){return A(F.entries,function(W){return W[0]===G})};U.prototype={get:function(F){var G=w(this,F);if(G)return G[1]},has:function(F){return!!w(this,F)},set:function(F,G){var W=w(this,F);W?W[1]=G:this.entries.push([F,G])},delete:function(F){var G=I(this.entries,function(W){return W[0]===F});return~G&&M(this.entries,G,1),!!~G}},l.exports={getConstructor:function(F,G,W,X){var z=F(function(rt,at){i(rt,Z),E(rt,{type:G,id:N++,frozen:void 0}),f(at)||g(at,rt[X],{that:rt,AS_ENTRIES:W})}),Z=z.prototype,st=T(G),ut=function(rt,at,ot){var yt=st(rt),Nt=o(u(at),!0);return Nt===!0?$(yt).set(at,ot):Nt[yt.id]=ot,rt};return e(Z,{delete:function(rt){var at=st(this);if(!c(rt))return!1;var ot=o(rt);return ot===!0?$(at).delete(rt):ot&&y(ot,at.id)&&delete ot[at.id]},has:function(at){var ot=st(this);if(!c(at))return!1;var yt=o(at);return yt===!0?$(ot).has(at):yt&&y(yt,ot.id)}}),e(Z,W?{get:function(at){var ot=st(this);if(c(at)){var yt=o(at);return yt===!0?$(ot).get(at):yt?yt[ot.id]:void 0}},set:function(at,ot){return ut(this,at,ot)}}:{add:function(at){return ut(this,at,!0)}}),z}}},89378:function(l,p,t){var r=t(14304),e=t(34246),o=t(11286),i=t(13278),u=t(16142),f=t(31853),c=t(55902),g=t(12833),v=t(23583),y=t(5683),S=t(37540),E=t(72069),T=t(97494),A=t(78401),I=t(32345);l.exports=function(M,N,$){var U=M.indexOf("Map")!==-1,w=M.indexOf("Weak")!==-1,F=U?"set":"add",G=e[M],W=G&&G.prototype,X=G,z={},Z=function(Nt){var St=o(W[Nt]);u(W,Nt,Nt==="add"?function(Rt){return St(this,Rt===0?0:Rt),this}:Nt==="delete"?function($t){return w&&!S($t)?!1:St(this,$t===0?0:$t)}:Nt==="get"?function(Rt){return w&&!S(Rt)?void 0:St(this,Rt===0?0:Rt)}:Nt==="has"?function(Rt){return w&&!S(Rt)?!1:St(this,Rt===0?0:Rt)}:function(Rt,Qt){return St(this,Rt===0?0:Rt,Qt),this})},st=i(M,!v(G)||!(w||W.forEach&&!E(function(){new G().entries().next()})));if(st)X=$.getConstructor(N,M,U,F),f.enable();else if(i(M,!0)){var ut=new X,rt=ut[F](w?{}:-0,1)!==ut,at=E(function(){ut.has(1)}),ot=T(function(Nt){new G(Nt)}),yt=!w&&E(function(){for(var Nt=new G,St=5;St--;)Nt[F](St,St);return!Nt.has(-0)});ot||(X=N(function(Nt,St){g(Nt,W);var $t=I(new G,Nt,X);return y(St)||c(St,$t[F],{that:$t,AS_ENTRIES:U}),$t}),X.prototype=W,W.constructor=X),(at||yt)&&(Z("delete"),Z("has"),U&&Z("get")),(yt||rt)&&Z(F),w&&W.clear&&delete W.clear}return z[M]=X,r({global:!0,constructor:!0,forced:X!==G},z),A(X,M),w||$.setStrong(X,M,U),X}},93706:function(l,p,t){var r=t(94879),e=t(16885),o=t(71349),i=t(7831);l.exports=function(u,f,c){for(var g=e(f),v=i.f,y=o.f,S=0;S"+y+""}},10659:function(l){l.exports=function(p,t){return{value:p,done:t}}},90809:function(l,p,t){var r=t(92986),e=t(7831),o=t(18526);l.exports=r?function(i,u,f){return e.f(i,u,o(1,f))}:function(i,u,f){return i[u]=f,i}},18526:function(l){l.exports=function(p,t){return{enumerable:!(p&1),configurable:!(p&2),writable:!(p&4),value:t}}},84082:function(l,p,t){var r=t(92986),e=t(7831),o=t(18526);l.exports=function(i,u,f){r?e.f(i,u,o(0,f)):i[u]=f}},11890:function(l,p,t){var r=t(11286),e=t(72069),o=t(61607).start,i=RangeError,u=isFinite,f=Math.abs,c=Date.prototype,g=c.toISOString,v=r(c.getTime),y=r(c.getUTCDate),S=r(c.getUTCFullYear),E=r(c.getUTCHours),T=r(c.getUTCMilliseconds),A=r(c.getUTCMinutes),I=r(c.getUTCMonth),M=r(c.getUTCSeconds);l.exports=e(function(){return g.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!e(function(){g.call(new Date(NaN))})?function(){if(!u(v(this)))throw new i("Invalid time value");var $=this,U=S($),w=T($),F=U<0?"-":U>9999?"+":"";return F+o(f(U),F?6:4,0)+"-"+o(I($)+1,2,0)+"-"+o(y($),2,0)+"T"+o(E($),2,0)+":"+o(A($),2,0)+":"+o(M($),2,0)+"."+o(w,3,0)+"Z"}:g},84306:function(l,p,t){var r=t(25001),e=t(2064),o=TypeError;l.exports=function(i){if(r(this),i==="string"||i==="default")i="string";else if(i!=="number")throw new o("Incorrect hint");return e(this,i)}},85500:function(l,p,t){var r=t(13749),e=t(7831);l.exports=function(o,i,u){return u.get&&r(u.get,i,{getter:!0}),u.set&&r(u.set,i,{setter:!0}),e.f(o,i,u)}},16142:function(l,p,t){var r=t(23583),e=t(7831),o=t(13749),i=t(36003);l.exports=function(u,f,c,g){g||(g={});var v=g.enumerable,y=g.name!==void 0?g.name:f;if(r(c)&&o(c,y,g),g.global)v?u[f]=c:i(f,c);else{try{g.unsafe?u[f]&&(v=!0):delete u[f]}catch(S){}v?u[f]=c:e.f(u,f,{value:c,enumerable:!1,configurable:!g.nonConfigurable,writable:!g.nonWritable})}return u}},2725:function(l,p,t){var r=t(16142);l.exports=function(e,o,i){for(var u in o)r(e,u,o[u],i);return e}},36003:function(l,p,t){var r=t(34246),e=Object.defineProperty;l.exports=function(o,i){try{e(r,o,{value:i,configurable:!0,writable:!0})}catch(u){r[o]=i}return i}},12384:function(l,p,t){var r=t(82453),e=TypeError;l.exports=function(o,i){if(!delete o[i])throw new e("Cannot delete property "+r(i)+" of "+r(o))}},92986:function(l,p,t){var r=t(72069);l.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(l,p,t){var r=t(34246),e=t(81191),o=t(99050),i=r.structuredClone,u=r.ArrayBuffer,f=r.MessageChannel,c=!1,g,v,y,S;if(o)c=function(E){i(E,{transfer:[E]})};else if(u)try{f||(g=e("worker_threads"),g&&(f=g.MessageChannel)),f&&(v=new f,y=new u(2),S=function(E){v.port1.postMessage(null,[E])},y.byteLength===2&&(S(y),y.byteLength===0&&(c=S)))}catch(E){}l.exports=c},85501:function(l,p,t){var r=t(34246),e=t(37540),o=r.document,i=e(o)&&e(o.createElement);l.exports=function(u){return i?o.createElement(u):{}}},20095:function(l){var p=TypeError,t=9007199254740991;l.exports=function(r){if(r>t)throw p("Maximum allowed index exceeded");return r}},74408:function(l){l.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(l){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(l,p,t){var r=t(85501),e=r("span").classList,o=e&&e.constructor&&e.constructor.prototype;l.exports=o===Object.prototype?void 0:o},75785:function(l){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(l,p,t){var r=t(18257),e=r.match(/firefox\/(\d+)/i);l.exports=!!e&&+e[1]},17417:function(l,p,t){var r=t(18257);l.exports=/MSIE|Trident/.test(r)},7307:function(l,p,t){var r=t(18257);l.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(l,p,t){var r=t(18257);l.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(l,p,t){var r=t(21501);l.exports=r==="NODE"},67722:function(l,p,t){var r=t(18257);l.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(l,p,t){var r=t(34246),e=r.navigator,o=e&&e.userAgent;l.exports=o?String(o):""},44241:function(l,p,t){var r=t(34246),e=t(18257),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8,c,g;f&&(c=f.split("."),g=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!g&&e&&(c=e.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=e.match(/Chrome\/(\d+)/),c&&(g=+c[1]))),l.exports=g},66577:function(l,p,t){var r=t(18257),e=r.match(/AppleWebKit\/(\d+)\./);l.exports=!!e&&+e[1]},21501:function(l,p,t){var r=t(34246),e=t(18257),o=t(14274),i=function(u){return e.slice(0,u.length)===u};l.exports=function(){return i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":o(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"}()},40851:function(l,p,t){var r=t(11286),e=Error,o=r("".replace),i=function(c){return String(new e(c).stack)}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,f=u.test(i);l.exports=function(c,g){if(f&&typeof c=="string"&&!e.prepareStackTrace)for(;g--;)c=o(c,u,"");return c}},97077:function(l,p,t){var r=t(90809),e=t(40851),o=t(16929),i=Error.captureStackTrace;l.exports=function(u,f,c,g){o&&(i?i(u,f):r(u,"stack",e(c,g)))}},16929:function(l,p,t){var r=t(72069),e=t(18526);l.exports=!r(function(){var o=new Error("a");return"stack"in o?(Object.defineProperty(o,"stack",e(1,7)),o.stack!==7):!0})},58434:function(l,p,t){var r=t(92986),e=t(72069),o=t(25001),i=t(15453),u=Error.prototype.toString,f=e(function(){if(r){var c=Object.create(Object.defineProperty({},"name",{get:function(){return this===c}}));if(u.call(c)!=="true")return!0}return u.call({message:1,name:2})!=="2: 1"||u.call({})!=="Error"});l.exports=f?function(){var g=o(this),v=i(g.name,"Error"),y=i(g.message);return v?y?v+": "+y:v:y}:u},14304:function(l,p,t){var r=t(34246),e=t(71349).f,o=t(90809),i=t(16142),u=t(36003),f=t(93706),c=t(13278);l.exports=function(g,v){var y=g.target,S=g.global,E=g.stat,T,A,I,M,N,$;if(S?A=r:E?A=r[y]||u(y,{}):A=r[y]&&r[y].prototype,A)for(I in v){if(N=v[I],g.dontCallGetSet?($=e(A,I),M=$&&$.value):M=A[I],T=c(S?I:y+(E?".":"#")+I,g.forced),!T&&M!==void 0){if(typeof N==typeof M)continue;f(N,M)}(g.sham||M&&M.sham)&&o(N,"sham",!0),i(A,I,N,g)}}},72069:function(l){l.exports=function(p){try{return!!p()}catch(t){return!0}}},63194:function(l,p,t){t(31145);var r=t(96499),e=t(16142),o=t(44381),i=t(72069),u=t(18565),f=t(90809),c=u("species"),g=RegExp.prototype;l.exports=function(v,y,S,E){var T=u(v),A=!i(function(){var $={};return $[T]=function(){return 7},""[v]($)!==7}),I=A&&!i(function(){var $=!1,U=/a/;return v==="split"&&(U={},U.constructor={},U.constructor[c]=function(){return U},U.flags="",U[T]=/./[T]),U.exec=function(){return $=!0,null},U[T](""),!$});if(!A||!I||S){var M=/./[T],N=y(T,""[v],function($,U,w,F,G){var W=U.exec;return W===o||W===g.exec?A&&!G?{done:!0,value:r(M,U,w,F)}:{done:!0,value:r($,w,U,F)}:{done:!1}});e(String.prototype,v,N[0]),e(g,T,N[1])}E&&f(g[T],"sham",!0)}},53149:function(l,p,t){var r=t(3438),e=t(82628),o=t(20095),i=t(45526),u=function(f,c,g,v,y,S,E,T){for(var A=y,I=0,M=E?i(E,T):!1,N,$;I0&&r(N)?($=e(N),A=u(f,c,N,$,A,S-1)-1):(o(A+1),f[A]=N),A++),I++;return A};l.exports=u},27534:function(l,p,t){var r=t(72069);l.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(l,p,t){var r=t(87878),e=Function.prototype,o=e.apply,i=e.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(r?i.bind(o):function(){return i.apply(o,arguments)})},45526:function(l,p,t){var r=t(77422),e=t(85156),o=t(87878),i=r(r.bind);l.exports=function(u,f){return e(u),f===void 0?u:o?i(u,f):function(){return u.apply(f,arguments)}}},87878:function(l,p,t){var r=t(72069);l.exports=!r(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})},91384:function(l,p,t){var r=t(11286),e=t(85156),o=t(37540),i=t(94879),u=t(22806),f=t(87878),c=Function,g=r([].concat),v=r([].join),y={},S=function(E,T,A){if(!i(y,T)){for(var I=[],M=0;M]*>)/g,g=/\$([$&'`]|\d{1,2})/g;l.exports=function(v,y,S,E,T,A){var I=S+v.length,M=E.length,N=g;return T!==void 0&&(T=e(T),N=c),u(A,N,function($,U){var w;switch(i(U,0)){case"$":return"$";case"&":return v;case"`":return f(y,0,S);case"'":return f(y,I);case"<":w=T[f(U,1,-1)];break;default:var F=+U;if(F===0)return $;if(F>M){var G=o(F/10);return G===0?$:G<=M?E[G-1]===void 0?i(U,1):E[G-1]+i(U,1):$}w=E[F-1]}return w===void 0?"":w})}},34246:function(l){var p=function(t){return t&&t.Math===Math&&t};l.exports=p(typeof globalThis=="object"&&globalThis)||p(typeof window=="object"&&window)||p(typeof self=="object"&&self)||p(typeof global=="object"&&global)||p(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(l,p,t){var r=t(11286),e=t(49671),o=r({}.hasOwnProperty);l.exports=Object.hasOwn||function(u,f){return o(e(u),f)}},19423:function(l){l.exports={}},99095:function(l){l.exports=function(p,t){try{arguments.length===1?console.error(p):console.error(p,t)}catch(r){}}},96439:function(l,p,t){var r=t(38941);l.exports=r("document","documentElement")},52515:function(l,p,t){var r=t(92986),e=t(72069),o=t(85501);l.exports=!r&&!e(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(l){var p=Array,t=Math.abs,r=Math.pow,e=Math.floor,o=Math.log,i=Math.LN2,u=function(c,g,v){var y=p(v),S=v*8-g-1,E=(1<>1,A=g===23?r(2,-24)-r(2,-77):0,I=c<0||c===0&&1/c<0?1:0,M=0,N,$,U;for(c=t(c),c!==c||c===1/0?($=c!==c?1:0,N=E):(N=e(o(c)/i),U=r(2,-N),c*U<1&&(N--,U*=2),N+T>=1?c+=A/U:c+=A*r(2,1-T),c*U>=2&&(N++,U/=2),N+T>=E?($=0,N=E):N+T>=1?($=(c*U-1)*r(2,g),N+=T):($=c*r(2,T-1)*r(2,g),N=0));g>=8;)y[M++]=$&255,$/=256,g-=8;for(N=N<0;)y[M++]=N&255,N/=256,S-=8;return y[M-1]|=I*128,y},f=function(c,g){var v=c.length,y=v*8-g-1,S=(1<>1,T=y-7,A=v-1,I=c[A--],M=I&127,N;for(I>>=7;T>0;)M=M*256+c[A--],T-=8;for(N=M&(1<<-T)-1,M>>=-T,T+=g;T>0;)N=N*256+c[A--],T-=8;if(M===0)M=1-E;else{if(M===S)return N?NaN:I?-1/0:1/0;N+=r(2,g),M-=E}return(I?-1:1)*N*r(2,M-g)};l.exports={pack:u,unpack:f}},72181:function(l,p,t){var r=t(11286),e=t(72069),o=t(14274),i=Object,u=r("".split);l.exports=e(function(){return!i("z").propertyIsEnumerable(0)})?function(f){return o(f)==="String"?u(f,""):i(f)}:i},32345:function(l,p,t){var r=t(23583),e=t(37540),o=t(15861);l.exports=function(i,u,f){var c,g;return o&&r(c=u.constructor)&&c!==f&&e(g=c.prototype)&&g!==f.prototype&&o(i,g),i}},84352:function(l,p,t){var r=t(11286),e=t(23583),o=t(70443),i=r(Function.toString);e(o.inspectSource)||(o.inspectSource=function(u){return i(u)}),l.exports=o.inspectSource},31486:function(l,p,t){var r=t(37540),e=t(90809);l.exports=function(o,i){r(i)&&"cause"in i&&e(o,"cause",i.cause)}},31853:function(l,p,t){var r=t(14304),e=t(11286),o=t(19423),i=t(37540),u=t(94879),f=t(7831).f,c=t(83258),g=t(92880),v=t(28174),y=t(36374),S=t(27534),E=!1,T=y("meta"),A=0,I=function(F){f(F,T,{value:{objectID:"O"+A++,weakData:{}}})},M=function(F,G){if(!i(F))return typeof F=="symbol"?F:(typeof F=="string"?"S":"P")+F;if(!u(F,T)){if(!v(F))return"F";if(!G)return"E";I(F)}return F[T].objectID},N=function(F,G){if(!u(F,T)){if(!v(F))return!0;if(!G)return!1;I(F)}return F[T].weakData},$=function(F){return S&&E&&v(F)&&!u(F,T)&&I(F),F},U=function(){w.enable=function(){},E=!0;var F=c.f,G=e([].splice),W={};W[T]=1,F(W).length&&(c.f=function(X){for(var z=F(X),Z=0,st=z.length;Zz;z++)if(st=ot(A[z]),st&&c(T,st))return st;return new E(!1)}W=g(A,X)}for(ut=U?A.next:W.next;!(rt=e(ut,W)).done;){try{st=ot(rt.value)}catch(yt){y(W,"throw",yt)}if(typeof st=="object"&&st&&c(T,st))return st}return new E(!1)}},99797:function(l,p,t){var r=t(96499),e=t(25001),o=t(10512);l.exports=function(i,u,f){var c,g;e(i);try{if(c=o(i,"return"),!c){if(u==="throw")throw f;return f}c=r(c,i)}catch(v){g=!0,c=v}if(u==="throw")throw f;if(g)throw c;return e(c),f}},26820:function(l,p,t){var r=t(24519).IteratorPrototype,e=t(5406),o=t(18526),i=t(78401),u=t(29107),f=function(){return this};l.exports=function(c,g,v,y){var S=g+" Iterator";return c.prototype=e(r,{next:o(+!y,v)}),i(c,S,!1,!0),u[S]=f,c}},10218:function(l,p,t){var r=t(14304),e=t(96499),o=t(70457),i=t(86588),u=t(23583),f=t(26820),c=t(26313),g=t(15861),v=t(78401),y=t(90809),S=t(16142),E=t(18565),T=t(29107),A=t(24519),I=i.PROPER,M=i.CONFIGURABLE,N=A.IteratorPrototype,$=A.BUGGY_SAFARI_ITERATORS,U=E("iterator"),w="keys",F="values",G="entries",W=function(){return this};l.exports=function(X,z,Z,st,ut,rt,at){f(Z,z,st);var ot=function(ir){if(ir===ut&&Rt)return Rt;if(!$&&ir&&ir in St)return St[ir];switch(ir){case w:return function(){return new Z(this,ir)};case F:return function(){return new Z(this,ir)};case G:return function(){return new Z(this,ir)}}return function(){return new Z(this)}},yt=z+" Iterator",Nt=!1,St=X.prototype,$t=St[U]||St["@@iterator"]||ut&&St[ut],Rt=!$&&$t||ot(ut),Qt=z==="Array"&&St.entries||$t,Yt,Xt,er;if(Qt&&(Yt=c(Qt.call(new X)),Yt!==Object.prototype&&Yt.next&&(!o&&c(Yt)!==N&&(g?g(Yt,N):u(Yt[U])||S(Yt,U,W)),v(Yt,yt,!0,!0),o&&(T[yt]=W))),I&&ut===F&&$t&&$t.name!==F&&(!o&&M?y(St,"name",F):(Nt=!0,Rt=function(){return e($t,this)})),ut)if(Xt={values:ot(F),keys:rt?Rt:ot(w),entries:ot(G)},at)for(er in Xt)($||Nt||!(er in St))&&S(St,er,Xt[er]);else r({target:z,proto:!0,forced:$||Nt},Xt);return(!o||at)&&St[U]!==Rt&&S(St,U,Rt,{name:ut}),T[z]=Rt,Xt}},24519:function(l,p,t){var r=t(72069),e=t(23583),o=t(37540),i=t(5406),u=t(26313),f=t(16142),c=t(18565),g=t(70457),v=c("iterator"),y=!1,S,E,T;[].keys&&(T=[].keys(),"next"in T?(E=u(u(T)),E!==Object.prototype&&(S=E)):y=!0);var A=!o(S)||r(function(){var I={};return S[v].call(I)!==I});A?S={}:g&&(S=i(S)),e(S[v])||f(S,v,function(){return this}),l.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:y}},29107:function(l){l.exports={}},82628:function(l,p,t){var r=t(45344);l.exports=function(e){return r(e.length)}},13749:function(l,p,t){var r=t(11286),e=t(72069),o=t(23583),i=t(94879),u=t(92986),f=t(86588).CONFIGURABLE,c=t(84352),g=t(82367),v=g.enforce,y=g.get,S=String,E=Object.defineProperty,T=r("".slice),A=r("".replace),I=r([].join),M=u&&!e(function(){return E(function(){},"length",{value:8}).length!==8}),N=String(String).split("String"),$=l.exports=function(U,w,F){T(S(w),0,7)==="Symbol("&&(w="["+A(S(w),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),F&&F.getter&&(w="get "+w),F&&F.setter&&(w="set "+w),(!i(U,"name")||f&&U.name!==w)&&(u?E(U,"name",{value:w,configurable:!0}):U.name=w),M&&F&&i(F,"arity")&&U.length!==F.arity&&E(U,"length",{value:F.arity});try{F&&i(F,"constructor")&&F.constructor?u&&E(U,"prototype",{writable:!1}):U.prototype&&(U.prototype=void 0)}catch(W){}var G=v(U);return i(G,"source")||(G.source=I(N,typeof w=="string"?w:"")),U};Function.prototype.toString=$(function(){return o(this)&&y(this).source||c(this)},"toString")},1774:function(l,p,t){var r=t(11286),e=Map.prototype;l.exports={Map,set:r(e.set),get:r(e.get),has:r(e.has),remove:r(e.delete),proto:e}},98940:function(l){var p=Math.expm1,t=Math.exp;l.exports=!p||p(10)>22025.465794806718||p(10)<22025.465794806718||p(-2e-17)!==-2e-17?function(e){var o=+e;return o===0?o:o>-1e-6&&o<1e-6?o+o*o/2:t(o)-1}:p},10418:function(l,p,t){var r=t(93976),e=Math.abs,o=2220446049250313e-31,i=1/o,u=function(f){return f+i-i};l.exports=function(f,c,g,v){var y=+f,S=e(y),E=r(y);if(Sg||A!==A?E*(1/0):E*A}},93279:function(l,p,t){var r=t(10418),e=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;l.exports=Math.fround||function(f){return r(f,e,o,i)}},41942:function(l){var p=Math.log,t=Math.LOG10E;l.exports=Math.log10||function(e){return p(e)*t}},49366:function(l){var p=Math.log;l.exports=Math.log1p||function(r){var e=+r;return e>-1e-8&&e<1e-8?e-e*e/2:p(1+e)}},93976:function(l){l.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(l){var p=Math.ceil,t=Math.floor;l.exports=Math.trunc||function(e){var o=+e;return(o>0?t:p)(o)}},9709:function(l,p,t){var r=t(34246),e=t(28167),o=t(45526),i=t(23115).set,u=t(76895),f=t(5286),c=t(7307),g=t(67722),v=t(91707),y=r.MutationObserver||r.WebKitMutationObserver,S=r.document,E=r.process,T=r.Promise,A=e("queueMicrotask"),I,M,N,$,U;if(!A){var w=new u,F=function(){var G,W;for(v&&(G=E.domain)&&G.exit();W=w.get();)try{W()}catch(X){throw w.head&&I(),X}G&&G.enter()};!f&&!v&&!g&&y&&S?(M=!0,N=S.createTextNode(""),new y(F).observe(N,{characterData:!0}),I=function(){N.data=M=!M}):!c&&T&&T.resolve?($=T.resolve(void 0),$.constructor=T,U=o($.then,$),I=function(){U(F)}):v?I=function(){E.nextTick(F)}:(i=o(i,r),I=function(){i(F)}),A=function(G){w.head||I(),w.add(G)}}l.exports=A},24649:function(l,p,t){var r=t(85156),e=TypeError,o=function(i){var u,f;this.promise=new i(function(c,g){if(u!==void 0||f!==void 0)throw new e("Bad Promise constructor");u=c,f=g}),this.resolve=r(u),this.reject=r(f)};l.exports.f=function(i){return new o(i)}},15453:function(l,p,t){var r=t(17361);l.exports=function(e,o){return e===void 0?arguments.length<2?"":o:r(e)}},92337:function(l,p,t){var r=t(11566),e=TypeError;l.exports=function(o){if(r(o))throw new e("The method doesn't accept regular expressions");return o}},98074:function(l,p,t){var r=t(34246),e=r.isFinite;l.exports=Number.isFinite||function(i){return typeof i=="number"&&e(i)}},25838:function(l,p,t){var r=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=o("".charAt),g=r.parseFloat,v=r.Symbol,y=v&&v.iterator,S=1/g(f+"-0")!==-1/0||y&&!e(function(){g(Object(y))});l.exports=S?function(T){var A=u(i(T)),I=g(A);return I===0&&c(A,0)==="-"?-0:I}:g},23009:function(l,p,t){var r=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=r.parseInt,g=r.Symbol,v=g&&g.iterator,y=/^[+-]?0x/i,S=o(y.exec),E=c(f+"08")!==8||c(f+"0x16")!==22||v&&!e(function(){c(Object(v))});l.exports=E?function(A,I){var M=u(i(A));return c(M,I>>>0||(S(y,M)?16:10))}:c},16667:function(l,p,t){var r=t(92986),e=t(11286),o=t(96499),i=t(72069),u=t(18350),f=t(24943),c=t(79591),g=t(49671),v=t(72181),y=Object.assign,S=Object.defineProperty,E=e([].concat);l.exports=!y||i(function(){if(r&&y({b:1},y(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var T={},A={},I=Symbol("assign detection"),M="abcdefghijklmnopqrst";return T[I]=7,M.split("").forEach(function(N){A[N]=N}),y({},T)[I]!==7||u(y({},A)).join("")!==M})?function(A,I){for(var M=g(A),N=arguments.length,$=1,U=f.f,w=c.f;N>$;)for(var F=v(arguments[$++]),G=U?E(u(F),U(F)):u(F),W=G.length,X=0,z;W>X;)z=G[X++],(!r||o(w,F,z))&&(M[z]=F[z]);return M}:y},5406:function(l,p,t){var r=t(25001),e=t(61963),o=t(75785),i=t(19423),u=t(96439),f=t(85501),c=t(44869),g=">",v="<",y="prototype",S="script",E=c("IE_PROTO"),T=function(){},A=function(U){return v+S+g+U+v+"/"+S+g},I=function(U){U.write(A("")),U.close();var w=U.parentWindow.Object;return U=null,w},M=function(){var U=f("iframe"),w="java"+S+":",F;return U.style.display="none",u.appendChild(U),U.src=String(w),F=U.contentWindow.document,F.open(),F.write(A("document.F=Object")),F.close(),F.F},N,$=function(){try{N=new ActiveXObject("htmlfile")}catch(w){}$=typeof document!="undefined"?document.domain&&N?I(N):M():I(N);for(var U=o.length;U--;)delete $[y][o[U]];return $()};i[E]=!0,l.exports=Object.create||function(w,F){var G;return w!==null?(T[y]=r(w),G=new T,T[y]=null,G[E]=w):G=$(),F===void 0?G:e.f(G,F)}},61963:function(l,p,t){var r=t(92986),e=t(356),o=t(7831),i=t(25001),u=t(36859),f=t(18350);p.f=r&&!e?Object.defineProperties:function(g,v){i(g);for(var y=u(v),S=f(v),E=S.length,T=0,A;E>T;)o.f(g,A=S[T++],y[A]);return g}},7831:function(l,p,t){var r=t(92986),e=t(52515),o=t(356),i=t(25001),u=t(50035),f=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v="enumerable",y="configurable",S="writable";p.f=r?o?function(T,A,I){if(i(T),A=u(A),i(I),typeof T=="function"&&A==="prototype"&&"value"in I&&S in I&&!I[S]){var M=g(T,A);M&&M[S]&&(T[A]=I.value,I={configurable:y in I?I[y]:M[y],enumerable:v in I?I[v]:M[v],writable:!1})}return c(T,A,I)}:c:function(T,A,I){if(i(T),A=u(A),i(I),e)try{return c(T,A,I)}catch(M){}if("get"in I||"set"in I)throw new f("Accessors not supported");return"value"in I&&(T[A]=I.value),T}},71349:function(l,p,t){var r=t(92986),e=t(96499),o=t(79591),i=t(18526),u=t(36859),f=t(50035),c=t(94879),g=t(52515),v=Object.getOwnPropertyDescriptor;p.f=r?v:function(S,E){if(S=u(S),E=f(E),g)try{return v(S,E)}catch(T){}if(c(S,E))return i(!e(o.f,S,E),S[E])}},92880:function(l,p,t){var r=t(14274),e=t(36859),o=t(83258).f,i=t(22806),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(c){try{return o(c)}catch(g){return i(u)}};l.exports.f=function(g){return u&&r(g)==="Window"?f(g):o(e(g))}},83258:function(l,p,t){var r=t(6242),e=t(75785),o=e.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(u){return r(u,o)}},24943:function(l,p){p.f=Object.getOwnPropertySymbols},26313:function(l,p,t){var r=t(94879),e=t(23583),o=t(49671),i=t(44869),u=t(87501),f=i("IE_PROTO"),c=Object,g=c.prototype;l.exports=u?c.getPrototypeOf:function(v){var y=o(v);if(r(y,f))return y[f];var S=y.constructor;return e(S)&&y instanceof S?S.prototype:y instanceof c?g:null}},28174:function(l,p,t){var r=t(72069),e=t(37540),o=t(14274),i=t(72058),u=Object.isExtensible,f=r(function(){u(1)});l.exports=f||i?function(g){return!e(g)||i&&o(g)==="ArrayBuffer"?!1:u?u(g):!0}:u},95307:function(l,p,t){var r=t(11286);l.exports=r({}.isPrototypeOf)},6242:function(l,p,t){var r=t(11286),e=t(94879),o=t(36859),i=t(94319).indexOf,u=t(19423),f=r([].push);l.exports=function(c,g){var v=o(c),y=0,S=[],E;for(E in v)!e(u,E)&&e(v,E)&&f(S,E);for(;g.length>y;)e(v,E=g[y++])&&(~i(S,E)||f(S,E));return S}},18350:function(l,p,t){var r=t(6242),e=t(75785);l.exports=Object.keys||function(i){return r(i,e)}},79591:function(l,p){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);p.f=e?function(i){var u=r(this,i);return!!u&&u.enumerable}:t},57629:function(l,p,t){var r=t(70457),e=t(34246),o=t(72069),i=t(66577);l.exports=r||!o(function(){if(!(i&&i<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete e[u]}})},15861:function(l,p,t){var r=t(84756),e=t(37540),o=t(2068),i=t(53408);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,f={},c;try{c=r(Object.prototype,"__proto__","set"),c(f,[]),u=f instanceof Array}catch(g){}return function(v,y){return o(v),i(y),e(v)&&(u?c(v,y):v.__proto__=y),v}}():void 0)},8511:function(l,p,t){var r=t(92986),e=t(72069),o=t(11286),i=t(26313),u=t(18350),f=t(36859),c=t(79591).f,g=o(c),v=o([].push),y=r&&e(function(){var E=Object.create(null);return E[2]=2,!g(E,2)}),S=function(E){return function(T){for(var A=f(T),I=u(A),M=y&&i(A)===null,N=I.length,$=0,U=[],w;N>$;)w=I[$++],(!r||(M?w in A:g(A,w)))&&v(U,E?[w,A[w]]:A[w]);return U}};l.exports={entries:S(!0),values:S(!1)}},60105:function(l,p,t){var r=t(67878),e=t(9205);l.exports=r?{}.toString:function(){return"[object "+e(this)+"]"}},2064:function(l,p,t){var r=t(96499),e=t(23583),o=t(37540),i=TypeError;l.exports=function(u,f){var c,g;if(f==="string"&&e(c=u.toString)&&!o(g=r(c,u))||e(c=u.valueOf)&&!o(g=r(c,u))||f!=="string"&&e(c=u.toString)&&!o(g=r(c,u)))return g;throw new i("Can't convert object to primitive value")}},16885:function(l,p,t){var r=t(38941),e=t(11286),o=t(83258),i=t(24943),u=t(25001),f=e([].concat);l.exports=r("Reflect","ownKeys")||function(g){var v=o.f(u(g)),y=i.f;return y?f(v,y(g)):v}},75081:function(l,p,t){var r=t(34246);l.exports=r},67805:function(l){l.exports=function(p){try{return{error:!1,value:p()}}catch(t){return{error:!0,value:t}}}},37130:function(l,p,t){var r=t(34246),e=t(98844),o=t(23583),i=t(13278),u=t(84352),f=t(18565),c=t(21501),g=t(70457),v=t(44241),y=e&&e.prototype,S=f("species"),E=!1,T=o(r.PromiseRejectionEvent),A=i("Promise",function(){var I=u(e),M=I!==String(e);if(!M&&v===66||g&&!(y.catch&&y.finally))return!0;if(!v||v<51||!/native code/.test(I)){var N=new e(function(w){w(1)}),$=function(w){w(function(){},function(){})},U=N.constructor={};if(U[S]=$,E=N.then(function(){})instanceof $,!E)return!0}return!M&&(c==="BROWSER"||c==="DENO")&&!T});l.exports={CONSTRUCTOR:A,REJECTION_EVENT:T,SUBCLASSING:E}},98844:function(l,p,t){var r=t(34246);l.exports=r.Promise},87408:function(l,p,t){var r=t(25001),e=t(37540),o=t(24649);l.exports=function(i,u){if(r(i),e(u)&&u.constructor===i)return u;var f=o.f(i),c=f.resolve;return c(u),f.promise}},26035:function(l,p,t){var r=t(98844),e=t(97494),o=t(37130).CONSTRUCTOR;l.exports=o||!e(function(i){r.all(i).then(void 0,function(){})})},2594:function(l,p,t){var r=t(7831).f;l.exports=function(e,o,i){i in e||r(e,i,{configurable:!0,get:function(){return o[i]},set:function(u){o[i]=u}})}},76895:function(l){var p=function(){this.head=null,this.tail=null};p.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},l.exports=p},33064:function(l,p,t){var r=t(96499),e=t(25001),o=t(23583),i=t(14274),u=t(44381),f=TypeError;l.exports=function(c,g){var v=c.exec;if(o(v)){var y=r(v,c,g);return y!==null&&e(y),y}if(i(c)==="RegExp")return r(u,c,g);throw new f("RegExp#exec called on incompatible receiver")}},44381:function(l,p,t){var r=t(96499),e=t(11286),o=t(17361),i=t(29833),u=t(39807),f=t(96731),c=t(5406),g=t(82367).get,v=t(76769),y=t(85220),S=f("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,T=E,A=e("".charAt),I=e("".indexOf),M=e("".replace),N=e("".slice),$=function(){var G=/a/,W=/b*/g;return r(E,G,"a"),r(E,W,"a"),G.lastIndex!==0||W.lastIndex!==0}(),U=u.BROKEN_CARET,w=/()??/.exec("")[1]!==void 0,F=$||w||U||v||y;F&&(T=function(W){var X=this,z=g(X),Z=o(W),st=z.raw,ut,rt,at,ot,yt,Nt,St;if(st)return st.lastIndex=X.lastIndex,ut=r(T,st,Z),X.lastIndex=st.lastIndex,ut;var $t=z.groups,Rt=U&&X.sticky,Qt=r(i,X),Yt=X.source,Xt=0,er=Z;if(Rt&&(Qt=M(Qt,"y",""),I(Qt,"g")===-1&&(Qt+="g"),er=N(Z,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&A(Z,X.lastIndex-1)!==` +`),x=d?m.length-1:1;n.html(""),m.forEach((O,P)=>{n.append("tspan").attr("x",0).attr("dy",`${P===0?s[0]*x:s[1]}em`).text(O)})}}}function Dl(n){const{x:a,y:s,width:d,height:h}=n.getBBox();return[{x:a,y:s+h},{x:a,y:s},{x:a+d,y:s},{x:a+d,y:s+h}]}function mf(n){const{width:a,height:s}=n.getBoundingClientRect(),d=Dl(n),h=d[0].x,m=Math.min(d[0].y,d[1].y);return{x:h,y:m,width:a,height:s}}function xf(n,a){var s;const d=n&&((s=n.touches||n.sourceEvent&&n.sourceEvent.touches)==null?void 0:s[0]);let h=[0,0];try{h=d3Pointer(d||n,a)}catch(m){}return h.map(m=>isNaN(m)?0:m)}function Fl(n){const{event:a,$el:s}=n,d=s.subchart.main||s.main;let h;return a&&a.type==="brush"?h=a.selection:d&&(h=d.select(".bb-brush").node())&&(h=d3BrushSelection(h)),h}function Sf(n){return!("rect"in n)||"rect"in n&&n.hasAttribute("width")&&n.rect.width!==+n.getAttribute("width")?n.rect=n.getBoundingClientRect():n.rect}function Ef(n=!0,a=0,s=1e4){const d=window.crypto||window.msCrypto,h=d?a+d.getRandomValues(new Uint32Array(1))[0]%(s-a+1):Math.floor(Math.random()*(s-a)+a);return n?String(h):h}function Eo(n,a,s,d,h){if(s>d)return-1;const m=Math.floor((s+d)/2);let{x,w:O=0}=n[m];return h&&(x=n[m].y,O=n[m].h),a>=x&&a<=x+O?m:a{if(De(s)&&s.constructor){const d=new s.constructor;for(const h in s)d[h]=a(s[h]);return d}return s};return n.map(s=>a(s)).reduce((s,d)=>xo(xo({},s),d))}function bl(n={},a){aa(a)&&a.forEach(s=>bl(n,s));for(const s in a)/^\d+$/.test(s)||s in n||(n[s]=a[s]);return n}const If=n=>n.charAt(0).toUpperCase()+n.slice(1);function Af(n,a="-"){return n.split(a).map((s,d)=>d?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Ll=n=>[].slice.call(n);function Rf(n,a,s){const{rootSelector:d="",sheet:h}=n,x=`${d} ${(O=>O.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${s.join(";")}}`;return h[h.insertRule?"insertRule":"addRule"](x,h.cssRules.length)}function Pf(n){let a=[];return n.forEach(s=>{var d;try{s.cssRules&&s.cssRules.length&&(a=a.concat(Ll(s.cssRules)))}catch(h){(d=window.console)==null||d.warn(`Error while reading rules from ${s.href}: ${h.toString()}`)}}),a}function Cf(n){var a,s,d,h,m,x;return{x:((s=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?s:0)+((d=n.scrollLeft)!=null?d:0),y:((m=(h=window.pageYOffset)!=null?h:window.scrollY)!=null?m:0)+((x=n.scrollTop)!=null?x:0)}}function Mf(n){const a=n?n.transform:null,s=a&&a.baseVal;return s&&s.numberOfItems?s.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Nf(n){const a=n[0]instanceof Date,s=(a?n.map(Number):n).filter((d,h,m)=>m.indexOf(d)===h);return a?s.map(d=>new Date(d)):s}function Df(n){return n&&n.length?n.reduce((a,s)=>a.concat(s)):[]}function oa(n,...a){if(!a.length||a.length===1&&!a[0])return n;const s=a.shift();return De(n)&&De(s)&&Object.keys(s).forEach(d=>{const h=s[d];De(h)?(!n[d]&&(n[d]={}),n[d]=oa(n[d],h)):n[d]=aa(h)?h.concat():h}),oa(n,...a)}function $l(n,a=!0){let s;return n[0]instanceof Date?s=a?(d,h)=>d-h:(d,h)=>h-d:a&&!n.every(isNaN)?s=(d,h)=>d-h:a||(s=(d,h)=>d>h&&-1||dNl(d));return s.length?na(s[0])?s=Math[n](...s):s[0]instanceof Date&&(s=$l(s,n==="min")[0]):s=void 0,s}const bf=(n,a,s=1)=>{const d=[],h=Math.max(0,Math.ceil((a-n)/s))|0;for(let m=n;m{const n=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,s,d=n())=>{a.dispatchEvent(new MouseEvent(s,d))}}catch(a){return(s,d,h=n())=>{const m=Ol.createEvent("MouseEvent");m.initMouseEvent(d,h.bubbles,h.cancelable,Me,0,h.screenX,h.screenY,h.clientX,h.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(m)}}})(),touch:(n,a,s)=>{const d=new Touch(oa({identifier:Date.now(),target:n,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));n.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function $f(n,a){let s=n;for(const d in a)s=s.replace(new RegExp(`{=${d}}`,"g"),a[d]);return s}function Uf(n){var a;let s;if(n instanceof Date)s=n;else if(Ne(n)){const{config:d,format:h}=this;s=(a=h.dataTime(d.data_xFormat)(n))!=null?a:new Date(n)}else na(n)&&!isNaN(n)&&(s=new Date(+n));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${n}' to Date object`),s}function Bf(){var n,a;return((n=document)==null?void 0:n.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function jf(n,a){const{DocumentTouch:s,matchMedia:d,navigator:h}=window;let m=!1;if(a)if(h&&"maxTouchPoints"in h)m=h.maxTouchPoints>0;else if("ontouchmove"in window||s&&document instanceof s)m=!0;else if(d!=null&&d("(pointer:coarse)").matches)m=!0;else{const O=h.userAgent;m=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(O)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(O)}return n&&((d==null?void 0:d("any-hover:hover").matches)||(d==null?void 0:d("any-pointer:fine").matches))&&"mouse"||m&&"touch"||"mouse"}function Ul(n,a){a()===!1?requestAnimationFrame(()=>Ul(n,a)):n()}function Bl(n){const a=this.config;let s,d,h;const m=()=>{const x=d.shift();if(x&&s&&ea(s)&&x in s)return s=s[x],m();if(!x)return s};Object.keys(a).forEach(x=>{s=n,d=x.split("_"),h=m(),So(h)&&(a[x]=h)}),this.api&&(this.state.orgConfig=n)}var jl=Object.defineProperty,wl=(n,a,s)=>a in n?jl(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,sa=(n,a,s)=>wl(n,typeof a!="symbol"?a+"":a,s);class To{constructor(a={}){sa(this,"$$"),sa(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}sa(To,"version","3.12.4-nightly-20240813004629");class Gl{constructor(){return{selector:void 0,extent:1,area:0}}}var Vl=Object.defineProperty,Hl=(n,a,s)=>a in n?Vl(n,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[a]=s,Wl=(n,a,s)=>Hl(n,typeof a!="symbol"?a+"":a,s);class Kl extends To{constructor(a){return super(a),Wl(this,"config"),this.config=new Gl,this}$init(){Bl.call(this,this.options)}$redraw(){const{$$:{$el:a},config:{selector:s}}=this,d=s?a.main.selectAll(s):a.text;!d.empty()&&this.preventLabelOverlap(d)}generateVoronoi(a){const{$$:s}=this,{scale:d}=s,[h,m]=["x","y"].map(x=>d[x].domain());return[h[1],m[0]]=[m[0],h[1]],Be.from(a).voronoi([...h,...m])}preventLabelOverlap(a){const{extent:s,area:d}=this.config,h=a.data().map(O=>[O.index,O.value]),m=this.generateVoronoi(h);let x=0;a.each(function(){const O=m.cellPolygon(x);if(O&&this){const[P,R]=h[x],[C,B]=Xo(O),L=Math.abs(Jo(O)),D=Math.round(Math.atan2(B-R,C-P)/Math.PI*2),k=s*(D===0?1:-1),b=D===-1?-s:s+5,j=Math.abs(D)===1?"middle":D===0?"start":"end";this.style.display=L=X&&(!G||z))Z=I(w,0,X);else{var st=G&&!z&&N?{maxByteLength:N(w)}:void 0;Z=new y(X,st);for(var ut=new S(w),rt=new S(Z),at=E(X,W),ot=0;ot>8&255]},Sr=function(Ut){return[Ut&255,Ut>>8&255,Ut>>16&255,Ut>>24&255]},mr=function(Ut){return Ut[3]<<24|Ut[2]<<16|Ut[1]<<8|Ut[0]},Tr=function(Ut){return xr(A(Ut),23,4)},Fr=function(Ut){return xr(Ut,52,8)},Dr=function(Ut,Vt,bt){c(Ut[ut],Vt,{configurable:!0,get:function(){return bt(this)[Vt]}})},Pr=function(Ut,Vt,bt,fr){var cr=yt(Ut),rr=T(bt),_t=!!fr;if(rr+Vt>cr.byteLength)throw new ir(at);var $r=cr.bytes,Br=rr+cr.byteOffset,Et=U($r,Br,Br+Vt);return _t?Et:yr(Et)},gr=function(Ut,Vt,bt,fr,cr,rr){var _t=yt(Ut),$r=T(bt),Br=fr(+cr),Et=!!rr;if($r+Vt>_t.byteLength)throw new ir(at);for(var Bt=_t.bytes,wt=$r+_t.byteOffset,gt=0;gtrr)throw new ir("Wrong offset");if(fr=fr===void 0?rr-_t:E(fr),_t+fr>rr)throw new ir(rt);Nt(this,{type:st,buffer:Vt,byteLength:fr,byteOffset:_t,bytes:cr.bytes}),o||(this.buffer=Vt,this.byteLength=fr,this.byteOffset=_t)},Yt=Qt[ut],o&&(Dr($t,"byteLength",ot),Dr(Qt,"buffer",yt),Dr(Qt,"byteLength",yt),Dr(Qt,"byteOffset",yt)),g(Yt,{getInt8:function(Vt){return Pr(this,1,Vt)[0]<<24>>24},getUint8:function(Vt){return Pr(this,1,Vt)[0]},getInt16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return(bt[1]<<8|bt[0])<<16>>16},getUint16:function(Vt){var bt=Pr(this,2,Vt,arguments.length>1?arguments[1]:!1);return bt[1]<<8|bt[0]},getInt32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))},getUint32:function(Vt){return mr(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Vt){return Wt(Pr(this,4,Vt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Vt){return Wt(Pr(this,8,Vt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Vt,bt){gr(this,1,Vt,kt,bt)},setUint8:function(Vt,bt){gr(this,1,Vt,kt,bt)},setInt16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setUint16:function(Vt,bt){gr(this,2,Vt,hr,bt,arguments.length>2?arguments[2]:!1)},setInt32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setUint32:function(Vt,bt){gr(this,4,Vt,Sr,bt,arguments.length>2?arguments[2]:!1)},setFloat32:function(Vt,bt){gr(this,4,Vt,Tr,bt,arguments.length>2?arguments[2]:!1)},setFloat64:function(Vt,bt){gr(this,8,Vt,Fr,bt,arguments.length>2?arguments[2]:!1)}});else{var Cr=X&&St.name!==Z;!v(function(){St(1)})||!v(function(){new St(-1)})||v(function(){return new St,new St(1.5),new St(NaN),St.length!==1||Cr&&!z})?($t=function(Vt){return y(this,Rt),w(new St(T(Vt)),this,$t)},$t[ut]=Rt,Rt.constructor=$t,F($t,St)):Cr&&z&&f(St,"name",Z),N&&M(Yt)!==Xt&&N(Yt,Xt);var Er=new Qt(new $t(2)),pr=e(Yt.setInt8);Er.setInt8(0,2147483648),Er.setInt8(1,2147483649),(Er.getInt8(0)||!Er.getInt8(1))&&g(Yt,{setInt8:function(Vt,bt){pr(this,Vt,bt<<24>>24)},setUint8:function(Vt,bt){pr(this,Vt,bt<<24>>24)}},{unsafe:!0})}G($t,Z),G(Qt,st),l.exports={ArrayBuffer:$t,DataView:Qt}},81499:function(l,p,t){var r=t(49671),e=t(4652),o=t(82628),i=t(12384),u=Math.min;l.exports=[].copyWithin||function(c,g){var v=r(this),y=o(v),S=e(c,y),E=e(g,y),T=arguments.length>2?arguments[2]:void 0,A=u((T===void 0?y:e(T,y))-E,y-S),I=1;for(E0;)E in v?v[S]=v[E]:i(v,S),S+=I,E+=I;return v}},43011:function(l,p,t){var r=t(49671),e=t(4652),o=t(82628);l.exports=function(u){for(var f=r(this),c=o(f),g=arguments.length,v=e(g>1?arguments[1]:void 0,c),y=g>2?arguments[2]:void 0,S=y===void 0?c:e(y,c);S>v;)f[v++]=u;return f}},13349:function(l,p,t){var r=t(66655).forEach,e=t(6148),o=e("forEach");l.exports=o?[].forEach:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}},5220:function(l,p,t){var r=t(82628);l.exports=function(e,o,i){for(var u=0,f=arguments.length>2?i:r(o),c=new e(f);f>u;)c[u]=o[u++];return c}},48258:function(l,p,t){var r=t(45526),e=t(96499),o=t(49671),i=t(39969),u=t(48199),f=t(11051),c=t(82628),g=t(84082),v=t(90619),y=t(81077),S=Array;l.exports=function(T){var A=o(T),I=f(this),M=arguments.length,N=M>1?arguments[1]:void 0,$=N!==void 0;$&&(N=r(N,M>2?arguments[2]:void 0));var U=y(A),w=0,F,G,W,X,z,Z;if(U&&!(this===S&&u(U)))for(G=I?new this:[],X=v(A,U),z=X.next;!(W=e(z,X)).done;w++)Z=$?i(X,N,[W.value,w],!0):W.value,g(G,w,Z);else for(F=c(A),G=I?new this(F):S(F);F>w;w++)Z=$?N(A[w],w):A[w],g(G,w,Z);return G.length=w,G}},94319:function(l,p,t){var r=t(36859),e=t(4652),o=t(82628),i=function(u){return function(f,c,g){var v=r(f),y=o(v);if(y===0)return!u&&-1;var S=e(g,y),E;if(u&&c!==c){for(;y>S;)if(E=v[S++],E!==E)return!0}else for(;y>S;S++)if((u||S in v)&&v[S]===c)return u||S||0;return!u&&-1}};l.exports={includes:i(!0),indexOf:i(!1)}},73849:function(l,p,t){var r=t(45526),e=t(72181),o=t(49671),i=t(82628),u=function(f){var c=f===1;return function(g,v,y){for(var S=o(g),E=e(S),T=i(E),A=r(v,y),I,M;T-- >0;)if(I=E[T],M=A(I,T,S),M)switch(f){case 0:return I;case 1:return T}return c?-1:void 0}};l.exports={findLast:u(0),findLastIndex:u(1)}},66655:function(l,p,t){var r=t(45526),e=t(11286),o=t(72181),i=t(49671),u=t(82628),f=t(62083),c=e([].push),g=function(v){var y=v===1,S=v===2,E=v===3,T=v===4,A=v===6,I=v===7,M=v===5||A;return function(N,$,U,w){for(var F=i(N),G=o(F),W=u(G),X=r($,U),z=0,Z=w||f,st=y?Z(N,W):S||I?Z(N,0):void 0,ut,rt;W>z;z++)if((M||z in G)&&(ut=G[z],rt=X(ut,z,F),v))if(y)st[z]=rt;else if(rt)switch(v){case 3:return!0;case 5:return ut;case 6:return z;case 2:c(st,ut)}else switch(v){case 4:return!1;case 7:c(st,ut)}return A?-1:E||T?T:st}};l.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},58465:function(l,p,t){var r=t(66543),e=t(36859),o=t(12105),i=t(82628),u=t(6148),f=Math.min,c=[].lastIndexOf,g=!!c&&1/[1].lastIndexOf(1,-0)<0,v=u("lastIndexOf"),y=g||!v;l.exports=y?function(E){if(g)return r(c,this,arguments)||0;var T=e(this),A=i(T);if(A===0)return-1;var I=A-1;for(arguments.length>1&&(I=f(I,o(arguments[1]))),I<0&&(I=A+I);I>=0;I--)if(I in T&&T[I]===E)return I||0;return-1}:c},52183:function(l,p,t){var r=t(72069),e=t(18565),o=t(44241),i=e("species");l.exports=function(u){return o>=51||!r(function(){var f=[],c=f.constructor={};return c[i]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},6148:function(l,p,t){var r=t(72069);l.exports=function(e,o){var i=[][e];return!!i&&r(function(){i.call(null,o||function(){return 1},1)})}},97264:function(l,p,t){var r=t(85156),e=t(49671),o=t(72181),i=t(82628),u=TypeError,f="Reduce of empty array with no initial value",c=function(g){return function(v,y,S,E){var T=e(v),A=o(T),I=i(T);if(r(y),I===0&&S<2)throw new u(f);var M=g?I-1:0,N=g?-1:1;if(S<2)for(;;){if(M in A){E=A[M],M+=N;break}if(M+=N,g?M<0:I<=M)throw new u(f)}for(;g?M>=0:I>M;M+=N)M in A&&(E=y(E,A[M],M,T));return E}};l.exports={left:c(!1),right:c(!0)}},2213:function(l,p,t){var r=t(92986),e=t(3438),o=TypeError,i=Object.getOwnPropertyDescriptor,u=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();l.exports=u?function(f,c){if(e(f)&&!i(f,"length").writable)throw new o("Cannot set read only .length");return f.length=c}:function(f,c){return f.length=c}},22806:function(l,p,t){var r=t(11286);l.exports=r([].slice)},13270:function(l,p,t){var r=t(22806),e=Math.floor,o=function(i,u){var f=i.length;if(f<8)for(var c=1,g,v;c0;)i[v]=i[--v];v!==c++&&(i[v]=g)}else for(var y=e(f/2),S=o(r(i,0,y),u),E=o(r(i,y),u),T=S.length,A=E.length,I=0,M=0;I=g||y<0)throw new o("Incorrect index");for(var S=new u(g),E=0;E1?arguments[1]:void 0),rt;rt=rt?rt.next:st.first;)for(ut(rt.value,rt.key,this);rt&&rt.removed;)rt=rt.previous},has:function(Z){return!!X(this,Z)}}),o(F,$?{get:function(Z){var st=X(this,Z);return st&&st.value},set:function(Z,st){return W(this,Z===0?0:Z,st)}}:{add:function(Z){return W(this,Z=Z===0?0:Z,Z)}}),S&&e(F,"size",{configurable:!0,get:function(){return G(this).size}}),w},setStrong:function(M,N,$){var U=N+" Iterator",w=I(N),F=I(U);g(M,N,function(G,W){A(this,{type:U,target:G,state:w(G),kind:W,last:void 0})},function(){for(var G=F(this),W=G.kind,X=G.last;X&&X.removed;)X=X.previous;return!G.target||!(G.last=X=X?X.next:G.state.first)?(G.target=void 0,v(void 0,!0)):v(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},$?"entries":"values",!$,!0),y(N)}}},94667:function(l,p,t){var r=t(11286),e=t(2725),o=t(31853).getWeakData,i=t(12833),u=t(25001),f=t(5683),c=t(37540),g=t(55902),v=t(66655),y=t(94879),S=t(82367),E=S.set,T=S.getterFor,A=v.find,I=v.findIndex,M=r([].splice),N=0,$=function(F){return F.frozen||(F.frozen=new U)},U=function(){this.entries=[]},w=function(F,G){return A(F.entries,function(W){return W[0]===G})};U.prototype={get:function(F){var G=w(this,F);if(G)return G[1]},has:function(F){return!!w(this,F)},set:function(F,G){var W=w(this,F);W?W[1]=G:this.entries.push([F,G])},delete:function(F){var G=I(this.entries,function(W){return W[0]===F});return~G&&M(this.entries,G,1),!!~G}},l.exports={getConstructor:function(F,G,W,X){var z=F(function(rt,at){i(rt,Z),E(rt,{type:G,id:N++,frozen:void 0}),f(at)||g(at,rt[X],{that:rt,AS_ENTRIES:W})}),Z=z.prototype,st=T(G),ut=function(rt,at,ot){var yt=st(rt),Nt=o(u(at),!0);return Nt===!0?$(yt).set(at,ot):Nt[yt.id]=ot,rt};return e(Z,{delete:function(rt){var at=st(this);if(!c(rt))return!1;var ot=o(rt);return ot===!0?$(at).delete(rt):ot&&y(ot,at.id)&&delete ot[at.id]},has:function(at){var ot=st(this);if(!c(at))return!1;var yt=o(at);return yt===!0?$(ot).has(at):yt&&y(yt,ot.id)}}),e(Z,W?{get:function(at){var ot=st(this);if(c(at)){var yt=o(at);return yt===!0?$(ot).get(at):yt?yt[ot.id]:void 0}},set:function(at,ot){return ut(this,at,ot)}}:{add:function(at){return ut(this,at,!0)}}),z}}},89378:function(l,p,t){var r=t(14304),e=t(34246),o=t(11286),i=t(13278),u=t(16142),f=t(31853),c=t(55902),g=t(12833),v=t(23583),y=t(5683),S=t(37540),E=t(72069),T=t(97494),A=t(78401),I=t(32345);l.exports=function(M,N,$){var U=M.indexOf("Map")!==-1,w=M.indexOf("Weak")!==-1,F=U?"set":"add",G=e[M],W=G&&G.prototype,X=G,z={},Z=function(Nt){var St=o(W[Nt]);u(W,Nt,Nt==="add"?function(Rt){return St(this,Rt===0?0:Rt),this}:Nt==="delete"?function($t){return w&&!S($t)?!1:St(this,$t===0?0:$t)}:Nt==="get"?function(Rt){return w&&!S(Rt)?void 0:St(this,Rt===0?0:Rt)}:Nt==="has"?function(Rt){return w&&!S(Rt)?!1:St(this,Rt===0?0:Rt)}:function(Rt,Qt){return St(this,Rt===0?0:Rt,Qt),this})},st=i(M,!v(G)||!(w||W.forEach&&!E(function(){new G().entries().next()})));if(st)X=$.getConstructor(N,M,U,F),f.enable();else if(i(M,!0)){var ut=new X,rt=ut[F](w?{}:-0,1)!==ut,at=E(function(){ut.has(1)}),ot=T(function(Nt){new G(Nt)}),yt=!w&&E(function(){for(var Nt=new G,St=5;St--;)Nt[F](St,St);return!Nt.has(-0)});ot||(X=N(function(Nt,St){g(Nt,W);var $t=I(new G,Nt,X);return y(St)||c(St,$t[F],{that:$t,AS_ENTRIES:U}),$t}),X.prototype=W,W.constructor=X),(at||yt)&&(Z("delete"),Z("has"),U&&Z("get")),(yt||rt)&&Z(F),w&&W.clear&&delete W.clear}return z[M]=X,r({global:!0,constructor:!0,forced:X!==G},z),A(X,M),w||$.setStrong(X,M,U),X}},93706:function(l,p,t){var r=t(94879),e=t(16885),o=t(71349),i=t(7831);l.exports=function(u,f,c){for(var g=e(f),v=i.f,y=o.f,S=0;S"+y+""}},10659:function(l){l.exports=function(p,t){return{value:p,done:t}}},90809:function(l,p,t){var r=t(92986),e=t(7831),o=t(18526);l.exports=r?function(i,u,f){return e.f(i,u,o(1,f))}:function(i,u,f){return i[u]=f,i}},18526:function(l){l.exports=function(p,t){return{enumerable:!(p&1),configurable:!(p&2),writable:!(p&4),value:t}}},84082:function(l,p,t){var r=t(92986),e=t(7831),o=t(18526);l.exports=function(i,u,f){r?e.f(i,u,o(0,f)):i[u]=f}},11890:function(l,p,t){var r=t(11286),e=t(72069),o=t(61607).start,i=RangeError,u=isFinite,f=Math.abs,c=Date.prototype,g=c.toISOString,v=r(c.getTime),y=r(c.getUTCDate),S=r(c.getUTCFullYear),E=r(c.getUTCHours),T=r(c.getUTCMilliseconds),A=r(c.getUTCMinutes),I=r(c.getUTCMonth),M=r(c.getUTCSeconds);l.exports=e(function(){return g.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!e(function(){g.call(new Date(NaN))})?function(){if(!u(v(this)))throw new i("Invalid time value");var $=this,U=S($),w=T($),F=U<0?"-":U>9999?"+":"";return F+o(f(U),F?6:4,0)+"-"+o(I($)+1,2,0)+"-"+o(y($),2,0)+"T"+o(E($),2,0)+":"+o(A($),2,0)+":"+o(M($),2,0)+"."+o(w,3,0)+"Z"}:g},84306:function(l,p,t){var r=t(25001),e=t(2064),o=TypeError;l.exports=function(i){if(r(this),i==="string"||i==="default")i="string";else if(i!=="number")throw new o("Incorrect hint");return e(this,i)}},85500:function(l,p,t){var r=t(13749),e=t(7831);l.exports=function(o,i,u){return u.get&&r(u.get,i,{getter:!0}),u.set&&r(u.set,i,{setter:!0}),e.f(o,i,u)}},16142:function(l,p,t){var r=t(23583),e=t(7831),o=t(13749),i=t(36003);l.exports=function(u,f,c,g){g||(g={});var v=g.enumerable,y=g.name!==void 0?g.name:f;if(r(c)&&o(c,y,g),g.global)v?u[f]=c:i(f,c);else{try{g.unsafe?u[f]&&(v=!0):delete u[f]}catch(S){}v?u[f]=c:e.f(u,f,{value:c,enumerable:!1,configurable:!g.nonConfigurable,writable:!g.nonWritable})}return u}},2725:function(l,p,t){var r=t(16142);l.exports=function(e,o,i){for(var u in o)r(e,u,o[u],i);return e}},36003:function(l,p,t){var r=t(34246),e=Object.defineProperty;l.exports=function(o,i){try{e(r,o,{value:i,configurable:!0,writable:!0})}catch(u){r[o]=i}return i}},12384:function(l,p,t){var r=t(82453),e=TypeError;l.exports=function(o,i){if(!delete o[i])throw new e("Cannot delete property "+r(i)+" of "+r(o))}},92986:function(l,p,t){var r=t(72069);l.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(l,p,t){var r=t(34246),e=t(81191),o=t(99050),i=r.structuredClone,u=r.ArrayBuffer,f=r.MessageChannel,c=!1,g,v,y,S;if(o)c=function(E){i(E,{transfer:[E]})};else if(u)try{f||(g=e("worker_threads"),g&&(f=g.MessageChannel)),f&&(v=new f,y=new u(2),S=function(E){v.port1.postMessage(null,[E])},y.byteLength===2&&(S(y),y.byteLength===0&&(c=S)))}catch(E){}l.exports=c},85501:function(l,p,t){var r=t(34246),e=t(37540),o=r.document,i=e(o)&&e(o.createElement);l.exports=function(u){return i?o.createElement(u):{}}},20095:function(l){var p=TypeError,t=9007199254740991;l.exports=function(r){if(r>t)throw p("Maximum allowed index exceeded");return r}},74408:function(l){l.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},93014:function(l){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},39882:function(l,p,t){var r=t(85501),e=r("span").classList,o=e&&e.constructor&&e.constructor.prototype;l.exports=o===Object.prototype?void 0:o},75785:function(l){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(l,p,t){var r=t(18257),e=r.match(/firefox\/(\d+)/i);l.exports=!!e&&+e[1]},17417:function(l,p,t){var r=t(18257);l.exports=/MSIE|Trident/.test(r)},7307:function(l,p,t){var r=t(18257);l.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(l,p,t){var r=t(18257);l.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(l,p,t){var r=t(21501);l.exports=r==="NODE"},67722:function(l,p,t){var r=t(18257);l.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(l,p,t){var r=t(34246),e=r.navigator,o=e&&e.userAgent;l.exports=o?String(o):""},44241:function(l,p,t){var r=t(34246),e=t(18257),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8,c,g;f&&(c=f.split("."),g=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!g&&e&&(c=e.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=e.match(/Chrome\/(\d+)/),c&&(g=+c[1]))),l.exports=g},66577:function(l,p,t){var r=t(18257),e=r.match(/AppleWebKit\/(\d+)\./);l.exports=!!e&&+e[1]},21501:function(l,p,t){var r=t(34246),e=t(18257),o=t(14274),i=function(u){return e.slice(0,u.length)===u};l.exports=function(){return i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":o(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"}()},40851:function(l,p,t){var r=t(11286),e=Error,o=r("".replace),i=function(c){return String(new e(c).stack)}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,f=u.test(i);l.exports=function(c,g){if(f&&typeof c=="string"&&!e.prepareStackTrace)for(;g--;)c=o(c,u,"");return c}},97077:function(l,p,t){var r=t(90809),e=t(40851),o=t(16929),i=Error.captureStackTrace;l.exports=function(u,f,c,g){o&&(i?i(u,f):r(u,"stack",e(c,g)))}},16929:function(l,p,t){var r=t(72069),e=t(18526);l.exports=!r(function(){var o=new Error("a");return"stack"in o?(Object.defineProperty(o,"stack",e(1,7)),o.stack!==7):!0})},58434:function(l,p,t){var r=t(92986),e=t(72069),o=t(25001),i=t(15453),u=Error.prototype.toString,f=e(function(){if(r){var c=Object.create(Object.defineProperty({},"name",{get:function(){return this===c}}));if(u.call(c)!=="true")return!0}return u.call({message:1,name:2})!=="2: 1"||u.call({})!=="Error"});l.exports=f?function(){var g=o(this),v=i(g.name,"Error"),y=i(g.message);return v?y?v+": "+y:v:y}:u},14304:function(l,p,t){var r=t(34246),e=t(71349).f,o=t(90809),i=t(16142),u=t(36003),f=t(93706),c=t(13278);l.exports=function(g,v){var y=g.target,S=g.global,E=g.stat,T,A,I,M,N,$;if(S?A=r:E?A=r[y]||u(y,{}):A=r[y]&&r[y].prototype,A)for(I in v){if(N=v[I],g.dontCallGetSet?($=e(A,I),M=$&&$.value):M=A[I],T=c(S?I:y+(E?".":"#")+I,g.forced),!T&&M!==void 0){if(typeof N==typeof M)continue;f(N,M)}(g.sham||M&&M.sham)&&o(N,"sham",!0),i(A,I,N,g)}}},72069:function(l){l.exports=function(p){try{return!!p()}catch(t){return!0}}},63194:function(l,p,t){t(31145);var r=t(96499),e=t(16142),o=t(44381),i=t(72069),u=t(18565),f=t(90809),c=u("species"),g=RegExp.prototype;l.exports=function(v,y,S,E){var T=u(v),A=!i(function(){var $={};return $[T]=function(){return 7},""[v]($)!==7}),I=A&&!i(function(){var $=!1,U=/a/;return v==="split"&&(U={},U.constructor={},U.constructor[c]=function(){return U},U.flags="",U[T]=/./[T]),U.exec=function(){return $=!0,null},U[T](""),!$});if(!A||!I||S){var M=/./[T],N=y(T,""[v],function($,U,w,F,G){var W=U.exec;return W===o||W===g.exec?A&&!G?{done:!0,value:r(M,U,w,F)}:{done:!0,value:r($,w,U,F)}:{done:!1}});e(String.prototype,v,N[0]),e(g,T,N[1])}E&&f(g[T],"sham",!0)}},53149:function(l,p,t){var r=t(3438),e=t(82628),o=t(20095),i=t(45526),u=function(f,c,g,v,y,S,E,T){for(var A=y,I=0,M=E?i(E,T):!1,N,$;I0&&r(N)?($=e(N),A=u(f,c,N,$,A,S-1)-1):(o(A+1),f[A]=N),A++),I++;return A};l.exports=u},27534:function(l,p,t){var r=t(72069);l.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(l,p,t){var r=t(87878),e=Function.prototype,o=e.apply,i=e.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(r?i.bind(o):function(){return i.apply(o,arguments)})},45526:function(l,p,t){var r=t(77422),e=t(85156),o=t(87878),i=r(r.bind);l.exports=function(u,f){return e(u),f===void 0?u:o?i(u,f):function(){return u.apply(f,arguments)}}},87878:function(l,p,t){var r=t(72069);l.exports=!r(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})},91384:function(l,p,t){var r=t(11286),e=t(85156),o=t(37540),i=t(94879),u=t(22806),f=t(87878),c=Function,g=r([].concat),v=r([].join),y={},S=function(E,T,A){if(!i(y,T)){for(var I=[],M=0;M]*>)/g,g=/\$([$&'`]|\d{1,2})/g;l.exports=function(v,y,S,E,T,A){var I=S+v.length,M=E.length,N=g;return T!==void 0&&(T=e(T),N=c),u(A,N,function($,U){var w;switch(i(U,0)){case"$":return"$";case"&":return v;case"`":return f(y,0,S);case"'":return f(y,I);case"<":w=T[f(U,1,-1)];break;default:var F=+U;if(F===0)return $;if(F>M){var G=o(F/10);return G===0?$:G<=M?E[G-1]===void 0?i(U,1):E[G-1]+i(U,1):$}w=E[F-1]}return w===void 0?"":w})}},34246:function(l){var p=function(t){return t&&t.Math===Math&&t};l.exports=p(typeof globalThis=="object"&&globalThis)||p(typeof window=="object"&&window)||p(typeof self=="object"&&self)||p(typeof global=="object"&&global)||p(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(l,p,t){var r=t(11286),e=t(49671),o=r({}.hasOwnProperty);l.exports=Object.hasOwn||function(u,f){return o(e(u),f)}},19423:function(l){l.exports={}},99095:function(l){l.exports=function(p,t){try{arguments.length===1?console.error(p):console.error(p,t)}catch(r){}}},96439:function(l,p,t){var r=t(38941);l.exports=r("document","documentElement")},52515:function(l,p,t){var r=t(92986),e=t(72069),o=t(85501);l.exports=!r&&!e(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(l){var p=Array,t=Math.abs,r=Math.pow,e=Math.floor,o=Math.log,i=Math.LN2,u=function(c,g,v){var y=p(v),S=v*8-g-1,E=(1<>1,A=g===23?r(2,-24)-r(2,-77):0,I=c<0||c===0&&1/c<0?1:0,M=0,N,$,U;for(c=t(c),c!==c||c===1/0?($=c!==c?1:0,N=E):(N=e(o(c)/i),U=r(2,-N),c*U<1&&(N--,U*=2),N+T>=1?c+=A/U:c+=A*r(2,1-T),c*U>=2&&(N++,U/=2),N+T>=E?($=0,N=E):N+T>=1?($=(c*U-1)*r(2,g),N+=T):($=c*r(2,T-1)*r(2,g),N=0));g>=8;)y[M++]=$&255,$/=256,g-=8;for(N=N<0;)y[M++]=N&255,N/=256,S-=8;return y[M-1]|=I*128,y},f=function(c,g){var v=c.length,y=v*8-g-1,S=(1<>1,T=y-7,A=v-1,I=c[A--],M=I&127,N;for(I>>=7;T>0;)M=M*256+c[A--],T-=8;for(N=M&(1<<-T)-1,M>>=-T,T+=g;T>0;)N=N*256+c[A--],T-=8;if(M===0)M=1-E;else{if(M===S)return N?NaN:I?-1/0:1/0;N+=r(2,g),M-=E}return(I?-1:1)*N*r(2,M-g)};l.exports={pack:u,unpack:f}},72181:function(l,p,t){var r=t(11286),e=t(72069),o=t(14274),i=Object,u=r("".split);l.exports=e(function(){return!i("z").propertyIsEnumerable(0)})?function(f){return o(f)==="String"?u(f,""):i(f)}:i},32345:function(l,p,t){var r=t(23583),e=t(37540),o=t(15861);l.exports=function(i,u,f){var c,g;return o&&r(c=u.constructor)&&c!==f&&e(g=c.prototype)&&g!==f.prototype&&o(i,g),i}},84352:function(l,p,t){var r=t(11286),e=t(23583),o=t(70443),i=r(Function.toString);e(o.inspectSource)||(o.inspectSource=function(u){return i(u)}),l.exports=o.inspectSource},31486:function(l,p,t){var r=t(37540),e=t(90809);l.exports=function(o,i){r(i)&&"cause"in i&&e(o,"cause",i.cause)}},31853:function(l,p,t){var r=t(14304),e=t(11286),o=t(19423),i=t(37540),u=t(94879),f=t(7831).f,c=t(83258),g=t(92880),v=t(28174),y=t(36374),S=t(27534),E=!1,T=y("meta"),A=0,I=function(F){f(F,T,{value:{objectID:"O"+A++,weakData:{}}})},M=function(F,G){if(!i(F))return typeof F=="symbol"?F:(typeof F=="string"?"S":"P")+F;if(!u(F,T)){if(!v(F))return"F";if(!G)return"E";I(F)}return F[T].objectID},N=function(F,G){if(!u(F,T)){if(!v(F))return!0;if(!G)return!1;I(F)}return F[T].weakData},$=function(F){return S&&E&&v(F)&&!u(F,T)&&I(F),F},U=function(){w.enable=function(){},E=!0;var F=c.f,G=e([].splice),W={};W[T]=1,F(W).length&&(c.f=function(X){for(var z=F(X),Z=0,st=z.length;Zz;z++)if(st=ot(A[z]),st&&c(T,st))return st;return new E(!1)}W=g(A,X)}for(ut=U?A.next:W.next;!(rt=e(ut,W)).done;){try{st=ot(rt.value)}catch(yt){y(W,"throw",yt)}if(typeof st=="object"&&st&&c(T,st))return st}return new E(!1)}},99797:function(l,p,t){var r=t(96499),e=t(25001),o=t(10512);l.exports=function(i,u,f){var c,g;e(i);try{if(c=o(i,"return"),!c){if(u==="throw")throw f;return f}c=r(c,i)}catch(v){g=!0,c=v}if(u==="throw")throw f;if(g)throw c;return e(c),f}},26820:function(l,p,t){var r=t(24519).IteratorPrototype,e=t(5406),o=t(18526),i=t(78401),u=t(29107),f=function(){return this};l.exports=function(c,g,v,y){var S=g+" Iterator";return c.prototype=e(r,{next:o(+!y,v)}),i(c,S,!1,!0),u[S]=f,c}},10218:function(l,p,t){var r=t(14304),e=t(96499),o=t(70457),i=t(86588),u=t(23583),f=t(26820),c=t(26313),g=t(15861),v=t(78401),y=t(90809),S=t(16142),E=t(18565),T=t(29107),A=t(24519),I=i.PROPER,M=i.CONFIGURABLE,N=A.IteratorPrototype,$=A.BUGGY_SAFARI_ITERATORS,U=E("iterator"),w="keys",F="values",G="entries",W=function(){return this};l.exports=function(X,z,Z,st,ut,rt,at){f(Z,z,st);var ot=function(ir){if(ir===ut&&Rt)return Rt;if(!$&&ir&&ir in St)return St[ir];switch(ir){case w:return function(){return new Z(this,ir)};case F:return function(){return new Z(this,ir)};case G:return function(){return new Z(this,ir)}}return function(){return new Z(this)}},yt=z+" Iterator",Nt=!1,St=X.prototype,$t=St[U]||St["@@iterator"]||ut&&St[ut],Rt=!$&&$t||ot(ut),Qt=z==="Array"&&St.entries||$t,Yt,Xt,er;if(Qt&&(Yt=c(Qt.call(new X)),Yt!==Object.prototype&&Yt.next&&(!o&&c(Yt)!==N&&(g?g(Yt,N):u(Yt[U])||S(Yt,U,W)),v(Yt,yt,!0,!0),o&&(T[yt]=W))),I&&ut===F&&$t&&$t.name!==F&&(!o&&M?y(St,"name",F):(Nt=!0,Rt=function(){return e($t,this)})),ut)if(Xt={values:ot(F),keys:rt?Rt:ot(w),entries:ot(G)},at)for(er in Xt)($||Nt||!(er in St))&&S(St,er,Xt[er]);else r({target:z,proto:!0,forced:$||Nt},Xt);return(!o||at)&&St[U]!==Rt&&S(St,U,Rt,{name:ut}),T[z]=Rt,Xt}},24519:function(l,p,t){var r=t(72069),e=t(23583),o=t(37540),i=t(5406),u=t(26313),f=t(16142),c=t(18565),g=t(70457),v=c("iterator"),y=!1,S,E,T;[].keys&&(T=[].keys(),"next"in T?(E=u(u(T)),E!==Object.prototype&&(S=E)):y=!0);var A=!o(S)||r(function(){var I={};return S[v].call(I)!==I});A?S={}:g&&(S=i(S)),e(S[v])||f(S,v,function(){return this}),l.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:y}},29107:function(l){l.exports={}},82628:function(l,p,t){var r=t(45344);l.exports=function(e){return r(e.length)}},13749:function(l,p,t){var r=t(11286),e=t(72069),o=t(23583),i=t(94879),u=t(92986),f=t(86588).CONFIGURABLE,c=t(84352),g=t(82367),v=g.enforce,y=g.get,S=String,E=Object.defineProperty,T=r("".slice),A=r("".replace),I=r([].join),M=u&&!e(function(){return E(function(){},"length",{value:8}).length!==8}),N=String(String).split("String"),$=l.exports=function(U,w,F){T(S(w),0,7)==="Symbol("&&(w="["+A(S(w),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),F&&F.getter&&(w="get "+w),F&&F.setter&&(w="set "+w),(!i(U,"name")||f&&U.name!==w)&&(u?E(U,"name",{value:w,configurable:!0}):U.name=w),M&&F&&i(F,"arity")&&U.length!==F.arity&&E(U,"length",{value:F.arity});try{F&&i(F,"constructor")&&F.constructor?u&&E(U,"prototype",{writable:!1}):U.prototype&&(U.prototype=void 0)}catch(W){}var G=v(U);return i(G,"source")||(G.source=I(N,typeof w=="string"?w:"")),U};Function.prototype.toString=$(function(){return o(this)&&y(this).source||c(this)},"toString")},1774:function(l,p,t){var r=t(11286),e=Map.prototype;l.exports={Map,set:r(e.set),get:r(e.get),has:r(e.has),remove:r(e.delete),proto:e}},98940:function(l){var p=Math.expm1,t=Math.exp;l.exports=!p||p(10)>22025.465794806718||p(10)<22025.465794806718||p(-2e-17)!==-2e-17?function(e){var o=+e;return o===0?o:o>-1e-6&&o<1e-6?o+o*o/2:t(o)-1}:p},10418:function(l,p,t){var r=t(93976),e=Math.abs,o=2220446049250313e-31,i=1/o,u=function(f){return f+i-i};l.exports=function(f,c,g,v){var y=+f,S=e(y),E=r(y);if(Sg||A!==A?E*(1/0):E*A}},93279:function(l,p,t){var r=t(10418),e=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;l.exports=Math.fround||function(f){return r(f,e,o,i)}},41942:function(l){var p=Math.log,t=Math.LOG10E;l.exports=Math.log10||function(e){return p(e)*t}},49366:function(l){var p=Math.log;l.exports=Math.log1p||function(r){var e=+r;return e>-1e-8&&e<1e-8?e-e*e/2:p(1+e)}},93976:function(l){l.exports=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}},22459:function(l){var p=Math.ceil,t=Math.floor;l.exports=Math.trunc||function(e){var o=+e;return(o>0?t:p)(o)}},9709:function(l,p,t){var r=t(34246),e=t(28167),o=t(45526),i=t(23115).set,u=t(76895),f=t(5286),c=t(7307),g=t(67722),v=t(91707),y=r.MutationObserver||r.WebKitMutationObserver,S=r.document,E=r.process,T=r.Promise,A=e("queueMicrotask"),I,M,N,$,U;if(!A){var w=new u,F=function(){var G,W;for(v&&(G=E.domain)&&G.exit();W=w.get();)try{W()}catch(X){throw w.head&&I(),X}G&&G.enter()};!f&&!v&&!g&&y&&S?(M=!0,N=S.createTextNode(""),new y(F).observe(N,{characterData:!0}),I=function(){N.data=M=!M}):!c&&T&&T.resolve?($=T.resolve(void 0),$.constructor=T,U=o($.then,$),I=function(){U(F)}):v?I=function(){E.nextTick(F)}:(i=o(i,r),I=function(){i(F)}),A=function(G){w.head||I(),w.add(G)}}l.exports=A},24649:function(l,p,t){var r=t(85156),e=TypeError,o=function(i){var u,f;this.promise=new i(function(c,g){if(u!==void 0||f!==void 0)throw new e("Bad Promise constructor");u=c,f=g}),this.resolve=r(u),this.reject=r(f)};l.exports.f=function(i){return new o(i)}},15453:function(l,p,t){var r=t(17361);l.exports=function(e,o){return e===void 0?arguments.length<2?"":o:r(e)}},92337:function(l,p,t){var r=t(11566),e=TypeError;l.exports=function(o){if(r(o))throw new e("The method doesn't accept regular expressions");return o}},98074:function(l,p,t){var r=t(34246),e=r.isFinite;l.exports=Number.isFinite||function(i){return typeof i=="number"&&e(i)}},25838:function(l,p,t){var r=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=o("".charAt),g=r.parseFloat,v=r.Symbol,y=v&&v.iterator,S=1/g(f+"-0")!==-1/0||y&&!e(function(){g(Object(y))});l.exports=S?function(T){var A=u(i(T)),I=g(A);return I===0&&c(A,0)==="-"?-0:I}:g},23009:function(l,p,t){var r=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=r.parseInt,g=r.Symbol,v=g&&g.iterator,y=/^[+-]?0x/i,S=o(y.exec),E=c(f+"08")!==8||c(f+"0x16")!==22||v&&!e(function(){c(Object(v))});l.exports=E?function(A,I){var M=u(i(A));return c(M,I>>>0||(S(y,M)?16:10))}:c},16667:function(l,p,t){var r=t(92986),e=t(11286),o=t(96499),i=t(72069),u=t(18350),f=t(24943),c=t(79591),g=t(49671),v=t(72181),y=Object.assign,S=Object.defineProperty,E=e([].concat);l.exports=!y||i(function(){if(r&&y({b:1},y(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var T={},A={},I=Symbol("assign detection"),M="abcdefghijklmnopqrst";return T[I]=7,M.split("").forEach(function(N){A[N]=N}),y({},T)[I]!==7||u(y({},A)).join("")!==M})?function(A,I){for(var M=g(A),N=arguments.length,$=1,U=f.f,w=c.f;N>$;)for(var F=v(arguments[$++]),G=U?E(u(F),U(F)):u(F),W=G.length,X=0,z;W>X;)z=G[X++],(!r||o(w,F,z))&&(M[z]=F[z]);return M}:y},5406:function(l,p,t){var r=t(25001),e=t(61963),o=t(75785),i=t(19423),u=t(96439),f=t(85501),c=t(44869),g=">",v="<",y="prototype",S="script",E=c("IE_PROTO"),T=function(){},A=function(U){return v+S+g+U+v+"/"+S+g},I=function(U){U.write(A("")),U.close();var w=U.parentWindow.Object;return U=null,w},M=function(){var U=f("iframe"),w="java"+S+":",F;return U.style.display="none",u.appendChild(U),U.src=String(w),F=U.contentWindow.document,F.open(),F.write(A("document.F=Object")),F.close(),F.F},N,$=function(){try{N=new ActiveXObject("htmlfile")}catch(w){}$=typeof document!="undefined"?document.domain&&N?I(N):M():I(N);for(var U=o.length;U--;)delete $[y][o[U]];return $()};i[E]=!0,l.exports=Object.create||function(w,F){var G;return w!==null?(T[y]=r(w),G=new T,T[y]=null,G[E]=w):G=$(),F===void 0?G:e.f(G,F)}},61963:function(l,p,t){var r=t(92986),e=t(356),o=t(7831),i=t(25001),u=t(36859),f=t(18350);p.f=r&&!e?Object.defineProperties:function(g,v){i(g);for(var y=u(v),S=f(v),E=S.length,T=0,A;E>T;)o.f(g,A=S[T++],y[A]);return g}},7831:function(l,p,t){var r=t(92986),e=t(52515),o=t(356),i=t(25001),u=t(50035),f=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v="enumerable",y="configurable",S="writable";p.f=r?o?function(T,A,I){if(i(T),A=u(A),i(I),typeof T=="function"&&A==="prototype"&&"value"in I&&S in I&&!I[S]){var M=g(T,A);M&&M[S]&&(T[A]=I.value,I={configurable:y in I?I[y]:M[y],enumerable:v in I?I[v]:M[v],writable:!1})}return c(T,A,I)}:c:function(T,A,I){if(i(T),A=u(A),i(I),e)try{return c(T,A,I)}catch(M){}if("get"in I||"set"in I)throw new f("Accessors not supported");return"value"in I&&(T[A]=I.value),T}},71349:function(l,p,t){var r=t(92986),e=t(96499),o=t(79591),i=t(18526),u=t(36859),f=t(50035),c=t(94879),g=t(52515),v=Object.getOwnPropertyDescriptor;p.f=r?v:function(S,E){if(S=u(S),E=f(E),g)try{return v(S,E)}catch(T){}if(c(S,E))return i(!e(o.f,S,E),S[E])}},92880:function(l,p,t){var r=t(14274),e=t(36859),o=t(83258).f,i=t(22806),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(c){try{return o(c)}catch(g){return i(u)}};l.exports.f=function(g){return u&&r(g)==="Window"?f(g):o(e(g))}},83258:function(l,p,t){var r=t(6242),e=t(75785),o=e.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(u){return r(u,o)}},24943:function(l,p){p.f=Object.getOwnPropertySymbols},26313:function(l,p,t){var r=t(94879),e=t(23583),o=t(49671),i=t(44869),u=t(87501),f=i("IE_PROTO"),c=Object,g=c.prototype;l.exports=u?c.getPrototypeOf:function(v){var y=o(v);if(r(y,f))return y[f];var S=y.constructor;return e(S)&&y instanceof S?S.prototype:y instanceof c?g:null}},28174:function(l,p,t){var r=t(72069),e=t(37540),o=t(14274),i=t(72058),u=Object.isExtensible,f=r(function(){u(1)});l.exports=f||i?function(g){return!e(g)||i&&o(g)==="ArrayBuffer"?!1:u?u(g):!0}:u},95307:function(l,p,t){var r=t(11286);l.exports=r({}.isPrototypeOf)},6242:function(l,p,t){var r=t(11286),e=t(94879),o=t(36859),i=t(94319).indexOf,u=t(19423),f=r([].push);l.exports=function(c,g){var v=o(c),y=0,S=[],E;for(E in v)!e(u,E)&&e(v,E)&&f(S,E);for(;g.length>y;)e(v,E=g[y++])&&(~i(S,E)||f(S,E));return S}},18350:function(l,p,t){var r=t(6242),e=t(75785);l.exports=Object.keys||function(i){return r(i,e)}},79591:function(l,p){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,e=r&&!t.call({1:2},1);p.f=e?function(i){var u=r(this,i);return!!u&&u.enumerable}:t},57629:function(l,p,t){var r=t(70457),e=t(34246),o=t(72069),i=t(66577);l.exports=r||!o(function(){if(!(i&&i<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete e[u]}})},15861:function(l,p,t){var r=t(84756),e=t(37540),o=t(2068),i=t(53408);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,f={},c;try{c=r(Object.prototype,"__proto__","set"),c(f,[]),u=f instanceof Array}catch(g){}return function(v,y){return o(v),i(y),e(v)&&(u?c(v,y):v.__proto__=y),v}}():void 0)},8511:function(l,p,t){var r=t(92986),e=t(72069),o=t(11286),i=t(26313),u=t(18350),f=t(36859),c=t(79591).f,g=o(c),v=o([].push),y=r&&e(function(){var E=Object.create(null);return E[2]=2,!g(E,2)}),S=function(E){return function(T){for(var A=f(T),I=u(A),M=y&&i(A)===null,N=I.length,$=0,U=[],w;N>$;)w=I[$++],(!r||(M?w in A:g(A,w)))&&v(U,E?[w,A[w]]:A[w]);return U}};l.exports={entries:S(!0),values:S(!1)}},60105:function(l,p,t){var r=t(67878),e=t(9205);l.exports=r?{}.toString:function(){return"[object "+e(this)+"]"}},2064:function(l,p,t){var r=t(96499),e=t(23583),o=t(37540),i=TypeError;l.exports=function(u,f){var c,g;if(f==="string"&&e(c=u.toString)&&!o(g=r(c,u))||e(c=u.valueOf)&&!o(g=r(c,u))||f!=="string"&&e(c=u.toString)&&!o(g=r(c,u)))return g;throw new i("Can't convert object to primitive value")}},16885:function(l,p,t){var r=t(38941),e=t(11286),o=t(83258),i=t(24943),u=t(25001),f=e([].concat);l.exports=r("Reflect","ownKeys")||function(g){var v=o.f(u(g)),y=i.f;return y?f(v,y(g)):v}},75081:function(l,p,t){var r=t(34246);l.exports=r},67805:function(l){l.exports=function(p){try{return{error:!1,value:p()}}catch(t){return{error:!0,value:t}}}},37130:function(l,p,t){var r=t(34246),e=t(98844),o=t(23583),i=t(13278),u=t(84352),f=t(18565),c=t(21501),g=t(70457),v=t(44241),y=e&&e.prototype,S=f("species"),E=!1,T=o(r.PromiseRejectionEvent),A=i("Promise",function(){var I=u(e),M=I!==String(e);if(!M&&v===66||g&&!(y.catch&&y.finally))return!0;if(!v||v<51||!/native code/.test(I)){var N=new e(function(w){w(1)}),$=function(w){w(function(){},function(){})},U=N.constructor={};if(U[S]=$,E=N.then(function(){})instanceof $,!E)return!0}return!M&&(c==="BROWSER"||c==="DENO")&&!T});l.exports={CONSTRUCTOR:A,REJECTION_EVENT:T,SUBCLASSING:E}},98844:function(l,p,t){var r=t(34246);l.exports=r.Promise},87408:function(l,p,t){var r=t(25001),e=t(37540),o=t(24649);l.exports=function(i,u){if(r(i),e(u)&&u.constructor===i)return u;var f=o.f(i),c=f.resolve;return c(u),f.promise}},26035:function(l,p,t){var r=t(98844),e=t(97494),o=t(37130).CONSTRUCTOR;l.exports=o||!e(function(i){r.all(i).then(void 0,function(){})})},2594:function(l,p,t){var r=t(7831).f;l.exports=function(e,o,i){i in e||r(e,i,{configurable:!0,get:function(){return o[i]},set:function(u){o[i]=u}})}},76895:function(l){var p=function(){this.head=null,this.tail=null};p.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},l.exports=p},33064:function(l,p,t){var r=t(96499),e=t(25001),o=t(23583),i=t(14274),u=t(44381),f=TypeError;l.exports=function(c,g){var v=c.exec;if(o(v)){var y=r(v,c,g);return y!==null&&e(y),y}if(i(c)==="RegExp")return r(u,c,g);throw new f("RegExp#exec called on incompatible receiver")}},44381:function(l,p,t){var r=t(96499),e=t(11286),o=t(17361),i=t(29833),u=t(39807),f=t(96731),c=t(5406),g=t(82367).get,v=t(76769),y=t(85220),S=f("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,T=E,A=e("".charAt),I=e("".indexOf),M=e("".replace),N=e("".slice),$=function(){var G=/a/,W=/b*/g;return r(E,G,"a"),r(E,W,"a"),G.lastIndex!==0||W.lastIndex!==0}(),U=u.BROKEN_CARET,w=/()??/.exec("")[1]!==void 0,F=$||w||U||v||y;F&&(T=function(W){var X=this,z=g(X),Z=o(W),st=z.raw,ut,rt,at,ot,yt,Nt,St;if(st)return st.lastIndex=X.lastIndex,ut=r(T,st,Z),X.lastIndex=st.lastIndex,ut;var $t=z.groups,Rt=U&&X.sticky,Qt=r(i,X),Yt=X.source,Xt=0,er=Z;if(Rt&&(Qt=M(Qt,"y",""),I(Qt,"g")===-1&&(Qt+="g"),er=N(Z,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&A(Z,X.lastIndex-1)!==` `)&&(Yt="(?: "+Yt+")",er=" "+er,Xt++),rt=new RegExp("^(?:"+Yt+")",Qt)),w&&(rt=new RegExp("^"+Yt+"$(?!\\s)",Qt)),$&&(at=X.lastIndex),ot=r(E,Rt?rt:X,er),Rt?ot?(ot.input=N(ot.input,Xt),ot[0]=N(ot[0],Xt),ot.index=X.lastIndex,X.lastIndex+=ot[0].length):X.lastIndex=0:$&&ot&&(X.lastIndex=X.global?ot.index+ot[0].length:at),w&&ot&&ot.length>1&&r(S,ot[0],rt,function(){for(yt=1;ytb)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$c")!=="bc"})},2068:function(l,p,t){var r=t(5683),e=TypeError;l.exports=function(o){if(r(o))throw new e("Can't call method on "+o);return o}},28167:function(l,p,t){var r=t(34246),e=t(92986),o=Object.getOwnPropertyDescriptor;l.exports=function(i){if(!e)return r[i];var u=o(r,i);return u&&u.value}},13944:function(l){l.exports=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}},9934:function(l,p,t){var r=t(34246),e=t(66543),o=t(23583),i=t(21501),u=t(18257),f=t(22806),c=t(95486),g=r.Function,v=/MSIE .\./.test(u)||i==="BUN"&&function(){var y=r.Bun.version.split(".");return y.length<3||y[0]==="0"&&(y[1]<3||y[1]==="3"&&y[2]==="0")}();l.exports=function(y,S){var E=S?2:1;return v?function(T,A){var I=c(arguments.length,1)>E,M=o(T)?T:g(T),N=I?f(arguments,E):[],$=I?function(){e(M,this,N)}:M;return S?y($,A):y($)}:y}},48348:function(l,p,t){var r=t(172),e=t(35051),o=r.Set,i=r.add;l.exports=function(u){var f=new o;return e(u,function(c){i(f,c)}),f}},41754:function(l,p,t){var r=t(76602),e=t(172),o=t(48348),i=t(17768),u=t(65263),f=t(35051),c=t(9573),g=e.has,v=e.remove;l.exports=function(S){var E=r(this),T=u(S),A=o(E);return i(E)<=T.size?f(E,function(I){T.includes(I)&&v(A,I)}):c(T.getIterator(),function(I){g(E,I)&&v(A,I)}),A}},172:function(l,p,t){var r=t(11286),e=Set.prototype;l.exports={Set,add:r(e.add),has:r(e.has),remove:r(e.delete),proto:e}},92292:function(l,p,t){var r=t(76602),e=t(172),o=t(17768),i=t(65263),u=t(35051),f=t(9573),c=e.Set,g=e.add,v=e.has;l.exports=function(S){var E=r(this),T=i(S),A=new c;return o(E)>T.size?f(T.getIterator(),function(I){v(E,I)&&g(A,I)}):u(E,function(I){T.includes(I)&&g(A,I)}),A}},47391:function(l,p,t){var r=t(76602),e=t(172).has,o=t(17768),i=t(65263),u=t(35051),f=t(9573),c=t(99797);l.exports=function(v){var y=r(this),S=i(v);if(o(y)<=S.size)return u(y,function(T){if(S.includes(T))return!1},!0)!==!1;var E=S.getIterator();return f(E,function(T){if(e(y,T))return c(E,"normal",!1)})!==!1}},75492:function(l,p,t){var r=t(76602),e=t(17768),o=t(35051),i=t(65263);l.exports=function(f){var c=r(this),g=i(f);return e(c)>g.size?!1:o(c,function(v){if(!g.includes(v))return!1},!0)!==!1}},1333:function(l,p,t){var r=t(76602),e=t(172).has,o=t(17768),i=t(65263),u=t(9573),f=t(99797);l.exports=function(g){var v=r(this),y=i(g);if(o(v)3})}},22149:function(l,p,t){var r=t(11286),e=t(12105),o=t(17361),i=t(2068),u=r("".charAt),f=r("".charCodeAt),c=r("".slice),g=function(v){return function(y,S){var E=o(i(y)),T=e(S),A=E.length,I,M;return T<0||T>=A?v?"":void 0:(I=f(E,T),I<55296||I>56319||T+1===A||(M=f(E,T+1))<56320||M>57343?v?u(E,T):I:v?c(E,T,T+2):(I-55296<<10)+(M-56320)+65536)}};l.exports={codeAt:g(!1),charAt:g(!0)}},36945:function(l,p,t){var r=t(18257);l.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},61607:function(l,p,t){var r=t(11286),e=t(45344),o=t(17361),i=t(79719),u=t(2068),f=r(i),c=r("".slice),g=Math.ceil,v=function(y){return function(S,E,T){var A=o(u(S)),I=e(E),M=A.length,N=T===void 0?" ":o(T),$,U;return I<=M||N===""?A:($=I-M,U=f(N,g($/N.length)),U.length>$&&(U=c(U,0,$)),y?A+U:U+A)}};l.exports={start:v(!1),end:v(!0)}},38679:function(l,p,t){var r=t(11286),e=2147483647,o=36,i=1,u=26,f=38,c=700,g=72,v=128,y="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,T="Overflow: input needs wider integers to process",A=o-i,I=RangeError,M=r(E.exec),N=Math.floor,$=String.fromCharCode,U=r("".charCodeAt),w=r([].join),F=r([].push),G=r("".replace),W=r("".split),X=r("".toLowerCase),z=function(rt){for(var at=[],ot=0,yt=rt.length;ot=55296&&Nt<=56319&&ot>1,rt+=N(rt/at);rt>A*u>>1;)rt=N(rt/A),yt+=o;return N(yt+(A+1)*rt/(rt+f))},ut=function(rt){var at=[];rt=z(rt);var ot=rt.length,yt=v,Nt=0,St=g,$t,Rt;for($t=0;$t=yt&&RtN((e-Nt)/er))throw new I(T);for(Nt+=(Xt-yt)*er,yt=Xt,$t=0;$te)throw new I(T);if(Rt===yt){for(var ir=Nt,Or=o;;){var yr=Or<=St?i:Or>=St+u?u:Or-St;if(ir0;(v>>>=1)&&(c+=c))v&1&&(g+=c);return g}},75176:function(l,p,t){var r=t(85900).end,e=t(33328);l.exports=e("trimEnd")?function(){return r(this)}:"".trimEnd},33328:function(l,p,t){var r=t(86588).PROPER,e=t(72069),o=t(77082),i="\u200B\x85\u180E";l.exports=function(u){return e(function(){return!!o[u]()||i[u]()!==i||r&&o[u].name!==u})}},83481:function(l,p,t){var r=t(85900).start,e=t(33328);l.exports=e("trimStart")?function(){return r(this)}:"".trimStart},85900:function(l,p,t){var r=t(11286),e=t(2068),o=t(17361),i=t(77082),u=r("".replace),f=RegExp("^["+i+"]+"),c=RegExp("(^|[^"+i+"])["+i+"]+$"),g=function(v){return function(y){var S=o(e(y));return v&1&&(S=u(S,f,"")),v&2&&(S=u(S,c,"$1")),S}};l.exports={start:g(1),end:g(2),trim:g(3)}},99050:function(l,p,t){var r=t(34246),e=t(72069),o=t(44241),i=t(21501),u=r.structuredClone;l.exports=!!u&&!e(function(){if(i==="DENO"&&o>92||i==="NODE"&&o>94||i==="BROWSER"&&o>97)return!1;var f=new ArrayBuffer(8),c=u(f,{transfer:[f]});return f.byteLength!==0||c.byteLength!==8})},39729:function(l,p,t){var r=t(44241),e=t(72069),o=t(34246),i=o.String;l.exports=!!Object.getOwnPropertySymbols&&!e(function(){var u=Symbol("symbol detection");return!i(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&r&&r<41})},60796:function(l,p,t){var r=t(96499),e=t(38941),o=t(18565),i=t(16142);l.exports=function(){var u=e("Symbol"),f=u&&u.prototype,c=f&&f.valueOf,g=o("toPrimitive");f&&!f[g]&&i(f,g,function(v){return r(c,this)},{arity:1})}},61190:function(l,p,t){var r=t(39729);l.exports=r&&!!Symbol.for&&!!Symbol.keyFor},23115:function(l,p,t){var r=t(34246),e=t(66543),o=t(45526),i=t(23583),u=t(94879),f=t(72069),c=t(96439),g=t(22806),v=t(85501),y=t(95486),S=t(5286),E=t(91707),T=r.setImmediate,A=r.clearImmediate,I=r.process,M=r.Dispatch,N=r.Function,$=r.MessageChannel,U=r.String,w=0,F={},G="onreadystatechange",W,X,z,Z;f(function(){W=r.location});var st=function(ot){if(u(F,ot)){var yt=F[ot];delete F[ot],yt()}},ut=function(ot){return function(){st(ot)}},rt=function(ot){st(ot.data)},at=function(ot){r.postMessage(U(ot),W.protocol+"//"+W.host)};(!T||!A)&&(T=function(yt){y(arguments.length,1);var Nt=i(yt)?yt:N(yt),St=g(arguments,1);return F[++w]=function(){e(Nt,void 0,St)},X(w),w},A=function(yt){delete F[yt]},E?X=function(ot){I.nextTick(ut(ot))}:M&&M.now?X=function(ot){M.now(ut(ot))}:$&&!S?(z=new $,Z=z.port2,z.port1.onmessage=rt,X=o(Z.postMessage,Z)):r.addEventListener&&i(r.postMessage)&&!r.importScripts&&W&&W.protocol!=="file:"&&!f(at)?(X=at,r.addEventListener("message",rt,!1)):G in v("script")?X=function(ot){c.appendChild(v("script"))[G]=function(){c.removeChild(this),st(ot)}}:X=function(ot){setTimeout(ut(ot),0)}),l.exports={set:T,clear:A}},34338:function(l,p,t){var r=t(11286);l.exports=r(1 .valueOf)},4652:function(l,p,t){var r=t(12105),e=Math.max,o=Math.min;l.exports=function(i,u){var f=r(i);return f<0?e(f+u,0):o(f,u)}},11344:function(l,p,t){var r=t(89935),e=TypeError;l.exports=function(o){var i=r(o,"number");if(typeof i=="number")throw new e("Can't convert number to bigint");return BigInt(i)}},9450:function(l,p,t){var r=t(12105),e=t(45344),o=RangeError;l.exports=function(i){if(i===void 0)return 0;var u=r(i),f=e(u);if(u!==f)throw new o("Wrong length or index");return f}},36859:function(l,p,t){var r=t(72181),e=t(2068);l.exports=function(o){return r(e(o))}},12105:function(l,p,t){var r=t(22459);l.exports=function(e){var o=+e;return o!==o||o===0?0:r(o)}},45344:function(l,p,t){var r=t(12105),e=Math.min;l.exports=function(o){var i=r(o);return i>0?e(i,9007199254740991):0}},49671:function(l,p,t){var r=t(2068),e=Object;l.exports=function(o){return e(r(o))}},58143:function(l,p,t){var r=t(98072),e=RangeError;l.exports=function(o,i){var u=r(o);if(u%i)throw new e("Wrong offset");return u}},98072:function(l,p,t){var r=t(12105),e=RangeError;l.exports=function(o){var i=r(o);if(i<0)throw new e("The argument can't be less than 0");return i}},89935:function(l,p,t){var r=t(96499),e=t(37540),o=t(491),i=t(10512),u=t(2064),f=t(18565),c=TypeError,g=f("toPrimitive");l.exports=function(v,y){if(!e(v)||o(v))return v;var S=i(v,g),E;if(S){if(y===void 0&&(y="default"),E=r(S,v,y),!e(E)||o(E))return E;throw new c("Can't convert object to primitive value")}return y===void 0&&(y="number"),u(v,y)}},50035:function(l,p,t){var r=t(89935),e=t(491);l.exports=function(o){var i=r(o,"string");return e(i)?i:i+""}},67878:function(l,p,t){var r=t(18565),e=r("toStringTag"),o={};o[e]="z",l.exports=String(o)==="[object z]"},17361:function(l,p,t){var r=t(9205),e=String;l.exports=function(o){if(r(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(o)}},76517:function(l){var p=Math.round;l.exports=function(t){var r=p(t);return r<0?0:r>255?255:r&255}},82453:function(l){var p=String;l.exports=function(t){try{return p(t)}catch(r){return"Object"}}},80357:function(l,p,t){var r=t(14304),e=t(34246),o=t(96499),i=t(92986),u=t(46868),f=t(88037),c=t(17468),g=t(12833),v=t(18526),y=t(90809),S=t(613),E=t(45344),T=t(9450),A=t(58143),I=t(76517),M=t(50035),N=t(94879),$=t(9205),U=t(37540),w=t(491),F=t(5406),G=t(95307),W=t(15861),X=t(83258).f,z=t(66169),Z=t(66655).forEach,st=t(36167),ut=t(85500),rt=t(7831),at=t(71349),ot=t(5220),yt=t(82367),Nt=t(32345),St=yt.get,$t=yt.set,Rt=yt.enforce,Qt=rt.f,Yt=at.f,Xt=e.RangeError,er=c.ArrayBuffer,ir=er.prototype,Or=c.DataView,yr=f.NATIVE_ARRAY_BUFFER_VIEWS,xr=f.TYPED_ARRAY_TAG,Wt=f.TypedArray,kt=f.TypedArrayPrototype,hr=f.isTypedArray,Sr="BYTES_PER_ELEMENT",mr="Wrong length",Tr=function(Cr,Er){ut(Cr,Er,{configurable:!0,get:function(){return St(this)[Er]}})},Fr=function(Cr){var Er;return G(ir,Cr)||(Er=$(Cr))==="ArrayBuffer"||Er==="SharedArrayBuffer"},Dr=function(Cr,Er){return hr(Cr)&&!w(Er)&&Er in Cr&&S(+Er)&&Er>=0},Pr=function(Er,pr){return pr=M(pr),Dr(Er,pr)?v(2,Er[pr]):Yt(Er,pr)},gr=function(Er,pr,Ut){return pr=M(pr),Dr(Er,pr)&&U(Ut)&&N(Ut,"value")&&!N(Ut,"get")&&!N(Ut,"set")&&!Ut.configurable&&(!N(Ut,"writable")||Ut.writable)&&(!N(Ut,"enumerable")||Ut.enumerable)?(Er[pr]=Ut.value,Er):Qt(Er,pr,Ut)};i?(yr||(at.f=Pr,rt.f=gr,Tr(kt,"buffer"),Tr(kt,"byteOffset"),Tr(kt,"byteLength"),Tr(kt,"length")),r({target:"Object",stat:!0,forced:!yr},{getOwnPropertyDescriptor:Pr,defineProperty:gr}),l.exports=function(Cr,Er,pr){var Ut=Cr.match(/\d+/)[0]/8,Vt=Cr+(pr?"Clamped":"")+"Array",bt="get"+Cr,fr="set"+Cr,cr=e[Vt],rr=cr,_t=rr&&rr.prototype,$r={},Br=function(gt,It){var q=St(gt);return q.view[bt](It*Ut+q.byteOffset,!0)},Et=function(gt,It,q){var At=St(gt);At.view[fr](It*Ut+At.byteOffset,pr?I(q):q,!0)},Bt=function(gt,It){Qt(gt,It,{get:function(){return Br(this,It)},set:function(q){return Et(this,It,q)},enumerable:!0})};yr?u&&(rr=Er(function(gt,It,q,At){return g(gt,_t),Nt(function(){return U(It)?Fr(It)?At!==void 0?new cr(It,A(q,Ut),At):q!==void 0?new cr(It,A(q,Ut)):new cr(It):hr(It)?ot(rr,It):o(z,rr,It):new cr(T(It))}(),gt,rr)}),W&&W(rr,Wt),Z(X(cr),function(gt){gt in rr||y(rr,gt,cr[gt])}),rr.prototype=_t):(rr=Er(function(gt,It,q,At){g(gt,_t);var Jt=0,qt=0,ar,Ir,dr;if(!U(It))dr=T(It),Ir=dr*Ut,ar=new er(Ir);else if(Fr(It)){ar=It,qt=A(q,Ut);var Lr=It.byteLength;if(At===void 0){if(Lr%Ut)throw new Xt(mr);if(Ir=Lr-qt,Ir<0)throw new Xt(mr)}else if(Ir=E(At)*Ut,Ir+qt>Lr)throw new Xt(mr);dr=Ir/Ut}else return hr(It)?ot(rr,It):o(z,rr,It);for($t(gt,{buffer:ar,byteOffset:qt,byteLength:Ir,length:dr,view:new Or(ar)});Jt1?arguments[1]:void 0,$=N!==void 0,U=c(I),w,F,G,W,X,z,Z,st;if(U&&!g(U))for(Z=f(I,U),st=Z.next,I=[];!(z=e(st,Z)).done;)I.push(z.value);for($&&M>2&&(N=r(N,arguments[2])),F=u(I),G=new(y(A))(F),W=v(G),w=0;F>w;w++)X=$?N(I[w],w):I[w],G[w]=W?S(X):+X;return G}},21822:function(l,p,t){var r=t(88037),e=t(16887),o=r.aTypedArrayConstructor,i=r.getTypedArrayConstructor;l.exports=function(u){return o(e(u,i(u)))}},36374:function(l,p,t){var r=t(11286),e=0,o=Math.random(),i=r(1 .toString);l.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+i(++e+o,36)}},91918:function(l,p,t){var r=t(72069),e=t(18565),o=t(92986),i=t(70457),u=e("iterator");l.exports=!r(function(){var f=new URL("b?a=1&b=2&c=3","https://a"),c=f.searchParams,g=new URLSearchParams("a=1&a=2&b=3"),v="";return f.pathname="c%20d",c.forEach(function(y,S){c.delete("b"),v+=S+y}),g.delete("a",2),g.delete("b",void 0),i&&(!f.toJSON||!g.has("a",1)||g.has("a",2)||!g.has("a",void 0)||g.has("b"))||!c.size&&(i||!o)||!c.sort||f.href!=="https://a/c%20d?a=1&c=3"||c.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!c[u]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("https://a#\u0431").hash!=="#%D0%B1"||v!=="a1c3"||new URL("https://x",void 0).host!=="x"})},50234:function(l,p,t){var r=t(39729);l.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(l,p,t){var r=t(92986),e=t(72069);l.exports=r&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(l){var p=TypeError;l.exports=function(t,r){if(tU&&y(rt,arguments[U]),rt});if(z.prototype=W,F!=="Error"?u?u(z,X):f(z,X,{name:!0}):E&&$ in G&&(c(z,G,$),c(z,G,"prepareStackTrace")),f(z,G),!T)try{W.name!==F&&o(W,"name",F),W.constructor=z}catch(Z){}return z}}},27796:function(l,p,t){var r=t(14304),e=t(38941),o=t(66543),i=t(72069),u=t(70003),f="AggregateError",c=e(f),g=!i(function(){return c([1]).errors[0]!==1})&&i(function(){return c([1],f,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:g},{AggregateError:u(f,function(v){return function(S,E){return o(v,this,arguments)}},g,!0)})},85647:function(l,p,t){var r=t(14304),e=t(95307),o=t(26313),i=t(15861),u=t(93706),f=t(5406),c=t(90809),g=t(18526),v=t(31486),y=t(97077),S=t(55902),E=t(15453),T=t(18565),A=T("toStringTag"),I=Error,M=[].push,N=function(w,F){var G=e($,this),W;i?W=i(new I,G?o(this):$):(W=G?this:f($),c(W,A,"Error")),F!==void 0&&c(W,"message",E(F)),y(W,N,W.stack,1),arguments.length>2&&v(W,arguments[2]);var X=[];return S(w,M,{that:X}),c(W,"errors",X),W};i?i(N,I):u(N,I,{name:!0});var $=N.prototype=f(I.prototype,{constructor:g(1,N),message:g(1,""),name:g(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:N})},42861:function(l,p,t){t(85647)},35473:function(l,p,t){var r=t(14304),e=t(34246),o=t(17468),i=t(36167),u="ArrayBuffer",f=o[u],c=e[u];r({global:!0,constructor:!0,forced:c!==f},{ArrayBuffer:f}),i(u)},35495:function(l,p,t){var r=t(92986),e=t(85500),o=t(30736),i=ArrayBuffer.prototype;r&&!("detached"in i)&&e(i,"detached",{configurable:!0,get:function(){return o(this)}})},4983:function(l,p,t){var r=t(14304),e=t(88037),o=e.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!o},{isView:e.isView})},6875:function(l,p,t){var r=t(14304),e=t(77422),o=t(72069),i=t(17468),u=t(25001),f=t(4652),c=t(45344),g=t(16887),v=i.ArrayBuffer,y=i.DataView,S=y.prototype,E=e(v.prototype.slice),T=e(S.getUint8),A=e(S.setUint8),I=o(function(){return!new v(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:I},{slice:function(N,$){if(E&&$===void 0)return E(u(this),N);for(var U=u(this).byteLength,w=f(N,U),F=f($===void 0?U:$,U),G=new(g(this,v))(c(F-w)),W=new y(this),X=new y(G),z=0;w=0?y:v+y;return S<0||S>=v?void 0:g[S]}}),u("at")},98700:function(l,p,t){var r=t(14304),e=t(72069),o=t(3438),i=t(37540),u=t(49671),f=t(82628),c=t(20095),g=t(84082),v=t(62083),y=t(52183),S=t(18565),E=t(44241),T=S("isConcatSpreadable"),A=E>=51||!e(function(){var N=[];return N[T]=!1,N.concat()[0]!==N}),I=function(N){if(!i(N))return!1;var $=N[T];return $!==void 0?!!$:o(N)},M=!A||!y("concat");r({target:"Array",proto:!0,arity:1,forced:M},{concat:function($){var U=u(this),w=v(U,0),F=0,G,W,X,z,Z;for(G=-1,X=arguments.length;G1?arguments[1]:void 0)}})},41585:function(l,p,t){var r=t(14304),e=t(43011),o=t(23811);r({target:"Array",proto:!0},{fill:e}),o("fill")},84554:function(l,p,t){var r=t(14304),e=t(66655).filter,o=t(52183),i=o("filter");r({target:"Array",proto:!0,forced:!i},{filter:function(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}})},33818:function(l,p,t){var r=t(14304),e=t(66655).findIndex,o=t(23811),i="findIndex",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r({target:"Array",proto:!0,forced:u},{findIndex:function(c){return e(this,c,arguments.length>1?arguments[1]:void 0)}}),o(i)},2209:function(l,p,t){var r=t(14304),e=t(73849).findLastIndex,o=t(23811);r({target:"Array",proto:!0},{findLastIndex:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},64096:function(l,p,t){var r=t(14304),e=t(73849).findLast,o=t(23811);r({target:"Array",proto:!0},{findLast:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},36619:function(l,p,t){var r=t(14304),e=t(66655).find,o=t(23811),i="find",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r({target:"Array",proto:!0,forced:u},{find:function(c){return e(this,c,arguments.length>1?arguments[1]:void 0)}}),o(i)},74092:function(l,p,t){var r=t(14304),e=t(53149),o=t(85156),i=t(49671),u=t(82628),f=t(62083);r({target:"Array",proto:!0},{flatMap:function(g){var v=i(this),y=u(v),S;return o(g),S=f(v,0),S.length=e(S,v,v,y,0,1,g,arguments.length>1?arguments[1]:void 0),S}})},91591:function(l,p,t){var r=t(14304),e=t(53149),o=t(49671),i=t(82628),u=t(12105),f=t(62083);r({target:"Array",proto:!0},{flat:function(){var g=arguments.length?arguments[0]:void 0,v=o(this),y=i(v),S=f(v,0);return S.length=e(S,v,v,y,0,g===void 0?1:u(g)),S}})},54703:function(l,p,t){var r=t(14304),e=t(13349);r({target:"Array",proto:!0,forced:[].forEach!==e},{forEach:e})},82936:function(l,p,t){var r=t(14304),e=t(48258),o=t(97494),i=!o(function(u){Array.from(u)});r({target:"Array",stat:!0,forced:i},{from:e})},48493:function(l,p,t){var r=t(14304),e=t(94319).includes,o=t(72069),i=t(23811),u=o(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:u},{includes:function(c){return e(this,c,arguments.length>1?arguments[1]:void 0)}}),i("includes")},64730:function(l,p,t){var r=t(14304),e=t(77422),o=t(94319).indexOf,i=t(6148),u=e([].indexOf),f=!!u&&1/u([1],1,-0)<0,c=f||!i("indexOf");r({target:"Array",proto:!0,forced:c},{indexOf:function(v){var y=arguments.length>1?arguments[1]:void 0;return f?u(this,v,y)||0:o(this,v,y)}})},95024:function(l,p,t){var r=t(14304),e=t(3438);r({target:"Array",stat:!0},{isArray:e})},35054:function(l,p,t){var r=t(36859),e=t(23811),o=t(29107),i=t(82367),u=t(7831).f,f=t(10218),c=t(10659),g=t(70457),v=t(92986),y="Array Iterator",S=i.set,E=i.getterFor(y);l.exports=f(Array,"Array",function(A,I){S(this,{type:y,target:r(A),index:0,kind:I})},function(){var A=E(this),I=A.target,M=A.index++;if(!I||M>=I.length)return A.target=void 0,c(void 0,!0);switch(A.kind){case"keys":return c(M,!1);case"values":return c(I[M],!1)}return c([M,I[M]],!1)},"values");var T=o.Arguments=o.Array;if(e("keys"),e("values"),e("entries"),!g&&v&&T.name!=="values")try{u(T,"name",{value:"values"})}catch(A){}},25460:function(l,p,t){var r=t(14304),e=t(11286),o=t(72181),i=t(36859),u=t(6148),f=e([].join),c=o!==Object,g=c||!u("join",",");r({target:"Array",proto:!0,forced:g},{join:function(y){return f(i(this),y===void 0?",":y)}})},60703:function(l,p,t){var r=t(14304),e=t(58465);r({target:"Array",proto:!0,forced:e!==[].lastIndexOf},{lastIndexOf:e})},90468:function(l,p,t){var r=t(14304),e=t(66655).map,o=t(52183),i=o("map");r({target:"Array",proto:!0,forced:!i},{map:function(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}})},69581:function(l,p,t){var r=t(14304),e=t(72069),o=t(11051),i=t(84082),u=Array,f=e(function(){function c(){}return!(u.of.call(c)instanceof c)});r({target:"Array",stat:!0,forced:f},{of:function(){for(var g=0,v=arguments.length,y=new(o(this)?this:u)(v);v>g;)i(y,g,arguments[g++]);return y.length=v,y}})},720:function(l,p,t){var r=t(14304),e=t(49671),o=t(82628),i=t(2213),u=t(20095),f=t(72069),c=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),g=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(y){return y instanceof TypeError}},v=c||!g();r({target:"Array",proto:!0,arity:1,forced:v},{push:function(S){var E=e(this),T=o(E),A=arguments.length;u(T+A);for(var I=0;I79&&i<83,c=f||!o("reduceRight");r({target:"Array",proto:!0,forced:c},{reduceRight:function(v){return e(this,v,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(l,p,t){var r=t(14304),e=t(97264).left,o=t(6148),i=t(44241),u=t(91707),f=!u&&i>79&&i<83,c=f||!o("reduce");r({target:"Array",proto:!0,forced:c},{reduce:function(v){var y=arguments.length;return e(this,v,y,y>1?arguments[1]:void 0)}})},24608:function(l,p,t){var r=t(14304),e=t(11286),o=t(3438),i=e([].reverse),u=[1,2];r({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i(this)}})},51644:function(l,p,t){var r=t(14304),e=t(3438),o=t(11051),i=t(37540),u=t(4652),f=t(82628),c=t(36859),g=t(84082),v=t(18565),y=t(52183),S=t(22806),E=y("slice"),T=v("species"),A=Array,I=Math.max;r({target:"Array",proto:!0,forced:!E},{slice:function(N,$){var U=c(this),w=f(U),F=u(N,w),G=u($===void 0?w:$,w),W,X,z;if(e(U)&&(W=U.constructor,o(W)&&(W===A||e(W.prototype))?W=void 0:i(W)&&(W=W[T],W===null&&(W=void 0)),W===A||W===void 0))return S(U,F,G);for(X=new(W===void 0?A:W)(I(G-F,0)),z=0;F1?arguments[1]:void 0)}})},46828:function(l,p,t){var r=t(14304),e=t(11286),o=t(85156),i=t(49671),u=t(82628),f=t(12384),c=t(17361),g=t(72069),v=t(13270),y=t(6148),S=t(507),E=t(17417),T=t(44241),A=t(66577),I=[],M=e(I.sort),N=e(I.push),$=g(function(){I.sort(void 0)}),U=g(function(){I.sort(null)}),w=y("sort"),F=!g(function(){if(T)return T<70;if(!(S&&S>3)){if(E)return!0;if(A)return A<603;var X="",z,Z,st,ut;for(z=65;z<76;z++){switch(Z=String.fromCharCode(z),z){case 66:case 69:case 70:case 72:st=3;break;case 68:case 71:st=4;break;default:st=2}for(ut=0;ut<47;ut++)I.push({k:Z+ut,v:st})}for(I.sort(function(rt,at){return at.v-rt.v}),ut=0;utc(Z)?1:-1}};r({target:"Array",proto:!0,forced:G},{sort:function(z){z!==void 0&&o(z);var Z=i(this);if(F)return z===void 0?M(Z):M(Z,z);var st=[],ut=u(Z),rt,at;for(at=0;atU-W+G;z--)y($,z-1)}else if(G>W)for(z=U-W;z>w;z--)Z=z+W-1,st=z+G-1,Z in $?$[st]=$[Z]:y($,st);for(z=0;z=0&&v<=99?v+1900:v;return f(this,y)}})},33685:function(l,p,t){var r=t(14304);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(l,p,t){var r=t(14304),e=t(11890);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==e},{toISOString:e})},96049:function(l,p,t){var r=t(14304),e=t(72069),o=t(49671),i=t(89935),u=e(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(c){var g=o(this),v=i(g,"number");return typeof v=="number"&&!isFinite(v)?null:g.toISOString()}})},14038:function(l,p,t){var r=t(94879),e=t(16142),o=t(84306),i=t(18565),u=i("toPrimitive"),f=Date.prototype;r(f,u)||e(f,u,o)},55518:function(l,p,t){var r=t(11286),e=t(16142),o=Date.prototype,i="Invalid Date",u="toString",f=r(o[u]),c=r(o.getTime);String(new Date(NaN))!==i&&e(o,u,function(){var v=c(this);return v===v?f(this):i})},81742:function(l,p,t){var r=t(14304),e=t(34246),o=t(66543),i=t(70003),u="WebAssembly",f=e[u],c=new Error("e",{cause:7}).cause!==7,g=function(y,S){var E={};E[y]=i(y,S,c),r({global:!0,constructor:!0,arity:1,forced:c},E)},v=function(y,S){if(f&&f[y]){var E={};E[y]=i(u+"."+y,S,c),r({target:u,stat:!0,constructor:!0,arity:1,forced:c},E)}};g("Error",function(y){return function(E){return o(y,this,arguments)}}),g("EvalError",function(y){return function(E){return o(y,this,arguments)}}),g("RangeError",function(y){return function(E){return o(y,this,arguments)}}),g("ReferenceError",function(y){return function(E){return o(y,this,arguments)}}),g("SyntaxError",function(y){return function(E){return o(y,this,arguments)}}),g("TypeError",function(y){return function(E){return o(y,this,arguments)}}),g("URIError",function(y){return function(E){return o(y,this,arguments)}}),v("CompileError",function(y){return function(E){return o(y,this,arguments)}}),v("LinkError",function(y){return function(E){return o(y,this,arguments)}}),v("RuntimeError",function(y){return function(E){return o(y,this,arguments)}})},8720:function(l,p,t){var r=t(16142),e=t(58434),o=Error.prototype;o.toString!==e&&r(o,"toString",e)},8894:function(l,p,t){var r=t(14304),e=t(11286),o=t(17361),i=e("".charAt),u=e("".charCodeAt),f=e(/./.exec),c=e(1 .toString),g=e("".toUpperCase),v=/[\w*+\-./@]/,y=function(S,E){for(var T=c(S,16);T.length9490626562425156e-8?i(y)+f:e(y-1+u(y-1)*u(y+1))}})},15656:function(l,p,t){var r=t(14304),e=Math.asinh,o=Math.log,i=Math.sqrt;function u(c){var g=+c;return!isFinite(g)||g===0?g:g<0?-u(-g):o(g+i(g*g+1))}var f=!(e&&1/e(0)>0);r({target:"Math",stat:!0,forced:f},{asinh:u})},22091:function(l,p,t){var r=t(14304),e=Math.atanh,o=Math.log,i=!(e&&1/e(-0)<0);r({target:"Math",stat:!0,forced:i},{atanh:function(f){var c=+f;return c===0?c:o((1+c)/(1-c))/2}})},2886:function(l,p,t){var r=t(14304),e=t(93976),o=Math.abs,i=Math.pow;r({target:"Math",stat:!0},{cbrt:function(f){var c=+f;return e(c)*i(o(c),.3333333333333333)}})},25895:function(l,p,t){var r=t(14304),e=Math.floor,o=Math.log,i=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(f){var c=f>>>0;return c?31-e(o(c+.5)*i):32}})},24228:function(l,p,t){var r=t(14304),e=t(98940),o=Math.cosh,i=Math.abs,u=Math.E,f=!o||o(710)===1/0;r({target:"Math",stat:!0,forced:f},{cosh:function(g){var v=e(i(g)-1)+1;return(v+1/(v*u*u))*(u/2)}})},79488:function(l,p,t){var r=t(14304),e=t(98940);r({target:"Math",stat:!0,forced:e!==Math.expm1},{expm1:e})},75987:function(l,p,t){var r=t(14304),e=t(93279);r({target:"Math",stat:!0},{fround:e})},81555:function(l,p,t){var r=t(14304),e=Math.hypot,o=Math.abs,i=Math.sqrt,u=!!e&&e(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:u},{hypot:function(c,g){for(var v=0,y=0,S=arguments.length,E=0,T,A;y0?(A=T/E,v+=A*A):v+=T;return E===1/0?1/0:E*i(v)}})},87854:function(l,p,t){var r=t(14304),e=t(72069),o=Math.imul,i=e(function(){return o(4294967295,5)!==-5||o.length!==2});r({target:"Math",stat:!0,forced:i},{imul:function(f,c){var g=65535,v=+f,y=+c,S=g&v,E=g&y;return 0|S*E+((g&v>>>16)*E+S*(g&y>>>16)<<16>>>0)}})},35074:function(l,p,t){var r=t(14304),e=t(41942);r({target:"Math",stat:!0},{log10:e})},50946:function(l,p,t){var r=t(14304),e=t(49366);r({target:"Math",stat:!0},{log1p:e})},29417:function(l,p,t){var r=t(14304),e=Math.log,o=Math.LN2;r({target:"Math",stat:!0},{log2:function(u){return e(u)/o}})},80628:function(l,p,t){var r=t(14304),e=t(93976);r({target:"Math",stat:!0},{sign:e})},74375:function(l,p,t){var r=t(14304),e=t(72069),o=t(98940),i=Math.abs,u=Math.exp,f=Math.E,c=e(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:c},{sinh:function(v){var y=+v;return i(y)<1?(o(y)-o(-y))/2:(u(y-1)-u(-y-1))*(f/2)}})},29708:function(l,p,t){var r=t(14304),e=t(98940),o=Math.exp;r({target:"Math",stat:!0},{tanh:function(u){var f=+u,c=e(f),g=e(-f);return c===1/0?1:g===1/0?-1:(c-g)/(o(f)+o(-f))}})},93449:function(l,p,t){var r=t(78401);r(Math,"Math",!0)},9111:function(l,p,t){var r=t(14304),e=t(22459);r({target:"Math",stat:!0},{trunc:e})},83514:function(l,p,t){var r=t(14304),e=t(70457),o=t(92986),i=t(34246),u=t(75081),f=t(11286),c=t(13278),g=t(94879),v=t(32345),y=t(95307),S=t(491),E=t(89935),T=t(72069),A=t(83258).f,I=t(71349).f,M=t(7831).f,N=t(34338),$=t(85900).trim,U="Number",w=i[U],F=u[U],G=w.prototype,W=i.TypeError,X=f("".slice),z=f("".charCodeAt),Z=function(yt){var Nt=E(yt,"number");return typeof Nt=="bigint"?Nt:st(Nt)},st=function(yt){var Nt=E(yt,"number"),St,$t,Rt,Qt,Yt,Xt,er,ir;if(S(Nt))throw new W("Cannot convert a Symbol value to a number");if(typeof Nt=="string"&&Nt.length>2){if(Nt=$(Nt),St=z(Nt,0),St===43||St===45){if($t=z(Nt,2),$t===88||$t===120)return NaN}else if(St===48){switch(z(Nt,1)){case 66:case 98:Rt=2,Qt=49;break;case 79:case 111:Rt=8,Qt=55;break;default:return+Nt}for(Yt=X(Nt,2),Xt=Yt.length,er=0;erQt)return NaN;return parseInt(Yt,Rt)}}return+Nt},ut=c(U,!w(" 0o1")||!w("0b1")||w("+0x1")),rt=function(yt){return y(G,yt)&&T(function(){N(yt)})},at=function(Nt){var St=arguments.length<1?0:w(Z(Nt));return rt(this)?v(Object(St),this,at):St};at.prototype=G,ut&&!e&&(G.constructor=at),r({global:!0,constructor:!0,wrap:!0,forced:ut},{Number:at});var ot=function(yt,Nt){for(var St=o?A(Nt):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),$t=0,Rt;St.length>$t;$t++)g(Nt,Rt=St[$t])&&!g(yt,Rt)&&M(yt,Rt,I(Nt,Rt))};e&&F&&ot(u[U],F),(ut||e)&&ot(u[U],w)},15096:function(l,p,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(l,p,t){var r=t(14304),e=t(98074);r({target:"Number",stat:!0},{isFinite:e})},99663:function(l,p,t){var r=t(14304),e=t(613);r({target:"Number",stat:!0},{isInteger:e})},89988:function(l,p,t){var r=t(14304);r({target:"Number",stat:!0},{isNaN:function(o){return o!==o}})},54427:function(l,p,t){var r=t(14304),e=t(613),o=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(u){return e(u)&&o(u)<=9007199254740991}})},67895:function(l,p,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(l,p,t){var r=t(14304);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(l,p,t){var r=t(14304),e=t(25838);r({target:"Number",stat:!0,forced:Number.parseFloat!==e},{parseFloat:e})},55461:function(l,p,t){var r=t(14304),e=t(23009);r({target:"Number",stat:!0,forced:Number.parseInt!==e},{parseInt:e})},97339:function(l,p,t){var r=t(14304),e=t(11286),o=t(12105),i=t(34338),u=t(79719),f=t(41942),c=t(72069),g=RangeError,v=String,y=isFinite,S=Math.abs,E=Math.floor,T=Math.pow,A=Math.round,I=e(1 .toExponential),M=e(u),N=e("".slice),$=I(-69e-12,4)==="-6.9000e-11"&&I(1.255,2)==="1.25e+0"&&I(12345,3)==="1.235e+4"&&I(25,0)==="3e+1",U=function(){return c(function(){I(1,1/0)})&&c(function(){I(1,-1/0)})},w=function(){return!c(function(){I(1/0,1/0),I(NaN,1/0)})},F=!$||!U()||!w();r({target:"Number",proto:!0,forced:F},{toExponential:function(W){var X=i(this);if(W===void 0)return I(X);var z=o(W);if(!y(X))return String(X);if(z<0||z>20)throw new g("Incorrect fraction digits");if($)return I(X,z);var Z="",st,ut,rt,at;if(X<0&&(Z="-",X=-X),X===0)ut=0,st=M("0",z+1);else{var ot=f(X);ut=E(ot);var yt=T(10,ut-z),Nt=A(X/yt);2*X>=(2*Nt+1)*yt&&(Nt+=1),Nt>=T(10,z+1)&&(Nt/=10,ut+=1),st=v(Nt)}return z!==0&&(st=N(st,0,1)+"."+N(st,1)),ut===0?(rt="+",at="0"):(rt=ut>0?"+":"-",at=v(S(ut))),st+="e"+rt+at,Z+st}})},3670:function(l,p,t){var r=t(14304),e=t(11286),o=t(12105),i=t(34338),u=t(79719),f=t(72069),c=RangeError,g=String,v=Math.floor,y=e(u),S=e("".slice),E=e(1 .toFixed),T=function(U,w,F){return w===0?F:w%2===1?T(U,w-1,F*U):T(U*U,w/2,F)},A=function(U){for(var w=0,F=U;F>=4096;)w+=12,F/=4096;for(;F>=2;)w+=1,F/=2;return w},I=function(U,w,F){for(var G=-1,W=F;++G<6;)W+=w*U[G],U[G]=W%1e7,W=v(W/1e7)},M=function(U,w){for(var F=6,G=0;--F>=0;)G+=U[F],U[F]=v(G/w),G=G%w*1e7},N=function(U){for(var w=6,F="";--w>=0;)if(F!==""||w===0||U[w]!==0){var G=g(U[w]);F=F===""?G:F+y("0",7-G.length)+G}return F},$=f(function(){return E(8e-5,3)!=="0.000"||E(.9,0)!=="1"||E(1.255,2)!=="1.25"||E(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!f(function(){E({})});r({target:"Number",proto:!0,forced:$},{toFixed:function(w){var F=i(this),G=o(w),W=[0,0,0,0,0,0],X="",z="0",Z,st,ut,rt;if(G<0||G>20)throw new c("Incorrect fraction digits");if(F!==F)return"NaN";if(F<=-1e21||F>=1e21)return g(F);if(F<0&&(X="-",F=-F),F>1e-21)if(Z=A(F*T(2,69,1))-69,st=Z<0?F*T(2,-Z,1):F/T(2,Z,1),st*=4503599627370496,Z=52-Z,Z>0){for(I(W,0,st),ut=G;ut>=7;)I(W,1e7,0),ut-=7;for(I(W,T(10,ut,1),0),ut=Z-1;ut>=23;)M(W,8388608),ut-=23;M(W,1<0?(rt=z.length,z=X+(rt<=G?"0."+y("0",G-rt)+z:S(z,0,rt-G)+"."+S(z,rt-G))):z=X+z,z}})},15224:function(l,p,t){var r=t(14304),e=t(11286),o=t(72069),i=t(34338),u=e(1 .toPrecision),f=o(function(){return u(1,void 0)!=="1"})||!o(function(){u({})});r({target:"Number",proto:!0,forced:f},{toPrecision:function(g){return g===void 0?u(i(this)):u(i(this),g)}})},45891:function(l,p,t){var r=t(14304),e=t(16667);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})},99910:function(l,p,t){var r=t(14304),e=t(92986),o=t(5406);r({target:"Object",stat:!0,sham:!e},{create:o})},92445:function(l,p,t){var r=t(14304),e=t(92986),o=t(57629),i=t(85156),u=t(49671),f=t(7831);e&&r({target:"Object",proto:!0,forced:o},{__defineGetter__:function(g,v){f.f(u(this),g,{get:i(v),enumerable:!0,configurable:!0})}})},21875:function(l,p,t){var r=t(14304),e=t(92986),o=t(61963).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!e},{defineProperties:o})},4383:function(l,p,t){var r=t(14304),e=t(92986),o=t(7831).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!e},{defineProperty:o})},11361:function(l,p,t){var r=t(14304),e=t(92986),o=t(57629),i=t(85156),u=t(49671),f=t(7831);e&&r({target:"Object",proto:!0,forced:o},{__defineSetter__:function(g,v){f.f(u(this),g,{set:i(v),enumerable:!0,configurable:!0})}})},13728:function(l,p,t){var r=t(14304),e=t(8511).entries;r({target:"Object",stat:!0},{entries:function(i){return e(i)}})},14885:function(l,p,t){var r=t(14304),e=t(27534),o=t(72069),i=t(37540),u=t(31853).onFreeze,f=Object.freeze,c=o(function(){f(1)});r({target:"Object",stat:!0,forced:c,sham:!e},{freeze:function(v){return f&&i(v)?f(u(v)):v}})},30343:function(l,p,t){var r=t(14304),e=t(55902),o=t(84082);r({target:"Object",stat:!0},{fromEntries:function(u){var f={};return e(u,function(c,g){o(f,c,g)},{AS_ENTRIES:!0}),f}})},22045:function(l,p,t){var r=t(14304),e=t(72069),o=t(36859),i=t(71349).f,u=t(92986),f=!u||e(function(){i(1)});r({target:"Object",stat:!0,forced:f,sham:!u},{getOwnPropertyDescriptor:function(g,v){return i(o(g),v)}})},75e3:function(l,p,t){var r=t(14304),e=t(92986),o=t(16885),i=t(36859),u=t(71349),f=t(84082);r({target:"Object",stat:!0,sham:!e},{getOwnPropertyDescriptors:function(g){for(var v=i(g),y=u.f,S=o(v),E={},T=0,A,I;S.length>T;)I=y(v,A=S[T++]),I!==void 0&&f(E,A,I);return E}})},64658:function(l,p,t){var r=t(14304),e=t(72069),o=t(92880).f,i=e(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:o})},45223:function(l,p,t){var r=t(14304),e=t(39729),o=t(72069),i=t(24943),u=t(49671),f=!e||o(function(){i.f(1)});r({target:"Object",stat:!0,forced:f},{getOwnPropertySymbols:function(g){var v=i.f;return v?v(u(g)):[]}})},16017:function(l,p,t){var r=t(14304),e=t(72069),o=t(49671),i=t(26313),u=t(87501),f=e(function(){i(1)});r({target:"Object",stat:!0,forced:f,sham:!u},{getPrototypeOf:function(g){return i(o(g))}})},84681:function(l,p,t){var r=t(14304),e=t(38941),o=t(11286),i=t(85156),u=t(2068),f=t(50035),c=t(55902),g=t(72069),v=Object.groupBy,y=e("Object","create"),S=o([].push),E=!v||g(function(){return v("ab",function(T){return T}).a.length!==1});r({target:"Object",stat:!0,forced:E},{groupBy:function(A,I){u(A),i(I);var M=y(null),N=0;return c(A,function($){var U=f(I($,N++));U in M?S(M[U],$):M[U]=[$]}),M}})},73421:function(l,p,t){var r=t(14304),e=t(94879);r({target:"Object",stat:!0},{hasOwn:e})},31046:function(l,p,t){var r=t(14304),e=t(28174);r({target:"Object",stat:!0,forced:Object.isExtensible!==e},{isExtensible:e})},94645:function(l,p,t){var r=t(14304),e=t(72069),o=t(37540),i=t(14274),u=t(72058),f=Object.isFrozen,c=u||e(function(){f(1)});r({target:"Object",stat:!0,forced:c},{isFrozen:function(v){return!o(v)||u&&i(v)==="ArrayBuffer"?!0:f?f(v):!1}})},62935:function(l,p,t){var r=t(14304),e=t(72069),o=t(37540),i=t(14274),u=t(72058),f=Object.isSealed,c=u||e(function(){f(1)});r({target:"Object",stat:!0,forced:c},{isSealed:function(v){return!o(v)||u&&i(v)==="ArrayBuffer"?!0:f?f(v):!1}})},93446:function(l,p,t){var r=t(14304),e=t(13944);r({target:"Object",stat:!0},{is:e})},62518:function(l,p,t){var r=t(14304),e=t(49671),o=t(18350),i=t(72069),u=i(function(){o(1)});r({target:"Object",stat:!0,forced:u},{keys:function(c){return o(e(c))}})},45130:function(l,p,t){var r=t(14304),e=t(92986),o=t(57629),i=t(49671),u=t(50035),f=t(26313),c=t(71349).f;e&&r({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(v){var y=i(this),S=u(v),E;do if(E=c(y,S))return E.get;while(y=f(y))}})},51542:function(l,p,t){var r=t(14304),e=t(92986),o=t(57629),i=t(49671),u=t(50035),f=t(26313),c=t(71349).f;e&&r({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(v){var y=i(this),S=u(v),E;do if(E=c(y,S))return E.set;while(y=f(y))}})},43781:function(l,p,t){var r=t(14304),e=t(37540),o=t(31853).onFreeze,i=t(27534),u=t(72069),f=Object.preventExtensions,c=u(function(){f(1)});r({target:"Object",stat:!0,forced:c,sham:!i},{preventExtensions:function(v){return f&&e(v)?f(o(v)):v}})},25738:function(l,p,t){var r=t(92986),e=t(85500),o=t(37540),i=t(52427),u=t(49671),f=t(2068),c=Object.getPrototypeOf,g=Object.setPrototypeOf,v=Object.prototype,y="__proto__";if(r&&c&&g&&!(y in v))try{e(v,y,{configurable:!0,get:function(){return c(u(this))},set:function(E){var T=f(this);i(E)&&o(T)&&g(T,E)}})}catch(S){}},93247:function(l,p,t){var r=t(14304),e=t(37540),o=t(31853).onFreeze,i=t(27534),u=t(72069),f=Object.seal,c=u(function(){f(1)});r({target:"Object",stat:!0,forced:c,sham:!i},{seal:function(v){return f&&e(v)?f(o(v)):v}})},41533:function(l,p,t){var r=t(14304),e=t(15861);r({target:"Object",stat:!0},{setPrototypeOf:e})},60225:function(l,p,t){var r=t(67878),e=t(16142),o=t(60105);r||e(Object.prototype,"toString",o,{unsafe:!0})},69920:function(l,p,t){var r=t(14304),e=t(8511).values;r({target:"Object",stat:!0},{values:function(i){return e(i)}})},89205:function(l,p,t){var r=t(14304),e=t(25838);r({global:!0,forced:parseFloat!==e},{parseFloat:e})},78546:function(l,p,t){var r=t(14304),e=t(23009);r({global:!0,forced:parseInt!==e},{parseInt:e})},16893:function(l,p,t){var r=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);r({target:"Promise",stat:!0,forced:c},{allSettled:function(v){var y=this,S=i.f(y),E=S.resolve,T=S.reject,A=u(function(){var I=o(y.resolve),M=[],N=0,$=1;f(v,function(U){var w=N++,F=!1;$++,e(I,y,U).then(function(G){F||(F=!0,M[w]={status:"fulfilled",value:G},--$||E(M))},function(G){F||(F=!0,M[w]={status:"rejected",reason:G},--$||E(M))})}),--$||E(M)});return A.error&&T(A.value),S.promise}})},11733:function(l,p,t){var r=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);r({target:"Promise",stat:!0,forced:c},{all:function(v){var y=this,S=i.f(y),E=S.resolve,T=S.reject,A=u(function(){var I=o(y.resolve),M=[],N=0,$=1;f(v,function(U){var w=N++,F=!1;$++,e(I,y,U).then(function(G){F||(F=!0,M[w]=G,--$||E(M))},T)}),--$||E(M)});return A.error&&T(A.value),S.promise}})},3676:function(l,p,t){var r=t(14304),e=t(96499),o=t(85156),i=t(38941),u=t(24649),f=t(67805),c=t(55902),g=t(26035),v="No one promise resolved";r({target:"Promise",stat:!0,forced:g},{any:function(S){var E=this,T=i("AggregateError"),A=u.f(E),I=A.resolve,M=A.reject,N=f(function(){var $=o(E.resolve),U=[],w=0,F=1,G=!1;c(S,function(W){var X=w++,z=!1;F++,e($,E,W).then(function(Z){z||G||(G=!0,I(Z))},function(Z){z||G||(z=!0,U[X]=Z,--F||M(new T(U,v)))})}),--F||M(new T(U,v))});return N.error&&M(N.value),A.promise}})},14013:function(l,p,t){var r=t(14304),e=t(70457),o=t(37130).CONSTRUCTOR,i=t(98844),u=t(38941),f=t(23583),c=t(16142),g=i&&i.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(y){return this.then(void 0,y)}}),!e&&f(i)){var v=u("Promise").prototype.catch;g.catch!==v&&c(g,"catch",v,{unsafe:!0})}},20238:function(l,p,t){var r=t(14304),e=t(70457),o=t(91707),i=t(34246),u=t(96499),f=t(16142),c=t(15861),g=t(78401),v=t(36167),y=t(85156),S=t(23583),E=t(37540),T=t(12833),A=t(16887),I=t(23115).set,M=t(9709),N=t(99095),$=t(67805),U=t(76895),w=t(82367),F=t(98844),G=t(37130),W=t(24649),X="Promise",z=G.CONSTRUCTOR,Z=G.REJECTION_EVENT,st=G.SUBCLASSING,ut=w.getterFor(X),rt=w.set,at=F&&F.prototype,ot=F,yt=at,Nt=i.TypeError,St=i.document,$t=i.process,Rt=W.f,Qt=Rt,Yt=!!(St&&St.createEvent&&i.dispatchEvent),Xt="unhandledrejection",er="rejectionhandled",ir=0,Or=1,yr=2,xr=1,Wt=2,kt,hr,Sr,mr,Tr=function(bt){var fr;return E(bt)&&S(fr=bt.then)?fr:!1},Fr=function(bt,fr){var cr=fr.value,rr=fr.state===Or,_t=rr?bt.ok:bt.fail,$r=bt.resolve,Br=bt.reject,Et=bt.domain,Bt,wt,gt;try{_t?(rr||(fr.rejection===Wt&&Er(fr),fr.rejection=xr),_t===!0?Bt=cr:(Et&&Et.enter(),Bt=_t(cr),Et&&(Et.exit(),gt=!0)),Bt===bt.promise?Br(new Nt("Promise-chain cycle")):(wt=Tr(Bt))?u(wt,Bt,$r,Br):$r(Bt)):Br(cr)}catch(It){Et&&!gt&&Et.exit(),Br(It)}},Dr=function(bt,fr){bt.notified||(bt.notified=!0,M(function(){for(var cr=bt.reactions,rr;rr=cr.get();)Fr(rr,bt);bt.notified=!1,fr&&!bt.rejection&&gr(bt)}))},Pr=function(bt,fr,cr){var rr,_t;Yt?(rr=St.createEvent("Event"),rr.promise=fr,rr.reason=cr,rr.initEvent(bt,!1,!0),i.dispatchEvent(rr)):rr={promise:fr,reason:cr},!Z&&(_t=i["on"+bt])?_t(rr):bt===Xt&&N("Unhandled promise rejection",cr)},gr=function(bt){u(I,i,function(){var fr=bt.facade,cr=bt.value,rr=Cr(bt),_t;if(rr&&(_t=$(function(){o?$t.emit("unhandledRejection",cr,fr):Pr(Xt,fr,cr)}),bt.rejection=o||Cr(bt)?Wt:xr,_t.error))throw _t.value})},Cr=function(bt){return bt.rejection!==xr&&!bt.parent},Er=function(bt){u(I,i,function(){var fr=bt.facade;o?$t.emit("rejectionHandled",fr):Pr(er,fr,bt.value)})},pr=function(bt,fr,cr){return function(rr){bt(fr,rr,cr)}},Ut=function(bt,fr,cr){bt.done||(bt.done=!0,cr&&(bt=cr),bt.value=fr,bt.state=yr,Dr(bt,!0))},Vt=function(bt,fr,cr){if(!bt.done){bt.done=!0,cr&&(bt=cr);try{if(bt.facade===fr)throw new Nt("Promise can't be resolved itself");var rr=Tr(fr);rr?M(function(){var _t={done:!1};try{u(rr,fr,pr(Vt,_t,bt),pr(Ut,_t,bt))}catch($r){Ut(_t,$r,bt)}}):(bt.value=fr,bt.state=Or,Dr(bt,!1))}catch(_t){Ut({done:!1},_t,bt)}}};if(z&&(ot=function(fr){T(this,yt),y(fr),u(kt,this);var cr=ut(this);try{fr(pr(Vt,cr),pr(Ut,cr))}catch(rr){Ut(cr,rr)}},yt=ot.prototype,kt=function(fr){rt(this,{type:X,done:!1,notified:!1,parent:!1,reactions:new U,rejection:!1,state:ir,value:void 0})},kt.prototype=f(yt,"then",function(fr,cr){var rr=ut(this),_t=Rt(A(this,ot));return rr.parent=!0,_t.ok=S(fr)?fr:!0,_t.fail=S(cr)&&cr,_t.domain=o?$t.domain:void 0,rr.state===ir?rr.reactions.add(_t):M(function(){Fr(_t,rr)}),_t.promise}),hr=function(){var bt=new kt,fr=ut(bt);this.promise=bt,this.resolve=pr(Vt,fr),this.reject=pr(Ut,fr)},W.f=Rt=function(bt){return bt===ot||bt===Sr?new hr(bt):Qt(bt)},!e&&S(F)&&at!==Object.prototype)){mr=at.then,st||f(at,"then",function(fr,cr){var rr=this;return new ot(function(_t,$r){u(mr,rr,_t,$r)}).then(fr,cr)},{unsafe:!0});try{delete at.constructor}catch(bt){}c&&c(at,yt)}r({global:!0,constructor:!0,wrap:!0,forced:z},{Promise:ot}),g(ot,X,!1,!0),v(X)},58361:function(l,p,t){var r=t(14304),e=t(70457),o=t(98844),i=t(72069),u=t(38941),f=t(23583),c=t(16887),g=t(87408),v=t(16142),y=o&&o.prototype,S=!!o&&i(function(){y.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:S},{finally:function(T){var A=c(this,u("Promise")),I=f(T);return this.then(I?function(M){return g(A,T()).then(function(){return M})}:T,I?function(M){return g(A,T()).then(function(){throw M})}:T)}}),!e&&f(o)){var E=u("Promise").prototype.finally;y.finally!==E&&v(y,"finally",E,{unsafe:!0})}},63616:function(l,p,t){t(20238),t(11733),t(14013),t(3037),t(36027),t(97282)},3037:function(l,p,t){var r=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);r({target:"Promise",stat:!0,forced:c},{race:function(v){var y=this,S=i.f(y),E=S.reject,T=u(function(){var A=o(y.resolve);f(v,function(I){e(A,y,I).then(S.resolve,E)})});return T.error&&E(T.value),S.promise}})},36027:function(l,p,t){var r=t(14304),e=t(24649),o=t(37130).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:o},{reject:function(u){var f=e.f(this),c=f.reject;return c(u),f.promise}})},97282:function(l,p,t){var r=t(14304),e=t(38941),o=t(70457),i=t(98844),u=t(37130).CONSTRUCTOR,f=t(87408),c=e("Promise"),g=o&&!u;r({target:"Promise",stat:!0,forced:o||u},{resolve:function(y){return f(g&&this===c?i:this,y)}})},23958:function(l,p,t){var r=t(14304),e=t(24649);r({target:"Promise",stat:!0},{withResolvers:function(){var i=e.f(this);return{promise:i.promise,resolve:i.resolve,reject:i.reject}}})},9798:function(l,p,t){var r=t(14304),e=t(66543),o=t(85156),i=t(25001),u=t(72069),f=!u(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:f},{apply:function(g,v,y){return e(o(g),v,i(y))}})},2371:function(l,p,t){var r=t(14304),e=t(38941),o=t(66543),i=t(91384),u=t(80042),f=t(25001),c=t(37540),g=t(5406),v=t(72069),y=e("Reflect","construct"),S=Object.prototype,E=[].push,T=v(function(){function M(){}return!(y(function(){},[],M)instanceof M)}),A=!v(function(){y(function(){})}),I=T||A;r({target:"Reflect",stat:!0,forced:I,sham:I},{construct:function(N,$){u(N),f($);var U=arguments.length<3?N:u(arguments[2]);if(A&&!T)return y(N,$,U);if(N===U){switch($.length){case 0:return new N;case 1:return new N($[0]);case 2:return new N($[0],$[1]);case 3:return new N($[0],$[1],$[2]);case 4:return new N($[0],$[1],$[2],$[3])}var w=[null];return o(E,w,$),new(o(i,N,w))}var F=U.prototype,G=g(c(F)?F:S),W=o(N,G,$);return c(W)?W:G}})},76185:function(l,p,t){var r=t(14304),e=t(92986),o=t(25001),i=t(50035),u=t(7831),f=t(72069),c=f(function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:c,sham:!e},{defineProperty:function(v,y,S){o(v);var E=i(y);o(S);try{return u.f(v,E,S),!0}catch(T){return!1}}})},76553:function(l,p,t){var r=t(14304),e=t(25001),o=t(71349).f;r({target:"Reflect",stat:!0},{deleteProperty:function(u,f){var c=o(e(u),f);return c&&!c.configurable?!1:delete u[f]}})},25227:function(l,p,t){var r=t(14304),e=t(92986),o=t(25001),i=t(71349);r({target:"Reflect",stat:!0,sham:!e},{getOwnPropertyDescriptor:function(f,c){return i.f(o(f),c)}})},91723:function(l,p,t){var r=t(14304),e=t(25001),o=t(26313),i=t(87501);r({target:"Reflect",stat:!0,sham:!i},{getPrototypeOf:function(f){return o(e(f))}})},93518:function(l,p,t){var r=t(14304),e=t(96499),o=t(37540),i=t(25001),u=t(69745),f=t(71349),c=t(26313);function g(v,y){var S=arguments.length<3?v:arguments[2],E,T;if(i(v)===S)return v[y];if(E=f.f(v,y),E)return u(E)?E.value:E.get===void 0?void 0:e(E.get,S);if(o(T=c(v)))return g(T,y,S)}r({target:"Reflect",stat:!0},{get:g})},57882:function(l,p,t){var r=t(14304);r({target:"Reflect",stat:!0},{has:function(o,i){return i in o}})},37796:function(l,p,t){var r=t(14304),e=t(25001),o=t(28174);r({target:"Reflect",stat:!0},{isExtensible:function(u){return e(u),o(u)}})},11563:function(l,p,t){var r=t(14304),e=t(16885);r({target:"Reflect",stat:!0},{ownKeys:e})},26159:function(l,p,t){var r=t(14304),e=t(38941),o=t(25001),i=t(27534);r({target:"Reflect",stat:!0,sham:!i},{preventExtensions:function(f){o(f);try{var c=e("Object","preventExtensions");return c&&c(f),!0}catch(g){return!1}}})},77487:function(l,p,t){var r=t(14304),e=t(25001),o=t(53408),i=t(15861);i&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(f,c){e(f),o(c);try{return i(f,c),!0}catch(g){return!1}}})},20962:function(l,p,t){var r=t(14304),e=t(96499),o=t(25001),i=t(37540),u=t(69745),f=t(72069),c=t(7831),g=t(71349),v=t(26313),y=t(18526);function S(T,A,I){var M=arguments.length<4?T:arguments[3],N=g.f(o(T),A),$,U,w;if(!N){if(i(U=v(T)))return S(U,A,I,M);N=y(0)}if(u(N)){if(N.writable===!1||!i(M))return!1;if($=g.f(M,A)){if($.get||$.set||$.writable===!1)return!1;$.value=I,c.f(M,A,$)}else c.f(M,A,y(0,I))}else{if(w=N.set,w===void 0)return!1;e(w,M,I)}return!0}var E=f(function(){var T=function(){},A=c.f(new T,"a",{configurable:!0});return Reflect.set(T.prototype,"a",1,A)!==!1});r({target:"Reflect",stat:!0,forced:E},{set:S})},6130:function(l,p,t){var r=t(14304),e=t(34246),o=t(78401);r({global:!0},{Reflect:{}}),o(e.Reflect,"Reflect",!0)},1354:function(l,p,t){var r=t(92986),e=t(34246),o=t(11286),i=t(13278),u=t(32345),f=t(90809),c=t(5406),g=t(83258).f,v=t(95307),y=t(11566),S=t(17361),E=t(54932),T=t(39807),A=t(2594),I=t(16142),M=t(72069),N=t(94879),$=t(82367).enforce,U=t(36167),w=t(18565),F=t(76769),G=t(85220),W=w("match"),X=e.RegExp,z=X.prototype,Z=e.SyntaxError,st=o(z.exec),ut=o("".charAt),rt=o("".replace),at=o("".indexOf),ot=o("".slice),yt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Nt=/a/g,St=/a/g,$t=new X(Nt)!==Nt,Rt=T.MISSED_STICKY,Qt=T.UNSUPPORTED_Y,Yt=r&&(!$t||Rt||F||G||M(function(){return St[W]=!1,X(Nt)!==Nt||X(St)===St||String(X(Nt,"i"))!=="/a/i"})),Xt=function(xr){for(var Wt=xr.length,kt=0,hr="",Sr=!1,mr;kt<=Wt;kt++){if(mr=ut(xr,kt),mr==="\\"){hr+=mr+ut(xr,++kt);continue}!Sr&&mr==="."?hr+="[\\s\\S]":(mr==="["?Sr=!0:mr==="]"&&(Sr=!1),hr+=mr)}return hr},er=function(xr){for(var Wt=xr.length,kt=0,hr="",Sr=[],mr=c(null),Tr=!1,Fr=!1,Dr=0,Pr="",gr;kt<=Wt;kt++){if(gr=ut(xr,kt),gr==="\\")gr+=ut(xr,++kt);else if(gr==="]")Tr=!1;else if(!Tr)switch(!0){case gr==="[":Tr=!0;break;case gr==="(":if(hr+=gr,ot(xr,kt+1,kt+3)==="?:")continue;st(yt,ot(xr,kt+1))&&(kt+=2,Fr=!0),Dr++;continue;case(gr===">"&&Fr):if(Pr===""||N(mr,Pr))throw new Z("Invalid capture group name");mr[Pr]=!0,Sr[Sr.length]=[Pr,Dr],Fr=!1,Pr="";continue}Fr?Pr+=gr:hr+=gr}return[hr,Sr]};if(i("RegExp",Yt)){for(var ir=function(Wt,kt){var hr=v(z,this),Sr=y(Wt),mr=kt===void 0,Tr=[],Fr=Wt,Dr,Pr,gr,Cr,Er,pr;if(!hr&&Sr&&mr&&Wt.constructor===ir)return Wt;if((Sr||v(z,Wt))&&(Wt=Wt.source,mr&&(kt=E(Fr))),Wt=Wt===void 0?"":S(Wt),kt=kt===void 0?"":S(kt),Fr=Wt,F&&"dotAll"in Nt&&(Pr=!!kt&&at(kt,"s")>-1,Pr&&(kt=rt(kt,/s/g,""))),Dr=kt,Rt&&"sticky"in Nt&&(gr=!!kt&&at(kt,"y")>-1,gr&&Qt&&(kt=rt(kt,/y/g,""))),G&&(Cr=er(Wt),Wt=Cr[0],Tr=Cr[1]),Er=u(X(Wt,kt),hr?this:z,ir),(Pr||gr||Tr.length)&&(pr=$(Er),Pr&&(pr.dotAll=!0,pr.raw=ir(Xt(Wt),Dr)),gr&&(pr.sticky=!0),Tr.length&&(pr.groups=Tr)),Wt!==Fr)try{f(Er,"source",Fr===""?"(?:)":Fr)}catch(Ut){}return Er},Or=g(X),yr=0;Or.length>yr;)A(ir,X,Or[yr++]);z.constructor=ir,ir.prototype=z,I(e,"RegExp",ir,{constructor:!0})}U("RegExp")},47119:function(l,p,t){var r=t(92986),e=t(76769),o=t(14274),i=t(85500),u=t(82367).get,f=RegExp.prototype,c=TypeError;r&&e&&i(f,"dotAll",{configurable:!0,get:function(){if(this!==f){if(o(this)==="RegExp")return!!u(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},31145:function(l,p,t){var r=t(14304),e=t(44381);r({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},96773:function(l,p,t){var r=t(34246),e=t(92986),o=t(85500),i=t(29833),u=t(72069),f=r.RegExp,c=f.prototype,g=e&&u(function(){var v=!0;try{f(".","d")}catch(N){v=!1}var y={},S="",E=v?"dgimsy":"gimsy",T=function(N,$){Object.defineProperty(y,N,{get:function(){return S+=$,!0}})},A={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};v&&(A.hasIndices="d");for(var I in A)T(I,A[I]);var M=Object.getOwnPropertyDescriptor(c,"flags").get.call(y);return M!==E||S!==E});g&&o(c,"flags",{configurable:!0,get:i})},14371:function(l,p,t){var r=t(92986),e=t(39807).MISSED_STICKY,o=t(14274),i=t(85500),u=t(82367).get,f=RegExp.prototype,c=TypeError;r&&e&&i(f,"sticky",{configurable:!0,get:function(){if(this!==f){if(o(this)==="RegExp")return!!u(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},18180:function(l,p,t){t(31145);var r=t(14304),e=t(96499),o=t(23583),i=t(25001),u=t(17361),f=function(){var g=!1,v=/[ac]/;return v.exec=function(){return g=!0,/./.exec.apply(this,arguments)},v.test("abc")===!0&&g}(),c=/./.test;r({target:"RegExp",proto:!0,forced:!f},{test:function(g){var v=i(this),y=u(g),S=v.exec;if(!o(S))return e(c,v,y);var E=e(S,v,y);return E===null?!1:(i(E),!0)}})},83147:function(l,p,t){var r=t(86588).PROPER,e=t(16142),o=t(25001),i=t(17361),u=t(72069),f=t(54932),c="toString",g=RegExp.prototype,v=g[c],y=u(function(){return v.call({source:"a",flags:"b"})!=="/a/b"}),S=r&&v.name!==c;(y||S)&&e(g,c,function(){var T=o(this),A=i(T.source),I=i(f(T));return"/"+A+"/"+I},{unsafe:!0})},6583:function(l,p,t){var r=t(89378),e=t(34440);r("Set",function(o){return function(){return o(this,arguments.length?arguments[0]:void 0)}},e)},86548:function(l,p,t){var r=t(14304),e=t(41754),o=t(94118);r({target:"Set",proto:!0,real:!0,forced:!o("difference")},{difference:e})},15282:function(l,p,t){var r=t(14304),e=t(72069),o=t(92292),i=t(94118),u=!i("intersection")||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:u},{intersection:o})},51275:function(l,p,t){var r=t(14304),e=t(47391),o=t(94118);r({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:e})},91890:function(l,p,t){var r=t(14304),e=t(75492),o=t(94118);r({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:e})},15089:function(l,p,t){var r=t(14304),e=t(1333),o=t(94118);r({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:e})},75765:function(l,p,t){t(6583)},78134:function(l,p,t){var r=t(14304),e=t(64680),o=t(94118);r({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:e})},56456:function(l,p,t){var r=t(14304),e=t(70402),o=t(94118);r({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:e})},70641:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("anchor")},{anchor:function(u){return e(this,"a","name",u)}})},40735:function(l,p,t){var r=t(14304),e=t(11286),o=t(2068),i=t(12105),u=t(17361),f=t(72069),c=e("".charAt),g=f(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:g},{at:function(y){var S=u(o(this)),E=S.length,T=i(y),A=T>=0?T:E+T;return A<0||A>=E?void 0:c(S,A)}})},53892:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("big")},{big:function(){return e(this,"big","","")}})},95976:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("blink")},{blink:function(){return e(this,"blink","","")}})},399:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("bold")},{bold:function(){return e(this,"b","","")}})},8510:function(l,p,t){var r=t(14304),e=t(22149).codeAt;r({target:"String",proto:!0},{codePointAt:function(i){return e(this,i)}})},70159:function(l,p,t){var r=t(14304),e=t(77422),o=t(71349).f,i=t(45344),u=t(17361),f=t(92337),c=t(2068),g=t(8790),v=t(70457),y=e("".slice),S=Math.min,E=g("endsWith"),T=!v&&!E&&!!function(){var A=o(String.prototype,"endsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!T&&!E},{endsWith:function(I){var M=u(c(this));f(I);var N=arguments.length>1?arguments[1]:void 0,$=M.length,U=N===void 0?$:S(i(N),$),w=u(I);return y(M,U-w.length,U)===w}})},72032:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){return e(this,"tt","","")}})},49442:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("fontcolor")},{fontcolor:function(u){return e(this,"font","color",u)}})},16012:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("fontsize")},{fontsize:function(u){return e(this,"font","size",u)}})},93087:function(l,p,t){var r=t(14304),e=t(11286),o=t(4652),i=RangeError,u=String.fromCharCode,f=String.fromCodePoint,c=e([].join),g=!!f&&f.length!==1;r({target:"String",stat:!0,arity:1,forced:g},{fromCodePoint:function(y){for(var S=[],E=arguments.length,T=0,A;E>T;){if(A=+arguments[T++],o(A,1114111)!==A)throw new i(A+" is not a valid code point");S[T]=A<65536?u(A):u(((A-=65536)>>10)+55296,A%1024+56320)}return c(S,"")}})},26021:function(l,p,t){var r=t(14304),e=t(11286),o=t(92337),i=t(2068),u=t(17361),f=t(8790),c=e("".indexOf);r({target:"String",proto:!0,forced:!f("includes")},{includes:function(v){return!!~c(u(i(this)),u(o(v)),arguments.length>1?arguments[1]:void 0)}})},93029:function(l,p,t){var r=t(14304),e=t(11286),o=t(2068),i=t(17361),u=e("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var c=i(o(this)),g=c.length,v=0;v=56320||++v>=g||(u(c,v)&64512)!==56320))return!1}return!0}})},9943:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("italics")},{italics:function(){return e(this,"i","","")}})},59158:function(l,p,t){var r=t(22149).charAt,e=t(17361),o=t(82367),i=t(10218),u=t(10659),f="String Iterator",c=o.set,g=o.getterFor(f);i(String,"String",function(v){c(this,{type:f,string:e(v),index:0})},function(){var y=g(this),S=y.string,E=y.index,T;return E>=S.length?u(void 0,!0):(T=r(S,E),y.index+=T.length,u(T,!1))})},33128:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("link")},{link:function(u){return e(this,"a","href",u)}})},18509:function(l,p,t){var r=t(14304),e=t(96499),o=t(77422),i=t(26820),u=t(10659),f=t(2068),c=t(45344),g=t(17361),v=t(25001),y=t(5683),S=t(14274),E=t(11566),T=t(54932),A=t(10512),I=t(16142),M=t(72069),N=t(18565),$=t(16887),U=t(24487),w=t(33064),F=t(82367),G=t(70457),W=N("matchAll"),X="RegExp String",z=X+" Iterator",Z=F.set,st=F.getterFor(z),ut=RegExp.prototype,rt=TypeError,at=o("".indexOf),ot=o("".matchAll),yt=!!ot&&!M(function(){ot("a",/./)}),Nt=i(function(Rt,Qt,Yt,Xt){Z(this,{type:z,regexp:Rt,string:Qt,global:Yt,unicode:Xt,done:!1})},X,function(){var Rt=st(this);if(Rt.done)return u(void 0,!0);var Qt=Rt.regexp,Yt=Rt.string,Xt=w(Qt,Yt);return Xt===null?(Rt.done=!0,u(void 0,!0)):Rt.global?(g(Xt[0])===""&&(Qt.lastIndex=U(Yt,c(Qt.lastIndex),Rt.unicode)),u(Xt,!1)):(Rt.done=!0,u(Xt,!1))}),St=function($t){var Rt=v(this),Qt=g($t),Yt=$(Rt,RegExp),Xt=g(T(Rt)),er,ir,Or;return er=new Yt(Yt===RegExp?Rt.source:Rt,Xt),ir=!!~at(Xt,"g"),Or=!!~at(Xt,"u"),er.lastIndex=c(Rt.lastIndex),new Nt(er,Qt,ir,Or)};r({target:"String",proto:!0,forced:yt},{matchAll:function(Rt){var Qt=f(this),Yt,Xt,er,ir;if(y(Rt)){if(yt)return ot(Qt,Rt)}else{if(E(Rt)&&(Yt=g(f(T(Rt))),!~at(Yt,"g")))throw new rt("`.matchAll` does not allow non-global regexes");if(yt)return ot(Qt,Rt);if(er=A(Rt,W),er===void 0&&G&&S(Rt)==="RegExp"&&(er=St),er)return e(er,Rt,Qt)}return Xt=g(Qt),ir=new RegExp(Rt,"g"),G?e(St,ir,Xt):ir[W](Xt)}}),G||W in ut||I(ut,W,St)},15599:function(l,p,t){var r=t(96499),e=t(63194),o=t(25001),i=t(5683),u=t(45344),f=t(17361),c=t(2068),g=t(10512),v=t(24487),y=t(33064);e("match",function(S,E,T){return[function(I){var M=c(this),N=i(I)?void 0:g(I,S);return N?r(N,I,M):new RegExp(I)[S](f(M))},function(A){var I=o(this),M=f(A),N=T(E,I,M);if(N.done)return N.value;if(!I.global)return y(I,M);var $=I.unicode;I.lastIndex=0;for(var U=[],w=0,F;(F=y(I,M))!==null;){var G=f(F[0]);U[w]=G,G===""&&(I.lastIndex=v(M,u(I.lastIndex),$)),w++}return w===0?null:U}]})},21579:function(l,p,t){var r=t(14304),e=t(61607).end,o=t(36945);r({target:"String",proto:!0,forced:o},{padEnd:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}})},8854:function(l,p,t){var r=t(14304),e=t(61607).start,o=t(36945);r({target:"String",proto:!0,forced:o},{padStart:function(u){return e(this,u,arguments.length>1?arguments[1]:void 0)}})},57676:function(l,p,t){var r=t(14304),e=t(11286),o=t(36859),i=t(49671),u=t(17361),f=t(82628),c=e([].push),g=e([].join);r({target:"String",stat:!0},{raw:function(y){var S=o(i(y).raw),E=f(S);if(!E)return"";for(var T=arguments.length,A=[],I=0;;){if(c(A,u(S[I++])),I===E)return g(A,"");Ist.length?-1:M(st,ut,yt+ot);return St")!=="7"});i("replace",function(rt,at,ot){var yt=st?"$":"$0";return[function(St,$t){var Rt=E(this),Qt=g(St)?void 0:A(St,$);return Qt?e(Qt,St,Rt,$t):e(at,S(Rt),St,$t)},function(Nt,St){var $t=f(this),Rt=S(Nt);if(typeof St=="string"&&W(St,yt)===-1&&W(St,"$<")===-1){var Qt=ot(at,$t,Rt,St);if(Qt.done)return Qt.value}var Yt=c(St);Yt||(St=S(St));var Xt=$t.global,er;Xt&&(er=$t.unicode,$t.lastIndex=0);for(var ir=[],Or;Or=M($t,Rt),!(Or===null||(G(ir,Or),!Xt));){var yr=S(Or[0]);yr===""&&($t.lastIndex=T(Rt,y($t.lastIndex),er))}for(var xr="",Wt=0,kt=0;kt=Wt&&(xr+=X(Rt,Wt,Sr)+Tr,Wt=Sr+hr.length)}return xr+X(Rt,Wt)}]},!ut||!Z||st)},74980:function(l,p,t){var r=t(96499),e=t(63194),o=t(25001),i=t(5683),u=t(2068),f=t(13944),c=t(17361),g=t(10512),v=t(33064);e("search",function(y,S,E){return[function(A){var I=u(this),M=i(A)?void 0:g(A,y);return M?r(M,A,I):new RegExp(A)[y](c(I))},function(T){var A=o(this),I=c(T),M=E(S,A,I);if(M.done)return M.value;var N=A.lastIndex;f(N,0)||(A.lastIndex=0);var $=v(A,I);return f(A.lastIndex,N)||(A.lastIndex=N),$===null?-1:$.index}]})},95625:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("small")},{small:function(){return e(this,"small","","")}})},390:function(l,p,t){var r=t(96499),e=t(11286),o=t(63194),i=t(25001),u=t(5683),f=t(2068),c=t(16887),g=t(24487),v=t(45344),y=t(17361),S=t(10512),E=t(33064),T=t(39807),A=t(72069),I=T.UNSUPPORTED_Y,M=4294967295,N=Math.min,$=e([].push),U=e("".slice),w=!A(function(){var G=/(?:)/,W=G.exec;G.exec=function(){return W.apply(this,arguments)};var X="ab".split(G);return X.length!==2||X[0]!=="a"||X[1]!=="b"}),F="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;o("split",function(G,W,X){var z="0".split(void 0,0).length?function(Z,st){return Z===void 0&&st===0?[]:r(W,this,Z,st)}:W;return[function(st,ut){var rt=f(this),at=u(st)?void 0:S(st,G);return at?r(at,st,rt,ut):r(z,y(rt),st,ut)},function(Z,st){var ut=i(this),rt=y(Z);if(!F){var at=X(z,ut,rt,st,z!==W);if(at.done)return at.value}var ot=c(ut,RegExp),yt=ut.unicode,Nt=(ut.ignoreCase?"i":"")+(ut.multiline?"m":"")+(ut.unicode?"u":"")+(I?"g":"y"),St=new ot(I?"^(?:"+ut.source+")":ut,Nt),$t=st===void 0?M:st>>>0;if($t===0)return[];if(rt.length===0)return E(St,rt)===null?[rt]:[];for(var Rt=0,Qt=0,Yt=[];Qt1?arguments[1]:void 0,M.length)),$=u(I);return y(M,N,N+$.length)===$}})},90614:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("strike")},{strike:function(){return e(this,"strike","","")}})},60120:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("sub")},{sub:function(){return e(this,"sub","","")}})},21293:function(l,p,t){var r=t(14304),e=t(11286),o=t(2068),i=t(12105),u=t(17361),f=e("".slice),c=Math.max,g=Math.min,v=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:v},{substr:function(S,E){var T=u(o(this)),A=T.length,I=i(S),M,N;return I===1/0&&(I=0),I<0&&(I=c(A+I,0)),M=E===void 0?A:i(E),M<=0||M===1/0?"":(N=g(I+M,A),I>=N?"":f(T,I,N))}})},75826:function(l,p,t){var r=t(14304),e=t(68422),o=t(5287);r({target:"String",proto:!0,forced:o("sup")},{sup:function(){return e(this,"sup","","")}})},18184:function(l,p,t){var r=t(14304),e=t(96499),o=t(11286),i=t(2068),u=t(17361),f=t(72069),c=Array,g=o("".charAt),v=o("".charCodeAt),y=o([].join),S="".toWellFormed,E="\uFFFD",T=S&&f(function(){return e(S,1)!=="1"});r({target:"String",proto:!0,forced:T},{toWellFormed:function(){var I=u(i(this));if(T)return e(S,I);for(var M=I.length,N=c(M),$=0;$=56320||$+1>=M||(v(I,$+1)&64512)!==56320?N[$]=E:(N[$]=g(I,$),N[++$]=g(I,$))}return y(N,"")}})},19680:function(l,p,t){t(23283);var r=t(14304),e=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==e},{trimEnd:e})},12272:function(l,p,t){var r=t(14304),e=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==e},{trimLeft:e})},23283:function(l,p,t){var r=t(14304),e=t(75176);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==e},{trimRight:e})},4193:function(l,p,t){t(12272);var r=t(14304),e=t(83481);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==e},{trimStart:e})},75012:function(l,p,t){var r=t(14304),e=t(85900).trim,o=t(33328);r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return e(this)}})},43606:function(l,p,t){var r=t(83749);r("asyncIterator")},51767:function(l,p,t){var r=t(14304),e=t(34246),o=t(96499),i=t(11286),u=t(70457),f=t(92986),c=t(39729),g=t(72069),v=t(94879),y=t(95307),S=t(25001),E=t(36859),T=t(50035),A=t(17361),I=t(18526),M=t(5406),N=t(18350),$=t(83258),U=t(92880),w=t(24943),F=t(71349),G=t(7831),W=t(61963),X=t(79591),z=t(16142),Z=t(85500),st=t(96731),ut=t(44869),rt=t(19423),at=t(36374),ot=t(18565),yt=t(56529),Nt=t(83749),St=t(60796),$t=t(78401),Rt=t(82367),Qt=t(66655).forEach,Yt=ut("hidden"),Xt="Symbol",er="prototype",ir=Rt.set,Or=Rt.getterFor(Xt),yr=Object[er],xr=e.Symbol,Wt=xr&&xr[er],kt=e.RangeError,hr=e.TypeError,Sr=e.QObject,mr=F.f,Tr=G.f,Fr=U.f,Dr=X.f,Pr=i([].push),gr=st("symbols"),Cr=st("op-symbols"),Er=st("wks"),pr=!Sr||!Sr[er]||!Sr[er].findChild,Ut=function(Bt,wt,gt){var It=mr(yr,wt);It&&delete yr[wt],Tr(Bt,wt,gt),It&&Bt!==yr&&Tr(yr,wt,It)},Vt=f&&g(function(){return M(Tr({},"a",{get:function(){return Tr(this,"a",{value:7}).a}})).a!==7})?Ut:Tr,bt=function(Bt,wt){var gt=gr[Bt]=M(Wt);return ir(gt,{type:Xt,tag:Bt,description:wt}),f||(gt.description=wt),gt},fr=function(wt,gt,It){wt===yr&&fr(Cr,gt,It),S(wt);var q=T(gt);return S(It),v(gr,q)?(It.enumerable?(v(wt,Yt)&&wt[Yt][q]&&(wt[Yt][q]=!1),It=M(It,{enumerable:I(0,!1)})):(v(wt,Yt)||Tr(wt,Yt,I(1,M(null))),wt[Yt][q]=!0),Vt(wt,q,It)):Tr(wt,q,It)},cr=function(wt,gt){S(wt);var It=E(gt),q=N(It).concat(Et(It));return Qt(q,function(At){(!f||o(_t,It,At))&&fr(wt,At,It[At])}),wt},rr=function(wt,gt){return gt===void 0?M(wt):cr(M(wt),gt)},_t=function(wt){var gt=T(wt),It=o(Dr,this,gt);return this===yr&&v(gr,gt)&&!v(Cr,gt)?!1:It||!v(this,gt)||!v(gr,gt)||v(this,Yt)&&this[Yt][gt]?It:!0},$r=function(wt,gt){var It=E(wt),q=T(gt);if(!(It===yr&&v(gr,q)&&!v(Cr,q))){var At=mr(It,q);return At&&v(gr,q)&&!(v(It,Yt)&&It[Yt][q])&&(At.enumerable=!0),At}},Br=function(wt){var gt=Fr(E(wt)),It=[];return Qt(gt,function(q){!v(gr,q)&&!v(rt,q)&&Pr(It,q)}),It},Et=function(Bt){var wt=Bt===yr,gt=Fr(wt?Cr:E(Bt)),It=[];return Qt(gt,function(q){v(gr,q)&&(!wt||v(yr,q))&&Pr(It,gr[q])}),It};c||(xr=function(){if(y(Wt,this))throw new hr("Symbol is not a constructor");var wt=!arguments.length||arguments[0]===void 0?void 0:A(arguments[0]),gt=at(wt),It=function(q){var At=this===void 0?e:this;At===yr&&o(It,Cr,q),v(At,Yt)&&v(At[Yt],gt)&&(At[Yt][gt]=!1);var Jt=I(1,q);try{Vt(At,gt,Jt)}catch(qt){if(!(qt instanceof kt))throw qt;Ut(At,gt,Jt)}};return f&&pr&&Vt(yr,gt,{configurable:!0,set:It}),bt(gt,wt)},Wt=xr[er],z(Wt,"toString",function(){return Or(this).tag}),z(xr,"withoutSetter",function(Bt){return bt(at(Bt),Bt)}),X.f=_t,G.f=fr,W.f=cr,F.f=$r,$.f=U.f=Br,w.f=Et,yt.f=function(Bt){return bt(ot(Bt),Bt)},f&&(Z(Wt,"description",{configurable:!0,get:function(){return Or(this).description}}),u||z(yr,"propertyIsEnumerable",_t,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:xr}),Qt(N(Er),function(Bt){Nt(Bt)}),r({target:Xt,stat:!0,forced:!c},{useSetter:function(){pr=!0},useSimple:function(){pr=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!f},{create:rr,defineProperty:fr,defineProperties:cr,getOwnPropertyDescriptor:$r}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Br}),St(),$t(xr,Xt),rt[Yt]=!0},43657:function(l,p,t){var r=t(14304),e=t(92986),o=t(34246),i=t(11286),u=t(94879),f=t(23583),c=t(95307),g=t(17361),v=t(85500),y=t(93706),S=o.Symbol,E=S&&S.prototype;if(e&&f(S)&&(!("description"in E)||S().description!==void 0)){var T={},A=function(){var G=arguments.length<1||arguments[0]===void 0?void 0:g(arguments[0]),W=c(E,this)?new S(G):G===void 0?S():S(G);return G===""&&(T[W]=!0),W};y(A,S),A.prototype=E,E.constructor=A;var I=String(S("description detection"))==="Symbol(description detection)",M=i(E.valueOf),N=i(E.toString),$=/^Symbol\((.*)\)[^)]+$/,U=i("".replace),w=i("".slice);v(E,"description",{configurable:!0,get:function(){var G=M(this);if(u(T,G))return"";var W=N(G),X=I?w(W,7,-1):U(W,$,"$1");return X===""?void 0:X}}),r({global:!0,constructor:!0,forced:!0},{Symbol:A})}},20872:function(l,p,t){var r=t(14304),e=t(38941),o=t(94879),i=t(17361),u=t(96731),f=t(61190),c=u("string-to-symbol-registry"),g=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{for:function(v){var y=i(v);if(o(c,y))return c[y];var S=e("Symbol")(y);return c[y]=S,g[S]=y,S}})},15855:function(l,p,t){var r=t(83749);r("hasInstance")},42026:function(l,p,t){var r=t(83749);r("isConcatSpreadable")},33257:function(l,p,t){var r=t(83749);r("iterator")},40949:function(l,p,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(l,p,t){var r=t(14304),e=t(94879),o=t(491),i=t(82453),u=t(96731),f=t(61190),c=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{keyFor:function(v){if(!o(v))throw new TypeError(i(v)+" is not a symbol");if(e(c,v))return c[v]}})},88344:function(l,p,t){var r=t(83749);r("matchAll")},59414:function(l,p,t){var r=t(83749);r("match")},92579:function(l,p,t){var r=t(83749);r("replace")},94655:function(l,p,t){var r=t(83749);r("search")},8565:function(l,p,t){var r=t(83749);r("species")},60843:function(l,p,t){var r=t(83749);r("split")},65842:function(l,p,t){var r=t(83749),e=t(60796);r("toPrimitive"),e()},51595:function(l,p,t){var r=t(38941),e=t(83749),o=t(78401);e("toStringTag"),o(r("Symbol"),"Symbol")},54908:function(l,p,t){var r=t(83749);r("unscopables")},71998:function(l,p,t){var r=t(88037),e=t(82628),o=t(12105),i=r.aTypedArray,u=r.exportTypedArrayMethod;u("at",function(c){var g=i(this),v=e(g),y=o(c),S=y>=0?y:v+y;return S<0||S>=v?void 0:g[S]})},6116:function(l,p,t){var r=t(11286),e=t(88037),o=t(81499),i=r(o),u=e.aTypedArray,f=e.exportTypedArrayMethod;f("copyWithin",function(g,v){return i(u(this),g,v,arguments.length>2?arguments[2]:void 0)})},33032:function(l,p,t){var r=t(88037),e=t(66655).every,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("every",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},80962:function(l,p,t){var r=t(88037),e=t(43011),o=t(11344),i=t(9205),u=t(96499),f=t(11286),c=t(72069),g=r.aTypedArray,v=r.exportTypedArrayMethod,y=f("".slice),S=c(function(){var E=0;return new Int8Array(2).fill({valueOf:function(){return E++}}),E!==1});v("fill",function(T){var A=arguments.length;g(this);var I=y(i(this),0,3)==="Big"?o(T):+T;return u(e,this,I,A>1?arguments[1]:void 0,A>2?arguments[2]:void 0)},S)},49381:function(l,p,t){var r=t(88037),e=t(66655).filter,o=t(3795),i=r.aTypedArray,u=r.exportTypedArrayMethod;u("filter",function(c){var g=e(i(this),c,arguments.length>1?arguments[1]:void 0);return o(this,g)})},65961:function(l,p,t){var r=t(88037),e=t(66655).findIndex,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findIndex",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},16028:function(l,p,t){var r=t(88037),e=t(73849).findLastIndex,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findLastIndex",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},94153:function(l,p,t){var r=t(88037),e=t(73849).findLast,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findLast",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},38344:function(l,p,t){var r=t(88037),e=t(66655).find,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("find",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},25560:function(l,p,t){var r=t(80357);r("Float32",function(e){return function(i,u,f){return e(this,i,u,f)}})},22571:function(l,p,t){var r=t(80357);r("Float64",function(e){return function(i,u,f){return e(this,i,u,f)}})},20656:function(l,p,t){var r=t(88037),e=t(66655).forEach,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("forEach",function(f){e(o(this),f,arguments.length>1?arguments[1]:void 0)})},17063:function(l,p,t){var r=t(46868),e=t(88037).exportTypedArrayStaticMethod,o=t(66169);e("from",o,r)},21774:function(l,p,t){var r=t(88037),e=t(94319).includes,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("includes",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},51761:function(l,p,t){var r=t(88037),e=t(94319).indexOf,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("indexOf",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},36849:function(l,p,t){var r=t(80357);r("Int16",function(e){return function(i,u,f){return e(this,i,u,f)}})},49191:function(l,p,t){var r=t(80357);r("Int32",function(e){return function(i,u,f){return e(this,i,u,f)}})},40704:function(l,p,t){var r=t(80357);r("Int8",function(e){return function(i,u,f){return e(this,i,u,f)}})},12317:function(l,p,t){var r=t(34246),e=t(72069),o=t(11286),i=t(88037),u=t(35054),f=t(18565),c=f("iterator"),g=r.Uint8Array,v=o(u.values),y=o(u.keys),S=o(u.entries),E=i.aTypedArray,T=i.exportTypedArrayMethod,A=g&&g.prototype,I=!e(function(){A[c].call([1])}),M=!!A&&A.values&&A[c]===A.values&&A.values.name==="values",N=function(){return v(E(this))};T("entries",function(){return S(E(this))},I),T("keys",function(){return y(E(this))},I),T("values",N,I||!M,{name:"values"}),T(c,N,I||!M,{name:"values"})},19711:function(l,p,t){var r=t(88037),e=t(11286),o=r.aTypedArray,i=r.exportTypedArrayMethod,u=e([].join);i("join",function(c){return u(o(this),c)})},41034:function(l,p,t){var r=t(88037),e=t(66543),o=t(58465),i=r.aTypedArray,u=r.exportTypedArrayMethod;u("lastIndexOf",function(c){var g=arguments.length;return e(o,i(this),g>1?[c,arguments[1]]:[c])})},13313:function(l,p,t){var r=t(88037),e=t(66655).map,o=t(21822),i=r.aTypedArray,u=r.exportTypedArrayMethod;u("map",function(c){return e(i(this),c,arguments.length>1?arguments[1]:void 0,function(g,v){return new(o(g))(v)})})},44698:function(l,p,t){var r=t(88037),e=t(46868),o=r.aTypedArrayConstructor,i=r.exportTypedArrayStaticMethod;i("of",function(){for(var f=0,c=arguments.length,g=new(o(this))(c);c>f;)g[f]=arguments[f++];return g},e)},66178:function(l,p,t){var r=t(88037),e=t(97264).right,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduceRight",function(f){var c=arguments.length;return e(o(this),f,c,c>1?arguments[1]:void 0)})},7369:function(l,p,t){var r=t(88037),e=t(97264).left,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduce",function(f){var c=arguments.length;return e(o(this),f,c,c>1?arguments[1]:void 0)})},67961:function(l,p,t){var r=t(88037),e=r.aTypedArray,o=r.exportTypedArrayMethod,i=Math.floor;o("reverse",function(){for(var f=this,c=e(f).length,g=i(c/2),v=0,y;v1?arguments[1]:void 0,1),U=f(N);if(A)return e(S,this,U,$);var w=this.length,F=i(U),G=0;if(F+$>w)throw new g("Wrong length");for(;GT;)I[T]=S[T++];return I},c)},9711:function(l,p,t){var r=t(88037),e=t(66655).some,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("some",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},3923:function(l,p,t){var r=t(34246),e=t(77422),o=t(72069),i=t(85156),u=t(13270),f=t(88037),c=t(507),g=t(17417),v=t(44241),y=t(66577),S=f.aTypedArray,E=f.exportTypedArrayMethod,T=r.Uint16Array,A=T&&e(T.prototype.sort),I=!!A&&!(o(function(){A(new T(2),null)})&&o(function(){A(new T(2),{})})),M=!!A&&!o(function(){if(v)return v<74;if(c)return c<67;if(g)return!0;if(y)return y<602;var $=new T(516),U=Array(516),w,F;for(w=0;w<516;w++)F=w%4,$[w]=515-w,U[w]=w-2*F+3;for(A($,function(G,W){return(G/4|0)-(W/4|0)}),w=0;w<516;w++)if($[w]!==U[w])return!0}),N=function($){return function(U,w){return $!==void 0?+$(U,w)||0:w!==w?-1:U!==U?1:U===0&&w===0?1/U>0&&1/w<0?1:-1:U>w}};E("sort",function(U){return U!==void 0&&i(U),M?A(this,U):u(S(this),N(U))},!M||I)},59728:function(l,p,t){var r=t(88037),e=t(45344),o=t(4652),i=t(21822),u=r.aTypedArray,f=r.exportTypedArrayMethod;f("subarray",function(g,v){var y=u(this),S=y.length,E=o(g,S),T=i(y);return new T(y.buffer,y.byteOffset+E*y.BYTES_PER_ELEMENT,e((v===void 0?S:o(v,S))-E))})},85227:function(l,p,t){var r=t(34246),e=t(66543),o=t(88037),i=t(72069),u=t(22806),f=r.Int8Array,c=o.aTypedArray,g=o.exportTypedArrayMethod,v=[].toLocaleString,y=!!f&&i(function(){v.call(new f(1))}),S=i(function(){return[1,2].toLocaleString()!==new f([1,2]).toLocaleString()})||!i(function(){f.prototype.toLocaleString.call([1,2])});g("toLocaleString",function(){return e(v,y?u(c(this)):c(this),u(arguments))},S)},56933:function(l,p,t){var r=t(61638),e=t(88037),o=e.aTypedArray,i=e.exportTypedArrayMethod,u=e.getTypedArrayConstructor;i("toReversed",function(){return r(o(this),u(this))})},91490:function(l,p,t){var r=t(88037),e=t(11286),o=t(85156),i=t(5220),u=r.aTypedArray,f=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,g=e(r.TypedArrayPrototype.sort);c("toSorted",function(y){y!==void 0&&o(y);var S=u(this),E=i(f(S),S);return g(E,y)})},61766:function(l,p,t){var r=t(88037).exportTypedArrayMethod,e=t(72069),o=t(34246),i=t(11286),u=o.Uint8Array,f=u&&u.prototype||{},c=[].toString,g=i([].join);e(function(){c.call({})})&&(c=function(){return g(this)});var v=f.toString!==c;r("toString",c,v)},44884:function(l,p,t){var r=t(80357);r("Uint16",function(e){return function(i,u,f){return e(this,i,u,f)}})},48658:function(l,p,t){var r=t(80357);r("Uint32",function(e){return function(i,u,f){return e(this,i,u,f)}})},81083:function(l,p,t){var r=t(80357);r("Uint8",function(e){return function(i,u,f){return e(this,i,u,f)}})},27428:function(l,p,t){var r=t(80357);r("Uint8",function(e){return function(i,u,f){return e(this,i,u,f)}},!0)},85143:function(l,p,t){var r=t(72302),e=t(88037),o=t(77129),i=t(12105),u=t(11344),f=e.aTypedArray,c=e.getTypedArrayConstructor,g=e.exportTypedArrayMethod,v=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(y){return y===8}}();g("with",function(y,S){var E=f(this),T=i(y),A=o(E)?u(S):+S;return r(E,c(E),T,A)},!v)},47005:function(l,p,t){var r=t(14304),e=t(11286),o=t(17361),i=String.fromCharCode,u=e("".charAt),f=e(/./.exec),c=e("".slice),g=/^[\da-f]{2}$/i,v=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(S){for(var E=o(S),T="",A=E.length,I=0,M,N;I>(-2*rt&6)));return st}})},60869:function(l,p,t){var r=t(14304),e=t(34246),o=t(38941),i=t(11286),u=t(96499),f=t(72069),c=t(17361),g=t(95486),v=t(6210).i2c,y=o("btoa"),S=i("".charAt),E=i("".charCodeAt),T=!!y&&!f(function(){return y("hi")!=="aGk="}),A=T&&!f(function(){y()}),I=T&&f(function(){return y(null)!=="bnVsbA=="}),M=T&&y.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!T||A||I||M},{btoa:function($){if(g(arguments.length,1),T)return u(y,e,c($));for(var U=c($),w="",F=0,G=v,W,X;S(U,F)||(G="=",F%1);){if(X=E(U,F+=.75),X>255)throw new(o("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");W=W<<8|X,w+=S(G,63&W>>8-F%1*8)}return w}})},66722:function(l,p,t){var r=t(14304),e=t(34246),o=t(23115).clear;r({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==o},{clearImmediate:o})},50338:function(l,p,t){var r=t(34246),e=t(93014),o=t(39882),i=t(13349),u=t(90809),f=function(g){if(g&&g.forEach!==i)try{u(g,"forEach",i)}catch(v){g.forEach=i}};for(var c in e)e[c]&&f(r[c]&&r[c].prototype);f(o)},53059:function(l,p,t){var r=t(34246),e=t(93014),o=t(39882),i=t(35054),u=t(90809),f=t(78401),c=t(18565),g=c("iterator"),v=i.values,y=function(E,T){if(E){if(E[g]!==v)try{u(E,g,v)}catch(I){E[g]=v}if(f(E,T,!0),e[T]){for(var A in i)if(E[A]!==i[A])try{u(E,A,i[A])}catch(I){E[A]=i[A]}}}};for(var S in e)y(r[S]&&r[S].prototype,S);y(o,"DOMTokenList")},5805:function(l,p,t){var r=t(14304),e=t(38941),o=t(81191),i=t(72069),u=t(5406),f=t(18526),c=t(7831).f,g=t(16142),v=t(85500),y=t(94879),S=t(12833),E=t(25001),T=t(58434),A=t(15453),I=t(74408),M=t(40851),N=t(82367),$=t(92986),U=t(70457),w="DOMException",F="DATA_CLONE_ERR",G=e("Error"),W=e(w)||function(){try{var Wt=e("MessageChannel")||o("worker_threads").MessageChannel;new Wt().port1.postMessage(new WeakMap)}catch(kt){if(kt.name===F&&kt.code===25)return kt.constructor}}(),X=W&&W.prototype,z=G.prototype,Z=N.set,st=N.getterFor(w),ut="stack"in new G(w),rt=function(Wt){return y(I,Wt)&&I[Wt].m?I[Wt].c:0},at=function(){S(this,ot);var kt=arguments.length,hr=A(kt<1?void 0:arguments[0]),Sr=A(kt<2?void 0:arguments[1],"Error"),mr=rt(Sr);if(Z(this,{type:w,name:Sr,message:hr,code:mr}),$||(this.name=Sr,this.message=hr,this.code=mr),ut){var Tr=new G(hr);Tr.name=w,c(this,"stack",f(1,M(Tr.stack,1)))}},ot=at.prototype=u(z),yt=function(Wt){return{enumerable:!0,configurable:!0,get:Wt}},Nt=function(Wt){return yt(function(){return st(this)[Wt]})};$&&(v(ot,"code",Nt("code")),v(ot,"message",Nt("message")),v(ot,"name",Nt("name"))),c(ot,"constructor",f(1,at));var St=i(function(){return!(new W instanceof G)}),$t=St||i(function(){return z.toString!==T||String(new W(1,2))!=="2: 1"}),Rt=St||i(function(){return new W(1,"DataCloneError").code!==25}),Qt=St||W[F]!==25||X[F]!==25,Yt=U?$t||Rt||Qt:St;r({global:!0,constructor:!0,forced:Yt},{DOMException:Yt?at:W});var Xt=e(w),er=Xt.prototype;$t&&(U||W===Xt)&&g(er,"toString",T),Rt&&$&&W===Xt&&v(er,"code",yt(function(){return rt(E(this).name)}));for(var ir in I)if(y(I,ir)){var Or=I[ir],yr=Or.s,xr=f(6,Or.c);y(Xt,yr)||c(Xt,yr,xr),y(er,yr)||c(er,yr,xr)}},50685:function(l,p,t){var r=t(14304),e=t(34246),o=t(38941),i=t(18526),u=t(7831).f,f=t(94879),c=t(12833),g=t(32345),v=t(15453),y=t(74408),S=t(40851),E=t(92986),T=t(70457),A="DOMException",I=o("Error"),M=o(A),N=function(){c(this,$);var at=arguments.length,ot=v(at<1?void 0:arguments[0]),yt=v(at<2?void 0:arguments[1],"Error"),Nt=new M(ot,yt),St=new I(ot);return St.name=A,u(Nt,"stack",i(1,S(St.stack,1))),g(Nt,this,N),Nt},$=N.prototype=M.prototype,U="stack"in new I(A),w="stack"in new M(1,2),F=M&&E&&Object.getOwnPropertyDescriptor(e,A),G=!!F&&!(F.writable&&F.configurable),W=U&&!G&&!w;r({global:!0,constructor:!0,forced:T||W},{DOMException:W?N:M});var X=o(A),z=X.prototype;if(z.constructor!==X){T||u(z,"constructor",i(1,X));for(var Z in y)if(f(y,Z)){var st=y[Z],ut=st.s;f(X,ut)||u(X,ut,i(6,st.c))}}},70649:function(l,p,t){var r=t(38941),e=t(78401),o="DOMException";e(r(o),o)},39842:function(l,p,t){t(66722),t(8235)},82872:function(l,p,t){var r=t(14304),e=t(34246),o=t(9709),i=t(85156),u=t(95486),f=t(72069),c=t(92986),g=f(function(){return c&&Object.getOwnPropertyDescriptor(e,"queueMicrotask").value.length!==1});r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:g},{queueMicrotask:function(y){u(arguments.length,1),o(i(y))}})},91401:function(l,p,t){var r=t(14304),e=t(34246),o=t(85500),i=t(92986),u=TypeError,f=Object.defineProperty,c=e.self!==e;try{if(i){var g=Object.getOwnPropertyDescriptor(e,"self");(c||!g||!g.get||!g.enumerable)&&o(e,"self",{get:function(){return e},set:function(y){if(this!==e)throw new u("Illegal invocation");f(e,"self",{value:y,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:c},{self:e})}catch(v){}},8235:function(l,p,t){var r=t(14304),e=t(34246),o=t(23115).set,i=t(9934),u=e.setImmediate?i(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==u},{setImmediate:u})},63981:function(l,p,t){var r=t(14304),e=t(34246),o=t(9934),i=o(e.setInterval,!0);r({global:!0,bind:!0,forced:e.setInterval!==i},{setInterval:i})},23913:function(l,p,t){var r=t(14304),e=t(34246),o=t(9934),i=o(e.setTimeout,!0);r({global:!0,bind:!0,forced:e.setTimeout!==i},{setTimeout:i})},92904:function(l,p,t){var r=t(70457),e=t(14304),o=t(34246),i=t(38941),u=t(11286),f=t(72069),c=t(36374),g=t(23583),v=t(11051),y=t(5683),S=t(37540),E=t(491),T=t(55902),A=t(25001),I=t(9205),M=t(94879),N=t(84082),$=t(90809),U=t(82628),w=t(95486),F=t(54932),G=t(1774),W=t(172),X=t(35051),z=t(63741),Z=t(16929),st=t(99050),ut=o.Object,rt=o.Array,at=o.Date,ot=o.Error,yt=o.TypeError,Nt=o.PerformanceMark,St=i("DOMException"),$t=G.Map,Rt=G.has,Qt=G.get,Yt=G.set,Xt=W.Set,er=W.add,ir=W.has,Or=i("Object","keys"),yr=u([].push),xr=u((!0).valueOf),Wt=u(1 .valueOf),kt=u("".valueOf),hr=u(at.prototype.getTime),Sr=c("structuredClone"),mr="DataCloneError",Tr="Transferring",Fr=function(Et){return!f(function(){var Bt=new o.Set([7]),wt=Et(Bt),gt=Et(ut(7));return wt===Bt||!wt.has(7)||!S(gt)||+gt!=7})&&Et},Dr=function(Et,Bt){return!f(function(){var wt=new Bt,gt=Et({a:wt,b:wt});return!(gt&>.a===gt.b&>.a instanceof Bt&>.a.stack===wt.stack)})},Pr=function(Et){return!f(function(){var Bt=Et(new o.AggregateError([1],Sr,{cause:3}));return Bt.name!=="AggregateError"||Bt.errors[0]!==1||Bt.message!==Sr||Bt.cause!==3})},gr=o.structuredClone,Cr=r||!Dr(gr,ot)||!Dr(gr,St)||!Pr(gr),Er=!gr&&Fr(function(Et){return new Nt(Sr,{detail:Et}).detail}),pr=Fr(gr)||Er,Ut=function(Et){throw new St("Uncloneable type: "+Et,mr)},Vt=function(Et,Bt){throw new St((Bt||"Cloning")+" of "+Et+" cannot be properly polyfilled in this engine",mr)},bt=function(Et,Bt){return pr||Vt(Bt),pr(Et)},fr=function(){var Et;try{Et=new o.DataTransfer}catch(Bt){try{Et=new o.ClipboardEvent("").clipboardData}catch(wt){}}return Et&&Et.items&&Et.files?Et:null},cr=function(Et,Bt,wt){if(Rt(Bt,Et))return Qt(Bt,Et);var gt=wt||I(Et),It,q,At,Jt,qt,ar;if(gt==="SharedArrayBuffer")pr?It=pr(Et):It=Et;else{var Ir=o.DataView;!Ir&&!g(Et.slice)&&Vt("ArrayBuffer");try{if(g(Et.slice)&&!Et.resizable)It=Et.slice(0);else for(q=Et.byteLength,At=("maxByteLength"in Et)?{maxByteLength:Et.maxByteLength}:void 0,It=new ArrayBuffer(q,At),Jt=new Ir(Et),qt=new Ir(It),ar=0;ar1&&!y(arguments[1])?A(arguments[1]):void 0,gt=wt?wt.transfer:void 0,It,q;gt!==void 0&&(It=new $t,q=$r(gt,It));var At=_t(Bt,It);return q&&Br(q),At}})},28381:function(l,p,t){t(63981),t(23913)},98812:function(l,p,t){t(35054);var r=t(14304),e=t(34246),o=t(28167),i=t(96499),u=t(11286),f=t(92986),c=t(91918),g=t(16142),v=t(85500),y=t(2725),S=t(78401),E=t(26820),T=t(82367),A=t(12833),I=t(23583),M=t(94879),N=t(45526),$=t(9205),U=t(25001),w=t(37540),F=t(17361),G=t(5406),W=t(18526),X=t(90619),z=t(81077),Z=t(10659),st=t(95486),ut=t(18565),rt=t(13270),at=ut("iterator"),ot="URLSearchParams",yt=ot+"Iterator",Nt=T.set,St=T.getterFor(ot),$t=T.getterFor(yt),Rt=o("fetch"),Qt=o("Request"),Yt=o("Headers"),Xt=Qt&&Qt.prototype,er=Yt&&Yt.prototype,ir=e.RegExp,Or=e.TypeError,yr=e.decodeURIComponent,xr=e.encodeURIComponent,Wt=u("".charAt),kt=u([].join),hr=u([].push),Sr=u("".replace),mr=u([].shift),Tr=u([].splice),Fr=u("".split),Dr=u("".slice),Pr=/\+/g,gr=Array(4),Cr=function(gt){return gr[gt-1]||(gr[gt-1]=ir("((?:%[\\da-f]{2}){"+gt+"})","gi"))},Er=function(gt){try{return yr(gt)}catch(It){return gt}},pr=function(gt){var It=Sr(gt,Pr," "),q=4;try{return yr(It)}catch(At){for(;q;)It=Sr(It,Cr(q--),Er);return It}},Ut=/[!'()~]|%20/g,Vt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},bt=function(gt){return Vt[gt]},fr=function(gt){return Sr(xr(gt),Ut,bt)},cr=E(function(It,q){Nt(this,{type:yt,target:St(It).entries,index:0,kind:q})},ot,function(){var It=$t(this),q=It.target,At=It.index++;if(!q||At>=q.length)return It.target=void 0,Z(void 0,!0);var Jt=q[At];switch(It.kind){case"keys":return Z(Jt.key,!1);case"values":return Z(Jt.value,!1)}return Z([Jt.key,Jt.value],!1)},!0),rr=function(gt){this.entries=[],this.url=null,gt!==void 0&&(w(gt)?this.parseObject(gt):this.parseQuery(typeof gt=="string"?Wt(gt,0)==="?"?Dr(gt,1):gt:F(gt)))};rr.prototype={type:ot,bindURL:function(gt){this.url=gt,this.update()},parseObject:function(gt){var It=this.entries,q=z(gt),At,Jt,qt,ar,Ir,dr,Lr;if(q)for(At=X(gt,q),Jt=At.next;!(qt=i(Jt,At)).done;){if(ar=X(U(qt.value)),Ir=ar.next,(dr=i(Ir,ar)).done||(Lr=i(Ir,ar)).done||!i(Ir,ar).done)throw new Or("Expected sequence with length 2");hr(It,{key:F(dr.value),value:F(Lr.value)})}else for(var on in gt)M(gt,on)&&hr(It,{key:on,value:F(gt[on])})},parseQuery:function(gt){if(gt)for(var It=this.entries,q=Fr(gt,"&"),At=0,Jt,qt;At0?arguments[0]:void 0,q=Nt(this,new rr(It));f||(this.size=q.entries.length)},$r=_t.prototype;if(y($r,{append:function(It,q){var At=St(this);st(arguments.length,2),hr(At.entries,{key:F(It),value:F(q)}),f||this.length++,At.updateURL()},delete:function(gt){for(var It=St(this),q=st(arguments.length,1),At=It.entries,Jt=F(gt),qt=q<2?void 0:arguments[1],ar=qt===void 0?qt:F(qt),Ir=0;IrAt.key?1:-1}),It.updateURL()},forEach:function(It){for(var q=St(this).entries,At=N(It,arguments.length>1?arguments[1]:void 0),Jt=0,qt;Jt1?Bt(arguments[1]):{})}}),I(Qt)){var wt=function(It){return A(this,Xt),new Qt(It,arguments.length>1?Bt(arguments[1]):{})};Xt.constructor=wt,wt.prototype=Xt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:wt})}}l.exports={URLSearchParams:_t,getState:St}},10901:function(l,p,t){var r=t(16142),e=t(11286),o=t(17361),i=t(95486),u=URLSearchParams,f=u.prototype,c=e(f.append),g=e(f.delete),v=e(f.forEach),y=e([].push),S=new u("a=1&a=2&b=3");S.delete("a",1),S.delete("b",void 0),S+""!="a=2"&&r(f,"delete",function(E){var T=arguments.length,A=T<2?void 0:arguments[1];if(T&&A===void 0)return g(this,E);var I=[];v(this,function(W,X){y(I,{key:X,value:W})}),i(T,1);for(var M=o(E),N=o(A),$=0,U=0,w=!1,F=I.length,G;$?@[\\\]^|]/,gr=/[\0\t\n\r #/:<>?@[\\\]^|]/,Cr=/^[\u0000-\u0020]+/,Er=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,pr=/[\t\n\r]/g,Ut,Vt=function(mt){var Kt=Yt(mt,"."),Ct,ht,jt,Ar,vr,Gr,Kr;if(Kt.length&&Kt[Kt.length-1]===""&&Kt.length--,Ct=Kt.length,Ct>4)return mt;for(ht=[],jt=0;jt1&&at(Ar,0)==="0"&&(vr=ot(mr,Ar)?16:8,Ar=Xt(Ar,vr===8?1:2)),Ar==="")Gr=0;else{if(!ot(vr===10?Fr:vr===8?Tr:Dr,Ar))return mt;Gr=st(Ar,vr)}$t(ht,Gr)}for(jt=0;jt=rt(256,5-Ct))return null}else if(Gr>255)return null;for(Kr=St(ht),jt=0;jt6))return;for(Gr=0;zr();){if(Kr=null,Gr>0)if(zr()==="."&&Gr<4)jt++;else return;if(!ot(Sr,zr()))return;for(;ot(Sr,zr());){if(Yr=st(zr(),10),Kr===null)Kr=Yr;else{if(Kr===0)return;Kr=Kr*10+Yr}if(Kr>255)return;jt++}Kt[Ct]=Kt[Ct]*256+Kr,Gr++,(Gr===2||Gr===4)&&Ct++}if(Gr!==4)return;break}else if(zr()===":"){if(jt++,!zr())return}else if(zr())return;Kt[Ct++]=Ar}if(ht!==null)for(_r=Ct-ht,Ct=7;Ct!==0&&_r>0;)Ht=Kt[Ct],Kt[Ct--]=Kt[ht+_r-1],Kt[ht+--_r]=Ht;else if(Ct!==8)return;return Kt},fr=function(mt){for(var Kt=null,Ct=1,ht=null,jt=0,Ar=0;Ar<8;Ar++)mt[Ar]!==0?(jt>Ct&&(Kt=ht,Ct=jt),ht=null,jt=0):(ht===null&&(ht=Ar),++jt);return jt>Ct?ht:Kt},cr=function(mt){var Kt,Ct,ht,jt;if(typeof mt=="number"){for(Kt=[],Ct=0;Ct<4;Ct++)ir(Kt,mt%256),mt=ut(mt/256);return yt(Kt,".")}if(typeof mt=="object"){for(Kt="",ht=fr(mt),Ct=0;Ct<8;Ct++)jt&&mt[Ct]===0||(jt&&(jt=!1),ht===Ct?(Kt+=Ct?":":"::",jt=!0):(Kt+=Nt(mt[Ct],16),Ct<7&&(Kt+=":")));return"["+Kt+"]"}return mt},rr={},_t=S({},rr,{" ":1,'"':1,"<":1,">":1,"`":1}),$r=S({},_t,{"#":1,"?":1,"{":1,"}":1}),Br=S({},$r,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Et=function(mt,Kt){var Ct=A(mt,0);return Ct>32&&Ct<127&&!y(Kt,mt)?mt:encodeURIComponent(mt)},Bt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},wt=function(mt,Kt){var Ct;return mt.length===2&&ot(kt,at(mt,0))&&((Ct=at(mt,1))===":"||!Kt&&Ct==="|")},gt=function(mt){var Kt;return mt.length>1&&wt(Xt(mt,0,2))&&(mt.length===2||(Kt=at(mt,2))==="/"||Kt==="\\"||Kt==="?"||Kt==="#")},It=function(mt){return mt==="."||er(mt)==="%2e"},q=function(mt){return mt=er(mt),mt===".."||mt==="%2e."||mt===".%2e"||mt==="%2e%2e"},At={},Jt={},qt={},ar={},Ir={},dr={},Lr={},on={},En={},Ur={},Vn={},ee={},ae={},Hn={},oe={},Wn={},Xr={},Vr={},tn={},en={},kr={},qr=function(mt,Kt,Ct){var ht=M(mt),jt,Ar,vr;if(Kt){if(Ar=this.parse(ht),Ar)throw new Z(Ar);this.searchParams=null}else{if(Ct!==void 0&&(jt=new qr(Ct,!0)),Ar=this.parse(ht,null,jt),Ar)throw new Z(Ar);vr=X(new W),vr.bindURL(this),this.searchParams=vr}};qr.prototype={type:"URL",parse:function(mt,Kt,Ct){var ht=this,jt=Kt||At,Ar=0,vr="",Gr=!1,Kr=!1,Yr=!1,_r,Ht,zr,un;for(mt=M(mt),Kt||(ht.scheme="",ht.username="",ht.password="",ht.host=null,ht.port=null,ht.path=[],ht.query=null,ht.fragment=null,ht.cannotBeABaseURL=!1,mt=Rt(mt,Cr,""),mt=Rt(mt,Er,"$1")),mt=Rt(mt,pr,""),_r=E(mt);Ar<=_r.length;){switch(Ht=_r[Ar],jt){case At:if(Ht&&ot(kt,Ht))vr+=er(Ht),jt=Jt;else{if(Kt)return yr;jt=qt;continue}break;case Jt:if(Ht&&(ot(hr,Ht)||Ht==="+"||Ht==="-"||Ht==="."))vr+=er(Ht);else if(Ht===":"){if(Kt&&(ht.isSpecial()!==y(Bt,vr)||vr==="file"&&(ht.includesCredentials()||ht.port!==null)||ht.scheme==="file"&&!ht.host))return;if(ht.scheme=vr,Kt){ht.isSpecial()&&Bt[ht.scheme]===ht.port&&(ht.port=null);return}vr="",ht.scheme==="file"?jt=Hn:ht.isSpecial()&&Ct&&Ct.scheme===ht.scheme?jt=ar:ht.isSpecial()?jt=on:_r[Ar+1]==="/"?(jt=Ir,Ar++):(ht.cannotBeABaseURL=!0,$t(ht.path,""),jt=tn)}else{if(Kt)return yr;vr="",jt=qt,Ar=0;continue}break;case qt:if(!Ct||Ct.cannotBeABaseURL&&Ht!=="#")return yr;if(Ct.cannotBeABaseURL&&Ht==="#"){ht.scheme=Ct.scheme,ht.path=T(Ct.path),ht.query=Ct.query,ht.fragment="",ht.cannotBeABaseURL=!0,jt=kr;break}jt=Ct.scheme==="file"?Hn:dr;continue;case ar:if(Ht==="/"&&_r[Ar+1]==="/")jt=En,Ar++;else{jt=dr;continue}break;case Ir:if(Ht==="/"){jt=Ur;break}else{jt=Vr;continue}case dr:if(ht.scheme=Ct.scheme,Ht===Ut)ht.username=Ct.username,ht.password=Ct.password,ht.host=Ct.host,ht.port=Ct.port,ht.path=T(Ct.path),ht.query=Ct.query;else if(Ht==="/"||Ht==="\\"&&ht.isSpecial())jt=Lr;else if(Ht==="?")ht.username=Ct.username,ht.password=Ct.password,ht.host=Ct.host,ht.port=Ct.port,ht.path=T(Ct.path),ht.query="",jt=en;else if(Ht==="#")ht.username=Ct.username,ht.password=Ct.password,ht.host=Ct.host,ht.port=Ct.port,ht.path=T(Ct.path),ht.query=Ct.query,ht.fragment="",jt=kr;else{ht.username=Ct.username,ht.password=Ct.password,ht.host=Ct.host,ht.port=Ct.port,ht.path=T(Ct.path),ht.path.length--,jt=Vr;continue}break;case Lr:if(ht.isSpecial()&&(Ht==="/"||Ht==="\\"))jt=En;else if(Ht==="/")jt=Ur;else{ht.username=Ct.username,ht.password=Ct.password,ht.host=Ct.host,ht.port=Ct.port,jt=Vr;continue}break;case on:if(jt=En,Ht!=="/"||at(vr,Ar+1)!=="/")continue;Ar++;break;case En:if(Ht!=="/"&&Ht!=="\\"){jt=Ur;continue}break;case Ur:if(Ht==="@"){Gr&&(vr="%40"+vr),Gr=!0,zr=E(vr);for(var An=0;An65535)return Wt;ht.port=ht.isSpecial()&&bn===Bt[ht.scheme]?null:bn,vr=""}if(Kt)return;jt=Xr;continue}else return Wt;break;case Hn:if(ht.scheme="file",Ht==="/"||Ht==="\\")jt=oe;else if(Ct&&Ct.scheme==="file")switch(Ht){case Ut:ht.host=Ct.host,ht.path=T(Ct.path),ht.query=Ct.query;break;case"?":ht.host=Ct.host,ht.path=T(Ct.path),ht.query="",jt=en;break;case"#":ht.host=Ct.host,ht.path=T(Ct.path),ht.query=Ct.query,ht.fragment="",jt=kr;break;default:gt(yt(T(_r,Ar),""))||(ht.host=Ct.host,ht.path=T(Ct.path),ht.shortenPath()),jt=Vr;continue}else{jt=Vr;continue}break;case oe:if(Ht==="/"||Ht==="\\"){jt=Wn;break}Ct&&Ct.scheme==="file"&&!gt(yt(T(_r,Ar),""))&&(wt(Ct.path[0],!0)?$t(ht.path,Ct.path[0]):ht.host=Ct.host),jt=Vr;continue;case Wn:if(Ht===Ut||Ht==="/"||Ht==="\\"||Ht==="?"||Ht==="#"){if(!Kt&&wt(vr))jt=Vr;else if(vr===""){if(ht.host="",Kt)return;jt=Xr}else{if(un=ht.parseHost(vr),un)return un;if(ht.host==="localhost"&&(ht.host=""),Kt)return;vr="",jt=Xr}continue}else vr+=Ht;break;case Xr:if(ht.isSpecial()){if(jt=Vr,Ht!=="/"&&Ht!=="\\")continue}else if(!Kt&&Ht==="?")ht.query="",jt=en;else if(!Kt&&Ht==="#")ht.fragment="",jt=kr;else if(Ht!==Ut&&(jt=Vr,Ht!=="/"))continue;break;case Vr:if(Ht===Ut||Ht==="/"||Ht==="\\"&&ht.isSpecial()||!Kt&&(Ht==="?"||Ht==="#")){if(q(vr)?(ht.shortenPath(),Ht!=="/"&&!(Ht==="\\"&&ht.isSpecial())&&$t(ht.path,"")):It(vr)?Ht!=="/"&&!(Ht==="\\"&&ht.isSpecial())&&$t(ht.path,""):(ht.scheme==="file"&&!ht.path.length&&wt(vr)&&(ht.host&&(ht.host=""),vr=at(vr,0)+":"),$t(ht.path,vr)),vr="",ht.scheme==="file"&&(Ht===Ut||Ht==="?"||Ht==="#"))for(;ht.path.length>1&&ht.path[0]==="";)Qt(ht.path);Ht==="?"?(ht.query="",jt=en):Ht==="#"&&(ht.fragment="",jt=kr)}else vr+=Et(Ht,$r);break;case tn:Ht==="?"?(ht.query="",jt=en):Ht==="#"?(ht.fragment="",jt=kr):Ht!==Ut&&(ht.path[0]+=Et(Ht,rr));break;case en:!Kt&&Ht==="#"?(ht.fragment="",jt=kr):Ht!==Ut&&(Ht==="'"&&ht.isSpecial()?ht.query+="%27":Ht==="#"?ht.query+="%23":ht.query+=Et(Ht,rr));break;case kr:Ht!==Ut&&(ht.fragment+=Et(Ht,_t));break}Ar++}},parseHost:function(mt){var Kt,Ct,ht;if(at(mt,0)==="["){if(at(mt,mt.length-1)!=="]"||(Kt=bt(Xt(mt,1,-1)),!Kt))return xr;this.host=Kt}else if(this.isSpecial()){if(mt=I(mt),ot(Pr,mt)||(Kt=Vt(mt),Kt===null))return xr;this.host=Kt}else{if(ot(gr,mt))return xr;for(Kt="",Ct=E(mt),ht=0;ht1?arguments[1]:void 0,jt=F(Ct,new qr(Kt,!1,ht));e||(Ct.href=jt.serialize(),Ct.origin=jt.getOrigin(),Ct.protocol=jt.getProtocol(),Ct.username=jt.getUsername(),Ct.password=jt.getPassword(),Ct.host=jt.getHost(),Ct.hostname=jt.getHostname(),Ct.port=jt.getPort(),Ct.pathname=jt.getPathname(),Ct.search=jt.getSearch(),Ct.searchParams=jt.getSearchParams(),Ct.hash=jt.getHash())},Wr=Jr.prototype,wr=function(mt,Kt){return{get:function(){return G(this)[mt]()},set:Kt&&function(Ct){return G(this)[Kt](Ct)},configurable:!0,enumerable:!0}};if(e&&(g(Wr,"href",wr("serialize","setHref")),g(Wr,"origin",wr("getOrigin")),g(Wr,"protocol",wr("getProtocol","setProtocol")),g(Wr,"username",wr("getUsername","setUsername")),g(Wr,"password",wr("getPassword","setPassword")),g(Wr,"host",wr("getHost","setHost")),g(Wr,"hostname",wr("getHostname","setHostname")),g(Wr,"port",wr("getPort","setPort")),g(Wr,"pathname",wr("getPathname","setPathname")),g(Wr,"search",wr("getSearch","setSearch")),g(Wr,"searchParams",wr("getSearchParams")),g(Wr,"hash",wr("getHash","setHash"))),c(Wr,"toJSON",function(){return G(this).serialize()},{enumerable:!0}),c(Wr,"toString",function(){return G(this).serialize()},{enumerable:!0}),z){var hn=z.createObjectURL,Dn=z.revokeObjectURL;hn&&c(Jr,"createObjectURL",u(hn,z)),Dn&&c(Jr,"revokeObjectURL",u(Dn,z))}N(Jr,"URL"),r({global:!0,constructor:!0,forced:!o,sham:!e},{URL:Jr})},51862:function(l,p,t){t(81888)},24119:function(l,p,t){var r=t(14304),e=t(38941),o=t(95486),i=t(17361),u=t(91918),f=e("URL");r({target:"URL",stat:!0,forced:!u},{parse:function(g){var v=o(arguments.length,1),y=i(g),S=v<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return new f(y,S)}catch(E){return null}}})},97526:function(l,p,t){var r=t(14304),e=t(96499);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return e(URL.prototype.toString,this)}})},61969:function(l,p,t){t(40949),t(43657),t(43606),t(15855),t(42026),t(33257),t(59414),t(88344),t(92579),t(94655),t(8565),t(60843),t(65842),t(51595),t(54908),t(81742),t(8720),t(42861),t(27796),t(1341),t(98700),t(65481),t(46509),t(41585),t(84554),t(36619),t(33818),t(64096),t(2209),t(91591),t(74092),t(54703),t(82936),t(48493),t(64730),t(95024),t(35054),t(25460),t(60703),t(90468),t(69581),t(720),t(11042),t(17289),t(24608),t(51644),t(88088),t(46828),t(90088),t(35148),t(86184),t(53983),t(42560),t(88444),t(27839),t(73051),t(9372),t(35473),t(4983),t(6875),t(68575),t(35495),t(32790),t(58594),t(30801),t(90911),t(90429),t(33685),t(60086),t(96049),t(14038),t(55518),t(8894),t(60628),t(56347),t(16864),t(93819),t(71332),t(47269),t(25627),t(22090),t(9839),t(15656),t(22091),t(2886),t(25895),t(24228),t(79488),t(75987),t(81555),t(87854),t(35074),t(50946),t(29417),t(80628),t(74375),t(29708),t(93449),t(9111),t(83514),t(15096),t(59590),t(99663),t(89988),t(54427),t(67895),t(57909),t(83938),t(55461),t(97339),t(3670),t(15224),t(45891),t(99910),t(92445),t(21875),t(4383),t(11361),t(13728),t(14885),t(30343),t(22045),t(75e3),t(64658),t(16017),t(84681),t(73421),t(93446),t(31046),t(94645),t(62935),t(62518),t(45130),t(51542),t(43781),t(25738),t(93247),t(41533),t(60225),t(69920),t(89205),t(78546),t(63616),t(16893),t(3676),t(58361),t(23958),t(9798),t(2371),t(76185),t(76553),t(93518),t(25227),t(91723),t(57882),t(37796),t(11563),t(26159),t(20962),t(77487),t(6130),t(1354),t(47119),t(31145),t(96773),t(14371),t(18180),t(83147),t(75765),t(86548),t(15282),t(51275),t(91890),t(15089),t(78134),t(56456),t(40735),t(8510),t(70159),t(93087),t(26021),t(93029),t(59158),t(15599),t(18509),t(21579),t(8854),t(57676),t(14527),t(96834),t(52684),t(74980),t(390),t(42794),t(21293),t(18184),t(75012),t(19680),t(4193),t(70641),t(53892),t(95976),t(399),t(72032),t(49442),t(16012),t(9943),t(33128),t(95625),t(90614),t(60120),t(75826),t(25560),t(22571),t(40704),t(36849),t(49191),t(81083),t(27428),t(44884),t(48658),t(71998),t(6116),t(33032),t(80962),t(49381),t(38344),t(65961),t(94153),t(16028),t(20656),t(17063),t(21774),t(51761),t(12317),t(19711),t(41034),t(13313),t(44698),t(7369),t(66178),t(67961),t(8695),t(69997),t(9711),t(3923),t(59728),t(85227),t(56933),t(91490),t(61766),t(85143),t(47005),t(10042),t(37888),t(19431),t(60869),t(50338),t(53059),t(5805),t(50685),t(70649),t(39842),t(82872),t(91401),t(92904),t(28381),t(51862),t(20760),t(24119),t(97526),t(86650),t(10901),t(93944),t(79043),t(75081)}},Sn={};function sn(l){var p=Sn[l];if(p!==void 0)return p.exports;var t=Sn[l]={exports:{}};return ia[l].call(t.exports,t,t.exports,sn),t.exports}(function(){sn.d=function(l,p){for(var t in p)sn.o(p,t)&&!sn.o(l,t)&&Object.defineProperty(l,t,{enumerable:!0,get:p[t]})}})(),function(){sn.o=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)}}(),sn(61969);var be=sn(65908);return be=be.default,be}()}); diff --git a/dist/theme/dark.css b/dist/theme/dark.css index 6c8e2574d..ac0f15ec5 100644 --- a/dist/theme/dark.css +++ b/dist/theme/dark.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ /*-- Dark Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/dark.min.css b/dist/theme/dark.min.css index c94855228..d0bbb3cf4 100644 --- a/dist/theme/dark.min.css +++ b/dist/theme/dark.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */.bb-color-pattern{background-image:url(#4a7fff;#b02c2c;#1ca46c;#b47300;#49baf3;#ed7e13;#cfaa00;#a6cd19;#dccb52;#f5d194;)}.bb svg{font-size:12px;font-family:Helvetica,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#8d9cab}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#8d9cab;font-size:11px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid,.bb-line{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#8d9cab}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#8d9cab}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#5c666e}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ccd9e6}.bb-text.bb-empty{fill:#8d9cab}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px;stroke:8d9cab}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.selection{stroke:none;fill:#ccd9e6}.bb-selected-circle{fill:#ccd9e6;stroke-width:2px}.bb-bar{stroke-width:.5px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.5!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.5}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.25;fill:#ccd9e6}.bb-brush .extent{fill-opacity:.5}.bb-legend-item{user-select:none}.bb-legend-item line{stroke-width:10px;stroke-dasharray:3px}.bb-legend-item text{transform:translateY(-1px)}.bb-legend-item-hidden{opacity:.5}.bb-legend-background{opacity:.75;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#8d9cab;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #828181;border-radius:5px;background-color:#000;text-align:left;font-size:11px;color:#fff;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:solid 1px #828181}.bb-tooltip td{padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:7px;height:7px;margin:-1px 6px 0 0;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.5}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#3f3f3f;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#828181;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#b6c2ce;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#b6c2ce}.bb-chart-arc rect{stroke:#8d9cab;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#000;color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/theme/datalab.css b/dist/theme/datalab.css index e12c9aace..1b4af0b85 100644 --- a/dist/theme/datalab.css +++ b/dist/theme/datalab.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ /*-- Datalab Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/datalab.min.css b/dist/theme/datalab.min.css index 008518315..d0088ee98 100644 --- a/dist/theme/datalab.min.css +++ b/dist/theme/datalab.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */.bb-color-pattern{background-image:url(#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;)}.bb svg{font-size:11px;font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#000}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-font-smoothing:antialiased;user-select:none;fill:#555;font-size:11px}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{stroke-width:.7px}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:.7px}.bb-circle{fill:#fff!important}.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:1px}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;stroke-width:8px;transform:translate(7px,1px);stroke-dasharray:1 20}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#000;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Sans Pro,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;border-radius:2px;empty-cells:show;border:1px solid #999;background-color:#fff;text-align:left;font-size:11px;-webkit-font-smoothing:antialiased;white-space:nowrap}.bb-tooltip th{font-size:13px;padding:2px 8px;text-align:left;border-bottom:solid 2px #ff2d2d;background-color:#0b00b1;color:#fffdfd}.bb-tooltip td{padding:4px 6px}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:8px;height:8px;margin-right:6px;border:solid 1px #000;border-radius:3px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:11px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:18px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:18px!important;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-line{shape-rendering:crispEdges}.bb-chart-arc .bb-gauge-value{fill:#3b6969}.bb-chart-arc path{stroke:#000;stroke-width:.5px}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:14px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:.7px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/theme/graph.css b/dist/theme/graph.css index 8bd56d5d3..92eab2a69 100644 --- a/dist/theme/graph.css +++ b/dist/theme/graph.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ /*-- Graph Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/graph.min.css b/dist/theme/graph.min.css index 6177ca482..fe77c37e5 100644 --- a/dist/theme/graph.min.css +++ b/dist/theme/graph.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */.bb-color-pattern{background-image:url(#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;)}.bb svg{font-size:12px;font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#8c8c8c}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:12px;letter-spacing:-.3px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#8c8c8c}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ffb6b6;stroke-dasharray:3px}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1px}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,Apple SD Gothic Neo,Arial,sans-serif,nanumgothic,Dotum;user-select:none}.bb-tooltip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;border-radius:2px;background-color:#fff;text-align:left;font-size:12px;box-shadow:.5px .5px 1px #999;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:center;border-bottom:dotted 1px #000;background-color:#efefef;color:#000}.bb-tooltip tr:last-child td{border-bottom:none}.bb-tooltip td{padding:3px 6px;background-color:#fff;border-bottom:solid 1px #eee}.bb-tooltip td:first-child{padding-left:5px;border-right:solid 1px #eee}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:5px;height:12px;margin-right:6px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:1px;font-size:12px}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#8c8c8c;font-style:italic}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#8c8c8c;font-style:italic}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px;font-weight:700}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#8c8c8c}.bb-chart-radars .bb-axis line{stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;font-weight:700;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer;opacity:.8;box-shadow:1px 1px 2px #ccc} diff --git a/dist/theme/insight.css b/dist/theme/insight.css index 6b4416c43..7792c3e24 100644 --- a/dist/theme/insight.css +++ b/dist/theme/insight.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ /*-- Insight Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/insight.min.css b/dist/theme/insight.min.css index 3fa1f8720..76264e77e 100644 --- a/dist/theme/insight.min.css +++ b/dist/theme/insight.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */.bb-color-pattern{background-image:url(#00c73c;#fa7171;#2ad0ff;#7294ce;#e3e448;#cc7e6e;#fb6ccf;#c98dff;#4aea99;#bbbbbb;)}.bb svg{font-size:12px;font-family:sans-serif,Arial,nanumgothic,Dotum;line-height:1}.bb path,.bb line{fill:none;stroke:#c4c4c4}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:11px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ddd}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{fill:#fff!important;stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#4682b4}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush,.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:sans-serif,Arial,nanumgothic,Dotum;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;background-color:#fff;text-align:left;font-size:11px;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:solid 1px #eee}.bb-tooltip td{padding:4px 6px;background-color:#fff}.bb-tooltip td:first-child{padding-left:8px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:5px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:none}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px!important;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#848282;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer} diff --git a/dist/theme/modern.css b/dist/theme/modern.css index 1aacfa4de..18bb7abbb 100644 --- a/dist/theme/modern.css +++ b/dist/theme/modern.css @@ -5,7 +5,7 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */ @charset "UTF-8"; /*-- Insight Theme --*/ diff --git a/dist/theme/modern.min.css b/dist/theme/modern.min.css index 65e32be50..cd8105b70 100644 --- a/dist/theme/modern.min.css +++ b/dist/theme/modern.min.css @@ -5,5 +5,5 @@ * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * - * @version 3.12.4-nightly-20240809004639 + * @version 3.12.4-nightly-20240813004629 */.bb-color-pattern{background-image:url(#7ea9fa;#ffcd1e;#d33043;#41c464;#c86b74;#006bc2;#2a7e41;#f27c00;#c159ff;#bed017;)}.bb svg{font-size:12px;font-family:-apple-system,"system-ui",Noto Sans,Malgun Gothic,\b9d1\c740 \ace0\b515,helvetica,Apple SD Gothic Neo,sans-serif;line-height:1}.bb path,.bb line{fill:none;stroke:#cecece}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:10.5px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-chart-funnels path{stroke-width:0}.bb-chart-funnels+.bb-chart-texts text{fill:#fff}.bb-axis{shape-rendering:crispEdges}.bb-axis .bb-axis-x-tooltip,.bb-axis .bb-axis-y-tooltip,.bb-axis .bb-axis-y2-tooltip{font-size:.9em;fill:#fff;white-space:nowrap}.bb-axis-y text,.bb-axis-y2 text{fill:#737373}.bb-event-rects{fill-opacity:1!important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:#27c9030d}.tick._active_ text{fill:#00c83c!important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#d2bad8}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px;stroke:red}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:1px}.bb-selected-circle{fill:#fff;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3!important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05!important}.bb-region{fill:#71808d}.bb-region rect{fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.1;fill:#838181}.bb-brush .extent{fill-opacity:.1}.bb-brush .selection{fill:#838181;fill-opacity:.2}.bb-brush path{stroke:#838181}.bb-legend-item{user-select:none}.bb-legend-item line.bb-legend-item-tile{stroke-linecap:round;transform:translate(7px,1px);stroke-dasharray:1 20}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:#fff;stroke:#d3d3d3;stroke-width:1}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#000;stroke-width:.5px}.bb-tooltip-container{z-index:10;font-family:-apple-system,"system-ui",Noto Sans,Malgun Gothic,\b9d1\c740 \ace0\b515,helvetica,Apple SD Gothic Neo,sans-serif;user-select:none}.bb-tooltip{border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;color:#fff;border-radius:5px;background-color:#404244;text-align:left;font-size:11px;white-space:nowrap;opacity:.9}.bb-tooltip th{font-size:11px;padding:3px 6px 0;text-align:left}.bb-tooltip td{padding:3px}.bb-tooltip td:first-child{padding-left:7px}.bb-tooltip td:last-child{padding-right:8px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:5px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:0}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{font-size:11px;line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:400}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800;font-size:12px}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#ccc}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:1.8em;fill:#000;font-weight:600}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#cecece;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#000}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:#fff;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:11px}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#cecece;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#848282}.bb-chart-radars .bb-axis line{stroke:#cecece;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:1px solid #999;background-color:#404244;color:#fff;opacity:.9;padding:5px;border-radius:5px;cursor:pointer}
${A||""} ${d(nt)}