@univerjs-pro/sheets-chart-ui 0.10.5-nightly.202508290716 → 0.10.6-experimental.20250903-f52e3bf

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x46f1e4=_0x4467;(function(_0x4f4a76,_0x39029d){const _0x22468a=_0x4467,_0x31dbca=_0x4f4a76();while(!![]){try{const _0x492da2=-parseInt(_0x22468a(0xef))/0x1+-parseInt(_0x22468a(0x108))/0x2+parseInt(_0x22468a(0xec))/0x3+parseInt(_0x22468a(0x13e))/0x4+-parseInt(_0x22468a(0x116))/0x5*(-parseInt(_0x22468a(0xcc))/0x6)+-parseInt(_0x22468a(0x173))/0x7*(-parseInt(_0x22468a(0x175))/0x8)+-parseInt(_0x22468a(0xd6))/0x9;if(_0x492da2===_0x39029d)break;else _0x31dbca['push'](_0x31dbca['shift']());}catch(_0x23a20){_0x31dbca['push'](_0x31dbca['shift']());}}}(_0x3caf,0x92c4d));function _0x3caf(){const _0x2530b1=['legend','setIsHalfPie','setOptions','getSheetBySheetName','chartId','UniverInstanceType','map','subUnitId','xAxisTitle','pie.isHalfPie','get','rosePie','FWorksheet','yAxis','yRightAxis','getRenderById','titles.title.color','getRangeInfo','1826520JDZarq','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','getUnitChartModels','279933Rtxlqu','FEnum','with','width','IUniverInstanceService','SelectModeEnum','Line','titles.xAxisTitle.fontSize','getChartType','allSeriesStyle.point.color','titles.xAxisTitle.content','RemoveSheetDrawingCommand','font','allSeriesStyle.point','titles.rightYAxisTitle.bold','setXAxisTextStyle','titles.titlePosition','context','setYAxisTextStyle','symbol','UNIVER_SHEET','keys','getCategoryData','setYAxisTitle','category','1084958EOmuSd','_workbook','setShowLabelLine','Pie','LegendPositionEnum','setWidth','setDataPointShape','unitId','setFill','axisAlignment','modify','radar','rightYAxis.label.axisTitleAlign','dataPointColor','30aCIIOI','pie.showLabelLine','gradientFill','titles.rightYAxisTitle.family','setDataPointSize','AxisAlignEnum','getSheetId','lineStyle','defineProperty','titles.yAxisTitle.font','generateRandomId','setAxisPointerStyle','insertChart','ISheetSelectionRenderService','xAxis','titleAlignment','getCharts','transposeRowsAndColumns','titles.yAxisTitle.color','ChartUpdateConfigCommand','setDoughnutHole','legend.label.fontSize','fontStyle','toStringTag','point','legend.selectMode','allSeriesStyle.border','FChart','shape','height','yAxisTitle','titles.yAxisTitle.content','doughnutHole','setAbsolutePosition','DRAWING_CHART','color','tooltip.indicatorLabelTextColor','Module','ChartTypeBits','pie.borderColor','4355808fAMBmw','tooltip.indicatorLineType','RadarChartBuilder','DrawingTypeEnum','titles.rightYAxisTitle.fontSize','getCurrentUnitForType','backgroundColor','_injector','titles.yAxisTitle.fontSize','LineChartBuilder','italic','legend.label.color','setPosition','label','setSeriesStyle','xAxis.label.axisTitleAlign','setLineStyle','IRenderManagerService','radar.fill','setXAxisTitle','setRosePie','rightYAxisTitle','content','borderColor','tooltip.indicatorLineColor','position','rightYAxis','fontSize','config','seriesStyleMap','yAxis.label.axisTitleAlign','setChartType','indicatorLabelColor','options','registerTheme','invalidValueType','deserializeRangeWithSheet','setRightYAxisTitle','titles.xAxisTitle.color','bold','axisPointer','RadarShape','SheetsChartService','sourceSheetName','titles.title.content','length','extend','setInvalidValueStrategy','dataPointShape','clearRange','asLineChart','LinePointShape','fontColor','7rPzKkH','dataPointSize','3157736NnPmfH','legend.position','PieChartBuilder','titles.yAxisTitle.bold','showLabelLine','legend.label.italic','setBorderColor','indicatorLabelTextColor','titles.title.font','getWorkbook','getChartModel','ChartType','titles.rightYAxisTitle.color','Radar','chartType','indicatorLineType','FChartBuilderBase','indicatorLineColor','series','titles.rightYAxisTitle.content','executeCommand','top','titles.yAxisTitle.family','range','build','allSeriesStyle.point.shape','area.lineStyle','pie.doughnutHole','ChartThemeService','ChartBorderDashType','addRange','setProperty','_commandService','TitlePositionEnum','titles.title.bold','titles.xAxisTitle.bold','pie.hasPaddingAngle','theme','area','title','setHeight','isHalfPie','sheetName','registerChartTheme','SheetSkeletonManagerService','getChartId','setRightYAxisTextStyle','180618evarmi','getUnitId','ICommandService','fill','radar.shape','left','tooltip.indicatorLabelColor','hasPaddingAngle','isRowDirection','titles.rightYAxisTitle.font','7645950QARGQl','allSeriesStyle','pie','titles.title.fontSize'];_0x3caf=function(){return _0x2530b1;};return _0x3caf();}var L=Object[_0x46f1e4(0x11e)],U=(_0x429acf,_0x5b8cda,_0x4723cd)=>_0x5b8cda in _0x429acf?L(_0x429acf,_0x5b8cda,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4723cd}):_0x429acf[_0x5b8cda]=_0x4723cd,o=(_0x2c6dbb,_0x423300,_0x17b23d)=>U(_0x2c6dbb,typeof _0x423300!=_0x46f1e4(0x102)?_0x423300+'':_0x423300,_0x17b23d);Object[_0x46f1e4(0x11e)](exports,Symbol[_0x46f1e4(0x12d)],{'value':_0x46f1e4(0x13b)});const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),M=require('@univerjs-pro/sheets-chart-ui'),S=require('@univerjs/core'),j=require('@univerjs/sheets-drawing-ui'),b=require('@univerjs/sheets/facade'),m=require('@univerjs/core/facade'),Y=require('@univerjs/engine-formula'),E=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x38fae9,_0x410ac5,_0x4064f0)=>{const _0x431a53=_0x46f1e4;_0x4064f0!==void 0x0&&u[_0x431a53(0x194)](_0x38fae9,_0x410ac5,_0x4064f0);},f=(_0x39a4d7,_0x2e515a,_0x135a90,_0x1e3e0e={})=>{const _0x2316dd=_0x46f1e4,_0x179f9e={},_0x48e1b1={};if(_0x1e3e0e['title']){const _0x280907=_0x1e3e0e[_0x2316dd(0x19c)];s(_0x179f9e,_0x2316dd(0x16a),_0x280907[_0x2316dd(0x154)]),s(_0x179f9e,_0x2316dd(0x17d),_0x280907[_0x2316dd(0xfb)]),s(_0x179f9e,_0x2316dd(0xd9),_0x280907[_0x2316dd(0x159)]),s(_0x179f9e,_0x2316dd(0xea),_0x280907['fontColor']),s(_0x179f9e,'titles.title.family',_0x280907[_0x2316dd(0x12c)]),s(_0x179f9e,_0x2316dd(0x197),_0x280907[_0x2316dd(0x165)]),s(_0x179f9e,'titles.title.align',_0x280907[_0x2316dd(0x125)]),s(_0x179f9e,_0x2316dd(0xff),_0x280907[_0x2316dd(0x157)]);}if(_0x1e3e0e[_0x2316dd(0xda)]){const _0x4f82df=_0x1e3e0e[_0x2316dd(0xda)];s(_0x179f9e,_0x2316dd(0x176),_0x4f82df[_0x2316dd(0x157)]),s(_0x179f9e,_0x2316dd(0x12f),_0x4f82df['selectMode']),s(_0x179f9e,_0x2316dd(0x12b),_0x4f82df[_0x2316dd(0x159)]),s(_0x179f9e,_0x2316dd(0x149),_0x4f82df[_0x2316dd(0x139)]),s(_0x179f9e,'legend.label.bold',_0x4f82df['bold']),s(_0x179f9e,_0x2316dd(0x17a),_0x4f82df[_0x2316dd(0x148)]);}if(_0x1e3e0e[_0x2316dd(0xd8)]){const _0x233528=_0x1e3e0e['pie'];s(_0x179f9e,'pie.doughnutHole',_0x233528['doughnutHole']),s(_0x179f9e,_0x2316dd(0x13d),_0x233528[_0x2316dd(0x155)]),s(_0x179f9e,_0x2316dd(0x199),_0x233528['hasPaddingAngle']),s(_0x179f9e,_0x2316dd(0xe3),_0x233528[_0x2316dd(0x19e)]),s(_0x179f9e,'pie.rosePie',_0x233528[_0x2316dd(0xe5)]),s(_0x179f9e,_0x2316dd(0x117),_0x233528[_0x2316dd(0x179)]);}if(_0x1e3e0e[_0x2316dd(0x166)]){const _0x3bce5f=_0x1e3e0e[_0x2316dd(0x166)];s(_0x179f9e,_0x2316dd(0xd2),_0x3bce5f[_0x2316dd(0x15e)]),s(_0x179f9e,_0x2316dd(0x13f),_0x3bce5f[_0x2316dd(0x184)]),s(_0x179f9e,_0x2316dd(0x156),_0x3bce5f[_0x2316dd(0x186)]),s(_0x179f9e,_0x2316dd(0x13a),_0x3bce5f[_0x2316dd(0x17c)]);}if(_0x1e3e0e[_0x2316dd(0xd7)]&&(s(_0x179f9e,_0x2316dd(0x130),_0x1e3e0e[_0x2316dd(0xd7)]['border']),s(_0x179f9e,'allSeriesStyle.label',_0x1e3e0e[_0x2316dd(0xd7)][_0x2316dd(0x14b)]),s(_0x179f9e,'allSeriesStyle.rightYAxis',_0x1e3e0e[_0x2316dd(0xd7)]['rightYAxis']),s(_0x179f9e,_0x2316dd(0xfc),_0x1e3e0e[_0x2316dd(0xd7)][_0x2316dd(0x12e)]),s(_0x179f9e,'allSeriesStyle.color',_0x1e3e0e['allSeriesStyle'][_0x2316dd(0x139)])),_0x1e3e0e[_0x2316dd(0x19b)]&&s(_0x179f9e,_0x2316dd(0x18f),_0x1e3e0e['area']['lineStyle']),_0x1e3e0e[_0x2316dd(0x19a)]&&s(_0x179f9e,_0x2316dd(0x19a),_0x1e3e0e[_0x2316dd(0x19a)]),_0x1e3e0e[_0x2316dd(0x144)]&&s(_0x179f9e,'backgroundColor',_0x1e3e0e[_0x2316dd(0x144)]),_0x1e3e0e[_0x2316dd(0x155)]&&s(_0x179f9e,_0x2316dd(0x155),_0x1e3e0e[_0x2316dd(0x155)]),_0x1e3e0e[_0x2316dd(0x118)]&&s(_0x179f9e,_0x2316dd(0x118),_0x1e3e0e['gradientFill']),_0x1e3e0e['invalidValueType']&&s(_0x179f9e,'invalidValueType',_0x1e3e0e[_0x2316dd(0x161)]),_0x1e3e0e[_0x2316dd(0x113)]&&s(_0x179f9e,_0x2316dd(0x113),_0x1e3e0e[_0x2316dd(0x113)]),_0x1e3e0e[_0x2316dd(0xe2)]){const _0x4c055f=_0x1e3e0e[_0x2316dd(0xe2)];s(_0x179f9e,_0x2316dd(0xf9),_0x4c055f['content']),s(_0x179f9e,'titles.xAxisTitle.font',_0x4c055f[_0x2316dd(0xfb)]),s(_0x179f9e,_0x2316dd(0xf6),_0x4c055f[_0x2316dd(0x159)]),s(_0x179f9e,_0x2316dd(0x164),_0x4c055f[_0x2316dd(0x172)]),s(_0x179f9e,'titles.xAxisTitle.family',_0x4c055f[_0x2316dd(0x12c)]),s(_0x179f9e,_0x2316dd(0x198),_0x4c055f[_0x2316dd(0x165)]),s(_0x179f9e,_0x2316dd(0x14d),_0x4c055f[_0x2316dd(0x111)]);}if(_0x1e3e0e[_0x2316dd(0x134)]){const _0x2a7e39=_0x1e3e0e['yAxisTitle'];s(_0x179f9e,_0x2316dd(0x135),_0x2a7e39['content']),s(_0x179f9e,_0x2316dd(0x11f),_0x2a7e39[_0x2316dd(0xfb)]),s(_0x179f9e,_0x2316dd(0x146),_0x2a7e39[_0x2316dd(0x159)]),s(_0x179f9e,_0x2316dd(0x128),_0x2a7e39[_0x2316dd(0x172)]),s(_0x179f9e,_0x2316dd(0x18b),_0x2a7e39[_0x2316dd(0x12c)]),s(_0x179f9e,_0x2316dd(0x178),_0x2a7e39[_0x2316dd(0x165)]),s(_0x179f9e,_0x2316dd(0x15c),_0x2a7e39[_0x2316dd(0x111)]);}if(_0x1e3e0e[_0x2316dd(0x153)]){const _0xa4a2ad=_0x1e3e0e[_0x2316dd(0x153)];s(_0x179f9e,_0x2316dd(0x188),_0xa4a2ad[_0x2316dd(0x154)]),s(_0x179f9e,_0x2316dd(0xd5),_0xa4a2ad[_0x2316dd(0xfb)]),s(_0x179f9e,_0x2316dd(0x142),_0xa4a2ad['fontSize']),s(_0x179f9e,_0x2316dd(0x181),_0xa4a2ad[_0x2316dd(0x172)]),s(_0x179f9e,_0x2316dd(0x119),_0xa4a2ad['fontStyle']),s(_0x179f9e,_0x2316dd(0xfd),_0xa4a2ad[_0x2316dd(0x165)]),s(_0x179f9e,_0x2316dd(0x114),_0xa4a2ad[_0x2316dd(0x111)]);}_0x1e3e0e[_0x2316dd(0x124)]&&s(_0x179f9e,_0x2316dd(0x124),_0x1e3e0e['xAxis']),_0x1e3e0e['yAxis']&&s(_0x179f9e,_0x2316dd(0xe7),_0x1e3e0e[_0x2316dd(0xe7)]),_0x1e3e0e[_0x2316dd(0xe8)]&&s(_0x179f9e,_0x2316dd(0x158),_0x1e3e0e[_0x2316dd(0xe8)]),_0x1e3e0e[_0x2316dd(0x15b)]&&s(_0x179f9e,_0x2316dd(0x15b),_0x1e3e0e[_0x2316dd(0x15b)]);const _0x203cae={'unitId':_0x39a4d7,'chartModelId':_0x2e515a};let _0x4eef6d=!0x1;if(_0x135a90!==void 0x0&&(_0x203cae[_0x2316dd(0x183)]=_0x135a90,_0x4eef6d=!0x0),Object[_0x2316dd(0x104)](_0x179f9e)[_0x2316dd(0x16b)]>0x0&&(_0x203cae['style']=_0x179f9e,_0x4eef6d=!0x0),Object[_0x2316dd(0x104)](_0x48e1b1)['length']>0x0&&(_0x203cae[_0x2316dd(0x100)]=_0x48e1b1,_0x4eef6d=!0x0),_0x4eef6d)return _0x203cae;};class c extends m['FBase']{constructor(_0x299171,_0x44013b,_0x2114c5,_0x2f79dc,_0x897382){const _0x58ec2f=_0x46f1e4;super(),o(this,'_workbook'),o(this,_0x58ec2f(0x145)),o(this,_0x58ec2f(0x10f)),o(this,_0x58ec2f(0xe1)),o(this,_0x58ec2f(0xde)),o(this,_0x58ec2f(0x18c)),o(this,'sourceSheetName'),o(this,'x'),o(this,'y'),o(this,_0x58ec2f(0xf2)),o(this,_0x58ec2f(0x133)),o(this,_0x58ec2f(0x183)),o(this,_0x58ec2f(0x15f)),o(this,_0x58ec2f(0x127)),(this[_0x58ec2f(0x10f)]=_0x299171,this['subUnitId']=_0x44013b,this[_0x58ec2f(0x109)]=_0x2114c5,this[_0x58ec2f(0x145)]=_0x2f79dc,_0x897382&&(this[_0x58ec2f(0xde)]=_0x897382));}[_0x46f1e4(0xf7)](){const _0x219e06=_0x46f1e4;return this[_0x219e06(0x183)];}[_0x46f1e4(0x193)](_0x3aaf94){const _0x222525=_0x46f1e4;if(typeof _0x3aaf94=='string'){const _0x4a7ba8=Y[_0x222525(0x162)](_0x3aaf94);_0x4a7ba8[_0x222525(0x19f)]&&(this[_0x222525(0x169)]=_0x4a7ba8[_0x222525(0x19f)]),this['range']=_0x4a7ba8['range'];}else this[_0x222525(0x18c)]=_0x3aaf94;return this;}[_0x46f1e4(0x16f)](){const _0xd1f4e0=_0x46f1e4;return this[_0xd1f4e0(0x18c)]=void 0x0,this[_0xd1f4e0(0x169)]=void 0x0,this;}[_0x46f1e4(0x14a)](_0x42abdf,_0x5a4c22,_0x8851b4,_0x53e81f){const _0x393285=_0x46f1e4,_0x1c02cb=this['_injector'][_0x393285(0xe4)](E[_0x393285(0x14f)])[_0x393285(0xe9)](this[_0x393285(0x10f)]);if(!_0x1c02cb)throw new Error('This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.');const _0x353ddb=_0x1c02cb[_0x393285(0xf1)](T[_0x393285(0x123)]),_0x2f0084=_0x1c02cb[_0x393285(0xf1)](T[_0x393285(0xc9)]),{transform:_0x2b50bf}=T['convertPositionCellToSheetOverGrid'](this['unitId'],this[_0x393285(0xe1)],{'row':_0x42abdf,'column':_0x5a4c22,'rowOffset':_0x8851b4,'columnOffset':_0x53e81f},0x1,0x1,_0x353ddb,_0x2f0084),_0x181a0e=_0x2b50bf[_0x393285(0x18a)],_0xe4970b=_0x2b50bf[_0x393285(0xd1)];return this['x']=_0xe4970b,this['y']=_0x181a0e,this;}[_0x46f1e4(0x137)](_0x4fa749,_0x4b9959){return this['x']=_0x4fa749,this['y']=_0x4b9959,this;}[_0x46f1e4(0x15d)](_0x4987e0){const _0x370891=_0x46f1e4;return this[_0x370891(0x183)]=_0x4987e0,this;}[_0x46f1e4(0x10d)](_0x189143){return this['width']=_0x189143,this;}[_0x46f1e4(0x19d)](_0x146607){const _0x51f0f9=_0x46f1e4;return this[_0x51f0f9(0x133)]=_0x146607,this;}['setOptions'](_0x5990c3,_0x22a130){const _0x571e9d=_0x46f1e4;return this['options']||(this[_0x571e9d(0x15f)]={}),_0x5990c3===''?(this['options']={...this[_0x571e9d(0x15f)],..._0x22a130},this):(u[_0x571e9d(0x194)](this[_0x571e9d(0x15f)],_0x5990c3,_0x22a130),this);}['setTransposeRowsAndColumns'](_0x2937d9){const _0x40c060=_0x46f1e4;return this[_0x40c060(0x127)]=_0x2937d9,this;}['setTheme'](_0x3a174d){const _0xb643f7=_0x46f1e4;return this[_0xb643f7(0xdc)](_0xb643f7(0x19a),_0x3a174d),this;}[_0x46f1e4(0x151)](_0x572421){const _0x3d22b5=_0x46f1e4;var _0x171de7;const _0x2ab49e=((_0x171de7=this[_0x3d22b5(0x15f)])==null?void 0x0:_0x171de7[_0x3d22b5(0xe2)])||{};return _0x2ab49e[_0x3d22b5(0x154)]=_0x572421,this[_0x3d22b5(0xdc)](_0x3d22b5(0xe2),_0x2ab49e),this;}[_0x46f1e4(0x106)](_0x27d0ca){const _0x264d1b=_0x46f1e4;var _0x2a8fd5;const _0x13f092=((_0x2a8fd5=this[_0x264d1b(0x15f)])==null?void 0x0:_0x2a8fd5[_0x264d1b(0x134)])||{};return _0x13f092[_0x264d1b(0x154)]=_0x27d0ca,this[_0x264d1b(0xdc)]('yAxisTitle',_0x13f092),this;}[_0x46f1e4(0x163)](_0x18c634){const _0x2ccce1=_0x46f1e4;var _0x4048d8;const _0x5324b1=((_0x4048d8=this[_0x2ccce1(0x15f)])==null?void 0x0:_0x4048d8[_0x2ccce1(0x153)])||{};return _0x5324b1[_0x2ccce1(0x154)]=_0x18c634,this[_0x2ccce1(0xdc)](_0x2ccce1(0x153),_0x5324b1),this;}[_0x46f1e4(0xfe)](_0xfc1444){const _0x243ae5=_0x46f1e4;var _0x5cdbde;const _0x692104=((_0x5cdbde=this[_0x243ae5(0x15f)])==null?void 0x0:_0x5cdbde['xAxisTitle'])||{};return this[_0x243ae5(0xdc)](_0x243ae5(0xe2),{..._0x692104,..._0xfc1444}),this;}[_0x46f1e4(0x101)](_0x11019e){const _0xf8dd5f=_0x46f1e4;var _0x4c80b2;const _0x38bc69=((_0x4c80b2=this[_0xf8dd5f(0x15f)])==null?void 0x0:_0x4c80b2[_0xf8dd5f(0x134)])||{};return this[_0xf8dd5f(0xdc)](_0xf8dd5f(0x134),{..._0x38bc69,..._0x11019e}),this;}[_0x46f1e4(0xcb)](_0x26e48b){const _0x9991af=_0x46f1e4;var _0x49c1da;const _0x4677d5=((_0x49c1da=this[_0x9991af(0x15f)])==null?void 0x0:_0x49c1da[_0x9991af(0x153)])||{};return this[_0x9991af(0xdc)](_0x9991af(0x153),{..._0x4677d5,..._0x26e48b}),this;}[_0x46f1e4(0x16d)](_0x1c6ab7){const _0xa509b=_0x46f1e4;return this[_0xa509b(0xdc)](_0xa509b(0x161),_0x1c6ab7),this;}[_0x46f1e4(0x121)](_0x247cd5){const _0x3caedc=_0x46f1e4;return this[_0x3caedc(0xdc)](_0x3caedc(0x166),_0x247cd5),this;}['setAllSeriesStyle'](_0x10c74f){const _0x8abfc2=_0x46f1e4;return this['setOptions'](_0x8abfc2(0xd7),_0x10c74f),this;}[_0x46f1e4(0x14c)](_0xe0c557,_0x40dc66){const _0x380cfe=_0x46f1e4;return this['setOptions'](_0x380cfe(0x15b),{[_0xe0c557]:_0x40dc66}),this;}[_0x46f1e4(0x18d)](){const _0x45ee3e=_0x46f1e4;var _0x5a6853;let _0x33baf3=this[_0x45ee3e(0xe1)];if(this[_0x45ee3e(0x169)]){const _0x560f28=(_0x5a6853=this[_0x45ee3e(0x109)][_0x45ee3e(0xdd)](this['sourceSheetName']))==null?void 0x0:_0x5a6853[_0x45ee3e(0x11c)]();if(!_0x560f28)throw new Error('Sheet\x20'+this[_0x45ee3e(0x169)]+'\x20not\x20found');_0x33baf3=_0x560f28;}return{'unitId':this[_0x45ee3e(0x10f)],'subUnitId':_0x33baf3,'chartId':this[_0x45ee3e(0xde)],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x45ee3e(0xf2)],'height':this[_0x45ee3e(0x133)],'chartType':this[_0x45ee3e(0x183)],'options':this['options'],'isRowDirection':this[_0x45ee3e(0x127)]};}}class A{constructor(_0x1f18dc,_0x2021cd,_0x3b108a,_0x228557){const _0x1bdd3d=_0x46f1e4;o(this,_0x1bdd3d(0x10f)),o(this,_0x1bdd3d(0xe1)),o(this,_0x1bdd3d(0xde)),o(this,_0x1bdd3d(0x145)),(this[_0x1bdd3d(0x10f)]=_0x1f18dc,this[_0x1bdd3d(0xe1)]=_0x2021cd,this[_0x1bdd3d(0xde)]=_0x3b108a,this[_0x1bdd3d(0x145)]=_0x228557);}[_0x46f1e4(0xca)](){const _0xaa422d=_0x46f1e4;return this[_0xaa422d(0xde)];}['getRange'](){const _0x2377ef=_0x46f1e4,_0x413d27=this['_injector'][_0x2377ef(0xe4)](u[_0x2377ef(0x168)])['getChartModel'](this[_0x2377ef(0xde)]);if(_0x413d27)return _0x413d27['dataSource'][_0x2377ef(0xeb)]();}['updateRange'](_0x316d05){const _0x40c047=_0x46f1e4;return this['_injector'][_0x40c047(0xe4)](S[_0x40c047(0xce)])['executeCommand'](u['ChartUpdateSourceCommand']['id'],{'unitId':this['unitId'],'chartModelId':this['chartId'],'range':_0x316d05});}['getSeriesData'](){const _0x5759dd=_0x46f1e4;var _0x2a8025;const _0x493aac=this[_0x5759dd(0x145)][_0x5759dd(0xe4)](u[_0x5759dd(0x168)])[_0x5759dd(0x17f)](this[_0x5759dd(0xde)]);if(_0x493aac)return(_0x2a8025=_0x493aac[_0x5759dd(0x15a)])==null?void 0x0:_0x2a8025[_0x5759dd(0x187)];}[_0x46f1e4(0x105)](){const _0x115a84=_0x46f1e4;var _0x1f3a4a;const _0x22c202=this[_0x115a84(0x145)][_0x115a84(0xe4)](u['SheetsChartService'])[_0x115a84(0x17f)](this[_0x115a84(0xde)]);if(_0x22c202)return(_0x1f3a4a=_0x22c202['config'])==null?void 0x0:_0x1f3a4a[_0x115a84(0x107)];}[_0x46f1e4(0x112)](){const _0x12b2b8=_0x46f1e4,_0x57ff26=this[_0x12b2b8(0x145)][_0x12b2b8(0xe4)](S[_0x12b2b8(0xf3)])[_0x12b2b8(0x143)](S[_0x12b2b8(0xdf)][_0x12b2b8(0x103)]);return new c(this[_0x12b2b8(0x10f)],this[_0x12b2b8(0xe1)],_0x57ff26,this[_0x12b2b8(0x145)],this[_0x12b2b8(0xde)]);}}class H extends b[_0x46f1e4(0xe6)]{async[_0x46f1e4(0x122)](_0x21d084){const _0x47b016=_0x46f1e4;var _0x1a4ab1,_0xd030d1,_0x483e7f;const _0x4be30f=_0x21d084['unitId']||this[_0x47b016(0x17e)]()['getUnitId'](),_0x26bbe7=_0x21d084[_0x47b016(0xe1)]||this[_0x47b016(0x11c)](),_0x2ab223=_0x21d084[_0x47b016(0xde)]||S[_0x47b016(0x120)](),_0x5acc7c=_0x21d084[_0x47b016(0x183)],_0x563563=_0x21d084[_0x47b016(0x18c)],_0x1223ae={'x':_0x21d084['x'],'y':_0x21d084['y']},_0xdc9cad=_0x21d084[_0x47b016(0xf2)],_0xe09211=_0x21d084[_0x47b016(0x133)],_0x399a10=(_0x1a4ab1=_0x21d084[_0x47b016(0x15f)])==null?void 0x0:_0x1a4ab1[_0x47b016(0x144)],_0x29d43c=(_0xd030d1=_0x21d084[_0x47b016(0x15f)])==null?void 0x0:_0xd030d1[_0x47b016(0x155)],_0x4e42a9=f(_0x4be30f,_0x2ab223,_0x5acc7c,_0x21d084['options']),_0xbe38c9=(_0x483e7f=_0x21d084[_0x47b016(0xd4)])!=null?_0x483e7f:!0x0;if(!_0x563563)throw new Error(_0x47b016(0xed));return await this['_commandService'][_0x47b016(0x189)](M['InsertChartCommand']['id'],{'unitId':_0x4be30f,'subUnitId':_0x26bbe7,'chartId':_0x2ab223,'chartType':_0x5acc7c,'range':_0x563563,'position':_0x1223ae,'width':_0xdc9cad,'height':_0xe09211,'backgroundColor':_0x399a10,'borderColor':_0x29d43c,'config':_0x4e42a9,'isRowDirection':_0xbe38c9}),new A(_0x4be30f,_0x26bbe7,_0x2ab223,this[_0x47b016(0x145)]);}['updateChart'](_0x568ac5){const _0x1bf6ce=_0x46f1e4,{unitId:_0x26c6a6,chartId:_0xa9223f,chartType:_0xa5ee3d,options:_0x1cf546}=_0x568ac5,_0x5c6d02=f(_0x26c6a6,_0xa9223f,_0xa5ee3d,_0x1cf546);this['_commandService']['executeCommand'](u[_0x1bf6ce(0x129)]['id'],_0x5c6d02);}['newChart'](_0xaeb52e){const _0xb76ea6=_0x46f1e4;if(_0xaeb52e)return new c(_0xaeb52e[_0xb76ea6(0x10f)],_0xaeb52e[_0xb76ea6(0xe1)],this['_workbook'],this[_0xb76ea6(0x145)],_0xaeb52e[_0xb76ea6(0xde)]);const _0x3a6dd6=this[_0xb76ea6(0x17e)]()[_0xb76ea6(0xcd)](),_0x300c8a=this[_0xb76ea6(0x11c)]();return new c(_0x3a6dd6,_0x300c8a,this[_0xb76ea6(0x109)],this[_0xb76ea6(0x145)]);}[_0x46f1e4(0x126)](){const _0x43f86a=_0x46f1e4,_0x5be0bf=this[_0x43f86a(0x145)][_0x43f86a(0xe4)](u[_0x43f86a(0x168)]),_0x4695cb=this[_0x43f86a(0x17e)]()[_0x43f86a(0xcd)]();return _0x5be0bf[_0x43f86a(0xee)](_0x4695cb,this[_0x43f86a(0x11c)]())[_0x43f86a(0xe0)](_0x43b1ff=>new A(_0x4695cb,this[_0x43f86a(0x11c)](),_0x43b1ff['id'],this['_injector']));}['removeChart'](_0x125a1d){const _0x4f450d=_0x46f1e4,_0x263891=_0x125a1d['unitId'],_0xcd3dd8=_0x125a1d[_0x4f450d(0xe1)],_0x3f0a34=_0x125a1d[_0x4f450d(0xde)],_0x26184f={'unitId':_0x263891,'drawings':[{'unitId':_0x263891,'subUnitId':_0xcd3dd8,'drawingId':_0x3f0a34,'drawingType':S[_0x4f450d(0x141)][_0x4f450d(0x138)]}]};return this[_0x4f450d(0x195)]['executeCommand'](j[_0x4f450d(0xfa)]['id'],_0x26184f);}[_0x46f1e4(0xc8)](_0x1f96b1,_0x1cd0e6){const _0x25775f=_0x46f1e4;this[_0x25775f(0x145)][_0x25775f(0xe4)](d[_0x25775f(0x191)])[_0x25775f(0x160)](_0x1f96b1,_0x1cd0e6);}}b[_0x46f1e4(0xe6)][_0x46f1e4(0x16c)](H);class z extends m[_0x46f1e4(0xf0)]{get[_0x46f1e4(0x180)](){const _0x39d663=_0x46f1e4;return d[_0x39d663(0x13c)];}get[_0x46f1e4(0x10c)](){const _0x379ba6=_0x46f1e4;return d[_0x379ba6(0x10c)];}get[_0x46f1e4(0xf4)](){const _0x3defc6=_0x46f1e4;return d[_0x3defc6(0xf4)];}get[_0x46f1e4(0x11b)](){const _0x3e99ac=_0x46f1e4;return d[_0x3e99ac(0x11b)];}get[_0x46f1e4(0x192)](){const _0x550cfe=_0x46f1e4;return d[_0x550cfe(0x192)];}get[_0x46f1e4(0x171)](){const _0x2669f3=_0x46f1e4;return d[_0x2669f3(0x171)];}get[_0x46f1e4(0x196)](){const _0x47fedf=_0x46f1e4;return d[_0x47fedf(0x196)];}get['RadarShape'](){const _0xf06de1=_0x46f1e4;return d[_0xf06de1(0x167)];}}m[_0x46f1e4(0xf0)]['extend'](z);function _0x4467(_0x4be5ed,_0x31a909){const _0x3caf44=_0x3caf();return _0x4467=function(_0x446752,_0x5d31c0){_0x446752=_0x446752-0xc8;let _0xbb8564=_0x3caf44[_0x446752];return _0xbb8564;},_0x4467(_0x4be5ed,_0x31a909);}class I extends c{constructor(_0x2fe3f2,_0x1fd254,_0x1230aa,_0x514d93,_0x29eae0){const _0x513160=_0x46f1e4;super(_0x2fe3f2,_0x1fd254,_0x1230aa,_0x514d93,_0x29eae0),o(this,_0x513160(0x11d)),o(this,_0x513160(0x16e)),o(this,_0x513160(0x115)),o(this,'dataPointSize');}[_0x46f1e4(0x14e)](_0x5f4107){return this['lineStyle']=_0x5f4107,this;}[_0x46f1e4(0x10e)](_0x1d419c){const _0x4c9dc8=_0x46f1e4;return this[_0x4c9dc8(0x16e)]=_0x1d419c,this;}['setDataPointColor'](_0x43df40){const _0x2fa84a=_0x46f1e4;return this[_0x2fa84a(0x115)]=_0x43df40,this;}[_0x46f1e4(0x11a)](_0x32c164){const _0x50af97=_0x46f1e4;return this[_0x50af97(0x174)]=_0x32c164,this;}['build'](){const _0x87e17d=_0x46f1e4,_0x3224af=super[_0x87e17d(0x18d)]();_0x3224af['chartType']=d[_0x87e17d(0x13c)][_0x87e17d(0xf5)];const _0x3070c6=_0x3224af[_0x87e17d(0x15f)]||{};return s(_0x3070c6,_0x87e17d(0x18f),this[_0x87e17d(0x11d)]),s(_0x3070c6,_0x87e17d(0x18e),this[_0x87e17d(0x16e)]),s(_0x3070c6,_0x87e17d(0xf8),this[_0x87e17d(0x115)]),s(_0x3070c6,'allSeriesStyle.point.size',this[_0x87e17d(0x174)]),_0x3224af[_0x87e17d(0x15f)]=_0x3070c6,_0x3224af;}}class F extends c{[_0x46f1e4(0x170)](){const _0x1f0b18=_0x46f1e4;return new I(this['unitId'],this[_0x1f0b18(0xe1)],this[_0x1f0b18(0x109)],this[_0x1f0b18(0x145)],this[_0x1f0b18(0xde)]);}}c[_0x46f1e4(0x16c)](F);class k extends c{constructor(_0x2e3395,_0x49af46,_0x5e4dd8,_0x5229b0,_0x1a2e69){const _0x4dff32=_0x46f1e4;super(_0x2e3395,_0x49af46,_0x5e4dd8,_0x5229b0,_0x1a2e69),o(this,_0x4dff32(0x136)),o(this,'borderColor'),o(this,_0x4dff32(0xd3)),o(this,_0x4dff32(0x19e)),o(this,_0x4dff32(0xe5)),o(this,_0x4dff32(0x179));}[_0x46f1e4(0x12a)](_0x33d453){const _0x136200=_0x46f1e4;return this[_0x136200(0x136)]=_0x33d453,this;}[_0x46f1e4(0x17b)](_0x56ad00){const _0x8a0379=_0x46f1e4;return this[_0x8a0379(0x155)]=_0x56ad00,this;}['setHasPaddingAngle'](_0x281596){const _0x2a586e=_0x46f1e4;return this[_0x2a586e(0xd3)]=_0x281596,this;}[_0x46f1e4(0xdb)](_0x4dc9bf){const _0x5ce0b8=_0x46f1e4;return this[_0x5ce0b8(0x19e)]=_0x4dc9bf,this;}[_0x46f1e4(0x152)](_0x1c186a){const _0x39b54f=_0x46f1e4;return this[_0x39b54f(0xe5)]=_0x1c186a,this;}[_0x46f1e4(0x10a)](_0x2437ec){return this['showLabelLine']=_0x2437ec,this;}['build'](){const _0x4a2fe4=_0x46f1e4,_0x487246=super[_0x4a2fe4(0x18d)]();_0x487246['chartType']=d['ChartTypeBits'][_0x4a2fe4(0x10b)];const _0x204890=_0x487246[_0x4a2fe4(0x15f)]||{};return s(_0x204890,_0x4a2fe4(0x190),this[_0x4a2fe4(0x136)]),s(_0x204890,_0x4a2fe4(0x13d),this[_0x4a2fe4(0x155)]),s(_0x204890,_0x4a2fe4(0x199),this[_0x4a2fe4(0xd3)]),s(_0x204890,_0x4a2fe4(0xe3),this[_0x4a2fe4(0x19e)]),s(_0x204890,'pie.rosePie',this[_0x4a2fe4(0xe5)]),s(_0x204890,_0x4a2fe4(0x117),this[_0x4a2fe4(0x179)]),_0x487246['options']=_0x204890,_0x487246;}}class O extends c{['asPieChart'](){const _0x2f4621=_0x46f1e4;return new k(this[_0x2f4621(0x10f)],this[_0x2f4621(0xe1)],this[_0x2f4621(0x109)],this[_0x2f4621(0x145)],this[_0x2f4621(0xde)]);}}c[_0x46f1e4(0x16c)](O);class R extends c{constructor(_0xf4a5ad,_0x5a5594,_0x2f415a,_0xf599ca,_0x2e3190){const _0x5125fd=_0x46f1e4;super(_0xf4a5ad,_0x5a5594,_0x2f415a,_0xf599ca,_0x2e3190),o(this,_0x5125fd(0x132)),o(this,_0x5125fd(0xcf));}['setShape'](_0xfb6e16){const _0x52d567=_0x46f1e4;return this[_0x52d567(0x132)]=_0xfb6e16,this;}[_0x46f1e4(0x110)](_0x5e9548){return this['fill']=_0x5e9548,this;}[_0x46f1e4(0x18d)](){const _0x2d20c7=_0x46f1e4,_0xc3d042=super[_0x2d20c7(0x18d)]();_0xc3d042[_0x2d20c7(0x183)]=d[_0x2d20c7(0x13c)][_0x2d20c7(0x182)];const _0x51e6a1=_0xc3d042[_0x2d20c7(0x15f)]||{};return s(_0x51e6a1,_0x2d20c7(0xd0),this[_0x2d20c7(0x132)]),s(_0x51e6a1,_0x2d20c7(0x150),this[_0x2d20c7(0xcf)]),_0xc3d042[_0x2d20c7(0x15f)]=_0x51e6a1,_0xc3d042;}}class B extends c{['asRadarChart'](){const _0x4233bc=_0x46f1e4;return new R(this['unitId'],this['subUnitId'],this[_0x4233bc(0x109)],this[_0x4233bc(0x145)],this[_0x4233bc(0xde)]);}}c[_0x46f1e4(0x16c)](B),exports[_0x46f1e4(0x131)]=A,exports[_0x46f1e4(0x185)]=c,exports[_0x46f1e4(0x147)]=I,exports[_0x46f1e4(0x177)]=k,exports[_0x46f1e4(0x140)]=R;
1
+ 'use strict';const _0xfa2f0=_0x4497;(function(_0x234000,_0x5785ed){const _0x5e1412=_0x4497,_0x44b04e=_0x234000();while(!![]){try{const _0x4be39e=parseInt(_0x5e1412(0x1c2))/0x1*(parseInt(_0x5e1412(0x116))/0x2)+parseInt(_0x5e1412(0x145))/0x3+-parseInt(_0x5e1412(0x19e))/0x4+parseInt(_0x5e1412(0x1bb))/0x5+parseInt(_0x5e1412(0x1b1))/0x6*(-parseInt(_0x5e1412(0x146))/0x7)+-parseInt(_0x5e1412(0xf3))/0x8*(parseInt(_0x5e1412(0x1bd))/0x9)+parseInt(_0x5e1412(0x16c))/0xa;if(_0x4be39e===_0x5785ed)break;else _0x44b04e['push'](_0x44b04e['shift']());}catch(_0x14eaaa){_0x44b04e['push'](_0x44b04e['shift']());}}}(_0x2312,0x3a344));var L=Object['defineProperty'],U=(_0x4b69f4,_0xb3c63,_0x2fc525)=>_0xb3c63 in _0x4b69f4?L(_0x4b69f4,_0xb3c63,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fc525}):_0x4b69f4[_0xb3c63]=_0x2fc525,o=(_0x197913,_0x34aa28,_0x417d5c)=>U(_0x197913,typeof _0x34aa28!='symbol'?_0x34aa28+'':_0x34aa28,_0x417d5c);Object[_0xfa2f0(0x11d)](exports,Symbol[_0xfa2f0(0x133)],{'value':_0xfa2f0(0x15c)});function _0x2312(){const _0xb8f309=['rightYAxis.label.axisTitleAlign','sheetName','titles.title.font','setRosePie','Module','allSeriesStyle.border','registerChartTheme','tooltip.indicatorLineType','setAxisPointerStyle','fontColor','asLineChart','titles.title.bold','titles.yAxisTitle.bold','deserializeRangeWithSheet','options','setDataPointSize','indicatorLabelColor','shape','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','setRightYAxisTitle','2353610SctuGe','isRowDirection','pie.borderColor','InsertChartCommand','asRadarChart','getChartId','isHalfPie','radar','titles.titlePosition','setShape','selectMode','length','clearRange','titles.title.family','IUniverInstanceService','allSeriesStyle','build','removeChart','indicatorLineType','backgroundColor','ChartTypeBits','IRenderManagerService','setProperty','area','config','left','subUnitId','titles.rightYAxisTitle.font','setIsHalfPie','ChartThemeService','\x20not\x20found','axisAlignment','titles.rightYAxisTitle.content','RadarChartBuilder','extend','axisPointer','setOptions','yAxis','FBase','lineStyle','titles.rightYAxisTitle.fontSize','setDoughnutHole','legend.position','ChartUpdateSourceCommand','showLabelLine','_commandService','getSheetBySheetName','pie.showLabelLine','insertChart','SelectModeEnum','970620BaKyfp','label','getUnitId','xAxis.label.axisTitleAlign','allSeriesStyle.point.shape','_workbook','titles.xAxisTitle.bold','range','with','keys','style','ICommandService','borderColor','rightYAxis','fontStyle','titles.xAxisTitle.font','tooltip.indicatorLineColor','title','DRAWING_CHART','6ebXzge','titles.xAxisTitle.content','top','width','tooltip.indicatorLabelColor','UNIVER_SHEET','LineChartBuilder','getSeriesData','rightYAxisTitle','SheetsChartService','1474420CKxgew','seriesStyleMap','63iRamWX','xAxisTitle','getWorkbook','getChartModel','map','87481pfrmIl','convertPositionCellToSheetOverGrid','84808LpwbWO','color','pie.rosePie','getSheetId','position','titleAlignment','setTransposeRowsAndColumns','sourceSheetName','FWorksheet','font','hasPaddingAngle','UniverInstanceType','executeCommand','allSeriesStyle.label','indicatorLineColor','height','yAxisTitle','titles.title.content','italic','allSeriesStyle.point.color','yRightAxis','chartId','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','content','getChartType','getCategoryData','AxisAlignEnum','getCurrentUnitForType','setInvalidValueStrategy','LinePointShape','LegendPositionEnum','titles.rightYAxisTitle.bold','invalidValueType','registerTheme','setSeriesStyle','2blLcIW','dataPointSize','setWidth','series','setRightYAxisTextStyle','SheetSkeletonManagerService','dataPointShape','defineProperty','doughnutHole','titles.xAxisTitle.color','updateChart','get','bold','string','titles.rightYAxisTitle.family','FChartBuilderBase','setYAxisTextStyle','titles.title.color','_injector','FEnum','fill','setXAxisTextStyle','gradientFill','legend.label.italic','FChart','Pie','DrawingTypeEnum','titles.yAxisTitle.family','dataPointColor','toStringTag','pie.hasPaddingAngle','context','chartType','unitId','titles.xAxisTitle.fontSize','fontSize','RadarShape','ChartType','border','category','pie.isHalfPie','tooltip.indicatorLabelTextColor','getRange','pie.doughnutHole','radar.shape','area.lineStyle','getCharts','764781ryOfTU','2221709qJwhHi','legend.label.color','theme','xAxis','Sheet\x20','TitlePositionEnum','rosePie','generateRandomId','ChartBorderDashType','setShowLabelLine','legend','getRenderById','titles.yAxisTitle.fontSize','transposeRowsAndColumns','pie','titles.yAxisTitle.content','setPosition','ChartUpdateConfigCommand'];_0x2312=function(){return _0xb8f309;};return _0x2312();}const d=require('@univerjs-pro/engine-chart'),u=require('@univerjs-pro/sheets-chart'),M=require('@univerjs-pro/sheets-chart-ui'),S=require('@univerjs/core'),j=require('@univerjs/sheets-drawing-ui'),b=require('@univerjs/sheets/facade'),m=require('@univerjs/core/facade'),Y=require('@univerjs/engine-formula'),E=require('@univerjs/engine-render'),T=require('@univerjs/sheets-ui'),s=(_0x5d61ee,_0x4996a3,_0x352669)=>{const _0x4872ea=_0xfa2f0;_0x352669!==void 0x0&&u[_0x4872ea(0x182)](_0x5d61ee,_0x4996a3,_0x352669);},f=(_0x599b63,_0x434763,_0x2b9b01,_0x3303b2={})=>{const _0x30bcec=_0xfa2f0,_0x10c64f={},_0x4b2f5b={};if(_0x3303b2[_0x30bcec(0x1af)]){const _0x4cd0b2=_0x3303b2[_0x30bcec(0x1af)];s(_0x10c64f,_0x30bcec(0x104),_0x4cd0b2[_0x30bcec(0x10a)]),s(_0x10c64f,_0x30bcec(0x15a),_0x4cd0b2[_0x30bcec(0xfc)]),s(_0x10c64f,'titles.title.fontSize',_0x4cd0b2[_0x30bcec(0x139)]),s(_0x10c64f,_0x30bcec(0x127),_0x4cd0b2['fontColor']),s(_0x10c64f,_0x30bcec(0x179),_0x4cd0b2[_0x30bcec(0x1ac)]),s(_0x10c64f,_0x30bcec(0x163),_0x4cd0b2['bold']),s(_0x10c64f,'titles.title.align',_0x4cd0b2[_0x30bcec(0xf8)]),s(_0x10c64f,_0x30bcec(0x174),_0x4cd0b2[_0x30bcec(0xf7)]);}if(_0x3303b2[_0x30bcec(0x150)]){const _0x17e7de=_0x3303b2['legend'];s(_0x10c64f,_0x30bcec(0x196),_0x17e7de[_0x30bcec(0xf7)]),s(_0x10c64f,'legend.selectMode',_0x17e7de[_0x30bcec(0x176)]),s(_0x10c64f,'legend.label.fontSize',_0x17e7de[_0x30bcec(0x139)]),s(_0x10c64f,_0x30bcec(0x147),_0x17e7de[_0x30bcec(0xf4)]),s(_0x10c64f,'legend.label.bold',_0x17e7de[_0x30bcec(0x122)]),s(_0x10c64f,_0x30bcec(0x12d),_0x17e7de[_0x30bcec(0x105)]);}if(_0x3303b2[_0x30bcec(0x154)]){const _0x3f78bc=_0x3303b2[_0x30bcec(0x154)];s(_0x10c64f,_0x30bcec(0x141),_0x3f78bc[_0x30bcec(0x11e)]),s(_0x10c64f,_0x30bcec(0x16e),_0x3f78bc[_0x30bcec(0x1aa)]),s(_0x10c64f,_0x30bcec(0x134),_0x3f78bc[_0x30bcec(0xfd)]),s(_0x10c64f,_0x30bcec(0x13e),_0x3f78bc[_0x30bcec(0x172)]),s(_0x10c64f,_0x30bcec(0xf5),_0x3f78bc['rosePie']),s(_0x10c64f,_0x30bcec(0x19b),_0x3f78bc[_0x30bcec(0x198)]);}if(_0x3303b2['axisPointer']){const _0x72ab54=_0x3303b2[_0x30bcec(0x18f)];s(_0x10c64f,_0x30bcec(0x1b5),_0x72ab54[_0x30bcec(0x168)]),s(_0x10c64f,_0x30bcec(0x15f),_0x72ab54[_0x30bcec(0x17e)]),s(_0x10c64f,_0x30bcec(0x1ae),_0x72ab54[_0x30bcec(0x101)]),s(_0x10c64f,_0x30bcec(0x13f),_0x72ab54['indicatorLabelTextColor']);}if(_0x3303b2[_0x30bcec(0x17b)]&&(s(_0x10c64f,_0x30bcec(0x15d),_0x3303b2[_0x30bcec(0x17b)][_0x30bcec(0x13c)]),s(_0x10c64f,_0x30bcec(0x100),_0x3303b2['allSeriesStyle'][_0x30bcec(0x19f)]),s(_0x10c64f,'allSeriesStyle.rightYAxis',_0x3303b2['allSeriesStyle'][_0x30bcec(0x1ab)]),s(_0x10c64f,'allSeriesStyle.point',_0x3303b2[_0x30bcec(0x17b)]['point']),s(_0x10c64f,'allSeriesStyle.color',_0x3303b2[_0x30bcec(0x17b)][_0x30bcec(0xf4)])),_0x3303b2[_0x30bcec(0x183)]&&s(_0x10c64f,'area.lineStyle',_0x3303b2[_0x30bcec(0x183)][_0x30bcec(0x193)]),_0x3303b2[_0x30bcec(0x148)]&&s(_0x10c64f,'theme',_0x3303b2['theme']),_0x3303b2[_0x30bcec(0x17f)]&&s(_0x10c64f,_0x30bcec(0x17f),_0x3303b2[_0x30bcec(0x17f)]),_0x3303b2[_0x30bcec(0x1aa)]&&s(_0x10c64f,_0x30bcec(0x1aa),_0x3303b2[_0x30bcec(0x1aa)]),_0x3303b2[_0x30bcec(0x12c)]&&s(_0x10c64f,_0x30bcec(0x12c),_0x3303b2['gradientFill']),_0x3303b2['invalidValueType']&&s(_0x10c64f,'invalidValueType',_0x3303b2[_0x30bcec(0x113)]),_0x3303b2['radar']&&s(_0x10c64f,'radar',_0x3303b2[_0x30bcec(0x173)]),_0x3303b2[_0x30bcec(0x1be)]){const _0x44473a=_0x3303b2[_0x30bcec(0x1be)];s(_0x10c64f,_0x30bcec(0x1b2),_0x44473a[_0x30bcec(0x10a)]),s(_0x10c64f,_0x30bcec(0x1ad),_0x44473a[_0x30bcec(0xfc)]),s(_0x10c64f,_0x30bcec(0x138),_0x44473a['fontSize']),s(_0x10c64f,_0x30bcec(0x11f),_0x44473a[_0x30bcec(0x161)]),s(_0x10c64f,'titles.xAxisTitle.family',_0x44473a['fontStyle']),s(_0x10c64f,_0x30bcec(0x1a4),_0x44473a[_0x30bcec(0x122)]),s(_0x10c64f,_0x30bcec(0x1a1),_0x44473a[_0x30bcec(0x18b)]);}if(_0x3303b2['yAxisTitle']){const _0x4420d4=_0x3303b2[_0x30bcec(0x103)];s(_0x10c64f,_0x30bcec(0x155),_0x4420d4[_0x30bcec(0x10a)]),s(_0x10c64f,'titles.yAxisTitle.font',_0x4420d4[_0x30bcec(0xfc)]),s(_0x10c64f,_0x30bcec(0x152),_0x4420d4['fontSize']),s(_0x10c64f,'titles.yAxisTitle.color',_0x4420d4[_0x30bcec(0x161)]),s(_0x10c64f,_0x30bcec(0x131),_0x4420d4[_0x30bcec(0x1ac)]),s(_0x10c64f,_0x30bcec(0x164),_0x4420d4[_0x30bcec(0x122)]),s(_0x10c64f,'yAxis.label.axisTitleAlign',_0x4420d4['axisAlignment']);}if(_0x3303b2[_0x30bcec(0x1b9)]){const _0x17c48d=_0x3303b2[_0x30bcec(0x1b9)];s(_0x10c64f,_0x30bcec(0x18c),_0x17c48d[_0x30bcec(0x10a)]),s(_0x10c64f,_0x30bcec(0x187),_0x17c48d[_0x30bcec(0xfc)]),s(_0x10c64f,_0x30bcec(0x194),_0x17c48d[_0x30bcec(0x139)]),s(_0x10c64f,'titles.rightYAxisTitle.color',_0x17c48d[_0x30bcec(0x161)]),s(_0x10c64f,_0x30bcec(0x124),_0x17c48d[_0x30bcec(0x1ac)]),s(_0x10c64f,_0x30bcec(0x112),_0x17c48d[_0x30bcec(0x122)]),s(_0x10c64f,_0x30bcec(0x158),_0x17c48d[_0x30bcec(0x18b)]);}_0x3303b2[_0x30bcec(0x149)]&&s(_0x10c64f,_0x30bcec(0x149),_0x3303b2['xAxis']),_0x3303b2['yAxis']&&s(_0x10c64f,_0x30bcec(0x191),_0x3303b2[_0x30bcec(0x191)]),_0x3303b2['yRightAxis']&&s(_0x10c64f,_0x30bcec(0x1ab),_0x3303b2[_0x30bcec(0x107)]),_0x3303b2[_0x30bcec(0x1bc)]&&s(_0x10c64f,_0x30bcec(0x1bc),_0x3303b2[_0x30bcec(0x1bc)]);const _0x5c8561={'unitId':_0x599b63,'chartModelId':_0x434763};let _0x3890dd=!0x1;if(_0x2b9b01!==void 0x0&&(_0x5c8561[_0x30bcec(0x136)]=_0x2b9b01,_0x3890dd=!0x0),Object[_0x30bcec(0x1a7)](_0x10c64f)[_0x30bcec(0x177)]>0x0&&(_0x5c8561[_0x30bcec(0x1a8)]=_0x10c64f,_0x3890dd=!0x0),Object[_0x30bcec(0x1a7)](_0x4b2f5b)[_0x30bcec(0x177)]>0x0&&(_0x5c8561[_0x30bcec(0x135)]=_0x4b2f5b,_0x3890dd=!0x0),_0x3890dd)return _0x5c8561;};class c extends m[_0xfa2f0(0x192)]{constructor(_0x3037bd,_0x32dc33,_0x14ac82,_0x3e2cb6,_0x5ba7bb){const _0x48c2d9=_0xfa2f0;super(),o(this,'_workbook'),o(this,_0x48c2d9(0x128)),o(this,_0x48c2d9(0x137)),o(this,_0x48c2d9(0x186)),o(this,_0x48c2d9(0x108)),o(this,_0x48c2d9(0x1a5)),o(this,'sourceSheetName'),o(this,'x'),o(this,'y'),o(this,'width'),o(this,_0x48c2d9(0x102)),o(this,'chartType'),o(this,_0x48c2d9(0x166)),o(this,'transposeRowsAndColumns'),(this[_0x48c2d9(0x137)]=_0x3037bd,this['subUnitId']=_0x32dc33,this['_workbook']=_0x14ac82,this[_0x48c2d9(0x128)]=_0x3e2cb6,_0x5ba7bb&&(this['chartId']=_0x5ba7bb));}[_0xfa2f0(0x10b)](){const _0x4d1d53=_0xfa2f0;return this[_0x4d1d53(0x136)];}['addRange'](_0x4533f4){const _0x14c61d=_0xfa2f0;if(typeof _0x4533f4==_0x14c61d(0x123)){const _0xc34087=Y[_0x14c61d(0x165)](_0x4533f4);_0xc34087['sheetName']&&(this[_0x14c61d(0xfa)]=_0xc34087[_0x14c61d(0x159)]),this[_0x14c61d(0x1a5)]=_0xc34087[_0x14c61d(0x1a5)];}else this[_0x14c61d(0x1a5)]=_0x4533f4;return this;}[_0xfa2f0(0x178)](){const _0x59f542=_0xfa2f0;return this[_0x59f542(0x1a5)]=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0xfa2f0(0x156)](_0x71e069,_0x14284f,_0x4bf258,_0x308952){const _0x25105a=_0xfa2f0,_0x10c3a9=this[_0x25105a(0x128)][_0x25105a(0x121)](E[_0x25105a(0x181)])[_0x25105a(0x151)](this[_0x25105a(0x137)]);if(!_0x10c3a9)throw new Error(_0x25105a(0x109));const _0x2a8cee=_0x10c3a9['with'](T['ISheetSelectionRenderService']),_0x5709f1=_0x10c3a9[_0x25105a(0x1a6)](T[_0x25105a(0x11b)]),{transform:_0x11f6ea}=T[_0x25105a(0xf2)](this[_0x25105a(0x137)],this[_0x25105a(0x186)],{'row':_0x71e069,'column':_0x14284f,'rowOffset':_0x4bf258,'columnOffset':_0x308952},0x1,0x1,_0x2a8cee,_0x5709f1),_0x2c63f4=_0x11f6ea[_0x25105a(0x1b3)],_0x51bd15=_0x11f6ea[_0x25105a(0x185)];return this['x']=_0x51bd15,this['y']=_0x2c63f4,this;}['setAbsolutePosition'](_0x562a51,_0x359268){return this['x']=_0x562a51,this['y']=_0x359268,this;}['setChartType'](_0xe0a63c){const _0x112dd9=_0xfa2f0;return this[_0x112dd9(0x136)]=_0xe0a63c,this;}[_0xfa2f0(0x118)](_0x189c8d){const _0x330c3b=_0xfa2f0;return this[_0x330c3b(0x1b4)]=_0x189c8d,this;}['setHeight'](_0xe8fc83){const _0x31f6bd=_0xfa2f0;return this[_0x31f6bd(0x102)]=_0xe8fc83,this;}[_0xfa2f0(0x190)](_0x3ff5af,_0x391cd1){const _0x21ea13=_0xfa2f0;return this['options']||(this['options']={}),_0x3ff5af===''?(this['options']={...this['options'],..._0x391cd1},this):(u[_0x21ea13(0x182)](this[_0x21ea13(0x166)],_0x3ff5af,_0x391cd1),this);}[_0xfa2f0(0xf9)](_0x1dfc07){const _0x285bfd=_0xfa2f0;return this[_0x285bfd(0x153)]=_0x1dfc07,this;}['setTheme'](_0x52139a){const _0x210dc8=_0xfa2f0;return this['setOptions'](_0x210dc8(0x148),_0x52139a),this;}['setXAxisTitle'](_0x25537b){const _0x2da8e3=_0xfa2f0;var _0x70aea4;const _0x108a13=((_0x70aea4=this[_0x2da8e3(0x166)])==null?void 0x0:_0x70aea4[_0x2da8e3(0x1be)])||{};return _0x108a13[_0x2da8e3(0x10a)]=_0x25537b,this[_0x2da8e3(0x190)]('xAxisTitle',_0x108a13),this;}['setYAxisTitle'](_0x41840d){const _0x1f7318=_0xfa2f0;var _0x2755a2;const _0x4c80e0=((_0x2755a2=this[_0x1f7318(0x166)])==null?void 0x0:_0x2755a2[_0x1f7318(0x103)])||{};return _0x4c80e0[_0x1f7318(0x10a)]=_0x41840d,this['setOptions'](_0x1f7318(0x103),_0x4c80e0),this;}[_0xfa2f0(0x16b)](_0x260a55){const _0xcc534b=_0xfa2f0;var _0x4ae9eb;const _0x46317f=((_0x4ae9eb=this[_0xcc534b(0x166)])==null?void 0x0:_0x4ae9eb[_0xcc534b(0x1b9)])||{};return _0x46317f[_0xcc534b(0x10a)]=_0x260a55,this['setOptions'](_0xcc534b(0x1b9),_0x46317f),this;}[_0xfa2f0(0x12b)](_0x1ebd39){const _0x462d0f=_0xfa2f0;var _0x20fb4b;const _0x5b7e1e=((_0x20fb4b=this[_0x462d0f(0x166)])==null?void 0x0:_0x20fb4b[_0x462d0f(0x1be)])||{};return this[_0x462d0f(0x190)](_0x462d0f(0x1be),{..._0x5b7e1e,..._0x1ebd39}),this;}[_0xfa2f0(0x126)](_0x273dea){const _0x1aa8b0=_0xfa2f0;var _0x3a2d5f;const _0x417458=((_0x3a2d5f=this['options'])==null?void 0x0:_0x3a2d5f[_0x1aa8b0(0x103)])||{};return this[_0x1aa8b0(0x190)](_0x1aa8b0(0x103),{..._0x417458,..._0x273dea}),this;}[_0xfa2f0(0x11a)](_0xa1a76f){const _0x1b7d11=_0xfa2f0;var _0x80dcbc;const _0x36e922=((_0x80dcbc=this[_0x1b7d11(0x166)])==null?void 0x0:_0x80dcbc['rightYAxisTitle'])||{};return this[_0x1b7d11(0x190)](_0x1b7d11(0x1b9),{..._0x36e922,..._0xa1a76f}),this;}[_0xfa2f0(0x10f)](_0x300a4a){const _0x529b40=_0xfa2f0;return this[_0x529b40(0x190)](_0x529b40(0x113),_0x300a4a),this;}[_0xfa2f0(0x160)](_0x386d32){const _0x10fb6d=_0xfa2f0;return this['setOptions'](_0x10fb6d(0x18f),_0x386d32),this;}['setAllSeriesStyle'](_0x514c20){return this['setOptions']('allSeriesStyle',_0x514c20),this;}[_0xfa2f0(0x115)](_0x53a22a,_0x441b9e){const _0x10155e=_0xfa2f0;return this[_0x10155e(0x190)](_0x10155e(0x1bc),{[_0x53a22a]:_0x441b9e}),this;}[_0xfa2f0(0x17c)](){const _0x333b8a=_0xfa2f0;var _0x5c1861;let _0x1c20e6=this[_0x333b8a(0x186)];if(this[_0x333b8a(0xfa)]){const _0x405019=(_0x5c1861=this[_0x333b8a(0x1a3)][_0x333b8a(0x19a)](this[_0x333b8a(0xfa)]))==null?void 0x0:_0x5c1861[_0x333b8a(0xf6)]();if(!_0x405019)throw new Error(_0x333b8a(0x14a)+this[_0x333b8a(0xfa)]+_0x333b8a(0x18a));_0x1c20e6=_0x405019;}return{'unitId':this[_0x333b8a(0x137)],'subUnitId':_0x1c20e6,'chartId':this[_0x333b8a(0x108)],'range':this[_0x333b8a(0x1a5)],'x':this['x'],'y':this['y'],'width':this[_0x333b8a(0x1b4)],'height':this[_0x333b8a(0x102)],'chartType':this[_0x333b8a(0x136)],'options':this[_0x333b8a(0x166)],'isRowDirection':this[_0x333b8a(0x153)]};}}class A{constructor(_0x2d554e,_0x540d10,_0x45cbcd,_0x193645){const _0x1d1fe1=_0xfa2f0;o(this,_0x1d1fe1(0x137)),o(this,'subUnitId'),o(this,_0x1d1fe1(0x108)),o(this,_0x1d1fe1(0x128)),(this[_0x1d1fe1(0x137)]=_0x2d554e,this[_0x1d1fe1(0x186)]=_0x540d10,this[_0x1d1fe1(0x108)]=_0x45cbcd,this[_0x1d1fe1(0x128)]=_0x193645);}[_0xfa2f0(0x171)](){const _0x39a2be=_0xfa2f0;return this[_0x39a2be(0x108)];}[_0xfa2f0(0x140)](){const _0x18b905=_0xfa2f0,_0x2afff2=this[_0x18b905(0x128)][_0x18b905(0x121)](u['SheetsChartService'])[_0x18b905(0x1c0)](this[_0x18b905(0x108)]);if(_0x2afff2)return _0x2afff2['dataSource']['getRangeInfo']();}['updateRange'](_0x288057){const _0x41149d=_0xfa2f0;return this[_0x41149d(0x128)]['get'](S[_0x41149d(0x1a9)])[_0x41149d(0xff)](u[_0x41149d(0x197)]['id'],{'unitId':this['unitId'],'chartModelId':this[_0x41149d(0x108)],'range':_0x288057});}[_0xfa2f0(0x1b8)](){const _0x504617=_0xfa2f0;var _0x4ed358;const _0x521350=this['_injector'][_0x504617(0x121)](u[_0x504617(0x1ba)])[_0x504617(0x1c0)](this[_0x504617(0x108)]);if(_0x521350)return(_0x4ed358=_0x521350[_0x504617(0x184)])==null?void 0x0:_0x4ed358[_0x504617(0x119)];}[_0xfa2f0(0x10c)](){const _0x43ba6f=_0xfa2f0;var _0x55526a;const _0x532df8=this['_injector'][_0x43ba6f(0x121)](u[_0x43ba6f(0x1ba)])['getChartModel'](this['chartId']);if(_0x532df8)return(_0x55526a=_0x532df8[_0x43ba6f(0x184)])==null?void 0x0:_0x55526a[_0x43ba6f(0x13d)];}['modify'](){const _0x2492eb=_0xfa2f0,_0x408506=this[_0x2492eb(0x128)]['get'](S[_0x2492eb(0x17a)])[_0x2492eb(0x10e)](S[_0x2492eb(0xfe)][_0x2492eb(0x1b6)]);return new c(this[_0x2492eb(0x137)],this[_0x2492eb(0x186)],_0x408506,this[_0x2492eb(0x128)],this[_0x2492eb(0x108)]);}}class H extends b[_0xfa2f0(0xfb)]{async[_0xfa2f0(0x19c)](_0x1c6bb6){const _0x2f2fd0=_0xfa2f0;var _0x40958b,_0x251ca3,_0x489f42;const _0x4e22bc=_0x1c6bb6[_0x2f2fd0(0x137)]||this[_0x2f2fd0(0x1bf)]()[_0x2f2fd0(0x1a0)](),_0x288ea6=_0x1c6bb6[_0x2f2fd0(0x186)]||this[_0x2f2fd0(0xf6)](),_0x5d7c71=_0x1c6bb6['chartId']||S[_0x2f2fd0(0x14d)](),_0x1bb2a3=_0x1c6bb6[_0x2f2fd0(0x136)],_0x1a1950=_0x1c6bb6[_0x2f2fd0(0x1a5)],_0x5171a7={'x':_0x1c6bb6['x'],'y':_0x1c6bb6['y']},_0x53d4db=_0x1c6bb6[_0x2f2fd0(0x1b4)],_0x35ff9e=_0x1c6bb6[_0x2f2fd0(0x102)],_0x8521c8=(_0x40958b=_0x1c6bb6[_0x2f2fd0(0x166)])==null?void 0x0:_0x40958b[_0x2f2fd0(0x17f)],_0x34555b=(_0x251ca3=_0x1c6bb6[_0x2f2fd0(0x166)])==null?void 0x0:_0x251ca3[_0x2f2fd0(0x1aa)],_0x13a1d6=f(_0x4e22bc,_0x5d7c71,_0x1bb2a3,_0x1c6bb6[_0x2f2fd0(0x166)]),_0xba69b5=(_0x489f42=_0x1c6bb6[_0x2f2fd0(0x16d)])!=null?_0x489f42:!0x0;if(!_0x1a1950)throw new Error(_0x2f2fd0(0x16a));return await this[_0x2f2fd0(0x199)][_0x2f2fd0(0xff)](M[_0x2f2fd0(0x16f)]['id'],{'unitId':_0x4e22bc,'subUnitId':_0x288ea6,'chartId':_0x5d7c71,'chartType':_0x1bb2a3,'range':_0x1a1950,'position':_0x5171a7,'width':_0x53d4db,'height':_0x35ff9e,'backgroundColor':_0x8521c8,'borderColor':_0x34555b,'config':_0x13a1d6,'isRowDirection':_0xba69b5}),new A(_0x4e22bc,_0x288ea6,_0x5d7c71,this[_0x2f2fd0(0x128)]);}[_0xfa2f0(0x120)](_0x5d6ca7){const _0x314915=_0xfa2f0,{unitId:_0x32fd84,chartId:_0x4bcb24,chartType:_0x436fd0,options:_0x54e083}=_0x5d6ca7,_0x497e2b=f(_0x32fd84,_0x4bcb24,_0x436fd0,_0x54e083);this['_commandService'][_0x314915(0xff)](u[_0x314915(0x157)]['id'],_0x497e2b);}['newChart'](_0x1b8eae){const _0x3c11eb=_0xfa2f0;if(_0x1b8eae)return new c(_0x1b8eae[_0x3c11eb(0x137)],_0x1b8eae[_0x3c11eb(0x186)],this['_workbook'],this[_0x3c11eb(0x128)],_0x1b8eae[_0x3c11eb(0x108)]);const _0x159b3e=this['getWorkbook']()[_0x3c11eb(0x1a0)](),_0x3db3ec=this[_0x3c11eb(0xf6)]();return new c(_0x159b3e,_0x3db3ec,this[_0x3c11eb(0x1a3)],this[_0x3c11eb(0x128)]);}[_0xfa2f0(0x144)](){const _0x199493=_0xfa2f0,_0x4ff4dd=this[_0x199493(0x128)][_0x199493(0x121)](u['SheetsChartService']),_0xc31d1f=this['getWorkbook']()[_0x199493(0x1a0)]();return _0x4ff4dd['getUnitChartModels'](_0xc31d1f,this['getSheetId']())[_0x199493(0x1c1)](_0x3cf9e2=>new A(_0xc31d1f,this['getSheetId'](),_0x3cf9e2['id'],this[_0x199493(0x128)]));}[_0xfa2f0(0x17d)](_0x13861b){const _0x533bc7=_0xfa2f0,_0x206aa6=_0x13861b[_0x533bc7(0x137)],_0x5c0234=_0x13861b[_0x533bc7(0x186)],_0x4cb99d=_0x13861b[_0x533bc7(0x108)],_0x14d248={'unitId':_0x206aa6,'drawings':[{'unitId':_0x206aa6,'subUnitId':_0x5c0234,'drawingId':_0x4cb99d,'drawingType':S[_0x533bc7(0x130)][_0x533bc7(0x1b0)]}]};return this['_commandService'][_0x533bc7(0xff)](j['RemoveSheetDrawingCommand']['id'],_0x14d248);}[_0xfa2f0(0x15e)](_0x455d5c,_0x103dbb){const _0x5d3394=_0xfa2f0;this['_injector'][_0x5d3394(0x121)](d[_0x5d3394(0x189)])[_0x5d3394(0x114)](_0x455d5c,_0x103dbb);}}b[_0xfa2f0(0xfb)][_0xfa2f0(0x18e)](H);class z extends m['FEnum']{get[_0xfa2f0(0x13b)](){return d['ChartTypeBits'];}get[_0xfa2f0(0x111)](){const _0x4b370f=_0xfa2f0;return d[_0x4b370f(0x111)];}get['SelectModeEnum'](){const _0x17cdc7=_0xfa2f0;return d[_0x17cdc7(0x19d)];}get[_0xfa2f0(0x10d)](){return d['AxisAlignEnum'];}get[_0xfa2f0(0x14e)](){return d['ChartBorderDashType'];}get[_0xfa2f0(0x110)](){return d['LinePointShape'];}get['TitlePositionEnum'](){const _0x3c35a3=_0xfa2f0;return d[_0x3c35a3(0x14b)];}get['RadarShape'](){const _0x4b91a7=_0xfa2f0;return d[_0x4b91a7(0x13a)];}}m[_0xfa2f0(0x129)][_0xfa2f0(0x18e)](z);class I extends c{constructor(_0x13fd5d,_0x1e8924,_0x4a66c1,_0x2a1564,_0x209ebe){const _0x25c8ac=_0xfa2f0;super(_0x13fd5d,_0x1e8924,_0x4a66c1,_0x2a1564,_0x209ebe),o(this,'lineStyle'),o(this,_0x25c8ac(0x11c)),o(this,_0x25c8ac(0x132)),o(this,_0x25c8ac(0x117));}['setLineStyle'](_0x30e39b){const _0x3d3d6a=_0xfa2f0;return this[_0x3d3d6a(0x193)]=_0x30e39b,this;}['setDataPointShape'](_0x901e69){const _0x12c42d=_0xfa2f0;return this[_0x12c42d(0x11c)]=_0x901e69,this;}['setDataPointColor'](_0x385d64){const _0x2ca113=_0xfa2f0;return this[_0x2ca113(0x132)]=_0x385d64,this;}[_0xfa2f0(0x167)](_0x3d7b5d){return this['dataPointSize']=_0x3d7b5d,this;}[_0xfa2f0(0x17c)](){const _0x4b5c2d=_0xfa2f0,_0x22834f=super[_0x4b5c2d(0x17c)]();_0x22834f[_0x4b5c2d(0x136)]=d[_0x4b5c2d(0x180)]['Line'];const _0x3309d6=_0x22834f[_0x4b5c2d(0x166)]||{};return s(_0x3309d6,_0x4b5c2d(0x143),this[_0x4b5c2d(0x193)]),s(_0x3309d6,_0x4b5c2d(0x1a2),this[_0x4b5c2d(0x11c)]),s(_0x3309d6,_0x4b5c2d(0x106),this[_0x4b5c2d(0x132)]),s(_0x3309d6,'allSeriesStyle.point.size',this[_0x4b5c2d(0x117)]),_0x22834f[_0x4b5c2d(0x166)]=_0x3309d6,_0x22834f;}}class F extends c{[_0xfa2f0(0x162)](){const _0xf12c91=_0xfa2f0;return new I(this[_0xf12c91(0x137)],this[_0xf12c91(0x186)],this['_workbook'],this[_0xf12c91(0x128)],this[_0xf12c91(0x108)]);}}c[_0xfa2f0(0x18e)](F);class k extends c{constructor(_0x29019f,_0x2a24a5,_0x41862e,_0x834ab2,_0x5f420f){const _0x655167=_0xfa2f0;super(_0x29019f,_0x2a24a5,_0x41862e,_0x834ab2,_0x5f420f),o(this,'doughnutHole'),o(this,_0x655167(0x1aa)),o(this,_0x655167(0xfd)),o(this,_0x655167(0x172)),o(this,_0x655167(0x14c)),o(this,_0x655167(0x198));}[_0xfa2f0(0x195)](_0x45b900){const _0x2e479f=_0xfa2f0;return this[_0x2e479f(0x11e)]=_0x45b900,this;}['setBorderColor'](_0xbac460){const _0xd7e050=_0xfa2f0;return this[_0xd7e050(0x1aa)]=_0xbac460,this;}['setHasPaddingAngle'](_0x15cdc0){const _0x173f53=_0xfa2f0;return this[_0x173f53(0xfd)]=_0x15cdc0,this;}[_0xfa2f0(0x188)](_0x43e9a6){const _0x129d64=_0xfa2f0;return this[_0x129d64(0x172)]=_0x43e9a6,this;}[_0xfa2f0(0x15b)](_0x2ca626){const _0x107f75=_0xfa2f0;return this[_0x107f75(0x14c)]=_0x2ca626,this;}[_0xfa2f0(0x14f)](_0x4e1faf){const _0x3e4212=_0xfa2f0;return this[_0x3e4212(0x198)]=_0x4e1faf,this;}[_0xfa2f0(0x17c)](){const _0x266998=_0xfa2f0,_0x566455=super['build']();_0x566455['chartType']=d[_0x266998(0x180)][_0x266998(0x12f)];const _0x4f7887=_0x566455['options']||{};return s(_0x4f7887,_0x266998(0x141),this[_0x266998(0x11e)]),s(_0x4f7887,'pie.borderColor',this['borderColor']),s(_0x4f7887,_0x266998(0x134),this[_0x266998(0xfd)]),s(_0x4f7887,'pie.isHalfPie',this['isHalfPie']),s(_0x4f7887,'pie.rosePie',this[_0x266998(0x14c)]),s(_0x4f7887,_0x266998(0x19b),this[_0x266998(0x198)]),_0x566455[_0x266998(0x166)]=_0x4f7887,_0x566455;}}class O extends c{['asPieChart'](){const _0x243ab8=_0xfa2f0;return new k(this[_0x243ab8(0x137)],this[_0x243ab8(0x186)],this[_0x243ab8(0x1a3)],this[_0x243ab8(0x128)],this[_0x243ab8(0x108)]);}}c['extend'](O);class R extends c{constructor(_0x94b50,_0x2dc92f,_0x3198dc,_0x439b76,_0x2df6db){const _0x487ea5=_0xfa2f0;super(_0x94b50,_0x2dc92f,_0x3198dc,_0x439b76,_0x2df6db),o(this,_0x487ea5(0x169)),o(this,'fill');}[_0xfa2f0(0x175)](_0x5bef9e){return this['shape']=_0x5bef9e,this;}['setFill'](_0x59260c){return this['fill']=_0x59260c,this;}['build'](){const _0x29bd22=_0xfa2f0,_0x26b57a=super[_0x29bd22(0x17c)]();_0x26b57a[_0x29bd22(0x136)]=d[_0x29bd22(0x180)]['Radar'];const _0x24d51a=_0x26b57a[_0x29bd22(0x166)]||{};return s(_0x24d51a,_0x29bd22(0x142),this['shape']),s(_0x24d51a,'radar.fill',this[_0x29bd22(0x12a)]),_0x26b57a[_0x29bd22(0x166)]=_0x24d51a,_0x26b57a;}}class B extends c{[_0xfa2f0(0x170)](){const _0x5e7e97=_0xfa2f0;return new R(this['unitId'],this[_0x5e7e97(0x186)],this[_0x5e7e97(0x1a3)],this[_0x5e7e97(0x128)],this['chartId']);}}function _0x4497(_0x5b3a95,_0x3539bb){const _0x2312a2=_0x2312();return _0x4497=function(_0x449722,_0x2ea806){_0x449722=_0x449722-0xf2;let _0x57741c=_0x2312a2[_0x449722];return _0x57741c;},_0x4497(_0x5b3a95,_0x3539bb);}c['extend'](B),exports[_0xfa2f0(0x12e)]=A,exports[_0xfa2f0(0x125)]=c,exports[_0xfa2f0(0x1b7)]=I,exports['PieChartBuilder']=k,exports[_0xfa2f0(0x18d)]=R;