@univerjs-pro/engine-chart 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +96 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +96 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +96 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +96 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +6 -5
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x34901b=_0x46df;function _0x46df(_0x5826a4,_0x3fe0f5){_0x5826a4=_0x5826a4-0x19e;const _0x1c4176=_0x1c41();let _0x46df44=_0x1c4176[_0x5826a4];return _0x46df44;}function _0x1c41(){const _0x36153b=['setDojiStyle','resetStackType','clearTitle','setSliceBorderColor','univer\x20gradient4','ChartRadarShape','clearCategoryField','resetGaugeAxisTick','setChordNode','apply','setChordEmphasis','setChordLabel','ChartThemeName','setSeries','function','resetVisualMapType','bringToFront','forward','Treemap','ChartTreemapParentLabelLayout','_info','getType','univer1','resetUseAbsoluteValue','setTheme','univer3','setAppearance','setMultiLevelCategoryAxis','setPaddingAngleEnabled','UniverGradient4','position','resetChordNode','Univer5','setShape','resetGaugePointer','univer\x20gradient1','createInfo','_builder','remove','clearYAxis','setErrorBars','ChartSeriesAxis','clearAggregation','_createAdapter','setRisingStyle','WordCloud','_injector','setUseAbsoluteValue','setGaugeAxisTick','resetCenterLabel','extension','clearThreeD','setExplosion','clearXAxis','resetInvalidValueStrategy','Bubble','setLineStyle','resetValueScale','ChartLinePointShape','clearOverflowThreshold','setEmphasisEnabled','univer\x20gradient3','BarStacked3D','defineProperty','back','resetGaugeSplitLine','setSliceStyle','setChordRibbon','setLayout','8008920ercvFw','setAggregation','forEach','setRosePie','symbol','requireSource','setTitle','setGaugeMode','setOverflowThreshold','setSunburstLabel','Line3D','series','info','setGaugePointer','clearAllSeriesStyle','ChartSeriesLabelPosition','clearAxisPointer','Univer6','Sunburst','Univer4','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setCandlestickFields','resetGaugeTitle','Heatmap','dataSource','Pie3D','LineStacked','setUseDateAxis','Donut','length','setInvalidValueStrategy','clearPieLabel','setCategoryFields','bringForward','setVisualMapType','setBar','setCategoryField','removeTrendline','ChartAxisPointerTarget','Area','ChartSeriesTypeString','builder','seriesToCategory','setGap','ChartGaugeMode','resetPaddingAngleEnabled','univer\x20gradient5','setPieLabel','normalizeSource','describe','BarPercentStacked','filter','setAutoGradientFill','94eqzfku','ChartAreaLineStyle','update','name','resetRepeat','14738752VlslGg','ChartAxisName','clearSubtitle','setXAxisTitle','Relation','\x20has\x20an\x20invalid\x20data-point\x20index.','RightY','resetHalfPie','Histogram','setChordLayout','isInteger','AreaPercentStacked','clearRightYAxisTitle','clearHighLowLineStyle','UniverGradient3','clearLegend','setPieComposite','Line','registerTheme','clearMaskImage','isFinite','setDataSource','setAbsolutePosition','1357125iKeBkr','Area3D','ColumnStacked3D','_commit','setGaugeProgress','clearSliceStyle','object','ChartPieLabelPosition','ChartAggregationTarget','Waterfall','ChartAxisTarget','ChartTitlePositionEnum','clearErrorBars','clearCloseMarkerStyle','ChartWaterfallStyleTarget','clearLineStyle','resetGaugeAnchor','setGaugeAnchor','number','ChartLegendPositionEnum','setValueUnit','Sankey','setGaugeTicks','setGaugeAxisLabel','resetExplosion','setLabelLineVisible','univer5','clearAppearance','clearSeries','iterator','resetEmphasisEnabled','Pie','setUseSubtotal','setForce','resetGap','ChartWaterfallStackTypeEnum','setXAxis','ChartTypeString','ChartChordFocusMode','mergePending','type','_createBuilder','clearTrendlines','_arrange','clearValueFields','setValueFields','arrange','clearSliceBorderColor','setGaugeScale','extend','axes','commit','clearConnector','clearMarkLines','get','resetTreemapLabel','size','setValueRange','Gauge','Univer3','clearCellLabel','ChartLabelAlignEnum','resetLayout','Subtotal','setSeriesToCategory','setYAxis','resetGaugeScale','univer\x20gradient2','clearTheme','_apply','prototype','Univer1','setType','_id','_context','_record','resetGaugeAngles','ChartWordCloudShapeEnum','resetBinGap','backward','ChartAxisTickPosition','clearAreaLineStyle','getInfo','\x20has\x20an\x20invalid\x20series\x20index.','setHistogramField','UniverGradient2','resetBinning','setCandleWidth','setSubtotalStyle','resetUseSubtotal','ChartAppearanceTarget','univer4','clearRightYAxis','includes','resetGaugeAxisLabel','clearCandlestickFields','clearBar','call','resetShape','clearForce','setSeriesType','setRightYAxisTitle','resetGaugeDetail','resetCandleWidth','has','setConnector','clearAllSeriesOverrides','clearSubtotalStyle','dataPointIndex','8530305xTPjcz','assign','setHighLowLineStyle','setPointRoles','clearCumulativeLineStyle','setGaugeTitle','BarStacked','setAreaLineStyle','setSize','AreaStacked','Univer2','setFallingStyle','Negative','UniverGradient5','7175210sBuRkr','setValueField','setCellLabel','clearBubbleMapping','sort','setAxisPointer','clearPieComposite','clearNegativeStyle','Chart\x20data\x20is\x20unavailable\x20from\x20a\x20detached\x20Chart\x20Builder.','ChartTrendlineType','clearPalette','Funnel','3903496TlNMQY','setGaugeDetail','ChartInvalidValueType','config','set','resetAutoGradientFill','setPositiveStyle','ChartVisualMapType','resetGaugeProgress','setHierarchyFields','resetRosePie','ChartSunburstLabelPosition','setGaugeAxisLine','resetChordEmphasis','5744kEJgcn','deepClone','UniverGradient6','AreaStacked3D','setMaskImage','setBinWidth','Positive','clearDoughnutHole','setAllSeriesStyle','pointRoles.','commitError','Bar','setSubtitle','\x20must\x20resolve\x20to\x20exactly\x20one\x20series\x20named\x20\x22','resetNodeShape','setGaugeValueField','setUnderflowThreshold','default','string','clearUnderflowThreshold','resetGaugeAxisLine','build','setBinCount','setDepthAxis','clearValueRange','univer\x20gradient6','_describe','resetLabelLineVisible','resetUseValueAsSymbolSize','description','ColumnStacked','setDoughnutHole','resetSeriesAxis','resetParentLabelLayout','getId','clearCategoryFields','createConfig','front'];_0x1c41=function(){return _0x36153b;};return _0x1c41();}(function(_0x180c11,_0x8fac05){const _0x5c04b3=_0x46df,_0xef8d54=_0x180c11();while(!![]){try{const _0x17c1b6=parseInt(_0x5c04b3(0x28e))/0x1*(-parseInt(_0x5c04b3(0x1ee))/0x2)+-parseInt(_0x5c04b3(0x2aa))/0x3+parseInt(_0x5c04b3(0x1e0))/0x4+-parseInt(_0x5c04b3(0x1d4))/0x5+parseInt(_0x5c04b3(0x259))/0x6+-parseInt(_0x5c04b3(0x1c6))/0x7+parseInt(_0x5c04b3(0x293))/0x8;if(_0x17c1b6===_0x8fac05)break;else _0xef8d54['push'](_0xef8d54['shift']());}catch(_0x28f5d1){_0xef8d54['push'](_0xef8d54['shift']());}}}(_0x1c41,0xbdb4e));import{AREA_CHART_TYPES as _0x58248f,AreaLineStyle as _0x15347e,ChartAggregationTarget as _0x3c1a7f,ChartAllSeriesStyleTarget as _0x19dd8d,ChartAppearanceTarget as _0x4ba6ab,ChartAxisName as _0x4a9942,ChartAxisPointerTarget as _0x406a14,ChartAxisTarget as _0x2f4fa8,ChartAxisTickPosition as _0x5b4597,ChartBuilder as _0x5b2c20,ChartChordFocusMode as _0x4faddf,ChartChordLabelPosition as _0x58a155,ChartChordRibbonColorMode as _0x59f1bd,ChartGaugeMode as _0x263bf0,ChartGaugePointerShape as _0x9e9875,ChartMarkLineLabelPosition as _0x9fe87e,ChartSemanticAxis as _0x10ca01,ChartSeriesAxis as _0x4a6347,ChartSeriesClearTarget as _0x1a5072,ChartSeriesTypeString as _0x2bce4a,ChartSunburstLabelPosition as _0x591bf6,ChartThemeService as _0x17466d,ChartTrendlineType as _0x23b38d,ChartTypeString as _0x323f08,ChartVisualMapType as _0x54a1c2,ChartWaterfallPointRole as _0x5789a4,ChartWaterfallStyleTarget as _0x35b78a,DetachedChartBuilderAdapter as _0x480476,InvalidValueType as _0x1500bb,LabelAlignEnum as _0x221708,LegendPositionEnum as _0xf379d7,LinePointShape as _0x5c05e3,PieLabelPosition as _0x578930,PieSecondaryPlotType as _0x31e932,RadarShape as _0x4418b2,RelationChartLayoutEnum as _0x125bdc,SelectModeEnum as _0x10561e,SeriesLabelPosition as _0x23c4af,TitlePositionEnum as _0x1fe6b1,TreemapParentLabelLayout as _0x4f2237,WaterfallStackTypeEnum as _0x529c6a,WordCloudShapeEnum as _0x48a470,canonicalizeChartContext as _0x3d4cec,clearAggregation as _0x468408,clearAllSeriesOverrides as _0x304e5f,clearAllSeriesStyle as _0x240612,clearAppearance as _0x1d3dc1,clearAreaLineStyle as _0x5d354d,clearAxisPointer as _0x1114a7,clearAxisTitle as _0x1cc4fe,clearBar as _0x4d24d8,clearBubbleMapping as _0x1cb3ad,clearCandlestickFields as _0x2b4f16,clearCategoryField as _0xe98619,clearCellLabel as _0x29bccd,clearCumulativeLineStyle as _0x23451b,clearDepthAxis as _0x2cbd86,clearDojiStyle as _0x5e01da,clearDoughnutHole as _0x210d06,clearFallingStyle as _0x3139be,clearHistogramField as _0xe547bc,clearHistogramOverflowThreshold as _0x11dd01,clearHistogramUnderflowThreshold as _0x202d10,clearLegend as _0x439b9a,clearLineStyle as _0x18a4a4,clearMarkLines as _0x2fa72a,clearMaskImage as _0x561b6a,clearPalette as _0x1ff93a,clearParetoBarStyle as _0x4dc9df,clearPieComposite as _0x59b6ed,clearPieLabel as _0x30ca81,clearRelationForce as _0x47970e,clearRightYAxis as _0x25dec1,clearRisingStyle as _0x9abbdb,clearSeries as _0x5ef12f,clearSliceBorderColor as _0xb16c77,clearSliceStyle as _0x34e7d8,clearSubtitle as _0x48edec,clearTheme as _0x3c243f,clearThreeD as _0x2a780d,clearTitle as _0x3e7d5e,clearTrendlines as _0x35e302,clearValueFields as _0x50cd1b,clearValueRange as _0x1f019c,clearValueUnit as _0x5e25dd,clearWaterfallConnector as _0x314c92,clearWaterfallStyle as _0x116ca3,clearXAxis as _0x1921e7,clearYAxis as _0x50979d,removeTrendline as _0x4a8c01,resetAutoGradientFill as _0x3b4445,resetCandleWidth as _0x1e2577,resetChordEmphasis as _0x2237fa,resetChordLabel as _0x434045,resetChordLayout as _0x3cb241,resetChordNode as _0xa94d01,resetChordRibbon as _0x5e722f,resetCircularLabelRotation as _0x22fcfe,resetCombinationSeriesAxis as _0x10381b,resetCombinationSeriesType as _0xe9e2f1,resetEmphasisEnabled as _0xdec97d,resetExplosion as _0x19a993,resetFunnelGap as _0x43805c,resetGaugeAnchor as _0x3b7002,resetGaugeAngles as _0x3529a6,resetGaugeAxisLabel as _0x1f60c0,resetGaugeAxisLine as _0x2bf49c,resetGaugeAxisTick as _0x23062f,resetGaugeDetail as _0x53e0f8,resetGaugeMode as _0x19ce10,resetGaugePointer as _0x5580c0,resetGaugeProgress as _0xe31858,resetGaugeRanges as _0x15266b,resetGaugeScale as _0x4281da,resetGaugeSplitLine as _0x45bb16,resetGaugeTitle as _0x10c4f3,resetHalfPie as _0x1754d6,resetHistogramBinGap as _0x21c43e,resetHistogramBinning as _0x2dfeb3,resetIncludeZeroValues as _0x118eea,resetInvalidValueStrategy as _0x884ad1,resetLabelLineVisible as _0x48cc6e,resetPaddingAngleEnabled as _0x2c1edc,resetRadarFill as _0x2b10f3,resetRadarShape as _0x102363,resetRelationLayout as _0x5915e7,resetRelationNodeShape as _0xa711b4,resetRosePie as _0x5589cd,resetSunburstCenterLabel as _0x349ba9,resetSunburstLabel as _0x4f76f7,resetTreemapLabel as _0x1fd84f,resetTreemapParentLabelLayout as _0x3daf99,resetUseAbsoluteValue as _0xae5e4d,resetUseDateAxis as _0x17c3fb,resetUseSubtotal as _0x4ffcbf,resetUseValueAsSymbolSize as _0x272ef1,resetValueScale as _0xbc9159,resetVisualMapType as _0x57a051,resetWaterfallStackType as _0x3270d4,resetWordCloudRepeat as _0x5378e2,resetWordCloudShape as _0x116440,setAggregation as _0x289c16,setAllSeriesStyle as _0x370b4b,setAppearance as _0x5ca45e,setAreaLineStyle as _0x4d8380,setAutoGradientFill as _0xa8083f,setAxisPointer as _0x448af9,setAxisTitle as _0x2fa09a,setBar as _0x519c1c,setBubbleMapping as _0x2d2c3f,setCandleWidth as _0x325705,setCandlestickFields as _0x437756,setCategoryField as _0x37ef47,setCellLabel as _0x2a2803,setChordEmphasis as _0x1880dc,setChordLabel as _0x256dd0,setChordLayout as _0x4cdb56,setChordMapping as _0x517f9f,setChordNode as _0x910678,setChordRibbon as _0x9f684d,setCircularLabelRotation as _0x4f6579,setCombinationSeriesAxis as _0x133c90,setCombinationSeriesType as _0x1f3f10,setCumulativeLineStyle as _0x3078e5,setDepthAxis as _0x160ed2,setDojiStyle as _0x177256,setDoughnutHole as _0x30eeb9,setEmphasisEnabled as _0x3b31dc,setExplosion as _0x63bbd5,setFallingStyle as _0x3cd547,setFunnelGap as _0xd44bc0,setGaugeAnchor as _0x49e489,setGaugeAngles as _0x5656f7,setGaugeAxisLabel as _0xc41373,setGaugeAxisLine as _0xe62da4,setGaugeAxisTick as _0x3766d8,setGaugeDetail as _0x353fb6,setGaugeMode as _0x480247,setGaugePointer as _0x4b19fb,setGaugeProgress as _0x3cd5c1,setGaugeRanges as _0x41f4c6,setGaugeScale as _0x32bacd,setGaugeSplitLine as _0x556103,setGaugeTicks as _0x4c3364,setGaugeTitle as _0x3efcc2,setGaugeValueField as _0x394aed,setHalfPie as _0x838642,setHistogramBinCount as _0x2e59bf,setHistogramBinGap as _0x25f4b1,setHistogramBinWidth as _0x5764b0,setHistogramField as _0x38acd6,setHistogramOverflowThreshold as _0x2acc0f,setHistogramUnderflowThreshold as _0x1835ba,setIncludeZeroValues as _0x47371e,setInvalidValueStrategy as _0x2934d0,setLabelLineVisible as _0x19ae31,setLegend as _0x51c5f6,setLineStyle as _0x2755ca,setMarkLines as _0x38240d,setMaskImage as _0x37b761,setPaddingAngleEnabled as _0x1417af,setPalette as _0x56e4b9,setParetoBarStyle as _0x125d94,setPieComposite as _0x23177a,setPieLabel as _0x2bdcbf,setRadarFill as _0x18d7b5,setRadarShape as _0x2aad8c,setRelationForce as _0x952083,setRelationLayout as _0xcd98a5,setRelationNodeShape as _0x4238c9,setRightYAxis as _0x5743d8,setRisingStyle as _0x139bee,setRosePie as _0x101183,setSeries as _0xb9df62,setSliceBorderColor as _0x321fae,setSliceStyle as _0x922e7f,setSubtitle as _0x41a624,setSunburstCenterLabel as _0x189a0c,setSunburstHierarchyFields as _0x19ee91,setSunburstLabel as _0x5ef5f6,setSunburstValueField as _0x45522f,setTheme as _0x49dcb4,setThreeD as _0x133a48,setTitle as _0x1c5573,setTreemapHierarchyFields as _0x43c263,setTreemapLabel as _0x5e061c,setTreemapParentLabelLayout as _0x56bfd0,setTreemapValueField as _0xd9cd7a,setTrendline as _0x167c37,setUseAbsoluteValue as _0x39c128,setUseDateAxis as _0x17ad42,setUseSubtotal as _0x1e904b,setUseValueAsSymbolSize as _0x370c28,setValueFields as _0xc1b5c5,setValueRange as _0x17a83c,setValueScale as _0xeb87c,setValueUnit as _0x33a935,setVisualMapType as _0x4087d4,setWaterfallConnector as _0x33a203,setWaterfallPointRoles as _0x18d4ba,setWaterfallStackType as _0x1f07e9,setWaterfallStyle as _0x234dc1,setWordCloudRepeat as _0x53b562,setWordCloudShape as _0x3649b9,setXAxis as _0x44841c,setYAxis as _0x229f52,toChartCreateConfig as _0x9082a6,toChartCreateConfigSnapshot as _0x5da35c}from'@univerjs-pro/engine-chart';import{ArrangeTypeEnum as _0x3376a0,Tools as _0x12e225,generateRandomId as _0x2b51de}from'@univerjs/core';import{FBase as _0xe5dc12,FEnum as _0x4a2cc5,FUniver as _0x58e73b}from'@univerjs/core/facade';function Yr(_0x11fe6e){const _0x34103f=_0x46df;return _0x11fe6e[_0x34103f(0x25b)](_0x1ecc48=>_0x37ef47(_0x1ecc48)),{'mapping':{'categoryIndexes':[..._0x11fe6e]}};}function Xr(){return{'mapping':{'categoryIndexes':null}};}function W(_0x4cf3e1){'@babel/helpers - typeof';const _0xa9e74=_0x46df;return W=typeof Symbol==_0xa9e74(0x222)&&typeof Symbol[_0xa9e74(0x2c7)]==_0xa9e74(0x25d)?function(_0x232807){return typeof _0x232807;}:function(_0x3488c7){const _0x238ca9=_0xa9e74;return _0x3488c7&&typeof Symbol==_0x238ca9(0x222)&&_0x3488c7['constructor']===Symbol&&_0x3488c7!==Symbol[_0x238ca9(0x19f)]?_0x238ca9(0x25d):typeof _0x3488c7;},W(_0x4cf3e1);}function Zr(_0x2854a2,_0x588208){const _0x6579b=_0x46df;if(W(_0x2854a2)!=_0x6579b(0x2b0)||!_0x2854a2)return _0x2854a2;var _0x2bf60f;if(typeof Symbol<'u'&&(_0x2bf60f=_0x2854a2[Symbol['toPrimitive']])!==void 0x0){var _0x46c9fd=_0x2bf60f[_0x6579b(0x1ba)](_0x2854a2,_0x588208||_0x6579b(0x1ff));if(W(_0x46c9fd)!=_0x6579b(0x2b0))return _0x46c9fd;throw TypeError(_0x6579b(0x26d));}return(_0x588208===_0x6579b(0x200)?String:Number)(_0x2854a2);}function Qr(_0x5dff6f){const _0x264d1c=_0x46df;var _0x3b9192=Zr(_0x5dff6f,_0x264d1c(0x200));return W(_0x3b9192)==_0x264d1c(0x25d)?_0x3b9192:_0x3b9192+'';}function $r(_0x250d73,_0x153ae2,_0x1f9063){const _0x477c9e=_0x46df;return(_0x153ae2=Qr(_0x153ae2))in _0x250d73?Object[_0x477c9e(0x253)](_0x250d73,_0x153ae2,{'value':_0x1f9063,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x250d73[_0x153ae2]=_0x1f9063,_0x250d73;}var G=class{constructor(_0xbc3e6e){const _0xbec270=_0x46df;this[_0xbec270(0x1a3)]=_0xbc3e6e,$r(this,'_builder',void 0x0),$r(this,'_info',void 0x0),this['_builder']=_0xbc3e6e[_0xbec270(0x282)],this[_0xbec270(0x228)]=_0xbc3e6e[_0xbec270(0x265)];}['setSource'](_0x24c422){const _0x42254b=_0x46df;return this[_0x42254b(0x228)][_0x42254b(0x271)]=_0x12e225[_0x42254b(0x1ef)](this[_0x42254b(0x1a3)][_0x42254b(0x289)](_0x24c422)),this;}[_0x34901b(0x2a9)](_0xd771bf,_0x3ce256){const _0x428f22=_0x34901b;return this[_0x428f22(0x228)][_0x428f22(0x232)]={'x':_0xd771bf,'y':_0x3ce256},this;}['setSize'](_0xf8ea26,_0xd49b12){const _0x425516=_0x34901b;return this[_0x425516(0x228)][_0x425516(0x2e2)]={'width':_0xf8ea26,'height':_0xd49b12},this;}[_0x34901b(0x203)](){const _0x328469=_0x34901b;if(this[_0x328469(0x1a3)][_0x328469(0x25e)]&&this[_0x328469(0x228)][_0x328469(0x271)]===void 0x0)throw Error('Chart\x20data\x20source\x20is\x20required.\x20Please\x20call\x20setSource()\x20before\x20build().');let _0x48dd83=_0x12e225[_0x328469(0x1ef)](this[_0x328469(0x228)]);return _0x48dd83[_0x328469(0x1e3)]=this[_0x328469(0x1a3)][_0x328469(0x212)](this[_0x328469(0x239)]),_0x48dd83;}[_0x34901b(0x1a4)](_0x1e253b){const _0x5581da=_0x34901b;return this[_0x5581da(0x239)]['mergePending'](_0x1e253b),this;}[_0x34901b(0x208)](){const _0x2619f1=_0x34901b;return this[_0x2619f1(0x239)][_0x2619f1(0x28a)]();}['setTitle'](_0x482a13){const _0x261c26=_0x34901b;return this['_builder'][_0x261c26(0x21d)](_0x1c5573(_0x482a13)),this;}[_0x34901b(0x216)](){const _0xf9f4e7=_0x34901b;return this['_builder'][_0xf9f4e7(0x21d)](_0x3e7d5e()),this;}[_0x34901b(0x1fa)](_0x100ee9){const _0x2ba543=_0x34901b;return this[_0x2ba543(0x239)][_0x2ba543(0x21d)](_0x41a624(_0x100ee9)),this;}[_0x34901b(0x295)](){const _0x4643fa=_0x34901b;return this[_0x4643fa(0x239)][_0x4643fa(0x21d)](_0x48edec()),this;}['setLegend'](_0x13a57b){const _0x30e2c1=_0x34901b;return this[_0x30e2c1(0x239)][_0x30e2c1(0x21d)](_0x51c5f6(_0x13a57b)),this;}[_0x34901b(0x2a2)](){return this['_builder']['apply'](_0x439b9a()),this;}[_0x34901b(0x22c)](_0x4d911f){const _0x1834c6=_0x34901b;return this['_builder'][_0x1834c6(0x21d)](_0x49dcb4(_0x4d911f)),this;}[_0x34901b(0x2ee)](){const _0x3b3964=_0x34901b;return this[_0x3b3964(0x239)]['apply'](_0x3c243f()),this;}['setPalette'](_0x5470da){const _0x4225de=_0x34901b;return this[_0x4225de(0x239)]['apply'](_0x56e4b9(_0x5470da)),this;}[_0x34901b(0x1de)](){return this['_builder']['apply'](_0x1ff93a()),this;}[_0x34901b(0x22e)](_0x2a2bda){const _0x1cd732=_0x34901b;return this['_builder'][_0x1cd732(0x21d)](_0x5ca45e(_0x2a2bda)),this;}[_0x34901b(0x2c5)](_0x3e1f61){const _0x48d97e=_0x34901b;return this['_builder'][_0x48d97e(0x21d)](_0x1d3dc1(_0x3e1f61)),this;}[_0x34901b(0x28d)](_0x4a977b){const _0x54099a=_0x34901b;return this[_0x54099a(0x239)]['apply'](_0xa8083f(_0x4a977b)),this;}[_0x34901b(0x1e5)](){const _0x30815d=_0x34901b;return this['_builder'][_0x30815d(0x21d)](_0x3b4445()),this;}[_0x34901b(0x277)](_0x5dde7c){const _0x4edd74=_0x34901b;return this[_0x4edd74(0x239)][_0x4edd74(0x21d)](_0x2934d0(_0x5dde7c)),this;}[_0x34901b(0x24a)](){const _0x48805c=_0x34901b;return this[_0x48805c(0x239)]['apply'](_0x884ad1()),this;}[_0x34901b(0x27d)](_0x5b2968){const _0x27c56c=_0x34901b;return this[_0x27c56c(0x239)]['apply'](_0x37ef47(_0x5b2968)),this;}[_0x34901b(0x2ea)](_0x4c16e1){const _0x39d6d3=_0x34901b;return this[_0x39d6d3(0x239)][_0x39d6d3(0x2d1)]({'mapping':{'seriesToCategory':_0x3d4cec({'seriesToCategory':_0x4c16e1})[_0x39d6d3(0x283)]}}),this;}['setCategoryFields'](_0x5ad1ca){return this['_builder']['mergePending'](Yr(_0x5ad1ca)),this;}[_0x34901b(0x211)](){const _0x588fbd=_0x34901b;return this['_builder'][_0x588fbd(0x2d1)](Xr()),this;}[_0x34901b(0x22f)](_0x102126){const _0x5da029=_0x34901b;return this[_0x5da029(0x239)]['mergePending']({'mapping':{'multiLevelCategoryAxis':_0x102126}}),this;}[_0x34901b(0x21a)](){const _0x24b3a6=_0x34901b;return this[_0x24b3a6(0x239)][_0x24b3a6(0x21d)](_0xe98619()),this;}['setValueFields'](_0x33bc91){const _0x3ed85c=_0x34901b;return this[_0x3ed85c(0x239)][_0x3ed85c(0x21d)](_0xc1b5c5(_0x33bc91)),this;}[_0x34901b(0x2d6)](){return this['_builder']['apply'](_0x50cd1b()),this;}[_0x34901b(0x25a)](_0x4e3e13){const _0x110367=_0x34901b;return this[_0x110367(0x239)][_0x110367(0x21d)](_0x289c16(_0x4e3e13)),this;}[_0x34901b(0x23e)](_0x55bdde){const _0x4ff8c2=_0x34901b;return this['_builder'][_0x4ff8c2(0x21d)](_0x468408(_0x55bdde)),this;}},K=class extends G{['setMarkLines'](_0x53f06a){const _0x3006de=_0x34901b;return this[_0x3006de(0x239)][_0x3006de(0x21d)](_0x38240d(_0x53f06a)),this;}[_0x34901b(0x2df)](){const _0x4f8624=_0x34901b;return this['_builder'][_0x4f8624(0x21d)](_0x2fa72a()),this;}['setXAxis'](_0x4747cb){const _0xd099d4=_0x34901b;return this[_0xd099d4(0x239)][_0xd099d4(0x21d)](_0x44841c(_0x4747cb)),this;}['clearXAxis'](_0x45989a){const _0x413c36=_0x34901b;return this['_builder'][_0x413c36(0x21d)](_0x1921e7(_0x45989a)),this;}[_0x34901b(0x2eb)](_0x1e7564){const _0x2199d5=_0x34901b;return this[_0x2199d5(0x239)][_0x2199d5(0x21d)](_0x229f52(_0x1e7564)),this;}[_0x34901b(0x23b)](_0x22e379){const _0xf720d2=_0x34901b;return this[_0xf720d2(0x239)]['apply'](_0x50979d(_0x22e379)),this;}['setRightYAxis'](_0x74d4e3){const _0x247bfb=_0x34901b;return this[_0x247bfb(0x239)][_0x247bfb(0x21d)](_0x5743d8(_0x74d4e3)),this;}[_0x34901b(0x1b5)](_0x14e327){const _0x47c425=_0x34901b;return this['_builder'][_0x47c425(0x21d)](_0x25dec1(_0x14e327)),this;}[_0x34901b(0x296)](_0x438f04){const _0x7d524e=_0x34901b;return this[_0x7d524e(0x239)]['apply'](_0x2fa09a(_0x4a9942['X'],_0x438f04)),this;}['clearXAxisTitle'](){const _0x24e278=_0x34901b;return this[_0x24e278(0x239)][_0x24e278(0x21d)](_0x1cc4fe(_0x4a9942['X'])),this;}['setYAxisTitle'](_0x1b271e){const _0x2379c7=_0x34901b;return this[_0x2379c7(0x239)][_0x2379c7(0x21d)](_0x2fa09a(_0x4a9942['Y'],_0x1b271e)),this;}['clearYAxisTitle'](){const _0x137a61=_0x34901b;return this['_builder'][_0x137a61(0x21d)](_0x1cc4fe(_0x4a9942['Y'])),this;}[_0x34901b(0x1be)](_0x15f85a){return this['_builder']['apply'](_0x2fa09a(_0x4a9942['RightY'],_0x15f85a)),this;}[_0x34901b(0x29f)](){const _0xd69614=_0x34901b;return this[_0xd69614(0x239)][_0xd69614(0x21d)](_0x1cc4fe(_0x4a9942[_0xd69614(0x299)])),this;}[_0x34901b(0x274)](_0x23635f){const _0x5dcde6=_0x34901b;return this[_0x5dcde6(0x239)][_0x5dcde6(0x21d)](_0x17ad42(_0x23635f)),this;}['resetUseDateAxis'](){const _0x2e4e87=_0x34901b;return this[_0x2e4e87(0x239)]['apply'](_0x17c3fb()),this;}},q=class extends K{[_0x34901b(0x23c)](_0x1743ef){const _0x5637eb=_0x34901b;return this['_builder'][_0x5637eb(0x2d1)]({'errorBars':[..._0x1743ef]}),this;}[_0x34901b(0x2b6)](){const _0x2083fe=_0x34901b;return this['_builder'][_0x2083fe(0x2d1)]({'errorBars':[]}),this;}['setBar'](_0x5b5d55){const _0x38993d=_0x34901b;return this[_0x38993d(0x239)][_0x38993d(0x21d)](_0x519c1c(_0x5b5d55)),this;}[_0x34901b(0x1b9)](){const _0x53e4a2=_0x34901b;return this[_0x53e4a2(0x239)][_0x53e4a2(0x21d)](_0x4d24d8()),this;}[_0x34901b(0x221)](_0xf97e56,_0x470b00){const _0x145944=_0x34901b;return this[_0x145944(0x239)][_0x145944(0x21d)](_0xb9df62(_0xf97e56,_0x470b00)),this;}['clearSeries'](_0xe55ce1,_0x56c922){const _0x220c58=_0x34901b;return this[_0x220c58(0x239)][_0x220c58(0x21d)](_0x5ef12f(_0xe55ce1,_0x56c922)),this;}[_0x34901b(0x1c3)](){const _0x5d0a32=_0x34901b;return this['_builder'][_0x5d0a32(0x21d)](_0x304e5f()),this;}[_0x34901b(0x1f6)](_0xc4d6bb){const _0x167432=_0x34901b;return this[_0x167432(0x239)][_0x167432(0x21d)](_0x370b4b(_0xc4d6bb)),this;}[_0x34901b(0x267)](_0xc55851){const _0x15f10c=_0x34901b;return this[_0x15f10c(0x239)]['apply'](_0x240612(_0xc55851)),this;}['setTrendline'](_0x5cb172,_0x59b5a6){const _0x4f01f0=_0x34901b;return this[_0x4f01f0(0x239)]['apply'](_0x167c37(_0x5cb172,_0x59b5a6)),this;}[_0x34901b(0x27e)](_0x3dae32,_0x4c3110){const _0x251d13=_0x34901b;return this['_builder'][_0x251d13(0x21d)](_0x4a8c01(this[_0x251d13(0x239)]['describe'](),_0x3dae32,_0x4c3110)),this;}[_0x34901b(0x2d4)](_0x450b73){const _0x5170b8=_0x34901b;return this[_0x5170b8(0x239)][_0x5170b8(0x21d)](_0x35e302(this[_0x5170b8(0x239)]['describe'](),_0x450b73)),this;}[_0x34901b(0x1d9)](_0x5d5f93){const _0x433048=_0x34901b;return this[_0x433048(0x239)][_0x433048(0x21d)](_0x448af9(_0x5d5f93)),this;}[_0x34901b(0x269)](_0x1e5fe9){const _0x5107f7=_0x34901b;return this[_0x5107f7(0x239)][_0x5107f7(0x21d)](_0x1114a7(_0x1e5fe9)),this;}},J=class extends q{[_0x34901b(0x1cd)](_0x448c73){const _0x44554b=_0x34901b;return this[_0x44554b(0x239)][_0x44554b(0x21d)](_0x4d8380(_0x448c73)),this;}[_0x34901b(0x1aa)](){const _0xb79602=_0x34901b;return this[_0xb79602(0x239)][_0xb79602(0x21d)](_0x5d354d()),this;}},ei=class extends G{['setThreeD'](_0x3c3e61){const _0x2296f7=_0x34901b;return this[_0x2296f7(0x239)][_0x2296f7(0x21d)](_0x133a48(_0x3c3e61)),this;}[_0x34901b(0x247)](){const _0x40faea=_0x34901b;return this['_builder'][_0x40faea(0x21d)](_0x2a780d()),this;}},Y=class extends ei{[_0x34901b(0x2ce)](_0x1e5410){const _0x48cb69=_0x34901b;return this[_0x48cb69(0x239)][_0x48cb69(0x21d)](_0x44841c(_0x1e5410)),this;}[_0x34901b(0x249)](_0xde5c0){const _0x32df0c=_0x34901b;return this[_0x32df0c(0x239)][_0x32df0c(0x21d)](_0x1921e7(_0xde5c0)),this;}[_0x34901b(0x2eb)](_0x2ef8b1){const _0xc3cf3f=_0x34901b;return this[_0xc3cf3f(0x239)]['apply'](_0x229f52(_0x2ef8b1)),this;}[_0x34901b(0x23b)](_0x4944da){const _0x18a3c6=_0x34901b;return this[_0x18a3c6(0x239)][_0x18a3c6(0x21d)](_0x50979d(_0x4944da)),this;}[_0x34901b(0x205)](_0x1703eb){const _0x1276b9=_0x34901b;return this[_0x1276b9(0x239)][_0x1276b9(0x21d)](_0x160ed2(_0x1703eb)),this;}['clearDepthAxis'](){const _0x4cf998=_0x34901b;return this['_builder'][_0x4cf998(0x21d)](_0x2cbd86()),this;}[_0x34901b(0x221)](_0x17d9de,_0x560110){const _0x8f5476=_0x34901b;return this[_0x8f5476(0x239)][_0x8f5476(0x21d)](_0xb9df62(_0x17d9de,_0x560110)),this;}[_0x34901b(0x2c6)](_0x20e317){const _0x286113=_0x34901b;return this[_0x286113(0x239)]['apply'](_0x5ef12f(_0x20e317)),this;}['setAllSeriesStyle'](_0x481ddd){const _0x1d6934=_0x34901b;return this[_0x1d6934(0x239)]['apply'](_0x370b4b(_0x481ddd)),this;}[_0x34901b(0x267)](){const _0xaa1cb8=_0x34901b;return this[_0xaa1cb8(0x239)]['apply'](_0x240612()),this;}[_0x34901b(0x1c3)](){const _0x626d6b=_0x34901b;return this[_0x626d6b(0x239)][_0x626d6b(0x21d)](_0x304e5f()),this;}},X=class extends Y{[_0x34901b(0x1cd)](_0x529ac2){const _0x18b5c8=_0x34901b;return this[_0x18b5c8(0x239)][_0x18b5c8(0x21d)](_0x4d8380(_0x529ac2)),this;}[_0x34901b(0x1aa)](){const _0x541617=_0x34901b;return this[_0x541617(0x239)][_0x541617(0x21d)](_0x5d354d()),this;}},ti=class extends q{},ni=class extends q{['setBubbleMapping'](_0x4bcb0b){const _0x5e9208=_0x34901b;return this[_0x5e9208(0x239)][_0x5e9208(0x21d)](_0x2d2c3f(_0x4bcb0b)),this;}[_0x34901b(0x1d7)](){const _0x17cabc=_0x34901b;return this[_0x17cabc(0x239)][_0x17cabc(0x21d)](_0x1cb3ad()),this;}},ri=class extends K{[_0x34901b(0x26e)](_0x35a2c9){return this['_builder']['apply'](_0x437756(_0x35a2c9)),this;}[_0x34901b(0x1b8)](){const _0x2258aa=_0x34901b;return this['_builder'][_0x2258aa(0x21d)](_0x2b4f16()),this;}[_0x34901b(0x240)](_0x3496ad){const _0x21d6d8=_0x34901b;return this['_builder'][_0x21d6d8(0x21d)](_0x139bee(_0x3496ad)),this;}['clearRisingStyle'](){const _0x2a4397=_0x34901b;return this[_0x2a4397(0x239)]['apply'](_0x9abbdb()),this;}[_0x34901b(0x1d1)](_0x391fa6){const _0x3d3a55=_0x34901b;return this[_0x3d3a55(0x239)][_0x3d3a55(0x21d)](_0x3cd547(_0x391fa6)),this;}['clearFallingStyle'](){const _0x1dc162=_0x34901b;return this[_0x1dc162(0x239)]['apply'](_0x3139be()),this;}[_0x34901b(0x214)](_0x3eb210){const _0x136df1=_0x34901b;return this[_0x136df1(0x239)][_0x136df1(0x21d)](_0x177256(_0x3eb210)),this;}['clearDojiStyle'](){const _0x4930da=_0x34901b;return this[_0x4930da(0x239)][_0x4930da(0x21d)](_0x5e01da()),this;}[_0x34901b(0x1b0)](_0x2c715f){const _0x3daf3b=_0x34901b;return this[_0x3daf3b(0x239)]['apply'](_0x325705(_0x2c715f)),this;}[_0x34901b(0x1c0)](){const _0x48680e=_0x34901b;return this[_0x48680e(0x239)][_0x48680e(0x21d)](_0x1e2577()),this;}[_0x34901b(0x1c8)](_0x183c20){const _0x484d94=_0x34901b;return this[_0x484d94(0x239)][_0x484d94(0x2d1)]({'candlestick':{'highLowLine':_0x183c20}}),this;}[_0x34901b(0x2a0)](){const _0x18f856=_0x34901b;return this[_0x18f856(0x239)][_0x18f856(0x2d1)]({'candlestick':{'highLowLine':null}}),this;}['setCloseMarkerStyle'](_0x39d1b4){const _0x11c768=_0x34901b;return this[_0x11c768(0x239)][_0x11c768(0x2d1)]({'candlestick':{'closeMarker':_0x39d1b4}}),this;}[_0x34901b(0x2b7)](){const _0x33ecf4=_0x34901b;return this[_0x33ecf4(0x239)]['mergePending']({'candlestick':{'closeMarker':null}}),this;}},ii=class extends G{['setChordMapping'](_0x3f0e11){const _0xabe966=_0x34901b;return this[_0xabe966(0x239)][_0xabe966(0x21d)](_0x517f9f(_0x3f0e11)),this;}[_0x34901b(0x29c)](_0x3b8361){const _0x2544e9=_0x34901b;return this[_0x2544e9(0x239)]['apply'](_0x4cdb56(_0x3b8361)),this;}['resetChordLayout'](){return this['_builder']['apply'](_0x3cb241()),this;}[_0x34901b(0x21c)](_0x1da608){const _0x2bc315=_0x34901b;return this[_0x2bc315(0x239)]['apply'](_0x910678(_0x1da608)),this;}[_0x34901b(0x233)](){const _0x4d78e4=_0x34901b;return this[_0x4d78e4(0x239)]['apply'](_0xa94d01()),this;}[_0x34901b(0x21f)](_0x4c195a){const _0x24e0e7=_0x34901b;return this[_0x24e0e7(0x239)][_0x24e0e7(0x21d)](_0x256dd0(_0x4c195a)),this;}['resetChordLabel'](){const _0x388e9a=_0x34901b;return this[_0x388e9a(0x239)]['apply'](_0x434045()),this;}[_0x34901b(0x257)](_0x3d6246){const _0x35c1f2=_0x34901b;return this['_builder'][_0x35c1f2(0x21d)](_0x9f684d(_0x3d6246)),this;}['resetChordRibbon'](){const _0xe2e1bf=_0x34901b;return this[_0xe2e1bf(0x239)][_0xe2e1bf(0x21d)](_0x5e722f()),this;}[_0x34901b(0x21e)](_0x56829d){const _0x4efe52=_0x34901b;return this[_0x4efe52(0x239)][_0x4efe52(0x21d)](_0x1880dc(_0x56829d)),this;}[_0x34901b(0x1ed)](){const _0x294b6e=_0x34901b;return this['_builder'][_0x294b6e(0x21d)](_0x2237fa()),this;}},Z=class extends Y{[_0x34901b(0x27c)](_0xb69ca7){const _0x1f29e3=_0x34901b;return this[_0x1f29e3(0x239)][_0x1f29e3(0x21d)](_0x519c1c(_0xb69ca7)),this;}[_0x34901b(0x1b9)](){return this['_builder']['apply'](_0x4d24d8()),this;}},ai=class extends q{[_0x34901b(0x1bd)](_0x49dbf0,_0x23dee4){const _0x31df57=_0x34901b;return this[_0x31df57(0x239)][_0x31df57(0x21d)](_0x1f3f10(_0x49dbf0,_0x23dee4)),this;}['resetSeriesType'](_0x26b6eb){const _0x38ba0d=_0x34901b;return this[_0x38ba0d(0x239)]['apply'](_0xe9e2f1(_0x26b6eb)),this;}['setSeriesAxis'](_0x46ad66,_0x2b1286){const _0x26b4bb=_0x34901b;return this[_0x26b4bb(0x239)][_0x26b4bb(0x21d)](_0x133c90(_0x46ad66,_0x2b1286)),this;}[_0x34901b(0x20e)](_0x2d43bd){const _0x481054=_0x34901b;return this[_0x481054(0x239)][_0x481054(0x21d)](_0x10381b(_0x2d43bd)),this;}},oi=class extends G{[_0x34901b(0x284)](_0xb42e40){const _0x23b10a=_0x34901b;return this[_0x23b10a(0x239)]['apply'](_0xd44bc0(_0xb42e40)),this;}[_0x34901b(0x2cc)](){const _0xd41b7b=_0x34901b;return this[_0xd41b7b(0x239)][_0xd41b7b(0x21d)](_0x43805c()),this;}[_0x34901b(0x243)](_0x3b4d33){const _0x409a53=_0x34901b;return this[_0x409a53(0x239)][_0x409a53(0x21d)](_0x39c128(_0x3b4d33)),this;}[_0x34901b(0x22b)](){const _0x1639d1=_0x34901b;return this['_builder'][_0x1639d1(0x21d)](_0xae5e4d()),this;}},si=class extends G{[_0x34901b(0x1fd)](_0x10b16b){const _0x2ac0e4=_0x34901b;return this[_0x2ac0e4(0x239)][_0x2ac0e4(0x21d)](_0x394aed(_0x10b16b)),this;}[_0x34901b(0x260)](_0x1fa6b1){const _0x316c54=_0x34901b;return this['_builder'][_0x316c54(0x21d)](_0x480247(_0x1fa6b1)),this;}['resetGaugeMode'](){const _0x4e62d0=_0x34901b;return this[_0x4e62d0(0x239)][_0x4e62d0(0x21d)](_0x19ce10()),this;}[_0x34901b(0x2da)](_0x17f8f9){const _0x2361fd=_0x34901b;return this['_builder'][_0x2361fd(0x21d)](_0x32bacd(_0x17f8f9)),this;}[_0x34901b(0x2ec)](){const _0x54c648=_0x34901b;return this[_0x54c648(0x239)]['apply'](_0x4281da()),this;}[_0x34901b(0x2c0)](_0x5796a6){const _0x3b49af=_0x34901b;return this[_0x3b49af(0x239)][_0x3b49af(0x21d)](_0x4c3364(_0x5796a6)),this;}['setGaugeAngles'](_0x36e2e2){const _0x3aa187=_0x34901b;return this[_0x3aa187(0x239)][_0x3aa187(0x21d)](_0x5656f7(_0x36e2e2)),this;}[_0x34901b(0x1a5)](){const _0x3ac27c=_0x34901b;return this[_0x3ac27c(0x239)]['apply'](_0x3529a6()),this;}['setGaugeRanges'](_0x52a2d6){const _0x59eced=_0x34901b;return this[_0x59eced(0x239)][_0x59eced(0x21d)](_0x41f4c6(_0x52a2d6)),this;}['resetGaugeRanges'](){const _0x362734=_0x34901b;return this[_0x362734(0x239)][_0x362734(0x21d)](_0x15266b()),this;}[_0x34901b(0x1ec)](_0x5d83cb){return this['_builder']['apply'](_0xe62da4(_0x5d83cb)),this;}[_0x34901b(0x202)](){const _0x1e08e8=_0x34901b;return this[_0x1e08e8(0x239)][_0x1e08e8(0x21d)](_0x2bf49c()),this;}[_0x34901b(0x244)](_0x30041d){const _0x736780=_0x34901b;return this[_0x736780(0x239)][_0x736780(0x21d)](_0x3766d8(_0x30041d)),this;}[_0x34901b(0x21b)](){const _0x51ce30=_0x34901b;return this[_0x51ce30(0x239)]['apply'](_0x23062f()),this;}['setGaugeSplitLine'](_0x438ab0){const _0x41d773=_0x34901b;return this[_0x41d773(0x239)][_0x41d773(0x21d)](_0x556103(_0x438ab0)),this;}[_0x34901b(0x255)](){const _0x2b4da3=_0x34901b;return this[_0x2b4da3(0x239)][_0x2b4da3(0x21d)](_0x45bb16()),this;}[_0x34901b(0x2c1)](_0x24de33){const _0x14f452=_0x34901b;return this['_builder'][_0x14f452(0x21d)](_0xc41373(_0x24de33)),this;}[_0x34901b(0x1b7)](){const _0x44b5f7=_0x34901b;return this[_0x44b5f7(0x239)][_0x44b5f7(0x21d)](_0x1f60c0()),this;}[_0x34901b(0x266)](_0x3be261){const _0x3ef3bb=_0x34901b;return this['_builder'][_0x3ef3bb(0x21d)](_0x4b19fb(_0x3be261)),this;}[_0x34901b(0x236)](){const _0x9f1b36=_0x34901b;return this[_0x9f1b36(0x239)][_0x9f1b36(0x21d)](_0x5580c0()),this;}[_0x34901b(0x2bb)](_0x4d6896){const _0x1ac696=_0x34901b;return this[_0x1ac696(0x239)][_0x1ac696(0x21d)](_0x49e489(_0x4d6896)),this;}[_0x34901b(0x2ba)](){const _0x1cf87f=_0x34901b;return this[_0x1cf87f(0x239)][_0x1cf87f(0x21d)](_0x3b7002()),this;}[_0x34901b(0x2ae)](_0x58cb10){const _0x12b4fe=_0x34901b;return this[_0x12b4fe(0x239)][_0x12b4fe(0x21d)](_0x3cd5c1(_0x58cb10)),this;}[_0x34901b(0x1e8)](){const _0x3f9426=_0x34901b;return this[_0x3f9426(0x239)][_0x3f9426(0x21d)](_0xe31858()),this;}[_0x34901b(0x1cb)](_0x344504){const _0x2bc68e=_0x34901b;return this[_0x2bc68e(0x239)][_0x2bc68e(0x21d)](_0x3efcc2(_0x344504)),this;}[_0x34901b(0x26f)](){const _0x21736c=_0x34901b;return this[_0x21736c(0x239)][_0x21736c(0x21d)](_0x10c4f3()),this;}[_0x34901b(0x1e1)](_0x503528){const _0xf08d95=_0x34901b;return this[_0xf08d95(0x239)]['apply'](_0x353fb6(_0x503528)),this;}[_0x34901b(0x1bf)](){const _0x2a5354=_0x34901b;return this[_0x2a5354(0x239)][_0x2a5354(0x21d)](_0x53e0f8()),this;}},ci=class extends K{[_0x34901b(0x27b)](_0x107589){const _0x3083d7=_0x34901b;return this[_0x3083d7(0x239)][_0x3083d7(0x21d)](_0x4087d4(_0x107589)),this;}[_0x34901b(0x223)](){return this['_builder']['apply'](_0x57a051()),this;}[_0x34901b(0x2e3)](_0x53556c,_0x55e0df){return this['_builder']['apply'](_0x17a83c(_0x53556c,_0x55e0df)),this;}[_0x34901b(0x206)](){const _0xb35c0c=_0x34901b;return this[_0xb35c0c(0x239)][_0xb35c0c(0x21d)](_0x1f019c()),this;}[_0x34901b(0x1d6)](_0x18ace3){const _0x497454=_0x34901b;return this[_0x497454(0x239)]['apply'](_0x2a2803(_0x18ace3)),this;}[_0x34901b(0x2e6)](){const _0x3502de=_0x34901b;return this[_0x3502de(0x239)][_0x3502de(0x21d)](_0x29bccd()),this;}[_0x34901b(0x2be)](_0x21eaad){const _0x47351a=_0x34901b;return this['_builder'][_0x47351a(0x21d)](_0x33a935(_0x21eaad)),this;}['clearValueUnit'](){const _0x1c49ee=_0x34901b;return this[_0x1c49ee(0x239)][_0x1c49ee(0x21d)](_0x5e25dd()),this;}},li=class extends q{[_0x34901b(0x1ad)](_0x3dcfbd){return this['_builder']['apply'](_0x38acd6(_0x3dcfbd)),this;}['clearHistogramField'](){return this['_builder']['apply'](_0xe547bc()),this;}[_0x34901b(0x204)](_0x185458){const _0x2b3085=_0x34901b;return Number['isFinite'](_0x185458)&&this[_0x2b3085(0x239)][_0x2b3085(0x21d)](_0x2e59bf(_0x185458)),this;}[_0x34901b(0x1f3)](_0x187566){const _0x28e3f9=_0x34901b;return Number[_0x28e3f9(0x2a7)](_0x187566)&&this['_builder'][_0x28e3f9(0x21d)](_0x5764b0(_0x187566)),this;}[_0x34901b(0x1af)](){const _0x400669=_0x34901b;return this[_0x400669(0x239)]['apply'](_0x2dfeb3()),this;}[_0x34901b(0x1fe)](_0x5cd49d){const _0x5a0b85=_0x34901b;return Number[_0x5a0b85(0x2a7)](_0x5cd49d)&&this[_0x5a0b85(0x239)][_0x5a0b85(0x21d)](_0x1835ba(_0x5cd49d)),this;}[_0x34901b(0x201)](){const _0x1e7283=_0x34901b;return this[_0x1e7283(0x239)][_0x1e7283(0x21d)](_0x202d10()),this;}[_0x34901b(0x261)](_0xf69205){const _0x6f754a=_0x34901b;return Number[_0x6f754a(0x2a7)](_0xf69205)&&this[_0x6f754a(0x239)][_0x6f754a(0x21d)](_0x2acc0f(_0xf69205)),this;}[_0x34901b(0x24f)](){const _0x19f9d2=_0x34901b;return this[_0x19f9d2(0x239)]['apply'](_0x11dd01()),this;}['setBinGap'](_0x28feea){const _0xeeca0e=_0x34901b;return Number['isFinite'](_0x28feea)&&this[_0xeeca0e(0x239)][_0xeeca0e(0x21d)](_0x25f4b1(_0x28feea)),this;}[_0x34901b(0x1a7)](){const _0x2b0a35=_0x34901b;return this[_0x2b0a35(0x239)][_0x2b0a35(0x21d)](_0x21c43e()),this;}},Q=class extends q{[_0x34901b(0x24c)](_0x46aac3){return this['_builder']['apply'](_0x2755ca(_0x46aac3)),this;}[_0x34901b(0x2b9)](){const _0x3f0347=_0x34901b;return this[_0x3f0347(0x239)][_0x3f0347(0x21d)](_0x18a4a4()),this;}},ui=class extends Y{[_0x34901b(0x24c)](_0x31c255){const _0x38a535=_0x34901b;return this[_0x38a535(0x239)][_0x38a535(0x21d)](_0x2755ca(_0x31c255)),this;}[_0x34901b(0x2b9)](){const _0x2b5172=_0x34901b;return this[_0x2b5172(0x239)][_0x2b5172(0x21d)](_0x18a4a4()),this;}},di=class extends q{['setBarStyle'](_0x5c9e21){const _0x5502da=_0x34901b;return this[_0x5502da(0x239)]['apply'](_0x125d94(_0x5c9e21)),this;}['clearBarStyle'](){const _0x409a64=_0x34901b;return this['_builder'][_0x409a64(0x21d)](_0x4dc9df()),this;}['setCumulativeLineStyle'](_0x7b139b){return this['_builder']['apply'](_0x3078e5(_0x7b139b)),this;}[_0x34901b(0x1ca)](){const _0x2f33fd=_0x34901b;return this[_0x2f33fd(0x239)][_0x2f33fd(0x21d)](_0x23451b()),this;}['setIncludeZeroValues'](_0x489fa0){const _0x51da69=_0x34901b;return this[_0x51da69(0x239)][_0x51da69(0x21d)](_0x47371e(_0x489fa0)),this;}['resetIncludeZeroValues'](){const _0x2dea6d=_0x34901b;return this[_0x2dea6d(0x239)]['apply'](_0x118eea()),this;}},$=class extends G{[_0x34901b(0x2a3)](_0x4d85ac){const _0x4593ca=_0x34901b;return this[_0x4593ca(0x239)][_0x4593ca(0x21d)](_0x23177a(_0x4d85ac)),this;}[_0x34901b(0x1da)](){const _0x4a5a3e=_0x34901b;return this[_0x4a5a3e(0x239)][_0x4a5a3e(0x21d)](_0x59b6ed()),this;}['setSliceStyle'](_0x3a4fc5,_0xe4ae77){const _0x36625f=_0x34901b;return this[_0x36625f(0x239)][_0x36625f(0x21d)](_0x922e7f(_0x3a4fc5,_0xe4ae77)),this;}[_0x34901b(0x2af)](_0xc70871){const _0x1bb347=_0x34901b;return this['_builder'][_0x1bb347(0x21d)](_0x34e7d8(_0xc70871)),this;}[_0x34901b(0x20d)](_0x3b117f){const _0x8fd48d=_0x34901b;return this[_0x8fd48d(0x239)]['apply'](_0x30eeb9(_0x3b117f)),this;}[_0x34901b(0x1f5)](){const _0x41f7f0=_0x34901b;return this[_0x41f7f0(0x239)][_0x41f7f0(0x21d)](_0x210d06()),this;}[_0x34901b(0x248)](_0x4f8f19){const _0xf861b8=_0x34901b;return this[_0xf861b8(0x239)][_0xf861b8(0x21d)](_0x63bbd5(_0x4f8f19)),this;}[_0x34901b(0x2c2)](){const _0x4d45d5=_0x34901b;return this[_0x4d45d5(0x239)]['apply'](_0x19a993()),this;}[_0x34901b(0x217)](_0x274a2e){const _0x4f57fb=_0x34901b;return this[_0x4f57fb(0x239)][_0x4f57fb(0x21d)](_0x321fae(_0x274a2e)),this;}[_0x34901b(0x2d9)](){const _0x4cce82=_0x34901b;return this[_0x4cce82(0x239)]['apply'](_0xb16c77()),this;}[_0x34901b(0x230)](_0x231de3){const _0x184ee1=_0x34901b;return this['_builder'][_0x184ee1(0x21d)](_0x1417af(_0x231de3)),this;}[_0x34901b(0x286)](){const _0x3b5926=_0x34901b;return this['_builder'][_0x3b5926(0x21d)](_0x2c1edc()),this;}['setHalfPie'](_0x6dab37){const _0x7c0711=_0x34901b;return this[_0x7c0711(0x239)][_0x7c0711(0x21d)](_0x838642(_0x6dab37)),this;}[_0x34901b(0x29a)](){const _0x4324df=_0x34901b;return this[_0x4324df(0x239)][_0x4324df(0x21d)](_0x1754d6()),this;}[_0x34901b(0x25c)](_0x461a97){const _0x315908=_0x34901b;return this[_0x315908(0x239)][_0x315908(0x21d)](_0x101183(_0x461a97)),this;}[_0x34901b(0x1ea)](){const _0x3d7426=_0x34901b;return this[_0x3d7426(0x239)][_0x3d7426(0x21d)](_0x5589cd()),this;}[_0x34901b(0x2c3)](_0xa7547f){const _0x5eb2ca=_0x34901b;return this[_0x5eb2ca(0x239)][_0x5eb2ca(0x21d)](_0x19ae31(_0xa7547f)),this;}[_0x34901b(0x209)](){const _0x159e87=_0x34901b;return this[_0x159e87(0x239)][_0x159e87(0x21d)](_0x48cc6e()),this;}['setValueScale'](_0x381c13){const _0x53f385=_0x34901b;return this[_0x53f385(0x239)][_0x53f385(0x21d)](_0xeb87c(_0x381c13)),this;}[_0x34901b(0x24d)](){const _0x442228=_0x34901b;return this['_builder'][_0x442228(0x21d)](_0xbc9159()),this;}[_0x34901b(0x288)](_0x5e3af6){const _0x4df7e9=_0x34901b;return this[_0x4df7e9(0x239)][_0x4df7e9(0x21d)](_0x2bdcbf(_0x5e3af6)),this;}[_0x34901b(0x278)](){const _0x47bf8d=_0x34901b;return this[_0x47bf8d(0x239)][_0x47bf8d(0x21d)](_0x30ca81()),this;}},fi=class extends ei{[_0x34901b(0x248)](_0x2000b3){const _0x13ef14=_0x34901b;return this[_0x13ef14(0x239)][_0x13ef14(0x21d)](_0x63bbd5(_0x2000b3)),this;}['resetExplosion'](){const _0x14a141=_0x34901b;return this[_0x14a141(0x239)][_0x14a141(0x21d)](_0x19a993()),this;}[_0x34901b(0x256)](_0x42c50c,_0x2c347e){const _0x45adf6=_0x34901b;return this['_builder'][_0x45adf6(0x21d)](_0x922e7f(_0x42c50c,_0x2c347e)),this;}[_0x34901b(0x2af)](_0xcd1cce){const _0x549198=_0x34901b;return this[_0x549198(0x239)][_0x549198(0x21d)](_0x34e7d8(_0xcd1cce)),this;}[_0x34901b(0x288)](_0x2220dd){const _0x4a8a01=_0x34901b;return this[_0x4a8a01(0x239)]['apply'](_0x2bdcbf(_0x2220dd)),this;}[_0x34901b(0x278)](){const _0x3e6837=_0x34901b;return this[_0x3e6837(0x239)][_0x3e6837(0x21d)](_0x30ca81()),this;}[_0x34901b(0x217)](_0x459384){const _0x5a37ac=_0x34901b;return this[_0x5a37ac(0x239)][_0x5a37ac(0x21d)](_0x321fae(_0x459384)),this;}[_0x34901b(0x2d9)](){const _0x2bc7bf=_0x34901b;return this[_0x2bc7bf(0x239)][_0x2bc7bf(0x21d)](_0xb16c77()),this;}[_0x34901b(0x2c3)](_0x40ee39){return this['_builder']['apply'](_0x19ae31(_0x40ee39)),this;}['resetLabelLineVisible'](){const _0x50bdaa=_0x34901b;return this[_0x50bdaa(0x239)][_0x50bdaa(0x21d)](_0x48cc6e()),this;}},pi=class extends G{['setShape'](_0x493735){const _0x25f1c7=_0x34901b;return this[_0x25f1c7(0x239)][_0x25f1c7(0x21d)](_0x2aad8c(_0x493735)),this;}[_0x34901b(0x1bb)](){const _0x421f87=_0x34901b;return this['_builder'][_0x421f87(0x21d)](_0x102363()),this;}['setFill'](_0x41e231){const _0x178c24=_0x34901b;return this[_0x178c24(0x239)]['apply'](_0x18d7b5(_0x41e231)),this;}['resetFill'](){const _0x39b180=_0x34901b;return this['_builder'][_0x39b180(0x21d)](_0x2b10f3()),this;}},mi=class extends G{[_0x34901b(0x258)](_0x10b3e9){const _0x402a22=_0x34901b;return this[_0x402a22(0x239)][_0x402a22(0x21d)](_0xcd98a5(_0x10b3e9)),this;}[_0x34901b(0x2e8)](){const _0x1cee5e=_0x34901b;return this['_builder'][_0x1cee5e(0x21d)](_0x5915e7()),this;}['setUseValueAsSymbolSize'](_0x438d39){const _0x17b0b6=_0x34901b;return this['_builder'][_0x17b0b6(0x21d)](_0x370c28(_0x438d39)),this;}[_0x34901b(0x20a)](){const _0x362611=_0x34901b;return this[_0x362611(0x239)][_0x362611(0x21d)](_0x272ef1()),this;}[_0x34901b(0x250)](_0x15db61){const _0x138e1a=_0x34901b;return this[_0x138e1a(0x239)][_0x138e1a(0x21d)](_0x3b31dc(_0x15db61)),this;}[_0x34901b(0x2c8)](){return this['_builder']['apply'](_0xdec97d()),this;}[_0x34901b(0x2cb)](_0x16431b){const _0x212092=_0x34901b;return this[_0x212092(0x239)][_0x212092(0x21d)](_0x952083(_0x16431b)),this;}[_0x34901b(0x1bc)](){const _0x3b0cd2=_0x34901b;return this[_0x3b0cd2(0x239)][_0x3b0cd2(0x21d)](_0x47970e()),this;}['setCircularLabelRotation'](_0x7036be){const _0x182ba3=_0x34901b;return this[_0x182ba3(0x239)][_0x182ba3(0x21d)](_0x4f6579(_0x7036be)),this;}['resetCircularLabelRotation'](){const _0x323112=_0x34901b;return this[_0x323112(0x239)]['apply'](_0x22fcfe()),this;}['setNodeShape'](_0x31a28c){const _0x24330c=_0x34901b;return this['_builder'][_0x24330c(0x21d)](_0x4238c9(_0x31a28c)),this;}[_0x34901b(0x1fc)](){const _0x4b8650=_0x34901b;return this['_builder'][_0x4b8650(0x21d)](_0xa711b4()),this;}},hi=class extends q{},gi=class extends G{['setHierarchyFields'](_0x5e6589){const _0x2425ac=_0x34901b;return this[_0x2425ac(0x239)][_0x2425ac(0x21d)](_0x19ee91(_0x5e6589)),this;}['setValueField'](_0x4e6a88){const _0x58d669=_0x34901b;return this[_0x58d669(0x239)][_0x58d669(0x21d)](_0x45522f(_0x4e6a88)),this;}[_0x34901b(0x262)](_0x1355d8){const _0x227631=_0x34901b;return this[_0x227631(0x239)][_0x227631(0x21d)](_0x5ef5f6(_0x1355d8)),this;}['resetSunburstLabel'](){const _0x14a0eb=_0x34901b;return this['_builder'][_0x14a0eb(0x21d)](_0x4f76f7()),this;}['setCenterLabel'](_0x508a73){const _0x355543=_0x34901b;return this[_0x355543(0x239)][_0x355543(0x21d)](_0x189a0c(_0x508a73)),this;}[_0x34901b(0x245)](){const _0x5ae0cf=_0x34901b;return this['_builder'][_0x5ae0cf(0x21d)](_0x349ba9()),this;}},_i=class extends G{[_0x34901b(0x1e9)](_0x4f13a0){const _0x26d3eb=_0x34901b;return this[_0x26d3eb(0x239)][_0x26d3eb(0x21d)](_0x43c263(_0x4f13a0)),this;}[_0x34901b(0x1d5)](_0x5bb608){const _0x13a1a7=_0x34901b;return this[_0x13a1a7(0x239)][_0x13a1a7(0x21d)](_0xd9cd7a(_0x5bb608)),this;}['setParentLabelLayout'](_0x12da3a){const _0x5c61b2=_0x34901b;return this[_0x5c61b2(0x239)]['apply'](_0x56bfd0(_0x12da3a)),this;}[_0x34901b(0x20f)](){const _0x179aa5=_0x34901b;return this['_builder'][_0x179aa5(0x21d)](_0x3daf99()),this;}['setTreemapLabel'](_0x213d0d){const _0x55b199=_0x34901b;return this[_0x55b199(0x239)][_0x55b199(0x21d)](_0x5e061c(_0x213d0d)),this;}[_0x34901b(0x2e1)](){const _0x195661=_0x34901b;return this[_0x195661(0x239)][_0x195661(0x21d)](_0x1fd84f()),this;}},vi=class extends q{[_0x34901b(0x1c9)](_0x1c7ffc){const _0x232f67=_0x34901b;let _0x23f323=this[_0x232f67(0x208)]()[_0x232f67(0x264)],_0x3789ab=new Map();_0x1c7ffc['forEach']((_0x3f52ad,_0x2ba7b9)=>{const _0x5c4b8b=_0x232f67;if(!Number['isInteger'](_0x3f52ad['dataPointIndex'])||_0x3f52ad[_0x5c4b8b(0x1c5)]<0x0)throw Error(_0x5c4b8b(0x1f7)+_0x2ba7b9+_0x5c4b8b(0x298));let _0x2e7bde=typeof _0x3f52ad[_0x5c4b8b(0x264)]==_0x5c4b8b(0x2bc)?yi(_0x3f52ad['series'],_0x2ba7b9):bi(_0x3f52ad[_0x5c4b8b(0x264)][_0x5c4b8b(0x291)],_0x23f323,_0x2ba7b9);_0x3789ab[_0x5c4b8b(0x1e4)](_0x2e7bde+':'+_0x3f52ad[_0x5c4b8b(0x1c5)],{..._0x3f52ad,'series':_0x2e7bde});});let _0x3b7dff=[..._0x3789ab['values']()][_0x232f67(0x1d8)]((_0x192e4d,_0x1f2931)=>_0x192e4d['series']-_0x1f2931[_0x232f67(0x264)]||_0x192e4d[_0x232f67(0x1c5)]-_0x1f2931[_0x232f67(0x1c5)]);return this['_builder'][_0x232f67(0x21d)](_0x18d4ba(_0x3b7dff)),this;}[_0x34901b(0x1c2)](_0x19f818){const _0x58253d=_0x34901b;return this['_builder'][_0x58253d(0x21d)](_0x33a203(_0x19f818)),this;}[_0x34901b(0x2de)](){const _0x57ea3f=_0x34901b;return this[_0x57ea3f(0x239)]['apply'](_0x314c92()),this;}['setStackType'](_0x37fa69){const _0x210cac=_0x34901b;return this[_0x210cac(0x239)]['apply'](_0x1f07e9(_0x37fa69)),this;}[_0x34901b(0x215)](){return this['_builder']['apply'](_0x3270d4()),this;}[_0x34901b(0x2ca)](_0x345e8c){const _0x126733=_0x34901b;return this[_0x126733(0x239)][_0x126733(0x21d)](_0x1e904b(_0x345e8c)),this;}[_0x34901b(0x1b2)](){const _0x3d02f4=_0x34901b;return this[_0x3d02f4(0x239)][_0x3d02f4(0x21d)](_0x4ffcbf()),this;}[_0x34901b(0x1e6)](_0x2c1b14,_0x37560f){const _0x4e6276=_0x34901b;return this[_0x4e6276(0x239)][_0x4e6276(0x21d)](_0x234dc1(_0x2c1b14,_0x35b78a[_0x4e6276(0x1f4)],_0x37560f)),this;}['clearPositiveStyle'](_0x2f4a3e){const _0x301a56=_0x34901b;return this[_0x301a56(0x239)]['apply'](_0x116ca3(_0x2f4a3e,_0x35b78a[_0x301a56(0x1f4)])),this;}['setNegativeStyle'](_0x30cbbc,_0x1fe141){const _0x22bc94=_0x34901b;return this[_0x22bc94(0x239)]['apply'](_0x234dc1(_0x30cbbc,_0x35b78a[_0x22bc94(0x1d2)],_0x1fe141)),this;}[_0x34901b(0x1db)](_0x1df664){const _0x5cbc66=_0x34901b;return this[_0x5cbc66(0x239)][_0x5cbc66(0x21d)](_0x116ca3(_0x1df664,_0x35b78a[_0x5cbc66(0x1d2)])),this;}[_0x34901b(0x1b1)](_0x3d5e48,_0x902d76){const _0x35d552=_0x34901b;return this[_0x35d552(0x239)][_0x35d552(0x21d)](_0x234dc1(_0x3d5e48,_0x35b78a[_0x35d552(0x2e9)],_0x902d76)),this;}[_0x34901b(0x1c4)](_0x582090){const _0x1dce32=_0x34901b;return this['_builder'][_0x1dce32(0x21d)](_0x116ca3(_0x582090,_0x35b78a[_0x1dce32(0x2e9)])),this;}};function yi(_0x5584c0,_0x2925b4){const _0x4efade=_0x34901b;if(!Number[_0x4efade(0x29d)](_0x5584c0)||_0x5584c0<0x0)throw Error('pointRoles.'+_0x2925b4+_0x4efade(0x1ac));return _0x5584c0;}function bi(_0x22d20a,_0xf2225,_0x4e680e){const _0x187920=_0x34901b;let _0x1dc118=Object['entries'](_0xf2225)[_0x187920(0x28c)](([,_0x54995f])=>(_0x54995f==null?void 0x0:_0x54995f[_0x187920(0x291)])===_0x22d20a);if(_0x1dc118[_0x187920(0x276)]!==0x1)throw Error(_0x187920(0x1f7)+_0x4e680e+_0x187920(0x1fb)+_0x22d20a+'\x22.');return Number(_0x1dc118[0x0][0x0]);}var xi=class extends G{[_0x34901b(0x235)](_0x226b2e){const _0x5eed3a=_0x34901b;return this[_0x5eed3a(0x239)][_0x5eed3a(0x21d)](_0x3649b9(_0x226b2e)),this;}[_0x34901b(0x1bb)](){const _0x2634dc=_0x34901b;return this['_builder'][_0x2634dc(0x21d)](_0x116440()),this;}[_0x34901b(0x1f2)](_0x12fa29){const _0x2c8f8f=_0x34901b;return this[_0x2c8f8f(0x239)][_0x2c8f8f(0x21d)](_0x37b761(_0x12fa29)),this;}[_0x34901b(0x2a6)](){const _0x112728=_0x34901b;return this['_builder'][_0x112728(0x21d)](_0x561b6a()),this;}['setRepeat'](_0x117cc8){const _0x447b68=_0x34901b;return this['_builder'][_0x447b68(0x21d)](_0x53b562(_0x117cc8)),this;}[_0x34901b(0x292)](){const _0x3120c7=_0x34901b;return this[_0x3120c7(0x239)][_0x3120c7(0x21d)](_0x5378e2()),this;}};const Si=new Map();function Ci(_0xb2dac9,_0x1f9341){Si['set'](_0xb2dac9,_0x1f9341);}function wi(_0x533a28){const _0x30c86c=_0x34901b;let _0x561ef5=Si[_0x30c86c(0x2e0)](_0x533a28);if(!_0x561ef5)throw Error('Chart\x20builder\x20is\x20not\x20registered:\x20'+String(_0x533a28));return _0x561ef5;}const Ti={[_0x323f08[_0x34901b(0x263)]]:ui,[_0x323f08['Column3D']]:Z,[_0x323f08[_0x34901b(0x2ac)]]:Z,[_0x323f08['ColumnPercentStacked3D']]:Z,[_0x323f08['Bar3D']]:Z,[_0x323f08[_0x34901b(0x252)]]:Z,[_0x323f08['BarPercentStacked3D']]:Z,[_0x323f08[_0x34901b(0x272)]]:fi,[_0x323f08[_0x34901b(0x2ab)]]:X,[_0x323f08[_0x34901b(0x1f1)]]:X,[_0x323f08['AreaPercentStacked3D']]:X,[_0x323f08[_0x34901b(0x2a4)]]:Q,[_0x323f08[_0x34901b(0x273)]]:Q,[_0x323f08['LinePercentStacked']]:Q,[_0x323f08['Column']]:q,[_0x323f08[_0x34901b(0x20c)]]:q,[_0x323f08['ColumnPercentStacked']]:q,[_0x323f08[_0x34901b(0x1f9)]]:q,[_0x323f08[_0x34901b(0x1cc)]]:q,[_0x323f08[_0x34901b(0x28b)]]:q,[_0x323f08[_0x34901b(0x2c9)]]:$,[_0x323f08[_0x34901b(0x275)]]:$,[_0x323f08[_0x34901b(0x280)]]:J,[_0x323f08[_0x34901b(0x1cf)]]:J,[_0x323f08[_0x34901b(0x29e)]]:J,[_0x323f08['Radar']]:pi,[_0x323f08['Scatter']]:hi,[_0x323f08['Combination']]:ai,[_0x323f08[_0x34901b(0x241)]]:xi,[_0x323f08[_0x34901b(0x1df)]]:oi,[_0x323f08[_0x34901b(0x24b)]]:ni,[_0x323f08[_0x34901b(0x297)]]:mi,[_0x323f08[_0x34901b(0x2b3)]]:vi,[_0x323f08['Pareto']]:di,[_0x323f08[_0x34901b(0x2bf)]]:G,[_0x323f08[_0x34901b(0x270)]]:ci,[_0x323f08['Boxplot']]:ti,[_0x323f08['Candlestick']]:ri,[_0x323f08[_0x34901b(0x29b)]]:li,[_0x323f08[_0x34901b(0x226)]]:_i,[_0x323f08[_0x34901b(0x26b)]]:gi,[_0x323f08[_0x34901b(0x2e4)]]:si,[_0x323f08['Chord']]:ii};for(let e of Object['keys'](Ti))Ci(e,Ti[e]);var Ei=function(_0x1aea81){const _0x1a579e=_0x34901b;return _0x1aea81['Default']=_0x1a579e(0x1ff),_0x1aea81[_0x1a579e(0x1a0)]=_0x1a579e(0x22a),_0x1aea81[_0x1a579e(0x1d0)]='univer2',_0x1aea81[_0x1a579e(0x2e5)]=_0x1a579e(0x22d),_0x1aea81[_0x1a579e(0x26c)]=_0x1a579e(0x1b4),_0x1aea81[_0x1a579e(0x234)]=_0x1a579e(0x2c4),_0x1aea81[_0x1a579e(0x26a)]='univer6',_0x1aea81['UniverGradient1']=_0x1a579e(0x237),_0x1aea81[_0x1a579e(0x1ae)]=_0x1a579e(0x2ed),_0x1aea81[_0x1a579e(0x2a1)]=_0x1a579e(0x251),_0x1aea81[_0x1a579e(0x231)]=_0x1a579e(0x218),_0x1aea81[_0x1a579e(0x1d3)]=_0x1a579e(0x287),_0x1aea81[_0x1a579e(0x1f0)]=_0x1a579e(0x207),_0x1aea81;}(Ei||{}),Di=class extends _0x4a2cc5{get[_0x34901b(0x2b2)](){return _0x3c1a7f;}get[_0x34901b(0x1dd)](){return _0x23b38d;}get[_0x34901b(0x1b3)](){return _0x4ba6ab;}get[_0x34901b(0x294)](){return _0x4a9942;}get[_0x34901b(0x27f)](){return _0x406a14;}get[_0x34901b(0x2b4)](){return _0x2f4fa8;}get[_0x34901b(0x1a9)](){return _0x5b4597;}get['ChartMarkLineLabelPosition'](){return _0x9fe87e;}get['ChartSemanticAxis'](){return _0x10ca01;}get[_0x34901b(0x2d0)](){return _0x4faddf;}get['ChartChordLabelPosition'](){return _0x58a155;}get['ChartChordRibbonColorMode'](){return _0x59f1bd;}get[_0x34901b(0x285)](){return _0x263bf0;}get['ChartGaugePointerShape'](){return _0x9e9875;}get[_0x34901b(0x23d)](){return _0x4a6347;}get['ChartSeriesClearTarget'](){return _0x1a5072;}get['ChartAllSeriesStyleTarget'](){return _0x19dd8d;}get[_0x34901b(0x281)](){return _0x2bce4a;}get[_0x34901b(0x1eb)](){return _0x591bf6;}get[_0x34901b(0x2cf)](){return _0x323f08;}get[_0x34901b(0x220)](){return Ei;}get[_0x34901b(0x1e7)](){return _0x54a1c2;}get[_0x34901b(0x2b8)](){return _0x35b78a;}get['ChartWaterfallPointRole'](){return _0x5789a4;}get[_0x34901b(0x28f)](){return _0x15347e;}get[_0x34901b(0x1e2)](){return _0x1500bb;}get[_0x34901b(0x2e7)](){return _0x221708;}get[_0x34901b(0x2bd)](){return _0xf379d7;}get[_0x34901b(0x24e)](){return _0x5c05e3;}get[_0x34901b(0x2b1)](){return _0x578930;}get['ChartPieSecondaryPlotType'](){return _0x31e932;}get[_0x34901b(0x219)](){return _0x4418b2;}get['ChartRelationChartLayoutEnum'](){return _0x125bdc;}get['ChartSelectModeEnum'](){return _0x10561e;}get[_0x34901b(0x268)](){return _0x23c4af;}get[_0x34901b(0x2b5)](){return _0x1fe6b1;}get[_0x34901b(0x227)](){return _0x4f2237;}get[_0x34901b(0x2cd)](){return _0x529c6a;}get[_0x34901b(0x1a6)](){return _0x48a470;}};_0x4a2cc5[_0x34901b(0x2db)](Di);var Oi=class extends _0x58e73b{[_0x34901b(0x2a5)](_0x6821e6,_0x199411){const _0x2cfa50=_0x34901b;this[_0x2cfa50(0x242)][_0x2cfa50(0x2e0)](_0x17466d)[_0x2cfa50(0x2a5)](_0x6821e6,_0x199411);}};_0x58e73b[_0x34901b(0x2db)](Oi);function ki(_0x2c3195,_0x20cd41,_0x73d031=ji(_0x2c3195)){return new _0x20cd41({'builder':_0x2c3195,..._0x73d031});}function Ai(_0x2b7dcf,_0x531068,_0x14ba62=ji(_0x2b7dcf)){return ki(_0x2b7dcf,wi(_0x531068),_0x14ba62);}function ji(_0x23982e){return{'info':{'dataSource':[]},'normalizeSource':_0x3c8bd4=>_0x3c8bd4,'createConfig':()=>_0x9082a6(_0x23982e['describe'](),_0x23982e['getPendingConfig']()),'requireSource':!0x1};}function Mi(_0x555ee4){const _0x514707=_0x34901b;let _0x58da94='info'in _0x555ee4,_0x53cd9d=_0x58da94?_0x555ee4['description']['id']:_0x2b51de(),_0x5418b8=_0x58da94?{..._0x12e225['deepClone'](_0x555ee4[_0x514707(0x20b)]),'type':_0x555ee4[_0x514707(0x2d2)]}:{'id':_0x53cd9d,'type':_0x555ee4[_0x514707(0x2d2)],'autoGradientFill':_0x58248f[_0x514707(0x1c1)](_0x555ee4['type']),'series':{}};if(_0x58da94){let _0x2d5281=[_0x323f08[_0x514707(0x1f9)],_0x323f08[_0x514707(0x1cc)],_0x323f08[_0x514707(0x28b)]];if(_0x2d5281['includes'](_0x555ee4['description']['type'])!==_0x2d5281[_0x514707(0x1b6)](_0x555ee4[_0x514707(0x2d2)])){let _0x1eb467=_0x5418b8[_0x514707(0x2dc)];_0x1eb467&&(_0x5418b8[_0x514707(0x2dc)]={..._0x1eb467,'x':_0x1eb467['y'],'y':_0x1eb467['x']});}}let _0x112e0e=_0x58da94?Ni(_0x5418b8):new _0x480476(_0x5418b8,_0x555ee4[_0x514707(0x1f8)],_0x555ee4['injector']),_0x825f87=new _0x5b2c20(_0x53cd9d,_0x5418b8,_0x112e0e),_0x277fa4=_0x12e225['deepClone'](_0x58da94?_0x555ee4[_0x514707(0x265)]:{'position':void 0x0,'size':void 0x0,..._0x555ee4[_0x514707(0x238)]()}),_0xcea58d=Ai(_0x825f87,_0x555ee4[_0x514707(0x2d2)],{'info':_0x277fa4,'normalizeSource':_0x555ee4[_0x514707(0x289)],'createConfig':_0x58da94?()=>_0x5da35c(_0x825f87['describe'](),_0x825f87['getPendingConfig']()):()=>_0x9082a6(_0x825f87['describe'](),_0x825f87['getPendingConfig']()),'requireSource':!_0x58da94});return Object[_0x514707(0x1c7)](_0xcea58d,_0x555ee4[_0x514707(0x246)]({'getInfo':_0xbbe1f5=>_0x12e225['deepClone'](_0x277fa4[_0xbbe1f5]),'setInfo':(_0x59ffe0,_0xa18d9)=>{const _0x5df475=_0x514707;_0x277fa4[_0x59ffe0]=_0x12e225[_0x5df475(0x1ef)](_0xa18d9);},'setAbsolutePosition':(_0x26b299,_0x4023f4)=>{_0xcea58d['setAbsolutePosition'](_0x26b299,_0x4023f4);},'setSize':(_0xc89573,_0x3f60fd)=>{const _0x5dda51=_0x514707;_0xcea58d[_0x5dda51(0x1ce)](_0xc89573,_0x3f60fd);}}));}function Ni(_0x3c01a0){return{'describe':()=>_0x12e225['deepClone'](_0x3c01a0),'commit':()=>{throw Error('A\x20detached\x20Chart\x20Builder\x20cannot\x20update\x20an\x20existing\x20Chart.');},'resolveData':()=>{const _0x74a67a=_0x46df;throw Error(_0x74a67a(0x1dc));}};}var Pi=class extends _0xe5dc12{constructor(_0x4466bb,_0x57e8d6,_0xdbfeae,_0x1dc5fd){const _0x45ba97=_0x34901b;super(),this[_0x45ba97(0x1a2)]=_0x4466bb,this[_0x45ba97(0x23f)]=_0x57e8d6,this['_createBuilder']=_0xdbfeae,this[_0x45ba97(0x242)]=_0x1dc5fd;}[_0x34901b(0x210)](){const _0x2084f1=_0x34901b;return this[_0x2084f1(0x1a2)];}[_0x34901b(0x229)](){const _0x2e2ed2=_0x34901b;return this[_0x2e2ed2(0x23f)]()[_0x2e2ed2(0x1ab)]()[_0x2e2ed2(0x1e3)]['type'];}[_0x34901b(0x1ab)](){const _0x36a37e=_0x34901b;return _0x12e225['deepClone'](this[_0x36a37e(0x23f)]()[_0x36a37e(0x1ab)]());}['toBuilder'](_0x3880a8){const _0x4133a6=_0x34901b;let _0x3f426d=this['_createAdapter'](),_0x2d1c6b=_0x3f426d['describe'](),_0xfe73dc=_0x3880a8??_0x2d1c6b['type'];return this[_0x4133a6(0x2d3)](_0x3f426d[_0x4133a6(0x1ab)](),_0x2d1c6b,_0xfe73dc);}async[_0x34901b(0x290)](_0x4c75d3){const _0x3c9a6a=_0x34901b;return await this[_0x3c9a6a(0x23f)]()[_0x3c9a6a(0x290)](_0x12e225[_0x3c9a6a(0x1ef)](_0x4c75d3)),this;}[_0x34901b(0x1a1)](_0x16e215){return this['_commit']({'type':_0x16e215});}[_0x34901b(0x25f)](_0xdc3ee3){const _0xb0bd6f=_0x34901b;return this[_0xb0bd6f(0x19e)](_0x1c5573(_0xdc3ee3));}['clearTitle'](){return this['_apply'](_0x3e7d5e());}['setSubtitle'](_0x5365fe){return this['_apply'](_0x41a624(_0x5365fe));}['clearSubtitle'](){const _0x254563=_0x34901b;return this[_0x254563(0x19e)](_0x48edec());}['setLegend'](_0x44e838){const _0x14eb80=_0x34901b;return this[_0x14eb80(0x19e)](_0x51c5f6(_0x44e838));}[_0x34901b(0x2a2)](){const _0x2f8fcc=_0x34901b;return this[_0x2f8fcc(0x19e)](_0x439b9a());}['setTheme'](_0x8fc9bb){return this['_apply'](_0x49dcb4(_0x8fc9bb));}['clearTheme'](){const _0x27e89b=_0x34901b;return this[_0x27e89b(0x19e)](_0x3c243f());}['setPalette'](_0x2da879){const _0x570e95=_0x34901b;return this[_0x570e95(0x19e)](_0x56e4b9(_0x2da879));}['clearPalette'](){const _0x281234=_0x34901b;return this[_0x281234(0x19e)](_0x1ff93a());}['setAppearance'](_0x22bec0){const _0x202f46=_0x34901b;return this[_0x202f46(0x19e)](_0x5ca45e(_0x22bec0));}['clearAppearance'](_0x12ee7a){const _0x132723=_0x34901b;return this[_0x132723(0x19e)](_0x1d3dc1(_0x12ee7a));}[_0x34901b(0x28d)](_0x2fb426){const _0x4f15c7=_0x34901b;return this[_0x4f15c7(0x19e)](_0xa8083f(_0x2fb426));}[_0x34901b(0x1e5)](){return this['_apply'](_0x3b4445());}[_0x34901b(0x277)](_0x478bab){const _0x643777=_0x34901b;return this[_0x643777(0x19e)](_0x2934d0(_0x478bab));}[_0x34901b(0x24a)](){return this['_apply'](_0x884ad1());}['setCategoryField'](_0x5cdd39){const _0x549b8f=_0x34901b;return this[_0x549b8f(0x19e)](_0x37ef47(_0x5cdd39));}[_0x34901b(0x2ea)](_0x2efe9b){const _0x3f5570=_0x34901b;return this[_0x3f5570(0x2ad)]({'mapping':{'seriesToCategory':_0x3d4cec({'seriesToCategory':_0x2efe9b})[_0x3f5570(0x283)]}});}[_0x34901b(0x279)](_0x2c77df){const _0xc4eff9=_0x34901b;return this[_0xc4eff9(0x2ad)](Yr(_0x2c77df));}[_0x34901b(0x211)](){return this['_commit'](Xr());}[_0x34901b(0x22f)](_0x4d30d0){const _0x16407c=_0x34901b;return this[_0x16407c(0x2ad)]({'mapping':{'multiLevelCategoryAxis':_0x4d30d0}});}[_0x34901b(0x21a)](){return this['_apply'](_0xe98619());}[_0x34901b(0x2d7)](_0x593ba0){const _0x2c0014=_0x34901b;return this[_0x2c0014(0x19e)](_0xc1b5c5(_0x593ba0));}[_0x34901b(0x2d6)](){const _0x3bfc32=_0x34901b;return this[_0x3bfc32(0x19e)](_0x50cd1b());}[_0x34901b(0x25a)](_0x4131fd){const _0x258891=_0x34901b;return this[_0x258891(0x19e)](_0x289c16(_0x4131fd));}[_0x34901b(0x23e)](_0x55e6dc){const _0x14ad26=_0x34901b;return this[_0x14ad26(0x19e)](_0x468408(_0x55e6dc));}async[_0x34901b(0x2a8)](_0x28f6f0){return await this['_createAdapter']()['setDataSource'](_0x28f6f0),this;}[_0x34901b(0x2a9)](_0x22cddf,_0x2bb33c){const _0x38c5ce=_0x34901b;return this[_0x38c5ce(0x23f)]()[_0x38c5ce(0x2a9)](_0x22cddf,_0x2bb33c),this;}['setSize'](_0x5bc9f8,_0x768461){const _0x1320d1=_0x34901b;return this[_0x1320d1(0x23f)]()[_0x1320d1(0x1ce)](_0x5bc9f8,_0x768461),this;}[_0x34901b(0x224)](){const _0x274024=_0x34901b;return this['_arrange'](_0x3376a0[_0x274024(0x213)]);}[_0x34901b(0x27a)](){const _0x4097fa=_0x34901b;return this[_0x4097fa(0x2d5)](_0x3376a0[_0x4097fa(0x225)]);}['sendBackward'](){const _0xe3b752=_0x34901b;return this[_0xe3b752(0x2d5)](_0x3376a0[_0xe3b752(0x1a8)]);}['sendToBack'](){const _0x3a8d2d=_0x34901b;return this[_0x3a8d2d(0x2d5)](_0x3376a0[_0x3a8d2d(0x254)]);}['setZOrder'](_0x31cab8){const _0x2c6976=_0x34901b;return this[_0x2c6976(0x23f)]()['setZOrder'](_0x31cab8),this;}async[_0x34901b(0x23a)](){const _0x1b2a8b=_0x34901b;return this['_createAdapter']()[_0x1b2a8b(0x23a)]();}[_0x34901b(0x23c)](_0x265fdb){const _0x5afcf0=_0x34901b;return this[_0x5afcf0(0x2ad)]({'errorBars':[..._0x265fdb]});}['clearErrorBars'](){return this['_commit']({'errorBars':[]});}['_arrange'](_0x5d6cfd){const _0xc268e=_0x34901b;return this[_0xc268e(0x23f)]()[_0xc268e(0x2d8)](_0x5d6cfd),this;}[_0x34901b(0x19e)](_0x42e61){return this['_commit'](_0x42e61['patch']);}[_0x34901b(0x2ad)](_0x29e8c5){const _0x53bc98=_0x34901b;return this['_createAdapter']()[_0x53bc98(0x2dd)](_0x29e8c5),this;}};const Fi=0x6;export{Fi as CHART_FACADE_RANDOM_ID_LENGTH,J as FAreaChartBuilder,K as FAxisChartBuilder,ti as FBoxplotChartBuilder,ni as FBubbleChartBuilder,ri as FCandlestickChartBuilder,q as FCartesianChartBuilder,Pi as FChart,G as FChartBuilderBase,ii as FChordChartBuilder,ai as FCombinationChartBuilder,oi as FFunnelChartBuilder,si as FGaugeChartBuilder,ci as FHeatmapChartBuilder,li as FHistogramChartBuilder,Q as FLineChartBuilder,di as FParetoChartBuilder,$ as FPieChartBuilder,pi as FRadarChartBuilder,mi as FRelationChartBuilder,hi as FScatterChartBuilder,gi as FSunburstChartBuilder,_i as FTreemapChartBuilder,vi as FWaterfallChartBuilder,xi as FWordCloudChartBuilder,Mi as createChartBuilder};
1
+ import{AREA_CHART_TYPES as e,AreaLineStyle as t,ChartAggregationTarget as n,ChartAllSeriesStyleTarget as r,ChartAppearanceTarget as i,ChartAxisName as a,ChartAxisPointerTarget as o,ChartAxisTarget as s,ChartAxisTickPosition as c,ChartBuilder as ee,ChartChordFocusMode as te,ChartChordLabelPosition as ne,ChartChordRibbonColorMode as re,ChartGaugeMode as ie,ChartGaugePointerShape as ae,ChartMarkLineLabelPosition as oe,ChartSemanticAxis as se,ChartSeriesAxis as ce,ChartSeriesClearTarget as le,ChartSeriesTypeString as ue,ChartSunburstLabelPosition as de,ChartThemeService as fe,ChartTrendlineType as pe,ChartTypeString as l,ChartVisualMapType as me,ChartWaterfallPointRole as he,ChartWaterfallStyleTarget as u,DetachedChartBuilderAdapter as ge,InvalidValueType as _e,LabelAlignEnum as ve,LegendPositionEnum as ye,LinePointShape as be,PieLabelPosition as xe,PieSecondaryPlotType as Se,RadarShape as Ce,RelationChartLayoutEnum as we,SelectModeEnum as Te,SeriesLabelPosition as Ee,TitlePositionEnum as De,TreemapParentLabelLayout as Oe,WaterfallStackTypeEnum as ke,WordCloudShapeEnum as Ae,canonicalizeChartContext as d,clearAggregation as f,clearAllSeriesOverrides as p,clearAllSeriesStyle as m,clearAppearance as h,clearAreaLineStyle as g,clearAxisPointer as je,clearAxisTitle as _,clearBar as v,clearBubbleMapping as Me,clearCandlestickFields as Ne,clearCategoryField as y,clearCellLabel as Pe,clearCumulativeLineStyle as Fe,clearDepthAxis as Ie,clearDojiStyle as Le,clearDoughnutHole as Re,clearFallingStyle as ze,clearHistogramField as Be,clearHistogramOverflowThreshold as Ve,clearHistogramUnderflowThreshold as He,clearLegend as b,clearLineStyle as x,clearMarkLines as Ue,clearMaskImage as We,clearPalette as S,clearParetoBarStyle as Ge,clearPieComposite as Ke,clearPieLabel as C,clearRelationForce as qe,clearRightYAxis as Je,clearRisingStyle as Ye,clearSeries as w,clearSliceBorderColor as T,clearSliceStyle as E,clearSubtitle as D,clearTheme as O,clearThreeD as Xe,clearTitle as k,clearTrendlines as Ze,clearValueFields as A,clearValueRange as Qe,clearValueUnit as $e,clearWaterfallConnector as et,clearWaterfallStyle as j,clearXAxis as M,clearYAxis as N,removeTrendline as tt,resetAutoGradientFill as P,resetCandleWidth as nt,resetChordEmphasis as rt,resetChordLabel as it,resetChordLayout as at,resetChordNode as ot,resetChordRibbon as st,resetCircularLabelRotation as ct,resetCombinationSeriesAxis as lt,resetCombinationSeriesType as ut,resetEmphasisEnabled as dt,resetExplosion as F,resetFunnelGap as ft,resetGaugeAnchor as pt,resetGaugeAngles as mt,resetGaugeAxisLabel as ht,resetGaugeAxisLine as gt,resetGaugeAxisTick as _t,resetGaugeDetail as vt,resetGaugeMode as yt,resetGaugePointer as bt,resetGaugeProgress as xt,resetGaugeRanges as St,resetGaugeScale as Ct,resetGaugeSplitLine as wt,resetGaugeTitle as Tt,resetHalfPie as Et,resetHistogramBinGap as Dt,resetHistogramBinning as Ot,resetIncludeZeroValues as kt,resetInvalidValueStrategy as I,resetLabelLineVisible as L,resetPaddingAngleEnabled as At,resetRadarFill as jt,resetRadarShape as Mt,resetRelationLayout as Nt,resetRelationNodeShape as Pt,resetRosePie as Ft,resetSunburstCenterLabel as It,resetSunburstLabel as Lt,resetTreemapLabel as Rt,resetTreemapParentLabelLayout as zt,resetUseAbsoluteValue as Bt,resetUseDateAxis as Vt,resetUseSubtotal as Ht,resetUseValueAsSymbolSize as Ut,resetValueScale as Wt,resetVisualMapType as Gt,resetWaterfallStackType as Kt,resetWordCloudRepeat as qt,resetWordCloudShape as Jt,setAggregation as Yt,setAllSeriesStyle as Xt,setAppearance as Zt,setAreaLineStyle as Qt,setAutoGradientFill as $t,setAxisPointer as en,setAxisTitle as R,setBar as tn,setBubbleMapping as nn,setCandleWidth as rn,setCandlestickFields as an,setCategoryField as z,setCellLabel as on,setChordEmphasis as sn,setChordLabel as cn,setChordLayout as ln,setChordMapping as un,setChordNode as dn,setChordRibbon as fn,setCircularLabelRotation as pn,setCombinationSeriesAxis as mn,setCombinationSeriesType as hn,setCumulativeLineStyle as gn,setDepthAxis as _n,setDojiStyle as vn,setDoughnutHole as yn,setEmphasisEnabled as bn,setExplosion as B,setFallingStyle as xn,setFunnelGap as Sn,setGaugeAnchor as Cn,setGaugeAngles as wn,setGaugeAxisLabel as Tn,setGaugeAxisLine as En,setGaugeAxisTick as Dn,setGaugeDetail as On,setGaugeMode as kn,setGaugePointer as An,setGaugeProgress as jn,setGaugeRanges as Mn,setGaugeScale as Nn,setGaugeSplitLine as Pn,setGaugeTicks as Fn,setGaugeTitle as In,setGaugeValueField as Ln,setHalfPie as Rn,setHistogramBinCount as zn,setHistogramBinGap as Bn,setHistogramBinWidth as Vn,setHistogramField as Hn,setHistogramOverflowThreshold as Un,setHistogramUnderflowThreshold as Wn,setIncludeZeroValues as Gn,setInvalidValueStrategy as Kn,setLabelLineVisible as qn,setLegend as Jn,setLineStyle as Yn,setMarkLines as Xn,setMaskImage as Zn,setPaddingAngleEnabled as Qn,setPalette as $n,setParetoBarStyle as er,setPieComposite as tr,setPieLabel as nr,setRadarFill as rr,setRadarShape as ir,setRelationForce as ar,setRelationLayout as or,setRelationNodeShape as sr,setRightYAxis as cr,setRisingStyle as lr,setRosePie as ur,setSeries as dr,setSliceBorderColor as fr,setSliceStyle as pr,setSubtitle as mr,setSunburstCenterLabel as hr,setSunburstHierarchyFields as gr,setSunburstLabel as _r,setSunburstValueField as vr,setTheme as yr,setThreeD as br,setTitle as xr,setTreemapHierarchyFields as Sr,setTreemapLabel as Cr,setTreemapParentLabelLayout as wr,setTreemapValueField as Tr,setTrendline as Er,setUseAbsoluteValue as Dr,setUseDateAxis as Or,setUseSubtotal as kr,setUseValueAsSymbolSize as Ar,setValueFields as jr,setValueRange as Mr,setValueScale as Nr,setValueUnit as Pr,setVisualMapType as Fr,setWaterfallConnector as Ir,setWaterfallPointRoles as Lr,setWaterfallStackType as Rr,setWaterfallStyle as V,setWordCloudRepeat as zr,setWordCloudShape as Br,setXAxis as Vr,setYAxis as Hr,toChartCreateConfig as Ur,toChartCreateConfigSnapshot as Wr}from"@univerjs-pro/engine-chart";import{ArrangeTypeEnum as H,Tools as U,generateRandomId as Gr}from"@univerjs/core";import{FBase as Kr,FEnum as qr,FUniver as Jr}from"@univerjs/core/facade";function Yr(e){return e.forEach(e=>z(e)),{mapping:{categoryIndexes:[...e]}}}function Xr(){return{mapping:{categoryIndexes:null}}}function W(e){"@babel/helpers - typeof";return W=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},W(e)}function Zr(e,t){if(W(e)!=`object`||!e)return e;var n;if(typeof Symbol<`u`&&(n=e[Symbol.toPrimitive])!==void 0){var r=n.call(e,t||`default`);if(W(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qr(e){var t=Zr(e,`string`);return W(t)==`symbol`?t:t+``}function $r(e,t,n){return(t=Qr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=class{constructor(e){this._context=e,$r(this,`_builder`,void 0),$r(this,`_info`,void 0),this._builder=e.builder,this._info=e.info}setSource(e){return this._info.dataSource=U.deepClone(this._context.normalizeSource(e)),this}setAbsolutePosition(e,t){return this._info.position={x:e,y:t},this}setSize(e,t){return this._info.size={width:e,height:t},this}build(){if(this._context.requireSource&&this._info.dataSource===void 0)throw Error(`Chart data source is required. Please call setSource() before build().`);let e=U.deepClone(this._info);return e.config=this._context.createConfig(this._builder),e}_record(e){return this._builder.mergePending(e),this}_describe(){return this._builder.describe()}setTitle(e){return this._builder.apply(xr(e)),this}clearTitle(){return this._builder.apply(k()),this}setSubtitle(e){return this._builder.apply(mr(e)),this}clearSubtitle(){return this._builder.apply(D()),this}setLegend(e){return this._builder.apply(Jn(e)),this}clearLegend(){return this._builder.apply(b()),this}setTheme(e){return this._builder.apply(yr(e)),this}clearTheme(){return this._builder.apply(O()),this}setPalette(e){return this._builder.apply($n(e)),this}clearPalette(){return this._builder.apply(S()),this}setAppearance(e){return this._builder.apply(Zt(e)),this}clearAppearance(e){return this._builder.apply(h(e)),this}setAutoGradientFill(e){return this._builder.apply($t(e)),this}resetAutoGradientFill(){return this._builder.apply(P()),this}setInvalidValueStrategy(e){return this._builder.apply(Kn(e)),this}resetInvalidValueStrategy(){return this._builder.apply(I()),this}setCategoryField(e){return this._builder.apply(z(e)),this}setSeriesToCategory(e){return this._builder.mergePending({mapping:{seriesToCategory:d({seriesToCategory:e}).seriesToCategory}}),this}setCategoryFields(e){return this._builder.mergePending(Yr(e)),this}clearCategoryFields(){return this._builder.mergePending(Xr()),this}setMultiLevelCategoryAxis(e){return this._builder.mergePending({mapping:{multiLevelCategoryAxis:e}}),this}clearCategoryField(){return this._builder.apply(y()),this}setValueFields(e){return this._builder.apply(jr(e)),this}clearValueFields(){return this._builder.apply(A()),this}setAggregation(e){return this._builder.apply(Yt(e)),this}clearAggregation(e){return this._builder.apply(f(e)),this}},K=class extends G{setMarkLines(e){return this._builder.apply(Xn(e)),this}clearMarkLines(){return this._builder.apply(Ue()),this}setXAxis(e){return this._builder.apply(Vr(e)),this}clearXAxis(e){return this._builder.apply(M(e)),this}setYAxis(e){return this._builder.apply(Hr(e)),this}clearYAxis(e){return this._builder.apply(N(e)),this}setRightYAxis(e){return this._builder.apply(cr(e)),this}clearRightYAxis(e){return this._builder.apply(Je(e)),this}setXAxisTitle(e){return this._builder.apply(R(a.X,e)),this}clearXAxisTitle(){return this._builder.apply(_(a.X)),this}setYAxisTitle(e){return this._builder.apply(R(a.Y,e)),this}clearYAxisTitle(){return this._builder.apply(_(a.Y)),this}setRightYAxisTitle(e){return this._builder.apply(R(a.RightY,e)),this}clearRightYAxisTitle(){return this._builder.apply(_(a.RightY)),this}setUseDateAxis(e){return this._builder.apply(Or(e)),this}resetUseDateAxis(){return this._builder.apply(Vt()),this}},q=class extends K{setErrorBars(e){return this._builder.mergePending({errorBars:[...e]}),this}clearErrorBars(){return this._builder.mergePending({errorBars:[]}),this}setBar(e){return this._builder.apply(tn(e)),this}clearBar(){return this._builder.apply(v()),this}setSeries(e,t){return this._builder.apply(dr(e,t)),this}clearSeries(e,t){return this._builder.apply(w(e,t)),this}clearAllSeriesOverrides(){return this._builder.apply(p()),this}setAllSeriesStyle(e){return this._builder.apply(Xt(e)),this}clearAllSeriesStyle(e){return this._builder.apply(m(e)),this}setTrendline(e,t){return this._builder.apply(Er(e,t)),this}removeTrendline(e,t){return this._builder.apply(tt(this._builder.describe(),e,t)),this}clearTrendlines(e){return this._builder.apply(Ze(this._builder.describe(),e)),this}setAxisPointer(e){return this._builder.apply(en(e)),this}clearAxisPointer(e){return this._builder.apply(je(e)),this}},J=class extends q{setAreaLineStyle(e){return this._builder.apply(Qt(e)),this}clearAreaLineStyle(){return this._builder.apply(g()),this}},ei=class extends G{setThreeD(e){return this._builder.apply(br(e)),this}clearThreeD(){return this._builder.apply(Xe()),this}},Y=class extends ei{setXAxis(e){return this._builder.apply(Vr(e)),this}clearXAxis(e){return this._builder.apply(M(e)),this}setYAxis(e){return this._builder.apply(Hr(e)),this}clearYAxis(e){return this._builder.apply(N(e)),this}setDepthAxis(e){return this._builder.apply(_n(e)),this}clearDepthAxis(){return this._builder.apply(Ie()),this}setSeries(e,t){return this._builder.apply(dr(e,t)),this}clearSeries(e){return this._builder.apply(w(e)),this}setAllSeriesStyle(e){return this._builder.apply(Xt(e)),this}clearAllSeriesStyle(){return this._builder.apply(m()),this}clearAllSeriesOverrides(){return this._builder.apply(p()),this}},X=class extends Y{setAreaLineStyle(e){return this._builder.apply(Qt(e)),this}clearAreaLineStyle(){return this._builder.apply(g()),this}},ti=class extends q{},ni=class extends q{setBubbleMapping(e){return this._builder.apply(nn(e)),this}clearBubbleMapping(){return this._builder.apply(Me()),this}},ri=class extends K{setCandlestickFields(e){return this._builder.apply(an(e)),this}clearCandlestickFields(){return this._builder.apply(Ne()),this}setRisingStyle(e){return this._builder.apply(lr(e)),this}clearRisingStyle(){return this._builder.apply(Ye()),this}setFallingStyle(e){return this._builder.apply(xn(e)),this}clearFallingStyle(){return this._builder.apply(ze()),this}setDojiStyle(e){return this._builder.apply(vn(e)),this}clearDojiStyle(){return this._builder.apply(Le()),this}setCandleWidth(e){return this._builder.apply(rn(e)),this}resetCandleWidth(){return this._builder.apply(nt()),this}setHighLowLineStyle(e){return this._builder.mergePending({candlestick:{highLowLine:e}}),this}clearHighLowLineStyle(){return this._builder.mergePending({candlestick:{highLowLine:null}}),this}setCloseMarkerStyle(e){return this._builder.mergePending({candlestick:{closeMarker:e}}),this}clearCloseMarkerStyle(){return this._builder.mergePending({candlestick:{closeMarker:null}}),this}},ii=class extends G{setChordMapping(e){return this._builder.apply(un(e)),this}setChordLayout(e){return this._builder.apply(ln(e)),this}resetChordLayout(){return this._builder.apply(at()),this}setChordNode(e){return this._builder.apply(dn(e)),this}resetChordNode(){return this._builder.apply(ot()),this}setChordLabel(e){return this._builder.apply(cn(e)),this}resetChordLabel(){return this._builder.apply(it()),this}setChordRibbon(e){return this._builder.apply(fn(e)),this}resetChordRibbon(){return this._builder.apply(st()),this}setChordEmphasis(e){return this._builder.apply(sn(e)),this}resetChordEmphasis(){return this._builder.apply(rt()),this}},Z=class extends Y{setBar(e){return this._builder.apply(tn(e)),this}clearBar(){return this._builder.apply(v()),this}},ai=class extends q{setSeriesType(e,t){return this._builder.apply(hn(e,t)),this}resetSeriesType(e){return this._builder.apply(ut(e)),this}setSeriesAxis(e,t){return this._builder.apply(mn(e,t)),this}resetSeriesAxis(e){return this._builder.apply(lt(e)),this}},oi=class extends G{setGap(e){return this._builder.apply(Sn(e)),this}resetGap(){return this._builder.apply(ft()),this}setUseAbsoluteValue(e){return this._builder.apply(Dr(e)),this}resetUseAbsoluteValue(){return this._builder.apply(Bt()),this}},si=class extends G{setGaugeValueField(e){return this._builder.apply(Ln(e)),this}setGaugeMode(e){return this._builder.apply(kn(e)),this}resetGaugeMode(){return this._builder.apply(yt()),this}setGaugeScale(e){return this._builder.apply(Nn(e)),this}resetGaugeScale(){return this._builder.apply(Ct()),this}setGaugeTicks(e){return this._builder.apply(Fn(e)),this}setGaugeAngles(e){return this._builder.apply(wn(e)),this}resetGaugeAngles(){return this._builder.apply(mt()),this}setGaugeRanges(e){return this._builder.apply(Mn(e)),this}resetGaugeRanges(){return this._builder.apply(St()),this}setGaugeAxisLine(e){return this._builder.apply(En(e)),this}resetGaugeAxisLine(){return this._builder.apply(gt()),this}setGaugeAxisTick(e){return this._builder.apply(Dn(e)),this}resetGaugeAxisTick(){return this._builder.apply(_t()),this}setGaugeSplitLine(e){return this._builder.apply(Pn(e)),this}resetGaugeSplitLine(){return this._builder.apply(wt()),this}setGaugeAxisLabel(e){return this._builder.apply(Tn(e)),this}resetGaugeAxisLabel(){return this._builder.apply(ht()),this}setGaugePointer(e){return this._builder.apply(An(e)),this}resetGaugePointer(){return this._builder.apply(bt()),this}setGaugeAnchor(e){return this._builder.apply(Cn(e)),this}resetGaugeAnchor(){return this._builder.apply(pt()),this}setGaugeProgress(e){return this._builder.apply(jn(e)),this}resetGaugeProgress(){return this._builder.apply(xt()),this}setGaugeTitle(e){return this._builder.apply(In(e)),this}resetGaugeTitle(){return this._builder.apply(Tt()),this}setGaugeDetail(e){return this._builder.apply(On(e)),this}resetGaugeDetail(){return this._builder.apply(vt()),this}},ci=class extends K{setVisualMapType(e){return this._builder.apply(Fr(e)),this}resetVisualMapType(){return this._builder.apply(Gt()),this}setValueRange(e,t){return this._builder.apply(Mr(e,t)),this}clearValueRange(){return this._builder.apply(Qe()),this}setCellLabel(e){return this._builder.apply(on(e)),this}clearCellLabel(){return this._builder.apply(Pe()),this}setValueUnit(e){return this._builder.apply(Pr(e)),this}clearValueUnit(){return this._builder.apply($e()),this}},li=class extends q{setHistogramField(e){return this._builder.apply(Hn(e)),this}clearHistogramField(){return this._builder.apply(Be()),this}setBinCount(e){return Number.isFinite(e)&&this._builder.apply(zn(e)),this}setBinWidth(e){return Number.isFinite(e)&&this._builder.apply(Vn(e)),this}resetBinning(){return this._builder.apply(Ot()),this}setUnderflowThreshold(e){return Number.isFinite(e)&&this._builder.apply(Wn(e)),this}clearUnderflowThreshold(){return this._builder.apply(He()),this}setOverflowThreshold(e){return Number.isFinite(e)&&this._builder.apply(Un(e)),this}clearOverflowThreshold(){return this._builder.apply(Ve()),this}setBinGap(e){return Number.isFinite(e)&&this._builder.apply(Bn(e)),this}resetBinGap(){return this._builder.apply(Dt()),this}},Q=class extends q{setLineStyle(e){return this._builder.apply(Yn(e)),this}clearLineStyle(){return this._builder.apply(x()),this}},ui=class extends Y{setLineStyle(e){return this._builder.apply(Yn(e)),this}clearLineStyle(){return this._builder.apply(x()),this}},di=class extends q{setBarStyle(e){return this._builder.apply(er(e)),this}clearBarStyle(){return this._builder.apply(Ge()),this}setCumulativeLineStyle(e){return this._builder.apply(gn(e)),this}clearCumulativeLineStyle(){return this._builder.apply(Fe()),this}setIncludeZeroValues(e){return this._builder.apply(Gn(e)),this}resetIncludeZeroValues(){return this._builder.apply(kt()),this}},$=class extends G{setPieComposite(e){return this._builder.apply(tr(e)),this}clearPieComposite(){return this._builder.apply(Ke()),this}setSliceStyle(e,t){return this._builder.apply(pr(e,t)),this}clearSliceStyle(e){return this._builder.apply(E(e)),this}setDoughnutHole(e){return this._builder.apply(yn(e)),this}clearDoughnutHole(){return this._builder.apply(Re()),this}setExplosion(e){return this._builder.apply(B(e)),this}resetExplosion(){return this._builder.apply(F()),this}setSliceBorderColor(e){return this._builder.apply(fr(e)),this}clearSliceBorderColor(){return this._builder.apply(T()),this}setPaddingAngleEnabled(e){return this._builder.apply(Qn(e)),this}resetPaddingAngleEnabled(){return this._builder.apply(At()),this}setHalfPie(e){return this._builder.apply(Rn(e)),this}resetHalfPie(){return this._builder.apply(Et()),this}setRosePie(e){return this._builder.apply(ur(e)),this}resetRosePie(){return this._builder.apply(Ft()),this}setLabelLineVisible(e){return this._builder.apply(qn(e)),this}resetLabelLineVisible(){return this._builder.apply(L()),this}setValueScale(e){return this._builder.apply(Nr(e)),this}resetValueScale(){return this._builder.apply(Wt()),this}setPieLabel(e){return this._builder.apply(nr(e)),this}clearPieLabel(){return this._builder.apply(C()),this}},fi=class extends ei{setExplosion(e){return this._builder.apply(B(e)),this}resetExplosion(){return this._builder.apply(F()),this}setSliceStyle(e,t){return this._builder.apply(pr(e,t)),this}clearSliceStyle(e){return this._builder.apply(E(e)),this}setPieLabel(e){return this._builder.apply(nr(e)),this}clearPieLabel(){return this._builder.apply(C()),this}setSliceBorderColor(e){return this._builder.apply(fr(e)),this}clearSliceBorderColor(){return this._builder.apply(T()),this}setLabelLineVisible(e){return this._builder.apply(qn(e)),this}resetLabelLineVisible(){return this._builder.apply(L()),this}},pi=class extends G{setShape(e){return this._builder.apply(ir(e)),this}resetShape(){return this._builder.apply(Mt()),this}setFill(e){return this._builder.apply(rr(e)),this}resetFill(){return this._builder.apply(jt()),this}},mi=class extends G{setLayout(e){return this._builder.apply(or(e)),this}resetLayout(){return this._builder.apply(Nt()),this}setUseValueAsSymbolSize(e){return this._builder.apply(Ar(e)),this}resetUseValueAsSymbolSize(){return this._builder.apply(Ut()),this}setEmphasisEnabled(e){return this._builder.apply(bn(e)),this}resetEmphasisEnabled(){return this._builder.apply(dt()),this}setForce(e){return this._builder.apply(ar(e)),this}clearForce(){return this._builder.apply(qe()),this}setCircularLabelRotation(e){return this._builder.apply(pn(e)),this}resetCircularLabelRotation(){return this._builder.apply(ct()),this}setNodeShape(e){return this._builder.apply(sr(e)),this}resetNodeShape(){return this._builder.apply(Pt()),this}},hi=class extends q{},gi=class extends G{setHierarchyFields(e){return this._builder.apply(gr(e)),this}setValueField(e){return this._builder.apply(vr(e)),this}setSunburstLabel(e){return this._builder.apply(_r(e)),this}resetSunburstLabel(){return this._builder.apply(Lt()),this}setCenterLabel(e){return this._builder.apply(hr(e)),this}resetCenterLabel(){return this._builder.apply(It()),this}},_i=class extends G{setHierarchyFields(e){return this._builder.apply(Sr(e)),this}setValueField(e){return this._builder.apply(Tr(e)),this}setParentLabelLayout(e){return this._builder.apply(wr(e)),this}resetParentLabelLayout(){return this._builder.apply(zt()),this}setTreemapLabel(e){return this._builder.apply(Cr(e)),this}resetTreemapLabel(){return this._builder.apply(Rt()),this}},vi=class extends q{setPointRoles(e){let t=this._describe().series,n=/* @__PURE__ */ new Map;e.forEach((e,r)=>{if(!Number.isInteger(e.dataPointIndex)||e.dataPointIndex<0)throw Error(`pointRoles.${r} has an invalid data-point index.`);let i=typeof e.series==`number`?yi(e.series,r):bi(e.series.name,t,r);n.set(`${i}:${e.dataPointIndex}`,{...e,series:i})});let r=[...n.values()].sort((e,t)=>e.series-t.series||e.dataPointIndex-t.dataPointIndex);return this._builder.apply(Lr(r)),this}setConnector(e){return this._builder.apply(Ir(e)),this}clearConnector(){return this._builder.apply(et()),this}setStackType(e){return this._builder.apply(Rr(e)),this}resetStackType(){return this._builder.apply(Kt()),this}setUseSubtotal(e){return this._builder.apply(kr(e)),this}resetUseSubtotal(){return this._builder.apply(Ht()),this}setPositiveStyle(e,t){return this._builder.apply(V(e,u.Positive,t)),this}clearPositiveStyle(e){return this._builder.apply(j(e,u.Positive)),this}setNegativeStyle(e,t){return this._builder.apply(V(e,u.Negative,t)),this}clearNegativeStyle(e){return this._builder.apply(j(e,u.Negative)),this}setSubtotalStyle(e,t){return this._builder.apply(V(e,u.Subtotal,t)),this}clearSubtotalStyle(e){return this._builder.apply(j(e,u.Subtotal)),this}};function yi(e,t){if(!Number.isInteger(e)||e<0)throw Error(`pointRoles.${t} has an invalid series index.`);return e}function bi(e,t,n){let r=Object.entries(t).filter(([,t])=>(t==null?void 0:t.name)===e);if(r.length!==1)throw Error(`pointRoles.${n} must resolve to exactly one series named "${e}".`);return Number(r[0][0])}var xi=class extends G{setShape(e){return this._builder.apply(Br(e)),this}resetShape(){return this._builder.apply(Jt()),this}setMaskImage(e){return this._builder.apply(Zn(e)),this}clearMaskImage(){return this._builder.apply(We()),this}setRepeat(e){return this._builder.apply(zr(e)),this}resetRepeat(){return this._builder.apply(qt()),this}};const Si=/* @__PURE__ */ new Map;function Ci(e,t){Si.set(e,t)}function wi(e){let t=Si.get(e);if(!t)throw Error(`Chart builder is not registered: ${String(e)}`);return t}const Ti={[l.Line3D]:ui,[l.Column3D]:Z,[l.ColumnStacked3D]:Z,[l.ColumnPercentStacked3D]:Z,[l.Bar3D]:Z,[l.BarStacked3D]:Z,[l.BarPercentStacked3D]:Z,[l.Pie3D]:fi,[l.Area3D]:X,[l.AreaStacked3D]:X,[l.AreaPercentStacked3D]:X,[l.Line]:Q,[l.LineStacked]:Q,[l.LinePercentStacked]:Q,[l.Column]:q,[l.ColumnStacked]:q,[l.ColumnPercentStacked]:q,[l.Bar]:q,[l.BarStacked]:q,[l.BarPercentStacked]:q,[l.Pie]:$,[l.Donut]:$,[l.Area]:J,[l.AreaStacked]:J,[l.AreaPercentStacked]:J,[l.Radar]:pi,[l.Scatter]:hi,[l.Combination]:ai,[l.WordCloud]:xi,[l.Funnel]:oi,[l.Bubble]:ni,[l.Relation]:mi,[l.Waterfall]:vi,[l.Pareto]:di,[l.Sankey]:G,[l.Heatmap]:ci,[l.Boxplot]:ti,[l.Candlestick]:ri,[l.Histogram]:li,[l.Treemap]:_i,[l.Sunburst]:gi,[l.Gauge]:si,[l.Chord]:ii};for(let e of Object.keys(Ti))Ci(e,Ti[e]);var Ei=/* @__PURE__ */ function(e){return e.Default=`default`,e.Univer1=`univer1`,e.Univer2=`univer2`,e.Univer3=`univer3`,e.Univer4=`univer4`,e.Univer5=`univer5`,e.Univer6=`univer6`,e.UniverGradient1=`univer gradient1`,e.UniverGradient2=`univer gradient2`,e.UniverGradient3=`univer gradient3`,e.UniverGradient4=`univer gradient4`,e.UniverGradient5=`univer gradient5`,e.UniverGradient6=`univer gradient6`,e}(Ei||{}),Di=class extends qr{get ChartAggregationTarget(){return n}get ChartTrendlineType(){return pe}get ChartAppearanceTarget(){return i}get ChartAxisName(){return a}get ChartAxisPointerTarget(){return o}get ChartAxisTarget(){return s}get ChartAxisTickPosition(){return c}get ChartMarkLineLabelPosition(){return oe}get ChartSemanticAxis(){return se}get ChartChordFocusMode(){return te}get ChartChordLabelPosition(){return ne}get ChartChordRibbonColorMode(){return re}get ChartGaugeMode(){return ie}get ChartGaugePointerShape(){return ae}get ChartSeriesAxis(){return ce}get ChartSeriesClearTarget(){return le}get ChartAllSeriesStyleTarget(){return r}get ChartSeriesTypeString(){return ue}get ChartSunburstLabelPosition(){return de}get ChartTypeString(){return l}get ChartThemeName(){return Ei}get ChartVisualMapType(){return me}get ChartWaterfallStyleTarget(){return u}get ChartWaterfallPointRole(){return he}get ChartAreaLineStyle(){return t}get ChartInvalidValueType(){return _e}get ChartLabelAlignEnum(){return ve}get ChartLegendPositionEnum(){return ye}get ChartLinePointShape(){return be}get ChartPieLabelPosition(){return xe}get ChartPieSecondaryPlotType(){return Se}get ChartRadarShape(){return Ce}get ChartRelationChartLayoutEnum(){return we}get ChartSelectModeEnum(){return Te}get ChartSeriesLabelPosition(){return Ee}get ChartTitlePositionEnum(){return De}get ChartTreemapParentLabelLayout(){return Oe}get ChartWaterfallStackTypeEnum(){return ke}get ChartWordCloudShapeEnum(){return Ae}};qr.extend(Di);var Oi=class extends Jr{registerTheme(e,t){this._injector.get(fe).registerTheme(e,t)}};Jr.extend(Oi);function ki(e,t,n=ji(e)){return new t({builder:e,...n})}function Ai(e,t,n=ji(e)){return ki(e,wi(t),n)}function ji(e){return{info:{dataSource:[]},normalizeSource:e=>e,createConfig:()=>Ur(e.describe(),e.getPendingConfig()),requireSource:!1}}function Mi(t){let n=`info`in t,r=n?t.description.id:Gr(),i=n?{...U.deepClone(t.description),type:t.type}:{id:r,type:t.type,autoGradientFill:e.has(t.type),series:{}};if(n){let e=[l.Bar,l.BarStacked,l.BarPercentStacked];if(e.includes(t.description.type)!==e.includes(t.type)){let e=i.axes;e&&(i.axes={...e,x:e.y,y:e.x})}}let a=n?Ni(i):new ge(i,t.commitError,t.injector),o=new ee(r,i,a),s=U.deepClone(n?t.info:{position:void 0,size:void 0,...t.createInfo()}),c=Ai(o,t.type,{info:s,normalizeSource:t.normalizeSource,createConfig:n?()=>Wr(o.describe(),o.getPendingConfig()):()=>Ur(o.describe(),o.getPendingConfig()),requireSource:!n});return Object.assign(c,t.extension({getInfo:e=>U.deepClone(s[e]),setInfo:(e,t)=>{s[e]=U.deepClone(t)},setAbsolutePosition:(e,t)=>{c.setAbsolutePosition(e,t)},setSize:(e,t)=>{c.setSize(e,t)}}))}function Ni(e){return{describe:()=>U.deepClone(e),commit:()=>{throw Error(`A detached Chart Builder cannot update an existing Chart.`)},resolveData:()=>{throw Error(`Chart data is unavailable from a detached Chart Builder.`)}}}var Pi=class extends Kr{constructor(e,t,n,r){super(),this._id=e,this._createAdapter=t,this._createBuilder=n,this._injector=r}getId(){return this._id}getType(){return this._createAdapter().getInfo().config.type}getInfo(){return U.deepClone(this._createAdapter().getInfo())}toBuilder(e){let t=this._createAdapter(),n=t.describe(),r=e??n.type;return this._createBuilder(t.getInfo(),n,r)}async update(e){return await this._createAdapter().update(U.deepClone(e)),this}setType(e){return this._commit({type:e})}setTitle(e){return this._apply(xr(e))}clearTitle(){return this._apply(k())}setSubtitle(e){return this._apply(mr(e))}clearSubtitle(){return this._apply(D())}setLegend(e){return this._apply(Jn(e))}clearLegend(){return this._apply(b())}setTheme(e){return this._apply(yr(e))}clearTheme(){return this._apply(O())}setPalette(e){return this._apply($n(e))}clearPalette(){return this._apply(S())}setAppearance(e){return this._apply(Zt(e))}clearAppearance(e){return this._apply(h(e))}setAutoGradientFill(e){return this._apply($t(e))}resetAutoGradientFill(){return this._apply(P())}setInvalidValueStrategy(e){return this._apply(Kn(e))}resetInvalidValueStrategy(){return this._apply(I())}setCategoryField(e){return this._apply(z(e))}setSeriesToCategory(e){return this._commit({mapping:{seriesToCategory:d({seriesToCategory:e}).seriesToCategory}})}setCategoryFields(e){return this._commit(Yr(e))}clearCategoryFields(){return this._commit(Xr())}setMultiLevelCategoryAxis(e){return this._commit({mapping:{multiLevelCategoryAxis:e}})}clearCategoryField(){return this._apply(y())}setValueFields(e){return this._apply(jr(e))}clearValueFields(){return this._apply(A())}setAggregation(e){return this._apply(Yt(e))}clearAggregation(e){return this._apply(f(e))}async setDataSource(e){return await this._createAdapter().setDataSource(e),this}setAbsolutePosition(e,t){return this._createAdapter().setAbsolutePosition(e,t),this}setSize(e,t){return this._createAdapter().setSize(e,t),this}bringToFront(){return this._arrange(H.front)}bringForward(){return this._arrange(H.forward)}sendBackward(){return this._arrange(H.backward)}sendToBack(){return this._arrange(H.back)}setZOrder(e){return this._createAdapter().setZOrder(e),this}async remove(){return this._createAdapter().remove()}setErrorBars(e){return this._commit({errorBars:[...e]})}clearErrorBars(){return this._commit({errorBars:[]})}_arrange(e){return this._createAdapter().arrange(e),this}_apply(e){return this._commit(e.patch)}_commit(e){return this._createAdapter().commit(e),this}};const Fi=6;export{Fi as CHART_FACADE_RANDOM_ID_LENGTH,J as FAreaChartBuilder,K as FAxisChartBuilder,ti as FBoxplotChartBuilder,ni as FBubbleChartBuilder,ri as FCandlestickChartBuilder,q as FCartesianChartBuilder,Pi as FChart,G as FChartBuilderBase,ii as FChordChartBuilder,ai as FCombinationChartBuilder,oi as FFunnelChartBuilder,si as FGaugeChartBuilder,ci as FHeatmapChartBuilder,li as FHistogramChartBuilder,Q as FLineChartBuilder,di as FParetoChartBuilder,$ as FPieChartBuilder,pi as FRadarChartBuilder,mi as FRelationChartBuilder,hi as FScatterChartBuilder,gi as FSunburstChartBuilder,_i as FTreemapChartBuilder,vi as FWaterfallChartBuilder,xi as FWordCloudChartBuilder,Mi as createChartBuilder};