@univerjs-pro/sheets-chart-ui 0.21.0 → 0.21.1

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 (53) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.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/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.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/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1d8fa5=_0x1090;(function(_0x5bbe31,_0x25242e){const _0x43d579=_0x1090,_0x3480ac=_0x5bbe31();while(!![]){try{const _0x5e5454=-parseInt(_0x43d579(0x2a3))/0x1*(parseInt(_0x43d579(0x2fb))/0x2)+parseInt(_0x43d579(0x3c1))/0x3*(parseInt(_0x43d579(0x3e8))/0x4)+parseInt(_0x43d579(0x203))/0x5+parseInt(_0x43d579(0x1d6))/0x6*(-parseInt(_0x43d579(0x3ff))/0x7)+parseInt(_0x43d579(0x79))/0x8*(parseInt(_0x43d579(0x42f))/0x9)+parseInt(_0x43d579(0x122))/0xa*(-parseInt(_0x43d579(0x3c9))/0xb)+-parseInt(_0x43d579(0x27f))/0xc*(-parseInt(_0x43d579(0x370))/0xd);if(_0x5e5454===_0x25242e)break;else _0x3480ac['push'](_0x3480ac['shift']());}catch(_0x403bf8){_0x3480ac['push'](_0x3480ac['shift']());}}}(_0x50b2,0xa3a50),Object[_0x1d8fa5(0x38c)](exports,Symbol['toStringTag'],{'value':_0x1d8fa5(0x527)}));let _univerjs_pro_sheets_chart=require('@univerjs-pro/sheets-chart'),_univerjs_core=require('@univerjs/core'),_univerjs_drawing=require('@univerjs/drawing'),_univerjs_icons=require('@univerjs/icons'),_univerjs_sheets_drawing=require('@univerjs/sheets-drawing'),_univerjs_sheets_ui=require('@univerjs/sheets-ui'),_univerjs_ui=require('@univerjs/ui'),_univerjs_pro_engine_chart=require('@univerjs-pro/engine-chart'),rxjs=require('rxjs'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_sheets_drawing_ui=require('@univerjs/sheets-drawing-ui'),_univerjs_design=require('@univerjs/design'),react=require('react'),_univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_sheets_formula_ui=require('@univerjs/sheets-formula-ui'),react_jsx_runtime=require('react/jsx-runtime'),_univerjs_sheets=require('@univerjs/sheets');const ChartHidePanelOperation={'type':_univerjs_core['CommandType']['OPERATION'],'id':_0x1d8fa5(0x410),'handler'(){return!![];}},ChartOpenPanelOperation={'type':_univerjs_core[_0x1d8fa5(0x26b)][_0x1d8fa5(0x364)],'id':_0x1d8fa5(0x391),'handler'(){return!![];}};function _typeof(_0x26780a){'@babel/helpers - typeof';const _0x507229=_0x1d8fa5;return _typeof=_0x507229(0x1d3)==typeof Symbol&&'symbol'==typeof Symbol[_0x507229(0x36f)]?function(_0x2118fc){return typeof _0x2118fc;}:function(_0x1451ff){const _0x4e5f8f=_0x507229;return _0x1451ff&&_0x4e5f8f(0x1d3)==typeof Symbol&&_0x1451ff[_0x4e5f8f(0x24e)]===Symbol&&_0x1451ff!==Symbol[_0x4e5f8f(0x1f2)]?'symbol':typeof _0x1451ff;},_typeof(_0x26780a);}function toPrimitive(_0x81e6b7,_0x2f2a90){const _0x541295=_0x1d8fa5;if(_0x541295(0xac)!=_typeof(_0x81e6b7)||!_0x81e6b7)return _0x81e6b7;var _0x512be9=_0x81e6b7[Symbol['toPrimitive']];if(void 0x0!==_0x512be9){var _0x18d732=_0x512be9['call'](_0x81e6b7,_0x2f2a90||_0x541295(0xdd));if(_0x541295(0xac)!=_typeof(_0x18d732))return _0x18d732;throw new TypeError(_0x541295(0x2b8));}return(_0x541295(0x287)===_0x2f2a90?String:Number)(_0x81e6b7);}function toPropertyKey(_0x392ad1){var _0x1d2557=toPrimitive(_0x392ad1,'string');return'symbol'==_typeof(_0x1d2557)?_0x1d2557:_0x1d2557+'';}function _defineProperty(_0x51dfd6,_0x5a24c3,_0x4bcb1a){const _0x1b5e83=_0x1d8fa5;return(_0x5a24c3=toPropertyKey(_0x5a24c3))in _0x51dfd6?Object[_0x1b5e83(0x38c)](_0x51dfd6,_0x5a24c3,{'value':_0x4bcb1a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x51dfd6[_0x5a24c3]=_0x4bcb1a,_0x51dfd6;}function __decorateParam(_0x29104d,_0x37c3cb){return function(_0x177bb9,_0x37a2c6){_0x37c3cb(_0x177bb9,_0x37a2c6,_0x29104d);};}function __decorate(_0x31d027,_0x55ea6f,_0x1cf9ce,_0x571afa){const _0x23cc7f=_0x1d8fa5;var _0x10406c=arguments[_0x23cc7f(0x451)],_0x41372d=_0x10406c<0x3?_0x55ea6f:_0x571afa===null?_0x571afa=Object['getOwnPropertyDescriptor'](_0x55ea6f,_0x1cf9ce):_0x571afa,_0x3efe34;if(typeof Reflect===_0x23cc7f(0xac)&&typeof Reflect['decorate']==='function')_0x41372d=Reflect[_0x23cc7f(0x2d8)](_0x31d027,_0x55ea6f,_0x1cf9ce,_0x571afa);else{for(var _0x104273=_0x31d027[_0x23cc7f(0x451)]-0x1;_0x104273>=0x0;_0x104273--)if(_0x3efe34=_0x31d027[_0x104273])_0x41372d=(_0x10406c<0x3?_0x3efe34(_0x41372d):_0x10406c>0x3?_0x3efe34(_0x55ea6f,_0x1cf9ce,_0x41372d):_0x3efe34(_0x55ea6f,_0x1cf9ce))||_0x41372d;}return _0x10406c>0x3&&_0x41372d&&Object['defineProperty'](_0x55ea6f,_0x1cf9ce,_0x41372d),_0x41372d;}function waitElement(_0x2217c1){return new Promise(_0x7d3fe6=>{const _0x2554df=_0x1090,_0x5ce736=setInterval(()=>{const _0x913a9d=_0x1090,_0x54f62c=document[_0x913a9d(0x354)](_0x2217c1);_0x54f62c&&(clearInterval(_0x5ce736),_0x7d3fe6(_0x54f62c));},0x3e8/0x3c),_0x5d8e4a=document[_0x2554df(0x354)](_0x2217c1);_0x5d8e4a&&(clearInterval(_0x5ce736),_0x7d3fe6(_0x5d8e4a));});}function createHostElement(_0x38ff7d,_0x5797e7){const _0x2e76f8=_0x1d8fa5,_0xf9a906=document['createElement'](_0x2e76f8(0x3d7));return _0xf9a906['style']['width']=_0x38ff7d-0x10+'px',_0xf9a906[_0x2e76f8(0x418)]['height']=_0x5797e7-0x10+'px',_0xf9a906[_0x2e76f8(0x418)][_0x2e76f8(0x189)]=_0x2e76f8(0x4ea),_0xf9a906[_0x2e76f8(0x418)][_0x2e76f8(0x485)]=_0x2e76f8(0x93),_0xf9a906['style'][_0x2e76f8(0x169)]=_0x2e76f8(0x248),_0xf9a906[_0x2e76f8(0x418)][_0x2e76f8(0x347)]='8px',_0xf9a906[_0x2e76f8(0x418)][_0x2e76f8(0x493)]='hidden',_0xf9a906[_0x2e76f8(0x17e)]=_0x2e76f8(0x4ed),_0xf9a906;}let SheetsChartHostProviderService=class SheetsChartHostProviderService extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x2b959d,_0x1a50d7){const _0x4f5446=_0x1d8fa5;super(),this[_0x4f5446(0x460)]=_0x2b959d,this[_0x4f5446(0x39c)]=_0x1a50d7,_defineProperty(this,'_mountNodes',new Map()),_defineProperty(this,_0x4f5446(0x42b),new rxjs[(_0x4f5446(0x11e))]()),_defineProperty(this,_0x4f5446(0x4c8),this[_0x4f5446(0x42b)][_0x4f5446(0x476)]());}[_0x1d8fa5(0x2f8)](_0x5932fa){const _0xd069dd=_0x1d8fa5;if(_0x5932fa==null)return;const _0x5a0f08=this[_0xd069dd(0x39c)][_0xd069dd(0x366)](_0x5932fa),_0x2bd109=_0x5a0f08===null||_0x5a0f08===void 0x0?void 0x0:_0x5a0f08[_0xd069dd(0x38d)];if(_0x5a0f08==null||_0x2bd109==null)return null;return{'scene':_0x2bd109,'transformer':_0x2bd109[_0xd069dd(0x241)](),'renderUnit':_0x5a0f08,'canvas':_0x5a0f08[_0xd069dd(0x176)]['getCanvasElement']()};}[_0x1d8fa5(0x20f)](_0x3cd27a,_0xacbd93){const _0x4858e6=_0x1d8fa5,_0xee9b57=this['_sheetCanvasFloatDomManagerService'],_0x5b637b=_0xacbd93||'transparent',_0x4bc7ff=_0xee9b57[_0x4858e6(0x180)](_0x3cd27a);if(_0x4bc7ff){const {unitId:_0x54a6b1,subUnitId:_0x6c8ebd}=_0x4bc7ff;_0xee9b57[_0x4858e6(0x4c6)](_0x54a6b1,_0x6c8ebd,_0x3cd27a,{'stroke':_0x5b637b});}}[_0x1d8fa5(0x371)](_0x539668,_0xec90cb){const _0x56cbff=_0x1d8fa5,_0x18ecbe=this[_0x56cbff(0x460)],_0x218fc5=_0x18ecbe[_0x56cbff(0x180)](_0x539668);if(_0x218fc5){const {unitId:_0x5f31f6,subUnitId:_0x2dd3ee}=_0x218fc5;_0x18ecbe[_0x56cbff(0x4c6)](_0x5f31f6,_0x2dd3ee,_0x539668,_0xec90cb);}}[_0x1d8fa5(0x19f)](_0x494ce8){const _0xf30111=_0x1d8fa5,_0x2f3bf5=this[_0xf30111(0x460)][_0xf30111(0x180)](_0x494ce8);if(_0x2f3bf5)return _0x2f3bf5[_0xf30111(0x11d)];return null;}[_0x1d8fa5(0x116)](_0x411fd2){const _0x25e079=_0x1d8fa5,_0xf0d042=this[_0x25e079(0x460)][_0x25e079(0x180)](_0x411fd2);if(_0xf0d042){var _0x5d471b;const _0x47882c=(_0x5d471b=_0xf0d042[_0x25e079(0x112)])!==null&&_0x5d471b!==void 0x0?_0x5d471b:_0x411fd2,_0x34fca8=document[_0x25e079(0x354)](_0x47882c);if(_0x34fca8&&_0x34fca8[_0x25e079(0x201)][_0x25e079(0x451)]>0x0)return!![];}return![];}async[_0x1d8fa5(0x52c)](_0x4af421){const _0x103d3b=_0x1d8fa5;var _0x1310b6;const _0x562eeb=this[_0x103d3b(0x460)][_0x103d3b(0x180)](_0x4af421),_0x566fa5=(_0x1310b6=_0x562eeb===null||_0x562eeb===void 0x0?void 0x0:_0x562eeb[_0x103d3b(0x112)])!==null&&_0x1310b6!==void 0x0?_0x1310b6:_0x4af421,_0x3b06c7=document[_0x103d3b(0x354)](_0x566fa5);if(this[_0x103d3b(0x3e4)][_0x103d3b(0x46b)](_0x4af421)&&_0x3b06c7&&_0x3b06c7['children'][_0x103d3b(0x451)]>0x0)return{'mountNode':this[_0x103d3b(0x3e4)][_0x103d3b(0xed)](_0x4af421),'dispose':()=>{const _0x46c4c6=_0x103d3b;this['_mountNodes'][_0x46c4c6(0x442)](_0x4af421),_0x562eeb===null||_0x562eeb===void 0x0||_0x562eeb[_0x46c4c6(0x311)][_0x46c4c6(0x311)]();}};return this[_0x103d3b(0x236)](_0x4af421);}async[_0x1d8fa5(0x236)](_0x1a4388){const _0x4e8536=_0x1d8fa5,_0x51e5cc=this[_0x4e8536(0x460)][_0x4e8536(0x180)](_0x1a4388);if(!_0x51e5cc){this[_0x4e8536(0x3e4)][_0x4e8536(0x442)](_0x1a4388);throw new Error('Fail\x20to\x20create\x20float\x20dom');}else{var _0x3bc7f9;const {rect:_0x3eb167}=_0x51e5cc,_0x147a32=_0x3eb167[_0x4e8536(0x103)],_0x323c44=_0x3eb167[_0x4e8536(0x166)],_0x3307a7=this[_0x4e8536(0x2f8)](_0x51e5cc[_0x4e8536(0x16e)]);let _0x445957=0x1,_0x2c8aaa=0x1;if(_0x3307a7){const {scene:_0x4402e3}=_0x3307a7;_0x4402e3&&(_0x445957=_0x4402e3[_0x4e8536(0x42c)],_0x2c8aaa=_0x4402e3['scaleY']);}const _0x364abd=createHostElement(_0x147a32*_0x445957,_0x323c44*_0x2c8aaa);return(await waitElement((_0x3bc7f9=_0x51e5cc[_0x4e8536(0x112)])!==null&&_0x3bc7f9!==void 0x0?_0x3bc7f9:_0x1a4388))['appendChild'](_0x364abd),this[_0x4e8536(0x3e4)][_0x4e8536(0x9f)](_0x1a4388,_0x364abd),this[_0x4e8536(0x49a)](this['_sheetCanvasFloatDomManagerService'][_0x4e8536(0xa9)][_0x4e8536(0x325)](_0x3144dd=>{const _0x376929=_0x4e8536;if(_0x3144dd['id']===_0x1a4388)this[_0x376929(0x42b)][_0x376929(0x20b)](_0x1a4388);})),{'mountNode':_0x364abd,'dispose':()=>{const _0x211307=_0x4e8536;this['_mountNodes']['delete'](_0x1a4388),_0x51e5cc===null||_0x51e5cc===void 0x0||_0x51e5cc[_0x211307(0x311)][_0x211307(0x311)]();}};}}};SheetsChartHostProviderService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_drawing_ui[_0x1d8fa5(0x435)])),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_engine_render[_0x1d8fa5(0x1d2)]))],SheetsChartHostProviderService);const IChartHostProviderService=(0x0,_univerjs_core[_0x1d8fa5(0x2c7)])(_0x1d8fa5(0xea));function registryChartConfigState(_0x2ccf0d){const _0x5c0bad=_0x1d8fa5;_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x23e),_0x1fa2d0=>_0x1fa2d0['context$'][_0x5c0bad(0x12a)]((0x0,rxjs[_0x5c0bad(0x246)])(_0x33c182=>_0x33c182[_0x5c0bad(0x23e)]))),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x1d1),_0x11a6dc=>({'set'(_0x3ca158){const _0x47575b=_0x5c0bad,_0x12f811={};if(_0x3ca158===_univerjs_pro_engine_chart['ChartTypeBits'][_0x47575b(0x535)])_0x12f811[_0x47575b(0x126)]={'doughnutHole':null};_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x11a6dc['id'],'chartType':_0x3ca158,'style':_0x12f811});},'get'(){const _0x5078ce=_0x5c0bad;return _0x11a6dc[_0x5078ce(0x1ae)];}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x21b),_0x4ce803=>({'set'(_0x27fe30){const _0x6ee028=_0x5c0bad;if(_0x27fe30)_0x2ccf0d[_0x6ee028(0x49d)]({'chartModelId':_0x4ce803['id'],'range':_0x27fe30});},'get'(){const _0x3169ab=_0x5c0bad,_0x506ee7=_0x2ccf0d[_0x3169ab(0x35b)](_0x4ce803['id']);if(!_0x506ee7)return;return _0x506ee7[_0x3169ab(0x3a4)];}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0xc1),_0x5dad79=>({'set'(_0x1be18d){const _0x5bd0c6=_0x5c0bad;if(typeof _0x1be18d!=='number')return;_0x2ccf0d[_0x5bd0c6(0x3a1)]({'chartModelId':_0x5dad79['id'],'context':{'categoryIndex':_0x1be18d}});},'get'(){const _0x4b33f5=_0x5c0bad;return _0x5dad79[_0x4b33f5(0x4bc)][_0x4b33f5(0x12a)]((0x0,rxjs['map'])(_0x38fd39=>_0x38fd39[_0x4b33f5(0xc1)]),(0x0,rxjs[_0x4b33f5(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('categoryType',_0x1baf9c=>{const _0x204e71=_0x5c0bad;return _0x1baf9c[_0x204e71(0x4bc)][_0x204e71(0x12a)]((0x0,rxjs[_0x204e71(0x246)])(_0x429b94=>_0x429b94[_0x204e71(0x3b9)]),(0x0,rxjs[_0x204e71(0x4b1)])());}),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4d5),_0x161c17=>{const _0x26898e=_0x5c0bad;var _0x22a646;const _0x38fbe0=(_0x22a646=_0x2ccf0d['getDataSource'](_0x161c17['id']))===null||_0x22a646===void 0x0?void 0x0:_0x22a646['rangeInfo$'];if(!_0x38fbe0)return _0x161c17[_0x26898e(0x4bc)][_0x26898e(0x12a)]((0x0,rxjs[_0x26898e(0x246)])(()=>[]));return _0x161c17[_0x26898e(0x4bc)]['pipe']((0x0,rxjs[_0x26898e(0x394)])(_0x38fbe0),(0x0,rxjs[_0x26898e(0x246)])(([_0x2b7d2c,_0xb95869])=>{const _0x22d2b6=_0x26898e,{categoryResourceIndexes:_0x5b7350,headers:_0x415ac1}=_0x2b7d2c,_0x3271d=(_0x5b7350||[])['sort']((_0x5b3cbe,_0x2fe9d4)=>(_0x5b3cbe||0x0)-(_0x2fe9d4||0x0));if(!_0x3271d)return[];if(Array[_0x22d2b6(0x436)](_0xb95869))return[];return _0x3271d[_0x22d2b6(0x246)](_0x398fae=>{return{'label':(_0x415ac1===null||_0x415ac1===void 0x0?void 0x0:_0x415ac1[_0x398fae])||_0x2ccf0d['t']('chart.categoryDefaultName',''+(_0x398fae+0x1)),'value':String(_0x398fae)};});}));}),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4e9),_0x194ef9=>{const _0x114e28=_0x5c0bad;var _0x5b5d18;const _0x2d9a50=(_0x5b5d18=_0x2ccf0d[_0x114e28(0x35b)](_0x194ef9['id']))===null||_0x5b5d18===void 0x0?void 0x0:_0x5b5d18[_0x114e28(0x3a4)];if(!_0x2d9a50)return _0x194ef9[_0x114e28(0x4bc)][_0x114e28(0x12a)]((0x0,rxjs['map'])(()=>[]));return _0x194ef9[_0x114e28(0x4bc)][_0x114e28(0x12a)]((0x0,rxjs[_0x114e28(0x394)])(_0x2d9a50),(0x0,rxjs[_0x114e28(0x246)])(([_0x30fef6,_0x5f3351])=>{const _0xd97586=_0x114e28,{categoryResourceIndexes:_0x1d99cb,seriesResourceIndexes:_0x228106,headers:_0x28151d}=_0x30fef6,_0x732f0c=_0x1d99cb===null||_0x1d99cb===void 0x0?void 0x0:_0x1d99cb[_0xd97586(0xe1)](_0x228106||[])[_0xd97586(0x50c)]((_0xaf1490,_0xd92346)=>(_0xaf1490||0x0)-(_0xd92346||0x0));if(!_0x732f0c)return[];if(Array['isArray'](_0x5f3351))return[];return _0x732f0c[_0xd97586(0x246)](_0x203a27=>{const _0x55ebbe=_0xd97586;return{'label':(_0x28151d===null||_0x28151d===void 0x0?void 0x0:_0x28151d[_0x203a27])||_0x2ccf0d['t'](_0x55ebbe(0x502),''+(_0x203a27+0x1)),'value':String(_0x203a27)};});}));}),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x406),_0x1c9c7e=>({'set'(_0x5e93b2){const _0x229760=_0x5c0bad;_0x2ccf0d[_0x229760(0x3a1)]({'chartModelId':_0x1c9c7e['id'],'context':{'seriesIndexes':_0x5e93b2}});},'get'(){const _0x46f305=_0x5c0bad;return _0x1c9c7e[_0x46f305(0x4bc)][_0x46f305(0x12a)]((0x0,rxjs[_0x46f305(0x246)])(_0xa4c5ca=>{const {seriesIndexes:seriesIndexes=[]}=_0xa4c5ca;return seriesIndexes;}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x415),_0x5eabac=>({'set'(_0x336daa){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x5eabac['id'],'style':{'trendlines':_0x336daa}});},'get'(){const _0x3671b7=_0x5c0bad;return _0x5eabac[_0x3671b7(0x2f2)]['pipe']((0x0,rxjs[_0x3671b7(0x246)])(_0x18bef4=>_0x18bef4[_0x3671b7(0x416)]));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x17a),_0x29b9a0=>{const _0x273bfe=_0x5c0bad;var _0x258072;const _0x1423e7=(_0x258072=_0x2ccf0d['getDataSource'](_0x29b9a0['id']))===null||_0x258072===void 0x0?void 0x0:_0x258072[_0x273bfe(0x3a4)];if(!_0x1423e7)return _0x29b9a0[_0x273bfe(0x4bc)][_0x273bfe(0x12a)]((0x0,rxjs[_0x273bfe(0x246)])(()=>[]));return _0x29b9a0[_0x273bfe(0x4bc)][_0x273bfe(0x12a)]((0x0,rxjs['combineLatestWith'])(_0x1423e7),(0x0,rxjs['map'])(([_0x2b8e1a,_0xb2cb9f])=>{const {seriesIndexes:seriesIndexes=[],headers:_0x5257c6}=_0x2b8e1a;if(Array['isArray'](_0xb2cb9f))return[];return seriesIndexes['map'](_0x3066b7=>{const _0x167a04=_0x1090;return{'label':(_0x5257c6===null||_0x5257c6===void 0x0?void 0x0:_0x5257c6[_0x3066b7])||_0x2ccf0d['t'](_0x167a04(0x39d),''+_0x3066b7),'value':String(_0x3066b7)};});}));}),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x1e6),_0x1a3cbe=>{const _0x53809a=_0x5c0bad;var _0x57a5a3;const _0x267747=(_0x57a5a3=_0x2ccf0d[_0x53809a(0x35b)](_0x1a3cbe['id']))===null||_0x57a5a3===void 0x0?void 0x0:_0x57a5a3[_0x53809a(0x3a4)];if(!_0x267747)return _0x1a3cbe[_0x53809a(0x4bc)][_0x53809a(0x12a)]((0x0,rxjs['map'])(()=>[]));return _0x1a3cbe[_0x53809a(0x4bc)][_0x53809a(0x12a)]((0x0,rxjs[_0x53809a(0x394)])(_0x267747),(0x0,rxjs[_0x53809a(0x246)])(([_0x3ba87f,_0x490f50])=>{const _0xee9f5=_0x53809a,{seriesResourceIndexes:seriesResourceIndexes=[],headers:_0x1b9232}=_0x3ba87f;if(Array['isArray'](_0x490f50))return[];const _0x49cfb3=new Map();return seriesResourceIndexes[_0xee9f5(0x246)](_0x2ef493=>{const _0x2ba7ac=_0xee9f5,_0x2c36cd=(_0x1b9232===null||_0x1b9232===void 0x0?void 0x0:_0x1b9232[_0x2ef493])||_0x2ccf0d['t']('chart.seriesDefaultName',''+_0x2ef493);if(_0x49cfb3[_0x2ba7ac(0x46b)](_0x2c36cd))_0x49cfb3[_0x2ba7ac(0x9f)](_0x2c36cd,_0x49cfb3[_0x2ba7ac(0xed)](_0x2c36cd)+0x1);else _0x49cfb3[_0x2ba7ac(0x9f)](_0x2c36cd,0x0);return{'label':(_0x49cfb3[_0x2ba7ac(0x46b)](_0x2c36cd)&&_0x49cfb3[_0x2ba7ac(0xed)](_0x2c36cd)>0x0?_0x2c36cd+'\x20'+_0x49cfb3[_0x2ba7ac(0xed)](_0x2c36cd):_0x2c36cd)||_0x2ccf0d['t']('chart.seriesDefaultName',''+_0x2ef493),'value':String(_0x2ef493)};});}));}),_0x2ccf0d[_0x5c0bad(0x2f0)]('aggregate',_0xb4065c=>({'set'(_0x168520){const _0x446fe6=_0x5c0bad;_0x2ccf0d[_0x446fe6(0x3a1)]({'chartModelId':_0xb4065c['id'],'dataAggregation':{'aggregate':_0x168520}});},'get'(){const _0x4bdccd=_0x5c0bad;return _0xb4065c[_0x4bdccd(0x172)][_0x4bdccd(0x12a)]((0x0,rxjs[_0x4bdccd(0x246)])(_0x563ec8=>_0x563ec8[_0x4bdccd(0x119)]||![]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x230),_0x79acc1=>({'set'(_0x34b1e2){const _0x3a6dcd=_0x5c0bad;var _0x7c2cd8;const _0x23053a=(_0x7c2cd8=_0x2ccf0d['getDataSource'](_0x79acc1['id']))===null||_0x7c2cd8===void 0x0?void 0x0:_0x7c2cd8[_0x3a6dcd(0x162)]();if(_0x23053a){const _0x53fdc3={..._0x23053a,'isRowDirection':_0x34b1e2===_univerjs_pro_engine_chart[_0x3a6dcd(0x35f)]['Row']};_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x79acc1['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x2ccf0d[_0x3a6dcd(0x49d)]({'chartModelId':_0x79acc1['id'],'range':_0x53fdc3});}},'get'(){const _0x3bab57=_0x5c0bad;var _0xd303ef;return(_0xd303ef=_0x2ccf0d[_0x3bab57(0x35b)](_0x79acc1['id']))===null||_0xd303ef===void 0x0?void 0x0:_0xd303ef['rangeInfo$'][_0x3bab57(0x12a)]((0x0,rxjs[_0x3bab57(0x246)])(_0x1cca30=>_0x1cca30[_0x3bab57(0x2c1)]?_univerjs_pro_engine_chart[_0x3bab57(0x35f)][_0x3bab57(0x382)]:_univerjs_pro_engine_chart[_0x3bab57(0x35f)][_0x3bab57(0x29b)]),(0x0,rxjs[_0x3bab57(0x4b1)])());}})),_0x2ccf0d['registerViewState']('gradientFill',_0x27e09f=>({'set'(_0x26a608){const _0x591b86=_0x5c0bad;_0x2ccf0d[_0x591b86(0x3a1)]({'chartModelId':_0x27e09f['id'],'style':{'gradientFill':_0x26a608}});},'get'(){const _0xc43fe5=_0x5c0bad;return _0x27e09f[_0xc43fe5(0x2f2)]['pipe']((0x0,rxjs[_0xc43fe5(0x246)])(_0x3488a8=>_0x3488a8[_0xc43fe5(0x509)]),(0x0,rxjs[_0xc43fe5(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x151),_0x46437f=>({'set'(_0x4d2821){const _0x4e7e14=_0x5c0bad;_0x2ccf0d[_0x4e7e14(0x3a1)]({'chartModelId':_0x46437f['id'],'style':{'tooltip':_0x4d2821}});},'get'(){const _0x401bea=_0x5c0bad;return _0x46437f['style$'][_0x401bea(0x12a)]((0x0,rxjs[_0x401bea(0x246)])(_0x4728da=>_0x4728da['tooltip']),(0x0,rxjs[_0x401bea(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('asCategory',_0xfb6c5=>({'set'(_0x382989){const _0x35da56=_0x5c0bad,{context:_0x4ee134}=_0xfb6c5,_0x439c41=_0x336909=>{const _0x57f9a4=_0x1090;var _0x48f35c;return((_0x48f35c=_0x4ee134[_0x57f9a4(0x534)])===null||_0x48f35c===void 0x0?void 0x0:_0x48f35c['indexOf'](_0x336909))!==-0x1;};if(_0x382989){var _0x55abf8;const _0x380b44=(_0x55abf8=_0x4ee134[_0x35da56(0x18c)])===null||_0x55abf8===void 0x0?void 0x0:_0x55abf8[0x0];if(_0x380b44===void 0x0)return;const _0x259144={'categoryIndex':_0x380b44,'categoryType':_univerjs_pro_engine_chart[_0x35da56(0x51f)][_0x35da56(0x530)]};if(_0x439c41(_0x380b44)){var _0x41d40b;_0x259144[_0x35da56(0x18c)]=(_0x41d40b=_0x4ee134[_0x35da56(0x18c)])===null||_0x41d40b===void 0x0?void 0x0:_0x41d40b[_0x35da56(0x4de)](_0x4e4374=>_0x4e4374!==_0x380b44);}_0x2ccf0d[_0x35da56(0x3a1)]({'chartModelId':_0xfb6c5['id'],'context':_0x259144});}else{if(_0x4ee134[_0x35da56(0xc1)]===void 0x0)return;const _0x572d37={'categoryIndex':void 0x0,'categoryType':void 0x0};if(_0x439c41(_0x4ee134['categoryIndex']))_0x572d37[_0x35da56(0x18c)]=[_0x4ee134[_0x35da56(0xc1)]][_0x35da56(0xe1)](_0x4ee134[_0x35da56(0x18c)]||[]);_0x2ccf0d[_0x35da56(0x3a1)]({'chartModelId':_0xfb6c5['id'],'context':_0x572d37});}},'get'(){const _0x4c14bb=_0x5c0bad;return _0xfb6c5[_0x4c14bb(0x4bc)][_0x4c14bb(0x12a)]((0x0,rxjs[_0x4c14bb(0x246)])(_0x1648db=>{const _0x19459e=_0x4c14bb;var _0x57155e;if(_0x1648db['categoryIndex']===void 0x0)return![];return Boolean((_0x57155e=_0x1648db[_0x19459e(0x534)])===null||_0x57155e===void 0x0?void 0x0:_0x57155e[_0x19459e(0x321)](_0x1648db[_0x19459e(0xc1)]));}));}})),_0x2ccf0d['registerViewState']('backgroundColor',_0x3b925f=>({'set'(_0x3399c2){const _0x20d3e4=_0x5c0bad;_0x2ccf0d[_0x20d3e4(0x3a1)]({'chartModelId':_0x3b925f['id'],'style':{'backgroundColor':_0x3399c2!==null&&_0x3399c2!==void 0x0?_0x3399c2:null}});},'get'(){const _0x5cb635=_0x5c0bad;return _0x3b925f[_0x5cb635(0x2f2)]['pipe']((0x0,rxjs[_0x5cb635(0x246)])(_0x1fb392=>_0x1fb392===null||_0x1fb392===void 0x0?void 0x0:_0x1fb392[_0x5cb635(0x2dc)]),(0x0,rxjs[_0x5cb635(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('borderColor',_0x4664a2=>({'set'(_0x26052d){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x4664a2['id'],'style':{'borderColor':_0x26052d!==null&&_0x26052d!==void 0x0?_0x26052d:null}}),_0x2ccf0d['setBorder'](_0x4664a2['id'],_0x26052d);},'get'(){const _0x3f4aab=_0x5c0bad;return _0x4664a2['style$'][_0x3f4aab(0x12a)]((0x0,rxjs[_0x3f4aab(0x246)])(_0x267fd6=>_0x267fd6['borderColor']),(0x0,rxjs[_0x3f4aab(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x2e1),_0x54c88c=>({'set'(_0x33449f){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x54c88c['id'],'style':{'fontSize':_0x33449f}});},'get'(){const _0x35a94e=_0x5c0bad;return _0x54c88c[_0x35a94e(0x2f2)][_0x35a94e(0x12a)]((0x0,rxjs[_0x35a94e(0x246)])(_0x2a1eb6=>_0x2a1eb6['fontSize']),(0x0,rxjs[_0x35a94e(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x14a),_0x3b14a9=>({'set'(_0x5942bc){const _0x33e3a3=_0x5c0bad;_0x2ccf0d[_0x33e3a3(0x3a1)]({'chartModelId':_0x3b14a9['id'],'style':{'titleFontSize':_0x5942bc}});},'get'(){const _0x5aca19=_0x5c0bad;return _0x3b14a9[_0x5aca19(0x2f2)][_0x5aca19(0x12a)]((0x0,rxjs[_0x5aca19(0x246)])(_0x45891a=>_0x45891a[_0x5aca19(0x14a)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x455),_0x3ba562=>({'set'(_0x25ebde){const _0x24ed9b=_0x5c0bad;_0x2ccf0d[_0x24ed9b(0x3a1)]({'chartModelId':_0x3ba562['id'],'style':{'titles':_0x25ebde}});},'get'(){const _0x32b1d7=_0x5c0bad;return _0x3ba562[_0x32b1d7(0x2f2)][_0x32b1d7(0x12a)]((0x0,rxjs['map'])(_0x43a160=>_0x43a160['titles']));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x479),_0x4e2b85=>({'set'(_0x5438ea){const _0xcbf31=_0x5c0bad,_0x3c2214=Object['keys'](_0x5438ea),_0xbb7e24=_univerjs_core['Tools'][_0xcbf31(0x22b)](_0x4e2b85[_0xcbf31(0x418)][_0xcbf31(0x32e)]||{}),_0x1dbe0b={};for(const _0x302cfe in _0xbb7e24)if(_0xbb7e24[_0xcbf31(0x36c)](_0x302cfe)){const _0x3dcc8b=_0xbb7e24[_0x302cfe];if(!_0x3dcc8b)continue;for(const _0x5ecaf1 of _0x3c2214)if(_0x3dcc8b['hasOwnProperty'](_0x5ecaf1))_0x1dbe0b[_0x302cfe]={[_0x5ecaf1]:null};}const _0x43cadf={'allSeriesStyle':_0x5438ea,'seriesStyleMap':_0x1dbe0b},_0x14672b=_0x4e2b85[_0xcbf31(0x1d1)],_0x257a8a=new Set(_0x3c2214);if(_0x14672b===_univerjs_pro_engine_chart[_0xcbf31(0x14e)]['Radar']&&(_0x257a8a[_0xcbf31(0x46b)](_0xcbf31(0x457))||_0x257a8a[_0xcbf31(0x46b)](_0xcbf31(0x18d))))_0x43cadf[_0xcbf31(0x85)]={'fill':!![]};_0x2ccf0d[_0xcbf31(0x3a1)]({'chartModelId':_0x4e2b85['id'],'style':_0x43cadf});},'get'(){const _0x582b19=_0x5c0bad;return _0x4e2b85['style$'][_0x582b19(0x12a)]((0x0,rxjs['map'])(_0x14f60e=>_0x14f60e['allSeriesStyle']));}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('seriesStyleMap',_0xb85d21=>({'set'(_0x5a79db){const _0x37033b=_0x5c0bad;_0x2ccf0d[_0x37033b(0x3a1)]({'chartModelId':_0xb85d21['id'],'style':{'seriesStyleMap':_0x5a79db}});},'get'(){const _0x1fe6c3=_0x5c0bad;return _0xb85d21[_0x1fe6c3(0x2f2)][_0x1fe6c3(0x12a)]((0x0,rxjs[_0x1fe6c3(0x246)])(_0x5cf01b=>_0x5cf01b[_0x1fe6c3(0x32e)]));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x2b6),_0x1532a4=>({'set'(_0x2f3233){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x1532a4['id'],'style':{'legend':_0x2f3233}});},'get'(){const _0x12137d=_0x5c0bad;return _0x1532a4['style$'][_0x12137d(0x12a)]((0x0,rxjs[_0x12137d(0x246)])(_0x5b32a9=>_0x5b32a9[_0x12137d(0x16a)]));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x46f),_0x21ee2a=>({'set'(_0x4dd72d){const _0x283d9f=_0x5c0bad;_0x2ccf0d[_0x283d9f(0x3a1)]({'chartModelId':_0x21ee2a['id'],'style':{'xAxis':_0x4dd72d}});},'get'(){const _0x58c265=_0x5c0bad;return _0x21ee2a['style$'][_0x58c265(0x12a)]((0x0,rxjs['map'])(_0x3fb496=>_0x3fb496[_0x58c265(0xa6)]));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x2c2),_0x4d91cb=>({'set'(_0x3ff885){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x4d91cb['id'],'style':{'yAxis':_0x3ff885}});},'get'(){const _0x498412=_0x5c0bad;return _0x4d91cb[_0x498412(0x2f2)]['pipe']((0x0,rxjs[_0x498412(0x246)])(_0xc13ef1=>_0xc13ef1[_0x498412(0x3a6)]));}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('rightYAxisOptions',_0x5cd966=>({'set'(_0x2ac263){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x5cd966['id'],'style':{'rightYAxis':_0x2ac263}});},'get'(){const _0x4842a5=_0x5c0bad;return _0x5cd966[_0x4842a5(0x2f2)][_0x4842a5(0x12a)]((0x0,rxjs[_0x4842a5(0x246)])(_0xe103c2=>_0xe103c2['rightYAxis']));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x402),_0x540fe2=>{const _0x3f7403=_0x5c0bad;return _0x540fe2[_0x3f7403(0x2f2)][_0x3f7403(0x12a)]((0x0,rxjs[_0x3f7403(0x246)])(()=>_0x540fe2[_0x3f7403(0x466)]()[_0x3f7403(0x84)]));}),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x23a),_0x2f52ce=>({'set'(_0x350f24){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x2f52ce['id'],'style':{'area':{'lineStyle':_0x350f24!==null&&_0x350f24!==void 0x0?_0x350f24:void 0x0}}});},'get'(){const _0x5c70c3=_0x5c0bad;return _0x2f52ce['style$']['pipe']((0x0,rxjs[_0x5c70c3(0x246)])(_0x49b3d3=>{const _0x495f50=_0x5c70c3;var _0x5bcfaf;return(_0x5bcfaf=_0x49b3d3[_0x495f50(0x2f4)])===null||_0x5bcfaf===void 0x0?void 0x0:_0x5bcfaf[_0x495f50(0x4fc)];}));}})),_0x2ccf0d['registerViewState']('pieLabelStyle',_0x2d6e71=>({'set'(_0x2aa48e){const _0x285eda=_0x5c0bad;_0x2ccf0d[_0x285eda(0x3a1)]({'chartModelId':_0x2d6e71['id'],'style':{'pie':{'labelStyle':_0x2aa48e!==null&&_0x2aa48e!==void 0x0?_0x2aa48e:void 0x0}}});},'get'(){const _0x44df54=_0x5c0bad;return _0x2d6e71[_0x44df54(0x2f2)]['pipe']((0x0,rxjs[_0x44df54(0x246)])(_0x29e216=>{const _0x33ab7f=_0x44df54;var _0x5a33ed;return(_0x5a33ed=_0x29e216[_0x33ab7f(0x126)])===null||_0x5a33ed===void 0x0?void 0x0:_0x5a33ed[_0x33ab7f(0x114)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0xfa),_0x475d6e=>({'set'(_0x4fc3d4){const _0x6268c2=_0x5c0bad;_0x2ccf0d[_0x6268c2(0x3a1)]({'chartModelId':_0x475d6e['id'],'style':{'wordCloud':{'shape':_0x4fc3d4!==null&&_0x4fc3d4!==void 0x0?_0x4fc3d4:void 0x0,'maskImage':_0x4fc3d4!==null&&_0x4fc3d4!==void 0x0?_0x4fc3d4:void 0x0}}});},'get'(){const _0x24479e=_0x5c0bad;return _0x475d6e[_0x24479e(0x2f2)][_0x24479e(0x12a)]((0x0,rxjs[_0x24479e(0x246)])(_0x22a12f=>{const _0x5c3146=_0x24479e;var _0x188425;return(_0x188425=_0x22a12f[_0x5c3146(0x532)])===null||_0x188425===void 0x0?void 0x0:_0x188425[_0x5c3146(0x94)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x1b5),_0x43cb56=>({'set'(_0x19d447){const _0x182055=_0x5c0bad;_0x2ccf0d[_0x182055(0x3a1)]({'chartModelId':_0x43cb56['id'],'style':{'wordCloud':{'maskImage':_0x19d447!==null&&_0x19d447!==void 0x0?_0x19d447:void 0x0,'shape':void 0x0}}});},'get'(){const _0x1738d6=_0x5c0bad;return _0x43cb56[_0x1738d6(0x2f2)]['pipe']((0x0,rxjs[_0x1738d6(0x246)])(_0xf4b70f=>{const _0x32940b=_0x1738d6;var _0xdbc211;return(_0xdbc211=_0xf4b70f[_0x32940b(0x532)])===null||_0xdbc211===void 0x0?void 0x0:_0xdbc211[_0x32940b(0x458)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x1f5),_0x2cdc2e=>({'set'(_0x530aaf){const _0x369ec0=_0x5c0bad;_0x2ccf0d[_0x369ec0(0x3a1)]({'chartModelId':_0x2cdc2e['id'],'style':{'wordCloud':{'repeat':_0x530aaf!==null&&_0x530aaf!==void 0x0?_0x530aaf:void 0x0}}});},'get'(){const _0x1fe093=_0x5c0bad;return _0x2cdc2e[_0x1fe093(0x2f2)]['pipe']((0x0,rxjs[_0x1fe093(0x246)])(_0x2c56a5=>{const _0x1715c9=_0x1fe093;var _0x1b52df;return(_0x1b52df=_0x2c56a5[_0x1715c9(0x532)])===null||_0x1b52df===void 0x0?void 0x0:_0x1b52df[_0x1715c9(0x468)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4ad),_0x1eeaa8=>({'set'(_0x3e0e9c){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x1eeaa8['id'],'style':{'funnel':{'gap':_0x3e0e9c!==null&&_0x3e0e9c!==void 0x0?_0x3e0e9c:void 0x0}}});},'get'(){const _0x4e65d4=_0x5c0bad;return _0x1eeaa8['style$'][_0x4e65d4(0x12a)]((0x0,rxjs[_0x4e65d4(0x246)])(_0x157744=>{const _0x44910a=_0x4e65d4;var _0x554679;return(_0x554679=_0x157744[_0x44910a(0x470)])===null||_0x554679===void 0x0?void 0x0:_0x554679[_0x44910a(0x4bd)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x46c),_0x20f3f2=>({'set'(_0x3a0f71){const _0x406f17=_0x5c0bad;_0x2ccf0d[_0x406f17(0x3a1)]({'chartModelId':_0x20f3f2['id'],'style':{'funnel':{'useAbsValue':_0x3a0f71!==null&&_0x3a0f71!==void 0x0?_0x3a0f71:void 0x0}}});},'get'(){const _0x1e84b3=_0x5c0bad;return _0x20f3f2[_0x1e84b3(0x2f2)][_0x1e84b3(0x12a)]((0x0,rxjs[_0x1e84b3(0x246)])(_0x2f7056=>{const _0x2bf5c1=_0x1e84b3;var _0x461d5a;return(_0x461d5a=_0x2f7056[_0x2bf5c1(0x470)])===null||_0x461d5a===void 0x0?void 0x0:_0x461d5a['useAbsValue'];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4ff),_0xb9a9aa=>({'set'(_0x279222){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0xb9a9aa['id'],'style':{'pie':{'hasPaddingAngle':Boolean(_0x279222)}}});},'get'(){const _0x50b972=_0x5c0bad;return _0xb9a9aa[_0x50b972(0x2f2)][_0x50b972(0x12a)]((0x0,rxjs['map'])(_0x3de59b=>{var _0x1211f6;return(_0x1211f6=_0x3de59b['pie'])===null||_0x1211f6===void 0x0?void 0x0:_0x1211f6['hasPaddingAngle'];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x49f),_0x5c30ed=>({'set'(_0x59f903){const _0x14d105=_0x5c0bad;_0x2ccf0d[_0x14d105(0x3a1)]({'chartModelId':_0x5c30ed['id'],'style':{'pie':{'isHalfPie':Boolean(_0x59f903)}}});},'get'(){const _0x3b8c0f=_0x5c0bad;return _0x5c30ed[_0x3b8c0f(0x2f2)]['pipe']((0x0,rxjs['map'])(_0x2d869f=>{const _0x12ae12=_0x3b8c0f;var _0x575ebc;return(_0x575ebc=_0x2d869f[_0x12ae12(0x126)])===null||_0x575ebc===void 0x0?void 0x0:_0x575ebc['isHalfPie'];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x29f),_0x50d1fb=>({'set'(_0x34005d){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x50d1fb['id'],'style':{'pie':{'valueScale':Number(_0x34005d)}}});},'get'(){const _0x5f3f3f=_0x5c0bad;return _0x50d1fb[_0x5f3f3f(0x2f2)][_0x5f3f3f(0x12a)]((0x0,rxjs[_0x5f3f3f(0x246)])(_0x1cf66a=>{const _0x29e7ce=_0x5f3f3f;var _0x5be07d;return(_0x5be07d=_0x1cf66a[_0x29e7ce(0x126)])===null||_0x5be07d===void 0x0?void 0x0:_0x5be07d[_0x29e7ce(0x29f)];}));}})),_0x2ccf0d['registerViewState'](_0x5c0bad(0x173),_0x30232a=>({'set'(_0xc3d5b8){const _0x2513c4=_0x5c0bad;_0x2ccf0d[_0x2513c4(0x3a1)]({'chartModelId':_0x30232a['id'],'style':{'pie':{'digitalFixed':Number(_0xc3d5b8)}}});},'get'(){const _0x58cc60=_0x5c0bad;return _0x30232a[_0x58cc60(0x2f2)][_0x58cc60(0x12a)]((0x0,rxjs[_0x58cc60(0x246)])(_0x14cc81=>{const _0x45089e=_0x58cc60;var _0x5b8585;return(_0x5b8585=_0x14cc81[_0x45089e(0x126)])===null||_0x5b8585===void 0x0?void 0x0:_0x5b8585[_0x45089e(0x173)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('valueSuffix',_0x339770=>({'set'(_0x4b8fee){const _0x2f8aaa=_0x5c0bad;_0x2ccf0d[_0x2f8aaa(0x3a1)]({'chartModelId':_0x339770['id'],'style':{'pie':{'valueSuffix':String(_0x4b8fee)}}});},'get'(){const _0x3b17bf=_0x5c0bad;return _0x339770[_0x3b17bf(0x2f2)][_0x3b17bf(0x12a)]((0x0,rxjs['map'])(_0x588f35=>{const _0x1b62dc=_0x3b17bf;var _0x4da623;return(_0x4da623=_0x588f35[_0x1b62dc(0x126)])===null||_0x4da623===void 0x0?void 0x0:_0x4da623[_0x1b62dc(0x8f)];}));}})),_0x2ccf0d['registerViewState']('isRosePie',_0x26b64d=>({'set'(_0x2e6bca){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x26b64d['id'],'style':{'pie':{'rosePie':Boolean(_0x2e6bca)}}});},'get'(){const _0x27350e=_0x5c0bad;return _0x26b64d[_0x27350e(0x2f2)][_0x27350e(0x12a)]((0x0,rxjs[_0x27350e(0x246)])(_0xda8bfb=>{const _0x295786=_0x27350e;var _0x554581;return(_0x554581=_0xda8bfb['pie'])===null||_0x554581===void 0x0?void 0x0:_0x554581[_0x295786(0x3bf)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('showLabelLine',_0x330228=>({'set'(_0x51f1d7){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x330228['id'],'style':{'pie':{'showLabelLine':Boolean(_0x51f1d7)}}});},'get'(){const _0x369a5f=_0x5c0bad;return _0x330228[_0x369a5f(0x2f2)][_0x369a5f(0x12a)]((0x0,rxjs[_0x369a5f(0x246)])(_0x52cda6=>{const _0x25b060=_0x369a5f;var _0x2ad5e4;return(_0x2ad5e4=_0x52cda6['pie'])===null||_0x2ad5e4===void 0x0?void 0x0:_0x2ad5e4[_0x25b060(0x2e7)];}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4e0),_0xd88473=>({'set'(_0x6f3542){const _0x3cc215=_0x5c0bad;_0x2ccf0d[_0x3cc215(0x3a1)]({'chartModelId':_0xd88473['id'],'chartType':_0x6f3542?_univerjs_pro_engine_chart[_0x3cc215(0x14e)][_0x3cc215(0x52f)]:_univerjs_pro_engine_chart[_0x3cc215(0x14e)]['Pie'],'style':{'pie':{'doughnutHole':_0x6f3542}}});},'get'(){const _0x1ad701=_0x5c0bad;return _0xd88473['style$']['pipe']((0x0,rxjs[_0x1ad701(0x246)])(_0x470a00=>{const _0x187607=_0x1ad701;var _0x68466a;return(_0x68466a=_0x470a00[_0x187607(0x126)])===null||_0x68466a===void 0x0?void 0x0:_0x68466a[_0x187607(0x4e0)];}),(0x0,rxjs[_0x1ad701(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0xf6),_0x483446=>({'set'(_0x790ef3){const _0x2f57c6=_0x5c0bad;_0x2ccf0d[_0x2f57c6(0x3a1)]({'chartModelId':_0x483446['id'],'style':{'pie':{'borderColor':_0x790ef3}}});},'get'(){const _0x337f5b=_0x5c0bad;return _0x483446['style$'][_0x337f5b(0x12a)]((0x0,rxjs[_0x337f5b(0x246)])(_0x917d5f=>{const _0x13e0e1=_0x337f5b;var _0x1c7582;return(_0x1c7582=_0x917d5f[_0x13e0e1(0x126)])===null||_0x1c7582===void 0x0?void 0x0:_0x1c7582[_0x13e0e1(0x4e5)];}),(0x0,rxjs[_0x337f5b(0x4b1)])());}})),_0x2ccf0d['registerViewState']('radarShape',_0x191c36=>({'set'(_0x1f5ea5){const _0x5dd78c=_0x5c0bad;_0x2ccf0d[_0x5dd78c(0x3a1)]({'chartModelId':_0x191c36['id'],'style':{'radar':{'shape':_0x1f5ea5}}});},'get'(){const _0x17b218=_0x5c0bad;return _0x191c36[_0x17b218(0x2f2)][_0x17b218(0x12a)]((0x0,rxjs['map'])(_0x527f02=>{const _0xbd6f0a=_0x17b218;var _0x346066;return(_0x346066=_0x527f02[_0xbd6f0a(0x85)])===null||_0x346066===void 0x0?void 0x0:_0x346066[_0xbd6f0a(0x94)];}),(0x0,rxjs[_0x17b218(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x136),_0x4f9f6e=>({'set'(_0x45dafd){const _0xfdd7da=_0x5c0bad;_0x2ccf0d[_0xfdd7da(0x3a1)]({'chartModelId':_0x4f9f6e['id'],'style':{'radar':{'fill':_0x45dafd}}});},'get'(){const _0x5379b5=_0x5c0bad;return _0x4f9f6e[_0x5379b5(0x2f2)]['pipe']((0x0,rxjs[_0x5379b5(0x246)])(_0x81ec1b=>{const _0x63bed7=_0x5379b5;var _0x20de4a;return(_0x20de4a=_0x81ec1b[_0x63bed7(0x85)])===null||_0x20de4a===void 0x0?void 0x0:_0x20de4a[_0x63bed7(0x178)];}),(0x0,rxjs[_0x5379b5(0x4b1)])());}})),_0x2ccf0d['registerViewState'](_0x5c0bad(0x4fd),_0x2857cb=>({'set'(_0x16457e){const _0x27eee2=_0x5c0bad;_0x2ccf0d[_0x27eee2(0x3a1)]({'chartModelId':_0x2857cb['id'],'style':{'invalidValueType':_0x16457e}});},'get'(){const _0x13e4eb=_0x5c0bad;return _0x2857cb[_0x13e4eb(0x2f2)][_0x13e4eb(0x12a)]((0x0,rxjs[_0x13e4eb(0x246)])(_0xefbecd=>_0xefbecd[_0x13e4eb(0x4fd)]),(0x0,rxjs[_0x13e4eb(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('dataPointsOptions',_0x25ec1a=>{const _0x46b519=_0x5c0bad;return _0x25ec1a['config$'][_0x46b519(0x12a)]((0x0,rxjs['map'])(_0x239017=>{const _0x2e971c=_0x46b519;var _0x115f6c,_0x29bf12;const _0x5898e2=_0x239017===null||_0x239017===void 0x0||(_0x115f6c=_0x239017['category'])===null||_0x115f6c===void 0x0?void 0x0:_0x115f6c[_0x2e971c(0x1a0)];return((_0x239017===null||_0x239017===void 0x0||(_0x29bf12=_0x239017['series'][0x0])===null||_0x29bf12===void 0x0?void 0x0:_0x29bf12[_0x2e971c(0x1a0)])||[])[_0x2e971c(0x246)]((_0x1ca1da,_0x20adef)=>{const _0x477e08=_0x2e971c;return{'label':_0x5898e2&&_0x5898e2[_0x20adef]!==void 0x0?_0x5898e2[_0x20adef][_0x477e08(0x13a)]:_0x2ccf0d['t'](_0x477e08(0x3b2),''+(_0x20adef+0x1)),'value':''+_0x20adef};});}));}),_0x2ccf0d['registerViewState']('chartThemeColorType',_0x19bf26=>({'set'(_0x5abd7c){const _0x280d4d=_0x5c0bad,_0x33bcb9={'theme':_0x5abd7c},_0x25488a=_0x19bf26[_0x280d4d(0x418)][_0x280d4d(0x479)];if((_0x25488a===null||_0x25488a===void 0x0?void 0x0:_0x25488a[_0x280d4d(0x457)])!==void 0x0){var _0xb77406,_0x188336,_0x21c832;_0x33bcb9[_0x280d4d(0x479)]={'color':null};if((_0x25488a===null||_0x25488a===void 0x0||(_0xb77406=_0x25488a[_0x280d4d(0x32d)])===null||_0xb77406===void 0x0||(_0xb77406=_0xb77406['positive'])===null||_0xb77406===void 0x0?void 0x0:_0xb77406[_0x280d4d(0x457)])!==void 0x0)_0x25488a[_0x280d4d(0x32d)][_0x280d4d(0x4b3)][_0x280d4d(0x457)]=null;if((_0x25488a===null||_0x25488a===void 0x0||(_0x188336=_0x25488a['waterfall'])===null||_0x188336===void 0x0||(_0x188336=_0x188336[_0x280d4d(0x1b3)])===null||_0x188336===void 0x0?void 0x0:_0x188336[_0x280d4d(0x457)])!==void 0x0)_0x25488a[_0x280d4d(0x32d)]['negative'][_0x280d4d(0x457)]=null;if((_0x25488a===null||_0x25488a===void 0x0||(_0x21c832=_0x25488a[_0x280d4d(0x32d)])===null||_0x21c832===void 0x0||(_0x21c832=_0x21c832[_0x280d4d(0x1b8)])===null||_0x21c832===void 0x0?void 0x0:_0x21c832[_0x280d4d(0x457)])!==void 0x0)_0x25488a[_0x280d4d(0x32d)][_0x280d4d(0x1b8)][_0x280d4d(0x457)]=null;}const _0x1aaf34=_0x19bf26[_0x280d4d(0x418)]['seriesStyleMap']||{};for(const _0x23f1b5 in _0x1aaf34){var _0xfaf6ea,_0x2943a7,_0x5c4b11;if(_0x1aaf34[_0x23f1b5][_0x280d4d(0x457)]!==void 0x0)_0x33bcb9[_0x280d4d(0x32e)]={..._0x33bcb9[_0x280d4d(0x32e)],[_0x23f1b5]:{'color':null}};if(((_0xfaf6ea=_0x1aaf34[_0x23f1b5])===null||_0xfaf6ea===void 0x0||(_0xfaf6ea=_0xfaf6ea['waterfall'])===null||_0xfaf6ea===void 0x0||(_0xfaf6ea=_0xfaf6ea[_0x280d4d(0x4b3)])===null||_0xfaf6ea===void 0x0?void 0x0:_0xfaf6ea[_0x280d4d(0x457)])!==void 0x0)_0x1aaf34[_0x23f1b5]['waterfall']['positive'][_0x280d4d(0x457)]=null;if(((_0x2943a7=_0x1aaf34[_0x23f1b5])===null||_0x2943a7===void 0x0||(_0x2943a7=_0x2943a7['waterfall'])===null||_0x2943a7===void 0x0||(_0x2943a7=_0x2943a7[_0x280d4d(0x1b3)])===null||_0x2943a7===void 0x0?void 0x0:_0x2943a7[_0x280d4d(0x457)])!==void 0x0)_0x1aaf34[_0x23f1b5][_0x280d4d(0x32d)][_0x280d4d(0x1b3)][_0x280d4d(0x457)]=null;if(((_0x5c4b11=_0x1aaf34[_0x23f1b5])===null||_0x5c4b11===void 0x0||(_0x5c4b11=_0x5c4b11[_0x280d4d(0x32d)])===null||_0x5c4b11===void 0x0||(_0x5c4b11=_0x5c4b11[_0x280d4d(0x1b8)])===null||_0x5c4b11===void 0x0?void 0x0:_0x5c4b11[_0x280d4d(0x457)])!==void 0x0)_0x1aaf34[_0x23f1b5]['waterfall'][_0x280d4d(0x1b8)][_0x280d4d(0x457)]=null;}_0x2ccf0d[_0x280d4d(0x3a1)]({'chartModelId':_0x19bf26['id'],'style':_0x33bcb9});},'get'(){const _0x392a41=_0x5c0bad;return _0x19bf26[_0x392a41(0x2f2)][_0x392a41(0x12a)]((0x0,rxjs[_0x392a41(0x246)])(_0x26ac54=>_0x26ac54['theme']||'default'));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x2df),_0x3124c7=>({'set'(_0x364ff8){const _0x3a6988=_0x5c0bad;_0x2ccf0d[_0x3a6988(0x3a1)]({'chartModelId':_0x3124c7['id'],'style':{'titles':{'titlePosition':_0x364ff8}}});},'get'(){const _0x3e2043=_0x5c0bad;return _0x3124c7[_0x3e2043(0x2f2)][_0x3e2043(0x12a)]((0x0,rxjs['map'])(_0x3f7795=>{const _0x271330=_0x3e2043;var _0x225602;return((_0x225602=_0x3f7795[_0x271330(0x455)])===null||_0x225602===void 0x0?void 0x0:_0x225602[_0x271330(0x2df)])||void 0x0;}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('bubbleSizeSeriesId',_0x2876e0=>({'set'(_0x1e8a21){const _0x1e8f5e=_0x5c0bad;_0x2ccf0d[_0x1e8f5e(0x3a1)]({'chartModelId':_0x2876e0['id'],'context':{'bubbleSizeSeriesId':_0x1e8a21}});},'get'(){const _0x35dbe2=_0x5c0bad;return _0x2876e0['context$'][_0x35dbe2(0x12a)]((0x0,rxjs[_0x35dbe2(0x246)])(_0x496b45=>_0x496b45[_0x35dbe2(0x32f)]||void 0x0));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4f5),_0xd26cce=>({'set'(_0x14f1fc){const _0x2a5de3=_0x5c0bad;_0x2ccf0d[_0x2a5de3(0x3a1)]({'chartModelId':_0xd26cce['id'],'context':{'bubbleXAxis':_0x14f1fc}});},'get'(){const _0x55d99d=_0x5c0bad;return _0xd26cce[_0x55d99d(0x4bc)][_0x55d99d(0x12a)]((0x0,rxjs[_0x55d99d(0x246)])(_0x56daaf=>{var _0x4bdec8;return(_0x4bdec8=_0x56daaf['bubbleXAxis'])!==null&&_0x4bdec8!==void 0x0?_0x4bdec8:void 0x0;}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x3d8),_0x37983c=>({'set'(_0x1c5519){const _0xfad244=_0x5c0bad;_0x2ccf0d[_0xfad244(0x3a1)]({'chartModelId':_0x37983c['id'],'context':{'bubbleYAxis':_0x1c5519}});},'get'(){const _0x53dd57=_0x5c0bad;return _0x37983c[_0x53dd57(0x4bc)]['pipe']((0x0,rxjs[_0x53dd57(0x246)])(_0x4332b4=>{var _0x4ed41e;return(_0x4ed41e=_0x4332b4['bubbleYAxis'])!==null&&_0x4ed41e!==void 0x0?_0x4ed41e:void 0x0;}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0xd5),_0x2d94a0=>({'set'(_0x28cadf){const _0xc483f1=_0x5c0bad;_0x2ccf0d[_0xc483f1(0x3a1)]({'chartModelId':_0x2d94a0['id'],'context':{'bubbleLabel':_0x28cadf}});},'get'(){const _0x36b573=_0x5c0bad;return _0x2d94a0[_0x36b573(0x4bc)][_0x36b573(0x12a)]((0x0,rxjs[_0x36b573(0x246)])(_0x3b402e=>{var _0x50226d;return(_0x50226d=_0x3b402e['bubbleLabel'])!==null&&_0x50226d!==void 0x0?_0x50226d:void 0x0;}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('bubbleSeries',_0x3a0b8f=>({'set'(_0x5dd258){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x3a0b8f['id'],'context':{'bubbleSeries':_0x5dd258}});},'get'(){const _0x21a7dc=_0x5c0bad;return _0x3a0b8f[_0x21a7dc(0x4bc)][_0x21a7dc(0x12a)]((0x0,rxjs[_0x21a7dc(0x246)])(_0x59ba5a=>{const _0x4d6565=_0x21a7dc;var _0x24ebda;return(_0x24ebda=_0x59ba5a[_0x4d6565(0xe9)])!==null&&_0x24ebda!==void 0x0?_0x24ebda:void 0x0;}));}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x1bc),_0x52f757=>({'set'(_0x419f88){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x52f757['id'],'style':{'relation':{'layout':_0x419f88}}});},'get'(){const _0x2e9517=_0x5c0bad;return _0x52f757[_0x2e9517(0x2f2)][_0x2e9517(0x12a)]((0x0,rxjs['map'])(_0x469eef=>{const _0x77c2fd=_0x2e9517;var _0x12ace2;return(_0x12ace2=_0x469eef[_0x77c2fd(0x42e)])===null||_0x12ace2===void 0x0?void 0x0:_0x12ace2[_0x77c2fd(0x3b0)];}),(0x0,rxjs[_0x2e9517(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0xa0),_0x50ece5=>({'set'(_0x68251f){const _0x38d141=_0x5c0bad;_0x2ccf0d[_0x38d141(0x3a1)]({'chartModelId':_0x50ece5['id'],'style':{'relation':{'useValueAsSymbolSize':Boolean(_0x68251f)}}});},'get'(){const _0x1a8a0e=_0x5c0bad;return _0x50ece5[_0x1a8a0e(0x2f2)][_0x1a8a0e(0x12a)]((0x0,rxjs[_0x1a8a0e(0x246)])(_0x387cb8=>{const _0x2c095a=_0x1a8a0e;var _0x49fbb7;return(_0x49fbb7=_0x387cb8[_0x2c095a(0x42e)])===null||_0x49fbb7===void 0x0?void 0x0:_0x49fbb7['useValueAsSymbolSize'];}),(0x0,rxjs[_0x1a8a0e(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x4be),_0x44959f=>({'set'(_0x1dd78d){const _0x5a281a=_0x5c0bad;_0x2ccf0d[_0x5a281a(0x3a1)]({'chartModelId':_0x44959f['id'],'style':{'relation':{'force':_0x1dd78d}}});},'get'(){const _0x5e4e48=_0x5c0bad;return _0x44959f[_0x5e4e48(0x2f2)][_0x5e4e48(0x12a)]((0x0,rxjs[_0x5e4e48(0x246)])(_0x5ab044=>{const _0x33feda=_0x5e4e48;var _0x15b73e;return(_0x15b73e=_0x5ab044['relation'])===null||_0x15b73e===void 0x0?void 0x0:_0x15b73e[_0x33feda(0xcd)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x1c7),_0x339a11=>({'set'(_0x1d0595){const _0x5b8841=_0x5c0bad;_0x2ccf0d[_0x5b8841(0x3a1)]({'chartModelId':_0x339a11['id'],'style':{'relation':{'circular':{'rotateLabel':Boolean(_0x1d0595)}}}});},'get'(){const _0x1fc253=_0x5c0bad;return _0x339a11[_0x1fc253(0x2f2)][_0x1fc253(0x12a)]((0x0,rxjs['map'])(_0x8acfc1=>{const _0x1fd1db=_0x1fc253;var _0xeacab3;return(_0xeacab3=_0x8acfc1[_0x1fd1db(0x42e)])===null||_0xeacab3===void 0x0||(_0xeacab3=_0xeacab3['circular'])===null||_0xeacab3===void 0x0?void 0x0:_0xeacab3['rotateLabel'];}),(0x0,rxjs[_0x1fc253(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('relationNodeShape',_0x25c34e=>({'set'(_0x2be042){const _0x21df22=_0x5c0bad;_0x2ccf0d[_0x21df22(0x3a1)]({'chartModelId':_0x25c34e['id'],'style':{'relation':{'nodeShape':_0x2be042}}});},'get'(){const _0x33c0f1=_0x5c0bad;return _0x25c34e['style$']['pipe']((0x0,rxjs[_0x33c0f1(0x246)])(_0x3dcdaf=>{const _0x21a361=_0x33c0f1;var _0x555292;return(_0x555292=_0x3dcdaf[_0x21a361(0x42e)])===null||_0x555292===void 0x0?void 0x0:_0x555292[_0x21a361(0x533)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('useEmphasis',_0x4db0ff=>({'set'(_0x54c8c4){const _0x582e18=_0x5c0bad;_0x2ccf0d[_0x582e18(0x3a1)]({'chartModelId':_0x4db0ff['id'],'style':{'relation':{'useEmphasis':Boolean(_0x54c8c4)}}});},'get'(){const _0x5dbeb9=_0x5c0bad;return _0x4db0ff[_0x5dbeb9(0x2f2)][_0x5dbeb9(0x12a)]((0x0,rxjs[_0x5dbeb9(0x246)])(_0x2fd6a9=>{const _0x4bbca3=_0x5dbeb9;var _0x22ec5b;return(_0x22ec5b=_0x2fd6a9[_0x4bbca3(0x42e)])===null||_0x22ec5b===void 0x0?void 0x0:_0x22ec5b[_0x4bbca3(0x2ac)];}),(0x0,rxjs[_0x5dbeb9(0x4b1)])());}})),_0x2ccf0d['registerViewState'](_0x5c0bad(0xdf),_0x368b81=>({'set'(_0x36eaef){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x368b81['id'],'context':{'useDateAxis':Boolean(_0x36eaef)}});},'get'(){const _0x265e73=_0x5c0bad;return _0x368b81[_0x265e73(0x4bc)][_0x265e73(0x12a)]((0x0,rxjs[_0x265e73(0x246)])(_0x11df4f=>_0x11df4f[_0x265e73(0xdf)]),(0x0,rxjs[_0x265e73(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x26f),_0x3ff20c=>({'set'(_0x478458){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x3ff20c['id'],'style':{'waterfall':{'stackType':_0x478458}}});},'get'(){const _0x460015=_0x5c0bad;return _0x3ff20c[_0x460015(0x2f2)][_0x460015(0x12a)]((0x0,rxjs[_0x460015(0x246)])(_0x10b215=>{var _0x1fc699;return(_0x1fc699=_0x10b215['waterfall'])===null||_0x1fc699===void 0x0?void 0x0:_0x1fc699['stackType'];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('useSubtotal',_0x2e136d=>({'set'(_0x141db7){const _0x290fd2=_0x5c0bad;_0x2ccf0d[_0x290fd2(0x3a1)]({'chartModelId':_0x2e136d['id'],'style':{'waterfall':{'useSubtotal':_0x141db7}}});},'get'(){const _0x257738=_0x5c0bad;return _0x2e136d[_0x257738(0x2f2)][_0x257738(0x12a)]((0x0,rxjs[_0x257738(0x246)])(_0x48b4e8=>{const _0x410c44=_0x257738;var _0x1a7e43;return(_0x1a7e43=_0x48b4e8['waterfall'])===null||_0x1a7e43===void 0x0?void 0x0:_0x1a7e43[_0x410c44(0xcb)];}),(0x0,rxjs[_0x257738(0x4b1)])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('paretoStyle',_0x20152f=>({'set'(_0x210b03){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x20152f['id'],'style':{'pareto':_0x210b03}});},'get'(){const _0x49c177=_0x5c0bad;return _0x20152f[_0x49c177(0x2f2)][_0x49c177(0x12a)]((0x0,rxjs[_0x49c177(0x246)])(_0x1f6f07=>_0x1f6f07['pareto']),(0x0,rxjs[_0x49c177(0x4b1)])());}})),_0x2ccf0d['registerViewState'](_0x5c0bad(0x2cd),_0x284b8d=>{const _0x167cd9=_0x5c0bad;return _0x284b8d[_0x167cd9(0x3cd)][_0x167cd9(0x12a)]((0x0,rxjs[_0x167cd9(0x246)])(_0x1610e6=>{const _0x51c8fc=_0x167cd9;var _0xfaba10;const _0x54aab1=_0x1610e6===null||_0x1610e6===void 0x0||(_0xfaba10=_0x1610e6[_0x51c8fc(0x409)])===null||_0xfaba10===void 0x0?void 0x0:_0xfaba10[_0x51c8fc(0x1a0)],_0x361d1b=new Map();return _0x1610e6===null||_0x1610e6===void 0x0||_0x1610e6[_0x51c8fc(0x14d)][0x0]['items'][_0x51c8fc(0x3e3)]((_0x244396,_0x1cd376)=>{const _0x1b4a39=_0x51c8fc,_0x167454=_0x54aab1?String(_0x54aab1[_0x1cd376][_0x1b4a39(0x3ce)]):_0x2ccf0d['t'](_0x1b4a39(0x3b2),''+(_0x1cd376+0x1));if(!_0x361d1b[_0x1b4a39(0x46b)](_0x167454))_0x361d1b[_0x1b4a39(0x9f)](_0x167454,_0x244396[_0x1b4a39(0x3ce)]);}),Array[_0x51c8fc(0x1fb)](_0x361d1b['entries']())['filter'](_0x33d3bd=>_0x33d3bd[0x1]>0x0)[_0x51c8fc(0x50c)]((_0x454969,_0x4d2e89)=>_0x4d2e89[0x1]-_0x454969[0x1])['map']((_0x399e4c,_0x1ceb13)=>{return{'label':_0x399e4c[0x0]||_0x2ccf0d['t']('chart.theIndexItem',''+(_0x1ceb13+0x1)),'value':''+_0x1ceb13};});}));}),_0x2ccf0d[_0x5c0bad(0x2f0)](_0x5c0bad(0x36e),_0x20283b=>({'set'(_0x3b596d){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x20283b['id'],'style':{'heatmap':{'visualMapType':_0x3b596d}}});},'get'(){const _0x46a09f=_0x5c0bad;return _0x20283b[_0x46a09f(0x2f2)][_0x46a09f(0x12a)]((0x0,rxjs[_0x46a09f(0x246)])(_0x1f2ada=>{const _0x47d1c6=_0x46a09f;var _0x29fe7f;return(_0x29fe7f=_0x1f2ada[_0x47d1c6(0x526)])===null||_0x29fe7f===void 0x0?void 0x0:_0x29fe7f[_0x47d1c6(0x36e)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d[_0x5c0bad(0x2f0)]('heatmapMax',_0x3caea6=>({'set'(_0x527e76){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x3caea6['id'],'style':{'heatmap':{'max':_0x527e76}}});},'get'(){const _0x436e24=_0x5c0bad;return _0x3caea6[_0x436e24(0x2f2)][_0x436e24(0x12a)]((0x0,rxjs[_0x436e24(0x246)])(_0x3ef5e9=>{const _0x4df28a=_0x436e24;var _0x21b2d0;return(_0x21b2d0=_0x3ef5e9[_0x4df28a(0x526)])===null||_0x21b2d0===void 0x0?void 0x0:_0x21b2d0[_0x4df28a(0x11c)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x2ccf0d['registerViewState']('heatmapMin',_0x1570d9=>({'set'(_0x403cff){_0x2ccf0d['executeChartUpdateConfig']({'chartModelId':_0x1570d9['id'],'style':{'heatmap':{'min':_0x403cff}}});},'get'(){const _0x43e556=_0x5c0bad;return _0x1570d9[_0x43e556(0x2f2)][_0x43e556(0x12a)]((0x0,rxjs[_0x43e556(0x246)])(_0x12cd2d=>{const _0x1b69b3=_0x43e556;var _0x43a402;return(_0x43a402=_0x12cd2d[_0x1b69b3(0x526)])===null||_0x43a402===void 0x0?void 0x0:_0x43a402[_0x1b69b3(0x447)];}),(0x0,rxjs[_0x43e556(0x4b1)])());}}));}let SheetsChartUIService=class SheetsChartUIService extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x27e6b2,_0x163162,_0x1454e3,_0x358588,_0x96c527,_0x63e2ac){const _0x3a45e6=_0x1d8fa5;super(),this['_chartModelService']=_0x27e6b2,this[_0x3a45e6(0x43a)]=_0x163162,this['_commandService']=_0x1454e3,this[_0x3a45e6(0x24c)]=_0x358588,this[_0x3a45e6(0x171)]=_0x96c527,this['_univerInstanceService']=_0x63e2ac,_defineProperty(this,_0x3a45e6(0x294),new Map()),_defineProperty(this,_0x3a45e6(0xa2),![]),registryChartConfigState(this);}get[_0x1d8fa5(0x47a)](){return this['_chartModelService']['activeChartModel'];}get[_0x1d8fa5(0x516)](){const _0x44df3b=_0x1d8fa5;return this[_0x44df3b(0xa2)];}set['rangeSelectMode'](_0x4f4c50){const _0x588614=_0x1d8fa5;this[_0x588614(0xa2)]=_0x4f4c50;}[_0x1d8fa5(0x35b)](_0x392b10){const _0x587956=_0x1d8fa5;return this[_0x587956(0x43a)][_0x587956(0x4a4)](_0x392b10);}[_0x1d8fa5(0x2f0)](_0x39b015,_0x4ee85d){const _0x21bb9d=_0x1d8fa5;this[_0x21bb9d(0x294)]['set'](_0x39b015,_0x4ee85d);}[_0x1d8fa5(0x3a0)](_0x4a49c4){const _0x2f8d41=_0x1d8fa5,{activeChartModel:_0xc1405e}=this[_0x2f8d41(0x3a3)];if(!_0xc1405e)return;const _0x2e3917=this[_0x2f8d41(0x294)]['get'](_0x4a49c4);if(_0x2e3917)return _0x2e3917(_0xc1405e);}[_0x1d8fa5(0x3a1)](_0x1bd6ea){const _0x4a9e6e=_0x1d8fa5;var _0x12e3f6,_0x1a3567;this[_0x4a9e6e(0xf3)]['executeCommand'](_univerjs_pro_sheets_chart[_0x4a9e6e(0x10c)]['id'],{..._0x1bd6ea,'unitId':(_0x12e3f6=(_0x1a3567=this[_0x4a9e6e(0x423)]['getFocusedUnit']())===null||_0x1a3567===void 0x0?void 0x0:_0x1a3567['getUnitId']())!==null&&_0x12e3f6!==void 0x0?_0x12e3f6:''});}[_0x1d8fa5(0x49d)](_0x3c8ea6){const _0x516e04=_0x1d8fa5;var _0x50b86c,_0x502d88;this[_0x516e04(0xf3)][_0x516e04(0xb3)](_univerjs_pro_sheets_chart[_0x516e04(0x232)]['id'],{..._0x3c8ea6,'unitId':(_0x50b86c=(_0x502d88=this[_0x516e04(0x423)]['getFocusedUnit']())===null||_0x502d88===void 0x0?void 0x0:_0x502d88[_0x516e04(0x4d9)]())!==null&&_0x50b86c!==void 0x0?_0x50b86c:''});}[_0x1d8fa5(0xef)](_0x1b4f1e){const _0x4c6679=_0x1d8fa5,{_viewState:_0x2406b6}=this;if(_0x2406b6['has'](_0x1b4f1e))_0x2406b6[_0x4c6679(0x442)](_0x1b4f1e);}[_0x1d8fa5(0x20f)](_0x444b2f,_0x364f92){const _0x58d850=_0x1d8fa5;this[_0x58d850(0x171)][_0x58d850(0x371)](_0x444b2f,{'stroke':_0x364f92});}['t'](..._0x256c7d){const _0x21c09f=_0x1d8fa5;return this[_0x21c09f(0x24c)]['t'](..._0x256c7d);}[_0x1d8fa5(0x311)](){const _0x37418c=_0x1d8fa5;super[_0x37418c(0x311)](),this[_0x37418c(0x294)][_0x37418c(0x4f1)]();}};SheetsChartUIService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x397)])),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x338)])),__decorateParam(0x2,_univerjs_core[_0x1d8fa5(0x91)]),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_core[_0x1d8fa5(0x1ed)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(IChartHostProviderService)),__decorateParam(0x5,_univerjs_core['IUniverInstanceService'])],SheetsChartUIService);function useSheetsChartUIService(){const _0x471708=_0x1d8fa5,_0x1285e5=(0x0,_univerjs_ui[_0x471708(0x515)])(SheetsChartUIService);return(0x0,_univerjs_ui[_0x471708(0x21d)])((0x0,_univerjs_ui['useDependency'])(_univerjs_pro_sheets_chart['ChartModelService'])[_0x471708(0xbd)]),_0x1285e5;}function useChartConfigState(_0x1064c3,_0x475cc5,_0x5549b9){const _0x4be52c=_0x1d8fa5,_0x2ad980=(0x0,react[_0x4be52c(0x389)])(()=>_0x475cc5['getViewState'](_0x1064c3),[_0x475cc5,_0x475cc5['activeChartModel'],_0x1064c3]);return[(0x0,_univerjs_ui[_0x4be52c(0x21d)])((0x0,react[_0x4be52c(0x389)])(()=>_0x2ad980 instanceof rxjs[_0x4be52c(0x3c8)]?_0x2ad980:_0x2ad980===null||_0x2ad980===void 0x0?void 0x0:_0x2ad980[_0x4be52c(0xed)](),[_0x2ad980]),_0x5549b9),(0x0,react['useCallback'])(_0x41f3b1=>{const _0x2543f2=_0x4be52c;if(!(_0x2ad980 instanceof rxjs['Observable'])){var _0x41ec7a;_0x2ad980===null||_0x2ad980===void 0x0||(_0x41ec7a=_0x2ad980[_0x2543f2(0x9f)])===null||_0x41ec7a===void 0x0||_0x41ec7a[_0x2543f2(0xff)](_0x2ad980,_0x41f3b1);}},[_0x2ad980])];}function serializeChartDataRange(_0x26796f,_0x1c458a){const _0x189636=_0x1d8fa5;if(_0x26796f===null||_0x26796f===void 0x0)return'';if(Array[_0x189636(0x436)](_0x26796f))return'';else return serializeChartDataRangeItem(_0x26796f[_0x189636(0x9b)],_0x1c458a);}function serializeChartDataRangeItem(_0x120c72,_0x3666a8){const _0x3fe744=_0x1d8fa5;var _0x2dda7b;const {unitId:_0x54c62b,subUnitId:_0x168720,range:_0x4ace0b}=_0x120c72,_0x2e80f9=(_0x2dda7b=_0x3666a8[_0x3fe744(0x39a)](_0x54c62b))===null||_0x2dda7b===void 0x0?void 0x0:_0x2dda7b[_0x3fe744(0x477)](_0x168720);if(!_0x2e80f9)return'';return(0x0,_univerjs_engine_formula[_0x3fe744(0x431)])(_0x2e80f9[_0x3fe744(0x80)](),_0x4ace0b);}const chartTypeOptions=[{'label':_0x1d8fa5(0x183),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x4a3)],'icon':_0x1d8fa5(0x17b)},{'label':_0x1d8fa5(0x411),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x29b)],'icon':_0x1d8fa5(0x9a)},{'label':_0x1d8fa5(0xfd),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['Pie'],'icon':_0x1d8fa5(0x305)},{'label':_0x1d8fa5(0x16c),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x51d)],'icon':_0x1d8fa5(0x490)},{'label':_0x1d8fa5(0x434),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['BarStacked'],'icon':_0x1d8fa5(0x490)},{'label':_0x1d8fa5(0x41c),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x2c5)],'icon':_0x1d8fa5(0x490)},{'label':_0x1d8fa5(0x187),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x52f)],'icon':_0x1d8fa5(0x305)},{'label':_0x1d8fa5(0x1dc),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x401)],'icon':_0x1d8fa5(0x4c4)},{'label':_0x1d8fa5(0x3bb),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['AreaStacked'],'icon':_0x1d8fa5(0x4c4)},{'label':_0x1d8fa5(0x4a6),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x511)],'icon':'AreaChartIcon'},{'label':'chartTypes.radar','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x16f)],'icon':_0x1d8fa5(0x3b5)},{'label':'chartTypes.combination','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x369)],'icon':_0x1d8fa5(0xda)},{'label':_0x1d8fa5(0x4ac),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x1a5)],'icon':_0x1d8fa5(0x186)},{'label':_0x1d8fa5(0x293),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x47b)],'icon':'CloudIcon'},{'label':'chartTypes.funnel','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x44e)],'icon':_0x1d8fa5(0x198)},{'label':_0x1d8fa5(0x184),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0xe6)],'icon':_0x1d8fa5(0x15e)},{'label':_0x1d8fa5(0x1bd),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x2fe)],'icon':'RelationshipIcon'},{'label':_0x1d8fa5(0x2b7),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x297)],'icon':_0x1d8fa5(0x2e6)},{'label':'chartTypes.pareto','value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x3a7)],'icon':_0x1d8fa5(0xda)},{'label':_0x1d8fa5(0x360),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0xa5)],'icon':_0x1d8fa5(0x488)},{'label':_0x1d8fa5(0x4cb),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x207)],'icon':_0x1d8fa5(0x441)},{'label':_0x1d8fa5(0x39e),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x25d)],'icon':_0x1d8fa5(0x310)}];function getChartMenuSelection(){return chartTypeOptions;}const getOptionsList=(_0x24cf24,_0x3ca9f4)=>{const _0x15f9f3=_0x1d8fa5;if(_0x3ca9f4['length']===0x1&&_0x3ca9f4[0x0]===_0x15f9f3(0x3c7))return _0x24cf24;if(_0x3ca9f4[_0x15f9f3(0x451)]>0x1){const _0x4834d7=new Set();for(const _0x3d21e1 of _0x3ca9f4)_0x4834d7[_0x15f9f3(0x363)](Number(_0x3d21e1));return _0x24cf24[_0x15f9f3(0x4de)](_0x595c4a=>{const _0x8f7388=_0x15f9f3;return _0x4834d7[_0x8f7388(0x46b)](_0x595c4a['value']);});}return[];},defaultOption={'label':'chart.default','value':_0x1d8fa5(0x269)},chartTypeToIcon={[_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x4a3)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x17b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x29b)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['ColumnChartIcon'],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x51d)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x1d8fa5(0x490)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['BarStacked']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x490)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x2c5)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['BarChartIcon'],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['Pie']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x1d8fa5(0x305)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x52f)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons['PieChartIcon'],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x401)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x4c4)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['AreaStacked']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons['AreaChartIcon'],{}),[_univerjs_pro_engine_chart['ChartTypeBits']['AreaPercentStacked']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons['AreaChartIcon'],{}),[_univerjs_pro_engine_chart['ChartTypeBits']['Radar']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x3b5)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x369)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0xda)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x1a5)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x186)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0xf5)]]:void 0x0,[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x98)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x9a)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x252)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x9a)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x47b)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x4b5)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['Funnel']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x198)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0xe6)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x15e)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x2fe)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x37f)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x297)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x2e6)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['Pareto']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons['ComboChartIcon'],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0xa5)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x121)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x207)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x2a0)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['Boxplot']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons['BoxplotIcon'],{})},seriesChartTypeOptions=chartTypeOptions[_0x1d8fa5(0x4de)](_0x4d387b=>{const _0x4e3814=_0x1d8fa5;return[_univerjs_pro_engine_chart[_0x4e3814(0x14e)][_0x4e3814(0x4a3)],_univerjs_pro_engine_chart[_0x4e3814(0x14e)][_0x4e3814(0x29b)],_univerjs_pro_engine_chart[_0x4e3814(0x14e)][_0x4e3814(0x401)]][_0x4e3814(0x246)](_0x742790=>String(_0x742790))['includes'](String(_0x4d387b[_0x4e3814(0x3ce)]));})[_0x1d8fa5(0x246)](({label:_0x39a2af,value:_0x412b46})=>{return{'label':_0x39a2af,'value':String(_0x412b46)};}),titleOptions=[{'label':_0x1d8fa5(0x521),'value':_0x1d8fa5(0x1b0)},{'label':'chart.titles.xAxisTitle','value':_0x1d8fa5(0x1a7)},{'label':_0x1d8fa5(0x4c9),'value':_0x1d8fa5(0x231)},{'label':_0x1d8fa5(0x23f),'value':_0x1d8fa5(0x1b2)}],fontSizeOptions=[{'label':'10','value':'10'},{'label':'12','value':'12'},{'label':'14','value':'14'},{'label':'16','value':'16'},{'label':'18','value':'18'},{'label':'20','value':'20'},{'label':'24','value':'24'},{'label':'30','value':'30'},{'label':'36','value':'36'}],textAlignOptions=[{'label':_0x1d8fa5(0x1fe),'value':_0x1d8fa5(0x169)},{'label':_0x1d8fa5(0x12f),'value':'center'},{'label':'chart.align.right','value':_0x1d8fa5(0x417)}];function getAllSeriesOption(){const _0x1499a9=_0x1d8fa5;return{'label':_0x1499a9(0xd3),'value':_univerjs_pro_engine_chart[_0x1499a9(0x4cc)][_0x1499a9(0x3eb)]};}const lineOpacityOptions=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0][_0x1d8fa5(0x246)](_0x472370=>({'label':_0x472370*0x64+'%','value':String(_0x472370)})),borderDashTypeOptions=[{'label':'chart.dashType.solid','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x46a)][_0x1d8fa5(0x4e2)]},{'label':'chart.dashType.dash','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x46a)][_0x1d8fa5(0x420)]},{'label':_0x1d8fa5(0x1cd),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x46a)][_0x1d8fa5(0x2ec)]}],linePointShapeOptions=[{'label':'chart.shape.circle','value':_univerjs_pro_engine_chart['LinePointShape'][_0x1d8fa5(0x245)]},{'label':'chart.shape.square','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x44d)]},{'label':'chart.shape.triangle','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x33d)]},{'label':_0x1d8fa5(0x2fa),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)]['Diamond']},{'label':_0x1d8fa5(0x30c),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x43e)]},{'label':_0x1d8fa5(0x385),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x1d8fa5(0x134)]},{'label':_0x1d8fa5(0x39f),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x1d8fa5(0x31b)]},{'label':_0x1d8fa5(0x292),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x47c)]},{'label':'chart.shape.none','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0xf5)]},{'label':_0x1d8fa5(0x1e7),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x324)]},{'label':_0x1d8fa5(0x52d),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)]['EmptySquare']},{'label':_0x1d8fa5(0x49b),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x462)]},{'label':_0x1d8fa5(0x37c),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x2e8)][_0x1d8fa5(0x396)]},{'label':'chart.shape.emptyRect','value':_univerjs_pro_engine_chart['LinePointShape'][_0x1d8fa5(0x2de)]},{'label':'chart.shape.emptyRoundRect','value':_univerjs_pro_engine_chart['LinePointShape'][_0x1d8fa5(0x4ce)]},{'label':_0x1d8fa5(0x3db),'value':_univerjs_pro_engine_chart['LinePointShape']['EmptyPin']},{'label':_0x1d8fa5(0x95),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x1d8fa5(0x1db)]}],linePointSizeOptions=[0x0,0x2,0x5,0x7,0xa,0xe]['map'](_0x4be448=>({'label':_0x4be448+'px','value':String(_0x4be448)})),borderWidthOptions=[0x0,0x1,0x2,0x4,0x8][_0x1d8fa5(0x246)](_0x5bdacc=>({'label':_0x5bdacc+'px','value':String(_0x5bdacc)})),axisLabelRotateOptions=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a]['map'](_0x6c8e81=>({'label':_0x6c8e81+'°','value':String(_0x6c8e81)})),trendlineTypeOptions=[{'label':_0x1d8fa5(0xf4),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)][_0x1d8fa5(0x31c)]},{'label':_0x1d8fa5(0x380),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)]['exp']},{'label':_0x1d8fa5(0x518),'value':_univerjs_pro_engine_chart['ChartTrendlineType'][_0x1d8fa5(0x41b)]},{'label':_0x1d8fa5(0x358),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)][_0x1d8fa5(0x407)]},{'label':_0x1d8fa5(0x4ef),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)]['movingAvg']},{'label':_0x1d8fa5(0xb5),'value':_univerjs_pro_engine_chart['ChartTrendlineType']['poly']}],trendlineToIcon={[_univerjs_pro_engine_chart['ChartTrendlineType'][_0x1d8fa5(0x31c)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x1d8fa5(0x344)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)]['exp']]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x312)],{}),[_univerjs_pro_engine_chart['ChartTrendlineType'][_0x1d8fa5(0x41b)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x1d9)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)][_0x1d8fa5(0x407)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons['PowerLineIcon'],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)][_0x1d8fa5(0x25f)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x1d8fa5(0x26d)],{}),[_univerjs_pro_engine_chart[_0x1d8fa5(0x4db)][_0x1d8fa5(0x3b1)]]:(0x0,react_jsx_runtime[_0x1d8fa5(0x339)])(_univerjs_icons[_0x1d8fa5(0x191)],{})},trendlineOrderOptions=[0x2,0x3,0x4,0x5,0x6][_0x1d8fa5(0x246)](_0x56fc9b=>({'label':''+_0x56fc9b,'value':String(_0x56fc9b)})),dataLabelPositionOptions=[_univerjs_pro_engine_chart['SeriesLabelPosition'][_0x1d8fa5(0x27b)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2d2)][_0x1d8fa5(0x47d)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2d2)][_0x1d8fa5(0x386)],_univerjs_pro_engine_chart['SeriesLabelPosition'][_0x1d8fa5(0x467)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2d2)][_0x1d8fa5(0x8c)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2d2)][_0x1d8fa5(0x3c3)]][_0x1d8fa5(0x246)](_0x2f8f9b=>({'label':'chart.positionType.'+_0x2f8f9b,'value':_0x2f8f9b})),pieDataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x1d8fa5(0x13b)][_0x1d8fa5(0x47d)],_univerjs_pro_engine_chart[_0x1d8fa5(0x13b)][_0x1d8fa5(0x36a)]][_0x1d8fa5(0x246)](_0xf2c6a5=>({'label':'chart.positionType.'+_0xf2c6a5,'value':_0xf2c6a5})),legendLabelPositionOptions=[_univerjs_pro_engine_chart['LegendPositionEnum']['Top'],_univerjs_pro_engine_chart['LegendPositionEnum'][_0x1d8fa5(0x3c3)],_univerjs_pro_engine_chart[_0x1d8fa5(0x3bd)][_0x1d8fa5(0x386)],_univerjs_pro_engine_chart['LegendPositionEnum'][_0x1d8fa5(0x467)],_univerjs_pro_engine_chart[_0x1d8fa5(0x3bd)][_0x1d8fa5(0x15b)]][_0x1d8fa5(0x246)](_0x160931=>({'label':'chart.positionType.'+_0x160931,'value':_0x160931})),legendSelectModeOptions=[_univerjs_pro_engine_chart[_0x1d8fa5(0x2f6)][_0x1d8fa5(0x4a0)],_univerjs_pro_engine_chart['SelectModeEnum'][_0x1d8fa5(0x102)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2f6)][_0x1d8fa5(0x48d)]][_0x1d8fa5(0x246)](_0x4c3066=>({'label':_0x1d8fa5(0x271)+_0x4c3066,'value':_0x4c3066})),legendVisualMapTypeOptions=[_0x1d8fa5(0x282),'piecewise'][_0x1d8fa5(0x246)](_0x3be460=>({'label':_0x1d8fa5(0x30f)+_0x3be460,'value':_0x3be460})),titlePositionOptions=[_univerjs_pro_engine_chart[_0x1d8fa5(0x2c6)][_0x1d8fa5(0x8c)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2c6)][_0x1d8fa5(0x3c3)],_univerjs_pro_engine_chart['TitlePositionEnum'][_0x1d8fa5(0x386)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2c6)][_0x1d8fa5(0x467)],_univerjs_pro_engine_chart[_0x1d8fa5(0x2c6)]['Hide']][_0x1d8fa5(0x246)](_0x172f77=>({'label':_0x1d8fa5(0xe2)+_0x172f77,'value':_0x172f77})),axisTitlePositionOptions=[_univerjs_pro_engine_chart[_0x1d8fa5(0x510)][_0x1d8fa5(0x2bf)],_univerjs_pro_engine_chart[_0x1d8fa5(0x510)]['Center'],_univerjs_pro_engine_chart['AxisAlignEnum'][_0x1d8fa5(0x1e2)]][_0x1d8fa5(0x246)](_0x2a89bb=>({'label':'chart.axisPositionType.'+_0x2a89bb,'value':_0x2a89bb})),titlePositionXOptions=[_univerjs_pro_engine_chart[_0x1d8fa5(0x34f)][_0x1d8fa5(0x386)],_univerjs_pro_engine_chart[_0x1d8fa5(0x34f)][_0x1d8fa5(0x250)],_univerjs_pro_engine_chart['TextAlign'][_0x1d8fa5(0x467)]]['map'](_0x5acd2d=>({'label':'chart.align.'+_0x5acd2d,'value':_0x5acd2d})),titlePositionYOptions=[_univerjs_pro_engine_chart[_0x1d8fa5(0x413)][_0x1d8fa5(0x8c)],_univerjs_pro_engine_chart[_0x1d8fa5(0x413)][_0x1d8fa5(0x471)],_univerjs_pro_engine_chart[_0x1d8fa5(0x413)][_0x1d8fa5(0x3c3)]][_0x1d8fa5(0x246)](_0x3bebbf=>({'label':_0x1d8fa5(0x277)+_0x3bebbf,'value':_0x3bebbf})),axisListOptions=[{'value':'xAxis','label':_0x1d8fa5(0xae)},{'value':_0x1d8fa5(0x3a6),'label':_0x1d8fa5(0x308)},{'value':_0x1d8fa5(0x3d3),'label':'chart.axes.rightAxis'}],tickThicknessOptions=[0x1,0x2,0x3]['map'](_0x14bfd1=>({'label':_0x14bfd1+'px','value':String(_0x14bfd1)})),stackTypeOptions=[{'label':'chart.none','value':''},{'label':_0x1d8fa5(0x350),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x40a)][_0x1d8fa5(0x452)]},{'label':_0x1d8fa5(0x17f),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x40a)][_0x1d8fa5(0xec)]}],areaLineTypeOptions=[{'label':'chart.lineType.line','value':_univerjs_pro_engine_chart['AreaLineStyle']['Line']},{'label':_0x1d8fa5(0x27e),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x1cc)][_0x1d8fa5(0x160)]},{'label':_0x1d8fa5(0x10b),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x1cc)][_0x1d8fa5(0x4dd)]}],pieDonutHoleOptions=[0x0,0.25,0.5,0.75][_0x1d8fa5(0x246)](_0x3b069b=>({'label':_0x3b069b*0x64+'%','value':String(_0x3b069b)})),radarShapeOptions=[{'label':_0x1d8fa5(0x118),'value':_univerjs_pro_engine_chart['RadarShape'][_0x1d8fa5(0x3e9)]},{'label':'chart.shape.circle','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x33b)]['Circle']}],invalidValueOptions=[{'label':_0x1d8fa5(0x1ba),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x205)][_0x1d8fa5(0xd4)]},{'label':_0x1d8fa5(0x48b),'value':_univerjs_pro_engine_chart['InvalidValueType'][_0x1d8fa5(0x42a)]},{'label':'chart.invalidType.connectDataPointsWithStraightLines','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x205)][_0x1d8fa5(0x3d5)]}],labelContentTypeList=[_univerjs_pro_engine_chart[_0x1d8fa5(0x15c)][_0x1d8fa5(0x4f0)],_univerjs_pro_engine_chart['LabelContentType'][_0x1d8fa5(0x4e1)],_univerjs_pro_engine_chart[_0x1d8fa5(0x15c)]['Value'],_univerjs_pro_engine_chart[_0x1d8fa5(0x15c)]['Percentage']],labelContentOptions=[{'label':_0x1d8fa5(0x49c),'value':_univerjs_pro_engine_chart['LabelContentType'][_0x1d8fa5(0x4f0)]},{'label':_0x1d8fa5(0x88),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x15c)]['SeriesName']},{'label':_0x1d8fa5(0x12b),'value':_univerjs_pro_engine_chart['LabelContentType'][_0x1d8fa5(0x349)]},{'label':_0x1d8fa5(0x164),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x15c)][_0x1d8fa5(0x2be)]}]['map'](_0xb6bcd9=>({..._0xb6bcd9,'value':String(_0xb6bcd9[_0x1d8fa5(0x3ce)])})),pieLabelContentOptions=labelContentOptions[_0x1d8fa5(0x4de)](_0x3f5916=>_0x3f5916[_0x1d8fa5(0x3ce)]!==String(_univerjs_pro_engine_chart[_0x1d8fa5(0x15c)]['SeriesName'])),tickLengthOptions=[0x6,0xc,0x12,0x18][_0x1d8fa5(0x246)](_0xfc5c97=>({'label':_0xfc5c97+'px','value':String(_0xfc5c97)})),tickWidthOptions=[0x1,0x2,0x4,0x8][_0x1d8fa5(0x246)](_0x5aea5b=>({'label':_0x5aea5b+'px','value':String(_0x5aea5b)})),RelationLayoutOptions=[{'label':'chart.relation.auto','value':_0x1d8fa5(0x445)},{'label':'chart.relation.circular','value':'circular'},{'label':'chart.relation.force','value':_0x1d8fa5(0xcd)}],DateFormatList=[{'label':_0x1d8fa5(0x25a),'suffix':_0x1d8fa5(0x1c1)},{'label':_0x1d8fa5(0x454),'suffix':_0x1d8fa5(0x22c)},{'label':'1930年08月05日','suffix':_0x1d8fa5(0x17d)},{'label':_0x1d8fa5(0x4f2),'suffix':_0x1d8fa5(0xbf)},{'label':'8月5日','suffix':_0x1d8fa5(0x45b)},{'label':_0x1d8fa5(0x449),'suffix':_0x1d8fa5(0x37b)},{'label':_0x1d8fa5(0x33e),'suffix':_0x1d8fa5(0x31d)},{'label':'下午01:30','suffix':_0x1d8fa5(0x3f4)},{'label':_0x1d8fa5(0x4c2),'suffix':_0x1d8fa5(0x463)},{'label':_0x1d8fa5(0x36b),'suffix':'A/P\x20h:mm:ss'},{'label':_0x1d8fa5(0x273),'suffix':_0x1d8fa5(0xf7)}],ThousandsSeparatorFormatList=[{'label':_0x1d8fa5(0x3da),'suffix':_0x1d8fa5(0x2cf)},{'label':'(1,235)\x20','suffix':_0x1d8fa5(0x223),'color':'red'},{'label':'1,234.56','suffix':'#,##0.00_);#,##0.00'},{'label':_0x1d8fa5(0x7c),'suffix':'#,##0.00_);[Red]#,##0.00','color':_0x1d8fa5(0x26e)},{'label':_0x1d8fa5(0x2cb),'suffix':_0x1d8fa5(0x1d5)},{'label':_0x1d8fa5(0x2cb),'suffix':_0x1d8fa5(0x425),'color':_0x1d8fa5(0x26e)}],CurrencyFormatList=[{'label':_0x5a0e27=>_0x5a0e27+_0x1d8fa5(0xe7),'suffix':_0x349886=>'\x22'+_0x349886+_0x1d8fa5(0x137)+_0x349886+'\x22#,##0.00'},{'label':_0x1b47ae=>_0x1b47ae+_0x1d8fa5(0xe7),'suffix':_0x331f37=>'\x22'+_0x331f37+_0x1d8fa5(0x1b9)+_0x331f37+_0x1d8fa5(0x38b),'color':_0x1d8fa5(0x26e)},{'label':_0xbe9a17=>'('+_0xbe9a17+_0x1d8fa5(0x15a),'suffix':_0x47ae88=>'\x22'+_0x47ae88+_0x1d8fa5(0x1a9)+_0x47ae88+'\x22#,##0.00)'},{'label':_0x1a3a14=>'('+_0x1a3a14+_0x1d8fa5(0x15a),'suffix':_0xbc64c6=>'\x22'+_0xbc64c6+_0x1d8fa5(0x522)+_0xbc64c6+'\x22#,##0.00)','color':_0x1d8fa5(0x26e)},{'label':_0x1267a1=>'-'+_0x1267a1+_0x1d8fa5(0xe7),'suffix':_0x14187b=>'\x22'+_0x14187b+'\x22#,##0.00_);-\x22'+_0x14187b+_0x1d8fa5(0x38b)},{'label':_0x263024=>'-'+_0x263024+_0x1d8fa5(0xe7),'suffix':_0x1d9c50=>'\x22'+_0x1d9c50+_0x1d8fa5(0x48f)+_0x1d9c50+_0x1d8fa5(0x38b),'color':'red'}],currencySymbols=['$','£','¥','¤','֏','؋','৳','฿','₡','₦','₩','₪','₫','€','₭','₮','₱','₲','₴','₸','₹','₺','₼','₽','₾','₿'],UNIVER_SHEET_CHART_FORMAT_DIALOG_ID=_0x1d8fa5(0x1f8),UNIVER_SHEET_CHART_FORMAT_DIALOG=_0x1d8fa5(0x1e1),waterfallStackTypeOptions=[{'label':'chart.waterfall.arrangement','value':_univerjs_pro_engine_chart[_0x1d8fa5(0x37d)][_0x1d8fa5(0x142)]},{'label':_0x1d8fa5(0x446),'value':_univerjs_pro_engine_chart[_0x1d8fa5(0x37d)][_0x1d8fa5(0x452)]}];function useTranslatedOptions(_0x12e4fe,_0x492d65){const _0x49d9e4=_0x1d8fa5,{t:_0x17d686}=_0x12e4fe;return _0x492d65[_0x49d9e4(0x246)](_0x502dfb=>({..._0x502dfb,'label':_0x17d686(_0x502dfb[_0x49d9e4(0x13a)])}));}const RadarChartOptionsEdit=_0x1f302a=>{const _0x2457f7=_0x1d8fa5,{className:_0x25ac7c,service:_0x3a0e06,localeService:_0x4d4730}=_0x1f302a,[_0x314f45,_0xaec1d9]=useChartConfigState(_0x2457f7(0x28a),_0x3a0e06),[_0x329183,_0x4213ae]=useChartConfigState(_0x2457f7(0x136),_0x3a0e06),_0x3d81c2=useTranslatedOptions(_0x4d4730,radarShapeOptions);return(0x0,react_jsx_runtime[_0x2457f7(0x2d7)])(_0x2457f7(0x3d7),{'className':_0x25ac7c,'children':[(0x0,react_jsx_runtime[_0x2457f7(0x339)])(_0x2457f7(0x3d7),{'children':(0x0,react_jsx_runtime[_0x2457f7(0x339)])(_univerjs_design['Segmented'],{'value':_0x314f45!==null&&_0x314f45!==void 0x0?_0x314f45:_univerjs_pro_engine_chart['defaultChartConfig']['radar']['shape'],'items':_0x3d81c2,'onChange':_0xaec1d9})}),(0x0,react_jsx_runtime[_0x2457f7(0x339)])(_0x2457f7(0x3d7),{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0x2457f7(0x339)])(_univerjs_design[_0x2457f7(0x12d)],{'checked':!!_0x329183,'onChange':_0x542e22=>{_0x4213ae(Boolean(_0x542e22));},'children':_0x4d4730['t'](_0x2457f7(0xde))})})]});},BubbleDataEdit=_0x1ef02e=>{const _0x2b2cbf=_0x1d8fa5;var _0x25f91b,_0x5c9e44,_0x598d45;const {service:_0x3ea7de,localeService:_0x24aef5}=_0x1ef02e,[_0x912039]=useChartConfigState(_0x2b2cbf(0x17a),_0x3ea7de),[_0x196e35]=useChartConfigState(_0x2b2cbf(0x4e9),_0x3ea7de),[_0x3d7b97]=useChartConfigState('seriesResourceList',_0x3ea7de),[_0x233844,_0x44eb67]=useChartConfigState(_0x2b2cbf(0x4f5),_0x3ea7de),[_0x5abeb2,_0x474ecc]=useChartConfigState(_0x2b2cbf(0x3d8),_0x3ea7de),[_0x413336,_0x4642ad]=useChartConfigState(_0x2b2cbf(0xd5),_0x3ea7de),[_0x152335,_0x17933e]=useChartConfigState(_0x2b2cbf(0xe9),_0x3ea7de),_0x467713=_0x24aef5['t'],[_0x48a62a,_0x13d3b0]=useChartConfigState(_0x2b2cbf(0x32f),_0x3ea7de),_0x4ddc68=_0x3c2c27=>{_0x13d3b0(_0x3c2c27);};return(0x0,react_jsx_runtime['jsxs'])(_0x2b2cbf(0x3d7),{'className':_0x2b2cbf(0x267),'children':[(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])('div',{'className':_0x2b2cbf(0x139),'children':_0x467713(_0x2b2cbf(0x197))}),(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])(_univerjs_design[_0x2b2cbf(0x159)],{'className':_0x2b2cbf(0x2a5),'value':typeof _0x413336===_0x2b2cbf(0x480)?String(_0x413336):'','options':_0x196e35||[],'onChange':_0x5c5715=>_0x4642ad(Number(_0x5c5715))}),(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])(_0x2b2cbf(0x3d7),{'className':_0x2b2cbf(0x139),'children':_0x467713(_0x2b2cbf(0x47e))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2b2cbf(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x233844!==void 0x0?String(_0x233844):(_0x25f91b=(_0x3d7b97||[])[0x0])===null||_0x25f91b===void 0x0?void 0x0:_0x25f91b[_0x2b2cbf(0x3ce)],'options':_0x3d7b97||[],'onChange':_0x1caf90=>_0x44eb67(Number(_0x1caf90))}),(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])('div',{'className':_0x2b2cbf(0x139),'children':_0x467713(_0x2b2cbf(0x520))}),(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])(_univerjs_design['Select'],{'className':_0x2b2cbf(0x2a5),'value':_0x5abeb2!==void 0x0?String(_0x5abeb2):(_0x5c9e44=(_0x3d7b97||[])[0x1])===null||_0x5c9e44===void 0x0?void 0x0:_0x5c9e44[_0x2b2cbf(0x3ce)],'options':_0x3d7b97,'onChange':_0x12c2d3=>{_0x474ecc(Number(_0x12c2d3));}}),(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])(_0x2b2cbf(0x3d7),{'className':_0x2b2cbf(0x139),'children':_0x467713(_0x2b2cbf(0x88))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2b2cbf(0x159)],{'className':_0x2b2cbf(0x2a5),'value':_0x152335!==void 0x0?String(_0x152335):'','options':_0x196e35,'onChange':_0x3331f0=>{_0x17933e(Number(_0x3331f0));}}),(0x0,react_jsx_runtime['jsx'])(_0x2b2cbf(0x3d7),{'className':_0x2b2cbf(0x139),'children':_0x467713('chart.bubble.size')}),(0x0,react_jsx_runtime[_0x2b2cbf(0x339)])(_univerjs_design['Select'],{'className':_0x2b2cbf(0x2a5),'value':_0x48a62a?String(_0x48a62a):(_0x598d45=(_0x3d7b97||[])[0x2])===null||_0x598d45===void 0x0?void 0x0:_0x598d45[_0x2b2cbf(0x3ce)],'options':_0x912039,'onChange':_0x139300=>_0x4ddc68(Number(_0x139300))})]});},getUnitId=_0x451536=>_0x451536[_0x1d8fa5(0x152)](_univerjs_core[_0x1d8fa5(0x83)]['UNIVER_SHEET'])[_0x1d8fa5(0x4d9)](),getSubUnitId=_0x136ff6=>{const _0x2ad4c7=_0x1d8fa5;var _0x531db2;return(_0x531db2=_0x136ff6['getCurrentUnitOfType'](_univerjs_core['UniverInstanceType'][_0x2ad4c7(0x377)])[_0x2ad4c7(0x13d)]())===null||_0x531db2===void 0x0?void 0x0:_0x531db2['getSheetId']();},ableStackCharts=[_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['Area'],_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x51d)]];function colorElement(_0x4762cd){const _0x1c2d5b=_0x1d8fa5;return(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime['Fragment'],{'children':_0x4762cd[_0x1c2d5b(0x246)](_0x281c7f=>{const _0x228be6=_0x1c2d5b;return(0x0,react_jsx_runtime[_0x228be6(0x339)])(_0x228be6(0x3d7),{'className':'univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','style':{'backgroundColor':_0x281c7f}},_0x281c7f);})});}function _0x50b2(){const _0x1191ef=['hasOwnProperty','chart.waterfall.positive','visualMapType','iterator','52raFzzQ','setHostStyle','msSetImmediate','endColumn','chart.settingsLabels.switchToRowOrColumn','getDefaultTheme','register','UNIVER_SHEET','keepAspect','SheetSkeletonService','_sheetDrawingService','h:mm:ss','chart.shape.emptyDiamond','WaterfallStackTypeEnum','absolute','RelationshipIcon','chart.trendline.exp','fillTextOffsetX','Row','now','preventDefault','chart.shape.roundRect','Left','Accounting','_openPanel','useMemo','classes','\x22#,##0.00','defineProperty','scene','sheetTransform','chart.deleteChart','_initCopyPaste','sheet.operation.open-chart-panel','focus$','mousemove','combineLatestWith','rotationStep','EmptyDiamond','ChartModelService','1px\x20solid\x20','dialog.numfmt.accounting','getUnit','getSheetId','_renderManagerService','chart.seriesDefaultName','chartTypes.boxplot','chart.shape.pin','getViewState','executeChartUpdateConfig','DrawingApplyType','_chartModelService','rangeInfo$','getLayoutRect','yAxis','Pareto','baseOn','You\x20must\x20pass\x20valid\x20HTML\x20elements,\x20or\x20ID\x20of\x20the\x20element.','rgba(255,0,0,0.3)','chart.line','echarts','univer-flex-1\x20univer-overflow-auto','chart.border','rotateRatio','layout','poly','chart.theIndexItem','dialog.numfmt.decimalPlaces','WaterfallSeriesTypeEnum','RadarChartIcon','getFormatInfo','_debounceHandleMap','Stack','categoryType','useState','chartTypes.areaStacked','dialog.numfmt.general','LegendPositionEnum','getCurrentUnitForType','rosePie','MessageType','1461pkiUvm','startsWith','Bottom','ceil','chart.stack','chart.cloud.title','all','Observable','96536qZrfOI','chart.styleEditPanel.rosePie','isFinite','px)\x20scale(','config$','value','univer-mt-2.5','chart.chartType','univer-rounded-lg\x20univer-p-2','tagName','rightYAxis','#ffffff','Link','_resizeChart','div','bubbleYAxis','rightYAxisOptions','(1,235)','chart.shape.emptyPin','chart.styleEditPanel.pieValSuffix','hover','isNaN','getContext','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','IContextService','dialog.numfmt.currencyDesc','forEach','_mountNodes','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','focusDrawing','with','10692bfklZX','Polygon','append','allSeriesId','content','IRuntimeAxisPosition','Injector','univer-mt-4','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','__highDownDispatcher','checkChartCanRender','weight','A/P\x20hh:mm','_initCommands','!univer-min-w-0\x20univer-flex-1','List','SheetsChartUIService','_init','chart.waterfall.negativeStyle','chart.max','indicatorLineType','registerRenderModel','deriveStateFromActiveSheet$','505939VbexLe','univer-size-5','Area','runtimeAxes','focus','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','_initPermission','seriesValues','pow','chart.dataPoint','category','StackType','fillTextOffsetY','ISheetDrawingService','chart.gridlines.text','mount','values','sheet.operation.hide-chart-panel','chartTypes.column','IMessageService','TextVerticalAlign','textStyle','trendlineValues','trendlines','right','style','dialog.numfmt.generalDesc','ensureState','log','chartTypes.barPercentStacked','stackType','seriesIndex','SheetInterceptorService','Dashed','otherChartType','useEffect','_univerInstanceService','measureText','#,##0.00_);[Red]-#,##0.00','tick','WorksheetEditPermission','dialog.numfmt.date','chart.styleEditPanel.halfPie','Zero','_removeHost$','scaleX','push','relation','1611FzwIYJ','fillRect','serializeRangeWithSheet','univer-box-border\x20univer-flex\x20univer-w-fit\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded-md\x20univer-px-1\x20univer-py-0.5','_sheetClipboardService','chartTypes.barStacked','SheetCanvasFloatDomManagerService','isArray','chart.withThickness','shuffle','canvas','_sheetsChartService','msClearImmediate','70%','minSize','Rect','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','config','HeatmapChartIcon','delete','_renderDebounceMap','origin','none','chart.waterfall.stacked','min','formulaColor','13:30:30','areaOpacity','group','add$','Square','Funnel','middle','#000','length','Stacked','chart.styleEditPanel.pieValScale','1930/08/05','titles','removeAll','color','maskImage','chart.trendline.addTrendLine','chart.trendline.name','M\x22月\x22d\x22日\x22','easing','oClearImmediate','r2Color','getBatchRemoveOp','_sheetCanvasFloatDomManagerService','_generatePasteMutations','EmptyTriangle','A/P\x20h:mm','dialog.numfmt.currencyTypes','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','getRuntimeContext','Right','repeat','lineVisible','ChartBorderDashType','has','funnelUseAbsValue','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','chart.pareto.lineSeries','xAxisOptions','funnel','Middle','chart.waterfall.subtotalLegendText','getTheme','getImageData','font','asObservable','getSheetBySheetId','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','allSeriesStyle','activeChartModel','WordCloud','Arrow','Inside','chart.bubble.xAxis','getWordCloudImageMaskMap','number','textStyle.fontFamily','chart.titles.titlePosition','_contextService','shadowOffsetY','boxSizing','round','maskColor','SankeyChartIcon','applyStyle','rotate','chart.invalidType.zero','univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','Close','getChartPopupMenus','\x22#,##0.00_);[Red]-\x22','BarChartIcon','date','addEventListener','overflow','univer-text-base','chart.relation.edgeLength','keys','translate','_updateTransform','chart.default','disposeWithMe','chart.shape.emptyTriangle','chart.category','executeChartUpdateSourceConfig','ChartIcon','isHalfPie','Single','message','Input','Line','getChartDataSource','getBatchAddOp','chartTypes.areaPercentStacked','chartThemeColorType','find','chart.styleEditPanel.padAngle','stateAnimation','oSetImmediate','chartTypes.scatter','funnelGap','univer-mt-2-base','datetime','rotate(','distinctUntilChanged','SelectList','positive','render','CloudOutlineIcon','PREDEFINED_HOOK_NAME','Dropdown','indicatorLabelTextColor','axis','chart.axes.axisOptions','key','context$','gap','forceOption','linearMap','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','chart.point','下午1:30','RangeSelector','AreaChartIcon','chart.withOpacity','updateFloatDomProps','chart.relation.repulsion','removeHost$','chart.titles.yAxisTitle','showR2','chartTypes.heatmap','defaultChartConfig','borderRadius','EmptyRoundRect','setRenderModel','chart.hideChartPanel','dialog.setFormat','IDrawingManagerService','Circular','univer-ml-1\x20univer-transition-transform\x20univer-duration-300','bubbleCategoryList','clsx','univer-mt-2','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','getUnitId','mergeMenu','ChartTrendlineType','eachSeriesByType','Step','filter','chart.trendline.formula','doughnutHole','SeriesName','Solid','\x22Trebuchet\x20MS\x22,\x20\x22Heiti\x20TC\x22,\x20\x22微軟正黑體\x22,\x20\x22Arial\x20Unicode\x20MS\x22,\x20\x22Droid\x20Fallback\x20Sans\x22,\x20sans-serif','dispatchEvent','borderColor','wait','chart.titles.titleAlign','chartTypeCanUseTrendLine','categoryList','1px\x20solid\x20transparent','every','reduce','chart-host','univer-size-4','chart.trendline.movingAvg','CategoryName','clear','08-05','isRosePie','ComponentManager','bubbleXAxis','paretoStyle','lineOrArea','focused$','parseInt','createChartInstance','Plugin','lineStyle','invalidValueType','chart.withFormat','padAngleStyle','chart.styleEditPanel.reverseAxisOrder','chart.titles.titleText','chart.categoryDefaultName','chart.styleEditPanel.dateAxisTips','format','text','chart.legend','dialog.numfmt.dateTypes','Date','gradientFill','univer-flex-1','ItalicIcon','sort','FOCUSING_COMMON_DRAWINGS','rgba(0,\x200,\x200,\x200)','createDimensions','AxisAlignEnum','AreaPercentStacked','univer-w-[136px]','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','_themeService','useDependency','rangeSelectMode','scatterSymbolSize','chart.trendline.log','transformToDrawingPosition','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','minFontSize','chart.chartBorderColor','Bar','getColors','CategoryType','chart.bubble.yAxis','chart.titles.mainTitle','\x22#,##0.00_);[Red](\x22','univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','chart.reset','close','heatmap','Module','join','dataSource','univer-flex\x20univer-flex-col\x20univer-gap-4','chart.chartAndAxisTitles','ensureHost','chart.shape.emptySquare','querySelector','Doughnut','Text','univer-box-border\x20univer-h-8','wordCloud','nodeShape','seriesResourceIndexes','Pie','getData','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','_renderModelMap','fillText','src','14056bxiZYd','list','IncreaseIcon','1,234.56','minRotation','type','DrawingTypeEnum','getName','parentNode','pluginName','UniverInstanceType','axes','radar','getModel','resize','chart.series','_sidebarService','PRINT_CHART_COMPONENT_KEY','SetDrawingApplyMutation','Top','Invalid\x20mask\x20image','packageName','valueSuffix','Fragment','ICommandService','addClipboardHook','border-box','shape','chart.shape.emptyArrow','bold','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ColumnStacked','params','ColumnChartIcon','rangeInfo','span','useCallback','version','set','useValueAsSymbolSize','MoreDownIcon','_rangeSelectMode','chartBitsUtils','printChart','Sankey','xAxis','labelContentType','cos','remove$','drawingId','wordcloudstart','object','period','chart.axes.horizontalAxis','lineWidth','InputNumber','chart.legendSelectMode','univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-pb-3\x20univer-text-sm','executeCommand','subUnitId','chart.trendline.poly','getItemVisual','IMenuManagerService','chart.styleEditPanel.useAbsValue','slice','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','univer-w-[--radix-popper-anchor-width]','COMMAND','activeChartModel$','_chartRenderService','MM-dd','appendChild','categoryIndex','univer-text-primary-600','scale','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','attachRangeWithCoord','setContextValue','_(\x22','createImageData','tooltipAxisLabelBackground','dialog.numfmt.confirm','useSubtotal','PercentStack','force','RemoveSheetsChartMutation','chart.withSize','univer-w-full','_chartThemeService','hsl(','chart.allSeries','Break','bubbleLabel','isPatternEqualWithoutDecimal','combination','ISidebarService','getDrawingByParam','ComboChartIcon','_chartHostProvider','textContent','default','chart.fill','useDateAxis','_sheetsChartUIService','concat','chart.positionType.','parseFloat','chart.addSeries','layoutAnimation','Bubble','1,235','sin','bubbleSeries','chart.host.provider','heatmapMax','Percent','get','relative','removeViewState','interceptCommand','univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Secondary','_commandService','chart.trendline.linear','None','pieBorderColor','MM-dd\x20A/P\x20hh:mm','dataPointsOptions','data','wordCloudShape','getSkeleton','Numeric','chartTypes.pie','univer-mt-5\x20univer-flex\x20univer-justify-end','call','getRegisteredThemes','chart.relation.forceOptions','Multiple','width','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','labelVisible','Radio','INSERT','chartModelId','RelationChartLayoutEnum','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.lineType.step','ChartUpdateConfigCommand','univer-box-border\x20univer-w-full\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.withType','DEFAULT_PASTE','univer-text-2xl','touchend','domId','chart.trendline.displayName','labelStyle','DisposableCollection','checkHost','COPY_TYPE','chart.shape.polygon','aggregate','dialog.numfmt.cancel','mozSetImmediate','max','rect','Subject','each','chart.styleEditPanel.showDataLabels','SankeyIcon','910JzRwOs','split','item','createTextStyle','pie','borderClassName','_menuManagerService','chart.trendline.r2','pipe','chart.value','relationNodeShape','Checkbox','getMenuHiddenObservable','chart.align.center','Linear','wordclouddrawn','chart.gridlines.majorGridlines','borderStyle','RoundRect','onTransformChange$','radarFill','\x22#,##0.00_);\x22','chart.styleEditPanel.useDateAxis','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','label','PieLabelPosition','IUniverInstanceService','getActiveSheet','_sidebarDisposable','tooltipAxisLabelColor','chart.pareto.barSeries','time','Arrangement','maskGapWidth','maxRotation','ThousandthPercentile','DeleteIcon','drawOutOfBound','dashType','section','titleFontSize','onCommandExecuted','chart.min','series','ChartTypeBits','univer-leading-8','blur','indicator','getCurrentUnitOfType','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','reverse','forceRender','chart.withColor','getSubUnitId','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','Select','1,235)','Hide','LabelContentType','darkMode$','BubbleIcon','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Smooth','extendChartView','getRangeInfo','nowrap','chart.percentage','_focusedDrawings','height','weightFactor','subscribeEvent','left','legend','chart.themes','chartTypes.bar','chart.axes.rightVerticalAxis','unitId','Radar','suffix','_chartHostProviderService','dataAggregation$','digitalFixed','chart.waterfall.stackType','chart.relation.useValueAsSymbolSize','engine','initData','fill','click','seriesList','LineChartIcon','univer-size-full','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','className','chart.stackType.percent','getFloatDomInfo','fontFamily','chart.indicatorLineType','chartTypes.line','chartTypes.bubble','fontWeight','ScatterChartIcon','chartTypes.donut','square','border','symbolSize','chart.waterfall.positiveLegendText','seriesIndexes','\x22fillOpacity\x22','textBaseline','webkitClearImmediate','Currency','PolynomialIcon','getBoxLayoutParams','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','textStyle.fontWeight','_registerChartIcons','onDispose','chart.bubble.label','FunnelIcon','button','InsertSheetsChartMutation','scrollbarClassName','Force','getChartModel','_ensureChartInstance','getHostSize','items','dialog.numfmt.negativeNumberTypes','helper','getDataExtent','chart.addDataPoint','Scatter','chartModelAdded$','xAxisTitle','substr','\x22#,##0.00_);(\x22','BoldIcon','graphic','pieLabelStyle','endRow','chartType$','toFixed','title','cardioid','rightYAxisTitle','negative','generateRandomId','wordCloudMask','Sorry\x20your\x20browser\x20not\x20support\x20wordCloud','entries','subtotal','\x22#,##0.00_);[Red]\x22','chart.invalidType.gaps','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','relationLayout','chartTypes.relation','_injector','setItemGraphicEl','sidebarOptions$','yyyy-MM-dd','ChartAttributeBits','transparent','EChartRenderEngineName','init','test','rotateLabel','clearCanvas','ColorPicker','FOCUSING_PANEL_EDITOR','dataPoints','AreaLineStyle','chart.dashType.dot','getSheetBySheetName','chart.styleEditPanel.pieDigitalFixed','toString','chartType','IRenderManagerService','function','chart.relation.emphasis','#,##0.00_);-#,##0.00','90UshdPR','Error','random-dark','LogarithmicIcon','px\x20','EmptyArrow','chartTypes.area','visible','barStyle','ondraw','sheet.chart.edit.panel','univer-sheet-chart-format-dialog','End','emphasis','getRenderModel','clearTimeout','seriesResourceList','chart.shape.emptyCircle','_sheetSkeletonService','theme','random-light','_initMenus','lineColor','LocaleService','info','_currentModel','show','chart.waterfall.negativeLegendText','prototype','handleActiveSubUnitChange','chart.titles.titleFormat','wordCloudRepeat','updateWatermark','axisTitleAlign','univer-sheet-chart-format-dialog-id','getFocusDrawings','univer-absolute\x20univer-right-2\x20univer-top-2','from','chart.ticks.tickLength','registerLayout','chart.align.left','Tooltip','ThemeService','children','chart.styleEditPanel.repeatWordCould','699680lnkNXV','initPanel','InvalidValueType','_copyInfo','Heatmap','transform','isSupported','opacity','next','_debounceHandle','root','UPDATE','setBorder','toSpec','SheetSkeletonManagerService','pentagon','selectMode','floor','chart.gradientFill','getSheetCommandTarget','stylizeSpec','drawMask','CUT','order','dataRange','priority','useObservable','chart.trendline.period','clearImmediate','setAttribute','_generateCutPasteMutations','startColumn','#,##0_);[Red](#,##0)','getBoundingClientRect','mozClearImmediate','RemoveSheetCommand','univer-mb-2\x20univer-text-sm\x20univer-font-medium','range','drawingType','clientX','deepClone','yyyy/MM/dd','blurScope','chart.styleEditPanel.showAxisLine','firstChartType','orient','yAxisTitle','ChartUpdateSourceCommand','abortThreshold','_sheetCanvasPopManagerService','touchDependencies','_createHost','numfmt','univer-box-border\x20univer-h-8\x20univer-w-full\x20univer-rounded-md\x20univer-bg-white\x20univer-px-2\x20univer-pb-2.5\x20univer-text-sm\x20univer-transition-colors\x20univer-duration-200\x20placeholder:univer-text-gray-400\x20focus:univer-border-primary-500\x20focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-50','sheet.numfmt.general','areaLineStyle','assign','specialChartWidthMap','MultipleSelect','headers','chart.titles.rightYAxisTitle','wordcloudabort','getTransformerByCreate','indicatorLineColor','_getWatermark','abs','Circle','map','.chart-host','8px','getContextValue','ISheetClipboardService','deg)\x20','_localeService','remove','constructor','current','Center','open','ColumnPercentStacked','getBatchUpdateOp','wordcloudstop','InsertChartCommand','dialog.numfmt.dateDesc','getCurrentRangeDisable$','chart.relation.title','createElement','1930-08-05','fillStyle','bounds','Boxplot','Segmented','movingAvg','_model','repulsion','chart.waterfall.positiveStyle','MEDIA','univer-flex\x20univer-flex-col\x20univer-gap-2.5','duration','univer-mb-2\x20univer-h-8','univer-mb-2','univer-p-1.5\x20univer-text-xs','__default__','drawn','CommandType','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','MovingAverageIcon','red','waterfallStack','block','chart.legendSelectModeType.','_sheetPermissionCheckController','08-05\x20下午\x2001:30','\x22*\x20#,##0','chart.visualMapScope','WordCloudMuskImageService','chart.alignY.','univer-ml-3','showFormula','devicePixelRatio','Auto','clientY','AlignTextBothIcon','chart.lineType.smooth','2450892GRyIFL','registerCommand','startX','continuous','chart.axes.useRightAxis','redo','replace','0.21.0','string','univer-text-xs','zero-timeout-message','radarShape','_drawingManagerService','_generateCopyPasteMutations','copyType','IRuntimeAxisPriority','chart.trendline.order','dialog.numfmt.thousandthPercentileDesc','univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','chart.shape.arrow','chartTypes.wordCloud','_viewState','_chartInstanceMap','univer-transition-transform\x20univer-duration-300','Waterfall','touchstart','getAllowedChartTypes','setStyle','Column','ellipticity','univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','webkitTapHighlightColor','valueScale','HeatmapIcon','chart.waterfall.subtotal','chart.gridlinesAndTicks','5SrBncN','mapArray','univer-w-full\x20!univer-min-w-0','subtitle','univer-flex\x20univer-items-center\x20univer-text-base','objects','postMessage','openChartPanelById','triangle','useEmphasis','sheet.command.menu-insert-chart','_createCopyInfoByRange','REMOVE','discreteRangeToRange','DropdownMenu','chart.doughnutHole','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-px-3','gravity','getTime','legendStyle','chartTypes.waterfall','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','univer-text-sm\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','position','chart.backgroundColor','Disposable','undo','Percentage','Start','DRAWING_CHART','isRowDirection','yAxisOptions','sheet.numfmt.date','dimension','BarPercentStacked','TitlePositionEnum','createIdentifier','dialog.numfmt.thousandthPercentile','Inject','chart.openChartPanel','-1,234.56','attributes','paretoDataPointsOptions','startRow','#,##0_);(#,##0)','chart.relation.rotateLabel','util','SeriesLabelPosition','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','center','series.wordCloud','emphasis.textStyle.fontWeight','jsxs','decorate','normal','point','SheetPermissionCheckController','backgroundColor','random','EmptyRect','titlePosition','startY','fontSize','occupied','setImmediate','star','runtime','WaterfallChartIcon','showLabelLine','LinePointShape','detail','save','registerFeatureMenu','Dotted','setOption','small','dialog.numfmt.accountingDesc','registerViewState','activeSheet$','style$','chart.withShape','area','chart.seriesBlock.format','SelectModeEnum','align','_getSceneAndTransformerByDrawingSearch','setActiveChartModel','chart.shape.diamond','8038LOPKVe','enableHoverEmphasis','50%\x2040%','Relation','chart.ticks.majorTick','rot','layoutInstance','chart.trendline.trendlineDashType','SheetsChartUIController','_componentManager','PieChartIcon','beforeCommandExecuted','chart.styleEditPanel.wordCloudShape','chart.axes.verticalAxis','px\x20sans-serif','General','triangle-forward','chart.shape.rect','SELECTOR','touches','chart.legendVisualMapType.','BoxplotIcon','dispose','ExponentialIcon','removeEventListener','onStarting','sqrt','chart.relation.layoutType','RemoveSheetDrawingCommand','name','drawImage','_config','Pin','linear','h:mm','univer-flex\x20univer-items-center\x20univer-justify-between','circle','The\x20element\x20id\x20specified\x20is\x20not\x20found.','includes','chart.trendline.showR2','icon','EmptyCircle','subscribe','chart.editChart','getDrawingData','univer-w-full\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','img','getWidth','some','putImageData','waterfall','seriesStyleMap','bubbleSizeSeriesId','univer-mb-2\x20univer-mt-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','univer-mb-2\x20univer-flex\x20univer-items-center','hidePanel','chart.relation.gravity','capitalFirst','shadowColor','heatmapMin','error','SheetsChartService','jsx','clearRect','RadarShape','univer-my-2','Triangle','13:30','trendline','UniverSheetsChartPlugin','indicatorLabelColor','fillTextWidth','size','LinearIcon','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','AxisValueType','top','_sheetInterceptorService','Value','UniverSheetsDrawingUIPlugin','ChartThemeService','FontColorDoubleIcon','chart.color','sheet.numfmt.accounting','TextAlign','chart.stackType.stack','setTimeout','chart.indicatorLineColor','Button','getElementById','sheet.numfmt.thousandthPercentile','combineLatest','shrinkToFit','chart.trendline.pow','chart.trendline.showFormula','dialog.numfmt.currency','getDataSource','animation','stateTransition','target','DataOrientation','chartTypes.sankey','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','gridSize','add','OPERATION','debounce','getRenderById','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','restore','Combination','Outside','下午1:30:30'];_0x50b2=function(){return _0x1191ef;};return _0x50b2();}function getThemeListOptions(_0x8cfb21,_0x4bfab9){const _0x4e7ae6=_0x1d8fa5;return _0x8cfb21[_0x4e7ae6(0x246)](_0x19b528=>({'label':(0x0,react_jsx_runtime['jsx'])(_0x4e7ae6(0x3d7),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','children':colorElement(_0x4bfab9[_0x4e7ae6(0x51e)](_0x19b528))}),'value':_0x19b528}));}const ChartEditBlockTitle=({title:_0x5a19d9})=>{const _0x39a81d=_0x1d8fa5;return(0x0,react_jsx_runtime['jsx'])(_0x39a81d(0x3d7),{'className':_0x39a81d(0x330),'children':_0x5a19d9});},DataTabPanel=()=>{const _0x32f0c3=_0x1d8fa5;var _0x237fed;const _0x754e1d=useSheetsChartUIService(),_0x44bc9=(0x0,_univerjs_ui[_0x32f0c3(0x515)])(_univerjs_core[_0x32f0c3(0x13c)]),_0x14ed26=(0x0,_univerjs_ui[_0x32f0c3(0x515)])(_univerjs_core[_0x32f0c3(0x1ed)]),_0x3a68fc=(0x0,_univerjs_ui[_0x32f0c3(0x515)])(_univerjs_pro_engine_chart[_0x32f0c3(0x34b)]),_0x2dabcf=_0x3a68fc[_0x32f0c3(0x100)](),_0x332c66=(0x0,_univerjs_pro_sheets_chart[_0x32f0c3(0x299)])((0x0,_univerjs_ui[_0x32f0c3(0x515)])(_univerjs_core[_0x32f0c3(0x3ee)])),_0x3013e9=(0x0,react['useMemo'])(()=>{const _0x2c1c07=_0x32f0c3;return getOptionsList(chartTypeOptions['concat'](),_0x332c66)[_0x2c1c07(0x246)](_0x46074f=>({'label':(0x0,react_jsx_runtime[_0x2c1c07(0x2d7)])(_0x2c1c07(0x3d7),{'className':_0x2c1c07(0x291),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-text-base','children':chartTypeToIcon===null||chartTypeToIcon===void 0x0?void 0x0:chartTypeToIcon[_0x46074f[_0x2c1c07(0x3ce)]]}),(0x0,react_jsx_runtime[_0x2c1c07(0x339)])(_0x2c1c07(0x3d7),{'className':_0x2c1c07(0x2b9),'children':_0x14ed26['t'](_0x46074f['label'])})]}),'value':String(_0x46074f[_0x2c1c07(0x3ce)])}));},[_0x14ed26]),[_0x2b9e5f,_0x2bae37]=(0x0,react['useState'])(![]);(0x0,react[_0x32f0c3(0x422)])(()=>{const _0x3c232e=_0x32f0c3;_0x754e1d[_0x3c232e(0x516)]=_0x2b9e5f;},[_0x2b9e5f]);const _0x2fb745=useTranslatedOptions(_0x14ed26,invalidValueOptions),_0x5f1448=useTranslatedOptions(_0x14ed26,stackTypeOptions),_0x47d842=useTranslatedOptions(_0x14ed26,areaLineTypeOptions),_0x5f30b4=useTranslatedOptions(_0x14ed26,waterfallStackTypeOptions),_0x4aaf49=getThemeListOptions(_0x2dabcf,_0x3a68fc),_0x7da6d8=getUnitId(_0x44bc9),_0x25d204=getSubUnitId(_0x44bc9),_0xe18760=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x32f0c3(0x3e1)]),[_0x23a564,_0xd6aa4e]=useChartConfigState(_0x32f0c3(0x1d1),_0x754e1d),[_0x508f8f,_0x36fcfb]=useChartConfigState(_0x32f0c3(0x21b),_0x754e1d),[_0x3b0dec,_0x2fd3ee]=useChartConfigState('areaLineStyle',_0x754e1d),[_0x5dab64,_0x442ea3]=useChartConfigState(_0x32f0c3(0xc1),_0x754e1d),[_0x934acc]=useChartConfigState(_0x32f0c3(0x3b9),_0x754e1d),[_0x17dd79]=useChartConfigState(_0x32f0c3(0x4e9),_0x754e1d),[_0x23ef24,_0x51f622]=useChartConfigState(_0x32f0c3(0x406),_0x754e1d),[_0x1ca8f3]=useChartConfigState(_0x32f0c3(0x1e6),_0x754e1d),[_0x35a543,_0xba3e40]=useChartConfigState(_0x32f0c3(0x26f),_0x754e1d),[_0x4a283b,_0xb0979f]=useChartConfigState(_0x32f0c3(0xcb),_0x754e1d),[_0x3c90f5,_0x3186f1]=useChartConfigState(_0x32f0c3(0xeb),_0x754e1d),[_0x261660,_0x742eef]=useChartConfigState(_0x32f0c3(0x336),_0x754e1d),[_0x2cda72,_0x3f40a8]=useChartConfigState(_0x32f0c3(0x4a7),_0x754e1d),[_0x1c30bf,_0x3fb314]=useChartConfigState(_0x32f0c3(0x509),_0x754e1d),_0x2cf8f2=(0x0,react[_0x32f0c3(0x389)])(()=>{const _0x18183e=_0x32f0c3;if(_0x1c30bf===void 0x0)return _0x23a564?_univerjs_pro_engine_chart[_0x18183e(0xa3)][_0x18183e(0x3a8)](_0x23a564,_univerjs_pro_engine_chart[_0x18183e(0x14e)][_0x18183e(0x401)]):![];return _0x1c30bf;},[_0x1c30bf,_0x23a564]),[_0xb1ccb7,_0x34ccfd]=useChartConfigState(_0x32f0c3(0x230),_0x754e1d),[_0x42f131,_0x5b54d3]=useChartConfigState(_0x32f0c3(0x4fd),_0x754e1d),[_0x11a3a4,_0x37343c]=useChartConfigState('asCategory',_0x754e1d),[_0x3e13f6,_0x4aeb10]=useChartConfigState(_0x32f0c3(0x4ad),_0x754e1d),[_0x2d8501,_0x1c68d2]=useChartConfigState(_0x32f0c3(0x46c),_0x754e1d),_0x3568c1=_0x23a564&&ableStackCharts[_0x32f0c3(0x32b)](_0x55ca25=>_univerjs_pro_engine_chart[_0x32f0c3(0xa3)][_0x32f0c3(0x3a8)](_0x23a564,_0x55ca25)),_0xcc4cfc=_0x23a564&&[_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x401)],_univerjs_pro_engine_chart['ChartTypeBits']['Line']][_0x32f0c3(0x32b)](_0x5cbaaa=>_univerjs_pro_engine_chart[_0x32f0c3(0xa3)][_0x32f0c3(0x3a8)](_0x23a564,_0x5cbaaa)),_0x357724=_0x23a564&&[_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x4a3)],_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x16f)],_univerjs_pro_engine_chart[_0x32f0c3(0x14e)]['WordCloud'],_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x1a5)]][_0x32f0c3(0x4eb)](_0x371c29=>_0x371c29!==_0x23a564),_0x1e9f8d=_0x934acc===_univerjs_pro_engine_chart[_0x32f0c3(0x51f)][_0x32f0c3(0x130)]||typeof _0x5dab64!==_0x32f0c3(0x480),_0x21a219=_0x23a564&&[_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x535)],_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x52f)]][_0x32f0c3(0x32b)](_0x6cb640=>_0x23a564===_0x6cb640),_0x181995=!_0x21a219||_0x21a219&&_0x23ef24&&(_0x23ef24===null||_0x23ef24===void 0x0?void 0x0:_0x23ef24[_0x32f0c3(0x451)])<0x1,_0x6cbae5=_0x23a564&&_univerjs_pro_engine_chart[_0x32f0c3(0xa3)]['baseOn'](_0x23a564,_univerjs_pro_engine_chart['ChartTypeBits'][_0x32f0c3(0x297)]),_0x36341c=_0x23a564&&(0x0,_univerjs_pro_engine_chart['chartTypeCanUseTrendLine'])(_0x23a564),[_0x1669c5,_0x47fd92]=useChartConfigState(_0x32f0c3(0x415),_0x754e1d),_0x4dd231=_0x23a564&&_0x23a564===_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x2fe)],_0x4411d5=_0x23a564&&_0x23a564===_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0xa5)],_0xe07bec=_0x23a564&&_0x23a564===_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x207)],_0x90303b=_0x23a564&&_0x23a564===_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x25d)],_0x311b08=_0x23a564&&_univerjs_pro_engine_chart['chartBitsUtils']['baseOn'](_0x23a564,_univerjs_pro_engine_chart[_0x32f0c3(0x14e)]['Bubble']),_0x18b676=_0x393cb1=>{const _0x4a8f10=_0x32f0c3;if(_0x1669c5)_0x47fd92(_0x1669c5[_0x4a8f10(0x4de)]((_0x1c5de7,_0x45dee9)=>_0x45dee9!==_0x393cb1));},_0x4220b4=(_0x2a70b3,_0x215a49)=>{const _0x392828=_0x32f0c3;if(_0x1669c5){_0x1669c5[_0x2a70b3][_0x392828(0x41e)]=_0x215a49;const _0x3bf376=(_0x1ca8f3===null||_0x1ca8f3===void 0x0?void 0x0:_0x1ca8f3[_0x215a49][_0x392828(0x13a)])||'';if(_0x3bf376)_0x1669c5[_0x2a70b3][_0x392828(0x318)]=_0x4aac3d(_0x392828(0xf4))+'-'+_0x4aac3d('chart.trendline.name')+'-('+_0x3bf376+')';_0x47fd92(_0x1669c5[_0x392828(0xb9)]());}},_0x3adf05=Boolean(_0x23a564&&_univerjs_pro_engine_chart[_0x32f0c3(0xa3)][_0x32f0c3(0x3a8)](_0x23a564,_univerjs_pro_engine_chart[_0x32f0c3(0x14e)]['Funnel'])),_0x2c9551=borderWidthOptions,[_0xa38bc6,_0xfcb09c]=(0x0,react[_0x32f0c3(0x3ba)])(![]),_0x54fc79=(0x0,react[_0x32f0c3(0x389)])(()=>{const _0x4efcbd=_0x32f0c3;return(0x0,_univerjs_core[_0x4efcbd(0x365)])(async _0x196592=>{const _0x18860f=_0x4efcbd;var _0x5a2719;if(serializeChartDataRange(_0x508f8f,_0x44bc9)===_0x196592)return;const {unitId:_0x454480,sheetName:_0x55212a,range:_0x588dd5}=_0x196592[_0x18860f(0x123)](',')['filter'](_0x575dd8=>!!_0x575dd8)['map'](_univerjs_engine_formula['deserializeRangeWithSheet'])[0x0],_0x1c73e7=_0x454480||_0x7da6d8;_0x36fcfb({'rangeInfo':{'range':_0x588dd5,'unitId':_0x1c73e7,'subUnitId':((_0x5a2719=_0x44bc9[_0x18860f(0x39a)](_0x1c73e7)[_0x18860f(0x1ce)](_0x55212a))===null||_0x5a2719===void 0x0?void 0x0:_0x5a2719['getSheetId']())||(_0x508f8f===null||_0x508f8f===void 0x0?void 0x0:_0x508f8f[_0x18860f(0x9b)][_0x18860f(0xb4)])},'isRowDirection':!![]});},0x12c,{'leading':![],'maxWait':0x3e8,'trailing':!![]});},[_0x36fcfb,_0x7da6d8,_0x44bc9]),_0x758f27=_0x5e4f1d=>{const _0x30af87=_0x32f0c3;if(_0x23ef24)_0x51f622(_0x23ef24[_0x30af87(0x4de)]((_0x33f23f,_0x565236)=>_0x565236!==_0x5e4f1d));},{t:_0x4aac3d}=_0x14ed26,_0x44cc5d=_0x23a564&&(_univerjs_pro_engine_chart[_0x32f0c3(0xa3)]['has'](_0x23a564,_univerjs_pro_engine_chart[_0x32f0c3(0x1c2)][_0x32f0c3(0xcc)])?_univerjs_pro_engine_chart[_0x32f0c3(0x40a)][_0x32f0c3(0xec)]:_univerjs_pro_engine_chart['chartBitsUtils'][_0x32f0c3(0x46b)](_0x23a564,_univerjs_pro_engine_chart[_0x32f0c3(0x1c2)]['Stack'])?_univerjs_pro_engine_chart[_0x32f0c3(0x40a)][_0x32f0c3(0x452)]:void 0x0),_0x9d2996=Boolean(_0x23a564&&_univerjs_pro_engine_chart[_0x32f0c3(0xa3)][_0x32f0c3(0x3a8)](_0x23a564,_univerjs_pro_engine_chart['ChartTypeBits'][_0x32f0c3(0x47b)])),_0x393448=(0x0,react[_0x32f0c3(0x9d)])(_0x1861d5=>{const _0x442c19=_0x32f0c3;if(!_0x23a564)return;const _0x2b5aa2=_0x1861d5,_0x58f82f=_univerjs_pro_engine_chart[_0x442c19(0xa3)][_0x442c19(0x24d)](_0x23a564,_univerjs_pro_engine_chart[_0x442c19(0x1c2)][_0x442c19(0xcc)]);switch(_0x2b5aa2){case _univerjs_pro_engine_chart[_0x442c19(0x40a)][_0x442c19(0x452)]:_0xd6aa4e(_0x58f82f|_univerjs_pro_engine_chart['ChartAttributeBits'][_0x442c19(0x3b8)]);break;case _univerjs_pro_engine_chart['StackType']['Percent']:_0xd6aa4e(_0x58f82f|_univerjs_pro_engine_chart[_0x442c19(0x1c2)][_0x442c19(0xcc)]);break;default:_0xd6aa4e(_0x58f82f);break;}},[_0x23a564]);return(0x0,react_jsx_runtime['jsxs'])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d('chart.chartType')}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x23a564?String(_0x23a564):'','options':_0x3013e9,'onChange':_0x4b6168=>_0xd6aa4e(Number(_0x4b6168))})]}),_0x23a564&&(_univerjs_pro_engine_chart[_0x32f0c3(0xa3)]['baseOn'](_0x23a564,_univerjs_pro_engine_chart['ChartTypeBits']['Area'])||_univerjs_pro_engine_chart[_0x32f0c3(0xa3)]['baseOn'](_0x23a564,_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x4a3)]))&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x25e)],{'items':_0x47d842,'className':_0x32f0c3(0x4d7),'value':_0x3b0dec!==null&&_0x3b0dec!==void 0x0?_0x3b0dec:_univerjs_pro_engine_chart[_0x32f0c3(0x4cc)]['area'][_0x32f0c3(0x4fc)],'onChange':_0x2fd3ee}),_0x23a564===_univerjs_pro_engine_chart[_0x32f0c3(0x14e)][_0x32f0c3(0x16f)]&&(0x0,react_jsx_runtime['jsx'])(RadarChartOptionsEdit,{'localeService':_0x14ed26,'service':_0x754e1d,'className':_0x32f0c3(0x4d7)}),(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d(_0x32f0c3(0x16b))}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x159)],{'className':_0x32f0c3(0x2a5),'value':_0x2cda72?String(_0x2cda72):'','options':_0x4aaf49,'onChange':_0x67b2ed=>{_0x3f40a8(_0x67b2ed);}})]}),_0x6cbae5&&(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(react_jsx_runtime[_0x32f0c3(0x90)],{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d(_0x32f0c3(0x174))}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design['Select'],{'className':_0x32f0c3(0x2a5),'value':_0x35a543!==null&&_0x35a543!==void 0x0?_0x35a543:_univerjs_pro_engine_chart[_0x32f0c3(0x4cc)]['waterfall'][_0x32f0c3(0x41d)],'options':_0x5f30b4,'onChange':_0x421469=>{_0xba3e40(_0x421469);}}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x104),'children':(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x12d)],{'checked':_0x4a283b!==null&&_0x4a283b!==void 0x0?_0x4a283b:_univerjs_pro_engine_chart[_0x32f0c3(0x4cc)][_0x32f0c3(0x32d)][_0x32f0c3(0xcb)],'onChange':_0x29860b=>_0xb0979f(Boolean(_0x29860b)),'children':_0x4aac3d('chart.waterfall.showSubtotal')})})]}),_0x357724&&!_0x9d2996&&!_0x3adf05&&!_0x4dd231&&!_0x4411d5&&!_0xe07bec&&!_0x90303b&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])('div',{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x12d)],{'checked':!!_0x2cf8f2,'onChange':_0x456c5c=>_0x3fb314(Boolean(_0x456c5c)),'children':_0x4aac3d(_0x32f0c3(0x215))})}),_0x3adf05&&(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x46d),'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d('chart.styleEditPanel.gap')}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x3e13f6!==null&&_0x3e13f6!==void 0x0?_0x3e13f6:_univerjs_pro_engine_chart[_0x32f0c3(0x4cc)][_0x32f0c3(0x470)][_0x32f0c3(0x4bd)]),'options':_0x2c9551,'onChange':_0x3242c2=>_0x4aeb10(Number(_0x3242c2))}),(0x0,react_jsx_runtime['jsx'])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x4ae),'children':(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x12d)],{'checked':_0x2d8501!==null&&_0x2d8501!==void 0x0?_0x2d8501:![],'onChange':_0x450316=>{_0x1c68d2(Boolean(_0x450316));},'children':_0x4aac3d(_0x32f0c3(0xb8))})})]}),_0x3568c1&&(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d(_0x32f0c3(0x3c5))}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x159)],{'className':_0x32f0c3(0x2a5),'value':_0x44cc5d||'','options':_0x5f1448,'onChange':_0x393448})]}),(0x0,react_jsx_runtime['jsxs'])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d('chart.dataRange')}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_sheets_formula_ui[_0x32f0c3(0x4c3)],{'supportAcrossSheet':!![],'keepSheetReference':!![],'maxRangeCount':0x1,'unitId':_0x7da6d8,'subUnitId':_0x25d204,'initialValue':_0x508f8f?serializeChartDataRange(_0x508f8f,_0x44bc9):'','onChange':(_0x408d54,_0x30afb0)=>_0x54fc79(_0x30afb0),'onFocusChange':_0x30fe7b=>{if(_0xa38bc6)return;_0x2bae37(_0x30fe7b);},'onRangeSelectorDialogVisibleChange':_0x433cee=>{if(_0x433cee)_0xfcb09c(!![]),_0x2bae37(!![]);else _0xfcb09c(![]);}})]}),!_0x311b08&&!_0x4dd231&&!_0x4411d5&&!_0xe07bec&&!_0x90303b&&(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x4aac3d(_0x32f0c3(0x49c))}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x159)],{'className':_0x32f0c3(0x2a5),'value':typeof _0x5dab64==='number'?String(_0x5dab64):'','options':_0x17dd79||[],'onChange':_0x31575c=>_0x442ea3(Number(_0x31575c))})]}),(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'children':[!_0x311b08&&!_0x4dd231&&!_0x4411d5&&!_0xe07bec&&!_0x90303b&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x32f0c3(0x90)],{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d(_0x32f0c3(0x88))}),(0x0,react_jsx_runtime['jsxs'])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x4d7),'children':[_0x23ef24===null||_0x23ef24===void 0x0?void 0x0:_0x23ef24[_0x32f0c3(0x246)]((_0x29100a,_0x31dc08)=>{const _0x142069=_0x32f0c3;return(0x0,react_jsx_runtime['jsxs'])(_0x142069(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-items-center','children':[(0x0,react_jsx_runtime[_0x142069(0x339)])(_univerjs_design[_0x142069(0x159)],{'className':_0x142069(0x2a5),'value':String(_0x29100a),'options':_0x1ca8f3,'onChange':_0x2c2274=>{_0x23ef24[_0x31dc08]=Number(_0x2c2274),_0x51f622(_0x23ef24['slice']());}}),(0x0,react_jsx_runtime[_0x142069(0x339)])('div',{'className':'univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','onClick':()=>_0x758f27(_0x31dc08),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['DeleteEmptyIcon'],{})})]},_0x31dc08);}),_0x181995&&_0x1ca8f3&&!_0x4411d5&&!_0xe07bec&&!_0x90303b&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design['DropdownMenu'],{'className':_0x32f0c3(0xbb),'items':_0x1ca8f3[_0x32f0c3(0x246)](_0x3d1200=>({'type':'item','children':_0x3d1200[_0x32f0c3(0x13a)],'onSelect':()=>{_0x51f622([..._0x23ef24||[],Number(_0x3d1200['value'])]);}})),'children':(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])('a',{'className':_0x32f0c3(0x404),'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_icons['IncreaseIcon'],{'className':_0x32f0c3(0x288)}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_0x32f0c3(0x9c),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x4aac3d(_0x32f0c3(0xe4))})]})})]})]}),_0x36341c&&!_0x311b08&&!_0x4dd231&&!_0x4411d5&&!_0xe07bec&&!_0x90303b&&(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(react_jsx_runtime[_0x32f0c3(0x90)],{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d('chart.trendline.name')}),(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'className':'univer-mt-2','children':[_0x1669c5===null||_0x1669c5===void 0x0?void 0x0:_0x1669c5['map']((_0x40fe5a,_0x5c68be)=>{const _0x56fe18=_0x32f0c3;return(0x0,react_jsx_runtime[_0x56fe18(0x2d7)])(_0x56fe18(0x3d7),{'className':_0x56fe18(0x331),'children':[(0x0,react_jsx_runtime[_0x56fe18(0x339)])(_univerjs_design[_0x56fe18(0x159)],{'className':_0x56fe18(0x2a5),'value':String(_0x40fe5a[_0x56fe18(0x318)]),'options':_0x1ca8f3,'onChange':_0x5c83de=>{_0x4220b4(_0x5c68be,Number(_0x5c83de)-0x1);}}),(0x0,react_jsx_runtime[_0x56fe18(0x339)])(_0x56fe18(0x3d7),{'className':'univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','onClick':()=>_0x18b676(_0x5c68be),'children':(0x0,react_jsx_runtime[_0x56fe18(0x339)])(_univerjs_icons['DeleteEmptyIcon'],{})})]},_0x5c68be);}),_0x36341c&&_0x1ca8f3&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x2b1)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x1ca8f3[_0x32f0c3(0x246)](_0x3904a6=>({'type':_0x32f0c3(0x124),'children':_0x3904a6[_0x32f0c3(0x13a)],'onSelect':()=>{const _0xb9593c=_0x32f0c3,_0x4fc920={'seriesIndex':Number(_0x3904a6[_0xb9593c(0x3ce)])-0x1,'type':_univerjs_pro_engine_chart['ChartTrendlineType'][_0xb9593c(0x31c)],'name':_0x4aac3d(_0xb9593c(0xf4))+'-'+_0x4aac3d(_0xb9593c(0x45a))+'-('+_0x3904a6[_0xb9593c(0x13a)]+')'};_0x47fd92([..._0x1669c5||[],_0x4fc920]);}})),'children':(0x0,react_jsx_runtime['jsxs'])('a',{'className':'univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_icons[_0x32f0c3(0x7b)],{'className':'univer-text-xs'}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_0x32f0c3(0x9c),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x4aac3d(_0x32f0c3(0x459))})]})})]})]}),_0xe07bec&&(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x4d7),'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d(_0x32f0c3(0x275))}),(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])('div',{'className':_0x32f0c3(0x46d),'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_0x32f0c3(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4aac3d(_0x32f0c3(0x14c))}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0xb0)],{'value':_0x3c90f5!==null&&_0x3c90f5!==void 0x0?_0x3c90f5:void 0x0,'onChange':_0x143e02=>{const _0x2a043c=_0x32f0c3;_0xe18760[_0x2a043c(0xc6)](_univerjs_core[_0x2a043c(0x1ca)],![]),_0x3186f1(Number['isNaN'](_0x143e02)?null:Number(_0x143e02));},'onFocus':()=>_0xe18760[_0x32f0c3(0xc6)](_univerjs_core[_0x32f0c3(0x1ca)],!![]),'onBlur':_0x50b452=>{const _0x23eeac=_0x32f0c3;_0xe18760[_0x23eeac(0xc6)](_univerjs_core[_0x23eeac(0x1ca)],![]);const _0x1bb97a=_0x50b452['target'][_0x23eeac(0x3ce)];_0x3186f1(_0x1bb97a===''?null:Number(_0x1bb97a));},'onPressEnter':_0x536f76=>{const _0x57ca26=_0x32f0c3,_0x5bd4eb=_0x536f76['target'][_0x57ca26(0x3ce)];_0x3186f1(_0x5bd4eb===''?null:Number(_0x5bd4eb));}})]}),(0x0,react_jsx_runtime[_0x32f0c3(0x2d7)])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x3f0),'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])('div',{'className':_0x32f0c3(0x15f),'children':_0x4aac3d(_0x32f0c3(0x3fb))}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0xb0)],{'value':_0x261660!==null&&_0x261660!==void 0x0?_0x261660:void 0x0,'onChange':_0x3f0458=>{const _0x24a2ed=_0x32f0c3;_0xe18760[_0x24a2ed(0xc6)](_univerjs_core[_0x24a2ed(0x1ca)],![]),_0x742eef(Number[_0x24a2ed(0x3de)](_0x3f0458)?null:Number(_0x3f0458));},'onFocus':()=>_0xe18760[_0x32f0c3(0xc6)](_univerjs_core[_0x32f0c3(0x1ca)],!![]),'onBlur':_0x58cb96=>{const _0x11a6f8=_0x32f0c3;_0xe18760[_0x11a6f8(0xc6)](_univerjs_core[_0x11a6f8(0x1ca)],![]);const _0x3bacb0=_0x58cb96[_0x11a6f8(0x35e)][_0x11a6f8(0x3ce)];_0x742eef(_0x3bacb0===''?null:Number(_0x3bacb0));},'onPressEnter':_0x10cd29=>{const _0x271ae6=_0x32f0c3,_0x379354=_0x10cd29[_0x271ae6(0x35e)][_0x271ae6(0x3ce)];_0x742eef(_0x379354===''?null:Number(_0x379354));}})]})]}),_0x311b08&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(BubbleDataEdit,{'service':_0x754e1d,'localeService':_0x14ed26}),!_0x4dd231&&!_0x4411d5&&!_0xe07bec&&!_0x90303b&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])('div',{'className':_0x32f0c3(0x4ae),'children':(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x353)],{'className':'','size':'small','onClick':()=>{const _0x5466d7=_0x32f0c3;_0x34ccfd(_0xb1ccb7===_univerjs_pro_engine_chart[_0x5466d7(0x35f)][_0x5466d7(0x382)]?_univerjs_pro_engine_chart[_0x5466d7(0x35f)]['Column']:_univerjs_pro_engine_chart[_0x5466d7(0x35f)][_0x5466d7(0x382)]);},'children':_0x4aac3d(_0x32f0c3(0x374))})}),_0x1e9f8d&&(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_0x32f0c3(0x3d7),{'className':_0x32f0c3(0x4ae),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x32f0c3(0x12d)],{'checked':_0x11a3a4,'onChange':_0x5cd1bb=>{_0x37343c(!!_0x5cd1bb);},'children':_0x4aac3d('chart.settingsLabels.useAsCategoryLabels',(_0xb1ccb7||'')+'\x20'+(((_0x237fed=_0xb1ccb7===_univerjs_pro_engine_chart[_0x32f0c3(0x35f)][_0x32f0c3(0x382)]?_0x508f8f===null||_0x508f8f===void 0x0?void 0x0:_0x508f8f['rangeInfo'][_0x32f0c3(0x228)][_0x32f0c3(0x2ce)]:_0x508f8f===null||_0x508f8f===void 0x0?void 0x0:_0x508f8f[_0x32f0c3(0x9b)][_0x32f0c3(0x228)][_0x32f0c3(0x222)])!==null&&_0x237fed!==void 0x0?_0x237fed:0x0)+0x1))})})]}),_0xcc4cfc&&(0x0,react_jsx_runtime['jsxs'])(_0x32f0c3(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(ChartEditBlockTitle,{'title':_0x4aac3d('chart.settingsLabels.showEmptyCellsAs')}),(0x0,react_jsx_runtime[_0x32f0c3(0x339)])('div',{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design['RadioGroup'],{'value':_0x42f131!==null&&_0x42f131!==void 0x0?_0x42f131:_univerjs_pro_engine_chart[_0x32f0c3(0x4cc)][_0x32f0c3(0x4fd)],'onChange':_0x4d35c8=>_0x5b54d3(_0x4d35c8),'className':_0x32f0c3(0x264),'children':_0x2fb745['map'](_0x12bd75=>(0x0,react_jsx_runtime[_0x32f0c3(0x339)])(_univerjs_design[_0x32f0c3(0x106)],{'value':_0x12bd75[_0x32f0c3(0x3ce)],'children':_0x12bd75['label']},_0x12bd75['value']))})})]})]});},ColorPickerControl=_0x5222e3=>{const _0x253a9d=_0x1d8fa5,{color:_0x40e535,onChange:_0x2c5bb2}=_0x5222e3,[_0x5d5996,_0x47a081]=(0x0,react['useState'])(![]),_0x46ca20=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x253a9d(0x1ed)]),_0x29f150=_0x40e535===_0x253a9d(0x1c3)||_0x40e535==null,_0xbc9d4=(0x0,react[_0x253a9d(0x9d)])(_0x454ab7=>{_0x2c5bb2===null||_0x2c5bb2===void 0x0||_0x2c5bb2(_0x454ab7),_0x47a081(![]);},[_0x2c5bb2]);return(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x253a9d(0x4b7)],{'overlay':(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x253a9d(0xb2),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x253a9d(0x353)],{'className':_0x253a9d(0xd0),'onClick':()=>_0xbc9d4(null),'children':_0x46ca20['t'](_0x253a9d(0x524))}),(0x0,react_jsx_runtime[_0x253a9d(0x339)])(_univerjs_design[_0x253a9d(0x1c9)],{'value':_0x29f150?_0x253a9d(0x3d4):_0x40e535,'onChange':_0xbc9d4})]}),'open':_0x5d5996,'onOpenChange':_0x47a081,'children':(0x0,react_jsx_runtime[_0x253a9d(0x339)])(_univerjs_design[_0x253a9d(0x353)],{'className':_0x253a9d(0x328),'children':(0x0,react_jsx_runtime['jsxs'])(_0x253a9d(0x3d7),{'className':_0x253a9d(0x2b3),'children':[_0x29f150?(0x0,react_jsx_runtime[_0x253a9d(0x339)])(_0x253a9d(0x3d7),{'className':_0x253a9d(0x153),'children':_0x46ca20['t'](_0x253a9d(0x499))}):(0x0,react_jsx_runtime['jsx'])(_0x253a9d(0x3d7),{'className':(0x0,_univerjs_design[_0x253a9d(0x4d6)])(_0x253a9d(0x400),_univerjs_design[_0x253a9d(0x127)]),'style':{'backgroundColor':_0x40e535}}),(0x0,react_jsx_runtime[_0x253a9d(0x339)])(_univerjs_icons[_0x253a9d(0xa1)],{'className':(0x0,_univerjs_design[_0x253a9d(0x4d6)])('univer-ml-2\x20univer-transition-transform',{'univer-rotate-180':_0x5d5996})})]})})});},DropdownSelector=_0x17ffdd=>{const _0x36db00=_0x1d8fa5,{value:_0x310a10,menus:_0x52ed70,onSelect:_0x46d5f6,children:_0x33e82b}=_0x17ffdd,[_0x4d1518,_0xbd9d11]=(0x0,react[_0x36db00(0x3ba)])(![]);return(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x36db00(0x2b1)],{'items':[{'type':'radio','value':_0x310a10['toString'](),'options':_0x52ed70,'onSelect':_0x43e5d4=>_0x46d5f6===null||_0x46d5f6===void 0x0?void 0x0:_0x46d5f6(_0x43e5d4)}],'open':_0x4d1518,'onOpenChange':_0xbd9d11,'children':typeof _0x33e82b==='function'?_0x33e82b(_0x4d1518):_0x33e82b});},FontFormatBar=_0x1e63ec=>{const _0x4b81c7=_0x1d8fa5;var _0x1f545a;const {localeService:_0x2f7433,className:_0x24f285,fontSize:fontSize=_univerjs_pro_engine_chart[_0x4b81c7(0x4cc)]['textStyle'][_0x4b81c7(0x14a)],color:_0xc48c9c,bold:_0x68ec9f,italic:_0x97392c,align:_0x6f6a56,alignControl:alignControl=![],onChange:_0x3ee1e0}=_0x1e63ec,_0x502e16=useTranslatedOptions(_0x2f7433,textAlignOptions),[_0x3329f9,_0x5c6883]=(0x0,react[_0x4b81c7(0x3ba)])(![]);return(0x0,react_jsx_runtime[_0x4b81c7(0x2d7)])('div',{'className':(0x0,_univerjs_design[_0x4b81c7(0x4d6)])(_0x4b81c7(0x432),_univerjs_design['borderClassName'],_0x24f285),'children':[(0x0,react_jsx_runtime['jsx'])(DropdownSelector,{'value':fontSize[_0x4b81c7(0x1d0)](),'menus':fontSizeOptions[_0x4b81c7(0x246)](_0x26b96d=>({..._0x26b96d})),'onSelect':_0xd9306d=>_0x3ee1e0===null||_0x3ee1e0===void 0x0?void 0x0:_0x3ee1e0(_0x4b81c7(0x2e1),Number(_0xd9306d)),'children':_0x5476c6=>(0x0,react_jsx_runtime[_0x4b81c7(0x2d7)])('div',{'className':'univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','children':[(0x0,react_jsx_runtime['jsx'])(_0x4b81c7(0x9c),{'children':fontSize}),(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x4b81c7(0xa1)],{'className':(0x0,_univerjs_design['clsx'])(_0x4b81c7(0x296),{'univer-rotate-180':_0x5476c6})})]})}),(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_univerjs_design['Dropdown'],{'overlay':(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x4b81c7(0x268),'children':(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_univerjs_design[_0x4b81c7(0x1c9)],{'value':_0xc48c9c,'onChange':_0x2fbeb5=>_0x3ee1e0===null||_0x3ee1e0===void 0x0?void 0x0:_0x3ee1e0(_0x4b81c7(0x457),_0x2fbeb5)})}),'open':_0x3329f9,'onOpenChange':_0x5c6883,'children':(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x4b81c7(0x4d8),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x4b81c7(0x34c)],{'className':_0x4b81c7(0x494),'extend':{'colorChannel1':_0xc48c9c!==null&&_0xc48c9c!==void 0x0?_0xc48c9c:_univerjs_pro_engine_chart[_0x4b81c7(0x4cc)][_0x4b81c7(0x414)][_0x4b81c7(0x457)]}}),(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_univerjs_icons[_0x4b81c7(0xa1)],{'className':(0x0,_univerjs_design[_0x4b81c7(0x4d6)])(_0x4b81c7(0x4d4),{'univer-rotate-180':_0x3329f9})})]})}),alignControl&&(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(DropdownSelector,{'value':(_0x1f545a=_0x6f6a56===null||_0x6f6a56===void 0x0?void 0x0:_0x6f6a56[_0x4b81c7(0x1d0)]())!==null&&_0x1f545a!==void 0x0?_0x1f545a:'','menus':_0x502e16[_0x4b81c7(0x246)](_0xda94f9=>({..._0xda94f9})),'onSelect':_0x38418a=>_0x3ee1e0===null||_0x3ee1e0===void 0x0?void 0x0:_0x3ee1e0(_0x4b81c7(0x2f7),_0x38418a),'children':(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_0x4b81c7(0x3d7),{'className':'univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','children':(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_univerjs_icons[_0x4b81c7(0x27d)],{})})}),(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_0x4b81c7(0x3d7),{'onClick':()=>_0x3ee1e0===null||_0x3ee1e0===void 0x0?void 0x0:_0x3ee1e0(_0x4b81c7(0x96),!_0x68ec9f),'className':(0x0,_univerjs_design[_0x4b81c7(0x4d6)])(_0x4b81c7(0x48c),{'univer-bg-gray-50\x20univer-text-primary-600':_0x68ec9f}),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x4b81c7(0x1aa)],{})}),(0x0,react_jsx_runtime['jsx'])(_0x4b81c7(0x3d7),{'onClick':()=>_0x3ee1e0===null||_0x3ee1e0===void 0x0?void 0x0:_0x3ee1e0('italic',!_0x97392c),'className':(0x0,_univerjs_design['clsx'])('univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1',{'univer-bg-gray-50\x20univer-text-primary-600':_0x97392c}),'children':(0x0,react_jsx_runtime[_0x4b81c7(0x339)])(_univerjs_icons[_0x4b81c7(0x50b)],{})})]});};function isValidNumber(_0x5ab10c){const _0x3a6584=_0x1d8fa5;return!Number[_0x3a6584(0x3de)](_0x5ab10c)&&Number[_0x3a6584(0x3cb)](_0x5ab10c);}const AxisOptionsEdit=_0x38c709=>{const _0x52d415=_0x1d8fa5;var _0x3720ea,_0x46ead4,_0x4b4181,_0x18ee82,_0x827d23,_0x498be6,_0x53a7ca,_0x220b31,_0x13fc32,_0x436281;const {localeService:_0x4d2802,valueAxis:_0x237706,axisOptions:_0x331f3d,onChange:_0x4ab659,canUseDateAxis:_0x825189,sheetsChartUIService:_0xfe2007}=_0x38c709,{t:_0x9b212c}=_0x4d2802,[_0x5c024f,_0x163ad6]=(0x0,react[_0x52d415(0x3ba)])(_0x331f3d===null||_0x331f3d===void 0x0?void 0x0:_0x331f3d[_0x52d415(0x11c)]),[_0x542f64,_0x10a6d7]=(0x0,react[_0x52d415(0x3ba)])(_0x331f3d===null||_0x331f3d===void 0x0?void 0x0:_0x331f3d[_0x52d415(0x447)]),_0x43c4d7=(0x0,_univerjs_ui[_0x52d415(0x515)])(_univerjs_core[_0x52d415(0x3e1)]),[_0xbd65f2,_0x1b56f5]=useChartConfigState(_0x52d415(0xdf),_0xfe2007,![]),_0x761778=_0x1ccdcf=>{if(_0x1ccdcf!==null&&!isValidNumber(_0x1ccdcf)){_0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'min':null}),_0x10a6d7(null);return;}if(_0x1ccdcf===null||_0x1ccdcf===void 0x0)_0x10a6d7(null),_0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'min':null});else{_0x10a6d7(_0x1ccdcf);if(_0x5c024f!==null&&_0x5c024f!==void 0x0&&_0x1ccdcf>=_0x5c024f)_0x163ad6(null),_0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'min':_0x1ccdcf,'max':null});else _0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'min':_0x1ccdcf});}},_0x2a7149=_0x12f22d=>{if(_0x12f22d!==null&&!isValidNumber(_0x12f22d)){_0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'max':null}),_0x163ad6(null);return;}if(_0x12f22d===null||_0x12f22d===void 0x0)_0x163ad6(null),_0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'max':null});else{_0x163ad6(_0x12f22d);if(_0x542f64!==null&&_0x542f64!==void 0x0&&_0x12f22d<=_0x542f64)_0x10a6d7(null),_0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'max':_0x12f22d,'min':null});else _0x4ab659===null||_0x4ab659===void 0x0||_0x4ab659({'max':_0x12f22d});}},_0x10a98c=(_0x3720ea=_0x331f3d===null||_0x331f3d===void 0x0||(_0x46ead4=_0x331f3d['label'])===null||_0x46ead4===void 0x0?void 0x0:_0x46ead4['rotate'])!==null&&_0x3720ea!==void 0x0?_0x3720ea:_0xbd65f2?_univerjs_pro_engine_chart[_0x52d415(0x4cc)]['axis']['dateAxisRotate']:0x0;return(0x0,react_jsx_runtime[_0x52d415(0x2d7)])(_0x52d415(0x149),{'children':[(0x0,react_jsx_runtime[_0x52d415(0x339)])(_0x52d415(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b212c(_0x52d415(0x4ba))}),(0x0,react_jsx_runtime[_0x52d415(0x2d7)])(_0x52d415(0x3d7),{'className':_0x52d415(0x4c0),'children':[(0x0,react_jsx_runtime[_0x52d415(0x339)])(_0x52d415(0x3d7),{'className':_0x52d415(0x46d),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x52d415(0x12d)],{'checked':(_0x4b4181=_0x331f3d===null||_0x331f3d===void 0x0||(_0x18ee82=_0x331f3d[_0x52d415(0x13a)])===null||_0x18ee82===void 0x0?void 0x0:_0x18ee82[_0x52d415(0x1dd)])!==null&&_0x4b4181!==void 0x0?_0x4b4181:_univerjs_pro_engine_chart['defaultChartConfig']['axis'][_0x52d415(0x105)],'onChange':_0x43186c=>_0x4ab659===null||_0x4ab659===void 0x0?void 0x0:_0x4ab659({'label':{'visible':Boolean(_0x43186c)}}),'children':_0x9b212c('chart.styleEditPanel.showLabels')})}),!_0x237706&&(0x0,react_jsx_runtime[_0x52d415(0x2d7)])(_0x52d415(0x3d7),{'className':_0x52d415(0x46d),'children':[(0x0,react_jsx_runtime[_0x52d415(0x339)])(_univerjs_design[_0x52d415(0x12d)],{'checked':(_0x827d23=_0x331f3d===null||_0x331f3d===void 0x0?void 0x0:_0x331f3d[_0x52d415(0x154)])!==null&&_0x827d23!==void 0x0?_0x827d23:_univerjs_pro_engine_chart['defaultChartConfig'][_0x52d415(0x4b9)][_0x52d415(0x154)],'onChange':_0x474373=>_0x4ab659===null||_0x4ab659===void 0x0?void 0x0:_0x4ab659({'reverse':Boolean(_0x474373)}),'children':_0x9b212c(_0x52d415(0x500))}),'\x20']})]}),(0x0,react_jsx_runtime[_0x52d415(0x339)])(_univerjs_design[_0x52d415(0x12d)],{'className':_0x52d415(0x4d7),'checked':(_0x498be6=_0x331f3d===null||_0x331f3d===void 0x0?void 0x0:_0x331f3d[_0x52d415(0x469)])!==null&&_0x498be6!==void 0x0?_0x498be6:![],'onChange':_0x34dbd4=>_0x4ab659===null||_0x4ab659===void 0x0?void 0x0:_0x4ab659({'lineVisible':Boolean(_0x34dbd4)}),'children':_0x9b212c(_0x52d415(0x22e))}),(0x0,react_jsx_runtime['jsx'])(_0x52d415(0x3d7),{'className':_0x52d415(0x4c0),'children':(0x0,react_jsx_runtime[_0x52d415(0x339)])(FontFormatBar,{'className':_0x52d415(0x4d7),..._0x331f3d===null||_0x331f3d===void 0x0?void 0x0:_0x331f3d[_0x52d415(0x13a)],'localeService':_0x4d2802,'fontSize':(_0x53a7ca=_0x331f3d===null||_0x331f3d===void 0x0||(_0x220b31=_0x331f3d[_0x52d415(0x13a)])===null||_0x220b31===void 0x0?void 0x0:_0x220b31[_0x52d415(0x2e1)])!==null&&_0x53a7ca!==void 0x0?_0x53a7ca:_univerjs_pro_engine_chart[_0x52d415(0x4cc)][_0x52d415(0x414)]['fontSize'],'color':(_0x13fc32=_0x331f3d===null||_0x331f3d===void 0x0||(_0x436281=_0x331f3d[_0x52d415(0x13a)])===null||_0x436281===void 0x0?void 0x0:_0x436281[_0x52d415(0x457)])!==null&&_0x13fc32!==void 0x0?_0x13fc32:_univerjs_pro_engine_chart[_0x52d415(0x4cc)][_0x52d415(0x414)][_0x52d415(0x457)],'onChange':(_0x3a46be,_0x509a1a)=>_0x4ab659===null||_0x4ab659===void 0x0?void 0x0:_0x4ab659({'label':{[_0x3a46be]:_0x509a1a}})})}),_0x825189&&(0x0,react_jsx_runtime[_0x52d415(0x339)])('div',{'className':_0x52d415(0x4c0),'children':(0x0,react_jsx_runtime[_0x52d415(0x339)])(_univerjs_design[_0x52d415(0x12d)],{'checked':Boolean(_0xbd65f2),'onChange':_0x4530e6=>_0x1b56f5===null||_0x1b56f5===void 0x0?void 0x0:_0x1b56f5(Boolean(_0x4530e6)),'children':(0x0,react_jsx_runtime[_0x52d415(0x339)])(_univerjs_design[_0x52d415(0x1ff)],{'title':_0x9b212c(_0x52d415(0x503)),'children':(0x0,react_jsx_runtime['jsx'])('span',{'children':_0x9b212c(_0x52d415(0x138))})})})}),(0x0,react_jsx_runtime[_0x52d415(0x2d7)])('div',{'className':_0x52d415(0x4c0),'children':[(0x0,react_jsx_runtime[_0x52d415(0x339)])(_0x52d415(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b212c('chart.styleEditPanel.labelRotate')}),(0x0,react_jsx_runtime[_0x52d415(0x339)])(_univerjs_design['Select'],{'className':_0x52d415(0x3f6),'value':String(_0x10a98c),'onChange':_0x365622=>_0x4ab659===null||_0x4ab659===void 0x0?void 0x0:_0x4ab659({'label':{'rotate':Number(_0x365622)}}),'options':axisLabelRotateOptions})]}),_0x237706&&(0x0,react_jsx_runtime[_0x52d415(0x2d7)])('div',{'className':_0x52d415(0x4c0),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x52d415(0x3d7),{'className':_0x52d415(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x52d415(0x3d7),{'className':_0x52d415(0x15f),'children':_0x9b212c(_0x52d415(0x14c))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['InputNumber'],{'value':_0x542f64,'onChange':_0xa20d11=>{const _0x2a40f6=_0x52d415;_0x10a6d7(_0xa20d11),_0x43c4d7['setContextValue'](_univerjs_core[_0x2a40f6(0x1ca)],![]),_0x761778(Number[_0x2a40f6(0x3de)](_0xa20d11)?null:Number(_0xa20d11));},'onFocus':()=>_0x43c4d7[_0x52d415(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x481f9f=>{const _0x5aafae=_0x52d415;_0x43c4d7[_0x5aafae(0xc6)](_univerjs_core[_0x5aafae(0x1ca)],![]);const _0x14593b=_0x481f9f[_0x5aafae(0x35e)][_0x5aafae(0x3ce)];_0x761778(_0x14593b===''?null:Number(_0x14593b));},'onPressEnter':_0x1fb758=>{const _0x3404e9=_0x52d415,_0x135a66=_0x1fb758[_0x3404e9(0x35e)][_0x3404e9(0x3ce)];_0x761778(_0x135a66===''?null:Number(_0x135a66));}})]}),(0x0,react_jsx_runtime[_0x52d415(0x2d7)])(_0x52d415(0x3d7),{'className':_0x52d415(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x52d415(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b212c(_0x52d415(0x3fb))}),(0x0,react_jsx_runtime[_0x52d415(0x339)])(_univerjs_design[_0x52d415(0xb0)],{'value':_0x5c024f,'onChange':_0x3b5984=>{const _0x527407=_0x52d415;_0x163ad6(_0x3b5984),_0x43c4d7[_0x527407(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x2a7149(Number['isNaN'](_0x3b5984)?null:Number(_0x3b5984));},'onFocus':()=>_0x43c4d7[_0x52d415(0xc6)](_univerjs_core[_0x52d415(0x1ca)],!![]),'onBlur':_0x31324a=>{const _0x55ae51=_0x52d415;_0x43c4d7[_0x55ae51(0xc6)](_univerjs_core[_0x55ae51(0x1ca)],![]);const _0x2ba20c=_0x31324a[_0x55ae51(0x35e)][_0x55ae51(0x3ce)];_0x2a7149(_0x2ba20c===''?null:Number(_0x2ba20c));},'onPressEnter':_0x4eb965=>{const _0x1d1945=_0x52d415,_0xb97079=_0x4eb965[_0x1d1945(0x35e)][_0x1d1945(0x3ce)];_0x2a7149(_0xb97079===''?null:Number(_0xb97079));}})]})]})]});},GridLineAndTickOptions=_0x5ce287=>{const _0x425401=_0x1d8fa5;var _0x75224,_0x4a2d0a,_0x1b274c,_0x308f84;const {runtimeAxes:_0x163d81,localeService:_0xec68d0,service:_0x23c179,className:_0x23c2d8}=_0x5ce287,{t:_0x52ca12}=_0xec68d0,_0x12fa4d=useTranslatedOptions(_0xec68d0,(0x0,react[_0x425401(0x389)])(()=>axisListOptions[_0x425401(0x4de)](_0x415692=>{const _0x5d030e=_0x425401,_0x3def7a=_0x163d81===null||_0x163d81===void 0x0?void 0x0:_0x163d81['some'](_0x260239=>_0x260239[_0x5d030e(0x2ba)]===_univerjs_pro_engine_chart[_0x5d030e(0x3ed)][_0x5d030e(0x467)]);if(_0x415692['value']===_0x5d030e(0x3d3))return _0x3def7a;return!![];}),[_0x163d81])),_0x38ceb1=(0x0,react['useMemo'])(()=>_0x163d81===null||_0x163d81===void 0x0?void 0x0:_0x163d81['find'](_0x4d29d2=>_0x4d29d2[_0x425401(0x21c)]===_univerjs_pro_engine_chart[_0x425401(0x28e)][_0x425401(0xf2)]),[_0x163d81]),[_0x484303,_0x231d46]=(0x0,react[_0x425401(0x3ba)])(axisListOptions[0x0][_0x425401(0x3ce)]),[_0x2b8ea1,_0x51d3b5]=useChartConfigState(_0x425401(0x46f),_0x23c179),[_0x570d33,_0x59602b]=useChartConfigState(_0x425401(0x2c2),_0x23c179),[_0x4a1fc9,_0x2e693c]=useChartConfigState('rightYAxisOptions',_0x23c179),_0x51f6c5={'xAxis':_0x2b8ea1,'yAxis':_0x570d33,'rightYAxis':_0x4a1fc9}[_0x484303],_0x408107={'xAxis':_0x51d3b5,'yAxis':_0x59602b,'rightYAxis':_0x2e693c}[_0x484303],_0x3dc94e={'xAxis':'bottom','yAxis':_0x425401(0x169),'rightYAxis':_0x425401(0x417)}[_0x484303],_0x526ba7=_0x51f6c5===null||_0x51f6c5===void 0x0?void 0x0:_0x51f6c5[_0x425401(0x426)],_0x16dc48=_0x51f6c5===null||_0x51f6c5===void 0x0?void 0x0:_0x51f6c5['gridLine'],_0x373f74=(0x0,react[_0x425401(0x9d)])(_0x4716f9=>{_0x408107===null||_0x408107===void 0x0||_0x408107({'gridLine':_0x4716f9});},[_0x408107]),{visible:_0x2e9917,color:_0x2ee647,width:_0x2045d6}=_0x16dc48!==null&&_0x16dc48!==void 0x0?_0x16dc48:{},_0xc5c80=_0x2e9917!==null&&_0x2e9917!==void 0x0?_0x2e9917:(_0x38ceb1===null||_0x38ceb1===void 0x0?void 0x0:_0x38ceb1[_0x425401(0x2ba)])===_0x3dc94e,_0x36a3df=useTranslatedOptions(_0xec68d0,pieDataLabelPositionOptions),_0x568e86=(0x0,react[_0x425401(0x389)])(()=>{const _0x4c1636=_0x425401;return defaultOption[_0x4c1636(0x13a)]=_0x52ca12(defaultOption[_0x4c1636(0x13a)]),[defaultOption,...tickLengthOptions];},[_0x52ca12]),_0x13fe34=(0x0,react[_0x425401(0x389)])(()=>{const _0x506f31=_0x425401;return defaultOption[_0x506f31(0x13a)]=_0x52ca12(defaultOption[_0x506f31(0x13a)]),[defaultOption,...tickWidthOptions];},[_0x52ca12]);return(0x0,react_jsx_runtime['jsxs'])(_0x425401(0x3d7),{'className':_0x23c2d8,'children':[(0x0,react_jsx_runtime[_0x425401(0x339)])(_0x425401(0x3d7),{'className':_0x425401(0x4c0),'children':(0x0,react_jsx_runtime[_0x425401(0x339)])(_univerjs_design['Select'],{'className':_0x425401(0x2a5),'options':_0x12fa4d,'value':_0x484303,'onChange':_0x231d46})}),(0x0,react_jsx_runtime[_0x425401(0x339)])(_0x425401(0x3d7),{'className':_0x425401(0x4c0),'children':(0x0,react_jsx_runtime[_0x425401(0x339)])(_0x425401(0x3d7),{'className':_0x425401(0x46d),'children':(0x0,react_jsx_runtime[_0x425401(0x339)])(_univerjs_design[_0x425401(0x12d)],{'checked':_0xc5c80,'onChange':_0x1942c0=>_0x373f74===null||_0x373f74===void 0x0?void 0x0:_0x373f74({'visible':Boolean(_0x1942c0)}),'children':_0x52ca12(_0x425401(0x132))})})}),_0xc5c80&&(0x0,react_jsx_runtime[_0x425401(0x2d7)])(_0x425401(0x3d7),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x425401(0x2d7)])(_0x425401(0x3d7),{'className':_0x425401(0x46d),'children':[(0x0,react_jsx_runtime[_0x425401(0x2d7)])('div',{'className':_0x425401(0x15f),'children':[_0x52ca12(_0x425401(0x40d)),_0x52ca12(_0x425401(0x34d))]}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':_0x2ee647,'onChange':_0x2051f8=>_0x373f74===null||_0x373f74===void 0x0?void 0x0:_0x373f74({'color':_0x2051f8!==null&&_0x2051f8!==void 0x0?_0x2051f8:void 0x0})})]}),(0x0,react_jsx_runtime[_0x425401(0x2d7)])(_0x425401(0x3d7),{'className':_0x425401(0x46d),'children':[(0x0,react_jsx_runtime[_0x425401(0x339)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x52ca12('chart.withThickness',_0x52ca12(_0x425401(0x40d)))}),(0x0,react_jsx_runtime[_0x425401(0x339)])(_univerjs_design[_0x425401(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x2045d6!==null&&_0x2045d6!==void 0x0?_0x2045d6:''),'onChange':_0x440a99=>_0x373f74===null||_0x373f74===void 0x0?void 0x0:_0x373f74({'width':Number(_0x440a99)}),'options':tickThicknessOptions})]})]}),(0x0,react_jsx_runtime[_0x425401(0x2d7)])('div',{'children':[(0x0,react_jsx_runtime['jsx'])(_0x425401(0x3d7),{'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x425401(0x12d)],{'checked':_0x526ba7===null||_0x526ba7===void 0x0?void 0x0:_0x526ba7[_0x425401(0x1dd)],'onChange':_0x35c927=>_0x408107===null||_0x408107===void 0x0?void 0x0:_0x408107({'tick':{'visible':Boolean(_0x35c927)}}),'children':_0x52ca12(_0x425401(0x2ff))})}),(0x0,react_jsx_runtime[_0x425401(0x2d7)])(_0x425401(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x425401(0x2d7)])(_0x425401(0x3d7),{'className':_0x425401(0x4c0),'children':[(0x0,react_jsx_runtime[_0x425401(0x2d7)])('div',{'className':_0x425401(0x46d),'children':[(0x0,react_jsx_runtime[_0x425401(0x339)])(_0x425401(0x3d7),{'className':_0x425401(0x15f),'children':_0x52ca12('chart.ticks.tickPosition')}),(0x0,react_jsx_runtime[_0x425401(0x339)])(_univerjs_design[_0x425401(0x159)],{'className':_0x425401(0x2a5),'value':(_0x75224=_0x526ba7===null||_0x526ba7===void 0x0?void 0x0:_0x526ba7[_0x425401(0x2ba)])!==null&&_0x75224!==void 0x0?_0x75224:_univerjs_pro_engine_chart['PieLabelPosition']['Outside'],'options':_0x36a3df,'onChange':_0x1e305f=>_0x408107===null||_0x408107===void 0x0?void 0x0:_0x408107({'tick':{'position':_0x1e305f}})})]}),(0x0,react_jsx_runtime[_0x425401(0x2d7)])('div',{'className':_0x425401(0x46d),'children':[(0x0,react_jsx_runtime[_0x425401(0x339)])(_0x425401(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x52ca12(_0x425401(0x1fc))}),(0x0,react_jsx_runtime[_0x425401(0x339)])(_univerjs_design[_0x425401(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x4a2d0a=_0x526ba7===null||_0x526ba7===void 0x0?void 0x0:_0x526ba7[_0x425401(0x451)])!==null&&_0x4a2d0a!==void 0x0?_0x4a2d0a:defaultOption[_0x425401(0x3ce)]),'options':_0x568e86,'onChange':_0x3b2ca0=>_0x408107===null||_0x408107===void 0x0?void 0x0:_0x408107({'tick':{'length':_0x3b2ca0===defaultOption[_0x425401(0x3ce)]?void 0x0:Number(_0x3b2ca0)}})})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x425401(0x3d7),{'className':_0x425401(0x4c0),'children':[(0x0,react_jsx_runtime[_0x425401(0x2d7)])(_0x425401(0x3d7),{'className':_0x425401(0x46d),'children':[(0x0,react_jsx_runtime[_0x425401(0x339)])(_0x425401(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x52ca12(_0x425401(0x437),_0x52ca12(_0x425401(0x3ab)))}),(0x0,react_jsx_runtime[_0x425401(0x339)])(_univerjs_design[_0x425401(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x1b274c=_0x526ba7===null||_0x526ba7===void 0x0?void 0x0:_0x526ba7[_0x425401(0xaf)])!==null&&_0x1b274c!==void 0x0?_0x1b274c:defaultOption[_0x425401(0x3ce)]),'options':_0x13fe34,'onChange':_0x23ce03=>_0x408107===null||_0x408107===void 0x0?void 0x0:_0x408107({'tick':{'lineWidth':_0x23ce03===defaultOption[_0x425401(0x3ce)]?void 0x0:Number(_0x23ce03)}})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x425401(0x3d7),{'className':_0x425401(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x425401(0x3d7),{'className':_0x425401(0x15f),'children':_0x52ca12(_0x425401(0x156),_0x52ca12(_0x425401(0x3ab)))}),(0x0,react_jsx_runtime[_0x425401(0x339)])(ColorPickerControl,{'color':(_0x308f84=_0x526ba7===null||_0x526ba7===void 0x0?void 0x0:_0x526ba7[_0x425401(0x1ec)])!==null&&_0x308f84!==void 0x0?_0x308f84:'','onChange':_0x2d3654=>_0x408107===null||_0x408107===void 0x0?void 0x0:_0x408107({'tick':{'lineColor':_0x2d3654!==null&&_0x2d3654!==void 0x0?_0x2d3654:void 0x0}})})]})]})]})]})]});},IndicatorLine=_0x4635c4=>{const _0x478b8c=_0x1d8fa5,{localeService:_0x359172,onChange:_0x3c9532,indicatorLabelColor:_0x420e51,indicatorLineType:_0x24c9f3,indicatorLabelTextColor:_0x31f3e1,indicatorLineColor:_0x100eba}=_0x4635c4,{t:_0x2e76e4}=_0x359172,_0x1f11e7=useTranslatedOptions(_0x359172,borderDashTypeOptions);return(0x0,react_jsx_runtime[_0x478b8c(0x2d7)])(react_jsx_runtime[_0x478b8c(0x90)],{'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x478b8c(0xba),'children':[(0x0,react_jsx_runtime[_0x478b8c(0x2d7)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x478b8c(0x339)])('div',{'className':_0x478b8c(0x15f),'children':_0x2e76e4(_0x478b8c(0x182))}),(0x0,react_jsx_runtime[_0x478b8c(0x339)])(_univerjs_design[_0x478b8c(0x159)],{'className':_0x478b8c(0x2a5),'value':_0x24c9f3,'options':_0x1f11e7,'onChange':_0x25da2e=>{_0x3c9532===null||_0x3c9532===void 0x0||_0x3c9532({'indicatorLineType':_0x25da2e});}})]}),(0x0,react_jsx_runtime[_0x478b8c(0x2d7)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x478b8c(0x339)])(_0x478b8c(0x3d7),{'className':_0x478b8c(0x15f),'children':_0x2e76e4(_0x478b8c(0x352))}),(0x0,react_jsx_runtime[_0x478b8c(0x339)])(ColorPickerControl,{'color':_0x100eba,'onChange':_0x4af8c1=>{_0x3c9532===null||_0x3c9532===void 0x0||_0x3c9532({'indicatorLineColor':_0x4af8c1});}})]})]}),(0x0,react_jsx_runtime[_0x478b8c(0x2d7)])(_0x478b8c(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x478b8c(0x46d),'children':[(0x0,react_jsx_runtime[_0x478b8c(0x339)])(_0x478b8c(0x3d7),{'className':_0x478b8c(0x15f),'children':_0x2e76e4('chart.indicatorLabel')}),(0x0,react_jsx_runtime[_0x478b8c(0x339)])(ColorPickerControl,{'color':_0x420e51,'onChange':_0x311a6a=>{_0x3c9532===null||_0x3c9532===void 0x0||_0x3c9532({'indicatorLabelColor':_0x311a6a});}})]}),(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x478b8c(0x46d),'children':[(0x0,react_jsx_runtime[_0x478b8c(0x339)])(_0x478b8c(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2e76e4('chart.indicatorValue')}),(0x0,react_jsx_runtime[_0x478b8c(0x339)])(ColorPickerControl,{'color':_0x31f3e1,'onChange':_0xb1ad69=>{_0x3c9532===null||_0x3c9532===void 0x0||_0x3c9532({'indicatorLabelTextColor':_0xb1ad69});}})]})]})]});},PercentageChartTypes=new Set([_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x535)],_univerjs_pro_engine_chart['ChartTypeBits'][_0x1d8fa5(0x52f)],_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x511)],_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)]['BarPercentStacked'],_univerjs_pro_engine_chart[_0x1d8fa5(0x14e)][_0x1d8fa5(0x252)]]),DataLabelOptions=_0x490c91=>{const _0x238396=_0x1d8fa5;var _0x3fdd9d,_0x40765e;const {fallbackLabelStyle:_0x13da09,labelStyle:_0x12a424,positionOptions:_0x29f9ad,contentTypeOptions:_0x39053b,onLabelStyleChange:_0xce6ebe,onVisibleChange:_0x18acec,onPadAngleChange:_0x184dcc,localeService:_0x2e0fe5,isPieLike:_0x465690,padAngleStyle:_0x1536c8,onHalfPieChange:_0x397b6f,isHalfPie:_0x2942e8,onRosePieChange:_0x429494,isRosePie:_0x5e19fb,onShowLabelLineChange:_0x1fd3f4,showLabelLine:_0x418369,chartType:_0x470487}=_0x490c91,_0x516ebd={..._0x13da09,..._0x12a424},{contentType:_0x573b57}=_0x516ebd,_0x2ef6d3=(0x0,react[_0x238396(0x389)])(()=>{const _0x5acffb=_0x238396;if(!_0x573b57)return[];const _0x14c4e3=labelContentTypeList[_0x5acffb(0x4de)](_0x3402c6=>_univerjs_pro_engine_chart[_0x5acffb(0xa3)][_0x5acffb(0x46b)](_0x573b57,_0x3402c6)),_0x175fd2=[];for(const _0x11de82 of _0x14c4e3)if(_0x11de82===_univerjs_pro_engine_chart['LabelContentType']['Percentage']){if(PercentageChartTypes[_0x5acffb(0x46b)](_0x470487))_0x175fd2[_0x5acffb(0x42d)](_0x11de82);}else _0x175fd2[_0x5acffb(0x42d)](_0x11de82);return _0x175fd2['map'](_0x53f50b=>String(_0x53f50b));},[_0x573b57]),_0x22c1f8=(0x0,react[_0x238396(0x9d)])(_0x19f034=>{const _0x546ed7=_0x238396,_0x4b12cb=_0x19f034['map'](_0x2cd2f6=>Number(_0x2cd2f6));if(_0x4b12cb[_0x546ed7(0x451)]<=0x0)return;const _0x27003e=_0x4b12cb['length']>0x0?_0x4b12cb[_0x546ed7(0x4ec)]((_0x1c6bf8,_0x1206a1)=>_0x1c6bf8|_0x1206a1):_univerjs_pro_engine_chart[_0x546ed7(0x15c)]['Empty'];_0xce6ebe===null||_0xce6ebe===void 0x0||_0xce6ebe('contentType',_0x27003e);},[_0xce6ebe]),{t:_0x7c3fe8}=_0x2e0fe5;return(0x0,react_jsx_runtime[_0x238396(0x2d7)])(_0x238396(0x3d7),{'children':[(0x0,react_jsx_runtime['jsx'])(_0x238396(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x238396(0x339)])(_univerjs_design[_0x238396(0x12d)],{'checked':(_0x3fdd9d=_0x516ebd[_0x238396(0x1dd)])!==null&&_0x3fdd9d!==void 0x0?_0x3fdd9d:![],'onChange':_0x398e13=>{_0x18acec===null||_0x18acec===void 0x0||_0x18acec(Boolean(_0x398e13));},'children':_0x7c3fe8(_0x238396(0x120))})}),_0x465690&&(0x0,react_jsx_runtime[_0x238396(0x2d7)])(react_jsx_runtime[_0x238396(0x90)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x238396(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x238396(0x339)])(_univerjs_design[_0x238396(0x12d)],{'checked':_0x1536c8!==null&&_0x1536c8!==void 0x0?_0x1536c8:![],'onChange':_0x2a9446=>{_0x184dcc===null||_0x184dcc===void 0x0||_0x184dcc(Boolean(_0x2a9446));},'children':_0x7c3fe8(_0x238396(0x4a9))})}),(0x0,react_jsx_runtime['jsx'])(_0x238396(0x3d7),{'className':_0x238396(0x15f),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':_0x2942e8!==null&&_0x2942e8!==void 0x0?_0x2942e8:![],'onChange':_0x554d5e=>{_0x397b6f===null||_0x397b6f===void 0x0||_0x397b6f(Boolean(_0x554d5e));},'children':_0x7c3fe8(_0x238396(0x429))})}),(0x0,react_jsx_runtime[_0x238396(0x339)])(_0x238396(0x3d7),{'className':_0x238396(0x15f),'children':(0x0,react_jsx_runtime[_0x238396(0x339)])(_univerjs_design[_0x238396(0x12d)],{'checked':_0x5e19fb!==null&&_0x5e19fb!==void 0x0?_0x5e19fb:![],'onChange':_0x3fff78=>{_0x429494===null||_0x429494===void 0x0||_0x429494(Boolean(_0x3fff78));},'children':_0x7c3fe8(_0x238396(0x3ca))})}),_0x516ebd[_0x238396(0x1dd)]===!![]&&(0x0,react_jsx_runtime[_0x238396(0x339)])(_0x238396(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x238396(0x339)])(_univerjs_design[_0x238396(0x12d)],{'checked':_0x418369!==null&&_0x418369!==void 0x0?_0x418369:![],'onChange':_0x2cba33=>{_0x1fd3f4===null||_0x1fd3f4===void 0x0||_0x1fd3f4(Boolean(_0x2cba33));},'children':_0x7c3fe8('chart.styleEditPanel.showLabelLine')})})]}),_0x516ebd[_0x238396(0x1dd)]&&(0x0,react_jsx_runtime[_0x238396(0x2d7)])(_0x238396(0x3d7),{'className':_0x238396(0x345),'children':[(0x0,react_jsx_runtime['jsx'])(_0x238396(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x7c3fe8('chart.styleEditPanel.labelPosition')}),(0x0,react_jsx_runtime[_0x238396(0x339)])(_univerjs_design[_0x238396(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x40765e=_0x516ebd[_0x238396(0x2ba)])!==null&&_0x40765e!==void 0x0?_0x40765e:'','onChange':_0x260354=>_0xce6ebe===null||_0xce6ebe===void 0x0?void 0x0:_0xce6ebe('position',_0x260354),'options':_0x29f9ad}),_0x39053b&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x238396(0x90)],{'children':[(0x0,react_jsx_runtime[_0x238396(0x339)])(_0x238396(0x3d7),{'className':_0x238396(0x15f),'children':_0x7c3fe8('chart.styleEditPanel.labelText')}),(0x0,react_jsx_runtime[_0x238396(0x339)])(_0x238396(0x3d7),{'className':'univer-w-[208px]','children':(0x0,react_jsx_runtime[_0x238396(0x339)])(_univerjs_design[_0x238396(0x23d)],{'className':_0x238396(0xd0),'value':_0x2ef6d3,'options':_0x39053b,'onChange':_0x22c1f8})})]}),(0x0,react_jsx_runtime[_0x238396(0x2d7)])(_0x238396(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x238396(0x339)])(_0x238396(0x3d7),{'className':_0x238396(0x15f),'children':_0x7c3fe8(_0x238396(0x501))}),(0x0,react_jsx_runtime[_0x238396(0x339)])(FontFormatBar,{..._0x516ebd,'localeService':_0x2e0fe5,'onChange':_0xce6ebe})]})]})]});},FillOptions=_0x62d9b7=>{const _0x1897b6=_0x1d8fa5;var _0x3ee32b,_0x109343;const {localeService:_0x3fdd87,seriesStyle:_0x389184,onSeriesStyleChange:_0x3b0701,controlName:_0x14400f,allSeriesStyle:_0x5d4cac,chartType:_0x59603a}=_0x62d9b7,{t:_0x50020f}=_0x3fdd87,_0x4539ae=_0x59603a===_univerjs_pro_engine_chart['ChartTypeBits'][_0x1897b6(0x16f)]?_univerjs_pro_engine_chart[_0x1897b6(0x4cc)][_0x1897b6(0x85)][_0x1897b6(0x44a)]:_univerjs_pro_engine_chart[_0x1897b6(0x4cc)]['borderStyle'][_0x1897b6(0x20a)];return(0x0,react_jsx_runtime[_0x1897b6(0x2d7)])(_0x1897b6(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x1897b6(0x46d),'children':[(0x0,react_jsx_runtime[_0x1897b6(0x339)])(_0x1897b6(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50020f(_0x1897b6(0x156),_0x14400f)}),(0x0,react_jsx_runtime[_0x1897b6(0x339)])(ColorPickerControl,{'color':(_0x389184===null||_0x389184===void 0x0?void 0x0:_0x389184[_0x1897b6(0x457)])||(_0x5d4cac===null||_0x5d4cac===void 0x0?void 0x0:_0x5d4cac[_0x1897b6(0x457)])||'','onChange':_0x439957=>_0x3b0701===null||_0x3b0701===void 0x0?void 0x0:_0x3b0701({'color':_0x439957})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x1897b6(0x3d7),{'className':_0x1897b6(0x46d),'children':[(0x0,react_jsx_runtime[_0x1897b6(0x339)])(_0x1897b6(0x3d7),{'className':_0x1897b6(0x15f),'children':_0x50020f(_0x1897b6(0x4c5),_0x14400f)}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1897b6(0x159)],{'className':_0x1897b6(0x2a5),'value':String((_0x3ee32b=(_0x109343=_0x389184===null||_0x389184===void 0x0?void 0x0:_0x389184['fillOpacity'])!==null&&_0x109343!==void 0x0?_0x109343:_0x5d4cac===null||_0x5d4cac===void 0x0?void 0x0:_0x5d4cac['fillOpacity'])!==null&&_0x3ee32b!==void 0x0?_0x3ee32b:_0x4539ae),'options':lineOpacityOptions,'onChange':_0x1b5193=>_0x3b0701===null||_0x3b0701===void 0x0?void 0x0:_0x3b0701({'fillOpacity':Number(_0x1b5193)})})]})]});},BorderOptions=_0x1f9e72=>{const _0x2a2886=_0x1d8fa5;var _0xa8a110,_0x305932,_0x1a8dec,_0x65737c;const {localeService:_0x190f88,borderStyle:_0x4630b6,onSeriesStyleChange:_0x3c99df,controlName:_0x272350,hideBorder:_0x511d04,allSeriesBorderStyle:_0x217ce6,isLineOrAreaChart:_0x430bef}=_0x1f9e72,_0x55b4ea=useTranslatedOptions(_0x190f88,borderDashTypeOptions),{t:_0xa9f549}=_0x190f88,_0x5ab842=_0x430bef?borderWidthOptions[_0x2a2886(0xb9)](0x1):borderWidthOptions;return(0x0,react_jsx_runtime[_0x2a2886(0x2d7)])(react_jsx_runtime[_0x2a2886(0x90)],{'children':[_0x511d04&&(0x0,react_jsx_runtime[_0x2a2886(0x2d7)])('div',{'className':_0x2a2886(0xba),'children':[(0x0,react_jsx_runtime[_0x2a2886(0x2d7)])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x46d),'children':[(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x15f),'children':_0xa9f549(_0x2a2886(0x156),_0x272350)}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':(_0xa8a110=_0x4630b6===null||_0x4630b6===void 0x0?void 0x0:_0x4630b6[_0x2a2886(0x457)])!==null&&_0xa8a110!==void 0x0?_0xa8a110:_0x217ce6===null||_0x217ce6===void 0x0?void 0x0:_0x217ce6['color'],'onChange':_0x2cd790=>_0x3c99df===null||_0x3c99df===void 0x0?void 0x0:_0x3c99df({'border':{'color':_0x2cd790}})})]}),(0x0,react_jsx_runtime[_0x2a2886(0x2d7)])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x46d),'children':[(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x15f),'children':_0xa9f549(_0x2a2886(0x4c5),_0x272350)}),(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_univerjs_design[_0x2a2886(0x159)],{'className':_0x2a2886(0x2a5),'value':String((_0x305932=_0x4630b6===null||_0x4630b6===void 0x0?void 0x0:_0x4630b6[_0x2a2886(0x20a)])!==null&&_0x305932!==void 0x0?_0x305932:_0x217ce6===null||_0x217ce6===void 0x0?void 0x0:_0x217ce6[_0x2a2886(0x20a)]),'options':lineOpacityOptions,'onChange':_0x350785=>_0x3c99df===null||_0x3c99df===void 0x0?void 0x0:_0x3c99df({'border':{'opacity':Number(_0x350785)}})})]})]}),(0x0,react_jsx_runtime[_0x2a2886(0x2d7)])(_0x2a2886(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime['jsxs'])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x46d),'children':[(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x15f),'children':_0xa9f549('chart.withType',_0x272350)}),(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_univerjs_design[_0x2a2886(0x159)],{'className':_0x2a2886(0x2a5),'value':(_0x1a8dec=_0x4630b6===null||_0x4630b6===void 0x0?void 0x0:_0x4630b6[_0x2a2886(0x148)])!==null&&_0x1a8dec!==void 0x0?_0x1a8dec:_0x217ce6===null||_0x217ce6===void 0x0?void 0x0:_0x217ce6[_0x2a2886(0x148)],'options':_0x55b4ea,'onChange':_0x458895=>_0x3c99df===null||_0x3c99df===void 0x0?void 0x0:_0x3c99df({'border':{'dashType':_0x458895}})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x46d),'children':[(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_0x2a2886(0x3d7),{'className':_0x2a2886(0x15f),'children':_0xa9f549(_0x2a2886(0x437),_0x272350)}),(0x0,react_jsx_runtime[_0x2a2886(0x339)])(_univerjs_design[_0x2a2886(0x159)],{'className':_0x2a2886(0x2a5),'value':String((_0x65737c=_0x4630b6===null||_0x4630b6===void 0x0?void 0x0:_0x4630b6[_0x2a2886(0x103)])!==null&&_0x65737c!==void 0x0?_0x65737c:_0x217ce6===null||_0x217ce6===void 0x0?void 0x0:_0x217ce6['width']),'options':_0x5ab842,'onChange':_0x9ba268=>_0x3c99df===null||_0x3c99df===void 0x0?void 0x0:_0x3c99df({'border':{'width':Number(_0x9ba268)}})})]})]})]});},LinePointOptions=_0x335ad5=>{const _0x444efd=_0x1d8fa5,{localeService:_0xfad90d,pointStyle:_0x4be634,controls:_0x2a0b2e,onChange:_0x511720}=_0x335ad5,_0x1df8ca=useTranslatedOptions(_0xfad90d,linePointShapeOptions),_0x311b68=useTranslatedOptions(_0xfad90d,linePointSizeOptions),{t:_0x431c93}=_0xfad90d,_0xd2037a=_0x2a0b2e[_0x444efd(0x246)](_0x64e4b1=>{const _0x150108=_0x444efd;switch(_0x64e4b1){case _0x150108(0x94):return(0x0,react_jsx_runtime[_0x150108(0x2d7)])(_0x150108(0x3d7),{'className':_0x150108(0x46d),'children':[(0x0,react_jsx_runtime[_0x150108(0x339)])('div',{'className':_0x150108(0x15f),'children':_0x431c93(_0x150108(0x2f3),_0x431c93(_0x150108(0x4c1)))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x150108(0x159)],{'className':_0x150108(0x2a5),'value':String(_0x4be634[_0x150108(0x94)]),'options':_0x1df8ca,'onChange':_0x1a80a9=>_0x511720===null||_0x511720===void 0x0?void 0x0:_0x511720(_0x150108(0x94),_0x1a80a9)})]},_0x64e4b1);case _0x150108(0x343):return(0x0,react_jsx_runtime[_0x150108(0x2d7)])('div',{'className':_0x150108(0x46d),'children':[(0x0,react_jsx_runtime[_0x150108(0x339)])(_0x150108(0x3d7),{'className':_0x150108(0x15f),'children':_0x431c93(_0x150108(0xcf),_0x431c93(_0x150108(0x408)))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x150108(0x159)],{'className':_0x150108(0x2a5),'value':String(_0x4be634[_0x150108(0x343)]),'options':_0x311b68,'onChange':_0x191bf8=>_0x511720===null||_0x511720===void 0x0?void 0x0:_0x511720('size',Number(_0x191bf8))})]},_0x64e4b1);case _0x150108(0x457):return(0x0,react_jsx_runtime[_0x150108(0x2d7)])(_0x150108(0x3d7),{'className':_0x150108(0x46d),'children':[(0x0,react_jsx_runtime[_0x150108(0x339)])(_0x150108(0x3d7),{'className':_0x150108(0x15f),'children':_0x431c93(_0x150108(0x156),_0x431c93(_0x150108(0x408)))}),(0x0,react_jsx_runtime[_0x150108(0x339)])(ColorPickerControl,{'color':_0x4be634[_0x150108(0x457)],'onChange':_0x5ea2ec=>_0x511720===null||_0x511720===void 0x0?void 0x0:_0x511720(_0x150108(0x457),_0x5ea2ec)})]},_0x64e4b1);}return null;}),_0x1e40ab=[];for(let _0x2cfb43=0x0;_0x2cfb43<_0xd2037a[_0x444efd(0x451)];_0x2cfb43+=0x2)_0x1e40ab[_0x444efd(0x42d)]((0x0,react_jsx_runtime[_0x444efd(0x2d7)])(_0x444efd(0x3d7),{'className':_0x444efd(0xba),'children':[_0xd2037a[_0x2cfb43],_0x2cfb43+0x1<_0xd2037a['length']?_0xd2037a[_0x2cfb43+0x1]:(0x0,react_jsx_runtime[_0x444efd(0x339)])(_0x444efd(0x3d7),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between'})]},_0x2cfb43));return(0x0,react_jsx_runtime[_0x444efd(0x339)])(react_jsx_runtime['Fragment'],{'children':[..._0x1e40ab]});},AxisControl=_0x6dae4b=>{const _0x2710ae=_0x1d8fa5,{localeService:_0x1d7274,rightYAxis:_0x551a28,onSeriesStyleChange:_0x51547b}=_0x6dae4b,{t:_0x1b782a}=_0x1d7274;return(0x0,react_jsx_runtime[_0x2710ae(0x339)])(_0x2710ae(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':(0x0,react_jsx_runtime[_0x2710ae(0x339)])(_0x2710ae(0x3d7),{'className':_0x2710ae(0x46d),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2710ae(0x12d)],{'checked':_0x551a28,'onChange':_0x384cc9=>{_0x51547b===null||_0x51547b===void 0x0||_0x51547b({'rightYAxis':Boolean(_0x384cc9)});},'children':_0x1b782a(_0x2710ae(0x283))})})});},fallbackPointStyle={'shape':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)]['point']['shape'],'size':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x2da)]['size'],'color':'transparent'},linePointControls$2=[_0x1d8fa5(0x94),_0x1d8fa5(0x343)],DataPointsEdit=_0x4aafc5=>{const _0x3b458a=_0x1d8fa5,{chartType:_0x4d3d11,data:_0x2af042,options:_0x4d324e,localeService:_0x2480f8,onChange:_0x3ef694}=_0x4aafc5,{t:_0x4d319b}=_0x2480f8,_0x1da945=_0x4d3d11===_univerjs_pro_engine_chart[_0x3b458a(0x14e)]['Line'],_0xfe7eb4=_0x2af042!==null&&_0x2af042!==void 0x0?_0x2af042:{};return(0x0,react_jsx_runtime[_0x3b458a(0x339)])(_0x3b458a(0x3d7),{'className':_0x3b458a(0x52a),'children':Object[_0x3b458a(0x496)](_0xfe7eb4)[_0x3b458a(0x246)](_0x9fb285=>{return{'key':_0x9fb285,'style':_0xfe7eb4[Number(_0x9fb285)]};})[_0x3b458a(0x246)](_0x507f76=>{const _0x464524=_0x3b458a;var _0xe019c5;const {style:_0x588564}=_0x507f76;if(_0x588564===void 0x0)return null;return(0x0,react_jsx_runtime['jsxs'])(_0x464524(0x3d7),{'className':_0x464524(0x478),'children':[(0x0,react_jsx_runtime[_0x464524(0x2d7)])(_0x464524(0x3d7),{'className':_0x464524(0xba),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x464524(0x3d7),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x464524(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4d319b(_0x464524(0x408))}),(0x0,react_jsx_runtime[_0x464524(0x339)])(_univerjs_design[_0x464524(0x159)],{'className':_0x464524(0x2a5),'value':_0x507f76[_0x464524(0x4bb)],'options':_0x4d324e,'onChange':_0x2b0e10=>{const _0x2a367e=_0x464524;_0x3ef694===null||_0x3ef694===void 0x0||_0x3ef694({[_0x507f76[_0x2a367e(0x4bb)]]:void 0x0,[Number(_0x2b0e10)]:_0x507f76[_0x2a367e(0x418)]});}})]}),(0x0,react_jsx_runtime[_0x464524(0x2d7)])(_0x464524(0x3d7),{'className':_0x464524(0x46d),'children':[(0x0,react_jsx_runtime[_0x464524(0x339)])('div',{'className':_0x464524(0x15f),'children':_0x4d319b(_0x464524(0x34d))}),(0x0,react_jsx_runtime[_0x464524(0x339)])(ColorPickerControl,{'color':(_0xe019c5=_0x588564===null||_0x588564===void 0x0?void 0x0:_0x588564['color'])!==null&&_0xe019c5!==void 0x0?_0xe019c5:'','onChange':_0x1cb23b=>{const _0x58bb4a=_0x464524;_0x3ef694===null||_0x3ef694===void 0x0||_0x3ef694({[_0x507f76[_0x58bb4a(0x4bb)]]:{'color':_0x1cb23b}});}})]}),(0x0,react_jsx_runtime[_0x464524(0x339)])(_univerjs_design[_0x464524(0x353)],{'className':_0x464524(0x1fa),'variant':'text','onClick':()=>_0x3ef694===null||_0x3ef694===void 0x0?void 0x0:_0x3ef694({[_0x507f76[_0x464524(0x4bb)]]:void 0x0}),'children':(0x0,react_jsx_runtime[_0x464524(0x339)])(_univerjs_icons[_0x464524(0x146)],{})})]}),_0x1da945&&(0x0,react_jsx_runtime[_0x464524(0x339)])(LinePointOptions,{'pointStyle':{...fallbackPointStyle,..._0x507f76['style']},'controls':linePointControls$2,'localeService':_0x2480f8,'onChange':(_0x5797bf,_0x1f6ec1)=>_0x3ef694===null||_0x3ef694===void 0x0?void 0x0:_0x3ef694({[_0x507f76[_0x464524(0x4bb)]]:{[_0x5797bf]:_0x1f6ec1}})})]},_0x507f76[_0x464524(0x4bb)]);})});},fallbackLabelStyle$2={'fontSize':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x414)][_0x1d8fa5(0x2e1)],'contentType':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0xa7)],'position':_univerjs_pro_engine_chart['defaultChartConfig']['textStyle'][_0x1d8fa5(0x2ba)]},ParetoStyleEdit=_0x373032=>{const _0xf9ab74=_0x1d8fa5,{localeService:_0x418eec,service:_0x51802a,isLineSeries:_0x2dc1fa}=_0x373032,{t:_0x1450d4}=_0x418eec,[_0x4c5d37]=useChartConfigState(_0xf9ab74(0x479),_0x51802a),[_0x2c9ea2,_0x25552c]=useChartConfigState(_0xf9ab74(0x4f6),_0x51802a),_0xea6695=[_0xf9ab74(0x94),'size',_0xf9ab74(0x457)],[_0x1868c4]=useChartConfigState('paretoDataPointsOptions',_0x51802a),_0x38b4f5=_0x5d2da5=>{_0x25552c({'lineStyle':{..._0x5d2da5}});},_0x540200=_0x172c02=>{_0x25552c({'barStyle':{..._0x172c02}});},_0x3375a8=_0x2dc1fa?_0x38b4f5:_0x540200,_0xefbe12=_univerjs_pro_engine_chart[_0xf9ab74(0x4cc)]['borderStyle'],_0x134baf=_0x2dc1fa?_0x2c9ea2===null||_0x2c9ea2===void 0x0?void 0x0:_0x2c9ea2[_0xf9ab74(0x4fc)]:_0x2c9ea2===null||_0x2c9ea2===void 0x0?void 0x0:_0x2c9ea2[_0xf9ab74(0x1de)],_0x1fada=_0x134baf===null||_0x134baf===void 0x0?void 0x0:_0x134baf[_0xf9ab74(0x1cb)],_0x5d4dca=_0x289688=>{const _0x2ebcab=_0xf9ab74;if(_0x134baf&&_0x134baf[_0x2ebcab(0x1cb)]&&_0x134baf['dataPoints'][_0x289688])return;_0x3375a8({'dataPoints':{[_0x289688]:{}}});},_0x3fcb24=_0x14aff8=>{_0x3375a8({'dataPoints':_0x14aff8});},_0x1f0bbe=useTranslatedOptions(_0x418eec,dataLabelPositionOptions),_0x1b334a=(0x0,react['useMemo'])(()=>{return labelContentOptions['map'](_0x2b56b4=>{const _0x14ae6c=_0x1090;return{'value':_0x2b56b4[_0x14ae6c(0x3ce)],'label':_0x418eec['t'](_0x2b56b4['label'])};});},[_0x418eec]),_0x33e26b=Object[_0xf9ab74(0x23b)]({'color':_0xf9ab74(0x1c3),'opacity':_0xefbe12[_0xf9ab74(0x20a)],'width':_0x2dc1fa?_0xefbe12[_0xf9ab74(0x23c)][_0xf9ab74(0x4f7)]:_0xefbe12[_0xf9ab74(0x103)],'dashType':_0xefbe12[_0xf9ab74(0x148)]},_0x134baf===null||_0x134baf===void 0x0?void 0x0:_0x134baf['border']),_0x26a1da=Object['assign']({'shape':_univerjs_pro_engine_chart[_0xf9ab74(0x4cc)][_0xf9ab74(0x2da)]['shape'],'size':_univerjs_pro_engine_chart[_0xf9ab74(0x4cc)]['pareto'][_0xf9ab74(0x18a)],'color':_0xf9ab74(0x1c3)},_0x4c5d37===null||_0x4c5d37===void 0x0?void 0x0:_0x4c5d37[_0xf9ab74(0x2da)],_0x134baf===null||_0x134baf===void 0x0?void 0x0:_0x134baf[_0xf9ab74(0x2da)]),_0x4b1837=Object[_0xf9ab74(0x23b)]({},_0x134baf===null||_0x134baf===void 0x0?void 0x0:_0x134baf[_0xf9ab74(0x13a)]);return(0x0,react_jsx_runtime[_0xf9ab74(0x2d7)])(_0xf9ab74(0x149),{'className':_0xf9ab74(0x361),'children':[(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0xf9ab74(0x14e)][_0xf9ab74(0x3a7)],'allSeriesStyle':_0x4c5d37,'controlName':_0x1450d4(_0x2dc1fa?'chart.line':_0xf9ab74(0xde)),'seriesStyle':_0x134baf,'onSeriesStyleChange':_0x3375a8,'localeService':_0x418eec}),(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(BorderOptions,{'isLineOrAreaChart':_0x2dc1fa,'allSeriesBorderStyle':_0x134baf===null||_0x134baf===void 0x0?void 0x0:_0x134baf[_0xf9ab74(0x189)],'hideBorder':!_0x2dc1fa,'controlName':_0x1450d4(_0x2dc1fa?_0xf9ab74(0x3ab):_0xf9ab74(0x3ae)),'borderStyle':_0x33e26b,'onSeriesStyleChange':_0x3375a8,'localeService':_0x418eec}),_0x2dc1fa&&(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(LinePointOptions,{'pointStyle':_0x26a1da,'onChange':(_0x215e37,_0xd1fa58)=>_0x3375a8({'point':{[_0x215e37]:_0xd1fa58}}),'controls':_0xea6695,'localeService':_0x418eec}),!_0x2dc1fa&&(0x0,react_jsx_runtime[_0xf9ab74(0x2d7)])(react_jsx_runtime[_0xf9ab74(0x90)],{'children':[(0x0,react_jsx_runtime[_0xf9ab74(0x2d7)])('div',{'className':_0xf9ab74(0x523),'children':[(0x0,react_jsx_runtime[_0xf9ab74(0x339)])('div',{'className':_0xf9ab74(0x46d),'children':(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(_0xf9ab74(0x3d7),{'className':_0xf9ab74(0x1bb),'children':_0x1450d4('chart.withFormat',_0x1450d4(_0xf9ab74(0x408)))})}),(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(_0xf9ab74(0x3d7),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(DropdownSelector,{'value':'','menus':_0x1868c4!==null&&_0x1868c4!==void 0x0?_0x1868c4:[],'onSelect':_0x27b262=>_0x5d4dca(+_0x27b262),'children':(0x0,react_jsx_runtime[_0xf9ab74(0x2d7)])(_0xf9ab74(0x3d7),{'className':_0xf9ab74(0x465),'children':[(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(_univerjs_icons['IncreaseIcon'],{}),(0x0,react_jsx_runtime['jsx'])('span',{'children':_0x1450d4(_0xf9ab74(0x1a4))})]})})})]}),_0x1fada&&(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(DataPointsEdit,{'chartType':_univerjs_pro_engine_chart[_0xf9ab74(0x14e)][_0xf9ab74(0x3a7)],'data':_0x1fada,'options':_0x1868c4!==null&&_0x1868c4!==void 0x0?_0x1868c4:[],'onChange':_0x3fcb24,'localeService':_0x418eec})]}),(0x0,react_jsx_runtime['jsx'])(_0xf9ab74(0x3d7),{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0xf9ab74(0x339)])(DataLabelOptions,{'localeService':_0x418eec,'fallbackLabelStyle':fallbackLabelStyle$2,'labelStyle':_0x4b1837,'positionOptions':_0x1f0bbe,'contentTypeOptions':_0x1b334a,'onLabelStyleChange':(_0x3ee8c3,_0x3a9823)=>_0x3375a8({'label':{[_0x3ee8c3]:_0x3a9823}}),'onVisibleChange':_0x470db1=>_0x3375a8({'label':{'visible':_0x470db1}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart[_0xf9ab74(0x14e)][_0xf9ab74(0x3a7)]})})]});},PieChartStyleEdit=_0x5800d4=>{const _0x1385d5=_0x1d8fa5,{chartType:_0x4196f8,service:_0x4cfb0c,localeService:_0x499592,onChartTypeChange:_0x161953}=_0x5800d4,[_0x4604e4,_0x4086f9]=useChartConfigState(_0x1385d5(0xf6),_0x4cfb0c),[_0x51c206,_0x59d9b4]=useChartConfigState(_0x1385d5(0x1ac),_0x4cfb0c),[_0x553a5f,_0x522035]=useChartConfigState(_0x1385d5(0x4ff),_0x4cfb0c),[_0x13668b,_0x386119]=useChartConfigState('isHalfPie',_0x4cfb0c),[_0x375e75,_0x479da4]=useChartConfigState(_0x1385d5(0x4f3),_0x4cfb0c),[_0x2b1c56,_0x1c6213]=useChartConfigState(_0x1385d5(0x2e7),_0x4cfb0c),[_0x565ca8,_0x2a2ee3]=useChartConfigState(_0x1385d5(0x29f),_0x4cfb0c),[_0x3bd920,_0x2c2871]=useChartConfigState(_0x1385d5(0x8f),_0x4cfb0c),[_0x29ca8e,_0x3ab705]=useChartConfigState(_0x1385d5(0x173),_0x4cfb0c),[_0x1e4754,_0x49f558]=(0x0,react['useState'])(_0x3bd920||''),_0x1e90a9=_0x4196f8===_univerjs_pro_engine_chart[_0x1385d5(0x14e)][_0x1385d5(0x52f)]?_univerjs_pro_engine_chart[_0x1385d5(0x4cc)][_0x1385d5(0x126)][_0x1385d5(0x4e0)]:0x0,[_0x538e65,_0x539f15]=useChartConfigState('doughnutHole',_0x4cfb0c),_0x126314=useTranslatedOptions(_0x499592,pieDataLabelPositionOptions),_0x29259a=useTranslatedOptions(_0x499592,pieLabelContentOptions),_0x40dabc=(0x0,_univerjs_ui[_0x1385d5(0x515)])(_univerjs_core[_0x1385d5(0x3e1)]),_0x5598a9=(0x0,react[_0x1385d5(0x389)])(()=>{const _0xfee5c8=_0x1385d5;return{'visible':!![],'contentType':_univerjs_pro_engine_chart[_0xfee5c8(0x4cc)][_0xfee5c8(0x126)][_0xfee5c8(0xa7)],'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0xfee5c8(0x414)][_0xfee5c8(0x2e1)],'position':_univerjs_pro_engine_chart['PieLabelPosition']['Outside']};},[]),_0xa92834=(0x0,react['useCallback'])(_0x55535e=>{const _0x464247=_0x1385d5,_0x2cfd41=Number(_0x55535e),_0x21937e=_0x2cfd41>0x0?_univerjs_pro_engine_chart[_0x464247(0x14e)][_0x464247(0x52f)]:_univerjs_pro_engine_chart[_0x464247(0x14e)][_0x464247(0x535)];if(_0x21937e!==_0x4196f8)_0x161953===null||_0x161953===void 0x0||_0x161953(_0x21937e);_0x539f15(_0x2cfd41);},[_0x4196f8,_0x161953]),{t:_0x9272f2}=_0x499592;return(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0xf1),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x4c0),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x46d),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x15f),'children':_0x9272f2(_0x1385d5(0x2b2))}),(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x538e65?String(_0x538e65):_0x1e90a9*0x64+'%','options':pieDonutHoleOptions,'onChange':_0xa92834})]}),(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x46d),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x15f),'children':_0x9272f2(_0x1385d5(0x156),_0x9272f2(_0x1385d5(0x3ae)))}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':_0x4604e4!==null&&_0x4604e4!==void 0x0?_0x4604e4:'','onChange':_0x4086f9})]})]}),(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])('div',{'className':_0x1385d5(0x46d),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x15f),'children':_0x9272f2('chart.styleEditPanel.pieValScale')}),(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0xba),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x46d),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x15f),'children':_0x9272f2(_0x1385d5(0x453))}),(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_univerjs_design[_0x1385d5(0xb0)],{'value':_0x565ca8!==null&&_0x565ca8!==void 0x0?_0x565ca8:0x1,'onChange':_0x4462f1=>{const _0x2cbb08=_0x1385d5;_0x40dabc[_0x2cbb08(0xc6)](_univerjs_core[_0x2cbb08(0x1ca)],![]),_0x2a2ee3(Number[_0x2cbb08(0x3de)](_0x4462f1)?null:Number(_0x4462f1));},'onFocus':()=>_0x40dabc[_0x1385d5(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x9a5da6=>{const _0x41b00c=_0x1385d5;_0x40dabc[_0x41b00c(0xc6)](_univerjs_core[_0x41b00c(0x1ca)],![]);const _0x5b39fb=_0x9a5da6[_0x41b00c(0x35e)][_0x41b00c(0x3ce)];_0x2a2ee3(_0x5b39fb===''?null:Number(_0x5b39fb));},'onPressEnter':_0x1315d9=>{const _0x172409=_0x1385d5,_0x356265=_0x1315d9[_0x172409(0x35e)][_0x172409(0x3ce)];_0x2a2ee3(_0x356265===''?null:Number(_0x356265));}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x46d),'children':[(0x0,react_jsx_runtime[_0x1385d5(0x339)])('div',{'className':_0x1385d5(0x15f),'children':_0x9272f2(_0x1385d5(0x1cf))}),(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_univerjs_design[_0x1385d5(0xb0)],{'value':_0x29ca8e!==null&&_0x29ca8e!==void 0x0?_0x29ca8e:0x1,'onChange':_0x3b1946=>{const _0x3e9213=_0x1385d5;_0x40dabc[_0x3e9213(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x3ab705(Number[_0x3e9213(0x3de)](_0x3b1946)?null:Number(_0x3b1946));},'onFocus':()=>_0x40dabc[_0x1385d5(0xc6)](_univerjs_core[_0x1385d5(0x1ca)],!![]),'onBlur':_0x563935=>{const _0x40a385=_0x1385d5;_0x40dabc[_0x40a385(0xc6)](_univerjs_core[_0x40a385(0x1ca)],![]);const _0x3c0d8d=_0x563935[_0x40a385(0x35e)][_0x40a385(0x3ce)];_0x3ab705(_0x3c0d8d===''?null:Number(_0x3c0d8d));},'onPressEnter':_0xb6c089=>{const _0x16d118=_0x1385d5,_0x993eeb=_0xb6c089[_0x16d118(0x35e)][_0x16d118(0x3ce)];_0x3ab705(_0x993eeb===''?null:Number(_0x993eeb));}})]}),(0x0,react_jsx_runtime[_0x1385d5(0x2d7)])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x1385d5(0x3d7),{'className':_0x1385d5(0x15f),'children':_0x9272f2(_0x1385d5(0x3dc))}),(0x0,react_jsx_runtime[_0x1385d5(0x339)])(_univerjs_design[_0x1385d5(0x4a2)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x1e4754,'onChange':_0x49f558,'onFocus':()=>{const _0x2c0d41=_0x1385d5;_0x40dabc[_0x2c0d41(0xc6)](_univerjs_core[_0x2c0d41(0x1ca)],!![]);},'onBlur':()=>{const _0xed6139=_0x1385d5;_0x40dabc[_0xed6139(0xc6)](_univerjs_core[_0xed6139(0x1ca)],![]),_0x2c2871(_0x1e4754);}})]})]})]}),(0x0,react_jsx_runtime[_0x1385d5(0x339)])(DataLabelOptions,{'localeService':_0x499592,'chartType':_0x4196f8,'fallbackLabelStyle':_0x5598a9,'labelStyle':_0x51c206!==null&&_0x51c206!==void 0x0?_0x51c206:{},'onVisibleChange':_0x31ff4c=>_0x59d9b4({'visible':_0x31ff4c}),'onLabelStyleChange':(_0x1b66f6,_0x51f1a2)=>_0x59d9b4({[_0x1b66f6]:_0x51f1a2}),'positionOptions':_0x126314,'contentTypeOptions':_0x29259a,'onPadAngleChange':_0x1151e8=>_0x522035(_0x1151e8),'padAngleStyle':_0x553a5f,'onHalfPieChange':_0x5023ac=>_0x386119(_0x5023ac),'isHalfPie':_0x13668b,'isRosePie':_0x375e75,'onRosePieChange':_0x58f63e=>_0x479da4(_0x58f63e),'onShowLabelLineChange':_0x2f1303=>_0x1c6213(_0x2f1303),'showLabelLine':_0x2b1c56,'isPieLike':!![]})]});};function RelationEdit(_0x365fc1){const _0x53ef00=_0x1d8fa5;var _0x35fe4b,_0x5d5a91;const {localeService:_0x4e5865,service:_0x41fbf2}=_0x365fc1,_0x3fd241=(0x0,_univerjs_ui[_0x53ef00(0x515)])(_univerjs_core['IContextService']),_0x7d81b0=_0x4e5865['t'],_0x2a77e2=useTranslatedOptions(_0x4e5865,RelationLayoutOptions),[_0x2bf54b,_0x374e65]=useChartConfigState(_0x53ef00(0x1bc),_0x41fbf2),[_0x1bacd8,_0x554f2f]=useChartConfigState('useValueAsSymbolSize',_0x41fbf2),[_0x45cff9,_0x4c6923]=useChartConfigState(_0x53ef00(0x2ac),_0x41fbf2),[_0x13e355,_0x2e92a6]=useChartConfigState(_0x53ef00(0x4be),_0x41fbf2),[_0x43f576,_0x175d8f]=useChartConfigState('rotateLabel',_0x41fbf2),_0x37833b=_0x4c810e=>{_0x2e92a6({..._0x13e355,..._0x4c810e});},_0x1902ac=_0xa29c8d=>{_0x374e65(_0xa29c8d);},_0x239787=_0x2bf54b===_univerjs_pro_engine_chart[_0x53ef00(0x109)][_0x53ef00(0x19c)],_0x5db193=_0x2bf54b===_univerjs_pro_engine_chart['RelationChartLayoutEnum'][_0x53ef00(0x4d3)],_0x1e15b8=useTranslatedOptions(_0x4e5865,linePointShapeOptions),[_0x273e0d,_0x119157]=useChartConfigState(_0x53ef00(0x12c),_0x41fbf2);return(0x0,react_jsx_runtime[_0x53ef00(0x2d7)])(_0x53ef00(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x53ef00(0x2d7)])('div',{'className':_0x53ef00(0x513),'children':[(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_0x53ef00(0x3d7),{'className':_0x53ef00(0x15f),'children':_0x7d81b0('chart.dataNodeShape')}),(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_univerjs_design[_0x53ef00(0x159)],{'className':_0x53ef00(0x2a5),'value':String(_0x273e0d!==null&&_0x273e0d!==void 0x0?_0x273e0d:_univerjs_pro_engine_chart[_0x53ef00(0x4cc)]['relation'][_0x53ef00(0x533)]),'options':_0x1e15b8,'onChange':_0x54db0e=>_0x119157(_0x54db0e)})]},_0x53ef00(0x94)),(0x0,react_jsx_runtime[_0x53ef00(0x339)])('div',{'children':(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_univerjs_design['Checkbox'],{'checked':_0x1bacd8!==null&&_0x1bacd8!==void 0x0?_0x1bacd8:!![],'onChange':_0x51cea9=>{_0x554f2f===null||_0x554f2f===void 0x0||_0x554f2f(Boolean(_0x51cea9));},'children':_0x7d81b0(_0x53ef00(0x175))})}),(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_0x53ef00(0x3d7),{'className':'univer-my-2','children':(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_univerjs_design[_0x53ef00(0x12d)],{'checked':_0x45cff9!==null&&_0x45cff9!==void 0x0?_0x45cff9:!![],'onChange':_0x530bf8=>{_0x4c6923(Boolean(_0x530bf8));},'children':_0x7d81b0(_0x53ef00(0x1d4))})}),(0x0,react_jsx_runtime['jsx'])(_0x53ef00(0x3d7),{'className':_0x53ef00(0x51a),'children':_0x7d81b0(_0x53ef00(0x316))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x53ef00(0x2a5),'value':_0x2bf54b!==null&&_0x2bf54b!==void 0x0?_0x2bf54b:_univerjs_pro_engine_chart[_0x53ef00(0x109)]['None'],'options':_0x2a77e2,'onChange':_0x1902ac}),_0x239787&&(0x0,react_jsx_runtime[_0x53ef00(0x2d7)])(_0x53ef00(0x3d7),{'className':_0x53ef00(0x3ef),'children':[(0x0,react_jsx_runtime['jsx'])(_0x53ef00(0x3d7),{'className':_0x53ef00(0x15f),'children':_0x7d81b0(_0x53ef00(0x101))}),(0x0,react_jsx_runtime[_0x53ef00(0x2d7)])(_0x53ef00(0x3d7),{'className':_0x53ef00(0xc4),'children':[(0x0,react_jsx_runtime[_0x53ef00(0x339)])('div',{'className':'univer-flex-1','children':_0x7d81b0(_0x53ef00(0x4c7))}),(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_univerjs_design[_0x53ef00(0xb0)],{'className':_0x53ef00(0x50a),'controls':![],'onFocus':()=>_0x3fd241[_0x53ef00(0xc6)](_univerjs_core[_0x53ef00(0x1ca)],!![]),'onBlur':_0x10a3c9=>{_0x3fd241['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);},'value':(_0x35fe4b=_0x13e355===null||_0x13e355===void 0x0?void 0x0:_0x13e355[_0x53ef00(0x261)])!==null&&_0x35fe4b!==void 0x0?_0x35fe4b:_univerjs_pro_engine_chart[_0x53ef00(0x4cc)]['relation'][_0x53ef00(0xcd)][_0x53ef00(0x261)],'onChange':_0x1028a4=>_0x37833b({'repulsion':_0x1028a4})})]}),(0x0,react_jsx_runtime[_0x53ef00(0x2d7)])(_0x53ef00(0x3d7),{'className':_0x53ef00(0xc4),'children':[(0x0,react_jsx_runtime['jsx'])(_0x53ef00(0x3d7),{'className':_0x53ef00(0x50a),'children':_0x7d81b0(_0x53ef00(0x333))}),(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_univerjs_design['InputNumber'],{'className':_0x53ef00(0x50a),'controls':![],'onFocus':()=>_0x3fd241[_0x53ef00(0xc6)](_univerjs_core[_0x53ef00(0x1ca)],!![]),'onBlur':_0xc8a34c=>{const _0x3fec91=_0x53ef00;_0x3fd241[_0x3fec91(0xc6)](_univerjs_core[_0x3fec91(0x1ca)],![]);},'value':(_0x5d5a91=_0x13e355===null||_0x13e355===void 0x0?void 0x0:_0x13e355[_0x53ef00(0x2b4)])!==null&&_0x5d5a91!==void 0x0?_0x5d5a91:_univerjs_pro_engine_chart[_0x53ef00(0x4cc)]['relation'][_0x53ef00(0xcd)][_0x53ef00(0x2b4)],'onChange':_0x5c9009=>_0x37833b({'gravity':_0x5c9009})})]}),(0x0,react_jsx_runtime[_0x53ef00(0x2d7)])('div',{'className':_0x53ef00(0xc4),'children':[(0x0,react_jsx_runtime[_0x53ef00(0x339)])('div',{'className':'univer-flex-1','children':_0x7d81b0(_0x53ef00(0x495))}),(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_univerjs_design['InputNumber'],{'className':_0x53ef00(0x50a),'controls':![],'value':_0x13e355===null||_0x13e355===void 0x0?void 0x0:_0x13e355['edgeLength'],'onFocus':()=>_0x3fd241[_0x53ef00(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x50b9e=>{const _0x1bbf32=_0x53ef00;_0x3fd241[_0x1bbf32(0xc6)](_univerjs_core[_0x1bbf32(0x1ca)],![]);},'onChange':_0x1f2ed3=>_0x37833b({'edgeLength':_0x1f2ed3}),'min':0x0,'step':0xa})]})]}),_0x5db193&&(0x0,react_jsx_runtime[_0x53ef00(0x339)])(_0x53ef00(0x3d7),{'className':_0x53ef00(0x4d7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x53ef00(0x12d)],{'checked':_0x43f576!==null&&_0x43f576!==void 0x0?_0x43f576:_univerjs_pro_engine_chart['defaultChartConfig'][_0x53ef00(0x42e)]['circular'][_0x53ef00(0x1c7)],'onChange':_0x48b721=>{_0x175d8f(Boolean(_0x48b721));},'children':_0x7d81b0(_0x53ef00(0x2d0))})})]});}const defaultCombination=_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0xd7)];function useSeriesChartType(_0x494a0a,_0x18243a,_0x5ca833){const _0x33356e=_0x1d8fa5,[_0x3770ff]=useChartConfigState(_0x33356e(0x32e),_0x5ca833),[_0x5946c9]=useChartConfigState('seriesValues',_0x5ca833),_0x1ee442=_0x18243a===_univerjs_pro_engine_chart['defaultChartConfig'][_0x33356e(0x3eb)],_0x5e59b0=_0x3770ff===null||_0x3770ff===void 0x0?void 0x0:_0x3770ff[_0x18243a];if(_0x494a0a!==_univerjs_pro_engine_chart['ChartTypeBits'][_0x33356e(0x369)])return _0x494a0a;if(_0x1ee442){const _0x1cefcf=()=>{const _0x5d2580=_0x33356e,_0x5cab98=_0x5946c9===null||_0x5946c9===void 0x0?void 0x0:_0x5946c9[_0x5d2580(0x246)]((_0x14eaaa,_0x2eac6e)=>{const _0x46f2e8=_0x5d2580;var _0x41a649;const _0x4b4a45=_0x3770ff===null||_0x3770ff===void 0x0?void 0x0:_0x3770ff[_0x14eaaa],_0x4c7248=_0x2eac6e===0x0?defaultCombination[_0x46f2e8(0x22f)]:defaultCombination[_0x46f2e8(0x421)];return(_0x41a649=_0x4b4a45===null||_0x4b4a45===void 0x0?void 0x0:_0x4b4a45['chartType'])!==null&&_0x41a649!==void 0x0?_0x41a649:_0x4c7248;}),_0x48051b=_0x5cab98===null||_0x5cab98===void 0x0?void 0x0:_0x5cab98[0x0];return(_0x5cab98===null||_0x5cab98===void 0x0?void 0x0:_0x5cab98['every'](_0x584ecf=>_0x584ecf===_0x48051b))?_0x48051b:_univerjs_pro_engine_chart[_0x5d2580(0x14e)]['None'];};return _0x1cefcf();}const _0x1f38c2=()=>{const _0x32ba93=_0x33356e;var _0x521900;const _0x121a87=_0x18243a===String(_0x5946c9===null||_0x5946c9===void 0x0?void 0x0:_0x5946c9[0x0])?defaultCombination[_0x32ba93(0x22f)]:defaultCombination[_0x32ba93(0x421)];return(_0x521900=_0x5e59b0===null||_0x5e59b0===void 0x0?void 0x0:_0x5e59b0[_0x32ba93(0x1d1)])!==null&&_0x521900!==void 0x0?_0x521900:_0x121a87;};return _0x1f38c2();}const CombinationChartTypeSelect=_0x8dd217=>{const _0x488bd2=_0x1d8fa5,{seriesId:_0x2543d8,service:_0xf7014d,localeService:_0x525752}=_0x8dd217,_0x472ce7=useTranslatedOptions(_0x525752,seriesChartTypeOptions),[_0x38c5e1,_0x135154]=useChartConfigState(_0x488bd2(0x32e),_0xf7014d),[_0x12e800]=useChartConfigState('seriesValues',_0xf7014d),_0x2543e4=(0x0,react['useCallback'])(_0x5c3f80=>{const _0x560b00=_0x488bd2,_0x324e87=Number(_0x5c3f80);if(_0x2543d8===_univerjs_pro_engine_chart[_0x560b00(0x4cc)][_0x560b00(0x3eb)]){const _0x331185=_0x12e800===null||_0x12e800===void 0x0?void 0x0:_0x12e800[_0x560b00(0x4ec)]((_0x4ff7df,_0x2ffd8d)=>{return _0x4ff7df[String(_0x2ffd8d)]={'chartType':_0x324e87},_0x4ff7df;},{});if(!_0x331185)return;_0x135154(_0x331185);}else _0x135154({[_0x2543d8]:{'chartType':_0x324e87}});},[_0x2543d8]),_0x52ae54=useSeriesChartType(_univerjs_pro_engine_chart[_0x488bd2(0x14e)][_0x488bd2(0x369)],_0x2543d8,_0xf7014d),_0x332d1e=String(_0x52ae54!==null&&_0x52ae54!==void 0x0?_0x52ae54:'');return(0x0,react_jsx_runtime[_0x488bd2(0x339)])(_univerjs_design[_0x488bd2(0x159)],{'className':_0x488bd2(0x2a5),'value':_0x52ae54===_univerjs_pro_engine_chart[_0x488bd2(0x14e)][_0x488bd2(0xf5)]?'':_0x332d1e,'options':_0x472ce7,'onChange':_0x2543e4});},defaultPointStyle={'shape':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x85)]['symbolType'],'size':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x85)][_0x1d8fa5(0x18a)],'color':void 0x0},linePointControls$1=[_0x1d8fa5(0x94),_0x1d8fa5(0x343),_0x1d8fa5(0x457)],RadarSeriesPoint=_0x416781=>{const _0x2bec2f=_0x1d8fa5,{localeService:_0x3fd08c,setSeriesStyle:_0x56fdba,pointStyle:_0x35b670}=_0x416781;return(0x0,react_jsx_runtime[_0x2bec2f(0x339)])(LinePointOptions,{'pointStyle':{...defaultPointStyle,..._0x35b670},'controls':linePointControls$1,'localeService':_0x3fd08c,'onChange':(_0x32bd18,_0x15ed7b)=>_0x56fdba({'point':{[_0x32bd18]:_0x15ed7b}})});},fallbackLabelStyle$1={'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0x1d8fa5(0x414)][_0x1d8fa5(0x2e1)],'contentType':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)]['labelContentType'],'position':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x414)][_0x1d8fa5(0x2ba)]},allSeriesOptions=[getAllSeriesOption()],defaultBorderStyle=_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x133)],linePointControls=['shape',_0x1d8fa5(0x343),_0x1d8fa5(0x457)],scatterAllSeriesPointControls=[_0x1d8fa5(0x94),_0x1d8fa5(0x343)],getDefaultBorderWidthByChartType=_0x379983=>{const _0x4dfe71=_0x1d8fa5;if((_0x379983&_univerjs_pro_engine_chart[_0x4dfe71(0x14e)][_0x4dfe71(0x4a3)])>0x0||(_0x379983&_univerjs_pro_engine_chart[_0x4dfe71(0x14e)][_0x4dfe71(0x401)])>0x0)return defaultBorderStyle['specialChartWidthMap'][_0x4dfe71(0x4f7)];if(_0x379983===_univerjs_pro_engine_chart[_0x4dfe71(0x14e)][_0x4dfe71(0x16f)])return defaultBorderStyle[_0x4dfe71(0x23c)]['radar'];return defaultBorderStyle['width'];},SeriesStyleEdit=_0x423e57=>{const _0x2f095a=_0x1d8fa5;var _0x30af2c,_0xb81d77;const {chartType:_0x21af09,service:_0x2422e1,localeService:_0x3a7d08}=_0x423e57,_0x519a3d=useTranslatedOptions(_0x3a7d08,dataLabelPositionOptions),_0x123a29=(0x0,react[_0x2f095a(0x389)])(()=>{const _0x3a1b02=_0x2f095a;return labelContentOptions[_0x3a1b02(0x4de)](_0x5016be=>{const _0x579eaa=_0x3a1b02;if(_0x21af09===_univerjs_pro_engine_chart[_0x579eaa(0x14e)][_0x579eaa(0x16f)])return _0x5016be[_0x579eaa(0x3ce)]!==String(_univerjs_pro_engine_chart[_0x579eaa(0x15c)]['SeriesName'])&&_0x5016be[_0x579eaa(0x3ce)]!==String(_univerjs_pro_engine_chart[_0x579eaa(0x15c)][_0x579eaa(0x2be)]);if(PercentageChartTypes['has'](_0x21af09))return!![];return _0x5016be['value']!==String(_univerjs_pro_engine_chart[_0x579eaa(0x15c)][_0x579eaa(0x2be)]);})[_0x3a1b02(0x246)](_0x1f1c8a=>{const _0x38a536=_0x3a1b02;return{'value':_0x1f1c8a[_0x38a536(0x3ce)],'label':_0x3a7d08['t'](_0x1f1c8a['label'])};});},[_0x21af09,_0x3a7d08]),[_0x1e7b50]=useTranslatedOptions(_0x3a7d08,allSeriesOptions),[_0x130ef9,_0x128e2d]=(0x0,react[_0x2f095a(0x3ba)])(_univerjs_pro_engine_chart[_0x2f095a(0x4cc)][_0x2f095a(0x3eb)]),_0x160297=_0x130ef9===_univerjs_pro_engine_chart[_0x2f095a(0x4cc)][_0x2f095a(0x3eb)],[_0x570954,_0x595727]=useChartConfigState(_0x2f095a(0x479),_0x2422e1),[_0x3949ee,_0x2f6c76]=useChartConfigState('seriesStyleMap',_0x2422e1),[_0xe95f36]=useChartConfigState(_0x2f095a(0xf8),_0x2422e1),_0x5f1152=_0x3949ee===null||_0x3949ee===void 0x0?void 0x0:_0x3949ee[_0x130ef9],[_0x3d7653]=useChartConfigState(_0x2f095a(0x17a),_0x2422e1),_0x3b4f04=_0x5f1152===null||_0x5f1152===void 0x0?void 0x0:_0x5f1152['dataPoints'],_0x22e762=(0x0,react[_0x2f095a(0x389)])(()=>_0x3d7653?[_0x1e7b50,..._0x3d7653]:[],[_0x1e7b50,_0x3d7653]),_0x6efb9d=_0x21af09?_univerjs_pro_engine_chart[_0x2f095a(0xa3)]['has'](_0x21af09,_univerjs_pro_engine_chart[_0x2f095a(0x1c2)]['Horizontal']):![],_0xb51cb3=useSeriesChartType(_0x21af09,_0x130ef9,_0x2422e1),_0x2a3ce1=_0xb51cb3===_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x4a3)],_0x98ffcc=(_0xb51cb3&_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x401)])>0x0,_0x1c49d7=_0xb51cb3===_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x16f)],_0x3d46ef=_0xb51cb3===_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x1a5)],_0x137907=_0x2a3ce1||_0x98ffcc,_0x36f466=(_0x21af09&_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x535)])>0x0||_0x1c49d7,_0x262b93=getDefaultBorderWidthByChartType(_0x21af09),_0x25f4eb=(0x0,react[_0x2f095a(0x9d)])(_0x3083cd=>{_0x2f6c76({[_0x130ef9]:_0x3083cd});},[_0x130ef9]),_0x3edeae=_0x32e13c=>{if(_0x160297)_0x595727(_0x32e13c);else _0x25f4eb(_0x32e13c);},_0x46e86d={..._0x5f1152===null||_0x5f1152===void 0x0?void 0x0:_0x5f1152['border']},_0x9169db=Object[_0x2f095a(0x23b)]({'color':_0x2f095a(0x1c3),'opacity':defaultBorderStyle[_0x2f095a(0x20a)],'width':_0x262b93,'dashType':defaultBorderStyle[_0x2f095a(0x148)]},_0x46e86d),_0xd64619=Object[_0x2f095a(0x23b)]({'color':_0x2f095a(0x1c3),'opacity':defaultBorderStyle[_0x2f095a(0x20a)],'width':_0x262b93,'dashType':defaultBorderStyle[_0x2f095a(0x148)]},_0x570954===null||_0x570954===void 0x0?void 0x0:_0x570954['border']),_0xa9cf11=Object[_0x2f095a(0x23b)]({'shape':_univerjs_pro_engine_chart[_0x2f095a(0x4cc)]['point'][_0x2f095a(0x94)],'size':_0x3d46ef?_univerjs_pro_engine_chart[_0x2f095a(0x4cc)][_0x2f095a(0x2da)][_0x2f095a(0x517)]:_univerjs_pro_engine_chart[_0x2f095a(0x4cc)]['point']['size'],'color':'transparent'},_0x570954===null||_0x570954===void 0x0?void 0x0:_0x570954[_0x2f095a(0x2da)],_0x5f1152===null||_0x5f1152===void 0x0?void 0x0:_0x5f1152[_0x2f095a(0x2da)]),_0x2b3ad5=_0x160297?(_0x30af2c=_0x570954===null||_0x570954===void 0x0?void 0x0:_0x570954[_0x2f095a(0x13a)])!==null&&_0x30af2c!==void 0x0?_0x30af2c:{}:Object[_0x2f095a(0x23b)]({},_0x570954===null||_0x570954===void 0x0?void 0x0:_0x570954[_0x2f095a(0x13a)],_0x5f1152===null||_0x5f1152===void 0x0?void 0x0:_0x5f1152[_0x2f095a(0x13a)]),_0x4f9a2c=(_0xb81d77=_0x5f1152===null||_0x5f1152===void 0x0?void 0x0:_0x5f1152['rightYAxis'])!==null&&_0xb81d77!==void 0x0?_0xb81d77:_0x570954===null||_0x570954===void 0x0?void 0x0:_0x570954[_0x2f095a(0x3d3)],_0x3593c4=_0xb51cb3===_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0xf5)]||_0x21af09===_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x369)]&&_0xb51cb3===_univerjs_pro_engine_chart[_0x2f095a(0x14e)][_0x2f095a(0x29b)]&&_0x160297,{t:_0x41a107}=_0x3a7d08,_0x352b4b=(0x0,react[_0x2f095a(0x9d)])(_0x126a45=>{const _0x2a2f3c=_0x2f095a;if(_0x5f1152&&_0x5f1152['dataPoints']&&_0x5f1152[_0x2a2f3c(0x1cb)][_0x126a45])return;_0x2f6c76({[_0x130ef9]:{'dataPoints':{[_0x126a45]:{}}}});},[_0x5f1152,_0x130ef9]),_0x1fefcf=(0x0,react[_0x2f095a(0x9d)])(_0x485e2d=>{_0x2f6c76({[_0x130ef9]:{'dataPoints':_0x485e2d}});},[_0x130ef9]);return(0x0,react_jsx_runtime[_0x2f095a(0x2d7)])(react_jsx_runtime[_0x2f095a(0x90)],{'children':[(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0xf1),'children':(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_univerjs_design[_0x2f095a(0x159)],{'className':_0x2f095a(0x2a5),'value':_0x130ef9,'onChange':_0xe9e4c6=>_0x128e2d(_0xe9e4c6),'options':_0x22e762})}),_0x21af09===_univerjs_pro_engine_chart[_0x2f095a(0x14e)]['Combination']&&(0x0,react_jsx_runtime['jsxs'])(_0x2f095a(0x3d7),{'className':_0x2f095a(0xf1),'children':[(0x0,react_jsx_runtime[_0x2f095a(0x339)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','children':_0x41a107(_0x2f095a(0x3d0))}),(0x0,react_jsx_runtime[_0x2f095a(0x339)])(CombinationChartTypeSelect,{'seriesId':_0x130ef9,'service':_0x2422e1,'localeService':_0x3a7d08})]}),(0x0,react_jsx_runtime['jsxs'])(_0x2f095a(0x3d7),{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[!_0x3593c4&&(0x0,react_jsx_runtime[_0x2f095a(0x2d7)])(react_jsx_runtime[_0x2f095a(0x90)],{'children':[(0x0,react_jsx_runtime[_0x2f095a(0x339)])('div',{'className':_0x2f095a(0x1bb),'children':_0x41a107(_0x2f095a(0x2f5))}),(!_0x3d46ef||_0x3d46ef&&!_0x160297)&&(0x0,react_jsx_runtime[_0x2f095a(0x339)])(FillOptions,{'chartType':_0x21af09,'allSeriesStyle':_0x570954,'controlName':_0x41a107(_0x2a3ce1?_0x2f095a(0x3ab):_0x2f095a(0xde)),'seriesStyle':_0x160297?_0x570954:_0x5f1152,'onSeriesStyleChange':_0x3edeae,'localeService':_0x3a7d08}),!_0x3d46ef&&(0x0,react_jsx_runtime[_0x2f095a(0x339)])(BorderOptions,{'isLineOrAreaChart':_0x137907,'allSeriesBorderStyle':_0x570954===null||_0x570954===void 0x0?void 0x0:_0x570954[_0x2f095a(0x189)],'hideBorder':!_0x2a3ce1,'controlName':_0x41a107(_0x2a3ce1||_0x1c49d7?_0x2f095a(0x3ab):_0x2f095a(0x3ae)),'borderStyle':_0x160297?_0xd64619:_0x9169db,'onSeriesStyleChange':_0x3edeae,'localeService':_0x3a7d08}),(_0x137907||_0x3d46ef)&&(0x0,react_jsx_runtime['jsx'])(LinePointOptions,{'pointStyle':_0xa9cf11,'onChange':(_0x44144b,_0x256d1a)=>_0x3edeae({'point':{[_0x44144b]:_0x256d1a}}),'controls':_0x160297?scatterAllSeriesPointControls:linePointControls,'localeService':_0x3a7d08})]}),!_0x6efb9d&&!_0x160297&&!_0x36f466&&(0x0,react_jsx_runtime['jsx'])(AxisControl,{'rightYAxis':Boolean(_0x4f9a2c),'onSeriesStyleChange':_0x3edeae,'localeService':_0x3a7d08})]}),(0x0,react_jsx_runtime[_0x2f095a(0x2d7)])(_0x2f095a(0x3d7),{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[!_0x160297&&_0x1c49d7&&(0x0,react_jsx_runtime['jsx'])(RadarSeriesPoint,{'localeService':_0x3a7d08,'pointStyle':_0x5f1152===null||_0x5f1152===void 0x0?void 0x0:_0x5f1152[_0x2f095a(0x2da)],'setSeriesStyle':_0x3edeae}),!_0x160297&&!_0x1c49d7&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x2f095a(0x2d7)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0x523),'children':[(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0x46d),'children':(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0x1bb),'children':_0x41a107(_0x2f095a(0x4fe),_0x41a107(_0x2f095a(0x408)))})}),(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0x46d),'children':(0x0,react_jsx_runtime[_0x2f095a(0x339)])(DropdownSelector,{'value':_0x130ef9,'menus':_0xe95f36!==null&&_0xe95f36!==void 0x0?_0xe95f36:[],'onSelect':_0x5f1187=>_0x352b4b(+_0x5f1187),'children':(0x0,react_jsx_runtime[_0x2f095a(0x2d7)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0x465),'children':[(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_univerjs_icons[_0x2f095a(0x7b)],{}),(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_0x2f095a(0x9c),{'children':_0x41a107('chart.addDataPoint')})]})})})]}),_0x3b4f04&&(0x0,react_jsx_runtime['jsx'])(DataPointsEdit,{'chartType':_0x21af09,'data':_0x3b4f04,'options':_0xe95f36!==null&&_0xe95f36!==void 0x0?_0xe95f36:[],'onChange':_0x1fefcf,'localeService':_0x3a7d08})]})]}),(0x0,react_jsx_runtime[_0x2f095a(0x339)])(_0x2f095a(0x3d7),{'className':_0x2f095a(0xf1),'children':(0x0,react_jsx_runtime['jsx'])(DataLabelOptions,{'localeService':_0x3a7d08,'fallbackLabelStyle':fallbackLabelStyle$1,'labelStyle':_0x2b3ad5,'positionOptions':_0x519a3d,'contentTypeOptions':_0x123a29,'onLabelStyleChange':(_0x9d157b,_0x46053c)=>_0x3edeae({'label':{[_0x9d157b]:_0x46053c}}),'onVisibleChange':_0x3f42e2=>_0x3edeae({'label':{'visible':_0x3f42e2}}),'isPieLike':![],'chartType':_0x21af09})})]});},TrendLineStyleEdit=_0x6e9169=>{const _0x4f0333=_0x1d8fa5;var _0xe7afae,_0x469dcd,_0x3072ce,_0x2e572a;const {localeService:_0x262bbf,uiService:_0x5c6077}=_0x6e9169,{t:_0x2d5ad5}=_0x262bbf,_0x24a596=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['IContextService']),[_0x41a04d,_0x54ab51]=useChartConfigState(_0x4f0333(0x415),_0x5c6077),[_0x476650,_0x5a707d]=(0x0,react[_0x4f0333(0x3ba)])(0x0),_0x2b6118=trendlineTypeOptions[_0x4f0333(0x246)](_0x1f3348=>({'label':(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x43f),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x4f0333(0x2a7),'children':trendlineToIcon===null||trendlineToIcon===void 0x0?void 0x0:trendlineToIcon[_0x1f3348[_0x4f0333(0x3ce)]]}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x193),'children':_0x262bbf['t'](_0x1f3348['label'])})]}),'value':_0x1f3348[_0x4f0333(0x3ce)]})),_0x3a84c4=useTranslatedOptions(_0x262bbf,borderDashTypeOptions),_0xbbd664=borderWidthOptions['slice'](0x1),_0x4fa28a=(_0x41a04d||[])[_0x4f0333(0x246)]((_0x7081d3,_0x18b53d)=>({'label':_0x7081d3['name'],'value':String(_0x18b53d)})),_0x51da6a=(0x0,react[_0x4f0333(0x9d)])(_0x581c2c=>{if(_0x41a04d){const _0x154a35=[..._0x41a04d];_0x154a35[_0x476650]={..._0x154a35[_0x476650],..._0x581c2c},_0x54ab51(_0x154a35);}},[_0x41a04d,_0x476650]),_0x21b552=(0x0,react[_0x4f0333(0x389)])(()=>{return _0x41a04d?_0x41a04d[_0x476650]:void 0x0;},[_0x41a04d,_0x476650]),[_0x1aed49,_0x5edc24]=(0x0,react[_0x4f0333(0x3ba)])((_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x318)])||'');if(_0x41a04d===void 0x0||_0x41a04d[_0x4f0333(0x451)]===0x0)return null;return(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x149),{'className':_0x4f0333(0x361),'children':[(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x476650),'onChange':_0x230897=>_0x5a707d(Number(_0x230897)),'options':_0x4fa28a})}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d5ad5(_0x4f0333(0x113))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design[_0x4f0333(0x4a2)],{'value':_0x1aed49,'onChange':_0x5edc24,'onBlur':()=>{const _0x503bc3=_0x4f0333;_0x24a596[_0x503bc3(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);if(_0x1aed49)_0x51da6a===null||_0x51da6a===void 0x0||_0x51da6a({'name':_0x1aed49});else _0x5edc24((_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552['name'])||'');},'onFocus':()=>{const _0x19e6e1=_0x4f0333;_0x24a596[_0x19e6e1(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);}})}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x302))}),(0x0,react_jsx_runtime['jsxs'])(_0x4f0333(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design[_0x4f0333(0x159)],{'className':'univer-mb-2\x20univer-w-full\x20!univer-min-w-0','value':String(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x7e)]),'onChange':_0x386db7=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'type':_0x386db7}),'options':_0x2b6118}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x104),'children':(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design[_0x4f0333(0x12d)],{'checked':(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552['showFormula'])||_univerjs_pro_engine_chart[_0x4f0333(0x4cc)][_0x4f0333(0x33f)][_0x4f0333(0x279)],'onChange':_0x5338e2=>_0x51da6a({'showFormula':Boolean(_0x5338e2)}),'children':_0x2d5ad5(_0x4f0333(0x359))})}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x104),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4f0333(0x12d)],{'checked':(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552['showR2'])||_univerjs_pro_engine_chart[_0x4f0333(0x4cc)][_0x4f0333(0x33f)][_0x4f0333(0x4ca)],'onChange':_0x3765f3=>_0x51da6a({'showR2':Boolean(_0x3765f3)}),'children':_0x2d5ad5(_0x4f0333(0x322))})}),((_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x7e)])===_univerjs_pro_engine_chart[_0x4f0333(0x4db)]['poly']||(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x7e)])===_univerjs_pro_engine_chart[_0x4f0333(0x4db)][_0x4f0333(0x25f)])&&(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])('div',{'className':_0x4f0333(0x33c),'children':[(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x7e)])===_univerjs_pro_engine_chart[_0x4f0333(0x4db)][_0x4f0333(0x3b1)]&&(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x4f0333(0x339)])('div',{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x28f))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design['Select'],{'className':_0x4f0333(0x2a5),'value':String((_0xe7afae=_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x21a)])!==null&&_0xe7afae!==void 0x0?_0xe7afae:_univerjs_pro_engine_chart[_0x4f0333(0x4cc)][_0x4f0333(0x33f)][_0x4f0333(0x21a)]),'options':trendlineOrderOptions,'onChange':_0x2635bb=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'order':Number(_0x2635bb)})})]}),(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x7e)])===_univerjs_pro_engine_chart[_0x4f0333(0x4db)][_0x4f0333(0x25f)]&&(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(react_jsx_runtime[_0x4f0333(0x90)],{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x21e))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design[_0x4f0333(0xb0)],{'value':(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552['period'])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x4f0333(0x33f)][_0x4f0333(0xad)],'onChange':_0x2b58ac=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'period':Math[_0x4f0333(0x214)](_0x2b58ac)})})]})]}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x2f5))}),(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x46d),'children':[(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x156),_0x2d5ad5(_0x4f0333(0x45a)))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(ColorPickerControl,{'color':(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552['color'])||'','onChange':_0x12e103=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'color':_0x12e103})})]}),(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x4c5),_0x2d5ad5(_0x4f0333(0x45a)))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design[_0x4f0333(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x469dcd=_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x20a)])!==null&&_0x469dcd!==void 0x0?_0x469dcd:_univerjs_pro_engine_chart[_0x4f0333(0x4cc)][_0x4f0333(0x33f)][_0x4f0333(0x20a)]),'options':lineOpacityOptions,'onChange':_0xfbea87=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'opacity':Number(_0xfbea87)})})]})]}),(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x3e5),'children':[(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x4f0333(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d5ad5(_0x4f0333(0x10e),_0x2d5ad5(_0x4f0333(0x45a)))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4f0333(0x159)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x3072ce=_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x148)])!==null&&_0x3072ce!==void 0x0?_0x3072ce:_univerjs_pro_engine_chart[_0x4f0333(0x4cc)][_0x4f0333(0x33f)][_0x4f0333(0x148)]),'options':_0x3a84c4,'onChange':_0x432f32=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'dashType':_0x432f32})})]}),(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x437),_0x2d5ad5(_0x4f0333(0x45a)))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_univerjs_design['Select'],{'className':_0x4f0333(0x2a5),'value':String((_0x2e572a=_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x103)])!==null&&_0x2e572a!==void 0x0?_0x2e572a:_univerjs_pro_engine_chart['defaultChartConfig'][_0x4f0333(0x33f)][_0x4f0333(0x103)]),'options':_0xbbd664,'onChange':_0x42d609=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'width':Number(_0x42d609)})})]})]}),(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x7e)])!==_univerjs_pro_engine_chart[_0x4f0333(0x4db)]['movingAvg']&&(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x3e5),'children':[(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x279)])&&(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x46d),'children':[(0x0,react_jsx_runtime[_0x4f0333(0x339)])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':_0x2d5ad5('chart.withColor',_0x2d5ad5(_0x4f0333(0x4df)))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(ColorPickerControl,{'color':(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x448)])||'','onChange':_0x345eac=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'formulaColor':_0x345eac})})]}),(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x4ca)])&&(0x0,react_jsx_runtime[_0x4f0333(0x2d7)])(_0x4f0333(0x3d7),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x4f0333(0x3d7),{'className':_0x4f0333(0x15f),'children':_0x2d5ad5(_0x4f0333(0x156),_0x2d5ad5(_0x4f0333(0x129)))}),(0x0,react_jsx_runtime[_0x4f0333(0x339)])(ColorPickerControl,{'color':(_0x21b552===null||_0x21b552===void 0x0?void 0x0:_0x21b552[_0x4f0333(0x45e)])||'','onChange':_0x30596b=>_0x51da6a===null||_0x51da6a===void 0x0?void 0x0:_0x51da6a({'r2Color':_0x30596b})})]})]})]})]});},fallbackLabelStyle={'fontSize':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x414)][_0x1d8fa5(0x2e1)],'contentType':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)]['labelContentType'],'position':_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)][_0x1d8fa5(0x414)][_0x1d8fa5(0x2ba)]},WaterfallSeriesEdit=_0x13ffd2=>{const _0x519cc9=_0x1d8fa5;var _0x4b3077,_0x399f58,_0x3c7c35,_0x202840,_0x427fa7,_0x1807ba,_0x217dd5,_0x2340e2,_0x366a14,_0x38b6b1,_0x651653,_0x3fee7c,_0x187363,_0x3f61f3,_0x5660b2,_0x324b17,_0x6b3fe9;const {service:_0x4a31d7,localeService:_0x4c1f7c}=_0x13ffd2,{t:_0x2fc92b}=_0x4c1f7c,_0xf01e45=useTranslatedOptions(_0x4c1f7c,dataLabelPositionOptions),_0x4d5d48=(0x0,react[_0x519cc9(0x389)])(()=>{const _0x443cb4=_0x519cc9;return labelContentOptions[_0x443cb4(0x4de)](_0x7c8590=>{const _0x2bd193=_0x443cb4;return _0x7c8590[_0x2bd193(0x3ce)]!==String(_univerjs_pro_engine_chart[_0x2bd193(0x15c)][_0x2bd193(0x2be)]);})[_0x443cb4(0x246)](_0x1a1c7a=>{const _0x5cbb1d=_0x443cb4;return{'value':_0x1a1c7a[_0x5cbb1d(0x3ce)],'label':_0x4c1f7c['t'](_0x1a1c7a[_0x5cbb1d(0x13a)])};});},[_0x4c1f7c]),_0xb95bc0=(0x0,_univerjs_ui[_0x519cc9(0x515)])(_univerjs_core[_0x519cc9(0x3e1)]),[_0x248a67,_0x7fa68b]=(0x0,react[_0x519cc9(0x3ba)])(_univerjs_pro_engine_chart[_0x519cc9(0x4cc)][_0x519cc9(0x3eb)]),_0x1012af=_0x248a67===_univerjs_pro_engine_chart[_0x519cc9(0x4cc)][_0x519cc9(0x3eb)],[_0x3b6a21,_0x3e1c39]=useChartConfigState('allSeriesStyle',_0x4a31d7),[_0x265ece,_0x4d8725]=useChartConfigState('seriesStyleMap',_0x4a31d7),[_0x326b3d]=useChartConfigState('seriesList',_0x4a31d7),[_0x687c26]=useChartConfigState(_0x519cc9(0x26f),_0x4a31d7),_0x365802=_0x687c26!==_univerjs_pro_engine_chart[_0x519cc9(0x37d)][_0x519cc9(0x452)],[_0x1a56ad]=useTranslatedOptions(_0x4c1f7c,[getAllSeriesOption()]),_0x59b7c2=_0x265ece===null||_0x265ece===void 0x0?void 0x0:_0x265ece[_0x248a67],_0x3439fd=(0x0,react['useMemo'])(()=>_0x326b3d?[_0x1a56ad,..._0x326b3d]:[],[_0x1a56ad,_0x326b3d]),_0x572fbf=_0x15a5d8=>{if(_0x1012af)_0x3e1c39(_0x15a5d8);else _0x4d8725({[_0x248a67]:_0x15a5d8});},_0x43c725=_univerjs_pro_engine_chart['defaultChartConfig']['borderStyle'],_0x341e03={'color':'transparent','opacity':_0x43c725[_0x519cc9(0x20a)],'width':0x0,'dashType':_0x43c725['dashType']},_0x158c64=_0x1012af?{..._0x341e03,..._0x3b6a21===null||_0x3b6a21===void 0x0||(_0x4b3077=_0x3b6a21[_0x519cc9(0x32d)])===null||_0x4b3077===void 0x0||(_0x4b3077=_0x4b3077[_0x519cc9(0x4b3)])===null||_0x4b3077===void 0x0?void 0x0:_0x4b3077[_0x519cc9(0x189)]}:{..._0x341e03,..._0x59b7c2===null||_0x59b7c2===void 0x0||(_0x399f58=_0x59b7c2[_0x519cc9(0x32d)])===null||_0x399f58===void 0x0||(_0x399f58=_0x399f58[_0x519cc9(0x4b3)])===null||_0x399f58===void 0x0?void 0x0:_0x399f58[_0x519cc9(0x189)]},_0x6f64da=_0x1012af?{..._0x341e03,..._0x3b6a21===null||_0x3b6a21===void 0x0||(_0x3c7c35=_0x3b6a21[_0x519cc9(0x32d)])===null||_0x3c7c35===void 0x0||(_0x3c7c35=_0x3c7c35[_0x519cc9(0x1b3)])===null||_0x3c7c35===void 0x0?void 0x0:_0x3c7c35[_0x519cc9(0x189)]}:{..._0x341e03,..._0x59b7c2===null||_0x59b7c2===void 0x0||(_0x202840=_0x59b7c2[_0x519cc9(0x32d)])===null||_0x202840===void 0x0||(_0x202840=_0x202840['negative'])===null||_0x202840===void 0x0?void 0x0:_0x202840['border']},_0xf2a77f=_0x1012af?{..._0x341e03,..._0x3b6a21===null||_0x3b6a21===void 0x0||(_0x427fa7=_0x3b6a21[_0x519cc9(0x32d)])===null||_0x427fa7===void 0x0||(_0x427fa7=_0x427fa7[_0x519cc9(0x1b8)])===null||_0x427fa7===void 0x0?void 0x0:_0x427fa7[_0x519cc9(0x189)]}:{..._0x341e03,..._0x59b7c2===null||_0x59b7c2===void 0x0||(_0x1807ba=_0x59b7c2[_0x519cc9(0x32d)])===null||_0x1807ba===void 0x0||(_0x1807ba=_0x1807ba[_0x519cc9(0x1b8)])===null||_0x1807ba===void 0x0?void 0x0:_0x1807ba['border']},_0x293e04=(_0x5351a9,_0x8a3503)=>{const _0x1088ea=_0x519cc9;if(_0x8a3503===_univerjs_pro_engine_chart[_0x1088ea(0x3b4)][_0x1088ea(0x1b8)])return _0x2fc92b(_0x1088ea(0x2a1));const _0x2acfb6=_0x326b3d===null||_0x326b3d===void 0x0?void 0x0:_0x326b3d[_0x1088ea(0x4a8)](_0x3ea373=>_0x3ea373[_0x1088ea(0x3ce)]===_0x5351a9);if(_0x2acfb6){const _0x4a30f4=_0x2acfb6[_0x1088ea(0x13a)];switch(_0x8a3503){case _univerjs_pro_engine_chart[_0x1088ea(0x3b4)]['positive']:return _0x4a30f4+'-('+_0x2fc92b(_0x1088ea(0x36d))+')';case _univerjs_pro_engine_chart[_0x1088ea(0x3b4)]['negative']:return _0x4a30f4+'-('+_0x2fc92b('chart.waterfall.negative')+')';default:return _0x4a30f4;}}return'';},_0x15d638=_0x1012af?(_0x217dd5=_0x3b6a21===null||_0x3b6a21===void 0x0?void 0x0:_0x3b6a21[_0x519cc9(0x13a)])!==null&&_0x217dd5!==void 0x0?_0x217dd5:{}:Object['assign']({},_0x3b6a21===null||_0x3b6a21===void 0x0?void 0x0:_0x3b6a21[_0x519cc9(0x13a)],_0x59b7c2===null||_0x59b7c2===void 0x0?void 0x0:_0x59b7c2[_0x519cc9(0x13a)]),_0xd1a3c0=_0x365802?_0x59b7c2===null||_0x59b7c2===void 0x0||(_0x2340e2=_0x59b7c2[_0x519cc9(0x32d)])===null||_0x2340e2===void 0x0||(_0x2340e2=_0x2340e2['subtotal'])===null||_0x2340e2===void 0x0?void 0x0:_0x2340e2[_0x519cc9(0x318)]:_0x3b6a21===null||_0x3b6a21===void 0x0||(_0x366a14=_0x3b6a21['waterfall'])===null||_0x366a14===void 0x0||(_0x366a14=_0x366a14[_0x519cc9(0x1b8)])===null||_0x366a14===void 0x0?void 0x0:_0x366a14[_0x519cc9(0x318)],_0x5ccbea=_0x687c26===_univerjs_pro_engine_chart[_0x519cc9(0x37d)][_0x519cc9(0x452)]?_0x1012af:!![];return(0x0,react_jsx_runtime[_0x519cc9(0x2d7)])(_0x519cc9(0x3d7),{'children':[(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_0x519cc9(0x3d7),{'className':_0x519cc9(0x266),'children':(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_univerjs_design[_0x519cc9(0x159)],{'className':_0x519cc9(0x2a5),'value':_0x248a67,'onChange':_0x426340=>_0x7fa68b(_0x426340),'options':_0x3439fd})}),(0x0,react_jsx_runtime[_0x519cc9(0x2d7)])('div',{'className':_0x519cc9(0x361),'children':[(0x0,react_jsx_runtime[_0x519cc9(0x339)])('div',{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x2fc92b(_0x519cc9(0x262))}),!_0x1012af&&(0x0,react_jsx_runtime[_0x519cc9(0x2d7)])(react_jsx_runtime[_0x519cc9(0x90)],{'children':[(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_0x519cc9(0x3d7),{'className':_0x519cc9(0x513),'children':_0x2fc92b(_0x519cc9(0x18b))}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_univerjs_design['Input'],{'className':_0x519cc9(0x267),'value':(_0x59b7c2===null||_0x59b7c2===void 0x0||(_0x38b6b1=_0x59b7c2[_0x519cc9(0x32d)])===null||_0x38b6b1===void 0x0||(_0x38b6b1=_0x38b6b1[_0x519cc9(0x4b3)])===null||_0x38b6b1===void 0x0?void 0x0:_0x38b6b1[_0x519cc9(0x318)])||_0x293e04(_0x248a67,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum'][_0x519cc9(0x4b3)]),'onChange':_0x226f18=>{_0x572fbf({'waterfall':{'positive':{'name':_0x226f18}}});},'onFocus':()=>{const _0x382026=_0x519cc9;_0xb95bc0[_0x382026(0xc6)](_univerjs_core[_0x382026(0x1ca)],!![]);},'onBlur':()=>{const _0x274fe5=_0x519cc9;_0xb95bc0[_0x274fe5(0xc6)](_univerjs_core[_0x274fe5(0x1ca)],![]);}})]}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x519cc9(0x14e)][_0x519cc9(0x297)],'allSeriesStyle':_0x3b6a21,'controlName':'','seriesStyle':_0x1012af?_0x3b6a21===null||_0x3b6a21===void 0x0||(_0x651653=_0x3b6a21[_0x519cc9(0x32d)])===null||_0x651653===void 0x0?void 0x0:_0x651653[_0x519cc9(0x4b3)]:_0x59b7c2===null||_0x59b7c2===void 0x0||(_0x3fee7c=_0x59b7c2['waterfall'])===null||_0x3fee7c===void 0x0?void 0x0:_0x3fee7c[_0x519cc9(0x4b3)],'onSeriesStyleChange':_0x552e43=>_0x572fbf({'waterfall':{'positive':_0x552e43}}),'localeService':_0x4c1f7c}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(BorderOptions,{'isLineOrAreaChart':![],'allSeriesBorderStyle':_0x3b6a21===null||_0x3b6a21===void 0x0?void 0x0:_0x3b6a21[_0x519cc9(0x189)],'hideBorder':!![],'controlName':_0x2fc92b(_0x519cc9(0x3ae)),'borderStyle':_0x158c64,'onSeriesStyleChange':_0x119b6f=>_0x572fbf({'waterfall':{'positive':_0x119b6f}}),'localeService':_0x4c1f7c})]}),(0x0,react_jsx_runtime['jsxs'])(_0x519cc9(0x3d7),{'className':_0x519cc9(0x361),'children':[(0x0,react_jsx_runtime['jsx'])(_0x519cc9(0x3d7),{'className':_0x519cc9(0x1bb),'children':_0x2fc92b(_0x519cc9(0x3fa))}),!_0x1012af&&(0x0,react_jsx_runtime[_0x519cc9(0x2d7)])(react_jsx_runtime[_0x519cc9(0x90)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x519cc9(0x3d7),{'className':_0x519cc9(0x513),'children':_0x2fc92b(_0x519cc9(0x1f1))}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_univerjs_design[_0x519cc9(0x4a2)],{'className':'univer-mb-2','value':(_0x59b7c2===null||_0x59b7c2===void 0x0||(_0x187363=_0x59b7c2['waterfall'])===null||_0x187363===void 0x0||(_0x187363=_0x187363['negative'])===null||_0x187363===void 0x0?void 0x0:_0x187363[_0x519cc9(0x318)])||_0x293e04(_0x248a67,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum']['negative']),'onChange':_0x3151bb=>{_0x572fbf({'waterfall':{'negative':{'name':_0x3151bb}}});},'onFocus':()=>{const _0x3ef8ae=_0x519cc9;_0xb95bc0[_0x3ef8ae(0xc6)](_univerjs_core[_0x3ef8ae(0x1ca)],!![]);},'onBlur':()=>{const _0x19ce91=_0x519cc9;_0xb95bc0['setContextValue'](_univerjs_core[_0x19ce91(0x1ca)],![]);}})]}),(0x0,react_jsx_runtime['jsx'])(FillOptions,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x519cc9(0x297)],'allSeriesStyle':_0x3b6a21,'controlName':'','seriesStyle':_0x1012af?_0x3b6a21===null||_0x3b6a21===void 0x0||(_0x3f61f3=_0x3b6a21[_0x519cc9(0x32d)])===null||_0x3f61f3===void 0x0?void 0x0:_0x3f61f3[_0x519cc9(0x1b3)]:_0x59b7c2===null||_0x59b7c2===void 0x0||(_0x5660b2=_0x59b7c2[_0x519cc9(0x32d)])===null||_0x5660b2===void 0x0?void 0x0:_0x5660b2[_0x519cc9(0x1b3)],'onSeriesStyleChange':_0x2766bb=>_0x572fbf({'waterfall':{'negative':_0x2766bb}}),'localeService':_0x4c1f7c}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(BorderOptions,{'controlName':_0x2fc92b(_0x519cc9(0x3ae)),'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x3b6a21===null||_0x3b6a21===void 0x0?void 0x0:_0x3b6a21['border'],'borderStyle':_0x6f64da,'onSeriesStyleChange':_0x1c8ef5=>_0x572fbf({'waterfall':{'negative':_0x1c8ef5}}),'localeService':_0x4c1f7c})]}),_0x5ccbea&&(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime[_0x519cc9(0x90)],{'children':(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_0x519cc9(0x3d7),{'className':_0x519cc9(0x361),'children':(0x0,react_jsx_runtime[_0x519cc9(0x2d7)])(react_jsx_runtime[_0x519cc9(0x90)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x519cc9(0x3d7),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x2fc92b('chart.waterfall.subtotalStyle')}),(0x0,react_jsx_runtime[_0x519cc9(0x2d7)])(react_jsx_runtime[_0x519cc9(0x90)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x519cc9(0x3d7),{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x2fc92b(_0x519cc9(0x472))}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(_univerjs_design[_0x519cc9(0x4a2)],{'className':_0x519cc9(0x267),'value':_0xd1a3c0||_0x293e04(_0x248a67,_univerjs_pro_engine_chart[_0x519cc9(0x3b4)][_0x519cc9(0x1b8)]),'onChange':_0x24cb94=>{_0x572fbf({'waterfall':{'subtotal':{'name':_0x24cb94}}});},'onFocus':()=>{const _0x541775=_0x519cc9;_0xb95bc0[_0x541775(0xc6)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);},'onBlur':()=>{const _0x231cc6=_0x519cc9;_0xb95bc0[_0x231cc6(0xc6)](_univerjs_core[_0x231cc6(0x1ca)],![]);}})]}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(FillOptions,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x519cc9(0x297)],'allSeriesStyle':_0x3b6a21,'controlName':'','seriesStyle':_0x1012af?_0x3b6a21===null||_0x3b6a21===void 0x0||(_0x324b17=_0x3b6a21[_0x519cc9(0x32d)])===null||_0x324b17===void 0x0?void 0x0:_0x324b17[_0x519cc9(0x1b8)]:_0x59b7c2===null||_0x59b7c2===void 0x0||(_0x6b3fe9=_0x59b7c2['waterfall'])===null||_0x6b3fe9===void 0x0?void 0x0:_0x6b3fe9['subtotal'],'onSeriesStyleChange':_0x1ab692=>_0x572fbf({'waterfall':{'subtotal':_0x1ab692}}),'localeService':_0x4c1f7c}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])(BorderOptions,{'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x3b6a21===null||_0x3b6a21===void 0x0?void 0x0:_0x3b6a21['border'],'controlName':_0x2fc92b('chart.border'),'borderStyle':_0xf2a77f,'onSeriesStyleChange':_0x3f5b07=>_0x572fbf({'waterfall':{'subtotal':_0x3f5b07}}),'localeService':_0x4c1f7c})]})})}),(0x0,react_jsx_runtime[_0x519cc9(0x339)])('div',{'className':_0x519cc9(0x361),'children':(0x0,react_jsx_runtime[_0x519cc9(0x339)])(DataLabelOptions,{'localeService':_0x4c1f7c,'fallbackLabelStyle':fallbackLabelStyle,'labelStyle':_0x15d638,'positionOptions':_0xf01e45,'contentTypeOptions':_0x4d5d48,'onLabelStyleChange':(_0xe7ebbe,_0xc15fb5)=>_0x572fbf({'label':{[_0xe7ebbe]:_0xc15fb5}}),'onVisibleChange':_0x5edb14=>_0x572fbf({'label':{'visible':_0x5edb14}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart[_0x519cc9(0x14e)]['Waterfall']})})]});};function getShapes(_0x2a8dbc){const _0x369142=_0x1d8fa5,_0x4e28d8=[];for(const [_0x416d9a,_0x5eaa8b]of _0x2a8dbc)_0x4e28d8['push']({'value':_0x416d9a,'label':_0x416d9a,'icon':_0x5eaa8b[_0x369142(0x78)]});return _0x4e28d8;}function WordCloudShapeSelector(_0x5d1b90){const _0x37fc2d=_0x1d8fa5,{service:_0x84074,localeService:_0x403421}=_0x5d1b90,_0x44ffa4=getShapes((0x0,_univerjs_ui[_0x37fc2d(0x515)])(_univerjs_pro_engine_chart[_0x37fc2d(0x276)])[_0x37fc2d(0x47f)]()),[_0x5522d7,_0x29c176]=useChartConfigState(_0x37fc2d(0x1b5),_0x84074),[_0x26ff80,_0x24b327]=useChartConfigState('wordCloudRepeat',_0x84074),[_0x44aee8,_0x38c618]=(0x0,react[_0x37fc2d(0x3ba)])(![]),{t:_0x5b1e5b}=_0x403421,_0x424274=_0x44ffa4['find'](_0x219166=>_0x219166[_0x37fc2d(0x3ce)]===_0x5522d7)||_0x44ffa4[0x0];return(0x0,react_jsx_runtime[_0x37fc2d(0x2d7)])(_0x37fc2d(0x3d7),{'className':_0x37fc2d(0x10d),'children':[(0x0,react_jsx_runtime[_0x37fc2d(0x339)])('div',{'className':'univer-text\x20univer-mb-2\x20univer-text-sm','children':_0x5b1e5b(_0x37fc2d(0x307))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Dropdown'],{'open':_0x44aee8,'onOpenChange':_0x38c618,'overlay':(0x0,react_jsx_runtime[_0x37fc2d(0x339)])(_0x37fc2d(0x3d7),{'className':'univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','children':_0x44ffa4[_0x37fc2d(0x246)](_0x5d23a1=>(0x0,react_jsx_runtime['jsx'])(_0x37fc2d(0x199),{'className':(0x0,_univerjs_design[_0x37fc2d(0x4d6)])(_0x37fc2d(0x3e0),_univerjs_design[_0x37fc2d(0x127)],{'univer-bg-white':_0x424274[_0x37fc2d(0x3ce)]!==_0x5d23a1[_0x37fc2d(0x3ce)],'univer-select-item-option-selected':_0x424274['value']===_0x5d23a1['value']}),'type':'button','onClick':()=>{const _0x31d8a5=_0x37fc2d;_0x29c176(_0x5d23a1[_0x31d8a5(0x3ce)]),_0x38c618(![]);},'children':(0x0,react_jsx_runtime[_0x37fc2d(0x339)])(_0x37fc2d(0x9c),{'className':_0x37fc2d(0x110),'children':(0x0,react_jsx_runtime['jsx'])(_0x37fc2d(0x329),{'src':_0x5d23a1['icon'],'alt':_0x5d23a1[_0x37fc2d(0x13a)]})})},_0x5d23a1[_0x37fc2d(0x3ce)]))}),'children':(0x0,react_jsx_runtime['jsx'])(_0x37fc2d(0x199),{'className':(0x0,_univerjs_design[_0x37fc2d(0x4d6)])(_0x37fc2d(0x238),_univerjs_design[_0x37fc2d(0x127)]),'type':'button','children':(0x0,react_jsx_runtime['jsxs'])('span',{'className':'univer-flex','children':[(0x0,react_jsx_runtime[_0x37fc2d(0x339)])(_0x37fc2d(0x9c),{'className':'univer-mr-2\x20univer-text-2xl','children':(0x0,react_jsx_runtime[_0x37fc2d(0x339)])(_0x37fc2d(0x329),{'className':_0x37fc2d(0x4ee),'src':_0x424274[_0x37fc2d(0x323)],'alt':_0x424274[_0x37fc2d(0x13a)]})}),(0x0,react_jsx_runtime['jsx'])(_0x37fc2d(0x9c),{'className':_0x37fc2d(0x14f),'children':_0x424274[_0x37fc2d(0x13a)]})]})})}),(0x0,react_jsx_runtime[_0x37fc2d(0x339)])(_univerjs_design[_0x37fc2d(0x12d)],{'className':_0x37fc2d(0x3cf),'checked':_0x26ff80!==null&&_0x26ff80!==void 0x0?_0x26ff80:_univerjs_pro_engine_chart['defaultChartConfig'][_0x37fc2d(0x532)][_0x37fc2d(0x468)],'onChange':_0x387ebf=>{_0x24b327===null||_0x24b327===void 0x0||_0x24b327(Boolean(_0x387ebf));},'children':_0x5b1e5b(_0x37fc2d(0x202))})]});}const {textStyle}=_univerjs_pro_engine_chart[_0x1d8fa5(0x4cc)],StyleTabPanel=()=>{const _0x363792=_0x1d8fa5;var _0x36e32c,_0x579ac7,_0x52d74e,_0x1b0481,_0x3e9b56,_0x10ac75,_0x271400,_0x599ab8,_0x2b315c,_0xf36c04;const _0x345f35=(0x0,_univerjs_ui[_0x363792(0x515)])(_univerjs_core['LocaleService']),_0x3f7e37=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x363792(0x3e1)]),_0x3343f3=useSheetsChartUIService(),_0xff22b=(0x0,_univerjs_ui[_0x363792(0x515)])(_univerjs_ui['IDialogService']),{t:_0xd2411e}=_0x345f35,[_0x312cef,_0x4bc862]=useChartConfigState('chartType',_0x3343f3),[_0x39f430]=useChartConfigState(_0x363792(0x23e),_0x3343f3),[_0x412e4c,_0x49ac0d]=useChartConfigState(_0x363792(0x2dc),_0x3343f3,''),[_0x3a31bb,_0xab716b]=useChartConfigState('borderColor',_0x3343f3,''),[_0x35f784,_0x59986e]=useChartConfigState('legendStyle',_0x3343f3),[_0x32d616,_0x304f0e]=useChartConfigState(_0x363792(0x36e),_0x3343f3),[_0x230870,_0x32d719]=useChartConfigState('xAxisOptions',_0x3343f3),[_0x5c733d,_0xfa8332]=useChartConfigState('yAxisOptions',_0x3343f3),[_0x14213e,_0xe95993]=useChartConfigState(_0x363792(0x3d9),_0x3343f3),[_0x93af40,_0x50bb29]=useChartConfigState('titles',_0x3343f3),[_0x2dc545,_0x403c9e]=useChartConfigState('titlePosition',_0x3343f3),[_0x2e871f,_0x258677]=useChartConfigState(_0x363792(0x151),_0x3343f3),[_0x550eed]=useChartConfigState(_0x363792(0x402),_0x3343f3),[_0x385572]=useChartConfigState(_0x363792(0x4a7),_0x3343f3),_0x4eb81d=(0x0,_univerjs_ui[_0x363792(0x515)])(_univerjs_pro_engine_chart[_0x363792(0x34b)]),[_0x1f4640,_0xf859cc]=(0x0,react['useState'])(''),[_0x4dfbf5]=useChartConfigState(_0x363792(0x415),_0x3343f3),_0x1b818f=_0x312cef&&(0x0,_univerjs_pro_engine_chart[_0x363792(0x4e8)])(_0x312cef),_0xa66b9a=_0x4dfbf5&&_0x4dfbf5[_0x363792(0x451)]>0x0,_0x190e3b=_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)]['baseOn'](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x1a5)]),_0x325363=(0x0,react[_0x363792(0x389)])(()=>{const _0x57f652=_0x363792;return _0x385572?_0x4eb81d['getTheme'](_0x385572):_0x4eb81d[_0x57f652(0x375)]();},[_0x385572]),_0x54612d=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x47b)])),_0x115c38=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0xe6)])),_0x22a084=Boolean(_0x312cef&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x44e)])),_0x5afd3b=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)]['baseOn'](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x2fe)])),_0x3a4273=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart['ChartTypeBits'][_0x363792(0x3a7)])),_0x2c09c6=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart['ChartTypeBits'][_0x363792(0xa5)])),_0x48918f=Boolean(_0x312cef&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart['ChartTypeBits'][_0x363792(0x207)])),_0xf6675=(0x0,react['useMemo'])(()=>{const _0x327e33=_0x363792;return _0x550eed===null||_0x550eed===void 0x0?void 0x0:_0x550eed[_0x327e33(0x4ec)]((_0x3bbac0,_0x5256e9)=>{const _0x296062=_0x327e33;return _0x3bbac0[_0x5256e9[_0x296062(0x2ba)]]=_0x5256e9,_0x3bbac0;},{});},[_0x550eed]),_0x356ddf=Boolean(_0xf6675===null||_0xf6675===void 0x0?void 0x0:_0xf6675[_univerjs_pro_engine_chart['IRuntimeAxisPosition']['Right']])&&Boolean(_0xf6675===null||_0xf6675===void 0x0?void 0x0:_0xf6675[_univerjs_pro_engine_chart[_0x363792(0x3ed)][_0x363792(0x386)]])&&(_0x312cef&_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x535)])===0x0&&(_0x312cef&_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x16f)])===0x0,[_0x1bb671,_0x125c42]=(0x0,react['useState'])(titleOptions[0x0][_0x363792(0x3ce)]),_0x59b41c=_0x93af40===null||_0x93af40===void 0x0?void 0x0:_0x93af40[_0x1bb671],_0x14750b={'color':textStyle['color'],'fontSize':_0x1bb671==='title'?textStyle[_0x363792(0x14a)]:_0x1bb671===_0x363792(0x2a6)?textStyle['subTitleFontSize']:textStyle[_0x363792(0x2e1)],..._0x59b41c},_0x26cdbe=(0x0,react[_0x363792(0x9d)])(_0x1de443=>{_0x50bb29({[_0x1bb671]:_0x1de443});},[_0x1bb671]),_0x2fe507=_0x4f34be=>{const _0x19ecd7=_0x363792,_0xf7dc3={'label':{'axisTitleAlign':_0x4f34be}};if(_0x1bb671===_0x19ecd7(0x1a7))_0x32d719(_0xf7dc3);if(_0x1bb671===_0x19ecd7(0x231))_0xfa8332(_0xf7dc3);if(_0x1bb671===_0x19ecd7(0x1b2))_0xe95993(_0xf7dc3);},_0x3c5cd8=()=>{const _0x4ef934=_0x363792;if(_0x1bb671===_0x4ef934(0x1a7)){var _0x4fcc95;return _0x230870===null||_0x230870===void 0x0||(_0x4fcc95=_0x230870[_0x4ef934(0x13a)])===null||_0x4fcc95===void 0x0?void 0x0:_0x4fcc95[_0x4ef934(0x1f7)];}if(_0x1bb671===_0x4ef934(0x231)){var _0x204ef5;return _0x5c733d===null||_0x5c733d===void 0x0||(_0x204ef5=_0x5c733d[_0x4ef934(0x13a)])===null||_0x204ef5===void 0x0?void 0x0:_0x204ef5[_0x4ef934(0x1f7)];}if(_0x1bb671===_0x4ef934(0x1b2)){var _0x2a4f4c;return _0x14213e===null||_0x14213e===void 0x0||(_0x2a4f4c=_0x14213e[_0x4ef934(0x13a)])===null||_0x2a4f4c===void 0x0?void 0x0:_0x2a4f4c[_0x4ef934(0x1f7)];}};(0x0,react[_0x363792(0x422)])(()=>{const _0x29dd02=_0x363792;var _0x4fa370;_0xf859cc((_0x4fa370=_0x14750b===null||_0x14750b===void 0x0?void 0x0:_0x14750b[_0x29dd02(0x3ec)])!==null&&_0x4fa370!==void 0x0?_0x4fa370:'');},[_0x14750b===null||_0x14750b===void 0x0?void 0x0:_0x14750b[_0x363792(0x3ec)]]);const _0x180e95=useTranslatedOptions(_0x345f35,legendLabelPositionOptions),_0x409af8=useTranslatedOptions(_0x345f35,titleOptions),_0x4e3714=useTranslatedOptions(_0x345f35,legendSelectModeOptions),_0x1f14ff=useTranslatedOptions(_0x345f35,legendVisualMapTypeOptions),_0x56d6f1=[_0x409af8[0x0]],_0xd8db7e=useTranslatedOptions(_0x345f35,titlePositionOptions),_0x25ec46=useTranslatedOptions(_0x345f35,axisTitlePositionOptions),_0x395498=(_0x662333,_0x5608ed)=>{const _0x5e6abb=_0x363792,_0x4229cb={'label':UNIVER_SHEET_CHART_FORMAT_DIALOG,'onPatternApply':_0x5608ed,'originPattern':_0x662333};_0xff22b[_0x5e6abb(0x251)]({'id':UNIVER_SHEET_CHART_FORMAT_DIALOG_ID,'title':{'title':_0xd2411e(_0x5e6abb(0x4d1))},'children':_0x4229cb,'width':0x258,'onClose':()=>{const _0x3925ea=_0x5e6abb;_0xff22b[_0x3925ea(0x525)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);}});},_0x5e4855=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x535)])),_0x34f4b3=Boolean(_0x312cef&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart['ChartTypeBits'][_0x363792(0x16f)])),_0x2846c4=Boolean(_0x312cef&&_univerjs_pro_engine_chart[_0x363792(0xa3)][_0x363792(0x3a8)](_0x312cef,_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x297)]));return(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':'','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Accordion'],{'items':[{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e('chart.chartStyle')}),'children':(0x0,react_jsx_runtime['jsx'])(_0x363792(0x149),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsxs'])(_0x363792(0x3d7),{'className':_0x363792(0x4c0),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x363792(0x3d7),{'className':_0x363792(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xd2411e(_0x363792(0x2bb))}),(0x0,react_jsx_runtime[_0x363792(0x339)])(ColorPickerControl,{'color':_0x412e4c,'onChange':_0x49ac0d})]}),(0x0,react_jsx_runtime['jsxs'])(_0x363792(0x3d7),{'className':_0x363792(0x46d),'children':[(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e(_0x363792(0x51c))}),(0x0,react_jsx_runtime[_0x363792(0x339)])(ColorPickerControl,{'color':_0x3a31bb,'onChange':_0xab716b})]})]})})},{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xd2411e(_0x363792(0x52b))}),'children':(0x0,react_jsx_runtime['jsxs'])('section',{'children':[(0x0,react_jsx_runtime[_0x363792(0x2d7)])(_0x363792(0x3d7),{'className':_0x363792(0x361),'children':[(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e('chart.titles.title')}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design[_0x363792(0x159)],{'className':_0x363792(0x2a5),'value':_0x1bb671,'options':_0x5e4855||_0x34f4b3||_0x54612d?_0x56d6f1:_0x409af8,'onChange':_0x256b8f=>_0x125c42(_0x256b8f)})]}),(0x0,react_jsx_runtime[_0x363792(0x2d7)])(_0x363792(0x3d7),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x363792(0x339)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xd2411e(_0x363792(0x501))}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design[_0x363792(0x4a2)],{'value':_0x1f4640,'onChange':_0xf859cc,'onFocus':()=>{const _0x464120=_0x363792;_0x3f7e37[_0x464120(0xc6)](_univerjs_core[_0x464120(0x1ca)],!![]);},'onBlur':()=>{const _0x3d7f5b=_0x363792;_0x3f7e37[_0x3d7f5b(0xc6)](_univerjs_core[_0x3d7f5b(0x1ca)],![]);if(_0x1f4640!==(_0x14750b===null||_0x14750b===void 0x0?void 0x0:_0x14750b[_0x3d7f5b(0x3ec)]))_0x26cdbe({'content':_0x1f4640});}})]}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x4c0),'children':(0x0,react_jsx_runtime[_0x363792(0x2d7)])('div',{'className':_0x363792(0x46d),'children':[_0x1bb671===_0x363792(0x1b0)&&(0x0,react_jsx_runtime[_0x363792(0x2d7)])(react_jsx_runtime[_0x363792(0x90)],{'children':[(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e(_0x363792(0x482))}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design['Select'],{'className':_0x363792(0x2a5),'value':_0x2dc545!==null&&_0x2dc545!==void 0x0?_0x2dc545:_univerjs_pro_engine_chart[_0x363792(0x4cc)]['titlePosition'],'options':_0xd8db7e,'onChange':_0x257a78=>_0x403c9e(_0x257a78)})]}),_0x1bb671!=='title'&&(0x0,react_jsx_runtime[_0x363792(0x2d7)])(react_jsx_runtime[_0x363792(0x90)],{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x363792(0x15f),'children':_0xd2411e(_0x363792(0x4e7))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x363792(0x2a5),'value':(_0x36e32c=_0x3c5cd8())!==null&&_0x36e32c!==void 0x0?_0x36e32c:_univerjs_pro_engine_chart['defaultChartConfig'][_0x363792(0x4b9)]['titleAlign'],'options':_0x25ec46,'onChange':_0x233ca9=>_0x2fe507(_0x233ca9)})]})]})})}),(0x0,react_jsx_runtime[_0x363792(0x2d7)])(_0x363792(0x3d7),{'className':_0x363792(0x361),'children':[(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e(_0x363792(0x1f4))}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':'univer-flex\x20univer-items-center','children':(0x0,react_jsx_runtime[_0x363792(0x339)])(FontFormatBar,{'alignControl':_0x1bb671===_0x363792(0x1b0),'localeService':_0x345f35,..._0x14750b,'onChange':(_0x33f150,_0x5b985d)=>_0x26cdbe({[_0x33f150]:_0x5b985d})})})]})]})},_0x54612d&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x3c6))}),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(WordCloudShapeSelector,{'service':_0x3343f3,'localeService':_0x345f35})},!_0x54612d&&!_0x5e4855&&!_0x115c38&&!_0x5afd3b&&!_0x2846c4&&!_0x3a4273&&!_0x2c09c6&&!_0x48918f&&{'label':(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xd2411e(_0x363792(0x88))}),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(SeriesStyleEdit,{'chartType':_0x312cef,'service':_0x3343f3,'localeService':_0x345f35})},_0x3a4273&&{'label':(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x140))}),'children':(0x0,react_jsx_runtime['jsx'])(ParetoStyleEdit,{'service':_0x3343f3,'localeService':_0x345f35,'isLineSeries':![]})},_0x3a4273&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x46e))}),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(ParetoStyleEdit,{'service':_0x3343f3,'localeService':_0x345f35,'isLineSeries':!![]})},_0x2846c4&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x88))}),'children':(0x0,react_jsx_runtime['jsx'])(WaterfallSeriesEdit,{'service':_0x3343f3,'localeService':_0x345f35})},_0x5e4855&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0xfd))}),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(PieChartStyleEdit,{'chartType':_0x312cef,'service':_0x3343f3,'localeService':_0x345f35,'onChartTypeChange':_0x4bc862})},!_0x54612d&&!_0x2c09c6&&{'label':(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x506))}),'children':(0x0,react_jsx_runtime[_0x363792(0x2d7)])('section',{'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x363792(0x361),'children':[(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e('chart.position')}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design[_0x363792(0x159)],{'className':_0x363792(0x2a5),'value':(_0x35f784===null||_0x35f784===void 0x0?void 0x0:_0x35f784['position'])||_univerjs_pro_engine_chart['defaultChartConfig']['legend'][_0x363792(0x2ba)],'onChange':_0x1a070e=>_0x59986e({..._0x35f784,'position':_0x1a070e}),'options':_0x180e95})]}),(0x0,react_jsx_runtime['jsxs'])(_0x363792(0x3d7),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime['jsx'])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e(_0x363792(0xb1))}),!_0x48918f&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x363792(0x159)],{'className':_0x363792(0x2a5),'value':(_0x35f784===null||_0x35f784===void 0x0?void 0x0:_0x35f784['selectMode'])||_univerjs_pro_engine_chart[_0x363792(0x4cc)][_0x363792(0x16a)][_0x363792(0x213)],'onChange':_0x3e7666=>_0x59986e({..._0x35f784,'selectMode':_0x3e7666}),'options':_0x4e3714}),_0x48918f&&(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design[_0x363792(0x159)],{'className':_0x363792(0x2a5),'value':_0x32d616||_univerjs_pro_engine_chart[_0x363792(0x4cc)][_0x363792(0x526)][_0x363792(0x36e)],'onChange':_0x5bfea1=>_0x304f0e(_0x5bfea1),'options':_0x1f14ff})]}),!_0x48918f&&(0x0,react_jsx_runtime['jsxs'])(_0x363792(0x3d7),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x15f),'children':_0xd2411e('chart.titles.titleFormat')}),(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{..._0x35f784===null||_0x35f784===void 0x0?void 0x0:_0x35f784[_0x363792(0x13a)],'localeService':_0x345f35,'fontSize':(_0x579ac7=_0x35f784===null||_0x35f784===void 0x0||(_0x52d74e=_0x35f784['label'])===null||_0x52d74e===void 0x0?void 0x0:_0x52d74e[_0x363792(0x2e1)])!==null&&_0x579ac7!==void 0x0?_0x579ac7:_univerjs_pro_engine_chart[_0x363792(0x4cc)][_0x363792(0x414)][_0x363792(0x2e1)],'color':(_0x1b0481=_0x35f784===null||_0x35f784===void 0x0||(_0x3e9b56=_0x35f784[_0x363792(0x13a)])===null||_0x3e9b56===void 0x0?void 0x0:_0x3e9b56[_0x363792(0x457)])!==null&&_0x1b0481!==void 0x0?_0x1b0481:_univerjs_pro_engine_chart[_0x363792(0x4cc)][_0x363792(0x414)]['color'],'onChange':(_0x5aec81,_0x109115)=>_0x59986e({'label':{[_0x5aec81]:_0x109115}})})]})]})},!_0x54612d&&!_0x5e4855&&!_0x34f4b3&&!_0x22a084&&!_0x5afd3b&&!_0x2c09c6&&!_0x48918f&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])('div',{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0xae))}),'children':(0x0,react_jsx_runtime[_0x363792(0x2d7)])(_0x363792(0x149),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x363792(0x339)])(AxisOptionsEdit,{'localeService':_0x345f35,'sheetsChartUIService':_0x3343f3,'axisOptions':_0x230870,'canUseDateAxis':_0x312cef!==_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x1a5)]&&_0x312cef!==_univerjs_pro_engine_chart[_0x363792(0x14e)][_0x363792(0x297)],'valueAxis':_0x190e3b||(_0xf6675===null||_0xf6675===void 0x0||(_0x10ac75=_0xf6675[_univerjs_pro_engine_chart['IRuntimeAxisPosition'][_0x363792(0x3c3)]])===null||_0x10ac75===void 0x0?void 0x0:_0x10ac75[_0x363792(0x7e)])===_univerjs_pro_engine_chart[_0x363792(0x346)][_0x363792(0xfc)],'onChange':_0x32d719}),(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design[_0x363792(0x353)],{'className':'','size':_0x363792(0x2ee),'onClick':()=>{_0x395498(_0x230870===null||_0x230870===void 0x0?void 0x0:_0x230870['format'],_0x47cc38=>{_0x32d719({'format':_0x47cc38});});},'children':_0xd2411e(_0x363792(0x4d1))})]})},!_0x54612d&&!_0x5e4855&&!_0x34f4b3&&!_0x22a084&&!_0x5afd3b&&!_0x2c09c6&&!_0x48918f&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e('chart.axes.verticalAxis')}),'children':(0x0,react_jsx_runtime[_0x363792(0x2d7)])(_0x363792(0x149),{'className':_0x363792(0x361),'children':[(0x0,react_jsx_runtime[_0x363792(0x339)])(AxisOptionsEdit,{'localeService':_0x345f35,'sheetsChartUIService':_0x3343f3,'axisOptions':_0x5c733d,'canUseDateAxis':![],'valueAxis':(_0xf6675===null||_0xf6675===void 0x0||(_0x271400=_0xf6675[_univerjs_pro_engine_chart['IRuntimeAxisPosition']['Left']])===null||_0x271400===void 0x0?void 0x0:_0x271400['type'])===_univerjs_pro_engine_chart['AxisValueType'][_0x363792(0xfc)],'onChange':_0xfa8332}),(_0xf6675===null||_0xf6675===void 0x0||(_0x599ab8=_0xf6675[_univerjs_pro_engine_chart[_0x363792(0x3ed)][_0x363792(0x386)]])===null||_0x599ab8===void 0x0?void 0x0:_0x599ab8[_0x363792(0x7e)])===_univerjs_pro_engine_chart['AxisValueType'][_0x363792(0xfc)]&&(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design['Button'],{'className':'','size':_0x363792(0x2ee),'onClick':()=>{const _0xdce5c0=_0x363792;_0x395498(_0x5c733d===null||_0x5c733d===void 0x0?void 0x0:_0x5c733d[_0xdce5c0(0x504)],_0x176472=>{_0xfa8332({'format':_0x176472});});},'children':_0xd2411e(_0x363792(0x4d1))})]})},!_0x54612d&&_0x356ddf&&!_0x5afd3b&&!_0x2c09c6&&!_0x48918f&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x16d))}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x363792(0x149),{'className':_0x363792(0x361),'children':[(0x0,react_jsx_runtime['jsx'])(AxisOptionsEdit,{'localeService':_0x345f35,'sheetsChartUIService':_0x3343f3,'canUseDateAxis':![],'axisOptions':_0x14213e,'onChange':_0xe95993,'valueAxis':!![]}),(_0xf6675===null||_0xf6675===void 0x0||(_0x2b315c=_0xf6675[_univerjs_pro_engine_chart[_0x363792(0x3ed)][_0x363792(0x467)]])===null||_0x2b315c===void 0x0?void 0x0:_0x2b315c[_0x363792(0x7e)])===_univerjs_pro_engine_chart[_0x363792(0x346)]['Numeric']&&(0x0,react_jsx_runtime[_0x363792(0x339)])(_univerjs_design[_0x363792(0x353)],{'className':'','size':'small','onClick':()=>{const _0x13424e=_0x363792;_0x395498(_0x14213e===null||_0x14213e===void 0x0?void 0x0:_0x14213e[_0x13424e(0x504)],_0x34077e=>{_0xe95993({'format':_0x34077e});});},'children':_0xd2411e(_0x363792(0x4d1))})]})},!_0x54612d&&!_0x5e4855&&!_0x34f4b3&&!_0x5afd3b&&!_0x22a084&&!_0x2c09c6&&!_0x48918f&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x2a2))}),'children':(0x0,react_jsx_runtime['jsx'])(_0x363792(0x149),{'className':_0x363792(0x361),'children':(0x0,react_jsx_runtime['jsx'])(GridLineAndTickOptions,{'service':_0x3343f3,'localeService':_0x345f35,'className':'univer-mt-2','runtimeAxes':_0x550eed})})},!_0x54612d&&!_0x5afd3b&&!_0x5e4855&&!_0x22a084&&!_0x2c09c6&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xd2411e('chart.indicatorLine')}),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x149),{'className':_0x363792(0x361),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(IndicatorLine,{'localeService':_0x345f35,'indicatorLabelColor':(_0x2e871f===null||_0x2e871f===void 0x0?void 0x0:_0x2e871f[_0x363792(0x341)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x363792(0xc9)],'indicatorLineType':(_0x2e871f===null||_0x2e871f===void 0x0?void 0x0:_0x2e871f[_0x363792(0x3fc)])||_univerjs_pro_engine_chart[_0x363792(0x4cc)][_0x363792(0x3fc)],'indicatorLabelTextColor':(_0x2e871f===null||_0x2e871f===void 0x0?void 0x0:_0x2e871f[_0x363792(0x4b8)])||_univerjs_pro_engine_chart[_0x363792(0x4cc)][_0x363792(0x13f)],'indicatorLineColor':(_0x2e871f===null||_0x2e871f===void 0x0?void 0x0:_0x2e871f[_0x363792(0x242)])||(_0x325363===null||_0x325363===void 0x0||(_0xf36c04=_0x325363[_0x363792(0x1e9)])===null||_0xf36c04===void 0x0?void 0x0:_0xf36c04['tooltipAxisColor']),'onChange':_0x1fd7de=>{_0x258677(_0x1fd7de);}})})},_0x1b818f&&_0xa66b9a&&{'label':(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x363792(0x10a),'children':_0xd2411e('chart.trendline.name')}),'children':(0x0,react_jsx_runtime['jsx'])(TrendLineStyleEdit,{'localeService':_0x345f35,'uiService':_0x3343f3})},_0x5afd3b&&{'label':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x3d7),{'className':_0x363792(0x10a),'children':_0xd2411e(_0x363792(0x258))}),'children':(0x0,react_jsx_runtime[_0x363792(0x339)])(_0x363792(0x149),{'className':_0x363792(0x361),'children':(0x0,react_jsx_runtime['jsx'])(RelationEdit,{'service':_0x3343f3,'localeService':_0x345f35})})}][_0x363792(0x4de)](Boolean)})});};function ChartEditPanel(_0x4ac085){const _0x50249e=_0x1d8fa5,{className:_0x363c47}=_0x4ac085,[_0x3dc5c9,_0x47be4b]=(0x0,react[_0x50249e(0x3ba)])(0x0),_0x44c467=(0x0,_univerjs_ui[_0x50249e(0x515)])(_univerjs_core[_0x50249e(0x1ed)]);return(0x0,react_jsx_runtime[_0x50249e(0x2d7)])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x50249e(0x17c),_0x363c47),'children':[(0x0,react_jsx_runtime[_0x50249e(0x2d7)])(_0x50249e(0x3d7),{'className':_0x50249e(0x537),'children':[(0x0,react_jsx_runtime[_0x50249e(0x2d7)])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x50249e(0x367),_0x3dc5c9===0x0?_0x50249e(0xc2):'univer-text-gray-500'),'onClick':()=>_0x47be4b(0x0),'children':[_0x44c467['t']('chart.setupChart'),(0x0,react_jsx_runtime[_0x50249e(0x339)])(_0x50249e(0x3d7),{'className':(0x0,_univerjs_design[_0x50249e(0x4d6)])(_0x50249e(0x158),{'univer-bg-primary-600':_0x3dc5c9===0x0,'univer-bg-transparent':_0x3dc5c9!==0x0})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x50249e(0x3d7),{'className':(0x0,_univerjs_design[_0x50249e(0x4d6)])(_0x50249e(0x367),{'univer-text-primary-600':_0x3dc5c9===0x1,'univer-text-gray-500':_0x3dc5c9!==0x1}),'onClick':()=>_0x47be4b(0x1),'children':[_0x44c467['t']('chart.customChart'),(0x0,react_jsx_runtime[_0x50249e(0x339)])(_0x50249e(0x3d7),{'className':(0x0,_univerjs_design['clsx'])(_0x50249e(0x26c),{'univer-bg-primary-600':_0x3dc5c9===0x1,'univer-bg-transparent':_0x3dc5c9!==0x1})})]})]}),(0x0,react_jsx_runtime['jsx'])(_0x50249e(0x3d7),{'className':_0x50249e(0x3ad),'children':_0x3dc5c9===0x0?(0x0,react_jsx_runtime['jsx'])(DataTabPanel,{}):(0x0,react_jsx_runtime['jsx'])(StyleTabPanel,{})})]});}const getCurrencyType=_0x73a12f=>{const _0x596cad=_0x1d8fa5;return currencySymbols[_0x596cad(0x4a8)](_0x35add4=>_0x73a12f[_0x596cad(0x321)](_0x35add4));},isGeneralPanel=_0x33826b=>!_0x33826b,isAccountingPanel=_0xc1a79d=>{const _0x5dab91=_0x1d8fa5;return!!getCurrencyType(_0xc1a79d)&&_0xc1a79d[_0x5dab91(0x3c2)]('_(');},isCurrencyPanel=_0x3a6d12=>{const _0x264dfc=_0x1d8fa5;return!!getCurrencyType(_0x3a6d12)&&!_0x3a6d12[_0x264dfc(0x3c2)]('_(');},getDecimalFromPattern=(_0x5a46e4,_0x2c7ce3=0x0)=>{const _0x18af48=_0x1d8fa5;var _0x265100;if(!_0x5a46e4)return _0x2c7ce3;return(_0x265100=_univerjs_core[_0x18af48(0x237)][_0x18af48(0x3b6)](_0x5a46e4)['maxDecimals'])!==null&&_0x265100!==void 0x0?_0x265100:_0x2c7ce3;},getDecimalString=_0x1550cf=>new Array(Math['min'](Math[_0x1d8fa5(0x11c)](0x0,Number(_0x1550cf)),0x1e))[_0x1d8fa5(0x178)](0x0)[_0x1d8fa5(0x528)](''),setPatternDecimal=(_0x4b155b,_0x42bf41)=>{const _0x37bc8a=_0x1d8fa5;return _0x4b155b[_0x37bc8a(0x123)](';')['map'](_0x421865=>{const _0xa9549b=_0x37bc8a;if(/\.0?/[_0xa9549b(0x1c6)](_0x421865))return _0x421865[_0xa9549b(0x285)](/\.0*/g,''+(_0x42bf41>0x0?'.':'')+getDecimalString(Number(_0x42bf41||0x0)));if(/0[^0]?/[_0xa9549b(0x1c6)](_0x421865))return _0x421865['replace'](/0[^0]+|0$/,'0'+(_0x42bf41>0x0?'.':'')+getDecimalString(Number(_0x42bf41||0x0)));return _0x421865;})[_0x37bc8a(0x528)](';');},getNumberFormatOptions=()=>ThousandsSeparatorFormatList[_0x1d8fa5(0x246)](_0x269d0e=>({'label':_0x269d0e[_0x1d8fa5(0x13a)],'value':_0x269d0e[_0x1d8fa5(0x170)],'color':_0x269d0e[_0x1d8fa5(0x457)]})),isThousandthPercentilePanel=_0x5a242d=>getNumberFormatOptions()[_0x1d8fa5(0x32b)](_0x1ced62=>(0x0,_univerjs_core[_0x1d8fa5(0xd6)])(_0x1ced62[_0x1d8fa5(0x3ce)],_0x5a242d)),getDateFormatOptions=()=>DateFormatList[_0x1d8fa5(0x246)](_0x2ab64d=>({'label':_0x2ab64d[_0x1d8fa5(0x13a)],'value':_0x2ab64d[_0x1d8fa5(0x170)]})),isDatePanel=_0xdad603=>{const _0x10f62b=_0x1d8fa5,_0x20fc9f=_univerjs_core[_0x10f62b(0x237)]['getFormatInfo'](_0xdad603);return getDateFormatOptions()[_0x10f62b(0x246)](_0x35cbb5=>_0x35cbb5[_0x10f62b(0x3ce)])[_0x10f62b(0x321)](_0xdad603)||[_0x10f62b(0x491),_0x10f62b(0x4af),_0x10f62b(0x141)][_0x10f62b(0x321)](_0x20fc9f[_0x10f62b(0x7e)]);};var NumfmtTypeEnum=function(_0x3d5339){const _0xd5335d=_0x1d8fa5;return _0x3d5339[_0xd5335d(0x30a)]=_0xd5335d(0x239),_0x3d5339[_0xd5335d(0x387)]=_0xd5335d(0x34e),_0x3d5339[_0xd5335d(0x190)]='sheet.numfmt.currency',_0x3d5339[_0xd5335d(0x508)]=_0xd5335d(0x2c3),_0x3d5339[_0xd5335d(0x145)]=_0xd5335d(0x355),_0x3d5339;}(NumfmtTypeEnum||{});const GeneralPanel=({handlePatternChange:_0x12689e})=>{const _0x81236c=_0x1d8fa5,_0x36d91c=(0x0,_univerjs_ui[_0x81236c(0x515)])(_univerjs_core[_0x81236c(0x1ed)])['t'];return(0x0,react[_0x81236c(0x422)])(()=>{_0x12689e('');},[]),(0x0,react_jsx_runtime[_0x81236c(0x339)])(_0x81236c(0x3d7),{'className':_0x81236c(0x2d3),'children':_0x36d91c(_0x81236c(0x419))});},AccountingPanel=({originPattern:_0x3cbfc5,handlePatternChange:_0x4c2655})=>{const _0x3a1ee0=_0x1d8fa5,_0x1c72e1=(0x0,_univerjs_ui[_0x3a1ee0(0x515)])(_univerjs_core['LocaleService'])['t'],_0x5a449e=currencySymbols[_0x3a1ee0(0x246)](_0x1ea939=>({'label':_0x1ea939,'value':_0x1ea939})),[_0x15a2cf,_0x53038f]=(0x0,react[_0x3a1ee0(0x3ba)])(()=>getDecimalFromPattern(_0x3cbfc5||'',0x2)),[_0x48252a,_0x490ac8]=(0x0,react['useState'])(()=>{return getCurrencyType(_0x3cbfc5!==null&&_0x3cbfc5!==void 0x0?_0x3cbfc5:'')||_0x5a449e[0x0]['value'];}),_0x264a80=_0x16210a=>{const _0x10c155=_0x3a1ee0,_0x4dcf1e=_0x16210a!==null&&_0x16210a!==void 0x0?_0x16210a:0x0;_0x53038f(_0x4dcf1e),_0x4c2655(setPatternDecimal(_0x10c155(0xc7)+_0x48252a+_0x10c155(0x274)+(_0x4dcf1e>0x0?'.0':'')+'_)',_0x4dcf1e));},_0x62ed58=_0x1dae6e=>{const _0x254b32=_0x3a1ee0;_0x490ac8(_0x1dae6e),_0x4c2655(setPatternDecimal(_0x254b32(0xc7)+_0x1dae6e+_0x254b32(0x274)+(_0x15a2cf>0x0?'.0':'')+'_)',_0x15a2cf));};return(0x0,react[_0x3a1ee0(0x422)])(()=>{const _0x4be168=_0x3a1ee0;_0x4c2655(setPatternDecimal(_0x4be168(0xc7)+_0x48252a+_0x4be168(0x274)+(_0x15a2cf>0x0?'.0':'')+'_)',_0x15a2cf));},[]),(0x0,react_jsx_runtime['jsxs'])(_0x3a1ee0(0x3d7),{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x3a1ee0(0x31e),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x3a1ee0(0x3d7),{'className':_0x3a1ee0(0x512),'children':[(0x0,react_jsx_runtime[_0x3a1ee0(0x339)])(_0x3a1ee0(0x3d7),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x1c72e1(_0x3a1ee0(0x3b3))}),(0x0,react_jsx_runtime[_0x3a1ee0(0x339)])(_univerjs_design[_0x3a1ee0(0xb0)],{'className':'univer-box-border\x20univer-h-8','value':_0x15a2cf,'max':0x14,'min':0x0,'onChange':_0x264a80})]}),(0x0,react_jsx_runtime[_0x3a1ee0(0x2d7)])(_0x3a1ee0(0x3d7),{'className':_0x3a1ee0(0x512),'children':[(0x0,react_jsx_runtime[_0x3a1ee0(0x339)])(_0x3a1ee0(0x3d7),{'className':_0x3a1ee0(0x227),'children':_0x1c72e1(_0x3a1ee0(0x464))}),(0x0,react_jsx_runtime[_0x3a1ee0(0x339)])(_univerjs_design[_0x3a1ee0(0x159)],{'options':_0x5a449e,'value':_0x48252a,'onChange':_0x62ed58})]})]}),(0x0,react_jsx_runtime[_0x3a1ee0(0x339)])(_0x3a1ee0(0x3d7),{'className':_0x3a1ee0(0x2d3),'children':_0x1c72e1(_0x3a1ee0(0x2ef))})]});},CurrencyPanel=({originPattern:_0x370699,handlePatternChange:_0x18f59f})=>{const _0x43b0cf=_0x1d8fa5,_0x57fea5=(0x0,_univerjs_ui[_0x43b0cf(0x515)])(_univerjs_core['LocaleService'])['t'],_0x22d977=currencySymbols[_0x43b0cf(0x246)](_0x22d1d7=>({'label':_0x22d1d7,'value':_0x22d1d7})),[_0x151d69,_0x2aacf5]=(0x0,react[_0x43b0cf(0x3ba)])(()=>getDecimalFromPattern(_0x370699||'',0x2)),[_0x3a0854,_0x1dd1c9]=(0x0,react[_0x43b0cf(0x3ba)])(()=>getCurrencyType(_0x370699!==null&&_0x370699!==void 0x0?_0x370699:'')||_0x22d977[0x0][_0x43b0cf(0x3ce)]),_0x581dfc=CurrencyFormatList[_0x43b0cf(0x246)](_0x59a9a2=>({'label':_0x59a9a2[_0x43b0cf(0x13a)](_0x3a0854),'value':_0x59a9a2['suffix'](_0x3a0854),'color':_0x59a9a2[_0x43b0cf(0x457)]})),[_0x5c59a8,_0x2e80e5]=(0x0,react['useState'])(()=>{const _0x30e6a4=_0x43b0cf;var _0x90e7e6;return((_0x90e7e6=_0x581dfc[_0x30e6a4(0x4a8)](_0x65cf66=>(0x0,_univerjs_core[_0x30e6a4(0xd6)])(_0x65cf66['value'],_0x370699!==null&&_0x370699!==void 0x0?_0x370699:'')))===null||_0x90e7e6===void 0x0?void 0x0:_0x90e7e6[_0x30e6a4(0x3ce)])||_0x581dfc[0x0][_0x30e6a4(0x3ce)];}),_0x27bc4c=_0x24ea0d=>{_0x24ea0d&&(_0x2aacf5(_0x24ea0d),_0x18f59f(setPatternDecimal(_0x5c59a8,_0x24ea0d)));},_0xf99075=_0x16e105=>{const _0x113e90=_0x43b0cf;_0x1dd1c9(_0x16e105);const _0x412913=CurrencyFormatList[_0x113e90(0x246)](_0x5075db=>({'label':_0x5075db[_0x113e90(0x13a)](_0x16e105),'value':_0x5075db[_0x113e90(0x170)](_0x16e105),'color':_0x5075db[_0x113e90(0x457)]}));_0x2e80e5(_0x412913[0x0][_0x113e90(0x3ce)]),_0x18f59f(setPatternDecimal(_0x412913[0x0][_0x113e90(0x3ce)],_0x151d69));},_0x51d3c1=_0x2c9a99=>{_0x2e80e5(_0x2c9a99),_0x18f59f(setPatternDecimal(_0x2c9a99,_0x151d69));};return(0x0,react[_0x43b0cf(0x422)])(()=>{_0x18f59f(setPatternDecimal(_0x5c59a8,_0x151d69));},[]),(0x0,react_jsx_runtime[_0x43b0cf(0x2d7)])(_0x43b0cf(0x3d7),{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime[_0x43b0cf(0x2d7)])(_0x43b0cf(0x3d7),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsxs'])(_0x43b0cf(0x3d7),{'className':_0x43b0cf(0x512),'children':[(0x0,react_jsx_runtime[_0x43b0cf(0x339)])(_0x43b0cf(0x3d7),{'className':_0x43b0cf(0x227),'children':_0x57fea5(_0x43b0cf(0x3b3))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x43b0cf(0xb0)],{'className':_0x43b0cf(0x531),'value':_0x151d69,'max':0x14,'min':0x0,'onChange':_0x27bc4c})]}),(0x0,react_jsx_runtime[_0x43b0cf(0x2d7)])('div',{'className':_0x43b0cf(0x512),'children':[(0x0,react_jsx_runtime[_0x43b0cf(0x339)])(_0x43b0cf(0x3d7),{'className':_0x43b0cf(0x227),'children':_0x57fea5('dialog.numfmt.currencyTypes')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x43b0cf(0x159)],{'options':_0x22d977,'value':_0x3a0854,'onChange':_0xf99075})]})]}),(0x0,react_jsx_runtime[_0x43b0cf(0x2d7)])(_0x43b0cf(0x3d7),{'className':_0x43b0cf(0x4d7),'children':[(0x0,react_jsx_runtime[_0x43b0cf(0x339)])('div',{'className':_0x43b0cf(0x227),'children':_0x57fea5(_0x43b0cf(0x1a1))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['SelectList'],{'className':(0x0,_univerjs_design[_0x43b0cf(0x4d6)])(_0x43b0cf(0x3d1),_univerjs_design[_0x43b0cf(0x19b)]),'options':_0x581dfc,'value':_0x5c59a8,'onChange':_0x51d3c1}),(0x0,react_jsx_runtime[_0x43b0cf(0x339)])(_0x43b0cf(0x3d7),{'className':_0x43b0cf(0x2d3),'children':_0x57fea5(_0x43b0cf(0x3e2))})]})]});},DatePanel=({originPattern:_0x2a5b98,handlePatternChange:_0x1eb550})=>{const _0x3aadd6=_0x1d8fa5,_0x1071e9=(0x0,_univerjs_ui[_0x3aadd6(0x515)])(_univerjs_core[_0x3aadd6(0x1ed)])['t'],_0x659d7f=DateFormatList['map'](_0xe703be=>({'label':_0xe703be['label'],'value':_0xe703be[_0x3aadd6(0x170)]})),[_0x4bdcd2,_0x4ca645]=(0x0,react[_0x3aadd6(0x3ba)])(()=>{const _0x278afc=_0x3aadd6;if(_0x2a5b98){const _0x4abedf=_0x659d7f[_0x278afc(0x4a8)](_0x13a594=>_0x13a594[_0x278afc(0x3ce)]===_0x2a5b98);if(_0x4abedf)return _0x4abedf[_0x278afc(0x3ce)];}return _0x659d7f[0x0]['value'];}),_0x1e07cf=_0x546729=>{_0x4ca645(_0x546729),_0x1eb550(_0x546729);};return(0x0,react[_0x3aadd6(0x422)])(()=>{_0x1eb550(_0x4bdcd2);},[]),(0x0,react_jsx_runtime[_0x3aadd6(0x339)])('div',{'className':'univer-mt-2.5','children':(0x0,react_jsx_runtime[_0x3aadd6(0x2d7)])(_0x3aadd6(0x3d7),{'className':_0x3aadd6(0x4d7),'children':[(0x0,react_jsx_runtime[_0x3aadd6(0x339)])(_0x3aadd6(0x3d7),{'className':_0x3aadd6(0x227),'children':_0x1071e9(_0x3aadd6(0x507))}),(0x0,react_jsx_runtime[_0x3aadd6(0x339)])(_0x3aadd6(0x3d7),{'children':(0x0,react_jsx_runtime[_0x3aadd6(0x339)])(_univerjs_design[_0x3aadd6(0x4b2)],{'className':(0x0,_univerjs_design[_0x3aadd6(0x4d6)])('univer-rounded-lg\x20univer-p-2',_univerjs_design['scrollbarClassName']),'options':_0x659d7f,'value':_0x4bdcd2,'onChange':_0x1e07cf})}),(0x0,react_jsx_runtime[_0x3aadd6(0x339)])(_0x3aadd6(0x3d7),{'className':_0x3aadd6(0x2d3),'children':_0x1071e9(_0x3aadd6(0x256))})]})});},ThousandthPercentilePanel=({originPattern:_0x435757,handlePatternChange:_0x4d2a43})=>{const _0x2d07d5=_0x1d8fa5,_0x220211=(0x0,_univerjs_ui[_0x2d07d5(0x515)])(_univerjs_core[_0x2d07d5(0x1ed)])['t'],[_0x39dd3f,_0x194971]=(0x0,react[_0x2d07d5(0x3ba)])(()=>getDecimalFromPattern(_0x435757||'',0x0)),_0x4a02ec=ThousandsSeparatorFormatList[_0x2d07d5(0x246)](_0x14f8eb=>({'label':_0x14f8eb['label'],'value':_0x14f8eb['suffix'],'color':_0x14f8eb[_0x2d07d5(0x457)]})),[_0x178ce8,_0x5a70d8]=(0x0,react['useState'])(()=>{const _0x3680df=_0x2d07d5,_0x345bad=_0x4a02ec[_0x3680df(0x4a8)](_0x215607=>(0x0,_univerjs_core[_0x3680df(0xd6)])(_0x215607['value'],_0x435757||''));return(_0x345bad===null||_0x345bad===void 0x0?void 0x0:_0x345bad[_0x3680df(0x3ce)])||_0x4a02ec[0x0][_0x3680df(0x3ce)];}),_0x43b1c4=_0x45468a=>{_0x45468a&&(_0x194971(_0x45468a),_0x4d2a43(setPatternDecimal(_0x178ce8,Number(_0x45468a))));},_0x268f5f=_0x3d24f1=>{_0x194971(getDecimalFromPattern(_0x3d24f1,0x0)),_0x5a70d8(_0x3d24f1),_0x4d2a43(_0x3d24f1);};return(0x0,react['useEffect'])(()=>{_0x4d2a43(setPatternDecimal(_0x178ce8,Number(_0x39dd3f||0x0)));},[]),(0x0,react_jsx_runtime[_0x2d07d5(0x2d7)])(_0x2d07d5(0x3d7),{'className':_0x2d07d5(0x3cf),'children':[(0x0,react_jsx_runtime[_0x2d07d5(0x339)])(_0x2d07d5(0x3d7),{'className':_0x2d07d5(0x31e),'children':(0x0,react_jsx_runtime[_0x2d07d5(0x2d7)])('div',{'className':_0x2d07d5(0x512),'children':[(0x0,react_jsx_runtime[_0x2d07d5(0x339)])(_0x2d07d5(0x3d7),{'className':_0x2d07d5(0x227),'children':_0x220211('dialog.numfmt.decimalPlaces')}),(0x0,react_jsx_runtime[_0x2d07d5(0x339)])(_univerjs_design[_0x2d07d5(0xb0)],{'className':'univer-box-border\x20univer-h-8','value':_0x39dd3f,'max':0x14,'min':0x0,'onChange':_0x43b1c4})]})}),(0x0,react_jsx_runtime[_0x2d07d5(0x2d7)])('div',{'className':_0x2d07d5(0x4d7),'children':[(0x0,react_jsx_runtime[_0x2d07d5(0x339)])(_0x2d07d5(0x3d7),{'className':_0x2d07d5(0x227),'children':_0x220211('dialog.numfmt.negativeNumberTypes')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2d07d5(0x4b2)],{'className':(0x0,_univerjs_design[_0x2d07d5(0x4d6)])(_0x2d07d5(0x3d1),_univerjs_design[_0x2d07d5(0x19b)]),'options':_0x4a02ec,'value':_0x178ce8,'onChange':_0x268f5f}),(0x0,react_jsx_runtime[_0x2d07d5(0x339)])(_0x2d07d5(0x3d7),{'className':_0x2d07d5(0x2d3),'children':_0x220211(_0x2d07d5(0x290))})]})]});},ChartNumfmtDialog=({originPattern:_0x1dd777,onPatternApply:_0x5056c1})=>{const _0x31093d=_0x1d8fa5,_0x424e69=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x31093d(0x1ed)]),_0x854a29=(0x0,_univerjs_ui['useDependency'])(_univerjs_ui['IDialogService']),_0x162d1e=_0x424e69['t'],_0x5a7286=(0x0,react[_0x31093d(0x389)])(()=>[{'label':_0x31093d(0x3bc),'component':GeneralPanel,'key':'sheet.numfmt.general'},{'label':_0x31093d(0x399),'component':AccountingPanel,'key':'sheet.numfmt.accounting'},{'label':_0x31093d(0x35a),'component':CurrencyPanel,'key':'sheet.numfmt.currency'},{'label':_0x31093d(0x428),'component':DatePanel,'key':_0x31093d(0x2c3)},{'label':_0x31093d(0x2c8),'component':ThousandthPercentilePanel,'key':_0x31093d(0x355)}][_0x31093d(0x246)](_0x244d26=>({..._0x244d26,'label':_0x162d1e(_0x244d26[_0x31093d(0x13a)])})),[_0x162d1e]),_0x30776e=_0x34d340=>{const _0x5b7366=_0x31093d;return[isGeneralPanel,isAccountingPanel,isCurrencyPanel,isDatePanel,isThousandthPercentilePanel][_0x5b7366(0x4ec)]((_0x5a3656,_0x639ab5,_0x3b9a10)=>_0x5a3656||(_0x639ab5(_0x34d340!==null&&_0x34d340!==void 0x0?_0x34d340:'')?_0x5a7286[_0x3b9a10][_0x5b7366(0x4bb)]:''),'')||_0x5a7286[0x0][_0x5b7366(0x4bb)];},_0xa44861=_0x5a7286[_0x31093d(0x246)](_0x279a84=>({'label':_0x279a84['label'],'value':_0x279a84[_0x31093d(0x4bb)]})),[_0x3229c1,_0x5adb7c]=(0x0,react['useState'])(()=>{return _0x30776e(_0x1dd777);}),[_0x58a0a4,_0x146cd3]=(0x0,react[_0x31093d(0x3ba)])(_0x1dd777),_0x3e9810=_0x201c15=>_0x146cd3(_0x201c15),_0xed968a=_0x2617f0=>{_0x5adb7c(_0x2617f0);},_0xf355c6=()=>{const _0x5d630c=_0x31093d;_0x854a29[_0x5d630c(0x525)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);},_0x115df7=()=>{const _0x2c1ffc=_0x31093d;_0x5056c1&&_0x5056c1(_0x58a0a4),_0x854a29[_0x2c1ffc(0x525)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);};return(0x0,react[_0x31093d(0x422)])(()=>{const _0x5eef2d=_0x30776e(_0x1dd777);if(_0x5eef2d!==_0x3229c1)_0x5adb7c(_0x5eef2d);if(_0x1dd777!==_0x58a0a4)_0x146cd3(_0x1dd777);},[_0x1dd777]),(0x0,react_jsx_runtime['jsxs'])('div',{'children':[(0x0,react_jsx_runtime['jsx'])(_0x31093d(0x3d7),{'className':_0x31093d(0x29d),'children':_0x162d1e('dialog.numfmt.formatTypes')}),(0x0,react_jsx_runtime['jsx'])(_0x31093d(0x3d7),{'children':(0x0,react_jsx_runtime[_0x31093d(0x339)])(_univerjs_design[_0x31093d(0x159)],{'className':_0x31093d(0xd0),'onChange':_0x190f79=>_0xed968a(_0x190f79),'options':_0xa44861,'value':_0x3229c1})}),(0x0,react_jsx_runtime[_0x31093d(0x2d7)])(_0x31093d(0x3d7),{'className':_0x31093d(0x4d7),'children':[_0x3229c1===NumfmtTypeEnum[_0x31093d(0x30a)]&&(0x0,react_jsx_runtime[_0x31093d(0x339)])(GeneralPanel,{'originPattern':_0x1dd777,'handlePatternChange':_0x3e9810}),_0x3229c1===NumfmtTypeEnum['Accounting']&&(0x0,react_jsx_runtime[_0x31093d(0x339)])(AccountingPanel,{'originPattern':_0x1dd777,'handlePatternChange':_0x3e9810}),_0x3229c1===NumfmtTypeEnum[_0x31093d(0x190)]&&(0x0,react_jsx_runtime[_0x31093d(0x339)])(CurrencyPanel,{'originPattern':_0x1dd777,'handlePatternChange':_0x3e9810}),_0x3229c1===NumfmtTypeEnum[_0x31093d(0x508)]&&(0x0,react_jsx_runtime['jsx'])(DatePanel,{'originPattern':_0x1dd777,'handlePatternChange':_0x3e9810}),_0x3229c1===NumfmtTypeEnum[_0x31093d(0x145)]&&(0x0,react_jsx_runtime[_0x31093d(0x339)])(ThousandthPercentilePanel,{'originPattern':_0x1dd777,'handlePatternChange':_0x3e9810})]}),(0x0,react_jsx_runtime[_0x31093d(0x2d7)])('div',{'className':_0x31093d(0xfe),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x31093d(0x353)],{'onClick':_0xf355c6,'children':_0x424e69['t'](_0x31093d(0x11a))}),(0x0,react_jsx_runtime[_0x31093d(0x339)])(_univerjs_design[_0x31093d(0x353)],{'className':_0x31093d(0x278),'variant':'primary','onClick':_0x115df7,'children':_0x424e69['t'](_0x31093d(0xca))})]})]});},defaultDeltaSize=0x1,silentChartSpecOperator=_0x532823=>{const _0x1a1e46=_0x1d8fa5;_0x532823[_0x1a1e46(0x35c)]=![],_0x532823[_0x1a1e46(0x155)]=!![],_0x532823[_0x1a1e46(0x14d)][_0x1a1e46(0x3e3)](_0x51f465=>{_0x51f465['silent']=!![];}),_0x532823['tooltip']={'show':![],'axisPointer':{'type':_0x1a1e46(0x445)}};if(_0x532823['legend'])_0x532823['legend']['selectedMode']=![];return _0x532823;};let ChartRenderService=class ChartRenderService extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x1d6845,_0x1ebb2f,_0x4dc986,_0x53e23b,_0x1b67df,_0x476a4b,_0x3cdfbb,_0x1e7cac,_0x5ee076,_0x45bb9d){const _0x6cad2a=_0x1d8fa5;super(),this[_0x6cad2a(0xdb)]=_0x1d6845,this[_0x6cad2a(0x460)]=_0x1ebb2f,this['_chartModelService']=_0x4dc986,this['_drawingManagerService']=_0x53e23b,this[_0x6cad2a(0x423)]=_0x1b67df,this[_0x6cad2a(0x39c)]=_0x476a4b,this[_0x6cad2a(0x24c)]=_0x3cdfbb,this['_injector']=_0x1e7cac,this['_chartThemeService']=_0x5ee076,this[_0x6cad2a(0x514)]=_0x45bb9d,_defineProperty(this,_0x6cad2a(0x76),new Map()),_defineProperty(this,_0x6cad2a(0x295),new Map()),_defineProperty(this,_0x6cad2a(0x1ef),null),_defineProperty(this,_0x6cad2a(0x443),new Map()),_defineProperty(this,_0x6cad2a(0x3b7),new Map());let _0x4e9b53=!![];const _0x5beb07=(0x0,_univerjs_pro_sheets_chart[_0x6cad2a(0x299)])(this[_0x6cad2a(0x1be)]);if(_0x5beb07[_0x6cad2a(0x451)]===0x1&&_0x5beb07[0x0]===_0x6cad2a(0x3c7))_0x4e9b53=![];this[_0x6cad2a(0x3fd)](_univerjs_pro_engine_chart[_0x6cad2a(0x1c4)],new _univerjs_pro_engine_chart['EChartRenderModel'](_0x4e9b53)),this[_0x6cad2a(0x1f3)]();}[_0x1d8fa5(0x243)](){const _0x2b3f86=_0x1d8fa5;let _0x2900a6=!![];const _0x567248=(0x0,_univerjs_pro_sheets_chart['getAllowedChartTypes'])(this[_0x2b3f86(0x1be)]);if(_0x567248[_0x2b3f86(0x451)]===0x1&&_0x567248[0x0]===_0x2b3f86(0x3c7))_0x2900a6=![];return _0x2900a6;}[_0x1d8fa5(0x3fd)](_0x1b8709,_0x4cc8d7){const _0x4df5b0=_0x1d8fa5;this[_0x4df5b0(0x76)][_0x4df5b0(0x9f)](_0x1b8709,_0x4cc8d7),this[_0x4df5b0(0x1ef)]=_0x4cc8d7;}[_0x1d8fa5(0x4cf)](_0x4a5420){const _0x559666=_0x1d8fa5,_0xf14266=this[_0x559666(0x76)]['get'](_0x4a5420);if(_0xf14266)this[_0x559666(0x1ef)]=_0xf14266;}[_0x1d8fa5(0x3d6)](_0xa4fc94,_0xfc2add){const _0x346312=_0x1d8fa5,_0x440ed7=this[_0x346312(0x460)][_0x346312(0x180)](_0xa4fc94);if(_0xfc2add['width']===void 0x0||_0xfc2add[_0x346312(0x166)]===void 0x0)return;if(_0x440ed7){var _0x16bad5;const {subUnitId:_0x287843}=_0x440ed7,_0x5cb4db=(_0x16bad5=this[_0x346312(0x423)][_0x346312(0x3be)](_univerjs_core[_0x346312(0x83)][_0x346312(0x377)]))===null||_0x16bad5===void 0x0?void 0x0:_0x16bad5[_0x346312(0x13d)]();if((_0x5cb4db===null||_0x5cb4db===void 0x0?void 0x0:_0x5cb4db[_0x346312(0x39b)]())===_0x287843){const {width:_0x12dadd,height:_0x47b9b6}=_0xfc2add,_0x4bd8c1=this['_chartModelService']['getChartModel'](_0xa4fc94),_0x632df6=_0x4bd8c1===null||_0x4bd8c1===void 0x0?void 0x0:_0x4bd8c1[_0x346312(0x418)];if(Math[_0x346312(0x244)](_0x12dadd-((_0x632df6===null||_0x632df6===void 0x0?void 0x0:_0x632df6[_0x346312(0x103)])||0x0))>defaultDeltaSize||Math[_0x346312(0x244)](_0x47b9b6-((_0x632df6===null||_0x632df6===void 0x0?void 0x0:_0x632df6['height'])||0x0))>defaultDeltaSize){_0x4bd8c1===null||_0x4bd8c1===void 0x0||_0x4bd8c1['applyStyle']({..._0x632df6,'width':_0x12dadd,'height':_0x47b9b6});const _0x1eca5f=this[_0x346312(0x295)][_0x346312(0xed)](_0xa4fc94);if(_0x1eca5f){var _0x4e65b0,_0x143064;const _0x394a57=(_0x4e65b0=_0x440ed7[_0x346312(0x112)])!==null&&_0x4e65b0!==void 0x0?_0x4e65b0:_0xa4fc94,_0x4c2f14=(_0x143064=document[_0x346312(0x354)](_0x394a57))===null||_0x143064===void 0x0?void 0x0:_0x143064['querySelector']('.chart-host');_0x4c2f14&&(_0x4c2f14['style'][_0x346312(0x103)]=_0x12dadd-0x10+'px',_0x4c2f14['style'][_0x346312(0x166)]=_0x47b9b6-0x10+'px',_0x1eca5f['resize']());}}}}}['_debounceHandle'](_0x430532,_0x502ecf,_0x502eaf=0x0){const _0x43fffa=_0x1d8fa5;let _0x48e7df=this['_debounceHandleMap'][_0x43fffa(0xed)](_0x430532);!_0x48e7df&&(_0x48e7df=(0x0,_univerjs_core[_0x43fffa(0x365)])(_0x4f3cff=>{this['_resizeChart'](_0x430532,_0x4f3cff);},_0x502eaf),this['_debounceHandleMap'][_0x43fffa(0x9f)](_0x430532,_0x48e7df)),_0x48e7df(_0x502ecf);}['handleActiveSubUnitChange'](){const _0x27b33b=_0x1d8fa5,_0x3b70d2=this['_renderDebounceMap'],_0x168c7c=_0x4d3273=>{const _0x4cccf4=_0x1090;if(!_0x3b70d2[_0x4cccf4(0x46b)](_0x4d3273)){const _0x39393d=(0x0,_univerjs_core[_0x4cccf4(0x365)])((_0x516e09,_0x4c5252,_0xed44e1,_0x2e69b1)=>{const _0xbc2abb=_0x4cccf4;var _0xd1b3d2,_0xf90ed;if(!_0xed44e1)return;const {t:_0x49b7dc}=this['_localeService'];(_0xd1b3d2=_0xed44e1[_0xbc2abb(0x409)])===null||_0xd1b3d2===void 0x0||_0xd1b3d2[_0xbc2abb(0x1a0)][_0xbc2abb(0x3e3)]((_0x321078,_0x3a29b2)=>{const _0x1d8f5c=_0xbc2abb;if(!_0x321078[_0x1d8f5c(0x13a)])_0x321078['label']=_0x49b7dc(_0x1d8f5c(0x49c))+'\x20'+(_0x3a29b2+0x1);}),_0xed44e1[_0xbc2abb(0x14d)]['forEach']((_0x2fe897,_0x2885c2)=>{const _0x22f1da=_0xbc2abb;if(!_0x2fe897[_0x22f1da(0x318)])_0x2fe897[_0x22f1da(0x318)]=_0x49b7dc('chart.series')+'\x20'+(_0x2885c2+0x1);}),_0x2e69b1[_0xbc2abb(0x2e5)]=_0x516e09[_0xbc2abb(0x466)]();const _0x1ceb54=(_0xf90ed=this[_0xbc2abb(0x423)][_0xbc2abb(0x3be)](_univerjs_core[_0xbc2abb(0x83)]['UNIVER_SHEET']))===null||_0xf90ed===void 0x0?void 0x0:_0xf90ed[_0xbc2abb(0x13d)]();if((_0x1ceb54===null||_0x1ceb54===void 0x0?void 0x0:_0x1ceb54['getSheetId']())===_0x4c5252)this[_0xbc2abb(0x4b4)](_0x516e09['id'],_0xed44e1,_0x2e69b1);},0x11);_0x3b70d2['set'](_0x4d3273,_0x39393d);}return _0x3b70d2['get'](_0x4d3273);};this['disposeWithMe'](this[_0x27b33b(0x423)][_0x27b33b(0x4f8)][_0x27b33b(0x325)](_0xfc7c6e=>{const _0x127e32=_0x27b33b,_0x5e8bad=this[_0x127e32(0x423)][_0x127e32(0x3be)](_univerjs_core[_0x127e32(0x83)][_0x127e32(0x377)]);if(_0xfc7c6e&&_0x5e8bad&&_0x5e8bad[_0x127e32(0x4d9)]()===_0xfc7c6e){var _0x4f67b0;const _0x57b6f5=_0x5e8bad['getActiveSheet']()[_0x127e32(0x39b)](),_0x3c149a=this[_0x127e32(0x28b)]['getDrawingData'](_0xfc7c6e,_0x57b6f5);if(!((_0x4f67b0=this['_renderManagerService'][_0x127e32(0x366)](_0xfc7c6e))===null||_0x4f67b0===void 0x0?void 0x0:_0x4f67b0[_0x127e32(0x3e7)](_univerjs_sheets_ui[_0x127e32(0x211)])[_0x127e32(0xfb)](_0x57b6f5)))return;if(_0x3c149a)for(const _0x2f770d in _0x3c149a){const {drawingId:_0x1b6364}=_0x3c149a[_0x2f770d],_0x2a8c62=this[_0x127e32(0x3a3)][_0x127e32(0x19d)](_0x1b6364);if(_0x2a8c62)_0x168c7c(_0x2a8c62['id'])(_0x2a8c62,_0x57b6f5,_0x2a8c62[_0x127e32(0x440)],_0x2a8c62['style']);}}})),this[_0x27b33b(0x49a)](this[_0x27b33b(0x514)][_0x27b33b(0x15d)]['subscribe'](()=>{const _0x3a2ef1=_0x27b33b;var _0x5703b2;const _0x5627e3=this['_univerInstanceService'][_0x3a2ef1(0x3be)](_univerjs_core[_0x3a2ef1(0x83)][_0x3a2ef1(0x377)]);if(!_0x5627e3)return;const _0x1e4bc7=_0x5627e3['getUnitId'](),_0x4b7dae=_0x5627e3[_0x3a2ef1(0x13d)]()['getSheetId'](),_0x244348=this[_0x3a2ef1(0x28b)]['getDrawingData'](_0x1e4bc7,_0x4b7dae);if(!((_0x5703b2=this[_0x3a2ef1(0x39c)][_0x3a2ef1(0x366)](_0x1e4bc7))===null||_0x5703b2===void 0x0?void 0x0:_0x5703b2['with'](_univerjs_sheets_ui[_0x3a2ef1(0x211)])[_0x3a2ef1(0xfb)](_0x4b7dae)))return;if(_0x244348)for(const _0x461158 in _0x244348){const {drawingId:_0x3f1c96}=_0x244348[_0x461158],_0x27a0d5=this[_0x3a2ef1(0x3a3)]['getChartModel'](_0x3f1c96);if(_0x27a0d5){const _0x2fd1d4=_0x27a0d5[_0x3a2ef1(0x466)]();_0x27a0d5[_0x3a2ef1(0x489)]({'runtime':_0x2fd1d4});}}})),this['disposeWithMe'](this['_drawingManagerService'][_0x27b33b(0x44c)][_0x27b33b(0x325)](_0x14461d=>{_0x14461d['forEach'](_0x3c2a43=>{const _0x299e65=_0x1090;var _0x434569,_0x4be0b2,_0x30f19a;const {drawingId:_0x1668c0,unitId:_0x1a6795,subUnitId:_0x26b963}=_0x3c2a43;if(!((_0x434569=this[_0x299e65(0x39c)][_0x299e65(0x366)](_0x1a6795))===null||_0x434569===void 0x0?void 0x0:_0x434569[_0x299e65(0x3e7)](_univerjs_sheets_ui[_0x299e65(0x211)])['getSkeleton'](_0x26b963)))return;const {drawingType:_0x235ff8}=this[_0x299e65(0x28b)][_0x299e65(0xd9)](_0x3c2a43);if(_0x235ff8!==_univerjs_core[_0x299e65(0x7f)][_0x299e65(0x2c0)])return;const _0x4e8bc6=this[_0x299e65(0x460)][_0x299e65(0x180)](_0x1668c0),_0x24df91=(_0x4be0b2=_0x4e8bc6===null||_0x4e8bc6===void 0x0?void 0x0:_0x4e8bc6['domId'])!==null&&_0x4be0b2!==void 0x0?_0x4be0b2:_0x1668c0,_0x18fbcc=_0x4e8bc6===null||_0x4e8bc6===void 0x0?void 0x0:_0x4e8bc6['rect'],_0x459fb3=(_0x30f19a=this[_0x299e65(0x39c)][_0x299e65(0x366)](_0x1a6795))===null||_0x30f19a===void 0x0?void 0x0:_0x30f19a[_0x299e65(0x38d)];if(_0x18fbcc)this['disposeWithMe'](_0x18fbcc===null||_0x18fbcc===void 0x0?void 0x0:_0x18fbcc['onTransformChange$'][_0x299e65(0x168)](_0x161108=>{const _0x3dfc38=_0x299e65,{type:_0x3cf7c6,value:_0x4ba8d4}=_0x161108;if(_univerjs_engine_render[_0x3dfc38(0x97)][_0x3dfc38(0x87)]===_0x3cf7c6||_univerjs_engine_render[_0x3dfc38(0x97)][_0x3dfc38(0x3c7)]===_0x3cf7c6){const {width:_0x59d777,height:_0x1b62dd}=_0x4ba8d4;this[_0x3dfc38(0x20c)](_0x1668c0,{'width':_0x59d777,'height':_0x1b62dd},0x64);}}));if(_0x459fb3)this[_0x299e65(0x49a)](_0x459fb3[_0x299e65(0x135)]['subscribeEvent'](_0x52f212=>{const _0x2e8252=_0x299e65;var _0x3e3822;if(_0x52f212[_0x2e8252(0x7e)]!==_univerjs_engine_render[_0x2e8252(0x97)][_0x2e8252(0xc3)])return;const _0x28e66b=(_0x3e3822=document[_0x2e8252(0x354)](_0x24df91))===null||_0x3e3822===void 0x0?void 0x0:_0x3e3822[_0x2e8252(0x52e)](_0x2e8252(0x247));if(_0x28e66b){const _0x363cd7=_0x28e66b[_0x2e8252(0x81)]['style'];this[_0x2e8252(0x20c)](_0x1668c0,{'width':Number[_0x2e8252(0x4f9)](_0x363cd7[_0x2e8252(0x103)],0xa),'height':Number[_0x2e8252(0x4f9)](_0x363cd7[_0x2e8252(0x166)],0xa)});}}));const _0x17f4c4=this[_0x299e65(0x3a3)][_0x299e65(0x19d)](_0x1668c0);if(_0x17f4c4)this['disposeWithMe']((0x0,rxjs['combineLatest'])([_0x17f4c4['config$'],_0x17f4c4['style$']])[_0x299e65(0x325)](([_0x58dc02,_0x1fb748])=>{_0x168c7c(_0x17f4c4['id'])(_0x17f4c4,_0x26b963,_0x58dc02,_0x1fb748);}));});})),this['disposeWithMe']((0x0,rxjs[_0x27b33b(0x356)])([this[_0x27b33b(0x28b)][_0x27b33b(0xa9)]])[_0x27b33b(0x325)](([_0x18d415])=>{const _0x4bce18=_0x27b33b;_0x18d415[_0x4bce18(0x3e3)](_0x42c148=>{const _0x2c6339=_0x4bce18,{drawingId:_0x524d5c}=_0x42c148;if(this[_0x2c6339(0x295)]['get'](_0x524d5c))this[_0x2c6339(0x295)][_0x2c6339(0x442)](_0x524d5c);});}));}[_0x1d8fa5(0x1e4)](_0x1a0742){const _0x3287a9=_0x1d8fa5,_0x43b7b4=this[_0x3287a9(0x76)][_0x3287a9(0xed)](_0x1a0742),_0x44b4ea=this[_0x3287a9(0x243)]();if(_0x43b7b4)_0x43b7b4[_0x3287a9(0x1f6)](_0x44b4ea);return _0x43b7b4;}async[_0x1d8fa5(0x19e)](_0x332b4a){const _0x201619=_0x1d8fa5;var _0x279f1b;const _0x5f1f12=this[_0x201619(0x295)],_0x3a97e4=this[_0x201619(0x1ef)];if(_0x5f1f12['has'](_0x332b4a)&&this[_0x201619(0xdb)][_0x201619(0x116)](_0x332b4a))return _0x5f1f12[_0x201619(0xed)](_0x332b4a);const _0x47c580=_0x3a97e4[_0x201619(0x4fa)]();_0x5f1f12[_0x201619(0x9f)](_0x332b4a,_0x47c580);const _0x2663fe=await this[_0x201619(0xdb)]['ensureHost'](_0x332b4a);return _0x47c580[_0x201619(0x40e)](_0x2663fe['mountNode']),(_0x279f1b=_0x47c580[_0x201619(0x196)])===null||_0x279f1b===void 0x0||_0x279f1b[_0x201619(0xff)](_0x47c580,()=>{const _0x570831=_0x201619;var _0x14299f;return(_0x14299f=_0x2663fe['dispose'])===null||_0x14299f===void 0x0?void 0x0:_0x14299f[_0x570831(0xff)](_0x2663fe);}),_0x47c580;}[_0x1d8fa5(0x3f2)](_0x3ca8d0){const _0x3db9d3=_0x1d8fa5;var _0x57b415;const _0x5a2c66=this[_0x3db9d3(0x460)]['getFloatDomInfo'](_0x3ca8d0);if(!_0x5a2c66)return![];const {subUnitId:_0xb6a54a}=_0x5a2c66,_0x15ed21=(_0x57b415=this[_0x3db9d3(0x423)][_0x3db9d3(0x3be)](_univerjs_core[_0x3db9d3(0x83)][_0x3db9d3(0x377)]))===null||_0x57b415===void 0x0?void 0x0:_0x57b415[_0x3db9d3(0x13d)]();if((_0x15ed21===null||_0x15ed21===void 0x0?void 0x0:_0x15ed21['getSheetId']())!==_0xb6a54a)return![];return!![];}async[_0x1d8fa5(0x4b4)](_0x6dab18,_0x22aa0e,_0x4d59af){const _0x565b81=_0x1d8fa5;var _0x2fb358,_0x194894;const _0x2deec6=this[_0x565b81(0x1e4)](_univerjs_pro_engine_chart[_0x565b81(0x1c4)]);if(!_0x2deec6)return;if(!this[_0x565b81(0x3f2)](_0x6dab18))return;const _0x799148=await this[_0x565b81(0x19e)](_0x6dab18),_0x2dba94=this['_chartHostProvider'][_0x565b81(0x19f)](_0x6dab18),_0x1227c9=_0x2deec6['stylizeSpec'](_0x2deec6[_0x565b81(0x210)](_0x22aa0e,_0x4d59af),{'chartConfig':_0x22aa0e,'chartStyle':_0x4d59af,'chartInstance':_0x799148},_0x2dba94),_0x397d6b=_0x4d59af[_0x565b81(0x1e9)]?this['_chartThemeService'][_0x565b81(0x473)](_0x4d59af['theme']):this[_0x565b81(0xd1)][_0x565b81(0x375)]();this[_0x565b81(0xdb)]['setHostStyle'](_0x6dab18,{'stroke':(_0x2fb358=_0x4d59af[_0x565b81(0x4e5)])!==null&&_0x2fb358!==void 0x0?_0x2fb358:_0x397d6b[_0x565b81(0x1e9)]['borderColor'],'fill':(_0x194894=_0x4d59af['backgroundColor'])!==null&&_0x194894!==void 0x0?_0x194894:_univerjs_pro_engine_chart[_0x565b81(0x4cc)]['backgroundColor']});if(this['_chartHostProvider'][_0x565b81(0x116)](_0x6dab18))_0x799148[_0x565b81(0x4b4)]({..._0x1227c9});}async[_0x1d8fa5(0xa4)](_0x22b2bb,_0x444257,_0x48d5cb){const _0x3d889e=_0x1d8fa5;var _0x4934ff,_0x1d0b0d;const _0x3b24e9=this['_chartModelService'][_0x3d889e(0x19d)](_0x22b2bb),_0x2f264f=this['_renderModelMap'][_0x3d889e(0xed)](_univerjs_pro_engine_chart[_0x3d889e(0x1c4)]);if(!_0x3b24e9||!_0x2f264f)return;const _0x414444=createHostElement(_0x48d5cb[_0x3d889e(0x103)],_0x48d5cb[_0x3d889e(0x166)]);_0x444257[_0x3d889e(0x3ea)](_0x414444);const _0x5ca5c8=_univerjs_pro_engine_chart[_0x3d889e(0x3ac)][_0x3d889e(0x1c5)](_0x414444,null,{'devicePixelRatio':window[_0x3d889e(0x27a)]||0x1}),_0x17ed68=_0x3b24e9[_0x3d889e(0x440)],_0x3652e3=_0x3b24e9[_0x3d889e(0x418)],_0x47bf96=_0x2f264f[_0x3d889e(0x217)](_0x2f264f[_0x3d889e(0x210)](_0x17ed68,_0x3652e3),{'chartConfig':_0x17ed68,'chartStyle':_0x3652e3,'chartInstance':_0x5ca5c8},_0x48d5cb),_0x3fca72=_0x3652e3[_0x3d889e(0x1e9)]?this[_0x3d889e(0xd1)][_0x3d889e(0x473)](_0x3652e3['theme']):this['_chartThemeService'][_0x3d889e(0x375)]();_0x444257['style']['border']=_0x3d889e(0x398)+((_0x4934ff=_0x3652e3[_0x3d889e(0x4e5)])!==null&&_0x4934ff!==void 0x0?_0x4934ff:_0x3fca72[_0x3d889e(0x1e9)][_0x3d889e(0x4e5)]),_0x444257['style']['backgroundColor']=this['_chartThemeService']['getRenderColor']((_0x1d0b0d=_0x3652e3[_0x3d889e(0x2dc)])!==null&&_0x1d0b0d!==void 0x0?_0x1d0b0d:_univerjs_pro_engine_chart[_0x3d889e(0x4cc)][_0x3d889e(0x2dc)]),_0x444257['style'][_0x3d889e(0x4cd)]=_0x3d889e(0x248),_0x5ca5c8['clear'](),_0x5ca5c8[_0x3d889e(0x2ed)](silentChartSpecOperator(_0x47bf96),!![]);}['dispose'](){const _0x2e0428=_0x1d8fa5;this[_0x2e0428(0x295)][_0x2e0428(0x4f1)](),this[_0x2e0428(0x1ef)]=null,this[_0x2e0428(0x76)][_0x2e0428(0x3e3)](_0xf0f739=>_0xf0f739['dispose']()),this[_0x2e0428(0x76)][_0x2e0428(0x4f1)](),this['_renderDebounceMap'][_0x2e0428(0x4f1)](),this['_debounceHandleMap'][_0x2e0428(0x4f1)]();}};ChartRenderService=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_drawing_ui[_0x1d8fa5(0x435)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x397)])),__decorateParam(0x3,_univerjs_drawing[_0x1d8fa5(0x4d2)]),__decorateParam(0x4,_univerjs_core[_0x1d8fa5(0x13c)]),__decorateParam(0x5,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_engine_render['IRenderManagerService'])),__decorateParam(0x6,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_core['LocaleService'])),__decorateParam(0x7,(0x0,_univerjs_core['Inject'])(_univerjs_core[_0x1d8fa5(0x3ee)])),__decorateParam(0x8,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_engine_chart[_0x1d8fa5(0x34b)])),__decorateParam(0x9,(0x0,_univerjs_core['Inject'])(_univerjs_core[_0x1d8fa5(0x200)]))],ChartRenderService);const PrintChart=_0x52ebef=>{const _0x48bbdf=_0x1d8fa5,{floatDomId:_0xbbfe7f,context:_0x4c3cca}=_0x52ebef,_0x36cd07=(0x0,_univerjs_ui[_0x48bbdf(0x515)])(ChartRenderService);return(0x0,react['useEffect'])(()=>{const _0x315e36=_0x48bbdf;if(_0x4c3cca['root']['current']){const _0x186b78={'width':Number['parseFloat'](_0x4c3cca[_0x315e36(0x20d)][_0x315e36(0x24f)][_0x315e36(0x418)][_0x315e36(0x103)]),'height':Number[_0x315e36(0xe3)](_0x4c3cca[_0x315e36(0x20d)][_0x315e36(0x24f)][_0x315e36(0x418)]['height'])};_0x36cd07[_0x315e36(0xa4)](_0xbbfe7f,_0x4c3cca[_0x315e36(0x20d)][_0x315e36(0x24f)],_0x186b78);}},[_0xbbfe7f,_0x4c3cca['root'][_0x48bbdf(0x24f)]]),null;},MenuInsertChartCommand={'type':_univerjs_core[_0x1d8fa5(0x26b)][_0x1d8fa5(0xbc)],'id':_0x1d8fa5(0x2ad),'handler':async(_0x3ea006,_0x114091)=>{const _0x44f3df=_0x1d8fa5,_0x240c9d=(0x0,_univerjs_sheets[_0x44f3df(0x216)])(_0x3ea006[_0x44f3df(0xed)](_univerjs_core[_0x44f3df(0x13c)]));if(!_0x240c9d)return![];const _0x13dc75=_0x3ea006['get'](_univerjs_sheets['SheetsSelectionsService'])['getCurrentLastSelection']();if(!_0x13dc75)return![];const _0x2a831d=_0x3ea006[_0x44f3df(0xed)](_univerjs_ui[_0x44f3df(0x412)]),_0x31771d=_0x3ea006[_0x44f3df(0xed)](_univerjs_core['LocaleService']),{range:_0x320656}=_0x13dc75;if(_0x320656[_0x44f3df(0x2ce)]===_0x320656[_0x44f3df(0x1ad)]||_0x320656[_0x44f3df(0x222)]===_0x320656[_0x44f3df(0x373)])return _0x2a831d[_0x44f3df(0x1f0)]({'type':_univerjs_design[_0x44f3df(0x3c0)][_0x44f3df(0x1d7)],'content':_0x31771d['t']('chart.msg.invalidSource')}),![];const _0x154889=_0x3ea006[_0x44f3df(0xed)](_univerjs_core[_0x44f3df(0x91)]),{unitId:_0x4c1877,subUnitId:_0x119c62}=_0x240c9d,{value:_0x3f0bf0}=_0x114091;return _0x154889['executeCommand'](_univerjs_pro_sheets_chart[_0x44f3df(0x255)]['id'],{'unitId':_0x4c1877,'subUnitId':_0x119c62,'chartType':_0x3f0bf0,'range':_0x320656});}};function ChartMenuItemFactory(_0x3d0bb6){const _0x3b0a35=_0x1d8fa5,_0x4c39f4=_0x3d0bb6[_0x3b0a35(0xed)](_univerjs_core['IUniverInstanceService']),_0x49b316=(0x0,_univerjs_pro_sheets_chart[_0x3b0a35(0x299)])(_0x3d0bb6),_0x1b872d=getOptionsList(getChartMenuSelection()[_0x3b0a35(0xe1)](),_0x49b316);return{'id':MenuInsertChartCommand['id'],'type':_univerjs_ui['MenuItemType'][_0x3b0a35(0x30d)],'selections':_0x1b872d,'icon':'ChartIcon','tooltip':'chart.insertChart','activated$':(0x0,_univerjs_sheets_ui[_0x3b0a35(0x3fe)])(_0x4c39f4,![],()=>new rxjs[(_0x3b0a35(0x3c8))](_0x30ce3d=>{_0x30ce3d['next'](![]);})),'hidden$':(0x0,_univerjs_ui[_0x3b0a35(0x12e)])(_0x3d0bb6,_univerjs_core[_0x3b0a35(0x83)][_0x3b0a35(0x377)]),'disabled$':(0x0,_univerjs_sheets_ui[_0x3b0a35(0x257)])(_0x3d0bb6)};}const menuSchema={[_univerjs_ui['RibbonInsertGroup'][_0x1d8fa5(0x263)]]:{[MenuInsertChartCommand['id']]:{'order':0x4,'menuItemFactory':ChartMenuItemFactory}}},CHART_EDIT_PANEL_KEY=_0x1d8fa5(0x1e0);let SheetsChartUIController=class SheetsChartUIController extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x5099ee,_0x236c27,_0x54973f,_0x5d8de3,_0x3cbdcc,_0x4300cb,_0x20f275,_0x55486d,_0x2f78e5,_0x3d0627){const _0x45eb74=_0x1d8fa5;super(),this['_drawingManagerService']=_0x5099ee,this[_0x45eb74(0x423)]=_0x236c27,this[_0x45eb74(0x3a3)]=_0x54973f,this[_0x45eb74(0x89)]=_0x5d8de3,this[_0x45eb74(0x304)]=_0x3cbdcc,this['_menuManagerService']=_0x4300cb,this[_0x45eb74(0x234)]=_0x20f275,this[_0x45eb74(0xf3)]=_0x55486d,this[_0x45eb74(0xe0)]=_0x2f78e5,this[_0x45eb74(0x483)]=_0x3d0627,_defineProperty(this,_0x45eb74(0x13e),null),this['_registerChartIcons'](),this[_0x45eb74(0x1eb)](),this[_0x45eb74(0x49a)](this[_0x45eb74(0x423)]['getCurrentTypeOfUnit$'](_univerjs_core[_0x45eb74(0x83)][_0x45eb74(0x377)])[_0x45eb74(0x325)](_0x1f1b0e=>{var _0x47a29e;if(!_0x1f1b0e)(_0x47a29e=this['_sidebarDisposable'])===null||_0x47a29e===void 0x0||_0x47a29e['dispose']();}));}[_0x1d8fa5(0x195)](){const _0x5a0eaf=_0x1d8fa5;[[_0x5a0eaf(0x49e),_univerjs_icons[_0x5a0eaf(0x49e)]],[_0x5a0eaf(0x4c4),_univerjs_icons[_0x5a0eaf(0x4c4)]],['BarChartIcon',_univerjs_icons[_0x5a0eaf(0x490)]],[_0x5a0eaf(0x9a),_univerjs_icons[_0x5a0eaf(0x9a)]],['ComboChartIcon',_univerjs_icons[_0x5a0eaf(0xda)]],['LineChartIcon',_univerjs_icons[_0x5a0eaf(0x17b)]],[_0x5a0eaf(0x305),_univerjs_icons[_0x5a0eaf(0x305)]],[_0x5a0eaf(0x3b5),_univerjs_icons[_0x5a0eaf(0x3b5)]],[_0x5a0eaf(0x186),_univerjs_icons[_0x5a0eaf(0x186)]],[_0x5a0eaf(0x198),_univerjs_icons[_0x5a0eaf(0x198)]],['CloudIcon',_univerjs_icons[_0x5a0eaf(0x4b5)]],['BubbleIcon',_univerjs_icons[_0x5a0eaf(0x15e)]],[_0x5a0eaf(0x37f),_univerjs_icons['RelationshipIcon']],['WaterfallChartIcon',_univerjs_icons[_0x5a0eaf(0x2e6)]],[_0x5a0eaf(0x488),_univerjs_icons[_0x5a0eaf(0x121)]],[_0x5a0eaf(0x441),_univerjs_icons[_0x5a0eaf(0x2a0)]],['BoxplotIcon',_univerjs_icons[_0x5a0eaf(0x310)]],[_univerjs_core[_0x5a0eaf(0x8a)],PrintChart],[CHART_EDIT_PANEL_KEY,ChartEditPanel],[UNIVER_SHEET_CHART_FORMAT_DIALOG,ChartNumfmtDialog]][_0x5a0eaf(0x3e3)](([_0x4b631b,_0x540714])=>{const _0x423e6f=_0x5a0eaf;this['disposeWithMe'](this[_0x423e6f(0x304)][_0x423e6f(0x376)](_0x4b631b,_0x540714));});}['_openPanel'](){const _0x364b74=_0x1d8fa5;this[_0x364b74(0x13e)]=this[_0x364b74(0x89)]['open']({'id':CHART_EDIT_PANEL_KEY,'header':{'title':_0x364b74(0x326)},'width':0x154,'children':{'label':CHART_EDIT_PANEL_KEY},'onClose':()=>{const _0xd7c10e=_0x364b74;this['_drawingManagerService'][_0xd7c10e(0x3e6)](null),this[_0xd7c10e(0x483)][_0xd7c10e(0xc6)](_univerjs_core['FOCUSING_COMMON_DRAWINGS'],![]),this['_sidebarDisposable']=null;}});}[_0x1d8fa5(0x332)](){const _0x1a4dee=_0x1d8fa5;var _0x443ac3;this[_0x1a4dee(0x3a3)][_0x1a4dee(0x2f9)](null),(_0x443ac3=this[_0x1a4dee(0x13e)])===null||_0x443ac3===void 0x0||_0x443ac3[_0x1a4dee(0x311)]();}[_0x1d8fa5(0x204)](){const _0x43c896=_0x1d8fa5,_0x583e33=this['_univerInstanceService'][_0x43c896(0x3be)](_univerjs_core['UniverInstanceType'][_0x43c896(0x377)]);this[_0x43c896(0x49a)](this[_0x43c896(0x89)]['sidebarOptions$']['subscribe'](_0x4adf86=>{const _0x1a3046=_0x43c896;if(_0x4adf86['id']===CHART_EDIT_PANEL_KEY){if(!_0x4adf86['visible'])this['_sidebarService'][_0x1a3046(0x1c0)][_0x1a3046(0x20b)]({'visible':![]});}})),this[_0x43c896(0x49a)](this['_commandService'][_0x43c896(0x14b)](_0x5f1403=>{const _0x218216=_0x43c896;if(_0x5f1403['id']===ChartOpenPanelOperation['id']){const _0x164db2=_0x5f1403[_0x218216(0x99)];this['openChartPanelById'](_0x164db2[_0x218216(0xaa)]);}if(_0x5f1403['id']===ChartHidePanelOperation['id'])this['hidePanel']();if(_0x5f1403['id']===_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id']){var _0x61fcb8;if(_0x5f1403[_0x218216(0x99)]['chartId']===((_0x61fcb8=this[_0x218216(0x3a3)][_0x218216(0x47a)])===null||_0x61fcb8===void 0x0?void 0x0:_0x61fcb8['id']))this[_0x218216(0x332)]();this[_0x218216(0x483)][_0x218216(0x249)](_univerjs_core['FOCUSING_COMMON_DRAWINGS'])&&(this[_0x218216(0x483)][_0x218216(0xc6)](_univerjs_core[_0x218216(0x50d)],![]),this['_drawingManagerService']['focusDrawing'](null));}})),this[_0x43c896(0x49a)](this['_drawingManagerService'][_0x43c896(0x392)][_0x43c896(0x325)](_0x159bf8=>{const _0x2ba75d=_0x43c896,_0x3cdc78=_0x159bf8[0x0];if(this[_0x2ba75d(0xe0)][_0x2ba75d(0x516)])return;if(!_0x3cdc78&&!this[_0x2ba75d(0xe0)][_0x2ba75d(0x516)])this[_0x2ba75d(0x332)]();})),_0x583e33&&(this[_0x43c896(0x49a)](_0x583e33['sheetDisposed$'][_0x43c896(0x325)](()=>{this['hidePanel']();})),this[_0x43c896(0x49a)](_0x583e33[_0x43c896(0x2f1)][_0x43c896(0x325)](()=>{this['hidePanel']();})));}[_0x1d8fa5(0x2aa)](_0xe3912f){const _0x5c66cd=_0x1d8fa5,_0x2ad30f=this[_0x5c66cd(0x3a3)][_0x5c66cd(0x19d)](_0xe3912f);if(!_0x2ad30f)return;this['_chartModelService'][_0x5c66cd(0x2f9)](_0x2ad30f),this[_0x5c66cd(0x388)]();}['_initMenus'](){const _0x3bba37=_0x1d8fa5;this[_0x3bba37(0x128)][_0x3bba37(0x4da)](menuSchema),this[_0x3bba37(0x234)][_0x3bba37(0x2eb)](_univerjs_core[_0x3bba37(0x7f)][_0x3bba37(0x2c0)],this[_0x3bba37(0x48e)]['bind'](this));}[_0x1d8fa5(0x48e)](_0x31fca3,_0x5ae0b0,_0xeaa53f,_0x5ccb01){const _0x45bce9=_0x1d8fa5;return[{'label':_0x45bce9(0x2ca),'index':0x0,'commandId':ChartOpenPanelOperation['id'],'commandParams':{'unitId':_0x31fca3,'subUnitId':_0x5ae0b0,'drawingId':_0xeaa53f},'disable':_0x5ccb01!==_univerjs_core['DrawingTypeEnum'][_0x45bce9(0x2c0)]},{'label':_0x45bce9(0x38f),'index':0x1,'commandId':_univerjs_sheets_drawing[_0x45bce9(0x317)]['id'],'commandParams':{'unitId':_0x31fca3,'drawings':[{'unitId':_0x31fca3,'subUnitId':_0x5ae0b0,'drawingId':_0xeaa53f,'drawingType':_0x5ccb01}]},'disable':![]},{'label':_0x45bce9(0x4d0),'index':0x2,'commandId':ChartHidePanelOperation['id'],'commandParams':{'unitId':_0x31fca3,'subUnitId':_0x5ae0b0,'drawingId':_0xeaa53f},'disable':![]}];}};SheetsChartUIController=__decorate([__decorateParam(0x0,_univerjs_drawing[_0x1d8fa5(0x4d2)]),__decorateParam(0x1,_univerjs_core[_0x1d8fa5(0x13c)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart['ChartModelService'])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_ui[_0x1d8fa5(0xd8)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_ui[_0x1d8fa5(0x4f4)])),__decorateParam(0x5,_univerjs_ui[_0x1d8fa5(0xb7)]),__decorateParam(0x6,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_sheets_ui['SheetCanvasPopManagerService'])),__decorateParam(0x7,_univerjs_core[_0x1d8fa5(0x91)]),__decorateParam(0x8,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(SheetsChartUIService)),__decorateParam(0x9,_univerjs_core[_0x1d8fa5(0x3e1)])],SheetsChartUIController);var name='@univerjs-pro/sheets-chart-ui',version=_0x1d8fa5(0x286);let ChartHostProviderController=class ChartHostProviderController extends _univerjs_core['Disposable']{constructor(_0x3f44e3,_0xbe81ed){const _0x33f0fd=_0x1d8fa5;super(),this[_0x33f0fd(0x171)]=_0x3f44e3,this[_0x33f0fd(0x3a3)]=_0xbe81ed,this['_init']();}[_0x1d8fa5(0x3f9)](){const _0x567986=_0x1d8fa5;this[_0x567986(0x49a)](this[_0x567986(0x171)]['removeHost$'][_0x567986(0x325)](_0x25c4ae=>{const _0x42c875=_0x567986;this[_0x42c875(0x3a3)]['removeChartModel'](_0x25c4ae);}));}};ChartHostProviderController=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x397)]))],ChartHostProviderController);let ChartRenderController=class ChartRenderController extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x33ae92,_0x286d75,_0x290bb8){const _0x2d4fac=_0x1d8fa5;super(),this['_chartModelService']=_0x33ae92,this[_0x2d4fac(0xbe)]=_0x286d75,this[_0x2d4fac(0x24c)]=_0x290bb8,this['_init']();}[_0x1d8fa5(0x3f9)](){const _0x36b84e=_0x1d8fa5;this[_0x36b84e(0x49a)](this[_0x36b84e(0x3a3)][_0x36b84e(0x1a6)][_0x36b84e(0x325)](_0x395f86=>{const _0x25875d=_0x36b84e;if(_0x395f86){const _0x2b3a0d=new _univerjs_core[(_0x25875d(0x115))]();_0x2b3a0d['add'](_0x395f86[_0x25875d(0x3cd)][_0x25875d(0x12a)]((0x0,rxjs[_0x25875d(0x394)])(_0x395f86[_0x25875d(0x2f2)]),(0x0,rxjs['debounceTime'])(0x64))['subscribe'](([_0x2c140b,_0x53f6c3])=>{const _0x186b7e=_0x25875d;var _0x14c832;if(!_0x2c140b)return;const {t:_0x33aad7}=this[_0x186b7e(0x24c)];(_0x14c832=_0x2c140b[_0x186b7e(0x409)])===null||_0x14c832===void 0x0||_0x14c832[_0x186b7e(0x1a0)]['forEach']((_0x410507,_0x45a26b)=>{const _0x52bf2a=_0x186b7e;if(!_0x410507[_0x52bf2a(0x13a)])_0x410507[_0x52bf2a(0x13a)]=_0x33aad7(_0x52bf2a(0x49c))+'\x20'+(_0x45a26b+0x1);}),_0x2c140b[_0x186b7e(0x14d)][_0x186b7e(0x3e3)]((_0x458c4d,_0x166648)=>{const _0x1b79b3=_0x186b7e;if(!_0x458c4d[_0x1b79b3(0x318)])_0x458c4d[_0x1b79b3(0x318)]=_0x33aad7(_0x1b79b3(0x88))+'\x20'+(_0x166648+0x1);}),_0x53f6c3[_0x186b7e(0x2e5)]=_0x395f86[_0x186b7e(0x466)](),this[_0x186b7e(0xbe)][_0x186b7e(0x4b4)](_0x395f86['id'],_0x2c140b,_0x53f6c3);})),_0x395f86['onDispose'](()=>{_0x2b3a0d['dispose']();});}}));}};ChartRenderController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x397)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(ChartRenderService)),__decorateParam(0x2,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_core['LocaleService']))],ChartRenderController);let ChartSheetChangeController=class ChartSheetChangeController extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x2bc133,_0x43e91f,_0x477dde,_0x5f4dc9){const _0x51a2a0=_0x1d8fa5;super(),this['_univerInstanceService']=_0x2bc133,this[_0x51a2a0(0x348)]=_0x43e91f,this[_0x51a2a0(0x37a)]=_0x477dde,this[_0x51a2a0(0x3a3)]=_0x5f4dc9,this['_initSheetChange']();}['_initSheetChange'](){const _0x582045=_0x1d8fa5;this[_0x582045(0x49a)](this[_0x582045(0x348)][_0x582045(0xf0)]({'getMutations':_0x56e57a=>{const _0x44c915=_0x582045;if(_0x56e57a['id']===_univerjs_sheets[_0x44c915(0x226)]['id']){const _0x63b0d6=(0x0,_univerjs_sheets[_0x44c915(0x216)])(this['_univerInstanceService'],_0x56e57a['params']);if(!_0x63b0d6)return{'redos':[],'undos':[]};const {unitId:_0x2f7448,subUnitId:_0x321819}=_0x63b0d6,_0x2fab40=this['_sheetDrawingService'][_0x44c915(0x327)](_0x2f7448,_0x321819),_0x4fb091=Object[_0x44c915(0x40f)](_0x2fab40)[_0x44c915(0x4de)](_0x2ce338=>_0x2ce338[_0x44c915(0x229)]===_univerjs_core['DrawingTypeEnum'][_0x44c915(0x2c0)]);if(_0x4fb091['length']===0x0)return{'redos':[],'undos':[]};const _0x45f491=[],_0x4a3530=[];for(let _0x1c63bb=0x0;_0x1c63bb<_0x4fb091['length'];_0x1c63bb++){const _0x455b9b=_0x4fb091[_0x1c63bb],_0x463f53=this[_0x44c915(0x3a3)][_0x44c915(0x19d)](_0x455b9b[_0x44c915(0xaa)]);if(!_0x463f53)continue;const {rangeInfo:_0x3dec37,isRowDirection:_0x223318}=_0x463f53[_0x44c915(0x529)][_0x44c915(0x162)](),{redo:_0x577812,undo:_0x48a124,objects:_0x3a966d}=this['_sheetDrawingService'][_0x44c915(0x45f)]([_0x455b9b]);_0x45f491[_0x44c915(0x42d)]({'id':_univerjs_pro_sheets_chart[_0x44c915(0xce)]['id'],'params':{'unitId':_0x2f7448,'subUnitId':_0x321819,'chartId':_0x455b9b[_0x44c915(0xaa)]}}),_0x45f491['push']({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2f7448,'subUnitId':_0x321819,'type':_univerjs_sheets_drawing[_0x44c915(0x3a2)][_0x44c915(0x2af)],'op':_0x577812,'objects':_0x3a966d}}),_0x4a3530[_0x44c915(0x42d)]({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2f7448,'subUnitId':_0x321819,'type':_univerjs_sheets_drawing[_0x44c915(0x3a2)]['INSERT'],'op':_0x48a124,'objects':_0x3a966d}}),_0x4a3530[_0x44c915(0x42d)]({'id':_univerjs_pro_sheets_chart[_0x44c915(0x19a)]['id'],'params':{'unitId':_0x2f7448,'subUnitId':_0x321819,'chartId':_0x455b9b[_0x44c915(0xaa)],'chartType':_0x463f53[_0x44c915(0x1d1)],'range':_0x3dec37[_0x44c915(0x228)],'rangeUnitId':_0x3dec37[_0x44c915(0x16e)],'rangeSubUnitId':_0x3dec37['subUnitId'],'isRowDirection':_0x223318}});}return{'redos':_0x45f491,'undos':_0x4a3530};}else{if(_0x56e57a['id']===_univerjs_sheets['CopySheetCommand']['id']){const {unitId:_0x56c382,subUnitId:_0x47bc49,targetSubUnitId:_0x1b6fa8}=_0x56e57a['params'];if(!_0x56c382||!_0x47bc49||!_0x1b6fa8)return{'redos':[],'undos':[]};const _0x216296=this['_sheetDrawingService'][_0x44c915(0x327)](_0x56c382,_0x47bc49),_0x42838f=Object[_0x44c915(0x40f)](_0x216296)[_0x44c915(0x4de)](_0x30e05d=>_0x30e05d['drawingType']===_univerjs_core[_0x44c915(0x7f)]['DRAWING_CHART']);if(_0x42838f['length']===0x0)return{'redos':[],'undos':[]};const _0x20b82f=[],_0xf792e3=[];for(let _0x2b29c9=0x0;_0x2b29c9<_0x42838f[_0x44c915(0x451)];_0x2b29c9++){const _0x12a7ff=_0x42838f[_0x2b29c9],_0x32ec19=this['_chartModelService'][_0x44c915(0x19d)](_0x12a7ff[_0x44c915(0xaa)]);if(!_0x32ec19)continue;const _0x3fc9d4=(0x0,_univerjs_core[_0x44c915(0x1b4)])(),_0x580807={..._0x12a7ff,'unitId':_0x56c382,'subUnitId':_0x1b6fa8,'drawingId':_0x3fc9d4},{rangeInfo:_0x4316f0,isRowDirection:_0x386c47}=_0x32ec19[_0x44c915(0x529)][_0x44c915(0x162)](),{redo:_0x3bc247,undo:_0x5c20cb,objects:_0x17aa8b}=this[_0x44c915(0x37a)][_0x44c915(0x4a5)]([_0x580807]);_0x20b82f['push']({'id':_univerjs_sheets_drawing[_0x44c915(0x8b)]['id'],'params':{'unitId':_0x56c382,'subUnitId':_0x1b6fa8,'type':_univerjs_sheets_drawing['DrawingApplyType']['INSERT'],'op':_0x3bc247,'objects':_0x17aa8b}}),_0x20b82f[_0x44c915(0x42d)]({'id':_univerjs_pro_sheets_chart['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x56c382,'subUnitId':_0x1b6fa8,'chartId':_0x3fc9d4,'chartType':_0x32ec19['chartType'],'range':_0x4316f0[_0x44c915(0x228)],'isRowDirection':_0x386c47}}),_0xf792e3[_0x44c915(0x42d)]({'id':_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x56c382,'subUnitId':_0x1b6fa8,'chartId':_0x3fc9d4}}),_0xf792e3[_0x44c915(0x42d)]({'id':_univerjs_sheets_drawing[_0x44c915(0x8b)]['id'],'params':{'unitId':_0x56c382,'subUnitId':_0x1b6fa8,'type':_univerjs_sheets_drawing[_0x44c915(0x3a2)][_0x44c915(0x2af)],'op':_0x5c20cb,'objects':_0x17aa8b}});}return{'redos':_0x20b82f,'undos':_0xf792e3};}}return{'redos':[],'undos':[]};}}));}};ChartSheetChangeController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core['Inject'])(_univerjs_core['IUniverInstanceService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_sheets[_0x1d8fa5(0x41f)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_sheets_drawing[_0x1d8fa5(0x40c)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart['ChartModelService']))],ChartSheetChangeController);let SheetsChartClipboardController=class SheetsChartClipboardController extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x5bdf47,_0x23103f,_0x4853b3,_0x5a07d3){const _0x4dc5c2=_0x1d8fa5;super(),this[_0x4dc5c2(0x1e8)]=_0x5bdf47,this[_0x4dc5c2(0x433)]=_0x23103f,this[_0x4dc5c2(0x37a)]=_0x4853b3,this[_0x4dc5c2(0x3a3)]=_0x5a07d3,_defineProperty(this,_0x4dc5c2(0x206),void 0x0),this['_initCopyPaste']();}get[_0x1d8fa5(0x165)](){const _0x2be385=_0x1d8fa5;return this['_sheetDrawingService'][_0x2be385(0x1f9)]();}[_0x1d8fa5(0x390)](){const _0x35f9b5=_0x1d8fa5;this[_0x35f9b5(0x49a)](this[_0x35f9b5(0x433)][_0x35f9b5(0x92)]({'id':_univerjs_pro_sheets_chart['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopy':(_0x539560,_0x9bbc91,_0x15fd66,_0x4a806f)=>{const _0x3c0f6e=_0x35f9b5;this[_0x3c0f6e(0x206)]=null;const _0x253bd9=this['_focusedDrawings'];if(_0x253bd9[_0x3c0f6e(0x451)]){const _0x52f9cb=_0x253bd9[_0x3c0f6e(0x4de)](_0x9bb495=>_0x9bb495[_0x3c0f6e(0x229)]===_univerjs_core[_0x3c0f6e(0x7f)]['DRAWING_CHART']);if(_0x52f9cb[_0x3c0f6e(0x451)]===0x0)return;this['_copyInfo']={'unitId':_0x539560,'subUnitId':_0x9bbc91,'copyType':_0x4a806f,'drawings':_0x52f9cb};}else this['_createCopyInfoByRange'](_0x539560,_0x9bbc91,_0x15fd66,_0x4a806f);},'onPasteCells':(_0x1740ea,_0x39bf21,_0x1dbae8,_0x5e1c3a)=>{const _0xd83456=_0x35f9b5;if(!this[_0xd83456(0x206)])return{'redos':[],'undos':[]};const {pasteType:_0x2ed153}=_0x5e1c3a;if(_0x2ed153!==_univerjs_sheets_ui[_0xd83456(0x4b6)][_0xd83456(0x10f)])return{'redos':[],'undos':[]};return this[_0xd83456(0x461)](_0x39bf21,this[_0xd83456(0x206)][_0xd83456(0x28d)]===_univerjs_sheets_ui[_0xd83456(0x117)][_0xd83456(0x219)]);},'onPasteUnrecognized':_0x1ce7ee=>{const _0x59407a=_0x35f9b5;if(!this[_0x59407a(0x206)])return{'redos':[],'undos':[]};return this[_0x59407a(0x461)](_0x1ce7ee,this[_0x59407a(0x206)][_0x59407a(0x28d)]===_univerjs_sheets_ui[_0x59407a(0x117)]['CUT']);}}));}[_0x1d8fa5(0x2ae)](_0x2ae0af,_0x39132c,_0x20eb99,_0x3075c4){const _0x51e2fa=_0x1d8fa5,_0x28ac6f=this[_0x51e2fa(0x1e8)]['getSkeleton'](_0x2ae0af,_0x39132c);if(!_0x28ac6f)return;const _0x26700c=(0x0,_univerjs_sheets[_0x51e2fa(0xc5)])(_0x28ac6f,_0x20eb99);if(!_0x26700c)return;const {startX:_0x505f10,endX:_0x51e1d0,startY:_0x5b3cf1,endY:_0x133cb8}=_0x26700c,_0x33ffd3=this[_0x51e2fa(0x37a)][_0x51e2fa(0x327)](_0x2ae0af,_0x39132c),_0x35b5f5=this['_focusedDrawings']['slice']();for(const [_0x47069b,_0x2c0377]of Object[_0x51e2fa(0x1b7)](_0x33ffd3)){if(_0x2c0377['drawingType']!==_univerjs_core[_0x51e2fa(0x7f)]['DRAWING_CHART'])continue;const {transform:_0xd6d910}=_0x2c0377;if(!_0xd6d910)continue;const {left:left=0x0,top:top=0x0,width:width=0x0,height:height=0x0}=_0xd6d910;if(_0x505f10<=left&&_0x51e1d0>=left+width&&_0x5b3cf1<=top&&_0x133cb8>=top+height)_0x35b5f5['push'](_0x2c0377);}if(_0x35b5f5[_0x51e2fa(0x451)]>0x0)this[_0x51e2fa(0x206)]={'unitId':_0x2ae0af,'subUnitId':_0x39132c,'copyType':_0x3075c4,'copyRange':_0x20eb99,'drawings':_0x35b5f5};}[_0x1d8fa5(0x461)](_0x1e4d51,_0x3c9dd7){const _0x37400a=_0x1d8fa5,{unitId:_0x32fa11,subUnitId:_0x1326ae,range:_0xd33580}=_0x1e4d51,_0x47327e=this[_0x37400a(0x1e8)]['getSkeleton'](_0x32fa11,_0x1326ae);if(!_0x47327e)return{'redos':[],'undos':[]};const _0x3ecbc8=(0x0,_univerjs_sheets[_0x37400a(0x2b0)])(_0xd33580),{unitId:_0x197c43,subUnitId:_0x5b09f3,copyRange:_0x3b66e4,drawings:_0x1d5f3b}=this[_0x37400a(0x206)],_0x11552d=this['_sheetSkeletonService']['getSkeleton'](_0x197c43,_0x5b09f3);if(!_0x11552d)return{'redos':[],'undos':[]};const _0x3b7515=[],_0x299af7=[];for(const _0x547324 of _0x1d5f3b){const {drawingId:_0x53720f,transform:_0x12a220,sheetTransform:_0x38d0bb}=_0x547324,_0x544549=this[_0x37400a(0x3a3)][_0x37400a(0x19d)](_0x53720f);if(!_0x544549||!_0x12a220||!_0x38d0bb)continue;const _0x1bdfe5=this[_0x37400a(0x498)]({'transform':_0x12a220,'sheetTransform':_0x38d0bb},{'skeleton':_0x11552d,'range':_0x3b66e4},{'skeleton':_0x47327e,'range':_0x3ecbc8});if(_0x3c9dd7){const {redos:_0x2bd68d,undos:_0x3b81d5}=this[_0x37400a(0x221)]({'fromUnitId':_0x197c43,'fromSubUnitId':_0x5b09f3,'toUnitId':_0x32fa11,'toSubUnitId':_0x1326ae,'drawing':_0x547324,'newTransforms':_0x1bdfe5},_0x544549);_0x3b7515[_0x37400a(0x42d)](..._0x2bd68d),_0x299af7[_0x37400a(0x42d)](..._0x3b81d5);continue;}const {redos:_0x5f366b,undos:_0x421e63}=this['_generateCopyPasteMutations']({'toUnitId':_0x32fa11,'toSubUnitId':_0x1326ae,'drawing':_0x547324,'newTransforms':_0x1bdfe5},_0x544549);_0x3b7515[_0x37400a(0x42d)](..._0x5f366b),_0x299af7[_0x37400a(0x42d)](..._0x421e63);}return{'redos':_0x3b7515,'undos':_0x299af7};}[_0x1d8fa5(0x221)](_0x5e4c8b,_0x226a93){const _0xfc1932=_0x1d8fa5,{fromUnitId:_0x1467e7,fromSubUnitId:_0x3c49ec,toUnitId:_0x57d273,toSubUnitId:_0x33e0fd,drawing:_0x11bed6,newTransforms:_0xb20a61}=_0x5e4c8b,_0x556a23={..._0x11bed6,'unitId':_0x57d273,'subUnitId':_0x33e0fd,'transform':_0xb20a61[_0xfc1932(0x208)],'sheetTransform':_0xb20a61[_0xfc1932(0x38e)]};if(_0x57d273===_0x1467e7&&_0x33e0fd===_0x3c49ec){const {redo:_0x3bca1b,undo:_0x590191,objects:_0xb5ea00}=this[_0xfc1932(0x37a)][_0xfc1932(0x253)]([_0x556a23]);return{'redos':[{'id':_univerjs_sheets_drawing[_0xfc1932(0x8b)]['id'],'params':{'unitId':_0x57d273,'subUnitId':_0x33e0fd,'type':_univerjs_sheets_drawing[_0xfc1932(0x3a2)][_0xfc1932(0x20e)],'op':_0x3bca1b,'objects':_0xb5ea00}}],'undos':[{'id':_univerjs_sheets_drawing[_0xfc1932(0x8b)]['id'],'params':{'unitId':_0x57d273,'subUnitId':_0x33e0fd,'type':_univerjs_sheets_drawing[_0xfc1932(0x3a2)][_0xfc1932(0x20e)],'op':_0x590191,'objects':_0xb5ea00}}]};}else{const _0x315d43=this[_0xfc1932(0x37a)]['getBatchRemoveOp']([_0x11bed6]),_0x30ea3a=this[_0xfc1932(0x37a)]['getBatchAddOp']([_0x556a23]),{rangeInfo:_0x3267c2,isRowDirection:_0x1c9034}=_0x226a93[_0xfc1932(0x529)][_0xfc1932(0x162)]();return{'redos':[{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1467e7,'subUnitId':_0x3c49ec,'type':_univerjs_sheets_drawing[_0xfc1932(0x3a2)]['REMOVE'],'op':_0x315d43[_0xfc1932(0x284)],'objects':_0x315d43['objects']}},{'id':_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x1467e7,'subUnitId':_0x3c49ec,'chartId':_0x11bed6[_0xfc1932(0xaa)]}},{'id':_univerjs_sheets_drawing[_0xfc1932(0x8b)]['id'],'params':{'unitId':_0x57d273,'subUnitId':_0x33e0fd,'type':_univerjs_sheets_drawing[_0xfc1932(0x3a2)][_0xfc1932(0x107)],'op':_0x30ea3a[_0xfc1932(0x284)],'objects':_0x30ea3a[_0xfc1932(0x2a8)]}},{'id':_univerjs_pro_sheets_chart[_0xfc1932(0x19a)]['id'],'params':{'unitId':_0x57d273,'subUnitId':_0x33e0fd,'chartId':_0x11bed6[_0xfc1932(0xaa)],'chartType':_0x226a93[_0xfc1932(0x1d1)],'range':_0x3267c2[_0xfc1932(0x228)],'rangeUnitId':_0x3267c2[_0xfc1932(0x16e)],'rangeSubUnitId':_0x3267c2['subUnitId'],'isRowDirection':_0x1c9034}}],'undos':[{'id':_univerjs_sheets_drawing[_0xfc1932(0x8b)]['id'],'params':{'unitId':_0x1467e7,'subUnitId':_0x3c49ec,'type':_univerjs_sheets_drawing['DrawingApplyType'][_0xfc1932(0x107)],'op':_0x315d43[_0xfc1932(0x2bd)],'objects':_0x315d43[_0xfc1932(0x2a8)]}},{'id':_univerjs_pro_sheets_chart[_0xfc1932(0x19a)]['id'],'params':{'unitId':_0x1467e7,'subUnitId':_0x3c49ec,'chartId':_0x11bed6['drawingId'],'chartType':_0x226a93[_0xfc1932(0x1d1)],'range':_0x3267c2['range'],'rangeUnitId':_0x3267c2[_0xfc1932(0x16e)],'rangeSubUnitId':_0x3267c2[_0xfc1932(0xb4)],'isRowDirection':_0x1c9034}},{'id':_univerjs_sheets_drawing[_0xfc1932(0x8b)]['id'],'params':{'unitId':_0x57d273,'subUnitId':_0x33e0fd,'type':_univerjs_sheets_drawing[_0xfc1932(0x3a2)]['REMOVE'],'op':_0x30ea3a['undo'],'objects':_0x30ea3a[_0xfc1932(0x2a8)]}},{'id':_univerjs_pro_sheets_chart[_0xfc1932(0xce)]['id'],'params':{'unitId':_0x57d273,'subUnitId':_0x33e0fd,'chartId':_0x11bed6['drawingId']}}]};}}[_0x1d8fa5(0x28c)](_0x2b6f1d,_0x125e22){const _0x21bda8=_0x1d8fa5,{toUnitId:_0x110e3f,toSubUnitId:_0x4b00cd,drawing:_0x12bb74,newTransforms:_0x30253a}=_0x2b6f1d,_0x14795e=(0x0,_univerjs_core['generateRandomId'])(),_0x389be6={..._0x12bb74,'unitId':_0x110e3f,'subUnitId':_0x4b00cd,'drawingId':_0x14795e,'transform':_0x30253a['transform'],'sheetTransform':_0x30253a[_0x21bda8(0x38e)]},{redo:_0x308fa8,undo:_0x217f5e,objects:_0x3709d7}=this[_0x21bda8(0x37a)][_0x21bda8(0x4a5)]([_0x389be6]),{rangeInfo:_0x4d7f55,isRowDirection:_0x36bba0}=_0x125e22[_0x21bda8(0x529)][_0x21bda8(0x162)]();return{'redos':[{'id':_univerjs_sheets_drawing[_0x21bda8(0x8b)]['id'],'params':{'unitId':_0x110e3f,'subUnitId':_0x4b00cd,'type':_univerjs_sheets_drawing[_0x21bda8(0x3a2)][_0x21bda8(0x107)],'op':_0x308fa8,'objects':_0x3709d7}},{'id':_univerjs_pro_sheets_chart[_0x21bda8(0x19a)]['id'],'params':{'unitId':_0x110e3f,'subUnitId':_0x4b00cd,'chartId':_0x14795e,'chartType':_0x125e22[_0x21bda8(0x1d1)],'range':_0x4d7f55[_0x21bda8(0x228)],'rangeUnitId':_0x4d7f55[_0x21bda8(0x16e)],'rangeSubUnitId':_0x4d7f55[_0x21bda8(0xb4)],'isRowDirection':_0x36bba0}}],'undos':[{'id':_univerjs_sheets_drawing[_0x21bda8(0x8b)]['id'],'params':{'unitId':_0x110e3f,'subUnitId':_0x4b00cd,'type':_univerjs_sheets_drawing[_0x21bda8(0x3a2)]['REMOVE'],'op':_0x217f5e,'objects':_0x3709d7}},{'id':_univerjs_pro_sheets_chart[_0x21bda8(0xce)]['id'],'params':{'unitId':_0x110e3f,'subUnitId':_0x4b00cd,'chartId':_0x14795e}}]};}['_updateTransform'](_0x3c13bb,_0x152caf,_0x2c02e8){const _0x390567=_0x1d8fa5;var _0x1a6e34;const {range:_0x27f372,skeleton:_0x2841df}=_0x152caf,{range:_0x4951ff,skeleton:_0x442c78}=_0x2c02e8,{transform:_0x172327,sheetTransform:_0x4ec896}=_0x3c13bb,_0x52396f={..._0x172327};if(_0x27f372){const _0x49e941=(0x0,_univerjs_sheets[_0x390567(0xc5)])(_0x2841df,_0x27f372),_0xa52c8e=(0x0,_univerjs_sheets[_0x390567(0xc5)])(_0x442c78,_0x4951ff);if(_0x49e941&&_0xa52c8e){var _0x36144a,_0x155121;const _0x461219=_0xa52c8e[_0x390567(0x281)]-_0x49e941[_0x390567(0x281)],_0x56ff7e=_0xa52c8e[_0x390567(0x2e0)]-_0x49e941[_0x390567(0x2e0)];_0x52396f[_0x390567(0x169)]=((_0x36144a=_0x52396f[_0x390567(0x169)])!==null&&_0x36144a!==void 0x0?_0x36144a:0x0)+_0x461219,_0x52396f[_0x390567(0x347)]=((_0x155121=_0x52396f[_0x390567(0x347)])!==null&&_0x155121!==void 0x0?_0x155121:0x0)+_0x56ff7e;}}else{const _0x1d8d2b=(0x0,_univerjs_sheets['attachRangeWithCoord'])(_0x442c78,_0x4951ff);_0x52396f['left']=_0x1d8d2b===null||_0x1d8d2b===void 0x0?void 0x0:_0x1d8d2b['startX'],_0x52396f[_0x390567(0x347)]=_0x1d8d2b===null||_0x1d8d2b===void 0x0?void 0x0:_0x1d8d2b[_0x390567(0x2e0)];}return{'transform':_0x52396f,'sheetTransform':(_0x1a6e34=(0x0,_univerjs_sheets_drawing[_0x390567(0x519)])(_0x52396f,_0x442c78))!==null&&_0x1a6e34!==void 0x0?_0x1a6e34:_0x4ec896};}};SheetsChartClipboardController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core['Inject'])(_univerjs_sheets[_0x1d8fa5(0x379)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_sheets_ui[_0x1d8fa5(0x24a)])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_drawing[_0x1d8fa5(0x40c)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x397)]))],SheetsChartClipboardController);function _0x1090(_0x1e2616,_0x31b241){_0x1e2616=_0x1e2616-0x76;const _0x50b2bf=_0x50b2();let _0x10909b=_0x50b2bf[_0x1e2616];return _0x10909b;}let SheetsChartUIPermissionController=class SheetsChartUIPermissionController extends _univerjs_core[_0x1d8fa5(0x2bc)]{constructor(_0x41b90d,_0x2d37f0,_0x22ee20,_0x4684ce){const _0x5e853c=_0x1d8fa5;super(),this[_0x5e853c(0xf3)]=_0x41b90d,this['_localeService']=_0x2d37f0,this['_sheetPermissionCheckController']=_0x22ee20,this[_0x5e853c(0x43a)]=_0x4684ce,this[_0x5e853c(0x405)]();}[_0x1d8fa5(0x405)](){const _0x3a3b8a=_0x1d8fa5;this['disposeWithMe'](this['_commandService'][_0x3a3b8a(0x306)](_0x2c9393=>{const _0x2330da=_0x3a3b8a;let _0x2b2708,_0x103c9c;if(_0x2c9393['id']===_univerjs_pro_sheets_chart['InsertChartCommand']['id']){const _0x36499d=_0x2c9393['params'];_0x2b2708=_0x36499d[_0x2330da(0x16e)],_0x103c9c=_0x36499d[_0x2330da(0xb4)];}else{if(_0x2c9393['id']===_univerjs_pro_sheets_chart[_0x2330da(0x10c)]['id']||_0x2c9393['id']===_univerjs_pro_sheets_chart[_0x2330da(0x232)]['id']){const _0x27fa38=_0x2c9393[_0x2330da(0x99)];_0x2b2708=_0x27fa38[_0x2330da(0x16e)],_0x103c9c=this['_sheetsChartService'][_0x2330da(0x157)](_0x27fa38['unitId'],_0x27fa38[_0x2330da(0x108)]);}}if(!_0x2b2708||!_0x103c9c)return;if(!this[_0x2330da(0x272)]['permissionCheckWithoutRange']({'workbookTypes':[_univerjs_sheets['WorkbookEditablePermission']],'worksheetTypes':[_univerjs_sheets[_0x2330da(0x427)]]},_0x2b2708,_0x103c9c))this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x2330da(0x24c)]['t']('permission.dialog.editErr'));}));}};SheetsChartUIPermissionController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_core[_0x1d8fa5(0x91)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_core[_0x1d8fa5(0x1ed)])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_sheets[_0x1d8fa5(0x2db)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_pro_sheets_chart[_0x1d8fa5(0x338)]))],SheetsChartUIPermissionController);if(!window[_0x1d8fa5(0x2e3)])window['setImmediate']=function setupSetImmediate(){const _0x4927b6=_0x1d8fa5;return window[_0x4927b6(0x372)]||window['webkitSetImmediate']||window[_0x4927b6(0x11b)]||window[_0x4927b6(0x4ab)]||function _0x417e85(){const _0x367126=_0x4927b6;if(!window[_0x367126(0x2a9)]||!window[_0x367126(0x492)])return null;const _0x4a805a=[void 0x0],_0x4c2dc8=_0x367126(0x289),_0x44aa94=function _0x552781(_0x36a73c){const _0x5d48ea=_0x367126,_0x2744a9=_0x4a805a[_0x5d48ea(0x451)];return _0x4a805a[_0x5d48ea(0x42d)](_0x36a73c),window[_0x5d48ea(0x2a9)](_0x4c2dc8+_0x2744a9[_0x5d48ea(0x1d0)](0x24),'*'),_0x2744a9;};return window['addEventListener'](_0x367126(0x4a1),function _0x1bdb80(_0x2e2cea){const _0x5d07eb=_0x367126;if(typeof _0x2e2cea[_0x5d07eb(0xf9)]!==_0x5d07eb(0x287)||_0x2e2cea[_0x5d07eb(0xf9)][_0x5d07eb(0x1a8)](0x0,0x14)!==_0x4c2dc8)return;_0x2e2cea['stopImmediatePropagation']();const _0x795753=Number[_0x5d07eb(0x4f9)](_0x2e2cea[_0x5d07eb(0xf9)][_0x5d07eb(0x1a8)](0x14),0x24);if(!_0x4a805a[_0x795753])return;_0x4a805a[_0x795753](),_0x4a805a[_0x795753]=void 0x0;},!![]),window[_0x367126(0x21f)]=function _0x258773(_0x2389bc){if(!_0x4a805a[_0x2389bc])return;_0x4a805a[_0x2389bc]=void 0x0;},_0x44aa94;}()||function _0x10c3fe(_0x1c2389){const _0x46ef85=_0x4927b6;window[_0x46ef85(0x351)](_0x1c2389,0x0);};}();if(!window[_0x1d8fa5(0x21f)])window[_0x1d8fa5(0x21f)]=function setupClearImmediate(){const _0x154090=_0x1d8fa5;return window[_0x154090(0x43b)]||window[_0x154090(0x18f)]||window[_0x154090(0x225)]||window[_0x154090(0x45d)]||function _0xbb6e79(_0x55b508){const _0x25d46f=_0x154090;window[_0x25d46f(0x1e5)](_0x55b508);};}();const isSupported=function isSupported(){const _0x25a2b8=_0x1d8fa5,_0x4b9094=document['createElement'](_0x25a2b8(0x439));if(!_0x4b9094||!_0x4b9094[_0x25a2b8(0x3df)])return![];const _0x5099d4=_0x4b9094['getContext']('2d');if(!_0x5099d4)return![];if(!_0x5099d4[_0x25a2b8(0x474)])return![];if(!_0x5099d4[_0x25a2b8(0x77)])return![];if(!Array[_0x25a2b8(0x1f2)][_0x25a2b8(0x32b)])return![];if(!Array[_0x25a2b8(0x1f2)][_0x25a2b8(0x42d)])return![];return!![];}(),minFontSize=function getMinFontSize(){const _0x4a548f=_0x1d8fa5;if(!isSupported)return;const _0x5e299c=document['createElement'](_0x4a548f(0x439))[_0x4a548f(0x3df)]('2d');let _0x4bcb24=0x14,_0x3f279f,_0x199a22;while(_0x4bcb24){_0x5e299c[_0x4a548f(0x475)]=_0x4bcb24[_0x4a548f(0x1d0)](0xa)+_0x4a548f(0x309);if(_0x5e299c[_0x4a548f(0x424)]('W')['width']===_0x3f279f&&_0x5e299c[_0x4a548f(0x424)]('m')[_0x4a548f(0x103)]===_0x199a22)return _0x4bcb24+0x1;_0x3f279f=_0x5e299c[_0x4a548f(0x424)]('W')[_0x4a548f(0x103)],_0x199a22=_0x5e299c[_0x4a548f(0x424)]('m')[_0x4a548f(0x103)],_0x4bcb24--;}return 0x0;}(),getItemExtraData=function(_0x532871){const _0x3c5e24=_0x1d8fa5;if(Array[_0x3c5e24(0x436)](_0x532871)){const _0x4ff431=_0x532871[_0x3c5e24(0xb9)]();return _0x4ff431['splice'](0x0,0x2),_0x4ff431;}else return[];},shuffleArray=function shuffleArray(_0x2b8f10){const _0x5924e1=_0x1d8fa5;for(let _0x3309b2,_0x52cd16,_0x1a6e57=_0x2b8f10[_0x5924e1(0x451)];_0x1a6e57;){_0x3309b2=Math[_0x5924e1(0x214)](Math[_0x5924e1(0x2dd)]()*_0x1a6e57),_0x52cd16=_0x2b8f10[--_0x1a6e57],_0x2b8f10[_0x1a6e57]=_0x2b8f10[_0x3309b2],_0x2b8f10[_0x3309b2]=_0x52cd16;}return _0x2b8f10;},timer={},WordCloud=function WordCloud(_0x27832e,_0x22bd51){const _0xf808db=_0x1d8fa5;if(!isSupported)return;const _0x36730e=Math[_0xf808db(0x214)](Math[_0xf808db(0x2dd)]()*Date[_0xf808db(0x383)]());if(!Array[_0xf808db(0x436)](_0x27832e))_0x27832e=[_0x27832e];_0x27832e[_0xf808db(0x3e3)](function(_0x277fb7,_0x120c35){const _0x33b39d=_0xf808db;if(typeof _0x277fb7===_0x33b39d(0x287)){_0x27832e[_0x120c35]=document[_0x33b39d(0x354)](_0x277fb7);if(!_0x27832e[_0x120c35])throw new Error(_0x33b39d(0x320));}else{if(!_0x277fb7[_0x33b39d(0x3d2)]&&!_0x277fb7[_0x33b39d(0xc0)])throw new Error(_0x33b39d(0x3a9));}});const _0x5a1617={'list':[],'fontFamily':_0xf808db(0x4e3),'fontWeight':_0xf808db(0x2d9),'color':_0xf808db(0x1d8),'minSize':0x0,'weightFactor':0x1,'clearCanvas':!![],'backgroundColor':'#fff','gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'origin':null,'drawMask':![],'maskColor':_0xf808db(0x3aa),'maskGapWidth':0.3,'layoutAnimation':!![],'wait':0x0,'abortThreshold':0x0,'abort':function _0x3483a0(){},'minRotation':-Math['PI']/0x2,'maxRotation':Math['PI']/0x2,'rotationStep':0.1,'shuffle':!![],'rotateRatio':0.1,'shape':_0xf808db(0x31f),'ellipticity':0.65,'classes':null,'hover':null,'click':null};if(_0x22bd51){for(const _0xc76464 in _0x22bd51)if(_0xc76464 in _0x5a1617)_0x5a1617[_0xc76464]=_0x22bd51[_0xc76464];}if(typeof _0x5a1617[_0xf808db(0x167)]!=='function'){const _0x2c452c=_0x5a1617[_0xf808db(0x167)];_0x5a1617['weightFactor']=function _0x5ffe48(_0x34fa4d){return _0x34fa4d*_0x2c452c;};}if(typeof _0x5a1617[_0xf808db(0x94)]!=='function')switch(_0x5a1617[_0xf808db(0x94)]){case _0xf808db(0x1b1):_0x5a1617['shape']=function _0x48cb28(_0x2a4544){const _0x203ffa=_0xf808db;return 0x1-Math[_0x203ffa(0xe8)](_0x2a4544);};break;case'diamond':_0x5a1617[_0xf808db(0x94)]=function _0x2e6575(_0x4567aa){const _0x3996dd=_0xf808db,_0x9a2e2b=_0x4567aa%(0x2*Math['PI']/0x4);return 0x1/(Math[_0x3996dd(0xa8)](_0x9a2e2b)+Math['sin'](_0x9a2e2b));};break;case _0xf808db(0x188):_0x5a1617[_0xf808db(0x94)]=function _0x5e2d71(_0xf4cae4){const _0x31fe0e=_0xf808db;return Math[_0x31fe0e(0x447)](0x1/Math[_0x31fe0e(0x244)](Math[_0x31fe0e(0xa8)](_0xf4cae4)),0x1/Math[_0x31fe0e(0x244)](Math[_0x31fe0e(0xe8)](_0xf4cae4)));};break;case _0xf808db(0x30b):_0x5a1617['shape']=function _0xff5423(_0x3721d9){const _0x289961=_0xf808db,_0x414219=_0x3721d9%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x289961(0xa8)](_0x414219)+Math['sqrt'](0x3)*Math[_0x289961(0xe8)](_0x414219));};break;case _0xf808db(0x2ab):case'triangle-upright':_0x5a1617[_0xf808db(0x94)]=function _0x1e8744(_0x1ebca6){const _0xbab0a1=_0xf808db,_0x1ef227=(_0x1ebca6+Math['PI']*0x3/0x2)%(0x2*Math['PI']/0x3);return 0x1/(Math['cos'](_0x1ef227)+Math[_0xbab0a1(0x315)](0x3)*Math[_0xbab0a1(0xe8)](_0x1ef227));};break;case _0xf808db(0x212):_0x5a1617['shape']=function _0x263cfe(_0x5843d2){const _0x144f0b=_0xf808db,_0x42b88a=(_0x5843d2+0.955)%(0x2*Math['PI']/0x5);return 0x1/(Math[_0x144f0b(0xa8)](_0x42b88a)+0.726543*Math['sin'](_0x42b88a));};break;case _0xf808db(0x2e4):_0x5a1617[_0xf808db(0x94)]=function _0x4bd634(_0x318975){const _0x12e1c2=_0xf808db,_0x3083ca=(_0x318975+0.955)%(0x2*Math['PI']/0xa);if((_0x318975+0.955)%(0x2*Math['PI']/0x5)-0x2*Math['PI']/0xa>=0x0)return 0x1/(Math['cos'](0x2*Math['PI']/0xa-_0x3083ca)+3.07768*Math[_0x12e1c2(0xe8)](0x2*Math['PI']/0xa-_0x3083ca));else return 0x1/(Math[_0x12e1c2(0xa8)](_0x3083ca)+3.07768*Math[_0x12e1c2(0xe8)](_0x3083ca));};break;default:_0x5a1617[_0xf808db(0x94)]=_0xf808db(0x31f);break;}_0x5a1617['gridSize']=Math['max'](Math['floor'](_0x5a1617['gridSize']),0x4);const _0x3fc659=_0x5a1617[_0xf808db(0x362)],_0x29060e=_0x3fc659-_0x5a1617[_0xf808db(0x143)],_0x47c4dd=Math[_0xf808db(0x244)](_0x5a1617[_0xf808db(0x144)]-_0x5a1617[_0xf808db(0x7d)]),_0x5a89c2=Math[_0xf808db(0x447)](_0x5a1617[_0xf808db(0x144)],_0x5a1617[_0xf808db(0x7d)]),_0x2ece69=_0x5a1617[_0xf808db(0x395)];let _0x13a302,_0x294f03,_0x3aa512,_0x29909d,_0x1b781d,_0x27717e,_0x460f90;function _0xc8f747(_0x1e48c6,_0xf842c2){const _0x53cda9=_0xf808db;return _0x53cda9(0xd2)+(Math[_0x53cda9(0x2dd)]()*0x168)[_0x53cda9(0x1af)]()+','+(Math[_0x53cda9(0x2dd)]()*0x1e+0x46)['toFixed']()+'%,'+(Math[_0x53cda9(0x2dd)]()*(_0xf842c2-_0x1e48c6)+_0x1e48c6)[_0x53cda9(0x1af)]()+'%)';}switch(_0x5a1617[_0xf808db(0x457)]){case _0xf808db(0x1d8):_0x460f90=function _0x5199d8(){return _0xc8f747(0xa,0x32);};break;case _0xf808db(0x1ea):_0x460f90=function _0x49cfda(){return _0xc8f747(0x32,0x5a);};break;default:if(typeof _0x5a1617[_0xf808db(0x457)]===_0xf808db(0x1d3))_0x460f90=_0x5a1617[_0xf808db(0x457)];break;}let _0x1d5f4e;if(typeof _0x5a1617[_0xf808db(0x185)]==='function')_0x1d5f4e=_0x5a1617[_0xf808db(0x185)];let _0x23f03a=null;if(typeof _0x5a1617[_0xf808db(0x38a)]==='function')_0x23f03a=_0x5a1617[_0xf808db(0x38a)];let _0x189177=![];const _0x863d65=[];let _0x121647;const _0x3d2a35=function _0x5baa3a(_0x833ba2){const _0xf3e7a4=_0xf808db,_0x497eae=_0x833ba2['currentTarget'],_0x20199=_0x497eae[_0xf3e7a4(0x224)]();let _0x197bce,_0x2dc639;_0x833ba2[_0xf3e7a4(0x30e)]?(_0x197bce=_0x833ba2[_0xf3e7a4(0x30e)][0x0][_0xf3e7a4(0x22a)],_0x2dc639=_0x833ba2[_0xf3e7a4(0x30e)][0x0][_0xf3e7a4(0x27c)]):(_0x197bce=_0x833ba2[_0xf3e7a4(0x22a)],_0x2dc639=_0x833ba2[_0xf3e7a4(0x27c)]);const _0x3057ef=_0x197bce-_0x20199['left'],_0x3d1ab6=_0x2dc639-_0x20199[_0xf3e7a4(0x347)],_0x19c1c7=Math[_0xf3e7a4(0x214)](_0x3057ef*(_0x497eae[_0xf3e7a4(0x103)]/_0x20199[_0xf3e7a4(0x103)]||0x1)/_0x3fc659),_0x2ab167=Math[_0xf3e7a4(0x214)](_0x3d1ab6*(_0x497eae[_0xf3e7a4(0x166)]/_0x20199[_0xf3e7a4(0x166)]||0x1)/_0x3fc659);if(!_0x863d65[_0x19c1c7])return null;return _0x863d65[_0x19c1c7][_0x2ab167];},_0x435af3=function _0x5b5e4c(_0x4c3414){const _0x53c1e3=_0xf808db,_0x1664e0=_0x3d2a35(_0x4c3414);if(_0x121647===_0x1664e0)return;_0x121647=_0x1664e0;if(!_0x1664e0){_0x5a1617[_0x53c1e3(0x3dd)](void 0x0,void 0x0,_0x4c3414);return;}_0x5a1617[_0x53c1e3(0x3dd)](_0x1664e0[_0x53c1e3(0x124)],_0x1664e0[_0x53c1e3(0x2c4)],_0x4c3414);},_0x1eda07=function _0x3995a5(_0x1dfc45){const _0x226eb5=_0xf808db,_0x573cb0=_0x3d2a35(_0x1dfc45);if(!_0x573cb0)return;_0x5a1617[_0x226eb5(0x179)](_0x573cb0[_0x226eb5(0x124)],_0x573cb0[_0x226eb5(0x2c4)],_0x1dfc45),_0x1dfc45[_0x226eb5(0x384)]();},_0x2456d8=[],_0x166ef6=function _0x2c4978(_0x146542){const _0x253f9f=_0xf808db;if(_0x2456d8[_0x146542])return _0x2456d8[_0x146542];const _0x47e0c7=_0x146542*0x8;let _0x2c6925=_0x47e0c7;const _0x21a496=[];if(_0x146542===0x0)_0x21a496[_0x253f9f(0x42d)]([_0x29909d[0x0],_0x29909d[0x1],0x0]);while(_0x2c6925--){let _0x1d7796=0x1;if(_0x5a1617[_0x253f9f(0x94)]!==_0x253f9f(0x31f))_0x1d7796=_0x5a1617[_0x253f9f(0x94)](_0x2c6925/_0x47e0c7*0x2*Math['PI']);_0x21a496['push']([_0x29909d[0x0]+_0x146542*_0x1d7796*Math['cos'](-_0x2c6925/_0x47e0c7*0x2*Math['PI']),_0x29909d[0x1]+_0x146542*_0x1d7796*Math[_0x253f9f(0xe8)](-_0x2c6925/_0x47e0c7*0x2*Math['PI'])*_0x5a1617[_0x253f9f(0x29c)],_0x2c6925/_0x47e0c7*0x2*Math['PI']]);}return _0x2456d8[_0x146542]=_0x21a496,_0x21a496;},_0x523730=function _0x26d3ab(){const _0x30c807=_0xf808db;return _0x5a1617[_0x30c807(0x233)]>0x0&&new Date()[_0x30c807(0x2b5)]()-_0x27717e>_0x5a1617[_0x30c807(0x233)];},_0x5d508d=function _0x32f2e6(){const _0xf33829=_0xf808db;if(_0x5a1617[_0xf33829(0x3af)]===0x0)return 0x0;if(Math['random']()>_0x5a1617['rotateRatio'])return 0x0;if(_0x47c4dd===0x0)return _0x5a89c2;return _0x5a89c2+Math[_0xf33829(0x486)](Math['random']()*_0x47c4dd/_0x2ece69)*_0x2ece69;},_0x4058f7=function _0xd91c23(_0x1d123e,_0x2f6680,_0x31a8b5,_0x8efb19){const _0x5409cc=_0xf808db,_0x574e31=_0x5a1617[_0x5409cc(0x167)](_0x2f6680);if(_0x574e31<=_0x5a1617[_0x5409cc(0x43d)])return![];let _0x2977c3=0x1;if(_0x574e31<minFontSize)_0x2977c3=function _0x54327f(){let _0x84a36f=0x2;while(_0x84a36f*_0x574e31<minFontSize)_0x84a36f+=0x2;return _0x84a36f;}();let _0x168a19;if(_0x1d5f4e)_0x168a19=_0x1d5f4e(_0x1d123e,_0x2f6680,_0x574e31,_0x8efb19);else _0x168a19=_0x5a1617[_0x5409cc(0x185)];const _0x3e7f93=document[_0x5409cc(0x259)]('canvas'),_0x331703=_0x3e7f93[_0x5409cc(0x3df)]('2d',{'willReadFrequently':!![]});_0x331703[_0x5409cc(0x475)]=_0x168a19+'\x20'+(_0x574e31*_0x2977c3)[_0x5409cc(0x1d0)](0xa)+_0x5409cc(0x1da)+_0x5a1617[_0x5409cc(0x181)];const _0x511781=_0x331703[_0x5409cc(0x424)](_0x1d123e)[_0x5409cc(0x103)]/_0x2977c3,_0x1f11bb=Math[_0x5409cc(0x11c)](_0x574e31*_0x2977c3,_0x331703[_0x5409cc(0x424)]('m')[_0x5409cc(0x103)],_0x331703['measureText']('W')[_0x5409cc(0x103)])/_0x2977c3;let _0x121993=_0x511781+_0x1f11bb*0x2,_0x109bc6=_0x1f11bb*0x3;const _0x5f04cb=Math[_0x5409cc(0x3c4)](_0x121993/_0x3fc659),_0x1146bd=Math[_0x5409cc(0x3c4)](_0x109bc6/_0x3fc659);_0x121993=_0x5f04cb*_0x3fc659,_0x109bc6=_0x1146bd*_0x3fc659;const _0x4dbabe=-_0x511781/0x2,_0x4397e6=-_0x1f11bb*0.4,_0x2744f3=Math['ceil']((_0x121993*Math[_0x5409cc(0x244)](Math[_0x5409cc(0xe8)](_0x31a8b5))+_0x109bc6*Math[_0x5409cc(0x244)](Math[_0x5409cc(0xa8)](_0x31a8b5)))/_0x3fc659),_0x313b06=Math[_0x5409cc(0x3c4)]((_0x121993*Math[_0x5409cc(0x244)](Math[_0x5409cc(0xa8)](_0x31a8b5))+_0x109bc6*Math[_0x5409cc(0x244)](Math[_0x5409cc(0xe8)](_0x31a8b5)))/_0x3fc659),_0x36099e=_0x313b06*_0x3fc659,_0xae0433=_0x2744f3*_0x3fc659;_0x3e7f93[_0x5409cc(0x220)](_0x5409cc(0x103),_0x36099e),_0x3e7f93['setAttribute'](_0x5409cc(0x166),_0xae0433),_0x331703[_0x5409cc(0xc3)](0x1/_0x2977c3,0x1/_0x2977c3),_0x331703[_0x5409cc(0x497)](_0x36099e*_0x2977c3/0x2,_0xae0433*_0x2977c3/0x2),_0x331703['rotate'](-_0x31a8b5),_0x331703[_0x5409cc(0x475)]=_0x168a19+'\x20'+(_0x574e31*_0x2977c3)[_0x5409cc(0x1d0)](0xa)+_0x5409cc(0x1da)+_0x5a1617['fontFamily'],_0x331703[_0x5409cc(0x25b)]=_0x5409cc(0x450),_0x331703[_0x5409cc(0x18e)]='middle',_0x331703[_0x5409cc(0x77)](_0x1d123e,_0x4dbabe*_0x2977c3,(_0x4397e6+_0x574e31*0.5)*_0x2977c3);const _0x3912af=_0x331703['getImageData'](0x0,0x0,_0x36099e,_0xae0433)[_0x5409cc(0xf9)];if(_0x523730())return![];const _0xba61fa=[];let _0x16116e=_0x313b06,_0x412574,_0x37ffa1,_0x8208b4;const _0x1ebe67=[_0x2744f3/0x2,_0x313b06/0x2,_0x2744f3/0x2,_0x313b06/0x2];while(_0x16116e--){_0x412574=_0x2744f3;while(_0x412574--){_0x8208b4=_0x3fc659;_0x40a5c6:while(_0x8208b4--){_0x37ffa1=_0x3fc659;while(_0x37ffa1--)if(_0x3912af[((_0x412574*_0x3fc659+_0x8208b4)*_0x36099e+(_0x16116e*_0x3fc659+_0x37ffa1))*0x4+0x3]){_0xba61fa[_0x5409cc(0x42d)]([_0x16116e,_0x412574]);if(_0x16116e<_0x1ebe67[0x3])_0x1ebe67[0x3]=_0x16116e;if(_0x16116e>_0x1ebe67[0x1])_0x1ebe67[0x1]=_0x16116e;if(_0x412574<_0x1ebe67[0x0])_0x1ebe67[0x0]=_0x412574;if(_0x412574>_0x1ebe67[0x2])_0x1ebe67[0x2]=_0x412574;break _0x40a5c6;}}}}return{'mu':_0x2977c3,'occupied':_0xba61fa,'bounds':_0x1ebe67,'gw':_0x313b06,'gh':_0x2744f3,'fillTextOffsetX':_0x4dbabe,'fillTextOffsetY':_0x4397e6,'fillTextWidth':_0x511781,'fillTextHeight':_0x1f11bb,'fontSize':_0x574e31};},_0xaa4e80=function _0x7cc97(_0x5162c4,_0x1a839b,_0x2d1a9c,_0x4c187a,_0x936869){const _0x2fa04a=_0xf808db;let _0x3a0437=_0x936869[_0x2fa04a(0x451)];while(_0x3a0437--){const _0x4c8b1b=_0x5162c4+_0x936869[_0x3a0437][0x0],_0x32c999=_0x1a839b+_0x936869[_0x3a0437][0x1];if(_0x4c8b1b>=_0x294f03||_0x32c999>=_0x3aa512||_0x4c8b1b<0x0||_0x32c999<0x0){if(!_0x5a1617[_0x2fa04a(0x147)])return![];continue;}if(!_0x13a302[_0x4c8b1b][_0x32c999])return![];}return!![];},_0xb2cea8=function _0x48dcc5(_0x2c4374,_0x5e6a45,_0x5dba22,_0x5e60e4,_0x615c75,_0x495bb2,_0x1c533f,_0x411725,_0xbe3a5a,_0x53d1a1){const _0x3e2037=_0xf808db,_0x26afd5=_0x5dba22[_0x3e2037(0x2e1)];let _0x5c2d13;if(_0x460f90)_0x5c2d13=_0x460f90(_0x5e60e4,_0x615c75,_0x26afd5,_0x495bb2,_0x1c533f,_0x53d1a1);else _0x5c2d13=_0x5a1617[_0x3e2037(0x457)];let _0x1ee22b;if(_0x1d5f4e)_0x1ee22b=_0x1d5f4e(_0x5e60e4,_0x615c75,_0x26afd5,_0x53d1a1);else _0x1ee22b=_0x5a1617[_0x3e2037(0x185)];let _0x41f1ad;if(_0x23f03a)_0x41f1ad=_0x23f03a(_0x5e60e4,_0x615c75,_0x26afd5,_0x53d1a1);else _0x41f1ad=_0x5a1617[_0x3e2037(0x38a)];_0x27832e['forEach'](function(_0x17a8c3){const _0x16a727=_0x3e2037;if(_0x17a8c3['getContext']){const _0x184441=_0x17a8c3[_0x16a727(0x3df)]('2d'),_0xd4828f=_0x5dba22['mu'];_0x184441[_0x16a727(0x2ea)](),_0x184441[_0x16a727(0xc3)](0x1/_0xd4828f,0x1/_0xd4828f),_0x184441[_0x16a727(0x475)]=_0x1ee22b+'\x20'+(_0x26afd5*_0xd4828f)[_0x16a727(0x1d0)](0xa)+_0x16a727(0x1da)+_0x5a1617[_0x16a727(0x181)],_0x184441[_0x16a727(0x25b)]=_0x5c2d13,_0x184441['translate']((_0x2c4374+_0x5dba22['gw']/0x2)*_0x3fc659*_0xd4828f,(_0x5e6a45+_0x5dba22['gh']/0x2)*_0x3fc659*_0xd4828f);if(_0x411725!==0x0)_0x184441[_0x16a727(0x48a)](-_0x411725);_0x184441[_0x16a727(0x18e)]='middle',_0x184441[_0x16a727(0x77)](_0x5e60e4,_0x5dba22[_0x16a727(0x381)]*_0xd4828f,(_0x5dba22['fillTextOffsetY']+_0x26afd5*0.5)*_0xd4828f),_0x184441[_0x16a727(0x368)]();}else{const _0x5d439c=document['createElement'](_0x16a727(0x9c));let _0x1f5081='';_0x1f5081=_0x16a727(0x4b0)+-_0x411725/Math['PI']*0xb4+_0x16a727(0x24b);if(_0x5dba22['mu']!==0x1)_0x1f5081+='translateX(-'+_0x5dba22[_0x16a727(0x342)]/0x4+_0x16a727(0x3cc)+0x1/_0x5dba22['mu']+')';const _0x1f2350={'position':_0x16a727(0x37e),'display':_0x16a727(0x270),'font':_0x1ee22b+'\x20'+_0x26afd5*_0x5dba22['mu']+_0x16a727(0x1da)+_0x5a1617['fontFamily'],'left':(_0x2c4374+_0x5dba22['gw']/0x2)*_0x3fc659+_0x5dba22['fillTextOffsetX']+'px','top':(_0x5e6a45+_0x5dba22['gh']/0x2)*_0x3fc659+_0x5dba22['fillTextOffsetY']+'px','width':_0x5dba22['fillTextWidth']+'px','height':_0x5dba22['fillTextHeight']+'px','lineHeight':_0x26afd5+'px','whiteSpace':_0x16a727(0x163),'transform':_0x1f5081,'webkitTransform':_0x1f5081,'msTransform':_0x1f5081,'transformOrigin':'50%\x2040%','webkitTransformOrigin':_0x16a727(0x2fd),'msTransformOrigin':_0x16a727(0x2fd)};if(_0x5c2d13)_0x1f2350['color']=_0x5c2d13;_0x5d439c[_0x16a727(0xdc)]=_0x5e60e4;for(const _0x2a768b in _0x1f2350)_0x5d439c['style'][_0x2a768b]=_0x1f2350[_0x2a768b];if(_0xbe3a5a){for(const _0x2dd2f2 in _0xbe3a5a)_0x5d439c['setAttribute'](_0x2dd2f2,_0xbe3a5a[_0x2dd2f2]);}if(_0x41f1ad)_0x5d439c[_0x16a727(0x17e)]+=_0x41f1ad;_0x17a8c3[_0x16a727(0xc0)](_0x5d439c);}});},_0x1f08b1=function _0x3bf8a9(_0x49fb48,_0x5a44f8,_0x2b9b28,_0x24a205,_0xf560c1){const _0x23249e=_0xf808db;if(_0x49fb48>=_0x294f03||_0x5a44f8>=_0x3aa512||_0x49fb48<0x0||_0x5a44f8<0x0)return;_0x13a302[_0x49fb48][_0x5a44f8]=![];if(_0x2b9b28)_0x27832e[0x0]['getContext']('2d')[_0x23249e(0x430)](_0x49fb48*_0x3fc659,_0x5a44f8*_0x3fc659,_0x29060e,_0x29060e);if(_0x189177)_0x863d65[_0x49fb48][_0x5a44f8]={'item':_0xf560c1,'dimension':_0x24a205};},_0x19c07e=function _0x16a536(_0x15da16,_0x1fe22f,_0x16c40b,_0x51ae7e,_0x5828a9,_0x26077b){const _0x4bf587=_0xf808db,_0x1f4125=_0x5828a9[_0x4bf587(0x2e2)],_0x3c315d=_0x5a1617[_0x4bf587(0x218)];let _0x3d0cb8;_0x3c315d&&(_0x3d0cb8=_0x27832e[0x0]['getContext']('2d'),_0x3d0cb8[_0x4bf587(0x2ea)](),_0x3d0cb8[_0x4bf587(0x25b)]=_0x5a1617[_0x4bf587(0x487)]);let _0x683bd3;if(_0x189177){const _0x5b03d9=_0x5828a9[_0x4bf587(0x25c)];_0x683bd3={'x':(_0x15da16+_0x5b03d9[0x3])*_0x3fc659,'y':(_0x1fe22f+_0x5b03d9[0x0])*_0x3fc659,'w':(_0x5b03d9[0x1]-_0x5b03d9[0x3]+0x1)*_0x3fc659,'h':(_0x5b03d9[0x2]-_0x5b03d9[0x0]+0x1)*_0x3fc659};}let _0x12e237=_0x1f4125[_0x4bf587(0x451)];while(_0x12e237--){const _0x4d2758=_0x15da16+_0x1f4125[_0x12e237][0x0],_0x334d04=_0x1fe22f+_0x1f4125[_0x12e237][0x1];if(_0x4d2758>=_0x294f03||_0x334d04>=_0x3aa512||_0x4d2758<0x0||_0x334d04<0x0)continue;_0x1f08b1(_0x4d2758,_0x334d04,_0x3c315d,_0x683bd3,_0x26077b);}if(_0x3c315d)_0x3d0cb8[_0x4bf587(0x368)]();},_0x105a20=function _0x2a30a8(_0x55ebc9,_0xa71987){const _0x476584=_0xf808db;if(_0xa71987>0x14)return null;let _0x56c8c4,_0x121c24,_0x5556e4;Array[_0x476584(0x436)](_0x55ebc9)?(_0x56c8c4=_0x55ebc9[0x0],_0x121c24=_0x55ebc9[0x1]):(_0x56c8c4=_0x55ebc9['word'],_0x121c24=_0x55ebc9[_0x476584(0x3f3)],_0x5556e4=_0x55ebc9[_0x476584(0x2cc)]);const _0x2d08e0=_0x5d508d(),_0x2d6316=getItemExtraData(_0x55ebc9),_0xea8b0=_0x4058f7(_0x56c8c4,_0x121c24,_0x2d08e0,_0x2d6316);if(!_0xea8b0)return![];if(_0x523730())return![];if(!_0x5a1617['drawOutOfBound']&&!_0x5a1617[_0x476584(0x357)]){const _0x3f21fa=_0xea8b0[_0x476584(0x25c)];if(_0x3f21fa[0x1]-_0x3f21fa[0x3]+0x1>_0x294f03||_0x3f21fa[0x2]-_0x3f21fa[0x0]+0x1>_0x3aa512)return![];}let _0x2b8275=_0x1b781d+0x1;const _0x3179d0=function(_0x6deaa4){const _0x25eb69=_0x476584,_0x2848d2=Math['floor'](_0x6deaa4[0x0]-_0xea8b0['gw']/0x2),_0x1a287e=Math[_0x25eb69(0x214)](_0x6deaa4[0x1]-_0xea8b0['gh']/0x2),_0x21faa5=_0xea8b0['gw'],_0x2554ad=_0xea8b0['gh'];if(!_0xaa4e80(_0x2848d2,_0x1a287e,_0x21faa5,_0x2554ad,_0xea8b0['occupied']))return![];return _0xb2cea8(_0x2848d2,_0x1a287e,_0xea8b0,_0x56c8c4,_0x121c24,_0x1b781d-_0x2b8275,_0x6deaa4[0x2],_0x2d08e0,_0x5556e4,_0x2d6316),_0x19c07e(_0x2848d2,_0x1a287e,_0x21faa5,_0x2554ad,_0xea8b0,_0x55ebc9),{'gx':_0x2848d2,'gy':_0x1a287e,'rot':_0x2d08e0,'info':_0xea8b0};};while(_0x2b8275--){let _0x2db0f9=_0x166ef6(_0x1b781d-_0x2b8275);_0x5a1617[_0x476584(0x438)]&&(_0x2db0f9=[][_0x476584(0xe1)](_0x2db0f9),shuffleArray(_0x2db0f9));for(let _0x4e7375=0x0;_0x4e7375<_0x2db0f9['length'];_0x4e7375++){const _0x40f819=_0x3179d0(_0x2db0f9[_0x4e7375]);if(_0x40f819)return _0x40f819;}}if(_0x5a1617[_0x476584(0x357)]){if(Array[_0x476584(0x436)](_0x55ebc9))_0x55ebc9[0x1]=_0x55ebc9[0x1]*0x3/0x4;else _0x55ebc9[_0x476584(0x3f3)]=_0x55ebc9[_0x476584(0x3f3)]*0x3/0x4;return _0x2a30a8(_0x55ebc9,_0xa71987+0x1);}return null;},_0x4441cb=function _0x24c390(_0x40aa86,_0x5217ca,_0x4d2b48){const _0x41b611=_0xf808db;if(_0x5217ca)return!_0x27832e[_0x41b611(0x32b)](function(_0x10f538){const _0x59cf47=new CustomEvent(_0x40aa86,{'detail':_0x4d2b48||{}});return!_0x10f538['dispatchEvent'](_0x59cf47);},this);else _0x27832e[_0x41b611(0x3e3)](function(_0x11fff7){const _0x426559=_0x41b611,_0x43a1b5=new CustomEvent(_0x40aa86,{'detail':_0x4d2b48||{}});_0x11fff7[_0x426559(0x4e4)](_0x43a1b5);},this);};(function _0x8bb604(){const _0x3b4936=_0xf808db,_0x1f9cef=_0x27832e[0x0];if(_0x1f9cef[_0x3b4936(0x3df)])_0x294f03=Math[_0x3b4936(0x3c4)](_0x1f9cef['width']/_0x3fc659),_0x3aa512=Math['ceil'](_0x1f9cef[_0x3b4936(0x166)]/_0x3fc659);else{const _0x38edf0=_0x1f9cef['getBoundingClientRect']();_0x294f03=Math[_0x3b4936(0x3c4)](_0x38edf0[_0x3b4936(0x103)]/_0x3fc659),_0x3aa512=Math[_0x3b4936(0x3c4)](_0x38edf0[_0x3b4936(0x166)]/_0x3fc659);}if(!_0x4441cb(_0x3b4936(0xab),!![]))return;_0x29909d=_0x5a1617[_0x3b4936(0x444)]?[_0x5a1617[_0x3b4936(0x444)][0x0]/_0x3fc659,_0x5a1617[_0x3b4936(0x444)][0x1]/_0x3fc659]:[_0x294f03/0x2,_0x3aa512/0x2],_0x1b781d=Math['floor'](Math['sqrt'](_0x294f03*_0x294f03+_0x3aa512*_0x3aa512)),_0x13a302=[];let _0xf14a37,_0x231a4f,_0x387f55;if(!_0x1f9cef[_0x3b4936(0x3df)]||_0x5a1617[_0x3b4936(0x1c8)]){_0x27832e['forEach'](function(_0x3db1a7){const _0x64b04c=_0x3b4936;if(_0x3db1a7['getContext']){const _0x4fd055=_0x3db1a7[_0x64b04c(0x3df)]('2d');_0x4fd055['fillStyle']=_0x5a1617[_0x64b04c(0x2dc)],_0x4fd055[_0x64b04c(0x33a)](0x0,0x0,_0x294f03*(_0x3fc659+0x1),_0x3aa512*(_0x3fc659+0x1)),_0x4fd055['fillRect'](0x0,0x0,_0x294f03*(_0x3fc659+0x1),_0x3aa512*(_0x3fc659+0x1));}else _0x3db1a7['textContent']='',_0x3db1a7[_0x64b04c(0x418)][_0x64b04c(0x2dc)]=_0x5a1617['backgroundColor'],_0x3db1a7[_0x64b04c(0x418)][_0x64b04c(0x2ba)]=_0x64b04c(0xee);}),_0xf14a37=_0x294f03;while(_0xf14a37--){_0x13a302[_0xf14a37]=[],_0x231a4f=_0x3aa512;while(_0x231a4f--)_0x13a302[_0xf14a37][_0x231a4f]=!![];}}else{let _0x52439e=document['createElement'](_0x3b4936(0x439))[_0x3b4936(0x3df)]('2d');_0x52439e[_0x3b4936(0x25b)]=_0x5a1617[_0x3b4936(0x2dc)],_0x52439e[_0x3b4936(0x430)](0x0,0x0,0x1,0x1);let _0x2112c5=_0x52439e['getImageData'](0x0,0x0,0x1,0x1)[_0x3b4936(0xf9)],_0x458a29=_0x1f9cef[_0x3b4936(0x3df)]('2d')[_0x3b4936(0x474)](0x0,0x0,_0x294f03*_0x3fc659,_0x3aa512*_0x3fc659)[_0x3b4936(0xf9)];_0xf14a37=_0x294f03;let _0x322c68,_0x177317;while(_0xf14a37--){_0x13a302[_0xf14a37]=[],_0x231a4f=_0x3aa512;while(_0x231a4f--){_0x177317=_0x3fc659;_0xc92fab:while(_0x177317--){_0x322c68=_0x3fc659;while(_0x322c68--){_0x387f55=0x4;while(_0x387f55--)if(_0x458a29[((_0x231a4f*_0x3fc659+_0x177317)*_0x294f03*_0x3fc659+(_0xf14a37*_0x3fc659+_0x322c68))*0x4+_0x387f55]!==_0x2112c5[_0x387f55]){_0x13a302[_0xf14a37][_0x231a4f]=![];break _0xc92fab;}}}if(_0x13a302[_0xf14a37][_0x231a4f]!==![])_0x13a302[_0xf14a37][_0x231a4f]=!![];}}_0x458a29=_0x52439e=_0x2112c5=void 0x0;}if(_0x5a1617['hover']||_0x5a1617[_0x3b4936(0x179)]){_0x189177=!![],_0xf14a37=_0x294f03+0x1;while(_0xf14a37--)_0x863d65[_0xf14a37]=[];if(_0x5a1617[_0x3b4936(0x3dd)])_0x1f9cef[_0x3b4936(0x492)](_0x3b4936(0x393),_0x435af3);_0x5a1617[_0x3b4936(0x179)]&&(_0x1f9cef['addEventListener'](_0x3b4936(0x179),_0x1eda07),_0x1f9cef[_0x3b4936(0x492)](_0x3b4936(0x298),_0x1eda07),_0x1f9cef[_0x3b4936(0x492)](_0x3b4936(0x111),function(_0x440c97){const _0x180abd=_0x3b4936;_0x440c97[_0x180abd(0x384)]();}),_0x1f9cef[_0x3b4936(0x418)][_0x3b4936(0x29e)]=_0x3b4936(0x50e)),_0x1f9cef[_0x3b4936(0x492)]('wordcloudstart',function _0x1335fc(){const _0x5e4bbb=_0x3b4936;_0x1f9cef[_0x5e4bbb(0x313)](_0x5e4bbb(0xab),_0x1335fc),_0x1f9cef[_0x5e4bbb(0x313)]('mousemove',_0x435af3),_0x1f9cef['removeEventListener'](_0x5e4bbb(0x179),_0x1eda07),_0x121647=void 0x0;});}_0x387f55=0x0;let _0x4d9fa0,_0x477e55,_0x591e8f=!![];if(!_0x5a1617['layoutAnimation'])_0x4d9fa0=function(_0xe2ed7d){_0xe2ed7d();},_0x477e55=function(){_0x591e8f=![];};else _0x5a1617[_0x3b4936(0x4e6)]!==0x0?(_0x4d9fa0=window[_0x3b4936(0x351)],_0x477e55=window[_0x3b4936(0x1e5)]):(_0x4d9fa0=window[_0x3b4936(0x2e3)],_0x477e55=window[_0x3b4936(0x21f)]);const _0x18f85b=function _0x46dfd6(_0x23d4dd,_0x166849){const _0x1082b9=_0x3b4936;_0x27832e[_0x1082b9(0x3e3)](function(_0x38bdfc){const _0x2d26b2=_0x1082b9;_0x38bdfc[_0x2d26b2(0x492)](_0x23d4dd,_0x166849);},this);},_0x2dac11=function _0x3d9cdc(_0x2d59a4,_0x428979){_0x27832e['forEach'](function(_0x367d22){_0x367d22['removeEventListener'](_0x2d59a4,_0x428979);},this);},_0x36d709=function _0x773763(){const _0x3fc84c=_0x3b4936;_0x2dac11(_0x3fc84c(0xab),_0x773763),_0x477e55(timer[_0x36730e]);};_0x18f85b(_0x3b4936(0xab),_0x36d709),timer[_0x36730e]=(_0x5a1617[_0x3b4936(0xe5)]?_0x4d9fa0:setTimeout)(function _0x45d9a8(){const _0x58c12=_0x3b4936;if(!_0x591e8f)return;if(_0x387f55>=_0x5a1617[_0x58c12(0x7a)][_0x58c12(0x451)]){_0x477e55(timer[_0x36730e]),_0x4441cb(_0x58c12(0x254),![]),_0x2dac11(_0x58c12(0xab),_0x36d709),delete timer[_0x36730e];return;}_0x27717e=new Date()[_0x58c12(0x2b5)]();const _0x30d060=_0x105a20(_0x5a1617[_0x58c12(0x7a)][_0x387f55],0x0),_0x42ef77=!_0x4441cb(_0x58c12(0x131),!![],{'item':_0x5a1617['list'][_0x387f55],'drawn':_0x30d060});if(_0x523730()||_0x42ef77){_0x477e55(timer[_0x36730e]),_0x5a1617['abort'](),_0x4441cb(_0x58c12(0x240),![]),_0x4441cb(_0x58c12(0x254),![]),_0x2dac11(_0x58c12(0xab),_0x36d709);return;}_0x387f55++,timer[_0x36730e]=_0x4d9fa0(_0x45d9a8,_0x5a1617[_0x58c12(0x4e6)]);},_0x5a1617[_0x3b4936(0x4e6)]);}());};WordCloud[_0x1d8fa5(0x209)]=isSupported,WordCloud[_0x1d8fa5(0x51b)]=minFontSize;function registerWordCloud(_0x4f6c1b){const _0x3f99db=_0x1d8fa5;if(!WordCloud[_0x3f99db(0x209)])throw new Error(_0x3f99db(0x1b6));function _0x1ec59f(_0x45e4ed){const _0x13cef2=_0x3f99db,_0x4990f3=_0x45e4ed[_0x13cef2(0x3df)]('2d'),_0xcbbf2e=_0x4990f3[_0x13cef2(0x474)](0x0,0x0,_0x45e4ed['width'],_0x45e4ed[_0x13cef2(0x166)]),_0x55a8e2=_0x4990f3[_0x13cef2(0xc8)](_0xcbbf2e);let _0x3e827e=0x0,_0x2f7174=0x0;for(let _0x5a3da6=0x0;_0x5a3da6<_0xcbbf2e[_0x13cef2(0xf9)][_0x13cef2(0x451)];_0x5a3da6+=0x4)if(_0xcbbf2e['data'][_0x5a3da6+0x3]>0x80){const _0x3672b3=_0xcbbf2e['data'][_0x5a3da6]+_0xcbbf2e[_0x13cef2(0xf9)][_0x5a3da6+0x1]+_0xcbbf2e[_0x13cef2(0xf9)][_0x5a3da6+0x2];_0x3e827e+=_0x3672b3,++_0x2f7174;}const _0xcc57d4=_0x3e827e/_0x2f7174;for(let _0x577940=0x0;_0x577940<_0xcbbf2e[_0x13cef2(0xf9)][_0x13cef2(0x451)];_0x577940+=0x4){const _0x5a95f8=_0xcbbf2e['data'][_0x577940]+_0xcbbf2e['data'][_0x577940+0x1]+_0xcbbf2e['data'][_0x577940+0x2];_0xcbbf2e['data'][_0x577940+0x3]<0x80||_0x5a95f8>_0xcc57d4?(_0x55a8e2[_0x13cef2(0xf9)][_0x577940]=0x0,_0x55a8e2['data'][_0x577940+0x1]=0x0,_0x55a8e2[_0x13cef2(0xf9)][_0x577940+0x2]=0x0,_0x55a8e2['data'][_0x577940+0x3]=0x0):(_0x55a8e2[_0x13cef2(0xf9)][_0x577940]=0xff,_0x55a8e2[_0x13cef2(0xf9)][_0x577940+0x1]=0xff,_0x55a8e2[_0x13cef2(0xf9)][_0x577940+0x2]=0xff,_0x55a8e2[_0x13cef2(0xf9)][_0x577940+0x3]=0xff);}_0x4990f3[_0x13cef2(0x32c)](_0x55a8e2,0x0,0x0);}_0x4f6c1b[_0x3f99db(0x1fd)](function(_0xd9088a,_0x5d31db){const _0xfd6190=_0x3f99db;_0xd9088a[_0xfd6190(0x4dc)](_0xfd6190(0x532),function(_0x3fe540){const _0x14157e=_0xfd6190,_0x3eb397=_0x4f6c1b['helper'][_0x14157e(0x3a5)](_0x3fe540[_0x14157e(0x192)](),{'width':_0x5d31db[_0x14157e(0x32a)](),'height':_0x5d31db['getHeight']()}),_0x545c22=_0x3fe540['get'](_0x14157e(0x378)),_0x404dcb=_0x3fe540[_0x14157e(0xed)]('maskImage'),_0x28646c=_0x404dcb?_0x404dcb['width']/_0x404dcb[_0x14157e(0x166)]:0x1;_0x545c22&&_0x3fe43d(_0x3eb397,_0x28646c);const _0x2c1182=_0x3fe540[_0x14157e(0x536)](),_0x444a64=document[_0x14157e(0x259)](_0x14157e(0x439));_0x444a64['width']=_0x3eb397[_0x14157e(0x103)],_0x444a64[_0x14157e(0x166)]=_0x3eb397[_0x14157e(0x166)];const _0x3d2aaf=_0x444a64['getContext']('2d');if(_0x404dcb&&_0x3d2aaf)try{_0x3d2aaf[_0x14157e(0x319)](_0x404dcb,0x0,0x0,_0x444a64[_0x14157e(0x103)],_0x444a64[_0x14157e(0x166)]),_0x1ec59f(_0x444a64);}catch(_0x262aef){console[_0x14157e(0x337)](_0x14157e(0x8d)),console['error'](_0x262aef['toString']());}const _0x5743af=_0x3fe540[_0x14157e(0xed)]('sizeRange'),_0x3a0d72=_0x3fe540[_0x14157e(0xed)]('rotationRange'),_0x8a4639=_0x2c1182[_0x14157e(0x1a3)](_0x14157e(0x3ce)),_0x51a3f3=Math['PI']/0xb4,_0x761338=_0x3fe540[_0x14157e(0xed)](_0x14157e(0x362));WordCloud(_0x444a64,{'list':_0x2c1182[_0x14157e(0x2a4)]('value',function(_0x5465d4,_0x290145){const _0x408b64=_0x14157e,_0x1041c8=_0x2c1182['getItemModel'](_0x290145);return[_0x2c1182[_0x408b64(0x80)](_0x290145),_0x1041c8['get']('textStyle.fontSize',!![])||_0x4f6c1b[_0x408b64(0x480)][_0x408b64(0x4bf)](_0x5465d4,_0x8a4639,_0x5743af),_0x290145];})[_0x14157e(0x50c)](function(_0x407769,_0x4ba4cc){return _0x4ba4cc[0x1]-_0x407769[0x1];}),'fontFamily':_0x3fe540[_0x14157e(0xed)](_0x14157e(0x481))||_0x3fe540[_0x14157e(0xed)]('emphasis.textStyle.fontFamily')||_0xd9088a['get'](_0x14157e(0x481)),'fontWeight':_0x3fe540[_0x14157e(0xed)](_0x14157e(0x194))||_0x3fe540[_0x14157e(0xed)](_0x14157e(0x2d6))||_0xd9088a[_0x14157e(0xed)](_0x14157e(0x194)),'gridSize':_0x761338,'ellipticity':_0x3eb397['height']/_0x3eb397['width'],'minRotation':_0x3a0d72[0x0]*_0x51a3f3,'maxRotation':_0x3a0d72[0x1]*_0x51a3f3,'clearCanvas':!_0x404dcb,'rotateRatio':0x1,'rotationStep':_0x3fe540['get'](_0x14157e(0x395))*_0x51a3f3,'drawOutOfBound':_0x3fe540[_0x14157e(0xed)](_0x14157e(0x147)),'shrinkToFit':_0x3fe540[_0x14157e(0xed)](_0x14157e(0x357)),'layoutAnimation':_0x3fe540[_0x14157e(0xed)]('layoutAnimation'),'shuffle':![],'shape':_0x3fe540[_0x14157e(0xed)](_0x14157e(0x94))});function _0x350934(_0x42be64){const _0x6e5881=_0x14157e,_0x2637dc=_0x42be64['detail']['item'];_0x42be64[_0x6e5881(0x2e9)][_0x6e5881(0x26a)]&&_0x3fe540[_0x6e5881(0x301)][_0x6e5881(0x1df)]&&(_0x42be64['detail']['drawn']['gx']+=_0x3eb397['x']/_0x761338,_0x42be64[_0x6e5881(0x2e9)][_0x6e5881(0x26a)]['gy']+=_0x3eb397['y']/_0x761338,_0x3fe540['layoutInstance'][_0x6e5881(0x1df)](_0x2637dc[0x0],_0x2637dc[0x1],_0x2637dc[0x2],_0x42be64[_0x6e5881(0x2e9)][_0x6e5881(0x26a)]));}_0x444a64['addEventListener'](_0x14157e(0x131),_0x350934);if(_0x3fe540[_0x14157e(0x301)])_0x3fe540[_0x14157e(0x301)]['dispose']();_0x3fe540[_0x14157e(0x301)]={'ondraw':null,'dispose'(){const _0x5bfcf9=_0x14157e;_0x444a64[_0x5bfcf9(0x313)](_0x5bfcf9(0x131),_0x350934),_0x444a64[_0x5bfcf9(0x492)]('wordclouddrawn',function(_0x3c266f){_0x3c266f['preventDefault']();});}};});}),_0x4f6c1b['registerPreprocessor'](function(_0x3f78a5){const _0x1d9995=_0x3f99db;let _0x3c2362=(_0x3f78a5||{})[_0x1d9995(0x14d)];!_0x4f6c1b[_0x1d9995(0x2d1)][_0x1d9995(0x436)](_0x3c2362)&&(_0x3c2362=_0x3c2362?[_0x3c2362]:[]);const _0x5b91d4=[_0x1d9995(0x335),'shadowBlur','shadowOffsetX',_0x1d9995(0x484)];_0x4f6c1b[_0x1d9995(0x2d1)][_0x1d9995(0x11f)](_0x3c2362,function(_0xffd56a){const _0x1e4871=_0x1d9995;if(_0xffd56a&&_0xffd56a[_0x1e4871(0x7e)]===_0x1e4871(0x532)){const _0x1b0e36=_0xffd56a[_0x1e4871(0x414)]||{};_0x8ed2fa(_0x1b0e36[_0x1e4871(0x2d9)]),_0x8ed2fa(_0x1b0e36['emphasis']);}});function _0x8ed2fa(_0x38ea68){const _0x238b21=_0x1d9995;_0x38ea68&&_0x4f6c1b[_0x238b21(0x2d1)][_0x238b21(0x11f)](_0x5b91d4,function(_0x16ede4){const _0x337ae9=_0x238b21;if(Object[_0x337ae9(0x1f2)]['hasOwnProperty']['call'](_0x38ea68,_0x16ede4))_0x38ea68[_0x337ae9(0x505)+_0x4f6c1b[_0x337ae9(0x504)][_0x337ae9(0x334)](_0x16ede4)]=_0x38ea68[_0x16ede4];});}});function _0x3fe43d(_0x5302f2,_0x32d346){const _0x42c57e=_0x3f99db,_0x4e873b=_0x5302f2[_0x42c57e(0x103)],_0x467ecf=_0x5302f2[_0x42c57e(0x166)];_0x4e873b>_0x467ecf*_0x32d346?(_0x5302f2['x']+=(_0x4e873b-_0x467ecf*_0x32d346)/0x2,_0x5302f2[_0x42c57e(0x103)]=_0x467ecf*_0x32d346):(_0x5302f2['y']+=(_0x467ecf-_0x4e873b/_0x32d346)/0x2,_0x5302f2[_0x42c57e(0x166)]=_0x4e873b/_0x32d346);}_0x4f6c1b['extendSeriesModel']({'type':_0x3f99db(0x2d5),'visualStyleAccessPath':_0x3f99db(0x414),'visualStyleMapper'(_0x2ccb6a){const _0x2b1939=_0x3f99db;return{'fill':_0x2ccb6a[_0x2b1939(0xed)](_0x2b1939(0x457))};},'visualDrawType':_0x3f99db(0x178),'optionUpdated'(){const _0x29ea01=_0x3f99db,_0x3a7b87=this['option'];_0x3a7b87['gridSize']=Math[_0x29ea01(0x11c)](Math[_0x29ea01(0x214)](_0x3a7b87[_0x29ea01(0x362)]),0x4);},'getInitialData'(_0x3df731){const _0x324209=_0x3f99db,_0x20a514=_0x4f6c1b[_0x324209(0x1a2)][_0x324209(0x50f)](_0x3df731[_0x324209(0xf9)],{'coordDimensions':[_0x324209(0x3ce)]}),_0x175fc8=new _0x4f6c1b[(_0x324209(0x3f7))](_0x20a514,this);return _0x175fc8[_0x324209(0x177)](_0x3df731[_0x324209(0xf9)]),_0x175fc8;},'defaultOption':{'maskImage':null,'shape':_0x3f99db(0x31f),'keepAspect':![],'left':'center','top':_0x3f99db(0x2d4),'width':_0x3f99db(0x43c),'height':'80%','sizeRange':[0xc,0x3c],'rotationRange':[-0x5a,0x5a],'rotationStep':0x2d,'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'textStyle':{'fontWeight':_0x3f99db(0x2d9)}}}),_0x4f6c1b[_0x3f99db(0x161)]({'type':_0x3f99db(0x532),'render'(_0x2816b7){const _0x3fa19a=_0x3f99db,_0x2348c4=this[_0x3fa19a(0x44b)];_0x2348c4['removeAll']();const _0x2ad64a=_0x2816b7[_0x3fa19a(0x536)](),_0x1e85f6=_0x2816b7['get'](_0x3fa19a(0x362));_0x2816b7[_0x3fa19a(0x301)][_0x3fa19a(0x1df)]=function(_0x2304ee,_0x53885c,_0x24635f,_0x264274){const _0x1f057e=_0x3fa19a,_0x130e4e=_0x2ad64a['getItemModel'](_0x24635f),_0x589438=_0x130e4e[_0x1f057e(0x86)](_0x1f057e(0x414)),_0x5b5b55=new _0x4f6c1b[(_0x1f057e(0x1ab))]['Text']({'style':_0x4f6c1b[_0x1f057e(0x1a2)]['createTextStyle'](_0x589438),'scaleX':0x1/_0x264274[_0x1f057e(0x1ee)]['mu'],'scaleY':0x1/_0x264274[_0x1f057e(0x1ee)]['mu'],'x':(_0x264274['gx']+_0x264274[_0x1f057e(0x1ee)]['gw']/0x2)*_0x1e85f6,'y':(_0x264274['gy']+_0x264274['info']['gh']/0x2)*_0x1e85f6,'rotation':_0x264274[_0x1f057e(0x300)]});_0x5b5b55[_0x1f057e(0x29a)]({'x':_0x264274[_0x1f057e(0x1ee)][_0x1f057e(0x381)],'y':_0x264274[_0x1f057e(0x1ee)][_0x1f057e(0x40b)]+_0x53885c*0.5,'text':_0x2304ee,'verticalAlign':_0x1f057e(0x44f),'fill':_0x2ad64a[_0x1f057e(0xb6)](_0x24635f,_0x1f057e(0x418))['fill'],'fontSize':_0x53885c}),_0x2348c4[_0x1f057e(0x363)](_0x5b5b55),_0x2ad64a[_0x1f057e(0x1bf)](_0x24635f,_0x5b5b55),_0x5b5b55[_0x1f057e(0x41a)]('emphasis')['style']=_0x4f6c1b[_0x1f057e(0x1a2)][_0x1f057e(0x125)](_0x130e4e['getModel']([_0x1f057e(0x1e3),_0x1f057e(0x414)]),{'state':_0x1f057e(0x1e3)}),_0x5b5b55[_0x1f057e(0x41a)](_0x1f057e(0x150))['style']=_0x4f6c1b[_0x1f057e(0x1a2)][_0x1f057e(0x125)](_0x130e4e['getModel']([_0x1f057e(0x150),'textStyle']),{'state':'blur'}),_0x4f6c1b[_0x1f057e(0x1a2)][_0x1f057e(0x2fc)](_0x5b5b55,_0x130e4e[_0x1f057e(0xed)]([_0x1f057e(0x1e3),_0x1f057e(0x403)]),_0x130e4e[_0x1f057e(0xed)]([_0x1f057e(0x1e3),_0x1f057e(0x22d)])),_0x5b5b55[_0x1f057e(0x35d)]={'duration':_0x2816b7[_0x1f057e(0xed)]('animation')?_0x2816b7[_0x1f057e(0xed)]([_0x1f057e(0x4aa),_0x1f057e(0x265)]):0x0,'easing':_0x2816b7[_0x1f057e(0xed)](['stateAnimation',_0x1f057e(0x45c)])},_0x5b5b55[_0x1f057e(0x3f1)]=!![];},this['_model']=_0x2816b7;},'remove'(){const _0xbefd41=_0x3f99db;this[_0xbefd41(0x44b)][_0xbefd41(0x456)](),this[_0xbefd41(0x260)]['layoutInstance'][_0xbefd41(0x311)]();},'dispose'(){const _0x15c61f=_0x3f99db;this['_model'][_0x15c61f(0x301)][_0x15c61f(0x311)]();}});}let UniverSheetsChartUIPlugin=class UniverSheetsChartUIPlugin extends _univerjs_core[_0x1d8fa5(0x4fb)]{constructor(_0x5bfa52,_0x46612a,_0x5b91da){const _0x356702=_0x1d8fa5;super(),this[_0x356702(0x31a)]=_0x5bfa52,this['_injector']=_0x46612a,this[_0x356702(0xf3)]=_0x5b91da,this[_0x356702(0x3f5)](),registerWordCloud(_univerjs_pro_engine_chart[_0x356702(0x3ac)]);}[_0x1d8fa5(0x314)](){const _0x2fb186=_0x1d8fa5,_0x2be299=this[_0x2fb186(0x1be)];[[SheetsChartUIService],[IChartHostProviderService,{'useClass':SheetsChartHostProviderService}],[ChartRenderService],[SheetsChartUIController],[ChartHostProviderController],[ChartRenderController],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]]['forEach'](_0x1b68ac=>_0x2be299[_0x2fb186(0x363)](_0x1b68ac)),(0x0,_univerjs_core[_0x2fb186(0x235)])(this[_0x2fb186(0x1be)],[[SheetsChartUIController],[ChartRenderController],[ChartHostProviderController],[SheetsChartUIService],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]]);}['onRendered'](){const _0x53eb10=_0x1d8fa5;var _0x2b38c4;(_0x2b38c4=this['_injector'][_0x53eb10(0xed)](SheetsChartUIController))===null||_0x2b38c4===void 0x0||_0x2b38c4[_0x53eb10(0x204)]();}[_0x1d8fa5(0x3f5)](){const _0x5366a5=_0x1d8fa5;[MenuInsertChartCommand,ChartOpenPanelOperation,ChartHidePanelOperation][_0x5366a5(0x3e3)](_0x5a2d0e=>this[_0x5366a5(0x49a)](this[_0x5366a5(0xf3)][_0x5366a5(0x280)](_0x5a2d0e)));}};_defineProperty(UniverSheetsChartUIPlugin,'type',_univerjs_core[_0x1d8fa5(0x83)]['UNIVER_SHEET']),_defineProperty(UniverSheetsChartUIPlugin,_0x1d8fa5(0x82),'UniverSheetsChartUIPlugin'),_defineProperty(UniverSheetsChartUIPlugin,_0x1d8fa5(0x8e),name),_defineProperty(UniverSheetsChartUIPlugin,_0x1d8fa5(0x9e),version),UniverSheetsChartUIPlugin=__decorate([(0x0,_univerjs_core['DependentOn'])(_univerjs_sheets_drawing_ui[_0x1d8fa5(0x34a)],_univerjs_pro_sheets_chart[_0x1d8fa5(0x340)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x1d8fa5(0x2c9)])(_univerjs_core[_0x1d8fa5(0x3ee)])),__decorateParam(0x2,_univerjs_core[_0x1d8fa5(0x91)])],UniverSheetsChartUIPlugin),Object['defineProperty'](exports,_0x1d8fa5(0x303),{'enumerable':!![],'get':function(){return SheetsChartUIController;}}),Object['defineProperty'](exports,_0x1d8fa5(0x3f8),{'enumerable':!![],'get':function(){return SheetsChartUIService;}}),Object[_0x1d8fa5(0x38c)](exports,'UniverSheetsChartUIPlugin',{'enumerable':!![],'get':function(){return UniverSheetsChartUIPlugin;}}),exports['registerWordCloud']=registerWordCloud;
1
+ const _0x5db780=_0x3299;(function(_0x230c72,_0x1401a0){const _0x3cc2cd=_0x3299,_0xcb659d=_0x230c72();while(!![]){try{const _0x5accdc=-parseInt(_0x3cc2cd(0x21f))/0x1*(-parseInt(_0x3cc2cd(0x1dd))/0x2)+parseInt(_0x3cc2cd(0x21e))/0x3*(-parseInt(_0x3cc2cd(0x3be))/0x4)+parseInt(_0x3cc2cd(0x4bf))/0x5*(-parseInt(_0x3cc2cd(0x332))/0x6)+-parseInt(_0x3cc2cd(0x48a))/0x7*(parseInt(_0x3cc2cd(0x1e3))/0x8)+parseInt(_0x3cc2cd(0x360))/0x9+-parseInt(_0x3cc2cd(0x20b))/0xa+parseInt(_0x3cc2cd(0x3f3))/0xb;if(_0x5accdc===_0x1401a0)break;else _0xcb659d['push'](_0xcb659d['shift']());}catch(_0x474504){_0xcb659d['push'](_0xcb659d['shift']());}}}(_0x3cbb,0x40bba),Object['defineProperty'](exports,Symbol[_0x5db780(0x2ec)],{'value':_0x5db780(0x223)}));let _univerjs_pro_sheets_chart=require('@univerjs-pro/sheets-chart'),_univerjs_core=require('@univerjs/core'),_univerjs_drawing=require('@univerjs/drawing'),_univerjs_icons=require('@univerjs/icons'),_univerjs_sheets_drawing=require('@univerjs/sheets-drawing'),_univerjs_sheets_ui=require('@univerjs/sheets-ui'),_univerjs_ui=require('@univerjs/ui'),_univerjs_pro_engine_chart=require('@univerjs-pro/engine-chart'),rxjs=require('rxjs'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_sheets_drawing_ui=require('@univerjs/sheets-drawing-ui'),_univerjs_design=require('@univerjs/design'),react=require('react'),_univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_sheets_formula_ui=require('@univerjs/sheets-formula-ui'),react_jsx_runtime=require('react/jsx-runtime'),_univerjs_sheets=require('@univerjs/sheets');const ChartHidePanelOperation={'type':_univerjs_core['CommandType']['OPERATION'],'id':_0x5db780(0x2f9),'handler'(){return!![];}},ChartOpenPanelOperation={'type':_univerjs_core['CommandType'][_0x5db780(0x23b)],'id':_0x5db780(0x2cf),'handler'(){return!![];}};function _typeof(_0x1f87e3){'@babel/helpers - typeof';const _0x28e11b=_0x5db780;return _typeof='function'==typeof Symbol&&_0x28e11b(0x577)==typeof Symbol['iterator']?function(_0x45b829){return typeof _0x45b829;}:function(_0x32b402){const _0x106c2a=_0x28e11b;return _0x32b402&&'function'==typeof Symbol&&_0x32b402['constructor']===Symbol&&_0x32b402!==Symbol['prototype']?_0x106c2a(0x577):typeof _0x32b402;},_typeof(_0x1f87e3);}function toPrimitive(_0x2b0c88,_0x4e8a9c){const _0x52b60c=_0x5db780;if(_0x52b60c(0x315)!=_typeof(_0x2b0c88)||!_0x2b0c88)return _0x2b0c88;var _0x126a64=_0x2b0c88[Symbol['toPrimitive']];if(void 0x0!==_0x126a64){var _0x4fd00a=_0x126a64['call'](_0x2b0c88,_0x4e8a9c||_0x52b60c(0x5dc));if('object'!=_typeof(_0x4fd00a))return _0x4fd00a;throw new TypeError(_0x52b60c(0x2dd));}return(_0x52b60c(0x622)===_0x4e8a9c?String:Number)(_0x2b0c88);}function toPropertyKey(_0x45368d){const _0x3eaf32=_0x5db780;var _0x1c1d41=toPrimitive(_0x45368d,_0x3eaf32(0x622));return _0x3eaf32(0x577)==_typeof(_0x1c1d41)?_0x1c1d41:_0x1c1d41+'';}function _defineProperty(_0xb6334f,_0x2a2716,_0x46f0bd){const _0x3510d2=_0x5db780;return(_0x2a2716=toPropertyKey(_0x2a2716))in _0xb6334f?Object[_0x3510d2(0x322)](_0xb6334f,_0x2a2716,{'value':_0x46f0bd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb6334f[_0x2a2716]=_0x46f0bd,_0xb6334f;}function __decorateParam(_0x41488a,_0x5cb407){return function(_0x4bd039,_0x1abaf4){_0x5cb407(_0x4bd039,_0x1abaf4,_0x41488a);};}function __decorate(_0x4aafcd,_0x26e4fc,_0x33e632,_0x1a60d2){const _0x4fb002=_0x5db780;var _0x3a3e91=arguments[_0x4fb002(0x3db)],_0x50c279=_0x3a3e91<0x3?_0x26e4fc:_0x1a60d2===null?_0x1a60d2=Object[_0x4fb002(0x2d9)](_0x26e4fc,_0x33e632):_0x1a60d2,_0x195ffc;if(typeof Reflect===_0x4fb002(0x315)&&typeof Reflect[_0x4fb002(0x2e1)]===_0x4fb002(0x436))_0x50c279=Reflect[_0x4fb002(0x2e1)](_0x4aafcd,_0x26e4fc,_0x33e632,_0x1a60d2);else{for(var _0x26a47f=_0x4aafcd[_0x4fb002(0x3db)]-0x1;_0x26a47f>=0x0;_0x26a47f--)if(_0x195ffc=_0x4aafcd[_0x26a47f])_0x50c279=(_0x3a3e91<0x3?_0x195ffc(_0x50c279):_0x3a3e91>0x3?_0x195ffc(_0x26e4fc,_0x33e632,_0x50c279):_0x195ffc(_0x26e4fc,_0x33e632))||_0x50c279;}return _0x3a3e91>0x3&&_0x50c279&&Object[_0x4fb002(0x322)](_0x26e4fc,_0x33e632,_0x50c279),_0x50c279;}function waitElement(_0x7f9240){return new Promise(_0x47443d=>{const _0x232f10=_0x3299,_0x4c8977=setInterval(()=>{const _0x557273=_0x3299,_0x4c3bba=document[_0x557273(0x40a)](_0x7f9240);_0x4c3bba&&(clearInterval(_0x4c8977),_0x47443d(_0x4c3bba));},0x3e8/0x3c),_0x582157=document[_0x232f10(0x40a)](_0x7f9240);_0x582157&&(clearInterval(_0x4c8977),_0x47443d(_0x582157));});}function createHostElement(_0x9d3f26,_0x3bc8fc){const _0x506f2e=_0x5db780,_0x3fdcb5=document[_0x506f2e(0x356)]('div');return _0x3fdcb5[_0x506f2e(0x26a)]['width']=_0x9d3f26-0x10+'px',_0x3fdcb5[_0x506f2e(0x26a)][_0x506f2e(0x296)]=_0x3bc8fc-0x10+'px',_0x3fdcb5[_0x506f2e(0x26a)][_0x506f2e(0x352)]=_0x506f2e(0x3f1),_0x3fdcb5['style'][_0x506f2e(0x578)]=_0x506f2e(0x22f),_0x3fdcb5[_0x506f2e(0x26a)]['left']=_0x506f2e(0x30e),_0x3fdcb5[_0x506f2e(0x26a)]['top']=_0x506f2e(0x30e),_0x3fdcb5[_0x506f2e(0x26a)][_0x506f2e(0x3af)]=_0x506f2e(0x39b),_0x3fdcb5['className']=_0x506f2e(0x316),_0x3fdcb5;}let SheetsChartHostProviderService=class SheetsChartHostProviderService extends _univerjs_core['Disposable']{constructor(_0x497f34,_0xd59f79){const _0x11ee86=_0x5db780;super(),this['_sheetCanvasFloatDomManagerService']=_0x497f34,this[_0x11ee86(0x5a1)]=_0xd59f79,_defineProperty(this,_0x11ee86(0x404),new Map()),_defineProperty(this,'_removeHost$',new rxjs[(_0x11ee86(0x3b3))]()),_defineProperty(this,'removeHost$',this['_removeHost$'][_0x11ee86(0x5f7)]());}[_0x5db780(0x52a)](_0x2de630){const _0x42b78d=_0x5db780;if(_0x2de630==null)return;const _0x23c52f=this[_0x42b78d(0x5a1)][_0x42b78d(0x41d)](_0x2de630),_0x26c703=_0x23c52f===null||_0x23c52f===void 0x0?void 0x0:_0x23c52f[_0x42b78d(0x4fb)];if(_0x23c52f==null||_0x26c703==null)return null;return{'scene':_0x26c703,'transformer':_0x26c703[_0x42b78d(0x5d9)](),'renderUnit':_0x23c52f,'canvas':_0x23c52f['engine'][_0x42b78d(0x3e1)]()};}['setBorder'](_0x4db142,_0x1d9cad){const _0x54ebe9=_0x5db780,_0x5ea601=this['_sheetCanvasFloatDomManagerService'],_0x2fa325=_0x1d9cad||_0x54ebe9(0x39e),_0x4869cb=_0x5ea601[_0x54ebe9(0x640)](_0x4db142);if(_0x4869cb){const {unitId:_0x340e7f,subUnitId:_0x251954}=_0x4869cb;_0x5ea601[_0x54ebe9(0x5f1)](_0x340e7f,_0x251954,_0x4db142,{'stroke':_0x2fa325});}}[_0x5db780(0x27a)](_0x45f59b,_0x208092){const _0x3b2594=_0x5db780,_0xc90b4f=this[_0x3b2594(0x2d7)],_0x40676f=_0xc90b4f[_0x3b2594(0x640)](_0x45f59b);if(_0x40676f){const {unitId:_0x927a59,subUnitId:_0x3618bd}=_0x40676f;_0xc90b4f['updateFloatDomProps'](_0x927a59,_0x3618bd,_0x45f59b,_0x208092);}}[_0x5db780(0x5ef)](_0x46e3e6){const _0x542420=_0x5db780,_0x4fd495=this[_0x542420(0x2d7)][_0x542420(0x640)](_0x46e3e6);if(_0x4fd495)return _0x4fd495['rect'];return null;}[_0x5db780(0x29e)](_0x129bcf){const _0x30086b=_0x5db780,_0x6837e4=this['_sheetCanvasFloatDomManagerService'][_0x30086b(0x640)](_0x129bcf);if(_0x6837e4){var _0x1404c7;const _0xa825cc=(_0x1404c7=_0x6837e4[_0x30086b(0x57c)])!==null&&_0x1404c7!==void 0x0?_0x1404c7:_0x129bcf,_0x17c411=document[_0x30086b(0x40a)](_0xa825cc);if(_0x17c411&&_0x17c411[_0x30086b(0x5bd)][_0x30086b(0x3db)]>0x0)return!![];}return![];}async[_0x5db780(0x5fd)](_0x3df6e9){const _0x170441=_0x5db780;var _0x5ac6bf;const _0x2ba28a=this[_0x170441(0x2d7)]['getFloatDomInfo'](_0x3df6e9),_0x28b074=(_0x5ac6bf=_0x2ba28a===null||_0x2ba28a===void 0x0?void 0x0:_0x2ba28a['domId'])!==null&&_0x5ac6bf!==void 0x0?_0x5ac6bf:_0x3df6e9,_0x166033=document[_0x170441(0x40a)](_0x28b074);if(this['_mountNodes'][_0x170441(0x4a0)](_0x3df6e9)&&_0x166033&&_0x166033[_0x170441(0x5bd)][_0x170441(0x3db)]>0x0)return{'mountNode':this['_mountNodes'][_0x170441(0x49e)](_0x3df6e9),'dispose':()=>{const _0x406d4e=_0x170441;this[_0x406d4e(0x404)][_0x406d4e(0x63e)](_0x3df6e9),_0x2ba28a===null||_0x2ba28a===void 0x0||_0x2ba28a[_0x406d4e(0x38b)][_0x406d4e(0x38b)]();}};return this[_0x170441(0x2ab)](_0x3df6e9);}async[_0x5db780(0x2ab)](_0x384def){const _0x4e1731=_0x5db780,_0x1904bb=this[_0x4e1731(0x2d7)][_0x4e1731(0x640)](_0x384def);if(!_0x1904bb){this[_0x4e1731(0x404)][_0x4e1731(0x63e)](_0x384def);throw new Error('Fail\x20to\x20create\x20float\x20dom');}else{var _0x421b9b;const {rect:_0x5ee7b4}=_0x1904bb,_0x12ab3c=_0x5ee7b4[_0x4e1731(0x292)],_0x3afc98=_0x5ee7b4[_0x4e1731(0x296)],_0x1be235=this['_getSceneAndTransformerByDrawingSearch'](_0x1904bb[_0x4e1731(0x378)]);let _0x33313e=0x1,_0x17e9bf=0x1;if(_0x1be235){const {scene:_0x2ec5f9}=_0x1be235;_0x2ec5f9&&(_0x33313e=_0x2ec5f9['scaleX'],_0x17e9bf=_0x2ec5f9[_0x4e1731(0x1bb)]);}const _0x47cd5d=createHostElement(_0x12ab3c*_0x33313e,_0x3afc98*_0x17e9bf);return(await waitElement((_0x421b9b=_0x1904bb[_0x4e1731(0x57c)])!==null&&_0x421b9b!==void 0x0?_0x421b9b:_0x384def))[_0x4e1731(0x413)](_0x47cd5d),this['_mountNodes']['set'](_0x384def,_0x47cd5d),this[_0x4e1731(0x618)](this[_0x4e1731(0x2d7)][_0x4e1731(0x591)][_0x4e1731(0x4cd)](_0x43db40=>{const _0x4b0f51=_0x4e1731;if(_0x43db40['id']===_0x384def)this[_0x4b0f51(0x58b)]['next'](_0x384def);})),{'mountNode':_0x47cd5d,'dispose':()=>{const _0x195199=_0x4e1731;this[_0x195199(0x404)][_0x195199(0x63e)](_0x384def),_0x1904bb===null||_0x1904bb===void 0x0||_0x1904bb[_0x195199(0x38b)][_0x195199(0x38b)]();}};}}};SheetsChartHostProviderService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_drawing_ui['SheetCanvasFloatDomManagerService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_engine_render[_0x5db780(0x46c)]))],SheetsChartHostProviderService);const IChartHostProviderService=(0x0,_univerjs_core['createIdentifier'])(_0x5db780(0x63d));function registryChartConfigState(_0x53a2d5){const _0x13e37b=_0x5db780;_0x53a2d5[_0x13e37b(0x1dc)]('headers',_0x136c22=>_0x136c22[_0x13e37b(0x1af)][_0x13e37b(0x219)]((0x0,rxjs['map'])(_0x2ddcee=>_0x2ddcee[_0x13e37b(0x33e)]))),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x26b),_0x5d673c=>({'set'(_0x17570a){const _0x3f4871=_0x13e37b,_0x5aab0d={};if(_0x17570a===_univerjs_pro_engine_chart[_0x3f4871(0x5c6)][_0x3f4871(0x305)])_0x5aab0d['pie']={'doughnutHole':null};_0x53a2d5[_0x3f4871(0x483)]({'chartModelId':_0x5d673c['id'],'chartType':_0x17570a,'style':_0x5aab0d});},'get'(){const _0x4e3585=_0x13e37b;return _0x5d673c[_0x4e3585(0x288)];}})),_0x53a2d5[_0x13e37b(0x1dc)]('dataRange',_0x53e942=>({'set'(_0x218933){if(_0x218933)_0x53a2d5['executeChartUpdateSourceConfig']({'chartModelId':_0x53e942['id'],'range':_0x218933});},'get'(){const _0x14f839=_0x13e37b,_0x8fd819=_0x53a2d5[_0x14f839(0x3bd)](_0x53e942['id']);if(!_0x8fd819)return;return _0x8fd819['rangeInfo$'];}})),_0x53a2d5['registerViewState'](_0x13e37b(0x58d),_0x45637d=>({'set'(_0x51218c){const _0x5b645c=_0x13e37b;if(typeof _0x51218c!==_0x5b645c(0x467))return;_0x53a2d5[_0x5b645c(0x483)]({'chartModelId':_0x45637d['id'],'context':{'categoryIndex':_0x51218c}});},'get'(){const _0x49726b=_0x13e37b;return _0x45637d[_0x49726b(0x1af)][_0x49726b(0x219)]((0x0,rxjs[_0x49726b(0x20f)])(_0xe00eed=>_0xe00eed[_0x49726b(0x58d)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState']('categoryType',_0x13d30d=>{const _0x33c3f3=_0x13e37b;return _0x13d30d[_0x33c3f3(0x1af)][_0x33c3f3(0x219)]((0x0,rxjs[_0x33c3f3(0x20f)])(_0x1c758a=>_0x1c758a[_0x33c3f3(0x4b8)]),(0x0,rxjs[_0x33c3f3(0x1da)])());}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x60e),_0x52d6b1=>{const _0x1aa739=_0x13e37b;var _0x443bfa;const _0x9e8b40=(_0x443bfa=_0x53a2d5['getDataSource'](_0x52d6b1['id']))===null||_0x443bfa===void 0x0?void 0x0:_0x443bfa['rangeInfo$'];if(!_0x9e8b40)return _0x52d6b1[_0x1aa739(0x1af)][_0x1aa739(0x219)]((0x0,rxjs[_0x1aa739(0x20f)])(()=>[]));return _0x52d6b1[_0x1aa739(0x1af)][_0x1aa739(0x219)]((0x0,rxjs[_0x1aa739(0x545)])(_0x9e8b40),(0x0,rxjs[_0x1aa739(0x20f)])(([_0x14119a,_0x9ec77b])=>{const _0x2f1a9d=_0x1aa739,{categoryResourceIndexes:_0x2a2a0d,headers:_0x403293}=_0x14119a,_0x2eb870=(_0x2a2a0d||[])[_0x2f1a9d(0x419)]((_0x31dd45,_0x8a3a4f)=>(_0x31dd45||0x0)-(_0x8a3a4f||0x0));if(!_0x2eb870)return[];if(Array[_0x2f1a9d(0x204)](_0x9ec77b))return[];return _0x2eb870[_0x2f1a9d(0x20f)](_0x965b9b=>{const _0x24b032=_0x2f1a9d;return{'label':(_0x403293===null||_0x403293===void 0x0?void 0x0:_0x403293[_0x965b9b])||_0x53a2d5['t'](_0x24b032(0x319),''+(_0x965b9b+0x1)),'value':String(_0x965b9b)};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x5e8),_0x25add2=>{const _0x563552=_0x13e37b;var _0x29cec2;const _0xdf766c=(_0x29cec2=_0x53a2d5[_0x563552(0x3bd)](_0x25add2['id']))===null||_0x29cec2===void 0x0?void 0x0:_0x29cec2[_0x563552(0x437)];if(!_0xdf766c)return _0x25add2[_0x563552(0x1af)][_0x563552(0x219)]((0x0,rxjs[_0x563552(0x20f)])(()=>[]));return _0x25add2[_0x563552(0x1af)][_0x563552(0x219)]((0x0,rxjs[_0x563552(0x545)])(_0xdf766c),(0x0,rxjs[_0x563552(0x20f)])(([_0x492cac,_0x59e3a2])=>{const _0x46066e=_0x563552,{categoryResourceIndexes:_0x1c402a,seriesResourceIndexes:_0x105541,headers:_0x2913d2}=_0x492cac,_0x4287ce=_0x1c402a===null||_0x1c402a===void 0x0?void 0x0:_0x1c402a[_0x46066e(0x4eb)](_0x105541||[])['sort']((_0x49dcfc,_0x2b2840)=>(_0x49dcfc||0x0)-(_0x2b2840||0x0));if(!_0x4287ce)return[];if(Array[_0x46066e(0x204)](_0x59e3a2))return[];return _0x4287ce[_0x46066e(0x20f)](_0x4c1518=>{const _0xcd1173=_0x46066e;return{'label':(_0x2913d2===null||_0x2913d2===void 0x0?void 0x0:_0x2913d2[_0x4c1518])||_0x53a2d5['t'](_0xcd1173(0x319),''+(_0x4c1518+0x1)),'value':String(_0x4c1518)};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3ff),_0x45439e=>({'set'(_0x874fcd){const _0x2db78b=_0x13e37b;_0x53a2d5[_0x2db78b(0x483)]({'chartModelId':_0x45439e['id'],'context':{'seriesIndexes':_0x874fcd}});},'get'(){const _0x1dd246=_0x13e37b;return _0x45439e[_0x1dd246(0x1af)][_0x1dd246(0x219)]((0x0,rxjs[_0x1dd246(0x20f)])(_0x321831=>{const {seriesIndexes:seriesIndexes=[]}=_0x321831;return seriesIndexes;}));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x552),_0x57678b=>({'set'(_0x5f245a){const _0x142568=_0x13e37b;_0x53a2d5[_0x142568(0x483)]({'chartModelId':_0x57678b['id'],'style':{'trendlines':_0x5f245a}});},'get'(){const _0x38c7c2=_0x13e37b;return _0x57678b[_0x38c7c2(0x320)][_0x38c7c2(0x219)]((0x0,rxjs[_0x38c7c2(0x20f)])(_0x5f0ca4=>_0x5f0ca4['trendlines']));}})),_0x53a2d5['registerViewState']('seriesList',_0x2cd0c0=>{const _0x5486fa=_0x13e37b;var _0x182897;const _0x2ffb27=(_0x182897=_0x53a2d5[_0x5486fa(0x3bd)](_0x2cd0c0['id']))===null||_0x182897===void 0x0?void 0x0:_0x182897['rangeInfo$'];if(!_0x2ffb27)return _0x2cd0c0['context$'][_0x5486fa(0x219)]((0x0,rxjs[_0x5486fa(0x20f)])(()=>[]));return _0x2cd0c0[_0x5486fa(0x1af)][_0x5486fa(0x219)]((0x0,rxjs[_0x5486fa(0x545)])(_0x2ffb27),(0x0,rxjs['map'])(([_0x5caf8f,_0x583ad2])=>{const _0x21bcc1=_0x5486fa,{seriesIndexes:seriesIndexes=[],headers:_0x5be3c4}=_0x5caf8f;if(Array[_0x21bcc1(0x204)](_0x583ad2))return[];return seriesIndexes['map'](_0x3dc81d=>{return{'label':(_0x5be3c4===null||_0x5be3c4===void 0x0?void 0x0:_0x5be3c4[_0x3dc81d])||_0x53a2d5['t']('chart.seriesDefaultName',''+_0x3dc81d),'value':String(_0x3dc81d)};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x50d),_0x117fa7=>{const _0x4706c4=_0x13e37b;var _0x4d839e;const _0x430a1b=(_0x4d839e=_0x53a2d5[_0x4706c4(0x3bd)](_0x117fa7['id']))===null||_0x4d839e===void 0x0?void 0x0:_0x4d839e[_0x4706c4(0x437)];if(!_0x430a1b)return _0x117fa7[_0x4706c4(0x1af)][_0x4706c4(0x219)]((0x0,rxjs['map'])(()=>[]));return _0x117fa7[_0x4706c4(0x1af)][_0x4706c4(0x219)]((0x0,rxjs[_0x4706c4(0x545)])(_0x430a1b),(0x0,rxjs['map'])(([_0x50b087,_0x20cfec])=>{const _0x258fc0=_0x4706c4,{seriesResourceIndexes:seriesResourceIndexes=[],headers:_0x3c29e4}=_0x50b087;if(Array['isArray'](_0x20cfec))return[];const _0x10831b=new Map();return seriesResourceIndexes[_0x258fc0(0x20f)](_0x46698a=>{const _0x47b0a4=_0x258fc0,_0x55ce06=(_0x3c29e4===null||_0x3c29e4===void 0x0?void 0x0:_0x3c29e4[_0x46698a])||_0x53a2d5['t'](_0x47b0a4(0x647),''+_0x46698a);if(_0x10831b['has'](_0x55ce06))_0x10831b[_0x47b0a4(0x45d)](_0x55ce06,_0x10831b[_0x47b0a4(0x49e)](_0x55ce06)+0x1);else _0x10831b[_0x47b0a4(0x45d)](_0x55ce06,0x0);return{'label':(_0x10831b[_0x47b0a4(0x4a0)](_0x55ce06)&&_0x10831b[_0x47b0a4(0x49e)](_0x55ce06)>0x0?_0x55ce06+'\x20'+_0x10831b['get'](_0x55ce06):_0x55ce06)||_0x53a2d5['t'](_0x47b0a4(0x647),''+_0x46698a),'value':String(_0x46698a)};});}));}),_0x53a2d5['registerViewState']('aggregate',_0x34530a=>({'set'(_0x4d547a){const _0x36187b=_0x13e37b;_0x53a2d5[_0x36187b(0x483)]({'chartModelId':_0x34530a['id'],'dataAggregation':{'aggregate':_0x4d547a}});},'get'(){const _0x2f29f3=_0x13e37b;return _0x34530a[_0x2f29f3(0x4a5)][_0x2f29f3(0x219)]((0x0,rxjs[_0x2f29f3(0x20f)])(_0x369e41=>_0x369e41[_0x2f29f3(0x36d)]||![]),(0x0,rxjs[_0x2f29f3(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('orient',_0x45b9a5=>({'set'(_0x2e66b7){const _0x3e7daf=_0x13e37b;var _0x49bfeb;const _0x1986f4=(_0x49bfeb=_0x53a2d5[_0x3e7daf(0x3bd)](_0x45b9a5['id']))===null||_0x49bfeb===void 0x0?void 0x0:_0x49bfeb[_0x3e7daf(0x22c)]();if(_0x1986f4){const _0x4acbea={..._0x1986f4,'isRowDirection':_0x2e66b7===_univerjs_pro_engine_chart[_0x3e7daf(0x3e3)]['Row']};_0x53a2d5[_0x3e7daf(0x483)]({'chartModelId':_0x45b9a5['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x53a2d5[_0x3e7daf(0x51a)]({'chartModelId':_0x45b9a5['id'],'range':_0x4acbea});}},'get'(){const _0x3e111b=_0x13e37b;var _0x1ec8be;return(_0x1ec8be=_0x53a2d5[_0x3e111b(0x3bd)](_0x45b9a5['id']))===null||_0x1ec8be===void 0x0?void 0x0:_0x1ec8be['rangeInfo$'][_0x3e111b(0x219)]((0x0,rxjs[_0x3e111b(0x20f)])(_0x9df287=>_0x9df287[_0x3e111b(0x573)]?_univerjs_pro_engine_chart[_0x3e111b(0x3e3)]['Row']:_univerjs_pro_engine_chart['DataOrientation'][_0x3e111b(0x3cf)]),(0x0,rxjs[_0x3e111b(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x303),_0x33d94a=>({'set'(_0x30aa8a){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x33d94a['id'],'style':{'gradientFill':_0x30aa8a}});},'get'(){const _0x3570d7=_0x13e37b;return _0x33d94a['style$']['pipe']((0x0,rxjs[_0x3570d7(0x20f)])(_0xebb7d6=>_0xebb7d6[_0x3570d7(0x303)]),(0x0,rxjs[_0x3570d7(0x1da)])());}})),_0x53a2d5['registerViewState']('indicator',_0x6f94da=>({'set'(_0x17e8ad){const _0x328823=_0x13e37b;_0x53a2d5[_0x328823(0x483)]({'chartModelId':_0x6f94da['id'],'style':{'tooltip':_0x17e8ad}});},'get'(){const _0x1eff9b=_0x13e37b;return _0x6f94da[_0x1eff9b(0x320)][_0x1eff9b(0x219)]((0x0,rxjs[_0x1eff9b(0x20f)])(_0xc5136=>_0xc5136['tooltip']),(0x0,rxjs[_0x1eff9b(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x266),_0x4799e6=>({'set'(_0x5357e9){const _0x5d7b40=_0x13e37b,{context:_0x2753b1}=_0x4799e6,_0x24b33b=_0x376bcf=>{const _0xc53b23=_0x3299;var _0x54cd3e;return((_0x54cd3e=_0x2753b1[_0xc53b23(0x460)])===null||_0x54cd3e===void 0x0?void 0x0:_0x54cd3e['indexOf'](_0x376bcf))!==-0x1;};if(_0x5357e9){var _0x1d1f70;const _0x327f00=(_0x1d1f70=_0x2753b1[_0x5d7b40(0x35a)])===null||_0x1d1f70===void 0x0?void 0x0:_0x1d1f70[0x0];if(_0x327f00===void 0x0)return;const _0x568f44={'categoryIndex':_0x327f00,'categoryType':_univerjs_pro_engine_chart[_0x5d7b40(0x50f)]['Text']};if(_0x24b33b(_0x327f00)){var _0x48b8a2;_0x568f44[_0x5d7b40(0x35a)]=(_0x48b8a2=_0x2753b1[_0x5d7b40(0x35a)])===null||_0x48b8a2===void 0x0?void 0x0:_0x48b8a2[_0x5d7b40(0x197)](_0x53538c=>_0x53538c!==_0x327f00);}_0x53a2d5[_0x5d7b40(0x483)]({'chartModelId':_0x4799e6['id'],'context':_0x568f44});}else{if(_0x2753b1[_0x5d7b40(0x58d)]===void 0x0)return;const _0x1e5e88={'categoryIndex':void 0x0,'categoryType':void 0x0};if(_0x24b33b(_0x2753b1[_0x5d7b40(0x58d)]))_0x1e5e88[_0x5d7b40(0x35a)]=[_0x2753b1[_0x5d7b40(0x58d)]]['concat'](_0x2753b1['seriesIndexes']||[]);_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x4799e6['id'],'context':_0x1e5e88});}},'get'(){const _0x465b16=_0x13e37b;return _0x4799e6['context$'][_0x465b16(0x219)]((0x0,rxjs[_0x465b16(0x20f)])(_0x35468b=>{const _0x53da8d=_0x465b16;var _0x35ccf1;if(_0x35468b[_0x53da8d(0x58d)]===void 0x0)return![];return Boolean((_0x35ccf1=_0x35468b[_0x53da8d(0x460)])===null||_0x35ccf1===void 0x0?void 0x0:_0x35ccf1[_0x53da8d(0x19e)](_0x35468b['categoryIndex']));}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x567),_0x2e70c6=>({'set'(_0x4a0772){const _0x197f31=_0x13e37b;_0x53a2d5[_0x197f31(0x483)]({'chartModelId':_0x2e70c6['id'],'style':{'backgroundColor':_0x4a0772!==null&&_0x4a0772!==void 0x0?_0x4a0772:null}});},'get'(){const _0x199a02=_0x13e37b;return _0x2e70c6[_0x199a02(0x320)][_0x199a02(0x219)]((0x0,rxjs[_0x199a02(0x20f)])(_0x1ed21b=>_0x1ed21b===null||_0x1ed21b===void 0x0?void 0x0:_0x1ed21b[_0x199a02(0x567)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('borderColor',_0x7e4000=>({'set'(_0x3560af){const _0x4342e9=_0x13e37b;_0x53a2d5[_0x4342e9(0x483)]({'chartModelId':_0x7e4000['id'],'style':{'borderColor':_0x3560af!==null&&_0x3560af!==void 0x0?_0x3560af:null}}),_0x53a2d5[_0x4342e9(0x28d)](_0x7e4000['id'],_0x3560af);},'get'(){const _0x14b380=_0x13e37b;return _0x7e4000[_0x14b380(0x320)]['pipe']((0x0,rxjs[_0x14b380(0x20f)])(_0x13c357=>_0x13c357[_0x14b380(0x424)]),(0x0,rxjs[_0x14b380(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x35b),_0x35cf11=>({'set'(_0x1bd24f){const _0x1b9ae0=_0x13e37b;_0x53a2d5[_0x1b9ae0(0x483)]({'chartModelId':_0x35cf11['id'],'style':{'fontSize':_0x1bd24f}});},'get'(){const _0x178889=_0x13e37b;return _0x35cf11['style$'][_0x178889(0x219)]((0x0,rxjs[_0x178889(0x20f)])(_0x35a167=>_0x35a167[_0x178889(0x35b)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState']('titleFontSize',_0x21846a=>({'set'(_0x1f441b){const _0x2718d3=_0x13e37b;_0x53a2d5[_0x2718d3(0x483)]({'chartModelId':_0x21846a['id'],'style':{'titleFontSize':_0x1f441b}});},'get'(){const _0x5d82cb=_0x13e37b;return _0x21846a[_0x5d82cb(0x320)][_0x5d82cb(0x219)]((0x0,rxjs['map'])(_0x2cedd2=>_0x2cedd2[_0x5d82cb(0x454)]),(0x0,rxjs[_0x5d82cb(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x61b),_0x58abd8=>({'set'(_0x5ab502){const _0x53c3bf=_0x13e37b;_0x53a2d5[_0x53c3bf(0x483)]({'chartModelId':_0x58abd8['id'],'style':{'titles':_0x5ab502}});},'get'(){const _0xe292ec=_0x13e37b;return _0x58abd8['style$'][_0xe292ec(0x219)]((0x0,rxjs['map'])(_0xed822d=>_0xed822d['titles']));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x58e),_0x157a53=>({'set'(_0x4b476c){const _0x14a6f4=_0x13e37b,_0x29982e=Object[_0x14a6f4(0x48c)](_0x4b476c),_0x5bc27c=_univerjs_core['Tools'][_0x14a6f4(0x200)](_0x157a53['style'][_0x14a6f4(0x50a)]||{}),_0x10f876={};for(const _0x3cb972 in _0x5bc27c)if(_0x5bc27c[_0x14a6f4(0x340)](_0x3cb972)){const _0x22bb7e=_0x5bc27c[_0x3cb972];if(!_0x22bb7e)continue;for(const _0x3651dd of _0x29982e)if(_0x22bb7e['hasOwnProperty'](_0x3651dd))_0x10f876[_0x3cb972]={[_0x3651dd]:null};}const _0x33c5d7={'allSeriesStyle':_0x4b476c,'seriesStyleMap':_0x10f876},_0x4d92b6=_0x157a53[_0x14a6f4(0x26b)],_0x3fecd1=new Set(_0x29982e);if(_0x4d92b6===_univerjs_pro_engine_chart[_0x14a6f4(0x5c6)][_0x14a6f4(0x262)]&&(_0x3fecd1[_0x14a6f4(0x4a0)]('color')||_0x3fecd1[_0x14a6f4(0x4a0)]('\x22fillOpacity\x22')))_0x33c5d7[_0x14a6f4(0x36f)]={'fill':!![]};_0x53a2d5[_0x14a6f4(0x483)]({'chartModelId':_0x157a53['id'],'style':_0x33c5d7});},'get'(){const _0x477751=_0x13e37b;return _0x157a53['style$'][_0x477751(0x219)]((0x0,rxjs['map'])(_0x23a5a2=>_0x23a5a2[_0x477751(0x58e)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x50a),_0x406606=>({'set'(_0x2005e8){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x406606['id'],'style':{'seriesStyleMap':_0x2005e8}});},'get'(){const _0x464c64=_0x13e37b;return _0x406606[_0x464c64(0x320)][_0x464c64(0x219)]((0x0,rxjs['map'])(_0x404424=>_0x404424[_0x464c64(0x50a)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x457),_0x317927=>({'set'(_0x25dd00){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x317927['id'],'style':{'legend':_0x25dd00}});},'get'(){const _0x21c857=_0x13e37b;return _0x317927[_0x21c857(0x320)][_0x21c857(0x219)]((0x0,rxjs[_0x21c857(0x20f)])(_0x596428=>_0x596428[_0x21c857(0x21c)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x52d),_0x2c06d0=>({'set'(_0x1013a2){const _0x539da6=_0x13e37b;_0x53a2d5[_0x539da6(0x483)]({'chartModelId':_0x2c06d0['id'],'style':{'xAxis':_0x1013a2}});},'get'(){const _0x1d0d2a=_0x13e37b;return _0x2c06d0[_0x1d0d2a(0x320)][_0x1d0d2a(0x219)]((0x0,rxjs[_0x1d0d2a(0x20f)])(_0x59e7dc=>_0x59e7dc[_0x1d0d2a(0x28f)]));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x531),_0x20f21a=>({'set'(_0x2ea121){const _0x59ef24=_0x13e37b;_0x53a2d5[_0x59ef24(0x483)]({'chartModelId':_0x20f21a['id'],'style':{'yAxis':_0x2ea121}});},'get'(){const _0xad6adf=_0x13e37b;return _0x20f21a['style$'][_0xad6adf(0x219)]((0x0,rxjs[_0xad6adf(0x20f)])(_0x3a1f90=>_0x3a1f90['yAxis']));}})),_0x53a2d5['registerViewState']('rightYAxisOptions',_0x2ae508=>({'set'(_0x399723){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x2ae508['id'],'style':{'rightYAxis':_0x399723}});},'get'(){const _0x1e8be8=_0x13e37b;return _0x2ae508[_0x1e8be8(0x320)][_0x1e8be8(0x219)]((0x0,rxjs[_0x1e8be8(0x20f)])(_0x27d1e2=>_0x27d1e2[_0x1e8be8(0x34a)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x458),_0xb47faa=>{const _0x971d23=_0x13e37b;return _0xb47faa[_0x971d23(0x320)][_0x971d23(0x219)]((0x0,rxjs['map'])(()=>_0xb47faa[_0x971d23(0x46f)]()[_0x971d23(0x2b8)]));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x40d),_0x1ae927=>({'set'(_0x129b2d){const _0x167cd1=_0x13e37b;_0x53a2d5[_0x167cd1(0x483)]({'chartModelId':_0x1ae927['id'],'style':{'area':{'lineStyle':_0x129b2d!==null&&_0x129b2d!==void 0x0?_0x129b2d:void 0x0}}});},'get'(){const _0x3129a2=_0x13e37b;return _0x1ae927[_0x3129a2(0x320)][_0x3129a2(0x219)]((0x0,rxjs[_0x3129a2(0x20f)])(_0x433d53=>{const _0x68a7cf=_0x3129a2;var _0x11bedf;return(_0x11bedf=_0x433d53[_0x68a7cf(0x46e)])===null||_0x11bedf===void 0x0?void 0x0:_0x11bedf[_0x68a7cf(0x1a4)];}));}})),_0x53a2d5['registerViewState']('pieLabelStyle',_0x139926=>({'set'(_0x8e93ac){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x139926['id'],'style':{'pie':{'labelStyle':_0x8e93ac!==null&&_0x8e93ac!==void 0x0?_0x8e93ac:void 0x0}}});},'get'(){const _0x1027ef=_0x13e37b;return _0x139926[_0x1027ef(0x320)]['pipe']((0x0,rxjs['map'])(_0x5f5376=>{const _0x5d7651=_0x1027ef;var _0x16da5a;return(_0x16da5a=_0x5f5376[_0x5d7651(0x324)])===null||_0x16da5a===void 0x0?void 0x0:_0x16da5a['labelStyle'];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x24a),_0x3c12b1=>({'set'(_0x357a06){const _0x27b3aa=_0x13e37b;_0x53a2d5[_0x27b3aa(0x483)]({'chartModelId':_0x3c12b1['id'],'style':{'wordCloud':{'shape':_0x357a06!==null&&_0x357a06!==void 0x0?_0x357a06:void 0x0,'maskImage':_0x357a06!==null&&_0x357a06!==void 0x0?_0x357a06:void 0x0}}});},'get'(){const _0x223597=_0x13e37b;return _0x3c12b1[_0x223597(0x320)][_0x223597(0x219)]((0x0,rxjs[_0x223597(0x20f)])(_0x2feafe=>{const _0x4d9a9a=_0x223597;var _0x11ca34;return(_0x11ca34=_0x2feafe[_0x4d9a9a(0x351)])===null||_0x11ca34===void 0x0?void 0x0:_0x11ca34[_0x4d9a9a(0x476)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x326),_0x14184a=>({'set'(_0x3b2076){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x14184a['id'],'style':{'wordCloud':{'maskImage':_0x3b2076!==null&&_0x3b2076!==void 0x0?_0x3b2076:void 0x0,'shape':void 0x0}}});},'get'(){const _0x48ce7b=_0x13e37b;return _0x14184a['style$'][_0x48ce7b(0x219)]((0x0,rxjs[_0x48ce7b(0x20f)])(_0x4b0a78=>{const _0x4deb42=_0x48ce7b;var _0x4f6ba0;return(_0x4f6ba0=_0x4b0a78[_0x4deb42(0x351)])===null||_0x4f6ba0===void 0x0?void 0x0:_0x4f6ba0[_0x4deb42(0x53b)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3a2),_0x4b75d0=>({'set'(_0x30867b){const _0x52fdd3=_0x13e37b;_0x53a2d5[_0x52fdd3(0x483)]({'chartModelId':_0x4b75d0['id'],'style':{'wordCloud':{'repeat':_0x30867b!==null&&_0x30867b!==void 0x0?_0x30867b:void 0x0}}});},'get'(){const _0x11737b=_0x13e37b;return _0x4b75d0[_0x11737b(0x320)][_0x11737b(0x219)]((0x0,rxjs[_0x11737b(0x20f)])(_0x196c89=>{const _0x46daef=_0x11737b;var _0x5afe21;return(_0x5afe21=_0x196c89['wordCloud'])===null||_0x5afe21===void 0x0?void 0x0:_0x5afe21[_0x46daef(0x4a8)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x4be),_0x59661b=>({'set'(_0x32e805){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x59661b['id'],'style':{'funnel':{'gap':_0x32e805!==null&&_0x32e805!==void 0x0?_0x32e805:void 0x0}}});},'get'(){const _0x1a8683=_0x13e37b;return _0x59661b[_0x1a8683(0x320)][_0x1a8683(0x219)]((0x0,rxjs[_0x1a8683(0x20f)])(_0x111d28=>{const _0x4b9006=_0x1a8683;var _0x427a9a;return(_0x427a9a=_0x111d28[_0x4b9006(0x5fa)])===null||_0x427a9a===void 0x0?void 0x0:_0x427a9a[_0x4b9006(0x25d)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x343),_0x5dd728=>({'set'(_0x4c2998){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x5dd728['id'],'style':{'funnel':{'useAbsValue':_0x4c2998!==null&&_0x4c2998!==void 0x0?_0x4c2998:void 0x0}}});},'get'(){const _0x205936=_0x13e37b;return _0x5dd728[_0x205936(0x320)][_0x205936(0x219)]((0x0,rxjs[_0x205936(0x20f)])(_0x2f11d2=>{const _0x12ddb4=_0x205936;var _0x37684c;return(_0x37684c=_0x2f11d2[_0x12ddb4(0x5fa)])===null||_0x37684c===void 0x0?void 0x0:_0x37684c[_0x12ddb4(0x482)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x32b),_0x35f61f=>({'set'(_0x41bd02){const _0x1c2b3c=_0x13e37b;_0x53a2d5[_0x1c2b3c(0x483)]({'chartModelId':_0x35f61f['id'],'style':{'pie':{'hasPaddingAngle':Boolean(_0x41bd02)}}});},'get'(){const _0x3462c2=_0x13e37b;return _0x35f61f['style$'][_0x3462c2(0x219)]((0x0,rxjs[_0x3462c2(0x20f)])(_0x23a754=>{const _0x20d95c=_0x3462c2;var _0xae107f;return(_0xae107f=_0x23a754[_0x20d95c(0x324)])===null||_0xae107f===void 0x0?void 0x0:_0xae107f[_0x20d95c(0x403)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x44f),_0x5592c=>({'set'(_0x445ca4){const _0x47c301=_0x13e37b;_0x53a2d5[_0x47c301(0x483)]({'chartModelId':_0x5592c['id'],'style':{'pie':{'isHalfPie':Boolean(_0x445ca4)}}});},'get'(){const _0x241a00=_0x13e37b;return _0x5592c[_0x241a00(0x320)][_0x241a00(0x219)]((0x0,rxjs[_0x241a00(0x20f)])(_0x3a59c4=>{const _0x2caec2=_0x241a00;var _0x46a916;return(_0x46a916=_0x3a59c4[_0x2caec2(0x324)])===null||_0x46a916===void 0x0?void 0x0:_0x46a916['isHalfPie'];}));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x433),_0x81ea1c=>({'set'(_0x2a7cc9){const _0x3769c1=_0x13e37b;_0x53a2d5[_0x3769c1(0x483)]({'chartModelId':_0x81ea1c['id'],'style':{'pie':{'valueScale':Number(_0x2a7cc9)}}});},'get'(){const _0x181c87=_0x13e37b;return _0x81ea1c[_0x181c87(0x320)][_0x181c87(0x219)]((0x0,rxjs[_0x181c87(0x20f)])(_0x13aa58=>{const _0x10617c=_0x181c87;var _0x5be575;return(_0x5be575=_0x13aa58[_0x10617c(0x324)])===null||_0x5be575===void 0x0?void 0x0:_0x5be575['valueScale'];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2a5),_0x286cae=>({'set'(_0x459b5a){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x286cae['id'],'style':{'pie':{'digitalFixed':Number(_0x459b5a)}}});},'get'(){return _0x286cae['style$']['pipe']((0x0,rxjs['map'])(_0xca5398=>{const _0xa8367c=_0x3299;var _0x3f3dae;return(_0x3f3dae=_0xca5398[_0xa8367c(0x324)])===null||_0x3f3dae===void 0x0?void 0x0:_0x3f3dae[_0xa8367c(0x2a5)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2c4),_0x4bcf51=>({'set'(_0x35e85f){const _0x3f93a4=_0x13e37b;_0x53a2d5[_0x3f93a4(0x483)]({'chartModelId':_0x4bcf51['id'],'style':{'pie':{'valueSuffix':String(_0x35e85f)}}});},'get'(){const _0x5390c1=_0x13e37b;return _0x4bcf51['style$'][_0x5390c1(0x219)]((0x0,rxjs['map'])(_0x405777=>{const _0x53477b=_0x5390c1;var _0x11c413;return(_0x11c413=_0x405777[_0x53477b(0x324)])===null||_0x11c413===void 0x0?void 0x0:_0x11c413[_0x53477b(0x2c4)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)]('isRosePie',_0x5548d9=>({'set'(_0x372ed4){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x5548d9['id'],'style':{'pie':{'rosePie':Boolean(_0x372ed4)}}});},'get'(){const _0x197f78=_0x13e37b;return _0x5548d9[_0x197f78(0x320)][_0x197f78(0x219)]((0x0,rxjs[_0x197f78(0x20f)])(_0x557d06=>{const _0x413902=_0x197f78;var _0x5a0458;return(_0x5a0458=_0x557d06['pie'])===null||_0x5a0458===void 0x0?void 0x0:_0x5a0458[_0x413902(0x362)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)]('showLabelLine',_0x95cec3=>({'set'(_0x3b1659){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x95cec3['id'],'style':{'pie':{'showLabelLine':Boolean(_0x3b1659)}}});},'get'(){const _0x1ccf9e=_0x13e37b;return _0x95cec3[_0x1ccf9e(0x320)]['pipe']((0x0,rxjs[_0x1ccf9e(0x20f)])(_0x4cf615=>{const _0x5bad4e=_0x1ccf9e;var _0x6dc064;return(_0x6dc064=_0x4cf615[_0x5bad4e(0x324)])===null||_0x6dc064===void 0x0?void 0x0:_0x6dc064[_0x5bad4e(0x587)];}));}})),_0x53a2d5['registerViewState']('doughnutHole',_0x4cc61c=>({'set'(_0x395c3b){const _0x429931=_0x13e37b;_0x53a2d5[_0x429931(0x483)]({'chartModelId':_0x4cc61c['id'],'chartType':_0x395c3b?_univerjs_pro_engine_chart['ChartTypeBits'][_0x429931(0x554)]:_univerjs_pro_engine_chart[_0x429931(0x5c6)][_0x429931(0x305)],'style':{'pie':{'doughnutHole':_0x395c3b}}});},'get'(){const _0x133d83=_0x13e37b;return _0x4cc61c[_0x133d83(0x320)][_0x133d83(0x219)]((0x0,rxjs[_0x133d83(0x20f)])(_0x4ac995=>{const _0x49619d=_0x133d83;var _0x4b837f;return(_0x4b837f=_0x4ac995[_0x49619d(0x324)])===null||_0x4b837f===void 0x0?void 0x0:_0x4b837f['doughnutHole'];}),(0x0,rxjs[_0x133d83(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x5be),_0x1480a0=>({'set'(_0x4e4d86){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x1480a0['id'],'style':{'pie':{'borderColor':_0x4e4d86}}});},'get'(){const _0x17f8f5=_0x13e37b;return _0x1480a0[_0x17f8f5(0x320)][_0x17f8f5(0x219)]((0x0,rxjs[_0x17f8f5(0x20f)])(_0x59e50d=>{const _0x17d85a=_0x17f8f5;var _0x43d37a;return(_0x43d37a=_0x59e50d[_0x17d85a(0x324)])===null||_0x43d37a===void 0x0?void 0x0:_0x43d37a[_0x17d85a(0x424)];}),(0x0,rxjs[_0x17f8f5(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('radarShape',_0x18da92=>({'set'(_0x33a28f){const _0xe2df32=_0x13e37b;_0x53a2d5[_0xe2df32(0x483)]({'chartModelId':_0x18da92['id'],'style':{'radar':{'shape':_0x33a28f}}});},'get'(){const _0x43fd66=_0x13e37b;return _0x18da92['style$'][_0x43fd66(0x219)]((0x0,rxjs[_0x43fd66(0x20f)])(_0x2695c9=>{const _0x213f8a=_0x43fd66;var _0x37a08d;return(_0x37a08d=_0x2695c9[_0x213f8a(0x36f)])===null||_0x37a08d===void 0x0?void 0x0:_0x37a08d[_0x213f8a(0x476)];}),(0x0,rxjs[_0x43fd66(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x24d),_0xcef38f=>({'set'(_0x5ab363){const _0xcab05c=_0x13e37b;_0x53a2d5[_0xcab05c(0x483)]({'chartModelId':_0xcef38f['id'],'style':{'radar':{'fill':_0x5ab363}}});},'get'(){const _0x4f7e35=_0x13e37b;return _0xcef38f[_0x4f7e35(0x320)][_0x4f7e35(0x219)]((0x0,rxjs['map'])(_0x3ad0ae=>{const _0x520383=_0x4f7e35;var _0x20ca4f;return(_0x20ca4f=_0x3ad0ae[_0x520383(0x36f)])===null||_0x20ca4f===void 0x0?void 0x0:_0x20ca4f['fill'];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x60a),_0x5081da=>({'set'(_0x3390a3){const _0x333261=_0x13e37b;_0x53a2d5[_0x333261(0x483)]({'chartModelId':_0x5081da['id'],'style':{'invalidValueType':_0x3390a3}});},'get'(){const _0x24077e=_0x13e37b;return _0x5081da[_0x24077e(0x320)][_0x24077e(0x219)]((0x0,rxjs[_0x24077e(0x20f)])(_0x31b3f9=>_0x31b3f9[_0x24077e(0x60a)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x26e),_0x148ad1=>{const _0x58119=_0x13e37b;return _0x148ad1['config$'][_0x58119(0x219)]((0x0,rxjs[_0x58119(0x20f)])(_0x50dce5=>{const _0x4d025f=_0x58119;var _0x14894b,_0x560546;const _0x5f7af4=_0x50dce5===null||_0x50dce5===void 0x0||(_0x14894b=_0x50dce5[_0x4d025f(0x568)])===null||_0x14894b===void 0x0?void 0x0:_0x14894b['items'];return((_0x50dce5===null||_0x50dce5===void 0x0||(_0x560546=_0x50dce5[_0x4d025f(0x511)][0x0])===null||_0x560546===void 0x0?void 0x0:_0x560546[_0x4d025f(0x333)])||[])[_0x4d025f(0x20f)]((_0x39f898,_0x570a08)=>{const _0x4a5a14=_0x4d025f;return{'label':_0x5f7af4&&_0x5f7af4[_0x570a08]!==void 0x0?_0x5f7af4[_0x570a08][_0x4a5a14(0x517)]:_0x53a2d5['t'](_0x4a5a14(0x53e),''+(_0x570a08+0x1)),'value':''+_0x570a08};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x5f6),_0x1b33de=>({'set'(_0x359261){const _0x5a7321=_0x13e37b,_0x16812b={'theme':_0x359261},_0x13e247=_0x1b33de[_0x5a7321(0x26a)][_0x5a7321(0x58e)];if((_0x13e247===null||_0x13e247===void 0x0?void 0x0:_0x13e247[_0x5a7321(0x1e1)])!==void 0x0){var _0x426eed,_0x22e68f,_0x3bde06;_0x16812b[_0x5a7321(0x58e)]={'color':null};if((_0x13e247===null||_0x13e247===void 0x0||(_0x426eed=_0x13e247[_0x5a7321(0x5e2)])===null||_0x426eed===void 0x0||(_0x426eed=_0x426eed['positive'])===null||_0x426eed===void 0x0?void 0x0:_0x426eed[_0x5a7321(0x1e1)])!==void 0x0)_0x13e247[_0x5a7321(0x5e2)][_0x5a7321(0x2da)]['color']=null;if((_0x13e247===null||_0x13e247===void 0x0||(_0x22e68f=_0x13e247['waterfall'])===null||_0x22e68f===void 0x0||(_0x22e68f=_0x22e68f[_0x5a7321(0x2fe)])===null||_0x22e68f===void 0x0?void 0x0:_0x22e68f[_0x5a7321(0x1e1)])!==void 0x0)_0x13e247[_0x5a7321(0x5e2)][_0x5a7321(0x2fe)][_0x5a7321(0x1e1)]=null;if((_0x13e247===null||_0x13e247===void 0x0||(_0x3bde06=_0x13e247[_0x5a7321(0x5e2)])===null||_0x3bde06===void 0x0||(_0x3bde06=_0x3bde06['subtotal'])===null||_0x3bde06===void 0x0?void 0x0:_0x3bde06['color'])!==void 0x0)_0x13e247['waterfall'][_0x5a7321(0x3e0)][_0x5a7321(0x1e1)]=null;}const _0xd398cb=_0x1b33de[_0x5a7321(0x26a)][_0x5a7321(0x50a)]||{};for(const _0x5cbe01 in _0xd398cb){var _0x5c961a,_0x970b82,_0x4d451f;if(_0xd398cb[_0x5cbe01][_0x5a7321(0x1e1)]!==void 0x0)_0x16812b['seriesStyleMap']={..._0x16812b[_0x5a7321(0x50a)],[_0x5cbe01]:{'color':null}};if(((_0x5c961a=_0xd398cb[_0x5cbe01])===null||_0x5c961a===void 0x0||(_0x5c961a=_0x5c961a[_0x5a7321(0x5e2)])===null||_0x5c961a===void 0x0||(_0x5c961a=_0x5c961a[_0x5a7321(0x2da)])===null||_0x5c961a===void 0x0?void 0x0:_0x5c961a[_0x5a7321(0x1e1)])!==void 0x0)_0xd398cb[_0x5cbe01][_0x5a7321(0x5e2)][_0x5a7321(0x2da)]['color']=null;if(((_0x970b82=_0xd398cb[_0x5cbe01])===null||_0x970b82===void 0x0||(_0x970b82=_0x970b82[_0x5a7321(0x5e2)])===null||_0x970b82===void 0x0||(_0x970b82=_0x970b82[_0x5a7321(0x2fe)])===null||_0x970b82===void 0x0?void 0x0:_0x970b82[_0x5a7321(0x1e1)])!==void 0x0)_0xd398cb[_0x5cbe01][_0x5a7321(0x5e2)][_0x5a7321(0x2fe)][_0x5a7321(0x1e1)]=null;if(((_0x4d451f=_0xd398cb[_0x5cbe01])===null||_0x4d451f===void 0x0||(_0x4d451f=_0x4d451f[_0x5a7321(0x5e2)])===null||_0x4d451f===void 0x0||(_0x4d451f=_0x4d451f[_0x5a7321(0x3e0)])===null||_0x4d451f===void 0x0?void 0x0:_0x4d451f[_0x5a7321(0x1e1)])!==void 0x0)_0xd398cb[_0x5cbe01][_0x5a7321(0x5e2)][_0x5a7321(0x3e0)][_0x5a7321(0x1e1)]=null;}_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x1b33de['id'],'style':_0x16812b});},'get'(){const _0x1e690e=_0x13e37b;return _0x1b33de[_0x1e690e(0x320)][_0x1e690e(0x219)]((0x0,rxjs[_0x1e690e(0x20f)])(_0x5b3dd3=>_0x5b3dd3[_0x1e690e(0x2bf)]||_0x1e690e(0x5dc)));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x451),_0x3f9f5a=>({'set'(_0x130419){const _0x538c6e=_0x13e37b;_0x53a2d5[_0x538c6e(0x483)]({'chartModelId':_0x3f9f5a['id'],'style':{'titles':{'titlePosition':_0x130419}}});},'get'(){const _0x107bd3=_0x13e37b;return _0x3f9f5a[_0x107bd3(0x320)][_0x107bd3(0x219)]((0x0,rxjs[_0x107bd3(0x20f)])(_0x1e83cf=>{const _0x47e61c=_0x107bd3;var _0x4a63da;return((_0x4a63da=_0x1e83cf['titles'])===null||_0x4a63da===void 0x0?void 0x0:_0x4a63da[_0x47e61c(0x451)])||void 0x0;}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2fd),_0x125b09=>({'set'(_0x3c5655){const _0x3efbb2=_0x13e37b;_0x53a2d5[_0x3efbb2(0x483)]({'chartModelId':_0x125b09['id'],'context':{'bubbleSizeSeriesId':_0x3c5655}});},'get'(){const _0x401ff4=_0x13e37b;return _0x125b09[_0x401ff4(0x1af)][_0x401ff4(0x219)]((0x0,rxjs[_0x401ff4(0x20f)])(_0x4dfabb=>_0x4dfabb[_0x401ff4(0x2fd)]||void 0x0));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x5c5),_0x245f70=>({'set'(_0x21e803){const _0x3eae81=_0x13e37b;_0x53a2d5[_0x3eae81(0x483)]({'chartModelId':_0x245f70['id'],'context':{'bubbleXAxis':_0x21e803}});},'get'(){const _0x8a1144=_0x13e37b;return _0x245f70[_0x8a1144(0x1af)][_0x8a1144(0x219)]((0x0,rxjs['map'])(_0x469e86=>{var _0x56347b;return(_0x56347b=_0x469e86['bubbleXAxis'])!==null&&_0x56347b!==void 0x0?_0x56347b:void 0x0;}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x486),_0x3885bd=>({'set'(_0x3d6e06){const _0x5aa3ab=_0x13e37b;_0x53a2d5[_0x5aa3ab(0x483)]({'chartModelId':_0x3885bd['id'],'context':{'bubbleYAxis':_0x3d6e06}});},'get'(){const _0x3a5e36=_0x13e37b;return _0x3885bd['context$'][_0x3a5e36(0x219)]((0x0,rxjs[_0x3a5e36(0x20f)])(_0x4b4b8f=>{const _0x124fe6=_0x3a5e36;var _0x2203ee;return(_0x2203ee=_0x4b4b8f[_0x124fe6(0x486)])!==null&&_0x2203ee!==void 0x0?_0x2203ee:void 0x0;}));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x5bc),_0x25d48d=>({'set'(_0xb41a8c){const _0x805229=_0x13e37b;_0x53a2d5[_0x805229(0x483)]({'chartModelId':_0x25d48d['id'],'context':{'bubbleLabel':_0xb41a8c}});},'get'(){const _0x2fc915=_0x13e37b;return _0x25d48d[_0x2fc915(0x1af)]['pipe']((0x0,rxjs[_0x2fc915(0x20f)])(_0x2580dc=>{const _0x5ac1f9=_0x2fc915;var _0x3c63f2;return(_0x3c63f2=_0x2580dc[_0x5ac1f9(0x5bc)])!==null&&_0x3c63f2!==void 0x0?_0x3c63f2:void 0x0;}));}})),_0x53a2d5['registerViewState']('bubbleSeries',_0x14f15d=>({'set'(_0x4a38b3){const _0xb8025=_0x13e37b;_0x53a2d5[_0xb8025(0x483)]({'chartModelId':_0x14f15d['id'],'context':{'bubbleSeries':_0x4a38b3}});},'get'(){const _0x2de20d=_0x13e37b;return _0x14f15d[_0x2de20d(0x1af)][_0x2de20d(0x219)]((0x0,rxjs[_0x2de20d(0x20f)])(_0x5d724d=>{const _0x4529b4=_0x2de20d;var _0x154c94;return(_0x154c94=_0x5d724d[_0x4529b4(0x1b3)])!==null&&_0x154c94!==void 0x0?_0x154c94:void 0x0;}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x503),_0x1c079c=>({'set'(_0x9ee702){const _0x3782dc=_0x13e37b;_0x53a2d5[_0x3782dc(0x483)]({'chartModelId':_0x1c079c['id'],'style':{'relation':{'layout':_0x9ee702}}});},'get'(){const _0x5b166d=_0x13e37b;return _0x1c079c[_0x5b166d(0x320)][_0x5b166d(0x219)]((0x0,rxjs[_0x5b166d(0x20f)])(_0xc7975e=>{const _0x7acf45=_0x5b166d;var _0x236796;return(_0x236796=_0xc7975e[_0x7acf45(0x508)])===null||_0x236796===void 0x0?void 0x0:_0x236796[_0x7acf45(0x399)];}),(0x0,rxjs[_0x5b166d(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x2a4),_0x3bfb24=>({'set'(_0x2bc199){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x3bfb24['id'],'style':{'relation':{'useValueAsSymbolSize':Boolean(_0x2bc199)}}});},'get'(){const _0x338795=_0x13e37b;return _0x3bfb24[_0x338795(0x320)][_0x338795(0x219)]((0x0,rxjs['map'])(_0x290097=>{const _0xbe5ea6=_0x338795;var _0x4daa80;return(_0x4daa80=_0x290097['relation'])===null||_0x4daa80===void 0x0?void 0x0:_0x4daa80[_0xbe5ea6(0x2a4)];}),(0x0,rxjs[_0x338795(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x1b6),_0x481906=>({'set'(_0x3a8421){const _0x507e56=_0x13e37b;_0x53a2d5[_0x507e56(0x483)]({'chartModelId':_0x481906['id'],'style':{'relation':{'force':_0x3a8421}}});},'get'(){const _0x50edb8=_0x13e37b;return _0x481906[_0x50edb8(0x320)]['pipe']((0x0,rxjs[_0x50edb8(0x20f)])(_0x29aac2=>{const _0x5500cc=_0x50edb8;var _0x25101a;return(_0x25101a=_0x29aac2[_0x5500cc(0x508)])===null||_0x25101a===void 0x0?void 0x0:_0x25101a[_0x5500cc(0x48e)];}),(0x0,rxjs[_0x50edb8(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x4a6),_0x2eede5=>({'set'(_0x5dec2d){const _0x28e51f=_0x13e37b;_0x53a2d5[_0x28e51f(0x483)]({'chartModelId':_0x2eede5['id'],'style':{'relation':{'circular':{'rotateLabel':Boolean(_0x5dec2d)}}}});},'get'(){const _0x2389b4=_0x13e37b;return _0x2eede5[_0x2389b4(0x320)][_0x2389b4(0x219)]((0x0,rxjs[_0x2389b4(0x20f)])(_0x1a6628=>{const _0x4a0f60=_0x2389b4;var _0x587cab;return(_0x587cab=_0x1a6628[_0x4a0f60(0x508)])===null||_0x587cab===void 0x0||(_0x587cab=_0x587cab['circular'])===null||_0x587cab===void 0x0?void 0x0:_0x587cab[_0x4a0f60(0x4a6)];}),(0x0,rxjs[_0x2389b4(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3b7),_0x39ad2d=>({'set'(_0x4a300b){const _0x389a9b=_0x13e37b;_0x53a2d5[_0x389a9b(0x483)]({'chartModelId':_0x39ad2d['id'],'style':{'relation':{'nodeShape':_0x4a300b}}});},'get'(){const _0xa480be=_0x13e37b;return _0x39ad2d[_0xa480be(0x320)][_0xa480be(0x219)]((0x0,rxjs[_0xa480be(0x20f)])(_0x189f7f=>{const _0x190d85=_0xa480be;var _0x1e921a;return(_0x1e921a=_0x189f7f[_0x190d85(0x508)])===null||_0x1e921a===void 0x0?void 0x0:_0x1e921a['nodeShape'];}),(0x0,rxjs[_0xa480be(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('useEmphasis',_0x2074b6=>({'set'(_0x57c342){const _0x4029ad=_0x13e37b;_0x53a2d5[_0x4029ad(0x483)]({'chartModelId':_0x2074b6['id'],'style':{'relation':{'useEmphasis':Boolean(_0x57c342)}}});},'get'(){const _0x49fa37=_0x13e37b;return _0x2074b6[_0x49fa37(0x320)]['pipe']((0x0,rxjs[_0x49fa37(0x20f)])(_0x1ba42c=>{const _0x42dc0d=_0x49fa37;var _0x4c04bb;return(_0x4c04bb=_0x1ba42c[_0x42dc0d(0x508)])===null||_0x4c04bb===void 0x0?void 0x0:_0x4c04bb[_0x42dc0d(0x357)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState']('useDateAxis',_0x4b662a=>({'set'(_0x3b4a5c){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x4b662a['id'],'context':{'useDateAxis':Boolean(_0x3b4a5c)}});},'get'(){const _0x591362=_0x13e37b;return _0x4b662a[_0x591362(0x1af)][_0x591362(0x219)]((0x0,rxjs[_0x591362(0x20f)])(_0x2253c3=>_0x2253c3[_0x591362(0x2fa)]),(0x0,rxjs[_0x591362(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x1c4),_0x550ced=>({'set'(_0x9a7d51){const _0x15a3ae=_0x13e37b;_0x53a2d5[_0x15a3ae(0x483)]({'chartModelId':_0x550ced['id'],'style':{'waterfall':{'stackType':_0x9a7d51}}});},'get'(){const _0x257955=_0x13e37b;return _0x550ced[_0x257955(0x320)][_0x257955(0x219)]((0x0,rxjs['map'])(_0x1f9e9b=>{const _0x10a930=_0x257955;var _0x491760;return(_0x491760=_0x1f9e9b['waterfall'])===null||_0x491760===void 0x0?void 0x0:_0x491760[_0x10a930(0x595)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x459),_0xee566f=>({'set'(_0x12486c){const _0x2446db=_0x13e37b;_0x53a2d5[_0x2446db(0x483)]({'chartModelId':_0xee566f['id'],'style':{'waterfall':{'useSubtotal':_0x12486c}}});},'get'(){const _0x13fa63=_0x13e37b;return _0xee566f[_0x13fa63(0x320)][_0x13fa63(0x219)]((0x0,rxjs['map'])(_0x3e027c=>{const _0x53ccc3=_0x13fa63;var _0x1f9204;return(_0x1f9204=_0x3e027c['waterfall'])===null||_0x1f9204===void 0x0?void 0x0:_0x1f9204[_0x53ccc3(0x459)];}),(0x0,rxjs[_0x13fa63(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x1ad),_0x368bb6=>({'set'(_0x480e82){const _0x211193=_0x13e37b;_0x53a2d5[_0x211193(0x483)]({'chartModelId':_0x368bb6['id'],'style':{'pareto':_0x480e82}});},'get'(){const _0x4ad7fd=_0x13e37b;return _0x368bb6['style$']['pipe']((0x0,rxjs[_0x4ad7fd(0x20f)])(_0x5121ef=>_0x5121ef[_0x4ad7fd(0x60f)]),(0x0,rxjs[_0x4ad7fd(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x642),_0x4fcf89=>{const _0x57035a=_0x13e37b;return _0x4fcf89[_0x57035a(0x30c)]['pipe']((0x0,rxjs['map'])(_0x28d2e6=>{const _0x3102be=_0x57035a;var _0x52575c;const _0x1f9da4=_0x28d2e6===null||_0x28d2e6===void 0x0||(_0x52575c=_0x28d2e6['category'])===null||_0x52575c===void 0x0?void 0x0:_0x52575c['items'],_0x540f05=new Map();return _0x28d2e6===null||_0x28d2e6===void 0x0||_0x28d2e6[_0x3102be(0x511)][0x0][_0x3102be(0x333)][_0x3102be(0x42f)]((_0x1a23f9,_0x39cab8)=>{const _0xce4b8b=_0x3102be,_0x11ead5=_0x1f9da4?String(_0x1f9da4[_0x39cab8][_0xce4b8b(0x1f4)]):_0x53a2d5['t']('chart.theIndexItem',''+(_0x39cab8+0x1));if(!_0x540f05[_0xce4b8b(0x4a0)](_0x11ead5))_0x540f05['set'](_0x11ead5,_0x1a23f9['value']);}),Array[_0x3102be(0x561)](_0x540f05[_0x3102be(0x62e)]())[_0x3102be(0x197)](_0x27da56=>_0x27da56[0x1]>0x0)[_0x3102be(0x419)]((_0x1ae034,_0x2bc3d5)=>_0x2bc3d5[0x1]-_0x1ae034[0x1])[_0x3102be(0x20f)]((_0x23bf6f,_0x2fff49)=>{return{'label':_0x23bf6f[0x0]||_0x53a2d5['t']('chart.theIndexItem',''+(_0x2fff49+0x1)),'value':''+_0x2fff49};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x42b),_0x3c13a8=>({'set'(_0x182b89){const _0x1ee89c=_0x13e37b;_0x53a2d5[_0x1ee89c(0x483)]({'chartModelId':_0x3c13a8['id'],'style':{'heatmap':{'visualMapType':_0x182b89}}});},'get'(){const _0x5b711c=_0x13e37b;return _0x3c13a8[_0x5b711c(0x320)][_0x5b711c(0x219)]((0x0,rxjs[_0x5b711c(0x20f)])(_0x51d16b=>{const _0x55ceaf=_0x5b711c;var _0x11629a;return(_0x11629a=_0x51d16b[_0x55ceaf(0x3c9)])===null||_0x11629a===void 0x0?void 0x0:_0x11629a['visualMapType'];}),(0x0,rxjs[_0x5b711c(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2c0),_0x58781e=>({'set'(_0x3caa02){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x58781e['id'],'style':{'heatmap':{'max':_0x3caa02}}});},'get'(){const _0x374217=_0x13e37b;return _0x58781e[_0x374217(0x320)][_0x374217(0x219)]((0x0,rxjs['map'])(_0x6bf97b=>{const _0xfe3bae=_0x374217;var _0x6fa89a;return(_0x6fa89a=_0x6bf97b[_0xfe3bae(0x3c9)])===null||_0x6fa89a===void 0x0?void 0x0:_0x6fa89a['max'];}),(0x0,rxjs[_0x374217(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3c2),_0xd0abe5=>({'set'(_0x547a47){const _0x24227c=_0x13e37b;_0x53a2d5[_0x24227c(0x483)]({'chartModelId':_0xd0abe5['id'],'style':{'heatmap':{'min':_0x547a47}}});},'get'(){const _0x145a30=_0x13e37b;return _0xd0abe5[_0x145a30(0x320)][_0x145a30(0x219)]((0x0,rxjs[_0x145a30(0x20f)])(_0x272a65=>{const _0x29c7fd=_0x145a30;var _0x3d4f5e;return(_0x3d4f5e=_0x272a65[_0x29c7fd(0x3c9)])===null||_0x3d4f5e===void 0x0?void 0x0:_0x3d4f5e[_0x29c7fd(0x393)];}),(0x0,rxjs[_0x145a30(0x1da)])());}}));}let SheetsChartUIService=class SheetsChartUIService extends _univerjs_core['Disposable']{constructor(_0x31ce3f,_0xd6e84f,_0x5a67b4,_0x3934cb,_0x1ed272,_0x5fdde5){const _0x48ab0b=_0x5db780;super(),this[_0x48ab0b(0x2ba)]=_0x31ce3f,this[_0x48ab0b(0x63c)]=_0xd6e84f,this[_0x48ab0b(0x37c)]=_0x5a67b4,this['_localeService']=_0x3934cb,this['_chartHostProviderService']=_0x1ed272,this[_0x48ab0b(0x4fd)]=_0x5fdde5,_defineProperty(this,_0x48ab0b(0x519),new Map()),_defineProperty(this,_0x48ab0b(0x45f),![]),registryChartConfigState(this);}get[_0x5db780(0x364)](){const _0x3209ac=_0x5db780;return this[_0x3209ac(0x2ba)]['activeChartModel'];}get['rangeSelectMode'](){const _0x14d552=_0x5db780;return this[_0x14d552(0x45f)];}set[_0x5db780(0x328)](_0x4d2540){this['_rangeSelectMode']=_0x4d2540;}['getDataSource'](_0x1710e3){const _0x400a94=_0x5db780;return this[_0x400a94(0x63c)]['getChartDataSource'](_0x1710e3);}['registerViewState'](_0x249bd5,_0x2b6ead){const _0xef10c3=_0x5db780;this[_0xef10c3(0x519)][_0xef10c3(0x45d)](_0x249bd5,_0x2b6ead);}[_0x5db780(0x621)](_0x13d3fd){const _0x1b6ae8=_0x5db780,{activeChartModel:_0x35f487}=this[_0x1b6ae8(0x2ba)];if(!_0x35f487)return;const _0x2dad0e=this['_viewState'][_0x1b6ae8(0x49e)](_0x13d3fd);if(_0x2dad0e)return _0x2dad0e(_0x35f487);}[_0x5db780(0x483)](_0x4ded13){const _0x447844=_0x5db780;var _0x29bc5e,_0x28da4a;this[_0x447844(0x37c)][_0x447844(0x2c8)](_univerjs_pro_sheets_chart[_0x447844(0x439)]['id'],{..._0x4ded13,'unitId':(_0x29bc5e=(_0x28da4a=this[_0x447844(0x4fd)][_0x447844(0x589)]())===null||_0x28da4a===void 0x0?void 0x0:_0x28da4a[_0x447844(0x468)]())!==null&&_0x29bc5e!==void 0x0?_0x29bc5e:''});}['executeChartUpdateSourceConfig'](_0x5ae85a){const _0x400dcc=_0x5db780;var _0x2a7355,_0x5f5e31;this[_0x400dcc(0x37c)][_0x400dcc(0x2c8)](_univerjs_pro_sheets_chart[_0x400dcc(0x402)]['id'],{..._0x5ae85a,'unitId':(_0x2a7355=(_0x5f5e31=this[_0x400dcc(0x4fd)]['getFocusedUnit']())===null||_0x5f5e31===void 0x0?void 0x0:_0x5f5e31[_0x400dcc(0x468)]())!==null&&_0x2a7355!==void 0x0?_0x2a7355:''});}[_0x5db780(0x5bf)](_0x4fcd5f){const _0x9efb9b=_0x5db780,{_viewState:_0x4442da}=this;if(_0x4442da[_0x9efb9b(0x4a0)](_0x4fcd5f))_0x4442da[_0x9efb9b(0x63e)](_0x4fcd5f);}[_0x5db780(0x28d)](_0x254544,_0x2c7428){const _0x589de1=_0x5db780;this[_0x589de1(0x274)]['setHostStyle'](_0x254544,{'stroke':_0x2c7428});}['t'](..._0x4c568f){const _0x550793=_0x5db780;return this[_0x550793(0x5e5)]['t'](..._0x4c568f);}['dispose'](){const _0x529d49=_0x5db780;super[_0x529d49(0x38b)](),this[_0x529d49(0x519)][_0x529d49(0x3ec)]();}};SheetsChartUIService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)])),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x5db780(0x3bb)])),__decorateParam(0x2,_univerjs_core['ICommandService']),__decorateParam(0x3,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x1c2)])),__decorateParam(0x4,(0x0,_univerjs_core['Inject'])(IChartHostProviderService)),__decorateParam(0x5,_univerjs_core[_0x5db780(0x556)])],SheetsChartUIService);function useSheetsChartUIService(){const _0x30c661=_0x5db780,_0x13c177=(0x0,_univerjs_ui[_0x30c661(0x2a6)])(SheetsChartUIService);return(0x0,_univerjs_ui[_0x30c661(0x4d4)])((0x0,_univerjs_ui[_0x30c661(0x2a6)])(_univerjs_pro_sheets_chart[_0x30c661(0x562)])[_0x30c661(0x635)]),_0x13c177;}function useChartConfigState(_0x12918e,_0x3c5662,_0x5f019d){const _0x13a0a3=_0x5db780,_0x2a7472=(0x0,react[_0x13a0a3(0x3dc)])(()=>_0x3c5662[_0x13a0a3(0x621)](_0x12918e),[_0x3c5662,_0x3c5662[_0x13a0a3(0x364)],_0x12918e]);return[(0x0,_univerjs_ui[_0x13a0a3(0x4d4)])((0x0,react[_0x13a0a3(0x3dc)])(()=>_0x2a7472 instanceof rxjs[_0x13a0a3(0x355)]?_0x2a7472:_0x2a7472===null||_0x2a7472===void 0x0?void 0x0:_0x2a7472[_0x13a0a3(0x49e)](),[_0x2a7472]),_0x5f019d),(0x0,react['useCallback'])(_0x29647d=>{const _0x528320=_0x13a0a3;if(!(_0x2a7472 instanceof rxjs[_0x528320(0x355)])){var _0x27e9e2;_0x2a7472===null||_0x2a7472===void 0x0||(_0x27e9e2=_0x2a7472[_0x528320(0x45d)])===null||_0x27e9e2===void 0x0||_0x27e9e2[_0x528320(0x58a)](_0x2a7472,_0x29647d);}},[_0x2a7472])];}function serializeChartDataRange(_0x475d56,_0xdfda8e){const _0x4cec9a=_0x5db780;if(_0x475d56===null||_0x475d56===void 0x0)return'';if(Array['isArray'](_0x475d56))return'';else return serializeChartDataRangeItem(_0x475d56[_0x4cec9a(0x2e0)],_0xdfda8e);}function serializeChartDataRangeItem(_0x1c899b,_0x1b47e6){const _0x465e74=_0x5db780;var _0x4da7cf;const {unitId:_0x1984be,subUnitId:_0x59d95a,range:_0x2f79a5}=_0x1c899b,_0x2ff4fb=(_0x4da7cf=_0x1b47e6[_0x465e74(0x412)](_0x1984be))===null||_0x4da7cf===void 0x0?void 0x0:_0x4da7cf[_0x465e74(0x481)](_0x59d95a);if(!_0x2ff4fb)return'';return(0x0,_univerjs_engine_formula['serializeRangeWithSheet'])(_0x2ff4fb[_0x465e74(0x3a4)](),_0x2f79a5);}const chartTypeOptions=[{'label':_0x5db780(0x507),'value':_univerjs_pro_engine_chart['ChartTypeBits']['Line'],'icon':_0x5db780(0x4a7)},{'label':_0x5db780(0x631),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3cf)],'icon':_0x5db780(0x588)},{'label':_0x5db780(0x427),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x305)],'icon':_0x5db780(0x51f)},{'label':'chartTypes.bar','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x30a)],'icon':'BarChartIcon'},{'label':_0x5db780(0x518),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x488)],'icon':'BarChartIcon'},{'label':_0x5db780(0x644),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x514)],'icon':_0x5db780(0x612)},{'label':_0x5db780(0x23e),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x554)],'icon':_0x5db780(0x51f)},{'label':_0x5db780(0x592),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ce)],'icon':_0x5db780(0x375)},{'label':_0x5db780(0x1a7),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x5ed)],'icon':_0x5db780(0x375)},{'label':'chartTypes.areaPercentStacked','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x194)],'icon':'AreaChartIcon'},{'label':_0x5db780(0x2a9),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x262)],'icon':_0x5db780(0x2a8)},{'label':'chartTypes.combination','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x376)],'icon':_0x5db780(0x456)},{'label':'chartTypes.scatter','value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x5a9)],'icon':'ScatterChartIcon'},{'label':_0x5db780(0x344),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x638)],'icon':_0x5db780(0x485)},{'label':_0x5db780(0x2c3),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x22b)],'icon':_0x5db780(0x1bd)},{'label':'chartTypes.bubble','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x22d)],'icon':_0x5db780(0x29a)},{'label':_0x5db780(0x4f2),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x1ac)],'icon':_0x5db780(0x1e4)},{'label':_0x5db780(0x25b),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x1f5)],'icon':_0x5db780(0x57e)},{'label':_0x5db780(0x56c),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x383)],'icon':'ComboChartIcon'},{'label':_0x5db780(0x59a),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x641)],'icon':_0x5db780(0x348)},{'label':_0x5db780(0x1f2),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x4df)],'icon':_0x5db780(0x423)},{'label':_0x5db780(0x4aa),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ba)],'icon':_0x5db780(0x4e4)}];function getChartMenuSelection(){return chartTypeOptions;}const getOptionsList=(_0x2170ba,_0x1c454d)=>{const _0x30cfb1=_0x5db780;if(_0x1c454d[_0x30cfb1(0x3db)]===0x1&&_0x1c454d[0x0]==='all')return _0x2170ba;if(_0x1c454d['length']>0x1){const _0x222993=new Set();for(const _0x4beb88 of _0x1c454d)_0x222993[_0x30cfb1(0x5cc)](Number(_0x4beb88));return _0x2170ba['filter'](_0x121bb9=>{const _0x5502b3=_0x30cfb1;return _0x222993['has'](_0x121bb9[_0x5502b3(0x1f4)]);});}return[];},defaultOption={'label':_0x5db780(0x59b),'value':_0x5db780(0x580)},chartTypeToIcon={[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Line']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x4a7)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3cf)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x588)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x30a)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x612)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x488)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['BarChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['BarPercentStacked']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x612)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x305)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x51f)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x554)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x51f)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ce)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x375)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x5ed)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x375)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x194)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x375)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x262)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['RadarChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x376)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x456)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Scatter']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x33c)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x4e1)]]:void 0x0,[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x5dd)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['ColumnChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x615)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x588)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['WordCloud']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x2fc)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x22b)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x1bd)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Bubble']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x29a)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x1ac)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['RelationshipIcon'],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x1f5)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['WaterfallChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x383)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x456)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x641)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['SankeyIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x4df)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x414)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ba)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x4e4)],{})},seriesChartTypeOptions=chartTypeOptions[_0x5db780(0x197)](_0x159e0c=>{const _0x106652=_0x5db780;return[_univerjs_pro_engine_chart[_0x106652(0x5c6)][_0x106652(0x1ce)],_univerjs_pro_engine_chart[_0x106652(0x5c6)][_0x106652(0x3cf)],_univerjs_pro_engine_chart[_0x106652(0x5c6)][_0x106652(0x3ce)]]['map'](_0x7d77b4=>String(_0x7d77b4))['includes'](String(_0x159e0c[_0x106652(0x1f4)]));})[_0x5db780(0x20f)](({label:_0x22eb59,value:_0x3d01a6})=>{return{'label':_0x22eb59,'value':String(_0x3d01a6)};}),titleOptions=[{'label':_0x5db780(0x233),'value':_0x5db780(0x610)},{'label':'chart.titles.xAxisTitle','value':_0x5db780(0x3b1)},{'label':'chart.titles.yAxisTitle','value':_0x5db780(0x597)},{'label':_0x5db780(0x542),'value':_0x5db780(0x3ac)}],fontSizeOptions=[{'label':'10','value':'10'},{'label':'12','value':'12'},{'label':'14','value':'14'},{'label':'16','value':'16'},{'label':'18','value':'18'},{'label':'20','value':'20'},{'label':'24','value':'24'},{'label':'30','value':'30'},{'label':'36','value':'36'}],textAlignOptions=[{'label':_0x5db780(0x1c1),'value':'left'},{'label':_0x5db780(0x243),'value':_0x5db780(0x4d7)},{'label':_0x5db780(0x625),'value':_0x5db780(0x3f9)}];function getAllSeriesOption(){const _0xa5b55a=_0x5db780;return{'label':'chart.allSeries','value':_univerjs_pro_engine_chart['defaultChartConfig'][_0xa5b55a(0x4ab)]};}const lineOpacityOptions=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0][_0x5db780(0x20f)](_0x828fc3=>({'label':_0x828fc3*0x64+'%','value':String(_0x828fc3)})),borderDashTypeOptions=[{'label':_0x5db780(0x2a2),'value':_univerjs_pro_engine_chart['ChartBorderDashType']['Solid']},{'label':'chart.dashType.dash','value':_univerjs_pro_engine_chart['ChartBorderDashType'][_0x5db780(0x395)]},{'label':_0x5db780(0x392),'value':_univerjs_pro_engine_chart[_0x5db780(0x2ac)][_0x5db780(0x24b)]}],linePointShapeOptions=[{'label':'chart.shape.circle','value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['Circle']},{'label':_0x5db780(0x2c9),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x553)]},{'label':_0x5db780(0x5ba),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x255)]},{'label':'chart.shape.diamond','value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x516)]},{'label':_0x5db780(0x242),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x4d9)]},{'label':_0x5db780(0x4b1),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['RoundRect']},{'label':'chart.shape.pin','value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x23a)]},{'label':_0x5db780(0x2ce),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['Arrow']},{'label':_0x5db780(0x598),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x4e1)]},{'label':_0x5db780(0x530),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x5db780(0x289)]},{'label':_0x5db780(0x35e),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x31b)]},{'label':_0x5db780(0x416),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x5db780(0x372)]},{'label':_0x5db780(0x3c4),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x639)]},{'label':_0x5db780(0x43e),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x5db780(0x235)]},{'label':_0x5db780(0x5fe),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['EmptyRoundRect']},{'label':_0x5db780(0x602),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x36b)]},{'label':_0x5db780(0x629),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['EmptyArrow']}],linePointSizeOptions=[0x0,0x2,0x5,0x7,0xa,0xe][_0x5db780(0x20f)](_0x137682=>({'label':_0x137682+'px','value':String(_0x137682)})),borderWidthOptions=[0x0,0x1,0x2,0x4,0x8][_0x5db780(0x20f)](_0x15a9bb=>({'label':_0x15a9bb+'px','value':String(_0x15a9bb)})),axisLabelRotateOptions=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a][_0x5db780(0x20f)](_0x2852e1=>({'label':_0x2852e1+'°','value':String(_0x2852e1)})),trendlineTypeOptions=[{'label':_0x5db780(0x60c),'value':_univerjs_pro_engine_chart['ChartTrendlineType'][_0x5db780(0x2d2)]},{'label':_0x5db780(0x447),'value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x1e8)]},{'label':_0x5db780(0x245),'value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x491)]},{'label':'chart.trendline.pow','value':_univerjs_pro_engine_chart[_0x5db780(0x489)]['pow']},{'label':'chart.trendline.movingAvg','value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x47a)]},{'label':_0x5db780(0x432),'value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x236)]}],trendlineToIcon={[_univerjs_pro_engine_chart['ChartTrendlineType']['linear']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x27f)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x1e8)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x4cf)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)]['log']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x479)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x3d5)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['PowerLineIcon'],{}),[_univerjs_pro_engine_chart['ChartTrendlineType']['movingAvg']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x501)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)]['poly']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x5b3)],{})},trendlineOrderOptions=[0x2,0x3,0x4,0x5,0x6][_0x5db780(0x20f)](_0x492ba1=>({'label':''+_0x492ba1,'value':String(_0x492ba1)})),dataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x2b6)]['Auto'],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x4f8)],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x4b3)],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x250)],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x4c9)],_univerjs_pro_engine_chart['SeriesLabelPosition'][_0x5db780(0x2d5)]][_0x5db780(0x20f)](_0xacb444=>({'label':'chart.positionType.'+_0xacb444,'value':_0xacb444})),pieDataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x600)][_0x5db780(0x4f8)],_univerjs_pro_engine_chart[_0x5db780(0x600)][_0x5db780(0x4e0)]][_0x5db780(0x20f)](_0x5177dc=>({'label':_0x5db780(0x4d2)+_0x5177dc,'value':_0x5177dc})),legendLabelPositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x4c4)][_0x5db780(0x4c9)],_univerjs_pro_engine_chart['LegendPositionEnum']['Bottom'],_univerjs_pro_engine_chart[_0x5db780(0x4c4)][_0x5db780(0x4b3)],_univerjs_pro_engine_chart[_0x5db780(0x4c4)][_0x5db780(0x250)],_univerjs_pro_engine_chart['LegendPositionEnum'][_0x5db780(0x1e2)]][_0x5db780(0x20f)](_0xae117d=>({'label':_0x5db780(0x4d2)+_0xae117d,'value':_0xae117d})),legendSelectModeOptions=[_univerjs_pro_engine_chart[_0x5db780(0x4da)][_0x5db780(0x298)],_univerjs_pro_engine_chart[_0x5db780(0x4da)][_0x5db780(0x5f9)],_univerjs_pro_engine_chart[_0x5db780(0x4da)]['Close']][_0x5db780(0x20f)](_0x41facc=>({'label':_0x5db780(0x2ca)+_0x41facc,'value':_0x41facc})),legendVisualMapTypeOptions=[_0x5db780(0x2b1),_0x5db780(0x527)][_0x5db780(0x20f)](_0x18306b=>({'label':_0x5db780(0x3b8)+_0x18306b,'value':_0x18306b})),titlePositionOptions=[_univerjs_pro_engine_chart['TitlePositionEnum'][_0x5db780(0x4c9)],_univerjs_pro_engine_chart[_0x5db780(0x306)][_0x5db780(0x2d5)],_univerjs_pro_engine_chart[_0x5db780(0x306)][_0x5db780(0x4b3)],_univerjs_pro_engine_chart['TitlePositionEnum'][_0x5db780(0x250)],_univerjs_pro_engine_chart[_0x5db780(0x306)][_0x5db780(0x1e2)]][_0x5db780(0x20f)](_0x1b340a=>({'label':'chart.positionType.'+_0x1b340a,'value':_0x1b340a})),axisTitlePositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x32d)][_0x5db780(0x54d)],_univerjs_pro_engine_chart[_0x5db780(0x32d)][_0x5db780(0x2ae)],_univerjs_pro_engine_chart[_0x5db780(0x32d)][_0x5db780(0x1c0)]]['map'](_0x2bff13=>({'label':_0x5db780(0x4c3)+_0x2bff13,'value':_0x2bff13})),titlePositionXOptions=[_univerjs_pro_engine_chart['TextAlign'][_0x5db780(0x4b3)],_univerjs_pro_engine_chart[_0x5db780(0x2e7)]['Center'],_univerjs_pro_engine_chart[_0x5db780(0x2e7)][_0x5db780(0x250)]]['map'](_0x35bb63=>({'label':'chart.align.'+_0x35bb63,'value':_0x35bb63})),titlePositionYOptions=[_univerjs_pro_engine_chart[_0x5db780(0x5c4)][_0x5db780(0x4c9)],_univerjs_pro_engine_chart[_0x5db780(0x5c4)]['Middle'],_univerjs_pro_engine_chart['TextVerticalAlign'][_0x5db780(0x2d5)]]['map'](_0x26ab3a=>({'label':_0x5db780(0x2f1)+_0x26ab3a,'value':_0x26ab3a})),axisListOptions=[{'value':'xAxis','label':_0x5db780(0x37b)},{'value':_0x5db780(0x330),'label':_0x5db780(0x435)},{'value':_0x5db780(0x34a),'label':_0x5db780(0x48f)}],tickThicknessOptions=[0x1,0x2,0x3][_0x5db780(0x20f)](_0xe8bae2=>({'label':_0xe8bae2+'px','value':String(_0xe8bae2)})),stackTypeOptions=[{'label':_0x5db780(0x224),'value':''},{'label':_0x5db780(0x585),'value':_univerjs_pro_engine_chart['StackType'][_0x5db780(0x21a)]},{'label':_0x5db780(0x3c7),'value':_univerjs_pro_engine_chart[_0x5db780(0x317)][_0x5db780(0x5b4)]}],areaLineTypeOptions=[{'label':_0x5db780(0x536),'value':_univerjs_pro_engine_chart[_0x5db780(0x1fb)]['Line']},{'label':'chart.lineType.smooth','value':_univerjs_pro_engine_chart['AreaLineStyle'][_0x5db780(0x584)]},{'label':_0x5db780(0x572),'value':_univerjs_pro_engine_chart[_0x5db780(0x1fb)][_0x5db780(0x26d)]}],pieDonutHoleOptions=[0x0,0.25,0.5,0.75][_0x5db780(0x20f)](_0x70352d=>({'label':_0x70352d*0x64+'%','value':String(_0x70352d)})),radarShapeOptions=[{'label':'chart.shape.polygon','value':_univerjs_pro_engine_chart[_0x5db780(0x480)][_0x5db780(0x2b9)]},{'label':_0x5db780(0x4e8),'value':_univerjs_pro_engine_chart[_0x5db780(0x480)]['Circle']}],invalidValueOptions=[{'label':_0x5db780(0x3ae),'value':_univerjs_pro_engine_chart[_0x5db780(0x2e9)]['Break']},{'label':'chart.invalidType.zero','value':_univerjs_pro_engine_chart[_0x5db780(0x2e9)][_0x5db780(0x5ab)]},{'label':_0x5db780(0x1f3),'value':_univerjs_pro_engine_chart[_0x5db780(0x2e9)][_0x5db780(0x609)]}],labelContentTypeList=[_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x300)],_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x2bb)],_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x371)],_univerjs_pro_engine_chart['LabelContentType'][_0x5db780(0x52b)]],labelContentOptions=[{'label':'chart.category','value':_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x300)]},{'label':'chart.series','value':_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x2bb)]},{'label':'chart.value','value':_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x371)]},{'label':_0x5db780(0x1f7),'value':_univerjs_pro_engine_chart['LabelContentType']['Percentage']}][_0x5db780(0x20f)](_0x4b32fe=>({..._0x4b32fe,'value':String(_0x4b32fe[_0x5db780(0x1f4)])})),pieLabelContentOptions=labelContentOptions['filter'](_0x43d8ce=>_0x43d8ce[_0x5db780(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x2bb)])),tickLengthOptions=[0x6,0xc,0x12,0x18][_0x5db780(0x20f)](_0x5abfee=>({'label':_0x5abfee+'px','value':String(_0x5abfee)})),tickWidthOptions=[0x1,0x2,0x4,0x8]['map'](_0x2d521d=>({'label':_0x2d521d+'px','value':String(_0x2d521d)})),RelationLayoutOptions=[{'label':_0x5db780(0x619),'value':_0x5db780(0x2a7)},{'label':_0x5db780(0x284),'value':_0x5db780(0x1bf)},{'label':'chart.relation.force','value':'force'}],DateFormatList=[{'label':_0x5db780(0x1be),'suffix':'yyyy-MM-dd'},{'label':'1930/08/05','suffix':_0x5db780(0x1de)},{'label':_0x5db780(0x43d),'suffix':_0x5db780(0x4a1)},{'label':_0x5db780(0x52c),'suffix':_0x5db780(0x3d6)},{'label':'8月5日','suffix':'M\x22月\x22d\x22日\x22'},{'label':_0x5db780(0x426),'suffix':_0x5db780(0x4ca)},{'label':_0x5db780(0x583),'suffix':_0x5db780(0x477)},{'label':_0x5db780(0x620),'suffix':'A/P\x20hh:mm'},{'label':'下午1:30','suffix':_0x5db780(0x5a4)},{'label':_0x5db780(0x25a),'suffix':_0x5db780(0x1d0)},{'label':_0x5db780(0x1ee),'suffix':_0x5db780(0x325)}],ThousandsSeparatorFormatList=[{'label':_0x5db780(0x2bd),'suffix':_0x5db780(0x605)},{'label':_0x5db780(0x3e7),'suffix':_0x5db780(0x4dc),'color':_0x5db780(0x396)},{'label':_0x5db780(0x369),'suffix':_0x5db780(0x4ae)},{'label':'1,234.56','suffix':_0x5db780(0x277),'color':_0x5db780(0x396)},{'label':_0x5db780(0x5a5),'suffix':_0x5db780(0x44d)},{'label':'-1,234.56','suffix':'#,##0.00_);[Red]-#,##0.00','color':_0x5db780(0x396)}],CurrencyFormatList=[{'label':_0x3d1031=>_0x3d1031+'1,235','suffix':_0x2f4816=>'\x22'+_0x2f4816+'\x22#,##0.00_);\x22'+_0x2f4816+_0x5db780(0x529)},{'label':_0x105c3a=>_0x105c3a+_0x5db780(0x41f),'suffix':_0x52bb07=>'\x22'+_0x52bb07+_0x5db780(0x23f)+_0x52bb07+_0x5db780(0x529),'color':_0x5db780(0x396)},{'label':_0x57a72b=>'('+_0x57a72b+_0x5db780(0x1b7),'suffix':_0x2d60e7=>'\x22'+_0x2d60e7+_0x5db780(0x538)+_0x2d60e7+_0x5db780(0x4af)},{'label':_0x1879c5=>'('+_0x1879c5+'1,235)','suffix':_0x11bfa3=>'\x22'+_0x11bfa3+_0x5db780(0x445)+_0x11bfa3+'\x22#,##0.00)','color':'red'},{'label':_0x231d33=>'-'+_0x231d33+_0x5db780(0x41f),'suffix':_0x31022f=>'\x22'+_0x31022f+'\x22#,##0.00_);-\x22'+_0x31022f+_0x5db780(0x529)},{'label':_0x1fe491=>'-'+_0x1fe491+_0x5db780(0x41f),'suffix':_0x406741=>'\x22'+_0x406741+'\x22#,##0.00_);[Red]-\x22'+_0x406741+'\x22#,##0.00','color':'red'}],currencySymbols=['$','£','¥','¤','֏','؋','৳','฿','₡','₦','₩','₪','₫','€','₭','₮','₱','₲','₴','₸','₹','₺','₼','₽','₾','₿'],UNIVER_SHEET_CHART_FORMAT_DIALOG_ID=_0x5db780(0x215),UNIVER_SHEET_CHART_FORMAT_DIALOG='univer-sheet-chart-format-dialog',waterfallStackTypeOptions=[{'label':_0x5db780(0x54a),'value':_univerjs_pro_engine_chart[_0x5db780(0x2b4)]['Arrangement']},{'label':_0x5db780(0x4c8),'value':_univerjs_pro_engine_chart['WaterfallStackTypeEnum'][_0x5db780(0x21a)]}];function useTranslatedOptions(_0x9929a8,_0x2f9648){const _0x2694dd=_0x5db780,{t:_0x26ae5f}=_0x9929a8;return _0x2f9648[_0x2694dd(0x20f)](_0x47b84b=>({..._0x47b84b,'label':_0x26ae5f(_0x47b84b[_0x2694dd(0x517)])}));}const RadarChartOptionsEdit=_0x56cea0=>{const _0x10befd=_0x5db780,{className:_0x236769,service:_0x466e98,localeService:_0x2ee67f}=_0x56cea0,[_0x3e42dd,_0x274b1f]=useChartConfigState(_0x10befd(0x339),_0x466e98),[_0x5e48dc,_0x5c433c]=useChartConfigState(_0x10befd(0x24d),_0x466e98),_0x1a101e=useTranslatedOptions(_0x2ee67f,radarShapeOptions);return(0x0,react_jsx_runtime[_0x10befd(0x3aa)])(_0x10befd(0x3f6),{'className':_0x236769,'children':[(0x0,react_jsx_runtime[_0x10befd(0x624)])('div',{'children':(0x0,react_jsx_runtime[_0x10befd(0x624)])(_univerjs_design[_0x10befd(0x420)],{'value':_0x3e42dd!==null&&_0x3e42dd!==void 0x0?_0x3e42dd:_univerjs_pro_engine_chart[_0x10befd(0x3fc)][_0x10befd(0x36f)]['shape'],'items':_0x1a101e,'onChange':_0x274b1f})}),(0x0,react_jsx_runtime[_0x10befd(0x624)])(_0x10befd(0x3f6),{'className':_0x10befd(0x546),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':!!_0x5e48dc,'onChange':_0x56ff26=>{_0x5c433c(Boolean(_0x56ff26));},'children':_0x2ee67f['t']('chart.fill')})})]});},BubbleDataEdit=_0x35f1a6=>{const _0x2fdd92=_0x5db780;var _0x297924,_0x1df84a,_0x290742;const {service:_0x15e19c,localeService:_0x52c55e}=_0x35f1a6,[_0x2dd9b3]=useChartConfigState(_0x2fdd92(0x30b),_0x15e19c),[_0x4b1f3e]=useChartConfigState(_0x2fdd92(0x5e8),_0x15e19c),[_0x56dde7]=useChartConfigState(_0x2fdd92(0x50d),_0x15e19c),[_0x4b5336,_0x7456f1]=useChartConfigState('bubbleXAxis',_0x15e19c),[_0x2aed3f,_0x2b421a]=useChartConfigState(_0x2fdd92(0x486),_0x15e19c),[_0x2f3358,_0x2796a3]=useChartConfigState('bubbleLabel',_0x15e19c),[_0x1c0ee1,_0x34a52d]=useChartConfigState(_0x2fdd92(0x1b3),_0x15e19c),_0x19128a=_0x52c55e['t'],[_0x381734,_0x536abf]=useChartConfigState(_0x2fdd92(0x2fd),_0x15e19c),_0x392281=_0x3763e9=>{_0x536abf(_0x3763e9);};return(0x0,react_jsx_runtime[_0x2fdd92(0x3aa)])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x497),'children':[(0x0,react_jsx_runtime['jsx'])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x4dd),'children':_0x19128a('chart.bubble.label')}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design[_0x2fdd92(0x1d8)],{'className':_0x2fdd92(0x226),'value':typeof _0x2f3358===_0x2fdd92(0x467)?String(_0x2f3358):'','options':_0x4b1f3e||[],'onChange':_0x7e4a0b=>_0x2796a3(Number(_0x7e4a0b))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])('div',{'className':_0x2fdd92(0x4dd),'children':_0x19128a(_0x2fdd92(0x55c))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design[_0x2fdd92(0x1d8)],{'className':_0x2fdd92(0x226),'value':_0x4b5336!==void 0x0?String(_0x4b5336):(_0x297924=(_0x56dde7||[])[0x0])===null||_0x297924===void 0x0?void 0x0:_0x297924[_0x2fdd92(0x1f4)],'options':_0x56dde7||[],'onChange':_0x78b7e3=>_0x7456f1(Number(_0x78b7e3))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_0x2fdd92(0x3f6),{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19128a(_0x2fdd92(0x4ff))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2fdd92(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x2aed3f!==void 0x0?String(_0x2aed3f):(_0x1df84a=(_0x56dde7||[])[0x1])===null||_0x1df84a===void 0x0?void 0x0:_0x1df84a['value'],'options':_0x56dde7,'onChange':_0xece1f4=>{_0x2b421a(Number(_0xece1f4));}}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x4dd),'children':_0x19128a(_0x2fdd92(0x520))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design['Select'],{'className':_0x2fdd92(0x226),'value':_0x1c0ee1!==void 0x0?String(_0x1c0ee1):'','options':_0x4b1f3e,'onChange':_0xa547a7=>{_0x34a52d(Number(_0xa547a7));}}),(0x0,react_jsx_runtime['jsx'])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x4dd),'children':_0x19128a(_0x2fdd92(0x1e0))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x381734?String(_0x381734):(_0x290742=(_0x56dde7||[])[0x2])===null||_0x290742===void 0x0?void 0x0:_0x290742[_0x2fdd92(0x1f4)],'options':_0x2dd9b3,'onChange':_0x4c2147=>_0x392281(Number(_0x4c2147))})]});},getUnitId=_0x29061a=>_0x29061a[_0x5db780(0x374)](_univerjs_core[_0x5db780(0x5db)][_0x5db780(0x20d)])[_0x5db780(0x468)](),getSubUnitId=_0x2b3cae=>{const _0x45c101=_0x5db780;var _0x37c5d2;return(_0x37c5d2=_0x2b3cae['getCurrentUnitOfType'](_univerjs_core['UniverInstanceType'][_0x45c101(0x20d)])['getActiveSheet']())===null||_0x37c5d2===void 0x0?void 0x0:_0x37c5d2[_0x45c101(0x505)]();},ableStackCharts=[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ce)],_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Bar']];function colorElement(_0x492562){const _0x540d08=_0x5db780;return(0x0,react_jsx_runtime[_0x540d08(0x624)])(react_jsx_runtime['Fragment'],{'children':_0x492562[_0x540d08(0x20f)](_0x582cc9=>{const _0x2e5275=_0x540d08;return(0x0,react_jsx_runtime[_0x2e5275(0x624)])(_0x2e5275(0x3f6),{'className':_0x2e5275(0x38d),'style':{'backgroundColor':_0x582cc9}},_0x582cc9);})});}function getThemeListOptions(_0x1e31c2,_0x464c46){const _0x3fe750=_0x5db780;return _0x1e31c2[_0x3fe750(0x20f)](_0x38229e=>({'label':(0x0,react_jsx_runtime[_0x3fe750(0x624)])(_0x3fe750(0x3f6),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','children':colorElement(_0x464c46[_0x3fe750(0x1e9)](_0x38229e))}),'value':_0x38229e}));}const ChartEditBlockTitle=({title:_0x199bf5})=>{const _0x4f749c=_0x5db780;return(0x0,react_jsx_runtime[_0x4f749c(0x624)])(_0x4f749c(0x3f6),{'className':'univer-mb-2\x20univer-mt-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x199bf5});},DataTabPanel=()=>{const _0x3cb864=_0x5db780;var _0x1acd43;const _0x105a5d=useSheetsChartUIService(),_0x55f86f=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x3cb864(0x556)]),_0x39302e=(0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_core[_0x3cb864(0x1c2)]),_0x535ce5=(0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_pro_engine_chart[_0x3cb864(0x5ec)]),_0x2ecffe=_0x535ce5[_0x3cb864(0x431)](),_0xc5a7fd=(0x0,_univerjs_pro_sheets_chart[_0x3cb864(0x2aa)])((0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_core[_0x3cb864(0x29c)])),_0x15a699=(0x0,react[_0x3cb864(0x3dc)])(()=>{const _0x5ead6b=_0x3cb864;return getOptionsList(chartTypeOptions[_0x5ead6b(0x4eb)](),_0xc5a7fd)[_0x5ead6b(0x20f)](_0x5420a7=>({'label':(0x0,react_jsx_runtime[_0x5ead6b(0x3aa)])(_0x5ead6b(0x3f6),{'className':_0x5ead6b(0x1df),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x5ead6b(0x269),'children':chartTypeToIcon===null||chartTypeToIcon===void 0x0?void 0x0:chartTypeToIcon[_0x5420a7[_0x5ead6b(0x1f4)]]}),(0x0,react_jsx_runtime[_0x5ead6b(0x624)])(_0x5ead6b(0x3f6),{'className':_0x5ead6b(0x2d0),'children':_0x39302e['t'](_0x5420a7[_0x5ead6b(0x517)])})]}),'value':String(_0x5420a7['value'])}));},[_0x39302e]),[_0xc4d2bd,_0xd7bff0]=(0x0,react[_0x3cb864(0x32e)])(![]);(0x0,react[_0x3cb864(0x5d3)])(()=>{const _0x1a89a5=_0x3cb864;_0x105a5d[_0x1a89a5(0x328)]=_0xc4d2bd;},[_0xc4d2bd]);const _0x9ba63a=useTranslatedOptions(_0x39302e,invalidValueOptions),_0x46833b=useTranslatedOptions(_0x39302e,stackTypeOptions),_0x4d3151=useTranslatedOptions(_0x39302e,areaLineTypeOptions),_0x2dc5f3=useTranslatedOptions(_0x39302e,waterfallStackTypeOptions),_0x23dc9e=getThemeListOptions(_0x2ecffe,_0x535ce5),_0x4320db=getUnitId(_0x55f86f),_0x22c3a4=getSubUnitId(_0x55f86f),_0x53009e=(0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_core['IContextService']),[_0x5da8b4,_0x4dd28a]=useChartConfigState(_0x3cb864(0x26b),_0x105a5d),[_0x48b76e,_0x4ce93b]=useChartConfigState(_0x3cb864(0x211),_0x105a5d),[_0x59c3b1,_0x384c5a]=useChartConfigState(_0x3cb864(0x40d),_0x105a5d),[_0x2bb1cc,_0x145da1]=useChartConfigState('categoryIndex',_0x105a5d),[_0xec58f4]=useChartConfigState(_0x3cb864(0x4b8),_0x105a5d),[_0x1bd053]=useChartConfigState(_0x3cb864(0x5e8),_0x105a5d),[_0x5e4fd1,_0x16ecd7]=useChartConfigState(_0x3cb864(0x3ff),_0x105a5d),[_0x3665fa]=useChartConfigState(_0x3cb864(0x50d),_0x105a5d),[_0x54d4ae,_0x5d1ffb]=useChartConfigState(_0x3cb864(0x1c4),_0x105a5d),[_0x38032e,_0x54fc3a]=useChartConfigState(_0x3cb864(0x459),_0x105a5d),[_0x5169a9,_0x277d60]=useChartConfigState(_0x3cb864(0x2c0),_0x105a5d),[_0x3fd3d6,_0x36f20e]=useChartConfigState(_0x3cb864(0x3c2),_0x105a5d),[_0xc13e2c,_0x59b425]=useChartConfigState(_0x3cb864(0x5f6),_0x105a5d),[_0x570fdc,_0x4b5a30]=useChartConfigState(_0x3cb864(0x303),_0x105a5d),_0x55e804=(0x0,react['useMemo'])(()=>{const _0x8e811d=_0x3cb864;if(_0x570fdc===void 0x0)return _0x5da8b4?_univerjs_pro_engine_chart[_0x8e811d(0x49c)][_0x8e811d(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x8e811d(0x5c6)][_0x8e811d(0x3ce)]):![];return _0x570fdc;},[_0x570fdc,_0x5da8b4]),[_0x5f21f0,_0x25f9e7]=useChartConfigState(_0x3cb864(0x4ba),_0x105a5d),[_0x2b4d37,_0x353af0]=useChartConfigState(_0x3cb864(0x60a),_0x105a5d),[_0x160031,_0x5b8dbb]=useChartConfigState('asCategory',_0x105a5d),[_0x536ab4,_0x289b5b]=useChartConfigState('funnelGap',_0x105a5d),[_0x2437ac,_0x410046]=useChartConfigState('funnelUseAbsValue',_0x105a5d),_0xdc84c0=_0x5da8b4&&ableStackCharts[_0x3cb864(0x2cd)](_0x2a7f2d=>_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_0x2a7f2d)),_0x120664=_0x5da8b4&&[_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x3ce)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Line']][_0x3cb864(0x2cd)](_0x3e251b=>_univerjs_pro_engine_chart['chartBitsUtils'][_0x3cb864(0x549)](_0x5da8b4,_0x3e251b)),_0x3fb51d=_0x5da8b4&&[_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x1ce)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Radar'],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x638)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Scatter']]['every'](_0x1f4aa8=>_0x1f4aa8!==_0x5da8b4),_0x5d46fa=_0xec58f4===_univerjs_pro_engine_chart[_0x3cb864(0x50f)][_0x3cb864(0x365)]||typeof _0x2bb1cc!=='number',_0x34cc3c=_0x5da8b4&&[_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x305)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Doughnut']][_0x3cb864(0x2cd)](_0x10c50a=>_0x5da8b4===_0x10c50a),_0x327fab=!_0x34cc3c||_0x34cc3c&&_0x5e4fd1&&(_0x5e4fd1===null||_0x5e4fd1===void 0x0?void 0x0:_0x5e4fd1['length'])<0x1,_0x325f34=_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart['ChartTypeBits'][_0x3cb864(0x1f5)]),_0x22ba35=_0x5da8b4&&(0x0,_univerjs_pro_engine_chart[_0x3cb864(0x594)])(_0x5da8b4),[_0x2bafbd,_0x25c408]=useChartConfigState(_0x3cb864(0x552),_0x105a5d),_0x2d9600=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart['ChartTypeBits'][_0x3cb864(0x1ac)],_0x52bd55=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart['ChartTypeBits'][_0x3cb864(0x641)],_0x1fc06a=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x4df)],_0x2cafb0=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x3ba)],_0x5a73e5=_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x22d)]),_0x2de61f=_0x470c7e=>{const _0x3f175c=_0x3cb864;if(_0x2bafbd)_0x25c408(_0x2bafbd[_0x3f175c(0x197)]((_0x365f2e,_0x337aa6)=>_0x337aa6!==_0x470c7e));},_0x125979=(_0x552ced,_0x4cd004)=>{const _0x5eacf=_0x3cb864;if(_0x2bafbd){_0x2bafbd[_0x552ced][_0x5eacf(0x5d4)]=_0x4cd004;const _0x2b96e3=(_0x3665fa===null||_0x3665fa===void 0x0?void 0x0:_0x3665fa[_0x4cd004][_0x5eacf(0x517)])||'';if(_0x2b96e3)_0x2bafbd[_0x552ced][_0x5eacf(0x52e)]=_0x56ef16(_0x5eacf(0x60c))+'-'+_0x56ef16(_0x5eacf(0x4ac))+'-('+_0x2b96e3+')';_0x25c408(_0x2bafbd['slice']());}},_0xa05b58=Boolean(_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Funnel'])),_0x14dc87=borderWidthOptions,[_0x1497e4,_0xfd9044]=(0x0,react[_0x3cb864(0x32e)])(![]),_0x31907d=(0x0,react[_0x3cb864(0x3dc)])(()=>{const _0x3071dc=_0x3cb864;return(0x0,_univerjs_core[_0x3071dc(0x4fe)])(async _0x2cc253=>{const _0x1ae922=_0x3071dc;var _0x2bc16e;if(serializeChartDataRange(_0x48b76e,_0x55f86f)===_0x2cc253)return;const {unitId:_0x33cfca,sheetName:_0x40dd30,range:_0x4a3897}=_0x2cc253[_0x1ae922(0x601)](',')[_0x1ae922(0x197)](_0x176195=>!!_0x176195)[_0x1ae922(0x20f)](_univerjs_engine_formula[_0x1ae922(0x559)])[0x0],_0x919d5=_0x33cfca||_0x4320db;_0x4ce93b({'rangeInfo':{'range':_0x4a3897,'unitId':_0x919d5,'subUnitId':((_0x2bc16e=_0x55f86f['getUnit'](_0x919d5)[_0x1ae922(0x380)](_0x40dd30))===null||_0x2bc16e===void 0x0?void 0x0:_0x2bc16e[_0x1ae922(0x505)]())||(_0x48b76e===null||_0x48b76e===void 0x0?void 0x0:_0x48b76e[_0x1ae922(0x2e0)][_0x1ae922(0x54c)])},'isRowDirection':!![]});},0x12c,{'leading':![],'maxWait':0x3e8,'trailing':!![]});},[_0x4ce93b,_0x4320db,_0x55f86f]),_0x14d83f=_0x1d9b9b=>{const _0x1bc385=_0x3cb864;if(_0x5e4fd1)_0x16ecd7(_0x5e4fd1[_0x1bc385(0x197)]((_0x4be4a8,_0x43b779)=>_0x43b779!==_0x1d9b9b));},{t:_0x56ef16}=_0x39302e,_0x5c1896=_0x5da8b4&&(_univerjs_pro_engine_chart['chartBitsUtils'][_0x3cb864(0x4a0)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x4f4)][_0x3cb864(0x5d0)])?_univerjs_pro_engine_chart['StackType'][_0x3cb864(0x5b4)]:_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x4a0)](_0x5da8b4,_univerjs_pro_engine_chart['ChartAttributeBits'][_0x3cb864(0x368)])?_univerjs_pro_engine_chart[_0x3cb864(0x317)][_0x3cb864(0x21a)]:void 0x0),_0x5bfd3b=Boolean(_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x638)])),_0x2fa805=(0x0,react['useCallback'])(_0x1e38d4=>{const _0x380443=_0x3cb864;if(!_0x5da8b4)return;const _0x2ac1b5=_0x1e38d4,_0xa9491f=_univerjs_pro_engine_chart['chartBitsUtils'][_0x380443(0x307)](_0x5da8b4,_univerjs_pro_engine_chart[_0x380443(0x4f4)][_0x380443(0x5d0)]);switch(_0x2ac1b5){case _univerjs_pro_engine_chart['StackType'][_0x380443(0x21a)]:_0x4dd28a(_0xa9491f|_univerjs_pro_engine_chart[_0x380443(0x4f4)][_0x380443(0x368)]);break;case _univerjs_pro_engine_chart[_0x380443(0x317)][_0x380443(0x5b4)]:_0x4dd28a(_0xa9491f|_univerjs_pro_engine_chart[_0x380443(0x4f4)][_0x380443(0x5d0)]);break;default:_0x4dd28a(_0xa9491f);break;}},[_0x5da8b4]);return(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x543))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5da8b4?String(_0x5da8b4):'','options':_0x15a699,'onChange':_0x2da7bc=>_0x4dd28a(Number(_0x2da7bc))})]}),_0x5da8b4&&(_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x3ce)])||_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x1ce)]))&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x420)],{'items':_0x4d3151,'className':_0x3cb864(0x546),'value':_0x59c3b1!==null&&_0x59c3b1!==void 0x0?_0x59c3b1:_univerjs_pro_engine_chart[_0x3cb864(0x3fc)]['area']['lineStyle'],'onChange':_0x384c5a}),_0x5da8b4===_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Radar']&&(0x0,react_jsx_runtime['jsx'])(RadarChartOptionsEdit,{'localeService':_0x39302e,'service':_0x105a5d,'className':_0x3cb864(0x546)}),(0x0,react_jsx_runtime['jsxs'])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x4c6))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':_0x3cb864(0x226),'value':_0xc13e2c?String(_0xc13e2c):'','options':_0x23dc9e,'onChange':_0x507689=>{_0x59b425(_0x507689);}})]}),_0x325f34&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(react_jsx_runtime[_0x3cb864(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x4d3))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':_0x3cb864(0x226),'value':_0x54d4ae!==null&&_0x54d4ae!==void 0x0?_0x54d4ae:_univerjs_pro_engine_chart[_0x3cb864(0x3fc)][_0x3cb864(0x5e2)]['stackType'],'options':_0x2dc5f3,'onChange':_0x1f4663=>{_0x5d1ffb(_0x1f4663);}}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])('div',{'className':_0x3cb864(0x5c7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x1a0)],{'checked':_0x38032e!==null&&_0x38032e!==void 0x0?_0x38032e:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3cb864(0x5e2)]['useSubtotal'],'onChange':_0x21714d=>_0x54fc3a(Boolean(_0x21714d)),'children':_0x56ef16(_0x3cb864(0x49a))})})]}),_0x3fb51d&&!_0x5bfd3b&&!_0xa05b58&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design['Checkbox'],{'checked':!!_0x55e804,'onChange':_0x39352e=>_0x4b5a30(Boolean(_0x39352e)),'children':_0x56ef16(_0x3cb864(0x3f2))})}),_0xa05b58&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x56ef16('chart.styleEditPanel.gap')}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':_0x3cb864(0x226),'value':String(_0x536ab4!==null&&_0x536ab4!==void 0x0?_0x536ab4:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3cb864(0x5fa)][_0x3cb864(0x25d)]),'options':_0x14dc87,'onChange':_0x420ffa=>_0x289b5b(Number(_0x420ffa))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x3d8),'children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design['Checkbox'],{'checked':_0x2437ac!==null&&_0x2437ac!==void 0x0?_0x2437ac:![],'onChange':_0xc264c=>{_0x410046(Boolean(_0xc264c));},'children':_0x56ef16('chart.styleEditPanel.useAbsValue')})})]}),_0xdc84c0&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x342))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x3cb864(0x226),'value':_0x5c1896||'','options':_0x46833b,'onChange':_0x2fa805})]}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x3fd))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_sheets_formula_ui[_0x3cb864(0x227)],{'supportAcrossSheet':!![],'keepSheetReference':!![],'maxRangeCount':0x1,'unitId':_0x4320db,'subUnitId':_0x22c3a4,'initialValue':_0x48b76e?serializeChartDataRange(_0x48b76e,_0x55f86f):'','onChange':(_0x1ab55d,_0x533edf)=>_0x31907d(_0x533edf),'onFocusChange':_0x2775c6=>{if(_0x1497e4)return;_0xd7bff0(_0x2775c6);},'onRangeSelectorDialogVisibleChange':_0x3cbd2b=>{if(_0x3cbd2b)_0xfd9044(!![]),_0xd7bff0(!![]);else _0xfd9044(![]);}})]}),!_0x5a73e5&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x367))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':typeof _0x2bb1cc===_0x3cb864(0x467)?String(_0x2bb1cc):'','options':_0x1bd053||[],'onChange':_0x2db4a4=>_0x145da1(Number(_0x2db4a4))})]}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[!_0x5a73e5&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(react_jsx_runtime[_0x3cb864(0x263)],{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x520))}),(0x0,react_jsx_runtime['jsxs'])(_0x3cb864(0x3f6),{'className':'univer-mt-2','children':[_0x5e4fd1===null||_0x5e4fd1===void 0x0?void 0x0:_0x5e4fd1[_0x3cb864(0x20f)]((_0x124a48,_0x293fb7)=>{const _0x51bbd8=_0x3cb864;return(0x0,react_jsx_runtime['jsxs'])(_0x51bbd8(0x3f6),{'className':_0x51bbd8(0x2b2),'children':[(0x0,react_jsx_runtime[_0x51bbd8(0x624)])(_univerjs_design[_0x51bbd8(0x1d8)],{'className':_0x51bbd8(0x226),'value':String(_0x124a48),'options':_0x3665fa,'onChange':_0x4922a1=>{const _0x397250=_0x51bbd8;_0x5e4fd1[_0x293fb7]=Number(_0x4922a1),_0x16ecd7(_0x5e4fd1[_0x397250(0x4e3)]());}}),(0x0,react_jsx_runtime[_0x51bbd8(0x624)])(_0x51bbd8(0x3f6),{'className':_0x51bbd8(0x540),'onClick':()=>_0x14d83f(_0x293fb7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x51bbd8(0x471)],{})})]},_0x293fb7);}),_0x327fab&&_0x3665fa&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x363)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x3665fa[_0x3cb864(0x20f)](_0x38cd47=>({'type':_0x3cb864(0x3fa),'children':_0x38cd47[_0x3cb864(0x517)],'onSelect':()=>{const _0x2b9646=_0x3cb864;_0x16ecd7([..._0x5e4fd1||[],Number(_0x38cd47[_0x2b9646(0x1f4)])]);}})),'children':(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])('a',{'className':_0x3cb864(0x46a),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_icons['IncreaseIcon'],{'className':_0x3cb864(0x2e3)}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x2c2),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x56ef16(_0x3cb864(0x1c6))})]})})]})]}),_0x22ba35&&!_0x5a73e5&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x4ac))}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':'univer-mt-2','children':[_0x2bafbd===null||_0x2bafbd===void 0x0?void 0x0:_0x2bafbd[_0x3cb864(0x20f)]((_0x4e5e7c,_0x40efac)=>{const _0x911263=_0x3cb864;return(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x911263(0x2b2),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x911263(0x1d8)],{'className':_0x911263(0x226),'value':String(_0x4e5e7c[_0x911263(0x52e)]),'options':_0x3665fa,'onChange':_0xdc0adc=>{_0x125979(_0x40efac,Number(_0xdc0adc)-0x1);}}),(0x0,react_jsx_runtime[_0x911263(0x624)])(_0x911263(0x3f6),{'className':_0x911263(0x540),'onClick':()=>_0x2de61f(_0x40efac),'children':(0x0,react_jsx_runtime[_0x911263(0x624)])(_univerjs_icons[_0x911263(0x471)],{})})]},_0x40efac);}),_0x22ba35&&_0x3665fa&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x363)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x3665fa[_0x3cb864(0x20f)](_0xc4b567=>({'type':_0x3cb864(0x3fa),'children':_0xc4b567[_0x3cb864(0x517)],'onSelect':()=>{const _0x2baed2=_0x3cb864,_0x1ab2bf={'seriesIndex':Number(_0xc4b567[_0x2baed2(0x1f4)])-0x1,'type':_univerjs_pro_engine_chart[_0x2baed2(0x489)][_0x2baed2(0x2d2)],'name':_0x56ef16('chart.trendline.linear')+'-'+_0x56ef16(_0x2baed2(0x4ac))+'-('+_0xc4b567[_0x2baed2(0x517)]+')'};_0x25c408([..._0x2bafbd||[],_0x1ab2bf]);}})),'children':(0x0,react_jsx_runtime['jsxs'])('a',{'className':_0x3cb864(0x46a),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_icons['IncreaseIcon'],{'className':_0x3cb864(0x2e3)}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])('span',{'className':_0x3cb864(0x3f7),'children':_0x56ef16(_0x3cb864(0x3a8))})]})})]})]}),_0x1fc06a&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x546),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x52f))}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x5de),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x27b),'children':_0x56ef16(_0x3cb864(0x47e))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x537)],{'value':_0x5169a9!==null&&_0x5169a9!==void 0x0?_0x5169a9:void 0x0,'onChange':_0x157214=>{const _0x298675=_0x3cb864;_0x53009e[_0x298675(0x40f)](_univerjs_core[_0x298675(0x28e)],![]),_0x277d60(Number['isNaN'](_0x157214)?null:Number(_0x157214));},'onFocus':()=>_0x53009e[_0x3cb864(0x40f)](_univerjs_core[_0x3cb864(0x28e)],!![]),'onBlur':_0x41ee60=>{const _0x2d80bc=_0x3cb864;_0x53009e['setContextValue'](_univerjs_core[_0x2d80bc(0x28e)],![]);const _0x3610ea=_0x41ee60[_0x2d80bc(0x449)][_0x2d80bc(0x1f4)];_0x277d60(_0x3610ea===''?null:Number(_0x3610ea));},'onPressEnter':_0x17b329=>{const _0xd3f967=_0x3cb864,_0x27a00c=_0x17b329[_0xd3f967(0x449)][_0xd3f967(0x1f4)];_0x277d60(_0x27a00c===''?null:Number(_0x27a00c));}})]}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x293),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x56ef16(_0x3cb864(0x5d1))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x537)],{'value':_0x3fd3d6!==null&&_0x3fd3d6!==void 0x0?_0x3fd3d6:void 0x0,'onChange':_0x3aa0ae=>{const _0x1a6571=_0x3cb864;_0x53009e[_0x1a6571(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x36f20e(Number['isNaN'](_0x3aa0ae)?null:Number(_0x3aa0ae));},'onFocus':()=>_0x53009e['setContextValue'](_univerjs_core[_0x3cb864(0x28e)],!![]),'onBlur':_0x391bf8=>{const _0x251d22=_0x3cb864;_0x53009e[_0x251d22(0x40f)](_univerjs_core[_0x251d22(0x28e)],![]);const _0x322cea=_0x391bf8[_0x251d22(0x449)][_0x251d22(0x1f4)];_0x36f20e(_0x322cea===''?null:Number(_0x322cea));},'onPressEnter':_0x1c61c9=>{const _0x24b221=_0x3cb864,_0xdc2ecc=_0x1c61c9[_0x24b221(0x449)][_0x24b221(0x1f4)];_0x36f20e(_0xdc2ecc===''?null:Number(_0xdc2ecc));}})]})]}),_0x5a73e5&&(0x0,react_jsx_runtime['jsx'])(BubbleDataEdit,{'service':_0x105a5d,'localeService':_0x39302e}),!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x3d8),'children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design['Button'],{'className':'','size':_0x3cb864(0x53c),'onClick':()=>{const _0xb1ed55=_0x3cb864;_0x25f9e7(_0x5f21f0===_univerjs_pro_engine_chart['DataOrientation'][_0xb1ed55(0x3d9)]?_univerjs_pro_engine_chart[_0xb1ed55(0x3e3)][_0xb1ed55(0x3cf)]:_univerjs_pro_engine_chart[_0xb1ed55(0x3e3)][_0xb1ed55(0x3d9)]);},'children':_0x56ef16('chart.settingsLabels.switchToRowOrColumn')})}),_0x5d46fa&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x3d8),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x1a0)],{'checked':_0x160031,'onChange':_0x245575=>{_0x5b8dbb(!!_0x245575);},'children':_0x56ef16('chart.settingsLabels.useAsCategoryLabels',(_0x5f21f0||'')+'\x20'+(((_0x1acd43=_0x5f21f0===_univerjs_pro_engine_chart[_0x3cb864(0x3e3)][_0x3cb864(0x3d9)]?_0x48b76e===null||_0x48b76e===void 0x0?void 0x0:_0x48b76e[_0x3cb864(0x2e0)][_0x3cb864(0x4d8)][_0x3cb864(0x304)]:_0x48b76e===null||_0x48b76e===void 0x0?void 0x0:_0x48b76e[_0x3cb864(0x2e0)][_0x3cb864(0x4d8)]['startColumn'])!==null&&_0x1acd43!==void 0x0?_0x1acd43:0x0)+0x1))})})]}),_0x120664&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16('chart.settingsLabels.showEmptyCellsAs')}),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x3cb864(0x546),'children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x455)],{'value':_0x2b4d37!==null&&_0x2b4d37!==void 0x0?_0x2b4d37:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3cb864(0x60a)],'onChange':_0x4f6b9c=>_0x353af0(_0x4f6b9c),'className':'univer-flex\x20univer-flex-col\x20univer-gap-2.5','children':_0x9ba63a[_0x3cb864(0x20f)](_0x54e7a8=>(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x2f0)],{'value':_0x54e7a8[_0x3cb864(0x1f4)],'children':_0x54e7a8[_0x3cb864(0x517)]},_0x54e7a8[_0x3cb864(0x1f4)]))})})]})]});},ColorPickerControl=_0x5818cb=>{const _0x32fcfa=_0x5db780,{color:_0x1d4b3f,onChange:_0x27c265}=_0x5818cb,[_0x138bc6,_0x57c717]=(0x0,react[_0x32fcfa(0x32e)])(![]),_0x168cd5=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService']),_0x58f97a=_0x1d4b3f==='transparent'||_0x1d4b3f==null,_0x4ce706=(0x0,react[_0x32fcfa(0x510)])(_0x480677=>{_0x27c265===null||_0x27c265===void 0x0||_0x27c265(_0x480677),_0x57c717(![]);},[_0x27c265]);return(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design[_0x32fcfa(0x43b)],{'overlay':(0x0,react_jsx_runtime['jsxs'])(_0x32fcfa(0x3f6),{'className':_0x32fcfa(0x45e),'children':[(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design['Button'],{'className':_0x32fcfa(0x62b),'onClick':()=>_0x4ce706(null),'children':_0x168cd5['t'](_0x32fcfa(0x4f5))}),(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design[_0x32fcfa(0x1c5)],{'value':_0x58f97a?_0x32fcfa(0x26c):_0x1d4b3f,'onChange':_0x4ce706})]}),'open':_0x138bc6,'onOpenChange':_0x57c717,'children':(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design[_0x32fcfa(0x469)],{'className':_0x32fcfa(0x2dc),'children':(0x0,react_jsx_runtime[_0x32fcfa(0x3aa)])(_0x32fcfa(0x3f6),{'className':_0x32fcfa(0x3ad),'children':[_0x58f97a?(0x0,react_jsx_runtime['jsx'])(_0x32fcfa(0x3f6),{'className':_0x32fcfa(0x5a7),'children':_0x168cd5['t'](_0x32fcfa(0x59b))}):(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_0x32fcfa(0x3f6),{'className':(0x0,_univerjs_design[_0x32fcfa(0x593)])(_0x32fcfa(0x37d),_univerjs_design[_0x32fcfa(0x24e)]),'style':{'backgroundColor':_0x1d4b3f}}),(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_icons['MoreDownIcon'],{'className':(0x0,_univerjs_design['clsx'])(_0x32fcfa(0x278),{'univer-rotate-180':_0x138bc6})})]})})});},DropdownSelector=_0x1ab364=>{const _0x2214bf=_0x5db780,{value:_0x2ffca6,menus:_0x1e7014,onSelect:_0x28c177,children:_0x8678b4}=_0x1ab364,[_0x134a49,_0x1e7206]=(0x0,react[_0x2214bf(0x32e)])(![]);return(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2214bf(0x363)],{'items':[{'type':_0x2214bf(0x558),'value':_0x2ffca6[_0x2214bf(0x1cb)](),'options':_0x1e7014,'onSelect':_0x38c773=>_0x28c177===null||_0x28c177===void 0x0?void 0x0:_0x28c177(_0x38c773)}],'open':_0x134a49,'onOpenChange':_0x1e7206,'children':typeof _0x8678b4==='function'?_0x8678b4(_0x134a49):_0x8678b4});},FontFormatBar=_0x74e78=>{const _0x58d2da=_0x5db780;var _0x1cfd7;const {localeService:_0xcc3e99,className:_0x1ffd86,fontSize:fontSize=_univerjs_pro_engine_chart[_0x58d2da(0x3fc)][_0x58d2da(0x448)][_0x58d2da(0x454)],color:_0x160dab,bold:_0x130dd9,italic:_0x302a37,align:_0x50ef00,alignControl:alignControl=![],onChange:_0x21fdbd}=_0x74e78,_0x3ba5d1=useTranslatedOptions(_0xcc3e99,textAlignOptions),[_0x433dfe,_0x5ab615]=(0x0,react[_0x58d2da(0x32e)])(![]);return(0x0,react_jsx_runtime['jsxs'])(_0x58d2da(0x3f6),{'className':(0x0,_univerjs_design[_0x58d2da(0x593)])(_0x58d2da(0x541),_univerjs_design[_0x58d2da(0x24e)],_0x1ffd86),'children':[(0x0,react_jsx_runtime[_0x58d2da(0x624)])(DropdownSelector,{'value':fontSize[_0x58d2da(0x1cb)](),'menus':fontSizeOptions['map'](_0x57ae78=>({..._0x57ae78})),'onSelect':_0x2db53a=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x35b),Number(_0x2db53a)),'children':_0x1fcc03=>(0x0,react_jsx_runtime[_0x58d2da(0x3aa)])(_0x58d2da(0x3f6),{'className':_0x58d2da(0x1a5),'children':[(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x2c2),{'children':fontSize}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x229)],{'className':(0x0,_univerjs_design['clsx'])(_0x58d2da(0x210),{'univer-rotate-180':_0x1fcc03})})]})}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x58d2da(0x43b)],{'overlay':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x3f6),{'className':_0x58d2da(0x415),'children':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_design[_0x58d2da(0x1c5)],{'value':_0x160dab,'onChange':_0x44995e=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x1e1),_0x44995e)})}),'open':_0x433dfe,'onOpenChange':_0x5ab615,'children':(0x0,react_jsx_runtime[_0x58d2da(0x3aa)])('div',{'className':_0x58d2da(0x422),'children':[(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x268)],{'className':'univer-text-base','extend':{'colorChannel1':_0x160dab!==null&&_0x160dab!==void 0x0?_0x160dab:_univerjs_pro_engine_chart[_0x58d2da(0x3fc)]['textStyle'][_0x58d2da(0x1e1)]}}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x229)],{'className':(0x0,_univerjs_design[_0x58d2da(0x593)])('univer-ml-1\x20univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x433dfe})})]})}),alignControl&&(0x0,react_jsx_runtime[_0x58d2da(0x624)])(DropdownSelector,{'value':(_0x1cfd7=_0x50ef00===null||_0x50ef00===void 0x0?void 0x0:_0x50ef00['toString']())!==null&&_0x1cfd7!==void 0x0?_0x1cfd7:'','menus':_0x3ba5d1['map'](_0x276925=>({..._0x276925})),'onSelect':_0x1a92af=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x4e5),_0x1a92af),'children':(0x0,react_jsx_runtime['jsx'])(_0x58d2da(0x3f6),{'className':_0x58d2da(0x61c),'children':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x4c0)],{})})}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x3f6),{'onClick':()=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x2c5),!_0x130dd9),'className':(0x0,_univerjs_design[_0x58d2da(0x593)])(_0x58d2da(0x61c),{'univer-bg-gray-50\x20univer-text-primary-600':_0x130dd9}),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x58d2da(0x41e)],{})}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x3f6),{'onClick':()=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x5d8),!_0x302a37),'className':(0x0,_univerjs_design[_0x58d2da(0x593)])('univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1',{'univer-bg-gray-50\x20univer-text-primary-600':_0x302a37}),'children':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x462)],{})})]});};function isValidNumber(_0x14a5ac){const _0x1b0f77=_0x5db780;return!Number[_0x1b0f77(0x228)](_0x14a5ac)&&Number[_0x1b0f77(0x3df)](_0x14a5ac);}function _0x3cbb(){const _0xb3f7c4=['clsx','chartTypeCanUseTrendLine','stackType','chart.withOpacity','yAxisTitle','chart.shape.none','REMOVE','chartTypes.sankey','chart.default','rotationStep','tick','chart.withThickness','tagName','chart.axes.rightVerticalAxis','_renderManagerService','rotate','univer-flex\x20univer-items-center','A/P\x20h:mm','-1,234.56','registerRenderModel','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','_sheetPermissionCheckController','Scatter','hidePanel','Zero','lineWidth','_chartInstanceMap','endRow','textContent','left','showFormula','addClipboardHook','PolynomialIcon','Percent','MessageType','SelectList','chart.styleEditPanel.showAxisLine','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','textStyle.fontSize','chart.shape.triangle','getFormatInfo','bubbleLabel','children','pieBorderColor','removeViewState','chart.withFormat','layoutInstance','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','find','TextVerticalAlign','bubbleXAxis','ChartTypeBits','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','50%\x2040%','msClearImmediate','dispatchEvent','chart.trendline.showR2','add','add$','@univerjs-pro/sheets-chart-ui','indicatorLabelTextColor','PercentStack','chart.max','Disposable','useEffect','seriesIndex','triangle-upright','RelationChartLayoutEnum','_model','italic','getTransformerByCreate','next','UniverInstanceType','default','ColumnStacked','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','getImageData','tooltip','keepAspect','waterfall','chart.point','univer-box-border\x20univer-h-8','_localeService','circle','initData','categoryList','startColumn','bottom','period','ChartThemeService','AreaStacked','absolute','getHostSize','getMenuHiddenObservable','updateFloatDomProps','r2Color','onRendered','chart.waterfall.subtotal','chart.gridlines.text','chartThemeColorType','asObservable','indicatorLineType','Multiple','funnel','permission.dialog.editErr','WorkbookEditablePermission','ensureHost','chart.shape.emptyRoundRect','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','PieLabelPosition','split','chart.shape.emptyPin','univer-mb-2\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','random-dark','#,##0_);(#,##0)','openChartPanelById','toFixed','80%','Link','invalidValueType','fillTextHeight','chart.trendline.linear','focused$','bubbleCategoryList','pareto','title','getItemVisual','BarChartIcon','fillTextOffsetY','LinePointShape','ColumnPercentStacked','getLayoutRect','_componentManager','disposeWithMe','chart.relation.auto','_renderDebounceMap','titles','univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','chart.ticks.tickLength','\x22*\x20#,##0','classes','下午01:30','getViewState','string','clientY','jsx','chart.align.right','_ensureChartInstance','touchstart','section','chart.shape.emptyArrow','univer-text-gray-500','univer-w-full','sheet.numfmt.general','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','entries','origin','attributes','chartTypes.column','chart.addDataPoint','_initSheetChange','_sheetSkeletonService','activeChartModel$','chart.styleEditPanel.useDateAxis','chart.trendline.trendlineDashType','WordCloud','EmptyDiamond','_currentModel','chart.relation.forceOptions','_sheetsChartService','chart.host.provider','delete','setAttribute','getFloatDomInfo','Sankey','paretoDataPointsOptions','chart.setupChart','chartTypes.barPercentStacked','extendSeriesModel','univer-flex\x20univer-items-center\x20univer-justify-between','chart.seriesDefaultName','AreaPercentStacked','_generateCutPasteMutations','chart.msg.invalidSource','filter','univer-flex-1','sqrt','chart.customChart','setStyle','chart.titles.title','dialog.numfmt.formatTypes','includes','gridSize','Checkbox','indicatorLineColor','all','chart.border','lineStyle','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','_sheetCanvasPopManagerService','chartTypes.areaStacked','chart.indicatorLineType','easing','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','INSERT','Relation','paretoStyle','chartId','context$','shrinkToFit','numfmt','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','bubbleSeries','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','mountNode','forceOption','1,235)','#fff','univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','isPatternEqualWithoutDecimal','scaleY','endColumn','FunnelIcon','1930-08-05','circular','End','chart.align.left','LocaleService','tooltipAxisLabelBackground','waterfallStack','ColorPicker','chart.addSeries','_chartHostProvider','firstChartType','chart.styleEditPanel.repeatWordCould','fontWeight','toString','dialog.numfmt.thousandthPercentile','_chartRenderService','Line','format','A/P\x20h:mm:ss','priority','chart.withType','Input','chart.styleEditPanel.pieValScale','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','General','UniverSheetsChartPlugin','Select','message','distinctUntilChanged','blurScope','registerViewState','2eyrcDH','yyyy/MM/dd','univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','chart.bubble.size','color','Hide','11032HXTKzJ','RelationshipIcon','max','nodeShape','chart.styleEditPanel.pieValSuffix','exp','getColors','SheetSkeletonService','sheet.numfmt.currency','pieLabelStyle','_initMenus','08-05\x20下午\x2001:30','applyStyle','deg)\x20','startY','chartTypes.heatmap','chart.invalidType.connectDataPointsWithStraightLines','value','Waterfall','chart.indicatorLine','chart.percentage','MEDIA','You\x20must\x20pass\x20valid\x20HTML\x20elements,\x20or\x20ID\x20of\x20the\x20element.','dialog.numfmt.accounting','AreaLineStyle','dialog.numfmt.thousandthPercentileDesc','_sheetsChartUIService','shuffle','packageName','deepClone','linearMap','shadowOffsetX','chart.styleEditPanel.labelRotate','isArray','updateWatermark','registerCommand','getBoxLayoutParams','rotationRange','0.21.1','univer-mt-5\x20univer-flex\x20univer-justify-end','3083710WgTGXZ','pluginName','UNIVER_SHEET','rightYAxisOptions','map','univer-transition-transform\x20univer-duration-300','dataRange','chart.indicatorLineColor','removeEventListener','chart.styleEditPanel.labelPosition','univer-sheet-chart-format-dialog-id','_sheetClipboardService','enableHoverEmphasis','util','pipe','Stacked','ChartIcon','legend','getWidth','21024zuNnbh','136181XuDQSo','chart.waterfall.positiveStyle','mozClearImmediate','subtitle','Module','chart.none','chart.relation.useValueAsSymbolSize','univer-w-full\x20!univer-min-w-0','RangeSelector','isNaN','MoreDownIcon','dataPoints','Funnel','getRangeInfo','Bubble','chart.titles.titleFormat','border-box','stateTransition','suffix','chart.fill','chart.titles.mainTitle','block','EmptyRect','poly','Force','msSetImmediate','currentTarget','Pin','OPERATION','initPanel','objects','chartTypes.donut','\x22#,##0.00_);[Red]\x22','time','getCurrentTypeOfUnit$','chart.shape.rect','chart.align.center','hover','chart.trendline.log','Accounting','clearCanvas','ICommandService','IncreaseIcon','wordCloudShape','Dotted','startsWith','radarFill','borderClassName','getChartPopupMenus','Right','with','WorksheetEditPermission','canvas','interceptCommand','Triangle','chart.ticks.majorTick','wait','textBaseline','wordclouddrawn','下午1:30:30','chartTypes.waterfall','chart.legend','gap','Circular','toSpec','devicePixelRatio','clearTimeout','Radar','Fragment','WaterfallSeriesTypeEnum','_debounceHandle','asCategory','ondraw','FontColorDoubleIcon','univer-flex\x20univer-items-center\x20univer-text-base','style','chartType','#ffffff','Step','dataPointsOptions','_generatePasteMutations','startX','triangle-forward','subscribeEvent','data','_chartHostProviderService','SELECTOR','MenuItemType','#,##0.00_);[Red]#,##0.00','univer-ml-2\x20univer-transition-transform','univer-size-full','setHostStyle','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setTimeout','translate','chart.styleEditPanel.dateAxisTips','LinearIcon','__highDownDispatcher','labelContentType','getTime','setItemGraphicEl','chart.relation.circular','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','chart.seriesBlock.format','blur','chartType$','EmptyCircle','getBoundingClientRect','chart.styleEditPanel.wordCloudShape','focusDrawing','setBorder','FOCUSING_PANEL_EDITOR','xAxis','rotateRatio','chart.trendline.order','width','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','preventDefault','wordcloudstart','height','Inject','Single','triangle','BubbleIcon','fillStyle','Injector','emphasis.textStyle.fontFamily','checkHost','borderStyle','word','chart.waterfall.positiveLegendText','chart.dashType.solid','removeHost$','useValueAsSymbolSize','digitalFixed','useDependency','none','RadarChartIcon','chartTypes.radar','getAllowedChartTypes','_createHost','ChartBorderDashType','_sidebarService','Center','_(\x22','univer-text-primary-600','continuous','univer-mb-2\x20univer-flex\x20univer-items-center','COPY_TYPE','WaterfallStackTypeEnum','_sheetDrawingService','SeriesLabelPosition','chart.dataPoint','axes','Polygon','_chartModelService','SeriesName','undo','(1,235)','ISheetClipboardService','theme','heatmapMax','tooltipAxisLabelColor','span','chartTypes.funnel','valueSuffix','bold','WordCloudMuskImageService','measureText','executeCommand','chart.shape.square','chart.legendSelectModeType.','ceil','DRAWING_CHART','some','chart.shape.arrow','sheet.operation.open-chart-panel','univer-text-sm\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','weightFactor','linear','getData','beforeCommandExecuted','Bottom','getItemModel','_sheetCanvasFloatDomManagerService','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','getOwnPropertyDescriptor','positive','reverse','univer-w-full\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ThousandthPercentile','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','rangeInfo','decorate','stateAnimation','univer-text-xs','chart.styleEditPanel.halfPie','univer-box-border\x20univer-w-full\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCurrentUnitForType','TextAlign','chartModelId','InvalidValueType','univer-mb-2\x20univer-text-sm\x20univer-font-medium','info','toStringTag','.chart-host','parseInt','isSupported','Radio','chart.alignY.','addEventListener','sidebarOptions$','dialog.numfmt.dateDesc','Text','removeAll','chart.waterfall.negativeStyle','chart.trendline.showFormula','sheet.operation.hide-chart-panel','useDateAxis','dateAxisRotate','CloudOutlineIcon','bubbleSizeSeriesId','negative','SetDrawingApplyMutation','CategoryName','dialog.numfmt.currency','univer-text\x20univer-mb-2\x20univer-text-sm','gradientFill','startRow','Pie','TitlePositionEnum','remove','_copyInfo','deriveStateFromActiveSheet$','Bar','seriesList','config$','activeSheet$','8px','point','getWordCloudImageMaskMap','univer-leading-8','sheet.chart.edit.panel','chartModelAdded$','font','object','chart-host','StackType','setImmediate','chart.categoryDefaultName','cardioid','EmptySquare','selectMode','shadowColor','dashType','sheet.numfmt.accounting','style$','forceRender','defineProperty','_resizeChart','pie','MM-dd\x20A/P\x20hh:mm','wordCloudMask','tooltipAxisColor','rangeSelectMode','parseFloat','checkChartCanRender','padAngleStyle','setRenderModel','AxisAlignEnum','useState','drawMask','yAxis','chart.withColor','6AijZxk','items','_menuManagerService','push','icon','IMessageService','isRosePie','radarShape','chart.trendline.r2','chart.waterfall.subtotalStyle','ScatterChartIcon','!univer-min-w-0\x20univer-flex-1','headers','scale','hasOwnProperty','append','chart.stack','funnelUseAbsValue','chartTypes.wordCloud','eachSeriesByType','gravity','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SankeyChartIcon','clearImmediate','rightYAxis','CopySheetCommand','open','show','chart.withSize','dialog.numfmt.cancel','star','wordCloud','border','detail','univer-my-2','Observable','createElement','useEmphasis','EChartRenderEngineName','fill','seriesIndexes','fontSize','RibbonInsertGroup','showR2','chart.shape.emptySquare','chart.trendline.period','3838149MOfHbe','bind','rosePie','DropdownMenu','activeChartModel','Linear','px)\x20scale(','chart.category','Stack','1,234.56','chart.relation.title','EmptyPin','Currency','aggregate','drawingType','radar','sin','Value','EmptyTriangle','stylizeSpec','getCurrentUnitOfType','AreaChartIcon','Combination','fontFamily','unitId','_init','random','chart.axes.horizontalAxis','_commandService','univer-size-5','dialog.numfmt.confirm','discreteRangeToRange','getSheetBySheetName','focus','univer-rounded-lg\x20univer-p-2','Pareto','assign','emphasis','dialog.numfmt.dateTypes','getSkeleton','minSize','abortThreshold','List','dispose','fillTextWidth','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','test','\x22Trebuchet\x20MS\x22,\x20\x22Heiti\x20TC\x22,\x20\x22微軟正黑體\x22,\x20\x22Arial\x20Unicode\x20MS\x22,\x20\x22Droid\x20Fallback\x20Sans\x22,\x20sans-serif','IDrawingManagerService','chart.titles.titleAlign','chart.dashType.dot','min','chart.styleEditPanel.pieDigitalFixed','Dashed','red','chart.position','Error','layout','className','hidden','ISidebarService','close','transparent','root','chart.titles.titleText','IRuntimeAxisPriority','wordCloudRepeat','trendline','getName','IContextService','chart.line','values','chart.trendline.addTrendLine','ensureState','jsxs','createDimensions','rightYAxisTitle','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-px-3','chart.invalidType.gaps','overflow','UPDATE','xAxisTitle','RemoveSheetsChartMutation','Subject','sheet.numfmt.date','dialog.numfmt.general','Numeric','relationNodeShape','chart.legendVisualMapType.','postMessage','Boxplot','SheetsChartService','InsertSheetsChartMutation','getDataSource','12cazHwS','Date','rotate(','dimension','heatmapMin','dialog.numfmt.generalDesc','chart.shape.emptyDiamond','substr','_getWatermark','chart.stackType.percent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','heatmap','primary','_initCopyPaste','parentNode','square','Area','Column','DeleteIcon','chart.waterfall.negative','SHEETS_CHART_PLUGIN_NAME','weight','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','pow','MM-dd','oClearImmediate','univer-mt-2-base','Row','setOption','length','useMemo','middle','univer-mt-2.5','isFinite','subtotal','getCanvasElement','_sidebarDisposable','DataOrientation','RemoveSheetDrawingCommand','chart.axes.useRightAxis','order','(1,235)\x20','axisTitleAlign','onCommandExecuted','univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','70%','clear','createChartInstance','wordcloudstop','getContext','_contextService','1px\x20solid\x20transparent','chart.gradientFill','4579278gDPOtd','touches','render','div','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','dialog.numfmt.accountingDesc','right','item','opacity','defaultChartConfig','chart.dataRange','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','seriesValues','chart.gridlines.majorGridlines','fillText','ChartUpdateSourceCommand','hasPaddingAngle','_mountNodes','_renderModelMap','registerPreprocessor','join','univer-flex\x20univer-flex-col\x20univer-gap-4','#000','getElementById','sheet.numfmt.thousandthPercentile','Sorry\x20your\x20browser\x20not\x20support\x20wordCloud','areaLineStyle','error','setContextValue','chart.styleEditPanel.showLabelLine','createTextStyle','getUnit','appendChild','HeatmapIcon','univer-p-1.5\x20univer-text-xs','chart.shape.emptyTriangle','chart.insertChart','drawingId','sort','univer-w-[208px]','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','combineLatest','getRenderById','BoldIcon','1,235','Segmented','selectedMode','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','HeatmapChartIcon','borderColor','runtime','13:30:30','chartTypes.pie','univer-mb-2\x20univer-h-8','reduce','maxRotation','visualMapType','removeChartModel','_drawingManagerService','_initPermission','forEach','prototype','getRegisteredThemes','chart.trendline.poly','valueScale','chart.deleteChart','chart.axes.verticalAxis','function','rangeInfo$','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','ChartUpdateConfigCommand','group','Dropdown','axis','1930年08月05日','chart.shape.emptyRect','redo','IRuntimeAxisPosition','SankeyIcon','setActiveChartModel','getChartModel','getSubUnitId','\x22#,##0.00_);[Red](\x22','random-light','chart.trendline.exp','textStyle','target','univer-ml-3','DependentOn','clientX','#,##0.00_);-#,##0.00','date','isHalfPie','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','titlePosition','visible','position','titleFontSize','RadioGroup','ComboChartIcon','legendStyle','runtimeAxes','useSubtotal','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','chart.relation.layoutType','button','set','univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-pb-3\x20univer-text-sm','_rangeSelectMode','seriesResourceIndexes','_updateTransform','ItalicIcon','SheetCanvasPopManagerService','attachRangeWithCoord','chart.withShape','_createCopyInfoByRange','number','getUnitId','Button','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','sheet.command.menu-insert-chart','IRenderManagerService','fillTextOffsetX','area','getRuntimeContext','helper','DeleteEmptyIcon','univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','_generateCopyPasteMutations','registerWordCloud','size','shape','h:mm','univer-text-2xl','LogarithmicIcon','movingAvg','_initCommands','ISheetDrawingService','SheetSkeletonManagerService','chart.min','Tooltip','RadarShape','getSheetBySheetId','useAbsValue','executeChartUpdateConfig','chart.relation.emphasis','CloudIcon','bubbleYAxis','gridLine','BarStacked','ChartTrendlineType','413ZzyxQM','click','keys','bounds','force','chart.axes.rightAxis','registerLayout','log','COMMAND','chart.styleEditPanel.showLabels','chart.styleEditPanel.padAngle','dialog.numfmt.decimalPlaces','current','univer-mb-2','dataSource','mousemove','chart.waterfall.showSubtotal','chart.ticks.tickPosition','chartBitsUtils','_sheetInterceptorService','get','top','has','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','getBatchAddOp','blockExecuteWithoutPermission','dataAggregation$','rotateLabel','LineChartIcon','repeat','params','chartTypes.boxplot','allSeriesId','chart.trendline.name','lineVisible','#,##0.00_);#,##0.00','\x22#,##0.00)','CUT','chart.shape.roundRect','handleActiveSubUnitChange','Left','_debounceHandleMap','dialog.setFormat','register','stopImmediatePropagation','categoryType','abs','orient','scrollbarClassName','touchDependencies','_injector','funnelGap','1515190AETMXy','AlignTextBothIcon','chart.chartBorderColor','UniverSheetsChartUIPlugin','chart.axisPositionType.','LegendPositionEnum','drawn','chart.themes','img','chart.waterfall.stacked','Top','h:mm:ss','chart.styleEditPanel.showDataLabels','The\x20element\x20id\x20specified\x20is\x20not\x20found.','subscribe','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','ExponentialIcon','floor','chart.chartStyle','chart.positionType.','chart.waterfall.stackType','useObservable','IDialogService','save','center','range','Rect','SelectModeEnum','chart.chartAndAxisTitles','#,##0_);[Red](#,##0)','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.styleEditPanel.labelText','Heatmap','Outside','None','indicatorLabelColor','slice','BoxplotIcon','align','symbolSize','borderRadius','chart.shape.circle','univer-absolute\x20univer-right-2\x20univer-top-2','getDrawingData','concat','splice','key','SheetsChartUIController','DrawingApplyType','_openPanel','chart.cloud.title','chartTypes.relation','LabelContentType','ChartAttributeBits','chart.reset','getActiveSheet','SheetsChartUIService','Inside','transform','copyType','scene','capitalFirst','_univerInstanceService','debounce','chart.bubble.yAxis','config','MovingAverageIcon','echarts','relationLayout','indicator','getSheetId','_focusedDrawings','chartTypes.line','relation','darkMode$','seriesStyleMap','px\x20','textStyle.fontWeight','seriesResourceList','dialog.numfmt.currencyTypes','CategoryType','useCallback','series','chart.pareto.lineSeries','animation','BarPercentStacked','mergeMenu','Diamond','label','chartTypes.barStacked','_viewState','executeChartUpdateSourceConfig','getDefaultTheme','RemoveSheetCommand','maskColor','univer-w-[136px]','PieChartIcon','chart.series','chart.color','AxisValueType','fillOpacity','labelVisible','webkitSetImmediate','diamond','piecewise','Empty','\x22#,##0.00','_getSceneAndTransformerByDrawingSearch','Percentage','08-05','xAxisOptions','name','chart.visualMapScope','chart.shape.emptyCircle','yAxisOptions','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','init','onStarting','mount','chart.lineType.line','InputNumber','\x22#,##0.00_);(\x22','DrawingTypeEnum','cos','maskImage','small','querySelector','chart.theIndexItem','specialChartWidthMap','univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','univer-box-border\x20univer-flex\x20univer-w-fit\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded-md\x20univer-px-1\x20univer-py-0.5','chart.titles.rightYAxisTitle','chart.chartType','getContextValue','combineLatestWith','univer-mt-2','content','dialog.numfmt.negativeNumberTypes','baseOn','chart.waterfall.arrangement','list','subUnitId','Start','titleAlign','doughnutHole','chart.doughnutHole','univer-flex','trendlineValues','Square','Doughnut','scatterSymbolSize','IUniverInstanceService','minRotation','radio','deserializeRangeWithSheet','getBatchRemoveOp','fillRect','chart.bubble.xAxis','src','getSheetCommandTarget','chart.styleEditPanel.rosePie','getCurrentRangeDisable$','from','ChartModelService','combination','layoutAnimation','formulaColor','FOCUSING_COMMON_DRAWINGS','backgroundColor','category','Horizontal','chart.indicatorLabel','lineColor','chartTypes.pareto','minFontSize','normal','printChart','_chartThemeService','chart.openChartPanel','chart.lineType.step','isRowDirection','datetime','otherChartType','_registerChartIcons','symbol','boxSizing','InsertChartCommand','drawImage','transformToDrawingPosition','domId','repulsion','WaterfallChartIcon','sheetTransform','__default__','restore','type','13:30','Smooth','chart.stackType.stack','chart.titles.titlePosition','showLabelLine','ColumnChartIcon','getFocusedUnit','call','_removeHost$','webkitTapHighlightColor','categoryIndex','allSeriesStyle','SheetCanvasFloatDomManagerService','generateRandomId','remove$','chartTypes.area'];_0x3cbb=function(){return _0xb3f7c4;};return _0x3cbb();}const AxisOptionsEdit=_0x2c8eb0=>{const _0x40f652=_0x5db780;var _0xc6f15c,_0x9854f7,_0x388569,_0x1659ce,_0x494f89,_0x3a7836,_0x25daaf,_0x3d8f5d,_0x571b1d,_0x5aaaaa;const {localeService:_0x4458be,valueAxis:_0x35a8d5,axisOptions:_0x2c6ec2,onChange:_0x11854b,canUseDateAxis:_0x401da5,sheetsChartUIService:_0xcc056a}=_0x2c8eb0,{t:_0x2a165a}=_0x4458be,[_0x256fb7,_0x356ba9]=(0x0,react[_0x40f652(0x32e)])(_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2[_0x40f652(0x1e5)]),[_0x6b8c15,_0x4afb4e]=(0x0,react[_0x40f652(0x32e)])(_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2['min']),_0x462012=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x40f652(0x3a5)]),[_0x296242,_0x4f730e]=useChartConfigState('useDateAxis',_0xcc056a,![]),_0x525697=_0x1a3afa=>{if(_0x1a3afa!==null&&!isValidNumber(_0x1a3afa)){_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':null}),_0x4afb4e(null);return;}if(_0x1a3afa===null||_0x1a3afa===void 0x0)_0x4afb4e(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':null});else{_0x4afb4e(_0x1a3afa);if(_0x256fb7!==null&&_0x256fb7!==void 0x0&&_0x1a3afa>=_0x256fb7)_0x356ba9(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':_0x1a3afa,'max':null});else _0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':_0x1a3afa});}},_0x1dbe26=_0x42ee21=>{if(_0x42ee21!==null&&!isValidNumber(_0x42ee21)){_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':null}),_0x356ba9(null);return;}if(_0x42ee21===null||_0x42ee21===void 0x0)_0x356ba9(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':null});else{_0x356ba9(_0x42ee21);if(_0x6b8c15!==null&&_0x6b8c15!==void 0x0&&_0x42ee21<=_0x6b8c15)_0x4afb4e(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':_0x42ee21,'min':null});else _0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':_0x42ee21});}},_0x5ad891=(_0xc6f15c=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x9854f7=_0x2c6ec2[_0x40f652(0x517)])===null||_0x9854f7===void 0x0?void 0x0:_0x9854f7[_0x40f652(0x5a2)])!==null&&_0xc6f15c!==void 0x0?_0xc6f15c:_0x296242?_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x43c)][_0x40f652(0x2fb)]:0x0;return(0x0,react_jsx_runtime[_0x40f652(0x3aa)])('section',{'children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':_0x40f652(0x27b),'children':_0x2a165a('chart.axes.axisOptions')}),(0x0,react_jsx_runtime[_0x40f652(0x3aa)])(_0x40f652(0x3f6),{'className':_0x40f652(0x45a),'children':[(0x0,react_jsx_runtime['jsx'])(_0x40f652(0x3f6),{'className':_0x40f652(0x5de),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design['Checkbox'],{'checked':(_0x388569=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x1659ce=_0x2c6ec2[_0x40f652(0x517)])===null||_0x1659ce===void 0x0?void 0x0:_0x1659ce[_0x40f652(0x452)])!==null&&_0x388569!==void 0x0?_0x388569:_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x43c)][_0x40f652(0x524)],'onChange':_0x40c45a=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'label':{'visible':Boolean(_0x40c45a)}}),'children':_0x2a165a(_0x40f652(0x493))})}),!_0x35a8d5&&(0x0,react_jsx_runtime['jsxs'])(_0x40f652(0x3f6),{'className':_0x40f652(0x5de),'children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design['Checkbox'],{'checked':(_0x494f89=_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2[_0x40f652(0x2db)])!==null&&_0x494f89!==void 0x0?_0x494f89:_univerjs_pro_engine_chart[_0x40f652(0x3fc)]['axis'][_0x40f652(0x2db)],'onChange':_0x1588f9=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'reverse':Boolean(_0x1588f9)}),'children':_0x2a165a('chart.styleEditPanel.reverseAxisOrder')}),'\x20']})]}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'className':'univer-mt-2','checked':(_0x3a7836=_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2[_0x40f652(0x4ad)])!==null&&_0x3a7836!==void 0x0?_0x3a7836:![],'onChange':_0x2ca52d=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'lineVisible':Boolean(_0x2ca52d)}),'children':_0x2a165a(_0x40f652(0x5b7))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':_0x40f652(0x45a),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(FontFormatBar,{'className':'univer-mt-2',..._0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2['label'],'localeService':_0x4458be,'fontSize':(_0x25daaf=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x3d8f5d=_0x2c6ec2[_0x40f652(0x517)])===null||_0x3d8f5d===void 0x0?void 0x0:_0x3d8f5d['fontSize'])!==null&&_0x25daaf!==void 0x0?_0x25daaf:_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x448)][_0x40f652(0x35b)],'color':(_0x571b1d=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x5aaaaa=_0x2c6ec2['label'])===null||_0x5aaaaa===void 0x0?void 0x0:_0x5aaaaa['color'])!==null&&_0x571b1d!==void 0x0?_0x571b1d:_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x448)][_0x40f652(0x1e1)],'onChange':(_0x557f66,_0x51f2cd)=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'label':{[_0x557f66]:_0x51f2cd}})})}),_0x401da5&&(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x1a0)],{'checked':Boolean(_0x296242),'onChange':_0x4d55f9=>_0x4f730e===null||_0x4f730e===void 0x0?void 0x0:_0x4f730e(Boolean(_0x4d55f9)),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x47f)],{'title':_0x2a165a(_0x40f652(0x27e)),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x2c2),{'children':_0x2a165a(_0x40f652(0x636))})})})}),(0x0,react_jsx_runtime[_0x40f652(0x3aa)])(_0x40f652(0x3f6),{'className':_0x40f652(0x45a),'children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])('div',{'className':_0x40f652(0x603),'children':_0x2a165a(_0x40f652(0x203))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x1d8)],{'className':_0x40f652(0x33d),'value':String(_0x5ad891),'onChange':_0x37fc5c=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'label':{'rotate':Number(_0x37fc5c)}}),'options':axisLabelRotateOptions})]}),_0x35a8d5&&(0x0,react_jsx_runtime['jsxs'])(_0x40f652(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x40f652(0x3aa)])(_0x40f652(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':_0x40f652(0x27b),'children':_0x2a165a(_0x40f652(0x47e))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design['InputNumber'],{'value':_0x6b8c15,'onChange':_0x738e86=>{const _0x730a59=_0x40f652;_0x4afb4e(_0x738e86),_0x462012[_0x730a59(0x40f)](_univerjs_core[_0x730a59(0x28e)],![]),_0x525697(Number[_0x730a59(0x228)](_0x738e86)?null:Number(_0x738e86));},'onFocus':()=>_0x462012[_0x40f652(0x40f)](_univerjs_core[_0x40f652(0x28e)],!![]),'onBlur':_0x6d377c=>{const _0x12de7a=_0x40f652;_0x462012[_0x12de7a(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x4008d4=_0x6d377c[_0x12de7a(0x449)]['value'];_0x525697(_0x4008d4===''?null:Number(_0x4008d4));},'onPressEnter':_0x5bad1e=>{const _0xd465c2=_0x40f652,_0x46d255=_0x5bad1e[_0xd465c2(0x449)][_0xd465c2(0x1f4)];_0x525697(_0x46d255===''?null:Number(_0x46d255));}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x40f652(0x3f6),{'className':_0x40f652(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x40f652(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2a165a(_0x40f652(0x5d1))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x537)],{'value':_0x256fb7,'onChange':_0x4da058=>{const _0xf5d83b=_0x40f652;_0x356ba9(_0x4da058),_0x462012[_0xf5d83b(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x1dbe26(Number['isNaN'](_0x4da058)?null:Number(_0x4da058));},'onFocus':()=>_0x462012['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x51a0af=>{const _0x91c82d=_0x40f652;_0x462012[_0x91c82d(0x40f)](_univerjs_core[_0x91c82d(0x28e)],![]);const _0x439840=_0x51a0af[_0x91c82d(0x449)][_0x91c82d(0x1f4)];_0x1dbe26(_0x439840===''?null:Number(_0x439840));},'onPressEnter':_0x54e5db=>{const _0xa2a49d=_0x40f652,_0x3ae316=_0x54e5db[_0xa2a49d(0x449)][_0xa2a49d(0x1f4)];_0x1dbe26(_0x3ae316===''?null:Number(_0x3ae316));}})]})]})]});},GridLineAndTickOptions=_0x4f7f3e=>{const _0x3c7fb8=_0x5db780;var _0x32c63c,_0x1fc57c,_0x2be3dc,_0x32725d;const {runtimeAxes:_0x3bd72f,localeService:_0x2e5fc6,service:_0x116b7f,className:_0x5f500d}=_0x4f7f3e,{t:_0x12bd15}=_0x2e5fc6,_0x233c04=useTranslatedOptions(_0x2e5fc6,(0x0,react[_0x3c7fb8(0x3dc)])(()=>axisListOptions[_0x3c7fb8(0x197)](_0x5866d1=>{const _0x325295=_0x3c7fb8,_0x5823af=_0x3bd72f===null||_0x3bd72f===void 0x0?void 0x0:_0x3bd72f['some'](_0x23c783=>_0x23c783[_0x325295(0x453)]===_univerjs_pro_engine_chart[_0x325295(0x440)][_0x325295(0x250)]);if(_0x5866d1[_0x325295(0x1f4)]===_0x325295(0x34a))return _0x5823af;return!![];}),[_0x3bd72f])),_0x2eae07=(0x0,react[_0x3c7fb8(0x3dc)])(()=>_0x3bd72f===null||_0x3bd72f===void 0x0?void 0x0:_0x3bd72f[_0x3c7fb8(0x5c3)](_0x59693b=>_0x59693b[_0x3c7fb8(0x1d1)]===_univerjs_pro_engine_chart[_0x3c7fb8(0x3a1)]['Secondary']),[_0x3bd72f]),[_0xa428c7,_0x1976cd]=(0x0,react[_0x3c7fb8(0x32e)])(axisListOptions[0x0][_0x3c7fb8(0x1f4)]),[_0x2ffc50,_0x2a3423]=useChartConfigState(_0x3c7fb8(0x52d),_0x116b7f),[_0x5cd390,_0x39b2aa]=useChartConfigState(_0x3c7fb8(0x531),_0x116b7f),[_0x429e29,_0x15a917]=useChartConfigState(_0x3c7fb8(0x20e),_0x116b7f),_0x142a39={'xAxis':_0x2ffc50,'yAxis':_0x5cd390,'rightYAxis':_0x429e29}[_0xa428c7],_0x1a5b17={'xAxis':_0x2a3423,'yAxis':_0x39b2aa,'rightYAxis':_0x15a917}[_0xa428c7],_0x275830={'xAxis':_0x3c7fb8(0x5ea),'yAxis':_0x3c7fb8(0x5b0),'rightYAxis':_0x3c7fb8(0x3f9)}[_0xa428c7],_0x4df000=_0x142a39===null||_0x142a39===void 0x0?void 0x0:_0x142a39[_0x3c7fb8(0x59d)],_0x1b8e6a=_0x142a39===null||_0x142a39===void 0x0?void 0x0:_0x142a39[_0x3c7fb8(0x487)],_0x2184d3=(0x0,react['useCallback'])(_0x2663ea=>{_0x1a5b17===null||_0x1a5b17===void 0x0||_0x1a5b17({'gridLine':_0x2663ea});},[_0x1a5b17]),{visible:_0xc6417f,color:_0x50a226,width:_0x2b75bb}=_0x1b8e6a!==null&&_0x1b8e6a!==void 0x0?_0x1b8e6a:{},_0x45b4a0=_0xc6417f!==null&&_0xc6417f!==void 0x0?_0xc6417f:(_0x2eae07===null||_0x2eae07===void 0x0?void 0x0:_0x2eae07[_0x3c7fb8(0x453)])===_0x275830,_0x30f4c6=useTranslatedOptions(_0x2e5fc6,pieDataLabelPositionOptions),_0x4da0e6=(0x0,react[_0x3c7fb8(0x3dc)])(()=>{const _0x1a0afe=_0x3c7fb8;return defaultOption[_0x1a0afe(0x517)]=_0x12bd15(defaultOption[_0x1a0afe(0x517)]),[defaultOption,...tickLengthOptions];},[_0x12bd15]),_0x29e378=(0x0,react[_0x3c7fb8(0x3dc)])(()=>{const _0x2a3504=_0x3c7fb8;return defaultOption[_0x2a3504(0x517)]=_0x12bd15(defaultOption[_0x2a3504(0x517)]),[defaultOption,...tickWidthOptions];},[_0x12bd15]);return(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x5f500d,'children':[(0x0,react_jsx_runtime['jsx'])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x45a),'children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design['Select'],{'className':_0x3c7fb8(0x226),'options':_0x233c04,'value':_0xa428c7,'onChange':_0x1976cd})}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1a0)],{'checked':_0x45b4a0,'onChange':_0x237f29=>_0x2184d3===null||_0x2184d3===void 0x0?void 0x0:_0x2184d3({'visible':Boolean(_0x237f29)}),'children':_0x12bd15(_0x3c7fb8(0x400))})})}),_0x45b4a0&&(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x3c7fb8(0x45a),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x27b),'children':[_0x12bd15(_0x3c7fb8(0x5f5)),_0x12bd15(_0x3c7fb8(0x521))]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(ColorPickerControl,{'color':_0x50a226,'onChange':_0x5a2b01=>_0x2184d3===null||_0x2184d3===void 0x0?void 0x0:_0x2184d3({'color':_0x5a2b01!==null&&_0x5a2b01!==void 0x0?_0x5a2b01:void 0x0})})]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x3c7fb8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12bd15(_0x3c7fb8(0x59e),_0x12bd15(_0x3c7fb8(0x5f5)))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x2b75bb!==null&&_0x2b75bb!==void 0x0?_0x2b75bb:''),'onChange':_0x22da92=>_0x2184d3===null||_0x2184d3===void 0x0?void 0x0:_0x2184d3({'width':Number(_0x22da92)}),'options':tickThicknessOptions})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x3c7fb8(0x3f6),{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1a0)],{'checked':_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x452)],'onChange':_0x385dcf=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'visible':Boolean(_0x385dcf)}}),'children':_0x12bd15(_0x3c7fb8(0x256))})}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12bd15(_0x3c7fb8(0x49b))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x32c63c=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000['position'])!==null&&_0x32c63c!==void 0x0?_0x32c63c:_univerjs_pro_engine_chart[_0x3c7fb8(0x600)][_0x3c7fb8(0x4e0)],'options':_0x30f4c6,'onChange':_0x533e79=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'position':_0x533e79}})})]}),(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12bd15(_0x3c7fb8(0x61d))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x1fc57c=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x3db)])!==null&&_0x1fc57c!==void 0x0?_0x1fc57c:defaultOption[_0x3c7fb8(0x1f4)]),'options':_0x4da0e6,'onChange':_0x1716f9=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'length':_0x1716f9===defaultOption[_0x3c7fb8(0x1f4)]?void 0x0:Number(_0x1716f9)}})})]})]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])('div',{'className':_0x3c7fb8(0x45a),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x27b),'children':_0x12bd15('chart.withThickness',_0x12bd15('chart.line'))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x2be3dc=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x5ac)])!==null&&_0x2be3dc!==void 0x0?_0x2be3dc:defaultOption[_0x3c7fb8(0x1f4)]),'options':_0x29e378,'onChange':_0x46b57d=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'lineWidth':_0x46b57d===defaultOption[_0x3c7fb8(0x1f4)]?void 0x0:Number(_0x46b57d)}})})]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x27b),'children':_0x12bd15(_0x3c7fb8(0x331),_0x12bd15(_0x3c7fb8(0x3a6)))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(ColorPickerControl,{'color':(_0x32725d=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x56b)])!==null&&_0x32725d!==void 0x0?_0x32725d:'','onChange':_0x3a9e1c=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'lineColor':_0x3a9e1c!==null&&_0x3a9e1c!==void 0x0?_0x3a9e1c:void 0x0}})})]})]})]})]})]});},IndicatorLine=_0x5b491f=>{const _0x495d51=_0x5db780,{localeService:_0x45a46c,onChange:_0x1ce73c,indicatorLabelColor:_0x2c5d91,indicatorLineType:_0x212f80,indicatorLabelTextColor:_0x345bf2,indicatorLineColor:_0x3733fe}=_0x5b491f,{t:_0x53d267}=_0x45a46c,_0x1ba19c=useTranslatedOptions(_0x45a46c,borderDashTypeOptions);return(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(react_jsx_runtime[_0x495d51(0x263)],{'children':[(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x1aa),'children':[(0x0,react_jsx_runtime[_0x495d51(0x3aa)])('div',{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x495d51(0x3f6),{'className':_0x495d51(0x27b),'children':_0x53d267(_0x495d51(0x1a8))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x495d51(0x1d8)],{'className':_0x495d51(0x226),'value':_0x212f80,'options':_0x1ba19c,'onChange':_0x54b987=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLineType':_0x54b987});}})]}),(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime[_0x495d51(0x624)])(_0x495d51(0x3f6),{'className':_0x495d51(0x27b),'children':_0x53d267(_0x495d51(0x212))}),(0x0,react_jsx_runtime[_0x495d51(0x624)])(ColorPickerControl,{'color':_0x3733fe,'onChange':_0x7e522=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLineColor':_0x7e522});}})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x495d51(0x3f6),{'className':_0x495d51(0x1aa),'children':[(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime[_0x495d51(0x624)])(_0x495d51(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x53d267(_0x495d51(0x56a))}),(0x0,react_jsx_runtime[_0x495d51(0x624)])(ColorPickerControl,{'color':_0x2c5d91,'onChange':_0xaf4c4e=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLabelColor':_0xaf4c4e});}})]}),(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime[_0x495d51(0x624)])(_0x495d51(0x3f6),{'className':_0x495d51(0x27b),'children':_0x53d267('chart.indicatorValue')}),(0x0,react_jsx_runtime[_0x495d51(0x624)])(ColorPickerControl,{'color':_0x345bf2,'onChange':_0x5a4fff=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLabelTextColor':_0x5a4fff});}})]})]})]});},PercentageChartTypes=new Set([_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Pie'],_univerjs_pro_engine_chart['ChartTypeBits']['Doughnut'],_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x194)],_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['BarPercentStacked'],_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x615)]]),DataLabelOptions=_0x133801=>{const _0x5594c6=_0x5db780;var _0x46b29e,_0x524465;const {fallbackLabelStyle:_0x4f11f9,labelStyle:_0x5b4e85,positionOptions:_0x43cd46,contentTypeOptions:_0x4d225d,onLabelStyleChange:_0x57b8ac,onVisibleChange:_0x145f5c,onPadAngleChange:_0x46671e,localeService:_0x5973f5,isPieLike:_0x26f5bb,padAngleStyle:_0x3e9810,onHalfPieChange:_0x5941bb,isHalfPie:_0x495b26,onRosePieChange:_0x31d249,isRosePie:_0x2e98d6,onShowLabelLineChange:_0x10531a,showLabelLine:_0x92f2f1,chartType:_0x44867d}=_0x133801,_0x57e865={..._0x4f11f9,..._0x5b4e85},{contentType:_0x60d94d}=_0x57e865,_0x2d08db=(0x0,react[_0x5594c6(0x3dc)])(()=>{const _0x2aa810=_0x5594c6;if(!_0x60d94d)return[];const _0xbe8652=labelContentTypeList['filter'](_0x5b43e1=>_univerjs_pro_engine_chart['chartBitsUtils'][_0x2aa810(0x4a0)](_0x60d94d,_0x5b43e1)),_0x3ea045=[];for(const _0x1dc6a5 of _0xbe8652)if(_0x1dc6a5===_univerjs_pro_engine_chart[_0x2aa810(0x4f3)][_0x2aa810(0x52b)]){if(PercentageChartTypes[_0x2aa810(0x4a0)](_0x44867d))_0x3ea045[_0x2aa810(0x335)](_0x1dc6a5);}else _0x3ea045[_0x2aa810(0x335)](_0x1dc6a5);return _0x3ea045[_0x2aa810(0x20f)](_0x552769=>String(_0x552769));},[_0x60d94d]),_0xa66d13=(0x0,react[_0x5594c6(0x510)])(_0x37e0c6=>{const _0x201de6=_0x5594c6,_0x6eaac2=_0x37e0c6['map'](_0x3d8315=>Number(_0x3d8315));if(_0x6eaac2['length']<=0x0)return;const _0x89d649=_0x6eaac2['length']>0x0?_0x6eaac2['reduce']((_0x52e8f0,_0x4d17b1)=>_0x52e8f0|_0x4d17b1):_univerjs_pro_engine_chart['LabelContentType'][_0x201de6(0x528)];_0x57b8ac===null||_0x57b8ac===void 0x0||_0x57b8ac('contentType',_0x89d649);},[_0x57b8ac]),{t:_0x70976d}=_0x5973f5;return(0x0,react_jsx_runtime[_0x5594c6(0x3aa)])(_0x5594c6(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x5594c6(0x1a0)],{'checked':(_0x46b29e=_0x57e865[_0x5594c6(0x452)])!==null&&_0x46b29e!==void 0x0?_0x46b29e:![],'onChange':_0x2f6e08=>{_0x145f5c===null||_0x145f5c===void 0x0||_0x145f5c(Boolean(_0x2f6e08));},'children':_0x70976d(_0x5594c6(0x4cb))})}),_0x26f5bb&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design[_0x5594c6(0x1a0)],{'checked':_0x3e9810!==null&&_0x3e9810!==void 0x0?_0x3e9810:![],'onChange':_0x5ebb43=>{_0x46671e===null||_0x46671e===void 0x0||_0x46671e(Boolean(_0x5ebb43));},'children':_0x70976d(_0x5594c6(0x494))})}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':_0x495b26!==null&&_0x495b26!==void 0x0?_0x495b26:![],'onChange':_0x2f89b9=>{_0x5941bb===null||_0x5941bb===void 0x0||_0x5941bb(Boolean(_0x2f89b9));},'children':_0x70976d(_0x5594c6(0x2e4))})}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design[_0x5594c6(0x1a0)],{'checked':_0x2e98d6!==null&&_0x2e98d6!==void 0x0?_0x2e98d6:![],'onChange':_0x104964=>{_0x31d249===null||_0x31d249===void 0x0||_0x31d249(Boolean(_0x104964));},'children':_0x70976d(_0x5594c6(0x55f))})}),_0x57e865[_0x5594c6(0x452)]===!![]&&(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design['Checkbox'],{'checked':_0x92f2f1!==null&&_0x92f2f1!==void 0x0?_0x92f2f1:![],'onChange':_0x137f9c=>{_0x10531a===null||_0x10531a===void 0x0||_0x10531a(Boolean(_0x137f9c));},'children':_0x70976d(_0x5594c6(0x410))})})]}),_0x57e865[_0x5594c6(0x452)]&&(0x0,react_jsx_runtime[_0x5594c6(0x3aa)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x62d),'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x70976d(_0x5594c6(0x214))}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design[_0x5594c6(0x1d8)],{'className':_0x5594c6(0x226),'value':(_0x524465=_0x57e865[_0x5594c6(0x453)])!==null&&_0x524465!==void 0x0?_0x524465:'','onChange':_0x1039fe=>_0x57b8ac===null||_0x57b8ac===void 0x0?void 0x0:_0x57b8ac(_0x5594c6(0x453),_0x1039fe),'options':_0x43cd46}),_0x4d225d&&(0x0,react_jsx_runtime[_0x5594c6(0x3aa)])(react_jsx_runtime[_0x5594c6(0x263)],{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':_0x70976d(_0x5594c6(0x4de))}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x41a),'children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design['MultipleSelect'],{'className':'univer-w-full','value':_0x2d08db,'options':_0x4d225d,'onChange':_0xa66d13})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x5594c6(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':_0x70976d(_0x5594c6(0x3a0))}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(FontFormatBar,{..._0x57e865,'localeService':_0x5973f5,'onChange':_0x57b8ac})]})]})]});},FillOptions=_0x54f55e=>{const _0xddfeea=_0x5db780;var _0x1aae8a,_0x2de27d;const {localeService:_0x445ece,seriesStyle:_0x317354,onSeriesStyleChange:_0x52f132,controlName:_0x55162d,allSeriesStyle:_0x14b301,chartType:_0xf80d6d}=_0x54f55e,{t:_0x2d658f}=_0x445ece,_0x215a46=_0xf80d6d===_univerjs_pro_engine_chart[_0xddfeea(0x5c6)][_0xddfeea(0x262)]?_univerjs_pro_engine_chart['defaultChartConfig'][_0xddfeea(0x36f)]['areaOpacity']:_univerjs_pro_engine_chart['defaultChartConfig'][_0xddfeea(0x29f)][_0xddfeea(0x3fb)];return(0x0,react_jsx_runtime['jsxs'])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x1aa),'children':[(0x0,react_jsx_runtime[_0xddfeea(0x3aa)])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x27b),'children':_0x2d658f(_0xddfeea(0x331),_0x55162d)}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':(_0x317354===null||_0x317354===void 0x0?void 0x0:_0x317354[_0xddfeea(0x1e1)])||(_0x14b301===null||_0x14b301===void 0x0?void 0x0:_0x14b301[_0xddfeea(0x1e1)])||'','onChange':_0x1147ca=>_0x52f132===null||_0x52f132===void 0x0?void 0x0:_0x52f132({'color':_0x1147ca})})]}),(0x0,react_jsx_runtime[_0xddfeea(0x3aa)])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x5de),'children':[(0x0,react_jsx_runtime[_0xddfeea(0x624)])(_0xddfeea(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d658f('chart.withOpacity',_0x55162d)}),(0x0,react_jsx_runtime[_0xddfeea(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x1aae8a=(_0x2de27d=_0x317354===null||_0x317354===void 0x0?void 0x0:_0x317354[_0xddfeea(0x523)])!==null&&_0x2de27d!==void 0x0?_0x2de27d:_0x14b301===null||_0x14b301===void 0x0?void 0x0:_0x14b301['fillOpacity'])!==null&&_0x1aae8a!==void 0x0?_0x1aae8a:_0x215a46),'options':lineOpacityOptions,'onChange':_0x4be4c9=>_0x52f132===null||_0x52f132===void 0x0?void 0x0:_0x52f132({'fillOpacity':Number(_0x4be4c9)})})]})]});},BorderOptions=_0x3cbeaa=>{const _0x5b10f8=_0x5db780;var _0x178b86,_0x3b9cf0,_0x1a3afb,_0x1825a5;const {localeService:_0x59533b,borderStyle:_0x5e928c,onSeriesStyleChange:_0x416eeb,controlName:_0x30428f,hideBorder:_0x21c0b5,allSeriesBorderStyle:_0x4c0ca6,isLineOrAreaChart:_0x1046f}=_0x3cbeaa,_0x500e3a=useTranslatedOptions(_0x59533b,borderDashTypeOptions),{t:_0x225210}=_0x59533b,_0x2e3953=_0x1046f?borderWidthOptions[_0x5b10f8(0x4e3)](0x1):borderWidthOptions;return(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[_0x21c0b5&&(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(_0x5b10f8(0x3f6),{'className':_0x5b10f8(0x1aa),'children':[(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])('div',{'className':_0x5b10f8(0x5de),'children':[(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_0x5b10f8(0x3f6),{'className':_0x5b10f8(0x27b),'children':_0x225210(_0x5b10f8(0x331),_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(ColorPickerControl,{'color':(_0x178b86=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c[_0x5b10f8(0x1e1)])!==null&&_0x178b86!==void 0x0?_0x178b86:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6[_0x5b10f8(0x1e1)],'onChange':_0x4ac43a=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'color':_0x4ac43a}})})]}),(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(_0x5b10f8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x5b10f8(0x27b),'children':_0x225210(_0x5b10f8(0x596),_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_univerjs_design[_0x5b10f8(0x1d8)],{'className':_0x5b10f8(0x226),'value':String((_0x3b9cf0=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c[_0x5b10f8(0x3fb)])!==null&&_0x3b9cf0!==void 0x0?_0x3b9cf0:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6['opacity']),'options':lineOpacityOptions,'onChange':_0x25b17d=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'opacity':Number(_0x25b17d)}})})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x5b10f8(0x3f6),{'className':_0x5b10f8(0x1aa),'children':[(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(_0x5b10f8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x5b10f8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x225210('chart.withType',_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_univerjs_design['Select'],{'className':_0x5b10f8(0x226),'value':(_0x1a3afb=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c[_0x5b10f8(0x31e)])!==null&&_0x1a3afb!==void 0x0?_0x1a3afb:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6['dashType'],'options':_0x500e3a,'onChange':_0x628902=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'dashType':_0x628902}})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x5b10f8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x5b10f8(0x624)])('div',{'className':_0x5b10f8(0x27b),'children':_0x225210(_0x5b10f8(0x59e),_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_univerjs_design[_0x5b10f8(0x1d8)],{'className':_0x5b10f8(0x226),'value':String((_0x1825a5=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c['width'])!==null&&_0x1825a5!==void 0x0?_0x1825a5:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6[_0x5b10f8(0x292)]),'options':_0x2e3953,'onChange':_0x1751e1=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'width':Number(_0x1751e1)}})})]})]})]});},LinePointOptions=_0x1d6b0a=>{const _0xd95e7=_0x5db780,{localeService:_0x759f0c,pointStyle:_0x48149a,controls:_0x34895b,onChange:_0x3a2428}=_0x1d6b0a,_0x596658=useTranslatedOptions(_0x759f0c,linePointShapeOptions),_0x1ceb61=useTranslatedOptions(_0x759f0c,linePointSizeOptions),{t:_0x2efd4f}=_0x759f0c,_0x2ff85=_0x34895b['map'](_0x22dbc7=>{const _0x18de31=_0x3299;switch(_0x22dbc7){case _0x18de31(0x476):return(0x0,react_jsx_runtime[_0x18de31(0x3aa)])(_0x18de31(0x3f6),{'className':_0x18de31(0x5de),'children':[(0x0,react_jsx_runtime[_0x18de31(0x624)])(_0x18de31(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2efd4f(_0x18de31(0x465),_0x2efd4f(_0x18de31(0x5e3)))}),(0x0,react_jsx_runtime[_0x18de31(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x48149a[_0x18de31(0x476)]),'options':_0x596658,'onChange':_0x529a07=>_0x3a2428===null||_0x3a2428===void 0x0?void 0x0:_0x3a2428(_0x18de31(0x476),_0x529a07)})]},_0x22dbc7);case'size':return(0x0,react_jsx_runtime[_0x18de31(0x3aa)])(_0x18de31(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x18de31(0x624)])(_0x18de31(0x3f6),{'className':_0x18de31(0x27b),'children':_0x2efd4f(_0x18de31(0x34e),_0x2efd4f(_0x18de31(0x2b7)))}),(0x0,react_jsx_runtime[_0x18de31(0x624)])(_univerjs_design[_0x18de31(0x1d8)],{'className':_0x18de31(0x226),'value':String(_0x48149a[_0x18de31(0x475)]),'options':_0x1ceb61,'onChange':_0x197450=>_0x3a2428===null||_0x3a2428===void 0x0?void 0x0:_0x3a2428(_0x18de31(0x475),Number(_0x197450))})]},_0x22dbc7);case _0x18de31(0x1e1):return(0x0,react_jsx_runtime[_0x18de31(0x3aa)])(_0x18de31(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x18de31(0x624)])(_0x18de31(0x3f6),{'className':_0x18de31(0x27b),'children':_0x2efd4f(_0x18de31(0x331),_0x2efd4f('chart.dataPoint'))}),(0x0,react_jsx_runtime[_0x18de31(0x624)])(ColorPickerControl,{'color':_0x48149a[_0x18de31(0x1e1)],'onChange':_0x3cb6cf=>_0x3a2428===null||_0x3a2428===void 0x0?void 0x0:_0x3a2428(_0x18de31(0x1e1),_0x3cb6cf)})]},_0x22dbc7);}return null;}),_0x4b5ffa=[];for(let _0x18b677=0x0;_0x18b677<_0x2ff85['length'];_0x18b677+=0x2)_0x4b5ffa['push']((0x0,react_jsx_runtime['jsxs'])(_0xd95e7(0x3f6),{'className':_0xd95e7(0x1aa),'children':[_0x2ff85[_0x18b677],_0x18b677+0x1<_0x2ff85[_0xd95e7(0x3db)]?_0x2ff85[_0x18b677+0x1]:(0x0,react_jsx_runtime[_0xd95e7(0x624)])(_0xd95e7(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between'})]},_0x18b677));return(0x0,react_jsx_runtime[_0xd95e7(0x624)])(react_jsx_runtime[_0xd95e7(0x263)],{'children':[..._0x4b5ffa]});},AxisControl=_0x5ed5f1=>{const _0x1be269=_0x5db780,{localeService:_0x251fec,rightYAxis:_0x288aa6,onSeriesStyleChange:_0x48685a}=_0x5ed5f1,{t:_0xc86d8}=_0x251fec;return(0x0,react_jsx_runtime[_0x1be269(0x624)])('div',{'className':_0x1be269(0x1aa),'children':(0x0,react_jsx_runtime[_0x1be269(0x624)])(_0x1be269(0x3f6),{'className':_0x1be269(0x5de),'children':(0x0,react_jsx_runtime[_0x1be269(0x624)])(_univerjs_design[_0x1be269(0x1a0)],{'checked':_0x288aa6,'onChange':_0x1bf76f=>{_0x48685a===null||_0x48685a===void 0x0||_0x48685a({'rightYAxis':Boolean(_0x1bf76f)});},'children':_0xc86d8(_0x1be269(0x3e5))})})});},fallbackPointStyle={'shape':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x30f)]['shape'],'size':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x30f)][_0x5db780(0x475)],'color':_0x5db780(0x39e)},linePointControls$2=[_0x5db780(0x476),'size'],DataPointsEdit=_0x47fe98=>{const _0x1339f5=_0x5db780,{chartType:_0x1ee5e8,data:_0x2e1339,options:_0x123184,localeService:_0x1d8c3c,onChange:_0x3a9d29}=_0x47fe98,{t:_0xf04ba1}=_0x1d8c3c,_0x34a914=_0x1ee5e8===_univerjs_pro_engine_chart[_0x1339f5(0x5c6)]['Line'],_0xc108ee=_0x2e1339!==null&&_0x2e1339!==void 0x0?_0x2e1339:{};return(0x0,react_jsx_runtime[_0x1339f5(0x624)])(_0x1339f5(0x3f6),{'className':_0x1339f5(0x408),'children':Object[_0x1339f5(0x48c)](_0xc108ee)[_0x1339f5(0x20f)](_0x1a65d9=>{return{'key':_0x1a65d9,'style':_0xc108ee[Number(_0x1a65d9)]};})[_0x1339f5(0x20f)](_0x25a12d=>{const _0x3ec064=_0x1339f5;var _0xd21550;const {style:_0x6931af}=_0x25a12d;if(_0x6931af===void 0x0)return null;return(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])('div',{'className':_0x3ec064(0x532),'children':[(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])('div',{'className':_0x3ec064(0x1aa),'children':[(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])(_0x3ec064(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_0x3ec064(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xf04ba1(_0x3ec064(0x2b7))}),(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_univerjs_design[_0x3ec064(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x25a12d[_0x3ec064(0x4ed)],'options':_0x123184,'onChange':_0x1a6bc4=>{const _0x2cdf2a=_0x3ec064;_0x3a9d29===null||_0x3a9d29===void 0x0||_0x3a9d29({[_0x25a12d[_0x2cdf2a(0x4ed)]]:void 0x0,[Number(_0x1a6bc4)]:_0x25a12d['style']});}})]}),(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])('div',{'className':_0x3ec064(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3ec064(0x3f6),{'className':_0x3ec064(0x27b),'children':_0xf04ba1('chart.color')}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':(_0xd21550=_0x6931af===null||_0x6931af===void 0x0?void 0x0:_0x6931af[_0x3ec064(0x1e1)])!==null&&_0xd21550!==void 0x0?_0xd21550:'','onChange':_0x47377a=>{const _0x3f0c43=_0x3ec064;_0x3a9d29===null||_0x3a9d29===void 0x0||_0x3a9d29({[_0x25a12d[_0x3f0c43(0x4ed)]]:{'color':_0x47377a}});}})]}),(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_univerjs_design['Button'],{'className':_0x3ec064(0x4e9),'variant':'text','onClick':()=>_0x3a9d29===null||_0x3a9d29===void 0x0?void 0x0:_0x3a9d29({[_0x25a12d['key']]:void 0x0}),'children':(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_univerjs_icons[_0x3ec064(0x3d0)],{})})]}),_0x34a914&&(0x0,react_jsx_runtime[_0x3ec064(0x624)])(LinePointOptions,{'pointStyle':{...fallbackPointStyle,..._0x25a12d['style']},'controls':linePointControls$2,'localeService':_0x1d8c3c,'onChange':(_0x2901e0,_0xc79e00)=>_0x3a9d29===null||_0x3a9d29===void 0x0?void 0x0:_0x3a9d29({[_0x25a12d[_0x3ec064(0x4ed)]]:{[_0x2901e0]:_0xc79e00}})})]},_0x25a12d['key']);})});},fallbackLabelStyle$2={'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x448)]['fontSize'],'contentType':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x281)],'position':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x448)][_0x5db780(0x453)]},ParetoStyleEdit=_0x45b481=>{const _0xda5740=_0x5db780,{localeService:_0x5a2def,service:_0xc36a8f,isLineSeries:_0x598f7d}=_0x45b481,{t:_0x87844c}=_0x5a2def,[_0x25b06b]=useChartConfigState(_0xda5740(0x58e),_0xc36a8f),[_0x5e9c90,_0x3f4dc4]=useChartConfigState(_0xda5740(0x1ad),_0xc36a8f),_0x457002=[_0xda5740(0x476),_0xda5740(0x475),_0xda5740(0x1e1)],[_0x54e48e]=useChartConfigState(_0xda5740(0x642),_0xc36a8f),_0xe7cc66=_0x360426=>{_0x3f4dc4({'lineStyle':{..._0x360426}});},_0x47e92f=_0x550df8=>{_0x3f4dc4({'barStyle':{..._0x550df8}});},_0xdf2764=_0x598f7d?_0xe7cc66:_0x47e92f,_0x27ceb8=_univerjs_pro_engine_chart['defaultChartConfig']['borderStyle'],_0x13032b=_0x598f7d?_0x5e9c90===null||_0x5e9c90===void 0x0?void 0x0:_0x5e9c90[_0xda5740(0x1a4)]:_0x5e9c90===null||_0x5e9c90===void 0x0?void 0x0:_0x5e9c90['barStyle'],_0x1c3306=_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x22a)],_0x337757=_0x2f9693=>{const _0x36b2ae=_0xda5740;if(_0x13032b&&_0x13032b[_0x36b2ae(0x22a)]&&_0x13032b[_0x36b2ae(0x22a)][_0x2f9693])return;_0xdf2764({'dataPoints':{[_0x2f9693]:{}}});},_0x31afff=_0x7d6ad0=>{_0xdf2764({'dataPoints':_0x7d6ad0});},_0x5f000e=useTranslatedOptions(_0x5a2def,dataLabelPositionOptions),_0xfbaff6=(0x0,react[_0xda5740(0x3dc)])(()=>{return labelContentOptions['map'](_0x501433=>{const _0x1ebe7f=_0x3299;return{'value':_0x501433['value'],'label':_0x5a2def['t'](_0x501433[_0x1ebe7f(0x517)])};});},[_0x5a2def]),_0x587b02=Object[_0xda5740(0x384)]({'color':'transparent','opacity':_0x27ceb8[_0xda5740(0x3fb)],'width':_0x598f7d?_0x27ceb8[_0xda5740(0x53f)]['lineOrArea']:_0x27ceb8['width'],'dashType':_0x27ceb8[_0xda5740(0x31e)]},_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x352)]),_0x1021b3=Object[_0xda5740(0x384)]({'shape':_univerjs_pro_engine_chart[_0xda5740(0x3fc)][_0xda5740(0x30f)][_0xda5740(0x476)],'size':_univerjs_pro_engine_chart[_0xda5740(0x3fc)][_0xda5740(0x60f)][_0xda5740(0x4e6)],'color':_0xda5740(0x39e)},_0x25b06b===null||_0x25b06b===void 0x0?void 0x0:_0x25b06b['point'],_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x30f)]),_0x2fab90=Object['assign']({},_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x517)]);return(0x0,react_jsx_runtime[_0xda5740(0x3aa)])('section',{'className':_0xda5740(0x1b2),'children':[(0x0,react_jsx_runtime[_0xda5740(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0xda5740(0x5c6)][_0xda5740(0x383)],'allSeriesStyle':_0x25b06b,'controlName':_0x87844c(_0x598f7d?_0xda5740(0x3a6):_0xda5740(0x232)),'seriesStyle':_0x13032b,'onSeriesStyleChange':_0xdf2764,'localeService':_0x5a2def}),(0x0,react_jsx_runtime[_0xda5740(0x624)])(BorderOptions,{'isLineOrAreaChart':_0x598f7d,'allSeriesBorderStyle':_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b['border'],'hideBorder':!_0x598f7d,'controlName':_0x87844c(_0x598f7d?_0xda5740(0x3a6):'chart.border'),'borderStyle':_0x587b02,'onSeriesStyleChange':_0xdf2764,'localeService':_0x5a2def}),_0x598f7d&&(0x0,react_jsx_runtime[_0xda5740(0x624)])(LinePointOptions,{'pointStyle':_0x1021b3,'onChange':(_0x211ef9,_0x2fb1b0)=>_0xdf2764({'point':{[_0x211ef9]:_0x2fb1b0}}),'controls':_0x457002,'localeService':_0x5a2def}),!_0x598f7d&&(0x0,react_jsx_runtime[_0xda5740(0x3aa)])(react_jsx_runtime[_0xda5740(0x263)],{'children':[(0x0,react_jsx_runtime[_0xda5740(0x3aa)])('div',{'className':'univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x3f6),{'className':_0xda5740(0x5de),'children':(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x3f6),{'className':_0xda5740(0x5ff),'children':_0x87844c(_0xda5740(0x5c0),_0x87844c(_0xda5740(0x2b7)))})}),(0x0,react_jsx_runtime[_0xda5740(0x624)])('div',{'className':_0xda5740(0x5de),'children':(0x0,react_jsx_runtime[_0xda5740(0x624)])(DropdownSelector,{'value':'','menus':_0x54e48e!==null&&_0x54e48e!==void 0x0?_0x54e48e:[],'onSelect':_0x42479a=>_0x337757(+_0x42479a),'children':(0x0,react_jsx_runtime[_0xda5740(0x3aa)])(_0xda5740(0x3f6),{'className':_0xda5740(0x2d8),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0xda5740(0x249)],{}),(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x2c2),{'children':_0x87844c(_0xda5740(0x632))})]})})})]}),_0x1c3306&&(0x0,react_jsx_runtime[_0xda5740(0x624)])(DataPointsEdit,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0xda5740(0x383)],'data':_0x1c3306,'options':_0x54e48e!==null&&_0x54e48e!==void 0x0?_0x54e48e:[],'onChange':_0x31afff,'localeService':_0x5a2def})]}),(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x3f6),{'className':_0xda5740(0x546),'children':(0x0,react_jsx_runtime[_0xda5740(0x624)])(DataLabelOptions,{'localeService':_0x5a2def,'fallbackLabelStyle':fallbackLabelStyle$2,'labelStyle':_0x2fab90,'positionOptions':_0x5f000e,'contentTypeOptions':_0xfbaff6,'onLabelStyleChange':(_0x2aacba,_0x13dbf6)=>_0xdf2764({'label':{[_0x2aacba]:_0x13dbf6}}),'onVisibleChange':_0x58b9db=>_0xdf2764({'label':{'visible':_0x58b9db}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart[_0xda5740(0x5c6)][_0xda5740(0x383)]})})]});},PieChartStyleEdit=_0x2fad68=>{const _0x357016=_0x5db780,{chartType:_0x5a4996,service:_0x1d32a4,localeService:_0x242112,onChartTypeChange:_0x672891}=_0x2fad68,[_0x3a8add,_0x379796]=useChartConfigState(_0x357016(0x5be),_0x1d32a4),[_0x141874,_0x2dba7b]=useChartConfigState(_0x357016(0x1ec),_0x1d32a4),[_0x19a7c6,_0x12d458]=useChartConfigState(_0x357016(0x32b),_0x1d32a4),[_0x2bb69c,_0x1c901c]=useChartConfigState(_0x357016(0x44f),_0x1d32a4),[_0x645d4c,_0x171351]=useChartConfigState(_0x357016(0x338),_0x1d32a4),[_0x29be78,_0x5cec82]=useChartConfigState(_0x357016(0x587),_0x1d32a4),[_0x400580,_0x219f09]=useChartConfigState('valueScale',_0x1d32a4),[_0x5c6f71,_0x9f4b6a]=useChartConfigState('valueSuffix',_0x1d32a4),[_0x184e69,_0x3c0fa8]=useChartConfigState(_0x357016(0x2a5),_0x1d32a4),[_0x5a0e27,_0x780dbf]=(0x0,react[_0x357016(0x32e)])(_0x5c6f71||''),_0x5bea4c=_0x5a4996===_univerjs_pro_engine_chart[_0x357016(0x5c6)][_0x357016(0x554)]?_univerjs_pro_engine_chart['defaultChartConfig'][_0x357016(0x324)]['doughnutHole']:0x0,[_0xfe7f46,_0x11748f]=useChartConfigState(_0x357016(0x54f),_0x1d32a4),_0x1eeb2f=useTranslatedOptions(_0x242112,pieDataLabelPositionOptions),_0x4d1456=useTranslatedOptions(_0x242112,pieLabelContentOptions),_0x1787b2=(0x0,_univerjs_ui[_0x357016(0x2a6)])(_univerjs_core['IContextService']),_0x594c78=(0x0,react[_0x357016(0x3dc)])(()=>{const _0x12f9b5=_0x357016;return{'visible':!![],'contentType':_univerjs_pro_engine_chart[_0x12f9b5(0x3fc)][_0x12f9b5(0x324)][_0x12f9b5(0x281)],'fontSize':_univerjs_pro_engine_chart[_0x12f9b5(0x3fc)][_0x12f9b5(0x448)]['fontSize'],'position':_univerjs_pro_engine_chart[_0x12f9b5(0x600)][_0x12f9b5(0x4e0)]};},[]),_0x59140f=(0x0,react['useCallback'])(_0x32a399=>{const _0xe94312=_0x357016,_0x14105d=Number(_0x32a399),_0x4a8eb1=_0x14105d>0x0?_univerjs_pro_engine_chart[_0xe94312(0x5c6)][_0xe94312(0x554)]:_univerjs_pro_engine_chart[_0xe94312(0x5c6)]['Pie'];if(_0x4a8eb1!==_0x5a4996)_0x672891===null||_0x672891===void 0x0||_0x672891(_0x4a8eb1);_0x11748f(_0x14105d);},[_0x5a4996,_0x672891]),{t:_0x22bbdf}=_0x242112;return(0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':_0x357016(0x45a),'children':[(0x0,react_jsx_runtime[_0x357016(0x3aa)])(_0x357016(0x3f6),{'className':_0x357016(0x5de),'children':[(0x0,react_jsx_runtime[_0x357016(0x624)])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x550))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(_univerjs_design[_0x357016(0x1d8)],{'className':_0x357016(0x226),'value':_0xfe7f46?String(_0xfe7f46):_0x5bea4c*0x64+'%','options':pieDonutHoleOptions,'onChange':_0x59140f})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])(_0x357016(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x357016(0x624)])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x331),_0x22bbdf('chart.border'))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(ColorPickerControl,{'color':_0x3a8add!==null&&_0x3a8add!==void 0x0?_0x3a8add:'','onChange':_0x379796})]})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])(_0x357016(0x3f6),{'className':_0x357016(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf('chart.styleEditPanel.pieValScale')}),(0x0,react_jsx_runtime['jsxs'])(_0x357016(0x3f6),{'className':_0x357016(0x1aa),'children':[(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x1d4))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(_univerjs_design[_0x357016(0x537)],{'value':_0x400580!==null&&_0x400580!==void 0x0?_0x400580:0x1,'onChange':_0x5cfab5=>{const _0x2aa870=_0x357016;_0x1787b2[_0x2aa870(0x40f)](_univerjs_core[_0x2aa870(0x28e)],![]),_0x219f09(Number[_0x2aa870(0x228)](_0x5cfab5)?null:Number(_0x5cfab5));},'onFocus':()=>_0x1787b2[_0x357016(0x40f)](_univerjs_core[_0x357016(0x28e)],!![]),'onBlur':_0x4ebdb0=>{const _0x567132=_0x357016;_0x1787b2[_0x567132(0x40f)](_univerjs_core[_0x567132(0x28e)],![]);const _0x4c1694=_0x4ebdb0[_0x567132(0x449)][_0x567132(0x1f4)];_0x219f09(_0x4c1694===''?null:Number(_0x4c1694));},'onPressEnter':_0x161562=>{const _0x4a37ab=_0x357016,_0x239e2e=_0x161562['target'][_0x4a37ab(0x1f4)];_0x219f09(_0x239e2e===''?null:Number(_0x239e2e));}})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':_0x357016(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x394))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(_univerjs_design[_0x357016(0x537)],{'value':_0x184e69!==null&&_0x184e69!==void 0x0?_0x184e69:0x1,'onChange':_0x2dfa8f=>{const _0x33ea73=_0x357016;_0x1787b2['setContextValue'](_univerjs_core[_0x33ea73(0x28e)],![]),_0x3c0fa8(Number[_0x33ea73(0x228)](_0x2dfa8f)?null:Number(_0x2dfa8f));},'onFocus':()=>_0x1787b2[_0x357016(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0xf1c7d4=>{const _0x20e710=_0x357016;_0x1787b2[_0x20e710(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x58c9ca=_0xf1c7d4['target'][_0x20e710(0x1f4)];_0x3c0fa8(_0x58c9ca===''?null:Number(_0x58c9ca));},'onPressEnter':_0x2ad9a5=>{const _0x297685=_0x357016,_0x4aebe7=_0x2ad9a5['target'][_0x297685(0x1f4)];_0x3c0fa8(_0x4aebe7===''?null:Number(_0x4aebe7));}})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x357016(0x624)])(_0x357016(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x22bbdf(_0x357016(0x1e7))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x357016(0x1d3)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5a0e27,'onChange':_0x780dbf,'onFocus':()=>{const _0x52ba01=_0x357016;_0x1787b2['setContextValue'](_univerjs_core[_0x52ba01(0x28e)],!![]);},'onBlur':()=>{const _0x447617=_0x357016;_0x1787b2[_0x447617(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x9f4b6a(_0x5a0e27);}})]})]})]}),(0x0,react_jsx_runtime[_0x357016(0x624)])(DataLabelOptions,{'localeService':_0x242112,'chartType':_0x5a4996,'fallbackLabelStyle':_0x594c78,'labelStyle':_0x141874!==null&&_0x141874!==void 0x0?_0x141874:{},'onVisibleChange':_0xa7cc9d=>_0x2dba7b({'visible':_0xa7cc9d}),'onLabelStyleChange':(_0x1b6947,_0x324226)=>_0x2dba7b({[_0x1b6947]:_0x324226}),'positionOptions':_0x1eeb2f,'contentTypeOptions':_0x4d1456,'onPadAngleChange':_0x54caf1=>_0x12d458(_0x54caf1),'padAngleStyle':_0x19a7c6,'onHalfPieChange':_0x3e6a3e=>_0x1c901c(_0x3e6a3e),'isHalfPie':_0x2bb69c,'isRosePie':_0x645d4c,'onRosePieChange':_0x565a64=>_0x171351(_0x565a64),'onShowLabelLineChange':_0x21899a=>_0x5cec82(_0x21899a),'showLabelLine':_0x29be78,'isPieLike':!![]})]});};function RelationEdit(_0xedbe5d){const _0x3637f4=_0x5db780;var _0x4d63bf,_0x2fdb3d;const {localeService:_0x351718,service:_0xd2c8b4}=_0xedbe5d,_0x2b4d70=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x3637f4(0x3a5)]),_0x5c55cb=_0x351718['t'],_0x166359=useTranslatedOptions(_0x351718,RelationLayoutOptions),[_0x60812a,_0x1f062e]=useChartConfigState('relationLayout',_0xd2c8b4),[_0x5eb466,_0x32d66e]=useChartConfigState(_0x3637f4(0x2a4),_0xd2c8b4),[_0x594ec3,_0x3dee26]=useChartConfigState(_0x3637f4(0x357),_0xd2c8b4),[_0x3d4f20,_0x296411]=useChartConfigState(_0x3637f4(0x1b6),_0xd2c8b4),[_0x591dfe,_0x32726a]=useChartConfigState(_0x3637f4(0x4a6),_0xd2c8b4),_0x610af5=_0x301cac=>{_0x296411({..._0x3d4f20,..._0x301cac});},_0x249265=_0x49f5bf=>{_0x1f062e(_0x49f5bf);},_0xf9d5a5=_0x60812a===_univerjs_pro_engine_chart[_0x3637f4(0x5d6)][_0x3637f4(0x237)],_0x1713bb=_0x60812a===_univerjs_pro_engine_chart[_0x3637f4(0x5d6)][_0x3637f4(0x25e)],_0x49834f=useTranslatedOptions(_0x351718,linePointShapeOptions),[_0x114110,_0x712ff5]=useChartConfigState('relationNodeShape',_0xd2c8b4);return(0x0,react_jsx_runtime[_0x3637f4(0x3aa)])(_0x3637f4(0x3f6),{'children':[(0x0,react_jsx_runtime['jsxs'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x1b4),'children':[(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x27b),'children':_0x5c55cb('chart.dataNodeShape')}),(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x114110!==null&&_0x114110!==void 0x0?_0x114110:_univerjs_pro_engine_chart[_0x3637f4(0x3fc)][_0x3637f4(0x508)][_0x3637f4(0x1e6)]),'options':_0x49834f,'onChange':_0x37f91d=>_0x712ff5(_0x37f91d)})]},_0x3637f4(0x476)),(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x1a0)],{'checked':_0x5eb466!==null&&_0x5eb466!==void 0x0?_0x5eb466:!![],'onChange':_0x2a47ba=>{_0x32d66e===null||_0x32d66e===void 0x0||_0x32d66e(Boolean(_0x2a47ba));},'children':_0x5c55cb(_0x3637f4(0x225))})}),(0x0,react_jsx_runtime['jsx'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x354),'children':(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_univerjs_design[_0x3637f4(0x1a0)],{'checked':_0x594ec3!==null&&_0x594ec3!==void 0x0?_0x594ec3:!![],'onChange':_0x192833=>{_0x3dee26(Boolean(_0x192833));},'children':_0x5c55cb(_0x3637f4(0x484))})}),(0x0,react_jsx_runtime[_0x3637f4(0x624)])('div',{'className':_0x3637f4(0x3d4),'children':_0x5c55cb(_0x3637f4(0x45b))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x60812a!==null&&_0x60812a!==void 0x0?_0x60812a:_univerjs_pro_engine_chart[_0x3637f4(0x5d6)][_0x3637f4(0x4e1)],'options':_0x166359,'onChange':_0x249265}),_0xf9d5a5&&(0x0,react_jsx_runtime['jsxs'])(_0x3637f4(0x3f6),{'className':'univer-mt-4','children':[(0x0,react_jsx_runtime['jsx'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x27b),'children':_0x5c55cb(_0x3637f4(0x63b))}),(0x0,react_jsx_runtime['jsxs'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x41b),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x198),'children':_0x5c55cb('chart.relation.repulsion')}),(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_univerjs_design[_0x3637f4(0x537)],{'className':'univer-flex-1','controls':![],'onFocus':()=>_0x2b4d70[_0x3637f4(0x40f)](_univerjs_core[_0x3637f4(0x28e)],!![]),'onBlur':_0x2c2dbc=>{_0x2b4d70['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);},'value':(_0x4d63bf=_0x3d4f20===null||_0x3d4f20===void 0x0?void 0x0:_0x3d4f20[_0x3637f4(0x57d)])!==null&&_0x4d63bf!==void 0x0?_0x4d63bf:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3637f4(0x508)][_0x3637f4(0x48e)][_0x3637f4(0x57d)],'onChange':_0x58e886=>_0x610af5({'repulsion':_0x58e886})})]}),(0x0,react_jsx_runtime[_0x3637f4(0x3aa)])('div',{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'className':'univer-flex-1','children':_0x5c55cb('chart.relation.gravity')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x537)],{'className':_0x3637f4(0x198),'controls':![],'onFocus':()=>_0x2b4d70[_0x3637f4(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x2e7c59=>{const _0x48c26f=_0x3637f4;_0x2b4d70[_0x48c26f(0x40f)](_univerjs_core[_0x48c26f(0x28e)],![]);},'value':(_0x2fdb3d=_0x3d4f20===null||_0x3d4f20===void 0x0?void 0x0:_0x3d4f20[_0x3637f4(0x346)])!==null&&_0x2fdb3d!==void 0x0?_0x2fdb3d:_univerjs_pro_engine_chart[_0x3637f4(0x3fc)]['relation']['force'][_0x3637f4(0x346)],'onChange':_0x346e24=>_0x610af5({'gravity':_0x346e24})})]}),(0x0,react_jsx_runtime[_0x3637f4(0x3aa)])(_0x3637f4(0x3f6),{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x3637f4(0x624)])('div',{'className':_0x3637f4(0x198),'children':_0x5c55cb('chart.relation.edgeLength')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x537)],{'className':_0x3637f4(0x198),'controls':![],'value':_0x3d4f20===null||_0x3d4f20===void 0x0?void 0x0:_0x3d4f20['edgeLength'],'onFocus':()=>_0x2b4d70[_0x3637f4(0x40f)](_univerjs_core[_0x3637f4(0x28e)],!![]),'onBlur':_0x4fc365=>{const _0x30bf46=_0x3637f4;_0x2b4d70[_0x30bf46(0x40f)](_univerjs_core[_0x30bf46(0x28e)],![]);},'onChange':_0xce8898=>_0x610af5({'edgeLength':_0xce8898}),'min':0x0,'step':0xa})]})]}),_0x1713bb&&(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x546),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x1a0)],{'checked':_0x591dfe!==null&&_0x591dfe!==void 0x0?_0x591dfe:_univerjs_pro_engine_chart[_0x3637f4(0x3fc)]['relation']['circular'][_0x3637f4(0x4a6)],'onChange':_0x37a8d8=>{_0x32726a(Boolean(_0x37a8d8));},'children':_0x5c55cb('chart.relation.rotateLabel')})})]});}const defaultCombination=_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x563)];function useSeriesChartType(_0xfe1db3,_0x2053c5,_0x410a65){const _0x2974be=_0x5db780,[_0x22e45e]=useChartConfigState(_0x2974be(0x50a),_0x410a65),[_0x208a55]=useChartConfigState(_0x2974be(0x3ff),_0x410a65),_0x38f0f9=_0x2053c5===_univerjs_pro_engine_chart['defaultChartConfig'][_0x2974be(0x4ab)],_0x3ebb1b=_0x22e45e===null||_0x22e45e===void 0x0?void 0x0:_0x22e45e[_0x2053c5];if(_0xfe1db3!==_univerjs_pro_engine_chart[_0x2974be(0x5c6)]['Combination'])return _0xfe1db3;if(_0x38f0f9){const _0x4986f2=()=>{const _0xf605d1=_0x2974be,_0x50285e=_0x208a55===null||_0x208a55===void 0x0?void 0x0:_0x208a55['map']((_0x2c8547,_0x583f3e)=>{const _0x26e85e=_0x3299;var _0x9dbd17;const _0x543799=_0x22e45e===null||_0x22e45e===void 0x0?void 0x0:_0x22e45e[_0x2c8547],_0x1d44e3=_0x583f3e===0x0?defaultCombination[_0x26e85e(0x1c8)]:defaultCombination['otherChartType'];return(_0x9dbd17=_0x543799===null||_0x543799===void 0x0?void 0x0:_0x543799['chartType'])!==null&&_0x9dbd17!==void 0x0?_0x9dbd17:_0x1d44e3;}),_0x137090=_0x50285e===null||_0x50285e===void 0x0?void 0x0:_0x50285e[0x0];return(_0x50285e===null||_0x50285e===void 0x0?void 0x0:_0x50285e['every'](_0x228544=>_0x228544===_0x137090))?_0x137090:_univerjs_pro_engine_chart[_0xf605d1(0x5c6)][_0xf605d1(0x4e1)];};return _0x4986f2();}const _0x1fe5b4=()=>{const _0x3201be=_0x2974be;var _0x490579;const _0x7ee014=_0x2053c5===String(_0x208a55===null||_0x208a55===void 0x0?void 0x0:_0x208a55[0x0])?defaultCombination[_0x3201be(0x1c8)]:defaultCombination[_0x3201be(0x575)];return(_0x490579=_0x3ebb1b===null||_0x3ebb1b===void 0x0?void 0x0:_0x3ebb1b[_0x3201be(0x26b)])!==null&&_0x490579!==void 0x0?_0x490579:_0x7ee014;};return _0x1fe5b4();}const CombinationChartTypeSelect=_0x1bfddd=>{const _0x2d869f=_0x5db780,{seriesId:_0x464937,service:_0x553d65,localeService:_0x57fc4e}=_0x1bfddd,_0x5060d6=useTranslatedOptions(_0x57fc4e,seriesChartTypeOptions),[_0x7facc,_0x13d271]=useChartConfigState('seriesStyleMap',_0x553d65),[_0x2599de]=useChartConfigState(_0x2d869f(0x3ff),_0x553d65),_0x2af7d1=(0x0,react[_0x2d869f(0x510)])(_0xe68e5e=>{const _0x422707=_0x2d869f,_0x1691f9=Number(_0xe68e5e);if(_0x464937===_univerjs_pro_engine_chart[_0x422707(0x3fc)][_0x422707(0x4ab)]){const _0x8e4880=_0x2599de===null||_0x2599de===void 0x0?void 0x0:_0x2599de['reduce']((_0x10f8e6,_0x2dd921)=>{return _0x10f8e6[String(_0x2dd921)]={'chartType':_0x1691f9},_0x10f8e6;},{});if(!_0x8e4880)return;_0x13d271(_0x8e4880);}else _0x13d271({[_0x464937]:{'chartType':_0x1691f9}});},[_0x464937]),_0x5f5688=useSeriesChartType(_univerjs_pro_engine_chart[_0x2d869f(0x5c6)][_0x2d869f(0x376)],_0x464937,_0x553d65),_0x137185=String(_0x5f5688!==null&&_0x5f5688!==void 0x0?_0x5f5688:'');return(0x0,react_jsx_runtime[_0x2d869f(0x624)])(_univerjs_design[_0x2d869f(0x1d8)],{'className':_0x2d869f(0x226),'value':_0x5f5688===_univerjs_pro_engine_chart['ChartTypeBits'][_0x2d869f(0x4e1)]?'':_0x137185,'options':_0x5060d6,'onChange':_0x2af7d1});},defaultPointStyle={'shape':_univerjs_pro_engine_chart[_0x5db780(0x3fc)]['radar']['symbolType'],'size':_univerjs_pro_engine_chart['defaultChartConfig']['radar'][_0x5db780(0x4e6)],'color':void 0x0},linePointControls$1=['shape',_0x5db780(0x475),_0x5db780(0x1e1)],RadarSeriesPoint=_0xe58f62=>{const _0xbe5873=_0x5db780,{localeService:_0x21fec2,setSeriesStyle:_0xb819e,pointStyle:_0x6b4a85}=_0xe58f62;return(0x0,react_jsx_runtime[_0xbe5873(0x624)])(LinePointOptions,{'pointStyle':{...defaultPointStyle,..._0x6b4a85},'controls':linePointControls$1,'localeService':_0x21fec2,'onChange':(_0x185356,_0x24123a)=>_0xb819e({'point':{[_0x185356]:_0x24123a}})});},fallbackLabelStyle$1={'fontSize':_univerjs_pro_engine_chart[_0x5db780(0x3fc)]['textStyle']['fontSize'],'contentType':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x281)],'position':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x448)][_0x5db780(0x453)]},allSeriesOptions=[getAllSeriesOption()],defaultBorderStyle=_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x29f)],linePointControls=[_0x5db780(0x476),_0x5db780(0x475),_0x5db780(0x1e1)],scatterAllSeriesPointControls=[_0x5db780(0x476),_0x5db780(0x475)],getDefaultBorderWidthByChartType=_0x48bf70=>{const _0x516337=_0x5db780;if((_0x48bf70&_univerjs_pro_engine_chart[_0x516337(0x5c6)][_0x516337(0x1ce)])>0x0||(_0x48bf70&_univerjs_pro_engine_chart[_0x516337(0x5c6)][_0x516337(0x3ce)])>0x0)return defaultBorderStyle[_0x516337(0x53f)]['lineOrArea'];if(_0x48bf70===_univerjs_pro_engine_chart[_0x516337(0x5c6)]['Radar'])return defaultBorderStyle[_0x516337(0x53f)][_0x516337(0x36f)];return defaultBorderStyle[_0x516337(0x292)];},SeriesStyleEdit=_0x3f5f62=>{const _0x44b77e=_0x5db780;var _0x1c82f0,_0xb57448;const {chartType:_0x530c19,service:_0x2b8f6a,localeService:_0x111821}=_0x3f5f62,_0x4e71fa=useTranslatedOptions(_0x111821,dataLabelPositionOptions),_0x5e4cb4=(0x0,react[_0x44b77e(0x3dc)])(()=>{const _0x337056=_0x44b77e;return labelContentOptions[_0x337056(0x197)](_0x38a56b=>{const _0x3f8774=_0x337056;if(_0x530c19===_univerjs_pro_engine_chart[_0x3f8774(0x5c6)]['Radar'])return _0x38a56b['value']!==String(_univerjs_pro_engine_chart[_0x3f8774(0x4f3)]['SeriesName'])&&_0x38a56b[_0x3f8774(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x3f8774(0x4f3)][_0x3f8774(0x52b)]);if(PercentageChartTypes[_0x3f8774(0x4a0)](_0x530c19))return!![];return _0x38a56b[_0x3f8774(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x3f8774(0x4f3)]['Percentage']);})[_0x337056(0x20f)](_0x177585=>{const _0x451122=_0x337056;return{'value':_0x177585[_0x451122(0x1f4)],'label':_0x111821['t'](_0x177585[_0x451122(0x517)])};});},[_0x530c19,_0x111821]),[_0x10d48d]=useTranslatedOptions(_0x111821,allSeriesOptions),[_0x48136c,_0xece9b4]=(0x0,react[_0x44b77e(0x32e)])(_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x4ab)]),_0x210125=_0x48136c===_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x4ab)],[_0x591c49,_0x2e4d1e]=useChartConfigState(_0x44b77e(0x58e),_0x2b8f6a),[_0x4e98b1,_0x570d2e]=useChartConfigState('seriesStyleMap',_0x2b8f6a),[_0x15ed0e]=useChartConfigState(_0x44b77e(0x26e),_0x2b8f6a),_0x19834b=_0x4e98b1===null||_0x4e98b1===void 0x0?void 0x0:_0x4e98b1[_0x48136c],[_0x6ad67]=useChartConfigState(_0x44b77e(0x30b),_0x2b8f6a),_0x3bbcda=_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b['dataPoints'],_0x3cfd25=(0x0,react[_0x44b77e(0x3dc)])(()=>_0x6ad67?[_0x10d48d,..._0x6ad67]:[],[_0x10d48d,_0x6ad67]),_0x554786=_0x530c19?_univerjs_pro_engine_chart[_0x44b77e(0x49c)][_0x44b77e(0x4a0)](_0x530c19,_univerjs_pro_engine_chart[_0x44b77e(0x4f4)][_0x44b77e(0x569)]):![],_0x17c2fd=useSeriesChartType(_0x530c19,_0x48136c,_0x2b8f6a),_0x348553=_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x1ce)],_0x3f3a26=(_0x17c2fd&_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x3ce)])>0x0,_0x3baa85=_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x262)],_0x35d380=_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x5a9)],_0x4e9259=_0x348553||_0x3f3a26,_0x17e17e=(_0x530c19&_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x305)])>0x0||_0x3baa85,_0x1716ca=getDefaultBorderWidthByChartType(_0x530c19),_0x4b24d6=(0x0,react[_0x44b77e(0x510)])(_0x2f2a41=>{_0x570d2e({[_0x48136c]:_0x2f2a41});},[_0x48136c]),_0x5231ce=_0x50102a=>{if(_0x210125)_0x2e4d1e(_0x50102a);else _0x4b24d6(_0x50102a);},_0x21bcfa={..._0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b[_0x44b77e(0x352)]},_0x1613fb=Object[_0x44b77e(0x384)]({'color':'transparent','opacity':defaultBorderStyle[_0x44b77e(0x3fb)],'width':_0x1716ca,'dashType':defaultBorderStyle[_0x44b77e(0x31e)]},_0x21bcfa),_0x2ee240=Object[_0x44b77e(0x384)]({'color':_0x44b77e(0x39e),'opacity':defaultBorderStyle[_0x44b77e(0x3fb)],'width':_0x1716ca,'dashType':defaultBorderStyle[_0x44b77e(0x31e)]},_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x352)]),_0x26fd7f=Object[_0x44b77e(0x384)]({'shape':_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x30f)][_0x44b77e(0x476)],'size':_0x35d380?_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x30f)][_0x44b77e(0x555)]:_univerjs_pro_engine_chart[_0x44b77e(0x3fc)]['point'][_0x44b77e(0x475)],'color':_0x44b77e(0x39e)},_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x30f)],_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b[_0x44b77e(0x30f)]),_0x4a951b=_0x210125?(_0x1c82f0=_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x517)])!==null&&_0x1c82f0!==void 0x0?_0x1c82f0:{}:Object[_0x44b77e(0x384)]({},_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x517)],_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b['label']),_0x34e591=(_0xb57448=_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b['rightYAxis'])!==null&&_0xb57448!==void 0x0?_0xb57448:_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x34a)],_0xf9b987=_0x17c2fd===_univerjs_pro_engine_chart['ChartTypeBits']['None']||_0x530c19===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x376)]&&_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x3cf)]&&_0x210125,{t:_0x30220d}=_0x111821,_0x4e62e6=(0x0,react['useCallback'])(_0x217455=>{const _0x241f5a=_0x44b77e;if(_0x19834b&&_0x19834b[_0x241f5a(0x22a)]&&_0x19834b[_0x241f5a(0x22a)][_0x217455])return;_0x570d2e({[_0x48136c]:{'dataPoints':{[_0x217455]:{}}}});},[_0x19834b,_0x48136c]),_0x14d49f=(0x0,react[_0x44b77e(0x510)])(_0xdf42c0=>{_0x570d2e({[_0x48136c]:{'dataPoints':_0xdf42c0}});},[_0x48136c]);return(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(react_jsx_runtime[_0x44b77e(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_univerjs_design[_0x44b77e(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x48136c,'onChange':_0x1804a4=>_0xece9b4(_0x1804a4),'options':_0x3cfd25})}),_0x530c19===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)]['Combination']&&(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x5c2),'children':_0x30220d(_0x44b77e(0x543))}),(0x0,react_jsx_runtime[_0x44b77e(0x624)])(CombinationChartTypeSelect,{'seriesId':_0x48136c,'service':_0x2b8f6a,'localeService':_0x111821})]}),(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':[!_0xf9b987&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x44b77e(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x44b77e(0x5ff),'children':_0x30220d(_0x44b77e(0x286))}),(!_0x35d380||_0x35d380&&!_0x210125)&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(FillOptions,{'chartType':_0x530c19,'allSeriesStyle':_0x591c49,'controlName':_0x30220d(_0x348553?'chart.line':'chart.fill'),'seriesStyle':_0x210125?_0x591c49:_0x19834b,'onSeriesStyleChange':_0x5231ce,'localeService':_0x111821}),!_0x35d380&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(BorderOptions,{'isLineOrAreaChart':_0x4e9259,'allSeriesBorderStyle':_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49['border'],'hideBorder':!_0x348553,'controlName':_0x30220d(_0x348553||_0x3baa85?_0x44b77e(0x3a6):_0x44b77e(0x1a3)),'borderStyle':_0x210125?_0x2ee240:_0x1613fb,'onSeriesStyleChange':_0x5231ce,'localeService':_0x111821}),(_0x4e9259||_0x35d380)&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(LinePointOptions,{'pointStyle':_0x26fd7f,'onChange':(_0x4d04e0,_0x3f307c)=>_0x5231ce({'point':{[_0x4d04e0]:_0x3f307c}}),'controls':_0x210125?scatterAllSeriesPointControls:linePointControls,'localeService':_0x111821})]}),!_0x554786&&!_0x210125&&!_0x17e17e&&(0x0,react_jsx_runtime['jsx'])(AxisControl,{'rightYAxis':Boolean(_0x34e591),'onSeriesStyleChange':_0x5231ce,'localeService':_0x111821})]}),(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':[!_0x210125&&_0x3baa85&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(RadarSeriesPoint,{'localeService':_0x111821,'pointStyle':_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b[_0x44b77e(0x30f)],'setSeriesStyle':_0x5231ce}),!_0x210125&&!_0x3baa85&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x44b77e(0x624)])('div',{'className':_0x44b77e(0x5de),'children':(0x0,react_jsx_runtime['jsx'])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x5ff),'children':_0x30220d(_0x44b77e(0x5c0),_0x30220d(_0x44b77e(0x2b7)))})}),(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_0x44b77e(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,react_jsx_runtime[_0x44b77e(0x624)])(DropdownSelector,{'value':_0x48136c,'menus':_0x15ed0e!==null&&_0x15ed0e!==void 0x0?_0x15ed0e:[],'onSelect':_0x450bf3=>_0x4e62e6(+_0x450bf3),'children':(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x2d8),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x44b77e(0x249)],{}),(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_0x44b77e(0x2c2),{'children':_0x30220d(_0x44b77e(0x632))})]})})})]}),_0x3bbcda&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(DataPointsEdit,{'chartType':_0x530c19,'data':_0x3bbcda,'options':_0x15ed0e!==null&&_0x15ed0e!==void 0x0?_0x15ed0e:[],'onChange':_0x14d49f,'localeService':_0x111821})]})]}),(0x0,react_jsx_runtime['jsx'])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':(0x0,react_jsx_runtime[_0x44b77e(0x624)])(DataLabelOptions,{'localeService':_0x111821,'fallbackLabelStyle':fallbackLabelStyle$1,'labelStyle':_0x4a951b,'positionOptions':_0x4e71fa,'contentTypeOptions':_0x5e4cb4,'onLabelStyleChange':(_0x33c245,_0x196e1b)=>_0x5231ce({'label':{[_0x33c245]:_0x196e1b}}),'onVisibleChange':_0x2b8505=>_0x5231ce({'label':{'visible':_0x2b8505}}),'isPieLike':![],'chartType':_0x530c19})})]});},TrendLineStyleEdit=_0x3dba43=>{const _0x14e973=_0x5db780;var _0x1aa6a9,_0xfe5fd9,_0x5c8590,_0x55ad9b;const {localeService:_0x18f11c,uiService:_0x194494}=_0x3dba43,{t:_0x189aaf}=_0x18f11c,_0x40ecea=(0x0,_univerjs_ui[_0x14e973(0x2a6)])(_univerjs_core[_0x14e973(0x3a5)]),[_0x1bedc4,_0x3bb534]=useChartConfigState(_0x14e973(0x552),_0x194494),[_0x3faba5,_0x5b0fa4]=(0x0,react[_0x14e973(0x32e)])(0x0),_0x5c76c0=trendlineTypeOptions['map'](_0x324920=>({'label':(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x4a2),'children':[(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x269),'children':trendlineToIcon===null||trendlineToIcon===void 0x0?void 0x0:trendlineToIcon[_0x324920[_0x14e973(0x1f4)]]}),(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x438),'children':_0x18f11c['t'](_0x324920[_0x14e973(0x517)])})]}),'value':_0x324920['value']})),_0x4ec3a0=useTranslatedOptions(_0x18f11c,borderDashTypeOptions),_0x23cc53=borderWidthOptions[_0x14e973(0x4e3)](0x1),_0x3069bc=(_0x1bedc4||[])['map']((_0x19f65b,_0x3b1919)=>({'label':_0x19f65b[_0x14e973(0x52e)],'value':String(_0x3b1919)})),_0x248a72=(0x0,react[_0x14e973(0x510)])(_0x2a6ec0=>{if(_0x1bedc4){const _0xee781=[..._0x1bedc4];_0xee781[_0x3faba5]={..._0xee781[_0x3faba5],..._0x2a6ec0},_0x3bb534(_0xee781);}},[_0x1bedc4,_0x3faba5]),_0x331087=(0x0,react[_0x14e973(0x3dc)])(()=>{return _0x1bedc4?_0x1bedc4[_0x3faba5]:void 0x0;},[_0x1bedc4,_0x3faba5]),[_0x181675,_0x40e8dc]=(0x0,react[_0x14e973(0x32e)])((_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['name'])||'');if(_0x1bedc4===void 0x0||_0x1bedc4[_0x14e973(0x3db)]===0x0)return null;return(0x0,react_jsx_runtime['jsxs'])(_0x14e973(0x628),{'className':_0x14e973(0x1b2),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x3faba5),'onChange':_0x34f180=>_0x5b0fa4(Number(_0x34f180)),'options':_0x3069bc})}),(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf('chart.trendline.displayName')}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d3)],{'value':_0x181675,'onChange':_0x40e8dc,'onBlur':()=>{const _0x549bea=_0x14e973;_0x40ecea[_0x549bea(0x40f)](_univerjs_core[_0x549bea(0x28e)],![]);if(_0x181675)_0x248a72===null||_0x248a72===void 0x0||_0x248a72({'name':_0x181675});else _0x40e8dc((_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x549bea(0x52e)])||'');},'onFocus':()=>{const _0x28b24e=_0x14e973;_0x40ecea['setContextValue'](_univerjs_core[_0x28b24e(0x28e)],!![]);}})}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x637))}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d8)],{'className':_0x14e973(0x3fe),'value':String(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)]),'onChange':_0xfb49f2=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'type':_0xfb49f2}),'options':_0x5c76c0}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5c7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x14e973(0x1a0)],{'checked':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5b1)])||_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)][_0x14e973(0x5b1)],'onChange':_0x21b07c=>_0x248a72({'showFormula':Boolean(_0x21b07c)}),'children':_0x189aaf(_0x14e973(0x2f8))})}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5c7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x35d)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x14e973(0x3a3)]['showR2'],'onChange':_0x5bd6b6=>_0x248a72({'showR2':Boolean(_0x5bd6b6)}),'children':_0x189aaf(_0x14e973(0x5cb))})}),((_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)])===_univerjs_pro_engine_chart[_0x14e973(0x489)]['poly']||(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['type'])===_univerjs_pro_engine_chart[_0x14e973(0x489)][_0x14e973(0x47a)])&&(0x0,react_jsx_runtime['jsxs'])(_0x14e973(0x3f6),{'className':_0x14e973(0x354),'children':[(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['type'])===_univerjs_pro_engine_chart['ChartTrendlineType']['poly']&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x291))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design['Select'],{'className':_0x14e973(0x226),'value':String((_0x1aa6a9=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x3e6)])!==null&&_0x1aa6a9!==void 0x0?_0x1aa6a9:_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)][_0x14e973(0x3e6)]),'options':trendlineOrderOptions,'onChange':_0x4ddc18=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'order':Number(_0x4ddc18)})})]}),(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)])===_univerjs_pro_engine_chart['ChartTrendlineType']['movingAvg']&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x14e973(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x35f))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x537)],{'value':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5eb)])||_univerjs_pro_engine_chart[_0x14e973(0x3fc)]['trendline'][_0x14e973(0x5eb)],'onChange':_0xbe0f2f=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'period':Math[_0x14e973(0x4d0)](_0xbe0f2f)})})]})]}),(0x0,react_jsx_runtime[_0x14e973(0x624)])('div',{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x286))}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x450),'children':[(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x331),_0x189aaf(_0x14e973(0x4ac)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(ColorPickerControl,{'color':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['color'])||'','onChange':_0x445459=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'color':_0x445459})})]}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x596),_0x189aaf(_0x14e973(0x4ac)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0xfe5fd9=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x3fb)])!==null&&_0xfe5fd9!==void 0x0?_0xfe5fd9:_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)][_0x14e973(0x3fb)]),'options':lineOpacityOptions,'onChange':_0x34bba8=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'opacity':Number(_0x34bba8)})})]})]}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x450),'children':[(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x1d2),_0x189aaf('chart.trendline.name'))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d8)],{'className':_0x14e973(0x226),'value':String((_0x5c8590=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x31e)])!==null&&_0x5c8590!==void 0x0?_0x5c8590:_univerjs_pro_engine_chart[_0x14e973(0x3fc)]['trendline'][_0x14e973(0x31e)]),'options':_0x4ec3a0,'onChange':_0x298066=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'dashType':_0x298066})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x14e973(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x59e),_0x189aaf(_0x14e973(0x4ac)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d8)],{'className':_0x14e973(0x226),'value':String((_0x55ad9b=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['width'])!==null&&_0x55ad9b!==void 0x0?_0x55ad9b:_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)]['width']),'options':_0x23cc53,'onChange':_0x5f3b80=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'width':Number(_0x5f3b80)})})]})]}),(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)])!==_univerjs_pro_engine_chart[_0x14e973(0x489)][_0x14e973(0x47a)]&&(0x0,react_jsx_runtime[_0x14e973(0x3aa)])('div',{'className':_0x14e973(0x450),'children':[(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5b1)])&&(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x331),_0x189aaf('chart.trendline.formula'))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(ColorPickerControl,{'color':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x565)])||'','onChange':_0x3675aa=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'formulaColor':_0x3675aa})})]}),(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x35d)])&&(0x0,react_jsx_runtime[_0x14e973(0x3aa)])('div',{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf('chart.withColor',_0x189aaf(_0x14e973(0x33a)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(ColorPickerControl,{'color':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5f2)])||'','onChange':_0x5d687a=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'r2Color':_0x5d687a})})]})]})]})]});},fallbackLabelStyle={'fontSize':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x448)]['fontSize'],'contentType':_univerjs_pro_engine_chart['defaultChartConfig']['labelContentType'],'position':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x448)]['position']},WaterfallSeriesEdit=_0x33849b=>{const _0x90b1b8=_0x5db780;var _0x16bb9b,_0x46753e,_0x5de76c,_0x4a64f3,_0xb7f8bb,_0x579e6f,_0x2247cd,_0x564d49,_0x1e8a3c,_0x49ca4d,_0x357ce5,_0x244744,_0x2f77f0,_0x1cd032,_0x5095df,_0x1e541c,_0x2652ad;const {service:_0x34601c,localeService:_0x4042bb}=_0x33849b,{t:_0x30efac}=_0x4042bb,_0x14ce47=useTranslatedOptions(_0x4042bb,dataLabelPositionOptions),_0x1cf0b8=(0x0,react[_0x90b1b8(0x3dc)])(()=>{const _0x64ffc2=_0x90b1b8;return labelContentOptions[_0x64ffc2(0x197)](_0x59328f=>{const _0x296cd5=_0x64ffc2;return _0x59328f[_0x296cd5(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x296cd5(0x4f3)]['Percentage']);})[_0x64ffc2(0x20f)](_0x32e785=>{const _0xc34840=_0x64ffc2;return{'value':_0x32e785['value'],'label':_0x4042bb['t'](_0x32e785[_0xc34840(0x517)])};});},[_0x4042bb]),_0x46fc58=(0x0,_univerjs_ui[_0x90b1b8(0x2a6)])(_univerjs_core['IContextService']),[_0x583387,_0x29c4a5]=(0x0,react[_0x90b1b8(0x32e)])(_univerjs_pro_engine_chart[_0x90b1b8(0x3fc)][_0x90b1b8(0x4ab)]),_0x44dafc=_0x583387===_univerjs_pro_engine_chart['defaultChartConfig'][_0x90b1b8(0x4ab)],[_0x4e39bc,_0x5e53b0]=useChartConfigState(_0x90b1b8(0x58e),_0x34601c),[_0x419f95,_0x65daaa]=useChartConfigState(_0x90b1b8(0x50a),_0x34601c),[_0x102ffe]=useChartConfigState(_0x90b1b8(0x30b),_0x34601c),[_0x436848]=useChartConfigState('waterfallStack',_0x34601c),_0x298493=_0x436848!==_univerjs_pro_engine_chart[_0x90b1b8(0x2b4)][_0x90b1b8(0x21a)],[_0x33157a]=useTranslatedOptions(_0x4042bb,[getAllSeriesOption()]),_0x559dce=_0x419f95===null||_0x419f95===void 0x0?void 0x0:_0x419f95[_0x583387],_0xd844ad=(0x0,react[_0x90b1b8(0x3dc)])(()=>_0x102ffe?[_0x33157a,..._0x102ffe]:[],[_0x33157a,_0x102ffe]),_0x586b09=_0x25e721=>{if(_0x44dafc)_0x5e53b0(_0x25e721);else _0x65daaa({[_0x583387]:_0x25e721});},_0x245ab4=_univerjs_pro_engine_chart['defaultChartConfig']['borderStyle'],_0x269bef={'color':_0x90b1b8(0x39e),'opacity':_0x245ab4[_0x90b1b8(0x3fb)],'width':0x0,'dashType':_0x245ab4[_0x90b1b8(0x31e)]},_0x13e652=_0x44dafc?{..._0x269bef,..._0x4e39bc===null||_0x4e39bc===void 0x0||(_0x16bb9b=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x16bb9b===void 0x0||(_0x16bb9b=_0x16bb9b[_0x90b1b8(0x2da)])===null||_0x16bb9b===void 0x0?void 0x0:_0x16bb9b['border']}:{..._0x269bef,..._0x559dce===null||_0x559dce===void 0x0||(_0x46753e=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x46753e===void 0x0||(_0x46753e=_0x46753e[_0x90b1b8(0x2da)])===null||_0x46753e===void 0x0?void 0x0:_0x46753e['border']},_0xd6b590=_0x44dafc?{..._0x269bef,..._0x4e39bc===null||_0x4e39bc===void 0x0||(_0x5de76c=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x5de76c===void 0x0||(_0x5de76c=_0x5de76c['negative'])===null||_0x5de76c===void 0x0?void 0x0:_0x5de76c[_0x90b1b8(0x352)]}:{..._0x269bef,..._0x559dce===null||_0x559dce===void 0x0||(_0x4a64f3=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x4a64f3===void 0x0||(_0x4a64f3=_0x4a64f3[_0x90b1b8(0x2fe)])===null||_0x4a64f3===void 0x0?void 0x0:_0x4a64f3['border']},_0x16c308=_0x44dafc?{..._0x269bef,..._0x4e39bc===null||_0x4e39bc===void 0x0||(_0xb7f8bb=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0xb7f8bb===void 0x0||(_0xb7f8bb=_0xb7f8bb[_0x90b1b8(0x3e0)])===null||_0xb7f8bb===void 0x0?void 0x0:_0xb7f8bb[_0x90b1b8(0x352)]}:{..._0x269bef,..._0x559dce===null||_0x559dce===void 0x0||(_0x579e6f=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x579e6f===void 0x0||(_0x579e6f=_0x579e6f['subtotal'])===null||_0x579e6f===void 0x0?void 0x0:_0x579e6f['border']},_0x586cb7=(_0x3793b8,_0x2598e2)=>{const _0x446ecb=_0x90b1b8;if(_0x2598e2===_univerjs_pro_engine_chart[_0x446ecb(0x264)][_0x446ecb(0x3e0)])return _0x30efac(_0x446ecb(0x5f4));const _0x141916=_0x102ffe===null||_0x102ffe===void 0x0?void 0x0:_0x102ffe[_0x446ecb(0x5c3)](_0x5d3871=>_0x5d3871[_0x446ecb(0x1f4)]===_0x3793b8);if(_0x141916){const _0x470fc9=_0x141916[_0x446ecb(0x517)];switch(_0x2598e2){case _univerjs_pro_engine_chart[_0x446ecb(0x264)][_0x446ecb(0x2da)]:return _0x470fc9+'-('+_0x30efac('chart.waterfall.positive')+')';case _univerjs_pro_engine_chart[_0x446ecb(0x264)]['negative']:return _0x470fc9+'-('+_0x30efac(_0x446ecb(0x3d1))+')';default:return _0x470fc9;}}return'';},_0x562f32=_0x44dafc?(_0x2247cd=_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc[_0x90b1b8(0x517)])!==null&&_0x2247cd!==void 0x0?_0x2247cd:{}:Object[_0x90b1b8(0x384)]({},_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc[_0x90b1b8(0x517)],_0x559dce===null||_0x559dce===void 0x0?void 0x0:_0x559dce[_0x90b1b8(0x517)]),_0x21adae=_0x298493?_0x559dce===null||_0x559dce===void 0x0||(_0x564d49=_0x559dce['waterfall'])===null||_0x564d49===void 0x0||(_0x564d49=_0x564d49['subtotal'])===null||_0x564d49===void 0x0?void 0x0:_0x564d49[_0x90b1b8(0x52e)]:_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x1e8a3c=_0x4e39bc['waterfall'])===null||_0x1e8a3c===void 0x0||(_0x1e8a3c=_0x1e8a3c[_0x90b1b8(0x3e0)])===null||_0x1e8a3c===void 0x0?void 0x0:_0x1e8a3c[_0x90b1b8(0x52e)],_0x593c56=_0x436848===_univerjs_pro_engine_chart[_0x90b1b8(0x2b4)][_0x90b1b8(0x21a)]?_0x44dafc:!![];return(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])('div',{'children':[(0x0,react_jsx_runtime['jsx'])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x428),'children':(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x583387,'onChange':_0x47722a=>_0x29c4a5(_0x47722a),'options':_0xd844ad})}),(0x0,react_jsx_runtime['jsxs'])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b2),'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x30efac(_0x90b1b8(0x220))}),!_0x44dafc&&(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b4),'children':_0x30efac(_0x90b1b8(0x2a1))}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d3)],{'className':'univer-mb-2','value':(_0x559dce===null||_0x559dce===void 0x0||(_0x49ca4d=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x49ca4d===void 0x0||(_0x49ca4d=_0x49ca4d[_0x90b1b8(0x2da)])===null||_0x49ca4d===void 0x0?void 0x0:_0x49ca4d['name'])||_0x586cb7(_0x583387,_univerjs_pro_engine_chart[_0x90b1b8(0x264)][_0x90b1b8(0x2da)]),'onChange':_0x175eda=>{_0x586b09({'waterfall':{'positive':{'name':_0x175eda}}});},'onFocus':()=>{const _0x2dac0a=_0x90b1b8;_0x46fc58[_0x2dac0a(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);},'onBlur':()=>{const _0x288f88=_0x90b1b8;_0x46fc58[_0x288f88(0x40f)](_univerjs_core[_0x288f88(0x28e)],![]);}})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x90b1b8(0x5c6)][_0x90b1b8(0x1f5)],'allSeriesStyle':_0x4e39bc,'controlName':'','seriesStyle':_0x44dafc?_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x357ce5=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x357ce5===void 0x0?void 0x0:_0x357ce5[_0x90b1b8(0x2da)]:_0x559dce===null||_0x559dce===void 0x0||(_0x244744=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x244744===void 0x0?void 0x0:_0x244744[_0x90b1b8(0x2da)],'onSeriesStyleChange':_0x49bfde=>_0x586b09({'waterfall':{'positive':_0x49bfde}}),'localeService':_0x4042bb}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(BorderOptions,{'isLineOrAreaChart':![],'allSeriesBorderStyle':_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc['border'],'hideBorder':!![],'controlName':_0x30efac(_0x90b1b8(0x1a3)),'borderStyle':_0x13e652,'onSeriesStyleChange':_0x53fbb4=>_0x586b09({'waterfall':{'positive':_0x53fbb4}}),'localeService':_0x4042bb})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b2),'children':[(0x0,react_jsx_runtime['jsx'])(_0x90b1b8(0x3f6),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x30efac(_0x90b1b8(0x2f7))}),!_0x44dafc&&(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b4),'children':_0x30efac('chart.waterfall.negativeLegendText')}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d3)],{'className':'univer-mb-2','value':(_0x559dce===null||_0x559dce===void 0x0||(_0x2f77f0=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x2f77f0===void 0x0||(_0x2f77f0=_0x2f77f0['negative'])===null||_0x2f77f0===void 0x0?void 0x0:_0x2f77f0[_0x90b1b8(0x52e)])||_0x586cb7(_0x583387,_univerjs_pro_engine_chart[_0x90b1b8(0x264)][_0x90b1b8(0x2fe)]),'onChange':_0xdb792b=>{_0x586b09({'waterfall':{'negative':{'name':_0xdb792b}}});},'onFocus':()=>{const _0x327a62=_0x90b1b8;_0x46fc58[_0x327a62(0x40f)](_univerjs_core[_0x327a62(0x28e)],!![]);},'onBlur':()=>{const _0x2d1f65=_0x90b1b8;_0x46fc58[_0x2d1f65(0x40f)](_univerjs_core[_0x2d1f65(0x28e)],![]);}})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits']['Waterfall'],'allSeriesStyle':_0x4e39bc,'controlName':'','seriesStyle':_0x44dafc?_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x1cd032=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x1cd032===void 0x0?void 0x0:_0x1cd032[_0x90b1b8(0x2fe)]:_0x559dce===null||_0x559dce===void 0x0||(_0x5095df=_0x559dce['waterfall'])===null||_0x5095df===void 0x0?void 0x0:_0x5095df['negative'],'onSeriesStyleChange':_0x10f5a5=>_0x586b09({'waterfall':{'negative':_0x10f5a5}}),'localeService':_0x4042bb}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(BorderOptions,{'controlName':_0x30efac(_0x90b1b8(0x1a3)),'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc['border'],'borderStyle':_0xd6b590,'onSeriesStyleChange':_0x54720b=>_0x586b09({'waterfall':{'negative':_0x54720b}}),'localeService':_0x4042bb})]}),_0x593c56&&(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime[_0x90b1b8(0x263)],{'children':(0x0,react_jsx_runtime[_0x90b1b8(0x624)])('div',{'className':_0x90b1b8(0x1b2),'children':(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x5ff),'children':_0x30efac(_0x90b1b8(0x33b))}),(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime[_0x90b1b8(0x263)],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b4),'children':_0x30efac('chart.waterfall.subtotalLegendText')}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d3)],{'className':_0x90b1b8(0x497),'value':_0x21adae||_0x586cb7(_0x583387,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum']['subtotal']),'onChange':_0x35f1d2=>{_0x586b09({'waterfall':{'subtotal':{'name':_0x35f1d2}}});},'onFocus':()=>{const _0x267ab8=_0x90b1b8;_0x46fc58[_0x267ab8(0x40f)](_univerjs_core[_0x267ab8(0x28e)],!![]);},'onBlur':()=>{const _0x3c6606=_0x90b1b8;_0x46fc58[_0x3c6606(0x40f)](_univerjs_core[_0x3c6606(0x28e)],![]);}})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x90b1b8(0x5c6)][_0x90b1b8(0x1f5)],'allSeriesStyle':_0x4e39bc,'controlName':'','seriesStyle':_0x44dafc?_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x1e541c=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x1e541c===void 0x0?void 0x0:_0x1e541c[_0x90b1b8(0x3e0)]:_0x559dce===null||_0x559dce===void 0x0||(_0x2652ad=_0x559dce['waterfall'])===null||_0x2652ad===void 0x0?void 0x0:_0x2652ad[_0x90b1b8(0x3e0)],'onSeriesStyleChange':_0x1f9efd=>_0x586b09({'waterfall':{'subtotal':_0x1f9efd}}),'localeService':_0x4042bb}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(BorderOptions,{'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc[_0x90b1b8(0x352)],'controlName':_0x30efac(_0x90b1b8(0x1a3)),'borderStyle':_0x16c308,'onSeriesStyleChange':_0x303d8a=>_0x586b09({'waterfall':{'subtotal':_0x303d8a}}),'localeService':_0x4042bb})]})})}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])('div',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(DataLabelOptions,{'localeService':_0x4042bb,'fallbackLabelStyle':fallbackLabelStyle,'labelStyle':_0x562f32,'positionOptions':_0x14ce47,'contentTypeOptions':_0x1cf0b8,'onLabelStyleChange':(_0x473331,_0x2f568f)=>_0x586b09({'label':{[_0x473331]:_0x2f568f}}),'onVisibleChange':_0x476002=>_0x586b09({'label':{'visible':_0x476002}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x90b1b8(0x1f5)]})})]});};function getShapes(_0x16868f){const _0x589395=_0x5db780,_0x36cb7c=[];for(const [_0x555bc5,_0x9580c0]of _0x16868f)_0x36cb7c[_0x589395(0x335)]({'value':_0x555bc5,'label':_0x555bc5,'icon':_0x9580c0[_0x589395(0x55d)]});return _0x36cb7c;}function WordCloudShapeSelector(_0x2aa696){const _0x333e8a=_0x5db780,{service:_0x427c89,localeService:_0x4d068f}=_0x2aa696,_0x2062d1=getShapes((0x0,_univerjs_ui[_0x333e8a(0x2a6)])(_univerjs_pro_engine_chart[_0x333e8a(0x2c6)])[_0x333e8a(0x310)]()),[_0x153117,_0x19e3d4]=useChartConfigState(_0x333e8a(0x326),_0x427c89),[_0x58fe5a,_0x3d3d27]=useChartConfigState(_0x333e8a(0x3a2),_0x427c89),[_0x16dbe3,_0x1606de]=(0x0,react[_0x333e8a(0x32e)])(![]),{t:_0x33fcbb}=_0x4d068f,_0x949470=_0x2062d1['find'](_0x402a30=>_0x402a30['value']===_0x153117)||_0x2062d1[0x0];return(0x0,react_jsx_runtime['jsxs'])(_0x333e8a(0x3f6),{'className':_0x333e8a(0x2e5),'children':[(0x0,react_jsx_runtime[_0x333e8a(0x624)])('div',{'className':_0x333e8a(0x302),'children':_0x33fcbb(_0x333e8a(0x28b))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x333e8a(0x43b)],{'open':_0x16dbe3,'onOpenChange':_0x1606de,'overlay':(0x0,react_jsx_runtime[_0x333e8a(0x624)])(_0x333e8a(0x3f6),{'className':_0x333e8a(0x3ea),'children':_0x2062d1[_0x333e8a(0x20f)](_0x476119=>(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x45c),{'className':(0x0,_univerjs_design[_0x333e8a(0x593)])(_0x333e8a(0x1d5),_univerjs_design['borderClassName'],{'univer-bg-white':_0x949470[_0x333e8a(0x1f4)]!==_0x476119[_0x333e8a(0x1f4)],'univer-select-item-option-selected':_0x949470[_0x333e8a(0x1f4)]===_0x476119['value']}),'type':_0x333e8a(0x45c),'onClick':()=>{_0x19e3d4(_0x476119['value']),_0x1606de(![]);},'children':(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x2c2),{'className':_0x333e8a(0x478),'children':(0x0,react_jsx_runtime[_0x333e8a(0x624)])('img',{'src':_0x476119[_0x333e8a(0x336)],'alt':_0x476119[_0x333e8a(0x517)]})})},_0x476119[_0x333e8a(0x1f4)]))}),'children':(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x45c),{'className':(0x0,_univerjs_design[_0x333e8a(0x593)])('univer-box-border\x20univer-h-8\x20univer-w-full\x20univer-rounded-md\x20univer-bg-white\x20univer-px-2\x20univer-pb-2.5\x20univer-text-sm\x20univer-transition-colors\x20univer-duration-200\x20placeholder:univer-text-gray-400\x20focus:univer-border-primary-500\x20focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-50',_univerjs_design[_0x333e8a(0x24e)]),'type':_0x333e8a(0x45c),'children':(0x0,react_jsx_runtime['jsxs'])(_0x333e8a(0x2c2),{'className':_0x333e8a(0x551),'children':[(0x0,react_jsx_runtime[_0x333e8a(0x624)])(_0x333e8a(0x2c2),{'className':'univer-mr-2\x20univer-text-2xl','children':(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x4c7),{'className':'univer-size-4','src':_0x949470[_0x333e8a(0x336)],'alt':_0x949470[_0x333e8a(0x517)]})}),(0x0,react_jsx_runtime[_0x333e8a(0x624)])(_0x333e8a(0x2c2),{'className':_0x333e8a(0x311),'children':_0x949470[_0x333e8a(0x517)]})]})})}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x333e8a(0x1a0)],{'className':_0x333e8a(0x3de),'checked':_0x58fe5a!==null&&_0x58fe5a!==void 0x0?_0x58fe5a:_univerjs_pro_engine_chart[_0x333e8a(0x3fc)][_0x333e8a(0x351)]['repeat'],'onChange':_0x338a3a=>{_0x3d3d27===null||_0x3d3d27===void 0x0||_0x3d3d27(Boolean(_0x338a3a));},'children':_0x33fcbb(_0x333e8a(0x1c9))})]});}const {textStyle}=_univerjs_pro_engine_chart[_0x5db780(0x3fc)],StyleTabPanel=()=>{const _0x1cf3ba=_0x5db780;var _0x5aafd2,_0x27576b,_0xdabd0d,_0x2b0dd6,_0x1222ba,_0x216a1e,_0x17d8fe,_0x1c9c1b,_0x365ab5,_0x32d820;const _0x3e97b6=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_core[_0x1cf3ba(0x1c2)]),_0x2cb8b7=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_core[_0x1cf3ba(0x3a5)]),_0x5e4edd=useSheetsChartUIService(),_0x3c46f6=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_ui[_0x1cf3ba(0x4d5)]),{t:_0x217274}=_0x3e97b6,[_0x3cc462,_0x51a529]=useChartConfigState(_0x1cf3ba(0x26b),_0x5e4edd),[_0xc4cf20]=useChartConfigState(_0x1cf3ba(0x33e),_0x5e4edd),[_0x14f162,_0x16973c]=useChartConfigState('backgroundColor',_0x5e4edd,''),[_0x4ac4a4,_0x2c0e09]=useChartConfigState(_0x1cf3ba(0x424),_0x5e4edd,''),[_0x3fb200,_0x1ccf26]=useChartConfigState(_0x1cf3ba(0x457),_0x5e4edd),[_0x4a47bd,_0x4804d4]=useChartConfigState(_0x1cf3ba(0x42b),_0x5e4edd),[_0x988309,_0x259012]=useChartConfigState(_0x1cf3ba(0x52d),_0x5e4edd),[_0x159ae6,_0x4f639b]=useChartConfigState(_0x1cf3ba(0x531),_0x5e4edd),[_0x2494d5,_0x597e7]=useChartConfigState(_0x1cf3ba(0x20e),_0x5e4edd),[_0x33b901,_0x561037]=useChartConfigState(_0x1cf3ba(0x61b),_0x5e4edd),[_0x23dde,_0x3ceb10]=useChartConfigState(_0x1cf3ba(0x451),_0x5e4edd),[_0x345c09,_0x761a20]=useChartConfigState(_0x1cf3ba(0x504),_0x5e4edd),[_0x18a542]=useChartConfigState('runtimeAxes',_0x5e4edd),[_0xac3a06]=useChartConfigState(_0x1cf3ba(0x5f6),_0x5e4edd),_0x3e64a5=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_pro_engine_chart[_0x1cf3ba(0x5ec)]),[_0x5dbf32,_0x3c5b67]=(0x0,react['useState'])(''),[_0x5aa11a]=useChartConfigState(_0x1cf3ba(0x552),_0x5e4edd),_0x14e16d=_0x3cc462&&(0x0,_univerjs_pro_engine_chart[_0x1cf3ba(0x594)])(_0x3cc462),_0x3df7d7=_0x5aa11a&&_0x5aa11a['length']>0x0,_0x32bb61=_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x5a9)]),_0x4c8d4d=(0x0,react[_0x1cf3ba(0x3dc)])(()=>{const _0x301426=_0x1cf3ba;return _0xac3a06?_0x3e64a5['getTheme'](_0xac3a06):_0x3e64a5[_0x301426(0x51b)]();},[_0xac3a06]),_0x389f85=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x638)])),_0x1a4c9e=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x22d)])),_0x2cdfb1=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x22b)])),_0x12c2ed=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x1ac)])),_0x417dbc=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)]['Pareto'])),_0x5c2635=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x641)])),_0x12b201=Boolean(_0x3cc462&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x4df)])),_0x32c3a9=(0x0,react['useMemo'])(()=>{const _0x11fc7d=_0x1cf3ba;return _0x18a542===null||_0x18a542===void 0x0?void 0x0:_0x18a542[_0x11fc7d(0x429)]((_0x4d8243,_0x27f2e5)=>{return _0x4d8243[_0x27f2e5['position']]=_0x27f2e5,_0x4d8243;},{});},[_0x18a542]),_0x308aaa=Boolean(_0x32c3a9===null||_0x32c3a9===void 0x0?void 0x0:_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x250)]])&&Boolean(_0x32c3a9===null||_0x32c3a9===void 0x0?void 0x0:_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x4b3)]])&&(_0x3cc462&_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)]['Pie'])===0x0&&(_0x3cc462&_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x262)])===0x0,[_0x1d8acd,_0x58b172]=(0x0,react[_0x1cf3ba(0x32e)])(titleOptions[0x0][_0x1cf3ba(0x1f4)]),_0x433461=_0x33b901===null||_0x33b901===void 0x0?void 0x0:_0x33b901[_0x1d8acd],_0x246fb5={'color':textStyle[_0x1cf3ba(0x1e1)],'fontSize':_0x1d8acd===_0x1cf3ba(0x610)?textStyle[_0x1cf3ba(0x454)]:_0x1d8acd===_0x1cf3ba(0x222)?textStyle['subTitleFontSize']:textStyle[_0x1cf3ba(0x35b)],..._0x433461},_0x2da756=(0x0,react[_0x1cf3ba(0x510)])(_0x25eb4f=>{_0x561037({[_0x1d8acd]:_0x25eb4f});},[_0x1d8acd]),_0x5c95d7=_0x256b03=>{const _0x49f77c=_0x1cf3ba,_0x3c14fd={'label':{'axisTitleAlign':_0x256b03}};if(_0x1d8acd==='xAxisTitle')_0x259012(_0x3c14fd);if(_0x1d8acd===_0x49f77c(0x597))_0x4f639b(_0x3c14fd);if(_0x1d8acd===_0x49f77c(0x3ac))_0x597e7(_0x3c14fd);},_0x58e934=()=>{const _0x537b3a=_0x1cf3ba;if(_0x1d8acd==='xAxisTitle'){var _0x5d10db;return _0x988309===null||_0x988309===void 0x0||(_0x5d10db=_0x988309[_0x537b3a(0x517)])===null||_0x5d10db===void 0x0?void 0x0:_0x5d10db['axisTitleAlign'];}if(_0x1d8acd==='yAxisTitle'){var _0x539f8c;return _0x159ae6===null||_0x159ae6===void 0x0||(_0x539f8c=_0x159ae6[_0x537b3a(0x517)])===null||_0x539f8c===void 0x0?void 0x0:_0x539f8c[_0x537b3a(0x3e8)];}if(_0x1d8acd===_0x537b3a(0x3ac)){var _0x2e984e;return _0x2494d5===null||_0x2494d5===void 0x0||(_0x2e984e=_0x2494d5[_0x537b3a(0x517)])===null||_0x2e984e===void 0x0?void 0x0:_0x2e984e['axisTitleAlign'];}};(0x0,react['useEffect'])(()=>{const _0x5c2eaa=_0x1cf3ba;var _0x169f46;_0x3c5b67((_0x169f46=_0x246fb5===null||_0x246fb5===void 0x0?void 0x0:_0x246fb5[_0x5c2eaa(0x547)])!==null&&_0x169f46!==void 0x0?_0x169f46:'');},[_0x246fb5===null||_0x246fb5===void 0x0?void 0x0:_0x246fb5['content']]);const _0x4b6f8a=useTranslatedOptions(_0x3e97b6,legendLabelPositionOptions),_0x53add4=useTranslatedOptions(_0x3e97b6,titleOptions),_0x5090ee=useTranslatedOptions(_0x3e97b6,legendSelectModeOptions),_0xfcde83=useTranslatedOptions(_0x3e97b6,legendVisualMapTypeOptions),_0x530d3a=[_0x53add4[0x0]],_0x402794=useTranslatedOptions(_0x3e97b6,titlePositionOptions),_0x20fc67=useTranslatedOptions(_0x3e97b6,axisTitlePositionOptions),_0x423ce3=(_0x4f43e7,_0x561a76)=>{const _0x6e70f3=_0x1cf3ba,_0x4b01a6={'label':UNIVER_SHEET_CHART_FORMAT_DIALOG,'onPatternApply':_0x561a76,'originPattern':_0x4f43e7};_0x3c46f6[_0x6e70f3(0x34c)]({'id':UNIVER_SHEET_CHART_FORMAT_DIALOG_ID,'title':{'title':_0x217274(_0x6e70f3(0x4b5))},'children':_0x4b01a6,'width':0x258,'onClose':()=>{const _0x29260e=_0x6e70f3;_0x3c46f6[_0x29260e(0x39d)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);}});},_0x350148=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x305)])),_0x232431=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x262)])),_0x50679a=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)]['Waterfall']));return(0x0,react_jsx_runtime['jsx'])(_0x1cf3ba(0x3f6),{'className':'','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Accordion'],{'items':[{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x4d1))}),'children':(0x0,react_jsx_runtime['jsx'])('section',{'className':_0x1cf3ba(0x1b2),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5de),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274('chart.backgroundColor')}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(ColorPickerControl,{'color':_0x14f162,'onChange':_0x16973c})]}),(0x0,react_jsx_runtime['jsxs'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5de),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x4c1))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(ColorPickerControl,{'color':_0x4ac4a4,'onChange':_0x2c0e09})]})]})})},{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x4db))}),'children':(0x0,react_jsx_runtime['jsxs'])('section',{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x19c))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Select'],{'className':_0x1cf3ba(0x226),'value':_0x1d8acd,'options':_0x350148||_0x232431||_0x389f85?_0x530d3a:_0x53add4,'onChange':_0x19357a=>_0x58b172(_0x19357a)})]}),(0x0,react_jsx_runtime['jsxs'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x3a0))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Input'],{'value':_0x5dbf32,'onChange':_0x3c5b67,'onFocus':()=>{const _0x15908e=_0x1cf3ba;_0x2cb8b7[_0x15908e(0x40f)](_univerjs_core[_0x15908e(0x28e)],!![]);},'onBlur':()=>{const _0x5b267c=_0x1cf3ba;_0x2cb8b7[_0x5b267c(0x40f)](_univerjs_core[_0x5b267c(0x28e)],![]);if(_0x5dbf32!==(_0x246fb5===null||_0x246fb5===void 0x0?void 0x0:_0x246fb5[_0x5b267c(0x547)]))_0x2da756({'content':_0x5dbf32});}})]}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5de),'children':[_0x1d8acd===_0x1cf3ba(0x610)&&(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(react_jsx_runtime[_0x1cf3ba(0x263)],{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x586))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Select'],{'className':_0x1cf3ba(0x226),'value':_0x23dde!==null&&_0x23dde!==void 0x0?_0x23dde:_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x451)],'options':_0x402794,'onChange':_0x56af48=>_0x3ceb10(_0x56af48)})]}),_0x1d8acd!==_0x1cf3ba(0x610)&&(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(react_jsx_runtime[_0x1cf3ba(0x263)],{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x391))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x1d8)],{'className':_0x1cf3ba(0x226),'value':(_0x5aafd2=_0x58e934())!==null&&_0x5aafd2!==void 0x0?_0x5aafd2:_univerjs_pro_engine_chart['defaultChartConfig'][_0x1cf3ba(0x43c)][_0x1cf3ba(0x54e)],'options':_0x20fc67,'onChange':_0x35b252=>_0x5c95d7(_0x35b252)})]})]})})}),(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime['jsx'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x22e))}),(0x0,react_jsx_runtime['jsx'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5a3),'children':(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{'alignControl':_0x1d8acd===_0x1cf3ba(0x610),'localeService':_0x3e97b6,..._0x246fb5,'onChange':(_0x1d0f1f,_0x2e0789)=>_0x2da756({[_0x1d0f1f]:_0x2e0789})})})]})]})},_0x389f85&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x4f1))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(WordCloudShapeSelector,{'service':_0x5e4edd,'localeService':_0x3e97b6})},!_0x389f85&&!_0x350148&&!_0x1a4c9e&&!_0x12c2ed&&!_0x50679a&&!_0x417dbc&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x520))}),'children':(0x0,react_jsx_runtime['jsx'])(SeriesStyleEdit,{'chartType':_0x3cc462,'service':_0x5e4edd,'localeService':_0x3e97b6})},_0x417dbc&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274('chart.pareto.barSeries')}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(ParetoStyleEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6,'isLineSeries':![]})},_0x417dbc&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x512))}),'children':(0x0,react_jsx_runtime['jsx'])(ParetoStyleEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6,'isLineSeries':!![]})},_0x50679a&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x520))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(WaterfallSeriesEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6})},_0x350148&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x427))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(PieChartStyleEdit,{'chartType':_0x3cc462,'service':_0x5e4edd,'localeService':_0x3e97b6,'onChartTypeChange':_0x51a529})},!_0x389f85&&!_0x5c2635&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x25c))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x628),{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x397))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x1d8)],{'className':_0x1cf3ba(0x226),'value':(_0x3fb200===null||_0x3fb200===void 0x0?void 0x0:_0x3fb200[_0x1cf3ba(0x453)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x21c)][_0x1cf3ba(0x453)],'onChange':_0x445002=>_0x1ccf26({..._0x3fb200,'position':_0x445002}),'options':_0x4b6f8a})]}),(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])('div',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274('chart.legendSelectMode')}),!_0x12b201&&(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x3fb200===null||_0x3fb200===void 0x0?void 0x0:_0x3fb200[_0x1cf3ba(0x31c)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x21c)][_0x1cf3ba(0x31c)],'onChange':_0x1717d6=>_0x1ccf26({..._0x3fb200,'selectMode':_0x1717d6}),'options':_0x5090ee}),_0x12b201&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1cf3ba(0x1d8)],{'className':_0x1cf3ba(0x226),'value':_0x4a47bd||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x3c9)][_0x1cf3ba(0x42b)],'onChange':_0x472792=>_0x4804d4(_0x472792),'options':_0xfcde83})]}),!_0x12b201&&(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x22e))}),(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{..._0x3fb200===null||_0x3fb200===void 0x0?void 0x0:_0x3fb200['label'],'localeService':_0x3e97b6,'fontSize':(_0x27576b=_0x3fb200===null||_0x3fb200===void 0x0||(_0xdabd0d=_0x3fb200[_0x1cf3ba(0x517)])===null||_0xdabd0d===void 0x0?void 0x0:_0xdabd0d['fontSize'])!==null&&_0x27576b!==void 0x0?_0x27576b:_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x448)][_0x1cf3ba(0x35b)],'color':(_0x2b0dd6=_0x3fb200===null||_0x3fb200===void 0x0||(_0x1222ba=_0x3fb200[_0x1cf3ba(0x517)])===null||_0x1222ba===void 0x0?void 0x0:_0x1222ba[_0x1cf3ba(0x1e1)])!==null&&_0x2b0dd6!==void 0x0?_0x2b0dd6:_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x448)][_0x1cf3ba(0x1e1)],'onChange':(_0x3a07ce,_0x1e4ee0)=>_0x1ccf26({'label':{[_0x3a07ce]:_0x1e4ee0}})})]})]})},!_0x389f85&&!_0x350148&&!_0x232431&&!_0x2cdfb1&&!_0x12c2ed&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274('chart.axes.horizontalAxis')}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x628),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(AxisOptionsEdit,{'localeService':_0x3e97b6,'sheetsChartUIService':_0x5e4edd,'axisOptions':_0x988309,'canUseDateAxis':_0x3cc462!==_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x5a9)]&&_0x3cc462!==_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x1f5)],'valueAxis':_0x32bb61||(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x216a1e=_0x32c3a9[_univerjs_pro_engine_chart['IRuntimeAxisPosition']['Bottom']])===null||_0x216a1e===void 0x0?void 0x0:_0x216a1e[_0x1cf3ba(0x582)])===_univerjs_pro_engine_chart['AxisValueType'][_0x1cf3ba(0x3b6)],'onChange':_0x259012}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x469)],{'className':'','size':'small','onClick':()=>{const _0x2fc465=_0x1cf3ba;_0x423ce3(_0x988309===null||_0x988309===void 0x0?void 0x0:_0x988309[_0x2fc465(0x1cf)],_0x5f2f8c=>{_0x259012({'format':_0x5f2f8c});});},'children':_0x217274(_0x1cf3ba(0x4b5))})]})},!_0x389f85&&!_0x350148&&!_0x232431&&!_0x2cdfb1&&!_0x12c2ed&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x435))}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x1cf3ba(0x628),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(AxisOptionsEdit,{'localeService':_0x3e97b6,'sheetsChartUIService':_0x5e4edd,'axisOptions':_0x159ae6,'canUseDateAxis':![],'valueAxis':(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x17d8fe=_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x4b3)]])===null||_0x17d8fe===void 0x0?void 0x0:_0x17d8fe['type'])===_univerjs_pro_engine_chart[_0x1cf3ba(0x522)][_0x1cf3ba(0x3b6)],'onChange':_0x4f639b}),(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x1c9c1b=_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x4b3)]])===null||_0x1c9c1b===void 0x0?void 0x0:_0x1c9c1b[_0x1cf3ba(0x582)])===_univerjs_pro_engine_chart[_0x1cf3ba(0x522)]['Numeric']&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1cf3ba(0x469)],{'className':'','size':_0x1cf3ba(0x53c),'onClick':()=>{_0x423ce3(_0x159ae6===null||_0x159ae6===void 0x0?void 0x0:_0x159ae6['format'],_0x42f318=>{_0x4f639b({'format':_0x42f318});});},'children':_0x217274(_0x1cf3ba(0x4b5))})]})},!_0x389f85&&_0x308aaa&&!_0x12c2ed&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x5a0))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x628),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(AxisOptionsEdit,{'localeService':_0x3e97b6,'sheetsChartUIService':_0x5e4edd,'canUseDateAxis':![],'axisOptions':_0x2494d5,'onChange':_0x597e7,'valueAxis':!![]}),(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x365ab5=_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x250)]])===null||_0x365ab5===void 0x0?void 0x0:_0x365ab5[_0x1cf3ba(0x582)])===_univerjs_pro_engine_chart[_0x1cf3ba(0x522)]['Numeric']&&(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x469)],{'className':'','size':_0x1cf3ba(0x53c),'onClick':()=>{const _0x497818=_0x1cf3ba;_0x423ce3(_0x2494d5===null||_0x2494d5===void 0x0?void 0x0:_0x2494d5[_0x497818(0x1cf)],_0x53a7ce=>{_0x597e7({'format':_0x53a7ce});});},'children':_0x217274(_0x1cf3ba(0x4b5))})]})},!_0x389f85&&!_0x350148&&!_0x232431&&!_0x12c2ed&&!_0x2cdfb1&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274('chart.gridlinesAndTicks')}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x628),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(GridLineAndTickOptions,{'service':_0x5e4edd,'localeService':_0x3e97b6,'className':_0x1cf3ba(0x546),'runtimeAxes':_0x18a542})})},!_0x389f85&&!_0x12c2ed&&!_0x350148&&!_0x2cdfb1&&!_0x5c2635&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x1f6))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x628),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(IndicatorLine,{'localeService':_0x3e97b6,'indicatorLabelColor':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x4e2)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x1c3)],'indicatorLineType':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x5f8)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x1cf3ba(0x5f8)],'indicatorLabelTextColor':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x5cf)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x2c1)],'indicatorLineColor':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x1a1)])||(_0x4c8d4d===null||_0x4c8d4d===void 0x0||(_0x32d820=_0x4c8d4d[_0x1cf3ba(0x2bf)])===null||_0x32d820===void 0x0?void 0x0:_0x32d820[_0x1cf3ba(0x327)]),'onChange':_0xf841c3=>{_0x761a20(_0xf841c3);}})})},_0x14e16d&&_0x3df7d7&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x4ac))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(TrendLineStyleEdit,{'localeService':_0x3e97b6,'uiService':_0x5e4edd})},_0x12c2ed&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x36a))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('section',{'className':_0x1cf3ba(0x1b2),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(RelationEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6})})}][_0x1cf3ba(0x197)](Boolean)})});};function ChartEditPanel(_0x2b1a6c){const _0x29ff2a=_0x5db780,{className:_0x1c3743}=_0x2b1a6c,[_0x5a1795,_0x2705f]=(0x0,react[_0x29ff2a(0x32e)])(0x0),_0x2ff65a=(0x0,_univerjs_ui[_0x29ff2a(0x2a6)])(_univerjs_core[_0x29ff2a(0x1c2)]);return(0x0,react_jsx_runtime['jsxs'])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x29ff2a(0x279),_0x1c3743),'children':[(0x0,react_jsx_runtime[_0x29ff2a(0x3aa)])('div',{'className':_0x29ff2a(0x4ce),'children':[(0x0,react_jsx_runtime[_0x29ff2a(0x3aa)])(_0x29ff2a(0x3f6),{'className':(0x0,_univerjs_design[_0x29ff2a(0x593)])(_0x29ff2a(0x2df),_0x5a1795===0x0?_0x29ff2a(0x2b0):_0x29ff2a(0x62a)),'onClick':()=>_0x2705f(0x0),'children':[_0x2ff65a['t'](_0x29ff2a(0x643)),(0x0,react_jsx_runtime[_0x29ff2a(0x624)])(_0x29ff2a(0x3f6),{'className':(0x0,_univerjs_design[_0x29ff2a(0x593)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x5a1795===0x0,'univer-bg-transparent':_0x5a1795!==0x0})})]}),(0x0,react_jsx_runtime[_0x29ff2a(0x3aa)])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x29ff2a(0x2df),{'univer-text-primary-600':_0x5a1795===0x1,'univer-text-gray-500':_0x5a1795!==0x1}),'onClick':()=>_0x2705f(0x1),'children':[_0x2ff65a['t'](_0x29ff2a(0x19a)),(0x0,react_jsx_runtime['jsx'])('div',{'className':(0x0,_univerjs_design[_0x29ff2a(0x593)])(_0x29ff2a(0x285),{'univer-bg-primary-600':_0x5a1795===0x1,'univer-bg-transparent':_0x5a1795!==0x1})})]})]}),(0x0,react_jsx_runtime[_0x29ff2a(0x624)])(_0x29ff2a(0x3f6),{'className':'univer-flex-1\x20univer-overflow-auto','children':_0x5a1795===0x0?(0x0,react_jsx_runtime['jsx'])(DataTabPanel,{}):(0x0,react_jsx_runtime['jsx'])(StyleTabPanel,{})})]});}const getCurrencyType=_0x2836a6=>{const _0x2c4cb7=_0x5db780;return currencySymbols[_0x2c4cb7(0x5c3)](_0x216f87=>_0x2836a6[_0x2c4cb7(0x19e)](_0x216f87));},isGeneralPanel=_0x43a166=>!_0x43a166,isAccountingPanel=_0x2d8c94=>{const _0x1e8f9a=_0x5db780;return!!getCurrencyType(_0x2d8c94)&&_0x2d8c94[_0x1e8f9a(0x24c)]('_(');},isCurrencyPanel=_0x42aa8a=>{return!!getCurrencyType(_0x42aa8a)&&!_0x42aa8a['startsWith']('_(');},getDecimalFromPattern=(_0x4215c1,_0x5c742f=0x0)=>{const _0x223005=_0x5db780;var _0x51a8ef;if(!_0x4215c1)return _0x5c742f;return(_0x51a8ef=_univerjs_core['numfmt'][_0x223005(0x5bb)](_0x4215c1)['maxDecimals'])!==null&&_0x51a8ef!==void 0x0?_0x51a8ef:_0x5c742f;},getDecimalString=_0x349156=>new Array(Math[_0x5db780(0x393)](Math[_0x5db780(0x1e5)](0x0,Number(_0x349156)),0x1e))['fill'](0x0)['join'](''),setPatternDecimal=(_0x42890e,_0x4169ef)=>{const _0x1ac000=_0x5db780;return _0x42890e[_0x1ac000(0x601)](';')[_0x1ac000(0x20f)](_0x255b88=>{const _0xc976a1=_0x1ac000;if(/\.0?/['test'](_0x255b88))return _0x255b88['replace'](/\.0*/g,''+(_0x4169ef>0x0?'.':'')+getDecimalString(Number(_0x4169ef||0x0)));if(/0[^0]?/[_0xc976a1(0x38e)](_0x255b88))return _0x255b88['replace'](/0[^0]+|0$/,'0'+(_0x4169ef>0x0?'.':'')+getDecimalString(Number(_0x4169ef||0x0)));return _0x255b88;})[_0x1ac000(0x407)](';');},getNumberFormatOptions=()=>ThousandsSeparatorFormatList['map'](_0x2396ca=>({'label':_0x2396ca[_0x5db780(0x517)],'value':_0x2396ca[_0x5db780(0x231)],'color':_0x2396ca[_0x5db780(0x1e1)]})),isThousandthPercentilePanel=_0x32e97c=>getNumberFormatOptions()['some'](_0x26a28a=>(0x0,_univerjs_core[_0x5db780(0x1ba)])(_0x26a28a[_0x5db780(0x1f4)],_0x32e97c)),getDateFormatOptions=()=>DateFormatList['map'](_0x33b8d1=>({'label':_0x33b8d1[_0x5db780(0x517)],'value':_0x33b8d1[_0x5db780(0x231)]})),isDatePanel=_0x25620a=>{const _0x2ecccf=_0x5db780,_0x2bcff2=_univerjs_core[_0x2ecccf(0x1b1)][_0x2ecccf(0x5bb)](_0x25620a);return getDateFormatOptions()[_0x2ecccf(0x20f)](_0x346e9e=>_0x346e9e['value'])[_0x2ecccf(0x19e)](_0x25620a)||[_0x2ecccf(0x44e),_0x2ecccf(0x574),_0x2ecccf(0x240)][_0x2ecccf(0x19e)](_0x2bcff2[_0x2ecccf(0x582)]);};var NumfmtTypeEnum=function(_0x1671bf){const _0x4eabf6=_0x5db780;return _0x1671bf['General']='sheet.numfmt.general',_0x1671bf[_0x4eabf6(0x246)]='sheet.numfmt.accounting',_0x1671bf[_0x4eabf6(0x36c)]=_0x4eabf6(0x1eb),_0x1671bf['Date']=_0x4eabf6(0x3b4),_0x1671bf[_0x4eabf6(0x2de)]=_0x4eabf6(0x40b),_0x1671bf;}(NumfmtTypeEnum||{});const GeneralPanel=({handlePatternChange:_0x1d0b9d})=>{const _0x3490d6=_0x5db780,_0x289f50=(0x0,_univerjs_ui[_0x3490d6(0x2a6)])(_univerjs_core['LocaleService'])['t'];return(0x0,react[_0x3490d6(0x5d3)])(()=>{_0x1d0b9d('');},[]),(0x0,react_jsx_runtime[_0x3490d6(0x624)])(_0x3490d6(0x3f6),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x289f50(_0x3490d6(0x3c3))});},AccountingPanel=({originPattern:_0x1ac7c9,handlePatternChange:_0x57b88e})=>{const _0x139d45=_0x5db780,_0x248d0c=(0x0,_univerjs_ui[_0x139d45(0x2a6)])(_univerjs_core['LocaleService'])['t'],_0x4256f6=currencySymbols['map'](_0x2df170=>({'label':_0x2df170,'value':_0x2df170})),[_0x19eb19,_0x5eb81a]=(0x0,react[_0x139d45(0x32e)])(()=>getDecimalFromPattern(_0x1ac7c9||'',0x2)),[_0x4bb9ed,_0x32842f]=(0x0,react[_0x139d45(0x32e)])(()=>{const _0x446078=_0x139d45;return getCurrencyType(_0x1ac7c9!==null&&_0x1ac7c9!==void 0x0?_0x1ac7c9:'')||_0x4256f6[0x0][_0x446078(0x1f4)];}),_0x1f14da=_0xbe402e=>{const _0xe920c6=_0x139d45,_0xd0c4e1=_0xbe402e!==null&&_0xbe402e!==void 0x0?_0xbe402e:0x0;_0x5eb81a(_0xd0c4e1),_0x57b88e(setPatternDecimal(_0xe920c6(0x2af)+_0x4bb9ed+_0xe920c6(0x61e)+(_0xd0c4e1>0x0?'.0':'')+'_)',_0xd0c4e1));},_0x46e7d6=_0x47a107=>{const _0x31e0b8=_0x139d45;_0x32842f(_0x47a107),_0x57b88e(setPatternDecimal(_0x31e0b8(0x2af)+_0x47a107+_0x31e0b8(0x61e)+(_0x19eb19>0x0?'.0':'')+'_)',_0x19eb19));};return(0x0,react['useEffect'])(()=>{_0x57b88e(setPatternDecimal('_(\x22'+_0x4bb9ed+'\x22*\x20#,##0'+(_0x19eb19>0x0?'.0':'')+'_)',_0x19eb19));},[]),(0x0,react_jsx_runtime[_0x139d45(0x3aa)])(_0x139d45(0x3f6),{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime[_0x139d45(0x3aa)])('div',{'className':_0x139d45(0x646),'children':[(0x0,react_jsx_runtime[_0x139d45(0x3aa)])(_0x139d45(0x3f6),{'className':_0x139d45(0x51e),'children':[(0x0,react_jsx_runtime[_0x139d45(0x624)])(_0x139d45(0x3f6),{'className':_0x139d45(0x2ea),'children':_0x248d0c(_0x139d45(0x495))}),(0x0,react_jsx_runtime[_0x139d45(0x624)])(_univerjs_design[_0x139d45(0x537)],{'className':_0x139d45(0x5e4),'value':_0x19eb19,'max':0x14,'min':0x0,'onChange':_0x1f14da})]}),(0x0,react_jsx_runtime[_0x139d45(0x3aa)])(_0x139d45(0x3f6),{'className':'univer-w-[136px]','children':[(0x0,react_jsx_runtime[_0x139d45(0x624)])(_0x139d45(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x248d0c(_0x139d45(0x50e))}),(0x0,react_jsx_runtime[_0x139d45(0x624)])(_univerjs_design['Select'],{'options':_0x4256f6,'value':_0x4bb9ed,'onChange':_0x46e7d6})]})]}),(0x0,react_jsx_runtime[_0x139d45(0x624)])(_0x139d45(0x3f6),{'className':_0x139d45(0x5b8),'children':_0x248d0c(_0x139d45(0x3f8))})]});},CurrencyPanel=({originPattern:_0x26d174,handlePatternChange:_0x58074e})=>{const _0x329027=_0x5db780,_0x32bed1=(0x0,_univerjs_ui[_0x329027(0x2a6)])(_univerjs_core['LocaleService'])['t'],_0x407e7a=currencySymbols[_0x329027(0x20f)](_0x32a2b7=>({'label':_0x32a2b7,'value':_0x32a2b7})),[_0x1d6dc4,_0x2c3136]=(0x0,react[_0x329027(0x32e)])(()=>getDecimalFromPattern(_0x26d174||'',0x2)),[_0x64e286,_0x52993d]=(0x0,react[_0x329027(0x32e)])(()=>getCurrencyType(_0x26d174!==null&&_0x26d174!==void 0x0?_0x26d174:'')||_0x407e7a[0x0]['value']),_0x5e0650=CurrencyFormatList['map'](_0x194b6a=>({'label':_0x194b6a[_0x329027(0x517)](_0x64e286),'value':_0x194b6a[_0x329027(0x231)](_0x64e286),'color':_0x194b6a[_0x329027(0x1e1)]})),[_0x3c4a63,_0x4a5085]=(0x0,react[_0x329027(0x32e)])(()=>{const _0x3d11f0=_0x329027;var _0x4caf95;return((_0x4caf95=_0x5e0650[_0x3d11f0(0x5c3)](_0xe473d0=>(0x0,_univerjs_core[_0x3d11f0(0x1ba)])(_0xe473d0[_0x3d11f0(0x1f4)],_0x26d174!==null&&_0x26d174!==void 0x0?_0x26d174:'')))===null||_0x4caf95===void 0x0?void 0x0:_0x4caf95[_0x3d11f0(0x1f4)])||_0x5e0650[0x0]['value'];}),_0x3be2fd=_0x5f04a0=>{_0x5f04a0&&(_0x2c3136(_0x5f04a0),_0x58074e(setPatternDecimal(_0x3c4a63,_0x5f04a0)));},_0x254973=_0x4eab23=>{const _0x16ba81=_0x329027;_0x52993d(_0x4eab23);const _0x31856b=CurrencyFormatList[_0x16ba81(0x20f)](_0x274cf9=>({'label':_0x274cf9['label'](_0x4eab23),'value':_0x274cf9[_0x16ba81(0x231)](_0x4eab23),'color':_0x274cf9['color']}));_0x4a5085(_0x31856b[0x0][_0x16ba81(0x1f4)]),_0x58074e(setPatternDecimal(_0x31856b[0x0]['value'],_0x1d6dc4));},_0x3a153e=_0x4663c5=>{_0x4a5085(_0x4663c5),_0x58074e(setPatternDecimal(_0x4663c5,_0x1d6dc4));};return(0x0,react[_0x329027(0x5d3)])(()=>{_0x58074e(setPatternDecimal(_0x3c4a63,_0x1d6dc4));},[]),(0x0,react_jsx_runtime[_0x329027(0x3aa)])('div',{'className':_0x329027(0x3de),'children':[(0x0,react_jsx_runtime[_0x329027(0x3aa)])(_0x329027(0x3f6),{'className':_0x329027(0x646),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x329027(0x3f6),{'className':_0x329027(0x51e),'children':[(0x0,react_jsx_runtime['jsx'])(_0x329027(0x3f6),{'className':_0x329027(0x2ea),'children':_0x32bed1(_0x329027(0x495))}),(0x0,react_jsx_runtime[_0x329027(0x624)])(_univerjs_design[_0x329027(0x537)],{'className':_0x329027(0x5e4),'value':_0x1d6dc4,'max':0x14,'min':0x0,'onChange':_0x3be2fd})]}),(0x0,react_jsx_runtime[_0x329027(0x3aa)])(_0x329027(0x3f6),{'className':_0x329027(0x51e),'children':[(0x0,react_jsx_runtime[_0x329027(0x624)])(_0x329027(0x3f6),{'className':_0x329027(0x2ea),'children':_0x32bed1(_0x329027(0x50e))}),(0x0,react_jsx_runtime[_0x329027(0x624)])(_univerjs_design[_0x329027(0x1d8)],{'options':_0x407e7a,'value':_0x64e286,'onChange':_0x254973})]})]}),(0x0,react_jsx_runtime[_0x329027(0x3aa)])(_0x329027(0x3f6),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime[_0x329027(0x624)])(_0x329027(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x32bed1(_0x329027(0x548))}),(0x0,react_jsx_runtime[_0x329027(0x624)])(_univerjs_design[_0x329027(0x5b6)],{'className':(0x0,_univerjs_design['clsx'])(_0x329027(0x382),_univerjs_design[_0x329027(0x4bb)]),'options':_0x5e0650,'value':_0x3c4a63,'onChange':_0x3a153e}),(0x0,react_jsx_runtime['jsx'])(_0x329027(0x3f6),{'className':_0x329027(0x5b8),'children':_0x32bed1('dialog.numfmt.currencyDesc')})]})]});},DatePanel=({originPattern:_0x33660a,handlePatternChange:_0x4ec8eb})=>{const _0x322b57=_0x5db780,_0x154010=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x322b57(0x1c2)])['t'],_0x313989=DateFormatList[_0x322b57(0x20f)](_0xe426f3=>({'label':_0xe426f3[_0x322b57(0x517)],'value':_0xe426f3[_0x322b57(0x231)]})),[_0x466496,_0x34f02a]=(0x0,react['useState'])(()=>{const _0x2e4632=_0x322b57;if(_0x33660a){const _0x406bac=_0x313989[_0x2e4632(0x5c3)](_0x275dfc=>_0x275dfc[_0x2e4632(0x1f4)]===_0x33660a);if(_0x406bac)return _0x406bac[_0x2e4632(0x1f4)];}return _0x313989[0x0]['value'];}),_0x552106=_0x52ed99=>{_0x34f02a(_0x52ed99),_0x4ec8eb(_0x52ed99);};return(0x0,react[_0x322b57(0x5d3)])(()=>{_0x4ec8eb(_0x466496);},[]),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x322b57(0x3de),'children':(0x0,react_jsx_runtime['jsxs'])(_0x322b57(0x3f6),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime[_0x322b57(0x624)])('div',{'className':_0x322b57(0x2ea),'children':_0x154010(_0x322b57(0x386))}),(0x0,react_jsx_runtime[_0x322b57(0x624)])(_0x322b57(0x3f6),{'children':(0x0,react_jsx_runtime[_0x322b57(0x624)])(_univerjs_design[_0x322b57(0x5b6)],{'className':(0x0,_univerjs_design[_0x322b57(0x593)])('univer-rounded-lg\x20univer-p-2',_univerjs_design[_0x322b57(0x4bb)]),'options':_0x313989,'value':_0x466496,'onChange':_0x552106})}),(0x0,react_jsx_runtime[_0x322b57(0x624)])('div',{'className':_0x322b57(0x5b8),'children':_0x154010(_0x322b57(0x2f4))})]})});},ThousandthPercentilePanel=({originPattern:_0x315cb8,handlePatternChange:_0x5e36e5})=>{const _0x3b9bdd=_0x5db780,_0x53b3d2=(0x0,_univerjs_ui[_0x3b9bdd(0x2a6)])(_univerjs_core['LocaleService'])['t'],[_0x587148,_0x21ae2a]=(0x0,react[_0x3b9bdd(0x32e)])(()=>getDecimalFromPattern(_0x315cb8||'',0x0)),_0xb363=ThousandsSeparatorFormatList['map'](_0x1a5818=>({'label':_0x1a5818[_0x3b9bdd(0x517)],'value':_0x1a5818['suffix'],'color':_0x1a5818[_0x3b9bdd(0x1e1)]})),[_0x41c22c,_0x131dab]=(0x0,react[_0x3b9bdd(0x32e)])(()=>{const _0x3632be=_0x3b9bdd,_0x5c38df=_0xb363['find'](_0x4101ba=>(0x0,_univerjs_core[_0x3632be(0x1ba)])(_0x4101ba[_0x3632be(0x1f4)],_0x315cb8||''));return(_0x5c38df===null||_0x5c38df===void 0x0?void 0x0:_0x5c38df[_0x3632be(0x1f4)])||_0xb363[0x0]['value'];}),_0x16c359=_0x1e484a=>{_0x1e484a&&(_0x21ae2a(_0x1e484a),_0x5e36e5(setPatternDecimal(_0x41c22c,Number(_0x1e484a))));},_0x12c048=_0x2e57cb=>{_0x21ae2a(getDecimalFromPattern(_0x2e57cb,0x0)),_0x131dab(_0x2e57cb),_0x5e36e5(_0x2e57cb);};return(0x0,react[_0x3b9bdd(0x5d3)])(()=>{_0x5e36e5(setPatternDecimal(_0x41c22c,Number(_0x587148||0x0)));},[]),(0x0,react_jsx_runtime[_0x3b9bdd(0x3aa)])('div',{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime[_0x3b9bdd(0x624)])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x646),'children':(0x0,react_jsx_runtime['jsxs'])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x51e),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x2ea),'children':_0x53b3d2('dialog.numfmt.decimalPlaces')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3b9bdd(0x537)],{'className':_0x3b9bdd(0x5e4),'value':_0x587148,'max':0x14,'min':0x0,'onChange':_0x16c359})]})}),(0x0,react_jsx_runtime[_0x3b9bdd(0x3aa)])(_0x3b9bdd(0x3f6),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime['jsx'])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x2ea),'children':_0x53b3d2(_0x3b9bdd(0x548))}),(0x0,react_jsx_runtime[_0x3b9bdd(0x624)])(_univerjs_design[_0x3b9bdd(0x5b6)],{'className':(0x0,_univerjs_design['clsx'])('univer-rounded-lg\x20univer-p-2',_univerjs_design[_0x3b9bdd(0x4bb)]),'options':_0xb363,'value':_0x41c22c,'onChange':_0x12c048}),(0x0,react_jsx_runtime[_0x3b9bdd(0x624)])(_0x3b9bdd(0x3f6),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x53b3d2(_0x3b9bdd(0x1fc))})]})]});},ChartNumfmtDialog=({originPattern:_0x539613,onPatternApply:_0x35e792})=>{const _0x22aa6e=_0x5db780,_0x3695c0=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x22aa6e(0x1c2)]),_0x3d45b7=(0x0,_univerjs_ui[_0x22aa6e(0x2a6)])(_univerjs_ui[_0x22aa6e(0x4d5)]),_0x1c424a=_0x3695c0['t'],_0x1bc611=(0x0,react[_0x22aa6e(0x3dc)])(()=>[{'label':_0x22aa6e(0x3b5),'component':GeneralPanel,'key':_0x22aa6e(0x62c)},{'label':_0x22aa6e(0x1fa),'component':AccountingPanel,'key':_0x22aa6e(0x31f)},{'label':_0x22aa6e(0x301),'component':CurrencyPanel,'key':_0x22aa6e(0x1eb)},{'label':'dialog.numfmt.date','component':DatePanel,'key':_0x22aa6e(0x3b4)},{'label':_0x22aa6e(0x1cc),'component':ThousandthPercentilePanel,'key':'sheet.numfmt.thousandthPercentile'}]['map'](_0x514a9b=>({..._0x514a9b,'label':_0x1c424a(_0x514a9b['label'])})),[_0x1c424a]),_0x5af5ee=_0x421b89=>{const _0x5098fa=_0x22aa6e;return[isGeneralPanel,isAccountingPanel,isCurrencyPanel,isDatePanel,isThousandthPercentilePanel][_0x5098fa(0x429)]((_0x13cb2c,_0x284366,_0x5edaef)=>_0x13cb2c||(_0x284366(_0x421b89!==null&&_0x421b89!==void 0x0?_0x421b89:'')?_0x1bc611[_0x5edaef][_0x5098fa(0x4ed)]:''),'')||_0x1bc611[0x0][_0x5098fa(0x4ed)];},_0x17d56b=_0x1bc611[_0x22aa6e(0x20f)](_0x43dd89=>({'label':_0x43dd89[_0x22aa6e(0x517)],'value':_0x43dd89[_0x22aa6e(0x4ed)]})),[_0x27d7b6,_0x28237f]=(0x0,react[_0x22aa6e(0x32e)])(()=>{return _0x5af5ee(_0x539613);}),[_0x968574,_0x141ab6]=(0x0,react['useState'])(_0x539613),_0x57f305=_0x2669d2=>_0x141ab6(_0x2669d2),_0x12e391=_0x5bf521=>{_0x28237f(_0x5bf521);},_0x358381=()=>{const _0x547179=_0x22aa6e;_0x3d45b7[_0x547179(0x39d)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);},_0x5b7b4c=()=>{const _0x334ff0=_0x22aa6e;_0x35e792&&_0x35e792(_0x968574),_0x3d45b7[_0x334ff0(0x39d)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);};return(0x0,react[_0x22aa6e(0x5d3)])(()=>{const _0x4ef553=_0x5af5ee(_0x539613);if(_0x4ef553!==_0x27d7b6)_0x28237f(_0x4ef553);if(_0x539613!==_0x968574)_0x141ab6(_0x539613);},[_0x539613]),(0x0,react_jsx_runtime[_0x22aa6e(0x3aa)])('div',{'children':[(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_0x22aa6e(0x3f6),{'className':_0x22aa6e(0x472),'children':_0x1c424a(_0x22aa6e(0x19d))}),(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_0x22aa6e(0x3f6),{'children':(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_univerjs_design[_0x22aa6e(0x1d8)],{'className':_0x22aa6e(0x62b),'onChange':_0x11523c=>_0x12e391(_0x11523c),'options':_0x17d56b,'value':_0x27d7b6})}),(0x0,react_jsx_runtime[_0x22aa6e(0x3aa)])('div',{'className':_0x22aa6e(0x546),'children':[_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x1d6)]&&(0x0,react_jsx_runtime['jsx'])(GeneralPanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x246)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(AccountingPanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x36c)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(CurrencyPanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x3bf)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(DatePanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x2de)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(ThousandthPercentilePanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305})]}),(0x0,react_jsx_runtime['jsxs'])(_0x22aa6e(0x3f6),{'className':_0x22aa6e(0x20a),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x22aa6e(0x469)],{'onClick':_0x358381,'children':_0x3695c0['t'](_0x22aa6e(0x34f))}),(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_univerjs_design['Button'],{'className':_0x22aa6e(0x44a),'variant':_0x22aa6e(0x3ca),'onClick':_0x5b7b4c,'children':_0x3695c0['t'](_0x22aa6e(0x37e))})]})]});},defaultDeltaSize=0x1,silentChartSpecOperator=_0x3dc570=>{const _0x4bc6a9=_0x5db780;_0x3dc570[_0x4bc6a9(0x513)]=![],_0x3dc570[_0x4bc6a9(0x321)]=!![],_0x3dc570[_0x4bc6a9(0x511)]['forEach'](_0x2f44dc=>{_0x2f44dc['silent']=!![];}),_0x3dc570[_0x4bc6a9(0x5e0)]={'show':![],'axisPointer':{'type':_0x4bc6a9(0x2a7)}};if(_0x3dc570[_0x4bc6a9(0x21c)])_0x3dc570[_0x4bc6a9(0x21c)][_0x4bc6a9(0x421)]=![];return _0x3dc570;};let ChartRenderService=class ChartRenderService extends _univerjs_core['Disposable']{constructor(_0x1ef71f,_0x133a8b,_0x24853f,_0x17442d,_0x2430fb,_0x206cd9,_0xb03f3,_0x4e5036,_0x2a35ca,_0x3ecfcb){const _0x4bf518=_0x5db780;super(),this[_0x4bf518(0x1c7)]=_0x1ef71f,this[_0x4bf518(0x2d7)]=_0x133a8b,this[_0x4bf518(0x2ba)]=_0x24853f,this[_0x4bf518(0x42d)]=_0x17442d,this[_0x4bf518(0x4fd)]=_0x2430fb,this[_0x4bf518(0x5a1)]=_0x206cd9,this[_0x4bf518(0x5e5)]=_0xb03f3,this[_0x4bf518(0x4bd)]=_0x4e5036,this['_chartThemeService']=_0x2a35ca,this['_themeService']=_0x3ecfcb,_defineProperty(this,_0x4bf518(0x405),new Map()),_defineProperty(this,_0x4bf518(0x5ad),new Map()),_defineProperty(this,_0x4bf518(0x63a),null),_defineProperty(this,_0x4bf518(0x61a),new Map()),_defineProperty(this,'_debounceHandleMap',new Map());let _0x50b0cd=!![];const _0xbbb0e9=(0x0,_univerjs_pro_sheets_chart[_0x4bf518(0x2aa)])(this['_injector']);if(_0xbbb0e9[_0x4bf518(0x3db)]===0x1&&_0xbbb0e9[0x0]==='all')_0x50b0cd=![];this[_0x4bf518(0x5a6)](_univerjs_pro_engine_chart[_0x4bf518(0x358)],new _univerjs_pro_engine_chart['EChartRenderModel'](_0x50b0cd)),this[_0x4bf518(0x4b2)]();}[_0x5db780(0x3c6)](){const _0x2732e2=_0x5db780;let _0x18dd07=!![];const _0x1645ac=(0x0,_univerjs_pro_sheets_chart[_0x2732e2(0x2aa)])(this[_0x2732e2(0x4bd)]);if(_0x1645ac[_0x2732e2(0x3db)]===0x1&&_0x1645ac[0x0]==='all')_0x18dd07=![];return _0x18dd07;}[_0x5db780(0x5a6)](_0x194875,_0x232de9){const _0x5af738=_0x5db780;this['_renderModelMap'][_0x5af738(0x45d)](_0x194875,_0x232de9),this['_currentModel']=_0x232de9;}[_0x5db780(0x32c)](_0x5a2abd){const _0x473d76=_0x5db780,_0x105973=this['_renderModelMap']['get'](_0x5a2abd);if(_0x105973)this[_0x473d76(0x63a)]=_0x105973;}[_0x5db780(0x323)](_0x2152d2,_0x384885){const _0x22a05d=_0x5db780,_0x351c38=this['_sheetCanvasFloatDomManagerService'][_0x22a05d(0x640)](_0x2152d2);if(_0x384885[_0x22a05d(0x292)]===void 0x0||_0x384885['height']===void 0x0)return;if(_0x351c38){var _0x46dec9;const {subUnitId:_0x32af9c}=_0x351c38,_0x1f9ca1=(_0x46dec9=this[_0x22a05d(0x4fd)][_0x22a05d(0x2e6)](_univerjs_core['UniverInstanceType'][_0x22a05d(0x20d)]))===null||_0x46dec9===void 0x0?void 0x0:_0x46dec9[_0x22a05d(0x4f6)]();if((_0x1f9ca1===null||_0x1f9ca1===void 0x0?void 0x0:_0x1f9ca1['getSheetId']())===_0x32af9c){const {width:_0x1a8822,height:_0x554eae}=_0x384885,_0x2b5b08=this[_0x22a05d(0x2ba)]['getChartModel'](_0x2152d2),_0xc6c1f5=_0x2b5b08===null||_0x2b5b08===void 0x0?void 0x0:_0x2b5b08[_0x22a05d(0x26a)];if(Math['abs'](_0x1a8822-((_0xc6c1f5===null||_0xc6c1f5===void 0x0?void 0x0:_0xc6c1f5['width'])||0x0))>defaultDeltaSize||Math[_0x22a05d(0x4b9)](_0x554eae-((_0xc6c1f5===null||_0xc6c1f5===void 0x0?void 0x0:_0xc6c1f5[_0x22a05d(0x296)])||0x0))>defaultDeltaSize){_0x2b5b08===null||_0x2b5b08===void 0x0||_0x2b5b08[_0x22a05d(0x1ef)]({..._0xc6c1f5,'width':_0x1a8822,'height':_0x554eae});const _0x4ad1f1=this[_0x22a05d(0x5ad)][_0x22a05d(0x49e)](_0x2152d2);if(_0x4ad1f1){var _0x524ad1,_0x4f7f48;const _0x537403=(_0x524ad1=_0x351c38[_0x22a05d(0x57c)])!==null&&_0x524ad1!==void 0x0?_0x524ad1:_0x2152d2,_0x3b2ea1=(_0x4f7f48=document['getElementById'](_0x537403))===null||_0x4f7f48===void 0x0?void 0x0:_0x4f7f48['querySelector'](_0x22a05d(0x2ed));_0x3b2ea1&&(_0x3b2ea1['style'][_0x22a05d(0x292)]=_0x1a8822-0x10+'px',_0x3b2ea1[_0x22a05d(0x26a)][_0x22a05d(0x296)]=_0x554eae-0x10+'px',_0x4ad1f1['resize']());}}}}}[_0x5db780(0x265)](_0x4c672e,_0xdd8d76,_0x3ad9fd=0x0){const _0x11ff0c=_0x5db780;let _0x1d6c46=this[_0x11ff0c(0x4b4)][_0x11ff0c(0x49e)](_0x4c672e);!_0x1d6c46&&(_0x1d6c46=(0x0,_univerjs_core['debounce'])(_0x3e2e10=>{this['_resizeChart'](_0x4c672e,_0x3e2e10);},_0x3ad9fd),this[_0x11ff0c(0x4b4)][_0x11ff0c(0x45d)](_0x4c672e,_0x1d6c46)),_0x1d6c46(_0xdd8d76);}[_0x5db780(0x4b2)](){const _0x29b56b=_0x5db780,_0x3723ed=this[_0x29b56b(0x61a)],_0x5e3f2d=_0x4aef6d=>{const _0x2ac996=_0x29b56b;if(!_0x3723ed[_0x2ac996(0x4a0)](_0x4aef6d)){const _0x257370=(0x0,_univerjs_core[_0x2ac996(0x4fe)])((_0x1a610a,_0x46d7db,_0x3d6813,_0x1954ca)=>{const _0x356d6d=_0x2ac996;var _0xef570f,_0x263bde;if(!_0x3d6813)return;const {t:_0x5b64b8}=this[_0x356d6d(0x5e5)];(_0xef570f=_0x3d6813[_0x356d6d(0x568)])===null||_0xef570f===void 0x0||_0xef570f[_0x356d6d(0x333)][_0x356d6d(0x42f)]((_0x10baa2,_0x3408a0)=>{const _0x1a77e9=_0x356d6d;if(!_0x10baa2[_0x1a77e9(0x517)])_0x10baa2[_0x1a77e9(0x517)]=_0x5b64b8(_0x1a77e9(0x367))+'\x20'+(_0x3408a0+0x1);}),_0x3d6813[_0x356d6d(0x511)]['forEach']((_0x323cc6,_0x53004d)=>{const _0x2cf32d=_0x356d6d;if(!_0x323cc6['name'])_0x323cc6[_0x2cf32d(0x52e)]=_0x5b64b8(_0x2cf32d(0x520))+'\x20'+(_0x53004d+0x1);}),_0x1954ca['runtime']=_0x1a610a[_0x356d6d(0x46f)]();const _0x2453e2=(_0x263bde=this[_0x356d6d(0x4fd)][_0x356d6d(0x2e6)](_univerjs_core[_0x356d6d(0x5db)]['UNIVER_SHEET']))===null||_0x263bde===void 0x0?void 0x0:_0x263bde[_0x356d6d(0x4f6)]();if((_0x2453e2===null||_0x2453e2===void 0x0?void 0x0:_0x2453e2[_0x356d6d(0x505)]())===_0x46d7db)this['render'](_0x1a610a['id'],_0x3d6813,_0x1954ca);},0x11);_0x3723ed[_0x2ac996(0x45d)](_0x4aef6d,_0x257370);}return _0x3723ed['get'](_0x4aef6d);};this[_0x29b56b(0x618)](this[_0x29b56b(0x4fd)][_0x29b56b(0x60d)][_0x29b56b(0x4cd)](_0x133415=>{const _0x2e7bf1=_0x29b56b,_0x1a026d=this[_0x2e7bf1(0x4fd)][_0x2e7bf1(0x2e6)](_univerjs_core[_0x2e7bf1(0x5db)]['UNIVER_SHEET']);if(_0x133415&&_0x1a026d&&_0x1a026d[_0x2e7bf1(0x468)]()===_0x133415){var _0x140dd3;const _0x453515=_0x1a026d[_0x2e7bf1(0x4f6)]()[_0x2e7bf1(0x505)](),_0x17cfa6=this[_0x2e7bf1(0x42d)][_0x2e7bf1(0x4ea)](_0x133415,_0x453515);if(!((_0x140dd3=this[_0x2e7bf1(0x5a1)]['getRenderById'](_0x133415))===null||_0x140dd3===void 0x0?void 0x0:_0x140dd3[_0x2e7bf1(0x251)](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x2e7bf1(0x387)](_0x453515)))return;if(_0x17cfa6)for(const _0x138cc2 in _0x17cfa6){const {drawingId:_0xfbf6fd}=_0x17cfa6[_0x138cc2],_0x11ad8d=this[_0x2e7bf1(0x2ba)][_0x2e7bf1(0x443)](_0xfbf6fd);if(_0x11ad8d)_0x5e3f2d(_0x11ad8d['id'])(_0x11ad8d,_0x453515,_0x11ad8d[_0x2e7bf1(0x500)],_0x11ad8d['style']);}}})),this['disposeWithMe'](this['_themeService'][_0x29b56b(0x509)][_0x29b56b(0x4cd)](()=>{const _0x2fe570=_0x29b56b;var _0x5b0491;const _0x4328ff=this[_0x2fe570(0x4fd)][_0x2fe570(0x2e6)](_univerjs_core[_0x2fe570(0x5db)][_0x2fe570(0x20d)]);if(!_0x4328ff)return;const _0x4a100a=_0x4328ff[_0x2fe570(0x468)](),_0x497016=_0x4328ff['getActiveSheet']()[_0x2fe570(0x505)](),_0x5eb390=this['_drawingManagerService'][_0x2fe570(0x4ea)](_0x4a100a,_0x497016);if(!((_0x5b0491=this['_renderManagerService'][_0x2fe570(0x41d)](_0x4a100a))===null||_0x5b0491===void 0x0?void 0x0:_0x5b0491['with'](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x2fe570(0x387)](_0x497016)))return;if(_0x5eb390)for(const _0x16aa60 in _0x5eb390){const {drawingId:_0x216bc2}=_0x5eb390[_0x16aa60],_0x4d6cbc=this[_0x2fe570(0x2ba)]['getChartModel'](_0x216bc2);if(_0x4d6cbc){const _0x4caa6a=_0x4d6cbc[_0x2fe570(0x46f)]();_0x4d6cbc['applyStyle']({'runtime':_0x4caa6a});}}})),this[_0x29b56b(0x618)](this[_0x29b56b(0x42d)][_0x29b56b(0x5cd)][_0x29b56b(0x4cd)](_0x30eb72=>{const _0x1bf814=_0x29b56b;_0x30eb72[_0x1bf814(0x42f)](_0x8db035=>{const _0x57d25f=_0x1bf814;var _0x49cd10,_0x508bd0,_0x452dfb;const {drawingId:_0x1e8581,unitId:_0x302b25,subUnitId:_0x59ed53}=_0x8db035;if(!((_0x49cd10=this[_0x57d25f(0x5a1)][_0x57d25f(0x41d)](_0x302b25))===null||_0x49cd10===void 0x0?void 0x0:_0x49cd10[_0x57d25f(0x251)](_univerjs_sheets_ui[_0x57d25f(0x47d)])[_0x57d25f(0x387)](_0x59ed53)))return;const {drawingType:_0x2bad4f}=this[_0x57d25f(0x42d)]['getDrawingByParam'](_0x8db035);if(_0x2bad4f!==_univerjs_core[_0x57d25f(0x539)][_0x57d25f(0x2cc)])return;const _0x47a5e7=this['_sheetCanvasFloatDomManagerService'][_0x57d25f(0x640)](_0x1e8581),_0x3ce8b5=(_0x508bd0=_0x47a5e7===null||_0x47a5e7===void 0x0?void 0x0:_0x47a5e7[_0x57d25f(0x57c)])!==null&&_0x508bd0!==void 0x0?_0x508bd0:_0x1e8581,_0x12e690=_0x47a5e7===null||_0x47a5e7===void 0x0?void 0x0:_0x47a5e7['rect'],_0x75a7be=(_0x452dfb=this['_renderManagerService'][_0x57d25f(0x41d)](_0x302b25))===null||_0x452dfb===void 0x0?void 0x0:_0x452dfb[_0x57d25f(0x4fb)];if(_0x12e690)this[_0x57d25f(0x618)](_0x12e690===null||_0x12e690===void 0x0?void 0x0:_0x12e690['onTransformChange$'][_0x57d25f(0x272)](_0x287bdc=>{const _0x5497d4=_0x57d25f,{type:_0x4d74fa,value:_0x1db409}=_0x287bdc;if(_univerjs_engine_render['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']===_0x4d74fa||_univerjs_engine_render[_0x5497d4(0x347)][_0x5497d4(0x1a2)]===_0x4d74fa){const {width:_0x363159,height:_0x2eaf26}=_0x1db409;this['_debounceHandle'](_0x1e8581,{'width':_0x363159,'height':_0x2eaf26},0x64);}}));if(_0x75a7be)this['disposeWithMe'](_0x75a7be['onTransformChange$'][_0x57d25f(0x272)](_0x20a12a=>{const _0x5d1730=_0x57d25f;var _0x1dc470;if(_0x20a12a['type']!==_univerjs_engine_render[_0x5d1730(0x347)]['scale'])return;const _0x17abdc=(_0x1dc470=document[_0x5d1730(0x40a)](_0x3ce8b5))===null||_0x1dc470===void 0x0?void 0x0:_0x1dc470[_0x5d1730(0x53d)]('.chart-host');if(_0x17abdc){const _0x5de24e=_0x17abdc[_0x5d1730(0x3cc)][_0x5d1730(0x26a)];this[_0x5d1730(0x265)](_0x1e8581,{'width':Number[_0x5d1730(0x2ee)](_0x5de24e[_0x5d1730(0x292)],0xa),'height':Number[_0x5d1730(0x2ee)](_0x5de24e[_0x5d1730(0x296)],0xa)});}}));const _0x54a109=this[_0x57d25f(0x2ba)]['getChartModel'](_0x1e8581);if(_0x54a109)this[_0x57d25f(0x618)]((0x0,rxjs[_0x57d25f(0x41c)])([_0x54a109[_0x57d25f(0x30c)],_0x54a109[_0x57d25f(0x320)]])['subscribe'](([_0x2240af,_0x12d863])=>{_0x5e3f2d(_0x54a109['id'])(_0x54a109,_0x59ed53,_0x2240af,_0x12d863);}));});})),this[_0x29b56b(0x618)]((0x0,rxjs['combineLatest'])([this[_0x29b56b(0x42d)][_0x29b56b(0x591)]])[_0x29b56b(0x4cd)](([_0x5ae9c6])=>{const _0x2da4a1=_0x29b56b;_0x5ae9c6[_0x2da4a1(0x42f)](_0x209444=>{const _0x32424a=_0x2da4a1,{drawingId:_0x296b2f}=_0x209444;if(this[_0x32424a(0x5ad)][_0x32424a(0x49e)](_0x296b2f))this['_chartInstanceMap'][_0x32424a(0x63e)](_0x296b2f);});}));}['getRenderModel'](_0x5b193b){const _0x15891b=_0x5db780,_0x273fb9=this['_renderModelMap'][_0x15891b(0x49e)](_0x5b193b),_0x1856d1=this[_0x15891b(0x3c6)]();if(_0x273fb9)_0x273fb9[_0x15891b(0x205)](_0x1856d1);return _0x273fb9;}async[_0x5db780(0x626)](_0x2f37d1){const _0x25ffc1=_0x5db780;var _0x3314f5;const _0x173ee7=this[_0x25ffc1(0x5ad)],_0x36252a=this[_0x25ffc1(0x63a)];if(_0x173ee7[_0x25ffc1(0x4a0)](_0x2f37d1)&&this[_0x25ffc1(0x1c7)][_0x25ffc1(0x29e)](_0x2f37d1))return _0x173ee7['get'](_0x2f37d1);const _0x5def46=_0x36252a[_0x25ffc1(0x3ed)]();_0x173ee7[_0x25ffc1(0x45d)](_0x2f37d1,_0x5def46);const _0x1ca707=await this[_0x25ffc1(0x1c7)][_0x25ffc1(0x5fd)](_0x2f37d1);return _0x5def46[_0x25ffc1(0x535)](_0x1ca707[_0x25ffc1(0x1b5)]),(_0x3314f5=_0x5def46['onDispose'])===null||_0x3314f5===void 0x0||_0x3314f5[_0x25ffc1(0x58a)](_0x5def46,()=>{var _0xdc3abc;return(_0xdc3abc=_0x1ca707['dispose'])===null||_0xdc3abc===void 0x0?void 0x0:_0xdc3abc['call'](_0x1ca707);}),_0x5def46;}[_0x5db780(0x32a)](_0x285161){const _0x2b8b7b=_0x5db780;var _0xe9fb7c;const _0x1537e3=this[_0x2b8b7b(0x2d7)][_0x2b8b7b(0x640)](_0x285161);if(!_0x1537e3)return![];const {subUnitId:_0x57cbd7}=_0x1537e3,_0x3deacc=(_0xe9fb7c=this['_univerInstanceService'][_0x2b8b7b(0x2e6)](_univerjs_core[_0x2b8b7b(0x5db)][_0x2b8b7b(0x20d)]))===null||_0xe9fb7c===void 0x0?void 0x0:_0xe9fb7c[_0x2b8b7b(0x4f6)]();if((_0x3deacc===null||_0x3deacc===void 0x0?void 0x0:_0x3deacc[_0x2b8b7b(0x505)]())!==_0x57cbd7)return![];return!![];}async[_0x5db780(0x3f5)](_0x44b91d,_0x4e260c,_0x545547){const _0x1bcc33=_0x5db780;var _0x5d59b1,_0xb9b0cd;const _0x37d10f=this['getRenderModel'](_univerjs_pro_engine_chart[_0x1bcc33(0x358)]);if(!_0x37d10f)return;if(!this['checkChartCanRender'](_0x44b91d))return;const _0x183685=await this[_0x1bcc33(0x626)](_0x44b91d),_0x66f3f0=this[_0x1bcc33(0x1c7)][_0x1bcc33(0x5ef)](_0x44b91d),_0x5de38=_0x37d10f[_0x1bcc33(0x373)](_0x37d10f['toSpec'](_0x4e260c,_0x545547),{'chartConfig':_0x4e260c,'chartStyle':_0x545547,'chartInstance':_0x183685},_0x66f3f0),_0x590479=_0x545547[_0x1bcc33(0x2bf)]?this['_chartThemeService']['getTheme'](_0x545547['theme']):this[_0x1bcc33(0x570)][_0x1bcc33(0x51b)]();this[_0x1bcc33(0x1c7)][_0x1bcc33(0x27a)](_0x44b91d,{'stroke':(_0x5d59b1=_0x545547[_0x1bcc33(0x424)])!==null&&_0x5d59b1!==void 0x0?_0x5d59b1:_0x590479['theme']['borderColor'],'fill':(_0xb9b0cd=_0x545547[_0x1bcc33(0x567)])!==null&&_0xb9b0cd!==void 0x0?_0xb9b0cd:_univerjs_pro_engine_chart['defaultChartConfig']['backgroundColor']});if(this[_0x1bcc33(0x1c7)][_0x1bcc33(0x29e)](_0x44b91d))_0x183685[_0x1bcc33(0x3f5)]({..._0x5de38});}async[_0x5db780(0x56f)](_0x4262b9,_0xaa6670,_0x467af1){const _0x2e17b4=_0x5db780;var _0x3046ec,_0x21c29d;const _0x170b06=this[_0x2e17b4(0x2ba)][_0x2e17b4(0x443)](_0x4262b9),_0x8d4ac0=this[_0x2e17b4(0x405)][_0x2e17b4(0x49e)](_univerjs_pro_engine_chart[_0x2e17b4(0x358)]);if(!_0x170b06||!_0x8d4ac0)return;const _0x1e05dd=createHostElement(_0x467af1[_0x2e17b4(0x292)],_0x467af1[_0x2e17b4(0x296)]);_0xaa6670[_0x2e17b4(0x341)](_0x1e05dd);const _0x528546=_univerjs_pro_engine_chart[_0x2e17b4(0x502)][_0x2e17b4(0x533)](_0x1e05dd,null,{'devicePixelRatio':window[_0x2e17b4(0x260)]||0x1}),_0x26dd28=_0x170b06[_0x2e17b4(0x500)],_0x4c0a77=_0x170b06['style'],_0x8afa1f=_0x8d4ac0[_0x2e17b4(0x373)](_0x8d4ac0[_0x2e17b4(0x25f)](_0x26dd28,_0x4c0a77),{'chartConfig':_0x26dd28,'chartStyle':_0x4c0a77,'chartInstance':_0x528546},_0x467af1),_0x491f6f=_0x4c0a77[_0x2e17b4(0x2bf)]?this['_chartThemeService']['getTheme'](_0x4c0a77['theme']):this[_0x2e17b4(0x570)]['getDefaultTheme']();_0xaa6670['style']['border']='1px\x20solid\x20'+((_0x3046ec=_0x4c0a77[_0x2e17b4(0x424)])!==null&&_0x3046ec!==void 0x0?_0x3046ec:_0x491f6f['theme']['borderColor']),_0xaa6670[_0x2e17b4(0x26a)][_0x2e17b4(0x567)]=this[_0x2e17b4(0x570)]['getRenderColor']((_0x21c29d=_0x4c0a77[_0x2e17b4(0x567)])!==null&&_0x21c29d!==void 0x0?_0x21c29d:_univerjs_pro_engine_chart[_0x2e17b4(0x3fc)][_0x2e17b4(0x567)]),_0xaa6670[_0x2e17b4(0x26a)][_0x2e17b4(0x4e7)]='8px',_0x528546[_0x2e17b4(0x3ec)](),_0x528546[_0x2e17b4(0x3da)](silentChartSpecOperator(_0x8afa1f),!![]);}[_0x5db780(0x38b)](){const _0x5aa54d=_0x5db780;this[_0x5aa54d(0x5ad)][_0x5aa54d(0x3ec)](),this[_0x5aa54d(0x63a)]=null,this[_0x5aa54d(0x405)][_0x5aa54d(0x42f)](_0x224c62=>_0x224c62[_0x5aa54d(0x38b)]()),this['_renderModelMap']['clear'](),this['_renderDebounceMap'][_0x5aa54d(0x3ec)](),this[_0x5aa54d(0x4b4)]['clear']();}};ChartRenderService=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_drawing_ui[_0x5db780(0x58f)])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart['ChartModelService'])),__decorateParam(0x3,_univerjs_drawing[_0x5db780(0x390)]),__decorateParam(0x4,_univerjs_core[_0x5db780(0x556)]),__decorateParam(0x5,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_engine_render[_0x5db780(0x46c)])),__decorateParam(0x6,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x1c2)])),__decorateParam(0x7,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x29c)])),__decorateParam(0x8,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_engine_chart[_0x5db780(0x5ec)])),__decorateParam(0x9,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core['ThemeService']))],ChartRenderService);const PrintChart=_0x6a0848=>{const _0x52e238=_0x5db780,{floatDomId:_0x4f8838,context:_0x510822}=_0x6a0848,_0x2dbfbf=(0x0,_univerjs_ui[_0x52e238(0x2a6)])(ChartRenderService);return(0x0,react[_0x52e238(0x5d3)])(()=>{const _0x3caf99=_0x52e238;if(_0x510822[_0x3caf99(0x39f)][_0x3caf99(0x496)]){const _0x458323={'width':Number[_0x3caf99(0x329)](_0x510822['root'][_0x3caf99(0x496)][_0x3caf99(0x26a)][_0x3caf99(0x292)]),'height':Number[_0x3caf99(0x329)](_0x510822[_0x3caf99(0x39f)][_0x3caf99(0x496)]['style'][_0x3caf99(0x296)])};_0x2dbfbf['printChart'](_0x4f8838,_0x510822['root']['current'],_0x458323);}},[_0x4f8838,_0x510822[_0x52e238(0x39f)][_0x52e238(0x496)]]),null;},MenuInsertChartCommand={'type':_univerjs_core['CommandType'][_0x5db780(0x492)],'id':_0x5db780(0x46b),'handler':async(_0x3a770f,_0x11cb02)=>{const _0x1578cf=_0x5db780,_0x6a7816=(0x0,_univerjs_sheets[_0x1578cf(0x55e)])(_0x3a770f[_0x1578cf(0x49e)](_univerjs_core['IUniverInstanceService']));if(!_0x6a7816)return![];const _0x2c7123=_0x3a770f[_0x1578cf(0x49e)](_univerjs_sheets['SheetsSelectionsService'])['getCurrentLastSelection']();if(!_0x2c7123)return![];const _0x35913d=_0x3a770f[_0x1578cf(0x49e)](_univerjs_ui[_0x1578cf(0x337)]),_0x535361=_0x3a770f[_0x1578cf(0x49e)](_univerjs_core[_0x1578cf(0x1c2)]),{range:_0x1df929}=_0x2c7123;if(_0x1df929[_0x1578cf(0x304)]===_0x1df929[_0x1578cf(0x5ae)]||_0x1df929[_0x1578cf(0x5e9)]===_0x1df929[_0x1578cf(0x1bc)])return _0x35913d[_0x1578cf(0x34d)]({'type':_univerjs_design[_0x1578cf(0x5b5)][_0x1578cf(0x398)],'content':_0x535361['t'](_0x1578cf(0x196))}),![];const _0x16be47=_0x3a770f[_0x1578cf(0x49e)](_univerjs_core[_0x1578cf(0x248)]),{unitId:_0x10c005,subUnitId:_0x9d030f}=_0x6a7816,{value:_0x34646f}=_0x11cb02;return _0x16be47[_0x1578cf(0x2c8)](_univerjs_pro_sheets_chart[_0x1578cf(0x579)]['id'],{'unitId':_0x10c005,'subUnitId':_0x9d030f,'chartType':_0x34646f,'range':_0x1df929});}};function ChartMenuItemFactory(_0x45dc61){const _0x420489=_0x5db780,_0x1bd553=_0x45dc61[_0x420489(0x49e)](_univerjs_core['IUniverInstanceService']),_0x5ad0bd=(0x0,_univerjs_pro_sheets_chart['getAllowedChartTypes'])(_0x45dc61),_0x4a9ada=getOptionsList(getChartMenuSelection()[_0x420489(0x4eb)](),_0x5ad0bd);return{'id':MenuInsertChartCommand['id'],'type':_univerjs_ui[_0x420489(0x276)][_0x420489(0x275)],'selections':_0x4a9ada,'icon':_0x420489(0x21b),'tooltip':_0x420489(0x417),'activated$':(0x0,_univerjs_sheets_ui[_0x420489(0x309)])(_0x1bd553,![],()=>new rxjs[(_0x420489(0x355))](_0x68c2=>{_0x68c2['next'](![]);})),'hidden$':(0x0,_univerjs_ui[_0x420489(0x5f0)])(_0x45dc61,_univerjs_core[_0x420489(0x5db)][_0x420489(0x20d)]),'disabled$':(0x0,_univerjs_sheets_ui[_0x420489(0x560)])(_0x45dc61)};}const menuSchema={[_univerjs_ui[_0x5db780(0x35c)][_0x5db780(0x1f8)]]:{[MenuInsertChartCommand['id']]:{'order':0x4,'menuItemFactory':ChartMenuItemFactory}}},CHART_EDIT_PANEL_KEY=_0x5db780(0x312);let SheetsChartUIController=class SheetsChartUIController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x1a690b,_0x13faa0,_0x55c170,_0x465913,_0x57d3e7,_0x13b435,_0x5e728e,_0x315828,_0x5218dc,_0x43cd92){const _0x1a4cff=_0x5db780;super(),this[_0x1a4cff(0x42d)]=_0x1a690b,this[_0x1a4cff(0x4fd)]=_0x13faa0,this[_0x1a4cff(0x2ba)]=_0x55c170,this[_0x1a4cff(0x2ad)]=_0x465913,this[_0x1a4cff(0x617)]=_0x57d3e7,this[_0x1a4cff(0x334)]=_0x13b435,this[_0x1a4cff(0x1a6)]=_0x5e728e,this[_0x1a4cff(0x37c)]=_0x315828,this[_0x1a4cff(0x1fd)]=_0x5218dc,this[_0x1a4cff(0x3f0)]=_0x43cd92,_defineProperty(this,'_sidebarDisposable',null),this[_0x1a4cff(0x576)](),this['_initMenus'](),this[_0x1a4cff(0x618)](this['_univerInstanceService'][_0x1a4cff(0x241)](_univerjs_core[_0x1a4cff(0x5db)]['UNIVER_SHEET'])['subscribe'](_0x5183db=>{const _0x57b684=_0x1a4cff;var _0x5e79d3;if(!_0x5183db)(_0x5e79d3=this[_0x57b684(0x3e2)])===null||_0x5e79d3===void 0x0||_0x5e79d3[_0x57b684(0x38b)]();}));}[_0x5db780(0x576)](){const _0x1d4fd4=_0x5db780;[[_0x1d4fd4(0x21b),_univerjs_icons['ChartIcon']],[_0x1d4fd4(0x375),_univerjs_icons[_0x1d4fd4(0x375)]],[_0x1d4fd4(0x612),_univerjs_icons['BarChartIcon']],[_0x1d4fd4(0x588),_univerjs_icons[_0x1d4fd4(0x588)]],['ComboChartIcon',_univerjs_icons[_0x1d4fd4(0x456)]],[_0x1d4fd4(0x4a7),_univerjs_icons[_0x1d4fd4(0x4a7)]],[_0x1d4fd4(0x51f),_univerjs_icons['PieChartIcon']],[_0x1d4fd4(0x2a8),_univerjs_icons[_0x1d4fd4(0x2a8)]],[_0x1d4fd4(0x33c),_univerjs_icons[_0x1d4fd4(0x33c)]],['FunnelIcon',_univerjs_icons[_0x1d4fd4(0x1bd)]],[_0x1d4fd4(0x485),_univerjs_icons[_0x1d4fd4(0x2fc)]],[_0x1d4fd4(0x29a),_univerjs_icons[_0x1d4fd4(0x29a)]],[_0x1d4fd4(0x1e4),_univerjs_icons['RelationshipIcon']],[_0x1d4fd4(0x57e),_univerjs_icons[_0x1d4fd4(0x57e)]],[_0x1d4fd4(0x348),_univerjs_icons[_0x1d4fd4(0x441)]],[_0x1d4fd4(0x423),_univerjs_icons['HeatmapIcon']],['BoxplotIcon',_univerjs_icons[_0x1d4fd4(0x4e4)]],[_univerjs_core['PRINT_CHART_COMPONENT_KEY'],PrintChart],[CHART_EDIT_PANEL_KEY,ChartEditPanel],[UNIVER_SHEET_CHART_FORMAT_DIALOG,ChartNumfmtDialog]][_0x1d4fd4(0x42f)](([_0x34b336,_0x19cd08])=>{const _0x3df223=_0x1d4fd4;this['disposeWithMe'](this[_0x3df223(0x617)][_0x3df223(0x4b6)](_0x34b336,_0x19cd08));});}[_0x5db780(0x4f0)](){const _0x3583b=_0x5db780;this[_0x3583b(0x3e2)]=this[_0x3583b(0x2ad)]['open']({'id':CHART_EDIT_PANEL_KEY,'header':{'title':'chart.editChart'},'width':0x154,'children':{'label':CHART_EDIT_PANEL_KEY},'onClose':()=>{const _0x20610b=_0x3583b;this[_0x20610b(0x42d)][_0x20610b(0x28c)](null),this['_contextService']['setContextValue'](_univerjs_core[_0x20610b(0x566)],![]),this['_sidebarDisposable']=null;}});}[_0x5db780(0x5aa)](){const _0x21965f=_0x5db780;var _0x252d24;this[_0x21965f(0x2ba)]['setActiveChartModel'](null),(_0x252d24=this[_0x21965f(0x3e2)])===null||_0x252d24===void 0x0||_0x252d24[_0x21965f(0x38b)]();}[_0x5db780(0x23c)](){const _0x98bff4=_0x5db780,_0x31c200=this[_0x98bff4(0x4fd)]['getCurrentUnitForType'](_univerjs_core['UniverInstanceType'][_0x98bff4(0x20d)]);this[_0x98bff4(0x618)](this[_0x98bff4(0x2ad)][_0x98bff4(0x2f3)][_0x98bff4(0x4cd)](_0x1b5c64=>{const _0x170e4f=_0x98bff4;if(_0x1b5c64['id']===CHART_EDIT_PANEL_KEY){if(!_0x1b5c64['visible'])this[_0x170e4f(0x2ad)]['sidebarOptions$'][_0x170e4f(0x5da)]({'visible':![]});}})),this[_0x98bff4(0x618)](this[_0x98bff4(0x37c)][_0x98bff4(0x3e9)](_0x388687=>{const _0x13f524=_0x98bff4;if(_0x388687['id']===ChartOpenPanelOperation['id']){const _0x3fde85=_0x388687[_0x13f524(0x4a9)];this[_0x13f524(0x606)](_0x3fde85[_0x13f524(0x418)]);}if(_0x388687['id']===ChartHidePanelOperation['id'])this['hidePanel']();if(_0x388687['id']===_univerjs_pro_sheets_chart[_0x13f524(0x3b2)]['id']){var _0x4b8979;if(_0x388687[_0x13f524(0x4a9)][_0x13f524(0x1ae)]===((_0x4b8979=this['_chartModelService']['activeChartModel'])===null||_0x4b8979===void 0x0?void 0x0:_0x4b8979['id']))this[_0x13f524(0x5aa)]();this[_0x13f524(0x3f0)][_0x13f524(0x544)](_univerjs_core[_0x13f524(0x566)])&&(this['_contextService'][_0x13f524(0x40f)](_univerjs_core['FOCUSING_COMMON_DRAWINGS'],![]),this[_0x13f524(0x42d)][_0x13f524(0x28c)](null));}})),this[_0x98bff4(0x618)](this[_0x98bff4(0x42d)]['focus$'][_0x98bff4(0x4cd)](_0x376ac9=>{const _0x57b64b=_0x98bff4,_0x5f40e9=_0x376ac9[0x0];if(this[_0x57b64b(0x1fd)][_0x57b64b(0x328)])return;if(!_0x5f40e9&&!this['_sheetsChartUIService'][_0x57b64b(0x328)])this['hidePanel']();})),_0x31c200&&(this[_0x98bff4(0x618)](_0x31c200['sheetDisposed$'][_0x98bff4(0x4cd)](()=>{this['hidePanel']();})),this[_0x98bff4(0x618)](_0x31c200[_0x98bff4(0x30d)][_0x98bff4(0x4cd)](()=>{const _0x4fbf5e=_0x98bff4;this[_0x4fbf5e(0x5aa)]();})));}[_0x5db780(0x606)](_0x1c974e){const _0x548b06=_0x5db780,_0x4ae60c=this['_chartModelService'][_0x548b06(0x443)](_0x1c974e);if(!_0x4ae60c)return;this[_0x548b06(0x2ba)][_0x548b06(0x442)](_0x4ae60c),this['_openPanel']();}[_0x5db780(0x1ed)](){const _0xc4a527=_0x5db780;this[_0xc4a527(0x334)][_0xc4a527(0x515)](menuSchema),this[_0xc4a527(0x1a6)]['registerFeatureMenu'](_univerjs_core[_0xc4a527(0x539)][_0xc4a527(0x2cc)],this[_0xc4a527(0x24f)][_0xc4a527(0x361)](this));}['getChartPopupMenus'](_0x212382,_0x58d098,_0x147dea,_0x2fed0f){const _0x3620e5=_0x5db780;return[{'label':_0x3620e5(0x571),'index':0x0,'commandId':ChartOpenPanelOperation['id'],'commandParams':{'unitId':_0x212382,'subUnitId':_0x58d098,'drawingId':_0x147dea},'disable':_0x2fed0f!==_univerjs_core[_0x3620e5(0x539)]['DRAWING_CHART']},{'label':_0x3620e5(0x434),'index':0x1,'commandId':_univerjs_sheets_drawing[_0x3620e5(0x3e4)]['id'],'commandParams':{'unitId':_0x212382,'drawings':[{'unitId':_0x212382,'subUnitId':_0x58d098,'drawingId':_0x147dea,'drawingType':_0x2fed0f}]},'disable':![]},{'label':'chart.hideChartPanel','index':0x2,'commandId':ChartHidePanelOperation['id'],'commandParams':{'unitId':_0x212382,'subUnitId':_0x58d098,'drawingId':_0x147dea},'disable':![]}];}};SheetsChartUIController=__decorate([__decorateParam(0x0,_univerjs_drawing[_0x5db780(0x390)]),__decorateParam(0x1,_univerjs_core[_0x5db780(0x556)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_ui[_0x5db780(0x39c)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_ui['ComponentManager'])),__decorateParam(0x5,_univerjs_ui['IMenuManagerService']),__decorateParam(0x6,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_ui[_0x5db780(0x463)])),__decorateParam(0x7,_univerjs_core[_0x5db780(0x248)]),__decorateParam(0x8,(0x0,_univerjs_core[_0x5db780(0x297)])(SheetsChartUIService)),__decorateParam(0x9,_univerjs_core[_0x5db780(0x3a5)])],SheetsChartUIController);var name=_0x5db780(0x5ce),version=_0x5db780(0x209);let ChartHostProviderController=class ChartHostProviderController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x380ded,_0x4c794b){const _0xf01fdf=_0x5db780;super(),this[_0xf01fdf(0x274)]=_0x380ded,this[_0xf01fdf(0x2ba)]=_0x4c794b,this['_init']();}['_init'](){const _0x320283=_0x5db780;this[_0x320283(0x618)](this['_chartHostProviderService'][_0x320283(0x2a3)][_0x320283(0x4cd)](_0x7ce2fb=>{const _0x4f0f71=_0x320283;this[_0x4f0f71(0x2ba)][_0x4f0f71(0x42c)](_0x7ce2fb);}));}};ChartHostProviderController=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x5db780(0x562)]))],ChartHostProviderController);let ChartRenderController=class ChartRenderController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x2638a9,_0x480fff,_0x188850){const _0x26fbfc=_0x5db780;super(),this['_chartModelService']=_0x2638a9,this[_0x26fbfc(0x1cd)]=_0x480fff,this['_localeService']=_0x188850,this[_0x26fbfc(0x379)]();}[_0x5db780(0x379)](){const _0x4fa0e6=_0x5db780;this[_0x4fa0e6(0x618)](this[_0x4fa0e6(0x2ba)][_0x4fa0e6(0x313)]['subscribe'](_0x3254c4=>{const _0x34eaa6=_0x4fa0e6;if(_0x3254c4){const _0x5b5e68=new _univerjs_core['DisposableCollection']();_0x5b5e68[_0x34eaa6(0x5cc)](_0x3254c4[_0x34eaa6(0x30c)]['pipe']((0x0,rxjs[_0x34eaa6(0x545)])(_0x3254c4[_0x34eaa6(0x320)]),(0x0,rxjs['debounceTime'])(0x64))[_0x34eaa6(0x4cd)](([_0x2829e0,_0x46f02])=>{const _0x35d9f3=_0x34eaa6;var _0x23bac7;if(!_0x2829e0)return;const {t:_0x1a5fc4}=this[_0x35d9f3(0x5e5)];(_0x23bac7=_0x2829e0[_0x35d9f3(0x568)])===null||_0x23bac7===void 0x0||_0x23bac7[_0x35d9f3(0x333)]['forEach']((_0x189cc3,_0xc9dabc)=>{const _0x49910e=_0x35d9f3;if(!_0x189cc3['label'])_0x189cc3[_0x49910e(0x517)]=_0x1a5fc4(_0x49910e(0x367))+'\x20'+(_0xc9dabc+0x1);}),_0x2829e0[_0x35d9f3(0x511)][_0x35d9f3(0x42f)]((_0xdceaac,_0x429c67)=>{const _0x552aab=_0x35d9f3;if(!_0xdceaac['name'])_0xdceaac[_0x552aab(0x52e)]=_0x1a5fc4(_0x552aab(0x520))+'\x20'+(_0x429c67+0x1);}),_0x46f02[_0x35d9f3(0x425)]=_0x3254c4[_0x35d9f3(0x46f)](),this['_chartRenderService'][_0x35d9f3(0x3f5)](_0x3254c4['id'],_0x2829e0,_0x46f02);})),_0x3254c4['onDispose'](()=>{const _0x5cc5de=_0x34eaa6;_0x5b5e68[_0x5cc5de(0x38b)]();});}}));}};ChartRenderController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(ChartRenderService)),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core['LocaleService']))],ChartRenderController);let ChartSheetChangeController=class ChartSheetChangeController extends _univerjs_core['Disposable']{constructor(_0x579173,_0x34e148,_0x42ac07,_0x261d5f){const _0x1bac90=_0x5db780;super(),this[_0x1bac90(0x4fd)]=_0x579173,this[_0x1bac90(0x49d)]=_0x34e148,this[_0x1bac90(0x2b5)]=_0x42ac07,this[_0x1bac90(0x2ba)]=_0x261d5f,this[_0x1bac90(0x633)]();}[_0x5db780(0x633)](){const _0x4159bb=_0x5db780;this[_0x4159bb(0x618)](this[_0x4159bb(0x49d)][_0x4159bb(0x254)]({'getMutations':_0x10b24d=>{const _0xa029fd=_0x4159bb;if(_0x10b24d['id']===_univerjs_sheets[_0xa029fd(0x51c)]['id']){const _0x4a64be=(0x0,_univerjs_sheets['getSheetCommandTarget'])(this[_0xa029fd(0x4fd)],_0x10b24d[_0xa029fd(0x4a9)]);if(!_0x4a64be)return{'redos':[],'undos':[]};const {unitId:_0x3afd27,subUnitId:_0x19b7a0}=_0x4a64be,_0x2570b3=this[_0xa029fd(0x2b5)][_0xa029fd(0x4ea)](_0x3afd27,_0x19b7a0),_0x184caf=Object[_0xa029fd(0x3a7)](_0x2570b3)[_0xa029fd(0x197)](_0x269fd3=>_0x269fd3[_0xa029fd(0x36e)]===_univerjs_core[_0xa029fd(0x539)][_0xa029fd(0x2cc)]);if(_0x184caf['length']===0x0)return{'redos':[],'undos':[]};const _0x380255=[],_0x1b7d52=[];for(let _0x1b44d4=0x0;_0x1b44d4<_0x184caf[_0xa029fd(0x3db)];_0x1b44d4++){const _0x1ea446=_0x184caf[_0x1b44d4],_0x5de442=this[_0xa029fd(0x2ba)][_0xa029fd(0x443)](_0x1ea446[_0xa029fd(0x418)]);if(!_0x5de442)continue;const {rangeInfo:_0x115f14,isRowDirection:_0x3872a9}=_0x5de442[_0xa029fd(0x498)][_0xa029fd(0x22c)](),{redo:_0x3a5fb1,undo:_0x426b43,objects:_0x401468}=this[_0xa029fd(0x2b5)]['getBatchRemoveOp']([_0x1ea446]);_0x380255[_0xa029fd(0x335)]({'id':_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'chartId':_0x1ea446['drawingId']}}),_0x380255[_0xa029fd(0x335)]({'id':_univerjs_sheets_drawing[_0xa029fd(0x2ff)]['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)]['REMOVE'],'op':_0x3a5fb1,'objects':_0x401468}}),_0x1b7d52['push']({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)][_0xa029fd(0x1ab)],'op':_0x426b43,'objects':_0x401468}}),_0x1b7d52[_0xa029fd(0x335)]({'id':_univerjs_pro_sheets_chart[_0xa029fd(0x3bc)]['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'chartId':_0x1ea446[_0xa029fd(0x418)],'chartType':_0x5de442[_0xa029fd(0x26b)],'range':_0x115f14[_0xa029fd(0x4d8)],'rangeUnitId':_0x115f14[_0xa029fd(0x378)],'rangeSubUnitId':_0x115f14['subUnitId'],'isRowDirection':_0x3872a9}});}return{'redos':_0x380255,'undos':_0x1b7d52};}else{if(_0x10b24d['id']===_univerjs_sheets[_0xa029fd(0x34b)]['id']){const {unitId:_0x7bc294,subUnitId:_0x2da545,targetSubUnitId:_0x9c4c7c}=_0x10b24d[_0xa029fd(0x4a9)];if(!_0x7bc294||!_0x2da545||!_0x9c4c7c)return{'redos':[],'undos':[]};const _0x10ebe1=this[_0xa029fd(0x2b5)][_0xa029fd(0x4ea)](_0x7bc294,_0x2da545),_0x3e3773=Object['values'](_0x10ebe1)[_0xa029fd(0x197)](_0x3a525e=>_0x3a525e[_0xa029fd(0x36e)]===_univerjs_core[_0xa029fd(0x539)][_0xa029fd(0x2cc)]);if(_0x3e3773[_0xa029fd(0x3db)]===0x0)return{'redos':[],'undos':[]};const _0x23bc52=[],_0x549122=[];for(let _0x34c4a8=0x0;_0x34c4a8<_0x3e3773['length'];_0x34c4a8++){const _0x3e24b5=_0x3e3773[_0x34c4a8],_0xa4992a=this[_0xa029fd(0x2ba)][_0xa029fd(0x443)](_0x3e24b5[_0xa029fd(0x418)]);if(!_0xa4992a)continue;const _0x34feb7=(0x0,_univerjs_core[_0xa029fd(0x590)])(),_0x353ef5={..._0x3e24b5,'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'drawingId':_0x34feb7},{rangeInfo:_0x110e8,isRowDirection:_0x492745}=_0xa4992a[_0xa029fd(0x498)]['getRangeInfo'](),{redo:_0xf9cf57,undo:_0xddcb92,objects:_0x2fc5db}=this[_0xa029fd(0x2b5)]['getBatchAddOp']([_0x353ef5]);_0x23bc52['push']({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)][_0xa029fd(0x1ab)],'op':_0xf9cf57,'objects':_0x2fc5db}}),_0x23bc52[_0xa029fd(0x335)]({'id':_univerjs_pro_sheets_chart['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'chartId':_0x34feb7,'chartType':_0xa4992a[_0xa029fd(0x26b)],'range':_0x110e8[_0xa029fd(0x4d8)],'isRowDirection':_0x492745}}),_0x549122['push']({'id':_univerjs_pro_sheets_chart[_0xa029fd(0x3b2)]['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'chartId':_0x34feb7}}),_0x549122['push']({'id':_univerjs_sheets_drawing[_0xa029fd(0x2ff)]['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)][_0xa029fd(0x599)],'op':_0xddcb92,'objects':_0x2fc5db}});}return{'redos':_0x23bc52,'undos':_0x549122};}}return{'redos':[],'undos':[]};}}));}};ChartSheetChangeController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x556)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets['SheetInterceptorService'])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_drawing[_0x5db780(0x47c)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x5db780(0x562)]))],ChartSheetChangeController);let SheetsChartClipboardController=class SheetsChartClipboardController extends _univerjs_core['Disposable']{constructor(_0x4a43f3,_0x3405a5,_0x41b035,_0x418c3a){const _0x1c80a3=_0x5db780;super(),this[_0x1c80a3(0x634)]=_0x4a43f3,this[_0x1c80a3(0x216)]=_0x3405a5,this[_0x1c80a3(0x2b5)]=_0x41b035,this[_0x1c80a3(0x2ba)]=_0x418c3a,_defineProperty(this,'_copyInfo',void 0x0),this['_initCopyPaste']();}get['_focusedDrawings'](){const _0x4420d5=_0x5db780;return this[_0x4420d5(0x2b5)]['getFocusDrawings']();}[_0x5db780(0x3cb)](){const _0xe86eb=_0x5db780;this['disposeWithMe'](this[_0xe86eb(0x216)][_0xe86eb(0x5b2)]({'id':_univerjs_pro_sheets_chart[_0xe86eb(0x3d2)],'onBeforeCopy':(_0x43aa31,_0x5405ac,_0x485887,_0x67735b)=>{const _0x1bd560=_0xe86eb;this[_0x1bd560(0x308)]=null;const _0x3ceca7=this[_0x1bd560(0x506)];if(_0x3ceca7['length']){const _0x41cca6=_0x3ceca7[_0x1bd560(0x197)](_0xf680b5=>_0xf680b5[_0x1bd560(0x36e)]===_univerjs_core['DrawingTypeEnum']['DRAWING_CHART']);if(_0x41cca6[_0x1bd560(0x3db)]===0x0)return;this[_0x1bd560(0x308)]={'unitId':_0x43aa31,'subUnitId':_0x5405ac,'copyType':_0x67735b,'drawings':_0x41cca6};}else this[_0x1bd560(0x466)](_0x43aa31,_0x5405ac,_0x485887,_0x67735b);},'onPasteCells':(_0x2c898f,_0x204eb7,_0x3f4c67,_0xec08fb)=>{const _0x1f13e9=_0xe86eb;if(!this[_0x1f13e9(0x308)])return{'redos':[],'undos':[]};const {pasteType:_0x1dacca}=_0xec08fb;if(_0x1dacca!==_univerjs_sheets_ui['PREDEFINED_HOOK_NAME']['DEFAULT_PASTE'])return{'redos':[],'undos':[]};return this[_0x1f13e9(0x26f)](_0x204eb7,this[_0x1f13e9(0x308)][_0x1f13e9(0x4fa)]===_univerjs_sheets_ui['COPY_TYPE']['CUT']);},'onPasteUnrecognized':_0x165a9b=>{const _0xc5450a=_0xe86eb;if(!this[_0xc5450a(0x308)])return{'redos':[],'undos':[]};return this[_0xc5450a(0x26f)](_0x165a9b,this['_copyInfo'][_0xc5450a(0x4fa)]===_univerjs_sheets_ui[_0xc5450a(0x2b3)][_0xc5450a(0x4b0)]);}}));}[_0x5db780(0x466)](_0x22298e,_0x4d35f7,_0x4bf4c9,_0x4271e0){const _0x29f296=_0x5db780,_0x1bf781=this[_0x29f296(0x634)][_0x29f296(0x387)](_0x22298e,_0x4d35f7);if(!_0x1bf781)return;const _0x252b80=(0x0,_univerjs_sheets[_0x29f296(0x464)])(_0x1bf781,_0x4bf4c9);if(!_0x252b80)return;const {startX:_0x242e5c,endX:_0x4150c8,startY:_0x213fd9,endY:_0x733307}=_0x252b80,_0x116e5a=this[_0x29f296(0x2b5)][_0x29f296(0x4ea)](_0x22298e,_0x4d35f7),_0x32a163=this['_focusedDrawings'][_0x29f296(0x4e3)]();for(const [_0x497974,_0x8208d2]of Object['entries'](_0x116e5a)){if(_0x8208d2[_0x29f296(0x36e)]!==_univerjs_core[_0x29f296(0x539)]['DRAWING_CHART'])continue;const {transform:_0x420db1}=_0x8208d2;if(!_0x420db1)continue;const {left:left=0x0,top:top=0x0,width:width=0x0,height:height=0x0}=_0x420db1;if(_0x242e5c<=left&&_0x4150c8>=left+width&&_0x213fd9<=top&&_0x733307>=top+height)_0x32a163[_0x29f296(0x335)](_0x8208d2);}if(_0x32a163['length']>0x0)this[_0x29f296(0x308)]={'unitId':_0x22298e,'subUnitId':_0x4d35f7,'copyType':_0x4271e0,'copyRange':_0x4bf4c9,'drawings':_0x32a163};}[_0x5db780(0x26f)](_0x20c300,_0x8dbdab){const _0x241d0=_0x5db780,{unitId:_0x4359d3,subUnitId:_0x27890f,range:_0x29f06c}=_0x20c300,_0x2a6365=this['_sheetSkeletonService']['getSkeleton'](_0x4359d3,_0x27890f);if(!_0x2a6365)return{'redos':[],'undos':[]};const _0x47cb06=(0x0,_univerjs_sheets[_0x241d0(0x37f)])(_0x29f06c),{unitId:_0x556fb1,subUnitId:_0x427055,copyRange:_0x649d4e,drawings:_0x2d7d5a}=this[_0x241d0(0x308)],_0x40ae4c=this[_0x241d0(0x634)]['getSkeleton'](_0x556fb1,_0x427055);if(!_0x40ae4c)return{'redos':[],'undos':[]};const _0x5cdb3b=[],_0x3c8893=[];for(const _0x50a4a2 of _0x2d7d5a){const {drawingId:_0x5b39a3,transform:_0x4f7a1a,sheetTransform:_0x3f1fe9}=_0x50a4a2,_0x54b56e=this[_0x241d0(0x2ba)][_0x241d0(0x443)](_0x5b39a3);if(!_0x54b56e||!_0x4f7a1a||!_0x3f1fe9)continue;const _0xa290ab=this[_0x241d0(0x461)]({'transform':_0x4f7a1a,'sheetTransform':_0x3f1fe9},{'skeleton':_0x40ae4c,'range':_0x649d4e},{'skeleton':_0x2a6365,'range':_0x47cb06});if(_0x8dbdab){const {redos:_0x46409e,undos:_0x33526b}=this[_0x241d0(0x195)]({'fromUnitId':_0x556fb1,'fromSubUnitId':_0x427055,'toUnitId':_0x4359d3,'toSubUnitId':_0x27890f,'drawing':_0x50a4a2,'newTransforms':_0xa290ab},_0x54b56e);_0x5cdb3b[_0x241d0(0x335)](..._0x46409e),_0x3c8893[_0x241d0(0x335)](..._0x33526b);continue;}const {redos:_0x4b2ce5,undos:_0x11a1ad}=this[_0x241d0(0x473)]({'toUnitId':_0x4359d3,'toSubUnitId':_0x27890f,'drawing':_0x50a4a2,'newTransforms':_0xa290ab},_0x54b56e);_0x5cdb3b[_0x241d0(0x335)](..._0x4b2ce5),_0x3c8893[_0x241d0(0x335)](..._0x11a1ad);}return{'redos':_0x5cdb3b,'undos':_0x3c8893};}['_generateCutPasteMutations'](_0x336c97,_0x5cada0){const _0x136914=_0x5db780,{fromUnitId:_0x3af1fc,fromSubUnitId:_0x3e3b7c,toUnitId:_0x37df6f,toSubUnitId:_0x179e55,drawing:_0x7cb76d,newTransforms:_0x3611ce}=_0x336c97,_0x4b0fbf={..._0x7cb76d,'unitId':_0x37df6f,'subUnitId':_0x179e55,'transform':_0x3611ce[_0x136914(0x4f9)],'sheetTransform':_0x3611ce[_0x136914(0x57f)]};if(_0x37df6f===_0x3af1fc&&_0x179e55===_0x3e3b7c){const {redo:_0x101342,undo:_0x462b5d,objects:_0x10d450}=this['_sheetDrawingService']['getBatchUpdateOp']([_0x4b0fbf]);return{'redos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x3b0)],'op':_0x101342,'objects':_0x10d450}}],'undos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x3b0)],'op':_0x462b5d,'objects':_0x10d450}}]};}else{const _0x2705cd=this['_sheetDrawingService'][_0x136914(0x55a)]([_0x7cb76d]),_0x3286c5=this['_sheetDrawingService'][_0x136914(0x4a3)]([_0x4b0fbf]),{rangeInfo:_0x220c35,isRowDirection:_0x333ece}=_0x5cada0['dataSource'][_0x136914(0x22c)]();return{'redos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x599)],'op':_0x2705cd[_0x136914(0x43f)],'objects':_0x2705cd[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3b2)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'chartId':_0x7cb76d[_0x136914(0x418)]}},{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)]['INSERT'],'op':_0x3286c5[_0x136914(0x43f)],'objects':_0x3286c5[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3bc)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'chartId':_0x7cb76d[_0x136914(0x418)],'chartType':_0x5cada0[_0x136914(0x26b)],'range':_0x220c35['range'],'rangeUnitId':_0x220c35[_0x136914(0x378)],'rangeSubUnitId':_0x220c35[_0x136914(0x54c)],'isRowDirection':_0x333ece}}],'undos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)]['INSERT'],'op':_0x2705cd[_0x136914(0x2bc)],'objects':_0x2705cd[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3bc)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'chartId':_0x7cb76d[_0x136914(0x418)],'chartType':_0x5cada0[_0x136914(0x26b)],'range':_0x220c35[_0x136914(0x4d8)],'rangeUnitId':_0x220c35[_0x136914(0x378)],'rangeSubUnitId':_0x220c35[_0x136914(0x54c)],'isRowDirection':_0x333ece}},{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x599)],'op':_0x3286c5[_0x136914(0x2bc)],'objects':_0x3286c5[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3b2)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'chartId':_0x7cb76d[_0x136914(0x418)]}}]};}}['_generateCopyPasteMutations'](_0x125b52,_0xb4aa8f){const _0x25dedf=_0x5db780,{toUnitId:_0x36a108,toSubUnitId:_0x2353a4,drawing:_0x227009,newTransforms:_0x38a372}=_0x125b52,_0x43cee2=(0x0,_univerjs_core[_0x25dedf(0x590)])(),_0x56e911={..._0x227009,'unitId':_0x36a108,'subUnitId':_0x2353a4,'drawingId':_0x43cee2,'transform':_0x38a372['transform'],'sheetTransform':_0x38a372[_0x25dedf(0x57f)]},{redo:_0x5da1a5,undo:_0x33d6da,objects:_0x8e51f9}=this[_0x25dedf(0x2b5)]['getBatchAddOp']([_0x56e911]),{rangeInfo:_0x4aff70,isRowDirection:_0x3570bb}=_0xb4aa8f[_0x25dedf(0x498)]['getRangeInfo']();return{'redos':[{'id':_univerjs_sheets_drawing[_0x25dedf(0x2ff)]['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'type':_univerjs_sheets_drawing[_0x25dedf(0x4ef)][_0x25dedf(0x1ab)],'op':_0x5da1a5,'objects':_0x8e51f9}},{'id':_univerjs_pro_sheets_chart['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'chartId':_0x43cee2,'chartType':_0xb4aa8f[_0x25dedf(0x26b)],'range':_0x4aff70[_0x25dedf(0x4d8)],'rangeUnitId':_0x4aff70['unitId'],'rangeSubUnitId':_0x4aff70[_0x25dedf(0x54c)],'isRowDirection':_0x3570bb}}],'undos':[{'id':_univerjs_sheets_drawing[_0x25dedf(0x2ff)]['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'type':_univerjs_sheets_drawing[_0x25dedf(0x4ef)]['REMOVE'],'op':_0x33d6da,'objects':_0x8e51f9}},{'id':_univerjs_pro_sheets_chart[_0x25dedf(0x3b2)]['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'chartId':_0x43cee2}}]};}[_0x5db780(0x461)](_0x32c2a0,_0x6e19a7,_0x55fb7b){const _0x15f16d=_0x5db780;var _0x5c99b2;const {range:_0x5b6c25,skeleton:_0x456a5f}=_0x6e19a7,{range:_0x9d47e5,skeleton:_0x430426}=_0x55fb7b,{transform:_0x5db03a,sheetTransform:_0x166643}=_0x32c2a0,_0x4a54c0={..._0x5db03a};if(_0x5b6c25){const _0x51d8be=(0x0,_univerjs_sheets[_0x15f16d(0x464)])(_0x456a5f,_0x5b6c25),_0x52c6c4=(0x0,_univerjs_sheets[_0x15f16d(0x464)])(_0x430426,_0x9d47e5);if(_0x51d8be&&_0x52c6c4){var _0x58b4dc,_0x64915b;const _0x14c82e=_0x52c6c4['startX']-_0x51d8be['startX'],_0x5668b3=_0x52c6c4[_0x15f16d(0x1f1)]-_0x51d8be[_0x15f16d(0x1f1)];_0x4a54c0[_0x15f16d(0x5b0)]=((_0x58b4dc=_0x4a54c0[_0x15f16d(0x5b0)])!==null&&_0x58b4dc!==void 0x0?_0x58b4dc:0x0)+_0x14c82e,_0x4a54c0[_0x15f16d(0x49f)]=((_0x64915b=_0x4a54c0[_0x15f16d(0x49f)])!==null&&_0x64915b!==void 0x0?_0x64915b:0x0)+_0x5668b3;}}else{const _0x1dcb08=(0x0,_univerjs_sheets[_0x15f16d(0x464)])(_0x430426,_0x9d47e5);_0x4a54c0['left']=_0x1dcb08===null||_0x1dcb08===void 0x0?void 0x0:_0x1dcb08[_0x15f16d(0x270)],_0x4a54c0['top']=_0x1dcb08===null||_0x1dcb08===void 0x0?void 0x0:_0x1dcb08[_0x15f16d(0x1f1)];}return{'transform':_0x4a54c0,'sheetTransform':(_0x5c99b2=(0x0,_univerjs_sheets_drawing[_0x15f16d(0x57b)])(_0x4a54c0,_0x430426))!==null&&_0x5c99b2!==void 0x0?_0x5c99b2:_0x166643};}};SheetsChartClipboardController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets[_0x5db780(0x1ea)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_ui[_0x5db780(0x2be)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_drawing[_0x5db780(0x47c)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)]))],SheetsChartClipboardController);let SheetsChartUIPermissionController=class SheetsChartUIPermissionController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x484088,_0x53b2c2,_0x367871,_0x1dcdb9){const _0x17bca5=_0x5db780;super(),this[_0x17bca5(0x37c)]=_0x484088,this[_0x17bca5(0x5e5)]=_0x53b2c2,this[_0x17bca5(0x5a8)]=_0x367871,this[_0x17bca5(0x63c)]=_0x1dcdb9,this[_0x17bca5(0x42e)]();}['_initPermission'](){const _0x1fa982=_0x5db780;this[_0x1fa982(0x618)](this[_0x1fa982(0x37c)][_0x1fa982(0x2d4)](_0x384b40=>{const _0x198232=_0x1fa982;let _0x4721dc,_0x17c65a;if(_0x384b40['id']===_univerjs_pro_sheets_chart[_0x198232(0x579)]['id']){const _0x5c7a69=_0x384b40[_0x198232(0x4a9)];_0x4721dc=_0x5c7a69[_0x198232(0x378)],_0x17c65a=_0x5c7a69[_0x198232(0x54c)];}else{if(_0x384b40['id']===_univerjs_pro_sheets_chart['ChartUpdateConfigCommand']['id']||_0x384b40['id']===_univerjs_pro_sheets_chart[_0x198232(0x402)]['id']){const _0x172984=_0x384b40[_0x198232(0x4a9)];_0x4721dc=_0x172984[_0x198232(0x378)],_0x17c65a=this[_0x198232(0x63c)][_0x198232(0x444)](_0x172984[_0x198232(0x378)],_0x172984[_0x198232(0x2e8)]);}}if(!_0x4721dc||!_0x17c65a)return;if(!this[_0x198232(0x5a8)]['permissionCheckWithoutRange']({'workbookTypes':[_univerjs_sheets[_0x198232(0x5fc)]],'worksheetTypes':[_univerjs_sheets[_0x198232(0x252)]]},_0x4721dc,_0x17c65a))this[_0x198232(0x5a8)][_0x198232(0x4a4)](this['_localeService']['t'](_0x198232(0x5fb)));}));}};SheetsChartUIPermissionController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x248)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x1c2)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets['SheetPermissionCheckController'])),__decorateParam(0x3,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x3bb)]))],SheetsChartUIPermissionController);if(!window[_0x5db780(0x318)])window[_0x5db780(0x318)]=function setupSetImmediate(){const _0x45e70e=_0x5db780;return window[_0x45e70e(0x238)]||window[_0x45e70e(0x525)]||window['mozSetImmediate']||window['oSetImmediate']||function _0x3a5808(){const _0x5e1f52=_0x45e70e;if(!window[_0x5e1f52(0x3b9)]||!window[_0x5e1f52(0x2f2)])return null;const _0x46096c=[void 0x0],_0x45fad3='zero-timeout-message',_0x11b1b1=function _0x15b636(_0x341e31){const _0x1156ea=_0x5e1f52,_0x4d998d=_0x46096c['length'];return _0x46096c[_0x1156ea(0x335)](_0x341e31),window[_0x1156ea(0x3b9)](_0x45fad3+_0x4d998d[_0x1156ea(0x1cb)](0x24),'*'),_0x4d998d;};return window['addEventListener'](_0x5e1f52(0x1d9),function _0x312c42(_0x444391){const _0x455f1b=_0x5e1f52;if(typeof _0x444391[_0x455f1b(0x273)]!==_0x455f1b(0x622)||_0x444391['data'][_0x455f1b(0x3c5)](0x0,0x14)!==_0x45fad3)return;_0x444391[_0x455f1b(0x4b7)]();const _0x4fa28a=Number[_0x455f1b(0x2ee)](_0x444391[_0x455f1b(0x273)]['substr'](0x14),0x24);if(!_0x46096c[_0x4fa28a])return;_0x46096c[_0x4fa28a](),_0x46096c[_0x4fa28a]=void 0x0;},!![]),window[_0x5e1f52(0x349)]=function _0x2650ab(_0x3daacf){if(!_0x46096c[_0x3daacf])return;_0x46096c[_0x3daacf]=void 0x0;},_0x11b1b1;}()||function _0x906609(_0x54d7ba){const _0x42d47a=_0x45e70e;window[_0x42d47a(0x27c)](_0x54d7ba,0x0);};}();if(!window[_0x5db780(0x349)])window[_0x5db780(0x349)]=function setupClearImmediate(){const _0x1b27b7=_0x5db780;return window[_0x1b27b7(0x5c9)]||window['webkitClearImmediate']||window[_0x1b27b7(0x221)]||window[_0x1b27b7(0x3d7)]||function _0x28de68(_0x3100f3){const _0x3114bb=_0x1b27b7;window[_0x3114bb(0x261)](_0x3100f3);};}();const isSupported=function isSupported(){const _0x3e69bc=_0x5db780,_0x4e9e64=document['createElement'](_0x3e69bc(0x253));if(!_0x4e9e64||!_0x4e9e64[_0x3e69bc(0x3ef)])return![];const _0x2b2ca2=_0x4e9e64[_0x3e69bc(0x3ef)]('2d');if(!_0x2b2ca2)return![];if(!_0x2b2ca2[_0x3e69bc(0x5df)])return![];if(!_0x2b2ca2[_0x3e69bc(0x401)])return![];if(!Array[_0x3e69bc(0x430)][_0x3e69bc(0x2cd)])return![];if(!Array['prototype'][_0x3e69bc(0x335)])return![];return!![];}(),minFontSize=function getMinFontSize(){const _0x223091=_0x5db780;if(!isSupported)return;const _0x35d008=document[_0x223091(0x356)]('canvas')[_0x223091(0x3ef)]('2d');let _0x2d76ff=0x14,_0x4e963e,_0x2bf9bd;while(_0x2d76ff){_0x35d008[_0x223091(0x314)]=_0x2d76ff[_0x223091(0x1cb)](0xa)+'px\x20sans-serif';if(_0x35d008[_0x223091(0x2c7)]('W')[_0x223091(0x292)]===_0x4e963e&&_0x35d008[_0x223091(0x2c7)]('m')['width']===_0x2bf9bd)return _0x2d76ff+0x1;_0x4e963e=_0x35d008[_0x223091(0x2c7)]('W')[_0x223091(0x292)],_0x2bf9bd=_0x35d008[_0x223091(0x2c7)]('m')[_0x223091(0x292)],_0x2d76ff--;}return 0x0;}(),getItemExtraData=function(_0x31128b){const _0x3dc033=_0x5db780;if(Array[_0x3dc033(0x204)](_0x31128b)){const _0x13bb72=_0x31128b[_0x3dc033(0x4e3)]();return _0x13bb72[_0x3dc033(0x4ec)](0x0,0x2),_0x13bb72;}else return[];},shuffleArray=function shuffleArray(_0x117b31){const _0x2c78ec=_0x5db780;for(let _0x63c83f,_0x57bdf0,_0x4195a5=_0x117b31[_0x2c78ec(0x3db)];_0x4195a5;){_0x63c83f=Math['floor'](Math['random']()*_0x4195a5),_0x57bdf0=_0x117b31[--_0x4195a5],_0x117b31[_0x4195a5]=_0x117b31[_0x63c83f],_0x117b31[_0x63c83f]=_0x57bdf0;}return _0x117b31;},timer={},WordCloud=function WordCloud(_0x8c48e9,_0xf17aec){const _0x31d5d5=_0x5db780;if(!isSupported)return;const _0x5735ed=Math[_0x31d5d5(0x4d0)](Math[_0x31d5d5(0x37a)]()*Date['now']());if(!Array[_0x31d5d5(0x204)](_0x8c48e9))_0x8c48e9=[_0x8c48e9];_0x8c48e9[_0x31d5d5(0x42f)](function(_0x3f904a,_0x5a7ed9){const _0x537fa3=_0x31d5d5;if(typeof _0x3f904a==='string'){_0x8c48e9[_0x5a7ed9]=document['getElementById'](_0x3f904a);if(!_0x8c48e9[_0x5a7ed9])throw new Error(_0x537fa3(0x4cc));}else{if(!_0x3f904a[_0x537fa3(0x59f)]&&!_0x3f904a['appendChild'])throw new Error(_0x537fa3(0x1f9));}});const _0x56fd78={'list':[],'fontFamily':_0x31d5d5(0x38f),'fontWeight':_0x31d5d5(0x56e),'color':_0x31d5d5(0x604),'minSize':0x0,'weightFactor':0x1,'clearCanvas':!![],'backgroundColor':_0x31d5d5(0x1b8),'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'origin':null,'drawMask':![],'maskColor':'rgba(255,0,0,0.3)','maskGapWidth':0.3,'layoutAnimation':!![],'wait':0x0,'abortThreshold':0x0,'abort':function _0x4ee26b(){},'minRotation':-Math['PI']/0x2,'maxRotation':Math['PI']/0x2,'rotationStep':0.1,'shuffle':!![],'rotateRatio':0.1,'shape':'circle','ellipticity':0.65,'classes':null,'hover':null,'click':null};if(_0xf17aec){for(const _0x57b364 in _0xf17aec)if(_0x57b364 in _0x56fd78)_0x56fd78[_0x57b364]=_0xf17aec[_0x57b364];}if(typeof _0x56fd78[_0x31d5d5(0x2d1)]!=='function'){const _0x506751=_0x56fd78[_0x31d5d5(0x2d1)];_0x56fd78[_0x31d5d5(0x2d1)]=function _0x5e284c(_0x35a330){return _0x35a330*_0x506751;};}if(typeof _0x56fd78[_0x31d5d5(0x476)]!==_0x31d5d5(0x436))switch(_0x56fd78[_0x31d5d5(0x476)]){case _0x31d5d5(0x31a):_0x56fd78[_0x31d5d5(0x476)]=function _0x299f85(_0x3512d6){const _0x127ce8=_0x31d5d5;return 0x1-Math[_0x127ce8(0x370)](_0x3512d6);};break;case _0x31d5d5(0x526):_0x56fd78[_0x31d5d5(0x476)]=function _0x4da90c(_0x360cec){const _0x12581f=_0x31d5d5,_0x1fde65=_0x360cec%(0x2*Math['PI']/0x4);return 0x1/(Math[_0x12581f(0x53a)](_0x1fde65)+Math['sin'](_0x1fde65));};break;case _0x31d5d5(0x3cd):_0x56fd78[_0x31d5d5(0x476)]=function _0xbd86f7(_0x529921){const _0x3238b8=_0x31d5d5;return Math[_0x3238b8(0x393)](0x1/Math['abs'](Math[_0x3238b8(0x53a)](_0x529921)),0x1/Math[_0x3238b8(0x4b9)](Math['sin'](_0x529921)));};break;case _0x31d5d5(0x271):_0x56fd78[_0x31d5d5(0x476)]=function _0x5420e6(_0x3b965d){const _0x4fc0e8=_0x31d5d5,_0x160c46=_0x3b965d%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x4fc0e8(0x53a)](_0x160c46)+Math[_0x4fc0e8(0x199)](0x3)*Math[_0x4fc0e8(0x370)](_0x160c46));};break;case _0x31d5d5(0x299):case _0x31d5d5(0x5d5):_0x56fd78[_0x31d5d5(0x476)]=function _0x289c6d(_0x4c805a){const _0x27e6b1=_0x31d5d5,_0x37670e=(_0x4c805a+Math['PI']*0x3/0x2)%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x27e6b1(0x53a)](_0x37670e)+Math[_0x27e6b1(0x199)](0x3)*Math['sin'](_0x37670e));};break;case'pentagon':_0x56fd78[_0x31d5d5(0x476)]=function _0x47cbfc(_0x8a3066){const _0xc4ae98=_0x31d5d5,_0xc894d4=(_0x8a3066+0.955)%(0x2*Math['PI']/0x5);return 0x1/(Math[_0xc4ae98(0x53a)](_0xc894d4)+0.726543*Math['sin'](_0xc894d4));};break;case _0x31d5d5(0x350):_0x56fd78[_0x31d5d5(0x476)]=function _0x276058(_0x44a032){const _0x3d0477=_0x31d5d5,_0x28ac88=(_0x44a032+0.955)%(0x2*Math['PI']/0xa);if((_0x44a032+0.955)%(0x2*Math['PI']/0x5)-0x2*Math['PI']/0xa>=0x0)return 0x1/(Math[_0x3d0477(0x53a)](0x2*Math['PI']/0xa-_0x28ac88)+3.07768*Math[_0x3d0477(0x370)](0x2*Math['PI']/0xa-_0x28ac88));else return 0x1/(Math[_0x3d0477(0x53a)](_0x28ac88)+3.07768*Math[_0x3d0477(0x370)](_0x28ac88));};break;default:_0x56fd78[_0x31d5d5(0x476)]='circle';break;}_0x56fd78[_0x31d5d5(0x19f)]=Math[_0x31d5d5(0x1e5)](Math[_0x31d5d5(0x4d0)](_0x56fd78[_0x31d5d5(0x19f)]),0x4);const _0x4e8ac9=_0x56fd78[_0x31d5d5(0x19f)],_0x59df01=_0x4e8ac9-_0x56fd78['maskGapWidth'],_0x4a598c=Math[_0x31d5d5(0x4b9)](_0x56fd78[_0x31d5d5(0x42a)]-_0x56fd78['minRotation']),_0x2209f=Math[_0x31d5d5(0x393)](_0x56fd78[_0x31d5d5(0x42a)],_0x56fd78[_0x31d5d5(0x557)]),_0x43e626=_0x56fd78[_0x31d5d5(0x59c)];let _0x1276c1,_0x1873d8,_0x219024,_0x4a04ab,_0xbe67c0,_0x51abda,_0x42043d;function _0x5cc257(_0x172955,_0x439907){const _0x32367f=_0x31d5d5;return'hsl('+(Math[_0x32367f(0x37a)]()*0x168)['toFixed']()+','+(Math[_0x32367f(0x37a)]()*0x1e+0x46)[_0x32367f(0x607)]()+'%,'+(Math[_0x32367f(0x37a)]()*(_0x439907-_0x172955)+_0x172955)['toFixed']()+'%)';}switch(_0x56fd78[_0x31d5d5(0x1e1)]){case'random-dark':_0x42043d=function _0x3d7cc5(){return _0x5cc257(0xa,0x32);};break;case _0x31d5d5(0x446):_0x42043d=function _0x55f5de(){return _0x5cc257(0x32,0x5a);};break;default:if(typeof _0x56fd78[_0x31d5d5(0x1e1)]===_0x31d5d5(0x436))_0x42043d=_0x56fd78['color'];break;}let _0xbb1013;if(typeof _0x56fd78[_0x31d5d5(0x1ca)]===_0x31d5d5(0x436))_0xbb1013=_0x56fd78[_0x31d5d5(0x1ca)];let _0x44f5ed=null;if(typeof _0x56fd78[_0x31d5d5(0x61f)]==='function')_0x44f5ed=_0x56fd78['classes'];let _0x47e748=![];const _0xd90d24=[];let _0x2c2ac6;const _0x32aeda=function _0x2ca9bd(_0x52324c){const _0x52d9b0=_0x31d5d5,_0x26daa2=_0x52324c[_0x52d9b0(0x239)],_0x29a129=_0x26daa2[_0x52d9b0(0x28a)]();let _0x2aa4d2,_0x54f4c;_0x52324c[_0x52d9b0(0x3f4)]?(_0x2aa4d2=_0x52324c['touches'][0x0][_0x52d9b0(0x44c)],_0x54f4c=_0x52324c[_0x52d9b0(0x3f4)][0x0][_0x52d9b0(0x623)]):(_0x2aa4d2=_0x52324c[_0x52d9b0(0x44c)],_0x54f4c=_0x52324c['clientY']);const _0x3d85ee=_0x2aa4d2-_0x29a129['left'],_0x2b990b=_0x54f4c-_0x29a129[_0x52d9b0(0x49f)],_0x3f58ca=Math[_0x52d9b0(0x4d0)](_0x3d85ee*(_0x26daa2['width']/_0x29a129[_0x52d9b0(0x292)]||0x1)/_0x4e8ac9),_0x18c438=Math[_0x52d9b0(0x4d0)](_0x2b990b*(_0x26daa2[_0x52d9b0(0x296)]/_0x29a129['height']||0x1)/_0x4e8ac9);if(!_0xd90d24[_0x3f58ca])return null;return _0xd90d24[_0x3f58ca][_0x18c438];},_0x459ffe=function _0x20d86b(_0x3549c4){const _0x52f5c0=_0x31d5d5,_0x550392=_0x32aeda(_0x3549c4);if(_0x2c2ac6===_0x550392)return;_0x2c2ac6=_0x550392;if(!_0x550392){_0x56fd78[_0x52f5c0(0x244)](void 0x0,void 0x0,_0x3549c4);return;}_0x56fd78[_0x52f5c0(0x244)](_0x550392[_0x52f5c0(0x3fa)],_0x550392['dimension'],_0x3549c4);},_0xe4caa3=function _0x39f093(_0x5da642){const _0x458b5a=_0x31d5d5,_0x3d22ba=_0x32aeda(_0x5da642);if(!_0x3d22ba)return;_0x56fd78['click'](_0x3d22ba[_0x458b5a(0x3fa)],_0x3d22ba[_0x458b5a(0x3c1)],_0x5da642),_0x5da642[_0x458b5a(0x294)]();},_0x3dce5d=[],_0x381a35=function _0x34863a(_0x4b867a){const _0x407445=_0x31d5d5;if(_0x3dce5d[_0x4b867a])return _0x3dce5d[_0x4b867a];const _0x8c3f78=_0x4b867a*0x8;let _0xd06dd7=_0x8c3f78;const _0x45339f=[];if(_0x4b867a===0x0)_0x45339f[_0x407445(0x335)]([_0x4a04ab[0x0],_0x4a04ab[0x1],0x0]);while(_0xd06dd7--){let _0x665a54=0x1;if(_0x56fd78[_0x407445(0x476)]!==_0x407445(0x5e6))_0x665a54=_0x56fd78[_0x407445(0x476)](_0xd06dd7/_0x8c3f78*0x2*Math['PI']);_0x45339f['push']([_0x4a04ab[0x0]+_0x4b867a*_0x665a54*Math['cos'](-_0xd06dd7/_0x8c3f78*0x2*Math['PI']),_0x4a04ab[0x1]+_0x4b867a*_0x665a54*Math['sin'](-_0xd06dd7/_0x8c3f78*0x2*Math['PI'])*_0x56fd78['ellipticity'],_0xd06dd7/_0x8c3f78*0x2*Math['PI']]);}return _0x3dce5d[_0x4b867a]=_0x45339f,_0x45339f;},_0x5cd569=function _0x150ef2(){const _0x7f2fff=_0x31d5d5;return _0x56fd78[_0x7f2fff(0x389)]>0x0&&new Date()[_0x7f2fff(0x282)]()-_0x51abda>_0x56fd78['abortThreshold'];},_0x554a74=function _0xed7461(){const _0x960eb5=_0x31d5d5;if(_0x56fd78[_0x960eb5(0x290)]===0x0)return 0x0;if(Math[_0x960eb5(0x37a)]()>_0x56fd78[_0x960eb5(0x290)])return 0x0;if(_0x4a598c===0x0)return _0x2209f;return _0x2209f+Math['round'](Math[_0x960eb5(0x37a)]()*_0x4a598c/_0x43e626)*_0x43e626;},_0x5ced42=function _0x5b02ab(_0x1de96a,_0x10186c,_0x19bd69,_0x206c6f){const _0x1d56ad=_0x31d5d5,_0x28e436=_0x56fd78['weightFactor'](_0x10186c);if(_0x28e436<=_0x56fd78[_0x1d56ad(0x388)])return![];let _0x1b3c56=0x1;if(_0x28e436<minFontSize)_0x1b3c56=function _0xafcf9e(){let _0x26f94a=0x2;while(_0x26f94a*_0x28e436<minFontSize)_0x26f94a+=0x2;return _0x26f94a;}();let _0x348b43;if(_0xbb1013)_0x348b43=_0xbb1013(_0x1de96a,_0x10186c,_0x28e436,_0x206c6f);else _0x348b43=_0x56fd78[_0x1d56ad(0x1ca)];const _0x87d844=document['createElement'](_0x1d56ad(0x253)),_0x3c0df8=_0x87d844[_0x1d56ad(0x3ef)]('2d',{'willReadFrequently':!![]});_0x3c0df8[_0x1d56ad(0x314)]=_0x348b43+'\x20'+(_0x28e436*_0x1b3c56)[_0x1d56ad(0x1cb)](0xa)+'px\x20'+_0x56fd78[_0x1d56ad(0x377)];const _0x260b84=_0x3c0df8['measureText'](_0x1de96a)[_0x1d56ad(0x292)]/_0x1b3c56,_0x400b95=Math[_0x1d56ad(0x1e5)](_0x28e436*_0x1b3c56,_0x3c0df8[_0x1d56ad(0x2c7)]('m')[_0x1d56ad(0x292)],_0x3c0df8['measureText']('W')['width'])/_0x1b3c56;let _0x37e5e9=_0x260b84+_0x400b95*0x2,_0x583a70=_0x400b95*0x3;const _0xefc0f7=Math[_0x1d56ad(0x2cb)](_0x37e5e9/_0x4e8ac9),_0x55dd8a=Math[_0x1d56ad(0x2cb)](_0x583a70/_0x4e8ac9);_0x37e5e9=_0xefc0f7*_0x4e8ac9,_0x583a70=_0x55dd8a*_0x4e8ac9;const _0x4ef0d4=-_0x260b84/0x2,_0xc1a8c9=-_0x400b95*0.4,_0x15a6af=Math[_0x1d56ad(0x2cb)]((_0x37e5e9*Math[_0x1d56ad(0x4b9)](Math[_0x1d56ad(0x370)](_0x19bd69))+_0x583a70*Math[_0x1d56ad(0x4b9)](Math['cos'](_0x19bd69)))/_0x4e8ac9),_0x21d5f6=Math[_0x1d56ad(0x2cb)]((_0x37e5e9*Math[_0x1d56ad(0x4b9)](Math['cos'](_0x19bd69))+_0x583a70*Math[_0x1d56ad(0x4b9)](Math['sin'](_0x19bd69)))/_0x4e8ac9),_0x5e7063=_0x21d5f6*_0x4e8ac9,_0x16828f=_0x15a6af*_0x4e8ac9;_0x87d844[_0x1d56ad(0x63f)](_0x1d56ad(0x292),_0x5e7063),_0x87d844['setAttribute'](_0x1d56ad(0x296),_0x16828f),_0x3c0df8[_0x1d56ad(0x33f)](0x1/_0x1b3c56,0x1/_0x1b3c56),_0x3c0df8[_0x1d56ad(0x27d)](_0x5e7063*_0x1b3c56/0x2,_0x16828f*_0x1b3c56/0x2),_0x3c0df8[_0x1d56ad(0x5a2)](-_0x19bd69),_0x3c0df8[_0x1d56ad(0x314)]=_0x348b43+'\x20'+(_0x28e436*_0x1b3c56)[_0x1d56ad(0x1cb)](0xa)+_0x1d56ad(0x50b)+_0x56fd78[_0x1d56ad(0x377)],_0x3c0df8[_0x1d56ad(0x29b)]=_0x1d56ad(0x409),_0x3c0df8[_0x1d56ad(0x258)]=_0x1d56ad(0x3dd),_0x3c0df8[_0x1d56ad(0x401)](_0x1de96a,_0x4ef0d4*_0x1b3c56,(_0xc1a8c9+_0x28e436*0.5)*_0x1b3c56);const _0x382cdb=_0x3c0df8[_0x1d56ad(0x5df)](0x0,0x0,_0x5e7063,_0x16828f)[_0x1d56ad(0x273)];if(_0x5cd569())return![];const _0x1fe57d=[];let _0x10879a=_0x21d5f6,_0x1406fd,_0x3c1a59,_0x34d3ef;const _0xf56132=[_0x15a6af/0x2,_0x21d5f6/0x2,_0x15a6af/0x2,_0x21d5f6/0x2];while(_0x10879a--){_0x1406fd=_0x15a6af;while(_0x1406fd--){_0x34d3ef=_0x4e8ac9;_0xe1f2c6:while(_0x34d3ef--){_0x3c1a59=_0x4e8ac9;while(_0x3c1a59--)if(_0x382cdb[((_0x1406fd*_0x4e8ac9+_0x34d3ef)*_0x5e7063+(_0x10879a*_0x4e8ac9+_0x3c1a59))*0x4+0x3]){_0x1fe57d[_0x1d56ad(0x335)]([_0x10879a,_0x1406fd]);if(_0x10879a<_0xf56132[0x3])_0xf56132[0x3]=_0x10879a;if(_0x10879a>_0xf56132[0x1])_0xf56132[0x1]=_0x10879a;if(_0x1406fd<_0xf56132[0x0])_0xf56132[0x0]=_0x1406fd;if(_0x1406fd>_0xf56132[0x2])_0xf56132[0x2]=_0x1406fd;break _0xe1f2c6;}}}}return{'mu':_0x1b3c56,'occupied':_0x1fe57d,'bounds':_0xf56132,'gw':_0x21d5f6,'gh':_0x15a6af,'fillTextOffsetX':_0x4ef0d4,'fillTextOffsetY':_0xc1a8c9,'fillTextWidth':_0x260b84,'fillTextHeight':_0x400b95,'fontSize':_0x28e436};},_0x2aebc2=function _0x1561cc(_0x17e424,_0x8f098a,_0x4d47f4,_0x516617,_0x274bbd){const _0x3140ab=_0x31d5d5;let _0x3bcf68=_0x274bbd[_0x3140ab(0x3db)];while(_0x3bcf68--){const _0x1f9949=_0x17e424+_0x274bbd[_0x3bcf68][0x0],_0x4f544c=_0x8f098a+_0x274bbd[_0x3bcf68][0x1];if(_0x1f9949>=_0x1873d8||_0x4f544c>=_0x219024||_0x1f9949<0x0||_0x4f544c<0x0){if(!_0x56fd78['drawOutOfBound'])return![];continue;}if(!_0x1276c1[_0x1f9949][_0x4f544c])return![];}return!![];},_0xcc53e=function _0x52ca98(_0x2107ee,_0x2f41e2,_0x4783bb,_0x2cbbc9,_0x207efd,_0x230780,_0x7e58de,_0x1acf97,_0xd33946,_0x13e78e){const _0x50bf32=_0x31d5d5,_0x1b3b39=_0x4783bb['fontSize'];let _0x4fdc4a;if(_0x42043d)_0x4fdc4a=_0x42043d(_0x2cbbc9,_0x207efd,_0x1b3b39,_0x230780,_0x7e58de,_0x13e78e);else _0x4fdc4a=_0x56fd78[_0x50bf32(0x1e1)];let _0x17186f;if(_0xbb1013)_0x17186f=_0xbb1013(_0x2cbbc9,_0x207efd,_0x1b3b39,_0x13e78e);else _0x17186f=_0x56fd78[_0x50bf32(0x1ca)];let _0x31cf7d;if(_0x44f5ed)_0x31cf7d=_0x44f5ed(_0x2cbbc9,_0x207efd,_0x1b3b39,_0x13e78e);else _0x31cf7d=_0x56fd78[_0x50bf32(0x61f)];_0x8c48e9[_0x50bf32(0x42f)](function(_0x5d3546){const _0x431183=_0x50bf32;if(_0x5d3546[_0x431183(0x3ef)]){const _0x5cf414=_0x5d3546['getContext']('2d'),_0x4cab2d=_0x4783bb['mu'];_0x5cf414['save'](),_0x5cf414[_0x431183(0x33f)](0x1/_0x4cab2d,0x1/_0x4cab2d),_0x5cf414[_0x431183(0x314)]=_0x17186f+'\x20'+(_0x1b3b39*_0x4cab2d)[_0x431183(0x1cb)](0xa)+_0x431183(0x50b)+_0x56fd78[_0x431183(0x377)],_0x5cf414[_0x431183(0x29b)]=_0x4fdc4a,_0x5cf414[_0x431183(0x27d)]((_0x2107ee+_0x4783bb['gw']/0x2)*_0x4e8ac9*_0x4cab2d,(_0x2f41e2+_0x4783bb['gh']/0x2)*_0x4e8ac9*_0x4cab2d);if(_0x1acf97!==0x0)_0x5cf414['rotate'](-_0x1acf97);_0x5cf414['textBaseline']=_0x431183(0x3dd),_0x5cf414[_0x431183(0x401)](_0x2cbbc9,_0x4783bb[_0x431183(0x46d)]*_0x4cab2d,(_0x4783bb['fillTextOffsetY']+_0x1b3b39*0.5)*_0x4cab2d),_0x5cf414[_0x431183(0x581)]();}else{const _0x3a7d78=document[_0x431183(0x356)](_0x431183(0x2c2));let _0x57be59='';_0x57be59=_0x431183(0x3c0)+-_0x1acf97/Math['PI']*0xb4+_0x431183(0x1f0);if(_0x4783bb['mu']!==0x1)_0x57be59+='translateX(-'+_0x4783bb[_0x431183(0x38c)]/0x4+_0x431183(0x366)+0x1/_0x4783bb['mu']+')';const _0x32d60c={'position':_0x431183(0x5ee),'display':_0x431183(0x234),'font':_0x17186f+'\x20'+_0x1b3b39*_0x4783bb['mu']+_0x431183(0x50b)+_0x56fd78[_0x431183(0x377)],'left':(_0x2107ee+_0x4783bb['gw']/0x2)*_0x4e8ac9+_0x4783bb['fillTextOffsetX']+'px','top':(_0x2f41e2+_0x4783bb['gh']/0x2)*_0x4e8ac9+_0x4783bb[_0x431183(0x613)]+'px','width':_0x4783bb[_0x431183(0x38c)]+'px','height':_0x4783bb[_0x431183(0x60b)]+'px','lineHeight':_0x1b3b39+'px','whiteSpace':'nowrap','transform':_0x57be59,'webkitTransform':_0x57be59,'msTransform':_0x57be59,'transformOrigin':_0x431183(0x5c8),'webkitTransformOrigin':_0x431183(0x5c8),'msTransformOrigin':'50%\x2040%'};if(_0x4fdc4a)_0x32d60c[_0x431183(0x1e1)]=_0x4fdc4a;_0x3a7d78[_0x431183(0x5af)]=_0x2cbbc9;for(const _0x3e65ac in _0x32d60c)_0x3a7d78[_0x431183(0x26a)][_0x3e65ac]=_0x32d60c[_0x3e65ac];if(_0xd33946){for(const _0x232298 in _0xd33946)_0x3a7d78[_0x431183(0x63f)](_0x232298,_0xd33946[_0x232298]);}if(_0x31cf7d)_0x3a7d78[_0x431183(0x39a)]+=_0x31cf7d;_0x5d3546['appendChild'](_0x3a7d78);}});},_0x2be2a7=function _0x36f787(_0x48750f,_0x2cad03,_0x11a922,_0x10f677,_0x31124a){const _0x4bf6aa=_0x31d5d5;if(_0x48750f>=_0x1873d8||_0x2cad03>=_0x219024||_0x48750f<0x0||_0x2cad03<0x0)return;_0x1276c1[_0x48750f][_0x2cad03]=![];if(_0x11a922)_0x8c48e9[0x0][_0x4bf6aa(0x3ef)]('2d')[_0x4bf6aa(0x55b)](_0x48750f*_0x4e8ac9,_0x2cad03*_0x4e8ac9,_0x59df01,_0x59df01);if(_0x47e748)_0xd90d24[_0x48750f][_0x2cad03]={'item':_0x31124a,'dimension':_0x10f677};},_0x4ea694=function _0x555dba(_0x79a8b9,_0x6ac00d,_0x4d0076,_0xce89c,_0x4cec9b,_0x2122c9){const _0x19fbcb=_0x31d5d5,_0x1fdfcd=_0x4cec9b['occupied'],_0x52ccce=_0x56fd78[_0x19fbcb(0x32f)];let _0x23327c;_0x52ccce&&(_0x23327c=_0x8c48e9[0x0][_0x19fbcb(0x3ef)]('2d'),_0x23327c[_0x19fbcb(0x4d6)](),_0x23327c[_0x19fbcb(0x29b)]=_0x56fd78[_0x19fbcb(0x51d)]);let _0x3943b7;if(_0x47e748){const _0x52bae3=_0x4cec9b[_0x19fbcb(0x48d)];_0x3943b7={'x':(_0x79a8b9+_0x52bae3[0x3])*_0x4e8ac9,'y':(_0x6ac00d+_0x52bae3[0x0])*_0x4e8ac9,'w':(_0x52bae3[0x1]-_0x52bae3[0x3]+0x1)*_0x4e8ac9,'h':(_0x52bae3[0x2]-_0x52bae3[0x0]+0x1)*_0x4e8ac9};}let _0x2d5809=_0x1fdfcd[_0x19fbcb(0x3db)];while(_0x2d5809--){const _0x3567ba=_0x79a8b9+_0x1fdfcd[_0x2d5809][0x0],_0x3d3277=_0x6ac00d+_0x1fdfcd[_0x2d5809][0x1];if(_0x3567ba>=_0x1873d8||_0x3d3277>=_0x219024||_0x3567ba<0x0||_0x3d3277<0x0)continue;_0x2be2a7(_0x3567ba,_0x3d3277,_0x52ccce,_0x3943b7,_0x2122c9);}if(_0x52ccce)_0x23327c['restore']();},_0x570527=function _0x244e24(_0x17c0f1,_0x37c0bb){const _0x39def3=_0x31d5d5;if(_0x37c0bb>0x14)return null;let _0x21e103,_0x393e01,_0xf329dc;Array[_0x39def3(0x204)](_0x17c0f1)?(_0x21e103=_0x17c0f1[0x0],_0x393e01=_0x17c0f1[0x1]):(_0x21e103=_0x17c0f1[_0x39def3(0x2a0)],_0x393e01=_0x17c0f1['weight'],_0xf329dc=_0x17c0f1[_0x39def3(0x630)]);const _0x4618a8=_0x554a74(),_0x1ed948=getItemExtraData(_0x17c0f1),_0x4475d4=_0x5ced42(_0x21e103,_0x393e01,_0x4618a8,_0x1ed948);if(!_0x4475d4)return![];if(_0x5cd569())return![];if(!_0x56fd78['drawOutOfBound']&&!_0x56fd78[_0x39def3(0x1b0)]){const _0x2141d7=_0x4475d4[_0x39def3(0x48d)];if(_0x2141d7[0x1]-_0x2141d7[0x3]+0x1>_0x1873d8||_0x2141d7[0x2]-_0x2141d7[0x0]+0x1>_0x219024)return![];}let _0x489181=_0xbe67c0+0x1;const _0x1aef04=function(_0x3cb416){const _0x45315a=_0x39def3,_0x42f493=Math[_0x45315a(0x4d0)](_0x3cb416[0x0]-_0x4475d4['gw']/0x2),_0x267934=Math['floor'](_0x3cb416[0x1]-_0x4475d4['gh']/0x2),_0x251e85=_0x4475d4['gw'],_0xebacaa=_0x4475d4['gh'];if(!_0x2aebc2(_0x42f493,_0x267934,_0x251e85,_0xebacaa,_0x4475d4['occupied']))return![];return _0xcc53e(_0x42f493,_0x267934,_0x4475d4,_0x21e103,_0x393e01,_0xbe67c0-_0x489181,_0x3cb416[0x2],_0x4618a8,_0xf329dc,_0x1ed948),_0x4ea694(_0x42f493,_0x267934,_0x251e85,_0xebacaa,_0x4475d4,_0x17c0f1),{'gx':_0x42f493,'gy':_0x267934,'rot':_0x4618a8,'info':_0x4475d4};};while(_0x489181--){let _0x3cb62e=_0x381a35(_0xbe67c0-_0x489181);_0x56fd78[_0x39def3(0x1fe)]&&(_0x3cb62e=[]['concat'](_0x3cb62e),shuffleArray(_0x3cb62e));for(let _0x3416a8=0x0;_0x3416a8<_0x3cb62e[_0x39def3(0x3db)];_0x3416a8++){const _0x5b3d25=_0x1aef04(_0x3cb62e[_0x3416a8]);if(_0x5b3d25)return _0x5b3d25;}}if(_0x56fd78[_0x39def3(0x1b0)]){if(Array[_0x39def3(0x204)](_0x17c0f1))_0x17c0f1[0x1]=_0x17c0f1[0x1]*0x3/0x4;else _0x17c0f1[_0x39def3(0x3d3)]=_0x17c0f1[_0x39def3(0x3d3)]*0x3/0x4;return _0x244e24(_0x17c0f1,_0x37c0bb+0x1);}return null;},_0x3492aa=function _0x4abaae(_0x1412cc,_0x5d586e,_0x11ec7a){const _0x1cc359=_0x31d5d5;if(_0x5d586e)return!_0x8c48e9[_0x1cc359(0x2cd)](function(_0x4b642d){const _0x66f9d6=_0x1cc359,_0x7edd17=new CustomEvent(_0x1412cc,{'detail':_0x11ec7a||{}});return!_0x4b642d[_0x66f9d6(0x5ca)](_0x7edd17);},this);else _0x8c48e9[_0x1cc359(0x42f)](function(_0x2ee293){const _0x4aec5e=new CustomEvent(_0x1412cc,{'detail':_0x11ec7a||{}});_0x2ee293['dispatchEvent'](_0x4aec5e);},this);};(function _0x260aea(){const _0x28c8d=_0x31d5d5,_0x5baa49=_0x8c48e9[0x0];if(_0x5baa49[_0x28c8d(0x3ef)])_0x1873d8=Math[_0x28c8d(0x2cb)](_0x5baa49[_0x28c8d(0x292)]/_0x4e8ac9),_0x219024=Math[_0x28c8d(0x2cb)](_0x5baa49['height']/_0x4e8ac9);else{const _0x3b7617=_0x5baa49[_0x28c8d(0x28a)]();_0x1873d8=Math['ceil'](_0x3b7617[_0x28c8d(0x292)]/_0x4e8ac9),_0x219024=Math[_0x28c8d(0x2cb)](_0x3b7617[_0x28c8d(0x296)]/_0x4e8ac9);}if(!_0x3492aa(_0x28c8d(0x295),!![]))return;_0x4a04ab=_0x56fd78[_0x28c8d(0x62f)]?[_0x56fd78[_0x28c8d(0x62f)][0x0]/_0x4e8ac9,_0x56fd78[_0x28c8d(0x62f)][0x1]/_0x4e8ac9]:[_0x1873d8/0x2,_0x219024/0x2],_0xbe67c0=Math[_0x28c8d(0x4d0)](Math[_0x28c8d(0x199)](_0x1873d8*_0x1873d8+_0x219024*_0x219024)),_0x1276c1=[];let _0x49474c,_0x5c8e70,_0xda4668;if(!_0x5baa49[_0x28c8d(0x3ef)]||_0x56fd78[_0x28c8d(0x247)]){_0x8c48e9[_0x28c8d(0x42f)](function(_0x44459b){const _0xbc17ab=_0x28c8d;if(_0x44459b['getContext']){const _0x3e4447=_0x44459b['getContext']('2d');_0x3e4447['fillStyle']=_0x56fd78['backgroundColor'],_0x3e4447['clearRect'](0x0,0x0,_0x1873d8*(_0x4e8ac9+0x1),_0x219024*(_0x4e8ac9+0x1)),_0x3e4447[_0xbc17ab(0x55b)](0x0,0x0,_0x1873d8*(_0x4e8ac9+0x1),_0x219024*(_0x4e8ac9+0x1));}else _0x44459b[_0xbc17ab(0x5af)]='',_0x44459b[_0xbc17ab(0x26a)][_0xbc17ab(0x567)]=_0x56fd78[_0xbc17ab(0x567)],_0x44459b[_0xbc17ab(0x26a)][_0xbc17ab(0x453)]='relative';}),_0x49474c=_0x1873d8;while(_0x49474c--){_0x1276c1[_0x49474c]=[],_0x5c8e70=_0x219024;while(_0x5c8e70--)_0x1276c1[_0x49474c][_0x5c8e70]=!![];}}else{let _0xea51c8=document[_0x28c8d(0x356)](_0x28c8d(0x253))['getContext']('2d');_0xea51c8[_0x28c8d(0x29b)]=_0x56fd78[_0x28c8d(0x567)],_0xea51c8[_0x28c8d(0x55b)](0x0,0x0,0x1,0x1);let _0x396c2a=_0xea51c8['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x4e4930=_0x5baa49[_0x28c8d(0x3ef)]('2d')[_0x28c8d(0x5df)](0x0,0x0,_0x1873d8*_0x4e8ac9,_0x219024*_0x4e8ac9)[_0x28c8d(0x273)];_0x49474c=_0x1873d8;let _0xbc3d25,_0x355e10;while(_0x49474c--){_0x1276c1[_0x49474c]=[],_0x5c8e70=_0x219024;while(_0x5c8e70--){_0x355e10=_0x4e8ac9;_0x42bb9d:while(_0x355e10--){_0xbc3d25=_0x4e8ac9;while(_0xbc3d25--){_0xda4668=0x4;while(_0xda4668--)if(_0x4e4930[((_0x5c8e70*_0x4e8ac9+_0x355e10)*_0x1873d8*_0x4e8ac9+(_0x49474c*_0x4e8ac9+_0xbc3d25))*0x4+_0xda4668]!==_0x396c2a[_0xda4668]){_0x1276c1[_0x49474c][_0x5c8e70]=![];break _0x42bb9d;}}}if(_0x1276c1[_0x49474c][_0x5c8e70]!==![])_0x1276c1[_0x49474c][_0x5c8e70]=!![];}}_0x4e4930=_0xea51c8=_0x396c2a=void 0x0;}if(_0x56fd78[_0x28c8d(0x244)]||_0x56fd78['click']){_0x47e748=!![],_0x49474c=_0x1873d8+0x1;while(_0x49474c--)_0xd90d24[_0x49474c]=[];if(_0x56fd78['hover'])_0x5baa49['addEventListener'](_0x28c8d(0x499),_0x459ffe);_0x56fd78[_0x28c8d(0x48b)]&&(_0x5baa49[_0x28c8d(0x2f2)](_0x28c8d(0x48b),_0xe4caa3),_0x5baa49[_0x28c8d(0x2f2)](_0x28c8d(0x627),_0xe4caa3),_0x5baa49[_0x28c8d(0x2f2)]('touchend',function(_0x1f0480){const _0x34dacd=_0x28c8d;_0x1f0480[_0x34dacd(0x294)]();}),_0x5baa49['style'][_0x28c8d(0x58c)]='rgba(0,\x200,\x200,\x200)'),_0x5baa49[_0x28c8d(0x2f2)](_0x28c8d(0x295),function _0x186066(){const _0x2e76f6=_0x28c8d;_0x5baa49[_0x2e76f6(0x213)](_0x2e76f6(0x295),_0x186066),_0x5baa49[_0x2e76f6(0x213)](_0x2e76f6(0x499),_0x459ffe),_0x5baa49[_0x2e76f6(0x213)](_0x2e76f6(0x48b),_0xe4caa3),_0x2c2ac6=void 0x0;});}_0xda4668=0x0;let _0xe4766d,_0x55c5cb,_0x45aaa7=!![];if(!_0x56fd78[_0x28c8d(0x564)])_0xe4766d=function(_0x379571){_0x379571();},_0x55c5cb=function(){_0x45aaa7=![];};else _0x56fd78[_0x28c8d(0x257)]!==0x0?(_0xe4766d=window['setTimeout'],_0x55c5cb=window[_0x28c8d(0x261)]):(_0xe4766d=window['setImmediate'],_0x55c5cb=window[_0x28c8d(0x349)]);const _0x460463=function _0x3233b5(_0x2896c8,_0x3b829a){const _0x4de09b=_0x28c8d;_0x8c48e9[_0x4de09b(0x42f)](function(_0x32dda4){const _0x238ebd=_0x4de09b;_0x32dda4[_0x238ebd(0x2f2)](_0x2896c8,_0x3b829a);},this);},_0x21766f=function _0x2f16ac(_0x1dd48b,_0x46f688){const _0x53a7ed=_0x28c8d;_0x8c48e9[_0x53a7ed(0x42f)](function(_0x55cfbe){const _0x3a80a4=_0x53a7ed;_0x55cfbe[_0x3a80a4(0x213)](_0x1dd48b,_0x46f688);},this);},_0x42ed09=function _0x5e96c8(){const _0x383923=_0x28c8d;_0x21766f(_0x383923(0x295),_0x5e96c8),_0x55c5cb(timer[_0x5735ed]);};_0x460463('wordcloudstart',_0x42ed09),timer[_0x5735ed]=(_0x56fd78['layoutAnimation']?_0xe4766d:setTimeout)(function _0x3f26ba(){const _0x14fd30=_0x28c8d;if(!_0x45aaa7)return;if(_0xda4668>=_0x56fd78[_0x14fd30(0x54b)][_0x14fd30(0x3db)]){_0x55c5cb(timer[_0x5735ed]),_0x3492aa(_0x14fd30(0x3ee),![]),_0x21766f(_0x14fd30(0x295),_0x42ed09),delete timer[_0x5735ed];return;}_0x51abda=new Date()[_0x14fd30(0x282)]();const _0x590a92=_0x570527(_0x56fd78[_0x14fd30(0x54b)][_0xda4668],0x0),_0x54f46c=!_0x3492aa('wordclouddrawn',!![],{'item':_0x56fd78[_0x14fd30(0x54b)][_0xda4668],'drawn':_0x590a92});if(_0x5cd569()||_0x54f46c){_0x55c5cb(timer[_0x5735ed]),_0x56fd78['abort'](),_0x3492aa('wordcloudabort',![]),_0x3492aa(_0x14fd30(0x3ee),![]),_0x21766f(_0x14fd30(0x295),_0x42ed09);return;}_0xda4668++,timer[_0x5735ed]=_0xe4766d(_0x3f26ba,_0x56fd78[_0x14fd30(0x257)]);},_0x56fd78[_0x28c8d(0x257)]);}());};WordCloud[_0x5db780(0x2ef)]=isSupported,WordCloud[_0x5db780(0x56d)]=minFontSize;function registerWordCloud(_0x5abb3c){const _0xdcc0d2=_0x5db780;if(!WordCloud[_0xdcc0d2(0x2ef)])throw new Error(_0xdcc0d2(0x40c));function _0x868c37(_0x2e1bd1){const _0x2ff028=_0xdcc0d2,_0x4a27bf=_0x2e1bd1[_0x2ff028(0x3ef)]('2d'),_0x1839e3=_0x4a27bf[_0x2ff028(0x5df)](0x0,0x0,_0x2e1bd1[_0x2ff028(0x292)],_0x2e1bd1[_0x2ff028(0x296)]),_0x49dafe=_0x4a27bf['createImageData'](_0x1839e3);let _0x576013=0x0,_0x4b4bde=0x0;for(let _0x51073c=0x0;_0x51073c<_0x1839e3[_0x2ff028(0x273)][_0x2ff028(0x3db)];_0x51073c+=0x4)if(_0x1839e3[_0x2ff028(0x273)][_0x51073c+0x3]>0x80){const _0x5aae96=_0x1839e3[_0x2ff028(0x273)][_0x51073c]+_0x1839e3['data'][_0x51073c+0x1]+_0x1839e3[_0x2ff028(0x273)][_0x51073c+0x2];_0x576013+=_0x5aae96,++_0x4b4bde;}const _0x297170=_0x576013/_0x4b4bde;for(let _0x1bf874=0x0;_0x1bf874<_0x1839e3[_0x2ff028(0x273)][_0x2ff028(0x3db)];_0x1bf874+=0x4){const _0x176e62=_0x1839e3['data'][_0x1bf874]+_0x1839e3[_0x2ff028(0x273)][_0x1bf874+0x1]+_0x1839e3[_0x2ff028(0x273)][_0x1bf874+0x2];_0x1839e3[_0x2ff028(0x273)][_0x1bf874+0x3]<0x80||_0x176e62>_0x297170?(_0x49dafe['data'][_0x1bf874]=0x0,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x1]=0x0,_0x49dafe['data'][_0x1bf874+0x2]=0x0,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x3]=0x0):(_0x49dafe[_0x2ff028(0x273)][_0x1bf874]=0xff,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x1]=0xff,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x2]=0xff,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x3]=0xff);}_0x4a27bf['putImageData'](_0x49dafe,0x0,0x0);}_0x5abb3c[_0xdcc0d2(0x490)](function(_0x292905,_0x21bba3){const _0x17284d=_0xdcc0d2;_0x292905[_0x17284d(0x345)]('wordCloud',function(_0x2cab11){const _0x249f59=_0x17284d,_0x43a1a9=_0x5abb3c[_0x249f59(0x470)][_0x249f59(0x616)](_0x2cab11[_0x249f59(0x207)](),{'width':_0x21bba3[_0x249f59(0x21d)](),'height':_0x21bba3['getHeight']()}),_0x89f50b=_0x2cab11['get'](_0x249f59(0x5e1)),_0x1aecf1=_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x53b)),_0x245a0c=_0x1aecf1?_0x1aecf1[_0x249f59(0x292)]/_0x1aecf1[_0x249f59(0x296)]:0x1;_0x89f50b&&_0x394060(_0x43a1a9,_0x245a0c);const _0x2971d9=_0x2cab11[_0x249f59(0x2d3)](),_0x51e88d=document['createElement']('canvas');_0x51e88d[_0x249f59(0x292)]=_0x43a1a9[_0x249f59(0x292)],_0x51e88d[_0x249f59(0x296)]=_0x43a1a9[_0x249f59(0x296)];const _0x501260=_0x51e88d[_0x249f59(0x3ef)]('2d');if(_0x1aecf1&&_0x501260)try{_0x501260[_0x249f59(0x57a)](_0x1aecf1,0x0,0x0,_0x51e88d['width'],_0x51e88d[_0x249f59(0x296)]),_0x868c37(_0x51e88d);}catch(_0x3b50d8){console[_0x249f59(0x40e)]('Invalid\x20mask\x20image'),console[_0x249f59(0x40e)](_0x3b50d8['toString']());}const _0x509372=_0x2cab11[_0x249f59(0x49e)]('sizeRange'),_0x373509=_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x208)),_0x178ced=_0x2971d9['getDataExtent']('value'),_0x58e0ab=Math['PI']/0xb4,_0x1d50ed=_0x2cab11['get'](_0x249f59(0x19f));WordCloud(_0x51e88d,{'list':_0x2971d9['mapArray'](_0x249f59(0x1f4),function(_0x473ec4,_0x5b3438){const _0x57b804=_0x249f59,_0x9fc6dd=_0x2971d9[_0x57b804(0x2d6)](_0x5b3438);return[_0x2971d9[_0x57b804(0x3a4)](_0x5b3438),_0x9fc6dd[_0x57b804(0x49e)](_0x57b804(0x5b9),!![])||_0x5abb3c[_0x57b804(0x467)][_0x57b804(0x201)](_0x473ec4,_0x178ced,_0x509372),_0x5b3438];})[_0x249f59(0x419)](function(_0x4912d2,_0x409fb9){return _0x409fb9[0x1]-_0x4912d2[0x1];}),'fontFamily':_0x2cab11[_0x249f59(0x49e)]('textStyle.fontFamily')||_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x29d))||_0x292905[_0x249f59(0x49e)]('textStyle.fontFamily'),'fontWeight':_0x2cab11['get']('textStyle.fontWeight')||_0x2cab11[_0x249f59(0x49e)]('emphasis.textStyle.fontWeight')||_0x292905['get'](_0x249f59(0x50c)),'gridSize':_0x1d50ed,'ellipticity':_0x43a1a9[_0x249f59(0x296)]/_0x43a1a9[_0x249f59(0x292)],'minRotation':_0x373509[0x0]*_0x58e0ab,'maxRotation':_0x373509[0x1]*_0x58e0ab,'clearCanvas':!_0x1aecf1,'rotateRatio':0x1,'rotationStep':_0x2cab11[_0x249f59(0x49e)]('rotationStep')*_0x58e0ab,'drawOutOfBound':_0x2cab11['get']('drawOutOfBound'),'shrinkToFit':_0x2cab11['get'](_0x249f59(0x1b0)),'layoutAnimation':_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x564)),'shuffle':![],'shape':_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x476))});function _0x3f4ff9(_0x187c32){const _0x60666=_0x249f59,_0x55f61d=_0x187c32[_0x60666(0x353)][_0x60666(0x3fa)];_0x187c32[_0x60666(0x353)][_0x60666(0x4c5)]&&_0x2cab11[_0x60666(0x5c1)]['ondraw']&&(_0x187c32['detail'][_0x60666(0x4c5)]['gx']+=_0x43a1a9['x']/_0x1d50ed,_0x187c32[_0x60666(0x353)][_0x60666(0x4c5)]['gy']+=_0x43a1a9['y']/_0x1d50ed,_0x2cab11[_0x60666(0x5c1)][_0x60666(0x267)](_0x55f61d[0x0],_0x55f61d[0x1],_0x55f61d[0x2],_0x187c32[_0x60666(0x353)][_0x60666(0x4c5)]));}_0x51e88d[_0x249f59(0x2f2)](_0x249f59(0x259),_0x3f4ff9);if(_0x2cab11[_0x249f59(0x5c1)])_0x2cab11['layoutInstance'][_0x249f59(0x38b)]();_0x2cab11[_0x249f59(0x5c1)]={'ondraw':null,'dispose'(){const _0x1ba161=_0x249f59;_0x51e88d[_0x1ba161(0x213)]('wordclouddrawn',_0x3f4ff9),_0x51e88d[_0x1ba161(0x2f2)](_0x1ba161(0x259),function(_0x3df092){const _0x70a429=_0x1ba161;_0x3df092[_0x70a429(0x294)]();});}};});}),_0x5abb3c[_0xdcc0d2(0x406)](function(_0x4e3c42){const _0xc50cb2=_0xdcc0d2;let _0x2a3346=(_0x4e3c42||{})[_0xc50cb2(0x511)];!_0x5abb3c[_0xc50cb2(0x218)][_0xc50cb2(0x204)](_0x2a3346)&&(_0x2a3346=_0x2a3346?[_0x2a3346]:[]);const _0x25457e=[_0xc50cb2(0x31d),'shadowBlur',_0xc50cb2(0x202),'shadowOffsetY'];_0x5abb3c['util']['each'](_0x2a3346,function(_0x5586ea){const _0x5260a4=_0xc50cb2;if(_0x5586ea&&_0x5586ea['type']===_0x5260a4(0x351)){const _0x3463d6=_0x5586ea['textStyle']||{};_0x4cc8a4(_0x3463d6['normal']),_0x4cc8a4(_0x3463d6[_0x5260a4(0x385)]);}});function _0x4cc8a4(_0x2b5f8f){const _0xf79b46=_0xc50cb2;_0x2b5f8f&&_0x5abb3c[_0xf79b46(0x218)]['each'](_0x25457e,function(_0x38f2b6){const _0x417321=_0xf79b46;if(Object['prototype'][_0x417321(0x340)][_0x417321(0x58a)](_0x2b5f8f,_0x38f2b6))_0x2b5f8f['text'+_0x5abb3c[_0x417321(0x1cf)][_0x417321(0x4fc)](_0x38f2b6)]=_0x2b5f8f[_0x38f2b6];});}});function _0x394060(_0x1c451c,_0x38ce81){const _0x4aef9d=_0xdcc0d2,_0x319dcb=_0x1c451c[_0x4aef9d(0x292)],_0x2016a4=_0x1c451c[_0x4aef9d(0x296)];_0x319dcb>_0x2016a4*_0x38ce81?(_0x1c451c['x']+=(_0x319dcb-_0x2016a4*_0x38ce81)/0x2,_0x1c451c[_0x4aef9d(0x292)]=_0x2016a4*_0x38ce81):(_0x1c451c['y']+=(_0x2016a4-_0x319dcb/_0x38ce81)/0x2,_0x1c451c[_0x4aef9d(0x296)]=_0x319dcb/_0x38ce81);}_0x5abb3c[_0xdcc0d2(0x645)]({'type':'series.wordCloud','visualStyleAccessPath':_0xdcc0d2(0x448),'visualStyleMapper'(_0x1b2811){const _0x158593=_0xdcc0d2;return{'fill':_0x1b2811['get'](_0x158593(0x1e1))};},'visualDrawType':_0xdcc0d2(0x359),'optionUpdated'(){const _0x4d5e44=_0xdcc0d2,_0x1b424a=this['option'];_0x1b424a[_0x4d5e44(0x19f)]=Math[_0x4d5e44(0x1e5)](Math['floor'](_0x1b424a[_0x4d5e44(0x19f)]),0x4);},'getInitialData'(_0xda705e){const _0x1859be=_0xdcc0d2,_0x1bd3b2=_0x5abb3c[_0x1859be(0x470)][_0x1859be(0x3ab)](_0xda705e[_0x1859be(0x273)],{'coordDimensions':[_0x1859be(0x1f4)]}),_0x493d5d=new _0x5abb3c[(_0x1859be(0x38a))](_0x1bd3b2,this);return _0x493d5d[_0x1859be(0x5e7)](_0xda705e['data']),_0x493d5d;},'defaultOption':{'maskImage':null,'shape':_0xdcc0d2(0x5e6),'keepAspect':![],'left':'center','top':_0xdcc0d2(0x4d7),'width':_0xdcc0d2(0x3eb),'height':_0xdcc0d2(0x608),'sizeRange':[0xc,0x3c],'rotationRange':[-0x5a,0x5a],'rotationStep':0x2d,'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'textStyle':{'fontWeight':'normal'}}}),_0x5abb3c['extendChartView']({'type':_0xdcc0d2(0x351),'render'(_0x39c422){const _0x3da856=_0xdcc0d2,_0x56e8e2=this['group'];_0x56e8e2[_0x3da856(0x2f6)]();const _0x3ed032=_0x39c422['getData'](),_0x5f6bba=_0x39c422[_0x3da856(0x49e)](_0x3da856(0x19f));_0x39c422[_0x3da856(0x5c1)][_0x3da856(0x267)]=function(_0x2648a1,_0x35aafe,_0x26a350,_0x4ef087){const _0x41703e=_0x3da856,_0x2d1640=_0x3ed032['getItemModel'](_0x26a350),_0xa86202=_0x2d1640['getModel']('textStyle'),_0x5a3336=new _0x5abb3c['graphic'][(_0x41703e(0x2f5))]({'style':_0x5abb3c[_0x41703e(0x470)][_0x41703e(0x411)](_0xa86202),'scaleX':0x1/_0x4ef087['info']['mu'],'scaleY':0x1/_0x4ef087[_0x41703e(0x2eb)]['mu'],'x':(_0x4ef087['gx']+_0x4ef087['info']['gw']/0x2)*_0x5f6bba,'y':(_0x4ef087['gy']+_0x4ef087[_0x41703e(0x2eb)]['gh']/0x2)*_0x5f6bba,'rotation':_0x4ef087['rot']});_0x5a3336[_0x41703e(0x19b)]({'x':_0x4ef087['info'][_0x41703e(0x46d)],'y':_0x4ef087[_0x41703e(0x2eb)][_0x41703e(0x613)]+_0x35aafe*0.5,'text':_0x2648a1,'verticalAlign':_0x41703e(0x3dd),'fill':_0x3ed032[_0x41703e(0x611)](_0x26a350,'style')[_0x41703e(0x359)],'fontSize':_0x35aafe}),_0x56e8e2[_0x41703e(0x5cc)](_0x5a3336),_0x3ed032[_0x41703e(0x283)](_0x26a350,_0x5a3336),_0x5a3336['ensureState'](_0x41703e(0x385))[_0x41703e(0x26a)]=_0x5abb3c[_0x41703e(0x470)]['createTextStyle'](_0x2d1640['getModel'](['emphasis','textStyle']),{'state':_0x41703e(0x385)}),_0x5a3336[_0x41703e(0x3a9)]('blur')[_0x41703e(0x26a)]=_0x5abb3c[_0x41703e(0x470)]['createTextStyle'](_0x2d1640['getModel'](['blur',_0x41703e(0x448)]),{'state':_0x41703e(0x287)}),_0x5abb3c[_0x41703e(0x470)][_0x41703e(0x217)](_0x5a3336,_0x2d1640['get']([_0x41703e(0x385),_0x41703e(0x381)]),_0x2d1640[_0x41703e(0x49e)](['emphasis',_0x41703e(0x1db)])),_0x5a3336[_0x41703e(0x230)]={'duration':_0x39c422[_0x41703e(0x49e)](_0x41703e(0x513))?_0x39c422[_0x41703e(0x49e)]([_0x41703e(0x2e2),'duration']):0x0,'easing':_0x39c422[_0x41703e(0x49e)]([_0x41703e(0x2e2),_0x41703e(0x1a9)])},_0x5a3336[_0x41703e(0x280)]=!![];},this[_0x3da856(0x5d7)]=_0x39c422;},'remove'(){const _0x3a560e=_0xdcc0d2;this[_0x3a560e(0x43a)]['removeAll'](),this[_0x3a560e(0x5d7)]['layoutInstance'][_0x3a560e(0x38b)]();},'dispose'(){const _0x1bd429=_0xdcc0d2;this[_0x1bd429(0x5d7)][_0x1bd429(0x5c1)][_0x1bd429(0x38b)]();}});}function _0x3299(_0xa0e4f3,_0x27a0a8){_0xa0e4f3=_0xa0e4f3-0x194;const _0x3cbbca=_0x3cbb();let _0x329973=_0x3cbbca[_0xa0e4f3];return _0x329973;}let UniverSheetsChartUIPlugin=class UniverSheetsChartUIPlugin extends _univerjs_core['Plugin']{constructor(_0x2d1437,_0x1c5c64,_0x3bf4cc){const _0x31c6b0=_0x5db780;super(),this['_config']=_0x2d1437,this[_0x31c6b0(0x4bd)]=_0x1c5c64,this[_0x31c6b0(0x37c)]=_0x3bf4cc,this[_0x31c6b0(0x47b)](),registerWordCloud(_univerjs_pro_engine_chart[_0x31c6b0(0x502)]);}[_0x5db780(0x534)](){const _0x275c5d=_0x5db780,_0x1ced2c=this[_0x275c5d(0x4bd)];[[SheetsChartUIService],[IChartHostProviderService,{'useClass':SheetsChartHostProviderService}],[ChartRenderService],[SheetsChartUIController],[ChartHostProviderController],[ChartRenderController],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]][_0x275c5d(0x42f)](_0x2b42f2=>_0x1ced2c[_0x275c5d(0x5cc)](_0x2b42f2)),(0x0,_univerjs_core[_0x275c5d(0x4bc)])(this[_0x275c5d(0x4bd)],[[SheetsChartUIController],[ChartRenderController],[ChartHostProviderController],[SheetsChartUIService],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]]);}[_0x5db780(0x5f3)](){const _0x507ef8=_0x5db780;var _0x2148b8;(_0x2148b8=this[_0x507ef8(0x4bd)][_0x507ef8(0x49e)](SheetsChartUIController))===null||_0x2148b8===void 0x0||_0x2148b8[_0x507ef8(0x23c)]();}['_initCommands'](){const _0x5c5178=_0x5db780;[MenuInsertChartCommand,ChartOpenPanelOperation,ChartHidePanelOperation][_0x5c5178(0x42f)](_0x2648bb=>this[_0x5c5178(0x618)](this[_0x5c5178(0x37c)][_0x5c5178(0x206)](_0x2648bb)));}};_defineProperty(UniverSheetsChartUIPlugin,_0x5db780(0x582),_univerjs_core[_0x5db780(0x5db)]['UNIVER_SHEET']),_defineProperty(UniverSheetsChartUIPlugin,_0x5db780(0x20c),_0x5db780(0x4c2)),_defineProperty(UniverSheetsChartUIPlugin,_0x5db780(0x1ff),name),_defineProperty(UniverSheetsChartUIPlugin,'version',version),UniverSheetsChartUIPlugin=__decorate([(0x0,_univerjs_core[_0x5db780(0x44b)])(_univerjs_sheets_drawing_ui['UniverSheetsDrawingUIPlugin'],_univerjs_pro_sheets_chart[_0x5db780(0x1d7)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x29c)])),__decorateParam(0x2,_univerjs_core['ICommandService'])],UniverSheetsChartUIPlugin),Object[_0x5db780(0x322)](exports,_0x5db780(0x4ee),{'enumerable':!![],'get':function(){return SheetsChartUIController;}}),Object[_0x5db780(0x322)](exports,_0x5db780(0x4f7),{'enumerable':!![],'get':function(){return SheetsChartUIService;}}),Object[_0x5db780(0x322)](exports,'UniverSheetsChartUIPlugin',{'enumerable':!![],'get':function(){return UniverSheetsChartUIPlugin;}}),exports[_0x5db780(0x474)]=registerWordCloud;