@univerjs-pro/engine-chart 1.5.1 → 1.6.0

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 (129) 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/types/chart-3d/adapters/axes.d.ts +1 -1
  65. package/lib/types/chart-3d/adapters/element-events.d.ts +2 -1
  66. package/lib/types/chart-3d/adapters/render-input.d.ts +2 -2
  67. package/lib/types/chart-3d/adapters/transform.d.ts +2 -0
  68. package/lib/types/chart-3d/core/types.d.ts +1 -0
  69. package/lib/types/chart-3d/runtime/export-three-d-chart-image.d.ts +3 -0
  70. package/lib/types/chart-3d/runtime/three-d-chart-render-engine.d.ts +10 -0
  71. package/lib/types/chart-3d/{adapters/render-instance.d.ts → runtime/three-d-chart-render-instance.d.ts} +4 -4
  72. package/lib/types/chart-3d/runtime/types.d.ts +23 -0
  73. package/lib/types/chart-3d/{adapters/webgl-renderer.d.ts → runtime/webgl-scene-renderer.d.ts} +7 -4
  74. package/lib/types/chart-3d/webgl/chart-element-outline-item.d.ts +28 -0
  75. package/lib/types/chart-3d/webgl/draw-data.d.ts +4 -1
  76. package/lib/types/chart-3d/webgl/program.d.ts +1 -0
  77. package/lib/types/chart-3d/webgl/renderer.d.ts +6 -2
  78. package/lib/types/chart-3d/webgl/stroke.d.ts +3 -2
  79. package/lib/types/chart-builder/chart-types.d.ts +3 -1
  80. package/lib/types/chart-builder/configuration/radar.d.ts +3 -0
  81. package/lib/types/chart-element-interaction/chart-element-event.d.ts +28 -0
  82. package/lib/types/{models/chart-render/edit-overlay/resolve-chart-element-hit-layout.d.ts → chart-element-interaction/chart-element-hit-layout.d.ts} +4 -5
  83. package/lib/types/chart-element-interaction/chart-element-outline-controller.d.ts +24 -0
  84. package/lib/types/chart-element-interaction/geometry.d.ts +15 -0
  85. package/lib/types/chart-element-interaction/style.d.ts +4 -0
  86. package/lib/types/chart-element-interaction/three-d/types.d.ts +3 -0
  87. package/lib/types/{models/chart-render/edit-overlay/chart-element-edit-overlay.d.ts → chart-element-interaction/two-d/zrender-chart-element-outline.d.ts} +5 -7
  88. package/lib/types/chart-element-interaction/types.d.ts +6 -0
  89. package/lib/types/facade/builders/f-radar-chart-builder.d.ts +30 -1
  90. package/lib/types/index.d.ts +9 -2
  91. package/lib/types/models/chart-render/axes/chart-element-axis-id.d.ts +7 -4
  92. package/lib/types/models/chart-render/converter/render-spec-operators/trend-line/trendline-util.d.ts +9 -9
  93. package/lib/types/models/chart-render/converter/render-spec-operators/value-axis-scale.d.ts +0 -7
  94. package/lib/types/models/chart-render/echart-render-model/echart-render-engine.d.ts +13 -8
  95. package/lib/types/models/chart-render/echart-render-model/echart-render-model.d.ts +4 -1
  96. package/lib/types/models/common/constants/default-chart-style.d.ts +5 -1
  97. package/lib/types/plugin.d.ts +1 -1
  98. package/lib/types/source/chart-data-source-runtime.service.d.ts +55 -0
  99. package/lib/types/source/referenced-chart-data-source-binding.d.ts +23 -0
  100. package/lib/types/source/referenced-chart-data-source.d.ts +6 -0
  101. package/lib/types/source/resource-ref-chart-data-source.adapter.d.ts +22 -0
  102. package/lib/types/types.d.ts +52 -17
  103. package/lib/umd/facade.js +1 -1
  104. package/lib/umd/index.js +96 -1
  105. package/lib/umd/locale/ar-SA.js +1 -1
  106. package/lib/umd/locale/ca-ES.js +1 -1
  107. package/lib/umd/locale/de-DE.js +1 -1
  108. package/lib/umd/locale/en-US.js +1 -1
  109. package/lib/umd/locale/es-ES.js +1 -1
  110. package/lib/umd/locale/fa-IR.js +1 -1
  111. package/lib/umd/locale/fr-FR.js +1 -1
  112. package/lib/umd/locale/id-ID.js +1 -1
  113. package/lib/umd/locale/it-IT.js +1 -1
  114. package/lib/umd/locale/ja-JP.js +1 -1
  115. package/lib/umd/locale/ko-KR.js +1 -1
  116. package/lib/umd/locale/pl-PL.js +1 -1
  117. package/lib/umd/locale/pt-BR.js +1 -1
  118. package/lib/umd/locale/ru-RU.js +1 -1
  119. package/lib/umd/locale/sk-SK.js +1 -1
  120. package/lib/umd/locale/vi-VN.js +1 -1
  121. package/lib/umd/locale/zh-CN.js +1 -1
  122. package/lib/umd/locale/zh-HK.js +1 -1
  123. package/lib/umd/locale/zh-TW.js +1 -1
  124. package/package.json +9 -7
  125. package/lib/types/chart-3d/adapters/echarts-adapter.d.ts +0 -10
  126. package/lib/types/chart-3d/adapters/export-image.d.ts +0 -2
  127. package/lib/types/chart-3d/adapters/types.d.ts +0 -40
  128. package/lib/types/models/chart-render/edit-overlay/palette.d.ts +0 -2
  129. package/lib/types/models/chart-render/edit-overlay/types.d.ts +0 -20
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x59631a=_0x1ca9;(function(_0x52c18a,_0x4d63f5){const _0x41aa3a=_0x1ca9,_0xb1b542=_0x52c18a();while(!![]){try{const _0x4f59e7=-parseInt(_0x41aa3a(0x1dc))/0x1*(-parseInt(_0x41aa3a(0x247))/0x2)+parseInt(_0x41aa3a(0x1fc))/0x3+parseInt(_0x41aa3a(0x29a))/0x4*(parseInt(_0x41aa3a(0x30d))/0x5)+-parseInt(_0x41aa3a(0x22a))/0x6*(parseInt(_0x41aa3a(0x2a6))/0x7)+-parseInt(_0x41aa3a(0x209))/0x8+parseInt(_0x41aa3a(0x293))/0x9+-parseInt(_0x41aa3a(0x304))/0xa;if(_0x4f59e7===_0x4d63f5)break;else _0xb1b542['push'](_0xb1b542['shift']());}catch(_0x3df2fc){_0xb1b542['push'](_0xb1b542['shift']());}}}(_0x198d,0x7d707));import{AREA_CHART_TYPES as _0x8e03e4,AreaLineStyle as _0xcad987,ChartAggregationTarget as _0xa0b14a,ChartAllSeriesStyleTarget as _0x257b7c,ChartAppearanceTarget as _0x54eb01,ChartAxisName as _0xeee682,ChartAxisPointerTarget as _0x1b92cc,ChartAxisTarget as _0x4ad601,ChartAxisTickPosition as _0x53430d,ChartBuilder as _0x110caa,ChartChordFocusMode as _0x128545,ChartChordLabelPosition as _0x384c4a,ChartChordRibbonColorMode as _0x4fd74e,ChartGaugeMode as _0x23e4d5,ChartGaugePointerShape as _0x590c44,ChartMarkLineLabelPosition as _0x4bd140,ChartSemanticAxis as _0x11c5de,ChartSeriesAxis as _0x1cba44,ChartSeriesClearTarget as _0x8bfc2a,ChartSeriesTypeString as _0x4abc75,ChartSunburstLabelPosition as _0x540b66,ChartThemeService as _0x2e8d39,ChartTrendlineType as _0x3c0300,ChartTypeString as _0x25c4a2,ChartVisualMapType as _0x40a857,ChartWaterfallPointRole as _0x59a95b,ChartWaterfallStyleTarget as _0x28b56f,DetachedChartBuilderAdapter as _0x2403a2,InvalidValueType as _0xaaffb0,LabelAlignEnum as _0x909822,LegendPositionEnum as _0x36680d,LinePointShape as _0xb4f03,PieLabelPosition as _0x2c16a7,PieSecondaryPlotType as _0x458093,RadarShape as _0x39ea2c,RelationChartLayoutEnum as _0x1553bb,SelectModeEnum as _0x3c78b3,SeriesLabelPosition as _0x23ea39,TitlePositionEnum as _0x37370c,TreemapParentLabelLayout as _0x112c75,WaterfallStackTypeEnum as _0x4433a3,WordCloudShapeEnum as _0x1620cb,canonicalizeChartContext as _0x224247,clearAggregation as _0x4f2266,clearAllSeriesOverrides as _0x5e4ebf,clearAllSeriesStyle as _0x42ece6,clearAppearance as _0x2fea23,clearAreaLineStyle as _0x1dbb3a,clearAxisPointer as _0x49b401,clearAxisTitle as _0x46bb78,clearBar as _0x3d6de3,clearBubbleMapping as _0x54a9e6,clearCandlestickFields as _0x12fe2d,clearCategoryField as _0x55e5f6,clearCellLabel as _0x19f44b,clearCumulativeLineStyle as _0x51c6ee,clearDepthAxis as _0xf33571,clearDojiStyle as _0x23fb0e,clearDoughnutHole as _0x552a2c,clearFallingStyle as _0x57407d,clearHistogramField as _0xdf3885,clearHistogramOverflowThreshold as _0x5daeeb,clearHistogramUnderflowThreshold as _0x532be3,clearLegend as _0x255701,clearLineStyle as _0x5969e2,clearMarkLines as _0x19b664,clearMaskImage as _0x5312e4,clearPalette as _0x423eb9,clearParetoBarStyle as _0x3f317a,clearPieComposite as _0x1f5126,clearPieLabel as _0x509a8d,clearRelationForce as _0x36007e,clearRightYAxis as _0x4803f7,clearRisingStyle as _0x2af68d,clearSeries as _0x52f922,clearSliceBorderColor as _0x2d945e,clearSliceStyle as _0x56eebe,clearSubtitle as _0x31ba49,clearTheme as _0x1fb95c,clearThreeD as _0x22caa0,clearTitle as _0x86095e,clearTrendlines as _0x488f5c,clearValueFields as _0x1020d5,clearValueRange as _0x41d804,clearValueUnit as _0x35d540,clearWaterfallConnector as _0x1a7f4e,clearWaterfallStyle as _0x2123d4,clearXAxis as _0x1d2f88,clearYAxis as _0x155937,removeTrendline as _0x37fb69,resetAutoGradientFill as _0x1bb352,resetCandleWidth as _0x237b40,resetChordEmphasis as _0x28c2fc,resetChordLabel as _0x31b368,resetChordLayout as _0x3b72ae,resetChordNode as _0x3edf7e,resetChordRibbon as _0x414a7d,resetCircularLabelRotation as _0x1ea520,resetCombinationSeriesAxis as _0x225d0b,resetCombinationSeriesType as _0x19aa3d,resetEmphasisEnabled as _0xc67b35,resetExplosion as _0x278cd5,resetFunnelGap as _0x59505b,resetGaugeAnchor as _0x49b900,resetGaugeAngles as _0x3f37f8,resetGaugeAxisLabel as _0x2f01c3,resetGaugeAxisLine as _0x337cee,resetGaugeAxisTick as _0x40a7cc,resetGaugeDetail as _0x27392d,resetGaugeMode as _0x23d9d3,resetGaugePointer as _0x587c37,resetGaugeProgress as _0x441da3,resetGaugeRanges as _0x4187d1,resetGaugeScale as _0x30e1c0,resetGaugeSplitLine as _0xa8b00f,resetGaugeTitle as _0x2dbecc,resetHalfPie as _0x2929ab,resetHistogramBinGap as _0x441d18,resetHistogramBinning as _0x84bb4c,resetIncludeZeroValues as _0x534338,resetInvalidValueStrategy as _0x21be08,resetLabelLineVisible as _0x22d725,resetPaddingAngleEnabled as _0x57ff61,resetRadarFill as _0x1ba729,resetRadarShape as _0x385381,resetRelationLayout as _0x1e661c,resetRelationNodeShape as _0x4ab6d5,resetRosePie as _0x2e7060,resetSunburstCenterLabel as _0x35644d,resetSunburstLabel as _0x13d79c,resetTreemapLabel as _0x164c0f,resetTreemapParentLabelLayout as _0x3c3f50,resetUseAbsoluteValue as _0x22d191,resetUseDateAxis as _0x45ec2c,resetUseSubtotal as _0xdb51c,resetUseValueAsSymbolSize as _0x22e7bb,resetValueScale as _0x49788c,resetVisualMapType as _0x1f61b4,resetWaterfallStackType as _0x14321b,resetWordCloudRepeat as _0xbf9158,resetWordCloudShape as _0x13c49b,setAggregation as _0x1af2b2,setAllSeriesStyle as _0x4c6d82,setAppearance as _0x5eee77,setAreaLineStyle as _0x270937,setAutoGradientFill as _0x5a6677,setAxisPointer as _0x154aa2,setAxisTitle as _0x36cb4b,setBar as _0x44e34b,setBubbleMapping as _0x536e1d,setCandleWidth as _0x2446e2,setCandlestickFields as _0x1f3686,setCategoryField as _0x46d8c5,setCellLabel as _0x1dca49,setChordEmphasis as _0x1b9886,setChordLabel as _0x278045,setChordLayout as _0x2818a4,setChordMapping as _0x186720,setChordNode as _0x4409f5,setChordRibbon as _0x154a35,setCircularLabelRotation as _0x5deb66,setCombinationSeriesAxis as _0x53e5e5,setCombinationSeriesType as _0x4de1c4,setCumulativeLineStyle as _0x43b042,setDepthAxis as _0x4c38a0,setDojiStyle as _0x12c42e,setDoughnutHole as _0x385a96,setEmphasisEnabled as _0x2ce137,setExplosion as _0x10a950,setFallingStyle as _0x59204b,setFunnelGap as _0x513389,setGaugeAnchor as _0x5d643c,setGaugeAngles as _0x2f9a9e,setGaugeAxisLabel as _0x252b13,setGaugeAxisLine as _0x292fdc,setGaugeAxisTick as _0x137160,setGaugeDetail as _0x148a74,setGaugeMode as _0x413d88,setGaugePointer as _0x43daa8,setGaugeProgress as _0x439f52,setGaugeRanges as _0x20503e,setGaugeScale as _0xffaf41,setGaugeSplitLine as _0x392eed,setGaugeTicks as _0x399e59,setGaugeTitle as _0x136653,setGaugeValueField as _0x34519e,setHalfPie as _0x3e796b,setHistogramBinCount as _0x16d1bb,setHistogramBinGap as _0x374a4b,setHistogramBinWidth as _0x78a2d9,setHistogramField as _0x32b4bf,setHistogramOverflowThreshold as _0x19d5a4,setHistogramUnderflowThreshold as _0x55fd69,setIncludeZeroValues as _0x2a8d3e,setInvalidValueStrategy as _0x35772c,setLabelLineVisible as _0x502b1f,setLegend as _0x7a6d9d,setLineStyle as _0x29151e,setMarkLines as _0x1de35e,setMaskImage as _0x51606b,setPaddingAngleEnabled as _0x190f8c,setPalette as _0x40d81a,setParetoBarStyle as _0x56d4e8,setPieComposite as _0x179a2f,setPieLabel as _0x9b5254,setRadarFill as _0x3e4f96,setRadarShape as _0x3d24f2,setRelationForce as _0x705006,setRelationLayout as _0x32b48a,setRelationNodeShape as _0x294c2a,setRightYAxis as _0x41b661,setRisingStyle as _0x4214e5,setRosePie as _0xb34cf9,setSeries as _0x1b7049,setSliceBorderColor as _0x3111e7,setSliceStyle as _0x2afa2b,setSubtitle as _0x5d5302,setSunburstCenterLabel as _0x3fb017,setSunburstHierarchyFields as _0x564df6,setSunburstLabel as _0x155a90,setSunburstValueField as _0x146a69,setTheme as _0x19d377,setThreeD as _0x3bcd33,setTitle as _0x5b8f32,setTreemapHierarchyFields as _0x2d824a,setTreemapLabel as _0x3cf320,setTreemapParentLabelLayout as _0x18ee62,setTreemapValueField as _0xbe8bb,setTrendline as _0x2d4d41,setUseAbsoluteValue as _0x3346c7,setUseDateAxis as _0x2ea5a4,setUseSubtotal as _0xbf10f7,setUseValueAsSymbolSize as _0x3e7b8b,setValueFields as _0x2a2d99,setValueRange as _0x5ba89e,setValueScale as _0x1c4ce5,setValueUnit as _0x16370f,setVisualMapType as _0x2ca467,setWaterfallConnector as _0x7ae403,setWaterfallPointRoles as _0x418b14,setWaterfallStackType as _0x4b8f3f,setWaterfallStyle as _0x2812ed,setWordCloudRepeat as _0x399dab,setWordCloudShape as _0x28f2ef,setXAxis as _0x112ef1,setYAxis as _0x415a00,toChartCreateConfig as _0x177cc6,toChartCreateConfigSnapshot as _0x4b0321}from'@univerjs-pro/engine-chart';import{ArrangeTypeEnum as _0x3373db,Tools as _0x37be35,generateRandomId as _0x5127b9}from'@univerjs/core';import{FBase as _0x5c577f,FEnum as _0x4561d4,FUniver as _0x136a57}from'@univerjs/core/facade';function Yr(_0xb9d160){const _0x6012c6=_0x1ca9;return _0xb9d160[_0x6012c6(0x295)](_0x493b46=>_0x46d8c5(_0x493b46)),{'mapping':{'categoryIndexes':[..._0xb9d160]}};}function Xr(){return{'mapping':{'categoryIndexes':null}};}function W(_0x2f8306){'@babel/helpers - typeof';const _0x41547d=_0x1ca9;return W=typeof Symbol==_0x41547d(0x25c)&&typeof Symbol[_0x41547d(0x2cb)]=='symbol'?function(_0x2496ad){return typeof _0x2496ad;}:function(_0x4b701f){const _0x5ebfd2=_0x41547d;return _0x4b701f&&typeof Symbol==_0x5ebfd2(0x25c)&&_0x4b701f['constructor']===Symbol&&_0x4b701f!==Symbol[_0x5ebfd2(0x276)]?_0x5ebfd2(0x2bc):typeof _0x4b701f;},W(_0x2f8306);}function Zr(_0x33fd36,_0x5317ad){const _0x102456=_0x1ca9;if(W(_0x33fd36)!='object'||!_0x33fd36)return _0x33fd36;var _0x519a6c;if(typeof Symbol<'u'&&(_0x519a6c=_0x33fd36[Symbol[_0x102456(0x2c3)]])!==void 0x0){var _0x37e195=_0x519a6c['call'](_0x33fd36,_0x5317ad||_0x102456(0x270));if(W(_0x37e195)!=_0x102456(0x2af))return _0x37e195;throw TypeError(_0x102456(0x2e9));}return(_0x5317ad===_0x102456(0x1d4)?String:Number)(_0x33fd36);}function Qr(_0x46f3ea){const _0x17b9ca=_0x1ca9;var _0x403d16=Zr(_0x46f3ea,_0x17b9ca(0x1d4));return W(_0x403d16)==_0x17b9ca(0x2bc)?_0x403d16:_0x403d16+'';}function $r(_0x10d6c2,_0x3793d2,_0x59ba57){const _0x41e127=_0x1ca9;return(_0x3793d2=Qr(_0x3793d2))in _0x10d6c2?Object[_0x41e127(0x257)](_0x10d6c2,_0x3793d2,{'value':_0x59ba57,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x10d6c2[_0x3793d2]=_0x59ba57,_0x10d6c2;}var G=class{constructor(_0x3868cf){const _0x2a4711=_0x1ca9;this[_0x2a4711(0x2b2)]=_0x3868cf,$r(this,_0x2a4711(0x246),void 0x0),$r(this,_0x2a4711(0x223),void 0x0),this['_builder']=_0x3868cf[_0x2a4711(0x1e5)],this[_0x2a4711(0x223)]=_0x3868cf[_0x2a4711(0x2ac)];}[_0x59631a(0x254)](_0x355905){const _0x3d5f51=_0x59631a;return this[_0x3d5f51(0x223)][_0x3d5f51(0x310)]=_0x37be35[_0x3d5f51(0x2a1)](this['_context'][_0x3d5f51(0x236)](_0x355905)),this;}[_0x59631a(0x205)](_0x1b2e43,_0x5b19bd){const _0x4aa5b4=_0x59631a;return this[_0x4aa5b4(0x223)][_0x4aa5b4(0x2ab)]={'x':_0x1b2e43,'y':_0x5b19bd},this;}['setSize'](_0x32b270,_0x526d61){const _0x547eea=_0x59631a;return this['_info'][_0x547eea(0x232)]={'width':_0x32b270,'height':_0x526d61},this;}[_0x59631a(0x2b6)](){const _0x5562c7=_0x59631a;if(this[_0x5562c7(0x2b2)]['requireSource']&&this[_0x5562c7(0x223)][_0x5562c7(0x310)]===void 0x0)throw Error('Chart\x20data\x20source\x20is\x20required.\x20Please\x20call\x20setSource()\x20before\x20build().');let _0x39d772=_0x37be35[_0x5562c7(0x2a1)](this[_0x5562c7(0x223)]);return _0x39d772['config']=this['_context'][_0x5562c7(0x2c2)](this[_0x5562c7(0x246)]),_0x39d772;}[_0x59631a(0x1ec)](_0x1d159c){const _0x49bd50=_0x59631a;return this[_0x49bd50(0x246)]['mergePending'](_0x1d159c),this;}['_describe'](){const _0x1d7ea8=_0x59631a;return this[_0x1d7ea8(0x246)][_0x1d7ea8(0x241)]();}[_0x59631a(0x2ff)](_0xa0ec1c){const _0x48ad4b=_0x59631a;return this[_0x48ad4b(0x246)]['apply'](_0x5b8f32(_0xa0ec1c)),this;}[_0x59631a(0x1f2)](){const _0x3c2554=_0x59631a;return this[_0x3c2554(0x246)][_0x3c2554(0x294)](_0x86095e()),this;}[_0x59631a(0x2c1)](_0x579b3b){const _0x402ede=_0x59631a;return this[_0x402ede(0x246)][_0x402ede(0x294)](_0x5d5302(_0x579b3b)),this;}[_0x59631a(0x25b)](){const _0xadb84=_0x59631a;return this[_0xadb84(0x246)][_0xadb84(0x294)](_0x31ba49()),this;}[_0x59631a(0x30f)](_0x52fed1){const _0x453678=_0x59631a;return this[_0x453678(0x246)][_0x453678(0x294)](_0x7a6d9d(_0x52fed1)),this;}[_0x59631a(0x245)](){const _0x2e4b77=_0x59631a;return this['_builder'][_0x2e4b77(0x294)](_0x255701()),this;}[_0x59631a(0x29b)](_0x53e8b6){const _0x201b7a=_0x59631a;return this[_0x201b7a(0x246)][_0x201b7a(0x294)](_0x19d377(_0x53e8b6)),this;}[_0x59631a(0x29e)](){const _0x467959=_0x59631a;return this[_0x467959(0x246)][_0x467959(0x294)](_0x1fb95c()),this;}[_0x59631a(0x2e0)](_0x386fbc){const _0x206193=_0x59631a;return this[_0x206193(0x246)][_0x206193(0x294)](_0x40d81a(_0x386fbc)),this;}[_0x59631a(0x255)](){const _0x2280f6=_0x59631a;return this[_0x2280f6(0x246)][_0x2280f6(0x294)](_0x423eb9()),this;}['setAppearance'](_0xb345f6){const _0x5b6c85=_0x59631a;return this[_0x5b6c85(0x246)][_0x5b6c85(0x294)](_0x5eee77(_0xb345f6)),this;}[_0x59631a(0x1ea)](_0x33c2ab){const _0x4973b1=_0x59631a;return this[_0x4973b1(0x246)][_0x4973b1(0x294)](_0x2fea23(_0x33c2ab)),this;}[_0x59631a(0x268)](_0x5074e9){const _0x78fc12=_0x59631a;return this[_0x78fc12(0x246)]['apply'](_0x5a6677(_0x5074e9)),this;}['resetAutoGradientFill'](){const _0x531cfa=_0x59631a;return this['_builder'][_0x531cfa(0x294)](_0x1bb352()),this;}['setInvalidValueStrategy'](_0x22952f){const _0x1b5349=_0x59631a;return this['_builder'][_0x1b5349(0x294)](_0x35772c(_0x22952f)),this;}[_0x59631a(0x2b4)](){const _0x578298=_0x59631a;return this[_0x578298(0x246)][_0x578298(0x294)](_0x21be08()),this;}[_0x59631a(0x1cc)](_0x5cc8fc){const _0x6f6b6e=_0x59631a;return this['_builder'][_0x6f6b6e(0x294)](_0x46d8c5(_0x5cc8fc)),this;}[_0x59631a(0x1eb)](_0x297fae){const _0x4e8ca5=_0x59631a;return this['_builder'][_0x4e8ca5(0x218)]({'mapping':{'seriesToCategory':_0x224247({'seriesToCategory':_0x297fae})['seriesToCategory']}}),this;}[_0x59631a(0x279)](_0x501b36){const _0x53320e=_0x59631a;return this[_0x53320e(0x246)]['mergePending'](Yr(_0x501b36)),this;}['clearCategoryFields'](){const _0x189a07=_0x59631a;return this[_0x189a07(0x246)]['mergePending'](Xr()),this;}['setMultiLevelCategoryAxis'](_0x26ca3c){const _0x173a6f=_0x59631a;return this['_builder'][_0x173a6f(0x218)]({'mapping':{'multiLevelCategoryAxis':_0x26ca3c}}),this;}[_0x59631a(0x2f8)](){const _0x2acfbf=_0x59631a;return this[_0x2acfbf(0x246)]['apply'](_0x55e5f6()),this;}[_0x59631a(0x2e4)](_0x34761c){const _0x556cd5=_0x59631a;return this[_0x556cd5(0x246)][_0x556cd5(0x294)](_0x2a2d99(_0x34761c)),this;}[_0x59631a(0x266)](){const _0x4ca89c=_0x59631a;return this[_0x4ca89c(0x246)][_0x4ca89c(0x294)](_0x1020d5()),this;}[_0x59631a(0x2bd)](_0x2350eb){const _0x3a71a2=_0x59631a;return this['_builder'][_0x3a71a2(0x294)](_0x1af2b2(_0x2350eb)),this;}[_0x59631a(0x1cb)](_0x5caad1){const _0x3ee333=_0x59631a;return this[_0x3ee333(0x246)][_0x3ee333(0x294)](_0x4f2266(_0x5caad1)),this;}},K=class extends G{[_0x59631a(0x2ed)](_0x334d7e){const _0x5c60d4=_0x59631a;return this[_0x5c60d4(0x246)]['apply'](_0x1de35e(_0x334d7e)),this;}[_0x59631a(0x2fd)](){const _0xbcd642=_0x59631a;return this['_builder'][_0xbcd642(0x294)](_0x19b664()),this;}['setXAxis'](_0x2acfea){const _0x4138c5=_0x59631a;return this[_0x4138c5(0x246)][_0x4138c5(0x294)](_0x112ef1(_0x2acfea)),this;}[_0x59631a(0x231)](_0x45993a){const _0x182bc0=_0x59631a;return this[_0x182bc0(0x246)][_0x182bc0(0x294)](_0x1d2f88(_0x45993a)),this;}[_0x59631a(0x220)](_0x1774fc){const _0x38a859=_0x59631a;return this[_0x38a859(0x246)][_0x38a859(0x294)](_0x415a00(_0x1774fc)),this;}[_0x59631a(0x2bf)](_0x4ab4c1){const _0x40a5ad=_0x59631a;return this[_0x40a5ad(0x246)][_0x40a5ad(0x294)](_0x155937(_0x4ab4c1)),this;}['setRightYAxis'](_0x4df3bd){const _0x308661=_0x59631a;return this[_0x308661(0x246)][_0x308661(0x294)](_0x41b661(_0x4df3bd)),this;}['clearRightYAxis'](_0x2efa60){const _0x13aad7=_0x59631a;return this[_0x13aad7(0x246)]['apply'](_0x4803f7(_0x2efa60)),this;}[_0x59631a(0x24e)](_0x5199a6){const _0x42ad92=_0x59631a;return this['_builder'][_0x42ad92(0x294)](_0x36cb4b(_0xeee682['X'],_0x5199a6)),this;}['clearXAxisTitle'](){const _0x12de90=_0x59631a;return this[_0x12de90(0x246)][_0x12de90(0x294)](_0x46bb78(_0xeee682['X'])),this;}['setYAxisTitle'](_0x54b018){const _0x2d035f=_0x59631a;return this['_builder'][_0x2d035f(0x294)](_0x36cb4b(_0xeee682['Y'],_0x54b018)),this;}[_0x59631a(0x2b5)](){const _0x4c6380=_0x59631a;return this[_0x4c6380(0x246)][_0x4c6380(0x294)](_0x46bb78(_0xeee682['Y'])),this;}['setRightYAxisTitle'](_0x51439f){const _0x1365fc=_0x59631a;return this[_0x1365fc(0x246)][_0x1365fc(0x294)](_0x36cb4b(_0xeee682[_0x1365fc(0x201)],_0x51439f)),this;}[_0x59631a(0x1db)](){const _0x20e419=_0x59631a;return this[_0x20e419(0x246)][_0x20e419(0x294)](_0x46bb78(_0xeee682[_0x20e419(0x201)])),this;}[_0x59631a(0x252)](_0xc667a9){const _0x4220e7=_0x59631a;return this[_0x4220e7(0x246)][_0x4220e7(0x294)](_0x2ea5a4(_0xc667a9)),this;}[_0x59631a(0x2cd)](){const _0x3c5978=_0x59631a;return this[_0x3c5978(0x246)]['apply'](_0x45ec2c()),this;}},q=class extends K{['setErrorBars'](_0x5cdefd){const _0x539582=_0x59631a;return this[_0x539582(0x246)][_0x539582(0x218)]({'errorBars':[..._0x5cdefd]}),this;}[_0x59631a(0x27a)](){const _0x2a45dc=_0x59631a;return this[_0x2a45dc(0x246)][_0x2a45dc(0x218)]({'errorBars':[]}),this;}[_0x59631a(0x21e)](_0xe954f2){const _0x5852d0=_0x59631a;return this[_0x5852d0(0x246)][_0x5852d0(0x294)](_0x44e34b(_0xe954f2)),this;}[_0x59631a(0x24b)](){const _0x1b3919=_0x59631a;return this['_builder'][_0x1b3919(0x294)](_0x3d6de3()),this;}[_0x59631a(0x1cf)](_0x4b037,_0x126401){const _0xc545cc=_0x59631a;return this['_builder'][_0xc545cc(0x294)](_0x1b7049(_0x4b037,_0x126401)),this;}[_0x59631a(0x23c)](_0x1f6f67,_0x127e19){const _0x1166bf=_0x59631a;return this[_0x1166bf(0x246)][_0x1166bf(0x294)](_0x52f922(_0x1f6f67,_0x127e19)),this;}[_0x59631a(0x27f)](){const _0x1039c7=_0x59631a;return this[_0x1039c7(0x246)][_0x1039c7(0x294)](_0x5e4ebf()),this;}['setAllSeriesStyle'](_0xe1d6ef){const _0x457624=_0x59631a;return this[_0x457624(0x246)]['apply'](_0x4c6d82(_0xe1d6ef)),this;}['clearAllSeriesStyle'](_0x530180){const _0x5ae9b1=_0x59631a;return this[_0x5ae9b1(0x246)][_0x5ae9b1(0x294)](_0x42ece6(_0x530180)),this;}[_0x59631a(0x297)](_0x5646d4,_0x385010){const _0x59166c=_0x59631a;return this[_0x59166c(0x246)]['apply'](_0x2d4d41(_0x5646d4,_0x385010)),this;}[_0x59631a(0x27c)](_0x212d67,_0x2ebc48){const _0x5a6c77=_0x59631a;return this[_0x5a6c77(0x246)]['apply'](_0x37fb69(this['_builder'][_0x5a6c77(0x241)](),_0x212d67,_0x2ebc48)),this;}[_0x59631a(0x2b9)](_0x123369){const _0x459525=_0x59631a;return this[_0x459525(0x246)][_0x459525(0x294)](_0x488f5c(this['_builder'][_0x459525(0x241)](),_0x123369)),this;}[_0x59631a(0x312)](_0x5c9683){const _0x15c79e=_0x59631a;return this[_0x15c79e(0x246)][_0x15c79e(0x294)](_0x154aa2(_0x5c9683)),this;}[_0x59631a(0x2d1)](_0x2b39ab){const _0x1fbdef=_0x59631a;return this[_0x1fbdef(0x246)]['apply'](_0x49b401(_0x2b39ab)),this;}},J=class extends q{[_0x59631a(0x1d0)](_0x2062e5){const _0x2ca2da=_0x59631a;return this[_0x2ca2da(0x246)][_0x2ca2da(0x294)](_0x270937(_0x2062e5)),this;}[_0x59631a(0x2d4)](){const _0x7c68a4=_0x59631a;return this[_0x7c68a4(0x246)][_0x7c68a4(0x294)](_0x1dbb3a()),this;}},ei=class extends G{['setThreeD'](_0x51ef1a){const _0x443123=_0x59631a;return this[_0x443123(0x246)]['apply'](_0x3bcd33(_0x51ef1a)),this;}[_0x59631a(0x249)](){const _0x580158=_0x59631a;return this[_0x580158(0x246)][_0x580158(0x294)](_0x22caa0()),this;}},Y=class extends ei{[_0x59631a(0x28c)](_0x4571d6){const _0xdfd641=_0x59631a;return this[_0xdfd641(0x246)][_0xdfd641(0x294)](_0x112ef1(_0x4571d6)),this;}[_0x59631a(0x231)](_0x3ffd83){const _0x411af7=_0x59631a;return this[_0x411af7(0x246)][_0x411af7(0x294)](_0x1d2f88(_0x3ffd83)),this;}[_0x59631a(0x220)](_0x392e6f){const _0x4f75e1=_0x59631a;return this[_0x4f75e1(0x246)][_0x4f75e1(0x294)](_0x415a00(_0x392e6f)),this;}['clearYAxis'](_0x3b8ead){const _0x168341=_0x59631a;return this['_builder'][_0x168341(0x294)](_0x155937(_0x3b8ead)),this;}[_0x59631a(0x2dd)](_0x13d96c){const _0x555944=_0x59631a;return this[_0x555944(0x246)]['apply'](_0x4c38a0(_0x13d96c)),this;}['clearDepthAxis'](){const _0x4394ec=_0x59631a;return this['_builder'][_0x4394ec(0x294)](_0xf33571()),this;}[_0x59631a(0x1cf)](_0x1a1592,_0x41fac5){const _0x4ed03f=_0x59631a;return this['_builder'][_0x4ed03f(0x294)](_0x1b7049(_0x1a1592,_0x41fac5)),this;}[_0x59631a(0x23c)](_0x4efe8e){const _0x2ca792=_0x59631a;return this[_0x2ca792(0x246)]['apply'](_0x52f922(_0x4efe8e)),this;}[_0x59631a(0x286)](_0x54cfea){const _0x47d24e=_0x59631a;return this['_builder'][_0x47d24e(0x294)](_0x4c6d82(_0x54cfea)),this;}['clearAllSeriesStyle'](){const _0x1700bf=_0x59631a;return this['_builder'][_0x1700bf(0x294)](_0x42ece6()),this;}[_0x59631a(0x27f)](){const _0x2dba9e=_0x59631a;return this[_0x2dba9e(0x246)][_0x2dba9e(0x294)](_0x5e4ebf()),this;}},X=class extends Y{['setAreaLineStyle'](_0x428d22){const _0x23d2df=_0x59631a;return this[_0x23d2df(0x246)][_0x23d2df(0x294)](_0x270937(_0x428d22)),this;}[_0x59631a(0x2d4)](){const _0x542461=_0x59631a;return this[_0x542461(0x246)]['apply'](_0x1dbb3a()),this;}},ti=class extends q{},ni=class extends q{['setBubbleMapping'](_0x52f1be){const _0x4dddde=_0x59631a;return this['_builder'][_0x4dddde(0x294)](_0x536e1d(_0x52f1be)),this;}[_0x59631a(0x1fe)](){const _0x3015e0=_0x59631a;return this['_builder'][_0x3015e0(0x294)](_0x54a9e6()),this;}},ri=class extends K{['setCandlestickFields'](_0x54d97e){const _0x5302c7=_0x59631a;return this[_0x5302c7(0x246)][_0x5302c7(0x294)](_0x1f3686(_0x54d97e)),this;}[_0x59631a(0x23f)](){const _0x277536=_0x59631a;return this[_0x277536(0x246)][_0x277536(0x294)](_0x12fe2d()),this;}[_0x59631a(0x24d)](_0x589bfd){const _0x3cfdb8=_0x59631a;return this[_0x3cfdb8(0x246)][_0x3cfdb8(0x294)](_0x4214e5(_0x589bfd)),this;}[_0x59631a(0x202)](){const _0x6827c4=_0x59631a;return this[_0x6827c4(0x246)][_0x6827c4(0x294)](_0x2af68d()),this;}[_0x59631a(0x1fa)](_0x36395f){const _0x1f4227=_0x59631a;return this[_0x1f4227(0x246)]['apply'](_0x59204b(_0x36395f)),this;}['clearFallingStyle'](){const _0x38bcd5=_0x59631a;return this[_0x38bcd5(0x246)]['apply'](_0x57407d()),this;}[_0x59631a(0x299)](_0xc7ac1c){const _0x3e8be3=_0x59631a;return this[_0x3e8be3(0x246)][_0x3e8be3(0x294)](_0x12c42e(_0xc7ac1c)),this;}[_0x59631a(0x298)](){const _0x3aab42=_0x59631a;return this[_0x3aab42(0x246)]['apply'](_0x23fb0e()),this;}[_0x59631a(0x1da)](_0x389768){const _0x1464fa=_0x59631a;return this['_builder'][_0x1464fa(0x294)](_0x2446e2(_0x389768)),this;}[_0x59631a(0x315)](){const _0x3fe7b7=_0x59631a;return this[_0x3fe7b7(0x246)][_0x3fe7b7(0x294)](_0x237b40()),this;}['setHighLowLineStyle'](_0x3f32ce){const _0x280068=_0x59631a;return this[_0x280068(0x246)][_0x280068(0x218)]({'candlestick':{'highLowLine':_0x3f32ce}}),this;}[_0x59631a(0x290)](){const _0x1927f4=_0x59631a;return this[_0x1927f4(0x246)][_0x1927f4(0x218)]({'candlestick':{'highLowLine':null}}),this;}['setCloseMarkerStyle'](_0x3074c9){const _0x580775=_0x59631a;return this[_0x580775(0x246)][_0x580775(0x218)]({'candlestick':{'closeMarker':_0x3074c9}}),this;}[_0x59631a(0x1ef)](){const _0x11dd2f=_0x59631a;return this['_builder'][_0x11dd2f(0x218)]({'candlestick':{'closeMarker':null}}),this;}},ii=class extends G{[_0x59631a(0x28e)](_0x54314b){return this['_builder']['apply'](_0x186720(_0x54314b)),this;}['setChordLayout'](_0x1eea5c){const _0x2e6c91=_0x59631a;return this[_0x2e6c91(0x246)][_0x2e6c91(0x294)](_0x2818a4(_0x1eea5c)),this;}[_0x59631a(0x285)](){const _0x3625e5=_0x59631a;return this[_0x3625e5(0x246)]['apply'](_0x3b72ae()),this;}[_0x59631a(0x1f7)](_0x35b844){const _0x2404a5=_0x59631a;return this[_0x2404a5(0x246)][_0x2404a5(0x294)](_0x4409f5(_0x35b844)),this;}[_0x59631a(0x26c)](){const _0x50d4f8=_0x59631a;return this['_builder'][_0x50d4f8(0x294)](_0x3edf7e()),this;}[_0x59631a(0x296)](_0x17e9c3){const _0x3df594=_0x59631a;return this[_0x3df594(0x246)][_0x3df594(0x294)](_0x278045(_0x17e9c3)),this;}['resetChordLabel'](){const _0x4ba88a=_0x59631a;return this['_builder'][_0x4ba88a(0x294)](_0x31b368()),this;}[_0x59631a(0x2a8)](_0x182ed0){const _0x27ffc7=_0x59631a;return this['_builder'][_0x27ffc7(0x294)](_0x154a35(_0x182ed0)),this;}['resetChordRibbon'](){const _0x3116f2=_0x59631a;return this[_0x3116f2(0x246)][_0x3116f2(0x294)](_0x414a7d()),this;}[_0x59631a(0x239)](_0x2d7a3c){const _0x473213=_0x59631a;return this['_builder'][_0x473213(0x294)](_0x1b9886(_0x2d7a3c)),this;}[_0x59631a(0x224)](){const _0x1f929c=_0x59631a;return this[_0x1f929c(0x246)][_0x1f929c(0x294)](_0x28c2fc()),this;}},Z=class extends Y{[_0x59631a(0x21e)](_0x505738){return this['_builder']['apply'](_0x44e34b(_0x505738)),this;}[_0x59631a(0x24b)](){const _0x1ac0b8=_0x59631a;return this[_0x1ac0b8(0x246)][_0x1ac0b8(0x294)](_0x3d6de3()),this;}},ai=class extends q{[_0x59631a(0x2fe)](_0x42860c,_0x4df69f){const _0x4d0d17=_0x59631a;return this['_builder'][_0x4d0d17(0x294)](_0x4de1c4(_0x42860c,_0x4df69f)),this;}['resetSeriesType'](_0x3d3aeb){const _0x2893fe=_0x59631a;return this[_0x2893fe(0x246)]['apply'](_0x19aa3d(_0x3d3aeb)),this;}['setSeriesAxis'](_0x6b30e1,_0x591fc4){return this['_builder']['apply'](_0x53e5e5(_0x6b30e1,_0x591fc4)),this;}[_0x59631a(0x248)](_0x5d06fd){const _0x475a94=_0x59631a;return this[_0x475a94(0x246)][_0x475a94(0x294)](_0x225d0b(_0x5d06fd)),this;}},oi=class extends G{[_0x59631a(0x24f)](_0x2814d7){const _0x50c948=_0x59631a;return this[_0x50c948(0x246)][_0x50c948(0x294)](_0x513389(_0x2814d7)),this;}['resetGap'](){const _0x1f8f17=_0x59631a;return this[_0x1f8f17(0x246)][_0x1f8f17(0x294)](_0x59505b()),this;}[_0x59631a(0x288)](_0x4da757){const _0x23ce70=_0x59631a;return this[_0x23ce70(0x246)]['apply'](_0x3346c7(_0x4da757)),this;}[_0x59631a(0x2fb)](){const _0x134eec=_0x59631a;return this[_0x134eec(0x246)][_0x134eec(0x294)](_0x22d191()),this;}},si=class extends G{[_0x59631a(0x2ba)](_0x2760a6){const _0x429ea0=_0x59631a;return this[_0x429ea0(0x246)][_0x429ea0(0x294)](_0x34519e(_0x2760a6)),this;}[_0x59631a(0x2f4)](_0xa77ea7){const _0x1346db=_0x59631a;return this[_0x1346db(0x246)][_0x1346db(0x294)](_0x413d88(_0xa77ea7)),this;}[_0x59631a(0x237)](){const _0x209a1b=_0x59631a;return this[_0x209a1b(0x246)][_0x209a1b(0x294)](_0x23d9d3()),this;}[_0x59631a(0x251)](_0x32323e){const _0x3c2ea0=_0x59631a;return this['_builder'][_0x3c2ea0(0x294)](_0xffaf41(_0x32323e)),this;}[_0x59631a(0x2f1)](){const _0x4c1340=_0x59631a;return this['_builder'][_0x4c1340(0x294)](_0x30e1c0()),this;}['setGaugeTicks'](_0x3de23b){return this['_builder']['apply'](_0x399e59(_0x3de23b)),this;}['setGaugeAngles'](_0x2d916f){const _0xc1e57d=_0x59631a;return this[_0xc1e57d(0x246)][_0xc1e57d(0x294)](_0x2f9a9e(_0x2d916f)),this;}[_0x59631a(0x308)](){const _0xfa4257=_0x59631a;return this['_builder'][_0xfa4257(0x294)](_0x3f37f8()),this;}[_0x59631a(0x2ea)](_0x2a4b1c){const _0x4e19a7=_0x59631a;return this[_0x4e19a7(0x246)][_0x4e19a7(0x294)](_0x20503e(_0x2a4b1c)),this;}[_0x59631a(0x2d9)](){const _0x283a94=_0x59631a;return this[_0x283a94(0x246)][_0x283a94(0x294)](_0x4187d1()),this;}[_0x59631a(0x1c5)](_0x18f7e0){const _0x4fded0=_0x59631a;return this['_builder'][_0x4fded0(0x294)](_0x292fdc(_0x18f7e0)),this;}[_0x59631a(0x26b)](){const _0x3f87d7=_0x59631a;return this[_0x3f87d7(0x246)][_0x3f87d7(0x294)](_0x337cee()),this;}['setGaugeAxisTick'](_0x13681d){const _0x50223a=_0x59631a;return this[_0x50223a(0x246)][_0x50223a(0x294)](_0x137160(_0x13681d)),this;}[_0x59631a(0x216)](){const _0x4a6380=_0x59631a;return this[_0x4a6380(0x246)]['apply'](_0x40a7cc()),this;}[_0x59631a(0x21b)](_0x57d7bb){const _0x1a774d=_0x59631a;return this[_0x1a774d(0x246)][_0x1a774d(0x294)](_0x392eed(_0x57d7bb)),this;}['resetGaugeSplitLine'](){const _0x349149=_0x59631a;return this[_0x349149(0x246)]['apply'](_0xa8b00f()),this;}[_0x59631a(0x2d8)](_0x1cece4){const _0x499a26=_0x59631a;return this[_0x499a26(0x246)][_0x499a26(0x294)](_0x252b13(_0x1cece4)),this;}[_0x59631a(0x2e6)](){const _0x3f7d20=_0x59631a;return this['_builder'][_0x3f7d20(0x294)](_0x2f01c3()),this;}[_0x59631a(0x2ca)](_0x28ebd5){const _0x3a1a3f=_0x59631a;return this[_0x3a1a3f(0x246)][_0x3a1a3f(0x294)](_0x43daa8(_0x28ebd5)),this;}['resetGaugePointer'](){const _0x1f115a=_0x59631a;return this[_0x1f115a(0x246)]['apply'](_0x587c37()),this;}[_0x59631a(0x235)](_0xa961f2){const _0x380c2a=_0x59631a;return this[_0x380c2a(0x246)][_0x380c2a(0x294)](_0x5d643c(_0xa961f2)),this;}[_0x59631a(0x280)](){const _0x399849=_0x59631a;return this[_0x399849(0x246)]['apply'](_0x49b900()),this;}['setGaugeProgress'](_0x1807d7){const _0x467e16=_0x59631a;return this[_0x467e16(0x246)]['apply'](_0x439f52(_0x1807d7)),this;}[_0x59631a(0x1ce)](){const _0x22ccee=_0x59631a;return this['_builder'][_0x22ccee(0x294)](_0x441da3()),this;}[_0x59631a(0x230)](_0x3ea017){const _0x233ea3=_0x59631a;return this[_0x233ea3(0x246)][_0x233ea3(0x294)](_0x136653(_0x3ea017)),this;}[_0x59631a(0x2ef)](){const _0x591101=_0x59631a;return this['_builder'][_0x591101(0x294)](_0x2dbecc()),this;}['setGaugeDetail'](_0x27316a){const _0x3ed252=_0x59631a;return this[_0x3ed252(0x246)][_0x3ed252(0x294)](_0x148a74(_0x27316a)),this;}[_0x59631a(0x234)](){const _0x24bf6a=_0x59631a;return this[_0x24bf6a(0x246)]['apply'](_0x27392d()),this;}},ci=class extends K{[_0x59631a(0x2f9)](_0x37aa6d){const _0x2cd513=_0x59631a;return this[_0x2cd513(0x246)]['apply'](_0x2ca467(_0x37aa6d)),this;}[_0x59631a(0x284)](){const _0x4f7d96=_0x59631a;return this[_0x4f7d96(0x246)][_0x4f7d96(0x294)](_0x1f61b4()),this;}[_0x59631a(0x2e2)](_0x14a2db,_0x5f45be){const _0x32a853=_0x59631a;return this[_0x32a853(0x246)][_0x32a853(0x294)](_0x5ba89e(_0x14a2db,_0x5f45be)),this;}[_0x59631a(0x2db)](){const _0x1b1ef0=_0x59631a;return this[_0x1b1ef0(0x246)]['apply'](_0x41d804()),this;}[_0x59631a(0x250)](_0x1cc9dc){const _0x4f9def=_0x59631a;return this[_0x4f9def(0x246)][_0x4f9def(0x294)](_0x1dca49(_0x1cc9dc)),this;}['clearCellLabel'](){const _0x485e1e=_0x59631a;return this[_0x485e1e(0x246)]['apply'](_0x19f44b()),this;}[_0x59631a(0x229)](_0x346326){const _0x1706cb=_0x59631a;return this['_builder'][_0x1706cb(0x294)](_0x16370f(_0x346326)),this;}[_0x59631a(0x1f8)](){const _0x6334be=_0x59631a;return this[_0x6334be(0x246)]['apply'](_0x35d540()),this;}},li=class extends q{[_0x59631a(0x1e0)](_0x48b236){const _0x1c87c7=_0x59631a;return this[_0x1c87c7(0x246)][_0x1c87c7(0x294)](_0x32b4bf(_0x48b236)),this;}[_0x59631a(0x20f)](){const _0x4cfdbb=_0x59631a;return this[_0x4cfdbb(0x246)][_0x4cfdbb(0x294)](_0xdf3885()),this;}[_0x59631a(0x28a)](_0x14721d){const _0x174c46=_0x59631a;return Number[_0x174c46(0x1d2)](_0x14721d)&&this[_0x174c46(0x246)][_0x174c46(0x294)](_0x16d1bb(_0x14721d)),this;}[_0x59631a(0x244)](_0x37c428){const _0x19be30=_0x59631a;return Number[_0x19be30(0x1d2)](_0x37c428)&&this[_0x19be30(0x246)][_0x19be30(0x294)](_0x78a2d9(_0x37c428)),this;}['resetBinning'](){const _0x39d573=_0x59631a;return this[_0x39d573(0x246)][_0x39d573(0x294)](_0x84bb4c()),this;}[_0x59631a(0x2c0)](_0x2a37de){const _0x2b4a69=_0x59631a;return Number[_0x2b4a69(0x1d2)](_0x2a37de)&&this['_builder']['apply'](_0x55fd69(_0x2a37de)),this;}[_0x59631a(0x1f0)](){const _0x24cb2e=_0x59631a;return this[_0x24cb2e(0x246)][_0x24cb2e(0x294)](_0x532be3()),this;}['setOverflowThreshold'](_0x4ab113){const _0x4626c8=_0x59631a;return Number[_0x4626c8(0x1d2)](_0x4ab113)&&this[_0x4626c8(0x246)][_0x4626c8(0x294)](_0x19d5a4(_0x4ab113)),this;}[_0x59631a(0x222)](){return this['_builder']['apply'](_0x5daeeb()),this;}[_0x59631a(0x273)](_0x1005a1){const _0x1c57ba=_0x59631a;return Number[_0x1c57ba(0x1d2)](_0x1005a1)&&this[_0x1c57ba(0x246)][_0x1c57ba(0x294)](_0x374a4b(_0x1005a1)),this;}[_0x59631a(0x1dd)](){const _0x5e3ead=_0x59631a;return this['_builder'][_0x5e3ead(0x294)](_0x441d18()),this;}},Q=class extends q{[_0x59631a(0x311)](_0x59e898){const _0x48104e=_0x59631a;return this[_0x48104e(0x246)]['apply'](_0x29151e(_0x59e898)),this;}[_0x59631a(0x2ec)](){const _0x8d4b90=_0x59631a;return this[_0x8d4b90(0x246)][_0x8d4b90(0x294)](_0x5969e2()),this;}},ui=class extends Y{['setLineStyle'](_0x35bac1){const _0xa6fc04=_0x59631a;return this[_0xa6fc04(0x246)][_0xa6fc04(0x294)](_0x29151e(_0x35bac1)),this;}['clearLineStyle'](){const _0x913802=_0x59631a;return this[_0x913802(0x246)][_0x913802(0x294)](_0x5969e2()),this;}},di=class extends q{[_0x59631a(0x29c)](_0x5a9ab2){const _0x56a212=_0x59631a;return this[_0x56a212(0x246)][_0x56a212(0x294)](_0x56d4e8(_0x5a9ab2)),this;}[_0x59631a(0x21f)](){const _0x3070d6=_0x59631a;return this['_builder'][_0x3070d6(0x294)](_0x3f317a()),this;}[_0x59631a(0x22b)](_0x4ca17b){const _0x17c993=_0x59631a;return this[_0x17c993(0x246)][_0x17c993(0x294)](_0x43b042(_0x4ca17b)),this;}[_0x59631a(0x272)](){const _0x5bdf4e=_0x59631a;return this[_0x5bdf4e(0x246)][_0x5bdf4e(0x294)](_0x51c6ee()),this;}[_0x59631a(0x2ce)](_0x384604){const _0x3612e8=_0x59631a;return this[_0x3612e8(0x246)][_0x3612e8(0x294)](_0x2a8d3e(_0x384604)),this;}['resetIncludeZeroValues'](){const _0x4da21d=_0x59631a;return this[_0x4da21d(0x246)][_0x4da21d(0x294)](_0x534338()),this;}},$=class extends G{[_0x59631a(0x2f3)](_0x30dc76){const _0x401356=_0x59631a;return this[_0x401356(0x246)][_0x401356(0x294)](_0x179a2f(_0x30dc76)),this;}[_0x59631a(0x303)](){const _0x34d839=_0x59631a;return this[_0x34d839(0x246)][_0x34d839(0x294)](_0x1f5126()),this;}[_0x59631a(0x2fc)](_0x28c99a,_0x5da3fe){const _0x1f31de=_0x59631a;return this[_0x1f31de(0x246)][_0x1f31de(0x294)](_0x2afa2b(_0x28c99a,_0x5da3fe)),this;}['clearSliceStyle'](_0x40fbe0){const _0x338f2e=_0x59631a;return this['_builder'][_0x338f2e(0x294)](_0x56eebe(_0x40fbe0)),this;}[_0x59631a(0x307)](_0x30b3b3){const _0x5c0ad7=_0x59631a;return this[_0x5c0ad7(0x246)][_0x5c0ad7(0x294)](_0x385a96(_0x30b3b3)),this;}[_0x59631a(0x20d)](){const _0x25dc91=_0x59631a;return this[_0x25dc91(0x246)][_0x25dc91(0x294)](_0x552a2c()),this;}[_0x59631a(0x2b7)](_0x155437){const _0x530036=_0x59631a;return this[_0x530036(0x246)]['apply'](_0x10a950(_0x155437)),this;}[_0x59631a(0x23a)](){return this['_builder']['apply'](_0x278cd5()),this;}[_0x59631a(0x2a4)](_0x170e61){const _0x35ddfa=_0x59631a;return this['_builder'][_0x35ddfa(0x294)](_0x3111e7(_0x170e61)),this;}[_0x59631a(0x265)](){const _0x56173c=_0x59631a;return this[_0x56173c(0x246)][_0x56173c(0x294)](_0x2d945e()),this;}[_0x59631a(0x23d)](_0x122101){const _0x2dd614=_0x59631a;return this[_0x2dd614(0x246)][_0x2dd614(0x294)](_0x190f8c(_0x122101)),this;}[_0x59631a(0x2a0)](){const _0x36227b=_0x59631a;return this[_0x36227b(0x246)]['apply'](_0x57ff61()),this;}[_0x59631a(0x22d)](_0x3ef865){const _0x4a8546=_0x59631a;return this['_builder'][_0x4a8546(0x294)](_0x3e796b(_0x3ef865)),this;}[_0x59631a(0x2c4)](){const _0x39c974=_0x59631a;return this[_0x39c974(0x246)][_0x39c974(0x294)](_0x2929ab()),this;}[_0x59631a(0x22e)](_0x553e99){const _0x4e950e=_0x59631a;return this[_0x4e950e(0x246)][_0x4e950e(0x294)](_0xb34cf9(_0x553e99)),this;}[_0x59631a(0x305)](){const _0x1d18fc=_0x59631a;return this[_0x1d18fc(0x246)]['apply'](_0x2e7060()),this;}[_0x59631a(0x29d)](_0x565c61){return this['_builder']['apply'](_0x502b1f(_0x565c61)),this;}[_0x59631a(0x2da)](){const _0x4baba9=_0x59631a;return this[_0x4baba9(0x246)][_0x4baba9(0x294)](_0x22d725()),this;}[_0x59631a(0x258)](_0x1d2058){const _0x2338fc=_0x59631a;return this['_builder'][_0x2338fc(0x294)](_0x1c4ce5(_0x1d2058)),this;}[_0x59631a(0x2de)](){const _0x206b79=_0x59631a;return this[_0x206b79(0x246)][_0x206b79(0x294)](_0x49788c()),this;}['setPieLabel'](_0x165dae){const _0x465c20=_0x59631a;return this[_0x465c20(0x246)]['apply'](_0x9b5254(_0x165dae)),this;}[_0x59631a(0x20a)](){return this['_builder']['apply'](_0x509a8d()),this;}},fi=class extends ei{[_0x59631a(0x2b7)](_0x215c9b){const _0x5e6ff2=_0x59631a;return this[_0x5e6ff2(0x246)][_0x5e6ff2(0x294)](_0x10a950(_0x215c9b)),this;}['resetExplosion'](){const _0x540586=_0x59631a;return this[_0x540586(0x246)]['apply'](_0x278cd5()),this;}[_0x59631a(0x2fc)](_0xd2e614,_0x4aef42){const _0x1fc08e=_0x59631a;return this[_0x1fc08e(0x246)][_0x1fc08e(0x294)](_0x2afa2b(_0xd2e614,_0x4aef42)),this;}[_0x59631a(0x1c3)](_0x4cddb9){const _0x5baaa0=_0x59631a;return this[_0x5baaa0(0x246)][_0x5baaa0(0x294)](_0x56eebe(_0x4cddb9)),this;}['setPieLabel'](_0x196eeb){const _0x29cc1b=_0x59631a;return this['_builder'][_0x29cc1b(0x294)](_0x9b5254(_0x196eeb)),this;}[_0x59631a(0x20a)](){const _0x12666f=_0x59631a;return this[_0x12666f(0x246)][_0x12666f(0x294)](_0x509a8d()),this;}[_0x59631a(0x2a4)](_0x352bc8){const _0x5bbd51=_0x59631a;return this[_0x5bbd51(0x246)]['apply'](_0x3111e7(_0x352bc8)),this;}[_0x59631a(0x265)](){const _0x2139c5=_0x59631a;return this[_0x2139c5(0x246)][_0x2139c5(0x294)](_0x2d945e()),this;}[_0x59631a(0x29d)](_0x3b6365){const _0x171212=_0x59631a;return this['_builder'][_0x171212(0x294)](_0x502b1f(_0x3b6365)),this;}[_0x59631a(0x2da)](){const _0x21d2f3=_0x59631a;return this[_0x21d2f3(0x246)][_0x21d2f3(0x294)](_0x22d725()),this;}},pi=class extends G{[_0x59631a(0x240)](_0x3c500a){const _0x222e44=_0x59631a;return this[_0x222e44(0x246)][_0x222e44(0x294)](_0x3d24f2(_0x3c500a)),this;}['resetShape'](){const _0x48ea4b=_0x59631a;return this['_builder'][_0x48ea4b(0x294)](_0x385381()),this;}[_0x59631a(0x25a)](_0x11c6ba){const _0x3a422e=_0x59631a;return this['_builder'][_0x3a422e(0x294)](_0x3e4f96(_0x11c6ba)),this;}['resetFill'](){const _0x10c085=_0x59631a;return this['_builder'][_0x10c085(0x294)](_0x1ba729()),this;}},mi=class extends G{['setLayout'](_0x4b8ca3){const _0xad7ddf=_0x59631a;return this[_0xad7ddf(0x246)][_0xad7ddf(0x294)](_0x32b48a(_0x4b8ca3)),this;}[_0x59631a(0x1cd)](){const _0x25a041=_0x59631a;return this['_builder'][_0x25a041(0x294)](_0x1e661c()),this;}[_0x59631a(0x1d7)](_0x5343eb){const _0xb94264=_0x59631a;return this[_0xb94264(0x246)]['apply'](_0x3e7b8b(_0x5343eb)),this;}['resetUseValueAsSymbolSize'](){const _0x3a7cd3=_0x59631a;return this['_builder'][_0x3a7cd3(0x294)](_0x22e7bb()),this;}[_0x59631a(0x306)](_0x1251b2){const _0x5aca5c=_0x59631a;return this['_builder'][_0x5aca5c(0x294)](_0x2ce137(_0x1251b2)),this;}[_0x59631a(0x242)](){const _0x83fd5c=_0x59631a;return this[_0x83fd5c(0x246)]['apply'](_0xc67b35()),this;}[_0x59631a(0x206)](_0xd79a02){const _0x2474c5=_0x59631a;return this[_0x2474c5(0x246)][_0x2474c5(0x294)](_0x705006(_0xd79a02)),this;}[_0x59631a(0x282)](){const _0x4748d9=_0x59631a;return this[_0x4748d9(0x246)][_0x4748d9(0x294)](_0x36007e()),this;}['setCircularLabelRotation'](_0x39f3ec){return this['_builder']['apply'](_0x5deb66(_0x39f3ec)),this;}['resetCircularLabelRotation'](){const _0xd33bdd=_0x59631a;return this[_0xd33bdd(0x246)][_0xd33bdd(0x294)](_0x1ea520()),this;}[_0x59631a(0x260)](_0xe8cbcf){const _0x645fb8=_0x59631a;return this[_0x645fb8(0x246)]['apply'](_0x294c2a(_0xe8cbcf)),this;}[_0x59631a(0x262)](){const _0x246c73=_0x59631a;return this['_builder'][_0x246c73(0x294)](_0x4ab6d5()),this;}},hi=class extends q{},gi=class extends G{[_0x59631a(0x2e7)](_0x297b2c){const _0x4282d9=_0x59631a;return this[_0x4282d9(0x246)][_0x4282d9(0x294)](_0x564df6(_0x297b2c)),this;}['setValueField'](_0x19da9a){const _0x5c03ed=_0x59631a;return this[_0x5c03ed(0x246)][_0x5c03ed(0x294)](_0x146a69(_0x19da9a)),this;}[_0x59631a(0x233)](_0x4d89ee){const _0xbcd3ad=_0x59631a;return this[_0xbcd3ad(0x246)][_0xbcd3ad(0x294)](_0x155a90(_0x4d89ee)),this;}[_0x59631a(0x21a)](){const _0x38e1d3=_0x59631a;return this[_0x38e1d3(0x246)][_0x38e1d3(0x294)](_0x13d79c()),this;}[_0x59631a(0x2aa)](_0x1ad78c){const _0x3f7edb=_0x59631a;return this[_0x3f7edb(0x246)]['apply'](_0x3fb017(_0x1ad78c)),this;}['resetCenterLabel'](){const _0xeaba08=_0x59631a;return this[_0xeaba08(0x246)][_0xeaba08(0x294)](_0x35644d()),this;}},_i=class extends G{[_0x59631a(0x2e7)](_0x34ea12){const _0x2a9841=_0x59631a;return this['_builder'][_0x2a9841(0x294)](_0x2d824a(_0x34ea12)),this;}[_0x59631a(0x228)](_0x27a3b7){return this['_builder']['apply'](_0xbe8bb(_0x27a3b7)),this;}[_0x59631a(0x1c8)](_0x11b12d){const _0x1e8eff=_0x59631a;return this['_builder'][_0x1e8eff(0x294)](_0x18ee62(_0x11b12d)),this;}[_0x59631a(0x30e)](){const _0x202b50=_0x59631a;return this[_0x202b50(0x246)]['apply'](_0x3c3f50()),this;}[_0x59631a(0x2a2)](_0x2effd7){const _0x480b8f=_0x59631a;return this[_0x480b8f(0x246)][_0x480b8f(0x294)](_0x3cf320(_0x2effd7)),this;}['resetTreemapLabel'](){const _0x1a43b3=_0x59631a;return this[_0x1a43b3(0x246)][_0x1a43b3(0x294)](_0x164c0f()),this;}},vi=class extends q{[_0x59631a(0x1f5)](_0x7fdd8e){const _0x3de959=_0x59631a;let _0x350648=this['_describe']()[_0x3de959(0x1c1)],_0x5abec3=new Map();_0x7fdd8e[_0x3de959(0x295)]((_0x36a437,_0x196854)=>{const _0x39f465=_0x3de959;if(!Number[_0x39f465(0x2e3)](_0x36a437[_0x39f465(0x278)])||_0x36a437['dataPointIndex']<0x0)throw Error('pointRoles.'+_0x196854+'\x20has\x20an\x20invalid\x20data-point\x20index.');let _0x33ada4=typeof _0x36a437[_0x39f465(0x1c1)]==_0x39f465(0x2a9)?yi(_0x36a437[_0x39f465(0x1c1)],_0x196854):bi(_0x36a437[_0x39f465(0x1c1)][_0x39f465(0x2b0)],_0x350648,_0x196854);_0x5abec3[_0x39f465(0x300)](_0x33ada4+':'+_0x36a437['dataPointIndex'],{..._0x36a437,'series':_0x33ada4});});let _0xfe1372=[..._0x5abec3[_0x3de959(0x253)]()][_0x3de959(0x26d)]((_0x500fa8,_0x3d4345)=>_0x500fa8[_0x3de959(0x1c1)]-_0x3d4345[_0x3de959(0x1c1)]||_0x500fa8[_0x3de959(0x278)]-_0x3d4345[_0x3de959(0x278)]);return this[_0x3de959(0x246)][_0x3de959(0x294)](_0x418b14(_0xfe1372)),this;}['setConnector'](_0x27155f){const _0x4d3a3b=_0x59631a;return this[_0x4d3a3b(0x246)][_0x4d3a3b(0x294)](_0x7ae403(_0x27155f)),this;}['clearConnector'](){const _0x20793e=_0x59631a;return this['_builder'][_0x20793e(0x294)](_0x1a7f4e()),this;}['setStackType'](_0x34e744){const _0x501287=_0x59631a;return this[_0x501287(0x246)][_0x501287(0x294)](_0x4b8f3f(_0x34e744)),this;}[_0x59631a(0x213)](){const _0x3448ef=_0x59631a;return this[_0x3448ef(0x246)][_0x3448ef(0x294)](_0x14321b()),this;}['setUseSubtotal'](_0x569f98){const _0x347b17=_0x59631a;return this[_0x347b17(0x246)][_0x347b17(0x294)](_0xbf10f7(_0x569f98)),this;}[_0x59631a(0x1d3)](){const _0x34a951=_0x59631a;return this[_0x34a951(0x246)]['apply'](_0xdb51c()),this;}[_0x59631a(0x281)](_0x407c23,_0x42e06c){const _0x54b7aa=_0x59631a;return this[_0x54b7aa(0x246)][_0x54b7aa(0x294)](_0x2812ed(_0x407c23,_0x28b56f['Positive'],_0x42e06c)),this;}[_0x59631a(0x243)](_0x5efd6c){const _0x313dae=_0x59631a;return this['_builder'][_0x313dae(0x294)](_0x2123d4(_0x5efd6c,_0x28b56f[_0x313dae(0x207)])),this;}['setNegativeStyle'](_0xbc96bf,_0x2404d3){const _0x525ef8=_0x59631a;return this[_0x525ef8(0x246)][_0x525ef8(0x294)](_0x2812ed(_0xbc96bf,_0x28b56f[_0x525ef8(0x21c)],_0x2404d3)),this;}[_0x59631a(0x2bb)](_0x164550){const _0xe9b7fe=_0x59631a;return this[_0xe9b7fe(0x246)][_0xe9b7fe(0x294)](_0x2123d4(_0x164550,_0x28b56f[_0xe9b7fe(0x21c)])),this;}[_0x59631a(0x2dc)](_0x713c26,_0x754769){const _0x557588=_0x59631a;return this[_0x557588(0x246)]['apply'](_0x2812ed(_0x713c26,_0x28b56f[_0x557588(0x2f6)],_0x754769)),this;}[_0x59631a(0x29f)](_0xa4eab3){const _0x248abc=_0x59631a;return this[_0x248abc(0x246)][_0x248abc(0x294)](_0x2123d4(_0xa4eab3,_0x28b56f[_0x248abc(0x2f6)])),this;}};function yi(_0x2e8418,_0x9eed7b){const _0x3cb971=_0x59631a;if(!Number[_0x3cb971(0x2e3)](_0x2e8418)||_0x2e8418<0x0)throw Error(_0x3cb971(0x1f4)+_0x9eed7b+_0x3cb971(0x217));return _0x2e8418;}function bi(_0x1979cf,_0x253523,_0x4ff599){const _0x10ff28=_0x59631a;let _0x3db18b=Object[_0x10ff28(0x208)](_0x253523)[_0x10ff28(0x227)](([,_0x47e84b])=>(_0x47e84b==null?void 0x0:_0x47e84b[_0x10ff28(0x2b0)])===_0x1979cf);if(_0x3db18b[_0x10ff28(0x26e)]!==0x1)throw Error(_0x10ff28(0x1f4)+_0x4ff599+_0x10ff28(0x20c)+_0x1979cf+'\x22.');return Number(_0x3db18b[0x0][0x0]);}function _0x198d(){const _0x974905=['filter','setValueField','setValueUnit','28686hzFYAL','setCumulativeLineStyle','ChartMarkLineLabelPosition','setHalfPie','setRosePie','Pie','setGaugeTitle','clearXAxis','size','setSunburstLabel','resetGaugeDetail','setGaugeAnchor','normalizeSource','resetGaugeMode','ColumnPercentStacked3D','setChordEmphasis','resetExplosion','arrange','clearSeries','setPaddingAngleEnabled','Area','clearCandlestickFields','setShape','describe','resetEmphasisEnabled','clearPositiveStyle','setBinWidth','clearLegend','_builder','30skmgPd','resetSeriesAxis','clearThreeD','ChartRadarShape','clearBar','resetShape','setRisingStyle','setXAxisTitle','setGap','setCellLabel','setGaugeScale','setUseDateAxis','values','setSource','clearPalette','getId','defineProperty','setValueScale','Donut','setFill','clearSubtitle','function','Treemap','ChartAreaLineStyle','Sunburst','setNodeShape','AreaPercentStacked','resetNodeShape','Univer5','univer2','clearSliceBorderColor','clearValueFields','Univer1','setAutoGradientFill','getType','getPendingConfig','resetGaugeAxisLine','resetChordNode','sort','length','seriesToCategory','default','backward','clearCumulativeLineStyle','setBinGap','update','Univer3','prototype','ChartSeriesTypeString','dataPointIndex','setCategoryFields','clearErrorBars','setErrorBars','removeTrendline','commit','univer\x20gradient4','clearAllSeriesOverrides','resetGaugeAnchor','setPositiveStyle','clearForce','ChartVisualMapType','resetVisualMapType','resetChordLayout','setAllSeriesStyle','Relation','setUseAbsoluteValue','setSize','setBinCount','Waterfall','setXAxis','univer4','setChordMapping','ChartSeriesClearTarget','clearHighLowLineStyle','univer3','bringToFront','5172201FYTsoB','apply','forEach','setChordLabel','setTrendline','clearDojiStyle','setDojiStyle','1772ywZKcY','setTheme','setBarStyle','setLabelLineVisible','clearTheme','clearSubtotalStyle','resetPaddingAngleEnabled','deepClone','setTreemapLabel','ChartPieLabelPosition','setSliceBorderColor','resetRepeat','1099FLfbbX','ChartAxisTickPosition','setChordRibbon','number','setCenterLabel','position','info','get','ColumnPercentStacked','object','name','_id','_context','ChartAxisName','resetInvalidValueStrategy','clearYAxisTitle','build','setExplosion','includes','clearTrendlines','setGaugeValueField','clearNegativeStyle','symbol','setAggregation','A\x20detached\x20Chart\x20Builder\x20cannot\x20update\x20an\x20existing\x20Chart.','clearYAxis','setUnderflowThreshold','setSubtitle','createConfig','toPrimitive','resetHalfPie','Candlestick','UniverGradient6','Area3D','getInfo','ChartThemeName','setGaugePointer','iterator','BarStacked','resetUseDateAxis','setIncludeZeroValues','setZOrder','Histogram','clearAxisPointer','setType','Bar3D','clearAreaLineStyle','ChartWaterfallPointRole','univer\x20gradient5','Bar','setGaugeAxisLabel','resetGaugeRanges','resetLabelLineVisible','clearValueRange','setSubtotalStyle','setDepthAxis','resetValueScale','_arrange','setPalette','ChartPieSecondaryPlotType','setValueRange','isInteger','setValueFields','type','resetGaugeAxisLabel','setHierarchyFields','UniverGradient1','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setGaugeRanges','BarStacked3D','clearLineStyle','setMarkLines','_createAdapter','resetGaugeTitle','description','resetGaugeScale','Line','setPieComposite','setGaugeMode','ChartLinePointShape','Subtotal','AreaPercentStacked3D','clearCategoryField','setVisualMapType','sendToBack','resetUseAbsoluteValue','setSliceStyle','clearMarkLines','setSeriesType','setTitle','set','Boxplot','Funnel','clearPieComposite','4567470SmNpHO','resetRosePie','setEmphasisEnabled','setDoughnutHole','resetGaugeAngles','bringForward','ChartTrendlineType','remove','ChartSeriesAxis','9805NBccQT','resetParentLabelLayout','setLegend','dataSource','setLineStyle','setAxisPointer','ChartSeriesLabelPosition','front','resetCandleWidth','series','assign','clearSliceStyle','BarPercentStacked','setGaugeAxisLine','setInvalidValueStrategy','extend','setParentLabelLayout','WordCloud','Heatmap','clearAggregation','setCategoryField','resetLayout','resetGaugeProgress','setSeries','setAreaLineStyle','_injector','isFinite','resetUseSubtotal','string','setMaskImage','patch','setUseValueAsSymbolSize','AreaStacked3D','ChartChordLabelPosition','setCandleWidth','clearRightYAxisTitle','22812NYDrdm','resetBinGap','_createBuilder','ChartAppearanceTarget','setHistogramField','setDataSource','Univer2','ColumnStacked3D','AreaStacked','builder','ChartChordFocusMode','forward','univer\x20gradient1','UniverGradient2','clearAppearance','setSeriesToCategory','_record','ChartAggregationTarget','Pie3D','clearCloseMarkerStyle','clearUnderflowThreshold','ChartInvalidValueType','clearTitle','univer1','pointRoles.','setPointRoles','ColumnStacked','setChordNode','clearValueUnit','univer6','setFallingStyle','config','2228022ijVkGH','Combination','clearBubbleMapping','ChartSunburstLabelPosition','setAppearance','RightY','clearRisingStyle','univer\x20gradient2','ChartWaterfallStackTypeEnum','setAbsolutePosition','setForce','Positive','entries','6456824zUvDAV','clearPieLabel','UniverGradient4','\x20must\x20resolve\x20to\x20exactly\x20one\x20series\x20named\x20\x22','clearDoughnutHole','_apply','clearHistogramField','ChartTitlePositionEnum','keys','Bubble','resetStackType','univer5','_commit','resetGaugeAxisTick','\x20has\x20an\x20invalid\x20series\x20index.','mergePending','setRepeat','resetSunburstLabel','setGaugeSplitLine','Negative','Radar','setBar','clearBarStyle','setYAxis','ChartTreemapParentLabelLayout','clearOverflowThreshold','_info','resetChordEmphasis','Column3D','sendBackward'];_0x198d=function(){return _0x974905;};return _0x198d();}var xi=class extends G{[_0x59631a(0x240)](_0x2a8af9){const _0x353d62=_0x59631a;return this['_builder'][_0x353d62(0x294)](_0x28f2ef(_0x2a8af9)),this;}[_0x59631a(0x24c)](){const _0x2e2f2a=_0x59631a;return this[_0x2e2f2a(0x246)][_0x2e2f2a(0x294)](_0x13c49b()),this;}[_0x59631a(0x1d5)](_0x4cd4bd){const _0x86e0ce=_0x59631a;return this[_0x86e0ce(0x246)][_0x86e0ce(0x294)](_0x51606b(_0x4cd4bd)),this;}['clearMaskImage'](){const _0x4840d9=_0x59631a;return this[_0x4840d9(0x246)][_0x4840d9(0x294)](_0x5312e4()),this;}[_0x59631a(0x219)](_0x22332c){const _0x3bf063=_0x59631a;return this[_0x3bf063(0x246)][_0x3bf063(0x294)](_0x399dab(_0x22332c)),this;}[_0x59631a(0x2a5)](){const _0x695398=_0x59631a;return this[_0x695398(0x246)][_0x695398(0x294)](_0xbf9158()),this;}};const Si=new Map();function Ci(_0x3f5716,_0x2288ca){const _0x32e214=_0x59631a;Si[_0x32e214(0x300)](_0x3f5716,_0x2288ca);}function wi(_0x4fd11f){const _0x413153=_0x59631a;let _0x4583e6=Si[_0x413153(0x2ad)](_0x4fd11f);if(!_0x4583e6)throw Error('Chart\x20builder\x20is\x20not\x20registered:\x20'+String(_0x4fd11f));return _0x4583e6;}const Ti={[_0x25c4a2['Line3D']]:ui,[_0x25c4a2[_0x59631a(0x225)]]:Z,[_0x25c4a2[_0x59631a(0x1e3)]]:Z,[_0x25c4a2[_0x59631a(0x238)]]:Z,[_0x25c4a2[_0x59631a(0x2d3)]]:Z,[_0x25c4a2[_0x59631a(0x2eb)]]:Z,[_0x25c4a2['BarPercentStacked3D']]:Z,[_0x25c4a2[_0x59631a(0x1ee)]]:fi,[_0x25c4a2[_0x59631a(0x2c7)]]:X,[_0x25c4a2[_0x59631a(0x1d8)]]:X,[_0x25c4a2[_0x59631a(0x2f7)]]:X,[_0x25c4a2[_0x59631a(0x2f2)]]:Q,[_0x25c4a2['LineStacked']]:Q,[_0x25c4a2['LinePercentStacked']]:Q,[_0x25c4a2['Column']]:q,[_0x25c4a2[_0x59631a(0x1f6)]]:q,[_0x25c4a2[_0x59631a(0x2ae)]]:q,[_0x25c4a2[_0x59631a(0x2d7)]]:q,[_0x25c4a2[_0x59631a(0x2cc)]]:q,[_0x25c4a2[_0x59631a(0x1c4)]]:q,[_0x25c4a2[_0x59631a(0x22f)]]:$,[_0x25c4a2[_0x59631a(0x259)]]:$,[_0x25c4a2[_0x59631a(0x23e)]]:J,[_0x25c4a2[_0x59631a(0x1e4)]]:J,[_0x25c4a2[_0x59631a(0x261)]]:J,[_0x25c4a2[_0x59631a(0x21d)]]:pi,[_0x25c4a2['Scatter']]:hi,[_0x25c4a2[_0x59631a(0x1fd)]]:ai,[_0x25c4a2[_0x59631a(0x1c9)]]:xi,[_0x25c4a2[_0x59631a(0x302)]]:oi,[_0x25c4a2[_0x59631a(0x212)]]:ni,[_0x25c4a2[_0x59631a(0x287)]]:mi,[_0x25c4a2[_0x59631a(0x28b)]]:vi,[_0x25c4a2['Pareto']]:di,[_0x25c4a2['Sankey']]:G,[_0x25c4a2[_0x59631a(0x1ca)]]:ci,[_0x25c4a2[_0x59631a(0x301)]]:ti,[_0x25c4a2[_0x59631a(0x2c5)]]:ri,[_0x25c4a2[_0x59631a(0x2d0)]]:li,[_0x25c4a2[_0x59631a(0x25d)]]:_i,[_0x25c4a2[_0x59631a(0x25f)]]:gi,[_0x25c4a2['Gauge']]:si,[_0x25c4a2['Chord']]:ii};for(let e of Object[_0x59631a(0x211)](Ti))Ci(e,Ti[e]);var Ei=function(_0x992e85){const _0x42f643=_0x59631a;return _0x992e85['Default']=_0x42f643(0x270),_0x992e85[_0x42f643(0x267)]=_0x42f643(0x1f3),_0x992e85[_0x42f643(0x1e2)]=_0x42f643(0x264),_0x992e85[_0x42f643(0x275)]=_0x42f643(0x291),_0x992e85['Univer4']=_0x42f643(0x28d),_0x992e85[_0x42f643(0x263)]=_0x42f643(0x214),_0x992e85['Univer6']=_0x42f643(0x1f9),_0x992e85[_0x42f643(0x2e8)]=_0x42f643(0x1e8),_0x992e85[_0x42f643(0x1e9)]=_0x42f643(0x203),_0x992e85['UniverGradient3']='univer\x20gradient3',_0x992e85[_0x42f643(0x20b)]=_0x42f643(0x27e),_0x992e85['UniverGradient5']=_0x42f643(0x2d6),_0x992e85[_0x42f643(0x2c6)]='univer\x20gradient6',_0x992e85;}(Ei||{}),Di=class extends _0x4561d4{get[_0x59631a(0x1ed)](){return _0xa0b14a;}get[_0x59631a(0x30a)](){return _0x3c0300;}get[_0x59631a(0x1df)](){return _0x54eb01;}get[_0x59631a(0x2b3)](){return _0xeee682;}get['ChartAxisPointerTarget'](){return _0x1b92cc;}get['ChartAxisTarget'](){return _0x4ad601;}get[_0x59631a(0x2a7)](){return _0x53430d;}get[_0x59631a(0x22c)](){return _0x4bd140;}get['ChartSemanticAxis'](){return _0x11c5de;}get[_0x59631a(0x1e6)](){return _0x128545;}get[_0x59631a(0x1d9)](){return _0x384c4a;}get['ChartChordRibbonColorMode'](){return _0x4fd74e;}get['ChartGaugeMode'](){return _0x23e4d5;}get['ChartGaugePointerShape'](){return _0x590c44;}get[_0x59631a(0x30c)](){return _0x1cba44;}get[_0x59631a(0x28f)](){return _0x8bfc2a;}get['ChartAllSeriesStyleTarget'](){return _0x257b7c;}get[_0x59631a(0x277)](){return _0x4abc75;}get[_0x59631a(0x1ff)](){return _0x540b66;}get['ChartTypeString'](){return _0x25c4a2;}get[_0x59631a(0x2c9)](){return Ei;}get[_0x59631a(0x283)](){return _0x40a857;}get['ChartWaterfallStyleTarget'](){return _0x28b56f;}get[_0x59631a(0x2d5)](){return _0x59a95b;}get[_0x59631a(0x25e)](){return _0xcad987;}get[_0x59631a(0x1f1)](){return _0xaaffb0;}get['ChartLabelAlignEnum'](){return _0x909822;}get['ChartLegendPositionEnum'](){return _0x36680d;}get[_0x59631a(0x2f5)](){return _0xb4f03;}get[_0x59631a(0x2a3)](){return _0x2c16a7;}get[_0x59631a(0x2e1)](){return _0x458093;}get[_0x59631a(0x24a)](){return _0x39ea2c;}get['ChartRelationChartLayoutEnum'](){return _0x1553bb;}get['ChartSelectModeEnum'](){return _0x3c78b3;}get[_0x59631a(0x313)](){return _0x23ea39;}get[_0x59631a(0x210)](){return _0x37370c;}get[_0x59631a(0x221)](){return _0x112c75;}get[_0x59631a(0x204)](){return _0x4433a3;}get['ChartWordCloudShapeEnum'](){return _0x1620cb;}};_0x4561d4['extend'](Di);var Oi=class extends _0x136a57{['registerTheme'](_0x30436a,_0x4d5ac2){const _0x524a88=_0x59631a;this[_0x524a88(0x1d1)]['get'](_0x2e8d39)['registerTheme'](_0x30436a,_0x4d5ac2);}};_0x136a57[_0x59631a(0x1c7)](Oi);function ki(_0x54ad28,_0x51c231,_0x1d7172=ji(_0x54ad28)){return new _0x51c231({'builder':_0x54ad28,..._0x1d7172});}function Ai(_0x58a5c8,_0x49af6b,_0x2f0aa2=ji(_0x58a5c8)){return ki(_0x58a5c8,wi(_0x49af6b),_0x2f0aa2);}function ji(_0x5db8a5){const _0x30eaa7=_0x59631a;return{'info':{'dataSource':[]},'normalizeSource':_0x12d9d1=>_0x12d9d1,'createConfig':()=>_0x177cc6(_0x5db8a5[_0x30eaa7(0x241)](),_0x5db8a5[_0x30eaa7(0x26a)]()),'requireSource':!0x1};}function Mi(_0x2ea89d){const _0x4728c3=_0x59631a;let _0xf7fe1=_0x4728c3(0x2ac)in _0x2ea89d,_0x152c6e=_0xf7fe1?_0x2ea89d['description']['id']:_0x5127b9(),_0x2553b6=_0xf7fe1?{..._0x37be35['deepClone'](_0x2ea89d[_0x4728c3(0x2f0)]),'type':_0x2ea89d[_0x4728c3(0x2e5)]}:{'id':_0x152c6e,'type':_0x2ea89d['type'],'autoGradientFill':_0x8e03e4['has'](_0x2ea89d[_0x4728c3(0x2e5)]),'series':{}};if(_0xf7fe1){let _0x21355f=[_0x25c4a2[_0x4728c3(0x2d7)],_0x25c4a2[_0x4728c3(0x2cc)],_0x25c4a2[_0x4728c3(0x1c4)]];if(_0x21355f[_0x4728c3(0x2b8)](_0x2ea89d[_0x4728c3(0x2f0)][_0x4728c3(0x2e5)])!==_0x21355f['includes'](_0x2ea89d[_0x4728c3(0x2e5)])){let _0x354169=_0x2553b6['axes'];_0x354169&&(_0x2553b6['axes']={..._0x354169,'x':_0x354169['y'],'y':_0x354169['x']});}}let _0x280788=_0xf7fe1?Ni(_0x2553b6):new _0x2403a2(_0x2553b6,_0x2ea89d['commitError'],_0x2ea89d['injector']),_0x504482=new _0x110caa(_0x152c6e,_0x2553b6,_0x280788),_0x331bbf=_0x37be35['deepClone'](_0xf7fe1?_0x2ea89d[_0x4728c3(0x2ac)]:{'position':void 0x0,'size':void 0x0,..._0x2ea89d['createInfo']()}),_0x29aff2=Ai(_0x504482,_0x2ea89d[_0x4728c3(0x2e5)],{'info':_0x331bbf,'normalizeSource':_0x2ea89d[_0x4728c3(0x236)],'createConfig':_0xf7fe1?()=>_0x4b0321(_0x504482['describe'](),_0x504482[_0x4728c3(0x26a)]()):()=>_0x177cc6(_0x504482[_0x4728c3(0x241)](),_0x504482['getPendingConfig']()),'requireSource':!_0xf7fe1});return Object[_0x4728c3(0x1c2)](_0x29aff2,_0x2ea89d['extension']({'getInfo':_0x203471=>_0x37be35[_0x4728c3(0x2a1)](_0x331bbf[_0x203471]),'setInfo':(_0x4fa43b,_0x4bcde7)=>{_0x331bbf[_0x4fa43b]=_0x37be35['deepClone'](_0x4bcde7);},'setAbsolutePosition':(_0x13e797,_0x493602)=>{const _0x1c22ee=_0x4728c3;_0x29aff2[_0x1c22ee(0x205)](_0x13e797,_0x493602);},'setSize':(_0x211441,_0x54de94)=>{const _0x11e622=_0x4728c3;_0x29aff2[_0x11e622(0x289)](_0x211441,_0x54de94);}}));}function Ni(_0x430714){const _0x27f732=_0x59631a;return{'describe':()=>_0x37be35[_0x27f732(0x2a1)](_0x430714),'commit':()=>{const _0x52fff1=_0x27f732;throw Error(_0x52fff1(0x2be));},'resolveData':()=>{throw Error('Chart\x20data\x20is\x20unavailable\x20from\x20a\x20detached\x20Chart\x20Builder.');}};}var Pi=class extends _0x5c577f{constructor(_0x45dd8e,_0x18745b,_0x482b48,_0x38d4f4){const _0x5ab114=_0x59631a;super(),this[_0x5ab114(0x2b1)]=_0x45dd8e,this[_0x5ab114(0x2ee)]=_0x18745b,this[_0x5ab114(0x1de)]=_0x482b48,this[_0x5ab114(0x1d1)]=_0x38d4f4;}[_0x59631a(0x256)](){const _0xae1757=_0x59631a;return this[_0xae1757(0x2b1)];}[_0x59631a(0x269)](){const _0x324977=_0x59631a;return this[_0x324977(0x2ee)]()[_0x324977(0x2c8)]()[_0x324977(0x1fb)]['type'];}[_0x59631a(0x2c8)](){const _0x5ba100=_0x59631a;return _0x37be35[_0x5ba100(0x2a1)](this[_0x5ba100(0x2ee)]()[_0x5ba100(0x2c8)]());}['toBuilder'](_0x7db340){const _0x42125f=_0x59631a;let _0x18d750=this[_0x42125f(0x2ee)](),_0x82fd8c=_0x18d750[_0x42125f(0x241)](),_0x3d9da8=_0x7db340??_0x82fd8c[_0x42125f(0x2e5)];return this[_0x42125f(0x1de)](_0x18d750[_0x42125f(0x2c8)](),_0x82fd8c,_0x3d9da8);}async[_0x59631a(0x274)](_0x25f721){const _0xd6260a=_0x59631a;return await this[_0xd6260a(0x2ee)]()[_0xd6260a(0x274)](_0x37be35[_0xd6260a(0x2a1)](_0x25f721)),this;}[_0x59631a(0x2d2)](_0x4945fc){return this['_commit']({'type':_0x4945fc});}[_0x59631a(0x2ff)](_0x57cc38){const _0x33d7a5=_0x59631a;return this[_0x33d7a5(0x20e)](_0x5b8f32(_0x57cc38));}[_0x59631a(0x1f2)](){return this['_apply'](_0x86095e());}[_0x59631a(0x2c1)](_0x4f1732){const _0x9405dd=_0x59631a;return this[_0x9405dd(0x20e)](_0x5d5302(_0x4f1732));}['clearSubtitle'](){const _0x1f157c=_0x59631a;return this[_0x1f157c(0x20e)](_0x31ba49());}[_0x59631a(0x30f)](_0x417dee){return this['_apply'](_0x7a6d9d(_0x417dee));}[_0x59631a(0x245)](){const _0xbfd842=_0x59631a;return this[_0xbfd842(0x20e)](_0x255701());}['setTheme'](_0x564d6f){const _0x562bbf=_0x59631a;return this[_0x562bbf(0x20e)](_0x19d377(_0x564d6f));}[_0x59631a(0x29e)](){return this['_apply'](_0x1fb95c());}[_0x59631a(0x2e0)](_0x2cb37f){return this['_apply'](_0x40d81a(_0x2cb37f));}[_0x59631a(0x255)](){return this['_apply'](_0x423eb9());}[_0x59631a(0x200)](_0x4c7423){const _0x3b366b=_0x59631a;return this[_0x3b366b(0x20e)](_0x5eee77(_0x4c7423));}['clearAppearance'](_0x416a53){const _0x595918=_0x59631a;return this[_0x595918(0x20e)](_0x2fea23(_0x416a53));}[_0x59631a(0x268)](_0x2fa4b9){const _0xd0b2=_0x59631a;return this[_0xd0b2(0x20e)](_0x5a6677(_0x2fa4b9));}['resetAutoGradientFill'](){const _0x3db0ff=_0x59631a;return this[_0x3db0ff(0x20e)](_0x1bb352());}[_0x59631a(0x1c6)](_0x14916b){const _0x254d5f=_0x59631a;return this[_0x254d5f(0x20e)](_0x35772c(_0x14916b));}[_0x59631a(0x2b4)](){const _0x34e0bb=_0x59631a;return this[_0x34e0bb(0x20e)](_0x21be08());}[_0x59631a(0x1cc)](_0x51e5d4){const _0x2a0be9=_0x59631a;return this[_0x2a0be9(0x20e)](_0x46d8c5(_0x51e5d4));}[_0x59631a(0x1eb)](_0x1f79a3){const _0x32be81=_0x59631a;return this['_commit']({'mapping':{'seriesToCategory':_0x224247({'seriesToCategory':_0x1f79a3})[_0x32be81(0x26f)]}});}['setCategoryFields'](_0x47878c){const _0x53d8a7=_0x59631a;return this[_0x53d8a7(0x215)](Yr(_0x47878c));}['clearCategoryFields'](){const _0x557d1a=_0x59631a;return this[_0x557d1a(0x215)](Xr());}['setMultiLevelCategoryAxis'](_0x56921d){const _0x3e4fee=_0x59631a;return this[_0x3e4fee(0x215)]({'mapping':{'multiLevelCategoryAxis':_0x56921d}});}['clearCategoryField'](){const _0x4eaaca=_0x59631a;return this[_0x4eaaca(0x20e)](_0x55e5f6());}[_0x59631a(0x2e4)](_0x464ee5){const _0x46a190=_0x59631a;return this[_0x46a190(0x20e)](_0x2a2d99(_0x464ee5));}[_0x59631a(0x266)](){const _0x380efd=_0x59631a;return this[_0x380efd(0x20e)](_0x1020d5());}['setAggregation'](_0x3442cb){return this['_apply'](_0x1af2b2(_0x3442cb));}[_0x59631a(0x1cb)](_0x29d296){const _0x352975=_0x59631a;return this[_0x352975(0x20e)](_0x4f2266(_0x29d296));}async[_0x59631a(0x1e1)](_0x4836b6){const _0x4cf29a=_0x59631a;return await this['_createAdapter']()[_0x4cf29a(0x1e1)](_0x4836b6),this;}['setAbsolutePosition'](_0x109c00,_0x17bbf3){const _0x2665a6=_0x59631a;return this[_0x2665a6(0x2ee)]()['setAbsolutePosition'](_0x109c00,_0x17bbf3),this;}[_0x59631a(0x289)](_0x195805,_0x1877a7){const _0x229fd7=_0x59631a;return this[_0x229fd7(0x2ee)]()[_0x229fd7(0x289)](_0x195805,_0x1877a7),this;}[_0x59631a(0x292)](){const _0x18057a=_0x59631a;return this[_0x18057a(0x2df)](_0x3373db[_0x18057a(0x314)]);}[_0x59631a(0x309)](){const _0x575aac=_0x59631a;return this[_0x575aac(0x2df)](_0x3373db[_0x575aac(0x1e7)]);}[_0x59631a(0x226)](){const _0x27ec29=_0x59631a;return this['_arrange'](_0x3373db[_0x27ec29(0x271)]);}[_0x59631a(0x2fa)](){const _0x231043=_0x59631a;return this[_0x231043(0x2df)](_0x3373db['back']);}[_0x59631a(0x2cf)](_0x2407cb){const _0x26d064=_0x59631a;return this[_0x26d064(0x2ee)]()['setZOrder'](_0x2407cb),this;}async[_0x59631a(0x30b)](){const _0x128e1a=_0x59631a;return this[_0x128e1a(0x2ee)]()[_0x128e1a(0x30b)]();}[_0x59631a(0x27b)](_0x2d4def){const _0x459ce3=_0x59631a;return this[_0x459ce3(0x215)]({'errorBars':[..._0x2d4def]});}[_0x59631a(0x27a)](){const _0x58c099=_0x59631a;return this[_0x58c099(0x215)]({'errorBars':[]});}['_arrange'](_0x8b49d7){const _0x68dc9e=_0x59631a;return this[_0x68dc9e(0x2ee)]()[_0x68dc9e(0x23b)](_0x8b49d7),this;}[_0x59631a(0x20e)](_0x563b96){const _0x1d3eba=_0x59631a;return this[_0x1d3eba(0x215)](_0x563b96[_0x1d3eba(0x1d6)]);}['_commit'](_0x23f334){const _0x59a588=_0x59631a;return this['_createAdapter']()[_0x59a588(0x27d)](_0x23f334),this;}};function _0x1ca9(_0x5a9470,_0x2107b4){_0x5a9470=_0x5a9470-0x1c1;const _0x198d57=_0x198d();let _0x1ca967=_0x198d57[_0x5a9470];return _0x1ca967;}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 je,clearAggregation as d,clearAllSeriesOverrides as f,clearAllSeriesStyle as p,clearAppearance as m,clearAreaLineStyle as Me,clearAxisPointer as Ne,clearAxisTitle as h,clearBar as Pe,clearBubbleMapping as Fe,clearCandlestickFields as Ie,clearCategoryField as Le,clearCellLabel as Re,clearCumulativeLineStyle as ze,clearDepthAxis as Be,clearDojiStyle as Ve,clearDoughnutHole as He,clearFallingStyle as Ue,clearHistogramField as We,clearHistogramOverflowThreshold as Ge,clearHistogramUnderflowThreshold as Ke,clearLegend as qe,clearLineStyle as Je,clearMarkLines as Ye,clearMaskImage as Xe,clearPalette as Ze,clearParetoBarStyle as Qe,clearPieComposite as $e,clearPieLabel as et,clearRelationForce as tt,clearRightYAxis as nt,clearRisingStyle as rt,clearSeries as it,clearSliceBorderColor as at,clearSliceStyle as ot,clearSubtitle as st,clearTheme as ct,clearThreeD as lt,clearTitle as ut,clearTrendlines as dt,clearValueFields as ft,clearValueRange as pt,clearValueUnit as mt,clearWaterfallConnector as ht,clearWaterfallStyle as g,clearXAxis as _,clearYAxis as v,removeTrendline as gt,resetAutoGradientFill as y,resetCandleWidth as _t,resetChordEmphasis as vt,resetChordLabel as yt,resetChordLayout as bt,resetChordNode as xt,resetChordRibbon as St,resetCircularLabelRotation as Ct,resetCombinationSeriesAxis as wt,resetCombinationSeriesType as Tt,resetEmphasisEnabled as Et,resetExplosion as b,resetFunnelGap as Dt,resetGaugeAnchor as Ot,resetGaugeAngles as kt,resetGaugeAxisLabel as At,resetGaugeAxisLine as jt,resetGaugeAxisTick as Mt,resetGaugeDetail as Nt,resetGaugeMode as Pt,resetGaugePointer as Ft,resetGaugeProgress as It,resetGaugeRanges as Lt,resetGaugeScale as Rt,resetGaugeSplitLine as zt,resetGaugeTitle as Bt,resetHalfPie as Vt,resetHistogramBinGap as Ht,resetHistogramBinning as Ut,resetIncludeZeroValues as Wt,resetInvalidValueStrategy as x,resetLabelLineVisible as S,resetPaddingAngleEnabled as Gt,resetRadarAxisLabel as Kt,resetRadarFill as qt,resetRadarShape as Jt,resetRelationLayout as Yt,resetRelationNodeShape as Xt,resetRosePie as Zt,resetSunburstCenterLabel as Qt,resetSunburstLabel as $t,resetTreemapLabel as en,resetTreemapParentLabelLayout as tn,resetUseAbsoluteValue as nn,resetUseDateAxis as rn,resetUseSubtotal as an,resetUseValueAsSymbolSize as on,resetValueScale as sn,resetVisualMapType as cn,resetWaterfallStackType as ln,resetWordCloudRepeat as un,resetWordCloudShape as dn,setAggregation as C,setAllSeriesStyle as w,setAppearance as T,setAreaLineStyle as E,setAutoGradientFill as D,setAxisPointer as fn,setAxisTitle as O,setBar as k,setBubbleMapping as pn,setCandleWidth as mn,setCandlestickFields as hn,setCategoryField as A,setCellLabel as gn,setChordEmphasis as _n,setChordLabel as vn,setChordLayout as yn,setChordMapping as bn,setChordNode as xn,setChordRibbon as Sn,setCircularLabelRotation as Cn,setCombinationSeriesAxis as wn,setCombinationSeriesType as Tn,setCumulativeLineStyle as En,setDepthAxis as Dn,setDojiStyle as On,setDoughnutHole as kn,setEmphasisEnabled as An,setExplosion as j,setFallingStyle as jn,setFunnelGap as Mn,setGaugeAnchor as Nn,setGaugeAngles as Pn,setGaugeAxisLabel as Fn,setGaugeAxisLine as In,setGaugeAxisTick as Ln,setGaugeDetail as Rn,setGaugeMode as zn,setGaugePointer as Bn,setGaugeProgress as Vn,setGaugeRanges as Hn,setGaugeScale as Un,setGaugeSplitLine as Wn,setGaugeTicks as Gn,setGaugeTitle as Kn,setGaugeValueField as qn,setHalfPie as Jn,setHistogramBinCount as Yn,setHistogramBinGap as Xn,setHistogramBinWidth as Zn,setHistogramField as Qn,setHistogramOverflowThreshold as $n,setHistogramUnderflowThreshold as er,setIncludeZeroValues as tr,setInvalidValueStrategy as M,setLabelLineVisible as N,setLegend as P,setLineStyle as F,setMarkLines as nr,setMaskImage as rr,setPaddingAngleEnabled as ir,setPalette as I,setParetoBarStyle as ar,setPieComposite as or,setPieLabel as L,setRadarAxisLabel as sr,setRadarFill as cr,setRadarShape as lr,setRelationForce as ur,setRelationLayout as dr,setRelationNodeShape as fr,setRightYAxis as pr,setRisingStyle as mr,setRosePie as hr,setSeries as R,setSliceBorderColor as z,setSliceStyle as gr,setSubtitle as _r,setSunburstCenterLabel as vr,setSunburstHierarchyFields as yr,setSunburstLabel as br,setSunburstValueField as xr,setTheme as Sr,setThreeD as Cr,setTitle as wr,setTreemapHierarchyFields as Tr,setTreemapLabel as Er,setTreemapParentLabelLayout as Dr,setTreemapValueField as Or,setTrendline as kr,setUseAbsoluteValue as Ar,setUseDateAxis as jr,setUseSubtotal as Mr,setUseValueAsSymbolSize as Nr,setValueFields as Pr,setValueRange as Fr,setValueScale as Ir,setValueUnit as Lr,setVisualMapType as Rr,setWaterfallConnector as zr,setWaterfallPointRoles as Br,setWaterfallStackType as Vr,setWaterfallStyle as B,setWordCloudRepeat as Hr,setWordCloudShape as Ur,setXAxis as Wr,setYAxis as Gr,toChartCreateConfig as Kr,toChartCreateConfigSnapshot as qr}from"@univerjs-pro/engine-chart";import{ArrangeTypeEnum as V,Tools as H,generateRandomId as Jr}from"@univerjs/core";import{FBase as Yr,FEnum as Xr,FUniver as Zr}from"@univerjs/core/facade";function Qr(e){return e.forEach(e=>A(e)),{mapping:{categoryIndexes:[...e]}}}function $r(){return{mapping:{categoryIndexes:null}}}function U(e){"@babel/helpers - typeof";return U=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},U(e)}function ei(e,t){if(U(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(U(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ti(e){var t=ei(e,`string`);return U(t)==`symbol`?t:t+``}function ni(e,t,n){return(t=ti(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W=class{constructor(e){this._context=e,ni(this,`_builder`,void 0),ni(this,`_info`,void 0),this._builder=e.builder,this._info=e.info}setSource(e){return this._info.dataSource=H.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=H.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(wr(e)),this}clearTitle(){return this._builder.apply(ut()),this}setSubtitle(e){return this._builder.apply(_r(e)),this}clearSubtitle(){return this._builder.apply(st()),this}setLegend(e){return this._builder.apply(P(e)),this}clearLegend(){return this._builder.apply(qe()),this}setTheme(e){return this._builder.apply(Sr(e)),this}clearTheme(){return this._builder.apply(ct()),this}setPalette(e){return this._builder.apply(I(e)),this}clearPalette(){return this._builder.apply(Ze()),this}setAppearance(e){return this._builder.apply(T(e)),this}clearAppearance(e){return this._builder.apply(m(e)),this}setAutoGradientFill(e){return this._builder.apply(D(e)),this}resetAutoGradientFill(){return this._builder.apply(y()),this}setInvalidValueStrategy(e){return this._builder.apply(M(e)),this}resetInvalidValueStrategy(){return this._builder.apply(x()),this}setCategoryField(e){return this._builder.apply(A(e)),this}setSeriesToCategory(e){return this._builder.mergePending({mapping:{seriesToCategory:je({seriesToCategory:e}).seriesToCategory}}),this}setCategoryFields(e){return this._builder.mergePending(Qr(e)),this}clearCategoryFields(){return this._builder.mergePending($r()),this}setMultiLevelCategoryAxis(e){return this._builder.mergePending({mapping:{multiLevelCategoryAxis:e}}),this}clearCategoryField(){return this._builder.apply(Le()),this}setValueFields(e){return this._builder.apply(Pr(e)),this}clearValueFields(){return this._builder.apply(ft()),this}setAggregation(e){return this._builder.apply(C(e)),this}clearAggregation(e){return this._builder.apply(d(e)),this}},G=class extends W{setMarkLines(e){return this._builder.apply(nr(e)),this}clearMarkLines(){return this._builder.apply(Ye()),this}setXAxis(e){return this._builder.apply(Wr(e)),this}clearXAxis(e){return this._builder.apply(_(e)),this}setYAxis(e){return this._builder.apply(Gr(e)),this}clearYAxis(e){return this._builder.apply(v(e)),this}setRightYAxis(e){return this._builder.apply(pr(e)),this}clearRightYAxis(e){return this._builder.apply(nt(e)),this}setXAxisTitle(e){return this._builder.apply(O(a.X,e)),this}clearXAxisTitle(){return this._builder.apply(h(a.X)),this}setYAxisTitle(e){return this._builder.apply(O(a.Y,e)),this}clearYAxisTitle(){return this._builder.apply(h(a.Y)),this}setRightYAxisTitle(e){return this._builder.apply(O(a.RightY,e)),this}clearRightYAxisTitle(){return this._builder.apply(h(a.RightY)),this}setUseDateAxis(e){return this._builder.apply(jr(e)),this}resetUseDateAxis(){return this._builder.apply(rn()),this}},K=class extends G{setErrorBars(e){return this._builder.mergePending({errorBars:[...e]}),this}clearErrorBars(){return this._builder.mergePending({errorBars:[]}),this}setBar(e){return this._builder.apply(k(e)),this}clearBar(){return this._builder.apply(Pe()),this}setSeries(e,t){return this._builder.apply(R(e,t)),this}clearSeries(e,t){return this._builder.apply(it(e,t)),this}clearAllSeriesOverrides(){return this._builder.apply(f()),this}setAllSeriesStyle(e){return this._builder.apply(w(e)),this}clearAllSeriesStyle(e){return this._builder.apply(p(e)),this}setTrendline(e,t){return this._builder.apply(kr(e,t)),this}removeTrendline(e,t){return this._builder.apply(gt(this._builder.describe(),e,t)),this}clearTrendlines(e){return this._builder.apply(dt(this._builder.describe(),e)),this}setAxisPointer(e){return this._builder.apply(fn(e)),this}clearAxisPointer(e){return this._builder.apply(Ne(e)),this}},q=class extends K{setAreaLineStyle(e){return this._builder.apply(E(e)),this}clearAreaLineStyle(){return this._builder.apply(Me()),this}},ri=class extends W{setThreeD(e){return this._builder.apply(Cr(e)),this}clearThreeD(){return this._builder.apply(lt()),this}},J=class extends ri{setXAxis(e){return this._builder.apply(Wr(e)),this}clearXAxis(e){return this._builder.apply(_(e)),this}setYAxis(e){return this._builder.apply(Gr(e)),this}clearYAxis(e){return this._builder.apply(v(e)),this}setDepthAxis(e){return this._builder.apply(Dn(e)),this}clearDepthAxis(){return this._builder.apply(Be()),this}setSeries(e,t){return this._builder.apply(R(e,t)),this}clearSeries(e){return this._builder.apply(it(e)),this}setAllSeriesStyle(e){return this._builder.apply(w(e)),this}clearAllSeriesStyle(){return this._builder.apply(p()),this}clearAllSeriesOverrides(){return this._builder.apply(f()),this}},Y=class extends J{setAreaLineStyle(e){return this._builder.apply(E(e)),this}clearAreaLineStyle(){return this._builder.apply(Me()),this}},ii=class extends K{},ai=class extends K{setBubbleMapping(e){return this._builder.apply(pn(e)),this}clearBubbleMapping(){return this._builder.apply(Fe()),this}},oi=class extends G{setCandlestickFields(e){return this._builder.apply(hn(e)),this}clearCandlestickFields(){return this._builder.apply(Ie()),this}setRisingStyle(e){return this._builder.apply(mr(e)),this}clearRisingStyle(){return this._builder.apply(rt()),this}setFallingStyle(e){return this._builder.apply(jn(e)),this}clearFallingStyle(){return this._builder.apply(Ue()),this}setDojiStyle(e){return this._builder.apply(On(e)),this}clearDojiStyle(){return this._builder.apply(Ve()),this}setCandleWidth(e){return this._builder.apply(mn(e)),this}resetCandleWidth(){return this._builder.apply(_t()),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}},si=class extends W{setChordMapping(e){return this._builder.apply(bn(e)),this}setChordLayout(e){return this._builder.apply(yn(e)),this}resetChordLayout(){return this._builder.apply(bt()),this}setChordNode(e){return this._builder.apply(xn(e)),this}resetChordNode(){return this._builder.apply(xt()),this}setChordLabel(e){return this._builder.apply(vn(e)),this}resetChordLabel(){return this._builder.apply(yt()),this}setChordRibbon(e){return this._builder.apply(Sn(e)),this}resetChordRibbon(){return this._builder.apply(St()),this}setChordEmphasis(e){return this._builder.apply(_n(e)),this}resetChordEmphasis(){return this._builder.apply(vt()),this}},X=class extends J{setBar(e){return this._builder.apply(k(e)),this}clearBar(){return this._builder.apply(Pe()),this}},ci=class extends K{setSeriesType(e,t){return this._builder.apply(Tn(e,t)),this}resetSeriesType(e){return this._builder.apply(Tt(e)),this}setSeriesAxis(e,t){return this._builder.apply(wn(e,t)),this}resetSeriesAxis(e){return this._builder.apply(wt(e)),this}},li=class extends W{setGap(e){return this._builder.apply(Mn(e)),this}resetGap(){return this._builder.apply(Dt()),this}setUseAbsoluteValue(e){return this._builder.apply(Ar(e)),this}resetUseAbsoluteValue(){return this._builder.apply(nn()),this}},ui=class extends W{setGaugeValueField(e){return this._builder.apply(qn(e)),this}setGaugeMode(e){return this._builder.apply(zn(e)),this}resetGaugeMode(){return this._builder.apply(Pt()),this}setGaugeScale(e){return this._builder.apply(Un(e)),this}resetGaugeScale(){return this._builder.apply(Rt()),this}setGaugeTicks(e){return this._builder.apply(Gn(e)),this}setGaugeAngles(e){return this._builder.apply(Pn(e)),this}resetGaugeAngles(){return this._builder.apply(kt()),this}setGaugeRanges(e){return this._builder.apply(Hn(e)),this}resetGaugeRanges(){return this._builder.apply(Lt()),this}setGaugeAxisLine(e){return this._builder.apply(In(e)),this}resetGaugeAxisLine(){return this._builder.apply(jt()),this}setGaugeAxisTick(e){return this._builder.apply(Ln(e)),this}resetGaugeAxisTick(){return this._builder.apply(Mt()),this}setGaugeSplitLine(e){return this._builder.apply(Wn(e)),this}resetGaugeSplitLine(){return this._builder.apply(zt()),this}setGaugeAxisLabel(e){return this._builder.apply(Fn(e)),this}resetGaugeAxisLabel(){return this._builder.apply(At()),this}setGaugePointer(e){return this._builder.apply(Bn(e)),this}resetGaugePointer(){return this._builder.apply(Ft()),this}setGaugeAnchor(e){return this._builder.apply(Nn(e)),this}resetGaugeAnchor(){return this._builder.apply(Ot()),this}setGaugeProgress(e){return this._builder.apply(Vn(e)),this}resetGaugeProgress(){return this._builder.apply(It()),this}setGaugeTitle(e){return this._builder.apply(Kn(e)),this}resetGaugeTitle(){return this._builder.apply(Bt()),this}setGaugeDetail(e){return this._builder.apply(Rn(e)),this}resetGaugeDetail(){return this._builder.apply(Nt()),this}},di=class extends G{setVisualMapType(e){return this._builder.apply(Rr(e)),this}resetVisualMapType(){return this._builder.apply(cn()),this}setValueRange(e,t){return this._builder.apply(Fr(e,t)),this}clearValueRange(){return this._builder.apply(pt()),this}setCellLabel(e){return this._builder.apply(gn(e)),this}clearCellLabel(){return this._builder.apply(Re()),this}setValueUnit(e){return this._builder.apply(Lr(e)),this}clearValueUnit(){return this._builder.apply(mt()),this}},Z=class extends K{setHistogramField(e){return this._builder.apply(Qn(e)),this}clearHistogramField(){return this._builder.apply(We()),this}setBinCount(e){return Number.isFinite(e)&&this._builder.apply(Yn(e)),this}setBinWidth(e){return Number.isFinite(e)&&this._builder.apply(Zn(e)),this}resetBinning(){return this._builder.apply(Ut()),this}setUnderflowThreshold(e){return Number.isFinite(e)&&this._builder.apply(er(e)),this}clearUnderflowThreshold(){return this._builder.apply(Ke()),this}setOverflowThreshold(e){return Number.isFinite(e)&&this._builder.apply($n(e)),this}clearOverflowThreshold(){return this._builder.apply(Ge()),this}setBinGap(e){return Number.isFinite(e)&&this._builder.apply(Xn(e)),this}resetBinGap(){return this._builder.apply(Ht()),this}},Q=class extends K{setLineStyle(e){return this._builder.apply(F(e)),this}clearLineStyle(){return this._builder.apply(Je()),this}},fi=class extends J{setLineStyle(e){return this._builder.apply(F(e)),this}clearLineStyle(){return this._builder.apply(Je()),this}},pi=class extends K{setBarStyle(e){return this._builder.apply(ar(e)),this}clearBarStyle(){return this._builder.apply(Qe()),this}setCumulativeLineStyle(e){return this._builder.apply(En(e)),this}clearCumulativeLineStyle(){return this._builder.apply(ze()),this}setIncludeZeroValues(e){return this._builder.apply(tr(e)),this}resetIncludeZeroValues(){return this._builder.apply(Wt()),this}},$=class extends W{setPieComposite(e){return this._builder.apply(or(e)),this}clearPieComposite(){return this._builder.apply($e()),this}setSliceStyle(e,t){return this._builder.apply(gr(e,t)),this}clearSliceStyle(e){return this._builder.apply(ot(e)),this}setDoughnutHole(e){return this._builder.apply(kn(e)),this}clearDoughnutHole(){return this._builder.apply(He()),this}setExplosion(e){return this._builder.apply(j(e)),this}resetExplosion(){return this._builder.apply(b()),this}setSliceBorderColor(e){return this._builder.apply(z(e)),this}clearSliceBorderColor(){return this._builder.apply(at()),this}setPaddingAngleEnabled(e){return this._builder.apply(ir(e)),this}resetPaddingAngleEnabled(){return this._builder.apply(Gt()),this}setHalfPie(e){return this._builder.apply(Jn(e)),this}resetHalfPie(){return this._builder.apply(Vt()),this}setRosePie(e){return this._builder.apply(hr(e)),this}resetRosePie(){return this._builder.apply(Zt()),this}setLabelLineVisible(e){return this._builder.apply(N(e)),this}resetLabelLineVisible(){return this._builder.apply(S()),this}setValueScale(e){return this._builder.apply(Ir(e)),this}resetValueScale(){return this._builder.apply(sn()),this}setPieLabel(e){return this._builder.apply(L(e)),this}clearPieLabel(){return this._builder.apply(et()),this}},mi=class extends ri{setExplosion(e){return this._builder.apply(j(e)),this}resetExplosion(){return this._builder.apply(b()),this}setSliceStyle(e,t){return this._builder.apply(gr(e,t)),this}clearSliceStyle(e){return this._builder.apply(ot(e)),this}setPieLabel(e){return this._builder.apply(L(e)),this}clearPieLabel(){return this._builder.apply(et()),this}setSliceBorderColor(e){return this._builder.apply(z(e)),this}clearSliceBorderColor(){return this._builder.apply(at()),this}setLabelLineVisible(e){return this._builder.apply(N(e)),this}resetLabelLineVisible(){return this._builder.apply(S()),this}},hi=class extends W{setShape(e){return this._builder.apply(lr(e)),this}resetShape(){return this._builder.apply(Jt()),this}setFill(e){return this._builder.apply(cr(e)),this}resetFill(){return this._builder.apply(qt()),this}setRadarAxisLabel(e){return this._builder.apply(sr(e)),this}resetRadarAxisLabel(){return this._builder.apply(Kt()),this}},gi=class extends W{setLayout(e){return this._builder.apply(dr(e)),this}resetLayout(){return this._builder.apply(Yt()),this}setUseValueAsSymbolSize(e){return this._builder.apply(Nr(e)),this}resetUseValueAsSymbolSize(){return this._builder.apply(on()),this}setEmphasisEnabled(e){return this._builder.apply(An(e)),this}resetEmphasisEnabled(){return this._builder.apply(Et()),this}setForce(e){return this._builder.apply(ur(e)),this}clearForce(){return this._builder.apply(tt()),this}setCircularLabelRotation(e){return this._builder.apply(Cn(e)),this}resetCircularLabelRotation(){return this._builder.apply(Ct()),this}setNodeShape(e){return this._builder.apply(fr(e)),this}resetNodeShape(){return this._builder.apply(Xt()),this}},_i=class extends K{},vi=class extends W{setHierarchyFields(e){return this._builder.apply(yr(e)),this}setValueField(e){return this._builder.apply(xr(e)),this}setSunburstLabel(e){return this._builder.apply(br(e)),this}resetSunburstLabel(){return this._builder.apply($t()),this}setCenterLabel(e){return this._builder.apply(vr(e)),this}resetCenterLabel(){return this._builder.apply(Qt()),this}},yi=class extends W{setHierarchyFields(e){return this._builder.apply(Tr(e)),this}setValueField(e){return this._builder.apply(Or(e)),this}setParentLabelLayout(e){return this._builder.apply(Dr(e)),this}resetParentLabelLayout(){return this._builder.apply(tn()),this}setTreemapLabel(e){return this._builder.apply(Er(e)),this}resetTreemapLabel(){return this._builder.apply(en()),this}},bi=class extends K{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`?xi(e.series,r):Si(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(Br(r)),this}setConnector(e){return this._builder.apply(zr(e)),this}clearConnector(){return this._builder.apply(ht()),this}setStackType(e){return this._builder.apply(Vr(e)),this}resetStackType(){return this._builder.apply(ln()),this}setUseSubtotal(e){return this._builder.apply(Mr(e)),this}resetUseSubtotal(){return this._builder.apply(an()),this}setPositiveStyle(e,t){return this._builder.apply(B(e,u.Positive,t)),this}clearPositiveStyle(e){return this._builder.apply(g(e,u.Positive)),this}setNegativeStyle(e,t){return this._builder.apply(B(e,u.Negative,t)),this}clearNegativeStyle(e){return this._builder.apply(g(e,u.Negative)),this}setSubtotalStyle(e,t){return this._builder.apply(B(e,u.Subtotal,t)),this}clearSubtotalStyle(e){return this._builder.apply(g(e,u.Subtotal)),this}};function xi(e,t){if(!Number.isInteger(e)||e<0)throw Error(`pointRoles.${t} has an invalid series index.`);return e}function Si(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 Ci=class extends W{setShape(e){return this._builder.apply(Ur(e)),this}resetShape(){return this._builder.apply(dn()),this}setMaskImage(e){return this._builder.apply(rr(e)),this}clearMaskImage(){return this._builder.apply(Xe()),this}setRepeat(e){return this._builder.apply(Hr(e)),this}resetRepeat(){return this._builder.apply(un()),this}};const wi=/* @__PURE__ */ new Map;function Ti(e,t){wi.set(e,t)}function Ei(e){let t=wi.get(e);if(!t)throw Error(`Chart builder is not registered: ${String(e)}`);return t}const Di={[l.Line3D]:fi,[l.Column3D]:X,[l.ColumnStacked3D]:X,[l.ColumnPercentStacked3D]:X,[l.Bar3D]:X,[l.BarStacked3D]:X,[l.BarPercentStacked3D]:X,[l.Pie3D]:mi,[l.Area3D]:Y,[l.AreaStacked3D]:Y,[l.AreaPercentStacked3D]:Y,[l.Line]:Q,[l.LineStacked]:Q,[l.LinePercentStacked]:Q,[l.Column]:K,[l.ColumnStacked]:K,[l.ColumnPercentStacked]:K,[l.Bar]:K,[l.BarStacked]:K,[l.BarPercentStacked]:K,[l.Pie]:$,[l.Donut]:$,[l.Area]:q,[l.AreaStacked]:q,[l.AreaPercentStacked]:q,[l.Radar]:hi,[l.Scatter]:_i,[l.Combination]:ci,[l.WordCloud]:Ci,[l.Funnel]:li,[l.Bubble]:ai,[l.Relation]:gi,[l.Waterfall]:bi,[l.Pareto]:pi,[l.Sankey]:W,[l.Heatmap]:di,[l.Boxplot]:ii,[l.Candlestick]:oi,[l.Histogram]:Z,[l.Treemap]:yi,[l.Sunburst]:vi,[l.Gauge]:ui,[l.Chord]:si};for(let e of Object.keys(Di))Ti(e,Di[e]);var Oi=/* @__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}(Oi||{}),ki=class extends Xr{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 Oi}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}};Xr.extend(ki);var Ai=class extends Zr{registerTheme(e,t){this._injector.get(fe).registerTheme(e,t)}};Zr.extend(Ai);function ji(e,t,n=Ni(e)){return new t({builder:e,...n})}function Mi(e,t,n=Ni(e)){return ji(e,Ei(t),n)}function Ni(e){return{info:{dataSource:[]},normalizeSource:e=>e,createConfig:()=>Kr(e.describe(),e.getPendingConfig()),requireSource:!1}}function Pi(t){let n=`info`in t,r=n?t.description.id:Jr(),i=n?{...H.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?Fi(i):new ge(i,t.commitError,t.injector),o=new ee(r,i,a),s=H.deepClone(n?t.info:{position:void 0,size:void 0,...t.createInfo()}),c=Mi(o,t.type,{info:s,normalizeSource:t.normalizeSource,createConfig:n?()=>qr(o.describe(),o.getPendingConfig()):()=>Kr(o.describe(),o.getPendingConfig()),requireSource:!n});return Object.assign(c,t.extension({getInfo:e=>H.deepClone(s[e]),setInfo:(e,t)=>{s[e]=H.deepClone(t)},setAbsolutePosition:(e,t)=>{c.setAbsolutePosition(e,t)},setSize:(e,t)=>{c.setSize(e,t)}}))}function Fi(e){return{describe:()=>H.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 Ii=class extends Yr{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 H.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(H.deepClone(e)),this}setType(e){return this._commit({type:e})}setTitle(e){return this._apply(wr(e))}clearTitle(){return this._apply(ut())}setSubtitle(e){return this._apply(_r(e))}clearSubtitle(){return this._apply(st())}setLegend(e){return this._apply(P(e))}clearLegend(){return this._apply(qe())}setTheme(e){return this._apply(Sr(e))}clearTheme(){return this._apply(ct())}setPalette(e){return this._apply(I(e))}clearPalette(){return this._apply(Ze())}setAppearance(e){return this._apply(T(e))}clearAppearance(e){return this._apply(m(e))}setAutoGradientFill(e){return this._apply(D(e))}resetAutoGradientFill(){return this._apply(y())}setInvalidValueStrategy(e){return this._apply(M(e))}resetInvalidValueStrategy(){return this._apply(x())}setCategoryField(e){return this._apply(A(e))}setSeriesToCategory(e){return this._commit({mapping:{seriesToCategory:je({seriesToCategory:e}).seriesToCategory}})}setCategoryFields(e){return this._commit(Qr(e))}clearCategoryFields(){return this._commit($r())}setMultiLevelCategoryAxis(e){return this._commit({mapping:{multiLevelCategoryAxis:e}})}clearCategoryField(){return this._apply(Le())}setValueFields(e){return this._apply(Pr(e))}clearValueFields(){return this._apply(ft())}setAggregation(e){return this._apply(C(e))}clearAggregation(e){return this._apply(d(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(V.front)}bringForward(){return this._arrange(V.forward)}sendBackward(){return this._arrange(V.backward)}sendToBack(){return this._arrange(V.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 Li=6;export{Li as CHART_FACADE_RANDOM_ID_LENGTH,q as FAreaChartBuilder,G as FAxisChartBuilder,ii as FBoxplotChartBuilder,ai as FBubbleChartBuilder,oi as FCandlestickChartBuilder,K as FCartesianChartBuilder,Ii as FChart,W as FChartBuilderBase,si as FChordChartBuilder,ci as FCombinationChartBuilder,li as FFunnelChartBuilder,ui as FGaugeChartBuilder,di as FHeatmapChartBuilder,Z as FHistogramChartBuilder,Q as FLineChartBuilder,pi as FParetoChartBuilder,$ as FPieChartBuilder,hi as FRadarChartBuilder,gi as FRelationChartBuilder,_i as FScatterChartBuilder,vi as FSunburstChartBuilder,yi as FTreemapChartBuilder,bi as FWaterfallChartBuilder,Ci as FWordCloudChartBuilder,Pi as createChartBuilder};