@univerjs-pro/sheets-chart-ui 0.20.0 → 0.20.1-insiders.20260418-3a69981

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 (54) 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/types/controllers/sheets-chart-ui-permission.controller.d.ts +11 -0
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/sk-SK.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +18 -18
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5d1961=_0x484a;(function(_0x2d927d,_0x16df72){const _0x204ceb=_0x484a,_0x4ca844=_0x2d927d();while(!![]){try{const _0x5ed308=parseInt(_0x204ceb(0x492))/0x1+-parseInt(_0x204ceb(0x66d))/0x2+parseInt(_0x204ceb(0x59d))/0x3+-parseInt(_0x204ceb(0x3d6))/0x4*(parseInt(_0x204ceb(0x66a))/0x5)+parseInt(_0x204ceb(0x5aa))/0x6*(parseInt(_0x204ceb(0x629))/0x7)+parseInt(_0x204ceb(0x399))/0x8*(parseInt(_0x204ceb(0x407))/0x9)+-parseInt(_0x204ceb(0x46c))/0xa*(parseInt(_0x204ceb(0x52c))/0xb);if(_0x5ed308===_0x16df72)break;else _0x4ca844['push'](_0x4ca844['shift']());}catch(_0x4d5f0d){_0x4ca844['push'](_0x4ca844['shift']());}}}(_0x5d6c,0x463ff),Object[_0x5d1961(0x26b)](exports,Symbol[_0x5d1961(0x2b0)],{'value':_0x5d1961(0x61c)}));let e=require(`@univerjs-pro/sheets-chart`),t=require(`@univerjs/core`),n=require(`@univerjs/drawing`),r=require(`@univerjs/icons`),i=require(`@univerjs/sheets-drawing`),a=require(`@univerjs/sheets-ui`),o=require(`@univerjs/ui`),s=require(`@univerjs-pro/engine-chart`),c=require(`rxjs`),l=require(`@univerjs/engine-render`),u=require(`@univerjs/sheets-drawing-ui`),d=require(`@univerjs/design`),f=require(`react`),p=require(`@univerjs/engine-formula`),m=require(`@univerjs/sheets-formula-ui`),h=require(`react/jsx-runtime`),g=require(`@univerjs/sheets`);const _={'type':t[_0x5d1961(0x550)][_0x5d1961(0x5d9)],'id':_0x5d1961(0x3bc),'handler'(){return!0x0;}},v={'type':t[_0x5d1961(0x550)]['OPERATION'],'id':_0x5d1961(0x485),'handler'(){return!0x0;}};function y(_0x80341c){'@babel/helpers - typeof';const _0x1da575=_0x5d1961;return y=typeof Symbol=='function'&&typeof Symbol[_0x1da575(0x5fe)]==_0x1da575(0x58e)?function(_0x21f0b2){return typeof _0x21f0b2;}:function(_0x1316cd){const _0xbb53b1=_0x1da575;return _0x1316cd&&typeof Symbol==_0xbb53b1(0x5e6)&&_0x1316cd[_0xbb53b1(0x40e)]===Symbol&&_0x1316cd!==Symbol[_0xbb53b1(0x53e)]?_0xbb53b1(0x58e):typeof _0x1316cd;},y(_0x80341c);}function b(_0x54581c,_0x474396){const _0x19f251=_0x5d1961;if(y(_0x54581c)!=_0x19f251(0x3d8)||!_0x54581c)return _0x54581c;var _0x1b907a=_0x54581c[Symbol[_0x19f251(0x232)]];if(_0x1b907a!==void 0x0){var _0x2aa177=_0x1b907a[_0x19f251(0x298)](_0x54581c,_0x474396||'default');if(y(_0x2aa177)!=_0x19f251(0x3d8))return _0x2aa177;throw TypeError(_0x19f251(0x63d));}return(_0x474396===_0x19f251(0x3e1)?String:Number)(_0x54581c);}function x(_0x577c75){const _0x4f335e=_0x5d1961;var _0x187458=b(_0x577c75,_0x4f335e(0x3e1));return y(_0x187458)==_0x4f335e(0x58e)?_0x187458:_0x187458+'';}function S(_0x4908c5,_0x6b5c77,_0x3b78be){const _0x23d826=_0x5d1961;return(_0x6b5c77=x(_0x6b5c77))in _0x4908c5?Object[_0x23d826(0x26b)](_0x4908c5,_0x6b5c77,{'value':_0x3b78be,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4908c5[_0x6b5c77]=_0x3b78be,_0x4908c5;}function C(_0x2c9f0b,_0x56a3df){return function(_0x1336d5,_0x4cd30a){_0x56a3df(_0x1336d5,_0x4cd30a,_0x2c9f0b);};}function w(_0x33f5e2,_0x4ff6fe,_0x350931,_0x2776cc){const _0x4de728=_0x5d1961;var _0x1c61b6=arguments[_0x4de728(0x644)],_0x4d73a9=_0x1c61b6<0x3?_0x4ff6fe:_0x2776cc===null?_0x2776cc=Object[_0x4de728(0x2e5)](_0x4ff6fe,_0x350931):_0x2776cc,_0x1f8e15;if(typeof Reflect=='object'&&typeof Reflect[_0x4de728(0x594)]==_0x4de728(0x5e6))_0x4d73a9=Reflect['decorate'](_0x33f5e2,_0x4ff6fe,_0x350931,_0x2776cc);else{for(var _0x34485a=_0x33f5e2[_0x4de728(0x644)]-0x1;_0x34485a>=0x0;_0x34485a--)(_0x1f8e15=_0x33f5e2[_0x34485a])&&(_0x4d73a9=(_0x1c61b6<0x3?_0x1f8e15(_0x4d73a9):_0x1c61b6>0x3?_0x1f8e15(_0x4ff6fe,_0x350931,_0x4d73a9):_0x1f8e15(_0x4ff6fe,_0x350931))||_0x4d73a9);}return _0x1c61b6>0x3&&_0x4d73a9&&Object[_0x4de728(0x26b)](_0x4ff6fe,_0x350931,_0x4d73a9),_0x4d73a9;}function T(_0x553f16){return new Promise(_0x5d1057=>{const _0x2d0ae6=_0x484a;let _0x2adf2c=setInterval(()=>{let _0x646e5e=document['getElementById'](_0x553f16);_0x646e5e&&(clearInterval(_0x2adf2c),_0x5d1057(_0x646e5e));},0x3e8/0x3c),_0xef9129=document[_0x2d0ae6(0x3db)](_0x553f16);_0xef9129&&(clearInterval(_0x2adf2c),_0x5d1057(_0xef9129));});}function E(_0x267aca,_0x2a9d9e){const _0x2243c0=_0x5d1961;let _0x2c800a=document[_0x2243c0(0x45e)](_0x2243c0(0x3aa));return _0x2c800a[_0x2243c0(0x4fa)]['width']=_0x267aca-0x10+'px',_0x2c800a['style'][_0x2243c0(0x283)]=_0x2a9d9e-0x10+'px',_0x2c800a[_0x2243c0(0x4fa)][_0x2243c0(0x475)]=_0x2243c0(0x2fe),_0x2c800a[_0x2243c0(0x4fa)][_0x2243c0(0x478)]=_0x2243c0(0x59a),_0x2c800a[_0x2243c0(0x4fa)][_0x2243c0(0x424)]=_0x2243c0(0x443),_0x2c800a[_0x2243c0(0x4fa)][_0x2243c0(0x648)]=_0x2243c0(0x443),_0x2c800a[_0x2243c0(0x4fa)][_0x2243c0(0x2d2)]=_0x2243c0(0x420),_0x2c800a[_0x2243c0(0x372)]=_0x2243c0(0x3d2),_0x2c800a;}let D=class extends t['Disposable']{constructor(_0x132a70,_0x1e30ab){const _0x4b67d6=_0x5d1961;super(),this[_0x4b67d6(0x225)]=_0x132a70,this[_0x4b67d6(0x356)]=_0x1e30ab,S(this,'_mountNodes',new Map()),S(this,_0x4b67d6(0x630),new c['Subject']()),S(this,_0x4b67d6(0x456),this[_0x4b67d6(0x630)]['asObservable']());}[_0x5d1961(0x2e9)](_0x354532){const _0x64160c=_0x5d1961;if(_0x354532==null)return;let _0x1bab23=this[_0x64160c(0x356)][_0x64160c(0x1bf)](_0x354532),_0x2d22e4=_0x1bab23==null?void 0x0:_0x1bab23['scene'];return _0x1bab23==null||_0x2d22e4==null?null:{'scene':_0x2d22e4,'transformer':_0x2d22e4[_0x64160c(0x2fd)](),'renderUnit':_0x1bab23,'canvas':_0x1bab23['engine'][_0x64160c(0x4ad)]()};}[_0x5d1961(0x2ae)](_0x5ecd6c,_0x1e2f7b){const _0x32b6a6=_0x5d1961;let _0x4ea594=this[_0x32b6a6(0x225)],_0x3323ae=_0x1e2f7b||_0x32b6a6(0x4b5),_0x47babc=_0x4ea594['getFloatDomInfo'](_0x5ecd6c);if(_0x47babc){let {unitId:_0x408ae3,subUnitId:_0xa73d3d}=_0x47babc;_0x4ea594['updateFloatDomProps'](_0x408ae3,_0xa73d3d,_0x5ecd6c,{'stroke':_0x3323ae});}}[_0x5d1961(0x3dc)](_0x12308c,_0x5e3cd6){let _0x23f0ba=this['_sheetCanvasFloatDomManagerService'],_0x59ed97=_0x23f0ba['getFloatDomInfo'](_0x12308c);if(_0x59ed97){let {unitId:_0x4d4eaa,subUnitId:_0x2b3a46}=_0x59ed97;_0x23f0ba['updateFloatDomProps'](_0x4d4eaa,_0x2b3a46,_0x12308c,_0x5e3cd6);}}[_0x5d1961(0x602)](_0x16feda){const _0x45a9ad=_0x5d1961;let _0x149730=this[_0x45a9ad(0x225)][_0x45a9ad(0x297)](_0x16feda);return _0x149730?_0x149730['rect']:null;}['checkHost'](_0x184165){const _0x513768=_0x5d1961;let _0x22b0af=this[_0x513768(0x225)][_0x513768(0x297)](_0x184165);if(_0x22b0af){var _0x4ed502;let _0x2017ee=(_0x4ed502=_0x22b0af[_0x513768(0x397)])==null?_0x184165:_0x4ed502,_0x2c8dcd=document[_0x513768(0x3db)](_0x2017ee);if(_0x2c8dcd&&_0x2c8dcd['children'][_0x513768(0x644)]>0x0)return!0x0;}return!0x1;}async['ensureHost'](_0x182ed8){const _0x3f00a9=_0x5d1961;var _0x271ef3;let _0x3d46ae=this[_0x3f00a9(0x225)]['getFloatDomInfo'](_0x182ed8),_0x1aa515=(_0x271ef3=_0x3d46ae==null?void 0x0:_0x3d46ae[_0x3f00a9(0x397)])==null?_0x182ed8:_0x271ef3,_0x45bcd1=document[_0x3f00a9(0x3db)](_0x1aa515);return this[_0x3f00a9(0x332)][_0x3f00a9(0x55d)](_0x182ed8)&&_0x45bcd1&&_0x45bcd1[_0x3f00a9(0x3a6)][_0x3f00a9(0x644)]>0x0?{'mountNode':this[_0x3f00a9(0x332)][_0x3f00a9(0x39a)](_0x182ed8),'dispose':()=>{const _0x1a62e2=_0x3f00a9;this['_mountNodes'][_0x1a62e2(0x1fe)](_0x182ed8),_0x3d46ae==null||_0x3d46ae['dispose']['dispose']();}}:this[_0x3f00a9(0x201)](_0x182ed8);}async['_createHost'](_0x466954){const _0xe9b6c=_0x5d1961;let _0x5308be=this[_0xe9b6c(0x225)][_0xe9b6c(0x297)](_0x466954);if(_0x5308be){var _0x3a4d2d;let {rect:_0x3ca5a4}=_0x5308be,_0xc58386=_0x3ca5a4[_0xe9b6c(0x640)],_0x5ecc21=_0x3ca5a4[_0xe9b6c(0x283)],_0x204601=this['_getSceneAndTransformerByDrawingSearch'](_0x5308be[_0xe9b6c(0x273)]),_0x247968=0x1,_0x2d1725=0x1;if(_0x204601){let {scene:_0x1a4440}=_0x204601;_0x1a4440&&(_0x247968=_0x1a4440[_0xe9b6c(0x446)],_0x2d1725=_0x1a4440[_0xe9b6c(0x3b8)]);}let _0x24af73=E(_0xc58386*_0x247968,_0x5ecc21*_0x2d1725);return(await T((_0x3a4d2d=_0x5308be[_0xe9b6c(0x397)])==null?_0x466954:_0x3a4d2d))[_0xe9b6c(0x208)](_0x24af73),this[_0xe9b6c(0x332)]['set'](_0x466954,_0x24af73),this['disposeWithMe'](this[_0xe9b6c(0x225)]['remove$']['subscribe'](_0x13c6df=>{const _0x342030=_0xe9b6c;_0x13c6df['id']===_0x466954&&this[_0x342030(0x630)]['next'](_0x466954);})),{'mountNode':_0x24af73,'dispose':()=>{const _0xd58b0=_0xe9b6c;this[_0xd58b0(0x332)]['delete'](_0x466954),_0x5308be==null||_0x5308be[_0xd58b0(0x5e8)][_0xd58b0(0x5e8)]();}};}else throw this[_0xe9b6c(0x332)]['delete'](_0x466954),Error(_0xe9b6c(0x595));}};D=w([C(0x0,(0x0,t[_0x5d1961(0x4e8)])(u[_0x5d1961(0x3b3)])),C(0x1,(0x0,t[_0x5d1961(0x4e8)])(l[_0x5d1961(0x3ec)]))],D);const O=(0x0,t[_0x5d1961(0x580)])('chart.host.provider');function k(_0x16f532){const _0x5491c0=_0x5d1961;_0x16f532['registerViewState'](_0x5491c0(0x382),_0x456a22=>_0x456a22[_0x5491c0(0x56c)][_0x5491c0(0x5c2)]((0x0,c[_0x5491c0(0x2cf)])(_0x46b700=>_0x46b700[_0x5491c0(0x382)]))),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x4e6),_0x11fa41=>({'set'(_0x214e00){const _0x535f67=_0x5491c0;let _0x5c237f={};_0x214e00===s[_0x535f67(0x5bd)]['Pie']&&(_0x5c237f[_0x535f67(0x460)]={'doughnutHole':null}),_0x16f532[_0x535f67(0x5b9)]({'chartModelId':_0x11fa41['id'],'chartType':_0x214e00,'style':_0x5c237f});},'get'(){const _0x1f736a=_0x5491c0;return _0x11fa41[_0x1f736a(0x3a2)];}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x5b1),_0x5ca127=>({'set'(_0x55857e){const _0x1b20bc=_0x5491c0;_0x55857e&&_0x16f532[_0x1b20bc(0x3c8)]({'chartModelId':_0x5ca127['id'],'range':_0x55857e});},'get'(){const _0x3cfede=_0x5491c0;let _0x34e57d=_0x16f532[_0x3cfede(0x611)](_0x5ca127['id']);if(_0x34e57d)return _0x34e57d[_0x3cfede(0x3fc)];}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x2f2),_0x46048c=>({'set'(_0x11735){const _0x158ed2=_0x5491c0;typeof _0x11735==_0x158ed2(0x4cf)&&_0x16f532[_0x158ed2(0x5b9)]({'chartModelId':_0x46048c['id'],'context':{'categoryIndex':_0x11735}});},'get'(){const _0x29fa3b=_0x5491c0;return _0x46048c[_0x29fa3b(0x56c)][_0x29fa3b(0x5c2)]((0x0,c[_0x29fa3b(0x2cf)])(_0x3dcf4c=>_0x3dcf4c[_0x29fa3b(0x2f2)]),(0x0,c[_0x29fa3b(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)]('categoryType',_0xe959ba=>_0xe959ba[_0x5491c0(0x56c)]['pipe']((0x0,c[_0x5491c0(0x2cf)])(_0x9817b1=>_0x9817b1[_0x5491c0(0x5d8)]),(0x0,c['distinctUntilChanged'])())),_0x16f532[_0x5491c0(0x44e)]('bubbleCategoryList',_0x2f639a=>{const _0x2feb2c=_0x5491c0;var _0x4701e0;let _0x1532f2=(_0x4701e0=_0x16f532[_0x2feb2c(0x611)](_0x2f639a['id']))==null?void 0x0:_0x4701e0['rangeInfo$'];return _0x1532f2?_0x2f639a['context$'][_0x2feb2c(0x5c2)]((0x0,c[_0x2feb2c(0x322)])(_0x1532f2),(0x0,c[_0x2feb2c(0x2cf)])(([_0xb6e492,_0x28d338])=>{const _0xcc6000=_0x2feb2c;let {categoryResourceIndexes:_0x37ac54,headers:_0x1cc217}=_0xb6e492,_0x18e31a=(_0x37ac54||[])[_0xcc6000(0x2e4)]((_0x434619,_0x56adb9)=>(_0x434619||0x0)-(_0x56adb9||0x0));return!_0x18e31a||Array['isArray'](_0x28d338)?[]:_0x18e31a['map'](_0x37a449=>({'label':(_0x1cc217==null?void 0x0:_0x1cc217[_0x37a449])||_0x16f532['t'](_0xcc6000(0x3b1),''+(_0x37a449+0x1)),'value':String(_0x37a449)}));})):_0x2f639a[_0x2feb2c(0x56c)][_0x2feb2c(0x5c2)]((0x0,c['map'])(()=>[]));}),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x3e0),_0x124779=>{const _0x325eaf=_0x5491c0;var _0x585bca;let _0x444230=(_0x585bca=_0x16f532['getDataSource'](_0x124779['id']))==null?void 0x0:_0x585bca[_0x325eaf(0x3fc)];return _0x444230?_0x124779[_0x325eaf(0x56c)][_0x325eaf(0x5c2)]((0x0,c[_0x325eaf(0x322)])(_0x444230),(0x0,c[_0x325eaf(0x2cf)])(([_0xe97bdc,_0x175b5b])=>{const _0x49df7e=_0x325eaf;let {categoryResourceIndexes:_0x3ff4f0,seriesResourceIndexes:_0x569833,headers:_0x217759}=_0xe97bdc,_0x41e6fe=_0x3ff4f0==null?void 0x0:_0x3ff4f0[_0x49df7e(0x2de)](_0x569833||[])[_0x49df7e(0x2e4)]((_0x18c477,_0x4e6fac)=>(_0x18c477||0x0)-(_0x4e6fac||0x0));return!_0x41e6fe||Array[_0x49df7e(0x2be)](_0x175b5b)?[]:_0x41e6fe[_0x49df7e(0x2cf)](_0x3020da=>({'label':(_0x217759==null?void 0x0:_0x217759[_0x3020da])||_0x16f532['t'](_0x49df7e(0x3b1),''+(_0x3020da+0x1)),'value':String(_0x3020da)}));})):_0x124779['context$'][_0x325eaf(0x5c2)]((0x0,c[_0x325eaf(0x2cf)])(()=>[]));}),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x668),_0x286528=>({'set'(_0x19f866){const _0x63d82a=_0x5491c0;_0x16f532[_0x63d82a(0x5b9)]({'chartModelId':_0x286528['id'],'context':{'seriesIndexes':_0x19f866}});},'get'(){const _0x5f3844=_0x5491c0;return _0x286528['context$'][_0x5f3844(0x5c2)]((0x0,c[_0x5f3844(0x2cf)])(_0x3717b9=>{let {seriesIndexes:_0x2cb786=[]}=_0x3717b9;return _0x2cb786;}));}})),_0x16f532['registerViewState']('trendlineValues',_0x89d4fe=>({'set'(_0x364ad4){const _0x4119eb=_0x5491c0;_0x16f532[_0x4119eb(0x5b9)]({'chartModelId':_0x89d4fe['id'],'style':{'trendlines':_0x364ad4}});},'get'(){const _0x340335=_0x5491c0;return _0x89d4fe['style$'][_0x340335(0x5c2)]((0x0,c[_0x340335(0x2cf)])(_0x5ec7a8=>_0x5ec7a8[_0x340335(0x37e)]));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x2d5),_0x334a0d=>{const _0x5e86cd=_0x5491c0;var _0x2d68d0;let _0x4b0145=(_0x2d68d0=_0x16f532[_0x5e86cd(0x611)](_0x334a0d['id']))==null?void 0x0:_0x2d68d0[_0x5e86cd(0x3fc)];return _0x4b0145?_0x334a0d['context$'][_0x5e86cd(0x5c2)]((0x0,c['combineLatestWith'])(_0x4b0145),(0x0,c[_0x5e86cd(0x2cf)])(([_0x3e7a16,_0x489591])=>{const _0x31be7e=_0x5e86cd;let {seriesIndexes:_0x3e697e=[],headers:_0xc5970b}=_0x3e7a16;return Array[_0x31be7e(0x2be)](_0x489591)?[]:_0x3e697e[_0x31be7e(0x2cf)](_0x269c7d=>({'label':(_0xc5970b==null?void 0x0:_0xc5970b[_0x269c7d])||_0x16f532['t'](_0x31be7e(0x328),''+_0x269c7d),'value':String(_0x269c7d)}));})):_0x334a0d[_0x5e86cd(0x56c)][_0x5e86cd(0x5c2)]((0x0,c[_0x5e86cd(0x2cf)])(()=>[]));}),_0x16f532['registerViewState'](_0x5491c0(0x52e),_0x330941=>{const _0x43eb14=_0x5491c0;var _0x5f254c;let _0x2124ff=(_0x5f254c=_0x16f532[_0x43eb14(0x611)](_0x330941['id']))==null?void 0x0:_0x5f254c[_0x43eb14(0x3fc)];return _0x2124ff?_0x330941['context$'][_0x43eb14(0x5c2)]((0x0,c[_0x43eb14(0x322)])(_0x2124ff),(0x0,c[_0x43eb14(0x2cf)])(([_0x47ad8d,_0x26296e])=>{const _0x287ae2=_0x43eb14;let {seriesResourceIndexes:_0x437b51=[],headers:_0x1b2a19}=_0x47ad8d;if(Array[_0x287ae2(0x2be)](_0x26296e))return[];let _0x1d235c=new Map();return _0x437b51[_0x287ae2(0x2cf)](_0xf93b83=>{const _0x182066=_0x287ae2;let _0x1cbc1d=(_0x1b2a19==null?void 0x0:_0x1b2a19[_0xf93b83])||_0x16f532['t']('chart.seriesDefaultName',''+_0xf93b83);return _0x1d235c['has'](_0x1cbc1d)?_0x1d235c[_0x182066(0x34f)](_0x1cbc1d,_0x1d235c[_0x182066(0x39a)](_0x1cbc1d)+0x1):_0x1d235c['set'](_0x1cbc1d,0x0),{'label':(_0x1d235c['has'](_0x1cbc1d)&&_0x1d235c[_0x182066(0x39a)](_0x1cbc1d)>0x0?_0x1cbc1d+'\x20'+_0x1d235c['get'](_0x1cbc1d):_0x1cbc1d)||_0x16f532['t']('chart.seriesDefaultName',''+_0xf93b83),'value':String(_0xf93b83)};});})):_0x330941[_0x43eb14(0x56c)]['pipe']((0x0,c['map'])(()=>[]));}),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x2c0),_0x495167=>({'set'(_0x2ce34c){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x495167['id'],'dataAggregation':{'aggregate':_0x2ce34c}});},'get'(){const _0x479f2c=_0x5491c0;return _0x495167['dataAggregation$'][_0x479f2c(0x5c2)]((0x0,c[_0x479f2c(0x2cf)])(_0x584ab8=>_0x584ab8['aggregate']||!0x1),(0x0,c[_0x479f2c(0x2f3)])());}})),_0x16f532['registerViewState'](_0x5491c0(0x508),_0x4b9d05=>({'set'(_0x3e4a30){const _0x56836a=_0x5491c0;var _0x1c25a7;let _0x358ff4=(_0x1c25a7=_0x16f532['getDataSource'](_0x4b9d05['id']))==null?void 0x0:_0x1c25a7['getRangeInfo']();if(_0x358ff4){let _0x1e4e4a={..._0x358ff4,'isRowDirection':_0x3e4a30===s[_0x56836a(0x4e9)]['Row']};_0x16f532[_0x56836a(0x5b9)]({'chartModelId':_0x4b9d05['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x16f532['executeChartUpdateSourceConfig']({'chartModelId':_0x4b9d05['id'],'range':_0x1e4e4a});}},'get'(){const _0x2922f4=_0x5491c0;var _0x2315d8;return(_0x2315d8=_0x16f532[_0x2922f4(0x611)](_0x4b9d05['id']))==null?void 0x0:_0x2315d8[_0x2922f4(0x3fc)]['pipe']((0x0,c[_0x2922f4(0x2cf)])(_0x3f93d5=>_0x3f93d5['isRowDirection']?s[_0x2922f4(0x4e9)][_0x2922f4(0x5de)]:s['DataOrientation']['Column']),(0x0,c[_0x2922f4(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x51f),_0x94167b=>({'set'(_0x22e202){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x94167b['id'],'style':{'gradientFill':_0x22e202}});},'get'(){const _0x36cee4=_0x5491c0;return _0x94167b[_0x36cee4(0x599)]['pipe']((0x0,c[_0x36cee4(0x2cf)])(_0x138592=>_0x138592[_0x36cee4(0x51f)]),(0x0,c['distinctUntilChanged'])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x20c),_0x4f7695=>({'set'(_0x2e6b87){const _0x120aba=_0x5491c0;_0x16f532[_0x120aba(0x5b9)]({'chartModelId':_0x4f7695['id'],'style':{'tooltip':_0x2e6b87}});},'get'(){const _0x321024=_0x5491c0;return _0x4f7695[_0x321024(0x599)][_0x321024(0x5c2)]((0x0,c[_0x321024(0x2cf)])(_0x56b20d=>_0x56b20d['tooltip']),(0x0,c[_0x321024(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x60d),_0x5b3b84=>({'set'(_0x7f79f2){const _0x46b817=_0x5491c0;let {context:_0x264593}=_0x5b3b84,_0x558616=_0x381a44=>{var _0x547951;return((_0x547951=_0x264593['seriesResourceIndexes'])==null?void 0x0:_0x547951['indexOf'](_0x381a44))!==-0x1;};if(_0x7f79f2){var _0x452a62;let _0x6edffa=(_0x452a62=_0x264593['seriesIndexes'])==null?void 0x0:_0x452a62[0x0];if(_0x6edffa===void 0x0)return;let _0x300682={'categoryIndex':_0x6edffa,'categoryType':s[_0x46b817(0x519)][_0x46b817(0x1db)]};if(_0x558616(_0x6edffa)){var _0x53eba5;_0x300682[_0x46b817(0x2df)]=(_0x53eba5=_0x264593[_0x46b817(0x2df)])==null?void 0x0:_0x53eba5['filter'](_0x528c6c=>_0x528c6c!==_0x6edffa);}_0x16f532[_0x46b817(0x5b9)]({'chartModelId':_0x5b3b84['id'],'context':_0x300682});}else{if(_0x264593[_0x46b817(0x2f2)]===void 0x0)return;let _0x4e39af={'categoryIndex':void 0x0,'categoryType':void 0x0};_0x558616(_0x264593[_0x46b817(0x2f2)])&&(_0x4e39af[_0x46b817(0x2df)]=[_0x264593['categoryIndex']]['concat'](_0x264593[_0x46b817(0x2df)]||[])),_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x5b3b84['id'],'context':_0x4e39af});}},'get'(){const _0x57e78d=_0x5491c0;return _0x5b3b84[_0x57e78d(0x56c)][_0x57e78d(0x5c2)]((0x0,c['map'])(_0x2908d9=>{const _0x362afd=_0x57e78d;var _0x173d47;return _0x2908d9[_0x362afd(0x2f2)]===void 0x0?!0x1:!!((_0x173d47=_0x2908d9['seriesResourceIndexes'])!=null&&_0x173d47[_0x362afd(0x3bd)](_0x2908d9[_0x362afd(0x2f2)]));}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x624),_0x59d9db=>({'set'(_0x3bc4ec){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x59d9db['id'],'style':{'backgroundColor':_0x3bc4ec==null?null:_0x3bc4ec}});},'get'(){const _0x511ab0=_0x5491c0;return _0x59d9db[_0x511ab0(0x599)][_0x511ab0(0x5c2)]((0x0,c[_0x511ab0(0x2cf)])(_0x4bbd68=>_0x4bbd68==null?void 0x0:_0x4bbd68['backgroundColor']),(0x0,c[_0x511ab0(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)]('borderColor',_0x65323d=>({'set'(_0x27d900){const _0x54ce06=_0x5491c0;_0x16f532[_0x54ce06(0x5b9)]({'chartModelId':_0x65323d['id'],'style':{'borderColor':_0x27d900==null?null:_0x27d900}}),_0x16f532[_0x54ce06(0x2ae)](_0x65323d['id'],_0x27d900);},'get'(){const _0x462362=_0x5491c0;return _0x65323d[_0x462362(0x599)][_0x462362(0x5c2)]((0x0,c['map'])(_0x3f3354=>_0x3f3354[_0x462362(0x22b)]),(0x0,c[_0x462362(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x479),_0x1ca2f5=>({'set'(_0x14ee49){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x1ca2f5['id'],'style':{'fontSize':_0x14ee49}});},'get'(){const _0x42dfb6=_0x5491c0;return _0x1ca2f5[_0x42dfb6(0x599)]['pipe']((0x0,c[_0x42dfb6(0x2cf)])(_0x372b40=>_0x372b40[_0x42dfb6(0x479)]),(0x0,c[_0x42dfb6(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x341),_0x571733=>({'set'(_0xa1f613){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x571733['id'],'style':{'titleFontSize':_0xa1f613}});},'get'(){const _0x185a78=_0x5491c0;return _0x571733['style$'][_0x185a78(0x5c2)]((0x0,c[_0x185a78(0x2cf)])(_0x160c69=>_0x160c69[_0x185a78(0x341)]),(0x0,c[_0x185a78(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x51e),_0x46e7c3=>({'set'(_0x45a363){const _0x3e7ff9=_0x5491c0;_0x16f532[_0x3e7ff9(0x5b9)]({'chartModelId':_0x46e7c3['id'],'style':{'titles':_0x45a363}});},'get'(){const _0x2c03d6=_0x5491c0;return _0x46e7c3[_0x2c03d6(0x599)][_0x2c03d6(0x5c2)]((0x0,c['map'])(_0x20c00a=>_0x20c00a[_0x2c03d6(0x51e)]));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x34d),_0xac73e1=>({'set'(_0x4e5697){const _0xf78319=_0x5491c0;let _0x543200=Object[_0xf78319(0x4df)](_0x4e5697),_0x509f68=t[_0xf78319(0x54c)][_0xf78319(0x64b)](_0xac73e1['style']['seriesStyleMap']||{}),_0x3c1ee3={};for(let _0x570c2f in _0x509f68)if(_0x509f68[_0xf78319(0x444)](_0x570c2f)){let _0xdcb2a2=_0x509f68[_0x570c2f];if(!_0xdcb2a2)continue;for(let _0xde967f of _0x543200)_0xdcb2a2['hasOwnProperty'](_0xde967f)&&(_0x3c1ee3[_0x570c2f]={[_0xde967f]:null});}let _0x348970={'allSeriesStyle':_0x4e5697,'seriesStyleMap':_0x3c1ee3},_0x330f2b=_0xac73e1[_0xf78319(0x4e6)],_0x103551=new Set(_0x543200);_0x330f2b===s[_0xf78319(0x5bd)][_0xf78319(0x216)]&&(_0x103551[_0xf78319(0x55d)](_0xf78319(0x63b))||_0x103551[_0xf78319(0x55d)](_0xf78319(0x533)))&&(_0x348970['radar']={'fill':!0x0}),_0x16f532[_0xf78319(0x5b9)]({'chartModelId':_0xac73e1['id'],'style':_0x348970});},'get'(){const _0x37746f=_0x5491c0;return _0xac73e1['style$'][_0x37746f(0x5c2)]((0x0,c[_0x37746f(0x2cf)])(_0x3bf0db=>_0x3bf0db[_0x37746f(0x34d)]));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x3ba),_0x1a81c4=>({'set'(_0xbf50d4){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x1a81c4['id'],'style':{'seriesStyleMap':_0xbf50d4}});},'get'(){const _0x4202fa=_0x5491c0;return _0x1a81c4[_0x4202fa(0x599)]['pipe']((0x0,c[_0x4202fa(0x2cf)])(_0x2dc2fb=>_0x2dc2fb[_0x4202fa(0x3ba)]));}})),_0x16f532[_0x5491c0(0x44e)]('legendStyle',_0x710e8d=>({'set'(_0x10b0ec){const _0xd3e4e9=_0x5491c0;_0x16f532[_0xd3e4e9(0x5b9)]({'chartModelId':_0x710e8d['id'],'style':{'legend':_0x10b0ec}});},'get'(){const _0xe6f57c=_0x5491c0;return _0x710e8d['style$'][_0xe6f57c(0x5c2)]((0x0,c[_0xe6f57c(0x2cf)])(_0x54df1c=>_0x54df1c[_0xe6f57c(0x2c3)]));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x26a),_0x575591=>({'set'(_0x48f2d7){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x575591['id'],'style':{'xAxis':_0x48f2d7}});},'get'(){const _0x47cc07=_0x5491c0;return _0x575591[_0x47cc07(0x599)][_0x47cc07(0x5c2)]((0x0,c['map'])(_0x32ed5d=>_0x32ed5d[_0x47cc07(0x315)]));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x452),_0x230497=>({'set'(_0x5d3c85){const _0x464f6a=_0x5491c0;_0x16f532[_0x464f6a(0x5b9)]({'chartModelId':_0x230497['id'],'style':{'yAxis':_0x5d3c85}});},'get'(){const _0x35004a=_0x5491c0;return _0x230497[_0x35004a(0x599)]['pipe']((0x0,c[_0x35004a(0x2cf)])(_0x18ad63=>_0x18ad63[_0x35004a(0x589)]));}})),_0x16f532['registerViewState'](_0x5491c0(0x421),_0x45d882=>({'set'(_0x12048e){const _0x39159a=_0x5491c0;_0x16f532[_0x39159a(0x5b9)]({'chartModelId':_0x45d882['id'],'style':{'rightYAxis':_0x12048e}});},'get'(){const _0x18abc0=_0x5491c0;return _0x45d882[_0x18abc0(0x599)][_0x18abc0(0x5c2)]((0x0,c['map'])(_0x56834f=>_0x56834f[_0x18abc0(0x5f7)]));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x3fe),_0x56cb6f=>_0x56cb6f[_0x5491c0(0x599)]['pipe']((0x0,c['map'])(()=>_0x56cb6f[_0x5491c0(0x2ff)]()[_0x5491c0(0x251)]))),_0x16f532['registerViewState'](_0x5491c0(0x2a5),_0x4d5307=>({'set'(_0x580107){const _0x11450f=_0x5491c0;_0x16f532[_0x11450f(0x5b9)]({'chartModelId':_0x4d5307['id'],'style':{'area':{'lineStyle':_0x580107==null?void 0x0:_0x580107}}});},'get'(){const _0x31c22e=_0x5491c0;return _0x4d5307[_0x31c22e(0x599)][_0x31c22e(0x5c2)]((0x0,c['map'])(_0x5cf65c=>{const _0x1dff3b=_0x31c22e;var _0xdd562f;return(_0xdd562f=_0x5cf65c[_0x1dff3b(0x44f)])==null?void 0x0:_0xdd562f[_0x1dff3b(0x587)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x495),_0x40ef5b=>({'set'(_0x3c95c4){const _0xc1be3f=_0x5491c0;_0x16f532[_0xc1be3f(0x5b9)]({'chartModelId':_0x40ef5b['id'],'style':{'pie':{'labelStyle':_0x3c95c4==null?void 0x0:_0x3c95c4}}});},'get'(){const _0x1ae6e4=_0x5491c0;return _0x40ef5b[_0x1ae6e4(0x599)][_0x1ae6e4(0x5c2)]((0x0,c[_0x1ae6e4(0x2cf)])(_0x407b32=>{const _0x48e23b=_0x1ae6e4;var _0x57f55f;return(_0x57f55f=_0x407b32['pie'])==null?void 0x0:_0x57f55f[_0x48e23b(0x65a)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x25b),_0x427515=>({'set'(_0x5a7cca){const _0x50ee6d=_0x5491c0;_0x16f532[_0x50ee6d(0x5b9)]({'chartModelId':_0x427515['id'],'style':{'wordCloud':{'shape':_0x5a7cca==null?void 0x0:_0x5a7cca,'maskImage':_0x5a7cca==null?void 0x0:_0x5a7cca}}});},'get'(){const _0x2f2784=_0x5491c0;return _0x427515[_0x2f2784(0x599)][_0x2f2784(0x5c2)]((0x0,c[_0x2f2784(0x2cf)])(_0x23ff0c=>{const _0xe8fe73=_0x2f2784;var _0x17dfe2;return(_0x17dfe2=_0x23ff0c[_0xe8fe73(0x626)])==null?void 0x0:_0x17dfe2['shape'];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x4ee),_0x2d220c=>({'set'(_0x1e6980){const _0x28cad0=_0x5491c0;_0x16f532[_0x28cad0(0x5b9)]({'chartModelId':_0x2d220c['id'],'style':{'wordCloud':{'maskImage':_0x1e6980==null?void 0x0:_0x1e6980,'shape':void 0x0}}});},'get'(){const _0x10ed52=_0x5491c0;return _0x2d220c['style$'][_0x10ed52(0x5c2)]((0x0,c[_0x10ed52(0x2cf)])(_0x3bd8a8=>{const _0x4d63d7=_0x10ed52;var _0x448e7f;return(_0x448e7f=_0x3bd8a8[_0x4d63d7(0x626)])==null?void 0x0:_0x448e7f['maskImage'];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x2c7),_0x3947cb=>({'set'(_0x1f6219){const _0x30003f=_0x5491c0;_0x16f532[_0x30003f(0x5b9)]({'chartModelId':_0x3947cb['id'],'style':{'wordCloud':{'repeat':_0x1f6219==null?void 0x0:_0x1f6219}}});},'get'(){const _0x4714c4=_0x5491c0;return _0x3947cb['style$'][_0x4714c4(0x5c2)]((0x0,c[_0x4714c4(0x2cf)])(_0x5af964=>{const _0x191f06=_0x4714c4;var _0x21086d;return(_0x21086d=_0x5af964[_0x191f06(0x626)])==null?void 0x0:_0x21086d['repeat'];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x1e1),_0x21eb14=>({'set'(_0x396404){const _0x2d49fb=_0x5491c0;_0x16f532[_0x2d49fb(0x5b9)]({'chartModelId':_0x21eb14['id'],'style':{'funnel':{'gap':_0x396404==null?void 0x0:_0x396404}}});},'get'(){const _0x37b1e4=_0x5491c0;return _0x21eb14[_0x37b1e4(0x599)]['pipe']((0x0,c[_0x37b1e4(0x2cf)])(_0x3ff6ca=>{const _0x4c06d3=_0x37b1e4;var _0x534a0c;return(_0x534a0c=_0x3ff6ca[_0x4c06d3(0x42e)])==null?void 0x0:_0x534a0c[_0x4c06d3(0x2d1)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x4d4),_0x1b98c7=>({'set'(_0x362216){const _0x29e7b2=_0x5491c0;_0x16f532[_0x29e7b2(0x5b9)]({'chartModelId':_0x1b98c7['id'],'style':{'funnel':{'useAbsValue':_0x362216==null?void 0x0:_0x362216}}});},'get'(){const _0x5255ea=_0x5491c0;return _0x1b98c7['style$'][_0x5255ea(0x5c2)]((0x0,c[_0x5255ea(0x2cf)])(_0x152d5a=>{const _0x27734c=_0x5255ea;var _0xff86c3;return(_0xff86c3=_0x152d5a[_0x27734c(0x42e)])==null?void 0x0:_0xff86c3[_0x27734c(0x581)];}));}})),_0x16f532['registerViewState'](_0x5491c0(0x2ed),_0x43b291=>({'set'(_0x34ebf6){const _0x25f428=_0x5491c0;_0x16f532[_0x25f428(0x5b9)]({'chartModelId':_0x43b291['id'],'style':{'pie':{'hasPaddingAngle':!!_0x34ebf6}}});},'get'(){const _0xe7f91d=_0x5491c0;return _0x43b291['style$'][_0xe7f91d(0x5c2)]((0x0,c[_0xe7f91d(0x2cf)])(_0x48773e=>{const _0x4dfb1f=_0xe7f91d;var _0x22daed;return(_0x22daed=_0x48773e[_0x4dfb1f(0x460)])==null?void 0x0:_0x22daed[_0x4dfb1f(0x4de)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x380),_0x17cdc0=>({'set'(_0x4ca210){const _0x229590=_0x5491c0;_0x16f532[_0x229590(0x5b9)]({'chartModelId':_0x17cdc0['id'],'style':{'pie':{'isHalfPie':!!_0x4ca210}}});},'get'(){const _0x543747=_0x5491c0;return _0x17cdc0[_0x543747(0x599)]['pipe']((0x0,c['map'])(_0x2e95ba=>{const _0x7ec902=_0x543747;var _0x509533;return(_0x509533=_0x2e95ba['pie'])==null?void 0x0:_0x509533[_0x7ec902(0x380)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x270),_0x2a370e=>({'set'(_0x37b2c9){const _0x2c3230=_0x5491c0;_0x16f532[_0x2c3230(0x5b9)]({'chartModelId':_0x2a370e['id'],'style':{'pie':{'valueScale':Number(_0x37b2c9)}}});},'get'(){const _0x171cac=_0x5491c0;return _0x2a370e[_0x171cac(0x599)]['pipe']((0x0,c[_0x171cac(0x2cf)])(_0x100bce=>{const _0x3f5055=_0x171cac;var _0x4df64a;return(_0x4df64a=_0x100bce[_0x3f5055(0x460)])==null?void 0x0:_0x4df64a['valueScale'];}));}})),_0x16f532['registerViewState']('digitalFixed',_0x3ae894=>({'set'(_0xac6486){const _0x42b13e=_0x5491c0;_0x16f532[_0x42b13e(0x5b9)]({'chartModelId':_0x3ae894['id'],'style':{'pie':{'digitalFixed':Number(_0xac6486)}}});},'get'(){const _0x39f39d=_0x5491c0;return _0x3ae894[_0x39f39d(0x599)][_0x39f39d(0x5c2)]((0x0,c[_0x39f39d(0x2cf)])(_0x2a850d=>{const _0x1adf5c=_0x39f39d;var _0x508ec8;return(_0x508ec8=_0x2a850d['pie'])==null?void 0x0:_0x508ec8[_0x1adf5c(0x1e6)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x4c4),_0x43eba1=>({'set'(_0x495c79){const _0x2148f6=_0x5491c0;_0x16f532[_0x2148f6(0x5b9)]({'chartModelId':_0x43eba1['id'],'style':{'pie':{'valueSuffix':String(_0x495c79)}}});},'get'(){const _0x51b2bf=_0x5491c0;return _0x43eba1[_0x51b2bf(0x599)][_0x51b2bf(0x5c2)]((0x0,c['map'])(_0x55f299=>{const _0x5aff2b=_0x51b2bf;var _0x56fb02;return(_0x56fb02=_0x55f299[_0x5aff2b(0x460)])==null?void 0x0:_0x56fb02[_0x5aff2b(0x4c4)];}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x295),_0x338ecb=>({'set'(_0x2baa8d){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x338ecb['id'],'style':{'pie':{'rosePie':!!_0x2baa8d}}});},'get'(){const _0x420af5=_0x5491c0;return _0x338ecb[_0x420af5(0x599)][_0x420af5(0x5c2)]((0x0,c[_0x420af5(0x2cf)])(_0x3282ae=>{const _0x35faa1=_0x420af5;var _0x425adc;return(_0x425adc=_0x3282ae[_0x35faa1(0x460)])==null?void 0x0:_0x425adc[_0x35faa1(0x61d)];}));}})),_0x16f532['registerViewState'](_0x5491c0(0x503),_0x41b895=>({'set'(_0x28d9c5){const _0x4d055a=_0x5491c0;_0x16f532[_0x4d055a(0x5b9)]({'chartModelId':_0x41b895['id'],'style':{'pie':{'showLabelLine':!!_0x28d9c5}}});},'get'(){const _0x5da491=_0x5491c0;return _0x41b895['style$']['pipe']((0x0,c[_0x5da491(0x2cf)])(_0x22b722=>{const _0x540022=_0x5da491;var _0x43b4f0;return(_0x43b4f0=_0x22b722['pie'])==null?void 0x0:_0x43b4f0[_0x540022(0x503)];}));}})),_0x16f532['registerViewState'](_0x5491c0(0x259),_0x18f008=>({'set'(_0x2e8488){const _0xba9183=_0x5491c0;_0x16f532[_0xba9183(0x5b9)]({'chartModelId':_0x18f008['id'],'chartType':_0x2e8488?s['ChartTypeBits'][_0xba9183(0x5c0)]:s['ChartTypeBits'][_0xba9183(0x3f6)],'style':{'pie':{'doughnutHole':_0x2e8488}}});},'get'(){const _0x3af74a=_0x5491c0;return _0x18f008['style$'][_0x3af74a(0x5c2)]((0x0,c[_0x3af74a(0x2cf)])(_0x538e18=>{const _0x2cfe62=_0x3af74a;var _0x398613;return(_0x398613=_0x538e18[_0x2cfe62(0x460)])==null?void 0x0:_0x398613[_0x2cfe62(0x259)];}),(0x0,c[_0x3af74a(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)]('pieBorderColor',_0x21bdd4=>({'set'(_0x566c23){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x21bdd4['id'],'style':{'pie':{'borderColor':_0x566c23}}});},'get'(){const _0x128562=_0x5491c0;return _0x21bdd4[_0x128562(0x599)][_0x128562(0x5c2)]((0x0,c[_0x128562(0x2cf)])(_0x39949e=>{const _0x1168ec=_0x128562;var _0x26a352;return(_0x26a352=_0x39949e[_0x1168ec(0x460)])==null?void 0x0:_0x26a352['borderColor'];}),(0x0,c['distinctUntilChanged'])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x59c),_0x353a18=>({'set'(_0x3f6e71){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x353a18['id'],'style':{'radar':{'shape':_0x3f6e71}}});},'get'(){const _0x3e3580=_0x5491c0;return _0x353a18[_0x3e3580(0x599)][_0x3e3580(0x5c2)]((0x0,c[_0x3e3580(0x2cf)])(_0x495b6b=>{const _0xdffb85=_0x3e3580;var _0x3d1c06;return(_0x3d1c06=_0x495b6b[_0xdffb85(0x3ae)])==null?void 0x0:_0x3d1c06[_0xdffb85(0x4af)];}),(0x0,c[_0x3e3580(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x412),_0x140e26=>({'set'(_0x27fe07){const _0x4ae274=_0x5491c0;_0x16f532[_0x4ae274(0x5b9)]({'chartModelId':_0x140e26['id'],'style':{'radar':{'fill':_0x27fe07}}});},'get'(){const _0x233a97=_0x5491c0;return _0x140e26['style$']['pipe']((0x0,c[_0x233a97(0x2cf)])(_0x3490f1=>{const _0x13b036=_0x233a97;var _0x16a541;return(_0x16a541=_0x3490f1[_0x13b036(0x3ae)])==null?void 0x0:_0x16a541[_0x13b036(0x3c0)];}),(0x0,c[_0x233a97(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x1f0),_0x29618d=>({'set'(_0x4f8e92){const _0x140872=_0x5491c0;_0x16f532[_0x140872(0x5b9)]({'chartModelId':_0x29618d['id'],'style':{'invalidValueType':_0x4f8e92}});},'get'(){const _0x5ef29e=_0x5491c0;return _0x29618d[_0x5ef29e(0x599)]['pipe']((0x0,c[_0x5ef29e(0x2cf)])(_0x444def=>_0x444def[_0x5ef29e(0x1f0)]),(0x0,c[_0x5ef29e(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)]('dataPointsOptions',_0x3f1a38=>_0x3f1a38[_0x5491c0(0x28c)][_0x5491c0(0x5c2)]((0x0,c['map'])(_0x43d4b6=>{const _0x2cc412=_0x5491c0;var _0x2f762e,_0x4bbfed;let _0x460291=_0x43d4b6==null||(_0x2f762e=_0x43d4b6[_0x2cc412(0x4b4)])==null?void 0x0:_0x2f762e[_0x2cc412(0x58b)];return((_0x43d4b6==null||(_0x4bbfed=_0x43d4b6[_0x2cc412(0x361)][0x0])==null?void 0x0:_0x4bbfed[_0x2cc412(0x58b)])||[])['map']((_0x2f0bad,_0x4dcdfd)=>({'label':_0x460291&&_0x460291[_0x4dcdfd]!==void 0x0?_0x460291[_0x4dcdfd]['label']:_0x16f532['t']('chart.theIndexItem',''+(_0x4dcdfd+0x1)),'value':''+_0x4dcdfd}));}))),_0x16f532['registerViewState'](_0x5491c0(0x1d0),_0x18a500=>({'set'(_0x2a613f){const _0x37c9ed=_0x5491c0;let _0xa8d691={'theme':_0x2a613f},_0x14f8f8=_0x18a500[_0x37c9ed(0x4fa)][_0x37c9ed(0x34d)];if((_0x14f8f8==null?void 0x0:_0x14f8f8[_0x37c9ed(0x63b)])!==void 0x0){var _0x34336a,_0x352d2b,_0x333f65;_0xa8d691[_0x37c9ed(0x34d)]={'color':null},(_0x14f8f8==null||(_0x34336a=_0x14f8f8['waterfall'])==null||(_0x34336a=_0x34336a[_0x37c9ed(0x2ab)])==null?void 0x0:_0x34336a['color'])!==void 0x0&&(_0x14f8f8['waterfall'][_0x37c9ed(0x2ab)][_0x37c9ed(0x63b)]=null),(_0x14f8f8==null||(_0x352d2b=_0x14f8f8[_0x37c9ed(0x393)])==null||(_0x352d2b=_0x352d2b[_0x37c9ed(0x480)])==null?void 0x0:_0x352d2b[_0x37c9ed(0x63b)])!==void 0x0&&(_0x14f8f8[_0x37c9ed(0x393)]['negative'][_0x37c9ed(0x63b)]=null),(_0x14f8f8==null||(_0x333f65=_0x14f8f8[_0x37c9ed(0x393)])==null||(_0x333f65=_0x333f65[_0x37c9ed(0x56b)])==null?void 0x0:_0x333f65[_0x37c9ed(0x63b)])!==void 0x0&&(_0x14f8f8['waterfall'][_0x37c9ed(0x56b)][_0x37c9ed(0x63b)]=null);}let _0xa71093=_0x18a500[_0x37c9ed(0x4fa)][_0x37c9ed(0x3ba)]||{};for(let _0x71a870 in _0xa71093){var _0x510768,_0x2a4403,_0x400762;_0xa71093[_0x71a870][_0x37c9ed(0x63b)]!==void 0x0&&(_0xa8d691['seriesStyleMap']={..._0xa8d691[_0x37c9ed(0x3ba)],[_0x71a870]:{'color':null}}),((_0x510768=_0xa71093[_0x71a870])==null||(_0x510768=_0x510768[_0x37c9ed(0x393)])==null||(_0x510768=_0x510768['positive'])==null?void 0x0:_0x510768[_0x37c9ed(0x63b)])!==void 0x0&&(_0xa71093[_0x71a870]['waterfall'][_0x37c9ed(0x2ab)]['color']=null),((_0x2a4403=_0xa71093[_0x71a870])==null||(_0x2a4403=_0x2a4403[_0x37c9ed(0x393)])==null||(_0x2a4403=_0x2a4403[_0x37c9ed(0x480)])==null?void 0x0:_0x2a4403[_0x37c9ed(0x63b)])!==void 0x0&&(_0xa71093[_0x71a870][_0x37c9ed(0x393)][_0x37c9ed(0x480)][_0x37c9ed(0x63b)]=null),((_0x400762=_0xa71093[_0x71a870])==null||(_0x400762=_0x400762[_0x37c9ed(0x393)])==null||(_0x400762=_0x400762['subtotal'])==null?void 0x0:_0x400762[_0x37c9ed(0x63b)])!==void 0x0&&(_0xa71093[_0x71a870]['waterfall']['subtotal']['color']=null);}_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x18a500['id'],'style':_0xa8d691});},'get'(){const _0xaf32c0=_0x5491c0;return _0x18a500['style$'][_0xaf32c0(0x5c2)]((0x0,c[_0xaf32c0(0x2cf)])(_0x2dce8c=>_0x2dce8c[_0xaf32c0(0x280)]||'default'));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x4f8),_0x1094b0=>({'set'(_0x4d3839){const _0x2835a8=_0x5491c0;_0x16f532[_0x2835a8(0x5b9)]({'chartModelId':_0x1094b0['id'],'style':{'titles':{'titlePosition':_0x4d3839}}});},'get'(){const _0x2b4016=_0x5491c0;return _0x1094b0[_0x2b4016(0x599)][_0x2b4016(0x5c2)]((0x0,c['map'])(_0xed86fc=>{const _0x43a019=_0x2b4016;var _0x333f25;return((_0x333f25=_0xed86fc[_0x43a019(0x51e)])==null?void 0x0:_0x333f25[_0x43a019(0x4f8)])||void 0x0;}));}})),_0x16f532['registerViewState'](_0x5491c0(0x31c),_0x3b35f5=>({'set'(_0x3b7fb2){const _0x42d0f6=_0x5491c0;_0x16f532[_0x42d0f6(0x5b9)]({'chartModelId':_0x3b35f5['id'],'context':{'bubbleSizeSeriesId':_0x3b7fb2}});},'get'(){const _0xfb6213=_0x5491c0;return _0x3b35f5[_0xfb6213(0x56c)][_0xfb6213(0x5c2)]((0x0,c[_0xfb6213(0x2cf)])(_0x4fdec4=>_0x4fdec4[_0xfb6213(0x31c)]||void 0x0));}})),_0x16f532[_0x5491c0(0x44e)]('bubbleXAxis',_0x5d92cb=>({'set'(_0x2f161a){const _0xb320d=_0x5491c0;_0x16f532[_0xb320d(0x5b9)]({'chartModelId':_0x5d92cb['id'],'context':{'bubbleXAxis':_0x2f161a}});},'get'(){const _0x562885=_0x5491c0;return _0x5d92cb[_0x562885(0x56c)][_0x562885(0x5c2)]((0x0,c[_0x562885(0x2cf)])(_0x282a40=>{const _0x342707=_0x562885;var _0x4c53a0;return(_0x4c53a0=_0x282a40[_0x342707(0x245)])==null?void 0x0:_0x4c53a0;}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x659),_0xc69e1d=>({'set'(_0x3aae61){const _0x2a11e0=_0x5491c0;_0x16f532[_0x2a11e0(0x5b9)]({'chartModelId':_0xc69e1d['id'],'context':{'bubbleYAxis':_0x3aae61}});},'get'(){const _0x9aedad=_0x5491c0;return _0xc69e1d[_0x9aedad(0x56c)][_0x9aedad(0x5c2)]((0x0,c['map'])(_0x1fdb14=>{var _0x32a625;return(_0x32a625=_0x1fdb14['bubbleYAxis'])==null?void 0x0:_0x32a625;}));}})),_0x16f532['registerViewState'](_0x5491c0(0x1df),_0x52f6f1=>({'set'(_0x229545){const _0x4fae11=_0x5491c0;_0x16f532[_0x4fae11(0x5b9)]({'chartModelId':_0x52f6f1['id'],'context':{'bubbleLabel':_0x229545}});},'get'(){const _0x57ea38=_0x5491c0;return _0x52f6f1[_0x57ea38(0x56c)]['pipe']((0x0,c[_0x57ea38(0x2cf)])(_0x2eebb2=>{const _0x3c4d54=_0x57ea38;var _0x2b4a83;return(_0x2b4a83=_0x2eebb2[_0x3c4d54(0x1df)])==null?void 0x0:_0x2b4a83;}));}})),_0x16f532['registerViewState'](_0x5491c0(0x434),_0x2d1b32=>({'set'(_0x129bba){const _0x19a7ec=_0x5491c0;_0x16f532[_0x19a7ec(0x5b9)]({'chartModelId':_0x2d1b32['id'],'context':{'bubbleSeries':_0x129bba}});},'get'(){const _0x4664df=_0x5491c0;return _0x2d1b32[_0x4664df(0x56c)][_0x4664df(0x5c2)]((0x0,c[_0x4664df(0x2cf)])(_0x13c95c=>{const _0x40e39d=_0x4664df;var _0xbf0c94;return(_0xbf0c94=_0x13c95c[_0x40e39d(0x434)])==null?void 0x0:_0xbf0c94;}));}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x473),_0x26f830=>({'set'(_0x407077){const _0x41f193=_0x5491c0;_0x16f532[_0x41f193(0x5b9)]({'chartModelId':_0x26f830['id'],'style':{'relation':{'layout':_0x407077}}});},'get'(){const _0x24b5c9=_0x5491c0;return _0x26f830['style$'][_0x24b5c9(0x5c2)]((0x0,c['map'])(_0x51151d=>{const _0xbf05d0=_0x24b5c9;var _0x1ed20b;return(_0x1ed20b=_0x51151d[_0xbf05d0(0x20d)])==null?void 0x0:_0x1ed20b[_0xbf05d0(0x511)];}),(0x0,c[_0x24b5c9(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)]('useValueAsSymbolSize',_0xce4d76=>({'set'(_0x5c1184){const _0x22a9bf=_0x5491c0;_0x16f532[_0x22a9bf(0x5b9)]({'chartModelId':_0xce4d76['id'],'style':{'relation':{'useValueAsSymbolSize':!!_0x5c1184}}});},'get'(){const _0x2a0389=_0x5491c0;return _0xce4d76[_0x2a0389(0x599)]['pipe']((0x0,c[_0x2a0389(0x2cf)])(_0x4adca8=>{const _0x254083=_0x2a0389;var _0x8950f3;return(_0x8950f3=_0x4adca8[_0x254083(0x20d)])==null?void 0x0:_0x8950f3[_0x254083(0x312)];}),(0x0,c[_0x2a0389(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x30c),_0x3f727b=>({'set'(_0x41894e){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x3f727b['id'],'style':{'relation':{'force':_0x41894e}}});},'get'(){const _0x27282e=_0x5491c0;return _0x3f727b['style$'][_0x27282e(0x5c2)]((0x0,c[_0x27282e(0x2cf)])(_0x2f5551=>{const _0x85b6e2=_0x27282e;var _0xec2e4;return(_0xec2e4=_0x2f5551['relation'])==null?void 0x0:_0xec2e4[_0x85b6e2(0x3da)];}),(0x0,c['distinctUntilChanged'])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x3b7),_0x88e411=>({'set'(_0x59bc28){const _0x2cc870=_0x5491c0;_0x16f532[_0x2cc870(0x5b9)]({'chartModelId':_0x88e411['id'],'style':{'relation':{'circular':{'rotateLabel':!!_0x59bc28}}}});},'get'(){const _0x3f738a=_0x5491c0;return _0x88e411['style$'][_0x3f738a(0x5c2)]((0x0,c['map'])(_0x5c51d9=>{const _0x271138=_0x3f738a;var _0x4a3dcd;return(_0x4a3dcd=_0x5c51d9['relation'])==null||(_0x4a3dcd=_0x4a3dcd[_0x271138(0x1c7)])==null?void 0x0:_0x4a3dcd['rotateLabel'];}),(0x0,c[_0x3f738a(0x2f3)])());}})),_0x16f532['registerViewState'](_0x5491c0(0x5f1),_0x1df9b9=>({'set'(_0x2c79cb){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x1df9b9['id'],'style':{'relation':{'nodeShape':_0x2c79cb}}});},'get'(){const _0x46d5e5=_0x5491c0;return _0x1df9b9[_0x46d5e5(0x599)][_0x46d5e5(0x5c2)]((0x0,c[_0x46d5e5(0x2cf)])(_0x3df998=>{const _0x4f7c64=_0x46d5e5;var _0x28a0af;return(_0x28a0af=_0x3df998[_0x4f7c64(0x20d)])==null?void 0x0:_0x28a0af[_0x4f7c64(0x291)];}),(0x0,c[_0x46d5e5(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x1de),_0x59187b=>({'set'(_0x560bcb){const _0x3d455a=_0x5491c0;_0x16f532[_0x3d455a(0x5b9)]({'chartModelId':_0x59187b['id'],'style':{'relation':{'useEmphasis':!!_0x560bcb}}});},'get'(){const _0x476896=_0x5491c0;return _0x59187b['style$'][_0x476896(0x5c2)]((0x0,c[_0x476896(0x2cf)])(_0x5d5374=>{const _0x528dc9=_0x476896;var _0x819c02;return(_0x819c02=_0x5d5374['relation'])==null?void 0x0:_0x819c02[_0x528dc9(0x1de)];}),(0x0,c['distinctUntilChanged'])());}})),_0x16f532[_0x5491c0(0x44e)]('useDateAxis',_0x1ff488=>({'set'(_0x51c7c9){const _0x73fa06=_0x5491c0;_0x16f532[_0x73fa06(0x5b9)]({'chartModelId':_0x1ff488['id'],'context':{'useDateAxis':!!_0x51c7c9}});},'get'(){const _0x22a7d1=_0x5491c0;return _0x1ff488[_0x22a7d1(0x56c)]['pipe']((0x0,c[_0x22a7d1(0x2cf)])(_0x204a50=>_0x204a50[_0x22a7d1(0x33c)]),(0x0,c[_0x22a7d1(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x1ce),_0x40ae7d=>({'set'(_0x212843){const _0xc07217=_0x5491c0;_0x16f532[_0xc07217(0x5b9)]({'chartModelId':_0x40ae7d['id'],'style':{'waterfall':{'stackType':_0x212843}}});},'get'(){const _0x243eff=_0x5491c0;return _0x40ae7d[_0x243eff(0x599)]['pipe']((0x0,c['map'])(_0x44943e=>{const _0x436529=_0x243eff;var _0x15adb2;return(_0x15adb2=_0x44943e[_0x436529(0x393)])==null?void 0x0:_0x15adb2[_0x436529(0x4dd)];}),(0x0,c[_0x243eff(0x2f3)])());}})),_0x16f532['registerViewState'](_0x5491c0(0x538),_0x2f45b0=>({'set'(_0x5bcd82){const _0x49c1ac=_0x5491c0;_0x16f532[_0x49c1ac(0x5b9)]({'chartModelId':_0x2f45b0['id'],'style':{'waterfall':{'useSubtotal':_0x5bcd82}}});},'get'(){const _0x3cda10=_0x5491c0;return _0x2f45b0[_0x3cda10(0x599)][_0x3cda10(0x5c2)]((0x0,c[_0x3cda10(0x2cf)])(_0xfc03dc=>{const _0x15ff47=_0x3cda10;var _0x3a78f1;return(_0x3a78f1=_0xfc03dc[_0x15ff47(0x393)])==null?void 0x0:_0x3a78f1[_0x15ff47(0x538)];}),(0x0,c[_0x3cda10(0x2f3)])());}})),_0x16f532['registerViewState'](_0x5491c0(0x5a9),_0x272097=>({'set'(_0x34e1cc){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x272097['id'],'style':{'pareto':_0x34e1cc}});},'get'(){const _0x128654=_0x5491c0;return _0x272097[_0x128654(0x599)][_0x128654(0x5c2)]((0x0,c[_0x128654(0x2cf)])(_0x6f976c=>_0x6f976c[_0x128654(0x62c)]),(0x0,c[_0x128654(0x2f3)])());}})),_0x16f532['registerViewState'](_0x5491c0(0x441),_0xe087db=>_0xe087db[_0x5491c0(0x28c)]['pipe']((0x0,c['map'])(_0x8a54c0=>{const _0x379408=_0x5491c0;var _0x2ca915;let _0x4f9c8c=_0x8a54c0==null||(_0x2ca915=_0x8a54c0[_0x379408(0x4b4)])==null?void 0x0:_0x2ca915[_0x379408(0x58b)],_0x4d23ef=new Map();return _0x8a54c0==null||_0x8a54c0[_0x379408(0x361)][0x0][_0x379408(0x58b)][_0x379408(0x50c)]((_0x1d2610,_0x51fa9b)=>{const _0x4ca38f=_0x379408;let _0x34afd0=_0x4f9c8c?String(_0x4f9c8c[_0x51fa9b][_0x4ca38f(0x3b4)]):_0x16f532['t'](_0x4ca38f(0x239),''+(_0x51fa9b+0x1));_0x4d23ef[_0x4ca38f(0x55d)](_0x34afd0)||_0x4d23ef['set'](_0x34afd0,_0x1d2610['value']);}),Array[_0x379408(0x54f)](_0x4d23ef[_0x379408(0x654)]())[_0x379408(0x632)](_0x2a178d=>_0x2a178d[0x1]>0x0)[_0x379408(0x2e4)]((_0x3beb7b,_0x180123)=>_0x180123[0x1]-_0x3beb7b[0x1])[_0x379408(0x2cf)]((_0x435774,_0x1f22aa)=>({'label':_0x435774[0x0]||_0x16f532['t']('chart.theIndexItem',''+(_0x1f22aa+0x1)),'value':''+_0x1f22aa}));}))),_0x16f532[_0x5491c0(0x44e)](_0x5491c0(0x29b),_0x802460=>({'set'(_0x5805bc){const _0x1eb51c=_0x5491c0;_0x16f532[_0x1eb51c(0x5b9)]({'chartModelId':_0x802460['id'],'style':{'heatmap':{'visualMapType':_0x5805bc}}});},'get'(){const _0x4096f8=_0x5491c0;return _0x802460['style$'][_0x4096f8(0x5c2)]((0x0,c[_0x4096f8(0x2cf)])(_0x1c15d6=>{var _0x16b11a;return(_0x16b11a=_0x1c15d6['heatmap'])==null?void 0x0:_0x16b11a['visualMapType'];}),(0x0,c['distinctUntilChanged'])());}})),_0x16f532[_0x5491c0(0x44e)]('heatmapMax',_0x1aa0e8=>({'set'(_0x1b7b83){_0x16f532['executeChartUpdateConfig']({'chartModelId':_0x1aa0e8['id'],'style':{'heatmap':{'max':_0x1b7b83}}});},'get'(){const _0x182f33=_0x5491c0;return _0x1aa0e8[_0x182f33(0x599)][_0x182f33(0x5c2)]((0x0,c[_0x182f33(0x2cf)])(_0x1c88ce=>{const _0x47539e=_0x182f33;var _0x20c977;return(_0x20c977=_0x1c88ce[_0x47539e(0x537)])==null?void 0x0:_0x20c977['max'];}),(0x0,c[_0x182f33(0x2f3)])());}})),_0x16f532[_0x5491c0(0x44e)]('heatmapMin',_0xd96c5c=>({'set'(_0x5d25f6){const _0x57aa41=_0x5491c0;_0x16f532[_0x57aa41(0x5b9)]({'chartModelId':_0xd96c5c['id'],'style':{'heatmap':{'min':_0x5d25f6}}});},'get'(){const _0x1ad077=_0x5491c0;return _0xd96c5c['style$'][_0x1ad077(0x5c2)]((0x0,c['map'])(_0x158f2e=>{const _0x40b7c1=_0x1ad077;var _0x5a4fc0;return(_0x5a4fc0=_0x158f2e[_0x40b7c1(0x537)])==null?void 0x0:_0x5a4fc0[_0x40b7c1(0x1f7)];}),(0x0,c['distinctUntilChanged'])());}}));}let A=class extends t[_0x5d1961(0x3b6)]{constructor(_0x437b43,_0x68715c,_0x2b976c,_0x3842cd,_0xc3fd8,_0x5da027){const _0x19ee6d=_0x5d1961;super(),this[_0x19ee6d(0x231)]=_0x437b43,this[_0x19ee6d(0x656)]=_0x68715c,this['_commandService']=_0x2b976c,this[_0x19ee6d(0x36f)]=_0x3842cd,this[_0x19ee6d(0x3ca)]=_0xc3fd8,this[_0x19ee6d(0x264)]=_0x5da027,S(this,_0x19ee6d(0x5f9),new Map()),S(this,'_rangeSelectMode',!0x1),k(this);}get['activeChartModel'](){const _0x39ebeb=_0x5d1961;return this[_0x39ebeb(0x231)][_0x39ebeb(0x658)];}get[_0x5d1961(0x3bb)](){const _0x435c8b=_0x5d1961;return this[_0x435c8b(0x1cc)];}set[_0x5d1961(0x3bb)](_0x4d5977){const _0x3d0985=_0x5d1961;this[_0x3d0985(0x1cc)]=_0x4d5977;}[_0x5d1961(0x611)](_0x98ac73){const _0x767717=_0x5d1961;return this[_0x767717(0x656)]['getChartDataSource'](_0x98ac73);}['registerViewState'](_0xb62ee3,_0x1772ce){const _0x466450=_0x5d1961;this[_0x466450(0x5f9)][_0x466450(0x34f)](_0xb62ee3,_0x1772ce);}[_0x5d1961(0x1d7)](_0x1e60db){const _0x255aae=_0x5d1961;let {activeChartModel:_0x4d0308}=this[_0x255aae(0x231)];if(!_0x4d0308)return;let _0x406193=this[_0x255aae(0x5f9)][_0x255aae(0x39a)](_0x1e60db);if(_0x406193)return _0x406193(_0x4d0308);}['executeChartUpdateConfig'](_0x175be2){const _0x2d93e7=_0x5d1961;var _0x256b68,_0x1cd006;this[_0x2d93e7(0x52d)]['executeCommand'](e[_0x2d93e7(0x390)]['id'],{..._0x175be2,'unitId':(_0x256b68=(_0x1cd006=this[_0x2d93e7(0x264)][_0x2d93e7(0x47c)]())==null?void 0x0:_0x1cd006[_0x2d93e7(0x5d0)]())==null?'':_0x256b68});}[_0x5d1961(0x3c8)](_0x47196b){const _0x594117=_0x5d1961;var _0x2d7c50,_0x47e6c8;this[_0x594117(0x52d)]['executeCommand'](e[_0x594117(0x3e6)]['id'],{..._0x47196b,'unitId':(_0x2d7c50=(_0x47e6c8=this[_0x594117(0x264)][_0x594117(0x47c)]())==null?void 0x0:_0x47e6c8[_0x594117(0x5d0)]())==null?'':_0x2d7c50});}[_0x5d1961(0x22d)](_0x3b04c4){const _0x2e5fb8=_0x5d1961;let {_viewState:_0x20da90}=this;_0x20da90['has'](_0x3b04c4)&&_0x20da90[_0x2e5fb8(0x1fe)](_0x3b04c4);}['setBorder'](_0x559b47,_0x378acd){const _0x376e08=_0x5d1961;this[_0x376e08(0x3ca)][_0x376e08(0x3dc)](_0x559b47,{'stroke':_0x378acd});}['t'](..._0xc9ccfd){return this['_localeService']['t'](..._0xc9ccfd);}[_0x5d1961(0x5e8)](){const _0x2f54c1=_0x5d1961;super[_0x2f54c1(0x5e8)](),this[_0x2f54c1(0x5f9)]['clear']();}};A=w([C(0x0,(0x0,t[_0x5d1961(0x4e8)])(e[_0x5d1961(0x3f5)])),C(0x1,(0x0,t['Inject'])(e[_0x5d1961(0x339)])),C(0x2,t[_0x5d1961(0x415)]),C(0x3,(0x0,t['Inject'])(t[_0x5d1961(0x2f7)])),C(0x4,(0x0,t[_0x5d1961(0x4e8)])(O)),C(0x5,t['IUniverInstanceService'])],A);function j(){const _0x5eb812=_0x5d1961;let _0x557d2c=(0x0,o[_0x5eb812(0x615)])(A);return(0x0,o[_0x5eb812(0x3ed)])((0x0,o[_0x5eb812(0x615)])(e[_0x5eb812(0x3f5)])['activeChartModel$']),_0x557d2c;}function M(_0x268056,_0x4f1476,_0x4b1fe1){const _0x56e202=_0x5d1961;let _0x40e822=(0x0,f[_0x56e202(0x4e1)])(()=>_0x4f1476[_0x56e202(0x1d7)](_0x268056),[_0x4f1476,_0x4f1476[_0x56e202(0x658)],_0x268056]);return[(0x0,o[_0x56e202(0x3ed)])((0x0,f[_0x56e202(0x4e1)])(()=>_0x40e822 instanceof c[_0x56e202(0x520)]?_0x40e822:_0x40e822==null?void 0x0:_0x40e822['get'](),[_0x40e822]),_0x4b1fe1),(0x0,f[_0x56e202(0x66c)])(_0x5c7b2f=>{const _0x4c3e13=_0x56e202;if(!(_0x40e822 instanceof c[_0x4c3e13(0x520)])){var _0x1ddfd6;_0x40e822==null||(_0x1ddfd6=_0x40e822[_0x4c3e13(0x34f)])==null||_0x1ddfd6['call'](_0x40e822,_0x5c7b2f);}},[_0x40e822])];}function N(_0x47958b,_0x4337c6){const _0x24ef7b=_0x5d1961;return _0x47958b==null||Array[_0x24ef7b(0x2be)](_0x47958b)?'':P(_0x47958b[_0x24ef7b(0x290)],_0x4337c6);}function P(_0x4b0605,_0x141d77){const _0x424edd=_0x5d1961;var _0x6c6a5a;let {unitId:_0x2c0503,subUnitId:_0x1f0718,range:_0xac43a0}=_0x4b0605,_0x234339=(_0x6c6a5a=_0x141d77['getUnit'](_0x2c0503))==null?void 0x0:_0x6c6a5a[_0x424edd(0x628)](_0x1f0718);return _0x234339?(0x0,p['serializeRangeWithSheet'])(_0x234339[_0x424edd(0x20e)](),_0xac43a0):'';}const F=[{'label':_0x5d1961(0x4f9),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x40c)],'icon':_0x5d1961(0x5f3)},{'label':_0x5d1961(0x4e2),'value':s[_0x5d1961(0x5bd)]['Column'],'icon':_0x5d1961(0x3cd)},{'label':_0x5d1961(0x449),'value':s['ChartTypeBits']['Pie'],'icon':_0x5d1961(0x1c9)},{'label':_0x5d1961(0x353),'value':s['ChartTypeBits'][_0x5d1961(0x4b1)],'icon':'BarChartIcon'},{'label':_0x5d1961(0x5cf),'value':s['ChartTypeBits'][_0x5d1961(0x33a)],'icon':_0x5d1961(0x530)},{'label':_0x5d1961(0x607),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x1d9)],'icon':'BarChartIcon'},{'label':'chartTypes.donut','value':s['ChartTypeBits'][_0x5d1961(0x5c0)],'icon':'PieChartIcon'},{'label':_0x5d1961(0x1e0),'value':s['ChartTypeBits'][_0x5d1961(0x3f4)],'icon':_0x5d1961(0x63e)},{'label':'chartTypes.areaStacked','value':s[_0x5d1961(0x5bd)]['AreaStacked'],'icon':_0x5d1961(0x63e)},{'label':_0x5d1961(0x430),'value':s['ChartTypeBits']['AreaPercentStacked'],'icon':_0x5d1961(0x63e)},{'label':'chartTypes.radar','value':s[_0x5d1961(0x5bd)][_0x5d1961(0x216)],'icon':_0x5d1961(0x26c)},{'label':_0x5d1961(0x2a8),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x3ff)],'icon':_0x5d1961(0x3f7)},{'label':_0x5d1961(0x42d),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x584)],'icon':_0x5d1961(0x5ae)},{'label':_0x5d1961(0x31d),'value':s['ChartTypeBits']['WordCloud'],'icon':_0x5d1961(0x4b6)},{'label':_0x5d1961(0x226),'value':s['ChartTypeBits'][_0x5d1961(0x2a3)],'icon':_0x5d1961(0x5bc)},{'label':_0x5d1961(0x3a9),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x200)],'icon':'BubbleIcon'},{'label':'chartTypes.relation','value':s[_0x5d1961(0x5bd)][_0x5d1961(0x48a)],'icon':'RelationshipIcon'},{'label':_0x5d1961(0x373),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x287)],'icon':'WaterfallChartIcon'},{'label':_0x5d1961(0x271),'value':s[_0x5d1961(0x5bd)]['Pareto'],'icon':_0x5d1961(0x3f7)},{'label':_0x5d1961(0x1d4),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x426)],'icon':_0x5d1961(0x34b)},{'label':_0x5d1961(0x5b4),'value':s[_0x5d1961(0x5bd)][_0x5d1961(0x363)],'icon':_0x5d1961(0x64f)},{'label':'chartTypes.boxplot','value':s[_0x5d1961(0x5bd)][_0x5d1961(0x42a)],'icon':_0x5d1961(0x523)}];function I(){return F;}const L=(_0x36dd17,_0x2985a8)=>{const _0x454faf=_0x5d1961;if(_0x2985a8[_0x454faf(0x644)]===0x1&&_0x2985a8[0x0]==='all')return _0x36dd17;if(_0x2985a8[_0x454faf(0x644)]>0x1){let _0x31e201=new Set();for(let _0x4dc3dd of _0x2985a8)_0x31e201[_0x454faf(0x1c2)](Number(_0x4dc3dd));return _0x36dd17[_0x454faf(0x632)](_0xbb6918=>_0x31e201['has'](_0xbb6918[_0x454faf(0x3b4)]));}return[];},R={'label':_0x5d1961(0x4c8),'value':_0x5d1961(0x582)},ee={[s[_0x5d1961(0x5bd)][_0x5d1961(0x40c)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x5f3)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x4fd)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x3cd)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x4b1)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x530)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x33a)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x530)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x1d9)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x530)],{}),[s['ChartTypeBits'][_0x5d1961(0x3f6)]]:(0x0,h['jsx'])(r[_0x5d1961(0x1c9)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x5c0)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x1c9)],{}),[s[_0x5d1961(0x5bd)]['Area']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x63e)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x219)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x63e)],{}),[s['ChartTypeBits']['AreaPercentStacked']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x63e)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x216)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x26c)],{}),[s['ChartTypeBits'][_0x5d1961(0x3ff)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x3f7)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x584)]]:(0x0,h[_0x5d1961(0x433)])(r['ScatterChartIcon'],{}),[s['ChartTypeBits'][_0x5d1961(0x2f6)]]:void 0x0,[s[_0x5d1961(0x5bd)]['ColumnStacked']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x3cd)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x301)]]:(0x0,h['jsx'])(r[_0x5d1961(0x3cd)],{}),[s[_0x5d1961(0x5bd)]['WordCloud']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x4ba)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x2a3)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x5bc)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x200)]]:(0x0,h[_0x5d1961(0x433)])(r['BubbleIcon'],{}),[s[_0x5d1961(0x5bd)]['Relation']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x60a)],{}),[s[_0x5d1961(0x5bd)]['Waterfall']]:(0x0,h['jsx'])(r[_0x5d1961(0x348)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x44d)]]:(0x0,h[_0x5d1961(0x433)])(r['ComboChartIcon'],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x426)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x5c5)],{}),[s['ChartTypeBits']['Heatmap']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x333)],{}),[s[_0x5d1961(0x5bd)][_0x5d1961(0x42a)]]:(0x0,h[_0x5d1961(0x433)])(r['BoxplotIcon'],{})},z=F['filter'](_0x999c6d=>[s['ChartTypeBits'][_0x5d1961(0x40c)],s['ChartTypeBits'][_0x5d1961(0x4fd)],s[_0x5d1961(0x5bd)][_0x5d1961(0x3f4)]][_0x5d1961(0x2cf)](_0x299971=>String(_0x299971))[_0x5d1961(0x3bd)](String(_0x999c6d[_0x5d1961(0x3b4)])))[_0x5d1961(0x2cf)](({label:_0x2b9796,value:_0xec9b96})=>({'label':_0x2b9796,'value':String(_0xec9b96)})),te=[{'label':_0x5d1961(0x3ac),'value':_0x5d1961(0x4a3)},{'label':_0x5d1961(0x38e),'value':_0x5d1961(0x277)},{'label':_0x5d1961(0x618),'value':_0x5d1961(0x400)},{'label':_0x5d1961(0x573),'value':_0x5d1961(0x4f6)}],B=[{'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'}],ne=[{'label':_0x5d1961(0x565),'value':'left'},{'label':_0x5d1961(0x577),'value':_0x5d1961(0x455)},{'label':_0x5d1961(0x29d),'value':_0x5d1961(0x20b)}];function V(){const _0x54b043=_0x5d1961;return{'label':_0x54b043(0x4e3),'value':s[_0x54b043(0x398)]['allSeriesId']};}const H=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0]['map'](_0x5c381a=>({'label':_0x5c381a*0x64+'%','value':String(_0x5c381a)})),U=[{'label':_0x5d1961(0x3e7),'value':s[_0x5d1961(0x5e4)]['Solid']},{'label':_0x5d1961(0x53c),'value':s[_0x5d1961(0x5e4)]['Dashed']},{'label':_0x5d1961(0x605),'value':s[_0x5d1961(0x5e4)][_0x5d1961(0x374)]}],W=[{'label':_0x5d1961(0x343),'value':s[_0x5d1961(0x21c)]['Circle']},{'label':_0x5d1961(0x409),'value':s[_0x5d1961(0x21c)][_0x5d1961(0x525)]},{'label':_0x5d1961(0x23b),'value':s['LinePointShape']['Triangle']},{'label':_0x5d1961(0x222),'value':s['LinePointShape'][_0x5d1961(0x324)]},{'label':_0x5d1961(0x45b),'value':s[_0x5d1961(0x21c)]['Rect']},{'label':_0x5d1961(0x254),'value':s['LinePointShape'][_0x5d1961(0x2f9)]},{'label':_0x5d1961(0x579),'value':s['LinePointShape']['Pin']},{'label':_0x5d1961(0x31a),'value':s['LinePointShape'][_0x5d1961(0x46a)]},{'label':'chart.shape.none','value':s[_0x5d1961(0x21c)][_0x5d1961(0x2f6)]},{'label':'chart.shape.emptyCircle','value':s['LinePointShape'][_0x5d1961(0x49d)]},{'label':_0x5d1961(0x4d8),'value':s[_0x5d1961(0x21c)]['EmptySquare']},{'label':_0x5d1961(0x303),'value':s['LinePointShape'][_0x5d1961(0x5b2)]},{'label':_0x5d1961(0x535),'value':s[_0x5d1961(0x21c)]['EmptyDiamond']},{'label':_0x5d1961(0x379),'value':s['LinePointShape'][_0x5d1961(0x603)]},{'label':_0x5d1961(0x5eb),'value':s[_0x5d1961(0x21c)][_0x5d1961(0x526)]},{'label':_0x5d1961(0x1e8),'value':s['LinePointShape'][_0x5d1961(0x24b)]},{'label':_0x5d1961(0x5a2),'value':s[_0x5d1961(0x21c)][_0x5d1961(0x1cf)]}],re=[0x0,0x2,0x5,0x7,0xa,0xe][_0x5d1961(0x2cf)](_0x4c1c9b=>({'label':_0x4c1c9b+'px','value':String(_0x4c1c9b)})),ie=[0x0,0x1,0x2,0x4,0x8][_0x5d1961(0x2cf)](_0x3e54bc=>({'label':_0x3e54bc+'px','value':String(_0x3e54bc)})),ae=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a][_0x5d1961(0x2cf)](_0x5382e4=>({'label':_0x5382e4+'°','value':String(_0x5382e4)})),oe=[{'label':_0x5d1961(0x403),'value':s[_0x5d1961(0x5e7)][_0x5d1961(0x5e5)]},{'label':_0x5d1961(0x4f5),'value':s[_0x5d1961(0x5e7)][_0x5d1961(0x5ee)]},{'label':_0x5d1961(0x625),'value':s[_0x5d1961(0x5e7)]['log']},{'label':_0x5d1961(0x2fa),'value':s['ChartTrendlineType'][_0x5d1961(0x1e7)]},{'label':'chart.trendline.movingAvg','value':s['ChartTrendlineType']['movingAvg']},{'label':'chart.trendline.poly','value':s[_0x5d1961(0x5e7)][_0x5d1961(0x5bf)]}],se={[s['ChartTrendlineType']['linear']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x556)],{}),[s[_0x5d1961(0x5e7)][_0x5d1961(0x5ee)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x279)],{}),[s[_0x5d1961(0x5e7)]['log']]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x1cb)],{}),[s[_0x5d1961(0x5e7)][_0x5d1961(0x1e7)]]:(0x0,h['jsx'])(r[_0x5d1961(0x3f0)],{}),[s['ChartTrendlineType'][_0x5d1961(0x395)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x274)],{}),[s[_0x5d1961(0x5e7)][_0x5d1961(0x5bf)]]:(0x0,h[_0x5d1961(0x433)])(r[_0x5d1961(0x3f9)],{})},ce=[0x2,0x3,0x4,0x5,0x6][_0x5d1961(0x2cf)](_0x1375df=>({'label':''+_0x1375df,'value':String(_0x1375df)})),le=[s['SeriesLabelPosition'][_0x5d1961(0x338)],s[_0x5d1961(0x384)][_0x5d1961(0x1fb)],s[_0x5d1961(0x384)][_0x5d1961(0x5bb)],s[_0x5d1961(0x384)][_0x5d1961(0x4ab)],s['SeriesLabelPosition'][_0x5d1961(0x4ff)],s[_0x5d1961(0x384)]['Bottom']][_0x5d1961(0x2cf)](_0x2cd87e=>({'label':_0x5d1961(0x653)+_0x2cd87e,'value':_0x2cd87e})),ue=[s[_0x5d1961(0x41c)][_0x5d1961(0x1fb)],s[_0x5d1961(0x41c)]['Outside']][_0x5d1961(0x2cf)](_0x50e3e6=>({'label':_0x5d1961(0x653)+_0x50e3e6,'value':_0x50e3e6})),de=[s[_0x5d1961(0x36b)][_0x5d1961(0x4ff)],s[_0x5d1961(0x36b)][_0x5d1961(0x375)],s['LegendPositionEnum'][_0x5d1961(0x5bb)],s['LegendPositionEnum']['Right'],s[_0x5d1961(0x36b)][_0x5d1961(0x370)]][_0x5d1961(0x2cf)](_0x206307=>({'label':'chart.positionType.'+_0x206307,'value':_0x206307})),fe=[s[_0x5d1961(0x609)]['Single'],s[_0x5d1961(0x609)][_0x5d1961(0x616)],s[_0x5d1961(0x609)][_0x5d1961(0x308)]][_0x5d1961(0x2cf)](_0x338c35=>({'label':_0x5d1961(0x62f)+_0x338c35,'value':_0x338c35})),pe=['continuous',_0x5d1961(0x66e)][_0x5d1961(0x2cf)](_0x42a291=>({'label':_0x5d1961(0x52b)+_0x42a291,'value':_0x42a291})),me=[s[_0x5d1961(0x347)]['Top'],s['TitlePositionEnum'][_0x5d1961(0x375)],s['TitlePositionEnum'][_0x5d1961(0x5bb)],s[_0x5d1961(0x347)][_0x5d1961(0x4ab)],s['TitlePositionEnum']['Hide']]['map'](_0x4f527b=>({'label':_0x5d1961(0x653)+_0x4f527b,'value':_0x4f527b})),he=[s[_0x5d1961(0x2cd)][_0x5d1961(0x590)],s[_0x5d1961(0x2cd)][_0x5d1961(0x669)],s[_0x5d1961(0x2cd)]['End']][_0x5d1961(0x2cf)](_0x40c425=>({'label':_0x5d1961(0x612)+_0x40c425,'value':_0x40c425}));[s[_0x5d1961(0x5ac)][_0x5d1961(0x5bb)],s[_0x5d1961(0x5ac)]['Center'],s[_0x5d1961(0x5ac)][_0x5d1961(0x4ab)]][_0x5d1961(0x2cf)](_0x77656f=>({'label':_0x5d1961(0x5d6)+_0x77656f,'value':_0x77656f})),[s[_0x5d1961(0x465)][_0x5d1961(0x4ff)],s[_0x5d1961(0x465)][_0x5d1961(0x3d1)],s[_0x5d1961(0x465)]['Bottom']][_0x5d1961(0x2cf)](_0x448f69=>({'label':_0x5d1961(0x215)+_0x448f69,'value':_0x448f69}));const ge=[{'value':_0x5d1961(0x315),'label':_0x5d1961(0x3f3)},{'value':'yAxis','label':'chart.axes.verticalAxis'},{'value':'rightYAxis','label':'chart.axes.rightAxis'}],G=[0x1,0x2,0x3][_0x5d1961(0x2cf)](_0x3f9c67=>({'label':_0x3f9c67+'px','value':String(_0x3f9c67)})),_e=[{'label':_0x5d1961(0x41b),'value':''},{'label':_0x5d1961(0x282),'value':s[_0x5d1961(0x5ef)][_0x5d1961(0x266)]},{'label':_0x5d1961(0x559),'value':s[_0x5d1961(0x5ef)][_0x5d1961(0x442)]}],ve=[{'label':'chart.lineType.line','value':s[_0x5d1961(0x5e1)]['Line']},{'label':_0x5d1961(0x344),'value':s[_0x5d1961(0x5e1)]['Smooth']},{'label':'chart.lineType.step','value':s[_0x5d1961(0x5e1)][_0x5d1961(0x49c)]}],K=[0x0,0.25,0.5,0.75][_0x5d1961(0x2cf)](_0x4282df=>({'label':_0x4282df*0x64+'%','value':String(_0x4282df)})),ye=[{'label':_0x5d1961(0x474),'value':s['RadarShape'][_0x5d1961(0x543)]},{'label':_0x5d1961(0x343),'value':s['RadarShape']['Circle']}],be=[{'label':_0x5d1961(0x2ce),'value':s[_0x5d1961(0x60f)][_0x5d1961(0x2f1)]},{'label':_0x5d1961(0x647),'value':s[_0x5d1961(0x60f)][_0x5d1961(0x562)]},{'label':_0x5d1961(0x33f),'value':s['InvalidValueType'][_0x5d1961(0x51a)]}],q=[s[_0x5d1961(0x588)][_0x5d1961(0x2cb)],s[_0x5d1961(0x588)][_0x5d1961(0x1e4)],s['LabelContentType'][_0x5d1961(0x655)],s['LabelContentType'][_0x5d1961(0x54b)]],J=[{'label':'chart.category','value':s[_0x5d1961(0x588)][_0x5d1961(0x2cb)]},{'label':_0x5d1961(0x1eb),'value':s[_0x5d1961(0x588)][_0x5d1961(0x1e4)]},{'label':_0x5d1961(0x3e8),'value':s[_0x5d1961(0x588)]['Value']},{'label':'chart.percentage','value':s[_0x5d1961(0x588)][_0x5d1961(0x54b)]}][_0x5d1961(0x2cf)](_0x590b2b=>({..._0x590b2b,'value':String(_0x590b2b[_0x5d1961(0x3b4)])})),xe=J[_0x5d1961(0x632)](_0x2ca55a=>_0x2ca55a[_0x5d1961(0x3b4)]!==String(s[_0x5d1961(0x588)][_0x5d1961(0x1e4)])),Y=[0x6,0xc,0x12,0x18][_0x5d1961(0x2cf)](_0x4cb049=>({'label':_0x4cb049+'px','value':String(_0x4cb049)})),Se=[0x1,0x2,0x4,0x8][_0x5d1961(0x2cf)](_0x4eaf56=>({'label':_0x4eaf56+'px','value':String(_0x4eaf56)})),Ce=[{'label':'chart.relation.auto','value':_0x5d1961(0x4d9)},{'label':'chart.relation.circular','value':_0x5d1961(0x1c7)},{'label':'chart.relation.force','value':_0x5d1961(0x3da)}],we=[{'label':_0x5d1961(0x55a),'suffix':_0x5d1961(0x269)},{'label':'1930/08/05','suffix':'yyyy/MM/dd'},{'label':_0x5d1961(0x3b9),'suffix':_0x5d1961(0x211)},{'label':_0x5d1961(0x5f4),'suffix':_0x5d1961(0x4c7)},{'label':_0x5d1961(0x40d),'suffix':_0x5d1961(0x26f)},{'label':_0x5d1961(0x445),'suffix':_0x5d1961(0x4d5)},{'label':_0x5d1961(0x207),'suffix':_0x5d1961(0x522)},{'label':_0x5d1961(0x532),'suffix':'A/P\x20hh:mm'},{'label':_0x5d1961(0x66f),'suffix':_0x5d1961(0x402)},{'label':_0x5d1961(0x234),'suffix':'A/P\x20h:mm:ss'},{'label':_0x5d1961(0x451),'suffix':_0x5d1961(0x4b7)}],Te=[{'label':'(1,235)','suffix':_0x5d1961(0x487)},{'label':_0x5d1961(0x52f),'suffix':_0x5d1961(0x2f8),'color':_0x5d1961(0x257)},{'label':_0x5d1961(0x58c),'suffix':_0x5d1961(0x502)},{'label':_0x5d1961(0x58c),'suffix':_0x5d1961(0x555),'color':_0x5d1961(0x257)},{'label':'-1,234.56','suffix':_0x5d1961(0x2db)},{'label':_0x5d1961(0x62d),'suffix':_0x5d1961(0x620),'color':_0x5d1961(0x257)}],Ee=[{'label':_0x228318=>_0x228318+_0x5d1961(0x3a4),'suffix':_0x122144=>'\x22'+_0x122144+'\x22#,##0.00_);\x22'+_0x122144+'\x22#,##0.00'},{'label':_0x56fa67=>_0x56fa67+_0x5d1961(0x3a4),'suffix':_0x18dd29=>'\x22'+_0x18dd29+'\x22#,##0.00_);[Red]\x22'+_0x18dd29+_0x5d1961(0x371),'color':'red'},{'label':_0x507be3=>'('+_0x507be3+_0x5d1961(0x59b),'suffix':_0x2746d1=>'\x22'+_0x2746d1+_0x5d1961(0x641)+_0x2746d1+_0x5d1961(0x37c)},{'label':_0x52d7f3=>'('+_0x52d7f3+_0x5d1961(0x59b),'suffix':_0x44d288=>'\x22'+_0x44d288+_0x5d1961(0x27a)+_0x44d288+_0x5d1961(0x37c),'color':_0x5d1961(0x257)},{'label':_0x3762f0=>'-'+_0x3762f0+_0x5d1961(0x3a4),'suffix':_0x34c8ed=>'\x22'+_0x34c8ed+_0x5d1961(0x3a7)+_0x34c8ed+_0x5d1961(0x371)},{'label':_0x1398ce=>'-'+_0x1398ce+_0x5d1961(0x3a4),'suffix':_0x35b1b0=>'\x22'+_0x35b1b0+'\x22#,##0.00_);[Red]-\x22'+_0x35b1b0+_0x5d1961(0x371),'color':_0x5d1961(0x257)}],De=_0x5d1961(0x667)[_0x5d1961(0x2ea)]('.'),Oe=_0x5d1961(0x57d),ke=_0x5d1961(0x458),Ae=[{'label':_0x5d1961(0x597),'value':s[_0x5d1961(0x367)][_0x5d1961(0x369)]},{'label':'chart.waterfall.stacked','value':s[_0x5d1961(0x367)][_0x5d1961(0x266)]}];function X(_0x3bbd5b,_0x2833df){const _0x453558=_0x5d1961;let {t:_0x464396}=_0x3bbd5b;return _0x2833df[_0x453558(0x2cf)](_0x552d57=>({..._0x552d57,'label':_0x464396(_0x552d57[_0x453558(0x57f)])}));}const je=_0xc6693e=>{const _0x1d31c0=_0x5d1961;let {className:_0x59024e,service:_0x46bb2d,localeService:_0x542768}=_0xc6693e,[_0x51fe80,_0x21e0e8]=M(_0x1d31c0(0x59c),_0x46bb2d),[_0x6e1f13,_0x565a5c]=M(_0x1d31c0(0x412),_0x46bb2d),_0x102f61=X(_0x542768,ye);return(0x0,h[_0x1d31c0(0x5a7)])('div',{'className':_0x59024e,'children':[(0x0,h[_0x1d31c0(0x433)])(_0x1d31c0(0x3aa),{'children':(0x0,h[_0x1d31c0(0x433)])(d[_0x1d31c0(0x316)],{'value':_0x51fe80==null?s[_0x1d31c0(0x398)][_0x1d31c0(0x3ae)][_0x1d31c0(0x4af)]:_0x51fe80,'items':_0x102f61,'onChange':_0x21e0e8})}),(0x0,h[_0x1d31c0(0x433)])('div',{'className':_0x1d31c0(0x247),'children':(0x0,h['jsx'])(d[_0x1d31c0(0x3b0)],{'checked':!!_0x6e1f13,'onChange':_0x1368d3=>{_0x565a5c(!!_0x1368d3);},'children':_0x542768['t']('chart.fill')})})]});},Me=_0x2da1a5=>{const _0x4c6aa3=_0x5d1961;var _0x46bcb0,_0x3746bd,_0x460ab6;let {service:_0x41acb2,localeService:_0x4de7c4}=_0x2da1a5,[_0x20c931]=M(_0x4c6aa3(0x2d5),_0x41acb2),[_0x2b2b45]=M('categoryList',_0x41acb2),[_0x4d1860]=M(_0x4c6aa3(0x52e),_0x41acb2),[_0x6d5757,_0x5040be]=M(_0x4c6aa3(0x245),_0x41acb2),[_0x34ccf5,_0x41b38c]=M(_0x4c6aa3(0x659),_0x41acb2),[_0x5efbd5,_0x6a5428]=M('bubbleLabel',_0x41acb2),[_0x4d3339,_0x1cb69a]=M(_0x4c6aa3(0x434),_0x41acb2),_0x24830d=_0x4de7c4['t'],[_0x5c941a,_0x2fcc9e]=M(_0x4c6aa3(0x31c),_0x41acb2),_0x3452a3=_0x4b9da3=>{_0x2fcc9e(_0x4b9da3);};return(0x0,h[_0x4c6aa3(0x5a7)])(_0x4c6aa3(0x3aa),{'className':'univer-mb-2','children':[(0x0,h[_0x4c6aa3(0x433)])('div',{'className':_0x4c6aa3(0x53b),'children':_0x24830d(_0x4c6aa3(0x223))}),(0x0,h['jsx'])(d[_0x4c6aa3(0x5db)],{'className':_0x4c6aa3(0x3c6),'value':typeof _0x5efbd5=='number'?String(_0x5efbd5):'','options':_0x2b2b45||[],'onChange':_0x5b5db3=>_0x6a5428(Number(_0x5b5db3))}),(0x0,h[_0x4c6aa3(0x433)])('div',{'className':_0x4c6aa3(0x53b),'children':_0x24830d(_0x4c6aa3(0x5ad))}),(0x0,h['jsx'])(d['Select'],{'className':_0x4c6aa3(0x3c6),'value':_0x6d5757===void 0x0?(_0x46bcb0=(_0x4d1860||[])[0x0])==null?void 0x0:_0x46bcb0[_0x4c6aa3(0x3b4)]:String(_0x6d5757),'options':_0x4d1860||[],'onChange':_0x3cfe75=>_0x5040be(Number(_0x3cfe75))}),(0x0,h[_0x4c6aa3(0x433)])(_0x4c6aa3(0x3aa),{'className':_0x4c6aa3(0x53b),'children':_0x24830d('chart.bubble.yAxis')}),(0x0,h[_0x4c6aa3(0x433)])(d[_0x4c6aa3(0x5db)],{'className':_0x4c6aa3(0x3c6),'value':_0x34ccf5===void 0x0?(_0x3746bd=(_0x4d1860||[])[0x1])==null?void 0x0:_0x3746bd[_0x4c6aa3(0x3b4)]:String(_0x34ccf5),'options':_0x4d1860,'onChange':_0x53cf17=>{_0x41b38c(Number(_0x53cf17));}}),(0x0,h['jsx'])('div',{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x24830d(_0x4c6aa3(0x1eb))}),(0x0,h[_0x4c6aa3(0x433)])(d[_0x4c6aa3(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x4d3339===void 0x0?'':String(_0x4d3339),'options':_0x2b2b45,'onChange':_0x32d3cf=>{_0x1cb69a(Number(_0x32d3cf));}}),(0x0,h['jsx'])('div',{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x24830d(_0x4c6aa3(0x3cb))}),(0x0,h[_0x4c6aa3(0x433)])(d[_0x4c6aa3(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5c941a?String(_0x5c941a):(_0x460ab6=(_0x4d1860||[])[0x2])==null?void 0x0:_0x460ab6[_0x4c6aa3(0x3b4)],'options':_0x20c931,'onChange':_0x3ccbfd=>_0x3452a3(Number(_0x3ccbfd))})]});},Ne=_0x554cfc=>_0x554cfc[_0x5d1961(0x5af)](t[_0x5d1961(0x539)][_0x5d1961(0x3e3)])[_0x5d1961(0x5d0)](),Pe=_0x3897a3=>{const _0x4f02a9=_0x5d1961;var _0x326a83;return(_0x326a83=_0x3897a3[_0x4f02a9(0x5af)](t[_0x4f02a9(0x539)]['UNIVER_SHEET'])[_0x4f02a9(0x567)]())==null?void 0x0:_0x326a83['getSheetId']();},Fe=[s[_0x5d1961(0x5bd)]['Area'],s[_0x5d1961(0x5bd)]['Bar']];function Ie(_0x3e667a){const _0x14ca14=_0x5d1961;return(0x0,h[_0x14ca14(0x433)])(h[_0x14ca14(0x61e)],{'children':_0x3e667a['map'](_0x3c46d4=>(0x0,h['jsx'])(_0x14ca14(0x3aa),{'className':_0x14ca14(0x54e),'style':{'backgroundColor':_0x3c46d4}},_0x3c46d4))});}function Le(_0x1bd57a,_0x178741){const _0x1d2f27=_0x5d1961;return _0x1bd57a[_0x1d2f27(0x2cf)](_0x17f39d=>({'label':(0x0,h[_0x1d2f27(0x433)])(_0x1d2f27(0x3aa),{'className':_0x1d2f27(0x335),'children':Ie(_0x178741[_0x1d2f27(0x340)](_0x17f39d))}),'value':_0x17f39d}));}const Z=({title:_0x1f84a3})=>(0x0,h[_0x5d1961(0x433)])(_0x5d1961(0x3aa),{'className':_0x5d1961(0x464),'children':_0x1f84a3}),Re=()=>{const _0xf957b9=_0x5d1961;var _0x5e9401;let _0x3e4411=j(),_0x40b487=(0x0,o[_0xf957b9(0x615)])(t['IUniverInstanceService']),_0x2a3263=(0x0,o[_0xf957b9(0x615)])(t[_0xf957b9(0x2f7)]),_0x3750e1=(0x0,o[_0xf957b9(0x615)])(s[_0xf957b9(0x244)]),_0x5d9e78=_0x3750e1[_0xf957b9(0x64e)](),_0xbd4fca=(0x0,e[_0xf957b9(0x20f)])((0x0,o['useDependency'])(t[_0xf957b9(0x457)])),_0x139f04=(0x0,f['useMemo'])(()=>L(F[_0xf957b9(0x2de)](),_0xbd4fca)[_0xf957b9(0x2cf)](_0x5340c6=>({'label':(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':'univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','children':[(0x0,h[_0xf957b9(0x433)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-text-base','children':ee==null?void 0x0:ee[_0x5340c6['value']]}),(0x0,h[_0xf957b9(0x433)])('div',{'className':'univer-text-sm\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x2a3263['t'](_0x5340c6[_0xf957b9(0x57f)])})]}),'value':String(_0x5340c6[_0xf957b9(0x3b4)])})),[_0x2a3263]),[_0x315470,_0x3a616d]=(0x0,f[_0xf957b9(0x3dd)])(!0x1);(0x0,f['useEffect'])(()=>{_0x3e4411['rangeSelectMode']=_0x315470;},[_0x315470]);let _0x2caf94=X(_0x2a3263,be),_0x1b2a12=X(_0x2a3263,_e),_0x655727=X(_0x2a3263,ve),_0xbfb8d5=X(_0x2a3263,Ae),_0x2b5673=Le(_0x5d9e78,_0x3750e1),_0x388bf8=Ne(_0x40b487),_0x36c61e=Pe(_0x40b487),_0x51d442=(0x0,o['useDependency'])(t[_0xf957b9(0x2a6)]),[_0x3af5d6,_0x72a199]=M(_0xf957b9(0x4e6),_0x3e4411),[_0x2e63b2,_0x89ad79]=M(_0xf957b9(0x5b1),_0x3e4411),[_0xe08bf4,_0x20962a]=M(_0xf957b9(0x2a5),_0x3e4411),[_0x564011,_0x100287]=M(_0xf957b9(0x2f2),_0x3e4411),[_0x117b32]=M(_0xf957b9(0x5d8),_0x3e4411),[_0x357965]=M(_0xf957b9(0x3e0),_0x3e4411),[_0x485c06,_0x6d0457]=M(_0xf957b9(0x668),_0x3e4411),[_0x380f81]=M('seriesResourceList',_0x3e4411),[_0x4360d4,_0x277390]=M('waterfallStack',_0x3e4411),[_0x247fc8,_0x50649d]=M('useSubtotal',_0x3e4411),[_0x5ce4bc,_0x4c0ff2]=M(_0xf957b9(0x5b5),_0x3e4411),[_0x1d0e82,_0x8c6c4]=M(_0xf957b9(0x5a1),_0x3e4411),[_0x47c0a8,_0x49f8ad]=M(_0xf957b9(0x1d0),_0x3e4411),[_0x4d5263,_0x111196]=M(_0xf957b9(0x51f),_0x3e4411),_0x3de587=(0x0,f['useMemo'])(()=>_0x4d5263===void 0x0?_0x3af5d6?s[_0xf957b9(0x22c)][_0xf957b9(0x355)](_0x3af5d6,s[_0xf957b9(0x5bd)]['Area']):!0x1:_0x4d5263,[_0x4d5263,_0x3af5d6]),[_0x536513,_0x13b9f0]=M(_0xf957b9(0x508),_0x3e4411),[_0x25a280,_0x1a2a48]=M(_0xf957b9(0x1f0),_0x3e4411),[_0x144736,_0x581b4b]=M(_0xf957b9(0x60d),_0x3e4411),[_0x569fad,_0x5cc868]=M(_0xf957b9(0x1e1),_0x3e4411),[_0x161ce2,_0x5fd762]=M(_0xf957b9(0x4d4),_0x3e4411),_0x56d1eb=_0x3af5d6&&Fe['some'](_0x25c36d=>s['chartBitsUtils'][_0xf957b9(0x355)](_0x3af5d6,_0x25c36d)),_0x1e60cb=_0x3af5d6&&[s[_0xf957b9(0x5bd)]['Area'],s['ChartTypeBits'][_0xf957b9(0x40c)]][_0xf957b9(0x43f)](_0x1e48f9=>s[_0xf957b9(0x22c)]['baseOn'](_0x3af5d6,_0x1e48f9)),_0x428c66=_0x3af5d6&&[s[_0xf957b9(0x5bd)][_0xf957b9(0x40c)],s[_0xf957b9(0x5bd)]['Radar'],s[_0xf957b9(0x5bd)][_0xf957b9(0x578)],s[_0xf957b9(0x5bd)][_0xf957b9(0x584)]][_0xf957b9(0x414)](_0x1b9f66=>_0x1b9f66!==_0x3af5d6),_0x53b7e2=_0x117b32===s['CategoryType'][_0xf957b9(0x24a)]||typeof _0x564011!='number',_0xde41fd=_0x3af5d6&&[s[_0xf957b9(0x5bd)][_0xf957b9(0x3f6)],s['ChartTypeBits']['Doughnut']][_0xf957b9(0x43f)](_0x107c5d=>_0x3af5d6===_0x107c5d),_0x33fae3=!_0xde41fd||_0xde41fd&&_0x485c06&&(_0x485c06==null?void 0x0:_0x485c06[_0xf957b9(0x644)])<0x1,_0xaf563b=_0x3af5d6&&s[_0xf957b9(0x22c)][_0xf957b9(0x355)](_0x3af5d6,s[_0xf957b9(0x5bd)]['Waterfall']),_0xa60910=_0x3af5d6&&(0x0,s[_0xf957b9(0x551)])(_0x3af5d6),[_0x51e587,_0x1997f1]=M(_0xf957b9(0x66b),_0x3e4411),_0x2aedea=_0x3af5d6&&_0x3af5d6===s[_0xf957b9(0x5bd)][_0xf957b9(0x48a)],_0x156ac7=_0x3af5d6&&_0x3af5d6===s['ChartTypeBits'][_0xf957b9(0x426)],_0x34d3cd=_0x3af5d6&&_0x3af5d6===s[_0xf957b9(0x5bd)][_0xf957b9(0x363)],_0x3e82bc=_0x3af5d6&&_0x3af5d6===s[_0xf957b9(0x5bd)][_0xf957b9(0x42a)],_0x1f2b94=_0x3af5d6&&s[_0xf957b9(0x22c)][_0xf957b9(0x355)](_0x3af5d6,s[_0xf957b9(0x5bd)][_0xf957b9(0x200)]),_0x4f94b9=_0x2f1c77=>{const _0x44d77f=_0xf957b9;_0x51e587&&_0x1997f1(_0x51e587[_0x44d77f(0x632)]((_0x45e5a8,_0x24f1c3)=>_0x24f1c3!==_0x2f1c77));},_0x4d84d3=(_0x303947,_0x784200)=>{const _0x54a7bb=_0xf957b9;if(_0x51e587){_0x51e587[_0x303947][_0x54a7bb(0x50d)]=_0x784200;let _0xcc1f85=(_0x380f81==null?void 0x0:_0x380f81[_0x784200]['label'])||'';_0xcc1f85&&(_0x51e587[_0x303947][_0x54a7bb(0x2c5)]=_0x55ce77(_0x54a7bb(0x403))+'-'+_0x55ce77(_0x54a7bb(0x45d))+'-('+_0xcc1f85+')'),_0x1997f1(_0x51e587[_0x54a7bb(0x272)]());}},_0x111db9=!!(_0x3af5d6&&s['chartBitsUtils'][_0xf957b9(0x355)](_0x3af5d6,s['ChartTypeBits'][_0xf957b9(0x2a3)])),_0xcbfefc=ie,[_0xe9374a,_0x232fb2]=(0x0,f[_0xf957b9(0x3dd)])(!0x1),_0x5f2d74=(0x0,f[_0xf957b9(0x4e1)])(()=>(0x0,t[_0xf957b9(0x42f)])(async _0x500543=>{const _0x5885de=_0xf957b9;var _0x14c56b;if(N(_0x2e63b2,_0x40b487)===_0x500543)return;let {unitId:_0x23dbb7,sheetName:_0x9ebacd,range:_0x5d4b59}=_0x500543[_0x5885de(0x2ea)](',')[_0x5885de(0x632)](_0x451567=>!!_0x451567)[_0x5885de(0x2cf)](p[_0x5885de(0x4b3)])[0x0],_0x5003a=_0x23dbb7||_0x388bf8;_0x89ad79({'rangeInfo':{'range':_0x5d4b59,'unitId':_0x5003a,'subUnitId':((_0x14c56b=_0x40b487['getUnit'](_0x5003a)[_0x5885de(0x604)](_0x9ebacd))==null?void 0x0:_0x14c56b['getSheetId']())||(_0x2e63b2==null?void 0x0:_0x2e63b2[_0x5885de(0x290)][_0x5885de(0x28d)])},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x89ad79,_0x388bf8,_0x40b487]),_0x547fc2=_0x16b04e=>{_0x485c06&&_0x6d0457(_0x485c06['filter']((_0x3dcadb,_0x5ab254)=>_0x5ab254!==_0x16b04e));},{t:_0x55ce77}=_0x2a3263,_0x1eae92=_0x3af5d6&&(s['chartBitsUtils'][_0xf957b9(0x55d)](_0x3af5d6,s[_0xf957b9(0x3d4)][_0xf957b9(0x2d9)])?s[_0xf957b9(0x5ef)]['Percent']:s[_0xf957b9(0x22c)][_0xf957b9(0x55d)](_0x3af5d6,s['ChartAttributeBits'][_0xf957b9(0x59f)])?s['StackType'][_0xf957b9(0x266)]:void 0x0),_0x33b209=!!(_0x3af5d6&&s[_0xf957b9(0x22c)][_0xf957b9(0x355)](_0x3af5d6,s['ChartTypeBits'][_0xf957b9(0x578)])),_0x2bed1c=(0x0,f[_0xf957b9(0x66c)])(_0x278200=>{const _0x46e547=_0xf957b9;if(!_0x3af5d6)return;let _0x20045b=_0x278200,_0x3fc7f2=s[_0x46e547(0x22c)]['remove'](_0x3af5d6,s['ChartAttributeBits'][_0x46e547(0x2d9)]);switch(_0x20045b){case s[_0x46e547(0x5ef)][_0x46e547(0x266)]:_0x72a199(_0x3fc7f2|s['ChartAttributeBits'][_0x46e547(0x59f)]);break;case s['StackType'][_0x46e547(0x442)]:_0x72a199(_0x3fc7f2|s[_0x46e547(0x3d4)][_0x46e547(0x2d9)]);break;default:_0x72a199(_0x3fc7f2);break;}},[_0x3af5d6]);return(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'children':[(0x0,h[_0xf957b9(0x5a7)])('div',{'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x518))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5db)],{'className':_0xf957b9(0x3c6),'value':_0x3af5d6?String(_0x3af5d6):'','options':_0x139f04,'onChange':_0x147fef=>_0x72a199(Number(_0x147fef))})]}),_0x3af5d6&&(s[_0xf957b9(0x22c)][_0xf957b9(0x355)](_0x3af5d6,s[_0xf957b9(0x5bd)][_0xf957b9(0x3f4)])||s[_0xf957b9(0x22c)][_0xf957b9(0x355)](_0x3af5d6,s[_0xf957b9(0x5bd)]['Line']))&&(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x316)],{'items':_0x655727,'className':_0xf957b9(0x247),'value':_0xe08bf4==null?s['defaultChartConfig'][_0xf957b9(0x44f)][_0xf957b9(0x587)]:_0xe08bf4,'onChange':_0x20962a}),_0x3af5d6===s['ChartTypeBits'][_0xf957b9(0x216)]&&(0x0,h[_0xf957b9(0x433)])(je,{'localeService':_0x2a3263,'service':_0x3e4411,'className':_0xf957b9(0x247)}),(0x0,h['jsxs'])(_0xf957b9(0x3aa),{'children':[(0x0,h['jsx'])(Z,{'title':_0x55ce77(_0xf957b9(0x499))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x47c0a8?String(_0x47c0a8):'','options':_0x2b5673,'onChange':_0x2bc341=>{_0x49f8ad(_0x2bc341);}})]}),_0xaf563b&&(0x0,h[_0xf957b9(0x5a7)])(h[_0xf957b9(0x61e)],{'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x5ec))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5db)],{'className':_0xf957b9(0x3c6),'value':_0x4360d4==null?s[_0xf957b9(0x398)][_0xf957b9(0x393)][_0xf957b9(0x4dd)]:_0x4360d4,'options':_0xbfb8d5,'onChange':_0x1ab6aa=>{_0x277390(_0x1ab6aa);}}),(0x0,h[_0xf957b9(0x433)])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x5e3),'children':(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x3b0)],{'checked':_0x247fc8==null?s[_0xf957b9(0x398)][_0xf957b9(0x393)][_0xf957b9(0x538)]:_0x247fc8,'onChange':_0x134503=>_0x50649d(!!_0x134503),'children':_0x55ce77(_0xf957b9(0x636))})})]}),_0x428c66&&!_0x33b209&&!_0x111db9&&!_0x2aedea&&!_0x156ac7&&!_0x34d3cd&&!_0x3e82bc&&(0x0,h['jsx'])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x5e3),'children':(0x0,h[_0xf957b9(0x433)])(d['Checkbox'],{'checked':!!_0x3de587,'onChange':_0x124fa2=>_0x111196(!!_0x124fa2),'children':_0x55ce77('chart.gradientFill')})}),_0x111db9&&(0x0,h[_0xf957b9(0x5a7)])('div',{'className':_0xf957b9(0x381),'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x60b))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x569fad==null?s[_0xf957b9(0x398)][_0xf957b9(0x42e)][_0xf957b9(0x2d1)]:_0x569fad),'options':_0xcbfefc,'onChange':_0x689536=>_0x5cc868(Number(_0x689536))}),(0x0,h['jsx'])('div',{'className':'univer-mt-2-base','children':(0x0,h[_0xf957b9(0x433)])(d['Checkbox'],{'checked':_0x161ce2==null?!0x1:_0x161ce2,'onChange':_0x3c2b08=>{_0x5fd762(!!_0x3c2b08);},'children':_0x55ce77(_0xf957b9(0x256))})})]}),_0x56d1eb&&(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x45a))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5db)],{'className':_0xf957b9(0x3c6),'value':_0x1eae92||'','options':_0x1b2a12,'onChange':_0x2bed1c})]}),(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'children':[(0x0,h['jsx'])(Z,{'title':_0x55ce77(_0xf957b9(0x48b))}),(0x0,h['jsx'])(m[_0xf957b9(0x28e)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x388bf8,'subUnitId':_0x36c61e,'initialValue':_0x2e63b2?N(_0x2e63b2,_0x40b487):'','onChange':(_0x34117e,_0x2a7bd9)=>_0x5f2d74(_0x2a7bd9),'onFocusChange':_0x58879c=>{_0xe9374a||_0x3a616d(_0x58879c);},'onRangeSelectorDialogVisibleChange':_0x5d9056=>{_0x5d9056?(_0x232fb2(!0x0),_0x3a616d(!0x0)):_0x232fb2(!0x1);}})]}),!_0x1f2b94&&!_0x2aedea&&!_0x156ac7&&!_0x34d3cd&&!_0x3e82bc&&(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x2a2))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5db)],{'className':_0xf957b9(0x3c6),'value':typeof _0x564011==_0xf957b9(0x4cf)?String(_0x564011):'','options':_0x357965||[],'onChange':_0x3f944b=>_0x100287(Number(_0x3f944b))})]}),(0x0,h['jsxs'])('div',{'children':[!_0x1f2b94&&!_0x2aedea&&!_0x156ac7&&!_0x34d3cd&&!_0x3e82bc&&(0x0,h[_0xf957b9(0x5a7)])(h[_0xf957b9(0x61e)],{'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x1eb))}),(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':'univer-mt-2','children':[_0x485c06==null?void 0x0:_0x485c06[_0xf957b9(0x2cf)]((_0x55d36e,_0x57fd3c)=>(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x429),'children':[(0x0,h['jsx'])(d[_0xf957b9(0x5db)],{'className':_0xf957b9(0x3c6),'value':String(_0x55d36e),'options':_0x380f81,'onChange':_0x1c1b16=>{const _0x1e801e=_0xf957b9;_0x485c06[_0x57fd3c]=Number(_0x1c1b16),_0x6d0457(_0x485c06[_0x1e801e(0x272)]());}}),(0x0,h[_0xf957b9(0x433)])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x2f5),'onClick':()=>_0x547fc2(_0x57fd3c),'children':(0x0,h[_0xf957b9(0x433)])(r[_0xf957b9(0x617)],{})})]},_0x57fd3c)),_0x33fae3&&_0x380f81&&!_0x156ac7&&!_0x34d3cd&&!_0x3e82bc&&(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x1f4)],{'className':_0xf957b9(0x5f0),'items':_0x380f81[_0xf957b9(0x2cf)](_0x51cbea=>({'type':_0xf957b9(0x425),'children':_0x51cbea[_0xf957b9(0x57f)],'onSelect':()=>{const _0x1ec6ed=_0xf957b9;_0x6d0457([..._0x485c06||[],Number(_0x51cbea[_0x1ec6ed(0x3b4)])]);}})),'children':(0x0,h[_0xf957b9(0x5a7)])('a',{'className':'univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','children':[(0x0,h[_0xf957b9(0x433)])(r[_0xf957b9(0x2b5)],{'className':_0xf957b9(0x4ae)}),(0x0,h[_0xf957b9(0x433)])(_0xf957b9(0x39c),{'className':_0xf957b9(0x3e4),'children':_0x55ce77(_0xf957b9(0x252))})]})})]})]}),_0xa60910&&!_0x1f2b94&&!_0x2aedea&&!_0x156ac7&&!_0x34d3cd&&!_0x3e82bc&&(0x0,h[_0xf957b9(0x5a7)])(h[_0xf957b9(0x61e)],{'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77('chart.trendline.name')}),(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':'univer-mt-2','children':[_0x51e587==null?void 0x0:_0x51e587[_0xf957b9(0x2cf)]((_0x1f98b7,_0x5eb495)=>(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':'univer-mb-2\x20univer-flex\x20univer-items-center','children':[(0x0,h['jsx'])(d[_0xf957b9(0x5db)],{'className':_0xf957b9(0x3c6),'value':String(_0x1f98b7[_0xf957b9(0x2c5)]),'options':_0x380f81,'onChange':_0x5c44a7=>{_0x4d84d3(_0x5eb495,Number(_0x5c44a7)-0x1);}}),(0x0,h[_0xf957b9(0x433)])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x2f5),'onClick':()=>_0x4f94b9(_0x5eb495),'children':(0x0,h[_0xf957b9(0x433)])(r[_0xf957b9(0x617)],{})})]},_0x5eb495)),_0xa60910&&_0x380f81&&(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x1f4)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x380f81['map'](_0x2a3d39=>({'type':'item','children':_0x2a3d39['label'],'onSelect':()=>{const _0x243a81=_0xf957b9;let _0x5b766a={'seriesIndex':Number(_0x2a3d39[_0x243a81(0x3b4)])-0x1,'type':s[_0x243a81(0x5e7)][_0x243a81(0x5e5)],'name':_0x55ce77(_0x243a81(0x403))+'-'+_0x55ce77(_0x243a81(0x45d))+'-('+_0x2a3d39[_0x243a81(0x57f)]+')'};_0x1997f1([..._0x51e587||[],_0x5b766a]);}})),'children':(0x0,h[_0xf957b9(0x5a7)])('a',{'className':_0xf957b9(0x1ff),'children':[(0x0,h[_0xf957b9(0x433)])(r[_0xf957b9(0x2b5)],{'className':_0xf957b9(0x4ae)}),(0x0,h[_0xf957b9(0x433)])(_0xf957b9(0x39c),{'className':_0xf957b9(0x3e4),'children':_0x55ce77(_0xf957b9(0x5d5))})]})})]})]}),_0x34d3cd&&(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x247),'children':[(0x0,h[_0xf957b9(0x433)])(Z,{'title':_0x55ce77(_0xf957b9(0x213))}),(0x0,h[_0xf957b9(0x5a7)])('div',{'className':_0xf957b9(0x381),'children':[(0x0,h['jsx'])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x4fb),'children':_0x55ce77('chart.min')}),(0x0,h[_0xf957b9(0x433)])(d['InputNumber'],{'value':_0x5ce4bc==null?void 0x0:_0x5ce4bc,'onChange':_0x37e723=>{const _0x507075=_0xf957b9;_0x51d442[_0x507075(0x5d7)](t[_0x507075(0x481)],!0x1),_0x4c0ff2(Number[_0x507075(0x5c7)](_0x37e723)?null:Number(_0x37e723));},'onFocus':()=>_0x51d442[_0xf957b9(0x5d7)](t[_0xf957b9(0x481)],!0x0),'onBlur':_0x438d49=>{const _0x5affc4=_0xf957b9;_0x51d442[_0x5affc4(0x5d7)](t[_0x5affc4(0x481)],!0x1);let _0x2a19a2=_0x438d49['target'][_0x5affc4(0x3b4)];_0x4c0ff2(_0x2a19a2===''?null:Number(_0x2a19a2));},'onPressEnter':_0x57f8d2=>{const _0x533f30=_0xf957b9;let _0x346e72=_0x57f8d2['target'][_0x533f30(0x3b4)];_0x4c0ff2(_0x346e72===''?null:Number(_0x346e72));}})]}),(0x0,h[_0xf957b9(0x5a7)])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x56f),'children':[(0x0,h[_0xf957b9(0x433)])(_0xf957b9(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x55ce77(_0xf957b9(0x21e))}),(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x30a)],{'value':_0x1d0e82==null?void 0x0:_0x1d0e82,'onChange':_0x551a0e=>{const _0x57d91b=_0xf957b9;_0x51d442['setContextValue'](t[_0x57d91b(0x481)],!0x1),_0x8c6c4(Number[_0x57d91b(0x5c7)](_0x551a0e)?null:Number(_0x551a0e));},'onFocus':()=>_0x51d442[_0xf957b9(0x5d7)](t[_0xf957b9(0x481)],!0x0),'onBlur':_0xca0e1c=>{const _0x132937=_0xf957b9;_0x51d442[_0x132937(0x5d7)](t['FOCUSING_PANEL_EDITOR'],!0x1);let _0x536fd6=_0xca0e1c[_0x132937(0x310)]['value'];_0x8c6c4(_0x536fd6===''?null:Number(_0x536fd6));},'onPressEnter':_0x5145e3=>{const _0x440828=_0xf957b9;let _0x3e6495=_0x5145e3[_0x440828(0x310)][_0x440828(0x3b4)];_0x8c6c4(_0x3e6495===''?null:Number(_0x3e6495));}})]})]}),_0x1f2b94&&(0x0,h['jsx'])(Me,{'service':_0x3e4411,'localeService':_0x2a3263}),!_0x2aedea&&!_0x156ac7&&!_0x34d3cd&&!_0x3e82bc&&(0x0,h['jsx'])(_0xf957b9(0x3aa),{'className':_0xf957b9(0x52a),'children':(0x0,h[_0xf957b9(0x433)])(d['Button'],{'className':'','size':'small','onClick':()=>{const _0x388831=_0xf957b9;_0x13b9f0(_0x536513===s[_0x388831(0x4e9)][_0x388831(0x5de)]?s['DataOrientation'][_0x388831(0x4fd)]:s[_0x388831(0x4e9)][_0x388831(0x5de)]);},'children':_0x55ce77('chart.settingsLabels.switchToRowOrColumn')})}),_0x53b7e2&&(0x0,h[_0xf957b9(0x433)])('div',{'className':_0xf957b9(0x52a),'children':(0x0,h['jsx'])(d[_0xf957b9(0x3b0)],{'checked':_0x144736,'onChange':_0x25f3e1=>{_0x581b4b(!!_0x25f3e1);},'children':_0x55ce77(_0xf957b9(0x665),(_0x536513||'')+'\x20'+(((_0x5e9401=_0x536513===s[_0xf957b9(0x4e9)][_0xf957b9(0x5de)]?_0x2e63b2==null?void 0x0:_0x2e63b2['rangeInfo']['range'][_0xf957b9(0x289)]:_0x2e63b2==null?void 0x0:_0x2e63b2[_0xf957b9(0x290)][_0xf957b9(0x476)][_0xf957b9(0x4e4)])==null?0x0:_0x5e9401)+0x1))})})]}),_0x1e60cb&&(0x0,h[_0xf957b9(0x5a7)])('div',{'children':[(0x0,h['jsx'])(Z,{'title':_0x55ce77('chart.settingsLabels.showEmptyCellsAs')}),(0x0,h[_0xf957b9(0x433)])('div',{'className':_0xf957b9(0x247),'children':(0x0,h[_0xf957b9(0x433)])(d[_0xf957b9(0x5ff)],{'value':_0x25a280==null?s[_0xf957b9(0x398)][_0xf957b9(0x1f0)]:_0x25a280,'onChange':_0x2e4db9=>_0x1a2a48(_0x2e4db9),'className':_0xf957b9(0x1f6),'children':_0x2caf94['map'](_0x50897d=>(0x0,h[_0xf957b9(0x433)])(d['Radio'],{'value':_0x50897d[_0xf957b9(0x3b4)],'children':_0x50897d[_0xf957b9(0x57f)]},_0x50897d[_0xf957b9(0x3b4)]))})})]})]});},Q=_0x3b61a3=>{const _0x4bb26d=_0x5d1961;let {color:_0x8488dd,onChange:_0x33a3a4}=_0x3b61a3,[_0x4fb0ab,_0x361085]=(0x0,f[_0x4bb26d(0x3dd)])(!0x1),_0x341bfb=(0x0,o[_0x4bb26d(0x615)])(t[_0x4bb26d(0x2f7)]),_0x342577=_0x8488dd===_0x4bb26d(0x4b5)||_0x8488dd==null,_0x40a3e0=(0x0,f['useCallback'])(_0x3dfc7a=>{_0x33a3a4==null||_0x33a3a4(_0x3dfc7a),_0x361085(!0x1);},[_0x33a3a4]);return(0x0,h['jsx'])(d[_0x4bb26d(0x346)],{'overlay':(0x0,h[_0x4bb26d(0x5a7)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-pb-3\x20univer-text-sm','children':[(0x0,h[_0x4bb26d(0x433)])(d['Button'],{'className':'univer-w-full','onClick':()=>_0x40a3e0(null),'children':_0x341bfb['t'](_0x4bb26d(0x30b))}),(0x0,h[_0x4bb26d(0x433)])(d['ColorPicker'],{'value':_0x342577?_0x4bb26d(0x600):_0x8488dd,'onChange':_0x40a3e0})]}),'open':_0x4fb0ab,'onOpenChange':_0x361085,'children':(0x0,h[_0x4bb26d(0x433)])(d[_0x4bb26d(0x554)],{'className':'univer-w-full\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','children':(0x0,h[_0x4bb26d(0x5a7)])(_0x4bb26d(0x3aa),{'className':_0x4bb26d(0x4cd),'children':[_0x342577?(0x0,h[_0x4bb26d(0x433)])(_0x4bb26d(0x3aa),{'className':_0x4bb26d(0x470),'children':_0x341bfb['t'](_0x4bb26d(0x4c8))}):(0x0,h[_0x4bb26d(0x433)])(_0x4bb26d(0x3aa),{'className':(0x0,d[_0x4bb26d(0x613)])(_0x4bb26d(0x336),d[_0x4bb26d(0x221)]),'style':{'backgroundColor':_0x8488dd}}),(0x0,h[_0x4bb26d(0x433)])(r['MoreDownIcon'],{'className':(0x0,d[_0x4bb26d(0x613)])(_0x4bb26d(0x337),{'univer-rotate-180':_0x4fb0ab})})]})})});},ze=_0xb233f1=>{const _0x19f4bf=_0x5d1961;let {value:_0x3a2b08,menus:_0x2807b7,onSelect:_0x2953df,children:_0x46edd5}=_0xb233f1,[_0x21076a,_0x1fea60]=(0x0,f['useState'])(!0x1);return(0x0,h['jsx'])(d[_0x19f4bf(0x1f4)],{'items':[{'type':_0x19f4bf(0x35a),'value':_0x3a2b08[_0x19f4bf(0x27b)](),'options':_0x2807b7,'onSelect':_0x516d13=>_0x2953df==null?void 0x0:_0x2953df(_0x516d13)}],'open':_0x21076a,'onOpenChange':_0x1fea60,'children':typeof _0x46edd5==_0x19f4bf(0x5e6)?_0x46edd5(_0x21076a):_0x46edd5});},Be=_0x59701b=>{const _0x8f314e=_0x5d1961;var _0x4fdeae;let {localeService:_0x119f8f,className:_0x37a66c,fontSize:_0x3f8da8=s[_0x8f314e(0x398)][_0x8f314e(0x33b)][_0x8f314e(0x341)],color:_0x46ca1d,bold:_0x398a26,italic:_0x35e189,align:_0x2269cf,alignControl:_0x2f986c=!0x1,onChange:_0x491639}=_0x59701b,_0xa5987a=X(_0x119f8f,ne),[_0xeb45d,_0x4b94d8]=(0x0,f['useState'])(!0x1);return(0x0,h[_0x8f314e(0x5a7)])(_0x8f314e(0x3aa),{'className':(0x0,d[_0x8f314e(0x613)])('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',d[_0x8f314e(0x221)],_0x37a66c),'children':[(0x0,h[_0x8f314e(0x433)])(ze,{'value':_0x3f8da8[_0x8f314e(0x27b)](),'menus':B[_0x8f314e(0x2cf)](_0x2205dc=>({..._0x2205dc})),'onSelect':_0x1cbb8b=>_0x491639==null?void 0x0:_0x491639(_0x8f314e(0x479),Number(_0x1cbb8b)),'children':_0x157e6a=>(0x0,h['jsxs'])(_0x8f314e(0x3aa),{'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,h[_0x8f314e(0x433)])(_0x8f314e(0x39c),{'children':_0x3f8da8}),(0x0,h[_0x8f314e(0x433)])(r[_0x8f314e(0x1dc)],{'className':(0x0,d[_0x8f314e(0x613)])(_0x8f314e(0x217),{'univer-rotate-180':_0x157e6a})})]})}),(0x0,h[_0x8f314e(0x433)])(d[_0x8f314e(0x346)],{'overlay':(0x0,h[_0x8f314e(0x433)])(_0x8f314e(0x3aa),{'className':'univer-p-1.5\x20univer-text-xs','children':(0x0,h[_0x8f314e(0x433)])(d[_0x8f314e(0x296)],{'value':_0x46ca1d,'onChange':_0x3bc490=>_0x491639==null?void 0x0:_0x491639('color',_0x3bc490)})}),'open':_0xeb45d,'onOpenChange':_0x4b94d8,'children':(0x0,h[_0x8f314e(0x5a7)])('div',{'className':_0x8f314e(0x4ed),'children':[(0x0,h[_0x8f314e(0x433)])(r['FontColorDoubleIcon'],{'className':_0x8f314e(0x255),'extend':{'colorChannel1':_0x46ca1d==null?s[_0x8f314e(0x398)][_0x8f314e(0x33b)][_0x8f314e(0x63b)]:_0x46ca1d}}),(0x0,h['jsx'])(r[_0x8f314e(0x1dc)],{'className':(0x0,d['clsx'])('univer-ml-1\x20univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0xeb45d})})]})}),_0x2f986c&&(0x0,h[_0x8f314e(0x433)])(ze,{'value':(_0x4fdeae=_0x2269cf==null?void 0x0:_0x2269cf[_0x8f314e(0x27b)]())==null?'':_0x4fdeae,'menus':_0xa5987a[_0x8f314e(0x2cf)](_0x3702b4=>({..._0x3702b4})),'onSelect':_0x4c0bea=>_0x491639==null?void 0x0:_0x491639(_0x8f314e(0x41d),_0x4c0bea),'children':(0x0,h[_0x8f314e(0x433)])('div',{'className':'univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','children':(0x0,h[_0x8f314e(0x433)])(r[_0x8f314e(0x4bd)],{})})}),(0x0,h[_0x8f314e(0x433)])(_0x8f314e(0x3aa),{'onClick':()=>_0x491639==null?void 0x0:_0x491639(_0x8f314e(0x38c),!_0x398a26),'className':(0x0,d['clsx'])(_0x8f314e(0x36a),{'univer-bg-gray-50\x20univer-text-primary-600':_0x398a26}),'children':(0x0,h[_0x8f314e(0x433)])(r[_0x8f314e(0x540)],{})}),(0x0,h[_0x8f314e(0x433)])(_0x8f314e(0x3aa),{'onClick':()=>_0x491639==null?void 0x0:_0x491639('italic',!_0x35e189),'className':(0x0,d['clsx'])(_0x8f314e(0x36a),{'univer-bg-gray-50\x20univer-text-primary-600':_0x35e189}),'children':(0x0,h[_0x8f314e(0x433)])(r[_0x8f314e(0x237)],{})})]});};function Ve(_0x36356e){const _0x4b7ed1=_0x5d1961;return!Number[_0x4b7ed1(0x5c7)](_0x36356e)&&Number['isFinite'](_0x36356e);}const He=_0x2eae89=>{const _0x5f151e=_0x5d1961;var _0xd0db83,_0x4becf6,_0x230493,_0x3c16c6,_0x2f95ba,_0x5d3886,_0x3e5999,_0x4e2e03,_0xcaaa5b,_0x30b14c;let {localeService:_0x446e98,valueAxis:_0x3c2902,axisOptions:_0x4e88d3,onChange:_0x2855fd,canUseDateAxis:_0x4aab7c,sheetsChartUIService:_0x4802f3}=_0x2eae89,{t:_0x55eaa3}=_0x446e98,[_0x134dca,_0x2ab267]=(0x0,f[_0x5f151e(0x3dd)])(_0x4e88d3==null?void 0x0:_0x4e88d3[_0x5f151e(0x248)]),[_0x573e92,_0x5db3eb]=(0x0,f[_0x5f151e(0x3dd)])(_0x4e88d3==null?void 0x0:_0x4e88d3[_0x5f151e(0x1f7)]),_0x528134=(0x0,o[_0x5f151e(0x615)])(t[_0x5f151e(0x2a6)]),[_0x4afd75,_0x5391bb]=M(_0x5f151e(0x33c),_0x4802f3,!0x1),_0x1fa43d=_0x58934d=>{if(_0x58934d!==null&&!Ve(_0x58934d)){_0x2855fd==null||_0x2855fd({'min':null}),_0x5db3eb(null);return;}_0x58934d==null?(_0x5db3eb(null),_0x2855fd==null||_0x2855fd({'min':null})):(_0x5db3eb(_0x58934d),_0x134dca!=null&&_0x58934d>=_0x134dca?(_0x2ab267(null),_0x2855fd==null||_0x2855fd({'min':_0x58934d,'max':null})):_0x2855fd==null||_0x2855fd({'min':_0x58934d}));},_0x1e486f=_0x31a2a7=>{if(_0x31a2a7!==null&&!Ve(_0x31a2a7)){_0x2855fd==null||_0x2855fd({'max':null}),_0x2ab267(null);return;}_0x31a2a7==null?(_0x2ab267(null),_0x2855fd==null||_0x2855fd({'max':null})):(_0x2ab267(_0x31a2a7),_0x573e92!=null&&_0x31a2a7<=_0x573e92?(_0x5db3eb(null),_0x2855fd==null||_0x2855fd({'max':_0x31a2a7,'min':null})):_0x2855fd==null||_0x2855fd({'max':_0x31a2a7}));},_0x483904=(_0xd0db83=_0x4e88d3==null||(_0x4becf6=_0x4e88d3[_0x5f151e(0x57f)])==null?void 0x0:_0x4becf6[_0x5f151e(0x314)])==null?_0x4afd75?s[_0x5f151e(0x398)][_0x5f151e(0x58f)]['dateAxisRotate']:0x0:_0xd0db83;return(0x0,h[_0x5f151e(0x5a7)])(_0x5f151e(0x1c1),{'children':[(0x0,h[_0x5f151e(0x433)])(_0x5f151e(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x55eaa3(_0x5f151e(0x5df))}),(0x0,h[_0x5f151e(0x5a7)])('div',{'className':_0x5f151e(0x560),'children':[(0x0,h['jsx'])(_0x5f151e(0x3aa),{'className':_0x5f151e(0x381),'children':(0x0,h[_0x5f151e(0x433)])(d[_0x5f151e(0x3b0)],{'checked':(_0x230493=_0x4e88d3==null||(_0x3c16c6=_0x4e88d3['label'])==null?void 0x0:_0x3c16c6[_0x5f151e(0x46e)])==null?s[_0x5f151e(0x398)][_0x5f151e(0x58f)][_0x5f151e(0x585)]:_0x230493,'onChange':_0x53e548=>_0x2855fd==null?void 0x0:_0x2855fd({'label':{'visible':!!_0x53e548}}),'children':_0x55eaa3(_0x5f151e(0x2d3))})}),!_0x3c2902&&(0x0,h[_0x5f151e(0x5a7)])(_0x5f151e(0x3aa),{'className':_0x5f151e(0x381),'children':[(0x0,h['jsx'])(d[_0x5f151e(0x3b0)],{'checked':(_0x2f95ba=_0x4e88d3==null?void 0x0:_0x4e88d3[_0x5f151e(0x561)])==null?s['defaultChartConfig']['axis']['reverse']:_0x2f95ba,'onChange':_0x1f16e9=>_0x2855fd==null?void 0x0:_0x2855fd({'reverse':!!_0x1f16e9}),'children':_0x55eaa3(_0x5f151e(0x250))}),'\x20']})]}),(0x0,h[_0x5f151e(0x433)])(d[_0x5f151e(0x3b0)],{'className':'univer-mt-2','checked':(_0x5d3886=_0x4e88d3==null?void 0x0:_0x4e88d3[_0x5f151e(0x64c)])==null?!0x1:_0x5d3886,'onChange':_0xa9d43b=>_0x2855fd==null?void 0x0:_0x2855fd({'lineVisible':!!_0xa9d43b}),'children':_0x55eaa3('chart.styleEditPanel.showAxisLine')}),(0x0,h[_0x5f151e(0x433)])(_0x5f151e(0x3aa),{'className':_0x5f151e(0x560),'children':(0x0,h[_0x5f151e(0x433)])(Be,{'className':_0x5f151e(0x247),..._0x4e88d3==null?void 0x0:_0x4e88d3['label'],'localeService':_0x446e98,'fontSize':(_0x3e5999=_0x4e88d3==null||(_0x4e2e03=_0x4e88d3['label'])==null?void 0x0:_0x4e2e03[_0x5f151e(0x479)])==null?s[_0x5f151e(0x398)]['textStyle'][_0x5f151e(0x479)]:_0x3e5999,'color':(_0xcaaa5b=_0x4e88d3==null||(_0x30b14c=_0x4e88d3['label'])==null?void 0x0:_0x30b14c[_0x5f151e(0x63b)])==null?s[_0x5f151e(0x398)]['textStyle'][_0x5f151e(0x63b)]:_0xcaaa5b,'onChange':(_0x155795,_0x490cb1)=>_0x2855fd==null?void 0x0:_0x2855fd({'label':{[_0x155795]:_0x490cb1}})})}),_0x4aab7c&&(0x0,h[_0x5f151e(0x433)])('div',{'className':_0x5f151e(0x560),'children':(0x0,h['jsx'])(d['Checkbox'],{'checked':!!_0x4afd75,'onChange':_0x276988=>_0x5391bb==null?void 0x0:_0x5391bb(!!_0x276988),'children':(0x0,h['jsx'])(d[_0x5f151e(0x4b0)],{'title':_0x55eaa3(_0x5f151e(0x218)),'children':(0x0,h[_0x5f151e(0x433)])(_0x5f151e(0x39c),{'children':_0x55eaa3(_0x5f151e(0x3c1))})})})}),(0x0,h[_0x5f151e(0x5a7)])('div',{'className':_0x5f151e(0x560),'children':[(0x0,h[_0x5f151e(0x433)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x55eaa3('chart.styleEditPanel.labelRotate')}),(0x0,h[_0x5f151e(0x433)])(d['Select'],{'className':_0x5f151e(0x51b),'value':String(_0x483904),'onChange':_0x489ad7=>_0x2855fd==null?void 0x0:_0x2855fd({'label':{'rotate':Number(_0x489ad7)}}),'options':ae})]}),_0x3c2902&&(0x0,h['jsxs'])('div',{'className':_0x5f151e(0x560),'children':[(0x0,h[_0x5f151e(0x5a7)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h['jsx'])(_0x5f151e(0x3aa),{'className':_0x5f151e(0x4fb),'children':_0x55eaa3(_0x5f151e(0x386))}),(0x0,h[_0x5f151e(0x433)])(d[_0x5f151e(0x30a)],{'value':_0x573e92,'onChange':_0x35750a=>{const _0x825a5f=_0x5f151e;_0x5db3eb(_0x35750a),_0x528134[_0x825a5f(0x5d7)](t[_0x825a5f(0x481)],!0x1),_0x1fa43d(Number['isNaN'](_0x35750a)?null:Number(_0x35750a));},'onFocus':()=>_0x528134[_0x5f151e(0x5d7)](t[_0x5f151e(0x481)],!0x0),'onBlur':_0x4320cf=>{const _0x150a80=_0x5f151e;_0x528134['setContextValue'](t['FOCUSING_PANEL_EDITOR'],!0x1);let _0x12809b=_0x4320cf['target'][_0x150a80(0x3b4)];_0x1fa43d(_0x12809b===''?null:Number(_0x12809b));},'onPressEnter':_0x3c77bb=>{const _0x3d4fd9=_0x5f151e;let _0x3d656c=_0x3c77bb[_0x3d4fd9(0x310)][_0x3d4fd9(0x3b4)];_0x1fa43d(_0x3d656c===''?null:Number(_0x3d656c));}})]}),(0x0,h['jsxs'])(_0x5f151e(0x3aa),{'className':_0x5f151e(0x381),'children':[(0x0,h[_0x5f151e(0x433)])('div',{'className':_0x5f151e(0x4fb),'children':_0x55eaa3(_0x5f151e(0x21e))}),(0x0,h[_0x5f151e(0x433)])(d[_0x5f151e(0x30a)],{'value':_0x134dca,'onChange':_0x1c8d45=>{const _0x1003ba=_0x5f151e;_0x2ab267(_0x1c8d45),_0x528134[_0x1003ba(0x5d7)](t[_0x1003ba(0x481)],!0x1),_0x1e486f(Number['isNaN'](_0x1c8d45)?null:Number(_0x1c8d45));},'onFocus':()=>_0x528134['setContextValue'](t[_0x5f151e(0x481)],!0x0),'onBlur':_0x4661b4=>{const _0x1c616a=_0x5f151e;_0x528134[_0x1c616a(0x5d7)](t[_0x1c616a(0x481)],!0x1);let _0x2e860f=_0x4661b4[_0x1c616a(0x310)][_0x1c616a(0x3b4)];_0x1e486f(_0x2e860f===''?null:Number(_0x2e860f));},'onPressEnter':_0x46e160=>{const _0x1ff4cd=_0x5f151e;let _0x159049=_0x46e160[_0x1ff4cd(0x310)][_0x1ff4cd(0x3b4)];_0x1e486f(_0x159049===''?null:Number(_0x159049));}})]})]})]});},Ue=_0x47a0a8=>{const _0x4b684e=_0x5d1961;var _0x52b0b7,_0x65d122,_0x1b95a3,_0x47a8e5;let {runtimeAxes:_0x370d79,localeService:_0x5ed97a,service:_0x2d6fda,className:_0x628822}=_0x47a0a8,{t:_0x5344fe}=_0x5ed97a,_0x185e60=X(_0x5ed97a,(0x0,f[_0x4b684e(0x4e1)])(()=>ge[_0x4b684e(0x632)](_0x1931a1=>{const _0x2ea189=_0x4b684e;let _0x46e6ae=_0x370d79==null?void 0x0:_0x370d79['some'](_0x3311cc=>_0x3311cc[_0x2ea189(0x3cf)]===s['IRuntimeAxisPosition'][_0x2ea189(0x4ab)]);return _0x1931a1[_0x2ea189(0x3b4)]==='rightYAxis'?_0x46e6ae:!0x0;}),[_0x370d79])),_0x17e385=(0x0,f[_0x4b684e(0x4e1)])(()=>_0x370d79==null?void 0x0:_0x370d79[_0x4b684e(0x38a)](_0x8f6fb6=>_0x8f6fb6[_0x4b684e(0x236)]===s[_0x4b684e(0x65b)][_0x4b684e(0x58a)]),[_0x370d79]),[_0x34270f,_0x2358d0]=(0x0,f[_0x4b684e(0x3dd)])(ge[0x0][_0x4b684e(0x3b4)]),[_0x5cea4b,_0x254bd4]=M(_0x4b684e(0x26a),_0x2d6fda),[_0x3fa1c6,_0x5a4cfe]=M(_0x4b684e(0x452),_0x2d6fda),[_0x562255,_0x17d9f2]=M(_0x4b684e(0x421),_0x2d6fda),_0x4b4b15={'xAxis':_0x5cea4b,'yAxis':_0x3fa1c6,'rightYAxis':_0x562255}[_0x34270f],_0x177bd0={'xAxis':_0x254bd4,'yAxis':_0x5a4cfe,'rightYAxis':_0x17d9f2}[_0x34270f],_0x582f8b={'xAxis':_0x4b684e(0x49a),'yAxis':'left','rightYAxis':_0x4b684e(0x20b)}[_0x34270f],_0x54723e=_0x4b4b15==null?void 0x0:_0x4b4b15[_0x4b684e(0x2a0)],_0x58e19b=_0x4b4b15==null?void 0x0:_0x4b4b15[_0x4b684e(0x326)],_0x4791dc=(0x0,f[_0x4b684e(0x66c)])(_0x44c726=>{_0x177bd0==null||_0x177bd0({'gridLine':_0x44c726});},[_0x177bd0]),{visible:_0x2dabc1,color:_0x42b079,width:_0x529992}=_0x58e19b==null?{}:_0x58e19b,_0x56237c=_0x2dabc1==null?(_0x17e385==null?void 0x0:_0x17e385[_0x4b684e(0x3cf)])===_0x582f8b:_0x2dabc1,_0x55645f=X(_0x5ed97a,ue),_0x4a0654=(0x0,f[_0x4b684e(0x4e1)])(()=>(R['label']=_0x5344fe(R[_0x4b684e(0x57f)]),[R,...Y]),[_0x5344fe]),_0x4bc2d4=(0x0,f[_0x4b684e(0x4e1)])(()=>(R[_0x4b684e(0x57f)]=_0x5344fe(R[_0x4b684e(0x57f)]),[R,...Se]),[_0x5344fe]);return(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'className':_0x628822,'children':[(0x0,h[_0x4b684e(0x433)])(_0x4b684e(0x3aa),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,h[_0x4b684e(0x433)])(d[_0x4b684e(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','options':_0x185e60,'value':_0x34270f,'onChange':_0x2358d0})}),(0x0,h[_0x4b684e(0x433)])('div',{'className':_0x4b684e(0x560),'children':(0x0,h[_0x4b684e(0x433)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,h[_0x4b684e(0x433)])(d[_0x4b684e(0x3b0)],{'checked':_0x56237c,'onChange':_0x281bf8=>_0x4791dc==null?void 0x0:_0x4791dc({'visible':!!_0x281bf8}),'children':_0x5344fe(_0x4b684e(0x4f7))})})}),_0x56237c&&(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,h[_0x4b684e(0x5a7)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h[_0x4b684e(0x5a7)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x5344fe('chart.gridlines.text'),_0x5344fe(_0x4b684e(0x666))]}),(0x0,h[_0x4b684e(0x433)])(Q,{'color':_0x42b079,'onChange':_0x14bf1a=>_0x4791dc==null?void 0x0:_0x4791dc({'color':_0x14bf1a==null?void 0x0:_0x14bf1a})})]}),(0x0,h['jsxs'])(_0x4b684e(0x3aa),{'className':_0x4b684e(0x381),'children':[(0x0,h['jsx'])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5344fe(_0x4b684e(0x4f2),_0x5344fe(_0x4b684e(0x24e)))}),(0x0,h[_0x4b684e(0x433)])(d[_0x4b684e(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x529992==null?'':_0x529992),'onChange':_0x598cb7=>_0x4791dc==null?void 0x0:_0x4791dc({'width':Number(_0x598cb7)}),'options':G})]})]}),(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'children':[(0x0,h[_0x4b684e(0x433)])(_0x4b684e(0x3aa),{'children':(0x0,h[_0x4b684e(0x433)])(d[_0x4b684e(0x3b0)],{'checked':_0x54723e==null?void 0x0:_0x54723e[_0x4b684e(0x46e)],'onChange':_0xbffcdd=>_0x177bd0==null?void 0x0:_0x177bd0({'tick':{'visible':!!_0xbffcdd}}),'children':_0x5344fe('chart.ticks.majorTick')})}),(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'children':[(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,h[_0x4b684e(0x5a7)])('div',{'className':_0x4b684e(0x381),'children':[(0x0,h['jsx'])(_0x4b684e(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5344fe('chart.ticks.tickPosition')}),(0x0,h[_0x4b684e(0x433)])(d[_0x4b684e(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x52b0b7=_0x54723e==null?void 0x0:_0x54723e[_0x4b684e(0x3cf)])==null?s['PieLabelPosition']['Outside']:_0x52b0b7,'options':_0x55645f,'onChange':_0x5e9a9e=>_0x177bd0==null?void 0x0:_0x177bd0({'tick':{'position':_0x5e9a9e}})})]}),(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'className':_0x4b684e(0x381),'children':[(0x0,h[_0x4b684e(0x433)])(_0x4b684e(0x3aa),{'className':_0x4b684e(0x4fb),'children':_0x5344fe(_0x4b684e(0x2fb))}),(0x0,h['jsx'])(d[_0x4b684e(0x5db)],{'className':_0x4b684e(0x3c6),'value':String((_0x65d122=_0x54723e==null?void 0x0:_0x54723e[_0x4b684e(0x644)])==null?R[_0x4b684e(0x3b4)]:_0x65d122),'options':_0x4a0654,'onChange':_0x1accc1=>_0x177bd0==null?void 0x0:_0x177bd0({'tick':{'length':_0x1accc1===R['value']?void 0x0:Number(_0x1accc1)}})})]})]}),(0x0,h[_0x4b684e(0x5a7)])('div',{'className':_0x4b684e(0x560),'children':[(0x0,h[_0x4b684e(0x5a7)])(_0x4b684e(0x3aa),{'className':_0x4b684e(0x381),'children':[(0x0,h[_0x4b684e(0x433)])(_0x4b684e(0x3aa),{'className':_0x4b684e(0x4fb),'children':_0x5344fe(_0x4b684e(0x4f2),_0x5344fe(_0x4b684e(0x3f2)))}),(0x0,h[_0x4b684e(0x433)])(d[_0x4b684e(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x1b95a3=_0x54723e==null?void 0x0:_0x54723e[_0x4b684e(0x345)])==null?R[_0x4b684e(0x3b4)]:_0x1b95a3),'options':_0x4bc2d4,'onChange':_0x27f096=>_0x177bd0==null?void 0x0:_0x177bd0({'tick':{'lineWidth':_0x27f096===R[_0x4b684e(0x3b4)]?void 0x0:Number(_0x27f096)}})})]}),(0x0,h['jsxs'])(_0x4b684e(0x3aa),{'className':_0x4b684e(0x381),'children':[(0x0,h[_0x4b684e(0x433)])(_0x4b684e(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5344fe(_0x4b684e(0x1d3),_0x5344fe(_0x4b684e(0x3f2)))}),(0x0,h[_0x4b684e(0x433)])(Q,{'color':(_0x47a8e5=_0x54723e==null?void 0x0:_0x54723e[_0x4b684e(0x61b)])==null?'':_0x47a8e5,'onChange':_0x117fb4=>_0x177bd0==null?void 0x0:_0x177bd0({'tick':{'lineColor':_0x117fb4==null?void 0x0:_0x117fb4}})})]})]})]})]})]});},We=_0x239e2d=>{const _0x5b1471=_0x5d1961;let {localeService:_0x2339b3,onChange:_0x53890a,indicatorLabelColor:_0x1ebf22,indicatorLineType:_0x190718,indicatorLabelTextColor:_0x2632c7,indicatorLineColor:_0xd9a945}=_0x239e2d,{t:_0x5e9cf3}=_0x2339b3,_0x52e654=X(_0x2339b3,U);return(0x0,h['jsxs'])(h['Fragment'],{'children':[(0x0,h['jsxs'])(_0x5b1471(0x3aa),{'className':_0x5b1471(0x672),'children':[(0x0,h[_0x5b1471(0x5a7)])(_0x5b1471(0x3aa),{'className':_0x5b1471(0x381),'children':[(0x0,h['jsx'])(_0x5b1471(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5e9cf3('chart.indicatorLineType')}),(0x0,h['jsx'])(d[_0x5b1471(0x5db)],{'className':_0x5b1471(0x3c6),'value':_0x190718,'options':_0x52e654,'onChange':_0x5833ea=>{_0x53890a==null||_0x53890a({'indicatorLineType':_0x5833ea});}})]}),(0x0,h[_0x5b1471(0x5a7)])('div',{'className':_0x5b1471(0x381),'children':[(0x0,h[_0x5b1471(0x433)])(_0x5b1471(0x3aa),{'className':_0x5b1471(0x4fb),'children':_0x5e9cf3('chart.indicatorLineColor')}),(0x0,h[_0x5b1471(0x433)])(Q,{'color':_0xd9a945,'onChange':_0x247cbf=>{_0x53890a==null||_0x53890a({'indicatorLineColor':_0x247cbf});}})]})]}),(0x0,h[_0x5b1471(0x5a7)])(_0x5b1471(0x3aa),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,h[_0x5b1471(0x5a7)])(_0x5b1471(0x3aa),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h[_0x5b1471(0x433)])(_0x5b1471(0x3aa),{'className':_0x5b1471(0x4fb),'children':_0x5e9cf3('chart.indicatorLabel')}),(0x0,h[_0x5b1471(0x433)])(Q,{'color':_0x1ebf22,'onChange':_0x1c46c7=>{_0x53890a==null||_0x53890a({'indicatorLabelColor':_0x1c46c7});}})]}),(0x0,h['jsxs'])(_0x5b1471(0x3aa),{'className':_0x5b1471(0x381),'children':[(0x0,h[_0x5b1471(0x433)])(_0x5b1471(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5e9cf3('chart.indicatorValue')}),(0x0,h[_0x5b1471(0x433)])(Q,{'color':_0x2632c7,'onChange':_0x4b9924=>{_0x53890a==null||_0x53890a({'indicatorLabelTextColor':_0x4b9924});}})]})]})]});},Ge=new Set([s[_0x5d1961(0x5bd)][_0x5d1961(0x3f6)],s[_0x5d1961(0x5bd)][_0x5d1961(0x5c0)],s[_0x5d1961(0x5bd)][_0x5d1961(0x4d0)],s[_0x5d1961(0x5bd)][_0x5d1961(0x1d9)],s[_0x5d1961(0x5bd)][_0x5d1961(0x301)]]),Ke=_0x339f10=>{const _0x56ef2f=_0x5d1961;var _0xc11c10,_0x4dd4d2;let {fallbackLabelStyle:_0x23816f,labelStyle:_0x1fd0dd,positionOptions:_0x4f96c0,contentTypeOptions:_0x14edb6,onLabelStyleChange:_0x2f4453,onVisibleChange:_0x396fa7,onPadAngleChange:_0x465fe1,localeService:_0x34b0a7,isPieLike:_0x332f18,padAngleStyle:_0x31e0ab,onHalfPieChange:_0xd8643a,isHalfPie:_0x20cd18,onRosePieChange:_0x53110c,isRosePie:_0x57de4b,onShowLabelLineChange:_0x13d0bb,showLabelLine:_0x3d5e71,chartType:_0x429a3c}=_0x339f10,_0x63735d={..._0x23816f,..._0x1fd0dd},{contentType:_0x4d73db}=_0x63735d,_0x377374=(0x0,f['useMemo'])(()=>{const _0x26dd2d=_0x484a;if(!_0x4d73db)return[];let _0x4f4afe=q[_0x26dd2d(0x632)](_0x3c7f0e=>s[_0x26dd2d(0x22c)]['has'](_0x4d73db,_0x3c7f0e)),_0x26ea3c=[];for(let _0x36564c of _0x4f4afe)_0x36564c===s[_0x26dd2d(0x588)][_0x26dd2d(0x54b)]?Ge['has'](_0x429a3c)&&_0x26ea3c[_0x26dd2d(0x4d7)](_0x36564c):_0x26ea3c[_0x26dd2d(0x4d7)](_0x36564c);return _0x26ea3c[_0x26dd2d(0x2cf)](_0x591612=>String(_0x591612));},[_0x4d73db]),_0x5806c0=(0x0,f['useCallback'])(_0x47d16f=>{const _0x5338cd=_0x484a;let _0x2afaf7=_0x47d16f['map'](_0x3a6702=>Number(_0x3a6702));if(_0x2afaf7[_0x5338cd(0x644)]<=0x0)return;let _0x3c62da=_0x2afaf7[_0x5338cd(0x644)]>0x0?_0x2afaf7[_0x5338cd(0x1f9)]((_0x330e8c,_0x5614df)=>_0x330e8c|_0x5614df):s[_0x5338cd(0x588)][_0x5338cd(0x294)];_0x2f4453==null||_0x2f4453(_0x5338cd(0x621),_0x3c62da);},[_0x2f4453]),{t:_0x4fa9b9}=_0x34b0a7;return(0x0,h[_0x56ef2f(0x5a7)])(_0x56ef2f(0x3aa),{'children':[(0x0,h[_0x56ef2f(0x433)])('div',{'className':_0x56ef2f(0x4fb),'children':(0x0,h[_0x56ef2f(0x433)])(d[_0x56ef2f(0x3b0)],{'checked':(_0xc11c10=_0x63735d[_0x56ef2f(0x46e)])==null?!0x1:_0xc11c10,'onChange':_0x408e50=>{_0x396fa7==null||_0x396fa7(!!_0x408e50);},'children':_0x4fa9b9(_0x56ef2f(0x548))})}),_0x332f18&&(0x0,h[_0x56ef2f(0x5a7)])(h[_0x56ef2f(0x61e)],{'children':[(0x0,h[_0x56ef2f(0x433)])(_0x56ef2f(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h[_0x56ef2f(0x433)])(d[_0x56ef2f(0x3b0)],{'checked':_0x31e0ab==null?!0x1:_0x31e0ab,'onChange':_0xcc45b7=>{_0x465fe1==null||_0x465fe1(!!_0xcc45b7);},'children':_0x4fa9b9(_0x56ef2f(0x2c4))})}),(0x0,h[_0x56ef2f(0x433)])(_0x56ef2f(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h[_0x56ef2f(0x433)])(d['Checkbox'],{'checked':_0x20cd18==null?!0x1:_0x20cd18,'onChange':_0x3663fd=>{_0xd8643a==null||_0xd8643a(!!_0x3663fd);},'children':_0x4fa9b9(_0x56ef2f(0x230))})}),(0x0,h[_0x56ef2f(0x433)])(_0x56ef2f(0x3aa),{'className':_0x56ef2f(0x4fb),'children':(0x0,h[_0x56ef2f(0x433)])(d[_0x56ef2f(0x3b0)],{'checked':_0x57de4b==null?!0x1:_0x57de4b,'onChange':_0x5714d9=>{_0x53110c==null||_0x53110c(!!_0x5714d9);},'children':_0x4fa9b9(_0x56ef2f(0x5da))})}),_0x63735d['visible']===!0x0&&(0x0,h[_0x56ef2f(0x433)])(_0x56ef2f(0x3aa),{'className':_0x56ef2f(0x4fb),'children':(0x0,h[_0x56ef2f(0x433)])(d[_0x56ef2f(0x3b0)],{'checked':_0x3d5e71==null?!0x1:_0x3d5e71,'onChange':_0x52e4d8=>{_0x13d0bb==null||_0x13d0bb(!!_0x52e4d8);},'children':_0x4fa9b9('chart.styleEditPanel.showLabelLine')})})]}),_0x63735d[_0x56ef2f(0x46e)]&&(0x0,h[_0x56ef2f(0x5a7)])('div',{'className':_0x56ef2f(0x212),'children':[(0x0,h[_0x56ef2f(0x433)])('div',{'className':_0x56ef2f(0x4fb),'children':_0x4fa9b9(_0x56ef2f(0x385))}),(0x0,h[_0x56ef2f(0x433)])(d[_0x56ef2f(0x5db)],{'className':_0x56ef2f(0x3c6),'value':(_0x4dd4d2=_0x63735d[_0x56ef2f(0x3cf)])==null?'':_0x4dd4d2,'onChange':_0x358c6f=>_0x2f4453==null?void 0x0:_0x2f4453('position',_0x358c6f),'options':_0x4f96c0}),_0x14edb6&&(0x0,h['jsxs'])(h[_0x56ef2f(0x61e)],{'children':[(0x0,h[_0x56ef2f(0x433)])(_0x56ef2f(0x3aa),{'className':_0x56ef2f(0x4fb),'children':_0x4fa9b9('chart.styleEditPanel.labelText')}),(0x0,h['jsx'])(_0x56ef2f(0x3aa),{'className':_0x56ef2f(0x33e),'children':(0x0,h['jsx'])(d[_0x56ef2f(0x4d6)],{'className':_0x56ef2f(0x2d6),'value':_0x377374,'options':_0x14edb6,'onChange':_0x5806c0})})]}),(0x0,h['jsxs'])(_0x56ef2f(0x3aa),{'children':[(0x0,h[_0x56ef2f(0x433)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4fa9b9(_0x56ef2f(0x36d))}),(0x0,h[_0x56ef2f(0x433)])(Be,{..._0x63735d,'localeService':_0x34b0a7,'onChange':_0x2f4453})]})]})]});},qe=_0x57b3bc=>{const _0x4c96c7=_0x5d1961;var _0x1fe567,_0x1dc8b6;let {localeService:_0x275b51,seriesStyle:_0x56d6b8,onSeriesStyleChange:_0x447532,controlName:_0x1154ad,allSeriesStyle:_0x590bc1,chartType:_0x2fd70}=_0x57b3bc,{t:_0x3991a5}=_0x275b51,_0x34c913=_0x2fd70===s[_0x4c96c7(0x5bd)][_0x4c96c7(0x216)]?s[_0x4c96c7(0x398)][_0x4c96c7(0x3ae)][_0x4c96c7(0x3f1)]:s[_0x4c96c7(0x398)][_0x4c96c7(0x43e)][_0x4c96c7(0x591)];return(0x0,h[_0x4c96c7(0x5a7)])(_0x4c96c7(0x3aa),{'className':_0x4c96c7(0x672),'children':[(0x0,h[_0x4c96c7(0x5a7)])(_0x4c96c7(0x3aa),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h[_0x4c96c7(0x433)])(_0x4c96c7(0x3aa),{'className':_0x4c96c7(0x4fb),'children':_0x3991a5(_0x4c96c7(0x1d3),_0x1154ad)}),(0x0,h[_0x4c96c7(0x433)])(Q,{'color':(_0x56d6b8==null?void 0x0:_0x56d6b8[_0x4c96c7(0x63b)])||(_0x590bc1==null?void 0x0:_0x590bc1[_0x4c96c7(0x63b)])||'','onChange':_0x5f02c1=>_0x447532==null?void 0x0:_0x447532({'color':_0x5f02c1})})]}),(0x0,h[_0x4c96c7(0x5a7)])(_0x4c96c7(0x3aa),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h[_0x4c96c7(0x433)])(_0x4c96c7(0x3aa),{'className':_0x4c96c7(0x4fb),'children':_0x3991a5(_0x4c96c7(0x468),_0x1154ad)}),(0x0,h[_0x4c96c7(0x433)])(d[_0x4c96c7(0x5db)],{'className':_0x4c96c7(0x3c6),'value':String((_0x1fe567=(_0x1dc8b6=_0x56d6b8==null?void 0x0:_0x56d6b8[_0x4c96c7(0x31b)])==null?_0x590bc1==null?void 0x0:_0x590bc1['fillOpacity']:_0x1dc8b6)==null?_0x34c913:_0x1fe567),'options':H,'onChange':_0x2f0fcb=>_0x447532==null?void 0x0:_0x447532({'fillOpacity':Number(_0x2f0fcb)})})]})]});},Je=_0x38fe6a=>{const _0x46503e=_0x5d1961;var _0x377a7a,_0x2d0508,_0x2dd0bf,_0x54b59f;let {localeService:_0x32adc2,borderStyle:_0x2bf025,onSeriesStyleChange:_0x48fd16,controlName:_0x1696d3,hideBorder:_0x5b538c,allSeriesBorderStyle:_0x4740a1,isLineOrAreaChart:_0x2c403a}=_0x38fe6a,_0x23a081=X(_0x32adc2,U),{t:_0xfe8cfa}=_0x32adc2,_0x358ce6=_0x2c403a?ie[_0x46503e(0x272)](0x1):ie;return(0x0,h['jsxs'])(h[_0x46503e(0x61e)],{'children':[_0x5b538c&&(0x0,h[_0x46503e(0x5a7)])('div',{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,h[_0x46503e(0x5a7)])(_0x46503e(0x3aa),{'className':_0x46503e(0x381),'children':[(0x0,h[_0x46503e(0x433)])(_0x46503e(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xfe8cfa(_0x46503e(0x1d3),_0x1696d3)}),(0x0,h[_0x46503e(0x433)])(Q,{'color':(_0x377a7a=_0x2bf025==null?void 0x0:_0x2bf025[_0x46503e(0x63b)])==null?_0x4740a1==null?void 0x0:_0x4740a1[_0x46503e(0x63b)]:_0x377a7a,'onChange':_0x4693a1=>_0x48fd16==null?void 0x0:_0x48fd16({'border':{'color':_0x4693a1}})})]}),(0x0,h[_0x46503e(0x5a7)])('div',{'className':_0x46503e(0x381),'children':[(0x0,h[_0x46503e(0x433)])('div',{'className':_0x46503e(0x4fb),'children':_0xfe8cfa(_0x46503e(0x468),_0x1696d3)}),(0x0,h[_0x46503e(0x433)])(d[_0x46503e(0x5db)],{'className':_0x46503e(0x3c6),'value':String((_0x2d0508=_0x2bf025==null?void 0x0:_0x2bf025['opacity'])==null?_0x4740a1==null?void 0x0:_0x4740a1['opacity']:_0x2d0508),'options':H,'onChange':_0x3d2eae=>_0x48fd16==null?void 0x0:_0x48fd16({'border':{'opacity':Number(_0x3d2eae)}})})]})]}),(0x0,h[_0x46503e(0x5a7)])(_0x46503e(0x3aa),{'className':_0x46503e(0x672),'children':[(0x0,h[_0x46503e(0x5a7)])('div',{'className':_0x46503e(0x381),'children':[(0x0,h[_0x46503e(0x433)])(_0x46503e(0x3aa),{'className':_0x46503e(0x4fb),'children':_0xfe8cfa(_0x46503e(0x1ca),_0x1696d3)}),(0x0,h[_0x46503e(0x433)])(d[_0x46503e(0x5db)],{'className':_0x46503e(0x3c6),'value':(_0x2dd0bf=_0x2bf025==null?void 0x0:_0x2bf025[_0x46503e(0x3a1)])==null?_0x4740a1==null?void 0x0:_0x4740a1['dashType']:_0x2dd0bf,'options':_0x23a081,'onChange':_0x570223=>_0x48fd16==null?void 0x0:_0x48fd16({'border':{'dashType':_0x570223}})})]}),(0x0,h[_0x46503e(0x5a7)])(_0x46503e(0x3aa),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h[_0x46503e(0x433)])(_0x46503e(0x3aa),{'className':_0x46503e(0x4fb),'children':_0xfe8cfa('chart.withThickness',_0x1696d3)}),(0x0,h[_0x46503e(0x433)])(d[_0x46503e(0x5db)],{'className':_0x46503e(0x3c6),'value':String((_0x54b59f=_0x2bf025==null?void 0x0:_0x2bf025[_0x46503e(0x640)])==null?_0x4740a1==null?void 0x0:_0x4740a1['width']:_0x54b59f),'options':_0x358ce6,'onChange':_0xda7f=>_0x48fd16==null?void 0x0:_0x48fd16({'border':{'width':Number(_0xda7f)}})})]})]})]});},Ye=_0x5d18a8=>{const _0x3ae0d0=_0x5d1961;let {localeService:_0x310deb,pointStyle:_0x124a0f,controls:_0x2f3752,onChange:_0x41f01b}=_0x5d18a8,_0x38ce35=X(_0x310deb,W),_0x4c6792=X(_0x310deb,re),{t:_0x5187c8}=_0x310deb,_0x4142e7=_0x2f3752[_0x3ae0d0(0x2cf)](_0x5bb444=>{const _0x1b67d4=_0x3ae0d0;switch(_0x5bb444){case _0x1b67d4(0x4af):return(0x0,h[_0x1b67d4(0x5a7)])(_0x1b67d4(0x3aa),{'className':_0x1b67d4(0x381),'children':[(0x0,h[_0x1b67d4(0x433)])(_0x1b67d4(0x3aa),{'className':_0x1b67d4(0x4fb),'children':_0x5187c8(_0x1b67d4(0x514),_0x5187c8(_0x1b67d4(0x627)))}),(0x0,h[_0x1b67d4(0x433)])(d['Select'],{'className':_0x1b67d4(0x3c6),'value':String(_0x124a0f['shape']),'options':_0x38ce35,'onChange':_0x354f84=>_0x41f01b==null?void 0x0:_0x41f01b(_0x1b67d4(0x4af),_0x354f84)})]},_0x5bb444);case _0x1b67d4(0x1c5):return(0x0,h[_0x1b67d4(0x5a7)])(_0x1b67d4(0x3aa),{'className':_0x1b67d4(0x381),'children':[(0x0,h[_0x1b67d4(0x433)])(_0x1b67d4(0x3aa),{'className':_0x1b67d4(0x4fb),'children':_0x5187c8(_0x1b67d4(0x4eb),_0x5187c8(_0x1b67d4(0x5a4)))}),(0x0,h['jsx'])(d[_0x1b67d4(0x5db)],{'className':_0x1b67d4(0x3c6),'value':String(_0x124a0f[_0x1b67d4(0x1c5)]),'options':_0x4c6792,'onChange':_0x31e767=>_0x41f01b==null?void 0x0:_0x41f01b('size',Number(_0x31e767))})]},_0x5bb444);case _0x1b67d4(0x63b):return(0x0,h[_0x1b67d4(0x5a7)])(_0x1b67d4(0x3aa),{'className':_0x1b67d4(0x381),'children':[(0x0,h[_0x1b67d4(0x433)])('div',{'className':_0x1b67d4(0x4fb),'children':_0x5187c8(_0x1b67d4(0x1d3),_0x5187c8(_0x1b67d4(0x5a4)))}),(0x0,h[_0x1b67d4(0x433)])(Q,{'color':_0x124a0f[_0x1b67d4(0x63b)],'onChange':_0x9cbd39=>_0x41f01b==null?void 0x0:_0x41f01b(_0x1b67d4(0x63b),_0x9cbd39)})]},_0x5bb444);}return null;}),_0x13e73d=[];for(let _0x204d87=0x0;_0x204d87<_0x4142e7[_0x3ae0d0(0x644)];_0x204d87+=0x2)_0x13e73d[_0x3ae0d0(0x4d7)]((0x0,h['jsxs'])(_0x3ae0d0(0x3aa),{'className':_0x3ae0d0(0x672),'children':[_0x4142e7[_0x204d87],_0x204d87+0x1<_0x4142e7[_0x3ae0d0(0x644)]?_0x4142e7[_0x204d87+0x1]:(0x0,h['jsx'])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between'})]},_0x204d87));return(0x0,h['jsx'])(h[_0x3ae0d0(0x61e)],{'children':[..._0x13e73d]});},Xe=_0x28d04a=>{const _0x41a127=_0x5d1961;let {localeService:_0x396a13,rightYAxis:_0x522545,onSeriesStyleChange:_0x1234d7}=_0x28d04a,{t:_0x52ce68}=_0x396a13;return(0x0,h[_0x41a127(0x433)])(_0x41a127(0x3aa),{'className':_0x41a127(0x672),'children':(0x0,h[_0x41a127(0x433)])(_0x41a127(0x3aa),{'className':_0x41a127(0x381),'children':(0x0,h[_0x41a127(0x433)])(d[_0x41a127(0x3b0)],{'checked':_0x522545,'onChange':_0x512ad1=>{_0x1234d7==null||_0x1234d7({'rightYAxis':!!_0x512ad1});},'children':_0x52ce68(_0x41a127(0x34e))})})});},Ze={'shape':s[_0x5d1961(0x398)][_0x5d1961(0x2a9)][_0x5d1961(0x4af)],'size':s['defaultChartConfig'][_0x5d1961(0x2a9)]['size'],'color':'transparent'},Qe=[_0x5d1961(0x4af),_0x5d1961(0x1c5)],$=_0xa41a75=>{const _0x20dda7=_0x5d1961;let {chartType:_0x4e1a41,data:_0x47af3a,options:_0x18ac89,localeService:_0x23bec4,onChange:_0x224c8e}=_0xa41a75,{t:_0x4498f7}=_0x23bec4,_0x573f2f=_0x4e1a41===s[_0x20dda7(0x5bd)]['Line'],_0x36306e=_0x47af3a==null?{}:_0x47af3a;return(0x0,h[_0x20dda7(0x433)])('div',{'className':_0x20dda7(0x664),'children':Object[_0x20dda7(0x4df)](_0x36306e)[_0x20dda7(0x2cf)](_0x35bb84=>({'key':_0x35bb84,'style':_0x36306e[Number(_0x35bb84)]}))[_0x20dda7(0x2cf)](_0x5b221d=>{const _0x1646d2=_0x20dda7;var _0x57ea46;let {style:_0x185535}=_0x5b221d;return _0x185535===void 0x0?null:(0x0,h[_0x1646d2(0x5a7)])(_0x1646d2(0x3aa),{'className':_0x1646d2(0x358),'children':[(0x0,h[_0x1646d2(0x5a7)])(_0x1646d2(0x3aa),{'className':_0x1646d2(0x672),'children':[(0x0,h['jsxs'])(_0x1646d2(0x3aa),{'className':_0x1646d2(0x381),'children':[(0x0,h[_0x1646d2(0x433)])(_0x1646d2(0x3aa),{'className':_0x1646d2(0x4fb),'children':_0x4498f7(_0x1646d2(0x5a4))}),(0x0,h[_0x1646d2(0x433)])(d[_0x1646d2(0x5db)],{'className':_0x1646d2(0x3c6),'value':_0x5b221d['key'],'options':_0x18ac89,'onChange':_0x4ff6f1=>{const _0x151bac=_0x1646d2;_0x224c8e==null||_0x224c8e({[_0x5b221d[_0x151bac(0x534)]]:void 0x0,[Number(_0x4ff6f1)]:_0x5b221d['style']});}})]}),(0x0,h['jsxs'])(_0x1646d2(0x3aa),{'className':_0x1646d2(0x381),'children':[(0x0,h[_0x1646d2(0x433)])('div',{'className':_0x1646d2(0x4fb),'children':_0x4498f7(_0x1646d2(0x666))}),(0x0,h[_0x1646d2(0x433)])(Q,{'color':(_0x57ea46=_0x185535==null?void 0x0:_0x185535['color'])==null?'':_0x57ea46,'onChange':_0xbce295=>{const _0x135e6b=_0x1646d2;_0x224c8e==null||_0x224c8e({[_0x5b221d[_0x135e6b(0x534)]]:{'color':_0xbce295}});}})]}),(0x0,h[_0x1646d2(0x433)])(d[_0x1646d2(0x554)],{'className':_0x1646d2(0x62a),'variant':_0x1646d2(0x24f),'onClick':()=>_0x224c8e==null?void 0x0:_0x224c8e({[_0x5b221d[_0x1646d2(0x534)]]:void 0x0}),'children':(0x0,h[_0x1646d2(0x433)])(r[_0x1646d2(0x55e)],{})})]}),_0x573f2f&&(0x0,h[_0x1646d2(0x433)])(Ye,{'pointStyle':{...Ze,..._0x5b221d[_0x1646d2(0x4fa)]},'controls':Qe,'localeService':_0x23bec4,'onChange':(_0x24ce0a,_0x3e8c00)=>_0x224c8e==null?void 0x0:_0x224c8e({[_0x5b221d[_0x1646d2(0x534)]]:{[_0x24ce0a]:_0x3e8c00}})})]},_0x5b221d['key']);})});},$e={'fontSize':s[_0x5d1961(0x398)][_0x5d1961(0x33b)][_0x5d1961(0x479)],'contentType':s[_0x5d1961(0x398)]['labelContentType'],'position':s[_0x5d1961(0x398)][_0x5d1961(0x33b)][_0x5d1961(0x3cf)]},et=_0x567168=>{const _0x11776d=_0x5d1961;let {localeService:_0x512960,service:_0x249319,isLineSeries:_0x4fc648}=_0x567168,{t:_0xedaf3a}=_0x512960,[_0x262d4b]=M(_0x11776d(0x34d),_0x249319),[_0x389c6f,_0x4a6edd]=M(_0x11776d(0x5a9),_0x249319),_0x472a5c=[_0x11776d(0x4af),_0x11776d(0x1c5),_0x11776d(0x63b)],[_0x24c175]=M(_0x11776d(0x441),_0x249319),_0x144510=_0x4fc648?_0x50d6c4=>{_0x4a6edd({'lineStyle':{..._0x50d6c4}});}:_0x24c089=>{_0x4a6edd({'barStyle':{..._0x24c089}});},_0x1e2779=s[_0x11776d(0x398)][_0x11776d(0x43e)],_0x4e89ea=_0x4fc648?_0x389c6f==null?void 0x0:_0x389c6f[_0x11776d(0x587)]:_0x389c6f==null?void 0x0:_0x389c6f[_0x11776d(0x27f)],_0xd4f8af=_0x4e89ea==null?void 0x0:_0x4e89ea[_0x11776d(0x53d)],_0x50357b=_0x25a647=>{const _0x4453a7=_0x11776d;_0x4e89ea&&_0x4e89ea[_0x4453a7(0x53d)]&&_0x4e89ea['dataPoints'][_0x25a647]||_0x144510({'dataPoints':{[_0x25a647]:{}}});},_0x4ebc92=_0x135f02=>{_0x144510({'dataPoints':_0x135f02});},_0x1bb34a=X(_0x512960,le),_0x152134=(0x0,f[_0x11776d(0x4e1)])(()=>J['map'](_0x59424d=>({'value':_0x59424d['value'],'label':_0x512960['t'](_0x59424d[_0x11776d(0x57f)])})),[_0x512960]),_0x487770=Object['assign']({'color':'transparent','opacity':_0x1e2779[_0x11776d(0x591)],'width':_0x4fc648?_0x1e2779[_0x11776d(0x293)]['lineOrArea']:_0x1e2779['width'],'dashType':_0x1e2779['dashType']},_0x4e89ea==null?void 0x0:_0x4e89ea['border']),_0x28e19b=Object[_0x11776d(0x606)]({'shape':s[_0x11776d(0x398)]['point'][_0x11776d(0x4af)],'size':s[_0x11776d(0x398)][_0x11776d(0x62c)][_0x11776d(0x49f)],'color':_0x11776d(0x4b5)},_0x262d4b==null?void 0x0:_0x262d4b[_0x11776d(0x2a9)],_0x4e89ea==null?void 0x0:_0x4e89ea['point']),_0x7acd7b=Object[_0x11776d(0x606)]({},_0x4e89ea==null?void 0x0:_0x4e89ea['label']);return(0x0,h['jsxs'])('section',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,h[_0x11776d(0x433)])(qe,{'chartType':s[_0x11776d(0x5bd)][_0x11776d(0x44d)],'allSeriesStyle':_0x262d4b,'controlName':_0xedaf3a(_0x4fc648?_0x11776d(0x3f2):_0x11776d(0x4a1)),'seriesStyle':_0x4e89ea,'onSeriesStyleChange':_0x144510,'localeService':_0x512960}),(0x0,h[_0x11776d(0x433)])(Je,{'isLineOrAreaChart':_0x4fc648,'allSeriesBorderStyle':_0x4e89ea==null?void 0x0:_0x4e89ea[_0x11776d(0x475)],'hideBorder':!_0x4fc648,'controlName':_0xedaf3a(_0x4fc648?_0x11776d(0x3f2):_0x11776d(0x661)),'borderStyle':_0x487770,'onSeriesStyleChange':_0x144510,'localeService':_0x512960}),_0x4fc648&&(0x0,h[_0x11776d(0x433)])(Ye,{'pointStyle':_0x28e19b,'onChange':(_0x2543f2,_0x401f3d)=>_0x144510({'point':{[_0x2543f2]:_0x401f3d}}),'controls':_0x472a5c,'localeService':_0x512960}),!_0x4fc648&&(0x0,h[_0x11776d(0x5a7)])(h[_0x11776d(0x61e)],{'children':[(0x0,h[_0x11776d(0x5a7)])(_0x11776d(0x3aa),{'className':_0x11776d(0x47e),'children':[(0x0,h['jsx'])('div',{'className':_0x11776d(0x381),'children':(0x0,h[_0x11776d(0x433)])(_0x11776d(0x3aa),{'className':_0x11776d(0x31e),'children':_0xedaf3a(_0x11776d(0x3fb),_0xedaf3a(_0x11776d(0x5a4)))})}),(0x0,h[_0x11776d(0x433)])(_0x11776d(0x3aa),{'className':_0x11776d(0x381),'children':(0x0,h['jsx'])(ze,{'value':'','menus':_0x24c175==null?[]:_0x24c175,'onSelect':_0x587947=>_0x50357b(+_0x587947),'children':(0x0,h[_0x11776d(0x5a7)])(_0x11776d(0x3aa),{'className':_0x11776d(0x54a),'children':[(0x0,h[_0x11776d(0x433)])(r[_0x11776d(0x2b5)],{}),(0x0,h[_0x11776d(0x433)])(_0x11776d(0x39c),{'children':_0xedaf3a(_0x11776d(0x2b1))})]})})})]}),_0xd4f8af&&(0x0,h['jsx'])($,{'chartType':s[_0x11776d(0x5bd)]['Pareto'],'data':_0xd4f8af,'options':_0x24c175==null?[]:_0x24c175,'onChange':_0x4ebc92,'localeService':_0x512960})]}),(0x0,h[_0x11776d(0x433)])(_0x11776d(0x3aa),{'className':'univer-mt-2','children':(0x0,h['jsx'])(Ke,{'localeService':_0x512960,'fallbackLabelStyle':$e,'labelStyle':_0x7acd7b,'positionOptions':_0x1bb34a,'contentTypeOptions':_0x152134,'onLabelStyleChange':(_0x4b5986,_0x44f033)=>_0x144510({'label':{[_0x4b5986]:_0x44f033}}),'onVisibleChange':_0x5a9c35=>_0x144510({'label':{'visible':_0x5a9c35}}),'isPieLike':!0x1,'chartType':s[_0x11776d(0x5bd)][_0x11776d(0x44d)]})})]});},tt=_0x45a8d=>{const _0x147d41=_0x5d1961;let {chartType:_0x3fbb4e,service:_0x50871a,localeService:_0xbb5a38,onChartTypeChange:_0x429c51}=_0x45a8d,[_0x14ca83,_0x24af53]=M(_0x147d41(0x3c7),_0x50871a),[_0x480455,_0x4e84f5]=M(_0x147d41(0x495),_0x50871a),[_0x4832f3,_0x5f2b44]=M(_0x147d41(0x2ed),_0x50871a),[_0x11b453,_0x4e4af8]=M(_0x147d41(0x380),_0x50871a),[_0x1eb655,_0x2e63f0]=M(_0x147d41(0x295),_0x50871a),[_0x43b40e,_0xe1edf4]=M(_0x147d41(0x503),_0x50871a),[_0xd992ff,_0x177e49]=M('valueScale',_0x50871a),[_0x290403,_0xe8c237]=M(_0x147d41(0x4c4),_0x50871a),[_0x6dc4dc,_0x2ac0f0]=M('digitalFixed',_0x50871a),[_0x3da6d5,_0x1f5658]=(0x0,f[_0x147d41(0x3dd)])(_0x290403||''),_0x56bc65=_0x3fbb4e===s[_0x147d41(0x5bd)][_0x147d41(0x5c0)]?s[_0x147d41(0x398)]['pie'][_0x147d41(0x259)]:0x0,[_0xa1c482,_0x4334ab]=M(_0x147d41(0x259),_0x50871a),_0x52d715=X(_0xbb5a38,ue),_0x22aa13=X(_0xbb5a38,xe),_0x55699d=(0x0,o[_0x147d41(0x615)])(t[_0x147d41(0x2a6)]),_0xddf0a7=(0x0,f[_0x147d41(0x4e1)])(()=>({'visible':!0x0,'contentType':s[_0x147d41(0x398)][_0x147d41(0x460)][_0x147d41(0x5e0)],'fontSize':s['defaultChartConfig'][_0x147d41(0x33b)][_0x147d41(0x479)],'position':s[_0x147d41(0x41c)]['Outside']}),[]),_0x54e50f=(0x0,f[_0x147d41(0x66c)])(_0x63cd9d=>{const _0x1cc41e=_0x147d41;let _0x49fe55=Number(_0x63cd9d),_0x1a58a1=_0x49fe55>0x0?s[_0x1cc41e(0x5bd)][_0x1cc41e(0x5c0)]:s['ChartTypeBits'][_0x1cc41e(0x3f6)];_0x1a58a1!==_0x3fbb4e&&(_0x429c51==null||_0x429c51(_0x1a58a1)),_0x4334ab(_0x49fe55);},[_0x3fbb4e,_0x429c51]),{t:_0x5194ba}=_0xbb5a38;return(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x439),'children':[(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x560),'children':[(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x381),'children':[(0x0,h['jsx'])('div',{'className':_0x147d41(0x4fb),'children':_0x5194ba(_0x147d41(0x552))}),(0x0,h[_0x147d41(0x433)])(d['Select'],{'className':_0x147d41(0x3c6),'value':_0xa1c482?String(_0xa1c482):_0x56bc65*0x64+'%','options':K,'onChange':_0x54e50f})]}),(0x0,h['jsxs'])(_0x147d41(0x3aa),{'className':_0x147d41(0x381),'children':[(0x0,h[_0x147d41(0x433)])(_0x147d41(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5194ba(_0x147d41(0x1d3),_0x5194ba(_0x147d41(0x661)))}),(0x0,h[_0x147d41(0x433)])(Q,{'color':_0x14ca83==null?'':_0x14ca83,'onChange':_0x24af53})]})]}),(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h['jsx'])(_0x147d41(0x3aa),{'className':_0x147d41(0x4fb),'children':_0x5194ba(_0x147d41(0x416))}),(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x672),'children':[(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x381),'children':[(0x0,h[_0x147d41(0x433)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5194ba('chart.styleEditPanel.pieValScale')}),(0x0,h[_0x147d41(0x433)])(d['InputNumber'],{'value':_0xd992ff==null?0x1:_0xd992ff,'onChange':_0x41bb9a=>{const _0x3084da=_0x147d41;_0x55699d['setContextValue'](t[_0x3084da(0x481)],!0x1),_0x177e49(Number[_0x3084da(0x5c7)](_0x41bb9a)?null:Number(_0x41bb9a));},'onFocus':()=>_0x55699d['setContextValue'](t[_0x147d41(0x481)],!0x0),'onBlur':_0x59a3a5=>{const _0x235ebd=_0x147d41;_0x55699d[_0x235ebd(0x5d7)](t[_0x235ebd(0x481)],!0x1);let _0x17c9f6=_0x59a3a5[_0x235ebd(0x310)][_0x235ebd(0x3b4)];_0x177e49(_0x17c9f6===''?null:Number(_0x17c9f6));},'onPressEnter':_0x44257e=>{const _0x20cb38=_0x147d41;let _0x3e2189=_0x44257e[_0x20cb38(0x310)][_0x20cb38(0x3b4)];_0x177e49(_0x3e2189===''?null:Number(_0x3e2189));}})]}),(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x381),'children':[(0x0,h[_0x147d41(0x433)])(_0x147d41(0x3aa),{'className':_0x147d41(0x4fb),'children':_0x5194ba(_0x147d41(0x5b8))}),(0x0,h[_0x147d41(0x433)])(d[_0x147d41(0x30a)],{'value':_0x6dc4dc==null?0x1:_0x6dc4dc,'onChange':_0xe2f5eb=>{const _0x5d4e4e=_0x147d41;_0x55699d[_0x5d4e4e(0x5d7)](t[_0x5d4e4e(0x481)],!0x1),_0x2ac0f0(Number['isNaN'](_0xe2f5eb)?null:Number(_0xe2f5eb));},'onFocus':()=>_0x55699d[_0x147d41(0x5d7)](t[_0x147d41(0x481)],!0x0),'onBlur':_0xb8f586=>{const _0x266079=_0x147d41;_0x55699d[_0x266079(0x5d7)](t[_0x266079(0x481)],!0x1);let _0x2e3c0d=_0xb8f586[_0x266079(0x310)][_0x266079(0x3b4)];_0x2ac0f0(_0x2e3c0d===''?null:Number(_0x2e3c0d));},'onPressEnter':_0x2dc7c3=>{const _0x3b100a=_0x147d41;let _0x39b0a4=_0x2dc7c3[_0x3b100a(0x310)]['value'];_0x2ac0f0(_0x39b0a4===''?null:Number(_0x39b0a4));}})]}),(0x0,h[_0x147d41(0x5a7)])(_0x147d41(0x3aa),{'className':_0x147d41(0x381),'children':[(0x0,h[_0x147d41(0x433)])('div',{'className':_0x147d41(0x4fb),'children':_0x5194ba(_0x147d41(0x623))}),(0x0,h['jsx'])(d['Input'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x3da6d5,'onChange':_0x1f5658,'onFocus':()=>{const _0x1d4467=_0x147d41;_0x55699d[_0x1d4467(0x5d7)](t[_0x1d4467(0x481)],!0x0);},'onBlur':()=>{const _0xa175bf=_0x147d41;_0x55699d[_0xa175bf(0x5d7)](t[_0xa175bf(0x481)],!0x1),_0xe8c237(_0x3da6d5);}})]})]})]}),(0x0,h[_0x147d41(0x433)])(Ke,{'localeService':_0xbb5a38,'chartType':_0x3fbb4e,'fallbackLabelStyle':_0xddf0a7,'labelStyle':_0x480455==null?{}:_0x480455,'onVisibleChange':_0x2939f4=>_0x4e84f5({'visible':_0x2939f4}),'onLabelStyleChange':(_0x18c534,_0x316f13)=>_0x4e84f5({[_0x18c534]:_0x316f13}),'positionOptions':_0x52d715,'contentTypeOptions':_0x22aa13,'onPadAngleChange':_0x13fd69=>_0x5f2b44(_0x13fd69),'padAngleStyle':_0x4832f3,'onHalfPieChange':_0x5b04d2=>_0x4e4af8(_0x5b04d2),'isHalfPie':_0x11b453,'isRosePie':_0x1eb655,'onRosePieChange':_0x44bc40=>_0x2e63f0(_0x44bc40),'onShowLabelLineChange':_0x28c0a1=>_0xe1edf4(_0x28c0a1),'showLabelLine':_0x43b40e,'isPieLike':!0x0})]});};function _0x484a(_0x42c793,_0x5214d){_0x42c793=_0x42c793-0x1be;const _0x5d6c39=_0x5d6c();let _0x484a32=_0x5d6c39[_0x42c793];return _0x484a32;}function nt(_0x2640e4){const _0x5a7486=_0x5d1961;var _0x383e98,_0x46751b;let {localeService:_0x2ddfc0,service:_0x27f9cd}=_0x2640e4,_0x1766a4=(0x0,o[_0x5a7486(0x615)])(t['IContextService']),_0x496ddf=_0x2ddfc0['t'],_0x53b209=X(_0x2ddfc0,Ce),[_0x2e68a7,_0x3703a6]=M(_0x5a7486(0x473),_0x27f9cd),[_0x41dbe4,_0x18b8d4]=M(_0x5a7486(0x312),_0x27f9cd),[_0x2230a5,_0x5dc650]=M(_0x5a7486(0x1de),_0x27f9cd),[_0xb036f7,_0x38b0f4]=M('forceOption',_0x27f9cd),[_0x368860,_0x18e6b7]=M('rotateLabel',_0x27f9cd),_0x3dfdd8=_0x28d8a9=>{_0x38b0f4({..._0xb036f7,..._0x28d8a9});},_0x5f3f22=_0x2dd1a9=>{_0x3703a6(_0x2dd1a9);},_0x339abf=_0x2e68a7===s[_0x5a7486(0x3d7)][_0x5a7486(0x4a2)],_0x47cb74=_0x2e68a7===s[_0x5a7486(0x3d7)][_0x5a7486(0x494)],_0x5dbf9e=X(_0x2ddfc0,W),[_0x2eaeee,_0x4349c0]=M(_0x5a7486(0x5f1),_0x27f9cd);return(0x0,h['jsxs'])(_0x5a7486(0x3aa),{'children':[(0x0,h['jsxs'])('div',{'className':_0x5a7486(0x24d),'children':[(0x0,h['jsx'])(_0x5a7486(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x496ddf(_0x5a7486(0x331))}),(0x0,h['jsx'])(d['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x2eaeee==null?s['defaultChartConfig'][_0x5a7486(0x20d)][_0x5a7486(0x291)]:_0x2eaeee),'options':_0x5dbf9e,'onChange':_0x305144=>_0x4349c0(_0x305144)})]},_0x5a7486(0x4af)),(0x0,h[_0x5a7486(0x433)])(_0x5a7486(0x3aa),{'children':(0x0,h['jsx'])(d[_0x5a7486(0x3b0)],{'checked':_0x41dbe4==null?!0x0:_0x41dbe4,'onChange':_0x48f950=>{_0x18b8d4==null||_0x18b8d4(!!_0x48f950);},'children':_0x496ddf('chart.relation.useValueAsSymbolSize')})}),(0x0,h[_0x5a7486(0x433)])(_0x5a7486(0x3aa),{'className':_0x5a7486(0x44a),'children':(0x0,h[_0x5a7486(0x433)])(d['Checkbox'],{'checked':_0x2230a5==null?!0x0:_0x2230a5,'onChange':_0x470f42=>{_0x5dc650(!!_0x470f42);},'children':_0x496ddf(_0x5a7486(0x48e))})}),(0x0,h['jsx'])(_0x5a7486(0x3aa),{'className':_0x5a7486(0x1d5),'children':_0x496ddf(_0x5a7486(0x4b9))}),(0x0,h[_0x5a7486(0x433)])(d[_0x5a7486(0x5db)],{'className':_0x5a7486(0x3c6),'value':_0x2e68a7==null?s[_0x5a7486(0x3d7)][_0x5a7486(0x2f6)]:_0x2e68a7,'options':_0x53b209,'onChange':_0x5f3f22}),_0x339abf&&(0x0,h[_0x5a7486(0x5a7)])(_0x5a7486(0x3aa),{'className':_0x5a7486(0x4f0),'children':[(0x0,h[_0x5a7486(0x433)])(_0x5a7486(0x3aa),{'className':_0x5a7486(0x4fb),'children':_0x496ddf(_0x5a7486(0x238))}),(0x0,h[_0x5a7486(0x5a7)])(_0x5a7486(0x3aa),{'className':_0x5a7486(0x2b3),'children':[(0x0,h[_0x5a7486(0x433)])('div',{'className':'univer-flex-1','children':_0x496ddf(_0x5a7486(0x2e2))}),(0x0,h[_0x5a7486(0x433)])(d['InputNumber'],{'className':'univer-flex-1','controls':!0x1,'onFocus':()=>_0x1766a4[_0x5a7486(0x5d7)](t[_0x5a7486(0x481)],!0x0),'onBlur':_0x522617=>{const _0x556497=_0x5a7486;_0x1766a4['setContextValue'](t[_0x556497(0x481)],!0x1);},'value':(_0x383e98=_0xb036f7==null?void 0x0:_0xb036f7['repulsion'])==null?s['defaultChartConfig'][_0x5a7486(0x20d)]['force'][_0x5a7486(0x5d1)]:_0x383e98,'onChange':_0x84a88=>_0x3dfdd8({'repulsion':_0x84a88})})]}),(0x0,h[_0x5a7486(0x5a7)])(_0x5a7486(0x3aa),{'className':_0x5a7486(0x2b3),'children':[(0x0,h[_0x5a7486(0x433)])(_0x5a7486(0x3aa),{'className':'univer-flex-1','children':_0x496ddf(_0x5a7486(0x350))}),(0x0,h[_0x5a7486(0x433)])(d[_0x5a7486(0x30a)],{'className':'univer-flex-1','controls':!0x1,'onFocus':()=>_0x1766a4[_0x5a7486(0x5d7)](t[_0x5a7486(0x481)],!0x0),'onBlur':_0x37d761=>{const _0x126f3e=_0x5a7486;_0x1766a4[_0x126f3e(0x5d7)](t[_0x126f3e(0x481)],!0x1);},'value':(_0x46751b=_0xb036f7==null?void 0x0:_0xb036f7[_0x5a7486(0x2ee)])==null?s[_0x5a7486(0x398)][_0x5a7486(0x20d)][_0x5a7486(0x3da)][_0x5a7486(0x2ee)]:_0x46751b,'onChange':_0x762740=>_0x3dfdd8({'gravity':_0x762740})})]}),(0x0,h[_0x5a7486(0x5a7)])('div',{'className':_0x5a7486(0x2b3),'children':[(0x0,h['jsx'])('div',{'className':'univer-flex-1','children':_0x496ddf(_0x5a7486(0x553))}),(0x0,h['jsx'])(d[_0x5a7486(0x30a)],{'className':'univer-flex-1','controls':!0x1,'value':_0xb036f7==null?void 0x0:_0xb036f7['edgeLength'],'onFocus':()=>_0x1766a4[_0x5a7486(0x5d7)](t['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x429af1=>{const _0x13c6f5=_0x5a7486;_0x1766a4[_0x13c6f5(0x5d7)](t[_0x13c6f5(0x481)],!0x1);},'onChange':_0x278d38=>_0x3dfdd8({'edgeLength':_0x278d38}),'min':0x0,'step':0xa})]})]}),_0x47cb74&&(0x0,h[_0x5a7486(0x433)])(_0x5a7486(0x3aa),{'className':'univer-mt-2','children':(0x0,h[_0x5a7486(0x433)])(d[_0x5a7486(0x3b0)],{'checked':_0x368860==null?s[_0x5a7486(0x398)]['relation'][_0x5a7486(0x1c7)][_0x5a7486(0x3b7)]:_0x368860,'onChange':_0x4f0cd4=>{_0x18e6b7(!!_0x4f0cd4);},'children':_0x496ddf(_0x5a7486(0x23c))})})]});}const rt=s['defaultChartConfig'][_0x5d1961(0x650)];function it(_0x5f0a26,_0x3529aa,_0x5930c4){const _0x1d0e48=_0x5d1961;let [_0x43167c]=M(_0x1d0e48(0x3ba),_0x5930c4),[_0x241f01]=M(_0x1d0e48(0x668),_0x5930c4),_0x3cb993=_0x3529aa===s['defaultChartConfig'][_0x1d0e48(0x2d0)],_0x234fe4=_0x43167c==null?void 0x0:_0x43167c[_0x3529aa];return _0x5f0a26===s[_0x1d0e48(0x5bd)][_0x1d0e48(0x3ff)]?_0x3cb993?((()=>{const _0x1fe225=_0x1d0e48;let _0x5595dc=_0x241f01==null?void 0x0:_0x241f01[_0x1fe225(0x2cf)]((_0x46d48b,_0x1d03a8)=>{const _0x303a08=_0x1fe225;var _0x5a36da;let _0x140381=_0x43167c==null?void 0x0:_0x43167c[_0x46d48b],_0xaba995=_0x1d03a8===0x0?rt[_0x303a08(0x583)]:rt[_0x303a08(0x3de)];return(_0x5a36da=_0x140381==null?void 0x0:_0x140381[_0x303a08(0x4e6)])==null?_0xaba995:_0x5a36da;}),_0x29853d=_0x5595dc==null?void 0x0:_0x5595dc[0x0];return _0x5595dc!=null&&_0x5595dc[_0x1fe225(0x414)](_0x1e1e83=>_0x1e1e83===_0x29853d)?_0x29853d:s['ChartTypeBits'][_0x1fe225(0x2f6)];})()):((()=>{const _0x4be986=_0x1d0e48;var _0x1c63db;let _0xec4497=_0x3529aa===String(_0x241f01==null?void 0x0:_0x241f01[0x0])?rt[_0x4be986(0x583)]:rt['otherChartType'];return(_0x1c63db=_0x234fe4==null?void 0x0:_0x234fe4[_0x4be986(0x4e6)])==null?_0xec4497:_0x1c63db;})()):_0x5f0a26;}function _0x5d6c(){const _0x1b227f=['splice','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','ChartBorderDashType','linear','function','ChartTrendlineType','dispose','setTimeout','datetime','chart.shape.emptyRoundRect','chart.waterfall.stackType','fillTextOffsetY','exp','StackType','univer-w-[--radix-popper-anchor-width]','relationNodeShape','ISheetClipboardService','LineChartIcon','08-05','univer-leading-8','block','rightYAxis','parentNode','_viewState','helper','scrollbarClassName','open','univer-flex\x20univer-items-center\x20univer-text-base','iterator','RadioGroup','#ffffff','drawingId','getHostSize','EmptyRect','getSheetBySheetName','chart.dashType.dot','assign','chartTypes.barPercentStacked','objects','SelectModeEnum','RelationshipIcon','chart.styleEditPanel.gap','The\x20element\x20id\x20specified\x20is\x20not\x20found.','asCategory','packageName','InvalidValueType','sizeRange','getDataSource','chart.axisPositionType.','clsx','type','useDependency','Multiple','DeleteEmptyIcon','chart.titles.yAxisTitle','origin','disposeWithMe','lineColor','Module','rosePie','Fragment','indicatorLabelTextColor','#,##0.00_);[Red]-#,##0.00','contentType','setOption','chart.styleEditPanel.pieValSuffix','backgroundColor','chart.trendline.log','wordCloud','chart.point','getSheetBySheetId','2452870RwSRrs','univer-absolute\x20univer-right-2\x20univer-top-2','floor','pareto','-1,234.56','chart.titles.title','chart.legendSelectModeType.','_removeHost$','subtitle','filter','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','canvas','mergeMenu','chart.waterfall.showSubtotal','chart.seriesBlock.format','msClearImmediate','circle','values','color','PRINT_CHART_COMPONENT_KEY','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','AreaChartIcon','maxDecimals','width','\x22#,##0.00_);(\x22','getModel','subscribe','length','getChartModel','removeAll','chart.invalidType.zero','top','putImageData','chart.waterfall.positiveStyle','deepClone','lineVisible','button','getRegisteredThemes','HeatmapChartIcon','combination','#fff','50%\x2040%','chart.positionType.','entries','Value','_sheetsChartService','checkChartCanRender','activeChartModel','bubbleYAxis','labelStyle','IRuntimeAxisPriority','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','mapArray','Accordion','applyStyle','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.border','chart.pareto.barSeries','_initCopyPaste','univer-flex\x20univer-flex-col\x20univer-gap-4','chart.settingsLabels.useAsCategoryLabels','chart.color','$.£.¥.¤.֏.؋.৳.฿.₡.₦.₩.₪.₫.€.₭.₮.₱.₲.₴.₸.₹.₺.₼.₽.₾.₿','seriesValues','Center','35HJbNEG','trendlineValues','useCallback','1117534hPGIUE','piecewise','下午1:30','getLayoutRect','indicatorLineColor','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','oClearImmediate','getRenderById','SheetInterceptorService','section','add','textContent','fillTextOffsetX','size','occupied','circular','IMenuManagerService','PieChartIcon','chart.withType','LogarithmicIcon','_rangeSelectMode','UniverSheetsDrawingUIPlugin','waterfallStack','EmptyArrow','chartThemeColorType','_generatePasteMutations','transformToDrawingPosition','chart.withColor','chartTypes.sankey','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','deg)\x20','getViewState','sheet.numfmt.general','BarPercentStacked','SheetSkeletonManagerService','Text','MoreDownIcon','chart.waterfall.subtotalStyle','useEmphasis','bubbleLabel','chartTypes.area','funnelGap','RemoveSheetCommand','startsWith','SeriesName','DependentOn','digitalFixed','pow','chart.shape.emptyPin','clear','redo','chart.series','getContextValue','univer-mt-5\x20univer-flex\x20univer-justify-end','chart.waterfall.positiveLegendText','capitalFirst','invalidValueType','UniverSheetsChartPlugin','chart.trendline.order','COMMAND','DropdownMenu','round','univer-flex\x20univer-flex-col\x20univer-gap-2.5','min','all','reduce','SheetsChartUIController','Inside','chartId','getBatchRemoveOp','delete','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','Bubble','_createHost','clearTimeout','ThemeService','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.openChartPanel','_renderModelMap','13:30','appendChild','80%','info','right','indicator','relation','getName','getAllowedChartTypes','pentagon','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','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','chart.visualMapScope','sheet.chart.edit.panel','chart.alignY.','Radar','univer-transition-transform\x20univer-duration-300','chart.styleEditPanel.dateAxisTips','AreaStacked','dialog.numfmt.cancel','rotationStep','LinePointShape','triangle-upright','chart.max','scene','_init','borderClassName','chart.shape.diamond','chart.bubble.label','chart.pareto.lineSeries','_sheetCanvasFloatDomManagerService','chartTypes.funnel','PREDEFINED_HOOK_NAME','chart.waterfall.subtotal','INSERT','chartModelAdded$','borderColor','chartBitsUtils','removeViewState','getImageData','chart.waterfall.negativeStyle','chart.styleEditPanel.halfPie','_chartModelService','toPrimitive','tooltipAxisLabelColor','下午1:30:30','getDrawingData','priority','ItalicIcon','chart.relation.forceOptions','chart.theIndexItem','getDataExtent','chart.shape.triangle','chart.relation.rotateLabel','r2Color','You\x20must\x20pass\x20valid\x20HTML\x20elements,\x20or\x20ID\x20of\x20the\x20element.','endRow','drawOutOfBound','onRendered','getCurrentUnitForType','trendline','ChartThemeService','bubbleXAxis','getContext','univer-mt-2','max','register','Linear','EmptyPin','preventDefault','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','chart.gridlines.text','text','chart.styleEditPanel.reverseAxisOrder','axes','chart.addSeries','DrawingApplyType','chart.shape.roundRect','univer-text-base','chart.styleEditPanel.useAbsValue','red','showR2','doughnutHole','with','wordCloudShape','onDispose','focus','rotateRatio','setImmediate','cos','SELECTOR','showFormula','src','_univerInstanceService','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','Stacked','startX','small','yyyy-MM-dd','xAxisOptions','defineProperty','RadarChartIcon','scale','lineOrArea','M\x22月\x22d\x22日\x22','valueScale','chartTypes.pareto','slice','unitId','MovingAverageIcon','clientY','content','xAxisTitle','_sheetCanvasPopManagerService','ExponentialIcon','\x22#,##0.00_);[Red](\x22','toString','abs','_config','openChartPanelById','barStyle','theme','univer-flex-1\x20univer-overflow-auto','chart.stackType.stack','height','AxisValueType','undo','EChartRenderEngineName','Waterfall','interceptCommand','startRow','_themeService','rgba(255,0,0,0.3)','config$','subUnitId','RangeSelector','util','rangeInfo','nodeShape','General','specialChartWidthMap','Empty','isRosePie','ColorPicker','getFloatDomInfo','call','DrawingTypeEnum','getData','visualMapType','suffix','chart.align.right','getRenderModel','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','tick','replace','chart.category','Funnel','dialog.numfmt.generalDesc','areaLineStyle','IContextService','dialog.numfmt.currencyDesc','chartTypes.combination','point','useEffect','positive','subscribeEvent','_initSheetChange','setBorder','titleAlign','toStringTag','chart.addDataPoint','animation','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','borderRadius','IncreaseIcon','IUniverInstanceService','graphic','config','fillTextWidth','SHEETS_CHART_PLUGIN_NAME','getBoundingClientRect','_initCommands','registerWordCloud','isArray','getFormatInfo','aggregate','triangle-forward','hidePanel','legend','chart.styleEditPanel.padAngle','name','UPDATE','wordCloudRepeat','params','chart.chartBorderColor','getSheetId','CategoryName','chart.waterfall.negative','AxisAlignEnum','chart.invalidType.gaps','map','allSeriesId','gap','overflow','chart.styleEditPanel.showLabels','toFixed','seriesList','univer-w-full','univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','axisTitleAlign','PercentStack','rotationRange','#,##0.00_);-#,##0.00','layoutAnimation','devicePixelRatio','concat','seriesIndexes','RemoveSheetDrawingCommand','chart.position','chart.relation.repulsion','stopImmediatePropagation','sort','getOwnPropertyDescriptor','deriveStateFromActiveSheet$','IMessageService','List','_getSceneAndTransformerByDrawingSearch','split','focusDrawing','generateRandomId','padAngleStyle','gravity','InsertSheetsChartMutation','setActiveChartModel','Break','categoryIndex','distinctUntilChanged','_sheetDrawingService','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','None','LocaleService','#,##0_);[Red](#,##0)','RoundRect','chart.trendline.pow','chart.ticks.tickLength','mousemove','getTransformerByCreate','1px\x20solid\x20transparent','getRuntimeContext','shadowOffsetY','ColumnPercentStacked','substr','chart.shape.emptyTriangle','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','_initMenus','removeEventListener','chart.waterfall.subtotalLegendText','Close','ensureState','InputNumber','chart.reset','forceOption','shadowColor','mount','dialog.numfmt.dateTypes','target','Sorry\x20your\x20browser\x20not\x20support\x20wordCloud','useValueAsSymbolSize','random-dark','rotate','xAxis','Segmented','@univerjs-pro/sheets-chart-ui','shuffle','detail','chart.shape.arrow','fillOpacity','bubbleSizeSeriesId','chartTypes.wordCloud','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','createChartInstance','sheet.numfmt.accounting','ondraw','combineLatestWith','onCommandExecuted','Diamond','Date','gridLine','classes','chart.seriesDefaultName','dialog.numfmt.decimalPlaces','univer-flex\x20univer-items-center','_copyInfo','rect','eachSeriesByType','normal','clearImmediate','shadowBlur','chart.dataNodeShape','_mountNodes','HeatmapIcon','format','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','univer-size-5','univer-ml-2\x20univer-transition-transform','Auto','SheetsChartService','BarStacked','textStyle','useDateAxis','getBatchAddOp','univer-w-[208px]','chart.invalidType.connectDataPointsWithStraightLines','getColors','titleFontSize','textStyle.fontWeight','chart.shape.circle','chart.lineType.smooth','lineWidth','Dropdown','TitlePositionEnum','WaterfallChartIcon','getWidth','sin','SankeyChartIcon','tooltipAxisColor','allSeriesStyle','chart.axes.useRightAxis','set','chart.relation.gravity','px)\x20scale(','test','chartTypes.bar','getDefaultTheme','baseOn','_renderManagerService','textBaseline','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','series.wordCloud','radio','msSetImmediate','chart.chartAndAxisTitles','error','wordclouddrawn','textStyle.fontSize','_ensureChartInstance','series','sheet.command.menu-insert-chart','Heatmap','getBoxLayoutParams','wordcloudstart','font','WaterfallStackTypeEnum','_debounceHandle','Arrangement','univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','LegendPositionEnum','CopySheetCommand','chart.titles.titleText','maskImage','_localeService','Hide','\x22#,##0.00','className','chartTypes.waterfall','Dotted','Bottom','IDialogService','\x22*\x20#,##0','data','chart.shape.emptyRect','dialog.numfmt.formatTypes','toSpec','\x22#,##0.00)','weight','trendlines','clientX','isHalfPie','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','headers','_resizeChart','SeriesLabelPosition','chart.styleEditPanel.labelPosition','chart.min','isPatternEqualWithoutDecimal','printChart','shrinkToFit','find','_chartHostProvider','bold','SheetSkeletonService','chart.titles.xAxisTitle','fontWeight','ChartUpdateConfigCommand','Error','_chartInstanceMap','waterfall','getTheme','movingAvg','activeSheet$','domId','defaultChartConfig','8JhKbyB','get','univer-mr-2\x20univer-text-2xl','span','registerCommand','chart.titles.titleAlign','linearMap','registerFeatureMenu','dashType','chartType$','Plugin','1,235','_generateCutPasteMutations','children','\x22#,##0.00_);-\x22','RemoveSheetsChartMutation','chartTypes.bubble','div','univer-text-2xl','chart.titles.mainTitle','primary','radar','removeChartModel','Checkbox','chart.categoryDefaultName','stateTransition','SheetCanvasFloatDomManagerService','value','forceRender','Disposable','rotateLabel','scaleY','1930年08月05日','seriesStyleMap','rangeSelectMode','sheet.operation.hide-chart-panel','includes','onStarting','WordCloudMuskImageService','fill','chart.styleEditPanel.useDateAxis','_chartThemeService','onTransformChange$','setAttribute','focused$','univer-w-full\x20!univer-min-w-0','pieBorderColor','executeChartUpdateSourceConfig','rot','_chartHostProviderService','chart.bubble.size','gridSize','ColumnChartIcon','DisposableCollection','position','_sheetClipboardService','Middle','chart-host','runtime','ChartAttributeBits','easing','223112oqqWWk','RelationChartLayoutEnum','object','addEventListener','force','getElementById','setHostStyle','useState','otherChartType','time','categoryList','string','duration','UNIVER_SHEET','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','webkitTapHighlightColor','ChartUpdateSourceCommand','chart.dashType.solid','chart.value','combineLatest','square','getChartPopupMenus','IRenderManagerService','useObservable','_drawingManagerService','weightFactor','PowerLineIcon','areaOpacity','chart.line','chart.axes.horizontalAxis','Area','ChartModelService','Pie','ComboChartIcon','chart.titles.titleFormat','PolynomialIcon','\x22Trebuchet\x20MS\x22,\x20\x22Heiti\x20TC\x22,\x20\x22微軟正黑體\x22,\x20\x22Arial\x20Unicode\x20MS\x22,\x20\x22Droid\x20Fallback\x20Sans\x22,\x20sans-serif','chart.withFormat','rangeInfo$','bounds','runtimeAxes','Combination','yAxisTitle','getSkeleton','A/P\x20h:mm','chart.trendline.linear','Input','chart.axes.rightVerticalAxis','univer-rounded-lg\x20univer-p-2','4903533leGTPF','chart.relation.title','chart.shape.square','each','ceil','Line','8月5日','constructor','mozClearImmediate','univer-mb-2\x20univer-text-sm\x20univer-font-medium','drawingType','radarFill','wait','every','ICommandService','chart.styleEditPanel.pieValScale','chart.cloud.title','touchstart','maxRotation','copyType','chart.none','PieLabelPosition','align','70%','registerPreprocessor','hidden','rightYAxisOptions','remove$','tooltipAxisLabelBackground','left','item','Sankey','_renderDebounceMap','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','univer-mb-2\x20univer-flex\x20univer-items-center','Boxplot','debounceTime','COPY_TYPE','chartTypes.scatter','funnel','debounce','chartTypes.areaPercentStacked','render','wordcloudstop','jsx','bubbleSeries','IRuntimeAxisPosition','_currentModel','maskColor','symbolType','univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','bind','univer-mb-2','SetDrawingApplyMutation','getCurrentTypeOfUnit$','borderStyle','some','univer-flex','paretoDataPointsOptions','Percent','8px','hasOwnProperty','13:30:30','scaleX','Currency','emphasis','chartTypes.pie','univer-my-2','chart.titles.titlePosition','_focusedDrawings','Pareto','registerViewState','area','REMOVE','08-05\x20下午\x2001:30','yAxisOptions','webkitClearImmediate','translate','center','removeHost$','Injector','univer-sheet-chart-format-dialog','transform','chart.stack','chart.shape.rect','_chartRenderService','chart.trendline.name','createElement','sqrt','pie','addClipboardHook','dialog.numfmt.negativeNumberTypes','maskGapWidth','univer-mb-2\x20univer-mt-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','TextVerticalAlign','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_componentManager','chart.withOpacity','px\x20','Arrow','updateWatermark','10ayAcdd','emphasis.textStyle.fontFamily','visible','dataPointsOptions','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','chart.deleteChart','FOCUSING_COMMON_DRAWINGS','relationLayout','chart.shape.polygon','border','range','querySelector','boxSizing','fontSize','ThousandthPercentile','.chart-host','getFocusedUnit','_sidebarService','univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','add$','negative','FOCUSING_PANEL_EDITOR','chart.chartStyle','selectMode','random','sheet.operation.open-chart-panel','DEFAULT_PASTE','#,##0_);(#,##0)','webkitSetImmediate','fillText','Relation','chart.dataRange','stateAnimation','dialog.numfmt.currencyTypes','chart.relation.emphasis','_contextService','touches','MEDIA','94653tMaMaj','_sidebarDisposable','Circular','pieLabelStyle','RibbonInsertGroup','sheetDisposed$','dialog.setFormat','chart.themes','bottom','univer-text-gray-500','Step','EmptyCircle','fontFamily','symbolSize','focus$','chart.fill','Force','title','getCurrentRangeDisable$','initData','univer-mt-2.5','minRotation','extendSeriesModel','initPanel','DRAWING_CHART','Right','parseFloat','getCanvasElement','univer-text-xs','shape','Tooltip','Bar','dialog.numfmt.confirm','deserializeRangeWithSheet','category','transparent','CloudIcon','MM-dd\x20A/P\x20hh:mm','chart.legend','chart.relation.layoutType','CloudOutlineIcon','isSupported','_sheetSkeletonService','AlignTextBothIcon','_(\x22','relative','getTime','ISheetDrawingService','createTextStyle','selectedMode','valueSuffix','hover','shadowOffsetX','MM-dd','chart.default','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','touchDependencies','postMessage','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-px-3','getBatchUpdateOp','number','AreaPercentStacked','handleActiveSubUnitChange','echarts','period','funnelUseAbsValue','h:mm:ss','MultipleSelect','push','chart.shape.emptySquare','none','textStyle.fontFamily','save','stylizeSpec','stackType','hasPaddingAngle','keys','fillRect','useMemo','chartTypes.column','chart.allSeries','startColumn','layoutInstance','chartType','UniverSheetsChartUIPlugin','Inject','DataOrientation','univer-text\x20univer-mb-2\x20univer-text-sm','chart.withSize','_generateCopyPasteMutations','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','wordCloudMask','dialog.numfmt.date','univer-mt-4','chart.trendline.displayName','chart.withThickness','getSheetCommandTarget','chart.legendSelectMode','chart.trendline.exp','rightYAxisTitle','chart.gridlines.majorGridlines','titlePosition','chartTypes.line','style','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Numeric','Column','indicatorLabelColor','Top','group','IDrawingManagerService','#,##0.00_);#,##0.00','showLabelLine','nowrap','rgba(0,\x200,\x200,\x200)','checkHost','chart.trendline.period','orient','fillStyle','0.20.0','getWordCloudImageMaskMap','forEach','seriesIndex','next','dimension','chart.setupChart','layout','WaterfallSeriesTypeEnum','_getWatermark','chart.withShape','close','chart.trendline.showFormula','univer-flex\x20univer-items-center\x20univer-justify-between','chart.chartType','CategoryType','Link','!univer-min-w-0\x20univer-flex-1','chart.axes.verticalAxis','_debounceHandleMap','titles','gradientFill','Observable','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','h:mm','BoxplotIcon','abort','Square','EmptyRoundRect','chart.trendline.showR2','__highDownDispatcher','univer-size-full','univer-mt-2-base','chart.legendVisualMapType.','2898258Uzlbgw','_commandService','seriesResourceList','(1,235)\x20','BarChartIcon','img','下午01:30','\x22fillOpacity\x22','key','chart.shape.emptyDiamond','_model','heatmap','useSubtotal','UniverInstanceType','univer-box-border\x20univer-h-8','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.dashType.dash','dataPoints','prototype','ComponentManager','BoldIcon','startY','fillTextHeight','Polygon','SheetsChartUIService','BubbleIcon','numfmt','drawn','chart.styleEditPanel.showDataLabels','getDrawingByParam','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','Percentage','Tools','dispatchEvent','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','from','CommandType','chartTypeCanUseTrendLine','chart.doughnutHole','chart.relation.edgeLength','Button','#,##0.00_);[Red]#,##0.00','LinearIcon','measureText','SelectList','chart.stackType.percent','1930-08-05','ChartIcon','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','has','DeleteIcon','getRangeInfo','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','reverse','Zero','blur','join','chart.align.left','message','getActiveSheet','chart.customChart','parseInt','registerLayout','subtotal','context$','dialog.numfmt.thousandthPercentileDesc','_sheetInterceptorService','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','rotate(','dialog.numfmt.currency','_registerChartIcons','chart.titles.rightYAxisTitle','dataSource','sheetTransform','DRAWING_DOM','chart.align.center','WordCloud','chart.shape.pin','_menuManagerService','univer-w-[136px]','dialog.numfmt.general','univer-sheet-chart-format-dialog-id','setStyle','label','createIdentifier','useAbsValue','__default__','firstChartType','Scatter','labelVisible','getCurrentLastSelection','lineStyle','LabelContentType','yAxis','Secondary','items','1,234.56','registerRenderModel','symbol','axis','Start','opacity','#000','_sheetsChartUIService','decorate','Fail\x20to\x20create\x20float\x20dom','chart.gridlinesAndTicks','chart.waterfall.arrangement','triangle','style$','border-box','1,235)','radarShape','1531602hDDOgy','click','Stack','star','heatmapMin','chart.shape.emptyArrow','list','chart.dataPoint','px\x20sans-serif','chart.styleEditPanel.wordCloudShape','jsxs','CUT','paretoStyle','6cJLcIR','root','TextAlign','chart.bubble.xAxis','ScatterChartIcon','getCurrentUnitOfType','attachRangeWithCoord','dataRange','EmptyTriangle','MenuItemType','chartTypes.heatmap','heatmapMax','_injector','sidebarOptions$','chart.styleEditPanel.pieDigitalFixed','executeChartUpdateConfig','version','Left','FunnelIcon','ChartTypeBits','indicatorLineType','poly','Doughnut','sheet.numfmt.date','pipe','middle','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','SankeyIcon','sheet.numfmt.thousandthPercentile','isNaN','getItemModel','dialog.numfmt.thousandthPercentile','restore','_updateTransform','currentTarget','chart.trendline.formula','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','chartTypes.barStacked','getUnitId','repulsion','current','chart.trendline.r2','_createCopyInfoByRange','chart.trendline.addTrendLine','chart.align.','setContextValue','categoryType','OPERATION','chart.styleEditPanel.rosePie','Select','univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','Accounting','Row','chart.axes.axisOptions','labelContentType','AreaLineStyle'];_0x5d6c=function(){return _0x1b227f;};return _0x5d6c();}const at=_0x24e980=>{const _0x6041a7=_0x5d1961;let {seriesId:_0x1cba35,service:_0xc6baa5,localeService:_0x8edad2}=_0x24e980,_0x1cd3b5=X(_0x8edad2,z),[_0x38ea17,_0x34c5dd]=M(_0x6041a7(0x3ba),_0xc6baa5),[_0x33148e]=M(_0x6041a7(0x668),_0xc6baa5),_0x20f84a=(0x0,f[_0x6041a7(0x66c)])(_0x34a77e=>{const _0x4b6581=_0x6041a7;let _0x31923e=Number(_0x34a77e);if(_0x1cba35===s[_0x4b6581(0x398)][_0x4b6581(0x2d0)]){let _0x391d17=_0x33148e==null?void 0x0:_0x33148e[_0x4b6581(0x1f9)]((_0x42dd43,_0x50cac3)=>(_0x42dd43[String(_0x50cac3)]={'chartType':_0x31923e},_0x42dd43),{});if(!_0x391d17)return;_0x34c5dd(_0x391d17);}else _0x34c5dd({[_0x1cba35]:{'chartType':_0x31923e}});},[_0x1cba35]),_0x598604=it(s['ChartTypeBits'][_0x6041a7(0x3ff)],_0x1cba35,_0xc6baa5),_0x48280a=String(_0x598604==null?'':_0x598604);return(0x0,h[_0x6041a7(0x433)])(d[_0x6041a7(0x5db)],{'className':_0x6041a7(0x3c6),'value':_0x598604===s[_0x6041a7(0x5bd)][_0x6041a7(0x2f6)]?'':_0x48280a,'options':_0x1cd3b5,'onChange':_0x20f84a});},ot={'shape':s[_0x5d1961(0x398)][_0x5d1961(0x3ae)][_0x5d1961(0x438)],'size':s[_0x5d1961(0x398)]['radar'][_0x5d1961(0x49f)],'color':void 0x0},st=[_0x5d1961(0x4af),'size',_0x5d1961(0x63b)],ct=_0x63eb66=>{const _0x419fb7=_0x5d1961;let {localeService:_0x2fb326,setSeriesStyle:_0x4ed61c,pointStyle:_0x17e3eb}=_0x63eb66;return(0x0,h[_0x419fb7(0x433)])(Ye,{'pointStyle':{...ot,..._0x17e3eb},'controls':st,'localeService':_0x2fb326,'onChange':(_0x116270,_0x5a8260)=>_0x4ed61c({'point':{[_0x116270]:_0x5a8260}})});},lt={'fontSize':s[_0x5d1961(0x398)]['textStyle'][_0x5d1961(0x479)],'contentType':s[_0x5d1961(0x398)][_0x5d1961(0x5e0)],'position':s[_0x5d1961(0x398)][_0x5d1961(0x33b)][_0x5d1961(0x3cf)]},ut=[V()],dt=s[_0x5d1961(0x398)][_0x5d1961(0x43e)],ft=['shape',_0x5d1961(0x1c5),_0x5d1961(0x63b)],pt=[_0x5d1961(0x4af),'size'],mt=_0xe6b96c=>(_0xe6b96c&s['ChartTypeBits'][_0x5d1961(0x40c)])>0x0||(_0xe6b96c&s[_0x5d1961(0x5bd)][_0x5d1961(0x3f4)])>0x0?dt[_0x5d1961(0x293)][_0x5d1961(0x26e)]:_0xe6b96c===s[_0x5d1961(0x5bd)][_0x5d1961(0x216)]?dt[_0x5d1961(0x293)][_0x5d1961(0x3ae)]:dt[_0x5d1961(0x640)],ht=_0x1cd27d=>{const _0x46696f=_0x5d1961;var _0xda0946,_0x40184c;let {chartType:_0x18e708,service:_0x4183ae,localeService:_0x5b0965}=_0x1cd27d,_0x2d986f=X(_0x5b0965,le),_0x21d408=(0x0,f['useMemo'])(()=>J['filter'](_0x37d742=>_0x18e708===s[_0x46696f(0x5bd)][_0x46696f(0x216)]?_0x37d742[_0x46696f(0x3b4)]!==String(s[_0x46696f(0x588)][_0x46696f(0x1e4)])&&_0x37d742[_0x46696f(0x3b4)]!==String(s[_0x46696f(0x588)][_0x46696f(0x54b)]):Ge[_0x46696f(0x55d)](_0x18e708)?!0x0:_0x37d742[_0x46696f(0x3b4)]!==String(s['LabelContentType'][_0x46696f(0x54b)]))[_0x46696f(0x2cf)](_0xfe8ae=>({'value':_0xfe8ae[_0x46696f(0x3b4)],'label':_0x5b0965['t'](_0xfe8ae[_0x46696f(0x57f)])})),[_0x18e708,_0x5b0965]),[_0x157544]=X(_0x5b0965,ut),[_0x213b30,_0x89dcb9]=(0x0,f['useState'])(s[_0x46696f(0x398)]['allSeriesId']),_0x2049e4=_0x213b30===s[_0x46696f(0x398)]['allSeriesId'],[_0x24b3d7,_0x4dd575]=M('allSeriesStyle',_0x4183ae),[_0x171677,_0x103cac]=M('seriesStyleMap',_0x4183ae),[_0x4b5472]=M(_0x46696f(0x46f),_0x4183ae),_0x3a6a71=_0x171677==null?void 0x0:_0x171677[_0x213b30],[_0x3190f8]=M(_0x46696f(0x2d5),_0x4183ae),_0x3caa38=_0x3a6a71==null?void 0x0:_0x3a6a71[_0x46696f(0x53d)],_0x33d2fa=(0x0,f['useMemo'])(()=>_0x3190f8?[_0x157544,..._0x3190f8]:[],[_0x157544,_0x3190f8]),_0x4d4357=_0x18e708?s['chartBitsUtils'][_0x46696f(0x55d)](_0x18e708,s[_0x46696f(0x3d4)]['Horizontal']):!0x1,_0x714a12=it(_0x18e708,_0x213b30,_0x4183ae),_0x56e53a=_0x714a12===s['ChartTypeBits'][_0x46696f(0x40c)],_0x4e22c4=(_0x714a12&s[_0x46696f(0x5bd)][_0x46696f(0x3f4)])>0x0,_0xb77058=_0x714a12===s[_0x46696f(0x5bd)]['Radar'],_0x3442c9=_0x714a12===s['ChartTypeBits'][_0x46696f(0x584)],_0x18e166=_0x56e53a||_0x4e22c4,_0x51dfd6=(_0x18e708&s[_0x46696f(0x5bd)][_0x46696f(0x3f6)])>0x0||_0xb77058,_0x84952=mt(_0x18e708),_0x37ac9c=(0x0,f[_0x46696f(0x66c)])(_0x5f4431=>{_0x103cac({[_0x213b30]:_0x5f4431});},[_0x213b30]),_0x108cb8=_0x244ee5=>{_0x2049e4?_0x4dd575(_0x244ee5):_0x37ac9c(_0x244ee5);},_0x4dbdac={..._0x3a6a71==null?void 0x0:_0x3a6a71[_0x46696f(0x475)]},_0x25dbf7=Object[_0x46696f(0x606)]({'color':_0x46696f(0x4b5),'opacity':dt[_0x46696f(0x591)],'width':_0x84952,'dashType':dt['dashType']},_0x4dbdac),_0x208b28=Object[_0x46696f(0x606)]({'color':_0x46696f(0x4b5),'opacity':dt[_0x46696f(0x591)],'width':_0x84952,'dashType':dt[_0x46696f(0x3a1)]},_0x24b3d7==null?void 0x0:_0x24b3d7[_0x46696f(0x475)]),_0x514809=Object[_0x46696f(0x606)]({'shape':s['defaultChartConfig'][_0x46696f(0x2a9)][_0x46696f(0x4af)],'size':_0x3442c9?s[_0x46696f(0x398)]['point']['scatterSymbolSize']:s[_0x46696f(0x398)]['point'][_0x46696f(0x1c5)],'color':_0x46696f(0x4b5)},_0x24b3d7==null?void 0x0:_0x24b3d7[_0x46696f(0x2a9)],_0x3a6a71==null?void 0x0:_0x3a6a71['point']),_0x358c21=_0x2049e4?(_0xda0946=_0x24b3d7==null?void 0x0:_0x24b3d7['label'])==null?{}:_0xda0946:Object['assign']({},_0x24b3d7==null?void 0x0:_0x24b3d7['label'],_0x3a6a71==null?void 0x0:_0x3a6a71['label']),_0x1697cd=(_0x40184c=_0x3a6a71==null?void 0x0:_0x3a6a71['rightYAxis'])==null?_0x24b3d7==null?void 0x0:_0x24b3d7[_0x46696f(0x5f7)]:_0x40184c,_0x545b09=_0x714a12===s['ChartTypeBits'][_0x46696f(0x2f6)]||_0x18e708===s[_0x46696f(0x5bd)][_0x46696f(0x3ff)]&&_0x714a12===s[_0x46696f(0x5bd)][_0x46696f(0x4fd)]&&_0x2049e4,{t:_0x107ded}=_0x5b0965,_0x141b6b=(0x0,f[_0x46696f(0x66c)])(_0x121881=>{const _0x2f23a7=_0x46696f;_0x3a6a71&&_0x3a6a71[_0x2f23a7(0x53d)]&&_0x3a6a71[_0x2f23a7(0x53d)][_0x121881]||_0x103cac({[_0x213b30]:{'dataPoints':{[_0x121881]:{}}}});},[_0x3a6a71,_0x213b30]),_0x4b9c05=(0x0,f['useCallback'])(_0xd81a81=>{_0x103cac({[_0x213b30]:{'dataPoints':_0xd81a81}});},[_0x213b30]);return(0x0,h['jsxs'])(h[_0x46696f(0x61e)],{'children':[(0x0,h[_0x46696f(0x433)])(_0x46696f(0x3aa),{'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,h['jsx'])(d[_0x46696f(0x5db)],{'className':_0x46696f(0x3c6),'value':_0x213b30,'onChange':_0x2ae105=>_0x89dcb9(_0x2ae105),'options':_0x33d2fa})}),_0x18e708===s[_0x46696f(0x5bd)][_0x46696f(0x3ff)]&&(0x0,h[_0x46696f(0x5a7)])('div',{'className':_0x46696f(0x439),'children':[(0x0,h[_0x46696f(0x433)])(_0x46696f(0x3aa),{'className':_0x46696f(0x5ce),'children':_0x107ded(_0x46696f(0x518))}),(0x0,h[_0x46696f(0x433)])(at,{'seriesId':_0x213b30,'service':_0x4183ae,'localeService':_0x5b0965})]}),(0x0,h['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':[!_0x545b09&&(0x0,h[_0x46696f(0x5a7)])(h[_0x46696f(0x61e)],{'children':[(0x0,h['jsx'])(_0x46696f(0x3aa),{'className':_0x46696f(0x31e),'children':_0x107ded(_0x46696f(0x637))}),(!_0x3442c9||_0x3442c9&&!_0x2049e4)&&(0x0,h['jsx'])(qe,{'chartType':_0x18e708,'allSeriesStyle':_0x24b3d7,'controlName':_0x107ded(_0x56e53a?_0x46696f(0x3f2):_0x46696f(0x4a1)),'seriesStyle':_0x2049e4?_0x24b3d7:_0x3a6a71,'onSeriesStyleChange':_0x108cb8,'localeService':_0x5b0965}),!_0x3442c9&&(0x0,h['jsx'])(Je,{'isLineOrAreaChart':_0x18e166,'allSeriesBorderStyle':_0x24b3d7==null?void 0x0:_0x24b3d7[_0x46696f(0x475)],'hideBorder':!_0x56e53a,'controlName':_0x107ded(_0x56e53a||_0xb77058?_0x46696f(0x3f2):_0x46696f(0x661)),'borderStyle':_0x2049e4?_0x208b28:_0x25dbf7,'onSeriesStyleChange':_0x108cb8,'localeService':_0x5b0965}),(_0x18e166||_0x3442c9)&&(0x0,h['jsx'])(Ye,{'pointStyle':_0x514809,'onChange':(_0x39db98,_0x861683)=>_0x108cb8({'point':{[_0x39db98]:_0x861683}}),'controls':_0x2049e4?pt:ft,'localeService':_0x5b0965})]}),!_0x4d4357&&!_0x2049e4&&!_0x51dfd6&&(0x0,h[_0x46696f(0x433)])(Xe,{'rightYAxis':!!_0x1697cd,'onSeriesStyleChange':_0x108cb8,'localeService':_0x5b0965})]}),(0x0,h['jsxs'])('div',{'className':_0x46696f(0x439),'children':[!_0x2049e4&&_0xb77058&&(0x0,h[_0x46696f(0x433)])(ct,{'localeService':_0x5b0965,'pointStyle':_0x3a6a71==null?void 0x0:_0x3a6a71[_0x46696f(0x2a9)],'setSeriesStyle':_0x108cb8}),!_0x2049e4&&!_0xb77058&&(0x0,h[_0x46696f(0x5a7)])(h['Fragment'],{'children':[(0x0,h[_0x46696f(0x5a7)])(_0x46696f(0x3aa),{'className':_0x46696f(0x47e),'children':[(0x0,h['jsx'])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,h[_0x46696f(0x433)])('div',{'className':_0x46696f(0x31e),'children':_0x107ded('chart.withFormat',_0x107ded(_0x46696f(0x5a4)))})}),(0x0,h[_0x46696f(0x433)])(_0x46696f(0x3aa),{'className':_0x46696f(0x381),'children':(0x0,h[_0x46696f(0x433)])(ze,{'value':_0x213b30,'menus':_0x4b5472==null?[]:_0x4b5472,'onSelect':_0x30987a=>_0x141b6b(+_0x30987a),'children':(0x0,h[_0x46696f(0x5a7)])(_0x46696f(0x3aa),{'className':_0x46696f(0x54a),'children':[(0x0,h['jsx'])(r[_0x46696f(0x2b5)],{}),(0x0,h[_0x46696f(0x433)])('span',{'children':_0x107ded('chart.addDataPoint')})]})})})]}),_0x3caa38&&(0x0,h['jsx'])($,{'chartType':_0x18e708,'data':_0x3caa38,'options':_0x4b5472==null?[]:_0x4b5472,'onChange':_0x4b9c05,'localeService':_0x5b0965})]})]}),(0x0,h[_0x46696f(0x433)])(_0x46696f(0x3aa),{'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,h[_0x46696f(0x433)])(Ke,{'localeService':_0x5b0965,'fallbackLabelStyle':lt,'labelStyle':_0x358c21,'positionOptions':_0x2d986f,'contentTypeOptions':_0x21d408,'onLabelStyleChange':(_0x43e2db,_0x1750ef)=>_0x108cb8({'label':{[_0x43e2db]:_0x1750ef}}),'onVisibleChange':_0x4795bc=>_0x108cb8({'label':{'visible':_0x4795bc}}),'isPieLike':!0x1,'chartType':_0x18e708})})]});},gt=_0x34ec94=>{const _0x39f32a=_0x5d1961;var _0x36d552,_0x4a017e,_0x3b3421,_0x4bc607;let {localeService:_0x561a26,uiService:_0x3d2a1c}=_0x34ec94,{t:_0x3dae7c}=_0x561a26,_0x209805=(0x0,o[_0x39f32a(0x615)])(t[_0x39f32a(0x2a6)]),[_0x24c0d7,_0x493178]=M(_0x39f32a(0x66b),_0x3d2a1c),[_0x1b58c8,_0x2fa730]=(0x0,f[_0x39f32a(0x3dd)])(0x0),_0x55ff91=oe[_0x39f32a(0x2cf)](_0x5c1743=>({'label':(0x0,h['jsxs'])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4ca),'children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x5fd),'children':se==null?void 0x0:se[_0x5c1743[_0x39f32a(0x3b4)]]}),(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x466),'children':_0x561a26['t'](_0x5c1743[_0x39f32a(0x57f)])})]}),'value':_0x5c1743[_0x39f32a(0x3b4)]})),_0xcaa6e1=X(_0x561a26,U),_0x33b172=ie[_0x39f32a(0x272)](0x1),_0x1c50c1=(_0x24c0d7||[])[_0x39f32a(0x2cf)]((_0x3634bc,_0x55e9e0)=>({'label':_0x3634bc[_0x39f32a(0x2c5)],'value':String(_0x55e9e0)})),_0x35d759=(0x0,f[_0x39f32a(0x66c)])(_0x302e6d=>{if(_0x24c0d7){let _0x4a1460=[..._0x24c0d7];_0x4a1460[_0x1b58c8]={..._0x4a1460[_0x1b58c8],..._0x302e6d},_0x493178(_0x4a1460);}},[_0x24c0d7,_0x1b58c8]),_0x46217d=(0x0,f[_0x39f32a(0x4e1)])(()=>_0x24c0d7?_0x24c0d7[_0x1b58c8]:void 0x0,[_0x24c0d7,_0x1b58c8]),[_0x3a2454,_0x1dd29a]=(0x0,f['useState'])((_0x46217d==null?void 0x0:_0x46217d['name'])||'');return _0x24c0d7===void 0x0||_0x24c0d7['length']===0x0?null:(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x1c1),{'className':_0x39f32a(0x204),'children':[(0x0,h[_0x39f32a(0x433)])('div',{'className':_0x39f32a(0x4fb),'children':(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x5db)],{'className':_0x39f32a(0x3c6),'value':String(_0x1b58c8),'onChange':_0x2af5ff=>_0x2fa730(Number(_0x2af5ff)),'options':_0x1c50c1})}),(0x0,h['jsx'])(_0x39f32a(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3dae7c(_0x39f32a(0x4f1))}),(0x0,h['jsx'])('div',{'className':_0x39f32a(0x4fb),'children':(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x404)],{'value':_0x3a2454,'onChange':_0x1dd29a,'onBlur':()=>{const _0x9b5989=_0x39f32a;_0x209805['setContextValue'](t[_0x9b5989(0x481)],!0x1),_0x3a2454?_0x35d759==null||_0x35d759({'name':_0x3a2454}):_0x1dd29a((_0x46217d==null?void 0x0:_0x46217d[_0x9b5989(0x2c5)])||'');},'onFocus':()=>{const _0x431d1d=_0x39f32a;_0x209805[_0x431d1d(0x5d7)](t[_0x431d1d(0x481)],!0x0);}})}),(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c('chart.trendline.trendlineDashType')}),(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':[(0x0,h[_0x39f32a(0x433)])(d['Select'],{'className':_0x39f32a(0x5c4),'value':String(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x614)]),'onChange':_0x1bb0c4=>_0x35d759==null?void 0x0:_0x35d759({'type':_0x1bb0c4}),'options':_0x55ff91}),(0x0,h['jsx'])(_0x39f32a(0x3aa),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x3b0)],{'checked':(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x262)])||s['defaultChartConfig'][_0x39f32a(0x243)][_0x39f32a(0x262)],'onChange':_0x260438=>_0x35d759({'showFormula':!!_0x260438}),'children':_0x3dae7c(_0x39f32a(0x516))})}),(0x0,h['jsx'])(_0x39f32a(0x3aa),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x3b0)],{'checked':(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x258)])||s[_0x39f32a(0x398)][_0x39f32a(0x243)]['showR2'],'onChange':_0x4f6e75=>_0x35d759({'showR2':!!_0x4f6e75}),'children':_0x3dae7c(_0x39f32a(0x527))})}),((_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x614)])===s[_0x39f32a(0x5e7)]['poly']||(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x614)])===s[_0x39f32a(0x5e7)][_0x39f32a(0x395)])&&(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':'univer-my-2','children':[(_0x46217d==null?void 0x0:_0x46217d['type'])===s[_0x39f32a(0x5e7)]['poly']&&(0x0,h[_0x39f32a(0x5a7)])(h['Fragment'],{'children':[(0x0,h[_0x39f32a(0x433)])('div',{'className':_0x39f32a(0x4fb),'children':_0x3dae7c(_0x39f32a(0x1f2))}),(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x5db)],{'className':_0x39f32a(0x3c6),'value':String((_0x36d552=_0x46217d==null?void 0x0:_0x46217d['order'])==null?s[_0x39f32a(0x398)]['trendline']['order']:_0x36d552),'options':ce,'onChange':_0x49ef90=>_0x35d759==null?void 0x0:_0x35d759({'order':Number(_0x49ef90)})})]}),(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x614)])===s['ChartTrendlineType']['movingAvg']&&(0x0,h[_0x39f32a(0x5a7)])(h[_0x39f32a(0x61e)],{'children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c(_0x39f32a(0x507))}),(0x0,h[_0x39f32a(0x433)])(d['InputNumber'],{'value':(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x4d3)])||s[_0x39f32a(0x398)]['trendline']['period'],'onChange':_0x2a4dee=>_0x35d759==null?void 0x0:_0x35d759({'period':Math['floor'](_0x2a4dee)})})]})]}),(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c('chart.seriesBlock.format')}),(0x0,h['jsxs'])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x65c),'children':[(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x381),'children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c('chart.withColor',_0x3dae7c(_0x39f32a(0x45d)))}),(0x0,h['jsx'])(Q,{'color':(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x63b)])||'','onChange':_0x55f4e8=>_0x35d759==null?void 0x0:_0x35d759({'color':_0x55f4e8})})]}),(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x381),'children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c(_0x39f32a(0x468),_0x3dae7c(_0x39f32a(0x45d)))}),(0x0,h['jsx'])(d[_0x39f32a(0x5db)],{'className':_0x39f32a(0x3c6),'value':String((_0x4a017e=_0x46217d==null?void 0x0:_0x46217d['opacity'])==null?s[_0x39f32a(0x398)][_0x39f32a(0x243)][_0x39f32a(0x591)]:_0x4a017e),'options':H,'onChange':_0x1ec7b8=>_0x35d759==null?void 0x0:_0x35d759({'opacity':Number(_0x1ec7b8)})})]})]}),(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x65c),'children':[(0x0,h['jsxs'])(_0x39f32a(0x3aa),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c('chart.withType',_0x3dae7c(_0x39f32a(0x45d)))}),(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x5db)],{'className':_0x39f32a(0x3c6),'value':String((_0x3b3421=_0x46217d==null?void 0x0:_0x46217d['dashType'])==null?s[_0x39f32a(0x398)]['trendline'][_0x39f32a(0x3a1)]:_0x3b3421),'options':_0xcaa6e1,'onChange':_0x55a9ce=>_0x35d759==null?void 0x0:_0x35d759({'dashType':_0x55a9ce})})]}),(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x381),'children':[(0x0,h['jsx'])('div',{'className':_0x39f32a(0x4fb),'children':_0x3dae7c(_0x39f32a(0x4f2),_0x3dae7c(_0x39f32a(0x45d)))}),(0x0,h[_0x39f32a(0x433)])(d[_0x39f32a(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x4bc607=_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x640)])==null?s[_0x39f32a(0x398)]['trendline'][_0x39f32a(0x640)]:_0x4bc607),'options':_0x33b172,'onChange':_0x144045=>_0x35d759==null?void 0x0:_0x35d759({'width':Number(_0x144045)})})]})]}),(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x614)])!==s['ChartTrendlineType']['movingAvg']&&(0x0,h['jsxs'])('div',{'className':_0x39f32a(0x65c),'children':[(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x262)])&&(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x381),'children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3dae7c(_0x39f32a(0x1d3),_0x3dae7c(_0x39f32a(0x5cd)))}),(0x0,h[_0x39f32a(0x433)])(Q,{'color':(_0x46217d==null?void 0x0:_0x46217d['formulaColor'])||'','onChange':_0x4a9812=>_0x35d759==null?void 0x0:_0x35d759({'formulaColor':_0x4a9812})})]}),(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x258)])&&(0x0,h[_0x39f32a(0x5a7)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x381),'children':[(0x0,h[_0x39f32a(0x433)])(_0x39f32a(0x3aa),{'className':_0x39f32a(0x4fb),'children':_0x3dae7c(_0x39f32a(0x1d3),_0x3dae7c(_0x39f32a(0x5d3)))}),(0x0,h[_0x39f32a(0x433)])(Q,{'color':(_0x46217d==null?void 0x0:_0x46217d[_0x39f32a(0x23d)])||'','onChange':_0x41f5e4=>_0x35d759==null?void 0x0:_0x35d759({'r2Color':_0x41f5e4})})]})]})]})]});},_t={'fontSize':s[_0x5d1961(0x398)][_0x5d1961(0x33b)][_0x5d1961(0x479)],'contentType':s['defaultChartConfig'][_0x5d1961(0x5e0)],'position':s[_0x5d1961(0x398)]['textStyle'][_0x5d1961(0x3cf)]},vt=_0x23ae30=>{const _0x50f4c7=_0x5d1961;var _0x48338c,_0x5747de,_0xb48dde,_0x39464b,_0x420328,_0x5438c8,_0x2cd34c,_0x44133f,_0x25b1b9,_0x42d195,_0x400d0e,_0x2687a2,_0x51ffe7,_0x47692d,_0xdc055,_0x532d53,_0x7810df;let {service:_0x514327,localeService:_0x2e6b16}=_0x23ae30,{t:_0x38cb27}=_0x2e6b16,_0x1028c8=X(_0x2e6b16,le),_0x3bf1c1=(0x0,f['useMemo'])(()=>J[_0x50f4c7(0x632)](_0x172c1a=>_0x172c1a['value']!==String(s[_0x50f4c7(0x588)][_0x50f4c7(0x54b)]))[_0x50f4c7(0x2cf)](_0x1b1823=>({'value':_0x1b1823[_0x50f4c7(0x3b4)],'label':_0x2e6b16['t'](_0x1b1823[_0x50f4c7(0x57f)])})),[_0x2e6b16]),_0x131800=(0x0,o[_0x50f4c7(0x615)])(t[_0x50f4c7(0x2a6)]),[_0xba7346,_0x180939]=(0x0,f[_0x50f4c7(0x3dd)])(s[_0x50f4c7(0x398)][_0x50f4c7(0x2d0)]),_0x12cf90=_0xba7346===s[_0x50f4c7(0x398)][_0x50f4c7(0x2d0)],[_0x136758,_0x3126c8]=M(_0x50f4c7(0x34d),_0x514327),[_0x2330d0,_0x25c789]=M(_0x50f4c7(0x3ba),_0x514327),[_0x274daa]=M(_0x50f4c7(0x2d5),_0x514327),[_0x4823e0]=M('waterfallStack',_0x514327),_0xe8aaa7=_0x4823e0!==s['WaterfallStackTypeEnum'][_0x50f4c7(0x266)],[_0x4f2c63]=X(_0x2e6b16,[V()]),_0x2c4b4b=_0x2330d0==null?void 0x0:_0x2330d0[_0xba7346],_0x3f057a=(0x0,f[_0x50f4c7(0x4e1)])(()=>_0x274daa?[_0x4f2c63,..._0x274daa]:[],[_0x4f2c63,_0x274daa]),_0x16f015=_0x4c2d38=>{_0x12cf90?_0x3126c8(_0x4c2d38):_0x25c789({[_0xba7346]:_0x4c2d38});},_0x482027=s[_0x50f4c7(0x398)][_0x50f4c7(0x43e)],_0x5f5470={'color':_0x50f4c7(0x4b5),'opacity':_0x482027[_0x50f4c7(0x591)],'width':0x0,'dashType':_0x482027[_0x50f4c7(0x3a1)]},_0x529b74=_0x12cf90?{..._0x5f5470,..._0x136758==null||(_0x48338c=_0x136758[_0x50f4c7(0x393)])==null||(_0x48338c=_0x48338c[_0x50f4c7(0x2ab)])==null?void 0x0:_0x48338c[_0x50f4c7(0x475)]}:{..._0x5f5470,..._0x2c4b4b==null||(_0x5747de=_0x2c4b4b['waterfall'])==null||(_0x5747de=_0x5747de['positive'])==null?void 0x0:_0x5747de[_0x50f4c7(0x475)]},_0x15bbfb=_0x12cf90?{..._0x5f5470,..._0x136758==null||(_0xb48dde=_0x136758['waterfall'])==null||(_0xb48dde=_0xb48dde[_0x50f4c7(0x480)])==null?void 0x0:_0xb48dde['border']}:{..._0x5f5470,..._0x2c4b4b==null||(_0x39464b=_0x2c4b4b[_0x50f4c7(0x393)])==null||(_0x39464b=_0x39464b[_0x50f4c7(0x480)])==null?void 0x0:_0x39464b['border']},_0x51f921=_0x12cf90?{..._0x5f5470,..._0x136758==null||(_0x420328=_0x136758[_0x50f4c7(0x393)])==null||(_0x420328=_0x420328[_0x50f4c7(0x56b)])==null?void 0x0:_0x420328[_0x50f4c7(0x475)]}:{..._0x5f5470,..._0x2c4b4b==null||(_0x5438c8=_0x2c4b4b['waterfall'])==null||(_0x5438c8=_0x5438c8[_0x50f4c7(0x56b)])==null?void 0x0:_0x5438c8[_0x50f4c7(0x475)]},_0x2b84ab=(_0x2fd309,_0x148738)=>{const _0x418d4f=_0x50f4c7;if(_0x148738===s[_0x418d4f(0x512)]['subtotal'])return _0x38cb27(_0x418d4f(0x228));let _0x4770ae=_0x274daa==null?void 0x0:_0x274daa[_0x418d4f(0x38a)](_0x28293e=>_0x28293e['value']===_0x2fd309);if(_0x4770ae){let _0x1e0965=_0x4770ae['label'];switch(_0x148738){case s['WaterfallSeriesTypeEnum'][_0x418d4f(0x2ab)]:return _0x1e0965+'-('+_0x38cb27('chart.waterfall.positive')+')';case s[_0x418d4f(0x512)][_0x418d4f(0x480)]:return _0x1e0965+'-('+_0x38cb27(_0x418d4f(0x2cc))+')';default:return _0x1e0965;}}return'';},_0x409dd2=_0x12cf90?(_0x2cd34c=_0x136758==null?void 0x0:_0x136758['label'])==null?{}:_0x2cd34c:Object[_0x50f4c7(0x606)]({},_0x136758==null?void 0x0:_0x136758['label'],_0x2c4b4b==null?void 0x0:_0x2c4b4b['label']),_0x2eb247=_0xe8aaa7?_0x2c4b4b==null||(_0x44133f=_0x2c4b4b[_0x50f4c7(0x393)])==null||(_0x44133f=_0x44133f[_0x50f4c7(0x56b)])==null?void 0x0:_0x44133f[_0x50f4c7(0x2c5)]:_0x136758==null||(_0x25b1b9=_0x136758[_0x50f4c7(0x393)])==null||(_0x25b1b9=_0x25b1b9[_0x50f4c7(0x56b)])==null?void 0x0:_0x25b1b9[_0x50f4c7(0x2c5)],_0xdde29f=_0x4823e0===s[_0x50f4c7(0x367)][_0x50f4c7(0x266)]?_0x12cf90:!0x0;return(0x0,h[_0x50f4c7(0x5a7)])(_0x50f4c7(0x3aa),{'children':[(0x0,h['jsx'])('div',{'className':'univer-mb-2\x20univer-h-8','children':(0x0,h[_0x50f4c7(0x433)])(d[_0x50f4c7(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0xba7346,'onChange':_0xb84daa=>_0x180939(_0xb84daa),'options':_0x3f057a})}),(0x0,h[_0x50f4c7(0x5a7)])(_0x50f4c7(0x3aa),{'className':_0x50f4c7(0x204),'children':[(0x0,h['jsx'])(_0x50f4c7(0x3aa),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x38cb27(_0x50f4c7(0x64a))}),!_0x12cf90&&(0x0,h[_0x50f4c7(0x5a7)])(h[_0x50f4c7(0x61e)],{'children':[(0x0,h[_0x50f4c7(0x433)])('div',{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x38cb27(_0x50f4c7(0x1ee))}),(0x0,h[_0x50f4c7(0x433)])(d[_0x50f4c7(0x404)],{'className':'univer-mb-2','value':(_0x2c4b4b==null||(_0x42d195=_0x2c4b4b[_0x50f4c7(0x393)])==null||(_0x42d195=_0x42d195[_0x50f4c7(0x2ab)])==null?void 0x0:_0x42d195[_0x50f4c7(0x2c5)])||_0x2b84ab(_0xba7346,s[_0x50f4c7(0x512)]['positive']),'onChange':_0x4265d9=>{_0x16f015({'waterfall':{'positive':{'name':_0x4265d9}}});},'onFocus':()=>{const _0x35486b=_0x50f4c7;_0x131800[_0x35486b(0x5d7)](t[_0x35486b(0x481)],!0x0);},'onBlur':()=>{const _0x348a82=_0x50f4c7;_0x131800[_0x348a82(0x5d7)](t[_0x348a82(0x481)],!0x1);}})]}),(0x0,h['jsx'])(qe,{'chartType':s['ChartTypeBits'][_0x50f4c7(0x287)],'allSeriesStyle':_0x136758,'controlName':'','seriesStyle':_0x12cf90?_0x136758==null||(_0x400d0e=_0x136758['waterfall'])==null?void 0x0:_0x400d0e[_0x50f4c7(0x2ab)]:_0x2c4b4b==null||(_0x2687a2=_0x2c4b4b['waterfall'])==null?void 0x0:_0x2687a2[_0x50f4c7(0x2ab)],'onSeriesStyleChange':_0x77fbae=>_0x16f015({'waterfall':{'positive':_0x77fbae}}),'localeService':_0x2e6b16}),(0x0,h[_0x50f4c7(0x433)])(Je,{'isLineOrAreaChart':!0x1,'allSeriesBorderStyle':_0x136758==null?void 0x0:_0x136758[_0x50f4c7(0x475)],'hideBorder':!0x0,'controlName':_0x38cb27(_0x50f4c7(0x661)),'borderStyle':_0x529b74,'onSeriesStyleChange':_0x5b1cfc=>_0x16f015({'waterfall':{'positive':_0x5b1cfc}}),'localeService':_0x2e6b16})]}),(0x0,h[_0x50f4c7(0x5a7)])(_0x50f4c7(0x3aa),{'className':_0x50f4c7(0x204),'children':[(0x0,h[_0x50f4c7(0x433)])(_0x50f4c7(0x3aa),{'className':_0x50f4c7(0x31e),'children':_0x38cb27(_0x50f4c7(0x22f))}),!_0x12cf90&&(0x0,h[_0x50f4c7(0x5a7)])(h[_0x50f4c7(0x61e)],{'children':[(0x0,h[_0x50f4c7(0x433)])(_0x50f4c7(0x3aa),{'className':_0x50f4c7(0x24d),'children':_0x38cb27('chart.waterfall.negativeLegendText')}),(0x0,h['jsx'])(d[_0x50f4c7(0x404)],{'className':'univer-mb-2','value':(_0x2c4b4b==null||(_0x51ffe7=_0x2c4b4b[_0x50f4c7(0x393)])==null||(_0x51ffe7=_0x51ffe7[_0x50f4c7(0x480)])==null?void 0x0:_0x51ffe7[_0x50f4c7(0x2c5)])||_0x2b84ab(_0xba7346,s[_0x50f4c7(0x512)][_0x50f4c7(0x480)]),'onChange':_0x142255=>{_0x16f015({'waterfall':{'negative':{'name':_0x142255}}});},'onFocus':()=>{const _0x55dcb6=_0x50f4c7;_0x131800[_0x55dcb6(0x5d7)](t[_0x55dcb6(0x481)],!0x0);},'onBlur':()=>{const _0x5df2c9=_0x50f4c7;_0x131800[_0x5df2c9(0x5d7)](t['FOCUSING_PANEL_EDITOR'],!0x1);}})]}),(0x0,h[_0x50f4c7(0x433)])(qe,{'chartType':s['ChartTypeBits'][_0x50f4c7(0x287)],'allSeriesStyle':_0x136758,'controlName':'','seriesStyle':_0x12cf90?_0x136758==null||(_0x47692d=_0x136758['waterfall'])==null?void 0x0:_0x47692d[_0x50f4c7(0x480)]:_0x2c4b4b==null||(_0xdc055=_0x2c4b4b[_0x50f4c7(0x393)])==null?void 0x0:_0xdc055[_0x50f4c7(0x480)],'onSeriesStyleChange':_0x29a667=>_0x16f015({'waterfall':{'negative':_0x29a667}}),'localeService':_0x2e6b16}),(0x0,h[_0x50f4c7(0x433)])(Je,{'controlName':_0x38cb27(_0x50f4c7(0x661)),'isLineOrAreaChart':!0x1,'hideBorder':!0x0,'allSeriesBorderStyle':_0x136758==null?void 0x0:_0x136758['border'],'borderStyle':_0x15bbfb,'onSeriesStyleChange':_0x4dcaa5=>_0x16f015({'waterfall':{'negative':_0x4dcaa5}}),'localeService':_0x2e6b16})]}),_0xdde29f&&(0x0,h[_0x50f4c7(0x433)])(h['Fragment'],{'children':(0x0,h[_0x50f4c7(0x433)])(_0x50f4c7(0x3aa),{'className':_0x50f4c7(0x204),'children':(0x0,h['jsxs'])(h['Fragment'],{'children':[(0x0,h[_0x50f4c7(0x433)])(_0x50f4c7(0x3aa),{'className':_0x50f4c7(0x31e),'children':_0x38cb27(_0x50f4c7(0x1dd))}),(0x0,h['jsxs'])(h[_0x50f4c7(0x61e)],{'children':[(0x0,h[_0x50f4c7(0x433)])(_0x50f4c7(0x3aa),{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x38cb27(_0x50f4c7(0x307))}),(0x0,h[_0x50f4c7(0x433)])(d[_0x50f4c7(0x404)],{'className':_0x50f4c7(0x43b),'value':_0x2eb247||_0x2b84ab(_0xba7346,s[_0x50f4c7(0x512)][_0x50f4c7(0x56b)]),'onChange':_0xf15939=>{_0x16f015({'waterfall':{'subtotal':{'name':_0xf15939}}});},'onFocus':()=>{const _0x305d17=_0x50f4c7;_0x131800[_0x305d17(0x5d7)](t[_0x305d17(0x481)],!0x0);},'onBlur':()=>{const _0x236803=_0x50f4c7;_0x131800[_0x236803(0x5d7)](t[_0x236803(0x481)],!0x1);}})]}),(0x0,h[_0x50f4c7(0x433)])(qe,{'chartType':s['ChartTypeBits'][_0x50f4c7(0x287)],'allSeriesStyle':_0x136758,'controlName':'','seriesStyle':_0x12cf90?_0x136758==null||(_0x532d53=_0x136758[_0x50f4c7(0x393)])==null?void 0x0:_0x532d53[_0x50f4c7(0x56b)]:_0x2c4b4b==null||(_0x7810df=_0x2c4b4b['waterfall'])==null?void 0x0:_0x7810df[_0x50f4c7(0x56b)],'onSeriesStyleChange':_0x3faf62=>_0x16f015({'waterfall':{'subtotal':_0x3faf62}}),'localeService':_0x2e6b16}),(0x0,h[_0x50f4c7(0x433)])(Je,{'isLineOrAreaChart':!0x1,'hideBorder':!0x0,'allSeriesBorderStyle':_0x136758==null?void 0x0:_0x136758[_0x50f4c7(0x475)],'controlName':_0x38cb27(_0x50f4c7(0x661)),'borderStyle':_0x51f921,'onSeriesStyleChange':_0x41ee57=>_0x16f015({'waterfall':{'subtotal':_0x41ee57}}),'localeService':_0x2e6b16})]})})}),(0x0,h['jsx'])(_0x50f4c7(0x3aa),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h[_0x50f4c7(0x433)])(Ke,{'localeService':_0x2e6b16,'fallbackLabelStyle':_t,'labelStyle':_0x409dd2,'positionOptions':_0x1028c8,'contentTypeOptions':_0x3bf1c1,'onLabelStyleChange':(_0x3deb8a,_0x21a0b9)=>_0x16f015({'label':{[_0x3deb8a]:_0x21a0b9}}),'onVisibleChange':_0x4f439e=>_0x16f015({'label':{'visible':_0x4f439e}}),'isPieLike':!0x1,'chartType':s[_0x50f4c7(0x5bd)][_0x50f4c7(0x287)]})})]});};function yt(_0x2bada1){const _0x50d7a4=_0x5d1961;let _0x4928dc=[];for(let [_0x2deaa1,_0x1b5870]of _0x2bada1)_0x4928dc[_0x50d7a4(0x4d7)]({'value':_0x2deaa1,'label':_0x2deaa1,'icon':_0x1b5870[_0x50d7a4(0x263)]});return _0x4928dc;}function bt(_0x332d96){const _0xc76e6c=_0x5d1961;let {service:_0x4fb20e,localeService:_0x3bae23}=_0x332d96,_0x301ec2=yt((0x0,o[_0xc76e6c(0x615)])(s[_0xc76e6c(0x3bf)])[_0xc76e6c(0x50b)]()),[_0x26a776,_0x8ff9d0]=M(_0xc76e6c(0x4ee),_0x4fb20e),[_0x1a7204,_0x39c252]=M(_0xc76e6c(0x2c7),_0x4fb20e),[_0x391553,_0x2ea990]=(0x0,f[_0xc76e6c(0x3dd)])(!0x1),{t:_0x21b1b5}=_0x3bae23,_0x12472c=_0x301ec2['find'](_0x486763=>_0x486763[_0xc76e6c(0x3b4)]===_0x26a776)||_0x301ec2[0x0];return(0x0,h[_0xc76e6c(0x5a7)])(_0xc76e6c(0x3aa),{'className':_0xc76e6c(0x265),'children':[(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x3aa),{'className':_0xc76e6c(0x4ea),'children':_0x21b1b5(_0xc76e6c(0x5a6))}),(0x0,h[_0xc76e6c(0x433)])(d[_0xc76e6c(0x346)],{'open':_0x391553,'onOpenChange':_0x2ea990,'overlay':(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x3aa),{'className':_0xc76e6c(0x2d7),'children':_0x301ec2['map'](_0x326e83=>(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x64d),{'className':(0x0,d[_0xc76e6c(0x613)])(_0xc76e6c(0x428),d[_0xc76e6c(0x221)],{'univer-bg-white':_0x12472c[_0xc76e6c(0x3b4)]!==_0x326e83[_0xc76e6c(0x3b4)],'univer-select-item-option-selected':_0x12472c[_0xc76e6c(0x3b4)]===_0x326e83['value']}),'type':_0xc76e6c(0x64d),'onClick':()=>{const _0xc2277e=_0xc76e6c;_0x8ff9d0(_0x326e83[_0xc2277e(0x3b4)]),_0x2ea990(!0x1);},'children':(0x0,h['jsx'])(_0xc76e6c(0x39c),{'className':_0xc76e6c(0x3ab),'children':(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x531),{'src':_0x326e83['icon'],'alt':_0x326e83[_0xc76e6c(0x57f)]})})},_0x326e83['value']))}),'children':(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x64d),{'className':(0x0,d[_0xc76e6c(0x613)])(_0xc76e6c(0x55c),d['borderClassName']),'type':_0xc76e6c(0x64d),'children':(0x0,h[_0xc76e6c(0x5a7)])(_0xc76e6c(0x39c),{'className':_0xc76e6c(0x440),'children':[(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x39c),{'className':_0xc76e6c(0x39b),'children':(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x531),{'className':'univer-size-4','src':_0x12472c['icon'],'alt':_0x12472c[_0xc76e6c(0x57f)]})}),(0x0,h[_0xc76e6c(0x433)])(_0xc76e6c(0x39c),{'className':_0xc76e6c(0x5f5),'children':_0x12472c[_0xc76e6c(0x57f)]})]})})}),(0x0,h[_0xc76e6c(0x433)])(d['Checkbox'],{'className':_0xc76e6c(0x4a6),'checked':_0x1a7204==null?s['defaultChartConfig']['wordCloud']['repeat']:_0x1a7204,'onChange':_0x1181d8=>{_0x39c252==null||_0x39c252(!!_0x1181d8);},'children':_0x21b1b5('chart.styleEditPanel.repeatWordCould')})]});}const {textStyle:xt}=s['defaultChartConfig'],St=()=>{const _0x3e3c99=_0x5d1961;var _0x4894be,_0x338e05,_0x44fc75,_0x6350cc,_0x228269,_0x19b3b1,_0x1ac501,_0x4243d1,_0x1a271c,_0x516d70;let _0x562ebd=(0x0,o[_0x3e3c99(0x615)])(t[_0x3e3c99(0x2f7)]),_0x108fa0=(0x0,o[_0x3e3c99(0x615)])(t['IContextService']),_0x28f4b0=j(),_0x4d95cc=(0x0,o[_0x3e3c99(0x615)])(o[_0x3e3c99(0x376)]),{t:_0x1ea00d}=_0x562ebd,[_0x35caa8,_0x43ebe6]=M(_0x3e3c99(0x4e6),_0x28f4b0),[_0x21cb6f]=M(_0x3e3c99(0x382),_0x28f4b0),[_0x2c217e,_0x2d4589]=M('backgroundColor',_0x28f4b0,''),[_0x4b0340,_0x3c0355]=M(_0x3e3c99(0x22b),_0x28f4b0,''),[_0x46ec8b,_0xed514e]=M('legendStyle',_0x28f4b0),[_0x182295,_0x57aaf2]=M(_0x3e3c99(0x29b),_0x28f4b0),[_0x230d13,_0x2308b4]=M(_0x3e3c99(0x26a),_0x28f4b0),[_0x182abd,_0x575e75]=M(_0x3e3c99(0x452),_0x28f4b0),[_0x5a8fe5,_0x1ada3c]=M(_0x3e3c99(0x421),_0x28f4b0),[_0x39a67a,_0x1ecd63]=M(_0x3e3c99(0x51e),_0x28f4b0),[_0x1af4e2,_0x1194ab]=M(_0x3e3c99(0x4f8),_0x28f4b0),[_0x3976e4,_0x3e8176]=M(_0x3e3c99(0x20c),_0x28f4b0),[_0x1bb372]=M(_0x3e3c99(0x3fe),_0x28f4b0),[_0x495e2b]=M(_0x3e3c99(0x1d0),_0x28f4b0),_0x1825aa=(0x0,o[_0x3e3c99(0x615)])(s[_0x3e3c99(0x244)]),[_0x577bef,_0x179ef0]=(0x0,f['useState'])(''),[_0x2cd5d1]=M('trendlineValues',_0x28f4b0),_0x586f52=_0x35caa8&&(0x0,s[_0x3e3c99(0x551)])(_0x35caa8),_0x19a9f3=_0x2cd5d1&&_0x2cd5d1[_0x3e3c99(0x644)]>0x0,_0x1f22fe=_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s['ChartTypeBits'][_0x3e3c99(0x584)]),_0x1bd8e4=(0x0,f['useMemo'])(()=>_0x495e2b?_0x1825aa['getTheme'](_0x495e2b):_0x1825aa[_0x3e3c99(0x354)](),[_0x495e2b]),_0x116a73=!!(_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x578)])),_0x811503=!!(_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x200)])),_0x3105c0=!!(_0x35caa8&&s['chartBitsUtils'][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x2a3)])),_0x59831b=!!(_0x35caa8&&s['chartBitsUtils'][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x48a)])),_0x12b005=!!(_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)]['Pareto'])),_0x425c74=!!(_0x35caa8&&s['chartBitsUtils'][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x426)])),_0x402e7e=!!(_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x363)])),_0x1a3b1a=(0x0,f[_0x3e3c99(0x4e1)])(()=>_0x1bb372==null?void 0x0:_0x1bb372[_0x3e3c99(0x1f9)]((_0x24838a,_0x46f950)=>(_0x24838a[_0x46f950[_0x3e3c99(0x3cf)]]=_0x46f950,_0x24838a),{}),[_0x1bb372]),_0x242e7c=!!(_0x1a3b1a!=null&&_0x1a3b1a[s['IRuntimeAxisPosition'][_0x3e3c99(0x4ab)]])&&!!(_0x1a3b1a!=null&&_0x1a3b1a[s[_0x3e3c99(0x435)][_0x3e3c99(0x5bb)]])&&(_0x35caa8&s['ChartTypeBits']['Pie'])===0x0&&(_0x35caa8&s[_0x3e3c99(0x5bd)][_0x3e3c99(0x216)])===0x0,[_0x1ed100,_0x4cb5b2]=(0x0,f[_0x3e3c99(0x3dd)])(te[0x0][_0x3e3c99(0x3b4)]),_0x5c3bc4=_0x39a67a==null?void 0x0:_0x39a67a[_0x1ed100],_0xae1905={'color':xt[_0x3e3c99(0x63b)],'fontSize':_0x1ed100===_0x3e3c99(0x4a3)?xt['titleFontSize']:_0x1ed100===_0x3e3c99(0x631)?xt['subTitleFontSize']:xt['fontSize'],..._0x5c3bc4},_0x1dae86=(0x0,f['useCallback'])(_0xd4d846=>{_0x1ecd63({[_0x1ed100]:_0xd4d846});},[_0x1ed100]),_0x48bbd6=_0x1fa01d=>{const _0x553ce4=_0x3e3c99;let _0x6e2a48={'label':{'axisTitleAlign':_0x1fa01d}};_0x1ed100===_0x553ce4(0x277)&&_0x2308b4(_0x6e2a48),_0x1ed100===_0x553ce4(0x400)&&_0x575e75(_0x6e2a48),_0x1ed100===_0x553ce4(0x4f6)&&_0x1ada3c(_0x6e2a48);},_0x1c0f5b=()=>{const _0x2acdf6=_0x3e3c99;if(_0x1ed100===_0x2acdf6(0x277)){var _0x3f543b;return _0x230d13==null||(_0x3f543b=_0x230d13[_0x2acdf6(0x57f)])==null?void 0x0:_0x3f543b[_0x2acdf6(0x2d8)];}if(_0x1ed100===_0x2acdf6(0x400)){var _0x321831;return _0x182abd==null||(_0x321831=_0x182abd[_0x2acdf6(0x57f)])==null?void 0x0:_0x321831[_0x2acdf6(0x2d8)];}if(_0x1ed100===_0x2acdf6(0x4f6)){var _0x1e3ac8;return _0x5a8fe5==null||(_0x1e3ac8=_0x5a8fe5['label'])==null?void 0x0:_0x1e3ac8['axisTitleAlign'];}};(0x0,f[_0x3e3c99(0x2aa)])(()=>{const _0x3bcfc5=_0x3e3c99;var _0x587d1b;_0x179ef0((_0x587d1b=_0xae1905==null?void 0x0:_0xae1905[_0x3bcfc5(0x276)])==null?'':_0x587d1b);},[_0xae1905==null?void 0x0:_0xae1905['content']]);let _0x216e41=X(_0x562ebd,de),_0x3950e6=X(_0x562ebd,te),_0x933408=X(_0x562ebd,fe),_0x45c0f0=X(_0x562ebd,pe),_0x5c7d40=[_0x3950e6[0x0]],_0x4f81cd=X(_0x562ebd,me),_0x441939=X(_0x562ebd,he),_0x48bb6a=(_0x39dac0,_0x5b480a)=>{const _0x762798=_0x3e3c99;let _0x5547a8={'label':ke,'onPatternApply':_0x5b480a,'originPattern':_0x39dac0};_0x4d95cc[_0x762798(0x5fc)]({'id':Oe,'title':{'title':_0x1ea00d('dialog.setFormat')},'children':_0x5547a8,'width':0x258,'onClose':()=>{const _0x8b86e9=_0x762798;_0x4d95cc[_0x8b86e9(0x515)](Oe);}});},_0x5de6d8=!!(_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)]['Pie'])),_0x5b03ca=!!(_0x35caa8&&s[_0x3e3c99(0x22c)]['baseOn'](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x216)])),_0x5083a9=!!(_0x35caa8&&s[_0x3e3c99(0x22c)][_0x3e3c99(0x355)](_0x35caa8,s[_0x3e3c99(0x5bd)][_0x3e3c99(0x287)]));return(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'','children':(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x65e)],{'items':[{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x482))}),'children':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x1c1),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x3aa),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,h[_0x3e3c99(0x5a7)])('div',{'className':_0x3e3c99(0x381),'children':[(0x0,h[_0x3e3c99(0x433)])('div',{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d('chart.backgroundColor')}),(0x0,h['jsx'])(Q,{'color':_0x2c217e,'onChange':_0x2d4589})]}),(0x0,h['jsxs'])('div',{'className':_0x3e3c99(0x381),'children':[(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x2c9))}),(0x0,h['jsx'])(Q,{'color':_0x4b0340,'onChange':_0x3c0355})]})]})})},{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x35c))}),'children':(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x1c1),{'children':[(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x204),'children':[(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d(_0x3e3c99(0x62e))}),(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x5db)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x1ed100,'options':_0x5de6d8||_0x5b03ca||_0x116a73?_0x5c7d40:_0x3950e6,'onChange':_0x5457ac=>_0x4cb5b2(_0x5457ac)})]}),(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x204),'children':[(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d('chart.titles.titleText')}),(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x404)],{'value':_0x577bef,'onChange':_0x179ef0,'onFocus':()=>{const _0x4a2673=_0x3e3c99;_0x108fa0['setContextValue'](t[_0x4a2673(0x481)],!0x0);},'onBlur':()=>{const _0x59b0f9=_0x3e3c99;_0x108fa0[_0x59b0f9(0x5d7)](t[_0x59b0f9(0x481)],!0x1),_0x577bef!==(_0xae1905==null?void 0x0:_0xae1905[_0x59b0f9(0x276)])&&_0x1dae86({'content':_0x577bef});}})]}),(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,h['jsxs'])('div',{'className':_0x3e3c99(0x381),'children':[_0x1ed100===_0x3e3c99(0x4a3)&&(0x0,h[_0x3e3c99(0x5a7)])(h[_0x3e3c99(0x61e)],{'children':[(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d(_0x3e3c99(0x44b))}),(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x5db)],{'className':_0x3e3c99(0x3c6),'value':_0x1af4e2==null?s[_0x3e3c99(0x398)][_0x3e3c99(0x4f8)]:_0x1af4e2,'options':_0x4f81cd,'onChange':_0x14fdc3=>_0x1194ab(_0x14fdc3)})]}),_0x1ed100!=='title'&&(0x0,h[_0x3e3c99(0x5a7)])(h['Fragment'],{'children':[(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d(_0x3e3c99(0x39e))}),(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x5db)],{'className':_0x3e3c99(0x3c6),'value':(_0x4894be=_0x1c0f5b())==null?s[_0x3e3c99(0x398)][_0x3e3c99(0x58f)][_0x3e3c99(0x2af)]:_0x4894be,'options':_0x441939,'onChange':_0x879217=>_0x48bbd6(_0x879217)})]})]})})}),(0x0,h['jsxs'])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x204),'children':[(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x3f8))}),(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x32a),'children':(0x0,h[_0x3e3c99(0x433)])(Be,{'alignControl':_0x1ed100===_0x3e3c99(0x4a3),'localeService':_0x562ebd,..._0xae1905,'onChange':(_0x13d173,_0x205fc3)=>_0x1dae86({[_0x13d173]:_0x205fc3})})})]})]})},_0x116a73&&{'label':(0x0,h[_0x3e3c99(0x433)])('div',{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x417))}),'children':(0x0,h[_0x3e3c99(0x433)])(bt,{'service':_0x28f4b0,'localeService':_0x562ebd})},!_0x116a73&&!_0x5de6d8&&!_0x811503&&!_0x59831b&&!_0x5083a9&&!_0x12b005&&!_0x425c74&&!_0x402e7e&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d('chart.series')}),'children':(0x0,h[_0x3e3c99(0x433)])(ht,{'chartType':_0x35caa8,'service':_0x28f4b0,'localeService':_0x562ebd})},_0x12b005&&{'label':(0x0,h[_0x3e3c99(0x433)])('div',{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x662))}),'children':(0x0,h[_0x3e3c99(0x433)])(et,{'service':_0x28f4b0,'localeService':_0x562ebd,'isLineSeries':!0x1})},_0x12b005&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x224))}),'children':(0x0,h[_0x3e3c99(0x433)])(et,{'service':_0x28f4b0,'localeService':_0x562ebd,'isLineSeries':!0x0})},_0x5083a9&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x1eb))}),'children':(0x0,h[_0x3e3c99(0x433)])(vt,{'service':_0x28f4b0,'localeService':_0x562ebd})},_0x5de6d8&&{'label':(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x449))}),'children':(0x0,h[_0x3e3c99(0x433)])(tt,{'chartType':_0x35caa8,'service':_0x28f4b0,'localeService':_0x562ebd,'onChartTypeChange':_0x43ebe6})},!_0x116a73&&!_0x425c74&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x4b8))}),'children':(0x0,h[_0x3e3c99(0x5a7)])('section',{'children':[(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x204),'children':[(0x0,h[_0x3e3c99(0x433)])('div',{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d(_0x3e3c99(0x2e1))}),(0x0,h['jsx'])(d[_0x3e3c99(0x5db)],{'className':_0x3e3c99(0x3c6),'value':(_0x46ec8b==null?void 0x0:_0x46ec8b[_0x3e3c99(0x3cf)])||s[_0x3e3c99(0x398)][_0x3e3c99(0x2c3)]['position'],'onChange':_0x453cb5=>_0xed514e({..._0x46ec8b,'position':_0x453cb5}),'options':_0x216e41})]}),(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x204),'children':[(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x4fb),'children':_0x1ea00d(_0x3e3c99(0x4f4))}),!_0x402e7e&&(0x0,h['jsx'])(d[_0x3e3c99(0x5db)],{'className':_0x3e3c99(0x3c6),'value':(_0x46ec8b==null?void 0x0:_0x46ec8b[_0x3e3c99(0x483)])||s['defaultChartConfig']['legend'][_0x3e3c99(0x483)],'onChange':_0xc03bd8=>_0xed514e({..._0x46ec8b,'selectMode':_0xc03bd8}),'options':_0x933408}),_0x402e7e&&(0x0,h[_0x3e3c99(0x433)])(d['Select'],{'className':_0x3e3c99(0x3c6),'value':_0x182295||s['defaultChartConfig'][_0x3e3c99(0x537)][_0x3e3c99(0x29b)],'onChange':_0x2092b5=>_0x57aaf2(_0x2092b5),'options':_0x45c0f0})]}),!_0x402e7e&&(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x3aa),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,h[_0x3e3c99(0x433)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d('chart.titles.titleFormat')}),(0x0,h[_0x3e3c99(0x433)])(Be,{..._0x46ec8b==null?void 0x0:_0x46ec8b[_0x3e3c99(0x57f)],'localeService':_0x562ebd,'fontSize':(_0x338e05=_0x46ec8b==null||(_0x44fc75=_0x46ec8b[_0x3e3c99(0x57f)])==null?void 0x0:_0x44fc75[_0x3e3c99(0x479)])==null?s['defaultChartConfig']['textStyle'][_0x3e3c99(0x479)]:_0x338e05,'color':(_0x6350cc=_0x46ec8b==null||(_0x228269=_0x46ec8b[_0x3e3c99(0x57f)])==null?void 0x0:_0x228269[_0x3e3c99(0x63b)])==null?s[_0x3e3c99(0x398)]['textStyle']['color']:_0x6350cc,'onChange':(_0x1f0666,_0x33a14f)=>_0xed514e({'label':{[_0x1f0666]:_0x33a14f}})})]})]})},!_0x116a73&&!_0x5de6d8&&!_0x5b03ca&&!_0x3105c0&&!_0x59831b&&!_0x425c74&&!_0x402e7e&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x3f3))}),'children':(0x0,h['jsxs'])(_0x3e3c99(0x1c1),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,h[_0x3e3c99(0x433)])(He,{'localeService':_0x562ebd,'sheetsChartUIService':_0x28f4b0,'axisOptions':_0x230d13,'canUseDateAxis':_0x35caa8!==s[_0x3e3c99(0x5bd)]['Scatter']&&_0x35caa8!==s[_0x3e3c99(0x5bd)][_0x3e3c99(0x287)],'valueAxis':_0x1f22fe||(_0x1a3b1a==null||(_0x19b3b1=_0x1a3b1a[s[_0x3e3c99(0x435)][_0x3e3c99(0x375)]])==null?void 0x0:_0x19b3b1[_0x3e3c99(0x614)])===s[_0x3e3c99(0x284)][_0x3e3c99(0x4fc)],'onChange':_0x2308b4}),(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x554)],{'className':'','size':_0x3e3c99(0x268),'onClick':()=>{const _0x58fffa=_0x3e3c99;_0x48bb6a(_0x230d13==null?void 0x0:_0x230d13[_0x58fffa(0x334)],_0x221836=>{_0x2308b4({'format':_0x221836});});},'children':_0x1ea00d(_0x3e3c99(0x498))})]})},!_0x116a73&&!_0x5de6d8&&!_0x5b03ca&&!_0x3105c0&&!_0x59831b&&!_0x425c74&&!_0x402e7e&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x51c))}),'children':(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x1c1),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,h[_0x3e3c99(0x433)])(He,{'localeService':_0x562ebd,'sheetsChartUIService':_0x28f4b0,'axisOptions':_0x182abd,'canUseDateAxis':!0x1,'valueAxis':(_0x1a3b1a==null||(_0x1ac501=_0x1a3b1a[s[_0x3e3c99(0x435)][_0x3e3c99(0x5bb)]])==null?void 0x0:_0x1ac501[_0x3e3c99(0x614)])===s['AxisValueType'][_0x3e3c99(0x4fc)],'onChange':_0x575e75}),(_0x1a3b1a==null||(_0x4243d1=_0x1a3b1a[s['IRuntimeAxisPosition'][_0x3e3c99(0x5bb)]])==null?void 0x0:_0x4243d1[_0x3e3c99(0x614)])===s[_0x3e3c99(0x284)]['Numeric']&&(0x0,h[_0x3e3c99(0x433)])(d[_0x3e3c99(0x554)],{'className':'','size':_0x3e3c99(0x268),'onClick':()=>{const _0x3eab2b=_0x3e3c99;_0x48bb6a(_0x182abd==null?void 0x0:_0x182abd[_0x3eab2b(0x334)],_0x4b76f8=>{_0x575e75({'format':_0x4b76f8});});},'children':_0x1ea00d(_0x3e3c99(0x498))})]})},!_0x116a73&&_0x242e7c&&!_0x59831b&&!_0x425c74&&!_0x402e7e&&{'label':(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1ea00d(_0x3e3c99(0x405))}),'children':(0x0,h[_0x3e3c99(0x5a7)])(_0x3e3c99(0x1c1),{'className':_0x3e3c99(0x204),'children':[(0x0,h[_0x3e3c99(0x433)])(He,{'localeService':_0x562ebd,'sheetsChartUIService':_0x28f4b0,'canUseDateAxis':!0x1,'axisOptions':_0x5a8fe5,'onChange':_0x1ada3c,'valueAxis':!0x0}),(_0x1a3b1a==null||(_0x1a271c=_0x1a3b1a[s['IRuntimeAxisPosition']['Right']])==null?void 0x0:_0x1a271c[_0x3e3c99(0x614)])===s['AxisValueType']['Numeric']&&(0x0,h[_0x3e3c99(0x433)])(d['Button'],{'className':'','size':_0x3e3c99(0x268),'onClick':()=>{const _0x3f40ed=_0x3e3c99;_0x48bb6a(_0x5a8fe5==null?void 0x0:_0x5a8fe5[_0x3f40ed(0x334)],_0xab9809=>{_0x1ada3c({'format':_0xab9809});});},'children':_0x1ea00d(_0x3e3c99(0x498))})]})},!_0x116a73&&!_0x5de6d8&&!_0x5b03ca&&!_0x59831b&&!_0x3105c0&&!_0x425c74&&!_0x402e7e&&{'label':(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x596))}),'children':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x1c1),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h['jsx'])(Ue,{'service':_0x28f4b0,'localeService':_0x562ebd,'className':_0x3e3c99(0x247),'runtimeAxes':_0x1bb372})})},!_0x116a73&&!_0x59831b&&!_0x5de6d8&&!_0x3105c0&&!_0x425c74&&{'label':(0x0,h['jsx'])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d('chart.indicatorLine')}),'children':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x1c1),{'className':_0x3e3c99(0x204),'children':(0x0,h[_0x3e3c99(0x433)])(We,{'localeService':_0x562ebd,'indicatorLabelColor':(_0x3976e4==null?void 0x0:_0x3976e4[_0x3e3c99(0x4fe)])||s['defaultChartConfig'][_0x3e3c99(0x423)],'indicatorLineType':(_0x3976e4==null?void 0x0:_0x3976e4['indicatorLineType'])||s[_0x3e3c99(0x398)][_0x3e3c99(0x5be)],'indicatorLabelTextColor':(_0x3976e4==null?void 0x0:_0x3976e4[_0x3e3c99(0x61f)])||s[_0x3e3c99(0x398)][_0x3e3c99(0x233)],'indicatorLineColor':(_0x3976e4==null?void 0x0:_0x3976e4[_0x3e3c99(0x671)])||(_0x1bd8e4==null||(_0x516d70=_0x1bd8e4['theme'])==null?void 0x0:_0x516d70[_0x3e3c99(0x34c)]),'onChange':_0x577705=>{_0x3e8176(_0x577705);}})})},_0x586f52&&_0x19a9f3&&{'label':(0x0,h[_0x3e3c99(0x433)])('div',{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x45d))}),'children':(0x0,h[_0x3e3c99(0x433)])(gt,{'localeService':_0x562ebd,'uiService':_0x28f4b0})},_0x59831b&&{'label':(0x0,h[_0x3e3c99(0x433)])(_0x3e3c99(0x3aa),{'className':_0x3e3c99(0x660),'children':_0x1ea00d(_0x3e3c99(0x408))}),'children':(0x0,h[_0x3e3c99(0x433)])('section',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,h['jsx'])(nt,{'service':_0x28f4b0,'localeService':_0x562ebd})})}]['filter'](Boolean)})});};function Ct(_0x244f7b){const _0x5149d9=_0x5d1961;let {className:_0x3eca73}=_0x244f7b,[_0x1b0955,_0x5570ac]=(0x0,f[_0x5149d9(0x3dd)])(0x0),_0x2a9e80=(0x0,o[_0x5149d9(0x615)])(t[_0x5149d9(0x2f7)]);return(0x0,h[_0x5149d9(0x5a7)])(_0x5149d9(0x3aa),{'className':(0x0,d[_0x5149d9(0x613)])(_0x5149d9(0x529),_0x3eca73),'children':[(0x0,h[_0x5149d9(0x5a7)])(_0x5149d9(0x3aa),{'className':_0x5149d9(0x633),'children':[(0x0,h[_0x5149d9(0x5a7)])(_0x5149d9(0x3aa),{'className':(0x0,d[_0x5149d9(0x613)])(_0x5149d9(0x29f),_0x1b0955===0x0?'univer-text-primary-600':_0x5149d9(0x49b)),'onClick':()=>_0x5570ac(0x0),'children':[_0x2a9e80['t'](_0x5149d9(0x510)),(0x0,h[_0x5149d9(0x433)])(_0x5149d9(0x3aa),{'className':(0x0,d[_0x5149d9(0x613)])(_0x5149d9(0x304),{'univer-bg-primary-600':_0x1b0955===0x0,'univer-bg-transparent':_0x1b0955!==0x0})})]}),(0x0,h[_0x5149d9(0x5a7)])('div',{'className':(0x0,d[_0x5149d9(0x613)])(_0x5149d9(0x29f),{'univer-text-primary-600':_0x1b0955===0x1,'univer-text-gray-500':_0x1b0955!==0x1}),'onClick':()=>_0x5570ac(0x1),'children':[_0x2a9e80['t'](_0x5149d9(0x568)),(0x0,h['jsx'])(_0x5149d9(0x3aa),{'className':(0x0,d['clsx'])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600',{'univer-bg-primary-600':_0x1b0955===0x1,'univer-bg-transparent':_0x1b0955!==0x1})})]})]}),(0x0,h[_0x5149d9(0x433)])(_0x5149d9(0x3aa),{'className':_0x5149d9(0x281),'children':_0x1b0955===0x0?(0x0,h[_0x5149d9(0x433)])(Re,{}):(0x0,h[_0x5149d9(0x433)])(St,{})})]});}const wt=_0x1dc8cd=>De[_0x5d1961(0x38a)](_0xfbb72d=>_0x1dc8cd[_0x5d1961(0x3bd)](_0xfbb72d)),Tt=_0x1a6f07=>!_0x1a6f07,Et=_0x4d2877=>!!wt(_0x4d2877)&&_0x4d2877[_0x5d1961(0x1e3)]('_('),Dt=_0x3bec1b=>!!wt(_0x3bec1b)&&!_0x3bec1b[_0x5d1961(0x1e3)]('_('),Ot=(_0x944d66,_0x245a19=0x0)=>{const _0x2e0332=_0x5d1961;var _0x4085a3;return _0x944d66?(_0x4085a3=t[_0x2e0332(0x546)][_0x2e0332(0x2bf)](_0x944d66)[_0x2e0332(0x63f)])==null?_0x245a19:_0x4085a3:_0x245a19;},kt=_0x38c6f2=>Array(Math[_0x5d1961(0x1f7)](Math['max'](0x0,Number(_0x38c6f2)),0x1e))[_0x5d1961(0x3c0)](0x0)['join'](''),At=(_0x1a1d19,_0x4b29a2)=>_0x1a1d19[_0x5d1961(0x2ea)](';')['map'](_0x437801=>/\.0?/[_0x5d1961(0x352)](_0x437801)?_0x437801[_0x5d1961(0x2a1)](/\.0*/g,''+(_0x4b29a2>0x0?'.':'')+kt(Number(_0x4b29a2||0x0))):/0[^0]?/[_0x5d1961(0x352)](_0x437801)?_0x437801['replace'](/0[^0]+|0$/,'0'+(_0x4b29a2>0x0?'.':'')+kt(Number(_0x4b29a2||0x0))):_0x437801)[_0x5d1961(0x564)](';'),jt=()=>Te[_0x5d1961(0x2cf)](_0x2cc4d0=>({'label':_0x2cc4d0[_0x5d1961(0x57f)],'value':_0x2cc4d0[_0x5d1961(0x29c)],'color':_0x2cc4d0[_0x5d1961(0x63b)]})),Mt=_0x460100=>jt()[_0x5d1961(0x43f)](_0x49bba3=>(0x0,t[_0x5d1961(0x387)])(_0x49bba3[_0x5d1961(0x3b4)],_0x460100)),Nt=()=>we[_0x5d1961(0x2cf)](_0x5b7eee=>({'label':_0x5b7eee[_0x5d1961(0x57f)],'value':_0x5b7eee[_0x5d1961(0x29c)]})),Pt=_0x433832=>{const _0x271254=_0x5d1961;let _0x4a2248=t[_0x271254(0x546)][_0x271254(0x2bf)](_0x433832);return Nt()['map'](_0x32fdcf=>_0x32fdcf[_0x271254(0x3b4)])['includes'](_0x433832)||['date',_0x271254(0x5ea),_0x271254(0x3df)][_0x271254(0x3bd)](_0x4a2248['type']);};var Ft=function(_0x1382d0){const _0xafa4f=_0x5d1961;return _0x1382d0[_0xafa4f(0x292)]=_0xafa4f(0x1d8),_0x1382d0[_0xafa4f(0x5dd)]=_0xafa4f(0x320),_0x1382d0[_0xafa4f(0x447)]='sheet.numfmt.currency',_0x1382d0[_0xafa4f(0x325)]=_0xafa4f(0x5c1),_0x1382d0[_0xafa4f(0x47a)]='sheet.numfmt.thousandthPercentile',_0x1382d0;}(Ft||{});const It=({handlePatternChange:_0x153365})=>{const _0x495f28=_0x5d1961;let _0x25b14b=(0x0,o[_0x495f28(0x615)])(t[_0x495f28(0x2f7)])['t'];return(0x0,f[_0x495f28(0x2aa)])(()=>{_0x153365('');},[]),(0x0,h['jsx'])('div',{'className':_0x495f28(0x521),'children':_0x25b14b(_0x495f28(0x2a4))});},Lt=({originPattern:_0xac2479,handlePatternChange:_0x2fd9af})=>{const _0x44f86d=_0x5d1961;let _0x2ac453=(0x0,o[_0x44f86d(0x615)])(t[_0x44f86d(0x2f7)])['t'],_0x2d5d80=De[_0x44f86d(0x2cf)](_0x3eb8f2=>({'label':_0x3eb8f2,'value':_0x3eb8f2})),[_0x3cfc09,_0x1a9deb]=(0x0,f[_0x44f86d(0x3dd)])(()=>Ot(_0xac2479||'',0x2)),[_0x3d0649,_0x16ad25]=(0x0,f[_0x44f86d(0x3dd)])(()=>wt(_0xac2479==null?'':_0xac2479)||_0x2d5d80[0x0]['value']);return(0x0,f[_0x44f86d(0x2aa)])(()=>{_0x2fd9af(At('_(\x22'+_0x3d0649+'\x22*\x20#,##0'+(_0x3cfc09>0x0?'.0':'')+'_)',_0x3cfc09));},[]),(0x0,h[_0x44f86d(0x5a7)])(_0x44f86d(0x3aa),{'className':_0x44f86d(0x4a6),'children':[(0x0,h['jsxs'])(_0x44f86d(0x3aa),{'className':_0x44f86d(0x517),'children':[(0x0,h[_0x44f86d(0x5a7)])(_0x44f86d(0x3aa),{'className':_0x44f86d(0x57b),'children':[(0x0,h[_0x44f86d(0x433)])('div',{'className':_0x44f86d(0x410),'children':_0x2ac453(_0x44f86d(0x329))}),(0x0,h[_0x44f86d(0x433)])(d[_0x44f86d(0x30a)],{'className':'univer-box-border\x20univer-h-8','value':_0x3cfc09,'max':0x14,'min':0x0,'onChange':_0x29ad02=>{const _0x41236c=_0x44f86d;let _0x233672=_0x29ad02==null?0x0:_0x29ad02;_0x1a9deb(_0x233672),_0x2fd9af(At(_0x41236c(0x4be)+_0x3d0649+'\x22*\x20#,##0'+(_0x233672>0x0?'.0':'')+'_)',_0x233672));}})]}),(0x0,h[_0x44f86d(0x5a7)])(_0x44f86d(0x3aa),{'className':_0x44f86d(0x57b),'children':[(0x0,h[_0x44f86d(0x433)])(_0x44f86d(0x3aa),{'className':_0x44f86d(0x410),'children':_0x2ac453(_0x44f86d(0x48d))}),(0x0,h[_0x44f86d(0x433)])(d[_0x44f86d(0x5db)],{'options':_0x2d5d80,'value':_0x3d0649,'onChange':_0x403135=>{const _0x50e8db=_0x44f86d;_0x16ad25(_0x403135),_0x2fd9af(At('_(\x22'+_0x403135+_0x50e8db(0x377)+(_0x3cfc09>0x0?'.0':'')+'_)',_0x3cfc09));}})]})]}),(0x0,h['jsx'])(_0x44f86d(0x3aa),{'className':_0x44f86d(0x521),'children':_0x2ac453('dialog.numfmt.accountingDesc')})]});},Rt=({originPattern:_0x6fb361,handlePatternChange:_0x1abecb})=>{const _0x331c28=_0x5d1961;let _0x34cc9e=(0x0,o[_0x331c28(0x615)])(t[_0x331c28(0x2f7)])['t'],_0x458198=De[_0x331c28(0x2cf)](_0x361b7f=>({'label':_0x361b7f,'value':_0x361b7f})),[_0x3aafd6,_0x4c9cc8]=(0x0,f[_0x331c28(0x3dd)])(()=>Ot(_0x6fb361||'',0x2)),[_0x208f70,_0x4d3e99]=(0x0,f[_0x331c28(0x3dd)])(()=>wt(_0x6fb361==null?'':_0x6fb361)||_0x458198[0x0][_0x331c28(0x3b4)]),_0x136dd8=Ee['map'](_0x5307a9=>({'label':_0x5307a9['label'](_0x208f70),'value':_0x5307a9['suffix'](_0x208f70),'color':_0x5307a9[_0x331c28(0x63b)]})),[_0x50b44f,_0x47cb30]=(0x0,f[_0x331c28(0x3dd)])(()=>{const _0x152b25=_0x331c28;var _0x27a6dc;return((_0x27a6dc=_0x136dd8['find'](_0x1ac233=>(0x0,t[_0x152b25(0x387)])(_0x1ac233[_0x152b25(0x3b4)],_0x6fb361==null?'':_0x6fb361)))==null?void 0x0:_0x27a6dc['value'])||_0x136dd8[0x0][_0x152b25(0x3b4)];});return(0x0,f[_0x331c28(0x2aa)])(()=>{_0x1abecb(At(_0x50b44f,_0x3aafd6));},[]),(0x0,h['jsxs'])(_0x331c28(0x3aa),{'className':'univer-mt-2.5','children':[(0x0,h['jsxs'])(_0x331c28(0x3aa),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[(0x0,h[_0x331c28(0x5a7)])(_0x331c28(0x3aa),{'className':'univer-w-[136px]','children':[(0x0,h[_0x331c28(0x433)])(_0x331c28(0x3aa),{'className':_0x331c28(0x410),'children':_0x34cc9e(_0x331c28(0x329))}),(0x0,h['jsx'])(d[_0x331c28(0x30a)],{'className':_0x331c28(0x53a),'value':_0x3aafd6,'max':0x14,'min':0x0,'onChange':_0x5d4e7a=>{_0x5d4e7a&&(_0x4c9cc8(_0x5d4e7a),_0x1abecb(At(_0x50b44f,_0x5d4e7a)));}})]}),(0x0,h[_0x331c28(0x5a7)])(_0x331c28(0x3aa),{'className':_0x331c28(0x57b),'children':[(0x0,h[_0x331c28(0x433)])(_0x331c28(0x3aa),{'className':_0x331c28(0x410),'children':_0x34cc9e('dialog.numfmt.currencyTypes')}),(0x0,h[_0x331c28(0x433)])(d['Select'],{'options':_0x458198,'value':_0x208f70,'onChange':_0x36c749=>{const _0x38c6a3=_0x331c28;_0x4d3e99(_0x36c749);let _0x3d6604=Ee[_0x38c6a3(0x2cf)](_0x2c142c=>({'label':_0x2c142c['label'](_0x36c749),'value':_0x2c142c[_0x38c6a3(0x29c)](_0x36c749),'color':_0x2c142c[_0x38c6a3(0x63b)]}));_0x47cb30(_0x3d6604[0x0]['value']),_0x1abecb(At(_0x3d6604[0x0][_0x38c6a3(0x3b4)],_0x3aafd6));}})]})]}),(0x0,h[_0x331c28(0x5a7)])(_0x331c28(0x3aa),{'className':'univer-mt-2','children':[(0x0,h[_0x331c28(0x433)])(_0x331c28(0x3aa),{'className':_0x331c28(0x410),'children':_0x34cc9e(_0x331c28(0x462))}),(0x0,h[_0x331c28(0x433)])(d[_0x331c28(0x558)],{'className':(0x0,d[_0x331c28(0x613)])('univer-rounded-lg\x20univer-p-2',d[_0x331c28(0x5fb)]),'options':_0x136dd8,'value':_0x50b44f,'onChange':_0x15e180=>{_0x47cb30(_0x15e180),_0x1abecb(At(_0x15e180,_0x3aafd6));}}),(0x0,h[_0x331c28(0x433)])('div',{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x34cc9e(_0x331c28(0x2a7))})]})]});},zt=({originPattern:_0x18bff6,handlePatternChange:_0xa3927e})=>{const _0x4b55a3=_0x5d1961;let _0x29c414=(0x0,o[_0x4b55a3(0x615)])(t[_0x4b55a3(0x2f7)])['t'],_0xb85b6=we['map'](_0x36f7b2=>({'label':_0x36f7b2[_0x4b55a3(0x57f)],'value':_0x36f7b2[_0x4b55a3(0x29c)]})),[_0x11c191,_0x3f066e]=(0x0,f[_0x4b55a3(0x3dd)])(()=>{const _0x1b5931=_0x4b55a3;if(_0x18bff6){let _0x451388=_0xb85b6[_0x1b5931(0x38a)](_0x3041bc=>_0x3041bc[_0x1b5931(0x3b4)]===_0x18bff6);if(_0x451388)return _0x451388[_0x1b5931(0x3b4)];}return _0xb85b6[0x0][_0x1b5931(0x3b4)];});return(0x0,f['useEffect'])(()=>{_0xa3927e(_0x11c191);},[]),(0x0,h['jsx'])(_0x4b55a3(0x3aa),{'className':_0x4b55a3(0x4a6),'children':(0x0,h[_0x4b55a3(0x5a7)])('div',{'className':_0x4b55a3(0x247),'children':[(0x0,h['jsx'])('div',{'className':_0x4b55a3(0x410),'children':_0x29c414(_0x4b55a3(0x30f))}),(0x0,h[_0x4b55a3(0x433)])(_0x4b55a3(0x3aa),{'children':(0x0,h[_0x4b55a3(0x433)])(d[_0x4b55a3(0x558)],{'className':(0x0,d[_0x4b55a3(0x613)])(_0x4b55a3(0x406),d[_0x4b55a3(0x5fb)]),'options':_0xb85b6,'value':_0x11c191,'onChange':_0x29664b=>{_0x3f066e(_0x29664b),_0xa3927e(_0x29664b);}})}),(0x0,h['jsx'])(_0x4b55a3(0x3aa),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x29c414('dialog.numfmt.dateDesc')})]})});},Bt=({originPattern:_0x4c4a0b,handlePatternChange:_0x486d41})=>{const _0x567354=_0x5d1961;let _0x5d28d7=(0x0,o[_0x567354(0x615)])(t[_0x567354(0x2f7)])['t'],[_0x3b77a2,_0x3e71d8]=(0x0,f[_0x567354(0x3dd)])(()=>Ot(_0x4c4a0b||'',0x0)),_0x189ef0=Te[_0x567354(0x2cf)](_0x4d9826=>({'label':_0x4d9826[_0x567354(0x57f)],'value':_0x4d9826['suffix'],'color':_0x4d9826[_0x567354(0x63b)]})),[_0x2ff4d0,_0x239502]=(0x0,f[_0x567354(0x3dd)])(()=>{const _0x2b427c=_0x567354;let _0x11679b=_0x189ef0[_0x2b427c(0x38a)](_0x2c1743=>(0x0,t[_0x2b427c(0x387)])(_0x2c1743['value'],_0x4c4a0b||''));return(_0x11679b==null?void 0x0:_0x11679b[_0x2b427c(0x3b4)])||_0x189ef0[0x0][_0x2b427c(0x3b4)];});return(0x0,f[_0x567354(0x2aa)])(()=>{_0x486d41(At(_0x2ff4d0,Number(_0x3b77a2||0x0)));},[]),(0x0,h[_0x567354(0x5a7)])(_0x567354(0x3aa),{'className':_0x567354(0x4a6),'children':[(0x0,h[_0x567354(0x433)])(_0x567354(0x3aa),{'className':_0x567354(0x517),'children':(0x0,h[_0x567354(0x5a7)])('div',{'className':_0x567354(0x57b),'children':[(0x0,h[_0x567354(0x433)])(_0x567354(0x3aa),{'className':_0x567354(0x410),'children':_0x5d28d7(_0x567354(0x329))}),(0x0,h[_0x567354(0x433)])(d[_0x567354(0x30a)],{'className':_0x567354(0x53a),'value':_0x3b77a2,'max':0x14,'min':0x0,'onChange':_0x41f466=>{_0x41f466&&(_0x3e71d8(_0x41f466),_0x486d41(At(_0x2ff4d0,Number(_0x41f466))));}})]})}),(0x0,h[_0x567354(0x5a7)])(_0x567354(0x3aa),{'className':_0x567354(0x247),'children':[(0x0,h[_0x567354(0x433)])(_0x567354(0x3aa),{'className':_0x567354(0x410),'children':_0x5d28d7('dialog.numfmt.negativeNumberTypes')}),(0x0,h[_0x567354(0x433)])(d[_0x567354(0x558)],{'className':(0x0,d['clsx'])(_0x567354(0x406),d[_0x567354(0x5fb)]),'options':_0x189ef0,'value':_0x2ff4d0,'onChange':_0x1bcf5d=>{_0x3e71d8(Ot(_0x1bcf5d,0x0)),_0x239502(_0x1bcf5d),_0x486d41(_0x1bcf5d);}}),(0x0,h[_0x567354(0x433)])('div',{'className':_0x567354(0x521),'children':_0x5d28d7(_0x567354(0x56d))})]})]});},Vt=({originPattern:_0x385d06,onPatternApply:_0x328f15})=>{const _0x4d6be4=_0x5d1961;let _0x47cd85=(0x0,o['useDependency'])(t[_0x4d6be4(0x2f7)]),_0xbed394=(0x0,o[_0x4d6be4(0x615)])(o[_0x4d6be4(0x376)]),_0x2e6cc0=_0x47cd85['t'],_0x4db630=(0x0,f[_0x4d6be4(0x4e1)])(()=>[{'label':_0x4d6be4(0x57c),'component':It,'key':_0x4d6be4(0x1d8)},{'label':'dialog.numfmt.accounting','component':Lt,'key':_0x4d6be4(0x320)},{'label':_0x4d6be4(0x571),'component':Rt,'key':'sheet.numfmt.currency'},{'label':_0x4d6be4(0x4ef),'component':zt,'key':_0x4d6be4(0x5c1)},{'label':_0x4d6be4(0x5c9),'component':Bt,'key':_0x4d6be4(0x5c6)}][_0x4d6be4(0x2cf)](_0xba78b6=>({..._0xba78b6,'label':_0x2e6cc0(_0xba78b6[_0x4d6be4(0x57f)])})),[_0x2e6cc0]),_0x31a7cf=_0x1bf952=>[Tt,Et,Dt,Pt,Mt][_0x4d6be4(0x1f9)]((_0x5de616,_0x5f2911,_0xd26f98)=>_0x5de616||(_0x5f2911(_0x1bf952==null?'':_0x1bf952)?_0x4db630[_0xd26f98][_0x4d6be4(0x534)]:''),'')||_0x4db630[0x0][_0x4d6be4(0x534)],_0x2e18de=_0x4db630[_0x4d6be4(0x2cf)](_0x337f99=>({'label':_0x337f99['label'],'value':_0x337f99[_0x4d6be4(0x534)]})),[_0x5efebe,_0x8c253e]=(0x0,f[_0x4d6be4(0x3dd)])(()=>_0x31a7cf(_0x385d06)),[_0x508490,_0x1a9a6a]=(0x0,f[_0x4d6be4(0x3dd)])(_0x385d06),_0x91f5ee=_0x49883d=>_0x1a9a6a(_0x49883d),_0x156f4d=_0x164ed6=>{_0x8c253e(_0x164ed6);};return(0x0,f[_0x4d6be4(0x2aa)])(()=>{let _0x52d033=_0x31a7cf(_0x385d06);_0x52d033!==_0x5efebe&&_0x8c253e(_0x52d033),_0x385d06!==_0x508490&&_0x1a9a6a(_0x385d06);},[_0x385d06]),(0x0,h[_0x4d6be4(0x5a7)])(_0x4d6be4(0x3aa),{'children':[(0x0,h['jsx'])(_0x4d6be4(0x3aa),{'className':_0x4d6be4(0x5dc),'children':_0x2e6cc0(_0x4d6be4(0x37a))}),(0x0,h[_0x4d6be4(0x433)])(_0x4d6be4(0x3aa),{'children':(0x0,h[_0x4d6be4(0x433)])(d[_0x4d6be4(0x5db)],{'className':_0x4d6be4(0x2d6),'onChange':_0x12c3c6=>_0x156f4d(_0x12c3c6),'options':_0x2e18de,'value':_0x5efebe})}),(0x0,h[_0x4d6be4(0x5a7)])(_0x4d6be4(0x3aa),{'className':_0x4d6be4(0x247),'children':[_0x5efebe===Ft['General']&&(0x0,h[_0x4d6be4(0x433)])(It,{'originPattern':_0x385d06,'handlePatternChange':_0x91f5ee}),_0x5efebe===Ft[_0x4d6be4(0x5dd)]&&(0x0,h['jsx'])(Lt,{'originPattern':_0x385d06,'handlePatternChange':_0x91f5ee}),_0x5efebe===Ft['Currency']&&(0x0,h[_0x4d6be4(0x433)])(Rt,{'originPattern':_0x385d06,'handlePatternChange':_0x91f5ee}),_0x5efebe===Ft[_0x4d6be4(0x325)]&&(0x0,h['jsx'])(zt,{'originPattern':_0x385d06,'handlePatternChange':_0x91f5ee}),_0x5efebe===Ft['ThousandthPercentile']&&(0x0,h['jsx'])(Bt,{'originPattern':_0x385d06,'handlePatternChange':_0x91f5ee})]}),(0x0,h[_0x4d6be4(0x5a7)])('div',{'className':_0x4d6be4(0x1ed),'children':[(0x0,h[_0x4d6be4(0x433)])(d[_0x4d6be4(0x554)],{'onClick':()=>{const _0x2910c4=_0x4d6be4;_0xbed394[_0x2910c4(0x515)](Oe);},'children':_0x47cd85['t'](_0x4d6be4(0x21a))}),(0x0,h[_0x4d6be4(0x433)])(d[_0x4d6be4(0x554)],{'className':'univer-ml-3','variant':_0x4d6be4(0x3ad),'onClick':()=>{const _0x37a799=_0x4d6be4;_0x328f15&&_0x328f15(_0x508490),_0xbed394[_0x37a799(0x515)](Oe);},'children':_0x47cd85['t'](_0x4d6be4(0x4b2))})]})]});},Ht=_0x2f4e44=>(_0x2f4e44[_0x5d1961(0x2b2)]=!0x1,_0x2f4e44[_0x5d1961(0x3b5)]=!0x0,_0x2f4e44[_0x5d1961(0x361)][_0x5d1961(0x50c)](_0x50ee86=>{_0x50ee86['silent']=!0x0;}),_0x2f4e44['tooltip']={'show':!0x1,'axisPointer':{'type':'none'}},_0x2f4e44[_0x5d1961(0x2c3)]&&(_0x2f4e44[_0x5d1961(0x2c3)][_0x5d1961(0x4c3)]=!0x1),_0x2f4e44);let Ut=class extends t[_0x5d1961(0x3b6)]{constructor(_0xe4d46b,_0x24f539,_0x5126ac,_0x30b0d7,_0x3d0c2d,_0x414478,_0xc767b8,_0x203614,_0x457067,_0xc65f67){const _0x4647f7=_0x5d1961;super(),this[_0x4647f7(0x38b)]=_0xe4d46b,this['_sheetCanvasFloatDomManagerService']=_0x24f539,this[_0x4647f7(0x231)]=_0x5126ac,this[_0x4647f7(0x3ee)]=_0x30b0d7,this[_0x4647f7(0x264)]=_0x3d0c2d,this['_renderManagerService']=_0x414478,this[_0x4647f7(0x36f)]=_0xc767b8,this[_0x4647f7(0x5b6)]=_0x203614,this[_0x4647f7(0x3c2)]=_0x457067,this[_0x4647f7(0x28a)]=_0xc65f67,S(this,'_renderModelMap',new Map()),S(this,_0x4647f7(0x392),new Map()),S(this,_0x4647f7(0x436),null),S(this,'_renderDebounceMap',new Map()),S(this,'_debounceHandleMap',new Map());let _0x2d30a4=!0x0,_0x578368=(0x0,e[_0x4647f7(0x20f)])(this[_0x4647f7(0x5b6)]);_0x578368['length']===0x1&&_0x578368[0x0]==='all'&&(_0x2d30a4=!0x1),this['registerRenderModel'](s[_0x4647f7(0x286)],new s['EChartRenderModel'](_0x2d30a4)),this[_0x4647f7(0x4d1)]();}[_0x5d1961(0x513)](){const _0x1ae830=_0x5d1961;let _0x2b1b0c=!0x0,_0x2d43b5=(0x0,e[_0x1ae830(0x20f)])(this[_0x1ae830(0x5b6)]);return _0x2d43b5[_0x1ae830(0x644)]===0x1&&_0x2d43b5[0x0]===_0x1ae830(0x1f8)&&(_0x2b1b0c=!0x1),_0x2b1b0c;}[_0x5d1961(0x58d)](_0x2f820f,_0x5be3bb){const _0x3fd9d3=_0x5d1961;this[_0x3fd9d3(0x206)][_0x3fd9d3(0x34f)](_0x2f820f,_0x5be3bb),this[_0x3fd9d3(0x436)]=_0x5be3bb;}['setRenderModel'](_0x4303b2){const _0x37205a=_0x5d1961;let _0x207829=this[_0x37205a(0x206)][_0x37205a(0x39a)](_0x4303b2);_0x207829&&(this['_currentModel']=_0x207829);}[_0x5d1961(0x383)](_0x8a7b39,_0x163403){const _0x386501=_0x5d1961;let _0x4502d7=this[_0x386501(0x225)][_0x386501(0x297)](_0x8a7b39);if(!(_0x163403[_0x386501(0x640)]===void 0x0||_0x163403[_0x386501(0x283)]===void 0x0)&&_0x4502d7){var _0x579b39;let {subUnitId:_0x403af6}=_0x4502d7,_0x21fb60=(_0x579b39=this[_0x386501(0x264)][_0x386501(0x242)](t[_0x386501(0x539)][_0x386501(0x3e3)]))==null?void 0x0:_0x579b39[_0x386501(0x567)]();if((_0x21fb60==null?void 0x0:_0x21fb60[_0x386501(0x2ca)]())===_0x403af6){let {width:_0x513f66,height:_0x3a7e38}=_0x163403,_0x2a550b=this[_0x386501(0x231)][_0x386501(0x645)](_0x8a7b39),_0x649a=_0x2a550b==null?void 0x0:_0x2a550b[_0x386501(0x4fa)];if(Math[_0x386501(0x27c)](_0x513f66-((_0x649a==null?void 0x0:_0x649a[_0x386501(0x640)])||0x0))>0x1||Math[_0x386501(0x27c)](_0x3a7e38-((_0x649a==null?void 0x0:_0x649a[_0x386501(0x283)])||0x0))>0x1){_0x2a550b==null||_0x2a550b[_0x386501(0x65f)]({..._0x649a,'width':_0x513f66,'height':_0x3a7e38});let _0x5c6101=this[_0x386501(0x392)][_0x386501(0x39a)](_0x8a7b39);if(_0x5c6101){var _0x1b7acb,_0x4115d0;let _0x18508b=(_0x1b7acb=_0x4502d7['domId'])==null?_0x8a7b39:_0x1b7acb,_0x2e2770=(_0x4115d0=document['getElementById'](_0x18508b))==null?void 0x0:_0x4115d0[_0x386501(0x477)](_0x386501(0x47b));_0x2e2770&&(_0x2e2770[_0x386501(0x4fa)][_0x386501(0x640)]=_0x513f66-0x10+'px',_0x2e2770[_0x386501(0x4fa)][_0x386501(0x283)]=_0x3a7e38-0x10+'px',_0x5c6101['resize']());}}}}}[_0x5d1961(0x368)](_0x55fddb,_0x4bbebe,_0x46b085=0x0){const _0x554224=_0x5d1961;let _0x41f755=this[_0x554224(0x51d)][_0x554224(0x39a)](_0x55fddb);_0x41f755||(_0x41f755=(0x0,t[_0x554224(0x42f)])(_0x393105=>{const _0x358904=_0x554224;this[_0x358904(0x383)](_0x55fddb,_0x393105);},_0x46b085),this[_0x554224(0x51d)]['set'](_0x55fddb,_0x41f755)),_0x41f755(_0x4bbebe);}[_0x5d1961(0x4d1)](){const _0x4a824a=_0x5d1961;let _0x5dae72=this[_0x4a824a(0x427)],_0x15487a=_0x45f228=>{const _0xeb14d9=_0x4a824a;if(!_0x5dae72['has'](_0x45f228)){let _0x305dfa=(0x0,t[_0xeb14d9(0x42f)])((_0x1a5618,_0x5ac5c0,_0x24a7d0,_0xb1aa15)=>{const _0x23a6d4=_0xeb14d9;var _0x12c7ec,_0x1045b2;if(!_0x24a7d0)return;let {t:_0xb808ba}=this[_0x23a6d4(0x36f)];(_0x12c7ec=_0x24a7d0[_0x23a6d4(0x4b4)])==null||_0x12c7ec[_0x23a6d4(0x58b)][_0x23a6d4(0x50c)]((_0x274580,_0x45b1c5)=>{const _0x292722=_0x23a6d4;_0x274580['label']||(_0x274580[_0x292722(0x57f)]=_0xb808ba(_0x292722(0x2a2))+'\x20'+(_0x45b1c5+0x1));}),_0x24a7d0[_0x23a6d4(0x361)][_0x23a6d4(0x50c)]((_0x257a32,_0x392328)=>{const _0x17ff77=_0x23a6d4;_0x257a32[_0x17ff77(0x2c5)]||(_0x257a32['name']=_0xb808ba(_0x17ff77(0x1eb))+'\x20'+(_0x392328+0x1));}),_0xb1aa15[_0x23a6d4(0x3d3)]=_0x1a5618[_0x23a6d4(0x2ff)]();let _0x37b4e5=(_0x1045b2=this[_0x23a6d4(0x264)][_0x23a6d4(0x242)](t[_0x23a6d4(0x539)][_0x23a6d4(0x3e3)]))==null?void 0x0:_0x1045b2[_0x23a6d4(0x567)]();(_0x37b4e5==null?void 0x0:_0x37b4e5['getSheetId']())===_0x5ac5c0&&this[_0x23a6d4(0x431)](_0x1a5618['id'],_0x24a7d0,_0xb1aa15);},0x11);_0x5dae72[_0xeb14d9(0x34f)](_0x45f228,_0x305dfa);}return _0x5dae72[_0xeb14d9(0x39a)](_0x45f228);};this['disposeWithMe'](this[_0x4a824a(0x264)][_0x4a824a(0x3c5)]['subscribe'](_0x5255d7=>{const _0x276602=_0x4a824a;let _0x2901f5=this[_0x276602(0x264)][_0x276602(0x242)](t[_0x276602(0x539)]['UNIVER_SHEET']);if(_0x5255d7&&_0x2901f5&&_0x2901f5[_0x276602(0x5d0)]()===_0x5255d7){var _0x26ca7a;let _0x20ea7d=_0x2901f5[_0x276602(0x567)]()[_0x276602(0x2ca)](),_0xdb7b0d=this[_0x276602(0x3ee)][_0x276602(0x235)](_0x5255d7,_0x20ea7d);if(!((_0x26ca7a=this[_0x276602(0x356)][_0x276602(0x1bf)](_0x5255d7))!=null&&_0x26ca7a['with'](a['SheetSkeletonManagerService'])[_0x276602(0x401)](_0x20ea7d)))return;if(_0xdb7b0d)for(let _0x42f37f in _0xdb7b0d){let {drawingId:_0x201f63}=_0xdb7b0d[_0x42f37f],_0x2a5e19=this[_0x276602(0x231)][_0x276602(0x645)](_0x201f63);_0x2a5e19&&_0x15487a(_0x2a5e19['id'])(_0x2a5e19,_0x20ea7d,_0x2a5e19[_0x276602(0x2b8)],_0x2a5e19[_0x276602(0x4fa)]);}}})),this[_0x4a824a(0x61a)](this[_0x4a824a(0x28a)]['darkMode$'][_0x4a824a(0x643)](()=>{const _0xf5a51e=_0x4a824a;var _0x250091;let _0x155ec1=this['_univerInstanceService'][_0xf5a51e(0x242)](t['UniverInstanceType'][_0xf5a51e(0x3e3)]);if(!_0x155ec1)return;let _0x2fcf1a=_0x155ec1[_0xf5a51e(0x5d0)](),_0x34d9de=_0x155ec1['getActiveSheet']()[_0xf5a51e(0x2ca)](),_0x154a5d=this[_0xf5a51e(0x3ee)][_0xf5a51e(0x235)](_0x2fcf1a,_0x34d9de);if((_0x250091=this[_0xf5a51e(0x356)]['getRenderById'](_0x2fcf1a))!=null&&_0x250091['with'](a['SheetSkeletonManagerService'])[_0xf5a51e(0x401)](_0x34d9de)&&_0x154a5d)for(let _0x358c34 in _0x154a5d){let {drawingId:_0x341382}=_0x154a5d[_0x358c34],_0x7a7fc8=this[_0xf5a51e(0x231)][_0xf5a51e(0x645)](_0x341382);if(_0x7a7fc8){let _0x29cf2a=_0x7a7fc8[_0xf5a51e(0x2ff)]();_0x7a7fc8['applyStyle']({'runtime':_0x29cf2a});}}})),this[_0x4a824a(0x61a)](this[_0x4a824a(0x3ee)][_0x4a824a(0x47f)][_0x4a824a(0x643)](_0x151a88=>{const _0x5e8cc3=_0x4a824a;_0x151a88[_0x5e8cc3(0x50c)](_0x4ef431=>{const _0x1ee16d=_0x5e8cc3;var _0x2e241e,_0x243562,_0x33e13e;let {drawingId:_0x61fdc1,unitId:_0xd30d9f,subUnitId:_0x2b062f}=_0x4ef431;if(!((_0x2e241e=this[_0x1ee16d(0x356)][_0x1ee16d(0x1bf)](_0xd30d9f))!=null&&_0x2e241e[_0x1ee16d(0x25a)](a[_0x1ee16d(0x1da)])[_0x1ee16d(0x401)](_0x2b062f)))return;let {drawingType:_0x3a1315}=this[_0x1ee16d(0x3ee)][_0x1ee16d(0x549)](_0x4ef431);if(_0x3a1315!==t[_0x1ee16d(0x299)][_0x1ee16d(0x4aa)])return;let _0x4b9e88=this[_0x1ee16d(0x225)][_0x1ee16d(0x297)](_0x61fdc1),_0x36a855=(_0x243562=_0x4b9e88==null?void 0x0:_0x4b9e88[_0x1ee16d(0x397)])==null?_0x61fdc1:_0x243562,_0x2d3773=_0x4b9e88==null?void 0x0:_0x4b9e88[_0x1ee16d(0x32c)],_0x28451c=(_0x33e13e=this['_renderManagerService']['getRenderById'](_0xd30d9f))==null?void 0x0:_0x33e13e[_0x1ee16d(0x21f)];_0x2d3773&&this[_0x1ee16d(0x61a)](_0x2d3773==null?void 0x0:_0x2d3773[_0x1ee16d(0x3c3)][_0x1ee16d(0x2ac)](_0x2f7e56=>{const _0x3721d7=_0x1ee16d;let {type:_0x5812a2,value:_0x359fba}=_0x2f7e56;if(l['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']===_0x5812a2||l[_0x3721d7(0x4c9)][_0x3721d7(0x1f8)]===_0x5812a2){let {width:_0x44401f,height:_0x525a9c}=_0x359fba;this[_0x3721d7(0x368)](_0x61fdc1,{'width':_0x44401f,'height':_0x525a9c},0x64);}})),_0x28451c&&this[_0x1ee16d(0x61a)](_0x28451c[_0x1ee16d(0x3c3)][_0x1ee16d(0x2ac)](_0x2bca5e=>{const _0x532a8a=_0x1ee16d;var _0x52ed06;if(_0x2bca5e[_0x532a8a(0x614)]!==l[_0x532a8a(0x4c9)][_0x532a8a(0x26d)])return;let _0x108687=(_0x52ed06=document['getElementById'](_0x36a855))==null?void 0x0:_0x52ed06[_0x532a8a(0x477)]('.chart-host');if(_0x108687){let _0x5cd8e9=_0x108687[_0x532a8a(0x5f8)][_0x532a8a(0x4fa)];this[_0x532a8a(0x368)](_0x61fdc1,{'width':Number['parseInt'](_0x5cd8e9[_0x532a8a(0x640)],0xa),'height':Number[_0x532a8a(0x569)](_0x5cd8e9[_0x532a8a(0x283)],0xa)});}}));let _0x2b5e83=this['_chartModelService'][_0x1ee16d(0x645)](_0x61fdc1);_0x2b5e83&&this['disposeWithMe']((0x0,c['combineLatest'])([_0x2b5e83[_0x1ee16d(0x28c)],_0x2b5e83[_0x1ee16d(0x599)]])['subscribe'](([_0x699c0e,_0x3752e0])=>{_0x15487a(_0x2b5e83['id'])(_0x2b5e83,_0x2b062f,_0x699c0e,_0x3752e0);}));});})),this[_0x4a824a(0x61a)]((0x0,c[_0x4a824a(0x3e9)])([this['_drawingManagerService'][_0x4a824a(0x422)]])['subscribe'](([_0x229c63])=>{_0x229c63['forEach'](_0x2c9507=>{const _0x433543=_0x484a;let {drawingId:_0x5534c9}=_0x2c9507;this[_0x433543(0x392)][_0x433543(0x39a)](_0x5534c9)&&this['_chartInstanceMap'][_0x433543(0x1fe)](_0x5534c9);});}));}[_0x5d1961(0x29e)](_0x453b01){const _0x205b73=_0x5d1961;let _0x14088b=this[_0x205b73(0x206)][_0x205b73(0x39a)](_0x453b01),_0x54a5aa=this[_0x205b73(0x513)]();return _0x14088b&&_0x14088b[_0x205b73(0x46b)](_0x54a5aa),_0x14088b;}async['_ensureChartInstance'](_0x1e0fe7){const _0xdf831a=_0x5d1961;var _0x2e2cb0;let _0x47e4fb=this[_0xdf831a(0x392)],_0x1fc851=this[_0xdf831a(0x436)];if(_0x47e4fb['has'](_0x1e0fe7)&&this[_0xdf831a(0x38b)][_0xdf831a(0x506)](_0x1e0fe7))return _0x47e4fb[_0xdf831a(0x39a)](_0x1e0fe7);let _0x496f38=_0x1fc851[_0xdf831a(0x31f)]();_0x47e4fb[_0xdf831a(0x34f)](_0x1e0fe7,_0x496f38);let _0x34d953=await this[_0xdf831a(0x38b)]['ensureHost'](_0x1e0fe7);return _0x496f38[_0xdf831a(0x30e)](_0x34d953['mountNode']),(_0x2e2cb0=_0x496f38[_0xdf831a(0x25c)])==null||_0x2e2cb0[_0xdf831a(0x298)](_0x496f38,()=>{const _0x2da783=_0xdf831a;var _0x2f8b7d;return(_0x2f8b7d=_0x34d953[_0x2da783(0x5e8)])==null?void 0x0:_0x2f8b7d[_0x2da783(0x298)](_0x34d953);}),_0x496f38;}[_0x5d1961(0x657)](_0x5e3480){const _0x4c7710=_0x5d1961;var _0x5cbe3a;let _0x273425=this[_0x4c7710(0x225)][_0x4c7710(0x297)](_0x5e3480);if(!_0x273425)return!0x1;let {subUnitId:_0x493ee2}=_0x273425,_0x21944f=(_0x5cbe3a=this['_univerInstanceService'][_0x4c7710(0x242)](t[_0x4c7710(0x539)][_0x4c7710(0x3e3)]))==null?void 0x0:_0x5cbe3a[_0x4c7710(0x567)]();return(_0x21944f==null?void 0x0:_0x21944f[_0x4c7710(0x2ca)]())===_0x493ee2;}async[_0x5d1961(0x431)](_0x2576fb,_0x4fd202,_0x2e5481){const _0x5a14a1=_0x5d1961;var _0x429ee8,_0x581144;let _0x27b1b3=this['getRenderModel'](s[_0x5a14a1(0x286)]);if(!_0x27b1b3||!this[_0x5a14a1(0x657)](_0x2576fb))return;let _0x413f15=await this[_0x5a14a1(0x360)](_0x2576fb),_0x432bbf=this['_chartHostProvider'][_0x5a14a1(0x602)](_0x2576fb),_0x4d147d=_0x27b1b3['stylizeSpec'](_0x27b1b3[_0x5a14a1(0x37b)](_0x4fd202,_0x2e5481),{'chartConfig':_0x4fd202,'chartStyle':_0x2e5481,'chartInstance':_0x413f15},_0x432bbf),_0x3af461=_0x2e5481[_0x5a14a1(0x280)]?this[_0x5a14a1(0x3c2)][_0x5a14a1(0x394)](_0x2e5481[_0x5a14a1(0x280)]):this[_0x5a14a1(0x3c2)]['getDefaultTheme']();this[_0x5a14a1(0x38b)][_0x5a14a1(0x3dc)](_0x2576fb,{'stroke':(_0x429ee8=_0x2e5481[_0x5a14a1(0x22b)])==null?_0x3af461[_0x5a14a1(0x280)][_0x5a14a1(0x22b)]:_0x429ee8,'fill':(_0x581144=_0x2e5481[_0x5a14a1(0x624)])==null?s[_0x5a14a1(0x398)][_0x5a14a1(0x624)]:_0x581144}),this[_0x5a14a1(0x38b)][_0x5a14a1(0x506)](_0x2576fb)&&_0x413f15[_0x5a14a1(0x431)]({..._0x4d147d});}async[_0x5d1961(0x388)](_0xf95bdd,_0x129d96,_0x51510f){const _0x1410b0=_0x5d1961;var _0x92df82,_0x3c973a;let _0x1cd2fc=this[_0x1410b0(0x231)][_0x1410b0(0x645)](_0xf95bdd),_0x576021=this[_0x1410b0(0x206)][_0x1410b0(0x39a)](s[_0x1410b0(0x286)]);if(!_0x1cd2fc||!_0x576021)return;let _0x2cd151=E(_0x51510f[_0x1410b0(0x640)],_0x51510f['height']);_0x129d96['append'](_0x2cd151);let _0x26ce63=s['echarts']['init'](_0x2cd151,null,{'devicePixelRatio':window[_0x1410b0(0x2dd)]||0x1}),_0x45116a=_0x1cd2fc[_0x1410b0(0x2b8)],_0x3d019b=_0x1cd2fc[_0x1410b0(0x4fa)],_0x266cc8=_0x576021[_0x1410b0(0x4dc)](_0x576021[_0x1410b0(0x37b)](_0x45116a,_0x3d019b),{'chartConfig':_0x45116a,'chartStyle':_0x3d019b,'chartInstance':_0x26ce63},_0x51510f),_0x471177=_0x3d019b[_0x1410b0(0x280)]?this['_chartThemeService'][_0x1410b0(0x394)](_0x3d019b[_0x1410b0(0x280)]):this[_0x1410b0(0x3c2)][_0x1410b0(0x354)]();_0x129d96[_0x1410b0(0x4fa)][_0x1410b0(0x475)]='1px\x20solid\x20'+((_0x92df82=_0x3d019b[_0x1410b0(0x22b)])==null?_0x471177[_0x1410b0(0x280)]['borderColor']:_0x92df82),_0x129d96['style'][_0x1410b0(0x624)]=this[_0x1410b0(0x3c2)]['getRenderColor']((_0x3c973a=_0x3d019b[_0x1410b0(0x624)])==null?s[_0x1410b0(0x398)][_0x1410b0(0x624)]:_0x3c973a),_0x129d96[_0x1410b0(0x4fa)][_0x1410b0(0x2b4)]=_0x1410b0(0x443),_0x26ce63[_0x1410b0(0x1e9)](),_0x26ce63[_0x1410b0(0x622)](Ht(_0x266cc8),!0x0);}[_0x5d1961(0x5e8)](){const _0x61ab1e=_0x5d1961;this[_0x61ab1e(0x392)][_0x61ab1e(0x1e9)](),this[_0x61ab1e(0x436)]=null,this[_0x61ab1e(0x206)][_0x61ab1e(0x50c)](_0x2ebb3b=>_0x2ebb3b[_0x61ab1e(0x5e8)]()),this[_0x61ab1e(0x206)]['clear'](),this[_0x61ab1e(0x427)][_0x61ab1e(0x1e9)](),this[_0x61ab1e(0x51d)][_0x61ab1e(0x1e9)]();}};Ut=w([C(0x0,O),C(0x1,(0x0,t['Inject'])(u['SheetCanvasFloatDomManagerService'])),C(0x2,(0x0,t['Inject'])(e[_0x5d1961(0x3f5)])),C(0x3,n[_0x5d1961(0x501)]),C(0x4,t[_0x5d1961(0x2b6)]),C(0x5,(0x0,t[_0x5d1961(0x4e8)])(l[_0x5d1961(0x3ec)])),C(0x6,(0x0,t['Inject'])(t[_0x5d1961(0x2f7)])),C(0x7,(0x0,t['Inject'])(t[_0x5d1961(0x457)])),C(0x8,(0x0,t[_0x5d1961(0x4e8)])(s[_0x5d1961(0x244)])),C(0x9,(0x0,t['Inject'])(t[_0x5d1961(0x203)]))],Ut);const Wt=_0x2b0570=>{const _0x20abf8=_0x5d1961;let {floatDomId:_0x98bd0b,context:_0x251b7d}=_0x2b0570,_0x1fc239=(0x0,o[_0x20abf8(0x615)])(Ut);return(0x0,f[_0x20abf8(0x2aa)])(()=>{const _0x84d63e=_0x20abf8;if(_0x251b7d[_0x84d63e(0x5ab)][_0x84d63e(0x5d2)]){let _0x3d4f88={'width':Number[_0x84d63e(0x4ac)](_0x251b7d[_0x84d63e(0x5ab)][_0x84d63e(0x5d2)][_0x84d63e(0x4fa)][_0x84d63e(0x640)]),'height':Number[_0x84d63e(0x4ac)](_0x251b7d[_0x84d63e(0x5ab)][_0x84d63e(0x5d2)]['style'][_0x84d63e(0x283)])};_0x1fc239['printChart'](_0x98bd0b,_0x251b7d[_0x84d63e(0x5ab)][_0x84d63e(0x5d2)],_0x3d4f88);}},[_0x98bd0b,_0x251b7d['root'][_0x20abf8(0x5d2)]]),null;},Gt={'type':t[_0x5d1961(0x550)][_0x5d1961(0x1f3)],'id':_0x5d1961(0x362),'handler':async(_0x496679,_0x3e7b6f)=>{const _0x381000=_0x5d1961;let _0x3e9dd7=(0x0,g['getSheetCommandTarget'])(_0x496679[_0x381000(0x39a)](t[_0x381000(0x2b6)]));if(!_0x3e9dd7)return!0x1;let _0x26562e=_0x496679[_0x381000(0x39a)](g['SheetsSelectionsService'])[_0x381000(0x586)]();if(!_0x26562e)return!0x1;let _0x400e68=_0x496679[_0x381000(0x39a)](o[_0x381000(0x2e7)]),_0x104dcf=_0x496679[_0x381000(0x39a)](t[_0x381000(0x2f7)]),{range:_0x512b41}=_0x26562e;if(_0x512b41['startRow']===_0x512b41[_0x381000(0x23f)]||_0x512b41[_0x381000(0x4e4)]===_0x512b41['endColumn'])return _0x400e68['show']({'type':d['MessageType'][_0x381000(0x391)],'content':_0x104dcf['t']('chart.msg.invalidSource')}),!0x1;let _0x5ed040=_0x496679[_0x381000(0x39a)](t[_0x381000(0x415)]),{unitId:_0x589bf9,subUnitId:_0x4d9687}=_0x3e9dd7,{value:_0x488f54}=_0x3e7b6f;return _0x5ed040['executeCommand'](e['InsertChartCommand']['id'],{'unitId':_0x589bf9,'subUnitId':_0x4d9687,'chartType':_0x488f54,'range':_0x512b41});}};function Kt(_0x3f6db3){const _0x57cb72=_0x5d1961;let _0xd5f5f3=_0x3f6db3[_0x57cb72(0x39a)](t[_0x57cb72(0x2b6)]),_0x16aa1b=(0x0,e[_0x57cb72(0x20f)])(_0x3f6db3),_0x2007b1=L(I()[_0x57cb72(0x2de)](),_0x16aa1b);return{'id':Gt['id'],'type':o[_0x57cb72(0x5b3)][_0x57cb72(0x261)],'selections':_0x2007b1,'icon':_0x57cb72(0x55b),'tooltip':'chart.insertChart','activated$':(0x0,a[_0x57cb72(0x2e6)])(_0xd5f5f3,!0x1,()=>new c[(_0x57cb72(0x520))](_0x2f0ed1=>{const _0xfbf991=_0x57cb72;_0x2f0ed1[_0xfbf991(0x50e)](!0x1);})),'hidden$':(0x0,o['getMenuHiddenObservable'])(_0x3f6db3,t[_0x57cb72(0x539)][_0x57cb72(0x3e3)]),'disabled$':(0x0,a[_0x57cb72(0x4a4)])(_0x3f6db3)};}const qt={[o[_0x5d1961(0x496)][_0x5d1961(0x491)]]:{[Gt['id']]:{'order':0x4,'menuItemFactory':Kt}}},Jt=_0x5d1961(0x214);let Yt=class extends t['Disposable']{constructor(_0x555797,_0x23cacf,_0x30b4a5,_0x5295dc,_0x5f54cf,_0x5debf5,_0x582808,_0x53dded,_0x5b87e0,_0x50f7f8){const _0x2491dc=_0x5d1961;super(),this['_drawingManagerService']=_0x555797,this[_0x2491dc(0x264)]=_0x23cacf,this['_chartModelService']=_0x30b4a5,this[_0x2491dc(0x47d)]=_0x5295dc,this[_0x2491dc(0x467)]=_0x5f54cf,this[_0x2491dc(0x57a)]=_0x5debf5,this[_0x2491dc(0x278)]=_0x582808,this[_0x2491dc(0x52d)]=_0x53dded,this['_sheetsChartUIService']=_0x5b87e0,this[_0x2491dc(0x48f)]=_0x50f7f8,S(this,_0x2491dc(0x493),null),this[_0x2491dc(0x572)](),this[_0x2491dc(0x305)](),this[_0x2491dc(0x61a)](this['_univerInstanceService'][_0x2491dc(0x43d)](t[_0x2491dc(0x539)][_0x2491dc(0x3e3)])[_0x2491dc(0x643)](_0x271469=>{const _0x2241f5=_0x2491dc;var _0x4b8051;_0x271469||(_0x4b8051=this[_0x2241f5(0x493)])==null||_0x4b8051['dispose']();}));}[_0x5d1961(0x572)](){const _0xeb7cd3=_0x5d1961;[[_0xeb7cd3(0x55b),r[_0xeb7cd3(0x55b)]],[_0xeb7cd3(0x63e),r['AreaChartIcon']],[_0xeb7cd3(0x530),r['BarChartIcon']],[_0xeb7cd3(0x3cd),r['ColumnChartIcon']],['ComboChartIcon',r[_0xeb7cd3(0x3f7)]],[_0xeb7cd3(0x5f3),r[_0xeb7cd3(0x5f3)]],[_0xeb7cd3(0x1c9),r[_0xeb7cd3(0x1c9)]],[_0xeb7cd3(0x26c),r[_0xeb7cd3(0x26c)]],[_0xeb7cd3(0x5ae),r[_0xeb7cd3(0x5ae)]],[_0xeb7cd3(0x5bc),r['FunnelIcon']],[_0xeb7cd3(0x4b6),r[_0xeb7cd3(0x4ba)]],[_0xeb7cd3(0x545),r[_0xeb7cd3(0x545)]],[_0xeb7cd3(0x60a),r[_0xeb7cd3(0x60a)]],[_0xeb7cd3(0x348),r[_0xeb7cd3(0x348)]],[_0xeb7cd3(0x34b),r['SankeyIcon']],[_0xeb7cd3(0x64f),r[_0xeb7cd3(0x333)]],['BoxplotIcon',r[_0xeb7cd3(0x523)]],[t[_0xeb7cd3(0x63c)],Wt],[Jt,Ct],[ke,Vt]][_0xeb7cd3(0x50c)](([_0x20b4b9,_0x349684])=>{const _0x14e89b=_0xeb7cd3;this['disposeWithMe'](this[_0x14e89b(0x467)][_0x14e89b(0x249)](_0x20b4b9,_0x349684));});}['_openPanel'](){const _0x45e1ac=_0x5d1961;this[_0x45e1ac(0x493)]=this[_0x45e1ac(0x47d)]['open']({'id':Jt,'header':{'title':'chart.editChart'},'width':0x154,'children':{'label':Jt},'onClose':()=>{const _0x3dfdca=_0x45e1ac;this['_drawingManagerService'][_0x3dfdca(0x2eb)](null),this[_0x3dfdca(0x48f)][_0x3dfdca(0x5d7)](t['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_sidebarDisposable']=null;}});}[_0x5d1961(0x2c2)](){const _0x37047e=_0x5d1961;var _0x454469;this[_0x37047e(0x231)][_0x37047e(0x2f0)](null),(_0x454469=this[_0x37047e(0x493)])==null||_0x454469[_0x37047e(0x5e8)]();}[_0x5d1961(0x4a9)](){const _0x3387ca=_0x5d1961;let _0x3b2745=this['_univerInstanceService'][_0x3387ca(0x242)](t['UniverInstanceType'][_0x3387ca(0x3e3)]);this[_0x3387ca(0x61a)](this[_0x3387ca(0x47d)]['sidebarOptions$'][_0x3387ca(0x643)](_0x53cdc5=>{const _0x12ff5e=_0x3387ca;_0x53cdc5['id']===Jt&&(_0x53cdc5[_0x12ff5e(0x46e)]||this['_sidebarService'][_0x12ff5e(0x5b7)][_0x12ff5e(0x50e)]({'visible':!0x1}));})),this['disposeWithMe'](this[_0x3387ca(0x52d)][_0x3387ca(0x323)](_0x169ae1=>{const _0x21384a=_0x3387ca;if(_0x169ae1['id']===v['id']){let _0x4cd1a2=_0x169ae1[_0x21384a(0x2c8)];this['openChartPanelById'](_0x4cd1a2[_0x21384a(0x601)]);}if(_0x169ae1['id']===_['id']&&this['hidePanel'](),_0x169ae1['id']===e[_0x21384a(0x3a8)]['id']){var _0x3dfe82;_0x169ae1[_0x21384a(0x2c8)][_0x21384a(0x1fc)]===((_0x3dfe82=this[_0x21384a(0x231)][_0x21384a(0x658)])==null?void 0x0:_0x3dfe82['id'])&&this[_0x21384a(0x2c2)](),this[_0x21384a(0x48f)][_0x21384a(0x1ec)](t['FOCUSING_COMMON_DRAWINGS'])&&(this['_contextService'][_0x21384a(0x5d7)](t[_0x21384a(0x472)],!0x1),this['_drawingManagerService'][_0x21384a(0x2eb)](null));}})),this[_0x3387ca(0x61a)](this[_0x3387ca(0x3ee)][_0x3387ca(0x4a0)][_0x3387ca(0x643)](_0x2c8828=>{const _0x5c8f34=_0x3387ca;let _0x182b62=_0x2c8828[0x0];this[_0x5c8f34(0x593)][_0x5c8f34(0x3bb)]||!_0x182b62&&!this[_0x5c8f34(0x593)]['rangeSelectMode']&&this[_0x5c8f34(0x2c2)]();})),_0x3b2745&&(this['disposeWithMe'](_0x3b2745[_0x3387ca(0x497)][_0x3387ca(0x643)](()=>{const _0x16dceb=_0x3387ca;this[_0x16dceb(0x2c2)]();})),this[_0x3387ca(0x61a)](_0x3b2745[_0x3387ca(0x396)][_0x3387ca(0x643)](()=>{const _0x515910=_0x3387ca;this[_0x515910(0x2c2)]();})));}[_0x5d1961(0x27e)](_0x5ad11f){const _0x581ca8=_0x5d1961;let _0x12dfa1=this['_chartModelService'][_0x581ca8(0x645)](_0x5ad11f);_0x12dfa1&&(this[_0x581ca8(0x231)][_0x581ca8(0x2f0)](_0x12dfa1),this['_openPanel']());}[_0x5d1961(0x305)](){const _0x4f7af8=_0x5d1961;this[_0x4f7af8(0x57a)][_0x4f7af8(0x635)](qt),this['_sheetCanvasPopManagerService'][_0x4f7af8(0x3a0)](t['DrawingTypeEnum'][_0x4f7af8(0x4aa)],this[_0x4f7af8(0x3eb)][_0x4f7af8(0x43a)](this));}['getChartPopupMenus'](_0xdb664b,_0x4da671,_0x3a0704,_0x505582){const _0x1f4be3=_0x5d1961;return[{'label':_0x1f4be3(0x205),'index':0x0,'commandId':v['id'],'commandParams':{'unitId':_0xdb664b,'subUnitId':_0x4da671,'drawingId':_0x3a0704},'disable':_0x505582===t[_0x1f4be3(0x299)][_0x1f4be3(0x576)]},{'label':_0x1f4be3(0x471),'index':0x1,'commandId':i[_0x1f4be3(0x2e0)]['id'],'commandParams':{'unitId':_0xdb664b,'drawings':[{'unitId':_0xdb664b,'subUnitId':_0x4da671,'drawingId':_0x3a0704,'drawingType':_0x505582}]},'disable':!0x1},{'label':'chart.hideChartPanel','index':0x2,'commandId':_['id'],'commandParams':{'unitId':_0xdb664b,'subUnitId':_0x4da671,'drawingId':_0x3a0704},'disable':!0x1}];}};Yt=w([C(0x0,n[_0x5d1961(0x501)]),C(0x1,t[_0x5d1961(0x2b6)]),C(0x2,(0x0,t[_0x5d1961(0x4e8)])(e['ChartModelService'])),C(0x3,(0x0,t[_0x5d1961(0x4e8)])(o['ISidebarService'])),C(0x4,(0x0,t[_0x5d1961(0x4e8)])(o[_0x5d1961(0x53f)])),C(0x5,o[_0x5d1961(0x1c8)]),C(0x6,(0x0,t['Inject'])(a['SheetCanvasPopManagerService'])),C(0x7,t[_0x5d1961(0x415)]),C(0x8,(0x0,t[_0x5d1961(0x4e8)])(A)),C(0x9,t[_0x5d1961(0x2a6)])],Yt);var Xt=_0x5d1961(0x317),Zt=_0x5d1961(0x50a);let Qt=class extends t[_0x5d1961(0x3b6)]{constructor(_0x23f9db,_0x2cc0d9){const _0x3dfade=_0x5d1961;super(),this[_0x3dfade(0x3ca)]=_0x23f9db,this[_0x3dfade(0x231)]=_0x2cc0d9,this[_0x3dfade(0x220)]();}['_init'](){const _0x27738=_0x5d1961;this[_0x27738(0x61a)](this[_0x27738(0x3ca)]['removeHost$'][_0x27738(0x643)](_0x4bd2a8=>{const _0x281d86=_0x27738;this['_chartModelService'][_0x281d86(0x3af)](_0x4bd2a8);}));}};Qt=w([C(0x0,O),C(0x1,(0x0,t['Inject'])(e[_0x5d1961(0x3f5)]))],Qt);let $t=class extends t[_0x5d1961(0x3b6)]{constructor(_0x39825e,_0x42f1dd,_0x54a39e){const _0x41540a=_0x5d1961;super(),this[_0x41540a(0x231)]=_0x39825e,this[_0x41540a(0x45c)]=_0x42f1dd,this[_0x41540a(0x36f)]=_0x54a39e,this[_0x41540a(0x220)]();}['_init'](){const _0x4dde9e=_0x5d1961;this[_0x4dde9e(0x61a)](this['_chartModelService'][_0x4dde9e(0x22a)]['subscribe'](_0x44a536=>{const _0x29ab0d=_0x4dde9e;if(_0x44a536){let _0x25ff3c=new t[(_0x29ab0d(0x3ce))]();_0x25ff3c[_0x29ab0d(0x1c2)](_0x44a536[_0x29ab0d(0x28c)][_0x29ab0d(0x5c2)]((0x0,c['combineLatestWith'])(_0x44a536[_0x29ab0d(0x599)]),(0x0,c[_0x29ab0d(0x42b)])(0x64))['subscribe'](([_0x53b53f,_0xd85ee6])=>{const _0x29be6e=_0x29ab0d;var _0x1b3055;if(!_0x53b53f)return;let {t:_0x4ab8ec}=this[_0x29be6e(0x36f)];(_0x1b3055=_0x53b53f[_0x29be6e(0x4b4)])==null||_0x1b3055[_0x29be6e(0x58b)]['forEach']((_0x379326,_0x2ed6a6)=>{const _0x11f1cc=_0x29be6e;_0x379326[_0x11f1cc(0x57f)]||(_0x379326[_0x11f1cc(0x57f)]=_0x4ab8ec('chart.category')+'\x20'+(_0x2ed6a6+0x1));}),_0x53b53f[_0x29be6e(0x361)][_0x29be6e(0x50c)]((_0x39218c,_0x105bdc)=>{const _0x32a5a0=_0x29be6e;_0x39218c[_0x32a5a0(0x2c5)]||(_0x39218c[_0x32a5a0(0x2c5)]=_0x4ab8ec(_0x32a5a0(0x1eb))+'\x20'+(_0x105bdc+0x1));}),_0xd85ee6['runtime']=_0x44a536[_0x29be6e(0x2ff)](),this[_0x29be6e(0x45c)][_0x29be6e(0x431)](_0x44a536['id'],_0x53b53f,_0xd85ee6);})),_0x44a536[_0x29ab0d(0x25c)](()=>{_0x25ff3c['dispose']();});}}));}};$t=w([C(0x0,(0x0,t[_0x5d1961(0x4e8)])(e[_0x5d1961(0x3f5)])),C(0x1,(0x0,t[_0x5d1961(0x4e8)])(Ut)),C(0x2,(0x0,t[_0x5d1961(0x4e8)])(t[_0x5d1961(0x2f7)]))],$t);let en=class extends t[_0x5d1961(0x3b6)]{constructor(_0x204034,_0x2537f8,_0x141b6e,_0x58498e){const _0x123889=_0x5d1961;super(),this[_0x123889(0x264)]=_0x204034,this[_0x123889(0x56e)]=_0x2537f8,this[_0x123889(0x2f4)]=_0x141b6e,this['_chartModelService']=_0x58498e,this[_0x123889(0x2ad)]();}[_0x5d1961(0x2ad)](){const _0x33fe15=_0x5d1961;this['disposeWithMe'](this[_0x33fe15(0x56e)][_0x33fe15(0x288)]({'getMutations':_0x26d407=>{const _0x1ce0a1=_0x33fe15;if(_0x26d407['id']===g[_0x1ce0a1(0x1e2)]['id']){let _0x554cb2=(0x0,g[_0x1ce0a1(0x4f3)])(this[_0x1ce0a1(0x264)],_0x26d407['params']);if(!_0x554cb2)return{'redos':[],'undos':[]};let {unitId:_0xe770bd,subUnitId:_0x3f88f4}=_0x554cb2,_0x1f6359=this[_0x1ce0a1(0x2f4)][_0x1ce0a1(0x235)](_0xe770bd,_0x3f88f4),_0x432e93=Object[_0x1ce0a1(0x63a)](_0x1f6359)[_0x1ce0a1(0x632)](_0x3ccaa0=>_0x3ccaa0[_0x1ce0a1(0x411)]===t[_0x1ce0a1(0x299)][_0x1ce0a1(0x4aa)]);if(_0x432e93[_0x1ce0a1(0x644)]===0x0)return{'redos':[],'undos':[]};let _0xc7c420=[],_0x51e396=[];for(let _0x9f3d38=0x0;_0x9f3d38<_0x432e93[_0x1ce0a1(0x644)];_0x9f3d38++){let _0x4a19de=_0x432e93[_0x9f3d38],_0x2044eb=this[_0x1ce0a1(0x231)][_0x1ce0a1(0x645)](_0x4a19de[_0x1ce0a1(0x601)]);if(!_0x2044eb)continue;let {rangeInfo:_0x464e5f,isRowDirection:_0x463e14}=_0x2044eb['dataSource'][_0x1ce0a1(0x55f)](),{redo:_0x575807,undo:_0x49ed02,objects:_0x324753}=this[_0x1ce0a1(0x2f4)][_0x1ce0a1(0x1fd)]([_0x4a19de]);_0xc7c420[_0x1ce0a1(0x4d7)]({'id':e['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0xe770bd,'subUnitId':_0x3f88f4,'chartId':_0x4a19de[_0x1ce0a1(0x601)]}}),_0xc7c420['push']({'id':i[_0x1ce0a1(0x43c)]['id'],'params':{'unitId':_0xe770bd,'subUnitId':_0x3f88f4,'type':i[_0x1ce0a1(0x253)]['REMOVE'],'op':_0x575807,'objects':_0x324753}}),_0x51e396[_0x1ce0a1(0x4d7)]({'id':i[_0x1ce0a1(0x43c)]['id'],'params':{'unitId':_0xe770bd,'subUnitId':_0x3f88f4,'type':i[_0x1ce0a1(0x253)]['INSERT'],'op':_0x49ed02,'objects':_0x324753}}),_0x51e396[_0x1ce0a1(0x4d7)]({'id':e[_0x1ce0a1(0x2ef)]['id'],'params':{'unitId':_0xe770bd,'subUnitId':_0x3f88f4,'chartId':_0x4a19de['drawingId'],'chartType':_0x2044eb[_0x1ce0a1(0x4e6)],'range':_0x464e5f[_0x1ce0a1(0x476)],'rangeUnitId':_0x464e5f[_0x1ce0a1(0x273)],'rangeSubUnitId':_0x464e5f[_0x1ce0a1(0x28d)],'isRowDirection':_0x463e14}});}return{'redos':_0xc7c420,'undos':_0x51e396};}else{if(_0x26d407['id']===g[_0x1ce0a1(0x36c)]['id']){let {unitId:_0x39a0d9,subUnitId:_0x5c341c,targetSubUnitId:_0x829e26}=_0x26d407[_0x1ce0a1(0x2c8)];if(!_0x39a0d9||!_0x5c341c||!_0x829e26)return{'redos':[],'undos':[]};let _0x56fb09=this['_sheetDrawingService']['getDrawingData'](_0x39a0d9,_0x5c341c),_0x57efd1=Object[_0x1ce0a1(0x63a)](_0x56fb09)[_0x1ce0a1(0x632)](_0x3c1e26=>_0x3c1e26[_0x1ce0a1(0x411)]===t[_0x1ce0a1(0x299)][_0x1ce0a1(0x4aa)]);if(_0x57efd1[_0x1ce0a1(0x644)]===0x0)return{'redos':[],'undos':[]};let _0x6a61e=[],_0x52cd41=[];for(let _0x235707=0x0;_0x235707<_0x57efd1[_0x1ce0a1(0x644)];_0x235707++){let _0x298069=_0x57efd1[_0x235707],_0x500e29=this[_0x1ce0a1(0x231)][_0x1ce0a1(0x645)](_0x298069[_0x1ce0a1(0x601)]);if(!_0x500e29)continue;let _0xb3c2f8=(0x0,t[_0x1ce0a1(0x2ec)])(),_0x2db524={..._0x298069,'unitId':_0x39a0d9,'subUnitId':_0x829e26,'drawingId':_0xb3c2f8},{rangeInfo:_0x5a2d48,isRowDirection:_0x411bfb}=_0x500e29['dataSource'][_0x1ce0a1(0x55f)](),{redo:_0x5c4781,undo:_0x26440a,objects:_0x559102}=this[_0x1ce0a1(0x2f4)][_0x1ce0a1(0x33d)]([_0x2db524]);_0x6a61e[_0x1ce0a1(0x4d7)]({'id':i[_0x1ce0a1(0x43c)]['id'],'params':{'unitId':_0x39a0d9,'subUnitId':_0x829e26,'type':i[_0x1ce0a1(0x253)][_0x1ce0a1(0x229)],'op':_0x5c4781,'objects':_0x559102}}),_0x6a61e[_0x1ce0a1(0x4d7)]({'id':e[_0x1ce0a1(0x2ef)]['id'],'params':{'unitId':_0x39a0d9,'subUnitId':_0x829e26,'chartId':_0xb3c2f8,'chartType':_0x500e29[_0x1ce0a1(0x4e6)],'range':_0x5a2d48[_0x1ce0a1(0x476)],'isRowDirection':_0x411bfb}}),_0x52cd41[_0x1ce0a1(0x4d7)]({'id':e[_0x1ce0a1(0x3a8)]['id'],'params':{'unitId':_0x39a0d9,'subUnitId':_0x829e26,'chartId':_0xb3c2f8}}),_0x52cd41['push']({'id':i[_0x1ce0a1(0x43c)]['id'],'params':{'unitId':_0x39a0d9,'subUnitId':_0x829e26,'type':i[_0x1ce0a1(0x253)][_0x1ce0a1(0x450)],'op':_0x26440a,'objects':_0x559102}});}return{'redos':_0x6a61e,'undos':_0x52cd41};}}return{'redos':[],'undos':[]};}}));}};en=w([C(0x0,(0x0,t[_0x5d1961(0x4e8)])(t[_0x5d1961(0x2b6)])),C(0x1,(0x0,t[_0x5d1961(0x4e8)])(g[_0x5d1961(0x1c0)])),C(0x2,(0x0,t['Inject'])(i[_0x5d1961(0x4c1)])),C(0x3,(0x0,t[_0x5d1961(0x4e8)])(e['ChartModelService']))],en);let tn=class extends t['Disposable']{constructor(_0x288d9a,_0x3fb6a8,_0x167187,_0x3ba496){const _0x28f493=_0x5d1961;super(),this[_0x28f493(0x4bc)]=_0x288d9a,this[_0x28f493(0x3d0)]=_0x3fb6a8,this[_0x28f493(0x2f4)]=_0x167187,this['_chartModelService']=_0x3ba496,S(this,_0x28f493(0x32b),void 0x0),this[_0x28f493(0x663)]();}get[_0x5d1961(0x44c)](){const _0x200e96=_0x5d1961;return this[_0x200e96(0x2f4)]['getFocusDrawings']();}[_0x5d1961(0x663)](){const _0x5ebfee=_0x5d1961;this[_0x5ebfee(0x61a)](this[_0x5ebfee(0x3d0)][_0x5ebfee(0x461)]({'id':e[_0x5ebfee(0x2ba)],'onBeforeCopy':(_0x22556f,_0x1143c1,_0x323992,_0x3e0f40)=>{const _0x454829=_0x5ebfee;this[_0x454829(0x32b)]=null;let _0x2270b2=this[_0x454829(0x44c)];if(_0x2270b2['length']){let _0x5903cd=_0x2270b2[_0x454829(0x632)](_0x1fe9be=>_0x1fe9be['drawingType']===t[_0x454829(0x299)][_0x454829(0x4aa)]);if(_0x5903cd[_0x454829(0x644)]===0x0)return;this['_copyInfo']={'unitId':_0x22556f,'subUnitId':_0x1143c1,'copyType':_0x3e0f40,'drawings':_0x5903cd};}else this[_0x454829(0x5d4)](_0x22556f,_0x1143c1,_0x323992,_0x3e0f40);},'onPasteCells':(_0x49366a,_0x574dac,_0x45d611,_0x15c9b3)=>{const _0x1a99f6=_0x5ebfee;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x15b8ee}=_0x15c9b3;return _0x15b8ee===a[_0x1a99f6(0x227)][_0x1a99f6(0x486)]?this[_0x1a99f6(0x1d1)](_0x574dac,this[_0x1a99f6(0x32b)][_0x1a99f6(0x41a)]===a['COPY_TYPE'][_0x1a99f6(0x5a8)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x3e8bf5=>this[_0x5ebfee(0x32b)]?this[_0x5ebfee(0x1d1)](_0x3e8bf5,this[_0x5ebfee(0x32b)]['copyType']===a[_0x5ebfee(0x42c)][_0x5ebfee(0x5a8)]):{'redos':[],'undos':[]}}));}[_0x5d1961(0x5d4)](_0x36cf25,_0x143ed7,_0x363282,_0x4f321b){const _0x18470c=_0x5d1961;let _0x50d265=this[_0x18470c(0x4bc)][_0x18470c(0x401)](_0x36cf25,_0x143ed7);if(!_0x50d265)return;let _0xf6b486=(0x0,g[_0x18470c(0x5b0)])(_0x50d265,_0x363282);if(!_0xf6b486)return;let {startX:_0x4a9bec,endX:_0xd9ef87,startY:_0xe7cfa,endY:_0x2f2a79}=_0xf6b486,_0x3e8f2a=this['_sheetDrawingService'][_0x18470c(0x235)](_0x36cf25,_0x143ed7),_0x50a8ff=this['_focusedDrawings'][_0x18470c(0x272)]();for(let [_0x1b32c1,_0x504307]of Object[_0x18470c(0x654)](_0x3e8f2a)){if(_0x504307[_0x18470c(0x411)]!==t[_0x18470c(0x299)][_0x18470c(0x4aa)])continue;let {transform:_0x5bc2ec}=_0x504307;if(!_0x5bc2ec)continue;let {left:_0x53fd9c=0x0,top:_0x4e1424=0x0,width:_0x5abd00=0x0,height:_0x40ab15=0x0}=_0x5bc2ec;_0x4a9bec<=_0x53fd9c&&_0xd9ef87>=_0x53fd9c+_0x5abd00&&_0xe7cfa<=_0x4e1424&&_0x2f2a79>=_0x4e1424+_0x40ab15&&_0x50a8ff[_0x18470c(0x4d7)](_0x504307);}_0x50a8ff[_0x18470c(0x644)]>0x0&&(this[_0x18470c(0x32b)]={'unitId':_0x36cf25,'subUnitId':_0x143ed7,'copyType':_0x4f321b,'copyRange':_0x363282,'drawings':_0x50a8ff});}[_0x5d1961(0x1d1)](_0x4ff7a4,_0x28c6c7){const _0x333b52=_0x5d1961;let {unitId:_0x2bc7b5,subUnitId:_0xe592ad,range:_0x593006}=_0x4ff7a4,_0x3bcbe0=this[_0x333b52(0x4bc)][_0x333b52(0x401)](_0x2bc7b5,_0xe592ad);if(!_0x3bcbe0)return{'redos':[],'undos':[]};let _0x1bc677=(0x0,g['discreteRangeToRange'])(_0x593006),{unitId:_0x4f6416,subUnitId:_0xe345f1,copyRange:_0x3ba8f9,drawings:_0x41c382}=this[_0x333b52(0x32b)],_0x20f7e9=this[_0x333b52(0x4bc)]['getSkeleton'](_0x4f6416,_0xe345f1);if(!_0x20f7e9)return{'redos':[],'undos':[]};let _0x564f3a=[],_0x1f4bad=[];for(let _0x5b9bc3 of _0x41c382){let {drawingId:_0x1f90cd,transform:_0x110f6a,sheetTransform:_0x15f167}=_0x5b9bc3,_0x44fabc=this[_0x333b52(0x231)][_0x333b52(0x645)](_0x1f90cd);if(!_0x44fabc||!_0x110f6a||!_0x15f167)continue;let _0x15e08f=this[_0x333b52(0x5cb)]({'transform':_0x110f6a,'sheetTransform':_0x15f167},{'skeleton':_0x20f7e9,'range':_0x3ba8f9},{'skeleton':_0x3bcbe0,'range':_0x1bc677});if(_0x28c6c7){let {redos:_0x24ec09,undos:_0x4f5bdf}=this['_generateCutPasteMutations']({'fromUnitId':_0x4f6416,'fromSubUnitId':_0xe345f1,'toUnitId':_0x2bc7b5,'toSubUnitId':_0xe592ad,'drawing':_0x5b9bc3,'newTransforms':_0x15e08f},_0x44fabc);_0x564f3a[_0x333b52(0x4d7)](..._0x24ec09),_0x1f4bad[_0x333b52(0x4d7)](..._0x4f5bdf);continue;}let {redos:_0x41cd72,undos:_0x2ccd33}=this['_generateCopyPasteMutations']({'toUnitId':_0x2bc7b5,'toSubUnitId':_0xe592ad,'drawing':_0x5b9bc3,'newTransforms':_0x15e08f},_0x44fabc);_0x564f3a['push'](..._0x41cd72),_0x1f4bad['push'](..._0x2ccd33);}return{'redos':_0x564f3a,'undos':_0x1f4bad};}[_0x5d1961(0x3a5)](_0x4c2f03,_0x7bb523){const _0x4b5887=_0x5d1961;let {fromUnitId:_0x1e548f,fromSubUnitId:_0x459723,toUnitId:_0x508d70,toSubUnitId:_0x445735,drawing:_0x2175d9,newTransforms:_0x12b555}=_0x4c2f03,_0x5906b0={..._0x2175d9,'unitId':_0x508d70,'subUnitId':_0x445735,'transform':_0x12b555[_0x4b5887(0x459)],'sheetTransform':_0x12b555[_0x4b5887(0x575)]};if(_0x508d70===_0x1e548f&&_0x445735===_0x459723){let {redo:_0x25e3ca,undo:_0x357807,objects:_0x4fa673}=this[_0x4b5887(0x2f4)][_0x4b5887(0x4ce)]([_0x5906b0]);return{'redos':[{'id':i[_0x4b5887(0x43c)]['id'],'params':{'unitId':_0x508d70,'subUnitId':_0x445735,'type':i[_0x4b5887(0x253)][_0x4b5887(0x2c6)],'op':_0x25e3ca,'objects':_0x4fa673}}],'undos':[{'id':i[_0x4b5887(0x43c)]['id'],'params':{'unitId':_0x508d70,'subUnitId':_0x445735,'type':i['DrawingApplyType']['UPDATE'],'op':_0x357807,'objects':_0x4fa673}}]};}else{let _0x2d5a5b=this[_0x4b5887(0x2f4)][_0x4b5887(0x1fd)]([_0x2175d9]),_0x395d78=this[_0x4b5887(0x2f4)][_0x4b5887(0x33d)]([_0x5906b0]),{rangeInfo:_0x487d45,isRowDirection:_0x29ad2f}=_0x7bb523[_0x4b5887(0x574)]['getRangeInfo']();return{'redos':[{'id':i[_0x4b5887(0x43c)]['id'],'params':{'unitId':_0x1e548f,'subUnitId':_0x459723,'type':i[_0x4b5887(0x253)]['REMOVE'],'op':_0x2d5a5b[_0x4b5887(0x1ea)],'objects':_0x2d5a5b[_0x4b5887(0x608)]}},{'id':e[_0x4b5887(0x3a8)]['id'],'params':{'unitId':_0x1e548f,'subUnitId':_0x459723,'chartId':_0x2175d9[_0x4b5887(0x601)]}},{'id':i[_0x4b5887(0x43c)]['id'],'params':{'unitId':_0x508d70,'subUnitId':_0x445735,'type':i[_0x4b5887(0x253)][_0x4b5887(0x229)],'op':_0x395d78[_0x4b5887(0x1ea)],'objects':_0x395d78['objects']}},{'id':e[_0x4b5887(0x2ef)]['id'],'params':{'unitId':_0x508d70,'subUnitId':_0x445735,'chartId':_0x2175d9[_0x4b5887(0x601)],'chartType':_0x7bb523['chartType'],'range':_0x487d45[_0x4b5887(0x476)],'rangeUnitId':_0x487d45[_0x4b5887(0x273)],'rangeSubUnitId':_0x487d45[_0x4b5887(0x28d)],'isRowDirection':_0x29ad2f}}],'undos':[{'id':i['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1e548f,'subUnitId':_0x459723,'type':i[_0x4b5887(0x253)][_0x4b5887(0x229)],'op':_0x2d5a5b[_0x4b5887(0x285)],'objects':_0x2d5a5b[_0x4b5887(0x608)]}},{'id':e[_0x4b5887(0x2ef)]['id'],'params':{'unitId':_0x1e548f,'subUnitId':_0x459723,'chartId':_0x2175d9[_0x4b5887(0x601)],'chartType':_0x7bb523[_0x4b5887(0x4e6)],'range':_0x487d45[_0x4b5887(0x476)],'rangeUnitId':_0x487d45[_0x4b5887(0x273)],'rangeSubUnitId':_0x487d45[_0x4b5887(0x28d)],'isRowDirection':_0x29ad2f}},{'id':i['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x508d70,'subUnitId':_0x445735,'type':i['DrawingApplyType'][_0x4b5887(0x450)],'op':_0x395d78[_0x4b5887(0x285)],'objects':_0x395d78[_0x4b5887(0x608)]}},{'id':e[_0x4b5887(0x3a8)]['id'],'params':{'unitId':_0x508d70,'subUnitId':_0x445735,'chartId':_0x2175d9[_0x4b5887(0x601)]}}]};}}[_0x5d1961(0x4ec)](_0x183997,_0x52acaf){const _0x45cbd3=_0x5d1961;let {toUnitId:_0xf7f2f7,toSubUnitId:_0x25096c,drawing:_0x3ea101,newTransforms:_0x25d068}=_0x183997,_0x3a3fa8=(0x0,t[_0x45cbd3(0x2ec)])(),_0x390035={..._0x3ea101,'unitId':_0xf7f2f7,'subUnitId':_0x25096c,'drawingId':_0x3a3fa8,'transform':_0x25d068[_0x45cbd3(0x459)],'sheetTransform':_0x25d068[_0x45cbd3(0x575)]},{redo:_0x10b37a,undo:_0x2269e9,objects:_0x1cbfe7}=this[_0x45cbd3(0x2f4)][_0x45cbd3(0x33d)]([_0x390035]),{rangeInfo:_0x28f323,isRowDirection:_0x1f4541}=_0x52acaf[_0x45cbd3(0x574)]['getRangeInfo']();return{'redos':[{'id':i[_0x45cbd3(0x43c)]['id'],'params':{'unitId':_0xf7f2f7,'subUnitId':_0x25096c,'type':i[_0x45cbd3(0x253)]['INSERT'],'op':_0x10b37a,'objects':_0x1cbfe7}},{'id':e[_0x45cbd3(0x2ef)]['id'],'params':{'unitId':_0xf7f2f7,'subUnitId':_0x25096c,'chartId':_0x3a3fa8,'chartType':_0x52acaf[_0x45cbd3(0x4e6)],'range':_0x28f323[_0x45cbd3(0x476)],'rangeUnitId':_0x28f323[_0x45cbd3(0x273)],'rangeSubUnitId':_0x28f323[_0x45cbd3(0x28d)],'isRowDirection':_0x1f4541}}],'undos':[{'id':i[_0x45cbd3(0x43c)]['id'],'params':{'unitId':_0xf7f2f7,'subUnitId':_0x25096c,'type':i[_0x45cbd3(0x253)][_0x45cbd3(0x450)],'op':_0x2269e9,'objects':_0x1cbfe7}},{'id':e[_0x45cbd3(0x3a8)]['id'],'params':{'unitId':_0xf7f2f7,'subUnitId':_0x25096c,'chartId':_0x3a3fa8}}]};}['_updateTransform'](_0x595546,_0x3bde33,_0xe9b080){const _0x19d051=_0x5d1961;var _0x109167;let {range:_0x18541d,skeleton:_0x1546f2}=_0x3bde33,{range:_0x4d4867,skeleton:_0x23b259}=_0xe9b080,{transform:_0x182ed1,sheetTransform:_0x4d6d2c}=_0x595546,_0x56f50d={..._0x182ed1};if(_0x18541d){let _0x71b3c4=(0x0,g[_0x19d051(0x5b0)])(_0x1546f2,_0x18541d),_0x199cc0=(0x0,g['attachRangeWithCoord'])(_0x23b259,_0x4d4867);if(_0x71b3c4&&_0x199cc0){var _0x26497d,_0x43897d;let _0x4f8704=_0x199cc0[_0x19d051(0x267)]-_0x71b3c4['startX'],_0x284609=_0x199cc0['startY']-_0x71b3c4[_0x19d051(0x541)];_0x56f50d[_0x19d051(0x424)]=((_0x26497d=_0x56f50d[_0x19d051(0x424)])==null?0x0:_0x26497d)+_0x4f8704,_0x56f50d[_0x19d051(0x648)]=((_0x43897d=_0x56f50d[_0x19d051(0x648)])==null?0x0:_0x43897d)+_0x284609;}}else{let _0x3792e4=(0x0,g['attachRangeWithCoord'])(_0x23b259,_0x4d4867);_0x56f50d[_0x19d051(0x424)]=_0x3792e4==null?void 0x0:_0x3792e4[_0x19d051(0x267)],_0x56f50d[_0x19d051(0x648)]=_0x3792e4==null?void 0x0:_0x3792e4['startY'];}return{'transform':_0x56f50d,'sheetTransform':(_0x109167=(0x0,i[_0x19d051(0x1d2)])(_0x56f50d,_0x23b259))==null?_0x4d6d2c:_0x109167};}};tn=w([C(0x0,(0x0,t[_0x5d1961(0x4e8)])(g[_0x5d1961(0x38d)])),C(0x1,(0x0,t[_0x5d1961(0x4e8)])(a[_0x5d1961(0x5f2)])),C(0x2,(0x0,t['Inject'])(i[_0x5d1961(0x4c1)])),C(0x3,(0x0,t['Inject'])(e[_0x5d1961(0x3f5)]))],tn),window[_0x5d1961(0x25f)]||(window['setImmediate']=(function(){const _0x1cb75a=_0x5d1961;return window[_0x1cb75a(0x35b)]||window[_0x1cb75a(0x488)]||window['mozSetImmediate']||window['oSetImmediate']||(function(){const _0x40b56e=_0x1cb75a;if(!window['postMessage']||!window['addEventListener'])return null;let _0x240c06=[void 0x0],_0x57f86d='zero-timeout-message',_0x49150c=function(_0x1fdc00){const _0x29cc73=_0x484a;let _0x177771=_0x240c06[_0x29cc73(0x644)];return _0x240c06[_0x29cc73(0x4d7)](_0x1fdc00),window[_0x29cc73(0x4cc)](_0x57f86d+_0x177771['toString'](0x24),'*'),_0x177771;};return window[_0x40b56e(0x3d9)](_0x40b56e(0x566),function(_0x341724){const _0x5b4d67=_0x40b56e;if(typeof _0x341724[_0x5b4d67(0x378)]!=_0x5b4d67(0x3e1)||_0x341724[_0x5b4d67(0x378)][_0x5b4d67(0x302)](0x0,0x14)!==_0x57f86d)return;_0x341724[_0x5b4d67(0x2e3)]();let _0x56373c=Number[_0x5b4d67(0x569)](_0x341724[_0x5b4d67(0x378)][_0x5b4d67(0x302)](0x14),0x24);_0x240c06[_0x56373c]&&(_0x240c06[_0x56373c](),_0x240c06[_0x56373c]=void 0x0);},!0x0),window[_0x40b56e(0x32f)]=function(_0x1ca702){_0x240c06[_0x1ca702]&&(_0x240c06[_0x1ca702]=void 0x0);},_0x49150c;}())||function(_0x3e1fec){const _0x260e05=_0x1cb75a;window[_0x260e05(0x5e9)](_0x3e1fec,0x0);};}())),window[_0x5d1961(0x32f)]||(window['clearImmediate']=(function(){const _0x1f4581=_0x5d1961;return window[_0x1f4581(0x638)]||window[_0x1f4581(0x453)]||window[_0x1f4581(0x40f)]||window[_0x1f4581(0x1be)]||function(_0x13072d){const _0x1d04df=_0x1f4581;window[_0x1d04df(0x202)](_0x13072d);};}()));const nn=(function(){const _0xe69047=_0x5d1961;let _0x4b4e4d=document['createElement']('canvas');if(!_0x4b4e4d||!_0x4b4e4d[_0xe69047(0x246)])return!0x1;let _0x5e71aa=_0x4b4e4d[_0xe69047(0x246)]('2d');return!(!_0x5e71aa||!_0x5e71aa[_0xe69047(0x22e)]||!_0x5e71aa[_0xe69047(0x489)]||!Array[_0xe69047(0x53e)][_0xe69047(0x43f)]||!Array['prototype'][_0xe69047(0x4d7)]);}()),rn=(function(){const _0x5bc40e=_0x5d1961;if(!nn)return;let _0x154175=document[_0x5bc40e(0x45e)](_0x5bc40e(0x634))[_0x5bc40e(0x246)]('2d'),_0x27683d=0x14,_0x504609,_0x1910c9;for(;_0x27683d;){if(_0x154175[_0x5bc40e(0x366)]=_0x27683d[_0x5bc40e(0x27b)](0xa)+_0x5bc40e(0x5a5),_0x154175[_0x5bc40e(0x557)]('W')['width']===_0x504609&&_0x154175[_0x5bc40e(0x557)]('m')['width']===_0x1910c9)return _0x27683d+0x1;_0x504609=_0x154175[_0x5bc40e(0x557)]('W')[_0x5bc40e(0x640)],_0x1910c9=_0x154175[_0x5bc40e(0x557)]('m')[_0x5bc40e(0x640)],_0x27683d--;}return 0x0;}()),an=function(_0x29f6d6){const _0x5822e6=_0x5d1961;if(Array[_0x5822e6(0x2be)](_0x29f6d6)){let _0xbb06c8=_0x29f6d6[_0x5822e6(0x272)]();return _0xbb06c8[_0x5822e6(0x5e2)](0x0,0x2),_0xbb06c8;}else return[];},on=function(_0x2155ca){const _0x5bbbfa=_0x5d1961;for(let _0xeb4d8f,_0x12994b,_0x410218=_0x2155ca['length'];_0x410218;)_0xeb4d8f=Math[_0x5bbbfa(0x62b)](Math['random']()*_0x410218),_0x12994b=_0x2155ca[--_0x410218],_0x2155ca[_0x410218]=_0x2155ca[_0xeb4d8f],_0x2155ca[_0xeb4d8f]=_0x12994b;return _0x2155ca;},sn={},cn=function(_0x30fe84,_0x409c4f){const _0x527653=_0x5d1961;if(!nn)return;let _0x5a1b4f=Math[_0x527653(0x62b)](Math['random']()*Date['now']());Array[_0x527653(0x2be)](_0x30fe84)||(_0x30fe84=[_0x30fe84]),_0x30fe84[_0x527653(0x50c)](function(_0x25d3b0,_0x525980){const _0x218703=_0x527653;if(typeof _0x25d3b0==_0x218703(0x3e1)){if(_0x30fe84[_0x525980]=document[_0x218703(0x3db)](_0x25d3b0),!_0x30fe84[_0x525980])throw Error(_0x218703(0x60c));}else{if(!_0x25d3b0['tagName']&&!_0x25d3b0[_0x218703(0x208)])throw Error(_0x218703(0x23e));}});let _0x4ca020={'list':[],'fontFamily':_0x527653(0x3fa),'fontWeight':_0x527653(0x32e),'color':_0x527653(0x313),'minSize':0x0,'weightFactor':0x1,'clearCanvas':!0x0,'backgroundColor':_0x527653(0x651),'gridSize':0x8,'drawOutOfBound':!0x1,'shrinkToFit':!0x1,'origin':null,'drawMask':!0x1,'maskColor':_0x527653(0x28b),'maskGapWidth':0.3,'layoutAnimation':!0x0,'wait':0x0,'abortThreshold':0x0,'abort':function(){},'minRotation':-Math['PI']/0x2,'maxRotation':Math['PI']/0x2,'rotationStep':0.1,'shuffle':!0x0,'rotateRatio':0.1,'shape':'circle','ellipticity':0.65,'classes':null,'hover':null,'click':null};if(_0x409c4f){for(let _0x4ff148 in _0x409c4f)_0x4ff148 in _0x4ca020&&(_0x4ca020[_0x4ff148]=_0x409c4f[_0x4ff148]);}if(typeof _0x4ca020[_0x527653(0x3ef)]!=_0x527653(0x5e6)){let _0x31d8d7=_0x4ca020[_0x527653(0x3ef)];_0x4ca020['weightFactor']=function(_0x2ea902){return _0x2ea902*_0x31d8d7;};}if(typeof _0x4ca020[_0x527653(0x4af)]!=_0x527653(0x5e6))switch(_0x4ca020[_0x527653(0x4af)]){case'cardioid':_0x4ca020[_0x527653(0x4af)]=function(_0x2ce165){const _0x108689=_0x527653;return 0x1-Math[_0x108689(0x34a)](_0x2ce165);};break;case'diamond':_0x4ca020[_0x527653(0x4af)]=function(_0x1ef815){const _0x493dfb=_0x527653;let _0x1beaf1=_0x1ef815%(0x2*Math['PI']/0x4);return 0x1/(Math[_0x493dfb(0x260)](_0x1beaf1)+Math[_0x493dfb(0x34a)](_0x1beaf1));};break;case _0x527653(0x3ea):_0x4ca020[_0x527653(0x4af)]=function(_0x9d4d77){const _0x1e36d7=_0x527653;return Math['min'](0x1/Math['abs'](Math[_0x1e36d7(0x260)](_0x9d4d77)),0x1/Math[_0x1e36d7(0x27c)](Math[_0x1e36d7(0x34a)](_0x9d4d77)));};break;case _0x527653(0x2c1):_0x4ca020[_0x527653(0x4af)]=function(_0x3157d7){const _0x2e1211=_0x527653;let _0x259485=_0x3157d7%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x2e1211(0x260)](_0x259485)+Math[_0x2e1211(0x45f)](0x3)*Math['sin'](_0x259485));};break;case _0x527653(0x598):case _0x527653(0x21d):_0x4ca020[_0x527653(0x4af)]=function(_0x2243fe){const _0x5b8ece=_0x527653;let _0x93cb7e=(_0x2243fe+Math['PI']*0x3/0x2)%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x5b8ece(0x260)](_0x93cb7e)+Math[_0x5b8ece(0x45f)](0x3)*Math[_0x5b8ece(0x34a)](_0x93cb7e));};break;case _0x527653(0x210):_0x4ca020['shape']=function(_0x593bdb){const _0x5bbc01=_0x527653;let _0x2e78e7=(_0x593bdb+0.955)%(0x2*Math['PI']/0x5);return 0x1/(Math['cos'](_0x2e78e7)+0.726543*Math[_0x5bbc01(0x34a)](_0x2e78e7));};break;case _0x527653(0x5a0):_0x4ca020[_0x527653(0x4af)]=function(_0x4a858b){const _0x17cf8d=_0x527653;let _0x2bfb82=(_0x4a858b+0.955)%(0x2*Math['PI']/0xa);return(_0x4a858b+0.955)%(0x2*Math['PI']/0x5)-0x2*Math['PI']/0xa>=0x0?0x1/(Math['cos'](0x2*Math['PI']/0xa-_0x2bfb82)+3.07768*Math['sin'](0x2*Math['PI']/0xa-_0x2bfb82)):0x1/(Math[_0x17cf8d(0x260)](_0x2bfb82)+3.07768*Math['sin'](_0x2bfb82));};break;default:_0x4ca020['shape']='circle';break;}_0x4ca020[_0x527653(0x3cc)]=Math[_0x527653(0x248)](Math[_0x527653(0x62b)](_0x4ca020[_0x527653(0x3cc)]),0x4);let _0x4d7102=_0x4ca020[_0x527653(0x3cc)],_0x35d8c7=_0x4d7102-_0x4ca020[_0x527653(0x463)],_0x3ec019=Math[_0x527653(0x27c)](_0x4ca020[_0x527653(0x419)]-_0x4ca020[_0x527653(0x4a7)]),_0x1bb2ed=Math['min'](_0x4ca020['maxRotation'],_0x4ca020[_0x527653(0x4a7)]),_0x325f37=_0x4ca020[_0x527653(0x21b)],_0x4dd32d,_0x31af7e,_0x4ac45d,_0x5eb9b8,_0xb80447,_0x440176,_0x387bf3;function _0x4829db(_0x1667da,_0x26774a){const _0x478fe2=_0x527653;return'hsl('+(Math[_0x478fe2(0x484)]()*0x168)[_0x478fe2(0x2d4)]()+','+(Math['random']()*0x1e+0x46)[_0x478fe2(0x2d4)]()+'%,'+(Math[_0x478fe2(0x484)]()*(_0x26774a-_0x1667da)+_0x1667da)[_0x478fe2(0x2d4)]()+'%)';}switch(_0x4ca020['color']){case _0x527653(0x313):_0x387bf3=function(){return _0x4829db(0xa,0x32);};break;case'random-light':_0x387bf3=function(){return _0x4829db(0x32,0x5a);};break;default:typeof _0x4ca020['color']==_0x527653(0x5e6)&&(_0x387bf3=_0x4ca020['color']);break;}let _0x36948e;typeof _0x4ca020[_0x527653(0x38f)]==_0x527653(0x5e6)&&(_0x36948e=_0x4ca020['fontWeight']);let _0x5a8fce=null;typeof _0x4ca020['classes']==_0x527653(0x5e6)&&(_0x5a8fce=_0x4ca020[_0x527653(0x327)]);let _0x59917a=!0x1,_0x302101=[],_0x399d71,_0x1789b0=function(_0x15a91f){const _0xcb1d8f=_0x527653;let _0x3f6132=_0x15a91f[_0xcb1d8f(0x5cc)],_0x1aa0ed=_0x3f6132[_0xcb1d8f(0x2bb)](),_0x510c93,_0x34e484;_0x15a91f[_0xcb1d8f(0x490)]?(_0x510c93=_0x15a91f[_0xcb1d8f(0x490)][0x0][_0xcb1d8f(0x37f)],_0x34e484=_0x15a91f[_0xcb1d8f(0x490)][0x0][_0xcb1d8f(0x275)]):(_0x510c93=_0x15a91f[_0xcb1d8f(0x37f)],_0x34e484=_0x15a91f[_0xcb1d8f(0x275)]);let _0x5cc461=_0x510c93-_0x1aa0ed[_0xcb1d8f(0x424)],_0x5ec0f9=_0x34e484-_0x1aa0ed['top'],_0x454e36=Math['floor'](_0x5cc461*(_0x3f6132[_0xcb1d8f(0x640)]/_0x1aa0ed[_0xcb1d8f(0x640)]||0x1)/_0x4d7102),_0x5a83e3=Math[_0xcb1d8f(0x62b)](_0x5ec0f9*(_0x3f6132[_0xcb1d8f(0x283)]/_0x1aa0ed[_0xcb1d8f(0x283)]||0x1)/_0x4d7102);return _0x302101[_0x454e36]?_0x302101[_0x454e36][_0x5a83e3]:null;},_0x2dcbb8=function(_0x50d799){const _0x8ac756=_0x527653;let _0x163529=_0x1789b0(_0x50d799);if(_0x399d71!==_0x163529){if(_0x399d71=_0x163529,!_0x163529){_0x4ca020[_0x8ac756(0x4c5)](void 0x0,void 0x0,_0x50d799);return;}_0x4ca020[_0x8ac756(0x4c5)](_0x163529[_0x8ac756(0x425)],_0x163529[_0x8ac756(0x50f)],_0x50d799);}},_0x227f41=function(_0xecc214){const _0x24b9e0=_0x527653;let _0x35adf2=_0x1789b0(_0xecc214);_0x35adf2&&(_0x4ca020[_0x24b9e0(0x59e)](_0x35adf2['item'],_0x35adf2[_0x24b9e0(0x50f)],_0xecc214),_0xecc214[_0x24b9e0(0x24c)]());},_0x4834d1=[],_0x40c052=function(_0x3b8f7d){const _0x22ce0e=_0x527653;if(_0x4834d1[_0x3b8f7d])return _0x4834d1[_0x3b8f7d];let _0x1f210a=_0x3b8f7d*0x8,_0x229c2e=_0x1f210a,_0x16e2bc=[];for(_0x3b8f7d===0x0&&_0x16e2bc[_0x22ce0e(0x4d7)]([_0x5eb9b8[0x0],_0x5eb9b8[0x1],0x0]);_0x229c2e--;){let _0x23c33d=0x1;_0x4ca020[_0x22ce0e(0x4af)]!=='circle'&&(_0x23c33d=_0x4ca020[_0x22ce0e(0x4af)](_0x229c2e/_0x1f210a*0x2*Math['PI'])),_0x16e2bc[_0x22ce0e(0x4d7)]([_0x5eb9b8[0x0]+_0x3b8f7d*_0x23c33d*Math[_0x22ce0e(0x260)](-_0x229c2e/_0x1f210a*0x2*Math['PI']),_0x5eb9b8[0x1]+_0x3b8f7d*_0x23c33d*Math[_0x22ce0e(0x34a)](-_0x229c2e/_0x1f210a*0x2*Math['PI'])*_0x4ca020['ellipticity'],_0x229c2e/_0x1f210a*0x2*Math['PI']]);}return _0x4834d1[_0x3b8f7d]=_0x16e2bc,_0x16e2bc;},_0x25bbf5=function(){const _0x51f1c1=_0x527653;return _0x4ca020['abortThreshold']>0x0&&new Date()[_0x51f1c1(0x4c0)]()-_0x440176>_0x4ca020['abortThreshold'];},_0x5eec5f=function(){const _0x3569f7=_0x527653;return _0x4ca020[_0x3569f7(0x25e)]===0x0||Math[_0x3569f7(0x484)]()>_0x4ca020[_0x3569f7(0x25e)]?0x0:_0x3ec019===0x0?_0x1bb2ed:_0x1bb2ed+Math[_0x3569f7(0x1f5)](Math['random']()*_0x3ec019/_0x325f37)*_0x325f37;},_0x1685a=function(_0x62ab3a,_0x15e9d8,_0x29d935,_0x13f4a0){const _0x5b1c42=_0x527653;let _0x1ba768=_0x4ca020[_0x5b1c42(0x3ef)](_0x15e9d8);if(_0x1ba768<=_0x4ca020['minSize'])return!0x1;let _0x224391=0x1;_0x1ba768<rn&&(_0x224391=(function(){let _0x5722e8=0x2;for(;_0x5722e8*_0x1ba768<rn;)_0x5722e8+=0x2;return _0x5722e8;}()));let _0x6e9d53;_0x6e9d53=_0x36948e?_0x36948e(_0x62ab3a,_0x15e9d8,_0x1ba768,_0x13f4a0):_0x4ca020['fontWeight'];let _0x48c9e1=document[_0x5b1c42(0x45e)](_0x5b1c42(0x634)),_0x104c79=_0x48c9e1[_0x5b1c42(0x246)]('2d',{'willReadFrequently':!0x0});_0x104c79['font']=_0x6e9d53+'\x20'+(_0x1ba768*_0x224391)[_0x5b1c42(0x27b)](0xa)+_0x5b1c42(0x469)+_0x4ca020[_0x5b1c42(0x49e)];let _0x30e8cb=_0x104c79[_0x5b1c42(0x557)](_0x62ab3a)[_0x5b1c42(0x640)]/_0x224391,_0x5bafaf=Math[_0x5b1c42(0x248)](_0x1ba768*_0x224391,_0x104c79[_0x5b1c42(0x557)]('m')['width'],_0x104c79[_0x5b1c42(0x557)]('W')[_0x5b1c42(0x640)])/_0x224391,_0x1fd515=_0x30e8cb+_0x5bafaf*0x2,_0x43871a=_0x5bafaf*0x3,_0x440b3e=Math[_0x5b1c42(0x40b)](_0x1fd515/_0x4d7102),_0x56ab11=Math[_0x5b1c42(0x40b)](_0x43871a/_0x4d7102);_0x1fd515=_0x440b3e*_0x4d7102,_0x43871a=_0x56ab11*_0x4d7102;let _0x2a4c4c=-_0x30e8cb/0x2,_0x1ce20a=-_0x5bafaf*0.4,_0x232d38=Math[_0x5b1c42(0x40b)]((_0x1fd515*Math['abs'](Math[_0x5b1c42(0x34a)](_0x29d935))+_0x43871a*Math[_0x5b1c42(0x27c)](Math[_0x5b1c42(0x260)](_0x29d935)))/_0x4d7102),_0x344eea=Math['ceil']((_0x1fd515*Math[_0x5b1c42(0x27c)](Math[_0x5b1c42(0x260)](_0x29d935))+_0x43871a*Math[_0x5b1c42(0x27c)](Math[_0x5b1c42(0x34a)](_0x29d935)))/_0x4d7102),_0x2ade37=_0x344eea*_0x4d7102,_0x57f335=_0x232d38*_0x4d7102;_0x48c9e1[_0x5b1c42(0x3c4)](_0x5b1c42(0x640),_0x2ade37),_0x48c9e1[_0x5b1c42(0x3c4)](_0x5b1c42(0x283),_0x57f335),_0x104c79[_0x5b1c42(0x26d)](0x1/_0x224391,0x1/_0x224391),_0x104c79[_0x5b1c42(0x454)](_0x2ade37*_0x224391/0x2,_0x57f335*_0x224391/0x2),_0x104c79[_0x5b1c42(0x314)](-_0x29d935),_0x104c79['font']=_0x6e9d53+'\x20'+(_0x1ba768*_0x224391)[_0x5b1c42(0x27b)](0xa)+_0x5b1c42(0x469)+_0x4ca020[_0x5b1c42(0x49e)],_0x104c79['fillStyle']=_0x5b1c42(0x592),_0x104c79['textBaseline']=_0x5b1c42(0x5c3),_0x104c79[_0x5b1c42(0x489)](_0x62ab3a,_0x2a4c4c*_0x224391,(_0x1ce20a+_0x1ba768*0.5)*_0x224391);let _0x102eb4=_0x104c79[_0x5b1c42(0x22e)](0x0,0x0,_0x2ade37,_0x57f335)[_0x5b1c42(0x378)];if(_0x25bbf5())return!0x1;let _0x1d7c0f=[],_0xe13e86=_0x344eea,_0x35f6f4,_0x3e73a5,_0x3dcccf,_0xfe2d21=[_0x232d38/0x2,_0x344eea/0x2,_0x232d38/0x2,_0x344eea/0x2];for(;_0xe13e86--;)for(_0x35f6f4=_0x232d38;_0x35f6f4--;){_0x3dcccf=_0x4d7102;_0x3a36a8:for(;_0x3dcccf--;)for(_0x3e73a5=_0x4d7102;_0x3e73a5--;)if(_0x102eb4[((_0x35f6f4*_0x4d7102+_0x3dcccf)*_0x2ade37+(_0xe13e86*_0x4d7102+_0x3e73a5))*0x4+0x3]){_0x1d7c0f['push']([_0xe13e86,_0x35f6f4]),_0xe13e86<_0xfe2d21[0x3]&&(_0xfe2d21[0x3]=_0xe13e86),_0xe13e86>_0xfe2d21[0x1]&&(_0xfe2d21[0x1]=_0xe13e86),_0x35f6f4<_0xfe2d21[0x0]&&(_0xfe2d21[0x0]=_0x35f6f4),_0x35f6f4>_0xfe2d21[0x2]&&(_0xfe2d21[0x2]=_0x35f6f4);break _0x3a36a8;}}return{'mu':_0x224391,'occupied':_0x1d7c0f,'bounds':_0xfe2d21,'gw':_0x344eea,'gh':_0x232d38,'fillTextOffsetX':_0x2a4c4c,'fillTextOffsetY':_0x1ce20a,'fillTextWidth':_0x30e8cb,'fillTextHeight':_0x5bafaf,'fontSize':_0x1ba768};},_0x405504=function(_0x71c6d,_0x122515,_0x46e0c7,_0x471dc1,_0x2e57ae){const _0x1ee25b=_0x527653;let _0x4aa71a=_0x2e57ae['length'];for(;_0x4aa71a--;){let _0x468b0e=_0x71c6d+_0x2e57ae[_0x4aa71a][0x0],_0x59f535=_0x122515+_0x2e57ae[_0x4aa71a][0x1];if(_0x468b0e>=_0x31af7e||_0x59f535>=_0x4ac45d||_0x468b0e<0x0||_0x59f535<0x0){if(!_0x4ca020[_0x1ee25b(0x240)])return!0x1;continue;}if(!_0x4dd32d[_0x468b0e][_0x59f535])return!0x1;}return!0x0;},_0x10e8ed=function(_0x35ff5e,_0x1a4ad2,_0x35340f,_0x1cc0af,_0x20b1e3,_0x4a4e87,_0x45f15e,_0x1e2aac,_0x511a12,_0x42afbe){const _0x415eac=_0x527653;let _0x424df1=_0x35340f[_0x415eac(0x479)],_0x2a416d;_0x2a416d=_0x387bf3?_0x387bf3(_0x1cc0af,_0x20b1e3,_0x424df1,_0x4a4e87,_0x45f15e,_0x42afbe):_0x4ca020[_0x415eac(0x63b)];let _0x47c8f0;_0x47c8f0=_0x36948e?_0x36948e(_0x1cc0af,_0x20b1e3,_0x424df1,_0x42afbe):_0x4ca020[_0x415eac(0x38f)];let _0x5519a6;_0x5519a6=_0x5a8fce?_0x5a8fce(_0x1cc0af,_0x20b1e3,_0x424df1,_0x42afbe):_0x4ca020[_0x415eac(0x327)],_0x30fe84['forEach'](function(_0xf17835){const _0x294c8e=_0x415eac;if(_0xf17835[_0x294c8e(0x246)]){let _0x533a60=_0xf17835[_0x294c8e(0x246)]('2d'),_0x135f0a=_0x35340f['mu'];_0x533a60[_0x294c8e(0x4db)](),_0x533a60[_0x294c8e(0x26d)](0x1/_0x135f0a,0x1/_0x135f0a),_0x533a60[_0x294c8e(0x366)]=_0x47c8f0+'\x20'+(_0x424df1*_0x135f0a)[_0x294c8e(0x27b)](0xa)+_0x294c8e(0x469)+_0x4ca020[_0x294c8e(0x49e)],_0x533a60[_0x294c8e(0x509)]=_0x2a416d,_0x533a60[_0x294c8e(0x454)]((_0x35ff5e+_0x35340f['gw']/0x2)*_0x4d7102*_0x135f0a,(_0x1a4ad2+_0x35340f['gh']/0x2)*_0x4d7102*_0x135f0a),_0x1e2aac!==0x0&&_0x533a60[_0x294c8e(0x314)](-_0x1e2aac),_0x533a60[_0x294c8e(0x357)]='middle',_0x533a60[_0x294c8e(0x489)](_0x1cc0af,_0x35340f['fillTextOffsetX']*_0x135f0a,(_0x35340f[_0x294c8e(0x5ed)]+_0x424df1*0.5)*_0x135f0a),_0x533a60[_0x294c8e(0x5ca)]();}else{let _0x3f3125=document[_0x294c8e(0x45e)](_0x294c8e(0x39c)),_0x22fcb0='';_0x22fcb0=_0x294c8e(0x570)+-_0x1e2aac/Math['PI']*0xb4+_0x294c8e(0x1d6),_0x35340f['mu']!==0x1&&(_0x22fcb0+='translateX(-'+_0x35340f[_0x294c8e(0x2b9)]/0x4+_0x294c8e(0x351)+0x1/_0x35340f['mu']+')');let _0x223c94={'position':'absolute','display':_0x294c8e(0x5f6),'font':_0x47c8f0+'\x20'+_0x424df1*_0x35340f['mu']+'px\x20'+_0x4ca020[_0x294c8e(0x49e)],'left':(_0x35ff5e+_0x35340f['gw']/0x2)*_0x4d7102+_0x35340f['fillTextOffsetX']+'px','top':(_0x1a4ad2+_0x35340f['gh']/0x2)*_0x4d7102+_0x35340f[_0x294c8e(0x5ed)]+'px','width':_0x35340f[_0x294c8e(0x2b9)]+'px','height':_0x35340f[_0x294c8e(0x542)]+'px','lineHeight':_0x424df1+'px','whiteSpace':_0x294c8e(0x504),'transform':_0x22fcb0,'webkitTransform':_0x22fcb0,'msTransform':_0x22fcb0,'transformOrigin':_0x294c8e(0x652),'webkitTransformOrigin':_0x294c8e(0x652),'msTransformOrigin':_0x294c8e(0x652)};_0x2a416d&&(_0x223c94['color']=_0x2a416d),_0x3f3125[_0x294c8e(0x1c3)]=_0x1cc0af;for(let _0x4d8863 in _0x223c94)_0x3f3125[_0x294c8e(0x4fa)][_0x4d8863]=_0x223c94[_0x4d8863];if(_0x511a12){for(let _0x16116f in _0x511a12)_0x3f3125['setAttribute'](_0x16116f,_0x511a12[_0x16116f]);}_0x5519a6&&(_0x3f3125[_0x294c8e(0x372)]+=_0x5519a6),_0xf17835[_0x294c8e(0x208)](_0x3f3125);}});},_0x1a72cd=function(_0x56986f,_0x547ce7,_0x1f1680,_0x1f80aa,_0x70d7a1){const _0x58dff2=_0x527653;_0x56986f>=_0x31af7e||_0x547ce7>=_0x4ac45d||_0x56986f<0x0||_0x547ce7<0x0||(_0x4dd32d[_0x56986f][_0x547ce7]=!0x1,_0x1f1680&&_0x30fe84[0x0]['getContext']('2d')[_0x58dff2(0x4e0)](_0x56986f*_0x4d7102,_0x547ce7*_0x4d7102,_0x35d8c7,_0x35d8c7),_0x59917a&&(_0x302101[_0x56986f][_0x547ce7]={'item':_0x70d7a1,'dimension':_0x1f80aa}));},_0x33efb3=function(_0x275e9f,_0x5f30df,_0x525c4c,_0x5cdc8f,_0x5c4c5d,_0x57eca2){const _0x4ae93d=_0x527653;let _0x156c4c=_0x5c4c5d[_0x4ae93d(0x1c6)],_0x29e169=_0x4ca020['drawMask'],_0x990e7a;_0x29e169&&(_0x990e7a=_0x30fe84[0x0]['getContext']('2d'),_0x990e7a['save'](),_0x990e7a[_0x4ae93d(0x509)]=_0x4ca020[_0x4ae93d(0x437)]);let _0xe273d1;if(_0x59917a){let _0x567214=_0x5c4c5d[_0x4ae93d(0x3fd)];_0xe273d1={'x':(_0x275e9f+_0x567214[0x3])*_0x4d7102,'y':(_0x5f30df+_0x567214[0x0])*_0x4d7102,'w':(_0x567214[0x1]-_0x567214[0x3]+0x1)*_0x4d7102,'h':(_0x567214[0x2]-_0x567214[0x0]+0x1)*_0x4d7102};}let _0x46d535=_0x156c4c[_0x4ae93d(0x644)];for(;_0x46d535--;){let _0x558387=_0x275e9f+_0x156c4c[_0x46d535][0x0],_0x1b5c49=_0x5f30df+_0x156c4c[_0x46d535][0x1];_0x558387>=_0x31af7e||_0x1b5c49>=_0x4ac45d||_0x558387<0x0||_0x1b5c49<0x0||_0x1a72cd(_0x558387,_0x1b5c49,_0x29e169,_0xe273d1,_0x57eca2);}_0x29e169&&_0x990e7a[_0x4ae93d(0x5ca)]();},_0x4573bc=function _0x3d1231(_0x4fa190,_0x2c5056){const _0x4a47f0=_0x527653;if(_0x2c5056>0x14)return null;let _0x460fa9,_0x272aae,_0x39b260;Array[_0x4a47f0(0x2be)](_0x4fa190)?(_0x460fa9=_0x4fa190[0x0],_0x272aae=_0x4fa190[0x1]):(_0x460fa9=_0x4fa190['word'],_0x272aae=_0x4fa190[_0x4a47f0(0x37d)],_0x39b260=_0x4fa190['attributes']);let _0x19e7aa=_0x5eec5f(),_0x28986a=an(_0x4fa190),_0x152bc6=_0x1685a(_0x460fa9,_0x272aae,_0x19e7aa,_0x28986a);if(!_0x152bc6||_0x25bbf5())return!0x1;if(!_0x4ca020[_0x4a47f0(0x240)]&&!_0x4ca020[_0x4a47f0(0x389)]){let _0x1b0874=_0x152bc6[_0x4a47f0(0x3fd)];if(_0x1b0874[0x1]-_0x1b0874[0x3]+0x1>_0x31af7e||_0x1b0874[0x2]-_0x1b0874[0x0]+0x1>_0x4ac45d)return!0x1;}let _0x140d6b=_0xb80447+0x1,_0x34c46a=function(_0xa90d6f){const _0x171ece=_0x4a47f0;let _0x331be8=Math[_0x171ece(0x62b)](_0xa90d6f[0x0]-_0x152bc6['gw']/0x2),_0x219dab=Math[_0x171ece(0x62b)](_0xa90d6f[0x1]-_0x152bc6['gh']/0x2),_0x1886fb=_0x152bc6['gw'],_0x21c93d=_0x152bc6['gh'];return _0x405504(_0x331be8,_0x219dab,_0x1886fb,_0x21c93d,_0x152bc6['occupied'])?(_0x10e8ed(_0x331be8,_0x219dab,_0x152bc6,_0x460fa9,_0x272aae,_0xb80447-_0x140d6b,_0xa90d6f[0x2],_0x19e7aa,_0x39b260,_0x28986a),_0x33efb3(_0x331be8,_0x219dab,_0x1886fb,_0x21c93d,_0x152bc6,_0x4fa190),{'gx':_0x331be8,'gy':_0x219dab,'rot':_0x19e7aa,'info':_0x152bc6}):!0x1;};for(;_0x140d6b--;){let _0x1c45dd=_0x40c052(_0xb80447-_0x140d6b);_0x4ca020[_0x4a47f0(0x318)]&&(_0x1c45dd=[]['concat'](_0x1c45dd),on(_0x1c45dd));for(let _0x29ee5e=0x0;_0x29ee5e<_0x1c45dd[_0x4a47f0(0x644)];_0x29ee5e++){let _0x4e645e=_0x34c46a(_0x1c45dd[_0x29ee5e]);if(_0x4e645e)return _0x4e645e;}}return _0x4ca020['shrinkToFit']?(Array[_0x4a47f0(0x2be)](_0x4fa190)?_0x4fa190[0x1]=_0x4fa190[0x1]*0x3/0x4:_0x4fa190['weight']=_0x4fa190[_0x4a47f0(0x37d)]*0x3/0x4,_0x3d1231(_0x4fa190,_0x2c5056+0x1)):null;},_0x4b145b=function(_0xff27a6,_0x30eb11,_0x24bba4){const _0x10f501=_0x527653;if(_0x30eb11)return!_0x30fe84[_0x10f501(0x43f)](function(_0x7e765b){const _0x2d94bf=_0x10f501;let _0x194168=new CustomEvent(_0xff27a6,{'detail':_0x24bba4||{}});return!_0x7e765b[_0x2d94bf(0x54d)](_0x194168);},this);_0x30fe84[_0x10f501(0x50c)](function(_0x22b803){const _0x362487=_0x10f501;let _0x320d31=new CustomEvent(_0xff27a6,{'detail':_0x24bba4||{}});_0x22b803[_0x362487(0x54d)](_0x320d31);},this);};(function(){const _0x5adbba=_0x527653;let _0x225dff=_0x30fe84[0x0];if(_0x225dff['getContext'])_0x31af7e=Math[_0x5adbba(0x40b)](_0x225dff[_0x5adbba(0x640)]/_0x4d7102),_0x4ac45d=Math[_0x5adbba(0x40b)](_0x225dff['height']/_0x4d7102);else{let _0x45f0c2=_0x225dff[_0x5adbba(0x2bb)]();_0x31af7e=Math[_0x5adbba(0x40b)](_0x45f0c2[_0x5adbba(0x640)]/_0x4d7102),_0x4ac45d=Math[_0x5adbba(0x40b)](_0x45f0c2[_0x5adbba(0x283)]/_0x4d7102);}if(!_0x4b145b(_0x5adbba(0x365),!0x0))return;_0x5eb9b8=_0x4ca020[_0x5adbba(0x619)]?[_0x4ca020[_0x5adbba(0x619)][0x0]/_0x4d7102,_0x4ca020[_0x5adbba(0x619)][0x1]/_0x4d7102]:[_0x31af7e/0x2,_0x4ac45d/0x2],_0xb80447=Math[_0x5adbba(0x62b)](Math[_0x5adbba(0x45f)](_0x31af7e*_0x31af7e+_0x4ac45d*_0x4ac45d)),_0x4dd32d=[];let _0x33dd9d,_0x2e83e7,_0x94ebd4;if(!_0x225dff[_0x5adbba(0x246)]||_0x4ca020['clearCanvas']){for(_0x30fe84[_0x5adbba(0x50c)](function(_0x3fef72){const _0x4a1a60=_0x5adbba;if(_0x3fef72['getContext']){let _0xb053c5=_0x3fef72[_0x4a1a60(0x246)]('2d');_0xb053c5[_0x4a1a60(0x509)]=_0x4ca020[_0x4a1a60(0x624)],_0xb053c5['clearRect'](0x0,0x0,_0x31af7e*(_0x4d7102+0x1),_0x4ac45d*(_0x4d7102+0x1)),_0xb053c5[_0x4a1a60(0x4e0)](0x0,0x0,_0x31af7e*(_0x4d7102+0x1),_0x4ac45d*(_0x4d7102+0x1));}else _0x3fef72['textContent']='',_0x3fef72[_0x4a1a60(0x4fa)][_0x4a1a60(0x624)]=_0x4ca020[_0x4a1a60(0x624)],_0x3fef72[_0x4a1a60(0x4fa)][_0x4a1a60(0x3cf)]=_0x4a1a60(0x4bf);}),_0x33dd9d=_0x31af7e;_0x33dd9d--;)for(_0x4dd32d[_0x33dd9d]=[],_0x2e83e7=_0x4ac45d;_0x2e83e7--;)_0x4dd32d[_0x33dd9d][_0x2e83e7]=!0x0;}else{let _0x33f96e=document['createElement']('canvas')[_0x5adbba(0x246)]('2d');_0x33f96e[_0x5adbba(0x509)]=_0x4ca020[_0x5adbba(0x624)],_0x33f96e[_0x5adbba(0x4e0)](0x0,0x0,0x1,0x1);let _0xa47f22=_0x33f96e['getImageData'](0x0,0x0,0x1,0x1)[_0x5adbba(0x378)],_0x2f5373=_0x225dff['getContext']('2d')[_0x5adbba(0x22e)](0x0,0x0,_0x31af7e*_0x4d7102,_0x4ac45d*_0x4d7102)['data'];_0x33dd9d=_0x31af7e;let _0x37dfd2,_0x4288cc;for(;_0x33dd9d--;)for(_0x4dd32d[_0x33dd9d]=[],_0x2e83e7=_0x4ac45d;_0x2e83e7--;){_0x4288cc=_0x4d7102;_0x41a21e:for(;_0x4288cc--;)for(_0x37dfd2=_0x4d7102;_0x37dfd2--;)for(_0x94ebd4=0x4;_0x94ebd4--;)if(_0x2f5373[((_0x2e83e7*_0x4d7102+_0x4288cc)*_0x31af7e*_0x4d7102+(_0x33dd9d*_0x4d7102+_0x37dfd2))*0x4+_0x94ebd4]!==_0xa47f22[_0x94ebd4]){_0x4dd32d[_0x33dd9d][_0x2e83e7]=!0x1;break _0x41a21e;}_0x4dd32d[_0x33dd9d][_0x2e83e7]!==!0x1&&(_0x4dd32d[_0x33dd9d][_0x2e83e7]=!0x0);}_0x2f5373=_0x33f96e=_0xa47f22=void 0x0;}if(_0x4ca020['hover']||_0x4ca020['click']){for(_0x59917a=!0x0,_0x33dd9d=_0x31af7e+0x1;_0x33dd9d--;)_0x302101[_0x33dd9d]=[];_0x4ca020[_0x5adbba(0x4c5)]&&_0x225dff[_0x5adbba(0x3d9)]('mousemove',_0x2dcbb8),_0x4ca020[_0x5adbba(0x59e)]&&(_0x225dff['addEventListener'](_0x5adbba(0x59e),_0x227f41),_0x225dff[_0x5adbba(0x3d9)](_0x5adbba(0x418),_0x227f41),_0x225dff[_0x5adbba(0x3d9)]('touchend',function(_0x1440a0){const _0x2a48f9=_0x5adbba;_0x1440a0[_0x2a48f9(0x24c)]();}),_0x225dff['style'][_0x5adbba(0x3e5)]=_0x5adbba(0x505)),_0x225dff[_0x5adbba(0x3d9)](_0x5adbba(0x365),function _0x729b2c(){const _0x3da1bd=_0x5adbba;_0x225dff[_0x3da1bd(0x306)](_0x3da1bd(0x365),_0x729b2c),_0x225dff[_0x3da1bd(0x306)](_0x3da1bd(0x2fc),_0x2dcbb8),_0x225dff[_0x3da1bd(0x306)](_0x3da1bd(0x59e),_0x227f41),_0x399d71=void 0x0;});}_0x94ebd4=0x0;let _0x3926f6,_0x48cb7d,_0x3690ab=!0x0;_0x4ca020['layoutAnimation']?_0x4ca020[_0x5adbba(0x413)]===0x0?(_0x3926f6=window['setImmediate'],_0x48cb7d=window['clearImmediate']):(_0x3926f6=window[_0x5adbba(0x5e9)],_0x48cb7d=window[_0x5adbba(0x202)]):(_0x3926f6=function(_0x596782){_0x596782();},_0x48cb7d=function(){_0x3690ab=!0x1;});let _0xbdd9c1=function(_0xed280c,_0x60ca00){const _0x149c34=_0x5adbba;_0x30fe84[_0x149c34(0x50c)](function(_0xdd360e){_0xdd360e['addEventListener'](_0xed280c,_0x60ca00);},this);},_0x5c2cb3=function(_0x2a992e,_0x29bc31){const _0x247ddb=_0x5adbba;_0x30fe84[_0x247ddb(0x50c)](function(_0x40f90b){const _0x3a7b23=_0x247ddb;_0x40f90b[_0x3a7b23(0x306)](_0x2a992e,_0x29bc31);},this);},_0x5cb8b2=function _0x53d731(){const _0xef5959=_0x5adbba;_0x5c2cb3(_0xef5959(0x365),_0x53d731),_0x48cb7d(sn[_0x5a1b4f]);};_0xbdd9c1(_0x5adbba(0x365),_0x5cb8b2),sn[_0x5a1b4f]=(_0x4ca020[_0x5adbba(0x2dc)]?_0x3926f6:setTimeout)(function _0xeb1f62(){const _0x128183=_0x5adbba;if(!_0x3690ab)return;if(_0x94ebd4>=_0x4ca020['list'][_0x128183(0x644)]){_0x48cb7d(sn[_0x5a1b4f]),_0x4b145b(_0x128183(0x432),!0x1),_0x5c2cb3(_0x128183(0x365),_0x5cb8b2),delete sn[_0x5a1b4f];return;}_0x440176=new Date()[_0x128183(0x4c0)]();let _0x189278=_0x4573bc(_0x4ca020[_0x128183(0x5a3)][_0x94ebd4],0x0),_0x3701b8=!_0x4b145b(_0x128183(0x35e),!0x0,{'item':_0x4ca020[_0x128183(0x5a3)][_0x94ebd4],'drawn':_0x189278});if(_0x25bbf5()||_0x3701b8){_0x48cb7d(sn[_0x5a1b4f]),_0x4ca020[_0x128183(0x524)](),_0x4b145b('wordcloudabort',!0x1),_0x4b145b(_0x128183(0x432),!0x1),_0x5c2cb3(_0x128183(0x365),_0x5cb8b2);return;}_0x94ebd4++,sn[_0x5a1b4f]=_0x3926f6(_0xeb1f62,_0x4ca020['wait']);},_0x4ca020['wait']);}());};cn[_0x5d1961(0x4bb)]=nn,cn['minFontSize']=rn;function ln(_0x560ba4){const _0x1d221d=_0x5d1961;if(!cn[_0x1d221d(0x4bb)])throw Error(_0x1d221d(0x311));function _0x3d1126(_0x2850da){const _0x35d813=_0x1d221d;let _0x28920e=_0x2850da[_0x35d813(0x246)]('2d'),_0x2a2dac=_0x28920e[_0x35d813(0x22e)](0x0,0x0,_0x2850da['width'],_0x2850da[_0x35d813(0x283)]),_0x39abb3=_0x28920e['createImageData'](_0x2a2dac),_0x2a2cb0=0x0,_0x3d5be1=0x0;for(let _0x387cbc=0x0;_0x387cbc<_0x2a2dac[_0x35d813(0x378)]['length'];_0x387cbc+=0x4)if(_0x2a2dac[_0x35d813(0x378)][_0x387cbc+0x3]>0x80){let _0x3ea7fe=_0x2a2dac[_0x35d813(0x378)][_0x387cbc]+_0x2a2dac[_0x35d813(0x378)][_0x387cbc+0x1]+_0x2a2dac[_0x35d813(0x378)][_0x387cbc+0x2];_0x2a2cb0+=_0x3ea7fe,++_0x3d5be1;}let _0x469b91=_0x2a2cb0/_0x3d5be1;for(let _0x12639e=0x0;_0x12639e<_0x2a2dac['data'][_0x35d813(0x644)];_0x12639e+=0x4){let _0x230d7e=_0x2a2dac[_0x35d813(0x378)][_0x12639e]+_0x2a2dac['data'][_0x12639e+0x1]+_0x2a2dac[_0x35d813(0x378)][_0x12639e+0x2];_0x2a2dac['data'][_0x12639e+0x3]<0x80||_0x230d7e>_0x469b91?(_0x39abb3[_0x35d813(0x378)][_0x12639e]=0x0,_0x39abb3[_0x35d813(0x378)][_0x12639e+0x1]=0x0,_0x39abb3[_0x35d813(0x378)][_0x12639e+0x2]=0x0,_0x39abb3[_0x35d813(0x378)][_0x12639e+0x3]=0x0):(_0x39abb3['data'][_0x12639e]=0xff,_0x39abb3[_0x35d813(0x378)][_0x12639e+0x1]=0xff,_0x39abb3[_0x35d813(0x378)][_0x12639e+0x2]=0xff,_0x39abb3[_0x35d813(0x378)][_0x12639e+0x3]=0xff);}_0x28920e[_0x35d813(0x649)](_0x39abb3,0x0,0x0);}_0x560ba4[_0x1d221d(0x56a)](function(_0x14298c,_0x48fc72){const _0x599eeb=_0x1d221d;_0x14298c[_0x599eeb(0x32d)]('wordCloud',function(_0x4763e1){const _0x16920f=_0x599eeb;let _0x5eb338=_0x560ba4[_0x16920f(0x5fa)][_0x16920f(0x670)](_0x4763e1[_0x16920f(0x364)](),{'width':_0x48fc72[_0x16920f(0x349)](),'height':_0x48fc72['getHeight']()}),_0x1882af=_0x4763e1['get']('keepAspect'),_0x4ff1a4=_0x4763e1['get'](_0x16920f(0x36e)),_0x4aaa83=_0x4ff1a4?_0x4ff1a4[_0x16920f(0x640)]/_0x4ff1a4['height']:0x1;_0x1882af&&_0x5d0c89(_0x5eb338,_0x4aaa83);let _0x55e58e=_0x4763e1[_0x16920f(0x29a)](),_0x53595f=document[_0x16920f(0x45e)](_0x16920f(0x634));_0x53595f['width']=_0x5eb338[_0x16920f(0x640)],_0x53595f[_0x16920f(0x283)]=_0x5eb338[_0x16920f(0x283)];let _0xc248=_0x53595f[_0x16920f(0x246)]('2d');if(_0x4ff1a4&&_0xc248)try{_0xc248['drawImage'](_0x4ff1a4,0x0,0x0,_0x53595f[_0x16920f(0x640)],_0x53595f[_0x16920f(0x283)]),_0x3d1126(_0x53595f);}catch(_0x321d24){console[_0x16920f(0x35d)]('Invalid\x20mask\x20image'),console[_0x16920f(0x35d)](_0x321d24[_0x16920f(0x27b)]());}let _0x5bc2b9=_0x4763e1[_0x16920f(0x39a)](_0x16920f(0x610)),_0x2b4e0a=_0x4763e1[_0x16920f(0x39a)](_0x16920f(0x2da)),_0x12e3d1=_0x55e58e[_0x16920f(0x23a)](_0x16920f(0x3b4)),_0x136c0c=Math['PI']/0xb4,_0x35ec80=_0x4763e1[_0x16920f(0x39a)](_0x16920f(0x3cc));cn(_0x53595f,{'list':_0x55e58e[_0x16920f(0x65d)](_0x16920f(0x3b4),function(_0x99ec58,_0x2d1980){const _0x35b8e3=_0x16920f;let _0x56f007=_0x55e58e[_0x35b8e3(0x5c8)](_0x2d1980);return[_0x55e58e['getName'](_0x2d1980),_0x56f007[_0x35b8e3(0x39a)](_0x35b8e3(0x35f),!0x0)||_0x560ba4[_0x35b8e3(0x4cf)][_0x35b8e3(0x39f)](_0x99ec58,_0x12e3d1,_0x5bc2b9),_0x2d1980];})[_0x16920f(0x2e4)](function(_0x2d7bf0,_0x58de76){return _0x58de76[0x1]-_0x2d7bf0[0x1];}),'fontFamily':_0x4763e1[_0x16920f(0x39a)](_0x16920f(0x4da))||_0x4763e1['get'](_0x16920f(0x46d))||_0x14298c[_0x16920f(0x39a)]('textStyle.fontFamily'),'fontWeight':_0x4763e1[_0x16920f(0x39a)](_0x16920f(0x342))||_0x4763e1[_0x16920f(0x39a)]('emphasis.textStyle.fontWeight')||_0x14298c['get'](_0x16920f(0x342)),'gridSize':_0x35ec80,'ellipticity':_0x5eb338[_0x16920f(0x283)]/_0x5eb338['width'],'minRotation':_0x2b4e0a[0x0]*_0x136c0c,'maxRotation':_0x2b4e0a[0x1]*_0x136c0c,'clearCanvas':!_0x4ff1a4,'rotateRatio':0x1,'rotationStep':_0x4763e1[_0x16920f(0x39a)]('rotationStep')*_0x136c0c,'drawOutOfBound':_0x4763e1[_0x16920f(0x39a)]('drawOutOfBound'),'shrinkToFit':_0x4763e1[_0x16920f(0x39a)](_0x16920f(0x389)),'layoutAnimation':_0x4763e1[_0x16920f(0x39a)]('layoutAnimation'),'shuffle':!0x1,'shape':_0x4763e1['get'](_0x16920f(0x4af))});function _0x41f231(_0xab706e){const _0x45b9a3=_0x16920f;let _0x2b44a7=_0xab706e[_0x45b9a3(0x319)][_0x45b9a3(0x425)];_0xab706e[_0x45b9a3(0x319)][_0x45b9a3(0x547)]&&_0x4763e1[_0x45b9a3(0x4e5)][_0x45b9a3(0x321)]&&(_0xab706e[_0x45b9a3(0x319)][_0x45b9a3(0x547)]['gx']+=_0x5eb338['x']/_0x35ec80,_0xab706e['detail'][_0x45b9a3(0x547)]['gy']+=_0x5eb338['y']/_0x35ec80,_0x4763e1[_0x45b9a3(0x4e5)][_0x45b9a3(0x321)](_0x2b44a7[0x0],_0x2b44a7[0x1],_0x2b44a7[0x2],_0xab706e['detail'][_0x45b9a3(0x547)]));}_0x53595f[_0x16920f(0x3d9)](_0x16920f(0x35e),_0x41f231),_0x4763e1[_0x16920f(0x4e5)]&&_0x4763e1['layoutInstance'][_0x16920f(0x5e8)](),_0x4763e1['layoutInstance']={'ondraw':null,'dispose'(){const _0x5a1234=_0x16920f;_0x53595f['removeEventListener'](_0x5a1234(0x35e),_0x41f231),_0x53595f[_0x5a1234(0x3d9)](_0x5a1234(0x35e),function(_0x4b3709){_0x4b3709['preventDefault']();});}};});}),_0x560ba4[_0x1d221d(0x41f)](function(_0x406eaf){const _0x52ee93=_0x1d221d;let _0x937482=(_0x406eaf||{})[_0x52ee93(0x361)];!_0x560ba4[_0x52ee93(0x28f)][_0x52ee93(0x2be)](_0x937482)&&(_0x937482=_0x937482?[_0x937482]:[]);let _0x548655=[_0x52ee93(0x30d),_0x52ee93(0x330),_0x52ee93(0x4c6),_0x52ee93(0x300)];_0x560ba4[_0x52ee93(0x28f)][_0x52ee93(0x40a)](_0x937482,function(_0x4982ac){const _0x4586dd=_0x52ee93;if(_0x4982ac&&_0x4982ac[_0x4586dd(0x614)]===_0x4586dd(0x626)){let _0xdf631=_0x4982ac[_0x4586dd(0x33b)]||{};_0x4ba88c(_0xdf631['normal']),_0x4ba88c(_0xdf631[_0x4586dd(0x448)]);}});function _0x4ba88c(_0x13e601){const _0x1ef0e4=_0x52ee93;_0x13e601&&_0x560ba4[_0x1ef0e4(0x28f)][_0x1ef0e4(0x40a)](_0x548655,function(_0x3bf728){const _0x547621=_0x1ef0e4;Object[_0x547621(0x53e)][_0x547621(0x444)][_0x547621(0x298)](_0x13e601,_0x3bf728)&&(_0x13e601[_0x547621(0x24f)+_0x560ba4['format'][_0x547621(0x1ef)](_0x3bf728)]=_0x13e601[_0x3bf728]);});}});function _0x5d0c89(_0x349ddd,_0x297199){const _0x47e321=_0x1d221d;let _0x25433c=_0x349ddd[_0x47e321(0x640)],_0x11b84e=_0x349ddd[_0x47e321(0x283)];_0x25433c>_0x11b84e*_0x297199?(_0x349ddd['x']+=(_0x25433c-_0x11b84e*_0x297199)/0x2,_0x349ddd[_0x47e321(0x640)]=_0x11b84e*_0x297199):(_0x349ddd['y']+=(_0x11b84e-_0x25433c/_0x297199)/0x2,_0x349ddd[_0x47e321(0x283)]=_0x25433c/_0x297199);}_0x560ba4[_0x1d221d(0x4a8)]({'type':_0x1d221d(0x359),'visualStyleAccessPath':_0x1d221d(0x33b),'visualStyleMapper'(_0x38bc88){const _0xc663a3=_0x1d221d;return{'fill':_0x38bc88[_0xc663a3(0x39a)](_0xc663a3(0x63b))};},'visualDrawType':_0x1d221d(0x3c0),'optionUpdated'(){const _0x11f5c3=_0x1d221d;let _0x5cd9ce=this['option'];_0x5cd9ce[_0x11f5c3(0x3cc)]=Math[_0x11f5c3(0x248)](Math[_0x11f5c3(0x62b)](_0x5cd9ce[_0x11f5c3(0x3cc)]),0x4);},'getInitialData'(_0x3a10d7){const _0x5be1b0=_0x1d221d;let _0x4e5b81=_0x560ba4[_0x5be1b0(0x5fa)]['createDimensions'](_0x3a10d7['data'],{'coordDimensions':[_0x5be1b0(0x3b4)]}),_0x41d4d2=new _0x560ba4[(_0x5be1b0(0x2e8))](_0x4e5b81,this);return _0x41d4d2[_0x5be1b0(0x4a5)](_0x3a10d7[_0x5be1b0(0x378)]),_0x41d4d2;},'defaultOption':{'maskImage':null,'shape':_0x1d221d(0x639),'keepAspect':!0x1,'left':_0x1d221d(0x455),'top':'center','width':_0x1d221d(0x41e),'height':_0x1d221d(0x209),'sizeRange':[0xc,0x3c],'rotationRange':[-0x5a,0x5a],'rotationStep':0x2d,'gridSize':0x8,'drawOutOfBound':!0x1,'shrinkToFit':!0x1,'textStyle':{'fontWeight':'normal'}}}),_0x560ba4['extendChartView']({'type':_0x1d221d(0x626),'render'(_0x88c01b){const _0x413124=_0x1d221d;let _0x4d3b7c=this[_0x413124(0x500)];_0x4d3b7c[_0x413124(0x646)]();let _0x33b87e=_0x88c01b[_0x413124(0x29a)](),_0x2f494a=_0x88c01b[_0x413124(0x39a)]('gridSize');_0x88c01b['layoutInstance'][_0x413124(0x321)]=function(_0x5aa66a,_0x34d0fa,_0x16d946,_0x13052d){const _0x3d7fda=_0x413124;let _0x3996a4=_0x33b87e['getItemModel'](_0x16d946),_0x571e94=_0x3996a4['getModel'](_0x3d7fda(0x33b)),_0x24ef91=new _0x560ba4[(_0x3d7fda(0x2b7))][(_0x3d7fda(0x1db))]({'style':_0x560ba4['helper'][_0x3d7fda(0x4c2)](_0x571e94),'scaleX':0x1/_0x13052d['info']['mu'],'scaleY':0x1/_0x13052d[_0x3d7fda(0x20a)]['mu'],'x':(_0x13052d['gx']+_0x13052d['info']['gw']/0x2)*_0x2f494a,'y':(_0x13052d['gy']+_0x13052d['info']['gh']/0x2)*_0x2f494a,'rotation':_0x13052d[_0x3d7fda(0x3c9)]});_0x24ef91[_0x3d7fda(0x57e)]({'x':_0x13052d[_0x3d7fda(0x20a)][_0x3d7fda(0x1c4)],'y':_0x13052d[_0x3d7fda(0x20a)][_0x3d7fda(0x5ed)]+_0x34d0fa*0.5,'text':_0x5aa66a,'verticalAlign':_0x3d7fda(0x5c3),'fill':_0x33b87e['getItemVisual'](_0x16d946,_0x3d7fda(0x4fa))['fill'],'fontSize':_0x34d0fa}),_0x4d3b7c[_0x3d7fda(0x1c2)](_0x24ef91),_0x33b87e['setItemGraphicEl'](_0x16d946,_0x24ef91),_0x24ef91['ensureState']('emphasis')[_0x3d7fda(0x4fa)]=_0x560ba4[_0x3d7fda(0x5fa)][_0x3d7fda(0x4c2)](_0x3996a4[_0x3d7fda(0x642)]([_0x3d7fda(0x448),_0x3d7fda(0x33b)]),{'state':_0x3d7fda(0x448)}),_0x24ef91[_0x3d7fda(0x309)](_0x3d7fda(0x563))[_0x3d7fda(0x4fa)]=_0x560ba4[_0x3d7fda(0x5fa)][_0x3d7fda(0x4c2)](_0x3996a4[_0x3d7fda(0x642)]([_0x3d7fda(0x563),_0x3d7fda(0x33b)]),{'state':_0x3d7fda(0x563)}),_0x560ba4[_0x3d7fda(0x5fa)]['enableHoverEmphasis'](_0x24ef91,_0x3996a4[_0x3d7fda(0x39a)]([_0x3d7fda(0x448),_0x3d7fda(0x25d)]),_0x3996a4[_0x3d7fda(0x39a)](['emphasis','blurScope'])),_0x24ef91[_0x3d7fda(0x3b2)]={'duration':_0x88c01b[_0x3d7fda(0x39a)]('animation')?_0x88c01b[_0x3d7fda(0x39a)]([_0x3d7fda(0x48c),_0x3d7fda(0x3e2)]):0x0,'easing':_0x88c01b[_0x3d7fda(0x39a)](['stateAnimation',_0x3d7fda(0x3d5)])},_0x24ef91[_0x3d7fda(0x528)]=!0x0;},this[_0x413124(0x536)]=_0x88c01b;},'remove'(){const _0x34249e=_0x1d221d;this[_0x34249e(0x500)][_0x34249e(0x646)](),this['_model'][_0x34249e(0x4e5)][_0x34249e(0x5e8)]();},'dispose'(){const _0x6beaa=_0x1d221d;this[_0x6beaa(0x536)][_0x6beaa(0x4e5)]['dispose']();}});}let un=class extends t[_0x5d1961(0x3a3)]{constructor(_0x2625f9,_0x2a56da,_0x26d139){const _0x2ac9ed=_0x5d1961;super(),this[_0x2ac9ed(0x27d)]=_0x2625f9,this[_0x2ac9ed(0x5b6)]=_0x2a56da,this[_0x2ac9ed(0x52d)]=_0x26d139,this[_0x2ac9ed(0x2bc)](),ln(s[_0x2ac9ed(0x4d2)]);}[_0x5d1961(0x3be)](){const _0x30d0f6=_0x5d1961;let _0x135475=this['_injector'];[[A],[O,{'useClass':D}],[Ut],[Yt],[Qt],[$t],[tn],[en]]['forEach'](_0x5ec200=>_0x135475[_0x30d0f6(0x1c2)](_0x5ec200)),(0x0,t[_0x30d0f6(0x4cb)])(this[_0x30d0f6(0x5b6)],[[Yt],[$t],[Qt],[A],[tn],[en]]);}[_0x5d1961(0x241)](){const _0x54bc7e=_0x5d1961;var _0xab1365;(_0xab1365=this[_0x54bc7e(0x5b6)][_0x54bc7e(0x39a)](Yt))==null||_0xab1365[_0x54bc7e(0x4a9)]();}['_initCommands'](){const _0x1ec847=_0x5d1961;[Gt,v,_]['forEach'](_0x2248e8=>this[_0x1ec847(0x61a)](this['_commandService'][_0x1ec847(0x39d)](_0x2248e8)));}};S(un,_0x5d1961(0x614),t[_0x5d1961(0x539)][_0x5d1961(0x3e3)]),S(un,'pluginName',_0x5d1961(0x4e7)),S(un,_0x5d1961(0x60e),Xt),S(un,_0x5d1961(0x5ba),Zt),un=w([(0x0,t[_0x5d1961(0x1e5)])(u[_0x5d1961(0x1cd)],e[_0x5d1961(0x1f1)]),C(0x1,(0x0,t[_0x5d1961(0x4e8)])(t[_0x5d1961(0x457)])),C(0x2,t[_0x5d1961(0x415)])],un),Object[_0x5d1961(0x26b)](exports,_0x5d1961(0x1fa),{'enumerable':!0x0,'get':function(){return Yt;}}),Object[_0x5d1961(0x26b)](exports,_0x5d1961(0x544),{'enumerable':!0x0,'get':function(){return A;}}),Object[_0x5d1961(0x26b)](exports,_0x5d1961(0x4e7),{'enumerable':!0x0,'get':function(){return un;}}),exports[_0x5d1961(0x2bd)]=ln;
1
+ const _0x38cd95=_0x28ac;(function(_0x396c2c,_0x3809eb){const _0x5d9d96=_0x28ac,_0x332a3b=_0x396c2c();while(!![]){try{const _0x76ad87=parseInt(_0x5d9d96(0x4a5))/0x1+parseInt(_0x5d9d96(0x371))/0x2+-parseInt(_0x5d9d96(0x292))/0x3*(parseInt(_0x5d9d96(0x1db))/0x4)+-parseInt(_0x5d9d96(0x41e))/0x5+-parseInt(_0x5d9d96(0x415))/0x6*(-parseInt(_0x5d9d96(0x240))/0x7)+-parseInt(_0x5d9d96(0x28e))/0x8*(-parseInt(_0x5d9d96(0x41f))/0x9)+parseInt(_0x5d9d96(0x2de))/0xa;if(_0x76ad87===_0x3809eb)break;else _0x332a3b['push'](_0x332a3b['shift']());}catch(_0x4bbf92){_0x332a3b['push'](_0x332a3b['shift']());}}}(_0x2eb7,0x5c90d),Object[_0x38cd95(0x505)](exports,Symbol[_0x38cd95(0x298)],{'value':'Module'}));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[_0x38cd95(0xa7)][_0x38cd95(0x31b)],'id':'sheet.operation.hide-chart-panel','handler'(){return!![];}},ChartOpenPanelOperation={'type':_univerjs_core[_0x38cd95(0xa7)][_0x38cd95(0x31b)],'id':_0x38cd95(0x1b1),'handler'(){return!![];}};function _typeof(_0xe44798){'@babel/helpers - typeof';const _0x308489=_0x38cd95;return _typeof=_0x308489(0x35f)==typeof Symbol&&_0x308489(0x479)==typeof Symbol['iterator']?function(_0x26e859){return typeof _0x26e859;}:function(_0x3494d7){const _0x1919c8=_0x308489;return _0x3494d7&&_0x1919c8(0x35f)==typeof Symbol&&_0x3494d7[_0x1919c8(0x3cd)]===Symbol&&_0x3494d7!==Symbol[_0x1919c8(0x304)]?'symbol':typeof _0x3494d7;},_typeof(_0xe44798);}function toPrimitive(_0x44cee3,_0x37ecaf){const _0x3a333f=_0x38cd95;if(_0x3a333f(0x337)!=_typeof(_0x44cee3)||!_0x44cee3)return _0x44cee3;var _0x3bd957=_0x44cee3[Symbol[_0x3a333f(0xee)]];if(void 0x0!==_0x3bd957){var _0x506ed3=_0x3bd957[_0x3a333f(0x10a)](_0x44cee3,_0x37ecaf||_0x3a333f(0x500));if(_0x3a333f(0x337)!=_typeof(_0x506ed3))return _0x506ed3;throw new TypeError(_0x3a333f(0x33a));}return(_0x3a333f(0x361)===_0x37ecaf?String:Number)(_0x44cee3);}function toPropertyKey(_0xac97e){var _0x4881f2=toPrimitive(_0xac97e,'string');return'symbol'==_typeof(_0x4881f2)?_0x4881f2:_0x4881f2+'';}function _defineProperty(_0xae96c5,_0x1184c1,_0x56cf32){const _0xbd8955=_0x38cd95;return(_0x1184c1=toPropertyKey(_0x1184c1))in _0xae96c5?Object[_0xbd8955(0x505)](_0xae96c5,_0x1184c1,{'value':_0x56cf32,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xae96c5[_0x1184c1]=_0x56cf32,_0xae96c5;}function __decorateParam(_0x4ef820,_0x43ad49){return function(_0x16927f,_0x316b5b){_0x43ad49(_0x16927f,_0x316b5b,_0x4ef820);};}function __decorate(_0x4e17e9,_0x53d2a9,_0x1e8187,_0xbc3ec4){const _0x1e8255=_0x38cd95;var _0x31e0ca=arguments['length'],_0x33909c=_0x31e0ca<0x3?_0x53d2a9:_0xbc3ec4===null?_0xbc3ec4=Object['getOwnPropertyDescriptor'](_0x53d2a9,_0x1e8187):_0xbc3ec4,_0x1fc518;if(typeof Reflect===_0x1e8255(0x337)&&typeof Reflect['decorate']==='function')_0x33909c=Reflect[_0x1e8255(0x4f2)](_0x4e17e9,_0x53d2a9,_0x1e8187,_0xbc3ec4);else{for(var _0x5550dc=_0x4e17e9[_0x1e8255(0x111)]-0x1;_0x5550dc>=0x0;_0x5550dc--)if(_0x1fc518=_0x4e17e9[_0x5550dc])_0x33909c=(_0x31e0ca<0x3?_0x1fc518(_0x33909c):_0x31e0ca>0x3?_0x1fc518(_0x53d2a9,_0x1e8187,_0x33909c):_0x1fc518(_0x53d2a9,_0x1e8187))||_0x33909c;}return _0x31e0ca>0x3&&_0x33909c&&Object[_0x1e8255(0x505)](_0x53d2a9,_0x1e8187,_0x33909c),_0x33909c;}function waitElement(_0x387fa4){return new Promise(_0x10c42b=>{const _0x35bf0b=_0x28ac,_0x4bf3ff=setInterval(()=>{const _0x30a0ed=_0x28ac,_0x1630fc=document[_0x30a0ed(0x113)](_0x387fa4);_0x1630fc&&(clearInterval(_0x4bf3ff),_0x10c42b(_0x1630fc));},0x3e8/0x3c),_0x47294f=document[_0x35bf0b(0x113)](_0x387fa4);_0x47294f&&(clearInterval(_0x4bf3ff),_0x10c42b(_0x47294f));});}function createHostElement(_0x1c2326,_0x4f6a14){const _0x291d8d=_0x38cd95,_0x2d150e=document[_0x291d8d(0x87)]('div');return _0x2d150e[_0x291d8d(0x48c)][_0x291d8d(0xd2)]=_0x1c2326-0x10+'px',_0x2d150e['style'][_0x291d8d(0x209)]=_0x4f6a14-0x10+'px',_0x2d150e[_0x291d8d(0x48c)][_0x291d8d(0xcf)]=_0x291d8d(0x1fc),_0x2d150e[_0x291d8d(0x48c)]['boxSizing']='border-box',_0x2d150e[_0x291d8d(0x48c)][_0x291d8d(0x444)]=_0x291d8d(0x32d),_0x2d150e[_0x291d8d(0x48c)]['top']=_0x291d8d(0x32d),_0x2d150e[_0x291d8d(0x48c)][_0x291d8d(0x434)]=_0x291d8d(0x486),_0x2d150e[_0x291d8d(0x2d2)]=_0x291d8d(0x17b),_0x2d150e;}let SheetsChartHostProviderService=class SheetsChartHostProviderService extends _univerjs_core['Disposable']{constructor(_0x3a6898,_0x5b6915){const _0x3c957d=_0x38cd95;super(),this[_0x3c957d(0x201)]=_0x3a6898,this['_renderManagerService']=_0x5b6915,_defineProperty(this,_0x3c957d(0x355),new Map()),_defineProperty(this,_0x3c957d(0x130),new rxjs[(_0x3c957d(0x254))]()),_defineProperty(this,_0x3c957d(0x28c),this[_0x3c957d(0x130)][_0x3c957d(0x120)]());}['_getSceneAndTransformerByDrawingSearch'](_0x1a55b8){const _0xd5ff4=_0x38cd95;if(_0x1a55b8==null)return;const _0x25a7a8=this[_0xd5ff4(0xaf)][_0xd5ff4(0x4b3)](_0x1a55b8),_0x4c62a3=_0x25a7a8===null||_0x25a7a8===void 0x0?void 0x0:_0x25a7a8[_0xd5ff4(0x7b)];if(_0x25a7a8==null||_0x4c62a3==null)return null;return{'scene':_0x4c62a3,'transformer':_0x4c62a3['getTransformerByCreate'](),'renderUnit':_0x25a7a8,'canvas':_0x25a7a8['engine'][_0xd5ff4(0x394)]()};}[_0x38cd95(0x3ef)](_0x3ad6ab,_0xff3e86){const _0xcbbbdb=_0x38cd95,_0x2fc09b=this[_0xcbbbdb(0x201)],_0x286e32=_0xff3e86||_0xcbbbdb(0x46e),_0x3195bc=_0x2fc09b[_0xcbbbdb(0x20a)](_0x3ad6ab);if(_0x3195bc){const {unitId:_0x123bc8,subUnitId:_0x3828e0}=_0x3195bc;_0x2fc09b['updateFloatDomProps'](_0x123bc8,_0x3828e0,_0x3ad6ab,{'stroke':_0x286e32});}}[_0x38cd95(0x4ae)](_0x5939f2,_0x17f0ba){const _0x4404c3=_0x38cd95,_0x19e199=this[_0x4404c3(0x201)],_0x21c31a=_0x19e199[_0x4404c3(0x20a)](_0x5939f2);if(_0x21c31a){const {unitId:_0x2914e1,subUnitId:_0x524b96}=_0x21c31a;_0x19e199[_0x4404c3(0x511)](_0x2914e1,_0x524b96,_0x5939f2,_0x17f0ba);}}[_0x38cd95(0x3aa)](_0x1c24b9){const _0x12fce0=_0x38cd95,_0x4d4477=this['_sheetCanvasFloatDomManagerService'][_0x12fce0(0x20a)](_0x1c24b9);if(_0x4d4477)return _0x4d4477[_0x12fce0(0x517)];return null;}[_0x38cd95(0x38a)](_0x2f0bb9){const _0x4adea5=_0x38cd95,_0x17621e=this[_0x4adea5(0x201)][_0x4adea5(0x20a)](_0x2f0bb9);if(_0x17621e){var _0x3d9a8b;const _0x94facd=(_0x3d9a8b=_0x17621e['domId'])!==null&&_0x3d9a8b!==void 0x0?_0x3d9a8b:_0x2f0bb9,_0x251064=document['getElementById'](_0x94facd);if(_0x251064&&_0x251064[_0x4adea5(0xf0)]['length']>0x0)return!![];}return![];}async[_0x38cd95(0x1c9)](_0x2cc71d){const _0x4ef2f5=_0x38cd95;var _0x5f18dd;const _0x5a3eec=this[_0x4ef2f5(0x201)][_0x4ef2f5(0x20a)](_0x2cc71d),_0x6b1280=(_0x5f18dd=_0x5a3eec===null||_0x5a3eec===void 0x0?void 0x0:_0x5a3eec[_0x4ef2f5(0x4d2)])!==null&&_0x5f18dd!==void 0x0?_0x5f18dd:_0x2cc71d,_0x32bc0b=document[_0x4ef2f5(0x113)](_0x6b1280);if(this[_0x4ef2f5(0x355)][_0x4ef2f5(0x3cc)](_0x2cc71d)&&_0x32bc0b&&_0x32bc0b[_0x4ef2f5(0xf0)][_0x4ef2f5(0x111)]>0x0)return{'mountNode':this[_0x4ef2f5(0x355)][_0x4ef2f5(0x520)](_0x2cc71d),'dispose':()=>{const _0x5d4d83=_0x4ef2f5;this[_0x5d4d83(0x355)]['delete'](_0x2cc71d),_0x5a3eec===null||_0x5a3eec===void 0x0||_0x5a3eec[_0x5d4d83(0x12f)]['dispose']();}};return this[_0x4ef2f5(0x406)](_0x2cc71d);}async[_0x38cd95(0x406)](_0x389fc9){const _0x3faf3c=_0x38cd95,_0x56010e=this[_0x3faf3c(0x201)][_0x3faf3c(0x20a)](_0x389fc9);if(!_0x56010e){this[_0x3faf3c(0x355)][_0x3faf3c(0x270)](_0x389fc9);throw new Error(_0x3faf3c(0x134));}else{var _0x30c249;const {rect:_0x1a9917}=_0x56010e,_0x56c702=_0x1a9917[_0x3faf3c(0xd2)],_0x285049=_0x1a9917['height'],_0xfa8a4c=this[_0x3faf3c(0x37d)](_0x56010e[_0x3faf3c(0x2b2)]);let _0x3d51e6=0x1,_0x5ae5a2=0x1;if(_0xfa8a4c){const {scene:_0x466c8e}=_0xfa8a4c;_0x466c8e&&(_0x3d51e6=_0x466c8e[_0x3faf3c(0x4e8)],_0x5ae5a2=_0x466c8e['scaleY']);}const _0x15a5ee=createHostElement(_0x56c702*_0x3d51e6,_0x285049*_0x5ae5a2);return(await waitElement((_0x30c249=_0x56010e[_0x3faf3c(0x4d2)])!==null&&_0x30c249!==void 0x0?_0x30c249:_0x389fc9))[_0x3faf3c(0x110)](_0x15a5ee),this[_0x3faf3c(0x355)][_0x3faf3c(0x3ea)](_0x389fc9,_0x15a5ee),this['disposeWithMe'](this[_0x3faf3c(0x201)]['remove$']['subscribe'](_0x489ad8=>{const _0x4551d7=_0x3faf3c;if(_0x489ad8['id']===_0x389fc9)this[_0x4551d7(0x130)][_0x4551d7(0x377)](_0x389fc9);})),{'mountNode':_0x15a5ee,'dispose':()=>{const _0x1ce1b4=_0x3faf3c;this['_mountNodes'][_0x1ce1b4(0x270)](_0x389fc9),_0x56010e===null||_0x56010e===void 0x0||_0x56010e[_0x1ce1b4(0x12f)]['dispose']();}};}}};SheetsChartHostProviderService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets_drawing_ui[_0x38cd95(0x370)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_engine_render[_0x38cd95(0x17a)]))],SheetsChartHostProviderService);const IChartHostProviderService=(0x0,_univerjs_core[_0x38cd95(0x50e)])('chart.host.provider');function registryChartConfigState(_0x3f4c13){const _0x22b009=_0x38cd95;_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x27e),_0x5e6010=>_0x5e6010['context$']['pipe']((0x0,rxjs[_0x22b009(0x26a)])(_0x5e80f3=>_0x5e80f3[_0x22b009(0x27e)]))),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x3be),_0xf06b25=>({'set'(_0x1c8522){const _0x1f534d=_0x22b009,_0x423474={};if(_0x1c8522===_univerjs_pro_engine_chart[_0x1f534d(0x448)][_0x1f534d(0xf5)])_0x423474[_0x1f534d(0x273)]={'doughnutHole':null};_0x3f4c13[_0x1f534d(0x48f)]({'chartModelId':_0xf06b25['id'],'chartType':_0x1c8522,'style':_0x423474});},'get'(){const _0x1a0449=_0x22b009;return _0xf06b25[_0x1a0449(0x496)];}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x509),_0x45fca8=>({'set'(_0x4c0ad0){const _0x104c17=_0x22b009;if(_0x4c0ad0)_0x3f4c13[_0x104c17(0x2ef)]({'chartModelId':_0x45fca8['id'],'range':_0x4c0ad0});},'get'(){const _0x5d68fa=_0x22b009,_0x1b6c3c=_0x3f4c13['getDataSource'](_0x45fca8['id']);if(!_0x1b6c3c)return;return _0x1b6c3c[_0x5d68fa(0x165)];}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x4cb),_0xccb29a=>({'set'(_0x38af96){const _0x4e773e=_0x22b009;if(typeof _0x38af96!==_0x4e773e(0x264))return;_0x3f4c13[_0x4e773e(0x48f)]({'chartModelId':_0xccb29a['id'],'context':{'categoryIndex':_0x38af96}});},'get'(){const _0x2b9be4=_0x22b009;return _0xccb29a[_0x2b9be4(0x261)][_0x2b9be4(0x198)]((0x0,rxjs[_0x2b9be4(0x26a)])(_0x109166=>_0x109166[_0x2b9be4(0x4cb)]),(0x0,rxjs[_0x2b9be4(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x3b8),_0xc91c3a=>{const _0x47af33=_0x22b009;return _0xc91c3a[_0x47af33(0x261)][_0x47af33(0x198)]((0x0,rxjs[_0x47af33(0x26a)])(_0x40267f=>_0x40267f[_0x47af33(0x3b8)]),(0x0,rxjs[_0x47af33(0xfa)])());}),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x1c7),_0x2d2f8a=>{const _0x67cf4f=_0x22b009;var _0x22b9ac;const _0x644f21=(_0x22b9ac=_0x3f4c13[_0x67cf4f(0x364)](_0x2d2f8a['id']))===null||_0x22b9ac===void 0x0?void 0x0:_0x22b9ac[_0x67cf4f(0x165)];if(!_0x644f21)return _0x2d2f8a['context$'][_0x67cf4f(0x198)]((0x0,rxjs[_0x67cf4f(0x26a)])(()=>[]));return _0x2d2f8a['context$'][_0x67cf4f(0x198)]((0x0,rxjs[_0x67cf4f(0x4ff)])(_0x644f21),(0x0,rxjs[_0x67cf4f(0x26a)])(([_0xaaa51,_0x1c8e88])=>{const _0xc3331c=_0x67cf4f,{categoryResourceIndexes:_0x5e72f9,headers:_0x5485c2}=_0xaaa51,_0x5bcf66=(_0x5e72f9||[])[_0xc3331c(0x296)]((_0x5883ee,_0x3b8fb0)=>(_0x5883ee||0x0)-(_0x3b8fb0||0x0));if(!_0x5bcf66)return[];if(Array[_0xc3331c(0x49c)](_0x1c8e88))return[];return _0x5bcf66[_0xc3331c(0x26a)](_0x111e44=>{const _0x30c1a1=_0xc3331c;return{'label':(_0x5485c2===null||_0x5485c2===void 0x0?void 0x0:_0x5485c2[_0x111e44])||_0x3f4c13['t'](_0x30c1a1(0x294),''+(_0x111e44+0x1)),'value':String(_0x111e44)};});}));}),_0x3f4c13['registerViewState']('categoryList',_0x45c6b2=>{const _0x481caf=_0x22b009;var _0x204e05;const _0x2c2719=(_0x204e05=_0x3f4c13[_0x481caf(0x364)](_0x45c6b2['id']))===null||_0x204e05===void 0x0?void 0x0:_0x204e05[_0x481caf(0x165)];if(!_0x2c2719)return _0x45c6b2[_0x481caf(0x261)]['pipe']((0x0,rxjs['map'])(()=>[]));return _0x45c6b2[_0x481caf(0x261)]['pipe']((0x0,rxjs[_0x481caf(0x4ff)])(_0x2c2719),(0x0,rxjs[_0x481caf(0x26a)])(([_0xbc5979,_0x287d8c])=>{const _0x36e66e=_0x481caf,{categoryResourceIndexes:_0x540bf6,seriesResourceIndexes:_0x3cc7b1,headers:_0x2d89d3}=_0xbc5979,_0x349815=_0x540bf6===null||_0x540bf6===void 0x0?void 0x0:_0x540bf6[_0x36e66e(0x11a)](_0x3cc7b1||[])['sort']((_0xb23c7,_0x3e514c)=>(_0xb23c7||0x0)-(_0x3e514c||0x0));if(!_0x349815)return[];if(Array[_0x36e66e(0x49c)](_0x287d8c))return[];return _0x349815[_0x36e66e(0x26a)](_0x225383=>{return{'label':(_0x2d89d3===null||_0x2d89d3===void 0x0?void 0x0:_0x2d89d3[_0x225383])||_0x3f4c13['t']('chart.categoryDefaultName',''+(_0x225383+0x1)),'value':String(_0x225383)};});}));}),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x249),_0xee3e23=>({'set'(_0x1fb1fe){const _0x17ff81=_0x22b009;_0x3f4c13[_0x17ff81(0x48f)]({'chartModelId':_0xee3e23['id'],'context':{'seriesIndexes':_0x1fb1fe}});},'get'(){const _0x5720ef=_0x22b009;return _0xee3e23[_0x5720ef(0x261)][_0x5720ef(0x198)]((0x0,rxjs[_0x5720ef(0x26a)])(_0x52d838=>{const {seriesIndexes:seriesIndexes=[]}=_0x52d838;return seriesIndexes;}));}})),_0x3f4c13[_0x22b009(0x18c)]('trendlineValues',_0x23dfe7=>({'set'(_0x5b5451){const _0x4cc056=_0x22b009;_0x3f4c13[_0x4cc056(0x48f)]({'chartModelId':_0x23dfe7['id'],'style':{'trendlines':_0x5b5451}});},'get'(){const _0xcbb7ec=_0x22b009;return _0x23dfe7[_0xcbb7ec(0x440)][_0xcbb7ec(0x198)]((0x0,rxjs[_0xcbb7ec(0x26a)])(_0x2113f6=>_0x2113f6[_0xcbb7ec(0x27f)]));}})),_0x3f4c13['registerViewState'](_0x22b009(0x51d),_0x5c58da=>{const _0x2eebc4=_0x22b009;var _0x2cb5ac;const _0x4fc1ba=(_0x2cb5ac=_0x3f4c13[_0x2eebc4(0x364)](_0x5c58da['id']))===null||_0x2cb5ac===void 0x0?void 0x0:_0x2cb5ac[_0x2eebc4(0x165)];if(!_0x4fc1ba)return _0x5c58da['context$'][_0x2eebc4(0x198)]((0x0,rxjs[_0x2eebc4(0x26a)])(()=>[]));return _0x5c58da[_0x2eebc4(0x261)][_0x2eebc4(0x198)]((0x0,rxjs[_0x2eebc4(0x4ff)])(_0x4fc1ba),(0x0,rxjs[_0x2eebc4(0x26a)])(([_0x2054f9,_0x2e5cef])=>{const _0x34785d=_0x2eebc4,{seriesIndexes:seriesIndexes=[],headers:_0x13690e}=_0x2054f9;if(Array['isArray'](_0x2e5cef))return[];return seriesIndexes[_0x34785d(0x26a)](_0x2480b1=>{const _0x2a9135=_0x34785d;return{'label':(_0x13690e===null||_0x13690e===void 0x0?void 0x0:_0x13690e[_0x2480b1])||_0x3f4c13['t'](_0x2a9135(0x2f6),''+_0x2480b1),'value':String(_0x2480b1)};});}));}),_0x3f4c13['registerViewState'](_0x22b009(0x2a0),_0x528583=>{const _0xb13465=_0x22b009;var _0x4cbec9;const _0x10afba=(_0x4cbec9=_0x3f4c13[_0xb13465(0x364)](_0x528583['id']))===null||_0x4cbec9===void 0x0?void 0x0:_0x4cbec9[_0xb13465(0x165)];if(!_0x10afba)return _0x528583[_0xb13465(0x261)][_0xb13465(0x198)]((0x0,rxjs['map'])(()=>[]));return _0x528583[_0xb13465(0x261)][_0xb13465(0x198)]((0x0,rxjs[_0xb13465(0x4ff)])(_0x10afba),(0x0,rxjs[_0xb13465(0x26a)])(([_0x25dc96,_0x4ef0ac])=>{const _0x529189=_0xb13465,{seriesResourceIndexes:seriesResourceIndexes=[],headers:_0xe64ad}=_0x25dc96;if(Array[_0x529189(0x49c)](_0x4ef0ac))return[];const _0x51b85f=new Map();return seriesResourceIndexes[_0x529189(0x26a)](_0x3a7ae2=>{const _0x282be9=_0x529189,_0x178cb7=(_0xe64ad===null||_0xe64ad===void 0x0?void 0x0:_0xe64ad[_0x3a7ae2])||_0x3f4c13['t'](_0x282be9(0x2f6),''+_0x3a7ae2);if(_0x51b85f[_0x282be9(0x3cc)](_0x178cb7))_0x51b85f[_0x282be9(0x3ea)](_0x178cb7,_0x51b85f['get'](_0x178cb7)+0x1);else _0x51b85f['set'](_0x178cb7,0x0);return{'label':(_0x51b85f[_0x282be9(0x3cc)](_0x178cb7)&&_0x51b85f[_0x282be9(0x520)](_0x178cb7)>0x0?_0x178cb7+'\x20'+_0x51b85f[_0x282be9(0x520)](_0x178cb7):_0x178cb7)||_0x3f4c13['t']('chart.seriesDefaultName',''+_0x3a7ae2),'value':String(_0x3a7ae2)};});}));}),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x234),_0x567d61=>({'set'(_0x44988f){const _0x29bb04=_0x22b009;_0x3f4c13[_0x29bb04(0x48f)]({'chartModelId':_0x567d61['id'],'dataAggregation':{'aggregate':_0x44988f}});},'get'(){const _0x467a1e=_0x22b009;return _0x567d61['dataAggregation$'][_0x467a1e(0x198)]((0x0,rxjs[_0x467a1e(0x26a)])(_0x2c14b6=>_0x2c14b6[_0x467a1e(0x234)]||![]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x21a),_0x482b08=>({'set'(_0x4d7e3b){const _0x516abb=_0x22b009;var _0x3c21cf;const _0x45c11a=(_0x3c21cf=_0x3f4c13[_0x516abb(0x364)](_0x482b08['id']))===null||_0x3c21cf===void 0x0?void 0x0:_0x3c21cf[_0x516abb(0x3da)]();if(_0x45c11a){const _0x4f1ffd={..._0x45c11a,'isRowDirection':_0x4d7e3b===_univerjs_pro_engine_chart[_0x516abb(0xdc)]['Row']};_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x482b08['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x3f4c13[_0x516abb(0x2ef)]({'chartModelId':_0x482b08['id'],'range':_0x4f1ffd});}},'get'(){const _0x1984e2=_0x22b009;var _0x595e1e;return(_0x595e1e=_0x3f4c13[_0x1984e2(0x364)](_0x482b08['id']))===null||_0x595e1e===void 0x0?void 0x0:_0x595e1e[_0x1984e2(0x165)]['pipe']((0x0,rxjs[_0x1984e2(0x26a)])(_0x806a04=>_0x806a04['isRowDirection']?_univerjs_pro_engine_chart[_0x1984e2(0xdc)][_0x1984e2(0x44b)]:_univerjs_pro_engine_chart[_0x1984e2(0xdc)]['Column']),(0x0,rxjs[_0x1984e2(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x277),_0x214ae8=>({'set'(_0x96bf18){const _0x5dd86a=_0x22b009;_0x3f4c13[_0x5dd86a(0x48f)]({'chartModelId':_0x214ae8['id'],'style':{'gradientFill':_0x96bf18}});},'get'(){const _0x25254b=_0x22b009;return _0x214ae8[_0x25254b(0x440)]['pipe']((0x0,rxjs[_0x25254b(0x26a)])(_0xe68863=>_0xe68863[_0x25254b(0x277)]),(0x0,rxjs[_0x25254b(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x1b6),_0x166855=>({'set'(_0x597709){const _0x48c4ba=_0x22b009;_0x3f4c13[_0x48c4ba(0x48f)]({'chartModelId':_0x166855['id'],'style':{'tooltip':_0x597709}});},'get'(){const _0x3c38a6=_0x22b009;return _0x166855[_0x3c38a6(0x440)][_0x3c38a6(0x198)]((0x0,rxjs['map'])(_0x369ad2=>_0x369ad2[_0x3c38a6(0xcc)]),(0x0,rxjs[_0x3c38a6(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)]('asCategory',_0x59556e=>({'set'(_0xdadac5){const _0x4e7716=_0x22b009,{context:_0x3dc649}=_0x59556e,_0x1165b3=_0x5656b0=>{const _0x28f10a=_0x28ac;var _0x3fff62;return((_0x3fff62=_0x3dc649['seriesResourceIndexes'])===null||_0x3fff62===void 0x0?void 0x0:_0x3fff62[_0x28f10a(0x401)](_0x5656b0))!==-0x1;};if(_0xdadac5){var _0x268b76;const _0xdb8970=(_0x268b76=_0x3dc649[_0x4e7716(0x3bf)])===null||_0x268b76===void 0x0?void 0x0:_0x268b76[0x0];if(_0xdb8970===void 0x0)return;const _0x4c2f89={'categoryIndex':_0xdb8970,'categoryType':_univerjs_pro_engine_chart[_0x4e7716(0x152)]['Text']};if(_0x1165b3(_0xdb8970)){var _0x3599a3;_0x4c2f89[_0x4e7716(0x3bf)]=(_0x3599a3=_0x3dc649[_0x4e7716(0x3bf)])===null||_0x3599a3===void 0x0?void 0x0:_0x3599a3[_0x4e7716(0x24c)](_0x1c7d0e=>_0x1c7d0e!==_0xdb8970);}_0x3f4c13[_0x4e7716(0x48f)]({'chartModelId':_0x59556e['id'],'context':_0x4c2f89});}else{if(_0x3dc649[_0x4e7716(0x4cb)]===void 0x0)return;const _0x3692fe={'categoryIndex':void 0x0,'categoryType':void 0x0};if(_0x1165b3(_0x3dc649[_0x4e7716(0x4cb)]))_0x3692fe[_0x4e7716(0x3bf)]=[_0x3dc649[_0x4e7716(0x4cb)]][_0x4e7716(0x11a)](_0x3dc649[_0x4e7716(0x3bf)]||[]);_0x3f4c13[_0x4e7716(0x48f)]({'chartModelId':_0x59556e['id'],'context':_0x3692fe});}},'get'(){const _0x4d849a=_0x22b009;return _0x59556e[_0x4d849a(0x261)][_0x4d849a(0x198)]((0x0,rxjs[_0x4d849a(0x26a)])(_0x1f1253=>{const _0x1071eb=_0x4d849a;var _0x1843f7;if(_0x1f1253['categoryIndex']===void 0x0)return![];return Boolean((_0x1843f7=_0x1f1253[_0x1071eb(0x3ba)])===null||_0x1843f7===void 0x0?void 0x0:_0x1843f7[_0x1071eb(0x32f)](_0x1f1253[_0x1071eb(0x4cb)]));}));}})),_0x3f4c13[_0x22b009(0x18c)]('backgroundColor',_0x346a6e=>({'set'(_0x58d165){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x346a6e['id'],'style':{'backgroundColor':_0x58d165!==null&&_0x58d165!==void 0x0?_0x58d165:null}});},'get'(){const _0x19c37b=_0x22b009;return _0x346a6e['style$'][_0x19c37b(0x198)]((0x0,rxjs[_0x19c37b(0x26a)])(_0x2adc1b=>_0x2adc1b===null||_0x2adc1b===void 0x0?void 0x0:_0x2adc1b['backgroundColor']),(0x0,rxjs[_0x19c37b(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)]('borderColor',_0x407887=>({'set'(_0x2bdb64){const _0x2f5581=_0x22b009;_0x3f4c13[_0x2f5581(0x48f)]({'chartModelId':_0x407887['id'],'style':{'borderColor':_0x2bdb64!==null&&_0x2bdb64!==void 0x0?_0x2bdb64:null}}),_0x3f4c13[_0x2f5581(0x3ef)](_0x407887['id'],_0x2bdb64);},'get'(){const _0x1e7459=_0x22b009;return _0x407887['style$'][_0x1e7459(0x198)]((0x0,rxjs['map'])(_0x3d9019=>_0x3d9019[_0x1e7459(0x26f)]),(0x0,rxjs[_0x1e7459(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x495),_0x292ea5=>({'set'(_0x426c97){const _0x438109=_0x22b009;_0x3f4c13[_0x438109(0x48f)]({'chartModelId':_0x292ea5['id'],'style':{'fontSize':_0x426c97}});},'get'(){const _0x1ce063=_0x22b009;return _0x292ea5['style$'][_0x1ce063(0x198)]((0x0,rxjs[_0x1ce063(0x26a)])(_0x5c40d4=>_0x5c40d4[_0x1ce063(0x495)]),(0x0,rxjs[_0x1ce063(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x45a),_0x17ee8b=>({'set'(_0x3c9664){const _0x189d69=_0x22b009;_0x3f4c13[_0x189d69(0x48f)]({'chartModelId':_0x17ee8b['id'],'style':{'titleFontSize':_0x3c9664}});},'get'(){const _0x569d9e=_0x22b009;return _0x17ee8b[_0x569d9e(0x440)]['pipe']((0x0,rxjs['map'])(_0x1898a2=>_0x1898a2['titleFontSize']),(0x0,rxjs[_0x569d9e(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x173),_0x3ceed7=>({'set'(_0x29be8b){const _0x276989=_0x22b009;_0x3f4c13[_0x276989(0x48f)]({'chartModelId':_0x3ceed7['id'],'style':{'titles':_0x29be8b}});},'get'(){const _0x5eed1d=_0x22b009;return _0x3ceed7[_0x5eed1d(0x440)][_0x5eed1d(0x198)]((0x0,rxjs['map'])(_0x27c64e=>_0x27c64e[_0x5eed1d(0x173)]));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x3d6),_0x23cd7c=>({'set'(_0x355033){const _0x49876c=_0x22b009,_0x396c78=Object[_0x49876c(0x2bf)](_0x355033),_0x5f1b3c=_univerjs_core[_0x49876c(0x2e2)]['deepClone'](_0x23cd7c[_0x49876c(0x48c)]['seriesStyleMap']||{}),_0x488e33={};for(const _0x15fc63 in _0x5f1b3c)if(_0x5f1b3c[_0x49876c(0x37b)](_0x15fc63)){const _0x2a1001=_0x5f1b3c[_0x15fc63];if(!_0x2a1001)continue;for(const _0x4ed4f6 of _0x396c78)if(_0x2a1001[_0x49876c(0x37b)](_0x4ed4f6))_0x488e33[_0x15fc63]={[_0x4ed4f6]:null};}const _0x5cc659={'allSeriesStyle':_0x355033,'seriesStyleMap':_0x488e33},_0x45aa3f=_0x23cd7c[_0x49876c(0x3be)],_0x1faba6=new Set(_0x396c78);if(_0x45aa3f===_univerjs_pro_engine_chart[_0x49876c(0x448)][_0x49876c(0x518)]&&(_0x1faba6['has'](_0x49876c(0x461))||_0x1faba6['has'](_0x49876c(0x315))))_0x5cc659[_0x49876c(0x1cd)]={'fill':!![]};_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x23cd7c['id'],'style':_0x5cc659});},'get'(){const _0x317197=_0x22b009;return _0x23cd7c[_0x317197(0x440)][_0x317197(0x198)]((0x0,rxjs['map'])(_0x7b7ff1=>_0x7b7ff1[_0x317197(0x3d6)]));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x400),_0x2beee2=>({'set'(_0x940ee2){const _0x69b2bd=_0x22b009;_0x3f4c13[_0x69b2bd(0x48f)]({'chartModelId':_0x2beee2['id'],'style':{'seriesStyleMap':_0x940ee2}});},'get'(){const _0x35e3da=_0x22b009;return _0x2beee2[_0x35e3da(0x440)][_0x35e3da(0x198)]((0x0,rxjs['map'])(_0x19218e=>_0x19218e[_0x35e3da(0x400)]));}})),_0x3f4c13[_0x22b009(0x18c)]('legendStyle',_0x28dfa2=>({'set'(_0x4175bd){const _0xd4d34b=_0x22b009;_0x3f4c13[_0xd4d34b(0x48f)]({'chartModelId':_0x28dfa2['id'],'style':{'legend':_0x4175bd}});},'get'(){const _0x15bfb0=_0x22b009;return _0x28dfa2['style$'][_0x15bfb0(0x198)]((0x0,rxjs[_0x15bfb0(0x26a)])(_0x5625ae=>_0x5625ae['legend']));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x522),_0x3cd21d=>({'set'(_0x3567bf){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x3cd21d['id'],'style':{'xAxis':_0x3567bf}});},'get'(){const _0x20509f=_0x22b009;return _0x3cd21d[_0x20509f(0x440)]['pipe']((0x0,rxjs['map'])(_0x710ec9=>_0x710ec9[_0x20509f(0x4d9)]));}})),_0x3f4c13['registerViewState']('yAxisOptions',_0xf02ece=>({'set'(_0x5eb8fc){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0xf02ece['id'],'style':{'yAxis':_0x5eb8fc}});},'get'(){const _0x2c224e=_0x22b009;return _0xf02ece[_0x2c224e(0x440)][_0x2c224e(0x198)]((0x0,rxjs[_0x2c224e(0x26a)])(_0x27822f=>_0x27822f[_0x2c224e(0x3a7)]));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x484),_0x875282=>({'set'(_0x3a0b18){const _0x321fab=_0x22b009;_0x3f4c13[_0x321fab(0x48f)]({'chartModelId':_0x875282['id'],'style':{'rightYAxis':_0x3a0b18}});},'get'(){const _0x35b6aa=_0x22b009;return _0x875282[_0x35b6aa(0x440)][_0x35b6aa(0x198)]((0x0,rxjs[_0x35b6aa(0x26a)])(_0x1c413d=>_0x1c413d['rightYAxis']));}})),_0x3f4c13['registerViewState'](_0x22b009(0x4b1),_0x4975e1=>{const _0x1caac5=_0x22b009;return _0x4975e1[_0x1caac5(0x440)]['pipe']((0x0,rxjs[_0x1caac5(0x26a)])(()=>_0x4975e1[_0x1caac5(0x151)]()[_0x1caac5(0x322)]));}),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x483),_0x49bf1d=>({'set'(_0x27d14f){const _0x522da4=_0x22b009;_0x3f4c13[_0x522da4(0x48f)]({'chartModelId':_0x49bf1d['id'],'style':{'area':{'lineStyle':_0x27d14f!==null&&_0x27d14f!==void 0x0?_0x27d14f:void 0x0}}});},'get'(){const _0x5b68a4=_0x22b009;return _0x49bf1d[_0x5b68a4(0x440)]['pipe']((0x0,rxjs[_0x5b68a4(0x26a)])(_0x6a6f3f=>{const _0x20fa12=_0x5b68a4;var _0x216c0d;return(_0x216c0d=_0x6a6f3f['area'])===null||_0x216c0d===void 0x0?void 0x0:_0x216c0d[_0x20fa12(0x9d)];}));}})),_0x3f4c13['registerViewState'](_0x22b009(0x2f1),_0x2fdad9=>({'set'(_0x3588a0){const _0x541672=_0x22b009;_0x3f4c13[_0x541672(0x48f)]({'chartModelId':_0x2fdad9['id'],'style':{'pie':{'labelStyle':_0x3588a0!==null&&_0x3588a0!==void 0x0?_0x3588a0:void 0x0}}});},'get'(){const _0x4995fe=_0x22b009;return _0x2fdad9[_0x4995fe(0x440)][_0x4995fe(0x198)]((0x0,rxjs[_0x4995fe(0x26a)])(_0x26919b=>{const _0x35f81e=_0x4995fe;var _0x3ee3db;return(_0x3ee3db=_0x26919b['pie'])===null||_0x3ee3db===void 0x0?void 0x0:_0x3ee3db[_0x35f81e(0x2c2)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0xcd),_0x25bd63=>({'set'(_0x28c02c){const _0x5907ee=_0x22b009;_0x3f4c13[_0x5907ee(0x48f)]({'chartModelId':_0x25bd63['id'],'style':{'wordCloud':{'shape':_0x28c02c!==null&&_0x28c02c!==void 0x0?_0x28c02c:void 0x0,'maskImage':_0x28c02c!==null&&_0x28c02c!==void 0x0?_0x28c02c:void 0x0}}});},'get'(){const _0x32e767=_0x22b009;return _0x25bd63[_0x32e767(0x440)]['pipe']((0x0,rxjs[_0x32e767(0x26a)])(_0x4ee279=>{const _0x49659a=_0x32e767;var _0x4763f1;return(_0x4763f1=_0x4ee279[_0x49659a(0x14c)])===null||_0x4763f1===void 0x0?void 0x0:_0x4763f1[_0x49659a(0x146)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x1f0),_0x387b15=>({'set'(_0x2815f8){const _0x54d049=_0x22b009;_0x3f4c13[_0x54d049(0x48f)]({'chartModelId':_0x387b15['id'],'style':{'wordCloud':{'maskImage':_0x2815f8!==null&&_0x2815f8!==void 0x0?_0x2815f8:void 0x0,'shape':void 0x0}}});},'get'(){const _0x4f0bf1=_0x22b009;return _0x387b15[_0x4f0bf1(0x440)][_0x4f0bf1(0x198)]((0x0,rxjs[_0x4f0bf1(0x26a)])(_0x319a66=>{const _0x211d61=_0x4f0bf1;var _0x68328f;return(_0x68328f=_0x319a66[_0x211d61(0x14c)])===null||_0x68328f===void 0x0?void 0x0:_0x68328f[_0x211d61(0x36a)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x39f),_0x2f359b=>({'set'(_0x3cb5d6){const _0x3c60ed=_0x22b009;_0x3f4c13[_0x3c60ed(0x48f)]({'chartModelId':_0x2f359b['id'],'style':{'wordCloud':{'repeat':_0x3cb5d6!==null&&_0x3cb5d6!==void 0x0?_0x3cb5d6:void 0x0}}});},'get'(){const _0x31bc48=_0x22b009;return _0x2f359b[_0x31bc48(0x440)]['pipe']((0x0,rxjs[_0x31bc48(0x26a)])(_0xbb5052=>{const _0x2d504a=_0x31bc48;var _0x3563cc;return(_0x3563cc=_0xbb5052[_0x2d504a(0x14c)])===null||_0x3563cc===void 0x0?void 0x0:_0x3563cc[_0x2d504a(0x4ed)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x91),_0x15fb6e=>({'set'(_0x434dac){const _0x30a46d=_0x22b009;_0x3f4c13[_0x30a46d(0x48f)]({'chartModelId':_0x15fb6e['id'],'style':{'funnel':{'gap':_0x434dac!==null&&_0x434dac!==void 0x0?_0x434dac:void 0x0}}});},'get'(){const _0x3841a5=_0x22b009;return _0x15fb6e['style$']['pipe']((0x0,rxjs[_0x3841a5(0x26a)])(_0x577599=>{const _0x122e02=_0x3841a5;var _0x5c9139;return(_0x5c9139=_0x577599[_0x122e02(0x43e)])===null||_0x5c9139===void 0x0?void 0x0:_0x5c9139['gap'];}));}})),_0x3f4c13['registerViewState'](_0x22b009(0x19f),_0x4c32f2=>({'set'(_0x275f09){const _0x39a716=_0x22b009;_0x3f4c13[_0x39a716(0x48f)]({'chartModelId':_0x4c32f2['id'],'style':{'funnel':{'useAbsValue':_0x275f09!==null&&_0x275f09!==void 0x0?_0x275f09:void 0x0}}});},'get'(){const _0x3519e7=_0x22b009;return _0x4c32f2['style$'][_0x3519e7(0x198)]((0x0,rxjs[_0x3519e7(0x26a)])(_0x2ecb91=>{var _0x424abd;return(_0x424abd=_0x2ecb91['funnel'])===null||_0x424abd===void 0x0?void 0x0:_0x424abd['useAbsValue'];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x32e),_0x17594f=>({'set'(_0xf46c3d){const _0x105736=_0x22b009;_0x3f4c13[_0x105736(0x48f)]({'chartModelId':_0x17594f['id'],'style':{'pie':{'hasPaddingAngle':Boolean(_0xf46c3d)}}});},'get'(){const _0x2dcc93=_0x22b009;return _0x17594f[_0x2dcc93(0x440)][_0x2dcc93(0x198)]((0x0,rxjs[_0x2dcc93(0x26a)])(_0x34ae2f=>{const _0x492715=_0x2dcc93;var _0xaa57d8;return(_0xaa57d8=_0x34ae2f[_0x492715(0x273)])===null||_0xaa57d8===void 0x0?void 0x0:_0xaa57d8['hasPaddingAngle'];}));}})),_0x3f4c13['registerViewState'](_0x22b009(0xff),_0x1cb87a=>({'set'(_0x4f7d73){const _0xd9fb2f=_0x22b009;_0x3f4c13[_0xd9fb2f(0x48f)]({'chartModelId':_0x1cb87a['id'],'style':{'pie':{'isHalfPie':Boolean(_0x4f7d73)}}});},'get'(){const _0x49c9fb=_0x22b009;return _0x1cb87a['style$'][_0x49c9fb(0x198)]((0x0,rxjs[_0x49c9fb(0x26a)])(_0x42d019=>{const _0x4e8eea=_0x49c9fb;var _0x31c2c5;return(_0x31c2c5=_0x42d019[_0x4e8eea(0x273)])===null||_0x31c2c5===void 0x0?void 0x0:_0x31c2c5[_0x4e8eea(0xff)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x81),_0x2f573b=>({'set'(_0x394194){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x2f573b['id'],'style':{'pie':{'valueScale':Number(_0x394194)}}});},'get'(){const _0x1f685c=_0x22b009;return _0x2f573b[_0x1f685c(0x440)][_0x1f685c(0x198)]((0x0,rxjs[_0x1f685c(0x26a)])(_0x5aca2e=>{const _0x3d3af9=_0x1f685c;var _0x2b0070;return(_0x2b0070=_0x5aca2e[_0x3d3af9(0x273)])===null||_0x2b0070===void 0x0?void 0x0:_0x2b0070['valueScale'];}));}})),_0x3f4c13['registerViewState'](_0x22b009(0x12c),_0x522c12=>({'set'(_0x2bbb0d){const _0x5b4b04=_0x22b009;_0x3f4c13[_0x5b4b04(0x48f)]({'chartModelId':_0x522c12['id'],'style':{'pie':{'digitalFixed':Number(_0x2bbb0d)}}});},'get'(){const _0x2914f7=_0x22b009;return _0x522c12[_0x2914f7(0x440)][_0x2914f7(0x198)]((0x0,rxjs[_0x2914f7(0x26a)])(_0x226626=>{const _0x1b5e50=_0x2914f7;var _0x2cbabc;return(_0x2cbabc=_0x226626[_0x1b5e50(0x273)])===null||_0x2cbabc===void 0x0?void 0x0:_0x2cbabc[_0x1b5e50(0x12c)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x487),_0x476d9b=>({'set'(_0x434a42){const _0x4056a6=_0x22b009;_0x3f4c13[_0x4056a6(0x48f)]({'chartModelId':_0x476d9b['id'],'style':{'pie':{'valueSuffix':String(_0x434a42)}}});},'get'(){const _0x3f48bd=_0x22b009;return _0x476d9b[_0x3f48bd(0x440)][_0x3f48bd(0x198)]((0x0,rxjs[_0x3f48bd(0x26a)])(_0x260e09=>{const _0xa26ebf=_0x3f48bd;var _0x4a3934;return(_0x4a3934=_0x260e09[_0xa26ebf(0x273)])===null||_0x4a3934===void 0x0?void 0x0:_0x4a3934[_0xa26ebf(0x487)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x474),_0x3c0a57=>({'set'(_0x2a7637){const _0x38cf0e=_0x22b009;_0x3f4c13[_0x38cf0e(0x48f)]({'chartModelId':_0x3c0a57['id'],'style':{'pie':{'rosePie':Boolean(_0x2a7637)}}});},'get'(){const _0xf79f9f=_0x22b009;return _0x3c0a57[_0xf79f9f(0x440)][_0xf79f9f(0x198)]((0x0,rxjs[_0xf79f9f(0x26a)])(_0x12823d=>{const _0x522d9e=_0xf79f9f;var _0x525eee;return(_0x525eee=_0x12823d[_0x522d9e(0x273)])===null||_0x525eee===void 0x0?void 0x0:_0x525eee[_0x522d9e(0x15d)];}));}})),_0x3f4c13[_0x22b009(0x18c)]('showLabelLine',_0x26365b=>({'set'(_0xf1b37e){const _0x40e741=_0x22b009;_0x3f4c13[_0x40e741(0x48f)]({'chartModelId':_0x26365b['id'],'style':{'pie':{'showLabelLine':Boolean(_0xf1b37e)}}});},'get'(){const _0x2fc341=_0x22b009;return _0x26365b['style$'][_0x2fc341(0x198)]((0x0,rxjs['map'])(_0x6d36a0=>{const _0x229daf=_0x2fc341;var _0x33dcaa;return(_0x33dcaa=_0x6d36a0[_0x229daf(0x273)])===null||_0x33dcaa===void 0x0?void 0x0:_0x33dcaa[_0x229daf(0x4d4)];}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0xa8),_0x4fefcf=>({'set'(_0xb4da08){const _0x34ca32=_0x22b009;_0x3f4c13[_0x34ca32(0x48f)]({'chartModelId':_0x4fefcf['id'],'chartType':_0xb4da08?_univerjs_pro_engine_chart[_0x34ca32(0x448)][_0x34ca32(0x2be)]:_univerjs_pro_engine_chart['ChartTypeBits'][_0x34ca32(0xf5)],'style':{'pie':{'doughnutHole':_0xb4da08}}});},'get'(){const _0x4f6ee0=_0x22b009;return _0x4fefcf[_0x4f6ee0(0x440)][_0x4f6ee0(0x198)]((0x0,rxjs['map'])(_0x2f75aa=>{const _0x354f08=_0x4f6ee0;var _0x219d2b;return(_0x219d2b=_0x2f75aa[_0x354f08(0x273)])===null||_0x219d2b===void 0x0?void 0x0:_0x219d2b[_0x354f08(0xa8)];}),(0x0,rxjs[_0x4f6ee0(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0xe9),_0xe523e7=>({'set'(_0x3236e3){const _0x387cac=_0x22b009;_0x3f4c13[_0x387cac(0x48f)]({'chartModelId':_0xe523e7['id'],'style':{'pie':{'borderColor':_0x3236e3}}});},'get'(){const _0x2a66bb=_0x22b009;return _0xe523e7['style$'][_0x2a66bb(0x198)]((0x0,rxjs[_0x2a66bb(0x26a)])(_0x181edf=>{const _0x54044e=_0x2a66bb;var _0x50b9c5;return(_0x50b9c5=_0x181edf[_0x54044e(0x273)])===null||_0x50b9c5===void 0x0?void 0x0:_0x50b9c5[_0x54044e(0x26f)];}),(0x0,rxjs[_0x2a66bb(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0xa5),_0x1ecc8e=>({'set'(_0x3f1219){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x1ecc8e['id'],'style':{'radar':{'shape':_0x3f1219}}});},'get'(){const _0x1cbeb8=_0x22b009;return _0x1ecc8e[_0x1cbeb8(0x440)][_0x1cbeb8(0x198)]((0x0,rxjs[_0x1cbeb8(0x26a)])(_0x170e2a=>{const _0x4d7a0f=_0x1cbeb8;var _0x5415ab;return(_0x5415ab=_0x170e2a[_0x4d7a0f(0x1cd)])===null||_0x5415ab===void 0x0?void 0x0:_0x5415ab['shape'];}),(0x0,rxjs[_0x1cbeb8(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x255),_0x158915=>({'set'(_0xe2de02){const _0x278b46=_0x22b009;_0x3f4c13[_0x278b46(0x48f)]({'chartModelId':_0x158915['id'],'style':{'radar':{'fill':_0xe2de02}}});},'get'(){const _0x4c5804=_0x22b009;return _0x158915[_0x4c5804(0x440)][_0x4c5804(0x198)]((0x0,rxjs[_0x4c5804(0x26a)])(_0x297d37=>{const _0x53e4f8=_0x4c5804;var _0x4ed314;return(_0x4ed314=_0x297d37[_0x53e4f8(0x1cd)])===null||_0x4ed314===void 0x0?void 0x0:_0x4ed314[_0x53e4f8(0x2f2)];}),(0x0,rxjs[_0x4c5804(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x3e2),_0x693cda=>({'set'(_0x4d99e5){const _0x3f542f=_0x22b009;_0x3f4c13[_0x3f542f(0x48f)]({'chartModelId':_0x693cda['id'],'style':{'invalidValueType':_0x4d99e5}});},'get'(){const _0x2bf7a2=_0x22b009;return _0x693cda[_0x2bf7a2(0x440)][_0x2bf7a2(0x198)]((0x0,rxjs['map'])(_0x4ba440=>_0x4ba440[_0x2bf7a2(0x3e2)]),(0x0,rxjs[_0x2bf7a2(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x30e),_0x371d79=>{const _0x5887b6=_0x22b009;return _0x371d79[_0x5887b6(0xa6)][_0x5887b6(0x198)]((0x0,rxjs[_0x5887b6(0x26a)])(_0x53fb71=>{const _0x2d6f40=_0x5887b6;var _0x2d3ed9,_0x86820f;const _0x4a6104=_0x53fb71===null||_0x53fb71===void 0x0||(_0x2d3ed9=_0x53fb71['category'])===null||_0x2d3ed9===void 0x0?void 0x0:_0x2d3ed9[_0x2d6f40(0x336)];return((_0x53fb71===null||_0x53fb71===void 0x0||(_0x86820f=_0x53fb71['series'][0x0])===null||_0x86820f===void 0x0?void 0x0:_0x86820f[_0x2d6f40(0x336)])||[])['map']((_0x120e00,_0x4d4a00)=>{const _0x343578=_0x2d6f40;return{'label':_0x4a6104&&_0x4a6104[_0x4d4a00]!==void 0x0?_0x4a6104[_0x4d4a00][_0x343578(0x1bd)]:_0x3f4c13['t'](_0x343578(0xa4),''+(_0x4d4a00+0x1)),'value':''+_0x4d4a00};});}));}),_0x3f4c13[_0x22b009(0x18c)]('chartThemeColorType',_0x590cb1=>({'set'(_0x521f99){const _0x4dc491=_0x22b009,_0x467a0d={'theme':_0x521f99},_0x573227=_0x590cb1[_0x4dc491(0x48c)]['allSeriesStyle'];if((_0x573227===null||_0x573227===void 0x0?void 0x0:_0x573227[_0x4dc491(0x461)])!==void 0x0){var _0x17a949,_0x36fcc5,_0x26acdc;_0x467a0d[_0x4dc491(0x3d6)]={'color':null};if((_0x573227===null||_0x573227===void 0x0||(_0x17a949=_0x573227[_0x4dc491(0x429)])===null||_0x17a949===void 0x0||(_0x17a949=_0x17a949[_0x4dc491(0x4fd)])===null||_0x17a949===void 0x0?void 0x0:_0x17a949['color'])!==void 0x0)_0x573227[_0x4dc491(0x429)][_0x4dc491(0x4fd)]['color']=null;if((_0x573227===null||_0x573227===void 0x0||(_0x36fcc5=_0x573227['waterfall'])===null||_0x36fcc5===void 0x0||(_0x36fcc5=_0x36fcc5[_0x4dc491(0x106)])===null||_0x36fcc5===void 0x0?void 0x0:_0x36fcc5[_0x4dc491(0x461)])!==void 0x0)_0x573227['waterfall'][_0x4dc491(0x106)]['color']=null;if((_0x573227===null||_0x573227===void 0x0||(_0x26acdc=_0x573227[_0x4dc491(0x429)])===null||_0x26acdc===void 0x0||(_0x26acdc=_0x26acdc[_0x4dc491(0x39e)])===null||_0x26acdc===void 0x0?void 0x0:_0x26acdc[_0x4dc491(0x461)])!==void 0x0)_0x573227['waterfall'][_0x4dc491(0x39e)][_0x4dc491(0x461)]=null;}const _0x20f807=_0x590cb1[_0x4dc491(0x48c)]['seriesStyleMap']||{};for(const _0x566db5 in _0x20f807){var _0x381f6e,_0x587077,_0x14143e;if(_0x20f807[_0x566db5][_0x4dc491(0x461)]!==void 0x0)_0x467a0d[_0x4dc491(0x400)]={..._0x467a0d[_0x4dc491(0x400)],[_0x566db5]:{'color':null}};if(((_0x381f6e=_0x20f807[_0x566db5])===null||_0x381f6e===void 0x0||(_0x381f6e=_0x381f6e['waterfall'])===null||_0x381f6e===void 0x0||(_0x381f6e=_0x381f6e[_0x4dc491(0x4fd)])===null||_0x381f6e===void 0x0?void 0x0:_0x381f6e[_0x4dc491(0x461)])!==void 0x0)_0x20f807[_0x566db5][_0x4dc491(0x429)][_0x4dc491(0x4fd)]['color']=null;if(((_0x587077=_0x20f807[_0x566db5])===null||_0x587077===void 0x0||(_0x587077=_0x587077[_0x4dc491(0x429)])===null||_0x587077===void 0x0||(_0x587077=_0x587077[_0x4dc491(0x106)])===null||_0x587077===void 0x0?void 0x0:_0x587077[_0x4dc491(0x461)])!==void 0x0)_0x20f807[_0x566db5][_0x4dc491(0x429)]['negative'][_0x4dc491(0x461)]=null;if(((_0x14143e=_0x20f807[_0x566db5])===null||_0x14143e===void 0x0||(_0x14143e=_0x14143e[_0x4dc491(0x429)])===null||_0x14143e===void 0x0||(_0x14143e=_0x14143e[_0x4dc491(0x39e)])===null||_0x14143e===void 0x0?void 0x0:_0x14143e['color'])!==void 0x0)_0x20f807[_0x566db5][_0x4dc491(0x429)][_0x4dc491(0x39e)][_0x4dc491(0x461)]=null;}_0x3f4c13[_0x4dc491(0x48f)]({'chartModelId':_0x590cb1['id'],'style':_0x467a0d});},'get'(){const _0x3eac53=_0x22b009;return _0x590cb1[_0x3eac53(0x440)][_0x3eac53(0x198)]((0x0,rxjs[_0x3eac53(0x26a)])(_0x18070f=>_0x18070f[_0x3eac53(0x30a)]||_0x3eac53(0x500)));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x92),_0xcd1334=>({'set'(_0x5569af){const _0x2c0b14=_0x22b009;_0x3f4c13[_0x2c0b14(0x48f)]({'chartModelId':_0xcd1334['id'],'style':{'titles':{'titlePosition':_0x5569af}}});},'get'(){const _0x40fb42=_0x22b009;return _0xcd1334[_0x40fb42(0x440)]['pipe']((0x0,rxjs[_0x40fb42(0x26a)])(_0x45eb7d=>{const _0x2158b8=_0x40fb42;var _0x8f3857;return((_0x8f3857=_0x45eb7d[_0x2158b8(0x173)])===null||_0x8f3857===void 0x0?void 0x0:_0x8f3857[_0x2158b8(0x92)])||void 0x0;}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x143),_0x2c9bb9=>({'set'(_0x4056cf){const _0xbab68a=_0x22b009;_0x3f4c13[_0xbab68a(0x48f)]({'chartModelId':_0x2c9bb9['id'],'context':{'bubbleSizeSeriesId':_0x4056cf}});},'get'(){const _0x37d90b=_0x22b009;return _0x2c9bb9[_0x37d90b(0x261)][_0x37d90b(0x198)]((0x0,rxjs[_0x37d90b(0x26a)])(_0x8ef7b9=>_0x8ef7b9[_0x37d90b(0x143)]||void 0x0));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x2a5),_0x9937e6=>({'set'(_0x214345){const _0x342398=_0x22b009;_0x3f4c13[_0x342398(0x48f)]({'chartModelId':_0x9937e6['id'],'context':{'bubbleXAxis':_0x214345}});},'get'(){const _0x396b23=_0x22b009;return _0x9937e6['context$'][_0x396b23(0x198)]((0x0,rxjs['map'])(_0x5c75c7=>{const _0x5b82e1=_0x396b23;var _0x1b0bd6;return(_0x1b0bd6=_0x5c75c7[_0x5b82e1(0x2a5)])!==null&&_0x1b0bd6!==void 0x0?_0x1b0bd6:void 0x0;}));}})),_0x3f4c13['registerViewState'](_0x22b009(0x148),_0x2fc0b0=>({'set'(_0x2929c2){const _0x2d4599=_0x22b009;_0x3f4c13[_0x2d4599(0x48f)]({'chartModelId':_0x2fc0b0['id'],'context':{'bubbleYAxis':_0x2929c2}});},'get'(){const _0x4872e0=_0x22b009;return _0x2fc0b0[_0x4872e0(0x261)][_0x4872e0(0x198)]((0x0,rxjs[_0x4872e0(0x26a)])(_0x15224d=>{const _0x2c0f66=_0x4872e0;var _0x3b3d91;return(_0x3b3d91=_0x15224d[_0x2c0f66(0x148)])!==null&&_0x3b3d91!==void 0x0?_0x3b3d91:void 0x0;}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x4cc),_0x2e95b5=>({'set'(_0x1fe9fa){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x2e95b5['id'],'context':{'bubbleLabel':_0x1fe9fa}});},'get'(){const _0x2d86af=_0x22b009;return _0x2e95b5[_0x2d86af(0x261)]['pipe']((0x0,rxjs['map'])(_0x5b4e4d=>{const _0xeac30f=_0x2d86af;var _0x232f88;return(_0x232f88=_0x5b4e4d[_0xeac30f(0x4cc)])!==null&&_0x232f88!==void 0x0?_0x232f88:void 0x0;}));}})),_0x3f4c13[_0x22b009(0x18c)]('bubbleSeries',_0x13a148=>({'set'(_0x4bee4c){const _0x4a8817=_0x22b009;_0x3f4c13[_0x4a8817(0x48f)]({'chartModelId':_0x13a148['id'],'context':{'bubbleSeries':_0x4bee4c}});},'get'(){const _0x1c6b84=_0x22b009;return _0x13a148[_0x1c6b84(0x261)][_0x1c6b84(0x198)]((0x0,rxjs[_0x1c6b84(0x26a)])(_0x137f34=>{const _0x33d51e=_0x1c6b84;var _0x597695;return(_0x597695=_0x137f34[_0x33d51e(0x389)])!==null&&_0x597695!==void 0x0?_0x597695:void 0x0;}));}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x423),_0x4df37e=>({'set'(_0x4d466c){const _0xd804de=_0x22b009;_0x3f4c13[_0xd804de(0x48f)]({'chartModelId':_0x4df37e['id'],'style':{'relation':{'layout':_0x4d466c}}});},'get'(){const _0x2c462b=_0x22b009;return _0x4df37e[_0x2c462b(0x440)][_0x2c462b(0x198)]((0x0,rxjs['map'])(_0x210931=>{const _0x4158d2=_0x2c462b;var _0x15c89b;return(_0x15c89b=_0x210931[_0x4158d2(0x12d)])===null||_0x15c89b===void 0x0?void 0x0:_0x15c89b['layout'];}),(0x0,rxjs[_0x2c462b(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0xb0),_0x3f6dad=>({'set'(_0x556dc9){const _0x48381a=_0x22b009;_0x3f4c13[_0x48381a(0x48f)]({'chartModelId':_0x3f6dad['id'],'style':{'relation':{'useValueAsSymbolSize':Boolean(_0x556dc9)}}});},'get'(){const _0x29d976=_0x22b009;return _0x3f6dad[_0x29d976(0x440)][_0x29d976(0x198)]((0x0,rxjs[_0x29d976(0x26a)])(_0x31cf57=>{const _0x28b3a8=_0x29d976;var _0x160184;return(_0x160184=_0x31cf57[_0x28b3a8(0x12d)])===null||_0x160184===void 0x0?void 0x0:_0x160184[_0x28b3a8(0xb0)];}),(0x0,rxjs[_0x29d976(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0xbc),_0x41b2e6=>({'set'(_0x428c2b){const _0x59a6cc=_0x22b009;_0x3f4c13[_0x59a6cc(0x48f)]({'chartModelId':_0x41b2e6['id'],'style':{'relation':{'force':_0x428c2b}}});},'get'(){const _0x1ccf5c=_0x22b009;return _0x41b2e6['style$'][_0x1ccf5c(0x198)]((0x0,rxjs[_0x1ccf5c(0x26a)])(_0x24079b=>{const _0x4e94f2=_0x1ccf5c;var _0x485633;return(_0x485633=_0x24079b[_0x4e94f2(0x12d)])===null||_0x485633===void 0x0?void 0x0:_0x485633[_0x4e94f2(0x356)];}),(0x0,rxjs[_0x1ccf5c(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x374),_0x36fc12=>({'set'(_0x511266){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x36fc12['id'],'style':{'relation':{'circular':{'rotateLabel':Boolean(_0x511266)}}}});},'get'(){const _0x42cdc0=_0x22b009;return _0x36fc12[_0x42cdc0(0x440)]['pipe']((0x0,rxjs[_0x42cdc0(0x26a)])(_0x281d0c=>{const _0x4552d9=_0x42cdc0;var _0xef5952;return(_0xef5952=_0x281d0c['relation'])===null||_0xef5952===void 0x0||(_0xef5952=_0xef5952[_0x4552d9(0x430)])===null||_0xef5952===void 0x0?void 0x0:_0xef5952[_0x4552d9(0x374)];}),(0x0,rxjs[_0x42cdc0(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)]('relationNodeShape',_0x2895a0=>({'set'(_0x548e16){const _0x1fae14=_0x22b009;_0x3f4c13[_0x1fae14(0x48f)]({'chartModelId':_0x2895a0['id'],'style':{'relation':{'nodeShape':_0x548e16}}});},'get'(){const _0x47a06e=_0x22b009;return _0x2895a0[_0x47a06e(0x440)][_0x47a06e(0x198)]((0x0,rxjs[_0x47a06e(0x26a)])(_0x5d3aca=>{const _0x3890d0=_0x47a06e;var _0x36d444;return(_0x36d444=_0x5d3aca[_0x3890d0(0x12d)])===null||_0x36d444===void 0x0?void 0x0:_0x36d444[_0x3890d0(0x207)];}),(0x0,rxjs[_0x47a06e(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0xb1),_0x9c9cb1=>({'set'(_0x224196){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x9c9cb1['id'],'style':{'relation':{'useEmphasis':Boolean(_0x224196)}}});},'get'(){const _0x2c23ff=_0x22b009;return _0x9c9cb1[_0x2c23ff(0x440)][_0x2c23ff(0x198)]((0x0,rxjs[_0x2c23ff(0x26a)])(_0x2d7ba5=>{const _0x46f672=_0x2c23ff;var _0x1fe4a1;return(_0x1fe4a1=_0x2d7ba5[_0x46f672(0x12d)])===null||_0x1fe4a1===void 0x0?void 0x0:_0x1fe4a1[_0x46f672(0xb1)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x1ba),_0x2eeb50=>({'set'(_0x561422){const _0x3a21fe=_0x22b009;_0x3f4c13[_0x3a21fe(0x48f)]({'chartModelId':_0x2eeb50['id'],'context':{'useDateAxis':Boolean(_0x561422)}});},'get'(){const _0x1d4d62=_0x22b009;return _0x2eeb50['context$']['pipe']((0x0,rxjs[_0x1d4d62(0x26a)])(_0x25b969=>_0x25b969[_0x1d4d62(0x1ba)]),(0x0,rxjs[_0x1d4d62(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0x385),_0x14f87c=>({'set'(_0x3dc0f4){const _0x708fa5=_0x22b009;_0x3f4c13[_0x708fa5(0x48f)]({'chartModelId':_0x14f87c['id'],'style':{'waterfall':{'stackType':_0x3dc0f4}}});},'get'(){const _0x20d2fb=_0x22b009;return _0x14f87c[_0x20d2fb(0x440)][_0x20d2fb(0x198)]((0x0,rxjs[_0x20d2fb(0x26a)])(_0x28eda2=>{const _0x5bf28e=_0x20d2fb;var _0x30565d;return(_0x30565d=_0x28eda2[_0x5bf28e(0x429)])===null||_0x30565d===void 0x0?void 0x0:_0x30565d[_0x5bf28e(0xba)];}),(0x0,rxjs[_0x20d2fb(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x317),_0x232bdb=>({'set'(_0xf81d73){_0x3f4c13['executeChartUpdateConfig']({'chartModelId':_0x232bdb['id'],'style':{'waterfall':{'useSubtotal':_0xf81d73}}});},'get'(){const _0x3a54c7=_0x22b009;return _0x232bdb[_0x3a54c7(0x440)]['pipe']((0x0,rxjs[_0x3a54c7(0x26a)])(_0x192317=>{const _0x19c874=_0x3a54c7;var _0x4dca0;return(_0x4dca0=_0x192317['waterfall'])===null||_0x4dca0===void 0x0?void 0x0:_0x4dca0[_0x19c874(0x317)];}),(0x0,rxjs[_0x3a54c7(0xfa)])());}})),_0x3f4c13['registerViewState'](_0x22b009(0xe8),_0x3044f6=>({'set'(_0x3687b5){const _0x535b3f=_0x22b009;_0x3f4c13[_0x535b3f(0x48f)]({'chartModelId':_0x3044f6['id'],'style':{'pareto':_0x3687b5}});},'get'(){const _0x58207e=_0x22b009;return _0x3044f6[_0x58207e(0x440)][_0x58207e(0x198)]((0x0,rxjs[_0x58207e(0x26a)])(_0xb518c5=>_0xb518c5[_0x58207e(0x260)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0xd3),_0x3c0248=>{const _0x108f50=_0x22b009;return _0x3c0248['config$'][_0x108f50(0x198)]((0x0,rxjs[_0x108f50(0x26a)])(_0x450c19=>{const _0x23589d=_0x108f50;var _0x182147;const _0x246663=_0x450c19===null||_0x450c19===void 0x0||(_0x182147=_0x450c19[_0x23589d(0x2eb)])===null||_0x182147===void 0x0?void 0x0:_0x182147[_0x23589d(0x336)],_0x194c90=new Map();return _0x450c19===null||_0x450c19===void 0x0||_0x450c19['series'][0x0][_0x23589d(0x336)]['forEach']((_0x2bd838,_0x82bf29)=>{const _0x57b30c=_0x23589d,_0x3a0067=_0x246663?String(_0x246663[_0x82bf29][_0x57b30c(0x30d)]):_0x3f4c13['t']('chart.theIndexItem',''+(_0x82bf29+0x1));if(!_0x194c90[_0x57b30c(0x3cc)](_0x3a0067))_0x194c90[_0x57b30c(0x3ea)](_0x3a0067,_0x2bd838['value']);}),Array[_0x23589d(0x150)](_0x194c90['entries']())[_0x23589d(0x24c)](_0x44d8c3=>_0x44d8c3[0x1]>0x0)['sort']((_0x1a1722,_0x535283)=>_0x535283[0x1]-_0x1a1722[0x1])[_0x23589d(0x26a)]((_0x18ef08,_0x3134fc)=>{const _0x3f5b2f=_0x23589d;return{'label':_0x18ef08[0x0]||_0x3f4c13['t'](_0x3f5b2f(0xa4),''+(_0x3134fc+0x1)),'value':''+_0x3134fc};});}));}),_0x3f4c13['registerViewState'](_0x22b009(0x170),_0x5e9680=>({'set'(_0x291c44){const _0x1727c6=_0x22b009;_0x3f4c13[_0x1727c6(0x48f)]({'chartModelId':_0x5e9680['id'],'style':{'heatmap':{'visualMapType':_0x291c44}}});},'get'(){const _0x2ed5cc=_0x22b009;return _0x5e9680[_0x2ed5cc(0x440)][_0x2ed5cc(0x198)]((0x0,rxjs['map'])(_0x170582=>{const _0x1843b9=_0x2ed5cc;var _0x20a16f;return(_0x20a16f=_0x170582[_0x1843b9(0x94)])===null||_0x20a16f===void 0x0?void 0x0:_0x20a16f['visualMapType'];}),(0x0,rxjs[_0x2ed5cc(0xfa)])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x466),_0x190446=>({'set'(_0x431a59){const _0x194309=_0x22b009;_0x3f4c13[_0x194309(0x48f)]({'chartModelId':_0x190446['id'],'style':{'heatmap':{'max':_0x431a59}}});},'get'(){const _0x33624c=_0x22b009;return _0x190446[_0x33624c(0x440)]['pipe']((0x0,rxjs[_0x33624c(0x26a)])(_0xd24768=>{var _0x2f6243;return(_0x2f6243=_0xd24768['heatmap'])===null||_0x2f6243===void 0x0?void 0x0:_0x2f6243['max'];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x3f4c13[_0x22b009(0x18c)](_0x22b009(0x1cc),_0x40edc6=>({'set'(_0x5b6636){const _0xcad3ed=_0x22b009;_0x3f4c13[_0xcad3ed(0x48f)]({'chartModelId':_0x40edc6['id'],'style':{'heatmap':{'min':_0x5b6636}}});},'get'(){const _0x3c1824=_0x22b009;return _0x40edc6['style$']['pipe']((0x0,rxjs[_0x3c1824(0x26a)])(_0x52deec=>{const _0x1d4a67=_0x3c1824;var _0x4e1743;return(_0x4e1743=_0x52deec[_0x1d4a67(0x94)])===null||_0x4e1743===void 0x0?void 0x0:_0x4e1743[_0x1d4a67(0x462)];}),(0x0,rxjs[_0x3c1824(0xfa)])());}}));}let SheetsChartUIService=class SheetsChartUIService extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0x277c26,_0x2683be,_0xff1ab,_0x1b4c1d,_0x25de73,_0x2d728b){const _0x2ece2a=_0x38cd95;super(),this[_0x2ece2a(0xf7)]=_0x277c26,this['_sheetsChartService']=_0x2683be,this[_0x2ece2a(0xe5)]=_0xff1ab,this[_0x2ece2a(0x24e)]=_0x1b4c1d,this[_0x2ece2a(0x387)]=_0x25de73,this[_0x2ece2a(0x183)]=_0x2d728b,_defineProperty(this,_0x2ece2a(0xf6),new Map()),_defineProperty(this,_0x2ece2a(0x3db),![]),registryChartConfigState(this);}get[_0x38cd95(0x393)](){const _0x235365=_0x38cd95;return this['_chartModelService'][_0x235365(0x393)];}get['rangeSelectMode'](){const _0x1396c8=_0x38cd95;return this[_0x1396c8(0x3db)];}set[_0x38cd95(0x83)](_0x28a0d6){const _0x393c08=_0x38cd95;this[_0x393c08(0x3db)]=_0x28a0d6;}[_0x38cd95(0x364)](_0x2935d5){const _0x322174=_0x38cd95;return this[_0x322174(0x512)][_0x322174(0x3dd)](_0x2935d5);}['registerViewState'](_0x2a9d58,_0x321634){const _0x437cd1=_0x38cd95;this['_viewState'][_0x437cd1(0x3ea)](_0x2a9d58,_0x321634);}['getViewState'](_0x3a10e5){const _0xbe29b3=_0x38cd95,{activeChartModel:_0x47b9a5}=this[_0xbe29b3(0xf7)];if(!_0x47b9a5)return;const _0x41284e=this['_viewState']['get'](_0x3a10e5);if(_0x41284e)return _0x41284e(_0x47b9a5);}[_0x38cd95(0x48f)](_0x32e86f){const _0x316a33=_0x38cd95;var _0x2dc3b5,_0x355d24;this[_0x316a33(0xe5)][_0x316a33(0x4be)](_univerjs_pro_sheets_chart[_0x316a33(0x33e)]['id'],{..._0x32e86f,'unitId':(_0x2dc3b5=(_0x355d24=this[_0x316a33(0x183)][_0x316a33(0x1b7)]())===null||_0x355d24===void 0x0?void 0x0:_0x355d24[_0x316a33(0xa0)]())!==null&&_0x2dc3b5!==void 0x0?_0x2dc3b5:''});}[_0x38cd95(0x2ef)](_0x4e2fae){const _0x1cc034=_0x38cd95;var _0x2d1f2d,_0x11c4e6;this[_0x1cc034(0xe5)][_0x1cc034(0x4be)](_univerjs_pro_sheets_chart[_0x1cc034(0x469)]['id'],{..._0x4e2fae,'unitId':(_0x2d1f2d=(_0x11c4e6=this[_0x1cc034(0x183)][_0x1cc034(0x1b7)]())===null||_0x11c4e6===void 0x0?void 0x0:_0x11c4e6[_0x1cc034(0xa0)]())!==null&&_0x2d1f2d!==void 0x0?_0x2d1f2d:''});}[_0x38cd95(0x507)](_0x59f49b){const _0xd54f43=_0x38cd95,{_viewState:_0x22fb42}=this;if(_0x22fb42['has'](_0x59f49b))_0x22fb42[_0xd54f43(0x270)](_0x59f49b);}[_0x38cd95(0x3ef)](_0x5dd7f9,_0x4c3ec1){const _0x2821ed=_0x38cd95;this['_chartHostProviderService'][_0x2821ed(0x4ae)](_0x5dd7f9,{'stroke':_0x4c3ec1});}['t'](..._0x4c7e19){const _0x57e910=_0x38cd95;return this[_0x57e910(0x24e)]['t'](..._0x4c7e19);}[_0x38cd95(0x12f)](){const _0x1a618e=_0x38cd95;super[_0x1a618e(0x12f)](),this[_0x1a618e(0xf6)][_0x1a618e(0x13a)]();}};SheetsChartUIService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart['ChartModelService'])),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart['SheetsChartService'])),__decorateParam(0x2,_univerjs_core['ICommandService']),__decorateParam(0x3,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core[_0x38cd95(0x12b)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(IChartHostProviderService)),__decorateParam(0x5,_univerjs_core[_0x38cd95(0xd4)])],SheetsChartUIService);function useSheetsChartUIService(){const _0x31892a=_0x38cd95,_0xd111de=(0x0,_univerjs_ui[_0x31892a(0xdb)])(SheetsChartUIService);return(0x0,_univerjs_ui[_0x31892a(0x112)])((0x0,_univerjs_ui[_0x31892a(0xdb)])(_univerjs_pro_sheets_chart['ChartModelService'])[_0x31892a(0x501)]),_0xd111de;}function useChartConfigState(_0x381776,_0x1b02db,_0xb59917){const _0x139e7b=_0x38cd95,_0x318524=(0x0,react[_0x139e7b(0x316)])(()=>_0x1b02db[_0x139e7b(0x2ed)](_0x381776),[_0x1b02db,_0x1b02db['activeChartModel'],_0x381776]);return[(0x0,_univerjs_ui[_0x139e7b(0x112)])((0x0,react[_0x139e7b(0x316)])(()=>_0x318524 instanceof rxjs[_0x139e7b(0x2d9)]?_0x318524:_0x318524===null||_0x318524===void 0x0?void 0x0:_0x318524['get'](),[_0x318524]),_0xb59917),(0x0,react[_0x139e7b(0x1ed)])(_0x221fff=>{const _0xff9b0c=_0x139e7b;if(!(_0x318524 instanceof rxjs[_0xff9b0c(0x2d9)])){var _0x2c46a7;_0x318524===null||_0x318524===void 0x0||(_0x2c46a7=_0x318524[_0xff9b0c(0x3ea)])===null||_0x2c46a7===void 0x0||_0x2c46a7[_0xff9b0c(0x10a)](_0x318524,_0x221fff);}},[_0x318524])];}function serializeChartDataRange(_0x1adc7f,_0x195f9d){const _0x11192f=_0x38cd95;if(_0x1adc7f===null||_0x1adc7f===void 0x0)return'';if(Array[_0x11192f(0x49c)](_0x1adc7f))return'';else return serializeChartDataRangeItem(_0x1adc7f[_0x11192f(0x4fc)],_0x195f9d);}function serializeChartDataRangeItem(_0x5047d2,_0x135921){const _0x6bd805=_0x38cd95;var _0xf7de21;const {unitId:_0x5f3f0c,subUnitId:_0x2fc213,range:_0x14fb9f}=_0x5047d2,_0x163277=(_0xf7de21=_0x135921[_0x6bd805(0x139)](_0x5f3f0c))===null||_0xf7de21===void 0x0?void 0x0:_0xf7de21['getSheetBySheetId'](_0x2fc213);if(!_0x163277)return'';return(0x0,_univerjs_engine_formula[_0x6bd805(0x216)])(_0x163277[_0x6bd805(0xe3)](),_0x14fb9f);}const chartTypeOptions=[{'label':'chartTypes.line','value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0x1f1)],'icon':_0x38cd95(0x381)},{'label':_0x38cd95(0x1d4),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x15a)],'icon':_0x38cd95(0x157)},{'label':_0x38cd95(0x88),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0xf5)],'icon':_0x38cd95(0x89)},{'label':_0x38cd95(0x2fd),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x24d)],'icon':_0x38cd95(0x2ca)},{'label':'chartTypes.barStacked','value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x3c5)],'icon':_0x38cd95(0x2ca)},{'label':_0x38cd95(0x450),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x22e)],'icon':_0x38cd95(0x2ca)},{'label':_0x38cd95(0x1ce),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Doughnut'],'icon':'PieChartIcon'},{'label':_0x38cd95(0x96),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Area'],'icon':_0x38cd95(0x13b)},{'label':_0x38cd95(0x2bd),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x46a)],'icon':_0x38cd95(0x13b)},{'label':'chartTypes.areaPercentStacked','value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['AreaPercentStacked'],'icon':_0x38cd95(0x13b)},{'label':_0x38cd95(0xc9),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Radar'],'icon':_0x38cd95(0x4e6)},{'label':_0x38cd95(0x3fa),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x4b8)],'icon':_0x38cd95(0x289)},{'label':_0x38cd95(0x441),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x9e)],'icon':'ScatterChartIcon'},{'label':'chartTypes.wordCloud','value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x217)],'icon':_0x38cd95(0x453)},{'label':_0x38cd95(0x36e),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x160)],'icon':'FunnelIcon'},{'label':'chartTypes.bubble','value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x104)],'icon':_0x38cd95(0x390)},{'label':'chartTypes.relation','value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x186)],'icon':'RelationshipIcon'},{'label':_0x38cd95(0x437),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Waterfall'],'icon':_0x38cd95(0x19b)},{'label':'chartTypes.pareto','value':_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x50b)],'icon':_0x38cd95(0x289)},{'label':_0x38cd95(0x499),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Sankey'],'icon':_0x38cd95(0x4cd)},{'label':'chartTypes.heatmap','value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0x340)],'icon':'HeatmapChartIcon'},{'label':_0x38cd95(0x2b4),'value':_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Boxplot'],'icon':_0x38cd95(0x4f0)}];function getChartMenuSelection(){return chartTypeOptions;}const getOptionsList=(_0x10aec3,_0x525cd1)=>{const _0x585b9b=_0x38cd95;if(_0x525cd1[_0x585b9b(0x111)]===0x1&&_0x525cd1[0x0]===_0x585b9b(0x3ab))return _0x10aec3;if(_0x525cd1[_0x585b9b(0x111)]>0x1){const _0x305d14=new Set();for(const _0x10695c of _0x525cd1)_0x305d14[_0x585b9b(0x15e)](Number(_0x10695c));return _0x10aec3[_0x585b9b(0x24c)](_0x4827ef=>{const _0x5b366c=_0x585b9b;return _0x305d14['has'](_0x4827ef[_0x5b366c(0x30d)]);});}return[];},defaultOption={'label':_0x38cd95(0x467),'value':_0x38cd95(0x3c6)},chartTypeToIcon={[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Line']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x381)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Column']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x157)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x24d)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x2ca)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x3c5)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons['BarChartIcon'],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0x22e)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x38cd95(0x2ca)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0xf5)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x89)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x2be)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x89)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x20d)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x13b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0x46a)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x13b)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['AreaPercentStacked']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x13b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits']['Radar']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x4e6)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Combination']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons['ComboChartIcon'],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Scatter']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons['ScatterChartIcon'],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['None']]:void 0x0,[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x3fb)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x157)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x210)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x38cd95(0x157)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x217)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x2d5)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0x160)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x38cd95(0x1fe)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x104)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x390)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x186)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons['RelationshipIcon'],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Waterfall']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons['WaterfallChartIcon'],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x50b)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x289)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x4dd)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x38cd95(0x31c)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0x340)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x38cd95(0x3f7)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x208)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x4f0)],{})},seriesChartTypeOptions=chartTypeOptions[_0x38cd95(0x24c)](_0x24779c=>{const _0x193787=_0x38cd95;return[_univerjs_pro_engine_chart['ChartTypeBits'][_0x193787(0x1f1)],_univerjs_pro_engine_chart[_0x193787(0x448)]['Column'],_univerjs_pro_engine_chart[_0x193787(0x448)][_0x193787(0x20d)]][_0x193787(0x26a)](_0x455b0c=>String(_0x455b0c))['includes'](String(_0x24779c['value']));})['map'](({label:_0x2cab1a,value:_0x52d825})=>{return{'label':_0x2cab1a,'value':String(_0x52d825)};}),titleOptions=[{'label':'chart.titles.mainTitle','value':_0x38cd95(0x19c)},{'label':'chart.titles.xAxisTitle','value':_0x38cd95(0x1bb)},{'label':_0x38cd95(0xe2),'value':_0x38cd95(0x328)},{'label':_0x38cd95(0x2dc),'value':'rightYAxisTitle'}],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':_0x38cd95(0x229),'value':_0x38cd95(0x444)},{'label':_0x38cd95(0x50d),'value':_0x38cd95(0x43a)},{'label':_0x38cd95(0x51b),'value':_0x38cd95(0x200)}];function getAllSeriesOption(){const _0x3ecc8e=_0x38cd95;return{'label':_0x3ecc8e(0x34b),'value':_univerjs_pro_engine_chart[_0x3ecc8e(0x4a6)][_0x3ecc8e(0x37e)]};}const lineOpacityOptions=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0][_0x38cd95(0x26a)](_0x2aaa6d=>({'label':_0x2aaa6d*0x64+'%','value':String(_0x2aaa6d)})),borderDashTypeOptions=[{'label':_0x38cd95(0xb2),'value':_univerjs_pro_engine_chart[_0x38cd95(0x8e)]['Solid']},{'label':_0x38cd95(0x3ae),'value':_univerjs_pro_engine_chart['ChartBorderDashType']['Dashed']},{'label':'chart.dashType.dot','value':_univerjs_pro_engine_chart['ChartBorderDashType'][_0x38cd95(0x128)]}],linePointShapeOptions=[{'label':_0x38cd95(0x2e6),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)]['Circle']},{'label':_0x38cd95(0x4c2),'value':_univerjs_pro_engine_chart['LinePointShape']['Square']},{'label':_0x38cd95(0x4e0),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x1a1)]},{'label':_0x38cd95(0x122),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x38cd95(0x2e7)]},{'label':'chart.shape.rect','value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x2aa)]},{'label':_0x38cd95(0x2b0),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x123)]},{'label':_0x38cd95(0x20c),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x38cd95(0x4b7)]},{'label':_0x38cd95(0x195),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x3b0)]},{'label':_0x38cd95(0x86),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x1b8)]},{'label':_0x38cd95(0x1c1),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)]['EmptyCircle']},{'label':_0x38cd95(0x109),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)]['EmptySquare']},{'label':_0x38cd95(0x33c),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x38cd95(0x2b3)]},{'label':_0x38cd95(0x7e),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x2ec)]},{'label':_0x38cd95(0x4b4),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x4e4)]},{'label':_0x38cd95(0x388),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)][_0x38cd95(0x308)]},{'label':_0x38cd95(0xb7),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)]['EmptyPin']},{'label':_0x38cd95(0x38c),'value':_univerjs_pro_engine_chart[_0x38cd95(0x321)]['EmptyArrow']}],linePointSizeOptions=[0x0,0x2,0x5,0x7,0xa,0xe][_0x38cd95(0x26a)](_0x2905ca=>({'label':_0x2905ca+'px','value':String(_0x2905ca)})),borderWidthOptions=[0x0,0x1,0x2,0x4,0x8][_0x38cd95(0x26a)](_0x3483e9=>({'label':_0x3483e9+'px','value':String(_0x3483e9)})),axisLabelRotateOptions=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a][_0x38cd95(0x26a)](_0x30998a=>({'label':_0x30998a+'°','value':String(_0x30998a)})),trendlineTypeOptions=[{'label':_0x38cd95(0x367),'value':_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x142)]},{'label':_0x38cd95(0x237),'value':_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x1d6)]},{'label':_0x38cd95(0x51c),'value':_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x11e)]},{'label':_0x38cd95(0x17f),'value':_univerjs_pro_engine_chart[_0x38cd95(0x456)]['pow']},{'label':'chart.trendline.movingAvg','value':_univerjs_pro_engine_chart['ChartTrendlineType'][_0x38cd95(0x4fb)]},{'label':_0x38cd95(0x471),'value':_univerjs_pro_engine_chart['ChartTrendlineType'][_0x38cd95(0x49f)]}],trendlineToIcon={[_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x142)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x197)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x1d6)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0xfc)],{}),[_univerjs_pro_engine_chart['ChartTrendlineType']['log']]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x39b)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x45f)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['PowerLineIcon'],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x4fb)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x38cd95(0x1e1)],{}),[_univerjs_pro_engine_chart[_0x38cd95(0x456)][_0x38cd95(0x49f)]]:(0x0,react_jsx_runtime[_0x38cd95(0x184)])(_univerjs_icons[_0x38cd95(0x397)],{})},trendlineOrderOptions=[0x2,0x3,0x4,0x5,0x6]['map'](_0x4797d0=>({'label':''+_0x4797d0,'value':String(_0x4797d0)})),dataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x38cd95(0x16f)]['Auto'],_univerjs_pro_engine_chart[_0x38cd95(0x16f)][_0x38cd95(0x271)],_univerjs_pro_engine_chart[_0x38cd95(0x16f)]['Left'],_univerjs_pro_engine_chart[_0x38cd95(0x16f)][_0x38cd95(0x4fa)],_univerjs_pro_engine_chart[_0x38cd95(0x16f)][_0x38cd95(0x2db)],_univerjs_pro_engine_chart['SeriesLabelPosition']['Bottom']][_0x38cd95(0x26a)](_0x280c9c=>({'label':_0x38cd95(0x331)+_0x280c9c,'value':_0x280c9c})),pieDataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x38cd95(0x4fe)][_0x38cd95(0x271)],_univerjs_pro_engine_chart['PieLabelPosition'][_0x38cd95(0x167)]][_0x38cd95(0x26a)](_0x220ade=>({'label':'chart.positionType.'+_0x220ade,'value':_0x220ade})),legendLabelPositionOptions=[_univerjs_pro_engine_chart[_0x38cd95(0x431)]['Top'],_univerjs_pro_engine_chart[_0x38cd95(0x431)][_0x38cd95(0x492)],_univerjs_pro_engine_chart[_0x38cd95(0x431)][_0x38cd95(0x391)],_univerjs_pro_engine_chart[_0x38cd95(0x431)][_0x38cd95(0x4fa)],_univerjs_pro_engine_chart[_0x38cd95(0x431)][_0x38cd95(0x10b)]]['map'](_0x440fb7=>({'label':_0x38cd95(0x331)+_0x440fb7,'value':_0x440fb7})),legendSelectModeOptions=[_univerjs_pro_engine_chart['SelectModeEnum']['Single'],_univerjs_pro_engine_chart['SelectModeEnum']['Multiple'],_univerjs_pro_engine_chart[_0x38cd95(0xf4)][_0x38cd95(0x45e)]][_0x38cd95(0x26a)](_0x57469f=>({'label':_0x38cd95(0x205)+_0x57469f,'value':_0x57469f})),legendVisualMapTypeOptions=[_0x38cd95(0x2d4),_0x38cd95(0x2c9)][_0x38cd95(0x26a)](_0x27cd2c=>({'label':'chart.legendVisualMapType.'+_0x27cd2c,'value':_0x27cd2c})),titlePositionOptions=[_univerjs_pro_engine_chart[_0x38cd95(0x485)][_0x38cd95(0x2db)],_univerjs_pro_engine_chart[_0x38cd95(0x485)][_0x38cd95(0x492)],_univerjs_pro_engine_chart[_0x38cd95(0x485)][_0x38cd95(0x391)],_univerjs_pro_engine_chart[_0x38cd95(0x485)][_0x38cd95(0x4fa)],_univerjs_pro_engine_chart[_0x38cd95(0x485)][_0x38cd95(0x10b)]][_0x38cd95(0x26a)](_0x1e6bf9=>({'label':_0x38cd95(0x331)+_0x1e6bf9,'value':_0x1e6bf9})),axisTitlePositionOptions=[_univerjs_pro_engine_chart['AxisAlignEnum'][_0x38cd95(0x1a6)],_univerjs_pro_engine_chart[_0x38cd95(0x4e9)][_0x38cd95(0x290)],_univerjs_pro_engine_chart[_0x38cd95(0x4e9)][_0x38cd95(0x37c)]][_0x38cd95(0x26a)](_0x3045e5=>({'label':'chart.axisPositionType.'+_0x3045e5,'value':_0x3045e5})),titlePositionXOptions=[_univerjs_pro_engine_chart['TextAlign']['Left'],_univerjs_pro_engine_chart[_0x38cd95(0x2dd)][_0x38cd95(0x290)],_univerjs_pro_engine_chart[_0x38cd95(0x2dd)][_0x38cd95(0x4fa)]][_0x38cd95(0x26a)](_0x2aee40=>({'label':'chart.align.'+_0x2aee40,'value':_0x2aee40})),titlePositionYOptions=[_univerjs_pro_engine_chart[_0x38cd95(0x220)][_0x38cd95(0x2db)],_univerjs_pro_engine_chart[_0x38cd95(0x220)][_0x38cd95(0x3e7)],_univerjs_pro_engine_chart[_0x38cd95(0x220)][_0x38cd95(0x492)]]['map'](_0x599173=>({'label':_0x38cd95(0x124)+_0x599173,'value':_0x599173})),axisListOptions=[{'value':_0x38cd95(0x4d9),'label':_0x38cd95(0x412)},{'value':_0x38cd95(0x3a7),'label':'chart.axes.verticalAxis'},{'value':_0x38cd95(0x339),'label':_0x38cd95(0x1fd)}],tickThicknessOptions=[0x1,0x2,0x3]['map'](_0x1d9c15=>({'label':_0x1d9c15+'px','value':String(_0x1d9c15)})),stackTypeOptions=[{'label':'chart.none','value':''},{'label':_0x38cd95(0x3e1),'value':_univerjs_pro_engine_chart['StackType']['Stacked']},{'label':_0x38cd95(0x38b),'value':_univerjs_pro_engine_chart['StackType'][_0x38cd95(0x14f)]}],areaLineTypeOptions=[{'label':_0x38cd95(0x350),'value':_univerjs_pro_engine_chart[_0x38cd95(0x23d)][_0x38cd95(0x1f1)]},{'label':_0x38cd95(0x180),'value':_univerjs_pro_engine_chart[_0x38cd95(0x23d)][_0x38cd95(0x23a)]},{'label':'chart.lineType.step','value':_univerjs_pro_engine_chart[_0x38cd95(0x23d)][_0x38cd95(0x36f)]}],pieDonutHoleOptions=[0x0,0.25,0.5,0.75][_0x38cd95(0x26a)](_0x415a38=>({'label':_0x415a38*0x64+'%','value':String(_0x415a38)})),radarShapeOptions=[{'label':_0x38cd95(0x4d1),'value':_univerjs_pro_engine_chart[_0x38cd95(0x50a)][_0x38cd95(0x226)]},{'label':_0x38cd95(0x2e6),'value':_univerjs_pro_engine_chart[_0x38cd95(0x50a)]['Circle']}],invalidValueOptions=[{'label':'chart.invalidType.gaps','value':_univerjs_pro_engine_chart[_0x38cd95(0x25a)]['Break']},{'label':_0x38cd95(0x162),'value':_univerjs_pro_engine_chart[_0x38cd95(0x25a)][_0x38cd95(0x4dc)]},{'label':'chart.invalidType.connectDataPointsWithStraightLines','value':_univerjs_pro_engine_chart[_0x38cd95(0x25a)][_0x38cd95(0x4a7)]}],labelContentTypeList=[_univerjs_pro_engine_chart[_0x38cd95(0x439)][_0x38cd95(0x4c0)],_univerjs_pro_engine_chart[_0x38cd95(0x439)][_0x38cd95(0xc6)],_univerjs_pro_engine_chart['LabelContentType']['Value'],_univerjs_pro_engine_chart[_0x38cd95(0x439)]['Percentage']],labelContentOptions=[{'label':_0x38cd95(0x13c),'value':_univerjs_pro_engine_chart[_0x38cd95(0x439)][_0x38cd95(0x4c0)]},{'label':_0x38cd95(0x442),'value':_univerjs_pro_engine_chart[_0x38cd95(0x439)][_0x38cd95(0xc6)]},{'label':'chart.value','value':_univerjs_pro_engine_chart['LabelContentType']['Value']},{'label':'chart.percentage','value':_univerjs_pro_engine_chart[_0x38cd95(0x439)][_0x38cd95(0x2c7)]}][_0x38cd95(0x26a)](_0xd3585=>({..._0xd3585,'value':String(_0xd3585[_0x38cd95(0x30d)])})),pieLabelContentOptions=labelContentOptions[_0x38cd95(0x24c)](_0x2077ed=>_0x2077ed[_0x38cd95(0x30d)]!==String(_univerjs_pro_engine_chart[_0x38cd95(0x439)][_0x38cd95(0xc6)])),tickLengthOptions=[0x6,0xc,0x12,0x18][_0x38cd95(0x26a)](_0x33d2f4=>({'label':_0x33d2f4+'px','value':String(_0x33d2f4)})),tickWidthOptions=[0x1,0x2,0x4,0x8]['map'](_0x58b4a2=>({'label':_0x58b4a2+'px','value':String(_0x58b4a2)})),RelationLayoutOptions=[{'label':'chart.relation.auto','value':'none'},{'label':_0x38cd95(0x1b0),'value':'circular'},{'label':'chart.relation.force','value':_0x38cd95(0x356)}],DateFormatList=[{'label':_0x38cd95(0x1e3),'suffix':_0x38cd95(0x4d7)},{'label':_0x38cd95(0x4ce),'suffix':_0x38cd95(0x33f)},{'label':'1930年08月05日','suffix':_0x38cd95(0x29a)},{'label':_0x38cd95(0x324),'suffix':_0x38cd95(0x199)},{'label':_0x38cd95(0x4f9),'suffix':_0x38cd95(0x375)},{'label':_0x38cd95(0x1a8),'suffix':_0x38cd95(0x15f)},{'label':_0x38cd95(0xaa),'suffix':_0x38cd95(0x49d)},{'label':_0x38cd95(0x15b),'suffix':_0x38cd95(0x281)},{'label':_0x38cd95(0x3ec),'suffix':_0x38cd95(0x524)},{'label':_0x38cd95(0x4a4),'suffix':_0x38cd95(0xf1)},{'label':_0x38cd95(0xb5),'suffix':'MM-dd\x20A/P\x20hh:mm'}],ThousandsSeparatorFormatList=[{'label':'(1,235)','suffix':_0x38cd95(0x185)},{'label':'(1,235)\x20','suffix':'#,##0_);[Red](#,##0)','color':_0x38cd95(0x3e9)},{'label':_0x38cd95(0x3bd),'suffix':_0x38cd95(0x1f5)},{'label':_0x38cd95(0x3bd),'suffix':_0x38cd95(0x187),'color':_0x38cd95(0x3e9)},{'label':_0x38cd95(0x378),'suffix':_0x38cd95(0x299)},{'label':_0x38cd95(0x378),'suffix':_0x38cd95(0x278),'color':_0x38cd95(0x3e9)}],CurrencyFormatList=[{'label':_0x54af12=>_0x54af12+'1,235','suffix':_0x3ea799=>'\x22'+_0x3ea799+'\x22#,##0.00_);\x22'+_0x3ea799+_0x38cd95(0x3dc)},{'label':_0x5b1d54=>_0x5b1d54+'1,235','suffix':_0xde8ae6=>'\x22'+_0xde8ae6+'\x22#,##0.00_);[Red]\x22'+_0xde8ae6+_0x38cd95(0x3dc),'color':'red'},{'label':_0xfb99f1=>'('+_0xfb99f1+_0x38cd95(0xfd),'suffix':_0x10e352=>'\x22'+_0x10e352+_0x38cd95(0x3af)+_0x10e352+_0x38cd95(0x4d0)},{'label':_0x1ecc68=>'('+_0x1ecc68+_0x38cd95(0xfd),'suffix':_0x355ca0=>'\x22'+_0x355ca0+'\x22#,##0.00_);[Red](\x22'+_0x355ca0+_0x38cd95(0x4d0),'color':_0x38cd95(0x3e9)},{'label':_0x2aecb0=>'-'+_0x2aecb0+_0x38cd95(0x1b5),'suffix':_0x302e74=>'\x22'+_0x302e74+'\x22#,##0.00_);-\x22'+_0x302e74+_0x38cd95(0x3dc)},{'label':_0x1fc03b=>'-'+_0x1fc03b+'1,235','suffix':_0x481016=>'\x22'+_0x481016+'\x22#,##0.00_);[Red]-\x22'+_0x481016+_0x38cd95(0x3dc),'color':_0x38cd95(0x3e9)}],currencySymbols=['$','£','¥','¤','֏','؋','৳','฿','₡','₦','₩','₪','₫','€','₭','₮','₱','₲','₴','₸','₹','₺','₼','₽','₾','₿'],UNIVER_SHEET_CHART_FORMAT_DIALOG_ID=_0x38cd95(0x1c2),UNIVER_SHEET_CHART_FORMAT_DIALOG=_0x38cd95(0x2b9),waterfallStackTypeOptions=[{'label':_0x38cd95(0x40d),'value':_univerjs_pro_engine_chart[_0x38cd95(0x34f)][_0x38cd95(0x40c)]},{'label':_0x38cd95(0x223),'value':_univerjs_pro_engine_chart['WaterfallStackTypeEnum'][_0x38cd95(0x1a3)]}];function useTranslatedOptions(_0x2539a6,_0x4ac228){const _0x420373=_0x38cd95,{t:_0x3b051f}=_0x2539a6;return _0x4ac228[_0x420373(0x26a)](_0xf1efc6=>({..._0xf1efc6,'label':_0x3b051f(_0xf1efc6['label'])}));}const RadarChartOptionsEdit=_0x382e64=>{const _0x566abe=_0x38cd95,{className:_0x2eac9d,service:_0x25eaab,localeService:_0x49e89f}=_0x382e64,[_0x24c2db,_0x2b8147]=useChartConfigState(_0x566abe(0xa5),_0x25eaab),[_0x2119a5,_0x403a09]=useChartConfigState(_0x566abe(0x255),_0x25eaab),_0x32a544=useTranslatedOptions(_0x49e89f,radarShapeOptions);return(0x0,react_jsx_runtime[_0x566abe(0x40b)])(_0x566abe(0x357),{'className':_0x2eac9d,'children':[(0x0,react_jsx_runtime['jsx'])(_0x566abe(0x357),{'children':(0x0,react_jsx_runtime[_0x566abe(0x184)])(_univerjs_design[_0x566abe(0x153)],{'value':_0x24c2db!==null&&_0x24c2db!==void 0x0?_0x24c2db:_univerjs_pro_engine_chart['defaultChartConfig'][_0x566abe(0x1cd)][_0x566abe(0x146)],'items':_0x32a544,'onChange':_0x2b8147})}),(0x0,react_jsx_runtime['jsx'])(_0x566abe(0x357),{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0x566abe(0x184)])(_univerjs_design['Checkbox'],{'checked':!!_0x2119a5,'onChange':_0x3e259e=>{_0x403a09(Boolean(_0x3e259e));},'children':_0x49e89f['t'](_0x566abe(0x189))})})]});},BubbleDataEdit=_0x5087c8=>{const _0x32aa63=_0x38cd95;var _0x49a148,_0x1c779e,_0x4f82ec;const {service:_0x5862ce,localeService:_0x4aa273}=_0x5087c8,[_0x253c45]=useChartConfigState(_0x32aa63(0x51d),_0x5862ce),[_0x3230a4]=useChartConfigState('categoryList',_0x5862ce),[_0x2da260]=useChartConfigState(_0x32aa63(0x2a0),_0x5862ce),[_0x195d4c,_0x1b1288]=useChartConfigState(_0x32aa63(0x2a5),_0x5862ce),[_0x457b74,_0x2160de]=useChartConfigState('bubbleYAxis',_0x5862ce),[_0x48c25f,_0xd45c33]=useChartConfigState(_0x32aa63(0x4cc),_0x5862ce),[_0x47a7ac,_0x7d1c]=useChartConfigState(_0x32aa63(0x389),_0x5862ce),_0x4cf5af=_0x4aa273['t'],[_0x5d1754,_0x19f749]=useChartConfigState(_0x32aa63(0x143),_0x5862ce),_0x57b001=_0x929cf8=>{_0x19f749(_0x929cf8);};return(0x0,react_jsx_runtime[_0x32aa63(0x40b)])(_0x32aa63(0x357),{'className':'univer-mb-2','children':[(0x0,react_jsx_runtime['jsx'])(_0x32aa63(0x357),{'className':_0x32aa63(0x114),'children':_0x4cf5af(_0x32aa63(0x285))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x32aa63(0x133)],{'className':_0x32aa63(0x452),'value':typeof _0x48c25f===_0x32aa63(0x264)?String(_0x48c25f):'','options':_0x3230a4||[],'onChange':_0x56f149=>_0xd45c33(Number(_0x56f149))}),(0x0,react_jsx_runtime[_0x32aa63(0x184)])(_0x32aa63(0x357),{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4cf5af(_0x32aa63(0x47c))}),(0x0,react_jsx_runtime[_0x32aa63(0x184)])(_univerjs_design[_0x32aa63(0x133)],{'className':_0x32aa63(0x452),'value':_0x195d4c!==void 0x0?String(_0x195d4c):(_0x49a148=(_0x2da260||[])[0x0])===null||_0x49a148===void 0x0?void 0x0:_0x49a148[_0x32aa63(0x30d)],'options':_0x2da260||[],'onChange':_0x4d17ca=>_0x1b1288(Number(_0x4d17ca))}),(0x0,react_jsx_runtime[_0x32aa63(0x184)])('div',{'className':_0x32aa63(0x114),'children':_0x4cf5af(_0x32aa63(0x4f6))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x32aa63(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x457b74!==void 0x0?String(_0x457b74):(_0x1c779e=(_0x2da260||[])[0x1])===null||_0x1c779e===void 0x0?void 0x0:_0x1c779e[_0x32aa63(0x30d)],'options':_0x2da260,'onChange':_0x268349=>{_0x2160de(Number(_0x268349));}}),(0x0,react_jsx_runtime[_0x32aa63(0x184)])(_0x32aa63(0x357),{'className':_0x32aa63(0x114),'children':_0x4cf5af(_0x32aa63(0x442))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x32aa63(0x133)],{'className':_0x32aa63(0x452),'value':_0x47a7ac!==void 0x0?String(_0x47a7ac):'','options':_0x3230a4,'onChange':_0x43d215=>{_0x7d1c(Number(_0x43d215));}}),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x32aa63(0x114),'children':_0x4cf5af('chart.bubble.size')}),(0x0,react_jsx_runtime[_0x32aa63(0x184)])(_univerjs_design['Select'],{'className':_0x32aa63(0x452),'value':_0x5d1754?String(_0x5d1754):(_0x4f82ec=(_0x2da260||[])[0x2])===null||_0x4f82ec===void 0x0?void 0x0:_0x4f82ec[_0x32aa63(0x30d)],'options':_0x253c45,'onChange':_0x2acd24=>_0x57b001(Number(_0x2acd24))})]});},getUnitId=_0x1ec756=>_0x1ec756[_0x38cd95(0x334)](_univerjs_core[_0x38cd95(0x17e)][_0x38cd95(0x36c)])[_0x38cd95(0xa0)](),getSubUnitId=_0x1d0895=>{const _0x1be29=_0x38cd95;var _0x2952a8;return(_0x2952a8=_0x1d0895[_0x1be29(0x334)](_univerjs_core['UniverInstanceType'][_0x1be29(0x36c)])[_0x1be29(0x8b)]())===null||_0x2952a8===void 0x0?void 0x0:_0x2952a8['getSheetId']();},ableStackCharts=[_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Area'],_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Bar']];function colorElement(_0x425ddb){const _0x264dc1=_0x38cd95;return(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime[_0x264dc1(0x1ac)],{'children':_0x425ddb[_0x264dc1(0x26a)](_0x1b2139=>{const _0x27d27d=_0x264dc1;return(0x0,react_jsx_runtime[_0x27d27d(0x184)])(_0x27d27d(0x357),{'className':_0x27d27d(0x2a3),'style':{'backgroundColor':_0x1b2139}},_0x1b2139);})});}function getThemeListOptions(_0x410cdd,_0x54830c){const _0x24b7b8=_0x38cd95;return _0x410cdd[_0x24b7b8(0x26a)](_0x4f64ea=>({'label':(0x0,react_jsx_runtime[_0x24b7b8(0x184)])(_0x24b7b8(0x357),{'className':_0x24b7b8(0x4f5),'children':colorElement(_0x54830c['getColors'](_0x4f64ea))}),'value':_0x4f64ea}));}const ChartEditBlockTitle=({title:_0x30a6cf})=>{const _0x38afbf=_0x38cd95;return(0x0,react_jsx_runtime[_0x38afbf(0x184)])(_0x38afbf(0x357),{'className':_0x38afbf(0x3ad),'children':_0x30a6cf});},DataTabPanel=()=>{const _0xd03bf5=_0x38cd95;var _0x445d2b;const _0x33776d=useSheetsChartUIService(),_0xa8ccd7=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['IUniverInstanceService']),_0x4b72f5=(0x0,_univerjs_ui[_0xd03bf5(0xdb)])(_univerjs_core[_0xd03bf5(0x12b)]),_0x473593=(0x0,_univerjs_ui[_0xd03bf5(0xdb)])(_univerjs_pro_engine_chart[_0xd03bf5(0x475)]),_0x1d5c7b=_0x473593[_0xd03bf5(0x325)](),_0x2ea3a5=(0x0,_univerjs_pro_sheets_chart[_0xd03bf5(0x34a)])((0x0,_univerjs_ui[_0xd03bf5(0xdb)])(_univerjs_core[_0xd03bf5(0x39d)])),_0x4d1e71=(0x0,react[_0xd03bf5(0x316)])(()=>{const _0x3c4d1b=_0xd03bf5;return getOptionsList(chartTypeOptions[_0x3c4d1b(0x11a)](),_0x2ea3a5)[_0x3c4d1b(0x26a)](_0x25c163=>({'label':(0x0,react_jsx_runtime[_0x3c4d1b(0x40b)])(_0x3c4d1b(0x357),{'className':_0x3c4d1b(0x3b6),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3c4d1b(0x357),{'className':_0x3c4d1b(0x491),'children':chartTypeToIcon===null||chartTypeToIcon===void 0x0?void 0x0:chartTypeToIcon[_0x25c163['value']]}),(0x0,react_jsx_runtime[_0x3c4d1b(0x184)])(_0x3c4d1b(0x357),{'className':_0x3c4d1b(0x11b),'children':_0x4b72f5['t'](_0x25c163[_0x3c4d1b(0x1bd)])})]}),'value':String(_0x25c163[_0x3c4d1b(0x30d)])}));},[_0x4b72f5]),[_0x428d60,_0x42db5f]=(0x0,react[_0xd03bf5(0x119)])(![]);(0x0,react[_0xd03bf5(0x22f)])(()=>{_0x33776d['rangeSelectMode']=_0x428d60;},[_0x428d60]);const _0x225be5=useTranslatedOptions(_0x4b72f5,invalidValueOptions),_0x30ffcd=useTranslatedOptions(_0x4b72f5,stackTypeOptions),_0x1f1f56=useTranslatedOptions(_0x4b72f5,areaLineTypeOptions),_0x4d4e2f=useTranslatedOptions(_0x4b72f5,waterfallStackTypeOptions),_0x3ee5cc=getThemeListOptions(_0x1d5c7b,_0x473593),_0x4fd5c0=getUnitId(_0xa8ccd7),_0xa35dd8=getSubUnitId(_0xa8ccd7),_0x13384a=(0x0,_univerjs_ui[_0xd03bf5(0xdb)])(_univerjs_core[_0xd03bf5(0x3c3)]),[_0x47eadc,_0x26f447]=useChartConfigState(_0xd03bf5(0x3be),_0x33776d),[_0x38e113,_0x352daa]=useChartConfigState('dataRange',_0x33776d),[_0x51a229,_0xf18ba2]=useChartConfigState(_0xd03bf5(0x483),_0x33776d),[_0xb18509,_0x5cd223]=useChartConfigState(_0xd03bf5(0x4cb),_0x33776d),[_0x4c0a2c]=useChartConfigState(_0xd03bf5(0x3b8),_0x33776d),[_0x3b9cf5]=useChartConfigState(_0xd03bf5(0x26b),_0x33776d),[_0x21a1e4,_0x1ea369]=useChartConfigState('seriesValues',_0x33776d),[_0x40a170]=useChartConfigState(_0xd03bf5(0x2a0),_0x33776d),[_0x5d4324,_0x11b78c]=useChartConfigState(_0xd03bf5(0x385),_0x33776d),[_0x165423,_0x4760b0]=useChartConfigState(_0xd03bf5(0x317),_0x33776d),[_0x4422bf,_0xf3b09d]=useChartConfigState('heatmapMax',_0x33776d),[_0x134b39,_0x40779e]=useChartConfigState(_0xd03bf5(0x1cc),_0x33776d),[_0x6e91c6,_0x8de339]=useChartConfigState(_0xd03bf5(0x1dc),_0x33776d),[_0x21647e,_0x7bec2]=useChartConfigState(_0xd03bf5(0x277),_0x33776d),_0x304aa3=(0x0,react['useMemo'])(()=>{const _0x3bce46=_0xd03bf5;if(_0x21647e===void 0x0)return _0x47eadc?_univerjs_pro_engine_chart[_0x3bce46(0x379)][_0x3bce46(0xc1)](_0x47eadc,_univerjs_pro_engine_chart['ChartTypeBits'][_0x3bce46(0x20d)]):![];return _0x21647e;},[_0x21647e,_0x47eadc]),[_0x16ac5e,_0x5b0dac]=useChartConfigState(_0xd03bf5(0x21a),_0x33776d),[_0x97c125,_0x119b15]=useChartConfigState(_0xd03bf5(0x3e2),_0x33776d),[_0xdce601,_0x4d1ba9]=useChartConfigState(_0xd03bf5(0x2ff),_0x33776d),[_0x25673b,_0x45a636]=useChartConfigState('funnelGap',_0x33776d),[_0x4d382e,_0x49a911]=useChartConfigState(_0xd03bf5(0x19f),_0x33776d),_0x1cca84=_0x47eadc&&ableStackCharts[_0xd03bf5(0x314)](_0x12beea=>_univerjs_pro_engine_chart[_0xd03bf5(0x379)][_0xd03bf5(0xc1)](_0x47eadc,_0x12beea)),_0x1b8af8=_0x47eadc&&[_univerjs_pro_engine_chart['ChartTypeBits']['Area'],_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x1f1)]][_0xd03bf5(0x314)](_0x1c6cb8=>_univerjs_pro_engine_chart[_0xd03bf5(0x379)][_0xd03bf5(0xc1)](_0x47eadc,_0x1c6cb8)),_0x3a3dd1=_0x47eadc&&[_univerjs_pro_engine_chart[_0xd03bf5(0x448)]['Line'],_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x518)],_univerjs_pro_engine_chart['ChartTypeBits'][_0xd03bf5(0x217)],_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x9e)]][_0xd03bf5(0x144)](_0x2f1ec4=>_0x2f1ec4!==_0x47eadc),_0x25bec4=_0x4c0a2c===_univerjs_pro_engine_chart[_0xd03bf5(0x152)][_0xd03bf5(0x4b6)]||typeof _0xb18509!=='number',_0x4144c2=_0x47eadc&&[_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0xf5)],_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x2be)]][_0xd03bf5(0x314)](_0x1dc544=>_0x47eadc===_0x1dc544),_0x49eb7c=!_0x4144c2||_0x4144c2&&_0x21a1e4&&(_0x21a1e4===null||_0x21a1e4===void 0x0?void 0x0:_0x21a1e4[_0xd03bf5(0x111)])<0x1,_0x287c23=_0x47eadc&&_univerjs_pro_engine_chart[_0xd03bf5(0x379)]['baseOn'](_0x47eadc,_univerjs_pro_engine_chart['ChartTypeBits'][_0xd03bf5(0x3f6)]),_0x1a5b7d=_0x47eadc&&(0x0,_univerjs_pro_engine_chart['chartTypeCanUseTrendLine'])(_0x47eadc),[_0x24e56f,_0x366cb8]=useChartConfigState(_0xd03bf5(0x40a),_0x33776d),_0x4135b0=_0x47eadc&&_0x47eadc===_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x186)],_0x133644=_0x47eadc&&_0x47eadc===_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x4dd)],_0x1ada48=_0x47eadc&&_0x47eadc===_univerjs_pro_engine_chart['ChartTypeBits']['Heatmap'],_0x33f391=_0x47eadc&&_0x47eadc===_univerjs_pro_engine_chart['ChartTypeBits']['Boxplot'],_0x1e9f98=_0x47eadc&&_univerjs_pro_engine_chart['chartBitsUtils'][_0xd03bf5(0xc1)](_0x47eadc,_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x104)]),_0x8c8edc=_0x1764a8=>{const _0x123333=_0xd03bf5;if(_0x24e56f)_0x366cb8(_0x24e56f[_0x123333(0x24c)]((_0xd69a06,_0x2c8de8)=>_0x2c8de8!==_0x1764a8));},_0xf552ae=(_0x400da9,_0x4d6e69)=>{const _0x46ef6a=_0xd03bf5;if(_0x24e56f){_0x24e56f[_0x400da9][_0x46ef6a(0x2af)]=_0x4d6e69;const _0x550458=(_0x40a170===null||_0x40a170===void 0x0?void 0x0:_0x40a170[_0x4d6e69][_0x46ef6a(0x1bd)])||'';if(_0x550458)_0x24e56f[_0x400da9][_0x46ef6a(0x27b)]=_0x28ba2c(_0x46ef6a(0x367))+'-'+_0x28ba2c('chart.trendline.name')+'-('+_0x550458+')';_0x366cb8(_0x24e56f['slice']());}},_0x3bb19f=Boolean(_0x47eadc&&_univerjs_pro_engine_chart[_0xd03bf5(0x379)][_0xd03bf5(0xc1)](_0x47eadc,_univerjs_pro_engine_chart[_0xd03bf5(0x448)]['Funnel'])),_0x277521=borderWidthOptions,[_0x162da9,_0x3cec9c]=(0x0,react[_0xd03bf5(0x119)])(![]),_0x29579c=(0x0,react[_0xd03bf5(0x316)])(()=>{const _0x16880d=_0xd03bf5;return(0x0,_univerjs_core[_0x16880d(0x1c4)])(async _0x439e44=>{const _0x5bf118=_0x16880d;var _0x308483;if(serializeChartDataRange(_0x38e113,_0xa8ccd7)===_0x439e44)return;const {unitId:_0x2a3723,sheetName:_0x36b043,range:_0x3f4065}=_0x439e44[_0x5bf118(0x1d0)](',')[_0x5bf118(0x24c)](_0x31cb43=>!!_0x31cb43)['map'](_univerjs_engine_formula[_0x5bf118(0x41a)])[0x0],_0x182bc0=_0x2a3723||_0x4fd5c0;_0x352daa({'rangeInfo':{'range':_0x3f4065,'unitId':_0x182bc0,'subUnitId':((_0x308483=_0xa8ccd7[_0x5bf118(0x139)](_0x182bc0)[_0x5bf118(0x31f)](_0x36b043))===null||_0x308483===void 0x0?void 0x0:_0x308483[_0x5bf118(0xea)]())||(_0x38e113===null||_0x38e113===void 0x0?void 0x0:_0x38e113[_0x5bf118(0x4fc)][_0x5bf118(0x4e5)])},'isRowDirection':!![]});},0x12c,{'leading':![],'maxWait':0x3e8,'trailing':!![]});},[_0x352daa,_0x4fd5c0,_0xa8ccd7]),_0x541494=_0x53a646=>{const _0x368c77=_0xd03bf5;if(_0x21a1e4)_0x1ea369(_0x21a1e4[_0x368c77(0x24c)]((_0x5ba7a8,_0x7551d7)=>_0x7551d7!==_0x53a646));},{t:_0x28ba2c}=_0x4b72f5,_0x1561f5=_0x47eadc&&(_univerjs_pro_engine_chart['chartBitsUtils']['has'](_0x47eadc,_univerjs_pro_engine_chart['ChartAttributeBits'][_0xd03bf5(0x2e4)])?_univerjs_pro_engine_chart[_0xd03bf5(0x149)]['Percent']:_univerjs_pro_engine_chart[_0xd03bf5(0x379)][_0xd03bf5(0x3cc)](_0x47eadc,_univerjs_pro_engine_chart['ChartAttributeBits'][_0xd03bf5(0x2ad)])?_univerjs_pro_engine_chart[_0xd03bf5(0x149)][_0xd03bf5(0x1a3)]:void 0x0),_0x4dc61d=Boolean(_0x47eadc&&_univerjs_pro_engine_chart[_0xd03bf5(0x379)]['baseOn'](_0x47eadc,_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x217)])),_0x37c8b0=(0x0,react[_0xd03bf5(0x1ed)])(_0x49195e=>{const _0x98d101=_0xd03bf5;if(!_0x47eadc)return;const _0x154542=_0x49195e,_0xc35708=_univerjs_pro_engine_chart['chartBitsUtils']['remove'](_0x47eadc,_univerjs_pro_engine_chart[_0x98d101(0x2f9)][_0x98d101(0x2e4)]);switch(_0x154542){case _univerjs_pro_engine_chart[_0x98d101(0x149)]['Stacked']:_0x26f447(_0xc35708|_univerjs_pro_engine_chart['ChartAttributeBits'][_0x98d101(0x2ad)]);break;case _univerjs_pro_engine_chart[_0x98d101(0x149)]['Percent']:_0x26f447(_0xc35708|_univerjs_pro_engine_chart[_0x98d101(0x2f9)][_0x98d101(0x2e4)]);break;default:_0x26f447(_0xc35708);break;}},[_0x47eadc]);return(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])('div',{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x1d1))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xd03bf5(0x133)],{'className':_0xd03bf5(0x452),'value':_0x47eadc?String(_0x47eadc):'','options':_0x4d1e71,'onChange':_0x5f3d52=>_0x26f447(Number(_0x5f3d52))})]}),_0x47eadc&&(_univerjs_pro_engine_chart[_0xd03bf5(0x379)][_0xd03bf5(0xc1)](_0x47eadc,_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x20d)])||_univerjs_pro_engine_chart[_0xd03bf5(0x379)]['baseOn'](_0x47eadc,_univerjs_pro_engine_chart[_0xd03bf5(0x448)][_0xd03bf5(0x1f1)]))&&(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x153)],{'items':_0x1f1f56,'className':_0xd03bf5(0xb6),'value':_0x51a229!==null&&_0x51a229!==void 0x0?_0x51a229:_univerjs_pro_engine_chart['defaultChartConfig'][_0xd03bf5(0x3f2)]['lineStyle'],'onChange':_0xf18ba2}),_0x47eadc===_univerjs_pro_engine_chart['ChartTypeBits'][_0xd03bf5(0x518)]&&(0x0,react_jsx_runtime['jsx'])(RadarChartOptionsEdit,{'localeService':_0x4b72f5,'service':_0x33776d,'className':_0xd03bf5(0xb6)}),(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c('chart.themes')}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design['Select'],{'className':_0xd03bf5(0x452),'value':_0x6e91c6?String(_0x6e91c6):'','options':_0x3ee5cc,'onChange':_0x2a3824=>{_0x8de339(_0x2a3824);}})]}),_0x287c23&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(react_jsx_runtime[_0xd03bf5(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x3ac))}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5d4324!==null&&_0x5d4324!==void 0x0?_0x5d4324:_univerjs_pro_engine_chart[_0xd03bf5(0x4a6)][_0xd03bf5(0x429)][_0xd03bf5(0xba)],'options':_0x4d4e2f,'onChange':_0x49dddd=>{_0x11b78c(_0x49dddd);}}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x3cb),'children':(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x3c7)],{'checked':_0x165423!==null&&_0x165423!==void 0x0?_0x165423:_univerjs_pro_engine_chart[_0xd03bf5(0x4a6)][_0xd03bf5(0x429)][_0xd03bf5(0x317)],'onChange':_0x4cdd60=>_0x4760b0(Boolean(_0x4cdd60)),'children':_0x28ba2c('chart.waterfall.showSubtotal')})})]}),_0x3a3dd1&&!_0x4dc61d&&!_0x3bb19f&&!_0x4135b0&&!_0x133644&&!_0x1ada48&&!_0x33f391&&(0x0,react_jsx_runtime['jsx'])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x3cb),'children':(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x3c7)],{'checked':!!_0x304aa3,'onChange':_0x5bc637=>_0x7bec2(Boolean(_0x5bc637)),'children':_0x28ba2c(_0xd03bf5(0x295))})}),_0x3bb19f&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x326),'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x300))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0xd03bf5(0x452),'value':String(_0x25673b!==null&&_0x25673b!==void 0x0?_0x25673b:_univerjs_pro_engine_chart[_0xd03bf5(0x4a6)][_0xd03bf5(0x43e)][_0xd03bf5(0x43b)]),'options':_0x277521,'onChange':_0x1a935c=>_0x45a636(Number(_0x1a935c))}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x357),{'className':'univer-mt-2-base','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xd03bf5(0x3c7)],{'checked':_0x4d382e!==null&&_0x4d382e!==void 0x0?_0x4d382e:![],'onChange':_0x22568b=>{_0x49a911(Boolean(_0x22568b));},'children':_0x28ba2c('chart.styleEditPanel.useAbsValue')})})]}),_0x1cca84&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c('chart.stack')}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x133)],{'className':_0xd03bf5(0x452),'value':_0x1561f5||'','options':_0x30ffcd,'onChange':_0x37c8b0})]}),(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x3a2))}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_sheets_formula_ui[_0xd03bf5(0x1da)],{'supportAcrossSheet':!![],'keepSheetReference':!![],'maxRangeCount':0x1,'unitId':_0x4fd5c0,'subUnitId':_0xa35dd8,'initialValue':_0x38e113?serializeChartDataRange(_0x38e113,_0xa8ccd7):'','onChange':(_0x161110,_0x27f7ab)=>_0x29579c(_0x27f7ab),'onFocusChange':_0x3650f4=>{if(_0x162da9)return;_0x42db5f(_0x3650f4);},'onRangeSelectorDialogVisibleChange':_0x135edf=>{if(_0x135edf)_0x3cec9c(!![]),_0x42db5f(!![]);else _0x3cec9c(![]);}})]}),!_0x1e9f98&&!_0x4135b0&&!_0x133644&&!_0x1ada48&&!_0x33f391&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])('div',{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x13c))}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':typeof _0xb18509===_0xd03bf5(0x264)?String(_0xb18509):'','options':_0x3b9cf5||[],'onChange':_0x530f6a=>_0x5cd223(Number(_0x530f6a))})]}),(0x0,react_jsx_runtime['jsxs'])('div',{'children':[!_0x1e9f98&&!_0x4135b0&&!_0x133644&&!_0x1ada48&&!_0x33f391&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(react_jsx_runtime[_0xd03bf5(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c('chart.series')}),(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'className':'univer-mt-2','children':[_0x21a1e4===null||_0x21a1e4===void 0x0?void 0x0:_0x21a1e4[_0xd03bf5(0x26a)]((_0x10406f,_0x30b7f0)=>{const _0x1aa63f=_0xd03bf5;return(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x1aa63f(0x194),'children':[(0x0,react_jsx_runtime[_0x1aa63f(0x184)])(_univerjs_design[_0x1aa63f(0x133)],{'className':_0x1aa63f(0x452),'value':String(_0x10406f),'options':_0x40a170,'onChange':_0x327dd7=>{const _0x476152=_0x1aa63f;_0x21a1e4[_0x30b7f0]=Number(_0x327dd7),_0x1ea369(_0x21a1e4[_0x476152(0x2f7)]());}}),(0x0,react_jsx_runtime[_0x1aa63f(0x184)])(_0x1aa63f(0x357),{'className':_0x1aa63f(0x274),'onClick':()=>_0x541494(_0x30b7f0),'children':(0x0,react_jsx_runtime[_0x1aa63f(0x184)])(_univerjs_icons['DeleteEmptyIcon'],{})})]},_0x30b7f0);}),_0x49eb7c&&_0x40a170&&!_0x133644&&!_0x1ada48&&!_0x33f391&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xd03bf5(0x3b3)],{'className':_0xd03bf5(0x7d),'items':_0x40a170[_0xd03bf5(0x26a)](_0x5274c0=>({'type':_0xd03bf5(0x23e),'children':_0x5274c0[_0xd03bf5(0x1bd)],'onSelect':()=>{const _0xb8a11b=_0xd03bf5;_0x1ea369([..._0x21a1e4||[],Number(_0x5274c0[_0xb8a11b(0x30d)])]);}})),'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[_0xd03bf5(0x184)])(_univerjs_icons[_0xd03bf5(0x18f)],{'className':_0xd03bf5(0x163)}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x1ec),{'className':_0xd03bf5(0x4c8),'children':_0x28ba2c(_0xd03bf5(0x39c))})]})})]})]}),_0x1a5b7d&&!_0x1e9f98&&!_0x4135b0&&!_0x133644&&!_0x1ada48&&!_0x33f391&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(react_jsx_runtime[_0xd03bf5(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x410))}),(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0xb6),'children':[_0x24e56f===null||_0x24e56f===void 0x0?void 0x0:_0x24e56f[_0xd03bf5(0x26a)]((_0x2cb190,_0x1f4540)=>{const _0x538da1=_0xd03bf5;return(0x0,react_jsx_runtime[_0x538da1(0x40b)])(_0x538da1(0x357),{'className':_0x538da1(0x194),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x538da1(0x452),'value':String(_0x2cb190[_0x538da1(0x27b)]),'options':_0x40a170,'onChange':_0x2c64be=>{_0xf552ae(_0x1f4540,Number(_0x2c64be)-0x1);}}),(0x0,react_jsx_runtime['jsx'])(_0x538da1(0x357),{'className':_0x538da1(0x274),'onClick':()=>_0x8c8edc(_0x1f4540),'children':(0x0,react_jsx_runtime[_0x538da1(0x184)])(_univerjs_icons[_0x538da1(0x386)],{})})]},_0x1f4540);}),_0x1a5b7d&&_0x40a170&&(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design['DropdownMenu'],{'className':_0xd03bf5(0x7d),'items':_0x40a170[_0xd03bf5(0x26a)](_0x43c7b3=>({'type':'item','children':_0x43c7b3[_0xd03bf5(0x1bd)],'onSelect':()=>{const _0x5eba3f=_0xd03bf5,_0x2cd16e={'seriesIndex':Number(_0x43c7b3[_0x5eba3f(0x30d)])-0x1,'type':_univerjs_pro_engine_chart[_0x5eba3f(0x456)][_0x5eba3f(0x142)],'name':_0x28ba2c(_0x5eba3f(0x367))+'-'+_0x28ba2c('chart.trendline.name')+'-('+_0x43c7b3['label']+')'};_0x366cb8([..._0x24e56f||[],_0x2cd16e]);}})),'children':(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])('a',{'className':'univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_icons[_0xd03bf5(0x18f)],{'className':'univer-text-xs'}),(0x0,react_jsx_runtime['jsx'])(_0xd03bf5(0x1ec),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x28ba2c('chart.trendline.addTrendLine')})]})})]})]}),_0x1ada48&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])('div',{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x2a6))}),(0x0,react_jsx_runtime['jsxs'])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x326),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x28ba2c(_0xd03bf5(0x302))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['InputNumber'],{'value':_0x4422bf!==null&&_0x4422bf!==void 0x0?_0x4422bf:void 0x0,'onChange':_0x1aad15=>{const _0x16050a=_0xd03bf5;_0x13384a[_0x16050a(0x276)](_univerjs_core[_0x16050a(0x344)],![]),_0xf3b09d(Number[_0x16050a(0x248)](_0x1aad15)?null:Number(_0x1aad15));},'onFocus':()=>_0x13384a[_0xd03bf5(0x276)](_univerjs_core[_0xd03bf5(0x344)],!![]),'onBlur':_0x30861d=>{const _0x1d6bc0=_0xd03bf5;_0x13384a[_0x1d6bc0(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x3e02d9=_0x30861d[_0x1d6bc0(0x19a)][_0x1d6bc0(0x30d)];_0xf3b09d(_0x3e02d9===''?null:Number(_0x3e02d9));},'onPressEnter':_0x363c4f=>{const _0x4cab50=_0xd03bf5,_0xd97ae7=_0x363c4f[_0x4cab50(0x19a)][_0x4cab50(0x30d)];_0xf3b09d(_0xd97ae7===''?null:Number(_0xd97ae7));}})]}),(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x252),'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x449),'children':_0x28ba2c(_0xd03bf5(0x10e))}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x38d)],{'value':_0x134b39!==null&&_0x134b39!==void 0x0?_0x134b39:void 0x0,'onChange':_0x55237b=>{const _0x45a6fd=_0xd03bf5;_0x13384a[_0x45a6fd(0x276)](_univerjs_core[_0x45a6fd(0x344)],![]),_0x40779e(Number['isNaN'](_0x55237b)?null:Number(_0x55237b));},'onFocus':()=>_0x13384a[_0xd03bf5(0x276)](_univerjs_core[_0xd03bf5(0x344)],!![]),'onBlur':_0x1795c6=>{const _0x17830f=_0xd03bf5;_0x13384a[_0x17830f(0x276)](_univerjs_core[_0x17830f(0x344)],![]);const _0x457b00=_0x1795c6[_0x17830f(0x19a)][_0x17830f(0x30d)];_0x40779e(_0x457b00===''?null:Number(_0x457b00));},'onPressEnter':_0x389679=>{const _0x32f035=_0xd03bf5,_0x2a16ad=_0x389679[_0x32f035(0x19a)][_0x32f035(0x30d)];_0x40779e(_0x2a16ad===''?null:Number(_0x2a16ad));}})]})]}),_0x1e9f98&&(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(BubbleDataEdit,{'service':_0x33776d,'localeService':_0x4b72f5}),!_0x4135b0&&!_0x133644&&!_0x1ada48&&!_0x33f391&&(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x408),'children':(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design['Button'],{'className':'','size':_0xd03bf5(0x403),'onClick':()=>{const _0x50e713=_0xd03bf5;_0x5b0dac(_0x16ac5e===_univerjs_pro_engine_chart[_0x50e713(0xdc)]['Row']?_univerjs_pro_engine_chart[_0x50e713(0xdc)]['Column']:_univerjs_pro_engine_chart['DataOrientation'][_0x50e713(0x44b)]);},'children':_0x28ba2c('chart.settingsLabels.switchToRowOrColumn')})}),_0x25bec4&&(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x357),{'className':_0xd03bf5(0x408),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xd03bf5(0x3c7)],{'checked':_0xdce601,'onChange':_0x539711=>{_0x4d1ba9(!!_0x539711);},'children':_0x28ba2c(_0xd03bf5(0xbb),(_0x16ac5e||'')+'\x20'+(((_0x445d2b=_0x16ac5e===_univerjs_pro_engine_chart[_0xd03bf5(0xdc)]['Row']?_0x38e113===null||_0x38e113===void 0x0?void 0x0:_0x38e113[_0xd03bf5(0x4fc)]['range'][_0xd03bf5(0x2c3)]:_0x38e113===null||_0x38e113===void 0x0?void 0x0:_0x38e113[_0xd03bf5(0x4fc)][_0xd03bf5(0x286)][_0xd03bf5(0x4db)])!==null&&_0x445d2b!==void 0x0?_0x445d2b:0x0)+0x1))})})]}),_0x1b8af8&&(0x0,react_jsx_runtime[_0xd03bf5(0x40b)])(_0xd03bf5(0x357),{'children':[(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(ChartEditBlockTitle,{'title':_0x28ba2c(_0xd03bf5(0x12e))}),(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_0xd03bf5(0x357),{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x1d8)],{'value':_0x97c125!==null&&_0x97c125!==void 0x0?_0x97c125:_univerjs_pro_engine_chart[_0xd03bf5(0x4a6)]['invalidValueType'],'onChange':_0x3a9961=>_0x119b15(_0x3a9961),'className':_0xd03bf5(0x1aa),'children':_0x225be5[_0xd03bf5(0x26a)](_0x4f66a8=>(0x0,react_jsx_runtime[_0xd03bf5(0x184)])(_univerjs_design[_0xd03bf5(0x3ca)],{'value':_0x4f66a8[_0xd03bf5(0x30d)],'children':_0x4f66a8[_0xd03bf5(0x1bd)]},_0x4f66a8[_0xd03bf5(0x30d)]))})})]})]});},ColorPickerControl=_0x238672=>{const _0x2dacea=_0x38cd95,{color:_0x17ef48,onChange:_0x4a9186}=_0x238672,[_0x5052a7,_0x496d1c]=(0x0,react['useState'])(![]),_0x15a7bb=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x2dacea(0x12b)]),_0x3149fd=_0x17ef48==='transparent'||_0x17ef48==null,_0x3c35d5=(0x0,react[_0x2dacea(0x1ed)])(_0x5f506d=>{_0x4a9186===null||_0x4a9186===void 0x0||_0x4a9186(_0x5f506d),_0x496d1c(![]);},[_0x4a9186]);return(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2dacea(0x435)],{'overlay':(0x0,react_jsx_runtime[_0x2dacea(0x40b)])(_0x2dacea(0x357),{'className':'univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-pb-3\x20univer-text-sm','children':[(0x0,react_jsx_runtime[_0x2dacea(0x184)])(_univerjs_design[_0x2dacea(0x3b9)],{'className':_0x2dacea(0x4c1),'onClick':()=>_0x3c35d5(null),'children':_0x15a7bb['t'](_0x2dacea(0x10c))}),(0x0,react_jsx_runtime[_0x2dacea(0x184)])(_univerjs_design['ColorPicker'],{'value':_0x3149fd?_0x2dacea(0x291):_0x17ef48,'onChange':_0x3c35d5})]}),'open':_0x5052a7,'onOpenChange':_0x496d1c,'children':(0x0,react_jsx_runtime[_0x2dacea(0x184)])(_univerjs_design[_0x2dacea(0x3b9)],{'className':'univer-w-full\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','children':(0x0,react_jsx_runtime[_0x2dacea(0x40b)])('div',{'className':_0x2dacea(0x481),'children':[_0x3149fd?(0x0,react_jsx_runtime[_0x2dacea(0x184)])('div',{'className':_0x2dacea(0x3c0),'children':_0x15a7bb['t']('chart.default')}):(0x0,react_jsx_runtime[_0x2dacea(0x184)])(_0x2dacea(0x357),{'className':(0x0,_univerjs_design[_0x2dacea(0x28d)])(_0x2dacea(0x446),_univerjs_design[_0x2dacea(0x44d)]),'style':{'backgroundColor':_0x17ef48}}),(0x0,react_jsx_runtime[_0x2dacea(0x184)])(_univerjs_icons[_0x2dacea(0x433)],{'className':(0x0,_univerjs_design[_0x2dacea(0x28d)])(_0x2dacea(0x16c),{'univer-rotate-180':_0x5052a7})})]})})});},DropdownSelector=_0x20c882=>{const _0x4b74ce=_0x38cd95,{value:_0x2c0fac,menus:_0x5a003d,onSelect:_0x1075fa,children:_0x4ebe7f}=_0x20c882,[_0x403971,_0x13f940]=(0x0,react[_0x4b74ce(0x119)])(![]);return(0x0,react_jsx_runtime[_0x4b74ce(0x184)])(_univerjs_design[_0x4b74ce(0x3b3)],{'items':[{'type':_0x4b74ce(0x43d),'value':_0x2c0fac[_0x4b74ce(0x31d)](),'options':_0x5a003d,'onSelect':_0x382ec5=>_0x1075fa===null||_0x1075fa===void 0x0?void 0x0:_0x1075fa(_0x382ec5)}],'open':_0x403971,'onOpenChange':_0x13f940,'children':typeof _0x4ebe7f==='function'?_0x4ebe7f(_0x403971):_0x4ebe7f});},FontFormatBar=_0x1aa7f3=>{const _0x2d9992=_0x38cd95;var _0x3e4a2d;const {localeService:_0x22fb43,className:_0x45fe60,fontSize:fontSize=_univerjs_pro_engine_chart['defaultChartConfig'][_0x2d9992(0x3a6)][_0x2d9992(0x45a)],color:_0x22d988,bold:_0x5e2b40,italic:_0x4251e4,align:_0x2ba774,alignControl:alignControl=![],onChange:_0x20140f}=_0x1aa7f3,_0x4275f1=useTranslatedOptions(_0x22fb43,textAlignOptions),[_0x474cb8,_0x6b907e]=(0x0,react[_0x2d9992(0x119)])(![]);return(0x0,react_jsx_runtime[_0x2d9992(0x40b)])(_0x2d9992(0x357),{'className':(0x0,_univerjs_design[_0x2d9992(0x28d)])(_0x2d9992(0x16e),_univerjs_design['borderClassName'],_0x45fe60),'children':[(0x0,react_jsx_runtime[_0x2d9992(0x184)])(DropdownSelector,{'value':fontSize[_0x2d9992(0x31d)](),'menus':fontSizeOptions['map'](_0x28a8fb=>({..._0x28a8fb})),'onSelect':_0x33f449=>_0x20140f===null||_0x20140f===void 0x0?void 0x0:_0x20140f('fontSize',Number(_0x33f449)),'children':_0x15e4b8=>(0x0,react_jsx_runtime[_0x2d9992(0x40b)])(_0x2d9992(0x357),{'className':_0x2d9992(0x24b),'children':[(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_0x2d9992(0x1ec),{'children':fontSize}),(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_icons[_0x2d9992(0x433)],{'className':(0x0,_univerjs_design[_0x2d9992(0x28d)])('univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x15e4b8})})]})}),(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_design[_0x2d9992(0x435)],{'overlay':(0x0,react_jsx_runtime['jsx'])(_0x2d9992(0x357),{'className':_0x2d9992(0x28b),'children':(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_design[_0x2d9992(0x47e)],{'value':_0x22d988,'onChange':_0x31a2ee=>_0x20140f===null||_0x20140f===void 0x0?void 0x0:_0x20140f('color',_0x31a2ee)})}),'open':_0x474cb8,'onOpenChange':_0x6b907e,'children':(0x0,react_jsx_runtime['jsxs'])(_0x2d9992(0x357),{'className':_0x2d9992(0x269),'children':[(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_icons[_0x2d9992(0x502)],{'className':_0x2d9992(0x11f),'extend':{'colorChannel1':_0x22d988!==null&&_0x22d988!==void 0x0?_0x22d988:_univerjs_pro_engine_chart[_0x2d9992(0x4a6)][_0x2d9992(0x3a6)][_0x2d9992(0x461)]}}),(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_icons[_0x2d9992(0x433)],{'className':(0x0,_univerjs_design[_0x2d9992(0x28d)])(_0x2d9992(0x2c5),{'univer-rotate-180':_0x474cb8})})]})}),alignControl&&(0x0,react_jsx_runtime['jsx'])(DropdownSelector,{'value':(_0x3e4a2d=_0x2ba774===null||_0x2ba774===void 0x0?void 0x0:_0x2ba774['toString']())!==null&&_0x3e4a2d!==void 0x0?_0x3e4a2d:'','menus':_0x4275f1[_0x2d9992(0x26a)](_0x3ffd13=>({..._0x3ffd13})),'onSelect':_0xc034ae=>_0x20140f===null||_0x20140f===void 0x0?void 0x0:_0x20140f(_0x2d9992(0x2ba),_0xc034ae),'children':(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_0x2d9992(0x357),{'className':_0x2d9992(0x2ab),'children':(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_icons[_0x2d9992(0x275)],{})})}),(0x0,react_jsx_runtime[_0x2d9992(0x184)])('div',{'onClick':()=>_0x20140f===null||_0x20140f===void 0x0?void 0x0:_0x20140f('bold',!_0x5e2b40),'className':(0x0,_univerjs_design[_0x2d9992(0x28d)])(_0x2d9992(0x2ab),{'univer-bg-gray-50\x20univer-text-primary-600':_0x5e2b40}),'children':(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_icons[_0x2d9992(0x2f8)],{})}),(0x0,react_jsx_runtime['jsx'])(_0x2d9992(0x357),{'onClick':()=>_0x20140f===null||_0x20140f===void 0x0?void 0x0:_0x20140f(_0x2d9992(0x3fd),!_0x4251e4),'className':(0x0,_univerjs_design[_0x2d9992(0x28d)])(_0x2d9992(0x2ab),{'univer-bg-gray-50\x20univer-text-primary-600':_0x4251e4}),'children':(0x0,react_jsx_runtime[_0x2d9992(0x184)])(_univerjs_icons[_0x2d9992(0x42a)],{})})]});};function isValidNumber(_0x1b54a4){return!Number['isNaN'](_0x1b54a4)&&Number['isFinite'](_0x1b54a4);}const AxisOptionsEdit=_0x4f09fa=>{const _0x28e595=_0x38cd95;var _0x504da7,_0x2bb1eb,_0x502b4c,_0x3ea00e,_0x5086b7,_0x4b82a3,_0x28caf4,_0x45ab5b,_0x1919d5,_0x34657c;const {localeService:_0x4981a3,valueAxis:_0x132039,axisOptions:_0x47d049,onChange:_0x38e868,canUseDateAxis:_0x517e2d,sheetsChartUIService:_0x9ca458}=_0x4f09fa,{t:_0x2480ea}=_0x4981a3,[_0x174ae9,_0x29d18a]=(0x0,react[_0x28e595(0x119)])(_0x47d049===null||_0x47d049===void 0x0?void 0x0:_0x47d049[_0x28e595(0x1a0)]),[_0xc225c3,_0xffb634]=(0x0,react['useState'])(_0x47d049===null||_0x47d049===void 0x0?void 0x0:_0x47d049[_0x28e595(0x462)]),_0x2fe123=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x28e595(0x3c3)]),[_0x18b7c4,_0x388398]=useChartConfigState(_0x28e595(0x1ba),_0x9ca458,![]),_0x271f42=_0x415df2=>{if(_0x415df2!==null&&!isValidNumber(_0x415df2)){_0x38e868===null||_0x38e868===void 0x0||_0x38e868({'min':null}),_0xffb634(null);return;}if(_0x415df2===null||_0x415df2===void 0x0)_0xffb634(null),_0x38e868===null||_0x38e868===void 0x0||_0x38e868({'min':null});else{_0xffb634(_0x415df2);if(_0x174ae9!==null&&_0x174ae9!==void 0x0&&_0x415df2>=_0x174ae9)_0x29d18a(null),_0x38e868===null||_0x38e868===void 0x0||_0x38e868({'min':_0x415df2,'max':null});else _0x38e868===null||_0x38e868===void 0x0||_0x38e868({'min':_0x415df2});}},_0x536b2f=_0x5571a0=>{if(_0x5571a0!==null&&!isValidNumber(_0x5571a0)){_0x38e868===null||_0x38e868===void 0x0||_0x38e868({'max':null}),_0x29d18a(null);return;}if(_0x5571a0===null||_0x5571a0===void 0x0)_0x29d18a(null),_0x38e868===null||_0x38e868===void 0x0||_0x38e868({'max':null});else{_0x29d18a(_0x5571a0);if(_0xc225c3!==null&&_0xc225c3!==void 0x0&&_0x5571a0<=_0xc225c3)_0xffb634(null),_0x38e868===null||_0x38e868===void 0x0||_0x38e868({'max':_0x5571a0,'min':null});else _0x38e868===null||_0x38e868===void 0x0||_0x38e868({'max':_0x5571a0});}},_0x2f68d5=(_0x504da7=_0x47d049===null||_0x47d049===void 0x0||(_0x2bb1eb=_0x47d049['label'])===null||_0x2bb1eb===void 0x0?void 0x0:_0x2bb1eb[_0x28e595(0x2ce)])!==null&&_0x504da7!==void 0x0?_0x504da7:_0x18b7c4?_univerjs_pro_engine_chart[_0x28e595(0x4a6)][_0x28e595(0x428)][_0x28e595(0x4a2)]:0x0;return(0x0,react_jsx_runtime[_0x28e595(0x40b)])(_0x28e595(0x313),{'children':[(0x0,react_jsx_runtime[_0x28e595(0x184)])(_0x28e595(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2480ea('chart.axes.axisOptions')}),(0x0,react_jsx_runtime[_0x28e595(0x40b)])(_0x28e595(0x357),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x28e595(0x326),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x28e595(0x3c7)],{'checked':(_0x502b4c=_0x47d049===null||_0x47d049===void 0x0||(_0x3ea00e=_0x47d049[_0x28e595(0x1bd)])===null||_0x3ea00e===void 0x0?void 0x0:_0x3ea00e[_0x28e595(0x369)])!==null&&_0x502b4c!==void 0x0?_0x502b4c:_univerjs_pro_engine_chart[_0x28e595(0x4a6)]['axis'][_0x28e595(0x1a4)],'onChange':_0x3223ee=>_0x38e868===null||_0x38e868===void 0x0?void 0x0:_0x38e868({'label':{'visible':Boolean(_0x3223ee)}}),'children':_0x2480ea(_0x28e595(0x2ae))})}),!_0x132039&&(0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x28e595(0x184)])(_univerjs_design[_0x28e595(0x3c7)],{'checked':(_0x5086b7=_0x47d049===null||_0x47d049===void 0x0?void 0x0:_0x47d049[_0x28e595(0x16d)])!==null&&_0x5086b7!==void 0x0?_0x5086b7:_univerjs_pro_engine_chart[_0x28e595(0x4a6)]['axis'][_0x28e595(0x16d)],'onChange':_0x4dc980=>_0x38e868===null||_0x38e868===void 0x0?void 0x0:_0x38e868({'reverse':Boolean(_0x4dc980)}),'children':_0x2480ea(_0x28e595(0x8c))}),'\x20']})]}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x28e595(0x3c7)],{'className':'univer-mt-2','checked':(_0x4b82a3=_0x47d049===null||_0x47d049===void 0x0?void 0x0:_0x47d049[_0x28e595(0x1ef)])!==null&&_0x4b82a3!==void 0x0?_0x4b82a3:![],'onChange':_0xe0a7c3=>_0x38e868===null||_0x38e868===void 0x0?void 0x0:_0x38e868({'lineVisible':Boolean(_0xe0a7c3)}),'children':_0x2480ea('chart.styleEditPanel.showAxisLine')}),(0x0,react_jsx_runtime[_0x28e595(0x184)])('div',{'className':_0x28e595(0xc5),'children':(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{'className':_0x28e595(0xb6),..._0x47d049===null||_0x47d049===void 0x0?void 0x0:_0x47d049['label'],'localeService':_0x4981a3,'fontSize':(_0x28caf4=_0x47d049===null||_0x47d049===void 0x0||(_0x45ab5b=_0x47d049['label'])===null||_0x45ab5b===void 0x0?void 0x0:_0x45ab5b[_0x28e595(0x495)])!==null&&_0x28caf4!==void 0x0?_0x28caf4:_univerjs_pro_engine_chart[_0x28e595(0x4a6)][_0x28e595(0x3a6)][_0x28e595(0x495)],'color':(_0x1919d5=_0x47d049===null||_0x47d049===void 0x0||(_0x34657c=_0x47d049[_0x28e595(0x1bd)])===null||_0x34657c===void 0x0?void 0x0:_0x34657c[_0x28e595(0x461)])!==null&&_0x1919d5!==void 0x0?_0x1919d5:_univerjs_pro_engine_chart[_0x28e595(0x4a6)][_0x28e595(0x3a6)][_0x28e595(0x461)],'onChange':(_0x20fab2,_0x1af8ca)=>_0x38e868===null||_0x38e868===void 0x0?void 0x0:_0x38e868({'label':{[_0x20fab2]:_0x1af8ca}})})}),_0x517e2d&&(0x0,react_jsx_runtime[_0x28e595(0x184)])(_0x28e595(0x357),{'className':_0x28e595(0xc5),'children':(0x0,react_jsx_runtime[_0x28e595(0x184)])(_univerjs_design[_0x28e595(0x3c7)],{'checked':Boolean(_0x18b7c4),'onChange':_0x35542c=>_0x388398===null||_0x388398===void 0x0?void 0x0:_0x388398(Boolean(_0x35542c)),'children':(0x0,react_jsx_runtime[_0x28e595(0x184)])(_univerjs_design[_0x28e595(0x4f1)],{'title':_0x2480ea(_0x28e595(0x32b)),'children':(0x0,react_jsx_runtime[_0x28e595(0x184)])('span',{'children':_0x2480ea('chart.styleEditPanel.useDateAxis')})})})}),(0x0,react_jsx_runtime[_0x28e595(0x40b)])(_0x28e595(0x357),{'className':_0x28e595(0xc5),'children':[(0x0,react_jsx_runtime['jsx'])(_0x28e595(0x357),{'className':_0x28e595(0x46d),'children':_0x2480ea(_0x28e595(0x2c1))}),(0x0,react_jsx_runtime[_0x28e595(0x184)])(_univerjs_design['Select'],{'className':_0x28e595(0x425),'value':String(_0x2f68d5),'onChange':_0x4fa896=>_0x38e868===null||_0x38e868===void 0x0?void 0x0:_0x38e868({'label':{'rotate':Number(_0x4fa896)}}),'options':axisLabelRotateOptions})]}),_0x132039&&(0x0,react_jsx_runtime[_0x28e595(0x40b)])(_0x28e595(0x357),{'className':_0x28e595(0xc5),'children':[(0x0,react_jsx_runtime[_0x28e595(0x40b)])(_0x28e595(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x28e595(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2480ea('chart.min')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x28e595(0x38d)],{'value':_0xc225c3,'onChange':_0x389586=>{const _0x323ccd=_0x28e595;_0xffb634(_0x389586),_0x2fe123[_0x323ccd(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x271f42(Number[_0x323ccd(0x248)](_0x389586)?null:Number(_0x389586));},'onFocus':()=>_0x2fe123['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x47af1d=>{const _0x3395bb=_0x28e595;_0x2fe123[_0x3395bb(0x276)](_univerjs_core[_0x3395bb(0x344)],![]);const _0x29d5b0=_0x47af1d[_0x3395bb(0x19a)][_0x3395bb(0x30d)];_0x271f42(_0x29d5b0===''?null:Number(_0x29d5b0));},'onPressEnter':_0x5f35b1=>{const _0x3ce0f2=_0x28e595,_0x18fd6d=_0x5f35b1[_0x3ce0f2(0x19a)][_0x3ce0f2(0x30d)];_0x271f42(_0x18fd6d===''?null:Number(_0x18fd6d));}})]}),(0x0,react_jsx_runtime[_0x28e595(0x40b)])(_0x28e595(0x357),{'className':_0x28e595(0x326),'children':[(0x0,react_jsx_runtime[_0x28e595(0x184)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2480ea(_0x28e595(0x10e))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['InputNumber'],{'value':_0x174ae9,'onChange':_0x470e03=>{const _0x4bf1c3=_0x28e595;_0x29d18a(_0x470e03),_0x2fe123['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x536b2f(Number[_0x4bf1c3(0x248)](_0x470e03)?null:Number(_0x470e03));},'onFocus':()=>_0x2fe123[_0x28e595(0x276)](_univerjs_core[_0x28e595(0x344)],!![]),'onBlur':_0x3c842e=>{const _0x1e2c8d=_0x28e595;_0x2fe123[_0x1e2c8d(0x276)](_univerjs_core[_0x1e2c8d(0x344)],![]);const _0x5759e9=_0x3c842e[_0x1e2c8d(0x19a)]['value'];_0x536b2f(_0x5759e9===''?null:Number(_0x5759e9));},'onPressEnter':_0x52a1f1=>{const _0x1d7f3f=_0x28e595,_0x3b2516=_0x52a1f1['target'][_0x1d7f3f(0x30d)];_0x536b2f(_0x3b2516===''?null:Number(_0x3b2516));}})]})]})]});},GridLineAndTickOptions=_0x812d40=>{const _0x58f775=_0x38cd95;var _0x1f84e9,_0x155947,_0x369478,_0x368ba9;const {runtimeAxes:_0x401a82,localeService:_0x5c1b5e,service:_0x4939a1,className:_0x201e2d}=_0x812d40,{t:_0x272458}=_0x5c1b5e,_0x420cad=useTranslatedOptions(_0x5c1b5e,(0x0,react['useMemo'])(()=>axisListOptions[_0x58f775(0x24c)](_0x25db2f=>{const _0x237afb=_0x58f775,_0x1d50f9=_0x401a82===null||_0x401a82===void 0x0?void 0x0:_0x401a82[_0x237afb(0x314)](_0x8dd4b2=>_0x8dd4b2[_0x237afb(0x16b)]===_univerjs_pro_engine_chart[_0x237afb(0x1cb)]['Right']);if(_0x25db2f[_0x237afb(0x30d)]==='rightYAxis')return _0x1d50f9;return!![];}),[_0x401a82])),_0x47c2ee=(0x0,react[_0x58f775(0x316)])(()=>_0x401a82===null||_0x401a82===void 0x0?void 0x0:_0x401a82['find'](_0x516bdc=>_0x516bdc[_0x58f775(0x188)]===_univerjs_pro_engine_chart['IRuntimeAxisPriority'][_0x58f775(0x332)]),[_0x401a82]),[_0x5b77b5,_0x172c3d]=(0x0,react[_0x58f775(0x119)])(axisListOptions[0x0][_0x58f775(0x30d)]),[_0x41804c,_0x2c1d8a]=useChartConfigState(_0x58f775(0x522),_0x4939a1),[_0x4cb43e,_0x4e907b]=useChartConfigState(_0x58f775(0x222),_0x4939a1),[_0x50d04e,_0x214abb]=useChartConfigState(_0x58f775(0x484),_0x4939a1),_0x2bd26={'xAxis':_0x41804c,'yAxis':_0x4cb43e,'rightYAxis':_0x50d04e}[_0x5b77b5],_0x548c84={'xAxis':_0x2c1d8a,'yAxis':_0x4e907b,'rightYAxis':_0x214abb}[_0x5b77b5],_0x4a9edd={'xAxis':'bottom','yAxis':'left','rightYAxis':_0x58f775(0x200)}[_0x5b77b5],_0x8c4659=_0x2bd26===null||_0x2bd26===void 0x0?void 0x0:_0x2bd26['tick'],_0x475ee0=_0x2bd26===null||_0x2bd26===void 0x0?void 0x0:_0x2bd26[_0x58f775(0x2e3)],_0xd42009=(0x0,react[_0x58f775(0x1ed)])(_0x2fc467=>{_0x548c84===null||_0x548c84===void 0x0||_0x548c84({'gridLine':_0x2fc467});},[_0x548c84]),{visible:_0x5f5049,color:_0x568644,width:_0x35094d}=_0x475ee0!==null&&_0x475ee0!==void 0x0?_0x475ee0:{},_0x44083d=_0x5f5049!==null&&_0x5f5049!==void 0x0?_0x5f5049:(_0x47c2ee===null||_0x47c2ee===void 0x0?void 0x0:_0x47c2ee[_0x58f775(0x16b)])===_0x4a9edd,_0xe62bad=useTranslatedOptions(_0x5c1b5e,pieDataLabelPositionOptions),_0x1daa22=(0x0,react[_0x58f775(0x316)])(()=>{const _0x39b77e=_0x58f775;return defaultOption[_0x39b77e(0x1bd)]=_0x272458(defaultOption[_0x39b77e(0x1bd)]),[defaultOption,...tickLengthOptions];},[_0x272458]),_0x28f791=(0x0,react[_0x58f775(0x316)])(()=>{const _0x11389e=_0x58f775;return defaultOption[_0x11389e(0x1bd)]=_0x272458(defaultOption[_0x11389e(0x1bd)]),[defaultOption,...tickWidthOptions];},[_0x272458]);return(0x0,react_jsx_runtime[_0x58f775(0x40b)])('div',{'className':_0x201e2d,'children':[(0x0,react_jsx_runtime['jsx'])(_0x58f775(0x357),{'className':_0x58f775(0xc5),'children':(0x0,react_jsx_runtime[_0x58f775(0x184)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','options':_0x420cad,'value':_0x5b77b5,'onChange':_0x172c3d})}),(0x0,react_jsx_runtime[_0x58f775(0x184)])(_0x58f775(0x357),{'className':_0x58f775(0xc5),'children':(0x0,react_jsx_runtime[_0x58f775(0x184)])(_0x58f775(0x357),{'className':_0x58f775(0x326),'children':(0x0,react_jsx_runtime[_0x58f775(0x184)])(_univerjs_design['Checkbox'],{'checked':_0x44083d,'onChange':_0x5675e6=>_0xd42009===null||_0xd42009===void 0x0?void 0x0:_0xd42009({'visible':Boolean(_0x5675e6)}),'children':_0x272458(_0x58f775(0x1ea))})})}),_0x44083d&&(0x0,react_jsx_runtime[_0x58f775(0x40b)])(_0x58f775(0x357),{'className':_0x58f775(0xc5),'children':[(0x0,react_jsx_runtime[_0x58f775(0x40b)])(_0x58f775(0x357),{'className':_0x58f775(0x326),'children':[(0x0,react_jsx_runtime[_0x58f775(0x40b)])(_0x58f775(0x357),{'className':_0x58f775(0x449),'children':[_0x272458(_0x58f775(0x2e0)),_0x272458(_0x58f775(0x221))]}),(0x0,react_jsx_runtime[_0x58f775(0x184)])(ColorPickerControl,{'color':_0x568644,'onChange':_0x114907=>_0xd42009===null||_0xd42009===void 0x0?void 0x0:_0xd42009({'color':_0x114907!==null&&_0x114907!==void 0x0?_0x114907:void 0x0})})]}),(0x0,react_jsx_runtime[_0x58f775(0x40b)])(_0x58f775(0x357),{'className':_0x58f775(0x326),'children':[(0x0,react_jsx_runtime[_0x58f775(0x184)])(_0x58f775(0x357),{'className':_0x58f775(0x449),'children':_0x272458(_0x58f775(0x2ac),_0x272458(_0x58f775(0x2e0)))}),(0x0,react_jsx_runtime[_0x58f775(0x184)])(_univerjs_design[_0x58f775(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x35094d!==null&&_0x35094d!==void 0x0?_0x35094d:''),'onChange':_0x79eae9=>_0xd42009===null||_0xd42009===void 0x0?void 0x0:_0xd42009({'width':Number(_0x79eae9)}),'options':tickThicknessOptions})]})]}),(0x0,react_jsx_runtime[_0x58f775(0x40b)])(_0x58f775(0x357),{'children':[(0x0,react_jsx_runtime[_0x58f775(0x184)])(_0x58f775(0x357),{'children':(0x0,react_jsx_runtime[_0x58f775(0x184)])(_univerjs_design[_0x58f775(0x3c7)],{'checked':_0x8c4659===null||_0x8c4659===void 0x0?void 0x0:_0x8c4659['visible'],'onChange':_0x1f0f54=>_0x548c84===null||_0x548c84===void 0x0?void 0x0:_0x548c84({'tick':{'visible':Boolean(_0x1f0f54)}}),'children':_0x272458('chart.ticks.majorTick')})}),(0x0,react_jsx_runtime[_0x58f775(0x40b)])('div',{'children':[(0x0,react_jsx_runtime['jsxs'])(_0x58f775(0x357),{'className':_0x58f775(0xc5),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x58f775(0x357),{'className':_0x58f775(0x326),'children':[(0x0,react_jsx_runtime[_0x58f775(0x184)])('div',{'className':_0x58f775(0x449),'children':_0x272458('chart.ticks.tickPosition')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x58f775(0x133)],{'className':_0x58f775(0x452),'value':(_0x1f84e9=_0x8c4659===null||_0x8c4659===void 0x0?void 0x0:_0x8c4659['position'])!==null&&_0x1f84e9!==void 0x0?_0x1f84e9:_univerjs_pro_engine_chart[_0x58f775(0x4fe)][_0x58f775(0x167)],'options':_0xe62bad,'onChange':_0x1e502c=>_0x548c84===null||_0x548c84===void 0x0?void 0x0:_0x548c84({'tick':{'position':_0x1e502c}})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x58f775(0x357),{'className':_0x58f775(0x326),'children':[(0x0,react_jsx_runtime[_0x58f775(0x184)])(_0x58f775(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x272458(_0x58f775(0x4eb))}),(0x0,react_jsx_runtime[_0x58f775(0x184)])(_univerjs_design[_0x58f775(0x133)],{'className':_0x58f775(0x452),'value':String((_0x155947=_0x8c4659===null||_0x8c4659===void 0x0?void 0x0:_0x8c4659[_0x58f775(0x111)])!==null&&_0x155947!==void 0x0?_0x155947:defaultOption['value']),'options':_0x1daa22,'onChange':_0x589281=>_0x548c84===null||_0x548c84===void 0x0?void 0x0:_0x548c84({'tick':{'length':_0x589281===defaultOption[_0x58f775(0x30d)]?void 0x0:Number(_0x589281)}})})]})]}),(0x0,react_jsx_runtime[_0x58f775(0x40b)])('div',{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x58f775(0x40b)])(_0x58f775(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x58f775(0x357),{'className':_0x58f775(0x449),'children':_0x272458(_0x58f775(0x2ac),_0x272458(_0x58f775(0xbf)))}),(0x0,react_jsx_runtime[_0x58f775(0x184)])(_univerjs_design['Select'],{'className':_0x58f775(0x452),'value':String((_0x369478=_0x8c4659===null||_0x8c4659===void 0x0?void 0x0:_0x8c4659[_0x58f775(0x34d)])!==null&&_0x369478!==void 0x0?_0x369478:defaultOption[_0x58f775(0x30d)]),'options':_0x28f791,'onChange':_0xa5da0e=>_0x548c84===null||_0x548c84===void 0x0?void 0x0:_0x548c84({'tick':{'lineWidth':_0xa5da0e===defaultOption[_0x58f775(0x30d)]?void 0x0:Number(_0xa5da0e)}})})]}),(0x0,react_jsx_runtime[_0x58f775(0x40b)])('div',{'className':_0x58f775(0x326),'children':[(0x0,react_jsx_runtime[_0x58f775(0x184)])(_0x58f775(0x357),{'className':_0x58f775(0x449),'children':_0x272458(_0x58f775(0x351),_0x272458(_0x58f775(0xbf)))}),(0x0,react_jsx_runtime[_0x58f775(0x184)])(ColorPickerControl,{'color':(_0x368ba9=_0x8c4659===null||_0x8c4659===void 0x0?void 0x0:_0x8c4659[_0x58f775(0x7c)])!==null&&_0x368ba9!==void 0x0?_0x368ba9:'','onChange':_0xa4b5ea=>_0x548c84===null||_0x548c84===void 0x0?void 0x0:_0x548c84({'tick':{'lineColor':_0xa4b5ea!==null&&_0xa4b5ea!==void 0x0?_0xa4b5ea:void 0x0}})})]})]})]})]})]});},IndicatorLine=_0xa9d3ea=>{const _0x506818=_0x38cd95,{localeService:_0x1b19ea,onChange:_0x13d0c1,indicatorLabelColor:_0x1c73af,indicatorLineType:_0x26ae6a,indicatorLabelTextColor:_0x1c50d4,indicatorLineColor:_0x372864}=_0xa9d3ea,{t:_0x283fae}=_0x1b19ea,_0x2c43bf=useTranslatedOptions(_0x1b19ea,borderDashTypeOptions);return(0x0,react_jsx_runtime[_0x506818(0x40b)])(react_jsx_runtime[_0x506818(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x506818(0x40b)])(_0x506818(0x357),{'className':_0x506818(0x51f),'children':[(0x0,react_jsx_runtime[_0x506818(0x40b)])(_0x506818(0x357),{'className':_0x506818(0x326),'children':[(0x0,react_jsx_runtime[_0x506818(0x184)])(_0x506818(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x283fae(_0x506818(0x4a1))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x506818(0x452),'value':_0x26ae6a,'options':_0x2c43bf,'onChange':_0x1d48d9=>{_0x13d0c1===null||_0x13d0c1===void 0x0||_0x13d0c1({'indicatorLineType':_0x1d48d9});}})]}),(0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x506818(0x184)])(_0x506818(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x283fae(_0x506818(0x46b))}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':_0x372864,'onChange':_0x1dfd85=>{_0x13d0c1===null||_0x13d0c1===void 0x0||_0x13d0c1({'indicatorLineColor':_0x1dfd85});}})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x506818(0x357),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime[_0x506818(0x40b)])(_0x506818(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x506818(0x184)])(_0x506818(0x357),{'className':_0x506818(0x449),'children':_0x283fae(_0x506818(0x2fa))}),(0x0,react_jsx_runtime[_0x506818(0x184)])(ColorPickerControl,{'color':_0x1c73af,'onChange':_0x1e34cc=>{_0x13d0c1===null||_0x13d0c1===void 0x0||_0x13d0c1({'indicatorLabelColor':_0x1e34cc});}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x506818(0x357),{'className':_0x506818(0x326),'children':[(0x0,react_jsx_runtime[_0x506818(0x184)])(_0x506818(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x283fae(_0x506818(0x3d2))}),(0x0,react_jsx_runtime[_0x506818(0x184)])(ColorPickerControl,{'color':_0x1c50d4,'onChange':_0x1d8e45=>{_0x13d0c1===null||_0x13d0c1===void 0x0||_0x13d0c1({'indicatorLabelTextColor':_0x1d8e45});}})]})]})]});},PercentageChartTypes=new Set([_univerjs_pro_engine_chart['ChartTypeBits'][_0x38cd95(0xf5)],_univerjs_pro_engine_chart[_0x38cd95(0x448)]['Doughnut'],_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x50f)],_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x22e)],_univerjs_pro_engine_chart[_0x38cd95(0x448)][_0x38cd95(0x210)]]),DataLabelOptions=_0x44a38b=>{const _0x185cb7=_0x38cd95;var _0x3f0b03,_0x8cb4b1;const {fallbackLabelStyle:_0x44c3a5,labelStyle:_0x2d33f2,positionOptions:_0x4f9302,contentTypeOptions:_0x167902,onLabelStyleChange:_0x5d415d,onVisibleChange:_0x59e382,onPadAngleChange:_0x3711e9,localeService:_0x5b26ad,isPieLike:_0x2e49ae,padAngleStyle:_0x511340,onHalfPieChange:_0x30fa5f,isHalfPie:_0x35b079,onRosePieChange:_0x28df20,isRosePie:_0x4a9757,onShowLabelLineChange:_0x1de4d1,showLabelLine:_0x165b4e,chartType:_0x30ce1b}=_0x44a38b,_0x16920a={..._0x44c3a5,..._0x2d33f2},{contentType:_0x17e9d8}=_0x16920a,_0x57b1cd=(0x0,react[_0x185cb7(0x316)])(()=>{const _0x2b90c1=_0x185cb7;if(!_0x17e9d8)return[];const _0x44b222=labelContentTypeList['filter'](_0x300965=>_univerjs_pro_engine_chart['chartBitsUtils'][_0x2b90c1(0x3cc)](_0x17e9d8,_0x300965)),_0x2cff4e=[];for(const _0x5ee2a0 of _0x44b222)if(_0x5ee2a0===_univerjs_pro_engine_chart['LabelContentType']['Percentage']){if(PercentageChartTypes[_0x2b90c1(0x3cc)](_0x30ce1b))_0x2cff4e[_0x2b90c1(0x231)](_0x5ee2a0);}else _0x2cff4e[_0x2b90c1(0x231)](_0x5ee2a0);return _0x2cff4e[_0x2b90c1(0x26a)](_0xcd8f85=>String(_0xcd8f85));},[_0x17e9d8]),_0x3499df=(0x0,react[_0x185cb7(0x1ed)])(_0x4fec1a=>{const _0x15a27f=_0x185cb7,_0x55f732=_0x4fec1a[_0x15a27f(0x26a)](_0x4578d9=>Number(_0x4578d9));if(_0x55f732[_0x15a27f(0x111)]<=0x0)return;const _0x56b83e=_0x55f732[_0x15a27f(0x111)]>0x0?_0x55f732[_0x15a27f(0xe6)]((_0x1d75d8,_0x27477a)=>_0x1d75d8|_0x27477a):_univerjs_pro_engine_chart[_0x15a27f(0x439)]['Empty'];_0x5d415d===null||_0x5d415d===void 0x0||_0x5d415d('contentType',_0x56b83e);},[_0x5d415d]),{t:_0x4532e6}=_0x5b26ad;return(0x0,react_jsx_runtime[_0x185cb7(0x40b)])(_0x185cb7(0x357),{'children':[(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':_0x185cb7(0x449),'children':(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_univerjs_design[_0x185cb7(0x3c7)],{'checked':(_0x3f0b03=_0x16920a[_0x185cb7(0x369)])!==null&&_0x3f0b03!==void 0x0?_0x3f0b03:![],'onChange':_0x24fee4=>{_0x59e382===null||_0x59e382===void 0x0||_0x59e382(Boolean(_0x24fee4));},'children':_0x4532e6('chart.styleEditPanel.showDataLabels')})}),_0x2e49ae&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x185cb7(0x449),'children':(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_univerjs_design[_0x185cb7(0x3c7)],{'checked':_0x511340!==null&&_0x511340!==void 0x0?_0x511340:![],'onChange':_0x24a6bc=>{_0x3711e9===null||_0x3711e9===void 0x0||_0x3711e9(Boolean(_0x24a6bc));},'children':_0x4532e6(_0x185cb7(0x265))})}),(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':_0x185cb7(0x449),'children':(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_univerjs_design[_0x185cb7(0x3c7)],{'checked':_0x35b079!==null&&_0x35b079!==void 0x0?_0x35b079:![],'onChange':_0x30eaad=>{_0x30fa5f===null||_0x30fa5f===void 0x0||_0x30fa5f(Boolean(_0x30eaad));},'children':_0x4532e6(_0x185cb7(0x3a9))})}),(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x185cb7(0x3c7)],{'checked':_0x4a9757!==null&&_0x4a9757!==void 0x0?_0x4a9757:![],'onChange':_0x47c843=>{_0x28df20===null||_0x28df20===void 0x0||_0x28df20(Boolean(_0x47c843));},'children':_0x4532e6('chart.styleEditPanel.rosePie')})}),_0x16920a[_0x185cb7(0x369)]===!![]&&(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':_0x185cb7(0x449),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x185cb7(0x3c7)],{'checked':_0x165b4e!==null&&_0x165b4e!==void 0x0?_0x165b4e:![],'onChange':_0x245086=>{_0x1de4d1===null||_0x1de4d1===void 0x0||_0x1de4d1(Boolean(_0x245086));},'children':_0x4532e6(_0x185cb7(0x22c))})})]}),_0x16920a['visible']&&(0x0,react_jsx_runtime[_0x185cb7(0x40b)])('div',{'className':_0x185cb7(0x510),'children':[(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':_0x185cb7(0x449),'children':_0x4532e6('chart.styleEditPanel.labelPosition')}),(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_univerjs_design[_0x185cb7(0x133)],{'className':_0x185cb7(0x452),'value':(_0x8cb4b1=_0x16920a[_0x185cb7(0x16b)])!==null&&_0x8cb4b1!==void 0x0?_0x8cb4b1:'','onChange':_0x56642d=>_0x5d415d===null||_0x5d415d===void 0x0?void 0x0:_0x5d415d(_0x185cb7(0x16b),_0x56642d),'options':_0x4f9302}),_0x167902&&(0x0,react_jsx_runtime[_0x185cb7(0x40b)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':_0x185cb7(0x449),'children':_0x4532e6(_0x185cb7(0x4c5))}),(0x0,react_jsx_runtime[_0x185cb7(0x184)])('div',{'className':_0x185cb7(0xc0),'children':(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_univerjs_design['MultipleSelect'],{'className':'univer-w-full','value':_0x57b1cd,'options':_0x167902,'onChange':_0x3499df})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x185cb7(0x357),{'children':[(0x0,react_jsx_runtime[_0x185cb7(0x184)])(_0x185cb7(0x357),{'className':_0x185cb7(0x449),'children':_0x4532e6(_0x185cb7(0xb9))}),(0x0,react_jsx_runtime[_0x185cb7(0x184)])(FontFormatBar,{..._0x16920a,'localeService':_0x5b26ad,'onChange':_0x5d415d})]})]})]});},FillOptions=_0x13734c=>{const _0x2c7353=_0x38cd95;var _0x4a7f13,_0x4f34ba;const {localeService:_0x42d7c3,seriesStyle:_0x47e379,onSeriesStyleChange:_0x3047a3,controlName:_0x243f0d,allSeriesStyle:_0x21c3ea,chartType:_0x5e6eda}=_0x13734c,{t:_0x4a4ee1}=_0x42d7c3,_0x3e947b=_0x5e6eda===_univerjs_pro_engine_chart['ChartTypeBits'][_0x2c7353(0x518)]?_univerjs_pro_engine_chart[_0x2c7353(0x4a6)][_0x2c7353(0x1cd)][_0x2c7353(0x4ab)]:_univerjs_pro_engine_chart[_0x2c7353(0x4a6)][_0x2c7353(0xe0)][_0x2c7353(0x3f1)];return(0x0,react_jsx_runtime['jsxs'])(_0x2c7353(0x357),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime['jsxs'])(_0x2c7353(0x357),{'className':_0x2c7353(0x326),'children':[(0x0,react_jsx_runtime[_0x2c7353(0x184)])('div',{'className':_0x2c7353(0x449),'children':_0x4a4ee1(_0x2c7353(0x351),_0x243f0d)}),(0x0,react_jsx_runtime[_0x2c7353(0x184)])(ColorPickerControl,{'color':(_0x47e379===null||_0x47e379===void 0x0?void 0x0:_0x47e379[_0x2c7353(0x461)])||(_0x21c3ea===null||_0x21c3ea===void 0x0?void 0x0:_0x21c3ea[_0x2c7353(0x461)])||'','onChange':_0x42c937=>_0x3047a3===null||_0x3047a3===void 0x0?void 0x0:_0x3047a3({'color':_0x42c937})})]}),(0x0,react_jsx_runtime[_0x2c7353(0x40b)])(_0x2c7353(0x357),{'className':_0x2c7353(0x326),'children':[(0x0,react_jsx_runtime[_0x2c7353(0x184)])(_0x2c7353(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a4ee1(_0x2c7353(0x352),_0x243f0d)}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2c7353(0x133)],{'className':_0x2c7353(0x452),'value':String((_0x4a7f13=(_0x4f34ba=_0x47e379===null||_0x47e379===void 0x0?void 0x0:_0x47e379[_0x2c7353(0x29d)])!==null&&_0x4f34ba!==void 0x0?_0x4f34ba:_0x21c3ea===null||_0x21c3ea===void 0x0?void 0x0:_0x21c3ea[_0x2c7353(0x29d)])!==null&&_0x4a7f13!==void 0x0?_0x4a7f13:_0x3e947b),'options':lineOpacityOptions,'onChange':_0x210f6f=>_0x3047a3===null||_0x3047a3===void 0x0?void 0x0:_0x3047a3({'fillOpacity':Number(_0x210f6f)})})]})]});},BorderOptions=_0x496cb3=>{const _0xc87b95=_0x38cd95;var _0x260f6a,_0x37a1ef,_0x140d64,_0x2aa216;const {localeService:_0x3c7e2a,borderStyle:_0x42e24c,onSeriesStyleChange:_0x5bdb9e,controlName:_0x5db353,hideBorder:_0x5fce54,allSeriesBorderStyle:_0x11e197,isLineOrAreaChart:_0x1d5c98}=_0x496cb3,_0x2f2579=useTranslatedOptions(_0x3c7e2a,borderDashTypeOptions),{t:_0x21e92f}=_0x3c7e2a,_0xb47084=_0x1d5c98?borderWidthOptions[_0xc87b95(0x2f7)](0x1):borderWidthOptions;return(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(react_jsx_runtime[_0xc87b95(0x1ac)],{'children':[_0x5fce54&&(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(_0xc87b95(0x357),{'className':_0xc87b95(0x51f),'children':[(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(_0xc87b95(0x357),{'className':_0xc87b95(0x326),'children':[(0x0,react_jsx_runtime[_0xc87b95(0x184)])(_0xc87b95(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x21e92f(_0xc87b95(0x351),_0x5db353)}),(0x0,react_jsx_runtime[_0xc87b95(0x184)])(ColorPickerControl,{'color':(_0x260f6a=_0x42e24c===null||_0x42e24c===void 0x0?void 0x0:_0x42e24c[_0xc87b95(0x461)])!==null&&_0x260f6a!==void 0x0?_0x260f6a:_0x11e197===null||_0x11e197===void 0x0?void 0x0:_0x11e197[_0xc87b95(0x461)],'onChange':_0x545c26=>_0x5bdb9e===null||_0x5bdb9e===void 0x0?void 0x0:_0x5bdb9e({'border':{'color':_0x545c26}})})]}),(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(_0xc87b95(0x357),{'className':_0xc87b95(0x326),'children':[(0x0,react_jsx_runtime[_0xc87b95(0x184)])(_0xc87b95(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x21e92f('chart.withOpacity',_0x5db353)}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xc87b95(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x37a1ef=_0x42e24c===null||_0x42e24c===void 0x0?void 0x0:_0x42e24c[_0xc87b95(0x3f1)])!==null&&_0x37a1ef!==void 0x0?_0x37a1ef:_0x11e197===null||_0x11e197===void 0x0?void 0x0:_0x11e197['opacity']),'options':lineOpacityOptions,'onChange':_0x2c2f65=>_0x5bdb9e===null||_0x5bdb9e===void 0x0?void 0x0:_0x5bdb9e({'border':{'opacity':Number(_0x2c2f65)}})})]})]}),(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(_0xc87b95(0x357),{'className':_0xc87b95(0x51f),'children':[(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(_0xc87b95(0x357),{'className':_0xc87b95(0x326),'children':[(0x0,react_jsx_runtime[_0xc87b95(0x184)])(_0xc87b95(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x21e92f(_0xc87b95(0x11c),_0x5db353)}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xc87b95(0x133)],{'className':_0xc87b95(0x452),'value':(_0x140d64=_0x42e24c===null||_0x42e24c===void 0x0?void 0x0:_0x42e24c[_0xc87b95(0x102)])!==null&&_0x140d64!==void 0x0?_0x140d64:_0x11e197===null||_0x11e197===void 0x0?void 0x0:_0x11e197[_0xc87b95(0x102)],'options':_0x2f2579,'onChange':_0x3ee170=>_0x5bdb9e===null||_0x5bdb9e===void 0x0?void 0x0:_0x5bdb9e({'border':{'dashType':_0x3ee170}})})]}),(0x0,react_jsx_runtime[_0xc87b95(0x40b)])(_0xc87b95(0x357),{'className':_0xc87b95(0x326),'children':[(0x0,react_jsx_runtime[_0xc87b95(0x184)])(_0xc87b95(0x357),{'className':_0xc87b95(0x449),'children':_0x21e92f(_0xc87b95(0x2ac),_0x5db353)}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xc87b95(0x133)],{'className':_0xc87b95(0x452),'value':String((_0x2aa216=_0x42e24c===null||_0x42e24c===void 0x0?void 0x0:_0x42e24c[_0xc87b95(0xd2)])!==null&&_0x2aa216!==void 0x0?_0x2aa216:_0x11e197===null||_0x11e197===void 0x0?void 0x0:_0x11e197[_0xc87b95(0xd2)]),'options':_0xb47084,'onChange':_0x5e1d9e=>_0x5bdb9e===null||_0x5bdb9e===void 0x0?void 0x0:_0x5bdb9e({'border':{'width':Number(_0x5e1d9e)}})})]})]})]});},LinePointOptions=_0x39fcc1=>{const _0x16982d=_0x38cd95,{localeService:_0x3f6868,pointStyle:_0x144348,controls:_0x1fcbb2,onChange:_0x50db2b}=_0x39fcc1,_0x506c42=useTranslatedOptions(_0x3f6868,linePointShapeOptions),_0x18047a=useTranslatedOptions(_0x3f6868,linePointSizeOptions),{t:_0xaad68f}=_0x3f6868,_0x5cf5ad=_0x1fcbb2[_0x16982d(0x26a)](_0x269372=>{const _0x218bf2=_0x16982d;switch(_0x269372){case _0x218bf2(0x146):return(0x0,react_jsx_runtime[_0x218bf2(0x40b)])(_0x218bf2(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x218bf2(0x184)])(_0x218bf2(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xaad68f(_0x218bf2(0x1b9),_0xaad68f(_0x218bf2(0x2c6)))}),(0x0,react_jsx_runtime[_0x218bf2(0x184)])(_univerjs_design['Select'],{'className':_0x218bf2(0x452),'value':String(_0x144348[_0x218bf2(0x146)]),'options':_0x506c42,'onChange':_0x2a5a9b=>_0x50db2b===null||_0x50db2b===void 0x0?void 0x0:_0x50db2b(_0x218bf2(0x146),_0x2a5a9b)})]},_0x269372);case _0x218bf2(0x1e6):return(0x0,react_jsx_runtime[_0x218bf2(0x40b)])('div',{'className':_0x218bf2(0x326),'children':[(0x0,react_jsx_runtime[_0x218bf2(0x184)])('div',{'className':_0x218bf2(0x449),'children':_0xaad68f('chart.withSize',_0xaad68f('chart.dataPoint'))}),(0x0,react_jsx_runtime[_0x218bf2(0x184)])(_univerjs_design[_0x218bf2(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x144348[_0x218bf2(0x1e6)]),'options':_0x18047a,'onChange':_0x354229=>_0x50db2b===null||_0x50db2b===void 0x0?void 0x0:_0x50db2b(_0x218bf2(0x1e6),Number(_0x354229))})]},_0x269372);case _0x218bf2(0x461):return(0x0,react_jsx_runtime['jsxs'])(_0x218bf2(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x218bf2(0x184)])(_0x218bf2(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xaad68f(_0x218bf2(0x351),_0xaad68f(_0x218bf2(0x18b)))}),(0x0,react_jsx_runtime[_0x218bf2(0x184)])(ColorPickerControl,{'color':_0x144348['color'],'onChange':_0x217474=>_0x50db2b===null||_0x50db2b===void 0x0?void 0x0:_0x50db2b(_0x218bf2(0x461),_0x217474)})]},_0x269372);}return null;}),_0x74c95f=[];for(let _0x313150=0x0;_0x313150<_0x5cf5ad['length'];_0x313150+=0x2)_0x74c95f[_0x16982d(0x231)]((0x0,react_jsx_runtime[_0x16982d(0x40b)])('div',{'className':_0x16982d(0x51f),'children':[_0x5cf5ad[_0x313150],_0x313150+0x1<_0x5cf5ad[_0x16982d(0x111)]?_0x5cf5ad[_0x313150+0x1]:(0x0,react_jsx_runtime[_0x16982d(0x184)])(_0x16982d(0x357),{'className':_0x16982d(0x326)})]},_0x313150));return(0x0,react_jsx_runtime[_0x16982d(0x184)])(react_jsx_runtime[_0x16982d(0x1ac)],{'children':[..._0x74c95f]});},AxisControl=_0x32b93b=>{const _0x4818cd=_0x38cd95,{localeService:_0x4048c2,rightYAxis:_0x309d6c,onSeriesStyleChange:_0x309762}=_0x32b93b,{t:_0x51fcce}=_0x4048c2;return(0x0,react_jsx_runtime['jsx'])(_0x4818cd(0x357),{'className':_0x4818cd(0x51f),'children':(0x0,react_jsx_runtime[_0x4818cd(0x184)])('div',{'className':_0x4818cd(0x326),'children':(0x0,react_jsx_runtime[_0x4818cd(0x184)])(_univerjs_design[_0x4818cd(0x3c7)],{'checked':_0x309d6c,'onChange':_0x1d71c8=>{_0x309762===null||_0x309762===void 0x0||_0x309762({'rightYAxis':Boolean(_0x1d71c8)});},'children':_0x51fcce(_0x4818cd(0x131))})})});},fallbackPointStyle={'shape':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3d4)][_0x38cd95(0x146)],'size':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3d4)]['size'],'color':_0x38cd95(0x46e)},linePointControls$2=[_0x38cd95(0x146),_0x38cd95(0x1e6)],DataPointsEdit=_0x1929cc=>{const _0x54a4f9=_0x38cd95,{chartType:_0x31f03a,data:_0xad8c70,options:_0x3307ca,localeService:_0x463ff8,onChange:_0x46dfd1}=_0x1929cc,{t:_0x3d8856}=_0x463ff8,_0x1850da=_0x31f03a===_univerjs_pro_engine_chart[_0x54a4f9(0x448)][_0x54a4f9(0x1f1)],_0x4bb20b=_0xad8c70!==null&&_0xad8c70!==void 0x0?_0xad8c70:{};return(0x0,react_jsx_runtime[_0x54a4f9(0x184)])('div',{'className':_0x54a4f9(0x182),'children':Object['keys'](_0x4bb20b)[_0x54a4f9(0x26a)](_0x1ddadf=>{return{'key':_0x1ddadf,'style':_0x4bb20b[Number(_0x1ddadf)]};})['map'](_0x4ec26b=>{const _0x59de64=_0x54a4f9;var _0x4e50ea;const {style:_0x152b4d}=_0x4ec26b;if(_0x152b4d===void 0x0)return null;return(0x0,react_jsx_runtime[_0x59de64(0x40b)])(_0x59de64(0x357),{'className':_0x59de64(0xd1),'children':[(0x0,react_jsx_runtime[_0x59de64(0x40b)])(_0x59de64(0x357),{'className':_0x59de64(0x51f),'children':[(0x0,react_jsx_runtime[_0x59de64(0x40b)])(_0x59de64(0x357),{'className':_0x59de64(0x326),'children':[(0x0,react_jsx_runtime[_0x59de64(0x184)])(_0x59de64(0x357),{'className':_0x59de64(0x449),'children':_0x3d8856('chart.dataPoint')}),(0x0,react_jsx_runtime[_0x59de64(0x184)])(_univerjs_design[_0x59de64(0x133)],{'className':_0x59de64(0x452),'value':_0x4ec26b['key'],'options':_0x3307ca,'onChange':_0x2bf64d=>{const _0x448643=_0x59de64;_0x46dfd1===null||_0x46dfd1===void 0x0||_0x46dfd1({[_0x4ec26b[_0x448643(0x445)]]:void 0x0,[Number(_0x2bf64d)]:_0x4ec26b['style']});}})]}),(0x0,react_jsx_runtime[_0x59de64(0x40b)])(_0x59de64(0x357),{'className':_0x59de64(0x326),'children':[(0x0,react_jsx_runtime['jsx'])(_0x59de64(0x357),{'className':_0x59de64(0x449),'children':_0x3d8856('chart.color')}),(0x0,react_jsx_runtime[_0x59de64(0x184)])(ColorPickerControl,{'color':(_0x4e50ea=_0x152b4d===null||_0x152b4d===void 0x0?void 0x0:_0x152b4d[_0x59de64(0x461)])!==null&&_0x4e50ea!==void 0x0?_0x4e50ea:'','onChange':_0xa0ae3d=>{const _0x427952=_0x59de64;_0x46dfd1===null||_0x46dfd1===void 0x0||_0x46dfd1({[_0x4ec26b[_0x427952(0x445)]]:{'color':_0xa0ae3d}});}})]}),(0x0,react_jsx_runtime[_0x59de64(0x184)])(_univerjs_design[_0x59de64(0x3b9)],{'className':_0x59de64(0xd6),'variant':_0x59de64(0x4ea),'onClick':()=>_0x46dfd1===null||_0x46dfd1===void 0x0?void 0x0:_0x46dfd1({[_0x4ec26b['key']]:void 0x0}),'children':(0x0,react_jsx_runtime[_0x59de64(0x184)])(_univerjs_icons[_0x59de64(0x218)],{})})]}),_0x1850da&&(0x0,react_jsx_runtime[_0x59de64(0x184)])(LinePointOptions,{'pointStyle':{...fallbackPointStyle,..._0x4ec26b['style']},'controls':linePointControls$2,'localeService':_0x463ff8,'onChange':(_0x44d7cd,_0x56bcdb)=>_0x46dfd1===null||_0x46dfd1===void 0x0?void 0x0:_0x46dfd1({[_0x4ec26b['key']]:{[_0x44d7cd]:_0x56bcdb}})})]},_0x4ec26b['key']);})});},fallbackLabelStyle$2={'fontSize':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3a6)][_0x38cd95(0x495)],'contentType':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3fc)],'position':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3a6)][_0x38cd95(0x16b)]},ParetoStyleEdit=_0x29a284=>{const _0x2cc2f5=_0x38cd95,{localeService:_0x1205ec,service:_0x120f82,isLineSeries:_0x5a9c0b}=_0x29a284,{t:_0x3fa709}=_0x1205ec,[_0x274fab]=useChartConfigState(_0x2cc2f5(0x3d6),_0x120f82),[_0x27f6fd,_0x3450da]=useChartConfigState(_0x2cc2f5(0xe8),_0x120f82),_0x17fe6b=[_0x2cc2f5(0x146),_0x2cc2f5(0x1e6),_0x2cc2f5(0x461)],[_0x145a91]=useChartConfigState('paretoDataPointsOptions',_0x120f82),_0x32a774=_0xf9b0ae=>{_0x3450da({'lineStyle':{..._0xf9b0ae}});},_0x23f379=_0x39fa00=>{_0x3450da({'barStyle':{..._0x39fa00}});},_0x51a2a8=_0x5a9c0b?_0x32a774:_0x23f379,_0xcceca1=_univerjs_pro_engine_chart['defaultChartConfig'][_0x2cc2f5(0xe0)],_0x35401e=_0x5a9c0b?_0x27f6fd===null||_0x27f6fd===void 0x0?void 0x0:_0x27f6fd[_0x2cc2f5(0x9d)]:_0x27f6fd===null||_0x27f6fd===void 0x0?void 0x0:_0x27f6fd[_0x2cc2f5(0x4f7)],_0x460003=_0x35401e===null||_0x35401e===void 0x0?void 0x0:_0x35401e['dataPoints'],_0x287d14=_0x1ec671=>{const _0x406e92=_0x2cc2f5;if(_0x35401e&&_0x35401e[_0x406e92(0x1b2)]&&_0x35401e[_0x406e92(0x1b2)][_0x1ec671])return;_0x51a2a8({'dataPoints':{[_0x1ec671]:{}}});},_0x4868f9=_0x260b74=>{_0x51a2a8({'dataPoints':_0x260b74});},_0x5ea912=useTranslatedOptions(_0x1205ec,dataLabelPositionOptions),_0x2d8f16=(0x0,react[_0x2cc2f5(0x316)])(()=>{const _0x237e68=_0x2cc2f5;return labelContentOptions[_0x237e68(0x26a)](_0x57992e=>{const _0x5c3c84=_0x237e68;return{'value':_0x57992e[_0x5c3c84(0x30d)],'label':_0x1205ec['t'](_0x57992e['label'])};});},[_0x1205ec]),_0x566902=Object[_0x2cc2f5(0x33d)]({'color':'transparent','opacity':_0xcceca1[_0x2cc2f5(0x3f1)],'width':_0x5a9c0b?_0xcceca1[_0x2cc2f5(0x40e)][_0x2cc2f5(0x2f0)]:_0xcceca1[_0x2cc2f5(0xd2)],'dashType':_0xcceca1[_0x2cc2f5(0x102)]},_0x35401e===null||_0x35401e===void 0x0?void 0x0:_0x35401e['border']),_0x288b1a=Object[_0x2cc2f5(0x33d)]({'shape':_univerjs_pro_engine_chart[_0x2cc2f5(0x4a6)][_0x2cc2f5(0x3d4)][_0x2cc2f5(0x146)],'size':_univerjs_pro_engine_chart[_0x2cc2f5(0x4a6)][_0x2cc2f5(0x260)][_0x2cc2f5(0x22b)],'color':_0x2cc2f5(0x46e)},_0x274fab===null||_0x274fab===void 0x0?void 0x0:_0x274fab[_0x2cc2f5(0x3d4)],_0x35401e===null||_0x35401e===void 0x0?void 0x0:_0x35401e[_0x2cc2f5(0x3d4)]),_0x2a0d77=Object[_0x2cc2f5(0x33d)]({},_0x35401e===null||_0x35401e===void 0x0?void 0x0:_0x35401e['label']);return(0x0,react_jsx_runtime['jsxs'])('section',{'className':_0x2cc2f5(0x333),'children':[(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x2cc2f5(0x448)][_0x2cc2f5(0x50b)],'allSeriesStyle':_0x274fab,'controlName':_0x3fa709(_0x5a9c0b?'chart.line':_0x2cc2f5(0x189)),'seriesStyle':_0x35401e,'onSeriesStyleChange':_0x51a2a8,'localeService':_0x1205ec}),(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(BorderOptions,{'isLineOrAreaChart':_0x5a9c0b,'allSeriesBorderStyle':_0x35401e===null||_0x35401e===void 0x0?void 0x0:_0x35401e[_0x2cc2f5(0xcf)],'hideBorder':!_0x5a9c0b,'controlName':_0x3fa709(_0x5a9c0b?_0x2cc2f5(0xbf):'chart.border'),'borderStyle':_0x566902,'onSeriesStyleChange':_0x51a2a8,'localeService':_0x1205ec}),_0x5a9c0b&&(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(LinePointOptions,{'pointStyle':_0x288b1a,'onChange':(_0xb10124,_0x481ba1)=>_0x51a2a8({'point':{[_0xb10124]:_0x481ba1}}),'controls':_0x17fe6b,'localeService':_0x1205ec}),!_0x5a9c0b&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x2cc2f5(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x2cc2f5(0x40b)])('div',{'className':_0x2cc2f5(0x251),'children':[(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(_0x2cc2f5(0x357),{'className':_0x2cc2f5(0x326),'children':(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x2cc2f5(0x101),'children':_0x3fa709(_0x2cc2f5(0x50c),_0x3fa709('chart.dataPoint'))})}),(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(_0x2cc2f5(0x357),{'className':_0x2cc2f5(0x326),'children':(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(DropdownSelector,{'value':'','menus':_0x145a91!==null&&_0x145a91!==void 0x0?_0x145a91:[],'onSelect':_0x317b6a=>_0x287d14(+_0x317b6a),'children':(0x0,react_jsx_runtime[_0x2cc2f5(0x40b)])('div',{'className':_0x2cc2f5(0x482),'children':[(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(_univerjs_icons[_0x2cc2f5(0x18f)],{}),(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(_0x2cc2f5(0x1ec),{'children':_0x3fa709('chart.addDataPoint')})]})})})]}),_0x460003&&(0x0,react_jsx_runtime['jsx'])(DataPointsEdit,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits']['Pareto'],'data':_0x460003,'options':_0x145a91!==null&&_0x145a91!==void 0x0?_0x145a91:[],'onChange':_0x4868f9,'localeService':_0x1205ec})]}),(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])('div',{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0x2cc2f5(0x184)])(DataLabelOptions,{'localeService':_0x1205ec,'fallbackLabelStyle':fallbackLabelStyle$2,'labelStyle':_0x2a0d77,'positionOptions':_0x5ea912,'contentTypeOptions':_0x2d8f16,'onLabelStyleChange':(_0x3a0455,_0x461df0)=>_0x51a2a8({'label':{[_0x3a0455]:_0x461df0}}),'onVisibleChange':_0x3acc53=>_0x51a2a8({'label':{'visible':_0x3acc53}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart[_0x2cc2f5(0x448)][_0x2cc2f5(0x50b)]})})]});},PieChartStyleEdit=_0x27cc05=>{const _0x999100=_0x38cd95,{chartType:_0x3cc319,service:_0x227431,localeService:_0x5ed884,onChartTypeChange:_0x51294b}=_0x27cc05,[_0x507d4e,_0x3126dc]=useChartConfigState('pieBorderColor',_0x227431),[_0x3f7e3c,_0x35951b]=useChartConfigState(_0x999100(0x2f1),_0x227431),[_0x6a481e,_0x2e7fb1]=useChartConfigState(_0x999100(0x32e),_0x227431),[_0x25cfa4,_0x174174]=useChartConfigState(_0x999100(0xff),_0x227431),[_0x5a5996,_0x319755]=useChartConfigState('isRosePie',_0x227431),[_0x48c884,_0x35dd5e]=useChartConfigState('showLabelLine',_0x227431),[_0x2deadf,_0x53e832]=useChartConfigState(_0x999100(0x81),_0x227431),[_0x2f86c4,_0x2824ed]=useChartConfigState(_0x999100(0x487),_0x227431),[_0x66fb3b,_0x118a1e]=useChartConfigState(_0x999100(0x12c),_0x227431),[_0x16f3df,_0xd0e88f]=(0x0,react[_0x999100(0x119)])(_0x2f86c4||''),_0x139406=_0x3cc319===_univerjs_pro_engine_chart[_0x999100(0x448)][_0x999100(0x2be)]?_univerjs_pro_engine_chart[_0x999100(0x4a6)]['pie'][_0x999100(0xa8)]:0x0,[_0x38db4f,_0x46a04c]=useChartConfigState(_0x999100(0xa8),_0x227431),_0x4416c0=useTranslatedOptions(_0x5ed884,pieDataLabelPositionOptions),_0x6959b6=useTranslatedOptions(_0x5ed884,pieLabelContentOptions),_0x242f4a=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x999100(0x3c3)]),_0x522010=(0x0,react[_0x999100(0x316)])(()=>{const _0x1dcb04=_0x999100;return{'visible':!![],'contentType':_univerjs_pro_engine_chart['defaultChartConfig']['pie'][_0x1dcb04(0x3fc)],'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0x1dcb04(0x3a6)]['fontSize'],'position':_univerjs_pro_engine_chart[_0x1dcb04(0x4fe)]['Outside']};},[]),_0x1a929b=(0x0,react[_0x999100(0x1ed)])(_0x263bfe=>{const _0x2e372d=_0x999100,_0x45a6e0=Number(_0x263bfe),_0x564758=_0x45a6e0>0x0?_univerjs_pro_engine_chart[_0x2e372d(0x448)][_0x2e372d(0x2be)]:_univerjs_pro_engine_chart[_0x2e372d(0x448)]['Pie'];if(_0x564758!==_0x3cc319)_0x51294b===null||_0x51294b===void 0x0||_0x51294b(_0x564758);_0x46a04c(_0x45a6e0);},[_0x3cc319,_0x51294b]),{t:_0x24acf6}=_0x5ed884;return(0x0,react_jsx_runtime[_0x999100(0x40b)])(_0x999100(0x357),{'className':_0x999100(0x24f),'children':[(0x0,react_jsx_runtime[_0x999100(0x40b)])(_0x999100(0x357),{'className':_0x999100(0xc5),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x999100(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x999100(0x184)])(_0x999100(0x357),{'className':_0x999100(0x449),'children':_0x24acf6('chart.doughnutHole')}),(0x0,react_jsx_runtime[_0x999100(0x184)])(_univerjs_design[_0x999100(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x38db4f?String(_0x38db4f):_0x139406*0x64+'%','options':pieDonutHoleOptions,'onChange':_0x1a929b})]}),(0x0,react_jsx_runtime[_0x999100(0x40b)])(_0x999100(0x357),{'className':_0x999100(0x326),'children':[(0x0,react_jsx_runtime[_0x999100(0x184)])(_0x999100(0x357),{'className':_0x999100(0x449),'children':_0x24acf6(_0x999100(0x351),_0x24acf6(_0x999100(0x8d)))}),(0x0,react_jsx_runtime[_0x999100(0x184)])(ColorPickerControl,{'color':_0x507d4e!==null&&_0x507d4e!==void 0x0?_0x507d4e:'','onChange':_0x3126dc})]})]}),(0x0,react_jsx_runtime[_0x999100(0x40b)])(_0x999100(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x999100(0x184)])('div',{'className':_0x999100(0x449),'children':_0x24acf6('chart.styleEditPanel.pieValScale')}),(0x0,react_jsx_runtime[_0x999100(0x40b)])(_0x999100(0x357),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x999100(0x326),'children':[(0x0,react_jsx_runtime[_0x999100(0x184)])(_0x999100(0x357),{'className':_0x999100(0x449),'children':_0x24acf6(_0x999100(0x4f8))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x999100(0x38d)],{'value':_0x2deadf!==null&&_0x2deadf!==void 0x0?_0x2deadf:0x1,'onChange':_0x3f3a45=>{const _0x3e0609=_0x999100;_0x242f4a['setContextValue'](_univerjs_core[_0x3e0609(0x344)],![]),_0x53e832(Number[_0x3e0609(0x248)](_0x3f3a45)?null:Number(_0x3f3a45));},'onFocus':()=>_0x242f4a['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x937ec5=>{const _0x5938a0=_0x999100;_0x242f4a[_0x5938a0(0x276)](_univerjs_core[_0x5938a0(0x344)],![]);const _0x2f0020=_0x937ec5[_0x5938a0(0x19a)][_0x5938a0(0x30d)];_0x53e832(_0x2f0020===''?null:Number(_0x2f0020));},'onPressEnter':_0x53184e=>{const _0x48d1fe=_0x999100,_0x4299cc=_0x53184e[_0x48d1fe(0x19a)][_0x48d1fe(0x30d)];_0x53e832(_0x4299cc===''?null:Number(_0x4299cc));}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x999100(0x357),{'className':_0x999100(0x326),'children':[(0x0,react_jsx_runtime[_0x999100(0x184)])(_0x999100(0x357),{'className':_0x999100(0x449),'children':_0x24acf6(_0x999100(0xda))}),(0x0,react_jsx_runtime[_0x999100(0x184)])(_univerjs_design[_0x999100(0x38d)],{'value':_0x66fb3b!==null&&_0x66fb3b!==void 0x0?_0x66fb3b:0x1,'onChange':_0x579bd4=>{const _0x774662=_0x999100;_0x242f4a[_0x774662(0x276)](_univerjs_core[_0x774662(0x344)],![]),_0x118a1e(Number[_0x774662(0x248)](_0x579bd4)?null:Number(_0x579bd4));},'onFocus':()=>_0x242f4a[_0x999100(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x422176=>{const _0x6a0ae=_0x999100;_0x242f4a[_0x6a0ae(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x18b4af=_0x422176['target'][_0x6a0ae(0x30d)];_0x118a1e(_0x18b4af===''?null:Number(_0x18b4af));},'onPressEnter':_0x8fcc69=>{const _0x4ace47=_0x999100,_0x3d7887=_0x8fcc69[_0x4ace47(0x19a)][_0x4ace47(0x30d)];_0x118a1e(_0x3d7887===''?null:Number(_0x3d7887));}})]}),(0x0,react_jsx_runtime[_0x999100(0x40b)])(_0x999100(0x357),{'className':_0x999100(0x326),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x999100(0x449),'children':_0x24acf6(_0x999100(0x3eb))}),(0x0,react_jsx_runtime[_0x999100(0x184)])(_univerjs_design[_0x999100(0x2f3)],{'className':_0x999100(0x452),'value':_0x16f3df,'onChange':_0xd0e88f,'onFocus':()=>{const _0x5993f7=_0x999100;_0x242f4a[_0x5993f7(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);},'onBlur':()=>{const _0x461154=_0x999100;_0x242f4a['setContextValue'](_univerjs_core[_0x461154(0x344)],![]),_0x2824ed(_0x16f3df);}})]})]})]}),(0x0,react_jsx_runtime['jsx'])(DataLabelOptions,{'localeService':_0x5ed884,'chartType':_0x3cc319,'fallbackLabelStyle':_0x522010,'labelStyle':_0x3f7e3c!==null&&_0x3f7e3c!==void 0x0?_0x3f7e3c:{},'onVisibleChange':_0x17ee9c=>_0x35951b({'visible':_0x17ee9c}),'onLabelStyleChange':(_0x3cdb60,_0x478685)=>_0x35951b({[_0x3cdb60]:_0x478685}),'positionOptions':_0x4416c0,'contentTypeOptions':_0x6959b6,'onPadAngleChange':_0x1c2adc=>_0x2e7fb1(_0x1c2adc),'padAngleStyle':_0x6a481e,'onHalfPieChange':_0x414461=>_0x174174(_0x414461),'isHalfPie':_0x25cfa4,'isRosePie':_0x5a5996,'onRosePieChange':_0x54a290=>_0x319755(_0x54a290),'onShowLabelLineChange':_0x1af360=>_0x35dd5e(_0x1af360),'showLabelLine':_0x48c884,'isPieLike':!![]})]});};function RelationEdit(_0x1dcef5){const _0x4c7dbd=_0x38cd95;var _0x5f4059,_0x43b07e;const {localeService:_0x2451bc,service:_0xbf1c57}=_0x1dcef5,_0xb238b8=(0x0,_univerjs_ui[_0x4c7dbd(0xdb)])(_univerjs_core['IContextService']),_0x181fd7=_0x2451bc['t'],_0x45eae4=useTranslatedOptions(_0x2451bc,RelationLayoutOptions),[_0x25497e,_0x45bdfc]=useChartConfigState(_0x4c7dbd(0x423),_0xbf1c57),[_0x1a7591,_0x16e9e5]=useChartConfigState(_0x4c7dbd(0xb0),_0xbf1c57),[_0x2ad180,_0x3a46f9]=useChartConfigState(_0x4c7dbd(0xb1),_0xbf1c57),[_0x5b9ed3,_0x927893]=useChartConfigState(_0x4c7dbd(0xbc),_0xbf1c57),[_0x32588d,_0x2a192e]=useChartConfigState(_0x4c7dbd(0x374),_0xbf1c57),_0x91695b=_0x2fc442=>{_0x927893({..._0x5b9ed3,..._0x2fc442});},_0x4c8f32=_0xc6d943=>{_0x45bdfc(_0xc6d943);},_0x32da26=_0x25497e===_univerjs_pro_engine_chart[_0x4c7dbd(0xdf)]['Force'],_0x20155d=_0x25497e===_univerjs_pro_engine_chart[_0x4c7dbd(0xdf)][_0x4c7dbd(0x346)],_0x534c77=useTranslatedOptions(_0x2451bc,linePointShapeOptions),[_0x38682f,_0x2f70c0]=useChartConfigState(_0x4c7dbd(0x1e2),_0xbf1c57);return(0x0,react_jsx_runtime[_0x4c7dbd(0x40b)])('div',{'children':[(0x0,react_jsx_runtime['jsxs'])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0x140),'children':[(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x181fd7(_0x4c7dbd(0x158))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4c7dbd(0x133)],{'className':_0x4c7dbd(0x452),'value':String(_0x38682f!==null&&_0x38682f!==void 0x0?_0x38682f:_univerjs_pro_engine_chart['defaultChartConfig']['relation'][_0x4c7dbd(0x207)]),'options':_0x534c77,'onChange':_0x505b31=>_0x2f70c0(_0x505b31)})]},_0x4c7dbd(0x146)),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_0x4c7dbd(0x357),{'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4c7dbd(0x3c7)],{'checked':_0x1a7591!==null&&_0x1a7591!==void 0x0?_0x1a7591:!![],'onChange':_0x1d0629=>{_0x16e9e5===null||_0x16e9e5===void 0x0||_0x16e9e5(Boolean(_0x1d0629));},'children':_0x181fd7(_0x4c7dbd(0xa2))})}),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0x416),'children':(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_univerjs_design[_0x4c7dbd(0x3c7)],{'checked':_0x2ad180!==null&&_0x2ad180!==void 0x0?_0x2ad180:!![],'onChange':_0x4722be=>{_0x3a46f9(Boolean(_0x4722be));},'children':_0x181fd7('chart.relation.emphasis')})}),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_0x4c7dbd(0x357),{'className':'univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x181fd7(_0x4c7dbd(0x26d))}),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_univerjs_design[_0x4c7dbd(0x133)],{'className':_0x4c7dbd(0x452),'value':_0x25497e!==null&&_0x25497e!==void 0x0?_0x25497e:_univerjs_pro_engine_chart['RelationChartLayoutEnum'][_0x4c7dbd(0x1b8)],'options':_0x45eae4,'onChange':_0x4c8f32}),_0x32da26&&(0x0,react_jsx_runtime[_0x4c7dbd(0x40b)])(_0x4c7dbd(0x357),{'className':'univer-mt-4','children':[(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])('div',{'className':_0x4c7dbd(0x449),'children':_0x181fd7(_0x4c7dbd(0xf9))}),(0x0,react_jsx_runtime[_0x4c7dbd(0x40b)])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0x4ca),'children':[(0x0,react_jsx_runtime['jsx'])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0x49a),'children':_0x181fd7(_0x4c7dbd(0x21c))}),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_univerjs_design['InputNumber'],{'className':_0x4c7dbd(0x49a),'controls':![],'onFocus':()=>_0xb238b8[_0x4c7dbd(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x5a8c88=>{const _0x173452=_0x4c7dbd;_0xb238b8[_0x173452(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);},'value':(_0x5f4059=_0x5b9ed3===null||_0x5b9ed3===void 0x0?void 0x0:_0x5b9ed3[_0x4c7dbd(0x3f3)])!==null&&_0x5f4059!==void 0x0?_0x5f4059:_univerjs_pro_engine_chart[_0x4c7dbd(0x4a6)][_0x4c7dbd(0x12d)]['force'][_0x4c7dbd(0x3f3)],'onChange':_0x47bbb1=>_0x91695b({'repulsion':_0x47bbb1})})]}),(0x0,react_jsx_runtime[_0x4c7dbd(0x40b)])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0x4ca),'children':[(0x0,react_jsx_runtime['jsx'])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0x49a),'children':_0x181fd7(_0x4c7dbd(0xce))}),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_univerjs_design['InputNumber'],{'className':'univer-flex-1','controls':![],'onFocus':()=>_0xb238b8['setContextValue'](_univerjs_core[_0x4c7dbd(0x344)],!![]),'onBlur':_0x1e68a9=>{const _0x141fe6=_0x4c7dbd;_0xb238b8['setContextValue'](_univerjs_core[_0x141fe6(0x344)],![]);},'value':(_0x43b07e=_0x5b9ed3===null||_0x5b9ed3===void 0x0?void 0x0:_0x5b9ed3[_0x4c7dbd(0x407)])!==null&&_0x43b07e!==void 0x0?_0x43b07e:_univerjs_pro_engine_chart[_0x4c7dbd(0x4a6)][_0x4c7dbd(0x12d)][_0x4c7dbd(0x356)][_0x4c7dbd(0x407)],'onChange':_0xf34c65=>_0x91695b({'gravity':_0xf34c65})})]}),(0x0,react_jsx_runtime[_0x4c7dbd(0x40b)])('div',{'className':_0x4c7dbd(0x4ca),'children':[(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])('div',{'className':_0x4c7dbd(0x49a),'children':_0x181fd7(_0x4c7dbd(0x3bb))}),(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_univerjs_design['InputNumber'],{'className':'univer-flex-1','controls':![],'value':_0x5b9ed3===null||_0x5b9ed3===void 0x0?void 0x0:_0x5b9ed3[_0x4c7dbd(0x48d)],'onFocus':()=>_0xb238b8[_0x4c7dbd(0x276)](_univerjs_core[_0x4c7dbd(0x344)],!![]),'onBlur':_0x4a02c0=>{const _0x50c890=_0x4c7dbd;_0xb238b8[_0x50c890(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);},'onChange':_0x36a513=>_0x91695b({'edgeLength':_0x36a513}),'min':0x0,'step':0xa})]})]}),_0x20155d&&(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_0x4c7dbd(0x357),{'className':_0x4c7dbd(0xb6),'children':(0x0,react_jsx_runtime[_0x4c7dbd(0x184)])(_univerjs_design[_0x4c7dbd(0x3c7)],{'checked':_0x32588d!==null&&_0x32588d!==void 0x0?_0x32588d:_univerjs_pro_engine_chart['defaultChartConfig'][_0x4c7dbd(0x12d)]['circular'][_0x4c7dbd(0x374)],'onChange':_0x13ee0c=>{_0x2a192e(Boolean(_0x13ee0c));},'children':_0x181fd7('chart.relation.rotateLabel')})})]});}function _0x28ac(_0xce3009,_0xd043ee){_0xce3009=_0xce3009-0x79;const _0x2eb712=_0x2eb7();let _0x28ac3a=_0x2eb712[_0xce3009];return _0x28ac3a;}const defaultCombination=_univerjs_pro_engine_chart[_0x38cd95(0x4a6)]['combination'];function useSeriesChartType(_0x2bf38d,_0xe94d3b,_0x3010c1){const _0xd24068=_0x38cd95,[_0x3550b1]=useChartConfigState(_0xd24068(0x400),_0x3010c1),[_0x261d34]=useChartConfigState(_0xd24068(0x249),_0x3010c1),_0x124629=_0xe94d3b===_univerjs_pro_engine_chart[_0xd24068(0x4a6)][_0xd24068(0x37e)],_0x3fc64e=_0x3550b1===null||_0x3550b1===void 0x0?void 0x0:_0x3550b1[_0xe94d3b];if(_0x2bf38d!==_univerjs_pro_engine_chart[_0xd24068(0x448)][_0xd24068(0x4b8)])return _0x2bf38d;if(_0x124629){const _0x114ecf=()=>{const _0x1c5b6e=_0xd24068,_0x417bb7=_0x261d34===null||_0x261d34===void 0x0?void 0x0:_0x261d34[_0x1c5b6e(0x26a)]((_0x4bbf0d,_0xdf822d)=>{const _0x1f6e6e=_0x1c5b6e;var _0x1af37f;const _0x52ac05=_0x3550b1===null||_0x3550b1===void 0x0?void 0x0:_0x3550b1[_0x4bbf0d],_0x5b8016=_0xdf822d===0x0?defaultCombination['firstChartType']:defaultCombination[_0x1f6e6e(0x49b)];return(_0x1af37f=_0x52ac05===null||_0x52ac05===void 0x0?void 0x0:_0x52ac05[_0x1f6e6e(0x3be)])!==null&&_0x1af37f!==void 0x0?_0x1af37f:_0x5b8016;}),_0x3645f8=_0x417bb7===null||_0x417bb7===void 0x0?void 0x0:_0x417bb7[0x0];return(_0x417bb7===null||_0x417bb7===void 0x0?void 0x0:_0x417bb7['every'](_0x59956e=>_0x59956e===_0x3645f8))?_0x3645f8:_univerjs_pro_engine_chart[_0x1c5b6e(0x448)][_0x1c5b6e(0x1b8)];};return _0x114ecf();}const _0x20ed25=()=>{const _0x4dcb37=_0xd24068;var _0x5e17ee;const _0x93bd11=_0xe94d3b===String(_0x261d34===null||_0x261d34===void 0x0?void 0x0:_0x261d34[0x0])?defaultCombination[_0x4dcb37(0x161)]:defaultCombination[_0x4dcb37(0x49b)];return(_0x5e17ee=_0x3fc64e===null||_0x3fc64e===void 0x0?void 0x0:_0x3fc64e[_0x4dcb37(0x3be)])!==null&&_0x5e17ee!==void 0x0?_0x5e17ee:_0x93bd11;};return _0x20ed25();}const CombinationChartTypeSelect=_0x2ae1d6=>{const _0x2f942f=_0x38cd95,{seriesId:_0xede80b,service:_0xcad80a,localeService:_0x2ceb80}=_0x2ae1d6,_0x3767d9=useTranslatedOptions(_0x2ceb80,seriesChartTypeOptions),[_0x42d498,_0x47a7cb]=useChartConfigState(_0x2f942f(0x400),_0xcad80a),[_0x33469b]=useChartConfigState(_0x2f942f(0x249),_0xcad80a),_0x50821d=(0x0,react[_0x2f942f(0x1ed)])(_0x3518d0=>{const _0x4957be=_0x2f942f,_0x143a12=Number(_0x3518d0);if(_0xede80b===_univerjs_pro_engine_chart['defaultChartConfig'][_0x4957be(0x37e)]){const _0x4c322f=_0x33469b===null||_0x33469b===void 0x0?void 0x0:_0x33469b[_0x4957be(0xe6)]((_0x46d37e,_0x221101)=>{return _0x46d37e[String(_0x221101)]={'chartType':_0x143a12},_0x46d37e;},{});if(!_0x4c322f)return;_0x47a7cb(_0x4c322f);}else _0x47a7cb({[_0xede80b]:{'chartType':_0x143a12}});},[_0xede80b]),_0x142cfd=useSeriesChartType(_univerjs_pro_engine_chart[_0x2f942f(0x448)][_0x2f942f(0x4b8)],_0xede80b,_0xcad80a),_0xdd3a29=String(_0x142cfd!==null&&_0x142cfd!==void 0x0?_0x142cfd:'');return(0x0,react_jsx_runtime[_0x2f942f(0x184)])(_univerjs_design[_0x2f942f(0x133)],{'className':_0x2f942f(0x452),'value':_0x142cfd===_univerjs_pro_engine_chart['ChartTypeBits'][_0x2f942f(0x1b8)]?'':_0xdd3a29,'options':_0x3767d9,'onChange':_0x50821d});},defaultPointStyle={'shape':_univerjs_pro_engine_chart['defaultChartConfig']['radar'][_0x38cd95(0x4c9)],'size':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x1cd)]['symbolSize'],'color':void 0x0},linePointControls$1=[_0x38cd95(0x146),_0x38cd95(0x1e6),_0x38cd95(0x461)],RadarSeriesPoint=_0x4d6837=>{const _0x4ccc1f=_0x38cd95,{localeService:_0x575880,setSeriesStyle:_0x34f630,pointStyle:_0x3ba916}=_0x4d6837;return(0x0,react_jsx_runtime[_0x4ccc1f(0x184)])(LinePointOptions,{'pointStyle':{...defaultPointStyle,..._0x3ba916},'controls':linePointControls$1,'localeService':_0x575880,'onChange':(_0xae4fae,_0x1ada93)=>_0x34f630({'point':{[_0xae4fae]:_0x1ada93}})});},fallbackLabelStyle$1={'fontSize':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3a6)][_0x38cd95(0x495)],'contentType':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3fc)],'position':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3a6)]['position']},allSeriesOptions=[getAllSeriesOption()],defaultBorderStyle=_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0xe0)],linePointControls=[_0x38cd95(0x146),'size','color'],scatterAllSeriesPointControls=[_0x38cd95(0x146),'size'],getDefaultBorderWidthByChartType=_0x51b138=>{const _0x6dc971=_0x38cd95;if((_0x51b138&_univerjs_pro_engine_chart['ChartTypeBits']['Line'])>0x0||(_0x51b138&_univerjs_pro_engine_chart['ChartTypeBits'][_0x6dc971(0x20d)])>0x0)return defaultBorderStyle['specialChartWidthMap'][_0x6dc971(0x2f0)];if(_0x51b138===_univerjs_pro_engine_chart[_0x6dc971(0x448)][_0x6dc971(0x518)])return defaultBorderStyle[_0x6dc971(0x40e)][_0x6dc971(0x1cd)];return defaultBorderStyle[_0x6dc971(0xd2)];},SeriesStyleEdit=_0x5a7478=>{const _0x2da0c1=_0x38cd95;var _0x5e73f5,_0x569a5e;const {chartType:_0x7db847,service:_0x3170a8,localeService:_0x5b83bc}=_0x5a7478,_0x1920fc=useTranslatedOptions(_0x5b83bc,dataLabelPositionOptions),_0x9fcb47=(0x0,react[_0x2da0c1(0x316)])(()=>{const _0x39174b=_0x2da0c1;return labelContentOptions['filter'](_0x2ea55d=>{const _0x1bea4e=_0x28ac;if(_0x7db847===_univerjs_pro_engine_chart[_0x1bea4e(0x448)][_0x1bea4e(0x518)])return _0x2ea55d[_0x1bea4e(0x30d)]!==String(_univerjs_pro_engine_chart[_0x1bea4e(0x439)][_0x1bea4e(0xc6)])&&_0x2ea55d[_0x1bea4e(0x30d)]!==String(_univerjs_pro_engine_chart['LabelContentType']['Percentage']);if(PercentageChartTypes['has'](_0x7db847))return!![];return _0x2ea55d[_0x1bea4e(0x30d)]!==String(_univerjs_pro_engine_chart[_0x1bea4e(0x439)][_0x1bea4e(0x2c7)]);})[_0x39174b(0x26a)](_0x3bd55b=>{const _0xaca01c=_0x39174b;return{'value':_0x3bd55b[_0xaca01c(0x30d)],'label':_0x5b83bc['t'](_0x3bd55b[_0xaca01c(0x1bd)])};});},[_0x7db847,_0x5b83bc]),[_0x4c6194]=useTranslatedOptions(_0x5b83bc,allSeriesOptions),[_0x31127a,_0x57e047]=(0x0,react[_0x2da0c1(0x119)])(_univerjs_pro_engine_chart[_0x2da0c1(0x4a6)]['allSeriesId']),_0x25dbcc=_0x31127a===_univerjs_pro_engine_chart[_0x2da0c1(0x4a6)][_0x2da0c1(0x37e)],[_0x50cb12,_0x528b77]=useChartConfigState(_0x2da0c1(0x3d6),_0x3170a8),[_0x378c3c,_0x106f64]=useChartConfigState(_0x2da0c1(0x400),_0x3170a8),[_0x3e06aa]=useChartConfigState('dataPointsOptions',_0x3170a8),_0x324be8=_0x378c3c===null||_0x378c3c===void 0x0?void 0x0:_0x378c3c[_0x31127a],[_0x3174df]=useChartConfigState(_0x2da0c1(0x51d),_0x3170a8),_0x410cbb=_0x324be8===null||_0x324be8===void 0x0?void 0x0:_0x324be8[_0x2da0c1(0x1b2)],_0x5adc3d=(0x0,react[_0x2da0c1(0x316)])(()=>_0x3174df?[_0x4c6194,..._0x3174df]:[],[_0x4c6194,_0x3174df]),_0x22af24=_0x7db847?_univerjs_pro_engine_chart[_0x2da0c1(0x379)][_0x2da0c1(0x3cc)](_0x7db847,_univerjs_pro_engine_chart['ChartAttributeBits'][_0x2da0c1(0x193)]):![],_0xfa4419=useSeriesChartType(_0x7db847,_0x31127a,_0x3170a8),_0x7b1488=_0xfa4419===_univerjs_pro_engine_chart['ChartTypeBits']['Line'],_0x5e5f45=(_0xfa4419&_univerjs_pro_engine_chart[_0x2da0c1(0x448)][_0x2da0c1(0x20d)])>0x0,_0x571e18=_0xfa4419===_univerjs_pro_engine_chart['ChartTypeBits'][_0x2da0c1(0x518)],_0x5b1c55=_0xfa4419===_univerjs_pro_engine_chart['ChartTypeBits'][_0x2da0c1(0x9e)],_0x5c97c6=_0x7b1488||_0x5e5f45,_0x505afc=(_0x7db847&_univerjs_pro_engine_chart['ChartTypeBits'][_0x2da0c1(0xf5)])>0x0||_0x571e18,_0x5a0e43=getDefaultBorderWidthByChartType(_0x7db847),_0xd9a839=(0x0,react[_0x2da0c1(0x1ed)])(_0x4d9026=>{_0x106f64({[_0x31127a]:_0x4d9026});},[_0x31127a]),_0x46b5a9=_0x27c60d=>{if(_0x25dbcc)_0x528b77(_0x27c60d);else _0xd9a839(_0x27c60d);},_0x2d1c3e={..._0x324be8===null||_0x324be8===void 0x0?void 0x0:_0x324be8['border']},_0x1489a0=Object[_0x2da0c1(0x33d)]({'color':_0x2da0c1(0x46e),'opacity':defaultBorderStyle['opacity'],'width':_0x5a0e43,'dashType':defaultBorderStyle[_0x2da0c1(0x102)]},_0x2d1c3e),_0x31a168=Object[_0x2da0c1(0x33d)]({'color':_0x2da0c1(0x46e),'opacity':defaultBorderStyle['opacity'],'width':_0x5a0e43,'dashType':defaultBorderStyle[_0x2da0c1(0x102)]},_0x50cb12===null||_0x50cb12===void 0x0?void 0x0:_0x50cb12[_0x2da0c1(0xcf)]),_0x4f5e35=Object[_0x2da0c1(0x33d)]({'shape':_univerjs_pro_engine_chart[_0x2da0c1(0x4a6)][_0x2da0c1(0x3d4)][_0x2da0c1(0x146)],'size':_0x5b1c55?_univerjs_pro_engine_chart[_0x2da0c1(0x4a6)][_0x2da0c1(0x3d4)][_0x2da0c1(0x35e)]:_univerjs_pro_engine_chart[_0x2da0c1(0x4a6)][_0x2da0c1(0x3d4)][_0x2da0c1(0x1e6)],'color':_0x2da0c1(0x46e)},_0x50cb12===null||_0x50cb12===void 0x0?void 0x0:_0x50cb12[_0x2da0c1(0x3d4)],_0x324be8===null||_0x324be8===void 0x0?void 0x0:_0x324be8[_0x2da0c1(0x3d4)]),_0x5b243e=_0x25dbcc?(_0x5e73f5=_0x50cb12===null||_0x50cb12===void 0x0?void 0x0:_0x50cb12[_0x2da0c1(0x1bd)])!==null&&_0x5e73f5!==void 0x0?_0x5e73f5:{}:Object['assign']({},_0x50cb12===null||_0x50cb12===void 0x0?void 0x0:_0x50cb12[_0x2da0c1(0x1bd)],_0x324be8===null||_0x324be8===void 0x0?void 0x0:_0x324be8[_0x2da0c1(0x1bd)]),_0x223e2f=(_0x569a5e=_0x324be8===null||_0x324be8===void 0x0?void 0x0:_0x324be8[_0x2da0c1(0x339)])!==null&&_0x569a5e!==void 0x0?_0x569a5e:_0x50cb12===null||_0x50cb12===void 0x0?void 0x0:_0x50cb12[_0x2da0c1(0x339)],_0x1b0525=_0xfa4419===_univerjs_pro_engine_chart[_0x2da0c1(0x448)][_0x2da0c1(0x1b8)]||_0x7db847===_univerjs_pro_engine_chart[_0x2da0c1(0x448)][_0x2da0c1(0x4b8)]&&_0xfa4419===_univerjs_pro_engine_chart[_0x2da0c1(0x448)][_0x2da0c1(0x15a)]&&_0x25dbcc,{t:_0x48295b}=_0x5b83bc,_0x11555c=(0x0,react[_0x2da0c1(0x1ed)])(_0x437f6f=>{const _0x98dcab=_0x2da0c1;if(_0x324be8&&_0x324be8['dataPoints']&&_0x324be8[_0x98dcab(0x1b2)][_0x437f6f])return;_0x106f64({[_0x31127a]:{'dataPoints':{[_0x437f6f]:{}}}});},[_0x324be8,_0x31127a]),_0x62230f=(0x0,react['useCallback'])(_0x57a3d9=>{_0x106f64({[_0x31127a]:{'dataPoints':_0x57a3d9}});},[_0x31127a]);return(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(react_jsx_runtime[_0x2da0c1(0x1ac)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x24f),'children':(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(_univerjs_design[_0x2da0c1(0x133)],{'className':_0x2da0c1(0x452),'value':_0x31127a,'onChange':_0x146536=>_0x57e047(_0x146536),'options':_0x5adc3d})}),_0x7db847===_univerjs_pro_engine_chart[_0x2da0c1(0x448)][_0x2da0c1(0x4b8)]&&(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(_0x2da0c1(0x357),{'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['jsx'])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x3b4),'children':_0x48295b('chart.chartType')}),(0x0,react_jsx_runtime['jsx'])(CombinationChartTypeSelect,{'seriesId':_0x31127a,'service':_0x3170a8,'localeService':_0x5b83bc})]}),(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x24f),'children':[!_0x1b0525&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x2da0c1(0x1ac)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x101),'children':_0x48295b(_0x2da0c1(0x2cd))}),(!_0x5b1c55||_0x5b1c55&&!_0x25dbcc)&&(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(FillOptions,{'chartType':_0x7db847,'allSeriesStyle':_0x50cb12,'controlName':_0x48295b(_0x7b1488?'chart.line':_0x2da0c1(0x189)),'seriesStyle':_0x25dbcc?_0x50cb12:_0x324be8,'onSeriesStyleChange':_0x46b5a9,'localeService':_0x5b83bc}),!_0x5b1c55&&(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(BorderOptions,{'isLineOrAreaChart':_0x5c97c6,'allSeriesBorderStyle':_0x50cb12===null||_0x50cb12===void 0x0?void 0x0:_0x50cb12[_0x2da0c1(0xcf)],'hideBorder':!_0x7b1488,'controlName':_0x48295b(_0x7b1488||_0x571e18?_0x2da0c1(0xbf):_0x2da0c1(0x8d)),'borderStyle':_0x25dbcc?_0x31a168:_0x1489a0,'onSeriesStyleChange':_0x46b5a9,'localeService':_0x5b83bc}),(_0x5c97c6||_0x5b1c55)&&(0x0,react_jsx_runtime['jsx'])(LinePointOptions,{'pointStyle':_0x4f5e35,'onChange':(_0x217037,_0x36cc95)=>_0x46b5a9({'point':{[_0x217037]:_0x36cc95}}),'controls':_0x25dbcc?scatterAllSeriesPointControls:linePointControls,'localeService':_0x5b83bc})]}),!_0x22af24&&!_0x25dbcc&&!_0x505afc&&(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(AxisControl,{'rightYAxis':Boolean(_0x223e2f),'onSeriesStyleChange':_0x46b5a9,'localeService':_0x5b83bc})]}),(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x24f),'children':[!_0x25dbcc&&_0x571e18&&(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(RadarSeriesPoint,{'localeService':_0x5b83bc,'pointStyle':_0x324be8===null||_0x324be8===void 0x0?void 0x0:_0x324be8[_0x2da0c1(0x3d4)],'setSeriesStyle':_0x46b5a9}),!_0x25dbcc&&!_0x571e18&&(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(react_jsx_runtime[_0x2da0c1(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x251),'children':[(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(_0x2da0c1(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,react_jsx_runtime['jsx'])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x101),'children':_0x48295b('chart.withFormat',_0x48295b(_0x2da0c1(0x18b)))})}),(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x326),'children':(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(DropdownSelector,{'value':_0x31127a,'menus':_0x3e06aa!==null&&_0x3e06aa!==void 0x0?_0x3e06aa:[],'onSelect':_0xdf7905=>_0x11555c(+_0xdf7905),'children':(0x0,react_jsx_runtime[_0x2da0c1(0x40b)])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x482),'children':[(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(_univerjs_icons[_0x2da0c1(0x18f)],{}),(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(_0x2da0c1(0x1ec),{'children':_0x48295b(_0x2da0c1(0x4e2))})]})})})]}),_0x410cbb&&(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(DataPointsEdit,{'chartType':_0x7db847,'data':_0x410cbb,'options':_0x3e06aa!==null&&_0x3e06aa!==void 0x0?_0x3e06aa:[],'onChange':_0x62230f,'localeService':_0x5b83bc})]})]}),(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(_0x2da0c1(0x357),{'className':_0x2da0c1(0x24f),'children':(0x0,react_jsx_runtime[_0x2da0c1(0x184)])(DataLabelOptions,{'localeService':_0x5b83bc,'fallbackLabelStyle':fallbackLabelStyle$1,'labelStyle':_0x5b243e,'positionOptions':_0x1920fc,'contentTypeOptions':_0x9fcb47,'onLabelStyleChange':(_0x2ec114,_0x218919)=>_0x46b5a9({'label':{[_0x2ec114]:_0x218919}}),'onVisibleChange':_0x31d103=>_0x46b5a9({'label':{'visible':_0x31d103}}),'isPieLike':![],'chartType':_0x7db847})})]});},TrendLineStyleEdit=_0x41b8a6=>{const _0x289d0b=_0x38cd95;var _0x13d977,_0x5cf732,_0x3fe204,_0x498d32;const {localeService:_0x1cf093,uiService:_0x1a3ae0}=_0x41b8a6,{t:_0x14b744}=_0x1cf093,_0x3d29f0=(0x0,_univerjs_ui[_0x289d0b(0xdb)])(_univerjs_core['IContextService']),[_0x2464a4,_0x5a810b]=useChartConfigState('trendlineValues',_0x1a3ae0),[_0x553e34,_0x206404]=(0x0,react[_0x289d0b(0x119)])(0x0),_0x427c51=trendlineTypeOptions[_0x289d0b(0x26a)](_0x58ba7d=>({'label':(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(_0x289d0b(0x357),{'className':_0x289d0b(0x3a3),'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x491),'children':trendlineToIcon===null||trendlineToIcon===void 0x0?void 0x0:trendlineToIcon[_0x58ba7d[_0x289d0b(0x30d)]]}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])('div',{'className':_0x289d0b(0x37f),'children':_0x1cf093['t'](_0x58ba7d[_0x289d0b(0x1bd)])})]}),'value':_0x58ba7d[_0x289d0b(0x30d)]})),_0x25c596=useTranslatedOptions(_0x1cf093,borderDashTypeOptions),_0x2508b7=borderWidthOptions[_0x289d0b(0x2f7)](0x1),_0x2c72d6=(_0x2464a4||[])[_0x289d0b(0x26a)]((_0x57d224,_0x1500eb)=>({'label':_0x57d224[_0x289d0b(0x27b)],'value':String(_0x1500eb)})),_0x9e6eac=(0x0,react[_0x289d0b(0x1ed)])(_0x15649e=>{if(_0x2464a4){const _0x166b89=[..._0x2464a4];_0x166b89[_0x553e34]={..._0x166b89[_0x553e34],..._0x15649e},_0x5a810b(_0x166b89);}},[_0x2464a4,_0x553e34]),_0xab762c=(0x0,react[_0x289d0b(0x316)])(()=>{return _0x2464a4?_0x2464a4[_0x553e34]:void 0x0;},[_0x2464a4,_0x553e34]),[_0x5dc813,_0x2958e3]=(0x0,react[_0x289d0b(0x119)])((_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c['name'])||'');if(_0x2464a4===void 0x0||_0x2464a4['length']===0x0)return null;return(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(_0x289d0b(0x313),{'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[_0x289d0b(0x184)])('div',{'className':_0x289d0b(0x449),'children':(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design[_0x289d0b(0x133)],{'className':_0x289d0b(0x452),'value':String(_0x553e34),'onChange':_0x394d35=>_0x206404(Number(_0x394d35)),'options':_0x2c72d6})}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744(_0x289d0b(0x44c))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design['Input'],{'value':_0x5dc813,'onChange':_0x2958e3,'onBlur':()=>{const _0x549063=_0x289d0b;_0x3d29f0[_0x549063(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);if(_0x5dc813)_0x9e6eac===null||_0x9e6eac===void 0x0||_0x9e6eac({'name':_0x5dc813});else _0x2958e3((_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x549063(0x27b)])||'');},'onFocus':()=>{const _0x273154=_0x289d0b;_0x3d29f0['setContextValue'](_univerjs_core[_0x273154(0x344)],!![]);}})}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x14b744(_0x289d0b(0x238))}),(0x0,react_jsx_runtime[_0x289d0b(0x40b)])('div',{'className':_0x289d0b(0x449),'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design[_0x289d0b(0x133)],{'className':_0x289d0b(0x27d),'value':String(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x4b0)]),'onChange':_0x3af0fa=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'type':_0x3af0fa}),'options':_0x427c51}),(0x0,react_jsx_runtime['jsx'])(_0x289d0b(0x357),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design[_0x289d0b(0x3c7)],{'checked':(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x135)])||_univerjs_pro_engine_chart[_0x289d0b(0x4a6)]['trendline']['showFormula'],'onChange':_0x19bd60=>_0x9e6eac({'showFormula':Boolean(_0x19bd60)}),'children':_0x14b744(_0x289d0b(0x3e8))})}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])('div',{'className':_0x289d0b(0x3cb),'children':(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design['Checkbox'],{'checked':(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x79)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x289d0b(0x460)][_0x289d0b(0x79)],'onChange':_0x11d95f=>_0x9e6eac({'showR2':Boolean(_0x11d95f)}),'children':_0x14b744(_0x289d0b(0x383))})}),((_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c['type'])===_univerjs_pro_engine_chart[_0x289d0b(0x456)]['poly']||(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x4b0)])===_univerjs_pro_engine_chart['ChartTrendlineType'][_0x289d0b(0x4fb)])&&(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(_0x289d0b(0x357),{'className':_0x289d0b(0x416),'children':[(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x4b0)])===_univerjs_pro_engine_chart['ChartTrendlineType'][_0x289d0b(0x49f)]&&(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(react_jsx_runtime[_0x289d0b(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744(_0x289d0b(0x2a1))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x289d0b(0x133)],{'className':_0x289d0b(0x452),'value':String((_0x13d977=_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x80)])!==null&&_0x13d977!==void 0x0?_0x13d977:_univerjs_pro_engine_chart['defaultChartConfig'][_0x289d0b(0x460)][_0x289d0b(0x80)]),'options':trendlineOrderOptions,'onChange':_0x206289=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'order':Number(_0x206289)})})]}),(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c['type'])===_univerjs_pro_engine_chart[_0x289d0b(0x456)]['movingAvg']&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x289d0b(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744(_0x289d0b(0x414))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x289d0b(0x38d)],{'value':(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x12a)])||_univerjs_pro_engine_chart['defaultChartConfig']['trendline'][_0x289d0b(0x12a)],'onChange':_0x3a7488=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'period':Math[_0x289d0b(0x126)](_0x3a7488)})})]})]}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x14b744(_0x289d0b(0x2cd))}),(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(_0x289d0b(0x357),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,react_jsx_runtime['jsxs'])(_0x289d0b(0x357),{'className':_0x289d0b(0x326),'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744('chart.withColor',_0x14b744(_0x289d0b(0x410)))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(ColorPickerControl,{'color':(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x461)])||'','onChange':_0x2a4a0f=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'color':_0x2a4a0f})})]}),(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(_0x289d0b(0x357),{'className':_0x289d0b(0x326),'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])('div',{'className':_0x289d0b(0x449),'children':_0x14b744('chart.withOpacity',_0x14b744(_0x289d0b(0x410)))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design['Select'],{'className':_0x289d0b(0x452),'value':String((_0x5cf732=_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x3f1)])!==null&&_0x5cf732!==void 0x0?_0x5cf732:_univerjs_pro_engine_chart['defaultChartConfig'][_0x289d0b(0x460)][_0x289d0b(0x3f1)]),'options':lineOpacityOptions,'onChange':_0x5673d9=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'opacity':Number(_0x5673d9)})})]})]}),(0x0,react_jsx_runtime[_0x289d0b(0x40b)])(_0x289d0b(0x357),{'className':_0x289d0b(0x29b),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x289d0b(0x357),{'className':_0x289d0b(0x326),'children':[(0x0,react_jsx_runtime['jsx'])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744(_0x289d0b(0x11c),_0x14b744('chart.trendline.name'))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design[_0x289d0b(0x133)],{'className':_0x289d0b(0x452),'value':String((_0x3fe204=_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x102)])!==null&&_0x3fe204!==void 0x0?_0x3fe204:_univerjs_pro_engine_chart[_0x289d0b(0x4a6)][_0x289d0b(0x460)][_0x289d0b(0x102)]),'options':_0x25c596,'onChange':_0x518f52=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'dashType':_0x518f52})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x289d0b(0x357),{'className':_0x289d0b(0x326),'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x14b744(_0x289d0b(0x2ac),_0x14b744(_0x289d0b(0x410)))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_univerjs_design[_0x289d0b(0x133)],{'className':_0x289d0b(0x452),'value':String((_0x498d32=_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c['width'])!==null&&_0x498d32!==void 0x0?_0x498d32:_univerjs_pro_engine_chart['defaultChartConfig'][_0x289d0b(0x460)][_0x289d0b(0xd2)]),'options':_0x2508b7,'onChange':_0x2bbfba=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'width':Number(_0x2bbfba)})})]})]}),(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x4b0)])!==_univerjs_pro_engine_chart[_0x289d0b(0x456)][_0x289d0b(0x4fb)]&&(0x0,react_jsx_runtime[_0x289d0b(0x40b)])('div',{'className':_0x289d0b(0x29b),'children':[(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x135)])&&(0x0,react_jsx_runtime[_0x289d0b(0x40b)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744(_0x289d0b(0x351),_0x14b744('chart.trendline.formula'))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(ColorPickerControl,{'color':(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x2a8)])||'','onChange':_0x1cbb69=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'formulaColor':_0x1cbb69})})]}),(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x79)])&&(0x0,react_jsx_runtime['jsxs'])(_0x289d0b(0x357),{'className':_0x289d0b(0x326),'children':[(0x0,react_jsx_runtime[_0x289d0b(0x184)])(_0x289d0b(0x357),{'className':_0x289d0b(0x449),'children':_0x14b744(_0x289d0b(0x351),_0x14b744(_0x289d0b(0x422)))}),(0x0,react_jsx_runtime[_0x289d0b(0x184)])(ColorPickerControl,{'color':(_0xab762c===null||_0xab762c===void 0x0?void 0x0:_0xab762c[_0x289d0b(0x359)])||'','onChange':_0x3ca87=>_0x9e6eac===null||_0x9e6eac===void 0x0?void 0x0:_0x9e6eac({'r2Color':_0x3ca87})})]})]})]})]});},fallbackLabelStyle={'fontSize':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3a6)][_0x38cd95(0x495)],'contentType':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3fc)],'position':_univerjs_pro_engine_chart[_0x38cd95(0x4a6)][_0x38cd95(0x3a6)][_0x38cd95(0x16b)]},WaterfallSeriesEdit=_0x384e39=>{const _0x2db50b=_0x38cd95;var _0x1a5a05,_0x71e72a,_0x2fae65,_0x6b2014,_0x4c581a,_0x53296d,_0x40f495,_0x33f122,_0x283d5b,_0x69c85c,_0x1a7984,_0x2e7298,_0xad7084,_0x3d85f1,_0x128ae6,_0x50060f,_0x3bac43;const {service:_0x2ca156,localeService:_0x21b770}=_0x384e39,{t:_0x5096ed}=_0x21b770,_0x23db7f=useTranslatedOptions(_0x21b770,dataLabelPositionOptions),_0x4ee86e=(0x0,react['useMemo'])(()=>{const _0x3c89e9=_0x28ac;return labelContentOptions[_0x3c89e9(0x24c)](_0x4934cd=>{const _0x31dfa1=_0x3c89e9;return _0x4934cd[_0x31dfa1(0x30d)]!==String(_univerjs_pro_engine_chart[_0x31dfa1(0x439)][_0x31dfa1(0x2c7)]);})['map'](_0x4b6f48=>{const _0x38cdf3=_0x3c89e9;return{'value':_0x4b6f48[_0x38cdf3(0x30d)],'label':_0x21b770['t'](_0x4b6f48[_0x38cdf3(0x1bd)])};});},[_0x21b770]),_0x1c123f=(0x0,_univerjs_ui[_0x2db50b(0xdb)])(_univerjs_core[_0x2db50b(0x3c3)]),[_0x2ca34c,_0x15f2ab]=(0x0,react[_0x2db50b(0x119)])(_univerjs_pro_engine_chart[_0x2db50b(0x4a6)][_0x2db50b(0x37e)]),_0x51b1dc=_0x2ca34c===_univerjs_pro_engine_chart[_0x2db50b(0x4a6)][_0x2db50b(0x37e)],[_0x4cfd53,_0x2c33cc]=useChartConfigState(_0x2db50b(0x3d6),_0x2ca156),[_0x561c92,_0x43524c]=useChartConfigState(_0x2db50b(0x400),_0x2ca156),[_0x5b258f]=useChartConfigState(_0x2db50b(0x51d),_0x2ca156),[_0x24b73b]=useChartConfigState(_0x2db50b(0x385),_0x2ca156),_0x28d6e5=_0x24b73b!==_univerjs_pro_engine_chart[_0x2db50b(0x34f)][_0x2db50b(0x1a3)],[_0x3b1760]=useTranslatedOptions(_0x21b770,[getAllSeriesOption()]),_0x1f2aec=_0x561c92===null||_0x561c92===void 0x0?void 0x0:_0x561c92[_0x2ca34c],_0xb6683f=(0x0,react[_0x2db50b(0x316)])(()=>_0x5b258f?[_0x3b1760,..._0x5b258f]:[],[_0x3b1760,_0x5b258f]),_0x3a0c36=_0x509290=>{if(_0x51b1dc)_0x2c33cc(_0x509290);else _0x43524c({[_0x2ca34c]:_0x509290});},_0x3f1ac3=_univerjs_pro_engine_chart[_0x2db50b(0x4a6)][_0x2db50b(0xe0)],_0x360dfb={'color':_0x2db50b(0x46e),'opacity':_0x3f1ac3[_0x2db50b(0x3f1)],'width':0x0,'dashType':_0x3f1ac3['dashType']},_0x5a8ed3=_0x51b1dc?{..._0x360dfb,..._0x4cfd53===null||_0x4cfd53===void 0x0||(_0x1a5a05=_0x4cfd53[_0x2db50b(0x429)])===null||_0x1a5a05===void 0x0||(_0x1a5a05=_0x1a5a05['positive'])===null||_0x1a5a05===void 0x0?void 0x0:_0x1a5a05['border']}:{..._0x360dfb,..._0x1f2aec===null||_0x1f2aec===void 0x0||(_0x71e72a=_0x1f2aec[_0x2db50b(0x429)])===null||_0x71e72a===void 0x0||(_0x71e72a=_0x71e72a[_0x2db50b(0x4fd)])===null||_0x71e72a===void 0x0?void 0x0:_0x71e72a[_0x2db50b(0xcf)]},_0x52d1e0=_0x51b1dc?{..._0x360dfb,..._0x4cfd53===null||_0x4cfd53===void 0x0||(_0x2fae65=_0x4cfd53[_0x2db50b(0x429)])===null||_0x2fae65===void 0x0||(_0x2fae65=_0x2fae65['negative'])===null||_0x2fae65===void 0x0?void 0x0:_0x2fae65['border']}:{..._0x360dfb,..._0x1f2aec===null||_0x1f2aec===void 0x0||(_0x6b2014=_0x1f2aec[_0x2db50b(0x429)])===null||_0x6b2014===void 0x0||(_0x6b2014=_0x6b2014[_0x2db50b(0x106)])===null||_0x6b2014===void 0x0?void 0x0:_0x6b2014[_0x2db50b(0xcf)]},_0x553d3f=_0x51b1dc?{..._0x360dfb,..._0x4cfd53===null||_0x4cfd53===void 0x0||(_0x4c581a=_0x4cfd53['waterfall'])===null||_0x4c581a===void 0x0||(_0x4c581a=_0x4c581a[_0x2db50b(0x39e)])===null||_0x4c581a===void 0x0?void 0x0:_0x4c581a[_0x2db50b(0xcf)]}:{..._0x360dfb,..._0x1f2aec===null||_0x1f2aec===void 0x0||(_0x53296d=_0x1f2aec['waterfall'])===null||_0x53296d===void 0x0||(_0x53296d=_0x53296d[_0x2db50b(0x39e)])===null||_0x53296d===void 0x0?void 0x0:_0x53296d['border']},_0x29ee4d=(_0xc442fb,_0x11c9de)=>{const _0x5a8be2=_0x2db50b;if(_0x11c9de===_univerjs_pro_engine_chart[_0x5a8be2(0x156)]['subtotal'])return _0x5096ed('chart.waterfall.subtotal');const _0x1474fc=_0x5b258f===null||_0x5b258f===void 0x0?void 0x0:_0x5b258f[_0x5a8be2(0x311)](_0x1e5da1=>_0x1e5da1[_0x5a8be2(0x30d)]===_0xc442fb);if(_0x1474fc){const _0x42e2ca=_0x1474fc['label'];switch(_0x11c9de){case _univerjs_pro_engine_chart[_0x5a8be2(0x156)][_0x5a8be2(0x4fd)]:return _0x42e2ca+'-('+_0x5096ed(_0x5a8be2(0x16a))+')';case _univerjs_pro_engine_chart['WaterfallSeriesTypeEnum']['negative']:return _0x42e2ca+'-('+_0x5096ed(_0x5a8be2(0x362))+')';default:return _0x42e2ca;}}return'';},_0x6cf63a=_0x51b1dc?(_0x40f495=_0x4cfd53===null||_0x4cfd53===void 0x0?void 0x0:_0x4cfd53[_0x2db50b(0x1bd)])!==null&&_0x40f495!==void 0x0?_0x40f495:{}:Object['assign']({},_0x4cfd53===null||_0x4cfd53===void 0x0?void 0x0:_0x4cfd53['label'],_0x1f2aec===null||_0x1f2aec===void 0x0?void 0x0:_0x1f2aec[_0x2db50b(0x1bd)]),_0x3a7ff1=_0x28d6e5?_0x1f2aec===null||_0x1f2aec===void 0x0||(_0x33f122=_0x1f2aec[_0x2db50b(0x429)])===null||_0x33f122===void 0x0||(_0x33f122=_0x33f122['subtotal'])===null||_0x33f122===void 0x0?void 0x0:_0x33f122[_0x2db50b(0x27b)]:_0x4cfd53===null||_0x4cfd53===void 0x0||(_0x283d5b=_0x4cfd53[_0x2db50b(0x429)])===null||_0x283d5b===void 0x0||(_0x283d5b=_0x283d5b['subtotal'])===null||_0x283d5b===void 0x0?void 0x0:_0x283d5b[_0x2db50b(0x27b)],_0x26c32e=_0x24b73b===_univerjs_pro_engine_chart[_0x2db50b(0x34f)][_0x2db50b(0x1a3)]?_0x51b1dc:!![];return(0x0,react_jsx_runtime['jsxs'])(_0x2db50b(0x357),{'children':[(0x0,react_jsx_runtime['jsx'])(_0x2db50b(0x357),{'className':'univer-mb-2\x20univer-h-8','children':(0x0,react_jsx_runtime[_0x2db50b(0x184)])(_univerjs_design[_0x2db50b(0x133)],{'className':_0x2db50b(0x452),'value':_0x2ca34c,'onChange':_0x4dafcb=>_0x15f2ab(_0x4dafcb),'options':_0xb6683f})}),(0x0,react_jsx_runtime[_0x2db50b(0x40b)])('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[_0x2db50b(0x184)])(_0x2db50b(0x357),{'className':_0x2db50b(0x101),'children':_0x5096ed(_0x2db50b(0x82))}),!_0x51b1dc&&(0x0,react_jsx_runtime[_0x2db50b(0x40b)])(react_jsx_runtime[_0x2db50b(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x2db50b(0x184)])(_0x2db50b(0x357),{'className':_0x2db50b(0x140),'children':_0x5096ed(_0x2db50b(0x257))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2db50b(0x2f3)],{'className':_0x2db50b(0x297),'value':(_0x1f2aec===null||_0x1f2aec===void 0x0||(_0x69c85c=_0x1f2aec[_0x2db50b(0x429)])===null||_0x69c85c===void 0x0||(_0x69c85c=_0x69c85c[_0x2db50b(0x4fd)])===null||_0x69c85c===void 0x0?void 0x0:_0x69c85c['name'])||_0x29ee4d(_0x2ca34c,_univerjs_pro_engine_chart[_0x2db50b(0x156)][_0x2db50b(0x4fd)]),'onChange':_0x2f825c=>{_0x3a0c36({'waterfall':{'positive':{'name':_0x2f825c}}});},'onFocus':()=>{const _0x1e1e7e=_0x2db50b;_0x1c123f['setContextValue'](_univerjs_core[_0x1e1e7e(0x344)],!![]);},'onBlur':()=>{const _0x2ba211=_0x2db50b;_0x1c123f[_0x2ba211(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);}})]}),(0x0,react_jsx_runtime[_0x2db50b(0x184)])(FillOptions,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x2db50b(0x3f6)],'allSeriesStyle':_0x4cfd53,'controlName':'','seriesStyle':_0x51b1dc?_0x4cfd53===null||_0x4cfd53===void 0x0||(_0x1a7984=_0x4cfd53['waterfall'])===null||_0x1a7984===void 0x0?void 0x0:_0x1a7984['positive']:_0x1f2aec===null||_0x1f2aec===void 0x0||(_0x2e7298=_0x1f2aec[_0x2db50b(0x429)])===null||_0x2e7298===void 0x0?void 0x0:_0x2e7298[_0x2db50b(0x4fd)],'onSeriesStyleChange':_0x17de6=>_0x3a0c36({'waterfall':{'positive':_0x17de6}}),'localeService':_0x21b770}),(0x0,react_jsx_runtime[_0x2db50b(0x184)])(BorderOptions,{'isLineOrAreaChart':![],'allSeriesBorderStyle':_0x4cfd53===null||_0x4cfd53===void 0x0?void 0x0:_0x4cfd53[_0x2db50b(0xcf)],'hideBorder':!![],'controlName':_0x5096ed(_0x2db50b(0x8d)),'borderStyle':_0x5a8ed3,'onSeriesStyleChange':_0x19334d=>_0x3a0c36({'waterfall':{'positive':_0x19334d}}),'localeService':_0x21b770})]}),(0x0,react_jsx_runtime['jsxs'])(_0x2db50b(0x357),{'className':_0x2db50b(0x333),'children':[(0x0,react_jsx_runtime['jsx'])(_0x2db50b(0x357),{'className':_0x2db50b(0x101),'children':_0x5096ed(_0x2db50b(0x506))}),!_0x51b1dc&&(0x0,react_jsx_runtime[_0x2db50b(0x40b)])(react_jsx_runtime[_0x2db50b(0x1ac)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x2db50b(0x357),{'className':_0x2db50b(0x140),'children':_0x5096ed('chart.waterfall.negativeLegendText')}),(0x0,react_jsx_runtime[_0x2db50b(0x184)])(_univerjs_design['Input'],{'className':_0x2db50b(0x297),'value':(_0x1f2aec===null||_0x1f2aec===void 0x0||(_0xad7084=_0x1f2aec[_0x2db50b(0x429)])===null||_0xad7084===void 0x0||(_0xad7084=_0xad7084[_0x2db50b(0x106)])===null||_0xad7084===void 0x0?void 0x0:_0xad7084['name'])||_0x29ee4d(_0x2ca34c,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum'][_0x2db50b(0x106)]),'onChange':_0x5332a4=>{_0x3a0c36({'waterfall':{'negative':{'name':_0x5332a4}}});},'onFocus':()=>{const _0x93f7e3=_0x2db50b;_0x1c123f[_0x93f7e3(0x276)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);},'onBlur':()=>{_0x1c123f['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);}})]}),(0x0,react_jsx_runtime[_0x2db50b(0x184)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x2db50b(0x448)][_0x2db50b(0x3f6)],'allSeriesStyle':_0x4cfd53,'controlName':'','seriesStyle':_0x51b1dc?_0x4cfd53===null||_0x4cfd53===void 0x0||(_0x3d85f1=_0x4cfd53['waterfall'])===null||_0x3d85f1===void 0x0?void 0x0:_0x3d85f1[_0x2db50b(0x106)]:_0x1f2aec===null||_0x1f2aec===void 0x0||(_0x128ae6=_0x1f2aec[_0x2db50b(0x429)])===null||_0x128ae6===void 0x0?void 0x0:_0x128ae6[_0x2db50b(0x106)],'onSeriesStyleChange':_0x16487a=>_0x3a0c36({'waterfall':{'negative':_0x16487a}}),'localeService':_0x21b770}),(0x0,react_jsx_runtime[_0x2db50b(0x184)])(BorderOptions,{'controlName':_0x5096ed(_0x2db50b(0x8d)),'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x4cfd53===null||_0x4cfd53===void 0x0?void 0x0:_0x4cfd53[_0x2db50b(0xcf)],'borderStyle':_0x52d1e0,'onSeriesStyleChange':_0x4b777c=>_0x3a0c36({'waterfall':{'negative':_0x4b777c}}),'localeService':_0x21b770})]}),_0x26c32e&&(0x0,react_jsx_runtime[_0x2db50b(0x184)])(react_jsx_runtime['Fragment'],{'children':(0x0,react_jsx_runtime[_0x2db50b(0x184)])('div',{'className':_0x2db50b(0x333),'children':(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x2db50b(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x2db50b(0x184)])(_0x2db50b(0x357),{'className':_0x2db50b(0x101),'children':_0x5096ed(_0x2db50b(0x508))}),(0x0,react_jsx_runtime[_0x2db50b(0x40b)])(react_jsx_runtime[_0x2db50b(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x2db50b(0x184)])(_0x2db50b(0x357),{'className':_0x2db50b(0x140),'children':_0x5096ed(_0x2db50b(0x420))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2db50b(0x2f3)],{'className':_0x2db50b(0x297),'value':_0x3a7ff1||_0x29ee4d(_0x2ca34c,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum'][_0x2db50b(0x39e)]),'onChange':_0xc0172a=>{_0x3a0c36({'waterfall':{'subtotal':{'name':_0xc0172a}}});},'onFocus':()=>{const _0x186fb9=_0x2db50b;_0x1c123f[_0x186fb9(0x276)](_univerjs_core[_0x186fb9(0x344)],!![]);},'onBlur':()=>{const _0x1f9671=_0x2db50b;_0x1c123f[_0x1f9671(0x276)](_univerjs_core[_0x1f9671(0x344)],![]);}})]}),(0x0,react_jsx_runtime['jsx'])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x2db50b(0x448)]['Waterfall'],'allSeriesStyle':_0x4cfd53,'controlName':'','seriesStyle':_0x51b1dc?_0x4cfd53===null||_0x4cfd53===void 0x0||(_0x50060f=_0x4cfd53[_0x2db50b(0x429)])===null||_0x50060f===void 0x0?void 0x0:_0x50060f[_0x2db50b(0x39e)]:_0x1f2aec===null||_0x1f2aec===void 0x0||(_0x3bac43=_0x1f2aec['waterfall'])===null||_0x3bac43===void 0x0?void 0x0:_0x3bac43[_0x2db50b(0x39e)],'onSeriesStyleChange':_0xcf3513=>_0x3a0c36({'waterfall':{'subtotal':_0xcf3513}}),'localeService':_0x21b770}),(0x0,react_jsx_runtime[_0x2db50b(0x184)])(BorderOptions,{'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x4cfd53===null||_0x4cfd53===void 0x0?void 0x0:_0x4cfd53[_0x2db50b(0xcf)],'controlName':_0x5096ed(_0x2db50b(0x8d)),'borderStyle':_0x553d3f,'onSeriesStyleChange':_0x118840=>_0x3a0c36({'waterfall':{'subtotal':_0x118840}}),'localeService':_0x21b770})]})})}),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x2db50b(0x333),'children':(0x0,react_jsx_runtime[_0x2db50b(0x184)])(DataLabelOptions,{'localeService':_0x21b770,'fallbackLabelStyle':fallbackLabelStyle,'labelStyle':_0x6cf63a,'positionOptions':_0x23db7f,'contentTypeOptions':_0x4ee86e,'onLabelStyleChange':(_0x5398c7,_0x156a00)=>_0x3a0c36({'label':{[_0x5398c7]:_0x156a00}}),'onVisibleChange':_0x4dbbf9=>_0x3a0c36({'label':{'visible':_0x4dbbf9}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart[_0x2db50b(0x448)][_0x2db50b(0x3f6)]})})]});};function getShapes(_0x281d21){const _0x305018=_0x38cd95,_0x170476=[];for(const [_0x5a53c1,_0x1e7cc8]of _0x281d21)_0x170476[_0x305018(0x231)]({'value':_0x5a53c1,'label':_0x5a53c1,'icon':_0x1e7cc8[_0x305018(0x253)]});return _0x170476;}function WordCloudShapeSelector(_0x4e6bc9){const _0x135b65=_0x38cd95,{service:_0xdcbbc2,localeService:_0x215a01}=_0x4e6bc9,_0x4d2e27=getShapes((0x0,_univerjs_ui[_0x135b65(0xdb)])(_univerjs_pro_engine_chart['WordCloudMuskImageService'])[_0x135b65(0x349)]()),[_0xcd3cb0,_0x2664c9]=useChartConfigState(_0x135b65(0x1f0),_0xdcbbc2),[_0x71d9c1,_0x258817]=useChartConfigState(_0x135b65(0x39f),_0xdcbbc2),[_0x405615,_0x3f8c30]=(0x0,react[_0x135b65(0x119)])(![]),{t:_0x316b16}=_0x215a01,_0xab3c6d=_0x4d2e27[_0x135b65(0x311)](_0x477fa7=>_0x477fa7['value']===_0xcd3cb0)||_0x4d2e27[0x0];return(0x0,react_jsx_runtime[_0x135b65(0x40b)])(_0x135b65(0x357),{'className':_0x135b65(0x3f8),'children':[(0x0,react_jsx_runtime['jsx'])(_0x135b65(0x357),{'className':_0x135b65(0x175),'children':_0x316b16(_0x135b65(0x45c))}),(0x0,react_jsx_runtime[_0x135b65(0x184)])(_univerjs_design[_0x135b65(0x435)],{'open':_0x405615,'onOpenChange':_0x3f8c30,'overlay':(0x0,react_jsx_runtime[_0x135b65(0x184)])(_0x135b65(0x357),{'className':'univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','children':_0x4d2e27[_0x135b65(0x26a)](_0x209801=>(0x0,react_jsx_runtime[_0x135b65(0x184)])(_0x135b65(0x171),{'className':(0x0,_univerjs_design['clsx'])(_0x135b65(0x2b5),_univerjs_design[_0x135b65(0x44d)],{'univer-bg-white':_0xab3c6d[_0x135b65(0x30d)]!==_0x209801[_0x135b65(0x30d)],'univer-select-item-option-selected':_0xab3c6d['value']===_0x209801['value']}),'type':_0x135b65(0x171),'onClick':()=>{const _0x5aea17=_0x135b65;_0x2664c9(_0x209801[_0x5aea17(0x30d)]),_0x3f8c30(![]);},'children':(0x0,react_jsx_runtime[_0x135b65(0x184)])(_0x135b65(0x1ec),{'className':_0x135b65(0x519),'children':(0x0,react_jsx_runtime['jsx'])(_0x135b65(0x360),{'src':_0x209801[_0x135b65(0x424)],'alt':_0x209801[_0x135b65(0x1bd)]})})},_0x209801['value']))}),'children':(0x0,react_jsx_runtime[_0x135b65(0x184)])('button',{'className':(0x0,_univerjs_design[_0x135b65(0x28d)])('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[_0x135b65(0x44d)]),'type':_0x135b65(0x171),'children':(0x0,react_jsx_runtime[_0x135b65(0x40b)])('span',{'className':_0x135b65(0x164),'children':[(0x0,react_jsx_runtime['jsx'])('span',{'className':_0x135b65(0x3fe),'children':(0x0,react_jsx_runtime[_0x135b65(0x184)])(_0x135b65(0x360),{'className':_0x135b65(0x3c2),'src':_0xab3c6d[_0x135b65(0x424)],'alt':_0xab3c6d[_0x135b65(0x1bd)]})}),(0x0,react_jsx_runtime[_0x135b65(0x184)])('span',{'className':_0x135b65(0x10f),'children':_0xab3c6d[_0x135b65(0x1bd)]})]})})}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x135b65(0x3c7)],{'className':_0x135b65(0x1f2),'checked':_0x71d9c1!==null&&_0x71d9c1!==void 0x0?_0x71d9c1:_univerjs_pro_engine_chart['defaultChartConfig']['wordCloud'][_0x135b65(0x4ed)],'onChange':_0x1b2a72=>{_0x258817===null||_0x258817===void 0x0||_0x258817(Boolean(_0x1b2a72));},'children':_0x316b16(_0x135b65(0x44e))})]});}const {textStyle}=_univerjs_pro_engine_chart['defaultChartConfig'],StyleTabPanel=()=>{const _0x4f76ba=_0x38cd95;var _0x2913f2,_0x1899c4,_0x19e44f,_0x4bd374,_0x4bf28a,_0x491732,_0x51633d,_0x2f9b1f,_0x3c294d,_0x12932a;const _0x97f895=(0x0,_univerjs_ui[_0x4f76ba(0xdb)])(_univerjs_core['LocaleService']),_0xb0add1=(0x0,_univerjs_ui[_0x4f76ba(0xdb)])(_univerjs_core[_0x4f76ba(0x3c3)]),_0x241aa=useSheetsChartUIService(),_0x1b0761=(0x0,_univerjs_ui[_0x4f76ba(0xdb)])(_univerjs_ui['IDialogService']),{t:_0x46cc27}=_0x97f895,[_0x3d6bb9,_0x491991]=useChartConfigState('chartType',_0x241aa),[_0x457d45]=useChartConfigState(_0x4f76ba(0x27e),_0x241aa),[_0x1d489f,_0x5e6fbd]=useChartConfigState(_0x4f76ba(0x323),_0x241aa,''),[_0x229cae,_0x554536]=useChartConfigState(_0x4f76ba(0x26f),_0x241aa,''),[_0x5185a2,_0x1bc472]=useChartConfigState(_0x4f76ba(0x4c7),_0x241aa),[_0x19b0c0,_0x443d55]=useChartConfigState(_0x4f76ba(0x170),_0x241aa),[_0x37d3a8,_0x26097a]=useChartConfigState(_0x4f76ba(0x522),_0x241aa),[_0x10a319,_0x1ab31d]=useChartConfigState(_0x4f76ba(0x222),_0x241aa),[_0x3d1935,_0x4e1656]=useChartConfigState(_0x4f76ba(0x484),_0x241aa),[_0xc3b1c8,_0x1d3c24]=useChartConfigState('titles',_0x241aa),[_0x145d9a,_0x200e5e]=useChartConfigState(_0x4f76ba(0x92),_0x241aa),[_0x2c8fe6,_0x5b244b]=useChartConfigState('indicator',_0x241aa),[_0x251940]=useChartConfigState(_0x4f76ba(0x4b1),_0x241aa),[_0x3d4409]=useChartConfigState('chartThemeColorType',_0x241aa),_0x568613=(0x0,_univerjs_ui[_0x4f76ba(0xdb)])(_univerjs_pro_engine_chart[_0x4f76ba(0x475)]),[_0x3a7f02,_0x10097e]=(0x0,react[_0x4f76ba(0x119)])(''),[_0x230da9]=useChartConfigState('trendlineValues',_0x241aa),_0x45382e=_0x3d6bb9&&(0x0,_univerjs_pro_engine_chart[_0x4f76ba(0x132)])(_0x3d6bb9),_0x4520cd=_0x230da9&&_0x230da9['length']>0x0,_0x77171d=_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)]['baseOn'](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x9e)]),_0x3b6bb4=(0x0,react['useMemo'])(()=>{const _0x5f2d9f=_0x4f76ba;return _0x3d4409?_0x568613[_0x5f2d9f(0x4a3)](_0x3d4409):_0x568613['getDefaultTheme']();},[_0x3d4409]),_0x219e90=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart['chartBitsUtils']['baseOn'](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x217)])),_0x467b66=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)]['Bubble'])),_0xb26eee=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)]['baseOn'](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x160)])),_0x1ee9c6=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x186)])),_0x2efe5c=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x50b)])),_0x423c29=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x4dd)])),_0x52d90d=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x340)])),_0x27dd30=(0x0,react[_0x4f76ba(0x316)])(()=>{const _0x1cbfd8=_0x4f76ba;return _0x251940===null||_0x251940===void 0x0?void 0x0:_0x251940[_0x1cbfd8(0xe6)]((_0x3bac95,_0x214864)=>{const _0x52db50=_0x1cbfd8;return _0x3bac95[_0x214864[_0x52db50(0x16b)]]=_0x214864,_0x3bac95;},{});},[_0x251940]),_0x46d9c6=Boolean(_0x27dd30===null||_0x27dd30===void 0x0?void 0x0:_0x27dd30[_univerjs_pro_engine_chart[_0x4f76ba(0x1cb)][_0x4f76ba(0x4fa)]])&&Boolean(_0x27dd30===null||_0x27dd30===void 0x0?void 0x0:_0x27dd30[_univerjs_pro_engine_chart[_0x4f76ba(0x1cb)]['Left']])&&(_0x3d6bb9&_univerjs_pro_engine_chart[_0x4f76ba(0x448)]['Pie'])===0x0&&(_0x3d6bb9&_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x518)])===0x0,[_0x314294,_0x97d09f]=(0x0,react[_0x4f76ba(0x119)])(titleOptions[0x0][_0x4f76ba(0x30d)]),_0x41a918=_0xc3b1c8===null||_0xc3b1c8===void 0x0?void 0x0:_0xc3b1c8[_0x314294],_0x36b5c5={'color':textStyle['color'],'fontSize':_0x314294===_0x4f76ba(0x19c)?textStyle[_0x4f76ba(0x45a)]:_0x314294==='subtitle'?textStyle[_0x4f76ba(0x2fc)]:textStyle[_0x4f76ba(0x495)],..._0x41a918},_0x37a231=(0x0,react[_0x4f76ba(0x1ed)])(_0x4db806=>{_0x1d3c24({[_0x314294]:_0x4db806});},[_0x314294]),_0x18ef94=_0x1aa023=>{const _0x193b4c=_0x4f76ba,_0x123c40={'label':{'axisTitleAlign':_0x1aa023}};if(_0x314294===_0x193b4c(0x1bb))_0x26097a(_0x123c40);if(_0x314294==='yAxisTitle')_0x1ab31d(_0x123c40);if(_0x314294===_0x193b4c(0x95))_0x4e1656(_0x123c40);},_0x2574a9=()=>{const _0x2d450c=_0x4f76ba;if(_0x314294===_0x2d450c(0x1bb)){var _0x435bdf;return _0x37d3a8===null||_0x37d3a8===void 0x0||(_0x435bdf=_0x37d3a8['label'])===null||_0x435bdf===void 0x0?void 0x0:_0x435bdf[_0x2d450c(0x4e3)];}if(_0x314294===_0x2d450c(0x328)){var _0x5ca96c;return _0x10a319===null||_0x10a319===void 0x0||(_0x5ca96c=_0x10a319[_0x2d450c(0x1bd)])===null||_0x5ca96c===void 0x0?void 0x0:_0x5ca96c[_0x2d450c(0x4e3)];}if(_0x314294===_0x2d450c(0x95)){var _0x3eaa71;return _0x3d1935===null||_0x3d1935===void 0x0||(_0x3eaa71=_0x3d1935['label'])===null||_0x3eaa71===void 0x0?void 0x0:_0x3eaa71[_0x2d450c(0x4e3)];}};(0x0,react[_0x4f76ba(0x22f)])(()=>{var _0x7ff63c;_0x10097e((_0x7ff63c=_0x36b5c5===null||_0x36b5c5===void 0x0?void 0x0:_0x36b5c5['content'])!==null&&_0x7ff63c!==void 0x0?_0x7ff63c:'');},[_0x36b5c5===null||_0x36b5c5===void 0x0?void 0x0:_0x36b5c5[_0x4f76ba(0x1b3)]]);const _0x4c65ab=useTranslatedOptions(_0x97f895,legendLabelPositionOptions),_0x1a6b5e=useTranslatedOptions(_0x97f895,titleOptions),_0xbcf494=useTranslatedOptions(_0x97f895,legendSelectModeOptions),_0x5a2bf6=useTranslatedOptions(_0x97f895,legendVisualMapTypeOptions),_0x5e84ec=[_0x1a6b5e[0x0]],_0x1cd9fd=useTranslatedOptions(_0x97f895,titlePositionOptions),_0x35365d=useTranslatedOptions(_0x97f895,axisTitlePositionOptions),_0x5163e6=(_0x30e5ce,_0x2b8804)=>{const _0x1d48b4=_0x4f76ba,_0x29cb9a={'label':UNIVER_SHEET_CHART_FORMAT_DIALOG,'onPatternApply':_0x2b8804,'originPattern':_0x30e5ce};_0x1b0761[_0x1d48b4(0x47f)]({'id':UNIVER_SHEET_CHART_FORMAT_DIALOG_ID,'title':{'title':_0x46cc27(_0x1d48b4(0x44f))},'children':_0x29cb9a,'width':0x258,'onClose':()=>{const _0x3e543c=_0x1d48b4;_0x1b0761[_0x3e543c(0x1ca)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);}});},_0x383af9=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart[_0x4f76ba(0x448)]['Pie'])),_0xd7c06f=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)]['baseOn'](_0x3d6bb9,_univerjs_pro_engine_chart['ChartTypeBits'][_0x4f76ba(0x518)])),_0x2d24f0=Boolean(_0x3d6bb9&&_univerjs_pro_engine_chart[_0x4f76ba(0x379)][_0x4f76ba(0xc1)](_0x3d6bb9,_univerjs_pro_engine_chart['ChartTypeBits'][_0x4f76ba(0x3f6)]));return(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':'','children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design[_0x4f76ba(0x4b5)],{'items':[{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x4a9))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x313),{'className':_0x4f76ba(0x333),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])('div',{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x3e4))}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':_0x1d489f,'onChange':_0x5e6fbd})]}),(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x268))}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(ColorPickerControl,{'color':_0x229cae,'onChange':_0x554536})]})]})})},{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x25d))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])('section',{'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x333),'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x41d))}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design[_0x4f76ba(0x133)],{'className':_0x4f76ba(0x452),'value':_0x314294,'options':_0x383af9||_0xd7c06f||_0x219e90?_0x5e84ec:_0x1a6b5e,'onChange':_0x4e89c1=>_0x97d09f(_0x4e89c1)})]}),(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x333),'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0xb9))}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design[_0x4f76ba(0x2f3)],{'value':_0x3a7f02,'onChange':_0x10097e,'onFocus':()=>{const _0x45d07f=_0x4f76ba;_0xb0add1[_0x45d07f(0x276)](_univerjs_core[_0x45d07f(0x344)],!![]);},'onBlur':()=>{const _0x49541f=_0x4f76ba;_0xb0add1['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);if(_0x3a7f02!==(_0x36b5c5===null||_0x36b5c5===void 0x0?void 0x0:_0x36b5c5[_0x49541f(0x1b3)]))_0x37a231({'content':_0x3a7f02});}})]}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x333),'children':(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x4f76ba(0xc5),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x326),'children':[_0x314294===_0x4f76ba(0x19c)&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x345))}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design[_0x4f76ba(0x133)],{'className':_0x4f76ba(0x452),'value':_0x145d9a!==null&&_0x145d9a!==void 0x0?_0x145d9a:_univerjs_pro_engine_chart['defaultChartConfig'][_0x4f76ba(0x92)],'options':_0x1cd9fd,'onChange':_0x40d9db=>_0x200e5e(_0x40d9db)})]}),_0x314294!==_0x4f76ba(0x19c)&&(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(react_jsx_runtime[_0x4f76ba(0x1ac)],{'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x166))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4f76ba(0x133)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x2913f2=_0x2574a9())!==null&&_0x2913f2!==void 0x0?_0x2913f2:_univerjs_pro_engine_chart['defaultChartConfig']['axis']['titleAlign'],'options':_0x35365d,'onChange':_0x38c241=>_0x18ef94(_0x38c241)})]})]})})}),(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'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'])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x85))}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x9b),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(FontFormatBar,{'alignControl':_0x314294===_0x4f76ba(0x19c),'localeService':_0x97f895,..._0x36b5c5,'onChange':(_0xb15818,_0x9a9ccd)=>_0x37a231({[_0xb15818]:_0x9a9ccd})})})]})]})},_0x219e90&&{'label':(0x0,react_jsx_runtime['jsx'])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27('chart.cloud.title')}),'children':(0x0,react_jsx_runtime['jsx'])(WordCloudShapeSelector,{'service':_0x241aa,'localeService':_0x97f895})},!_0x219e90&&!_0x383af9&&!_0x467b66&&!_0x1ee9c6&&!_0x2d24f0&&!_0x2efe5c&&!_0x423c29&&!_0x52d90d&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x46cc27(_0x4f76ba(0x442))}),'children':(0x0,react_jsx_runtime['jsx'])(SeriesStyleEdit,{'chartType':_0x3d6bb9,'service':_0x241aa,'localeService':_0x97f895})},_0x2efe5c&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x3b5))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(ParetoStyleEdit,{'service':_0x241aa,'localeService':_0x97f895,'isLineSeries':![]})},_0x2efe5c&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27('chart.pareto.lineSeries')}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(ParetoStyleEdit,{'service':_0x241aa,'localeService':_0x97f895,'isLineSeries':!![]})},_0x2d24f0&&{'label':(0x0,react_jsx_runtime['jsx'])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x442))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(WaterfallSeriesEdit,{'service':_0x241aa,'localeService':_0x97f895})},_0x383af9&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x88))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(PieChartStyleEdit,{'chartType':_0x3d6bb9,'service':_0x241aa,'localeService':_0x97f895,'onChartTypeChange':_0x491991})},!_0x219e90&&!_0x423c29&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27('chart.legend')}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x4f76ba(0x313),{'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x357),{'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[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x3e5))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4f76ba(0x133)],{'className':_0x4f76ba(0x452),'value':(_0x5185a2===null||_0x5185a2===void 0x0?void 0x0:_0x5185a2[_0x4f76ba(0x16b)])||_univerjs_pro_engine_chart[_0x4f76ba(0x4a6)][_0x4f76ba(0x4de)][_0x4f76ba(0x16b)],'onChange':_0x1f981d=>_0x1bc472({..._0x5185a2,'position':_0x1f981d}),'options':_0x4c65ab})]}),(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])('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'])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x523))}),!_0x52d90d&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4f76ba(0x133)],{'className':_0x4f76ba(0x452),'value':(_0x5185a2===null||_0x5185a2===void 0x0?void 0x0:_0x5185a2[_0x4f76ba(0x1b4)])||_univerjs_pro_engine_chart[_0x4f76ba(0x4a6)][_0x4f76ba(0x4de)]['selectMode'],'onChange':_0x2da3dd=>_0x1bc472({..._0x5185a2,'selectMode':_0x2da3dd}),'options':_0xbcf494}),_0x52d90d&&(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design[_0x4f76ba(0x133)],{'className':_0x4f76ba(0x452),'value':_0x19b0c0||_univerjs_pro_engine_chart['defaultChartConfig'][_0x4f76ba(0x94)]['visualMapType'],'onChange':_0x20a3b5=>_0x443d55(_0x20a3b5),'options':_0x5a2bf6})]}),!_0x52d90d&&(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])('div',{'className':_0x4f76ba(0x333),'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x449),'children':_0x46cc27(_0x4f76ba(0x85))}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(FontFormatBar,{..._0x5185a2===null||_0x5185a2===void 0x0?void 0x0:_0x5185a2['label'],'localeService':_0x97f895,'fontSize':(_0x1899c4=_0x5185a2===null||_0x5185a2===void 0x0||(_0x19e44f=_0x5185a2[_0x4f76ba(0x1bd)])===null||_0x19e44f===void 0x0?void 0x0:_0x19e44f['fontSize'])!==null&&_0x1899c4!==void 0x0?_0x1899c4:_univerjs_pro_engine_chart[_0x4f76ba(0x4a6)][_0x4f76ba(0x3a6)][_0x4f76ba(0x495)],'color':(_0x4bd374=_0x5185a2===null||_0x5185a2===void 0x0||(_0x4bf28a=_0x5185a2['label'])===null||_0x4bf28a===void 0x0?void 0x0:_0x4bf28a[_0x4f76ba(0x461)])!==null&&_0x4bd374!==void 0x0?_0x4bd374:_univerjs_pro_engine_chart['defaultChartConfig']['textStyle'][_0x4f76ba(0x461)],'onChange':(_0x27cbee,_0x559b92)=>_0x1bc472({'label':{[_0x27cbee]:_0x559b92}})})]})]})},!_0x219e90&&!_0x383af9&&!_0xd7c06f&&!_0xb26eee&&!_0x1ee9c6&&!_0x423c29&&!_0x52d90d&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x412))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])('section',{'className':_0x4f76ba(0x333),'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(AxisOptionsEdit,{'localeService':_0x97f895,'sheetsChartUIService':_0x241aa,'axisOptions':_0x37d3a8,'canUseDateAxis':_0x3d6bb9!==_univerjs_pro_engine_chart[_0x4f76ba(0x448)][_0x4f76ba(0x9e)]&&_0x3d6bb9!==_univerjs_pro_engine_chart['ChartTypeBits']['Waterfall'],'valueAxis':_0x77171d||(_0x27dd30===null||_0x27dd30===void 0x0||(_0x491732=_0x27dd30[_univerjs_pro_engine_chart[_0x4f76ba(0x1cb)][_0x4f76ba(0x492)]])===null||_0x491732===void 0x0?void 0x0:_0x491732['type'])===_univerjs_pro_engine_chart[_0x4f76ba(0x30f)][_0x4f76ba(0x236)],'onChange':_0x26097a}),(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design['Button'],{'className':'','size':_0x4f76ba(0x403),'onClick':()=>{const _0x3ee36a=_0x4f76ba;_0x5163e6(_0x37d3a8===null||_0x37d3a8===void 0x0?void 0x0:_0x37d3a8[_0x3ee36a(0xca)],_0x2f2110=>{_0x26097a({'format':_0x2f2110});});},'children':_0x46cc27(_0x4f76ba(0x44f))})]})},!_0x219e90&&!_0x383af9&&!_0xd7c06f&&!_0xb26eee&&!_0x1ee9c6&&!_0x423c29&&!_0x52d90d&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x46cc27(_0x4f76ba(0x301))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])(_0x4f76ba(0x313),{'className':_0x4f76ba(0x333),'children':[(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(AxisOptionsEdit,{'localeService':_0x97f895,'sheetsChartUIService':_0x241aa,'axisOptions':_0x10a319,'canUseDateAxis':![],'valueAxis':(_0x27dd30===null||_0x27dd30===void 0x0||(_0x51633d=_0x27dd30[_univerjs_pro_engine_chart[_0x4f76ba(0x1cb)]['Left']])===null||_0x51633d===void 0x0?void 0x0:_0x51633d['type'])===_univerjs_pro_engine_chart[_0x4f76ba(0x30f)][_0x4f76ba(0x236)],'onChange':_0x1ab31d}),(_0x27dd30===null||_0x27dd30===void 0x0||(_0x2f9b1f=_0x27dd30[_univerjs_pro_engine_chart[_0x4f76ba(0x1cb)]['Left']])===null||_0x2f9b1f===void 0x0?void 0x0:_0x2f9b1f['type'])===_univerjs_pro_engine_chart[_0x4f76ba(0x30f)]['Numeric']&&(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design['Button'],{'className':'','size':'small','onClick':()=>{const _0x1286c0=_0x4f76ba;_0x5163e6(_0x10a319===null||_0x10a319===void 0x0?void 0x0:_0x10a319[_0x1286c0(0xca)],_0x3396bf=>{_0x1ab31d({'format':_0x3396bf});});},'children':_0x46cc27('dialog.setFormat')})]})},!_0x219e90&&_0x46d9c6&&!_0x1ee9c6&&!_0x423c29&&!_0x52d90d&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x2a9))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x40b)])('section',{'className':_0x4f76ba(0x333),'children':[(0x0,react_jsx_runtime['jsx'])(AxisOptionsEdit,{'localeService':_0x97f895,'sheetsChartUIService':_0x241aa,'canUseDateAxis':![],'axisOptions':_0x3d1935,'onChange':_0x4e1656,'valueAxis':!![]}),(_0x27dd30===null||_0x27dd30===void 0x0||(_0x3c294d=_0x27dd30[_univerjs_pro_engine_chart['IRuntimeAxisPosition']['Right']])===null||_0x3c294d===void 0x0?void 0x0:_0x3c294d['type'])===_univerjs_pro_engine_chart[_0x4f76ba(0x30f)]['Numeric']&&(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_univerjs_design[_0x4f76ba(0x3b9)],{'className':'','size':'small','onClick':()=>{const _0x27fb68=_0x4f76ba;_0x5163e6(_0x3d1935===null||_0x3d1935===void 0x0?void 0x0:_0x3d1935[_0x27fb68(0xca)],_0x226a79=>{_0x4e1656({'format':_0x226a79});});},'children':_0x46cc27(_0x4f76ba(0x44f))})]})},!_0x219e90&&!_0x383af9&&!_0xd7c06f&&!_0x1ee9c6&&!_0xb26eee&&!_0x423c29&&!_0x52d90d&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x363))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x313),{'className':_0x4f76ba(0x333),'children':(0x0,react_jsx_runtime['jsx'])(GridLineAndTickOptions,{'service':_0x241aa,'localeService':_0x97f895,'className':_0x4f76ba(0xb6),'runtimeAxes':_0x251940})})},!_0x219e90&&!_0x1ee9c6&&!_0x383af9&&!_0xb26eee&&!_0x423c29&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x1ff))}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x313),{'className':_0x4f76ba(0x333),'children':(0x0,react_jsx_runtime['jsx'])(IndicatorLine,{'localeService':_0x97f895,'indicatorLabelColor':(_0x2c8fe6===null||_0x2c8fe6===void 0x0?void 0x0:_0x2c8fe6[_0x4f76ba(0x25e)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x4f76ba(0xac)],'indicatorLineType':(_0x2c8fe6===null||_0x2c8fe6===void 0x0?void 0x0:_0x2c8fe6['indicatorLineType'])||_univerjs_pro_engine_chart[_0x4f76ba(0x4a6)]['indicatorLineType'],'indicatorLabelTextColor':(_0x2c8fe6===null||_0x2c8fe6===void 0x0?void 0x0:_0x2c8fe6[_0x4f76ba(0x342)])||_univerjs_pro_engine_chart[_0x4f76ba(0x4a6)][_0x4f76ba(0x4ef)],'indicatorLineColor':(_0x2c8fe6===null||_0x2c8fe6===void 0x0?void 0x0:_0x2c8fe6[_0x4f76ba(0x1d2)])||(_0x3b6bb4===null||_0x3b6bb4===void 0x0||(_0x12932a=_0x3b6bb4[_0x4f76ba(0x30a)])===null||_0x12932a===void 0x0?void 0x0:_0x12932a[_0x4f76ba(0x31a)]),'onChange':_0x5ec23e=>{_0x5b244b(_0x5ec23e);}})})},_0x45382e&&_0x4520cd&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(_0x4f76ba(0x357),{'className':_0x4f76ba(0x478),'children':_0x46cc27('chart.trendline.name')}),'children':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])(TrendLineStyleEdit,{'localeService':_0x97f895,'uiService':_0x241aa})},_0x1ee9c6&&{'label':(0x0,react_jsx_runtime[_0x4f76ba(0x184)])('div',{'className':_0x4f76ba(0x478),'children':_0x46cc27(_0x4f76ba(0x2f5))}),'children':(0x0,react_jsx_runtime['jsx'])(_0x4f76ba(0x313),{'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[_0x4f76ba(0x184)])(RelationEdit,{'service':_0x241aa,'localeService':_0x97f895})})}][_0x4f76ba(0x24c)](Boolean)})});};function ChartEditPanel(_0x3db3be){const _0x3e2d6f=_0x38cd95,{className:_0x1f1dfb}=_0x3db3be,[_0x1b4da2,_0x50b41e]=(0x0,react[_0x3e2d6f(0x119)])(0x0),_0x16c365=(0x0,_univerjs_ui[_0x3e2d6f(0xdb)])(_univerjs_core[_0x3e2d6f(0x12b)]);return(0x0,react_jsx_runtime[_0x3e2d6f(0x40b)])('div',{'className':(0x0,_univerjs_design['clsx'])('univer-size-full',_0x1f1dfb),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x3e2d6f(0x357),{'className':_0x3e2d6f(0x405),'children':[(0x0,react_jsx_runtime[_0x3e2d6f(0x40b)])(_0x3e2d6f(0x357),{'className':(0x0,_univerjs_design[_0x3e2d6f(0x28d)])(_0x3e2d6f(0x1bc),_0x1b4da2===0x0?'univer-text-primary-600':_0x3e2d6f(0xd9)),'onClick':()=>_0x50b41e(0x0),'children':[_0x16c365['t']('chart.setupChart'),(0x0,react_jsx_runtime['jsx'])('div',{'className':(0x0,_univerjs_design[_0x3e2d6f(0x28d)])(_0x3e2d6f(0x421),{'univer-bg-primary-600':_0x1b4da2===0x0,'univer-bg-transparent':_0x1b4da2!==0x0})})]}),(0x0,react_jsx_runtime['jsxs'])('div',{'className':(0x0,_univerjs_design[_0x3e2d6f(0x28d)])(_0x3e2d6f(0x1bc),{'univer-text-primary-600':_0x1b4da2===0x1,'univer-text-gray-500':_0x1b4da2!==0x1}),'onClick':()=>_0x50b41e(0x1),'children':[_0x16c365['t']('chart.customChart'),(0x0,react_jsx_runtime[_0x3e2d6f(0x184)])(_0x3e2d6f(0x357),{'className':(0x0,_univerjs_design[_0x3e2d6f(0x28d)])(_0x3e2d6f(0xd0),{'univer-bg-primary-600':_0x1b4da2===0x1,'univer-bg-transparent':_0x1b4da2!==0x1})})]})]}),(0x0,react_jsx_runtime[_0x3e2d6f(0x184)])(_0x3e2d6f(0x357),{'className':_0x3e2d6f(0x1e5),'children':_0x1b4da2===0x0?(0x0,react_jsx_runtime[_0x3e2d6f(0x184)])(DataTabPanel,{}):(0x0,react_jsx_runtime['jsx'])(StyleTabPanel,{})})]});}function _0x2eb7(){const _0x14d599=['function','img','string','chart.waterfall.negative','chart.gridlinesAndTicks','getDataSource','chartId','test','chart.trendline.linear','IMenuManagerService','visible','maskImage','@univerjs-pro/sheets-chart-ui','UNIVER_SHEET','dialog.numfmt.currencyDesc','chartTypes.funnel','Step','SheetCanvasFloatDomManagerService','98220wkGpCK','ellipticity','show','rotateLabel','M\x22月\x22d\x22日\x22','COPY_TYPE','next','-1,234.56','chartBitsUtils','1px\x20solid\x20','hasOwnProperty','End','_getSceneAndTransformerByDrawingSearch','allSeriesId','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_initMenus','LineChartIcon','_resizeChart','chart.trendline.showR2','stateTransition','waterfallStack','DeleteEmptyIcon','_chartHostProviderService','chart.shape.emptyRoundRect','bubbleSeries','checkHost','chart.stackType.percent','chart.shape.emptyArrow','InputNumber','restore','SELECTOR','BubbleIcon','Left','chartModelId','activeChartModel','getCanvasElement','canvas','webkitClearImmediate','PolynomialIcon','setStyle','_getWatermark','EChartRenderEngineName','LogarithmicIcon','chart.addSeries','Injector','subtotal','wordCloudRepeat','The\x20element\x20id\x20specified\x20is\x20not\x20found.','Currency','chart.dataRange','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','MEDIA','append','textStyle','yAxis','interceptCommand','chart.styleEditPanel.halfPie','getHostSize','all','chart.waterfall.stackType','univer-mb-2\x20univer-mt-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','chart.dashType.dash','\x22#,##0.00_);(\x22','Arrow','drawingId','dialog.numfmt.dateDesc','DropdownMenu','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','chart.pareto.barSeries','univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','transformToDrawingPosition','categoryType','Button','seriesResourceIndexes','chart.relation.edgeLength','ISheetDrawingService','1,234.56','chartType','seriesIndexes','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','echarts','univer-size-4','IContextService','getBatchRemoveOp','BarStacked','__default__','Checkbox','endRow','date','Radio','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','has','constructor','wordcloudstart','_focusedDrawings','scrollbarClassName','parseInt','chart.indicatorValue','dialog.numfmt.thousandthPercentileDesc','point','getWidth','allSeriesStyle','InsertChartCommand','weightFactor','univer-box-border\x20univer-h-8','getRangeInfo','_rangeSelectMode','\x22#,##0.00','getChartDataSource','runtime','registerPreprocessor','minFontSize','chart.stackType.stack','invalidValueType','getChartPopupMenus','chart.backgroundColor','chart.position','50%\x2040%','Middle','chart.trendline.showFormula','red','set','chart.styleEditPanel.pieValSuffix','下午1:30','mozClearImmediate','clearTimeout','setBorder','getLayoutRect','opacity','area','repulsion','Date','relative','Waterfall','HeatmapIcon','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','sqrt','chartTypes.combination','ColumnStacked','labelContentType','italic','univer-mr-2\x20univer-text-2xl','_generateCopyPasteMutations','seriesStyleMap','indexOf','getDrawingByParam','small','graphic','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','_createHost','gravity','univer-mt-2-base','bind','trendlineValues','jsxs','Arrangement','chart.waterfall.arrangement','specialChartWidthMap','SheetsChartUIService','chart.trendline.name','gridSize','chart.axes.horizontalAxis','_sheetInterceptorService','chart.trendline.period','6yqVRNW','univer-my-2','SheetPermissionCheckController','setOption','toFixed','deserializeRangeWithSheet','getHeight','printChart','chart.titles.title','2015225UKRYnP','1274121NpUymS','chart.waterfall.subtotalLegendText','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','chart.trendline.r2','relationLayout','icon','!univer-min-w-0\x20univer-flex-1','\x22Trebuchet\x20MS\x22,\x20\x22Heiti\x20TC\x22,\x20\x22微軟正黑體\x22,\x20\x22Arial\x20Unicode\x20MS\x22,\x20\x22Droid\x20Fallback\x20Sans\x22,\x20sans-serif','_(\x22','axis','waterfall','ItalicIcon','ThousandthPercentile','IDrawingManagerService','Accounting','rotate(','ChartModelService','circular','LegendPositionEnum','sheet.numfmt.currency','MoreDownIcon','overflow','Dropdown','COMMAND','chartTypes.waterfall','CUT','LabelContentType','center','gap','rotateRatio','radio','funnel','getTime','style$','chartTypes.scatter','chart.series','_injector','left','key','univer-size-5','getItemVisual','ChartTypeBits','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','join','Row','chart.trendline.displayName','borderClassName','chart.styleEditPanel.repeatWordCould','dialog.setFormat','chartTypes.barPercentStacked','hidePanel','univer-w-full\x20!univer-min-w-0','CloudIcon','registerCommand','_renderModelMap','ChartTrendlineType','DrawingApplyType','fillTextOffsetX','redo','titleFontSize','emphasis.textStyle.fontWeight','chart.styleEditPanel.wordCloudShape','numfmt','Close','pow','trendline','color','min','openChartPanelById','_sheetSkeletonService','discreteRangeToRange','heatmapMax','chart.default','mousemove','ChartUpdateSourceCommand','AreaStacked','chart.indicatorLineColor','SHEETS_CHART_PLUGIN_NAME','univer-mb-2\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transparent','square','selectedMode','chart.trendline.poly','drawingType','maxDecimals','isRosePie','ChartThemeService','DependentOn','bounds','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','symbol','SelectList','PREDEFINED_HOOK_NAME','chart.bubble.xAxis','SetDrawingApplyMutation','ColorPicker','open','Sorry\x20your\x20browser\x20not\x20support\x20wordCloud','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-px-3','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','areaLineStyle','rightYAxisOptions','TitlePositionEnum','hidden','valueSuffix','suffix','querySelector','startsWith','updateWatermark','style','edgeLength','attributes','executeChartUpdateConfig','initPanel','univer-flex\x20univer-items-center\x20univer-text-base','Bottom','IMessageService','__highDownDispatcher','fontSize','chartType$','drawOutOfBound','wordclouddrawn','chartTypes.sankey','univer-flex-1','otherChartType','isArray','h:mm','DrawingTypeEnum','poly','stopImmediatePropagation','chart.indicatorLineType','dateAxisRotate','getTheme','下午1:30:30','303256TIxiwK','defaultChartConfig','Link','Text','chart.chartStyle','rotationStep','areaOpacity','_drawingManagerService','setTimeout','setHostStyle','_createCopyInfoByRange','type','runtimeAxes','_contextService','getRenderById','chart.shape.emptyRect','Accordion','Linear','Pin','Combination','HeatmapChartIcon','getItemModel','registerWordCloud','cos','#000','executeCommand','drawImage','CategoryName','univer-w-full','chart.shape.square','fillStyle','Disposable','chart.styleEditPanel.labelText','isPatternEqualWithoutDecimal','legendStyle','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','symbolType','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','categoryIndex','bubbleLabel','SankeyChartIcon','1930/08/05','values','\x22#,##0.00)','chart.shape.polygon','domId','dialog.numfmt.confirm','showLabelLine','util','error','yyyy-MM-dd','registerRenderModel','xAxis','layoutAnimation','startColumn','Zero','Sankey','legend','sheet.command.menu-insert-chart','chart.shape.triangle','stylizeSpec','chart.addDataPoint','axisTitleAlign','EmptyRect','subUnitId','RadarChartIcon','sheetDisposed$','scaleX','AxisAlignEnum','text','chart.ticks.tickLength','weight','repeat','SheetInterceptorService','tooltipAxisLabelColor','BoxplotIcon','Tooltip','decorate','_copyInfo','abort','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','chart.bubble.yAxis','barStyle','chart.styleEditPanel.pieValScale','8月5日','Right','movingAvg','rangeInfo','positive','PieLabelPosition','combineLatestWith','default','activeChartModel$','FontColorDoubleIcon','dialog.numfmt.formatTypes','setAttribute','defineProperty','chart.waterfall.negativeStyle','removeViewState','chart.waterfall.subtotalStyle','dataRange','RadarShape','Pareto','chart.withFormat','chart.align.center','createIdentifier','AreaPercentStacked','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','updateFloatDomProps','_sheetsChartService','chart.msg.invalidSource','parseFloat','blur','EChartRenderModel','rect','Radar','univer-text-2xl','getData','chart.align.right','chart.trendline.log','seriesList','splice','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','get','enableHoverEmphasis','xAxisOptions','chart.legendSelectMode','A/P\x20h:mm','setItemGraphicEl','General','showR2','save','scene','lineColor','univer-w-[--radix-popper-anchor-width]','chart.shape.emptyDiamond','_renderDebounceMap','order','valueScale','chart.waterfall.positiveStyle','rangeSelectMode','getBoundingClientRect','chart.titles.titleFormat','chart.shape.none','createElement','chartTypes.pie','PieChartIcon','round','getActiveSheet','chart.styleEditPanel.reverseAxisOrder','chart.border','ChartBorderDashType','sheet.numfmt.accounting','removeEventListener','funnelGap','titlePosition','univer-flex\x20univer-items-center\x20univer-justify-between','heatmap','rightYAxisTitle','chartTypes.area','fillText','REMOVE','option','onStarting','univer-flex\x20univer-items-center','_initCommands','lineStyle','Scatter','clearImmediate','getUnitId','normal','chart.relation.useValueAsSymbolSize','MessageType','chart.theIndexItem','radarShape','config$','CommandType','doughnutHole','group','13:30','dialog.numfmt.cancel','tooltipAxisLabelBackground','minSize','univer-w-[136px]','_renderManagerService','useValueAsSymbolSize','useEmphasis','chart.dashType.solid','onTransformChange$','borderRadius','08-05\x20下午\x2001:30','univer-mt-2','chart.shape.emptyPin','sidebarOptions$','chart.titles.titleText','stackType','chart.settingsLabels.useAsCategoryLabels','forceOption','dialog.numfmt.accountingDesc','_generatePasteMutations','chart.line','univer-w-[208px]','baseOn','_menuManagerService','blurScope','random-light','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','SeriesName','_currentModel','sheet.numfmt.general','chartTypes.radar','format','click','tooltip','wordCloudShape','chart.relation.gravity','border','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','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','width','paretoDataPointsOptions','IUniverInstanceService','dialog.numfmt.currency','univer-absolute\x20univer-right-2\x20univer-top-2','word','forceRender','univer-text-gray-500','chart.styleEditPanel.pieDigitalFixed','useDependency','DataOrientation','createDimensions','ondraw','RelationChartLayoutEnum','borderStyle','drawn','chart.titles.yAxisTitle','getName','#fff','_commandService','reduce','cardioid','paretoStyle','pieBorderColor','getSheetId','_sheetPermissionCheckController','setActiveChartModel','objects','toPrimitive','generateRandomId','children','A/P\x20h:mm:ss','80%','mount','SelectModeEnum','Pie','_viewState','_chartModelService','devicePixelRatio','chart.relation.forceOptions','distinctUntilChanged','pentagon','ExponentialIcon','1,235)','parentNode','isHalfPie','RemoveSheetsChartMutation','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','dashType','extendSeriesModel','Bubble','info','negative','ScatterChartIcon','disposeWithMe','chart.shape.emptySquare','call','Hide','chart.reset','permission.dialog.editErr','chart.max','univer-leading-8','appendChild','length','useObservable','getElementById','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_config','createTextStyle','fillTextHeight','resize','useState','concat','univer-text-sm\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','chart.withType','textStyle.fontWeight','log','univer-text-base','asObservable','current','chart.shape.diamond','RoundRect','chart.alignY.','wordcloudstop','floor','maxRotation','Dotted','dataSource','period','LocaleService','digitalFixed','relation','chart.settingsLabels.showEmptyCellsAs','dispose','_removeHost$','chart.axes.useRightAxis','chartTypeCanUseTrendLine','Select','Fail\x20to\x20create\x20float\x20dom','showFormula','createImageData','circle','onDispose','getUnit','clear','AreaChartIcon','chart.category','applyStyle','_sheetsChartUIService','hsl(','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','px)\x20scale(','linear','bubbleSizeSeriesId','every','removeAll','shape','checkChartCanRender','bubbleYAxis','StackType','startX','Invalid\x20mask\x20image','wordCloud','emphasis.textStyle.fontFamily','0.20.1-insiders.20260418-3a69981','Percent','from','getRuntimeContext','CategoryType','Segmented','mapArray','_componentManager','WaterfallSeriesTypeEnum','ColumnChartIcon','chart.dataNodeShape','clientX','Column','下午01:30','SheetSkeletonManagerService','rosePie','add','h:mm:ss','Funnel','firstChartType','chart.invalidType.zero','univer-text-xs','univer-flex','rangeInfo$','chart.titles.titleAlign','Outside','wait','maskGapWidth','chart.waterfall.positive','position','univer-ml-2\x20univer-transition-transform','reverse','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','SeriesLabelPosition','visualMapType','button','_ensureChartInstance','titles','getContextValue','univer-text\x20univer-mb-2\x20univer-text-sm','hover','_chartRenderService','permissionCheckWithoutRange','startY','IRenderManagerService','chart-host','putImageData','UniverSheetsDrawingUIPlugin','UniverInstanceType','chart.trendline.pow','chart.lineType.smooth','_chartThemeService','univer-flex\x20univer-flex-col\x20univer-gap-4','_univerInstanceService','jsx','#,##0_);(#,##0)','Relation','#,##0.00_);[Red]#,##0.00','priority','chart.fill','getFormatInfo','chart.dataPoint','registerViewState','getSheetCommandTarget','textBaseline','IncreaseIcon','getImageData','endColumn','duration','Horizontal','univer-mb-2\x20univer-flex\x20univer-items-center','chart.shape.arrow','shrinkToFit','LinearIcon','pipe','MM-dd','target','WaterfallChartIcon','title','SheetSkeletonService','getCurrentRangeDisable$','funnelUseAbsValue','max','Triangle','register','Stacked','labelVisible','subscribeEvent','Start','series.wordCloud','13:30:30','dialog.numfmt.general','univer-flex\x20univer-flex-col\x20univer-gap-2.5','chart.insertChart','Fragment','ISidebarService','clearRect','ICommandService','chart.relation.circular','sheet.operation.open-chart-panel','dataPoints','content','selectMode','1,235','indicator','getFocusedUnit','None','chart.withShape','useDateAxis','xAxisTitle','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','label','getBatchAddOp','add$','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.shape.emptyCircle','univer-sheet-chart-format-dialog-id','subscribe','debounce','addEventListener','each','bubbleCategoryList','getSubUnitId','ensureHost','close','IRuntimeAxisPosition','heatmapMin','radar','chartTypes.donut','minRotation','split','chart.chartType','indicatorLineColor','sin','chartTypes.column','substr','exp','createChartInstance','RadioGroup','datetime','RangeSelector','171692LXXSma','chartThemeColorType','attachRangeWithCoord','undo','dialog.numfmt.currencyTypes','dialog.numfmt.date','MovingAverageIcon','relationNodeShape','1930-08-05','rgba(0,\x200,\x200,\x200)','univer-flex-1\x20univer-overflow-auto','size','font','sizeRange','univer-rounded-lg\x20univer-p-2','chart.gridlines.majorGridlines','dialog.numfmt.accounting','span','useCallback','easing','lineVisible','wordCloudMask','Line','univer-mt-2.5','RibbonInsertGroup','touches','#,##0.00_);#,##0.00','helper','Inject','WorksheetEditPermission','dispatchEvent','random-dark','getCurrentUnitForType','1px\x20solid\x20transparent','chart.axes.rightAxis','FunnelIcon','chart.indicatorLine','right','_sheetCanvasFloatDomManagerService','focusDrawing','zero-timeout-message','abs','chart.legendSelectModeType.','activeSheet$','nodeShape','Boxplot','height','getFloatDomInfo','top','chart.shape.pin','Area','_debounceHandleMap','\x22*\x20#,##0','ColumnPercentStacked','getSkeleton','.chart-host','random','webkitTapHighlightColor','registerLayout','serializeRangeWithSheet','WordCloud','DeleteIcon','currentTarget','orient','ensureState','chart.relation.repulsion','fillTextOffsetY','touchDependencies','diamond','TextVerticalAlign','chart.color','yAxisOptions','chart.waterfall.stacked','getChartModel','drawMask','Polygon','emphasis','layoutInstance','chart.align.left','render','symbolSize','chart.styleEditPanel.showLabelLine','_themeService','BarPercentStacked','useEffect','version','push','absolute','clientY','aggregate','msClearImmediate','Numeric','chart.trendline.exp','chart.trendline.trendlineDashType','series','Smooth','forEach','getRenderModel','AreaLineStyle','item','UniverSheetsChartPlugin','4298462IXaXvn','_sheetDrawingService','sheet.chart.edit.panel','rot','ceil','_updateTransform','fillRect','data','isNaN','seriesValues','mountNode','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','filter','Bar','_localeService','univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_sheetClipboardService','univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','src','Subject','radarFill','Plugin','chart.waterfall.positiveLegendText','setImmediate','with','InvalidValueType','_sidebarDisposable','detail','chart.chartAndAxisTitles','indicatorLabelColor','_chartInstanceMap','pareto','context$','block','classes','number','chart.styleEditPanel.padAngle','isSupported','textStyle.fontFamily','chart.chartBorderColor','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','map','categoryList','remove$','chart.relation.layoutType','fontFamily','borderColor','delete','Inside','sheet.numfmt.date','pie','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','AlignTextBothIcon','setContextValue','gradientFill','#,##0.00_);[Red]-#,##0.00','occupied','InsertSheetsChartMutation','name','focus$','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','headers','trendlines','_sidebarService','A/P\x20hh:mm','copyType','ThemeService','sheetTransform','chart.bubble.label','range','list','fontWeight','ComboChartIcon','preventDefault','univer-p-1.5\x20univer-text-xs','removeHost$','clsx','8hdDzCY','SheetCanvasPopManagerService','Center','#ffffff','33gKHHES','wordcloudabort','chart.categoryDefaultName','chart.gradientFill','sort','univer-mb-2','toStringTag','#,##0.00_);-#,##0.00','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','transform','fillOpacity','combineLatest','UPDATE','seriesResourceList','chart.trendline.order','dialog.numfmt.decimalPlaces','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','TRANSFORM_CHANGE_OBSERVABLE_TYPE','bubbleXAxis','chart.visualMapScope','maskColor','formulaColor','chart.axes.rightVerticalAxis','Rect','univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','chart.withThickness','Stack','chart.styleEditPanel.showLabels','seriesIndex','chart.shape.roundRect','onCommandExecuted','unitId','EmptyTriangle','chartTypes.boxplot','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','eachSeriesByType','config','_initCopyPaste','univer-sheet-chart-format-dialog','align','UniverSheetsChartUIPlugin','rotationRange','chartTypes.areaStacked','Doughnut','keys','params','chart.styleEditPanel.labelRotate','labelStyle','startRow','star','univer-ml-1\x20univer-transition-transform\x20univer-duration-300','chart.point','Percentage','deg)\x20','piecewise','BarChartIcon','stateAnimation','RelationshipIcon','chart.seriesBlock.format','rotate','_initSheetChange','registerFeatureMenu','handleActiveSubUnitChange','className','getContext','continuous','CloudOutlineIcon','abortThreshold','animation','univer-ml-3','Observable','translate','Top','chart.titles.rightYAxisTitle','TextAlign','1463460TyJyDJ','_openPanel','chart.gridlines.text','shuffle','Tools','gridLine','PercentStack','INSERT','chart.shape.circle','Diamond','_chartHostProvider','extendChartView','PRINT_CHART_COMPONENT_KEY','category','EmptyDiamond','getViewState','_model','executeChartUpdateSourceConfig','lineOrArea','pieLabelStyle','fill','Input','_registerChartIcons','chart.relation.title','chart.seriesDefaultName','slice','BoldIcon','ChartAttributeBits','chart.indicatorLabel','_debounceHandle','subTitleFontSize','chartTypes.bar','_generateCutPasteMutations','asCategory','chart.styleEditPanel.gap','chart.axes.verticalAxis','chart.min','getDrawingData','prototype','scale','getDefaultTheme','getMenuHiddenObservable','EmptyRoundRect','focus','theme','fillTextWidth','dialog.numfmt.generalDesc','value','dataPointsOptions','AxisValueType','root','find','linearMap','section','some','\x22fillOpacity\x22','useMemo','useSubtotal','chart.openChartPanel','getRenderColor','tooltipAxisColor','OPERATION','SankeyIcon','toString','ChartIcon','getSheetBySheetName','rgba(255,0,0,0.3)','LinePointShape','axes','backgroundColor','08-05','getRegisteredThemes','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','origin','yAxisTitle','getFocusDrawings','toSpec','chart.styleEditPanel.dateAxisTips','RemoveSheetDrawingCommand','8px','padAngleStyle','includes','middle','chart.positionType.','Secondary','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCurrentUnitOfType','dialog.numfmt.negativeNumberTypes','items','object','_initPermission','rightYAxis','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','px\x20','chart.shape.emptyTriangle','assign','ChartUpdateConfigCommand','yyyy/MM/dd','Heatmap','oSetImmediate','indicatorLabelTextColor','getBatchUpdateOp','FOCUSING_PANEL_EDITOR','chart.titles.titlePosition','Circular','time','RemoveSheetCommand','getWordCloudImageMaskMap','getAllowedChartTypes','chart.allSeries','textContent','lineWidth','DRAWING_CHART','WaterfallStackTypeEnum','chart.lineType.line','chart.withColor','chart.withOpacity','_init','getModel','_mountNodes','force','div','dimension','r2Color','FOCUSING_COMMON_DRAWINGS','univer-mb-2\x20univer-text-sm\x20univer-font-medium','clearCanvas','measureText','scatterSymbolSize'];_0x2eb7=function(){return _0x14d599;};return _0x2eb7();}const getCurrencyType=_0x139b44=>{const _0x9b9820=_0x38cd95;return currencySymbols['find'](_0x19eb4f=>_0x139b44[_0x9b9820(0x32f)](_0x19eb4f));},isGeneralPanel=_0x23e2b5=>!_0x23e2b5,isAccountingPanel=_0x54ffdc=>{const _0x23bd70=_0x38cd95;return!!getCurrencyType(_0x54ffdc)&&_0x54ffdc[_0x23bd70(0x48a)]('_(');},isCurrencyPanel=_0x109e1e=>{const _0x4e67be=_0x38cd95;return!!getCurrencyType(_0x109e1e)&&!_0x109e1e[_0x4e67be(0x48a)]('_(');},getDecimalFromPattern=(_0x12a0ca,_0x49c184=0x0)=>{const _0xb46922=_0x38cd95;var _0x447b47;if(!_0x12a0ca)return _0x49c184;return(_0x447b47=_univerjs_core[_0xb46922(0x45d)][_0xb46922(0x18a)](_0x12a0ca)[_0xb46922(0x473)])!==null&&_0x447b47!==void 0x0?_0x447b47:_0x49c184;},getDecimalString=_0x23bedf=>new Array(Math[_0x38cd95(0x462)](Math[_0x38cd95(0x1a0)](0x0,Number(_0x23bedf)),0x1e))[_0x38cd95(0x2f2)](0x0)[_0x38cd95(0x44a)](''),setPatternDecimal=(_0x3c3259,_0x2976ae)=>{const _0x2e7b73=_0x38cd95;return _0x3c3259[_0x2e7b73(0x1d0)](';')[_0x2e7b73(0x26a)](_0x597c77=>{const _0x5668ae=_0x2e7b73;if(/\.0?/[_0x5668ae(0x366)](_0x597c77))return _0x597c77['replace'](/\.0*/g,''+(_0x2976ae>0x0?'.':'')+getDecimalString(Number(_0x2976ae||0x0)));if(/0[^0]?/['test'](_0x597c77))return _0x597c77['replace'](/0[^0]+|0$/,'0'+(_0x2976ae>0x0?'.':'')+getDecimalString(Number(_0x2976ae||0x0)));return _0x597c77;})[_0x2e7b73(0x44a)](';');},getNumberFormatOptions=()=>ThousandsSeparatorFormatList[_0x38cd95(0x26a)](_0x56301d=>({'label':_0x56301d[_0x38cd95(0x1bd)],'value':_0x56301d[_0x38cd95(0x488)],'color':_0x56301d[_0x38cd95(0x461)]})),isThousandthPercentilePanel=_0x58497f=>getNumberFormatOptions()[_0x38cd95(0x314)](_0x492d77=>(0x0,_univerjs_core[_0x38cd95(0x4c6)])(_0x492d77['value'],_0x58497f)),getDateFormatOptions=()=>DateFormatList[_0x38cd95(0x26a)](_0x16050c=>({'label':_0x16050c['label'],'value':_0x16050c[_0x38cd95(0x488)]})),isDatePanel=_0x2fbc32=>{const _0x4a39a5=_0x38cd95,_0x26e0cf=_univerjs_core['numfmt'][_0x4a39a5(0x18a)](_0x2fbc32);return getDateFormatOptions()[_0x4a39a5(0x26a)](_0x5036a7=>_0x5036a7[_0x4a39a5(0x30d)])[_0x4a39a5(0x32f)](_0x2fbc32)||[_0x4a39a5(0x3c9),_0x4a39a5(0x1d9),_0x4a39a5(0x347)]['includes'](_0x26e0cf['type']);};var NumfmtTypeEnum=function(_0x46fea0){const _0x414c39=_0x38cd95;return _0x46fea0['General']='sheet.numfmt.general',_0x46fea0[_0x414c39(0x42d)]=_0x414c39(0x8f),_0x46fea0[_0x414c39(0x3a1)]=_0x414c39(0x432),_0x46fea0[_0x414c39(0x3f4)]=_0x414c39(0x272),_0x46fea0[_0x414c39(0x42b)]='sheet.numfmt.thousandthPercentile',_0x46fea0;}(NumfmtTypeEnum||{});const GeneralPanel=({handlePatternChange:_0xd210c})=>{const _0x2b10df=_0x38cd95,_0xbec037=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x2b10df(0x12b)])['t'];return(0x0,react[_0x2b10df(0x22f)])(()=>{_0xd210c('');},[]),(0x0,react_jsx_runtime[_0x2b10df(0x184)])(_0x2b10df(0x357),{'className':_0x2b10df(0x1c0),'children':_0xbec037(_0x2b10df(0x30c))});},AccountingPanel=({originPattern:_0x4a285d,handlePatternChange:_0xce2152})=>{const _0x4bf141=_0x38cd95,_0x12678a=(0x0,_univerjs_ui[_0x4bf141(0xdb)])(_univerjs_core[_0x4bf141(0x12b)])['t'],_0x4a6b94=currencySymbols[_0x4bf141(0x26a)](_0x59935c=>({'label':_0x59935c,'value':_0x59935c})),[_0x514757,_0x20c313]=(0x0,react[_0x4bf141(0x119)])(()=>getDecimalFromPattern(_0x4a285d||'',0x2)),[_0x283cb6,_0x510244]=(0x0,react['useState'])(()=>{const _0x37d740=_0x4bf141;return getCurrencyType(_0x4a285d!==null&&_0x4a285d!==void 0x0?_0x4a285d:'')||_0x4a6b94[0x0][_0x37d740(0x30d)];}),_0x3ab885=_0x5d51ee=>{const _0x19ef23=_0x4bf141,_0x369424=_0x5d51ee!==null&&_0x5d51ee!==void 0x0?_0x5d51ee:0x0;_0x20c313(_0x369424),_0xce2152(setPatternDecimal(_0x19ef23(0x427)+_0x283cb6+_0x19ef23(0x20f)+(_0x369424>0x0?'.0':'')+'_)',_0x369424));},_0x371b46=_0x24c73c=>{const _0x598001=_0x4bf141;_0x510244(_0x24c73c),_0xce2152(setPatternDecimal(_0x598001(0x427)+_0x24c73c+_0x598001(0x20f)+(_0x514757>0x0?'.0':'')+'_)',_0x514757));};return(0x0,react[_0x4bf141(0x22f)])(()=>{const _0x29242a=_0x4bf141;_0xce2152(setPatternDecimal(_0x29242a(0x427)+_0x283cb6+'\x22*\x20#,##0'+(_0x514757>0x0?'.0':'')+'_)',_0x514757));},[]),(0x0,react_jsx_runtime[_0x4bf141(0x40b)])(_0x4bf141(0x357),{'className':_0x4bf141(0x1f2),'children':[(0x0,react_jsx_runtime[_0x4bf141(0x40b)])(_0x4bf141(0x357),{'className':_0x4bf141(0x93),'children':[(0x0,react_jsx_runtime[_0x4bf141(0x40b)])(_0x4bf141(0x357),{'className':_0x4bf141(0xae),'children':[(0x0,react_jsx_runtime[_0x4bf141(0x184)])(_0x4bf141(0x357),{'className':_0x4bf141(0x35b),'children':_0x12678a(_0x4bf141(0x2a2))}),(0x0,react_jsx_runtime[_0x4bf141(0x184)])(_univerjs_design[_0x4bf141(0x38d)],{'className':_0x4bf141(0x3d9),'value':_0x514757,'max':0x14,'min':0x0,'onChange':_0x3ab885})]}),(0x0,react_jsx_runtime[_0x4bf141(0x40b)])('div',{'className':_0x4bf141(0xae),'children':[(0x0,react_jsx_runtime[_0x4bf141(0x184)])(_0x4bf141(0x357),{'className':_0x4bf141(0x35b),'children':_0x12678a(_0x4bf141(0x1df))}),(0x0,react_jsx_runtime[_0x4bf141(0x184)])(_univerjs_design[_0x4bf141(0x133)],{'options':_0x4a6b94,'value':_0x283cb6,'onChange':_0x371b46})]})]}),(0x0,react_jsx_runtime['jsx'])(_0x4bf141(0x357),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12678a(_0x4bf141(0xbd))})]});},CurrencyPanel=({originPattern:_0xcb456d,handlePatternChange:_0x3985ac})=>{const _0x484e84=_0x38cd95,_0x595d74=(0x0,_univerjs_ui[_0x484e84(0xdb)])(_univerjs_core[_0x484e84(0x12b)])['t'],_0x4748a4=currencySymbols['map'](_0x3ac51c=>({'label':_0x3ac51c,'value':_0x3ac51c})),[_0x2a0d21,_0x2465b7]=(0x0,react[_0x484e84(0x119)])(()=>getDecimalFromPattern(_0xcb456d||'',0x2)),[_0x14f785,_0x14c774]=(0x0,react[_0x484e84(0x119)])(()=>getCurrencyType(_0xcb456d!==null&&_0xcb456d!==void 0x0?_0xcb456d:'')||_0x4748a4[0x0][_0x484e84(0x30d)]),_0x2735e6=CurrencyFormatList[_0x484e84(0x26a)](_0x5a37cc=>({'label':_0x5a37cc[_0x484e84(0x1bd)](_0x14f785),'value':_0x5a37cc[_0x484e84(0x488)](_0x14f785),'color':_0x5a37cc[_0x484e84(0x461)]})),[_0x6e1ea3,_0x2f2aa8]=(0x0,react[_0x484e84(0x119)])(()=>{const _0x818acb=_0x484e84;var _0x58a2ce;return((_0x58a2ce=_0x2735e6[_0x818acb(0x311)](_0x3a8f89=>(0x0,_univerjs_core[_0x818acb(0x4c6)])(_0x3a8f89['value'],_0xcb456d!==null&&_0xcb456d!==void 0x0?_0xcb456d:'')))===null||_0x58a2ce===void 0x0?void 0x0:_0x58a2ce[_0x818acb(0x30d)])||_0x2735e6[0x0]['value'];}),_0x644fc2=_0x896aac=>{_0x896aac&&(_0x2465b7(_0x896aac),_0x3985ac(setPatternDecimal(_0x6e1ea3,_0x896aac)));},_0x414c2f=_0x750c98=>{const _0x2fb3ba=_0x484e84;_0x14c774(_0x750c98);const _0x1ca4ec=CurrencyFormatList['map'](_0x58eea2=>({'label':_0x58eea2['label'](_0x750c98),'value':_0x58eea2['suffix'](_0x750c98),'color':_0x58eea2[_0x2fb3ba(0x461)]}));_0x2f2aa8(_0x1ca4ec[0x0][_0x2fb3ba(0x30d)]),_0x3985ac(setPatternDecimal(_0x1ca4ec[0x0][_0x2fb3ba(0x30d)],_0x2a0d21));},_0x258b49=_0x9b4ba7=>{_0x2f2aa8(_0x9b4ba7),_0x3985ac(setPatternDecimal(_0x9b4ba7,_0x2a0d21));};return(0x0,react['useEffect'])(()=>{_0x3985ac(setPatternDecimal(_0x6e1ea3,_0x2a0d21));},[]),(0x0,react_jsx_runtime[_0x484e84(0x40b)])(_0x484e84(0x357),{'className':_0x484e84(0x1f2),'children':[(0x0,react_jsx_runtime[_0x484e84(0x40b)])(_0x484e84(0x357),{'className':_0x484e84(0x93),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x484e84(0x357),{'className':_0x484e84(0xae),'children':[(0x0,react_jsx_runtime[_0x484e84(0x184)])(_0x484e84(0x357),{'className':_0x484e84(0x35b),'children':_0x595d74(_0x484e84(0x2a2))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['InputNumber'],{'className':_0x484e84(0x3d9),'value':_0x2a0d21,'max':0x14,'min':0x0,'onChange':_0x644fc2})]}),(0x0,react_jsx_runtime[_0x484e84(0x40b)])('div',{'className':_0x484e84(0xae),'children':[(0x0,react_jsx_runtime['jsx'])(_0x484e84(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x595d74(_0x484e84(0x1df))}),(0x0,react_jsx_runtime[_0x484e84(0x184)])(_univerjs_design[_0x484e84(0x133)],{'options':_0x4748a4,'value':_0x14f785,'onChange':_0x414c2f})]})]}),(0x0,react_jsx_runtime[_0x484e84(0x40b)])(_0x484e84(0x357),{'className':_0x484e84(0xb6),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x595d74(_0x484e84(0x335))}),(0x0,react_jsx_runtime[_0x484e84(0x184)])(_univerjs_design['SelectList'],{'className':(0x0,_univerjs_design[_0x484e84(0x28d)])(_0x484e84(0x1e9),_univerjs_design['scrollbarClassName']),'options':_0x2735e6,'value':_0x6e1ea3,'onChange':_0x258b49}),(0x0,react_jsx_runtime[_0x484e84(0x184)])(_0x484e84(0x357),{'className':_0x484e84(0x1c0),'children':_0x595d74(_0x484e84(0x36d))})]})]});},DatePanel=({originPattern:_0x30d7bb,handlePatternChange:_0x19a48a})=>{const _0xbf8c0d=_0x38cd95,_0x3007b9=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService'])['t'],_0x5dd2b0=DateFormatList['map'](_0x5a817a=>({'label':_0x5a817a[_0xbf8c0d(0x1bd)],'value':_0x5a817a[_0xbf8c0d(0x488)]})),[_0x4ac218,_0x147377]=(0x0,react[_0xbf8c0d(0x119)])(()=>{const _0x4fcb1d=_0xbf8c0d;if(_0x30d7bb){const _0x8d413b=_0x5dd2b0[_0x4fcb1d(0x311)](_0x573d3d=>_0x573d3d[_0x4fcb1d(0x30d)]===_0x30d7bb);if(_0x8d413b)return _0x8d413b[_0x4fcb1d(0x30d)];}return _0x5dd2b0[0x0][_0x4fcb1d(0x30d)];}),_0x3e69e3=_0x49cf7a=>{_0x147377(_0x49cf7a),_0x19a48a(_0x49cf7a);};return(0x0,react[_0xbf8c0d(0x22f)])(()=>{_0x19a48a(_0x4ac218);},[]),(0x0,react_jsx_runtime[_0xbf8c0d(0x184)])(_0xbf8c0d(0x357),{'className':'univer-mt-2.5','children':(0x0,react_jsx_runtime[_0xbf8c0d(0x40b)])(_0xbf8c0d(0x357),{'className':_0xbf8c0d(0xb6),'children':[(0x0,react_jsx_runtime[_0xbf8c0d(0x184)])(_0xbf8c0d(0x357),{'className':_0xbf8c0d(0x35b),'children':_0x3007b9('dialog.numfmt.dateTypes')}),(0x0,react_jsx_runtime['jsx'])('div',{'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['SelectList'],{'className':(0x0,_univerjs_design[_0xbf8c0d(0x28d)])(_0xbf8c0d(0x1e9),_univerjs_design[_0xbf8c0d(0x3d0)]),'options':_0x5dd2b0,'value':_0x4ac218,'onChange':_0x3e69e3})}),(0x0,react_jsx_runtime[_0xbf8c0d(0x184)])(_0xbf8c0d(0x357),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3007b9(_0xbf8c0d(0x3b2))})]})});},ThousandthPercentilePanel=({originPattern:_0x506333,handlePatternChange:_0x557d01})=>{const _0x3eba90=_0x38cd95,_0x4a5860=(0x0,_univerjs_ui[_0x3eba90(0xdb)])(_univerjs_core[_0x3eba90(0x12b)])['t'],[_0x356810,_0x1e38e6]=(0x0,react[_0x3eba90(0x119)])(()=>getDecimalFromPattern(_0x506333||'',0x0)),_0x44e7ae=ThousandsSeparatorFormatList['map'](_0x2ec93d=>({'label':_0x2ec93d[_0x3eba90(0x1bd)],'value':_0x2ec93d[_0x3eba90(0x488)],'color':_0x2ec93d[_0x3eba90(0x461)]})),[_0xed7658,_0x49e070]=(0x0,react[_0x3eba90(0x119)])(()=>{const _0x1cd72d=_0x3eba90,_0x521e49=_0x44e7ae[_0x1cd72d(0x311)](_0x264b59=>(0x0,_univerjs_core['isPatternEqualWithoutDecimal'])(_0x264b59['value'],_0x506333||''));return(_0x521e49===null||_0x521e49===void 0x0?void 0x0:_0x521e49[_0x1cd72d(0x30d)])||_0x44e7ae[0x0]['value'];}),_0x3706b4=_0x4192ea=>{_0x4192ea&&(_0x1e38e6(_0x4192ea),_0x557d01(setPatternDecimal(_0xed7658,Number(_0x4192ea))));},_0x57bbd4=_0x24919f=>{_0x1e38e6(getDecimalFromPattern(_0x24919f,0x0)),_0x49e070(_0x24919f),_0x557d01(_0x24919f);};return(0x0,react['useEffect'])(()=>{_0x557d01(setPatternDecimal(_0xed7658,Number(_0x356810||0x0)));},[]),(0x0,react_jsx_runtime[_0x3eba90(0x40b)])('div',{'className':_0x3eba90(0x1f2),'children':[(0x0,react_jsx_runtime[_0x3eba90(0x184)])(_0x3eba90(0x357),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':(0x0,react_jsx_runtime[_0x3eba90(0x40b)])(_0x3eba90(0x357),{'className':_0x3eba90(0xae),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3eba90(0x357),{'className':_0x3eba90(0x35b),'children':_0x4a5860('dialog.numfmt.decimalPlaces')}),(0x0,react_jsx_runtime[_0x3eba90(0x184)])(_univerjs_design['InputNumber'],{'className':_0x3eba90(0x3d9),'value':_0x356810,'max':0x14,'min':0x0,'onChange':_0x3706b4})]})}),(0x0,react_jsx_runtime[_0x3eba90(0x40b)])('div',{'className':_0x3eba90(0xb6),'children':[(0x0,react_jsx_runtime[_0x3eba90(0x184)])(_0x3eba90(0x357),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x4a5860(_0x3eba90(0x335))}),(0x0,react_jsx_runtime[_0x3eba90(0x184)])(_univerjs_design[_0x3eba90(0x47a)],{'className':(0x0,_univerjs_design['clsx'])(_0x3eba90(0x1e9),_univerjs_design[_0x3eba90(0x3d0)]),'options':_0x44e7ae,'value':_0xed7658,'onChange':_0x57bbd4}),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x3eba90(0x1c0),'children':_0x4a5860(_0x3eba90(0x3d3))})]})]});},ChartNumfmtDialog=({originPattern:_0x249ff3,onPatternApply:_0xa30d41})=>{const _0x442759=_0x38cd95,_0x36d50f=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x442759(0x12b)]),_0x473be5=(0x0,_univerjs_ui[_0x442759(0xdb)])(_univerjs_ui['IDialogService']),_0x52583f=_0x36d50f['t'],_0x44ba4b=(0x0,react['useMemo'])(()=>[{'label':_0x442759(0x1a9),'component':GeneralPanel,'key':_0x442759(0xc8)},{'label':_0x442759(0x1eb),'component':AccountingPanel,'key':'sheet.numfmt.accounting'},{'label':_0x442759(0xd5),'component':CurrencyPanel,'key':'sheet.numfmt.currency'},{'label':_0x442759(0x1e0),'component':DatePanel,'key':_0x442759(0x272)},{'label':'dialog.numfmt.thousandthPercentile','component':ThousandthPercentilePanel,'key':'sheet.numfmt.thousandthPercentile'}][_0x442759(0x26a)](_0x23930f=>({..._0x23930f,'label':_0x52583f(_0x23930f['label'])})),[_0x52583f]),_0x35906c=_0x8e3207=>{const _0x7e9e4b=_0x442759;return[isGeneralPanel,isAccountingPanel,isCurrencyPanel,isDatePanel,isThousandthPercentilePanel][_0x7e9e4b(0xe6)]((_0x3ba644,_0x47acee,_0x4604f9)=>_0x3ba644||(_0x47acee(_0x8e3207!==null&&_0x8e3207!==void 0x0?_0x8e3207:'')?_0x44ba4b[_0x4604f9][_0x7e9e4b(0x445)]:''),'')||_0x44ba4b[0x0][_0x7e9e4b(0x445)];},_0x12f3a9=_0x44ba4b[_0x442759(0x26a)](_0x353c73=>({'label':_0x353c73['label'],'value':_0x353c73[_0x442759(0x445)]})),[_0x1508bd,_0x5722c2]=(0x0,react['useState'])(()=>{return _0x35906c(_0x249ff3);}),[_0x54d010,_0x27d7f4]=(0x0,react[_0x442759(0x119)])(_0x249ff3),_0x5582e8=_0x17bf5d=>_0x27d7f4(_0x17bf5d),_0x55e0fc=_0x35a16c=>{_0x5722c2(_0x35a16c);},_0x40ef85=()=>{const _0x134dbe=_0x442759;_0x473be5[_0x134dbe(0x1ca)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);},_0x459016=()=>{_0xa30d41&&_0xa30d41(_0x54d010),_0x473be5['close'](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);};return(0x0,react[_0x442759(0x22f)])(()=>{const _0x28f4d6=_0x35906c(_0x249ff3);if(_0x28f4d6!==_0x1508bd)_0x5722c2(_0x28f4d6);if(_0x249ff3!==_0x54d010)_0x27d7f4(_0x249ff3);},[_0x249ff3]),(0x0,react_jsx_runtime['jsxs'])(_0x442759(0x357),{'children':[(0x0,react_jsx_runtime[_0x442759(0x184)])(_0x442759(0x357),{'className':'univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','children':_0x52583f(_0x442759(0x503))}),(0x0,react_jsx_runtime[_0x442759(0x184)])(_0x442759(0x357),{'children':(0x0,react_jsx_runtime[_0x442759(0x184)])(_univerjs_design[_0x442759(0x133)],{'className':_0x442759(0x4c1),'onChange':_0x2b8c02=>_0x55e0fc(_0x2b8c02),'options':_0x12f3a9,'value':_0x1508bd})}),(0x0,react_jsx_runtime[_0x442759(0x40b)])(_0x442759(0x357),{'className':_0x442759(0xb6),'children':[_0x1508bd===NumfmtTypeEnum[_0x442759(0x526)]&&(0x0,react_jsx_runtime['jsx'])(GeneralPanel,{'originPattern':_0x249ff3,'handlePatternChange':_0x5582e8}),_0x1508bd===NumfmtTypeEnum[_0x442759(0x42d)]&&(0x0,react_jsx_runtime['jsx'])(AccountingPanel,{'originPattern':_0x249ff3,'handlePatternChange':_0x5582e8}),_0x1508bd===NumfmtTypeEnum[_0x442759(0x3a1)]&&(0x0,react_jsx_runtime[_0x442759(0x184)])(CurrencyPanel,{'originPattern':_0x249ff3,'handlePatternChange':_0x5582e8}),_0x1508bd===NumfmtTypeEnum[_0x442759(0x3f4)]&&(0x0,react_jsx_runtime['jsx'])(DatePanel,{'originPattern':_0x249ff3,'handlePatternChange':_0x5582e8}),_0x1508bd===NumfmtTypeEnum[_0x442759(0x42b)]&&(0x0,react_jsx_runtime[_0x442759(0x184)])(ThousandthPercentilePanel,{'originPattern':_0x249ff3,'handlePatternChange':_0x5582e8})]}),(0x0,react_jsx_runtime[_0x442759(0x40b)])(_0x442759(0x357),{'className':'univer-mt-5\x20univer-flex\x20univer-justify-end','children':[(0x0,react_jsx_runtime[_0x442759(0x184)])(_univerjs_design[_0x442759(0x3b9)],{'onClick':_0x40ef85,'children':_0x36d50f['t'](_0x442759(0xab))}),(0x0,react_jsx_runtime[_0x442759(0x184)])(_univerjs_design[_0x442759(0x3b9)],{'className':_0x442759(0x2d8),'variant':'primary','onClick':_0x459016,'children':_0x36d50f['t'](_0x442759(0x4d3))})]})]});},defaultDeltaSize=0x1,silentChartSpecOperator=_0x3fcc6d=>{const _0x4c7463=_0x38cd95;_0x3fcc6d[_0x4c7463(0x2d7)]=![],_0x3fcc6d[_0x4c7463(0xd8)]=!![],_0x3fcc6d[_0x4c7463(0x239)][_0x4c7463(0x23b)](_0x4726dc=>{_0x4726dc['silent']=!![];}),_0x3fcc6d[_0x4c7463(0xcc)]={'show':![],'axisPointer':{'type':'none'}};if(_0x3fcc6d['legend'])_0x3fcc6d['legend'][_0x4c7463(0x470)]=![];return _0x3fcc6d;};let ChartRenderService=class ChartRenderService extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0x5aa956,_0xa474f5,_0x395167,_0x33e708,_0x46282f,_0x41a295,_0x42f232,_0x3965b5,_0x2dfa6c,_0x1e83e4){const _0x5b7f11=_0x38cd95;super(),this[_0x5b7f11(0x2e8)]=_0x5aa956,this['_sheetCanvasFloatDomManagerService']=_0xa474f5,this[_0x5b7f11(0xf7)]=_0x395167,this[_0x5b7f11(0x4ac)]=_0x33e708,this[_0x5b7f11(0x183)]=_0x46282f,this[_0x5b7f11(0xaf)]=_0x41a295,this[_0x5b7f11(0x24e)]=_0x42f232,this['_injector']=_0x3965b5,this[_0x5b7f11(0x181)]=_0x2dfa6c,this[_0x5b7f11(0x22d)]=_0x1e83e4,_defineProperty(this,_0x5b7f11(0x455),new Map()),_defineProperty(this,_0x5b7f11(0x25f),new Map()),_defineProperty(this,_0x5b7f11(0xc7),null),_defineProperty(this,_0x5b7f11(0x7f),new Map()),_defineProperty(this,_0x5b7f11(0x20e),new Map());let _0x94ce45=!![];const _0x3b3a9f=(0x0,_univerjs_pro_sheets_chart['getAllowedChartTypes'])(this['_injector']);if(_0x3b3a9f[_0x5b7f11(0x111)]===0x1&&_0x3b3a9f[0x0]===_0x5b7f11(0x3ab))_0x94ce45=![];this[_0x5b7f11(0x4d8)](_univerjs_pro_engine_chart[_0x5b7f11(0x39a)],new _univerjs_pro_engine_chart[(_0x5b7f11(0x516))](_0x94ce45)),this[_0x5b7f11(0x2d1)]();}[_0x38cd95(0x399)](){const _0x36bcf9=_0x38cd95;let _0x3854ad=!![];const _0x495134=(0x0,_univerjs_pro_sheets_chart[_0x36bcf9(0x34a)])(this[_0x36bcf9(0x443)]);if(_0x495134[_0x36bcf9(0x111)]===0x1&&_0x495134[0x0]===_0x36bcf9(0x3ab))_0x3854ad=![];return _0x3854ad;}[_0x38cd95(0x4d8)](_0x4d244b,_0x58ed52){const _0x249db5=_0x38cd95;this[_0x249db5(0x455)]['set'](_0x4d244b,_0x58ed52),this[_0x249db5(0xc7)]=_0x58ed52;}['setRenderModel'](_0x4c927c){const _0x3257d9=_0x38cd95,_0x2d7cd4=this[_0x3257d9(0x455)]['get'](_0x4c927c);if(_0x2d7cd4)this[_0x3257d9(0xc7)]=_0x2d7cd4;}[_0x38cd95(0x382)](_0x3a8049,_0x5bd600){const _0x204cb3=_0x38cd95,_0x492ff1=this[_0x204cb3(0x201)][_0x204cb3(0x20a)](_0x3a8049);if(_0x5bd600[_0x204cb3(0xd2)]===void 0x0||_0x5bd600['height']===void 0x0)return;if(_0x492ff1){var _0x55ae74;const {subUnitId:_0x101f28}=_0x492ff1,_0x480c6e=(_0x55ae74=this[_0x204cb3(0x183)][_0x204cb3(0x1fb)](_univerjs_core[_0x204cb3(0x17e)]['UNIVER_SHEET']))===null||_0x55ae74===void 0x0?void 0x0:_0x55ae74[_0x204cb3(0x8b)]();if((_0x480c6e===null||_0x480c6e===void 0x0?void 0x0:_0x480c6e['getSheetId']())===_0x101f28){const {width:_0x45ecb9,height:_0x8df589}=_0x5bd600,_0x43c7ee=this[_0x204cb3(0xf7)][_0x204cb3(0x224)](_0x3a8049),_0x21aaab=_0x43c7ee===null||_0x43c7ee===void 0x0?void 0x0:_0x43c7ee[_0x204cb3(0x48c)];if(Math[_0x204cb3(0x204)](_0x45ecb9-((_0x21aaab===null||_0x21aaab===void 0x0?void 0x0:_0x21aaab[_0x204cb3(0xd2)])||0x0))>defaultDeltaSize||Math[_0x204cb3(0x204)](_0x8df589-((_0x21aaab===null||_0x21aaab===void 0x0?void 0x0:_0x21aaab[_0x204cb3(0x209)])||0x0))>defaultDeltaSize){_0x43c7ee===null||_0x43c7ee===void 0x0||_0x43c7ee[_0x204cb3(0x13d)]({..._0x21aaab,'width':_0x45ecb9,'height':_0x8df589});const _0x558df1=this[_0x204cb3(0x25f)][_0x204cb3(0x520)](_0x3a8049);if(_0x558df1){var _0x2d8c39,_0x18c3d0;const _0x43b26b=(_0x2d8c39=_0x492ff1[_0x204cb3(0x4d2)])!==null&&_0x2d8c39!==void 0x0?_0x2d8c39:_0x3a8049,_0x2abf43=(_0x18c3d0=document[_0x204cb3(0x113)](_0x43b26b))===null||_0x18c3d0===void 0x0?void 0x0:_0x18c3d0[_0x204cb3(0x489)](_0x204cb3(0x212));_0x2abf43&&(_0x2abf43[_0x204cb3(0x48c)][_0x204cb3(0xd2)]=_0x45ecb9-0x10+'px',_0x2abf43[_0x204cb3(0x48c)]['height']=_0x8df589-0x10+'px',_0x558df1[_0x204cb3(0x118)]());}}}}}[_0x38cd95(0x2fb)](_0x8028a,_0xa600cc,_0x56c123=0x0){const _0x5bf6a9=_0x38cd95;let _0x459ec0=this['_debounceHandleMap'][_0x5bf6a9(0x520)](_0x8028a);!_0x459ec0&&(_0x459ec0=(0x0,_univerjs_core[_0x5bf6a9(0x1c4)])(_0x323ed=>{const _0x1a5a93=_0x5bf6a9;this[_0x1a5a93(0x382)](_0x8028a,_0x323ed);},_0x56c123),this[_0x5bf6a9(0x20e)][_0x5bf6a9(0x3ea)](_0x8028a,_0x459ec0)),_0x459ec0(_0xa600cc);}[_0x38cd95(0x2d1)](){const _0x45d571=_0x38cd95,_0x298ee7=this[_0x45d571(0x7f)],_0x570949=_0x374458=>{const _0x3c89cf=_0x45d571;if(!_0x298ee7[_0x3c89cf(0x3cc)](_0x374458)){const _0x4472ed=(0x0,_univerjs_core[_0x3c89cf(0x1c4)])((_0x592b4a,_0x31d283,_0x28d00f,_0x512802)=>{const _0x3385a0=_0x3c89cf;var _0x287825,_0x4ec7f9;if(!_0x28d00f)return;const {t:_0x24b204}=this[_0x3385a0(0x24e)];(_0x287825=_0x28d00f[_0x3385a0(0x2eb)])===null||_0x287825===void 0x0||_0x287825['items']['forEach']((_0x384109,_0x5b8bb4)=>{const _0x297bc3=_0x3385a0;if(!_0x384109[_0x297bc3(0x1bd)])_0x384109[_0x297bc3(0x1bd)]=_0x24b204(_0x297bc3(0x13c))+'\x20'+(_0x5b8bb4+0x1);}),_0x28d00f[_0x3385a0(0x239)]['forEach']((_0x19b3b9,_0x21869f)=>{const _0x58f620=_0x3385a0;if(!_0x19b3b9[_0x58f620(0x27b)])_0x19b3b9[_0x58f620(0x27b)]=_0x24b204('chart.series')+'\x20'+(_0x21869f+0x1);}),_0x512802[_0x3385a0(0x3de)]=_0x592b4a['getRuntimeContext']();const _0x1d3bc8=(_0x4ec7f9=this['_univerInstanceService'][_0x3385a0(0x1fb)](_univerjs_core[_0x3385a0(0x17e)][_0x3385a0(0x36c)]))===null||_0x4ec7f9===void 0x0?void 0x0:_0x4ec7f9[_0x3385a0(0x8b)]();if((_0x1d3bc8===null||_0x1d3bc8===void 0x0?void 0x0:_0x1d3bc8[_0x3385a0(0xea)]())===_0x31d283)this['render'](_0x592b4a['id'],_0x28d00f,_0x512802);},0x11);_0x298ee7[_0x3c89cf(0x3ea)](_0x374458,_0x4472ed);}return _0x298ee7[_0x3c89cf(0x520)](_0x374458);};this[_0x45d571(0x108)](this['_univerInstanceService']['focused$'][_0x45d571(0x1c3)](_0x11b732=>{const _0x17db33=_0x45d571,_0x2242fe=this[_0x17db33(0x183)]['getCurrentUnitForType'](_univerjs_core[_0x17db33(0x17e)][_0x17db33(0x36c)]);if(_0x11b732&&_0x2242fe&&_0x2242fe[_0x17db33(0xa0)]()===_0x11b732){var _0x397768;const _0xb9d5b9=_0x2242fe[_0x17db33(0x8b)]()[_0x17db33(0xea)](),_0x29d900=this[_0x17db33(0x4ac)][_0x17db33(0x303)](_0x11b732,_0xb9d5b9);if(!((_0x397768=this['_renderManagerService'][_0x17db33(0x4b3)](_0x11b732))===null||_0x397768===void 0x0?void 0x0:_0x397768[_0x17db33(0x259)](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x17db33(0x211)](_0xb9d5b9)))return;if(_0x29d900)for(const _0x217c08 in _0x29d900){const {drawingId:_0xead917}=_0x29d900[_0x217c08],_0x333407=this[_0x17db33(0xf7)][_0x17db33(0x224)](_0xead917);if(_0x333407)_0x570949(_0x333407['id'])(_0x333407,_0xb9d5b9,_0x333407[_0x17db33(0x2b7)],_0x333407['style']);}}})),this['disposeWithMe'](this[_0x45d571(0x22d)]['darkMode$'][_0x45d571(0x1c3)](()=>{const _0x5ba032=_0x45d571;var _0x4d21e9;const _0x10d92c=this[_0x5ba032(0x183)]['getCurrentUnitForType'](_univerjs_core[_0x5ba032(0x17e)][_0x5ba032(0x36c)]);if(!_0x10d92c)return;const _0x5dcced=_0x10d92c[_0x5ba032(0xa0)](),_0x11ea7f=_0x10d92c[_0x5ba032(0x8b)]()['getSheetId'](),_0x4995df=this[_0x5ba032(0x4ac)][_0x5ba032(0x303)](_0x5dcced,_0x11ea7f);if(!((_0x4d21e9=this[_0x5ba032(0xaf)][_0x5ba032(0x4b3)](_0x5dcced))===null||_0x4d21e9===void 0x0?void 0x0:_0x4d21e9['with'](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x5ba032(0x211)](_0x11ea7f)))return;if(_0x4995df)for(const _0x5121c2 in _0x4995df){const {drawingId:_0x2ea32d}=_0x4995df[_0x5121c2],_0x4948fa=this[_0x5ba032(0xf7)][_0x5ba032(0x224)](_0x2ea32d);if(_0x4948fa){const _0x5b1f71=_0x4948fa[_0x5ba032(0x151)]();_0x4948fa['applyStyle']({'runtime':_0x5b1f71});}}})),this[_0x45d571(0x108)](this['_drawingManagerService'][_0x45d571(0x1bf)]['subscribe'](_0x8fbbf6=>{const _0xa94f27=_0x45d571;_0x8fbbf6[_0xa94f27(0x23b)](_0x590bb6=>{const _0x3eea60=_0xa94f27;var _0x1f4073,_0xa5c6e3,_0x29a5c6;const {drawingId:_0x24b58c,unitId:_0x3e798d,subUnitId:_0x4b7019}=_0x590bb6;if(!((_0x1f4073=this[_0x3eea60(0xaf)]['getRenderById'](_0x3e798d))===null||_0x1f4073===void 0x0?void 0x0:_0x1f4073[_0x3eea60(0x259)](_univerjs_sheets_ui[_0x3eea60(0x15c)])[_0x3eea60(0x211)](_0x4b7019)))return;const {drawingType:_0x218129}=this[_0x3eea60(0x4ac)][_0x3eea60(0x402)](_0x590bb6);if(_0x218129!==_univerjs_core[_0x3eea60(0x49e)][_0x3eea60(0x34e)])return;const _0x850d58=this[_0x3eea60(0x201)][_0x3eea60(0x20a)](_0x24b58c),_0x2b71bc=(_0xa5c6e3=_0x850d58===null||_0x850d58===void 0x0?void 0x0:_0x850d58[_0x3eea60(0x4d2)])!==null&&_0xa5c6e3!==void 0x0?_0xa5c6e3:_0x24b58c,_0x2919fd=_0x850d58===null||_0x850d58===void 0x0?void 0x0:_0x850d58['rect'],_0x2e8448=(_0x29a5c6=this[_0x3eea60(0xaf)][_0x3eea60(0x4b3)](_0x3e798d))===null||_0x29a5c6===void 0x0?void 0x0:_0x29a5c6[_0x3eea60(0x7b)];if(_0x2919fd)this['disposeWithMe'](_0x2919fd===null||_0x2919fd===void 0x0?void 0x0:_0x2919fd[_0x3eea60(0xb3)][_0x3eea60(0x1a5)](_0x491efa=>{const _0x29656e=_0x3eea60,{type:_0x52c040,value:_0x2d49eb}=_0x491efa;if(_univerjs_engine_render[_0x29656e(0x2a4)][_0x29656e(0x118)]===_0x52c040||_univerjs_engine_render[_0x29656e(0x2a4)]['all']===_0x52c040){const {width:_0x1f0ed6,height:_0x3c50d2}=_0x2d49eb;this[_0x29656e(0x2fb)](_0x24b58c,{'width':_0x1f0ed6,'height':_0x3c50d2},0x64);}}));if(_0x2e8448)this[_0x3eea60(0x108)](_0x2e8448[_0x3eea60(0xb3)][_0x3eea60(0x1a5)](_0x39eda9=>{const _0xbed934=_0x3eea60;var _0x1cf11e;if(_0x39eda9[_0xbed934(0x4b0)]!==_univerjs_engine_render[_0xbed934(0x2a4)]['scale'])return;const _0x123a51=(_0x1cf11e=document['getElementById'](_0x2b71bc))===null||_0x1cf11e===void 0x0?void 0x0:_0x1cf11e[_0xbed934(0x489)]('.chart-host');if(_0x123a51){const _0x335664=_0x123a51[_0xbed934(0xfe)][_0xbed934(0x48c)];this['_debounceHandle'](_0x24b58c,{'width':Number['parseInt'](_0x335664[_0xbed934(0xd2)],0xa),'height':Number[_0xbed934(0x3d1)](_0x335664[_0xbed934(0x209)],0xa)});}}));const _0x100c3d=this[_0x3eea60(0xf7)][_0x3eea60(0x224)](_0x24b58c);if(_0x100c3d)this[_0x3eea60(0x108)]((0x0,rxjs[_0x3eea60(0x29e)])([_0x100c3d[_0x3eea60(0xa6)],_0x100c3d[_0x3eea60(0x440)]])[_0x3eea60(0x1c3)](([_0x203872,_0xb79d3a])=>{_0x570949(_0x100c3d['id'])(_0x100c3d,_0x4b7019,_0x203872,_0xb79d3a);}));});})),this['disposeWithMe']((0x0,rxjs['combineLatest'])([this[_0x45d571(0x4ac)][_0x45d571(0x26c)]])[_0x45d571(0x1c3)](([_0x58bd8c])=>{const _0x1e6fad=_0x45d571;_0x58bd8c[_0x1e6fad(0x23b)](_0x57d7f7=>{const _0x2733e2=_0x1e6fad,{drawingId:_0x498a6f}=_0x57d7f7;if(this[_0x2733e2(0x25f)][_0x2733e2(0x520)](_0x498a6f))this[_0x2733e2(0x25f)][_0x2733e2(0x270)](_0x498a6f);});}));}['getRenderModel'](_0x801d32){const _0x31c943=_0x38cd95,_0x204b28=this[_0x31c943(0x455)][_0x31c943(0x520)](_0x801d32),_0x1e167e=this[_0x31c943(0x399)]();if(_0x204b28)_0x204b28[_0x31c943(0x48b)](_0x1e167e);return _0x204b28;}async[_0x38cd95(0x172)](_0x49b87e){const _0x78bdd=_0x38cd95;var _0x38d075;const _0x3cbc5e=this['_chartInstanceMap'],_0x4f61ed=this['_currentModel'];if(_0x3cbc5e[_0x78bdd(0x3cc)](_0x49b87e)&&this[_0x78bdd(0x2e8)][_0x78bdd(0x38a)](_0x49b87e))return _0x3cbc5e[_0x78bdd(0x520)](_0x49b87e);const _0x4e0989=_0x4f61ed[_0x78bdd(0x1d7)]();_0x3cbc5e['set'](_0x49b87e,_0x4e0989);const _0x1841a9=await this[_0x78bdd(0x2e8)][_0x78bdd(0x1c9)](_0x49b87e);return _0x4e0989[_0x78bdd(0xf3)](_0x1841a9[_0x78bdd(0x24a)]),(_0x38d075=_0x4e0989[_0x78bdd(0x138)])===null||_0x38d075===void 0x0||_0x38d075[_0x78bdd(0x10a)](_0x4e0989,()=>{const _0x5a5676=_0x78bdd;var _0x3fbee3;return(_0x3fbee3=_0x1841a9['dispose'])===null||_0x3fbee3===void 0x0?void 0x0:_0x3fbee3[_0x5a5676(0x10a)](_0x1841a9);}),_0x4e0989;}['checkChartCanRender'](_0x1944dc){const _0x197eb6=_0x38cd95;var _0x444adf;const _0x1c0da7=this[_0x197eb6(0x201)][_0x197eb6(0x20a)](_0x1944dc);if(!_0x1c0da7)return![];const {subUnitId:_0x3fc791}=_0x1c0da7,_0x39076d=(_0x444adf=this['_univerInstanceService'][_0x197eb6(0x1fb)](_univerjs_core[_0x197eb6(0x17e)][_0x197eb6(0x36c)]))===null||_0x444adf===void 0x0?void 0x0:_0x444adf[_0x197eb6(0x8b)]();if((_0x39076d===null||_0x39076d===void 0x0?void 0x0:_0x39076d[_0x197eb6(0xea)]())!==_0x3fc791)return![];return!![];}async['render'](_0x2cf78b,_0x538c6d,_0x834d41){const _0x41334e=_0x38cd95;var _0x3393aa,_0x5aed41;const _0x305b0e=this[_0x41334e(0x23c)](_univerjs_pro_engine_chart[_0x41334e(0x39a)]);if(!_0x305b0e)return;if(!this[_0x41334e(0x147)](_0x2cf78b))return;const _0x1560ab=await this[_0x41334e(0x172)](_0x2cf78b),_0x5245b5=this[_0x41334e(0x2e8)][_0x41334e(0x3aa)](_0x2cf78b),_0x26009c=_0x305b0e[_0x41334e(0x4e1)](_0x305b0e[_0x41334e(0x32a)](_0x538c6d,_0x834d41),{'chartConfig':_0x538c6d,'chartStyle':_0x834d41,'chartInstance':_0x1560ab},_0x5245b5),_0x24d38b=_0x834d41[_0x41334e(0x30a)]?this[_0x41334e(0x181)]['getTheme'](_0x834d41[_0x41334e(0x30a)]):this['_chartThemeService']['getDefaultTheme']();this[_0x41334e(0x2e8)][_0x41334e(0x4ae)](_0x2cf78b,{'stroke':(_0x3393aa=_0x834d41[_0x41334e(0x26f)])!==null&&_0x3393aa!==void 0x0?_0x3393aa:_0x24d38b[_0x41334e(0x30a)][_0x41334e(0x26f)],'fill':(_0x5aed41=_0x834d41[_0x41334e(0x323)])!==null&&_0x5aed41!==void 0x0?_0x5aed41:_univerjs_pro_engine_chart[_0x41334e(0x4a6)][_0x41334e(0x323)]});if(this[_0x41334e(0x2e8)][_0x41334e(0x38a)](_0x2cf78b))_0x1560ab['render']({..._0x26009c});}async[_0x38cd95(0x41c)](_0x54c1da,_0x1678d6,_0x125b05){const _0x35f4fe=_0x38cd95;var _0x3dd6aa,_0x55bbea;const _0x1cddac=this['_chartModelService'][_0x35f4fe(0x224)](_0x54c1da),_0x5e7c18=this['_renderModelMap']['get'](_univerjs_pro_engine_chart[_0x35f4fe(0x39a)]);if(!_0x1cddac||!_0x5e7c18)return;const _0x44db03=createHostElement(_0x125b05[_0x35f4fe(0xd2)],_0x125b05[_0x35f4fe(0x209)]);_0x1678d6[_0x35f4fe(0x3a5)](_0x44db03);const _0x211d6f=_univerjs_pro_engine_chart[_0x35f4fe(0x3c1)]['init'](_0x44db03,null,{'devicePixelRatio':window[_0x35f4fe(0xf8)]||0x1}),_0x37ae69=_0x1cddac[_0x35f4fe(0x2b7)],_0x11ab24=_0x1cddac[_0x35f4fe(0x48c)],_0x49193f=_0x5e7c18[_0x35f4fe(0x4e1)](_0x5e7c18['toSpec'](_0x37ae69,_0x11ab24),{'chartConfig':_0x37ae69,'chartStyle':_0x11ab24,'chartInstance':_0x211d6f},_0x125b05),_0x104158=_0x11ab24[_0x35f4fe(0x30a)]?this[_0x35f4fe(0x181)]['getTheme'](_0x11ab24[_0x35f4fe(0x30a)]):this['_chartThemeService'][_0x35f4fe(0x306)]();_0x1678d6[_0x35f4fe(0x48c)][_0x35f4fe(0xcf)]=_0x35f4fe(0x37a)+((_0x3dd6aa=_0x11ab24[_0x35f4fe(0x26f)])!==null&&_0x3dd6aa!==void 0x0?_0x3dd6aa:_0x104158[_0x35f4fe(0x30a)][_0x35f4fe(0x26f)]),_0x1678d6[_0x35f4fe(0x48c)]['backgroundColor']=this[_0x35f4fe(0x181)][_0x35f4fe(0x319)]((_0x55bbea=_0x11ab24[_0x35f4fe(0x323)])!==null&&_0x55bbea!==void 0x0?_0x55bbea:_univerjs_pro_engine_chart[_0x35f4fe(0x4a6)]['backgroundColor']),_0x1678d6[_0x35f4fe(0x48c)][_0x35f4fe(0xb4)]=_0x35f4fe(0x32d),_0x211d6f[_0x35f4fe(0x13a)](),_0x211d6f[_0x35f4fe(0x418)](silentChartSpecOperator(_0x49193f),!![]);}[_0x38cd95(0x12f)](){const _0xe05b75=_0x38cd95;this['_chartInstanceMap']['clear'](),this[_0xe05b75(0xc7)]=null,this[_0xe05b75(0x455)][_0xe05b75(0x23b)](_0x145d46=>_0x145d46[_0xe05b75(0x12f)]()),this[_0xe05b75(0x455)][_0xe05b75(0x13a)](),this['_renderDebounceMap']['clear'](),this['_debounceHandleMap']['clear']();}};ChartRenderService=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets_drawing_ui['SheetCanvasFloatDomManagerService'])),__decorateParam(0x2,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart[_0x38cd95(0x42f)])),__decorateParam(0x3,_univerjs_drawing['IDrawingManagerService']),__decorateParam(0x4,_univerjs_core[_0x38cd95(0xd4)]),__decorateParam(0x5,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_engine_render[_0x38cd95(0x17a)])),__decorateParam(0x6,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core[_0x38cd95(0x12b)])),__decorateParam(0x7,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core['Injector'])),__decorateParam(0x8,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_engine_chart['ChartThemeService'])),__decorateParam(0x9,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core[_0x38cd95(0x283)]))],ChartRenderService);const PrintChart=_0x560ccf=>{const _0x42095e=_0x38cd95,{floatDomId:_0xc2e9d1,context:_0x3507cd}=_0x560ccf,_0x4ea18e=(0x0,_univerjs_ui['useDependency'])(ChartRenderService);return(0x0,react['useEffect'])(()=>{const _0xbcd5c6=_0x28ac;if(_0x3507cd['root'][_0xbcd5c6(0x121)]){const _0x2ea729={'width':Number[_0xbcd5c6(0x514)](_0x3507cd[_0xbcd5c6(0x310)]['current'][_0xbcd5c6(0x48c)][_0xbcd5c6(0xd2)]),'height':Number[_0xbcd5c6(0x514)](_0x3507cd[_0xbcd5c6(0x310)]['current']['style'][_0xbcd5c6(0x209)])};_0x4ea18e['printChart'](_0xc2e9d1,_0x3507cd['root'][_0xbcd5c6(0x121)],_0x2ea729);}},[_0xc2e9d1,_0x3507cd[_0x42095e(0x310)][_0x42095e(0x121)]]),null;},MenuInsertChartCommand={'type':_univerjs_core[_0x38cd95(0xa7)][_0x38cd95(0x436)],'id':_0x38cd95(0x4df),'handler':async(_0x3a263d,_0x5f2a36)=>{const _0x1a9037=_0x38cd95,_0x1512ff=(0x0,_univerjs_sheets[_0x1a9037(0x18d)])(_0x3a263d[_0x1a9037(0x520)](_univerjs_core[_0x1a9037(0xd4)]));if(!_0x1512ff)return![];const _0x4712e4=_0x3a263d['get'](_univerjs_sheets['SheetsSelectionsService'])['getCurrentLastSelection']();if(!_0x4712e4)return![];const _0x5cb092=_0x3a263d[_0x1a9037(0x520)](_univerjs_ui[_0x1a9037(0x493)]),_0x55eda6=_0x3a263d['get'](_univerjs_core[_0x1a9037(0x12b)]),{range:_0x1885d2}=_0x4712e4;if(_0x1885d2[_0x1a9037(0x2c3)]===_0x1885d2[_0x1a9037(0x3c8)]||_0x1885d2[_0x1a9037(0x4db)]===_0x1885d2[_0x1a9037(0x191)])return _0x5cb092[_0x1a9037(0x373)]({'type':_univerjs_design[_0x1a9037(0xa3)]['Error'],'content':_0x55eda6['t'](_0x1a9037(0x513))}),![];const _0xcd1313=_0x3a263d['get'](_univerjs_core[_0x1a9037(0x1af)]),{unitId:_0x51ea05,subUnitId:_0x56b31d}=_0x1512ff,{value:_0x5060a0}=_0x5f2a36;return _0xcd1313[_0x1a9037(0x4be)](_univerjs_pro_sheets_chart[_0x1a9037(0x3d7)]['id'],{'unitId':_0x51ea05,'subUnitId':_0x56b31d,'chartType':_0x5060a0,'range':_0x1885d2});}};function ChartMenuItemFactory(_0x48194a){const _0xf241eb=_0x38cd95,_0x4a6b33=_0x48194a['get'](_univerjs_core['IUniverInstanceService']),_0x33dd5a=(0x0,_univerjs_pro_sheets_chart[_0xf241eb(0x34a)])(_0x48194a),_0x2fc153=getOptionsList(getChartMenuSelection()[_0xf241eb(0x11a)](),_0x33dd5a);return{'id':MenuInsertChartCommand['id'],'type':_univerjs_ui['MenuItemType'][_0xf241eb(0x38f)],'selections':_0x2fc153,'icon':'ChartIcon','tooltip':_0xf241eb(0x1ab),'activated$':(0x0,_univerjs_sheets_ui['deriveStateFromActiveSheet$'])(_0x4a6b33,![],()=>new rxjs['Observable'](_0x2739d3=>{const _0x526c94=_0xf241eb;_0x2739d3[_0x526c94(0x377)](![]);})),'hidden$':(0x0,_univerjs_ui[_0xf241eb(0x307)])(_0x48194a,_univerjs_core[_0xf241eb(0x17e)]['UNIVER_SHEET']),'disabled$':(0x0,_univerjs_sheets_ui[_0xf241eb(0x19e)])(_0x48194a)};}const menuSchema={[_univerjs_ui[_0x38cd95(0x1f3)][_0x38cd95(0x3a4)]]:{[MenuInsertChartCommand['id']]:{'order':0x4,'menuItemFactory':ChartMenuItemFactory}}},CHART_EDIT_PANEL_KEY=_0x38cd95(0x242);let SheetsChartUIController=class SheetsChartUIController extends _univerjs_core['Disposable']{constructor(_0x572b60,_0x5bd4f3,_0x272496,_0x1e5686,_0x4566ca,_0x1dc552,_0x57e7e3,_0x2d3849,_0x2ae687,_0x501581){const _0x119c66=_0x38cd95;super(),this['_drawingManagerService']=_0x572b60,this['_univerInstanceService']=_0x5bd4f3,this[_0x119c66(0xf7)]=_0x272496,this['_sidebarService']=_0x1e5686,this[_0x119c66(0x155)]=_0x4566ca,this[_0x119c66(0xc2)]=_0x1dc552,this['_sheetCanvasPopManagerService']=_0x57e7e3,this['_commandService']=_0x2d3849,this[_0x119c66(0x13e)]=_0x2ae687,this[_0x119c66(0x4b2)]=_0x501581,_defineProperty(this,_0x119c66(0x25b),null),this[_0x119c66(0x2f4)](),this[_0x119c66(0x380)](),this['disposeWithMe'](this[_0x119c66(0x183)]['getCurrentTypeOfUnit$'](_univerjs_core[_0x119c66(0x17e)][_0x119c66(0x36c)])['subscribe'](_0x4e9929=>{const _0x2af0bb=_0x119c66;var _0x515ea1;if(!_0x4e9929)(_0x515ea1=this['_sidebarDisposable'])===null||_0x515ea1===void 0x0||_0x515ea1[_0x2af0bb(0x12f)]();}));}[_0x38cd95(0x2f4)](){const _0x56fbad=_0x38cd95;[[_0x56fbad(0x31e),_univerjs_icons[_0x56fbad(0x31e)]],[_0x56fbad(0x13b),_univerjs_icons[_0x56fbad(0x13b)]],[_0x56fbad(0x2ca),_univerjs_icons[_0x56fbad(0x2ca)]],['ColumnChartIcon',_univerjs_icons[_0x56fbad(0x157)]],[_0x56fbad(0x289),_univerjs_icons[_0x56fbad(0x289)]],[_0x56fbad(0x381),_univerjs_icons[_0x56fbad(0x381)]],[_0x56fbad(0x89),_univerjs_icons[_0x56fbad(0x89)]],['RadarChartIcon',_univerjs_icons[_0x56fbad(0x4e6)]],['ScatterChartIcon',_univerjs_icons[_0x56fbad(0x107)]],[_0x56fbad(0x1fe),_univerjs_icons[_0x56fbad(0x1fe)]],[_0x56fbad(0x453),_univerjs_icons[_0x56fbad(0x2d5)]],[_0x56fbad(0x390),_univerjs_icons[_0x56fbad(0x390)]],[_0x56fbad(0x2cc),_univerjs_icons['RelationshipIcon']],[_0x56fbad(0x19b),_univerjs_icons[_0x56fbad(0x19b)]],['SankeyChartIcon',_univerjs_icons['SankeyIcon']],[_0x56fbad(0x4b9),_univerjs_icons[_0x56fbad(0x3f7)]],['BoxplotIcon',_univerjs_icons[_0x56fbad(0x4f0)]],[_univerjs_core[_0x56fbad(0x2ea)],PrintChart],[CHART_EDIT_PANEL_KEY,ChartEditPanel],[UNIVER_SHEET_CHART_FORMAT_DIALOG,ChartNumfmtDialog]][_0x56fbad(0x23b)](([_0x574328,_0x5a4f83])=>{const _0x1a26aa=_0x56fbad;this[_0x1a26aa(0x108)](this[_0x1a26aa(0x155)][_0x1a26aa(0x1a2)](_0x574328,_0x5a4f83));});}['_openPanel'](){const _0x4aa22=_0x38cd95;this[_0x4aa22(0x25b)]=this[_0x4aa22(0x280)][_0x4aa22(0x47f)]({'id':CHART_EDIT_PANEL_KEY,'header':{'title':'chart.editChart'},'width':0x154,'children':{'label':CHART_EDIT_PANEL_KEY},'onClose':()=>{const _0x1c81a9=_0x4aa22;this[_0x1c81a9(0x4ac)][_0x1c81a9(0x202)](null),this[_0x1c81a9(0x4b2)][_0x1c81a9(0x276)](_univerjs_core['FOCUSING_COMMON_DRAWINGS'],![]),this[_0x1c81a9(0x25b)]=null;}});}[_0x38cd95(0x451)](){const _0x51561a=_0x38cd95;var _0x36fc70;this[_0x51561a(0xf7)][_0x51561a(0xec)](null),(_0x36fc70=this[_0x51561a(0x25b)])===null||_0x36fc70===void 0x0||_0x36fc70[_0x51561a(0x12f)]();}[_0x38cd95(0x490)](){const _0x4d6931=_0x38cd95,_0x5b0cc5=this[_0x4d6931(0x183)]['getCurrentUnitForType'](_univerjs_core[_0x4d6931(0x17e)][_0x4d6931(0x36c)]);this[_0x4d6931(0x108)](this[_0x4d6931(0x280)]['sidebarOptions$'][_0x4d6931(0x1c3)](_0xc46dea=>{const _0x69005d=_0x4d6931;if(_0xc46dea['id']===CHART_EDIT_PANEL_KEY){if(!_0xc46dea[_0x69005d(0x369)])this[_0x69005d(0x280)][_0x69005d(0xb8)][_0x69005d(0x377)]({'visible':![]});}})),this['disposeWithMe'](this['_commandService'][_0x4d6931(0x2b1)](_0xde196=>{const _0x2c960e=_0x4d6931;if(_0xde196['id']===ChartOpenPanelOperation['id']){const _0x4b41aa=_0xde196[_0x2c960e(0x2c0)];this[_0x2c960e(0x463)](_0x4b41aa[_0x2c960e(0x3b1)]);}if(_0xde196['id']===ChartHidePanelOperation['id'])this[_0x2c960e(0x451)]();if(_0xde196['id']===_univerjs_pro_sheets_chart[_0x2c960e(0x100)]['id']){var _0x1e42a5;if(_0xde196[_0x2c960e(0x2c0)][_0x2c960e(0x365)]===((_0x1e42a5=this[_0x2c960e(0xf7)][_0x2c960e(0x393)])===null||_0x1e42a5===void 0x0?void 0x0:_0x1e42a5['id']))this[_0x2c960e(0x451)]();this[_0x2c960e(0x4b2)][_0x2c960e(0x174)](_univerjs_core[_0x2c960e(0x35a)])&&(this['_contextService']['setContextValue'](_univerjs_core['FOCUSING_COMMON_DRAWINGS'],![]),this['_drawingManagerService']['focusDrawing'](null));}})),this[_0x4d6931(0x108)](this[_0x4d6931(0x4ac)][_0x4d6931(0x27c)][_0x4d6931(0x1c3)](_0x5a7d0a=>{const _0x315ece=_0x4d6931,_0x1d0e00=_0x5a7d0a[0x0];if(this[_0x315ece(0x13e)][_0x315ece(0x83)])return;if(!_0x1d0e00&&!this[_0x315ece(0x13e)][_0x315ece(0x83)])this[_0x315ece(0x451)]();})),_0x5b0cc5&&(this[_0x4d6931(0x108)](_0x5b0cc5[_0x4d6931(0x4e7)][_0x4d6931(0x1c3)](()=>{const _0x2d30fa=_0x4d6931;this[_0x2d30fa(0x451)]();})),this[_0x4d6931(0x108)](_0x5b0cc5[_0x4d6931(0x206)][_0x4d6931(0x1c3)](()=>{const _0x24b8ba=_0x4d6931;this[_0x24b8ba(0x451)]();})));}[_0x38cd95(0x463)](_0xab47ec){const _0x169989=_0x38cd95,_0x179b47=this[_0x169989(0xf7)][_0x169989(0x224)](_0xab47ec);if(!_0x179b47)return;this['_chartModelService'][_0x169989(0xec)](_0x179b47),this[_0x169989(0x2df)]();}[_0x38cd95(0x380)](){const _0x201273=_0x38cd95;this[_0x201273(0xc2)]['mergeMenu'](menuSchema),this['_sheetCanvasPopManagerService'][_0x201273(0x2d0)](_univerjs_core['DrawingTypeEnum'][_0x201273(0x34e)],this[_0x201273(0x3e3)][_0x201273(0x409)](this));}[_0x38cd95(0x3e3)](_0xe767bc,_0x494527,_0x44a946,_0x3278b4){const _0x3f89f0=_0x38cd95;return[{'label':_0x3f89f0(0x318),'index':0x0,'commandId':ChartOpenPanelOperation['id'],'commandParams':{'unitId':_0xe767bc,'subUnitId':_0x494527,'drawingId':_0x44a946},'disable':_0x3278b4!==_univerjs_core[_0x3f89f0(0x49e)][_0x3f89f0(0x34e)]},{'label':'chart.deleteChart','index':0x1,'commandId':_univerjs_sheets_drawing[_0x3f89f0(0x32c)]['id'],'commandParams':{'unitId':_0xe767bc,'drawings':[{'unitId':_0xe767bc,'subUnitId':_0x494527,'drawingId':_0x44a946,'drawingType':_0x3278b4}]},'disable':![]},{'label':'chart.hideChartPanel','index':0x2,'commandId':ChartHidePanelOperation['id'],'commandParams':{'unitId':_0xe767bc,'subUnitId':_0x494527,'drawingId':_0x44a946},'disable':![]}];}};SheetsChartUIController=__decorate([__decorateParam(0x0,_univerjs_drawing[_0x38cd95(0x42c)]),__decorateParam(0x1,_univerjs_core['IUniverInstanceService']),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x38cd95(0x42f)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_ui[_0x38cd95(0x1ad)])),__decorateParam(0x4,(0x0,_univerjs_core['Inject'])(_univerjs_ui['ComponentManager'])),__decorateParam(0x5,_univerjs_ui[_0x38cd95(0x368)]),__decorateParam(0x6,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets_ui[_0x38cd95(0x28f)])),__decorateParam(0x7,_univerjs_core[_0x38cd95(0x1af)]),__decorateParam(0x8,(0x0,_univerjs_core['Inject'])(SheetsChartUIService)),__decorateParam(0x9,_univerjs_core[_0x38cd95(0x3c3)])],SheetsChartUIController);var name=_0x38cd95(0x36b),version=_0x38cd95(0x14e);let ChartHostProviderController=class ChartHostProviderController extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0xc7c487,_0x42f315){const _0x3f7200=_0x38cd95;super(),this[_0x3f7200(0x387)]=_0xc7c487,this[_0x3f7200(0xf7)]=_0x42f315,this[_0x3f7200(0x353)]();}[_0x38cd95(0x353)](){const _0x4dcd4e=_0x38cd95;this[_0x4dcd4e(0x108)](this[_0x4dcd4e(0x387)][_0x4dcd4e(0x28c)]['subscribe'](_0x41f216=>{const _0x1ac6f1=_0x4dcd4e;this[_0x1ac6f1(0xf7)]['removeChartModel'](_0x41f216);}));}};ChartHostProviderController=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart[_0x38cd95(0x42f)]))],ChartHostProviderController);let ChartRenderController=class ChartRenderController extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0x3377fb,_0x5d3ba0,_0x5d00af){const _0x2f87b1=_0x38cd95;super(),this[_0x2f87b1(0xf7)]=_0x3377fb,this[_0x2f87b1(0x177)]=_0x5d3ba0,this[_0x2f87b1(0x24e)]=_0x5d00af,this['_init']();}[_0x38cd95(0x353)](){const _0x4ad10c=_0x38cd95;this['disposeWithMe'](this[_0x4ad10c(0xf7)]['chartModelAdded$'][_0x4ad10c(0x1c3)](_0x253d90=>{const _0x3e9781=_0x4ad10c;if(_0x253d90){const _0x835244=new _univerjs_core['DisposableCollection']();_0x835244[_0x3e9781(0x15e)](_0x253d90['config$'][_0x3e9781(0x198)]((0x0,rxjs['combineLatestWith'])(_0x253d90[_0x3e9781(0x440)]),(0x0,rxjs['debounceTime'])(0x64))[_0x3e9781(0x1c3)](([_0x320283,_0x284a34])=>{const _0x50dffc=_0x3e9781;var _0x1be19e;if(!_0x320283)return;const {t:_0x4b9f50}=this['_localeService'];(_0x1be19e=_0x320283[_0x50dffc(0x2eb)])===null||_0x1be19e===void 0x0||_0x1be19e[_0x50dffc(0x336)][_0x50dffc(0x23b)]((_0x5f490e,_0x153d16)=>{const _0x49f804=_0x50dffc;if(!_0x5f490e['label'])_0x5f490e[_0x49f804(0x1bd)]=_0x4b9f50(_0x49f804(0x13c))+'\x20'+(_0x153d16+0x1);}),_0x320283[_0x50dffc(0x239)]['forEach']((_0x29576c,_0x1c3e1a)=>{const _0xca3e0d=_0x50dffc;if(!_0x29576c[_0xca3e0d(0x27b)])_0x29576c[_0xca3e0d(0x27b)]=_0x4b9f50(_0xca3e0d(0x442))+'\x20'+(_0x1c3e1a+0x1);}),_0x284a34[_0x50dffc(0x3de)]=_0x253d90[_0x50dffc(0x151)](),this[_0x50dffc(0x177)][_0x50dffc(0x22a)](_0x253d90['id'],_0x320283,_0x284a34);})),_0x253d90[_0x3e9781(0x138)](()=>{_0x835244['dispose']();});}}));}};ChartRenderController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart['ChartModelService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(ChartRenderService)),__decorateParam(0x2,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core['LocaleService']))],ChartRenderController);let ChartSheetChangeController=class ChartSheetChangeController extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0x429d87,_0x24a47c,_0x48d98f,_0x533ad8){const _0x37c4ee=_0x38cd95;super(),this[_0x37c4ee(0x183)]=_0x429d87,this[_0x37c4ee(0x413)]=_0x24a47c,this[_0x37c4ee(0x241)]=_0x48d98f,this[_0x37c4ee(0xf7)]=_0x533ad8,this[_0x37c4ee(0x2cf)]();}[_0x38cd95(0x2cf)](){const _0x2ad1f7=_0x38cd95;this[_0x2ad1f7(0x108)](this[_0x2ad1f7(0x413)][_0x2ad1f7(0x3a8)]({'getMutations':_0x5f3504=>{const _0x59a1cf=_0x2ad1f7;if(_0x5f3504['id']===_univerjs_sheets[_0x59a1cf(0x348)]['id']){const _0x2d474e=(0x0,_univerjs_sheets[_0x59a1cf(0x18d)])(this[_0x59a1cf(0x183)],_0x5f3504[_0x59a1cf(0x2c0)]);if(!_0x2d474e)return{'redos':[],'undos':[]};const {unitId:_0x226b18,subUnitId:_0x20d4f0}=_0x2d474e,_0x3a385c=this[_0x59a1cf(0x241)][_0x59a1cf(0x303)](_0x226b18,_0x20d4f0),_0x18d1e1=Object['values'](_0x3a385c)[_0x59a1cf(0x24c)](_0x966179=>_0x966179['drawingType']===_univerjs_core[_0x59a1cf(0x49e)][_0x59a1cf(0x34e)]);if(_0x18d1e1[_0x59a1cf(0x111)]===0x0)return{'redos':[],'undos':[]};const _0x24517a=[],_0x49938f=[];for(let _0x4b3842=0x0;_0x4b3842<_0x18d1e1['length'];_0x4b3842++){const _0x183d09=_0x18d1e1[_0x4b3842],_0x37c357=this[_0x59a1cf(0xf7)]['getChartModel'](_0x183d09[_0x59a1cf(0x3b1)]);if(!_0x37c357)continue;const {rangeInfo:_0x1b6772,isRowDirection:_0x56aa6f}=_0x37c357['dataSource'][_0x59a1cf(0x3da)](),{redo:_0x49dffe,undo:_0x1acf6c,objects:_0x213aa5}=this[_0x59a1cf(0x241)][_0x59a1cf(0x3c4)]([_0x183d09]);_0x24517a[_0x59a1cf(0x231)]({'id':_univerjs_pro_sheets_chart[_0x59a1cf(0x100)]['id'],'params':{'unitId':_0x226b18,'subUnitId':_0x20d4f0,'chartId':_0x183d09[_0x59a1cf(0x3b1)]}}),_0x24517a['push']({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x226b18,'subUnitId':_0x20d4f0,'type':_univerjs_sheets_drawing[_0x59a1cf(0x457)][_0x59a1cf(0x98)],'op':_0x49dffe,'objects':_0x213aa5}}),_0x49938f['push']({'id':_univerjs_sheets_drawing[_0x59a1cf(0x47d)]['id'],'params':{'unitId':_0x226b18,'subUnitId':_0x20d4f0,'type':_univerjs_sheets_drawing[_0x59a1cf(0x457)][_0x59a1cf(0x2e5)],'op':_0x1acf6c,'objects':_0x213aa5}}),_0x49938f['push']({'id':_univerjs_pro_sheets_chart[_0x59a1cf(0x27a)]['id'],'params':{'unitId':_0x226b18,'subUnitId':_0x20d4f0,'chartId':_0x183d09[_0x59a1cf(0x3b1)],'chartType':_0x37c357['chartType'],'range':_0x1b6772['range'],'rangeUnitId':_0x1b6772[_0x59a1cf(0x2b2)],'rangeSubUnitId':_0x1b6772[_0x59a1cf(0x4e5)],'isRowDirection':_0x56aa6f}});}return{'redos':_0x24517a,'undos':_0x49938f};}else{if(_0x5f3504['id']===_univerjs_sheets['CopySheetCommand']['id']){const {unitId:_0xc639f3,subUnitId:_0x1e20cb,targetSubUnitId:_0x44480b}=_0x5f3504[_0x59a1cf(0x2c0)];if(!_0xc639f3||!_0x1e20cb||!_0x44480b)return{'redos':[],'undos':[]};const _0x1809e5=this[_0x59a1cf(0x241)][_0x59a1cf(0x303)](_0xc639f3,_0x1e20cb),_0x58db63=Object[_0x59a1cf(0x4cf)](_0x1809e5)[_0x59a1cf(0x24c)](_0x5f0316=>_0x5f0316[_0x59a1cf(0x472)]===_univerjs_core[_0x59a1cf(0x49e)][_0x59a1cf(0x34e)]);if(_0x58db63[_0x59a1cf(0x111)]===0x0)return{'redos':[],'undos':[]};const _0x4fe70d=[],_0x479d05=[];for(let _0x1e9641=0x0;_0x1e9641<_0x58db63[_0x59a1cf(0x111)];_0x1e9641++){const _0x477c15=_0x58db63[_0x1e9641],_0x1016ff=this[_0x59a1cf(0xf7)][_0x59a1cf(0x224)](_0x477c15[_0x59a1cf(0x3b1)]);if(!_0x1016ff)continue;const _0x35813a=(0x0,_univerjs_core[_0x59a1cf(0xef)])(),_0x580c25={..._0x477c15,'unitId':_0xc639f3,'subUnitId':_0x44480b,'drawingId':_0x35813a},{rangeInfo:_0x3f7f33,isRowDirection:_0x4deb7f}=_0x1016ff[_0x59a1cf(0x129)][_0x59a1cf(0x3da)](),{redo:_0x3cea9d,undo:_0x5befdb,objects:_0x40c360}=this[_0x59a1cf(0x241)][_0x59a1cf(0x1be)]([_0x580c25]);_0x4fe70d[_0x59a1cf(0x231)]({'id':_univerjs_sheets_drawing[_0x59a1cf(0x47d)]['id'],'params':{'unitId':_0xc639f3,'subUnitId':_0x44480b,'type':_univerjs_sheets_drawing[_0x59a1cf(0x457)]['INSERT'],'op':_0x3cea9d,'objects':_0x40c360}}),_0x4fe70d[_0x59a1cf(0x231)]({'id':_univerjs_pro_sheets_chart[_0x59a1cf(0x27a)]['id'],'params':{'unitId':_0xc639f3,'subUnitId':_0x44480b,'chartId':_0x35813a,'chartType':_0x1016ff[_0x59a1cf(0x3be)],'range':_0x3f7f33[_0x59a1cf(0x286)],'isRowDirection':_0x4deb7f}}),_0x479d05[_0x59a1cf(0x231)]({'id':_univerjs_pro_sheets_chart[_0x59a1cf(0x100)]['id'],'params':{'unitId':_0xc639f3,'subUnitId':_0x44480b,'chartId':_0x35813a}}),_0x479d05[_0x59a1cf(0x231)]({'id':_univerjs_sheets_drawing[_0x59a1cf(0x47d)]['id'],'params':{'unitId':_0xc639f3,'subUnitId':_0x44480b,'type':_univerjs_sheets_drawing['DrawingApplyType'][_0x59a1cf(0x98)],'op':_0x5befdb,'objects':_0x40c360}});}return{'redos':_0x4fe70d,'undos':_0x479d05};}}return{'redos':[],'undos':[]};}}));}};ChartSheetChangeController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core['IUniverInstanceService'])),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_sheets[_0x38cd95(0x4ee)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets_drawing[_0x38cd95(0x3bc)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart[_0x38cd95(0x42f)]))],ChartSheetChangeController);let SheetsChartClipboardController=class SheetsChartClipboardController extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0x4a8e7a,_0x16f9ad,_0x3253f4,_0x43faf3){const _0x6158ba=_0x38cd95;super(),this[_0x6158ba(0x464)]=_0x4a8e7a,this[_0x6158ba(0x250)]=_0x16f9ad,this[_0x6158ba(0x241)]=_0x3253f4,this[_0x6158ba(0xf7)]=_0x43faf3,_defineProperty(this,_0x6158ba(0x4f3),void 0x0),this[_0x6158ba(0x2b8)]();}get[_0x38cd95(0x3cf)](){const _0x15a1a3=_0x38cd95;return this[_0x15a1a3(0x241)][_0x15a1a3(0x329)]();}[_0x38cd95(0x2b8)](){const _0x27be93=_0x38cd95;this['disposeWithMe'](this[_0x27be93(0x250)]['addClipboardHook']({'id':_univerjs_pro_sheets_chart[_0x27be93(0x46c)],'onBeforeCopy':(_0x142981,_0x582488,_0x543afb,_0x3cd724)=>{const _0x14d542=_0x27be93;this[_0x14d542(0x4f3)]=null;const _0x2b4309=this[_0x14d542(0x3cf)];if(_0x2b4309['length']){const _0x32012f=_0x2b4309[_0x14d542(0x24c)](_0x181801=>_0x181801[_0x14d542(0x472)]===_univerjs_core[_0x14d542(0x49e)][_0x14d542(0x34e)]);if(_0x32012f[_0x14d542(0x111)]===0x0)return;this[_0x14d542(0x4f3)]={'unitId':_0x142981,'subUnitId':_0x582488,'copyType':_0x3cd724,'drawings':_0x32012f};}else this[_0x14d542(0x4af)](_0x142981,_0x582488,_0x543afb,_0x3cd724);},'onPasteCells':(_0x932b59,_0xfe044b,_0xc13180,_0x2e6890)=>{const _0x35a68d=_0x27be93;if(!this['_copyInfo'])return{'redos':[],'undos':[]};const {pasteType:_0xccb24a}=_0x2e6890;if(_0xccb24a!==_univerjs_sheets_ui[_0x35a68d(0x47b)]['DEFAULT_PASTE'])return{'redos':[],'undos':[]};return this[_0x35a68d(0xbe)](_0xfe044b,this[_0x35a68d(0x4f3)][_0x35a68d(0x282)]===_univerjs_sheets_ui[_0x35a68d(0x376)]['CUT']);},'onPasteUnrecognized':_0x54354b=>{const _0x70216a=_0x27be93;if(!this[_0x70216a(0x4f3)])return{'redos':[],'undos':[]};return this[_0x70216a(0xbe)](_0x54354b,this['_copyInfo'][_0x70216a(0x282)]===_univerjs_sheets_ui[_0x70216a(0x376)][_0x70216a(0x438)]);}}));}[_0x38cd95(0x4af)](_0x54046a,_0x12562e,_0x4526ca,_0x451fdc){const _0x3e4337=_0x38cd95,_0x4d49fd=this[_0x3e4337(0x464)][_0x3e4337(0x211)](_0x54046a,_0x12562e);if(!_0x4d49fd)return;const _0x2c1955=(0x0,_univerjs_sheets[_0x3e4337(0x1dd)])(_0x4d49fd,_0x4526ca);if(!_0x2c1955)return;const {startX:_0xfe79a,endX:_0x2f33f2,startY:_0xf82275,endY:_0x7a3dfd}=_0x2c1955,_0x6fcc1b=this['_sheetDrawingService']['getDrawingData'](_0x54046a,_0x12562e),_0x42e186=this[_0x3e4337(0x3cf)][_0x3e4337(0x2f7)]();for(const [_0x259121,_0x15cabd]of Object['entries'](_0x6fcc1b)){if(_0x15cabd['drawingType']!==_univerjs_core[_0x3e4337(0x49e)][_0x3e4337(0x34e)])continue;const {transform:_0x2c2414}=_0x15cabd;if(!_0x2c2414)continue;const {left:left=0x0,top:top=0x0,width:width=0x0,height:height=0x0}=_0x2c2414;if(_0xfe79a<=left&&_0x2f33f2>=left+width&&_0xf82275<=top&&_0x7a3dfd>=top+height)_0x42e186[_0x3e4337(0x231)](_0x15cabd);}if(_0x42e186[_0x3e4337(0x111)]>0x0)this['_copyInfo']={'unitId':_0x54046a,'subUnitId':_0x12562e,'copyType':_0x451fdc,'copyRange':_0x4526ca,'drawings':_0x42e186};}['_generatePasteMutations'](_0x40197,_0x446de5){const _0xa8ab36=_0x38cd95,{unitId:_0x16425d,subUnitId:_0x5a709d,range:_0x3eec0a}=_0x40197,_0x5a8c58=this[_0xa8ab36(0x464)][_0xa8ab36(0x211)](_0x16425d,_0x5a709d);if(!_0x5a8c58)return{'redos':[],'undos':[]};const _0x25be6c=(0x0,_univerjs_sheets[_0xa8ab36(0x465)])(_0x3eec0a),{unitId:_0x5eaad1,subUnitId:_0x512efe,copyRange:_0x30f2c6,drawings:_0x55f1ac}=this[_0xa8ab36(0x4f3)],_0x2ff258=this['_sheetSkeletonService'][_0xa8ab36(0x211)](_0x5eaad1,_0x512efe);if(!_0x2ff258)return{'redos':[],'undos':[]};const _0x3437cb=[],_0xa94260=[];for(const _0x58e5d2 of _0x55f1ac){const {drawingId:_0x495b53,transform:_0x3f50cd,sheetTransform:_0x4536eb}=_0x58e5d2,_0x211863=this['_chartModelService']['getChartModel'](_0x495b53);if(!_0x211863||!_0x3f50cd||!_0x4536eb)continue;const _0x10d6f5=this[_0xa8ab36(0x245)]({'transform':_0x3f50cd,'sheetTransform':_0x4536eb},{'skeleton':_0x2ff258,'range':_0x30f2c6},{'skeleton':_0x5a8c58,'range':_0x25be6c});if(_0x446de5){const {redos:_0x3b14df,undos:_0x4aa0a1}=this[_0xa8ab36(0x2fe)]({'fromUnitId':_0x5eaad1,'fromSubUnitId':_0x512efe,'toUnitId':_0x16425d,'toSubUnitId':_0x5a709d,'drawing':_0x58e5d2,'newTransforms':_0x10d6f5},_0x211863);_0x3437cb['push'](..._0x3b14df),_0xa94260['push'](..._0x4aa0a1);continue;}const {redos:_0xaccdcb,undos:_0x1ddf5f}=this['_generateCopyPasteMutations']({'toUnitId':_0x16425d,'toSubUnitId':_0x5a709d,'drawing':_0x58e5d2,'newTransforms':_0x10d6f5},_0x211863);_0x3437cb[_0xa8ab36(0x231)](..._0xaccdcb),_0xa94260[_0xa8ab36(0x231)](..._0x1ddf5f);}return{'redos':_0x3437cb,'undos':_0xa94260};}[_0x38cd95(0x2fe)](_0x2ffb84,_0x2e4735){const _0x3b4f3c=_0x38cd95,{fromUnitId:_0x3717e0,fromSubUnitId:_0x36293f,toUnitId:_0x424615,toSubUnitId:_0x550bb6,drawing:_0x2e61c7,newTransforms:_0x3f36e4}=_0x2ffb84,_0x25e70f={..._0x2e61c7,'unitId':_0x424615,'subUnitId':_0x550bb6,'transform':_0x3f36e4['transform'],'sheetTransform':_0x3f36e4[_0x3b4f3c(0x284)]};if(_0x424615===_0x3717e0&&_0x550bb6===_0x36293f){const {redo:_0x3667d2,undo:_0x26bc74,objects:_0x29e4be}=this[_0x3b4f3c(0x241)][_0x3b4f3c(0x343)]([_0x25e70f]);return{'redos':[{'id':_univerjs_sheets_drawing[_0x3b4f3c(0x47d)]['id'],'params':{'unitId':_0x424615,'subUnitId':_0x550bb6,'type':_univerjs_sheets_drawing[_0x3b4f3c(0x457)][_0x3b4f3c(0x29f)],'op':_0x3667d2,'objects':_0x29e4be}}],'undos':[{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x424615,'subUnitId':_0x550bb6,'type':_univerjs_sheets_drawing[_0x3b4f3c(0x457)][_0x3b4f3c(0x29f)],'op':_0x26bc74,'objects':_0x29e4be}}]};}else{const _0x43c6a9=this[_0x3b4f3c(0x241)]['getBatchRemoveOp']([_0x2e61c7]),_0xe76af6=this['_sheetDrawingService'][_0x3b4f3c(0x1be)]([_0x25e70f]),{rangeInfo:_0x2b268d,isRowDirection:_0xdf7b8e}=_0x2e4735[_0x3b4f3c(0x129)]['getRangeInfo']();return{'redos':[{'id':_univerjs_sheets_drawing[_0x3b4f3c(0x47d)]['id'],'params':{'unitId':_0x3717e0,'subUnitId':_0x36293f,'type':_univerjs_sheets_drawing[_0x3b4f3c(0x457)][_0x3b4f3c(0x98)],'op':_0x43c6a9[_0x3b4f3c(0x459)],'objects':_0x43c6a9[_0x3b4f3c(0xed)]}},{'id':_univerjs_pro_sheets_chart[_0x3b4f3c(0x100)]['id'],'params':{'unitId':_0x3717e0,'subUnitId':_0x36293f,'chartId':_0x2e61c7['drawingId']}},{'id':_univerjs_sheets_drawing[_0x3b4f3c(0x47d)]['id'],'params':{'unitId':_0x424615,'subUnitId':_0x550bb6,'type':_univerjs_sheets_drawing[_0x3b4f3c(0x457)][_0x3b4f3c(0x2e5)],'op':_0xe76af6[_0x3b4f3c(0x459)],'objects':_0xe76af6[_0x3b4f3c(0xed)]}},{'id':_univerjs_pro_sheets_chart[_0x3b4f3c(0x27a)]['id'],'params':{'unitId':_0x424615,'subUnitId':_0x550bb6,'chartId':_0x2e61c7['drawingId'],'chartType':_0x2e4735['chartType'],'range':_0x2b268d['range'],'rangeUnitId':_0x2b268d[_0x3b4f3c(0x2b2)],'rangeSubUnitId':_0x2b268d[_0x3b4f3c(0x4e5)],'isRowDirection':_0xdf7b8e}}],'undos':[{'id':_univerjs_sheets_drawing[_0x3b4f3c(0x47d)]['id'],'params':{'unitId':_0x3717e0,'subUnitId':_0x36293f,'type':_univerjs_sheets_drawing[_0x3b4f3c(0x457)]['INSERT'],'op':_0x43c6a9['undo'],'objects':_0x43c6a9[_0x3b4f3c(0xed)]}},{'id':_univerjs_pro_sheets_chart[_0x3b4f3c(0x27a)]['id'],'params':{'unitId':_0x3717e0,'subUnitId':_0x36293f,'chartId':_0x2e61c7[_0x3b4f3c(0x3b1)],'chartType':_0x2e4735[_0x3b4f3c(0x3be)],'range':_0x2b268d[_0x3b4f3c(0x286)],'rangeUnitId':_0x2b268d[_0x3b4f3c(0x2b2)],'rangeSubUnitId':_0x2b268d['subUnitId'],'isRowDirection':_0xdf7b8e}},{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x424615,'subUnitId':_0x550bb6,'type':_univerjs_sheets_drawing[_0x3b4f3c(0x457)][_0x3b4f3c(0x98)],'op':_0xe76af6[_0x3b4f3c(0x1de)],'objects':_0xe76af6['objects']}},{'id':_univerjs_pro_sheets_chart[_0x3b4f3c(0x100)]['id'],'params':{'unitId':_0x424615,'subUnitId':_0x550bb6,'chartId':_0x2e61c7[_0x3b4f3c(0x3b1)]}}]};}}[_0x38cd95(0x3ff)](_0x487a85,_0x1a82fa){const _0x459740=_0x38cd95,{toUnitId:_0xb647ae,toSubUnitId:_0x21371e,drawing:_0x9bcef7,newTransforms:_0x59645d}=_0x487a85,_0x5c70b5=(0x0,_univerjs_core[_0x459740(0xef)])(),_0x31c8fe={..._0x9bcef7,'unitId':_0xb647ae,'subUnitId':_0x21371e,'drawingId':_0x5c70b5,'transform':_0x59645d[_0x459740(0x29c)],'sheetTransform':_0x59645d[_0x459740(0x284)]},{redo:_0x24dd27,undo:_0x38a414,objects:_0x3a4382}=this[_0x459740(0x241)][_0x459740(0x1be)]([_0x31c8fe]),{rangeInfo:_0x22117c,isRowDirection:_0x4a7a68}=_0x1a82fa[_0x459740(0x129)]['getRangeInfo']();return{'redos':[{'id':_univerjs_sheets_drawing[_0x459740(0x47d)]['id'],'params':{'unitId':_0xb647ae,'subUnitId':_0x21371e,'type':_univerjs_sheets_drawing[_0x459740(0x457)][_0x459740(0x2e5)],'op':_0x24dd27,'objects':_0x3a4382}},{'id':_univerjs_pro_sheets_chart[_0x459740(0x27a)]['id'],'params':{'unitId':_0xb647ae,'subUnitId':_0x21371e,'chartId':_0x5c70b5,'chartType':_0x1a82fa[_0x459740(0x3be)],'range':_0x22117c[_0x459740(0x286)],'rangeUnitId':_0x22117c[_0x459740(0x2b2)],'rangeSubUnitId':_0x22117c[_0x459740(0x4e5)],'isRowDirection':_0x4a7a68}}],'undos':[{'id':_univerjs_sheets_drawing[_0x459740(0x47d)]['id'],'params':{'unitId':_0xb647ae,'subUnitId':_0x21371e,'type':_univerjs_sheets_drawing[_0x459740(0x457)]['REMOVE'],'op':_0x38a414,'objects':_0x3a4382}},{'id':_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0xb647ae,'subUnitId':_0x21371e,'chartId':_0x5c70b5}}]};}['_updateTransform'](_0x448a38,_0x512120,_0x161d63){const _0x12a5a4=_0x38cd95;var _0x1bd374;const {range:_0x18e624,skeleton:_0xc7d413}=_0x512120,{range:_0x3e9b91,skeleton:_0xb0e7c3}=_0x161d63,{transform:_0x41c94e,sheetTransform:_0x4a4dbf}=_0x448a38,_0x3e0a22={..._0x41c94e};if(_0x18e624){const _0x2e28e9=(0x0,_univerjs_sheets[_0x12a5a4(0x1dd)])(_0xc7d413,_0x18e624),_0x5bd805=(0x0,_univerjs_sheets[_0x12a5a4(0x1dd)])(_0xb0e7c3,_0x3e9b91);if(_0x2e28e9&&_0x5bd805){var _0x3e42e6,_0x20b4ab;const _0x2d2401=_0x5bd805['startX']-_0x2e28e9[_0x12a5a4(0x14a)],_0x53da69=_0x5bd805[_0x12a5a4(0x179)]-_0x2e28e9[_0x12a5a4(0x179)];_0x3e0a22[_0x12a5a4(0x444)]=((_0x3e42e6=_0x3e0a22[_0x12a5a4(0x444)])!==null&&_0x3e42e6!==void 0x0?_0x3e42e6:0x0)+_0x2d2401,_0x3e0a22[_0x12a5a4(0x20b)]=((_0x20b4ab=_0x3e0a22[_0x12a5a4(0x20b)])!==null&&_0x20b4ab!==void 0x0?_0x20b4ab:0x0)+_0x53da69;}}else{const _0x409083=(0x0,_univerjs_sheets[_0x12a5a4(0x1dd)])(_0xb0e7c3,_0x3e9b91);_0x3e0a22[_0x12a5a4(0x444)]=_0x409083===null||_0x409083===void 0x0?void 0x0:_0x409083[_0x12a5a4(0x14a)],_0x3e0a22[_0x12a5a4(0x20b)]=_0x409083===null||_0x409083===void 0x0?void 0x0:_0x409083[_0x12a5a4(0x179)];}return{'transform':_0x3e0a22,'sheetTransform':(_0x1bd374=(0x0,_univerjs_sheets_drawing[_0x12a5a4(0x3b7)])(_0x3e0a22,_0xb0e7c3))!==null&&_0x1bd374!==void 0x0?_0x1bd374:_0x4a4dbf};}};SheetsChartClipboardController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets[_0x38cd95(0x19d)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets_ui['ISheetClipboardService'])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_drawing['ISheetDrawingService'])),__decorateParam(0x3,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart[_0x38cd95(0x42f)]))],SheetsChartClipboardController);let SheetsChartUIPermissionController=class SheetsChartUIPermissionController extends _univerjs_core[_0x38cd95(0x4c4)]{constructor(_0x5da5e1,_0x59d64d,_0x58d1bb,_0x3e918f){const _0x1a0ad8=_0x38cd95;super(),this[_0x1a0ad8(0xe5)]=_0x5da5e1,this['_localeService']=_0x59d64d,this['_sheetPermissionCheckController']=_0x58d1bb,this[_0x1a0ad8(0x512)]=_0x3e918f,this['_initPermission']();}[_0x38cd95(0x338)](){const _0x562860=_0x38cd95;this[_0x562860(0x108)](this[_0x562860(0xe5)]['beforeCommandExecuted'](_0x2476a8=>{const _0x302950=_0x562860;let _0xbae74e,_0x5f35d9;if(_0x2476a8['id']===_univerjs_pro_sheets_chart[_0x302950(0x3d7)]['id']){const _0x556d7c=_0x2476a8[_0x302950(0x2c0)];_0xbae74e=_0x556d7c[_0x302950(0x2b2)],_0x5f35d9=_0x556d7c['subUnitId'];}else{if(_0x2476a8['id']===_univerjs_pro_sheets_chart[_0x302950(0x33e)]['id']||_0x2476a8['id']===_univerjs_pro_sheets_chart[_0x302950(0x469)]['id']){const _0x28cce8=_0x2476a8['params'];_0xbae74e=_0x28cce8[_0x302950(0x2b2)],_0x5f35d9=this['_sheetsChartService'][_0x302950(0x1c8)](_0x28cce8['unitId'],_0x28cce8[_0x302950(0x392)]);}}if(!_0xbae74e||!_0x5f35d9)return;if(!this[_0x302950(0xeb)][_0x302950(0x178)]({'workbookTypes':[_univerjs_sheets['WorkbookEditablePermission']],'worksheetTypes':[_univerjs_sheets[_0x302950(0x1f8)]]},_0xbae74e,_0x5f35d9))this[_0x302950(0xeb)]['blockExecuteWithoutPermission'](this[_0x302950(0x24e)]['t'](_0x302950(0x10d)));}));}};SheetsChartUIPermissionController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core['Inject'])(_univerjs_core['ICommandService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core['LocaleService'])),__decorateParam(0x2,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_sheets[_0x38cd95(0x417)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_pro_sheets_chart['SheetsChartService']))],SheetsChartUIPermissionController);if(!window[_0x38cd95(0x258)])window['setImmediate']=function setupSetImmediate(){const _0x43675f=_0x38cd95;return window['msSetImmediate']||window['webkitSetImmediate']||window['mozSetImmediate']||window[_0x43675f(0x341)]||function _0x101330(){const _0x1a4913=_0x43675f;if(!window['postMessage']||!window['addEventListener'])return null;const _0x279236=[void 0x0],_0x274f3a=_0x1a4913(0x203),_0x351892=function _0x51e70a(_0x3b0e89){const _0x13e5eb=_0x1a4913,_0x2a5b86=_0x279236['length'];return _0x279236[_0x13e5eb(0x231)](_0x3b0e89),window['postMessage'](_0x274f3a+_0x2a5b86[_0x13e5eb(0x31d)](0x24),'*'),_0x2a5b86;};return window[_0x1a4913(0x1c5)]('message',function _0x36c101(_0x2bdec7){const _0x41ad3f=_0x1a4913;if(typeof _0x2bdec7[_0x41ad3f(0x247)]!==_0x41ad3f(0x361)||_0x2bdec7['data']['substr'](0x0,0x14)!==_0x274f3a)return;_0x2bdec7[_0x41ad3f(0x4a0)]();const _0x5790cc=Number[_0x41ad3f(0x3d1)](_0x2bdec7[_0x41ad3f(0x247)][_0x41ad3f(0x1d5)](0x14),0x24);if(!_0x279236[_0x5790cc])return;_0x279236[_0x5790cc](),_0x279236[_0x5790cc]=void 0x0;},!![]),window[_0x1a4913(0x9f)]=function _0x4ad642(_0x70dff9){if(!_0x279236[_0x70dff9])return;_0x279236[_0x70dff9]=void 0x0;},_0x351892;}()||function _0x13a466(_0x14119f){window['setTimeout'](_0x14119f,0x0);};}();if(!window[_0x38cd95(0x9f)])window['clearImmediate']=function setupClearImmediate(){const _0xb3ac39=_0x38cd95;return window[_0xb3ac39(0x235)]||window[_0xb3ac39(0x396)]||window[_0xb3ac39(0x3ed)]||window['oClearImmediate']||function _0x4d2c34(_0x5206f0){const _0xc627f6=_0xb3ac39;window[_0xc627f6(0x3ee)](_0x5206f0);};}();const isSupported=function isSupported(){const _0x4a91b0=_0x38cd95,_0x4bac56=document[_0x4a91b0(0x87)](_0x4a91b0(0x395));if(!_0x4bac56||!_0x4bac56[_0x4a91b0(0x2d3)])return![];const _0x2f7354=_0x4bac56[_0x4a91b0(0x2d3)]('2d');if(!_0x2f7354)return![];if(!_0x2f7354[_0x4a91b0(0x190)])return![];if(!_0x2f7354[_0x4a91b0(0x97)])return![];if(!Array['prototype'][_0x4a91b0(0x314)])return![];if(!Array[_0x4a91b0(0x304)][_0x4a91b0(0x231)])return![];return!![];}(),minFontSize=function getMinFontSize(){const _0x13844d=_0x38cd95;if(!isSupported)return;const _0x1147d4=document[_0x13844d(0x87)](_0x13844d(0x395))[_0x13844d(0x2d3)]('2d');let _0x5f5a83=0x14,_0x147f68,_0x43651d;while(_0x5f5a83){_0x1147d4['font']=_0x5f5a83[_0x13844d(0x31d)](0xa)+'px\x20sans-serif';if(_0x1147d4[_0x13844d(0x35d)]('W')['width']===_0x147f68&&_0x1147d4[_0x13844d(0x35d)]('m')[_0x13844d(0xd2)]===_0x43651d)return _0x5f5a83+0x1;_0x147f68=_0x1147d4[_0x13844d(0x35d)]('W')['width'],_0x43651d=_0x1147d4[_0x13844d(0x35d)]('m')[_0x13844d(0xd2)],_0x5f5a83--;}return 0x0;}(),getItemExtraData=function(_0x2eb731){const _0x4013b1=_0x38cd95;if(Array[_0x4013b1(0x49c)](_0x2eb731)){const _0x41c292=_0x2eb731[_0x4013b1(0x2f7)]();return _0x41c292[_0x4013b1(0x51e)](0x0,0x2),_0x41c292;}else return[];},shuffleArray=function shuffleArray(_0x4ce024){const _0x5a3ee7=_0x38cd95;for(let _0x34a1a4,_0x30fd3a,_0xe229a2=_0x4ce024[_0x5a3ee7(0x111)];_0xe229a2;){_0x34a1a4=Math[_0x5a3ee7(0x126)](Math[_0x5a3ee7(0x213)]()*_0xe229a2),_0x30fd3a=_0x4ce024[--_0xe229a2],_0x4ce024[_0xe229a2]=_0x4ce024[_0x34a1a4],_0x4ce024[_0x34a1a4]=_0x30fd3a;}return _0x4ce024;},timer={},WordCloud=function WordCloud(_0x3e6f54,_0x4baba9){const _0x30b005=_0x38cd95;if(!isSupported)return;const _0x19297b=Math[_0x30b005(0x126)](Math['random']()*Date['now']());if(!Array[_0x30b005(0x49c)](_0x3e6f54))_0x3e6f54=[_0x3e6f54];_0x3e6f54[_0x30b005(0x23b)](function(_0x54dada,_0x259257){const _0x2d8524=_0x30b005;if(typeof _0x54dada===_0x2d8524(0x361)){_0x3e6f54[_0x259257]=document['getElementById'](_0x54dada);if(!_0x3e6f54[_0x259257])throw new Error(_0x2d8524(0x3a0));}else{if(!_0x54dada['tagName']&&!_0x54dada['appendChild'])throw new Error('You\x20must\x20pass\x20valid\x20HTML\x20elements,\x20or\x20ID\x20of\x20the\x20element.');}});const _0x1d3f89={'list':[],'fontFamily':_0x30b005(0x426),'fontWeight':_0x30b005(0xa1),'color':'random-dark','minSize':0x0,'weightFactor':0x1,'clearCanvas':!![],'backgroundColor':_0x30b005(0xe4),'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'origin':null,'drawMask':![],'maskColor':_0x30b005(0x320),'maskGapWidth':0.3,'layoutAnimation':!![],'wait':0x0,'abortThreshold':0x0,'abort':function _0x50cab6(){},'minRotation':-Math['PI']/0x2,'maxRotation':Math['PI']/0x2,'rotationStep':0.1,'shuffle':!![],'rotateRatio':0.1,'shape':_0x30b005(0x137),'ellipticity':0.65,'classes':null,'hover':null,'click':null};if(_0x4baba9){for(const _0x26784c in _0x4baba9)if(_0x26784c in _0x1d3f89)_0x1d3f89[_0x26784c]=_0x4baba9[_0x26784c];}if(typeof _0x1d3f89[_0x30b005(0x3d8)]!==_0x30b005(0x35f)){const _0x6548c0=_0x1d3f89[_0x30b005(0x3d8)];_0x1d3f89[_0x30b005(0x3d8)]=function _0x35e2f5(_0x2b6cb0){return _0x2b6cb0*_0x6548c0;};}if(typeof _0x1d3f89[_0x30b005(0x146)]!=='function')switch(_0x1d3f89[_0x30b005(0x146)]){case _0x30b005(0xe7):_0x1d3f89['shape']=function _0x1987ed(_0x127f9c){const _0x324c1c=_0x30b005;return 0x1-Math[_0x324c1c(0x1d3)](_0x127f9c);};break;case _0x30b005(0x21f):_0x1d3f89[_0x30b005(0x146)]=function _0xc3b2b5(_0x371c6c){const _0x4b7b0e=_0x30b005,_0x1ce51f=_0x371c6c%(0x2*Math['PI']/0x4);return 0x1/(Math[_0x4b7b0e(0x4bc)](_0x1ce51f)+Math[_0x4b7b0e(0x1d3)](_0x1ce51f));};break;case _0x30b005(0x46f):_0x1d3f89['shape']=function _0x4949d7(_0x108398){const _0x141df5=_0x30b005;return Math[_0x141df5(0x462)](0x1/Math[_0x141df5(0x204)](Math[_0x141df5(0x4bc)](_0x108398)),0x1/Math['abs'](Math[_0x141df5(0x1d3)](_0x108398)));};break;case'triangle-forward':_0x1d3f89[_0x30b005(0x146)]=function _0xb41b01(_0x33ed5d){const _0x4ce036=_0x30b005,_0x5486ed=_0x33ed5d%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x4ce036(0x4bc)](_0x5486ed)+Math[_0x4ce036(0x3f9)](0x3)*Math['sin'](_0x5486ed));};break;case'triangle':case'triangle-upright':_0x1d3f89[_0x30b005(0x146)]=function _0xc589d0(_0x50e315){const _0xf76afd=_0x30b005,_0x460b8a=(_0x50e315+Math['PI']*0x3/0x2)%(0x2*Math['PI']/0x3);return 0x1/(Math['cos'](_0x460b8a)+Math['sqrt'](0x3)*Math[_0xf76afd(0x1d3)](_0x460b8a));};break;case _0x30b005(0xfb):_0x1d3f89[_0x30b005(0x146)]=function _0x629c5b(_0x514bc5){const _0x5827e4=_0x30b005,_0x3a9a13=(_0x514bc5+0.955)%(0x2*Math['PI']/0x5);return 0x1/(Math[_0x5827e4(0x4bc)](_0x3a9a13)+0.726543*Math[_0x5827e4(0x1d3)](_0x3a9a13));};break;case _0x30b005(0x2c4):_0x1d3f89[_0x30b005(0x146)]=function _0x462fec(_0x211715){const _0x130986=_0x30b005,_0xfa6ec4=(_0x211715+0.955)%(0x2*Math['PI']/0xa);if((_0x211715+0.955)%(0x2*Math['PI']/0x5)-0x2*Math['PI']/0xa>=0x0)return 0x1/(Math[_0x130986(0x4bc)](0x2*Math['PI']/0xa-_0xfa6ec4)+3.07768*Math[_0x130986(0x1d3)](0x2*Math['PI']/0xa-_0xfa6ec4));else return 0x1/(Math['cos'](_0xfa6ec4)+3.07768*Math[_0x130986(0x1d3)](_0xfa6ec4));};break;default:_0x1d3f89['shape']=_0x30b005(0x137);break;}_0x1d3f89[_0x30b005(0x411)]=Math[_0x30b005(0x1a0)](Math[_0x30b005(0x126)](_0x1d3f89[_0x30b005(0x411)]),0x4);const _0xd42280=_0x1d3f89[_0x30b005(0x411)],_0x113a59=_0xd42280-_0x1d3f89[_0x30b005(0x169)],_0x511721=Math[_0x30b005(0x204)](_0x1d3f89['maxRotation']-_0x1d3f89[_0x30b005(0x1cf)]),_0x477337=Math[_0x30b005(0x462)](_0x1d3f89[_0x30b005(0x127)],_0x1d3f89[_0x30b005(0x1cf)]),_0x19d828=_0x1d3f89[_0x30b005(0x4aa)];let _0x20efc4,_0x5b7618,_0x10e92b,_0x71b859,_0x36719e,_0x24c254,_0x2e21b1;function _0x1311a1(_0x2c3e90,_0x59b9c5){const _0x57f552=_0x30b005;return _0x57f552(0x13f)+(Math[_0x57f552(0x213)]()*0x168)[_0x57f552(0x419)]()+','+(Math[_0x57f552(0x213)]()*0x1e+0x46)['toFixed']()+'%,'+(Math[_0x57f552(0x213)]()*(_0x59b9c5-_0x2c3e90)+_0x2c3e90)[_0x57f552(0x419)]()+'%)';}switch(_0x1d3f89[_0x30b005(0x461)]){case _0x30b005(0x1fa):_0x2e21b1=function _0x29a6bb(){return _0x1311a1(0xa,0x32);};break;case _0x30b005(0xc4):_0x2e21b1=function _0x4fd917(){return _0x1311a1(0x32,0x5a);};break;default:if(typeof _0x1d3f89[_0x30b005(0x461)]==='function')_0x2e21b1=_0x1d3f89[_0x30b005(0x461)];break;}let _0xc97de0;if(typeof _0x1d3f89['fontWeight']===_0x30b005(0x35f))_0xc97de0=_0x1d3f89['fontWeight'];let _0x2a3ca0=null;if(typeof _0x1d3f89[_0x30b005(0x263)]===_0x30b005(0x35f))_0x2a3ca0=_0x1d3f89['classes'];let _0x3dc7be=![];const _0x3bf18b=[];let _0x286af4;const _0x432b40=function _0xb64362(_0x3c8313){const _0x2630c2=_0x30b005,_0x28ecf4=_0x3c8313[_0x2630c2(0x219)],_0x2927c8=_0x28ecf4[_0x2630c2(0x84)]();let _0x362782,_0xfa0dff;_0x3c8313[_0x2630c2(0x1f4)]?(_0x362782=_0x3c8313[_0x2630c2(0x1f4)][0x0][_0x2630c2(0x159)],_0xfa0dff=_0x3c8313['touches'][0x0][_0x2630c2(0x233)]):(_0x362782=_0x3c8313[_0x2630c2(0x159)],_0xfa0dff=_0x3c8313[_0x2630c2(0x233)]);const _0x5616e8=_0x362782-_0x2927c8[_0x2630c2(0x444)],_0x430c6f=_0xfa0dff-_0x2927c8[_0x2630c2(0x20b)],_0x55e958=Math[_0x2630c2(0x126)](_0x5616e8*(_0x28ecf4[_0x2630c2(0xd2)]/_0x2927c8[_0x2630c2(0xd2)]||0x1)/_0xd42280),_0x4584=Math[_0x2630c2(0x126)](_0x430c6f*(_0x28ecf4[_0x2630c2(0x209)]/_0x2927c8[_0x2630c2(0x209)]||0x1)/_0xd42280);if(!_0x3bf18b[_0x55e958])return null;return _0x3bf18b[_0x55e958][_0x4584];},_0x1523ee=function _0x5085eb(_0xe67663){const _0x48bf36=_0x30b005,_0xd9d00e=_0x432b40(_0xe67663);if(_0x286af4===_0xd9d00e)return;_0x286af4=_0xd9d00e;if(!_0xd9d00e){_0x1d3f89[_0x48bf36(0x176)](void 0x0,void 0x0,_0xe67663);return;}_0x1d3f89['hover'](_0xd9d00e['item'],_0xd9d00e['dimension'],_0xe67663);},_0x224d1f=function _0xa961fc(_0x4b2596){const _0x172c87=_0x30b005,_0x1ff079=_0x432b40(_0x4b2596);if(!_0x1ff079)return;_0x1d3f89['click'](_0x1ff079[_0x172c87(0x23e)],_0x1ff079[_0x172c87(0x358)],_0x4b2596),_0x4b2596[_0x172c87(0x28a)]();},_0x20b1a4=[],_0x4fd8f1=function _0x494c77(_0x5681f6){const _0x40f681=_0x30b005;if(_0x20b1a4[_0x5681f6])return _0x20b1a4[_0x5681f6];const _0x5428e8=_0x5681f6*0x8;let _0x150b7d=_0x5428e8;const _0x56c237=[];if(_0x5681f6===0x0)_0x56c237[_0x40f681(0x231)]([_0x71b859[0x0],_0x71b859[0x1],0x0]);while(_0x150b7d--){let _0x3e2dce=0x1;if(_0x1d3f89[_0x40f681(0x146)]!==_0x40f681(0x137))_0x3e2dce=_0x1d3f89[_0x40f681(0x146)](_0x150b7d/_0x5428e8*0x2*Math['PI']);_0x56c237[_0x40f681(0x231)]([_0x71b859[0x0]+_0x5681f6*_0x3e2dce*Math[_0x40f681(0x4bc)](-_0x150b7d/_0x5428e8*0x2*Math['PI']),_0x71b859[0x1]+_0x5681f6*_0x3e2dce*Math[_0x40f681(0x1d3)](-_0x150b7d/_0x5428e8*0x2*Math['PI'])*_0x1d3f89[_0x40f681(0x372)],_0x150b7d/_0x5428e8*0x2*Math['PI']]);}return _0x20b1a4[_0x5681f6]=_0x56c237,_0x56c237;},_0x32f78b=function _0x437d06(){const _0x169e47=_0x30b005;return _0x1d3f89[_0x169e47(0x2d6)]>0x0&&new Date()['getTime']()-_0x24c254>_0x1d3f89['abortThreshold'];},_0x2a6960=function _0x13edec(){const _0x1cb113=_0x30b005;if(_0x1d3f89[_0x1cb113(0x43c)]===0x0)return 0x0;if(Math[_0x1cb113(0x213)]()>_0x1d3f89['rotateRatio'])return 0x0;if(_0x511721===0x0)return _0x477337;return _0x477337+Math[_0x1cb113(0x8a)](Math[_0x1cb113(0x213)]()*_0x511721/_0x19d828)*_0x19d828;},_0x2e9bfb=function _0x1ddb59(_0x4f8e82,_0x2af7bd,_0x15b753,_0x43cb10){const _0x4d97fa=_0x30b005,_0x384156=_0x1d3f89[_0x4d97fa(0x3d8)](_0x2af7bd);if(_0x384156<=_0x1d3f89[_0x4d97fa(0xad)])return![];let _0x298137=0x1;if(_0x384156<minFontSize)_0x298137=function _0x4edb58(){let _0x3bbfec=0x2;while(_0x3bbfec*_0x384156<minFontSize)_0x3bbfec+=0x2;return _0x3bbfec;}();let _0x7db171;if(_0xc97de0)_0x7db171=_0xc97de0(_0x4f8e82,_0x2af7bd,_0x384156,_0x43cb10);else _0x7db171=_0x1d3f89['fontWeight'];const _0x369222=document[_0x4d97fa(0x87)](_0x4d97fa(0x395)),_0x3de07b=_0x369222[_0x4d97fa(0x2d3)]('2d',{'willReadFrequently':!![]});_0x3de07b[_0x4d97fa(0x1e7)]=_0x7db171+'\x20'+(_0x384156*_0x298137)['toString'](0xa)+_0x4d97fa(0x33b)+_0x1d3f89[_0x4d97fa(0x26e)];const _0x4886aa=_0x3de07b[_0x4d97fa(0x35d)](_0x4f8e82)[_0x4d97fa(0xd2)]/_0x298137,_0x2bd49b=Math[_0x4d97fa(0x1a0)](_0x384156*_0x298137,_0x3de07b[_0x4d97fa(0x35d)]('m')[_0x4d97fa(0xd2)],_0x3de07b[_0x4d97fa(0x35d)]('W')[_0x4d97fa(0xd2)])/_0x298137;let _0x44636e=_0x4886aa+_0x2bd49b*0x2,_0x272390=_0x2bd49b*0x3;const _0x48492c=Math[_0x4d97fa(0x244)](_0x44636e/_0xd42280),_0x26e2bb=Math['ceil'](_0x272390/_0xd42280);_0x44636e=_0x48492c*_0xd42280,_0x272390=_0x26e2bb*_0xd42280;const _0x2cdfd0=-_0x4886aa/0x2,_0x3d257c=-_0x2bd49b*0.4,_0x18ab0a=Math['ceil']((_0x44636e*Math[_0x4d97fa(0x204)](Math['sin'](_0x15b753))+_0x272390*Math[_0x4d97fa(0x204)](Math['cos'](_0x15b753)))/_0xd42280),_0x31eaa=Math[_0x4d97fa(0x244)]((_0x44636e*Math['abs'](Math[_0x4d97fa(0x4bc)](_0x15b753))+_0x272390*Math['abs'](Math[_0x4d97fa(0x1d3)](_0x15b753)))/_0xd42280),_0x35c4dd=_0x31eaa*_0xd42280,_0x4f509b=_0x18ab0a*_0xd42280;_0x369222[_0x4d97fa(0x504)](_0x4d97fa(0xd2),_0x35c4dd),_0x369222[_0x4d97fa(0x504)](_0x4d97fa(0x209),_0x4f509b),_0x3de07b[_0x4d97fa(0x305)](0x1/_0x298137,0x1/_0x298137),_0x3de07b[_0x4d97fa(0x2da)](_0x35c4dd*_0x298137/0x2,_0x4f509b*_0x298137/0x2),_0x3de07b['rotate'](-_0x15b753),_0x3de07b[_0x4d97fa(0x1e7)]=_0x7db171+'\x20'+(_0x384156*_0x298137)['toString'](0xa)+'px\x20'+_0x1d3f89[_0x4d97fa(0x26e)],_0x3de07b[_0x4d97fa(0x4c3)]=_0x4d97fa(0x4bd),_0x3de07b[_0x4d97fa(0x18e)]=_0x4d97fa(0x330),_0x3de07b['fillText'](_0x4f8e82,_0x2cdfd0*_0x298137,(_0x3d257c+_0x384156*0.5)*_0x298137);const _0x22ce59=_0x3de07b[_0x4d97fa(0x190)](0x0,0x0,_0x35c4dd,_0x4f509b)[_0x4d97fa(0x247)];if(_0x32f78b())return![];const _0x14974f=[];let _0x803a9e=_0x31eaa,_0x265207,_0x3ea0a8,_0x5dc75f;const _0xbfc58b=[_0x18ab0a/0x2,_0x31eaa/0x2,_0x18ab0a/0x2,_0x31eaa/0x2];while(_0x803a9e--){_0x265207=_0x18ab0a;while(_0x265207--){_0x5dc75f=_0xd42280;_0x59aa44:while(_0x5dc75f--){_0x3ea0a8=_0xd42280;while(_0x3ea0a8--)if(_0x22ce59[((_0x265207*_0xd42280+_0x5dc75f)*_0x35c4dd+(_0x803a9e*_0xd42280+_0x3ea0a8))*0x4+0x3]){_0x14974f['push']([_0x803a9e,_0x265207]);if(_0x803a9e<_0xbfc58b[0x3])_0xbfc58b[0x3]=_0x803a9e;if(_0x803a9e>_0xbfc58b[0x1])_0xbfc58b[0x1]=_0x803a9e;if(_0x265207<_0xbfc58b[0x0])_0xbfc58b[0x0]=_0x265207;if(_0x265207>_0xbfc58b[0x2])_0xbfc58b[0x2]=_0x265207;break _0x59aa44;}}}}return{'mu':_0x298137,'occupied':_0x14974f,'bounds':_0xbfc58b,'gw':_0x31eaa,'gh':_0x18ab0a,'fillTextOffsetX':_0x2cdfd0,'fillTextOffsetY':_0x3d257c,'fillTextWidth':_0x4886aa,'fillTextHeight':_0x2bd49b,'fontSize':_0x384156};},_0x16d69e=function _0x2b2f54(_0x39222e,_0x57290c,_0x4c5d2c,_0x11bfdc,_0x5640d5){const _0x51e62c=_0x30b005;let _0x26508b=_0x5640d5['length'];while(_0x26508b--){const _0x57dae9=_0x39222e+_0x5640d5[_0x26508b][0x0],_0x138af2=_0x57290c+_0x5640d5[_0x26508b][0x1];if(_0x57dae9>=_0x5b7618||_0x138af2>=_0x10e92b||_0x57dae9<0x0||_0x138af2<0x0){if(!_0x1d3f89[_0x51e62c(0x497)])return![];continue;}if(!_0x20efc4[_0x57dae9][_0x138af2])return![];}return!![];},_0x34ef23=function _0x5ce250(_0x284079,_0x18d6e8,_0x3f9401,_0x5e309c,_0x812f5d,_0x155bab,_0x21788a,_0x38ff44,_0x487873,_0x30a2f6){const _0x366a84=_0x30b005,_0x500dc6=_0x3f9401[_0x366a84(0x495)];let _0x48caf6;if(_0x2e21b1)_0x48caf6=_0x2e21b1(_0x5e309c,_0x812f5d,_0x500dc6,_0x155bab,_0x21788a,_0x30a2f6);else _0x48caf6=_0x1d3f89['color'];let _0x36e51a;if(_0xc97de0)_0x36e51a=_0xc97de0(_0x5e309c,_0x812f5d,_0x500dc6,_0x30a2f6);else _0x36e51a=_0x1d3f89[_0x366a84(0x288)];let _0x1403e0;if(_0x2a3ca0)_0x1403e0=_0x2a3ca0(_0x5e309c,_0x812f5d,_0x500dc6,_0x30a2f6);else _0x1403e0=_0x1d3f89[_0x366a84(0x263)];_0x3e6f54[_0x366a84(0x23b)](function(_0x17bacf){const _0x42e311=_0x366a84;if(_0x17bacf['getContext']){const _0x37587b=_0x17bacf[_0x42e311(0x2d3)]('2d'),_0x283574=_0x3f9401['mu'];_0x37587b[_0x42e311(0x7a)](),_0x37587b[_0x42e311(0x305)](0x1/_0x283574,0x1/_0x283574),_0x37587b[_0x42e311(0x1e7)]=_0x36e51a+'\x20'+(_0x500dc6*_0x283574)[_0x42e311(0x31d)](0xa)+_0x42e311(0x33b)+_0x1d3f89[_0x42e311(0x26e)],_0x37587b[_0x42e311(0x4c3)]=_0x48caf6,_0x37587b[_0x42e311(0x2da)]((_0x284079+_0x3f9401['gw']/0x2)*_0xd42280*_0x283574,(_0x18d6e8+_0x3f9401['gh']/0x2)*_0xd42280*_0x283574);if(_0x38ff44!==0x0)_0x37587b[_0x42e311(0x2ce)](-_0x38ff44);_0x37587b[_0x42e311(0x18e)]=_0x42e311(0x330),_0x37587b['fillText'](_0x5e309c,_0x3f9401[_0x42e311(0x458)]*_0x283574,(_0x3f9401[_0x42e311(0x21d)]+_0x500dc6*0.5)*_0x283574),_0x37587b[_0x42e311(0x38e)]();}else{const _0x56d509=document[_0x42e311(0x87)](_0x42e311(0x1ec));let _0x11132a='';_0x11132a=_0x42e311(0x42e)+-_0x38ff44/Math['PI']*0xb4+_0x42e311(0x2c8);if(_0x3f9401['mu']!==0x1)_0x11132a+='translateX(-'+_0x3f9401[_0x42e311(0x30b)]/0x4+_0x42e311(0x141)+0x1/_0x3f9401['mu']+')';const _0x777c4f={'position':_0x42e311(0x232),'display':_0x42e311(0x262),'font':_0x36e51a+'\x20'+_0x500dc6*_0x3f9401['mu']+_0x42e311(0x33b)+_0x1d3f89[_0x42e311(0x26e)],'left':(_0x284079+_0x3f9401['gw']/0x2)*_0xd42280+_0x3f9401[_0x42e311(0x458)]+'px','top':(_0x18d6e8+_0x3f9401['gh']/0x2)*_0xd42280+_0x3f9401['fillTextOffsetY']+'px','width':_0x3f9401['fillTextWidth']+'px','height':_0x3f9401[_0x42e311(0x117)]+'px','lineHeight':_0x500dc6+'px','whiteSpace':'nowrap','transform':_0x11132a,'webkitTransform':_0x11132a,'msTransform':_0x11132a,'transformOrigin':'50%\x2040%','webkitTransformOrigin':'50%\x2040%','msTransformOrigin':_0x42e311(0x3e6)};if(_0x48caf6)_0x777c4f[_0x42e311(0x461)]=_0x48caf6;_0x56d509[_0x42e311(0x34c)]=_0x5e309c;for(const _0x2fda20 in _0x777c4f)_0x56d509['style'][_0x2fda20]=_0x777c4f[_0x2fda20];if(_0x487873){for(const _0x1e303c in _0x487873)_0x56d509[_0x42e311(0x504)](_0x1e303c,_0x487873[_0x1e303c]);}if(_0x1403e0)_0x56d509['className']+=_0x1403e0;_0x17bacf[_0x42e311(0x110)](_0x56d509);}});},_0x524395=function _0x5620c6(_0x584a37,_0x941ab6,_0x458777,_0x1d63d8,_0x4ef349){const _0x1a2d42=_0x30b005;if(_0x584a37>=_0x5b7618||_0x941ab6>=_0x10e92b||_0x584a37<0x0||_0x941ab6<0x0)return;_0x20efc4[_0x584a37][_0x941ab6]=![];if(_0x458777)_0x3e6f54[0x0]['getContext']('2d')[_0x1a2d42(0x246)](_0x584a37*_0xd42280,_0x941ab6*_0xd42280,_0x113a59,_0x113a59);if(_0x3dc7be)_0x3bf18b[_0x584a37][_0x941ab6]={'item':_0x4ef349,'dimension':_0x1d63d8};},_0x585d3f=function _0x1b789b(_0x50a4ca,_0xafe942,_0x15aac9,_0x49cbf0,_0x5a5779,_0x35957a){const _0x430f9c=_0x30b005,_0x3f9cce=_0x5a5779[_0x430f9c(0x279)],_0x24cfea=_0x1d3f89[_0x430f9c(0x225)];let _0x2fe1fb;_0x24cfea&&(_0x2fe1fb=_0x3e6f54[0x0]['getContext']('2d'),_0x2fe1fb[_0x430f9c(0x7a)](),_0x2fe1fb[_0x430f9c(0x4c3)]=_0x1d3f89[_0x430f9c(0x2a7)]);let _0xc48d6b;if(_0x3dc7be){const _0x2c4f96=_0x5a5779[_0x430f9c(0x477)];_0xc48d6b={'x':(_0x50a4ca+_0x2c4f96[0x3])*_0xd42280,'y':(_0xafe942+_0x2c4f96[0x0])*_0xd42280,'w':(_0x2c4f96[0x1]-_0x2c4f96[0x3]+0x1)*_0xd42280,'h':(_0x2c4f96[0x2]-_0x2c4f96[0x0]+0x1)*_0xd42280};}let _0x18aadc=_0x3f9cce['length'];while(_0x18aadc--){const _0x4a4dc8=_0x50a4ca+_0x3f9cce[_0x18aadc][0x0],_0x26e102=_0xafe942+_0x3f9cce[_0x18aadc][0x1];if(_0x4a4dc8>=_0x5b7618||_0x26e102>=_0x10e92b||_0x4a4dc8<0x0||_0x26e102<0x0)continue;_0x524395(_0x4a4dc8,_0x26e102,_0x24cfea,_0xc48d6b,_0x35957a);}if(_0x24cfea)_0x2fe1fb[_0x430f9c(0x38e)]();},_0x1f7fd0=function _0x54b3f9(_0x3ac4d6,_0x3915f1){const _0x16986e=_0x30b005;if(_0x3915f1>0x14)return null;let _0x45667a,_0x31a077,_0x55ae2d;Array['isArray'](_0x3ac4d6)?(_0x45667a=_0x3ac4d6[0x0],_0x31a077=_0x3ac4d6[0x1]):(_0x45667a=_0x3ac4d6[_0x16986e(0xd7)],_0x31a077=_0x3ac4d6[_0x16986e(0x4ec)],_0x55ae2d=_0x3ac4d6[_0x16986e(0x48e)]);const _0x32dcfd=_0x2a6960(),_0x5cd439=getItemExtraData(_0x3ac4d6),_0x3c6368=_0x2e9bfb(_0x45667a,_0x31a077,_0x32dcfd,_0x5cd439);if(!_0x3c6368)return![];if(_0x32f78b())return![];if(!_0x1d3f89['drawOutOfBound']&&!_0x1d3f89[_0x16986e(0x196)]){const _0x1733e2=_0x3c6368['bounds'];if(_0x1733e2[0x1]-_0x1733e2[0x3]+0x1>_0x5b7618||_0x1733e2[0x2]-_0x1733e2[0x0]+0x1>_0x10e92b)return![];}let _0x20eed2=_0x36719e+0x1;const _0x3fd85b=function(_0x4267f1){const _0x4e773c=_0x16986e,_0x53d2a2=Math[_0x4e773c(0x126)](_0x4267f1[0x0]-_0x3c6368['gw']/0x2),_0x27af1e=Math[_0x4e773c(0x126)](_0x4267f1[0x1]-_0x3c6368['gh']/0x2),_0x388b79=_0x3c6368['gw'],_0x3b7672=_0x3c6368['gh'];if(!_0x16d69e(_0x53d2a2,_0x27af1e,_0x388b79,_0x3b7672,_0x3c6368[_0x4e773c(0x279)]))return![];return _0x34ef23(_0x53d2a2,_0x27af1e,_0x3c6368,_0x45667a,_0x31a077,_0x36719e-_0x20eed2,_0x4267f1[0x2],_0x32dcfd,_0x55ae2d,_0x5cd439),_0x585d3f(_0x53d2a2,_0x27af1e,_0x388b79,_0x3b7672,_0x3c6368,_0x3ac4d6),{'gx':_0x53d2a2,'gy':_0x27af1e,'rot':_0x32dcfd,'info':_0x3c6368};};while(_0x20eed2--){let _0x1a1fed=_0x4fd8f1(_0x36719e-_0x20eed2);_0x1d3f89[_0x16986e(0x2e1)]&&(_0x1a1fed=[][_0x16986e(0x11a)](_0x1a1fed),shuffleArray(_0x1a1fed));for(let _0x2283ff=0x0;_0x2283ff<_0x1a1fed[_0x16986e(0x111)];_0x2283ff++){const _0x5c9e76=_0x3fd85b(_0x1a1fed[_0x2283ff]);if(_0x5c9e76)return _0x5c9e76;}}if(_0x1d3f89['shrinkToFit']){if(Array[_0x16986e(0x49c)](_0x3ac4d6))_0x3ac4d6[0x1]=_0x3ac4d6[0x1]*0x3/0x4;else _0x3ac4d6['weight']=_0x3ac4d6[_0x16986e(0x4ec)]*0x3/0x4;return _0x54b3f9(_0x3ac4d6,_0x3915f1+0x1);}return null;},_0x2232eb=function _0x2645b9(_0x2eb973,_0x472dfb,_0x4028a9){const _0x19cad2=_0x30b005;if(_0x472dfb)return!_0x3e6f54[_0x19cad2(0x314)](function(_0x29dc05){const _0x383454=_0x19cad2,_0x1ef181=new CustomEvent(_0x2eb973,{'detail':_0x4028a9||{}});return!_0x29dc05[_0x383454(0x1f9)](_0x1ef181);},this);else _0x3e6f54['forEach'](function(_0x295cd4){const _0x1423ee=_0x19cad2,_0x183214=new CustomEvent(_0x2eb973,{'detail':_0x4028a9||{}});_0x295cd4[_0x1423ee(0x1f9)](_0x183214);},this);};(function _0x18ccf1(){const _0x1e25be=_0x30b005,_0x49381f=_0x3e6f54[0x0];if(_0x49381f[_0x1e25be(0x2d3)])_0x5b7618=Math[_0x1e25be(0x244)](_0x49381f[_0x1e25be(0xd2)]/_0xd42280),_0x10e92b=Math['ceil'](_0x49381f[_0x1e25be(0x209)]/_0xd42280);else{const _0x27964b=_0x49381f[_0x1e25be(0x84)]();_0x5b7618=Math['ceil'](_0x27964b['width']/_0xd42280),_0x10e92b=Math[_0x1e25be(0x244)](_0x27964b[_0x1e25be(0x209)]/_0xd42280);}if(!_0x2232eb('wordcloudstart',!![]))return;_0x71b859=_0x1d3f89[_0x1e25be(0x327)]?[_0x1d3f89['origin'][0x0]/_0xd42280,_0x1d3f89[_0x1e25be(0x327)][0x1]/_0xd42280]:[_0x5b7618/0x2,_0x10e92b/0x2],_0x36719e=Math['floor'](Math['sqrt'](_0x5b7618*_0x5b7618+_0x10e92b*_0x10e92b)),_0x20efc4=[];let _0x14a22a,_0x1baa46,_0xe79e0e;if(!_0x49381f[_0x1e25be(0x2d3)]||_0x1d3f89[_0x1e25be(0x35c)]){_0x3e6f54[_0x1e25be(0x23b)](function(_0x30cb3f){const _0x2dfd63=_0x1e25be;if(_0x30cb3f[_0x2dfd63(0x2d3)]){const _0x583d57=_0x30cb3f[_0x2dfd63(0x2d3)]('2d');_0x583d57[_0x2dfd63(0x4c3)]=_0x1d3f89[_0x2dfd63(0x323)],_0x583d57[_0x2dfd63(0x1ae)](0x0,0x0,_0x5b7618*(_0xd42280+0x1),_0x10e92b*(_0xd42280+0x1)),_0x583d57[_0x2dfd63(0x246)](0x0,0x0,_0x5b7618*(_0xd42280+0x1),_0x10e92b*(_0xd42280+0x1));}else _0x30cb3f[_0x2dfd63(0x34c)]='',_0x30cb3f[_0x2dfd63(0x48c)][_0x2dfd63(0x323)]=_0x1d3f89['backgroundColor'],_0x30cb3f['style'][_0x2dfd63(0x16b)]=_0x2dfd63(0x3f5);}),_0x14a22a=_0x5b7618;while(_0x14a22a--){_0x20efc4[_0x14a22a]=[],_0x1baa46=_0x10e92b;while(_0x1baa46--)_0x20efc4[_0x14a22a][_0x1baa46]=!![];}}else{let _0xde36d8=document['createElement']('canvas')[_0x1e25be(0x2d3)]('2d');_0xde36d8[_0x1e25be(0x4c3)]=_0x1d3f89['backgroundColor'],_0xde36d8[_0x1e25be(0x246)](0x0,0x0,0x1,0x1);let _0x257266=_0xde36d8[_0x1e25be(0x190)](0x0,0x0,0x1,0x1)[_0x1e25be(0x247)],_0xcbc928=_0x49381f[_0x1e25be(0x2d3)]('2d')['getImageData'](0x0,0x0,_0x5b7618*_0xd42280,_0x10e92b*_0xd42280)[_0x1e25be(0x247)];_0x14a22a=_0x5b7618;let _0x283b96,_0x1eee99;while(_0x14a22a--){_0x20efc4[_0x14a22a]=[],_0x1baa46=_0x10e92b;while(_0x1baa46--){_0x1eee99=_0xd42280;_0x216070:while(_0x1eee99--){_0x283b96=_0xd42280;while(_0x283b96--){_0xe79e0e=0x4;while(_0xe79e0e--)if(_0xcbc928[((_0x1baa46*_0xd42280+_0x1eee99)*_0x5b7618*_0xd42280+(_0x14a22a*_0xd42280+_0x283b96))*0x4+_0xe79e0e]!==_0x257266[_0xe79e0e]){_0x20efc4[_0x14a22a][_0x1baa46]=![];break _0x216070;}}}if(_0x20efc4[_0x14a22a][_0x1baa46]!==![])_0x20efc4[_0x14a22a][_0x1baa46]=!![];}}_0xcbc928=_0xde36d8=_0x257266=void 0x0;}if(_0x1d3f89['hover']||_0x1d3f89[_0x1e25be(0xcb)]){_0x3dc7be=!![],_0x14a22a=_0x5b7618+0x1;while(_0x14a22a--)_0x3bf18b[_0x14a22a]=[];if(_0x1d3f89[_0x1e25be(0x176)])_0x49381f[_0x1e25be(0x1c5)](_0x1e25be(0x468),_0x1523ee);_0x1d3f89['click']&&(_0x49381f[_0x1e25be(0x1c5)](_0x1e25be(0xcb),_0x224d1f),_0x49381f[_0x1e25be(0x1c5)]('touchstart',_0x224d1f),_0x49381f[_0x1e25be(0x1c5)]('touchend',function(_0x3dea9d){_0x3dea9d['preventDefault']();}),_0x49381f[_0x1e25be(0x48c)][_0x1e25be(0x214)]=_0x1e25be(0x1e4)),_0x49381f[_0x1e25be(0x1c5)](_0x1e25be(0x3ce),function _0x539792(){const _0x332fcc=_0x1e25be;_0x49381f[_0x332fcc(0x90)](_0x332fcc(0x3ce),_0x539792),_0x49381f['removeEventListener']('mousemove',_0x1523ee),_0x49381f[_0x332fcc(0x90)](_0x332fcc(0xcb),_0x224d1f),_0x286af4=void 0x0;});}_0xe79e0e=0x0;let _0x36f393,_0x49404c,_0x4b3123=!![];if(!_0x1d3f89[_0x1e25be(0x4da)])_0x36f393=function(_0x5bc90c){_0x5bc90c();},_0x49404c=function(){_0x4b3123=![];};else _0x1d3f89[_0x1e25be(0x168)]!==0x0?(_0x36f393=window[_0x1e25be(0x4ad)],_0x49404c=window[_0x1e25be(0x3ee)]):(_0x36f393=window[_0x1e25be(0x258)],_0x49404c=window[_0x1e25be(0x9f)]);const _0x2a792d=function _0x328c2a(_0xb4a15c,_0x4ba8d2){_0x3e6f54['forEach'](function(_0x56f48b){const _0x4f75c6=_0x28ac;_0x56f48b[_0x4f75c6(0x1c5)](_0xb4a15c,_0x4ba8d2);},this);},_0x574511=function _0x3a4b78(_0x2fc7ac,_0xb6b995){const _0x23df4b=_0x1e25be;_0x3e6f54[_0x23df4b(0x23b)](function(_0x9a5001){const _0x4236eb=_0x23df4b;_0x9a5001[_0x4236eb(0x90)](_0x2fc7ac,_0xb6b995);},this);},_0x295e71=function _0x266650(){const _0x25340a=_0x1e25be;_0x574511(_0x25340a(0x3ce),_0x266650),_0x49404c(timer[_0x19297b]);};_0x2a792d(_0x1e25be(0x3ce),_0x295e71),timer[_0x19297b]=(_0x1d3f89['layoutAnimation']?_0x36f393:setTimeout)(function _0x5dcc70(){const _0x50d9fe=_0x1e25be;if(!_0x4b3123)return;if(_0xe79e0e>=_0x1d3f89[_0x50d9fe(0x287)]['length']){_0x49404c(timer[_0x19297b]),_0x2232eb(_0x50d9fe(0x125),![]),_0x574511(_0x50d9fe(0x3ce),_0x295e71),delete timer[_0x19297b];return;}_0x24c254=new Date()[_0x50d9fe(0x43f)]();const _0x48cf86=_0x1f7fd0(_0x1d3f89[_0x50d9fe(0x287)][_0xe79e0e],0x0),_0x32a22f=!_0x2232eb(_0x50d9fe(0x498),!![],{'item':_0x1d3f89['list'][_0xe79e0e],'drawn':_0x48cf86});if(_0x32f78b()||_0x32a22f){_0x49404c(timer[_0x19297b]),_0x1d3f89[_0x50d9fe(0x4f4)](),_0x2232eb(_0x50d9fe(0x293),![]),_0x2232eb(_0x50d9fe(0x125),![]),_0x574511(_0x50d9fe(0x3ce),_0x295e71);return;}_0xe79e0e++,timer[_0x19297b]=_0x36f393(_0x5dcc70,_0x1d3f89[_0x50d9fe(0x168)]);},_0x1d3f89[_0x1e25be(0x168)]);}());};WordCloud[_0x38cd95(0x266)]=isSupported,WordCloud[_0x38cd95(0x3e0)]=minFontSize;function registerWordCloud(_0x3393db){const _0x391bff=_0x38cd95;if(!WordCloud['isSupported'])throw new Error(_0x391bff(0x480));function _0x38577f(_0x49fe96){const _0x582eb6=_0x391bff,_0x43e2c7=_0x49fe96[_0x582eb6(0x2d3)]('2d'),_0x3e8eb3=_0x43e2c7['getImageData'](0x0,0x0,_0x49fe96[_0x582eb6(0xd2)],_0x49fe96[_0x582eb6(0x209)]),_0x85d18=_0x43e2c7[_0x582eb6(0x136)](_0x3e8eb3);let _0x1c2521=0x0,_0x418e4e=0x0;for(let _0x180d5f=0x0;_0x180d5f<_0x3e8eb3[_0x582eb6(0x247)][_0x582eb6(0x111)];_0x180d5f+=0x4)if(_0x3e8eb3['data'][_0x180d5f+0x3]>0x80){const _0x7ae064=_0x3e8eb3[_0x582eb6(0x247)][_0x180d5f]+_0x3e8eb3[_0x582eb6(0x247)][_0x180d5f+0x1]+_0x3e8eb3[_0x582eb6(0x247)][_0x180d5f+0x2];_0x1c2521+=_0x7ae064,++_0x418e4e;}const _0x834f08=_0x1c2521/_0x418e4e;for(let _0x156829=0x0;_0x156829<_0x3e8eb3['data'][_0x582eb6(0x111)];_0x156829+=0x4){const _0x3ffc77=_0x3e8eb3[_0x582eb6(0x247)][_0x156829]+_0x3e8eb3['data'][_0x156829+0x1]+_0x3e8eb3[_0x582eb6(0x247)][_0x156829+0x2];_0x3e8eb3[_0x582eb6(0x247)][_0x156829+0x3]<0x80||_0x3ffc77>_0x834f08?(_0x85d18['data'][_0x156829]=0x0,_0x85d18[_0x582eb6(0x247)][_0x156829+0x1]=0x0,_0x85d18[_0x582eb6(0x247)][_0x156829+0x2]=0x0,_0x85d18[_0x582eb6(0x247)][_0x156829+0x3]=0x0):(_0x85d18[_0x582eb6(0x247)][_0x156829]=0xff,_0x85d18[_0x582eb6(0x247)][_0x156829+0x1]=0xff,_0x85d18[_0x582eb6(0x247)][_0x156829+0x2]=0xff,_0x85d18[_0x582eb6(0x247)][_0x156829+0x3]=0xff);}_0x43e2c7[_0x582eb6(0x17c)](_0x85d18,0x0,0x0);}_0x3393db[_0x391bff(0x215)](function(_0x20cab9,_0x569734){const _0x4f6e8d=_0x391bff;_0x20cab9[_0x4f6e8d(0x2b6)]('wordCloud',function(_0x1184fd){const _0x11681c=_0x4f6e8d,_0x51700c=_0x3393db['helper'][_0x11681c(0x3f0)](_0x1184fd['getBoxLayoutParams'](),{'width':_0x569734[_0x11681c(0x3d5)](),'height':_0x569734[_0x11681c(0x41b)]()}),_0x4caf02=_0x1184fd[_0x11681c(0x520)]('keepAspect'),_0x292d1b=_0x1184fd['get'](_0x11681c(0x36a)),_0x13e5d4=_0x292d1b?_0x292d1b[_0x11681c(0xd2)]/_0x292d1b['height']:0x1;_0x4caf02&&_0x154da3(_0x51700c,_0x13e5d4);const _0x1cad91=_0x1184fd[_0x11681c(0x51a)](),_0x2238e5=document[_0x11681c(0x87)](_0x11681c(0x395));_0x2238e5[_0x11681c(0xd2)]=_0x51700c[_0x11681c(0xd2)],_0x2238e5[_0x11681c(0x209)]=_0x51700c[_0x11681c(0x209)];const _0x200800=_0x2238e5[_0x11681c(0x2d3)]('2d');if(_0x292d1b&&_0x200800)try{_0x200800[_0x11681c(0x4bf)](_0x292d1b,0x0,0x0,_0x2238e5[_0x11681c(0xd2)],_0x2238e5[_0x11681c(0x209)]),_0x38577f(_0x2238e5);}catch(_0xb47c94){console[_0x11681c(0x4d6)](_0x11681c(0x14b)),console[_0x11681c(0x4d6)](_0xb47c94[_0x11681c(0x31d)]());}const _0x5d3116=_0x1184fd[_0x11681c(0x520)](_0x11681c(0x1e8)),_0x4af74f=_0x1184fd[_0x11681c(0x520)](_0x11681c(0x2bc)),_0x3714e6=_0x1cad91['getDataExtent'](_0x11681c(0x30d)),_0x1f7b79=Math['PI']/0xb4,_0xdc6a35=_0x1184fd[_0x11681c(0x520)](_0x11681c(0x411));WordCloud(_0x2238e5,{'list':_0x1cad91[_0x11681c(0x154)](_0x11681c(0x30d),function(_0x505729,_0x1cd403){const _0x371d3c=_0x11681c,_0x39b6cb=_0x1cad91[_0x371d3c(0x4ba)](_0x1cd403);return[_0x1cad91[_0x371d3c(0xe3)](_0x1cd403),_0x39b6cb[_0x371d3c(0x520)]('textStyle.fontSize',!![])||_0x3393db[_0x371d3c(0x264)][_0x371d3c(0x312)](_0x505729,_0x3714e6,_0x5d3116),_0x1cd403];})[_0x11681c(0x296)](function(_0x2054bb,_0x14b433){return _0x14b433[0x1]-_0x2054bb[0x1];}),'fontFamily':_0x1184fd[_0x11681c(0x520)](_0x11681c(0x267))||_0x1184fd['get'](_0x11681c(0x14d))||_0x20cab9['get']('textStyle.fontFamily'),'fontWeight':_0x1184fd[_0x11681c(0x520)](_0x11681c(0x11d))||_0x1184fd[_0x11681c(0x520)](_0x11681c(0x45b))||_0x20cab9[_0x11681c(0x520)](_0x11681c(0x11d)),'gridSize':_0xdc6a35,'ellipticity':_0x51700c[_0x11681c(0x209)]/_0x51700c[_0x11681c(0xd2)],'minRotation':_0x4af74f[0x0]*_0x1f7b79,'maxRotation':_0x4af74f[0x1]*_0x1f7b79,'clearCanvas':!_0x292d1b,'rotateRatio':0x1,'rotationStep':_0x1184fd['get'](_0x11681c(0x4aa))*_0x1f7b79,'drawOutOfBound':_0x1184fd[_0x11681c(0x520)](_0x11681c(0x497)),'shrinkToFit':_0x1184fd['get'](_0x11681c(0x196)),'layoutAnimation':_0x1184fd[_0x11681c(0x520)](_0x11681c(0x4da)),'shuffle':![],'shape':_0x1184fd[_0x11681c(0x520)]('shape')});function _0x3359b0(_0x53df01){const _0x1d399d=_0x11681c,_0x77d68d=_0x53df01[_0x1d399d(0x25c)][_0x1d399d(0x23e)];_0x53df01[_0x1d399d(0x25c)]['drawn']&&_0x1184fd[_0x1d399d(0x228)][_0x1d399d(0xde)]&&(_0x53df01[_0x1d399d(0x25c)][_0x1d399d(0xe1)]['gx']+=_0x51700c['x']/_0xdc6a35,_0x53df01[_0x1d399d(0x25c)]['drawn']['gy']+=_0x51700c['y']/_0xdc6a35,_0x1184fd[_0x1d399d(0x228)][_0x1d399d(0xde)](_0x77d68d[0x0],_0x77d68d[0x1],_0x77d68d[0x2],_0x53df01['detail'][_0x1d399d(0xe1)]));}_0x2238e5[_0x11681c(0x1c5)](_0x11681c(0x498),_0x3359b0);if(_0x1184fd[_0x11681c(0x228)])_0x1184fd[_0x11681c(0x228)][_0x11681c(0x12f)]();_0x1184fd[_0x11681c(0x228)]={'ondraw':null,'dispose'(){const _0xf4856e=_0x11681c;_0x2238e5[_0xf4856e(0x90)](_0xf4856e(0x498),_0x3359b0),_0x2238e5[_0xf4856e(0x1c5)]('wordclouddrawn',function(_0x500d38){const _0x3c7296=_0xf4856e;_0x500d38[_0x3c7296(0x28a)]();});}};});}),_0x3393db[_0x391bff(0x3df)](function(_0x5129bb){const _0x53e392=_0x391bff;let _0x226b1f=(_0x5129bb||{})['series'];!_0x3393db[_0x53e392(0x4d5)][_0x53e392(0x49c)](_0x226b1f)&&(_0x226b1f=_0x226b1f?[_0x226b1f]:[]);const _0x427847=['shadowColor','shadowBlur','shadowOffsetX','shadowOffsetY'];_0x3393db[_0x53e392(0x4d5)][_0x53e392(0x1c6)](_0x226b1f,function(_0x52c526){const _0x3217ca=_0x53e392;if(_0x52c526&&_0x52c526[_0x3217ca(0x4b0)]===_0x3217ca(0x14c)){const _0x5034ff=_0x52c526['textStyle']||{};_0x136ddc(_0x5034ff[_0x3217ca(0xa1)]),_0x136ddc(_0x5034ff['emphasis']);}});function _0x136ddc(_0x331dcd){_0x331dcd&&_0x3393db['util']['each'](_0x427847,function(_0x11eb7e){const _0x58597c=_0x28ac;if(Object[_0x58597c(0x304)][_0x58597c(0x37b)][_0x58597c(0x10a)](_0x331dcd,_0x11eb7e))_0x331dcd[_0x58597c(0x4ea)+_0x3393db['format']['capitalFirst'](_0x11eb7e)]=_0x331dcd[_0x11eb7e];});}});function _0x154da3(_0x1daa59,_0x4a898e){const _0x5ec119=_0x391bff,_0x352c6b=_0x1daa59['width'],_0x6fc7bc=_0x1daa59[_0x5ec119(0x209)];_0x352c6b>_0x6fc7bc*_0x4a898e?(_0x1daa59['x']+=(_0x352c6b-_0x6fc7bc*_0x4a898e)/0x2,_0x1daa59['width']=_0x6fc7bc*_0x4a898e):(_0x1daa59['y']+=(_0x6fc7bc-_0x352c6b/_0x4a898e)/0x2,_0x1daa59[_0x5ec119(0x209)]=_0x352c6b/_0x4a898e);}_0x3393db[_0x391bff(0x103)]({'type':_0x391bff(0x1a7),'visualStyleAccessPath':_0x391bff(0x3a6),'visualStyleMapper'(_0x593151){const _0x158aef=_0x391bff;return{'fill':_0x593151[_0x158aef(0x520)](_0x158aef(0x461))};},'visualDrawType':_0x391bff(0x2f2),'optionUpdated'(){const _0x2133b2=_0x391bff,_0x5458d2=this[_0x2133b2(0x99)];_0x5458d2[_0x2133b2(0x411)]=Math['max'](Math[_0x2133b2(0x126)](_0x5458d2[_0x2133b2(0x411)]),0x4);},'getInitialData'(_0x430464){const _0x3857ab=_0x391bff,_0x878ef5=_0x3393db[_0x3857ab(0x1f6)][_0x3857ab(0xdd)](_0x430464['data'],{'coordDimensions':[_0x3857ab(0x30d)]}),_0x2d620b=new _0x3393db['List'](_0x878ef5,this);return _0x2d620b['initData'](_0x430464[_0x3857ab(0x247)]),_0x2d620b;},'defaultOption':{'maskImage':null,'shape':_0x391bff(0x137),'keepAspect':![],'left':_0x391bff(0x43a),'top':_0x391bff(0x43a),'width':'70%','height':_0x391bff(0xf2),'sizeRange':[0xc,0x3c],'rotationRange':[-0x5a,0x5a],'rotationStep':0x2d,'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'textStyle':{'fontWeight':_0x391bff(0xa1)}}}),_0x3393db[_0x391bff(0x2e9)]({'type':_0x391bff(0x14c),'render'(_0x35f553){const _0x1de7cf=_0x391bff,_0x35eb10=this[_0x1de7cf(0xa9)];_0x35eb10[_0x1de7cf(0x145)]();const _0x5e74a7=_0x35f553[_0x1de7cf(0x51a)](),_0x10a676=_0x35f553[_0x1de7cf(0x520)](_0x1de7cf(0x411));_0x35f553['layoutInstance'][_0x1de7cf(0xde)]=function(_0x198048,_0x2cb7a1,_0x116e7b,_0x352db6){const _0x512b85=_0x1de7cf,_0x46880b=_0x5e74a7['getItemModel'](_0x116e7b),_0xc09df6=_0x46880b[_0x512b85(0x354)]('textStyle'),_0x35f449=new _0x3393db[(_0x512b85(0x404))][(_0x512b85(0x4a8))]({'style':_0x3393db[_0x512b85(0x1f6)][_0x512b85(0x116)](_0xc09df6),'scaleX':0x1/_0x352db6[_0x512b85(0x105)]['mu'],'scaleY':0x1/_0x352db6[_0x512b85(0x105)]['mu'],'x':(_0x352db6['gx']+_0x352db6['info']['gw']/0x2)*_0x10a676,'y':(_0x352db6['gy']+_0x352db6[_0x512b85(0x105)]['gh']/0x2)*_0x10a676,'rotation':_0x352db6[_0x512b85(0x243)]});_0x35f449[_0x512b85(0x398)]({'x':_0x352db6[_0x512b85(0x105)][_0x512b85(0x458)],'y':_0x352db6[_0x512b85(0x105)][_0x512b85(0x21d)]+_0x2cb7a1*0.5,'text':_0x198048,'verticalAlign':_0x512b85(0x330),'fill':_0x5e74a7[_0x512b85(0x447)](_0x116e7b,'style')[_0x512b85(0x2f2)],'fontSize':_0x2cb7a1}),_0x35eb10['add'](_0x35f449),_0x5e74a7[_0x512b85(0x525)](_0x116e7b,_0x35f449),_0x35f449[_0x512b85(0x21b)](_0x512b85(0x227))['style']=_0x3393db[_0x512b85(0x1f6)]['createTextStyle'](_0x46880b[_0x512b85(0x354)]([_0x512b85(0x227),_0x512b85(0x3a6)]),{'state':_0x512b85(0x227)}),_0x35f449[_0x512b85(0x21b)](_0x512b85(0x515))['style']=_0x3393db[_0x512b85(0x1f6)]['createTextStyle'](_0x46880b[_0x512b85(0x354)]([_0x512b85(0x515),'textStyle']),{'state':'blur'}),_0x3393db[_0x512b85(0x1f6)][_0x512b85(0x521)](_0x35f449,_0x46880b['get'](['emphasis',_0x512b85(0x309)]),_0x46880b[_0x512b85(0x520)](['emphasis',_0x512b85(0xc3)])),_0x35f449[_0x512b85(0x384)]={'duration':_0x35f553[_0x512b85(0x520)]('animation')?_0x35f553['get']([_0x512b85(0x2cb),_0x512b85(0x192)]):0x0,'easing':_0x35f553[_0x512b85(0x520)]([_0x512b85(0x2cb),_0x512b85(0x1ee)])},_0x35f449[_0x512b85(0x494)]=!![];},this[_0x1de7cf(0x2ee)]=_0x35f553;},'remove'(){const _0x22076a=_0x391bff;this[_0x22076a(0xa9)][_0x22076a(0x145)](),this[_0x22076a(0x2ee)]['layoutInstance'][_0x22076a(0x12f)]();},'dispose'(){const _0x16c67e=_0x391bff;this[_0x16c67e(0x2ee)][_0x16c67e(0x228)][_0x16c67e(0x12f)]();}});}let UniverSheetsChartUIPlugin=class UniverSheetsChartUIPlugin extends _univerjs_core[_0x38cd95(0x256)]{constructor(_0xd57994,_0x36e4a6,_0x27f6ce){const _0x2cf2cf=_0x38cd95;super(),this[_0x2cf2cf(0x115)]=_0xd57994,this[_0x2cf2cf(0x443)]=_0x36e4a6,this[_0x2cf2cf(0xe5)]=_0x27f6ce,this[_0x2cf2cf(0x9c)](),registerWordCloud(_univerjs_pro_engine_chart['echarts']);}[_0x38cd95(0x9a)](){const _0x540263=_0x38cd95,_0x41154b=this[_0x540263(0x443)];[[SheetsChartUIService],[IChartHostProviderService,{'useClass':SheetsChartHostProviderService}],[ChartRenderService],[SheetsChartUIController],[ChartHostProviderController],[ChartRenderController],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]][_0x540263(0x23b)](_0x68cc20=>_0x41154b[_0x540263(0x15e)](_0x68cc20)),(0x0,_univerjs_core[_0x540263(0x21e)])(this[_0x540263(0x443)],[[SheetsChartUIController],[ChartRenderController],[ChartHostProviderController],[SheetsChartUIService],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]]);}['onRendered'](){const _0x259759=_0x38cd95;var _0x5b12cc;(_0x5b12cc=this[_0x259759(0x443)][_0x259759(0x520)](SheetsChartUIController))===null||_0x5b12cc===void 0x0||_0x5b12cc['initPanel']();}['_initCommands'](){const _0x183c24=_0x38cd95;[MenuInsertChartCommand,ChartOpenPanelOperation,ChartHidePanelOperation][_0x183c24(0x23b)](_0x6108a6=>this['disposeWithMe'](this[_0x183c24(0xe5)][_0x183c24(0x454)](_0x6108a6)));}};_defineProperty(UniverSheetsChartUIPlugin,'type',_univerjs_core[_0x38cd95(0x17e)][_0x38cd95(0x36c)]),_defineProperty(UniverSheetsChartUIPlugin,'pluginName','UniverSheetsChartUIPlugin'),_defineProperty(UniverSheetsChartUIPlugin,'packageName',name),_defineProperty(UniverSheetsChartUIPlugin,_0x38cd95(0x230),version),UniverSheetsChartUIPlugin=__decorate([(0x0,_univerjs_core[_0x38cd95(0x476)])(_univerjs_sheets_drawing_ui[_0x38cd95(0x17d)],_univerjs_pro_sheets_chart[_0x38cd95(0x23f)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x38cd95(0x1f7)])(_univerjs_core[_0x38cd95(0x39d)])),__decorateParam(0x2,_univerjs_core[_0x38cd95(0x1af)])],UniverSheetsChartUIPlugin),Object[_0x38cd95(0x505)](exports,'SheetsChartUIController',{'enumerable':!![],'get':function(){return SheetsChartUIController;}}),Object[_0x38cd95(0x505)](exports,_0x38cd95(0x40f),{'enumerable':!![],'get':function(){return SheetsChartUIService;}}),Object[_0x38cd95(0x505)](exports,_0x38cd95(0x2bb),{'enumerable':!![],'get':function(){return UniverSheetsChartUIPlugin;}}),exports[_0x38cd95(0x4bb)]=registerWordCloud;