diff --git a/dist-esm/billboard.js b/dist-esm/billboard.js index f2dfd64d2..c70097df3 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ import { pointer, select, namespaces, selectAll } from 'd3-selection'; import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format'; @@ -24498,7 +24498,7 @@ var zoomModule = function () { var defaults = {}; /** * @namespace bb - * @version 3.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ var bb = { /** @@ -24508,7 +24508,7 @@ var bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.13.0-nightly-20240921004638", + version: "3.13.0-nightly-20240924004652", /** * 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 31b826c1d..fc32991f0 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -100,7 +100,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.13.0-nightly-20240921004638"; + Plugin.version = "3.13.0-nightly-20240924004652"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-sparkline.js b/dist-esm/plugin/billboardjs-plugin-sparkline.js index 6af35a9ee..f1288bf4e 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -443,7 +443,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.13.0-nightly-20240921004638"; + Plugin.version = "3.13.0-nightly-20240924004652"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-stanford.js b/dist-esm/plugin/billboardjs-plugin-stanford.js index 4bf81ca98..6eff0c9c1 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -501,7 +501,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.13.0-nightly-20240921004638"; + Plugin.version = "3.13.0-nightly-20240924004652"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-tableview.js b/dist-esm/plugin/billboardjs-plugin-tableview.js index 357823dd2..307f3d0ad 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -290,7 +290,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.13.0-nightly-20240921004638"; + Plugin.version = "3.13.0-nightly-20240924004652"; return Plugin; }()); diff --git a/dist-esm/plugin/billboardjs-plugin-textoverlap.js b/dist-esm/plugin/billboardjs-plugin-textoverlap.js index 0e3a02eba..98c51f0de 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -267,7 +267,7 @@ var Plugin = /** @class */ (function () { delete _this[key]; }); }; - Plugin.version = "3.13.0-nightly-20240921004638"; + Plugin.version = "3.13.0-nightly-20240924004652"; return Plugin; }()); diff --git a/dist/billboard.css b/dist/billboard.css index ea3efc5f6..985d37e3d 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ /*-- Chart --*/ .bb svg { diff --git a/dist/billboard.js b/dist/billboard.js index c137b4196..f65214d37 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') @@ -21718,7 +21718,7 @@ const bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.13.0-nightly-20240921004638", + version: "3.13.0-nightly-20240924004652", /** * 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 950164f3a..ffb788d87 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */.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 99d6fe2a6..1ae94dfe9 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */(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(qe,dt,Zt,ue,he,Ii,Di,zi,Fi,Mi,Xi,Bi,Ni){return function(){"use strict";var Gi=[,,function(D){D.exports=Fi},function(D){D.exports=Xi},function(D){D.exports=dt},function(D){D.exports=ue},function(D){D.exports=Zt},function(D){D.exports=zi},function(D){D.exports=Bi},function(D){D.exports=Mi},function(D){D.exports=Ni},function(D){D.exports=qe},function(D){D.exports=he},function(D){D.exports=Di},function(D){D.exports=Ii}],Ke={};function U(D){var xt=Ke[D];if(xt!==void 0)return xt.exports;var w=Ke[D]={exports:{}};return Gi[D](w,w.exports,U),w.exports}(function(){U.d=function(D,xt){for(var w in xt)U.o(xt,w)&&!U.o(D,w)&&Object.defineProperty(D,w,{enumerable:!0,get:xt[w]})}})(),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 Pi},default:function(){return Pi}});var D={};U.r(D),U.d(D,{selection:function(){return Ds},subchart:function(){return zs},zoom:function(){return Fs}});var xt={};U.r(xt),U.d(xt,{area:function(){return hi},areaLineRange:function(){return gi},areaSpline:function(){return pi},areaSplineRange:function(){return xi},areaStep:function(){return _i},areaStepRange:function(){return fi},bar:function(){return Si},bubble:function(){return Ri},candlestick:function(){return Ci},donut:function(){return bi},funnel:function(){return ki},gauge:function(){return vi},line:function(){return mi},pie:function(){return Ti},polar:function(){return Ai},radar:function(){return wi},scatter:function(){return Ei},spline:function(){return $i},step:function(){return yi},treemap:function(){return Li}});var w=U(2),ge=U(3),Vi=Object.defineProperty,Je=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,Qe=(e,t,s)=>t in e?Vi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Z=(e,t)=>{for(var s in t||(t={}))Yi.call(t,s)&&Qe(e,s,t[s]);if(Je)for(var s of Je(t))ji.call(t,s)&&Qe(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"},ts={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"},es={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"},ss={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),ts),re),J),st),es),gt),pe),ss),Ee),Hi={boost_useCssRule:!1,boost_useWorker:!1},Wi={color_pattern:[],color_tiles:void 0,color_threshold:{},color_onover:void 0},Ui={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},Zi={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:[]},qi={title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"center"},Ki={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},Ji={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:""},Qi={interaction_enabled:!0,interaction_brighten:!0,interaction_inputType_mouse:!0,interaction_inputType_touch:{}},xe=U(4);function tn(){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 en(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=tn(),lt=H==null?void 0:H.document,[sn,br,is,vr]=en(H);var nn=Object.defineProperty,ns=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,as=(e,t,s)=>t in e?nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,os=(e,t)=>{for(var s in t||(t={}))an.call(t,s)&&as(e,s,t[s]);if(ns)for(var s of ns(t))on.call(t,s)&&as(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",rn=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 ln(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 rs(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 ls(e){const{width:t,height:s}=e.getBoundingClientRect(),i=rs(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,w.pointer)(i||e,t)}catch(a){}return n.map(a=>isNaN(a)?0:a)}function cs(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)=>os(os({},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 dn(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 un(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 hn(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 us(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 Oe(e,t=0,s=0,i=!0){const n=new DOMPoint(t,s),a=e.getScreenCTM();return n.matrixTransform(i?a==null?void 0:a.inverse():a)}function hs(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 Ie(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 De(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 ze(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function fn(e,t,s=!1){const i=!!e.node;let n=!1;for(const[a,o]of Object.entries(t))if(n=i?e.style(a)===o:e.style[a]===o,s===!1&&n)break;return n}function ce(){var e,t;return((e=lt)==null?void 0:e.hidden)===!1||((t=lt)==null?void 0:t.visibilityState)==="visible"}function pn(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 gs(e,t){t()===!1?sn(()=>gs(e,t)):e()}var xn=Object.defineProperty,fs=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,Fe=(e,t,s)=>t in e?xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ps=(e,t)=>{for(var s in t||(t={}))_n.call(t,s)&&Fe(e,s,t[s]);if(fs)for(var s of fs(t))mn.call(t,s)&&Fe(e,s,t[s]);return e},$n=(e,t,s)=>Fe(e,typeof t!="symbol"?t+"":t,s);const xs=class Oi{static setOptions(t){this.data=t.reduce((s,i)=>ps(ps({},s),i),this.data)}constructor(){return cn(Zi,Hi,Ji,Wi,Qi,Ui,qi,Ki,Oi.data)}};$n(xs,"data",{});let Vt=xs;class yn{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 bn{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 _s={element:yn,state:bn};class vn{constructor(){Object.keys(_s).forEach(t=>{this[t]=new _s[t]})}getStore(t){return this[t]}}var Tn=Object.defineProperty,An=(e,t,s)=>t in e?Tn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,wn=(e,t,s)=>An(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 Sn{constructor(){wn(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"},Me={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 Rn(e){const t=e,{config:s}=t;let i="";if(Tt(s.data_type||s.data_types)&&!t[Me.LINE])i="line";else for(const n in Me){const a=E[n];if(t.hasType(a)&&!t[Me[n]]){i=a;break}}i&&Cn(`Please, make sure if %c${dn(i)}`,"module has been imported and specified correctly.","https://github.com/naver/billboard.js/wiki/CHANGELOG-v2#modularization-by-its-functionality")}function Cn(e,t,s){var i;const n="[billboard.js]";if((i=H.console)==null?void 0:i.error){const o=t?["background:red;color:white;display:block;font-size:15px",t]:[];console.error(`\u274C ${n} ${e}`,"background:red;color:white;display:block;font-size:15px",...o),s&&console.info("%c\u2139\uFE0F","font-size:15px",s)}throw Error(`${n} ${e.replace(/\%c([a-z-]+)/i,"'$1' ")} ${t!=null?t:""}`)}const{setTimeout:En,clearTimeout:kn}=H;function Ln(e){const t=[];let s;const i=function(){i.clear(),e===!1?is(()=>{t.forEach(n=>n())},{timeout:200}):s=En(()=>{t.forEach(n=>n())},L(e)?e:200)};return i.clear=()=>{s&&(kn(s),s=null)},i.add=n=>t.push(n),i.remove=n=>t.splice(t.indexOf(n),1),i}function ms(){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}gs(()=>{i==null||i()},n)};return t.add=function(s){N(s)?e=e.concat(s):e.push(s)},t}const Xe={};function Pn(e,t){var s;const i=e.toString(),n=i.replace(/(function|[\s\W\n])/g,"").substring(0,15);return n in Xe||(Xe[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,${xa(d)}`}function ma(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 $a(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:_}=ma(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 ya(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 ba={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=_a(n.node(),l,{width:o,height:r}),u=l.preserveFontStyle?$a(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&&(ya(g,u),u.length=0),t.bind(this)(h.toDataURL(l.mimeType))},d.src=c}return c}},va={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,w.select)(this).classed(q.legendItemFocused)}).classed(q.legendItemFocused,!1)),i.focusedTargetIds=[],i.defocusedTargetIds=[]}},Ta={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})}}},Aa={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),()=>{is(()=>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),vs.call(t,s.done,s.resizeAfter)})}};function Cs(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 wa={show(e,t={}){Cs.call(this,!0,e,t)},hide(e,t={}){Cs.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)}},Sa={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)}}},Ra=Object.defineProperty,Ca=(e,t,s)=>t in e?Ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Es=(e,t,s)=>Ca(e,typeof t!="symbol"?t+"":t,s);class Xt{constructor(t){Es(this,"plugins",[]),Es(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),ha.call(s,t),s.beforeInit(),s.init()}}ct(Xt.prototype,[ga,fa,pa,ba,va,Ta,Aa,wa,Sa]);function ks(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,w.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 Ea={selected(e){const t=this.internal,s=[];return t.$el.main.selectAll(`.${st.shapes+t.getTargetSelectorSuffix(e)}`).selectAll(`.${st.shape}`).filter(function(){return(0,w.select)(this).classed(J.SELECTED)}).each(i=>s.push(i)),s},select(e,t,s){const i=this.internal;ks.bind(i)(!0,e,t,s)},unselect(e,t){const s=this.internal;ks.bind(s)(!1,e,t)}};const Ls=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(Ls,{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 ka={subchart:Ls},St=U(10);const Ps=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(Ps,{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 La={zoom:Ps,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)}},Pa={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,w.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(!ds(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}},Oa={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(){var e;const t=this,{config:s,$el:{eventRect:i,svg:n}}=t,a=s.zoom_type==="drag"?t.zoomBehaviour:t.zoom;H.GestureEvent&&/^((?!chrome|android|mobile).)*safari/i.test((e=H.navigator)==null?void 0:e.userAgent)&&n.on("wheel",()=>{}),i==null||i.call(a).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,Ts.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}}},Ia={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,w.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,T=+x.attr("cy")*1;A=t.togglePoint,b=dt in e?Da(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ba=(e,t)=>{for(var s in t||(t={}))Ma.call(t,s)&&Is(e,s,t[s]);if(Os)for(var s of Os(t))Xa.call(t,s)&&Is(e,s,t[s]);return e},Na=(e,t)=>za(e,Fa(t)),Ga=Na(Ba({},Ia),{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,w.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,w.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))}}}),Va={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},Ya={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:()=>{}},ja={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 Ds=()=>(ct(jt.prototype,Ga),ct(Xt.prototype,Ea),Vt.setOptions([Va]),(Ds=()=>!0)()),zs=()=>(ct(jt.prototype,Pa),ct(Xt.prototype,ka),Vt.setOptions([Ya]),(zs=()=>!0)()),Fs=()=>(ct(jt.prototype,Oa),ct(Xt.prototype,La),Vt.setOptions([ja]),(Fs=()=>!0)());function Ms(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 Xs(e,t){const{config:s}=e;return{x:s[`axis_x_${t}`],y:s[`axis_y_${t}`],y2:s[`axis_y2_${t}`]}}var Ha={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?Ms(t,"min",e):Xs(t,"min")},max:function(e){const t=this.internal;return F(e)||e===!1?Ms(t,"max",e):Xs(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()}}}},Wa={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}},Ua={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 Ye(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 Bs(e,t){const s=`grid_${t}_lines`;return Ye.bind(this)(this.internal.config[s].concat(e||[]),t)}function Ns(e,t){this.internal.removeGridLines(e,t)}const Gs=function(e){return Ye.bind(this)(e,"x")};ct(Gs,{add(e){return Bs.bind(this)(e,"x")},remove(e){return Ns.bind(this)(e,!0)}});const Vs=function(e){return Ye.bind(this)(e,"y")};ct(Vs,{add(e){return Bs.bind(this)(e,"y")},remove(e){return Ns.bind(this)(e,!1)}});var Za={xgrids:Gs,ygrids:Vs},qa={groups(e){const t=this.internal,{config:s}=t;return it(e)||(s.data_groups=e,t.redraw()),s.data_groups}};function Ys(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 js=function(e){return Ys.bind(this)(e)};ct(js,{add:function(e){return Ys.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 Ka={regions:js},Ja={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,to=(e,t,s)=>t in e?Qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,je=(e,t,s)=>to(e,typeof t!="symbol"?t+"":t,s);class Hs{constructor(t){je(this,"owner"),je(this,"config"),je(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},i=t.select("text");return!i.empty()&&i.text("0").call(n=>{try{const{width:a,height:o}=n.node().getBBox();a&&o&&(s.w=a,s.h=o)}finally{n.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 eo=Object.defineProperty,so=(e,t,s)=>t in e?eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,de=(e,t,s)=>so(e,typeof t!="symbol"?t+"":t,s);class io{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 Hs(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 T;t.each(function(){const R=(0,w.select)(this);let S=this.__chart__||o,v=n.copyScale();T=R,this.__chart__=v,i.tickOffset=a.isCategory?Math.ceil((v(1)-v(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(v,c);s.generatedTicks=I;let k=R.selectAll(".tick").data(I,v);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=Hs.getSizeFor1Char(k),Q=[];let rt=k.select("text").selectAll("tspan").data((at,Ct)=>{const Wt=a.tickMultiline?l(at,v,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(v.bandwidth){const at=v,Ct=at.bandwidth()/2;S=Wt=>at(Wt)+Ct,v=S}else S.bandwidth?S=v:d(M,v);k=a.owner.state.flowing?n.transitionise(k):a.owner.$T(k),d(O,S),d(k.style("opacity",null),v)}}),this.g=T}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 no=Object.defineProperty,ao=(e,t,s)=>t in e?no(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Pt=(e,t,s)=>ao(e,typeof t!="symbol"?t+"":t,s),oo={getAxisInstance:function(){return this.axis||new ro(this)}};class ro{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 io(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,T){const{width:R,height:S}=this.getBoundingClientRect();u.width=Math.max(u.width,R),u.height=Math.max(u.height,S),d||(l.ticks[T]=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 lo={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=us(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=ms();let d;u.add(Object.keys(e).map(h=>(d=e[h].transition().ease(co.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)`}},ho={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 go=e=>F(e.position)||"end",fo=e=>e.position==="start"?4:e.position==="middle"?0:-4;function Ws(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 Us(e,t){t==="grid"&&e.each(function(){const s=(0,w.select)(this);["x1","x2","y1","y2"].forEach(i=>s.attr(i,Math.ceil(+s.attr(i))))})}var po={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,w.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,w.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),Us(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,w.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",go).attr("transform",()=>r?o?null:"rotate(-90)":o?"rotate(-90)":null).attr("dx",fo).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",Ws(!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",Ws(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,w.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,w.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[_]))}),Us(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)}},xo={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,w.select)(this).select("text").empty()&&((r=o.label)!=null&&r.text)&&(0,w.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,w.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}},mo={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:[]},$o={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:[]},yo={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:[]},bo=Object.defineProperty,Zs=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,qs=(e,t,s)=>t in e?bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,He=(e,t)=>{for(var s in t||(t={}))vo.call(t,s)&&qs(e,s,t[s]);if(Zs)for(var s of Zs(t))To.call(t,s)&&qs(e,s,t[s]);return e},Ao=He(He(He({axis_rotated:!1,axis_tooltip:!1},mo),$o),yo),wo={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},So={data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1};const Ro=[Ha,Wa,Ua,Za,qa,Ka,Ja],Ks={axis:oo,clip:ho,eventrect:lo,flow:uo,grid:po,region:xo,sizeAxis:_o},Js={optDataAxis:So,optAxis:Ao,optGrid:wo};var Qs=U(13),Co=Object.defineProperty,Eo=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,ti=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,Po=Object.prototype.propertyIsEnumerable,ei=(e,t,s)=>t in e?Co(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Oo=(e,t)=>{for(var s in t||(t={}))Lo.call(t,s)&&ei(e,s,t[s]);if(ti)for(var s of ti(t))Po.call(t,s)&&ei(e,s,t[s]);return e},Io=(e,t)=>Eo(e,ko(t));function si(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 We(e){return function(t){const s=({startAngle:n=0,endAngle:a=0,padAngle:o=0})=>({startAngle:n,endAngle:a,padAngle:o}),i=(0,Qs.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(Io(Oo({},a),{data:o,index:r,value:l}))}}}var Do={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,w.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,w.select)(this).selectAll("path").transition().duration(o).attrTween("d",We(t.svgArcExpanded.bind(t))).transition().duration(o*2).attrTween("d",We(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",We(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,Qs.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,w.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,w.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,w.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,T=d[2][y]-d[0][y];m=!$||b?l(T):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]}},Mo=Object.defineProperty,ii=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,ni=(e,t,s)=>t in e?Mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,No=(e,t)=>{for(var s in t||(t={}))Xo.call(t,s)&&ni(e,s,t[s]);if(ii)for(var s of ii(t))Bo.call(t,s)&&ni(e,s,t[s]);return e},Go={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,w.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=No({},e));return t&&(t._isUp=t.close>=t.open),t||null}},Vo=Object.defineProperty,ai=Object.getOwnPropertySymbols,Yo=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,oi=(e,t,s)=>t in e?Vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ho=(e,t)=>{for(var s in t||(t={}))Yo.call(t,s)&&oi(e,s,t[s]);if(ai)for(var s of ai(t))jo.call(t,s)&&oi(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=Ho({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}=ri.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 Wo(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 li(e=!1){const t=this,{width:s,height:i,top:n,left:a}=Ae.call(t,!0),o=ri.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 Uo(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)),ci.call(t,i)}function ci(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 Zo={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,w.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=Uo.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=Wo.call(e,ci.call(e,i.data()));s.attr("clip-path",`path('${li.bind(e)()}')`),s.background.attr("d",li.call(e,!0)),t(i).attr("d",(a,o)=>`M${n[o].join("L")}z`).style("opacity","1"),s.selectAll("g").style("opacity",null)}},qo={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,w.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 Ko(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 Jo(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=Jo.bind(n)(e,i,r),u=n.hasNullDataValue(e);let d,h,g,f;const p=o?v=>s(v.value):v=>t(v.x),_=o?v=>t(v.x):v=>s(v.value),x=v=>`M${v[0][0]},${v[0][1]}L${v[1][0]},${v[1][1]}`,m=r?(v,C,I,k)=>{const O=v.x.getTime(),M=C.x-v.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)}:(v,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),v.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:v})=>v===e[0].id),y=A.clone().style("display","none"),T=(v,C)=>v.attr("d",C).node().getTotalLength(),R={dash:[],lastLength:0};let S=!1;for(let v=0,C;C=e[v];v++){const I=e[v-1],k=I&&F(I.value);let O=n.isWithinRegions(C.x,c);if(F(C.value)){if(it(c)||!O||!k)b+=`${v&&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(S=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=T(y,b),Q=T(y,b+=`L${M[1].join(",")}`),rt=Ko(Y-R.lastLength,Q-R.lastLength,O,S);R.lastLength+=rt.length,R.dash.push(rt.dash)}}}return R.dash.length&&(!S&&R.dash.push(T(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,w.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,w.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,w.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,w.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,w.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 tr(e){return wt(e)&&P(e.create)&&P(e.update)}function er(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(w.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,w.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,w.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(!tr(p||s.point_type)){const _=e.getDefsPointId(g);if(t.defs.select(`#${_}`).size()<1&&er.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 di(e){const t=e.config.polar_level_max;let s=e.getMinMaxData().max[0].value;return t&&t>s&&(s=t),s}var sr={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=di(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=di(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 ir(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,ui=pt.radarTextWidth;var nr={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",ts.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=>ir(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(ui)||0;if(o.select("text").style("text-anchor","middle").attr("dy",".5em").call(d=>{d.each(function(h){le((0,w.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):gls(h.node()).width);d.every(h=>h>0)&&e.cache.add(ui,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 ar(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 or(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 rr(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 lr={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(ss.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,w.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:or.bind(t)(t.filterTargetsToShow(e.filter(t.isTreemapType,t)))}},updateTargetsForTreemap(e){const t=this,{$el:{treemap:s}}=t,i=rr.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(ar.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},cr={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},dr={bubble_maxR:35,bubble_zerobased:!1},ur={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},hr={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},gr={scatter_zerobased:!1},Ue={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},fr={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},pr={funnel_neck_width:0,funnel_neck_height:0},xr={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},_r={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},mr={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},$r={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},yr={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(Ks).concat(e)),ct(Xt.prototype,Ro),Vt.setOptions(Object.values(Js).concat(t||[]))}function It(e,t){ne([ee,we,Qo].concat(e||[])),Vt.setOptions([Ht,hr].concat(t||[]))}function ae(e,t){ct(jt.prototype,[Do,ee].concat(e||[])),Vt.setOptions([Ht].concat(t||[]))}let hi=()=>(It(Qt,[ie]),(hi=()=>E.AREA)()),gi=()=>(It(Qt,[ie]),(gi=()=>E.AREA_LINE_RANGE)()),fi=()=>(It(Qt,[ie]),(fi=()=>E.AREA_STEP_RANGE)()),pi=()=>(It(Qt,[ie,Ue]),(pi=()=>E.AREA_SPLINE)()),xi=()=>(It(Qt,[ie,Ue]),(xi=()=>E.AREA_SPLINE_RANGE)()),_i=()=>(It(Qt,[ie]),(_i=()=>E.AREA_STEP)()),mi=()=>(It(),(mi=()=>E.LINE)()),$i=()=>(It(void 0,[Ue]),($i=()=>E.SPLINE)()),yi=()=>(It(),(yi=()=>E.STEP)()),bi=()=>(ae(void 0,[Se,fr]),(bi=()=>E.DONUT)()),vi=()=>(ae([qo],[Se,xr]),(vi=()=>E.GAUGE)()),Ti=()=>(ae(void 0,[Se,_r]),(Ti=()=>E.PIE)()),Ai=()=>(ae([sr],[Se,mr]),(Ai=()=>E.POLAR)()),wi=()=>(ae([Ks.eventrect,we,nr],[Ht,$r,{axis_x_categories:Js.optAxis.axis_x_categories}]),(wi=()=>E.RADAR)()),Si=()=>(ne([zo,ee],[cr,Ht]),(Si=()=>E.BAR)()),Ri=()=>(ne([ee,we,Fo],[dr,Ht]),(Ri=()=>E.BUBBLE)()),Ci=()=>(ne([Go,ee],[ur,Ht]),(Ci=()=>E.CANDLESTICK)()),Ei=()=>(ne([ee,we],[Ht,gr]),(Ei=()=>E.SCATTER)()),ki=()=>(ae([Zo],[pr]),(ki=()=>E.FUNNEL)()),Li=()=>(ne([lr],[yr]),(Li=()=>E.TREEMAP)()),Ze={};const Pi={version:"3.13.0-nightly-20240921004638",generate(e){const t=qt({},Ze,e),s=new Xt(t);return s.internal.charts=this.instance,this.instance.push(s),s},defaults(e){return X(e)&&(Ze=e),Ze},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},cr={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},dr={bubble_maxR:35,bubble_zerobased:!1},ur={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},hr={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},gr={scatter_zerobased:!1},Ue={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},fr={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},pr={funnel_neck_width:0,funnel_neck_height:0},xr={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},_r={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},mr={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},$r={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},yr={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(Ks).concat(e)),ct(Xt.prototype,Ro),Vt.setOptions(Object.values(Js).concat(t||[]))}function It(e,t){ne([ee,we,Qo].concat(e||[])),Vt.setOptions([Ht,hr].concat(t||[]))}function ae(e,t){ct(jt.prototype,[Do,ee].concat(e||[])),Vt.setOptions([Ht].concat(t||[]))}let hi=()=>(It(Qt,[ie]),(hi=()=>E.AREA)()),gi=()=>(It(Qt,[ie]),(gi=()=>E.AREA_LINE_RANGE)()),fi=()=>(It(Qt,[ie]),(fi=()=>E.AREA_STEP_RANGE)()),pi=()=>(It(Qt,[ie,Ue]),(pi=()=>E.AREA_SPLINE)()),xi=()=>(It(Qt,[ie,Ue]),(xi=()=>E.AREA_SPLINE_RANGE)()),_i=()=>(It(Qt,[ie]),(_i=()=>E.AREA_STEP)()),mi=()=>(It(),(mi=()=>E.LINE)()),$i=()=>(It(void 0,[Ue]),($i=()=>E.SPLINE)()),yi=()=>(It(),(yi=()=>E.STEP)()),bi=()=>(ae(void 0,[Se,fr]),(bi=()=>E.DONUT)()),vi=()=>(ae([qo],[Se,xr]),(vi=()=>E.GAUGE)()),Ti=()=>(ae(void 0,[Se,_r]),(Ti=()=>E.PIE)()),Ai=()=>(ae([sr],[Se,mr]),(Ai=()=>E.POLAR)()),wi=()=>(ae([Ks.eventrect,we,nr],[Ht,$r,{axis_x_categories:Js.optAxis.axis_x_categories}]),(wi=()=>E.RADAR)()),Si=()=>(ne([zo,ee],[cr,Ht]),(Si=()=>E.BAR)()),Ri=()=>(ne([ee,we,Fo],[dr,Ht]),(Ri=()=>E.BUBBLE)()),Ci=()=>(ne([Go,ee],[ur,Ht]),(Ci=()=>E.CANDLESTICK)()),Ei=()=>(ne([ee,we],[Ht,gr]),(Ei=()=>E.SCATTER)()),ki=()=>(ae([Zo],[pr]),(ki=()=>E.FUNNEL)()),Li=()=>(ne([lr],[yr]),(Li=()=>E.TREEMAP)()),Ze={};const Pi={version:"3.13.0-nightly-20240924004652",generate(e){const t=qt({},Ze,e),s=new Xt(t);return s.internal.charts=this.instance,this.instance.push(s),s},defaults(e){return X(e)&&(Ze=e),Ze},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 d43478ff9..85a42277f 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills. * - @types/d3-selection ^3.0.10 @@ -48448,7 +48448,7 @@ const bb = { * bb.version; // "1.0.0" * @memberof bb */ - version: "3.13.0-nightly-20240921004638", + version: "3.13.0-nightly-20240924004652", /** * 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 964d9178c..e6ba2dc22 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills. * - @types/d3-selection ^3.0.10 @@ -54,4 +54,4 @@ `;return`data:image/svg+xml;base64,${Tm(v)}`}function Sm(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 Am(t){const{left:e,top:n}=t.getBoundingClientRect(),a=s=>s.textContent||s.childElementCount,i=[];return Dr(t.querySelectorAll("text")).filter(a).forEach(s=>{const o=l=>{const{fill:c,fontFamily:u,fontSize:g,textAnchor:v,transform:m}=We.getComputedStyle(l),{x:S,y:I,width:N,height:L}=Sm(l,{left:e,top:n});return{[l.textContent]:{x:S,y:I,width:N,height:L,fill:c,fontFamily:u,fontSize:g,textAnchor:v,transform:m}}};if(s.childElementCount>1){const l=[];return Dr(s.querySelectorAll("tspan")).filter(a).forEach(c=>{i.push(o(c))}),l}else i.push(o(s))}),i}function bm(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 Em={export(t,e){const n=this.internal,{state:a,$el:{chart:i,svg:s}}=n,{width:o,height:l}=a.current,c=ea({width:o,height:l,preserveAspectRatio:!0,preserveFontStyle:!1,mimeType:"image/png"},t),u=$m(i.node(),c,{width:o,height:l}),g=c.preserveFontStyle?Am(s.node()):[];if(e&&ve(e)){const v=new Image;v.crossOrigin="Anonymous",v.onload=()=>{const m=vn.createElement("canvas"),S=m.getContext("2d");m.width=c.width||o,m.height=c.height||l,S.drawImage(v,0,0),g.length&&(bm(S,g),g.length=0),e.bind(this)(m.toDataURL(c.mimeType))},v.src=u}return u}},Rm={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(Qe.focused,!0).classed(Qe.defocused,!1),e.hasArcType()&&!n.hasRadar&&(e.expandArc(a),e.hasType("gauge")&&e.markOverlapped(t,e,`.${Un.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(Qe.focused,!1).classed(Qe.defocused,!0),e.hasArcType(null,["polar"])&&(e.unexpandArc(a),e.hasType("gauge")&&e.undoMarkOverlapped(e,`.${Un.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(Qe.focused,!1).classed(Qe.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(Qe.legendItemFocused)}).classed(Qe.legendItemFocused,!1)),a.focusedTargetIds=[],a.defocusedTargetIds=[]}},Om={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})}}},Im={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),()=>{jl(()=>e.loadFromArgs(t))}):e.loadFromArgs(t)},unload(t){const e=this.internal;let n=t||{};_n(n)&&this.tooltip.hide(),Be(n)?n={ids:n}:Ge(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),cc.call(e,n.done,n.resizeAfter)})}};function iu(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),_e(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"),_e((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 Cm={show(t,e={}){iu.call(this,!0,t,e)},hide(t,e={}){iu.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)}},Pm={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,`.${sn.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 ke(t.x)?v=i.getIndexByX(t.x):ke(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)}}},wm=Object.defineProperty,Mm=(t,e,n)=>e in t?wm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,su=(t,e,n)=>Mm(t,typeof e!="symbol"?e+"":e,n);class br{constructor(e){su(this,"plugins",[]),su(this,"internal");const n=new Gr(this);this.internal=n,function a(i,s,o){Object.keys(i).forEach(l=>{const c=ve(i[l]),u=s!==o,g=ln(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)})}(br.prototype,this,this),pm.call(n,e),n.beforeInit(),n.init()}}xn(br.prototype,[mm,ym,xm,Em,Rm,Om,Im,Cm,Pm]);function ou(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(`.${sn.shapes}`).selectAll(`.${sn.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,L=g.classed(qe.SELECTED);g.classed(ur.line)||g.classed(qa.area)||(t?I&&N&&c(u)&&!L?S(!0,g.classed(qe.SELECTED,!0),u,m):ke(a)&&a&&L&&S(!1,g.classed(qe.SELECTED,!1),u,m):I&&N&&c(u)&&L&&S(!1,g.classed(qe.SELECTED,!1),u,m))})}var Lm={selected(t){const e=this.internal,n=[];return e.$el.main.selectAll(`.${sn.shapes+e.getTargetSelectorSuffix(t)}`).selectAll(`.${sn.shape}`).filter(function(){return st(this).classed(qe.SELECTED)}).each(a=>n.push(a)),n},select(t,e,n){const a=this.internal;ou.bind(a)(!0,t,e,n)},unselect(t,e){const n=this.internal;ou.bind(n)(!1,t,e)}};const lu=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=>zn.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};xn(lu,{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 Dm={subchart:lu},Nm=1e-12;function cu(t){return((t=Math.exp(t))+1/t)/2}function Fm(t){return((t=Math.exp(t))-1/t)/2}function Bm(t){return((t=Math.exp(2*t))-1)/(t+1)}var Um=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,L,C;if(N()=>t;function zm(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 vr(t,e,n){this.k=t,this.x=e,this.y=n}vr.prototype={constructor:vr,scale:function(t){return t===1?this:new vr(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new vr(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 ar=new vr(1,0,0);vo.prototype=vr.prototype;function vo(t){for(;!t.__zoom;)if(!(t=t.parentNode))return ar;return t.__zoom}function po(t){t.stopImmediatePropagation()}function Fa(t){t.preventDefault(),t.stopImmediatePropagation()}function jm(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function Gm(){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 uu(){return this.__zoom||ar}function Vm(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Xm(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ym(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 Hm(){var t=jm,e=Gm,n=Ym,a=Vm,i=Xm,s=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],l=250,c=Um,u=ni("start","zoom","end"),g,v,m,S=500,I=150,N=0,L=10;function C(Z){Z.property("__zoom",uu).on("wheel.zoom",pt,{passive:!1}).on("mousedown.zoom",$t).on("dblclick.zoom",lt).filter(i).on("touchstart.zoom",dt).on("touchmove.zoom",Ft).on("touchend.zoom touchcancel.zoom",ht).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}C.transform=function(Z,St,ct,At){var jt=Z.selection?Z.selection():Z;jt.property("__zoom",uu),Z!==jt?_(Z,St,ct,At):jt.interrupt().each(function(){K(this,arguments).event(At).start().zoom(null,typeof St=="function"?St.apply(this,arguments):St).end()})},C.scaleBy=function(Z,St,ct,At){C.scaleTo(Z,function(){var jt=this.__zoom.k,Ut=typeof St=="function"?St.apply(this,arguments):St;return jt*Ut},ct,At)},C.scaleTo=function(Z,St,ct,At){C.transform(Z,function(){var jt=e.apply(this,arguments),Ut=this.__zoom,kt=ct==null?Y(jt):typeof ct=="function"?ct.apply(this,arguments):ct,Kt=Ut.invert(kt),ae=typeof St=="function"?St.apply(this,arguments):St;return n(H(V(Ut,ae),kt,Kt),jt,o)},ct,At)},C.translateBy=function(Z,St,ct,At){C.transform(Z,function(){return n(this.__zoom.translate(typeof St=="function"?St.apply(this,arguments):St,typeof ct=="function"?ct.apply(this,arguments):ct),e.apply(this,arguments),o)},null,At)},C.translateTo=function(Z,St,ct,At,jt){C.transform(Z,function(){var Ut=e.apply(this,arguments),kt=this.__zoom,Kt=At==null?Y(Ut):typeof At=="function"?At.apply(this,arguments):At;return n(ar.translate(Kt[0],Kt[1]).scale(kt.k).translate(typeof St=="function"?-St.apply(this,arguments):-St,typeof ct=="function"?-ct.apply(this,arguments):-ct),Ut,o)},At,jt)};function V(Z,St){return St=Math.max(s[0],Math.min(s[1],St)),St===Z.k?Z:new vr(St,Z.x,Z.y)}function H(Z,St,ct){var At=St[0]-ct[0]*Z.k,jt=St[1]-ct[1]*Z.k;return At===Z.x&&jt===Z.y?Z:new vr(Z.k,At,jt)}function Y(Z){return[(+Z[0][0]+ +Z[1][0])/2,(+Z[0][1]+ +Z[1][1])/2]}function _(Z,St,ct,At){Z.on("start.zoom",function(){K(this,arguments).event(At).start()}).on("interrupt.zoom end.zoom",function(){K(this,arguments).event(At).end()}).tween("zoom",function(){var jt=this,Ut=arguments,kt=K(jt,Ut).event(At),Kt=e.apply(jt,Ut),ae=ct==null?Y(Kt):typeof ct=="function"?ct.apply(jt,Ut):ct,Ve=Math.max(Kt[1][0]-Kt[0][0],Kt[1][1]-Kt[0][1]),Oe=jt.__zoom,Xe=typeof St=="function"?St.apply(jt,Ut):St,hn=c(Oe.invert(ae).concat(Ve/Oe.k),Xe.invert(ae).concat(Ve/Xe.k));return function(De){if(De===1)De=Xe;else{var dn=hn(De),Jt=Ve/dn[2];De=new vr(Jt,ae[0]-dn[0]*Jt,ae[1]-dn[1]*Jt)}kt.zoom(null,De)}})}function K(Z,St,ct){return!ct&&Z.__zooming||new at(Z,St)}function at(Z,St){this.that=Z,this.args=St,this.active=0,this.sourceEvent=null,this.extent=e.apply(Z,St),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,St){return this.mouse&&Z!=="mouse"&&(this.mouse[1]=St.invert(this.mouse[0])),this.touch0&&Z!=="touch"&&(this.touch0[1]=St.invert(this.touch0[0])),this.touch1&&Z!=="touch"&&(this.touch1[1]=St.invert(this.touch1[0])),this.that.__zoom=St,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Z){var St=st(this.that).datum();u.call(Z,this.that,new zm(Z,{sourceEvent:this.sourceEvent,target:C,type:Z,transform:this.that.__zoom,dispatch:u}),St)}};function pt(Z,...St){if(!t.apply(this,arguments))return;var ct=K(this,St).event(Z),At=this.__zoom,jt=Math.max(s[0],Math.min(s[1],At.k*Math.pow(2,a.apply(this,arguments)))),Ut=Yn(Z);if(ct.wheel)(ct.mouse[0][0]!==Ut[0]||ct.mouse[0][1]!==Ut[1])&&(ct.mouse[1]=At.invert(ct.mouse[0]=Ut)),clearTimeout(ct.wheel);else{if(At.k===jt)return;ct.mouse=[Ut,At.invert(Ut)],_r(this),ct.start()}Fa(Z),ct.wheel=setTimeout(kt,I),ct.zoom("mouse",n(H(V(At,jt),ct.mouse[0],ct.mouse[1]),ct.extent,o));function kt(){ct.wheel=null,ct.end()}}function $t(Z,...St){if(m||!t.apply(this,arguments))return;var ct=Z.currentTarget,At=K(this,St,!0).event(Z),jt=st(Z.view).on("mousemove.zoom",ae,!0).on("mouseup.zoom",Ve,!0),Ut=Yn(Z,ct),kt=Z.clientX,Kt=Z.clientY;ls(Z.view),po(Z),At.mouse=[Ut,this.__zoom.invert(Ut)],_r(this),At.start();function ae(Oe){if(Fa(Oe),!At.moved){var Xe=Oe.clientX-kt,hn=Oe.clientY-Kt;At.moved=Xe*Xe+hn*hn>N}At.event(Oe).zoom("mouse",n(H(At.that.__zoom,At.mouse[0]=Yn(Oe,ct),At.mouse[1]),At.extent,o))}function Ve(Oe){jt.on("mousemove.zoom mouseup.zoom",null),cs(Oe.view,At.moved),Fa(Oe),At.event(Oe).end()}}function lt(Z,...St){if(t.apply(this,arguments)){var ct=this.__zoom,At=Yn(Z.changedTouches?Z.changedTouches[0]:Z,this),jt=ct.invert(At),Ut=ct.k*(Z.shiftKey?.5:2),kt=n(H(V(ct,Ut),At,jt),e.apply(this,St),o);Fa(Z),l>0?st(this).transition().duration(l).call(_,kt,At,Z):st(this).call(C.transform,kt,At,Z)}}function dt(Z,...St){if(t.apply(this,arguments)){var ct=Z.touches,At=ct.length,jt=K(this,St,Z.changedTouches.length===At).event(Z),Ut,kt,Kt,ae;for(po(Z),kt=0;ktzn.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};xn(fu,{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=qn("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=qn("min",[a[0],t])),n.zoom_x_min},range(t){const e=this.zoom;if(Ne(t)){const{min:n,max:a}=t;ke(n)&&e.min(n),ke(a)&&e.max(a)}return{min:e.min(),max:e.max()}}});var Wm={zoom:fu,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(ar),t.updateZoom(!0),a==null||a.style("display","none"),vo(n.node())!==ar&&t.zoom.transform(n,ar),s.domain=void 0)}},Km={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?Vg():Gg()).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,L)=>{N!==v[L]&&(i.domain[L]=n.x.orgDomain()[L])})),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,L)=>{const C=[v[L],o/2];return`translate(${s?C.reverse():C})`}))}),t.brush.updateResize=function(){u&&clearTimeout(u),u=setTimeout(()=>{const g=this.getSelection();l&&zl(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(`.${Fe.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]]:Be(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(`.${Fe.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(Fe.subchart,!0).attr("transform",t.getTranslate("context"));const{main:v}=o;v.style("visibility",c),v.append("g").attr("clip-path",g).attr("class",Fe.chart),["bar","line","bubble","candlestick","scatter"].forEach(S=>{const I=Ln(/^(bubble|scatter)$/.test(S)?"circle":S);if(t.hasType(S)||t.hasTypeOf(I)){const N=v.select(`.${Fe.chart}`),L=Fe[`chart${I}s`];N.select(`.${L}`).empty()&&N.append("g").attr("class",L)}});const m=v.append("g").attr("clip-path",g).attr("class",Fe.brush).call(t.brush);e.subchart_showHandle&&t.addBrushHandle(m),l.subX=v.append("g").attr("class",Fe.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(Ln(s))).forEach(s=>{const o=/^(bubble|scatter)$/.test(s),l=Ln(o?"circle":s),c=e.getChartClass(l,!0),u=e.getClass(o?"circles":`${s}s`,!0),g=i.select(`.${Fe[`chart${`${l}s`}`]}`);if(o){const v=g.selectAll(`.${Fe.circles}`).data(t.filter(e[`is${Ln(s)}Type`].bind(e))).attr("class",u);v.exit().remove(),v.enter().append("g").attr("class",u)}else{const v=g.selectAll(`.${Fe[`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(`.${Fe.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(!Kl(i)&&i.brush.update(),Object.keys(n.type).forEach(g=>{const v=Ln(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(`.${Fe.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(ve(a))a=a.bind(t.api)(t.getXDomain(t.data.targets),n.subX);else if(t.axis.isTimeSeries()&&a.every(isNaN)){const i=zn.bind(t);a=a.map(s=>n.subX(i(s)))}}return a}},Zm={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=Hm().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=Lr(t.scale.x.orgDomain())/Lr(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",ar.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,_e(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)===ar;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&&_e(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)===ar;(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)&&_e(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=ar.scale(t.range()[1]/(t(e[1])-t(e[0]))).translate(...s?o.reverse():o);a.call(n.zoom.transform,l)},bindZoomOnEventRect(){var t;const e=this,{config:n,$el:{eventRect:a,svg:i}}=e,s=n.zoom_type==="drag"?e.zoomBehaviour:e.zoom;We.GestureEvent&&/^((?!chrome|android|mobile).)*safari/i.test((t=We.navigator)==null?void 0:t.userAgent)&&i.on("wheel",()=>{}),a==null||a.call(s).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=uc().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=Hn(c,this)[l.index],s=i,o.attr(l.axis,i).attr(l.attr,0),t.onZoomStart(c)}).on("drag",function(c){s=Hn(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(){ve(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()?vo(e.node()):{k:1}}},km={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(`.${Ir.dragarea}`).attr("x",v).attr("y",S).attr("width",m-v).attr("height",I-S),i.selectAll(`.${sn.shapes}`).selectAll(`.${sn.shape}`).filter(N=>o==null?void 0:o.bind(e.api)(N)).each(function(N,L){const C=st(this),V=C.classed(qe.SELECTED),H=C.classed(Ir.INCLUDED);let Y=!1,_;if(C.classed($n.circle)){const K=+C.attr("cx")*1,at=+C.attr("cy")*1;_=e.togglePoint,Y=ve in t?Jm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ey=(t,e)=>{for(var n in e||(e={}))qm.call(e,n)&&hu(t,n,e[n]);if(du)for(var n of du(e))ty.call(e,n)&&hu(t,n,e[n]);return t},ny=(t,e)=>Qm(t,_m(e)),ry=ny(ey({},km),{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);_e(i.data_onselected,a.api,e,t.node()),o(s.select(`.${qe.selectedCircles}${a.getTargetSelectorSuffix(e.id)}`).selectAll(`.${qe.selectedCircle}-${n}`).data([e]).enter().append("circle").attr("class",()=>a.generateClass(qe.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;_e(i.data_onunselected,a.api,e,t==null?void 0:t.node()),o(s.select(`.${qe.selectedCircles}${a.getTargetSelectorSuffix(e.id)}`).selectAll(`.${qe.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;_e(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;_e(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(qe.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?qe.selectedCircles:sn.shapes}`;s.data_selection_grouped&&(m+=i.getTargetSelectorSuffix(e.id)),o.selectAll(m).selectAll(v?`.${qe.selectedCircle}`:`.${sn.shape}.${qe.SELECTED}`).classed(qe.SELECTED,!1).each(function(S){const I=st(this);g=I,u(!1,I,S,S.index)})}(!g||g.node()!==l.node())&&(l.classed(qe.SELECTED,!c),u(!c,l,e,n))}}}),ay={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},iy={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:()=>{}},sy={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 gu=()=>(xn(Gr.prototype,ry),xn(br.prototype,Lm),Nr.setOptions([ay]),(gu=()=>!0)()),vu=()=>(xn(Gr.prototype,Km),xn(br.prototype,Dm),Nr.setOptions([iy]),(vu=()=>!0)()),pu=()=>(xn(Gr.prototype,Zm),xn(br.prototype,Wm),Nr.setOptions([sy]),(pu=()=>!0)());function mu(t,e,n){const{config:a}=t,i=(s,o)=>{const l=he(o)?o:o===!1?void 0:null;l!==null&&(a[`axis_${s}_${e}`]=l)};ke(n)&&(nr(n)?Object.keys(n).forEach(s=>{i(s,n[s])}):(he(n)||n===!1)&&["y","y2"].forEach(s=>{i(s,n)}),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))}function yu(t,e){const{config:n}=t;return{x:n[`axis_x_${e}`],y:n[`axis_y_${e}`],y2:n[`axis_y2_${e}`]}}var oy={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 we(t)||t===!1?mu(e,"min",t):yu(e,"min")},max:function(t){const e=this.internal;return we(t)||t===!1?mu(e,"max",t):yu(e,"max")},range:function(t){const{axis:e}=this;if(arguments.length){const{min:n,max:a}=t;ke(a)&&e.max(a),ke(n)&&e.min(n)}else return{max:e.max(),min:e.min()}}}},ly={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 _n(a)?Object.values(e.data.xs)[0]:a}return n.axis_x_categories=t,e.redraw(),n.axis_x_categories}},cy={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 L=!1;for(let C=0;C{for(let L=0;L{const L=[];for(let C=e.data.targets[0].values[0].index;C{C.index+=o,m||(C.x+=o)}),N.values=L.concat(N.values)}),e.data.targets=e.data.targets.concat(v);const S=e.data.targets[0],I=S.values[0];ke(t.to)?(s=0,c=m?zn.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:we(t.duration)?t.duration:e.config.transition_duration,done:t.done,orgDataCount:g},withLegend:!0,withTransition:g>1,withTrimXDomain:!1,withUpdateXAxis:!0})}}};function mo(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 xu(t,e){const n=`grid_${e}_lines`;return mo.bind(this)(this.internal.config[n].concat(t||[]),e)}function Tu(t,e){this.internal.removeGridLines(t,e)}const $u=function(t){return mo.bind(this)(t,"x")};xn($u,{add(t){return xu.bind(this)(t,"x")},remove(t){return Tu.bind(this)(t,!0)}});const Su=function(t){return mo.bind(this)(t,"y")};xn(Su,{add(t){return xu.bind(this)(t,"y")},remove(t){return Tu.bind(this)(t,!1)}});var uy={xgrids:$u,ygrids:Su},fy={groups(t){const e=this.internal,{config:n}=e;return on(t)||(n.data_groups=t,e.redraw()),n.data_groups}};function Au(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 bu=function(t){return Au.bind(this)(t)};xn(bu,{add:function(t){return Au.bind(this)(t,!0)},remove:function(t){const e=this.internal,{config:n,$T:a}=e,i=t||{},s=$r(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 dy={regions:bu},hy={x(t){const e=this.internal,{axis:n,data:a}=e,i=n.isCustomX()&&n.isCategorized();return Be(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 Ne(t)&&(e.updateTargetXs(e.data.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),e.data.xs}};function gy(t){return t}var Vi=1,Xi=2,yo=3,Ba=4,Eu=1e-6;function vy(t){return"translate("+t+",0)"}function py(t){return"translate(0,"+t+")"}function my(t){return e=>+t(e)}function yy(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function xy(){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===yo?vy:py;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):gy:i,L=Math.max(s,0)+l,C=e.range(),V=+C[0]+c,H=+C[C.length-1]+c,Y=(e.bandwidth?yy:my)(e.copy(),c),_=S.selection?S.selection():S,K=_.selectAll(".domain").data([null]),at=_.selectAll(".tick").data(I,e).order(),pt=at.exit(),$t=at.enter().append("g").attr("class","tick"),lt=at.select("line"),dt=at.select("text");K=K.merge(K.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),at=at.merge($t),lt=lt.merge($t.append("line").attr("stroke","currentColor").attr(g+"2",u*s)),dt=dt.merge($t.append("text").attr("fill","currentColor").attr(g,u*L).attr("dy",t===Vi?"0em":t===yo?"0.71em":"0.32em")),S!==_&&(K=K.transition(S),at=at.transition(S),lt=lt.transition(S),dt=dt.transition(S),pt=pt.transition(S).attr("opacity",Eu).attr("transform",function(Ft){return isFinite(Ft=Y(Ft))?v(Ft+c):this.getAttribute("transform")}),$t.attr("opacity",Eu).attr("transform",function(Ft){var ht=this.parentNode.__axis;return v((ht&&isFinite(ht=ht(Ft))?ht:Y(Ft))+c)})),pt.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)}),lt.attr(g+"2",u*s),dt.attr(g,u*L).text(N),_.filter(xy).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 Ty(t){return Yi(Vi,t)}function $y(t){return Yi(Xi,t)}function Ru(t){return Yi(yo,t)}function Ou(t){return Yi(Ba,t)}var Sy=Object.defineProperty,Ay=(t,e,n)=>e in t?Sy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,xo=(t,e,n)=>Ay(t,typeof e!="symbol"?e+"":e,n);class Iu{constructor(e){xo(this,"owner"),xo(this,"config"),xo(this,"scale");const n=zr(),{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},a=e.select("text");return!a.empty()&&a.text("0").call(i=>{try{const{width:s,height:o}=i.node().getBBox();s&&o&&(n.w=s,n.h=o)}finally{i.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=>we(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=>Ge(c)&&he(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 ke(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 by=Object.defineProperty,Ey=(t,e,n)=>e in t?by(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ua=(t,e,n)=>Ey(t,typeof e!="symbol"?e+"":e,n);class Ry{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 Iu(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:L,range:C}=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 pt=st(this);let $t=this.__chart__||o,lt=i.copyScale();at=pt,this.__chart__=lt,a.tickOffset=s.isCategory?Math.ceil((lt(1)-lt(0))/2):0;const dt=pt.selectAll(".domain").data([0]);if(dt.enter().append("path").attr("class","domain").merge(dt).attr("d",()=>{const Ft=a.outerTickSize*S;return g?`M${C[0]},${Ft}V0H${C[1]}V${Ft}`:`M${Ft},${C[0]}H0V${C[1]}H${Ft}`}),K.tick||K.text){const Ft=a.tickValues||i.generateTicks(lt,u);n.generatedTicks=Ft;let ht=pt.selectAll(".tick").data(Ft,lt);const Z=ht.enter().insert("g",".domain").attr("class","tick"),St=ht.exit().remove();ht=Z.merge(ht),K.tick&&Z.append("line"),K.text&&Z.append("text");const ct=Iu.getSizeFor1Char(ht),At=[];let jt=ht.select("text").selectAll("tspan").data((Kt,ae)=>{const Ve=s.tickMultiline?c(Kt,lt,Ft,u,ct.w):Be(i.textFormatted(Kt))?i.textFormatted(Kt).concat():[i.textFormatted(Kt)];return At[ae]=Ve.length,Ve.map(Oe=>({index:ae,splitted:Oe}))});jt.exit().remove(),jt=jt.enter().append("tspan").merge(jt).text(Kt=>Kt.splitted),jt.attr("x",g?0:L*S).attr("dx",(()=>{let Kt=0;return/(top|bottom)/.test(l)&&I&&(Kt=8*Math.sin(Math.PI*(I/180))*(l==="top"?-1:1)),Kt+(H.x||0)})()).attr("dy",(Kt,ae)=>{const Ve=".71em";let Oe=0;return l!=="top"&&(Oe=ct.h,ae===0&&(Oe=u?-((At[Kt.index]-1)*(ct.h/2)-3):H.y===0?Ve:0)),he(Oe)&&H.y?Oe+H.y:Oe||Ve});const Ut=ht.select("line"),kt=ht.select("text");if(Z.select("line").attr(`${m}2`,N*S),Z.select("text").attr(m,L*S),n.setTickLineTextPosition(Ut,kt),s.tickTitle){const Kt=kt.select("title");(Kt.empty()?kt.append("title"):Kt).text(ae=>s.tickTitle[ae])}if(lt.bandwidth){const Kt=lt,ae=Kt.bandwidth()/2;$t=Ve=>Kt(Ve)+ae,lt=$t}else $t.bandwidth?$t=lt:v(St,lt);ht=s.owner.state.flowing?i.transitionise(ht):s.owner.$T(ht),v(Z,$t),v(ht.style("opacity",null),lt)}}),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:L})=>!m&&N===0&&(S===!0||S.first)?"start":!m&&N===L-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=Ge(l)&&l.indexOf(` `)>-1?l.split(` `):[];if(c.length)return c;if(Be(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 L=1;L{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 Oy=Object.defineProperty,Iy=(t,e,n)=>e in t?Oy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pr=(t,e,n)=>Iy(t,typeof e!="symbol"?e+"":e,n),Cy={getAxisInstance:function(){return this.axis||new Py(this)}};class Py{constructor(e){pr(this,"owner"),pr(this,"x"),pr(this,"subX"),pr(this,"y"),pr(this,"y2"),pr(this,"axesList",{}),pr(this,"tick",{x:null,y:null,y2:null}),pr(this,"xs",[]),pr(this,"orient",{x:"bottom",y:"left",y2:"right",subX:"bottom"}),this.owner=e,this.setOrient()}getAxisClassName(e){return`${fn.axis} ${fn[`axis${Ln(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||ln(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=fn[`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?Ou:Ru:e==="y"?l=o?Ru:Ou:e==="y2"&&(l=o?Ty:$y),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(ve(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`];ve(V)&&(S=V.bind(o.api))}let I=this.tick[u];const N=ea({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 L=new Ry(N).scale(c&&o.scale.zoom||n).orient(v);if(c&&this.isTimeSeries()&&I&&!ve(I)){const V=zn.bind(o);I=I.map(H=>V(H))}else!c&&this.isTimeSeriesY()&&(L.ticks(l.axis_y_tick_time_value),I=null);I&&L.tickValues(I),L.tickFormat(S||!c&&o.isStackNormalized()&&(V=>`${V}%`)),g&&(L.tickCentered(l.axis_x_tick_centered),_n(l.axis_x_tick_culling)&&(l.axis_x_tick_culling=!1));const C=l[`axis_${u}_tick_count`];return C&&L.ticks(C),L}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?ve(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,ve(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(ve(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 Ge(n)?n:n?n.text:null}setLabelText(e,n){const a=this.owner,{config:i}=a,s=this.getLabelOptionByAxisId(e);Ge(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=nr(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),L=Be(c.domain)&&c.domain[0]===c.domain[1]&&c.domain.every(K=>K>0);if(N||L)return c.size;c.domain=I,v||c.ticks.splice(0);const C=this.getAxis(e,S,!1,!1,!0),V=i[`${u}_tick_rotate`],H=i[`${u}_tick_count`];!i[`${u}_tick_values`]&&H&&C.tickValues(this.generateTickValues(I,H,v?this.isTimeSeriesY():this.isTimeSeries())),!v&&this.updateXAxisTickValues(m,C);const _=l.append("svg").style("visibility","hidden").style("position","fixed").style("top","0").style("left","0");C.create(_),_.selectAll("text").attr("transform",he(V)?`rotate(${V})`:null).each(function(K,at){const{width:pt,height:$t}=this.getBoundingClientRect();g.width=Math.max(g.width,pt),g.height=Math.max(g.height,$t),v||(c.ticks[at]=pt)}),_.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||_n(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 L=0;L!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=he(e)?e:e[n];return we(s)?this.owner.convertPixelToScale(/(bottom|top)/.test(n)?"y":"x",s,i):a}generateTickValues(e,n,a){let i=e;if(n){const s=ve(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${Ln(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 L=`axis_${N}_`,C=v[N];if(C){const V=g[`${L}tick_values`],H=g[`${L}tick_count`];if(C.domain(u.getYDomain(e,N,I)),!V&&H){const Y=u.axis[N],_=C.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=na(v.data()),S=m.length,I=n[`${u}_max`],N=n[`${u}_lines`];let L;if(S){for(let C=1;C{var u,g,v;if(o[c]=(u=s[c])==null?void 0:u.append("text").classed(fn[`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 wy={initEventRect(){this.$el.main.select(`.${Se.chart}`).append("g").attr("class",Zn.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(`.${Zn.eventRects}`).style("cursor",n.zoom_enabled&&n.zoom_type!=="drag"?n.axis_rotated?"ns-resize":"ew-resize":null).classed(Zn.eventRectsMultiple,s).classed(Zn.eventRectsSingle,!s).selectAll(`.${Zn.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(Zn.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(Zn.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=Zl(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(Zn.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:L})=>({prev:t.getPrevX(L),next:t.getNextX(L)});S=L=>{const C=N(L),V=i.domain();let H;return C.prev===null&&C.next===null?H=s?a.height:a.width:C.prev===null?H=(i(C.next)+i(L.x))/2:C.next===null?H=i(V[1])-(i(C.prev)+i(L.x))/2:(Object.keys(C).forEach((Y,_)=>{var K;C[Y]=(K=C[Y])!=null?K:V[_]}),H=Math.max(0,(i(C.next)-i(C.prev))/2)),H},I=L=>{const C=N(L);let V;return C.prev===null&&C.next===null?V=0:C.prev===null?V=i(i.domain()[0]):V=(i(L.x)+i(C.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)=>ve(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(.${sn.shape}-${e})`).classed(Se.EXPANDED,!1);const S=o.selectAll(`.${sn.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,L;const C=I.data();c&&(u||g!=null&&g.bind(i.api)(C))&&(t.style.cursor="pointer"),v||(i.showTooltip(C,t),(N=i.showGridFocus)==null||N.call(i,C),(L=i.unexpandCircles)==null||L.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=Hn(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(Hn(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(`.${sn.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=Hn(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 Ly={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=ec();let v;g.add(Object.keys(t).map(m=>(v=t[m].transition().ease(My).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(L=>{const C=[];for(let V=0;V{const C=t[L];if(L!=="axis.x"&&C.attr("transform",null),L==="grid.x")C.attr(i.xgridAttr);else if(L==="gridLines.x")C.attr("x1",o?0:u).attr("x2",o?i.width:u),C.select("text").attr("x",o?i.width:0).attr("y",u);else if(/^(area|bar|line)$/.test(L))C.attr("d",c.type[L]);else if(L==="text")C.attr("x",m).attr("y",S).style("fill-opacity",n.opacityForText.bind(n));else if(L==="circle")if(n.isCirclePoint())C.attr("cx",g).attr("cy",v);else{const V=Y=>g(Y)-a.point_r,H=Y=>v(Y)-a.point_r;C.attr("x",V).attr("y",H)}else L==="region.list"&&C.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=Lr(m)/2;const S=Lr(v)/Lr(m);return`translate(${g},0) scale(${S},1)`}},Dy={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 Ny=t=>we(t.position)||"end",Fy=t=>t.position==="start"?4:t.position==="middle"?0:-4;function Cu(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 Pu(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 By={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",`${an.grid} ${an.gridLines}`),a.gridLines.main.append("g").attr("class",an.xgridLines),a.gridLines.main.append("g").attr("class",an.ygridLines),a.gridLines.x=Uc([]))},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(`.${an.xgrids}`).selectAll(`.${an.xgrid}`).data(c),o.x.exit().remove(),o.x=o.x.enter().append("line").attr("class",an.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(`.${an.ygrids}`).selectAll(`.${an.ygrid}`).data(u),s.y.exit().remove(),s.y=s.y.enter().append("line").attr("class",an.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),Pu(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(`.${an[`${t}gridLines`]}`).selectAll(`.${an[`${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=>`${an[`${t}gridLine`]} ${g.class||""}`.trim()).select("text").attr("text-anchor",Ny).attr("transform",()=>l?o?null:"rotate(-90)":o?"rotate(-90)":null).attr("dx",Fy).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",Cu(!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",Cu(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?an.gridLines:Se.chart}${i?" + *":""}`,o=a.main.insert("g",s).attr("clip-path",n.pathGrid).attr("class",an.grid);if(a.grid.main=o,e.grid_x_show&&o.append("g").attr("class",an.xgrids),e.grid_y_show&&o.append("g").attr("class",an.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",Qe.xgridFocus).append("line").attr("class",Qe.xgridFocus),e.grid_focus_y&&!e.tooltip_grouped&&o.append("g").attr("class",Qe.ygridFocus).append("line").attr("class",Qe.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]=Hn(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 L=(e=n.scale[m])==null?void 0:e.invert(N);L&&(L=m==="x"&&n.axis.isTimeSeries()?i.xAxisTick(L):L==null?void 0:L.toFixed(2),S==null||S.attr(I,N).text(L))}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.${Qe.xgridFocus}, line.${Qe.ygridFocus}`),c=(t||[l.datum()]).filter(v=>v&&we(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(Qe.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,L)=>m.attr(N,I[L]))}),Pu(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.${Qe.xgridFocus}, line.${Qe.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.${Qe.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(`.${fn.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(Be(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?an.xgridLines:an.ygridLines,c=e?an.xgridLine:an.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)}},Uy={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=>we(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()?zn.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()?zn.call(n,e[g]):e[g])),v0&&(!i.axis_x_tick_autorotate||a.needToRotateXAxisTickTexts());return(i.axis_x_tick_multiline||L)&&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}},jy={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:[]},Gy={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:[]},Vy={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:[]},Xy=Object.defineProperty,wu=Object.getOwnPropertySymbols,Yy=Object.prototype.hasOwnProperty,Hy=Object.prototype.propertyIsEnumerable,Mu=(t,e,n)=>e in t?Xy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,To=(t,e)=>{for(var n in e||(e={}))Yy.call(e,n)&&Mu(t,n,e[n]);if(wu)for(var n of wu(e))Hy.call(e,n)&&Mu(t,n,e[n]);return t},Wy=To(To(To({axis_rotated:!1,axis_tooltip:!1},jy),Gy),Vy),Ky={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},Zy={data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1};const ky=[oy,ly,cy,uy,fy,dy,hy],Lu={axis:Cy,clip:Dy,eventrect:wy,flow:Ly,grid:By,region:Uy,sizeAxis:zy},Du={optDataAxis:Zy,optAxis:Wy,optGrid:Ky};var O1=Array.prototype.slice;function $o(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Me(t){return function(){return t}}function Jy(t,e){return et?1:e>=t?0:NaN}function Qy(t){return t}function _y(){var t=Qy,e=Jy,n=null,a=Me(0),i=Me(Ui),s=Me(0);function o(l){var c,u=(l=$o(l)).length,g,v,m=0,S=new Array(u),I=new Array(u),N=+a.apply(this,arguments),L=Math.min(Ui,Math.max(-Ui,i.apply(this,arguments)-N)),C,V=Math.min(Math.abs(L)/u,s.apply(this,arguments)),H=V*(L<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?(L-u*H)/m:0;c0?Y*v:0)+H,I[g]={data:l[g],index:c,value:Y,startAngle:N,endAngle:C,padAngle:V};return I}return o.value=function(l){return arguments.length?(t=typeof l=="function"?l:Me(+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:Me(+l),o):a},o.endAngle=function(l){return arguments.length?(i=typeof l=="function"?l:Me(+l),o):i},o.padAngle=function(l){return arguments.length?(s=typeof l=="function"?l:Me(+l),o):s},o}var qy=Math.pow;const So=Math.PI,Ao=2*So,Vr=1e-6,tx=Ao-Vr;function Nu(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Nu;const n=qy(10,e);return function(a){this._+=a[0];for(let i=1,s=a.length;iVr)if(!(Math.abs(v*c-u*g)>Vr)||!s)this._append`L${this._x1=e},${this._y1=n}`;else{let S=a-o,I=i-l,N=c*c+u*u,L=S*S+I*I,C=Math.sqrt(N),V=Math.sqrt(m),H=s*Math.tan((So-Math.acos((N+m-L)/(2*C*V)))/2),Y=H/V,_=H/C;Math.abs(Y-1)>Vr&&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)>Vr||Math.abs(this._y1-g)>Vr)&&this._append`L${u},${g}`,a&&(m<0&&(m=m%Ao+Ao),m>tx?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>Vr&&this._append`A${a},${a},0,${+(m>=So)},${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 nx(){return new Hi}nx.prototype=Hi.prototype;function I1(t=3){return new Hi(+t)}function bo(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 rx(t){return t.innerRadius}function ax(t){return t.outerRadius}function ix(t){return t.startAngle}function sx(t){return t.endAngle}function ox(t){return t&&t.padAngle}function lx(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+St*St&&(pt=lt,$t=dt),{cx:pt,cy:$t,x01:-g,y01:-v,x11:pt*(i/_-1),y11:$t*(i/_-1)}}function Fu(){var t=rx,e=ax,n=Me(0),a=null,i=ix,s=sx,o=ox,l=null,c=bo(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,L=Yc(N-I),C=N>I;if(l||(l=g=c()),SEn))l.moveTo(0,0);else if(L>Ui-En)l.moveTo(S*jr(I),S*rr(I)),l.arc(0,0,S,I,N,!C),m>En&&(l.moveTo(m*jr(N),m*rr(N)),l.arc(0,0,m,N,I,C));else{var V=I,H=N,Y=I,_=N,K=L,at=L,pt=o.apply(this,arguments)/2,$t=pt>En&&(a?+a.apply(this,arguments):sa(m*m+S*S)),lt=uo(Yc(S-m)/2,+n.apply(this,arguments)),dt=lt,Ft=lt,ht,Z;if($t>En){var St=Hc($t/m*rr(pt)),ct=Hc($t/S*rr(pt));(K-=St*2)>En?(St*=C?1:-1,Y+=St,_-=St):(K=0,Y=_=(I+N)/2),(at-=ct*2)>En?(ct*=C?1:-1,V+=ct,H-=ct):(at=0,V=H=(I+N)/2)}var At=S*jr(V),jt=S*rr(V),Ut=m*jr(_),kt=m*rr(_);if(lt>En){var Kt=S*jr(H),ae=S*rr(H),Ve=m*jr(Y),Oe=m*rr(Y),Xe;if(LEn?Ft>En?(ht=Wi(Ve,Oe,At,jt,S,Ft,C),Z=Wi(Kt,ae,Ut,kt,S,Ft,C),l.moveTo(ht.cx+ht.x01,ht.cy+ht.y01),FtEn)||!(K>En)?l.lineTo(Ut,kt):dt>En?(ht=Wi(Ut,kt,Kt,ae,m,-dt,C),Z=Wi(At,jt,Ve,Oe,m,-dt,C),l.lineTo(ht.cx+ht.x01,ht.cy+ht.y01),dte in t?cx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,gx=(t,e)=>{for(var n in e||(e={}))dx.call(e,n)&&Uu(t,n,e[n]);if(Bu)for(var n of Bu(e))hx.call(e,n)&&Uu(t,n,e[n]);return t},vx=(t,e)=>ux(t,fx(e));function zu(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):he(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=he(g)?g:g.call(e.api,v,m,c),S}}}function Eo(t){return function(e){const n=({startAngle:i=0,endAngle:s=0,padAngle:o=0})=>({startAngle:i,endAngle:s,padAngle:o}),a=Jr(n(this._current),n(e));return this._current=e,function(i){const s=a(i),{data:o,index:l,value:c}=e;return t(vx(gx({},s),{data:o,index:l,value:c}))}}}var px={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=_y().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!he(a)&&n&&(a=a[n.id]||0),Ne(i)&&n&&n.id in i?i=i[n.id]:he(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),L=(n=c.value)!=null?n:0,C=L{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(`.${Ue.arcRange}`).data(l);v.exit(),v=i(v.enter().append("text").attr("class",Ue.arcRange).style("text-anchor","middle").style("pointer-events","none").style("opacity","0").text(m=>{const S=c?m/u*100:m;return ve(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=ve(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(L=>isNaN(L)?0:L),I=Math.sqrt(m*m+S*S);let N=(i=["donut","gauge","pie","polar"].filter(s.hasType.bind(s)).map(L=>o[`${L}_label_ratio`]))==null?void 0:i[0];N?N=ve(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(`.${Qe.legendItemFocused}`).size()>0&&e.expandArc(t))},10);return}const i=e.mapToTargetIds(t);a.svg.selectAll(e.selectorTargets(i,`.${Ue.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",Eo(e.svgArcExpanded.bind(e))).transition().duration(o*2).attrTween("d",Eo(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,`.${Ue.chartArc}`)).selectAll("path").transition().duration(s=>e.getExpandConfig(s.data.id,"duration")).attrTween("d",Eo(e.svgArc.bind(e))),a.selectAll(`${Ue.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`]}),ve(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(`.${Ue.chartArcs}`),c=l.selectAll(`.${Ue.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,`.${Ue.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",Ue.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?Un.chartArcsGaugeTitle:Ue.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 he(i)||(i=e.arc_needle_value),bi(a,{NEEDLE_VALUE:he(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(`.${Ue.arcs}`).selectAll(`.${Ue.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=Jr(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,_e(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(`.${Ue.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,L=t.getNeedleAngle(),C=()=>{const V=t.getArcTitleWithNeedleValue();V&&t.setArcTitle(V)};if(C(),l.empty()&&(l=e.arcs.append("path").classed(Ue.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),C()})}),o){const V=ve(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(${L}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=ke(t)?t:n.arc_needle_value,c=n[`${n.data_type}_startingAngle`]||0,u=0;if(he(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":""}.${Ue.chartArcsBackground}`);if(a){let u=0;c=c.selectAll(`path.${Ue.chartArcsBackground}`).data(t.data.targets),c.enter().append("path").attr("class",(g,v)=>`${Ue.chartArcsBackground} ${Ue.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(vn.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),on(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(`.${Ue.chartArc}`).select("text").style("opacity","0").attr("class",u=>e.isGaugeType(u.data)?Un.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(`.${Ue.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(`.${Un.chartArcsGaugeUnit}`).attr("dy",`${u?1.5:.75}em`).text(n.gauge_units),s.select(`.${Un.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(`.${Un.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=he(t)?i=>i.index===t:i=>i.data.id===t;return n==null?void 0:n.selectAll(`.${Se.target} path`).filter(a)}};function ju(t){return t[0]}function Gu(t){return t[1]}function Vu(t,e){var n=Me(!0),a=null,i=go,s=null,o=bo(l);t=typeof t=="function"?t:t===void 0?ju:Me(t),e=typeof e=="function"?e:e===void 0?Gu:Me(e);function l(c){var u,g=(c=$o(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()}C&&(H[m]=+t(L,m,v),Y[m]=+e(L,m,v),l.point(a?+a(L,m,v):H[m],n?+n(L,m,v):Y[m]))}if(V)return l=null,V+""||null}function g(){return Vu().defined(i).curve(o).context(s)}return u.x=function(v){return arguments.length?(t=typeof v=="function"?v:Me(+v),a=null,u):t},u.x0=function(v){return arguments.length?(t=typeof v=="function"?v:Me(+v),u):t},u.x1=function(v){return arguments.length?(a=v==null?null:typeof v=="function"?v:Me(+v),u):a},u.y=function(v){return arguments.length?(e=typeof v=="function"?v:Me(+v),n=null,u):e},u.y0=function(v){return arguments.length?(e=typeof v=="function"?v:Me(+v),u):e},u.y1=function(v){return arguments.length?(n=v==null?null:typeof v=="function"?v:Me(+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:Me(!!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 oa={initArea(t){const e=this,{config:n}=e;t.insert("g",`.${n.area_front?$n.circles:ur.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,gr()).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 L=mx();L=s?L.y(c).x0(u).x1(g):L.x(c).y0(a.area_above?0:a.area_below?n.state.height:u).y1(g),i||(L=L.defined(C=>n.getBaseValue(C)!==null)),n.isStepType(v)&&(m=n.convertValuesToStep(m)),N=L.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=>he(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,` .${Kn.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(`.${Kn.bars}`).selectAll(`.${Kn.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,gr()).attr("d",s=>(he(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=he(o)&&o>0?()=>o:he(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`],L=!N&&I||N&&!I,C=["",""];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 pt=`a${V},${V} ${L?"1 0 0":"0 0 1"} `;C[+!s]=`${pt}${V},${V}`,C[+s]=`${pt}${[-V,V][s?"sort":"reverse"]()}`,L&&C.reverse()}const _=s?`H${v[1][m]+(L?V:-V)} ${C[0]}V${v[2][S]-V} ${C[1]}H${v[3][m]}`:`V${v[1][S]+(L?-V:V)} ${C[0]}H${v[2][m]-V} ${C[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&&(he(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,L=he(o)?o:o[v.id]||o._$width,C=a[`axis_${n.axis.getId(S)}_inverted`],V=v.value,H=l(v);let Y=c(v);a.axis_rotated&&!C&&(V>0&&Ye.isBubbleZType(o)?e.getBubbleZData(o.value,"y"):Ne(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 Ne(t)?t[e]:t[e==="y"?0:1]}},Tx=Object.defineProperty,Xu=Object.getOwnPropertySymbols,$x=Object.prototype.hasOwnProperty,Sx=Object.prototype.propertyIsEnumerable,Yu=(t,e,n)=>e in t?Tx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ax=(t,e)=>{for(var n in e||(e={}))$x.call(e,n)&&Yu(t,n,e[n]);if(Xu)for(var n of Xu(e))Sx.call(e,n)&&Yu(t,n,e[n]);return t},bx={initCandlestick(){const{$el:t}=this;t.candlestick=t.main.select(`.${Se.chart}`).append("g").attr("class",cr.chartCandlesticks)},updateTargetsForCandlestick(t){const e=this,{$el:n}=e,a=e.getChartClass("Candlestick");n.candlestick||e.initCandlestick(),e.$el.main.select(`.${cr.chartCandlesticks}`).selectAll(`.${cr.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(`.${cr.chartCandlestick}`).selectAll(`.${cr.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(cr[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):Ne(o)?o[V.id]:o)||n.color(V));const L=u.select("line"),C=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 C)L.attr(V,C[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=he(s)?s:s[g.id]||s._$width,N=n.getCandlestickData(g);let L;if(N&&he(N.open)&&he(N.close)){const C={start:o(g),end:0};C.end=C.start+I;const V={start:l(N.open),end:l(N.close)},H={x:C.start+I/2,high:l(N.high),low:l(N.low)};V.start-=m-S,L=[[C.start,V.start],[C.end,V.end],[H.x,H.low,H.high]]}else L=[[0,0],[0,0],[0,0,0]];return L}},redrawCandlestick(t,e,n=!1){const a=this,{$el:i,$T:s}=a,{candlestick:o}=n?i.subchart:i,l=gr(!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(Be(t)){const[n,a,i,s,o=!1]=t;e={open:n,high:a,low:i,close:s},o!==!1&&(e.volume=o)}else Ne(t)&&(e=Ax({},t));return e&&(e._isUp=e.close>=e.open),e||null}},Ex=Object.defineProperty,Hu=Object.getOwnPropertySymbols,Rx=Object.prototype.hasOwnProperty,Ox=Object.prototype.propertyIsEnumerable,Wu=(t,e,n)=>e in t?Ex(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ix=(t,e)=>{for(var n in e||(e={}))Rx.call(e,n)&&Wu(t,n,e[n]);if(Hu)for(var n of Hu(e))Ox.call(e,n)&&Wu(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=Ix({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}=Ku.call(e,{width:o.width,height:o.height});o.width{let l=s;return Ne(s)&&(l=t[o?"height":"width"]*s.ratio),l}),{width:a,height:i}}function Cx(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 Zu(t=!1){const e=this,{width:n,height:a,top:i,left:s}=Ki.call(e,!0),o=Ku.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 Px(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 wx={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=Px.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=Cx.call(t,ku.call(t,a.data()));n.attr("clip-path",`path('${Zu.bind(t)()}')`),n.background.attr("d",Zu.call(t,!0)),e(a).attr("d",(s,o)=>`M${i[o].join("L")}z`).style("opacity","1"),n.selectAll("g").style("opacity",null)}},Mx={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",Ue.chartArcsBackground).style("fill",!i&&e.gauge_background||null),e.gauge_units&&a(Un.chartArcsGaugeUnit),e.gauge_label_show&&(a(Un.chartArcsGaugeMin),!e.gauge_fullCircle&&a(Un.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(`.${Ue.arcs}`).selectAll(`.${Ue.arcLabelLine}`).data(t.arcData.bind(t));s.enter().append("rect").attr("class",l=>`${Ue.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,L=n.radius-I,C=N-(L===0?0:1/L);c=n.radiusExpanded-n.radius+I,g=Math.cos(C)*L,v=Math.sin(C)*L,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 ve(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 Lx(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 Dx(t,e,n){const a=this,i=[],s="2 2";if(ke(e)){const o=(l,c)=>on(l)?c:n?zn.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 Nx={initLine(){const{$el:t}=this;t.line=t.main.select(`.${Se.chart}`).append("g").attr("class",ur.chartLines).call(this.setCssRule(!1,`.${ur.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(`.${ur.chartLines}`).selectAll(`.${ur.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(`.${ur.lines}`).selectAll(`.${ur.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,gr()).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=Vu();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,L=0,C=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]&&(L=m(N[0].x),C=I(N[0].value)),V=o?`M ${C} ${L}`:`M ${L} ${C}`;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=Dx.bind(i)(t,a,l),g=i.hasNullDataValue(t);let v,m,S,I;const N=o?lt=>n(lt.value):lt=>e(lt.x),L=o?lt=>e(lt.x):lt=>n(lt.value),C=lt=>`M${lt[0][0]},${lt[0][1]}L${lt[1][0]},${lt[1][1]}`,V=l?(lt,dt,Ft,ht)=>{const Z=lt.x.getTime(),St=dt.x-lt.x,ct=new Date(Z+St*Ft),At=new Date(Z+St*(Ft+ht)),jt=o?[[n(m(Ft)),e(ct)],[n(m(Ft+S)),e(At)]]:[[e(ct),n(m(Ft))],[e(At),n(m(Ft+S))]];return C(jt)}:(lt,dt,Ft,ht)=>{const Z=e(dt.x,!o),St=n(dt.value,o),ct=Ft+ht,At=e(v(Ft),!o),jt=n(m(Ft),o);let Ut=e(v(ct),!o),kt=n(m(ct),o);Ut>Z&&(Ut=Z),lt.value>dt.value&&(o?ktSt)&&(kt=St);const Kt=[[At,jt],[Ut,kt]];return o&&Kt.forEach(ae=>ae.reverse()),C(Kt)},H={x:i.axis.getAxisType("x"),y:i.axis.getAxisType("y")};let Y="";const _=i.$el.line.filter(({id:lt})=>lt===t[0].id),K=_.clone().style("display","none"),at=(lt,dt)=>lt.attr("d",dt).node().getTotalLength(),pt={dash:[],lastLength:0};let $t=!1;for(let lt=0,dt;dt=t[lt];lt++){const Ft=t[lt-1],ht=Ft&&we(Ft.value);let Z=i.isWithinRegions(dt.x,u);if(we(dt.value)){if(on(u)||!Z||!ht)Y+=`${lt&&ht?"L":"M"}${N(dt)},${L(dt)}`;else if(ht)if(Z=((Z==null?void 0:Z.dasharray)||c).split(" ").map(Number),v=zr(H.x,Ft.x,dt.x),m=zr(H.y,Ft.value,dt.value),g){const St=e(dt.x)-e(Ft.x),ct=n(dt.value)-n(Ft.value),At=Math.sqrt(Math.pow(St,2)+Math.pow(ct,2));S=Z[0]/At,I=S*Z[1];for(let jt=S;jt<=1;jt+=I)Y+=V(Ft,dt,jt,S),jt+I>=1&&(Y+=V(Ft,dt,1,0))}else{let St=[];if($t=dt.x===t[t.length-1].x,l){const Ut=+Ft.x,kt=new Date(Ut),Kt=new Date(Ut+(+dt.x-Ut));St=[[e(kt),n(m(0))],[e(Kt),n(m(1))]]}else St=[[e(v(0)),n(m(0))],[e(v(1)),n(m(1))]];o&&St.forEach(Ut=>Ut.reverse());const ct=at(K,Y),At=at(K,Y+=`L${St[1].join(",")}`),jt=Lx(ct-pt.lastLength,At-pt.lastLength,Z,$t);pt.lastLength+=jt.length,pt.dash.push(jt.dash)}}}return pt.dash.length&&(!$t&&pt.dash.push(at(K,Y)),K.remove(),_.attr("stroke-dasharray",pt.dash.join(" "))),Y},isWithinRegions(t,e){for(let n=0,a;a=e[n];n++)if(a.startgr();var Zi={initialOpacityForCircle(t){const{config:e,state:{withoutFadeIn:n}}=this;let a=e.point_opacity;return on(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 on(a)&&(a=n.point_show&&!((e=this.isPointFocusOnly)!=null&&e.call(this))?null:"0",a=we(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} > .${$n.chartCircles}`).empty()&&e.select(`.${Se.chart}`).append("g").attr("class",$n.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(`.${$n.chartCircles}`).style("pointer-events","none").selectAll(`.${$n.circles}`).data(u);v.exit().remove(),g=v.enter()}o&&g.append("g").attr("class",v=>n.generateClass(qe.selectedCircles,v.id)),g.append("g").attr("class",c).call(v=>{n.setCssRule(!0,`.${$n.circles}`,["cursor:pointer"],l)(v),n.setCssRule(!0,` .${$n.circle}`,["fill","stroke"],n.color)(v)}).style("opacity",function(){return st(this.parentNode).attr("class").indexOf($n.chartCircles)>-1?"0":null}),o&&u.forEach(v=>{s.main.selectAll(`.${qe.selectedCircles}${n.getTargetSelectorSuffix(v.id)}`).selectAll(`${qe.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(`.${$n.circles}`).selectAll(`.${$n.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(`.${$n.circles} .${$n.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(`.${qe.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=gr(),I=s.opacityForCircle.bind(s),N=[];return u.circle.each(function(L){let C=v.bind(this)(L);C=c(C,n||!o,S).style("opacity",I),N.push(C)}),[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||on(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 L="hidden";we(N)&&(v.bind(this)(m),e.expandCircles(I,S),L=""),this.style.visibility=L})}},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):ve(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 ve(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=Hn(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 ve(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(Ne(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&&Swe(S.value)?e(S)-c/2:0,v=S=>we(S.value)?n(S)-u/2:0;let m=t;return i&&(s&&m.attr("x",g),m=l.$T(m,i,la()),o&&l.$T(o,i,la())),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,la())),o&&l.$T(c,i,la())),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,la()),o&&l.$T(o,i,la())),v.attr("x",u).attr("y",g).style("fill",a)}}};function Fx(t){return nr(t)&&ve(t.create)&&ve(t.update)}function Bx(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=vn.createElementNS(ie.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):Dr(o.childNodes).forEach(u=>{i(u,c.append(u.tagName).node())})}a.$el.defs.node().appendChild(l)}var ca={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=ln(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(!Fx(N||n.point_type)){const L=t.getDefsPointId(S);if(e.defs.select(`#${L}`).size()<1&&Bx.bind(t)(N,L),s==="create")return(g=t.custom)==null?void 0:g.create.bind(o)(I,L,...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 Ju(t){const e=t.config.polar_level_max;let n=t.getMinMaxData().max[0].value;return e&&e>n&&(n=e),n}var Ux={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",Tr.levels),a&&i&&t.generateTextBGColorFilter(i)},getPolarOuterRadius(t,e){var n;const a=Ju(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=Ju(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(`.${Tr.level}`).data(o);g.exit().remove();const v=g.enter().append("g").attr("class",(m,S)=>`${Tr.level} ${Tr.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 zx(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 ua=Dn.radarPoints,Qu=Dn.radarTextWidth;var jx={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",Jo.chartRadars),a.radar.levels=a.radar.append("g").attr("class",Tr.levels),a.radar.axes=a.radar.append("g").attr("class",fn.axis),a.radar.shapes=a.radar.append("g").attr("class",sn.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;_n(n.axis_x_categories)&&(n.axis_x_categories=Ai(0,qn("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=Dr(t).map(v=>zx(u,v,c,e,ke(n)?n:t==="x"?o:l,he(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(ua)||{},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(ua,i))},redrawRadar(){const t=this,{radar:e,main:n}=t.$el,a=t.getTranslate("radar");a&&(e.attr("transform",a),n.select(`.${In.chartTexts}`).attr("transform",a),t.generateRadarPoints(),t.updateRadarLevel(),t.updateRadarAxes(),t.updateRadarShape())},generateGetRadarPoints(){const t=this.cache.get(ua);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(C=>v*((C+1)/o)),S=(e.radar_level_text_format||function(){}).bind(t.api),I=g.map(C=>{const V=m[C];return Ai(0,l).map(Y=>t.getRadarPosition(["x","y"],Y,V,1).join(",")).join(" ")}),N=u.selectAll(`.${Tr.level}`).data(g);N.exit().remove();const L=N.enter().append("g").attr("class",(C,V)=>`${Tr.level} ${Tr.level}-${V}`);L.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)),L.append("text").attr("dx","-.5em").style("text-anchor","end").text(C=>S(n.current.dataMax/g.length*(C+1)))),L.merge(N).attr("transform",C=>`translate(${i-m[C]}, ${s-m[C]})`).selectAll("polygon").attr("points",C=>I[C]),c&&u.selectAll("text").attr("x",C=>on(C)?i:I[C].split(",")[0]).attr("y",C=>on(C)?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)=>`${fn.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(Qu)||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){on(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):SHl(m.node()).width);v.every(m=>m>0)&&t.cache.add(Qu,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=on(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(ua),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(ua)[t.id][t.index][0]},radarCircleY(t){return this.cache.get(ua)[t.id][t.index][1]}};function Gx(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 Vx(){return this.eachAfter(Gx)}function Xx(t,e){let n=-1;for(const a of this)t.call(e,a,++n,this);return this}function Yx(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 Hx(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 Zx(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function kx(t){for(var e=this,n=Jx(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 Jx(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 Qx(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function _x(){return Array.from(this)}function qx(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function t0(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}function*e0(){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(s0)}function n0(){return Ro(this).eachBefore(i0)}function r0(t){return t.children}function a0(t){return Array.isArray(t)?t[1]:null}function i0(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function s0(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=Ro.prototype={constructor:ki,count:Vx,each:Xx,eachAfter:Hx,eachBefore:Yx,find:Wx,sum:Kx,sort:Zx,path:kx,ancestors:Qx,descendants:_x,leaves:qx,links:t0,copy:n0,[Symbol.iterator]:e0};function o0(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=L*L*_,H=Math.max(V/K,K/C),H>Y){L-=u;break}Y=H}o.push(c={value:L,dice:S1?a:1)},n}(_u);function C1(t){return t==null?null:ef(t)}function ef(t){if(typeof t!="function")throw new Error;return t}function za(){return 0}function ja(t){return function(){return t}}function l0(){var t=tf,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(o0),m}function v(m){var S=i[m.depth],I=m.x0+S,N=m.y0+S,L=m.x1-S,C=m.y1-S;L=m-1){var V=s[v];V.x0=I,V.y0=N,V.x1=L,V.y1=C;return}for(var H=u[v],Y=S/2+H,_=v+1,K=m-1;_>>1;u[at]C-N){var lt=S?(I*$t+L*pt)/S:L;g(v,_,pt,I,N,lt,C),g(_,m,$t,lt,N,L,C)}else{var dt=S?(N*$t+C*pt)/S:C;g(v,_,pt,I,N,L,dt),g(_,m,$t,I,dt,L,C)}}}function c0(t,e,n,a,i){(t.depth&1?Qi:Ji)(t,e,n,a,i)}var u0=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}(_u);function f0(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 d0(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 h0(t){const e=this,n=Ro(t).sum(i=>i.value),a=e.getSortCompareFn(!0);return[e.treemap(a?n.sort(a):n)]}var g0={initTreemap(){const t=this,{$el:e,state:{current:{width:n,height:a},clip:i,datetimeId:s}}=t;i.id=`${s}-clip`,t.treemap=l0().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(_o.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:nf,dice:Ji,slice:Qi,sliceDice:c0,squarify:tf,resquarify:u0}[(t=a.treemap_tile)!=null?t:"binary"])!=null?e:nf;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:d0.bind(e)(e.filterTargetsToShow(t.filter(e.isTreemapType,e)))}},updateTargetsForTreemap(t){const e=this,{$el:{treemap:n}}=e,a=h0.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,gr()).call(f0.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),ve(s)?s.bind(e.api)(i,o,a):`${a} -${l}%`}}},Xr={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"},fa={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},v0={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},p0={bubble_maxR:35,bubble_zerobased:!1},m0={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},y0={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},x0={scatter_zerobased:!1},Oo={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},T0={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},$0={funnel_neck_width:0,funnel_neck_height:0},S0={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},A0={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},b0={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},E0={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},R0={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function da(t,e){xn(Gr.prototype,Object.values(Lu).concat(t)),xn(br.prototype,ky),Nr.setOptions(Object.values(Du).concat(e||[]))}function mr(t,e){da([ca,Zi,Nx].concat(t||[])),Nr.setOptions([Xr,y0].concat(e||[]))}function ha(t,e){xn(Gr.prototype,[px,ca].concat(t||[])),Nr.setOptions([Xr].concat(e||[]))}let rf=()=>(mr(oa,[fa]),(rf=()=>oe.AREA)()),af=()=>(mr(oa,[fa]),(af=()=>oe.AREA_LINE_RANGE)()),sf=()=>(mr(oa,[fa]),(sf=()=>oe.AREA_STEP_RANGE)()),of=()=>(mr(oa,[fa,Oo]),(of=()=>oe.AREA_SPLINE)()),lf=()=>(mr(oa,[fa,Oo]),(lf=()=>oe.AREA_SPLINE_RANGE)()),cf=()=>(mr(oa,[fa]),(cf=()=>oe.AREA_STEP)()),uf=()=>(mr(),(uf=()=>oe.LINE)()),ff=()=>(mr(void 0,[Oo]),(ff=()=>oe.SPLINE)()),df=()=>(mr(),(df=()=>oe.STEP)()),hf=()=>(ha(void 0,[_i,T0]),(hf=()=>oe.DONUT)()),gf=()=>(ha([Mx],[_i,S0]),(gf=()=>oe.GAUGE)()),vf=()=>(ha(void 0,[_i,A0]),(vf=()=>oe.PIE)()),pf=()=>(ha([Ux],[_i,b0]),(pf=()=>oe.POLAR)()),mf=()=>(ha([Lu.eventrect,Zi,jx],[Xr,E0,{axis_x_categories:Du.optAxis.axis_x_categories}]),(mf=()=>oe.RADAR)()),yf=()=>(da([yx,ca],[v0,Xr]),(yf=()=>oe.BAR)()),xf=()=>(da([ca,Zi,xx],[p0,Xr]),(xf=()=>oe.BUBBLE)()),Tf=()=>(da([bx,ca],[m0,Xr]),(Tf=()=>oe.CANDLESTICK)()),$f=()=>(da([ca,Zi],[Xr,x0]),($f=()=>oe.SCATTER)()),Sf=()=>(ha([wx],[$0]),(Sf=()=>oe.FUNNEL)()),Af=()=>(da([g0],[R0]),(Af=()=>oe.TREEMAP)()),Io={};const bf={version:"3.13.0-nightly-20240921004638",generate(t){const e=ea({},Io,t),n=new br(e);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(t){return Ne(t)&&(Io=t),Io},instance:[],plugin:{}};Object.keys(d).forEach(t=>d[t]()),Object.keys(f).forEach(t=>f[t]())}],Va={};function jn(x){var E=Va[x];if(E!==void 0)return E.exports;var r=Va[x]={exports:{}};return Co[x].call(r.exports,r,r.exports,jn),r.exports}(function(){jn.d=function(x,E){for(var r in E)jn.o(E,r)&&!jn.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:E[r]})}})(),function(){jn.o=function(x,E){return Object.prototype.hasOwnProperty.call(x,E)}}(),function(){jn.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}(),jn(0);var Xa=jn(559);return Xa}()}); +${l}%`}}},Xr={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"},fa={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},v0={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},p0={bubble_maxR:35,bubble_zerobased:!1},m0={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},y0={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},x0={scatter_zerobased:!1},Oo={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},T0={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},$0={funnel_neck_width:0,funnel_neck_height:0},S0={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},A0={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},b0={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},E0={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},R0={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function da(t,e){xn(Gr.prototype,Object.values(Lu).concat(t)),xn(br.prototype,ky),Nr.setOptions(Object.values(Du).concat(e||[]))}function mr(t,e){da([ca,Zi,Nx].concat(t||[])),Nr.setOptions([Xr,y0].concat(e||[]))}function ha(t,e){xn(Gr.prototype,[px,ca].concat(t||[])),Nr.setOptions([Xr].concat(e||[]))}let rf=()=>(mr(oa,[fa]),(rf=()=>oe.AREA)()),af=()=>(mr(oa,[fa]),(af=()=>oe.AREA_LINE_RANGE)()),sf=()=>(mr(oa,[fa]),(sf=()=>oe.AREA_STEP_RANGE)()),of=()=>(mr(oa,[fa,Oo]),(of=()=>oe.AREA_SPLINE)()),lf=()=>(mr(oa,[fa,Oo]),(lf=()=>oe.AREA_SPLINE_RANGE)()),cf=()=>(mr(oa,[fa]),(cf=()=>oe.AREA_STEP)()),uf=()=>(mr(),(uf=()=>oe.LINE)()),ff=()=>(mr(void 0,[Oo]),(ff=()=>oe.SPLINE)()),df=()=>(mr(),(df=()=>oe.STEP)()),hf=()=>(ha(void 0,[_i,T0]),(hf=()=>oe.DONUT)()),gf=()=>(ha([Mx],[_i,S0]),(gf=()=>oe.GAUGE)()),vf=()=>(ha(void 0,[_i,A0]),(vf=()=>oe.PIE)()),pf=()=>(ha([Ux],[_i,b0]),(pf=()=>oe.POLAR)()),mf=()=>(ha([Lu.eventrect,Zi,jx],[Xr,E0,{axis_x_categories:Du.optAxis.axis_x_categories}]),(mf=()=>oe.RADAR)()),yf=()=>(da([yx,ca],[v0,Xr]),(yf=()=>oe.BAR)()),xf=()=>(da([ca,Zi,xx],[p0,Xr]),(xf=()=>oe.BUBBLE)()),Tf=()=>(da([bx,ca],[m0,Xr]),(Tf=()=>oe.CANDLESTICK)()),$f=()=>(da([ca,Zi],[Xr,x0]),($f=()=>oe.SCATTER)()),Sf=()=>(ha([wx],[$0]),(Sf=()=>oe.FUNNEL)()),Af=()=>(da([g0],[R0]),(Af=()=>oe.TREEMAP)()),Io={};const bf={version:"3.13.0-nightly-20240924004652",generate(t){const e=ea({},Io,t),n=new br(e);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(t){return Ne(t)&&(Io=t),Io},instance:[],plugin:{}};Object.keys(d).forEach(t=>d[t]()),Object.keys(f).forEach(t=>f[t]())}],Va={};function jn(x){var E=Va[x];if(E!==void 0)return E.exports;var r=Va[x]={exports:{}};return Co[x].call(r.exports,r,r.exports,jn),r.exports}(function(){jn.d=function(x,E){for(var r in E)jn.o(E,r)&&!jn.o(x,r)&&Object.defineProperty(x,r,{enumerable:!0,get:E[r]})}})(),function(){jn.o=function(x,E){return Object.prototype.hasOwnProperty.call(x,E)}}(),function(){jn.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}(),jn(0);var Xa=jn(559);return Xa}()}); diff --git a/dist/plugin/billboardjs-plugin-bubblecompare.js b/dist/plugin/billboardjs-plugin-bubblecompare.js index f68769cf9..8f0de77ef 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -133,7 +133,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 a02276a2b..1e8ee3185 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @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.13.0-nightly-20240921004638");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.13.0-nightly-20240924004652");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 5ff58b706..a55840d9e 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -799,7 +799,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 a9066c9a3..48a3d87fa 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @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}},C={};function d(e){var t=C[e];if(t!==void 0)return t.exports;var n=C[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,k=Object.prototype.propertyIsEnumerable,A=(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)&&A(e,n,t[n]);if(P)for(var n of P(t))k.call(t,n)&&A(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_"},q={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"},V={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},Y={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"},Me={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),q),H),U),X),V),Y),G),z),K),Z),J),Q),ee),W),te),ne),re),ie),se),oe),le),ce),ae),ue),Le=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,ke]=de(g);var he=Object.defineProperty,S=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,I=(e,t,n)=>t in e?he(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M=(e,t)=>{for(var n in t||(t={}))pe.call(t,n)&&I(e,n,t[n]);if(S)for(var n of S(t))ge.call(t,n)&&I(e,n,t[n]);return e};const qe=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,Ve=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 Ye(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 L(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)=>M(M({},n),r))}function we(e={},t){x(t)&&t.forEach(n=>we(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 Ee=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(Ee(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,t=0,n=0,r=!0){const i=new DOMPoint(t,n),s=e.getScreenCTM();return i.matrixTransform(r?s==null?void 0:s.inverse():s)}function ut(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 bt(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 dt(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 ht=(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 gt(e,t){let n=e;for(const r in t)n=n.replace(new RegExp(`{=${r}}`,"g"),t[r]);return n}function mt(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 vt(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function _t(e,t,n=!1){const r=!!e.node;let i=!1;for(const[s,o]of Object.entries(t))if(i=r?e.style(s)===o:e.style[s]===o,n===!1&&i)break;return i}function yt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function xt(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 Ce(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,Ae=(e,t,n)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t,n)=>Ae(e,typeof t!="symbol"?t+"":t,n);class F{constructor(t={}){w(this,"$$"),w(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}w(F,"version","3.13.0-nightly-20240921004638");class Re{constructor(){return{selector:void 0}}}var Se=Object.defineProperty,Ie=(e,t,n)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>Ie(e,typeof t!="symbol"?t+"":t,n);class j extends F{constructor(t){return super(t),E(this,"config"),E(this,"element"),this.config=new Re,this}$beforeInit(){Ce.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 E(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 L(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)=>M(M({},n),r))}function we(e={},t){x(t)&&t.forEach(n=>we(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 Ee=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(Ee(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,t=0,n=0,r=!0){const i=new DOMPoint(t,n),s=e.getScreenCTM();return i.matrixTransform(r?s==null?void 0:s.inverse():s)}function ut(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 bt(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 dt(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 ht=(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 gt(e,t){let n=e;for(const r in t)n=n.replace(new RegExp(`{=${r}}`,"g"),t[r]);return n}function mt(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 vt(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function _t(e,t,n=!1){const r=!!e.node;let i=!1;for(const[s,o]of Object.entries(t))if(i=r?e.style(s)===o:e.style[s]===o,n===!1&&i)break;return i}function yt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function xt(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 Ce(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,Ae=(e,t,n)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t,n)=>Ae(e,typeof t!="symbol"?t+"":t,n);class F{constructor(t={}){w(this,"$$"),w(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}w(F,"version","3.13.0-nightly-20240924004652");class Re{constructor(){return{selector:void 0}}}var Se=Object.defineProperty,Ie=(e,t,n)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>Ie(e,typeof t!="symbol"?t+"":t,n);class j extends F{constructor(t){return super(t),E(this,"config"),E(this,"element"),this.config=new Re,this}$beforeInit(){Ce.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 E(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 9c767a3c5..a2ad8f4a8 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -836,7 +836,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); // 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 53eeca4ea..a92f9388d 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @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(L,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=L},390:function(e){e.exports=W},798:function(e){e.exports=f},455:function(e){e.exports=_},747:function(e){e.exports=H}},j={};function h(e){var t=j[e];if(t!==void 0)return t.exports;var n=j[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 D=h(218),J=h(798),E=h(455),Q=Object.defineProperty,I=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(I)for(var n of I(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,Te=Object.prototype.hasOwnProperty,Ae=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={}))Te.call(t,n)&&q(e,n,t[n]);if(F)for(var n of F(t))Ae.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",Me=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=>Me(e)||e===null||x(e)&&e.length===0||P(e)&&!(e instanceof Date)&&Object.keys(e).length===0||O(e)&&isNaN(e),Le=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 je(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=je(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 De(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 V(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 Ie(e={},t){R(t)&&t.forEach(n=>Ie(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Mt=e=>e.charAt(0).toUpperCase()+e.slice(1);function Lt(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 jt(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 Dt(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 It(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,t=0,n=0,o=!0){const r=new DOMPoint(t,n),s=e.getScreenCTM();return r.matrixTransform(o?s==null?void 0:s.inverse():s)}function Ft(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 qt(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 Bt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function T(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]=T(e[o],r)):e[o]=R(r)?r.concat():r}),T(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||oLe(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(T({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 Vt(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(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function Gt(e,t,n=!1){const o=!!e.node;let r=!1;for(const[s,a]of Object.entries(t))if(r=o?e.style(s)===a:e.style[s]===a,n===!1&&r)break;return r}function kt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function zt(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 Ve=Object.defineProperty,Ye=(e,t,n)=>t in e?Ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t,n)=>Ye(e,typeof t!="symbol"?t+"":t,n);class Y{constructor(t={}){A(this,"$$"),A(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}A(Y,"version","3.13.0-nightly-20240921004638");var Ge=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,G=(e,t,n)=>He(e,typeof t!="symbol"?t+"":t,n);class Ke{constructor(t){G(this,"owner"),G(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,Ge.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,M=(e,t,n)=>rt(e,typeof t!="symbol"?t+"":t,n);class st extends Y{constructor(t){return super(t),M(this,"config"),M(this,"colorScale"),M(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,D.hsl)(250,1,.5),(0,D.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 je(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=je(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 De(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 V(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 Ie(e={},t){R(t)&&t.forEach(n=>Ie(e,n));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Mt=e=>e.charAt(0).toUpperCase()+e.slice(1);function Lt(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 jt(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 Dt(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 It(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,t=0,n=0,o=!0){const r=new DOMPoint(t,n),s=e.getScreenCTM();return r.matrixTransform(o?s==null?void 0:s.inverse():s)}function Ft(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 qt(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 Bt(e){return e&&e.length?e.reduce((t,n)=>t.concat(n)):[]}function T(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]=T(e[o],r)):e[o]=R(r)?r.concat():r}),T(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||oLe(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(T({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 Vt(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(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function Gt(e,t,n=!1){const o=!!e.node;let r=!1;for(const[s,a]of Object.entries(t))if(r=o?e.style(s)===a:e.style[s]===a,n===!1&&r)break;return r}function kt(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function zt(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 Ve=Object.defineProperty,Ye=(e,t,n)=>t in e?Ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t,n)=>Ye(e,typeof t!="symbol"?t+"":t,n);class Y{constructor(t={}){A(this,"$$"),A(this,"options"),this.options=t}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(t=>{this[t]=null,delete this[t]})}}A(Y,"version","3.13.0-nightly-20240924004652");var Ge=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,G=(e,t,n)=>He(e,typeof t!="symbol"?t+"":t,n);class Ke{constructor(t){G(this,"owner"),G(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,Ge.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,M=(e,t,n)=>rt(e,typeof t!="symbol"?t+"":t,n);class st extends Y{constructor(t){return super(t),M(this,"config"),M(this,"colorScale"),M(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,D.hsl)(250,1,.5),(0,D.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 8a71b1f40..6fdc3dc5a 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -618,7 +618,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 18f615fc0..3d0b44dec 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @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=i=>setTimeout(i,1),r=i=>clearTimeout(i);return[t?e.requestAnimationFrame:o,t?e.cancelAnimationFrame:r,n?e.requestIdleCallback:o,n?e.cancelIdleCallback:r]}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",k=e=>Y(e)||e===null||g(e)&&e.length===0||O(e)&&!(e instanceof Date)&&Object.keys(e).length===0||_(e)&&isNaN(e),H=e=>!k(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 Te(e,t,...n){const o=X(e);return o&&e.call(t,...n),o}function $e(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 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 r=[e.text(),t].map(i=>i.replace(/[\s\n]/g,""));if(r[0]!==r[1]){const i=t.split(` -`),l=o?i.length-1:1;e.html(""),i.forEach((s,$)=>{e.append("tspan").attr("x",0).attr("dy",`${$===0?n[0]*l:n[1]}em`).text(s)})}}}function G(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 Se(e){const{width:t,height:n}=e.getBoundingClientRect(),o=G(e),r=o[0].x,i=Math.min(o[0].y,o[1].y);return{x:r,y:i,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 r=[0,0];try{r=d3Pointer(o||e,t)}catch(i){}return r.map(i=>isNaN(i)?0:i)}function K(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 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,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 N(e,t,n,o,r){if(n>o)return-1;const i=Math.floor((n+o)/2);let{x:l,w:s=0}=e[i];return r&&(l=e[i].y,s=e[i].h),t>=l&&t<=l+s?i:t{if(v(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)=>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 Ie=e=>e.charAt(0).toUpperCase()+e.slice(1);function Fe(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:r}=e,l=`${o} ${(s=>s.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](l,r.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(r){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${r.toString()}`)}}),t}function Ve(e){var t,n,o,r,i,l;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((o=e.scrollLeft)!=null?o:0),y:((i=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?i:0)+((l=e.scrollTop)!=null?l:0)}}function Le(e,t=0,n=0,o=!0){const r=new DOMPoint(t,n),i=e.getScreenCTM();return r.matrixTransform(o?i==null?void 0:i.inverse():i)}function Ue(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 ze(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,r,i)=>i.indexOf(o)===r);return t?n.map(o=>new Date(o)):n}function Xe(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 r=n[o];v(r)?(!e[o]&&(e[o]={}),e[o]=E(e[o],r)):e[o]=x(r)?r.concat():r}),E(e,...t)}function Q(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||oH(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 ke=(e,t,n=1)=>{const o=[],r=Math.max(0,Math.ceil((t-e)/n))|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"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,r=e())=>{const i=V.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,m,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(i)}}})(),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 Ge(e){var t;let n;if(e instanceof Date)n=e;else if(g(e)){const{config:o,format:r}=this;n=(t=r.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 Ke(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function We(e,t,n=!1){const o=!!e.node;let r=!1;for(const[i,l]of Object.entries(t))if(r=o?e.style(i)===l:e.style[i]===l,n===!1&&r)break;return r}function Je(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Qe(e,t){const{DocumentTouch:n,matchMedia:o,navigator:r}=window;let i=!1;if(t)if(r&&"maxTouchPoints"in r)i=r.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)i=!0;else if(o!=null&&o("(pointer:coarse)").matches)i=!0;else{const s=r.userAgent;i=/\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"||i&&"touch"||"mouse"}function Z(e,t){t()===!1?requestAnimationFrame(()=>Z(e,t)):e()}function ee(e){const t=this.config;let n,o,r;const i=()=>{const l=o.shift();if(l&&n&&O(n)&&l in n)return n=n[l],i();if(!l)return n};Object.keys(t).forEach(l=>{n=e,o=l.split("_"),r=i(),A(r)&&(t[l]=r)}),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 B{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(B,"version","3.13.0-nightly-20240921004638");const f={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { +`),l=o?i.length-1:1;e.html(""),i.forEach((s,$)=>{e.append("tspan").attr("x",0).attr("dy",`${$===0?n[0]*l:n[1]}em`).text(s)})}}}function G(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 Se(e){const{width:t,height:n}=e.getBoundingClientRect(),o=G(e),r=o[0].x,i=Math.min(o[0].y,o[1].y);return{x:r,y:i,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 r=[0,0];try{r=d3Pointer(o||e,t)}catch(i){}return r.map(i=>isNaN(i)?0:i)}function K(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 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,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 N(e,t,n,o,r){if(n>o)return-1;const i=Math.floor((n+o)/2);let{x:l,w:s=0}=e[i];return r&&(l=e[i].y,s=e[i].h),t>=l&&t<=l+s?i:t{if(v(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)=>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 Ie=e=>e.charAt(0).toUpperCase()+e.slice(1);function Fe(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:r}=e,l=`${o} ${(s=>s.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(t)} {${n.join(";")}}`;return r[r.insertRule?"insertRule":"addRule"](l,r.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(r){(o=window.console)==null||o.warn(`Error while reading rules from ${n.href}: ${r.toString()}`)}}),t}function Ve(e){var t,n,o,r,i,l;return{x:((n=(t=window.pageXOffset)!=null?t:window.scrollX)!=null?n:0)+((o=e.scrollLeft)!=null?o:0),y:((i=(r=window.pageYOffset)!=null?r:window.scrollY)!=null?i:0)+((l=e.scrollTop)!=null?l:0)}}function Le(e,t=0,n=0,o=!0){const r=new DOMPoint(t,n),i=e.getScreenCTM();return r.matrixTransform(o?i==null?void 0:i.inverse():i)}function Ue(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 ze(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter((o,r,i)=>i.indexOf(o)===r);return t?n.map(o=>new Date(o)):n}function Xe(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 r=n[o];v(r)?(!e[o]&&(e[o]={}),e[o]=E(e[o],r)):e[o]=x(r)?r.concat():r}),E(e,...t)}function Q(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||oH(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 ke=(e,t,n=1)=>{const o=[],r=Math.max(0,Math.ceil((t-e)/n))|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"),(t,n,o=e())=>{t.dispatchEvent(new MouseEvent(n,o))}}catch(t){return(n,o,r=e())=>{const i=V.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,m,0,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.dispatchEvent(i)}}})(),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 Ge(e){var t;let n;if(e instanceof Date)n=e;else if(g(e)){const{config:o,format:r}=this;n=(t=r.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 Ke(e){const t=e.attr("viewBox");return t?/(\d+(\.\d+)?){3}/.test(t):!1}function We(e,t,n=!1){const o=!!e.node;let r=!1;for(const[i,l]of Object.entries(t))if(r=o?e.style(i)===l:e.style[i]===l,n===!1&&r)break;return r}function Je(){var e,t;return((e=document)==null?void 0:e.hidden)===!1||((t=document)==null?void 0:t.visibilityState)==="visible"}function Qe(e,t){const{DocumentTouch:n,matchMedia:o,navigator:r}=window;let i=!1;if(t)if(r&&"maxTouchPoints"in r)i=r.maxTouchPoints>0;else if("ontouchmove"in window||n&&document instanceof n)i=!0;else if(o!=null&&o("(pointer:coarse)").matches)i=!0;else{const s=r.userAgent;i=/\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"||i&&"touch"||"mouse"}function Z(e,t){t()===!1?requestAnimationFrame(()=>Z(e,t)):e()}function ee(e){const t=this.config;let n,o,r;const i=()=>{const l=o.shift();if(l&&n&&O(n)&&l in n)return n=n[l],i();if(!l)return n};Object.keys(t).forEach(l=>{n=e,o=l.split("_"),r=i(),A(r)&&(t[l]=r)}),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 B{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(B,"version","3.13.0-nightly-20240924004652");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 e3fda1143..21fcf4d9a 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -637,7 +637,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 f44e69264..e29b1b38a 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @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 h=R(),S=h==null?void 0:h.document,[he,pe,be,me]=F(h);var I=Object.defineProperty,E=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,M=(e,n,t)=>n in e?I(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,T=(e,n)=>{for(var t in n||(n={}))B.call(n,t)&&M(e,t,n[t]);if(E)for(var t of E(n))N.call(n,t)&&M(e,t,n[t]);return e};const _e=e=>e||e===0,V=e=>typeof e=="function",p=e=>typeof e=="string",m=e=>typeof e=="number",U=e=>typeof e=="undefined",j=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||p(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 j(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 Me(e){return p(e)?e.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):e}function Te(e,n,t=[-1,1],o=!1){if(!(!e||!p(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 je(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 $e(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 Ae(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 $(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)=>T(T({},t),o))}function k(e={},n){g(n)&&n.forEach(t=>k(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 G=e=>[].slice.call(e);function Se(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 Ie(e){let n=[];return e.forEach(t=>{var o;try{t.cssRules&&t.cssRules.length&&(n=n.concat(G(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,n=0,t=0,o=!0){const r=new DOMPoint(n,t),i=e.getScreenCTM();return r.matrixTransform(o?i==null?void 0:i.inverse():i)}function Ve(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 Ue(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 Xe(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 H(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=H(t,e==="min")[0]):t=void 0,t}const Le=(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=S.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,h,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 ke(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(p(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(e){const n=e.attr("viewBox");return n?/(\d+(\.\d+)?){3}/.test(n):!1}function Ke(e,n,t=!1){const o=!!e.node;let r=!1;for(const[i,s]of Object.entries(n))if(r=o?e.style(i)===s:e.style[i]===s,t===!1&&r)break;return r}function We(){var e,n;return((e=document)==null?void 0:e.hidden)===!1||((n=document)==null?void 0:n.visibilityState)==="visible"}function Je(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 K(e,n){n()===!1?requestAnimationFrame(()=>K(e,n)):e()}function W(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(),j(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 A{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(A,"version","3.13.0-nightly-20240921004638");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 A{constructor(n){return super(n),ne(this,"config"),this.config=new Z,this}$init(){W.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 je(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 $e(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 Ae(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 $(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)=>T(T({},t),o))}function k(e={},n){g(n)&&n.forEach(t=>k(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 G=e=>[].slice.call(e);function Se(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 Ie(e){let n=[];return e.forEach(t=>{var o;try{t.cssRules&&t.cssRules.length&&(n=n.concat(G(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,n=0,t=0,o=!0){const r=new DOMPoint(n,t),i=e.getScreenCTM();return r.matrixTransform(o?i==null?void 0:i.inverse():i)}function Ve(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 Ue(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 Xe(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 H(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=H(t,e==="min")[0]):t=void 0,t}const Le=(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=S.createEvent("MouseEvent");i.initMouseEvent(o,r.bubbles,r.cancelable,h,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 ke(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(p(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(e){const n=e.attr("viewBox");return n?/(\d+(\.\d+)?){3}/.test(n):!1}function Ke(e,n,t=!1){const o=!!e.node;let r=!1;for(const[i,s]of Object.entries(n))if(r=o?e.style(i)===s:e.style[i]===s,t===!1&&r)break;return r}function We(){var e,n;return((e=document)==null?void 0:e.hidden)===!1||((n=document)==null?void 0:n.visibilityState)==="visible"}function Je(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 K(e,n){n()===!1?requestAnimationFrame(()=>K(e,n)):e()}function W(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(),j(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 A{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(A,"version","3.13.0-nightly-20240924004652");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 A{constructor(n){return super(n),ne(this,"config"),this.config=new Z,this}$init(){W.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;)(Tt=ut[_])&&(yt&&Tt.compareDocumentPosition(yt)^4&&yt.parentNode.insertBefore(Tt,yt),yt=Tt);return this}function W(R){R||(R=V);function M(or,cr){return or&&cr?R(or.__data__,cr.__data__):!or-!cr}for(var X=this._groups,ut=X.length,_=new Array(ut),yt=0;ytM?1:R>=M?0:NaN}function K(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function z(){return Array.from(this)}function it(){for(var R=this._groups,M=0,X=R.length;M=0&&(M=R.slice(0,X))!=="xmlns"&&(R=R.slice(X+1)),Bt.hasOwnProperty(M)?{space:Bt[M],local:R}:R}function Nt(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function ct(R,M){return function(){this.setAttribute(R,M)}}function It(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Ct(R,M){return function(){var X=M.apply(this,arguments);X==null?this.removeAttribute(R):this.setAttribute(R,X)}}function Ot(R,M){return function(){var X=M.apply(this,arguments);X==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,X)}}function Dt(R,M){var X=Ut(R);if(arguments.length<2){var ut=this.node();return X.local?ut.getAttributeNS(X.space,X.local):ut.getAttribute(X)}return this.each((M==null?X.local?at:Nt:typeof M=="function"?X.local?Ot:Ct:X.local?It:ct)(X,M))}function Wt(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Kt(R){return function(){this.style.removeProperty(R)}}function bt(R,M,X){return function(){this.style.setProperty(R,M,X)}}function Mt(R,M,X){return function(){var ut=M.apply(this,arguments);ut==null?this.style.removeProperty(R):this.style.setProperty(R,ut,X)}}function Vt(R,M,X){return arguments.length>1?this.each((M==null?Kt:typeof M=="function"?Mt:bt)(R,M,X==null?"":X)):jt(this.node(),R)}function jt(R,M){return R.style.getPropertyValue(M)||Wt(R).getComputedStyle(R,null).getPropertyValue(M)}function Lt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function st(R,M){return function(){var X=M.apply(this,arguments);X==null?delete this[R]:this[R]=X}}function Y(R,M){return arguments.length>1?this.each((M==null?Lt:typeof M=="function"?st:q)(R,M)):this.node()[R]}function xt(R){return R.trim().split(/^|\s+/)}function St(R){return R.classList||new gt(R)}function gt(R){this._node=R,this._names=xt(R.getAttribute("class")||"")}gt.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 ht(R,M){for(var X=St(R),ut=-1,_=M.length;++ut<_;)X.add(M[ut])}function Jt(R,M){for(var X=St(R),ut=-1,_=M.length;++ut<_;)X.remove(M[ut])}function Zt(R){return function(){ht(this,R)}}function G(R){return function(){Jt(this,R)}}function w(R,M){return function(){(M.apply(this,arguments)?ht:Jt)(this,R)}}function tt(R,M){var X=xt(R+"");if(arguments.length<2){for(var ut=St(this.node()),_=-1,yt=X.length;++_=0&&(X=M.slice(ut+1),M=M.slice(0,ut)),{type:M,name:X}})}function nr(R){return function(){var M=this.__on;if(M){for(var X=0,ut=-1,_=M.length,yt;X<_;++X)yt=M[X],(!R.type||yt.type===R.type)&&yt.name===R.name?this.removeEventListener(yt.type,yt.listener,yt.options):M[++ut]=yt;++ut?M.length=ut:delete this.__on}}}function er(R,M,X){return function(){var ut=this.__on,_,yt=Er(M);if(ut){for(var Tt=0,Pt=ut.length;TtM in R?ar(R,M,{enumerable:!0,configurable:!0,writable:!0,value:X}):R[M]=X,qt=(R,M,X)=>rt(R,typeof M!="symbol"?M+"":M,X);class vr{constructor(M={}){qt(this,"$$"),qt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}qt(vr,"version","3.13.0-nightly-20240921004638");var Ir=Object.defineProperty,Nr=(R,M,X)=>M in R?Ir(R,M,{enumerable:!0,configurable:!0,writable:!0,value:X}):R[M]=X,Tr=(R,M,X)=>Nr(R,typeof M!="symbol"?M+"":M,X);const mr=class jr extends vr{constructor(M){return super(M),Tr(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 X=this.getBubbleR(M),{expandScale:ut=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),X*ut}static raiseFocusedBubbleLayer(M){M.raise&&rr(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,X){const{$$:ut}=this;return M.filter(_=>_&&!ut.isBarType(_.id)).reduce((_,yt)=>ut.dist(yt,X){const or=this.getZData(Xt.values[0]);return[Math.min($t,or),Math.max(Gt,or)]},[1e4,0]),Pt=yt>0&&Tt===yt?0:_/Tt;return Math.abs(Pt)*(ut-X)+X}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Tr(mr,"version","0.0.1");let br=mr},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"),E=e(g,"maxByteLength","get"),x=n(p.getInt8),S=n(p.setInt8);s.exports=(v||i)&&function(T,O,I){var A=u(T),C=O===void 0?A:a(O),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&&E?{maxByteLength:E(T)}:void 0;N=new c(C,$);for(var U=new d(T),F=new d(N),D=h(C,A),L=0;L>8&255]},Ct=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},Ot=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Dt=function(q){return Nt(p(q),23,4)},Wt=function(q){return Nt(q,52,8)},Kt=function(q,st,Y){i(q[U],st,{configurable:!0,get:function(){return Y(this)[st]}})},bt=function(q,st,Y,xt){var St=j(q),gt=g(Y),ht=!!xt;if(gt+st>St.byteLength)throw new mt(D);var Jt=St.bytes,Zt=gt+St.byteOffset,G=S(Jt,Zt,Zt+st);return ht?G:Ut(G)},Mt=function(q,st,Y,xt,St,gt){var ht=j(q),Jt=g(Y),Zt=xt(+St),G=!!gt;if(Jt+st>ht.byteLength)throw new mt(D);for(var w=ht.bytes,tt=Jt+ht.byteOffset,k=0;kgt)throw new mt("Wrong offset");if(xt=xt===void 0?gt-ht:h(xt),ht+xt>gt)throw new mt(F);W(this,{type:$,buffer:st,byteLength:xt,byteOffset:ht,bytes:St.bytes}),e||(this.buffer=st,this.byteLength=xt,this.byteOffset=ht)},et=it[U],e&&(Kt(K,"byteLength",L),Kt(it,"buffer",j),Kt(it,"byteLength",j),Kt(it,"byteOffset",j)),v(et,{getInt8:function(st){return bt(this,1,st)[0]<<24>>24},getUint8:function(st){return bt(this,1,st)[0]},getInt16:function(st){var Y=bt(this,2,st,arguments.length>1?arguments[1]:!1);return(Y[1]<<8|Y[0])<<16>>16},getUint16:function(st){var Y=bt(this,2,st,arguments.length>1?arguments[1]:!1);return Y[1]<<8|Y[0]},getInt32:function(st){return Ot(bt(this,4,st,arguments.length>1?arguments[1]:!1))},getUint32:function(st){return Ot(bt(this,4,st,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(st){return at(bt(this,4,st,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(st){return at(bt(this,8,st,arguments.length>1?arguments[1]:!1),52)},setInt8:function(st,Y){Mt(this,1,st,ct,Y)},setUint8:function(st,Y){Mt(this,1,st,ct,Y)},setInt16:function(st,Y){Mt(this,2,st,It,Y,arguments.length>2?arguments[2]:!1)},setUint16:function(st,Y){Mt(this,2,st,It,Y,arguments.length>2?arguments[2]:!1)},setInt32:function(st,Y){Mt(this,4,st,Ct,Y,arguments.length>2?arguments[2]:!1)},setUint32:function(st,Y){Mt(this,4,st,Ct,Y,arguments.length>2?arguments[2]:!1)},setFloat32:function(st,Y){Mt(this,4,st,Dt,Y,arguments.length>2?arguments[2]:!1)},setFloat64:function(st,Y){Mt(this,8,st,Wt,Y,arguments.length>2?arguments[2]:!1)}});else{var Vt=C&&V.name!==N;!f(function(){V(1)})||!f(function(){new V(-1)})||f(function(){return new V,new V(1.5),new V(NaN),V.length!==1||Vt&&!P})?(K=function(st){return c(this,z),T(new V(g(st)),this,K)},K[U]=z,z.constructor=K,O(K,V)):Vt&&P&&u(V,"name",N),E&&m(et)!==lt&&E(et,lt);var jt=new it(new K(2)),Lt=n(et.setInt8);jt.setInt8(0,2147483648),jt.setInt8(1,2147483649),(jt.getInt8(0)||!jt.getInt8(1))&&v(et,{setInt8:function(st,Y){Lt(this,st,Y<<24>>24)},setUint8:function(st,Y){Lt(this,st,Y<<24>>24)}},{unsafe:!0})}I(K,N),I(it,$),s.exports={ArrayBuffer:K,DataView:it}},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,E=m>1?arguments[1]:void 0,x=E!==void 0;x&&(E=r(E,m>2?arguments[2]:void 0));var S=c(p),T=0,O,I,A,C,P,N;if(S&&!(this===d&&o(S)))for(I=y?new this:[],C=f(p,S),P=C.next;!(A=n(P,C)).done;T++)N=x?a(C,E,[A.value,T],!0):A.value,v(I,T,N);else for(O=i(p),I=y?new this(O):d(O);O>T;T++)N=x?E(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(E,x,S,T){for(var O=a(E),I=e(O),A=o(I),C=r(x,S),P=0,N=T||u,$=c?N(E,A):d||y?N(E,0):void 0,U,F;A>P;P++)if((m||P in I)&&(U=I[P],F=C(U,P,O),f))if(c)$[P]=F;else if(F)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,E=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=E;break}if(m+=E,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=E)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),F;F=F?F.next:$.first;)for(U(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(N){return!!C(this,N)}}),e(O,x?{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(O,"size",{configurable:!0,get:function(){return I(this).size}}),T},setStrong:function(m,E,x){var S=E+" Iterator",T=y(E),O=y(S);v(m,E,function(I,A){p(this,{type:S,target:I,state:T(I),kind:A,last:null})},function(){for(var I=O(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=null,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},x?"entries":"values",!x,!0),c(E)}}},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),E=0,x=function(O){return O.frozen||(O.frozen=new S)},S=function(){this.entries=[]},T=function(O,I){return p(O.entries,function(A){return A[0]===I})};S.prototype={get:function(O){var I=T(this,O);if(I)return I[1]},has:function(O){return!!T(this,O)},set:function(O,I){var A=T(this,O);A?A[1]=I:this.entries.push([O,I])},delete:function(O){var I=y(this.entries,function(A){return A[0]===O});return~I&&m(this.entries,I,1),!!~I}},s.exports={getConstructor:function(O,I,A,C){var P=O(function(F,D){a(F,N),h(F,{type:I,id:E++,frozen:null}),u(D)||v(D,F[C],{that:F,AS_ENTRIES:A})}),N=P.prototype,$=g(I),U=function(F,D,L){var j=$(F),W=e(o(D),!0);return W===!0?x(j).set(D,L):W[j.id]=L,F};return n(N,{delete:function(F){var D=$(this);if(!i(F))return!1;var L=e(F);return L===!0?x(D).delete(F):L&&c(L,D.id)&&delete L[D.id]},has:function(D){var L=$(this);if(!i(D))return!1;var j=e(D);return j===!0?x(L).has(D):j&&c(j,L.id)}}),n(N,A?{get:function(D){var L=$(this);if(i(D)){var j=e(D);if(j===!0)return x(L).get(D);if(j)return j[L.id]}},set:function(D,L){return U(this,D,L)}}:{add:function(D){return U(this,D,!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,E,x){var S=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,O=S?"set":"add",I=n[m],A=I&&I.prototype,C=I,P={},N=function(W){var V=e(A[W]);o(A,W,W==="add"?function(z){return V(this,z===0?0:z),this}:W==="delete"?function(K){return T&&!d(K)?!1:V(this,K===0?0:K)}:W==="get"?function(z){return T&&!d(z)?void 0:V(this,z===0?0:z)}:W==="has"?function(z){return T&&!d(z)?!1:V(this,z===0?0:z)}:function(z,it){return V(this,z===0?0:z,it),this})},$=a(m,!f(I)||!(T||A.forEach&&!h(function(){new I().entries().next()})));if($)C=x.getConstructor(E,m,S,O),u.enable();else if(a(m,!0)){var U=new C,F=U[O](T?{}:-0,1)!==U,D=h(function(){U.has(1)}),L=g(function(W){new I(W)}),j=!T&&h(function(){for(var W=new I,V=5;V--;)W[O](V,V);return!W.has(-0)});L||(C=E(function(W,V){v(W,A);var K=y(new I,W,C);return c(V)||i(V,K[O],{that:K,AS_ENTRIES:S}),K}),C.prototype=A,A.constructor=C),(D||j)&&(N("delete"),N("has"),S&&N("get")),(j||F)&&N(O),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==I},P),p(C,m),T||x.setStrong(C,m,S),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 x=this,S=d(x),T=g(x),O=S<0?"-":S>9999?"+":"";return O+e(u(S),O?6:4,0)+"-"+e(y(x)+1,2,0)+"-"+e(c(x),2,0)+"T"+e(h(x),2,0)+":"+e(p(x),2,0)+":"+e(m(x),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,E,x;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(E=f[y],v.dontCallGetSet?(x=n(p,y),m=x&&x.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof E==typeof m)continue;u(E,m)}(v.sham||m&&m.sham)&&e(E,"sham",!0),a(p,y,E,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 x={};return x[g]=function(){return 7},""[f](x)!==7}),y=p&&!a(function(){var x=!1,S=/a/;return f==="split"&&(S={},S.constructor={},S.constructor[i]=function(){return S},S.flags="",S[g]=/./[g]),S.exec=function(){return x=!0,null},S[g](""),!x});if(!p||!y||d){var m=/./[g],E=c(g,""[f],function(x,S,T,O,I){var A=S.exec;return A===e||A===v.exec?p&&!I?{done:!0,value:r(m,S,T,O)}:{done:!0,value:r(x,T,S,O)}:{done:!1}});n(String.prototype,f,E[0]),n(v,g,E[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,E,x;y0&&r(E)?(x=n(E),p=o(u,i,E,x,p,d-1)-1):(e(p+1),u[p]=E),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,E=v;return g!==void 0&&(g=n(g),E=i),o(p,E,function(x,S){var T;switch(a(S,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(S,1,-1)];break;default:var O=+S;if(O===0)return x;if(O>m){var I=e(O/10);return I===0?x:I<=m?h[I-1]===void 0?a(S,1):h[I-1]+a(S,1):x}T=h[O-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,E,x,S;for(i=t(i),i!==i||i===1/0?(x=i!==i?1:0,E=h):(E=n(e(i)/a),S=r(2,-E),i*S<1&&(E--,S*=2),E+g>=1?i+=p/S:i+=p*r(2,1-g),i*S>=2&&(E++,S/=2),E+g>=h?(x=0,E=h):E+g>=1?(x=(i*S-1)*r(2,v),E+=g):(x=i*r(2,g-1)*r(2,v),E=0));v>=8;)c[m++]=x&255,x/=256,v-=8;for(E=E<0;)c[m++]=E&255,E/=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,E;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(E=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)E=E*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return E?NaN:y?-1/0:1/0;E+=r(2,v),m-=h}return(y?-1:1)*E*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(O){u(O,g,{value:{objectID:"O"+p++,weakData:{}}})},m=function(O,I){if(!a(O))return typeof O=="symbol"?O:(typeof O=="string"?"S":"P")+O;if(!o(O,g)){if(!f(O))return"F";if(!I)return"E";y(O)}return O[g].objectID},E=function(O,I){if(!o(O,g)){if(!f(O))return!0;if(!I)return!1;y(O)}return O[g].weakData},x=function(O){return d&&h&&f(O)&&!o(O,g)&&y(O),O},S=function(){T.enable=function(){},h=!0;var O=i.f,I=n([].splice),A={};A[g]=1,O(A).length&&(i.f=function(C){for(var P=O(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:S,fastKey:m,getWeakData:E,onFreeze:x};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(S){return p(S)?g(S):h(S,{})},m=function(S){return function(T){var O;if(!e(T)||(O=g(T)).type!==S)throw new c("Incompatible receiver, "+S+" required");return O}};if(r||u.state){var E=u.state||(u.state=new d);E.get=E.get,E.has=E.has,E.set=E.set,h=function(S,T){if(E.has(S))throw new c(f);return T.facade=S,E.set(S,T),T},g=function(S){return E.get(S)||{}},p=function(S){return E.has(S)}}else{var x=i("state");v[x]=!0,h=function(S,T){if(o(S,x))throw new c(f);return T.facade=S,a(S,x,T),T},g=function(S){return o(S,x)?S[x]:{}},p=function(S){return o(S,x)}}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 E=m&&m.that,x=!!(m&&m.AS_ENTRIES),S=!!(m&&m.IS_RECORD),T=!!(m&&m.IS_ITERATOR),O=!!(m&&m.INTERRUPTED),I=r(y,E),A,C,P,N,$,U,F,D=function(j){return A&&c(A,"normal",j),new h(!0,j)},L=function(j){return x?(e(j),O?I(j[0],j[1],D):I(j[0],j[1])):O?I(j,D):I(j)};if(S)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=S?p.next:A.next;!(F=n(U,A)).done;){try{$=L(F.value)}catch(j){c(A,"throw",j)}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,E=p.IteratorPrototype,x=p.BUGGY_SAFARI_ITERATORS,S=h("iterator"),T="keys",O="values",I="entries",A=function(){return this};s.exports=function(C,P,N,$,U,F,D){u(N,P,$);var L=function(mt){if(mt===U&&z)return z;if(!x&&mt&&mt in V)return V[mt];switch(mt){case T:return function(){return new N(this,mt)};case O:return function(){return new N(this,mt)};case I:return function(){return new N(this,mt)}}return function(){return new N(this)}},j=P+" Iterator",W=!1,V=C.prototype,K=V[S]||V["@@iterator"]||U&&V[U],z=!x&&K||L(U),it=P==="Array"&&V.entries||K,et,lt,pt;if(it&&(et=i(it.call(new C)),et!==Object.prototype&&et.next&&(!e&&i(et)!==E&&(v?v(et,E):o(et[S])||d(et,S,A)),f(et,j,!0,!0),e&&(g[j]=A))),y&&U===O&&K&&K.name!==O&&(!e&&m?c(V,"name",O):(W=!0,z=function(){return n(K,this)})),U)if(lt={values:L(O),keys:F?z:L(T),entries:L(I)},D)for(pt in lt)(x||W||!(pt in V))&&d(V,pt,lt[pt]);else r({target:P,proto:!0,forced:x||W},lt);return(!e||D)&&V[S]!==z&&d(V,S,z,{name:U}),g[P]=z,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}),E=String(String).split("String"),x=s.exports=function(S,T,O){g(d(T),0,7)==="Symbol("&&(T="["+p(d(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(T="get "+T),O&&O.setter&&(T="set "+T),(!a(S,"name")||u&&S.name!==T)&&(o?h(S,"name",{value:T,configurable:!0}):S.name=T),m&&O&&a(O,"arity")&&S.length!==O.arity&&h(S,"length",{value:O.arity});try{O&&a(O,"constructor")&&O.constructor?o&&h(S,"prototype",{writable:!1}):S.prototype&&(S.prototype=void 0)}catch(A){}var I=f(S);return a(I,"source")||(I.source=y(E,typeof T=="string"?T:"")),S};Function.prototype.toString=x(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,E,x,S;if(!p){var T=new o,O=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,E=d.createTextNode(""),new c(O).observe(E,{characterData:!0}),y=function(){E.data=m=!m}):!i&&g&&g.resolve?(x=g.resolve(void 0),x.constructor=g,S=e(x.then,x),y=function(){S(O)}):f?y=function(){h.nextTick(O)}:(a=e(a,r),y=function(){a(O)}),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(E){p[E]=E}),c({},g)[y]!==7||o(c({},p)).join("")!==m})?function(p,y){for(var m=v(p),E=arguments.length,x=1,S=u.f,T=i.f;E>x;)for(var O=f(arguments[x++]),I=S?h(o(O),S(O)):o(O),A=I.length,C=0,P;A>C;)P=I[C++],(!r||e(T,O,P))&&(m[P]=O[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(S){return f+d+v+S+f+"/"+d+v},y=function(S){S.write(p("")),S.close();var T=S.parentWindow.Object;return S=null,T},m=function(){var S=u("iframe"),T="java"+d+":",O;return S.style.display="none",o.appendChild(S),S.src=String(T),O=S.contentWindow.document,O.open(),O.write(p("document.F=Object")),O.close(),O.F},E,x=function(){try{E=new ActiveXObject("htmlfile")}catch(T){}x=typeof document!="undefined"?document.domain&&E?y(E):m():y(E);for(var S=e.length;S--;)delete x[c][e[S]];return x()};a[h]=!0,s.exports=Object.create||function(T,O){var I;return T!==null?(g[c]=r(T),I=new g,g[c]=null,I[h]=T):I=x(),O===void 0?I:n.f(I,O)}},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,E=y.length,x=0,S=[],T;E>x;)T=y[x++],(!r||(m?T in p:v(p,T)))&&f(S,h?[T,p[T]]:p[T]);return S}};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 E=new n(function(T){T(1)}),x=function(T){T(function(){},function(){})},S=E.constructor={};if(S[d]=x,h=E.then(function(){})instanceof x,!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),E=n("".slice),x=function(){var I=/a/,A=/b*/g;return r(h,I,"a"),r(h,A,"a"),I.lastIndex!==0||A.lastIndex!==0}(),S=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,O=x||T||S||f||c;O&&(g=function(A){var C=this,P=v(C),N=e(A),$=P.raw,U,F,D,L,j,W,V;if($)return $.lastIndex=C.lastIndex,U=r(g,$,N),C.lastIndex=$.lastIndex,U;var K=P.groups,z=S&&C.sticky,it=r(a,C),et=C.source,lt=0,pt=N;if(z&&(it=m(it,"y",""),y(it,"g")===-1&&(it+="g"),pt=E(N,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&p(N,C.lastIndex-1)!==` + */(function(gr,sr){typeof exports=="object"&&typeof module=="object"?module.exports=sr():typeof define=="function"&&define.amd?define("bb",[],sr):typeof exports=="object"?exports.bb=sr():(gr.bb=gr.bb||{},gr.bb.plugin=gr.bb.plugin||{},gr.bb.plugin["bubblecompare.pkgd"]=sr())})(this,function(){return function(){"use strict";var Dr={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,X=M.length,ut=new Array(X),_=0;_=Mr&&(Mr=Rr+1);!(Br=$r[Mr])&&++Mr=0;)(Tt=ut[_])&&(yt&&Tt.compareDocumentPosition(yt)^4&&yt.parentNode.insertBefore(Tt,yt),yt=Tt);return this}function W(R){R||(R=V);function M(or,cr){return or&&cr?R(or.__data__,cr.__data__):!or-!cr}for(var X=this._groups,ut=X.length,_=new Array(ut),yt=0;ytM?1:R>=M?0:NaN}function K(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function z(){return Array.from(this)}function it(){for(var R=this._groups,M=0,X=R.length;M=0&&(M=R.slice(0,X))!=="xmlns"&&(R=R.slice(X+1)),Bt.hasOwnProperty(M)?{space:Bt[M],local:R}:R}function Nt(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function ct(R,M){return function(){this.setAttribute(R,M)}}function It(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Ct(R,M){return function(){var X=M.apply(this,arguments);X==null?this.removeAttribute(R):this.setAttribute(R,X)}}function Ot(R,M){return function(){var X=M.apply(this,arguments);X==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,X)}}function Dt(R,M){var X=Ut(R);if(arguments.length<2){var ut=this.node();return X.local?ut.getAttributeNS(X.space,X.local):ut.getAttribute(X)}return this.each((M==null?X.local?at:Nt:typeof M=="function"?X.local?Ot:Ct:X.local?It:ct)(X,M))}function Wt(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Kt(R){return function(){this.style.removeProperty(R)}}function bt(R,M,X){return function(){this.style.setProperty(R,M,X)}}function Mt(R,M,X){return function(){var ut=M.apply(this,arguments);ut==null?this.style.removeProperty(R):this.style.setProperty(R,ut,X)}}function Vt(R,M,X){return arguments.length>1?this.each((M==null?Kt:typeof M=="function"?Mt:bt)(R,M,X==null?"":X)):jt(this.node(),R)}function jt(R,M){return R.style.getPropertyValue(M)||Wt(R).getComputedStyle(R,null).getPropertyValue(M)}function Lt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function st(R,M){return function(){var X=M.apply(this,arguments);X==null?delete this[R]:this[R]=X}}function Y(R,M){return arguments.length>1?this.each((M==null?Lt:typeof M=="function"?st:q)(R,M)):this.node()[R]}function xt(R){return R.trim().split(/^|\s+/)}function St(R){return R.classList||new gt(R)}function gt(R){this._node=R,this._names=xt(R.getAttribute("class")||"")}gt.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 ht(R,M){for(var X=St(R),ut=-1,_=M.length;++ut<_;)X.add(M[ut])}function Jt(R,M){for(var X=St(R),ut=-1,_=M.length;++ut<_;)X.remove(M[ut])}function Zt(R){return function(){ht(this,R)}}function G(R){return function(){Jt(this,R)}}function w(R,M){return function(){(M.apply(this,arguments)?ht:Jt)(this,R)}}function tt(R,M){var X=xt(R+"");if(arguments.length<2){for(var ut=St(this.node()),_=-1,yt=X.length;++_=0&&(X=M.slice(ut+1),M=M.slice(0,ut)),{type:M,name:X}})}function nr(R){return function(){var M=this.__on;if(M){for(var X=0,ut=-1,_=M.length,yt;X<_;++X)yt=M[X],(!R.type||yt.type===R.type)&&yt.name===R.name?this.removeEventListener(yt.type,yt.listener,yt.options):M[++ut]=yt;++ut?M.length=ut:delete this.__on}}}function er(R,M,X){return function(){var ut=this.__on,_,yt=Er(M);if(ut){for(var Tt=0,Pt=ut.length;TtM in R?ar(R,M,{enumerable:!0,configurable:!0,writable:!0,value:X}):R[M]=X,qt=(R,M,X)=>rt(R,typeof M!="symbol"?M+"":M,X);class vr{constructor(M={}){qt(this,"$$"),qt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}qt(vr,"version","3.13.0-nightly-20240924004652");var Ir=Object.defineProperty,Nr=(R,M,X)=>M in R?Ir(R,M,{enumerable:!0,configurable:!0,writable:!0,value:X}):R[M]=X,Tr=(R,M,X)=>Nr(R,typeof M!="symbol"?M+"":M,X);const mr=class jr extends vr{constructor(M){return super(M),Tr(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 X=this.getBubbleR(M),{expandScale:ut=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),X*ut}static raiseFocusedBubbleLayer(M){M.raise&&rr(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,X){const{$$:ut}=this;return M.filter(_=>_&&!ut.isBarType(_.id)).reduce((_,yt)=>ut.dist(yt,X){const or=this.getZData(Xt.values[0]);return[Math.min($t,or),Math.max(Gt,or)]},[1e4,0]),Pt=yt>0&&Tt===yt?0:_/Tt;return Math.abs(Pt)*(ut-X)+X}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Tr(mr,"version","0.0.1");let br=mr},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"),E=e(g,"maxByteLength","get"),x=n(p.getInt8),S=n(p.setInt8);s.exports=(v||i)&&function(T,O,I){var A=u(T),C=O===void 0?A:a(O),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&&E?{maxByteLength:E(T)}:void 0;N=new c(C,$);for(var U=new d(T),F=new d(N),D=h(C,A),L=0;L>8&255]},Ct=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},Ot=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Dt=function(q){return Nt(p(q),23,4)},Wt=function(q){return Nt(q,52,8)},Kt=function(q,st,Y){i(q[U],st,{configurable:!0,get:function(){return Y(this)[st]}})},bt=function(q,st,Y,xt){var St=j(q),gt=g(Y),ht=!!xt;if(gt+st>St.byteLength)throw new mt(D);var Jt=St.bytes,Zt=gt+St.byteOffset,G=S(Jt,Zt,Zt+st);return ht?G:Ut(G)},Mt=function(q,st,Y,xt,St,gt){var ht=j(q),Jt=g(Y),Zt=xt(+St),G=!!gt;if(Jt+st>ht.byteLength)throw new mt(D);for(var w=ht.bytes,tt=Jt+ht.byteOffset,k=0;kgt)throw new mt("Wrong offset");if(xt=xt===void 0?gt-ht:h(xt),ht+xt>gt)throw new mt(F);W(this,{type:$,buffer:st,byteLength:xt,byteOffset:ht,bytes:St.bytes}),e||(this.buffer=st,this.byteLength=xt,this.byteOffset=ht)},et=it[U],e&&(Kt(K,"byteLength",L),Kt(it,"buffer",j),Kt(it,"byteLength",j),Kt(it,"byteOffset",j)),v(et,{getInt8:function(st){return bt(this,1,st)[0]<<24>>24},getUint8:function(st){return bt(this,1,st)[0]},getInt16:function(st){var Y=bt(this,2,st,arguments.length>1?arguments[1]:!1);return(Y[1]<<8|Y[0])<<16>>16},getUint16:function(st){var Y=bt(this,2,st,arguments.length>1?arguments[1]:!1);return Y[1]<<8|Y[0]},getInt32:function(st){return Ot(bt(this,4,st,arguments.length>1?arguments[1]:!1))},getUint32:function(st){return Ot(bt(this,4,st,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(st){return at(bt(this,4,st,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(st){return at(bt(this,8,st,arguments.length>1?arguments[1]:!1),52)},setInt8:function(st,Y){Mt(this,1,st,ct,Y)},setUint8:function(st,Y){Mt(this,1,st,ct,Y)},setInt16:function(st,Y){Mt(this,2,st,It,Y,arguments.length>2?arguments[2]:!1)},setUint16:function(st,Y){Mt(this,2,st,It,Y,arguments.length>2?arguments[2]:!1)},setInt32:function(st,Y){Mt(this,4,st,Ct,Y,arguments.length>2?arguments[2]:!1)},setUint32:function(st,Y){Mt(this,4,st,Ct,Y,arguments.length>2?arguments[2]:!1)},setFloat32:function(st,Y){Mt(this,4,st,Dt,Y,arguments.length>2?arguments[2]:!1)},setFloat64:function(st,Y){Mt(this,8,st,Wt,Y,arguments.length>2?arguments[2]:!1)}});else{var Vt=C&&V.name!==N;!f(function(){V(1)})||!f(function(){new V(-1)})||f(function(){return new V,new V(1.5),new V(NaN),V.length!==1||Vt&&!P})?(K=function(st){return c(this,z),T(new V(g(st)),this,K)},K[U]=z,z.constructor=K,O(K,V)):Vt&&P&&u(V,"name",N),E&&m(et)!==lt&&E(et,lt);var jt=new it(new K(2)),Lt=n(et.setInt8);jt.setInt8(0,2147483648),jt.setInt8(1,2147483649),(jt.getInt8(0)||!jt.getInt8(1))&&v(et,{setInt8:function(st,Y){Lt(this,st,Y<<24>>24)},setUint8:function(st,Y){Lt(this,st,Y<<24>>24)}},{unsafe:!0})}I(K,N),I(it,$),s.exports={ArrayBuffer:K,DataView:it}},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,E=m>1?arguments[1]:void 0,x=E!==void 0;x&&(E=r(E,m>2?arguments[2]:void 0));var S=c(p),T=0,O,I,A,C,P,N;if(S&&!(this===d&&o(S)))for(I=y?new this:[],C=f(p,S),P=C.next;!(A=n(P,C)).done;T++)N=x?a(C,E,[A.value,T],!0):A.value,v(I,T,N);else for(O=i(p),I=y?new this(O):d(O);O>T;T++)N=x?E(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(E,x,S,T){for(var O=a(E),I=e(O),A=o(I),C=r(x,S),P=0,N=T||u,$=c?N(E,A):d||y?N(E,0):void 0,U,F;A>P;P++)if((m||P in I)&&(U=I[P],F=C(U,P,O),f))if(c)$[P]=F;else if(F)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,E=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=E;break}if(m+=E,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=E)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),F;F=F?F.next:$.first;)for(U(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(N){return!!C(this,N)}}),e(O,x?{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(O,"size",{configurable:!0,get:function(){return I(this).size}}),T},setStrong:function(m,E,x){var S=E+" Iterator",T=y(E),O=y(S);v(m,E,function(I,A){p(this,{type:S,target:I,state:T(I),kind:A,last:null})},function(){for(var I=O(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=null,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},x?"entries":"values",!x,!0),c(E)}}},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),E=0,x=function(O){return O.frozen||(O.frozen=new S)},S=function(){this.entries=[]},T=function(O,I){return p(O.entries,function(A){return A[0]===I})};S.prototype={get:function(O){var I=T(this,O);if(I)return I[1]},has:function(O){return!!T(this,O)},set:function(O,I){var A=T(this,O);A?A[1]=I:this.entries.push([O,I])},delete:function(O){var I=y(this.entries,function(A){return A[0]===O});return~I&&m(this.entries,I,1),!!~I}},s.exports={getConstructor:function(O,I,A,C){var P=O(function(F,D){a(F,N),h(F,{type:I,id:E++,frozen:null}),u(D)||v(D,F[C],{that:F,AS_ENTRIES:A})}),N=P.prototype,$=g(I),U=function(F,D,L){var j=$(F),W=e(o(D),!0);return W===!0?x(j).set(D,L):W[j.id]=L,F};return n(N,{delete:function(F){var D=$(this);if(!i(F))return!1;var L=e(F);return L===!0?x(D).delete(F):L&&c(L,D.id)&&delete L[D.id]},has:function(D){var L=$(this);if(!i(D))return!1;var j=e(D);return j===!0?x(L).has(D):j&&c(j,L.id)}}),n(N,A?{get:function(D){var L=$(this);if(i(D)){var j=e(D);if(j===!0)return x(L).get(D);if(j)return j[L.id]}},set:function(D,L){return U(this,D,L)}}:{add:function(D){return U(this,D,!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,E,x){var S=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,O=S?"set":"add",I=n[m],A=I&&I.prototype,C=I,P={},N=function(W){var V=e(A[W]);o(A,W,W==="add"?function(z){return V(this,z===0?0:z),this}:W==="delete"?function(K){return T&&!d(K)?!1:V(this,K===0?0:K)}:W==="get"?function(z){return T&&!d(z)?void 0:V(this,z===0?0:z)}:W==="has"?function(z){return T&&!d(z)?!1:V(this,z===0?0:z)}:function(z,it){return V(this,z===0?0:z,it),this})},$=a(m,!f(I)||!(T||A.forEach&&!h(function(){new I().entries().next()})));if($)C=x.getConstructor(E,m,S,O),u.enable();else if(a(m,!0)){var U=new C,F=U[O](T?{}:-0,1)!==U,D=h(function(){U.has(1)}),L=g(function(W){new I(W)}),j=!T&&h(function(){for(var W=new I,V=5;V--;)W[O](V,V);return!W.has(-0)});L||(C=E(function(W,V){v(W,A);var K=y(new I,W,C);return c(V)||i(V,K[O],{that:K,AS_ENTRIES:S}),K}),C.prototype=A,A.constructor=C),(D||j)&&(N("delete"),N("has"),S&&N("get")),(j||F)&&N(O),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==I},P),p(C,m),T||x.setStrong(C,m,S),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 x=this,S=d(x),T=g(x),O=S<0?"-":S>9999?"+":"";return O+e(u(S),O?6:4,0)+"-"+e(y(x)+1,2,0)+"-"+e(c(x),2,0)+"T"+e(h(x),2,0)+":"+e(p(x),2,0)+":"+e(m(x),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,E,x;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(E=f[y],v.dontCallGetSet?(x=n(p,y),m=x&&x.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof E==typeof m)continue;u(E,m)}(v.sham||m&&m.sham)&&e(E,"sham",!0),a(p,y,E,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 x={};return x[g]=function(){return 7},""[f](x)!==7}),y=p&&!a(function(){var x=!1,S=/a/;return f==="split"&&(S={},S.constructor={},S.constructor[i]=function(){return S},S.flags="",S[g]=/./[g]),S.exec=function(){return x=!0,null},S[g](""),!x});if(!p||!y||d){var m=/./[g],E=c(g,""[f],function(x,S,T,O,I){var A=S.exec;return A===e||A===v.exec?p&&!I?{done:!0,value:r(m,S,T,O)}:{done:!0,value:r(x,T,S,O)}:{done:!1}});n(String.prototype,f,E[0]),n(v,g,E[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,E,x;y0&&r(E)?(x=n(E),p=o(u,i,E,x,p,d-1)-1):(e(p+1),u[p]=E),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,E=v;return g!==void 0&&(g=n(g),E=i),o(p,E,function(x,S){var T;switch(a(S,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(S,1,-1)];break;default:var O=+S;if(O===0)return x;if(O>m){var I=e(O/10);return I===0?x:I<=m?h[I-1]===void 0?a(S,1):h[I-1]+a(S,1):x}T=h[O-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,E,x,S;for(i=t(i),i!==i||i===1/0?(x=i!==i?1:0,E=h):(E=n(e(i)/a),S=r(2,-E),i*S<1&&(E--,S*=2),E+g>=1?i+=p/S:i+=p*r(2,1-g),i*S>=2&&(E++,S/=2),E+g>=h?(x=0,E=h):E+g>=1?(x=(i*S-1)*r(2,v),E+=g):(x=i*r(2,g-1)*r(2,v),E=0));v>=8;)c[m++]=x&255,x/=256,v-=8;for(E=E<0;)c[m++]=E&255,E/=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,E;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(E=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)E=E*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return E?NaN:y?-1/0:1/0;E+=r(2,v),m-=h}return(y?-1:1)*E*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(O){u(O,g,{value:{objectID:"O"+p++,weakData:{}}})},m=function(O,I){if(!a(O))return typeof O=="symbol"?O:(typeof O=="string"?"S":"P")+O;if(!o(O,g)){if(!f(O))return"F";if(!I)return"E";y(O)}return O[g].objectID},E=function(O,I){if(!o(O,g)){if(!f(O))return!0;if(!I)return!1;y(O)}return O[g].weakData},x=function(O){return d&&h&&f(O)&&!o(O,g)&&y(O),O},S=function(){T.enable=function(){},h=!0;var O=i.f,I=n([].splice),A={};A[g]=1,O(A).length&&(i.f=function(C){for(var P=O(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:S,fastKey:m,getWeakData:E,onFreeze:x};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(S){return p(S)?g(S):h(S,{})},m=function(S){return function(T){var O;if(!e(T)||(O=g(T)).type!==S)throw new c("Incompatible receiver, "+S+" required");return O}};if(r||u.state){var E=u.state||(u.state=new d);E.get=E.get,E.has=E.has,E.set=E.set,h=function(S,T){if(E.has(S))throw new c(f);return T.facade=S,E.set(S,T),T},g=function(S){return E.get(S)||{}},p=function(S){return E.has(S)}}else{var x=i("state");v[x]=!0,h=function(S,T){if(o(S,x))throw new c(f);return T.facade=S,a(S,x,T),T},g=function(S){return o(S,x)?S[x]:{}},p=function(S){return o(S,x)}}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 E=m&&m.that,x=!!(m&&m.AS_ENTRIES),S=!!(m&&m.IS_RECORD),T=!!(m&&m.IS_ITERATOR),O=!!(m&&m.INTERRUPTED),I=r(y,E),A,C,P,N,$,U,F,D=function(j){return A&&c(A,"normal",j),new h(!0,j)},L=function(j){return x?(e(j),O?I(j[0],j[1],D):I(j[0],j[1])):O?I(j,D):I(j)};if(S)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=S?p.next:A.next;!(F=n(U,A)).done;){try{$=L(F.value)}catch(j){c(A,"throw",j)}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,E=p.IteratorPrototype,x=p.BUGGY_SAFARI_ITERATORS,S=h("iterator"),T="keys",O="values",I="entries",A=function(){return this};s.exports=function(C,P,N,$,U,F,D){u(N,P,$);var L=function(mt){if(mt===U&&z)return z;if(!x&&mt&&mt in V)return V[mt];switch(mt){case T:return function(){return new N(this,mt)};case O:return function(){return new N(this,mt)};case I:return function(){return new N(this,mt)}}return function(){return new N(this)}},j=P+" Iterator",W=!1,V=C.prototype,K=V[S]||V["@@iterator"]||U&&V[U],z=!x&&K||L(U),it=P==="Array"&&V.entries||K,et,lt,pt;if(it&&(et=i(it.call(new C)),et!==Object.prototype&&et.next&&(!e&&i(et)!==E&&(v?v(et,E):o(et[S])||d(et,S,A)),f(et,j,!0,!0),e&&(g[j]=A))),y&&U===O&&K&&K.name!==O&&(!e&&m?c(V,"name",O):(W=!0,z=function(){return n(K,this)})),U)if(lt={values:L(O),keys:F?z:L(T),entries:L(I)},D)for(pt in lt)(x||W||!(pt in V))&&d(V,pt,lt[pt]);else r({target:P,proto:!0,forced:x||W},lt);return(!e||D)&&V[S]!==z&&d(V,S,z,{name:U}),g[P]=z,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}),E=String(String).split("String"),x=s.exports=function(S,T,O){g(d(T),0,7)==="Symbol("&&(T="["+p(d(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(T="get "+T),O&&O.setter&&(T="set "+T),(!a(S,"name")||u&&S.name!==T)&&(o?h(S,"name",{value:T,configurable:!0}):S.name=T),m&&O&&a(O,"arity")&&S.length!==O.arity&&h(S,"length",{value:O.arity});try{O&&a(O,"constructor")&&O.constructor?o&&h(S,"prototype",{writable:!1}):S.prototype&&(S.prototype=void 0)}catch(A){}var I=f(S);return a(I,"source")||(I.source=y(E,typeof T=="string"?T:"")),S};Function.prototype.toString=x(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,E,x,S;if(!p){var T=new o,O=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,E=d.createTextNode(""),new c(O).observe(E,{characterData:!0}),y=function(){E.data=m=!m}):!i&&g&&g.resolve?(x=g.resolve(void 0),x.constructor=g,S=e(x.then,x),y=function(){S(O)}):f?y=function(){h.nextTick(O)}:(a=e(a,r),y=function(){a(O)}),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(E){p[E]=E}),c({},g)[y]!==7||o(c({},p)).join("")!==m})?function(p,y){for(var m=v(p),E=arguments.length,x=1,S=u.f,T=i.f;E>x;)for(var O=f(arguments[x++]),I=S?h(o(O),S(O)):o(O),A=I.length,C=0,P;A>C;)P=I[C++],(!r||e(T,O,P))&&(m[P]=O[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(S){return f+d+v+S+f+"/"+d+v},y=function(S){S.write(p("")),S.close();var T=S.parentWindow.Object;return S=null,T},m=function(){var S=u("iframe"),T="java"+d+":",O;return S.style.display="none",o.appendChild(S),S.src=String(T),O=S.contentWindow.document,O.open(),O.write(p("document.F=Object")),O.close(),O.F},E,x=function(){try{E=new ActiveXObject("htmlfile")}catch(T){}x=typeof document!="undefined"?document.domain&&E?y(E):m():y(E);for(var S=e.length;S--;)delete x[c][e[S]];return x()};a[h]=!0,s.exports=Object.create||function(T,O){var I;return T!==null?(g[c]=r(T),I=new g,g[c]=null,I[h]=T):I=x(),O===void 0?I:n.f(I,O)}},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,E=y.length,x=0,S=[],T;E>x;)T=y[x++],(!r||(m?T in p:v(p,T)))&&f(S,h?[T,p[T]]:p[T]);return S}};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 E=new n(function(T){T(1)}),x=function(T){T(function(){},function(){})},S=E.constructor={};if(S[d]=x,h=E.then(function(){})instanceof x,!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),E=n("".slice),x=function(){var I=/a/,A=/b*/g;return r(h,I,"a"),r(h,A,"a"),I.lastIndex!==0||A.lastIndex!==0}(),S=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,O=x||T||S||f||c;O&&(g=function(A){var C=this,P=v(C),N=e(A),$=P.raw,U,F,D,L,j,W,V;if($)return $.lastIndex=C.lastIndex,U=r(g,$,N),C.lastIndex=$.lastIndex,U;var K=P.groups,z=S&&C.sticky,it=r(a,C),et=C.source,lt=0,pt=N;if(z&&(it=m(it,"y",""),y(it,"g")===-1&&(it+="g"),pt=E(N,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&p(N,C.lastIndex-1)!==` `)&&(et="(?: "+et+")",pt=" "+pt,lt++),F=new RegExp("^(?:"+et+")",it)),T&&(F=new RegExp("^"+et+"$(?!\\s)",it)),x&&(D=C.lastIndex),L=r(h,z?F:C,pt),z?L?(L.input=E(L.input,lt),L[0]=E(L[0],lt),L.index=C.lastIndex,C.lastIndex+=L[0].length):C.lastIndex=0:x&&L&&(C.lastIndex=C.global?L.index+L[0].length:D),T&&L&&L.length>1&&r(d,L[0],F,function(){for(j=1;jb)","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),E=y?u(arguments,h):[],x=y?function(){n(m,this,E)}:m;return d?c(x,p):c(x)}: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,E=g===void 0?" ":e(g),x,S;return y<=m||E===""?p:(x=y-m,S=u(E,v(x/E.length)),S.length>x&&(S=i(S,0,x)),c?p+S:S+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),E=Math.floor,x=String.fromCharCode,S=r("".charCodeAt),T=r([].join),O=r([].push),I=r("".replace),A=r("".split),C=r("".toLowerCase),P=function(F){for(var D=[],L=0,j=F.length;L=55296&&W<=56319&&L>1,F+=E(F/D);F>p*o>>1;)F=E(F/p),j+=e;return E(j+(p+1)*F/(F+u))},U=function(F){var D=[];F=P(F);var L=F.length,j=f,W=0,V=v,K,z;for(K=0;K=j&&zE((n-W)/pt))throw new y(g);for(W+=(lt-j)*pt,j=lt,K=0;Kn)throw new y(g);if(z===j){for(var mt=W,Bt=e;;){var Ut=Bt<=V?a:Bt>=V+o?o:Bt-V;if(mt0;(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,E=r.Function,x=r.MessageChannel,S=r.String,T=0,O={},I="onreadystatechange",A,C,P,N;u(function(){A=r.location});var $=function(L){if(o(O,L)){var j=O[L];delete O[L],j()}},U=function(L){return function(){$(L)}},F=function(L){$(L.data)},D=function(L){r.postMessage(S(L),A.protocol+"//"+A.host)};(!g||!p)&&(g=function(j){c(arguments.length,1);var W=a(j)?j:E(j),V=v(arguments,1);return O[++T]=function(){n(W,void 0,V)},C(T),T},p=function(j){delete O[j]},h?C=function(L){y.nextTick(U(L))}:m&&m.now?C=function(L){m.now(U(L))}:x&&!d?(P=new x,N=P.port2,P.port1.onmessage=F,C=e(N.postMessage,N)):r.addEventListener&&a(r.postMessage)&&!r.importScripts&&A&&A.protocol!=="file:"&&!u(D)?(C=D,r.addEventListener("message",F,!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),E=t(94879),x=t(9205),S=t(37540),T=t(491),O=t(5406),I=t(95307),A=t(15861),C=t(83258).f,P=t(66169),N=t(66655).forEach,$=t(36167),U=t(85500),F=t(7831),D=t(71349),L=t(5220),j=t(82367),W=t(32345),V=j.get,K=j.set,z=j.enforce,it=F.f,et=D.f,lt=n.RangeError,pt=i.ArrayBuffer,mt=pt.prototype,Bt=i.DataView,Ut=u.NATIVE_ARRAY_BUFFER_VIEWS,Nt=u.TYPED_ARRAY_TAG,at=u.TypedArray,ct=u.TypedArrayPrototype,It=u.isTypedArray,Ct="BYTES_PER_ELEMENT",Ot="Wrong length",Dt=function(Vt,jt){U(Vt,jt,{configurable:!0,get:function(){return V(this)[jt]}})},Wt=function(Vt){var jt;return I(mt,Vt)||(jt=x(Vt))==="ArrayBuffer"||jt==="SharedArrayBuffer"},Kt=function(Vt,jt){return It(Vt)&&!T(jt)&&jt in Vt&&d(+jt)&&jt>=0},bt=function(jt,Lt){return Lt=m(Lt),Kt(jt,Lt)?f(2,jt[Lt]):et(jt,Lt)},Mt=function(jt,Lt,q){return Lt=m(Lt),Kt(jt,Lt)&&S(q)&&E(q,"value")&&!E(q,"get")&&!E(q,"set")&&!q.configurable&&(!E(q,"writable")||q.writable)&&(!E(q,"enumerable")||q.enumerable)?(jt[Lt]=q.value,jt):it(jt,Lt,q)};a?(Ut||(D.f=bt,F.f=Mt,Dt(ct,"buffer"),Dt(ct,"byteOffset"),Dt(ct,"byteLength"),Dt(ct,"length")),r({target:"Object",stat:!0,forced:!Ut},{getOwnPropertyDescriptor:bt,defineProperty:Mt}),s.exports=function(Vt,jt,Lt){var q=Vt.match(/\d+/)[0]/8,st=Vt+(Lt?"Clamped":"")+"Array",Y="get"+Vt,xt="set"+Vt,St=n[st],gt=St,ht=gt&>.prototype,Jt={},Zt=function(k,ot){var J=V(k);return J.view[Y](ot*q+J.byteOffset,!0)},G=function(k,ot,J){var Rt=V(k);Rt.view[xt](ot*q+Rt.byteOffset,Lt?y(J):J,!0)},w=function(k,ot){it(k,ot,{get:function(){return Zt(this,ot)},set:function(J){return G(this,ot,J)},enumerable:!0})};Ut?o&&(gt=jt(function(k,ot,J,Rt){return v(k,ht),W(function(){return S(ot)?Wt(ot)?Rt!==void 0?new St(ot,p(J,q),Rt):J!==void 0?new St(ot,p(J,q)):new St(ot):It(ot)?L(gt,ot):e(P,gt,ot):new St(g(ot))}(),k,gt)}),A&&A(gt,at),N(C(St),function(k){k in gt||c(gt,k,St[k])}),gt.prototype=ht):(gt=jt(function(k,ot,J,Rt){v(k,ht);var zt=0,Q=0,vt,ft,dt;if(!S(ot))dt=g(ot),ft=dt*q,vt=new pt(ft);else if(Wt(ot)){vt=ot,Q=p(J,q);var Ft=ot.byteLength;if(Rt===void 0){if(Ft%q)throw new lt(Ot);if(ft=Ft-Q,ft<0)throw new lt(Ot)}else if(ft=h(Rt)*q,ft+Q>Ft)throw new lt(Ot);dt=ft/q}else return It(ot)?L(gt,ot):e(P,gt,ot);for(K(k,{buffer:vt,byteOffset:Q,byteLength:ft,length:dt,view:new Bt(vt)});zt1?arguments[1]:void 0,x=E!==void 0,S=i(y),T,O,I,A,C,P,N,$;if(S&&!v(S))for(N=u(y,S),$=N.next,y=[];!(P=n($,N)).done;)y.push(P.value);for(x&&m>2&&(E=r(E,arguments[2])),O=o(y),I=new(c(p))(O),A=f(I),T=0;O>T;T++)C=x?E(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(tS&&c(F,arguments[S]),F});if(P.prototype=A,O!=="Error"?o?o(P,C):u(P,C,{name:!0}):h&&x in I&&(i(P,I,x),i(P,I,"prepareStackTrace")),u(P,I),!g)try{A.name!==O&&e(A,"name",O),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,E=function(T,O){var I=n(x,this),A;a?A=a(new y,I?e(this):x):(A=I?this:u(x),i(A,p,"Error")),O!==void 0&&i(A,"message",h(O)),c(A,E,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(E,y):o(E,y,{name:!0});var x=E.prototype=u(y.prototype,{constructor:v(1,E),message:v(1,""),name:v(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:E})},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(E,x){if(h&&x===void 0)return h(o(this),E);for(var S=o(this).byteLength,T=u(E,S),O=u(x===void 0?S:x,S),I=new(v(this,f))(i(O-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 E=[];return E[g]=!1,E.concat()[0]!==E}),y=function(E){if(!a(E))return!1;var x=E[g];return x!==void 0?!!x:e(E)},m=!p||!c("concat");r({target:"Array",proto:!0,arity:1,forced:m},{concat:function(x){var S=o(this),T=f(S,0),O=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=null,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(E,x){var S=i(this),T=u(S),O=o(E,T),I=o(x===void 0?T:x,T),A,C,P;if(n(S)&&(A=S.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(S,O,I);for(C=new(A===void 0?p:A)(y(I-O,0)),P=0;O1?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),E=n(y.push),x=v(function(){y.sort(void 0)}),S=v(function(){y.sort(null)}),T=c("sort"),O=!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(F,D){return D.v-F.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(O)return P===void 0?m(N):m(N,P);var $=[],U=o(N),F,D;for(D=0;DS-A+I;P--)c(x,P-1)}else if(I>A)for(P=S-A;P>T;P--)N=P+A-1,$=P+I-1,N in x?x[$]=x[N]:c(x,$);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,E=t(34338),x=t(85900).trim,S="Number",T=a[S],O=o[S],I=T.prototype,A=a.TypeError,C=u("".slice),P=u("".charCodeAt),N=function(j){var W=h(j,"number");return typeof W=="bigint"?W:$(W)},$=function(j){var W=h(j,"number"),V,K,z,it,et,lt,pt,mt;if(d(W))throw new A("Cannot convert a Symbol value to a number");if(typeof W=="string"&&W.length>2){if(W=x(W),V=P(W,0),V===43||V===45){if(K=P(W,2),K===88||K===120)return NaN}else if(V===48){switch(P(W,1)){case 66:case 98:z=2,it=49;break;case 79:case 111:z=8,it=55;break;default:return+W}for(et=C(W,2),lt=et.length,pt=0;ptit)return NaN;return parseInt(et,z)}}return+W},U=i(S,!T(" 0o1")||!T("0b1")||T("+0x1")),F=function(j){return c(I,j)&&g(function(){E(j)})},D=function(W){var V=arguments.length<1?0:T(N(W));return F(this)?f(Object(V),this,D):V};D.prototype=I,U&&!n&&(I.constructor=D),r({global:!0,constructor:!0,wrap:!0,forced:U},{Number:D});var L=function(j,W){for(var V=e?p(W):"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(","),K=0,z;V.length>K;K++)v(W,z=V[K])&&!v(j,z)&&m(j,z,y(W,z))};n&&O&&L(o[S],O),(U||n)&&L(o[S],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),E=n("".slice),x=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",S=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)})},O=!x||!S()||!T();r({target:"Number",proto:!0,forced:O},{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(x)return y(C,P);var N="",$,U,F,D;if(C<0&&(N="-",C=-C),C===0)U=0,$=m("0",P+1);else{var L=u(C);U=h(L);var j=g(10,U-P),W=p(C/j);2*C>=(2*W+1)*j&&(W+=1),W>=g(10,P+1)&&(W/=10,U+=1),$=f(W)}return P!==0&&($=E($,0,1)+"."+E($,1)),U===0?(F="+",D="0"):(F=U>0?"+":"-",D=f(d(U))),$+="e"+F+D,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(S,T,O){return T===0?O:T%2===1?g(S,T-1,O*S):g(S*S,T/2,O)},p=function(S){for(var T=0,O=S;O>=4096;)T+=12,O/=4096;for(;O>=2;)T+=1,O/=2;return T},y=function(S,T,O){for(var I=-1,A=O;++I<6;)A+=T*S[I],S[I]=A%1e7,A=f(A/1e7)},m=function(S,T){for(var O=6,I=0;--O>=0;)I+=S[O],S[O]=f(I/T),I=I%T*1e7},E=function(S){for(var T=6,O="";--T>=0;)if(O!==""||T===0||S[T]!==0){var I=v(S[T]);O=O===""?I:O+c("0",7-I.length)+I}return O},x=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:x},{toFixed:function(T){var O=a(this),I=e(T),A=[0,0,0,0,0,0],C="",P="0",N,$,U,F;if(I<0||I>20)throw new i("Incorrect fraction digits");if(O!==O)return"NaN";if(O<=-1e21||O>=1e21)return v(O);if(O<0&&(C="-",O=-O),O>1e-21)if(N=p(O*g(2,69,1))-69,$=N<0?O*g(2,-N,1):O/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?(F=P.length,P=C+(F<=I?"0."+c("0",I-F)+P:d(P,0,F-I)+"."+d(P,F-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),E=0;return i(p,function(x){var S=u(y(x,E++));S in m?d(m[S],x):m[S]=[x]}),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=[],E=0,x=1;u(f,function(S){var T=E++,O=!1;x++,n(y,c,S).then(function(I){O||(O=!0,m[T]={status:"fulfilled",value:I},--x||h(m))},function(I){O||(O=!0,m[T]={status:"rejected",reason:I},--x||h(m))})}),--x||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=[],E=0,x=1;u(f,function(S){var T=E++,O=!1;x++,n(y,c,S).then(function(I){O||(O=!0,m[T]=I,--x||h(m))},g)}),--x||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,E=u(function(){var x=e(h.resolve),S=[],T=0,O=1,I=!1;i(d,function(A){var C=T++,P=!1;O++,n(x,h,A).then(function(N){P||I||(I=!0,y(N))},function(N){P||I||(P=!0,S[C]=N,--O||m(new g(S,f)))})}),--O||m(new g(S,f))});return E.error&&m(E.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),E=t(99095),x=t(67805),S=t(76895),T=t(82367),O=t(98844),I=t(37130),A=t(24649),C="Promise",P=I.CONSTRUCTOR,N=I.REJECTION_EVENT,$=I.SUBCLASSING,U=T.getterFor(C),F=T.set,D=O&&O.prototype,L=O,j=D,W=a.TypeError,V=a.document,K=a.process,z=A.f,it=z,et=!!(V&&V.createEvent&&a.dispatchEvent),lt="unhandledrejection",pt="rejectionhandled",mt=0,Bt=1,Ut=2,Nt=1,at=2,ct,It,Ct,Ot,Dt=function(Y){var xt;return h(Y)&&d(xt=Y.then)?xt:!1},Wt=function(Y,xt){var St=xt.value,gt=xt.state===Bt,ht=gt?Y.ok:Y.fail,Jt=Y.resolve,Zt=Y.reject,G=Y.domain,w,tt,k;try{ht?(gt||(xt.rejection===at&&jt(xt),xt.rejection=Nt),ht===!0?w=St:(G&&G.enter(),w=ht(St),G&&(G.exit(),k=!0)),w===Y.promise?Zt(new W("Promise-chain cycle")):(tt=Dt(w))?o(tt,w,Jt,Zt):Jt(w)):Zt(St)}catch(ot){G&&!k&&G.exit(),Zt(ot)}},Kt=function(Y,xt){Y.notified||(Y.notified=!0,m(function(){for(var St=Y.reactions,gt;gt=St.get();)Wt(gt,Y);Y.notified=!1,xt&&!Y.rejection&&Mt(Y)}))},bt=function(Y,xt,St){var gt,ht;et?(gt=V.createEvent("Event"),gt.promise=xt,gt.reason=St,gt.initEvent(Y,!1,!0),a.dispatchEvent(gt)):gt={promise:xt,reason:St},!N&&(ht=a["on"+Y])?ht(gt):Y===lt&&E("Unhandled promise rejection",St)},Mt=function(Y){o(y,a,function(){var xt=Y.facade,St=Y.value,gt=Vt(Y),ht;if(gt&&(ht=x(function(){e?K.emit("unhandledRejection",St,xt):bt(lt,xt,St)}),Y.rejection=e||Vt(Y)?at:Nt,ht.error))throw ht.value})},Vt=function(Y){return Y.rejection!==Nt&&!Y.parent},jt=function(Y){o(y,a,function(){var xt=Y.facade;e?K.emit("rejectionHandled",xt):bt(pt,xt,Y.value)})},Lt=function(Y,xt,St){return function(gt){Y(xt,gt,St)}},q=function(Y,xt,St){Y.done||(Y.done=!0,St&&(Y=St),Y.value=xt,Y.state=Ut,Kt(Y,!0))},st=function(Y,xt,St){if(!Y.done){Y.done=!0,St&&(Y=St);try{if(Y.facade===xt)throw new W("Promise can't be resolved itself");var gt=Dt(xt);gt?m(function(){var ht={done:!1};try{o(gt,xt,Lt(st,ht,Y),Lt(q,ht,Y))}catch(Jt){q(ht,Jt,Y)}}):(Y.value=xt,Y.state=Bt,Kt(Y,!1))}catch(ht){q({done:!1},ht,Y)}}};if(P&&(L=function(xt){g(this,j),c(xt),o(ct,this);var St=U(this);try{xt(Lt(st,St),Lt(q,St))}catch(gt){q(St,gt)}},j=L.prototype,ct=function(xt){F(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:mt,value:null})},ct.prototype=u(j,"then",function(xt,St){var gt=U(this),ht=z(p(this,L));return gt.parent=!0,ht.ok=d(xt)?xt:!0,ht.fail=d(St)&&St,ht.domain=e?K.domain:void 0,gt.state===mt?gt.reactions.add(ht):m(function(){Wt(ht,gt)}),ht.promise}),It=function(){var Y=new ct,xt=U(Y);this.promise=Y,this.resolve=Lt(st,xt),this.reject=Lt(q,xt)},A.f=z=function(Y){return Y===L||Y===Ct?new It(Y):it(Y)},!n&&d(O)&&D!==Object.prototype)){Ot=D.then,$||u(D,"then",function(xt,St){var gt=this;return new L(function(ht,Jt){o(Ot,gt,ht,Jt)}).then(xt,St)},{unsafe:!0});try{delete D.constructor}catch(Y){}i&&i(D,j)}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(E,x){o(E),u(x);var S=arguments.length<3?E:o(arguments[2]);if(p&&!g)return c(E,x,S);if(E===S){switch(x.length){case 0:return new E;case 1:return new E(x[0]);case 2:return new E(x[0],x[1]);case 3:return new E(x[0],x[1],x[2]);case 4:return new E(x[0],x[1],x[2],x[3])}var T=[null];return e(h,T,x),new(e(a,E,T))}var O=S.prototype,I=v(i(O)?O:d),A=e(E,I,x);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],E=v.f(e(g),p),x,S,T;if(!E){if(a(S=f(g)))return d(S,p,y,m);E=c(0)}if(o(E)){if(E.writable===!1||!a(m))return!1;if(x=v.f(m,p)){if(x.get||x.set||x.writable===!1)return!1;x.value=y,i.f(m,p,x)}else i.f(m,p,c(0,y))}else{if(T=E.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),E=t(94879),x=t(82367).enforce,S=t(36167),T=t(18565),O=t(76769),I=t(85220),A=T("match"),C=n.RegExp,P=C.prototype,N=n.SyntaxError,$=e(P.exec),U=e("".charAt),F=e("".replace),D=e("".indexOf),L=e("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,W=/a/g,V=/a/g,K=new C(W)!==W,z=g.MISSED_STICKY,it=g.UNSUPPORTED_Y,et=r&&(!K||z||O||I||m(function(){return V[A]=!1,C(W)!==W||C(V)===V||String(C(W,"i"))!=="/a/i"})),lt=function(Nt){for(var at=Nt.length,ct=0,It="",Ct=!1,Ot;ct<=at;ct++){if(Ot=U(Nt,ct),Ot==="\\"){It+=Ot+U(Nt,++ct);continue}!Ct&&Ot==="."?It+="[\\s\\S]":(Ot==="["?Ct=!0:Ot==="]"&&(Ct=!1),It+=Ot)}return It},pt=function(Nt){for(var at=Nt.length,ct=0,It="",Ct=[],Ot=i(null),Dt=!1,Wt=!1,Kt=0,bt="",Mt;ct<=at;ct++){if(Mt=U(Nt,ct),Mt==="\\")Mt+=U(Nt,++ct);else if(Mt==="]")Dt=!1;else if(!Dt)switch(!0){case Mt==="[":Dt=!0;break;case Mt==="(":if(It+=Mt,L(Nt,ct+1,ct+3)==="?:")continue;$(j,L(Nt,ct+1))&&(ct+=2,Wt=!0),Kt++;continue;case(Mt===">"&&Wt):if(bt===""||E(Ot,bt))throw new N("Invalid capture group name");Ot[bt]=!0,Ct[Ct.length]=[bt,Kt],Wt=!1,bt="";continue}Wt?bt+=Mt:It+=Mt}return[It,Ct]};if(a("RegExp",et)){for(var mt=function(at,ct){var It=f(P,this),Ct=c(at),Ot=ct===void 0,Dt=[],Wt=at,Kt,bt,Mt,Vt,jt,Lt;if(!It&&Ct&&Ot&&at.constructor===mt)return at;if((Ct||f(P,at))&&(at=at.source,Ot&&(ct=h(Wt))),at=at===void 0?"":d(at),ct=ct===void 0?"":d(ct),Wt=at,O&&"dotAll"in W&&(bt=!!ct&&D(ct,"s")>-1,bt&&(ct=F(ct,/s/g,""))),Kt=ct,z&&"sticky"in W&&(Mt=!!ct&&D(ct,"y")>-1,Mt&&it&&(ct=F(ct,/y/g,""))),I&&(Vt=pt(at),at=Vt[0],Dt=Vt[1]),jt=o(C(at,ct),It?this:P,mt),(bt||Mt||Dt.length)&&(Lt=x(jt),bt&&(Lt.dotAll=!0,Lt.raw=mt(lt(at),Kt)),Mt&&(Lt.sticky=!0),Dt.length&&(Lt.groups=Dt)),at!==Wt)try{u(jt,"source",Wt===""?"(?:)":Wt)}catch(q){}return jt},Bt=v(C),Ut=0;Bt.length>Ut;)p(mt,C,Bt[Ut++]);P.constructor=mt,mt.prototype=P,y(n,"RegExp",mt,{constructor:!0})}S("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(E){f=!1}var c={},d="",h=f?"dgimsy":"gimsy",g=function(E,x){Object.defineProperty(c,E,{get:function(){return d+=x,!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 E=arguments.length>1?arguments[1]:void 0,x=m.length,S=E===void 0?x:d(a(E),x),T=o(y);return c(m,S-T.length,S)===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),E=t(18565),x=t(16887),S=t(24487),T=t(33064),O=t(82367),I=t(70457),A=E("matchAll"),C="RegExp String",P=C+" Iterator",N=O.set,$=O.getterFor(P),U=RegExp.prototype,F=TypeError,D=e("".indexOf),L=e("".matchAll),j=!!L&&!m(function(){L("a",/./)}),W=a(function(z,it,et,lt){N(this,{type:P,regexp:z,string:it,global:et,unicode:lt,done:!1})},C,function(){var z=$(this);if(z.done)return o(void 0,!0);var it=z.regexp,et=z.string,lt=T(it,et);return lt===null?(z.done=!0,o(void 0,!0)):z.global?(v(lt[0])===""&&(it.lastIndex=S(et,i(it.lastIndex),z.unicode)),o(lt,!1)):(z.done=!0,o(lt,!1))}),V=function(K){var z=f(this),it=v(K),et=x(z,RegExp),lt=v(g(z)),pt,mt,Bt;return pt=new et(et===RegExp?z.source:z,lt),mt=!!~D(lt,"g"),Bt=!!~D(lt,"u"),pt.lastIndex=i(z.lastIndex),new W(pt,it,mt,Bt)};r({target:"String",proto:!0,forced:j},{matchAll:function(z){var it=u(this),et,lt,pt,mt;if(c(z)){if(j)return L(it,z)}else{if(h(z)&&(et=v(u(g(z))),!~D(et,"g")))throw new F("`.matchAll` does not allow non-global regexes");if(j)return L(it,z);if(pt=p(z,A),pt===void 0&&I&&d(z)==="RegExp"&&(pt=V),pt)return n(pt,z,it)}return lt=v(it),mt=new RegExp(z,"g"),I?n(V,mt,lt):mt[A](lt)}}),I||A in U||y(U,A,V)},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),E=a(y)?void 0:v(y,d);return E?r(E,y,m):new RegExp(y)[d](u(m))},function(p){var y=e(this),m=u(p),E=g(h,y,m);if(E.done)return E.value;if(!y.global)return c(y,m);var x=y.unicode;y.lastIndex=0;for(var S=[],T=0,O;(O=c(y,m))!==null;){var I=u(O[0]);S[T]=I,I===""&&(y.lastIndex=f(m,o(y.lastIndex),x)),T++}return T===0?null:S}]})},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,j+L);return V<$.length&&(K+=x($,V)),K}})},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),E=t(18565),x=E("replace"),S=Math.max,T=Math.min,O=e([].concat),I=e([].push),A=e("".indexOf),C=e("".slice),P=function(F){return F===void 0?F:String(F)},N=function(){return"a".replace(/./,"$0")==="$0"}(),$=function(){return/./[x]?/./[x]("a","$0")==="":!1}(),U=!o(function(){var F=/./;return F.exec=function(){var D=[];return D.groups={a:"7"},D},"".replace(F,"$")!=="7"});a("replace",function(F,D,L){var j=$?"$":"$0";return[function(V,K){var z=h(this),it=v(V)?void 0:p(V,x);return it?n(it,V,z,K):n(D,d(z),V,K)},function(W,V){var K=u(this),z=d(W);if(typeof V=="string"&&A(V,j)===-1&&A(V,"$<")===-1){var it=L(D,K,z,V);if(it.done)return it.value}var et=i(V);et||(V=d(V));var lt=K.global,pt;lt&&(pt=K.unicode,K.lastIndex=0);for(var mt=[],Bt;Bt=m(K,z),!(Bt===null||(I(mt,Bt),!lt));){var Ut=d(Bt[0]);Ut===""&&(K.lastIndex=g(z,c(K.lastIndex),pt))}for(var Nt="",at=0,ct=0;ct=at&&(Nt+=C(z,at,Ct)+Dt,at=Ct+It.length)}return Nt+C(z,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 E=p.lastIndex;u(E,0)||(p.lastIndex=0);var x=f(p,y);return u(p.lastIndex,E)||(p.lastIndex=E),x===null?-1:x.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,E=Math.min,x=n([].push),S=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"}),O="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 F=u(this),D=o($)?void 0:d($,I);return D?r(D,$,F,U):r(P,c(F),$,U)},function(N,$){var U=a(this),F=c(N);if(!O){var D=C(P,U,F,$,P!==A);if(D.done)return D.value}var L=i(U,RegExp),j=U.unicode,W=(U.ignoreCase?"i":"")+(U.multiline?"m":"")+(U.unicode?"u":"")+(y?"g":"y"),V=new L(y?"^(?:"+U.source+")":U,W),K=$===void 0?m:$>>>0;if(K===0)return[];if(F.length===0)return h(V,F)===null?[F]:[];for(var z=0,it=0,et=[];it1?arguments[1]:void 0,m.length)),x=o(y);return c(m,E,E+x.length)===x}})},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,E;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?"":(E=v(y+m,p),y>=E?"":u(g,y,E))}})},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,E=i(m),x=0;x=56320||x+1>=m||(f(y,x+1)&64512)!==56320?E[x]=h:(E[x]=v(y,x),E[++x]=v(y,x))}return c(E,"")}})},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),E=t(18350),x=t(83258),S=t(92880),T=t(24943),O=t(71349),I=t(7831),A=t(61963),C=t(79591),P=t(16142),N=t(85500),$=t(96731),U=t(44869),F=t(19423),D=t(36374),L=t(18565),j=t(56529),W=t(83749),V=t(60796),K=t(78401),z=t(82367),it=t(66655).forEach,et=U("hidden"),lt="Symbol",pt="prototype",mt=z.set,Bt=z.getterFor(lt),Ut=Object[pt],Nt=n.Symbol,at=Nt&&Nt[pt],ct=n.RangeError,It=n.TypeError,Ct=n.QObject,Ot=O.f,Dt=I.f,Wt=S.f,Kt=C.f,bt=a([].push),Mt=$("symbols"),Vt=$("op-symbols"),jt=$("wks"),Lt=!Ct||!Ct[pt]||!Ct[pt].findChild,q=function(w,tt,k){var ot=Ot(Ut,tt);ot&&delete Ut[tt],Dt(w,tt,k),ot&&w!==Ut&&Dt(Ut,tt,ot)},st=u&&v(function(){return m(Dt({},"a",{get:function(){return Dt(this,"a",{value:7}).a}})).a!==7})?q:Dt,Y=function(w,tt){var k=Mt[w]=m(at);return mt(k,{type:lt,tag:w,description:tt}),u||(k.description=tt),k},xt=function(tt,k,ot){tt===Ut&&xt(Vt,k,ot),d(tt);var J=g(k);return d(ot),f(Mt,J)?(ot.enumerable?(f(tt,et)&&tt[et][J]&&(tt[et][J]=!1),ot=m(ot,{enumerable:y(0,!1)})):(f(tt,et)||Dt(tt,et,y(1,m(null))),tt[et][J]=!0),st(tt,J,ot)):Dt(tt,J,ot)},St=function(tt,k){d(tt);var ot=h(k),J=E(ot).concat(G(ot));return it(J,function(Rt){(!u||e(ht,ot,Rt))&&xt(tt,Rt,ot[Rt])}),tt},gt=function(tt,k){return k===void 0?m(tt):St(m(tt),k)},ht=function(tt){var k=g(tt),ot=e(Kt,this,k);return this===Ut&&f(Mt,k)&&!f(Vt,k)?!1:ot||!f(this,k)||!f(Mt,k)||f(this,et)&&this[et][k]?ot:!0},Jt=function(tt,k){var ot=h(tt),J=g(k);if(!(ot===Ut&&f(Mt,J)&&!f(Vt,J))){var Rt=Ot(ot,J);return Rt&&f(Mt,J)&&!(f(ot,et)&&ot[et][J])&&(Rt.enumerable=!0),Rt}},Zt=function(tt){var k=Wt(h(tt)),ot=[];return it(k,function(J){!f(Mt,J)&&!f(F,J)&&bt(ot,J)}),ot},G=function(w){var tt=w===Ut,k=Wt(tt?Vt:h(w)),ot=[];return it(k,function(J){f(Mt,J)&&(!tt||f(Ut,J))&&bt(ot,Mt[J])}),ot};i||(Nt=function(){if(c(at,this))throw new It("Symbol is not a constructor");var tt=!arguments.length||arguments[0]===void 0?void 0:p(arguments[0]),k=D(tt),ot=function(J){var Rt=this===void 0?n:this;Rt===Ut&&e(ot,Vt,J),f(Rt,et)&&f(Rt[et],k)&&(Rt[et][k]=!1);var zt=y(1,J);try{st(Rt,k,zt)}catch(Q){if(!(Q instanceof ct))throw Q;q(Rt,k,zt)}};return u&&Lt&&st(Ut,k,{configurable:!0,set:ot}),Y(k,tt)},at=Nt[pt],P(at,"toString",function(){return Bt(this).tag}),P(Nt,"withoutSetter",function(w){return Y(D(w),w)}),C.f=ht,I.f=xt,A.f=St,O.f=Jt,x.f=S.f=Zt,T.f=G,j.f=function(w){return Y(L(w),w)},u&&(N(at,"description",{configurable:!0,get:function(){return Bt(this).description}}),o||P(Ut,"propertyIsEnumerable",ht,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!i,sham:!i},{Symbol:Nt}),it(E(jt),function(w){W(w)}),r({target:lt,stat:!0,forced:!i},{useSetter:function(){Lt=!0},useSimple:function(){Lt=!1}}),r({target:"Object",stat:!0,forced:!i,sham:!u},{create:gt,defineProperty:xt,defineProperties:St,getOwnPropertyDescriptor:Jt}),r({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:Zt}),V(),K(Nt,lt),F[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),E=a(h.toString),x=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),T=a("".slice);f(h,"description",{configurable:!0,get:function(){var I=m(this);if(o(g,I))return"";var A=E(I),C=y?T(A,7,-1):S(A,x,"$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",E=function(){return f(h(this))};g("entries",function(){return d(h(this))},y),g("keys",function(){return c(h(this))},y),g("values",E,y||!m,{name:"values"}),g(i,E,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),S=u(E);if(p)return n(d,this,S,x);var T=this.length,O=a(S),I=0;if(O+x>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 x=new g(516),S=Array(516),T,O;for(T=0;T<516;T++)O=T%4,x[T]=515-T,S[T]=T-2*O+3;for(p(x,function(I,A){return(I/4|0)-(A/4|0)}),T=0;T<516;T++)if(x[T]!==S[T])return!0}),E=function(x){return function(S,T){return x!==void 0?+x(S,T)||0:T!==T?-1:S!==S?1:S===0&&T===0?1/S>0&&1/T<0?1:-1:S>T}};h("sort",function(S){return S!==void 0&&a(S),m?p(this,S):o(d(this),E(S))},!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,E;y>(-2*F&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(x){if(v(arguments.length,1),g)return o(c,n,i(x));for(var S=i(x),T="",O=0,I=f,A,C;d(S,O)||(I="=",O%1);){if(C=h(S,O+=.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-O%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),E=t(82367),x=t(92986),S=t(70457),T="DOMException",O="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(ct){if(ct.name===O&&ct.code===25)return ct.constructor}}(),C=A&&A.prototype,P=I.prototype,N=E.set,$=E.getterFor(T),U="stack"in new I(T),F=function(at){return c(y,at)&&y[at].m?y[at].c:0},D=function(){d(this,L);var ct=arguments.length,It=p(ct<1?void 0:arguments[0]),Ct=p(ct<2?void 0:arguments[1],"Error"),Ot=F(Ct);if(N(this,{type:T,name:Ct,message:It,code:Ot}),x||(this.name=Ct,this.message=It,this.code=Ot),U){var Dt=new I(It);Dt.name=T,i(this,"stack",u(1,m(Dt.stack,1)))}},L=D.prototype=o(P),j=function(at){return{enumerable:!0,configurable:!0,get:at}},W=function(at){return j(function(){return $(this)[at]})};x&&(f(L,"code",W("code")),f(L,"message",W("message")),f(L,"name",W("name"))),i(L,"constructor",u(1,D));var V=a(function(){return!(new A instanceof I)}),K=V||a(function(){return P.toString!==g||String(new A(1,2))!=="2: 1"}),z=V||a(function(){return new A(1,"DataCloneError").code!==25}),it=V||A[O]!==25||C[O]!==25,et=S?K||z||it:V;r({global:!0,constructor:!0,forced:et},{DOMException:et?D:A});var lt=n(T),pt=lt.prototype;K&&(S||A===lt)&&v(pt,"toString",g),z&&x&&A===lt&&f(pt,"code",j(function(){return F(h(this).name)}));for(var mt in y)if(c(y,mt)){var Bt=y[mt],Ut=Bt.s,Nt=u(6,Bt.c);c(lt,Ut)||i(lt,Ut,Nt),c(pt,Ut)||i(pt,Ut,Nt)}},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),E=function(){i(this,x);var D=arguments.length,L=f(D<1?void 0:arguments[0]),j=f(D<2?void 0:arguments[1],"Error"),W=new m(L,j),V=new y(L);return V.name=p,o(W,"stack",a(1,d(V.stack,1))),v(W,this,E),W},x=E.prototype=m.prototype,S="stack"in new y(p),T="stack"in new m(1,2),O=m&&h&&Object.getOwnPropertyDescriptor(n,p),I=!!O&&!(O.writable&&O.configurable),A=S&&!I&&!T;r({global:!0,constructor:!0,forced:g||A},{DOMException:A?E: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),E=t(84082),x=t(90809),S=t(82628),T=t(95486),O=t(54932),I=t(1774),A=t(172),C=t(35051),P=t(63741),N=t(16929),$=t(99050),U=e.Object,F=e.Array,D=e.Date,L=e.Error,j=e.TypeError,W=e.PerformanceMark,V=a("DOMException"),K=I.Map,z=I.has,it=I.get,et=I.set,lt=A.Set,pt=A.add,mt=A.has,Bt=a("Object","keys"),Ut=o([].push),Nt=o((!0).valueOf),at=o(1 .valueOf),ct=o("".valueOf),It=o(D.prototype.getTime),Ct=i("structuredClone"),Ot="DataCloneError",Dt="Transferring",Wt=function(G){return!u(function(){var w=new e.Set([7]),tt=G(w),k=G(U(7));return tt===w||!tt.has(7)||!d(k)||+k!=7})&&G},Kt=function(G,w){return!u(function(){var tt=new w,k=G({a:tt,b:tt});return!(k&&k.a===k.b&&k.a instanceof w&&k.a.stack===tt.stack)})},bt=function(G){return!u(function(){var w=G(new e.AggregateError([1],Ct,{cause:3}));return w.name!=="AggregateError"||w.errors[0]!==1||w.message!==Ct||w.cause!==3})},Mt=e.structuredClone,Vt=r||!Kt(Mt,L)||!Kt(Mt,V)||!bt(Mt),jt=!Mt&&Wt(function(G){return new W(Ct,{detail:G}).detail}),Lt=Wt(Mt)||jt,q=function(G){throw new V("Uncloneable type: "+G,Ot)},st=function(G,w){throw new V((w||"Cloning")+" of "+G+" cannot be properly polyfilled in this engine",Ot)},Y=function(G,w){return Lt||st(w),Lt(G)},xt=function(){var G;try{G=new e.DataTransfer}catch(w){try{G=new e.ClipboardEvent("").clipboardData}catch(tt){}}return G&&G.items&&G.files?G:null},St=function(G,w,tt){if(z(w,G))return it(w,G);var k=tt||y(G),ot,J,Rt,zt,Q,vt;if(k==="SharedArrayBuffer")Lt?ot=Lt(G):ot=G;else{var ft=e.DataView;!ft&&!v(G.slice)&&st("ArrayBuffer");try{if(v(G.slice)&&!G.resizable)ot=G.slice(0);else for(J=G.byteLength,Rt=("maxByteLength"in G)?{maxByteLength:G.maxByteLength}:void 0,ot=new ArrayBuffer(J,Rt),zt=new ft(G),Q=new ft(ot),vt=0;vt1&&!c(arguments[1])?p(arguments[1]):void 0,k=tt?tt.transfer:void 0,ot,J;k!==void 0&&(ot=new K,J=Jt(k,ot));var Rt=ht(w,ot);return J&&Zt(J),Rt}})},28381:function(s,l,t){t(63981),t(23913)},98812:function(s,l,t){t(35054),t(93087);var r=t(14304),n=t(34246),e=t(28167),a=t(38941),o=t(96499),u=t(11286),i=t(92986),v=t(91918),f=t(16142),c=t(85500),d=t(2725),h=t(78401),g=t(26820),p=t(82367),y=t(12833),m=t(23583),E=t(94879),x=t(45526),S=t(9205),T=t(25001),O=t(37540),I=t(17361),A=t(5406),C=t(18526),P=t(90619),N=t(81077),$=t(10659),U=t(95486),F=t(18565),D=t(13270),L=F("iterator"),j="URLSearchParams",W=j+"Iterator",V=p.set,K=p.getterFor(j),z=p.getterFor(W),it=e("fetch"),et=e("Request"),lt=e("Headers"),pt=et&&et.prototype,mt=lt&<.prototype,Bt=n.TypeError,Ut=n.encodeURIComponent,Nt=String.fromCharCode,at=a("String","fromCodePoint"),ct=parseInt,It=u("".charAt),Ct=u([].join),Ot=u([].push),Dt=u("".replace),Wt=u([].shift),Kt=u([].splice),bt=u("".split),Mt=u("".slice),Vt=u(/./.exec),jt=/\+/g,Lt="\uFFFD",q=/^[0-9a-f]+$/i,st=function(Q,vt){var ft=Mt(Q,vt,vt+2);return Vt(q,ft)?ct(ft,16):NaN},Y=function(Q){for(var vt=0,ft=128;ft>0&&Q&ft;ft>>=1)vt++;return vt},xt=function(Q){var vt=null;switch(Q.length){case 1:vt=Q[0];break;case 2:vt=(Q[0]&31)<<6|Q[1]&63;break;case 3:vt=(Q[0]&15)<<12|(Q[1]&63)<<6|Q[2]&63;break;case 4:vt=(Q[0]&7)<<18|(Q[1]&63)<<12|(Q[2]&63)<<6|Q[3]&63;break}return vt>1114111?null:vt},St=function(Q){Q=Dt(Q,jt," ");for(var vt=Q.length,ft="",dt=0;dtvt){ft+="%",dt++;continue}var Ht=st(Q,dt+1);if(Ht!==Ht){ft+=Ft,dt++;continue}dt+=2;var Yt=Y(Ht);if(Yt===0)Ft=Nt(Ht);else{if(Yt===1||Yt>4){ft+=Lt,dt++;continue}for(var Qt=[Ht],kt=1;ktvt||It(Q,dt)!=="%"));){var tr=st(Q,dt+1);if(tr!==tr){dt+=3;break}if(tr>191||tr<128)break;Ot(Qt,tr),dt+=2,kt++}if(Qt.length!==Yt){ft+=Lt;continue}var ur=xt(Qt);ur===null?ft+=Lt:Ft=at(ur)}}ft+=Ft,dt++}return ft},gt=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Jt=function(Q){return ht[Q]},Zt=function(Q){return Dt(Ut(Q),gt,Jt)},G=g(function(vt,ft){V(this,{type:W,target:K(vt).entries,index:0,kind:ft})},j,function(){var vt=z(this),ft=vt.target,dt=vt.index++;if(!ft||dt>=ft.length)return vt.target=null,$(void 0,!0);var Ft=ft[dt];switch(vt.kind){case"keys":return $(Ft.key,!1);case"values":return $(Ft.value,!1)}return $([Ft.key,Ft.value],!1)},!0),w=function(Q){this.entries=[],this.url=null,Q!==void 0&&(O(Q)?this.parseObject(Q):this.parseQuery(typeof Q=="string"?It(Q,0)==="?"?Mt(Q,1):Q:I(Q)))};w.prototype={type:j,bindURL:function(Q){this.url=Q,this.update()},parseObject:function(Q){var vt=this.entries,ft=N(Q),dt,Ft,Ht,Yt,Qt,kt,tr;if(ft)for(dt=P(Q,ft),Ft=dt.next;!(Ht=o(Ft,dt)).done;){if(Yt=P(T(Ht.value)),Qt=Yt.next,(kt=o(Qt,Yt)).done||(tr=o(Qt,Yt)).done||!o(Qt,Yt).done)throw new Bt("Expected sequence with length 2");Ot(vt,{key:I(kt.value),value:I(tr.value)})}else for(var ur in Q)E(Q,ur)&&Ot(vt,{key:ur,value:I(Q[ur])})},parseQuery:function(Q){if(Q)for(var vt=this.entries,ft=bt(Q,"&"),dt=0,Ft,Ht;dt0?arguments[0]:void 0,ft=V(this,new w(vt));i||(this.size=ft.entries.length)},k=tt.prototype;if(d(k,{append:function(vt,ft){var dt=K(this);U(arguments.length,2),Ot(dt.entries,{key:I(vt),value:I(ft)}),i||this.length++,dt.updateURL()},delete:function(Q){for(var vt=K(this),ft=U(arguments.length,1),dt=vt.entries,Ft=I(Q),Ht=ft<2?void 0:arguments[1],Yt=Ht===void 0?Ht:I(Ht),Qt=0;Qtdt.key?1:-1}),vt.updateURL()},forEach:function(vt){for(var ft=K(this).entries,dt=x(vt,arguments.length>1?arguments[1]:void 0),Ft=0,Ht;Ft1?Rt(arguments[1]):{})}}),m(et)){var zt=function(vt){return y(this,pt),new et(vt,arguments.length>1?Rt(arguments[1]):{})};pt.constructor=zt,zt.prototype=pt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:zt})}}s.exports={URLSearchParams:tt,getState:K}},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),E=e(p),x=0,S=0,T=!1,O=y.length,I;x?@[\\\]^|]/,Mt=/[\0\t\n\r #/:<>?@[\\\]^|]/,Vt=/^[\u0000-\u0020]+/,jt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Lt=/[\t\n\r]/g,q,st=function(b){var nt=et(b,"."),H,B,Z,At,Et,wt,_t;if(nt.length&&nt[nt.length-1]===""&&nt.length--,H=nt.length,H>4)return b;for(B=[],Z=0;Z1&&D(At,0)==="0"&&(Et=L(Ot,At)?16:8,At=lt(At,Et===8?1:2)),At==="")wt=0;else{if(!L(Et===10?Wt:Et===8?Dt:Kt,At))return b;wt=$(At,Et)}K(B,wt)}for(Z=0;Z=F(256,5-H))return null}else if(wt>255)return null;for(_t=V(B),Z=0;Z6))return;for(wt=0;qt();){if(_t=null,wt>0)if(qt()==="."&&wt<4)Z++;else return;if(!L(Ct,qt()))return;for(;L(Ct,qt());){if(rr=$(qt(),10),_t===null)_t=rr;else{if(_t===0)return;_t=_t*10+rr}if(_t>255)return;Z++}nt[H]=nt[H]*256+_t,wt++,(wt===2||wt===4)&&H++}if(wt!==4)return;break}else if(qt()===":"){if(Z++,!qt())return}else if(qt())return;nt[H++]=At}if(B!==null)for(ar=H-B,H=7;H!==0&&ar>0;)rt=nt[H],nt[H--]=nt[B+ar-1],nt[B+--ar]=rt;else if(H!==8)return;return nt},xt=function(b){for(var nt=null,H=1,B=null,Z=0,At=0;At<8;At++)b[At]!==0?(Z>H&&(nt=B,H=Z),B=null,Z=0):(B===null&&(B=At),++Z);return Z>H?B:nt},St=function(b){var nt,H,B,Z;if(typeof b=="number"){for(nt=[],H=0;H<4;H++)mt(nt,b%256),b=U(b/256);return j(nt,".")}if(typeof b=="object"){for(nt="",B=xt(b),H=0;H<8;H++)Z&&b[H]===0||(Z&&(Z=!1),B===H?(nt+=H?":":"::",Z=!0):(nt+=W(b[H],16),H<7&&(nt+=":")));return"["+nt+"]"}return b},gt={},ht=d({},gt,{" ":1,'"':1,"<":1,">":1,"`":1}),Jt=d({},ht,{"#":1,"?":1,"{":1,"}":1}),Zt=d({},Jt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(b,nt){var H=p(b,0);return H>32&&H<127&&!c(nt,b)?b:encodeURIComponent(b)},w={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tt=function(b,nt){var H;return b.length===2&&L(ct,D(b,0))&&((H=D(b,1))===":"||!nt&&H==="|")},k=function(b){var nt;return b.length>1&&tt(lt(b,0,2))&&(b.length===2||(nt=D(b,2))==="/"||nt==="\\"||nt==="?"||nt==="#")},ot=function(b){return b==="."||pt(b)==="%2e"},J=function(b){return b=pt(b),b===".."||b==="%2e."||b===".%2e"||b==="%2e%2e"},Rt={},zt={},Q={},vt={},ft={},dt={},Ft={},Ht={},Yt={},Qt={},kt={},tr={},ur={},xr={},Ar={},Sr={},yr={},ir={},Pr={},hr={},lr={},Er=function(b,nt,H){var B=m(b),Z,At,Et;if(nt){if(At=this.parse(B),At)throw new N(At);this.searchParams=null}else{if(H!==void 0&&(Z=new Er(H,!0)),At=this.parse(B,null,Z),At)throw new N(At);Et=C(new A),Et.bindURL(this),this.searchParams=Et}};Er.prototype={type:"URL",parse:function(b,nt,H){var B=this,Z=nt||Rt,At=0,Et="",wt=!1,_t=!1,rr=!1,ar,rt,qt,vr;for(b=m(b),nt||(B.scheme="",B.username="",B.password="",B.host=null,B.port=null,B.path=[],B.query=null,B.fragment=null,B.cannotBeABaseURL=!1,b=z(b,Vt,""),b=z(b,jt,"$1")),b=z(b,Lt,""),ar=h(b);At<=ar.length;){switch(rt=ar[At],Z){case Rt:if(rt&&L(ct,rt))Et+=pt(rt),Z=zt;else{if(nt)return Ut;Z=Q;continue}break;case zt:if(rt&&(L(It,rt)||rt==="+"||rt==="-"||rt==="."))Et+=pt(rt);else if(rt===":"){if(nt&&(B.isSpecial()!==c(w,Et)||Et==="file"&&(B.includesCredentials()||B.port!==null)||B.scheme==="file"&&!B.host))return;if(B.scheme=Et,nt){B.isSpecial()&&w[B.scheme]===B.port&&(B.port=null);return}Et="",B.scheme==="file"?Z=xr:B.isSpecial()&&H&&H.scheme===B.scheme?Z=vt:B.isSpecial()?Z=Ht:ar[At+1]==="/"?(Z=ft,At++):(B.cannotBeABaseURL=!0,K(B.path,""),Z=Pr)}else{if(nt)return Ut;Et="",Z=Q,At=0;continue}break;case Q:if(!H||H.cannotBeABaseURL&&rt!=="#")return Ut;if(H.cannotBeABaseURL&&rt==="#"){B.scheme=H.scheme,B.path=g(H.path),B.query=H.query,B.fragment="",B.cannotBeABaseURL=!0,Z=lr;break}Z=H.scheme==="file"?xr:dt;continue;case vt:if(rt==="/"&&ar[At+1]==="/")Z=Yt,At++;else{Z=dt;continue}break;case ft:if(rt==="/"){Z=Qt;break}else{Z=ir;continue}case dt:if(B.scheme=H.scheme,rt===q)B.username=H.username,B.password=H.password,B.host=H.host,B.port=H.port,B.path=g(H.path),B.query=H.query;else if(rt==="/"||rt==="\\"&&B.isSpecial())Z=Ft;else if(rt==="?")B.username=H.username,B.password=H.password,B.host=H.host,B.port=H.port,B.path=g(H.path),B.query="",Z=hr;else if(rt==="#")B.username=H.username,B.password=H.password,B.host=H.host,B.port=H.port,B.path=g(H.path),B.query=H.query,B.fragment="",Z=lr;else{B.username=H.username,B.password=H.password,B.host=H.host,B.port=H.port,B.path=g(H.path),B.path.length--,Z=ir;continue}break;case Ft:if(B.isSpecial()&&(rt==="/"||rt==="\\"))Z=Yt;else if(rt==="/")Z=Qt;else{B.username=H.username,B.password=H.password,B.host=H.host,B.port=H.port,Z=ir;continue}break;case Ht:if(Z=Yt,rt!=="/"||D(Et,At+1)!=="/")continue;At++;break;case Yt:if(rt!=="/"&&rt!=="\\"){Z=Qt;continue}break;case Qt:if(rt==="@"){wt&&(Et="%40"+Et),wt=!0,qt=h(Et);for(var Ir=0;Ir65535)return at;B.port=B.isSpecial()&&mr===w[B.scheme]?null:mr,Et=""}if(nt)return;Z=yr;continue}else return at;break;case xr:if(B.scheme="file",rt==="/"||rt==="\\")Z=Ar;else if(H&&H.scheme==="file")switch(rt){case q:B.host=H.host,B.path=g(H.path),B.query=H.query;break;case"?":B.host=H.host,B.path=g(H.path),B.query="",Z=hr;break;case"#":B.host=H.host,B.path=g(H.path),B.query=H.query,B.fragment="",Z=lr;break;default:k(j(g(ar,At),""))||(B.host=H.host,B.path=g(H.path),B.shortenPath()),Z=ir;continue}else{Z=ir;continue}break;case Ar:if(rt==="/"||rt==="\\"){Z=Sr;break}H&&H.scheme==="file"&&!k(j(g(ar,At),""))&&(tt(H.path[0],!0)?K(B.path,H.path[0]):B.host=H.host),Z=ir;continue;case Sr:if(rt===q||rt==="/"||rt==="\\"||rt==="?"||rt==="#"){if(!nt&&tt(Et))Z=ir;else if(Et===""){if(B.host="",nt)return;Z=yr}else{if(vr=B.parseHost(Et),vr)return vr;if(B.host==="localhost"&&(B.host=""),nt)return;Et="",Z=yr}continue}else Et+=rt;break;case yr:if(B.isSpecial()){if(Z=ir,rt!=="/"&&rt!=="\\")continue}else if(!nt&&rt==="?")B.query="",Z=hr;else if(!nt&&rt==="#")B.fragment="",Z=lr;else if(rt!==q&&(Z=ir,rt!=="/"))continue;break;case ir:if(rt===q||rt==="/"||rt==="\\"&&B.isSpecial()||!nt&&(rt==="?"||rt==="#")){if(J(Et)?(B.shortenPath(),rt!=="/"&&!(rt==="\\"&&B.isSpecial())&&K(B.path,"")):ot(Et)?rt!=="/"&&!(rt==="\\"&&B.isSpecial())&&K(B.path,""):(B.scheme==="file"&&!B.path.length&&tt(Et)&&(B.host&&(B.host=""),Et=D(Et,0)+":"),K(B.path,Et)),Et="",B.scheme==="file"&&(rt===q||rt==="?"||rt==="#"))for(;B.path.length>1&&B.path[0]==="";)it(B.path);rt==="?"?(B.query="",Z=hr):rt==="#"&&(B.fragment="",Z=lr)}else Et+=G(rt,Jt);break;case Pr:rt==="?"?(B.query="",Z=hr):rt==="#"?(B.fragment="",Z=lr):rt!==q&&(B.path[0]+=G(rt,gt));break;case hr:!nt&&rt==="#"?(B.fragment="",Z=lr):rt!==q&&(rt==="'"&&B.isSpecial()?B.query+="%27":rt==="#"?B.query+="%23":B.query+=G(rt,gt));break;case lr:rt!==q&&(B.fragment+=G(rt,ht));break}At++}},parseHost:function(b){var nt,H,B;if(D(b,0)==="["){if(D(b,b.length-1)!=="]"||(nt=Y(lt(b,1,-1)),!nt))return Nt;this.host=nt}else if(this.isSpecial()){if(b=y(b),L(bt,b)||(nt=st(b),nt===null))return Nt;this.host=nt}else{if(L(Mt,b))return Nt;for(nt="",H=h(b),B=0;B1?arguments[1]:void 0,Z=O(H,new Er(nt,!1,B));n||(H.href=Z.serialize(),H.origin=Z.getOrigin(),H.protocol=Z.getProtocol(),H.username=Z.getUsername(),H.password=Z.getPassword(),H.host=Z.getHost(),H.hostname=Z.getHostname(),H.port=Z.getPort(),H.pathname=Z.getPathname(),H.search=Z.getSearch(),H.searchParams=Z.getSearchParams(),H.hash=Z.getHash())},nr=pr.prototype,er=function(b,nt){return{get:function(){return I(this)[b]()},set:nt&&function(H){return I(this)[nt](H)},configurable:!0,enumerable:!0}};if(n&&(v(nr,"href",er("serialize","setHref")),v(nr,"origin",er("getOrigin")),v(nr,"protocol",er("getProtocol","setProtocol")),v(nr,"username",er("getUsername","setUsername")),v(nr,"password",er("getPassword","setPassword")),v(nr,"host",er("getHost","setHost")),v(nr,"hostname",er("getHostname","setHostname")),v(nr,"port",er("getPort","setPort")),v(nr,"pathname",er("getPathname","setPathname")),v(nr,"search",er("getSearch","setSearch")),v(nr,"searchParams",er("getSearchParams")),v(nr,"hash",er("getHash","setHash"))),i(nr,"toJSON",function(){return I(this).serialize()},{enumerable:!0}),i(nr,"toString",function(){return I(this).serialize()},{enumerable:!0}),P){var Cr=P.createObjectURL,Or=P.revokeObjectURL;Cr&&i(pr,"createObjectURL",o(Cr,P)),Or&&i(pr,"revokeObjectURL",o(Or,P))}E(pr,"URL"),r({global:!0,constructor:!0,forced:!e,sham:!n},{URL:pr})},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)}},gr={};function sr(s){var l=gr[s];if(l!==void 0)return l.exports;var t=gr[s]={exports:{}};return Dr[s].call(t.exports,t,t.exports,sr),t.exports}(function(){sr.d=function(s,l){for(var t in l)sr.o(l,t)&&!sr.o(s,t)&&Object.defineProperty(s,t,{enumerable:!0,get:l[t]})}})(),function(){sr.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)}}(),sr(61969);var Fr=sr(19770);return Fr=Fr.default,Fr}()}); diff --git a/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js index 70e9f32b2..1edf25d32 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -23066,7 +23066,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 d76ae0d43..5271adf62 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */(function(qr,$r){typeof exports=="object"&&typeof module=="object"?module.exports=$r():typeof define=="function"&&define.amd?define("bb",[],$r):typeof exports=="object"?exports.bb=$r():(qr.bb=qr.bb||{},qr.bb.plugin=qr.bb.plugin||{},qr.bb.plugin["sparkline.pkgd"]=$r())})(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"},R={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"},I={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"},A={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},N={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},P={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},C={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"},D={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"},B={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},U={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},j={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},z={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var Q=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),R),I),A),N),P),T),C),L),D),$),G),V),B),U),j),z);function X(){}function k(e){return e==null?X:function(){return this.querySelector(e)}}function Z(e){typeof e!="function"&&(e=k(e));for(var f=this._groups,c=f.length,x=new Array(c),O=0;O=wt&&(wt=Kt+1);!(rr=Et[wt])&&++wt=0;)(F=x[O])&&(M&&F.compareDocumentPosition(M)^4&&M.parentNode.insertBefore(F,M),M=F);return this}function or(e){e||(e=K);function f(It,Ft){return It&&Ft?e(It.__data__,Ft.__data__):!It-!Ft}for(var c=this._groups,x=c.length,O=new Array(x),M=0;Mf?1:e>=f?0:NaN}function et(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function it(){return Array.from(this)}function ot(){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 pt(e){return function(){this.removeAttribute(e)}}function xt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Bt(e,f){return function(){this.setAttribute(e,f)}}function Zt(e,f){return function(){this.setAttributeNS(e.space,e.local,f)}}function nr(e,f){return function(){var c=f.apply(this,arguments);c==null?this.removeAttribute(e):this.setAttribute(e,c)}}function ar(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 ir(e,f){var c=ht(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?xt:pt:typeof f=="function"?c.local?ar:nr:c.local?Zt:Bt)(c,f))}function cr(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Br(e){return function(){this.style.removeProperty(e)}}function gn(e,f,c){return function(){this.style.setProperty(e,f,c)}}function Fn(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?Br:typeof f=="function"?Fn:gn)(e,f,c==null?"":c)):Lr(this.node(),e)}function Lr(e,f){return e.style.getPropertyValue(f)||cr(e).getComputedStyle(e,null).getPropertyValue(f)}function Ur(e){return function(){delete this[e]}}function Dn(e,f){return function(){this[e]=f}}function Jr(e,f){return function(){var c=f.apply(this,arguments);c==null?delete this[e]:this[e]=c}}function jr(e,f){return arguments.length>1?this.each((f==null?Ur:typeof f=="function"?Jr:Dn)(e,f)):this.node()[e]}function fn(e){return e.trim().split(/^|\s+/)}function zr(e){return e.classList||new mr(e)}function mr(e){this._node=e,this._names=fn(e.getAttribute("class")||"")}mr.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 Nr(e,f){for(var c=zr(e),x=-1,O=f.length;++x=0&&(c=f.slice(x+1),f=f.slice(0,x)),{type:f,name:c}})}function Ba(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}})}Un.prototype=be.prototype={constructor:Un,on:function(e,f){var c=this._,x=Ka(e+"",c),O,M=-1,F=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;--vn}function Be(){an=(wn=Tn.now())+Gn,vn=Sn=0;try{Za()}finally{vn=0,qa(),an=0}}function ka(){var e=Tn.now(),f=e-wn;f>De&&(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(!vn){Sn&&(Sn=clearTimeout(Sn));var f=e-an;f>24?(e<1/0&&(Sn=setTimeout(Be,e-Tn.now()-Gn)),En&&(En=clearInterval(En))):(En||(wn=Tn.now(),En=setInterval(ka,De)),vn=1,Le(Be))}}function Ue(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 F=e.__transition;if(!F)e.__transition={};else if(c in F)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=Vr(e,f);if(c.state>je)throw new Error("too late; already scheduled");return c}function Yr(e,f){var c=Vr(e,f);if(c.state>Hn)throw new Error("too late; already running");return c}function Vr(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(q){c.state=we,c.timer.restart(F,c.delay,c.time),c.delay<=q&&F(q-c.delay)}function F(q){var tt,It,Ft,Vt;if(c.state!==we)return W();for(tt in x)if(Vt=x[tt],Vt.name===c.name){if(Vt.state===Hn)return Ue(F);Vt.state===Ge?(Vt.state=Wn,Vt.timer.stop(),Vt.on.call("interrupt",e,e.__data__,Vt.index,Vt.group),delete x[tt]):+ttue&&x.state180?tt+=360:tt-q>180&&(q+=360),Ft.push({i:It.push(O(It)+"rotate(",null,x)-2,x:_r(q,tt)})):tt&&It.push(O(It)+"rotate("+tt+x)}function w(q,tt,It,Ft){q!==tt?Ft.push({i:It.push(O(It)+"skewX(",null,x)-2,x:_r(q,tt)}):tt&&It.push(O(It)+"skewX("+tt+x)}function W(q,tt,It,Ft,Vt,fr){if(q!==It||tt!==Ft){var xr=Vt.push(O(Vt)+"scale(",null,",",null,")");fr.push({i:xr-4,x:_r(q,It)},{i:xr-2,x:_r(tt,Ft)})}else(It!==1||Ft!==1)&&Vt.push(O(Vt)+"scale("+It+","+Ft+")")}return function(q,tt){var It=[],Ft=[];return q=e(q),tt=e(tt),M(q.translateX,q.translateY,tt.translateX,tt.translateY,It,Ft),F(q.rotate,tt.rotate,It,Ft),w(q.skewX,tt.skewX,It,Ft),W(q.scaleX,q.scaleY,tt.scaleX,tt.scaleY,It,Ft),q=tt=null,function(Vt){for(var fr=-1,xr=Ft.length,Et;++fr>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 Fr(f[1],f[2],f[3],1):(f=ho.exec(e))?new Fr(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 Fr(NaN,NaN,NaN,0):null}function Je(e){return new Fr(e>>16&255,e>>8&255,e&255,1)}function Xn(e,f,c,x){return x<=0&&(e=f=c=NaN),new Fr(e,f,c,x)}function Eo(e){return e instanceof In||(e=Pn(e)),e?(e=e.rgb(),new Fr(e.r,e.g,e.b,e.opacity)):new Fr}function Jn(e,f,c,x){return arguments.length===1?Eo(e):new Fr(e,f,c,x==null?1:x)}function Fr(e,f,c,x){this.r=+e,this.g=+f,this.b=+c,this.opacity=+x}de(Fr,Jn,ze(In,{brighter(e){return e=e==null?Kn:Math.pow(Kn,e),new Fr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?An:Math.pow(An,e),new Fr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Fr(on(this.r),on(this.g),on(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`#${sn(this.r)}${sn(this.g)}${sn(this.b)}`}function Oo(){return`#${sn(this.r)}${sn(this.g)}${sn(this.b)}${sn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ze(){const e=Qn(this.opacity);return`${e===1?"rgb(":"rgba("}${on(this.r)}, ${on(this.g)}, ${on(this.b)}${e===1?")":`, ${e})`}`}function Qn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function on(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function sn(e){return e=on(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 Hr(e,f,c,x)}function qe(e){if(e instanceof Hr)return new Hr(e.h,e.s,e.l,e.opacity);if(e instanceof In||(e=Pn(e)),!e)return new Hr;if(e instanceof Hr)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),F=NaN,w=M-O,W=(M+O)/2;return w?(f===M?F=(c-x)/w+(c0&&W<1?0:F,new Hr(F,w,W,e.opacity)}function To(e,f,c,x){return arguments.length===1?qe(e):new Hr(e,f,c,x==null?1:x)}function Hr(e,f,c,x){this.h=+e,this.s=+f,this.l=+c,this.opacity=+x}de(Hr,To,ze(In,{brighter(e){return e=e==null?Kn:Math.pow(Kn,e),new Hr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?An:Math.pow(An,e),new Hr(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 Fr(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 Hr(_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,F=M*e;return((1-3*e+3*M-F)*f+(4-6*M+3*F)*c+(1+3*e+3*M-3*F)*x+F*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],F=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 F=c((O=Jn(O)).r,(M=Jn(M)).r),w=c(O.g,M.g),W=c(O.b,M.b),q=ea(O.opacity,M.opacity);return function(tt){return O.r=F(tt),O.g=w(tt),O.b=W(tt),O.opacity=q(tt),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),F,w;for(F=0;Fc&&(M=f.slice(c,M),w[F]?w[F]+=M:w[++F]=M),(x=x[0])===(O=O[0])?w[F]?w[F]+=O:w[++F]=O:(w[++F]=null,W.push({i:F,x:_r(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:Yr;return function(){var F=M(this,e),w=F.on;w!==x&&(O=(x=w).copy()).on(f,c),F.on=O}}function es(e,f){var c=this._id;return arguments.length<2?Vr(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=k(e));for(var x=this._groups,O=x.length,M=new Array(O),F=0;F{const pr=Qt.identifier;return Qt=pointer(Qt,Gt),Qt.point0=Qt.slice(),Qt.identifier=pr,Qt});interrupt(Gt);var Nn=tt(Gt,arguments,!0).beforestart();if(Kt==="overlay"){hr&&(Pe=!0);const Qt=[Dr[0],Dr[1]||Dr[0]];Mr.selection=hr=[[vr=e===qn?Wr:Cr(Qt[0][0],Qt[1][0]),Er=e===kn?tn:Cr(Qt[0][1],Qt[1][1])],[Tr=e===qn?rn:Pr(Qt[0][0],Qt[1][0]),Ar=e===kn?nn:Pr(Qt[0][1],Qt[1][1])]],Dr.length>1&&un(Et)}else vr=hr[0][0],Er=hr[0][1],Tr=hr[1][0],Ar=hr[1][1];Sr=vr,Or=Er,Ir=Tr,Rr=Ar;var Ea=select(Gt).attr("pointer-events","none"),Mn=Ea.selectAll(".overlay").attr("cursor",kr[Kt]);if(Et.touches)Nn.moved=Ta,Nn.ended=Ia;else{var Oa=select(Et.view).on("mousemove.brush",Ta,!0).on("mouseup.brush",Ia,!0);O&&Oa.on("keydown.brush",ii,!0).on("keyup.brush",ui,!0),dragDisable(Et.view)}q.call(Gt),Nn.start(Et,wt.name);function Ta(Qt){for(const pr of Qt.changedTouches||[Qt])for(const bn of Dr)bn.identifier===pr.identifier&&(bn.cur=pointer(pr,Gt));if(ne&&!ee&&!ae&&Dr.length===1){const pr=Dr[0];la(pr.cur[0]-pr[0])>la(pr.cur[1]-pr[1])?ae=!0:ee=!0}for(const pr of Dr)pr.cur&&(pr[0]=pr.cur[0],pr[1]=pr.cur[1]);Pe=!0,noevent(Qt),un(Qt)}function un(Qt){const pr=Dr[0],bn=pr.point0;var en;switch(gr=pr[0]-bn[0],yr=pr[1]-bn[1],wt){case pe:case fa:{tr&&(gr=Pr(Wr-vr,Cr(rn-Tr,gr)),Sr=vr+gr,Ir=Tr+gr),rr&&(yr=Pr(tn-Er,Cr(nn-Ar,yr)),Or=Er+yr,Rr=Ar+yr);break}case dn:{Dr[1]?(tr&&(Sr=Pr(Wr,Cr(rn,Dr[0][0])),Ir=Pr(Wr,Cr(rn,Dr[1][0])),tr=1),rr&&(Or=Pr(tn,Cr(nn,Dr[0][1])),Rr=Pr(tn,Cr(nn,Dr[1][1])),rr=1)):(tr<0?(gr=Pr(Wr-vr,Cr(rn-vr,gr)),Sr=vr+gr,Ir=Tr):tr>0&&(gr=Pr(Wr-Tr,Cr(rn-Tr,gr)),Sr=vr,Ir=Tr+gr),rr<0?(yr=Pr(tn-Er,Cr(nn-Er,yr)),Or=Er+yr,Rr=Ar):rr>0&&(yr=Pr(tn-Ar,Cr(nn-Ar,yr)),Or=Er,Rr=Ar+yr));break}case hn:{tr&&(Sr=Pr(Wr,Cr(rn,vr-gr*tr)),Ir=Pr(Wr,Cr(rn,Tr+gr*tr))),rr&&(Or=Pr(tn,Cr(nn,Er-yr*rr)),Rr=Pr(tn,Cr(nn,Ar+yr*rr)));break}}Ir0&&(vr=Sr-gr),rr<0?Ar=Rr-yr:rr>0&&(Er=Or-yr),wt=pe,Mn.attr("cursor",kr.selection),un(Qt));break}default:return}noevent(Qt)}function ui(Qt){switch(Qt.keyCode){case 16:{ne&&(ee=ae=ne=!1,un(Qt));break}case 18:{wt===hn&&(tr<0?Tr=Ir:tr>0&&(vr=Sr),rr<0?Ar=Rr:rr>0&&(Er=Or),wt=dn,un(Qt));break}case 32:{wt===pe&&(Qt.altKey?(tr&&(Tr=Ir-gr*tr,vr=Sr+gr*tr),rr&&(Ar=Rr-yr*rr,Er=Or+yr*rr),wt=hn):(tr<0?Tr=Ir:tr>0&&(vr=Sr),rr<0?Ar=Rr:rr>0&&(Er=Or),wt=dn),Mn.attr("cursor",kr[Kt]),un(Qt));break}default:return}noevent(Qt)}}function Vt(Et){tt(this,arguments).moved(Et)}function fr(Et){tt(this,arguments).ended(Et)}function xr(){var Et=this.__brush||{selection:null};return Et.extent=me(f.apply(this,arguments)),Et.dim=e,Et}return W.extent=function(Et){return arguments.length?(f=typeof Et=="function"?Et:constant(me(Et)),W):f},W.filter=function(Et){return arguments.length?(c=typeof Et=="function"?Et:constant(!!Et),W):c},W.touchable=function(Et){return arguments.length?(x=typeof Et=="function"?Et:constant(!!Et),W):x},W.handleSize=function(Et){return arguments.length?(F=+Et,W):F},W.keyModifiers=function(Et){return arguments.length?(O=!!Et,W):O},W.on=function(){var Et=M.on.apply(M,arguments);return Et===M?W:Et},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 Fi(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(` -`),F=x?M.length-1:1;e.html(""),M.forEach((w,W)=>{e.append("tspan").attr("x",0).attr("dy",`${W===0?c[0]*F: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 Di(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 Bi(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:F,w=0}=e[M];return O&&(F=e[M].y,w=e[M].h),f>=F&&f<=F+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,F=`${x} ${(w=>w.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${c.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](F,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,F;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)+((F=e.scrollTop)!=null?F:0)}}function zi(e,f=0,c=0,x=!0){const O=new DOMPoint(f,c),M=e.getScreenCTM();return O.matrixTransform(x?M==null?void 0:M.inverse():M)}function Yi(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 Ki(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 Xi(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 Qi=(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 ki(e,f){let c=e;for(const x in f)c=c.replace(new RegExp(`{=${x}}`,"g"),f[x]);return c}function qi(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 _i(e){const f=e.attr("viewBox");return f?/(\d+(\.\d+)?){3}/.test(f):!1}function tu(e,f,c=!1){const x=!!e.node;let O=!1;for(const[M,F]of Object.entries(f))if(O=x?e.style(M)===F:e.style[M]===F,c===!1&&O)break;return O}function ru(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function nu(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 F=x.shift();if(F&&c&&Oe(c)&&F in c)return c=c[F],M();if(!F)return c};Object.keys(f).forEach(F=>{c=e,x=F.split("_"),O=M(),pa(O)&&(f[F]=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.13.0-nightly-20240921004638");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,F){return F==="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 F=M.pageY-O*1.35,w=M.pageX-x/2;return F<0&&(F=0),w<0&&(w=0),{top:F,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{$$:F}=this,w=F.getDataIndexFromEvent(f),W=(c=F.api.data(f.target.__id))==null?void 0:c[0],q=(x=W==null?void 0:W.values)==null?void 0:x[w];q&&!q.name&&(q.name=q.id),F.state.event=f,(O=F.isPointFocusOnly)!=null&&O.call(F)&&q&&((M=F.showCircleFocus)==null||M.call(F,[q])),F.setExpand(w,W.id,!0),F.showTooltip([q],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(),F=(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 q=`.${l.target}-${w}`,tt=x.main.selectAll(q);let It=O[W].querySelector("svg");It||(O[W].innerHTML=`${F}`,It=O[W].querySelector("svg"),It.__id=w),It.querySelector(q)||tt.style("opacity",null),tt.style("fill","none").style("opacity",null),It.innerHTML="",It.appendChild(tt.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"),R=a(m,"maxByteLength","get"),I=n(E.getInt8),A=n(E.setInt8);i.exports=(v||l)&&function(N,P,C){var b=u(N),L=P===void 0?b:o(P),D=!T||!T(N),$;if(s(N),v&&(N=d(N,{transfer:[N]}),b===L&&(C||D)))return N;if(b>=L&&(!C||D))$=S(N,0,L);else{var G=C&&!D&&R?{maxByteLength:R(N)}:void 0;$=new g(L,G);for(var V=new y(N),B=new y($),U=p(L,b),j=0;j>8&255]},Dt=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},Nt=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Ut=function(st){return Lt(E(st),23,4)},qt=function(st){return Lt(st,52,8)},_t=function(st,dt,_){l(st[V],dt,{configurable:!0,get:function(){return _(this)[dt]}})},Xt=function(st,dt,_,Rt){var Pt=z(st),Ot=m(_),St=!!Rt;if(Ot+dt>Pt.byteLength)throw new At(U);var er=Pt.bytes,or=Ot+Pt.byteOffset,K=A(er,or,or+dt);return St?K:Ht(K)},$t=function(st,dt,_,Rt,Pt,Ot){var St=z(st),er=m(_),or=Rt(+Pt),K=!!Ot;if(er+dt>St.byteLength)throw new At(U);for(var et=St.bytes,it=er+St.byteOffset,ot=0;otOt)throw new At("Wrong offset");if(Rt=Rt===void 0?Ot-St:p(Rt),St+Rt>Ot)throw new At(B);Q(this,{type:G,buffer:dt,byteLength:Rt,byteOffset:St,bytes:Pt.bytes}),a||(this.buffer=dt,this.byteLength=Rt,this.byteOffset=St)},lt=gt[V],a&&(_t(k,"byteLength",j),_t(gt,"buffer",z),_t(gt,"byteLength",z),_t(gt,"byteOffset",z)),v(lt,{getInt8:function(dt){return Xt(this,1,dt)[0]<<24>>24},getUint8:function(dt){return Xt(this,1,dt)[0]},getInt16:function(dt){var _=Xt(this,2,dt,arguments.length>1?arguments[1]:!1);return(_[1]<<8|_[0])<<16>>16},getUint16:function(dt){var _=Xt(this,2,dt,arguments.length>1?arguments[1]:!1);return _[1]<<8|_[0]},getInt32:function(dt){return Nt(Xt(this,4,dt,arguments.length>1?arguments[1]:!1))},getUint32:function(dt){return Nt(Xt(this,4,dt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(dt){return vt(Xt(this,4,dt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(dt){return vt(Xt(this,8,dt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(dt,_){$t(this,1,dt,mt,_)},setUint8:function(dt,_){$t(this,1,dt,mt,_)},setInt16:function(dt,_){$t(this,2,dt,Mt,_,arguments.length>2?arguments[2]:!1)},setUint16:function(dt,_){$t(this,2,dt,Mt,_,arguments.length>2?arguments[2]:!1)},setInt32:function(dt,_){$t(this,4,dt,Dt,_,arguments.length>2?arguments[2]:!1)},setUint32:function(dt,_){$t(this,4,dt,Dt,_,arguments.length>2?arguments[2]:!1)},setFloat32:function(dt,_){$t(this,4,dt,Ut,_,arguments.length>2?arguments[2]:!1)},setFloat64:function(dt,_){$t(this,8,dt,qt,_,arguments.length>2?arguments[2]:!1)}});else{var Jt=L&&X.name!==$;!d(function(){X(1)})||!d(function(){new X(-1)})||d(function(){return new X,new X(1.5),new X(NaN),X.length!==1||Jt&&!D})?(k=function(dt){return g(this,Z),N(new X(m(dt)),this,k)},k[V]=Z,Z.constructor=k,P(k,X)):Jt&&D&&u(X,"name",$),R&&T(lt)!==yt&&R(lt,yt);var Yt=new gt(new k(2)),jt=n(lt.setInt8);Yt.setInt8(0,2147483648),Yt.setInt8(1,2147483649),(Yt.getInt8(0)||!Yt.getInt8(1))&&v(lt,{setInt8:function(dt,_){jt(this,dt,_<<24>>24)},setUint8:function(dt,_){jt(this,dt,_<<24>>24)}},{unsafe:!0})}C(k,$),C(gt,G),i.exports={ArrayBuffer:k,DataView:gt}},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,R=T>1?arguments[1]:void 0,I=R!==void 0;I&&(R=r(R,T>2?arguments[2]:void 0));var A=g(E),N=0,P,C,b,L,D,$;if(A&&!(this===y&&s(A)))for(C=S?new this:[],L=d(E,A),D=L.next;!(b=n(D,L)).done;N++)$=I?o(L,R,[b.value,N],!0):b.value,v(C,N,$);else for(P=l(E),C=S?new this(P):y(P);P>N;N++)$=I?R(E[N],N):E[N],v(C,N,$);return C.length=N,C}},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(R,I,A,N){for(var P=o(R),C=a(P),b=s(C),L=r(I,A),D=0,$=N||u,G=g?$(R,b):y||S?$(R,0):void 0,V,B;b>D;D++)if((T||D in C)&&(V=C[D],B=L(V,D,P),d))if(g)G[D]=B;else if(B)switch(d){case 3:return!0;case 5:return V;case 6:return D;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,R=v?-1:1;if(y<2)for(;;){if(T in E){p=E[T],T+=R;break}if(T+=R,v?T<0:S<=T)throw new s(u)}for(;v?T>=0:S>T;T+=R)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),B;B=B?B.next:G.first;)for(V(B.value,B.key,this);B&&B.removed;)B=B.previous},has:function($){return!!L(this,$)}}),a(P,I?{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(P,"size",{configurable:!0,get:function(){return C(this).size}}),N},setStrong:function(T,R,I){var A=R+" Iterator",N=S(R),P=S(A);v(T,R,function(C,b){E(this,{type:A,target:C,state:N(C),kind:b,last:null})},function(){for(var C=P(this),b=C.kind,L=C.last;L&&L.removed;)L=L.previous;return!C.target||!(C.last=L=L?L.next:C.state.first)?(C.target=null,d(void 0,!0)):d(b==="keys"?L.key:b==="values"?L.value:[L.key,L.value],!1)},I?"entries":"values",!I,!0),g(R)}}},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),R=0,I=function(P){return P.frozen||(P.frozen=new A)},A=function(){this.entries=[]},N=function(P,C){return E(P.entries,function(b){return b[0]===C})};A.prototype={get:function(P){var C=N(this,P);if(C)return C[1]},has:function(P){return!!N(this,P)},set:function(P,C){var b=N(this,P);b?b[1]=C:this.entries.push([P,C])},delete:function(P){var C=S(this.entries,function(b){return b[0]===P});return~C&&T(this.entries,C,1),!!~C}},i.exports={getConstructor:function(P,C,b,L){var D=P(function(B,U){o(B,$),p(B,{type:C,id:R++,frozen:null}),u(U)||v(U,B[L],{that:B,AS_ENTRIES:b})}),$=D.prototype,G=m(C),V=function(B,U,j){var z=G(B),Q=a(s(U),!0);return Q===!0?I(z).set(U,j):Q[z.id]=j,B};return n($,{delete:function(B){var U=G(this);if(!l(B))return!1;var j=a(B);return j===!0?I(U).delete(B):j&&g(j,U.id)&&delete j[U.id]},has:function(U){var j=G(this);if(!l(U))return!1;var z=a(U);return z===!0?I(j).has(U):z&&g(z,j.id)}}),n($,b?{get:function(U){var j=G(this);if(l(U)){var z=a(U);if(z===!0)return I(j).get(U);if(z)return z[j.id]}},set:function(U,j){return V(this,U,j)}}:{add:function(U){return V(this,U,!0)}}),D}}},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,R,I){var A=T.indexOf("Map")!==-1,N=T.indexOf("Weak")!==-1,P=A?"set":"add",C=n[T],b=C&&C.prototype,L=C,D={},$=function(Q){var X=a(b[Q]);s(b,Q,Q==="add"?function(Z){return X(this,Z===0?0:Z),this}:Q==="delete"?function(k){return N&&!y(k)?!1:X(this,k===0?0:k)}:Q==="get"?function(Z){return N&&!y(Z)?void 0:X(this,Z===0?0:Z)}:Q==="has"?function(Z){return N&&!y(Z)?!1:X(this,Z===0?0:Z)}:function(Z,gt){return X(this,Z===0?0:Z,gt),this})},G=o(T,!d(C)||!(N||b.forEach&&!p(function(){new C().entries().next()})));if(G)L=I.getConstructor(R,T,A,P),u.enable();else if(o(T,!0)){var V=new L,B=V[P](N?{}:-0,1)!==V,U=p(function(){V.has(1)}),j=m(function(Q){new C(Q)}),z=!N&&p(function(){for(var Q=new C,X=5;X--;)Q[P](X,X);return!Q.has(-0)});j||(L=R(function(Q,X){v(Q,b);var k=S(new C,Q,L);return g(X)||l(X,k[P],{that:k,AS_ENTRIES:A}),k}),L.prototype=b,b.constructor=L),(U||z)&&($("delete"),$("has"),A&&$("get")),(z||B)&&$(P),N&&b.clear&&delete b.clear}return D[T]=L,r({global:!0,constructor:!0,forced:L!==C},D),E(L,T),N||I.setStrong(L,T,A),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 I=this,A=y(I),N=m(I),P=A<0?"-":A>9999?"+":"";return P+a(u(A),P?6:4,0)+"-"+a(S(I)+1,2,0)+"-"+a(g(I),2,0)+"T"+a(p(I),2,0)+":"+a(E(I),2,0)+":"+a(T(I),2,0)+"."+a(N,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,R,I;if(y?E=r:p?E=r[g]||s(g,{}):E=r[g]&&r[g].prototype,E)for(S in d){if(R=d[S],v.dontCallGetSet?(I=n(E,S),T=I&&I.value):T=E[S],m=l(y?S:g+(p?".":"#")+S,v.forced),!m&&T!==void 0){if(typeof R==typeof T)continue;u(R,T)}(v.sham||T&&T.sham)&&a(R,"sham",!0),o(E,S,R,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 I={};return I[m]=function(){return 7},""[d](I)!==7}),S=E&&!o(function(){var I=!1,A=/a/;return d==="split"&&(A={},A.constructor={},A.constructor[l]=function(){return A},A.flags="",A[m]=/./[m]),A.exec=function(){return I=!0,null},A[m](""),!I});if(!E||!S||y){var T=/./[m],R=g(m,""[d],function(I,A,N,P,C){var b=A.exec;return b===a||b===v.exec?E&&!C?{done:!0,value:r(T,A,N,P)}:{done:!0,value:r(I,N,A,P)}:{done:!1}});n(String.prototype,d,R[0]),n(v,m,R[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,R,I;S0&&r(R)?(I=n(R),E=s(u,l,R,I,E,y-1)-1):(a(E+1),u[E]=R),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,R=v;return m!==void 0&&(m=n(m),R=l),s(E,R,function(I,A){var N;switch(o(A,0)){case"$":return"$";case"&":return d;case"`":return u(g,0,y);case"'":return u(g,S);case"<":N=m[u(A,1,-1)];break;default:var P=+A;if(P===0)return I;if(P>T){var C=a(P/10);return C===0?I:C<=T?p[C-1]===void 0?o(A,1):p[C-1]+o(A,1):I}N=p[P-1]}return N===void 0?"":N})}},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,R,I,A;for(l=t(l),l!==l||l===1/0?(I=l!==l?1:0,R=p):(R=n(a(l)/o),A=r(2,-R),l*A<1&&(R--,A*=2),R+m>=1?l+=E/A:l+=E*r(2,1-m),l*A>=2&&(R++,A/=2),R+m>=p?(I=0,R=p):R+m>=1?(I=(l*A-1)*r(2,v),R+=m):(I=l*r(2,m-1)*r(2,v),R=0));v>=8;)g[T++]=I&255,I/=256,v-=8;for(R=R<0;)g[T++]=R&255,R/=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,R;for(S>>=7;m>0;)T=T*256+l[E--],m-=8;for(R=T&(1<<-m)-1,T>>=-m,m+=v;m>0;)R=R*256+l[E--],m-=8;if(T===0)T=1-p;else{if(T===y)return R?NaN:S?-1/0:1/0;R+=r(2,v),T-=p}return(S?-1:1)*R*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(P){u(P,m,{value:{objectID:"O"+E++,weakData:{}}})},T=function(P,C){if(!o(P))return typeof P=="symbol"?P:(typeof P=="string"?"S":"P")+P;if(!s(P,m)){if(!d(P))return"F";if(!C)return"E";S(P)}return P[m].objectID},R=function(P,C){if(!s(P,m)){if(!d(P))return!0;if(!C)return!1;S(P)}return P[m].weakData},I=function(P){return y&&p&&d(P)&&!s(P,m)&&S(P),P},A=function(){N.enable=function(){},p=!0;var P=l.f,C=n([].splice),b={};b[m]=1,P(b).length&&(l.f=function(L){for(var D=P(L),$=0,G=D.length;$D;D++)if(G=j(E[D]),G&&l(m,G))return G;return new p(!1)}b=v(E,L)}for(V=A?E.next:b.next;!(B=n(V,b)).done;){try{G=j(B.value)}catch(z){g(b,"throw",z)}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,R=E.IteratorPrototype,I=E.BUGGY_SAFARI_ITERATORS,A=p("iterator"),N="keys",P="values",C="entries",b=function(){return this};i.exports=function(L,D,$,G,V,B,U){u($,D,G);var j=function(At){if(At===V&&Z)return Z;if(!I&&At&&At in X)return X[At];switch(At){case N:return function(){return new $(this,At)};case P:return function(){return new $(this,At)};case C:return function(){return new $(this,At)}}return function(){return new $(this)}},z=D+" Iterator",Q=!1,X=L.prototype,k=X[A]||X["@@iterator"]||V&&X[V],Z=!I&&k||j(V),gt=D==="Array"&&X.entries||k,lt,yt,Tt;if(gt&&(lt=l(gt.call(new L)),lt!==Object.prototype&<.next&&(!a&&l(lt)!==R&&(v?v(lt,R):s(lt[A])||y(lt,A,b)),d(lt,z,!0,!0),a&&(m[z]=b))),S&&V===P&&k&&k.name!==P&&(!a&&T?g(X,"name",P):(Q=!0,Z=function(){return n(k,this)})),V)if(yt={values:j(P),keys:B?Z:j(N),entries:j(C)},U)for(Tt in yt)(I||Q||!(Tt in X))&&y(X,Tt,yt[Tt]);else r({target:D,proto:!0,forced:I||Q},yt);return(!a||U)&&X[A]!==Z&&y(X,A,Z,{name:V}),m[D]=Z,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}),R=String(String).split("String"),I=i.exports=function(A,N,P){m(y(N),0,7)==="Symbol("&&(N="["+E(y(N),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),P&&P.getter&&(N="get "+N),P&&P.setter&&(N="set "+N),(!o(A,"name")||u&&A.name!==N)&&(s?p(A,"name",{value:N,configurable:!0}):A.name=N),T&&P&&o(P,"arity")&&A.length!==P.arity&&p(A,"length",{value:P.arity});try{P&&o(P,"constructor")&&P.constructor?s&&p(A,"prototype",{writable:!1}):A.prototype&&(A.prototype=void 0)}catch(b){}var C=d(A);return o(C,"source")||(C.source=S(R,typeof N=="string"?N:"")),A};Function.prototype.toString=I(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,R,I,A;if(!E){var N=new s,P=function(){var C,b;for(d&&(C=p.domain)&&C.exit();b=N.get();)try{b()}catch(L){throw N.head&&S(),L}C&&C.enter()};!u&&!d&&!v&&g&&y?(T=!0,R=y.createTextNode(""),new g(P).observe(R,{characterData:!0}),S=function(){R.data=T=!T}):!l&&m&&m.resolve?(I=m.resolve(void 0),I.constructor=m,A=a(I.then,I),S=function(){A(P)}):d?S=function(){p.nextTick(P)}:(o=a(o,r),S=function(){o(P)}),E=function(C){N.head||S(),N.add(C)}}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(R){E[R]=R}),g({},m)[S]!==7||s(g({},E)).join("")!==T})?function(E,S){for(var T=v(E),R=arguments.length,I=1,A=u.f,N=l.f;R>I;)for(var P=d(arguments[I++]),C=A?p(s(P),A(P)):s(P),b=C.length,L=0,D;b>L;)D=C[L++],(!r||a(N,P,D))&&(T[D]=P[D]);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(A){return d+y+v+A+d+"/"+y+v},S=function(A){A.write(E("")),A.close();var N=A.parentWindow.Object;return A=null,N},T=function(){var A=u("iframe"),N="java"+y+":",P;return A.style.display="none",s.appendChild(A),A.src=String(N),P=A.contentWindow.document,P.open(),P.write(E("document.F=Object")),P.close(),P.F},R,I=function(){try{R=new ActiveXObject("htmlfile")}catch(N){}I=typeof document!="undefined"?document.domain&&R?S(R):T():S(R);for(var A=a.length;A--;)delete I[g][a[A]];return I()};o[p]=!0,i.exports=Object.create||function(N,P){var C;return N!==null?(m[g]=r(N),C=new m,m[g]=null,C[p]=N):C=I(),P===void 0?C:n.f(C,P)}},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,R=S.length,I=0,A=[],N;R>I;)N=S[I++],(!r||(T?N in E:v(E,N)))&&d(A,p?[N,E[N]]:E[N]);return A}};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 R=new n(function(N){N(1)}),I=function(N){N(function(){},function(){})},A=R.constructor={};if(A[y]=I,p=R.then(function(){})instanceof I,!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),R=n("".slice),I=function(){var C=/a/,b=/b*/g;return r(p,C,"a"),r(p,b,"a"),C.lastIndex!==0||b.lastIndex!==0}(),A=s.BROKEN_CARET,N=/()??/.exec("")[1]!==void 0,P=I||N||A||d||g;P&&(m=function(b){var L=this,D=v(L),$=a(b),G=D.raw,V,B,U,j,z,Q,X;if(G)return G.lastIndex=L.lastIndex,V=r(m,G,$),L.lastIndex=G.lastIndex,V;var k=D.groups,Z=A&&L.sticky,gt=r(o,L),lt=L.source,yt=0,Tt=$;if(Z&&(gt=T(gt,"y",""),S(gt,"g")===-1&&(gt+="g"),Tt=R($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&E($,L.lastIndex-1)!==` +`),F=x?M.length-1:1;e.html(""),M.forEach((w,W)=>{e.append("tspan").attr("x",0).attr("dy",`${W===0?c[0]*F: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 Di(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 Bi(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:F,w=0}=e[M];return O&&(F=e[M].y,w=e[M].h),f>=F&&f<=F+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,F=`${x} ${(w=>w.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(f)} {${c.join(";")}}`;return O[O.insertRule?"insertRule":"addRule"](F,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,F;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)+((F=e.scrollTop)!=null?F:0)}}function zi(e,f=0,c=0,x=!0){const O=new DOMPoint(f,c),M=e.getScreenCTM();return O.matrixTransform(x?M==null?void 0:M.inverse():M)}function Yi(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 Ki(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 Xi(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 Qi=(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 ki(e,f){let c=e;for(const x in f)c=c.replace(new RegExp(`{=${x}}`,"g"),f[x]);return c}function qi(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 _i(e){const f=e.attr("viewBox");return f?/(\d+(\.\d+)?){3}/.test(f):!1}function tu(e,f,c=!1){const x=!!e.node;let O=!1;for(const[M,F]of Object.entries(f))if(O=x?e.style(M)===F:e.style[M]===F,c===!1&&O)break;return O}function ru(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function nu(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 F=x.shift();if(F&&c&&Oe(c)&&F in c)return c=c[F],M();if(!F)return c};Object.keys(f).forEach(F=>{c=e,x=F.split("_"),O=M(),pa(O)&&(f[F]=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.13.0-nightly-20240924004652");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,F){return F==="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 F=M.pageY-O*1.35,w=M.pageX-x/2;return F<0&&(F=0),w<0&&(w=0),{top:F,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{$$:F}=this,w=F.getDataIndexFromEvent(f),W=(c=F.api.data(f.target.__id))==null?void 0:c[0],q=(x=W==null?void 0:W.values)==null?void 0:x[w];q&&!q.name&&(q.name=q.id),F.state.event=f,(O=F.isPointFocusOnly)!=null&&O.call(F)&&q&&((M=F.showCircleFocus)==null||M.call(F,[q])),F.setExpand(w,W.id,!0),F.showTooltip([q],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(),F=(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 q=`.${l.target}-${w}`,tt=x.main.selectAll(q);let It=O[W].querySelector("svg");It||(O[W].innerHTML=`${F}`,It=O[W].querySelector("svg"),It.__id=w),It.querySelector(q)||tt.style("opacity",null),tt.style("fill","none").style("opacity",null),It.innerHTML="",It.appendChild(tt.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"),R=a(m,"maxByteLength","get"),I=n(E.getInt8),A=n(E.setInt8);i.exports=(v||l)&&function(N,P,C){var b=u(N),L=P===void 0?b:o(P),D=!T||!T(N),$;if(s(N),v&&(N=d(N,{transfer:[N]}),b===L&&(C||D)))return N;if(b>=L&&(!C||D))$=S(N,0,L);else{var G=C&&!D&&R?{maxByteLength:R(N)}:void 0;$=new g(L,G);for(var V=new y(N),B=new y($),U=p(L,b),j=0;j>8&255]},Dt=function(st){return[st&255,st>>8&255,st>>16&255,st>>24&255]},Nt=function(st){return st[3]<<24|st[2]<<16|st[1]<<8|st[0]},Ut=function(st){return Lt(E(st),23,4)},qt=function(st){return Lt(st,52,8)},_t=function(st,dt,_){l(st[V],dt,{configurable:!0,get:function(){return _(this)[dt]}})},Xt=function(st,dt,_,Rt){var Pt=z(st),Ot=m(_),St=!!Rt;if(Ot+dt>Pt.byteLength)throw new At(U);var er=Pt.bytes,or=Ot+Pt.byteOffset,K=A(er,or,or+dt);return St?K:Ht(K)},$t=function(st,dt,_,Rt,Pt,Ot){var St=z(st),er=m(_),or=Rt(+Pt),K=!!Ot;if(er+dt>St.byteLength)throw new At(U);for(var et=St.bytes,it=er+St.byteOffset,ot=0;otOt)throw new At("Wrong offset");if(Rt=Rt===void 0?Ot-St:p(Rt),St+Rt>Ot)throw new At(B);Q(this,{type:G,buffer:dt,byteLength:Rt,byteOffset:St,bytes:Pt.bytes}),a||(this.buffer=dt,this.byteLength=Rt,this.byteOffset=St)},lt=gt[V],a&&(_t(k,"byteLength",j),_t(gt,"buffer",z),_t(gt,"byteLength",z),_t(gt,"byteOffset",z)),v(lt,{getInt8:function(dt){return Xt(this,1,dt)[0]<<24>>24},getUint8:function(dt){return Xt(this,1,dt)[0]},getInt16:function(dt){var _=Xt(this,2,dt,arguments.length>1?arguments[1]:!1);return(_[1]<<8|_[0])<<16>>16},getUint16:function(dt){var _=Xt(this,2,dt,arguments.length>1?arguments[1]:!1);return _[1]<<8|_[0]},getInt32:function(dt){return Nt(Xt(this,4,dt,arguments.length>1?arguments[1]:!1))},getUint32:function(dt){return Nt(Xt(this,4,dt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(dt){return vt(Xt(this,4,dt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(dt){return vt(Xt(this,8,dt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(dt,_){$t(this,1,dt,mt,_)},setUint8:function(dt,_){$t(this,1,dt,mt,_)},setInt16:function(dt,_){$t(this,2,dt,Mt,_,arguments.length>2?arguments[2]:!1)},setUint16:function(dt,_){$t(this,2,dt,Mt,_,arguments.length>2?arguments[2]:!1)},setInt32:function(dt,_){$t(this,4,dt,Dt,_,arguments.length>2?arguments[2]:!1)},setUint32:function(dt,_){$t(this,4,dt,Dt,_,arguments.length>2?arguments[2]:!1)},setFloat32:function(dt,_){$t(this,4,dt,Ut,_,arguments.length>2?arguments[2]:!1)},setFloat64:function(dt,_){$t(this,8,dt,qt,_,arguments.length>2?arguments[2]:!1)}});else{var Jt=L&&X.name!==$;!d(function(){X(1)})||!d(function(){new X(-1)})||d(function(){return new X,new X(1.5),new X(NaN),X.length!==1||Jt&&!D})?(k=function(dt){return g(this,Z),N(new X(m(dt)),this,k)},k[V]=Z,Z.constructor=k,P(k,X)):Jt&&D&&u(X,"name",$),R&&T(lt)!==yt&&R(lt,yt);var Yt=new gt(new k(2)),jt=n(lt.setInt8);Yt.setInt8(0,2147483648),Yt.setInt8(1,2147483649),(Yt.getInt8(0)||!Yt.getInt8(1))&&v(lt,{setInt8:function(dt,_){jt(this,dt,_<<24>>24)},setUint8:function(dt,_){jt(this,dt,_<<24>>24)}},{unsafe:!0})}C(k,$),C(gt,G),i.exports={ArrayBuffer:k,DataView:gt}},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,R=T>1?arguments[1]:void 0,I=R!==void 0;I&&(R=r(R,T>2?arguments[2]:void 0));var A=g(E),N=0,P,C,b,L,D,$;if(A&&!(this===y&&s(A)))for(C=S?new this:[],L=d(E,A),D=L.next;!(b=n(D,L)).done;N++)$=I?o(L,R,[b.value,N],!0):b.value,v(C,N,$);else for(P=l(E),C=S?new this(P):y(P);P>N;N++)$=I?R(E[N],N):E[N],v(C,N,$);return C.length=N,C}},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(R,I,A,N){for(var P=o(R),C=a(P),b=s(C),L=r(I,A),D=0,$=N||u,G=g?$(R,b):y||S?$(R,0):void 0,V,B;b>D;D++)if((T||D in C)&&(V=C[D],B=L(V,D,P),d))if(g)G[D]=B;else if(B)switch(d){case 3:return!0;case 5:return V;case 6:return D;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,R=v?-1:1;if(y<2)for(;;){if(T in E){p=E[T],T+=R;break}if(T+=R,v?T<0:S<=T)throw new s(u)}for(;v?T>=0:S>T;T+=R)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),B;B=B?B.next:G.first;)for(V(B.value,B.key,this);B&&B.removed;)B=B.previous},has:function($){return!!L(this,$)}}),a(P,I?{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(P,"size",{configurable:!0,get:function(){return C(this).size}}),N},setStrong:function(T,R,I){var A=R+" Iterator",N=S(R),P=S(A);v(T,R,function(C,b){E(this,{type:A,target:C,state:N(C),kind:b,last:null})},function(){for(var C=P(this),b=C.kind,L=C.last;L&&L.removed;)L=L.previous;return!C.target||!(C.last=L=L?L.next:C.state.first)?(C.target=null,d(void 0,!0)):d(b==="keys"?L.key:b==="values"?L.value:[L.key,L.value],!1)},I?"entries":"values",!I,!0),g(R)}}},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),R=0,I=function(P){return P.frozen||(P.frozen=new A)},A=function(){this.entries=[]},N=function(P,C){return E(P.entries,function(b){return b[0]===C})};A.prototype={get:function(P){var C=N(this,P);if(C)return C[1]},has:function(P){return!!N(this,P)},set:function(P,C){var b=N(this,P);b?b[1]=C:this.entries.push([P,C])},delete:function(P){var C=S(this.entries,function(b){return b[0]===P});return~C&&T(this.entries,C,1),!!~C}},i.exports={getConstructor:function(P,C,b,L){var D=P(function(B,U){o(B,$),p(B,{type:C,id:R++,frozen:null}),u(U)||v(U,B[L],{that:B,AS_ENTRIES:b})}),$=D.prototype,G=m(C),V=function(B,U,j){var z=G(B),Q=a(s(U),!0);return Q===!0?I(z).set(U,j):Q[z.id]=j,B};return n($,{delete:function(B){var U=G(this);if(!l(B))return!1;var j=a(B);return j===!0?I(U).delete(B):j&&g(j,U.id)&&delete j[U.id]},has:function(U){var j=G(this);if(!l(U))return!1;var z=a(U);return z===!0?I(j).has(U):z&&g(z,j.id)}}),n($,b?{get:function(U){var j=G(this);if(l(U)){var z=a(U);if(z===!0)return I(j).get(U);if(z)return z[j.id]}},set:function(U,j){return V(this,U,j)}}:{add:function(U){return V(this,U,!0)}}),D}}},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,R,I){var A=T.indexOf("Map")!==-1,N=T.indexOf("Weak")!==-1,P=A?"set":"add",C=n[T],b=C&&C.prototype,L=C,D={},$=function(Q){var X=a(b[Q]);s(b,Q,Q==="add"?function(Z){return X(this,Z===0?0:Z),this}:Q==="delete"?function(k){return N&&!y(k)?!1:X(this,k===0?0:k)}:Q==="get"?function(Z){return N&&!y(Z)?void 0:X(this,Z===0?0:Z)}:Q==="has"?function(Z){return N&&!y(Z)?!1:X(this,Z===0?0:Z)}:function(Z,gt){return X(this,Z===0?0:Z,gt),this})},G=o(T,!d(C)||!(N||b.forEach&&!p(function(){new C().entries().next()})));if(G)L=I.getConstructor(R,T,A,P),u.enable();else if(o(T,!0)){var V=new L,B=V[P](N?{}:-0,1)!==V,U=p(function(){V.has(1)}),j=m(function(Q){new C(Q)}),z=!N&&p(function(){for(var Q=new C,X=5;X--;)Q[P](X,X);return!Q.has(-0)});j||(L=R(function(Q,X){v(Q,b);var k=S(new C,Q,L);return g(X)||l(X,k[P],{that:k,AS_ENTRIES:A}),k}),L.prototype=b,b.constructor=L),(U||z)&&($("delete"),$("has"),A&&$("get")),(z||B)&&$(P),N&&b.clear&&delete b.clear}return D[T]=L,r({global:!0,constructor:!0,forced:L!==C},D),E(L,T),N||I.setStrong(L,T,A),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 I=this,A=y(I),N=m(I),P=A<0?"-":A>9999?"+":"";return P+a(u(A),P?6:4,0)+"-"+a(S(I)+1,2,0)+"-"+a(g(I),2,0)+"T"+a(p(I),2,0)+":"+a(E(I),2,0)+":"+a(T(I),2,0)+"."+a(N,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,R,I;if(y?E=r:p?E=r[g]||s(g,{}):E=r[g]&&r[g].prototype,E)for(S in d){if(R=d[S],v.dontCallGetSet?(I=n(E,S),T=I&&I.value):T=E[S],m=l(y?S:g+(p?".":"#")+S,v.forced),!m&&T!==void 0){if(typeof R==typeof T)continue;u(R,T)}(v.sham||T&&T.sham)&&a(R,"sham",!0),o(E,S,R,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 I={};return I[m]=function(){return 7},""[d](I)!==7}),S=E&&!o(function(){var I=!1,A=/a/;return d==="split"&&(A={},A.constructor={},A.constructor[l]=function(){return A},A.flags="",A[m]=/./[m]),A.exec=function(){return I=!0,null},A[m](""),!I});if(!E||!S||y){var T=/./[m],R=g(m,""[d],function(I,A,N,P,C){var b=A.exec;return b===a||b===v.exec?E&&!C?{done:!0,value:r(T,A,N,P)}:{done:!0,value:r(I,N,A,P)}:{done:!1}});n(String.prototype,d,R[0]),n(v,m,R[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,R,I;S0&&r(R)?(I=n(R),E=s(u,l,R,I,E,y-1)-1):(a(E+1),u[E]=R),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,R=v;return m!==void 0&&(m=n(m),R=l),s(E,R,function(I,A){var N;switch(o(A,0)){case"$":return"$";case"&":return d;case"`":return u(g,0,y);case"'":return u(g,S);case"<":N=m[u(A,1,-1)];break;default:var P=+A;if(P===0)return I;if(P>T){var C=a(P/10);return C===0?I:C<=T?p[C-1]===void 0?o(A,1):p[C-1]+o(A,1):I}N=p[P-1]}return N===void 0?"":N})}},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,R,I,A;for(l=t(l),l!==l||l===1/0?(I=l!==l?1:0,R=p):(R=n(a(l)/o),A=r(2,-R),l*A<1&&(R--,A*=2),R+m>=1?l+=E/A:l+=E*r(2,1-m),l*A>=2&&(R++,A/=2),R+m>=p?(I=0,R=p):R+m>=1?(I=(l*A-1)*r(2,v),R+=m):(I=l*r(2,m-1)*r(2,v),R=0));v>=8;)g[T++]=I&255,I/=256,v-=8;for(R=R<0;)g[T++]=R&255,R/=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,R;for(S>>=7;m>0;)T=T*256+l[E--],m-=8;for(R=T&(1<<-m)-1,T>>=-m,m+=v;m>0;)R=R*256+l[E--],m-=8;if(T===0)T=1-p;else{if(T===y)return R?NaN:S?-1/0:1/0;R+=r(2,v),T-=p}return(S?-1:1)*R*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(P){u(P,m,{value:{objectID:"O"+E++,weakData:{}}})},T=function(P,C){if(!o(P))return typeof P=="symbol"?P:(typeof P=="string"?"S":"P")+P;if(!s(P,m)){if(!d(P))return"F";if(!C)return"E";S(P)}return P[m].objectID},R=function(P,C){if(!s(P,m)){if(!d(P))return!0;if(!C)return!1;S(P)}return P[m].weakData},I=function(P){return y&&p&&d(P)&&!s(P,m)&&S(P),P},A=function(){N.enable=function(){},p=!0;var P=l.f,C=n([].splice),b={};b[m]=1,P(b).length&&(l.f=function(L){for(var D=P(L),$=0,G=D.length;$D;D++)if(G=j(E[D]),G&&l(m,G))return G;return new p(!1)}b=v(E,L)}for(V=A?E.next:b.next;!(B=n(V,b)).done;){try{G=j(B.value)}catch(z){g(b,"throw",z)}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,R=E.IteratorPrototype,I=E.BUGGY_SAFARI_ITERATORS,A=p("iterator"),N="keys",P="values",C="entries",b=function(){return this};i.exports=function(L,D,$,G,V,B,U){u($,D,G);var j=function(At){if(At===V&&Z)return Z;if(!I&&At&&At in X)return X[At];switch(At){case N:return function(){return new $(this,At)};case P:return function(){return new $(this,At)};case C:return function(){return new $(this,At)}}return function(){return new $(this)}},z=D+" Iterator",Q=!1,X=L.prototype,k=X[A]||X["@@iterator"]||V&&X[V],Z=!I&&k||j(V),gt=D==="Array"&&X.entries||k,lt,yt,Tt;if(gt&&(lt=l(gt.call(new L)),lt!==Object.prototype&<.next&&(!a&&l(lt)!==R&&(v?v(lt,R):s(lt[A])||y(lt,A,b)),d(lt,z,!0,!0),a&&(m[z]=b))),S&&V===P&&k&&k.name!==P&&(!a&&T?g(X,"name",P):(Q=!0,Z=function(){return n(k,this)})),V)if(yt={values:j(P),keys:B?Z:j(N),entries:j(C)},U)for(Tt in yt)(I||Q||!(Tt in X))&&y(X,Tt,yt[Tt]);else r({target:D,proto:!0,forced:I||Q},yt);return(!a||U)&&X[A]!==Z&&y(X,A,Z,{name:V}),m[D]=Z,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}),R=String(String).split("String"),I=i.exports=function(A,N,P){m(y(N),0,7)==="Symbol("&&(N="["+E(y(N),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),P&&P.getter&&(N="get "+N),P&&P.setter&&(N="set "+N),(!o(A,"name")||u&&A.name!==N)&&(s?p(A,"name",{value:N,configurable:!0}):A.name=N),T&&P&&o(P,"arity")&&A.length!==P.arity&&p(A,"length",{value:P.arity});try{P&&o(P,"constructor")&&P.constructor?s&&p(A,"prototype",{writable:!1}):A.prototype&&(A.prototype=void 0)}catch(b){}var C=d(A);return o(C,"source")||(C.source=S(R,typeof N=="string"?N:"")),A};Function.prototype.toString=I(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,R,I,A;if(!E){var N=new s,P=function(){var C,b;for(d&&(C=p.domain)&&C.exit();b=N.get();)try{b()}catch(L){throw N.head&&S(),L}C&&C.enter()};!u&&!d&&!v&&g&&y?(T=!0,R=y.createTextNode(""),new g(P).observe(R,{characterData:!0}),S=function(){R.data=T=!T}):!l&&m&&m.resolve?(I=m.resolve(void 0),I.constructor=m,A=a(I.then,I),S=function(){A(P)}):d?S=function(){p.nextTick(P)}:(o=a(o,r),S=function(){o(P)}),E=function(C){N.head||S(),N.add(C)}}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(R){E[R]=R}),g({},m)[S]!==7||s(g({},E)).join("")!==T})?function(E,S){for(var T=v(E),R=arguments.length,I=1,A=u.f,N=l.f;R>I;)for(var P=d(arguments[I++]),C=A?p(s(P),A(P)):s(P),b=C.length,L=0,D;b>L;)D=C[L++],(!r||a(N,P,D))&&(T[D]=P[D]);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(A){return d+y+v+A+d+"/"+y+v},S=function(A){A.write(E("")),A.close();var N=A.parentWindow.Object;return A=null,N},T=function(){var A=u("iframe"),N="java"+y+":",P;return A.style.display="none",s.appendChild(A),A.src=String(N),P=A.contentWindow.document,P.open(),P.write(E("document.F=Object")),P.close(),P.F},R,I=function(){try{R=new ActiveXObject("htmlfile")}catch(N){}I=typeof document!="undefined"?document.domain&&R?S(R):T():S(R);for(var A=a.length;A--;)delete I[g][a[A]];return I()};o[p]=!0,i.exports=Object.create||function(N,P){var C;return N!==null?(m[g]=r(N),C=new m,m[g]=null,C[p]=N):C=I(),P===void 0?C:n.f(C,P)}},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,R=S.length,I=0,A=[],N;R>I;)N=S[I++],(!r||(T?N in E:v(E,N)))&&d(A,p?[N,E[N]]:E[N]);return A}};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 R=new n(function(N){N(1)}),I=function(N){N(function(){},function(){})},A=R.constructor={};if(A[y]=I,p=R.then(function(){})instanceof I,!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),R=n("".slice),I=function(){var C=/a/,b=/b*/g;return r(p,C,"a"),r(p,b,"a"),C.lastIndex!==0||b.lastIndex!==0}(),A=s.BROKEN_CARET,N=/()??/.exec("")[1]!==void 0,P=I||N||A||d||g;P&&(m=function(b){var L=this,D=v(L),$=a(b),G=D.raw,V,B,U,j,z,Q,X;if(G)return G.lastIndex=L.lastIndex,V=r(m,G,$),L.lastIndex=G.lastIndex,V;var k=D.groups,Z=A&&L.sticky,gt=r(o,L),lt=L.source,yt=0,Tt=$;if(Z&&(gt=T(gt,"y",""),S(gt,"g")===-1&&(gt+="g"),Tt=R($,L.lastIndex),L.lastIndex>0&&(!L.multiline||L.multiline&&E($,L.lastIndex-1)!==` `)&&(lt="(?: "+lt+")",Tt=" "+Tt,yt++),B=new RegExp("^(?:"+lt+")",gt)),N&&(B=new RegExp("^"+lt+"$(?!\\s)",gt)),I&&(U=L.lastIndex),j=r(p,Z?B:L,Tt),Z?j?(j.input=R(j.input,yt),j[0]=R(j[0],yt),j.index=L.lastIndex,L.lastIndex+=j[0].length):L.lastIndex=0:I&&j&&(L.lastIndex=L.global?j.index+j[0].length:U),N&&j&&j.length>1&&r(y,j[0],B,function(){for(z=1;zb)","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),R=S?u(arguments,p):[],I=S?function(){n(T,this,R)}:T;return y?g(I,E):g(I)}: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,R=m===void 0?" ":a(m),I,A;return S<=T||R===""?E:(I=S-T,A=u(R,v(I/R.length)),A.length>I&&(A=l(A,0,I)),g?E+A:A+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),R=Math.floor,I=String.fromCharCode,A=r("".charCodeAt),N=r([].join),P=r([].push),C=r("".replace),b=r("".split),L=r("".toLowerCase),D=function(B){for(var U=[],j=0,z=B.length;j=55296&&Q<=56319&&j>1,B+=R(B/U);B>E*s>>1;)B=R(B/E),z+=a;return R(z+(E+1)*B/(B+u))},V=function(B){var U=[];B=D(B);var j=B.length,z=d,Q=0,X=v,k,Z;for(k=0;k=z&&ZR((n-Q)/Tt))throw new S(m);for(Q+=(yt-z)*Tt,z=yt,k=0;kn)throw new S(m);if(Z===z){for(var At=Q,Wt=a;;){var Ht=Wt<=X?o:Wt>=X+s?s:Wt-X;if(At0;(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,R=r.Function,I=r.MessageChannel,A=r.String,N=0,P={},C="onreadystatechange",b,L,D,$;u(function(){b=r.location});var G=function(j){if(s(P,j)){var z=P[j];delete P[j],z()}},V=function(j){return function(){G(j)}},B=function(j){G(j.data)},U=function(j){r.postMessage(A(j),b.protocol+"//"+b.host)};(!m||!E)&&(m=function(z){g(arguments.length,1);var Q=o(z)?z:R(z),X=v(arguments,1);return P[++N]=function(){n(Q,void 0,X)},L(N),N},E=function(z){delete P[z]},p?L=function(j){S.nextTick(V(j))}:T&&T.now?L=function(j){T.now(V(j))}:I&&!y?(D=new I,$=D.port2,D.port1.onmessage=B,L=a($.postMessage,$)):r.addEventListener&&o(r.postMessage)&&!r.importScripts&&b&&b.protocol!=="file:"&&!u(U)?(L=U,r.addEventListener("message",B,!1)):C in d("script")?L=function(j){l.appendChild(d("script"))[C]=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),R=t(94879),I=t(9205),A=t(37540),N=t(491),P=t(5406),C=t(95307),b=t(15861),L=t(83258).f,D=t(66169),$=t(66655).forEach,G=t(36167),V=t(85500),B=t(7831),U=t(71349),j=t(5220),z=t(82367),Q=t(32345),X=z.get,k=z.set,Z=z.enforce,gt=B.f,lt=U.f,yt=n.RangeError,Tt=l.ArrayBuffer,At=Tt.prototype,Wt=l.DataView,Ht=u.NATIVE_ARRAY_BUFFER_VIEWS,Lt=u.TYPED_ARRAY_TAG,vt=u.TypedArray,mt=u.TypedArrayPrototype,Mt=u.isTypedArray,Dt="BYTES_PER_ELEMENT",Nt="Wrong length",Ut=function(Jt,Yt){V(Jt,Yt,{configurable:!0,get:function(){return X(this)[Yt]}})},qt=function(Jt){var Yt;return C(At,Jt)||(Yt=I(Jt))==="ArrayBuffer"||Yt==="SharedArrayBuffer"},_t=function(Jt,Yt){return Mt(Jt)&&!N(Yt)&&Yt in Jt&&y(+Yt)&&Yt>=0},Xt=function(Yt,jt){return jt=T(jt),_t(Yt,jt)?d(2,Yt[jt]):lt(Yt,jt)},$t=function(Yt,jt,st){return jt=T(jt),_t(Yt,jt)&&A(st)&&R(st,"value")&&!R(st,"get")&&!R(st,"set")&&!st.configurable&&(!R(st,"writable")||st.writable)&&(!R(st,"enumerable")||st.enumerable)?(Yt[jt]=st.value,Yt):gt(Yt,jt,st)};o?(Ht||(U.f=Xt,B.f=$t,Ut(mt,"buffer"),Ut(mt,"byteOffset"),Ut(mt,"byteLength"),Ut(mt,"length")),r({target:"Object",stat:!0,forced:!Ht},{getOwnPropertyDescriptor:Xt,defineProperty:$t}),i.exports=function(Jt,Yt,jt){var st=Jt.match(/\d+/)[0]/8,dt=Jt+(jt?"Clamped":"")+"Array",_="get"+Jt,Rt="set"+Jt,Pt=n[dt],Ot=Pt,St=Ot&&Ot.prototype,er={},or=function(ot,ct){var rt=X(ot);return rt.view[_](ct*st+rt.byteOffset,!0)},K=function(ot,ct,rt){var bt=X(ot);bt.view[Rt](ct*st+bt.byteOffset,jt?S(rt):rt,!0)},et=function(ot,ct){gt(ot,ct,{get:function(){return or(this,ct)},set:function(rt){return K(this,ct,rt)},enumerable:!0})};Ht?s&&(Ot=Yt(function(ot,ct,rt,bt){return v(ot,St),Q(function(){return A(ct)?qt(ct)?bt!==void 0?new Pt(ct,E(rt,st),bt):rt!==void 0?new Pt(ct,E(rt,st)):new Pt(ct):Mt(ct)?j(Ot,ct):a(D,Ot,ct):new Pt(m(ct))}(),ot,Ot)}),b&&b(Ot,vt),$(L(Pt),function(ot){ot in Ot||g(Ot,ot,Pt[ot])}),Ot.prototype=St):(Ot=Yt(function(ot,ct,rt,bt){v(ot,St);var kt=0,nt=0,ht,pt,xt;if(!A(ct))xt=m(ct),pt=xt*st,ht=new Tt(pt);else if(qt(ct)){ht=ct,nt=E(rt,st);var Bt=ct.byteLength;if(bt===void 0){if(Bt%st)throw new yt(Nt);if(pt=Bt-nt,pt<0)throw new yt(Nt)}else if(pt=p(bt)*st,pt+nt>Bt)throw new yt(Nt);xt=pt/st}else return Mt(ct)?j(Ot,ct):a(D,Ot,ct);for(k(ot,{buffer:ht,byteOffset:nt,byteLength:pt,length:xt,view:new Wt(ht)});kt1?arguments[1]:void 0,I=R!==void 0,A=l(S),N,P,C,b,L,D,$,G;if(A&&!v(A))for($=u(S,A),G=$.next,S=[];!(D=n(G,$)).done;)S.push(D.value);for(I&&T>2&&(R=r(R,arguments[2])),P=s(S),C=new(g(E))(P),b=d(C),N=0;P>N;N++)L=I?R(S[N],N):S[N],C[N]=b?y(L):+L;return C}},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(tA&&g(B,arguments[A]),B});if(D.prototype=b,P!=="Error"?s?s(D,L):u(D,L,{name:!0}):p&&I in C&&(l(D,C,I),l(D,C,"prepareStackTrace")),u(D,C),!m)try{b.name!==P&&a(b,"name",P),b.constructor=D}catch($){}return D}}},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,R=function(N,P){var C=n(I,this),b;o?b=o(new S,C?a(this):I):(b=C?this:u(I),l(b,E,"Error")),P!==void 0&&l(b,"message",p(P)),g(b,R,b.stack,1),arguments.length>2&&d(b,arguments[2]);var L=[];return y(N,T,{that:L}),l(b,"errors",L),b};o?o(R,S):s(R,S,{name:!0});var I=R.prototype=u(S.prototype,{constructor:v(1,R),message:v(1,""),name:v(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:R})},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(R,I){if(p&&I===void 0)return p(s(this),R);for(var A=s(this).byteLength,N=u(R,A),P=u(I===void 0?A:I,A),C=new(v(this,d))(l(P-N)),b=new g(this),L=new g(C),D=0;N=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 R=[];return R[m]=!1,R.concat()[0]!==R}),S=function(R){if(!o(R))return!1;var I=R[m];return I!==void 0?!!I:a(R)},T=!E||!g("concat");r({target:"Array",proto:!0,arity:1,forced:T},{concat:function(I){var A=s(this),N=d(A,0),P=0,C,b,L,D,$;for(C=-1,L=arguments.length;C1?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=null,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(R,I){var A=l(this),N=u(A),P=s(R,N),C=s(I===void 0?N:I,N),b,L,D;if(n(A)&&(b=A.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(A,P,C);for(L=new(b===void 0?E:b)(S(C-P,0)),D=0;P1?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),R=n(S.push),I=v(function(){S.sort(void 0)}),A=v(function(){S.sort(null)}),N=g("sort"),P=!v(function(){if(m)return m<70;if(!(y&&y>3)){if(p)return!0;if(E)return E<603;var L="",D,$,G,V;for(D=65;D<76;D++){switch($=String.fromCharCode(D),D){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(B,U){return U.v-B.v}),V=0;Vl($)?1:-1}};r({target:"Array",proto:!0,forced:C},{sort:function(D){D!==void 0&&a(D);var $=o(this);if(P)return D===void 0?T($):T($,D);var G=[],V=s($),B,U;for(U=0;UA-b+C;D--)g(I,D-1)}else if(C>b)for(D=A-b;D>N;D--)$=D+b-1,G=D+C-1,$ in I?I[G]=I[$]:g(I,G);for(D=0;D=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,R=t(34338),I=t(85900).trim,A="Number",N=o[A],P=s[A],C=N.prototype,b=o.TypeError,L=u("".slice),D=u("".charCodeAt),$=function(z){var Q=p(z,"number");return typeof Q=="bigint"?Q:G(Q)},G=function(z){var Q=p(z,"number"),X,k,Z,gt,lt,yt,Tt,At;if(y(Q))throw new b("Cannot convert a Symbol value to a number");if(typeof Q=="string"&&Q.length>2){if(Q=I(Q),X=D(Q,0),X===43||X===45){if(k=D(Q,2),k===88||k===120)return NaN}else if(X===48){switch(D(Q,1)){case 66:case 98:Z=2,gt=49;break;case 79:case 111:Z=8,gt=55;break;default:return+Q}for(lt=L(Q,2),yt=lt.length,Tt=0;Ttgt)return NaN;return parseInt(lt,Z)}}return+Q},V=l(A,!N(" 0o1")||!N("0b1")||N("+0x1")),B=function(z){return g(C,z)&&m(function(){R(z)})},U=function(Q){var X=arguments.length<1?0:N($(Q));return B(this)?d(Object(X),this,U):X};U.prototype=C,V&&!n&&(C.constructor=U),r({global:!0,constructor:!0,wrap:!0,forced:V},{Number:U});var j=function(z,Q){for(var X=a?E(Q):"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(","),k=0,Z;X.length>k;k++)v(Q,Z=X[k])&&!v(z,Z)&&T(z,Z,S(Q,Z))};n&&P&&j(s[A],P),(V||n)&&j(s[A],N)},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),R=n("".slice),I=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",A=function(){return l(function(){S(1,1/0)})&&l(function(){S(1,-1/0)})},N=function(){return!l(function(){S(1/0,1/0),S(NaN,1/0)})},P=!I||!A()||!N();r({target:"Number",proto:!0,forced:P},{toExponential:function(b){var L=o(this);if(b===void 0)return S(L);var D=a(b);if(!g(L))return String(L);if(D<0||D>20)throw new v("Incorrect fraction digits");if(I)return S(L,D);var $="",G,V,B,U;if(L<0&&($="-",L=-L),L===0)V=0,G=T("0",D+1);else{var j=u(L);V=p(j);var z=m(10,V-D),Q=E(L/z);2*L>=(2*Q+1)*z&&(Q+=1),Q>=m(10,D+1)&&(Q/=10,V+=1),G=d(Q)}return D!==0&&(G=R(G,0,1)+"."+R(G,1)),V===0?(B="+",U="0"):(B=V>0?"+":"-",U=d(y(V))),G+="e"+B+U,$+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(A,N,P){return N===0?P:N%2===1?m(A,N-1,P*A):m(A*A,N/2,P)},E=function(A){for(var N=0,P=A;P>=4096;)N+=12,P/=4096;for(;P>=2;)N+=1,P/=2;return N},S=function(A,N,P){for(var C=-1,b=P;++C<6;)b+=N*A[C],A[C]=b%1e7,b=d(b/1e7)},T=function(A,N){for(var P=6,C=0;--P>=0;)C+=A[P],A[P]=d(C/N),C=C%N*1e7},R=function(A){for(var N=6,P="";--N>=0;)if(P!==""||N===0||A[N]!==0){var C=v(A[N]);P=P===""?C:P+g("0",7-C.length)+C}return P},I=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:I},{toFixed:function(N){var P=o(this),C=a(N),b=[0,0,0,0,0,0],L="",D="0",$,G,V,B;if(C<0||C>20)throw new l("Incorrect fraction digits");if(P!==P)return"NaN";if(P<=-1e21||P>=1e21)return v(P);if(P<0&&(L="-",P=-P),P>1e-21)if($=E(P*m(2,69,1))-69,G=$<0?P*m(2,-$,1):P/m(2,$,1),G*=4503599627370496,$=52-$,$>0){for(S(b,0,G),V=C;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?(B=D.length,D=L+(B<=C?"0."+g("0",C-B)+D:y(D,0,B-C)+"."+y(D,B-C))):D=L+D,D}})},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),R=0;return l(E,function(I){var A=u(S(I,R++));A in T?y(T[A],I):T[A]=[I]}),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=[],R=0,I=1;u(d,function(A){var N=R++,P=!1;I++,n(S,g,A).then(function(C){P||(P=!0,T[N]={status:"fulfilled",value:C},--I||p(T))},function(C){P||(P=!0,T[N]={status:"rejected",reason:C},--I||p(T))})}),--I||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=[],R=0,I=1;u(d,function(A){var N=R++,P=!1;I++,n(S,g,A).then(function(C){P||(P=!0,T[N]=C,--I||p(T))},m)}),--I||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,R=u(function(){var I=a(p.resolve),A=[],N=0,P=1,C=!1;l(y,function(b){var L=N++,D=!1;P++,n(I,p,b).then(function($){D||C||(C=!0,S($))},function($){D||C||(D=!0,A[L]=$,--P||T(new m(A,d)))})}),--P||T(new m(A,d))});return R.error&&T(R.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),R=t(99095),I=t(67805),A=t(76895),N=t(82367),P=t(98844),C=t(37130),b=t(24649),L="Promise",D=C.CONSTRUCTOR,$=C.REJECTION_EVENT,G=C.SUBCLASSING,V=N.getterFor(L),B=N.set,U=P&&P.prototype,j=P,z=U,Q=o.TypeError,X=o.document,k=o.process,Z=b.f,gt=Z,lt=!!(X&&X.createEvent&&o.dispatchEvent),yt="unhandledrejection",Tt="rejectionhandled",At=0,Wt=1,Ht=2,Lt=1,vt=2,mt,Mt,Dt,Nt,Ut=function(_){var Rt;return p(_)&&y(Rt=_.then)?Rt:!1},qt=function(_,Rt){var Pt=Rt.value,Ot=Rt.state===Wt,St=Ot?_.ok:_.fail,er=_.resolve,or=_.reject,K=_.domain,et,it,ot;try{St?(Ot||(Rt.rejection===vt&&Yt(Rt),Rt.rejection=Lt),St===!0?et=Pt:(K&&K.enter(),et=St(Pt),K&&(K.exit(),ot=!0)),et===_.promise?or(new Q("Promise-chain cycle")):(it=Ut(et))?s(it,et,er,or):er(et)):or(Pt)}catch(ct){K&&!ot&&K.exit(),or(ct)}},_t=function(_,Rt){_.notified||(_.notified=!0,T(function(){for(var Pt=_.reactions,Ot;Ot=Pt.get();)qt(Ot,_);_.notified=!1,Rt&&!_.rejection&&$t(_)}))},Xt=function(_,Rt,Pt){var Ot,St;lt?(Ot=X.createEvent("Event"),Ot.promise=Rt,Ot.reason=Pt,Ot.initEvent(_,!1,!0),o.dispatchEvent(Ot)):Ot={promise:Rt,reason:Pt},!$&&(St=o["on"+_])?St(Ot):_===yt&&R("Unhandled promise rejection",Pt)},$t=function(_){s(S,o,function(){var Rt=_.facade,Pt=_.value,Ot=Jt(_),St;if(Ot&&(St=I(function(){a?k.emit("unhandledRejection",Pt,Rt):Xt(yt,Rt,Pt)}),_.rejection=a||Jt(_)?vt:Lt,St.error))throw St.value})},Jt=function(_){return _.rejection!==Lt&&!_.parent},Yt=function(_){s(S,o,function(){var Rt=_.facade;a?k.emit("rejectionHandled",Rt):Xt(Tt,Rt,_.value)})},jt=function(_,Rt,Pt){return function(Ot){_(Rt,Ot,Pt)}},st=function(_,Rt,Pt){_.done||(_.done=!0,Pt&&(_=Pt),_.value=Rt,_.state=Ht,_t(_,!0))},dt=function(_,Rt,Pt){if(!_.done){_.done=!0,Pt&&(_=Pt);try{if(_.facade===Rt)throw new Q("Promise can't be resolved itself");var Ot=Ut(Rt);Ot?T(function(){var St={done:!1};try{s(Ot,Rt,jt(dt,St,_),jt(st,St,_))}catch(er){st(St,er,_)}}):(_.value=Rt,_.state=Wt,_t(_,!1))}catch(St){st({done:!1},St,_)}}};if(D&&(j=function(Rt){m(this,z),g(Rt),s(mt,this);var Pt=V(this);try{Rt(jt(dt,Pt),jt(st,Pt))}catch(Ot){st(Pt,Ot)}},z=j.prototype,mt=function(Rt){B(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:At,value:null})},mt.prototype=u(z,"then",function(Rt,Pt){var Ot=V(this),St=Z(E(this,j));return Ot.parent=!0,St.ok=y(Rt)?Rt:!0,St.fail=y(Pt)&&Pt,St.domain=a?k.domain:void 0,Ot.state===At?Ot.reactions.add(St):T(function(){qt(St,Ot)}),St.promise}),Mt=function(){var _=new mt,Rt=V(_);this.promise=_,this.resolve=jt(dt,Rt),this.reject=jt(st,Rt)},b.f=Z=function(_){return _===j||_===Dt?new Mt(_):gt(_)},!n&&y(P)&&U!==Object.prototype)){Nt=U.then,G||u(U,"then",function(Rt,Pt){var Ot=this;return new j(function(St,er){s(Nt,Ot,St,er)}).then(Rt,Pt)},{unsafe:!0});try{delete U.constructor}catch(_){}l&&l(U,z)}r({global:!0,constructor:!0,wrap:!0,forced:D},{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(R,I){s(R),u(I);var A=arguments.length<3?R:s(arguments[2]);if(E&&!m)return g(R,I,A);if(R===A){switch(I.length){case 0:return new R;case 1:return new R(I[0]);case 2:return new R(I[0],I[1]);case 3:return new R(I[0],I[1],I[2]);case 4:return new R(I[0],I[1],I[2],I[3])}var N=[null];return a(p,N,I),new(a(o,R,N))}var P=A.prototype,C=v(l(P)?P:y),b=a(R,C,I);return l(b)?b:C}})},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],R=v.f(a(m),E),I,A,N;if(!R){if(o(A=d(m)))return y(A,E,S,T);R=g(0)}if(s(R)){if(R.writable===!1||!o(T))return!1;if(I=v.f(T,E)){if(I.get||I.set||I.writable===!1)return!1;I.value=S,l.f(T,E,I)}else l.f(T,E,g(0,S))}else{if(N=R.set,N===void 0)return!1;n(N,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),R=t(94879),I=t(82367).enforce,A=t(36167),N=t(18565),P=t(76769),C=t(85220),b=N("match"),L=n.RegExp,D=L.prototype,$=n.SyntaxError,G=a(D.exec),V=a("".charAt),B=a("".replace),U=a("".indexOf),j=a("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Q=/a/g,X=/a/g,k=new L(Q)!==Q,Z=m.MISSED_STICKY,gt=m.UNSUPPORTED_Y,lt=r&&(!k||Z||P||C||T(function(){return X[b]=!1,L(Q)!==Q||L(X)===X||String(L(Q,"i"))!=="/a/i"})),yt=function(Lt){for(var vt=Lt.length,mt=0,Mt="",Dt=!1,Nt;mt<=vt;mt++){if(Nt=V(Lt,mt),Nt==="\\"){Mt+=Nt+V(Lt,++mt);continue}!Dt&&Nt==="."?Mt+="[\\s\\S]":(Nt==="["?Dt=!0:Nt==="]"&&(Dt=!1),Mt+=Nt)}return Mt},Tt=function(Lt){for(var vt=Lt.length,mt=0,Mt="",Dt=[],Nt=l(null),Ut=!1,qt=!1,_t=0,Xt="",$t;mt<=vt;mt++){if($t=V(Lt,mt),$t==="\\")$t+=V(Lt,++mt);else if($t==="]")Ut=!1;else if(!Ut)switch(!0){case $t==="[":Ut=!0;break;case $t==="(":if(Mt+=$t,j(Lt,mt+1,mt+3)==="?:")continue;G(z,j(Lt,mt+1))&&(mt+=2,qt=!0),_t++;continue;case($t===">"&&qt):if(Xt===""||R(Nt,Xt))throw new $("Invalid capture group name");Nt[Xt]=!0,Dt[Dt.length]=[Xt,_t],qt=!1,Xt="";continue}qt?Xt+=$t:Mt+=$t}return[Mt,Dt]};if(o("RegExp",lt)){for(var At=function(vt,mt){var Mt=d(D,this),Dt=g(vt),Nt=mt===void 0,Ut=[],qt=vt,_t,Xt,$t,Jt,Yt,jt;if(!Mt&&Dt&&Nt&&vt.constructor===At)return vt;if((Dt||d(D,vt))&&(vt=vt.source,Nt&&(mt=p(qt))),vt=vt===void 0?"":y(vt),mt=mt===void 0?"":y(mt),qt=vt,P&&"dotAll"in Q&&(Xt=!!mt&&U(mt,"s")>-1,Xt&&(mt=B(mt,/s/g,""))),_t=mt,Z&&"sticky"in Q&&($t=!!mt&&U(mt,"y")>-1,$t&>&&(mt=B(mt,/y/g,""))),C&&(Jt=Tt(vt),vt=Jt[0],Ut=Jt[1]),Yt=s(L(vt,mt),Mt?this:D,At),(Xt||$t||Ut.length)&&(jt=I(Yt),Xt&&(jt.dotAll=!0,jt.raw=At(yt(vt),_t)),$t&&(jt.sticky=!0),Ut.length&&(jt.groups=Ut)),vt!==qt)try{u(Yt,"source",qt===""?"(?:)":qt)}catch(st){}return Yt},Wt=v(L),Ht=0;Wt.length>Ht;)E(At,L,Wt[Ht++]);D.constructor=At,At.prototype=D,S(n,"RegExp",At,{constructor:!0})}A("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(R){d=!1}var g={},y="",p=d?"dgimsy":"gimsy",m=function(R,I){Object.defineProperty(g,R,{get:function(){return y+=I,!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 R=arguments.length>1?arguments[1]:void 0,I=T.length,A=R===void 0?I:y(o(R),I),N=s(S);return g(T,A-N.length,A)===N}})},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),R=t(18565),I=t(16887),A=t(24487),N=t(33064),P=t(82367),C=t(70457),b=R("matchAll"),L="RegExp String",D=L+" Iterator",$=P.set,G=P.getterFor(D),V=RegExp.prototype,B=TypeError,U=a("".indexOf),j=a("".matchAll),z=!!j&&!T(function(){j("a",/./)}),Q=o(function(Z,gt,lt,yt){$(this,{type:D,regexp:Z,string:gt,global:lt,unicode:yt,done:!1})},L,function(){var Z=G(this);if(Z.done)return s(void 0,!0);var gt=Z.regexp,lt=Z.string,yt=N(gt,lt);return yt===null?(Z.done=!0,s(void 0,!0)):Z.global?(v(yt[0])===""&&(gt.lastIndex=A(lt,l(gt.lastIndex),Z.unicode)),s(yt,!1)):(Z.done=!0,s(yt,!1))}),X=function(k){var Z=d(this),gt=v(k),lt=I(Z,RegExp),yt=v(m(Z)),Tt,At,Wt;return Tt=new lt(lt===RegExp?Z.source:Z,yt),At=!!~U(yt,"g"),Wt=!!~U(yt,"u"),Tt.lastIndex=l(Z.lastIndex),new Q(Tt,gt,At,Wt)};r({target:"String",proto:!0,forced:z},{matchAll:function(Z){var gt=u(this),lt,yt,Tt,At;if(g(Z)){if(z)return j(gt,Z)}else{if(p(Z)&&(lt=v(u(m(Z))),!~U(lt,"g")))throw new B("`.matchAll` does not allow non-global regexes");if(z)return j(gt,Z);if(Tt=E(Z,b),Tt===void 0&&C&&y(Z)==="RegExp"&&(Tt=X),Tt)return n(Tt,Z,gt)}return yt=v(gt),At=new RegExp(Z,"g"),C?n(X,At,yt):At[b](yt)}}),C||b in V||S(V,b,X)},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),R=o(S)?void 0:v(S,y);return R?r(R,S,T):new RegExp(S)[y](u(T))},function(E){var S=a(this),T=u(E),R=m(p,S,T);if(R.done)return R.value;if(!S.global)return g(S,T);var I=S.unicode;S.lastIndex=0;for(var A=[],N=0,P;(P=g(S,T))!==null;){var C=u(P[0]);A[N]=C,C===""&&(S.lastIndex=d(T,s(S.lastIndex),I)),N++}return N===0?null:A}]})},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,z+j);return X")!=="7"});o("replace",function(B,U,j){var z=G?"$":"$0";return[function(X,k){var Z=p(this),gt=v(X)?void 0:E(X,I);return gt?n(gt,X,Z,k):n(U,y(Z),X,k)},function(Q,X){var k=u(this),Z=y(Q);if(typeof X=="string"&&b(X,z)===-1&&b(X,"$<")===-1){var gt=j(U,k,Z,X);if(gt.done)return gt.value}var lt=l(X);lt||(X=y(X));var yt=k.global,Tt;yt&&(Tt=k.unicode,k.lastIndex=0);for(var At=[],Wt;Wt=T(k,Z),!(Wt===null||(C(At,Wt),!yt));){var Ht=y(Wt[0]);Ht===""&&(k.lastIndex=m(Z,g(k.lastIndex),Tt))}for(var Lt="",vt=0,mt=0;mt=vt&&(Lt+=L(Z,vt,Dt)+Ut,vt=Dt+Mt.length)}return Lt+L(Z,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 R=E.lastIndex;u(R,0)||(E.lastIndex=0);var I=d(E,S);return u(E.lastIndex,R)||(E.lastIndex=R),I===null?-1:I.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,R=Math.min,I=n([].push),A=n("".slice),N=!E(function(){var C=/(?:)/,b=C.exec;C.exec=function(){return b.apply(this,arguments)};var L="ab".split(C);return L.length!==2||L[0]!=="a"||L[1]!=="b"}),P="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(C,b,L){var D="0".split(void 0,0).length?function($,G){return $===void 0&&G===0?[]:r(b,this,$,G)}:b;return[function(G,V){var B=u(this),U=s(G)?void 0:y(G,C);return U?r(U,G,B,V):r(D,g(B),G,V)},function($,G){var V=o(this),B=g($);if(!P){var U=L(D,V,B,G,D!==b);if(U.done)return U.value}var j=l(V,RegExp),z=V.unicode,Q=(V.ignoreCase?"i":"")+(V.multiline?"m":"")+(V.unicode?"u":"")+(S?"g":"y"),X=new j(S?"^(?:"+V.source+")":V,Q),k=G===void 0?T:G>>>0;if(k===0)return[];if(B.length===0)return p(X,B)===null?[B]:[];for(var Z=0,gt=0,lt=[];gt1?arguments[1]:void 0,T.length)),I=s(S);return g(T,R,R+I.length)===I}})},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,R;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?"":(R=v(S+T,E),S>=R?"":u(m,S,R))}})},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,R=l(T),I=0;I=56320||I+1>=T||(d(S,I+1)&64512)!==56320?R[I]=p:(R[I]=v(S,I),R[++I]=v(S,I))}return g(R,"")}})},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),R=t(18350),I=t(83258),A=t(92880),N=t(24943),P=t(71349),C=t(7831),b=t(61963),L=t(79591),D=t(16142),$=t(85500),G=t(96731),V=t(44869),B=t(19423),U=t(36374),j=t(18565),z=t(56529),Q=t(83749),X=t(60796),k=t(78401),Z=t(82367),gt=t(66655).forEach,lt=V("hidden"),yt="Symbol",Tt="prototype",At=Z.set,Wt=Z.getterFor(yt),Ht=Object[Tt],Lt=n.Symbol,vt=Lt&&Lt[Tt],mt=n.RangeError,Mt=n.TypeError,Dt=n.QObject,Nt=P.f,Ut=C.f,qt=A.f,_t=L.f,Xt=o([].push),$t=G("symbols"),Jt=G("op-symbols"),Yt=G("wks"),jt=!Dt||!Dt[Tt]||!Dt[Tt].findChild,st=function(et,it,ot){var ct=Nt(Ht,it);ct&&delete Ht[it],Ut(et,it,ot),ct&&et!==Ht&&Ut(Ht,it,ct)},dt=u&&v(function(){return T(Ut({},"a",{get:function(){return Ut(this,"a",{value:7}).a}})).a!==7})?st:Ut,_=function(et,it){var ot=$t[et]=T(vt);return At(ot,{type:yt,tag:et,description:it}),u||(ot.description=it),ot},Rt=function(it,ot,ct){it===Ht&&Rt(Jt,ot,ct),y(it);var rt=m(ot);return y(ct),d($t,rt)?(ct.enumerable?(d(it,lt)&&it[lt][rt]&&(it[lt][rt]=!1),ct=T(ct,{enumerable:S(0,!1)})):(d(it,lt)||Ut(it,lt,S(1,T(null))),it[lt][rt]=!0),dt(it,rt,ct)):Ut(it,rt,ct)},Pt=function(it,ot){y(it);var ct=p(ot),rt=R(ct).concat(K(ct));return gt(rt,function(bt){(!u||a(St,ct,bt))&&Rt(it,bt,ct[bt])}),it},Ot=function(it,ot){return ot===void 0?T(it):Pt(T(it),ot)},St=function(it){var ot=m(it),ct=a(_t,this,ot);return this===Ht&&d($t,ot)&&!d(Jt,ot)?!1:ct||!d(this,ot)||!d($t,ot)||d(this,lt)&&this[lt][ot]?ct:!0},er=function(it,ot){var ct=p(it),rt=m(ot);if(!(ct===Ht&&d($t,rt)&&!d(Jt,rt))){var bt=Nt(ct,rt);return bt&&d($t,rt)&&!(d(ct,lt)&&ct[lt][rt])&&(bt.enumerable=!0),bt}},or=function(it){var ot=qt(p(it)),ct=[];return gt(ot,function(rt){!d($t,rt)&&!d(B,rt)&&Xt(ct,rt)}),ct},K=function(et){var it=et===Ht,ot=qt(it?Jt:p(et)),ct=[];return gt(ot,function(rt){d($t,rt)&&(!it||d(Ht,rt))&&Xt(ct,$t[rt])}),ct};l||(Lt=function(){if(g(vt,this))throw new Mt("Symbol is not a constructor");var it=!arguments.length||arguments[0]===void 0?void 0:E(arguments[0]),ot=U(it),ct=function(rt){var bt=this===void 0?n:this;bt===Ht&&a(ct,Jt,rt),d(bt,lt)&&d(bt[lt],ot)&&(bt[lt][ot]=!1);var kt=S(1,rt);try{dt(bt,ot,kt)}catch(nt){if(!(nt instanceof mt))throw nt;st(bt,ot,kt)}};return u&&jt&&dt(Ht,ot,{configurable:!0,set:ct}),_(ot,it)},vt=Lt[Tt],D(vt,"toString",function(){return Wt(this).tag}),D(Lt,"withoutSetter",function(et){return _(U(et),et)}),L.f=St,C.f=Rt,b.f=Pt,P.f=er,I.f=A.f=or,N.f=K,z.f=function(et){return _(j(et),et)},u&&($(vt,"description",{configurable:!0,get:function(){return Wt(this).description}}),s||D(Ht,"propertyIsEnumerable",St,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Lt}),gt(R(Yt),function(et){Q(et)}),r({target:yt,stat:!0,forced:!l},{useSetter:function(){jt=!0},useSimple:function(){jt=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:Ot,defineProperty:Rt,defineProperties:Pt,getOwnPropertyDescriptor:er}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:or}),X(),k(Lt,yt),B[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 C=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),b=l(p,this)?new y(C):C===void 0?y():y(C);return C===""&&(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),R=o(p.toString),I=/^Symbol\((.*)\)[^)]+$/,A=o("".replace),N=o("".slice);d(p,"description",{configurable:!0,get:function(){var C=T(this);if(s(m,C))return"";var b=R(C),L=S?N(b,7,-1):A(b,I,"$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",R=function(){return d(p(this))};m("entries",function(){return y(p(this))},S),m("keys",function(){return g(p(this))},S),m("values",R,S||!T,{name:"values"}),m(l,R,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),A=u(R);if(E)return n(y,this,A,I);var N=this.length,P=o(A),C=0;if(P+I>N)throw new v("Wrong length");for(;Cm;)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 I=new m(516),A=Array(516),N,P;for(N=0;N<516;N++)P=N%4,I[N]=515-N,A[N]=N-2*P+3;for(E(I,function(C,b){return(C/4|0)-(b/4|0)}),N=0;N<516;N++)if(I[N]!==A[N])return!0}),R=function(I){return function(A,N){return I!==void 0?+I(A,N)||0:N!==N?-1:A!==A?1:A===0&&N===0?1/A>0&&1/N<0?1:-1:A>N}};p("sort",function(A){return A!==void 0&&o(A),T?E(this,A):s(y(this),R(A))},!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,R;S>(-2*B&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(I){if(v(arguments.length,1),m)return s(g,n,l(I));for(var A=l(I),N="",P=0,C=d,b,L;y(A,P)||(C="=",P%1);){if(L=p(A,P+=.75),L>255)throw new(a("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");b=b<<8|L,N+=y(C,63&b>>8-P%1*8)}return N}})},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),R=t(82367),I=t(92986),A=t(70457),N="DOMException",P="DATA_CLONE_ERR",C=n("Error"),b=n(N)||function(){try{var vt=n("MessageChannel")||a("worker_threads").MessageChannel;new vt().port1.postMessage(new WeakMap)}catch(mt){if(mt.name===P&&mt.code===25)return mt.constructor}}(),L=b&&b.prototype,D=C.prototype,$=R.set,G=R.getterFor(N),V="stack"in new C(N),B=function(vt){return g(S,vt)&&S[vt].m?S[vt].c:0},U=function(){y(this,j);var mt=arguments.length,Mt=E(mt<1?void 0:arguments[0]),Dt=E(mt<2?void 0:arguments[1],"Error"),Nt=B(Dt);if($(this,{type:N,name:Dt,message:Mt,code:Nt}),I||(this.name=Dt,this.message=Mt,this.code=Nt),V){var Ut=new C(Mt);Ut.name=N,l(this,"stack",u(1,T(Ut.stack,1)))}},j=U.prototype=s(D),z=function(vt){return{enumerable:!0,configurable:!0,get:vt}},Q=function(vt){return z(function(){return G(this)[vt]})};I&&(d(j,"code",Q("code")),d(j,"message",Q("message")),d(j,"name",Q("name"))),l(j,"constructor",u(1,U));var X=o(function(){return!(new b instanceof C)}),k=X||o(function(){return D.toString!==m||String(new b(1,2))!=="2: 1"}),Z=X||o(function(){return new b(1,"DataCloneError").code!==25}),gt=X||b[P]!==25||L[P]!==25,lt=A?k||Z||gt:X;r({global:!0,constructor:!0,forced:lt},{DOMException:lt?U:b});var yt=n(N),Tt=yt.prototype;k&&(A||b===yt)&&v(Tt,"toString",m),Z&&I&&b===yt&&d(Tt,"code",z(function(){return B(p(this).name)}));for(var At in S)if(g(S,At)){var Wt=S[At],Ht=Wt.s,Lt=u(6,Wt.c);g(yt,Ht)||l(yt,Ht,Lt),g(Tt,Ht)||l(Tt,Ht,Lt)}},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),R=function(){l(this,I);var U=arguments.length,j=d(U<1?void 0:arguments[0]),z=d(U<2?void 0:arguments[1],"Error"),Q=new T(j,z),X=new S(j);return X.name=E,s(Q,"stack",o(1,y(X.stack,1))),v(Q,this,R),Q},I=R.prototype=T.prototype,A="stack"in new S(E),N="stack"in new T(1,2),P=T&&p&&Object.getOwnPropertyDescriptor(n,E),C=!!P&&!(P.writable&&P.configurable),b=A&&!C&&!N;r({global:!0,constructor:!0,forced:m||b},{DOMException:b?R:T});var L=a(E),D=L.prototype;if(D.constructor!==L){m||s(D,"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),R=t(84082),I=t(90809),A=t(82628),N=t(95486),P=t(54932),C=t(1774),b=t(172),L=t(35051),D=t(63741),$=t(16929),G=t(99050),V=a.Object,B=a.Array,U=a.Date,j=a.Error,z=a.TypeError,Q=a.PerformanceMark,X=o("DOMException"),k=C.Map,Z=C.has,gt=C.get,lt=C.set,yt=b.Set,Tt=b.add,At=b.has,Wt=o("Object","keys"),Ht=s([].push),Lt=s((!0).valueOf),vt=s(1 .valueOf),mt=s("".valueOf),Mt=s(U.prototype.getTime),Dt=l("structuredClone"),Nt="DataCloneError",Ut="Transferring",qt=function(K){return!u(function(){var et=new a.Set([7]),it=K(et),ot=K(V(7));return it===et||!it.has(7)||!y(ot)||+ot!=7})&&K},_t=function(K,et){return!u(function(){var it=new et,ot=K({a:it,b:it});return!(ot&&ot.a===ot.b&&ot.a instanceof et&&ot.a.stack===it.stack)})},Xt=function(K){return!u(function(){var et=K(new a.AggregateError([1],Dt,{cause:3}));return et.name!=="AggregateError"||et.errors[0]!==1||et.message!==Dt||et.cause!==3})},$t=a.structuredClone,Jt=r||!_t($t,j)||!_t($t,X)||!Xt($t),Yt=!$t&&qt(function(K){return new Q(Dt,{detail:K}).detail}),jt=qt($t)||Yt,st=function(K){throw new X("Uncloneable type: "+K,Nt)},dt=function(K,et){throw new X((et||"Cloning")+" of "+K+" cannot be properly polyfilled in this engine",Nt)},_=function(K,et){return jt||dt(et),jt(K)},Rt=function(){var K;try{K=new a.DataTransfer}catch(et){try{K=new a.ClipboardEvent("").clipboardData}catch(it){}}return K&&K.items&&K.files?K:null},Pt=function(K,et,it){if(Z(et,K))return gt(et,K);var ot=it||S(K),ct,rt,bt,kt,nt,ht;if(ot==="SharedArrayBuffer")jt?ct=jt(K):ct=K;else{var pt=a.DataView;!pt&&!v(K.slice)&&dt("ArrayBuffer");try{if(v(K.slice)&&!K.resizable)ct=K.slice(0);else for(rt=K.byteLength,bt=("maxByteLength"in K)?{maxByteLength:K.maxByteLength}:void 0,ct=new ArrayBuffer(rt,bt),kt=new pt(K),nt=new pt(ct),ht=0;ht1&&!g(arguments[1])?E(arguments[1]):void 0,ot=it?it.transfer:void 0,ct,rt;ot!==void 0&&(ct=new k,rt=er(ot,ct));var bt=St(et,ct);return rt&&or(rt),bt}})},28381:function(i,h,t){t(63981),t(23913)},98812:function(i,h,t){t(35054),t(93087);var r=t(14304),n=t(34246),a=t(28167),o=t(38941),s=t(96499),u=t(11286),l=t(92986),v=t(91918),d=t(16142),g=t(85500),y=t(2725),p=t(78401),m=t(26820),E=t(82367),S=t(12833),T=t(23583),R=t(94879),I=t(45526),A=t(9205),N=t(25001),P=t(37540),C=t(17361),b=t(5406),L=t(18526),D=t(90619),$=t(81077),G=t(10659),V=t(95486),B=t(18565),U=t(13270),j=B("iterator"),z="URLSearchParams",Q=z+"Iterator",X=E.set,k=E.getterFor(z),Z=E.getterFor(Q),gt=a("fetch"),lt=a("Request"),yt=a("Headers"),Tt=lt&<.prototype,At=yt&&yt.prototype,Wt=n.TypeError,Ht=n.encodeURIComponent,Lt=String.fromCharCode,vt=o("String","fromCodePoint"),mt=parseInt,Mt=u("".charAt),Dt=u([].join),Nt=u([].push),Ut=u("".replace),qt=u([].shift),_t=u([].splice),Xt=u("".split),$t=u("".slice),Jt=u(/./.exec),Yt=/\+/g,jt="\uFFFD",st=/^[0-9a-f]+$/i,dt=function(nt,ht){var pt=$t(nt,ht,ht+2);return Jt(st,pt)?mt(pt,16):NaN},_=function(nt){for(var ht=0,pt=128;pt>0&&nt&pt;pt>>=1)ht++;return ht},Rt=function(nt){var ht=null;switch(nt.length){case 1:ht=nt[0];break;case 2:ht=(nt[0]&31)<<6|nt[1]&63;break;case 3:ht=(nt[0]&15)<<12|(nt[1]&63)<<6|nt[2]&63;break;case 4:ht=(nt[0]&7)<<18|(nt[1]&63)<<12|(nt[2]&63)<<6|nt[3]&63;break}return ht>1114111?null:ht},Pt=function(nt){nt=Ut(nt,Yt," ");for(var ht=nt.length,pt="",xt=0;xtht){pt+="%",xt++;continue}var Zt=dt(nt,xt+1);if(Zt!==Zt){pt+=Bt,xt++;continue}xt+=2;var nr=_(Zt);if(nr===0)Bt=Lt(Zt);else{if(nr===1||nr>4){pt+=jt,xt++;continue}for(var ar=[Zt],ir=1;irht||Mt(nt,xt)!=="%"));){var cr=dt(nt,xt+1);if(cr!==cr){xt+=3;break}if(cr>191||cr<128)break;Nt(ar,cr),xt+=2,ir++}if(ar.length!==nr){pt+=jt;continue}var Br=Rt(ar);Br===null?pt+=jt:Bt=vt(Br)}}pt+=Bt,xt++}return pt},Ot=/[!'()~]|%20/g,St={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},er=function(nt){return St[nt]},or=function(nt){return Ut(Ht(nt),Ot,er)},K=m(function(ht,pt){X(this,{type:Q,target:k(ht).entries,index:0,kind:pt})},z,function(){var ht=Z(this),pt=ht.target,xt=ht.index++;if(!pt||xt>=pt.length)return ht.target=null,G(void 0,!0);var Bt=pt[xt];switch(ht.kind){case"keys":return G(Bt.key,!1);case"values":return G(Bt.value,!1)}return G([Bt.key,Bt.value],!1)},!0),et=function(nt){this.entries=[],this.url=null,nt!==void 0&&(P(nt)?this.parseObject(nt):this.parseQuery(typeof nt=="string"?Mt(nt,0)==="?"?$t(nt,1):nt:C(nt)))};et.prototype={type:z,bindURL:function(nt){this.url=nt,this.update()},parseObject:function(nt){var ht=this.entries,pt=$(nt),xt,Bt,Zt,nr,ar,ir,cr;if(pt)for(xt=D(nt,pt),Bt=xt.next;!(Zt=s(Bt,xt)).done;){if(nr=D(N(Zt.value)),ar=nr.next,(ir=s(ar,nr)).done||(cr=s(ar,nr)).done||!s(ar,nr).done)throw new Wt("Expected sequence with length 2");Nt(ht,{key:C(ir.value),value:C(cr.value)})}else for(var Br in nt)R(nt,Br)&&Nt(ht,{key:Br,value:C(nt[Br])})},parseQuery:function(nt){if(nt)for(var ht=this.entries,pt=Xt(nt,"&"),xt=0,Bt,Zt;xt0?arguments[0]:void 0,pt=X(this,new et(ht));l||(this.size=pt.entries.length)},ot=it.prototype;if(y(ot,{append:function(ht,pt){var xt=k(this);V(arguments.length,2),Nt(xt.entries,{key:C(ht),value:C(pt)}),l||this.length++,xt.updateURL()},delete:function(nt){for(var ht=k(this),pt=V(arguments.length,1),xt=ht.entries,Bt=C(nt),Zt=pt<2?void 0:arguments[1],nr=Zt===void 0?Zt:C(Zt),ar=0;arxt.key?1:-1}),ht.updateURL()},forEach:function(ht){for(var pt=k(this).entries,xt=I(ht,arguments.length>1?arguments[1]:void 0),Bt=0,Zt;Bt1?bt(arguments[1]):{})}}),T(lt)){var kt=function(ht){return S(this,Tt),new lt(ht,arguments.length>1?bt(arguments[1]):{})};Tt.constructor=kt,kt.prototype=Tt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}i.exports={URLSearchParams:it,getState:k}},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),R=a(E),I=0,A=0,N=!1,P=S.length,C;I?@[\\\]^|]/,$t=/[\0\t\n\r #/:<>?@[\\\]^|]/,Jt=/^[\u0000-\u0020]+/,Yt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,jt=/[\t\n\r]/g,st,dt=function(Y){var ft=lt(Y,"."),J,H,at,zt,Ct,sr,ur;if(ft.length&&ft[ft.length-1]===""&&ft.length--,J=ft.length,J>4)return Y;for(H=[],at=0;at1&&U(zt,0)==="0"&&(Ct=j(Nt,zt)?16:8,zt=yt(zt,Ct===8?1:2)),zt==="")sr=0;else{if(!j(Ct===10?qt:Ct===8?Ut:_t,zt))return Y;sr=G(zt,Ct)}k(H,sr)}for(at=0;at=B(256,5-J))return null}else if(sr>255)return null;for(ur=X(H),at=0;at6))return;for(sr=0;lr();){if(ur=null,sr>0)if(lr()==="."&&sr<4)at++;else return;if(!j(Dt,lr()))return;for(;j(Dt,lr());){if(dr=G(lr(),10),ur===null)ur=dr;else{if(ur===0)return;ur=ur*10+dr}if(ur>255)return;at++}ft[J]=ft[J]*256+ur,sr++,(sr===2||sr===4)&&J++}if(sr!==4)return;break}else if(lr()===":"){if(at++,!lr())return}else if(lr())return;ft[J++]=zt}if(H!==null)for(br=J-H,J=7;J!==0&&br>0;)ut=ft[J],ft[J--]=ft[H+br-1],ft[H+--br]=ut;else if(J!==8)return;return ft},Rt=function(Y){for(var ft=null,J=1,H=null,at=0,zt=0;zt<8;zt++)Y[zt]!==0?(at>J&&(ft=H,J=at),H=null,at=0):(H===null&&(H=zt),++at);return at>J?H:ft},Pt=function(Y){var ft,J,H,at;if(typeof Y=="number"){for(ft=[],J=0;J<4;J++)At(ft,Y%256),Y=V(Y/256);return z(ft,".")}if(typeof Y=="object"){for(ft="",H=Rt(Y),J=0;J<8;J++)at&&Y[J]===0||(at&&(at=!1),H===J?(ft+=J?":":"::",at=!0):(ft+=Q(Y[J],16),J<7&&(ft+=":")));return"["+ft+"]"}return Y},Ot={},St=y({},Ot,{" ":1,'"':1,"<":1,">":1,"`":1}),er=y({},St,{"#":1,"?":1,"{":1,"}":1}),or=y({},er,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(Y,ft){var J=E(Y,0);return J>32&&J<127&&!g(ft,Y)?Y:encodeURIComponent(Y)},et={ftp:21,file:null,http:80,https:443,ws:80,wss:443},it=function(Y,ft){var J;return Y.length===2&&j(mt,U(Y,0))&&((J=U(Y,1))===":"||!ft&&J==="|")},ot=function(Y){var ft;return Y.length>1&&it(yt(Y,0,2))&&(Y.length===2||(ft=U(Y,2))==="/"||ft==="\\"||ft==="?"||ft==="#")},ct=function(Y){return Y==="."||Tt(Y)==="%2e"},rt=function(Y){return Y=Tt(Y),Y===".."||Y==="%2e."||Y===".%2e"||Y==="%2e%2e"},bt={},kt={},nt={},ht={},pt={},xt={},Bt={},Zt={},nr={},ar={},ir={},cr={},Br={},gn={},Fn={},yn={},Lr={},Ur={},Dn={},Jr={},jr={},fn=function(Y,ft,J){var H=T(Y),at,zt,Ct;if(ft){if(zt=this.parse(H),zt)throw new $(zt);this.searchParams=null}else{if(J!==void 0&&(at=new fn(J,!0)),zt=this.parse(H,null,at),zt)throw new $(zt);Ct=L(new b),Ct.bindURL(this),this.searchParams=Ct}};fn.prototype={type:"URL",parse:function(Y,ft,J){var H=this,at=ft||bt,zt=0,Ct="",sr=!1,ur=!1,dr=!1,br,ut,lr,wr;for(Y=T(Y),ft||(H.scheme="",H.username="",H.password="",H.host=null,H.port=null,H.path=[],H.query=null,H.fragment=null,H.cannotBeABaseURL=!1,Y=Z(Y,Jt,""),Y=Z(Y,Yt,"$1")),Y=Z(Y,jt,""),br=p(Y);zt<=br.length;){switch(ut=br[zt],at){case bt:if(ut&&j(mt,ut))Ct+=Tt(ut),at=kt;else{if(ft)return Ht;at=nt;continue}break;case kt:if(ut&&(j(Mt,ut)||ut==="+"||ut==="-"||ut==="."))Ct+=Tt(ut);else if(ut===":"){if(ft&&(H.isSpecial()!==g(et,Ct)||Ct==="file"&&(H.includesCredentials()||H.port!==null)||H.scheme==="file"&&!H.host))return;if(H.scheme=Ct,ft){H.isSpecial()&&et[H.scheme]===H.port&&(H.port=null);return}Ct="",H.scheme==="file"?at=gn:H.isSpecial()&&J&&J.scheme===H.scheme?at=ht:H.isSpecial()?at=Zt:br[zt+1]==="/"?(at=pt,zt++):(H.cannotBeABaseURL=!0,k(H.path,""),at=Dn)}else{if(ft)return Ht;Ct="",at=nt,zt=0;continue}break;case nt:if(!J||J.cannotBeABaseURL&&ut!=="#")return Ht;if(J.cannotBeABaseURL&&ut==="#"){H.scheme=J.scheme,H.path=m(J.path),H.query=J.query,H.fragment="",H.cannotBeABaseURL=!0,at=jr;break}at=J.scheme==="file"?gn:xt;continue;case ht:if(ut==="/"&&br[zt+1]==="/")at=nr,zt++;else{at=xt;continue}break;case pt:if(ut==="/"){at=ar;break}else{at=Ur;continue}case xt:if(H.scheme=J.scheme,ut===st)H.username=J.username,H.password=J.password,H.host=J.host,H.port=J.port,H.path=m(J.path),H.query=J.query;else if(ut==="/"||ut==="\\"&&H.isSpecial())at=Bt;else if(ut==="?")H.username=J.username,H.password=J.password,H.host=J.host,H.port=J.port,H.path=m(J.path),H.query="",at=Jr;else if(ut==="#")H.username=J.username,H.password=J.password,H.host=J.host,H.port=J.port,H.path=m(J.path),H.query=J.query,H.fragment="",at=jr;else{H.username=J.username,H.password=J.password,H.host=J.host,H.port=J.port,H.path=m(J.path),H.path.length--,at=Ur;continue}break;case Bt:if(H.isSpecial()&&(ut==="/"||ut==="\\"))at=nr;else if(ut==="/")at=ar;else{H.username=J.username,H.password=J.password,H.host=J.host,H.port=J.port,at=Ur;continue}break;case Zt:if(at=nr,ut!=="/"||U(Ct,zt+1)!=="/")continue;zt++;break;case nr:if(ut!=="/"&&ut!=="\\"){at=ar;continue}break;case ar:if(ut==="@"){sr&&(Ct="%40"+Ct),sr=!0,lr=p(Ct);for(var mn=0;mn65535)return vt;H.port=H.isSpecial()&&ln===et[H.scheme]?null:ln,Ct=""}if(ft)return;at=Lr;continue}else return vt;break;case gn:if(H.scheme="file",ut==="/"||ut==="\\")at=Fn;else if(J&&J.scheme==="file")switch(ut){case st:H.host=J.host,H.path=m(J.path),H.query=J.query;break;case"?":H.host=J.host,H.path=m(J.path),H.query="",at=Jr;break;case"#":H.host=J.host,H.path=m(J.path),H.query=J.query,H.fragment="",at=jr;break;default:ot(z(m(br,zt),""))||(H.host=J.host,H.path=m(J.path),H.shortenPath()),at=Ur;continue}else{at=Ur;continue}break;case Fn:if(ut==="/"||ut==="\\"){at=yn;break}J&&J.scheme==="file"&&!ot(z(m(br,zt),""))&&(it(J.path[0],!0)?k(H.path,J.path[0]):H.host=J.host),at=Ur;continue;case yn:if(ut===st||ut==="/"||ut==="\\"||ut==="?"||ut==="#"){if(!ft&&it(Ct))at=Ur;else if(Ct===""){if(H.host="",ft)return;at=Lr}else{if(wr=H.parseHost(Ct),wr)return wr;if(H.host==="localhost"&&(H.host=""),ft)return;Ct="",at=Lr}continue}else Ct+=ut;break;case Lr:if(H.isSpecial()){if(at=Ur,ut!=="/"&&ut!=="\\")continue}else if(!ft&&ut==="?")H.query="",at=Jr;else if(!ft&&ut==="#")H.fragment="",at=jr;else if(ut!==st&&(at=Ur,ut!=="/"))continue;break;case Ur:if(ut===st||ut==="/"||ut==="\\"&&H.isSpecial()||!ft&&(ut==="?"||ut==="#")){if(rt(Ct)?(H.shortenPath(),ut!=="/"&&!(ut==="\\"&&H.isSpecial())&&k(H.path,"")):ct(Ct)?ut!=="/"&&!(ut==="\\"&&H.isSpecial())&&k(H.path,""):(H.scheme==="file"&&!H.path.length&&it(Ct)&&(H.host&&(H.host=""),Ct=U(Ct,0)+":"),k(H.path,Ct)),Ct="",H.scheme==="file"&&(ut===st||ut==="?"||ut==="#"))for(;H.path.length>1&&H.path[0]==="";)gt(H.path);ut==="?"?(H.query="",at=Jr):ut==="#"&&(H.fragment="",at=jr)}else Ct+=K(ut,er);break;case Dn:ut==="?"?(H.query="",at=Jr):ut==="#"?(H.fragment="",at=jr):ut!==st&&(H.path[0]+=K(ut,Ot));break;case Jr:!ft&&ut==="#"?(H.fragment="",at=jr):ut!==st&&(ut==="'"&&H.isSpecial()?H.query+="%27":ut==="#"?H.query+="%23":H.query+=K(ut,Ot));break;case jr:ut!==st&&(H.fragment+=K(ut,St));break}zt++}},parseHost:function(Y){var ft,J,H;if(U(Y,0)==="["){if(U(Y,Y.length-1)!=="]"||(ft=_(yt(Y,1,-1)),!ft))return Lt;this.host=ft}else if(this.isSpecial()){if(Y=S(Y),j(Xt,Y)||(ft=dt(Y),ft===null))return Lt;this.host=ft}else{if(j($t,Y))return Lt;for(ft="",J=p(Y),H=0;H1?arguments[1]:void 0,at=P(J,new fn(ft,!1,H));n||(J.href=at.serialize(),J.origin=at.getOrigin(),J.protocol=at.getProtocol(),J.username=at.getUsername(),J.password=at.getPassword(),J.host=at.getHost(),J.hostname=at.getHostname(),J.port=at.getPort(),J.pathname=at.getPathname(),J.search=at.getSearch(),J.searchParams=at.getSearchParams(),J.hash=at.getHash())},mr=zr.prototype,Nr=function(Y,ft){return{get:function(){return C(this)[Y]()},set:ft&&function(J){return C(this)[ft](J)},configurable:!0,enumerable:!0}};if(n&&(v(mr,"href",Nr("serialize","setHref")),v(mr,"origin",Nr("getOrigin")),v(mr,"protocol",Nr("getProtocol","setProtocol")),v(mr,"username",Nr("getUsername","setUsername")),v(mr,"password",Nr("getPassword","setPassword")),v(mr,"host",Nr("getHost","setHost")),v(mr,"hostname",Nr("getHostname","setHostname")),v(mr,"port",Nr("getPort","setPort")),v(mr,"pathname",Nr("getPathname","setPathname")),v(mr,"search",Nr("getSearch","setSearch")),v(mr,"searchParams",Nr("getSearchParams")),v(mr,"hash",Nr("getHash","setHash"))),l(mr,"toJSON",function(){return C(this).serialize()},{enumerable:!0}),l(mr,"toString",function(){return C(this).serialize()},{enumerable:!0}),D){var pn=D.createObjectURL,Ln=D.revokeObjectURL;pn&&l(zr,"createObjectURL",s(pn,D)),Ln&&l(zr,"revokeObjectURL",s(Ln,D))}R(zr,"URL"),r({global:!0,constructor:!0,forced:!a,sham:!n},{URL:zr})},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)}},qr={};function $r(i){var h=qr[i];if(h!==void 0)return h.exports;var t=qr[i]={exports:{}};return Ce[i].call(t.exports,t,t.exports,$r),t.exports}(function(){$r.d=function(i,h){for(var t in h)$r.o(h,t)&&!$r.o(i,t)&&Object.defineProperty(i,t,{enumerable:!0,get:h[t]})}})(),function(){$r.o=function(i,h){return Object.prototype.hasOwnProperty.call(i,h)}}(),$r(61969);var oe=$r(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 32f776462..4276999d7 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -23977,7 +23977,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 a18234c25..f71b41eb6 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */(function(qr,Gr){typeof exports=="object"&&typeof module=="object"?module.exports=Gr():typeof define=="function"&&define.amd?define("bb",[],Gr):typeof exports=="object"?exports.bb=Gr():(qr.bb=qr.bb||{},qr.bb.plugin=qr.bb.plugin||{},qr.bb.plugin["stanford.pkgd"]=Gr())})(this,function(){return function(){"use strict";var Me={33539:function(u,g,t){t.d(g,{default:function(){return mf}});function n(r,a,f){r.prototype=a.prototype=f,f.constructor=r}function e(r,a){var f=Object.create(r.prototype);for(var d in a)f[d]=a[d];return f}function o(){}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}\\)$`),m=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}\\)$`),A={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(o,C,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:M,formatHex:M,formatHex8:R,formatHsl:P,formatRgb:b,toString:b});function M(){return this.rgb().formatHex()}function R(){return this.rgb().formatHex8()}function P(){return q(this).formatHsl()}function b(){return this.rgb().formatRgb()}function C(r){var a,f;return r=(r+"").trim().toLowerCase(),(a=h.exec(r))?(f=a[1].length,a=parseInt(a[1],16),f===6?N(a):f===3?new j(a>>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):f===8?D(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):f===4?D(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=p.exec(r))?new j(a[1],a[2],a[3],1):(a=m.exec(r))?new j(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=x.exec(r))?D(a[1],a[2],a[3],a[4]):(a=S.exec(r))?D(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=O.exec(r))?tt(a[1],a[2]/100,a[3]/100,1):(a=E.exec(r))?tt(a[1],a[2]/100,a[3]/100,a[4]):A.hasOwnProperty(r)?N(A[r]):r==="transparent"?new j(NaN,NaN,NaN,0):null}function N(r){return new j(r>>16&255,r>>8&255,r&255,1)}function D(r,a,f,d){return d<=0&&(r=a=f=NaN),new j(r,a,f,d)}function U(r){return r instanceof o||(r=C(r)),r?(r=r.rgb(),new j(r.r,r.g,r.b,r.opacity)):new j}function B(r,a,f,d){return arguments.length===1?U(r):new j(r,a,f,d==null?1:d)}function j(r,a,f,d){this.r=+r,this.g=+a,this.b=+f,this.opacity=+d}n(j,B,e(o,{brighter(r){return r=r==null?i:Math.pow(i,r),new j(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new j(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new j(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`#${X(this.r)}${X(this.g)}${X(this.b)}`}function z(){return`#${X(this.r)}${X(this.g)}${X(this.b)}${X((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 X(r){return r=V(r),(r<16?"0":"")+r.toString(16)}function tt(r,a,f,d){return d<=0?r=a=f=NaN:f<=0||f>=1?r=a=NaN:a<=0&&(r=NaN),new Z(r,a,f,d)}function q(r){if(r instanceof Z)return new Z(r.h,r.s,r.l,r.opacity);if(r instanceof o||(r=C(r)),!r)return new Z;if(r instanceof Z)return r;r=r.rgb();var a=r.r/255,f=r.g/255,d=r.b/255,y=Math.min(a,f,d),T=Math.max(a,f,d),I=NaN,F=T-y,L=(T+y)/2;return F?(a===T?I=(f-d)/F+(f0&&L<1?0:I,new Z(I,F,L,r.opacity)}function rt(r,a,f,d){return arguments.length===1?q(r):new Z(r,a,f,d==null?1:d)}function Z(r,a,f,d){this.h=+r,this.s=+a,this.l=+f,this.opacity=+d}n(Z,rt,e(o,{brighter(r){return r=r==null?i:Math.pow(i,r),new Z(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new Z(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,a=isNaN(r)||isNaN(this.s)?0:this.s,f=this.l,d=f+(f<.5?f:1-f)*a,y=2*f-d;return new j(xt(r>=240?r-240:r+120,y,d),xt(r,y,d),xt(r<120?r+240:r-120,y,d),this.opacity)},clamp(){return new Z(mt(this.h),ht(this.s),ht(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)}, ${ht(this.s)*100}%, ${ht(this.l)*100}%${r===1?")":`, ${r})`}`}}));function mt(r){return r=(r||0)%360,r<0?r+360:r}function ht(r){return Math.max(0,Math.min(1,r||0))}function xt(r,a,f){return(r<60?a+(f-a)*r/60:r<180?f:r<240?a+(f-a)*(240-r)/60:a)*255}var At=r=>()=>r;function Mt(r,a){return function(f){return r+f*a}}function Jt(r,a,f){return r=Math.pow(r,f),a=Math.pow(a,f)-r,f=1/f,function(d){return Math.pow(r+d*a,f)}}function Xt(r,a){var f=a-r;return f?Mt(r,f>180||f<-180?f-360*Math.round(f/360):f):At(isNaN(r)?a:r)}function jt(r){return(r=+r)==1?vt:function(a,f){return f-a?Jt(a,f,r):At(isNaN(a)?f:a)}}function vt(r,a){var f=a-r;return f?Mt(r,f):At(isNaN(r)?a:r)}function Et(r){return function(a,f){var d=r((a=rt(a)).h,(f=rt(f)).h),y=vt(a.s,f.s),T=vt(a.l,f.l),I=vt(a.opacity,f.opacity);return function(F){return a.h=d(F),a.s=y(F),a.l=T(F),a.opacity=I(F),a+""}}}var Lt=Et(Xt),Ut=Et(vt);function Dt(r,a,f,d,y){var T=r*r,I=T*r;return((1-3*r+3*T-I)*a+(4-6*T+3*I)*f+(1+3*r+3*T-3*I)*d+I*y)/6}function Vt(r){var a=r.length-1;return function(f){var d=f<=0?f=0:f>=1?(f=1,a-1):Math.floor(f*a),y=r[d],T=r[d+1],I=d>0?r[d-1]:2*y-T,F=df&&(T=a.slice(f,T),F[I]?F[I]+=T:F[++I]=T),(d=d[0])===(y=y[0])?F[I]?F[I]+=y:F[++I]=y:(F[++I]=null,L.push({i:I,x:ct(d,y)})),f=bt.lastIndex;return fa?1:r>=a?0:NaN}function yt(r,a){return r==null||a==null?NaN:ar?1:a>=r?0:NaN}function at(r){let a,f,d;r.length!==2?(a=st,f=(F,L)=>st(r(F),L),d=(F,L)=>r(F)-L):(a=r===st||r===yt?r:$t,f=r,d=r);function y(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:y,center:I,right:T}}function $t(){return 0}function er(r){return r===null?NaN:+r}function*it(r,a){if(a===void 0)for(let f of r)f!=null&&(f=+f)>=f&&(yield f);else{let f=-1;for(let d of r)(d=a(d,++f,r))!=null&&(d=+d)>=d&&(yield d)}}const St=at(st),Ot=St.right,Tt=St.left,Wt=at(er).center;var _t=Ot;function ir(r){return function(){return r}}function lr(r){return+r}var mr=[0,1];function dr(r){return r}function $r(r,a){return(a-=r=+r)?function(f){return(f-r)/a}:ir(isNaN(a)?NaN:.5)}function dn(r,a){var f;return r>a&&(f=r,r=a,a=f),function(d){return Math.max(r,Math.min(a,d))}}function Mn(r,a,f){var d=r[0],y=r[1],T=a[0],I=a[1];return y2?hn:Mn,L=$=null,K}function K(_){return _==null||isNaN(_=+_)?T:(L||(L=F(r.map(d),a,f)))(d(I(_)))}return K.invert=function(_){return I(y(($||($=F(a,r.map(d),ct)))(_)))},K.domain=function(_){return arguments.length?(r=Array.from(_,lr),H()):r.slice()},K.range=function(_){return arguments.length?(a=Array.from(_),H()):a.slice()},K.rangeRound=function(_){return a=Array.from(_),f=lt,H()},K.clamp=function(_){return arguments.length?(I=_?!0:dr,H()):I!==dr},K.interpolate=function(_){return arguments.length?(f=_,H()):f},K.unknown=function(_){return arguments.length?(T=_,K):T},function(_,et){return d=_,y=et,H()}}function ee(){return jr()(dr,dr)}function Jr(r,a){switch(arguments.length){case 0:break;case 1:this.range(r);break;default:this.range(a).domain(r);break}return this}function Vr(r,a){switch(arguments.length){case 0:break;case 1:{typeof r=="function"?this.interpolator(r):this.range(r);break}default:{this.domain(r),typeof a=="function"?this.interpolator(a):this.range(a);break}}return this}const gn=Math.sqrt(50),tn=Math.sqrt(10),Nr=Math.sqrt(2);function br(r,a,f){const d=(a-r)/Math.max(0,f),y=Math.floor(Math.log10(d)),T=d/Math.pow(10,y),I=T>=gn?10:T>=tn?5:T>=Nr?2:1;let F,L,$;return y<0?($=Math.pow(10,-y)/I,F=Math.round(r*$),L=Math.round(a*$),F/$a&&--L,$=-$):($=Math.pow(10,y)*I,F=Math.round(r/$),L=Math.round(a/$),F*$a&&--L),L0))return[];if(r===a)return[r];const d=a=y))return[];const F=T-y+1,L=new Array(F);if(d)if(I<0)for(let $=0;$=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function k(r){if(!(a=gt.exec(r)))throw new Error("invalid format: "+r);var a;return new Y({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}k.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 Kt(r,a){if((f=(r=a?r.toExponential(a-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 Pt(r){return r=Kt(Math.abs(r)),r?r[1]:NaN}function xr(r,a){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Pt(a)/3)))*3-Pt(Math.abs(r)))}function Tr(r,a){return function(f,d){for(var y=f.length,T=[],I=0,F=r[0],L=0;y>0&&F>0&&(L+F+1>d&&(F=Math.max(1,d-L)),T.push(f.substring(y-=F,y+F)),!((L+=F+1)>d));)F=r[I=(I+1)%r.length];return T.reverse().join(a)}}function Ar(r){return function(a){return a.replace(/[0-9]/g,function(f){return r[+f]})}}function Br(r){t:for(var a=r.length,f=1,d=-1,y;f0&&(d=0);break}return d>0?r.slice(0,d)+r.slice(y+1):r}var dt;function Ir(r,a){var f=Kt(r,a);if(!f)return r+"";var d=f[0],y=f[1],T=y-(dt=Math.max(-8,Math.min(8,Math.floor(y/3)))*3)+1,I=d.length;return T===I?d:T>I?d+new Array(T-I+1).join("0"):T>0?d.slice(0,T)+"."+d.slice(T):"0."+new Array(1-T).join("0")+Kt(r,Math.max(0,a+T-1))[0]}function Hr(r,a){var f=Kt(r,a);if(!f)return r+"";var d=f[0],y=f[1];return y<0?"0."+new Array(-y).join("0")+d:d.length>y+1?d.slice(0,y+1)+"."+d.slice(y+1):d+new Array(y-d.length+2).join("0")}var sn={"%":(r,a)=>(r*100).toFixed(a),b:r=>Math.round(r).toString(2),c:r=>r+"",d:ut,e:(r,a)=>r.toExponential(a),f:(r,a)=>r.toFixed(a),g:(r,a)=>r.toPrecision(a),o:r=>Math.round(r).toString(8),p:(r,a)=>Hr(r*100,a),r:Hr,s:Ir,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 a=r.grouping===void 0||r.thousands===void 0?pn:Tr(yn.call(r.grouping,Number),r.thousands+""),f=r.currency===void 0?"":r.currency[0]+"",d=r.currency===void 0?"":r.currency[1]+"",y=r.decimal===void 0?".":r.decimal+"",T=r.numerals===void 0?pn:Ar(yn.call(r.numerals,String)),I=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=k(K);var _=K.fill,et=K.align,zt=K.sign,or=K.symbol,pt=K.zero,Ct=K.width,Gt=K.comma,Ft=K.precision,kt=K.trim,Yt=K.type;Yt==="n"?(Gt=!0,Yt="g"):sn[Yt]||(Ft===void 0&&(Ft=12),kt=!0,Yt="g"),(pt||_==="0"&&et==="=")&&(pt=!0,_="0",et="=");var pr=or==="$"?f:or==="#"&&/[boxX]/.test(Yt)?"0"+Yt.toLowerCase():"",Sr=or==="$"?d:/[%p]/.test(Yt)?I:"",cr=sn[Yt],Mr=/[defgprs%]/.test(Yt);Ft=Ft===void 0?6:/[gprs]/.test(Yt)?Math.max(1,Math.min(21,Ft)):Math.max(0,Math.min(20,Ft));function sr(Bt){var gr=pr,ar=Sr,yr,Yr,Er;if(Yt==="c")ar=cr(Bt)+ar,Bt="";else{Bt=+Bt;var Or=Bt<0||1/Bt<0;if(Bt=isNaN(Bt)?L:cr(Math.abs(Bt),Ft),kt&&(Bt=Br(Bt)),Or&&+Bt==0&&zt!=="+"&&(Or=!1),gr=(Or?zt==="("?zt:F:zt==="-"||zt==="("?"":zt)+gr,ar=(Yt==="s"?un[8+dt/3]:"")+ar+(Or&&zt==="("?")":""),Mr){for(yr=-1,Yr=Bt.length;++yrEr||Er>57){ar=(Er===46?y+Bt.slice(yr+1):Bt.slice(yr))+ar,Bt=Bt.slice(0,yr);break}}}Gt&&!pt&&(Bt=a(Bt,1/0));var wr=gr.length+Bt.length+ar.length,fr=wr>1)+gr+Bt+ar+fr.slice(wr);break;default:Bt=fr+gr+Bt+ar;break}return T(Bt)}return sr.toString=function(){return K+""},sr}function H(K,_){var et=$((K=k(K),K.type="f",K)),zt=Math.max(-8,Math.min(8,Math.floor(Pt(_)/3)))*3,or=Math.pow(10,-zt),pt=un[8+zt/3];return function(Ct){return et(or*Ct)+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,a){return r=Math.abs(r),a=Math.abs(a)-r,Math.max(0,Pt(a)-Pt(r))+1}function Ga(r){return Math.max(0,-Pt(Math.abs(r)))}function Va(r,a,f,d){var y=J(r,a,f),T;switch(d=k(d==null?",f":d),d.type){case"s":{var I=Math.max(Math.abs(r),Math.abs(a));return d.precision==null&&!isNaN(T=xr(y,I))&&(d.precision=T),Ne(d,I)}case"":case"e":case"g":case"p":case"r":{d.precision==null&&!isNaN(T=wa(y,Math.max(Math.abs(r),Math.abs(a))))&&(d.precision=T-(d.type==="e"));break}case"f":case"%":{d.precision==null&&!isNaN(T=Ga(y))&&(d.precision=T-(d.type==="%")*2);break}}return bn(d)}function ae(r){var a=r.domain;return r.ticks=function(f){var d=a();return an(d[0],d[d.length-1],f==null?10:f)},r.tickFormat=function(f,d){var y=a();return Va(y[0],y[y.length-1],f==null?10:f,d)},r.nice=function(f){f==null&&(f=10);var d=a(),y=0,T=d.length-1,I=d[y],F=d[T],L,$,H=10;for(F0;){if($=on(I,F,f),$===L)return d[y]=I,d[T]=F,a(d);if($>0)I=Math.floor(I/$)*$,F=Math.ceil(F/$)*$;else if($<0)I=Math.ceil(I*$)/$,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,a){r=r.slice();var f=0,d=r.length-1,y=r[f],T=r[d],I;return TMath.pow(r,a)}function Ja(r){return r===Math.E?Math.log:r===10&&Math.log10||r===2&&Math.log2||(r=Math.log(r),a=>Math.log(a)/r)}function De(r){return(a,f)=>-r(-a,f)}function Le(r){const a=r(be,Fe),f=a.domain;let d=10,y,T;function I(){return y=Ja(d),T=Xa(d),f()[0]<0?(y=De(y),T=De(T),r(za,Ya)):r(be,Fe),a}return a.base=function(F){return arguments.length?(d=+F,I()):d},a.domain=function(F){return arguments.length?(f(F),I()):f()},a.ticks=F=>{const L=f();let $=L[0],H=L[L.length-1];const K=H<$;K&&([$,H]=[H,$]);let _=y($),et=y(H),zt,or;const pt=F==null?10:+F;let Ct=[];if(!(d%1)&&et-_0){for(;_<=et;++_)for(zt=1;ztH)break;Ct.push(or)}}else for(;_<=et;++_)for(zt=d-1;zt>=1;--zt)if(or=_>0?zt/T(-_):zt*T(_),!(or<$)){if(or>H)break;Ct.push(or)}Ct.length*2{if(F==null&&(F=10),L==null&&(L=d===10?"s":","),typeof L!="function"&&(!(d%1)&&(L=k(L)).precision==null&&(L.trim=!0),L=bn(L)),F===1/0)return L;const $=Math.max(1,d*F/a.ticks().length);return H=>{let K=H/T(Math.round(y(H)));return K*df(Wa(f(),{floor:F=>T(Math.floor(y(F))),ceil:F=>T(Math.ceil(y(F)))})),a}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,a=1,f,d,y,T,I=dr,F=!1,L;function $(K){return K==null||isNaN(K=+K)?L:I(y===0?.5:(K=(T(K)-f)*y,F?Math.max(0,Math.min(1,K)):K))}$.domain=function(K){return arguments.length?([r,a]=K,f=T(r=+r),d=T(a=+a),y=f===d?0:1/(d-f),$):[r,a]},$.clamp=function(K){return arguments.length?(F=!!K,$):F},$.interpolator=function(K){return arguments.length?(I=K,$):I};function H(K){return function(_){var et,zt;return arguments.length?([et,zt]=_,I=K(et,zt),$):[I(0),I(1)]}}return $.range=H(ot),$.rangeRound=H(lt),$.unknown=function(K){return arguments.length?(L=K,$):L},function(K){return T=K,f=K(r),d=K(a),y=f===d?0:1/(d-f),$}}function Dn(r,a){return a.domain(r.domain()).interpolator(r.interpolator()).clamp(r.clamp()).unknown(r.unknown())}function $e(){var r=ae(Fn()(dr));return r.copy=function(){return Dn(r,$e())},Vr.apply(r,arguments)}function Be(){var r=Le(Fn()).domain([1,10]);return r.copy=function(){return Dn(r,Be()).base(r.base())},Vr.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,a,f)=>a in r?ka(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,hr=(r,a)=>{for(var f in a||(a={}))qa.call(a,f)&&we(r,f,a[f]);if(je)for(var f of je(a))_a.call(a,f)&&we(r,f,a[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=hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr({},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 a=this._groups,f=a.length,d=new Array(f),y=0;y=Ft&&(Ft=Gt+1);!(Yt=pt[Ft])&&++Ft=0;)(I=d[y])&&(T&&I.compareDocumentPosition(T)^4&&T.parentNode.insertBefore(I,T),T=I);return this}function ko(r){r||(r=qo);function a(K,_){return K&&_?r(K.__data__,_.__data__):!K-!_}for(var f=this._groups,d=f.length,y=new Array(d),T=0;Ta?1:r>=a?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,a=0,f=r.length;a=0&&(a=r.slice(0,f))!=="xmlns"&&(r=r.slice(f+1)),ze.hasOwnProperty(a)?{space:ze[a],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,a){return function(){this.setAttribute(r,a)}}function us(r,a){return function(){this.setAttributeNS(r.space,r.local,a)}}function fs(r,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttribute(r):this.setAttribute(r,f)}}function ls(r,a){return function(){var f=a.apply(this,arguments);f==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,f)}}function cs(r,a){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((a==null?f.local?ss:os:typeof a=="function"?f.local?ls:fs:f.local?us:is)(f,a))}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,a,f){return function(){this.style.setProperty(r,a,f)}}function hs(r,a,f){return function(){var d=a.apply(this,arguments);d==null?this.style.removeProperty(r):this.style.setProperty(r,d,f)}}function gs(r,a,f){return arguments.length>1?this.each((a==null?vs:typeof a=="function"?hs:ds)(r,a,f==null?"":f)):fn(this.node(),r)}function fn(r,a){return r.style.getPropertyValue(a)||Ye(r).getComputedStyle(r,null).getPropertyValue(a)}function ps(r){return function(){delete this[r]}}function ys(r,a){return function(){this[r]=a}}function ms(r,a){return function(){var f=a.apply(this,arguments);f==null?delete this[r]:this[r]=f}}function xs(r,a){return arguments.length>1?this.each((a==null?ps:typeof a=="function"?ms:ys)(r,a)):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 a=this._names.indexOf(r);a<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var a=this._names.indexOf(r);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Je(r,a){for(var f=ue(r),d=-1,y=a.length;++d=0&&(f=a.slice(d+1),a=a.slice(0,d)),{type:a,name:f}})}function Qs(r){return function(){var a=this.__on;if(a){for(var f=0,d=-1,y=a.length,T;f{}};function _e(){for(var r=0,a=arguments.length,f={},d;r=0&&(d=f.slice(y+1),f=f.slice(0,y)),f&&!a.hasOwnProperty(f))throw new Error("unknown type: "+f);return{type:f,name:d}})}Bn.prototype=_e.prototype={constructor:Bn,on:function(r,a){var f=this._,d=oi(r+"",f),y,T=-1,I=d.length;if(arguments.length<2){for(;++T0)for(var f=new Array(y),d=0,y,T;d=0&&r._call.call(void 0,a),r=r._next;--ln}function aa(){nn=(jn=On.now())+wn,ln=xn=0;try{fi()}finally{ln=0,ci(),nn=0}}function li(){var r=On.now(),a=r-jn;a>ra&&(wn-=a,jn=r)}function ci(){for(var r,a=Un,f,d=1/0;a;)a._call?(d>a._time&&(d=a._time),r=a,a=a._next):(f=a._next,a._next=null,a=r?r._next=f:Un=f);En=r,le(d)}function le(r){if(!ln){xn&&(xn=clearTimeout(xn));var a=r-nn;a>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,a,f){var d=new Gn;return a=a==null?0:+a,d.restart(y=>{d.stop(),r(y+a)},a,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,a,f,d,y,T){var I=r.__transition;if(!I)r.__transition={};else if(f in I)return;hi(r,f,{name:a,index:d,group:y,on:vi,tween:di,time:T.time,delay:T.delay,duration:T.duration,ease:T.ease,timer:null,state:sa})}function de(r,a){var f=zr(r,a);if(f.state>sa)throw new Error("too late; already scheduled");return f}function Kr(r,a){var f=zr(r,a);if(f.state>Vn)throw new Error("too late; already running");return f}function zr(r,a){var f=r.__transition;if(!f||!(f=f[a]))throw new Error("transition not found");return f}function hi(r,a,f){var d=r.__transition,y;d[a]=f,f.timer=ea(T,0,f.time);function T($){f.state=ia,f.timer.restart(I,f.delay,f.time),f.delay<=$&&I($-f.delay)}function I($){var H,K,_,et;if(f.state!==ia)return L();for(H in d)if(et=d[H],et.name===f.name){if(et.state===Vn)return oa(I);et.state===ua?(et.state=Hn,et.timer.stop(),et.on.call("interrupt",r,r.__data__,et.index,et.group),delete d[H]):+Hce&&d.state180?H+=360:H-$>180&&($+=360),_.push({i:K.push(y(K)+"rotate(",null,d)-2,x:ct($,H)})):H&&K.push(y(K)+"rotate("+H+d)}function F($,H,K,_){$!==H?_.push({i:K.push(y(K)+"skewX(",null,d)-2,x:ct($,H)}):H&&K.push(y(K)+"skewX("+H+d)}function L($,H,K,_,et,zt){if($!==K||H!==_){var or=et.push(y(et)+"scale(",null,",",null,")");zt.push({i:or-4,x:ct($,K)},{i:or-2,x:ct(H,_)})}else(K!==1||_!==1)&&et.push(y(et)+"scale("+K+","+_+")")}return function($,H){var K=[],_=[];return $=r($),H=r(H),T($.translateX,$.translateY,H.translateX,H.translateY,K,_),I($.rotate,H.rotate,K,_),F($.skewX,H.skewX,K,_),L($.scaleX,$.scaleY,H.scaleX,H.scaleY,K,_),$=H=null,function(et){for(var zt=-1,or=_.length,pt;++zt=0&&(a=a.slice(0,f)),!a||a==="start"})}function Qi(r,a,f){var d,y,T=Ji(a)?de:Kr;return function(){var I=T(this,r),F=I.on;F!==d&&(y=(d=F).copy()).on(a,f),I.on=y}}function Zi(r,a){var f=this._id;return arguments.length<2?zr(this.node(),f).on.on(r):this.each(Qi(f,r,a))}function ki(r){return function(){var a=this.parentNode;for(var f in this.__transition)if(+f!==r)return;a&&a.removeChild(this)}}function qi(){return this.on("end.remove",ki(this._id))}function _i(r){var a=this._name,f=this._id;typeof r!="function"&&(r=se(r));for(var d=this._groups,y=d.length,T=new Array(y),I=0;I{const Cr=qt.identifier;return qt=pointer(qt,Ct),qt.point0=qt.slice(),qt.identifier=Cr,qt});interrupt(Ct);var Rn=H(Ct,arguments,!0).beforestart();if(Gt==="overlay"){cr&&(Ce=!0);const qt=[Ur[0],Ur[1]||Ur[0]];pr.selection=cr=[[sr=r===Kn?Mr:Lr(qt[0][0],qt[1][0]),ar=r===Yn?gr:Lr(qt[0][1],qt[1][1])],[Er=r===Kn?Yr:Dr(qt[0][0],qt[1][0]),fr=r===Yn?wr:Dr(qt[0][1],qt[1][1])]],Ur.length>1&&en(pt)}else sr=cr[0][0],ar=cr[0][1],Er=cr[1][0],fr=cr[1][1];Bt=sr,yr=ar,Or=Er,Fr=fr;var Da=select(Ct).attr("pointer-events","none"),Pn=Da.selectAll(".overlay").attr("cursor",kr[Gt]);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);y&&La.on("keydown.brush",xf,!0).on("keyup.brush",Sf,!0),dragDisable(pt.view)}$.call(Ct),Rn.start(pt,Ft.name);function $a(qt){for(const Cr of qt.changedTouches||[qt])for(const Cn of Ur)Cn.identifier===Cr.identifier&&(Cn.cur=pointer(Cr,Ct));if(_n&&!te&&!re&&Ur.length===1){const Cr=Ur[0];pa(Cr.cur[0]-Cr[0])>pa(Cr.cur[1]-Cr[1])?re=!0:te=!0}for(const Cr of Ur)Cr.cur&&(Cr[0]=Cr.cur[0],Cr[1]=Cr.cur[1]);Ce=!0,noevent(qt),en(qt)}function en(qt){const Cr=Ur[0],Cn=Cr.point0;var rn;switch(Rr=Cr[0]-Cn[0],Pr=Cr[1]-Cn[1],Ft){case pe:case ga:{kt&&(Rr=Dr(Mr-sr,Lr(Yr-Er,Rr)),Bt=sr+Rr,Or=Er+Rr),Yt&&(Pr=Dr(gr-ar,Lr(wr-fr,Pr)),yr=ar+Pr,Fr=fr+Pr);break}case cn:{Ur[1]?(kt&&(Bt=Dr(Mr,Lr(Yr,Ur[0][0])),Or=Dr(Mr,Lr(Yr,Ur[1][0])),kt=1),Yt&&(yr=Dr(gr,Lr(wr,Ur[0][1])),Fr=Dr(gr,Lr(wr,Ur[1][1])),Yt=1)):(kt<0?(Rr=Dr(Mr-sr,Lr(Yr-sr,Rr)),Bt=sr+Rr,Or=Er):kt>0&&(Rr=Dr(Mr-Er,Lr(Yr-Er,Rr)),Bt=sr,Or=Er+Rr),Yt<0?(Pr=Dr(gr-ar,Lr(wr-ar,Pr)),yr=ar+Pr,Fr=fr):Yt>0&&(Pr=Dr(gr-fr,Lr(wr-fr,Pr)),yr=ar,Fr=fr+Pr));break}case vn:{kt&&(Bt=Dr(Mr,Lr(Yr,sr-Rr*kt)),Or=Dr(Mr,Lr(Yr,Er+Rr*kt))),Yt&&(yr=Dr(gr,Lr(wr,ar-Pr*Yt)),Fr=Dr(gr,Lr(wr,fr+Pr*Yt)));break}}Or0&&(sr=Bt-Rr),Yt<0?fr=Fr-Pr:Yt>0&&(ar=yr-Pr),Ft=pe,Pn.attr("cursor",kr.selection),en(qt));break}default:return}noevent(qt)}function Sf(qt){switch(qt.keyCode){case 16:{_n&&(te=re=_n=!1,en(qt));break}case 18:{Ft===vn&&(kt<0?Er=Or:kt>0&&(sr=Bt),Yt<0?fr=Fr:Yt>0&&(ar=yr),Ft=cn,en(qt));break}case 32:{Ft===pe&&(qt.altKey?(kt&&(Er=Or-Rr*kt,sr=Bt+Rr*kt),Yt&&(fr=Fr-Pr*Yt,ar=yr+Pr*Yt),Ft=vn):(kt<0?Er=Or:kt>0&&(sr=Bt),Yt<0?fr=Fr:Yt>0&&(ar=yr),Ft=cn),Pn.attr("cursor",kr[Gt]),en(qt));break}default:return}noevent(qt)}}function et(pt){H(this,arguments).moved(pt)}function zt(pt){H(this,arguments).ended(pt)}function or(){var pt=this.__brush||{selection:null};return pt.extent=ye(a.apply(this,arguments)),pt.dim=r,pt}return L.extent=function(pt){return arguments.length?(a=typeof pt=="function"?pt:constant(ye(pt)),L):a},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?(I=+pt,L):I},L.keyModifiers=function(pt){return arguments.length?(y=!!pt,L):y},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 a=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),y=T=>clearTimeout(T);return[a?r.requestAnimationFrame:d,a?r.cancelAnimationFrame:y,f?r.requestIdleCallback:d,f?r.cancelIdleCallback:y]}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,a,f)=>a in r?$u(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Oa=(r,a)=>{for(var f in a||(a={}))Bu.call(a,f)&&Ea(r,f,a[f]);if(Sa)for(var f of Sa(a))Uu.call(a,f)&&Ea(r,f,a[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,a,f){return Ta(r[a])?r[a]:f}function Gf(r,a){let f=!1;return Object.keys(r).forEach(d=>r[d]===a&&(f=!0)),f}function Vf(r,a,...f){const d=Se(r);return d&&r.call(a,...f),d}function Hf(r,a){let f=0;const d=function(...y){!--f&&a.apply(this,...y)};"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,a,f=[-1,1],d=!1){if(!(!r||!In(a)))if(a.indexOf(` `)===-1)r.text(a);else{const y=[r.text(),a].map(T=>T.replace(/[\s\n]/g,""));if(y[0]!==y[1]){const T=a.split(` -`),I=d?T.length-1:1;r.html(""),T.forEach((F,L)=>{r.append("tspan").attr("x",0).attr("dy",`${L===0?f[0]*I:f[1]}em`).text(F)})}}}function Gu(r){const{x:a,y:f,width:d,height:y}=r.getBBox();return[{x:a,y:f+y},{x:a,y:f},{x:a+d,y:f},{x:a+d,y:f+y}]}function Yf(r){const{width:a,height:f}=r.getBoundingClientRect(),d=Gu(r),y=d[0].x,T=Math.min(d[0].y,d[1].y);return{x:y,y:T,width:a,height:f}}function Kf(r,a){var f;const d=r&&((f=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:f[0]);let y=[0,0];try{y=d3Pointer(d||r,a)}catch(T){}return y.map(T=>isNaN(T)?0:T)}function Vu(r){const{event:a,$el:f}=r,d=f.subchart.main||f.main;let y;return a&&a.type==="brush"?y=a.selection:d&&(y=d.select(".bb-brush").node())&&(y=d3BrushSelection(y)),y}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,a=0,f=1e4){const d=window.crypto||window.msCrypto,y=d?a+d.getRandomValues(new Uint32Array(1))[0]%(f-a+1):Math.floor(Math.random()*(f-a)+a);return r?String(y):y}function Aa(r,a,f,d,y){if(f>d)return-1;const T=Math.floor((f+d)/2);let{x:I,w:F=0}=r[T];return y&&(I=r[T].y,F=r[T].h),a>=I&&a<=I+F?T:a{if(Jn(f)&&f.constructor){const d=new f.constructor;for(const y in f)d[y]=a(f[y]);return d}return f};return r.map(f=>a(f)).reduce((f,d)=>Oa(Oa({},f),d))}function Hu(r={},a){Te(a)&&a.forEach(f=>Hu(r,f));for(const f in a)/^\d+$/.test(f)||f in r||(r[f]=a[f]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,a="-"){return r.split(a).map((f,d)=>d?f.charAt(0).toUpperCase()+f.slice(1).toLowerCase():f.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,a,f){const{rootSelector:d="",sheet:y}=r,I=`${d} ${(F=>F.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${f.join(";")}}`;return y[y.insertRule?"insertRule":"addRule"](I,y.cssRules.length)}function tl(r){let a=[];return r.forEach(f=>{var d;try{f.cssRules&&f.cssRules.length&&(a=a.concat(Wu(f.cssRules)))}catch(y){(d=window.console)==null||d.warn(`Error while reading rules from ${f.href}: ${y.toString()}`)}}),a}function rl(r){var a,f,d,y,T,I;return{x:((f=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?f:0)+((d=r.scrollLeft)!=null?d:0),y:((T=(y=window.pageYOffset)!=null?y:window.scrollY)!=null?T:0)+((I=r.scrollTop)!=null?I:0)}}function nl(r,a=0,f=0,d=!0){const y=new DOMPoint(a,f),T=r.getScreenCTM();return y.matrixTransform(d?T==null?void 0:T.inverse():T)}function el(r){const a=r?r.transform:null,f=a&&a.baseVal;return f&&f.numberOfItems?f.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function al(r){const a=r[0]instanceof Date,f=(a?r.map(Number):r).filter((d,y,T)=>T.indexOf(d)===y);return a?f.map(d=>new Date(d)):f}function ol(r){return r&&r.length?r.reduce((a,f)=>a.concat(f)):[]}function Ie(r,...a){if(!a.length||a.length===1&&!a[0])return r;const f=a.shift();return Jn(r)&&Jn(f)&&Object.keys(f).forEach(d=>{const y=f[d];Jn(y)?(!r[d]&&(r[d]={}),r[d]=Ie(r[d],y)):r[d]=Te(y)?y.concat():y}),Ie(r,...a)}function zu(r,a=!0){let f;return r[0]instanceof Date?f=a?(d,y)=>d-y:(d,y)=>y-d:a&&!r.every(isNaN)?f=(d,y)=>d-y:a||(f=(d,y)=>d>y&&-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,a,f=1)=>{const d=[],y=Math.max(0,Math.ceil((a-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"),(a,f,d=r())=>{a.dispatchEvent(new MouseEvent(f,d))}}catch(a){return(f,d,y=r())=>{const T=Lu.createEvent("MouseEvent");T.initMouseEvent(d,y.bubbles,y.cancelable,Xn,0,y.screenX,y.screenY,y.clientX,y.clientY,!1,!1,!1,!1,0,null),f.dispatchEvent(T)}}})(),touch:(r,a,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(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function ul(r,a){let f=r;for(const d in a)f=f.replace(new RegExp(`{=${d}}`,"g"),a[d]);return f}function Ku(r){var a;let f;if(r instanceof Date)f=r;else if(In(r)){const{config:d,format:y}=this;f=(a=y.dataTime(d.data_xFormat)(r))!=null?a: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 fl(r){const a=r.attr("viewBox");return a?/(\d+(\.\d+)?){3}/.test(a):!1}function ll(r,a,f=!1){const d=!!r.node;let y=!1;for(const[T,I]of Object.entries(a))if(y=d?r.style(T)===I:r.style[T]===I,f===!1&&y)break;return y}function cl(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function vl(r,a){const{DocumentTouch:f,matchMedia:d,navigator:y}=window;let T=!1;if(a)if(y&&"maxTouchPoints"in y)T=y.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=y.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,a){a()===!1?requestAnimationFrame(()=>Xu(r,a)):r()}function Ju(r){const a=this.config;let f,d,y;const T=()=>{const I=d.shift();if(I&&f&&Oe(f)&&I in f)return f=f[I],T();if(!I)return f};Object.keys(a).forEach(I=>{f=r,d=I.split("_"),y=T(),Ta(y)&&(a[I]=y)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,a,f)=>a in r?Qu(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Ae=(r,a,f)=>Zu(r,typeof a!="symbol"?a+"":a,f);class Ra{constructor(a={}){Ae(this,"$$"),Ae(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}Ae(Ra,"version","3.13.0-nightly-20240921004638");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 a=>+r(a)}function rf(r,a){return a=Math.max(0,r.bandwidth()-a*2)/2,r.round()&&(a=Math.round(a)),f=>+r(f)+a}function nf(){return!this.__axis}function kn(r,a){var f=[],d=null,y=null,T=6,I=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 _(et){var zt=d==null?a.ticks?a.ticks.apply(a,f):a.domain():d,or=y==null?a.tickFormat?a.tickFormat.apply(a,f):ku:y,pt=Math.max(T,0)+F,Ct=a.range(),Gt=+Ct[0]+L,Ft=+Ct[Ct.length-1]+L,kt=(a.bandwidth?rf:tf)(a.copy(),L),Yt=et.selection?et.selection():et,pr=Yt.selectAll(".domain").data([null]),Sr=Yt.selectAll(".tick").data(zt,a).order(),cr=Sr.exit(),Mr=Sr.enter().append("g").attr("class","tick"),sr=Sr.select("line"),Bt=Sr.select("text");pr=pr.merge(pr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Sr=Sr.merge(Mr),sr=sr.merge(Mr.append("line").attr("stroke","currentColor").attr(H+"2",$*T)),Bt=Bt.merge(Mr.append("text").attr("fill","currentColor").attr(H,$*pt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),et!==Yt&&(pr=pr.transition(et),Sr=Sr.transition(et),sr=sr.transition(et),Bt=Bt.transition(et),cr=cr.transition(et).attr("opacity",Pa).attr("transform",function(gr){return isFinite(gr=kt(gr))?K(gr+L):this.getAttribute("transform")}),Mr.attr("opacity",Pa).attr("transform",function(gr){var ar=this.parentNode.__axis;return K((ar&&isFinite(ar=ar(gr))?ar:kt(gr))+L)})),cr.remove(),pr.attr("d",r===An||r===Zn?I?"M"+$*I+","+Gt+"H"+L+"V"+Ft+"H"+$*I:"M"+L+","+Gt+"V"+Ft:I?"M"+Gt+","+$*I+"V"+L+"H"+Ft+"V"+$*I:"M"+Gt+","+L+"H"+Ft),Sr.attr("opacity",1).attr("transform",function(gr){return K(kt(gr)+L)}),sr.attr(H+"2",$*T),Bt.attr(H,$*pt).text(or),Yt.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===An?"end":"middle"),Yt.each(function(){this.__axis=kt})}return _.scale=function(et){return arguments.length?(a=et,_):a},_.ticks=function(){return f=Array.from(arguments),_},_.tickArguments=function(et){return arguments.length?(f=et==null?[]:Array.from(et),_):f.slice()},_.tickValues=function(et){return arguments.length?(d=et==null?null:Array.from(et),_):d&&d.slice()},_.tickFormat=function(et){return arguments.length?(y=et,_):y},_.tickSize=function(et){return arguments.length?(T=I=+et,_):T},_.tickSizeInner=function(et){return arguments.length?(T=+et,_):T},_.tickSizeOuter=function(et){return arguments.length?(I=+et,_):I},_.tickPadding=function(et){return arguments.length?(F=+et,_):F},_.offset=function(et){return arguments.length?(L=+et,_):L},_}function dl(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function hl(r){return kn(Re,r)}function gl(r){return kn(An,r)}function Ca(r){return function(a){return Math.sign(a)*Math.log1p(Math.abs(a/r))}}function Ma(r){return function(a){return Math.sign(a)*Math.expm1(Math.abs(a))*r}}function af(r){var a=1,f=r(Ca(a),Ma(a));return f.constant=function(d){return arguments.length?r(Ca(a=+d),Ma(a)):a},ae(f)}function Na(){var r=af(jr());return r.copy=function(){return _r(r,Na()).constant(r.constant())},Jr.apply(r,arguments)}var Xr={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,a,f)=>a in r?of(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,ba=(r,a,f)=>sf(r,typeof a!="symbol"?a+"":a,f);class uf{constructor(a){ba(this,"owner"),ba(this,"colorScale"),this.owner=a}drawColorScale(){const{$$:a,config:f}=this.owner,d=a.data.targets[0],y=a.state.height-f.padding_bottom-f.padding_top,T=f.scale_width,I=5,F=Yu(f.padding_bottom,y,I),L=$e(d.colors).domain([F[F.length-1],F[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=a.$el.svg.append("g").attr("width",50).attr("height",y).attr("class",Xr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${f.padding_top})`).selectAll("bars").data(F).enter().append("rect").attr("y",(et,zt)=>zt*I).attr("x",0).attr("width",T).attr("height",I).attr("fill",et=>L(et));const $=Na().domain([d.minEpochs,d.maxEpochs]).range([F[0]+f.padding_top+F[F.length-1]+I-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 _=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${T},0)`).call(H);K==="pow10"&&_.selectAll(".tick text").text(null).filter(et=>et/Math.pow(10,Math.ceil(Math.log(et)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(et=>Math.round(Math.log(et)/Math.LN10)),this.colorScale.attr("transform",`translate(${a.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,a){const f=r.x,d=r.value;let y=!1;for(let T=0,I=a.length-1;Td!=H>d&&f<($-F)*(d-L)/(H-L)+F&&(y=!y)}return y}function lf(r,a){return r.epochsa.epochs?1:0}function cf(r){let a=0,f,d;for(let y=0,T=r.length,I=T-1;ya in r?vf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,hf=(r,a,f)=>df(r,typeof a!="symbol"?a+"":a,f);class gf{constructor(a){hf(this,"owner"),this.owner=a;const f=a.$$.$el.main.select(".bb-chart").append("g").attr("class",Xr.stanfordElements);f.append("g").attr("class",Xr.stanfordLines),f.append("g").attr("class",Xr.stanfordRegions)}updateStanfordLines(a){const{$$:f}=this.owner,{config:d,$el:{main:y}}=f,T=d.axis_rotated,I=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=y.select(`.${Xr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Xr.stanfordLine}`).data(this.owner.config.lines);L.exit().transition().duration(a).style("opacity","0").remove();const $=L.enter().append("g");$.append("line").style("opacity","0"),$.merge(L).attr("class",H=>Xr.stanfordLine+(H.class?` ${H.class}`:"")).select("line").transition().duration(a).attr("x1",H=>T?F(H,"y1"):I(H,"x1")).attr("x2",H=>T?F(H,"y2"):I(H,"x2")).attr("y1",H=>T?I(H,"x1"):F(H,"y1")).attr("y2",H=>T?I(H,"x2"):F(H,"y2")).transition().style("opacity",null)}updateStanfordRegions(a){const{$$:f}=this.owner,{config:d,$el:{main:y}}=f,T=d.axis_rotated,I=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=this.owner.countEpochsInRegion.bind(f);let $=y.select(`.${Xr.stanfordRegions}`).selectAll(`.${Xr.stanfordRegion}`).data(this.owner.config.regions);$.exit().transition().duration(a).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=>Xr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(a).attr("points",K=>K.points.map(_=>[T?F(_,"y"):I(_,"x"),T?I(_,"x"):F(_,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),$.select("text").transition().duration(a).attr("x",K=>T?F(qn(K.points),"y"):I(qn(K.points),"x")).attr("y",K=>T?I(qn(K.points),"x"):F(qn(K.points),"y")).text(K=>{if(K.text){const{value:_,percentage:et}=L(K.points);return K.text(_,et)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(a=0){this.updateStanfordLines(a),this.updateStanfordRegions(a)}xvCustom(a,f){const d=this,{axis:y,config:T}=d;let I=f?a[f]:d.getBaseValue(a);return y.isTimeSeries()?I=Ku.call(d,I):y.isCategorized()&&In(I)&&(I=T.axis_x_categories.indexOf(a.value)),Math.ceil(d.scale.x(I))}yvCustom(a,f){const d=this,y=a.axis&&a.axis==="y2"?d.scale.y2:d.scale.y,T=f?a[f]:d.getBaseValue(a);return Math.ceil(y(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,a,f)=>a in r?pf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Pe=(r,a,f)=>yf(r,typeof a!="symbol"?a+"":a,f);class mf extends Ra{constructor(a){return super(a),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Fa,this}$beforeInit(){const{$$:a}=this;a.config.data_xSort=!1,a.isMultipleX=()=>!0,a.showGridFocus=()=>{},a.labelishData=d=>d.values,a.opacityForCircle=()=>1;const f=a.getCurrentPadding.bind(a);a.getCurrentPadding=()=>{const d=f();return d.right+=this.colorScale?this.colorScale.getColorScalePadding():0,d}}$init(){const{$$:a}=this;Ju.call(this,this.options),a.color=this.getStanfordPointColor.bind(a),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),a.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(a){var f,d;(f=this.colorScale)==null||f.drawColorScale(),(d=this.elements)==null||d.updateStanfordElements(a)}getOptions(){return new Fa}convertData(){const a=this.$$.data.targets,f=this.options.epochs;a.forEach(d=>{d.values.forEach((y,T)=>{y.epochs=f[T]}),d.minEpochs=void 0,d.maxEpochs=void 0,d.colors=void 0,d.colorscale=void 0})}initStanfordData(){const{config:a}=this,f=this.$$.data.targets[0];f.values.sort(lf);const d=f.values.map(y=>y.epochs);f.minEpochs=isNaN(a.scale_min)?Math.min(...d):a.scale_min,f.maxEpochs=isNaN(a.scale_max)?Math.max(...d):a.scale_max,f.colors=Se(a.colors)?a.colors:Ut(rt(250,1,.5),rt(0,1,.5)),f.colorscale=Be(f.colors).domain([f.minEpochs,f.maxEpochs])}getStanfordPointColor(a){return this.data.targets[0].colorscale(a.epochs)}setStanfordTooltip(){const{config:a}=this.$$;Ia(a.tooltip_contents)&&(a.tooltip_contents=function(f,d,y,T){const{data_x:I}=a;let F=`
${a||""} ${o(g)}
`;return f.forEach(L=>{const{id:$="",value:H=0,epochs:K=0,x:_=""}=L;F+=` +`),I=d?T.length-1:1;r.html(""),T.forEach((F,L)=>{r.append("tspan").attr("x",0).attr("dy",`${L===0?f[0]*I:f[1]}em`).text(F)})}}}function Gu(r){const{x:a,y:f,width:d,height:y}=r.getBBox();return[{x:a,y:f+y},{x:a,y:f},{x:a+d,y:f},{x:a+d,y:f+y}]}function Yf(r){const{width:a,height:f}=r.getBoundingClientRect(),d=Gu(r),y=d[0].x,T=Math.min(d[0].y,d[1].y);return{x:y,y:T,width:a,height:f}}function Kf(r,a){var f;const d=r&&((f=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:f[0]);let y=[0,0];try{y=d3Pointer(d||r,a)}catch(T){}return y.map(T=>isNaN(T)?0:T)}function Vu(r){const{event:a,$el:f}=r,d=f.subchart.main||f.main;let y;return a&&a.type==="brush"?y=a.selection:d&&(y=d.select(".bb-brush").node())&&(y=d3BrushSelection(y)),y}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,a=0,f=1e4){const d=window.crypto||window.msCrypto,y=d?a+d.getRandomValues(new Uint32Array(1))[0]%(f-a+1):Math.floor(Math.random()*(f-a)+a);return r?String(y):y}function Aa(r,a,f,d,y){if(f>d)return-1;const T=Math.floor((f+d)/2);let{x:I,w:F=0}=r[T];return y&&(I=r[T].y,F=r[T].h),a>=I&&a<=I+F?T:a{if(Jn(f)&&f.constructor){const d=new f.constructor;for(const y in f)d[y]=a(f[y]);return d}return f};return r.map(f=>a(f)).reduce((f,d)=>Oa(Oa({},f),d))}function Hu(r={},a){Te(a)&&a.forEach(f=>Hu(r,f));for(const f in a)/^\d+$/.test(f)||f in r||(r[f]=a[f]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,a="-"){return r.split(a).map((f,d)=>d?f.charAt(0).toUpperCase()+f.slice(1).toLowerCase():f.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,a,f){const{rootSelector:d="",sheet:y}=r,I=`${d} ${(F=>F.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${f.join(";")}}`;return y[y.insertRule?"insertRule":"addRule"](I,y.cssRules.length)}function tl(r){let a=[];return r.forEach(f=>{var d;try{f.cssRules&&f.cssRules.length&&(a=a.concat(Wu(f.cssRules)))}catch(y){(d=window.console)==null||d.warn(`Error while reading rules from ${f.href}: ${y.toString()}`)}}),a}function rl(r){var a,f,d,y,T,I;return{x:((f=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?f:0)+((d=r.scrollLeft)!=null?d:0),y:((T=(y=window.pageYOffset)!=null?y:window.scrollY)!=null?T:0)+((I=r.scrollTop)!=null?I:0)}}function nl(r,a=0,f=0,d=!0){const y=new DOMPoint(a,f),T=r.getScreenCTM();return y.matrixTransform(d?T==null?void 0:T.inverse():T)}function el(r){const a=r?r.transform:null,f=a&&a.baseVal;return f&&f.numberOfItems?f.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function al(r){const a=r[0]instanceof Date,f=(a?r.map(Number):r).filter((d,y,T)=>T.indexOf(d)===y);return a?f.map(d=>new Date(d)):f}function ol(r){return r&&r.length?r.reduce((a,f)=>a.concat(f)):[]}function Ie(r,...a){if(!a.length||a.length===1&&!a[0])return r;const f=a.shift();return Jn(r)&&Jn(f)&&Object.keys(f).forEach(d=>{const y=f[d];Jn(y)?(!r[d]&&(r[d]={}),r[d]=Ie(r[d],y)):r[d]=Te(y)?y.concat():y}),Ie(r,...a)}function zu(r,a=!0){let f;return r[0]instanceof Date?f=a?(d,y)=>d-y:(d,y)=>y-d:a&&!r.every(isNaN)?f=(d,y)=>d-y:a||(f=(d,y)=>d>y&&-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,a,f=1)=>{const d=[],y=Math.max(0,Math.ceil((a-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"),(a,f,d=r())=>{a.dispatchEvent(new MouseEvent(f,d))}}catch(a){return(f,d,y=r())=>{const T=Lu.createEvent("MouseEvent");T.initMouseEvent(d,y.bubbles,y.cancelable,Xn,0,y.screenX,y.screenY,y.clientX,y.clientY,!1,!1,!1,!1,0,null),f.dispatchEvent(T)}}})(),touch:(r,a,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(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[d],targetTouches:[],changedTouches:[d]}))}};function ul(r,a){let f=r;for(const d in a)f=f.replace(new RegExp(`{=${d}}`,"g"),a[d]);return f}function Ku(r){var a;let f;if(r instanceof Date)f=r;else if(In(r)){const{config:d,format:y}=this;f=(a=y.dataTime(d.data_xFormat)(r))!=null?a: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 fl(r){const a=r.attr("viewBox");return a?/(\d+(\.\d+)?){3}/.test(a):!1}function ll(r,a,f=!1){const d=!!r.node;let y=!1;for(const[T,I]of Object.entries(a))if(y=d?r.style(T)===I:r.style[T]===I,f===!1&&y)break;return y}function cl(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function vl(r,a){const{DocumentTouch:f,matchMedia:d,navigator:y}=window;let T=!1;if(a)if(y&&"maxTouchPoints"in y)T=y.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=y.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,a){a()===!1?requestAnimationFrame(()=>Xu(r,a)):r()}function Ju(r){const a=this.config;let f,d,y;const T=()=>{const I=d.shift();if(I&&f&&Oe(f)&&I in f)return f=f[I],T();if(!I)return f};Object.keys(a).forEach(I=>{f=r,d=I.split("_"),y=T(),Ta(y)&&(a[I]=y)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,a,f)=>a in r?Qu(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Ae=(r,a,f)=>Zu(r,typeof a!="symbol"?a+"":a,f);class Ra{constructor(a={}){Ae(this,"$$"),Ae(this,"options"),this.options=a}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(a=>{this[a]=null,delete this[a]})}}Ae(Ra,"version","3.13.0-nightly-20240924004652");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 a=>+r(a)}function rf(r,a){return a=Math.max(0,r.bandwidth()-a*2)/2,r.round()&&(a=Math.round(a)),f=>+r(f)+a}function nf(){return!this.__axis}function kn(r,a){var f=[],d=null,y=null,T=6,I=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 _(et){var zt=d==null?a.ticks?a.ticks.apply(a,f):a.domain():d,or=y==null?a.tickFormat?a.tickFormat.apply(a,f):ku:y,pt=Math.max(T,0)+F,Ct=a.range(),Gt=+Ct[0]+L,Ft=+Ct[Ct.length-1]+L,kt=(a.bandwidth?rf:tf)(a.copy(),L),Yt=et.selection?et.selection():et,pr=Yt.selectAll(".domain").data([null]),Sr=Yt.selectAll(".tick").data(zt,a).order(),cr=Sr.exit(),Mr=Sr.enter().append("g").attr("class","tick"),sr=Sr.select("line"),Bt=Sr.select("text");pr=pr.merge(pr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Sr=Sr.merge(Mr),sr=sr.merge(Mr.append("line").attr("stroke","currentColor").attr(H+"2",$*T)),Bt=Bt.merge(Mr.append("text").attr("fill","currentColor").attr(H,$*pt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),et!==Yt&&(pr=pr.transition(et),Sr=Sr.transition(et),sr=sr.transition(et),Bt=Bt.transition(et),cr=cr.transition(et).attr("opacity",Pa).attr("transform",function(gr){return isFinite(gr=kt(gr))?K(gr+L):this.getAttribute("transform")}),Mr.attr("opacity",Pa).attr("transform",function(gr){var ar=this.parentNode.__axis;return K((ar&&isFinite(ar=ar(gr))?ar:kt(gr))+L)})),cr.remove(),pr.attr("d",r===An||r===Zn?I?"M"+$*I+","+Gt+"H"+L+"V"+Ft+"H"+$*I:"M"+L+","+Gt+"V"+Ft:I?"M"+Gt+","+$*I+"V"+L+"H"+Ft+"V"+$*I:"M"+Gt+","+L+"H"+Ft),Sr.attr("opacity",1).attr("transform",function(gr){return K(kt(gr)+L)}),sr.attr(H+"2",$*T),Bt.attr(H,$*pt).text(or),Yt.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===An?"end":"middle"),Yt.each(function(){this.__axis=kt})}return _.scale=function(et){return arguments.length?(a=et,_):a},_.ticks=function(){return f=Array.from(arguments),_},_.tickArguments=function(et){return arguments.length?(f=et==null?[]:Array.from(et),_):f.slice()},_.tickValues=function(et){return arguments.length?(d=et==null?null:Array.from(et),_):d&&d.slice()},_.tickFormat=function(et){return arguments.length?(y=et,_):y},_.tickSize=function(et){return arguments.length?(T=I=+et,_):T},_.tickSizeInner=function(et){return arguments.length?(T=+et,_):T},_.tickSizeOuter=function(et){return arguments.length?(I=+et,_):I},_.tickPadding=function(et){return arguments.length?(F=+et,_):F},_.offset=function(et){return arguments.length?(L=+et,_):L},_}function dl(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function hl(r){return kn(Re,r)}function gl(r){return kn(An,r)}function Ca(r){return function(a){return Math.sign(a)*Math.log1p(Math.abs(a/r))}}function Ma(r){return function(a){return Math.sign(a)*Math.expm1(Math.abs(a))*r}}function af(r){var a=1,f=r(Ca(a),Ma(a));return f.constant=function(d){return arguments.length?r(Ca(a=+d),Ma(a)):a},ae(f)}function Na(){var r=af(jr());return r.copy=function(){return _r(r,Na()).constant(r.constant())},Jr.apply(r,arguments)}var Xr={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,a,f)=>a in r?of(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,ba=(r,a,f)=>sf(r,typeof a!="symbol"?a+"":a,f);class uf{constructor(a){ba(this,"owner"),ba(this,"colorScale"),this.owner=a}drawColorScale(){const{$$:a,config:f}=this.owner,d=a.data.targets[0],y=a.state.height-f.padding_bottom-f.padding_top,T=f.scale_width,I=5,F=Yu(f.padding_bottom,y,I),L=$e(d.colors).domain([F[F.length-1],F[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=a.$el.svg.append("g").attr("width",50).attr("height",y).attr("class",Xr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${f.padding_top})`).selectAll("bars").data(F).enter().append("rect").attr("y",(et,zt)=>zt*I).attr("x",0).attr("width",T).attr("height",I).attr("fill",et=>L(et));const $=Na().domain([d.minEpochs,d.maxEpochs]).range([F[0]+f.padding_top+F[F.length-1]+I-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 _=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${T},0)`).call(H);K==="pow10"&&_.selectAll(".tick text").text(null).filter(et=>et/Math.pow(10,Math.ceil(Math.log(et)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(et=>Math.round(Math.log(et)/Math.LN10)),this.colorScale.attr("transform",`translate(${a.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,a){const f=r.x,d=r.value;let y=!1;for(let T=0,I=a.length-1;Td!=H>d&&f<($-F)*(d-L)/(H-L)+F&&(y=!y)}return y}function lf(r,a){return r.epochsa.epochs?1:0}function cf(r){let a=0,f,d;for(let y=0,T=r.length,I=T-1;ya in r?vf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,hf=(r,a,f)=>df(r,typeof a!="symbol"?a+"":a,f);class gf{constructor(a){hf(this,"owner"),this.owner=a;const f=a.$$.$el.main.select(".bb-chart").append("g").attr("class",Xr.stanfordElements);f.append("g").attr("class",Xr.stanfordLines),f.append("g").attr("class",Xr.stanfordRegions)}updateStanfordLines(a){const{$$:f}=this.owner,{config:d,$el:{main:y}}=f,T=d.axis_rotated,I=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=y.select(`.${Xr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Xr.stanfordLine}`).data(this.owner.config.lines);L.exit().transition().duration(a).style("opacity","0").remove();const $=L.enter().append("g");$.append("line").style("opacity","0"),$.merge(L).attr("class",H=>Xr.stanfordLine+(H.class?` ${H.class}`:"")).select("line").transition().duration(a).attr("x1",H=>T?F(H,"y1"):I(H,"x1")).attr("x2",H=>T?F(H,"y2"):I(H,"x2")).attr("y1",H=>T?I(H,"x1"):F(H,"y1")).attr("y2",H=>T?I(H,"x2"):F(H,"y2")).transition().style("opacity",null)}updateStanfordRegions(a){const{$$:f}=this.owner,{config:d,$el:{main:y}}=f,T=d.axis_rotated,I=this.xvCustom.bind(f),F=this.yvCustom.bind(f),L=this.owner.countEpochsInRegion.bind(f);let $=y.select(`.${Xr.stanfordRegions}`).selectAll(`.${Xr.stanfordRegion}`).data(this.owner.config.regions);$.exit().transition().duration(a).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=>Xr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(a).attr("points",K=>K.points.map(_=>[T?F(_,"y"):I(_,"x"),T?I(_,"x"):F(_,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),$.select("text").transition().duration(a).attr("x",K=>T?F(qn(K.points),"y"):I(qn(K.points),"x")).attr("y",K=>T?I(qn(K.points),"x"):F(qn(K.points),"y")).text(K=>{if(K.text){const{value:_,percentage:et}=L(K.points);return K.text(_,et)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(a=0){this.updateStanfordLines(a),this.updateStanfordRegions(a)}xvCustom(a,f){const d=this,{axis:y,config:T}=d;let I=f?a[f]:d.getBaseValue(a);return y.isTimeSeries()?I=Ku.call(d,I):y.isCategorized()&&In(I)&&(I=T.axis_x_categories.indexOf(a.value)),Math.ceil(d.scale.x(I))}yvCustom(a,f){const d=this,y=a.axis&&a.axis==="y2"?d.scale.y2:d.scale.y,T=f?a[f]:d.getBaseValue(a);return Math.ceil(y(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,a,f)=>a in r?pf(r,a,{enumerable:!0,configurable:!0,writable:!0,value:f}):r[a]=f,Pe=(r,a,f)=>yf(r,typeof a!="symbol"?a+"":a,f);class mf extends Ra{constructor(a){return super(a),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Fa,this}$beforeInit(){const{$$:a}=this;a.config.data_xSort=!1,a.isMultipleX=()=>!0,a.showGridFocus=()=>{},a.labelishData=d=>d.values,a.opacityForCircle=()=>1;const f=a.getCurrentPadding.bind(a);a.getCurrentPadding=()=>{const d=f();return d.right+=this.colorScale?this.colorScale.getColorScalePadding():0,d}}$init(){const{$$:a}=this;Ju.call(this,this.options),a.color=this.getStanfordPointColor.bind(a),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),a.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(a){var f,d;(f=this.colorScale)==null||f.drawColorScale(),(d=this.elements)==null||d.updateStanfordElements(a)}getOptions(){return new Fa}convertData(){const a=this.$$.data.targets,f=this.options.epochs;a.forEach(d=>{d.values.forEach((y,T)=>{y.epochs=f[T]}),d.minEpochs=void 0,d.maxEpochs=void 0,d.colors=void 0,d.colorscale=void 0})}initStanfordData(){const{config:a}=this,f=this.$$.data.targets[0];f.values.sort(lf);const d=f.values.map(y=>y.epochs);f.minEpochs=isNaN(a.scale_min)?Math.min(...d):a.scale_min,f.maxEpochs=isNaN(a.scale_max)?Math.max(...d):a.scale_max,f.colors=Se(a.colors)?a.colors:Ut(rt(250,1,.5),rt(0,1,.5)),f.colorscale=Be(f.colors).domain([f.minEpochs,f.maxEpochs])}getStanfordPointColor(a){return this.data.targets[0].colorscale(a.epochs)}setStanfordTooltip(){const{config:a}=this.$$;Ia(a.tooltip_contents)&&(a.tooltip_contents=function(f,d,y,T){const{data_x:I}=a;let F=`
`;return f.forEach(L=>{const{id:$="",value:H=0,epochs:K=0,x:_=""}=L;F+=` diff --git a/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js b/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js index 281fb9bbe..7ec064cce 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -22887,7 +22887,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 3f34b45d0..fe5bc49f5 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */(function(kr,$r){typeof exports=="object"&&typeof module=="object"?module.exports=$r():typeof define=="function"&&define.amd?define("bb",[],$r):typeof exports=="object"?exports.bb=$r():(kr.bb=kr.bb||{},kr.bb.plugin=kr.bb.plugin||{},kr.bb.plugin["tableview.pkgd"]=$r())})(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=Gt&&(Gt=Yt+1);!(rr=Et[Gt])&&++Gt=0;)(L=E[O])&&(M&&L.compareDocumentPosition(M)^4&&M.parentNode.insertBefore(L,M),M=L);return this}function Q(e){e||(e=X);function f(At,Mt){return At&&Mt?e(At.__data__,Mt.__data__):!At-!Mt}for(var h=this._groups,E=h.length,O=new Array(E),M=0;Mf?1:e>=f?0:NaN}function k(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Z(){return Array.from(this)}function ht(){for(var e=this._groups,f=0,h=e.length;f=0&&(f=e.slice(0,h))!=="xmlns"&&(e=e.slice(h+1)),Kt.hasOwnProperty(f)?{space:Kt[f],local:e}:e}function bt(e){return function(){this.removeAttribute(e)}}function vt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function mt(e,f){return function(){this.setAttribute(e,f)}}function Ft(e,f){return function(){this.setAttributeNS(e.space,e.local,f)}}function $t(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 jt(e,f){var h=Vt(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:bt:typeof f=="function"?h.local?Nt:$t:h.local?Ft:mt)(h,f))}function kt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function _t(e){return function(){this.style.removeProperty(e)}}function Xt(e,f,h){return function(){this.style.setProperty(e,f,h)}}function Ut(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?_t:typeof f=="function"?Ut:Xt)(e,f,h==null?"":h)):zt(this.node(),e)}function zt(e,f){return e.style.getPropertyValue(f)||kt(e).getComputedStyle(e,null).getPropertyValue(f)}function wt(e){return function(){delete this[e]}}function st(e,f){return function(){this[e]=f}}function dt(e,f){return function(){var h=f.apply(this,arguments);h==null?delete this[e]:this[e]=h}}function q(e,f){return arguments.length>1?this.each((f==null?wt:typeof f=="function"?dt:st)(e,f)):this.node()[e]}function Rt(e){return e.trim().split(/^|\s+/)}function Pt(e){return e.classList||new Ot(e)}function Ot(e){this._node=e,this._names=Rt(e.getAttribute("class")||"")}Ot.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 St(e,f){for(var h=Pt(e),E=-1,O=f.length;++E=0&&(h=f.slice(E+1),f=f.slice(0,E)),{type:f,name:h}})}function mr(e){return function(){var f=this.__on;if(f){for(var h=0,E=-1,O=f.length,M;h{}};function Nr(){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=Nr.prototype={constructor:it,on:function(e,f){var h=this._,E=lr(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;--Yr}function Me(){on=(Un=En.now())+Bn,Yr=Xr=0;try{Ea()}finally{Yr=0,Ta(),on=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(!Yr){Xr&&(Xr=clearTimeout(Xr));var f=e-on;f>24?(e<1/0&&(Xr=setTimeout(Me,e-En.now()-Bn)),xn&&(xn=clearInterval(xn))):(xn||(Un=En.now(),xn=setInterval(Oa,Pe)),Yr=1,Ce(Me))}}function Fe(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=[],De=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:De})}function fe(e,f){var h=wr(e,f);if(h.state>De)throw new Error("too late; already scheduled");return h}function Hr(e,f){var h=wr(e,f);if(h.state>wn)throw new Error("too late; already running");return h}function wr(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(_){h.state=Le,h.timer.restart(L,h.delay,h.time),h.delay<=_&&L(_-h.delay)}function L(_){var tt,At,Mt,Wt;if(h.state!==Le)return z();for(tt in E)if(Wt=E[tt],Wt.name===h.name){if(Wt.state===wn)return Fe(L);Wt.state===$e?(Wt.state=Gn,Wt.timer.stop(),Wt.on.call("interrupt",e,e.__data__,Wt.index,Wt.group),delete E[tt]):+ttie&&E.state180?tt+=360:tt-_>180&&(_+=360),Mt.push({i:At.push(O(At)+"rotate(",null,E)-2,x:tn(_,tt)})):tt&&At.push(O(At)+"rotate("+tt+E)}function V(_,tt,At,Mt){_!==tt?Mt.push({i:At.push(O(At)+"skewX(",null,E)-2,x:tn(_,tt)}):tt&&At.push(O(At)+"skewX("+tt+E)}function z(_,tt,At,Mt,Wt,fr){if(_!==At||tt!==Mt){var xr=Wt.push(O(Wt)+"scale(",null,",",null,")");fr.push({i:xr-4,x:tn(_,At)},{i:xr-2,x:tn(tt,Mt)})}else(At!==1||Mt!==1)&&Wt.push(O(Wt)+"scale("+At+","+Mt+")")}return function(_,tt){var At=[],Mt=[];return _=e(_),tt=e(tt),M(_.translateX,_.translateY,tt.translateX,tt.translateY,At,Mt),L(_.rotate,tt.rotate,At,Mt),V(_.skewX,tt.skewX,At,Mt),z(_.scaleX,_.scaleY,tt.scaleX,tt.scaleY,At,Mt),_=tt=null,function(Wt){for(var fr=-1,xr=Mt.length,Et;++fr>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 Dr(f[1],f[2],f[3],1):(f=ja.exec(e))?new Dr(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 Dr(NaN,NaN,NaN,0):null}function He(e){return new Dr(e>>16&255,e>>8&255,e&255,1)}function zn(e,f,h,E){return E<=0&&(e=f=h=NaN),new Dr(e,f,h,E)}function Ka(e){return e instanceof On||(e=An(e)),e?(e=e.rgb(),new Dr(e.r,e.g,e.b,e.opacity)):new Dr}function Kn(e,f,h,E){return arguments.length===1?Ka(e):new Dr(e,f,h,E==null?1:E)}function Dr(e,f,h,E){this.r=+e,this.g=+f,this.b=+h,this.opacity=+E}ce(Dr,Kn,je(On,{brighter(e){return e=e==null?Wn:Math.pow(Wn,e),new Dr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new Dr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Dr(sn(this.r),sn(this.g),sn(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`#${un(this.r)}${un(this.g)}${un(this.b)}`}function Ya(){return`#${un(this.r)}${un(this.g)}${un(this.b)}${un((isNaN(this.opacity)?1:this.opacity)*255)}`}function ze(){const e=Yn(this.opacity);return`${e===1?"rgb(":"rgba("}${sn(this.r)}, ${sn(this.g)}, ${sn(this.b)}${e===1?")":`, ${e})`}`}function Yn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function sn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function un(e){return e=sn(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 Gr(e,f,h,E)}function Ye(e){if(e instanceof Gr)return new Gr(e.h,e.s,e.l,e.opacity);if(e instanceof On||(e=An(e)),!e)return new Gr;if(e instanceof Gr)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,V=M-O,z=(M+O)/2;return V?(f===M?L=(h-E)/V+(h0&&z<1?0:L,new Gr(L,V,z,e.opacity)}function Xa(e,f,h,E){return arguments.length===1?Ye(e):new Gr(e,f,h,E==null?1:E)}function Gr(e,f,h,E){this.h=+e,this.s=+f,this.l=+h,this.opacity=+E}ce(Gr,Xa,je(On,{brighter(e){return e=e==null?Wn:Math.pow(Wn,e),new Gr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Tn:Math.pow(Tn,e),new Gr(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 Dr(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 Gr(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,V=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),V=h(O.g,M.g),z=h(O.b,M.b),_=ke(O.opacity,M.opacity);return function(tt){return O.r=L(tt),O.g=V(tt),O.b=z(tt),O.opacity=_(tt),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,V;for(L=0;Lh&&(M=f.slice(h,M),V[L]?V[L]+=M:V[++L]=M),(E=E[0])===(O=O[0])?V[L]?V[L]+=O:V[++L]=O:(V[++L]=null,z.push({i:L,x:tn(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:Hr;return function(){var L=M(this,e),V=L.on;V!==E&&(O=(E=V).copy()).on(f,h),L.on=O}}function Co(e,f){var h=this._id;return arguments.length<2?wr(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 Fo(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 pr=Jt.identifier;return Jt=pointer(Jt,Ht),Jt.point0=Jt.slice(),Jt.identifier=pr,Jt});interrupt(Ht);var Cn=tt(Ht,arguments,!0).beforestart();if(Yt==="overlay"){hr&&(Ae=!0);const Jt=[Lr[0],Lr[1]||Lr[0]];Mr.selection=hr=[[vr=e===Qn?Vr:Cr(Jt[0][0],Jt[1][0]),Er=e===Jn?rn:Cr(Jt[0][1],Jt[1][1])],[Tr=e===Qn?nn:Pr(Jt[0][0],Jt[1][0]),Ar=e===Jn?en:Pr(Jt[0][1],Jt[1][1])]],Lr.length>1&&fn(Et)}else vr=hr[0][0],Er=hr[0][1],Tr=hr[1][0],Ar=hr[1][1];Sr=vr,Or=Er,Ir=Tr,Rr=Ar;var ya=select(Ht).attr("pointer-events","none"),Nn=ya.selectAll(".overlay").attr("cursor",Zr[Yt]);if(Et.touches)Cn.moved=ma,Cn.ended=xa;else{var pa=select(Et.view).on("mousemove.brush",ma,!0).on("mouseup.brush",xa,!0);O&&pa.on("keydown.brush",js,!0).on("keyup.brush",ws,!0),dragDisable(Et.view)}_.call(Ht),Cn.start(Et,Gt.name);function ma(Jt){for(const pr of Jt.changedTouches||[Jt])for(const Mn of Lr)Mn.identifier===pr.identifier&&(Mn.cur=pointer(pr,Ht));if(re&&!ne&&!ee&&Lr.length===1){const pr=Lr[0];aa(pr.cur[0]-pr[0])>aa(pr.cur[1]-pr[1])?ee=!0:ne=!0}for(const pr of Lr)pr.cur&&(pr[0]=pr.cur[0],pr[1]=pr.cur[1]);Ae=!0,noevent(Jt),fn(Jt)}function fn(Jt){const pr=Lr[0],Mn=pr.point0;var an;switch(gr=pr[0]-Mn[0],yr=pr[1]-Mn[1],Gt){case ye:case ea:{tr&&(gr=Pr(Vr-vr,Cr(nn-Tr,gr)),Sr=vr+gr,Ir=Tr+gr),rr&&(yr=Pr(rn-Er,Cr(en-Ar,yr)),Or=Er+yr,Rr=Ar+yr);break}case cn:{Lr[1]?(tr&&(Sr=Pr(Vr,Cr(nn,Lr[0][0])),Ir=Pr(Vr,Cr(nn,Lr[1][0])),tr=1),rr&&(Or=Pr(rn,Cr(en,Lr[0][1])),Rr=Pr(rn,Cr(en,Lr[1][1])),rr=1)):(tr<0?(gr=Pr(Vr-vr,Cr(nn-vr,gr)),Sr=vr+gr,Ir=Tr):tr>0&&(gr=Pr(Vr-Tr,Cr(nn-Tr,gr)),Sr=vr,Ir=Tr+gr),rr<0?(yr=Pr(rn-Er,Cr(en-Er,yr)),Or=Er+yr,Rr=Ar):rr>0&&(yr=Pr(rn-Ar,Cr(en-Ar,yr)),Or=Er,Rr=Ar+yr));break}case dn:{tr&&(Sr=Pr(Vr,Cr(nn,vr-gr*tr)),Ir=Pr(Vr,Cr(nn,Tr+gr*tr))),rr&&(Or=Pr(rn,Cr(en,Er-yr*rr)),Rr=Pr(rn,Cr(en,Ar+yr*rr)));break}}Ir0&&(vr=Sr-gr),rr<0?Ar=Rr-yr:rr>0&&(Er=Or-yr),Gt=ye,Nn.attr("cursor",Zr.selection),fn(Jt));break}default:return}noevent(Jt)}function ws(Jt){switch(Jt.keyCode){case 16:{re&&(ne=ee=re=!1,fn(Jt));break}case 18:{Gt===dn&&(tr<0?Tr=Ir:tr>0&&(vr=Sr),rr<0?Ar=Rr:rr>0&&(Er=Or),Gt=cn,fn(Jt));break}case 32:{Gt===ye&&(Jt.altKey?(tr&&(Tr=Ir-gr*tr,vr=Sr+gr*tr),rr&&(Ar=Rr-yr*rr,Er=Or+yr*rr),Gt=dn):(tr<0?Tr=Ir:tr>0&&(vr=Sr),rr<0?Ar=Rr:rr>0&&(Er=Or),Gt=cn),Nn.attr("cursor",Zr[Yt]),fn(Jt));break}default:return}noevent(Jt)}}function Wt(Et){tt(this,arguments).moved(Et)}function fr(Et){tt(this,arguments).ended(Et)}function xr(){var Et=this.__brush||{selection:null};return Et.extent=pe(f.apply(this,arguments)),Et.dim=e,Et}return z.extent=function(Et){return arguments.length?(f=typeof Et=="function"?Et:constant(pe(Et)),z):f},z.filter=function(Et){return arguments.length?(h=typeof Et=="function"?Et:constant(!!Et),z):h},z.touchable=function(Et){return arguments.length?(E=typeof Et=="function"?Et:constant(!!Et),z):E},z.handleSize=function(Et){return arguments.length?(L=+Et,z):L},z.keyModifiers=function(Et){return arguments.length?(O=!!Et,z):O},z.on=function(){var Et=M.on.apply(M,arguments);return Et===M?z:Et},z}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((V,z)=>{e.append("tspan").attr("x",0).attr("dy",`${z===0?h[0]*L:h[1]}em`).text(V)})}}}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:V=0}=e[M];return O&&(L=e[M].y,V=e[M].h),f>=L&&f<=L+V?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} ${(V=>V.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,f=0,h=0,E=!0){const O=new DOMPoint(f,h),M=e.getScreenCTM();return O.matrixTransform(E?M==null?void 0:M.inverse():M)}function Oi(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 Ti(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 Ii(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 Ri=(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 Ci(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 Ni(e){const f=e.attr("viewBox");return f?/(\d+(\.\d+)?){3}/.test(f):!1}function Mi(e,f,h=!1){const E=!!e.node;let O=!1;for(const[M,L]of Object.entries(f))if(O=E?e.style(M)===L:e.style[M]===L,h===!1&&O)break;return O}function Fi(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function Di(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 V=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(V)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(V)}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.13.0-nightly-20240921004638");const hn={id:"__tableview-style__",class:"bb-tableview",rule:`.bb-tableview { +`),L=E?M.length-1:1;e.html(""),M.forEach((V,z)=>{e.append("tspan").attr("x",0).attr("dy",`${z===0?h[0]*L:h[1]}em`).text(V)})}}}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:V=0}=e[M];return O&&(L=e[M].y,V=e[M].h),f>=L&&f<=L+V?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} ${(V=>V.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,f=0,h=0,E=!0){const O=new DOMPoint(f,h),M=e.getScreenCTM();return O.matrixTransform(E?M==null?void 0:M.inverse():M)}function Oi(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 Ti(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 Ii(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 Ri=(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 Ci(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 Ni(e){const f=e.attr("viewBox");return f?/(\d+(\.\d+)?){3}/.test(f):!1}function Mi(e,f,h=!1){const E=!!e.node;let O=!1;for(const[M,L]of Object.entries(f))if(O=E?e.style(M)===L:e.style[M]===L,h===!1&&O)break;return O}function Fi(){var e,f;return((e=document)==null?void 0:e.hidden)===!1||((f=document)==null?void 0:f.visibilityState)==="visible"}function Di(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 V=O.userAgent;M=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(V)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(V)}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.13.0-nightly-20240924004652");const hn={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 323271d25..663853f90 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */ @@ -26327,7 +26327,7 @@ class Plugin { }); } } -__publicField(Plugin, "version", "3.13.0-nightly-20240921004638"); +__publicField(Plugin, "version", "3.13.0-nightly-20240924004652"); ;// 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 f18aa8bc3..060e2c973 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 * @requires billboard.js * @summary billboard.js plugin */(function(In,fn){typeof exports=="object"&&typeof module=="object"?module.exports=fn():typeof define=="function"&&define.amd?define("bb",[],fn):typeof exports=="object"?exports.bb=fn():(In.bb=In.bb||{},In.bb.plugin=In.bb.plugin||{},In.bb.plugin["textoverlap.pkgd"]=fn())})(this,function(){return function(){"use strict";var ia={65908:function(l,p,t){t.d(p,{default:function(){return Kl}});const n=11102230246251565e-32,e=134217729,o=(3+8*n)*n;function i(r,a,s,v,h){let m,x,O,P,R=a[0],C=v[0],U=0,b=0;C>R==C>-R?(m=R,R=a[++U]):(m=C,C=v[++b]);let F=0;if(UR==C>-R?(x=R+m,O=m-(x-R),R=a[++U]):(x=C+m,O=m-(x-C),C=v[++b]),m=x,O!==0&&(h[F++]=O);UR==C>-R?(x=m+R,P=x-m,O=m-(x-P)+(R-P),R=a[++U]):(x=m+C,P=x-m,O=m-(x-P)+(C-P),C=v[++b]),m=x,O!==0&&(h[F++]=O);for(;U=V||-Vt>=V||(U=r-ft,O=r-(ft+U)+(U-h),U=s-St,R=s-(St+U)+(U-h),U=a-Rt,P=a-(Rt+U)+(U-m),U=v-Nt,C=v-(Nt+U)+(U-m),O===0&&P===0&&R===0&&C===0)||(V=E*x+o*Math.abs(Vt),Vt+=ft*C+Nt*O-(Rt*R+St*P),Vt>=V||-Vt>=V))return Vt;ut=O*Nt,b=e*O,F=b-(b-O),Z=O-F,b=e*Nt,D=b-(b-Nt),j=Nt-D,rt=Z*j-(ut-F*D-Z*D-F*j),xt=P*St,b=e*P,F=b-(b-P),Z=P-F,b=e*St,D=b-(b-St),j=St-D,it=Z*j-(xt-F*D-Z*D-F*j),H=rt-it,U=rt-H,N[0]=rt-(H+U)+(U-it),Q=ut+H,U=Q-ut,J=ut-(Q-U)+(H-U),H=J-xt,U=J-H,N[1]=J-(H+U)+(U-xt),vt=Q+H,U=vt-Q,N[2]=Q-(vt-U)+(H-U),N[3]=vt;const _=i(4,T,4,N,A);ut=ft*C,b=e*ft,F=b-(b-ft),Z=ft-F,b=e*C,D=b-(b-C),j=C-D,rt=Z*j-(ut-F*D-Z*D-F*j),xt=Rt*R,b=e*Rt,F=b-(b-Rt),Z=Rt-F,b=e*R,D=b-(b-R),j=R-D,it=Z*j-(xt-F*D-Z*D-F*j),H=rt-it,U=rt-H,N[0]=rt-(H+U)+(U-it),Q=ut+H,U=Q-ut,J=ut-(Q-U)+(H-U),H=J-xt,U=J-H,N[1]=J-(H+U)+(U-xt),vt=Q+H,U=vt-Q,N[2]=Q-(vt-U)+(H-U),N[3]=vt;const q=i(_,A,4,N,I);ut=O*C,b=e*O,F=b-(b-O),Z=O-F,b=e*C,D=b-(b-C),j=C-D,rt=Z*j-(ut-F*D-Z*D-F*j),xt=P*R,b=e*P,F=b-(b-P),Z=P-F,b=e*R,D=b-(b-R),j=R-D,it=Z*j-(xt-F*D-Z*D-F*j),H=rt-it,U=rt-H,N[0]=rt-(H+U)+(U-it),Q=ut+H,U=Q-ut,J=ut-(Q-U)+(H-U),H=J-xt,U=J-H,N[1]=J-(H+U)+(U-xt),vt=Q+H,U=vt-Q,N[2]=Q-(vt-U)+(H-U),N[3]=vt;const dt=i(q,I,4,N,M);return M[dt-1]}function $(r,a,s,v,h,m){const x=(a-m)*(s-h),O=(r-h)*(v-m),P=x-O,R=Math.abs(x+O);return Math.abs(P)>=y*R?P:-L(r,a,s,v,h,m,R)}function G(r,a,s,v,h,m){return(a-m)*(s-h)-(r-h)*(v-m)}const B=(7+56*n)*n,w=(3+28*n)*n,W=(26+288*n)*n*n,X=d(4),z=d(4),k=d(4),ot=d(4),st=d(4),tt=d(4),et=d(4),at=d(4),gt=d(4),Pt=d(8),It=d(8),Mt=d(8),Tt=d(4),qt=d(8),Qt=d(8),Jt=d(8),er=d(12);let ir=d(192),Ar=d(192);function xr(r,a,s){r=sum(r,ir,a,s,Ar);const v=ir;return ir=Ar,Ar=v,r}function Er(r,a,s,v,h,m,x,O){let P,R,C,U,b,F,Z,D,j,H,Q,J,ut,rt,xt,it;return r===0?a===0?(x[0]=0,O[0]=0,1):(it=-a,Q=it*s,R=splitter*it,C=R-(R-it),U=it-C,R=splitter*s,b=R-(R-s),F=s-b,x[0]=U*F-(Q-C*b-U*b-C*F),x[1]=Q,Q=a*h,R=splitter*a,C=R-(R-a),U=a-C,R=splitter*h,b=R-(R-h),F=h-b,O[0]=U*F-(Q-C*b-U*b-C*F),O[1]=Q,2):a===0?(Q=r*v,R=splitter*r,C=R-(R-r),U=r-C,R=splitter*v,b=R-(R-v),F=v-b,x[0]=U*F-(Q-C*b-U*b-C*F),x[1]=Q,it=-r,Q=it*m,R=splitter*it,C=R-(R-it),U=it-C,R=splitter*m,b=R-(R-m),F=m-b,O[0]=U*F-(Q-C*b-U*b-C*F),O[1]=Q,2):(Q=r*v,R=splitter*r,C=R-(R-r),U=r-C,R=splitter*v,b=R-(R-v),F=v-b,J=U*F-(Q-C*b-U*b-C*F),ut=a*s,R=splitter*a,C=R-(R-a),U=a-C,R=splitter*s,b=R-(R-s),F=s-b,rt=U*F-(ut-C*b-U*b-C*F),Z=J-rt,P=J-Z,x[0]=J-(Z+P)+(P-rt),D=Q+Z,P=D-Q,H=Q-(D-P)+(Z-P),Z=H-ut,P=H-Z,x[1]=H-(Z+P)+(P-ut),xt=D+Z,P=xt-D,x[2]=D-(xt-P)+(Z-P),x[3]=xt,Q=a*h,R=splitter*a,C=R-(R-a),U=a-C,R=splitter*h,b=R-(R-h),F=h-b,J=U*F-(Q-C*b-U*b-C*F),ut=r*m,R=splitter*r,C=R-(R-r),U=r-C,R=splitter*m,b=R-(R-m),F=m-b,rt=U*F-(ut-C*b-U*b-C*F),Z=J-rt,P=J-Z,O[0]=J-(Z+P)+(P-rt),D=Q+Z,P=D-Q,H=Q-(D-P)+(Z-P),Z=H-ut,P=H-Z,O[1]=H-(Z+P)+(P-ut),xt=D+Z,P=xt-D,O[2]=D-(xt-P)+(Z-P),O[3]=xt,4)}function Yt(r,a,s,v,h){let m,x,O,P,R,C,U,b,F,Z,D,j,H;return D=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-(D-O*R-P*R-O*C),x=splitter*v,R=x-(x-v),C=v-R,U=j*v,x=splitter*j,O=x-(x-j),P=j-O,Tt[0]=P*C-(U-O*R-P*R-O*C),b=D*v,x=splitter*D,O=x-(x-D),P=D-O,Z=P*C-(b-O*R-P*R-O*C),F=U+Z,m=F-U,Tt[1]=U-(F-m)+(Z-m),H=b+F,Tt[2]=F-(H-b),Tt[3]=H,r=xr(r,4,Tt),h!==0&&(x=splitter*h,R=x-(x-h),C=h-R,U=j*h,x=splitter*j,O=x-(x-j),P=j-O,Tt[0]=P*C-(U-O*R-P*R-O*C),b=D*h,x=splitter*D,O=x-(x-D),P=D-O,Z=P*C-(b-O*R-P*R-O*C),F=U+Z,m=F-U,Tt[1]=U-(F-m)+(Z-m),H=b+F,Tt[2]=F-(H-b),Tt[3]=H,r=xr(r,4,Tt)),r}function tr(r,a,s,v,h,m,x,O,P,R,C,U,b){let F,Z,D,j,H,Q,J,ut,rt,xt,it,vt,ft,St,Rt,Nt,Vt,V,_,q,dt,K,nt,Y,ct;const pt=r-R,Ot=v-R,Et=x-R,bt=a-C,Zt=h-C,Ft=O-C,nr=s-U,or=m-U,sr=P-U;dt=Ot*Ft,vt=splitter*Ot,ft=vt-(vt-Ot),St=Ot-ft,vt=splitter*Ft,Rt=vt-(vt-Ft),Nt=Ft-Rt,K=St*Nt-(dt-ft*Rt-St*Rt-ft*Nt),nt=Et*Zt,vt=splitter*Et,ft=vt-(vt-Et),St=Et-ft,vt=splitter*Zt,Rt=vt-(vt-Zt),Nt=Zt-Rt,Y=St*Nt-(nt-ft*Rt-St*Rt-ft*Nt),Vt=K-Y,it=K-Vt,X[0]=K-(Vt+it)+(it-Y),V=dt+Vt,it=V-dt,q=dt-(V-it)+(Vt-it),Vt=q-nt,it=q-Vt,X[1]=q-(Vt+it)+(it-nt),ct=V+Vt,it=ct-V,X[2]=V-(ct-it)+(Vt-it),X[3]=ct,dt=Et*bt,vt=splitter*Et,ft=vt-(vt-Et),St=Et-ft,vt=splitter*bt,Rt=vt-(vt-bt),Nt=bt-Rt,K=St*Nt-(dt-ft*Rt-St*Rt-ft*Nt),nt=pt*Ft,vt=splitter*pt,ft=vt-(vt-pt),St=pt-ft,vt=splitter*Ft,Rt=vt-(vt-Ft),Nt=Ft-Rt,Y=St*Nt-(nt-ft*Rt-St*Rt-ft*Nt),Vt=K-Y,it=K-Vt,z[0]=K-(Vt+it)+(it-Y),V=dt+Vt,it=V-dt,q=dt-(V-it)+(Vt-it),Vt=q-nt,it=q-Vt,z[1]=q-(Vt+it)+(it-nt),ct=V+Vt,it=ct-V,z[2]=V-(ct-it)+(Vt-it),z[3]=ct,dt=pt*Zt,vt=splitter*pt,ft=vt-(vt-pt),St=pt-ft,vt=splitter*Zt,Rt=vt-(vt-Zt),Nt=Zt-Rt,K=St*Nt-(dt-ft*Rt-St*Rt-ft*Nt),nt=Ot*bt,vt=splitter*Ot,ft=vt-(vt-Ot),St=Ot-ft,vt=splitter*bt,Rt=vt-(vt-bt),Nt=bt-Rt,Y=St*Nt-(nt-ft*Rt-St*Rt-ft*Nt),Vt=K-Y,it=K-Vt,k[0]=K-(Vt+it)+(it-Y),V=dt+Vt,it=V-dt,q=dt-(V-it)+(Vt-it),Vt=q-nt,it=q-Vt,k[1]=q-(Vt+it)+(it-nt),ct=V+Vt,it=ct-V,k[2]=V-(ct-it)+(Vt-it),k[3]=ct,F=sum(sum(scale(4,X,nr,qt),qt,scale(4,z,or,Qt),Qt,Jt),Jt,scale(4,k,sr,qt),qt,ir);let ur=estimate(F,ir),lr=w*b;if(ur>=lr||-ur>=lr||(it=r-pt,Z=r-(pt+it)+(it-R),it=v-Ot,D=v-(Ot+it)+(it-R),it=x-Et,j=x-(Et+it)+(it-R),it=a-bt,H=a-(bt+it)+(it-C),it=h-Zt,Q=h-(Zt+it)+(it-C),it=O-Ft,J=O-(Ft+it)+(it-C),it=s-nr,ut=s-(nr+it)+(it-U),it=m-or,rt=m-(or+it)+(it-U),it=P-sr,xt=P-(sr+it)+(it-U),Z===0&&D===0&&j===0&&H===0&&Q===0&&J===0&&ut===0&&rt===0&&xt===0)||(lr=W*b+resulterrbound*Math.abs(ur),ur+=nr*(Ot*J+Ft*D-(Zt*j+Et*Q))+ut*(Ot*Ft-Zt*Et)+or*(Et*H+bt*j-(Ft*Z+pt*J))+rt*(Et*bt-Ft*pt)+sr*(pt*Q+Zt*Z-(bt*D+Ot*H))+xt*(pt*Zt-bt*Ot),ur>=lr||-ur>=lr))return ur;const fr=Er(Z,H,Ot,Zt,Et,Ft,ot,st),Lr=Er(D,Q,Et,Ft,pt,bt,tt,et),$r=Er(j,J,pt,bt,Ot,Zt,at,gt),Mr=sum(Lr,tt,$r,gt,Pt);F=xr(F,scale(Mr,Pt,nr,Jt),Jt);const _t=sum($r,at,fr,st,It);F=xr(F,scale(_t,It,or,Jt),Jt);const Fr=sum(fr,ot,Lr,et,Mt);return F=xr(F,scale(Fr,Mt,sr,Jt),Jt),ut!==0&&(F=xr(F,scale(4,X,ut,er),er),F=xr(F,scale(Mr,Pt,ut,Jt),Jt)),rt!==0&&(F=xr(F,scale(4,z,rt,er),er),F=xr(F,scale(_t,It,rt,Jt),Jt)),xt!==0&&(F=xr(F,scale(4,k,xt,er),er),F=xr(F,scale(Fr,Mt,xt,Jt),Jt)),Z!==0&&(Q!==0&&(F=Yt(F,Z,Q,sr,xt)),J!==0&&(F=Yt(F,-Z,J,or,rt))),D!==0&&(J!==0&&(F=Yt(F,D,J,nr,ut)),H!==0&&(F=Yt(F,-D,H,sr,xt))),j!==0&&(H!==0&&(F=Yt(F,j,H,or,rt)),Q!==0&&(F=Yt(F,-j,Q,nr,ut))),ir[F-1]}function Sr(r,a,s,v,h,m,x,O,P,R,C,U){const b=r-R,F=v-R,Z=x-R,D=a-C,j=h-C,H=O-C,Q=s-U,J=m-U,ut=P-U,rt=F*H,xt=Z*j,it=Z*D,vt=b*H,ft=b*j,St=F*D,Rt=Q*(rt-xt)+J*(it-vt)+ut*(ft-St),Nt=(Math.abs(rt)+Math.abs(xt))*Math.abs(Q)+(Math.abs(it)+Math.abs(vt))*Math.abs(J)+(Math.abs(ft)+Math.abs(St))*Math.abs(ut),Vt=B*Nt;return Rt>Vt||-Rt>Vt?Rt:tr(r,a,s,v,h,m,x,O,P,R,C,U,Nt)}function Tr(r,a,s,v,h,m,x,O,P,R,C,U){const b=r-R,F=v-R,Z=x-R,D=a-C,j=h-C,H=O-C,Q=s-U,J=m-U,ut=P-U;return b*(j*ut-J*H)+F*(H*Q-ut*D)+Z*(D*J-Q*j)}const pr=(10+96*n)*n,Ir=(4+48*n)*n,Ur=(44+576*n)*n*n,br=d(4),Pr=d(4),mr=d(4),Nr=d(4),Or=d(4),yr=d(4),$t=d(4),Ht=d(4),Dt=d(8),cr=d(8),vr=d(8),ar=d(8),rr=d(8),jr=d(8),wr=d(8),yt=d(8),jt=d(8),Gt=d(4),Bt=d(4),zt=d(4),lt=d(8),Ut=d(16),gr=d(16),Ct=d(16),Lt=d(32),kt=d(32),Wt=d(48),dr=d(64);let Dr=d(1152),Br=d(1152);function Rr(r,a,s){r=sum(r,Dr,a,s,Br);const v=Dr;return Dr=Br,Br=v,r}function Qr(r,a,s,v,h,m,x,O,P){let R,C,U,b,F,Z,D,j,H,Q,J,ut,rt,xt,it,vt,ft,St,Rt,Nt,Vt,V,_,q,dt,K,nt,Y,ct,pt,Ot,Et,bt,Zt,Ft;const nr=r-x,or=s-x,sr=h-x,ur=a-O,lr=v-O,fr=m-O;Ot=or*fr,_=splitter*or,q=_-(_-or),dt=or-q,_=splitter*fr,K=_-(_-fr),nt=fr-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=sr*lr,_=splitter*sr,q=_-(_-sr),dt=sr-q,_=splitter*lr,K=_-(_-lr),nt=lr-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et-Zt,V=Et-Y,br[0]=Et-(Y+V)+(V-Zt),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt-bt,V=pt-Y,br[1]=pt-(Y+V)+(V-bt),Ft=ct+Y,V=Ft-ct,br[2]=ct-(Ft-V)+(Y-V),br[3]=Ft,Ot=sr*ur,_=splitter*sr,q=_-(_-sr),dt=sr-q,_=splitter*ur,K=_-(_-ur),nt=ur-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=nr*fr,_=splitter*nr,q=_-(_-nr),dt=nr-q,_=splitter*fr,K=_-(_-fr),nt=fr-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et-Zt,V=Et-Y,Pr[0]=Et-(Y+V)+(V-Zt),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt-bt,V=pt-Y,Pr[1]=pt-(Y+V)+(V-bt),Ft=ct+Y,V=Ft-ct,Pr[2]=ct-(Ft-V)+(Y-V),Pr[3]=Ft,Ot=nr*lr,_=splitter*nr,q=_-(_-nr),dt=nr-q,_=splitter*lr,K=_-(_-lr),nt=lr-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=or*ur,_=splitter*or,q=_-(_-or),dt=or-q,_=splitter*ur,K=_-(_-ur),nt=ur-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et-Zt,V=Et-Y,mr[0]=Et-(Y+V)+(V-Zt),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt-bt,V=pt-Y,mr[1]=pt-(Y+V)+(V-bt),Ft=ct+Y,V=Ft-ct,mr[2]=ct-(Ft-V)+(Y-V),mr[3]=Ft,R=sum(sum(sum(scale(scale(4,br,nr,lt),lt,nr,Ut),Ut,scale(scale(4,br,ur,lt),lt,ur,gr),gr,Lt),Lt,sum(scale(scale(4,Pr,or,lt),lt,or,Ut),Ut,scale(scale(4,Pr,lr,lt),lt,lr,gr),gr,kt),kt,dr),dr,sum(scale(scale(4,mr,sr,lt),lt,sr,Ut),Ut,scale(scale(4,mr,fr,lt),lt,fr,gr),gr,Lt),Lt,Dr);let Lr=estimate(R,Dr),$r=Ir*P;if(Lr>=$r||-Lr>=$r||(V=r-nr,C=r-(nr+V)+(V-x),V=a-ur,F=a-(ur+V)+(V-O),V=s-or,U=s-(or+V)+(V-x),V=v-lr,Z=v-(lr+V)+(V-O),V=h-sr,b=h-(sr+V)+(V-x),V=m-fr,D=m-(fr+V)+(V-O),C===0&&U===0&&b===0&&F===0&&Z===0&&D===0)||($r=Ur*P+resulterrbound*Math.abs(Lr),Lr+=(nr*nr+ur*ur)*(or*D+fr*U-(lr*b+sr*Z))+2*(nr*C+ur*F)*(or*fr-lr*sr)+((or*or+lr*lr)*(sr*F+ur*b-(fr*C+nr*D))+2*(or*U+lr*Z)*(sr*ur-fr*nr))+((sr*sr+fr*fr)*(nr*Z+lr*C-(ur*U+or*F))+2*(sr*b+fr*D)*(nr*lr-ur*or)),Lr>=$r||-Lr>=$r))return Lr;if((U!==0||Z!==0||b!==0||D!==0)&&(Ot=nr*nr,_=splitter*nr,q=_-(_-nr),dt=nr-q,Et=dt*dt-(Ot-q*q-(q+q)*dt),bt=ur*ur,_=splitter*ur,q=_-(_-ur),dt=ur-q,Zt=dt*dt-(bt-q*q-(q+q)*dt),Y=Et+Zt,V=Y-Et,Nr[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,Nr[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,Nr[2]=ct-(Ft-V)+(Y-V),Nr[3]=Ft),(b!==0||D!==0||C!==0||F!==0)&&(Ot=or*or,_=splitter*or,q=_-(_-or),dt=or-q,Et=dt*dt-(Ot-q*q-(q+q)*dt),bt=lr*lr,_=splitter*lr,q=_-(_-lr),dt=lr-q,Zt=dt*dt-(bt-q*q-(q+q)*dt),Y=Et+Zt,V=Y-Et,Or[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,Or[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,Or[2]=ct-(Ft-V)+(Y-V),Or[3]=Ft),(C!==0||F!==0||U!==0||Z!==0)&&(Ot=sr*sr,_=splitter*sr,q=_-(_-sr),dt=sr-q,Et=dt*dt-(Ot-q*q-(q+q)*dt),bt=fr*fr,_=splitter*fr,q=_-(_-fr),dt=fr-q,Zt=dt*dt-(bt-q*q-(q+q)*dt),Y=Et+Zt,V=Y-Et,yr[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,yr[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,yr[2]=ct-(Ft-V)+(Y-V),yr[3]=Ft),C!==0&&(j=scale(4,br,C,Dt),R=Rr(R,sum_three(scale(j,Dt,2*nr,Ut),Ut,scale(scale(4,yr,C,lt),lt,lr,gr),gr,scale(scale(4,Or,C,lt),lt,-fr,Ct),Ct,Lt,Wt),Wt)),F!==0&&(H=scale(4,br,F,cr),R=Rr(R,sum_three(scale(H,cr,2*ur,Ut),Ut,scale(scale(4,Or,F,lt),lt,sr,gr),gr,scale(scale(4,yr,F,lt),lt,-or,Ct),Ct,Lt,Wt),Wt)),U!==0&&(Q=scale(4,Pr,U,vr),R=Rr(R,sum_three(scale(Q,vr,2*or,Ut),Ut,scale(scale(4,Nr,U,lt),lt,fr,gr),gr,scale(scale(4,yr,U,lt),lt,-ur,Ct),Ct,Lt,Wt),Wt)),Z!==0&&(J=scale(4,Pr,Z,ar),R=Rr(R,sum_three(scale(J,ar,2*lr,Ut),Ut,scale(scale(4,yr,Z,lt),lt,nr,gr),gr,scale(scale(4,Nr,Z,lt),lt,-sr,Ct),Ct,Lt,Wt),Wt)),b!==0&&(ut=scale(4,mr,b,rr),R=Rr(R,sum_three(scale(ut,rr,2*sr,Ut),Ut,scale(scale(4,Or,b,lt),lt,ur,gr),gr,scale(scale(4,Nr,b,lt),lt,-lr,Ct),Ct,Lt,Wt),Wt)),D!==0&&(rt=scale(4,mr,D,jr),R=Rr(R,sum_three(scale(rt,jr,2*fr,Ut),Ut,scale(scale(4,Nr,D,lt),lt,or,gr),gr,scale(scale(4,Or,D,lt),lt,-nr,Ct),Ct,Lt,Wt),Wt)),C!==0||F!==0){if(U!==0||Z!==0||b!==0||D!==0?(Ot=U*fr,_=splitter*U,q=_-(_-U),dt=U-q,_=splitter*fr,K=_-(_-fr),nt=fr-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=or*D,_=splitter*or,q=_-(_-or),dt=or-q,_=splitter*D,K=_-(_-D),nt=D-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et+Zt,V=Y-Et,$t[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,$t[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,$t[2]=ct-(Ft-V)+(Y-V),$t[3]=Ft,Ot=b*-lr,_=splitter*b,q=_-(_-b),dt=b-q,_=splitter*-lr,K=_-(_- -lr),nt=-lr-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=sr*-Z,_=splitter*sr,q=_-(_-sr),dt=sr-q,_=splitter*-Z,K=_-(_- -Z),nt=-Z-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et+Zt,V=Y-Et,Ht[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,Ht[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,Ht[2]=ct-(Ft-V)+(Y-V),Ht[3]=Ft,it=sum(4,$t,4,Ht,yt),Ot=U*D,_=splitter*U,q=_-(_-U),dt=U-q,_=splitter*D,K=_-(_-D),nt=D-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=b*Z,_=splitter*b,q=_-(_-b),dt=b-q,_=splitter*Z,K=_-(_-Z),nt=Z-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et-Zt,V=Et-Y,Bt[0]=Et-(Y+V)+(V-Zt),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt-bt,V=pt-Y,Bt[1]=pt-(Y+V)+(V-bt),Ft=ct+Y,V=Ft-ct,Bt[2]=ct-(Ft-V)+(Y-V),Bt[3]=Ft,St=4):(yt[0]=0,it=1,Bt[0]=0,St=1),C!==0){const Mr=scale(it,yt,C,Ct);R=Rr(R,sum(scale(j,Dt,C,Ut),Ut,scale(Mr,Ct,2*nr,Lt),Lt,Wt),Wt);const _t=scale(St,Bt,C,lt);R=Rr(R,sum_three(scale(_t,lt,2*nr,Ut),Ut,scale(_t,lt,C,gr),gr,scale(Mr,Ct,C,Lt),Lt,kt,dr),dr),Z!==0&&(R=Rr(R,scale(scale(4,yr,C,lt),lt,Z,Ut),Ut)),D!==0&&(R=Rr(R,scale(scale(4,Or,-C,lt),lt,D,Ut),Ut))}if(F!==0){const Mr=scale(it,yt,F,Ct);R=Rr(R,sum(scale(H,cr,F,Ut),Ut,scale(Mr,Ct,2*ur,Lt),Lt,Wt),Wt);const _t=scale(St,Bt,F,lt);R=Rr(R,sum_three(scale(_t,lt,2*ur,Ut),Ut,scale(_t,lt,F,gr),gr,scale(Mr,Ct,F,Lt),Lt,kt,dr),dr)}}if(U!==0||Z!==0){if(b!==0||D!==0||C!==0||F!==0?(Ot=b*ur,_=splitter*b,q=_-(_-b),dt=b-q,_=splitter*ur,K=_-(_-ur),nt=ur-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=sr*F,_=splitter*sr,q=_-(_-sr),dt=sr-q,_=splitter*F,K=_-(_-F),nt=F-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et+Zt,V=Y-Et,$t[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,$t[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,$t[2]=ct-(Ft-V)+(Y-V),$t[3]=Ft,Nt=-fr,Vt=-D,Ot=C*Nt,_=splitter*C,q=_-(_-C),dt=C-q,_=splitter*Nt,K=_-(_-Nt),nt=Nt-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=nr*Vt,_=splitter*nr,q=_-(_-nr),dt=nr-q,_=splitter*Vt,K=_-(_-Vt),nt=Vt-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et+Zt,V=Y-Et,Ht[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,Ht[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,Ht[2]=ct-(Ft-V)+(Y-V),Ht[3]=Ft,vt=sum(4,$t,4,Ht,jt),Ot=b*F,_=splitter*b,q=_-(_-b),dt=b-q,_=splitter*F,K=_-(_-F),nt=F-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=C*D,_=splitter*C,q=_-(_-C),dt=C-q,_=splitter*D,K=_-(_-D),nt=D-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et-Zt,V=Et-Y,zt[0]=Et-(Y+V)+(V-Zt),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt-bt,V=pt-Y,zt[1]=pt-(Y+V)+(V-bt),Ft=ct+Y,V=Ft-ct,zt[2]=ct-(Ft-V)+(Y-V),zt[3]=Ft,Rt=4):(jt[0]=0,vt=1,zt[0]=0,Rt=1),U!==0){const Mr=scale(vt,jt,U,Ct);R=Rr(R,sum(scale(Q,vr,U,Ut),Ut,scale(Mr,Ct,2*or,Lt),Lt,Wt),Wt);const _t=scale(Rt,zt,U,lt);R=Rr(R,sum_three(scale(_t,lt,2*or,Ut),Ut,scale(_t,lt,U,gr),gr,scale(Mr,Ct,U,Lt),Lt,kt,dr),dr),D!==0&&(R=Rr(R,scale(scale(4,Nr,U,lt),lt,D,Ut),Ut)),F!==0&&(R=Rr(R,scale(scale(4,yr,-U,lt),lt,F,Ut),Ut))}if(Z!==0){const Mr=scale(vt,jt,Z,Ct);R=Rr(R,sum(scale(J,ar,Z,Ut),Ut,scale(Mr,Ct,2*lr,Lt),Lt,Wt),Wt);const _t=scale(Rt,zt,Z,lt);R=Rr(R,sum_three(scale(_t,lt,2*lr,Ut),Ut,scale(_t,lt,Z,gr),gr,scale(Mr,Ct,Z,Lt),Lt,kt,dr),dr)}}if(b!==0||D!==0){if(C!==0||F!==0||U!==0||Z!==0?(Ot=C*lr,_=splitter*C,q=_-(_-C),dt=C-q,_=splitter*lr,K=_-(_-lr),nt=lr-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=nr*Z,_=splitter*nr,q=_-(_-nr),dt=nr-q,_=splitter*Z,K=_-(_-Z),nt=Z-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et+Zt,V=Y-Et,$t[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,$t[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,$t[2]=ct-(Ft-V)+(Y-V),$t[3]=Ft,Nt=-ur,Vt=-F,Ot=U*Nt,_=splitter*U,q=_-(_-U),dt=U-q,_=splitter*Nt,K=_-(_-Nt),nt=Nt-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=or*Vt,_=splitter*or,q=_-(_-or),dt=or-q,_=splitter*Vt,K=_-(_-Vt),nt=Vt-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et+Zt,V=Y-Et,Ht[0]=Et-(Y-V)+(Zt-V),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt+bt,V=Y-pt,Ht[1]=pt-(Y-V)+(bt-V),Ft=ct+Y,V=Ft-ct,Ht[2]=ct-(Ft-V)+(Y-V),Ht[3]=Ft,xt=sum(4,$t,4,Ht,wr),Ot=C*Z,_=splitter*C,q=_-(_-C),dt=C-q,_=splitter*Z,K=_-(_-Z),nt=Z-K,Et=dt*nt-(Ot-q*K-dt*K-q*nt),bt=U*F,_=splitter*U,q=_-(_-U),dt=U-q,_=splitter*F,K=_-(_-F),nt=F-K,Zt=dt*nt-(bt-q*K-dt*K-q*nt),Y=Et-Zt,V=Et-Y,Gt[0]=Et-(Y+V)+(V-Zt),ct=Ot+Y,V=ct-Ot,pt=Ot-(ct-V)+(Y-V),Y=pt-bt,V=pt-Y,Gt[1]=pt-(Y+V)+(V-bt),Ft=ct+Y,V=Ft-ct,Gt[2]=ct-(Ft-V)+(Y-V),Gt[3]=Ft,ft=4):(wr[0]=0,xt=1,Gt[0]=0,ft=1),b!==0){const Mr=scale(xt,wr,b,Ct);R=Rr(R,sum(scale(ut,rr,b,Ut),Ut,scale(Mr,Ct,2*sr,Lt),Lt,Wt),Wt);const _t=scale(ft,Gt,b,lt);R=Rr(R,sum_three(scale(_t,lt,2*sr,Ut),Ut,scale(_t,lt,b,gr),gr,scale(Mr,Ct,b,Lt),Lt,kt,dr),dr),F!==0&&(R=Rr(R,scale(scale(4,Or,b,lt),lt,F,Ut),Ut)),Z!==0&&(R=Rr(R,scale(scale(4,Nr,-b,lt),lt,Z,Ut),Ut))}if(D!==0){const Mr=scale(xt,wr,D,Ct);R=Rr(R,sum(scale(rt,jr,D,Ut),Ut,scale(Mr,Ct,2*fr,Lt),Lt,Wt),Wt);const _t=scale(ft,Gt,D,lt);R=Rr(R,sum_three(scale(_t,lt,2*fr,Ut),Ut,scale(_t,lt,D,gr),gr,scale(Mr,Ct,D,Lt),Lt,kt,dr),dr)}}return Dr[R-1]}function tn(r,a,s,v,h,m,x,O){const P=r-x,R=s-x,C=h-x,U=a-O,b=v-O,F=m-O,Z=R*F,D=C*b,j=P*P+U*U,H=C*U,Q=P*F,J=R*R+b*b,ut=P*b,rt=R*U,xt=C*C+F*F,it=j*(Z-D)+J*(H-Q)+xt*(ut-rt),vt=(Math.abs(Z)+Math.abs(D))*j+(Math.abs(H)+Math.abs(Q))*J+(Math.abs(ut)+Math.abs(rt))*xt,ft=pr*vt;return it>ft||-it>ft?it:Qr(r,a,s,v,h,m,x,O,vt)}function dn(r,a,s,v,h,m,x,O){const P=r-x,R=a-O,C=s-x,U=v-O,b=h-x,F=m-O,Z=P*U-C*R,D=C*F-b*U,j=b*R-P*F,H=P*P+R*R,Q=C*C+U*U,J=b*b+F*F;return H*D+Q*j+J*Z}const Kn=(16+224*n)*n,oe=(5+72*n)*n,Yn=(71+1408*n)*n*n,Zr=d(4),Wr=d(4),an=d(4),un=d(4),rn=d(4),nn=d(4),kr=d(4),Yr=d(4),Vr=d(4),mn=d(4),Ln=d(24),mt=d(24),Xt=d(24),At=d(24),ht=d(24),wt=d(24),Cr=d(24),hr=d(24),Hr=d(24),zr=d(24),Xr=d(1152),en=d(1152),Kt=d(1152),Jr=d(1152),cn=d(1152),Cn=d(2304),$n=d(2304),zn=d(3456),Un=d(5760),ua=d(8),la=d(8),fa=d(8),Mo=d(16),se=d(24),An=d(48),Le=d(48),ie=d(96),Mn=d(192),ca=d(384),va=d(384),da=d(384),No=d(768);function hn(r,a,s,v,h,m,x){return sum_three(scale(4,r,v,ua),ua,scale(4,a,h,la),la,scale(4,s,m,fa),fa,Mo,x)}function Xn(r,a,s,v,h,m,x,O,P,R,C,U){const b=sum(sum(r,a,s,v,An),An,negate(sum(h,m,x,O,Le),Le),Le,ie);return sum_three(scale(scale(b,ie,P,Mn),Mn,P,ca),ca,scale(scale(b,ie,R,Mn),Mn,R,va),va,scale(scale(b,ie,C,Mn),Mn,C,da),da,No,U)}function Fo(r,a,s,v,h,m,x,O,P,R,C,U,b,F,Z){let D,j,H,Q,J,ut,rt,xt,it,vt,ft,St,Rt,Nt;vt=r*h,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*h,J=j-(j-h),ut=h-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=v*a,j=splitter*v,H=j-(j-v),Q=v-H,j=splitter*a,J=j-(j-a),ut=a-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,Zr[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,Zr[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,Zr[2]=xt-(Nt-D)+(rt-D),Zr[3]=Nt,vt=v*O,j=splitter*v,H=j-(j-v),Q=v-H,j=splitter*O,J=j-(j-O),ut=O-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=x*h,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*h,J=j-(j-h),ut=h-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,Wr[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,Wr[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,Wr[2]=xt-(Nt-D)+(rt-D),Wr[3]=Nt,vt=x*C,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*C,J=j-(j-C),ut=C-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=R*O,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*O,J=j-(j-O),ut=O-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,an[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,an[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,an[2]=xt-(Nt-D)+(rt-D),an[3]=Nt,vt=R*F,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*F,J=j-(j-F),ut=F-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=b*C,j=splitter*b,H=j-(j-b),Q=b-H,j=splitter*C,J=j-(j-C),ut=C-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,un[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,un[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,un[2]=xt-(Nt-D)+(rt-D),un[3]=Nt,vt=b*a,j=splitter*b,H=j-(j-b),Q=b-H,j=splitter*a,J=j-(j-a),ut=a-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=r*F,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*F,J=j-(j-F),ut=F-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,rn[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,rn[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,rn[2]=xt-(Nt-D)+(rt-D),rn[3]=Nt,vt=r*O,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*O,J=j-(j-O),ut=O-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=x*a,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*a,J=j-(j-a),ut=a-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,nn[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,nn[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,nn[2]=xt-(Nt-D)+(rt-D),nn[3]=Nt,vt=v*C,j=splitter*v,H=j-(j-v),Q=v-H,j=splitter*C,J=j-(j-C),ut=C-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=R*h,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*h,J=j-(j-h),ut=h-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,kr[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,kr[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,kr[2]=xt-(Nt-D)+(rt-D),kr[3]=Nt,vt=x*F,j=splitter*x,H=j-(j-x),Q=x-H,j=splitter*F,J=j-(j-F),ut=F-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=b*O,j=splitter*b,H=j-(j-b),Q=b-H,j=splitter*O,J=j-(j-O),ut=O-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,Yr[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,Yr[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,Yr[2]=xt-(Nt-D)+(rt-D),Yr[3]=Nt,vt=R*a,j=splitter*R,H=j-(j-R),Q=R-H,j=splitter*a,J=j-(j-a),ut=a-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=r*C,j=splitter*r,H=j-(j-r),Q=r-H,j=splitter*C,J=j-(j-C),ut=C-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,Vr[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,Vr[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,Vr[2]=xt-(Nt-D)+(rt-D),Vr[3]=Nt,vt=b*h,j=splitter*b,H=j-(j-b),Q=b-H,j=splitter*h,J=j-(j-h),ut=h-J,ft=Q*ut-(vt-H*J-Q*J-H*ut),St=v*F,j=splitter*v,H=j-(j-v),Q=v-H,j=splitter*F,J=j-(j-F),ut=F-J,Rt=Q*ut-(St-H*J-Q*J-H*ut),rt=ft-Rt,D=ft-rt,mn[0]=ft-(rt+D)+(D-Rt),xt=vt+rt,D=xt-vt,it=vt-(xt-D)+(rt-D),rt=it-St,D=it-rt,mn[1]=it-(rt+D)+(D-St),Nt=xt+rt,D=Nt-xt,mn[2]=xt-(Nt-D)+(rt-D),mn[3]=Nt;const Vt=hn(Zr,Wr,nn,P,s,-m,Ln),V=hn(Wr,an,kr,U,m,-P,mt),_=hn(an,un,Yr,Z,P,-U,Xt),q=hn(un,rn,Vr,s,U,-Z,At),dt=hn(rn,Zr,mn,m,Z,-s,ht),K=hn(Zr,kr,Vr,U,s,m,wt),nt=hn(Wr,Yr,mn,Z,m,P,Cr),Y=hn(an,Vr,nn,s,P,U,hr),ct=hn(un,mn,kr,m,U,Z,Hr),pt=hn(rn,nn,Yr,P,Z,s,zr),Ot=sum_three(Xn(_,Xt,nt,Cr,ct,Hr,V,mt,r,a,s,Xr),Xr,Xn(q,At,Y,hr,pt,zr,_,Xt,v,h,m,en),en,sum_three(Xn(dt,ht,ct,Hr,K,wt,q,At,x,O,P,Kt),Kt,Xn(Vt,Ln,pt,zr,nt,Cr,dt,ht,R,C,U,Jr),Jr,Xn(V,mt,K,wt,Y,hr,Vt,Ln,b,F,Z,cn),cn,$n,zn),zn,Cn,Un);return Un[Ot-1]}const ha=d(96),ga=d(96),pa=d(96),ya=d(1152);function ue(r,a,s,v,h,m,x,O,P,R){const C=hn(r,a,s,v,h,m,se);return sum_three(scale(scale(C,se,x,An),An,x,ha),ha,scale(scale(C,se,O,An),An,O,ga),ga,scale(scale(C,se,P,An),An,P,pa),pa,Mn,R)}function Do(r,a,s,v,h,m,x,O,P,R,C,U,b,F,Z,D){let j,H,Q,J,ut,rt,xt,it,vt,ft,St,Rt,Nt,Vt,V,_,q,dt,K,nt,Y,ct,pt,Ot,Et,bt,Zt,Ft,nr,or,sr;const ur=r-b,lr=v-b,fr=x-b,Lr=R-b,$r=a-F,Mr=h-F,_t=O-F,Fr=C-F,Kr=s-Z,Gr=m-Z,qr=P-Z,_r=U-Z;Ft=ur*Mr,nt=splitter*ur,Y=nt-(nt-ur),ct=ur-Y,nt=splitter*Mr,pt=nt-(nt-Mr),Ot=Mr-pt,nr=ct*Ot-(Ft-Y*pt-ct*pt-Y*Ot),or=lr*$r,nt=splitter*lr,Y=nt-(nt-lr),ct=lr-Y,nt=splitter*$r,pt=nt-(nt-$r),Ot=$r-pt,sr=ct*Ot-(or-Y*pt-ct*pt-Y*Ot),Et=nr-sr,K=nr-Et,Zr[0]=nr-(Et+K)+(K-sr),bt=Ft+Et,K=bt-Ft,Zt=Ft-(bt-K)+(Et-K),Et=Zt-or,K=Zt-Et,Zr[1]=Zt-(Et+K)+(K-or),j=bt+Et,K=j-bt,Zr[2]=bt-(j-K)+(Et-K),Zr[3]=j,Ft=lr*_t,nt=splitter*lr,Y=nt-(nt-lr),ct=lr-Y,nt=splitter*_t,pt=nt-(nt-_t),Ot=_t-pt,nr=ct*Ot-(Ft-Y*pt-ct*pt-Y*Ot),or=fr*Mr,nt=splitter*fr,Y=nt-(nt-fr),ct=fr-Y,nt=splitter*Mr,pt=nt-(nt-Mr),Ot=Mr-pt,sr=ct*Ot-(or-Y*pt-ct*pt-Y*Ot),Et=nr-sr,K=nr-Et,Wr[0]=nr-(Et+K)+(K-sr),bt=Ft+Et,K=bt-Ft,Zt=Ft-(bt-K)+(Et-K),Et=Zt-or,K=Zt-Et,Wr[1]=Zt-(Et+K)+(K-or),H=bt+Et,K=H-bt,Wr[2]=bt-(H-K)+(Et-K),Wr[3]=H,Ft=fr*Fr,nt=splitter*fr,Y=nt-(nt-fr),ct=fr-Y,nt=splitter*Fr,pt=nt-(nt-Fr),Ot=Fr-pt,nr=ct*Ot-(Ft-Y*pt-ct*pt-Y*Ot),or=Lr*_t,nt=splitter*Lr,Y=nt-(nt-Lr),ct=Lr-Y,nt=splitter*_t,pt=nt-(nt-_t),Ot=_t-pt,sr=ct*Ot-(or-Y*pt-ct*pt-Y*Ot),Et=nr-sr,K=nr-Et,an[0]=nr-(Et+K)+(K-sr),bt=Ft+Et,K=bt-Ft,Zt=Ft-(bt-K)+(Et-K),Et=Zt-or,K=Zt-Et,an[1]=Zt-(Et+K)+(K-or),Q=bt+Et,K=Q-bt,an[2]=bt-(Q-K)+(Et-K),an[3]=Q,Ft=Lr*$r,nt=splitter*Lr,Y=nt-(nt-Lr),ct=Lr-Y,nt=splitter*$r,pt=nt-(nt-$r),Ot=$r-pt,nr=ct*Ot-(Ft-Y*pt-ct*pt-Y*Ot),or=ur*Fr,nt=splitter*ur,Y=nt-(nt-ur),ct=ur-Y,nt=splitter*Fr,pt=nt-(nt-Fr),Ot=Fr-pt,sr=ct*Ot-(or-Y*pt-ct*pt-Y*Ot),Et=nr-sr,K=nr-Et,Vr[0]=nr-(Et+K)+(K-sr),bt=Ft+Et,K=bt-Ft,Zt=Ft-(bt-K)+(Et-K),Et=Zt-or,K=Zt-Et,Vr[1]=Zt-(Et+K)+(K-or),J=bt+Et,K=J-bt,Vr[2]=bt-(J-K)+(Et-K),Vr[3]=J,Ft=ur*_t,nt=splitter*ur,Y=nt-(nt-ur),ct=ur-Y,nt=splitter*_t,pt=nt-(nt-_t),Ot=_t-pt,nr=ct*Ot-(Ft-Y*pt-ct*pt-Y*Ot),or=fr*$r,nt=splitter*fr,Y=nt-(nt-fr),ct=fr-Y,nt=splitter*$r,pt=nt-(nt-$r),Ot=$r-pt,sr=ct*Ot-(or-Y*pt-ct*pt-Y*Ot),Et=nr-sr,K=nr-Et,nn[0]=nr-(Et+K)+(K-sr),bt=Ft+Et,K=bt-Ft,Zt=Ft-(bt-K)+(Et-K),Et=Zt-or,K=Zt-Et,nn[1]=Zt-(Et+K)+(K-or),ut=bt+Et,K=ut-bt,nn[2]=bt-(ut-K)+(Et-K),nn[3]=ut,Ft=lr*Fr,nt=splitter*lr,Y=nt-(nt-lr),ct=lr-Y,nt=splitter*Fr,pt=nt-(nt-Fr),Ot=Fr-pt,nr=ct*Ot-(Ft-Y*pt-ct*pt-Y*Ot),or=Lr*Mr,nt=splitter*Lr,Y=nt-(nt-Lr),ct=Lr-Y,nt=splitter*Mr,pt=nt-(nt-Mr),Ot=Mr-pt,sr=ct*Ot-(or-Y*pt-ct*pt-Y*Ot),Et=nr-sr,K=nr-Et,kr[0]=nr-(Et+K)+(K-sr),bt=Ft+Et,K=bt-Ft,Zt=Ft-(bt-K)+(Et-K),Et=Zt-or,K=Zt-Et,kr[1]=Zt-(Et+K)+(K-or),rt=bt+Et,K=rt-bt,kr[2]=bt-(rt-K)+(Et-K),kr[3]=rt;const De=sum(sum(negate(ue(Wr,an,kr,_r,Gr,-qr,ur,$r,Kr,Xr),Xr),Xr,ue(an,Vr,nn,Kr,qr,_r,lr,Mr,Gr,en),en,Cn),Cn,sum(negate(ue(Vr,Zr,kr,Gr,_r,Kr,fr,_t,qr,Kt),Kt),Kt,ue(Zr,Wr,nn,qr,Kr,-Gr,Lr,Fr,_r,Jr),Jr,$n),$n,ya);let vn=estimate(De,ya),Pn=oe*D;if(vn>=Pn||-vn>=Pn||(K=r-ur,xt=r-(ur+K)+(K-b),K=a-$r,St=a-($r+K)+(K-F),K=s-Kr,V=s-(Kr+K)+(K-Z),K=v-lr,it=v-(lr+K)+(K-b),K=h-Mr,Rt=h-(Mr+K)+(K-F),K=m-Gr,_=m-(Gr+K)+(K-Z),K=x-fr,vt=x-(fr+K)+(K-b),K=O-_t,Nt=O-(_t+K)+(K-F),K=P-qr,q=P-(qr+K)+(K-Z),K=R-Lr,ft=R-(Lr+K)+(K-b),K=C-Fr,Vt=C-(Fr+K)+(K-F),K=U-_r,dt=U-(_r+K)+(K-Z),xt===0&&St===0&&V===0&&it===0&&Rt===0&&_===0&&vt===0&&Nt===0&&q===0&&ft===0&&Vt===0&&dt===0))return vn;Pn=Yn*D+resulterrbound*Math.abs(vn);const Oo=ur*Rt+Mr*xt-($r*it+lr*St),Io=lr*Nt+_t*it-(Mr*vt+fr*Rt),Ao=fr*Vt+Fr*vt-(_t*ft+Lr*Nt),Ro=Lr*St+$r*ft-(Fr*xt+ur*Vt),Po=ur*Nt+_t*xt-($r*vt+fr*St),Co=lr*Vt+Fr*it-(Mr*ft+Lr*Rt);return vn+=(lr*lr+Mr*Mr+Gr*Gr)*(qr*Ro+_r*Po+Kr*Ao+(q*J+dt*ut+V*Q))+(Lr*Lr+Fr*Fr+_r*_r)*(Kr*Io-Gr*Po+qr*Oo+(V*H-_*ut+q*j))-((ur*ur+$r*$r+Kr*Kr)*(Gr*Ao-qr*Co+_r*Io+(_*Q-q*rt+dt*H))+(fr*fr+_t*_t+qr*qr)*(_r*Oo+Kr*Co+Gr*Ro+(dt*j+V*rt+_*J)))+2*((lr*it+Mr*Rt+Gr*_)*(qr*J+_r*ut+Kr*Q)+(Lr*ft+Fr*Vt+_r*dt)*(Kr*H-Gr*ut+qr*j)-((ur*xt+$r*St+Kr*V)*(Gr*Q-qr*rt+_r*H)+(fr*vt+_t*Nt+qr*q)*(_r*j+Kr*rt+Gr*J))),vn>=Pn||-vn>=Pn?vn:Fo(r,a,s,v,h,m,x,O,P,R,C,U,b,F,Z)}function Yl(r,a,s,v,h,m,x,O,P,R,C,U,b,F,Z){const D=r-b,j=v-b,H=x-b,Q=R-b,J=a-F,ut=h-F,rt=O-F,xt=C-F,it=s-Z,vt=m-Z,ft=P-Z,St=U-Z,Rt=D*ut,Nt=j*J,Vt=Rt-Nt,V=j*rt,_=H*ut,q=V-_,dt=H*xt,K=Q*rt,nt=dt-K,Y=Q*J,ct=D*xt,pt=Y-ct,Ot=D*rt,Et=H*J,bt=Ot-Et,Zt=j*xt,Ft=Q*ut,nr=Zt-Ft,or=D*D+J*J+it*it,sr=j*j+ut*ut+vt*vt,ur=H*H+rt*rt+ft*ft,lr=Q*Q+xt*xt+St*St,fr=ur*(St*Vt+it*nr+vt*pt)-lr*(it*q-vt*bt+ft*Vt)+(or*(vt*nt-ft*nr+St*q)-sr*(ft*pt+St*bt+it*nt)),Lr=Math.abs(it),$r=Math.abs(vt),Mr=Math.abs(ft),_t=Math.abs(St),Fr=Math.abs(Rt)+Math.abs(Nt),Kr=Math.abs(V)+Math.abs(_),Gr=Math.abs(dt)+Math.abs(K),qr=Math.abs(Y)+Math.abs(ct),_r=Math.abs(Ot)+Math.abs(Et),De=Math.abs(Zt)+Math.abs(Ft),vn=(Gr*$r+De*Mr+Kr*_t)*or+(qr*Mr+_r*_t+Gr*Lr)*sr+(Fr*_t+De*Lr+qr*$r)*ur+(Kr*Lr+_r*$r+Fr*Mr)*lr,Pn=Kn*vn;return fr>Pn||-fr>Pn?fr:-Do(r,a,s,v,h,m,x,O,P,R,C,U,b,F,Z,vn)}function zl(r,a,s,v,h,m,x,O,P,R,C,U,b,F,Z){const D=r-b,j=v-b,H=x-b,Q=R-b,J=a-F,ut=h-F,rt=O-F,xt=C-F,it=s-Z,vt=m-Z,ft=P-Z,St=U-Z,Rt=D*ut-j*J,Nt=j*rt-H*ut,Vt=H*xt-Q*rt,V=Q*J-D*xt,_=D*rt-H*J,q=j*xt-Q*ut,dt=it*Nt-vt*_+ft*Rt,K=vt*Vt-ft*q+St*Nt,nt=ft*V+St*_+it*Vt,Y=St*Rt+it*q+vt*V,ct=D*D+J*J+it*it,pt=j*j+ut*ut+vt*vt,Ot=H*H+rt*rt+ft*ft,Et=Q*Q+xt*xt+St*St;return Ot*Y-Et*dt+(ct*K-pt*nt)}const ma=Math.pow(2,-52),le=new Uint32Array(512);class fe{static from(a,s=Bo,v=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 v=Math.max(2*s-5,0);this._triangles=new Uint32Array(v*3),this._halfedges=new Int32Array(v*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:v,_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=St),Rt>C&&(C=Rt),this._ids[ft]=ft}const U=(O+R)/2,b=(P+C)/2;let F,Z,D;for(let ft=0,St=1/0;ft0&&(Z=ft,St=Rt)}let Q=a[2*Z],J=a[2*Z+1],ut=1/0;for(let ft=0;ftNt&&(ft[St++]=Vt,Nt=V)}this.hull=ft.subarray(0,St),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if($(j,H,Q,J,rt,xt)<0){const ft=Z,St=Q,Rt=J;Z=D,Q=rt,J=xt,D=ft,rt=St,xt=Rt}const it=Uo(j,H,Q,J,rt,xt);this._cx=it.x,this._cy=it.y;for(let ft=0;ft0&&Math.abs(Vt-St)<=ma&&Math.abs(V-Rt)<=ma||(St=Vt,Rt=V,Nt===F||Nt===Z||Nt===D))continue;let _=0;for(let Y=0,ct=this._hashKey(Vt,V);Y=0;)if(q=dt,q===_){q=-1;break}if(q===-1)continue;let K=this._addTriangle(q,Nt,v[q],-1,-1,h[q]);h[Nt]=this._legalize(K+2),h[q]=K,vt++;let nt=v[q];for(;dt=v[nt],$(Vt,V,a[2*nt],a[2*nt+1],a[2*dt],a[2*dt+1])<0;)K=this._addTriangle(nt,Nt,dt,h[Nt],-1,h[nt]),h[Nt]=this._legalize(K+2),v[nt]=nt,vt--,nt=dt;if(q===_)for(;dt=s[q],$(Vt,V,a[2*dt],a[2*dt+1],a[2*q],a[2*q+1])<0;)K=this._addTriangle(dt,Nt,q,-1,h[q],h[dt]),this._legalize(K+2),h[dt]=K,v[q]=q,vt--,q=dt;this._hullStart=s[Nt]=q,v[q]=s[nt]=Nt,v[Nt]=nt,m[this._hashKey(Vt,V)]=Nt,m[this._hashKey(a[2*q],a[2*q+1])]=q}this.hull=new Uint32Array(vt);for(let ft=0,St=this._hullStart;ft0?3-s:1+s)/4}function $e(r,a,s,v){const h=r-s,m=a-v;return h*h+m*m}function Lo(r,a,s,v,h,m,x,O){const P=r-x,R=a-O,C=s-x,U=v-O,b=h-x,F=m-O,Z=P*P+R*R,D=C*C+U*U,j=b*b+F*F;return P*(U*j-D*F)-R*(C*j-D*b)+Z*(C*F-U*b)<0}function $o(r,a,s,v,h,m){const x=s-r,O=v-a,P=h-r,R=m-a,C=x*x+O*O,U=P*P+R*R,b=.5/(x*R-O*P),F=(R*C-O*U)*b,Z=(x*U-P*C)*b;return F*F+Z*Z}function Uo(r,a,s,v,h,m){const x=s-r,O=v-a,P=h-r,R=m-a,C=x*x+O*O,U=P*P+R*R,b=.5/(x*R-O*P),F=r+(R*C-O*U)*b,Z=a+(x*U-P*C)*b;return{x:F,y:Z}}function Bn(r,a,s,v){if(v-s<=20)for(let h=s+1;h<=v;h++){const m=r[h],x=a[m];let O=h-1;for(;O>=s&&a[r[O]]>x;)r[O+1]=r[O--];r[O+1]=m}else{const h=s+v>>1;let m=s+1,x=v;Jn(r,h,m),a[r[s]]>a[r[v]]&&Jn(r,s,v),a[r[m]]>a[r[v]]&&Jn(r,m,v),a[r[s]]>a[r[m]]&&Jn(r,s,m);const O=r[m],P=a[O];for(;;){do m++;while(a[r[m]]P);if(x=x-s?(Bn(r,a,m,v),Bn(r,a,s,x-1)):(Bn(r,a,s,x-1),Bn(r,a,m,v))}}function Jn(r,a,s){const v=r[a];r[a]=r[s],r[s]=v}function Bo(r){return r[0]}function jo(r){return r[1]}const xa=1e-6;class Nn{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,v){a=+a,s=+s,v=+v;const h=a+v,m=s;if(v<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),v&&(this._+=`A${v},${v},0,1,1,${a-v},${s}A${v},${v},0,1,1,${this._x1=h},${this._y1=m}`)}rect(a,s,v,h){this._+=`M${this._x0=this._x1=+a},${this._y0=this._y1=+s}h${+v}v${+h}h${-v}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,v,h,m]=[0,0,960,500]){if(!((h=+h)>=(s=+s))||!((m=+m)>=(v=+v)))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=v,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:a,hull:s,triangles:v},vectors:h}=this;let m,x;const O=this.circumcenters=this._circumcenters.subarray(0,v.length/3*2);for(let D=0,j=0,H=v.length,Q,J;D1;)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)/v)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(r,a,s){return[r+Math.sin(r+a)*s,a+Math.cos(r-a)*s]}class Be{static from(a,s=Vo,v=Ho,h){return new Be("length"in a?Yo(a,s,v,h):Float64Array.from(zo(a,s,v,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},(b,F)=>F).sort((b,F)=>s[2*b]-s[2*F]||s[2*b+1]-s[2*F+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]],U=1e-8*Math.hypot(C[3]-C[1],C[2]-C[0]);for(let b=0,F=s.length/2;b0&&(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:v,_hullIndex:h,halfedges:m,triangles:x,collinear:O}=this;if(O){const U=O.indexOf(a);U>0&&(yield O[U-1]),U=0&&m!==v&&m!==h;)v=m;return m}_step(a,s,v){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,U=jn(s-R[a*2],2)+jn(v-R[a*2+1],2);const b=h[a];let F=b;do{let Z=P[F];const D=jn(s-R[Z*2],2)+jn(v-R[Z*2+1],2);if(D=J&&(J=Q+1);!(rt=j[J])&&++J=0;)(x=v[h])&&(m&&x.compareDocumentPosition(m)^4&&m.parentNode.insertBefore(x,m),m=x);return this}function Es(r){r||(r=Ts);function a(U,b){return U&&b?r(U.__data__,b.__data__):!U-!b}for(var s=this._groups,v=s.length,h=new Array(v),m=0;ma?1:r>=a?0:NaN}function Os(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function Is(){return Array.from(this)}function As(){for(var r=this._groups,a=0,s=r.length;a=0&&(a=r.slice(0,s))!=="xmlns"&&(r=r.slice(s+1)),Ia.hasOwnProperty(a)?{space:Ia[a],local:r}:r}function Ms(r){return function(){this.removeAttribute(r)}}function Ns(r){return function(){this.removeAttributeNS(r.space,r.local)}}function Fs(r,a){return function(){this.setAttribute(r,a)}}function Ds(r,a){return function(){this.setAttributeNS(r.space,r.local,a)}}function bs(r,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttribute(r):this.setAttribute(r,s)}}function Ls(r,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,s)}}function $s(r,a){var s=ve(r);if(arguments.length<2){var v=this.node();return s.local?v.getAttributeNS(s.space,s.local):v.getAttribute(s)}return this.each((a==null?s.local?Ns:Ms:typeof a=="function"?s.local?Ls:bs:s.local?Ds:Fs)(s,a))}function Aa(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function Us(r){return function(){this.style.removeProperty(r)}}function Bs(r,a,s){return function(){this.style.setProperty(r,a,s)}}function js(r,a,s){return function(){var v=a.apply(this,arguments);v==null?this.style.removeProperty(r):this.style.setProperty(r,v,s)}}function ws(r,a,s){return arguments.length>1?this.each((a==null?Us:typeof a=="function"?js:Bs)(r,a,s==null?"":s)):wn(this.node(),r)}function wn(r,a){return r.style.getPropertyValue(a)||Aa(r).getComputedStyle(r,null).getPropertyValue(a)}function Gs(r){return function(){delete this[r]}}function Vs(r,a){return function(){this[r]=a}}function Hs(r,a){return function(){var s=a.apply(this,arguments);s==null?delete this[r]:this[r]=s}}function Ws(r,a){return arguments.length>1?this.each((a==null?Gs:typeof a=="function"?Hs:Vs)(r,a)):this.node()[r]}function Ra(r){return r.trim().split(/^|\s+/)}function Ge(r){return r.classList||new Pa(r)}function Pa(r){this._node=r,this._names=Ra(r.getAttribute("class")||"")}Pa.prototype={add:function(r){var a=this._names.indexOf(r);a<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var a=this._names.indexOf(r);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Ca(r,a){for(var s=Ge(r),v=-1,h=a.length;++v=0&&(s=a.slice(v+1),a=a.slice(0,v)),{type:a,name:s}})}function xi(r){return function(){var a=this.__on;if(a){for(var s=0,v=-1,h=a.length,m;s{}};function ba(){for(var r=0,a=arguments.length,s={},v;r=0&&(v=s.slice(h+1),s=s.slice(0,h)),s&&!a.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:v}})}de.prototype=ba.prototype={constructor:de,on:function(r,a){var s=this._,v=Mi(r+"",s),h,m=-1,x=v.length;if(arguments.length<2){for(;++m0)for(var s=new Array(h),v=0,h,m;v=0&&r._call.call(void 0,a),r=r._next;--Gn}function ja(){Fn=(ge=_n.now())+pe,Gn=Zn=0;try{bi()}finally{Gn=0,$i(),Fn=0}}function Li(){var r=_n.now(),a=r-ge;a>$a&&(pe-=a,ge=r)}function $i(){for(var r,a=he,s,v=1/0;a;)a._call?(v>a._time&&(v=a._time),r=a,a=a._next):(s=a._next,a._next=null,a=r?r._next=s:he=s);qn=r,He(v)}function He(r){if(!Gn){Zn&&(Zn=clearTimeout(Zn));var a=r-Fn;a>24?(r<1/0&&(Zn=setTimeout(ja,r-_n.now()-pe)),kn&&(kn=clearInterval(kn))):(kn||(ge=_n.now(),kn=setInterval(Li,$a)),Gn=1,Ua(ja))}}function wa(r,a,s){var v=new ye;return a=a==null?0:+a,v.restart(h=>{v.stop(),r(h+a)},a,s),v}var Ui=Fi("start","end","cancel","interrupt"),Bi=[],Ga=0,Va=1,We=2,me=3,Ha=4,Ke=5,xe=6;function Se(r,a,s,v,h,m){var x=r.__transition;if(!x)r.__transition={};else if(s in x)return;ji(r,s,{name:a,index:v,group:h,on:Ui,tween:Bi,time:m.time,delay:m.delay,duration:m.duration,ease:m.ease,timer:null,state:Ga})}function Ye(r,a){var s=pn(r,a);if(s.state>Ga)throw new Error("too late; already scheduled");return s}function xn(r,a){var s=pn(r,a);if(s.state>me)throw new Error("too late; already running");return s}function pn(r,a){var s=r.__transition;if(!s||!(s=s[a]))throw new Error("transition not found");return s}function ji(r,a,s){var v=r.__transition,h;v[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,U,b,F;if(s.state!==Va)return P();for(C in v)if(F=v[C],F.name===s.name){if(F.state===me)return wa(x);F.state===Ha?(F.state=xe,F.timer.stop(),F.on.call("interrupt",r,r.__data__,F.index,F.group),delete v[C]):+CWe&&v.state180?C+=360:C-R>180&&(R+=360),b.push({i:U.push(h(U)+"rotate(",null,v)-2,x:Rn(R,C)})):C&&U.push(h(U)+"rotate("+C+v)}function O(R,C,U,b){R!==C?b.push({i:U.push(h(U)+"skewX(",null,v)-2,x:Rn(R,C)}):C&&U.push(h(U)+"skewX("+C+v)}function P(R,C,U,b,F,Z){if(R!==U||C!==b){var D=F.push(h(F)+"scale(",null,",",null,")");Z.push({i:D-4,x:Rn(R,U)},{i:D-2,x:Rn(C,b)})}else(U!==1||b!==1)&&F.push(h(F)+"scale("+U+","+b+")")}return function(R,C){var U=[],b=[];return R=r(R),C=r(C),m(R.translateX,R.translateY,C.translateX,C.translateY,U,b),x(R.rotate,C.rotate,U,b),O(R.skewX,C.skewX,U,b),P(R.scaleX,R.scaleY,C.scaleX,C.scaleY,U,b),R=C=null,function(F){for(var Z=-1,D=b.length,j;++Z>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(r))?new ln(a[1],a[2],a[3],1):(a=Zi.exec(r))?new ln(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=ki.exec(r))?Oe(a[1],a[2],a[3],a[4]):(a=qi.exec(r))?Oe(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=_i.exec(r))?_a(a[1],a[2]/100,a[3]/100,1):(a=tu.exec(r))?_a(a[1],a[2]/100,a[3]/100,a[4]):Xa.hasOwnProperty(r)?Za(Xa[r]):r==="transparent"?new ln(NaN,NaN,NaN,0):null}function Za(r){return new ln(r>>16&255,r>>8&255,r&255,1)}function Oe(r,a,s,v){return v<=0&&(r=a=s=NaN),new ln(r,a,s,v)}function eu(r){return r instanceof te||(r=ee(r)),r?(r=r.rgb(),new ln(r.r,r.g,r.b,r.opacity)):new ln}function Ie(r,a,s,v){return arguments.length===1?eu(r):new ln(r,a,s,v==null?1:v)}function ln(r,a,s,v){this.r=+r,this.g=+a,this.b=+s,this.opacity=+v}Je(ln,Ie,za(te,{brighter(r){return r=r==null?Te:Math.pow(Te,r),new ln(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?re:Math.pow(re,r),new ln(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new ln(Dn(this.r),Dn(this.g),Dn(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`#${bn(this.r)}${bn(this.g)}${bn(this.b)}`}function au(){return`#${bn(this.r)}${bn(this.g)}${bn(this.b)}${bn((isNaN(this.opacity)?1:this.opacity)*255)}`}function qa(){const r=Ae(this.opacity);return`${r===1?"rgb(":"rgba("}${Dn(this.r)}, ${Dn(this.g)}, ${Dn(this.b)}${r===1?")":`, ${r})`}`}function Ae(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function Dn(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function bn(r){return r=Dn(r),(r<16?"0":"")+r.toString(16)}function _a(r,a,s,v){return v<=0?r=a=s=NaN:s<=0||s>=1?r=a=NaN:a<=0&&(r=NaN),new yn(r,a,s,v)}function to(r){if(r instanceof yn)return new yn(r.h,r.s,r.l,r.opacity);if(r instanceof te||(r=ee(r)),!r)return new yn;if(r instanceof yn)return r;r=r.rgb();var a=r.r/255,s=r.g/255,v=r.b/255,h=Math.min(a,s,v),m=Math.max(a,s,v),x=NaN,O=m-h,P=(m+h)/2;return O?(a===m?x=(s-v)/O+(s0&&P<1?0:x,new yn(x,O,P,r.opacity)}function ou(r,a,s,v){return arguments.length===1?to(r):new yn(r,a,s,v==null?1:v)}function yn(r,a,s,v){this.h=+r,this.s=+a,this.l=+s,this.opacity=+v}Je(yn,ou,za(te,{brighter(r){return r=r==null?Te:Math.pow(Te,r),new yn(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?re:Math.pow(re,r),new yn(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,a=isNaN(r)||isNaN(this.s)?0:this.s,s=this.l,v=s+(s<.5?s:1-s)*a,h=2*s-v;return new ln(Qe(r>=240?r-240:r+120,h,v),Qe(r,h,v),Qe(r<120?r+240:r-120,h,v),this.opacity)},clamp(){return new yn(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 r=Ae(this.opacity);return`${r===1?"hsl(":"hsla("}${ro(this.h)}, ${Re(this.s)*100}%, ${Re(this.l)*100}%${r===1?")":`, ${r})`}`}}));function ro(r){return r=(r||0)%360,r<0?r+360:r}function Re(r){return Math.max(0,Math.min(1,r||0))}function Qe(r,a,s){return(r<60?a+(s-a)*r/60:r<180?s:r<240?a+(s-a)*(240-r)/60:a)*255}function no(r,a,s,v,h){var m=r*r,x=m*r;return((1-3*r+3*m-x)*a+(4-6*m+3*x)*s+(1+3*r+3*m-3*x)*v+x*h)/6}function su(r){var a=r.length-1;return function(s){var v=s<=0?s=0:s>=1?(s=1,a-1):Math.floor(s*a),h=r[v],m=r[v+1],x=v>0?r[v-1]:2*h-m,O=v()=>r;function ao(r,a){return function(s){return r+s*a}}function uu(r,a,s){return r=Math.pow(r,s),a=Math.pow(a,s)-r,s=1/s,function(v){return Math.pow(r+v*a,s)}}function Xl(r,a){var s=a-r;return s?ao(r,s>180||s<-180?s-360*Math.round(s/360):s):constant(isNaN(r)?a:r)}function lu(r){return(r=+r)==1?oo:function(a,s){return s-a?uu(a,s,r):eo(isNaN(a)?s:a)}}function oo(r,a){var s=a-r;return s?ao(r,s):eo(isNaN(r)?a:r)}var so=function r(a){var s=lu(a);function v(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 v.gamma=r,v}(1);function io(r){return function(a){var s=a.length,v=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),(v=v[0])===(h=h[0])?O[x]?O[x]+=h:O[++x]=h:(O[++x]=null,P.push({i:x,x:Rn(v,h)})),s=ke.lastIndex;return s=0&&(a=a.slice(0,s)),!a||a==="start"})}function ju(r,a,s){var v,h,m=Bu(a)?Ye:xn;return function(){var x=m(this,r),O=x.on;O!==v&&(h=(v=O).copy()).on(a,s),x.on=h}}function wu(r,a){var s=this._id;return arguments.length<2?pn(this.node(),s).on.on(r):this.each(ju(s,r,a))}function Gu(r){return function(){var a=this.parentNode;for(var s in this.__transition)if(+s!==r)return;a&&a.removeChild(this)}}function Vu(){return this.on("end.remove",Gu(this._id))}function Hu(r){var a=this._name,s=this._id;typeof r!="function"&&(r=je(r));for(var v=this._groups,h=v.length,m=new Array(h),x=0;x{const Fr=_t.identifier;return _t=pointer(_t,H),_t.point0=_t.slice(),_t.identifier=Fr,_t});interrupt(H);var nr=C(H,arguments,!0).beforestart();if(Q==="overlay"){vt&&(Ot=!0);const _t=[Ft[0],Ft[1]||Ft[0]];xt.selection=vt=[[St=r===Ce?ft:sn(_t[0][0],_t[1][0]),Vt=r===Pe?Nt:sn(_t[0][1],_t[1][1])],[q=r===Ce?_:on(_t[0][0],_t[1][0]),nt=r===Pe?K:on(_t[0][1],_t[1][1])]],Ft.length>1&&fr(j)}else St=vt[0][0],Vt=vt[0][1],q=vt[1][0],nt=vt[1][1];Rt=St,V=Vt,dt=q,Y=nt;var or=select(H).attr("pointer-events","none"),sr=or.selectAll(".overlay").attr("cursor",On[Q]);if(j.touches)nr.moved=lr,nr.ended=Lr;else{var ur=select(j.view).on("mousemove.brush",lr,!0).on("mouseup.brush",Lr,!0);h&&ur.on("keydown.brush",$r,!0).on("keyup.brush",Mr,!0),dragDisable(j.view)}R.call(H),nr.start(j,J.name);function lr(_t){for(const Fr of _t.changedTouches||[_t])for(const Kr of Ft)Kr.identifier===Fr.identifier&&(Kr.cur=pointer(Fr,H));if(Et&&!bt&&!Zt&&Ft.length===1){const Fr=Ft[0];vo(Fr.cur[0]-Fr[0])>vo(Fr.cur[1]-Fr[1])?Zt=!0:bt=!0}for(const Fr of Ft)Fr.cur&&(Fr[0]=Fr.cur[0],Fr[1]=Fr.cur[1]);Ot=!0,noevent(_t),fr(_t)}function fr(_t){const Fr=Ft[0],Kr=Fr.point0;var Gr;switch(ct=Fr[0]-Kr[0],pt=Fr[1]-Kr[1],J){case qe:case co:{ut&&(ct=on(ft-St,sn(_-q,ct)),Rt=St+ct,dt=q+ct),rt&&(pt=on(Nt-Vt,sn(K-nt,pt)),V=Vt+pt,Y=nt+pt);break}case Hn:{Ft[1]?(ut&&(Rt=on(ft,sn(_,Ft[0][0])),dt=on(ft,sn(_,Ft[1][0])),ut=1),rt&&(V=on(Nt,sn(K,Ft[0][1])),Y=on(Nt,sn(K,Ft[1][1])),rt=1)):(ut<0?(ct=on(ft-St,sn(_-St,ct)),Rt=St+ct,dt=q):ut>0&&(ct=on(ft-q,sn(_-q,ct)),Rt=St,dt=q+ct),rt<0?(pt=on(Nt-Vt,sn(K-Vt,pt)),V=Vt+pt,Y=nt):rt>0&&(pt=on(Nt-nt,sn(K-nt,pt)),V=Vt,Y=nt+pt));break}case Wn:{ut&&(Rt=on(ft,sn(_,St-ct*ut)),dt=on(ft,sn(_,q+ct*ut))),rt&&(V=on(Nt,sn(K,Vt-pt*rt)),Y=on(Nt,sn(K,nt+pt*rt)));break}}dt0&&(St=Rt-ct),rt<0?nt=Y-pt:rt>0&&(Vt=V-pt),J=qe,sr.attr("cursor",On.selection),fr(_t));break}default:return}noevent(_t)}function Mr(_t){switch(_t.keyCode){case 16:{Et&&(bt=Zt=Et=!1,fr(_t));break}case 18:{J===Wn&&(ut<0?q=dt:ut>0&&(St=Rt),rt<0?nt=Y:rt>0&&(Vt=V),J=Hn,fr(_t));break}case 32:{J===qe&&(_t.altKey?(ut&&(q=dt-ct*ut,St=Rt+ct*ut),rt&&(nt=Y-pt*rt,Vt=V+pt*rt),J=Wn):(ut<0?q=dt:ut>0&&(St=Rt),rt<0?nt=Y:rt>0&&(Vt=V),J=Hn),sr.attr("cursor",On[Q]),fr(_t));break}default:return}noevent(_t)}}function F(j){C(this,arguments).moved(j)}function Z(j){C(this,arguments).ended(j)}function D(){var j=this.__brush||{selection:null};return j.extent=_e(a.apply(this,arguments)),j.dim=r,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?(v=typeof j=="function"?j:constant(!!j),P):v},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(r){const a=typeof(r==null?void 0:r.requestAnimationFrame)=="function"&&typeof(r==null?void 0:r.cancelAnimationFrame)=="function",s=typeof(r==null?void 0:r.requestIdleCallback)=="function"&&typeof(r==null?void 0:r.cancelIdleCallback)=="function",v=m=>setTimeout(m,1),h=m=>clearTimeout(m);return[a?r.requestAnimationFrame:v,a?r.cancelAnimationFrame:h,s?r.requestIdleCallback:v,s?r.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=(r,a,s)=>a in r?Il(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,xo=(r,a)=>{for(var s in a||(a={}))Al.call(a,s)&&mo(r,s,a[s]);if(yo)for(var s of yo(a))Rl.call(a,s)&&mo(r,s,a[s]);return r};const sf=r=>r||r===0,Pl=r=>typeof r=="function",Ne=r=>typeof r=="string",na=r=>typeof r=="number",Cl=r=>typeof r=="undefined",So=r=>typeof r!="undefined",uf=r=>typeof r=="boolean",lf=r=>Math.ceil(r/10)*10,ff=r=>Math.ceil(r)+.5,cf=r=>r[1]-r[0],ea=r=>typeof r=="object",Ml=r=>Cl(r)||r===null||Ne(r)&&r.length===0||ea(r)&&!(r instanceof Date)&&Object.keys(r).length===0||na(r)&&isNaN(r),Nl=r=>!Ml(r),aa=r=>Array.isArray(r),Fe=r=>r&&!(r!=null&&r.nodeType)&&ea(r)&&!aa(r);function vf(r,a,s){return So(r[a])?r[a]:s}function df(r,a){let s=!1;return Object.keys(r).forEach(v=>r[v]===a&&(s=!0)),s}function hf(r,a,...s){const v=Pl(r);return v&&r.call(a,...s),v}function gf(r,a){let s=0;const v=function(...h){!--s&&a.apply(this,...h)};"duration"in r?r.each(()=>++s).on("end",v):(++s,r.call(v))}function pf(r){return Ne(r)?r.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):r}function yf(r,a,s=[-1,1],v=!1){if(!(!r||!Ne(a)))if(a.indexOf(` `)===-1)r.text(a);else{const h=[r.text(),a].map(m=>m.replace(/[\s\n]/g,""));if(h[0]!==h[1]){const m=a.split(` -`),x=v?m.length-1:1;r.html(""),m.forEach((O,P)=>{r.append("tspan").attr("x",0).attr("dy",`${P===0?s[0]*x:s[1]}em`).text(O)})}}}function Fl(r){const{x:a,y:s,width:v,height:h}=r.getBBox();return[{x:a,y:s+h},{x:a,y:s},{x:a+v,y:s},{x:a+v,y:s+h}]}function mf(r){const{width:a,height:s}=r.getBoundingClientRect(),v=Fl(r),h=v[0].x,m=Math.min(v[0].y,v[1].y);return{x:h,y:m,width:a,height:s}}function xf(r,a){var s;const v=r&&((s=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:s[0]);let h=[0,0];try{h=d3Pointer(v||r,a)}catch(m){}return h.map(m=>isNaN(m)?0:m)}function Dl(r){const{event:a,$el:s}=r,v=s.subchart.main||s.main;let h;return a&&a.type==="brush"?h=a.selection:v&&(h=v.select(".bb-brush").node())&&(h=d3BrushSelection(h)),h}function Sf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Ef(r=!0,a=0,s=1e4){const v=window.crypto||window.msCrypto,h=v?a+v.getRandomValues(new Uint32Array(1))[0]%(s-a+1):Math.floor(Math.random()*(s-a)+a);return r?String(h):h}function Eo(r,a,s,v,h){if(s>v)return-1;const m=Math.floor((s+v)/2);let{x,w:O=0}=r[m];return h&&(x=r[m].y,O=r[m].h),a>=x&&a<=x+O?m:a{if(Fe(s)&&s.constructor){const v=new s.constructor;for(const h in s)v[h]=a(s[h]);return v}return s};return r.map(s=>a(s)).reduce((s,v)=>xo(xo({},s),v))}function bl(r={},a){aa(a)&&a.forEach(s=>bl(r,s));for(const s in a)/^\d+$/.test(s)||s in r||(r[s]=a[s]);return r}const If=r=>r.charAt(0).toUpperCase()+r.slice(1);function Af(r,a="-"){return r.split(a).map((s,v)=>v?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Ll=r=>[].slice.call(r);function Rf(r,a,s){const{rootSelector:v="",sheet:h}=r,x=`${v} ${(O=>O.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${s.join(";")}}`;return h[h.insertRule?"insertRule":"addRule"](x,h.cssRules.length)}function Pf(r){let a=[];return r.forEach(s=>{var v;try{s.cssRules&&s.cssRules.length&&(a=a.concat(Ll(s.cssRules)))}catch(h){(v=window.console)==null||v.warn(`Error while reading rules from ${s.href}: ${h.toString()}`)}}),a}function Cf(r){var a,s,v,h,m,x;return{x:((s=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?s:0)+((v=r.scrollLeft)!=null?v:0),y:((m=(h=window.pageYOffset)!=null?h:window.scrollY)!=null?m:0)+((x=r.scrollTop)!=null?x:0)}}function Mf(r,a=0,s=0,v=!0){const h=new DOMPoint(a,s),m=r.getScreenCTM();return h.matrixTransform(v?m==null?void 0:m.inverse():m)}function Nf(r){const a=r?r.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 Ff(r){const a=r[0]instanceof Date,s=(a?r.map(Number):r).filter((v,h,m)=>m.indexOf(v)===h);return a?s.map(v=>new Date(v)):s}function Df(r){return r&&r.length?r.reduce((a,s)=>a.concat(s)):[]}function oa(r,...a){if(!a.length||a.length===1&&!a[0])return r;const s=a.shift();return Fe(r)&&Fe(s)&&Object.keys(s).forEach(v=>{const h=s[v];Fe(h)?(!r[v]&&(r[v]={}),r[v]=oa(r[v],h)):r[v]=aa(h)?h.concat():h}),oa(r,...a)}function $l(r,a=!0){let s;return r[0]instanceof Date?s=a?(v,h)=>v-h:(v,h)=>h-v:a&&!r.every(isNaN)?s=(v,h)=>v-h:a||(s=(v,h)=>v>h&&-1||vNl(v));return s.length?na(s[0])?s=Math[r](...s):s[0]instanceof Date&&(s=$l(s,r==="min")[0]):s=void 0,s}const Lf=(r,a,s=1)=>{const v=[],h=Math.max(0,Math.ceil((a-r)/s))|0;for(let m=r;m{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,s,v=r())=>{a.dispatchEvent(new MouseEvent(s,v))}}catch(a){return(s,v,h=r())=>{const m=Ol.createEvent("MouseEvent");m.initMouseEvent(v,h.bubbles,h.cancelable,Me,0,h.screenX,h.screenY,h.clientX,h.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(m)}}})(),touch:(r,a,s)=>{const v=new Touch(oa({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));r.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[v],targetTouches:[],changedTouches:[v]}))}};function Uf(r,a){let s=r;for(const v in a)s=s.replace(new RegExp(`{=${v}}`,"g"),a[v]);return s}function Bf(r){var a;let s;if(r instanceof Date)s=r;else if(Ne(r)){const{config:v,format:h}=this;s=(a=h.dataTime(v.data_xFormat)(r))!=null?a:new Date(r)}else na(r)&&!isNaN(r)&&(s=new Date(+r));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),s}function jf(r){const a=r.attr("viewBox");return a?/(\d+(\.\d+)?){3}/.test(a):!1}function wf(r,a,s=!1){const v=!!r.node;let h=!1;for(const[m,x]of Object.entries(a))if(h=v?r.style(m)===x:r.style[m]===x,s===!1&&h)break;return h}function Gf(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function Vf(r,a){const{DocumentTouch:s,matchMedia:v,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(v!=null&&v("(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 r&&((v==null?void 0:v("any-hover:hover").matches)||(v==null?void 0:v("any-pointer:fine").matches))&&"mouse"||m&&"touch"||"mouse"}function Ul(r,a){a()===!1?requestAnimationFrame(()=>Ul(r,a)):r()}function Bl(r){const a=this.config;let s,v,h;const m=()=>{const x=v.shift();if(x&&s&&ea(s)&&x in s)return s=s[x],m();if(!x)return s};Object.keys(a).forEach(x=>{s=r,v=x.split("_"),h=m(),So(h)&&(a[x]=h)}),this.api&&(this.state.orgConfig=r)}var jl=Object.defineProperty,wl=(r,a,s)=>a in r?jl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,sa=(r,a,s)=>wl(r,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.13.0-nightly-20240921004638");class Gl{constructor(){return{selector:void 0,extent:1,area:0}}}var Vl=Object.defineProperty,Hl=(r,a,s)=>a in r?Vl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,Wl=(r,a,s)=>Hl(r,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,v=s?a.main.selectAll(s):a.text;!v.empty()&&this.preventLabelOverlap(v)}generateVoronoi(a){const{$$:s}=this,{scale:v}=s,[h,m]=["x","y"].map(x=>v[x].domain());return[h[1],m[0]]=[m[0],h[1]],Be.from(a).voronoi([...h,...m])}preventLabelOverlap(a){const{extent:s,area:v}=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,U]=Xo(O),b=Math.abs(Jo(O)),F=Math.round(Math.atan2(U-R,C-P)/Math.PI*2),Z=s*(F===0?1:-1),D=F===-1?-s:s+5,j=Math.abs(F)===1?"middle":F===0?"start":"end";this.style.display=b=X&&(!w||z))k=I(G,0,X);else{var ot=w&&!z&&N?{maxByteLength:N(G)}:void 0;k=new y(X,ot);for(var st=new S(G),tt=new S(k),et=E(X,W),at=0;at>8&255]},Tr=function($t){return[$t&255,$t>>8&255,$t>>16&255,$t>>24&255]},pr=function($t){return $t[3]<<24|$t[2]<<16|$t[1]<<8|$t[0]},Ir=function($t){return Er(A($t),23,4)},Ur=function($t){return Er($t,52,8)},br=function($t,Ht,Dt){c($t[st],Ht,{configurable:!0,get:function(){return Dt(this)[Ht]}})},Pr=function($t,Ht,Dt,cr){var vr=gt($t),ar=T(Dt),rr=!!cr;if(ar+Ht>vr.byteLength)throw new ir(et);var jr=vr.bytes,wr=ar+vr.byteOffset,yt=$(jr,wr,wr+Ht);return rr?yt:xr(yt)},mr=function($t,Ht,Dt,cr,vr,ar){var rr=gt($t),jr=T(Dt),wr=cr(+vr),yt=!!ar;if(jr+Ht>rr.byteLength)throw new ir(et);for(var jt=rr.bytes,Gt=jr+rr.byteOffset,Bt=0;Btar)throw new ir("Wrong offset");if(cr=cr===void 0?ar-rr:E(cr),rr+cr>ar)throw new ir(tt);Pt(this,{type:ot,buffer:Ht,byteLength:cr,byteOffset:rr,bytes:vr.bytes}),o||(this.buffer=Ht,this.byteLength=cr,this.byteOffset=rr)},Qt=qt[st],o&&(br(Mt,"byteLength",at),br(qt,"buffer",gt),br(qt,"byteLength",gt),br(qt,"byteOffset",gt)),g(Qt,{getInt8:function(Ht){return Pr(this,1,Ht)[0]<<24>>24},getUint8:function(Ht){return Pr(this,1,Ht)[0]},getInt16:function(Ht){var Dt=Pr(this,2,Ht,arguments.length>1?arguments[1]:!1);return(Dt[1]<<8|Dt[0])<<16>>16},getUint16:function(Ht){var Dt=Pr(this,2,Ht,arguments.length>1?arguments[1]:!1);return Dt[1]<<8|Dt[0]},getInt32:function(Ht){return pr(Pr(this,4,Ht,arguments.length>1?arguments[1]:!1))},getUint32:function(Ht){return pr(Pr(this,4,Ht,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Ht){return Yt(Pr(this,4,Ht,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Ht){return Yt(Pr(this,8,Ht,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Ht,Dt){mr(this,1,Ht,tr,Dt)},setUint8:function(Ht,Dt){mr(this,1,Ht,tr,Dt)},setInt16:function(Ht,Dt){mr(this,2,Ht,Sr,Dt,arguments.length>2?arguments[2]:!1)},setUint16:function(Ht,Dt){mr(this,2,Ht,Sr,Dt,arguments.length>2?arguments[2]:!1)},setInt32:function(Ht,Dt){mr(this,4,Ht,Tr,Dt,arguments.length>2?arguments[2]:!1)},setUint32:function(Ht,Dt){mr(this,4,Ht,Tr,Dt,arguments.length>2?arguments[2]:!1)},setFloat32:function(Ht,Dt){mr(this,4,Ht,Ir,Dt,arguments.length>2?arguments[2]:!1)},setFloat64:function(Ht,Dt){mr(this,8,Ht,Ur,Dt,arguments.length>2?arguments[2]:!1)}});else{var Nr=X&&It.name!==k;!d(function(){It(1)})||!d(function(){new It(-1)})||d(function(){return new It,new It(1.5),new It(NaN),It.length!==1||Nr&&!z})?(Mt=function(Ht){return y(this,Tt),G(new It(T(Ht)),this,Mt)},Mt[st]=Tt,Tt.constructor=Mt,B(Mt,It)):Nr&&z&&f(It,"name",k),N&&M(Qt)!==Jt&&N(Qt,Jt);var Or=new qt(new Mt(2)),yr=e(Qt.setInt8);Or.setInt8(0,2147483648),Or.setInt8(1,2147483649),(Or.getInt8(0)||!Or.getInt8(1))&&g(Qt,{setInt8:function(Ht,Dt){yr(this,Ht,Dt<<24>>24)},setUint8:function(Ht,Dt){yr(this,Ht,Dt<<24>>24)}},{unsafe:!0})}w(Mt,k),w(qt,ot),l.exports={ArrayBuffer:Mt,DataView:qt}},81499:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628),i=t(12384),u=Math.min;l.exports=[].copyWithin||function(c,g){var d=n(this),y=o(d),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 d?d[S]=d[E]:i(d,S),S+=I,E+=I;return d}},43011:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628);l.exports=function(u){for(var f=n(this),c=o(f),g=arguments.length,d=e(g>1?arguments[1]:void 0,c),y=g>2?arguments[2]:void 0,S=y===void 0?c:e(y,c);S>d;)f[d++]=u;return f}},13349:function(l,p,t){var n=t(66655).forEach,e=t(6148),o=e("forEach");l.exports=o?[].forEach:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}},5220:function(l,p,t){var n=t(82628);l.exports=function(e,o,i){for(var u=0,f=arguments.length>2?i:n(o),c=new e(f);f>u;)c[u]=o[u++];return c}},48258:function(l,p,t){var n=t(45526),e=t(96499),o=t(49671),i=t(39969),u=t(48199),f=t(11051),c=t(82628),g=t(84082),d=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,L=N!==void 0;L&&(N=n(N,M>2?arguments[2]:void 0));var $=y(A),G=0,B,w,W,X,z,k;if($&&!(this===S&&u($)))for(w=I?new this:[],X=d(A,$),z=X.next;!(W=e(z,X)).done;G++)k=L?i(X,N,[W.value,G],!0):W.value,g(w,G,k);else for(B=c(A),w=I?new this(B):S(B);B>G;G++)k=L?N(A[G],G):A[G],g(w,G,k);return w.length=G,w}},94319:function(l,p,t){var n=t(36859),e=t(4652),o=t(82628),i=function(u){return function(f,c,g){var d=n(f),y=o(d);if(y===0)return!u&&-1;var S=e(g,y),E;if(u&&c!==c){for(;y>S;)if(E=d[S++],E!==E)return!0}else for(;y>S;S++)if((u||S in d)&&d[S]===c)return u||S||0;return!u&&-1}};l.exports={includes:i(!0),indexOf:i(!1)}},73849:function(l,p,t){var n=t(45526),e=t(72181),o=t(49671),i=t(82628),u=function(f){var c=f===1;return function(g,d,y){for(var S=o(g),E=e(S),T=i(E),A=n(d,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 n=t(45526),e=t(11286),o=t(72181),i=t(49671),u=t(82628),f=t(62083),c=e([].push),g=function(d){var y=d===1,S=d===2,E=d===3,T=d===4,A=d===6,I=d===7,M=d===5||A;return function(N,L,$,G){for(var B=i(N),w=o(B),W=u(w),X=n(L,$),z=0,k=G||f,ot=y?k(N,W):S||I?k(N,0):void 0,st,tt;W>z;z++)if((M||z in w)&&(st=w[z],tt=X(st,z,B),d))if(y)ot[z]=tt;else if(tt)switch(d){case 3:return!0;case 5:return st;case 6:return z;case 2:c(ot,st)}else switch(d){case 4:return!1;case 7:c(ot,st)}return A?-1:E||T?T:ot}};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 n=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,d=u("lastIndexOf"),y=g||!d;l.exports=y?function(E){if(g)return n(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 n=t(72069),e=t(18565),o=t(44241),i=e("species");l.exports=function(u){return o>=51||!n(function(){var f=[],c=f.constructor={};return c[i]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},6148:function(l,p,t){var n=t(72069);l.exports=function(e,o){var i=[][e];return!!i&&n(function(){i.call(null,o||function(){return 1},1)})}},97264:function(l,p,t){var n=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(d,y,S,E){var T=e(d),A=o(T),I=i(T);if(n(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 n=t(92986),e=t(3438),o=TypeError,i=Object.getOwnPropertyDescriptor,u=n&&!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 n=t(11286);l.exports=n([].slice)},13270:function(l,p,t){var n=t(22806),e=Math.floor,o=function(i,u){var f=i.length;if(f<8)for(var c=1,g,d;c0;)i[d]=i[--d];d!==c++&&(i[d]=g)}else for(var y=e(f/2),S=o(n(i,0,y),u),E=o(n(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),tt;tt=tt?tt.next:ot.first;)for(st(tt.value,tt.key,this);tt&&tt.removed;)tt=tt.previous},has:function(k){return!!X(this,k)}}),o(B,L?{get:function(k){var ot=X(this,k);return ot&&ot.value},set:function(k,ot){return W(this,k===0?0:k,ot)}}:{add:function(k){return W(this,k=k===0?0:k,k)}}),S&&e(B,"size",{configurable:!0,get:function(){return w(this).size}}),G},setStrong:function(M,N,L){var $=N+" Iterator",G=I(N),B=I($);g(M,N,function(w,W){A(this,{type:$,target:w,state:G(w),kind:W,last:null})},function(){for(var w=B(this),W=w.kind,X=w.last;X&&X.removed;)X=X.previous;return!w.target||!(w.last=X=X?X.next:w.state.first)?(w.target=null,d(void 0,!0)):d(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},L?"entries":"values",!L,!0),y(N)}}},94667:function(l,p,t){var n=t(11286),e=t(2725),o=t(31853).getWeakData,i=t(12833),u=t(25001),f=t(5683),c=t(37540),g=t(55902),d=t(66655),y=t(94879),S=t(82367),E=S.set,T=S.getterFor,A=d.find,I=d.findIndex,M=n([].splice),N=0,L=function(B){return B.frozen||(B.frozen=new $)},$=function(){this.entries=[]},G=function(B,w){return A(B.entries,function(W){return W[0]===w})};$.prototype={get:function(B){var w=G(this,B);if(w)return w[1]},has:function(B){return!!G(this,B)},set:function(B,w){var W=G(this,B);W?W[1]=w:this.entries.push([B,w])},delete:function(B){var w=I(this.entries,function(W){return W[0]===B});return~w&&M(this.entries,w,1),!!~w}},l.exports={getConstructor:function(B,w,W,X){var z=B(function(tt,et){i(tt,k),E(tt,{type:w,id:N++,frozen:null}),f(et)||g(et,tt[X],{that:tt,AS_ENTRIES:W})}),k=z.prototype,ot=T(w),st=function(tt,et,at){var gt=ot(tt),Pt=o(u(et),!0);return Pt===!0?L(gt).set(et,at):Pt[gt.id]=at,tt};return e(k,{delete:function(tt){var et=ot(this);if(!c(tt))return!1;var at=o(tt);return at===!0?L(et).delete(tt):at&&y(at,et.id)&&delete at[et.id]},has:function(et){var at=ot(this);if(!c(et))return!1;var gt=o(et);return gt===!0?L(at).has(et):gt&&y(gt,at.id)}}),e(k,W?{get:function(et){var at=ot(this);if(c(et)){var gt=o(et);if(gt===!0)return L(at).get(et);if(gt)return gt[at.id]}},set:function(et,at){return st(this,et,at)}}:{add:function(et){return st(this,et,!0)}}),z}}},89378:function(l,p,t){var n=t(14304),e=t(34246),o=t(11286),i=t(13278),u=t(16142),f=t(31853),c=t(55902),g=t(12833),d=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,L){var $=M.indexOf("Map")!==-1,G=M.indexOf("Weak")!==-1,B=$?"set":"add",w=e[M],W=w&&w.prototype,X=w,z={},k=function(Pt){var It=o(W[Pt]);u(W,Pt,Pt==="add"?function(Tt){return It(this,Tt===0?0:Tt),this}:Pt==="delete"?function(Mt){return G&&!S(Mt)?!1:It(this,Mt===0?0:Mt)}:Pt==="get"?function(Tt){return G&&!S(Tt)?void 0:It(this,Tt===0?0:Tt)}:Pt==="has"?function(Tt){return G&&!S(Tt)?!1:It(this,Tt===0?0:Tt)}:function(Tt,qt){return It(this,Tt===0?0:Tt,qt),this})},ot=i(M,!d(w)||!(G||W.forEach&&!E(function(){new w().entries().next()})));if(ot)X=L.getConstructor(N,M,$,B),f.enable();else if(i(M,!0)){var st=new X,tt=st[B](G?{}:-0,1)!==st,et=E(function(){st.has(1)}),at=T(function(Pt){new w(Pt)}),gt=!G&&E(function(){for(var Pt=new w,It=5;It--;)Pt[B](It,It);return!Pt.has(-0)});at||(X=N(function(Pt,It){g(Pt,W);var Mt=I(new w,Pt,X);return y(It)||c(It,Mt[B],{that:Mt,AS_ENTRIES:$}),Mt}),X.prototype=W,W.constructor=X),(et||gt)&&(k("delete"),k("has"),$&&k("get")),(gt||tt)&&k(B),G&&W.clear&&delete W.clear}return z[M]=X,n({global:!0,constructor:!0,forced:X!==w},z),A(X,M),G||L.setStrong(X,M,$),X}},93706:function(l,p,t){var n=t(94879),e=t(16885),o=t(71349),i=t(7831);l.exports=function(u,f,c){for(var g=e(f),d=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 n=t(92986),e=t(7831),o=t(18526);l.exports=n?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 n=t(92986),e=t(7831),o=t(18526);l.exports=function(i,u,f){n?e.f(i,u,o(0,f)):i[u]=f}},11890:function(l,p,t){var n=t(11286),e=t(72069),o=t(61607).start,i=RangeError,u=isFinite,f=Math.abs,c=Date.prototype,g=c.toISOString,d=n(c.getTime),y=n(c.getUTCDate),S=n(c.getUTCFullYear),E=n(c.getUTCHours),T=n(c.getUTCMilliseconds),A=n(c.getUTCMinutes),I=n(c.getUTCMonth),M=n(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(d(this)))throw new i("Invalid time value");var L=this,$=S(L),G=T(L),B=$<0?"-":$>9999?"+":"";return B+o(f($),B?6:4,0)+"-"+o(I(L)+1,2,0)+"-"+o(y(L),2,0)+"T"+o(E(L),2,0)+":"+o(A(L),2,0)+":"+o(M(L),2,0)+"."+o(G,3,0)+"Z"}:g},84306:function(l,p,t){var n=t(25001),e=t(2064),o=TypeError;l.exports=function(i){if(n(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 n=t(13749),e=t(7831);l.exports=function(o,i,u){return u.get&&n(u.get,i,{getter:!0}),u.set&&n(u.set,i,{setter:!0}),e.f(o,i,u)}},16142:function(l,p,t){var n=t(23583),e=t(7831),o=t(13749),i=t(36003);l.exports=function(u,f,c,g){g||(g={});var d=g.enumerable,y=g.name!==void 0?g.name:f;if(n(c)&&o(c,y,g),g.global)d?u[f]=c:i(f,c);else{try{g.unsafe?u[f]&&(d=!0):delete u[f]}catch(S){}d?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 n=t(16142);l.exports=function(e,o,i){for(var u in o)n(e,u,o[u],i);return e}},36003:function(l,p,t){var n=t(34246),e=Object.defineProperty;l.exports=function(o,i){try{e(n,o,{value:i,configurable:!0,writable:!0})}catch(u){n[o]=i}return i}},12384:function(l,p,t){var n=t(82453),e=TypeError;l.exports=function(o,i){if(!delete o[i])throw new e("Cannot delete property "+n(i)+" of "+n(o))}},92986:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(l,p,t){var n=t(34246),e=t(81191),o=t(99050),i=n.structuredClone,u=n.ArrayBuffer,f=n.MessageChannel,c=!1,g,d,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&&(d=new f,y=new u(2),S=function(E){d.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 n=t(34246),e=t(37540),o=n.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(n){if(n>t)throw p("Maximum allowed index exceeded");return n}},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 n=t(85501),e=n("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 n=t(18257),e=n.match(/firefox\/(\d+)/i);l.exports=!!e&&+e[1]},17417:function(l,p,t){var n=t(18257);l.exports=/MSIE|Trident/.test(n)},7307:function(l,p,t){var n=t(18257);l.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},5286:function(l,p,t){var n=t(18257);l.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},91707:function(l,p,t){var n=t(21501);l.exports=n==="NODE"},67722:function(l,p,t){var n=t(18257);l.exports=/web0s(?!.*chrome)/i.test(n)},18257:function(l,p,t){var n=t(34246),e=n.navigator,o=e&&e.userAgent;l.exports=o?String(o):""},44241:function(l,p,t){var n=t(34246),e=t(18257),o=n.process,i=n.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 n=t(18257),e=n.match(/AppleWebKit\/(\d+)\./);l.exports=!!e&&+e[1]},21501:function(l,p,t){var n=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":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":o(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"}()},40851:function(l,p,t){var n=t(11286),e=Error,o=n("".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 n=t(90809),e=t(40851),o=t(16929),i=Error.captureStackTrace;l.exports=function(u,f,c,g){o&&(i?i(u,f):n(u,"stack",e(c,g)))}},16929:function(l,p,t){var n=t(72069),e=t(18526);l.exports=!n(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 n=t(92986),e=t(72069),o=t(25001),i=t(15453),u=Error.prototype.toString,f=e(function(){if(n){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),d=i(g.name,"Error"),y=i(g.message);return d?y?d+": "+y:d:y}:u},14304:function(l,p,t){var n=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,d){var y=g.target,S=g.global,E=g.stat,T,A,I,M,N,L;if(S?A=n:E?A=n[y]||u(y,{}):A=n[y]&&n[y].prototype,A)for(I in d){if(N=d[I],g.dontCallGetSet?(L=e(A,I),M=L&&L.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 n=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(d,y,S,E){var T=u(d),A=!i(function(){var L={};return L[T]=function(){return 7},""[d](L)!==7}),I=A&&!i(function(){var L=!1,$=/a/;return d==="split"&&($={},$.constructor={},$.constructor[c]=function(){return $},$.flags="",$[T]=/./[T]),$.exec=function(){return L=!0,null},$[T](""),!L});if(!A||!I||S){var M=/./[T],N=y(T,""[d],function(L,$,G,B,w){var W=$.exec;return W===o||W===g.exec?A&&!w?{done:!0,value:n(M,$,G,B)}:{done:!0,value:n(L,G,$,B)}:{done:!1}});e(String.prototype,d,N[0]),e(g,T,N[1])}E&&f(g[T],"sham",!0)}},53149:function(l,p,t){var n=t(3438),e=t(82628),o=t(20095),i=t(45526),u=function(f,c,g,d,y,S,E,T){for(var A=y,I=0,M=E?i(E,T):!1,N,L;I0&&n(N)?(L=e(N),A=u(f,c,N,L,A,S-1)-1):(o(A+1),f[A]=N),A++),I++;return A};l.exports=u},27534:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(l,p,t){var n=t(87878),e=Function.prototype,o=e.apply,i=e.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},45526:function(l,p,t){var n=t(77422),e=t(85156),o=t(87878),i=n(n.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 n=t(72069);l.exports=!n(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})},91384:function(l,p,t){var n=t(11286),e=t(85156),o=t(37540),i=t(94879),u=t(22806),f=t(87878),c=Function,g=n([].concat),d=n([].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(d,y,S,E,T,A){var I=S+d.length,M=E.length,N=g;return T!==void 0&&(T=e(T),N=c),u(A,N,function(L,$){var G;switch(i($,0)){case"$":return"$";case"&":return d;case"`":return f(y,0,S);case"'":return f(y,I);case"<":G=T[f($,1,-1)];break;default:var B=+$;if(B===0)return L;if(B>M){var w=o(B/10);return w===0?L:w<=M?E[w-1]===void 0?i($,1):E[w-1]+i($,1):L}G=E[B-1]}return G===void 0?"":G})}},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 n=t(11286),e=t(49671),o=n({}.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(n){}}},96439:function(l,p,t){var n=t(38941);l.exports=n("document","documentElement")},52515:function(l,p,t){var n=t(92986),e=t(72069),o=t(85501);l.exports=!n&&!e(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(l){var p=Array,t=Math.abs,n=Math.pow,e=Math.floor,o=Math.log,i=Math.LN2,u=function(c,g,d){var y=p(d),S=d*8-g-1,E=(1<>1,A=g===23?n(2,-24)-n(2,-77):0,I=c<0||c===0&&1/c<0?1:0,M=0,N,L,$;for(c=t(c),c!==c||c===1/0?(L=c!==c?1:0,N=E):(N=e(o(c)/i),$=n(2,-N),c*$<1&&(N--,$*=2),N+T>=1?c+=A/$:c+=A*n(2,1-T),c*$>=2&&(N++,$/=2),N+T>=E?(L=0,N=E):N+T>=1?(L=(c*$-1)*n(2,g),N+=T):(L=c*n(2,T-1)*n(2,g),N=0));g>=8;)y[M++]=L&255,L/=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 d=c.length,y=d*8-g-1,S=(1<>1,T=y-7,A=d-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+=n(2,g),M-=E}return(I?-1:1)*N*n(2,M-g)};l.exports={pack:u,unpack:f}},72181:function(l,p,t){var n=t(11286),e=t(72069),o=t(14274),i=Object,u=n("".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 n=t(23583),e=t(37540),o=t(15861);l.exports=function(i,u,f){var c,g;return o&&n(c=u.constructor)&&c!==f&&e(g=c.prototype)&&g!==f.prototype&&o(i,g),i}},84352:function(l,p,t){var n=t(11286),e=t(23583),o=t(70443),i=n(Function.toString);e(o.inspectSource)||(o.inspectSource=function(u){return i(u)}),l.exports=o.inspectSource},31486:function(l,p,t){var n=t(37540),e=t(90809);l.exports=function(o,i){n(i)&&"cause"in i&&e(o,"cause",i.cause)}},31853:function(l,p,t){var n=t(14304),e=t(11286),o=t(19423),i=t(37540),u=t(94879),f=t(7831).f,c=t(83258),g=t(92880),d=t(28174),y=t(36374),S=t(27534),E=!1,T=y("meta"),A=0,I=function(B){f(B,T,{value:{objectID:"O"+A++,weakData:{}}})},M=function(B,w){if(!i(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!u(B,T)){if(!d(B))return"F";if(!w)return"E";I(B)}return B[T].objectID},N=function(B,w){if(!u(B,T)){if(!d(B))return!0;if(!w)return!1;I(B)}return B[T].weakData},L=function(B){return S&&E&&d(B)&&!u(B,T)&&I(B),B},$=function(){G.enable=function(){},E=!0;var B=c.f,w=e([].splice),W={};W[T]=1,B(W).length&&(c.f=function(X){for(var z=B(X),k=0,ot=z.length;kz;z++)if(ot=at(A[z]),ot&&c(T,ot))return ot;return new E(!1)}W=g(A,X)}for(st=$?A.next:W.next;!(tt=e(st,W)).done;){try{ot=at(tt.value)}catch(gt){y(W,"throw",gt)}if(typeof ot=="object"&&ot&&c(T,ot))return ot}return new E(!1)}},99797:function(l,p,t){var n=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=n(c,i)}catch(d){g=!0,c=d}if(u==="throw")throw f;if(g)throw c;return e(c),f}},26820:function(l,p,t){var n=t(24519).IteratorPrototype,e=t(5406),o=t(18526),i=t(78401),u=t(29107),f=function(){return this};l.exports=function(c,g,d,y){var S=g+" Iterator";return c.prototype=e(n,{next:o(+!y,d)}),i(c,S,!1,!0),u[S]=f,c}},10218:function(l,p,t){var n=t(14304),e=t(96499),o=t(70457),i=t(86588),u=t(23583),f=t(26820),c=t(26313),g=t(15861),d=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,L=A.BUGGY_SAFARI_ITERATORS,$=E("iterator"),G="keys",B="values",w="entries",W=function(){return this};l.exports=function(X,z,k,ot,st,tt,et){f(k,z,ot);var at=function(ir){if(ir===st&&Tt)return Tt;if(!L&&ir&&ir in It)return It[ir];switch(ir){case G:return function(){return new k(this,ir)};case B:return function(){return new k(this,ir)};case w:return function(){return new k(this,ir)}}return function(){return new k(this)}},gt=z+" Iterator",Pt=!1,It=X.prototype,Mt=It[$]||It["@@iterator"]||st&&It[st],Tt=!L&&Mt||at(st),qt=z==="Array"&&It.entries||Mt,Qt,Jt,er;if(qt&&(Qt=c(qt.call(new X)),Qt!==Object.prototype&&Qt.next&&(!o&&c(Qt)!==N&&(g?g(Qt,N):u(Qt[$])||S(Qt,$,W)),d(Qt,gt,!0,!0),o&&(T[gt]=W))),I&&st===B&&Mt&&Mt.name!==B&&(!o&&M?y(It,"name",B):(Pt=!0,Tt=function(){return e(Mt,this)})),st)if(Jt={values:at(B),keys:tt?Tt:at(G),entries:at(w)},et)for(er in Jt)(L||Pt||!(er in It))&&S(It,er,Jt[er]);else n({target:z,proto:!0,forced:L||Pt},Jt);return(!o||et)&&It[$]!==Tt&&S(It,$,Tt,{name:st}),T[z]=Tt,Jt}},24519:function(l,p,t){var n=t(72069),e=t(23583),o=t(37540),i=t(5406),u=t(26313),f=t(16142),c=t(18565),g=t(70457),d=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)||n(function(){var I={};return S[d].call(I)!==I});A?S={}:g&&(S=i(S)),e(S[d])||f(S,d,function(){return this}),l.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:y}},29107:function(l){l.exports={}},82628:function(l,p,t){var n=t(45344);l.exports=function(e){return n(e.length)}},13749:function(l,p,t){var n=t(11286),e=t(72069),o=t(23583),i=t(94879),u=t(92986),f=t(86588).CONFIGURABLE,c=t(84352),g=t(82367),d=g.enforce,y=g.get,S=String,E=Object.defineProperty,T=n("".slice),A=n("".replace),I=n([].join),M=u&&!e(function(){return E(function(){},"length",{value:8}).length!==8}),N=String(String).split("String"),L=l.exports=function($,G,B){T(S(G),0,7)==="Symbol("&&(G="["+A(S(G),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),B&&B.getter&&(G="get "+G),B&&B.setter&&(G="set "+G),(!i($,"name")||f&&$.name!==G)&&(u?E($,"name",{value:G,configurable:!0}):$.name=G),M&&B&&i(B,"arity")&&$.length!==B.arity&&E($,"length",{value:B.arity});try{B&&i(B,"constructor")&&B.constructor?u&&E($,"prototype",{writable:!1}):$.prototype&&($.prototype=void 0)}catch(W){}var w=d($);return i(w,"source")||(w.source=I(N,typeof G=="string"?G:"")),$};Function.prototype.toString=L(function(){return o(this)&&y(this).source||c(this)},"toString")},1774:function(l,p,t){var n=t(11286),e=Map.prototype;l.exports={Map,set:n(e.set),get:n(e.get),has:n(e.has),remove:n(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 n=t(93976),e=Math.abs,o=2220446049250313e-31,i=1/o,u=function(f){return f+i-i};l.exports=function(f,c,g,d){var y=+f,S=e(y),E=n(y);if(Sg||A!==A?E*(1/0):E*A}},93279:function(l,p,t){var n=t(10418),e=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;l.exports=Math.fround||function(f){return n(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(n){var e=+n;return e>-1e-8&&e<1e-8?e-e*e/2:p(1+e)}},93976:function(l){l.exports=Math.sign||function(t){var n=+t;return n===0||n!==n?n:n<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 n=t(34246),e=t(28167),o=t(45526),i=t(23115).set,u=t(76895),f=t(5286),c=t(7307),g=t(67722),d=t(91707),y=n.MutationObserver||n.WebKitMutationObserver,S=n.document,E=n.process,T=n.Promise,A=e("queueMicrotask"),I,M,N,L,$;if(!A){var G=new u,B=function(){var w,W;for(d&&(w=E.domain)&&w.exit();W=G.get();)try{W()}catch(X){throw G.head&&I(),X}w&&w.enter()};!f&&!d&&!g&&y&&S?(M=!0,N=S.createTextNode(""),new y(B).observe(N,{characterData:!0}),I=function(){N.data=M=!M}):!c&&T&&T.resolve?(L=T.resolve(void 0),L.constructor=T,$=o(L.then,L),I=function(){$(B)}):d?I=function(){E.nextTick(B)}:(i=o(i,n),I=function(){i(B)}),A=function(w){G.head||I(),G.add(w)}}l.exports=A},24649:function(l,p,t){var n=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=n(u),this.reject=n(f)};l.exports.f=function(i){return new o(i)}},15453:function(l,p,t){var n=t(17361);l.exports=function(e,o){return e===void 0?arguments.length<2?"":o:n(e)}},92337:function(l,p,t){var n=t(11566),e=TypeError;l.exports=function(o){if(n(o))throw new e("The method doesn't accept regular expressions");return o}},98074:function(l,p,t){var n=t(34246),e=n.isFinite;l.exports=Number.isFinite||function(i){return typeof i=="number"&&e(i)}},25838:function(l,p,t){var n=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=o("".charAt),g=n.parseFloat,d=n.Symbol,y=d&&d.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 n=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=n.parseInt,g=n.Symbol,d=g&&g.iterator,y=/^[+-]?0x/i,S=o(y.exec),E=c(f+"08")!==8||c(f+"0x16")!==22||d&&!e(function(){c(Object(d))});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 n=t(92986),e=t(11286),o=t(96499),i=t(72069),u=t(18350),f=t(24943),c=t(79591),g=t(49671),d=t(72181),y=Object.assign,S=Object.defineProperty,E=e([].concat);l.exports=!y||i(function(){if(n&&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,L=1,$=f.f,G=c.f;N>L;)for(var B=d(arguments[L++]),w=$?E(u(B),$(B)):u(B),W=w.length,X=0,z;W>X;)z=w[X++],(!n||o(G,B,z))&&(M[z]=B[z]);return M}:y},5406:function(l,p,t){var n=t(25001),e=t(61963),o=t(75785),i=t(19423),u=t(96439),f=t(85501),c=t(44869),g=">",d="<",y="prototype",S="script",E=c("IE_PROTO"),T=function(){},A=function($){return d+S+g+$+d+"/"+S+g},I=function($){$.write(A("")),$.close();var G=$.parentWindow.Object;return $=null,G},M=function(){var $=f("iframe"),G="java"+S+":",B;return $.style.display="none",u.appendChild($),$.src=String(G),B=$.contentWindow.document,B.open(),B.write(A("document.F=Object")),B.close(),B.F},N,L=function(){try{N=new ActiveXObject("htmlfile")}catch(G){}L=typeof document!="undefined"?document.domain&&N?I(N):M():I(N);for(var $=o.length;$--;)delete L[y][o[$]];return L()};i[E]=!0,l.exports=Object.create||function(G,B){var w;return G!==null?(T[y]=n(G),w=new T,T[y]=null,w[E]=G):w=L(),B===void 0?w:e.f(w,B)}},61963:function(l,p,t){var n=t(92986),e=t(356),o=t(7831),i=t(25001),u=t(36859),f=t(18350);p.f=n&&!e?Object.defineProperties:function(g,d){i(g);for(var y=u(d),S=f(d),E=S.length,T=0,A;E>T;)o.f(g,A=S[T++],y[A]);return g}},7831:function(l,p,t){var n=t(92986),e=t(52515),o=t(356),i=t(25001),u=t(50035),f=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,d="enumerable",y="configurable",S="writable";p.f=n?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:d in I?I[d]:M[d],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 n=t(92986),e=t(96499),o=t(79591),i=t(18526),u=t(36859),f=t(50035),c=t(94879),g=t(52515),d=Object.getOwnPropertyDescriptor;p.f=n?d:function(S,E){if(S=u(S),E=f(E),g)try{return d(S,E)}catch(T){}if(c(S,E))return i(!e(o.f,S,E),S[E])}},92880:function(l,p,t){var n=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&&n(g)==="Window"?f(g):o(e(g))}},83258:function(l,p,t){var n=t(6242),e=t(75785),o=e.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(u){return n(u,o)}},24943:function(l,p){p.f=Object.getOwnPropertySymbols},26313:function(l,p,t){var n=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(d){var y=o(d);if(n(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 n=t(72069),e=t(37540),o=t(14274),i=t(72058),u=Object.isExtensible,f=n(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 n=t(11286);l.exports=n({}.isPrototypeOf)},6242:function(l,p,t){var n=t(11286),e=t(94879),o=t(36859),i=t(94319).indexOf,u=t(19423),f=n([].push);l.exports=function(c,g){var d=o(c),y=0,S=[],E;for(E in d)!e(u,E)&&e(d,E)&&f(S,E);for(;g.length>y;)e(d,E=g[y++])&&(~i(S,E)||f(S,E));return S}},18350:function(l,p,t){var n=t(6242),e=t(75785);l.exports=Object.keys||function(i){return n(i,e)}},79591:function(l,p){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,e=n&&!t.call({1:2},1);p.f=e?function(i){var u=n(this,i);return!!u&&u.enumerable}:t},57629:function(l,p,t){var n=t(70457),e=t(34246),o=t(72069),i=t(66577);l.exports=n||!o(function(){if(!(i&&i<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete e[u]}})},15861:function(l,p,t){var n=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=n(Object.prototype,"__proto__","set"),c(f,[]),u=f instanceof Array}catch(g){}return function(d,y){return o(d),i(y),e(d)&&(u?c(d,y):d.__proto__=y),d}}():void 0)},8511:function(l,p,t){var n=t(92986),e=t(72069),o=t(11286),i=t(26313),u=t(18350),f=t(36859),c=t(79591).f,g=o(c),d=o([].push),y=n&&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,L=0,$=[],G;N>L;)G=I[L++],(!n||(M?G in A:g(A,G)))&&d($,E?[G,A[G]]:A[G]);return $}};l.exports={entries:S(!0),values:S(!1)}},60105:function(l,p,t){var n=t(67878),e=t(9205);l.exports=n?{}.toString:function(){return"[object "+e(this)+"]"}},2064:function(l,p,t){var n=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=n(c,u))||e(c=u.valueOf)&&!o(g=n(c,u))||f!=="string"&&e(c=u.toString)&&!o(g=n(c,u)))return g;throw new i("Can't convert object to primitive value")}},16885:function(l,p,t){var n=t(38941),e=t(11286),o=t(83258),i=t(24943),u=t(25001),f=e([].concat);l.exports=n("Reflect","ownKeys")||function(g){var d=o.f(u(g)),y=i.f;return y?f(d,y(g)):d}},75081:function(l,p,t){var n=t(34246);l.exports=n},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 n=t(34246),e=t(98844),o=t(23583),i=t(13278),u=t(84352),f=t(18565),c=t(21501),g=t(70457),d=t(44241),y=e&&e.prototype,S=f("species"),E=!1,T=o(n.PromiseRejectionEvent),A=i("Promise",function(){var I=u(e),M=I!==String(e);if(!M&&d===66||g&&!(y.catch&&y.finally))return!0;if(!d||d<51||!/native code/.test(I)){var N=new e(function(G){G(1)}),L=function(G){G(function(){},function(){})},$=N.constructor={};if($[S]=L,E=N.then(function(){})instanceof L,!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 n=t(34246);l.exports=n.Promise},87408:function(l,p,t){var n=t(25001),e=t(37540),o=t(24649);l.exports=function(i,u){if(n(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 n=t(98844),e=t(97494),o=t(37130).CONSTRUCTOR;l.exports=o||!e(function(i){n.all(i).then(void 0,function(){})})},2594:function(l,p,t){var n=t(7831).f;l.exports=function(e,o,i){i in e||n(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 n={item:t,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t){var n=this.head=t.next;return n===null&&(this.tail=null),t.item}}},l.exports=p},33064:function(l,p,t){var n=t(96499),e=t(25001),o=t(23583),i=t(14274),u=t(44381),f=TypeError;l.exports=function(c,g){var d=c.exec;if(o(d)){var y=n(d,c,g);return y!==null&&e(y),y}if(i(c)==="RegExp")return n(u,c,g);throw new f("RegExp#exec called on incompatible receiver")}},44381:function(l,p,t){var n=t(96499),e=t(11286),o=t(17361),i=t(29833),u=t(39807),f=t(96731),c=t(5406),g=t(82367).get,d=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),L=function(){var w=/a/,W=/b*/g;return n(E,w,"a"),n(E,W,"a"),w.lastIndex!==0||W.lastIndex!==0}(),$=u.BROKEN_CARET,G=/()??/.exec("")[1]!==void 0,B=L||G||$||d||y;B&&(T=function(W){var X=this,z=g(X),k=o(W),ot=z.raw,st,tt,et,at,gt,Pt,It;if(ot)return ot.lastIndex=X.lastIndex,st=n(T,ot,k),X.lastIndex=ot.lastIndex,st;var Mt=z.groups,Tt=$&&X.sticky,qt=n(i,X),Qt=X.source,Jt=0,er=k;if(Tt&&(qt=M(qt,"y",""),I(qt,"g")===-1&&(qt+="g"),er=N(k,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&A(k,X.lastIndex-1)!==` +`),x=v?m.length-1:1;r.html(""),m.forEach((O,P)=>{r.append("tspan").attr("x",0).attr("dy",`${P===0?s[0]*x:s[1]}em`).text(O)})}}}function Fl(r){const{x:a,y:s,width:v,height:h}=r.getBBox();return[{x:a,y:s+h},{x:a,y:s},{x:a+v,y:s},{x:a+v,y:s+h}]}function mf(r){const{width:a,height:s}=r.getBoundingClientRect(),v=Fl(r),h=v[0].x,m=Math.min(v[0].y,v[1].y);return{x:h,y:m,width:a,height:s}}function xf(r,a){var s;const v=r&&((s=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:s[0]);let h=[0,0];try{h=d3Pointer(v||r,a)}catch(m){}return h.map(m=>isNaN(m)?0:m)}function Dl(r){const{event:a,$el:s}=r,v=s.subchart.main||s.main;let h;return a&&a.type==="brush"?h=a.selection:v&&(h=v.select(".bb-brush").node())&&(h=d3BrushSelection(h)),h}function Sf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Ef(r=!0,a=0,s=1e4){const v=window.crypto||window.msCrypto,h=v?a+v.getRandomValues(new Uint32Array(1))[0]%(s-a+1):Math.floor(Math.random()*(s-a)+a);return r?String(h):h}function Eo(r,a,s,v,h){if(s>v)return-1;const m=Math.floor((s+v)/2);let{x,w:O=0}=r[m];return h&&(x=r[m].y,O=r[m].h),a>=x&&a<=x+O?m:a{if(Fe(s)&&s.constructor){const v=new s.constructor;for(const h in s)v[h]=a(s[h]);return v}return s};return r.map(s=>a(s)).reduce((s,v)=>xo(xo({},s),v))}function bl(r={},a){aa(a)&&a.forEach(s=>bl(r,s));for(const s in a)/^\d+$/.test(s)||s in r||(r[s]=a[s]);return r}const If=r=>r.charAt(0).toUpperCase()+r.slice(1);function Af(r,a="-"){return r.split(a).map((s,v)=>v?s.charAt(0).toUpperCase()+s.slice(1).toLowerCase():s.toLowerCase()).join("")}const Ll=r=>[].slice.call(r);function Rf(r,a,s){const{rootSelector:v="",sheet:h}=r,x=`${v} ${(O=>O.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(a)} {${s.join(";")}}`;return h[h.insertRule?"insertRule":"addRule"](x,h.cssRules.length)}function Pf(r){let a=[];return r.forEach(s=>{var v;try{s.cssRules&&s.cssRules.length&&(a=a.concat(Ll(s.cssRules)))}catch(h){(v=window.console)==null||v.warn(`Error while reading rules from ${s.href}: ${h.toString()}`)}}),a}function Cf(r){var a,s,v,h,m,x;return{x:((s=(a=window.pageXOffset)!=null?a:window.scrollX)!=null?s:0)+((v=r.scrollLeft)!=null?v:0),y:((m=(h=window.pageYOffset)!=null?h:window.scrollY)!=null?m:0)+((x=r.scrollTop)!=null?x:0)}}function Mf(r,a=0,s=0,v=!0){const h=new DOMPoint(a,s),m=r.getScreenCTM();return h.matrixTransform(v?m==null?void 0:m.inverse():m)}function Nf(r){const a=r?r.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 Ff(r){const a=r[0]instanceof Date,s=(a?r.map(Number):r).filter((v,h,m)=>m.indexOf(v)===h);return a?s.map(v=>new Date(v)):s}function Df(r){return r&&r.length?r.reduce((a,s)=>a.concat(s)):[]}function oa(r,...a){if(!a.length||a.length===1&&!a[0])return r;const s=a.shift();return Fe(r)&&Fe(s)&&Object.keys(s).forEach(v=>{const h=s[v];Fe(h)?(!r[v]&&(r[v]={}),r[v]=oa(r[v],h)):r[v]=aa(h)?h.concat():h}),oa(r,...a)}function $l(r,a=!0){let s;return r[0]instanceof Date?s=a?(v,h)=>v-h:(v,h)=>h-v:a&&!r.every(isNaN)?s=(v,h)=>v-h:a||(s=(v,h)=>v>h&&-1||vNl(v));return s.length?na(s[0])?s=Math[r](...s):s[0]instanceof Date&&(s=$l(s,r==="min")[0]):s=void 0,s}const Lf=(r,a,s=1)=>{const v=[],h=Math.max(0,Math.ceil((a-r)/s))|0;for(let m=r;m{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(a,s,v=r())=>{a.dispatchEvent(new MouseEvent(s,v))}}catch(a){return(s,v,h=r())=>{const m=Ol.createEvent("MouseEvent");m.initMouseEvent(v,h.bubbles,h.cancelable,Me,0,h.screenX,h.screenY,h.clientX,h.clientY,!1,!1,!1,!1,0,null),s.dispatchEvent(m)}}})(),touch:(r,a,s)=>{const v=new Touch(oa({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},s));r.dispatchEvent(new TouchEvent(a,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[v],targetTouches:[],changedTouches:[v]}))}};function Uf(r,a){let s=r;for(const v in a)s=s.replace(new RegExp(`{=${v}}`,"g"),a[v]);return s}function Bf(r){var a;let s;if(r instanceof Date)s=r;else if(Ne(r)){const{config:v,format:h}=this;s=(a=h.dataTime(v.data_xFormat)(r))!=null?a:new Date(r)}else na(r)&&!isNaN(r)&&(s=new Date(+r));return(!s||isNaN(+s))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),s}function jf(r){const a=r.attr("viewBox");return a?/(\d+(\.\d+)?){3}/.test(a):!1}function wf(r,a,s=!1){const v=!!r.node;let h=!1;for(const[m,x]of Object.entries(a))if(h=v?r.style(m)===x:r.style[m]===x,s===!1&&h)break;return h}function Gf(){var r,a;return((r=document)==null?void 0:r.hidden)===!1||((a=document)==null?void 0:a.visibilityState)==="visible"}function Vf(r,a){const{DocumentTouch:s,matchMedia:v,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(v!=null&&v("(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 r&&((v==null?void 0:v("any-hover:hover").matches)||(v==null?void 0:v("any-pointer:fine").matches))&&"mouse"||m&&"touch"||"mouse"}function Ul(r,a){a()===!1?requestAnimationFrame(()=>Ul(r,a)):r()}function Bl(r){const a=this.config;let s,v,h;const m=()=>{const x=v.shift();if(x&&s&&ea(s)&&x in s)return s=s[x],m();if(!x)return s};Object.keys(a).forEach(x=>{s=r,v=x.split("_"),h=m(),So(h)&&(a[x]=h)}),this.api&&(this.state.orgConfig=r)}var jl=Object.defineProperty,wl=(r,a,s)=>a in r?jl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,sa=(r,a,s)=>wl(r,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.13.0-nightly-20240924004652");class Gl{constructor(){return{selector:void 0,extent:1,area:0}}}var Vl=Object.defineProperty,Hl=(r,a,s)=>a in r?Vl(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,Wl=(r,a,s)=>Hl(r,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,v=s?a.main.selectAll(s):a.text;!v.empty()&&this.preventLabelOverlap(v)}generateVoronoi(a){const{$$:s}=this,{scale:v}=s,[h,m]=["x","y"].map(x=>v[x].domain());return[h[1],m[0]]=[m[0],h[1]],Be.from(a).voronoi([...h,...m])}preventLabelOverlap(a){const{extent:s,area:v}=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,U]=Xo(O),b=Math.abs(Jo(O)),F=Math.round(Math.atan2(U-R,C-P)/Math.PI*2),Z=s*(F===0?1:-1),D=F===-1?-s:s+5,j=Math.abs(F)===1?"middle":F===0?"start":"end";this.style.display=b=X&&(!w||z))k=I(G,0,X);else{var ot=w&&!z&&N?{maxByteLength:N(G)}:void 0;k=new y(X,ot);for(var st=new S(G),tt=new S(k),et=E(X,W),at=0;at>8&255]},Tr=function($t){return[$t&255,$t>>8&255,$t>>16&255,$t>>24&255]},pr=function($t){return $t[3]<<24|$t[2]<<16|$t[1]<<8|$t[0]},Ir=function($t){return Er(A($t),23,4)},Ur=function($t){return Er($t,52,8)},br=function($t,Ht,Dt){c($t[st],Ht,{configurable:!0,get:function(){return Dt(this)[Ht]}})},Pr=function($t,Ht,Dt,cr){var vr=gt($t),ar=T(Dt),rr=!!cr;if(ar+Ht>vr.byteLength)throw new ir(et);var jr=vr.bytes,wr=ar+vr.byteOffset,yt=$(jr,wr,wr+Ht);return rr?yt:xr(yt)},mr=function($t,Ht,Dt,cr,vr,ar){var rr=gt($t),jr=T(Dt),wr=cr(+vr),yt=!!ar;if(jr+Ht>rr.byteLength)throw new ir(et);for(var jt=rr.bytes,Gt=jr+rr.byteOffset,Bt=0;Btar)throw new ir("Wrong offset");if(cr=cr===void 0?ar-rr:E(cr),rr+cr>ar)throw new ir(tt);Pt(this,{type:ot,buffer:Ht,byteLength:cr,byteOffset:rr,bytes:vr.bytes}),o||(this.buffer=Ht,this.byteLength=cr,this.byteOffset=rr)},Qt=qt[st],o&&(br(Mt,"byteLength",at),br(qt,"buffer",gt),br(qt,"byteLength",gt),br(qt,"byteOffset",gt)),g(Qt,{getInt8:function(Ht){return Pr(this,1,Ht)[0]<<24>>24},getUint8:function(Ht){return Pr(this,1,Ht)[0]},getInt16:function(Ht){var Dt=Pr(this,2,Ht,arguments.length>1?arguments[1]:!1);return(Dt[1]<<8|Dt[0])<<16>>16},getUint16:function(Ht){var Dt=Pr(this,2,Ht,arguments.length>1?arguments[1]:!1);return Dt[1]<<8|Dt[0]},getInt32:function(Ht){return pr(Pr(this,4,Ht,arguments.length>1?arguments[1]:!1))},getUint32:function(Ht){return pr(Pr(this,4,Ht,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Ht){return Yt(Pr(this,4,Ht,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Ht){return Yt(Pr(this,8,Ht,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Ht,Dt){mr(this,1,Ht,tr,Dt)},setUint8:function(Ht,Dt){mr(this,1,Ht,tr,Dt)},setInt16:function(Ht,Dt){mr(this,2,Ht,Sr,Dt,arguments.length>2?arguments[2]:!1)},setUint16:function(Ht,Dt){mr(this,2,Ht,Sr,Dt,arguments.length>2?arguments[2]:!1)},setInt32:function(Ht,Dt){mr(this,4,Ht,Tr,Dt,arguments.length>2?arguments[2]:!1)},setUint32:function(Ht,Dt){mr(this,4,Ht,Tr,Dt,arguments.length>2?arguments[2]:!1)},setFloat32:function(Ht,Dt){mr(this,4,Ht,Ir,Dt,arguments.length>2?arguments[2]:!1)},setFloat64:function(Ht,Dt){mr(this,8,Ht,Ur,Dt,arguments.length>2?arguments[2]:!1)}});else{var Nr=X&&It.name!==k;!d(function(){It(1)})||!d(function(){new It(-1)})||d(function(){return new It,new It(1.5),new It(NaN),It.length!==1||Nr&&!z})?(Mt=function(Ht){return y(this,Tt),G(new It(T(Ht)),this,Mt)},Mt[st]=Tt,Tt.constructor=Mt,B(Mt,It)):Nr&&z&&f(It,"name",k),N&&M(Qt)!==Jt&&N(Qt,Jt);var Or=new qt(new Mt(2)),yr=e(Qt.setInt8);Or.setInt8(0,2147483648),Or.setInt8(1,2147483649),(Or.getInt8(0)||!Or.getInt8(1))&&g(Qt,{setInt8:function(Ht,Dt){yr(this,Ht,Dt<<24>>24)},setUint8:function(Ht,Dt){yr(this,Ht,Dt<<24>>24)}},{unsafe:!0})}w(Mt,k),w(qt,ot),l.exports={ArrayBuffer:Mt,DataView:qt}},81499:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628),i=t(12384),u=Math.min;l.exports=[].copyWithin||function(c,g){var d=n(this),y=o(d),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 d?d[S]=d[E]:i(d,S),S+=I,E+=I;return d}},43011:function(l,p,t){var n=t(49671),e=t(4652),o=t(82628);l.exports=function(u){for(var f=n(this),c=o(f),g=arguments.length,d=e(g>1?arguments[1]:void 0,c),y=g>2?arguments[2]:void 0,S=y===void 0?c:e(y,c);S>d;)f[d++]=u;return f}},13349:function(l,p,t){var n=t(66655).forEach,e=t(6148),o=e("forEach");l.exports=o?[].forEach:function(u){return n(this,u,arguments.length>1?arguments[1]:void 0)}},5220:function(l,p,t){var n=t(82628);l.exports=function(e,o,i){for(var u=0,f=arguments.length>2?i:n(o),c=new e(f);f>u;)c[u]=o[u++];return c}},48258:function(l,p,t){var n=t(45526),e=t(96499),o=t(49671),i=t(39969),u=t(48199),f=t(11051),c=t(82628),g=t(84082),d=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,L=N!==void 0;L&&(N=n(N,M>2?arguments[2]:void 0));var $=y(A),G=0,B,w,W,X,z,k;if($&&!(this===S&&u($)))for(w=I?new this:[],X=d(A,$),z=X.next;!(W=e(z,X)).done;G++)k=L?i(X,N,[W.value,G],!0):W.value,g(w,G,k);else for(B=c(A),w=I?new this(B):S(B);B>G;G++)k=L?N(A[G],G):A[G],g(w,G,k);return w.length=G,w}},94319:function(l,p,t){var n=t(36859),e=t(4652),o=t(82628),i=function(u){return function(f,c,g){var d=n(f),y=o(d);if(y===0)return!u&&-1;var S=e(g,y),E;if(u&&c!==c){for(;y>S;)if(E=d[S++],E!==E)return!0}else for(;y>S;S++)if((u||S in d)&&d[S]===c)return u||S||0;return!u&&-1}};l.exports={includes:i(!0),indexOf:i(!1)}},73849:function(l,p,t){var n=t(45526),e=t(72181),o=t(49671),i=t(82628),u=function(f){var c=f===1;return function(g,d,y){for(var S=o(g),E=e(S),T=i(E),A=n(d,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 n=t(45526),e=t(11286),o=t(72181),i=t(49671),u=t(82628),f=t(62083),c=e([].push),g=function(d){var y=d===1,S=d===2,E=d===3,T=d===4,A=d===6,I=d===7,M=d===5||A;return function(N,L,$,G){for(var B=i(N),w=o(B),W=u(w),X=n(L,$),z=0,k=G||f,ot=y?k(N,W):S||I?k(N,0):void 0,st,tt;W>z;z++)if((M||z in w)&&(st=w[z],tt=X(st,z,B),d))if(y)ot[z]=tt;else if(tt)switch(d){case 3:return!0;case 5:return st;case 6:return z;case 2:c(ot,st)}else switch(d){case 4:return!1;case 7:c(ot,st)}return A?-1:E||T?T:ot}};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 n=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,d=u("lastIndexOf"),y=g||!d;l.exports=y?function(E){if(g)return n(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 n=t(72069),e=t(18565),o=t(44241),i=e("species");l.exports=function(u){return o>=51||!n(function(){var f=[],c=f.constructor={};return c[i]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},6148:function(l,p,t){var n=t(72069);l.exports=function(e,o){var i=[][e];return!!i&&n(function(){i.call(null,o||function(){return 1},1)})}},97264:function(l,p,t){var n=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(d,y,S,E){var T=e(d),A=o(T),I=i(T);if(n(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 n=t(92986),e=t(3438),o=TypeError,i=Object.getOwnPropertyDescriptor,u=n&&!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 n=t(11286);l.exports=n([].slice)},13270:function(l,p,t){var n=t(22806),e=Math.floor,o=function(i,u){var f=i.length;if(f<8)for(var c=1,g,d;c0;)i[d]=i[--d];d!==c++&&(i[d]=g)}else for(var y=e(f/2),S=o(n(i,0,y),u),E=o(n(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),tt;tt=tt?tt.next:ot.first;)for(st(tt.value,tt.key,this);tt&&tt.removed;)tt=tt.previous},has:function(k){return!!X(this,k)}}),o(B,L?{get:function(k){var ot=X(this,k);return ot&&ot.value},set:function(k,ot){return W(this,k===0?0:k,ot)}}:{add:function(k){return W(this,k=k===0?0:k,k)}}),S&&e(B,"size",{configurable:!0,get:function(){return w(this).size}}),G},setStrong:function(M,N,L){var $=N+" Iterator",G=I(N),B=I($);g(M,N,function(w,W){A(this,{type:$,target:w,state:G(w),kind:W,last:null})},function(){for(var w=B(this),W=w.kind,X=w.last;X&&X.removed;)X=X.previous;return!w.target||!(w.last=X=X?X.next:w.state.first)?(w.target=null,d(void 0,!0)):d(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},L?"entries":"values",!L,!0),y(N)}}},94667:function(l,p,t){var n=t(11286),e=t(2725),o=t(31853).getWeakData,i=t(12833),u=t(25001),f=t(5683),c=t(37540),g=t(55902),d=t(66655),y=t(94879),S=t(82367),E=S.set,T=S.getterFor,A=d.find,I=d.findIndex,M=n([].splice),N=0,L=function(B){return B.frozen||(B.frozen=new $)},$=function(){this.entries=[]},G=function(B,w){return A(B.entries,function(W){return W[0]===w})};$.prototype={get:function(B){var w=G(this,B);if(w)return w[1]},has:function(B){return!!G(this,B)},set:function(B,w){var W=G(this,B);W?W[1]=w:this.entries.push([B,w])},delete:function(B){var w=I(this.entries,function(W){return W[0]===B});return~w&&M(this.entries,w,1),!!~w}},l.exports={getConstructor:function(B,w,W,X){var z=B(function(tt,et){i(tt,k),E(tt,{type:w,id:N++,frozen:null}),f(et)||g(et,tt[X],{that:tt,AS_ENTRIES:W})}),k=z.prototype,ot=T(w),st=function(tt,et,at){var gt=ot(tt),Pt=o(u(et),!0);return Pt===!0?L(gt).set(et,at):Pt[gt.id]=at,tt};return e(k,{delete:function(tt){var et=ot(this);if(!c(tt))return!1;var at=o(tt);return at===!0?L(et).delete(tt):at&&y(at,et.id)&&delete at[et.id]},has:function(et){var at=ot(this);if(!c(et))return!1;var gt=o(et);return gt===!0?L(at).has(et):gt&&y(gt,at.id)}}),e(k,W?{get:function(et){var at=ot(this);if(c(et)){var gt=o(et);if(gt===!0)return L(at).get(et);if(gt)return gt[at.id]}},set:function(et,at){return st(this,et,at)}}:{add:function(et){return st(this,et,!0)}}),z}}},89378:function(l,p,t){var n=t(14304),e=t(34246),o=t(11286),i=t(13278),u=t(16142),f=t(31853),c=t(55902),g=t(12833),d=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,L){var $=M.indexOf("Map")!==-1,G=M.indexOf("Weak")!==-1,B=$?"set":"add",w=e[M],W=w&&w.prototype,X=w,z={},k=function(Pt){var It=o(W[Pt]);u(W,Pt,Pt==="add"?function(Tt){return It(this,Tt===0?0:Tt),this}:Pt==="delete"?function(Mt){return G&&!S(Mt)?!1:It(this,Mt===0?0:Mt)}:Pt==="get"?function(Tt){return G&&!S(Tt)?void 0:It(this,Tt===0?0:Tt)}:Pt==="has"?function(Tt){return G&&!S(Tt)?!1:It(this,Tt===0?0:Tt)}:function(Tt,qt){return It(this,Tt===0?0:Tt,qt),this})},ot=i(M,!d(w)||!(G||W.forEach&&!E(function(){new w().entries().next()})));if(ot)X=L.getConstructor(N,M,$,B),f.enable();else if(i(M,!0)){var st=new X,tt=st[B](G?{}:-0,1)!==st,et=E(function(){st.has(1)}),at=T(function(Pt){new w(Pt)}),gt=!G&&E(function(){for(var Pt=new w,It=5;It--;)Pt[B](It,It);return!Pt.has(-0)});at||(X=N(function(Pt,It){g(Pt,W);var Mt=I(new w,Pt,X);return y(It)||c(It,Mt[B],{that:Mt,AS_ENTRIES:$}),Mt}),X.prototype=W,W.constructor=X),(et||gt)&&(k("delete"),k("has"),$&&k("get")),(gt||tt)&&k(B),G&&W.clear&&delete W.clear}return z[M]=X,n({global:!0,constructor:!0,forced:X!==w},z),A(X,M),G||L.setStrong(X,M,$),X}},93706:function(l,p,t){var n=t(94879),e=t(16885),o=t(71349),i=t(7831);l.exports=function(u,f,c){for(var g=e(f),d=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 n=t(92986),e=t(7831),o=t(18526);l.exports=n?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 n=t(92986),e=t(7831),o=t(18526);l.exports=function(i,u,f){n?e.f(i,u,o(0,f)):i[u]=f}},11890:function(l,p,t){var n=t(11286),e=t(72069),o=t(61607).start,i=RangeError,u=isFinite,f=Math.abs,c=Date.prototype,g=c.toISOString,d=n(c.getTime),y=n(c.getUTCDate),S=n(c.getUTCFullYear),E=n(c.getUTCHours),T=n(c.getUTCMilliseconds),A=n(c.getUTCMinutes),I=n(c.getUTCMonth),M=n(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(d(this)))throw new i("Invalid time value");var L=this,$=S(L),G=T(L),B=$<0?"-":$>9999?"+":"";return B+o(f($),B?6:4,0)+"-"+o(I(L)+1,2,0)+"-"+o(y(L),2,0)+"T"+o(E(L),2,0)+":"+o(A(L),2,0)+":"+o(M(L),2,0)+"."+o(G,3,0)+"Z"}:g},84306:function(l,p,t){var n=t(25001),e=t(2064),o=TypeError;l.exports=function(i){if(n(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 n=t(13749),e=t(7831);l.exports=function(o,i,u){return u.get&&n(u.get,i,{getter:!0}),u.set&&n(u.set,i,{setter:!0}),e.f(o,i,u)}},16142:function(l,p,t){var n=t(23583),e=t(7831),o=t(13749),i=t(36003);l.exports=function(u,f,c,g){g||(g={});var d=g.enumerable,y=g.name!==void 0?g.name:f;if(n(c)&&o(c,y,g),g.global)d?u[f]=c:i(f,c);else{try{g.unsafe?u[f]&&(d=!0):delete u[f]}catch(S){}d?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 n=t(16142);l.exports=function(e,o,i){for(var u in o)n(e,u,o[u],i);return e}},36003:function(l,p,t){var n=t(34246),e=Object.defineProperty;l.exports=function(o,i){try{e(n,o,{value:i,configurable:!0,writable:!0})}catch(u){n[o]=i}return i}},12384:function(l,p,t){var n=t(82453),e=TypeError;l.exports=function(o,i){if(!delete o[i])throw new e("Cannot delete property "+n(i)+" of "+n(o))}},92986:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(l,p,t){var n=t(34246),e=t(81191),o=t(99050),i=n.structuredClone,u=n.ArrayBuffer,f=n.MessageChannel,c=!1,g,d,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&&(d=new f,y=new u(2),S=function(E){d.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 n=t(34246),e=t(37540),o=n.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(n){if(n>t)throw p("Maximum allowed index exceeded");return n}},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 n=t(85501),e=n("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 n=t(18257),e=n.match(/firefox\/(\d+)/i);l.exports=!!e&&+e[1]},17417:function(l,p,t){var n=t(18257);l.exports=/MSIE|Trident/.test(n)},7307:function(l,p,t){var n=t(18257);l.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},5286:function(l,p,t){var n=t(18257);l.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},91707:function(l,p,t){var n=t(21501);l.exports=n==="NODE"},67722:function(l,p,t){var n=t(18257);l.exports=/web0s(?!.*chrome)/i.test(n)},18257:function(l,p,t){var n=t(34246),e=n.navigator,o=e&&e.userAgent;l.exports=o?String(o):""},44241:function(l,p,t){var n=t(34246),e=t(18257),o=n.process,i=n.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 n=t(18257),e=n.match(/AppleWebKit\/(\d+)\./);l.exports=!!e&&+e[1]},21501:function(l,p,t){var n=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":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":o(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"}()},40851:function(l,p,t){var n=t(11286),e=Error,o=n("".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 n=t(90809),e=t(40851),o=t(16929),i=Error.captureStackTrace;l.exports=function(u,f,c,g){o&&(i?i(u,f):n(u,"stack",e(c,g)))}},16929:function(l,p,t){var n=t(72069),e=t(18526);l.exports=!n(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 n=t(92986),e=t(72069),o=t(25001),i=t(15453),u=Error.prototype.toString,f=e(function(){if(n){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),d=i(g.name,"Error"),y=i(g.message);return d?y?d+": "+y:d:y}:u},14304:function(l,p,t){var n=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,d){var y=g.target,S=g.global,E=g.stat,T,A,I,M,N,L;if(S?A=n:E?A=n[y]||u(y,{}):A=n[y]&&n[y].prototype,A)for(I in d){if(N=d[I],g.dontCallGetSet?(L=e(A,I),M=L&&L.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 n=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(d,y,S,E){var T=u(d),A=!i(function(){var L={};return L[T]=function(){return 7},""[d](L)!==7}),I=A&&!i(function(){var L=!1,$=/a/;return d==="split"&&($={},$.constructor={},$.constructor[c]=function(){return $},$.flags="",$[T]=/./[T]),$.exec=function(){return L=!0,null},$[T](""),!L});if(!A||!I||S){var M=/./[T],N=y(T,""[d],function(L,$,G,B,w){var W=$.exec;return W===o||W===g.exec?A&&!w?{done:!0,value:n(M,$,G,B)}:{done:!0,value:n(L,G,$,B)}:{done:!1}});e(String.prototype,d,N[0]),e(g,T,N[1])}E&&f(g[T],"sham",!0)}},53149:function(l,p,t){var n=t(3438),e=t(82628),o=t(20095),i=t(45526),u=function(f,c,g,d,y,S,E,T){for(var A=y,I=0,M=E?i(E,T):!1,N,L;I0&&n(N)?(L=e(N),A=u(f,c,N,L,A,S-1)-1):(o(A+1),f[A]=N),A++),I++;return A};l.exports=u},27534:function(l,p,t){var n=t(72069);l.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(l,p,t){var n=t(87878),e=Function.prototype,o=e.apply,i=e.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(n?i.bind(o):function(){return i.apply(o,arguments)})},45526:function(l,p,t){var n=t(77422),e=t(85156),o=t(87878),i=n(n.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 n=t(72069);l.exports=!n(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})},91384:function(l,p,t){var n=t(11286),e=t(85156),o=t(37540),i=t(94879),u=t(22806),f=t(87878),c=Function,g=n([].concat),d=n([].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(d,y,S,E,T,A){var I=S+d.length,M=E.length,N=g;return T!==void 0&&(T=e(T),N=c),u(A,N,function(L,$){var G;switch(i($,0)){case"$":return"$";case"&":return d;case"`":return f(y,0,S);case"'":return f(y,I);case"<":G=T[f($,1,-1)];break;default:var B=+$;if(B===0)return L;if(B>M){var w=o(B/10);return w===0?L:w<=M?E[w-1]===void 0?i($,1):E[w-1]+i($,1):L}G=E[B-1]}return G===void 0?"":G})}},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 n=t(11286),e=t(49671),o=n({}.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(n){}}},96439:function(l,p,t){var n=t(38941);l.exports=n("document","documentElement")},52515:function(l,p,t){var n=t(92986),e=t(72069),o=t(85501);l.exports=!n&&!e(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(l){var p=Array,t=Math.abs,n=Math.pow,e=Math.floor,o=Math.log,i=Math.LN2,u=function(c,g,d){var y=p(d),S=d*8-g-1,E=(1<>1,A=g===23?n(2,-24)-n(2,-77):0,I=c<0||c===0&&1/c<0?1:0,M=0,N,L,$;for(c=t(c),c!==c||c===1/0?(L=c!==c?1:0,N=E):(N=e(o(c)/i),$=n(2,-N),c*$<1&&(N--,$*=2),N+T>=1?c+=A/$:c+=A*n(2,1-T),c*$>=2&&(N++,$/=2),N+T>=E?(L=0,N=E):N+T>=1?(L=(c*$-1)*n(2,g),N+=T):(L=c*n(2,T-1)*n(2,g),N=0));g>=8;)y[M++]=L&255,L/=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 d=c.length,y=d*8-g-1,S=(1<>1,T=y-7,A=d-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+=n(2,g),M-=E}return(I?-1:1)*N*n(2,M-g)};l.exports={pack:u,unpack:f}},72181:function(l,p,t){var n=t(11286),e=t(72069),o=t(14274),i=Object,u=n("".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 n=t(23583),e=t(37540),o=t(15861);l.exports=function(i,u,f){var c,g;return o&&n(c=u.constructor)&&c!==f&&e(g=c.prototype)&&g!==f.prototype&&o(i,g),i}},84352:function(l,p,t){var n=t(11286),e=t(23583),o=t(70443),i=n(Function.toString);e(o.inspectSource)||(o.inspectSource=function(u){return i(u)}),l.exports=o.inspectSource},31486:function(l,p,t){var n=t(37540),e=t(90809);l.exports=function(o,i){n(i)&&"cause"in i&&e(o,"cause",i.cause)}},31853:function(l,p,t){var n=t(14304),e=t(11286),o=t(19423),i=t(37540),u=t(94879),f=t(7831).f,c=t(83258),g=t(92880),d=t(28174),y=t(36374),S=t(27534),E=!1,T=y("meta"),A=0,I=function(B){f(B,T,{value:{objectID:"O"+A++,weakData:{}}})},M=function(B,w){if(!i(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!u(B,T)){if(!d(B))return"F";if(!w)return"E";I(B)}return B[T].objectID},N=function(B,w){if(!u(B,T)){if(!d(B))return!0;if(!w)return!1;I(B)}return B[T].weakData},L=function(B){return S&&E&&d(B)&&!u(B,T)&&I(B),B},$=function(){G.enable=function(){},E=!0;var B=c.f,w=e([].splice),W={};W[T]=1,B(W).length&&(c.f=function(X){for(var z=B(X),k=0,ot=z.length;kz;z++)if(ot=at(A[z]),ot&&c(T,ot))return ot;return new E(!1)}W=g(A,X)}for(st=$?A.next:W.next;!(tt=e(st,W)).done;){try{ot=at(tt.value)}catch(gt){y(W,"throw",gt)}if(typeof ot=="object"&&ot&&c(T,ot))return ot}return new E(!1)}},99797:function(l,p,t){var n=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=n(c,i)}catch(d){g=!0,c=d}if(u==="throw")throw f;if(g)throw c;return e(c),f}},26820:function(l,p,t){var n=t(24519).IteratorPrototype,e=t(5406),o=t(18526),i=t(78401),u=t(29107),f=function(){return this};l.exports=function(c,g,d,y){var S=g+" Iterator";return c.prototype=e(n,{next:o(+!y,d)}),i(c,S,!1,!0),u[S]=f,c}},10218:function(l,p,t){var n=t(14304),e=t(96499),o=t(70457),i=t(86588),u=t(23583),f=t(26820),c=t(26313),g=t(15861),d=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,L=A.BUGGY_SAFARI_ITERATORS,$=E("iterator"),G="keys",B="values",w="entries",W=function(){return this};l.exports=function(X,z,k,ot,st,tt,et){f(k,z,ot);var at=function(ir){if(ir===st&&Tt)return Tt;if(!L&&ir&&ir in It)return It[ir];switch(ir){case G:return function(){return new k(this,ir)};case B:return function(){return new k(this,ir)};case w:return function(){return new k(this,ir)}}return function(){return new k(this)}},gt=z+" Iterator",Pt=!1,It=X.prototype,Mt=It[$]||It["@@iterator"]||st&&It[st],Tt=!L&&Mt||at(st),qt=z==="Array"&&It.entries||Mt,Qt,Jt,er;if(qt&&(Qt=c(qt.call(new X)),Qt!==Object.prototype&&Qt.next&&(!o&&c(Qt)!==N&&(g?g(Qt,N):u(Qt[$])||S(Qt,$,W)),d(Qt,gt,!0,!0),o&&(T[gt]=W))),I&&st===B&&Mt&&Mt.name!==B&&(!o&&M?y(It,"name",B):(Pt=!0,Tt=function(){return e(Mt,this)})),st)if(Jt={values:at(B),keys:tt?Tt:at(G),entries:at(w)},et)for(er in Jt)(L||Pt||!(er in It))&&S(It,er,Jt[er]);else n({target:z,proto:!0,forced:L||Pt},Jt);return(!o||et)&&It[$]!==Tt&&S(It,$,Tt,{name:st}),T[z]=Tt,Jt}},24519:function(l,p,t){var n=t(72069),e=t(23583),o=t(37540),i=t(5406),u=t(26313),f=t(16142),c=t(18565),g=t(70457),d=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)||n(function(){var I={};return S[d].call(I)!==I});A?S={}:g&&(S=i(S)),e(S[d])||f(S,d,function(){return this}),l.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:y}},29107:function(l){l.exports={}},82628:function(l,p,t){var n=t(45344);l.exports=function(e){return n(e.length)}},13749:function(l,p,t){var n=t(11286),e=t(72069),o=t(23583),i=t(94879),u=t(92986),f=t(86588).CONFIGURABLE,c=t(84352),g=t(82367),d=g.enforce,y=g.get,S=String,E=Object.defineProperty,T=n("".slice),A=n("".replace),I=n([].join),M=u&&!e(function(){return E(function(){},"length",{value:8}).length!==8}),N=String(String).split("String"),L=l.exports=function($,G,B){T(S(G),0,7)==="Symbol("&&(G="["+A(S(G),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),B&&B.getter&&(G="get "+G),B&&B.setter&&(G="set "+G),(!i($,"name")||f&&$.name!==G)&&(u?E($,"name",{value:G,configurable:!0}):$.name=G),M&&B&&i(B,"arity")&&$.length!==B.arity&&E($,"length",{value:B.arity});try{B&&i(B,"constructor")&&B.constructor?u&&E($,"prototype",{writable:!1}):$.prototype&&($.prototype=void 0)}catch(W){}var w=d($);return i(w,"source")||(w.source=I(N,typeof G=="string"?G:"")),$};Function.prototype.toString=L(function(){return o(this)&&y(this).source||c(this)},"toString")},1774:function(l,p,t){var n=t(11286),e=Map.prototype;l.exports={Map,set:n(e.set),get:n(e.get),has:n(e.has),remove:n(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 n=t(93976),e=Math.abs,o=2220446049250313e-31,i=1/o,u=function(f){return f+i-i};l.exports=function(f,c,g,d){var y=+f,S=e(y),E=n(y);if(Sg||A!==A?E*(1/0):E*A}},93279:function(l,p,t){var n=t(10418),e=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;l.exports=Math.fround||function(f){return n(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(n){var e=+n;return e>-1e-8&&e<1e-8?e-e*e/2:p(1+e)}},93976:function(l){l.exports=Math.sign||function(t){var n=+t;return n===0||n!==n?n:n<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 n=t(34246),e=t(28167),o=t(45526),i=t(23115).set,u=t(76895),f=t(5286),c=t(7307),g=t(67722),d=t(91707),y=n.MutationObserver||n.WebKitMutationObserver,S=n.document,E=n.process,T=n.Promise,A=e("queueMicrotask"),I,M,N,L,$;if(!A){var G=new u,B=function(){var w,W;for(d&&(w=E.domain)&&w.exit();W=G.get();)try{W()}catch(X){throw G.head&&I(),X}w&&w.enter()};!f&&!d&&!g&&y&&S?(M=!0,N=S.createTextNode(""),new y(B).observe(N,{characterData:!0}),I=function(){N.data=M=!M}):!c&&T&&T.resolve?(L=T.resolve(void 0),L.constructor=T,$=o(L.then,L),I=function(){$(B)}):d?I=function(){E.nextTick(B)}:(i=o(i,n),I=function(){i(B)}),A=function(w){G.head||I(),G.add(w)}}l.exports=A},24649:function(l,p,t){var n=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=n(u),this.reject=n(f)};l.exports.f=function(i){return new o(i)}},15453:function(l,p,t){var n=t(17361);l.exports=function(e,o){return e===void 0?arguments.length<2?"":o:n(e)}},92337:function(l,p,t){var n=t(11566),e=TypeError;l.exports=function(o){if(n(o))throw new e("The method doesn't accept regular expressions");return o}},98074:function(l,p,t){var n=t(34246),e=n.isFinite;l.exports=Number.isFinite||function(i){return typeof i=="number"&&e(i)}},25838:function(l,p,t){var n=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=o("".charAt),g=n.parseFloat,d=n.Symbol,y=d&&d.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 n=t(34246),e=t(72069),o=t(11286),i=t(17361),u=t(85900).trim,f=t(77082),c=n.parseInt,g=n.Symbol,d=g&&g.iterator,y=/^[+-]?0x/i,S=o(y.exec),E=c(f+"08")!==8||c(f+"0x16")!==22||d&&!e(function(){c(Object(d))});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 n=t(92986),e=t(11286),o=t(96499),i=t(72069),u=t(18350),f=t(24943),c=t(79591),g=t(49671),d=t(72181),y=Object.assign,S=Object.defineProperty,E=e([].concat);l.exports=!y||i(function(){if(n&&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,L=1,$=f.f,G=c.f;N>L;)for(var B=d(arguments[L++]),w=$?E(u(B),$(B)):u(B),W=w.length,X=0,z;W>X;)z=w[X++],(!n||o(G,B,z))&&(M[z]=B[z]);return M}:y},5406:function(l,p,t){var n=t(25001),e=t(61963),o=t(75785),i=t(19423),u=t(96439),f=t(85501),c=t(44869),g=">",d="<",y="prototype",S="script",E=c("IE_PROTO"),T=function(){},A=function($){return d+S+g+$+d+"/"+S+g},I=function($){$.write(A("")),$.close();var G=$.parentWindow.Object;return $=null,G},M=function(){var $=f("iframe"),G="java"+S+":",B;return $.style.display="none",u.appendChild($),$.src=String(G),B=$.contentWindow.document,B.open(),B.write(A("document.F=Object")),B.close(),B.F},N,L=function(){try{N=new ActiveXObject("htmlfile")}catch(G){}L=typeof document!="undefined"?document.domain&&N?I(N):M():I(N);for(var $=o.length;$--;)delete L[y][o[$]];return L()};i[E]=!0,l.exports=Object.create||function(G,B){var w;return G!==null?(T[y]=n(G),w=new T,T[y]=null,w[E]=G):w=L(),B===void 0?w:e.f(w,B)}},61963:function(l,p,t){var n=t(92986),e=t(356),o=t(7831),i=t(25001),u=t(36859),f=t(18350);p.f=n&&!e?Object.defineProperties:function(g,d){i(g);for(var y=u(d),S=f(d),E=S.length,T=0,A;E>T;)o.f(g,A=S[T++],y[A]);return g}},7831:function(l,p,t){var n=t(92986),e=t(52515),o=t(356),i=t(25001),u=t(50035),f=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,d="enumerable",y="configurable",S="writable";p.f=n?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:d in I?I[d]:M[d],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 n=t(92986),e=t(96499),o=t(79591),i=t(18526),u=t(36859),f=t(50035),c=t(94879),g=t(52515),d=Object.getOwnPropertyDescriptor;p.f=n?d:function(S,E){if(S=u(S),E=f(E),g)try{return d(S,E)}catch(T){}if(c(S,E))return i(!e(o.f,S,E),S[E])}},92880:function(l,p,t){var n=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&&n(g)==="Window"?f(g):o(e(g))}},83258:function(l,p,t){var n=t(6242),e=t(75785),o=e.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(u){return n(u,o)}},24943:function(l,p){p.f=Object.getOwnPropertySymbols},26313:function(l,p,t){var n=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(d){var y=o(d);if(n(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 n=t(72069),e=t(37540),o=t(14274),i=t(72058),u=Object.isExtensible,f=n(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 n=t(11286);l.exports=n({}.isPrototypeOf)},6242:function(l,p,t){var n=t(11286),e=t(94879),o=t(36859),i=t(94319).indexOf,u=t(19423),f=n([].push);l.exports=function(c,g){var d=o(c),y=0,S=[],E;for(E in d)!e(u,E)&&e(d,E)&&f(S,E);for(;g.length>y;)e(d,E=g[y++])&&(~i(S,E)||f(S,E));return S}},18350:function(l,p,t){var n=t(6242),e=t(75785);l.exports=Object.keys||function(i){return n(i,e)}},79591:function(l,p){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,e=n&&!t.call({1:2},1);p.f=e?function(i){var u=n(this,i);return!!u&&u.enumerable}:t},57629:function(l,p,t){var n=t(70457),e=t(34246),o=t(72069),i=t(66577);l.exports=n||!o(function(){if(!(i&&i<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete e[u]}})},15861:function(l,p,t){var n=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=n(Object.prototype,"__proto__","set"),c(f,[]),u=f instanceof Array}catch(g){}return function(d,y){return o(d),i(y),e(d)&&(u?c(d,y):d.__proto__=y),d}}():void 0)},8511:function(l,p,t){var n=t(92986),e=t(72069),o=t(11286),i=t(26313),u=t(18350),f=t(36859),c=t(79591).f,g=o(c),d=o([].push),y=n&&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,L=0,$=[],G;N>L;)G=I[L++],(!n||(M?G in A:g(A,G)))&&d($,E?[G,A[G]]:A[G]);return $}};l.exports={entries:S(!0),values:S(!1)}},60105:function(l,p,t){var n=t(67878),e=t(9205);l.exports=n?{}.toString:function(){return"[object "+e(this)+"]"}},2064:function(l,p,t){var n=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=n(c,u))||e(c=u.valueOf)&&!o(g=n(c,u))||f!=="string"&&e(c=u.toString)&&!o(g=n(c,u)))return g;throw new i("Can't convert object to primitive value")}},16885:function(l,p,t){var n=t(38941),e=t(11286),o=t(83258),i=t(24943),u=t(25001),f=e([].concat);l.exports=n("Reflect","ownKeys")||function(g){var d=o.f(u(g)),y=i.f;return y?f(d,y(g)):d}},75081:function(l,p,t){var n=t(34246);l.exports=n},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 n=t(34246),e=t(98844),o=t(23583),i=t(13278),u=t(84352),f=t(18565),c=t(21501),g=t(70457),d=t(44241),y=e&&e.prototype,S=f("species"),E=!1,T=o(n.PromiseRejectionEvent),A=i("Promise",function(){var I=u(e),M=I!==String(e);if(!M&&d===66||g&&!(y.catch&&y.finally))return!0;if(!d||d<51||!/native code/.test(I)){var N=new e(function(G){G(1)}),L=function(G){G(function(){},function(){})},$=N.constructor={};if($[S]=L,E=N.then(function(){})instanceof L,!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 n=t(34246);l.exports=n.Promise},87408:function(l,p,t){var n=t(25001),e=t(37540),o=t(24649);l.exports=function(i,u){if(n(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 n=t(98844),e=t(97494),o=t(37130).CONSTRUCTOR;l.exports=o||!e(function(i){n.all(i).then(void 0,function(){})})},2594:function(l,p,t){var n=t(7831).f;l.exports=function(e,o,i){i in e||n(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 n={item:t,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t){var n=this.head=t.next;return n===null&&(this.tail=null),t.item}}},l.exports=p},33064:function(l,p,t){var n=t(96499),e=t(25001),o=t(23583),i=t(14274),u=t(44381),f=TypeError;l.exports=function(c,g){var d=c.exec;if(o(d)){var y=n(d,c,g);return y!==null&&e(y),y}if(i(c)==="RegExp")return n(u,c,g);throw new f("RegExp#exec called on incompatible receiver")}},44381:function(l,p,t){var n=t(96499),e=t(11286),o=t(17361),i=t(29833),u=t(39807),f=t(96731),c=t(5406),g=t(82367).get,d=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),L=function(){var w=/a/,W=/b*/g;return n(E,w,"a"),n(E,W,"a"),w.lastIndex!==0||W.lastIndex!==0}(),$=u.BROKEN_CARET,G=/()??/.exec("")[1]!==void 0,B=L||G||$||d||y;B&&(T=function(W){var X=this,z=g(X),k=o(W),ot=z.raw,st,tt,et,at,gt,Pt,It;if(ot)return ot.lastIndex=X.lastIndex,st=n(T,ot,k),X.lastIndex=ot.lastIndex,st;var Mt=z.groups,Tt=$&&X.sticky,qt=n(i,X),Qt=X.source,Jt=0,er=k;if(Tt&&(qt=M(qt,"y",""),I(qt,"g")===-1&&(qt+="g"),er=N(k,X.lastIndex),X.lastIndex>0&&(!X.multiline||X.multiline&&A(k,X.lastIndex-1)!==` `)&&(Qt="(?: "+Qt+")",er=" "+er,Jt++),tt=new RegExp("^(?:"+Qt+")",qt)),G&&(tt=new RegExp("^"+Qt+"$(?!\\s)",qt)),L&&(et=X.lastIndex),at=n(E,Tt?tt:X,er),Tt?at?(at.input=N(at.input,Jt),at[0]=N(at[0],Jt),at.index=X.lastIndex,X.lastIndex+=at[0].length):X.lastIndex=0:L&&at&&(X.lastIndex=X.global?at.index+at[0].length:et),G&&at&&at.length>1&&n(S,at[0],tt,function(){for(gt=1;gtb)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$c")!=="bc"})},2068:function(l,p,t){var n=t(5683),e=TypeError;l.exports=function(o){if(n(o))throw new e("Can't call method on "+o);return o}},28167:function(l,p,t){var n=t(34246),e=t(92986),o=Object.getOwnPropertyDescriptor;l.exports=function(i){if(!e)return n[i];var u=o(n,i);return u&&u.value}},13944:function(l){l.exports=Object.is||function(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}},9934:function(l,p,t){var n=t(34246),e=t(66543),o=t(23583),i=t(21501),u=t(18257),f=t(22806),c=t(95486),g=n.Function,d=/MSIE .\./.test(u)||i==="BUN"&&function(){var y=n.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 d?function(T,A){var I=c(arguments.length,1)>E,M=o(T)?T:g(T),N=I?f(arguments,E):[],L=I?function(){e(M,this,N)}:M;return S?y(L,A):y(L)}:y}},48348:function(l,p,t){var n=t(172),e=t(35051),o=n.Set,i=n.add;l.exports=function(u){var f=new o;return e(u,function(c){i(f,c)}),f}},41754:function(l,p,t){var n=t(76602),e=t(172),o=t(48348),i=t(17768),u=t(65263),f=t(35051),c=t(9573),g=e.has,d=e.remove;l.exports=function(S){var E=n(this),T=u(S),A=o(E);return i(E)<=T.size?f(E,function(I){T.includes(I)&&d(A,I)}):c(T.getIterator(),function(I){g(E,I)&&d(A,I)}),A}},172:function(l,p,t){var n=t(11286),e=Set.prototype;l.exports={Set,add:n(e.add),has:n(e.has),remove:n(e.delete),proto:e}},92292:function(l,p,t){var n=t(76602),e=t(172),o=t(17768),i=t(65263),u=t(35051),f=t(9573),c=e.Set,g=e.add,d=e.has;l.exports=function(S){var E=n(this),T=i(S),A=new c;return o(E)>T.size?f(T.getIterator(),function(I){d(E,I)&&g(A,I)}):u(E,function(I){T.includes(I)&&g(A,I)}),A}},47391:function(l,p,t){var n=t(76602),e=t(172).has,o=t(17768),i=t(65263),u=t(35051),f=t(9573),c=t(99797);l.exports=function(d){var y=n(this),S=i(d);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 n=t(76602),e=t(17768),o=t(35051),i=t(65263);l.exports=function(f){var c=n(this),g=i(f);return e(c)>g.size?!1:o(c,function(d){if(!g.includes(d))return!1},!0)!==!1}},1333:function(l,p,t){var n=t(76602),e=t(172).has,o=t(17768),i=t(65263),u=t(9573),f=t(99797);l.exports=function(g){var d=n(this),y=i(g);if(o(d)3})}},22149:function(l,p,t){var n=t(11286),e=t(12105),o=t(17361),i=t(2068),u=n("".charAt),f=n("".charCodeAt),c=n("".slice),g=function(d){return function(y,S){var E=o(i(y)),T=e(S),A=E.length,I,M;return T<0||T>=A?d?"":void 0:(I=f(E,T),I<55296||I>56319||T+1===A||(M=f(E,T+1))<56320||M>57343?d?u(E,T):I:d?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 n=t(18257);l.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},61607:function(l,p,t){var n=t(11286),e=t(45344),o=t(17361),i=t(79719),u=t(2068),f=n(i),c=n("".slice),g=Math.ceil,d=function(y){return function(S,E,T){var A=o(u(S)),I=e(E),M=A.length,N=T===void 0?" ":o(T),L,$;return I<=M||N===""?A:(L=I-M,$=f(N,g(L/N.length)),$.length>L&&($=c($,0,L)),y?A+$:$+A)}};l.exports={start:d(!1),end:d(!0)}},38679:function(l,p,t){var n=t(11286),e=2147483647,o=36,i=1,u=26,f=38,c=700,g=72,d=128,y="-",S=/[^\0-\u007E]/,E=/[.\u3002\uFF0E\uFF61]/g,T="Overflow: input needs wider integers to process",A=o-i,I=RangeError,M=n(E.exec),N=Math.floor,L=String.fromCharCode,$=n("".charCodeAt),G=n([].join),B=n([].push),w=n("".replace),W=n("".split),X=n("".toLowerCase),z=function(tt){for(var et=[],at=0,gt=tt.length;at=55296&&Pt<=56319&&at>1,tt+=N(tt/et);tt>A*u>>1;)tt=N(tt/A),gt+=o;return N(gt+(A+1)*tt/(tt+f))},st=function(tt){var et=[];tt=z(tt);var at=tt.length,gt=d,Pt=0,It=g,Mt,Tt;for(Mt=0;Mt=gt&&TtN((e-Pt)/er))throw new I(T);for(Pt+=(Jt-gt)*er,gt=Jt,Mt=0;Mte)throw new I(T);if(Tt===gt){for(var ir=Pt,Ar=o;;){var xr=Ar<=It?i:Ar>=It+u?u:Ar-It;if(ir0;(d>>>=1)&&(c+=c))d&1&&(g+=c);return g}},75176:function(l,p,t){var n=t(85900).end,e=t(33328);l.exports=e("trimEnd")?function(){return n(this)}:"".trimEnd},33328:function(l,p,t){var n=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||n&&o[u].name!==u})}},83481:function(l,p,t){var n=t(85900).start,e=t(33328);l.exports=e("trimStart")?function(){return n(this)}:"".trimStart},85900:function(l,p,t){var n=t(11286),e=t(2068),o=t(17361),i=t(77082),u=n("".replace),f=RegExp("^["+i+"]+"),c=RegExp("(^|[^"+i+"])["+i+"]+$"),g=function(d){return function(y){var S=o(e(y));return d&1&&(S=u(S,f,"")),d&2&&(S=u(S,c,"$1")),S}};l.exports={start:g(1),end:g(2),trim:g(3)}},99050:function(l,p,t){var n=t(34246),e=t(72069),o=t(44241),i=t(21501),u=n.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 n=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&&n&&n<41})},60796:function(l,p,t){var n=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(d){return n(c,this)},{arity:1})}},61190:function(l,p,t){var n=t(39729);l.exports=n&&!!Symbol.for&&!!Symbol.keyFor},23115:function(l,p,t){var n=t(34246),e=t(66543),o=t(45526),i=t(23583),u=t(94879),f=t(72069),c=t(96439),g=t(22806),d=t(85501),y=t(95486),S=t(5286),E=t(91707),T=n.setImmediate,A=n.clearImmediate,I=n.process,M=n.Dispatch,N=n.Function,L=n.MessageChannel,$=n.String,G=0,B={},w="onreadystatechange",W,X,z,k;f(function(){W=n.location});var ot=function(at){if(u(B,at)){var gt=B[at];delete B[at],gt()}},st=function(at){return function(){ot(at)}},tt=function(at){ot(at.data)},et=function(at){n.postMessage($(at),W.protocol+"//"+W.host)};(!T||!A)&&(T=function(gt){y(arguments.length,1);var Pt=i(gt)?gt:N(gt),It=g(arguments,1);return B[++G]=function(){e(Pt,void 0,It)},X(G),G},A=function(gt){delete B[gt]},E?X=function(at){I.nextTick(st(at))}:M&&M.now?X=function(at){M.now(st(at))}:L&&!S?(z=new L,k=z.port2,z.port1.onmessage=tt,X=o(k.postMessage,k)):n.addEventListener&&i(n.postMessage)&&!n.importScripts&&W&&W.protocol!=="file:"&&!f(et)?(X=et,n.addEventListener("message",tt,!1)):w in d("script")?X=function(at){c.appendChild(d("script"))[w]=function(){c.removeChild(this),ot(at)}}:X=function(at){setTimeout(st(at),0)}),l.exports={set:T,clear:A}},34338:function(l,p,t){var n=t(11286);l.exports=n(1 .valueOf)},4652:function(l,p,t){var n=t(12105),e=Math.max,o=Math.min;l.exports=function(i,u){var f=n(i);return f<0?e(f+u,0):o(f,u)}},11344:function(l,p,t){var n=t(89935),e=TypeError;l.exports=function(o){var i=n(o,"number");if(typeof i=="number")throw new e("Can't convert number to bigint");return BigInt(i)}},9450:function(l,p,t){var n=t(12105),e=t(45344),o=RangeError;l.exports=function(i){if(i===void 0)return 0;var u=n(i),f=e(u);if(u!==f)throw new o("Wrong length or index");return f}},36859:function(l,p,t){var n=t(72181),e=t(2068);l.exports=function(o){return n(e(o))}},12105:function(l,p,t){var n=t(22459);l.exports=function(e){var o=+e;return o!==o||o===0?0:n(o)}},45344:function(l,p,t){var n=t(12105),e=Math.min;l.exports=function(o){var i=n(o);return i>0?e(i,9007199254740991):0}},49671:function(l,p,t){var n=t(2068),e=Object;l.exports=function(o){return e(n(o))}},58143:function(l,p,t){var n=t(98072),e=RangeError;l.exports=function(o,i){var u=n(o);if(u%i)throw new e("Wrong offset");return u}},98072:function(l,p,t){var n=t(12105),e=RangeError;l.exports=function(o){var i=n(o);if(i<0)throw new e("The argument can't be less than 0");return i}},89935:function(l,p,t){var n=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(d,y){if(!e(d)||o(d))return d;var S=i(d,g),E;if(S){if(y===void 0&&(y="default"),E=n(S,d,y),!e(E)||o(E))return E;throw new c("Can't convert object to primitive value")}return y===void 0&&(y="number"),u(d,y)}},50035:function(l,p,t){var n=t(89935),e=t(491);l.exports=function(o){var i=n(o,"string");return e(i)?i:i+""}},67878:function(l,p,t){var n=t(18565),e=n("toStringTag"),o={};o[e]="z",l.exports=String(o)==="[object z]"},17361:function(l,p,t){var n=t(9205),e=String;l.exports=function(o){if(n(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 n=p(t);return n<0?0:n>255?255:n&255}},82453:function(l){var p=String;l.exports=function(t){try{return p(t)}catch(n){return"Object"}}},80357:function(l,p,t){var n=t(14304),e=t(34246),o=t(96499),i=t(92986),u=t(46868),f=t(88037),c=t(17468),g=t(12833),d=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),L=t(9205),$=t(37540),G=t(491),B=t(5406),w=t(95307),W=t(15861),X=t(83258).f,z=t(66169),k=t(66655).forEach,ot=t(36167),st=t(85500),tt=t(7831),et=t(71349),at=t(5220),gt=t(82367),Pt=t(32345),It=gt.get,Mt=gt.set,Tt=gt.enforce,qt=tt.f,Qt=et.f,Jt=e.RangeError,er=c.ArrayBuffer,ir=er.prototype,Ar=c.DataView,xr=f.NATIVE_ARRAY_BUFFER_VIEWS,Er=f.TYPED_ARRAY_TAG,Yt=f.TypedArray,tr=f.TypedArrayPrototype,Sr=f.isTypedArray,Tr="BYTES_PER_ELEMENT",pr="Wrong length",Ir=function(Nr,Or){st(Nr,Or,{configurable:!0,get:function(){return It(this)[Or]}})},Ur=function(Nr){var Or;return w(ir,Nr)||(Or=L(Nr))==="ArrayBuffer"||Or==="SharedArrayBuffer"},br=function(Nr,Or){return Sr(Nr)&&!G(Or)&&Or in Nr&&S(+Or)&&Or>=0},Pr=function(Or,yr){return yr=M(yr),br(Or,yr)?d(2,Or[yr]):Qt(Or,yr)},mr=function(Or,yr,$t){return yr=M(yr),br(Or,yr)&&$($t)&&N($t,"value")&&!N($t,"get")&&!N($t,"set")&&!$t.configurable&&(!N($t,"writable")||$t.writable)&&(!N($t,"enumerable")||$t.enumerable)?(Or[yr]=$t.value,Or):qt(Or,yr,$t)};i?(xr||(et.f=Pr,tt.f=mr,Ir(tr,"buffer"),Ir(tr,"byteOffset"),Ir(tr,"byteLength"),Ir(tr,"length")),n({target:"Object",stat:!0,forced:!xr},{getOwnPropertyDescriptor:Pr,defineProperty:mr}),l.exports=function(Nr,Or,yr){var $t=Nr.match(/\d+/)[0]/8,Ht=Nr+(yr?"Clamped":"")+"Array",Dt="get"+Nr,cr="set"+Nr,vr=e[Ht],ar=vr,rr=ar&&ar.prototype,jr={},wr=function(Bt,zt){var lt=It(Bt);return lt.view[Dt](zt*$t+lt.byteOffset,!0)},yt=function(Bt,zt,lt){var Ut=It(Bt);Ut.view[cr](zt*$t+Ut.byteOffset,yr?I(lt):lt,!0)},jt=function(Bt,zt){qt(Bt,zt,{get:function(){return wr(this,zt)},set:function(lt){return yt(this,zt,lt)},enumerable:!0})};xr?u&&(ar=Or(function(Bt,zt,lt,Ut){return g(Bt,rr),Pt(function(){return $(zt)?Ur(zt)?Ut!==void 0?new vr(zt,A(lt,$t),Ut):lt!==void 0?new vr(zt,A(lt,$t)):new vr(zt):Sr(zt)?at(ar,zt):o(z,ar,zt):new vr(T(zt))}(),Bt,ar)}),W&&W(ar,Yt),k(X(vr),function(Bt){Bt in ar||y(ar,Bt,vr[Bt])}),ar.prototype=rr):(ar=Or(function(Bt,zt,lt,Ut){g(Bt,rr);var gr=0,Ct=0,Lt,kt,Wt;if(!$(zt))Wt=T(zt),kt=Wt*$t,Lt=new er(kt);else if(Ur(zt)){Lt=zt,Ct=A(lt,$t);var dr=zt.byteLength;if(Ut===void 0){if(dr%$t)throw new Jt(pr);if(kt=dr-Ct,kt<0)throw new Jt(pr)}else if(kt=E(Ut)*$t,kt+Ct>dr)throw new Jt(pr);Wt=kt/$t}else return Sr(zt)?at(ar,zt):o(z,ar,zt);for(Mt(Bt,{buffer:Lt,byteOffset:Ct,byteLength:kt,length:Wt,view:new Ar(Lt)});gr1?arguments[1]:void 0,L=N!==void 0,$=c(I),G,B,w,W,X,z,k,ot;if($&&!g($))for(k=f(I,$),ot=k.next,I=[];!(z=e(ot,k)).done;)I.push(z.value);for(L&&M>2&&(N=n(N,arguments[2])),B=u(I),w=new(y(A))(B),W=d(w),G=0;B>G;G++)X=L?N(I[G],G):I[G],w[G]=W?S(X):+X;return w}},21822:function(l,p,t){var n=t(88037),e=t(16887),o=n.aTypedArrayConstructor,i=n.getTypedArrayConstructor;l.exports=function(u){return o(e(u,i(u)))}},36374:function(l,p,t){var n=t(11286),e=0,o=Math.random(),i=n(1 .toString);l.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+i(++e+o,36)}},91918:function(l,p,t){var n=t(72069),e=t(18565),o=t(92986),i=t(70457),u=e("iterator");l.exports=!n(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"),d="";return f.pathname="c%20d",c.forEach(function(y,S){c.delete("b"),d+=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"||d!=="a1c3"||new URL("https://x",void 0).host!=="x"})},50234:function(l,p,t){var n=t(39729);l.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},356:function(l,p,t){var n=t(92986),e=t(72069);l.exports=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},95486:function(l){var p=TypeError;l.exports=function(t,n){if(t$&&y(tt,arguments[$]),tt});if(z.prototype=W,B!=="Error"?u?u(z,X):f(z,X,{name:!0}):E&&L in w&&(c(z,w,L),c(z,w,"prepareStackTrace")),f(z,w),!T)try{W.name!==B&&o(W,"name",B),W.constructor=z}catch(k){}return z}}},27796:function(l,p,t){var n=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});n({global:!0,constructor:!0,arity:2,forced:g},{AggregateError:u(f,function(d){return function(S,E){return o(d,this,arguments)}},g,!0)})},85647:function(l,p,t){var n=t(14304),e=t(95307),o=t(26313),i=t(15861),u=t(93706),f=t(5406),c=t(90809),g=t(18526),d=t(31486),y=t(97077),S=t(55902),E=t(15453),T=t(18565),A=T("toStringTag"),I=Error,M=[].push,N=function(G,B){var w=e(L,this),W;i?W=i(new I,w?o(this):L):(W=w?this:f(L),c(W,A,"Error")),B!==void 0&&c(W,"message",E(B)),y(W,N,W.stack,1),arguments.length>2&&d(W,arguments[2]);var X=[];return S(G,M,{that:X}),c(W,"errors",X),W};i?i(N,I):u(N,I,{name:!0});var L=N.prototype=f(I.prototype,{constructor:g(1,N),message:g(1,""),name:g(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:N})},42861:function(l,p,t){t(85647)},35473:function(l,p,t){var n=t(14304),e=t(34246),o=t(17468),i=t(36167),u="ArrayBuffer",f=o[u],c=e[u];n({global:!0,constructor:!0,forced:c!==f},{ArrayBuffer:f}),i(u)},35495:function(l,p,t){var n=t(92986),e=t(85500),o=t(30736),i=ArrayBuffer.prototype;n&&!("detached"in i)&&e(i,"detached",{configurable:!0,get:function(){return o(this)}})},4983:function(l,p,t){var n=t(14304),e=t(88037),o=e.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!o},{isView:e.isView})},6875:function(l,p,t){var n=t(14304),e=t(77422),o=t(72069),i=t(17468),u=t(25001),f=t(4652),c=t(45344),g=t(16887),d=i.ArrayBuffer,y=i.DataView,S=y.prototype,E=e(d.prototype.slice),T=e(S.getUint8),A=e(S.setUint8),I=o(function(){return!new d(2).slice(1,void 0).byteLength});n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:I},{slice:function(N,L){if(E&&L===void 0)return E(u(this),N);for(var $=u(this).byteLength,G=f(N,$),B=f(L===void 0?$:L,$),w=new(g(this,d))(c(B-G)),W=new y(this),X=new y(w),z=0;G=0?y:d+y;return S<0||S>=d?void 0:g[S]}}),u("at")},98700:function(l,p,t){var n=t(14304),e=t(72069),o=t(3438),i=t(37540),u=t(49671),f=t(82628),c=t(20095),g=t(84082),d=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 L=N[T];return L!==void 0?!!L:o(N)},M=!A||!y("concat");n({target:"Array",proto:!0,arity:1,forced:M},{concat:function(L){var $=u(this),G=d($,0),B=0,w,W,X,z,k;for(w=-1,X=arguments.length;w1?arguments[1]:void 0)}})},41585:function(l,p,t){var n=t(14304),e=t(43011),o=t(23811);n({target:"Array",proto:!0},{fill:e}),o("fill")},84554:function(l,p,t){var n=t(14304),e=t(66655).filter,o=t(52183),i=o("filter");n({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 n=t(14304),e=t(66655).findIndex,o=t(23811),i="findIndex",u=!0;i in[]&&Array(1)[i](function(){u=!1}),n({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 n=t(14304),e=t(73849).findLastIndex,o=t(23811);n({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 n=t(14304),e=t(73849).findLast,o=t(23811);n({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 n=t(14304),e=t(66655).find,o=t(23811),i="find",u=!0;i in[]&&Array(1)[i](function(){u=!1}),n({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 n=t(14304),e=t(53149),o=t(85156),i=t(49671),u=t(82628),f=t(62083);n({target:"Array",proto:!0},{flatMap:function(g){var d=i(this),y=u(d),S;return o(g),S=f(d,0),S.length=e(S,d,d,y,0,1,g,arguments.length>1?arguments[1]:void 0),S}})},91591:function(l,p,t){var n=t(14304),e=t(53149),o=t(49671),i=t(82628),u=t(12105),f=t(62083);n({target:"Array",proto:!0},{flat:function(){var g=arguments.length?arguments[0]:void 0,d=o(this),y=i(d),S=f(d,0);return S.length=e(S,d,d,y,0,g===void 0?1:u(g)),S}})},54703:function(l,p,t){var n=t(14304),e=t(13349);n({target:"Array",proto:!0,forced:[].forEach!==e},{forEach:e})},82936:function(l,p,t){var n=t(14304),e=t(48258),o=t(97494),i=!o(function(u){Array.from(u)});n({target:"Array",stat:!0,forced:i},{from:e})},48493:function(l,p,t){var n=t(14304),e=t(94319).includes,o=t(72069),i=t(23811),u=o(function(){return!Array(1).includes()});n({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 n=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");n({target:"Array",proto:!0,forced:c},{indexOf:function(d){var y=arguments.length>1?arguments[1]:void 0;return f?u(this,d,y)||0:o(this,d,y)}})},95024:function(l,p,t){var n=t(14304),e=t(3438);n({target:"Array",stat:!0},{isArray:e})},35054:function(l,p,t){var n=t(36859),e=t(23811),o=t(29107),i=t(82367),u=t(7831).f,f=t(10218),c=t(10659),g=t(70457),d=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:n(A),index:0,kind:I})},function(){var A=E(this),I=A.target,M=A.index++;if(!I||M>=I.length)return A.target=null,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&&d&&T.name!=="values")try{u(T,"name",{value:"values"})}catch(A){}},25460:function(l,p,t){var n=t(14304),e=t(11286),o=t(72181),i=t(36859),u=t(6148),f=e([].join),c=o!==Object,g=c||!u("join",",");n({target:"Array",proto:!0,forced:g},{join:function(y){return f(i(this),y===void 0?",":y)}})},60703:function(l,p,t){var n=t(14304),e=t(58465);n({target:"Array",proto:!0,forced:e!==[].lastIndexOf},{lastIndexOf:e})},90468:function(l,p,t){var n=t(14304),e=t(66655).map,o=t(52183),i=o("map");n({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 n=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)});n({target:"Array",stat:!0,forced:f},{of:function(){for(var g=0,d=arguments.length,y=new(o(this)?this:u)(d);d>g;)i(y,g,arguments[g++]);return y.length=d,y}})},720:function(l,p,t){var n=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}},d=c||!g();n({target:"Array",proto:!0,arity:1,forced:d},{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");n({target:"Array",proto:!0,forced:c},{reduceRight:function(d){return e(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},11042:function(l,p,t){var n=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");n({target:"Array",proto:!0,forced:c},{reduce:function(d){var y=arguments.length;return e(this,d,y,y>1?arguments[1]:void 0)}})},24608:function(l,p,t){var n=t(14304),e=t(11286),o=t(3438),i=e([].reverse),u=[1,2];n({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 n=t(14304),e=t(3438),o=t(11051),i=t(37540),u=t(4652),f=t(82628),c=t(36859),g=t(84082),d=t(18565),y=t(52183),S=t(22806),E=y("slice"),T=d("species"),A=Array,I=Math.max;n({target:"Array",proto:!0,forced:!E},{slice:function(N,L){var $=c(this),G=f($),B=u(N,G),w=u(L===void 0?G:L,G),W,X,z;if(e($)&&(W=$.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($,B,w);for(X=new(W===void 0?A:W)(I(w-B,0)),z=0;B1?arguments[1]:void 0)}})},46828:function(l,p,t){var n=t(14304),e=t(11286),o=t(85156),i=t(49671),u=t(82628),f=t(12384),c=t(17361),g=t(72069),d=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),L=g(function(){I.sort(void 0)}),$=g(function(){I.sort(null)}),G=y("sort"),B=!g(function(){if(T)return T<70;if(!(S&&S>3)){if(E)return!0;if(A)return A<603;var X="",z,k,ot,st;for(z=65;z<76;z++){switch(k=String.fromCharCode(z),z){case 66:case 69:case 70:case 72:ot=3;break;case 68:case 71:ot=4;break;default:ot=2}for(st=0;st<47;st++)I.push({k:k+st,v:ot})}for(I.sort(function(tt,et){return et.v-tt.v}),st=0;stc(k)?1:-1}};n({target:"Array",proto:!0,forced:w},{sort:function(z){z!==void 0&&o(z);var k=i(this);if(B)return z===void 0?M(k):M(k,z);var ot=[],st=u(k),tt,et;for(et=0;et$-W+w;z--)y(L,z-1)}else if(w>W)for(z=$-W;z>G;z--)k=z+W-1,ot=z+w-1,k in L?L[ot]=L[k]:y(L,ot);for(z=0;z=0&&d<=99?d+1900:d;return f(this,y)}})},33685:function(l,p,t){var n=t(14304);n({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},60086:function(l,p,t){var n=t(14304),e=t(11890);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==e},{toISOString:e})},96049:function(l,p,t){var n=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});n({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(c){var g=o(this),d=i(g,"number");return typeof d=="number"&&!isFinite(d)?null:g.toISOString()}})},14038:function(l,p,t){var n=t(94879),e=t(16142),o=t(84306),i=t(18565),u=i("toPrimitive"),f=Date.prototype;n(f,u)||e(f,u,o)},55518:function(l,p,t){var n=t(11286),e=t(16142),o=Date.prototype,i="Invalid Date",u="toString",f=n(o[u]),c=n(o.getTime);String(new Date(NaN))!==i&&e(o,u,function(){var d=c(this);return d===d?f(this):i})},81742:function(l,p,t){var n=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),n({global:!0,constructor:!0,arity:1,forced:c},E)},d=function(y,S){if(f&&f[y]){var E={};E[y]=i(u+"."+y,S,c),n({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)}}),d("CompileError",function(y){return function(E){return o(y,this,arguments)}}),d("LinkError",function(y){return function(E){return o(y,this,arguments)}}),d("RuntimeError",function(y){return function(E){return o(y,this,arguments)}})},8720:function(l,p,t){var n=t(16142),e=t(58434),o=Error.prototype;o.toString!==e&&n(o,"toString",e)},8894:function(l,p,t){var n=t(14304),e=t(11286),o=t(17361),i=e("".charAt),u=e("".charCodeAt),f=e(/./.exec),c=e(1 .toString),g=e("".toUpperCase),d=/[\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 n=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);n({target:"Math",stat:!0,forced:f},{asinh:u})},22091:function(l,p,t){var n=t(14304),e=Math.atanh,o=Math.log,i=!(e&&1/e(-0)<0);n({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 n=t(14304),e=t(93976),o=Math.abs,i=Math.pow;n({target:"Math",stat:!0},{cbrt:function(f){var c=+f;return e(c)*i(o(c),.3333333333333333)}})},25895:function(l,p,t){var n=t(14304),e=Math.floor,o=Math.log,i=Math.LOG2E;n({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 n=t(14304),e=t(98940),o=Math.cosh,i=Math.abs,u=Math.E,f=!o||o(710)===1/0;n({target:"Math",stat:!0,forced:f},{cosh:function(g){var d=e(i(g)-1)+1;return(d+1/(d*u*u))*(u/2)}})},79488:function(l,p,t){var n=t(14304),e=t(98940);n({target:"Math",stat:!0,forced:e!==Math.expm1},{expm1:e})},75987:function(l,p,t){var n=t(14304),e=t(93279);n({target:"Math",stat:!0},{fround:e})},81555:function(l,p,t){var n=t(14304),e=Math.hypot,o=Math.abs,i=Math.sqrt,u=!!e&&e(1/0,NaN)!==1/0;n({target:"Math",stat:!0,arity:2,forced:u},{hypot:function(c,g){for(var d=0,y=0,S=arguments.length,E=0,T,A;y0?(A=T/E,d+=A*A):d+=T;return E===1/0?1/0:E*i(d)}})},87854:function(l,p,t){var n=t(14304),e=t(72069),o=Math.imul,i=e(function(){return o(4294967295,5)!==-5||o.length!==2});n({target:"Math",stat:!0,forced:i},{imul:function(f,c){var g=65535,d=+f,y=+c,S=g&d,E=g&y;return 0|S*E+((g&d>>>16)*E+S*(g&y>>>16)<<16>>>0)}})},35074:function(l,p,t){var n=t(14304),e=t(41942);n({target:"Math",stat:!0},{log10:e})},50946:function(l,p,t){var n=t(14304),e=t(49366);n({target:"Math",stat:!0},{log1p:e})},29417:function(l,p,t){var n=t(14304),e=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(u){return e(u)/o}})},80628:function(l,p,t){var n=t(14304),e=t(93976);n({target:"Math",stat:!0},{sign:e})},74375:function(l,p,t){var n=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});n({target:"Math",stat:!0,forced:c},{sinh:function(d){var y=+d;return i(y)<1?(o(y)-o(-y))/2:(u(y-1)-u(-y-1))*(f/2)}})},29708:function(l,p,t){var n=t(14304),e=t(98940),o=Math.exp;n({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 n=t(78401);n(Math,"Math",!0)},9111:function(l,p,t){var n=t(14304),e=t(22459);n({target:"Math",stat:!0},{trunc:e})},83514:function(l,p,t){var n=t(14304),e=t(70457),o=t(92986),i=t(34246),u=t(75081),f=t(11286),c=t(13278),g=t(94879),d=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),L=t(85900).trim,$="Number",G=i[$],B=u[$],w=G.prototype,W=i.TypeError,X=f("".slice),z=f("".charCodeAt),k=function(gt){var Pt=E(gt,"number");return typeof Pt=="bigint"?Pt:ot(Pt)},ot=function(gt){var Pt=E(gt,"number"),It,Mt,Tt,qt,Qt,Jt,er,ir;if(S(Pt))throw new W("Cannot convert a Symbol value to a number");if(typeof Pt=="string"&&Pt.length>2){if(Pt=L(Pt),It=z(Pt,0),It===43||It===45){if(Mt=z(Pt,2),Mt===88||Mt===120)return NaN}else if(It===48){switch(z(Pt,1)){case 66:case 98:Tt=2,qt=49;break;case 79:case 111:Tt=8,qt=55;break;default:return+Pt}for(Qt=X(Pt,2),Jt=Qt.length,er=0;erqt)return NaN;return parseInt(Qt,Tt)}}return+Pt},st=c($,!G(" 0o1")||!G("0b1")||G("+0x1")),tt=function(gt){return y(w,gt)&&T(function(){N(gt)})},et=function(Pt){var It=arguments.length<1?0:G(k(Pt));return tt(this)?d(Object(It),this,et):It};et.prototype=w,st&&!e&&(w.constructor=et),n({global:!0,constructor:!0,wrap:!0,forced:st},{Number:et});var at=function(gt,Pt){for(var It=o?A(Pt):"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(","),Mt=0,Tt;It.length>Mt;Mt++)g(Pt,Tt=It[Mt])&&!g(gt,Tt)&&M(gt,Tt,I(Pt,Tt))};e&&B&&at(u[$],B),(st||e)&&at(u[$],G)},15096:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59590:function(l,p,t){var n=t(14304),e=t(98074);n({target:"Number",stat:!0},{isFinite:e})},99663:function(l,p,t){var n=t(14304),e=t(613);n({target:"Number",stat:!0},{isInteger:e})},89988:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0},{isNaN:function(o){return o!==o}})},54427:function(l,p,t){var n=t(14304),e=t(613),o=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(u){return e(u)&&o(u)<=9007199254740991}})},67895:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},57909:function(l,p,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},83938:function(l,p,t){var n=t(14304),e=t(25838);n({target:"Number",stat:!0,forced:Number.parseFloat!==e},{parseFloat:e})},55461:function(l,p,t){var n=t(14304),e=t(23009);n({target:"Number",stat:!0,forced:Number.parseInt!==e},{parseInt:e})},97339:function(l,p,t){var n=t(14304),e=t(11286),o=t(12105),i=t(34338),u=t(79719),f=t(41942),c=t(72069),g=RangeError,d=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),L=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",$=function(){return c(function(){I(1,1/0)})&&c(function(){I(1,-1/0)})},G=function(){return!c(function(){I(1/0,1/0),I(NaN,1/0)})},B=!L||!$()||!G();n({target:"Number",proto:!0,forced:B},{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(L)return I(X,z);var k="",ot,st,tt,et;if(X<0&&(k="-",X=-X),X===0)st=0,ot=M("0",z+1);else{var at=f(X);st=E(at);var gt=T(10,st-z),Pt=A(X/gt);2*X>=(2*Pt+1)*gt&&(Pt+=1),Pt>=T(10,z+1)&&(Pt/=10,st+=1),ot=d(Pt)}return z!==0&&(ot=N(ot,0,1)+"."+N(ot,1)),st===0?(tt="+",et="0"):(tt=st>0?"+":"-",et=d(S(st))),ot+="e"+tt+et,k+ot}})},3670:function(l,p,t){var n=t(14304),e=t(11286),o=t(12105),i=t(34338),u=t(79719),f=t(72069),c=RangeError,g=String,d=Math.floor,y=e(u),S=e("".slice),E=e(1 .toFixed),T=function($,G,B){return G===0?B:G%2===1?T($,G-1,B*$):T($*$,G/2,B)},A=function($){for(var G=0,B=$;B>=4096;)G+=12,B/=4096;for(;B>=2;)G+=1,B/=2;return G},I=function($,G,B){for(var w=-1,W=B;++w<6;)W+=G*$[w],$[w]=W%1e7,W=d(W/1e7)},M=function($,G){for(var B=6,w=0;--B>=0;)w+=$[B],$[B]=d(w/G),w=w%G*1e7},N=function($){for(var G=6,B="";--G>=0;)if(B!==""||G===0||$[G]!==0){var w=g($[G]);B=B===""?w:B+y("0",7-w.length)+w}return B},L=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({})});n({target:"Number",proto:!0,forced:L},{toFixed:function(G){var B=i(this),w=o(G),W=[0,0,0,0,0,0],X="",z="0",k,ot,st,tt;if(w<0||w>20)throw new c("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return g(B);if(B<0&&(X="-",B=-B),B>1e-21)if(k=A(B*T(2,69,1))-69,ot=k<0?B*T(2,-k,1):B/T(2,k,1),ot*=4503599627370496,k=52-k,k>0){for(I(W,0,ot),st=w;st>=7;)I(W,1e7,0),st-=7;for(I(W,T(10,st,1),0),st=k-1;st>=23;)M(W,8388608),st-=23;M(W,1<0?(tt=z.length,z=X+(tt<=w?"0."+y("0",w-tt)+z:S(z,0,tt-w)+"."+S(z,tt-w))):z=X+z,z}})},15224:function(l,p,t){var n=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({})});n({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 n=t(14304),e=t(16667);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})},99910:function(l,p,t){var n=t(14304),e=t(92986),o=t(5406);n({target:"Object",stat:!0,sham:!e},{create:o})},92445:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(85156),u=t(49671),f=t(7831);e&&n({target:"Object",proto:!0,forced:o},{__defineGetter__:function(g,d){f.f(u(this),g,{get:i(d),enumerable:!0,configurable:!0})}})},21875:function(l,p,t){var n=t(14304),e=t(92986),o=t(61963).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!e},{defineProperties:o})},4383:function(l,p,t){var n=t(14304),e=t(92986),o=t(7831).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!e},{defineProperty:o})},11361:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(85156),u=t(49671),f=t(7831);e&&n({target:"Object",proto:!0,forced:o},{__defineSetter__:function(g,d){f.f(u(this),g,{set:i(d),enumerable:!0,configurable:!0})}})},13728:function(l,p,t){var n=t(14304),e=t(8511).entries;n({target:"Object",stat:!0},{entries:function(i){return e(i)}})},14885:function(l,p,t){var n=t(14304),e=t(27534),o=t(72069),i=t(37540),u=t(31853).onFreeze,f=Object.freeze,c=o(function(){f(1)});n({target:"Object",stat:!0,forced:c,sham:!e},{freeze:function(d){return f&&i(d)?f(u(d)):d}})},30343:function(l,p,t){var n=t(14304),e=t(55902),o=t(84082);n({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 n=t(14304),e=t(72069),o=t(36859),i=t(71349).f,u=t(92986),f=!u||e(function(){i(1)});n({target:"Object",stat:!0,forced:f,sham:!u},{getOwnPropertyDescriptor:function(g,d){return i(o(g),d)}})},75e3:function(l,p,t){var n=t(14304),e=t(92986),o=t(16885),i=t(36859),u=t(71349),f=t(84082);n({target:"Object",stat:!0,sham:!e},{getOwnPropertyDescriptors:function(g){for(var d=i(g),y=u.f,S=o(d),E={},T=0,A,I;S.length>T;)I=y(d,A=S[T++]),I!==void 0&&f(E,A,I);return E}})},64658:function(l,p,t){var n=t(14304),e=t(72069),o=t(92880).f,i=e(function(){return!Object.getOwnPropertyNames(1)});n({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:o})},45223:function(l,p,t){var n=t(14304),e=t(39729),o=t(72069),i=t(24943),u=t(49671),f=!e||o(function(){i.f(1)});n({target:"Object",stat:!0,forced:f},{getOwnPropertySymbols:function(g){var d=i.f;return d?d(u(g)):[]}})},16017:function(l,p,t){var n=t(14304),e=t(72069),o=t(49671),i=t(26313),u=t(87501),f=e(function(){i(1)});n({target:"Object",stat:!0,forced:f,sham:!u},{getPrototypeOf:function(g){return i(o(g))}})},84681:function(l,p,t){var n=t(14304),e=t(38941),o=t(11286),i=t(85156),u=t(2068),f=t(50035),c=t(55902),g=t(72069),d=Object.groupBy,y=e("Object","create"),S=o([].push),E=!d||g(function(){return d("ab",function(T){return T}).a.length!==1});n({target:"Object",stat:!0,forced:E},{groupBy:function(A,I){u(A),i(I);var M=y(null),N=0;return c(A,function(L){var $=f(I(L,N++));$ in M?S(M[$],L):M[$]=[L]}),M}})},73421:function(l,p,t){var n=t(14304),e=t(94879);n({target:"Object",stat:!0},{hasOwn:e})},31046:function(l,p,t){var n=t(14304),e=t(28174);n({target:"Object",stat:!0,forced:Object.isExtensible!==e},{isExtensible:e})},94645:function(l,p,t){var n=t(14304),e=t(72069),o=t(37540),i=t(14274),u=t(72058),f=Object.isFrozen,c=u||e(function(){f(1)});n({target:"Object",stat:!0,forced:c},{isFrozen:function(d){return!o(d)||u&&i(d)==="ArrayBuffer"?!0:f?f(d):!1}})},62935:function(l,p,t){var n=t(14304),e=t(72069),o=t(37540),i=t(14274),u=t(72058),f=Object.isSealed,c=u||e(function(){f(1)});n({target:"Object",stat:!0,forced:c},{isSealed:function(d){return!o(d)||u&&i(d)==="ArrayBuffer"?!0:f?f(d):!1}})},93446:function(l,p,t){var n=t(14304),e=t(13944);n({target:"Object",stat:!0},{is:e})},62518:function(l,p,t){var n=t(14304),e=t(49671),o=t(18350),i=t(72069),u=i(function(){o(1)});n({target:"Object",stat:!0,forced:u},{keys:function(c){return o(e(c))}})},45130:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(49671),u=t(50035),f=t(26313),c=t(71349).f;e&&n({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(d){var y=i(this),S=u(d),E;do if(E=c(y,S))return E.get;while(y=f(y))}})},51542:function(l,p,t){var n=t(14304),e=t(92986),o=t(57629),i=t(49671),u=t(50035),f=t(26313),c=t(71349).f;e&&n({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(d){var y=i(this),S=u(d),E;do if(E=c(y,S))return E.set;while(y=f(y))}})},43781:function(l,p,t){var n=t(14304),e=t(37540),o=t(31853).onFreeze,i=t(27534),u=t(72069),f=Object.preventExtensions,c=u(function(){f(1)});n({target:"Object",stat:!0,forced:c,sham:!i},{preventExtensions:function(d){return f&&e(d)?f(o(d)):d}})},25738:function(l,p,t){var n=t(92986),e=t(85500),o=t(37540),i=t(52427),u=t(49671),f=t(2068),c=Object.getPrototypeOf,g=Object.setPrototypeOf,d=Object.prototype,y="__proto__";if(n&&c&&g&&!(y in d))try{e(d,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 n=t(14304),e=t(37540),o=t(31853).onFreeze,i=t(27534),u=t(72069),f=Object.seal,c=u(function(){f(1)});n({target:"Object",stat:!0,forced:c,sham:!i},{seal:function(d){return f&&e(d)?f(o(d)):d}})},41533:function(l,p,t){var n=t(14304),e=t(15861);n({target:"Object",stat:!0},{setPrototypeOf:e})},60225:function(l,p,t){var n=t(67878),e=t(16142),o=t(60105);n||e(Object.prototype,"toString",o,{unsafe:!0})},69920:function(l,p,t){var n=t(14304),e=t(8511).values;n({target:"Object",stat:!0},{values:function(i){return e(i)}})},89205:function(l,p,t){var n=t(14304),e=t(25838);n({global:!0,forced:parseFloat!==e},{parseFloat:e})},78546:function(l,p,t){var n=t(14304),e=t(23009);n({global:!0,forced:parseInt!==e},{parseInt:e})},16893:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);n({target:"Promise",stat:!0,forced:c},{allSettled:function(d){var y=this,S=i.f(y),E=S.resolve,T=S.reject,A=u(function(){var I=o(y.resolve),M=[],N=0,L=1;f(d,function($){var G=N++,B=!1;L++,e(I,y,$).then(function(w){B||(B=!0,M[G]={status:"fulfilled",value:w},--L||E(M))},function(w){B||(B=!0,M[G]={status:"rejected",reason:w},--L||E(M))})}),--L||E(M)});return A.error&&T(A.value),S.promise}})},11733:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);n({target:"Promise",stat:!0,forced:c},{all:function(d){var y=this,S=i.f(y),E=S.resolve,T=S.reject,A=u(function(){var I=o(y.resolve),M=[],N=0,L=1;f(d,function($){var G=N++,B=!1;L++,e(I,y,$).then(function(w){B||(B=!0,M[G]=w,--L||E(M))},T)}),--L||E(M)});return A.error&&T(A.value),S.promise}})},3676:function(l,p,t){var n=t(14304),e=t(96499),o=t(85156),i=t(38941),u=t(24649),f=t(67805),c=t(55902),g=t(26035),d="No one promise resolved";n({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 L=o(E.resolve),$=[],G=0,B=1,w=!1;c(S,function(W){var X=G++,z=!1;B++,e(L,E,W).then(function(k){z||w||(w=!0,I(k))},function(k){z||w||(z=!0,$[X]=k,--B||M(new T($,d)))})}),--B||M(new T($,d))});return N.error&&M(N.value),A.promise}})},14013:function(l,p,t){var n=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(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(y){return this.then(void 0,y)}}),!e&&f(i)){var d=u("Promise").prototype.catch;g.catch!==d&&c(g,"catch",d,{unsafe:!0})}},20238:function(l,p,t){var n=t(14304),e=t(70457),o=t(91707),i=t(34246),u=t(96499),f=t(16142),c=t(15861),g=t(78401),d=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),L=t(67805),$=t(76895),G=t(82367),B=t(98844),w=t(37130),W=t(24649),X="Promise",z=w.CONSTRUCTOR,k=w.REJECTION_EVENT,ot=w.SUBCLASSING,st=G.getterFor(X),tt=G.set,et=B&&B.prototype,at=B,gt=et,Pt=i.TypeError,It=i.document,Mt=i.process,Tt=W.f,qt=Tt,Qt=!!(It&&It.createEvent&&i.dispatchEvent),Jt="unhandledrejection",er="rejectionhandled",ir=0,Ar=1,xr=2,Er=1,Yt=2,tr,Sr,Tr,pr,Ir=function(Dt){var cr;return E(Dt)&&S(cr=Dt.then)?cr:!1},Ur=function(Dt,cr){var vr=cr.value,ar=cr.state===Ar,rr=ar?Dt.ok:Dt.fail,jr=Dt.resolve,wr=Dt.reject,yt=Dt.domain,jt,Gt,Bt;try{rr?(ar||(cr.rejection===Yt&&Or(cr),cr.rejection=Er),rr===!0?jt=vr:(yt&&yt.enter(),jt=rr(vr),yt&&(yt.exit(),Bt=!0)),jt===Dt.promise?wr(new Pt("Promise-chain cycle")):(Gt=Ir(jt))?u(Gt,jt,jr,wr):jr(jt)):wr(vr)}catch(zt){yt&&!Bt&&yt.exit(),wr(zt)}},br=function(Dt,cr){Dt.notified||(Dt.notified=!0,M(function(){for(var vr=Dt.reactions,ar;ar=vr.get();)Ur(ar,Dt);Dt.notified=!1,cr&&!Dt.rejection&&mr(Dt)}))},Pr=function(Dt,cr,vr){var ar,rr;Qt?(ar=It.createEvent("Event"),ar.promise=cr,ar.reason=vr,ar.initEvent(Dt,!1,!0),i.dispatchEvent(ar)):ar={promise:cr,reason:vr},!k&&(rr=i["on"+Dt])?rr(ar):Dt===Jt&&N("Unhandled promise rejection",vr)},mr=function(Dt){u(I,i,function(){var cr=Dt.facade,vr=Dt.value,ar=Nr(Dt),rr;if(ar&&(rr=L(function(){o?Mt.emit("unhandledRejection",vr,cr):Pr(Jt,cr,vr)}),Dt.rejection=o||Nr(Dt)?Yt:Er,rr.error))throw rr.value})},Nr=function(Dt){return Dt.rejection!==Er&&!Dt.parent},Or=function(Dt){u(I,i,function(){var cr=Dt.facade;o?Mt.emit("rejectionHandled",cr):Pr(er,cr,Dt.value)})},yr=function(Dt,cr,vr){return function(ar){Dt(cr,ar,vr)}},$t=function(Dt,cr,vr){Dt.done||(Dt.done=!0,vr&&(Dt=vr),Dt.value=cr,Dt.state=xr,br(Dt,!0))},Ht=function(Dt,cr,vr){if(!Dt.done){Dt.done=!0,vr&&(Dt=vr);try{if(Dt.facade===cr)throw new Pt("Promise can't be resolved itself");var ar=Ir(cr);ar?M(function(){var rr={done:!1};try{u(ar,cr,yr(Ht,rr,Dt),yr($t,rr,Dt))}catch(jr){$t(rr,jr,Dt)}}):(Dt.value=cr,Dt.state=Ar,br(Dt,!1))}catch(rr){$t({done:!1},rr,Dt)}}};if(z&&(at=function(cr){T(this,gt),y(cr),u(tr,this);var vr=st(this);try{cr(yr(Ht,vr),yr($t,vr))}catch(ar){$t(vr,ar)}},gt=at.prototype,tr=function(cr){tt(this,{type:X,done:!1,notified:!1,parent:!1,reactions:new $,rejection:!1,state:ir,value:null})},tr.prototype=f(gt,"then",function(cr,vr){var ar=st(this),rr=Tt(A(this,at));return ar.parent=!0,rr.ok=S(cr)?cr:!0,rr.fail=S(vr)&&vr,rr.domain=o?Mt.domain:void 0,ar.state===ir?ar.reactions.add(rr):M(function(){Ur(rr,ar)}),rr.promise}),Sr=function(){var Dt=new tr,cr=st(Dt);this.promise=Dt,this.resolve=yr(Ht,cr),this.reject=yr($t,cr)},W.f=Tt=function(Dt){return Dt===at||Dt===Tr?new Sr(Dt):qt(Dt)},!e&&S(B)&&et!==Object.prototype)){pr=et.then,ot||f(et,"then",function(cr,vr){var ar=this;return new at(function(rr,jr){u(pr,ar,rr,jr)}).then(cr,vr)},{unsafe:!0});try{delete et.constructor}catch(Dt){}c&&c(et,gt)}n({global:!0,constructor:!0,wrap:!0,forced:z},{Promise:at}),g(at,X,!1,!0),d(X)},58361:function(l,p,t){var n=t(14304),e=t(70457),o=t(98844),i=t(72069),u=t(38941),f=t(23583),c=t(16887),g=t(87408),d=t(16142),y=o&&o.prototype,S=!!o&&i(function(){y.finally.call({then:function(){}},function(){})});if(n({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&&d(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 n=t(14304),e=t(96499),o=t(85156),i=t(24649),u=t(67805),f=t(55902),c=t(26035);n({target:"Promise",stat:!0,forced:c},{race:function(d){var y=this,S=i.f(y),E=S.reject,T=u(function(){var A=o(y.resolve);f(d,function(I){e(A,y,I).then(S.resolve,E)})});return T.error&&E(T.value),S.promise}})},36027:function(l,p,t){var n=t(14304),e=t(24649),o=t(37130).CONSTRUCTOR;n({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 n=t(14304),e=t(38941),o=t(70457),i=t(98844),u=t(37130).CONSTRUCTOR,f=t(87408),c=e("Promise"),g=o&&!u;n({target:"Promise",stat:!0,forced:o||u},{resolve:function(y){return f(g&&this===c?i:this,y)}})},23958:function(l,p,t){var n=t(14304),e=t(24649);n({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 n=t(14304),e=t(66543),o=t(85156),i=t(25001),u=t(72069),f=!u(function(){Reflect.apply(function(){})});n({target:"Reflect",stat:!0,forced:f},{apply:function(g,d,y){return e(o(g),d,i(y))}})},2371:function(l,p,t){var n=t(14304),e=t(38941),o=t(66543),i=t(91384),u=t(80042),f=t(25001),c=t(37540),g=t(5406),d=t(72069),y=e("Reflect","construct"),S=Object.prototype,E=[].push,T=d(function(){function M(){}return!(y(function(){},[],M)instanceof M)}),A=!d(function(){y(function(){})}),I=T||A;n({target:"Reflect",stat:!0,forced:I,sham:I},{construct:function(N,L){u(N),f(L);var $=arguments.length<3?N:u(arguments[2]);if(A&&!T)return y(N,L,$);if(N===$){switch(L.length){case 0:return new N;case 1:return new N(L[0]);case 2:return new N(L[0],L[1]);case 3:return new N(L[0],L[1],L[2]);case 4:return new N(L[0],L[1],L[2],L[3])}var G=[null];return o(E,G,L),new(o(i,N,G))}var B=$.prototype,w=g(c(B)?B:S),W=o(N,w,L);return c(W)?W:w}})},76185:function(l,p,t){var n=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})});n({target:"Reflect",stat:!0,forced:c,sham:!e},{defineProperty:function(d,y,S){o(d);var E=i(y);o(S);try{return u.f(d,E,S),!0}catch(T){return!1}}})},76553:function(l,p,t){var n=t(14304),e=t(25001),o=t(71349).f;n({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 n=t(14304),e=t(92986),o=t(25001),i=t(71349);n({target:"Reflect",stat:!0,sham:!e},{getOwnPropertyDescriptor:function(f,c){return i.f(o(f),c)}})},91723:function(l,p,t){var n=t(14304),e=t(25001),o=t(26313),i=t(87501);n({target:"Reflect",stat:!0,sham:!i},{getPrototypeOf:function(f){return o(e(f))}})},93518:function(l,p,t){var n=t(14304),e=t(96499),o=t(37540),i=t(25001),u=t(69745),f=t(71349),c=t(26313);function g(d,y){var S=arguments.length<3?d:arguments[2],E,T;if(i(d)===S)return d[y];if(E=f.f(d,y),E)return u(E)?E.value:E.get===void 0?void 0:e(E.get,S);if(o(T=c(d)))return g(T,y,S)}n({target:"Reflect",stat:!0},{get:g})},57882:function(l,p,t){var n=t(14304);n({target:"Reflect",stat:!0},{has:function(o,i){return i in o}})},37796:function(l,p,t){var n=t(14304),e=t(25001),o=t(28174);n({target:"Reflect",stat:!0},{isExtensible:function(u){return e(u),o(u)}})},11563:function(l,p,t){var n=t(14304),e=t(16885);n({target:"Reflect",stat:!0},{ownKeys:e})},26159:function(l,p,t){var n=t(14304),e=t(38941),o=t(25001),i=t(27534);n({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 n=t(14304),e=t(25001),o=t(53408),i=t(15861);i&&n({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 n=t(14304),e=t(96499),o=t(25001),i=t(37540),u=t(69745),f=t(72069),c=t(7831),g=t(71349),d=t(26313),y=t(18526);function S(T,A,I){var M=arguments.length<4?T:arguments[3],N=g.f(o(T),A),L,$,G;if(!N){if(i($=d(T)))return S($,A,I,M);N=y(0)}if(u(N)){if(N.writable===!1||!i(M))return!1;if(L=g.f(M,A)){if(L.get||L.set||L.writable===!1)return!1;L.value=I,c.f(M,A,L)}else c.f(M,A,y(0,I))}else{if(G=N.set,G===void 0)return!1;e(G,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});n({target:"Reflect",stat:!0,forced:E},{set:S})},6130:function(l,p,t){var n=t(14304),e=t(34246),o=t(78401);n({global:!0},{Reflect:{}}),o(e.Reflect,"Reflect",!0)},1354:function(l,p,t){var n=t(92986),e=t(34246),o=t(11286),i=t(13278),u=t(32345),f=t(90809),c=t(5406),g=t(83258).f,d=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),L=t(82367).enforce,$=t(36167),G=t(18565),B=t(76769),w=t(85220),W=G("match"),X=e.RegExp,z=X.prototype,k=e.SyntaxError,ot=o(z.exec),st=o("".charAt),tt=o("".replace),et=o("".indexOf),at=o("".slice),gt=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Pt=/a/g,It=/a/g,Mt=new X(Pt)!==Pt,Tt=T.MISSED_STICKY,qt=T.UNSUPPORTED_Y,Qt=n&&(!Mt||Tt||B||w||M(function(){return It[W]=!1,X(Pt)!==Pt||X(It)===It||String(X(Pt,"i"))!=="/a/i"})),Jt=function(Er){for(var Yt=Er.length,tr=0,Sr="",Tr=!1,pr;tr<=Yt;tr++){if(pr=st(Er,tr),pr==="\\"){Sr+=pr+st(Er,++tr);continue}!Tr&&pr==="."?Sr+="[\\s\\S]":(pr==="["?Tr=!0:pr==="]"&&(Tr=!1),Sr+=pr)}return Sr},er=function(Er){for(var Yt=Er.length,tr=0,Sr="",Tr=[],pr=c(null),Ir=!1,Ur=!1,br=0,Pr="",mr;tr<=Yt;tr++){if(mr=st(Er,tr),mr==="\\")mr+=st(Er,++tr);else if(mr==="]")Ir=!1;else if(!Ir)switch(!0){case mr==="[":Ir=!0;break;case mr==="(":if(Sr+=mr,at(Er,tr+1,tr+3)==="?:")continue;ot(gt,at(Er,tr+1))&&(tr+=2,Ur=!0),br++;continue;case(mr===">"&&Ur):if(Pr===""||N(pr,Pr))throw new k("Invalid capture group name");pr[Pr]=!0,Tr[Tr.length]=[Pr,br],Ur=!1,Pr="";continue}Ur?Pr+=mr:Sr+=mr}return[Sr,Tr]};if(i("RegExp",Qt)){for(var ir=function(Yt,tr){var Sr=d(z,this),Tr=y(Yt),pr=tr===void 0,Ir=[],Ur=Yt,br,Pr,mr,Nr,Or,yr;if(!Sr&&Tr&&pr&&Yt.constructor===ir)return Yt;if((Tr||d(z,Yt))&&(Yt=Yt.source,pr&&(tr=E(Ur))),Yt=Yt===void 0?"":S(Yt),tr=tr===void 0?"":S(tr),Ur=Yt,B&&"dotAll"in Pt&&(Pr=!!tr&&et(tr,"s")>-1,Pr&&(tr=tt(tr,/s/g,""))),br=tr,Tt&&"sticky"in Pt&&(mr=!!tr&&et(tr,"y")>-1,mr&&qt&&(tr=tt(tr,/y/g,""))),w&&(Nr=er(Yt),Yt=Nr[0],Ir=Nr[1]),Or=u(X(Yt,tr),Sr?this:z,ir),(Pr||mr||Ir.length)&&(yr=L(Or),Pr&&(yr.dotAll=!0,yr.raw=ir(Jt(Yt),br)),mr&&(yr.sticky=!0),Ir.length&&(yr.groups=Ir)),Yt!==Ur)try{f(Or,"source",Ur===""?"(?:)":Ur)}catch($t){}return Or},Ar=g(X),xr=0;Ar.length>xr;)A(ir,X,Ar[xr++]);z.constructor=ir,ir.prototype=z,I(e,"RegExp",ir,{constructor:!0})}$("RegExp")},47119:function(l,p,t){var n=t(92986),e=t(76769),o=t(14274),i=t(85500),u=t(82367).get,f=RegExp.prototype,c=TypeError;n&&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 n=t(14304),e=t(44381);n({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},96773:function(l,p,t){var n=t(34246),e=t(92986),o=t(85500),i=t(29833),u=t(72069),f=n.RegExp,c=f.prototype,g=e&&u(function(){var d=!0;try{f(".","d")}catch(N){d=!1}var y={},S="",E=d?"dgimsy":"gimsy",T=function(N,L){Object.defineProperty(y,N,{get:function(){return S+=L,!0}})},A={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};d&&(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 n=t(92986),e=t(39807).MISSED_STICKY,o=t(14274),i=t(85500),u=t(82367).get,f=RegExp.prototype,c=TypeError;n&&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 n=t(14304),e=t(96499),o=t(23583),i=t(25001),u=t(17361),f=function(){var g=!1,d=/[ac]/;return d.exec=function(){return g=!0,/./.exec.apply(this,arguments)},d.test("abc")===!0&&g}(),c=/./.test;n({target:"RegExp",proto:!0,forced:!f},{test:function(g){var d=i(this),y=u(g),S=d.exec;if(!o(S))return e(c,d,y);var E=e(S,d,y);return E===null?!1:(i(E),!0)}})},83147:function(l,p,t){var n=t(86588).PROPER,e=t(16142),o=t(25001),i=t(17361),u=t(72069),f=t(54932),c="toString",g=RegExp.prototype,d=g[c],y=u(function(){return d.call({source:"a",flags:"b"})!=="/a/b"}),S=n&&d.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 n=t(89378),e=t(34440);n("Set",function(o){return function(){return o(this,arguments.length?arguments[0]:void 0)}},e)},86548:function(l,p,t){var n=t(14304),e=t(41754),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("difference")},{difference:e})},15282:function(l,p,t){var n=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"});n({target:"Set",proto:!0,real:!0,forced:u},{intersection:o})},51275:function(l,p,t){var n=t(14304),e=t(47391),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:e})},91890:function(l,p,t){var n=t(14304),e=t(75492),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:e})},15089:function(l,p,t){var n=t(14304),e=t(1333),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:e})},75765:function(l,p,t){t(6583)},78134:function(l,p,t){var n=t(14304),e=t(64680),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:e})},56456:function(l,p,t){var n=t(14304),e=t(70402),o=t(94118);n({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:e})},70641:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("anchor")},{anchor:function(u){return e(this,"a","name",u)}})},40735:function(l,p,t){var n=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"});n({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 n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("big")},{big:function(){return e(this,"big","","")}})},95976:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("blink")},{blink:function(){return e(this,"blink","","")}})},399:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("bold")},{bold:function(){return e(this,"b","","")}})},8510:function(l,p,t){var n=t(14304),e=t(22149).codeAt;n({target:"String",proto:!0},{codePointAt:function(i){return e(this,i)}})},70159:function(l,p,t){var n=t(14304),e=t(77422),o=t(71349).f,i=t(45344),u=t(17361),f=t(92337),c=t(2068),g=t(8790),d=t(70457),y=e("".slice),S=Math.min,E=g("endsWith"),T=!d&&!E&&!!function(){var A=o(String.prototype,"endsWith");return A&&!A.writable}();n({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,L=M.length,$=N===void 0?L:S(i(N),L),G=u(I);return y(M,$-G.length,$)===G}})},72032:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){return e(this,"tt","","")}})},49442:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("fontcolor")},{fontcolor:function(u){return e(this,"font","color",u)}})},16012:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("fontsize")},{fontsize:function(u){return e(this,"font","size",u)}})},93087:function(l,p,t){var n=t(14304),e=t(11286),o=t(4652),i=RangeError,u=String.fromCharCode,f=String.fromCodePoint,c=e([].join),g=!!f&&f.length!==1;n({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 n=t(14304),e=t(11286),o=t(92337),i=t(2068),u=t(17361),f=t(8790),c=e("".indexOf);n({target:"String",proto:!0,forced:!f("includes")},{includes:function(d){return!!~c(u(i(this)),u(o(d)),arguments.length>1?arguments[1]:void 0)}})},93029:function(l,p,t){var n=t(14304),e=t(11286),o=t(2068),i=t(17361),u=e("".charCodeAt);n({target:"String",proto:!0},{isWellFormed:function(){for(var c=i(o(this)),g=c.length,d=0;d=56320||++d>=g||(u(c,d)&64512)!==56320))return!1}return!0}})},9943:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("italics")},{italics:function(){return e(this,"i","","")}})},59158:function(l,p,t){var n=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(d){c(this,{type:f,string:e(d),index:0})},function(){var y=g(this),S=y.string,E=y.index,T;return E>=S.length?u(void 0,!0):(T=n(S,E),y.index+=T.length,u(T,!1))})},33128:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("link")},{link:function(u){return e(this,"a","href",u)}})},18509:function(l,p,t){var n=t(14304),e=t(96499),o=t(77422),i=t(26820),u=t(10659),f=t(2068),c=t(45344),g=t(17361),d=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),L=t(16887),$=t(24487),G=t(33064),B=t(82367),w=t(70457),W=N("matchAll"),X="RegExp String",z=X+" Iterator",k=B.set,ot=B.getterFor(z),st=RegExp.prototype,tt=TypeError,et=o("".indexOf),at=o("".matchAll),gt=!!at&&!M(function(){at("a",/./)}),Pt=i(function(Tt,qt,Qt,Jt){k(this,{type:z,regexp:Tt,string:qt,global:Qt,unicode:Jt,done:!1})},X,function(){var Tt=ot(this);if(Tt.done)return u(void 0,!0);var qt=Tt.regexp,Qt=Tt.string,Jt=G(qt,Qt);return Jt===null?(Tt.done=!0,u(void 0,!0)):Tt.global?(g(Jt[0])===""&&(qt.lastIndex=$(Qt,c(qt.lastIndex),Tt.unicode)),u(Jt,!1)):(Tt.done=!0,u(Jt,!1))}),It=function(Mt){var Tt=d(this),qt=g(Mt),Qt=L(Tt,RegExp),Jt=g(T(Tt)),er,ir,Ar;return er=new Qt(Qt===RegExp?Tt.source:Tt,Jt),ir=!!~et(Jt,"g"),Ar=!!~et(Jt,"u"),er.lastIndex=c(Tt.lastIndex),new Pt(er,qt,ir,Ar)};n({target:"String",proto:!0,forced:gt},{matchAll:function(Tt){var qt=f(this),Qt,Jt,er,ir;if(y(Tt)){if(gt)return at(qt,Tt)}else{if(E(Tt)&&(Qt=g(f(T(Tt))),!~et(Qt,"g")))throw new tt("`.matchAll` does not allow non-global regexes");if(gt)return at(qt,Tt);if(er=A(Tt,W),er===void 0&&w&&S(Tt)==="RegExp"&&(er=It),er)return e(er,Tt,qt)}return Jt=g(qt),ir=new RegExp(Tt,"g"),w?e(It,ir,Jt):ir[W](Jt)}}),w||W in st||I(st,W,It)},15599:function(l,p,t){var n=t(96499),e=t(63194),o=t(25001),i=t(5683),u=t(45344),f=t(17361),c=t(2068),g=t(10512),d=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?n(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 L=I.unicode;I.lastIndex=0;for(var $=[],G=0,B;(B=y(I,M))!==null;){var w=f(B[0]);$[G]=w,w===""&&(I.lastIndex=d(M,u(I.lastIndex),L)),G++}return G===0?null:$}]})},21579:function(l,p,t){var n=t(14304),e=t(61607).end,o=t(36945);n({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 n=t(14304),e=t(61607).start,o=t(36945);n({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 n=t(14304),e=t(11286),o=t(36859),i=t(49671),u=t(17361),f=t(82628),c=e([].push),g=e([].join);n({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,"");Iot.length?-1:M(ot,st,gt+at);return It")!=="7"});i("replace",function(tt,et,at){var gt=ot?"$":"$0";return[function(It,Mt){var Tt=E(this),qt=g(It)?void 0:A(It,L);return qt?e(qt,It,Tt,Mt):e(et,S(Tt),It,Mt)},function(Pt,It){var Mt=f(this),Tt=S(Pt);if(typeof It=="string"&&W(It,gt)===-1&&W(It,"$<")===-1){var qt=at(et,Mt,Tt,It);if(qt.done)return qt.value}var Qt=c(It);Qt||(It=S(It));var Jt=Mt.global,er;Jt&&(er=Mt.unicode,Mt.lastIndex=0);for(var ir=[],Ar;Ar=M(Mt,Tt),!(Ar===null||(w(ir,Ar),!Jt));){var xr=S(Ar[0]);xr===""&&(Mt.lastIndex=T(Tt,y(Mt.lastIndex),er))}for(var Er="",Yt=0,tr=0;tr=Yt&&(Er+=X(Tt,Yt,Tr)+Ir,Yt=Tr+Sr.length)}return Er+X(Tt,Yt)}]},!st||!k||ot)},74980:function(l,p,t){var n=t(96499),e=t(63194),o=t(25001),i=t(5683),u=t(2068),f=t(13944),c=t(17361),g=t(10512),d=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?n(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 L=d(A,I);return f(A.lastIndex,N)||(A.lastIndex=N),L===null?-1:L.index}]})},95625:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("small")},{small:function(){return e(this,"small","","")}})},390:function(l,p,t){var n=t(96499),e=t(11286),o=t(63194),i=t(25001),u=t(5683),f=t(2068),c=t(16887),g=t(24487),d=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,L=e([].push),$=e("".slice),G=!A(function(){var w=/(?:)/,W=w.exec;w.exec=function(){return W.apply(this,arguments)};var X="ab".split(w);return X.length!==2||X[0]!=="a"||X[1]!=="b"}),B="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(w,W,X){var z="0".split(void 0,0).length?function(k,ot){return k===void 0&&ot===0?[]:n(W,this,k,ot)}:W;return[function(ot,st){var tt=f(this),et=u(ot)?void 0:S(ot,w);return et?n(et,ot,tt,st):n(z,y(tt),ot,st)},function(k,ot){var st=i(this),tt=y(k);if(!B){var et=X(z,st,tt,ot,z!==W);if(et.done)return et.value}var at=c(st,RegExp),gt=st.unicode,Pt=(st.ignoreCase?"i":"")+(st.multiline?"m":"")+(st.unicode?"u":"")+(I?"g":"y"),It=new at(I?"^(?:"+st.source+")":st,Pt),Mt=ot===void 0?M:ot>>>0;if(Mt===0)return[];if(tt.length===0)return E(It,tt)===null?[tt]:[];for(var Tt=0,qt=0,Qt=[];qt1?arguments[1]:void 0,M.length)),L=u(I);return y(M,N,N+L.length)===L}})},90614:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("strike")},{strike:function(){return e(this,"strike","","")}})},60120:function(l,p,t){var n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("sub")},{sub:function(){return e(this,"sub","","")}})},21293:function(l,p,t){var n=t(14304),e=t(11286),o=t(2068),i=t(12105),u=t(17361),f=e("".slice),c=Math.max,g=Math.min,d=!"".substr||"ab".substr(-1)!=="b";n({target:"String",proto:!0,forced:d},{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 n=t(14304),e=t(68422),o=t(5287);n({target:"String",proto:!0,forced:o("sup")},{sup:function(){return e(this,"sup","","")}})},18184:function(l,p,t){var n=t(14304),e=t(96499),o=t(11286),i=t(2068),u=t(17361),f=t(72069),c=Array,g=o("".charAt),d=o("".charCodeAt),y=o([].join),S="".toWellFormed,E="\uFFFD",T=S&&f(function(){return e(S,1)!=="1"});n({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),L=0;L=56320||L+1>=M||(d(I,L+1)&64512)!==56320?N[L]=E:(N[L]=g(I,L),N[++L]=g(I,L))}return y(N,"")}})},19680:function(l,p,t){t(23283);var n=t(14304),e=t(75176);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==e},{trimEnd:e})},12272:function(l,p,t){var n=t(14304),e=t(83481);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==e},{trimLeft:e})},23283:function(l,p,t){var n=t(14304),e=t(75176);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==e},{trimRight:e})},4193:function(l,p,t){t(12272);var n=t(14304),e=t(83481);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==e},{trimStart:e})},75012:function(l,p,t){var n=t(14304),e=t(85900).trim,o=t(33328);n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return e(this)}})},43606:function(l,p,t){var n=t(83749);n("asyncIterator")},51767:function(l,p,t){var n=t(14304),e=t(34246),o=t(96499),i=t(11286),u=t(70457),f=t(92986),c=t(39729),g=t(72069),d=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),L=t(83258),$=t(92880),G=t(24943),B=t(71349),w=t(7831),W=t(61963),X=t(79591),z=t(16142),k=t(85500),ot=t(96731),st=t(44869),tt=t(19423),et=t(36374),at=t(18565),gt=t(56529),Pt=t(83749),It=t(60796),Mt=t(78401),Tt=t(82367),qt=t(66655).forEach,Qt=st("hidden"),Jt="Symbol",er="prototype",ir=Tt.set,Ar=Tt.getterFor(Jt),xr=Object[er],Er=e.Symbol,Yt=Er&&Er[er],tr=e.RangeError,Sr=e.TypeError,Tr=e.QObject,pr=B.f,Ir=w.f,Ur=$.f,br=X.f,Pr=i([].push),mr=ot("symbols"),Nr=ot("op-symbols"),Or=ot("wks"),yr=!Tr||!Tr[er]||!Tr[er].findChild,$t=function(jt,Gt,Bt){var zt=pr(xr,Gt);zt&&delete xr[Gt],Ir(jt,Gt,Bt),zt&&jt!==xr&&Ir(xr,Gt,zt)},Ht=f&&g(function(){return M(Ir({},"a",{get:function(){return Ir(this,"a",{value:7}).a}})).a!==7})?$t:Ir,Dt=function(jt,Gt){var Bt=mr[jt]=M(Yt);return ir(Bt,{type:Jt,tag:jt,description:Gt}),f||(Bt.description=Gt),Bt},cr=function(Gt,Bt,zt){Gt===xr&&cr(Nr,Bt,zt),S(Gt);var lt=T(Bt);return S(zt),d(mr,lt)?(zt.enumerable?(d(Gt,Qt)&&Gt[Qt][lt]&&(Gt[Qt][lt]=!1),zt=M(zt,{enumerable:I(0,!1)})):(d(Gt,Qt)||Ir(Gt,Qt,I(1,M(null))),Gt[Qt][lt]=!0),Ht(Gt,lt,zt)):Ir(Gt,lt,zt)},vr=function(Gt,Bt){S(Gt);var zt=E(Bt),lt=N(zt).concat(yt(zt));return qt(lt,function(Ut){(!f||o(rr,zt,Ut))&&cr(Gt,Ut,zt[Ut])}),Gt},ar=function(Gt,Bt){return Bt===void 0?M(Gt):vr(M(Gt),Bt)},rr=function(Gt){var Bt=T(Gt),zt=o(br,this,Bt);return this===xr&&d(mr,Bt)&&!d(Nr,Bt)?!1:zt||!d(this,Bt)||!d(mr,Bt)||d(this,Qt)&&this[Qt][Bt]?zt:!0},jr=function(Gt,Bt){var zt=E(Gt),lt=T(Bt);if(!(zt===xr&&d(mr,lt)&&!d(Nr,lt))){var Ut=pr(zt,lt);return Ut&&d(mr,lt)&&!(d(zt,Qt)&&zt[Qt][lt])&&(Ut.enumerable=!0),Ut}},wr=function(Gt){var Bt=Ur(E(Gt)),zt=[];return qt(Bt,function(lt){!d(mr,lt)&&!d(tt,lt)&&Pr(zt,lt)}),zt},yt=function(jt){var Gt=jt===xr,Bt=Ur(Gt?Nr:E(jt)),zt=[];return qt(Bt,function(lt){d(mr,lt)&&(!Gt||d(xr,lt))&&Pr(zt,mr[lt])}),zt};c||(Er=function(){if(y(Yt,this))throw new Sr("Symbol is not a constructor");var Gt=!arguments.length||arguments[0]===void 0?void 0:A(arguments[0]),Bt=et(Gt),zt=function(lt){var Ut=this===void 0?e:this;Ut===xr&&o(zt,Nr,lt),d(Ut,Qt)&&d(Ut[Qt],Bt)&&(Ut[Qt][Bt]=!1);var gr=I(1,lt);try{Ht(Ut,Bt,gr)}catch(Ct){if(!(Ct instanceof tr))throw Ct;$t(Ut,Bt,gr)}};return f&&yr&&Ht(xr,Bt,{configurable:!0,set:zt}),Dt(Bt,Gt)},Yt=Er[er],z(Yt,"toString",function(){return Ar(this).tag}),z(Er,"withoutSetter",function(jt){return Dt(et(jt),jt)}),X.f=rr,w.f=cr,W.f=vr,B.f=jr,L.f=$.f=wr,G.f=yt,gt.f=function(jt){return Dt(at(jt),jt)},f&&(k(Yt,"description",{configurable:!0,get:function(){return Ar(this).description}}),u||z(xr,"propertyIsEnumerable",rr,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Er}),qt(N(Or),function(jt){Pt(jt)}),n({target:Jt,stat:!0,forced:!c},{useSetter:function(){yr=!0},useSimple:function(){yr=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!f},{create:ar,defineProperty:cr,defineProperties:vr,getOwnPropertyDescriptor:jr}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:wr}),It(),Mt(Er,Jt),tt[Qt]=!0},43657:function(l,p,t){var n=t(14304),e=t(92986),o=t(34246),i=t(11286),u=t(94879),f=t(23583),c=t(95307),g=t(17361),d=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 w=arguments.length<1||arguments[0]===void 0?void 0:g(arguments[0]),W=c(E,this)?new S(w):w===void 0?S():S(w);return w===""&&(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),L=/^Symbol\((.*)\)[^)]+$/,$=i("".replace),G=i("".slice);d(E,"description",{configurable:!0,get:function(){var w=M(this);if(u(T,w))return"";var W=N(w),X=I?G(W,7,-1):$(W,L,"$1");return X===""?void 0:X}}),n({global:!0,constructor:!0,forced:!0},{Symbol:A})}},20872:function(l,p,t){var n=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");n({target:"Symbol",stat:!0,forced:!f},{for:function(d){var y=i(d);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 n=t(83749);n("hasInstance")},42026:function(l,p,t){var n=t(83749);n("isConcatSpreadable")},33257:function(l,p,t){var n=t(83749);n("iterator")},40949:function(l,p,t){t(51767),t(20872),t(94762),t(71332),t(45223)},94762:function(l,p,t){var n=t(14304),e=t(94879),o=t(491),i=t(82453),u=t(96731),f=t(61190),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!f},{keyFor:function(d){if(!o(d))throw new TypeError(i(d)+" is not a symbol");if(e(c,d))return c[d]}})},88344:function(l,p,t){var n=t(83749);n("matchAll")},59414:function(l,p,t){var n=t(83749);n("match")},92579:function(l,p,t){var n=t(83749);n("replace")},94655:function(l,p,t){var n=t(83749);n("search")},8565:function(l,p,t){var n=t(83749);n("species")},60843:function(l,p,t){var n=t(83749);n("split")},65842:function(l,p,t){var n=t(83749),e=t(60796);n("toPrimitive"),e()},51595:function(l,p,t){var n=t(38941),e=t(83749),o=t(78401);e("toStringTag"),o(n("Symbol"),"Symbol")},54908:function(l,p,t){var n=t(83749);n("unscopables")},71998:function(l,p,t){var n=t(88037),e=t(82628),o=t(12105),i=n.aTypedArray,u=n.exportTypedArrayMethod;u("at",function(c){var g=i(this),d=e(g),y=o(c),S=y>=0?y:d+y;return S<0||S>=d?void 0:g[S]})},6116:function(l,p,t){var n=t(11286),e=t(88037),o=t(81499),i=n(o),u=e.aTypedArray,f=e.exportTypedArrayMethod;f("copyWithin",function(g,d){return i(u(this),g,d,arguments.length>2?arguments[2]:void 0)})},33032:function(l,p,t){var n=t(88037),e=t(66655).every,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("every",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},80962:function(l,p,t){var n=t(88037),e=t(43011),o=t(11344),i=t(9205),u=t(96499),f=t(11286),c=t(72069),g=n.aTypedArray,d=n.exportTypedArrayMethod,y=f("".slice),S=c(function(){var E=0;return new Int8Array(2).fill({valueOf:function(){return E++}}),E!==1});d("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 n=t(88037),e=t(66655).filter,o=t(3795),i=n.aTypedArray,u=n.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 n=t(88037),e=t(66655).findIndex,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findIndex",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},16028:function(l,p,t){var n=t(88037),e=t(73849).findLastIndex,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findLastIndex",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},94153:function(l,p,t){var n=t(88037),e=t(73849).findLast,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("findLast",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},38344:function(l,p,t){var n=t(88037),e=t(66655).find,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("find",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},25560:function(l,p,t){var n=t(80357);n("Float32",function(e){return function(i,u,f){return e(this,i,u,f)}})},22571:function(l,p,t){var n=t(80357);n("Float64",function(e){return function(i,u,f){return e(this,i,u,f)}})},20656:function(l,p,t){var n=t(88037),e=t(66655).forEach,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("forEach",function(f){e(o(this),f,arguments.length>1?arguments[1]:void 0)})},17063:function(l,p,t){var n=t(46868),e=t(88037).exportTypedArrayStaticMethod,o=t(66169);e("from",o,n)},21774:function(l,p,t){var n=t(88037),e=t(94319).includes,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("includes",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},51761:function(l,p,t){var n=t(88037),e=t(94319).indexOf,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("indexOf",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},36849:function(l,p,t){var n=t(80357);n("Int16",function(e){return function(i,u,f){return e(this,i,u,f)}})},49191:function(l,p,t){var n=t(80357);n("Int32",function(e){return function(i,u,f){return e(this,i,u,f)}})},40704:function(l,p,t){var n=t(80357);n("Int8",function(e){return function(i,u,f){return e(this,i,u,f)}})},12317:function(l,p,t){var n=t(34246),e=t(72069),o=t(11286),i=t(88037),u=t(35054),f=t(18565),c=f("iterator"),g=n.Uint8Array,d=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 d(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 n=t(88037),e=t(11286),o=n.aTypedArray,i=n.exportTypedArrayMethod,u=e([].join);i("join",function(c){return u(o(this),c)})},41034:function(l,p,t){var n=t(88037),e=t(66543),o=t(58465),i=n.aTypedArray,u=n.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 n=t(88037),e=t(66655).map,o=t(21822),i=n.aTypedArray,u=n.exportTypedArrayMethod;u("map",function(c){return e(i(this),c,arguments.length>1?arguments[1]:void 0,function(g,d){return new(o(g))(d)})})},44698:function(l,p,t){var n=t(88037),e=t(46868),o=n.aTypedArrayConstructor,i=n.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 n=t(88037),e=t(97264).right,o=n.aTypedArray,i=n.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 n=t(88037),e=t(97264).left,o=n.aTypedArray,i=n.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 n=t(88037),e=n.aTypedArray,o=n.exportTypedArrayMethod,i=Math.floor;o("reverse",function(){for(var f=this,c=e(f).length,g=i(c/2),d=0,y;d1?arguments[1]:void 0,1),$=f(N);if(A)return e(S,this,$,L);var G=this.length,B=i($),w=0;if(B+L>G)throw new g("Wrong length");for(;wT;)I[T]=S[T++];return I},c)},9711:function(l,p,t){var n=t(88037),e=t(66655).some,o=n.aTypedArray,i=n.exportTypedArrayMethod;i("some",function(f){return e(o(this),f,arguments.length>1?arguments[1]:void 0)})},3923:function(l,p,t){var n=t(34246),e=t(77422),o=t(72069),i=t(85156),u=t(13270),f=t(88037),c=t(507),g=t(17417),d=t(44241),y=t(66577),S=f.aTypedArray,E=f.exportTypedArrayMethod,T=n.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(d)return d<74;if(c)return c<67;if(g)return!0;if(y)return y<602;var L=new T(516),$=Array(516),G,B;for(G=0;G<516;G++)B=G%4,L[G]=515-G,$[G]=G-2*B+3;for(A(L,function(w,W){return(w/4|0)-(W/4|0)}),G=0;G<516;G++)if(L[G]!==$[G])return!0}),N=function(L){return function($,G){return L!==void 0?+L($,G)||0:G!==G?-1:$!==$?1:$===0&&G===0?1/$>0&&1/G<0?1:-1:$>G}};E("sort",function($){return $!==void 0&&i($),M?A(this,$):u(S(this),N($))},!M||I)},59728:function(l,p,t){var n=t(88037),e=t(45344),o=t(4652),i=t(21822),u=n.aTypedArray,f=n.exportTypedArrayMethod;f("subarray",function(g,d){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((d===void 0?S:o(d,S))-E))})},85227:function(l,p,t){var n=t(34246),e=t(66543),o=t(88037),i=t(72069),u=t(22806),f=n.Int8Array,c=o.aTypedArray,g=o.exportTypedArrayMethod,d=[].toLocaleString,y=!!f&&i(function(){d.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(d,y?u(c(this)):c(this),u(arguments))},S)},56933:function(l,p,t){var n=t(61638),e=t(88037),o=e.aTypedArray,i=e.exportTypedArrayMethod,u=e.getTypedArrayConstructor;i("toReversed",function(){return n(o(this),u(this))})},91490:function(l,p,t){var n=t(88037),e=t(11286),o=t(85156),i=t(5220),u=n.aTypedArray,f=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,g=e(n.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 n=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 d=f.toString!==c;n("toString",c,d)},44884:function(l,p,t){var n=t(80357);n("Uint16",function(e){return function(i,u,f){return e(this,i,u,f)}})},48658:function(l,p,t){var n=t(80357);n("Uint32",function(e){return function(i,u,f){return e(this,i,u,f)}})},81083:function(l,p,t){var n=t(80357);n("Uint8",function(e){return function(i,u,f){return e(this,i,u,f)}})},27428:function(l,p,t){var n=t(80357);n("Uint8",function(e){return function(i,u,f){return e(this,i,u,f)}},!0)},85143:function(l,p,t){var n=t(72302),e=t(88037),o=t(77129),i=t(12105),u=t(11344),f=e.aTypedArray,c=e.getTypedArrayConstructor,g=e.exportTypedArrayMethod,d=!!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 n(E,c(E),T,A)},!d)},47005:function(l,p,t){var n=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,d=/^[\da-f]{4}$/i;n({global:!0},{unescape:function(S){for(var E=o(S),T="",A=E.length,I=0,M,N;I>(-2*tt&6)));return ot}})},60869:function(l,p,t){var n=t(14304),e=t(34246),o=t(38941),i=t(11286),u=t(96499),f=t(72069),c=t(17361),g=t(95486),d=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;n({global:!0,bind:!0,enumerable:!0,forced:!T||A||I||M},{btoa:function(L){if(g(arguments.length,1),T)return u(y,e,c(L));for(var $=c(L),G="",B=0,w=d,W,X;S($,B)||(w="=",B%1);){if(X=E($,B+=.75),X>255)throw new(o("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");W=W<<8|X,G+=S(w,63&W>>8-B%1*8)}return G}})},66722:function(l,p,t){var n=t(14304),e=t(34246),o=t(23115).clear;n({global:!0,bind:!0,enumerable:!0,forced:e.clearImmediate!==o},{clearImmediate:o})},50338:function(l,p,t){var n=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(d){g.forEach=i}};for(var c in e)e[c]&&f(n[c]&&n[c].prototype);f(o)},53059:function(l,p,t){var n=t(34246),e=t(93014),o=t(39882),i=t(35054),u=t(90809),f=t(78401),c=t(18565),g=c("iterator"),d=i.values,y=function(E,T){if(E){if(E[g]!==d)try{u(E,g,d)}catch(I){E[g]=d}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(n[S]&&n[S].prototype,S);y(o,"DOMTokenList")},5805:function(l,p,t){var n=t(14304),e=t(38941),o=t(81191),i=t(72069),u=t(5406),f=t(18526),c=t(7831).f,g=t(16142),d=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),L=t(92986),$=t(70457),G="DOMException",B="DATA_CLONE_ERR",w=e("Error"),W=e(G)||function(){try{var Yt=e("MessageChannel")||o("worker_threads").MessageChannel;new Yt().port1.postMessage(new WeakMap)}catch(tr){if(tr.name===B&&tr.code===25)return tr.constructor}}(),X=W&&W.prototype,z=w.prototype,k=N.set,ot=N.getterFor(G),st="stack"in new w(G),tt=function(Yt){return y(I,Yt)&&I[Yt].m?I[Yt].c:0},et=function(){S(this,at);var tr=arguments.length,Sr=A(tr<1?void 0:arguments[0]),Tr=A(tr<2?void 0:arguments[1],"Error"),pr=tt(Tr);if(k(this,{type:G,name:Tr,message:Sr,code:pr}),L||(this.name=Tr,this.message=Sr,this.code=pr),st){var Ir=new w(Sr);Ir.name=G,c(this,"stack",f(1,M(Ir.stack,1)))}},at=et.prototype=u(z),gt=function(Yt){return{enumerable:!0,configurable:!0,get:Yt}},Pt=function(Yt){return gt(function(){return ot(this)[Yt]})};L&&(d(at,"code",Pt("code")),d(at,"message",Pt("message")),d(at,"name",Pt("name"))),c(at,"constructor",f(1,et));var It=i(function(){return!(new W instanceof w)}),Mt=It||i(function(){return z.toString!==T||String(new W(1,2))!=="2: 1"}),Tt=It||i(function(){return new W(1,"DataCloneError").code!==25}),qt=It||W[B]!==25||X[B]!==25,Qt=$?Mt||Tt||qt:It;n({global:!0,constructor:!0,forced:Qt},{DOMException:Qt?et:W});var Jt=e(G),er=Jt.prototype;Mt&&($||W===Jt)&&g(er,"toString",T),Tt&&L&&W===Jt&&d(er,"code",gt(function(){return tt(E(this).name)}));for(var ir in I)if(y(I,ir)){var Ar=I[ir],xr=Ar.s,Er=f(6,Ar.c);y(Jt,xr)||c(Jt,xr,Er),y(er,xr)||c(er,xr,Er)}},50685:function(l,p,t){var n=t(14304),e=t(34246),o=t(38941),i=t(18526),u=t(7831).f,f=t(94879),c=t(12833),g=t(32345),d=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,L);var et=arguments.length,at=d(et<1?void 0:arguments[0]),gt=d(et<2?void 0:arguments[1],"Error"),Pt=new M(at,gt),It=new I(at);return It.name=A,u(Pt,"stack",i(1,S(It.stack,1))),g(Pt,this,N),Pt},L=N.prototype=M.prototype,$="stack"in new I(A),G="stack"in new M(1,2),B=M&&E&&Object.getOwnPropertyDescriptor(e,A),w=!!B&&!(B.writable&&B.configurable),W=$&&!w&&!G;n({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 k in y)if(f(y,k)){var ot=y[k],st=ot.s;f(X,st)||u(X,st,i(6,ot.c))}}},70649:function(l,p,t){var n=t(38941),e=t(78401),o="DOMException";e(n(o),o)},39842:function(l,p,t){t(66722),t(8235)},82872:function(l,p,t){var n=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});n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:g},{queueMicrotask:function(y){u(arguments.length,1),o(i(y))}})},91401:function(l,p,t){var n=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 n({global:!0,simple:!0,forced:c},{self:e})}catch(d){}},8235:function(l,p,t){var n=t(14304),e=t(34246),o=t(23115).set,i=t(9934),u=e.setImmediate?i(o,!1):o;n({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==u},{setImmediate:u})},63981:function(l,p,t){var n=t(14304),e=t(34246),o=t(9934),i=o(e.setInterval,!0);n({global:!0,bind:!0,forced:e.setInterval!==i},{setInterval:i})},23913:function(l,p,t){var n=t(14304),e=t(34246),o=t(9934),i=o(e.setTimeout,!0);n({global:!0,bind:!0,forced:e.setTimeout!==i},{setTimeout:i})},92904:function(l,p,t){var n=t(70457),e=t(14304),o=t(34246),i=t(38941),u=t(11286),f=t(72069),c=t(36374),g=t(23583),d=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),L=t(90809),$=t(82628),G=t(95486),B=t(54932),w=t(1774),W=t(172),X=t(35051),z=t(63741),k=t(16929),ot=t(99050),st=o.Object,tt=o.Array,et=o.Date,at=o.Error,gt=o.TypeError,Pt=o.PerformanceMark,It=i("DOMException"),Mt=w.Map,Tt=w.has,qt=w.get,Qt=w.set,Jt=W.Set,er=W.add,ir=W.has,Ar=i("Object","keys"),xr=u([].push),Er=u((!0).valueOf),Yt=u(1 .valueOf),tr=u("".valueOf),Sr=u(et.prototype.getTime),Tr=c("structuredClone"),pr="DataCloneError",Ir="Transferring",Ur=function(yt){return!f(function(){var jt=new o.Set([7]),Gt=yt(jt),Bt=yt(st(7));return Gt===jt||!Gt.has(7)||!S(Bt)||+Bt!=7})&&yt},br=function(yt,jt){return!f(function(){var Gt=new jt,Bt=yt({a:Gt,b:Gt});return!(Bt&&Bt.a===Bt.b&&Bt.a instanceof jt&&Bt.a.stack===Gt.stack)})},Pr=function(yt){return!f(function(){var jt=yt(new o.AggregateError([1],Tr,{cause:3}));return jt.name!=="AggregateError"||jt.errors[0]!==1||jt.message!==Tr||jt.cause!==3})},mr=o.structuredClone,Nr=n||!br(mr,at)||!br(mr,It)||!Pr(mr),Or=!mr&&Ur(function(yt){return new Pt(Tr,{detail:yt}).detail}),yr=Ur(mr)||Or,$t=function(yt){throw new It("Uncloneable type: "+yt,pr)},Ht=function(yt,jt){throw new It((jt||"Cloning")+" of "+yt+" cannot be properly polyfilled in this engine",pr)},Dt=function(yt,jt){return yr||Ht(jt),yr(yt)},cr=function(){var yt;try{yt=new o.DataTransfer}catch(jt){try{yt=new o.ClipboardEvent("").clipboardData}catch(Gt){}}return yt&&yt.items&&yt.files?yt:null},vr=function(yt,jt,Gt){if(Tt(jt,yt))return qt(jt,yt);var Bt=Gt||I(yt),zt,lt,Ut,gr,Ct,Lt;if(Bt==="SharedArrayBuffer")yr?zt=yr(yt):zt=yt;else{var kt=o.DataView;!kt&&!g(yt.slice)&&Ht("ArrayBuffer");try{if(g(yt.slice)&&!yt.resizable)zt=yt.slice(0);else for(lt=yt.byteLength,Ut=("maxByteLength"in yt)?{maxByteLength:yt.maxByteLength}:void 0,zt=new ArrayBuffer(lt,Ut),gr=new kt(yt),Ct=new kt(zt),Lt=0;Lt1&&!y(arguments[1])?A(arguments[1]):void 0,Bt=Gt?Gt.transfer:void 0,zt,lt;Bt!==void 0&&(zt=new Mt,lt=jr(Bt,zt));var Ut=rr(jt,zt);return lt&&wr(lt),Ut}})},28381:function(l,p,t){t(63981),t(23913)},98812:function(l,p,t){t(35054),t(93087);var n=t(14304),e=t(34246),o=t(28167),i=t(38941),u=t(96499),f=t(11286),c=t(92986),g=t(91918),d=t(16142),y=t(85500),S=t(2725),E=t(78401),T=t(26820),A=t(82367),I=t(12833),M=t(23583),N=t(94879),L=t(45526),$=t(9205),G=t(25001),B=t(37540),w=t(17361),W=t(5406),X=t(18526),z=t(90619),k=t(81077),ot=t(10659),st=t(95486),tt=t(18565),et=t(13270),at=tt("iterator"),gt="URLSearchParams",Pt=gt+"Iterator",It=A.set,Mt=A.getterFor(gt),Tt=A.getterFor(Pt),qt=o("fetch"),Qt=o("Request"),Jt=o("Headers"),er=Qt&&Qt.prototype,ir=Jt&&Jt.prototype,Ar=e.TypeError,xr=e.encodeURIComponent,Er=String.fromCharCode,Yt=i("String","fromCodePoint"),tr=parseInt,Sr=f("".charAt),Tr=f([].join),pr=f([].push),Ir=f("".replace),Ur=f([].shift),br=f([].splice),Pr=f("".split),mr=f("".slice),Nr=f(/./.exec),Or=/\+/g,yr="\uFFFD",$t=/^[0-9a-f]+$/i,Ht=function(Ct,Lt){var kt=mr(Ct,Lt,Lt+2);return Nr($t,kt)?tr(kt,16):NaN},Dt=function(Ct){for(var Lt=0,kt=128;kt>0&&Ct&kt;kt>>=1)Lt++;return Lt},cr=function(Ct){var Lt=null;switch(Ct.length){case 1:Lt=Ct[0];break;case 2:Lt=(Ct[0]&31)<<6|Ct[1]&63;break;case 3:Lt=(Ct[0]&15)<<12|(Ct[1]&63)<<6|Ct[2]&63;break;case 4:Lt=(Ct[0]&7)<<18|(Ct[1]&63)<<12|(Ct[2]&63)<<6|Ct[3]&63;break}return Lt>1114111?null:Lt},vr=function(Ct){Ct=Ir(Ct,Or," ");for(var Lt=Ct.length,kt="",Wt=0;WtLt){kt+="%",Wt++;continue}var Dr=Ht(Ct,Wt+1);if(Dr!==Dr){kt+=dr,Wt++;continue}Wt+=2;var Br=Dt(Dr);if(Br===0)dr=Er(Dr);else{if(Br===1||Br>4){kt+=yr,Wt++;continue}for(var Rr=[Dr],Qr=1;QrLt||Sr(Ct,Wt)!=="%"));){var tn=Ht(Ct,Wt+1);if(tn!==tn){Wt+=3;break}if(tn>191||tn<128)break;pr(Rr,tn),Wt+=2,Qr++}if(Rr.length!==Br){kt+=yr;continue}var dn=cr(Rr);dn===null?kt+=yr:dr=Yt(dn)}}kt+=dr,Wt++}return kt},ar=/[!'()~]|%20/g,rr={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},jr=function(Ct){return rr[Ct]},wr=function(Ct){return Ir(xr(Ct),ar,jr)},yt=T(function(Lt,kt){It(this,{type:Pt,target:Mt(Lt).entries,index:0,kind:kt})},gt,function(){var Lt=Tt(this),kt=Lt.target,Wt=Lt.index++;if(!kt||Wt>=kt.length)return Lt.target=null,ot(void 0,!0);var dr=kt[Wt];switch(Lt.kind){case"keys":return ot(dr.key,!1);case"values":return ot(dr.value,!1)}return ot([dr.key,dr.value],!1)},!0),jt=function(Ct){this.entries=[],this.url=null,Ct!==void 0&&(B(Ct)?this.parseObject(Ct):this.parseQuery(typeof Ct=="string"?Sr(Ct,0)==="?"?mr(Ct,1):Ct:w(Ct)))};jt.prototype={type:gt,bindURL:function(Ct){this.url=Ct,this.update()},parseObject:function(Ct){var Lt=this.entries,kt=k(Ct),Wt,dr,Dr,Br,Rr,Qr,tn;if(kt)for(Wt=z(Ct,kt),dr=Wt.next;!(Dr=u(dr,Wt)).done;){if(Br=z(G(Dr.value)),Rr=Br.next,(Qr=u(Rr,Br)).done||(tn=u(Rr,Br)).done||!u(Rr,Br).done)throw new Ar("Expected sequence with length 2");pr(Lt,{key:w(Qr.value),value:w(tn.value)})}else for(var dn in Ct)N(Ct,dn)&&pr(Lt,{key:dn,value:w(Ct[dn])})},parseQuery:function(Ct){if(Ct)for(var Lt=this.entries,kt=Pr(Ct,"&"),Wt=0,dr,Dr;Wt0?arguments[0]:void 0,kt=It(this,new jt(Lt));c||(this.size=kt.entries.length)},Bt=Gt.prototype;if(S(Bt,{append:function(Lt,kt){var Wt=Mt(this);st(arguments.length,2),pr(Wt.entries,{key:w(Lt),value:w(kt)}),c||this.length++,Wt.updateURL()},delete:function(Ct){for(var Lt=Mt(this),kt=st(arguments.length,1),Wt=Lt.entries,dr=w(Ct),Dr=kt<2?void 0:arguments[1],Br=Dr===void 0?Dr:w(Dr),Rr=0;RrWt.key?1:-1}),Lt.updateURL()},forEach:function(Lt){for(var kt=Mt(this).entries,Wt=L(Lt,arguments.length>1?arguments[1]:void 0),dr=0,Dr;dr1?Ut(arguments[1]):{})}}),M(Qt)){var gr=function(Lt){return I(this,er),new Qt(Lt,arguments.length>1?Ut(arguments[1]):{})};er.constructor=gr,gr.prototype=er,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:gr})}}l.exports={URLSearchParams:Gt,getState:Mt}},10901:function(l,p,t){var n=t(16142),e=t(11286),o=t(17361),i=t(95486),u=URLSearchParams,f=u.prototype,c=e(f.append),g=e(f.delete),d=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"&&n(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=[];d(this,function(W,X){y(I,{key:X,value:W})}),i(T,1);for(var M=o(E),N=o(A),L=0,$=0,G=!1,B=I.length,w;L?@[\\\]^|]/,mr=/[\0\t\n\r #/:<>?@[\\\]^|]/,Nr=/^[\u0000-\u0020]+/,Or=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,yr=/[\t\n\r]/g,$t,Ht=function(mt){var Xt=Qt(mt,"."),At,ht,wt,Cr,hr,Hr,zr;if(Xt.length&&Xt[Xt.length-1]===""&&Xt.length--,At=Xt.length,At>4)return mt;for(ht=[],wt=0;wt1&&et(Cr,0)==="0"&&(hr=at(pr,Cr)?16:8,Cr=Jt(Cr,hr===8?1:2)),Cr==="")Hr=0;else{if(!at(hr===10?Ur:hr===8?Ir:br,Cr))return mt;Hr=ot(Cr,hr)}Mt(ht,Hr)}for(wt=0;wt=tt(256,5-At))return null}else if(Hr>255)return null;for(zr=It(ht),wt=0;wt6))return;for(Hr=0;Jr();){if(zr=null,Hr>0)if(Jr()==="."&&Hr<4)wt++;else return;if(!at(Tr,Jr()))return;for(;at(Tr,Jr());){if(Xr=ot(Jr(),10),zr===null)zr=Xr;else{if(zr===0)return;zr=zr*10+Xr}if(zr>255)return;wt++}Xt[At]=Xt[At]*256+zr,Hr++,(Hr===2||Hr===4)&&At++}if(Hr!==4)return;break}else if(Jr()===":"){if(wt++,!Jr())return}else if(Jr())return;Xt[At++]=Cr}if(ht!==null)for(en=At-ht,At=7;At!==0&&en>0;)Kt=Xt[At],Xt[At--]=Xt[ht+en-1],Xt[ht+--en]=Kt;else if(At!==8)return;return Xt},cr=function(mt){for(var Xt=null,At=1,ht=null,wt=0,Cr=0;Cr<8;Cr++)mt[Cr]!==0?(wt>At&&(Xt=ht,At=wt),ht=null,wt=0):(ht===null&&(ht=Cr),++wt);return wt>At?ht:Xt},vr=function(mt){var Xt,At,ht,wt;if(typeof mt=="number"){for(Xt=[],At=0;At<4;At++)ir(Xt,mt%256),mt=st(mt/256);return gt(Xt,".")}if(typeof mt=="object"){for(Xt="",ht=cr(mt),At=0;At<8;At++)wt&&mt[At]===0||(wt&&(wt=!1),ht===At?(Xt+=At?":":"::",wt=!0):(Xt+=Pt(mt[At],16),At<7&&(Xt+=":")));return"["+Xt+"]"}return mt},ar={},rr=S({},ar,{" ":1,'"':1,"<":1,">":1,"`":1}),jr=S({},rr,{"#":1,"?":1,"{":1,"}":1}),wr=S({},jr,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),yt=function(mt,Xt){var At=A(mt,0);return At>32&&At<127&&!y(Xt,mt)?mt:encodeURIComponent(mt)},jt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Gt=function(mt,Xt){var At;return mt.length===2&&at(tr,et(mt,0))&&((At=et(mt,1))===":"||!Xt&&At==="|")},Bt=function(mt){var Xt;return mt.length>1&&Gt(Jt(mt,0,2))&&(mt.length===2||(Xt=et(mt,2))==="/"||Xt==="\\"||Xt==="?"||Xt==="#")},zt=function(mt){return mt==="."||er(mt)==="%2e"},lt=function(mt){return mt=er(mt),mt===".."||mt==="%2e."||mt===".%2e"||mt==="%2e%2e"},Ut={},gr={},Ct={},Lt={},kt={},Wt={},dr={},Dr={},Br={},Rr={},Qr={},tn={},dn={},Kn={},oe={},Yn={},Zr={},Wr={},an={},un={},rn={},nn=function(mt,Xt,At){var ht=M(mt),wt,Cr,hr;if(Xt){if(Cr=this.parse(ht),Cr)throw new k(Cr);this.searchParams=null}else{if(At!==void 0&&(wt=new nn(At,!0)),Cr=this.parse(ht,null,wt),Cr)throw new k(Cr);hr=X(new W),hr.bindURL(this),this.searchParams=hr}};nn.prototype={type:"URL",parse:function(mt,Xt,At){var ht=this,wt=Xt||Ut,Cr=0,hr="",Hr=!1,zr=!1,Xr=!1,en,Kt,Jr,cn;for(mt=M(mt),Xt||(ht.scheme="",ht.username="",ht.password="",ht.host=null,ht.port=null,ht.path=[],ht.query=null,ht.fragment=null,ht.cannotBeABaseURL=!1,mt=Tt(mt,Nr,""),mt=Tt(mt,Or,"$1")),mt=Tt(mt,yr,""),en=E(mt);Cr<=en.length;){switch(Kt=en[Cr],wt){case Ut:if(Kt&&at(tr,Kt))hr+=er(Kt),wt=gr;else{if(Xt)return xr;wt=Ct;continue}break;case gr:if(Kt&&(at(Sr,Kt)||Kt==="+"||Kt==="-"||Kt==="."))hr+=er(Kt);else if(Kt===":"){if(Xt&&(ht.isSpecial()!==y(jt,hr)||hr==="file"&&(ht.includesCredentials()||ht.port!==null)||ht.scheme==="file"&&!ht.host))return;if(ht.scheme=hr,Xt){ht.isSpecial()&&jt[ht.scheme]===ht.port&&(ht.port=null);return}hr="",ht.scheme==="file"?wt=Kn:ht.isSpecial()&&At&&At.scheme===ht.scheme?wt=Lt:ht.isSpecial()?wt=Dr:en[Cr+1]==="/"?(wt=kt,Cr++):(ht.cannotBeABaseURL=!0,Mt(ht.path,""),wt=an)}else{if(Xt)return xr;hr="",wt=Ct,Cr=0;continue}break;case Ct:if(!At||At.cannotBeABaseURL&&Kt!=="#")return xr;if(At.cannotBeABaseURL&&Kt==="#"){ht.scheme=At.scheme,ht.path=T(At.path),ht.query=At.query,ht.fragment="",ht.cannotBeABaseURL=!0,wt=rn;break}wt=At.scheme==="file"?Kn:Wt;continue;case Lt:if(Kt==="/"&&en[Cr+1]==="/")wt=Br,Cr++;else{wt=Wt;continue}break;case kt:if(Kt==="/"){wt=Rr;break}else{wt=Wr;continue}case Wt:if(ht.scheme=At.scheme,Kt===$t)ht.username=At.username,ht.password=At.password,ht.host=At.host,ht.port=At.port,ht.path=T(At.path),ht.query=At.query;else if(Kt==="/"||Kt==="\\"&&ht.isSpecial())wt=dr;else if(Kt==="?")ht.username=At.username,ht.password=At.password,ht.host=At.host,ht.port=At.port,ht.path=T(At.path),ht.query="",wt=un;else if(Kt==="#")ht.username=At.username,ht.password=At.password,ht.host=At.host,ht.port=At.port,ht.path=T(At.path),ht.query=At.query,ht.fragment="",wt=rn;else{ht.username=At.username,ht.password=At.password,ht.host=At.host,ht.port=At.port,ht.path=T(At.path),ht.path.length--,wt=Wr;continue}break;case dr:if(ht.isSpecial()&&(Kt==="/"||Kt==="\\"))wt=Br;else if(Kt==="/")wt=Rr;else{ht.username=At.username,ht.password=At.password,ht.host=At.host,ht.port=At.port,wt=Wr;continue}break;case Dr:if(wt=Br,Kt!=="/"||et(hr,Cr+1)!=="/")continue;Cr++;break;case Br:if(Kt!=="/"&&Kt!=="\\"){wt=Rr;continue}break;case Rr:if(Kt==="@"){Hr&&(hr="%40"+hr),Hr=!0,Jr=E(hr);for(var Cn=0;Cn65535)return Yt;ht.port=ht.isSpecial()&&Un===jt[ht.scheme]?null:Un,hr=""}if(Xt)return;wt=Zr;continue}else return Yt;break;case Kn:if(ht.scheme="file",Kt==="/"||Kt==="\\")wt=oe;else if(At&&At.scheme==="file")switch(Kt){case $t:ht.host=At.host,ht.path=T(At.path),ht.query=At.query;break;case"?":ht.host=At.host,ht.path=T(At.path),ht.query="",wt=un;break;case"#":ht.host=At.host,ht.path=T(At.path),ht.query=At.query,ht.fragment="",wt=rn;break;default:Bt(gt(T(en,Cr),""))||(ht.host=At.host,ht.path=T(At.path),ht.shortenPath()),wt=Wr;continue}else{wt=Wr;continue}break;case oe:if(Kt==="/"||Kt==="\\"){wt=Yn;break}At&&At.scheme==="file"&&!Bt(gt(T(en,Cr),""))&&(Gt(At.path[0],!0)?Mt(ht.path,At.path[0]):ht.host=At.host),wt=Wr;continue;case Yn:if(Kt===$t||Kt==="/"||Kt==="\\"||Kt==="?"||Kt==="#"){if(!Xt&&Gt(hr))wt=Wr;else if(hr===""){if(ht.host="",Xt)return;wt=Zr}else{if(cn=ht.parseHost(hr),cn)return cn;if(ht.host==="localhost"&&(ht.host=""),Xt)return;hr="",wt=Zr}continue}else hr+=Kt;break;case Zr:if(ht.isSpecial()){if(wt=Wr,Kt!=="/"&&Kt!=="\\")continue}else if(!Xt&&Kt==="?")ht.query="",wt=un;else if(!Xt&&Kt==="#")ht.fragment="",wt=rn;else if(Kt!==$t&&(wt=Wr,Kt!=="/"))continue;break;case Wr:if(Kt===$t||Kt==="/"||Kt==="\\"&&ht.isSpecial()||!Xt&&(Kt==="?"||Kt==="#")){if(lt(hr)?(ht.shortenPath(),Kt!=="/"&&!(Kt==="\\"&&ht.isSpecial())&&Mt(ht.path,"")):zt(hr)?Kt!=="/"&&!(Kt==="\\"&&ht.isSpecial())&&Mt(ht.path,""):(ht.scheme==="file"&&!ht.path.length&&Gt(hr)&&(ht.host&&(ht.host=""),hr=et(hr,0)+":"),Mt(ht.path,hr)),hr="",ht.scheme==="file"&&(Kt===$t||Kt==="?"||Kt==="#"))for(;ht.path.length>1&&ht.path[0]==="";)qt(ht.path);Kt==="?"?(ht.query="",wt=un):Kt==="#"&&(ht.fragment="",wt=rn)}else hr+=yt(Kt,jr);break;case an:Kt==="?"?(ht.query="",wt=un):Kt==="#"?(ht.fragment="",wt=rn):Kt!==$t&&(ht.path[0]+=yt(Kt,ar));break;case un:!Xt&&Kt==="#"?(ht.fragment="",wt=rn):Kt!==$t&&(Kt==="'"&&ht.isSpecial()?ht.query+="%27":Kt==="#"?ht.query+="%23":ht.query+=yt(Kt,ar));break;case rn:Kt!==$t&&(ht.fragment+=yt(Kt,rr));break}Cr++}},parseHost:function(mt){var Xt,At,ht;if(et(mt,0)==="["){if(et(mt,mt.length-1)!=="]"||(Xt=Dt(Jt(mt,1,-1)),!Xt))return Er;this.host=Xt}else if(this.isSpecial()){if(mt=I(mt),at(Pr,mt)||(Xt=Ht(mt),Xt===null))return Er;this.host=Xt}else{if(at(mr,mt))return Er;for(Xt="",At=E(mt),ht=0;ht1?arguments[1]:void 0,wt=B(At,new nn(Xt,!1,ht));e||(At.href=wt.serialize(),At.origin=wt.getOrigin(),At.protocol=wt.getProtocol(),At.username=wt.getUsername(),At.password=wt.getPassword(),At.host=wt.getHost(),At.hostname=wt.getHostname(),At.port=wt.getPort(),At.pathname=wt.getPathname(),At.search=wt.getSearch(),At.searchParams=wt.getSearchParams(),At.hash=wt.getHash())},Yr=kr.prototype,Vr=function(mt,Xt){return{get:function(){return w(this)[mt]()},set:Xt&&function(At){return w(this)[Xt](At)},configurable:!0,enumerable:!0}};if(e&&(g(Yr,"href",Vr("serialize","setHref")),g(Yr,"origin",Vr("getOrigin")),g(Yr,"protocol",Vr("getProtocol","setProtocol")),g(Yr,"username",Vr("getUsername","setUsername")),g(Yr,"password",Vr("getPassword","setPassword")),g(Yr,"host",Vr("getHost","setHost")),g(Yr,"hostname",Vr("getHostname","setHostname")),g(Yr,"port",Vr("getPort","setPort")),g(Yr,"pathname",Vr("getPathname","setPathname")),g(Yr,"search",Vr("getSearch","setSearch")),g(Yr,"searchParams",Vr("getSearchParams")),g(Yr,"hash",Vr("getHash","setHash"))),c(Yr,"toJSON",function(){return w(this).serialize()},{enumerable:!0}),c(Yr,"toString",function(){return w(this).serialize()},{enumerable:!0}),z){var mn=z.createObjectURL,Ln=z.revokeObjectURL;mn&&c(kr,"createObjectURL",u(mn,z)),Ln&&c(kr,"revokeObjectURL",u(Ln,z))}N(kr,"URL"),n({global:!0,constructor:!0,forced:!o,sham:!e},{URL:kr})},51862:function(l,p,t){t(81888)},24119:function(l,p,t){var n=t(14304),e=t(38941),o=t(95486),i=t(17361),u=t(91918),f=e("URL");n({target:"URL",stat:!0,forced:!u},{parse:function(g){var d=o(arguments.length,1),y=i(g),S=d<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 n=t(14304),e=t(96499);n({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)}},In={};function fn(l){var p=In[l];if(p!==void 0)return p.exports;var t=In[l]={exports:{}};return ia[l].call(t.exports,t,t.exports,fn),t.exports}(function(){fn.d=function(l,p){for(var t in p)fn.o(p,t)&&!fn.o(l,t)&&Object.defineProperty(l,t,{enumerable:!0,get:p[t]})}})(),function(){fn.o=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)}}(),fn(61969);var be=fn(65908);return be=be.default,be}()}); diff --git a/dist/theme/dark.css b/dist/theme/dark.css index 0296f1a95..8f2c48fdc 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ /*-- Dark Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/dark.min.css b/dist/theme/dark.min.css index c4f0b7467..e57cee62d 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */.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 185566ef2..0312e4d06 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ /*-- Datalab Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/datalab.min.css b/dist/theme/datalab.min.css index bb45ad061..988c464f2 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */.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 680f19aa3..683142148 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ /*-- Graph Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/graph.min.css b/dist/theme/graph.min.css index 9a3b6aa32..db8c07d73 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */.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 9f07f63f6..3d02b8d11 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ /*-- Insight Theme --*/ /*-- Default color pattern --*/ diff --git a/dist/theme/insight.min.css b/dist/theme/insight.min.css index d95d4d186..42b4f0b55 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */.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 295790b3d..6a1eee02a 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */ @charset "UTF-8"; /*-- Insight Theme --*/ diff --git a/dist/theme/modern.min.css b/dist/theme/modern.min.css index e84795519..3bca00c87 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.13.0-nightly-20240921004638 + * @version 3.13.0-nightly-20240924004652 */.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}
${I||""} ${d(_)}