@univerjs-pro/sheets-chart-ui 0.16.1 → 0.17.0-insiders.20260318-5bef180

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 (116) hide show
  1. package/README.md +1 -1
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/ja-JP.js +1 -1
  10. package/lib/cjs/locale/ko-KR.js +1 -1
  11. package/lib/cjs/locale/ru-RU.js +1 -1
  12. package/lib/cjs/locale/sk-SK.js +1 -1
  13. package/lib/cjs/locale/vi-VN.js +1 -1
  14. package/lib/cjs/locale/zh-CN.js +1 -1
  15. package/lib/cjs/locale/zh-TW.js +1 -1
  16. package/lib/es/facade.js +1 -1
  17. package/lib/es/index.js +1 -1
  18. package/lib/es/locale/ca-ES.js +1 -1
  19. package/lib/es/locale/en-US.js +1 -1
  20. package/lib/es/locale/es-ES.js +1 -1
  21. package/lib/es/locale/fa-IR.js +1 -1
  22. package/lib/es/locale/fr-FR.js +1 -1
  23. package/lib/es/locale/ja-JP.js +1 -1
  24. package/lib/es/locale/ko-KR.js +1 -1
  25. package/lib/es/locale/ru-RU.js +1 -1
  26. package/lib/es/locale/sk-SK.js +1 -1
  27. package/lib/es/locale/vi-VN.js +1 -1
  28. package/lib/es/locale/zh-CN.js +1 -1
  29. package/lib/es/locale/zh-TW.js +1 -1
  30. package/lib/facade.js +1 -1
  31. package/lib/index.css +547 -1
  32. package/lib/index.js +1 -1
  33. package/lib/locale/ca-ES.js +1 -1
  34. package/lib/locale/en-US.js +1 -1
  35. package/lib/locale/es-ES.js +1 -1
  36. package/lib/locale/fa-IR.js +1 -1
  37. package/lib/locale/fr-FR.js +1 -1
  38. package/lib/locale/ja-JP.js +1 -1
  39. package/lib/locale/ko-KR.js +1 -1
  40. package/lib/locale/ru-RU.js +1 -1
  41. package/lib/locale/sk-SK.js +1 -1
  42. package/lib/locale/vi-VN.js +1 -1
  43. package/lib/locale/zh-CN.js +1 -1
  44. package/lib/locale/zh-TW.js +1 -1
  45. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +3 -3
  46. package/lib/types/commands/commands/sheets-chart.command.d.ts +3 -3
  47. package/lib/types/commands/operations/hide-chart-panel-operation.d.ts +1 -1
  48. package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
  49. package/lib/types/controllers/menu.schema.d.ts +1 -1
  50. package/lib/types/facade/chart-builder/builder-util.d.ts +3 -3
  51. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +2 -2
  52. package/lib/types/facade/chart-builder/line-chart-builder.d.ts +4 -3
  53. package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +3 -2
  54. package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +4 -3
  55. package/lib/types/facade/chart-builder/types.d.ts +3 -3
  56. package/lib/types/facade/f-chart.d.ts +3 -3
  57. package/lib/types/facade/f-worksheet.d.ts +3 -2
  58. package/lib/types/facade/index.d.ts +1 -1
  59. package/lib/types/hooks.d.ts +2 -1
  60. package/lib/types/locale/ca-ES.d.ts +1 -1
  61. package/lib/types/locale/es-ES.d.ts +1 -1
  62. package/lib/types/locale/fa-IR.d.ts +1 -1
  63. package/lib/types/locale/fr-FR.d.ts +1 -1
  64. package/lib/types/locale/ja-JP.d.ts +1 -1
  65. package/lib/types/locale/ko-KR.d.ts +1 -1
  66. package/lib/types/locale/ru-RU.d.ts +1 -1
  67. package/lib/types/locale/sk-SK.d.ts +1 -1
  68. package/lib/types/locale/vi-VN.d.ts +1 -1
  69. package/lib/types/locale/zh-CN.d.ts +1 -1
  70. package/lib/types/locale/zh-TW.d.ts +1 -1
  71. package/lib/types/plugin.d.ts +3 -1
  72. package/lib/types/services/chart-render.service.d.ts +2 -1
  73. package/lib/types/services/sheets-chart-host-provider.service.d.ts +4 -3
  74. package/lib/types/services/sheets-chart-ui.service.d.ts +9 -6
  75. package/lib/types/util.d.ts +2 -2
  76. package/lib/types/views/chart-edit-panel/Options.d.ts +2 -2
  77. package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +2 -2
  78. package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +1 -1
  79. package/lib/types/views/chart-edit-panel/color-picker-control/index.d.ts +1 -1
  80. package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +2 -2
  81. package/lib/types/views/chart-edit-panel/dropdown-menu/index.d.ts +2 -2
  82. package/lib/types/views/chart-edit-panel/font-format-bar/FontFormatBar.d.ts +1 -1
  83. package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +3 -3
  84. package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +4 -4
  85. package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +2 -2
  86. package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +2 -2
  87. package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +2 -2
  88. package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +2 -2
  89. package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +2 -2
  90. package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +2 -2
  91. package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +2 -2
  92. package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +3 -3
  93. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +2 -2
  94. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +4 -3
  95. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +2 -2
  96. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +2 -2
  97. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +3 -2
  98. package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +2 -2
  99. package/lib/types/views/chart-edit-panel/use-translated-options.d.ts +2 -2
  100. package/lib/types/views/chart-menu/chart-menu-factory.d.ts +2 -2
  101. package/lib/types/wordcloud/index.d.ts +1 -1
  102. package/lib/umd/facade.js +1 -1
  103. package/lib/umd/index.js +1 -1
  104. package/lib/umd/locale/ca-ES.js +1 -1
  105. package/lib/umd/locale/en-US.js +1 -1
  106. package/lib/umd/locale/es-ES.js +1 -1
  107. package/lib/umd/locale/fa-IR.js +1 -1
  108. package/lib/umd/locale/fr-FR.js +1 -1
  109. package/lib/umd/locale/ja-JP.js +1 -1
  110. package/lib/umd/locale/ko-KR.js +1 -1
  111. package/lib/umd/locale/ru-RU.js +1 -1
  112. package/lib/umd/locale/sk-SK.js +1 -1
  113. package/lib/umd/locale/vi-VN.js +1 -1
  114. package/lib/umd/locale/zh-CN.js +1 -1
  115. package/lib/umd/locale/zh-TW.js +1 -1
  116. package/package.json +22 -21
package/README.md CHANGED
@@ -24,7 +24,7 @@ npm install @univerjs-pro/sheets-chart @univerjs-pro/sheets-chart-ui
24
24
 
25
25
  ```typescript
26
26
  import { LocaleType, merge, Univer } from '@univerjs/core';
27
- import { defaultTheme } from "@univerjs/design";
27
+ import { defaultTheme } from "@univerjs/themes";
28
28
  import { UniverSheetsChartPlugin } from '@univerjs-pro/sheets-chart';
29
29
  import { UniverSheetsChartUIPlugin } from '@univerjs-pro/sheets-chart-ui';
30
30
  import SheetsChartZhCN from '@univerjs-pro/sheets-chart/locale/zh-CN';
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b3398=_0x4b81;(function(_0x50c8ed,_0x53f568){const _0x55e566=_0x4b81,_0x3bc1ca=_0x50c8ed();while(!![]){try{const _0x357239=-parseInt(_0x55e566(0x1cf))/0x1*(parseInt(_0x55e566(0x20a))/0x2)+-parseInt(_0x55e566(0x226))/0x3*(-parseInt(_0x55e566(0x259))/0x4)+parseInt(_0x55e566(0x243))/0x5+parseInt(_0x55e566(0x1e6))/0x6+parseInt(_0x55e566(0x23f))/0x7+parseInt(_0x55e566(0x21f))/0x8+-parseInt(_0x55e566(0x26a))/0x9*(parseInt(_0x55e566(0x20d))/0xa);if(_0x357239===_0x53f568)break;else _0x3bc1ca['push'](_0x3bc1ca['shift']());}catch(_0x2fc049){_0x3bc1ca['push'](_0x3bc1ca['shift']());}}}(_0x2299,0x7cf46));var U=Object[_0x1b3398(0x1f4)],M=(_0x596545,_0x26e2b2,_0x2ce32f)=>_0x26e2b2 in _0x596545?U(_0x596545,_0x26e2b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ce32f}):_0x596545[_0x26e2b2]=_0x2ce32f,o=(_0x27ce71,_0x285f0f,_0x4f790a)=>M(_0x27ce71,typeof _0x285f0f!=_0x1b3398(0x223)?_0x285f0f+'':_0x285f0f,_0x4f790a);Object[_0x1b3398(0x1f4)](exports,Symbol[_0x1b3398(0x1d2)],{'value':_0x1b3398(0x1b6)});const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),j=require('@univerjs-pro/sheets-chart-ui'),p=require('@univerjs/core'),Y=require('@univerjs/sheets-drawing-ui'),f=require('@univerjs/sheets/facade'),m=require('@univerjs/core/facade'),E=require('@univerjs/engine-formula'),H=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x1eb6f5,_0x37bc26,_0x15ca95)=>{_0x15ca95!==void 0x0&&u['setProperty'](_0x1eb6f5,_0x37bc26,_0x15ca95);},b=(_0x106caa,_0x3cca79,_0x81f612,_0x2be518={})=>{const _0x69f267=_0x1b3398,_0x1eacd6={},_0x2f8dba={};if(_0x2be518[_0x69f267(0x21a)]){const _0x1c4820=_0x2be518[_0x69f267(0x21a)];s(_0x1eacd6,'titles.title.content',_0x1c4820[_0x69f267(0x264)]),s(_0x1eacd6,_0x69f267(0x24c),_0x1c4820[_0x69f267(0x1ca)]),s(_0x1eacd6,_0x69f267(0x217),_0x1c4820['fontSize']),s(_0x1eacd6,_0x69f267(0x1d0),_0x1c4820[_0x69f267(0x1d1)]),s(_0x1eacd6,'titles.title.family',_0x1c4820[_0x69f267(0x25b)]),s(_0x1eacd6,_0x69f267(0x1c7),_0x1c4820[_0x69f267(0x20e)]),s(_0x1eacd6,'titles.title.align',_0x1c4820[_0x69f267(0x235)]),s(_0x1eacd6,'titles.titlePosition',_0x1c4820[_0x69f267(0x25f)]);}if(_0x2be518[_0x69f267(0x1f2)]){const _0x58ab61=_0x2be518[_0x69f267(0x1f2)];s(_0x1eacd6,_0x69f267(0x1c8),_0x58ab61['position']),s(_0x1eacd6,_0x69f267(0x1ad),_0x58ab61['selectMode']),s(_0x1eacd6,_0x69f267(0x1c6),_0x58ab61[_0x69f267(0x248)]),s(_0x1eacd6,'legend.label.color',_0x58ab61[_0x69f267(0x1cc)]),s(_0x1eacd6,_0x69f267(0x266),_0x58ab61[_0x69f267(0x20e)]),s(_0x1eacd6,_0x69f267(0x1ec),_0x58ab61[_0x69f267(0x1c5)]);}if(_0x2be518[_0x69f267(0x1c2)]){const _0x4bce92=_0x2be518[_0x69f267(0x1c2)];s(_0x1eacd6,_0x69f267(0x240),_0x4bce92['doughnutHole']),s(_0x1eacd6,_0x69f267(0x233),_0x4bce92[_0x69f267(0x215)]),s(_0x1eacd6,_0x69f267(0x1e3),_0x4bce92['hasPaddingAngle']),s(_0x1eacd6,'pie.isHalfPie',_0x4bce92['isHalfPie']),s(_0x1eacd6,_0x69f267(0x24a),_0x4bce92[_0x69f267(0x1dc)]),s(_0x1eacd6,_0x69f267(0x258),_0x4bce92[_0x69f267(0x23d)]);}if(_0x2be518[_0x69f267(0x1d5)]){const _0x30d51a=_0x2be518[_0x69f267(0x1d5)];s(_0x1eacd6,_0x69f267(0x1b2),_0x30d51a[_0x69f267(0x1e8)]),s(_0x1eacd6,_0x69f267(0x1f1),_0x30d51a[_0x69f267(0x23a)]),s(_0x1eacd6,'tooltip.indicatorLineColor',_0x30d51a['indicatorLineColor']),s(_0x1eacd6,_0x69f267(0x20b),_0x30d51a[_0x69f267(0x1ef)]);}if(_0x2be518[_0x69f267(0x231)]&&(s(_0x1eacd6,_0x69f267(0x228),_0x2be518[_0x69f267(0x231)][_0x69f267(0x207)]),s(_0x1eacd6,_0x69f267(0x274),_0x2be518[_0x69f267(0x231)][_0x69f267(0x227)]),s(_0x1eacd6,_0x69f267(0x1c0),_0x2be518[_0x69f267(0x231)][_0x69f267(0x21d)]),s(_0x1eacd6,_0x69f267(0x1c1),_0x2be518[_0x69f267(0x231)]['point']),s(_0x1eacd6,_0x69f267(0x1f5),_0x2be518[_0x69f267(0x231)]['color'])),_0x2be518[_0x69f267(0x271)]&&s(_0x1eacd6,_0x69f267(0x229),_0x2be518[_0x69f267(0x271)]['lineStyle']),_0x2be518['theme']&&s(_0x1eacd6,'theme',_0x2be518[_0x69f267(0x1b9)]),_0x2be518[_0x69f267(0x200)]&&s(_0x1eacd6,_0x69f267(0x200),_0x2be518[_0x69f267(0x200)]),_0x2be518[_0x69f267(0x215)]&&s(_0x1eacd6,_0x69f267(0x215),_0x2be518[_0x69f267(0x215)]),_0x2be518[_0x69f267(0x1d8)]&&s(_0x1eacd6,'gradientFill',_0x2be518[_0x69f267(0x1d8)]),_0x2be518[_0x69f267(0x22c)]&&s(_0x1eacd6,_0x69f267(0x22c),_0x2be518[_0x69f267(0x22c)]),_0x2be518['radar']&&s(_0x1eacd6,'radar',_0x2be518[_0x69f267(0x1eb)]),_0x2be518['xAxisTitle']){const _0x2fb7ab=_0x2be518[_0x69f267(0x23c)];s(_0x1eacd6,_0x69f267(0x232),_0x2fb7ab[_0x69f267(0x264)]),s(_0x1eacd6,'titles.xAxisTitle.font',_0x2fb7ab[_0x69f267(0x1ca)]),s(_0x1eacd6,_0x69f267(0x238),_0x2fb7ab[_0x69f267(0x248)]),s(_0x1eacd6,_0x69f267(0x1e2),_0x2fb7ab['fontColor']),s(_0x1eacd6,_0x69f267(0x1ea),_0x2fb7ab['fontStyle']),s(_0x1eacd6,_0x69f267(0x1ae),_0x2fb7ab[_0x69f267(0x20e)]),s(_0x1eacd6,_0x69f267(0x265),_0x2fb7ab[_0x69f267(0x239)]);}if(_0x2be518[_0x69f267(0x1db)]){const _0x21651b=_0x2be518[_0x69f267(0x1db)];s(_0x1eacd6,_0x69f267(0x250),_0x21651b[_0x69f267(0x264)]),s(_0x1eacd6,_0x69f267(0x24d),_0x21651b['font']),s(_0x1eacd6,_0x69f267(0x234),_0x21651b[_0x69f267(0x248)]),s(_0x1eacd6,_0x69f267(0x26e),_0x21651b[_0x69f267(0x1d1)]),s(_0x1eacd6,'titles.yAxisTitle.family',_0x21651b[_0x69f267(0x25b)]),s(_0x1eacd6,'titles.yAxisTitle.bold',_0x21651b[_0x69f267(0x20e)]),s(_0x1eacd6,'yAxis.label.axisTitleAlign',_0x21651b[_0x69f267(0x239)]);}if(_0x2be518[_0x69f267(0x267)]){const _0x33d08f=_0x2be518[_0x69f267(0x267)];s(_0x1eacd6,'titles.rightYAxisTitle.content',_0x33d08f[_0x69f267(0x264)]),s(_0x1eacd6,_0x69f267(0x1b0),_0x33d08f[_0x69f267(0x1ca)]),s(_0x1eacd6,_0x69f267(0x1bd),_0x33d08f[_0x69f267(0x248)]),s(_0x1eacd6,_0x69f267(0x1f6),_0x33d08f[_0x69f267(0x1d1)]),s(_0x1eacd6,_0x69f267(0x25e),_0x33d08f[_0x69f267(0x25b)]),s(_0x1eacd6,'titles.rightYAxisTitle.bold',_0x33d08f['bold']),s(_0x1eacd6,'rightYAxis.label.axisTitleAlign',_0x33d08f[_0x69f267(0x239)]);}_0x2be518[_0x69f267(0x204)]&&s(_0x1eacd6,_0x69f267(0x204),_0x2be518[_0x69f267(0x204)]),_0x2be518['yAxis']&&s(_0x1eacd6,'yAxis',_0x2be518['yAxis']),_0x2be518['yRightAxis']&&s(_0x1eacd6,'rightYAxis',_0x2be518[_0x69f267(0x260)]),_0x2be518[_0x69f267(0x22a)]&&s(_0x1eacd6,_0x69f267(0x22a),_0x2be518[_0x69f267(0x22a)]);const _0x28384a={'unitId':_0x106caa,'chartModelId':_0x3cca79};let _0x6daf65=!0x1;if(_0x81f612!==void 0x0&&(_0x28384a[_0x69f267(0x21c)]=_0x81f612,_0x6daf65=!0x0),Object[_0x69f267(0x24b)](_0x1eacd6)[_0x69f267(0x278)]>0x0&&(_0x28384a[_0x69f267(0x1f0)]=_0x1eacd6,_0x6daf65=!0x0),Object['keys'](_0x2f8dba)['length']>0x0&&(_0x28384a['context']=_0x2f8dba,_0x6daf65=!0x0),_0x6daf65)return _0x28384a;};class c extends m[_0x1b3398(0x1e1)]{constructor(_0x3cafb9,_0x4b5331,_0x297f39,_0x2dc888,_0x368e8b){const _0x2168cd=_0x1b3398;super(),o(this,_0x2168cd(0x257)),o(this,_0x2168cd(0x222)),o(this,'unitId'),o(this,_0x2168cd(0x1af)),o(this,_0x2168cd(0x213)),o(this,_0x2168cd(0x1da)),o(this,_0x2168cd(0x1fc)),o(this,'x'),o(this,'y'),o(this,_0x2168cd(0x201)),o(this,_0x2168cd(0x241)),o(this,_0x2168cd(0x21c)),o(this,_0x2168cd(0x209)),o(this,'transposeRowsAndColumns'),(this[_0x2168cd(0x268)]=_0x3cafb9,this[_0x2168cd(0x1af)]=_0x4b5331,this[_0x2168cd(0x257)]=_0x297f39,this[_0x2168cd(0x222)]=_0x2dc888,_0x368e8b&&(this[_0x2168cd(0x213)]=_0x368e8b));}[_0x1b3398(0x1de)](){return this['chartType'];}[_0x1b3398(0x221)](_0x4c4a15){const _0x38b1b0=_0x1b3398;if(typeof _0x4c4a15=='string'){const _0xe561cb=E[_0x38b1b0(0x20f)](_0x4c4a15);_0xe561cb[_0x38b1b0(0x1ce)]&&(this[_0x38b1b0(0x1fc)]=_0xe561cb['sheetName']),this[_0x38b1b0(0x1da)]=_0xe561cb['range'];}else this[_0x38b1b0(0x1da)]=_0x4c4a15;return this;}['clearRange'](){const _0x41ddd9=_0x1b3398;return this[_0x41ddd9(0x1da)]=void 0x0,this[_0x41ddd9(0x1fc)]=void 0x0,this;}[_0x1b3398(0x1c3)](_0x4b2078,_0x1437b4,_0x20d933,_0x414ba8){const _0x206ae1=_0x1b3398,_0x26e0a9=this['_injector'][_0x206ae1(0x26d)](H[_0x206ae1(0x24e)])['getRenderById'](this[_0x206ae1(0x268)]);if(!_0x26e0a9)throw new Error(_0x206ae1(0x1e7));const _0x30de74=_0x26e0a9[_0x206ae1(0x21b)](T['ISheetSelectionRenderService']),_0x410794=_0x26e0a9[_0x206ae1(0x21b)](T[_0x206ae1(0x236)]),{transform:_0x3fda20}=T[_0x206ae1(0x277)](this[_0x206ae1(0x268)],this[_0x206ae1(0x1af)],{'row':_0x4b2078,'column':_0x1437b4,'rowOffset':_0x20d933,'columnOffset':_0x414ba8},0x1,0x1,_0x30de74,_0x410794),_0x10fb73=_0x3fda20[_0x206ae1(0x255)],_0x407539=_0x3fda20[_0x206ae1(0x1fe)];return this['x']=_0x407539,this['y']=_0x10fb73,this;}[_0x1b3398(0x25d)](_0x20560f,_0x4cee79){return this['x']=_0x20560f,this['y']=_0x4cee79,this;}[_0x1b3398(0x1bc)](_0x3d2ad0){const _0x39d3b2=_0x1b3398;return this[_0x39d3b2(0x21c)]=_0x3d2ad0,this;}[_0x1b3398(0x1fd)](_0x12aa6a){const _0x404e62=_0x1b3398;return this[_0x404e62(0x201)]=_0x12aa6a,this;}['setHeight'](_0x432df3){return this['height']=_0x432df3,this;}[_0x1b3398(0x237)](_0x1118e3,_0x2b7424){const _0x30db80=_0x1b3398;return this[_0x30db80(0x209)]||(this[_0x30db80(0x209)]={}),_0x1118e3===''?(this[_0x30db80(0x209)]={...this[_0x30db80(0x209)],..._0x2b7424},this):(u[_0x30db80(0x1f8)](this[_0x30db80(0x209)],_0x1118e3,_0x2b7424),this);}[_0x1b3398(0x205)](_0x18d0b9){const _0x268a99=_0x1b3398;return this[_0x268a99(0x22d)]=_0x18d0b9,this;}[_0x1b3398(0x270)](_0x801dcb){const _0x368f61=_0x1b3398;return this[_0x368f61(0x237)](_0x368f61(0x1b9),_0x801dcb),this;}[_0x1b3398(0x275)](_0x4a4b4a){const _0x1b8956=_0x1b3398;var _0x1815be;const _0x3ef98c=((_0x1815be=this['options'])==null?void 0x0:_0x1815be['xAxisTitle'])||{};return _0x3ef98c[_0x1b8956(0x264)]=_0x4a4b4a,this['setOptions']('xAxisTitle',_0x3ef98c),this;}[_0x1b3398(0x25a)](_0x21bf38){const _0x13c4d7=_0x1b3398;var _0x9eb6a9;const _0x581aa4=((_0x9eb6a9=this['options'])==null?void 0x0:_0x9eb6a9[_0x13c4d7(0x1db)])||{};return _0x581aa4[_0x13c4d7(0x264)]=_0x21bf38,this[_0x13c4d7(0x237)](_0x13c4d7(0x1db),_0x581aa4),this;}['setRightYAxisTitle'](_0x1401e0){const _0x63cb7c=_0x1b3398;var _0x2e0d92;const _0x1fbe14=((_0x2e0d92=this[_0x63cb7c(0x209)])==null?void 0x0:_0x2e0d92['rightYAxisTitle'])||{};return _0x1fbe14[_0x63cb7c(0x264)]=_0x1401e0,this[_0x63cb7c(0x237)](_0x63cb7c(0x267),_0x1fbe14),this;}[_0x1b3398(0x261)](_0xb0152d){const _0x317c20=_0x1b3398;var _0x470663;const _0x36a871=((_0x470663=this[_0x317c20(0x209)])==null?void 0x0:_0x470663[_0x317c20(0x23c)])||{};return this[_0x317c20(0x237)](_0x317c20(0x23c),{..._0x36a871,..._0xb0152d}),this;}[_0x1b3398(0x1bb)](_0x1b385){const _0x1ba31c=_0x1b3398;var _0x4e05c1;const _0x4f09b4=((_0x4e05c1=this['options'])==null?void 0x0:_0x4e05c1[_0x1ba31c(0x1db)])||{};return this[_0x1ba31c(0x237)](_0x1ba31c(0x1db),{..._0x4f09b4,..._0x1b385}),this;}[_0x1b3398(0x216)](_0xadab91){const _0x2673df=_0x1b3398;var _0x409ca7;const _0x6deaf=((_0x409ca7=this[_0x2673df(0x209)])==null?void 0x0:_0x409ca7[_0x2673df(0x267)])||{};return this[_0x2673df(0x237)](_0x2673df(0x267),{..._0x6deaf,..._0xadab91}),this;}[_0x1b3398(0x1b3)](_0x25bfd2){const _0x3d5c85=_0x1b3398;return this[_0x3d5c85(0x237)](_0x3d5c85(0x22c),_0x25bfd2),this;}['setAxisPointerStyle'](_0x9b36ae){const _0x2b1dbd=_0x1b3398;return this[_0x2b1dbd(0x237)]('axisPointer',_0x9b36ae),this;}['setAllSeriesStyle'](_0x2b467f){const _0x477565=_0x1b3398;return this[_0x477565(0x237)](_0x477565(0x231),_0x2b467f),this;}[_0x1b3398(0x1d3)](_0x267c98,_0x22592c){const _0x3417fd=_0x1b3398;return this[_0x3417fd(0x237)]('seriesStyleMap',{[_0x267c98]:_0x22592c}),this;}[_0x1b3398(0x23b)](){const _0x5a4aa9=_0x1b3398;return{'unitId':this[_0x5a4aa9(0x268)],'subUnitId':this[_0x5a4aa9(0x1af)],'chartId':this[_0x5a4aa9(0x213)],'range':this['range'],'sourceSheetName':this[_0x5a4aa9(0x1fc)],'x':this['x'],'y':this['y'],'width':this['width'],'height':this[_0x5a4aa9(0x241)],'chartType':this['chartType'],'options':this[_0x5a4aa9(0x209)],'isRowDirection':this[_0x5a4aa9(0x22d)]};}}class A{constructor(_0x454c4a,_0x1eb227,_0x10fe29,_0x446a47){const _0x5c6e87=_0x1b3398;o(this,'unitId'),o(this,_0x5c6e87(0x1af)),o(this,'chartId'),o(this,_0x5c6e87(0x222)),(this['unitId']=_0x454c4a,this['subUnitId']=_0x1eb227,this[_0x5c6e87(0x213)]=_0x10fe29,this[_0x5c6e87(0x222)]=_0x446a47);}['getChartId'](){const _0x4faa54=_0x1b3398;return this[_0x4faa54(0x213)];}[_0x1b3398(0x1f3)](){const _0x1f1351=_0x1b3398,_0x1faf10=this[_0x1f1351(0x222)]['get'](u[_0x1f1351(0x203)])['getChartModel'](this[_0x1f1351(0x213)]);if(_0x1faf10)return _0x1faf10[_0x1f1351(0x225)][_0x1f1351(0x1d4)]();}[_0x1b3398(0x21e)](_0x484c83){const _0xd0ccd4=_0x1b3398;return this[_0xd0ccd4(0x222)][_0xd0ccd4(0x26d)](p[_0xd0ccd4(0x1d7)])[_0xd0ccd4(0x22e)](u[_0xd0ccd4(0x1dd)]['id'],{'unitId':this['unitId'],'chartModelId':this[_0xd0ccd4(0x213)],'range':_0x484c83});}['getSeriesData'](){const _0x3c96cd=_0x1b3398;var _0x47068d;const _0x518395=this[_0x3c96cd(0x222)][_0x3c96cd(0x26d)](u['SheetsChartService'])[_0x3c96cd(0x1d9)](this[_0x3c96cd(0x213)]);if(_0x518395)return(_0x47068d=_0x518395[_0x3c96cd(0x214)])==null?void 0x0:_0x47068d[_0x3c96cd(0x26f)];}[_0x1b3398(0x247)](){const _0x40ddb8=_0x1b3398;var _0xec15ff;const _0x52871b=this[_0x40ddb8(0x222)][_0x40ddb8(0x26d)](u[_0x40ddb8(0x203)])['getChartModel'](this[_0x40ddb8(0x213)]);if(_0x52871b)return(_0xec15ff=_0x52871b[_0x40ddb8(0x214)])==null?void 0x0:_0xec15ff[_0x40ddb8(0x1b7)];}[_0x1b3398(0x1f7)](){const _0x260af5=_0x1b3398,_0x5d783a=this[_0x260af5(0x222)]['get'](p['IUniverInstanceService'])[_0x260af5(0x230)](p[_0x260af5(0x263)][_0x260af5(0x219)]);return new c(this[_0x260af5(0x268)],this['subUnitId'],_0x5d783a,this[_0x260af5(0x222)],this[_0x260af5(0x213)]);}}class z extends f[_0x1b3398(0x202)]{async[_0x1b3398(0x252)](_0x4bd271){const _0x48ee98=_0x1b3398;var _0x2fe247,_0x57d22b,_0x30a9be;const _0x345a62=_0x4bd271[_0x48ee98(0x268)]||this[_0x48ee98(0x262)]()[_0x48ee98(0x212)](),_0x163702=_0x4bd271[_0x48ee98(0x1af)]||this[_0x48ee98(0x1ed)](),_0x32b48c=_0x4bd271[_0x48ee98(0x213)]||p['generateRandomId'](),_0x19073e=_0x4bd271[_0x48ee98(0x21c)],_0x12a5c9=_0x4bd271[_0x48ee98(0x1da)],_0x13428d=_0x4bd271[_0x48ee98(0x1fc)],_0x47b353={'x':_0x4bd271['x'],'y':_0x4bd271['y']},_0x2b4be6=_0x4bd271[_0x48ee98(0x201)],_0x2ac32d=_0x4bd271[_0x48ee98(0x241)],_0x79e0bb=(_0x2fe247=_0x4bd271[_0x48ee98(0x209)])==null?void 0x0:_0x2fe247[_0x48ee98(0x200)],_0x51521d=(_0x57d22b=_0x4bd271[_0x48ee98(0x209)])==null?void 0x0:_0x57d22b[_0x48ee98(0x215)],_0x4f677e=b(_0x345a62,_0x32b48c,_0x19073e,_0x4bd271[_0x48ee98(0x209)]),_0x23800d=(_0x30a9be=_0x4bd271['isRowDirection'])!=null?_0x30a9be:!0x0;if(!_0x12a5c9)throw new Error(_0x48ee98(0x1df));return await this[_0x48ee98(0x211)][_0x48ee98(0x22e)](j[_0x48ee98(0x20c)]['id'],{'unitId':_0x345a62,'subUnitId':_0x163702,'chartId':_0x32b48c,'chartType':_0x19073e,'range':_0x12a5c9,'sourceSheetName':_0x13428d,'position':_0x47b353,'width':_0x2b4be6,'height':_0x2ac32d,'backgroundColor':_0x79e0bb,'borderColor':_0x51521d,'config':_0x4f677e,'isRowDirection':_0x23800d}),new A(_0x345a62,_0x163702,_0x32b48c,this[_0x48ee98(0x222)]);}['updateChart'](_0x444385){const _0x508930=_0x1b3398,{unitId:_0x587d9d,chartId:_0x43053a,chartType:_0x491317,options:_0x33dcd0}=_0x444385,_0x50793d=b(_0x587d9d,_0x43053a,_0x491317,_0x33dcd0);this[_0x508930(0x211)][_0x508930(0x22e)](u[_0x508930(0x1e5)]['id'],_0x50793d);}[_0x1b3398(0x26b)](_0x19d266){const _0x421249=_0x1b3398;if(_0x19d266)return new c(_0x19d266['unitId'],_0x19d266['subUnitId'],this[_0x421249(0x257)],this[_0x421249(0x222)],_0x19d266[_0x421249(0x213)]);const _0x5e2354=this[_0x421249(0x262)]()[_0x421249(0x212)](),_0x78db8d=this[_0x421249(0x1ed)]();return new c(_0x5e2354,_0x78db8d,this[_0x421249(0x257)],this[_0x421249(0x222)]);}[_0x1b3398(0x256)](){const _0x5625ea=_0x1b3398,_0xc973c4=this[_0x5625ea(0x222)][_0x5625ea(0x26d)](u[_0x5625ea(0x203)]),_0x2cb097=this[_0x5625ea(0x262)]()[_0x5625ea(0x212)]();return _0xc973c4[_0x5625ea(0x1ee)](_0x2cb097,this['getSheetId']())[_0x5625ea(0x273)](_0x3e0c8a=>new A(_0x2cb097,this[_0x5625ea(0x1ed)](),_0x3e0c8a['id'],this[_0x5625ea(0x222)]));}[_0x1b3398(0x1ac)](_0x3b41da){const _0x6c84d8=_0x1b3398,_0x4f1ece=_0x3b41da[_0x6c84d8(0x268)],_0x1570c0=_0x3b41da[_0x6c84d8(0x1af)],_0xf089e5=_0x3b41da[_0x6c84d8(0x213)],_0x91648d={'unitId':_0x4f1ece,'drawings':[{'unitId':_0x4f1ece,'subUnitId':_0x1570c0,'drawingId':_0xf089e5,'drawingType':p[_0x6c84d8(0x272)][_0x6c84d8(0x1e0)]}]};return this[_0x6c84d8(0x211)][_0x6c84d8(0x22e)](Y['RemoveSheetDrawingCommand']['id'],_0x91648d);}[_0x1b3398(0x26c)](_0x51a6cb,_0x401661){const _0x577556=_0x1b3398;this[_0x577556(0x222)][_0x577556(0x26d)](d[_0x577556(0x249)])['registerTheme'](_0x51a6cb,_0x401661);}}f[_0x1b3398(0x202)][_0x1b3398(0x1b1)](z);class F extends m['FEnum']{get['ChartType'](){const _0x389829=_0x1b3398;return d[_0x389829(0x1fb)];}get['LegendPositionEnum'](){return d['LegendPositionEnum'];}get['SelectModeEnum'](){return d['SelectModeEnum'];}get['AxisAlignEnum'](){const _0x1b2399=_0x1b3398;return d[_0x1b2399(0x245)];}get[_0x1b3398(0x23e)](){const _0x4a58f2=_0x1b3398;return d[_0x4a58f2(0x23e)];}get[_0x1b3398(0x1cb)](){return d['LinePointShape'];}get['TitlePositionEnum'](){return d['TitlePositionEnum'];}get[_0x1b3398(0x22b)](){return d['RadarShape'];}}m[_0x1b3398(0x24f)]['extend'](F);class I extends c{constructor(_0x4504ef,_0xdf1e9e,_0x3a1fc5,_0x196f57,_0x5839c2){const _0x41cdc9=_0x1b3398;super(_0x4504ef,_0xdf1e9e,_0x3a1fc5,_0x196f57,_0x5839c2),o(this,_0x41cdc9(0x253)),o(this,'dataPointShape'),o(this,_0x41cdc9(0x22f)),o(this,_0x41cdc9(0x1b8));}['setLineStyle'](_0x545581){const _0x78261e=_0x1b3398;return this[_0x78261e(0x253)]=_0x545581,this;}[_0x1b3398(0x269)](_0x34f48a){const _0x2beb33=_0x1b3398;return this[_0x2beb33(0x25c)]=_0x34f48a,this;}[_0x1b3398(0x1e9)](_0xb1db2c){const _0x542b27=_0x1b3398;return this[_0x542b27(0x22f)]=_0xb1db2c,this;}[_0x1b3398(0x1f9)](_0x121345){const _0x500b35=_0x1b3398;return this[_0x500b35(0x1b8)]=_0x121345,this;}[_0x1b3398(0x23b)](){const _0x39f719=_0x1b3398,_0x1eaf3b=super['build']();_0x1eaf3b[_0x39f719(0x21c)]=d['ChartTypeBits'][_0x39f719(0x246)];const _0x30d676=_0x1eaf3b[_0x39f719(0x209)]||{};return s(_0x30d676,_0x39f719(0x229),this[_0x39f719(0x253)]),s(_0x30d676,_0x39f719(0x1ba),this[_0x39f719(0x25c)]),s(_0x30d676,_0x39f719(0x1bf),this[_0x39f719(0x22f)]),s(_0x30d676,'allSeriesStyle.point.size',this[_0x39f719(0x1b8)]),_0x1eaf3b[_0x39f719(0x209)]=_0x30d676,_0x1eaf3b;}}class O extends c{[_0x1b3398(0x206)](){const _0x5484ab=_0x1b3398;return new I(this[_0x5484ab(0x268)],this[_0x5484ab(0x1af)],this[_0x5484ab(0x257)],this[_0x5484ab(0x222)],this[_0x5484ab(0x213)]);}}c[_0x1b3398(0x1b1)](O);function _0x2299(){const _0x58c4da=['Module','category','dataPointSize','theme','allSeriesStyle.point.shape','setYAxisTextStyle','setChartType','titles.rightYAxisTitle.fontSize','FChart','allSeriesStyle.point.color','allSeriesStyle.rightYAxis','allSeriesStyle.point','pie','setPosition','Pie','italic','legend.label.fontSize','titles.title.bold','legend.position','setRosePie','font','LinePointShape','color','LineChartBuilder','sheetName','1yMAMuE','titles.title.color','fontColor','toStringTag','setSeriesStyle','getRangeInfo','axisPointer','setIsHalfPie','ICommandService','gradientFill','getChartModel','range','yAxisTitle','rosePie','ChartUpdateSourceCommand','getChartType','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','DRAWING_CHART','FBase','titles.xAxisTitle.color','pie.hasPaddingAngle','shape','ChartUpdateConfigCommand','5893530UZgMbO','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','indicatorLabelColor','setDataPointColor','titles.xAxisTitle.family','radar','legend.label.italic','getSheetId','getUnitChartModels','indicatorLabelTextColor','style','tooltip.indicatorLineType','legend','getRange','defineProperty','allSeriesStyle.color','titles.rightYAxisTitle.color','modify','setProperty','setDataPointSize','doughnutHole','ChartTypeBits','sourceSheetName','setWidth','left','asRadarChart','backgroundColor','width','FWorksheet','SheetsChartService','xAxis','setTransposeRowsAndColumns','asLineChart','border','asPieChart','options','142182HXFjZu','tooltip.indicatorLabelTextColor','InsertChartCommand','30DNnJhQ','bold','deserializeRangeWithSheet','radar.fill','_commandService','getUnitId','chartId','config','borderColor','setRightYAxisTextStyle','titles.title.fontSize','setFill','UNIVER_SHEET','title','with','chartType','rightYAxis','updateRange','4232104ohSNtU','setShowLabelLine','addRange','_injector','symbol','setShape','dataSource','585BoAtLP','label','allSeriesStyle.border','area.lineStyle','seriesStyleMap','RadarShape','invalidValueType','transposeRowsAndColumns','executeCommand','dataPointColor','getCurrentUnitForType','allSeriesStyle','titles.xAxisTitle.content','pie.borderColor','titles.yAxisTitle.fontSize','titleAlignment','SheetSkeletonManagerService','setOptions','titles.xAxisTitle.fontSize','axisAlignment','indicatorLineType','build','xAxisTitle','showLabelLine','ChartBorderDashType','126805IjlMsG','pie.doughnutHole','height','radar.shape','2127155vUqipT','fill','AxisAlignEnum','Line','getCategoryData','fontSize','ChartThemeService','pie.rosePie','keys','titles.title.font','titles.yAxisTitle.font','IRenderManagerService','FEnum','titles.yAxisTitle.content','setBorderColor','insertChart','lineStyle','setHasPaddingAngle','top','getCharts','_workbook','pie.showLabelLine','13988rgMMUm','setYAxisTitle','fontStyle','dataPointShape','setAbsolutePosition','titles.rightYAxisTitle.family','position','yRightAxis','setXAxisTextStyle','getWorkbook','UniverInstanceType','content','xAxis.label.axisTitleAlign','legend.label.bold','rightYAxisTitle','unitId','setDataPointShape','6161472zXwGJW','newChart','registerChartTheme','get','titles.yAxisTitle.color','series','setTheme','area','DrawingTypeEnum','map','allSeriesStyle.label','setXAxisTitle','RadarChartBuilder','convertPositionCellToSheetOverGrid','length','removeChart','legend.selectMode','titles.xAxisTitle.bold','subUnitId','titles.rightYAxisTitle.font','extend','tooltip.indicatorLabelColor','setInvalidValueStrategy','isHalfPie','hasPaddingAngle'];_0x2299=function(){return _0x58c4da;};return _0x2299();}function _0x4b81(_0x52fe18,_0x1d5784){_0x52fe18=_0x52fe18-0x1ac;const _0x229911=_0x2299();let _0x4b81e2=_0x229911[_0x52fe18];return _0x4b81e2;}class R extends c{constructor(_0x2a12cd,_0x490fa1,_0x48a9e8,_0xc0f023,_0x23a350){const _0x495c92=_0x1b3398;super(_0x2a12cd,_0x490fa1,_0x48a9e8,_0xc0f023,_0x23a350),o(this,_0x495c92(0x1fa)),o(this,_0x495c92(0x215)),o(this,_0x495c92(0x1b5)),o(this,'isHalfPie'),o(this,_0x495c92(0x1dc)),o(this,_0x495c92(0x23d));}['setDoughnutHole'](_0x216e3c){const _0x11fd35=_0x1b3398;return this[_0x11fd35(0x1fa)]=_0x216e3c,this;}[_0x1b3398(0x251)](_0x2ddd1d){const _0x2cb6b6=_0x1b3398;return this[_0x2cb6b6(0x215)]=_0x2ddd1d,this;}[_0x1b3398(0x254)](_0x4d774e){const _0x1d7873=_0x1b3398;return this[_0x1d7873(0x1b5)]=_0x4d774e,this;}[_0x1b3398(0x1d6)](_0x3e796a){const _0x48654f=_0x1b3398;return this[_0x48654f(0x1b4)]=_0x3e796a,this;}[_0x1b3398(0x1c9)](_0x28de75){return this['rosePie']=_0x28de75,this;}[_0x1b3398(0x220)](_0xf00b5b){const _0xbb1cc4=_0x1b3398;return this[_0xbb1cc4(0x23d)]=_0xf00b5b,this;}[_0x1b3398(0x23b)](){const _0xf4dbbc=_0x1b3398,_0x5b8e93=super[_0xf4dbbc(0x23b)]();_0x5b8e93[_0xf4dbbc(0x21c)]=d['ChartTypeBits'][_0xf4dbbc(0x1c4)];const _0x1dc2d3=_0x5b8e93[_0xf4dbbc(0x209)]||{};return s(_0x1dc2d3,_0xf4dbbc(0x240),this[_0xf4dbbc(0x1fa)]),s(_0x1dc2d3,'pie.borderColor',this['borderColor']),s(_0x1dc2d3,_0xf4dbbc(0x1e3),this[_0xf4dbbc(0x1b5)]),s(_0x1dc2d3,'pie.isHalfPie',this[_0xf4dbbc(0x1b4)]),s(_0x1dc2d3,_0xf4dbbc(0x24a),this['rosePie']),s(_0x1dc2d3,_0xf4dbbc(0x258),this['showLabelLine']),_0x5b8e93['options']=_0x1dc2d3,_0x5b8e93;}}class D extends c{[_0x1b3398(0x208)](){const _0x1ebebe=_0x1b3398;return new R(this['unitId'],this['subUnitId'],this[_0x1ebebe(0x257)],this[_0x1ebebe(0x222)],this[_0x1ebebe(0x213)]);}}c[_0x1b3398(0x1b1)](D);class k extends c{constructor(_0x169380,_0x51a65a,_0x46242f,_0x5d0e56,_0x47a4ae){const _0x3e252b=_0x1b3398;super(_0x169380,_0x51a65a,_0x46242f,_0x5d0e56,_0x47a4ae),o(this,_0x3e252b(0x1e4)),o(this,_0x3e252b(0x244));}[_0x1b3398(0x224)](_0x4f89b0){return this['shape']=_0x4f89b0,this;}[_0x1b3398(0x218)](_0x56a119){const _0x7a947c=_0x1b3398;return this[_0x7a947c(0x244)]=_0x56a119,this;}[_0x1b3398(0x23b)](){const _0x3485e7=_0x1b3398,_0x4f4094=super[_0x3485e7(0x23b)]();_0x4f4094[_0x3485e7(0x21c)]=d[_0x3485e7(0x1fb)]['Radar'];const _0x394357=_0x4f4094['options']||{};return s(_0x394357,_0x3485e7(0x242),this[_0x3485e7(0x1e4)]),s(_0x394357,_0x3485e7(0x210),this[_0x3485e7(0x244)]),_0x4f4094['options']=_0x394357,_0x4f4094;}}class B extends c{[_0x1b3398(0x1ff)](){const _0x4609cb=_0x1b3398;return new k(this[_0x4609cb(0x268)],this[_0x4609cb(0x1af)],this[_0x4609cb(0x257)],this['_injector'],this[_0x4609cb(0x213)]);}}c['extend'](B),exports[_0x1b3398(0x1be)]=A,exports['FChartBuilderBase']=c,exports[_0x1b3398(0x1cd)]=I,exports['PieChartBuilder']=R,exports[_0x1b3398(0x276)]=k;
1
+ const _0x30a3b3=_0x5f26;(function(_0x3833e8,_0x2447c0){const _0x4a0668=_0x5f26,_0x200ba7=_0x3833e8();while(!![]){try{const _0x5bb7ec=parseInt(_0x4a0668(0x264))/0x1*(parseInt(_0x4a0668(0x238))/0x2)+parseInt(_0x4a0668(0x199))/0x3+parseInt(_0x4a0668(0x1b8))/0x4*(-parseInt(_0x4a0668(0x1d9))/0x5)+parseInt(_0x4a0668(0x1cb))/0x6+parseInt(_0x4a0668(0x202))/0x7*(parseInt(_0x4a0668(0x1dc))/0x8)+-parseInt(_0x4a0668(0x1a7))/0x9*(-parseInt(_0x4a0668(0x1b6))/0xa)+-parseInt(_0x4a0668(0x246))/0xb;if(_0x5bb7ec===_0x2447c0)break;else _0x200ba7['push'](_0x200ba7['shift']());}catch(_0x277386){_0x200ba7['push'](_0x200ba7['shift']());}}}(_0x95c3,0x5e08b),Object['defineProperty'](exports,Symbol[_0x30a3b3(0x1f7)],{'value':'Module'}));let e=require(`@univerjs-pro/engine-chart`),t=require(`@univerjs-pro/sheets-chart`),n=require(`@univerjs-pro/sheets-chart-ui`),r=require(`@univerjs/core`),i=require(`@univerjs/sheets-drawing-ui`),a=require(`@univerjs/sheets/facade`),o=require(`@univerjs/core/facade`),s=require(`@univerjs/engine-formula`),c=require(`@univerjs/engine-render`),l=require(`@univerjs/sheets-ui`);const u=(_0x22c8de,_0xef15ed,_0xcac7c2)=>{_0xcac7c2!==void 0x0&&(0x0,t['setProperty'])(_0x22c8de,_0xef15ed,_0xcac7c2);},d=(_0x144619,_0x236282,_0x2d5d63,_0x430b98={})=>{const _0x23f595=_0x30a3b3;let _0x2d7172={},_0x39d324={};if(_0x430b98['title']){let _0x3804da=_0x430b98[_0x23f595(0x1f9)];u(_0x2d7172,_0x23f595(0x21d),_0x3804da[_0x23f595(0x19a)]),u(_0x2d7172,_0x23f595(0x1ea),_0x3804da[_0x23f595(0x258)]),u(_0x2d7172,_0x23f595(0x1f5),_0x3804da['fontSize']),u(_0x2d7172,_0x23f595(0x1b0),_0x3804da['fontColor']),u(_0x2d7172,_0x23f595(0x1ee),_0x3804da['fontStyle']),u(_0x2d7172,_0x23f595(0x1c2),_0x3804da['bold']),u(_0x2d7172,'titles.title.align',_0x3804da[_0x23f595(0x22e)]),u(_0x2d7172,_0x23f595(0x251),_0x3804da['position']);}if(_0x430b98[_0x23f595(0x1e4)]){let _0x2b45c5=_0x430b98['legend'];u(_0x2d7172,'legend.position',_0x2b45c5[_0x23f595(0x1fb)]),u(_0x2d7172,'legend.selectMode',_0x2b45c5['selectMode']),u(_0x2d7172,'legend.label.fontSize',_0x2b45c5[_0x23f595(0x206)]),u(_0x2d7172,_0x23f595(0x1c6),_0x2b45c5[_0x23f595(0x196)]),u(_0x2d7172,_0x23f595(0x1e7),_0x2b45c5[_0x23f595(0x1be)]),u(_0x2d7172,'legend.label.italic',_0x2b45c5[_0x23f595(0x254)]);}if(_0x430b98[_0x23f595(0x1c1)]){let _0x1e8dbd=_0x430b98[_0x23f595(0x1c1)];u(_0x2d7172,'pie.doughnutHole',_0x1e8dbd[_0x23f595(0x19b)]),u(_0x2d7172,_0x23f595(0x19d),_0x1e8dbd[_0x23f595(0x226)]),u(_0x2d7172,_0x23f595(0x231),_0x1e8dbd[_0x23f595(0x218)]),u(_0x2d7172,'pie.isHalfPie',_0x1e8dbd[_0x23f595(0x19c)]),u(_0x2d7172,_0x23f595(0x1d3),_0x1e8dbd[_0x23f595(0x217)]),u(_0x2d7172,_0x23f595(0x1d4),_0x1e8dbd['showLabelLine']);}if(_0x430b98[_0x23f595(0x1a9)]){let _0x484531=_0x430b98[_0x23f595(0x1a9)];u(_0x2d7172,_0x23f595(0x1c8),_0x484531[_0x23f595(0x22a)]),u(_0x2d7172,_0x23f595(0x23a),_0x484531[_0x23f595(0x214)]),u(_0x2d7172,'tooltip.indicatorLineColor',_0x484531[_0x23f595(0x1fe)]),u(_0x2d7172,_0x23f595(0x24b),_0x484531[_0x23f595(0x1d0)]);}if(_0x430b98[_0x23f595(0x253)]&&(u(_0x2d7172,_0x23f595(0x1b4),_0x430b98[_0x23f595(0x253)][_0x23f595(0x256)]),u(_0x2d7172,'allSeriesStyle.label',_0x430b98['allSeriesStyle'][_0x23f595(0x1ac)]),u(_0x2d7172,'allSeriesStyle.rightYAxis',_0x430b98[_0x23f595(0x253)]['rightYAxis']),u(_0x2d7172,_0x23f595(0x1ae),_0x430b98['allSeriesStyle'][_0x23f595(0x1e5)]),u(_0x2d7172,_0x23f595(0x1fc),_0x430b98[_0x23f595(0x253)]['color'])),_0x430b98[_0x23f595(0x22f)]&&u(_0x2d7172,_0x23f595(0x1f4),_0x430b98[_0x23f595(0x22f)]['lineStyle']),_0x430b98[_0x23f595(0x237)]&&u(_0x2d7172,_0x23f595(0x237),_0x430b98['theme']),_0x430b98[_0x23f595(0x1f1)]&&u(_0x2d7172,_0x23f595(0x1f1),_0x430b98[_0x23f595(0x1f1)]),_0x430b98[_0x23f595(0x226)]&&u(_0x2d7172,_0x23f595(0x226),_0x430b98['borderColor']),_0x430b98[_0x23f595(0x204)]&&u(_0x2d7172,_0x23f595(0x204),_0x430b98[_0x23f595(0x204)]),_0x430b98[_0x23f595(0x249)]&&u(_0x2d7172,'invalidValueType',_0x430b98[_0x23f595(0x249)]),_0x430b98[_0x23f595(0x23d)]&&u(_0x2d7172,'radar',_0x430b98[_0x23f595(0x23d)]),_0x430b98[_0x23f595(0x263)]){let _0x5561ed=_0x430b98[_0x23f595(0x263)];u(_0x2d7172,_0x23f595(0x1bf),_0x5561ed['content']),u(_0x2d7172,_0x23f595(0x1c3),_0x5561ed[_0x23f595(0x258)]),u(_0x2d7172,_0x23f595(0x24d),_0x5561ed[_0x23f595(0x206)]),u(_0x2d7172,'titles.xAxisTitle.color',_0x5561ed[_0x23f595(0x19e)]),u(_0x2d7172,_0x23f595(0x269),_0x5561ed[_0x23f595(0x1d6)]),u(_0x2d7172,_0x23f595(0x1ab),_0x5561ed['bold']),u(_0x2d7172,_0x23f595(0x1c5),_0x5561ed[_0x23f595(0x1a4)]);}if(_0x430b98[_0x23f595(0x24e)]){let _0x33edb4=_0x430b98[_0x23f595(0x24e)];u(_0x2d7172,'titles.yAxisTitle.content',_0x33edb4['content']),u(_0x2d7172,_0x23f595(0x1ec),_0x33edb4['font']),u(_0x2d7172,'titles.yAxisTitle.fontSize',_0x33edb4[_0x23f595(0x206)]),u(_0x2d7172,'titles.yAxisTitle.color',_0x33edb4[_0x23f595(0x19e)]),u(_0x2d7172,_0x23f595(0x1db),_0x33edb4[_0x23f595(0x1d6)]),u(_0x2d7172,_0x23f595(0x222),_0x33edb4[_0x23f595(0x1be)]),u(_0x2d7172,_0x23f595(0x220),_0x33edb4[_0x23f595(0x1a4)]);}if(_0x430b98[_0x23f595(0x25a)]){let _0x59b7c3=_0x430b98[_0x23f595(0x25a)];u(_0x2d7172,'titles.rightYAxisTitle.content',_0x59b7c3[_0x23f595(0x19a)]),u(_0x2d7172,'titles.rightYAxisTitle.font',_0x59b7c3[_0x23f595(0x258)]),u(_0x2d7172,'titles.rightYAxisTitle.fontSize',_0x59b7c3[_0x23f595(0x206)]),u(_0x2d7172,_0x23f595(0x1de),_0x59b7c3[_0x23f595(0x19e)]),u(_0x2d7172,'titles.rightYAxisTitle.family',_0x59b7c3['fontStyle']),u(_0x2d7172,_0x23f595(0x243),_0x59b7c3[_0x23f595(0x1be)]),u(_0x2d7172,_0x23f595(0x239),_0x59b7c3[_0x23f595(0x1a4)]);}_0x430b98['xAxis']&&u(_0x2d7172,_0x23f595(0x203),_0x430b98['xAxis']),_0x430b98[_0x23f595(0x244)]&&u(_0x2d7172,_0x23f595(0x244),_0x430b98[_0x23f595(0x244)]),_0x430b98[_0x23f595(0x1a2)]&&u(_0x2d7172,_0x23f595(0x19f),_0x430b98['yRightAxis']),_0x430b98['seriesStyleMap']&&u(_0x2d7172,_0x23f595(0x1b2),_0x430b98[_0x23f595(0x1b2)]);let _0x1fe339={'unitId':_0x144619,'chartModelId':_0x236282},_0x4041fe=!0x1;if(_0x2d5d63!==void 0x0&&(_0x1fe339[_0x23f595(0x23b)]=_0x2d5d63,_0x4041fe=!0x0),Object['keys'](_0x2d7172)['length']>0x0&&(_0x1fe339[_0x23f595(0x216)]=_0x2d7172,_0x4041fe=!0x0),Object[_0x23f595(0x261)](_0x39d324)[_0x23f595(0x197)]>0x0&&(_0x1fe339['context']=_0x39d324,_0x4041fe=!0x0),_0x4041fe)return _0x1fe339;};function f(_0x4d7e38){'@babel/helpers - typeof';const _0x83867b=_0x30a3b3;return f=typeof Symbol==_0x83867b(0x22b)&&typeof Symbol[_0x83867b(0x1d5)]==_0x83867b(0x1ff)?function(_0x3480cc){return typeof _0x3480cc;}:function(_0x32a9b0){const _0x2aea62=_0x83867b;return _0x32a9b0&&typeof Symbol==_0x2aea62(0x22b)&&_0x32a9b0[_0x2aea62(0x1b7)]===Symbol&&_0x32a9b0!==Symbol[_0x2aea62(0x194)]?'symbol':typeof _0x32a9b0;},f(_0x4d7e38);}function _0x5f26(_0x4f8a28,_0x2bddfb){_0x4f8a28=_0x4f8a28-0x194;const _0x95c3c8=_0x95c3();let _0x5f2624=_0x95c3c8[_0x4f8a28];return _0x5f2624;}function p(_0x69f762,_0x4f5d51){const _0x1e009c=_0x30a3b3;if(f(_0x69f762)!=_0x1e009c(0x201)||!_0x69f762)return _0x69f762;var _0xed63b8=_0x69f762[Symbol[_0x1e009c(0x1ca)]];if(_0xed63b8!==void 0x0){var _0x4a548c=_0xed63b8[_0x1e009c(0x211)](_0x69f762,_0x4f5d51||_0x1e009c(0x1a0));if(f(_0x4a548c)!=_0x1e009c(0x201))return _0x4a548c;throw TypeError(_0x1e009c(0x21e));}return(_0x4f5d51===_0x1e009c(0x1d2)?String:Number)(_0x69f762);}function m(_0xe10dd8){const _0x3bea9f=_0x30a3b3;var _0x233123=p(_0xe10dd8,_0x3bea9f(0x1d2));return f(_0x233123)==_0x3bea9f(0x1ff)?_0x233123:_0x233123+'';}function h(_0x3ebd50,_0x55edb5,_0x177224){const _0x3d545c=_0x30a3b3;return(_0x55edb5=m(_0x55edb5))in _0x3ebd50?Object[_0x3d545c(0x1fd)](_0x3ebd50,_0x55edb5,{'value':_0x177224,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ebd50[_0x55edb5]=_0x177224,_0x3ebd50;}function _0x95c3(){const _0x140d05=['ChartUpdateSourceCommand','title','range','position','allSeriesStyle.color','defineProperty','indicatorLineColor','symbol','setAxisPointerStyle','object','28CmACru','xAxis','gradientFill','addRange','fontSize','FWorksheet','Pie','ChartThemeService','RadarChartBuilder','pie.doughnutHole','Radar','getWorkbook','UNIVER_SHEET','getChartId','setProperty','call','setHasPaddingAngle','setDataPointSize','indicatorLineType','setYAxisTitle','style','rosePie','hasPaddingAngle','getRange','DrawingTypeEnum','ChartBorderDashType','radar.fill','titles.title.content','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','removeChart','yAxis.label.axisTitleAlign','ISheetSelectionRenderService','titles.yAxisTitle.bold','setDataPointShape','dataPointColor','pie.isHalfPie','borderColor','left','IRenderManagerService','LinePointShape','indicatorLabelColor','function','TitlePositionEnum','setSeriesStyle','titleAlignment','area','allSeriesStyle.point.shape','pie.hasPaddingAngle','transposeRowsAndColumns','getRangeInfo','LineChartBuilder','_commandService','setPosition','theme','30yFALBb','rightYAxis.label.axisTitleAlign','tooltip.indicatorLineType','chartType','SelectModeEnum','radar','IUniverInstanceService','RadarShape','setXAxisTitle','shape','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','titles.rightYAxisTitle.bold','yAxis','insertChart','9100223gbgYxN','modify','FBase','invalidValueType','extend','tooltip.indicatorLabelTextColor','setXAxisTextStyle','titles.xAxisTitle.fontSize','yAxisTitle','setInvalidValueStrategy','getCharts','titles.titlePosition','category','allSeriesStyle','italic','setTransposeRowsAndColumns','border','setBorderColor','font','ChartTypeBits','rightYAxisTitle','registerChartTheme','setAllSeriesStyle','build','setOptions','setWidth','showLabelLine','keys','deserializeRangeWithSheet','xAxisTitle','20101BUJmoE','setDoughnutHole','FEnum','FChartBuilderBase','dataPointSize','titles.xAxisTitle.family','prototype','DRAWING_CHART','color','length','newChart','260547pfPIRK','content','doughnutHole','isHalfPie','pie.borderColor','fontColor','rightYAxis','default','_injector','yRightAxis','options','axisAlignment','SheetSkeletonManagerService','setIsHalfPie','3195sIElSZ','getUnitChartModels','axisPointer','executeCommand','titles.xAxisTitle.bold','label','getCategoryData','allSeriesStyle.point','_workbook','titles.title.color','map','seriesStyleMap','sourceSheetName','allSeriesStyle.border','convertPositionCellToSheetOverGrid','4460OWSOHE','constructor','12eLyPCJ','asRadarChart','SheetsChartService','FChart','getUnitId','width','bold','titles.xAxisTitle.content','getCurrentUnitForType','pie','titles.title.bold','titles.xAxisTitle.font','getRenderById','xAxis.label.axisTitleAlign','legend.label.color','chartId','tooltip.indicatorLabelColor','setShape','toPrimitive','3177204BBdacH','setChartType','allSeriesStyle.point.color','registerTheme','getSheetId','indicatorLabelTextColor','dataPointShape','string','pie.rosePie','pie.showLabelLine','iterator','fontStyle','fill','sheetName','362660XgLjTN','ICommandService','titles.yAxisTitle.family','707648BJOmQL','setFill','titles.rightYAxisTitle.color','subUnitId','updateChart','setRosePie','get','asLineChart','legend','point','radar.shape','legend.label.bold','getChartModel','AxisAlignEnum','titles.title.font','generateRandomId','titles.yAxisTitle.font','lineStyle','titles.title.family','unitId','setAbsolutePosition','backgroundColor','height','updateRange','area.lineStyle','titles.title.fontSize','InsertChartCommand','toStringTag'];_0x95c3=function(){return _0x140d05;};return _0x95c3();}var g=class extends o[_0x30a3b3(0x248)]{constructor(_0x5cb944,_0x132ea2,_0x454a67,_0x3f40df,_0x307cff){const _0x97ab9=_0x30a3b3;super(),h(this,_0x97ab9(0x1af),void 0x0),h(this,_0x97ab9(0x1a1),void 0x0),h(this,_0x97ab9(0x1ef),void 0x0),h(this,_0x97ab9(0x1df),void 0x0),h(this,'chartId',void 0x0),h(this,_0x97ab9(0x1fa),void 0x0),h(this,_0x97ab9(0x1b3),void 0x0),h(this,'x',void 0x0),h(this,'y',void 0x0),h(this,_0x97ab9(0x1bd),void 0x0),h(this,_0x97ab9(0x1f2),void 0x0),h(this,_0x97ab9(0x23b),void 0x0),h(this,_0x97ab9(0x1a3),void 0x0),h(this,_0x97ab9(0x232),void 0x0),this[_0x97ab9(0x1ef)]=_0x5cb944,this[_0x97ab9(0x1df)]=_0x132ea2,this[_0x97ab9(0x1af)]=_0x454a67,this[_0x97ab9(0x1a1)]=_0x3f40df,_0x307cff&&(this['chartId']=_0x307cff);}['getChartType'](){const _0x91ec16=_0x30a3b3;return this[_0x91ec16(0x23b)];}[_0x30a3b3(0x205)](_0x34587b){const _0x1d7b95=_0x30a3b3;if(typeof _0x34587b==_0x1d7b95(0x1d2)){let _0x36cb20=(0x0,s[_0x1d7b95(0x262)])(_0x34587b);_0x36cb20[_0x1d7b95(0x1d8)]&&(this[_0x1d7b95(0x1b3)]=_0x36cb20['sheetName']),this[_0x1d7b95(0x1fa)]=_0x36cb20['range'];}else this[_0x1d7b95(0x1fa)]=_0x34587b;return this;}['clearRange'](){const _0x3905bc=_0x30a3b3;return this['range']=void 0x0,this[_0x3905bc(0x1b3)]=void 0x0,this;}[_0x30a3b3(0x236)](_0x2f241c,_0x46aafa,_0x12c207,_0x49a654){const _0x575855=_0x30a3b3;let _0x2ccb15=this[_0x575855(0x1a1)][_0x575855(0x1e2)](c[_0x575855(0x228)])[_0x575855(0x1c4)](this[_0x575855(0x1ef)]);if(!_0x2ccb15)throw Error(_0x575855(0x242));let _0x4889b6=_0x2ccb15['with'](l[_0x575855(0x221)]),_0x15fab5=_0x2ccb15['with'](l[_0x575855(0x1a5)]),{transform:_0x23d7af}=(0x0,l[_0x575855(0x1b5)])(this[_0x575855(0x1ef)],this[_0x575855(0x1df)],{'row':_0x2f241c,'column':_0x46aafa,'rowOffset':_0x12c207,'columnOffset':_0x49a654},0x1,0x1,_0x4889b6,_0x15fab5),_0x42c350=_0x23d7af['top'];return this['x']=_0x23d7af[_0x575855(0x227)],this['y']=_0x42c350,this;}[_0x30a3b3(0x1f0)](_0x3195c8,_0x2fc91a){return this['x']=_0x3195c8,this['y']=_0x2fc91a,this;}[_0x30a3b3(0x1cc)](_0x524c68){const _0x51bdcd=_0x30a3b3;return this[_0x51bdcd(0x23b)]=_0x524c68,this;}[_0x30a3b3(0x25f)](_0x56a26d){const _0x35a70b=_0x30a3b3;return this[_0x35a70b(0x1bd)]=_0x56a26d,this;}['setHeight'](_0x20b5ac){const _0x11d717=_0x30a3b3;return this[_0x11d717(0x1f2)]=_0x20b5ac,this;}[_0x30a3b3(0x25e)](_0x15920f,_0x41e162){const _0xf03bfa=_0x30a3b3;return this[_0xf03bfa(0x1a3)]||(this[_0xf03bfa(0x1a3)]={}),_0x15920f===''?(this['options']={...this['options'],..._0x41e162},this):((0x0,t[_0xf03bfa(0x210)])(this['options'],_0x15920f,_0x41e162),this);}[_0x30a3b3(0x255)](_0x21d018){const _0xae9b4a=_0x30a3b3;return this[_0xae9b4a(0x232)]=_0x21d018,this;}['setTheme'](_0x4eee6c){const _0x5d2d22=_0x30a3b3;return this[_0x5d2d22(0x25e)](_0x5d2d22(0x237),_0x4eee6c),this;}[_0x30a3b3(0x240)](_0x2fd66b){const _0x5eca9a=_0x30a3b3;var _0x1cb8f6;let _0x3431ed=((_0x1cb8f6=this[_0x5eca9a(0x1a3)])==null?void 0x0:_0x1cb8f6['xAxisTitle'])||{};return _0x3431ed['content']=_0x2fd66b,this['setOptions']('xAxisTitle',_0x3431ed),this;}[_0x30a3b3(0x215)](_0x29f0c6){const _0x201db6=_0x30a3b3;var _0x38d92e;let _0x999245=((_0x38d92e=this[_0x201db6(0x1a3)])==null?void 0x0:_0x38d92e[_0x201db6(0x24e)])||{};return _0x999245[_0x201db6(0x19a)]=_0x29f0c6,this[_0x201db6(0x25e)]('yAxisTitle',_0x999245),this;}['setRightYAxisTitle'](_0x4d238f){const _0x5e7fd0=_0x30a3b3;var _0x438085;let _0x16981a=((_0x438085=this[_0x5e7fd0(0x1a3)])==null?void 0x0:_0x438085['rightYAxisTitle'])||{};return _0x16981a[_0x5e7fd0(0x19a)]=_0x4d238f,this[_0x5e7fd0(0x25e)](_0x5e7fd0(0x25a),_0x16981a),this;}[_0x30a3b3(0x24c)](_0x1c9525){const _0x33b4f4=_0x30a3b3;var _0x2eddb5;let _0x17b606=((_0x2eddb5=this[_0x33b4f4(0x1a3)])==null?void 0x0:_0x2eddb5['xAxisTitle'])||{};return this['setOptions'](_0x33b4f4(0x263),{..._0x17b606,..._0x1c9525}),this;}['setYAxisTextStyle'](_0x2a2ad7){const _0x357005=_0x30a3b3;var _0x2b4124;let _0x211f9d=((_0x2b4124=this[_0x357005(0x1a3)])==null?void 0x0:_0x2b4124['yAxisTitle'])||{};return this[_0x357005(0x25e)](_0x357005(0x24e),{..._0x211f9d,..._0x2a2ad7}),this;}['setRightYAxisTextStyle'](_0x42b94b){const _0xeb8cde=_0x30a3b3;var _0x1ada9d;let _0x2f52c9=((_0x1ada9d=this[_0xeb8cde(0x1a3)])==null?void 0x0:_0x1ada9d[_0xeb8cde(0x25a)])||{};return this[_0xeb8cde(0x25e)](_0xeb8cde(0x25a),{..._0x2f52c9,..._0x42b94b}),this;}[_0x30a3b3(0x24f)](_0x549bae){const _0x44f92f=_0x30a3b3;return this[_0x44f92f(0x25e)](_0x44f92f(0x249),_0x549bae),this;}[_0x30a3b3(0x200)](_0x5ee334){const _0x4377b4=_0x30a3b3;return this[_0x4377b4(0x25e)]('axisPointer',_0x5ee334),this;}[_0x30a3b3(0x25c)](_0x1fce4c){const _0x3bc886=_0x30a3b3;return this['setOptions'](_0x3bc886(0x253),_0x1fce4c),this;}[_0x30a3b3(0x22d)](_0x247e54,_0x2be81c){const _0x22638a=_0x30a3b3;return this[_0x22638a(0x25e)](_0x22638a(0x1b2),{[_0x247e54]:_0x2be81c}),this;}[_0x30a3b3(0x25d)](){const _0xb65188=_0x30a3b3;return{'unitId':this['unitId'],'subUnitId':this[_0xb65188(0x1df)],'chartId':this[_0xb65188(0x1c7)],'range':this['range'],'sourceSheetName':this[_0xb65188(0x1b3)],'x':this['x'],'y':this['y'],'width':this[_0xb65188(0x1bd)],'height':this['height'],'chartType':this[_0xb65188(0x23b)],'options':this[_0xb65188(0x1a3)],'isRowDirection':this[_0xb65188(0x232)]};}},_=class{constructor(_0x2d2c43,_0x186d8c,_0x4e552e,_0x4f2d2c){const _0x186312=_0x30a3b3;h(this,_0x186312(0x1ef),void 0x0),h(this,'subUnitId',void 0x0),h(this,_0x186312(0x1c7),void 0x0),h(this,_0x186312(0x1a1),void 0x0),this[_0x186312(0x1ef)]=_0x2d2c43,this[_0x186312(0x1df)]=_0x186d8c,this[_0x186312(0x1c7)]=_0x4e552e,this[_0x186312(0x1a1)]=_0x4f2d2c;}[_0x30a3b3(0x20f)](){const _0x4744cf=_0x30a3b3;return this[_0x4744cf(0x1c7)];}[_0x30a3b3(0x219)](){const _0x283f80=_0x30a3b3;let _0x148955=this[_0x283f80(0x1a1)][_0x283f80(0x1e2)](t[_0x283f80(0x1ba)])[_0x283f80(0x1e8)](this[_0x283f80(0x1c7)]);if(_0x148955)return _0x148955['dataSource'][_0x283f80(0x233)]();}[_0x30a3b3(0x1f3)](_0x52d167){const _0xe4b6e9=_0x30a3b3;return this[_0xe4b6e9(0x1a1)][_0xe4b6e9(0x1e2)](r[_0xe4b6e9(0x1da)])[_0xe4b6e9(0x1aa)](t[_0xe4b6e9(0x1f8)]['id'],{'unitId':this[_0xe4b6e9(0x1ef)],'chartModelId':this[_0xe4b6e9(0x1c7)],'range':_0x52d167});}['getSeriesData'](){const _0x5a4fe2=_0x30a3b3;let _0x4e2f6c=this[_0x5a4fe2(0x1a1)][_0x5a4fe2(0x1e2)](t[_0x5a4fe2(0x1ba)])[_0x5a4fe2(0x1e8)](this[_0x5a4fe2(0x1c7)]);if(_0x4e2f6c){var _0x4a516f;return(_0x4a516f=_0x4e2f6c['config'])==null?void 0x0:_0x4a516f['series'];}}[_0x30a3b3(0x1ad)](){const _0x224b48=_0x30a3b3;let _0x17cc97=this[_0x224b48(0x1a1)]['get'](t[_0x224b48(0x1ba)])[_0x224b48(0x1e8)](this[_0x224b48(0x1c7)]);if(_0x17cc97){var _0x5a3d44;return(_0x5a3d44=_0x17cc97['config'])==null?void 0x0:_0x5a3d44[_0x224b48(0x252)];}}[_0x30a3b3(0x247)](){const _0x167db7=_0x30a3b3;let _0x2120a5=this[_0x167db7(0x1a1)][_0x167db7(0x1e2)](r[_0x167db7(0x23e)])[_0x167db7(0x1c0)](r['UniverInstanceType'][_0x167db7(0x20e)]);return new g(this[_0x167db7(0x1ef)],this[_0x167db7(0x1df)],_0x2120a5,this[_0x167db7(0x1a1)],this['chartId']);}},v=class extends a['FWorksheet']{async[_0x30a3b3(0x245)](_0x1562e3){const _0x49063b=_0x30a3b3;var _0x5a07f8,_0x395f03,_0x5f5a7f;let _0x1a1162=_0x1562e3[_0x49063b(0x1ef)]||this[_0x49063b(0x20d)]()[_0x49063b(0x1bc)](),_0x27bc37=_0x1562e3[_0x49063b(0x1df)]||this['getSheetId'](),_0x366b91=_0x1562e3[_0x49063b(0x1c7)]||(0x0,r[_0x49063b(0x1eb)])(),_0x1463c1=_0x1562e3[_0x49063b(0x23b)],_0x439eeb=_0x1562e3[_0x49063b(0x1fa)],_0xfe1b40=_0x1562e3[_0x49063b(0x1b3)],_0x358f4a={'x':_0x1562e3['x'],'y':_0x1562e3['y']},_0x157b2b=_0x1562e3[_0x49063b(0x1bd)],_0x15e04e=_0x1562e3[_0x49063b(0x1f2)],_0x26a7d9=(_0x5a07f8=_0x1562e3[_0x49063b(0x1a3)])==null?void 0x0:_0x5a07f8[_0x49063b(0x1f1)],_0x578b3a=(_0x395f03=_0x1562e3['options'])==null?void 0x0:_0x395f03[_0x49063b(0x226)],_0x284f53=d(_0x1a1162,_0x366b91,_0x1463c1,_0x1562e3[_0x49063b(0x1a3)]),_0x58fce6=(_0x5f5a7f=_0x1562e3['isRowDirection'])==null?!0x0:_0x5f5a7f;if(!_0x439eeb)throw Error('Range\x20is\x20required\x20to\x20insert\x20a\x20chart');return await this[_0x49063b(0x235)][_0x49063b(0x1aa)](n[_0x49063b(0x1f6)]['id'],{'unitId':_0x1a1162,'subUnitId':_0x27bc37,'chartId':_0x366b91,'chartType':_0x1463c1,'range':_0x439eeb,'sourceSheetName':_0xfe1b40,'position':_0x358f4a,'width':_0x157b2b,'height':_0x15e04e,'backgroundColor':_0x26a7d9,'borderColor':_0x578b3a,'config':_0x284f53,'isRowDirection':_0x58fce6}),new _(_0x1a1162,_0x27bc37,_0x366b91,this[_0x49063b(0x1a1)]);}[_0x30a3b3(0x1e0)](_0x2b1e7e){const _0x1858fe=_0x30a3b3;let {unitId:_0x4f358d,chartId:_0x43584f,chartType:_0x5c3632,options:_0x8210ab}=_0x2b1e7e,_0x66c59f=d(_0x4f358d,_0x43584f,_0x5c3632,_0x8210ab);this['_commandService'][_0x1858fe(0x1aa)](t['ChartUpdateConfigCommand']['id'],_0x66c59f);}[_0x30a3b3(0x198)](_0x37f3ca){const _0x2d46f7=_0x30a3b3;return _0x37f3ca?new g(_0x37f3ca[_0x2d46f7(0x1ef)],_0x37f3ca[_0x2d46f7(0x1df)],this['_workbook'],this[_0x2d46f7(0x1a1)],_0x37f3ca[_0x2d46f7(0x1c7)]):new g(this[_0x2d46f7(0x20d)]()[_0x2d46f7(0x1bc)](),this[_0x2d46f7(0x1cf)](),this[_0x2d46f7(0x1af)],this[_0x2d46f7(0x1a1)]);}[_0x30a3b3(0x250)](){const _0x5874f8=_0x30a3b3;let _0x366325=this['_injector'][_0x5874f8(0x1e2)](t[_0x5874f8(0x1ba)]),_0x2d0f68=this[_0x5874f8(0x20d)]()[_0x5874f8(0x1bc)]();return _0x366325[_0x5874f8(0x1a8)](_0x2d0f68,this[_0x5874f8(0x1cf)]())[_0x5874f8(0x1b1)](_0x18b6bc=>new _(_0x2d0f68,this[_0x5874f8(0x1cf)](),_0x18b6bc['id'],this['_injector']));}[_0x30a3b3(0x21f)](_0x48ff29){const _0x35269c=_0x30a3b3;let _0x1d6f35=_0x48ff29[_0x35269c(0x1ef)],_0x1406c1={'unitId':_0x1d6f35,'drawings':[{'unitId':_0x1d6f35,'subUnitId':_0x48ff29[_0x35269c(0x1df)],'drawingId':_0x48ff29[_0x35269c(0x1c7)],'drawingType':r[_0x35269c(0x21a)][_0x35269c(0x195)]}]};return this[_0x35269c(0x235)]['executeCommand'](i['RemoveSheetDrawingCommand']['id'],_0x1406c1);}[_0x30a3b3(0x25b)](_0x4f040d,_0x2cd708){const _0x549649=_0x30a3b3;this[_0x549649(0x1a1)][_0x549649(0x1e2)](e[_0x549649(0x209)])[_0x549649(0x1ce)](_0x4f040d,_0x2cd708);}};a[_0x30a3b3(0x207)][_0x30a3b3(0x24a)](v);var y=class extends o[_0x30a3b3(0x266)]{get['ChartType'](){const _0x4d0806=_0x30a3b3;return e[_0x4d0806(0x259)];}get['LegendPositionEnum'](){return e['LegendPositionEnum'];}get[_0x30a3b3(0x23c)](){const _0x5d85a1=_0x30a3b3;return e[_0x5d85a1(0x23c)];}get[_0x30a3b3(0x1e9)](){const _0x4416ed=_0x30a3b3;return e[_0x4416ed(0x1e9)];}get[_0x30a3b3(0x21b)](){return e['ChartBorderDashType'];}get['LinePointShape'](){const _0xcde03c=_0x30a3b3;return e[_0xcde03c(0x229)];}get['TitlePositionEnum'](){const _0x530daf=_0x30a3b3;return e[_0x530daf(0x22c)];}get[_0x30a3b3(0x23f)](){return e['RadarShape'];}};o[_0x30a3b3(0x266)][_0x30a3b3(0x24a)](y);var b=class extends g{constructor(_0x590dea,_0x37cb90,_0x294273,_0x3e9363,_0x5aaf97){const _0x55bf1f=_0x30a3b3;super(_0x590dea,_0x37cb90,_0x294273,_0x3e9363,_0x5aaf97),h(this,_0x55bf1f(0x1ed),void 0x0),h(this,'dataPointShape',void 0x0),h(this,_0x55bf1f(0x224),void 0x0),h(this,_0x55bf1f(0x268),void 0x0);}['setLineStyle'](_0x4c9755){const _0x4c0c04=_0x30a3b3;return this[_0x4c0c04(0x1ed)]=_0x4c9755,this;}[_0x30a3b3(0x223)](_0x26ad3c){const _0x160a4b=_0x30a3b3;return this[_0x160a4b(0x1d1)]=_0x26ad3c,this;}['setDataPointColor'](_0x1024b1){const _0x321c10=_0x30a3b3;return this[_0x321c10(0x224)]=_0x1024b1,this;}[_0x30a3b3(0x213)](_0x46fe12){const _0x1d2136=_0x30a3b3;return this[_0x1d2136(0x268)]=_0x46fe12,this;}['build'](){const _0x102276=_0x30a3b3;let _0x545092=super['build']();_0x545092[_0x102276(0x23b)]=e[_0x102276(0x259)]['Line'];let _0x267d63=_0x545092[_0x102276(0x1a3)]||{};return u(_0x267d63,_0x102276(0x1f4),this[_0x102276(0x1ed)]),u(_0x267d63,_0x102276(0x230),this[_0x102276(0x1d1)]),u(_0x267d63,_0x102276(0x1cd),this['dataPointColor']),u(_0x267d63,'allSeriesStyle.point.size',this['dataPointSize']),_0x545092[_0x102276(0x1a3)]=_0x267d63,_0x545092;}},x=class extends g{[_0x30a3b3(0x1e3)](){const _0x145aac=_0x30a3b3;return new b(this[_0x145aac(0x1ef)],this['subUnitId'],this['_workbook'],this[_0x145aac(0x1a1)],this['chartId']);}};g[_0x30a3b3(0x24a)](x);var S=class extends g{constructor(_0x3931bf,_0x5a0e42,_0x4bbc11,_0x1cde4c,_0x7ca4e8){const _0x595358=_0x30a3b3;super(_0x3931bf,_0x5a0e42,_0x4bbc11,_0x1cde4c,_0x7ca4e8),h(this,'doughnutHole',void 0x0),h(this,_0x595358(0x226),void 0x0),h(this,'hasPaddingAngle',void 0x0),h(this,_0x595358(0x19c),void 0x0),h(this,_0x595358(0x217),void 0x0),h(this,_0x595358(0x260),void 0x0);}[_0x30a3b3(0x265)](_0x3f4a2f){const _0x572be4=_0x30a3b3;return this[_0x572be4(0x19b)]=_0x3f4a2f,this;}[_0x30a3b3(0x257)](_0x27dabc){const _0x5534f9=_0x30a3b3;return this[_0x5534f9(0x226)]=_0x27dabc,this;}[_0x30a3b3(0x212)](_0x121169){return this['hasPaddingAngle']=_0x121169,this;}[_0x30a3b3(0x1a6)](_0x2b69b7){const _0x429a78=_0x30a3b3;return this[_0x429a78(0x19c)]=_0x2b69b7,this;}[_0x30a3b3(0x1e1)](_0x15ccb9){const _0x29304d=_0x30a3b3;return this[_0x29304d(0x217)]=_0x15ccb9,this;}['setShowLabelLine'](_0x5bc145){return this['showLabelLine']=_0x5bc145,this;}[_0x30a3b3(0x25d)](){const _0x31a7b6=_0x30a3b3;let _0x30ad25=super[_0x31a7b6(0x25d)]();_0x30ad25[_0x31a7b6(0x23b)]=e[_0x31a7b6(0x259)][_0x31a7b6(0x208)];let _0x4fb4b0=_0x30ad25['options']||{};return u(_0x4fb4b0,_0x31a7b6(0x20b),this[_0x31a7b6(0x19b)]),u(_0x4fb4b0,_0x31a7b6(0x19d),this[_0x31a7b6(0x226)]),u(_0x4fb4b0,_0x31a7b6(0x231),this[_0x31a7b6(0x218)]),u(_0x4fb4b0,_0x31a7b6(0x225),this['isHalfPie']),u(_0x4fb4b0,_0x31a7b6(0x1d3),this[_0x31a7b6(0x217)]),u(_0x4fb4b0,_0x31a7b6(0x1d4),this[_0x31a7b6(0x260)]),_0x30ad25['options']=_0x4fb4b0,_0x30ad25;}},C=class extends g{['asPieChart'](){const _0x555ac3=_0x30a3b3;return new S(this[_0x555ac3(0x1ef)],this[_0x555ac3(0x1df)],this['_workbook'],this[_0x555ac3(0x1a1)],this[_0x555ac3(0x1c7)]);}};g['extend'](C);var w=class extends g{constructor(_0x2e6bec,_0x2d2532,_0x3657ac,_0x2a87fd,_0xd3e784){const _0x4f0fba=_0x30a3b3;super(_0x2e6bec,_0x2d2532,_0x3657ac,_0x2a87fd,_0xd3e784),h(this,'shape',void 0x0),h(this,_0x4f0fba(0x1d7),void 0x0);}[_0x30a3b3(0x1c9)](_0x2af1b7){return this['shape']=_0x2af1b7,this;}[_0x30a3b3(0x1dd)](_0x42f577){return this['fill']=_0x42f577,this;}[_0x30a3b3(0x25d)](){const _0x3e244d=_0x30a3b3;let _0xa16d4=super[_0x3e244d(0x25d)]();_0xa16d4[_0x3e244d(0x23b)]=e[_0x3e244d(0x259)][_0x3e244d(0x20c)];let _0x566004=_0xa16d4[_0x3e244d(0x1a3)]||{};return u(_0x566004,_0x3e244d(0x1e6),this[_0x3e244d(0x241)]),u(_0x566004,_0x3e244d(0x21c),this[_0x3e244d(0x1d7)]),_0xa16d4['options']=_0x566004,_0xa16d4;}},T=class extends g{[_0x30a3b3(0x1b9)](){const _0x378e85=_0x30a3b3;return new w(this[_0x378e85(0x1ef)],this['subUnitId'],this[_0x378e85(0x1af)],this['_injector'],this[_0x378e85(0x1c7)]);}};g['extend'](T),exports[_0x30a3b3(0x1bb)]=_,exports[_0x30a3b3(0x267)]=g,exports[_0x30a3b3(0x234)]=b,exports['PieChartBuilder']=S,exports[_0x30a3b3(0x20a)]=w;