@univerjs-pro/sheets-chart-ui 1.0.0-beta.0 → 1.0.0-beta.2

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 (94) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +2 -2
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/chart-element-float-menu.controller.d.ts +1 -1
  63. package/lib/types/controllers/chart-sheet-copy-plan.d.ts +16 -0
  64. package/lib/types/controllers/ui.controller.d.ts +3 -3
  65. package/lib/types/menu/chart-context-menu.d.ts +0 -1
  66. package/lib/types/services/chart-image-export-provider.d.ts +15 -0
  67. package/lib/types/services/chart-image-rect.d.ts +2 -2
  68. package/lib/types/services/chart-render.service.d.ts +2 -1
  69. package/lib/types/services/sheets-chart-host-provider.service.d.ts +2 -0
  70. package/lib/types/services/sheets-chart-ui.service.d.ts +7 -14
  71. package/lib/types/views/chart-edit-panel/ChartEditPanel.d.ts +1 -1
  72. package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +1 -14
  73. package/lib/types/views/chart-menu/chart-menu-factory.d.ts +2 -1
  74. package/lib/umd/index.js +1 -1
  75. package/lib/umd/locale/ar-SA.js +1 -1
  76. package/lib/umd/locale/ca-ES.js +1 -1
  77. package/lib/umd/locale/de-DE.js +1 -1
  78. package/lib/umd/locale/en-US.js +1 -1
  79. package/lib/umd/locale/es-ES.js +1 -1
  80. package/lib/umd/locale/fa-IR.js +1 -1
  81. package/lib/umd/locale/fr-FR.js +1 -1
  82. package/lib/umd/locale/id-ID.js +1 -1
  83. package/lib/umd/locale/it-IT.js +1 -1
  84. package/lib/umd/locale/ja-JP.js +1 -1
  85. package/lib/umd/locale/ko-KR.js +1 -1
  86. package/lib/umd/locale/pl-PL.js +1 -1
  87. package/lib/umd/locale/pt-BR.js +1 -1
  88. package/lib/umd/locale/ru-RU.js +1 -1
  89. package/lib/umd/locale/sk-SK.js +1 -1
  90. package/lib/umd/locale/vi-VN.js +1 -1
  91. package/lib/umd/locale/zh-CN.js +1 -1
  92. package/lib/umd/locale/zh-HK.js +1 -1
  93. package/lib/umd/locale/zh-TW.js +1 -1
  94. package/package.json +20 -20
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x416c7,_0x3ad005){const _0x47f93b=_0x169c,_0x822a3=_0x416c7();while(!![]){try{const _0xedb657=parseInt(_0x47f93b(0x201))/0x1+-parseInt(_0x47f93b(0x498))/0x2+parseInt(_0x47f93b(0x51c))/0x3+parseInt(_0x47f93b(0x31a))/0x4+-parseInt(_0x47f93b(0x45c))/0x5+parseInt(_0x47f93b(0x49f))/0x6+-parseInt(_0x47f93b(0x22f))/0x7*(-parseInt(_0x47f93b(0x52b))/0x8);if(_0xedb657===_0x3ad005)break;else _0x822a3['push'](_0x822a3['shift']());}catch(_0x1f735f){_0x822a3['push'](_0x822a3['shift']());}}}(_0xb883,0xce33d),function(_0x4d83dd,_0x567249){const _0x4bcc4e=_0x169c;typeof exports==_0x4bcc4e(0x284)&&typeof module<'u'?_0x567249(exports,require('@univerjs-pro/sheets-chart'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/engine-chart'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/chart-ui'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x4bcc4e(0x295)&&define[_0x4bcc4e(0x44b)]?define(['exports',_0x4bcc4e(0x49c),_0x4bcc4e(0x2f5),'@univerjs/drawing',_0x4bcc4e(0x471),_0x4bcc4e(0x24b),_0x4bcc4e(0x2b0),'@univerjs/ui',_0x4bcc4e(0x4dd),_0x4bcc4e(0x3d6),_0x4bcc4e(0x3ee),_0x4bcc4e(0x324),_0x4bcc4e(0x3ba),_0x4bcc4e(0x314),'@univerjs/engine-formula',_0x4bcc4e(0x1e6),_0x4bcc4e(0x2ae),_0x4bcc4e(0x4aa),'react/jsx-runtime',_0x4bcc4e(0x3c1)],_0x567249):(_0x4d83dd=typeof globalThis<'u'?globalThis:_0x4d83dd||self,_0x567249(_0x4d83dd[_0x4bcc4e(0x449)]={},_0x4d83dd['UniverProSheetsChart'],_0x4d83dd[_0x4bcc4e(0x4cb)],_0x4d83dd['UniverDrawing'],_0x4d83dd['UniverSheetsDrawing'],_0x4d83dd[_0x4bcc4e(0x344)],_0x4d83dd['UniverSheetsUi'],_0x4d83dd[_0x4bcc4e(0x213)],_0x4d83dd[_0x4bcc4e(0x4dd)],_0x4d83dd[_0x4bcc4e(0x29f)],_0x4d83dd[_0x4bcc4e(0x4fa)],_0x4d83dd[_0x4bcc4e(0x222)],_0x4d83dd['UniverProChartUi'],_0x4d83dd[_0x4bcc4e(0x2fa)],_0x4d83dd[_0x4bcc4e(0x518)],_0x4d83dd[_0x4bcc4e(0x23e)],_0x4d83dd['UniverDesign'],_0x4d83dd[_0x4bcc4e(0x40f)],_0x4d83dd[_0x4bcc4e(0x23e)],_0x4d83dd['UniverProLicense']));}(this,function(_0xd4719d,_0x28eb9a,_0x1da7ec,_0x5405e4,_0x4754e3,_0x364311,_0x1960ed,_0x58ec7c,_0x15372d,_0x5dd517,_0x311c0b,_0x41ff50,_0x173304,_0x2d166,_0x259b78,_0x370d3a,_0x92e22d,_0x2c5582,_0x1285f2,_0x4d77ba){const _0x7d12da=_0x169c;Object['defineProperty'](_0xd4719d,Symbol[_0x7d12da(0x3ad)],{'value':_0x7d12da(0x283)});let _0x466ca5=_0x7d12da(0x39e),_0x2feb31={'enableChartElementFloatMenu':!0x0},_0x4c56c5={'type':_0x1da7ec[_0x7d12da(0x2c4)][_0x7d12da(0x35e)],'id':_0x7d12da(0x3fd),'handler'(){return!0x0;}},_0x4dcf39={'type':_0x1da7ec[_0x7d12da(0x2c4)]['OPERATION'],'id':_0x7d12da(0x34a),'handler'(){return!0x0;}};function _0x1d1be0(_0x48788e,_0x361f8d=0x1){const _0xeb8255=_0x7d12da;return{'width':Math[_0xeb8255(0x500)](_0x361f8d,_0x48788e[_0xeb8255(0x45d)]),'height':Math[_0xeb8255(0x500)](_0x361f8d,_0x48788e[_0xeb8255(0x308)])};}function _0x1447d2(_0x1135e5,_0x4ad524={},_0x2fec73={'left':0x0,'top':0x0}){const _0x3cdb52=_0x7d12da;let _0xcbe8b=_0x4ad524[_0x3cdb52(0x2d3)]??0x1,_0x527ca8=_0x4ad524['scaleY']??0x1,_0xba16ee=_0x173304['ChartFrameLayout']['resolve']({'logicalOuterRect':{'left':-_0x2fec73[_0x3cdb52(0x418)],'top':-_0x2fec73['top'],..._0x1d1be0(_0x1135e5)},'scale':{'scaleX':_0xcbe8b,'scaleY':_0x527ca8},'hostStyle':{},'contentMode':_0x173304['ChartFrameContentMode'][_0x3cdb52(0x3d5)]});return{'left':_0xba16ee[_0x3cdb52(0x326)][_0x3cdb52(0x418)],'top':_0xba16ee[_0x3cdb52(0x326)][_0x3cdb52(0x4d5)],'width':_0xba16ee['logicalOuterRect'][_0x3cdb52(0x45d)],'height':_0xba16ee[_0x3cdb52(0x326)]['height'],'scaleX':_0xcbe8b,'scaleY':_0x527ca8};}function _0x351e51(_0x17ff1e){'@babel/helpers - typeof';const _0x4c78fb=_0x7d12da;return _0x351e51=typeof Symbol=='function'&&typeof Symbol[_0x4c78fb(0x228)]==_0x4c78fb(0x36a)?function(_0xa99213){return typeof _0xa99213;}:function(_0x112e61){const _0x21beab=_0x4c78fb;return _0x112e61&&typeof Symbol==_0x21beab(0x295)&&_0x112e61[_0x21beab(0x200)]===Symbol&&_0x112e61!==Symbol['prototype']?_0x21beab(0x36a):typeof _0x112e61;},_0x351e51(_0x17ff1e);}function _0x30c4b1(_0xd259f9,_0x4bf694){const _0x4fd6ee=_0x7d12da;if(_0x351e51(_0xd259f9)!=_0x4fd6ee(0x284)||!_0xd259f9)return _0xd259f9;var _0x349a8c=_0xd259f9[Symbol[_0x4fd6ee(0x4dc)]];if(_0x349a8c!==void 0x0){var _0x7488ee=_0x349a8c[_0x4fd6ee(0x255)](_0xd259f9,_0x4bf694||_0x4fd6ee(0x4c0));if(_0x351e51(_0x7488ee)!=_0x4fd6ee(0x284))return _0x7488ee;throw TypeError(_0x4fd6ee(0x257));}return(_0x4bf694===_0x4fd6ee(0x4d8)?String:Number)(_0xd259f9);}function _0x4b2d10(_0x1e8056){const _0x131190=_0x7d12da;var _0x1918e6=_0x30c4b1(_0x1e8056,_0x131190(0x4d8));return _0x351e51(_0x1918e6)=='symbol'?_0x1918e6:_0x1918e6+'';}function _0x451b0c(_0x48b861,_0xaad7e6,_0x137c85){const _0x382e9d=_0x7d12da;return(_0xaad7e6=_0x4b2d10(_0xaad7e6))in _0x48b861?Object[_0x382e9d(0x445)](_0x48b861,_0xaad7e6,{'value':_0x137c85,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x48b861[_0xaad7e6]=_0x137c85,_0x48b861;}function _0xc09c27(_0x43b333){const _0x1d7117=_0x7d12da;switch(_0x43b333[_0x1d7117(0x1fc)]){case _0x5dd517[_0x1d7117(0x3a0)][_0x1d7117(0x32d)]:return _0x43b333[_0x1d7117(0x40c)];case _0x5dd517['ChartImageSourceType']['ImageBitmap']:return _0x43b333['imageBitmap'];default:return;}}var _0x49d975=class extends _0x41ff50[_0x7d12da(0x360)]{constructor(_0x4c2c9a,_0x5e6f04,_0x3f7440,_0x1041c5=()=>!0x1,_0x12ea12=()=>{}){const _0x5de0dc=_0x7d12da;super(_0x4c2c9a,{..._0x5e6f04,'evented':_0x5e6f04[_0x5de0dc(0x2ad)]??!0x0}),this[_0x5de0dc(0x232)]=_0x3f7440,this[_0x5de0dc(0x4a1)]=_0x1041c5,this[_0x5de0dc(0x236)]=_0x12ea12,_0x451b0c(this,'_urlImage',null),_0x451b0c(this,'_url',null),this[_0x5de0dc(0x367)](_0x41ff50[_0x5de0dc(0x33a)][_0x5de0dc(0x2af)]);}['dispose'](){const _0x4fd1ef=_0x7d12da;this[_0x4fd1ef(0x236)](),super[_0x4fd1ef(0x248)]();}[_0x7d12da(0x289)](_0x164c6a,_0x4d8e7a){const _0x207fd7=_0x7d12da;if(!this[_0x207fd7(0x2a0)])return this[_0x207fd7(0x3d9)](!0x1),this;if(!this[_0x207fd7(0x312)])return this;let {width:_0x10a728,height:_0x7aab42,left:_0x48fb54,top:_0x34e82b}=this[_0x207fd7(0x2c9)]();if(this[_0x207fd7(0x251)](_0x4d8e7a)){let {top:_0x56dd13,left:_0x43bd42,bottom:_0x46ea01,right:_0x5205b0}=_0x4d8e7a['viewBound'];if(_0x10a728+this[_0x207fd7(0x1ed)]+_0x48fb54<_0x43bd42||_0x5205b0<_0x48fb54||_0x7aab42+this[_0x207fd7(0x1ed)]+_0x34e82b<_0x56dd13||_0x46ea01<_0x34e82b)return this;}let _0x33b66f=this[_0x207fd7(0x312)][_0x207fd7(0x211)]();_0x164c6a['save']();let _0x469b25=_0x48fb54+_0x10a728/0x2,_0x147a67=_0x34e82b+_0x7aab42/0x2;return _0x164c6a['transform'](_0x33b66f[0x0],_0x33b66f[0x1],_0x33b66f[0x2],_0x33b66f[0x3],_0x469b25,_0x147a67),this['opacity']!==0x1&&(_0x164c6a['globalAlpha']=this[_0x207fd7(0x3fe)]),this[_0x207fd7(0x4a4)](_0x164c6a,void 0x0,_0x10a728,_0x7aab42),_0x164c6a[_0x207fd7(0x1eb)](),this[_0x207fd7(0x3d9)](!0x1),this;}[_0x7d12da(0x4a4)](_0x388b5d,_0x12b839,_0x8b64b7=this['width'],_0x24e7b9=this[_0x7d12da(0x308)]){const _0x48a1f8=_0x7d12da;this[_0x48a1f8(0x4bf)](_0x388b5d,_0x8b64b7,_0x24e7b9,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x48a1f8(0x369)](_0x388b5d,_0x8b64b7,_0x24e7b9),this[_0x48a1f8(0x4bf)](_0x388b5d,_0x8b64b7,_0x24e7b9,{'fill':void 0x0});}[_0x7d12da(0x4bf)](_0x22cff6,_0x2c3515,_0x451500,_0x1ab257){const _0x3814d9=_0x7d12da;_0x22cff6[_0x3814d9(0x2d5)](),_0x22cff6[_0x3814d9(0x371)](-_0x2c3515/0x2,-_0x451500/0x2),_0x41ff50[_0x3814d9(0x360)][_0x3814d9(0x25a)](_0x22cff6,_0x3e9752(this,_0x2c3515,_0x451500,_0x1ab257)),_0x22cff6['restore']();}[_0x7d12da(0x2e5)](_0x5cf288){const _0x2e6456=_0x7d12da;let {left:_0x1da9ff,top:_0xab386e,width:_0x28a3c0,height:_0x3600e7}=this[_0x2e6456(0x2c9)](),_0x40b12d=_0x1da9ff+_0x28a3c0/0x2,_0x13b490=_0xab386e+_0x3600e7/0x2,_0x5e5584=this[_0x2e6456(0x312)][_0x2e6456(0x211)](),_0x48cab7=new _0x41ff50[(_0x2e6456(0x332))]([_0x5e5584[0x0],_0x5e5584[0x1],_0x5e5584[0x2],_0x5e5584[0x3],_0x40b12d,_0x13b490]),_0x13fdd0=this[_0x2e6456(0x513)](),_0x524a17=(this[_0x2e6456(0x531)]&&(_0x13fdd0==null?void 0x0:_0x13fdd0[_0x2e6456(0x3cf)])===_0x41ff50['RENDER_CLASS_TYPE'][_0x2e6456(0x2e2)]?_0x13fdd0[_0x2e6456(0x3f5)][_0x2e6456(0x43c)](_0x48cab7):_0x48cab7)[_0x2e6456(0x46e)]()[_0x2e6456(0x524)](_0x5cf288),_0x45705b=_0x28a3c0/0x2,_0x104836=_0x3600e7/0x2;return _0x524a17['x']>=-_0x45705b-this[_0x2e6456(0x1ed)]/0x2&&_0x524a17['x']<=_0x45705b+this[_0x2e6456(0x1ed)]/0x2&&_0x524a17['y']>=-_0x104836-this[_0x2e6456(0x1ed)]/0x2&&_0x524a17['y']<=_0x104836+this[_0x2e6456(0x1ed)]/0x2;}[_0x7d12da(0x369)](_0x292bd1,_0x384ca9,_0x28ccdf){const _0x2ba4fe=_0x7d12da;if(this[_0x2ba4fe(0x4a1)]())return;let _0x1b02ad=this[_0x2ba4fe(0x232)](),_0x57b72d=_0x1b02ad?this['_getDrawable'](_0x1b02ad):void 0x0;if(!_0x57b72d)return;let {width:_0xe1d1ab,height:_0x234a79}=_0x1d1be0({'width':_0x384ca9,'height':_0x28ccdf},0x0);_0xe1d1ab!==0x0&&_0x234a79!==0x0&&(_0x292bd1[_0x2ba4fe(0x2d5)](),_0x292bd1[_0x2ba4fe(0x371)](-_0x384ca9/0x2,-_0x28ccdf/0x2),_0x215e5b(_0x292bd1,_0xe1d1ab,_0x234a79,this['radius']),_0x292bd1[_0x2ba4fe(0x463)](),_0x292bd1['drawImage'](_0x57b72d,0x0,0x0,_0xe1d1ab,_0x234a79),_0x292bd1['restore']());}['_getDrawable'](_0x1a7392){const _0x16afac=_0x7d12da;var _0x4e2760;let _0x4932d7=_0xc09c27(_0x1a7392);if(_0x4932d7)return _0x4932d7;if(_0x1a7392[_0x16afac(0x1fc)]===_0x5dd517[_0x16afac(0x3a0)][_0x16afac(0x4a9)]&&(this[_0x16afac(0x20f)]!==_0x1a7392[_0x16afac(0x2a6)]&&(this['_url']=_0x1a7392[_0x16afac(0x2a6)],this[_0x16afac(0x2de)]=document[_0x16afac(0x532)](_0x16afac(0x415)),this[_0x16afac(0x2de)]['crossOrigin']=_0x16afac(0x290),this['_urlImage'][_0x16afac(0x430)]=()=>this[_0x16afac(0x3d9)](!0x0),this[_0x16afac(0x2de)][_0x16afac(0x527)]=_0x1a7392[_0x16afac(0x2a6)]),(_0x4e2760=this['_urlImage'])!=null&&_0x4e2760[_0x16afac(0x240)]&&this['_urlImage'][_0x16afac(0x39c)]>0x0&&this[_0x16afac(0x2de)]['naturalHeight']>0x0))return this[_0x16afac(0x2de)];}};function _0x3e9752(_0x35b61a,_0x1166e1,_0xed1035,_0x26ccb3){const _0x4d87bf=_0x7d12da;let _0xcbcaef=Object[_0x4d87bf(0x2ef)](_0x35b61a);return Object[_0x4d87bf(0x445)](_0xcbcaef,_0x4d87bf(0x45d),{'value':_0x1166e1}),Object[_0x4d87bf(0x445)](_0xcbcaef,'height',{'value':_0xed1035}),Object[_0x4d87bf(0x340)](_0x26ccb3)[_0x4d87bf(0x495)](_0x1bb89f=>{const _0x37fd6b=_0x4d87bf;Object[_0x37fd6b(0x445)](_0xcbcaef,_0x1bb89f,{'value':_0x26ccb3[_0x1bb89f]});}),_0xcbcaef;}function _0x215e5b(_0x4626e8,_0x1a8d08,_0x533ec6,_0xd665ae){const _0x54c091=_0x7d12da;let _0x149cb6=Math['min'](_0xd665ae||0x0,_0x1a8d08/0x2,_0x533ec6/0x2);if(_0x4626e8[_0x54c091(0x2c3)](),!_0x149cb6){_0x4626e8[_0x54c091(0x3af)](0x0,0x0,_0x1a8d08,_0x533ec6),_0x4626e8[_0x54c091(0x33f)]();return;}_0x4626e8[_0x54c091(0x307)](_0x149cb6,0x0),_0x4626e8[_0x54c091(0x35d)](_0x1a8d08-_0x149cb6,0x0),_0x4626e8[_0x54c091(0x310)](_0x1a8d08-_0x149cb6,_0x149cb6,_0x149cb6,Math['PI']*0x3/0x2,0x0,!0x1),_0x4626e8['lineTo'](_0x1a8d08,_0x533ec6-_0x149cb6),_0x4626e8[_0x54c091(0x310)](_0x1a8d08-_0x149cb6,_0x533ec6-_0x149cb6,_0x149cb6,0x0,Math['PI']/0x2,!0x1),_0x4626e8[_0x54c091(0x35d)](_0x149cb6,_0x533ec6),_0x4626e8[_0x54c091(0x310)](_0x149cb6,_0x533ec6-_0x149cb6,_0x149cb6,Math['PI']/0x2,Math['PI'],!0x1),_0x4626e8[_0x54c091(0x35d)](0x0,_0x149cb6),_0x4626e8['arc'](_0x149cb6,_0x149cb6,_0x149cb6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4626e8['closePath']();}function _0x149a94(_0x547cef){const _0x36d356=_0x7d12da;(_0x547cef==null?void 0x0:_0x547cef['type'])===_0x5dd517[_0x36d356(0x3a0)][_0x36d356(0x38b)]&&_0x547cef['imageBitmap'][_0x36d356(0x304)]();}function _0x54c26f(_0xd37cb7){const _0x1ec9d4=_0x7d12da;return _0xd37cb7['unitId']+_0x1ec9d4(0x4fb)+_0xd37cb7[_0x1ec9d4(0x26e)]+'#-#'+_0xd37cb7[_0x1ec9d4(0x28f)];}var _0x167f01=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(..._0x51c3a4){const _0x47f8fe=_0x7d12da;super(..._0x51c3a4),_0x451b0c(this,_0x47f8fe(0x253),new Map());}[_0x7d12da(0x4b4)](_0x3b41e3){const _0x5251a5=_0x7d12da;let _0x257d61=_0x54c26f(_0x3b41e3),_0x2fd56f=this[_0x5251a5(0x253)][_0x5251a5(0x287)](_0x257d61)??{'version':0x0};return _0x2fd56f[_0x5251a5(0x29c)]+=0x1,this[_0x5251a5(0x253)][_0x5251a5(0x29a)](_0x257d61,_0x2fd56f),_0x2fd56f[_0x5251a5(0x29c)];}[_0x7d12da(0x26c)](_0x2e9116,_0x1ae0f2){const _0x390b1b=_0x7d12da;var _0x3f7c49;return((_0x3f7c49=this['_entries'][_0x390b1b(0x287)](_0x54c26f(_0x2e9116)))==null?void 0x0:_0x3f7c49[_0x390b1b(0x29c)])===_0x1ae0f2;}[_0x7d12da(0x520)](_0x193d87,_0x1c2ca3,_0x23399a){const _0x57ae4a=_0x7d12da;if(!this['isLatest'](_0x193d87,_0x23399a))return _0x149a94(_0x1c2ca3),!0x1;let _0x439e38=_0x54c26f(_0x193d87),_0x134471=this[_0x57ae4a(0x253)][_0x57ae4a(0x287)](_0x439e38)??{'version':_0x23399a},_0x45af35=_0x134471[_0x57ae4a(0x3c3)];return _0x134471[_0x57ae4a(0x3c3)]=_0x1c2ca3,_0x134471[_0x57ae4a(0x29c)]=_0x23399a,this[_0x57ae4a(0x253)][_0x57ae4a(0x29a)](_0x439e38,_0x134471),_0x45af35!==_0x1c2ca3&&_0x149a94(_0x45af35),!0x0;}[_0x7d12da(0x4eb)](_0x230552){const _0x27ba7a=_0x7d12da;var _0x5417d5;return(_0x5417d5=this[_0x27ba7a(0x253)][_0x27ba7a(0x287)](_0x54c26f(_0x230552)))==null?void 0x0:_0x5417d5[_0x27ba7a(0x3c3)];}[_0x7d12da(0x37a)](_0x41e1b6){const _0x31f0d7=_0x7d12da;let _0x174ece=_0x54c26f(_0x41e1b6),_0x265b8c=this[_0x31f0d7(0x253)][_0x31f0d7(0x287)](_0x174ece);_0x265b8c&&(_0x149a94(_0x265b8c['image']),this['_entries'][_0x31f0d7(0x24c)](_0x174ece));}['clearChart'](_0x4c2f37){const _0x3e5c54=_0x7d12da;for(let [_0x13975b,_0x5dc03c]of this[_0x3e5c54(0x253)])_0x13975b['endsWith'](_0x3e5c54(0x4fb)+_0x4c2f37)&&(_0x149a94(_0x5dc03c[_0x3e5c54(0x3c3)]),this[_0x3e5c54(0x253)]['delete'](_0x13975b));}[_0x7d12da(0x248)](){const _0x2dcba0=_0x7d12da;this['_entries']['forEach'](_0x44d4ed=>_0x149a94(_0x44d4ed[_0x2dcba0(0x3c3)])),this['_entries'][_0x2dcba0(0x493)](),super[_0x2dcba0(0x248)]();}};function _0x509fed(_0x16a048,_0x55b089=0x7d0){let _0x33dca2=null,_0x3226c9=null,_0x4c90d8=!0x1,_0x2449bb=()=>{},_0x3b1ae2=()=>{_0x33dca2!=null&&(clearInterval(_0x33dca2),_0x33dca2=null),_0x3226c9!=null&&(clearTimeout(_0x3226c9),_0x3226c9=null);};return{'promise':new Promise((_0x2dca5e,_0x42af4f)=>{_0x2449bb=_0x42af4f;let _0x50bef4=()=>{const _0x1d03b1=_0x169c;let _0x149bd2=document[_0x1d03b1(0x301)](_0x16a048);!_0x149bd2||_0x4c90d8||(_0x4c90d8=!0x0,_0x3b1ae2(),_0x2dca5e(_0x149bd2));};_0x50bef4(),!_0x4c90d8&&(_0x33dca2=setInterval(_0x50bef4,16.666666666666668),_0x3226c9=setTimeout(()=>{const _0xa57159=_0x169c;_0x4c90d8||(_0x4c90d8=!0x0,_0x3b1ae2(),_0x42af4f(Error(_0xa57159(0x2f6)+_0x16a048+'\x22.')));},_0x55b089));}),'cancel':()=>{const _0x51462c=_0x169c;_0x4c90d8||(_0x4c90d8=!0x0,_0x3b1ae2(),_0x2449bb(Error(_0x51462c(0x2e4)+_0x16a048+'\x22.')));}};}var _0x2f95dc=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x28c1c8,_0x484b98,_0x5f321b,_0x3ba92a,_0x30a9af,_0x529d25,_0x5d2664){const _0x514452=_0x7d12da;super(),this[_0x514452(0x28f)]=_0x28c1c8,this['_getFloatDomInfo']=_0x484b98,this[_0x514452(0x454)]=_0x5f321b,this['_setHostStyle']=_0x3ba92a,this['_isProviderDisposed']=_0x30a9af,this[_0x514452(0x2bf)]=_0x529d25,this['_markNotReady']=_0x5d2664,_0x451b0c(this,'mode',_0x5dd517[_0x514452(0x259)][_0x514452(0x4c9)]),_0x451b0c(this,'_domFrame',null),_0x451b0c(this,_0x514452(0x2e7),!0x1),_0x451b0c(this,'_pendingToken',null),_0x451b0c(this,_0x514452(0x421),null),_0x451b0c(this,'_waiter',null),_0x451b0c(this,_0x514452(0x2c1),{}),_0x451b0c(this,_0x514452(0x52e),null);}[_0x7d12da(0x25f)](){return this['_managed'];}[_0x7d12da(0x469)](){const _0x3d20bb=_0x7d12da;this[_0x3d20bb(0x2e7)]=!0x1;}[_0x7d12da(0x3df)](){const _0x333394=_0x7d12da;let _0x4e2197=this['_getPlacement']();return _0x4e2197?{'width':_0x4e2197['width'],'height':_0x4e2197[_0x333394(0x308)]}:null;}[_0x7d12da(0x3d3)](_0x1c9e7a){const _0x2db6a6=_0x7d12da;this[_0x2db6a6(0x2c1)]=_0x1c9e7a,this['_setHostStyle'](_0x1c9e7a),this['_applyHostStyle']();}async[_0x7d12da(0x52d)](){const _0x30cfa7=_0x7d12da;if(this[_0x30cfa7(0x293)]||this[_0x30cfa7(0x21c)]())throw Error(_0x30cfa7(0x509));let _0x20759f=this[_0x30cfa7(0x474)](),_0x10b369=(_0x20759f==null?void 0x0:_0x20759f[_0x30cfa7(0x4c4)])??this[_0x30cfa7(0x28f)],_0x1e7719=document[_0x30cfa7(0x301)](_0x10b369);if(this[_0x30cfa7(0x2e9)]&&_0x1e7719!=null&&_0x1e7719[_0x30cfa7(0x355)](this['_domFrame'][_0x30cfa7(0x4ba)]))return{'mountNode':this['_domFrame'][_0x30cfa7(0x4ba)],'dispose':()=>{const _0x59e960=_0x30cfa7;this['dispose'](),_0x20759f==null||_0x20759f[_0x59e960(0x248)][_0x59e960(0x248)]();}};if(this['_pendingHost'])return this[_0x30cfa7(0x421)];let _0x41ed30=this[_0x30cfa7(0x428)]();return this[_0x30cfa7(0x421)]=_0x41ed30,_0x41ed30[_0x30cfa7(0x48d)](()=>{const _0x2b6665=_0x30cfa7;this['_pendingHost']===_0x41ed30&&(this[_0x2b6665(0x421)]=null);},()=>{const _0x5b79ce=_0x30cfa7;this[_0x5b79ce(0x421)]===_0x41ed30&&(this[_0x5b79ce(0x421)]=null);}),_0x41ed30;}async[_0x7d12da(0x2fb)](){const _0x3e1317=_0x7d12da;try{return(await this['ensureHandle']())[_0x3e1317(0x4ba)];}catch{return null;}}['checkMounted'](){const _0x354b3d=_0x7d12da;let _0x48a3f7=this[_0x354b3d(0x474)](),_0x2c7b81=(_0x48a3f7==null?void 0x0:_0x48a3f7['domId'])??this[_0x354b3d(0x28f)],_0x322e0e=document[_0x354b3d(0x301)](_0x2c7b81);return!!(this[_0x354b3d(0x2e9)]&&_0x322e0e!=null&&_0x322e0e[_0x354b3d(0x355)](this[_0x354b3d(0x2e9)][_0x354b3d(0x4ba)]));}[_0x7d12da(0x362)](){const _0x512047=_0x7d12da;if(!this[_0x512047(0x2e9)])return;let _0x2722c3=this[_0x512047(0x454)]();_0x2722c3&&this[_0x512047(0x2e9)][_0x512047(0x4f5)](this[_0x512047(0x385)](_0x2722c3),this[_0x512047(0x447)]());}[_0x7d12da(0x35c)](){const _0x4e761c=_0x7d12da;this[_0x4e761c(0x2bf)]();}[_0x7d12da(0x3bc)](){const _0x1e3eb2=_0x7d12da;this[_0x1e3eb2(0x264)]();}['dispose'](){const _0x4e6645=_0x7d12da;var _0x4e2b3d;this[_0x4e6645(0x293)]||(this[_0x4e6645(0x3bc)](),this[_0x4e6645(0x39d)]=null,this[_0x4e6645(0x421)]=null,this[_0x4e6645(0x4d2)](),this['_managed']=!0x1,(_0x4e2b3d=this['_domFrame'])==null||_0x4e2b3d[_0x4e6645(0x248)](),this[_0x4e6645(0x2e9)]=null,this['_restoreHostWrapper'](),super[_0x4e6645(0x248)]());}async[_0x7d12da(0x428)](){const _0xe5037a=_0x7d12da;let _0x4d0c87=this['_getFloatDomInfo']();if(!_0x4d0c87)throw Error(_0xe5037a(0x509));let _0x4ba82e=_0x4d0c87[_0xe5037a(0x4c4)]??this[_0xe5037a(0x28f)],_0x5901d5=_0x509fed(_0x4ba82e),_0xe0a82d=Symbol(this['chartId']);this[_0xe5037a(0x39d)]=_0xe0a82d,this['_waiter']=_0x5901d5;try{let _0x34aab7=await _0x5901d5[_0xe5037a(0x441)],_0x3277b6=this[_0xe5037a(0x474)](),_0x493d18=(_0x3277b6==null?void 0x0:_0x3277b6['domId'])??this[_0xe5037a(0x28f)];if(this[_0xe5037a(0x293)]||this['_isProviderDisposed']()||this[_0xe5037a(0x39d)]!==_0xe0a82d||!_0x3277b6||_0x493d18!==_0x4ba82e||document[_0xe5037a(0x301)](_0x4ba82e)!==_0x34aab7||!_0x34aab7[_0xe5037a(0x357)])throw Error(_0xe5037a(0x509));let _0x1cec93=this[_0xe5037a(0x454)]();if(!_0x1cec93)throw Error(_0xe5037a(0x509));let _0x14873d=new _0x173304[(_0xe5037a(0x217))](_0x34aab7);return _0x14873d[_0xe5037a(0x4f5)](this['_resolveLayout'](_0x1cec93),this['_frameStyle']()),this[_0xe5037a(0x27d)](_0x34aab7),this[_0xe5037a(0x2e9)]=_0x14873d,this[_0xe5037a(0x49a)](_0x3277b6['position$'][_0xe5037a(0x44a)](()=>this['syncLayout']())),this[_0xe5037a(0x2e7)]=!0x0,{'mountNode':_0x14873d[_0xe5037a(0x4ba)],'dispose':()=>{const _0x14ad7d=_0xe5037a;this[_0x14ad7d(0x248)](),_0x4d0c87[_0x14ad7d(0x248)]['dispose']();}};}finally{this[_0xe5037a(0x390)]===_0x5901d5&&(this['_waiter']=null),this[_0xe5037a(0x39d)]===_0xe0a82d&&(this['_pendingToken']=null);}}[_0x7d12da(0x4d2)](){const _0x34c023=_0x7d12da;let _0x53ffbc=this[_0x34c023(0x390)];_0x53ffbc&&(_0x53ffbc[_0x34c023(0x205)](),this[_0x34c023(0x390)]=null);}[_0x7d12da(0x34d)](){const _0x955cbf=_0x7d12da;let _0xc6e0ab=this[_0x955cbf(0x454)]();this['_domFrame']&&_0xc6e0ab&&this[_0x955cbf(0x2e9)][_0x955cbf(0x4f5)](this[_0x955cbf(0x385)](_0xc6e0ab),this[_0x955cbf(0x447)]());}[_0x7d12da(0x385)](_0x29a919){const _0x5d6058=_0x7d12da;return _0x173304[_0x5d6058(0x3c0)]['resolve']({'logicalOuterRect':{'left':_0x29a919[_0x5d6058(0x418)],'top':_0x29a919[_0x5d6058(0x4d5)],'width':_0x29a919[_0x5d6058(0x45d)],'height':_0x29a919[_0x5d6058(0x308)]},'scale':{'scaleX':_0x29a919['scaleX'],'scaleY':_0x29a919[_0x5d6058(0x302)]},'hostStyle':this[_0x5d6058(0x447)](),'contentMode':_0x173304['ChartFrameContentMode'][_0x5d6058(0x3d5)]});}['_frameStyle'](){const _0x1400b4=_0x7d12da;return{...this[_0x1400b4(0x2c1)],'radius':_0x173304[_0x1400b4(0x243)]};}[_0x7d12da(0x27d)](_0x41dae3){const _0x31b7ff=_0x7d12da;let _0x48e498=_0x41dae3[_0x31b7ff(0x504)];_0x48e498&&(this[_0x31b7ff(0x52e)]||={'zIndex':_0x48e498[_0x31b7ff(0x4c7)]['zIndex'],'pointerEvents':_0x48e498[_0x31b7ff(0x4c7)][_0x31b7ff(0x3bb)]},_0x48e498[_0x31b7ff(0x4c7)]['zIndex']=_0x31b7ff(0x438),_0x48e498[_0x31b7ff(0x4c7)][_0x31b7ff(0x3bb)]=_0x31b7ff(0x2b5));}[_0x7d12da(0x4e9)](){const _0x234a40=_0x7d12da;var _0x30f2cf;if(!this[_0x234a40(0x52e)])return;let _0x8cca35=this[_0x234a40(0x474)](),_0x34d596=(_0x8cca35==null?void 0x0:_0x8cca35['domId'])??this[_0x234a40(0x28f)],_0x4b63e6=(_0x30f2cf=document[_0x234a40(0x301)](_0x34d596))==null?void 0x0:_0x30f2cf[_0x234a40(0x504)];_0x4b63e6&&(_0x4b63e6[_0x234a40(0x4c7)]['zIndex']=this['_savedWrapperStyle']['zIndex'],_0x4b63e6[_0x234a40(0x4c7)][_0x234a40(0x3bb)]=this[_0x234a40(0x52e)]['pointerEvents']),this[_0x234a40(0x52e)]=null;}},_0x525637=class extends _0x5dd517[_0x7d12da(0x40e)]{constructor(_0x563f59,_0x3caf99,_0x1c3900,_0x56e008,_0x197784,_0x41be42){const _0x5aa73f=_0x7d12da;super(_0x563f59),this[_0x5aa73f(0x3cb)]=_0x3caf99,this[_0x5aa73f(0x382)]=_0x1c3900,this[_0x5aa73f(0x4bd)]=_0x56e008,this[_0x5aa73f(0x457)]=_0x197784,this[_0x5aa73f(0x3c9)]=_0x41be42;}[_0x7d12da(0x3df)](){const _0x2a2a94=_0x7d12da;let _0x569b3a=this[_0x2a2a94(0x3cb)]();return _0x569b3a?_0x1d1be0(_0x569b3a):null;}[_0x7d12da(0x3d3)](_0x59e9b3){const _0xd87b68=_0x7d12da;this[_0xd87b68(0x382)](_0x59e9b3);}['nextVersion'](){const _0x84825e=_0x7d12da;return this[_0x84825e(0x457)]['nextVersion'](this[_0x84825e(0x4bd)]);}[_0x7d12da(0x28b)](_0x28a93e,_0x2810ce){const _0x35bd2b=_0x7d12da;return this[_0x35bd2b(0x457)][_0x35bd2b(0x520)](this[_0x35bd2b(0x4bd)],_0x28a93e,_0x2810ce);}[_0x7d12da(0x47a)](){const _0x5846a9=_0x7d12da;this[_0x5846a9(0x3c9)]();}[_0x7d12da(0x4e3)](){const _0x3e94f5=_0x7d12da;this['_snapshotStore'][_0x3e94f5(0x4b4)](this[_0x3e94f5(0x4bd)]);}};function _0x493c2e(_0x4b1148,_0x3ade81){return function(_0x126194,_0x16bab6){_0x3ade81(_0x126194,_0x16bab6,_0x4b1148);};}function _0x3b9455(_0x3136c0,_0x242509,_0xe98f,_0x47d290){const _0x3f0e07=_0x7d12da;var _0x5a8962=arguments[_0x3f0e07(0x31c)],_0x2ea500=_0x5a8962<0x3?_0x242509:_0x47d290===null?_0x47d290=Object[_0x3f0e07(0x29e)](_0x242509,_0xe98f):_0x47d290,_0x50cc03;if(typeof Reflect==_0x3f0e07(0x284)&&typeof Reflect['decorate']==_0x3f0e07(0x295))_0x2ea500=Reflect['decorate'](_0x3136c0,_0x242509,_0xe98f,_0x47d290);else{for(var _0x4e714c=_0x3136c0[_0x3f0e07(0x31c)]-0x1;_0x4e714c>=0x0;_0x4e714c--)(_0x50cc03=_0x3136c0[_0x4e714c])&&(_0x2ea500=(_0x5a8962<0x3?_0x50cc03(_0x2ea500):_0x5a8962>0x3?_0x50cc03(_0x242509,_0xe98f,_0x2ea500):_0x50cc03(_0x242509,_0xe98f))||_0x2ea500);}return _0x5a8962>0x3&&_0x2ea500&&Object[_0x3f0e07(0x445)](_0x242509,_0xe98f,_0x2ea500),_0x2ea500;}function _0x1b4564(_0x4e0ae9){const _0x3d1886=_0x7d12da;if(!Object[_0x3d1886(0x48f)][_0x3d1886(0x383)][_0x3d1886(0x255)](_0x4e0ae9,_0x3d1886(0x4d7)))return _0x4e0ae9;let {border:_0x1ec09d,..._0x3b9d3f}=_0x4e0ae9;return{..._0x3b9d3f,'stroke':(_0x1ec09d==null?void 0x0:_0x1ec09d[_0x3d1886(0x43b)])??'transparent','strokeWidth':(_0x1ec09d==null?void 0x0:_0x1ec09d[_0x3d1886(0x45d)])??0x0};}let _0x3f6cbd=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x33d849,_0x37ae0c,_0x41789b,_0x1edb67){const _0x466f33=_0x7d12da;super(),this[_0x466f33(0x22b)]=_0x33d849,this[_0x466f33(0x4f8)]=_0x37ae0c,this[_0x466f33(0x48a)]=_0x41789b,this['_canvasFloatDomService']=_0x1edb67,_0x451b0c(this,_0x466f33(0x480),new Map()),_0x451b0c(this,_0x466f33(0x2f2),new Set()),_0x451b0c(this,'_removeHost$',new _0x15372d['Subject']()),_0x451b0c(this,_0x466f33(0x30e),this[_0x466f33(0x403)][_0x466f33(0x30d)]()),this[_0x466f33(0x49a)](this[_0x466f33(0x22b)][_0x466f33(0x2ed)][_0x466f33(0x44a)](_0x2fd12d=>{const _0x5bf40c=_0x466f33;let _0x5a8eac=this['_chartHostMap'][_0x5bf40c(0x287)](_0x2fd12d['id']);_0x5a8eac!=null&&_0x5a8eac[_0x5bf40c(0x25f)]()&&(_0x5a8eac[_0x5bf40c(0x469)](),this[_0x5bf40c(0x403)][_0x5bf40c(0x3da)](_0x2fd12d['id']));}));}[_0x7d12da(0x2d0)](_0x13df60){const _0x2caea6=_0x7d12da;if(_0x13df60==null)return;let _0x46b85f=this[_0x2caea6(0x4f8)][_0x2caea6(0x4c2)](_0x13df60),_0x50b879=_0x46b85f==null?void 0x0:_0x46b85f[_0x2caea6(0x23f)];return _0x46b85f==null||_0x50b879==null?null:{'scene':_0x50b879,'transformer':_0x50b879[_0x2caea6(0x1e1)](),'renderUnit':_0x46b85f,'canvas':_0x46b85f[_0x2caea6(0x2ce)][_0x2caea6(0x3fb)]()};}[_0x7d12da(0x24f)](_0x46ae7f,_0x1b8007){const _0x17e04b=_0x7d12da;let _0xfc9d01=this['_sheetCanvasFloatDomManagerService'],_0xe264e1=_0x1b8007||_0x17e04b(0x427),_0x60f876=_0xfc9d01[_0x17e04b(0x4a2)](_0x46ae7f);if(_0x60f876){let {unitId:_0x1a10e1,subUnitId:_0x1826e7}=_0x60f876;_0xfc9d01['updateFloatDomProps'](_0x1a10e1,_0x1826e7,_0x46ae7f,{'stroke':_0xe264e1});}}[_0x7d12da(0x325)](_0x50df78,_0x5026f4){const _0x4341e4=_0x7d12da;let _0x324e20=this[_0x4341e4(0x22b)],_0x38fab1=_0x324e20[_0x4341e4(0x4a2)](_0x50df78);if(_0x38fab1){let {unitId:_0x28d69d,subUnitId:_0x32ba9d}=_0x38fab1;_0x324e20[_0x4341e4(0x2bc)](_0x28d69d,_0x32ba9d,_0x50df78,_0x1b4564(_0x5026f4));}}['getHostSize'](_0x47f7a0){const _0x43b1c8=_0x7d12da;let _0xf13c6f=this[_0x43b1c8(0x22b)][_0x43b1c8(0x4a2)](_0x47f7a0);return _0xf13c6f?_0xf13c6f[_0x43b1c8(0x3af)]:null;}[_0x7d12da(0x1da)](_0x1e5757){const _0x18b8f9=_0x7d12da;var _0x1971e1;return((_0x1971e1=this['_chartHostMap'][_0x18b8f9(0x287)](_0x1e5757))==null?void 0x0:_0x1971e1[_0x18b8f9(0x396)]())??!0x1;}[_0x7d12da(0x50e)](_0xaebea6){const _0x2384a4=_0x7d12da;var _0xbde45e;(_0xbde45e=this[_0x2384a4(0x480)][_0x2384a4(0x287)](_0xaebea6))==null||_0xbde45e['syncLayout']();}[_0x7d12da(0x335)](_0x2235c2){const _0x1a89bd=_0x7d12da;let _0x2b00f0=this[_0x1a89bd(0x480)][_0x1a89bd(0x287)](_0x2235c2);_0x2b00f0==null||_0x2b00f0[_0x1a89bd(0x248)](),this[_0x1a89bd(0x480)][_0x1a89bd(0x24c)](_0x2235c2);}async[_0x7d12da(0x4cc)](_0x147962,_0x1fad88){const _0x9999b=_0x7d12da;if(_0x1fad88===_0x5dd517[_0x9999b(0x259)][_0x9999b(0x3c7)])return this[_0x9999b(0x3e2)](_0x147962);if(_0x1fad88===_0x5dd517[_0x9999b(0x259)][_0x9999b(0x4c9)])return this[_0x9999b(0x1fd)](_0x147962);let _0x515289=this[_0x9999b(0x1fd)](_0x147962);if(!_0x515289)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x515289[_0x9999b(0x52d)]();}[_0x7d12da(0x33d)](_0x261458){const _0x497705=_0x7d12da;return this[_0x497705(0x2f2)][_0x497705(0x353)](_0x261458);}[_0x7d12da(0x34c)](_0x54749d){const _0xd1b6a1=_0x7d12da;this[_0xd1b6a1(0x2f2)][_0xd1b6a1(0x24c)](_0x54749d)&&this[_0xd1b6a1(0x4e4)](_0x54749d);}[_0x7d12da(0x4e3)](_0x4d6fbc){const _0x4d9ec0=_0x7d12da;let _0x51d0bb=this[_0x4d9ec0(0x1ee)](_0x4d6fbc);_0x51d0bb&&this[_0x4d9ec0(0x48a)]['nextVersion'](_0x51d0bb);}[_0x7d12da(0x3e2)](_0x382294){const _0x1e569f=_0x7d12da;let _0x55170e=this[_0x1e569f(0x1ee)](_0x382294);return!_0x55170e||!this[_0x1e569f(0x41f)](_0x382294)?null:new _0x525637(_0x382294,()=>this[_0x1e569f(0x41f)](_0x382294),_0x129509=>this[_0x1e569f(0x325)](_0x382294,_0x129509),_0x55170e,this['_chartSnapshotStoreService'],()=>this[_0x1e569f(0x4e4)](_0x382294));}[_0x7d12da(0x1fd)](_0x1551de){const _0x182ee2=_0x7d12da;if(!this[_0x182ee2(0x41f)](_0x1551de))return null;this[_0x182ee2(0x4fe)][_0x182ee2(0x39b)](_0x1551de,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0xd19f40=this['_chartHostMap']['get'](_0x1551de);if(_0xd19f40)return _0xd19f40;let _0x3a6049=new _0x2f95dc(_0x1551de,()=>this['_sheetCanvasFloatDomManagerService'][_0x182ee2(0x4a2)](_0x1551de),()=>this[_0x182ee2(0x387)](_0x1551de),_0x457754=>this[_0x182ee2(0x325)](_0x1551de,_0x457754),()=>this[_0x182ee2(0x293)],()=>this[_0x182ee2(0x46b)](_0x1551de),()=>this[_0x182ee2(0x34c)](_0x1551de));return this['_chartHostMap'][_0x182ee2(0x29a)](_0x1551de,_0x3a6049),_0x3a6049;}[_0x7d12da(0x46b)](_0x59c4e0){const _0xf85495=_0x7d12da;this[_0xf85495(0x2f2)][_0xf85495(0x353)](_0x59c4e0)||(this[_0xf85495(0x2f2)][_0xf85495(0x448)](_0x59c4e0),this[_0xf85495(0x4e4)](_0x59c4e0));}['_getChartSnapshotKey'](_0x1c599f){const _0x3c2f5f=_0x7d12da;let _0x63408f=this[_0x3c2f5f(0x22b)]['getFloatDomInfo'](_0x1c599f);return _0x63408f?{'unitId':_0x63408f[_0x3c2f5f(0x490)],'subUnitId':_0x63408f[_0x3c2f5f(0x26e)],'chartId':_0x1c599f}:null;}[_0x7d12da(0x4e4)](_0x388942){const _0xdf44d5=_0x7d12da;var _0x5e59f3,_0x473190,_0x32494d;let _0x251739=this[_0xdf44d5(0x22b)][_0xdf44d5(0x4a2)](_0x388942);if(!_0x251739)return;let _0x3cf1af=(_0x5e59f3=this['_renderManagerService'][_0xdf44d5(0x4c2)](_0x251739[_0xdf44d5(0x490)]))==null?void 0x0:_0x5e59f3['scene'],_0x5880ca=(_0x3cf1af==null||(_0x473190=_0x3cf1af['getObjectIncludeInGroup'])==null?void 0x0:_0x473190[_0xdf44d5(0x255)](_0x3cf1af,(0x0,_0x5405e4[_0xdf44d5(0x494)])({'unitId':_0x251739['unitId'],'subUnitId':_0x251739['subUnitId'],'drawingId':_0x388942})))??(_0x3cf1af==null?void 0x0:_0x3cf1af[_0xdf44d5(0x316)]((0x0,_0x5405e4['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x251739['unitId'],'subUnitId':_0x251739[_0xdf44d5(0x26e)],'drawingId':_0x388942})))??null;_0x5880ca==null||(_0x32494d=_0x5880ca[_0xdf44d5(0x3d9)])==null||_0x32494d[_0xdf44d5(0x255)](_0x5880ca,!0x0),_0x3cf1af==null||_0x3cf1af['makeDirty'](!0x0);}[_0x7d12da(0x387)](_0x53d283){const _0x21ca28=_0x7d12da;let _0x5d4892=this[_0x21ca28(0x22b)][_0x21ca28(0x4a2)](_0x53d283);if(!_0x5d4892)return null;let _0x1318d5=this['_getSceneAndTransformerByDrawingSearch'](_0x5d4892[_0x21ca28(0x490)]),_0x7b8a5b=_0x1318d5==null?void 0x0:_0x1318d5[_0x21ca28(0x23f)],_0x568296=document[_0x21ca28(0x301)](_0x5d4892[_0x21ca28(0x4c4)]??_0x53d283);return _0x1447d2(_0x5d4892[_0x21ca28(0x3af)],{'scaleX':(_0x7b8a5b==null?void 0x0:_0x7b8a5b[_0x21ca28(0x2d3)])??0x1,'scaleY':(_0x7b8a5b==null?void 0x0:_0x7b8a5b[_0x21ca28(0x302)])??0x1},_0x568296?{'left':_0x568296[_0x21ca28(0x4ef)],'top':_0x568296[_0x21ca28(0x245)]}:void 0x0);}['dispose'](){const _0x1897c9=_0x7d12da;this[_0x1897c9(0x293)]||(this[_0x1897c9(0x480)]['forEach'](_0x53d976=>_0x53d976[_0x1897c9(0x248)]()),this[_0x1897c9(0x480)][_0x1897c9(0x493)](),this[_0x1897c9(0x2f2)]['clear'](),this['_removeHost$']['complete'](),super[_0x1897c9(0x248)]());}};_0x3f6cbd=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec['Inject'])(_0x364311['SheetCanvasFloatDomManagerService'])),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x41ff50[_0x7d12da(0x320)])),_0x493c2e(0x2,(0x0,_0x1da7ec['Inject'])(_0x167f01)),_0x493c2e(0x3,(0x0,_0x1da7ec['Inject'])(_0x58ec7c[_0x7d12da(0x3a2)]))],_0x3f6cbd);let _0xa24186=(0x0,_0x1da7ec['createIdentifier'])(_0x7d12da(0x267)),_0x4b3521=(0x0,_0x1da7ec['createIdentifier'])(_0x7d12da(0x2dc)),_0xd38931=class extends _0x173304[_0x7d12da(0x1f2)]{constructor(_0x40e7e4,_0xb0afaf,_0x2b4805,_0x57137f,_0x14d549,_0x54b8db){const _0x208808=_0x7d12da;super(_0x54b8db),this['_chartModelService']=_0x40e7e4,this['_sheetsChartService']=_0xb0afaf,this[_0x208808(0x261)]=_0x2b4805,this['_localeService']=_0x57137f,this[_0x208808(0x337)]=_0x14d549,_0x451b0c(this,_0x208808(0x47f),!0x1),_0x451b0c(this,_0x208808(0x234),new _0x15372d[(_0x208808(0x266))](null)),_0x451b0c(this,_0x208808(0x2a4),new _0x15372d[(_0x208808(0x266))](null)),_0x451b0c(this,_0x208808(0x4ee),new _0x15372d['BehaviorSubject'](null)),_0x451b0c(this,_0x208808(0x3d1),this[_0x208808(0x234)][_0x208808(0x30d)]()),_0x451b0c(this,_0x208808(0x31b),this['_selectedElement$'][_0x208808(0x30d)]()),_0x451b0c(this,_0x208808(0x434),this[_0x208808(0x4ee)][_0x208808(0x30d)]());}get['activeRuntimeModel'](){const _0x2adb30=_0x7d12da;return this[_0x2adb30(0x3dc)][_0x2adb30(0x48b)]??null;}get[_0x7d12da(0x48b)](){const _0x5d55df=_0x7d12da;return this['_chartModelService'][_0x5d55df(0x48b)];}get[_0x7d12da(0x30b)](){const _0x1f0377=_0x7d12da;return this['_chartModelService'][_0x1f0377(0x30b)];}get[_0x7d12da(0x4df)](){return this['_activeEditChart$']['getValue']();}get[_0x7d12da(0x1fa)](){const _0x263af5=_0x7d12da;return this[_0x263af5(0x507)][_0x263af5(0x1fa)];}get[_0x7d12da(0x280)](){const _0x5352e7=_0x7d12da;return this[_0x5352e7(0x47f)];}['setRangeSelectMode'](_0x45ec55){const _0x527ac1=_0x7d12da;this[_0x527ac1(0x47f)]=_0x45ec55;}[_0x7d12da(0x2b7)](_0xc2e228){const _0x412940=_0x7d12da;this[_0x412940(0x234)][_0x412940(0x4db)]()!==_0xc2e228&&this[_0x412940(0x234)][_0x412940(0x3da)](_0xc2e228);}[_0x7d12da(0x306)](_0x5e7c94){const _0x17b455=_0x7d12da;return this[_0x17b455(0x4df)]===_0x5e7c94;}[_0x7d12da(0x453)](_0x305ab4){const _0x2c0940=_0x7d12da;this[_0x2c0940(0x2a4)]['next'](_0x305ab4);}[_0x7d12da(0x2f4)](_0x48790c,_0x2de9f8){const _0x1bc1e6=_0x7d12da;this['_panelRoute$'][_0x1bc1e6(0x3da)]({'chartId':_0x48790c,'route':_0x2de9f8});}[_0x7d12da(0x4b1)](){const _0x180063=_0x7d12da;this[_0x180063(0x4ee)][_0x180063(0x3da)](null);}[_0x7d12da(0x4bb)](_0x3e1ab7){const _0x4c3138=_0x7d12da;let _0x391849=this[_0x4c3138(0x48b)];_0x391849&&this[_0x4c3138(0x460)]({'chartModelId':_0x391849['id'],'range':_0x3e1ab7});}['setOrientation'](_0x467f75){const _0x490f4f=_0x7d12da;var _0x23cacf;let _0x349079=this[_0x490f4f(0x48b)];if(!_0x349079)return;let _0xc65d26=(_0x23cacf=this[_0x490f4f(0x339)][_0x490f4f(0x272)](_0x349079['id']))==null?void 0x0:_0x23cacf['getRangeInfo']();if(!_0xc65d26)return;let _0x1427a7={..._0xc65d26,'isRowDirection':_0x467f75===_0x5dd517['DataOrientation'][_0x490f4f(0x3ff)]};this[_0x490f4f(0x460)]({'chartModelId':_0x349079['id'],'range':_0x1427a7});}[_0x7d12da(0x512)](_0x51d9a9){const _0x386b73=_0x7d12da;var _0x36f52a;this[_0x386b73(0x261)][_0x386b73(0x40d)](_0x28eb9a['ChartUpdateConfigCommand']['id'],{..._0x51d9a9,'unitId':((_0x36f52a=this[_0x386b73(0x337)][_0x386b73(0x538)]())==null?void 0x0:_0x36f52a[_0x386b73(0x2cf)]())??''});}['_executeChartUpdateSourceConfig'](_0x5927bb){const _0x3644de=_0x7d12da;var _0x3a247c;this[_0x3644de(0x261)][_0x3644de(0x40d)](_0x28eb9a[_0x3644de(0x291)]['id'],{..._0x5927bb,'unitId':((_0x3a247c=this['_univerInstanceService'][_0x3644de(0x538)]())==null?void 0x0:_0x3a247c[_0x3644de(0x2cf)]())??''});}[_0x7d12da(0x248)](){const _0x15f45f=_0x7d12da;this[_0x15f45f(0x234)][_0x15f45f(0x240)](),this[_0x15f45f(0x2a4)][_0x15f45f(0x240)](),this['_panelRoute$']['complete'](),super['dispose']();}};_0xd38931=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a['ChartModelService'])),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a[_0x7d12da(0x423)])),_0x493c2e(0x2,_0x1da7ec[_0x7d12da(0x496)]),_0x493c2e(0x3,(0x0,_0x1da7ec['Inject'])(_0x1da7ec[_0x7d12da(0x21e)])),_0x493c2e(0x4,_0x1da7ec['IUniverInstanceService']),_0x493c2e(0x5,(0x0,_0x1da7ec['Inject'])(_0x173304[_0x7d12da(0x42e)]))],_0xd38931);let _0x3bea03=_0x28eb9a['ChartRenderMode'][_0x7d12da(0x3c7)];var _0x371f2f=class extends _0x5dd517[_0x7d12da(0x40e)]{constructor(_0x3ca23a,_0x3cf3b7){const _0x2b50f9=_0x7d12da;super(_0x3ca23a),this[_0x2b50f9(0x342)]=_0x3cf3b7,_0x451b0c(this,_0x2b50f9(0x398),0x0),_0x451b0c(this,_0x2b50f9(0x233),void 0x0),_0x451b0c(this,_0x2b50f9(0x4c7),{});}['getRect'](){const _0x3e52c2=_0x7d12da;return this[_0x3e52c2(0x342)];}[_0x7d12da(0x3d3)](_0x319d24){const _0x254aa4=_0x7d12da;this[_0x254aa4(0x4c7)]=_0x319d24;}['nextVersion'](){return++this['_version'];}[_0x7d12da(0x28b)](_0x1235c2,_0x1ccdbb){const _0x2427eb=_0x7d12da;return _0x1ccdbb===this[_0x2427eb(0x398)]?(_0x149a94(this[_0x2427eb(0x233)]),this[_0x2427eb(0x233)]=_0x1235c2,!0x0):(_0x149a94(_0x1235c2),!0x1);}[_0x7d12da(0x47a)](){}['invalidateSnapshot'](){const _0x2b1c1f=_0x7d12da;this[_0x2b1c1f(0x398)]+=0x1;}['takeSnapshot'](){const _0x48d977=_0x7d12da;let _0x242d12=this[_0x48d977(0x233)];return this[_0x48d977(0x233)]=void 0x0,_0x242d12;}['dispose'](){const _0x5dea4f=_0x7d12da;_0x149a94(this[_0x5dea4f(0x233)]),this[_0x5dea4f(0x233)]=void 0x0,super[_0x5dea4f(0x248)]();}};function _0xe7c016(_0x327dd4,_0x4224bb,_0xdb650e){const _0x2ee3c6=_0x7d12da;let _0x5a3af4=_0x327dd4['getRuntimeContext'](_0x4224bb);return(0x0,_0x5dd517[_0x2ee3c6(0x36d)])({..._0x327dd4[_0x2ee3c6(0x4c7)],'runtime':{..._0x5a3af4,'layoutInset':0x8,..._0xdb650e===void 0x0?{}:{'addWatermark':_0xdb650e}},'direction':_0x4224bb},_0x327dd4[_0x2ee3c6(0x429)]);}let _0x32f42a=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x49f783,_0x316180,_0x46ec52,_0x2a7d26,_0x38dde8,_0x1f9a58,_0x161c3d,_0x4fe255,_0x3e572a,_0x5da0cd,_0x566dd7,_0x21de80,_0x583f96,_0x28878f){const _0x3e90fa=_0x7d12da;super(),this[_0x3e90fa(0x27a)]=_0x49f783,this[_0x3e90fa(0x22b)]=_0x316180,this[_0x3e90fa(0x3dc)]=_0x46ec52,this[_0x3e90fa(0x2f9)]=_0x2a7d26,this[_0x3e90fa(0x337)]=_0x38dde8,this['_renderManagerService']=_0x1f9a58,this[_0x3e90fa(0x507)]=_0x161c3d,this[_0x3e90fa(0x4d3)]=_0x4fe255,this[_0x3e90fa(0x451)]=_0x3e572a,this['_chartThemeService']=_0x5da0cd,this[_0x3e90fa(0x3fc)]=_0x566dd7,this['_configService']=_0x21de80,this[_0x3e90fa(0x48a)]=_0x583f96,this[_0x3e90fa(0x28c)]=_0x28878f,_0x451b0c(this,_0x3e90fa(0x477),new Map()),_0x451b0c(this,_0x3e90fa(0x365),new Map()),_0x451b0c(this,_0x3e90fa(0x516),new Map()),_0x451b0c(this,_0x3e90fa(0x269),new Map()),_0x451b0c(this,_0x3e90fa(0x52a),new Map()),_0x451b0c(this,_0x3e90fa(0x3ac),new Map()),_0x451b0c(this,_0x3e90fa(0x389),void 0x0),_0x451b0c(this,_0x3e90fa(0x3c5),void 0x0),_0x451b0c(this,_0x3e90fa(0x43f),new Map()),_0x451b0c(this,'_activeChartId',null),_0x451b0c(this,_0x3e90fa(0x503),null);let _0x494a2e=(0x0,_0x28eb9a[_0x3e90fa(0x26b)])(this['_injector']),_0x3b22c2=this[_0x3e90fa(0x3b4)][_0x3e90fa(0x34e)](_0x28eb9a[_0x3e90fa(0x4d0)]);this['_chartRenderMode']=(_0x3b22c2==null?void 0x0:_0x3b22c2[_0x3e90fa(0x220)])??_0x3bea03,this[_0x3e90fa(0x3c5)]=_0x494a2e[_0x3e90fa(0x31c)]!==0x1||_0x494a2e[0x0]!==_0x3e90fa(0x521),this['_registerChartImageRenderObjectFactory'](),this['_initActiveChartModelListener'](),this['_initDrawingDeactivationListener'](),this[_0x3e90fa(0x464)](),this['handleActiveSubUnitChange']();}['getChartSnapshotImage'](_0x4eefc2){const _0x3c0733=_0x7d12da;let _0x4810f0=this[_0x3c0733(0x1ee)](_0x4eefc2);return _0x4810f0?this[_0x3c0733(0x48a)][_0x3c0733(0x4eb)](_0x4810f0):void 0x0;}['_resolveChartRenderMode'](_0xce250e){const _0x26d40b=_0x7d12da;var _0x1a8264;return((_0x1a8264=this['_chartModelService'][_0x26d40b(0x48b)])==null?void 0x0:_0x1a8264['id'])===_0xce250e?_0x28eb9a[_0x26d40b(0x237)][_0x26d40b(0x4c9)]:this[_0x26d40b(0x389)];}[_0x7d12da(0x1ee)](_0x1eaa4d){const _0x47727a=_0x7d12da;let _0x5a8ac6=this[_0x47727a(0x22b)][_0x47727a(0x4a2)](_0x1eaa4d);return _0x5a8ac6?{'unitId':_0x5a8ac6[_0x47727a(0x490)],'subUnitId':_0x5a8ac6['subUnitId'],'chartId':_0x1eaa4d}:null;}['_registerChartImageRenderObjectFactory'](){const _0x372b8d=_0x7d12da;this['_chartRenderMode']===_0x28eb9a[_0x372b8d(0x237)]['Image']&&this[_0x372b8d(0x49a)](this[_0x372b8d(0x22b)][_0x372b8d(0x393)](_0x1da7ec[_0x372b8d(0x2ff)][_0x372b8d(0x3ca)],({key:_0x2f916e,config:_0x53ea0a,unitId:_0xff25c0,subUnitId:_0xd36962,drawingId:_0x49b0d4})=>new _0x49d975(_0x2f916e,_0x53ea0a,()=>this['_chartSnapshotStoreService'][_0x372b8d(0x4eb)]({'unitId':_0xff25c0,'subUnitId':_0xd36962,'chartId':_0x49b0d4}),()=>this[_0x372b8d(0x27a)]['isDomReady'](_0x49b0d4))));}[_0x7d12da(0x1f9)](){const _0x22d28f=_0x7d12da;this['disposeWithMe'](this[_0x22d28f(0x3dc)][_0x22d28f(0x30b)][_0x22d28f(0x44a)](_0x8d1486=>{const _0x364b2d=_0x22d28f;let _0x3bc6d9=(_0x8d1486==null?void 0x0:_0x8d1486['id'])??null,_0x317eb8=this['_activeChartId'];_0x317eb8!==_0x3bc6d9&&(_0x317eb8&&(this[_0x364b2d(0x27a)][_0x364b2d(0x34c)](_0x317eb8),this[_0x364b2d(0x28e)](_0x317eb8),this[_0x364b2d(0x475)](_0x317eb8),this['_rerenderLatest'](_0x317eb8)),this[_0x364b2d(0x2ee)]=_0x3bc6d9,_0x3bc6d9&&(this[_0x364b2d(0x27a)][_0x364b2d(0x34c)](_0x3bc6d9),this[_0x364b2d(0x3c8)](_0x3bc6d9),this[_0x364b2d(0x36f)](_0x3bc6d9)));}));}['_initDrawingDeactivationListener'](){const _0xec2fa1=_0x7d12da;this['disposeWithMe'](this[_0xec2fa1(0x2f9)][_0xec2fa1(0x49e)]['subscribe'](_0x1570ab=>{const _0x51689e=_0xec2fa1;var _0xee8fc3;let _0x53b455=(_0xee8fc3=this[_0x51689e(0x3dc)][_0x51689e(0x48b)])==null?void 0x0:_0xee8fc3['id'];_0x53b455&&_0x1570ab[_0x51689e(0x275)](_0x5916cd=>_0x5916cd[_0x51689e(0x536)][_0x51689e(0x275)](_0x1a03e9=>_0x1a03e9[_0x51689e(0x411)]===_0x53b455))&&this[_0x51689e(0x3dc)][_0x51689e(0x32e)](null);})),this['disposeWithMe'](this['_drawingManagerService'][_0xec2fa1(0x37e)]['subscribe'](_0x52fb35=>{const _0x30f9b9=_0xec2fa1;var _0x37a1fe;let _0xdc1b9e=(_0x37a1fe=this[_0x30f9b9(0x3dc)][_0x30f9b9(0x48b)])==null?void 0x0:_0x37a1fe['id'];_0xdc1b9e&&_0x52fb35[_0x30f9b9(0x275)](_0x43b18a=>_0x43b18a[_0x30f9b9(0x3e1)][_0x30f9b9(0x411)]===_0xdc1b9e||_0x43b18a[_0x30f9b9(0x536)][_0x30f9b9(0x275)](_0x5a35a6=>_0x5a35a6[_0x30f9b9(0x411)]===_0xdc1b9e))&&this['_chartModelService'][_0x30f9b9(0x32e)](null);}));}[_0x7d12da(0x464)](){const _0x349c33=_0x7d12da;this[_0x349c33(0x49a)](this[_0x349c33(0x2f9)][_0x349c33(0x42d)][_0x349c33(0x44a)](_0x1548fa=>{const _0x3c61ad=_0x349c33;var _0x1b01f4;let _0x3c2d26=(_0x1b01f4=this[_0x3c61ad(0x3dc)][_0x3c61ad(0x48b)])==null?void 0x0:_0x1b01f4['id'];if(!_0x3c2d26){_0x1548fa[_0x3c61ad(0x379)][_0x3c61ad(0x495)](_0x3aaee8=>{const _0x4cefc6=_0x3c61ad;this[_0x4cefc6(0x3dc)][_0x4cefc6(0x343)](_0x3aaee8)&&this[_0x4cefc6(0x28e)](_0x3aaee8);});return;}let _0x34a280=this['_sheetCanvasFloatDomManagerService'][_0x3c61ad(0x4a2)](_0x3c2d26);(_0x34a280==null?void 0x0:_0x34a280[_0x3c61ad(0x490)])===_0x1548fa[_0x3c61ad(0x490)]&&_0x34a280['subUnitId']===_0x1548fa[_0x3c61ad(0x26e)]&&this[_0x3c61ad(0x3c8)](_0x3c2d26);})),this[_0x349c33(0x49a)](this[_0x349c33(0x2f9)][_0x349c33(0x45a)][_0x349c33(0x44a)](_0x41a8d5=>{const _0xe999d3=_0x349c33;var _0x79acc9;let _0x5d7133=(_0x79acc9=this[_0xe999d3(0x3dc)][_0xe999d3(0x48b)])==null?void 0x0:_0x79acc9['id'];if(!_0x5d7133)return;let _0x49b345=this['_sheetCanvasFloatDomManagerService'][_0xe999d3(0x4a2)](_0x5d7133);_0x49b345&&_0x41a8d5[_0xe999d3(0x275)](_0x1e3b95=>_0x1e3b95[_0xe999d3(0x490)]===_0x49b345['unitId']&&_0x1e3b95[_0xe999d3(0x26e)]===_0x49b345[_0xe999d3(0x26e)])&&this['_applyActiveChartRuntimeZIndex'](_0x5d7133);})),this[_0x349c33(0x49a)](this[_0x349c33(0x3dc)][_0x349c33(0x51e)]['subscribe'](_0x23f8f5=>{const _0xde1cd4=_0x349c33;var _0x3ff32d;this[_0xde1cd4(0x43f)][_0xde1cd4(0x24c)](_0x23f8f5),this['_chartSnapshotStoreService'][_0xde1cd4(0x3b9)](_0x23f8f5),this['_clearChartRuntimeCache'](_0x23f8f5),this['_chartHostProvider'][_0xde1cd4(0x34c)](_0x23f8f5),((_0x3ff32d=this[_0xde1cd4(0x3dc)][_0xde1cd4(0x48b)])==null?void 0x0:_0x3ff32d['id'])===_0x23f8f5?this[_0xde1cd4(0x3dc)][_0xde1cd4(0x32e)](null):this['_resetChartRuntimeZIndex'](_0x23f8f5),this[_0xde1cd4(0x202)](_0x23f8f5);}));}[_0x7d12da(0x36f)](_0x206925){const _0x5546e8=_0x7d12da;let _0x4e06f8=this['_lastRenderInputMap'][_0x5546e8(0x287)](_0x206925);_0x4e06f8&&this[_0x5546e8(0x289)](_0x206925,_0x4e06f8[_0x5546e8(0x21f)],_0x4e06f8['style']);}[_0x7d12da(0x475)](_0x3e3831){const _0x14a1c6=_0x7d12da;let _0x4c0325=this['_chartInstanceMap'][_0x14a1c6(0x287)](_0x3e3831);(_0x4c0325==null?void 0x0:_0x4c0325[_0x14a1c6(0x329)])===_0x14a1c6(0x426)&&(this[_0x14a1c6(0x376)](_0x3e3831),_0x4c0325[_0x14a1c6(0x248)](),this[_0x14a1c6(0x477)][_0x14a1c6(0x24c)](_0x3e3831)),this[_0x14a1c6(0x27a)][_0x14a1c6(0x34c)](_0x3e3831),this[_0x14a1c6(0x27a)][_0x14a1c6(0x335)](_0x3e3831);}[_0x7d12da(0x202)](_0x3e4804){const _0x29e55c=_0x7d12da;let _0x371918=this[_0x29e55c(0x477)][_0x29e55c(0x287)](_0x3e4804);_0x371918&&(this[_0x29e55c(0x376)](_0x3e4804),_0x371918[_0x29e55c(0x248)](),this[_0x29e55c(0x477)][_0x29e55c(0x24c)](_0x3e4804)),this[_0x29e55c(0x27a)][_0x29e55c(0x34c)](_0x3e4804),this[_0x29e55c(0x27a)][_0x29e55c(0x335)](_0x3e4804);}[_0x7d12da(0x501)](_0x120ac6){const _0x412f32=_0x7d12da;var _0x1f60b6,_0xfc0ef3;(_0x1f60b6=this[_0x412f32(0x28c)][_0x412f32(0x3a1)](_0x5dd517[_0x412f32(0x1e9)]))==null||(_0xfc0ef3=_0x1f60b6[_0x412f32(0x3e6)])==null||_0xfc0ef3[_0x412f32(0x255)](_0x1f60b6,_0x120ac6);}[_0x7d12da(0x4f1)](_0x4e6a1d,_0x591e05){const _0x575d79=_0x7d12da;let _0x17bb7b=this[_0x575d79(0x2f9)]['getDrawingData'](_0x4e6a1d,_0x591e05);Object['values'](_0x17bb7b??{})[_0x575d79(0x495)](_0x58474a=>{const _0x3f3913=_0x575d79;_0x58474a[_0x3f3913(0x214)]===_0x1da7ec[_0x3f3913(0x2ff)][_0x3f3913(0x3ca)]&&this['_clearChartRuntimeCache'](_0x58474a[_0x3f3913(0x411)]);});}['_getChartRenderObject'](_0x17bd5e,_0x27b4c3){const _0x46d50c=_0x7d12da;var _0xee04f9;return((_0xee04f9=_0x17bd5e[_0x46d50c(0x3e9)])==null?void 0x0:_0xee04f9[_0x46d50c(0x255)](_0x17bd5e,_0x27b4c3))??_0x17bd5e[_0x46d50c(0x316)](_0x27b4c3)??null;}[_0x7d12da(0x47e)](_0x43feba){const _0x291164=_0x7d12da;var _0xa9d810;let _0x31e034=this[_0x291164(0x22b)][_0x291164(0x4a2)](_0x43feba);if(!_0x31e034)return null;let _0x3c250a=(_0xa9d810=this[_0x291164(0x4f8)][_0x291164(0x4c2)](_0x31e034['unitId']))==null?void 0x0:_0xa9d810[_0x291164(0x23f)];if(!_0x3c250a)return null;let _0x2b9605=this[_0x291164(0x38a)](_0x3c250a,(0x0,_0x5405e4[_0x291164(0x494)])({'unitId':_0x31e034[_0x291164(0x490)],'subUnitId':_0x31e034['subUnitId'],'drawingId':_0x43feba}));return _0x2b9605?{'info':_0x31e034,'scene':_0x3c250a,'chartObject':_0x2b9605}:null;}[_0x7d12da(0x38c)](_0xe9d619,_0x35236f){const _0x1e0145=_0x7d12da;var _0x58b333,_0x35e603,_0x409ef4,_0x26e430;let _0x4fc4d6=this[_0x1e0145(0x47e)](_0xe9d619);_0x4fc4d6&&((_0x58b333=(_0x35e603=_0x4fc4d6[_0x1e0145(0x4c1)])['setProps'])==null||_0x58b333[_0x1e0145(0x255)](_0x35e603,{'zIndex':_0x35236f}),(_0x409ef4=(_0x26e430=_0x4fc4d6[_0x1e0145(0x4c1)])[_0x1e0145(0x3d9)])==null||_0x409ef4[_0x1e0145(0x255)](_0x26e430,!0x0),_0x4fc4d6[_0x1e0145(0x23f)][_0x1e0145(0x3d9)](!0x0));}[_0x7d12da(0x3c8)](_0x144028){const _0x4bc576=_0x7d12da;let _0x815b45=this[_0x4bc576(0x22b)][_0x4bc576(0x4a2)](_0x144028);if(!_0x815b45)return;let _0x203a13=this['_drawingManagerService'][_0x4bc576(0x25d)](_0x815b45[_0x4bc576(0x490)],_0x815b45[_0x4bc576(0x26e)]);this[_0x4bc576(0x38c)](_0x144028,_0x203a13[_0x4bc576(0x31c)]);}['_resetChartRuntimeZIndex'](_0x276f28){const _0xe4289f=_0x7d12da;let _0x2b1511=this[_0xe4289f(0x22b)][_0xe4289f(0x4a2)](_0x276f28);if(!_0x2b1511)return;let _0x4a57ea=this[_0xe4289f(0x2f9)][_0xe4289f(0x25d)](_0x2b1511[_0xe4289f(0x490)],_0x2b1511[_0xe4289f(0x26e)]),_0x1a3b07=_0x4a57ea[_0xe4289f(0x505)](_0x276f28);this[_0xe4289f(0x38c)](_0x276f28,_0x1a3b07===-0x1?Math['max'](_0x4a57ea[_0xe4289f(0x31c)]-0x1,0x0):_0x1a3b07);}['_resizeChart'](_0x3b0ab2,_0x262c0a){const _0x9ee88c=_0x7d12da;let _0x297236=this[_0x9ee88c(0x22b)]['getFloatDomInfo'](_0x3b0ab2);if(_0x262c0a[_0x9ee88c(0x45d)]!==void 0x0&&_0x262c0a[_0x9ee88c(0x308)]!==void 0x0&&_0x297236){var _0x318885;let {subUnitId:_0x4a9ebc}=_0x297236,_0x57b1e7=(_0x318885=this['_univerInstanceService']['getCurrentUnitOfType'](_0x1da7ec[_0x9ee88c(0x3f8)][_0x9ee88c(0x305)]))==null?void 0x0:_0x318885[_0x9ee88c(0x3e3)]();if((_0x57b1e7==null?void 0x0:_0x57b1e7['getSheetId']())===_0x4a9ebc){let {width:_0xb0cbac,height:_0x506045}=_0x262c0a,_0x3dae4b=this['_chartModelService']['getChartModel'](_0x3b0ab2),_0x3cd66c=_0x3dae4b==null?void 0x0:_0x3dae4b[_0x9ee88c(0x4c7)];if(Math['abs'](_0xb0cbac-((_0x3cd66c==null?void 0x0:_0x3cd66c[_0x9ee88c(0x45d)])||0x0))>0x1||Math[_0x9ee88c(0x465)](_0x506045-((_0x3cd66c==null?void 0x0:_0x3cd66c[_0x9ee88c(0x308)])||0x0))>0x1){_0x3dae4b==null||_0x3dae4b[_0x9ee88c(0x262)]({..._0x3cd66c,'width':_0xb0cbac,'height':_0x506045});let _0x2211bc=this['_chartInstanceMap']['get'](_0x3b0ab2);_0x2211bc&&(this[_0x9ee88c(0x27a)][_0x9ee88c(0x50e)](_0x3b0ab2),_0x2211bc[_0x9ee88c(0x33b)]());}}}}['_debounceHandle'](_0x5a4fcb,_0x4230ab,_0x52d537=0x0){const _0x3e4690=_0x7d12da;let _0x45131d=this[_0x3e4690(0x3ac)][_0x3e4690(0x287)](_0x5a4fcb);_0x45131d||(_0x45131d=(0x0,_0x1da7ec['debounce'])(_0x115d31=>{const _0x45fd9a=_0x3e4690;this[_0x45fd9a(0x286)](_0x5a4fcb,_0x115d31);},_0x52d537),this[_0x3e4690(0x3ac)][_0x3e4690(0x29a)](_0x5a4fcb,_0x45131d)),_0x45131d(_0x4230ab);}[_0x7d12da(0x1f4)](){const _0x3b2045=_0x7d12da;let _0x420460=this[_0x3b2045(0x52a)],_0xace6c7=_0x2c9cf0=>{const _0x2e715e=_0x3b2045;if(!_0x420460[_0x2e715e(0x353)](_0x2c9cf0)){let _0x32d4ad=(0x0,_0x1da7ec[_0x2e715e(0x260)])((_0x1c709d,_0x48ccb2,_0x4e82fa,_0x497055)=>{const _0x5337b0=_0x2e715e;var _0x2969a6,_0x452186;if(!_0x4e82fa)return;(_0x2969a6=_0x4e82fa[_0x5337b0(0x34f)])==null||_0x2969a6[_0x5337b0(0x42c)][_0x5337b0(0x495)]((_0x2f0ed0,_0x54af13)=>{const _0x101b0c=_0x5337b0;_0x2f0ed0['label']||=this[_0x101b0c(0x507)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x54af13+0x1);}),_0x4e82fa[_0x5337b0(0x229)][_0x5337b0(0x495)]((_0x3fe5d2,_0x3eabab)=>{const _0x513798=_0x5337b0;_0x3fe5d2[_0x513798(0x22c)]||=this[_0x513798(0x507)]['t'](_0x513798(0x3b3))+'\x20'+(_0x3eabab+0x1);});let _0x23ca5c=this['createRuntimeChartStyle'](_0x1c709d,_0x497055),_0x13b0eb=(_0x452186=this[_0x5337b0(0x337)][_0x5337b0(0x484)](_0x1da7ec[_0x5337b0(0x3f8)][_0x5337b0(0x305)]))==null?void 0x0:_0x452186['getActiveSheet']();(_0x13b0eb==null?void 0x0:_0x13b0eb[_0x5337b0(0x4a0)]())===_0x48ccb2&&this['render'](_0x1c709d['id'],_0x4e82fa,_0x23ca5c);},0x11);_0x420460[_0x2e715e(0x29a)](_0x2c9cf0,_0x32d4ad);}return _0x420460[_0x2e715e(0x287)](_0x2c9cf0);};this[_0x3b2045(0x49a)](this[_0x3b2045(0x337)][_0x3b2045(0x43a)][_0x3b2045(0x44a)](_0x2ca1b0=>{const _0x1af5fa=_0x3b2045;let _0x34bff=this['_univerInstanceService']['getCurrentUnitOfType'](_0x1da7ec[_0x1af5fa(0x3f8)][_0x1af5fa(0x305)]);if(_0x2ca1b0&&_0x34bff&&_0x34bff[_0x1af5fa(0x2cf)]()===_0x2ca1b0){var _0x5e1e4a;let _0x2ec5fc=_0x34bff[_0x1af5fa(0x3e3)]()[_0x1af5fa(0x4a0)]();this[_0x1af5fa(0x503)]&&(this[_0x1af5fa(0x503)][_0x1af5fa(0x490)]!==_0x2ca1b0||this[_0x1af5fa(0x503)][_0x1af5fa(0x26e)]!==_0x2ec5fc)&&this['_clearSheetChartRuntimeCaches'](this[_0x1af5fa(0x503)]['unitId'],this['_lastActiveSheet'][_0x1af5fa(0x26e)]),this['_lastActiveSheet']={'unitId':_0x2ca1b0,'subUnitId':_0x2ec5fc};let _0x39cc9c=this[_0x1af5fa(0x2f9)][_0x1af5fa(0x420)](_0x2ca1b0,_0x2ec5fc);if(!((_0x5e1e4a=this[_0x1af5fa(0x4f8)]['getRenderUnitById'](_0x2ca1b0))!=null&&_0x5e1e4a['with'](_0x1960ed['SheetSkeletonManagerService'])[_0x1af5fa(0x247)](_0x2ec5fc)))return;if(_0x39cc9c)for(let _0x2be18d in _0x39cc9c){let {drawingId:_0x2aad2b}=_0x39cc9c[_0x2be18d],_0x214285=this[_0x1af5fa(0x3dc)][_0x1af5fa(0x343)](_0x2aad2b);_0x214285&&_0xace6c7(_0x214285['id'])(_0x214285,_0x2ec5fc,_0x214285[_0x1af5fa(0x21f)],this[_0x1af5fa(0x507)]['getDirection']());}}})),this[_0x3b2045(0x49a)](this[_0x3b2045(0x3fc)][_0x3b2045(0x4ca)][_0x3b2045(0x44a)](()=>{const _0x1d616c=_0x3b2045;var _0x1195c6;let _0xf9a423=this[_0x1d616c(0x337)][_0x1d616c(0x484)](_0x1da7ec[_0x1d616c(0x3f8)][_0x1d616c(0x305)]);if(!_0xf9a423)return;let _0x2e401a=_0xf9a423[_0x1d616c(0x2cf)](),_0x202af7=_0xf9a423[_0x1d616c(0x3e3)]()[_0x1d616c(0x4a0)](),_0x1f8b57=this[_0x1d616c(0x2f9)]['getDrawingData'](_0x2e401a,_0x202af7);if((_0x1195c6=this['_renderManagerService']['getRenderUnitById'](_0x2e401a))!=null&&_0x1195c6[_0x1d616c(0x45b)](_0x1960ed[_0x1d616c(0x2da)])[_0x1d616c(0x247)](_0x202af7)&&_0x1f8b57)for(let _0x454758 in _0x1f8b57){let {drawingId:_0x3090e5}=_0x1f8b57[_0x454758],_0x1ff910=this[_0x1d616c(0x3dc)]['getChartModel'](_0x3090e5);_0x1ff910&&_0xace6c7(_0x1ff910['id'])(_0x1ff910,_0x202af7,_0x1ff910[_0x1d616c(0x21f)],this[_0x1d616c(0x507)][_0x1d616c(0x27f)]());}})),this['disposeWithMe'](this[_0x3b2045(0x2f9)][_0x3b2045(0x45a)][_0x3b2045(0x44a)](_0x378281=>{const _0x2d7798=_0x3b2045;_0x378281[_0x2d7798(0x495)](_0xd009a6=>{const _0x160505=_0x2d7798;var _0x4bbfab,_0x4de12f;let {drawingId:_0x413c49,unitId:_0x3bada5,subUnitId:_0x4bb7f8}=_0xd009a6;if(!((_0x4bbfab=this['_renderManagerService']['getRenderUnitById'](_0x3bada5))!=null&&_0x4bbfab[_0x160505(0x45b)](_0x1960ed[_0x160505(0x2da)])['getSkeleton'](_0x4bb7f8)))return;let {drawingType:_0x1b211a}=this[_0x160505(0x2f9)][_0x160505(0x3aa)](_0xd009a6);if(_0x1b211a!==_0x1da7ec[_0x160505(0x2ff)][_0x160505(0x3ca)])return;let _0x299b3c=this[_0x160505(0x22b)]['getFloatDomInfo'](_0x413c49),_0x348b7b=(_0x299b3c==null?void 0x0:_0x299b3c['domId'])??_0x413c49,_0x6a7106=_0x299b3c==null?void 0x0:_0x299b3c[_0x160505(0x3af)],_0x57169a=(_0x4de12f=this[_0x160505(0x4f8)][_0x160505(0x4c2)](_0x3bada5))==null?void 0x0:_0x4de12f[_0x160505(0x23f)];_0x6a7106&&this['disposeWithMe'](_0x6a7106==null?void 0x0:_0x6a7106[_0x160505(0x24a)][_0x160505(0x256)](_0x2a480c=>{const _0x33c76b=_0x160505;let {type:_0x3874b1,value:_0x4a0841}=_0x2a480c;if(_0x41ff50[_0x33c76b(0x4ad)][_0x33c76b(0x33b)]===_0x3874b1||_0x41ff50['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x33c76b(0x521)]===_0x3874b1){let {width:_0x2900de,height:_0x5ed852}=_0x4a0841;this[_0x33c76b(0x4be)](_0x413c49,{'width':_0x2900de,'height':_0x5ed852},0x64);}})),_0x57169a&&this[_0x160505(0x49a)](_0x57169a['onTransformChange$']['subscribeEvent'](_0x6dcfd4=>{const _0x34b117=_0x160505;var _0x1c186c;_0x6dcfd4['type']===_0x41ff50[_0x34b117(0x4ad)][_0x34b117(0x42f)]&&(_0x1c186c=document[_0x34b117(0x301)](_0x348b7b))!=null&&_0x1c186c[_0x34b117(0x2dd)](_0x34b117(0x242))&&this[_0x34b117(0x27a)][_0x34b117(0x50e)](_0x413c49);}));let _0x2f7768=this[_0x160505(0x3dc)][_0x160505(0x343)](_0x413c49);_0x2f7768&&this[_0x160505(0x49a)]((0x0,_0x15372d[_0x160505(0x2e8)])([_0x2f7768[_0x160505(0x3de)],_0x2f7768[_0x160505(0x300)],this['_localeService']['direction$']])[_0x160505(0x44a)](([_0x400c1a,_0x4ed3d1,_0x3c8d9d])=>{_0xace6c7(_0x2f7768['id'])(_0x2f7768,_0x4bb7f8,_0x400c1a,_0x3c8d9d);}));});})),this['disposeWithMe']((0x0,_0x15372d['combineLatest'])([this[_0x3b2045(0x2f9)][_0x3b2045(0x2ed)]])[_0x3b2045(0x44a)](([_0x193527])=>{const _0x4acbca=_0x3b2045;_0x193527[_0x4acbca(0x495)](_0x4ec774=>{const _0x4bd21a=_0x4acbca;var _0x4f5b95;let {drawingId:_0x4713f6}=_0x4ec774;((_0x4f5b95=this[_0x4bd21a(0x3dc)][_0x4bd21a(0x48b)])==null?void 0x0:_0x4f5b95['id'])===_0x4713f6&&this[_0x4bd21a(0x3dc)][_0x4bd21a(0x32e)](null),this[_0x4bd21a(0x376)](_0x4713f6),this['_chartEventHandlers'][_0x4bd21a(0x24c)](_0x4713f6),this['_chartHostProvider'][_0x4bd21a(0x34c)](_0x4713f6),this['_resetChartRuntimeZIndex'](_0x4713f6),this[_0x4bd21a(0x202)](_0x4713f6),this[_0x4bd21a(0x48a)][_0x4bd21a(0x3b9)](_0x4713f6),this[_0x4bd21a(0x501)](_0x4713f6),this[_0x4bd21a(0x43f)][_0x4bd21a(0x24c)](_0x4713f6),this[_0x4bd21a(0x269)]['delete'](_0x4713f6);});}));}[_0x7d12da(0x425)](_0x35627d,_0x32ed01){const _0x33be3c=_0x7d12da;var _0x1912d4;_0x32ed01?this['_chartElementEditMode'][_0x33be3c(0x29a)](_0x35627d,!0x0):this[_0x33be3c(0x269)][_0x33be3c(0x24c)](_0x35627d),(_0x1912d4=this[_0x33be3c(0x477)]['get'](_0x35627d))==null||_0x1912d4[_0x33be3c(0x425)](_0x32ed01);}async[_0x7d12da(0x336)](_0x21c0c8){const _0x2f54ba=_0x7d12da;let _0x1b2aad=this[_0x2f54ba(0x477)]['get'](_0x21c0c8);if(_0x1b2aad){let _0x878d2a=this[_0x2f54ba(0x269)][_0x2f54ba(0x287)](_0x21c0c8)===!0x0;_0x878d2a&&_0x1b2aad[_0x2f54ba(0x425)](!0x1);try{let _0x16058a=await _0x1b2aad[_0x2f54ba(0x285)]();if(_0x16058a)return _0x16058a;}finally{_0x878d2a&&this[_0x2f54ba(0x477)][_0x2f54ba(0x287)](_0x21c0c8)===_0x1b2aad&&_0x1b2aad['setElementEditMode'](!0x0);}}let _0x5cc586=this[_0x2f54ba(0x322)](_0x21c0c8);return _0x5cc586?(0x0,_0x5dd517[_0x2f54ba(0x276)])(_0x5cc586):void 0x0;}['on'](_0x3a9e36,_0x2aaeb0,_0x15c075){const _0x5d34e7=_0x7d12da;let _0x1e6b13=this[_0x5d34e7(0x365)][_0x5d34e7(0x287)](_0x3a9e36);_0x1e6b13||(_0x1e6b13=new Map(),this['_chartEventHandlers'][_0x5d34e7(0x29a)](_0x3a9e36,_0x1e6b13));let _0x3232ed=_0x1e6b13['get'](_0x2aaeb0);_0x3232ed||(_0x3232ed=new Set(),_0x1e6b13[_0x5d34e7(0x29a)](_0x2aaeb0,_0x3232ed)),_0x3232ed['add'](_0x15c075);let _0x2f526c=this['_chartInstanceMap']['get'](_0x3a9e36);return _0x2f526c&&this[_0x5d34e7(0x466)](_0x3a9e36,_0x2f526c,_0x2aaeb0,_0x15c075),{'dispose':()=>{const _0x293019=_0x5d34e7;var _0x2ec04c;(_0x2ec04c=this[_0x293019(0x365)][_0x293019(0x287)](_0x3a9e36))==null||(_0x2ec04c=_0x2ec04c[_0x293019(0x287)](_0x2aaeb0))==null||_0x2ec04c[_0x293019(0x24c)](_0x15c075),this['_disposeChartEventSubscription'](_0x3a9e36,_0x2aaeb0,_0x15c075);}};}['_getCurrentSnapshotImage'](_0x1326c1){const _0x58eb7e=_0x7d12da;let _0x5c8580=this[_0x58eb7e(0x337)][_0x58eb7e(0x484)](_0x1da7ec[_0x58eb7e(0x3f8)][_0x58eb7e(0x305)]),_0x1e9049=_0x5c8580==null?void 0x0:_0x5c8580[_0x58eb7e(0x3e3)](),_0x2ba58e=_0x5c8580==null?void 0x0:_0x5c8580[_0x58eb7e(0x2cf)](),_0x3835ef=_0x1e9049==null?void 0x0:_0x1e9049[_0x58eb7e(0x4a0)]();if(!(!_0x2ba58e||!_0x3835ef))return this['_chartSnapshotStoreService'][_0x58eb7e(0x4eb)]({'unitId':_0x2ba58e,'subUnitId':_0x3835ef,'chartId':_0x1326c1});}[_0x7d12da(0x4e1)](_0x4adb01,_0x2be87e){const _0x3674e7=_0x7d12da;let _0xc9e6ce=this['_chartEventHandlers'][_0x3674e7(0x287)](_0x4adb01);_0xc9e6ce&&_0xc9e6ce['forEach']((_0x5946ab,_0x505a56)=>{const _0x2fcdda=_0x3674e7;_0x5946ab[_0x2fcdda(0x495)](_0x4a08d9=>this[_0x2fcdda(0x466)](_0x4adb01,_0x2be87e,_0x505a56,_0x4a08d9));});}[_0x7d12da(0x466)](_0x19dc14,_0x43f639,_0xe9b651,_0x1badcb){const _0x345cd9=_0x7d12da;let _0x51aef5=this[_0x345cd9(0x516)][_0x345cd9(0x287)](_0x19dc14);_0x51aef5||(_0x51aef5=new Map(),this[_0x345cd9(0x516)][_0x345cd9(0x29a)](_0x19dc14,_0x51aef5));let _0x3d9952=_0x51aef5[_0x345cd9(0x287)](_0xe9b651);_0x3d9952||(_0x3d9952=new Map(),_0x51aef5[_0x345cd9(0x29a)](_0xe9b651,_0x3d9952)),!_0x3d9952[_0x345cd9(0x353)](_0x1badcb)&&_0x3d9952['set'](_0x1badcb,_0x43f639['on'](_0xe9b651,_0x1badcb));}['_disposeChartEventSubscription'](_0x2dd978,_0x563e8f,_0x505361){const _0x47729f=_0x7d12da;var _0x30a13e,_0x5012c0;let _0x14841f=(_0x30a13e=this[_0x47729f(0x516)]['get'](_0x2dd978))==null?void 0x0:_0x30a13e[_0x47729f(0x287)](_0x563e8f);_0x14841f==null||(_0x5012c0=_0x14841f[_0x47729f(0x287)](_0x505361))==null||_0x5012c0['dispose'](),_0x14841f==null||_0x14841f['delete'](_0x505361);}[_0x7d12da(0x376)](_0x4b0e4c){const _0x297388=_0x7d12da;let _0x1ba888=this[_0x297388(0x516)][_0x297388(0x287)](_0x4b0e4c);_0x1ba888==null||_0x1ba888[_0x297388(0x495)](_0x25c3ec=>{const _0x3eed88=_0x297388;_0x25c3ec[_0x3eed88(0x495)](_0x32a1b0=>_0x32a1b0['dispose']()),_0x25c3ec[_0x3eed88(0x493)]();}),this[_0x297388(0x516)]['delete'](_0x4b0e4c);}[_0x7d12da(0x1db)](_0x524e74,_0x423a0c){const _0x27331e=_0x7d12da;return _0xe7c016(_0x524e74,_0x423a0c,this[_0x27331e(0x3c5)]);}[_0x7d12da(0x21d)](_0xc7498a){const _0x1832c4=_0x7d12da;return this[_0x1832c4(0x36b)](_0xc7498a)==null;}[_0x7d12da(0x36b)](_0x239e78){const _0x547faa=_0x7d12da;var _0xa13047;let _0x3af1c7=this['_sheetCanvasFloatDomManagerService'][_0x547faa(0x4a2)](_0x239e78);if(!_0x3af1c7)return _0x547faa(0x32a);let {subUnitId:_0x13f8ac}=_0x3af1c7,_0x5ec866=(_0xa13047=this[_0x547faa(0x337)]['getCurrentUnitOfType'](_0x1da7ec['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0xa13047[_0x547faa(0x3e3)]();if(!_0x5ec866)return'missing-active-sheet';if(_0x5ec866[_0x547faa(0x4a0)]()!==_0x13f8ac)return _0x547faa(0x1e8);}async[_0x7d12da(0x289)](_0x8617bd,_0x16baf4,_0x195406){const _0x55b7c9=_0x7d12da;let _0x2bcc51=this[_0x55b7c9(0x28c)][_0x55b7c9(0x3a1)](_0x5dd517[_0x55b7c9(0x1e9)]);if(!_0x2bcc51||(this[_0x55b7c9(0x43f)][_0x55b7c9(0x29a)](_0x8617bd,{'config':_0x16baf4,'style':_0x195406}),this[_0x55b7c9(0x36b)](_0x8617bd)))return;let _0x1c534a=this['_resolveChartRenderMode'](_0x8617bd);if(_0x1c534a===_0x28eb9a[_0x55b7c9(0x237)][_0x55b7c9(0x3c7)])this[_0x55b7c9(0x475)](_0x8617bd);else{var _0x1a7d40;this[_0x55b7c9(0x27a)][_0x55b7c9(0x4e3)](_0x8617bd),((_0x1a7d40=this[_0x55b7c9(0x3dc)][_0x55b7c9(0x48b)])==null?void 0x0:_0x1a7d40['id'])===_0x8617bd&&this[_0x55b7c9(0x3c8)](_0x8617bd);}let _0x222cb0=_0x1c534a===_0x28eb9a[_0x55b7c9(0x237)][_0x55b7c9(0x3c7)]?_0x5dd517['ChartHostRenderMode'][_0x55b7c9(0x3c7)]:_0x5dd517['ChartHostRenderMode'][_0x55b7c9(0x4c9)],_0x2e93d5=await this[_0x55b7c9(0x27a)][_0x55b7c9(0x4cc)](_0x8617bd,_0x222cb0);if(!_0x2e93d5)return;let _0x12fc54=this[_0x55b7c9(0x41c)](_0x8617bd,_0x222cb0,_0x2bcc51);_0x12fc54[_0x55b7c9(0x2ac)](_0x2e93d5);try{await _0x12fc54[_0x55b7c9(0x289)]({'chartId':_0x8617bd,'config':_0x16baf4,'style':_0x195406});}catch(_0x116c29){if(_0x1c534a!==_0x28eb9a[_0x55b7c9(0x237)][_0x55b7c9(0x3c7)])throw _0x116c29;}}async[_0x7d12da(0x377)](_0x5a117d,_0x343935,_0x108691){const _0x577b3e=_0x7d12da;let _0x5797ee=this[_0x577b3e(0x2f9)][_0x577b3e(0x420)](_0x5a117d,_0x343935),_0x59fdc7=this['_drawingManagerService'][_0x577b3e(0x25d)](_0x5a117d,_0x343935),_0x46abff=Object[_0x577b3e(0x297)](_0x5797ee??{})['filter'](_0x14e78b=>_0x14e78b['drawingType']===_0x1da7ec[_0x577b3e(0x2ff)][_0x577b3e(0x3ca)]&&_0x14e78b['hidden']!==!0x0);await Promise[_0x577b3e(0x511)](_0x46abff[_0x577b3e(0x4f2)](async _0x3a0528=>{const _0x10526f=_0x577b3e;let _0x56d08f=await this[_0x10526f(0x51f)](_0x3a0528,_0x59fdc7);_0x56d08f&&(_0x108691[_0x10526f(0x3f6)](_0x56d08f,_0x41ff50[_0x10526f(0x4b3)]),_0x3a0528[_0x10526f(0x278)]&&(0x0,_0x311c0b[_0x10526f(0x281)])({'drawingId':_0x3a0528[_0x10526f(0x278)],'unitId':_0x5a117d,'subUnitId':_0x343935},_0x56d08f,_0x108691,this['_drawingManagerService']));}));}async[_0x7d12da(0x51f)](_0x1efb1e,_0x33478c){const _0x1e013c=_0x7d12da;let _0x4bef76=this[_0x1e013c(0x3dc)]['getChartModel'](_0x1efb1e['drawingId']),_0x362b4b=this[_0x1e013c(0x28c)]['getRenderModel'](_0x5dd517['EChartRenderEngineName']),_0x8aa048=_0x1efb1e[_0x1e013c(0x312)],_0x28e47f=_0x4bef76==null?void 0x0:_0x4bef76[_0x1e013c(0x21f)];if(!_0x4bef76||!_0x362b4b||!_0x8aa048||!_0x28e47f||_0x8aa048['width']==null||_0x8aa048[_0x1e013c(0x308)]==null)return null;let _0x322033=new _0x371f2f(_0x1efb1e['drawingId'],{'width':_0x8aa048[_0x1e013c(0x45d)],'height':_0x8aa048[_0x1e013c(0x308)]}),_0x22292b=_0x362b4b[_0x1e013c(0x22d)](_0x5dd517['ChartHostRenderMode'][_0x1e013c(0x3c7)],this[_0x1e013c(0x41b)]());_0x22292b[_0x1e013c(0x2ac)](_0x322033);let _0x2d057b;try{await _0x22292b['render']({'chartId':_0x1efb1e[_0x1e013c(0x411)],'config':_0x28e47f,'style':this[_0x1e013c(0x1db)](_0x4bef76,this[_0x1e013c(0x507)][_0x1e013c(0x27f)]())});}catch(_0x473fec){console['error'](_0x1e013c(0x219),_0x473fec);}finally{_0x2d057b=_0x322033['takeSnapshot'](),_0x22292b[_0x1e013c(0x248)](),_0x322033[_0x1e013c(0x248)]();}let _0x50d5b7=this['_chartSnapshotStoreService'][_0x1e013c(0x4eb)]({'unitId':_0x1efb1e[_0x1e013c(0x490)],'subUnitId':_0x1efb1e[_0x1e013c(0x26e)],'chartId':_0x1efb1e[_0x1e013c(0x411)]}),_0x36ef2e=_0x2d057b??_0x50d5b7;if(!_0x36ef2e)return null;let _0x4023ad=_0x33478c[_0x1e013c(0x505)](_0x1efb1e[_0x1e013c(0x411)]);return new _0x49d975((0x0,_0x5405e4[_0x1e013c(0x494)])(_0x1efb1e),{..._0x8aa048,..._0x364311[_0x1e013c(0x1dc)],..._0x1b4564(_0x322033['style']),'visible':!0x0,'zIndex':_0x4023ad===-0x1?Math[_0x1e013c(0x500)](_0x33478c['length']-0x1,0x0):_0x4023ad},()=>_0x36ef2e,void 0x0,_0x2d057b?()=>_0x149a94(_0x2d057b):void 0x0);}['_getOrCreateChartRenderInstance'](_0x1a52b0,_0x2e5350,_0x24fa40){const _0x4ec1a2=_0x7d12da;let _0x2b2136=this['_chartInstanceMap'][_0x4ec1a2(0x287)](_0x1a52b0);if((_0x2b2136==null?void 0x0:_0x2b2136[_0x4ec1a2(0x329)])===_0x2e5350)return _0x2b2136;_0x2b2136&&(this['_disposeChartEventSubscriptions'](_0x1a52b0),_0x2b2136[_0x4ec1a2(0x248)](),this[_0x4ec1a2(0x477)][_0x4ec1a2(0x24c)](_0x1a52b0));let _0x3ac8ad=_0x24fa40[_0x4ec1a2(0x22d)](_0x2e5350,this[_0x4ec1a2(0x41b)]());return this[_0x4ec1a2(0x477)][_0x4ec1a2(0x29a)](_0x1a52b0,_0x3ac8ad),_0x3ac8ad[_0x4ec1a2(0x425)](this[_0x4ec1a2(0x269)]['get'](_0x1a52b0)===!0x0),this[_0x4ec1a2(0x4e1)](_0x1a52b0,_0x3ac8ad),_0x3ac8ad;}['_createChartRenderInstanceContext'](){const _0x198f04=_0x7d12da;return{'resolveHostStyle':({style:_0x5b08a0})=>(0x0,_0x5dd517[_0x198f04(0x488)])({'style':_0x5b08a0,'getRenderColor':_0x370838=>this[_0x198f04(0x345)][_0x198f04(0x2b2)](_0x370838)}),'resolveRenderBackgroundColor':({style:_0x46a48e})=>this[_0x198f04(0x345)][_0x198f04(0x2b2)]((0x0,_0x5dd517['resolveChartStyleBackgroundColor'])(_0x46a48e))};}[_0x7d12da(0x510)](){const _0x526b37=_0x7d12da;this[_0x526b37(0x52a)][_0x526b37(0x495)](_0x3ad911=>_0x3ad911[_0x526b37(0x205)]()),this[_0x526b37(0x52a)][_0x526b37(0x493)](),this[_0x526b37(0x3ac)][_0x526b37(0x495)](_0x411f6b=>_0x411f6b[_0x526b37(0x205)]()),this[_0x526b37(0x3ac)][_0x526b37(0x493)]();}['dispose'](){const _0x21d830=_0x7d12da;Array[_0x21d830(0x439)](this[_0x21d830(0x477)]['keys']())[_0x21d830(0x495)](_0xc5227c=>this[_0x21d830(0x202)](_0xc5227c)),this[_0x21d830(0x269)][_0x21d830(0x493)](),this[_0x21d830(0x510)](),this[_0x21d830(0x43f)]['clear'](),this['_activeChartId']=null,this[_0x21d830(0x503)]=null,super[_0x21d830(0x248)]();}};_0x32f42a=_0x3b9455([_0x493c2e(0x0,_0xa24186),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x364311[_0x7d12da(0x4b5)])),_0x493c2e(0x2,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a[_0x7d12da(0x1f6)])),_0x493c2e(0x3,_0x5405e4[_0x7d12da(0x3ea)]),_0x493c2e(0x4,_0x1da7ec['IUniverInstanceService']),_0x493c2e(0x5,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x41ff50[_0x7d12da(0x320)])),_0x493c2e(0x6,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec[_0x7d12da(0x21e)])),_0x493c2e(0x7,_0x4b3521),_0x493c2e(0x8,(0x0,_0x1da7ec['Inject'])(_0x1da7ec[_0x7d12da(0x46f)])),_0x493c2e(0x9,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x5dd517[_0x7d12da(0x43e)])),_0x493c2e(0xa,(0x0,_0x1da7ec['Inject'])(_0x1da7ec[_0x7d12da(0x351)])),_0x493c2e(0xb,_0x1da7ec[_0x7d12da(0x3ae)]),_0x493c2e(0xc,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x167f01)),_0x493c2e(0xd,_0x5dd517['IChartRenderModelManagerService'])],_0x32f42a);function _0x387df4(_0x4e0595){const _0x2b9455=_0x7d12da;let _0xe0c71f=_0x4e0595[_0x2b9455(0x287)](_0x4754e3[_0x2b9455(0x347)])[_0x2b9455(0x2b9)]();if(_0xe0c71f[_0x2b9455(0x31c)]!==0x1)return null;let _0x55bd15=_0xe0c71f[0x0];return _0x55bd15[_0x2b9455(0x214)]===_0x1da7ec[_0x2b9455(0x2ff)][_0x2b9455(0x3ca)]?_0x55bd15:null;}function _0x567d30(_0x1d17dc,_0x40adc0){const _0x2a8c83=_0x7d12da;let _0xcf4ac1=document[_0x2a8c83(0x532)]('a');_0xcf4ac1[_0x2a8c83(0x23d)]=_0x1d17dc,_0xcf4ac1['download']=_0x40adc0,_0xcf4ac1[_0x2a8c83(0x3b2)]();}let _0x5815fc={'id':'sheet.command.chart.open-focused-panel','type':_0x1da7ec['CommandType'][_0x7d12da(0x444)],'handler':(_0x12246b,_0x4cabe7)=>{const _0x2844a1=_0x7d12da;let _0x223351=_0x387df4(_0x12246b);return _0x223351?_0x12246b[_0x2844a1(0x287)](_0x1da7ec[_0x2844a1(0x496)])[_0x2844a1(0x40d)](_0x4dcf39['id'],{'unitId':_0x223351[_0x2844a1(0x490)],'subUnitId':_0x223351[_0x2844a1(0x26e)],'drawingId':_0x223351[_0x2844a1(0x411)],..._0x4cabe7!=null&&_0x4cabe7[_0x2844a1(0x4a3)]?{'route':_0x4cabe7['route']}:{}}):!0x1;}},_0xaff2e8={'id':_0x7d12da(0x33c),'type':_0x1da7ec[_0x7d12da(0x2c4)][_0x7d12da(0x444)],'handler':_0x54b8ef=>_0x387df4(_0x54b8ef)?_0x54b8ef[_0x7d12da(0x287)](_0x1da7ec['ICommandService'])['executeCommand'](_0x1960ed[_0x7d12da(0x207)]['id']):!0x1},_0x509a78={'id':_0x7d12da(0x46d),'type':_0x1da7ec[_0x7d12da(0x2c4)][_0x7d12da(0x444)],'handler':async _0x580c80=>{const _0x26b9a1=_0x7d12da;let _0x314756=_0x387df4(_0x580c80);if(!_0x314756)return!0x1;let _0x162b7c=await _0x580c80['get'](_0x32f42a)[_0x26b9a1(0x336)](_0x314756[_0x26b9a1(0x411)]);return _0x162b7c?(_0x567d30(_0x162b7c,_0x314756[_0x26b9a1(0x411)]+'.png'),!0x0):!0x1;}},_0x4caaf8={'id':_0x7d12da(0x442),'type':_0x1da7ec[_0x7d12da(0x2c4)][_0x7d12da(0x444)],'handler':_0x2c9c97=>{const _0x48b5ca=_0x7d12da;let _0xf9532b=_0x387df4(_0x2c9c97);return _0xf9532b?_0x2c9c97[_0x48b5ca(0x287)](_0x1da7ec['ICommandService'])[_0x48b5ca(0x40d)](_0x4754e3['RemoveSheetDrawingCommand']['id'],{'unitId':_0xf9532b[_0x48b5ca(0x490)],'drawings':[{'unitId':_0xf9532b[_0x48b5ca(0x490)],'subUnitId':_0xf9532b[_0x48b5ca(0x26e)],'drawingId':_0xf9532b[_0x48b5ca(0x411)],'drawingType':_0x1da7ec[_0x48b5ca(0x2ff)][_0x48b5ca(0x3ca)]}]}):!0x1;}},_0xb3edfa='SHEETS_CHART_CONTEXT_MENU';function _0x1d7a47(_0x16d196){const _0x4296f0=_0x7d12da;let _0x436010=_0x16d196[_0x4296f0(0x287)](_0x4754e3[_0x4296f0(0x347)]);return _0x436010[_0x4296f0(0x34b)][_0x4296f0(0x29d)]((0x0,_0x15372d[_0x4296f0(0x209)])(_0x436010[_0x4296f0(0x2b9)]()),(0x0,_0x15372d[_0x4296f0(0x4f2)])(()=>_0x387df4(_0x16d196)==null));}function _0x1a7bd2(_0x467a52){const _0x5d068f=_0x7d12da;return{'id':_0x5815fc['id'],'commandId':_0x5815fc['id'],'type':_0x58ec7c['MenuItemType'][_0x5d068f(0x52c)],'title':_0x467a52[_0x5d068f(0x287)](_0x1da7ec[_0x5d068f(0x21e)])['t'](_0x5d068f(0x370)),'icon':'PenIcon','hidden$':_0x1d7a47(_0x467a52)};}function _0x11f4b8(_0x391048){const _0x55e3a5=_0x7d12da;return{'id':_0xaff2e8['id'],'commandId':_0xaff2e8['id'],'type':_0x58ec7c[_0x55e3a5(0x239)][_0x55e3a5(0x52c)],'title':_0x391048[_0x55e3a5(0x287)](_0x1da7ec[_0x55e3a5(0x21e)])['t']('sheets-chart-ui.common.copy'),'icon':'CopyDoubleIcon','hidden$':_0x1d7a47(_0x391048)};}function _0x1adddf(_0x30ad15){const _0x153059=_0x7d12da;return{'id':_0x509a78['id'],'commandId':_0x509a78['id'],'type':_0x58ec7c[_0x153059(0x239)][_0x153059(0x52c)],'title':_0x30ad15[_0x153059(0x287)](_0x1da7ec['LocaleService'])['t'](_0x153059(0x386)),'icon':_0x153059(0x4a6),'hidden$':_0x1d7a47(_0x30ad15)};}function _0x123b6c(_0xc88c10){const _0x415286=_0x7d12da;return{'id':_0x4caaf8['id'],'commandId':_0x4caaf8['id'],'type':_0x58ec7c[_0x415286(0x239)][_0x415286(0x52c)],'title':_0xc88c10['get'](_0x1da7ec[_0x415286(0x21e)])['t'](_0x415286(0x38f)),'icon':_0x415286(0x436),'hidden$':_0x1d7a47(_0xc88c10)};}let _0x3ddcbf={'type':_0x1da7ec[_0x7d12da(0x2c4)][_0x7d12da(0x444)],'id':_0x7d12da(0x3bd),'handler':async(_0x428507,_0x5c5733)=>{const _0x133a3a=_0x7d12da;let _0x435fb3=(0x0,_0x2d166[_0x133a3a(0x414)])(_0x428507['get'](_0x1da7ec[_0x133a3a(0x47c)]));if(!_0x435fb3)return!0x1;let _0x190fde=_0x428507[_0x133a3a(0x287)](_0x2d166['SheetsSelectionsService'])[_0x133a3a(0x478)]();if(!_0x190fde)return!0x1;let {range:_0x433e21}=_0x190fde,_0x4d979d=_0x428507['get'](_0x1da7ec['ICommandService']),{unitId:_0x594779,subUnitId:_0x54fa87}=_0x435fb3,{pieSecondaryPlotType:_0x114c1b,value:_0x5cb067}=_0x5c5733,_0x1686f8=_0x114c1b!==void 0x0;if(_0x1686f8&&(_0x5cb067!==_0x5dd517['ChartTypeBits'][_0x133a3a(0x381)]||_0x114c1b!==_0x5dd517[_0x133a3a(0x384)][_0x133a3a(0x381)]&&_0x114c1b!==_0x5dd517[_0x133a3a(0x384)][_0x133a3a(0x4bc)]))return!0x1;let _0x2f57f7=_0x1686f8?(0x0,_0x1da7ec[_0x133a3a(0x4ea)])():void 0x0;return _0x4d979d[_0x133a3a(0x40d)](_0x28eb9a['InsertChartCommand']['id'],{'unitId':_0x594779,'subUnitId':_0x54fa87,'chartType':_0x5cb067,..._0x2f57f7&&_0x114c1b?{'chartId':_0x2f57f7,'config':{'unitId':_0x594779,'chartModelId':_0x2f57f7,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x114c1b}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x594779,'subUnitId':_0x54fa87,'range':_0x433e21}}});}};function _0x1c0271(_0x5b1055,_0x28e8e5){const _0x433f58=_0x7d12da;return _0x5b1055==null||Array['isArray'](_0x5b1055)?'':_0x499210(_0x5b1055[_0x433f58(0x526)],_0x28e8e5);}function _0x499210(_0x35f5da,_0x310fff){const _0x340f50=_0x7d12da;var _0x369e57;let {unitId:_0xbb125c,subUnitId:_0x580fde,range:_0x497a9f}=_0x35f5da,_0x87f49b=(_0x369e57=_0x310fff[_0x340f50(0x46c)](_0xbb125c))==null?void 0x0:_0x369e57[_0x340f50(0x468)](_0x580fde);return _0x87f49b?(0x0,_0x259b78[_0x340f50(0x3ef)])(_0x87f49b[_0x340f50(0x51b)](),_0x497a9f):'';}let _0x2144b3=new Set([_0x7d12da(0x333),_0x7d12da(0x2f0)]),_0xda0135=_0x173304[_0x7d12da(0x1e7)][_0x7d12da(0x43d)](_0x38255c=>!_0x2144b3[_0x7d12da(0x353)](_0x38255c[_0x7d12da(0x3ed)]))[_0x7d12da(0x4f2)](_0x1ff66c=>({'id':'id'in _0x1ff66c?_0x1ff66c['id']:void 0x0,'labelId':_0x1ff66c['labelId'],'pieSecondaryPlotType':_0x7d12da(0x535)in _0x1ff66c?_0x1ff66c[_0x7d12da(0x535)]:void 0x0,'value':_0x1ff66c[_0x7d12da(0x364)],'icon':_0x1ff66c['iconName']}));function _0x1c3d27(_0x3ab14b=_0xda0135){return _0x3ab14b['map'](({id:_0x3eeb0e,icon:_0x339ade,value:_0x5b5bb2})=>{const _0x482e36=_0x169c;let _0x33cce6=(0x0,_0x173304[_0x482e36(0x4ac)])(_0x3eeb0e??String(_0x5b5bb2)),_0x4d616a=_0x33cce6?{'value':_0x33cce6['chartType'],..._0x33cce6[_0x482e36(0x535)]?{'pieSecondaryPlotType':_0x33cce6['pieSecondaryPlotType']}:{}}:{'value':_0x5b5bb2};return{'icon':_0x339ade,'value':_0x3eeb0e??_0x5b5bb2,'params':_0x4d616a};});}let _0x13d068=(_0x43d857,_0x3ff514)=>{const _0x5564c8=_0x7d12da;if(_0x3ff514['length']===0x1&&_0x3ff514[0x0]===_0x5564c8(0x521))return _0x43d857;if(_0x3ff514[_0x5564c8(0x31c)]>0x1){let _0x2398b3=new Set();for(let _0x4f2671 of _0x3ff514)_0x2398b3['add'](Number(_0x4f2671));return _0x43d857['filter'](_0x444487=>_0x2398b3[_0x5564c8(0x353)](_0x444487[_0x5564c8(0x364)]));}return[];};function _0x12fc2e(_0x3f0efd){const _0x3b4e6c=_0x7d12da;let _0x2048fa=_0x3f0efd[_0x3b4e6c(0x287)](_0x1da7ec[_0x3b4e6c(0x47c)]),_0x4ac85e=(0x0,_0x28eb9a[_0x3b4e6c(0x26b)])(_0x3f0efd),_0x174dd4=_0x13d068(_0xda0135['concat'](),_0x4ac85e),_0xe7aab2=_0x3f0efd[_0x3b4e6c(0x287)](_0x1da7ec[_0x3b4e6c(0x21e)]),_0x4bff5b=_0x1c3d27(_0x174dd4)[_0x3b4e6c(0x4f2)]((_0x24b8fa,_0x4d222e)=>({..._0x24b8fa,'label':_0xe7aab2['t'](_0x3b4e6c(0x3cd)+_0x174dd4[_0x4d222e]['labelId'])}));return{'id':_0x3ddcbf['id'],'type':_0x58ec7c['MenuItemType']['SELECTOR'],'selectionsCommandId':_0x3ddcbf['id'],'selections':_0x4bff5b,'icon':_0x3b4e6c(0x44e),'tooltip':_0xe7aab2['t'](_0x3b4e6c(0x265)),'activated$':(0x0,_0x1960ed[_0x3b4e6c(0x4e5)])(_0x2048fa,!0x1,()=>new _0x15372d[(_0x3b4e6c(0x4cd))](_0x16e757=>{const _0x54e442=_0x3b4e6c;_0x16e757[_0x54e442(0x3da)](!0x1);})),'hidden$':(0x0,_0x58ec7c['getMenuHiddenObservable'])(_0x3f0efd,_0x1da7ec[_0x3b4e6c(0x3f8)][_0x3b4e6c(0x305)]),'disabled$':(0x0,_0x1960ed[_0x3b4e6c(0x2c8)])(_0x3f0efd)};}let _0x4e55e6={[_0x58ec7c[_0x7d12da(0x246)]['MEDIA']]:{[_0x3ddcbf['id']]:{'order':0x4,'menuItemFactory':_0x12fc2e}},[_0x58ec7c[_0x7d12da(0x437)]['CONTEXT_MENU']]:{[_0xb3edfa]:{'order':0x6,[_0x58ec7c[_0x7d12da(0x3d4)]['OTHERS']]:{[_0x5815fc['id']]:{'order':0x0,'menuItemFactory':_0x1a7bd2},[_0xaff2e8['id']]:{'order':0x1,'menuItemFactory':_0x11f4b8},[_0x509a78['id']]:{'order':0x2,'menuItemFactory':_0x1adddf},[_0x4caaf8['id']]:{'order':0x3,'menuItemFactory':_0x123b6c}}}}};function _0x5cfbda(_0x4fc202){const _0x1fa84d=_0x7d12da;return _0x4fc202===_0x5dd517[_0x1fa84d(0x1ff)]['Combination']||_0x4fc202===_0x5dd517['ChartTypeBits'][_0x1fa84d(0x417)]||_0x4fc202===_0x5dd517['ChartTypeBits'][_0x1fa84d(0x271)]||_0x5dd517[_0x1fa84d(0x2d4)]['baseOn'](_0x4fc202,_0x5dd517[_0x1fa84d(0x1ff)]['Line'])||_0x5dd517[_0x1fa84d(0x2d4)][_0x1fa84d(0x263)](_0x4fc202,_0x5dd517[_0x1fa84d(0x1ff)][_0x1fa84d(0x323)])||_0x5dd517['chartBitsUtils'][_0x1fa84d(0x263)](_0x4fc202,_0x5dd517[_0x1fa84d(0x1ff)][_0x1fa84d(0x328)])||_0x5dd517[_0x1fa84d(0x2d4)][_0x1fa84d(0x263)](_0x4fc202,_0x5dd517[_0x1fa84d(0x1ff)][_0x1fa84d(0x473)]);}function _0x181a09(_0x22279d){const _0x23b516=_0x7d12da;return _0x5cfbda(_0x22279d)||_0x5dd517['chartBitsUtils'][_0x23b516(0x263)](_0x22279d,_0x5dd517[_0x23b516(0x1ff)][_0x23b516(0x381)])||_0x5dd517[_0x23b516(0x2d4)]['baseOn'](_0x22279d,_0x5dd517[_0x23b516(0x1ff)]['Pareto'])||_0x5dd517[_0x23b516(0x2d4)][_0x23b516(0x263)](_0x22279d,_0x5dd517[_0x23b516(0x1ff)][_0x23b516(0x1e4)]);}function _0x7c6d76(_0x29534f,_0x1a2129){const _0x5ad7cd=_0x7d12da;let _0x1d5c20=(0x0,_0x173304[_0x5ad7cd(0x216)])(_0x29534f,_0x1a2129),_0xd3b9a8=_0x1d5c20?(0x0,_0x173304['resolveChartEditPanelRoute'])(_0x1d5c20[_0x5ad7cd(0x20e)]):void 0x0;if(!(!_0x1d5c20||!_0xd3b9a8))return{..._0x1d5c20,'route':_0xd3b9a8,'showFloatMenu':_0x181a09(_0x29534f[_0x5ad7cd(0x429)])&&_0x1d5c20[_0x5ad7cd(0x405)]};}var _0x1f3c46;let _0x56b17e={'axis':{..._0x173304[_0x7d12da(0x2a2)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x173304[_0x7d12da(0x388)],'heatmap':_0x173304[_0x7d12da(0x227)],'indicatorLine':_0x173304['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'legend':_0x173304[_0x7d12da(0x517)],'lineAndArea':_0x173304[_0x7d12da(0x1dd)],'pareto':_0x173304[_0x7d12da(0x2c6)],'pie':{..._0x173304['DEFAULT_CHART_PIE_VALUES'],'doughnutHole':0.5,'pieHole':0x0},'relation':{..._0x173304[_0x7d12da(0x525)],'useValueAsSymbolSize':!0x0},'radar':_0x173304['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x173304[_0x7d12da(0x401)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x1f3c46=_0x5dd517['RTLChartStyle'][_0x7d12da(0x4ec)])==null?void 0x0:_0x1f3c46[_0x7d12da(0x2e0)])??!0x1}},'style':_0x173304[_0x7d12da(0x462)],'titles':_0x173304[_0x7d12da(0x25c)],'trendline':_0x173304[_0x7d12da(0x534)],'waterfall':{..._0x173304[_0x7d12da(0x3eb)],'useSubtotal':!0x0},'waterfallStyle':_0x173304[_0x7d12da(0x3ab)],'wordCloud':_0x173304[_0x7d12da(0x368)]},_0xde2a56=_0x154624=>_0x154624[_0x7d12da(0x484)](_0x1da7ec[_0x7d12da(0x3f8)][_0x7d12da(0x305)])[_0x7d12da(0x2cf)](),_0x50a924=_0x63de9f=>{const _0x4413af=_0x7d12da;var _0x4b8b06;return(_0x4b8b06=_0x63de9f[_0x4413af(0x484)](_0x1da7ec[_0x4413af(0x3f8)][_0x4413af(0x305)])[_0x4413af(0x3e3)]())==null?void 0x0:_0x4b8b06[_0x4413af(0x4a0)]();},_0x32d58d=[_0x5dd517[_0x7d12da(0x1ff)]['Line'],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x417)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x452)],_0x5dd517['ChartTypeBits']['Scatter'],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x3ec)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x352)],_0x5dd517['ChartTypeBits'][_0x7d12da(0x3a4)],_0x5dd517['ChartTypeBits'][_0x7d12da(0x21a)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x271)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x361)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x4e2)],_0x5dd517[_0x7d12da(0x1ff)]['Treemap'],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x24e)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x268)],_0x5dd517[_0x7d12da(0x1ff)][_0x7d12da(0x3f7)]];function _0x9507ad(){const _0x1bb630=_0x7d12da;let _0xb2c4cf=(0x0,_0x173304[_0x1bb630(0x3f3)])();return(0x0,_0x1285f2[_0x1bb630(0x375)])(_0x173304[_0x1bb630(0x413)],{'visible':_0x32d58d[_0x1bb630(0x356)](_0x1eb869=>!_0x5dd517['chartBitsUtils'][_0x1bb630(0x263)](_0xb2c4cf,_0x1eb869))});}let _0x875677=_0x9c1e2c=>{const _0x1bbefe=_0x7d12da;let _0x18cb7a=(0x0,_0x58ec7c[_0x1bbefe(0x350)])(_0x4b3521),_0x5b7877=(0x0,_0x58ec7c[_0x1bbefe(0x350)])(_0x1da7ec[_0x1bbefe(0x21e)]),_0x811688=(0x0,_0x28eb9a[_0x1bbefe(0x26b)])((0x0,_0x58ec7c[_0x1bbefe(0x350)])(_0x1da7ec['Injector'])),_0x3d8344=(0x0,_0x370d3a['useMemo'])(()=>(0x0,_0x173304[_0x1bbefe(0x4b7)])(_0x13d068(_0xda0135[_0x1bbefe(0x3f4)](),_0x811688)[_0x1bbefe(0x4f2)](_0x409337=>({'id':_0x409337['id'],'label':_0x5b7877['t'](_0x1bbefe(0x3cd)+_0x409337['labelId']),'pieSecondaryPlotType':_0x409337[_0x1bbefe(0x535)],'value':_0x409337[_0x1bbefe(0x364)]}))),[_0x811688,_0x5b7877]),_0x5781ee=(0x0,_0x58ec7c[_0x1bbefe(0x249)])(_0x18cb7a['activeChartModel$'],_0x18cb7a[_0x1bbefe(0x48b)]),_0xf06e0f=(0x0,_0x58ec7c['useObservable'])(_0x5781ee==null?void 0x0:_0x5781ee[_0x1bbefe(0x1e0)][_0x1bbefe(0x4de)],_0x5781ee==null?void 0x0:_0x5781ee[_0x1bbefe(0x1e0)][_0x1bbefe(0x432)]()),_0x1f51e9=_0xf06e0f&&!Array[_0x1bbefe(0x349)](_0xf06e0f)&&_0xf06e0f['isRowDirection']?_0x5dd517[_0x1bbefe(0x235)][_0x1bbefe(0x3ff)]:_0x5dd517[_0x1bbefe(0x235)][_0x1bbefe(0x323)];return(0x0,_0x1285f2['jsxs'])('div',{'className':_0x1bbefe(0x407),'children':[(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x173304[_0x1bbefe(0x48e)],{'options':_0x3d8344}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x173304['ChartTypeSpecificSetupSection'],{}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x173304['ChartThemeField'],{}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x9507ad,{}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x173304['ChartStackField'],{}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x5ceb6c,{'dataRange':_0xf06e0f}),(0x0,_0x1285f2['jsx'])(_0x173304[_0x1bbefe(0x446)],{'categoryToggleLabel':_0x5b7877['t'](_0x1bbefe(0x2c7),_0x1f51e9===_0x5dd517[_0x1bbefe(0x235)][_0x1bbefe(0x3ff)]?_0x1f51e9+'\x20'+(((_0xf06e0f==null?void 0x0:_0xf06e0f[_0x1bbefe(0x526)][_0x1bbefe(0x35f)]['startRow'])??0x0)+0x1):_0x1f51e9+'\x20'+(0x0,_0x1da7ec[_0x1bbefe(0x3e7)])((_0xf06e0f==null?void 0x0:_0xf06e0f[_0x1bbefe(0x526)]['range'][_0x1bbefe(0x4b2)])??0x0)),'orientationControl':(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x92e22d['Button'],{'size':_0x1bbefe(0x20b),'onClick':()=>_0x18cb7a[_0x1bbefe(0x274)](_0x1f51e9===_0x5dd517['DataOrientation'][_0x1bbefe(0x3ff)]?_0x5dd517['DataOrientation'][_0x1bbefe(0x323)]:_0x5dd517[_0x1bbefe(0x235)]['Row']),'children':_0x5b7877['t'](_0x1bbefe(0x37c))})}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x173304['ChartTypeSpecificDataSection'],{}),(0x0,_0x1285f2[_0x1bbefe(0x375)])(_0x173304[_0x1bbefe(0x26f)],{'defaultValues':_0x9c1e2c['defaultValues'][_0x1bbefe(0x2db)]})]});};function _0x5ceb6c(_0x2e15ad){const _0x4775f6=_0x7d12da;let {dataRange:_0x3e3a6d}=_0x2e15ad,_0x13f91e=(0x0,_0x58ec7c[_0x4775f6(0x350)])(_0x4b3521),_0x27ba58=(0x0,_0x58ec7c[_0x4775f6(0x350)])(_0x1da7ec['LocaleService']),_0x356dc9=(0x0,_0x58ec7c[_0x4775f6(0x350)])(_0x1da7ec[_0x4775f6(0x47c)]),[_0xa7cc54,_0x5853bc]=(0x0,_0x370d3a['useState'])(!0x1),[_0x447cee,_0x73051e]=(0x0,_0x370d3a[_0x4775f6(0x373)])(!0x1),_0x33df88=_0xde2a56(_0x356dc9),_0x54c072=_0x50a924(_0x356dc9);(0x0,_0x370d3a['useEffect'])(()=>{const _0x521dac=_0x4775f6;_0x13f91e[_0x521dac(0x51d)](_0xa7cc54);},[_0xa7cc54,_0x13f91e]);let _0x41ea86=(0x0,_0x370d3a['useMemo'])(()=>(0x0,_0x1da7ec[_0x4775f6(0x260)])(async _0x1e904b=>{const _0x18ac94=_0x4775f6;var _0x4cec32;if(_0x1c0271(_0x3e3a6d,_0x356dc9)===_0x1e904b)return;let _0x287318=_0x1e904b['split'](',')[_0x18ac94(0x43d)](Boolean)[_0x18ac94(0x4f2)](_0x259b78['deserializeRangeWithSheet'])[0x0];if(!_0x287318)return;let {unitId:_0x1d0586,sheetName:_0x4106a6,range:_0x210ffb}=_0x287318,_0x5bffb=_0x1d0586||_0x33df88,_0x5cbbac=((_0x4cec32=_0x356dc9[_0x18ac94(0x46c)](_0x5bffb)[_0x18ac94(0x51a)](_0x4106a6))==null?void 0x0:_0x4cec32['getSheetId']())||(_0x3e3a6d==null?void 0x0:_0x3e3a6d[_0x18ac94(0x526)]['subUnitId']);_0x13f91e[_0x18ac94(0x4bb)]({'rangeInfo':{'range':_0x210ffb,'unitId':_0x5bffb,'subUnitId':_0x5cbbac},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x3e3a6d,_0x13f91e,_0x33df88,_0x356dc9]);return(0x0,_0x370d3a['useEffect'])(()=>()=>_0x41ea86[_0x4775f6(0x205)](),[_0x41ea86]),(0x0,_0x1285f2[_0x4775f6(0x375)])('div',{'className':_0x4775f6(0x2e1),'children':(0x0,_0x1285f2[_0x4775f6(0x311)])(_0x4775f6(0x1f8),{'children':[(0x0,_0x1285f2[_0x4775f6(0x375)])(_0x173304[_0x4775f6(0x334)],{'title':_0x27ba58['t']('sheets-chart-ui.common.dataRange')}),(0x0,_0x1285f2[_0x4775f6(0x375)])(_0x2c5582[_0x4775f6(0x241)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x33df88,'subUnitId':_0x54c072,'initialValue':_0x3e3a6d?_0x1c0271(_0x3e3a6d,_0x356dc9):'','onChange':(_0x44c463,_0x3c3205)=>_0x41ea86(_0x3c3205),'onFocusChange':_0x50e2ad=>{_0x447cee||_0x5853bc(_0x50e2ad);},'onRangeSelectorDialogVisibleChange':_0x2d9070=>{_0x73051e(_0x2d9070),_0x5853bc(_0x2d9070);}})]})});}function _0x5a3ef2(_0x4337a2){const _0xacd80d=_0x7d12da;return(0x0,_0x1285f2[_0xacd80d(0x311)])(_0x173304[_0xacd80d(0x279)],{'id':_0x4337a2['id'],'children':[(0x0,_0x1285f2[_0xacd80d(0x375)])(_0x173304[_0xacd80d(0x410)],{'children':_0x4337a2[_0xacd80d(0x1f5)]}),(0x0,_0x1285f2[_0xacd80d(0x375)])(_0x173304[_0xacd80d(0x392)],{'children':_0x4337a2[_0xacd80d(0x536)]})]});}let _0x138bfc=_0x3169e5=>{const _0x21e74b=_0x7d12da;let _0x18a83d=(0x0,_0x58ec7c['useDependency'])(_0x1da7ec['LocaleService']),_0x18f5c2=(0x0,_0x58ec7c[_0x21e74b(0x350)])(_0x4b3521),_0x383c06=(0x0,_0x58ec7c['useObservable'])(_0x18f5c2[_0x21e74b(0x3d1)],null),_0x43f1fe=(0x0,_0x58ec7c[_0x21e74b(0x249)])(_0x18f5c2[_0x21e74b(0x434)],null),_0x16a591=(_0x43f1fe==null?void 0x0:_0x43f1fe[_0x21e74b(0x28f)])===_0x383c06?_0x43f1fe[_0x21e74b(0x4a3)]:null,_0x2775ef=(0x0,_0x173304['useChartEditorChartType'])(),_0x3becf3=(0x0,_0x173304['useChartEditorHasRightAxis'])(),[_0x5ae87,_0x18727f]=(0x0,_0x370d3a[_0x21e74b(0x373)])(null);(0x0,_0x370d3a['useEffect'])(()=>{const _0x390b8e=_0x21e74b;_0x16a591!=null&&_0x16a591[_0x390b8e(0x204)]&&_0x18727f(_0x16a591[_0x390b8e(0x204)]);},[_0x16a591]);let _0x4dabe2=_0x5dd517[_0x21e74b(0x2d4)][_0x21e74b(0x263)](_0x2775ef,_0x5dd517['ChartTypeBits'][_0x21e74b(0x381)]),_0x51e3cc=_0x2775ef===_0x5dd517[_0x21e74b(0x1ff)]['Radar'],_0x1aeefa=_0x2775ef===_0x5dd517[_0x21e74b(0x1ff)]['WordCloud'],_0x6032d8=_0x2775ef===_0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x3ec)],_0x999fd1=_0x5dd517['chartBitsUtils'][_0x21e74b(0x263)](_0x2775ef,_0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x52f)]),_0x278413=_0x2775ef===_0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x352)],_0x388db7=_0x2775ef===_0x5dd517['ChartTypeBits'][_0x21e74b(0x1e4)],_0x330216=_0x2775ef===_0x5dd517['ChartTypeBits']['Pareto'],_0x4ec264=_0x2775ef===_0x5dd517['ChartTypeBits'][_0x21e74b(0x21a)],_0x26452a,_0xeb27e7;switch(_0x2775ef){case _0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x361)]:_0x26452a=_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x361)],_0xeb27e7=_0x18a83d['t'](_0x21e74b(0x483));break;case _0x5dd517[_0x21e74b(0x1ff)]['Histogram']:_0x26452a=_0x173304['ChartEditPanelSection'][_0x21e74b(0x4e2)],_0xeb27e7=_0x18a83d['t'](_0x21e74b(0x3e4));break;case _0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x363)]:_0x26452a=_0x173304['ChartEditPanelSection'][_0x21e74b(0x363)],_0xeb27e7=_0x18a83d['t'](_0x21e74b(0x3d2));break;case _0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x24e)]:_0x26452a=_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x24e)],_0xeb27e7=_0x18a83d['t'](_0x21e74b(0x461));break;case _0x5dd517[_0x21e74b(0x1ff)][_0x21e74b(0x268)]:_0x26452a=_0x173304['ChartEditPanelSection'][_0x21e74b(0x268)],_0xeb27e7=_0x18a83d['t']('sheets-chart-ui.section.gauge');break;case _0x5dd517['ChartTypeBits'][_0x21e74b(0x3f7)]:_0x26452a=_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x3f7)],_0xeb27e7=_0x18a83d['t'](_0x21e74b(0x20c));break;}let _0x55c0db=(0x0,_0x173304[_0x21e74b(0x37f)])(_0x2775ef,_0x173304[_0x21e74b(0x523)][_0x21e74b(0x2c5)])&&!_0x999fd1&&!_0x330216;return(0x0,_0x1285f2[_0x21e74b(0x311)])(_0x173304[_0x21e74b(0x4f0)],{'value':_0x5ae87,'onChange':_0x18727f,'children':[(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x4e8)],'label':_0x18a83d['t']('sheets-chart-ui.common.chartStyle'),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x2d2)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x4c7)],'showBodyFont':!0x0})}),(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x533)],'label':_0x18a83d['t'](_0x21e74b(0x3e8)),'children':(0x0,_0x1285f2['jsx'])(_0x173304['ChartTitlesSection'],{'commitMode':_0x21e74b(0x50a),'defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x458)],'selectedTitleKey':_0x16a591==null?void 0x0:_0x16a591[_0x21e74b(0x4b0)]})}),_0x55c0db&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x4b9)],'label':_0x18a83d['t'](_0x21e74b(0x456)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x258)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x229)],'NumberFormatField':_0x173304[_0x21e74b(0x20a)],'selectedSeriesId':_0x16a591==null?void 0x0:_0x16a591['seriesId']})}),_0x388db7&&(0x0,_0x1285f2['jsx'])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x244)],'label':_0x18a83d['t'](_0x21e74b(0x50c)),'children':(0x0,_0x1285f2['jsx'])(_0x173304['ChartWaterfallStyleSection'],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)]['waterfallStyle'],'getDefaultBucketName':({seriesName:_0x1458a9,target:_0x12afdb})=>_0x12afdb===_0x5dd517['ChartWaterfallStyleTarget'][_0x21e74b(0x3b1)]?_0x18a83d['t']('sheets-chart-ui.waterfall.subtotal'):_0x1458a9?_0x1458a9+'-('+_0x18a83d['t'](_0x12afdb===_0x5dd517[_0x21e74b(0x321)][_0x21e74b(0x2a3)]?'sheets-chart-ui.waterfall.positive':'sheets-chart-ui.waterfall.negative')+')':'','NumberFormatField':_0x173304[_0x21e74b(0x20a)],'selectedSeriesId':_0x16a591==null?void 0x0:_0x16a591['seriesId']})}),_0x330216&&(0x0,_0x1285f2[_0x21e74b(0x311)])(_0x1285f2[_0x21e74b(0x3a7)],{'children':[(0x0,_0x1285f2['jsx'])(_0x5a3ef2,{'id':_0x173304['ChartEditPanelSection']['ParetoBarSeries'],'label':_0x18a83d['t'](_0x21e74b(0x42a)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x210)],{'defaultValues':_0x3169e5['defaultValues'][_0x21e74b(0x282)],'NumberFormatField':_0x173304[_0x21e74b(0x20a)],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)]['ParetoLineSeries'],'label':_0x18a83d['t'](_0x21e74b(0x44c)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x210)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)]['pareto'],'NumberFormatField':_0x173304['ChartNumberFormatAtom'],'showDataPointEditor':!0x1,'target':_0x21e74b(0x3a9)})})]}),_0x4dabe2&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x4b6)],'label':_0x18a83d['t']('sheets-chart-ui.section.pie'),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x455)],{'defaultValues':_0x3169e5['defaultValues']['pie'],'NumberFormatField':_0x173304[_0x21e74b(0x20a)]})}),_0x1aeefa&&(0x0,_0x1285f2['jsx'])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)]['WordCloud'],'label':_0x18a83d['t'](_0x21e74b(0x31f)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304['ChartWordCloudStyleSection'],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)]['wordCloud']})}),_0x51e3cc&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x417)],'label':_0x18a83d['t'](_0x21e74b(0x47b)),'children':(0x0,_0x1285f2['jsx'])(_0x173304[_0x21e74b(0x317)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x3f9)]})}),_0x6032d8&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x3ec)],'label':_0x18a83d['t'](_0x21e74b(0x2b3)),'children':(0x0,_0x1285f2['jsx'])(_0x173304['ChartFunnelStyleSection'],{'defaultValues':_0x3169e5['defaultValues'][_0x21e74b(0x47d)],'gapControl':_0x21e74b(0x402)})}),_0x4ec264&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x21a)],'label':_0x18a83d['t']('sheets-chart-ui.common.heatmap'),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304['ChartHeatmapStyleSection'],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)]['heatmap']})}),_0x278413&&(0x0,_0x1285f2['jsx'])(_0x5a3ef2,{'id':_0x173304['ChartEditPanelSection'][_0x21e74b(0x352)],'label':_0x18a83d['t'](_0x21e74b(0x273)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x4e7)],{'defaultValues':_0x3169e5['defaultValues'][_0x21e74b(0x27e)]})}),(0x0,_0x173304[_0x21e74b(0x491)])(_0x2775ef)&&(0x0,_0x1285f2['jsx'])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)]['LineAndArea'],'label':_0x18a83d['t']('sheets-chart-ui.section.lineAndArea'),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x1ea)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x1f7)],'lineStyleControl':'segmented'})}),(0x0,_0x173304[_0x21e74b(0x37f)])(_0x2775ef,_0x173304[_0x21e74b(0x523)][_0x21e74b(0x45f)])&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)]['Legend'],'label':_0x18a83d['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x374)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x3a3)]})}),(0x0,_0x173304['chartTypeSupportsCapability'])(_0x2775ef,_0x173304[_0x21e74b(0x523)][_0x21e74b(0x40b)])&&(0x0,_0x1285f2[_0x21e74b(0x311)])(_0x1285f2[_0x21e74b(0x3a7)],{'children':[(0x0,_0x1285f2['jsx'])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x4d9)],'label':_0x18a83d['t']('sheets-chart-ui.common.horizontalAxis'),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x2b8)],{'axis':'x','defaultValues':_0x3169e5[_0x21e74b(0x2d8)][_0x21e74b(0x4f3)],'NumberFormatField':_0x173304[_0x21e74b(0x20a)]})}),(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x406)],'label':_0x18a83d['t'](_0x21e74b(0x2f7)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x2b8)],{'axis':'y','defaultValues':_0x3169e5['defaultValues']['axis'],'NumberFormatField':_0x173304[_0x21e74b(0x20a)]})}),_0x3becf3&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304['ChartEditPanelSection'][_0x21e74b(0x4ce)],'label':_0x18a83d['t'](_0x21e74b(0x4a7)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x2b8)],{'axis':_0x21e74b(0x3b5),'defaultValues':_0x3169e5['defaultValues']['axis'],'NumberFormatField':_0x173304[_0x21e74b(0x20a)]})}),(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304['ChartEditPanelSection'][_0x21e74b(0x40a)],'label':_0x18a83d['t'](_0x21e74b(0x4e6)),'children':(0x0,_0x1285f2['jsx'])(_0x173304[_0x21e74b(0x486)],{'defaultValues':_0x3169e5['defaultValues'][_0x21e74b(0x4f3)]})})]}),(0x0,_0x173304[_0x21e74b(0x37f)])(_0x2775ef,_0x173304['ChartEditorCapability']['IndicatorLine'])&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x1fb)],'label':_0x18a83d['t'](_0x21e74b(0x30a)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x4e0)],{'defaultValues':_0x3169e5['defaultValues'][_0x21e74b(0x41a)]})}),(0x0,_0x5dd517[_0x21e74b(0x4f4)])(_0x2775ef)&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x173304[_0x21e74b(0x2a1)][_0x21e74b(0x404)],'label':_0x18a83d['t'](_0x21e74b(0x508)),'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x28a)],{'defaultValues':_0x3169e5[_0x21e74b(0x2d8)]['trendline']})}),_0x26452a&&_0xeb27e7&&(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x5a3ef2,{'id':_0x26452a,'label':_0xeb27e7,'children':(0x0,_0x1285f2[_0x21e74b(0x375)])(_0x173304[_0x21e74b(0x39f)],{})})]});};function _0xf5a7e1(_0x5f5057){const _0x652f8=_0x7d12da;let {className:_0x58a207}=_0x5f5057,[_0x5168e8,_0x2bb027]=(0x0,_0x370d3a[_0x652f8(0x373)])(_0x173304['ChartEditPanelTab']['Data']),_0x438981=(0x0,_0x58ec7c[_0x652f8(0x350)])(_0x1da7ec[_0x652f8(0x46f)]),_0x17b150=(0x0,_0x58ec7c['useDependency'])(_0x1da7ec[_0x652f8(0x21e)]),_0x193580=(0x0,_0x58ec7c['useDependency'])(_0x4b3521),_0x1ece7f=(0x0,_0x58ec7c['useObservable'])(_0x193580[_0x652f8(0x3d1)],null),_0x5244e3=(0x0,_0x58ec7c['useObservable'])(_0x193580[_0x652f8(0x30b)],null),_0x9bef0d=(0x0,_0x58ec7c[_0x652f8(0x249)])(_0x193580[_0x652f8(0x434)],null),_0x3a01ca=(0x0,_0x370d3a['useMemo'])(()=>{const _0x4a29f6=_0x652f8;var _0x46e90f;if(!_0x5244e3)return null;let _0x47de23=_0x5244e3[_0x4a29f6(0x1e0)][_0x4a29f6(0x432)](),_0x1d34a2=Array[_0x4a29f6(0x349)](_0x47de23)?(_0x46e90f=_0x47de23[0x0])==null?void 0x0:_0x46e90f[_0x4a29f6(0x35f)]:_0x47de23[_0x4a29f6(0x526)];return _0x1d34a2?new _0x173304['ChartHostAdapter'](_0x5244e3,new _0x28eb9a[(_0x4a29f6(0x514))]({'unitId':_0x1d34a2[_0x4a29f6(0x490)],'subUnitId':_0x1d34a2[_0x4a29f6(0x26e)],'chartId':_0x5244e3['id'],'injector':_0x438981})):null;},[_0x5244e3,_0x438981]);(0x0,_0x370d3a[_0x652f8(0x394)])(()=>{const _0x5353da=_0x652f8;var _0x59dd73,_0xa84a80;(_0x9bef0d==null?void 0x0:_0x9bef0d[_0x5353da(0x28f)])===_0x1ece7f&&(((_0x59dd73=_0x9bef0d[_0x5353da(0x4a3)])==null?void 0x0:_0x59dd73[_0x5353da(0x359)])===_0x173304[_0x5353da(0x1e2)][_0x5353da(0x31d)]&&_0x2bb027(_0x173304[_0x5353da(0x1e2)][_0x5353da(0x31d)]),((_0xa84a80=_0x9bef0d['route'])==null?void 0x0:_0xa84a80['tab'])===_0x173304[_0x5353da(0x1e2)][_0x5353da(0x470)]&&_0x2bb027(_0x173304[_0x5353da(0x1e2)][_0x5353da(0x470)]));},[_0x1ece7f,_0x9bef0d]);let _0x5944b4=(0x0,_0x1285f2[_0x652f8(0x311)])(_0x652f8(0x1f8),{'className':_0x652f8(0x346)+(_0x5168e8===_0x173304[_0x652f8(0x1e2)][_0x652f8(0x31d)]?_0x652f8(0x44f):'univer-overflow-hidden')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x58a207??'')+_0x652f8(0x2bd),'children':[(0x0,_0x1285f2[_0x652f8(0x375)])(_0x173304[_0x652f8(0x45e)],{'ariaLabel':_0x17b150['t'](_0x652f8(0x238)),'className':_0x652f8(0x409),'items':[{'label':_0x17b150['t'](_0x652f8(0x3d8)),'panelId':_0x2c04e4,'value':_0x173304[_0x652f8(0x1e2)]['Data']},{'label':_0x17b150['t']('sheets-chart-ui.common.customize'),'panelId':_0x56120e,'value':_0x173304[_0x652f8(0x1e2)][_0x652f8(0x31d)]}],'value':_0x5168e8,'onChange':_0x2bb027}),_0x5168e8===_0x173304[_0x652f8(0x1e2)][_0x652f8(0x470)]?(0x0,_0x1285f2['jsx'])(_0x173304['ChartEditPanel'],{'id':_0x2c04e4,'label':_0x17b150['t'](_0x652f8(0x3d8)),'children':(0x0,_0x1285f2[_0x652f8(0x375)])(_0x875677,{'defaultValues':_0x56b17e})}):(0x0,_0x1285f2['jsx'])(_0x173304['ChartEditPanel'],{'id':_0x56120e,'className':_0x652f8(0x230),'label':_0x17b150['t'](_0x652f8(0x48c)),'children':(0x0,_0x1285f2[_0x652f8(0x375)])(_0x138bfc,{'defaultValues':_0x56b17e})})]});return _0x3a01ca?(0x0,_0x1285f2['jsx'])(_0x173304[_0x652f8(0x4ed)],{'chartUIService':_0x193580,'hostAdapter':_0x3a01ca,'children':_0x5944b4}):_0x5944b4;}let _0x266dc7=_0x7d12da(0x3be),_0x2c04e4=_0x7d12da(0x3b6),_0x56120e=_0x7d12da(0x32c);function _0x36acd7(_0x4fbeae){const _0x3037e5=_0x7d12da;if(_0x4fbeae[_0x3037e5(0x31c)]!==0x1)return!0x1;let _0x5b6f22=_0x4fbeae[0x0];return _0x5b6f22[_0x3037e5(0x214)]===_0x1da7ec[_0x3037e5(0x2ff)]['DRAWING_CHART']&&!_0x5b6f22[_0x3037e5(0x278)];}let _0xb93665=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x583f5b,_0x260f5a,_0x535d73,_0x4eef62,_0x6d8dd1,_0x3406b4,_0x2be907,_0x16e643,_0x173968,_0x4b30ce,_0x1fc67a,_0x4ea628,_0x43271f,_0x38e632,_0x566ca1){const _0x265fb8=_0x7d12da;var _0x371e33;super(),this[_0x265fb8(0x2f9)]=_0x583f5b,this[_0x265fb8(0x337)]=_0x260f5a,this['_chartModelService']=_0x535d73,this[_0x265fb8(0x4d1)]=_0x4eef62,this[_0x265fb8(0x330)]=_0x6d8dd1,this[_0x265fb8(0x4da)]=_0x3406b4,this['_menuManagerService']=_0x2be907,this['_drawingContextMenuService']=_0x16e643,this[_0x265fb8(0x22b)]=_0x173968,this[_0x265fb8(0x331)]=_0x4b30ce,this['_commandService']=_0x1fc67a,this[_0x265fb8(0x28d)]=_0x4ea628,this['_contextService']=_0x43271f,this[_0x265fb8(0x507)]=_0x38e632,_0x451b0c(this,_0x265fb8(0x2b1),null),_0x451b0c(this,_0x265fb8(0x506),void 0x0),this[_0x265fb8(0x506)]=((_0x371e33=_0x566ca1['getConfig']('sheets-chart-ui.config'))==null?void 0x0:_0x371e33[_0x265fb8(0x3c4)])===!0x0,this['_initMenus'](),this[_0x265fb8(0x49a)](this[_0x265fb8(0x337)][_0x265fb8(0x424)](_0x1da7ec[_0x265fb8(0x3f8)][_0x265fb8(0x305)])[_0x265fb8(0x44a)](_0x4b96e1=>{const _0x38adba=_0x265fb8;var _0x6c8528;_0x4b96e1||(_0x6c8528=this[_0x38adba(0x2b1)])==null||_0x6c8528[_0x38adba(0x248)]();})),this['disposeWithMe']((0x0,_0x1da7ec[_0x265fb8(0x440)])(this['_sheetDrawingHitTestService']['onDoubleClick$']['subscribe'](async({drawing:_0x293bed})=>{await this['_handleDrawingDoubleClick'](_0x293bed);})));}[_0x7d12da(0x37d)](){const _0x3a051a=_0x7d12da;this['_sidebarDisposable']=this['_sidebarService'][_0x3a051a(0x399)]({'id':_0x266dc7,'header':{'title':this[_0x3a051a(0x507)]['t'](_0x3a051a(0x238))},'width':0x154,'children':{'label':_0x266dc7},'onClose':()=>{const _0x342cb6=_0x3a051a;this[_0x342cb6(0x3dc)][_0x342cb6(0x32e)](null),this[_0x342cb6(0x422)](),this[_0x342cb6(0x2f9)][_0x342cb6(0x2eb)](null),this[_0x342cb6(0x30c)][_0x342cb6(0x2c0)](_0x1da7ec[_0x342cb6(0x33e)],!0x1),this['_sidebarDisposable']=null;}});}[_0x7d12da(0x35a)](){const _0x20897e=_0x7d12da;var _0x3b574b;this[_0x20897e(0x3dc)][_0x20897e(0x32e)](null),this[_0x20897e(0x422)](),(_0x3b574b=this[_0x20897e(0x2b1)])==null||_0x3b574b[_0x20897e(0x248)]();}[_0x7d12da(0x2e3)](){const _0x26fa10=_0x7d12da;let _0x267463=this[_0x26fa10(0x337)][_0x26fa10(0x484)](_0x1da7ec[_0x26fa10(0x3f8)][_0x26fa10(0x305)]);this[_0x26fa10(0x49a)](this[_0x26fa10(0x4da)][_0x26fa10(0x450)][_0x26fa10(0x44a)](_0x39e001=>{const _0x1538f2=_0x26fa10;_0x39e001['id']===_0x1538f2(0x3be)&&(_0x39e001['visible']||this['_sidebarService'][_0x1538f2(0x450)][_0x1538f2(0x3da)]({'visible':!0x1}));})),this[_0x26fa10(0x49a)](this[_0x26fa10(0x261)][_0x26fa10(0x4ff)](_0x8d7fd7=>{const _0x4283b9=_0x26fa10;if(_0x8d7fd7['id']===_0x4dcf39['id']){let _0x1e3e52=_0x8d7fd7[_0x4283b9(0x2a9)];this[_0x4283b9(0x226)](_0x1e3e52[_0x4283b9(0x411)],_0x1e3e52[_0x4283b9(0x4a3)]);}if(_0x8d7fd7['id']===_0x4c56c5['id']&&this[_0x4283b9(0x35a)](),_0x8d7fd7['id']===_0x28eb9a[_0x4283b9(0x2e6)]['id']){var _0x3ca930;_0x8d7fd7['params'][_0x4283b9(0x28f)]===((_0x3ca930=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x3ca930['id'])&&this[_0x4283b9(0x35a)](),this['_contextService'][_0x4283b9(0x4c8)](_0x1da7ec[_0x4283b9(0x33e)])&&(this[_0x4283b9(0x30c)][_0x4283b9(0x2c0)](_0x1da7ec[_0x4283b9(0x33e)],!0x1),this[_0x4283b9(0x2f9)][_0x4283b9(0x2eb)](null));}})),this[_0x26fa10(0x49a)](this[_0x26fa10(0x22b)][_0x26fa10(0x2ed)][_0x26fa10(0x44a)](({id:_0x3ddcbb})=>{const _0x57ad4a=_0x26fa10;_0x3ddcbb===this['_sheetsChartUIService']['activeEditChart']&&this[_0x57ad4a(0x35a)]();})),this[_0x26fa10(0x49a)](this[_0x26fa10(0x22b)]['transformChange$']['subscribe'](({id:_0x30f358})=>{const _0x4ed68f=_0x26fa10;_0x30f358===this[_0x4ed68f(0x28d)]['activeEditChart']&&(this[_0x4ed68f(0x28d)][_0x4ed68f(0x453)](null),this[_0x4ed68f(0x28d)][_0x4ed68f(0x4b1)](),this['_chartRenderService'][_0x4ed68f(0x425)](_0x30f358,!0x1),this['_shouldEnableChartElementEdit'](_0x30f358)&&this[_0x4ed68f(0x4d1)][_0x4ed68f(0x425)](_0x30f358,!0x0));})),this['disposeWithMe'](this[_0x26fa10(0x2f9)]['focus$'][_0x26fa10(0x44a)](_0x52ef54=>{const _0x48c3e9=_0x26fa10;let _0x38d672=_0x52ef54[0x0];if(!this[_0x48c3e9(0x28d)][_0x48c3e9(0x280)]){if(_0x36acd7(_0x52ef54)){var _0xc0fc13;let _0x22cbd1=this[_0x48c3e9(0x3dc)][_0x48c3e9(0x343)](_0x38d672[_0x48c3e9(0x411)]);_0x22cbd1&&((_0xc0fc13=this[_0x48c3e9(0x3dc)][_0x48c3e9(0x48b)])==null?void 0x0:_0xc0fc13['id'])!==_0x22cbd1['id']&&this[_0x48c3e9(0x3dc)]['setActiveChartModel'](_0x22cbd1);return;}this[_0x48c3e9(0x3dc)][_0x48c3e9(0x48b)]&&this[_0x48c3e9(0x3dc)][_0x48c3e9(0x32e)](null),!_0x38d672&&!this[_0x48c3e9(0x28d)][_0x48c3e9(0x280)]&&this['hidePanel']();}})),_0x267463&&(this['disposeWithMe'](_0x267463[_0x26fa10(0x3c6)][_0x26fa10(0x44a)](()=>{const _0x12d7b2=_0x26fa10;this[_0x12d7b2(0x35a)]();})),this[_0x26fa10(0x49a)](_0x267463['activeSheet$']['subscribe'](()=>{const _0x420004=_0x26fa10;this[_0x420004(0x35a)]();})));}async['_handleDrawingDoubleClick'](_0x541684){const _0x517b62=_0x7d12da;this[_0x517b62(0x28d)]['activeEditChart']||_0x541684['drawingType']===_0x1da7ec[_0x517b62(0x2ff)]['DRAWING_CHART']&&await this['_openEditPanelByDoubleClick'](_0x541684[_0x517b62(0x490)],_0x541684[_0x517b62(0x26e)],_0x541684['drawingId']);}async[_0x7d12da(0x354)](_0x110dbf,_0x51474a,_0x2f0991){const _0x17890b=_0x7d12da;let _0x544f9b=this[_0x17890b(0x3dc)][_0x17890b(0x343)](_0x2f0991);_0x544f9b&&(this[_0x17890b(0x3dc)]['setActiveChartModel'](_0x544f9b),await this[_0x17890b(0x261)][_0x17890b(0x40d)](_0x4dcf39['id'],{'unitId':_0x110dbf,'subUnitId':_0x51474a,'drawingId':_0x2f0991}));}[_0x7d12da(0x226)](_0xe4ff1a,_0x14c999){const _0x59a254=_0x7d12da;let _0x5e6b63=this['_chartModelService']['getChartModel'](_0xe4ff1a);_0x5e6b63&&(this[_0x59a254(0x3dc)][_0x59a254(0x32e)](_0x5e6b63),this[_0x59a254(0x37d)](),this[_0x59a254(0x408)](_0xe4ff1a,_0x14c999??null));}[_0x7d12da(0x408)](_0x485aaf,_0x97e46c){const _0x546e5d=_0x7d12da;let _0x31f156=this[_0x546e5d(0x28d)][_0x546e5d(0x4df)];_0x31f156&&_0x31f156!==_0x485aaf&&(this['_chartRenderService'][_0x546e5d(0x425)](_0x31f156,!0x1),this[_0x546e5d(0x28d)]['setSelectedElement'](null)),this[_0x546e5d(0x28d)][_0x546e5d(0x2b7)](_0x485aaf),this['_sheetsChartUIService'][_0x546e5d(0x2f4)](_0x485aaf,_0x97e46c),this[_0x546e5d(0x4d1)][_0x546e5d(0x425)](_0x485aaf,this[_0x546e5d(0x25e)](_0x485aaf));}[_0x7d12da(0x422)](){const _0x352472=_0x7d12da;let _0x589a0d=this[_0x352472(0x28d)][_0x352472(0x4df)];_0x589a0d&&this['_chartRenderService']['setElementEditMode'](_0x589a0d,!0x1),this[_0x352472(0x28d)][_0x352472(0x2b7)](null),this[_0x352472(0x28d)]['setSelectedElement'](null),this[_0x352472(0x28d)][_0x352472(0x4b1)]();}[_0x7d12da(0x497)](){const _0x5dddcc=_0x7d12da;this[_0x5dddcc(0x36c)]['mergeMenu'](_0x4e55e6),this['disposeWithMe'](this['_drawingContextMenuService']['registerProvider'](_0x1da7ec['DrawingTypeEnum'][_0x5dddcc(0x3ca)],{'getContextMenuPosition':()=>_0xb3edfa})),this[_0x5dddcc(0x331)]['registerFeatureMenu'](_0x1da7ec[_0x5dddcc(0x2ff)][_0x5dddcc(0x3ca)],this['getChartPopupMenus'][_0x5dddcc(0x2ac)](this));}[_0x7d12da(0x25e)](_0x383a45){const _0x37aca5=_0x7d12da;let _0x5cbdb7=this[_0x37aca5(0x3dc)]['getChartModel'](_0x383a45);return!this['_isChartElementEditEnabled']||!_0x5cbdb7?!0x1:_0x181a09(_0x5cbdb7[_0x37aca5(0x429)]);}[_0x7d12da(0x416)](_0x2d9f6f,_0x29b8cd,_0x449206,_0x1a3106){const _0x4585e1=_0x7d12da;return[{'label':this[_0x4585e1(0x507)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':_0x4dcf39['id'],'commandParams':{'unitId':_0x2d9f6f,'subUnitId':_0x29b8cd,'drawingId':_0x449206},'disable':_0x1a3106!==_0x1da7ec['DrawingTypeEnum']['DRAWING_CHART']},{'label':this[_0x4585e1(0x507)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x4754e3['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x2d9f6f,'drawings':[{'unitId':_0x2d9f6f,'subUnitId':_0x29b8cd,'drawingId':_0x449206,'drawingType':_0x1a3106}]},'disable':!0x1},{'label':this[_0x4585e1(0x507)]['t'](_0x4585e1(0x42b)),'index':0x2,'commandId':_0x4c56c5['id'],'commandParams':{'unitId':_0x2d9f6f,'subUnitId':_0x29b8cd,'drawingId':_0x449206},'disable':!0x1}];}};_0xb93665=_0x3b9455([_0x493c2e(0x0,_0x5405e4[_0x7d12da(0x3ea)]),_0x493c2e(0x1,_0x1da7ec[_0x7d12da(0x47c)]),_0x493c2e(0x2,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a[_0x7d12da(0x1f6)])),_0x493c2e(0x3,(0x0,_0x1da7ec['Inject'])(_0x32f42a)),_0x493c2e(0x4,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x364311['SheetDrawingHitTestService'])),_0x493c2e(0x5,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x58ec7c[_0x7d12da(0x23a)])),_0x493c2e(0x6,_0x58ec7c[_0x7d12da(0x288)]),_0x493c2e(0x7,_0x364311[_0x7d12da(0x2a8)]),_0x493c2e(0x8,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x364311[_0x7d12da(0x4b5)])),_0x493c2e(0x9,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1960ed[_0x7d12da(0x348)])),_0x493c2e(0xa,_0x1da7ec[_0x7d12da(0x496)]),_0x493c2e(0xb,_0x4b3521),_0x493c2e(0xc,_0x1da7ec[_0x7d12da(0x35b)]),_0x493c2e(0xd,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec[_0x7d12da(0x21e)])),_0x493c2e(0xe,_0x1da7ec['IConfigService'])],_0xb93665);var _0x5632c9='@univerjs-pro/sheets-chart-ui',_0xef55d7=_0x7d12da(0x32f);let _0x28c9b0={'scaleX':0x1,'scaleY':0x1};function _0x24ca47(_0x4d4fca){let _0x45df5c=_0x4d4fca['nativeEvent'];return _0x45df5c instanceof MouseEvent?_0x45df5c:void 0x0;}function _0x1cb4a2(_0x313140){const _0x31e3a0=_0x7d12da;let _0x94ea67=_0x313140[_0x31e3a0(0x44d)],_0x1a6df6=_0x94ea67==null?void 0x0:_0x94ea67[_0x31e3a0(0x20e)];return _0x1a6df6 instanceof Element?_0x1a6df6:void 0x0;}function _0x58e9a4(_0x35a14a){const _0xcb49af=_0x7d12da;var _0x4be862;return(_0x4be862=_0x1cb4a2(_0x35a14a))==null?void 0x0:_0x4be862[_0xcb49af(0x4d4)]();}function _0x4e98ec(_0x4cd2a9){const _0x3a78f6=_0x7d12da;return _0x4cd2a9[_0x3a78f6(0x45d)]||_0x4cd2a9['right']-_0x4cd2a9[_0x3a78f6(0x418)];}function _0x463e39(_0x1dab90){const _0x3124ff=_0x7d12da;return _0x1dab90[_0x3124ff(0x308)]||_0x1dab90['bottom']-_0x1dab90[_0x3124ff(0x4d5)];}function _0x1520f7(_0x47aa46,_0x1ef245){const _0x1e25f9=_0x7d12da;let _0x41e4a2=_0x47aa46['clientWidth']||(_0x47aa46 instanceof HTMLElement?_0x47aa46[_0x1e25f9(0x4ae)]:0x0),_0x2c85bb=_0x47aa46[_0x1e25f9(0x32b)]||(_0x47aa46 instanceof HTMLElement?_0x47aa46[_0x1e25f9(0x30f)]:0x0),_0x54b879=_0x4e98ec(_0x1ef245),_0x5bc1c8=_0x463e39(_0x1ef245);return{'scaleX':_0x41e4a2>0x0&&_0x54b879>0x0?_0x54b879/_0x41e4a2:_0x28c9b0[_0x1e25f9(0x2d3)],'scaleY':_0x2c85bb>0x0&&_0x5bc1c8>0x0?_0x5bc1c8/_0x2c85bb:_0x28c9b0[_0x1e25f9(0x302)]};}function _0x5b9ee4(_0xdaf7ff,_0x532e40,_0xfea655){const _0x13a221=_0x7d12da;return{'left':_0xdaf7ff['left']+_0x532e40[_0x13a221(0x418)]*_0xfea655[_0x13a221(0x2d3)],'right':_0xdaf7ff['left']+_0x532e40[_0x13a221(0x2ba)]*_0xfea655[_0x13a221(0x2d3)],'top':_0xdaf7ff['top']+_0x532e40[_0x13a221(0x4d5)]*_0xfea655[_0x13a221(0x302)],'bottom':_0xdaf7ff[_0x13a221(0x4d5)]+_0x532e40[_0x13a221(0x225)]*_0xfea655['scaleY']};}function _0x3e5a29(_0x549c54){const _0x4b69fa=_0x7d12da;let _0x3bd473=_0x1cb4a2(_0x549c54),_0x76931=_0x549c54[_0x4b69fa(0x3d0)]['bounds'];return _0x3bd473&&_0x76931?()=>{let _0x131fed=_0x3bd473['getBoundingClientRect']();return _0x5b9ee4(_0x131fed,_0x76931,_0x1520f7(_0x3bd473,_0x131fed));}:()=>{const _0x3557be=_0x4b69fa;let _0x4e521f=_0x58e9a4(_0x549c54);if(_0x4e521f&&_0x76931)return _0x5b9ee4(_0x4e521f,_0x76931,_0x3bd473?_0x1520f7(_0x3bd473,_0x4e521f):_0x28c9b0);let _0x5a92ee=_0x24ca47(_0x549c54),_0x1be389=_0x3bd473&&_0x4e521f?_0x1520f7(_0x3bd473,_0x4e521f):_0x28c9b0,_0x5ca777=(_0x5a92ee==null?void 0x0:_0x5a92ee[_0x3557be(0x1d9)])??(_0x4e521f?_0x4e521f[_0x3557be(0x418)]+_0x549c54['localPoint']['x']*_0x1be389[_0x3557be(0x2d3)]:_0x549c54['localPoint']['x']),_0x387705=(_0x5a92ee==null?void 0x0:_0x5a92ee['clientY'])??(_0x4e521f?_0x4e521f[_0x3557be(0x4d5)]+_0x549c54[_0x3557be(0x487)]['y']*_0x1be389[_0x3557be(0x302)]:_0x549c54[_0x3557be(0x487)]['y']);return{'left':_0x5ca777,'right':_0x5ca777+0x1,'top':_0x387705,'bottom':_0x387705+0x1};};}function _0x58b68a(_0x172196){const _0x1d979a=_0x7d12da;return typeof _0x172196==_0x1d979a(0x1e5)&&Number['isFinite'](_0x172196);}function _0xc08e6b(_0x376b8b){const _0x338f43=_0x7d12da;if(!_0x376b8b||typeof _0x376b8b!=_0x338f43(0x284))return!0x0;let {startX:_0x36644b,endX:_0x45386e,startY:_0x20eaa2,endY:_0x21c4d8}=_0x376b8b;return!_0x58b68a(_0x36644b)||!_0x58b68a(_0x45386e)||!_0x58b68a(_0x20eaa2)||!_0x58b68a(_0x21c4d8)||_0x45386e-_0x36644b>0x2&&_0x21c4d8-_0x20eaa2>0x2;}function _0x2726d3(_0xe6becb){const _0x1974fc=_0x7d12da;return _0xe6becb['right']<=_0xe6becb[_0x1974fc(0x418)]||_0xe6becb[_0x1974fc(0x225)]<=_0xe6becb['top']?!0x1:typeof window>'u'||_0xe6becb[_0x1974fc(0x2ba)]>0x0&&_0xe6becb[_0x1974fc(0x225)]>0x0&&_0xe6becb[_0x1974fc(0x418)]<window[_0x1974fc(0x2f1)]&&_0xe6becb[_0x1974fc(0x4d5)]<window[_0x1974fc(0x292)];}function _0x35ce62(_0x2d026a){const _0x227352=_0x7d12da;var _0x356f64;return _0x2d026a==null||(_0x356f64=_0x2d026a[_0x227352(0x4db)])==null?void 0x0:_0x356f64[_0x227352(0x255)](_0x2d026a);}function _0x3e3492(_0x4ebbcc,_0x297694,_0x40d51e){const _0x4dd303=_0x7d12da;let _0x51d183=_0x3e5a29(_0x4ebbcc),_0xee8ba6=_0x35ce62(_0x297694),_0x24eb2b=_0x51d183(),_0x93ef21=new _0x15372d[(_0x4dd303(0x266))](_0x24eb2b),_0x3a6165=new _0x1da7ec[(_0x4dd303(0x319))](),_0x53d6d4=!0x1,_0x5c25db=!0x1,_0x1cbbae=_0x53751d=>_0xc08e6b(_0xee8ba6)&&_0x2726d3(_0x53751d),_0x18e4c9=()=>{_0x5c25db||_0x53d6d4||(_0x5c25db=!0x0,queueMicrotask(()=>{const _0x4e54d3=_0x169c;if(_0x5c25db=!0x1,!_0x53d6d4){let _0x417756=_0x51d183();if(!_0x1cbbae(_0x417756)){_0x40d51e();return;}_0x93ef21[_0x4e54d3(0x3da)](_0x417756);}}));};return _0x297694&&_0x3a6165[_0x4dd303(0x448)](_0x297694['subscribe'](_0xf4a8e6=>{_0xee8ba6=_0xf4a8e6,_0x18e4c9();})),typeof window<'u'&&_0x3a6165['add']((0x0,_0x15372d[_0x4dd303(0x50d)])((0x0,_0x15372d[_0x4dd303(0x2cb)])(window,_0x4dd303(0x1f1),{'capture':!0x0}),(0x0,_0x15372d[_0x4dd303(0x2cb)])(window,_0x4dd303(0x33b)))['pipe']((0x0,_0x15372d[_0x4dd303(0x528)])(0x10))[_0x4dd303(0x44a)](_0x18e4c9)),{'initialRect':_0x24eb2b,'anchorRect$':_0x93ef21[_0x4dd303(0x30d)](),'visible':_0x1cbbae(_0x24eb2b),'dispose':()=>{const _0x3c56f1=_0x4dd303;_0x53d6d4=!0x0,_0x3a6165[_0x3c56f1(0x248)](),_0x93ef21[_0x3c56f1(0x240)]();}};}let _0x5568bb=_0x7d12da(0x252),_0x4f74eb=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x25c730,_0x23dad2,_0x41a489,_0x4d7557,_0x1da4b7,_0x12c919,_0x57a417,_0x47d879,_0x1875cb){const _0x5e6f25=_0x7d12da;super(),this[_0x5e6f25(0x3dc)]=_0x25c730,this[_0x5e6f25(0x4d1)]=_0x23dad2,this[_0x5e6f25(0x27a)]=_0x41a489,this[_0x5e6f25(0x331)]=_0x4d7557,this['_sheetCanvasFloatDomManagerService']=_0x1da4b7,this[_0x5e6f25(0x4d3)]=_0x12c919,this[_0x5e6f25(0x412)]=_0x57a417,this[_0x5e6f25(0x261)]=_0x47d879,this['_injector']=_0x1875cb,_0x451b0c(this,'_popupDisposable',null),_0x451b0c(this,'_popupChartId',null),this[_0x5e6f25(0x400)](),this[_0x5e6f25(0x3c2)]();}['dispose'](){const _0x33e968=_0x7d12da;this[_0x33e968(0x4a8)](),super[_0x33e968(0x248)]();}['_registerAdapter'](){const _0x2e084c=_0x7d12da;let _0x145c31=(0x0,_0x173304[_0x2e084c(0x3f0)])({'chartUIService':this['_chartUIService'],'getHostAdapter':_0x23a36d=>{const _0x18c86f=_0x2e084c;this[_0x18c86f(0x537)](_0x23a36d['chartId']);let _0x2e91ef=this['_chartModelService']['getChartModel'](_0x23a36d['chartId']);if(!(!_0x2e91ef||!_0x23a36d[_0x18c86f(0x26e)]))return new _0x173304['ChartHostAdapter'](_0x2e91ef,new _0x28eb9a['SheetChartBuilderAdapter']({'unitId':_0x23a36d['unitId'],'subUnitId':_0x23a36d[_0x18c86f(0x26e)],'chartId':_0x23a36d[_0x18c86f(0x28f)],'injector':this[_0x18c86f(0x451)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x2d7429=>{const _0x1ba80a=_0x2e084c;let {unitId:_0x5f1b5d,subUnitId:_0x10cdd5,drawingId:_0x4318ab,chartId:_0xb353ce}=_0x2d7429,_0x5c1cd7=(0x0,_0x173304[_0x1ba80a(0x22a)])(_0x2d7429[_0x1ba80a(0x20e)]);this['_commandService'][_0x1ba80a(0x40d)](_0x4dcf39['id'],{'unitId':_0x5f1b5d,'subUnitId':_0x10cdd5??'','drawingId':_0x4318ab??_0xb353ce,..._0x5c1cd7?{'route':_0x5c1cd7}:{}});}});this[_0x2e084c(0x49a)](this[_0x2e084c(0x412)][_0x2e084c(0x298)](_0x5568bb,_0x145c31));}[_0x7d12da(0x3c2)](){const _0x32de78=_0x7d12da;this[_0x32de78(0x49a)](this['_chartModelService'][_0x32de78(0x26a)][_0x32de78(0x44a)](_0x43d5c6=>{const _0x169c63=_0x32de78;let _0x1b9a24=new _0x1da7ec['DisposableCollection']();_0x1b9a24[_0x169c63(0x448)](this[_0x169c63(0x4d1)]['on'](_0x43d5c6['id'],_0x169c63(0x3b2),_0x30c60f=>{this['_openFloatMenu'](_0x43d5c6['id'],_0x30c60f);})),_0x1b9a24[_0x169c63(0x448)](this[_0x169c63(0x4d1)]['on'](_0x43d5c6['id'],_0x169c63(0x492),()=>{const _0x18b20e=_0x169c63;this[_0x18b20e(0x354)](_0x43d5c6['id']);})),_0x43d5c6['onDispose'](()=>{_0x1b9a24['dispose'](),this['_clearSelectedTarget'](_0x43d5c6['id']);}),this[_0x169c63(0x49a)](_0x1b9a24);})),this['disposeWithMe'](this[_0x32de78(0x4d3)]['activeEditChart$'][_0x32de78(0x44a)](_0x28d762=>{const _0x586df2=_0x32de78;(!_0x28d762||this[_0x586df2(0x218)]&&_0x28d762!==this[_0x586df2(0x218)])&&this['_closePopup']();})),this[_0x32de78(0x49a)](this[_0x32de78(0x22b)][_0x32de78(0x435)][_0x32de78(0x44a)](({id:_0x307b98})=>{const _0x4951d9=_0x32de78;this[_0x4951d9(0x482)](_0x307b98);})),this['disposeWithMe'](this[_0x32de78(0x22b)][_0x32de78(0x2ed)]['subscribe'](({id:_0x4f229f})=>{const _0x3a0814=_0x32de78;this[_0x3a0814(0x482)](_0x4f229f);})),this['disposeWithMe'](this[_0x32de78(0x27a)][_0x32de78(0x30e)][_0x32de78(0x44a)](_0x3867eb=>{const _0x318071=_0x32de78;this[_0x318071(0x482)](_0x3867eb);}));}[_0x7d12da(0x354)](_0x10e704){const _0x278bd9=_0x7d12da;if(this['_chartUIService'][_0x278bd9(0x4df)])return;let _0x2073a0=this[_0x278bd9(0x3dc)][_0x278bd9(0x343)](_0x10e704),_0x1ae273=this[_0x278bd9(0x22b)][_0x278bd9(0x4a2)](_0x10e704);!_0x2073a0||!_0x1ae273||(this[_0x278bd9(0x3dc)][_0x278bd9(0x32e)](_0x2073a0),this[_0x278bd9(0x261)]['executeCommand'](_0x4dcf39['id'],{'unitId':_0x1ae273[_0x278bd9(0x490)],'subUnitId':_0x1ae273[_0x278bd9(0x26e)]??'','drawingId':_0x10e704}));}[_0x7d12da(0x537)](_0x3a9d58){const _0x73251b=_0x7d12da;let _0x41ebbb=this[_0x73251b(0x3dc)][_0x73251b(0x343)](_0x3a9d58);_0x41ebbb&&this[_0x73251b(0x3dc)]['setActiveChartModel'](_0x41ebbb);}[_0x7d12da(0x24d)](_0x540f19,_0x51ebfa){const _0x2200a0=_0x7d12da;if(!this['_chartUIService'][_0x2200a0(0x306)](_0x540f19))return;let _0x15508a=this[_0x2200a0(0x3dc)]['getChartModel'](_0x540f19),_0x34e2bc=_0x15508a?_0x7c6d76(_0x15508a,_0x51ebfa['hit']):void 0x0;if(!_0x34e2bc){this[_0x2200a0(0x4d3)][_0x2200a0(0x453)](null),this[_0x2200a0(0x4d3)]['clearPanelRoute'](),this['_closePopup']();return;}let _0x10653a=this[_0x2200a0(0x22b)][_0x2200a0(0x4a2)](_0x540f19);if(!_0x15508a||!_0x10653a){this['_chartUIService'][_0x2200a0(0x453)](null),this[_0x2200a0(0x4d3)][_0x2200a0(0x4b1)](),this['_closePopup']();return;}if(this[_0x2200a0(0x3dc)][_0x2200a0(0x32e)](_0x15508a),this[_0x2200a0(0x4d3)][_0x2200a0(0x453)]({'chartId':_0x540f19,'element':_0x51ebfa[_0x2200a0(0x3d0)],'target':_0x34e2bc[_0x2200a0(0x20e)],'route':_0x34e2bc[_0x2200a0(0x4a3)]}),this[_0x2200a0(0x4d3)][_0x2200a0(0x2f4)](_0x540f19,_0x34e2bc[_0x2200a0(0x4a3)]),this[_0x2200a0(0x4a8)](),!_0x34e2bc[_0x2200a0(0x405)])return;let _0x1ab600=_0x3e3492(_0x51ebfa,_0x10653a[_0x2200a0(0x391)],()=>this[_0x2200a0(0x3bf)](_0x540f19));if(!_0x1ab600[_0x2200a0(0x2a0)]){_0x1ab600[_0x2200a0(0x248)]();return;}let _0x42928f=this[_0x2200a0(0x331)][_0x2200a0(0x3db)](_0x1ab600['initialRect'],_0x1ab600['anchorRect$'],{'componentKey':_0x173304['CHART_ELEMENT_FLOAT_MENU_COMPONENT'],'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x10653a[_0x2200a0(0x490)],'subUnitId':_0x10653a[_0x2200a0(0x26e)],'chartId':_0x540f19,'drawingId':_0x540f19,'element':_0x51ebfa[_0x2200a0(0x3d0)],'target':_0x34e2bc[_0x2200a0(0x20e)],'adapterKey':_0x5568bb}},_0x10653a[_0x2200a0(0x490)],_0x10653a[_0x2200a0(0x26e)])??null;if(!_0x42928f){_0x1ab600[_0x2200a0(0x248)]();return;}let _0x757fe4=new _0x1da7ec[(_0x2200a0(0x319))]();_0x757fe4[_0x2200a0(0x448)](_0x42928f),_0x757fe4[_0x2200a0(0x448)](_0x1ab600),this[_0x2200a0(0x3dd)]=_0x757fe4,this['_popupChartId']=_0x540f19;}[_0x7d12da(0x4a8)](){const _0x33c3bc=_0x7d12da;var _0x201ce3;(_0x201ce3=this['_popupDisposable'])==null||_0x201ce3['dispose'](),this[_0x33c3bc(0x3dd)]=null,this[_0x33c3bc(0x218)]=null;}[_0x7d12da(0x482)](_0x2f78c7){const _0x566646=_0x7d12da;!this['_chartUIService']['isElementEditModeActive'](_0x2f78c7)&&this[_0x566646(0x218)]!==_0x2f78c7||(this['_chartUIService'][_0x566646(0x453)](null),this[_0x566646(0x4d3)][_0x566646(0x4b1)](),this[_0x566646(0x218)]===_0x2f78c7&&this[_0x566646(0x4a8)]());}[_0x7d12da(0x3bf)](_0xd07946){const _0x23ada4=_0x7d12da;this['_clearSelectedTarget'](_0xd07946),this['_chartUIService'][_0x23ada4(0x306)](_0xd07946)&&(this[_0x23ada4(0x4d1)][_0x23ada4(0x425)](_0xd07946,!0x1),this[_0x23ada4(0x4d1)][_0x23ada4(0x425)](_0xd07946,!0x0));}};_0x4f74eb=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a[_0x7d12da(0x1f6)])),_0x493c2e(0x1,(0x0,_0x1da7ec['Inject'])(_0x32f42a)),_0x493c2e(0x2,_0xa24186),_0x493c2e(0x3,(0x0,_0x1da7ec['Inject'])(_0x1960ed[_0x7d12da(0x348)])),_0x493c2e(0x4,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x364311[_0x7d12da(0x4b5)])),_0x493c2e(0x5,_0x4b3521),_0x493c2e(0x6,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x173304[_0x7d12da(0x502)])),_0x493c2e(0x7,_0x1da7ec[_0x7d12da(0x496)]),_0x493c2e(0x8,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec['Injector']))],_0x4f74eb);let _0x383ff0=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x34348a,_0x5dd054){const _0x58fdf9=_0x7d12da;super(),this[_0x58fdf9(0x358)]=_0x34348a,this[_0x58fdf9(0x3dc)]=_0x5dd054,this[_0x58fdf9(0x294)]();}['_init'](){const _0x3204e0=_0x7d12da;this[_0x3204e0(0x49a)](this[_0x3204e0(0x358)][_0x3204e0(0x30e)][_0x3204e0(0x44a)](_0x1d8258=>{const _0x3f3107=_0x3204e0;this[_0x3f3107(0x3dc)]['removeChartModel'](_0x1d8258);}));}};_0x383ff0=_0x3b9455([_0x493c2e(0x0,_0xa24186),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a['ChartModelService']))],_0x383ff0);let _0x3b6a23=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x35cfda,_0xc4923a,_0x2a65fb,_0x3879dd,_0x5a825e,_0x22a02a){const _0x161b27=_0x7d12da;super(),this['_chartModelService']=_0x35cfda,this['_chartRenderService']=_0xc4923a,this[_0x161b27(0x507)]=_0x2a65fb,this[_0x161b27(0x4d3)]=_0x3879dd,this[_0x161b27(0x261)]=_0x5a825e,this[_0x161b27(0x1ef)]=_0x22a02a,_0x451b0c(this,_0x161b27(0x3cc),new Map()),this[_0x161b27(0x294)](),this['_listenChartUpdateMutations'](),this[_0x161b27(0x4fd)]();}['_initPrinting'](){const _0x3dd990=_0x7d12da;this['disposeWithMe'](this[_0x3dd990(0x1ef)][_0x3dd990(0x4c5)][_0x3dd990(0x341)](this[_0x3dd990(0x1ef)][_0x3dd990(0x4c5)]['getInterceptPoints']()[_0x3dd990(0x2aa)],{'handler':(_0x45d711,_0x1fe9f9,_0x59d193)=>{const _0x114286=_0x3dd990;let _0x3a7939=this[_0x114286(0x4d1)]['renderChartsForPrinting'](_0x1fe9f9[_0x114286(0x490)],_0x1fe9f9['subUnitId'],_0x1fe9f9['scene']);return _0x1fe9f9[_0x114286(0x20d)][_0x114286(0x448)](_0x3a7939),_0x59d193(_0x45d711);}}));}[_0x7d12da(0x294)](){const _0x6d94c4=_0x7d12da;this[_0x6d94c4(0x49a)](this[_0x6d94c4(0x3dc)][_0x6d94c4(0x26a)]['subscribe'](_0x2958c5=>{const _0x29f481=_0x6d94c4;if(_0x2958c5){let _0x3389b7=new _0x1da7ec[(_0x29f481(0x319))]();_0x3389b7[_0x29f481(0x448)](_0x2958c5[_0x29f481(0x3de)][_0x29f481(0x29d)]((0x0,_0x15372d[_0x29f481(0x431)])(_0x2958c5[_0x29f481(0x300)]),(0x0,_0x15372d[_0x29f481(0x431)])(this[_0x29f481(0x507)][_0x29f481(0x1fa)]),(0x0,_0x15372d['debounceTime'])(0x64))[_0x29f481(0x44a)](([[_0x34bed7,_0x141578],_0x4d3a56])=>{const _0x54386b=_0x29f481;var _0x1abd17;if(!_0x34bed7)return;(_0x1abd17=_0x34bed7[_0x54386b(0x34f)])==null||_0x1abd17[_0x54386b(0x42c)][_0x54386b(0x495)]((_0x1b17c0,_0x32fc19)=>{const _0x5e2a95=_0x54386b;_0x1b17c0[_0x5e2a95(0x1f5)]||=this[_0x5e2a95(0x507)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x32fc19+0x1);}),_0x34bed7[_0x54386b(0x229)][_0x54386b(0x495)]((_0x24735a,_0x558adf)=>{const _0x47de17=_0x54386b;_0x24735a[_0x47de17(0x22c)]||=this[_0x47de17(0x507)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x558adf+0x1);});let _0x5c4c5a=this[_0x54386b(0x4d1)]['createRuntimeChartStyle'](_0x2958c5,_0x4d3a56);this['_chartRenderService'][_0x54386b(0x289)](_0x2958c5['id'],_0x34bed7,_0x5c4c5a);})),_0x2958c5[_0x29f481(0x327)](()=>{const _0x1b0ae7=_0x29f481;_0x3389b7[_0x1b0ae7(0x248)]();});}}));}['_listenChartUpdateMutations'](){const _0x5e7610=_0x7d12da;this[_0x5e7610(0x49a)](this[_0x5e7610(0x261)][_0x5e7610(0x4ff)](_0x1b52c0=>{const _0x13e841=_0x5e7610;if(_0x1b52c0['id']!==_0x28eb9a[_0x13e841(0x443)]['id'])return;let _0x41528c=_0x1b52c0[_0x13e841(0x2a9)];_0x41528c!=null&&_0x41528c['chartModelId']&&Promise[_0x13e841(0x26d)]()[_0x13e841(0x48d)](()=>this[_0x13e841(0x529)](_0x41528c));}));}['_renderAfterChartUpdateMutation'](_0x3ece41){const _0xaac21d=_0x7d12da;let _0x16ad1b=this['_chartModelService'][_0xaac21d(0x343)](_0x3ece41['chartModelId']);if(!_0x16ad1b||_0x16ad1b['chartType']!==_0x5dd517['ChartTypeBits'][_0xaac21d(0x452)])return;let _0x34a359=_0x16ad1b['config'];if(!_0x34a359){this[_0xaac21d(0x489)](_0x16ad1b);return;}this[_0xaac21d(0x2ab)](_0x16ad1b,_0x34a359);}[_0x7d12da(0x489)](_0x89a6ef){const _0x3abc27=_0x7d12da;if(this[_0x3abc27(0x3cc)][_0x3abc27(0x287)](_0x89a6ef['id']))return;let _0x56a9f4=_0x89a6ef[_0x3abc27(0x3de)][_0x3abc27(0x29d)]((0x0,_0x15372d[_0x3abc27(0x43d)])(_0xb9e093=>_0xb9e093!=null),(0x0,_0x15372d[_0x3abc27(0x49d)])(0x1))[_0x3abc27(0x44a)](_0x18b973=>{const _0x964be0=_0x3abc27;this[_0x964be0(0x3cc)][_0x964be0(0x24c)](_0x89a6ef['id']),this[_0x964be0(0x2ab)](_0x89a6ef,_0x18b973);});this['_pendingMutationConfigRenders'][_0x3abc27(0x29a)](_0x89a6ef['id'],_0x56a9f4),_0x89a6ef['onDispose'](()=>{const _0x40b203=_0x3abc27;_0x56a9f4[_0x40b203(0x2bb)](),this['_pendingMutationConfigRenders']['delete'](_0x89a6ef['id']);});}[_0x7d12da(0x2ab)](_0x45a3bb,_0x3af0fa){const _0x5be654=_0x7d12da;let _0x331e85=this[_0x5be654(0x4d1)][_0x5be654(0x1db)](_0x45a3bb,this[_0x5be654(0x507)][_0x5be654(0x27f)]());this[_0x5be654(0x4d1)][_0x5be654(0x289)](_0x45a3bb['id'],_0x3af0fa,_0x331e85);}};_0x3b6a23=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a[_0x7d12da(0x1f6)])),_0x493c2e(0x1,(0x0,_0x1da7ec['Inject'])(_0x32f42a)),_0x493c2e(0x2,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec[_0x7d12da(0x21e)])),_0x493c2e(0x3,_0x4b3521),_0x493c2e(0x4,_0x1da7ec[_0x7d12da(0x496)]),_0x493c2e(0x5,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1960ed['SheetPrintInterceptorService']))],_0x3b6a23);let _0x5bd748=class extends _0x1da7ec['Disposable']{constructor(_0x5d2a64,_0x23ff18,_0xa2cc8c,_0x51c6df){const _0x1f7689=_0x7d12da;super(),this[_0x1f7689(0x337)]=_0x5d2a64,this[_0x1f7689(0x221)]=_0x23ff18,this[_0x1f7689(0x41e)]=_0xa2cc8c,this[_0x1f7689(0x3dc)]=_0x51c6df,this[_0x1f7689(0x4fc)]();}[_0x7d12da(0x4fc)](){const _0x546b89=_0x7d12da;this[_0x546b89(0x49a)](this['_sheetInterceptorService'][_0x546b89(0x41d)]({'getMutations':_0x32d29e=>{const _0x412f90=_0x546b89;if(_0x32d29e['id']===_0x2d166[_0x412f90(0x212)]['id']){let _0x5597cd=(0x0,_0x2d166[_0x412f90(0x414)])(this[_0x412f90(0x337)],_0x32d29e[_0x412f90(0x2a9)]);if(!_0x5597cd)return{'redos':[],'undos':[]};let {unitId:_0x4c0cfc,subUnitId:_0x53254d}=_0x5597cd,_0x42fa6e=this[_0x412f90(0x41e)][_0x412f90(0x420)](_0x4c0cfc,_0x53254d),_0x1df226=Object[_0x412f90(0x297)](_0x42fa6e)[_0x412f90(0x43d)](_0x3bf13a=>_0x3bf13a[_0x412f90(0x214)]===_0x1da7ec[_0x412f90(0x2ff)][_0x412f90(0x3ca)]);if(_0x1df226[_0x412f90(0x31c)]===0x0)return{'redos':[],'undos':[]};let _0x59c25f=[],_0x832a64=[];for(let _0x329660=0x0;_0x329660<_0x1df226[_0x412f90(0x31c)];_0x329660++){let _0x3ebdf2=_0x1df226[_0x329660],_0x15ad8c=this[_0x412f90(0x3dc)][_0x412f90(0x343)](_0x3ebdf2[_0x412f90(0x411)]);if(!_0x15ad8c)continue;let _0x5a37d4=_0x15ad8c[_0x412f90(0x1e0)][_0x412f90(0x432)](),{chartType:_0x11399f,context:_0x54a6a1,style:_0xe2c6da,dataAggregation:_0xb2881}=_0x15ad8c[_0x412f90(0x206)](),{redo:_0x774f6c,undo:_0x5e0935,objects:_0x5dcf5d}=this[_0x412f90(0x41e)][_0x412f90(0x2ea)]([_0x3ebdf2]);_0x59c25f[_0x412f90(0x313)]({'id':_0x28eb9a[_0x412f90(0x2e6)]['id'],'params':{'unitId':_0x4c0cfc,'subUnitId':_0x53254d,'chartId':_0x3ebdf2[_0x412f90(0x411)]}}),_0x59c25f['push']({'id':_0x4754e3[_0x412f90(0x3a6)]['id'],'params':{'unitId':_0x4c0cfc,'subUnitId':_0x53254d,'type':_0x4754e3['DrawingApplyType'][_0x412f90(0x479)],'op':_0x774f6c,'objects':_0x5dcf5d}}),_0x832a64[_0x412f90(0x313)]({'id':_0x4754e3['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x4c0cfc,'subUnitId':_0x53254d,'type':_0x4754e3['DrawingApplyType'][_0x412f90(0x224)],'op':_0x5e0935,'objects':_0x5dcf5d}}),_0x832a64['push']({'id':_0x28eb9a['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x4c0cfc,'subUnitId':_0x53254d,'chartId':_0x3ebdf2[_0x412f90(0x411)],'chartType':_0x11399f,...(0x0,_0x28eb9a[_0x412f90(0x2ec)])(_0x5a37d4),'context':_0x54a6a1,'style':_0xe2c6da,'dataAggregation':_0xb2881}});}return{'redos':_0x59c25f,'undos':_0x832a64};}else{if(_0x32d29e['id']===_0x2d166['CopySheetCommand']['id']){let {unitId:_0x169bd1,subUnitId:_0x21bfcf,targetSubUnitId:_0x3bbedf}=_0x32d29e['params'];if(!_0x169bd1||!_0x21bfcf||!_0x3bbedf)return{'redos':[],'undos':[]};let _0x5277f7=this[_0x412f90(0x41e)]['getDrawingData'](_0x169bd1,_0x21bfcf),_0x4f8adc=Object[_0x412f90(0x297)](_0x5277f7)[_0x412f90(0x43d)](_0x133792=>_0x133792[_0x412f90(0x214)]===_0x1da7ec[_0x412f90(0x2ff)]['DRAWING_CHART']);if(_0x4f8adc[_0x412f90(0x31c)]===0x0)return{'redos':[],'undos':[]};let _0xf78d3b=[],_0x5e067c=[];for(let _0x4cbe3b=0x0;_0x4cbe3b<_0x4f8adc['length'];_0x4cbe3b++){let _0x41eeb6=_0x4f8adc[_0x4cbe3b],_0x41e2dd=this[_0x412f90(0x3dc)]['getChartModel'](_0x41eeb6['drawingId']);if(!_0x41e2dd)continue;let _0x2777f5=(0x0,_0x1da7ec[_0x412f90(0x4ea)])(),_0x24832c={..._0x41eeb6,'unitId':_0x169bd1,'subUnitId':_0x3bbedf,'drawingId':_0x2777f5},_0x2be7e1=_0x41e2dd['dataSource'][_0x412f90(0x432)](),_0x411e64=Array['isArray'](_0x2be7e1)?_0x2be7e1[_0x412f90(0x4f2)](_0x4c6ea8=>({..._0x4c6ea8,..._0x4c6ea8[_0x412f90(0x25b)]?{'header':{..._0x4c6ea8[_0x412f90(0x25b)],'subUnitId':_0x3bbedf}}:{},'range':{..._0x4c6ea8['range'],'subUnitId':_0x3bbedf}})):{..._0x2be7e1,'rangeInfo':{..._0x2be7e1['rangeInfo'],'subUnitId':_0x3bbedf}},{chartType:_0x121406,context:_0x44143e,style:_0xb3a701,dataAggregation:_0x115023}=_0x41e2dd[_0x412f90(0x206)](),{redo:_0x3bb800,undo:_0x2f64c9,objects:_0x3c49ec}=this['_sheetDrawingService'][_0x412f90(0x2fc)]([_0x24832c]);_0xf78d3b[_0x412f90(0x313)]({'id':_0x4754e3[_0x412f90(0x3a6)]['id'],'params':{'unitId':_0x169bd1,'subUnitId':_0x3bbedf,'type':_0x4754e3[_0x412f90(0x2f8)][_0x412f90(0x224)],'op':_0x3bb800,'objects':_0x3c49ec}}),_0xf78d3b[_0x412f90(0x313)]({'id':_0x28eb9a[_0x412f90(0x2fd)]['id'],'params':{'unitId':_0x169bd1,'subUnitId':_0x3bbedf,'chartId':_0x2777f5,'chartType':_0x121406,...(0x0,_0x28eb9a[_0x412f90(0x2ec)])(_0x411e64),'context':_0x44143e,'style':_0xb3a701,'dataAggregation':_0x115023}}),_0x5e067c[_0x412f90(0x313)]({'id':_0x28eb9a['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x169bd1,'subUnitId':_0x3bbedf,'chartId':_0x2777f5}}),_0x5e067c['push']({'id':_0x4754e3[_0x412f90(0x3a6)]['id'],'params':{'unitId':_0x169bd1,'subUnitId':_0x3bbedf,'type':_0x4754e3[_0x412f90(0x2f8)][_0x412f90(0x479)],'op':_0x2f64c9,'objects':_0x3c49ec}});}return{'redos':_0xf78d3b,'undos':_0x5e067c};}}return{'redos':[],'undos':[]};}}));}};_0x5bd748=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec[_0x7d12da(0x47c)])),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x2d166[_0x7d12da(0x203)])),_0x493c2e(0x2,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x4754e3[_0x7d12da(0x347)])),_0x493c2e(0x3,(0x0,_0x1da7ec['Inject'])(_0x28eb9a[_0x7d12da(0x1f6)]))],_0x5bd748);function _0x2bf6b2({ref:_0x59510d,..._0x2389ce}){const _0xb15eeb=_0x7d12da;let {icon:_0x282aa4,id:_0x418a28,className:_0x1b5491,extend:_0x136d48,..._0x5a6f1a}=_0x2389ce,_0x2ef3df=('univerjs-icon\x20univerjs-icon-'+_0x418a28+'\x20'+(_0x1b5491||''))['trim'](),_0x115345=(0x0,_0x370d3a[_0xb15eeb(0x4c6)])('_'+_0xbf2fe6());return _0x2f09cf(_0x282aa4,''+_0x418a28,{'defIds':_0x282aa4[_0xb15eeb(0x372)],'idSuffix':_0x115345[_0xb15eeb(0x481)]},{'ref':_0x59510d,'className':_0x2ef3df,..._0x5a6f1a},_0x136d48);}function _0x2f09cf(_0x417d1a,_0x1a4bb6,_0x422ef4,_0x3f5cab,_0xe9b29a){const _0x2cfc58=_0x7d12da;return(0x0,_0x370d3a[_0x2cfc58(0x532)])(_0x417d1a[_0x2cfc58(0x296)],{'key':_0x1a4bb6,..._0xe6364a(_0x417d1a,_0x422ef4,_0xe9b29a),..._0x3f5cab},(_0x148b02(_0x417d1a,_0x422ef4)['children']||[])['map']((_0x41a069,_0x22d8bc)=>_0x2f09cf(_0x41a069,_0x1a4bb6+'-'+_0x417d1a[_0x2cfc58(0x296)]+'-'+_0x22d8bc,_0x422ef4,void 0x0,_0xe9b29a)));}function _0xe6364a(_0x39920e,_0x85ad2a,_0x2377da){const _0x414fcf=_0x7d12da;let _0x5120fa={..._0x39920e[_0x414fcf(0x208)]};_0x2377da!=null&&_0x2377da[_0x414fcf(0x46a)]&&_0x5120fa[_0x414fcf(0x3e0)]===_0x414fcf(0x46a)&&(_0x5120fa[_0x414fcf(0x3e0)]=_0x2377da['colorChannel1']),_0x2377da!=null&&_0x2377da[_0x414fcf(0x46a)]&&_0x5120fa['stroke']===_0x414fcf(0x46a)&&(_0x5120fa[_0x414fcf(0x1e3)]=_0x2377da['colorChannel1']),_0x39920e['tag']===_0x414fcf(0x36e)&&_0x5120fa['id']&&(_0x5120fa['id']+=_0x85ad2a[_0x414fcf(0x4f6)]),Object[_0x414fcf(0x2b6)](_0x5120fa)[_0x414fcf(0x495)](([_0x3162c6,_0x457cf1])=>{const _0x1f8bf0=_0x414fcf;_0x3162c6==='mask'&&typeof _0x457cf1==_0x1f8bf0(0x4d8)&&(_0x5120fa[_0x3162c6]=_0x457cf1[_0x1f8bf0(0x21b)](/url\(#(.*)\)/,_0x1f8bf0(0x2d6)+_0x85ad2a['idSuffix']+')'));});let {defIds:_0x283e88}=_0x85ad2a;return!_0x283e88||_0x283e88[_0x414fcf(0x31c)]===0x0?_0x5120fa:(_0x39920e[_0x414fcf(0x296)]===_0x414fcf(0x250)&&_0x5120fa[_0x414fcf(0x318)]&&(_0x5120fa[_0x414fcf(0x318)]+=_0x85ad2a[_0x414fcf(0x4f6)]),Object[_0x414fcf(0x2b6)](_0x5120fa)['forEach'](([_0x3824fa,_0x3de7cb])=>{const _0x52c7e2=_0x414fcf;typeof _0x3de7cb=='string'&&(_0x5120fa[_0x3824fa]=_0x3de7cb[_0x52c7e2(0x21b)](/url\(#(.*)\)/,'url(#$1'+_0x85ad2a[_0x52c7e2(0x4f6)]+')'));}),_0x5120fa);}function _0x148b02(_0xb47a66,_0x5b1169){const _0x17ff6a=_0x7d12da;var _0x9d69f4;let {defIds:_0x4b7d82}=_0x5b1169;return!_0x4b7d82||_0x4b7d82[_0x17ff6a(0x31c)]===0x0?_0xb47a66:_0xb47a66[_0x17ff6a(0x296)]===_0x17ff6a(0x1fe)&&(_0x9d69f4=_0xb47a66[_0x17ff6a(0x536)])!=null&&_0x9d69f4[_0x17ff6a(0x31c)]?{..._0xb47a66,'children':_0xb47a66[_0x17ff6a(0x536)][_0x17ff6a(0x4f2)](_0x47d47d=>typeof _0x47d47d[_0x17ff6a(0x208)]['id']==_0x17ff6a(0x4d8)&&_0x4b7d82&&_0x4b7d82[_0x17ff6a(0x1f3)](_0x47d47d[_0x17ff6a(0x208)]['id'])?{..._0x47d47d,'attrs':{..._0x47d47d[_0x17ff6a(0x208)],'id':_0x47d47d[_0x17ff6a(0x208)]['id']+_0x5b1169['idSuffix']}}:_0x47d47d)}:_0xb47a66;}function _0xbf2fe6(){const _0x174ad2=_0x7d12da;return Math['random']()[_0x174ad2(0x23c)](0x24)[_0x174ad2(0x1de)](0x2,0x8);}_0x2bf6b2[_0x7d12da(0x4a5)]=_0x7d12da(0x2d9);let _0x3ca728={'tag':_0x7d12da(0x4ab),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7d12da(0x4f7),'viewBox':'0\x200\x2016\x2016','width':_0x7d12da(0x467),'height':_0x7d12da(0x467)},'children':[{'tag':_0x7d12da(0x2ca),'attrs':{'fill':_0x7d12da(0x2cc),'d':_0x7d12da(0x433)}}]},_0xdcab5c=(0x0,_0x370d3a[_0x7d12da(0x37b)])(function(_0x30ba5a,_0x4825bb){const _0x2edc75=_0x7d12da;return(0x0,_0x370d3a[_0x2edc75(0x532)])(_0x2bf6b2,Object[_0x2edc75(0x3a8)]({},_0x30ba5a,{'id':_0x2edc75(0x309),'ref':_0x4825bb,'icon':_0x3ca728}));});_0xdcab5c[_0x7d12da(0x4a5)]=_0x7d12da(0x231);let _0x36093d=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x29d618,_0x29814c){const _0x43e6de=_0x7d12da;super(),this[_0x43e6de(0x22e)]=_0x29d618,this[_0x43e6de(0x2fe)]=_0x29814c,this[_0x43e6de(0x303)](),this[_0x43e6de(0x29b)]();}[_0x7d12da(0x303)](){const _0x3123fa=_0x7d12da;this[_0x3123fa(0x49a)](this[_0x3123fa(0x2fe)][_0x3123fa(0x298)]({'PenIcon':_0xdcab5c}));}[_0x7d12da(0x29b)](){const _0x12c398=_0x7d12da;[[_0x266dc7,_0xf5a7e1]][_0x12c398(0x495)](([_0x5b906e,_0x1c3446])=>{const _0x23c608=_0x12c398;this['disposeWithMe'](this[_0x23c608(0x22e)]['register'](_0x5b906e,_0x1c3446));});}};_0x36093d=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x58ec7c[_0x7d12da(0x4f9)])),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x58ec7c[_0x7d12da(0x2f3)]))],_0x36093d);let _0x283938=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x336ac6,_0x287783,_0xd43339,_0x1e77de){const _0x2c054a=_0x7d12da;super(),this[_0x2c054a(0x223)]=_0x336ac6,this[_0x2c054a(0x299)]=_0x287783,this[_0x2c054a(0x41e)]=_0xd43339,this[_0x2c054a(0x3dc)]=_0x1e77de,_0x451b0c(this,_0x2c054a(0x27c),void 0x0),this[_0x2c054a(0x4cf)]();}get[_0x7d12da(0x277)](){const _0x76bcd9=_0x7d12da;return this['_sheetDrawingService'][_0x76bcd9(0x2b9)]();}[_0x7d12da(0x4cf)](){const _0x2ea620=_0x7d12da;this[_0x2ea620(0x49a)](this['_sheetClipboardService']['addClipboardHook']({'id':_0x28eb9a[_0x2ea620(0x522)],'onBeforeCopy':(_0x434dcd,_0x1df15b,_0x222728,_0x4ef436)=>{const _0x4c6175=_0x2ea620;this[_0x4c6175(0x27c)]=null;let _0x38c9dc=this[_0x4c6175(0x277)];if(_0x38c9dc[_0x4c6175(0x31c)]){let _0x84b51c=_0x38c9dc['filter'](_0x3e11c9=>_0x3e11c9['drawingType']===_0x1da7ec[_0x4c6175(0x2ff)][_0x4c6175(0x3ca)]);if(_0x84b51c[_0x4c6175(0x31c)]===0x0)return;this['_copyInfo']={'unitId':_0x434dcd,'subUnitId':_0x1df15b,'copyType':_0x4ef436,'drawings':_0x84b51c};}else this[_0x4c6175(0x519)](_0x434dcd,_0x1df15b,_0x222728,_0x4ef436);},'onPasteCells':(_0x30bd1e,_0x2bbcb6,_0x49bb57,_0x760c0c)=>{const _0x1cfcc5=_0x2ea620;if(!this[_0x1cfcc5(0x27c)])return{'redos':[],'undos':[]};let {pasteType:_0x5e96bc}=_0x760c0c;return _0x5e96bc===_0x1960ed[_0x1cfcc5(0x254)][_0x1cfcc5(0x2d7)]?this[_0x1cfcc5(0x3b0)](_0x2bbcb6,this['_copyInfo'][_0x1cfcc5(0x3d7)]===_0x1960ed[_0x1cfcc5(0x1f0)][_0x1cfcc5(0x2df)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x1ec9ae=>this[_0x2ea620(0x27c)]?this['_generatePasteMutations'](_0x1ec9ae,this[_0x2ea620(0x27c)]['copyType']===_0x1960ed[_0x2ea620(0x1f0)][_0x2ea620(0x2df)]):{'redos':[],'undos':[]}}));}[_0x7d12da(0x519)](_0x203ac2,_0xd9655d,_0x2484ec,_0x1ef63a){const _0x22ee24=_0x7d12da;let _0x388e89=this[_0x22ee24(0x223)][_0x22ee24(0x247)](_0x203ac2,_0xd9655d);if(!_0x388e89)return;let _0x5d1467=(0x0,_0x2d166[_0x22ee24(0x459)])(_0x388e89,_0x2484ec);if(!_0x5d1467)return;let {startX:_0x45be99,endX:_0x3aae07,startY:_0x332d34,endY:_0x13367a}=_0x5d1467,_0x290c46=this[_0x22ee24(0x41e)][_0x22ee24(0x420)](_0x203ac2,_0xd9655d),_0x7ec61=this[_0x22ee24(0x277)][_0x22ee24(0x2b4)]();for(let [_0x544adf,_0x4d0999]of Object[_0x22ee24(0x2b6)](_0x290c46)){if(_0x4d0999[_0x22ee24(0x214)]!==_0x1da7ec[_0x22ee24(0x2ff)][_0x22ee24(0x3ca)])continue;let {transform:_0x5df464}=_0x4d0999;if(!_0x5df464)continue;let {left:_0x545fd2=0x0,top:_0x18421d=0x0,width:_0xbbe5b9=0x0,height:_0x5c8506=0x0}=_0x5df464;_0x45be99<=_0x545fd2&&_0x3aae07>=_0x545fd2+_0xbbe5b9&&_0x332d34<=_0x18421d&&_0x13367a>=_0x18421d+_0x5c8506&&_0x7ec61[_0x22ee24(0x313)](_0x4d0999);}_0x7ec61[_0x22ee24(0x31c)]>0x0&&(this[_0x22ee24(0x27c)]={'unitId':_0x203ac2,'subUnitId':_0xd9655d,'copyType':_0x1ef63a,'copyRange':_0x2484ec,'drawings':_0x7ec61});}[_0x7d12da(0x3b0)](_0x3605c8,_0x33acc0){const _0x178eae=_0x7d12da;let {unitId:_0x57ab0c,subUnitId:_0x2e4acd,range:_0x19da77}=_0x3605c8,_0x57a22a=this[_0x178eae(0x223)]['getSkeleton'](_0x57ab0c,_0x2e4acd);if(!_0x57a22a)return{'redos':[],'undos':[]};let _0xb85089=(0x0,_0x2d166[_0x178eae(0x2d1)])(_0x19da77),{unitId:_0x193162,subUnitId:_0x4a9b39,copyRange:_0x257c2e,drawings:_0x16fc40}=this[_0x178eae(0x27c)],_0x3603df=this[_0x178eae(0x223)][_0x178eae(0x247)](_0x193162,_0x4a9b39);if(!_0x3603df)return{'redos':[],'undos':[]};let _0x4e5256=[],_0x256b77=[];for(let _0x25b3d1 of _0x16fc40){let {drawingId:_0x1378b7,transform:_0x51d308,sheetTransform:_0x5798bc}=_0x25b3d1,_0x36ebd8=this['_chartModelService'][_0x178eae(0x343)](_0x1378b7);if(!_0x36ebd8||!_0x51d308||!_0x5798bc)continue;let _0x3d048c=this['_updateTransform']({'transform':_0x51d308,'sheetTransform':_0x5798bc},{'skeleton':_0x3603df,'range':_0x257c2e},{'skeleton':_0x57a22a,'range':_0xb85089});if(_0x33acc0){let {redos:_0x3dce62,undos:_0x4a60d2}=this[_0x178eae(0x3b8)]({'fromUnitId':_0x193162,'fromSubUnitId':_0x4a9b39,'toUnitId':_0x57ab0c,'toSubUnitId':_0x2e4acd,'drawing':_0x25b3d1,'newTransforms':_0x3d048c},_0x36ebd8);_0x4e5256['push'](..._0x3dce62),_0x256b77[_0x178eae(0x313)](..._0x4a60d2);continue;}let {redos:_0x5d4356,undos:_0xf8a4eb}=this['_generateCopyPasteMutations']({'toUnitId':_0x57ab0c,'toSubUnitId':_0x2e4acd,'drawing':_0x25b3d1,'newTransforms':_0x3d048c},_0x36ebd8);_0x4e5256[_0x178eae(0x313)](..._0x5d4356),_0x256b77[_0x178eae(0x313)](..._0xf8a4eb);}return{'redos':_0x4e5256,'undos':_0x256b77};}[_0x7d12da(0x3b8)](_0x141bdd,_0x16ffaf){const _0x255a8d=_0x7d12da;let {fromUnitId:_0xdaf1f0,fromSubUnitId:_0x2479c5,toUnitId:_0x3fc36b,toSubUnitId:_0x4350a9,drawing:_0x3004d5,newTransforms:_0x5c755e}=_0x141bdd,_0x74a696={..._0x3004d5,'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'transform':_0x5c755e[_0x255a8d(0x312)],'sheetTransform':_0x5c755e[_0x255a8d(0x419)]};if(_0x3fc36b===_0xdaf1f0&&_0x4350a9===_0x2479c5){let {redo:_0x38d514,undo:_0x43af1b,objects:_0x5521c0}=this[_0x255a8d(0x41e)][_0x255a8d(0x39a)]([_0x74a696]);return{'redos':[{'id':_0x4754e3[_0x255a8d(0x3a6)]['id'],'params':{'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'type':_0x4754e3[_0x255a8d(0x2f8)][_0x255a8d(0x380)],'op':_0x38d514,'objects':_0x5521c0}}],'undos':[{'id':_0x4754e3[_0x255a8d(0x3a6)]['id'],'params':{'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'type':_0x4754e3[_0x255a8d(0x2f8)][_0x255a8d(0x380)],'op':_0x43af1b,'objects':_0x5521c0}}]};}else{let _0x1d458f=this[_0x255a8d(0x41e)][_0x255a8d(0x2ea)]([_0x3004d5]),_0x27bb61=this['_sheetDrawingService']['getBatchAddOp']([_0x74a696]),_0x335b5f=_0x16ffaf[_0x255a8d(0x1e0)][_0x255a8d(0x432)](),{chartType:_0x3d08f3,context:_0x40d13e,style:_0x47d7e5,dataAggregation:_0x4866eb}=_0x16ffaf[_0x255a8d(0x206)]();return{'redos':[{'id':_0x4754e3[_0x255a8d(0x3a6)]['id'],'params':{'unitId':_0xdaf1f0,'subUnitId':_0x2479c5,'type':_0x4754e3['DrawingApplyType'][_0x255a8d(0x479)],'op':_0x1d458f[_0x255a8d(0x49b)],'objects':_0x1d458f[_0x255a8d(0x4b8)]}},{'id':_0x28eb9a[_0x255a8d(0x2e6)]['id'],'params':{'unitId':_0xdaf1f0,'subUnitId':_0x2479c5,'chartId':_0x3004d5[_0x255a8d(0x411)]}},{'id':_0x4754e3[_0x255a8d(0x3a6)]['id'],'params':{'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'type':_0x4754e3['DrawingApplyType'][_0x255a8d(0x224)],'op':_0x27bb61['redo'],'objects':_0x27bb61[_0x255a8d(0x4b8)]}},{'id':_0x28eb9a['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'chartId':_0x3004d5[_0x255a8d(0x411)],'chartType':_0x3d08f3,...(0x0,_0x28eb9a[_0x255a8d(0x2ec)])(_0x335b5f),'context':_0x40d13e,'style':_0x47d7e5,'dataAggregation':_0x4866eb}}],'undos':[{'id':_0x4754e3[_0x255a8d(0x3a6)]['id'],'params':{'unitId':_0xdaf1f0,'subUnitId':_0x2479c5,'type':_0x4754e3['DrawingApplyType'][_0x255a8d(0x224)],'op':_0x1d458f[_0x255a8d(0x38d)],'objects':_0x1d458f['objects']}},{'id':_0x28eb9a['InsertSheetsChartMutation']['id'],'params':{'unitId':_0xdaf1f0,'subUnitId':_0x2479c5,'chartId':_0x3004d5['drawingId'],'chartType':_0x3d08f3,...(0x0,_0x28eb9a[_0x255a8d(0x2ec)])(_0x335b5f),'context':_0x40d13e,'style':_0x47d7e5,'dataAggregation':_0x4866eb}},{'id':_0x4754e3[_0x255a8d(0x3a6)]['id'],'params':{'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'type':_0x4754e3[_0x255a8d(0x2f8)][_0x255a8d(0x479)],'op':_0x27bb61[_0x255a8d(0x38d)],'objects':_0x27bb61[_0x255a8d(0x4b8)]}},{'id':_0x28eb9a[_0x255a8d(0x2e6)]['id'],'params':{'unitId':_0x3fc36b,'subUnitId':_0x4350a9,'chartId':_0x3004d5[_0x255a8d(0x411)]}}]};}}[_0x7d12da(0x2be)](_0x5da735,_0x252f23){const _0x4f0f3=_0x7d12da;let {toUnitId:_0x40e096,toSubUnitId:_0x685f51,drawing:_0x214060,newTransforms:_0x482303}=_0x5da735,_0x231697=(0x0,_0x1da7ec[_0x4f0f3(0x4ea)])(),_0x25abf4={..._0x214060,'unitId':_0x40e096,'subUnitId':_0x685f51,'drawingId':_0x231697,'transform':_0x482303[_0x4f0f3(0x312)],'sheetTransform':_0x482303[_0x4f0f3(0x419)]},{redo:_0x3b82af,undo:_0x3d770f,objects:_0x422641}=this[_0x4f0f3(0x41e)][_0x4f0f3(0x2fc)]([_0x25abf4]),_0x5598c9=_0x252f23[_0x4f0f3(0x1e0)][_0x4f0f3(0x432)](),{chartType:_0x14dc1c,context:_0x4da0b8,style:_0x59668d,dataAggregation:_0x26d259}=_0x252f23[_0x4f0f3(0x206)]();return{'redos':[{'id':_0x4754e3['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x40e096,'subUnitId':_0x685f51,'type':_0x4754e3[_0x4f0f3(0x2f8)]['INSERT'],'op':_0x3b82af,'objects':_0x422641}},{'id':_0x28eb9a['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x40e096,'subUnitId':_0x685f51,'chartId':_0x231697,'chartType':_0x14dc1c,...(0x0,_0x28eb9a['toInsertChartMutationSource'])(_0x5598c9),'context':_0x4da0b8,'style':_0x59668d,'dataAggregation':_0x26d259}}],'undos':[{'id':_0x4754e3[_0x4f0f3(0x3a6)]['id'],'params':{'unitId':_0x40e096,'subUnitId':_0x685f51,'type':_0x4754e3['DrawingApplyType'][_0x4f0f3(0x479)],'op':_0x3d770f,'objects':_0x422641}},{'id':_0x28eb9a['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x40e096,'subUnitId':_0x685f51,'chartId':_0x231697}}]};}[_0x7d12da(0x38e)](_0x4157ff,_0x50e397,_0x23f943){const _0x2e3c38=_0x7d12da;let {range:_0x60b8e3,skeleton:_0x5d7d30}=_0x50e397,{range:_0x55b0cd,skeleton:_0x2d0052}=_0x23f943,{transform:_0x49d93d,sheetTransform:_0xc5a13f}=_0x4157ff,_0x428b1f={..._0x49d93d};if(_0x60b8e3){let _0x1fd0db=(0x0,_0x2d166[_0x2e3c38(0x459)])(_0x5d7d30,_0x60b8e3),_0x37b3a5=(0x0,_0x2d166[_0x2e3c38(0x459)])(_0x2d0052,_0x55b0cd);if(_0x1fd0db&&_0x37b3a5){let _0x3e39d8=_0x37b3a5[_0x2e3c38(0x3ce)]-_0x1fd0db['startX'],_0x40ebd4=_0x37b3a5[_0x2e3c38(0x2a5)]-_0x1fd0db[_0x2e3c38(0x2a5)];_0x428b1f[_0x2e3c38(0x418)]=(_0x428b1f[_0x2e3c38(0x418)]??0x0)+_0x3e39d8,_0x428b1f['top']=(_0x428b1f[_0x2e3c38(0x4d5)]??0x0)+_0x40ebd4;}}else{let _0x1a1096=(0x0,_0x2d166[_0x2e3c38(0x459)])(_0x2d0052,_0x55b0cd);_0x428b1f[_0x2e3c38(0x418)]=_0x1a1096==null?void 0x0:_0x1a1096[_0x2e3c38(0x3ce)],_0x428b1f[_0x2e3c38(0x4d5)]=_0x1a1096==null?void 0x0:_0x1a1096[_0x2e3c38(0x2a5)];}return{'transform':_0x428b1f,'sheetTransform':(0x0,_0x4754e3[_0x2e3c38(0x31e)])(_0x428b1f,_0x2d0052)??_0xc5a13f};}};_0x283938=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x2d166['SheetSkeletonService'])),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1960ed[_0x7d12da(0x3e5)])),_0x493c2e(0x2,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x4754e3[_0x7d12da(0x347)])),_0x493c2e(0x3,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x28eb9a[_0x7d12da(0x1f6)]))],_0x283938);let _0x2a90f9=class extends _0x1da7ec[_0x7d12da(0x499)]{constructor(_0x433b5e,_0x2f496b,_0x39e8dc,_0x13277b){const _0x39f912=_0x7d12da;super(),this['_commandService']=_0x433b5e,this[_0x39f912(0x507)]=_0x2f496b,this['_sheetPermissionCheckController']=_0x39e8dc,this[_0x39f912(0x339)]=_0x13277b,this[_0x39f912(0x3a5)]();}['_initPermission'](){const _0x59903a=_0x7d12da;this[_0x59903a(0x49a)](this['_commandService']['beforeCommandExecuted'](_0x35dd39=>{const _0x514904=_0x59903a;let _0x2b0e2c,_0x3eef5e;if(_0x35dd39['id']===_0x28eb9a['InsertChartCommand']['id']){let _0x51e9af=_0x35dd39[_0x514904(0x2a9)];_0x2b0e2c=_0x51e9af[_0x514904(0x490)],_0x3eef5e=_0x51e9af[_0x514904(0x26e)];}else{if(_0x35dd39['id']===_0x28eb9a['ChartUpdateConfigCommand']['id']||_0x35dd39['id']===_0x28eb9a[_0x514904(0x291)]['id']){let _0x4a0be0=_0x35dd39[_0x514904(0x2a9)];_0x2b0e2c=_0x4a0be0[_0x514904(0x490)],_0x3eef5e=this[_0x514904(0x339)][_0x514904(0x3fa)](_0x4a0be0[_0x514904(0x490)],_0x4a0be0['chartModelId']);}}!_0x2b0e2c||!_0x3eef5e||this[_0x514904(0x395)][_0x514904(0x23b)]({'workbookTypes':[_0x2d166[_0x514904(0x315)]],'worksheetTypes':[_0x2d166[_0x514904(0x2a7)]]},_0x2b0e2c,_0x3eef5e)||this['_sheetPermissionCheckController'][_0x514904(0x215)](this[_0x514904(0x507)]['t'](_0x514904(0x4af)));}));}};_0x2a90f9=_0x3b9455([_0x493c2e(0x0,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec['ICommandService'])),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec[_0x7d12da(0x21e)])),_0x493c2e(0x2,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x2d166[_0x7d12da(0x366)])),_0x493c2e(0x3,(0x0,_0x1da7ec['Inject'])(_0x28eb9a[_0x7d12da(0x423)]))],_0x2a90f9);let _0xc027c4=class extends _0x1da7ec[_0x7d12da(0x50b)]{constructor(_0x3a8496=_0x2feb31,_0x14f708,_0x3c62dd,_0x623a94){const _0x1dc6d9=_0x7d12da;super(),this['_config']=_0x3a8496,this[_0x1dc6d9(0x451)]=_0x14f708,this[_0x1dc6d9(0x3b4)]=_0x3c62dd,this[_0x1dc6d9(0x261)]=_0x623a94,_0x451b0c(this,_0x1dc6d9(0x476),void 0x0);let {..._0x58a6b4}=(0x0,_0x1da7ec[_0x1dc6d9(0x50d)])({},_0x2feb31,this['_config']);this['_resolvedConfig']=_0x58a6b4,this[_0x1dc6d9(0x3b4)][_0x1dc6d9(0x338)](_0x466ca5,_0x58a6b4),this[_0x1dc6d9(0x3b7)](),(0x0,_0x5dd517[_0x1dc6d9(0x27b)])(_0x5dd517[_0x1dc6d9(0x515)]);}[_0x7d12da(0x1df)](){const _0x49e7f6=_0x7d12da;this[_0x49e7f6(0x451)][_0x49e7f6(0x448)]([_0x36093d]),this[_0x49e7f6(0x451)][_0x49e7f6(0x287)](_0x36093d);let _0x1295b9=this[_0x49e7f6(0x451)],_0x58eef0=[[_0x4b3521,{'useClass':_0xd38931}],[_0xa24186,{'useClass':_0x3f6cbd}],[_0x167f01],[_0x32f42a],[_0xb93665],[_0x383ff0],[_0x3b6a23],[_0x283938],[_0x5bd748],[_0x2a90f9]],_0x4a5f22=[[_0xb93665],[_0x3b6a23],[_0x383ff0],[_0x4b3521],[_0x283938],[_0x5bd748],[_0x2a90f9]];this[_0x49e7f6(0x476)]['enableChartElementFloatMenu']&&(_0x58eef0['push']([_0x4f74eb]),_0x4a5f22[_0x49e7f6(0x313)]([_0x4f74eb])),_0x58eef0['forEach'](_0x2b1e32=>_0x1295b9[_0x49e7f6(0x448)](_0x2b1e32)),(0x0,_0x1da7ec['touchDependencies'])(this[_0x49e7f6(0x451)],_0x4a5f22);}['onRendered'](){const _0x4da462=_0x7d12da;var _0x371c35;(_0x371c35=this[_0x4da462(0x451)][_0x4da462(0x287)](_0xb93665))==null||_0x371c35[_0x4da462(0x2e3)]();}[_0x7d12da(0x3b7)](){const _0x4696d3=_0x7d12da;[_0x3ddcbf,_0x5815fc,_0xaff2e8,_0x509a78,_0x4caaf8,_0x4dcf39,_0x4c56c5]['forEach'](_0x3669d5=>this['disposeWithMe'](this[_0x4696d3(0x261)][_0x4696d3(0x2c2)](_0x3669d5)));}};_0x451b0c(_0xc027c4,_0x7d12da(0x1fc),_0x1da7ec[_0x7d12da(0x3f8)]['UNIVER_SHEET']),_0x451b0c(_0xc027c4,_0x7d12da(0x2cd),_0x7d12da(0x270)),_0x451b0c(_0xc027c4,_0x7d12da(0x4c3),_0x5632c9),_0x451b0c(_0xc027c4,_0x7d12da(0x29c),_0xef55d7),_0xc027c4=_0x3b9455([(0x0,_0x1da7ec[_0x7d12da(0x50f)])(_0x4d77ba[_0x7d12da(0x397)],_0x5405e4[_0x7d12da(0x530)],_0x41ff50['UniverRenderEnginePlugin'],_0x2d166[_0x7d12da(0x3f1)],_0x4754e3[_0x7d12da(0x485)],_0x173304['UniverChartUIPlugin'],_0x28eb9a['UniverSheetsChartPlugin'],_0x364311[_0x7d12da(0x3f2)],_0x1960ed['UniverSheetsUIPlugin']),_0x493c2e(0x1,(0x0,_0x1da7ec[_0x7d12da(0x1ec)])(_0x1da7ec['Injector'])),_0x493c2e(0x2,_0x1da7ec[_0x7d12da(0x3ae)]),_0x493c2e(0x3,_0x1da7ec[_0x7d12da(0x496)])],_0xc027c4),_0xd4719d['ISheetsChartUIService']=_0x4b3521,_0xd4719d[_0x7d12da(0x472)]=_0x466ca5,Object[_0x7d12da(0x445)](_0xd4719d,'SheetsChartUIController',{'enumerable':!0x0,'get':function(){return _0xb93665;}}),_0xd4719d[_0x7d12da(0x378)]=_0x4e55e6,Object[_0x7d12da(0x445)](_0xd4719d,_0x7d12da(0x4d6),{'enumerable':!0x0,'get':function(){return _0xd38931;}}),Object['defineProperty'](_0xd4719d,'UniverSheetsChartUIPlugin',{'enumerable':!0x0,'get':function(){return _0xc027c4;}});}));function _0x169c(_0x27d75d,_0x4ca2e8){_0x27d75d=_0x27d75d-0x1d9;const _0xb88369=_0xb883();let _0x169c75=_0xb88369[_0x27d75d];return _0x169c75;}function _0xb883(){const _0x44e967=['_snapshotStore','titles','attachRangeWithCoord','add$','with','6781310xgMlaz','width','ChartEditPanelTabs','Legend','_executeChartUpdateSourceConfig','sheets-chart-ui.section.sunburst','DEFAULT_CHART_STYLE_VALUES','clip','_initActiveRuntimeLayerListener','abs','_bindChartEventHandler','1em','getSheetBySheetId','markUnmanaged','colorChannel1','_markHostReady','getUnit','sheet.command.chart.export-focused-image','invert','Injector','Data','@univerjs/sheets-drawing','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','Scatter','_getFloatDomInfo','_disposeChartDomInstance','_resolvedConfig','_chartInstanceMap','getCurrentLastSelection','REMOVE','requestPaint','sheets-chart-ui.section.radar','IUniverInstanceService','funnel','_getChartRenderObjectContext','_rangeSelectMode','_chartHostMap','current','_clearSelectedTarget','sheets-chart-ui.section.candlestick','getCurrentUnitOfType','UniverSheetsDrawingPlugin','ChartGridlinesAndTicksSection','localPoint','resolveDefaultChartHostFrameStyle','_renderWhenConfigReady','_chartSnapshotStoreService','activeChartModel','sheets-chart-ui.common.customize','then','ChartTypeField','prototype','unitId','chartTypeSupportsLineAndAreaStyle','dblclick','clear','getDrawingShapeKeyByDrawingSearch','forEach','ICommandService','_initMenus','2557722uzgXGY','Disposable','disposeWithMe','redo','@univerjs-pro/sheets-chart','take','featurePluginGroupUpdate$','3214632wSbeZU','getSheetId','_shouldSuppressSnapshot','getFloatDomInfo','route','_draw','displayName','DownloadImageIcon','sheets-chart-ui.common.rightVerticalAxis','_closePopup','Url','@univerjs/sheets-formula-ui','svg','resolveChartCreationIntent','TRANSFORM_CHANGE_OBSERVABLE_TYPE','offsetWidth','sheets-chart-ui.permission.editErr','titleKey','clearPanelRoute','startColumn','DRAWING_OBJECT_LAYER_INDEX','nextVersion','SheetCanvasFloatDomManagerService','PieStyle','buildChartTypeSelectOptions','objects','Series','mountNode','setDataRange','Bar','_snapshotKey','_debounceHandle','_drawChartFrame','default','chartObject','getRenderUnitById','packageName','domId','interceptor','useRef','style','getContextValue','Dom','darkMode$','UniverCore','ensureHost','Observable','RightVerticalAxis','_initCopyPaste','SHEETS_CHART_PLUGIN_CONFIG_KEY','_chartRenderService','_cancelHostWait','_chartUIService','getBoundingClientRect','top','SheetsChartUIService','border','string','HorizontalAxis','_sidebarService','getValue','toPrimitive','rxjs','rangeInfo$','activeEditChart','ChartIndicatorLineSection','_bindChartEventHandlers','Histogram','invalidateSnapshot','_requestChartCanvasRender','deriveStateFromActiveSheet$','sheets-chart-ui.section.gridlinesAndTicks','ChartRelationStyleSection','ChartStyle','_restoreHostWrapper','generateRandomId','getImage','allSeriesStyle','ChartEditorProvider','_panelRoute$','offsetLeft','ChartSectionAccordion','_clearSheetChartRuntimeCaches','map','axis','chartTypeCanUseTrendLine','update','idSuffix','none','_renderManagerService','ComponentManager','UniverDrawingUi','#-#','_initSheetChange','_initPrinting','_canvasFloatDomService','onCommandExecuted','max','_clearChartRuntimeCache','ChartElementFloatMenuAdapterRegistry','_lastActiveSheet','parentElement','indexOf','_isChartElementEditEnabled','_localeService','sheets-chart-ui.common.trendline','Fail\x20to\x20create\x20float\x20dom','blur','Plugin','sheets-chart-ui.section.waterfall','merge','syncHostLayout','DependentOn','_cancelDebouncedCallbacks','allSettled','executeChartUpdateConfig','getParent','SheetChartBuilderAdapter','echarts','_chartEventSubscriptions','DEFAULT_CHART_LEGEND_VALUES','UniverEngineFormula','_createCopyInfoByRange','getSheetBySheetName','getName','1279437uDffav','setRangeSelectMode','chartModelRemoved$','_createPrintingChartObject','setImage','all','SHEETS_CHART_PLUGIN_NAME','ChartEditorCapability','applyPoint','DEFAULT_CHART_RELATION_VALUES','rangeInfo','src','throttleTime','_renderAfterChartUpdateMutation','_renderDebounceMap','2834984azYpaq','BUTTON','ensureHandle','_savedWrapperStyle','Bubble','UniverDrawingPlugin','isInGroup','createElement','ChartAndAxisTitles','DEFAULT_CHART_TRENDLINE_VALUES','pieSecondaryPlotType','children','_setActiveChart','getFocusedUnit','clientX','checkHost','createRuntimeChartStyle','SHEET_CHART_RENDER_OBJECT_CONFIG','DEFAULT_CHART_LINE_AND_AREA_VALUES','substring','onStarting','dataSource','getTransformerByCreate','ChartEditPanelTab','stroke','Waterfall','number','react','CHART_TYPE_CATALOG','inactive-sheet','EChartRenderEngineName','ChartLineAndAreaSection','restore','Inject','strokeWidth','_getChartSnapshotKey','_sheetPrintInterceptorService','COPY_TYPE','scroll','ChartUIService','includes','handleActiveSubUnitChange','label','ChartModelService','lineAndArea','div','_initActiveChartModelListener','direction$','IndicatorLine','type','_getOrCreateSheetChartHost','defs','ChartTypeBits','constructor','601872ZiAnKN','_disposeChartRenderInstance','SheetInterceptorService','section','cancel','serialize','SheetCopyCommand','attrs','startWith','ChartNumberFormatAtom','small','sheets-chart-ui.section.chord','resourceCollector','target','_url','ChartParetoSeriesSection','getMatrix','RemoveSheetCommand','UniverUi','drawingType','blockExecuteWithoutPermission','resolveChartElementSelection','ChartDomFrame','_popupChartId','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','Heatmap','replace','_isProviderDisposed','checkChartCanRender','LocaleService','config','chartRenderMode','_sheetInterceptorService','UniverEngineRender','_sheetSkeletonService','INSERT','bottom','openChartPanelById','DEFAULT_CHART_HEATMAP_VALUES','iterator','series','resolveChartEditPanelRoute','_sheetCanvasFloatDomManagerService','name','createChartInstance','_componentManager','14QBDXBY','-univer-mx-4','PenIcon','_getImage','_image','_activeEditChart$','DataOrientation','_disposeImage','ChartRenderMode','sheets-chart-ui.common.editChart','MenuItemType','ISidebarService','permissionCheckWithoutRange','toString','href','React','scene','complete','RangeSelector','.chart-host','CHART_HOST_BORDER_RADIUS','WaterfallSeries','offsetTop','RibbonInsertGroup','getSkeleton','dispose','useObservable','onTransformChange$','@univerjs/sheets-drawing-ui','delete','_openFloatMenu','Sunburst','setBorder','use','isRender','sheets-chart-element-float-menu','_entries','PREDEFINED_HOOK_NAME','call','subscribeEvent','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ChartSeriesSection','ChartHostRenderMode','drawWith','header','DEFAULT_CHART_TITLE_VALUES','getDrawingOrder','_shouldEnableChartElementEdit','isManaged','debounce','_commandService','assignStyle','baseOn','_markNotReady','sheets-chart-ui.common.insertChart','BehaviorSubject','sheets-chart-ui.host.provider','Gauge','_chartElementEditMode','chartModelAdded$','getAllowedChartTypes','isLatest','resolve','subUnitId','ChartWaterfallSetupFields','UniverSheetsChartUIPlugin','Boxplot','getChartDataSource','sheets-chart-ui.section.relation','setOrientation','some','chartImageSourceToDataUrl','_focusedDrawings','groupId','ChartSectionAccordionItem','_chartHostProvider','registerWordCloudChart','_copyInfo','_activateHostWrapper','relation','getDirection','rangeSelectMode','insertGroupObject','pareto','Module','object','exportImg','_resizeChart','get','IMenuManagerService','render','ChartTrendlineSection','commitSnapshot','_renderModelManager','_sheetsChartUIService','_resetChartRuntimeZIndex','chartId','anonymous','ChartUpdateSourceCommand','innerHeight','_disposed','_init','function','tag','values','register','_sheetClipboardService','set','_registerComponents','version','pipe','getOwnPropertyDescriptor','UniverProEngineChart','visible','ChartEditPanelSection','DEFAULT_CHART_AXIS_VALUES','Positive','_selectedElement$','startY','url','WorksheetEditPermission','IDrawingContextMenuService','params','PRINTING_COMPONENT_COLLECT','_renderChartModel','bind','evented','@univerjs/design','CHART','@univerjs/sheets-ui','_sidebarDisposable','getRenderColor','sheets-chart-ui.section.funnel','slice','auto','entries','setActiveEditChart','ChartAxisSection','getFocusDrawings','right','unsubscribe','updateFloatDomProps','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_generateCopyPasteMutations','_markReady','setContextValue','_hostStyle','registerCommand','beginPath','CommandType','GeneralSeries','DEFAULT_CHART_PARETO_VALUES','sheets-chart-ui.common.useAsCategoryLabels','getCurrentRangeDisable$','getRealBound','path','fromEvent','currentColor','pluginName','engine','getUnitId','_getSceneAndTransformerByDrawingSearch','discreteRangeToRange','ChartStyleSection','scaleX','chartBitsUtils','save','url(#$1','DEFAULT_PASTE','defaultValues','UniverIcon','SheetSkeletonManagerService','waterfall','sheets-chart.ui.service','querySelector','_urlImage','CUT','rightYAxis','univer-flex\x20univer-flex-col\x20univer-gap-3','GROUP','initPanel','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','isHit','RemoveSheetsChartMutation','_managed','combineLatest','_domFrame','getBatchRemoveOp','focusDrawing','toInsertChartMutationSource','remove$','_activeChartId','create','columnPercentStacked','innerWidth','_activeDomReadyChartIds','IconManager','setPanelRoute','@univerjs/core','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','sheets-chart-ui.common.verticalAxis','DrawingApplyType','_drawingManagerService','UniverSheets','ensureMount','getBatchAddOp','InsertSheetsChartMutation','_iconManager','DrawingTypeEnum','style$','getElementById','scaleY','_registerIcons','close','UNIVER_SHEET','isElementEditModeActive','moveTo','height','pen-icon','sheets-chart-ui.section.indicatorLine','activeChartModel$','_contextService','asObservable','removeHost$','offsetHeight','arc','jsxs','transform','push','@univerjs/sheets','WorkbookEditablePermission','getObject','ChartRadarStyleSection','xlink:href','DisposableCollection','4827436lolaZG','selectedElement$','length','Style','transformToDrawingPosition','sheets-chart-ui.section.wordCloud','IRenderManagerService','ChartWaterfallStyleTarget','_getCurrentSnapshotImage','Column','@univerjs/engine-render','setHostStyle','logicalOuterRect','onDispose','Area','mode','missing-float-dom','clientHeight','sheet-chart-style-panel','Canvas','setActiveChartModel','1.0.0-beta.0','_sheetDrawingHitTestService','_sheetCanvasPopManagerService','Transform','columnStacked','ChartEditBlockTitle','removeHost','exportImage','_univerInstanceService','setConfig','_sheetsChartService','ObjectType','resize','sheet.command.chart.copy-focused-chart','isDomReady','FOCUSING_COMMON_DRAWINGS','closePath','keys','intercept','_rect','getChartModel','UniverSheetsDrawingUi','_chartThemeService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ISheetDrawingService','SheetCanvasPopManagerService','isArray','sheet.operation.open-chart-panel','focus$','markHostNotReady','_applyHostStyle','getConfig','category','useDependency','ThemeService','Relation','has','_openEditPanelByDoubleClick','contains','every','isConnected','_chartHostProviderService','tab','hidePanel','IContextService','markReady','lineTo','OPERATION','range','Rect','Candlestick','syncLayout','Treemap','value','_chartEventHandlers','SheetPermissionCheckController','setObjectType','DEFAULT_CHART_WORD_CLOUD_VALUES','_drawChartImage','symbol','_getChartRenderSkipReason','_menuManagerService','resolveChartRuntimeStyle','mask','_rerenderLatest','sheets-chart-ui.common.openChartPanel','translate','defIds','useState','ChartLegendSection','jsx','_disposeChartEventSubscriptions','renderChartsForPrinting','SheetsChartUIMenuSchema','drawingIds','clearImage','forwardRef','sheets-chart-ui.common.switchRowColumn','_openPanel','featurePluginUngroupUpdate$','chartTypeSupportsCapability','UPDATE','Pie','_setHostStyle','hasOwnProperty','PieSecondaryPlotType','_resolveLayout','sheets-chart-ui.common.exportImage','_getHostPlacement','DEFAULT_CHART_FUNNEL_VALUES','_chartRenderMode','_getChartRenderObject','ImageBitmap','_setChartRuntimeZIndex','undo','_updateTransform','sheets-chart-ui.common.deleteChart','_waiter','position$','ChartSectionAccordionContent','registerRenderObjectFactory','useEffect','_sheetPermissionCheckController','checkMounted','UniverLicensePlugin','_version','open','getBatchUpdateOp','updateFloatDom','naturalWidth','_pendingToken','sheets-chart-ui.config','ChartTypeSpecificStyleSection','ChartImageSourceType','getRenderModel','CanvasFloatDomService','legend','Sankey','_initPermission','SetDrawingApplyMutation','Fragment','assign','cumulativeLineStyle','getDrawingByParam','DEFAULT_CHART_WATERFALL_STYLE_VALUES','_debounceHandleMap','toStringTag','IConfigService','rect','_generatePasteMutations','Subtotal','click','sheets-chart-ui.chord.target','_configService','rightY','sheet-chart-setup-panel','_initCommands','_generateCutPasteMutations','clearChart','@univerjs-pro/chart-ui','pointerEvents','markNotReady','sheet.command.menu-insert-chart','sheet.chart.edit.panel','_clearHiddenSelectedTarget','ChartFrameLayout','@univerjs-pro/license','_subscribeChartEvents','image','enableChartElementFloatMenu','_addWatermark','sheetDisposed$','Image','_applyActiveChartRuntimeZIndex','_requestPaint','DRAWING_CHART','_getOuterRect','_pendingMutationConfigRenders','sheets-chart-ui.chartTypes.','startX','classType','hit','activeEditChart$','sheets-chart-ui.section.treemap','setStyle','ContextMenuGroup','Overlay','@univerjs-pro/engine-chart','copyType','sheets-chart-ui.common.setup','makeDirty','next','attachPopupToDynamicAbsolutePosition','_chartModelService','_popupDisposable','config$','getRect','fill','parent','_createImageChartHost','getActiveSheet','sheets-chart-ui.section.histogram','ISheetClipboardService','clearRuntimeCache','numberToABC','sheets-chart-ui.common.chartAndAxisTitles','getObjectIncludeInGroup','IDrawingManagerService','DEFAULT_CHART_WATERFALL_SETUP_VALUES','Funnel','labelId','@univerjs/drawing-ui','serializeRangeWithSheet','createChartElementFloatMenuAdapter','UniverSheetsPlugin','UniverSheetsDrawingUIPlugin','useChartEditorChartType','concat','ancestorTransform','addObject','Chord','UniverInstanceType','radar','getSubUnitId','getCanvasElement','_themeService','sheet.operation.hide-chart-panel','opacity','Row','_registerAdapter','DEFAULT_CHART_SERIES_VALUES','select','_removeHost$','Trendline','showFloatMenu','VerticalAxis','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','_activateEditPanelState','univer-shrink-0','GridlinesAndTicks','Axes','canvas','executeCommand','ImageChartHost','UniverSheetsFormulaUi','ChartSectionAccordionTrigger','drawingId','_adapterRegistry','ChartGradientFillField','getSheetCommandTarget','img','getChartPopupMenus','Radar','left','sheetTransform','indicatorLine','_createChartRenderInstanceContext','_getOrCreateChartRenderInstance','interceptCommand','_sheetDrawingService','getHostSize','getDrawingData','_pendingHost','_deactivateEditPanelState','SheetsChartService','getCurrentTypeOfUnit$','setElementEditMode','dom','transparent','_createHost','chartType','sheets-chart-ui.section.paretoBar','sheets-chart-ui.common.hideChartPanel','items','featurePluginOrderUpdate$','ChartViewStateRegistry','scale','onload','combineLatestWith','getRangeInfo','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','panelRoute$','transformChange$','DeleteIcon','MenuManagerPosition','1000','from','focused$','color','multiply','filter','ChartThemeService','_lastRenderInputMap','toDisposable','promise','sheet.command.chart.delete-focused-chart','ChartUpdateConfigMutation','COMMAND','defineProperty','ChartCommonDataMappingSection','_frameStyle','add','UniverProSheetsChartUi','subscribe','amd','sheets-chart-ui.section.paretoLine','nativeEvent','ChartIcon','univer-overflow-visible','sidebarOptions$','_injector','WordCloud','setSelectedElement','_getPlacement','ChartPieStyleSection','sheets-chart-ui.common.series'];_0xb883=function(){return _0x44e967;};return _0xb883();}
1
+ (function(_0x5980ba,_0x2d23a2){const _0x47dd45=_0x9495,_0x10db33=_0x5980ba();while(!![]){try{const _0x24ea76=-parseInt(_0x47dd45(0x539))/0x1+-parseInt(_0x47dd45(0x282))/0x2+parseInt(_0x47dd45(0x1dc))/0x3*(-parseInt(_0x47dd45(0x2bc))/0x4)+parseInt(_0x47dd45(0x4b7))/0x5+-parseInt(_0x47dd45(0x4bb))/0x6*(-parseInt(_0x47dd45(0x3f2))/0x7)+-parseInt(_0x47dd45(0x25e))/0x8*(-parseInt(_0x47dd45(0x4ea))/0x9)+parseInt(_0x47dd45(0x497))/0xa;if(_0x24ea76===_0x2d23a2)break;else _0x10db33['push'](_0x10db33['shift']());}catch(_0x2794a9){_0x10db33['push'](_0x10db33['shift']());}}}(_0x2883,0xbb2c1),function(_0x52e0a4,_0x2d0f8f){const _0x2fdbdb=_0x9495;typeof exports==_0x2fdbdb(0x3da)&&typeof module<'u'?_0x2d0f8f(exports,require('@univerjs-pro/sheets-chart'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x2fdbdb(0x4b2)&&define[_0x2fdbdb(0x337)]?define([_0x2fdbdb(0x375),_0x2fdbdb(0x283),'@univerjs/core','@univerjs/drawing','@univerjs/sheets-drawing',_0x2fdbdb(0x3fa),'@univerjs/sheets-ui',_0x2fdbdb(0x38f),'rxjs',_0x2fdbdb(0x4e4),'@univerjs-pro/engine-chart',_0x2fdbdb(0x3ad),_0x2fdbdb(0x48e),_0x2fdbdb(0x468),'@univerjs/engine-render',_0x2fdbdb(0x212),_0x2fdbdb(0x48b),_0x2fdbdb(0x53f),_0x2fdbdb(0x443),_0x2fdbdb(0x547)],_0x2d0f8f):(_0x52e0a4=typeof globalThis<'u'?globalThis:_0x52e0a4||self,_0x2d0f8f(_0x52e0a4[_0x2fdbdb(0x27f)]={},_0x52e0a4[_0x2fdbdb(0x3a0)],_0x52e0a4[_0x2fdbdb(0x47c)],_0x52e0a4[_0x2fdbdb(0x335)],_0x52e0a4[_0x2fdbdb(0x465)],_0x52e0a4[_0x2fdbdb(0x496)],_0x52e0a4[_0x2fdbdb(0x3cd)],_0x52e0a4['UniverUi'],_0x52e0a4['rxjs'],_0x52e0a4[_0x2fdbdb(0x36b)],_0x52e0a4[_0x2fdbdb(0x34f)],_0x52e0a4[_0x2fdbdb(0x3ac)],_0x52e0a4[_0x2fdbdb(0x247)],_0x52e0a4[_0x2fdbdb(0x461)],_0x52e0a4[_0x2fdbdb(0x4a5)],_0x52e0a4[_0x2fdbdb(0x324)],_0x52e0a4[_0x2fdbdb(0x293)],_0x52e0a4[_0x2fdbdb(0x3fd)],_0x52e0a4['React'],_0x52e0a4[_0x2fdbdb(0x4b0)]));}(this,function(_0x24eb4e,_0x3fd577,_0x11d3b6,_0x470a83,_0x251774,_0xbf83ca,_0x3ea34e,_0x5ce366,_0x20d33d,_0x2eb124,_0x255b48,_0x266cf4,_0x5adb53,_0x31b7f1,_0x1d1477,_0x159c90,_0x256526,_0x36b13c,_0x49fd46,_0xe921bd){const _0x2acbad=_0x9495;Object[_0x2acbad(0x493)](_0x24eb4e,Symbol[_0x2acbad(0x4c3)],{'value':_0x2acbad(0x22b)});let _0x186c81='sheets-chart-ui.config',_0x31f776={'enableChartElementFloatMenu':!0x0},_0x883a27={'type':_0x11d3b6[_0x2acbad(0x2e2)][_0x2acbad(0x302)],'id':_0x2acbad(0x48a),'handler'(){return!0x0;}},_0x3cfc7f={'type':_0x11d3b6[_0x2acbad(0x2e2)][_0x2acbad(0x302)],'id':_0x2acbad(0x24c),'handler'(){return!0x0;}};function _0x46a63c(_0x39ed11){const _0x539713=_0x2acbad;let _0x5ce082=_0x39ed11[_0x539713(0x3d7)](_0x251774[_0x539713(0x396)])[_0x539713(0x371)]();if(_0x5ce082[_0x539713(0x40b)]!==0x1)return null;let _0x1f289d=_0x5ce082[0x0];return _0x1f289d[_0x539713(0x2cf)]===_0x11d3b6[_0x539713(0x385)]['DRAWING_CHART']?_0x1f289d:null;}function _0x2c0048(_0x5933c9,_0x5f0fbe){const _0x13eb56=_0x2acbad;let _0x3c16db=document[_0x13eb56(0x53a)]('a');_0x3c16db[_0x13eb56(0x2f4)]=_0x5933c9,_0x3c16db[_0x13eb56(0x1fa)]=_0x5f0fbe,_0x3c16db[_0x13eb56(0x4d2)]();}let _0xb6569e={'id':'sheet.command.chart.open-focused-panel','type':_0x11d3b6[_0x2acbad(0x2e2)][_0x2acbad(0x260)],'handler':(_0x294afd,_0x38769e)=>{const _0x26cdf8=_0x2acbad;let _0x29149e=_0x46a63c(_0x294afd);return _0x29149e?_0x294afd['get'](_0x11d3b6[_0x26cdf8(0x24d)])[_0x26cdf8(0x1d9)](_0x3cfc7f['id'],{'unitId':_0x29149e[_0x26cdf8(0x51f)],'subUnitId':_0x29149e[_0x26cdf8(0x279)],'drawingId':_0x29149e[_0x26cdf8(0x266)],..._0x38769e!=null&&_0x38769e[_0x26cdf8(0x286)]?{'route':_0x38769e['route']}:{}}):!0x1;}},_0x5e9998={'id':'sheet.command.chart.copy-focused-chart','type':_0x11d3b6[_0x2acbad(0x2e2)][_0x2acbad(0x260)],'handler':_0xe920c4=>_0x46a63c(_0xe920c4)?_0xe920c4[_0x2acbad(0x3d7)](_0x11d3b6[_0x2acbad(0x24d)])['executeCommand'](_0x3ea34e['SheetCopyCommand']['id']):!0x1},_0x28fecc={'id':_0x2acbad(0x39c),'type':_0x11d3b6['CommandType'][_0x2acbad(0x260)],'handler':async _0xa3e8f5=>{const _0x4bcf28=_0x2acbad;let _0x557362=_0x46a63c(_0xa3e8f5);if(!_0x557362)return!0x1;let _0x50e387=await _0xa3e8f5[_0x4bcf28(0x3d7)](_0x2eb124[_0x4bcf28(0x221)])['exportImage']({'unitId':_0x557362['unitId'],'subUnitId':_0x557362[_0x4bcf28(0x279)],'getId':()=>_0x557362['drawingId']});return _0x50e387?(_0x2c0048(_0x50e387,_0x557362[_0x4bcf28(0x266)]+_0x4bcf28(0x50a)),!0x0):!0x1;}},_0x57a858={'id':_0x2acbad(0x2e1),'type':_0x11d3b6[_0x2acbad(0x2e2)][_0x2acbad(0x260)],'handler':_0x190d18=>{const _0xb63905=_0x2acbad;let _0x992151=_0x46a63c(_0x190d18);return _0x992151?_0x190d18[_0xb63905(0x3d7)](_0x11d3b6[_0xb63905(0x24d)])[_0xb63905(0x1d9)](_0x251774['RemoveSheetDrawingCommand']['id'],{'unitId':_0x992151['unitId'],'drawings':[{'unitId':_0x992151[_0xb63905(0x51f)],'subUnitId':_0x992151[_0xb63905(0x279)],'drawingId':_0x992151[_0xb63905(0x266)],'drawingType':_0x11d3b6[_0xb63905(0x385)][_0xb63905(0x2bb)]}]}):!0x1;}},_0x2d3027={'type':_0x11d3b6[_0x2acbad(0x2e2)][_0x2acbad(0x260)],'id':'sheet.command.menu-insert-chart','handler':async(_0xc15aca,_0x2069ee)=>{const _0x15948c=_0x2acbad;let _0x576ff4=(0x0,_0x266cf4[_0x15948c(0x52b)])(_0xc15aca[_0x15948c(0x3d7)](_0x11d3b6[_0x15948c(0x22c)]));if(!_0x576ff4)return!0x1;let _0x5b85ea=_0xc15aca[_0x15948c(0x3d7)](_0x266cf4[_0x15948c(0x23c)])[_0x15948c(0x2f7)]();if(!_0x5b85ea)return!0x1;let {range:_0x16f58c}=_0x5b85ea,_0x2ca50a=_0xc15aca[_0x15948c(0x3d7)](_0x11d3b6[_0x15948c(0x24d)]),{unitId:_0x402ccc,subUnitId:_0x1cdadf}=_0x576ff4,{pieSecondaryPlotType:_0x137e02,value:_0x179554}=_0x2069ee,_0x548941=_0x137e02!==void 0x0;if(_0x548941&&(_0x179554!==_0x255b48[_0x15948c(0x1b7)]['Pie']||_0x137e02!==_0x255b48[_0x15948c(0x419)][_0x15948c(0x528)]&&_0x137e02!==_0x255b48['PieSecondaryPlotType']['Bar']))return!0x1;let _0x3240be=_0x548941?(0x0,_0x11d3b6['generateRandomId'])():void 0x0;return _0x2ca50a[_0x15948c(0x1d9)](_0x3fd577[_0x15948c(0x376)]['id'],{'unitId':_0x402ccc,'subUnitId':_0x1cdadf,'chartType':_0x179554,..._0x3240be&&_0x137e02?{'chartId':_0x3240be,'config':{'unitId':_0x402ccc,'chartModelId':_0x3240be,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x137e02}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x16f58c[_0x15948c(0x51f)]??_0x402ccc,'subUnitId':_0x16f58c['sheetId']??_0x1cdadf,'range':_0x16f58c}}});}};function _0x52da0a(_0x1c8cc9,_0x345536){return _0x1c8cc9==null||Array['isArray'](_0x1c8cc9)?'':_0x5f5c2f(_0x1c8cc9['rangeInfo'],_0x345536);}function _0x5f5c2f(_0x300cab,_0x2ad2ef){const _0x1982b4=_0x2acbad;var _0x2858f0;let {unitId:_0x56a8ed,subUnitId:_0x1dcd98,range:_0x1dc6aa}=_0x300cab,_0x490c2d=(_0x2858f0=_0x2ad2ef['getUnit'](_0x56a8ed))==null?void 0x0:_0x2858f0[_0x1982b4(0x425)](_0x1dcd98);return _0x490c2d?(0x0,_0x5adb53[_0x1982b4(0x418)])(_0x490c2d[_0x1982b4(0x2a5)](),_0x1dc6aa):'';}let _0x2affde=new Set(['columnStacked','columnPercentStacked']),_0x3a0b7d=_0x2eb124[_0x2acbad(0x232)][_0x2acbad(0x4a0)](_0x5d1a47=>!_0x2affde[_0x2acbad(0x457)](_0x5d1a47[_0x2acbad(0x4be)]))[_0x2acbad(0x38b)](_0x2f92f5=>({'id':'id'in _0x2f92f5?_0x2f92f5['id']:void 0x0,'labelId':_0x2f92f5['labelId'],'pieSecondaryPlotType':_0x2acbad(0x3f6)in _0x2f92f5?_0x2f92f5[_0x2acbad(0x3f6)]:void 0x0,'value':_0x2f92f5[_0x2acbad(0x200)],'icon':_0x2f92f5[_0x2acbad(0x245)]}));function _0x31701d(_0x27daea=_0x3a0b7d){const _0x3d8a07=_0x2acbad;return _0x27daea[_0x3d8a07(0x38b)](({id:_0x605613,icon:_0x247c57,value:_0x24ec52})=>{const _0x5e09f9=_0x3d8a07;let _0x4c98dd=(0x0,_0x2eb124[_0x5e09f9(0x3f5)])(_0x605613??String(_0x24ec52)),_0x136b06=_0x4c98dd?{'value':_0x4c98dd[_0x5e09f9(0x401)],..._0x4c98dd[_0x5e09f9(0x3f6)]?{'pieSecondaryPlotType':_0x4c98dd[_0x5e09f9(0x3f6)]}:{}}:{'value':_0x24ec52};return{'icon':_0x247c57,'value':_0x605613??_0x24ec52,'params':_0x136b06};});}let _0x1c6193=(_0x5d2179,_0xcb06ac)=>{const _0x4de817=_0x2acbad;if(_0xcb06ac[_0x4de817(0x40b)]===0x1&&_0xcb06ac[0x0]==='all')return _0x5d2179;if(_0xcb06ac['length']>0x1){let _0xa4fd25=new Set();for(let _0x2bb501 of _0xcb06ac)_0xa4fd25[_0x4de817(0x225)](Number(_0x2bb501));return _0x5d2179[_0x4de817(0x4a0)](_0x2e4759=>_0xa4fd25[_0x4de817(0x457)](_0x2e4759[_0x4de817(0x200)]));}return[];};function _0x1fa596(_0x340fe4){const _0x3216e5=_0x2acbad;let _0x2015cf=_0x340fe4[_0x3216e5(0x3d7)](_0x11d3b6[_0x3216e5(0x22c)]),_0x946193=(0x0,_0x3fd577[_0x3216e5(0x4ae)])(_0x340fe4),_0x809b5=_0x1c6193(_0x3a0b7d['concat'](),_0x946193),_0x12c556=_0x31701d(_0x809b5)['map']((_0xb3df48,_0x2a7be5)=>({'icon':_0xb3df48[_0x3216e5(0x231)],'value':_0xb3df48[_0x3216e5(0x200)],'params':_0xb3df48[_0x3216e5(0x511)],'label':_0x3216e5(0x2af)+_0x809b5[_0x2a7be5][_0x3216e5(0x4be)]}));return{'id':_0x2d3027['id'],'type':_0x5ce366['MenuItemType'][_0x3216e5(0x1f0)],'selectionsCommandId':_0x2d3027['id'],'selections':_0x12c556,'icon':_0x3216e5(0x1fd),'tooltip':_0x3216e5(0x25c),'activated$':(0x0,_0x3ea34e[_0x3216e5(0x39b)])(_0x2015cf,!0x1,()=>new _0x20d33d[(_0x3216e5(0x238))](_0x53ae6e=>{const _0x2bf3b9=_0x3216e5;_0x53ae6e[_0x2bf3b9(0x207)](!0x1);})),'hidden$':(0x0,_0x5ce366[_0x3216e5(0x21d)])(_0x340fe4,_0x11d3b6[_0x3216e5(0x3ce)][_0x3216e5(0x473)]),'disabled$':(0x0,_0x3ea34e[_0x3216e5(0x35b)])(_0x340fe4)};}function _0x28de41(_0x544bf3){const _0x559b68=_0x2acbad;let _0x8b7119=_0x544bf3['get'](_0x251774['ISheetDrawingService']);return _0x8b7119['focus$']['pipe']((0x0,_0x20d33d[_0x559b68(0x406)])(_0x8b7119['getFocusDrawings']()),(0x0,_0x20d33d[_0x559b68(0x38b)])(()=>_0x46a63c(_0x544bf3)==null));}function _0x1ccaa2(_0x5e846f){const _0x1c9b16=_0x2acbad;return{'id':_0xb6569e['id'],'commandId':_0xb6569e['id'],'type':_0x5ce366[_0x1c9b16(0x398)][_0x1c9b16(0x1e4)],'title':_0x5e846f[_0x1c9b16(0x3d7)](_0x11d3b6[_0x1c9b16(0x4a3)])['t'](_0x1c9b16(0x2b3)),'icon':_0x1c9b16(0x359),'hidden$':_0x28de41(_0x5e846f)};}function _0x3b8365(_0x3d7d3a){const _0x4b9b87=_0x2acbad;return{'id':_0x5e9998['id'],'commandId':_0x5e9998['id'],'type':_0x5ce366[_0x4b9b87(0x398)][_0x4b9b87(0x1e4)],'title':_0x3d7d3a[_0x4b9b87(0x3d7)](_0x11d3b6['LocaleService'])['t'](_0x4b9b87(0x39f)),'icon':_0x4b9b87(0x41b),'hidden$':_0x28de41(_0x3d7d3a)};}function _0x5d2235(_0x5413b8){const _0x5ab079=_0x2acbad;return{'id':_0x28fecc['id'],'commandId':_0x28fecc['id'],'type':_0x5ce366['MenuItemType'][_0x5ab079(0x1e4)],'title':_0x5413b8[_0x5ab079(0x3d7)](_0x11d3b6[_0x5ab079(0x4a3)])['t'](_0x5ab079(0x470)),'icon':_0x5ab079(0x27c),'hidden$':_0x28de41(_0x5413b8)};}function _0x4e5890(_0x2ad87c){const _0x255abd=_0x2acbad;return{'id':_0x57a858['id'],'commandId':_0x57a858['id'],'type':_0x5ce366[_0x255abd(0x398)]['BUTTON'],'title':_0x2ad87c['get'](_0x11d3b6['LocaleService'])['t'](_0x255abd(0x2d3)),'icon':_0x255abd(0x263),'hidden$':_0x28de41(_0x2ad87c)};}let _0x324d59={[_0x5ce366[_0x2acbad(0x446)][_0x2acbad(0x368)]]:{[_0x2d3027['id']]:{'order':0x4,'menuItemFactory':_0x1fa596}},[_0x5ce366[_0x2acbad(0x44a)]['DRAWING']]:{[_0x5ce366[_0x2acbad(0x2a4)][_0x2acbad(0x459)]]:{[_0xb6569e['id']]:{'order':0x0,'menuItemFactory':_0x1ccaa2},[_0x5e9998['id']]:{'order':0x1,'menuItemFactory':_0x3b8365},[_0x28fecc['id']]:{'order':0x3,'menuItemFactory':_0x5d2235},[_0x57a858['id']]:{'order':0x4,'menuItemFactory':_0x4e5890}}}};function _0x413fb4(_0x302b95){const _0x46efb2=_0x2acbad;return _0x302b95===_0x255b48[_0x46efb2(0x1b7)][_0x46efb2(0x248)]||_0x302b95===_0x255b48[_0x46efb2(0x1b7)][_0x46efb2(0x452)]||_0x302b95===_0x255b48[_0x46efb2(0x1b7)][_0x46efb2(0x3cf)]||_0x255b48[_0x46efb2(0x304)]['baseOn'](_0x302b95,_0x255b48[_0x46efb2(0x1b7)][_0x46efb2(0x1db)])||_0x255b48[_0x46efb2(0x304)][_0x46efb2(0x1ec)](_0x302b95,_0x255b48[_0x46efb2(0x1b7)][_0x46efb2(0x240)])||_0x255b48[_0x46efb2(0x304)][_0x46efb2(0x1ec)](_0x302b95,_0x255b48[_0x46efb2(0x1b7)]['Area'])||_0x255b48[_0x46efb2(0x304)]['baseOn'](_0x302b95,_0x255b48[_0x46efb2(0x1b7)][_0x46efb2(0x512)]);}function _0x50c465(_0x51dc8c){const _0x20033d=_0x2acbad;return _0x413fb4(_0x51dc8c)||_0x255b48[_0x20033d(0x304)][_0x20033d(0x1ec)](_0x51dc8c,_0x255b48[_0x20033d(0x1b7)][_0x20033d(0x528)])||_0x255b48[_0x20033d(0x304)][_0x20033d(0x1ec)](_0x51dc8c,_0x255b48[_0x20033d(0x1b7)][_0x20033d(0x4f9)])||_0x255b48['chartBitsUtils'][_0x20033d(0x1ec)](_0x51dc8c,_0x255b48['ChartTypeBits'][_0x20033d(0x451)]);}function _0x1d5585(_0x4534c1,_0x1970ab){const _0x545890=_0x2acbad;let _0x3ced8f=(0x0,_0x2eb124['resolveChartElementSelection'])(_0x4534c1,_0x1970ab),_0x141f80=_0x3ced8f?(0x0,_0x2eb124[_0x545890(0x2b9)])(_0x3ced8f[_0x545890(0x4d3)]):void 0x0;if(!(!_0x3ced8f||!_0x141f80))return{..._0x3ced8f,'route':_0x141f80,'showFloatMenu':_0x50c465(_0x4534c1[_0x545890(0x401)])&&_0x3ced8f['showFloatMenu']};}function _0x22da9b(_0x2177e9,_0x1a6a0b=0x1){const _0x128a36=_0x2acbad;return{'width':Math[_0x128a36(0x440)](_0x1a6a0b,_0x2177e9['width']),'height':Math[_0x128a36(0x440)](_0x1a6a0b,_0x2177e9['height'])};}function _0x49ec2f(_0x35f504,_0x447c83={},_0x3dcf64={'left':0x0,'top':0x0}){const _0x3440be=_0x2acbad;let _0x5bf355=_0x447c83[_0x3440be(0x26f)]??0x1,_0x3b2c7a=_0x447c83[_0x3440be(0x3e2)]??0x1,_0x4a03da=_0x2eb124[_0x3440be(0x2ea)][_0x3440be(0x1da)]({'logicalOuterRect':{'left':_0x3dcf64['left']>0x0?-_0x3dcf64['left']:0x0,'top':_0x3dcf64['top']>0x0?-_0x3dcf64[_0x3440be(0x3bb)]:0x0,..._0x22da9b(_0x35f504)},'scale':{'scaleX':_0x5bf355,'scaleY':_0x3b2c7a},'hostStyle':{},'contentMode':_0x2eb124['ChartFrameContentMode']['Overlay']});return{'left':_0x4a03da[_0x3440be(0x3e6)]['left'],'top':_0x4a03da[_0x3440be(0x3e6)]['top'],'width':_0x4a03da[_0x3440be(0x3e6)][_0x3440be(0x4a8)],'height':_0x4a03da['logicalOuterRect'][_0x3440be(0x2c7)],'scaleX':_0x5bf355,'scaleY':_0x3b2c7a};}function _0x4f3d09(_0x278698){'@babel/helpers - typeof';const _0x20b3f0=_0x2acbad;return _0x4f3d09=typeof Symbol==_0x20b3f0(0x4b2)&&typeof Symbol[_0x20b3f0(0x1ad)]==_0x20b3f0(0x39d)?function(_0x174867){return typeof _0x174867;}:function(_0x414925){const _0x162863=_0x20b3f0;return _0x414925&&typeof Symbol==_0x162863(0x4b2)&&_0x414925[_0x162863(0x416)]===Symbol&&_0x414925!==Symbol[_0x162863(0x295)]?_0x162863(0x39d):typeof _0x414925;},_0x4f3d09(_0x278698);}function _0x189977(_0x48cc59,_0x3c7b3a){const _0x1658da=_0x2acbad;if(_0x4f3d09(_0x48cc59)!=_0x1658da(0x3da)||!_0x48cc59)return _0x48cc59;var _0x289656=_0x48cc59[Symbol[_0x1658da(0x4ab)]];if(_0x289656!==void 0x0){var _0x533ef9=_0x289656['call'](_0x48cc59,_0x3c7b3a||_0x1658da(0x3e8));if(_0x4f3d09(_0x533ef9)!=_0x1658da(0x3da))return _0x533ef9;throw TypeError(_0x1658da(0x3e5));}return(_0x3c7b3a===_0x1658da(0x532)?String:Number)(_0x48cc59);}function _0x4a0959(_0x15d1bd){const _0x1c4ff3=_0x2acbad;var _0x5ca2d8=_0x189977(_0x15d1bd,_0x1c4ff3(0x532));return _0x4f3d09(_0x5ca2d8)=='symbol'?_0x5ca2d8:_0x5ca2d8+'';}function _0x44c5f1(_0x20886d,_0x8e149f,_0x48e714){const _0x185ef2=_0x2acbad;return(_0x8e149f=_0x4a0959(_0x8e149f))in _0x20886d?Object[_0x185ef2(0x493)](_0x20886d,_0x8e149f,{'value':_0x48e714,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x20886d[_0x8e149f]=_0x48e714,_0x20886d;}function _0x4a0e6b(_0x1d221b){const _0x27cdf3=_0x2acbad;switch(_0x1d221b[_0x27cdf3(0x4c0)]){case _0x255b48['ChartImageSourceType'][_0x27cdf3(0x4e5)]:return _0x1d221b['canvas'];case _0x255b48[_0x27cdf3(0x382)][_0x27cdf3(0x4dd)]:return _0x1d221b[_0x27cdf3(0x2e4)];default:return;}}var _0x44253b=class extends _0x1d1477[_0x2acbad(0x366)]{constructor(_0x1251b8,_0x2519bc,_0x50fe4d,_0x2bd46f=()=>!0x1,_0x47d39f=()=>{}){const _0x18b469=_0x2acbad;super(_0x1251b8,{..._0x2519bc,'evented':_0x2519bc[_0x18b469(0x343)]??!0x0}),this[_0x18b469(0x3b1)]=_0x50fe4d,this[_0x18b469(0x3a6)]=_0x2bd46f,this[_0x18b469(0x1e9)]=_0x47d39f,_0x44c5f1(this,'_urlImage',null),_0x44c5f1(this,'_url',null),this['setObjectType'](_0x1d1477[_0x18b469(0x538)]['CHART']);}['dispose'](){const _0x2454e5=_0x2acbad;this[_0x2454e5(0x1e9)](),super[_0x2454e5(0x3cb)]();}[_0x2acbad(0x1bb)](_0x54828b,_0x176f34){const _0x2f9284=_0x2acbad;if(!this['visible']||this[_0x2f9284(0x3a6)]())return this['makeDirty'](!0x1),this;if(!this['transform'])return this;let {width:_0x258fe9,height:_0x49e2dd,left:_0x327243,top:_0x12a1ec}=this[_0x2f9284(0x363)]();if(this[_0x2f9284(0x51a)](_0x176f34)){let {top:_0x36e2d7,left:_0x599002,bottom:_0x21ceea,right:_0x1d145a}=_0x176f34['viewBound'];if(_0x258fe9+this[_0x2f9284(0x421)]+_0x327243<_0x599002||_0x1d145a<_0x327243||_0x49e2dd+this[_0x2f9284(0x421)]+_0x12a1ec<_0x36e2d7||_0x21ceea<_0x12a1ec)return this;}let _0x15f482=this[_0x2f9284(0x429)][_0x2f9284(0x2b7)]();_0x54828b[_0x2f9284(0x27e)]();let _0x1eee6e=_0x327243+_0x258fe9/0x2,_0xffdea5=_0x12a1ec+_0x49e2dd/0x2;return _0x54828b[_0x2f9284(0x429)](_0x15f482[0x0],_0x15f482[0x1],_0x15f482[0x2],_0x15f482[0x3],_0x1eee6e,_0xffdea5),this[_0x2f9284(0x386)]!==0x1&&(_0x54828b[_0x2f9284(0x37d)]=this[_0x2f9284(0x386)]),this[_0x2f9284(0x1c2)](_0x54828b,void 0x0,_0x258fe9,_0x49e2dd),_0x54828b[_0x2f9284(0x44b)](),this['makeDirty'](!0x1),this;}['_draw'](_0x1f817a,_0x4c2a55,_0x4195fb=this[_0x2acbad(0x4a8)],_0x428f5b=this[_0x2acbad(0x2c7)]){const _0x4a9c23=_0x2acbad;this['_drawChartFrame'](_0x1f817a,_0x4195fb,_0x428f5b,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x4a9c23(0x2a3)](_0x1f817a,_0x4195fb,_0x428f5b),this[_0x4a9c23(0x46e)](_0x1f817a,_0x4195fb,_0x428f5b,{'fill':void 0x0});}['_drawChartFrame'](_0x5f4f0e,_0x43b690,_0x3a596c,_0xbbc8db){const _0x5842af=_0x2acbad;_0x5f4f0e[_0x5842af(0x27e)](),_0x5f4f0e[_0x5842af(0x3aa)](-_0x43b690/0x2,-_0x3a596c/0x2),_0x1d1477['Rect'][_0x5842af(0x3a7)](_0x5f4f0e,_0x540743(this,_0x43b690,_0x3a596c,_0xbbc8db)),_0x5f4f0e['restore']();}[_0x2acbad(0x20c)](_0x188d09){const _0x119ae7=_0x2acbad;let {left:_0x48f7ad,top:_0x338647,width:_0x390ab1,height:_0x4e4e52}=this[_0x119ae7(0x363)](),_0x1e0d80=_0x48f7ad+_0x390ab1/0x2,_0x58f3f6=_0x338647+_0x4e4e52/0x2,_0x3e3afa=this[_0x119ae7(0x429)][_0x119ae7(0x2b7)](),_0x52c02d=new _0x1d1477[(_0x119ae7(0x222))]([_0x3e3afa[0x0],_0x3e3afa[0x1],_0x3e3afa[0x2],_0x3e3afa[0x3],_0x1e0d80,_0x58f3f6]),_0x3ea12d=this[_0x119ae7(0x1fb)](),_0x206dd2=(this[_0x119ae7(0x2c3)]&&(_0x3ea12d==null?void 0x0:_0x3ea12d['classType'])===_0x1d1477[_0x119ae7(0x53d)]['GROUP']?_0x3ea12d[_0x119ae7(0x4f8)]['multiply'](_0x52c02d):_0x52c02d)[_0x119ae7(0x227)]()[_0x119ae7(0x31e)](_0x188d09),_0x2e2f81=_0x390ab1/0x2,_0x1856b3=_0x4e4e52/0x2;return _0x206dd2['x']>=-_0x2e2f81-this['strokeWidth']/0x2&&_0x206dd2['x']<=_0x2e2f81+this[_0x119ae7(0x421)]/0x2&&_0x206dd2['y']>=-_0x1856b3-this['strokeWidth']/0x2&&_0x206dd2['y']<=_0x1856b3+this[_0x119ae7(0x421)]/0x2;}[_0x2acbad(0x2a3)](_0x5cca75,_0x4e00d4,_0x19f3f3){const _0x1f6bd5=_0x2acbad;let _0xf1005d=this[_0x1f6bd5(0x3b1)](),_0x4144fc=_0xf1005d?this['_getDrawable'](_0xf1005d):void 0x0;if(!_0x4144fc)return;let {width:_0x46d711,height:_0x152f77}=_0x22da9b({'width':_0x4e00d4,'height':_0x19f3f3},0x0);_0x46d711!==0x0&&_0x152f77!==0x0&&(_0x5cca75[_0x1f6bd5(0x27e)](),_0x5cca75[_0x1f6bd5(0x3aa)](-_0x4e00d4/0x2,-_0x19f3f3/0x2),_0x42932c(_0x5cca75,_0x46d711,_0x152f77,this[_0x1f6bd5(0x414)]),_0x5cca75[_0x1f6bd5(0x1f8)](),_0x5cca75[_0x1f6bd5(0x3b6)](_0x4144fc,0x0,0x0,_0x46d711,_0x152f77),_0x5cca75['restore']());}['_getDrawable'](_0x1d1270){const _0x3cf646=_0x2acbad;var _0x572b34;let _0x49711d=_0x4a0e6b(_0x1d1270);if(_0x49711d)return _0x49711d;if(_0x1d1270['type']===_0x255b48[_0x3cf646(0x382)][_0x3cf646(0x352)]&&(this[_0x3cf646(0x1d5)]!==_0x1d1270[_0x3cf646(0x490)]&&(this[_0x3cf646(0x1d5)]=_0x1d1270[_0x3cf646(0x490)],this[_0x3cf646(0x3c5)]=document[_0x3cf646(0x53a)](_0x3cf646(0x4b3)),this[_0x3cf646(0x3c5)][_0x3cf646(0x1f5)]=_0x3cf646(0x34c),this[_0x3cf646(0x3c5)][_0x3cf646(0x3be)]=()=>this[_0x3cf646(0x405)](!0x0),this[_0x3cf646(0x3c5)][_0x3cf646(0x34a)]=_0x1d1270['url']),(_0x572b34=this[_0x3cf646(0x3c5)])!=null&&_0x572b34[_0x3cf646(0x2da)]&&this['_urlImage'][_0x3cf646(0x52d)]>0x0&&this[_0x3cf646(0x3c5)][_0x3cf646(0x3b9)]>0x0))return this[_0x3cf646(0x3c5)];}};function _0x540743(_0x1cfb2c,_0x93d65d,_0x174bab,_0x10e018){const _0x414704=_0x2acbad;let _0xe9e4eb=Object[_0x414704(0x281)](_0x1cfb2c);return Object[_0x414704(0x493)](_0xe9e4eb,_0x414704(0x4a8),{'value':_0x93d65d}),Object['defineProperty'](_0xe9e4eb,_0x414704(0x2c7),{'value':_0x174bab}),Object[_0x414704(0x491)](_0x10e018)['forEach'](_0x4a9aa2=>{Object['defineProperty'](_0xe9e4eb,_0x4a9aa2,{'value':_0x10e018[_0x4a9aa2]});}),_0xe9e4eb;}function _0x42932c(_0x2cba79,_0x5848c2,_0x4c01c8,_0x1f5c26){const _0x54caee=_0x2acbad;let _0x3ec6bf=Math[_0x54caee(0x4ef)](_0x1f5c26||0x0,_0x5848c2/0x2,_0x4c01c8/0x2);if(_0x2cba79[_0x54caee(0x4f4)](),!_0x3ec6bf){_0x2cba79['rect'](0x0,0x0,_0x5848c2,_0x4c01c8),_0x2cba79[_0x54caee(0x4f1)]();return;}_0x2cba79[_0x54caee(0x36c)](_0x3ec6bf,0x0),_0x2cba79['lineTo'](_0x5848c2-_0x3ec6bf,0x0),_0x2cba79[_0x54caee(0x326)](_0x5848c2-_0x3ec6bf,_0x3ec6bf,_0x3ec6bf,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cba79[_0x54caee(0x2ce)](_0x5848c2,_0x4c01c8-_0x3ec6bf),_0x2cba79[_0x54caee(0x326)](_0x5848c2-_0x3ec6bf,_0x4c01c8-_0x3ec6bf,_0x3ec6bf,0x0,Math['PI']/0x2,!0x1),_0x2cba79['lineTo'](_0x3ec6bf,_0x4c01c8),_0x2cba79[_0x54caee(0x326)](_0x3ec6bf,_0x4c01c8-_0x3ec6bf,_0x3ec6bf,Math['PI']/0x2,Math['PI'],!0x1),_0x2cba79[_0x54caee(0x2ce)](0x0,_0x3ec6bf),_0x2cba79[_0x54caee(0x326)](_0x3ec6bf,_0x3ec6bf,_0x3ec6bf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cba79[_0x54caee(0x4f1)]();}function _0x15cc9e(_0x570bb7){const _0x25e711=_0x2acbad;(_0x570bb7==null?void 0x0:_0x570bb7['type'])===_0x255b48[_0x25e711(0x382)][_0x25e711(0x4dd)]&&_0x570bb7['imageBitmap'][_0x25e711(0x2c5)]();}function _0x56900a(_0x1f9898){const _0x466830=_0x2acbad;return _0x1f9898['unitId']+_0x466830(0x3df)+_0x1f9898[_0x466830(0x279)]+_0x466830(0x3df)+_0x1f9898['chartId'];}var _0x41dc31=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(..._0x4e2b5e){const _0x40b62a=_0x2acbad;super(..._0x4e2b5e),_0x44c5f1(this,_0x40b62a(0x239),new Map());}[_0x2acbad(0x23d)](_0x4d3e8f){const _0xec36bb=_0x2acbad;let _0x19fa0d=_0x56900a(_0x4d3e8f),_0x504465=this[_0xec36bb(0x239)][_0xec36bb(0x3d7)](_0x19fa0d)??{'version':0x0};return _0x504465[_0xec36bb(0x38a)]+=0x1,this['_entries']['set'](_0x19fa0d,_0x504465),_0x504465[_0xec36bb(0x38a)];}['isLatest'](_0xc0c9c6,_0x2f5b9d){const _0xb82f3e=_0x2acbad;var _0x9ecbe6;return((_0x9ecbe6=this[_0xb82f3e(0x239)][_0xb82f3e(0x3d7)](_0x56900a(_0xc0c9c6)))==null?void 0x0:_0x9ecbe6[_0xb82f3e(0x38a)])===_0x2f5b9d;}[_0x2acbad(0x31d)](_0x1b5447,_0x1851e9,_0x5e8ac5){const _0x35cdd1=_0x2acbad;if(!this['isLatest'](_0x1b5447,_0x5e8ac5))return _0x15cc9e(_0x1851e9),!0x1;let _0x5a137e=_0x56900a(_0x1b5447),_0xbe5fcb=this[_0x35cdd1(0x239)][_0x35cdd1(0x3d7)](_0x5a137e)??{'version':_0x5e8ac5},_0x3fb06b=_0xbe5fcb[_0x35cdd1(0x328)];return _0xbe5fcb[_0x35cdd1(0x328)]=_0x1851e9,_0xbe5fcb[_0x35cdd1(0x38a)]=_0x5e8ac5,this[_0x35cdd1(0x239)][_0x35cdd1(0x44e)](_0x5a137e,_0xbe5fcb),_0x3fb06b!==_0x1851e9&&_0x15cc9e(_0x3fb06b),!0x0;}[_0x2acbad(0x422)](_0x27219c){const _0x2b3e68=_0x2acbad;var _0x2ff8ea;return(_0x2ff8ea=this[_0x2b3e68(0x239)][_0x2b3e68(0x3d7)](_0x56900a(_0x27219c)))==null?void 0x0:_0x2ff8ea[_0x2b3e68(0x328)];}[_0x2acbad(0x4a9)](_0x34c506){const _0x320d3c=_0x2acbad;let _0x39ba85=_0x56900a(_0x34c506),_0x38d4ee=this['_entries']['get'](_0x39ba85);_0x38d4ee&&(_0x15cc9e(_0x38d4ee[_0x320d3c(0x328)]),this[_0x320d3c(0x239)][_0x320d3c(0x394)](_0x39ba85));}['clearChart'](_0x5f2e29){const _0x37bf2b=_0x2acbad;for(let [_0x4271ff,_0x65cd06]of this[_0x37bf2b(0x239)])_0x4271ff['endsWith'](_0x37bf2b(0x3df)+_0x5f2e29)&&(_0x15cc9e(_0x65cd06[_0x37bf2b(0x328)]),this['_entries'][_0x37bf2b(0x394)](_0x4271ff));}[_0x2acbad(0x3cb)](){const _0x99362=_0x2acbad;this[_0x99362(0x239)]['forEach'](_0x532bc=>_0x15cc9e(_0x532bc[_0x99362(0x328)])),this[_0x99362(0x239)][_0x99362(0x2c9)](),super['dispose']();}};function _0x7c047c(_0x1c04ca,_0xa1776=0x7d0){let _0xc0c558=null,_0x3decf6=null,_0x4eb236=!0x1,_0x33b84a=()=>{},_0x3c3110=()=>{_0xc0c558!=null&&(clearInterval(_0xc0c558),_0xc0c558=null),_0x3decf6!=null&&(clearTimeout(_0x3decf6),_0x3decf6=null);};return{'promise':new Promise((_0x3f11c2,_0x17018f)=>{_0x33b84a=_0x17018f;let _0xb64e9e=()=>{let _0x2813c9=document['getElementById'](_0x1c04ca);!_0x2813c9||_0x4eb236||(_0x4eb236=!0x0,_0x3c3110(),_0x3f11c2(_0x2813c9));};_0xb64e9e(),!_0x4eb236&&(_0xc0c558=setInterval(_0xb64e9e,16.666666666666668),_0x3decf6=setTimeout(()=>{_0x4eb236||(_0x4eb236=!0x0,_0x3c3110(),_0x17018f(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x1c04ca+'\x22.')));},_0xa1776));}),'cancel':()=>{const _0x2b4f06=_0x9495;_0x4eb236||(_0x4eb236=!0x0,_0x3c3110(),_0x33b84a(Error(_0x2b4f06(0x27a)+_0x1c04ca+'\x22.')));}};}var _0xf84655=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x564155,_0x5151bf,_0x33f150,_0x2bf65e,_0x793edc,_0x51c8f7,_0x138db6){const _0x25d4bf=_0x2acbad;super(),this['chartId']=_0x564155,this[_0x25d4bf(0x4d4)]=_0x5151bf,this[_0x25d4bf(0x29b)]=_0x33f150,this['_setHostStyle']=_0x2bf65e,this['_isProviderDisposed']=_0x793edc,this[_0x25d4bf(0x527)]=_0x51c8f7,this[_0x25d4bf(0x2dd)]=_0x138db6,_0x44c5f1(this,_0x25d4bf(0x2aa),_0x255b48[_0x25d4bf(0x26a)]['Dom']),_0x44c5f1(this,_0x25d4bf(0x33f),null),_0x44c5f1(this,_0x25d4bf(0x1df),!0x1),_0x44c5f1(this,_0x25d4bf(0x319),null),_0x44c5f1(this,_0x25d4bf(0x218),null),_0x44c5f1(this,'_waiter',null),_0x44c5f1(this,_0x25d4bf(0x514),{}),_0x44c5f1(this,_0x25d4bf(0x392),null);}[_0x2acbad(0x362)](){const _0x3ceb47=_0x2acbad;return this[_0x3ceb47(0x1df)];}[_0x2acbad(0x483)](){const _0x370fec=_0x2acbad;this[_0x370fec(0x1df)]=!0x1;}['getRect'](){const _0xd337a5=_0x2acbad;let _0x2d4aba=this['_getPlacement']();return _0x2d4aba?{'width':_0x2d4aba[_0xd337a5(0x4a8)],'height':_0x2d4aba['height']}:null;}['setStyle'](_0x1f0421){const _0xed9449=_0x2acbad;this['_hostStyle']=_0x1f0421,this[_0xed9449(0x38d)](_0x1f0421),this[_0xed9449(0x305)]();}async['ensureHandle'](){const _0x5076a0=_0x2acbad;if(this[_0x5076a0(0x2d6)]||this['_isProviderDisposed']())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x48c709=this[_0x5076a0(0x4d4)](),_0x57266e=(_0x48c709==null?void 0x0:_0x48c709[_0x5076a0(0x235)])??this[_0x5076a0(0x205)],_0xcec534=document['getElementById'](_0x57266e);if(this[_0x5076a0(0x33f)]&&_0xcec534!=null&&_0xcec534[_0x5076a0(0x2a0)](this[_0x5076a0(0x33f)][_0x5076a0(0x31b)]))return{'mountNode':this[_0x5076a0(0x33f)]['mountNode'],'dispose':()=>{const _0x3b00d2=_0x5076a0;this[_0x3b00d2(0x3cb)](),_0x48c709==null||_0x48c709[_0x3b00d2(0x3cb)]['dispose']();}};if(this[_0x5076a0(0x218)])return this['_pendingHost'];let _0x3fe03e=this[_0x5076a0(0x1c8)]();return this[_0x5076a0(0x218)]=_0x3fe03e,_0x3fe03e[_0x5076a0(0x378)](()=>{const _0x447aae=_0x5076a0;this[_0x447aae(0x218)]===_0x3fe03e&&(this[_0x447aae(0x218)]=null);},()=>{const _0x348992=_0x5076a0;this['_pendingHost']===_0x3fe03e&&(this[_0x348992(0x218)]=null);}),_0x3fe03e;}async[_0x2acbad(0x338)](){const _0x381671=_0x2acbad;try{return(await this[_0x381671(0x387)]())['mountNode'];}catch{return null;}}['checkMounted'](){const _0x36b753=_0x2acbad;let _0xe79c55=this['_getFloatDomInfo'](),_0x1d7dfd=(_0xe79c55==null?void 0x0:_0xe79c55[_0x36b753(0x235)])??this['chartId'],_0x70f1bd=document[_0x36b753(0x23b)](_0x1d7dfd);return!!(this[_0x36b753(0x33f)]&&_0x70f1bd!=null&&_0x70f1bd[_0x36b753(0x2a0)](this[_0x36b753(0x33f)][_0x36b753(0x31b)]));}[_0x2acbad(0x206)](){const _0xcc0fe8=_0x2acbad;if(!this[_0xcc0fe8(0x33f)])return;let _0x10f87e=this[_0xcc0fe8(0x29b)]();_0x10f87e&&this[_0xcc0fe8(0x33f)][_0xcc0fe8(0x479)](this[_0xcc0fe8(0x2c1)](_0x10f87e),this[_0xcc0fe8(0x33c)]());}['markReady'](){const _0x87fbd9=_0x2acbad;this[_0x87fbd9(0x527)]();}[_0x2acbad(0x463)](){const _0x758a9c=_0x2acbad;this[_0x758a9c(0x2dd)]();}['dispose'](){const _0x52eef9=_0x2acbad;var _0x57759f;this['_disposed']||(this[_0x52eef9(0x463)](),this[_0x52eef9(0x319)]=null,this['_pendingHost']=null,this[_0x52eef9(0x1ac)](),this[_0x52eef9(0x1df)]=!0x1,(_0x57759f=this[_0x52eef9(0x33f)])==null||_0x57759f['dispose'](),this[_0x52eef9(0x33f)]=null,this[_0x52eef9(0x255)](),super[_0x52eef9(0x3cb)]());}async['_createHost'](){const _0x5ae13c=_0x2acbad;let _0x447db5=this[_0x5ae13c(0x4d4)]();if(!_0x447db5)throw Error(_0x5ae13c(0x46a));let _0x4cfa66=_0x447db5['domId']??this[_0x5ae13c(0x205)],_0x5bb1c5=_0x7c047c(_0x4cfa66),_0x5cc0c1=Symbol(this['chartId']);this[_0x5ae13c(0x319)]=_0x5cc0c1,this[_0x5ae13c(0x4cd)]=_0x5bb1c5;try{let _0x2c2ed7=await _0x5bb1c5[_0x5ae13c(0x36d)],_0x591558=this[_0x5ae13c(0x4d4)](),_0x15bbc7=(_0x591558==null?void 0x0:_0x591558[_0x5ae13c(0x235)])??this[_0x5ae13c(0x205)];if(this[_0x5ae13c(0x2d6)]||this['_isProviderDisposed']()||this[_0x5ae13c(0x319)]!==_0x5cc0c1||!_0x591558||_0x15bbc7!==_0x4cfa66||document[_0x5ae13c(0x23b)](_0x4cfa66)!==_0x2c2ed7||!_0x2c2ed7[_0x5ae13c(0x3d1)])throw Error(_0x5ae13c(0x46a));let _0x50cca5=this[_0x5ae13c(0x29b)]();if(!_0x50cca5)throw Error(_0x5ae13c(0x46a));let _0x168f9f=new _0x2eb124[(_0x5ae13c(0x21a))](_0x2c2ed7);return _0x168f9f['update'](this[_0x5ae13c(0x2c1)](_0x50cca5),this[_0x5ae13c(0x33c)]()),this[_0x5ae13c(0x230)](_0x2c2ed7),this[_0x5ae13c(0x33f)]=_0x168f9f,this[_0x5ae13c(0x1df)]=!0x0,{'mountNode':_0x168f9f[_0x5ae13c(0x31b)],'dispose':()=>{const _0x16efe0=_0x5ae13c;this[_0x16efe0(0x3cb)](),_0x447db5['dispose'][_0x16efe0(0x3cb)]();}};}finally{this[_0x5ae13c(0x4cd)]===_0x5bb1c5&&(this[_0x5ae13c(0x4cd)]=null),this[_0x5ae13c(0x319)]===_0x5cc0c1&&(this[_0x5ae13c(0x319)]=null);}}[_0x2acbad(0x1ac)](){const _0x1470bf=_0x2acbad;let _0x2f3651=this[_0x1470bf(0x4cd)];_0x2f3651&&(_0x2f3651[_0x1470bf(0x381)](),this[_0x1470bf(0x4cd)]=null);}['_applyHostStyle'](){const _0x4b7f2b=_0x2acbad;let _0x39f77d=this[_0x4b7f2b(0x29b)]();this['_domFrame']&&_0x39f77d&&this[_0x4b7f2b(0x33f)]['update'](this[_0x4b7f2b(0x2c1)](_0x39f77d),this[_0x4b7f2b(0x33c)]());}[_0x2acbad(0x2c1)](_0x2b7dd1){const _0x1da0e0=_0x2acbad;return _0x2eb124[_0x1da0e0(0x2ea)]['resolve']({'logicalOuterRect':{'left':_0x2b7dd1[_0x1da0e0(0x2b4)],'top':_0x2b7dd1[_0x1da0e0(0x3bb)],'width':_0x2b7dd1[_0x1da0e0(0x4a8)],'height':_0x2b7dd1[_0x1da0e0(0x2c7)]},'scale':{'scaleX':_0x2b7dd1[_0x1da0e0(0x26f)],'scaleY':_0x2b7dd1[_0x1da0e0(0x3e2)]},'hostStyle':this['_frameStyle'](),'contentMode':_0x2eb124[_0x1da0e0(0x287)]['Overlay']});}[_0x2acbad(0x33c)](){const _0x1cf334=_0x2acbad;return{...this[_0x1cf334(0x514)],'radius':_0x2eb124[_0x1cf334(0x1f7)]};}[_0x2acbad(0x230)](_0x19a2ad){const _0x2e06f9=_0x2acbad;let _0x4ac57f=_0x19a2ad[_0x2e06f9(0x4dc)];_0x4ac57f&&(this[_0x2e06f9(0x392)]||={'zIndex':_0x4ac57f['style'][_0x2e06f9(0x42f)],'pointerEvents':_0x4ac57f[_0x2e06f9(0x296)][_0x2e06f9(0x367)]},_0x4ac57f[_0x2e06f9(0x296)][_0x2e06f9(0x42f)]=_0x2e06f9(0x36a),_0x4ac57f[_0x2e06f9(0x296)][_0x2e06f9(0x367)]=_0x2e06f9(0x43d));}[_0x2acbad(0x255)](){const _0x91d517=_0x2acbad;var _0x40b584;if(!this[_0x91d517(0x392)])return;let _0x357aea=this['_getFloatDomInfo'](),_0x433ca1=(_0x357aea==null?void 0x0:_0x357aea[_0x91d517(0x235)])??this[_0x91d517(0x205)],_0x29028d=(_0x40b584=document[_0x91d517(0x23b)](_0x433ca1))==null?void 0x0:_0x40b584[_0x91d517(0x4dc)];_0x29028d&&(_0x29028d[_0x91d517(0x296)]['zIndex']=this[_0x91d517(0x392)][_0x91d517(0x42f)],_0x29028d[_0x91d517(0x296)][_0x91d517(0x367)]=this[_0x91d517(0x392)][_0x91d517(0x367)]),this[_0x91d517(0x392)]=null;}},_0x7c1e39=class extends _0x255b48['ImageChartHost']{constructor(_0x41e40a,_0x132dbe,_0x2e5f8a,_0xd50eee,_0x2ce9be,_0x27511e){const _0x2f41c3=_0x2acbad;super(_0x41e40a),this[_0x2f41c3(0x4ed)]=_0x132dbe,this[_0x2f41c3(0x38d)]=_0x2e5f8a,this[_0x2f41c3(0x53c)]=_0xd50eee,this[_0x2f41c3(0x544)]=_0x2ce9be,this[_0x2f41c3(0x237)]=_0x27511e;}['getRect'](){const _0x2e2809=_0x2acbad;let _0x1d3437=this[_0x2e2809(0x4ed)]();return _0x1d3437?_0x22da9b(_0x1d3437):null;}[_0x2acbad(0x47f)](_0x2bf158){const _0x318c4e=_0x2acbad;this[_0x318c4e(0x38d)](_0x2bf158);}[_0x2acbad(0x23d)](){const _0x257f46=_0x2acbad;return this[_0x257f46(0x544)][_0x257f46(0x23d)](this[_0x257f46(0x53c)]);}[_0x2acbad(0x209)](_0x549e82,_0x5e1efc){const _0x1bb96f=_0x2acbad;return this['_snapshotStore'][_0x1bb96f(0x31d)](this[_0x1bb96f(0x53c)],_0x549e82,_0x5e1efc);}['requestPaint'](){this['_requestPaint']();}[_0x2acbad(0x3c1)](){const _0x458aaa=_0x2acbad;this[_0x458aaa(0x544)][_0x458aaa(0x23d)](this['_snapshotKey']);}};function _0x301f42(_0x3f7348,_0xbbbb9f){return function(_0x43f226,_0x1bcc95){_0xbbbb9f(_0x43f226,_0x1bcc95,_0x3f7348);};}function _0x1ed95b(_0x521695,_0x142a69,_0x3c8b9f,_0x2b386d){const _0x2e9a9a=_0x2acbad;var _0x253c44=arguments[_0x2e9a9a(0x40b)],_0x193966=_0x253c44<0x3?_0x142a69:_0x2b386d===null?_0x2b386d=Object[_0x2e9a9a(0x357)](_0x142a69,_0x3c8b9f):_0x2b386d,_0x3f5560;if(typeof Reflect==_0x2e9a9a(0x3da)&&typeof Reflect[_0x2e9a9a(0x2fb)]=='function')_0x193966=Reflect[_0x2e9a9a(0x2fb)](_0x521695,_0x142a69,_0x3c8b9f,_0x2b386d);else{for(var _0x535b61=_0x521695[_0x2e9a9a(0x40b)]-0x1;_0x535b61>=0x0;_0x535b61--)(_0x3f5560=_0x521695[_0x535b61])&&(_0x193966=(_0x253c44<0x3?_0x3f5560(_0x193966):_0x253c44>0x3?_0x3f5560(_0x142a69,_0x3c8b9f,_0x193966):_0x3f5560(_0x142a69,_0x3c8b9f))||_0x193966);}return _0x253c44>0x3&&_0x193966&&Object['defineProperty'](_0x142a69,_0x3c8b9f,_0x193966),_0x193966;}let _0x4b6ed6=0.5;function _0x3ff36b(_0x5abf9c){const _0x50b43b=_0x2acbad;let _0x240e9f=Math[_0x50b43b(0x440)](_0x5abf9c['endX']-_0x5abf9c[_0x50b43b(0x1c4)],0x0),_0x24262c=Math['max'](_0x5abf9c['endY']-_0x5abf9c[_0x50b43b(0x261)],0x0),_0x1006d8=_0x5abf9c['absolute']['left']&&_0x5abf9c[_0x50b43b(0x4a8)]-_0x240e9f>_0x4b6ed6,_0x3bfc7f=_0x5abf9c[_0x50b43b(0x458)]['top']&&_0x5abf9c[_0x50b43b(0x2c7)]-_0x24262c>_0x4b6ed6;return!_0x1006d8&&!_0x3bfc7f?_0x5abf9c:{..._0x5abf9c,'absolute':{'left':!_0x1006d8&&_0x5abf9c['absolute'][_0x50b43b(0x2b4)],'top':!_0x3bfc7f&&_0x5abf9c[_0x50b43b(0x458)][_0x50b43b(0x3bb)]}};}function _0xf63ee1(_0x4d78b7){const _0x43dd8a=_0x2acbad;if(!Object[_0x43dd8a(0x295)][_0x43dd8a(0x445)][_0x43dd8a(0x3af)](_0x4d78b7,'border'))return _0x4d78b7;let {border:_0x419781,..._0x5cd32c}=_0x4d78b7;return{..._0x5cd32c,'stroke':(_0x419781==null?void 0x0:_0x419781[_0x43dd8a(0x2c4)])??_0x43dd8a(0x2cd),'strokeWidth':(_0x419781==null?void 0x0:_0x419781['width'])??0x0};}let _0x4ddeeb=class extends _0x11d3b6['Disposable']{constructor(_0x52bd36,_0x2bada9,_0x292c4b,_0x338dd1){const _0x18cfaf=_0x2acbad;super(),this['_sheetCanvasFloatDomManagerService']=_0x52bd36,this[_0x18cfaf(0x2fc)]=_0x2bada9,this[_0x18cfaf(0x476)]=_0x292c4b,this[_0x18cfaf(0x345)]=_0x338dd1,_0x44c5f1(this,_0x18cfaf(0x1bc),new Map()),_0x44c5f1(this,_0x18cfaf(0x4b9),new Set()),_0x44c5f1(this,_0x18cfaf(0x4e0),new _0x20d33d[(_0x18cfaf(0x1ef))]()),_0x44c5f1(this,_0x18cfaf(0x4c4),this[_0x18cfaf(0x4e0)][_0x18cfaf(0x1d0)]()),this[_0x18cfaf(0x529)](this[_0x18cfaf(0x540)][_0x18cfaf(0x44d)][_0x18cfaf(0x311)](_0x510a9a=>{const _0x883943=_0x18cfaf;let _0x5dd191=this[_0x883943(0x1bc)][_0x883943(0x3d7)](_0x510a9a['id']);_0x5dd191!=null&&_0x5dd191[_0x883943(0x362)]()&&(_0x5dd191[_0x883943(0x483)](),this[_0x883943(0x4e0)][_0x883943(0x207)](_0x510a9a['id']));}));}[_0x2acbad(0x1be)](_0x6d0297){const _0x4d8abe=_0x2acbad;if(_0x6d0297==null)return;let _0x513064=this['_renderManagerService']['getRenderUnitById'](_0x6d0297),_0x465728=_0x513064==null?void 0x0:_0x513064[_0x4d8abe(0x4da)];return _0x513064==null||_0x465728==null?null:{'scene':_0x465728,'transformer':_0x465728['getTransformerByCreate'](),'renderUnit':_0x513064,'canvas':_0x513064[_0x4d8abe(0x499)][_0x4d8abe(0x517)]()};}['setBorder'](_0x1c303b,_0x159757){const _0x1a14f0=_0x2acbad;let _0x25fd25=this[_0x1a14f0(0x540)],_0x252477=_0x159757||_0x1a14f0(0x2cd),_0x5aa723=_0x25fd25['getFloatDomInfo'](_0x1c303b);if(_0x5aa723){let {unitId:_0x2aabed,subUnitId:_0x5164c3}=_0x5aa723;_0x25fd25[_0x1a14f0(0x369)](_0x2aabed,_0x5164c3,_0x1c303b,{'stroke':_0x252477});}}['setHostStyle'](_0x8fa885,_0x40c279){const _0xdc2d5c=_0x2acbad;let _0x2c0158=this['_sheetCanvasFloatDomManagerService'],_0x46e0bf=_0x2c0158[_0xdc2d5c(0x354)](_0x8fa885);if(_0x46e0bf){let {unitId:_0x55a33e,subUnitId:_0x1f6ab7}=_0x46e0bf;_0x2c0158[_0xdc2d5c(0x369)](_0x55a33e,_0x1f6ab7,_0x8fa885,_0xf63ee1(_0x40c279));}}[_0x2acbad(0x2fa)](_0x311f37){const _0x86502=_0x2acbad;let _0xbf083c=this[_0x86502(0x540)]['getFloatDomInfo'](_0x311f37);return _0xbf083c?_0xbf083c['rect']:null;}[_0x2acbad(0x24e)](_0x35255b){const _0x2f303a=_0x2acbad;var _0x1c5c6e;return((_0x1c5c6e=this[_0x2f303a(0x1bc)][_0x2f303a(0x3d7)](_0x35255b))==null?void 0x0:_0x1c5c6e['checkMounted']())??!0x1;}[_0x2acbad(0x502)](_0x4a6c26){const _0x106470=_0x2acbad;var _0x510af8;(_0x510af8=this['_chartHostMap']['get'](_0x4a6c26))==null||_0x510af8[_0x106470(0x206)]();}['removeHost'](_0x271f45){const _0x5302e9=_0x2acbad;let _0x450d23=this[_0x5302e9(0x1bc)][_0x5302e9(0x3d7)](_0x271f45);_0x450d23==null||_0x450d23[_0x5302e9(0x3cb)](),this[_0x5302e9(0x1bc)][_0x5302e9(0x394)](_0x271f45);}async['ensureHost'](_0x5d2d5b,_0x55f950){const _0x1eb24e=_0x2acbad;if(_0x55f950===_0x255b48[_0x1eb24e(0x26a)][_0x1eb24e(0x333)])return this[_0x1eb24e(0x3f1)](_0x5d2d5b);if(_0x55f950===_0x255b48[_0x1eb24e(0x26a)][_0x1eb24e(0x26e)])return this['_getOrCreateSheetChartHost'](_0x5d2d5b);let _0x18ffa8=this[_0x1eb24e(0x40d)](_0x5d2d5b);if(!_0x18ffa8)throw Error(_0x1eb24e(0x46a));return _0x18ffa8[_0x1eb24e(0x387)]();}['isDomReady'](_0x7a1bdf){const _0x3d3c26=_0x2acbad;var _0x14713f;return this[_0x3d3c26(0x4b9)][_0x3d3c26(0x457)](_0x7a1bdf)?(_0x14713f=this[_0x3d3c26(0x1bc)][_0x3d3c26(0x3d7)](_0x7a1bdf))!=null&&_0x14713f[_0x3d3c26(0x1e0)]()?!0x0:(this[_0x3d3c26(0x4b9)][_0x3d3c26(0x394)](_0x7a1bdf),this[_0x3d3c26(0x477)](_0x7a1bdf),!0x1):!0x1;}[_0x2acbad(0x370)](_0x2d2699){const _0x336e95=_0x2acbad;this[_0x336e95(0x4b9)][_0x336e95(0x394)](_0x2d2699)&&(this['_restoreFloatDomPositionStream'](_0x2d2699),this[_0x336e95(0x331)](_0x2d2699));}[_0x2acbad(0x3c1)](_0x2f44c2){const _0x20c542=_0x2acbad;let _0xa1719a=this[_0x20c542(0x508)](_0x2f44c2);_0xa1719a&&this[_0x20c542(0x476)][_0x20c542(0x23d)](_0xa1719a);}[_0x2acbad(0x3f1)](_0x38b430){const _0x4d6efb=_0x2acbad;let _0x11e92b=this[_0x4d6efb(0x508)](_0x38b430);return!_0x11e92b||!this['getHostSize'](_0x38b430)?null:new _0x7c1e39(_0x38b430,()=>this[_0x4d6efb(0x2fa)](_0x38b430),_0x3d3d04=>this['setHostStyle'](_0x38b430,_0x3d3d04),_0x11e92b,this[_0x4d6efb(0x476)],()=>this[_0x4d6efb(0x331)](_0x38b430));}[_0x2acbad(0x40d)](_0x4274f0){const _0x1ae86e=_0x2acbad;if(!this[_0x1ae86e(0x2fa)](_0x4274f0))return null;this[_0x1ae86e(0x345)][_0x1ae86e(0x236)](_0x4274f0,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x168d8f=this[_0x1ae86e(0x1bc)][_0x1ae86e(0x3d7)](_0x4274f0);if(_0x168d8f)return _0x168d8f;let _0x29c694=new _0xf84655(_0x4274f0,()=>this['_sheetCanvasFloatDomManagerService'][_0x1ae86e(0x354)](_0x4274f0),()=>this[_0x1ae86e(0x1d8)](_0x4274f0),_0x2c1cdf=>this[_0x1ae86e(0x4d0)](_0x4274f0,_0x2c1cdf),()=>this[_0x1ae86e(0x2d6)],()=>this[_0x1ae86e(0x2f9)](_0x4274f0),()=>this['markHostNotReady'](_0x4274f0));return this[_0x1ae86e(0x1bc)][_0x1ae86e(0x44e)](_0x4274f0,_0x29c694),_0x29c694;}[_0x2acbad(0x2f9)](_0x5c74c4){const _0x36c622=_0x2acbad;this[_0x36c622(0x4b9)][_0x36c622(0x457)](_0x5c74c4)||(this[_0x36c622(0x4b9)][_0x36c622(0x225)](_0x5c74c4),this[_0x36c622(0x308)](_0x5c74c4),this[_0x36c622(0x331)](_0x5c74c4));}[_0x2acbad(0x308)](_0x14289c){const _0x33eeb5=_0x2acbad;var _0x52d52a;let _0x5b3a56=this[_0x33eeb5(0x540)][_0x33eeb5(0x354)](_0x14289c),_0x3c648c=_0x5b3a56?(_0x52d52a=this[_0x33eeb5(0x2fc)][_0x33eeb5(0x4c8)](_0x5b3a56[_0x33eeb5(0x51f)]))==null?void 0x0:_0x52d52a[_0x33eeb5(0x4da)]:null;if(!_0x5b3a56||!_0x3c648c)return;let _0x273ef5=(0x0,_0x20d33d[_0x33eeb5(0x37c)])(_0x5b3a56['position$'][_0x33eeb5(0x3c0)]((0x0,_0x20d33d[_0x33eeb5(0x1cb)])(0x1)),_0x3c648c[_0x33eeb5(0x334)][_0x33eeb5(0x3c0)]((0x0,_0x20d33d[_0x33eeb5(0x1d3)])(_0x5b3a56['position$']),(0x0,_0x20d33d[_0x33eeb5(0x38b)])(([,_0x3d6cdb])=>_0x3d6cdb)))['pipe']((0x0,_0x20d33d[_0x33eeb5(0x332)])(),(0x0,_0x20d33d['map'])(_0x3ff36b));this['_canvasFloatDomService']['updateFloatDom'](_0x14289c,{'position$':_0x273ef5});}[_0x2acbad(0x477)](_0x1de8b4){const _0x455e81=_0x2acbad;let _0x5c534c=this[_0x455e81(0x540)]['getFloatDomInfo'](_0x1de8b4);_0x5c534c&&this[_0x455e81(0x345)][_0x455e81(0x236)](_0x1de8b4,{'position$':_0x5c534c[_0x455e81(0x1ae)]});}[_0x2acbad(0x508)](_0x45bed1){const _0x1a94b0=_0x2acbad;let _0x709c8f=this[_0x1a94b0(0x540)][_0x1a94b0(0x354)](_0x45bed1);return _0x709c8f?{'unitId':_0x709c8f[_0x1a94b0(0x51f)],'subUnitId':_0x709c8f[_0x1a94b0(0x279)],'chartId':_0x45bed1}:null;}[_0x2acbad(0x331)](_0xc569be){const _0x5cb7e9=_0x2acbad;var _0x1619c3,_0x484780,_0x24c74a;let _0x530dc7=this[_0x5cb7e9(0x540)]['getFloatDomInfo'](_0xc569be);if(!_0x530dc7)return;let _0x5c9f32=(_0x1619c3=this[_0x5cb7e9(0x2fc)]['getRenderUnitById'](_0x530dc7[_0x5cb7e9(0x51f)]))==null?void 0x0:_0x1619c3[_0x5cb7e9(0x4da)],_0x3b7c65=(_0x5c9f32==null||(_0x484780=_0x5c9f32[_0x5cb7e9(0x3d3)])==null?void 0x0:_0x484780[_0x5cb7e9(0x3af)](_0x5c9f32,(0x0,_0x470a83['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x530dc7[_0x5cb7e9(0x51f)],'subUnitId':_0x530dc7[_0x5cb7e9(0x279)],'drawingId':_0xc569be})))??(_0x5c9f32==null?void 0x0:_0x5c9f32['getObject']((0x0,_0x470a83[_0x5cb7e9(0x44c)])({'unitId':_0x530dc7[_0x5cb7e9(0x51f)],'subUnitId':_0x530dc7[_0x5cb7e9(0x279)],'drawingId':_0xc569be})))??null;_0x3b7c65==null||(_0x24c74a=_0x3b7c65[_0x5cb7e9(0x405)])==null||_0x24c74a[_0x5cb7e9(0x3af)](_0x3b7c65,!0x0),_0x5c9f32==null||_0x5c9f32['makeDirty'](!0x0);}[_0x2acbad(0x1d8)](_0x3fc14b){const _0x4fafbd=_0x2acbad;let _0x5aed04=this[_0x4fafbd(0x540)][_0x4fafbd(0x354)](_0x3fc14b);if(!_0x5aed04)return null;let _0x4bda9c=this[_0x4fafbd(0x1be)](_0x5aed04[_0x4fafbd(0x51f)]),_0x54893c=_0x4bda9c==null?void 0x0:_0x4bda9c[_0x4fafbd(0x4da)],_0x5c23dc=document['getElementById'](_0x5aed04['domId']??_0x3fc14b);return _0x49ec2f(_0x5aed04[_0x4fafbd(0x35c)],{'scaleX':(_0x54893c==null?void 0x0:_0x54893c[_0x4fafbd(0x26f)])??0x1,'scaleY':(_0x54893c==null?void 0x0:_0x54893c['scaleY'])??0x1},_0x5c23dc?{'left':_0x5c23dc[_0x4fafbd(0x484)],'top':_0x5c23dc[_0x4fafbd(0x507)]}:void 0x0);}[_0x2acbad(0x3cb)](){const _0x7cbce6=_0x2acbad;this[_0x7cbce6(0x2d6)]||(this['_chartHostMap'][_0x7cbce6(0x4ee)](_0x2b7314=>_0x2b7314[_0x7cbce6(0x3cb)]()),this[_0x7cbce6(0x1bc)]['clear'](),this[_0x7cbce6(0x4b9)]['clear'](),this['_removeHost$'][_0x7cbce6(0x2da)](),super[_0x7cbce6(0x3cb)]());}};_0x4ddeeb=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0xbf83ca[_0x2acbad(0x536)])),_0x301f42(0x1,(0x0,_0x11d3b6['Inject'])(_0x1d1477[_0x2acbad(0x3f4)])),_0x301f42(0x2,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x41dc31)),_0x301f42(0x3,(0x0,_0x11d3b6['Inject'])(_0x5ce366[_0x2acbad(0x344)]))],_0x4ddeeb);let _0x16f40b=(0x0,_0x11d3b6[_0x2acbad(0x29d)])(_0x2acbad(0x2ef)),_0x295e12=(0x0,_0x11d3b6['createIdentifier'])(_0x2acbad(0x292)),_0x28efee=class extends _0x2eb124['ChartUIService']{constructor(_0x1d93a1,_0x4a1e8f,_0xffbff4,_0x1d4c5a,_0x233dde){const _0x2b0937=_0x2acbad;super(_0x233dde),this[_0x2b0937(0x3fb)]=_0x1d93a1,this['_sheetsChartService']=_0x4a1e8f,this[_0x2b0937(0x309)]=_0xffbff4,this['_univerInstanceService']=_0x1d4c5a,_0x44c5f1(this,_0x2b0937(0x3dd),!0x1),_0x44c5f1(this,_0x2b0937(0x244),new _0x20d33d[(_0x2b0937(0x4e2))](!0x1)),_0x44c5f1(this,'_panelRoute$',new _0x20d33d[(_0x2b0937(0x4e2))](null)),_0x44c5f1(this,_0x2b0937(0x52c),this[_0x2b0937(0x244)][_0x2b0937(0x1d0)]()),_0x44c5f1(this,_0x2b0937(0x314),this[_0x2b0937(0x37a)][_0x2b0937(0x1d0)]());}get[_0x2acbad(0x275)](){const _0x293341=_0x2acbad;return this[_0x293341(0x3fb)][_0x293341(0x28c)]??null;}get['chartEditorOpen'](){const _0x1a3ccd=_0x2acbad;return this['_chartEditorOpen$'][_0x1a3ccd(0x49c)]();}get[_0x2acbad(0x214)](){const _0x2bfd5d=_0x2acbad;return this[_0x2bfd5d(0x3dd)];}[_0x2acbad(0x3d2)](_0x3663b1){this['_rangeSelectMode']=_0x3663b1;}[_0x2acbad(0x3e3)](_0x1f5343){const _0x529e68=_0x2acbad;this['_chartEditorOpen$'][_0x529e68(0x49c)]()!==_0x1f5343&&this[_0x529e68(0x244)][_0x529e68(0x207)](_0x1f5343);}[_0x2acbad(0x364)](_0x479f07){const _0x45f929=_0x2acbad;var _0x10c25e;return this['chartEditorOpen']&&((_0x10c25e=this[_0x45f929(0x3fb)][_0x45f929(0x28c)])==null?void 0x0:_0x10c25e['id'])===_0x479f07;}[_0x2acbad(0x462)](_0x9c73c1,_0x3ef088){const _0x17c3b2=_0x2acbad;this['_panelRoute$'][_0x17c3b2(0x207)]({'chartId':_0x9c73c1,'route':_0x3ef088});}['clearPanelRoute'](){const _0xbd4d11=_0x2acbad;this[_0xbd4d11(0x37a)]['next'](null);}['setDataRange'](_0x557335){const _0xe34b3=_0x2acbad;let _0x515fa5=this[_0xe34b3(0x3fb)][_0xe34b3(0x28c)];_0x515fa5&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x515fa5['id'],'range':_0x557335});}[_0x2acbad(0x229)](_0x2b3129){const _0x499bba=_0x2acbad;var _0xf7dc0a;let _0x3c4c9c=this[_0x499bba(0x3fb)][_0x499bba(0x28c)];if(!_0x3c4c9c)return;let _0x2a7d28=(_0xf7dc0a=this['_sheetsChartService'][_0x499bba(0x455)](_0x3c4c9c['id']))==null?void 0x0:_0xf7dc0a[_0x499bba(0x2a6)]();if(!_0x2a7d28)return;let _0x1a8916={..._0x2a7d28,'isRowDirection':_0x2b3129===_0x255b48[_0x499bba(0x471)]['Row']};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x3c4c9c['id'],'range':_0x1a8916});}['executeChartUpdateConfig'](_0x588b5e){const _0x121641=_0x2acbad;var _0x443ad5;this[_0x121641(0x309)][_0x121641(0x1d9)](_0x3fd577['ChartUpdateConfigCommand']['id'],{..._0x588b5e,'unitId':((_0x443ad5=this[_0x121641(0x3dc)][_0x121641(0x3b0)]())==null?void 0x0:_0x443ad5[_0x121641(0x377)]())??''});}[_0x2acbad(0x339)](_0x11ef92){const _0x301934=_0x2acbad;var _0x233eef;this[_0x301934(0x309)][_0x301934(0x1d9)](_0x3fd577['ChartUpdateSourceCommand']['id'],{..._0x11ef92,'unitId':((_0x233eef=this[_0x301934(0x3dc)][_0x301934(0x3b0)]())==null?void 0x0:_0x233eef[_0x301934(0x377)]())??''});}[_0x2acbad(0x3cb)](){const _0x25a00c=_0x2acbad;this[_0x25a00c(0x244)][_0x25a00c(0x2da)](),this['_panelRoute$'][_0x25a00c(0x2da)](),super[_0x25a00c(0x3cb)]();}};_0x28efee=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6['Inject'])(_0x3fd577[_0x2acbad(0x52f)])),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x4a4)])),_0x301f42(0x2,_0x11d3b6[_0x2acbad(0x24d)]),_0x301f42(0x3,_0x11d3b6[_0x2acbad(0x22c)]),_0x301f42(0x4,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x2eb124['ChartViewStateRegistry']))],_0x28efee);let _0x13761e=_0x3fd577[_0x2acbad(0x51b)][_0x2acbad(0x333)];var _0x35344e=class extends _0x255b48[_0x2acbad(0x52a)]{constructor(_0x1b5307,_0x54e1a9){const _0x39dd2f=_0x2acbad;super(_0x1b5307),this[_0x39dd2f(0x27d)]=_0x54e1a9,_0x44c5f1(this,_0x39dd2f(0x40c),0x0),_0x44c5f1(this,_0x39dd2f(0x404),void 0x0),_0x44c5f1(this,'style',{});}['getRect'](){const _0x45ff46=_0x2acbad;return this[_0x45ff46(0x27d)];}['setStyle'](_0x4419e2){const _0x11790b=_0x2acbad;this[_0x11790b(0x296)]=_0x4419e2;}[_0x2acbad(0x23d)](){return++this['_version'];}['commitSnapshot'](_0x2435c7,_0x5ea78f){const _0x51f098=_0x2acbad;return _0x5ea78f===this[_0x51f098(0x40c)]?(_0x15cc9e(this['_image']),this[_0x51f098(0x404)]=_0x2435c7,!0x0):(_0x15cc9e(_0x2435c7),!0x1);}['requestPaint'](){}['invalidateSnapshot'](){const _0x51bf1d=_0x2acbad;this[_0x51bf1d(0x40c)]+=0x1;}[_0x2acbad(0x4ec)](){const _0x2a93c7=_0x2acbad;let _0x12fdc6=this['_image'];return this[_0x2a93c7(0x404)]=void 0x0,_0x12fdc6;}[_0x2acbad(0x3cb)](){const _0x22f823=_0x2acbad;_0x15cc9e(this[_0x22f823(0x404)]),this[_0x22f823(0x404)]=void 0x0,super[_0x22f823(0x3cb)]();}};function _0x416668(_0x6eb5a1,_0xbbd996,_0x3e06e8){const _0x4a776f=_0x2acbad;let _0x4e3233=_0x6eb5a1[_0x4a776f(0x23a)](_0xbbd996);return(0x0,_0x255b48[_0x4a776f(0x2be)])({..._0x6eb5a1['style'],'runtime':{..._0x4e3233,'layoutInset':0x8,..._0x3e06e8===void 0x0?{}:{'addWatermark':_0x3e06e8}},'direction':_0xbbd996},_0x6eb5a1['chartType']);}let _0x2cd79b=class extends _0x11d3b6['Disposable']{constructor(_0x55312f,_0x479c5a,_0x160555,_0x454c3a,_0x33b998,_0xc2229d,_0x4e6191,_0x18e972,_0x1d380d,_0x4bd989,_0xb949b3,_0x3d23b1,_0x5f2e24,_0x3adc12){const _0x4e1575=_0x2acbad;super(),this[_0x4e1575(0x444)]=_0x55312f,this[_0x4e1575(0x540)]=_0x479c5a,this['_chartModelService']=_0x160555,this[_0x4e1575(0x53e)]=_0x454c3a,this['_univerInstanceService']=_0x33b998,this[_0x4e1575(0x2fc)]=_0xc2229d,this['_localeService']=_0x4e6191,this[_0x4e1575(0x4fe)]=_0x18e972,this[_0x4e1575(0x318)]=_0x1d380d,this['_chartThemeService']=_0x4bd989,this[_0x4e1575(0x211)]=_0xb949b3,this[_0x4e1575(0x2d2)]=_0x3d23b1,this['_chartSnapshotStoreService']=_0x5f2e24,this['_renderModelManager']=_0x3adc12,_0x44c5f1(this,_0x4e1575(0x1bd),new Map()),_0x44c5f1(this,'_chartEventHandlers',new Map()),_0x44c5f1(this,_0x4e1575(0x53b),new Map()),_0x44c5f1(this,_0x4e1575(0x4fa),new Map()),_0x44c5f1(this,_0x4e1575(0x4a1),new Map()),_0x44c5f1(this,_0x4e1575(0x4f7),new Map()),_0x44c5f1(this,_0x4e1575(0x1e8),void 0x0),_0x44c5f1(this,_0x4e1575(0x30e),void 0x0),_0x44c5f1(this,_0x4e1575(0x2ec),new Map()),_0x44c5f1(this,_0x4e1575(0x3c4),null),_0x44c5f1(this,_0x4e1575(0x267),null);let _0x26113e=(0x0,_0x3fd577['getAllowedChartTypes'])(this[_0x4e1575(0x318)]),_0x347e06=this['_configService']['getConfig'](_0x3fd577[_0x4e1575(0x2cb)]);this['_chartRenderMode']=(_0x347e06==null?void 0x0:_0x347e06[_0x4e1575(0x2ca)])??_0x13761e,this['_addWatermark']=_0x26113e[_0x4e1575(0x40b)]!==0x1||_0x26113e[0x0]!=='all',this[_0x4e1575(0x393)](),this[_0x4e1575(0x342)](),this[_0x4e1575(0x3c6)](),this['_initActiveRuntimeLayerListener'](),this[_0x4e1575(0x22a)]();}[_0x2acbad(0x323)](_0x181cd9){const _0x3d9bae=_0x2acbad;let _0x5e9086=this[_0x3d9bae(0x508)](_0x181cd9);return _0x5e9086?this[_0x3d9bae(0x476)][_0x3d9bae(0x422)](_0x5e9086):void 0x0;}[_0x2acbad(0x448)](_0x275f2c){const _0x2d993c=_0x2acbad;var _0x451f86;return((_0x451f86=this[_0x2d993c(0x3fb)][_0x2d993c(0x28c)])==null?void 0x0:_0x451f86['id'])===_0x275f2c?_0x3fd577[_0x2d993c(0x51b)]['Dom']:this[_0x2d993c(0x1e8)];}[_0x2acbad(0x508)](_0x3d8f78){const _0x41c250=_0x2acbad;let _0x2724a9=this[_0x41c250(0x540)][_0x41c250(0x354)](_0x3d8f78);return _0x2724a9?{'unitId':_0x2724a9[_0x41c250(0x51f)],'subUnitId':_0x2724a9['subUnitId'],'chartId':_0x3d8f78}:null;}[_0x2acbad(0x393)](){const _0x171b0e=_0x2acbad;this[_0x171b0e(0x1e8)]===_0x3fd577[_0x171b0e(0x51b)][_0x171b0e(0x333)]&&this[_0x171b0e(0x529)](this['_sheetCanvasFloatDomManagerService'][_0x171b0e(0x482)](_0x11d3b6[_0x171b0e(0x385)][_0x171b0e(0x2bb)],({key:_0x8fc55f,config:_0x5e75b1,unitId:_0x596792,subUnitId:_0x58332d,drawingId:_0x220831})=>new _0x44253b(_0x8fc55f,_0x5e75b1,()=>this['_chartSnapshotStoreService'][_0x171b0e(0x422)]({'unitId':_0x596792,'subUnitId':_0x58332d,'chartId':_0x220831}),()=>this[_0x171b0e(0x444)][_0x171b0e(0x2ac)](_0x220831))));}[_0x2acbad(0x342)](){const _0x3bb04c=_0x2acbad;this[_0x3bb04c(0x529)](this[_0x3bb04c(0x3fb)][_0x3bb04c(0x3f8)][_0x3bb04c(0x311)](_0x49eba6=>{const _0x4bd7a8=_0x3bb04c;let _0x339ba5=(_0x49eba6==null?void 0x0:_0x49eba6['id'])??null,_0x5a0942=this[_0x4bd7a8(0x3c4)];_0x5a0942!==_0x339ba5&&(_0x5a0942&&(this[_0x4bd7a8(0x444)][_0x4bd7a8(0x370)](_0x5a0942),this[_0x4bd7a8(0x2ad)](_0x5a0942),this[_0x4bd7a8(0x1cf)](_0x5a0942),this['_rerenderLatest'](_0x5a0942)),this[_0x4bd7a8(0x3c4)]=_0x339ba5,_0x339ba5&&(this[_0x4bd7a8(0x444)][_0x4bd7a8(0x370)](_0x339ba5),this['_applyActiveChartRuntimeZIndex'](_0x339ba5),this[_0x4bd7a8(0x3eb)](_0x339ba5)));}));}[_0x2acbad(0x3c6)](){const _0x181cab=_0x2acbad;this[_0x181cab(0x529)](this[_0x181cab(0x53e)][_0x181cab(0x298)]['subscribe'](_0x7f4d8d=>{const _0xe9ca46=_0x181cab;var _0x15a8aa;let _0x5a0e93=(_0x15a8aa=this[_0xe9ca46(0x3fb)][_0xe9ca46(0x28c)])==null?void 0x0:_0x15a8aa['id'];_0x5a0e93&&_0x7f4d8d[_0xe9ca46(0x25b)](_0x52e9de=>_0x52e9de[_0xe9ca46(0x346)][_0xe9ca46(0x25b)](_0x36bc7d=>_0x36bc7d[_0xe9ca46(0x266)]===_0x5a0e93))&&this[_0xe9ca46(0x3fb)][_0xe9ca46(0x299)](null);})),this[_0x181cab(0x529)](this[_0x181cab(0x53e)][_0x181cab(0x3d9)]['subscribe'](_0x1369ec=>{const _0xc5315b=_0x181cab;var _0x1d6ca1;let _0x4f621c=(_0x1d6ca1=this['_chartModelService'][_0xc5315b(0x28c)])==null?void 0x0:_0x1d6ca1['id'];_0x4f621c&&_0x1369ec[_0xc5315b(0x25b)](_0x433d7f=>_0x433d7f[_0xc5315b(0x42d)][_0xc5315b(0x266)]===_0x4f621c||_0x433d7f[_0xc5315b(0x346)][_0xc5315b(0x25b)](_0x157bc6=>_0x157bc6[_0xc5315b(0x266)]===_0x4f621c))&&this['_chartModelService'][_0xc5315b(0x299)](null);}));}[_0x2acbad(0x2e5)](){const _0x4a6e44=_0x2acbad;this[_0x4a6e44(0x529)](this[_0x4a6e44(0x53e)][_0x4a6e44(0x4fc)][_0x4a6e44(0x311)](_0x9865a8=>{const _0x263e0f=_0x4a6e44;var _0x584c06;let _0x4ad79d=(_0x584c06=this[_0x263e0f(0x3fb)][_0x263e0f(0x28c)])==null?void 0x0:_0x584c06['id'];if(!_0x4ad79d){_0x9865a8['drawingIds']['forEach'](_0x5180ec=>{const _0x51c295=_0x263e0f;this['_chartModelService'][_0x51c295(0x264)](_0x5180ec)&&this[_0x51c295(0x2ad)](_0x5180ec);});return;}let _0xf334ed=this[_0x263e0f(0x540)]['getFloatDomInfo'](_0x4ad79d);(_0xf334ed==null?void 0x0:_0xf334ed[_0x263e0f(0x51f)])===_0x9865a8[_0x263e0f(0x51f)]&&_0xf334ed[_0x263e0f(0x279)]===_0x9865a8[_0x263e0f(0x279)]&&this[_0x263e0f(0x1b6)](_0x4ad79d);})),this[_0x4a6e44(0x529)](this[_0x4a6e44(0x53e)][_0x4a6e44(0x243)][_0x4a6e44(0x311)](_0x2b0088=>{const _0x33b3a4=_0x4a6e44;var _0x35df4a;let _0x4a3a64=(_0x35df4a=this[_0x33b3a4(0x3fb)][_0x33b3a4(0x28c)])==null?void 0x0:_0x35df4a['id'];if(!_0x4a3a64)return;let _0x21dbd6=this[_0x33b3a4(0x540)][_0x33b3a4(0x354)](_0x4a3a64);_0x21dbd6&&_0x2b0088[_0x33b3a4(0x25b)](_0xd5b1e7=>_0xd5b1e7[_0x33b3a4(0x51f)]===_0x21dbd6[_0x33b3a4(0x51f)]&&_0xd5b1e7[_0x33b3a4(0x279)]===_0x21dbd6[_0x33b3a4(0x279)])&&this[_0x33b3a4(0x1b6)](_0x4a3a64);})),this[_0x4a6e44(0x529)](this[_0x4a6e44(0x3fb)][_0x4a6e44(0x1c9)][_0x4a6e44(0x311)](_0x53127c=>{const _0x5dcba7=_0x4a6e44;var _0x1804b1;this['_lastRenderInputMap']['delete'](_0x53127c),this[_0x5dcba7(0x476)][_0x5dcba7(0x424)](_0x53127c),this[_0x5dcba7(0x3e9)](_0x53127c),this[_0x5dcba7(0x444)][_0x5dcba7(0x370)](_0x53127c),((_0x1804b1=this[_0x5dcba7(0x3fb)][_0x5dcba7(0x28c)])==null?void 0x0:_0x1804b1['id'])===_0x53127c?this[_0x5dcba7(0x3fb)][_0x5dcba7(0x299)](null):this[_0x5dcba7(0x2ad)](_0x53127c),this['_disposeChartRenderInstance'](_0x53127c);}));}[_0x2acbad(0x3eb)](_0x12681c){const _0x348a61=_0x2acbad;let _0x4d9255=this['_lastRenderInputMap'][_0x348a61(0x3d7)](_0x12681c);_0x4d9255&&this['render'](_0x12681c,_0x4d9255[_0x348a61(0x400)],_0x4d9255[_0x348a61(0x296)]);}['_disposeChartDomInstance'](_0x4733d7){const _0x562d6c=_0x2acbad;let _0x4a295c=this[_0x562d6c(0x1bd)]['get'](_0x4733d7);(_0x4a295c==null?void 0x0:_0x4a295c['mode'])===_0x562d6c(0x526)&&(this[_0x562d6c(0x21f)](_0x4733d7),_0x4a295c['dispose'](),this[_0x562d6c(0x1bd)][_0x562d6c(0x394)](_0x4733d7)),this[_0x562d6c(0x444)][_0x562d6c(0x370)](_0x4733d7),this[_0x562d6c(0x444)]['removeHost'](_0x4733d7);}[_0x2acbad(0x291)](_0xe35aad){const _0x5a137f=_0x2acbad;let _0x1156f2=this[_0x5a137f(0x1bd)][_0x5a137f(0x3d7)](_0xe35aad);_0x1156f2&&(this['_disposeChartEventSubscriptions'](_0xe35aad),_0x1156f2['dispose'](),this[_0x5a137f(0x1bd)][_0x5a137f(0x394)](_0xe35aad)),this[_0x5a137f(0x444)][_0x5a137f(0x370)](_0xe35aad),this[_0x5a137f(0x444)][_0x5a137f(0x241)](_0xe35aad);}[_0x2acbad(0x3e9)](_0x299c00){const _0x58bf06=_0x2acbad;var _0x2e885f,_0x42db77;(_0x2e885f=this[_0x58bf06(0x4d9)][_0x58bf06(0x2ed)](_0x255b48[_0x58bf06(0x506)]))==null||(_0x42db77=_0x2e885f[_0x58bf06(0x3f7)])==null||_0x42db77['call'](_0x2e885f,_0x299c00);}['_clearSheetChartRuntimeCaches'](_0x1e345b,_0x5d66dc){const _0x2c6d18=_0x2acbad;let _0xdaabd9=this[_0x2c6d18(0x53e)][_0x2c6d18(0x24a)](_0x1e345b,_0x5d66dc);Object[_0x2c6d18(0x37b)](_0xdaabd9??{})[_0x2c6d18(0x4ee)](_0x5394b0=>{const _0x58ba20=_0x2c6d18;_0x5394b0[_0x58ba20(0x2cf)]===_0x11d3b6[_0x58ba20(0x385)]['DRAWING_CHART']&&this['_clearChartRuntimeCache'](_0x5394b0[_0x58ba20(0x266)]);});}['_getChartRenderObject'](_0x1a7a7e,_0xd25192){const _0x3901f1=_0x2acbad;var _0x1d5f05;return((_0x1d5f05=_0x1a7a7e[_0x3901f1(0x3d3)])==null?void 0x0:_0x1d5f05['call'](_0x1a7a7e,_0xd25192))??_0x1a7a7e[_0x3901f1(0x3d5)](_0xd25192)??null;}[_0x2acbad(0x228)](_0x1018b0){const _0x288b14=_0x2acbad;var _0x454d90;let _0x1c7b03=this[_0x288b14(0x540)][_0x288b14(0x354)](_0x1018b0);if(!_0x1c7b03)return null;let _0x9666af=(_0x454d90=this['_renderManagerService'][_0x288b14(0x4c8)](_0x1c7b03[_0x288b14(0x51f)]))==null?void 0x0:_0x454d90[_0x288b14(0x4da)];if(!_0x9666af)return null;let _0x34875c=this[_0x288b14(0x3bc)](_0x9666af,(0x0,_0x470a83[_0x288b14(0x44c)])({'unitId':_0x1c7b03['unitId'],'subUnitId':_0x1c7b03[_0x288b14(0x279)],'drawingId':_0x1018b0}));return _0x34875c?{'info':_0x1c7b03,'scene':_0x9666af,'chartObject':_0x34875c}:null;}[_0x2acbad(0x1f6)](_0x2d5231,_0x313117){const _0x2ef155=_0x2acbad;var _0x40f87e,_0x155d4f,_0x375a08,_0x396b57;let _0x51e88b=this[_0x2ef155(0x228)](_0x2d5231);_0x51e88b&&((_0x40f87e=(_0x155d4f=_0x51e88b[_0x2ef155(0x20d)])[_0x2ef155(0x330)])==null||_0x40f87e[_0x2ef155(0x3af)](_0x155d4f,{'zIndex':_0x313117}),(_0x375a08=(_0x396b57=_0x51e88b[_0x2ef155(0x20d)])[_0x2ef155(0x405)])==null||_0x375a08[_0x2ef155(0x3af)](_0x396b57,!0x0),_0x51e88b[_0x2ef155(0x4da)][_0x2ef155(0x405)](!0x0));}[_0x2acbad(0x1b6)](_0x368284){const _0x37818b=_0x2acbad;let _0x4e62fb=this['_sheetCanvasFloatDomManagerService'][_0x37818b(0x354)](_0x368284);if(!_0x4e62fb)return;let _0x6db8f7=this[_0x37818b(0x53e)][_0x37818b(0x32d)](_0x4e62fb[_0x37818b(0x51f)],_0x4e62fb[_0x37818b(0x279)]);this[_0x37818b(0x1f6)](_0x368284,_0x6db8f7[_0x37818b(0x40b)]);}[_0x2acbad(0x2ad)](_0x25e25a){const _0x30a44a=_0x2acbad;let _0x1aa986=this['_sheetCanvasFloatDomManagerService'][_0x30a44a(0x354)](_0x25e25a);if(!_0x1aa986)return;let _0x3089c5=this[_0x30a44a(0x53e)]['getDrawingOrder'](_0x1aa986['unitId'],_0x1aa986[_0x30a44a(0x279)]),_0x2ed615=_0x3089c5[_0x30a44a(0x322)](_0x25e25a);this[_0x30a44a(0x1f6)](_0x25e25a,_0x2ed615===-0x1?Math['max'](_0x3089c5[_0x30a44a(0x40b)]-0x1,0x0):_0x2ed615);}[_0x2acbad(0x1c1)](_0x2fc67c,_0x29e558){const _0x4a5c15=_0x2acbad;let _0x2a01c1=this[_0x4a5c15(0x540)][_0x4a5c15(0x354)](_0x2fc67c);if(_0x29e558[_0x4a5c15(0x4a8)]!==void 0x0&&_0x29e558[_0x4a5c15(0x2c7)]!==void 0x0&&_0x2a01c1){var _0x2f3aca;let {subUnitId:_0x2aa473}=_0x2a01c1,_0x52d437=(_0x2f3aca=this[_0x4a5c15(0x3dc)][_0x4a5c15(0x41e)](_0x11d3b6[_0x4a5c15(0x3ce)][_0x4a5c15(0x473)]))==null?void 0x0:_0x2f3aca[_0x4a5c15(0x2b8)]();if((_0x52d437==null?void 0x0:_0x52d437[_0x4a5c15(0x4d6)]())===_0x2aa473){let {width:_0x3a9dba,height:_0x11865a}=_0x29e558,_0x430d40=this[_0x4a5c15(0x3fb)][_0x4a5c15(0x264)](_0x2fc67c),_0x11499d=_0x430d40==null?void 0x0:_0x430d40[_0x4a5c15(0x296)];if(Math['abs'](_0x3a9dba-((_0x11499d==null?void 0x0:_0x11499d[_0x4a5c15(0x4a8)])||0x0))>0x1||Math[_0x4a5c15(0x2ee)](_0x11865a-((_0x11499d==null?void 0x0:_0x11499d[_0x4a5c15(0x2c7)])||0x0))>0x1){_0x430d40==null||_0x430d40[_0x4a5c15(0x43b)]({..._0x11499d,'width':_0x3a9dba,'height':_0x11865a});let _0x168e90=this[_0x4a5c15(0x1bd)][_0x4a5c15(0x3d7)](_0x2fc67c);_0x168e90&&(this[_0x4a5c15(0x444)][_0x4a5c15(0x502)](_0x2fc67c),_0x168e90[_0x4a5c15(0x1d7)]());}}}}[_0x2acbad(0x4bd)](_0x30156b,_0x5ca5af,_0x6f0aff=0x0){const _0x222683=_0x2acbad;let _0x3e69d4=this[_0x222683(0x4f7)][_0x222683(0x3d7)](_0x30156b);_0x3e69d4||(_0x3e69d4=(0x0,_0x11d3b6[_0x222683(0x450)])(_0x3183b7=>{const _0x57bc32=_0x222683;this[_0x57bc32(0x1c1)](_0x30156b,_0x3183b7);},_0x6f0aff),this[_0x222683(0x4f7)][_0x222683(0x44e)](_0x30156b,_0x3e69d4)),_0x3e69d4(_0x5ca5af);}[_0x2acbad(0x22a)](){const _0x1aaed5=_0x2acbad;let _0x392a0c=this[_0x1aaed5(0x4a1)],_0x47c21a=_0x3a8b0f=>{const _0x43d1fc=_0x1aaed5;if(!_0x392a0c[_0x43d1fc(0x457)](_0x3a8b0f)){let _0x200eb2=(0x0,_0x11d3b6[_0x43d1fc(0x450)])((_0x444617,_0x3abada,_0x59425e,_0x59fdc2)=>{const _0x31ee93=_0x43d1fc;var _0x57db6f,_0x44711c;if(!_0x59425e)return;(_0x57db6f=_0x59425e[_0x31ee93(0x1d4)])==null||_0x57db6f[_0x31ee93(0x276)][_0x31ee93(0x4ee)]((_0x4abe5a,_0xb40077)=>{const _0x4c67c8=_0x31ee93;_0x4abe5a['label']||=this['_localeService']['t'](_0x4c67c8(0x4e3))+'\x20'+(_0xb40077+0x1);}),_0x59425e[_0x31ee93(0x32b)]['forEach']((_0x3597dc,_0x352c87)=>{const _0x1cfc60=_0x31ee93;_0x3597dc[_0x1cfc60(0x1cd)]||=this[_0x1cfc60(0x3d6)]['t'](_0x1cfc60(0x1bf))+'\x20'+(_0x352c87+0x1);});let _0x4f8c3a=this['createRuntimeChartStyle'](_0x444617,_0x59fdc2),_0x5e8442=(_0x44711c=this[_0x31ee93(0x3dc)][_0x31ee93(0x41e)](_0x11d3b6[_0x31ee93(0x3ce)][_0x31ee93(0x473)]))==null?void 0x0:_0x44711c['getActiveSheet']();(_0x5e8442==null?void 0x0:_0x5e8442['getSheetId']())===_0x3abada&&this['render'](_0x444617['id'],_0x59425e,_0x4f8c3a);},0x11);_0x392a0c['set'](_0x3a8b0f,_0x200eb2);}return _0x392a0c[_0x43d1fc(0x3d7)](_0x3a8b0f);};this['disposeWithMe'](this[_0x1aaed5(0x3dc)]['focused$']['subscribe'](_0x31f69e=>{const _0x29b25b=_0x1aaed5;let _0x4e3e3f=this[_0x29b25b(0x3dc)][_0x29b25b(0x41e)](_0x11d3b6[_0x29b25b(0x3ce)]['UNIVER_SHEET']);if(_0x31f69e&&_0x4e3e3f&&_0x4e3e3f['getUnitId']()===_0x31f69e){var _0x26e4eb;let _0x30eea9=_0x4e3e3f['getActiveSheet']()[_0x29b25b(0x4d6)]();this[_0x29b25b(0x267)]&&(this[_0x29b25b(0x267)][_0x29b25b(0x51f)]!==_0x31f69e||this[_0x29b25b(0x267)][_0x29b25b(0x279)]!==_0x30eea9)&&this['_clearSheetChartRuntimeCaches'](this[_0x29b25b(0x267)]['unitId'],this[_0x29b25b(0x267)][_0x29b25b(0x279)]),this['_lastActiveSheet']={'unitId':_0x31f69e,'subUnitId':_0x30eea9};let _0x5972ec=this['_drawingManagerService'][_0x29b25b(0x24a)](_0x31f69e,_0x30eea9);if(!((_0x26e4eb=this['_renderManagerService']['getRenderUnitById'](_0x31f69e))!=null&&_0x26e4eb['with'](_0x3ea34e['SheetSkeletonManagerService'])[_0x29b25b(0x34d)](_0x30eea9)))return;if(_0x5972ec)for(let _0x2b9f83 in _0x5972ec){let {drawingId:_0xea3ce}=_0x5972ec[_0x2b9f83],_0x1ca98b=this[_0x29b25b(0x3fb)]['getChartModel'](_0xea3ce);_0x1ca98b&&_0x47c21a(_0x1ca98b['id'])(_0x1ca98b,_0x30eea9,_0x1ca98b[_0x29b25b(0x400)],this[_0x29b25b(0x3d6)][_0x29b25b(0x1b0)]());}}})),this[_0x1aaed5(0x529)](this[_0x1aaed5(0x211)]['darkMode$'][_0x1aaed5(0x311)](()=>{const _0x5c77e8=_0x1aaed5;var _0x49168c;let _0xa699e1=this[_0x5c77e8(0x3dc)][_0x5c77e8(0x41e)](_0x11d3b6[_0x5c77e8(0x3ce)][_0x5c77e8(0x473)]);if(!_0xa699e1)return;let _0x170e32=_0xa699e1[_0x5c77e8(0x377)](),_0x90c702=_0xa699e1[_0x5c77e8(0x2b8)]()['getSheetId'](),_0x5d88df=this[_0x5c77e8(0x53e)][_0x5c77e8(0x24a)](_0x170e32,_0x90c702);if((_0x49168c=this[_0x5c77e8(0x2fc)][_0x5c77e8(0x4c8)](_0x170e32))!=null&&_0x49168c['with'](_0x3ea34e[_0x5c77e8(0x4af)])['getSkeleton'](_0x90c702)&&_0x5d88df)for(let _0x9d21f2 in _0x5d88df){let {drawingId:_0x39b204}=_0x5d88df[_0x9d21f2],_0x18b71f=this[_0x5c77e8(0x3fb)][_0x5c77e8(0x264)](_0x39b204);_0x18b71f&&_0x47c21a(_0x18b71f['id'])(_0x18b71f,_0x90c702,_0x18b71f[_0x5c77e8(0x400)],this[_0x5c77e8(0x3d6)]['getDirection']());}})),this[_0x1aaed5(0x529)](this[_0x1aaed5(0x53e)][_0x1aaed5(0x243)]['subscribe'](_0x3a52d3=>{_0x3a52d3['forEach'](_0x38cc45=>{const _0x590945=_0x9495;var _0x5e39be;let {drawingId:_0x31bcce,unitId:_0x6634ee,subUnitId:_0xd04bd1}=_0x38cc45,_0x4754a4=this[_0x590945(0x2fc)]['getRenderUnitById'](_0x6634ee);if((_0x4754a4==null?void 0x0:_0x4754a4['type'])!==_0x11d3b6[_0x590945(0x3ce)][_0x590945(0x473)]||!_0x4754a4[_0x590945(0x535)](_0x3ea34e[_0x590945(0x4af)])['getSkeleton'](_0xd04bd1))return;let {drawingType:_0x1d210a}=this['_drawingManagerService']['getDrawingByParam'](_0x38cc45);if(_0x1d210a!==_0x11d3b6[_0x590945(0x385)][_0x590945(0x2bb)])return;let _0x52209a=this[_0x590945(0x540)][_0x590945(0x354)](_0x31bcce),_0x253331=(_0x52209a==null?void 0x0:_0x52209a[_0x590945(0x235)])??_0x31bcce,_0x3ba0b9=_0x52209a==null?void 0x0:_0x52209a[_0x590945(0x35c)],_0x11748c=(_0x5e39be=this['_renderManagerService'][_0x590945(0x4c8)](_0x6634ee))==null?void 0x0:_0x5e39be[_0x590945(0x4da)];_0x3ba0b9&&this[_0x590945(0x529)](_0x3ba0b9==null?void 0x0:_0x3ba0b9[_0x590945(0x297)][_0x590945(0x4f2)](_0x1d9dd3=>{const _0x3e3b06=_0x590945;let {type:_0x5a1239,value:_0x13774d}=_0x1d9dd3;if(_0x1d1477[_0x3e3b06(0x36e)]['resize']===_0x5a1239||_0x1d1477[_0x3e3b06(0x36e)][_0x3e3b06(0x4f3)]===_0x5a1239){let {width:_0x1604c4,height:_0x29f4f2}=_0x13774d;this['_debounceHandle'](_0x31bcce,{'width':_0x1604c4,'height':_0x29f4f2},0x64);}})),_0x11748c&&this['disposeWithMe'](_0x11748c[_0x590945(0x297)][_0x590945(0x4f2)](_0x466747=>{const _0x4d7b98=_0x590945;var _0x101178;_0x466747[_0x4d7b98(0x4c0)]===_0x1d1477[_0x4d7b98(0x36e)]['scale']&&(_0x101178=document['getElementById'](_0x253331))!=null&&_0x101178['querySelector'](_0x4d7b98(0x353))&&this['_chartHostProvider'][_0x4d7b98(0x502)](_0x31bcce);}));let _0x553ee6=this['_chartModelService'][_0x590945(0x264)](_0x31bcce);_0x553ee6&&this[_0x590945(0x529)]((0x0,_0x20d33d[_0x590945(0x28f)])([_0x553ee6[_0x590945(0x1e3)],_0x553ee6['style$'],this[_0x590945(0x3d6)]['direction$']])[_0x590945(0x311)](([_0x1f7830,_0xaec3b5,_0x16f0b1])=>{_0x47c21a(_0x553ee6['id'])(_0x553ee6,_0xd04bd1,_0x1f7830,_0x16f0b1);}));});})),this[_0x1aaed5(0x529)]((0x0,_0x20d33d[_0x1aaed5(0x28f)])([this[_0x1aaed5(0x53e)]['remove$']])[_0x1aaed5(0x311)](([_0x239979])=>{const _0x15544a=_0x1aaed5;_0x239979[_0x15544a(0x4ee)](_0x50a867=>{const _0x3170ef=_0x15544a;var _0x385c04;let {drawingId:_0x55a416}=_0x50a867;((_0x385c04=this['_chartModelService'][_0x3170ef(0x28c)])==null?void 0x0:_0x385c04['id'])===_0x55a416&&this[_0x3170ef(0x3fb)][_0x3170ef(0x299)](null),this[_0x3170ef(0x21f)](_0x55a416),this['_chartEventHandlers'][_0x3170ef(0x394)](_0x55a416),this[_0x3170ef(0x444)][_0x3170ef(0x370)](_0x55a416),this[_0x3170ef(0x2ad)](_0x55a416),this[_0x3170ef(0x291)](_0x55a416),this['_chartSnapshotStoreService'][_0x3170ef(0x424)](_0x55a416),this['_clearChartRuntimeCache'](_0x55a416),this[_0x3170ef(0x2ec)][_0x3170ef(0x394)](_0x55a416),this[_0x3170ef(0x4fa)]['delete'](_0x55a416);});}));}[_0x2acbad(0x24b)](_0x2d3bc0,_0x274a6c){const _0x4c0f5a=_0x2acbad;var _0x4de545;_0x274a6c?this['_chartElementEditMode']['set'](_0x2d3bc0,!0x0):this[_0x4c0f5a(0x4fa)]['delete'](_0x2d3bc0),(_0x4de545=this[_0x4c0f5a(0x1bd)][_0x4c0f5a(0x3d7)](_0x2d3bc0))==null||_0x4de545['setElementEditMode'](_0x274a6c);}async['exportImage'](_0x1e6c5d,_0x27d907){const _0x3e0e0e=_0x2acbad;var _0x25293c;let _0x1d57bb=this[_0x3e0e0e(0x2ec)][_0x3e0e0e(0x3d7)](_0x1e6c5d),_0x5c39b8=(_0x25293c=this[_0x3e0e0e(0x540)][_0x3e0e0e(0x354)](_0x1e6c5d))==null?void 0x0:_0x25293c[_0x3e0e0e(0x35c)];if(_0x1d57bb&&_0x5c39b8)return(await this[_0x3e0e0e(0x4d9)][_0x3e0e0e(0x30d)]({'chartId':_0x1e6c5d,'config':_0x1d57bb[_0x3e0e0e(0x400)],'style':_0x1d57bb['style'],'width':_0x5c39b8[_0x3e0e0e(0x4a8)],'height':_0x5c39b8['height']},_0x27d907))[_0x3e0e0e(0x28e)];if((_0x27d907==null?void 0x0:_0x27d907['format'])===_0x255b48[_0x3e0e0e(0x1b1)][_0x3e0e0e(0x234)])return;let _0x3c2c0d=this[_0x3e0e0e(0x2a1)](_0x1e6c5d);return _0x3c2c0d?(0x0,_0x255b48['chartImageSourceToDataUrl'])(_0x3c2c0d):void 0x0;}['on'](_0x4374aa,_0x14485d,_0x29df0d){const _0x1619af=_0x2acbad;let _0x2087ab=this[_0x1619af(0x34b)][_0x1619af(0x3d7)](_0x4374aa);_0x2087ab||(_0x2087ab=new Map(),this[_0x1619af(0x34b)]['set'](_0x4374aa,_0x2087ab));let _0x304acc=_0x2087ab[_0x1619af(0x3d7)](_0x14485d);_0x304acc||(_0x304acc=new Set(),_0x2087ab['set'](_0x14485d,_0x304acc)),_0x304acc[_0x1619af(0x225)](_0x29df0d);let _0xf1a1b1=this['_chartInstanceMap']['get'](_0x4374aa);return _0xf1a1b1&&this[_0x1619af(0x33a)](_0x4374aa,_0xf1a1b1,_0x14485d,_0x29df0d),{'dispose':()=>{const _0x346336=_0x1619af;var _0x23b6a0;(_0x23b6a0=this[_0x346336(0x34b)]['get'](_0x4374aa))==null||(_0x23b6a0=_0x23b6a0[_0x346336(0x3d7)](_0x14485d))==null||_0x23b6a0[_0x346336(0x394)](_0x29df0d),this['_disposeChartEventSubscription'](_0x4374aa,_0x14485d,_0x29df0d);}};}[_0x2acbad(0x2a1)](_0x5832d0){const _0x57eb9c=_0x2acbad;let _0x50100e=this[_0x57eb9c(0x3dc)][_0x57eb9c(0x41e)](_0x11d3b6[_0x57eb9c(0x3ce)]['UNIVER_SHEET']),_0x5d7fcb=_0x50100e==null?void 0x0:_0x50100e['getActiveSheet'](),_0xa2ce3f=_0x50100e==null?void 0x0:_0x50100e['getUnitId'](),_0x2df363=_0x5d7fcb==null?void 0x0:_0x5d7fcb[_0x57eb9c(0x4d6)]();if(!(!_0xa2ce3f||!_0x2df363))return this['_chartSnapshotStoreService'][_0x57eb9c(0x422)]({'unitId':_0xa2ce3f,'subUnitId':_0x2df363,'chartId':_0x5832d0});}[_0x2acbad(0x48c)](_0x29759f,_0x397d81){const _0x44ec19=_0x2acbad;let _0x2bae54=this['_chartEventHandlers'][_0x44ec19(0x3d7)](_0x29759f);_0x2bae54&&_0x2bae54[_0x44ec19(0x4ee)]((_0x2d77d9,_0x3d5b10)=>{const _0x1e482d=_0x44ec19;_0x2d77d9[_0x1e482d(0x4ee)](_0x411f21=>this['_bindChartEventHandler'](_0x29759f,_0x397d81,_0x3d5b10,_0x411f21));});}[_0x2acbad(0x33a)](_0x2601e0,_0x59007d,_0x33921c,_0x4dbb7e){const _0x1ed7eb=_0x2acbad;let _0x584bb7=this[_0x1ed7eb(0x53b)][_0x1ed7eb(0x3d7)](_0x2601e0);_0x584bb7||(_0x584bb7=new Map(),this['_chartEventSubscriptions'][_0x1ed7eb(0x44e)](_0x2601e0,_0x584bb7));let _0x56b377=_0x584bb7[_0x1ed7eb(0x3d7)](_0x33921c);_0x56b377||(_0x56b377=new Map(),_0x584bb7[_0x1ed7eb(0x44e)](_0x33921c,_0x56b377)),!_0x56b377[_0x1ed7eb(0x457)](_0x4dbb7e)&&_0x56b377[_0x1ed7eb(0x44e)](_0x4dbb7e,_0x59007d['on'](_0x33921c,_0x4dbb7e));}[_0x2acbad(0x45e)](_0x53a67e,_0x9b4aad,_0x36681d){const _0xa51830=_0x2acbad;var _0x3e02c5,_0x384fb5;let _0x2338c3=(_0x3e02c5=this[_0xa51830(0x53b)]['get'](_0x53a67e))==null?void 0x0:_0x3e02c5[_0xa51830(0x3d7)](_0x9b4aad);_0x2338c3==null||(_0x384fb5=_0x2338c3[_0xa51830(0x3d7)](_0x36681d))==null||_0x384fb5['dispose'](),_0x2338c3==null||_0x2338c3['delete'](_0x36681d);}['_disposeChartEventSubscriptions'](_0x3df8c2){const _0x1d6277=_0x2acbad;let _0x13f8f9=this[_0x1d6277(0x53b)][_0x1d6277(0x3d7)](_0x3df8c2);_0x13f8f9==null||_0x13f8f9[_0x1d6277(0x4ee)](_0x2fa654=>{const _0x4dae35=_0x1d6277;_0x2fa654['forEach'](_0x1a6e4a=>_0x1a6e4a[_0x4dae35(0x3cb)]()),_0x2fa654[_0x4dae35(0x2c9)]();}),this[_0x1d6277(0x53b)]['delete'](_0x3df8c2);}['createRuntimeChartStyle'](_0xede9f5,_0x1d9e68){const _0x2004e4=_0x2acbad;return _0x416668(_0xede9f5,_0x1d9e68,this[_0x2004e4(0x30e)]);}[_0x2acbad(0x249)](_0x6e21a){const _0x511f07=_0x2acbad;return this[_0x511f07(0x384)](_0x6e21a)==null;}[_0x2acbad(0x384)](_0x530254){const _0x21a175=_0x2acbad;var _0x1e7928;let _0x53bcf4=this['_sheetCanvasFloatDomManagerService'][_0x21a175(0x354)](_0x530254);if(!_0x53bcf4)return _0x21a175(0x219);let {subUnitId:_0x4e5683}=_0x53bcf4,_0x1f148b=(_0x1e7928=this[_0x21a175(0x3dc)][_0x21a175(0x41e)](_0x11d3b6[_0x21a175(0x3ce)][_0x21a175(0x473)]))==null?void 0x0:_0x1e7928[_0x21a175(0x2b8)]();if(!_0x1f148b)return _0x21a175(0x408);if(_0x1f148b[_0x21a175(0x4d6)]()!==_0x4e5683)return _0x21a175(0x277);}async[_0x2acbad(0x1bb)](_0x1ba62d,_0x59f8f3,_0x3ffc1a){const _0x38818e=_0x2acbad;let _0x204cec=this[_0x38818e(0x4d9)]['getRenderModel'](_0x255b48[_0x38818e(0x506)]);if(!_0x204cec||(this[_0x38818e(0x2ec)][_0x38818e(0x44e)](_0x1ba62d,{'config':_0x59f8f3,'style':_0x3ffc1a}),this[_0x38818e(0x384)](_0x1ba62d)))return;let _0x5815b1=this['_resolveChartRenderMode'](_0x1ba62d);if(_0x5815b1===_0x3fd577['ChartRenderMode'][_0x38818e(0x333)])this[_0x38818e(0x1cf)](_0x1ba62d);else{var _0x23fe56;this['_chartHostProvider']['invalidateSnapshot'](_0x1ba62d),((_0x23fe56=this[_0x38818e(0x3fb)]['activeChartModel'])==null?void 0x0:_0x23fe56['id'])===_0x1ba62d&&this[_0x38818e(0x1b6)](_0x1ba62d);}let _0x3c354c=_0x5815b1===_0x3fd577[_0x38818e(0x51b)]['Image']?_0x255b48[_0x38818e(0x26a)][_0x38818e(0x333)]:_0x255b48[_0x38818e(0x26a)][_0x38818e(0x26e)],_0x388216=await this[_0x38818e(0x444)][_0x38818e(0x3c9)](_0x1ba62d,_0x3c354c);if(!_0x388216)return;let _0x393d80=this[_0x38818e(0x1d6)](_0x1ba62d,_0x3c354c,_0x204cec);_0x393d80[_0x38818e(0x3a8)](_0x388216);try{await _0x393d80[_0x38818e(0x1bb)]({'chartId':_0x1ba62d,'config':_0x59f8f3,'style':_0x3ffc1a});}catch(_0x56072b){if(_0x5815b1!==_0x3fd577[_0x38818e(0x51b)]['Image'])throw _0x56072b;}}async[_0x2acbad(0x43c)](_0x3bdac7,_0x3ccbde,_0xe42e7){const _0x20363e=_0x2acbad;let _0x2d13a4=this[_0x20363e(0x53e)][_0x20363e(0x24a)](_0x3bdac7,_0x3ccbde),_0x2b4eae=this['_drawingManagerService'][_0x20363e(0x32d)](_0x3bdac7,_0x3ccbde),_0x51f468=Object[_0x20363e(0x37b)](_0x2d13a4??{})[_0x20363e(0x4a0)](_0x5578cb=>_0x5578cb[_0x20363e(0x2cf)]===_0x11d3b6['DrawingTypeEnum']['DRAWING_CHART']&&_0x5578cb['hidden']!==!0x0);await Promise[_0x20363e(0x513)](_0x51f468[_0x20363e(0x38b)](async _0x394535=>{const _0x949cf4=_0x20363e;let _0xd3519f=await this['_createPrintingChartObject'](_0x394535,_0x2b4eae);_0xd3519f&&(_0xe42e7['addObject'](_0xd3519f,_0x1d1477[_0x949cf4(0x2ba)]),_0x394535[_0x949cf4(0x488)]&&(0x0,_0x31b7f1['insertGroupObject'])({'drawingId':_0x394535[_0x949cf4(0x488)],'unitId':_0x3bdac7,'subUnitId':_0x3ccbde},_0xd3519f,_0xe42e7,this[_0x949cf4(0x53e)]));}));}async[_0x2acbad(0x251)](_0x4317be,_0x28e166){const _0x4425e3=_0x2acbad;let _0xb4f61c=this[_0x4425e3(0x3fb)][_0x4425e3(0x264)](_0x4317be[_0x4425e3(0x266)]),_0x125916=this[_0x4425e3(0x4d9)][_0x4425e3(0x2ed)](_0x255b48[_0x4425e3(0x506)]),_0x6db204=_0x4317be[_0x4425e3(0x429)],_0x6e48cb=_0xb4f61c==null?void 0x0:_0xb4f61c[_0x4425e3(0x400)];if(!_0xb4f61c||!_0x125916||!_0x6db204||!_0x6e48cb||_0x6db204[_0x4425e3(0x4a8)]==null||_0x6db204['height']==null)return null;let _0xe66c1d=new _0x35344e(_0x4317be['drawingId'],{'width':_0x6db204[_0x4425e3(0x4a8)],'height':_0x6db204[_0x4425e3(0x2c7)]}),_0x5429ad=_0x125916[_0x4425e3(0x285)](_0x255b48[_0x4425e3(0x26a)][_0x4425e3(0x333)],this[_0x4425e3(0x542)]());_0x5429ad[_0x4425e3(0x3a8)](_0xe66c1d);let _0x354026;try{await _0x5429ad['render']({'chartId':_0x4317be['drawingId'],'config':_0x6e48cb,'style':this[_0x4425e3(0x2a9)](_0xb4f61c,this[_0x4425e3(0x3d6)][_0x4425e3(0x1b0)]())});}catch(_0x5973c5){console[_0x4425e3(0x501)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x5973c5);}finally{_0x354026=_0xe66c1d[_0x4425e3(0x4ec)](),_0x5429ad[_0x4425e3(0x3cb)](),_0xe66c1d[_0x4425e3(0x3cb)]();}let _0x3b1f8c=this[_0x4425e3(0x476)][_0x4425e3(0x422)]({'unitId':_0x4317be[_0x4425e3(0x51f)],'subUnitId':_0x4317be[_0x4425e3(0x279)],'chartId':_0x4317be[_0x4425e3(0x266)]}),_0x38b03e=_0x354026??_0x3b1f8c;if(!_0x38b03e)return null;let _0x5c5045=_0x28e166[_0x4425e3(0x322)](_0x4317be['drawingId']);return new _0x44253b((0x0,_0x470a83[_0x4425e3(0x44c)])(_0x4317be),{..._0x6db204,..._0xbf83ca['SHEET_CHART_RENDER_OBJECT_CONFIG'],..._0xf63ee1(_0xe66c1d[_0x4425e3(0x296)]),'visible':!0x0,'zIndex':_0x5c5045===-0x1?Math[_0x4425e3(0x440)](_0x28e166[_0x4425e3(0x40b)]-0x1,0x0):_0x5c5045},()=>_0x38b03e,void 0x0,_0x354026?()=>_0x15cc9e(_0x354026):void 0x0);}[_0x2acbad(0x1d6)](_0x43cb5e,_0x14c39d,_0x18343f){const _0x2ebd47=_0x2acbad;let _0x7880a7=this['_chartInstanceMap'][_0x2ebd47(0x3d7)](_0x43cb5e);if((_0x7880a7==null?void 0x0:_0x7880a7[_0x2ebd47(0x2aa)])===_0x14c39d)return _0x7880a7;_0x7880a7&&(this[_0x2ebd47(0x21f)](_0x43cb5e),_0x7880a7['dispose'](),this['_chartInstanceMap'][_0x2ebd47(0x394)](_0x43cb5e));let _0x3a0660=_0x18343f['createChartInstance'](_0x14c39d,this[_0x2ebd47(0x542)]());return this['_chartInstanceMap'][_0x2ebd47(0x44e)](_0x43cb5e,_0x3a0660),_0x3a0660[_0x2ebd47(0x24b)](this[_0x2ebd47(0x4fa)][_0x2ebd47(0x3d7)](_0x43cb5e)===!0x0),this[_0x2ebd47(0x48c)](_0x43cb5e,_0x3a0660),_0x3a0660;}[_0x2acbad(0x542)](){const _0x39ee8d=_0x2acbad;return{'resolveHostStyle':({style:_0x489e06})=>(0x0,_0x255b48[_0x39ee8d(0x49d)])({'style':_0x489e06,'getRenderColor':_0x182f87=>this[_0x39ee8d(0x48d)][_0x39ee8d(0x39a)](_0x182f87)}),'resolveRenderBackgroundColor':({style:_0x10dd7f})=>this[_0x39ee8d(0x48d)]['getRenderColor']((0x0,_0x255b48[_0x39ee8d(0x467)])(_0x10dd7f))};}[_0x2acbad(0x2b5)](){const _0x6d32b8=_0x2acbad;this[_0x6d32b8(0x4a1)][_0x6d32b8(0x4ee)](_0x219764=>_0x219764[_0x6d32b8(0x381)]()),this[_0x6d32b8(0x4a1)][_0x6d32b8(0x2c9)](),this['_debounceHandleMap'][_0x6d32b8(0x4ee)](_0x507dec=>_0x507dec[_0x6d32b8(0x381)]()),this['_debounceHandleMap'][_0x6d32b8(0x2c9)]();}[_0x2acbad(0x3cb)](){const _0x166caa=_0x2acbad;Array[_0x166caa(0x50c)](this[_0x166caa(0x1bd)][_0x166caa(0x491)]())[_0x166caa(0x4ee)](_0x54258c=>this[_0x166caa(0x291)](_0x54258c)),this[_0x166caa(0x4fa)][_0x166caa(0x2c9)](),this[_0x166caa(0x2b5)](),this[_0x166caa(0x2ec)][_0x166caa(0x2c9)](),this[_0x166caa(0x3c4)]=null,this['_lastActiveSheet']=null,super['dispose']();}};_0x2cd79b=_0x1ed95b([_0x301f42(0x0,_0x16f40b),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0xbf83ca[_0x2acbad(0x536)])),_0x301f42(0x2,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577['ChartModelService'])),_0x301f42(0x3,_0x470a83[_0x2acbad(0x409)]),_0x301f42(0x4,_0x11d3b6[_0x2acbad(0x22c)]),_0x301f42(0x5,(0x0,_0x11d3b6['Inject'])(_0x1d1477[_0x2acbad(0x3f4)])),_0x301f42(0x6,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x4a3)])),_0x301f42(0x7,_0x295e12),_0x301f42(0x8,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x25a)])),_0x301f42(0x9,(0x0,_0x11d3b6['Inject'])(_0x255b48['ChartThemeService'])),_0x301f42(0xa,(0x0,_0x11d3b6['Inject'])(_0x11d3b6[_0x2acbad(0x36f)])),_0x301f42(0xb,_0x11d3b6[_0x2acbad(0x2cc)]),_0x301f42(0xc,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x41dc31)),_0x301f42(0xd,_0x255b48[_0x2acbad(0x35a)])],_0x2cd79b);var _0x49db08;let _0x49da16={'axis':{..._0x2eb124[_0x2acbad(0x259)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x2eb124[_0x2acbad(0x516)],'heatmap':_0x2eb124[_0x2acbad(0x4ca)],'indicatorLine':_0x2eb124[_0x2acbad(0x4d7)],'legend':_0x2eb124[_0x2acbad(0x4a6)],'lineAndArea':_0x2eb124['DEFAULT_CHART_LINE_AND_AREA_VALUES'],'pareto':_0x2eb124['DEFAULT_CHART_PARETO_VALUES'],'pie':_0x2eb124['DEFAULT_CHART_PIE_VALUES'],'relation':{..._0x2eb124[_0x2acbad(0x4c5)],'useValueAsSymbolSize':!0x0},'radar':_0x2eb124[_0x2acbad(0x388)],'series':{..._0x2eb124[_0x2acbad(0x436)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x49db08=_0x255b48['RTLChartStyle'][_0x2acbad(0x2b2)])==null?void 0x0:_0x49db08['rightYAxis'])??!0x1}},'style':_0x2eb124[_0x2acbad(0x515)],'titles':_0x2eb124['DEFAULT_CHART_TITLE_VALUES'],'trendline':_0x2eb124[_0x2acbad(0x31a)],'waterfall':{..._0x2eb124[_0x2acbad(0x478)],'useSubtotal':!0x0},'waterfallStyle':_0x2eb124[_0x2acbad(0x518)],'wordCloud':_0x2eb124[_0x2acbad(0x4e7)]},_0x58f2c0=_0x4c615e=>_0x4c615e[_0x2acbad(0x41e)](_0x11d3b6[_0x2acbad(0x3ce)][_0x2acbad(0x473)])[_0x2acbad(0x377)](),_0x2acc89=_0x6fbb85=>{const _0x40d642=_0x2acbad;var _0x2f8575;return(_0x2f8575=_0x6fbb85[_0x40d642(0x41e)](_0x11d3b6[_0x40d642(0x3ce)][_0x40d642(0x473)])['getActiveSheet']())==null?void 0x0:_0x2f8575['getSheetId']();},_0x4f8a6b=[_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x1db)],_0x255b48['ChartTypeBits'][_0x2acbad(0x452)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x4e8)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x512)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x2d1)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x3c8)],_0x255b48['ChartTypeBits'][_0x2acbad(0x51d)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x2d0)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x3cf)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x1de)],_0x255b48['ChartTypeBits'][_0x2acbad(0x522)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x420)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x504)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x423)],_0x255b48[_0x2acbad(0x1b7)][_0x2acbad(0x503)]];function _0x384190(){const _0x565031=_0x2acbad;let _0x20b230=(0x0,_0x2eb124['useChartEditorChartType'])();return(0x0,_0x49fd46[_0x565031(0x4d1)])(_0x2eb124[_0x565031(0x454)],{'visible':_0x4f8a6b[_0x565031(0x373)](_0x20213b=>!_0x255b48[_0x565031(0x304)]['baseOn'](_0x20b230,_0x20213b))});}let _0x4613f3=_0x109461=>{const _0x9e4ca9=_0x2acbad;let _0x91e685=(0x0,_0x5ce366[_0x9e4ca9(0x4cc)])(_0x295e12),_0x76781=(0x0,_0x5ce366[_0x9e4ca9(0x4cc)])(_0x3fd577[_0x9e4ca9(0x52f)]),_0x49efa0=(0x0,_0x5ce366[_0x9e4ca9(0x4cc)])(_0x11d3b6[_0x9e4ca9(0x4a3)]),_0x4bfdf9=(0x0,_0x3fd577['getAllowedChartTypes'])((0x0,_0x5ce366[_0x9e4ca9(0x4cc)])(_0x11d3b6[_0x9e4ca9(0x25a)])),_0x36eaf3=(0x0,_0x159c90['useMemo'])(()=>(0x0,_0x2eb124[_0x9e4ca9(0x379)])(_0x1c6193(_0x3a0b7d['concat'](),_0x4bfdf9)[_0x9e4ca9(0x38b)](_0x10a378=>({'id':_0x10a378['id'],'label':_0x49efa0['t'](_0x9e4ca9(0x2af)+_0x10a378[_0x9e4ca9(0x4be)]),'pieSecondaryPlotType':_0x10a378['pieSecondaryPlotType'],'value':_0x10a378[_0x9e4ca9(0x200)]}))),[_0x4bfdf9,_0x49efa0]),_0x316671=(0x0,_0x5ce366['useObservable'])(_0x76781[_0x9e4ca9(0x3f8)],_0x76781[_0x9e4ca9(0x28c)]),_0x2b0005=(0x0,_0x5ce366['useObservable'])(_0x316671==null?void 0x0:_0x316671[_0x9e4ca9(0x30b)][_0x9e4ca9(0x1c6)],_0x316671==null?void 0x0:_0x316671[_0x9e4ca9(0x30b)]['getRangeInfo']()),_0x1df873=_0x2b0005&&!Array[_0x9e4ca9(0x24f)](_0x2b0005)&&_0x2b0005[_0x9e4ca9(0x4fd)]?_0x255b48[_0x9e4ca9(0x471)][_0x9e4ca9(0x1cc)]:_0x255b48['DataOrientation'][_0x9e4ca9(0x240)];return(0x0,_0x49fd46[_0x9e4ca9(0x4d5)])(_0x9e4ca9(0x3ee),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':[(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x2eb124[_0x9e4ca9(0x3ea)],{'options':_0x36eaf3}),(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x2eb124['ChartTypeSpecificSetupSection'],{}),(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x2eb124[_0x9e4ca9(0x480)],{}),(0x0,_0x49fd46['jsx'])(_0x384190,{}),(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x2eb124['ChartStackField'],{}),(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x221d9a,{'dataRange':_0x2b0005}),(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x2eb124[_0x9e4ca9(0x2e8)],{'categoryToggleLabel':_0x49efa0['t'](_0x9e4ca9(0x49e),_0x1df873===_0x255b48[_0x9e4ca9(0x471)][_0x9e4ca9(0x1cc)]?_0x1df873+'\x20'+(((_0x2b0005==null?void 0x0:_0x2b0005[_0x9e4ca9(0x365)][_0x9e4ca9(0x361)]['startRow'])??0x0)+0x1):_0x1df873+'\x20'+(0x0,_0x11d3b6[_0x9e4ca9(0x3f0)])((_0x2b0005==null?void 0x0:_0x2b0005[_0x9e4ca9(0x365)]['range'][_0x9e4ca9(0x44f)])??0x0)),'orientationControl':(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x256526[_0x9e4ca9(0x397)],{'size':'small','onClick':()=>_0x91e685['setOrientation'](_0x1df873===_0x255b48[_0x9e4ca9(0x471)][_0x9e4ca9(0x1cc)]?_0x255b48['DataOrientation']['Column']:_0x255b48[_0x9e4ca9(0x471)][_0x9e4ca9(0x1cc)]),'children':_0x49efa0['t'](_0x9e4ca9(0x52e))})}),(0x0,_0x49fd46[_0x9e4ca9(0x4d1)])(_0x2eb124['ChartTypeSpecificDataSection'],{}),(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x9e4ca9(0x310)],{'defaultValues':_0x109461[_0x9e4ca9(0x4bf)][_0x9e4ca9(0x49a)]})]});};function _0x221d9a(_0x2814ce){const _0x2e1897=_0x2acbad;let {dataRange:_0x31039d}=_0x2814ce,_0x1488a4=(0x0,_0x5ce366[_0x2e1897(0x4cc)])(_0x295e12),_0x2a87b4=(0x0,_0x5ce366[_0x2e1897(0x4cc)])(_0x11d3b6[_0x2e1897(0x4a3)]),_0x5fb709=(0x0,_0x5ce366[_0x2e1897(0x4cc)])(_0x11d3b6[_0x2e1897(0x22c)]),[_0x2df12a,_0xfd55ab]=(0x0,_0x159c90[_0x2e1897(0x22f)])(!0x1),[_0x1ec885,_0x2dd97c]=(0x0,_0x159c90['useState'])(!0x1),_0x5a6711=_0x58f2c0(_0x5fb709),_0x1993e3=_0x2acc89(_0x5fb709);(0x0,_0x159c90[_0x2e1897(0x485)])(()=>{_0x1488a4['setRangeSelectMode'](_0x2df12a);},[_0x2df12a,_0x1488a4]);let _0x23da6e=(0x0,_0x159c90[_0x2e1897(0x2d8)])(()=>(0x0,_0x11d3b6[_0x2e1897(0x450)])(async _0x5bb4ad=>{const _0x49cc4a=_0x2e1897;var _0x515608;if(_0x52da0a(_0x31039d,_0x5fb709)===_0x5bb4ad)return;let _0x31af26=_0x5bb4ad[_0x49cc4a(0x252)](',')[_0x49cc4a(0x4a0)](Boolean)[_0x49cc4a(0x38b)](_0x5adb53[_0x49cc4a(0x40f)])[0x0];if(!_0x31af26)return;let {unitId:_0x23fea8,sheetName:_0x51a61c,range:_0x6c7c3e}=_0x31af26,_0x5cdc15=_0x23fea8||_0x5a6711,_0x47b734=((_0x515608=_0x5fb709['getUnit'](_0x5cdc15)[_0x49cc4a(0x226)](_0x51a61c))==null?void 0x0:_0x515608[_0x49cc4a(0x4d6)]())||(_0x31039d==null?void 0x0:_0x31039d[_0x49cc4a(0x365)][_0x49cc4a(0x279)]);_0x1488a4[_0x49cc4a(0x3ff)]({'rangeInfo':{'range':_0x6c7c3e,'unitId':_0x5cdc15,'subUnitId':_0x47b734}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x31039d,_0x1488a4,_0x5a6711,_0x5fb709]);return(0x0,_0x159c90[_0x2e1897(0x485)])(()=>()=>_0x23da6e[_0x2e1897(0x381)](),[_0x23da6e]),(0x0,_0x49fd46[_0x2e1897(0x4d1)])(_0x2e1897(0x3ee),{'className':_0x2e1897(0x2a8),'children':(0x0,_0x49fd46[_0x2e1897(0x4d5)])(_0x2e1897(0x3ee),{'children':[(0x0,_0x49fd46[_0x2e1897(0x4d1)])(_0x2eb124[_0x2e1897(0x280)],{'title':_0x2a87b4['t'](_0x2e1897(0x1ed))}),(0x0,_0x49fd46['jsx'])(_0x36b13c[_0x2e1897(0x3b7)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x5a6711,'subUnitId':_0x1993e3,'initialValue':_0x31039d?_0x52da0a(_0x31039d,_0x5fb709):'','onChange':(_0x47e79a,_0x31011c)=>_0x23da6e(_0x31011c),'onFocusChange':_0x465446=>{_0x1ec885||_0xfd55ab(_0x465446);},'onRangeSelectorDialogVisibleChange':_0x4c8eda=>{_0x2dd97c(_0x4c8eda),_0xfd55ab(_0x4c8eda);}})]})});}function _0x547288(_0x5c3e7b){const _0x4eec5c=_0x2acbad;return(0x0,_0x49fd46[_0x4eec5c(0x4d5)])(_0x2eb124[_0x4eec5c(0x22e)],{'id':_0x5c3e7b['id'],'children':[(0x0,_0x49fd46[_0x4eec5c(0x4d1)])(_0x2eb124[_0x4eec5c(0x30f)],{'children':_0x5c3e7b['label']}),(0x0,_0x49fd46[_0x4eec5c(0x4d1)])(_0x2eb124['ChartSectionAccordionContent'],{'children':_0x5c3e7b[_0x4eec5c(0x346)]})]});}let _0x38dce0=_0x3650ae=>{const _0x248657=_0x2acbad;let _0x1983b8=(0x0,_0x5ce366[_0x248657(0x4cc)])(_0x11d3b6[_0x248657(0x4a3)]),_0x564727=(0x0,_0x5ce366[_0x248657(0x4cc)])(_0x295e12),_0x2d7e35=(0x0,_0x5ce366['useDependency'])(_0x3fd577[_0x248657(0x52f)]),_0x2148ff=(0x0,_0x5ce366[_0x248657(0x437)])(_0x2d7e35['activeChartModel$'],_0x2d7e35[_0x248657(0x28c)]),_0x3e11e5=(0x0,_0x5ce366[_0x248657(0x437)])(_0x564727[_0x248657(0x314)],null),_0x652675=_0x3e11e5&&_0x3e11e5['chartId']===(_0x2148ff==null?void 0x0:_0x2148ff['id'])?_0x3e11e5['route']:null,_0x5d73ca=(0x0,_0x2eb124[_0x248657(0x347)])(),_0xb0e92f=(0x0,_0x2eb124[_0x248657(0x2d5)])(),[_0x424c17,_0x2b394f]=(0x0,_0x159c90[_0x248657(0x22f)])(null);(0x0,_0x159c90[_0x248657(0x485)])(()=>{const _0x493057=_0x248657;_0x652675!=null&&_0x652675[_0x493057(0x2de)]&&_0x2b394f(_0x652675[_0x493057(0x2de)]);},[_0x652675]);let _0x8b0b6c=_0x255b48[_0x248657(0x304)]['baseOn'](_0x5d73ca,_0x255b48['ChartTypeBits'][_0x248657(0x528)]),_0x5330ac=_0x5d73ca===_0x255b48['ChartTypeBits'][_0x248657(0x452)],_0x5f2b28=_0x5d73ca===_0x255b48['ChartTypeBits']['WordCloud'],_0x29e810=_0x5d73ca===_0x255b48[_0x248657(0x1b7)][_0x248657(0x2d1)],_0x25bea9=_0x255b48[_0x248657(0x304)][_0x248657(0x1ec)](_0x5d73ca,_0x255b48[_0x248657(0x1b7)][_0x248657(0x217)]),_0x40c686=_0x5d73ca===_0x255b48[_0x248657(0x1b7)][_0x248657(0x3c8)],_0x5e3db8=_0x5d73ca===_0x255b48[_0x248657(0x1b7)][_0x248657(0x451)],_0x1b8ef9=_0x5d73ca===_0x255b48[_0x248657(0x1b7)][_0x248657(0x4f9)],_0x2bff86=_0x5d73ca===_0x255b48[_0x248657(0x1b7)][_0x248657(0x2d0)],_0x58d47a,_0x5165b4;switch(_0x5d73ca){case _0x255b48[_0x248657(0x1b7)][_0x248657(0x1de)]:_0x58d47a=_0x2eb124[_0x248657(0x2c2)]['Candlestick'],_0x5165b4=_0x1983b8['t'](_0x248657(0x2f8));break;case _0x255b48['ChartTypeBits'][_0x248657(0x522)]:_0x58d47a=_0x2eb124[_0x248657(0x2c2)][_0x248657(0x522)],_0x5165b4=_0x1983b8['t'](_0x248657(0x1e5));break;case _0x255b48['ChartTypeBits'][_0x248657(0x420)]:_0x58d47a=_0x2eb124[_0x248657(0x2c2)]['Treemap'],_0x5165b4=_0x1983b8['t'](_0x248657(0x1ce));break;case _0x255b48[_0x248657(0x1b7)]['Sunburst']:_0x58d47a=_0x2eb124[_0x248657(0x2c2)][_0x248657(0x504)],_0x5165b4=_0x1983b8['t'](_0x248657(0x23e));break;case _0x255b48[_0x248657(0x1b7)][_0x248657(0x423)]:_0x58d47a=_0x2eb124[_0x248657(0x2c2)][_0x248657(0x423)],_0x5165b4=_0x1983b8['t']('sheets-chart-ui.section.gauge');break;case _0x255b48[_0x248657(0x1b7)][_0x248657(0x503)]:_0x58d47a=_0x2eb124['ChartEditPanelSection'][_0x248657(0x503)],_0x5165b4=_0x1983b8['t'](_0x248657(0x21e));break;}let _0x36b367=(0x0,_0x2eb124['chartTypeSupportsCapability'])(_0x5d73ca,_0x2eb124['ChartEditorCapability'][_0x248657(0x2dc)])&&!_0x25bea9&&!_0x1b8ef9;return(0x0,_0x49fd46[_0x248657(0x4d5)])(_0x2eb124['ChartSectionAccordion'],{'value':_0x424c17,'onChange':_0x2b394f,'children':[(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)]['ChartStyle'],'label':_0x1983b8['t']('sheets-chart-ui.common.chartStyle'),'children':(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x248657(0x427)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)]['style'],'showBodyFont':!0x0})}),(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124['ChartEditPanelSection']['ChartAndAxisTitles'],'label':_0x1983b8['t'](_0x248657(0x262)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x321)],{'commitMode':_0x248657(0x307),'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x520)],'selectedTitleKey':_0x652675==null?void 0x0:_0x652675[_0x248657(0x3c2)]})}),_0x36b367&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x4ac)],'label':_0x1983b8['t'](_0x248657(0x4d8)),'children':(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x248657(0x270)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x32b)],'NumberFormatField':_0x2eb124[_0x248657(0x415)],'selectedSeriesId':_0x652675==null?void 0x0:_0x652675[_0x248657(0x1f9)]})}),_0x5e3db8&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x42c)],'label':_0x1983b8['t'](_0x248657(0x519)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x3a9)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)]['waterfallStyle'],'getDefaultBucketName':({seriesName:_0xc7d78e,target:_0x4521dd})=>_0x4521dd===_0x255b48[_0x248657(0x525)][_0x248657(0x210)]?_0x1983b8['t'](_0x248657(0x303)):_0xc7d78e?_0xc7d78e+'-('+_0x1983b8['t'](_0x4521dd===_0x255b48[_0x248657(0x525)]['Positive']?_0x248657(0x26b):'sheets-chart-ui.waterfall.negative')+')':'','NumberFormatField':_0x2eb124[_0x248657(0x415)],'selectedSeriesId':_0x652675==null?void 0x0:_0x652675[_0x248657(0x1f9)]})}),_0x1b8ef9&&(0x0,_0x49fd46[_0x248657(0x4d5)])(_0x49fd46[_0x248657(0x531)],{'children':[(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)]['ParetoBarSeries'],'label':_0x1983b8['t'](_0x248657(0x1d1)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x20a)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x21c)],'NumberFormatField':_0x2eb124[_0x248657(0x415)],'showDataPointEditor':!0x0,'target':_0x248657(0x49f)})}),(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124['ChartEditPanelSection'][_0x248657(0x220)],'label':_0x1983b8['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124['ChartParetoSeriesSection'],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x21c)],'NumberFormatField':_0x2eb124[_0x248657(0x415)],'showDataPointEditor':!0x1,'target':_0x248657(0x4ff)})})]}),_0x8b0b6c&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x521)],'label':_0x1983b8['t'](_0x248657(0x301)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x466)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x391)],'NumberFormatField':_0x2eb124[_0x248657(0x415)]})}),_0x5f2b28&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x4e8)],'label':_0x1983b8['t'](_0x248657(0x453)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124['ChartWordCloudStyleSection'],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x3bd)]})}),_0x5330ac&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124['ChartEditPanelSection'][_0x248657(0x452)],'label':_0x1983b8['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x4df)],{'defaultValues':_0x3650ae['defaultValues']['radar']})}),_0x29e810&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124['ChartEditPanelSection'][_0x248657(0x2d1)],'label':_0x1983b8['t'](_0x248657(0x4ba)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124['ChartFunnelStyleSection'],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x340)],'gapControl':_0x248657(0x460)})}),_0x2bff86&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x2d0)],'label':_0x1983b8['t'](_0x248657(0x46f)),'children':(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x248657(0x4bc)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x1eb)]})}),_0x40c686&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x3c8)],'label':_0x1983b8['t']('sheets-chart-ui.section.relation'),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x2e3)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x25d)]})}),(0x0,_0x2eb124[_0x248657(0x20e)])(_0x5d73ca)&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x3ca)],'label':_0x1983b8['t'](_0x248657(0x22d)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x439)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)]['lineAndArea'],'lineStyleControl':_0x248657(0x336)})}),(0x0,_0x2eb124[_0x248657(0x492)])(_0x5d73ca,_0x2eb124[_0x248657(0x4b6)][_0x248657(0x3a2)])&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124['ChartEditPanelSection']['Legend'],'label':_0x1983b8['t'](_0x248657(0x4e6)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x534)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x1d2)]})}),(0x0,_0x2eb124[_0x248657(0x492)])(_0x5d73ca,_0x2eb124[_0x248657(0x4b6)][_0x248657(0x33d)])&&(0x0,_0x49fd46[_0x248657(0x4d5)])(_0x49fd46[_0x248657(0x531)],{'children':[(0x0,_0x49fd46['jsx'])(_0x547288,{'id':_0x2eb124['ChartEditPanelSection'][_0x248657(0x486)],'label':_0x1983b8['t'](_0x248657(0x23f)),'children':(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x248657(0x2ab)],{'axis':'x','defaultValues':_0x3650ae[_0x248657(0x4bf)]['axis'],'NumberFormatField':_0x2eb124[_0x248657(0x415)]})}),(0x0,_0x49fd46['jsx'])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x43a)],'label':_0x1983b8['t'](_0x248657(0x464)),'children':(0x0,_0x49fd46['jsx'])(_0x2eb124['ChartAxisSection'],{'axis':'y','defaultValues':_0x3650ae['defaultValues'][_0x248657(0x3d0)],'NumberFormatField':_0x2eb124[_0x248657(0x415)]})}),_0xb0e92f&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x441)],'label':_0x1983b8['t']('sheets-chart-ui.common.rightVerticalAxis'),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x2ab)],{'axis':_0x248657(0x1fc),'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x3d0)],'NumberFormatField':_0x2eb124['ChartNumberFormatAtom']})}),(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x258)],'label':_0x1983b8['t'](_0x248657(0x215)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x3ed)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x3d0)]})})]}),(0x0,_0x2eb124[_0x248657(0x492)])(_0x5d73ca,_0x2eb124['ChartEditorCapability'][_0x248657(0x2ae)])&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x2ae)],'label':_0x1983b8['t'](_0x248657(0x4e9)),'children':(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x248657(0x316)],{'defaultValues':_0x3650ae['defaultValues'][_0x248657(0x3c7)]})}),(0x0,_0x255b48[_0x248657(0x41c)])(_0x5d73ca)&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x2eb124[_0x248657(0x2c2)][_0x248657(0x320)],'label':_0x1983b8['t'](_0x248657(0x3bf)),'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x3a5)],{'defaultValues':_0x3650ae[_0x248657(0x4bf)][_0x248657(0x2d7)]})}),_0x58d47a&&_0x5165b4&&(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x547288,{'id':_0x58d47a,'label':_0x5165b4,'children':(0x0,_0x49fd46[_0x248657(0x4d1)])(_0x2eb124[_0x248657(0x545)],{})})]});};function _0x1b0dcc(_0x4ccdb3){const _0x2cbab0=_0x2acbad;let {className:_0x1a7560}=_0x4ccdb3,[_0xccbe59,_0xa30bc8]=(0x0,_0x159c90[_0x2cbab0(0x22f)])(_0x2eb124[_0x2cbab0(0x1ab)][_0x2cbab0(0x402)]),_0x4570d7=(0x0,_0x5ce366[_0x2cbab0(0x4cc)])(_0x11d3b6['Injector']),_0x4445b5=(0x0,_0x5ce366[_0x2cbab0(0x4cc)])(_0x11d3b6['LocaleService']),_0x2ca055=(0x0,_0x5ce366[_0x2cbab0(0x4cc)])(_0x295e12),_0x9be2a8=(0x0,_0x5ce366['useDependency'])(_0x3fd577[_0x2cbab0(0x52f)]),_0x215588=(0x0,_0x5ce366[_0x2cbab0(0x437)])(_0x9be2a8[_0x2cbab0(0x3f8)],_0x9be2a8[_0x2cbab0(0x28c)]),_0x755b3a=(0x0,_0x5ce366[_0x2cbab0(0x437)])(_0x2ca055[_0x2cbab0(0x314)],null),_0x30de0b=(0x0,_0x159c90[_0x2cbab0(0x2d8)])(()=>{const _0x1bdb97=_0x2cbab0;var _0x2688e1;if(!_0x215588)return null;let _0x41a416=_0x215588[_0x1bdb97(0x30b)]['getRangeInfo'](),_0x2a9424=Array[_0x1bdb97(0x24f)](_0x41a416)?(_0x2688e1=_0x41a416[0x0])==null?void 0x0:_0x2688e1['range']:_0x41a416['rangeInfo'];return _0x2a9424?new _0x2eb124['ChartHostAdapter'](_0x215588,new _0x3fd577[(_0x1bdb97(0x268))]({'unitId':_0x2a9424[_0x1bdb97(0x51f)],'subUnitId':_0x2a9424[_0x1bdb97(0x279)],'chartId':_0x215588['id'],'injector':_0x4570d7})):null;},[_0x215588,_0x4570d7]);return(0x0,_0x159c90[_0x2cbab0(0x485)])(()=>{const _0x22ca93=_0x2cbab0;var _0x29c93d,_0x1b27fb;!_0x215588||(_0x755b3a==null?void 0x0:_0x755b3a[_0x22ca93(0x205)])!==_0x215588['id']||(((_0x29c93d=_0x755b3a[_0x22ca93(0x286)])==null?void 0x0:_0x29c93d[_0x22ca93(0x1ca)])===_0x2eb124['ChartEditPanelTab']['Style']&&_0xa30bc8(_0x2eb124[_0x22ca93(0x1ab)][_0x22ca93(0x50b)]),((_0x1b27fb=_0x755b3a[_0x22ca93(0x286)])==null?void 0x0:_0x1b27fb[_0x22ca93(0x1ca)])===_0x2eb124[_0x22ca93(0x1ab)][_0x22ca93(0x402)]&&_0xa30bc8(_0x2eb124[_0x22ca93(0x1ab)][_0x22ca93(0x402)]));},[_0x215588,_0x755b3a]),_0x30de0b?(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x2cbab0(0x4cb)],{'chartUIService':_0x2ca055,'hostAdapter':_0x30de0b,'children':(0x0,_0x49fd46[_0x2cbab0(0x4d5)])(_0x2cbab0(0x3ee),{'className':_0x2cbab0(0x533)+(_0xccbe59===_0x2eb124['ChartEditPanelTab'][_0x2cbab0(0x50b)]?_0x2cbab0(0x47d):_0x2cbab0(0x3de))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1a7560??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,_0x49fd46[_0x2cbab0(0x4d1)])(_0x2eb124[_0x2cbab0(0x3a3)],{'ariaLabel':_0x4445b5['t'](_0x2cbab0(0x3e1)),'className':'univer-shrink-0','items':[{'label':_0x4445b5['t'](_0x2cbab0(0x250)),'panelId':_0x162dbc,'value':_0x2eb124[_0x2cbab0(0x1ab)][_0x2cbab0(0x402)]},{'label':_0x4445b5['t']('sheets-chart-ui.common.customize'),'panelId':_0x11abe8,'value':_0x2eb124[_0x2cbab0(0x1ab)][_0x2cbab0(0x50b)]}],'value':_0xccbe59,'onChange':_0xa30bc8}),_0xccbe59===_0x2eb124[_0x2cbab0(0x1ab)][_0x2cbab0(0x402)]?(0x0,_0x49fd46[_0x2cbab0(0x4d1)])(_0x2eb124[_0x2cbab0(0x403)],{'id':_0x162dbc,'label':_0x4445b5['t'](_0x2cbab0(0x250)),'children':(0x0,_0x49fd46[_0x2cbab0(0x4d1)])(_0x4613f3,{'defaultValues':_0x49da16})}):(0x0,_0x49fd46['jsx'])(_0x2eb124[_0x2cbab0(0x403)],{'id':_0x11abe8,'className':_0x2cbab0(0x2e6),'label':_0x4445b5['t'](_0x2cbab0(0x4c1)),'children':(0x0,_0x49fd46[_0x2cbab0(0x4d1)])(_0x38dce0,{'defaultValues':_0x49da16})})]})}):null;}let _0x54ea22='sheet.chart.edit.panel',_0x162dbc='sheet-chart-setup-panel',_0x11abe8='sheet-chart-style-panel';function _0x4a1f95(_0xe982f){const _0x30e4a4=_0x2acbad;if(_0xe982f[_0x30e4a4(0x40b)]!==0x1)return!0x1;let _0x3bf0ef=_0xe982f[0x0];return _0x3bf0ef['drawingType']===_0x11d3b6[_0x30e4a4(0x385)][_0x30e4a4(0x2bb)]&&!_0x3bf0ef[_0x30e4a4(0x488)];}let _0x113ad0=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x20fa2c,_0x8068b4,_0x2fce7c,_0x49dae2,_0x39784d,_0x4d2171,_0x14f6c1,_0x2e91cc,_0x23eb73,_0x5be537,_0x4ca399,_0x2ea3d0,_0x315068,_0x56260b){const _0x119744=_0x2acbad;var _0x53c3b1;super(),this[_0x119744(0x53e)]=_0x20fa2c,this['_univerInstanceService']=_0x8068b4,this[_0x119744(0x3fb)]=_0x2fce7c,this['_chartRenderService']=_0x49dae2,this[_0x119744(0x204)]=_0x39784d,this[_0x119744(0x1b9)]=_0x4d2171,this[_0x119744(0x435)]=_0x14f6c1,this[_0x119744(0x540)]=_0x2e91cc,this[_0x119744(0x233)]=_0x23eb73,this[_0x119744(0x309)]=_0x5be537,this['_sheetsChartUIService']=_0x4ca399,this[_0x119744(0x313)]=_0x2ea3d0,this['_localeService']=_0x315068,_0x44c5f1(this,_0x119744(0x4c6),null),_0x44c5f1(this,'_isChartElementEditEnabled',void 0x0),this['_isChartElementEditEnabled']=((_0x53c3b1=_0x56260b['getConfig'](_0x119744(0x351)))==null?void 0x0:_0x53c3b1['enableChartElementFloatMenu'])===!0x0,this[_0x119744(0x43f)](),this[_0x119744(0x529)](this['_univerInstanceService'][_0x119744(0x442)](_0x11d3b6[_0x119744(0x3ce)][_0x119744(0x473)])[_0x119744(0x311)](_0x5d3b47=>{const _0x4d30b4=_0x119744;var _0x748310;_0x5d3b47||(_0x748310=this[_0x4d30b4(0x4c6)])==null||_0x748310[_0x4d30b4(0x3cb)]();})),this[_0x119744(0x529)]((0x0,_0x11d3b6[_0x119744(0x284)])(this[_0x119744(0x204)][_0x119744(0x45a)]['subscribe'](async({drawing:_0x4d181a})=>{const _0x41586b=_0x119744;await this[_0x41586b(0x1ee)](_0x4d181a);})));}[_0x2acbad(0x39e)](){const _0x4e9eab=_0x2acbad;this[_0x4e9eab(0x4c6)]=this[_0x4e9eab(0x1b9)]['open']({'id':_0x54ea22,'header':{'title':this[_0x4e9eab(0x3d6)]['t'](_0x4e9eab(0x3e1))},'width':0x154,'children':{'label':_0x54ea22},'onClose':()=>{const _0x3b925b=_0x4e9eab;this[_0x3b925b(0x4c6)]=null,this[_0x3b925b(0x2ff)](),this[_0x3b925b(0x3fb)][_0x3b925b(0x28c)]&&this[_0x3b925b(0x3fb)]['setActiveChartModel'](null),this['_drawingManagerService'][_0x3b925b(0x42b)](null),this['_contextService'][_0x3b925b(0x2e7)](_0x11d3b6[_0x3b925b(0x2c8)],!0x1);}});}[_0x2acbad(0x4e1)](){const _0x3b958f=_0x2acbad;let _0x32a8b0=this[_0x3b958f(0x4c6)];this[_0x3b958f(0x4c6)]=null,this[_0x3b958f(0x2ff)](),this[_0x3b958f(0x3fb)][_0x3b958f(0x28c)]&&this[_0x3b958f(0x3fb)]['setActiveChartModel'](null),_0x32a8b0==null||_0x32a8b0[_0x3b958f(0x3cb)]();}[_0x2acbad(0x524)](){const _0x1ee449=_0x2acbad;let _0x24aa8e=this['_univerInstanceService'][_0x1ee449(0x41e)](_0x11d3b6[_0x1ee449(0x3ce)]['UNIVER_SHEET']);this[_0x1ee449(0x529)](this[_0x1ee449(0x1b9)][_0x1ee449(0x203)]['subscribe'](_0x32c3dc=>{const _0x248d64=_0x1ee449;_0x32c3dc['id']===_0x248d64(0x4b4)&&(_0x32c3dc[_0x248d64(0x25f)]||this[_0x248d64(0x1b9)][_0x248d64(0x203)][_0x248d64(0x207)]({'visible':!0x1}));})),this['disposeWithMe']((0x0,_0x20d33d[_0x1ee449(0x28f)])([this[_0x1ee449(0x3fb)][_0x1ee449(0x3f8)],this[_0x1ee449(0x3d4)][_0x1ee449(0x52c)]])[_0x1ee449(0x3c0)]((0x0,_0x20d33d['map'])(([_0x4c3e8a,_0x558959])=>_0x558959?(_0x4c3e8a==null?void 0x0:_0x4c3e8a['id'])??null:null),(0x0,_0x20d33d[_0x1ee449(0x332)])(),(0x0,_0x20d33d[_0x1ee449(0x406)])(null),(0x0,_0x20d33d[_0x1ee449(0x2bf)])())[_0x1ee449(0x311)](([_0x1a103a,_0x41596b])=>{const _0x40a7e3=_0x1ee449;this[_0x40a7e3(0x350)](_0x1a103a,_0x41596b);})),this[_0x1ee449(0x529)](this[_0x1ee449(0x3fb)][_0x1ee449(0x3f8)][_0x1ee449(0x311)](_0x499442=>{const _0x2dffff=_0x1ee449;!_0x499442&&this[_0x2dffff(0x4c6)]&&this[_0x2dffff(0x4e1)]();})),this['disposeWithMe'](this[_0x1ee449(0x309)][_0x1ee449(0x28a)](_0x5242a2=>{const _0x16a8dc=_0x1ee449;if(_0x5242a2['id']===_0x3cfc7f['id']){let _0x544dae=_0x5242a2[_0x16a8dc(0x511)];this[_0x16a8dc(0x35f)](_0x544dae[_0x16a8dc(0x266)],_0x544dae[_0x16a8dc(0x286)]);}if(_0x5242a2['id']===_0x883a27['id']&&this['hidePanel'](),_0x5242a2['id']===_0x3fd577[_0x16a8dc(0x30a)]['id']){var _0x432769;_0x5242a2[_0x16a8dc(0x511)][_0x16a8dc(0x205)]===((_0x432769=this[_0x16a8dc(0x3fb)]['activeChartModel'])==null?void 0x0:_0x432769['id'])&&this[_0x16a8dc(0x4e1)](),this['_contextService'][_0x16a8dc(0x4b8)](_0x11d3b6[_0x16a8dc(0x2c8)])&&(this[_0x16a8dc(0x313)]['setContextValue'](_0x11d3b6['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x16a8dc(0x53e)][_0x16a8dc(0x42b)](null));}})),this['disposeWithMe'](this[_0x1ee449(0x540)][_0x1ee449(0x44d)][_0x1ee449(0x311)](({id:_0x10c732})=>{const _0xb36e3c=_0x1ee449;this[_0xb36e3c(0x3d4)][_0xb36e3c(0x364)](_0x10c732)&&this[_0xb36e3c(0x4e1)]();})),this[_0x1ee449(0x529)](this[_0x1ee449(0x540)][_0x1ee449(0x537)][_0x1ee449(0x311)](({id:_0x6e7d6e})=>{const _0x1d430c=_0x1ee449;this[_0x1d430c(0x3d4)][_0x1d430c(0x364)](_0x6e7d6e)&&(this[_0x1d430c(0x3d4)]['clearPanelRoute'](),this[_0x1d430c(0x2f2)][_0x1d430c(0x24b)](_0x6e7d6e,!0x1),this[_0x1d430c(0x1ff)](_0x6e7d6e)&&this[_0x1d430c(0x2f2)][_0x1d430c(0x24b)](_0x6e7d6e,!0x0));})),this[_0x1ee449(0x529)](this[_0x1ee449(0x53e)][_0x1ee449(0x31f)][_0x1ee449(0x311)](_0x57722a=>{const _0x211033=_0x1ee449;let _0x3acf1a=_0x57722a[0x0];if(!this['_sheetsChartUIService'][_0x211033(0x214)]){if(_0x4a1f95(_0x57722a)){var _0x7b55ac;let _0xf889e5=this[_0x211033(0x3fb)][_0x211033(0x264)](_0x3acf1a[_0x211033(0x266)]);_0xf889e5&&((_0x7b55ac=this[_0x211033(0x3fb)][_0x211033(0x28c)])==null?void 0x0:_0x7b55ac['id'])!==_0xf889e5['id']&&this[_0x211033(0x3fb)][_0x211033(0x299)](_0xf889e5);return;}this[_0x211033(0x3fb)]['activeChartModel']&&this[_0x211033(0x3fb)][_0x211033(0x299)](null),!_0x3acf1a&&!this['_sheetsChartUIService'][_0x211033(0x214)]&&this[_0x211033(0x4e1)]();}})),_0x24aa8e&&(this[_0x1ee449(0x529)](_0x24aa8e[_0x1ee449(0x530)][_0x1ee449(0x311)](()=>{const _0x5b1b80=_0x1ee449;this[_0x5b1b80(0x4e1)]();})),this['disposeWithMe'](_0x24aa8e[_0x1ee449(0x2eb)][_0x1ee449(0x311)](()=>{const _0x5da26d=_0x1ee449;this[_0x5da26d(0x4e1)]();})));}async[_0x2acbad(0x1ee)](_0x2152ca){const _0x3ca4c7=_0x2acbad;this['_sheetsChartUIService'][_0x3ca4c7(0x32a)]||_0x2152ca[_0x3ca4c7(0x2cf)]===_0x11d3b6['DrawingTypeEnum'][_0x3ca4c7(0x2bb)]&&await this[_0x3ca4c7(0x3b4)](_0x2152ca[_0x3ca4c7(0x51f)],_0x2152ca[_0x3ca4c7(0x279)],_0x2152ca[_0x3ca4c7(0x266)]);}async['_openEditPanelByDoubleClick'](_0x3241c7,_0x109efe,_0x591517){const _0x4992ac=_0x2acbad;let _0x31029c=this[_0x4992ac(0x3fb)]['getChartModel'](_0x591517);_0x31029c&&(this[_0x4992ac(0x3fb)][_0x4992ac(0x299)](_0x31029c),await this['_commandService'][_0x4992ac(0x1d9)](_0x3cfc7f['id'],{'unitId':_0x3241c7,'subUnitId':_0x109efe,'drawingId':_0x591517}));}[_0x2acbad(0x35f)](_0x12fbd3,_0x3e15cf){const _0x4b3848=_0x2acbad;let _0x3a46e8=this[_0x4b3848(0x3fb)]['getChartModel'](_0x12fbd3);_0x3a46e8&&(this[_0x4b3848(0x3fb)][_0x4b3848(0x299)](_0x3a46e8),this[_0x4b3848(0x39e)](),this['_activateEditPanelState'](_0x12fbd3,_0x3e15cf??null));}[_0x2acbad(0x3f3)](_0x58a6c9,_0x5be3d6){const _0x564242=_0x2acbad;this[_0x564242(0x3d4)][_0x564242(0x3e3)](!0x0),this['_sheetsChartUIService']['setPanelRoute'](_0x58a6c9,_0x5be3d6);}[_0x2acbad(0x2ff)](){const _0x4d14b9=_0x2acbad;this[_0x4d14b9(0x3d4)]['setChartEditorOpen'](!0x1);}[_0x2acbad(0x350)](_0x44b855,_0x32d349){const _0x4dcf1d=_0x2acbad;_0x44b855!==_0x32d349&&(_0x44b855&&this[_0x4dcf1d(0x2f2)][_0x4dcf1d(0x24b)](_0x44b855,!0x1),this[_0x4dcf1d(0x3d4)][_0x4dcf1d(0x2a7)](),_0x32d349&&(this[_0x4dcf1d(0x3d4)][_0x4dcf1d(0x462)](_0x32d349,null),this[_0x4dcf1d(0x2f2)]['setElementEditMode'](_0x32d349,this[_0x4dcf1d(0x1ff)](_0x32d349))));}[_0x2acbad(0x43f)](){const _0x120cd5=_0x2acbad;this['_menuManagerService'][_0x120cd5(0x2b6)](_0x324d59),this['_sheetCanvasPopManagerService'][_0x120cd5(0x4c7)](_0x11d3b6[_0x120cd5(0x385)][_0x120cd5(0x2bb)],this[_0x120cd5(0x412)][_0x120cd5(0x3a8)](this));}['_shouldEnableChartElementEdit'](_0x2c923a){const _0xf713e8=_0x2acbad;let _0x1258fc=this[_0xf713e8(0x3fb)][_0xf713e8(0x264)](_0x2c923a);return!this[_0xf713e8(0x543)]||!_0x1258fc?!0x1:_0x50c465(_0x1258fc[_0xf713e8(0x401)]);}[_0x2acbad(0x412)](_0x1a566d,_0x2fae1b,_0x3b6161,_0x3bd15e){const _0x1fcc71=_0x2acbad;return[{'label':this[_0x1fcc71(0x3d6)]['t'](_0x1fcc71(0x2b3)),'index':0x0,'commandId':_0x3cfc7f['id'],'commandParams':{'unitId':_0x1a566d,'subUnitId':_0x2fae1b,'drawingId':_0x3b6161},'disable':_0x3bd15e!==_0x11d3b6[_0x1fcc71(0x385)][_0x1fcc71(0x2bb)]},{'label':this[_0x1fcc71(0x3d6)]['t'](_0x1fcc71(0x2d3)),'index':0x1,'commandId':_0x251774[_0x1fcc71(0x3a4)]['id'],'commandParams':{'unitId':_0x1a566d,'drawings':[{'unitId':_0x1a566d,'subUnitId':_0x2fae1b,'drawingId':_0x3b6161,'drawingType':_0x3bd15e}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x1fcc71(0x390)),'index':0x2,'commandId':_0x883a27['id'],'commandParams':{'unitId':_0x1a566d,'subUnitId':_0x2fae1b,'drawingId':_0x3b6161},'disable':!0x1}];}};_0x113ad0=_0x1ed95b([_0x301f42(0x0,_0x470a83[_0x2acbad(0x409)]),_0x301f42(0x1,_0x11d3b6[_0x2acbad(0x22c)]),_0x301f42(0x2,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x52f)])),_0x301f42(0x3,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x2cd79b)),_0x301f42(0x4,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0xbf83ca['SheetDrawingHitTestService'])),_0x301f42(0x5,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x5ce366[_0x2acbad(0x1fe)])),_0x301f42(0x6,_0x5ce366[_0x2acbad(0x358)]),_0x301f42(0x7,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0xbf83ca['SheetCanvasFloatDomManagerService'])),_0x301f42(0x8,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3ea34e[_0x2acbad(0x413)])),_0x301f42(0x9,_0x11d3b6['ICommandService']),_0x301f42(0xa,_0x295e12),_0x301f42(0xb,_0x11d3b6[_0x2acbad(0x41a)]),_0x301f42(0xc,(0x0,_0x11d3b6['Inject'])(_0x11d3b6[_0x2acbad(0x4a3)])),_0x301f42(0xd,_0x11d3b6[_0x2acbad(0x2cc)])],_0x113ad0);var _0x3e4d3f=_0x2acbad(0x1e6),_0x3a5aea='1.0.0-beta.2';let _0x301bcf={'scaleX':0x1,'scaleY':0x1};function _0x33014f(_0x48ee6c){let _0x2cb2ed=_0x48ee6c['nativeEvent'];return _0x2cb2ed instanceof MouseEvent?_0x2cb2ed:void 0x0;}function _0x2aa090(_0x3e05d6){const _0x56322b=_0x2acbad;let _0x329f72=_0x3e05d6[_0x56322b(0x410)],_0x444867=_0x329f72==null?void 0x0:_0x329f72[_0x56322b(0x4d3)];return _0x444867 instanceof Element?_0x444867:void 0x0;}function _0x32c907(_0x13db1d){const _0x661a65=_0x2acbad;var _0x463944;return(_0x463944=_0x2aa090(_0x13db1d))==null?void 0x0:_0x463944[_0x661a65(0x469)]();}function _0x39df37(_0x8a9bb4){const _0x164357=_0x2acbad;return _0x8a9bb4[_0x164357(0x4a8)]||_0x8a9bb4[_0x164357(0x47a)]-_0x8a9bb4['left'];}function _0x1c630c(_0x29cf84){const _0x4aa136=_0x2acbad;return _0x29cf84[_0x4aa136(0x2c7)]||_0x29cf84[_0x4aa136(0x3b2)]-_0x29cf84[_0x4aa136(0x3bb)];}function _0x64479d(_0x4d9f4c,_0x3e7ba1){const _0x48c185=_0x2acbad;let _0x13695a=_0x4d9f4c[_0x48c185(0x3ae)]||(_0x4d9f4c instanceof HTMLElement?_0x4d9f4c[_0x48c185(0x3b3)]:0x0),_0x932f75=_0x4d9f4c[_0x48c185(0x48f)]||(_0x4d9f4c instanceof HTMLElement?_0x4d9f4c[_0x48c185(0x40e)]:0x0),_0xf66006=_0x39df37(_0x3e7ba1),_0x4c1668=_0x1c630c(_0x3e7ba1);return{'scaleX':_0x13695a>0x0&&_0xf66006>0x0?_0xf66006/_0x13695a:_0x301bcf[_0x48c185(0x26f)],'scaleY':_0x932f75>0x0&&_0x4c1668>0x0?_0x4c1668/_0x932f75:_0x301bcf[_0x48c185(0x3e2)]};}function _0x210325(_0x28bd9b,_0x5b5658,_0x2cff13){const _0x53ac40=_0x2acbad;return{'left':_0x28bd9b[_0x53ac40(0x2b4)]+_0x5b5658['left']*_0x2cff13[_0x53ac40(0x26f)],'right':_0x28bd9b[_0x53ac40(0x2b4)]+_0x5b5658[_0x53ac40(0x47a)]*_0x2cff13['scaleX'],'top':_0x28bd9b[_0x53ac40(0x3bb)]+_0x5b5658['top']*_0x2cff13['scaleY'],'bottom':_0x28bd9b[_0x53ac40(0x3bb)]+_0x5b5658[_0x53ac40(0x3b2)]*_0x2cff13[_0x53ac40(0x3e2)]};}function _0x240044(_0x4c06af){const _0x52e079=_0x2acbad;let _0x16fcd2=_0x2aa090(_0x4c06af),_0x29a37d=_0x4c06af['hit'][_0x52e079(0x312)];return _0x16fcd2&&_0x29a37d?()=>{const _0x197abb=_0x52e079;let _0x35e92f=_0x16fcd2[_0x197abb(0x469)]();return _0x210325(_0x35e92f,_0x29a37d,_0x64479d(_0x16fcd2,_0x35e92f));}:()=>{const _0x30ca10=_0x52e079;let _0x20a1b9=_0x32c907(_0x4c06af);if(_0x20a1b9&&_0x29a37d)return _0x210325(_0x20a1b9,_0x29a37d,_0x16fcd2?_0x64479d(_0x16fcd2,_0x20a1b9):_0x301bcf);let _0x49a739=_0x33014f(_0x4c06af),_0x51e534=_0x16fcd2&&_0x20a1b9?_0x64479d(_0x16fcd2,_0x20a1b9):_0x301bcf,_0x3d11c1=(_0x49a739==null?void 0x0:_0x49a739[_0x30ca10(0x26c)])??(_0x20a1b9?_0x20a1b9[_0x30ca10(0x2b4)]+_0x4c06af['localPoint']['x']*_0x51e534[_0x30ca10(0x26f)]:_0x4c06af['localPoint']['x']),_0x5eaefd=(_0x49a739==null?void 0x0:_0x49a739[_0x30ca10(0x456)])??(_0x20a1b9?_0x20a1b9[_0x30ca10(0x3bb)]+_0x4c06af[_0x30ca10(0x500)]['y']*_0x51e534[_0x30ca10(0x3e2)]:_0x4c06af['localPoint']['y']);return{'left':_0x3d11c1,'right':_0x3d11c1+0x1,'top':_0x5eaefd,'bottom':_0x5eaefd+0x1};};}function _0x403a2d(_0x47245a){const _0x27e8d4=_0x2acbad;return typeof _0x47245a==_0x27e8d4(0x3ba)&&Number[_0x27e8d4(0x246)](_0x47245a);}function _0x239885(_0x2b219b){if(!_0x2b219b||typeof _0x2b219b!='object')return!0x0;let {startX:_0x504935,endX:_0x14b059,startY:_0x55c3c2,endY:_0x5cde09}=_0x2b219b;return!_0x403a2d(_0x504935)||!_0x403a2d(_0x14b059)||!_0x403a2d(_0x55c3c2)||!_0x403a2d(_0x5cde09)||_0x14b059-_0x504935>0x2&&_0x5cde09-_0x55c3c2>0x2;}function _0x3028c3(_0x4302ee){const _0x5a29d2=_0x2acbad;return _0x4302ee['right']<=_0x4302ee[_0x5a29d2(0x2b4)]||_0x4302ee[_0x5a29d2(0x3b2)]<=_0x4302ee[_0x5a29d2(0x3bb)]?!0x1:typeof window>'u'||_0x4302ee[_0x5a29d2(0x47a)]>0x0&&_0x4302ee[_0x5a29d2(0x3b2)]>0x0&&_0x4302ee[_0x5a29d2(0x2b4)]<window[_0x5a29d2(0x356)]&&_0x4302ee[_0x5a29d2(0x3bb)]<window[_0x5a29d2(0x449)];}function _0x1c3250(_0x440019){const _0x2f82bc=_0x2acbad;var _0x4d839d;return _0x440019==null||(_0x4d839d=_0x440019['getValue'])==null?void 0x0:_0x4d839d[_0x2f82bc(0x3af)](_0x440019);}function _0x422241(_0x181c77,_0x27b4f9,_0x22844b){const _0x156fbc=_0x2acbad;let _0x480e23=_0x240044(_0x181c77),_0x1ea581=_0x1c3250(_0x27b4f9),_0xb74e96=_0x480e23(),_0x1d81b5=new _0x20d33d[(_0x156fbc(0x4e2))](_0xb74e96),_0x41cc30=new _0x11d3b6['DisposableCollection'](),_0x537f66=!0x1,_0x5df91f=!0x1,_0x80e56b=_0x2a85c5=>_0x239885(_0x1ea581)&&_0x3028c3(_0x2a85c5),_0x5cd149=()=>{_0x5df91f||_0x537f66||(_0x5df91f=!0x0,queueMicrotask(()=>{const _0x2397c7=_0x9495;if(_0x5df91f=!0x1,!_0x537f66){let _0x3f137e=_0x480e23();if(!_0x80e56b(_0x3f137e)){_0x22844b();return;}_0x1d81b5[_0x2397c7(0x207)](_0x3f137e);}}));};return _0x27b4f9&&_0x41cc30[_0x156fbc(0x225)](_0x27b4f9['subscribe'](_0x238dfc=>{_0x1ea581=_0x238dfc,_0x5cd149();})),typeof window<'u'&&_0x41cc30[_0x156fbc(0x225)]((0x0,_0x20d33d[_0x156fbc(0x37c)])((0x0,_0x20d33d['fromEvent'])(window,_0x156fbc(0x383),{'capture':!0x0}),(0x0,_0x20d33d[_0x156fbc(0x329)])(window,_0x156fbc(0x1d7)))['pipe']((0x0,_0x20d33d[_0x156fbc(0x1c5)])(0x10))[_0x156fbc(0x311)](_0x5cd149)),{'initialRect':_0xb74e96,'anchorRect$':_0x1d81b5['asObservable'](),'visible':_0x80e56b(_0xb74e96),'dispose':()=>{const _0xcd6af7=_0x156fbc;_0x537f66=!0x0,_0x41cc30[_0xcd6af7(0x3cb)](),_0x1d81b5[_0xcd6af7(0x2da)]();}};}let _0x3a6cc1=_0x2acbad(0x202),_0x14ad97=class extends _0x11d3b6['Disposable']{constructor(_0x4d587e,_0x30061c,_0x3afce9,_0x32b7bc,_0x816c74,_0x5da338,_0x4a7041,_0x6bece8,_0x59e064){const _0xde742f=_0x2acbad;super(),this[_0xde742f(0x3fb)]=_0x4d587e,this['_chartRenderService']=_0x30061c,this['_chartHostProvider']=_0x3afce9,this[_0xde742f(0x233)]=_0x32b7bc,this[_0xde742f(0x540)]=_0x816c74,this[_0xde742f(0x4fe)]=_0x5da338,this[_0xde742f(0x4b5)]=_0x4a7041,this[_0xde742f(0x309)]=_0x6bece8,this[_0xde742f(0x318)]=_0x59e064,_0x44c5f1(this,_0xde742f(0x37f),null),_0x44c5f1(this,_0xde742f(0x407),null),_0x44c5f1(this,'_popupSessionKey',null),this[_0xde742f(0x20f)](),this[_0xde742f(0x1b8)]();}[_0x2acbad(0x3cb)](){const _0x56bd57=_0x2acbad;this[_0x56bd57(0x29c)](),super['dispose']();}['_registerAdapter'](){const _0x248051=_0x2acbad;let _0x5c2a40=(0x0,_0x2eb124[_0x248051(0x3c3)])({'chartUIService':this[_0x248051(0x4fe)],'getHostAdapter':_0x55d001=>{const _0x5ed65c=_0x248051;let _0x4f1545=this[_0x5ed65c(0x3fb)][_0x5ed65c(0x264)](_0x55d001[_0x5ed65c(0x205)]);if(!(!_0x4f1545||!_0x55d001[_0x5ed65c(0x279)]))return new _0x2eb124['ChartHostAdapter'](_0x4f1545,new _0x3fd577[(_0x5ed65c(0x268))]({'unitId':_0x55d001[_0x5ed65c(0x51f)],'subUnitId':_0x55d001[_0x5ed65c(0x279)],'chartId':_0x55d001[_0x5ed65c(0x205)],'injector':this[_0x5ed65c(0x318)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x3581b2=>{const _0x3b6484=_0x248051;let {unitId:_0xee7e61,subUnitId:_0x2cd6a6,drawingId:_0x12ba67,chartId:_0x3e9cfd}=_0x3581b2,_0x48edce=(0x0,_0x2eb124[_0x3b6484(0x2b9)])(_0x3581b2['target']);this[_0x3b6484(0x309)]['executeCommand'](_0x3cfc7f['id'],{'unitId':_0xee7e61,'subUnitId':_0x2cd6a6??'','drawingId':_0x12ba67??_0x3e9cfd,..._0x48edce?{'route':_0x48edce}:{}});}});this['disposeWithMe'](this[_0x248051(0x4b5)][_0x248051(0x40a)](_0x3a6cc1,_0x5c2a40));}[_0x2acbad(0x1b8)](){const _0x4d846c=_0x2acbad;this[_0x4d846c(0x529)](this[_0x4d846c(0x3fb)][_0x4d846c(0x1b5)][_0x4d846c(0x311)](_0x4199cc=>{const _0x268334=_0x4d846c;let _0x2b072f=new _0x11d3b6['DisposableCollection']();_0x2b072f['add'](this[_0x268334(0x2f2)]['on'](_0x4199cc['id'],_0x268334(0x4d2),_0x4d198d=>{const _0x423df7=_0x268334;this[_0x423df7(0x45d)](_0x4199cc['id'],_0x4d198d);})),_0x2b072f[_0x268334(0x225)](this['_chartRenderService']['on'](_0x4199cc['id'],_0x268334(0x489),()=>{const _0x1ee3b4=_0x268334;this[_0x1ee3b4(0x3b4)](_0x4199cc['id']);})),_0x4199cc[_0x268334(0x4cf)](()=>{_0x2b072f['dispose'](),this['_clearSelectedTarget'](_0x4199cc['id']);}),this[_0x268334(0x529)](_0x2b072f);})),this[_0x4d846c(0x529)]((0x0,_0x20d33d['combineLatest'])([this[_0x4d846c(0x3fb)][_0x4d846c(0x3f8)],this[_0x4d846c(0x4fe)][_0x4d846c(0x52c)]])[_0x4d846c(0x311)](([_0x261b64,_0x220af1])=>{const _0xfff7b6=_0x4d846c;(!_0x220af1||this[_0xfff7b6(0x407)]&&(_0x261b64==null?void 0x0:_0x261b64['id'])!==this[_0xfff7b6(0x407)])&&this['_closePopup']();})),this[_0x4d846c(0x529)](this['_sheetCanvasFloatDomManagerService'][_0x4d846c(0x537)][_0x4d846c(0x311)](({id:_0xea2fa})=>{this['_clearSelectedTarget'](_0xea2fa);})),this['disposeWithMe'](this[_0x4d846c(0x540)]['remove$']['subscribe'](({id:_0xea86f8})=>{const _0x11c31f=_0x4d846c;this[_0x11c31f(0x50d)](_0xea86f8);})),this[_0x4d846c(0x529)](this[_0x4d846c(0x444)][_0x4d846c(0x4c4)][_0x4d846c(0x311)](_0x29747c=>{const _0x35435f=_0x4d846c;this[_0x35435f(0x50d)](_0x29747c);}));}[_0x2acbad(0x3b4)](_0x346b05){const _0x1cee4d=_0x2acbad;if(this[_0x1cee4d(0x4fe)]['chartEditorOpen'])return;let _0x1ac205=this[_0x1cee4d(0x3fb)][_0x1cee4d(0x264)](_0x346b05),_0x8e281d=this[_0x1cee4d(0x540)][_0x1cee4d(0x354)](_0x346b05);!_0x1ac205||!_0x8e281d||this[_0x1cee4d(0x309)][_0x1cee4d(0x1d9)](_0x3cfc7f['id'],{'unitId':_0x8e281d[_0x1cee4d(0x51f)],'subUnitId':_0x8e281d[_0x1cee4d(0x279)]??'','drawingId':_0x346b05});}['_openFloatMenu'](_0x1581ec,_0x2e6db2){const _0x425c68=_0x2acbad;if(!this[_0x425c68(0x4fe)][_0x425c68(0x364)](_0x1581ec))return;let _0x234cbe=this[_0x425c68(0x3fb)][_0x425c68(0x264)](_0x1581ec),_0x543dcd=_0x234cbe?_0x1d5585(_0x234cbe,_0x2e6db2[_0x425c68(0x274)]):void 0x0;if(!_0x543dcd){this['_chartUIService']['clearPanelRoute'](),this[_0x425c68(0x29c)]();return;}let _0x5bb306=this[_0x425c68(0x540)]['getFloatDomInfo'](_0x1581ec);if(!_0x234cbe||!_0x5bb306){this[_0x425c68(0x4fe)][_0x425c68(0x2a7)](),this[_0x425c68(0x29c)]();return;}let _0xe81662=JSON[_0x425c68(0x431)]([_0x5bb306[_0x425c68(0x51f)],_0x5bb306[_0x425c68(0x279)],_0x1581ec,_0x543dcd[_0x425c68(0x4d3)]]);if(this[_0x425c68(0x37f)]&&this['_popupSessionKey']===_0xe81662||(this[_0x425c68(0x4fe)][_0x425c68(0x462)](_0x1581ec,_0x543dcd[_0x425c68(0x286)]),this['_closePopup'](),!_0x543dcd['showFloatMenu']))return;let _0x2b6399=_0x422241(_0x2e6db2,_0x5bb306[_0x425c68(0x1ae)],()=>this[_0x425c68(0x269)](_0x1581ec));if(!_0x2b6399[_0x425c68(0x25f)]){_0x2b6399[_0x425c68(0x3cb)]();return;}let _0x49c84d=this[_0x425c68(0x233)]['attachPopupToDynamicAbsolutePosition'](_0x2b6399[_0x425c68(0x256)],_0x2b6399[_0x425c68(0x31c)],{'componentKey':_0x2eb124['CHART_ELEMENT_FLOAT_MENU_COMPONENT'],'constrainToCanvas':!0x0,'direction':_0x425c68(0x3fc),'offset':[0x0,0x8],'extraProps':{'unitId':_0x5bb306[_0x425c68(0x51f)],'subUnitId':_0x5bb306[_0x425c68(0x279)],'chartId':_0x1581ec,'drawingId':_0x1581ec,'element':_0x2e6db2['hit'],'target':_0x543dcd[_0x425c68(0x4d3)],'adapterKey':_0x3a6cc1}},_0x5bb306[_0x425c68(0x51f)],_0x5bb306[_0x425c68(0x279)])??null;if(!_0x49c84d){_0x2b6399['dispose']();return;}let _0x5d0dc5=new _0x11d3b6['DisposableCollection']();_0x5d0dc5[_0x425c68(0x225)](_0x49c84d),_0x5d0dc5['add'](_0x2b6399),this[_0x425c68(0x37f)]=_0x5d0dc5,this[_0x425c68(0x407)]=_0x1581ec,this[_0x425c68(0x1f3)]=_0xe81662;}[_0x2acbad(0x29c)](){const _0x3f65de=_0x2acbad;var _0x1f6381;(_0x1f6381=this[_0x3f65de(0x37f)])==null||_0x1f6381[_0x3f65de(0x3cb)](),this[_0x3f65de(0x37f)]=null,this['_popupChartId']=null,this['_popupSessionKey']=null;}['_clearSelectedTarget'](_0x2ac285){const _0xfdcd56=_0x2acbad;!this[_0xfdcd56(0x4fe)][_0xfdcd56(0x364)](_0x2ac285)&&this[_0xfdcd56(0x407)]!==_0x2ac285||(this[_0xfdcd56(0x4fe)][_0xfdcd56(0x2a7)](),this[_0xfdcd56(0x407)]===_0x2ac285&&this['_closePopup']());}[_0x2acbad(0x269)](_0x392c76){const _0x1c745f=_0x2acbad;this[_0x1c745f(0x50d)](_0x392c76),this[_0x1c745f(0x4fe)][_0x1c745f(0x364)](_0x392c76)&&(this['_chartRenderService'][_0x1c745f(0x24b)](_0x392c76,!0x1),this[_0x1c745f(0x2f2)][_0x1c745f(0x24b)](_0x392c76,!0x0));}};_0x14ad97=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x52f)])),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x2cd79b)),_0x301f42(0x2,_0x16f40b),_0x301f42(0x3,(0x0,_0x11d3b6['Inject'])(_0x3ea34e[_0x2acbad(0x413)])),_0x301f42(0x4,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0xbf83ca[_0x2acbad(0x536)])),_0x301f42(0x5,_0x295e12),_0x301f42(0x6,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x2eb124[_0x2acbad(0x4c9)])),_0x301f42(0x7,_0x11d3b6[_0x2acbad(0x24d)]),_0x301f42(0x8,(0x0,_0x11d3b6['Inject'])(_0x11d3b6['Injector']))],_0x14ad97);let _0x423b3e=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x1653dd,_0x8b51cb){const _0xb42927=_0x2acbad;super(),this['_chartHostProviderService']=_0x1653dd,this[_0xb42927(0x3fb)]=_0x8b51cb,this[_0xb42927(0x1b3)]();}['_init'](){const _0x19209c=_0x2acbad;this[_0x19209c(0x529)](this[_0x19209c(0x3e4)][_0x19209c(0x4c4)][_0x19209c(0x311)](_0x55bb60=>{const _0x51a810=_0x19209c;this[_0x51a810(0x3fb)]['removeChartModel'](_0x55bb60);}));}};_0x423b3e=_0x1ed95b([_0x301f42(0x0,_0x16f40b),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x52f)]))],_0x423b3e);let _0x4ec752=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x457bd9,_0x260533,_0x5d6f16,_0x101e08,_0x1bbcb5,_0x5ebc6e){const _0x2a1c4a=_0x2acbad;super(),this[_0x2a1c4a(0x3fb)]=_0x457bd9,this[_0x2a1c4a(0x2f2)]=_0x260533,this[_0x2a1c4a(0x3d6)]=_0x5d6f16,this['_chartUIService']=_0x101e08,this[_0x2a1c4a(0x309)]=_0x1bbcb5,this[_0x2a1c4a(0x509)]=_0x5ebc6e,_0x44c5f1(this,_0x2a1c4a(0x4ad),new Map()),this[_0x2a1c4a(0x1b3)](),this[_0x2a1c4a(0x3e0)](),this[_0x2a1c4a(0x35d)]();}['_initPrinting'](){const _0x4a137d=_0x2acbad;this[_0x4a137d(0x529)](this[_0x4a137d(0x509)][_0x4a137d(0x2c0)][_0x4a137d(0x2f3)](this[_0x4a137d(0x509)][_0x4a137d(0x2c0)]['getInterceptPoints']()[_0x4a137d(0x3cc)],{'handler':(_0x1bd170,_0x18feb1,_0x55c9ed)=>{const _0xd0b44c=_0x4a137d;let _0x1c0d80=this[_0xd0b44c(0x2f2)][_0xd0b44c(0x43c)](_0x18feb1[_0xd0b44c(0x51f)],_0x18feb1[_0xd0b44c(0x279)],_0x18feb1[_0xd0b44c(0x4da)]);return _0x18feb1['resourceCollector'][_0xd0b44c(0x225)](_0x1c0d80),_0x55c9ed(_0x1bd170);}}));}[_0x2acbad(0x1b3)](){const _0x44ec73=_0x2acbad;this[_0x44ec73(0x529)](this[_0x44ec73(0x3fb)]['chartModelAdded$']['subscribe'](_0x22717d=>{const _0x1a54e0=_0x44ec73;if(_0x22717d){let _0x1b65fa=new _0x11d3b6[(_0x1a54e0(0x38e))]();_0x1b65fa[_0x1a54e0(0x225)](_0x22717d['config$'][_0x1a54e0(0x3c0)]((0x0,_0x20d33d[_0x1a54e0(0x32f)])(_0x22717d[_0x1a54e0(0x1af)]),(0x0,_0x20d33d['combineLatestWith'])(this[_0x1a54e0(0x3d6)][_0x1a54e0(0x49b)]),(0x0,_0x20d33d[_0x1a54e0(0x487)])(0x64))[_0x1a54e0(0x311)](([[_0x2c0662,_0x4a31c7],_0x469b66])=>{const _0x46e79b=_0x1a54e0;var _0xb52190;if(!_0x2c0662)return;(_0xb52190=_0x2c0662[_0x46e79b(0x1d4)])==null||_0xb52190[_0x46e79b(0x276)][_0x46e79b(0x4ee)]((_0x4aba6b,_0x3e0f84)=>{const _0x5a704c=_0x46e79b;_0x4aba6b[_0x5a704c(0x288)]||=this[_0x5a704c(0x3d6)]['t'](_0x5a704c(0x4e3))+'\x20'+(_0x3e0f84+0x1);}),_0x2c0662[_0x46e79b(0x32b)][_0x46e79b(0x4ee)]((_0x2c4429,_0x26d201)=>{const _0x42b5ee=_0x46e79b;_0x2c4429[_0x42b5ee(0x1cd)]||=this[_0x42b5ee(0x3d6)]['t'](_0x42b5ee(0x1bf))+'\x20'+(_0x26d201+0x1);});let _0x17d793=this[_0x46e79b(0x2f2)][_0x46e79b(0x2a9)](_0x22717d,_0x469b66);this[_0x46e79b(0x2f2)][_0x46e79b(0x1bb)](_0x22717d['id'],_0x2c0662,_0x17d793);})),_0x22717d[_0x1a54e0(0x4cf)](()=>{const _0x9c04a8=_0x1a54e0;_0x1b65fa[_0x9c04a8(0x3cb)]();});}}));}['_listenChartUpdateMutations'](){const _0x1846d1=_0x2acbad;this[_0x1846d1(0x529)](this[_0x1846d1(0x309)][_0x1846d1(0x28a)](_0x224a04=>{const _0x5bff0b=_0x1846d1;if(_0x224a04['id']!==_0x3fd577['ChartUpdateConfigMutation']['id'])return;let _0x3e18a3=_0x224a04['params'];_0x3e18a3!=null&&_0x3e18a3[_0x5bff0b(0x21b)]&&Promise['resolve']()[_0x5bff0b(0x378)](()=>this[_0x5bff0b(0x3ef)](_0x3e18a3));}));}['_renderAfterChartUpdateMutation'](_0x332175){const _0x38e6b8=_0x2acbad;let _0x1e1ac5=this[_0x38e6b8(0x3fb)][_0x38e6b8(0x264)](_0x332175[_0x38e6b8(0x21b)]);if(!_0x1e1ac5||_0x1e1ac5[_0x38e6b8(0x401)]!==_0x255b48[_0x38e6b8(0x1b7)][_0x38e6b8(0x4e8)])return;let _0x352c9d=_0x1e1ac5['config'];if(!_0x352c9d){this['_renderWhenConfigReady'](_0x1e1ac5);return;}this[_0x38e6b8(0x1dd)](_0x1e1ac5,_0x352c9d);}[_0x2acbad(0x29f)](_0x2167e7){const _0x5d1ebb=_0x2acbad;if(this[_0x5d1ebb(0x4ad)]['get'](_0x2167e7['id']))return;let _0x37bf29=_0x2167e7['config$']['pipe']((0x0,_0x20d33d['filter'])(_0x4502b4=>_0x4502b4!=null),(0x0,_0x20d33d[_0x5d1ebb(0x1cb)])(0x1))[_0x5d1ebb(0x311)](_0x273d8a=>{const _0x3094dd=_0x5d1ebb;this[_0x3094dd(0x4ad)][_0x3094dd(0x394)](_0x2167e7['id']),this[_0x3094dd(0x1dd)](_0x2167e7,_0x273d8a);});this[_0x5d1ebb(0x4ad)][_0x5d1ebb(0x44e)](_0x2167e7['id'],_0x37bf29),_0x2167e7[_0x5d1ebb(0x4cf)](()=>{const _0x26decf=_0x5d1ebb;_0x37bf29[_0x26decf(0x2e9)](),this[_0x26decf(0x4ad)][_0x26decf(0x394)](_0x2167e7['id']);});}[_0x2acbad(0x1dd)](_0x3c8409,_0x2736aa){const _0x455647=_0x2acbad;let _0x3cb8ee=this[_0x455647(0x2f2)][_0x455647(0x2a9)](_0x3c8409,this[_0x455647(0x3d6)][_0x455647(0x1b0)]());this['_chartRenderService'][_0x455647(0x1bb)](_0x3c8409['id'],_0x2736aa,_0x3cb8ee);}};_0x4ec752=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x52f)])),_0x301f42(0x1,(0x0,_0x11d3b6['Inject'])(_0x2cd79b)),_0x301f42(0x2,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x4a3)])),_0x301f42(0x3,_0x295e12),_0x301f42(0x4,_0x11d3b6['ICommandService']),_0x301f42(0x5,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3ea34e[_0x2acbad(0x360)]))],_0x4ec752);function _0x6b269f(_0x5acf20,_0x25c532,_0x45d3d9,_0x2fe10a){const _0x24b89b=_0x2acbad;let _0x5191ac=(0x0,_0x470a83[_0x24b89b(0x26d)])(_0x5acf20,_0x25c532,_0x45d3d9),_0x4977c9=[];for(let _0x370db0 of _0x25c532){let _0x2e1222=_0x5191ac[_0x24b89b(0x1c3)][_0x24b89b(0x3d7)](_0x370db0[_0x24b89b(0x266)]),_0xb57e6e=_0x2fe10a(_0x370db0);!_0x2e1222||!_0xb57e6e||_0x4977c9['push']({'targetChartId':_0x2e1222,'source':_0xb57e6e});}return _0x4977c9;}let _0x34af0d=class extends _0x11d3b6['Disposable']{constructor(_0x44c429,_0x33c4b1,_0x4c3241,_0x4eb29a){const _0x27aca9=_0x2acbad;super(),this['_univerInstanceService']=_0x44c429,this[_0x27aca9(0x3f9)]=_0x33c4b1,this[_0x27aca9(0x2db)]=_0x4c3241,this[_0x27aca9(0x3fb)]=_0x4eb29a,this[_0x27aca9(0x341)]();}[_0x2acbad(0x341)](){const _0x569422=_0x2acbad;this[_0x569422(0x529)](this[_0x569422(0x3f9)][_0x569422(0x399)]({'getMutations':_0x2b94c4=>{const _0x43928b=_0x569422;if(_0x2b94c4['id']===_0x266cf4[_0x43928b(0x417)]['id']){let _0x506100=(0x0,_0x266cf4[_0x43928b(0x52b)])(this[_0x43928b(0x3dc)],_0x2b94c4['params']);if(!_0x506100)return{'redos':[],'undos':[]};let {unitId:_0x1ddf96,subUnitId:_0x3c66c7}=_0x506100,_0x14b7f4=this['_sheetDrawingService'][_0x43928b(0x24a)](_0x1ddf96,_0x3c66c7),_0xf408d9=Object[_0x43928b(0x37b)](_0x14b7f4)[_0x43928b(0x4a0)](_0x688a03=>_0x688a03['drawingType']===_0x11d3b6[_0x43928b(0x385)][_0x43928b(0x2bb)]);if(_0xf408d9[_0x43928b(0x40b)]===0x0)return{'redos':[],'undos':[]};let _0x54e46c=[],_0x4ef190=[];for(let _0x38a6bb=0x0;_0x38a6bb<_0xf408d9[_0x43928b(0x40b)];_0x38a6bb++){let _0x383e34=_0xf408d9[_0x38a6bb],_0x19e0e1=this['_chartModelService'][_0x43928b(0x264)](_0x383e34[_0x43928b(0x266)]);if(!_0x19e0e1)continue;let _0xa03169=_0x19e0e1[_0x43928b(0x30b)][_0x43928b(0x2a6)](),{chartType:_0x249aab,context:_0x29c9da,style:_0x216fe1,dataAggregation:_0x29425a}=_0x19e0e1[_0x43928b(0x290)]();_0x54e46c[_0x43928b(0x2fe)]({'id':_0x3fd577[_0x43928b(0x30a)]['id'],'params':{'unitId':_0x1ddf96,'subUnitId':_0x3c66c7,'chartId':_0x383e34['drawingId']}}),_0x4ef190[_0x43928b(0x2fe)]({'id':_0x3fd577[_0x43928b(0x317)]['id'],'params':{'unitId':_0x1ddf96,'subUnitId':_0x3c66c7,'chartId':_0x383e34[_0x43928b(0x266)],'chartType':_0x249aab,...(0x0,_0x3fd577[_0x43928b(0x438)])(_0xa03169),'context':_0x29c9da,'style':_0x216fe1,'dataAggregation':_0x29425a}});}return{'redos':_0x54e46c,'undos':_0x4ef190};}else{if(_0x2b94c4['id']===_0x266cf4['CopySheetCommand']['id']){let {unitId:_0x282fad,subUnitId:_0x4adc87,targetSubUnitId:_0x2add13,copyContext:_0x5abb7a}=_0x2b94c4[_0x43928b(0x511)];if(!_0x282fad||!_0x4adc87||!_0x2add13)return{'redos':[],'undos':[]};let _0x2f64e3=this['_sheetDrawingService']['getDrawingData'](_0x282fad,_0x4adc87),_0x5804f6=Object[_0x43928b(0x37b)](_0x2f64e3)[_0x43928b(0x4a0)](_0x265ce5=>_0x265ce5[_0x43928b(0x2cf)]===_0x11d3b6[_0x43928b(0x385)][_0x43928b(0x2bb)]);if(_0x5804f6[_0x43928b(0x40b)]===0x0)return{'redos':[],'undos':[]};let _0x2a7b36=_0x6b269f(_0x5abb7a,_0x5804f6,{'unitId':_0x282fad,'sourceSubUnitId':_0x4adc87,'targetSubUnitId':_0x2add13},_0x20bfd4=>{const _0x5cd069=_0x43928b;let _0x96b2d2=this['_chartModelService'][_0x5cd069(0x264)](_0x20bfd4[_0x5cd069(0x266)]);if(!_0x96b2d2)return;let _0x1a1a4e=_0x96b2d2[_0x5cd069(0x30b)][_0x5cd069(0x2a6)](),_0x57a47c=Array[_0x5cd069(0x24f)](_0x1a1a4e)?_0x1a1a4e[_0x5cd069(0x38b)](_0x4bce68=>({..._0x4bce68,..._0x4bce68[_0x5cd069(0x29a)]?{'header':{..._0x4bce68['header'],'subUnitId':_0x2add13}}:{},'range':{..._0x4bce68[_0x5cd069(0x361)],'subUnitId':_0x2add13}})):{..._0x1a1a4e,'rangeInfo':{..._0x1a1a4e['rangeInfo'],'subUnitId':_0x2add13}},{chartType:_0x5c0501,context:_0x15c521,style:_0x55551c,dataAggregation:_0x55850e}=_0x96b2d2['serialize']();return{'rangeInfo':_0x57a47c,'chartType':_0x5c0501,'context':_0x15c521,'style':_0x55551c,'dataAggregation':_0x55850e};}),_0x5d4859=[],_0xd4d6a=[];for(let {targetChartId:_0x41c106,source:_0xa88581}of _0x2a7b36){let {rangeInfo:_0x57283e,chartType:_0x3b8971,context:_0x59f702,style:_0x3462be,dataAggregation:_0x560e5c}=_0xa88581;_0x5d4859[_0x43928b(0x2fe)]({'id':_0x3fd577[_0x43928b(0x317)]['id'],'params':{'unitId':_0x282fad,'subUnitId':_0x2add13,'chartId':_0x41c106,'chartType':_0x3b8971,...(0x0,_0x3fd577[_0x43928b(0x438)])(_0x57283e),'context':_0x59f702,'style':_0x3462be,'dataAggregation':_0x560e5c}}),_0xd4d6a['push']({'id':_0x3fd577[_0x43928b(0x30a)]['id'],'params':{'unitId':_0x282fad,'subUnitId':_0x2add13,'chartId':_0x41c106}});}return{'redos':_0x5d4859,'undos':_0xd4d6a};}}return{'redos':[],'undos':[]};}}));}};_0x34af0d=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x22c)])),_0x301f42(0x1,(0x0,_0x11d3b6['Inject'])(_0x266cf4[_0x2acbad(0x3ab)])),_0x301f42(0x2,(0x0,_0x11d3b6['Inject'])(_0x251774[_0x2acbad(0x396)])),_0x301f42(0x3,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x52f)]))],_0x34af0d);function _0x39b3b1({ref:_0x20e5ae,..._0xc13cba}){const _0x3ef09c=_0x2acbad;let {preserveStrokeWidth:_0x1c9845,icon:_0x307163,id:_0x2ca846,className:_0x227470,extend:_0x472d1b,..._0xfbe503}=_0xc13cba,_0xc8f244=('univerjs-icon\x20univerjs-icon-'+_0x2ca846+'\x20'+(_0x227470||''))[_0x3ef09c(0x41d)](),_0x59e78e='_'+(0x0,_0x159c90[_0x3ef09c(0x434)])(),_0x3edc85=(0x0,_0x159c90['useRef'])(null);return(0x0,_0x159c90[_0x3ef09c(0x411)])(_0x20e5ae,()=>_0x3edc85['current']),(0x0,_0x159c90[_0x3ef09c(0x510)])(()=>{const _0x4f7ad4=_0x3ef09c;if(!(!_0x1c9845||!_0x3edc85['current']||_0x3edc85['current'][_0x4f7ad4(0x1f4)]!==_0x307163[_0x4f7ad4(0x3e7)]))return _0x32a5bc(_0x3edc85[_0x4f7ad4(0x242)]);},[_0x1c9845,_0x307163]),_0x394cff(_0x307163,''+_0x2ca846,{'defIds':_0x307163[_0x3ef09c(0x223)],'idSuffix':_0x59e78e},{'ref':_0x3edc85,'className':_0xc8f244,..._0xfbe503},_0x472d1b);}function _0x394cff(_0x32000a,_0x2dd763,_0x1f74e3,_0x4d04de,_0x47d34f){const _0x1c33c7=_0x2acbad;return(0x0,_0x159c90[_0x1c33c7(0x53a)])(_0x32000a['tag'],{'key':_0x2dd763,..._0x86f9c3(_0x32000a,_0x1f74e3,_0x47d34f),..._0x4d04de},(_0xce0b8c(_0x32000a,_0x1f74e3)[_0x1c33c7(0x346)]||[])[_0x1c33c7(0x38b)]((_0x2b46de,_0x430922)=>_0x394cff(_0x2b46de,_0x2dd763+'-'+_0x32000a[_0x1c33c7(0x3e7)]+'-'+_0x430922,_0x1f74e3,void 0x0,_0x47d34f)));}function _0x86f9c3(_0x574f1e,_0x53045f,_0x209aca){const _0x5d9e8d=_0x2acbad;let _0x50bccc={..._0x574f1e[_0x5d9e8d(0x3a1)]};_0x209aca!=null&&_0x209aca[_0x5d9e8d(0x253)]&&_0x50bccc[_0x5d9e8d(0x355)]==='colorChannel1'&&(_0x50bccc[_0x5d9e8d(0x355)]=_0x209aca[_0x5d9e8d(0x253)]),_0x209aca!=null&&_0x209aca[_0x5d9e8d(0x253)]&&_0x50bccc['stroke']===_0x5d9e8d(0x253)&&(_0x50bccc[_0x5d9e8d(0x50e)]=_0x209aca[_0x5d9e8d(0x253)]),_0x574f1e[_0x5d9e8d(0x3e7)]===_0x5d9e8d(0x3b8)&&_0x50bccc['id']&&(_0x50bccc['id']+=_0x53045f['idSuffix']),Object['entries'](_0x50bccc)[_0x5d9e8d(0x4ee)](([_0x422bc9,_0x16160f])=>{const _0x310a08=_0x5d9e8d;_0x422bc9==='mask'&&typeof _0x16160f==_0x310a08(0x532)&&(_0x50bccc[_0x422bc9]=_0x16160f[_0x310a08(0x37e)](/url\(#(.*)\)/,_0x310a08(0x216)+_0x53045f[_0x310a08(0x372)]+')'));});let {defIds:_0x433060}=_0x53045f;return!_0x433060||_0x433060[_0x5d9e8d(0x40b)]===0x0?_0x50bccc:(_0x574f1e[_0x5d9e8d(0x3e7)]===_0x5d9e8d(0x3d8)&&_0x50bccc[_0x5d9e8d(0x4f0)]&&(_0x50bccc['xlink:href']+=_0x53045f[_0x5d9e8d(0x372)]),Object[_0x5d9e8d(0x2d4)](_0x50bccc)[_0x5d9e8d(0x4ee)](([_0x633066,_0x47a7b5])=>{const _0x348995=_0x5d9e8d;typeof _0x47a7b5=='string'&&(_0x50bccc[_0x633066]=_0x47a7b5[_0x348995(0x37e)](/url\(#(.*)\)/,_0x348995(0x216)+_0x53045f[_0x348995(0x372)]+')'));}),_0x50bccc);}function _0xce0b8c(_0x35feba,_0x4e3f9d){const _0x31f266=_0x2acbad;var _0x23198a;let {defIds:_0x24760e}=_0x4e3f9d;return!_0x24760e||_0x24760e[_0x31f266(0x40b)]===0x0?_0x35feba:_0x35feba[_0x31f266(0x3e7)]===_0x31f266(0x33e)&&(_0x23198a=_0x35feba[_0x31f266(0x346)])!=null&&_0x23198a['length']?{..._0x35feba,'children':_0x35feba['children'][_0x31f266(0x38b)](_0x302662=>typeof _0x302662[_0x31f266(0x3a1)]['id']==_0x31f266(0x532)&&_0x24760e&&_0x24760e[_0x31f266(0x2b1)](_0x302662[_0x31f266(0x3a1)]['id'])?{..._0x302662,'attrs':{..._0x302662['attrs'],'id':_0x302662[_0x31f266(0x3a1)]['id']+_0x4e3f9d[_0x31f266(0x372)]}}:_0x302662)}:_0x35feba;}function _0x32a5bc(_0x2ffc88){const _0x1206e3=_0x2acbad;let _0x3fc6df=_0x2ffc88['viewBox'][_0x1206e3(0x2f0)],_0x1cf080=Math[_0x1206e3(0x440)](_0x3fc6df['width'],_0x3fc6df[_0x1206e3(0x2c7)]);if(!Number[_0x1206e3(0x246)](_0x1cf080)||_0x1cf080<=0x0||_0x3fc6df['width']<=0x0||_0x3fc6df[_0x1206e3(0x2c7)]<=0x0)return()=>void 0x0;let _0x19acd7=0x10/_0x1cf080,_0x341011=Array[_0x1206e3(0x50c)](_0x2ffc88['querySelectorAll'](_0x1206e3(0x4fb)))[_0x1206e3(0x447)](_0x4fc13e=>{const _0x23db63=_0x1206e3;let _0x362e80=getComputedStyle(_0x4fc13e),_0x45ad6f=Number[_0x23db63(0x28b)](_0x362e80['strokeWidth']);return _0x362e80[_0x23db63(0x50e)]===_0x23db63(0x2b0)||Number[_0x23db63(0x28b)](_0x362e80[_0x23db63(0x2fd)])===0x0||_0x362e80[_0x23db63(0x4ce)]===_0x23db63(0x51c)||!Number['isFinite'](_0x45ad6f)||_0x45ad6f<=0x0?[]:[{'element':_0x4fc13e,'hadStyleAttribute':_0x4fc13e['hasAttribute'](_0x23db63(0x296)),'originalStrokeWidth':_0x45ad6f,'strokeWidth':_0x1fc841(_0x4fc13e[_0x23db63(0x296)],_0x23db63(0x349))}];})[_0x1206e3(0x38b)](_0x47b052=>({'appliedStrokeWidth':null,'element':_0x47b052[_0x1206e3(0x433)],'hadStyleAttribute':_0x47b052[_0x1206e3(0x1b4)],'isReleased':!0x1,'originalStrokeWidth':_0x47b052[_0x1206e3(0x474)],'strokeWidth':_0x47b052[_0x1206e3(0x421)]}));if(_0x341011['length']===0x0)return()=>void 0x0;let _0x250eec=(_0xc11a10,_0x233e0b)=>{const _0x530771=_0x1206e3;if(_0x3fc6df['width']<=0x0||_0x3fc6df['height']<=0x0||_0xc11a10<=0x0||_0x233e0b<=0x0)return;let _0x7ae12e=Math['min'](_0xc11a10/_0x3fc6df[_0x530771(0x4a8)],_0x233e0b/_0x3fc6df[_0x530771(0x2c7)]);!Number[_0x530771(0x246)](_0x7ae12e)||_0x7ae12e<=0x0||_0x341011[_0x530771(0x4ee)](_0x2fad7d=>{const _0xc0e247=_0x530771;if(_0x2fad7d[_0xc0e247(0x523)])return;if(_0x2fad7d[_0xc0e247(0x34e)]!==null&&(_0x2fad7d[_0xc0e247(0x433)][_0xc0e247(0x296)]['getPropertyValue'](_0xc0e247(0x349))!==_0x2fad7d['appliedStrokeWidth']||_0x2fad7d[_0xc0e247(0x433)]['style'][_0xc0e247(0x4c2)](_0xc0e247(0x349))!==_0x2fad7d[_0xc0e247(0x421)][_0xc0e247(0x472)])){_0x2fad7d[_0xc0e247(0x34e)]=null,_0x2fad7d[_0xc0e247(0x523)]=!0x0;return;}let _0x4d478f=_0x2fad7d[_0xc0e247(0x474)]*_0x19acd7/_0x7ae12e,_0xc4d364=Number(_0x4d478f[_0xc0e247(0x20b)](0xc))+'px';_0x2fad7d['element'][_0xc0e247(0x296)][_0xc0e247(0x278)](_0xc0e247(0x349),_0xc4d364,_0x2fad7d[_0xc0e247(0x421)][_0xc0e247(0x472)]),_0x2fad7d[_0xc0e247(0x34e)]=_0xc4d364;});},_0x4bcffc=_0x2ffc88['getBoundingClientRect']();_0x250eec(_0x4bcffc[_0x1206e3(0x4a8)],_0x4bcffc[_0x1206e3(0x2c7)]);let _0x50729f=typeof ResizeObserver>'u'?null:new ResizeObserver(_0xa6f3b9=>{const _0x1d0029=_0x1206e3;if(_0xa6f3b9[_0x1d0029(0x25b)](_0x1da20c=>_0x1da20c[_0x1d0029(0x4d3)]===_0x2ffc88)){let _0x1c8053=_0x2ffc88[_0x1d0029(0x469)]();_0x250eec(_0x1c8053[_0x1d0029(0x4a8)],_0x1c8053[_0x1d0029(0x2c7)]);}});return _0x50729f==null||_0x50729f[_0x1206e3(0x28d)](_0x2ffc88),()=>{const _0xc55ada=_0x1206e3;_0x50729f==null||_0x50729f['disconnect'](),_0x341011[_0xc55ada(0x4ee)](_0x1cf6d3=>{const _0x14ce40=_0xc55ada;_0x1cf6d3[_0x14ce40(0x34e)]!==null&&(_0x3e97f5(_0x1cf6d3[_0x14ce40(0x433)][_0x14ce40(0x296)],'stroke-width',_0x1cf6d3[_0x14ce40(0x34e)],_0x1cf6d3[_0x14ce40(0x421)][_0x14ce40(0x472)],_0x1cf6d3[_0x14ce40(0x421)]),!_0x1cf6d3[_0x14ce40(0x1b4)]&&_0x1cf6d3[_0x14ce40(0x433)]['style'][_0x14ce40(0x40b)]===0x0&&_0x1cf6d3[_0x14ce40(0x433)][_0x14ce40(0x4de)]('style'));});};}function _0x1fc841(_0x2e8bd0,_0xad53a8){const _0x4f0ab9=_0x2acbad;return{'priority':_0x2e8bd0[_0x4f0ab9(0x4c2)](_0xad53a8),'value':_0x2e8bd0[_0x4f0ab9(0x1b2)](_0xad53a8)};}function _0x3e97f5(_0x1d0b56,_0x8f27f5,_0x3ff081,_0x516074,_0x1c4e43){const _0x33909d=_0x2acbad;_0x1d0b56[_0x33909d(0x1b2)](_0x8f27f5)===_0x3ff081&&_0x1d0b56[_0x33909d(0x4c2)](_0x8f27f5)===_0x516074&&(_0x1c4e43[_0x33909d(0x200)]?_0x1d0b56['setProperty'](_0x8f27f5,_0x1c4e43[_0x33909d(0x200)],_0x1c4e43[_0x33909d(0x472)]):_0x1d0b56['removeProperty'](_0x8f27f5));}_0x39b3b1[_0x2acbad(0x1f2)]=_0x2acbad(0x46c);let _0x37228d={'tag':_0x2acbad(0x1c0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2acbad(0x47b),'width':_0x2acbad(0x2bd),'height':_0x2acbad(0x2bd)},'children':[{'tag':'path','attrs':{'fill':_0x2acbad(0x1c7),'d':_0x2acbad(0x3fe)}}]},_0x4766b2=(0x0,_0x159c90[_0x2acbad(0x389)])(function(_0x579b8a,_0x365222){const _0x5de8a4=_0x2acbad;return(0x0,_0x159c90[_0x5de8a4(0x53a)])(_0x39b3b1,Object['assign']({},_0x579b8a,{'id':_0x5de8a4(0x426),'ref':_0x365222,'icon':_0x37228d}));});_0x4766b2[_0x2acbad(0x1f2)]='PenIcon';let _0x6eda38=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x288723,_0x3d6cc3){const _0x1b56c8=_0x2acbad;super(),this['_componentManager']=_0x288723,this[_0x1b56c8(0x46b)]=_0x3d6cc3,this[_0x1b56c8(0x30c)](),this[_0x1b56c8(0x325)]();}[_0x2acbad(0x30c)](){const _0x3a0361=_0x2acbad;this['disposeWithMe'](this[_0x3a0361(0x46b)][_0x3a0361(0x40a)]({'PenIcon':_0x4766b2}));}[_0x2acbad(0x325)](){const _0xdf0623=_0x2acbad;[[_0x54ea22,_0x1b0dcc]][_0xdf0623(0x4ee)](([_0x22111d,_0x3a1152])=>{const _0x27a2b2=_0xdf0623;this[_0x27a2b2(0x529)](this[_0x27a2b2(0x47e)][_0x27a2b2(0x40a)](_0x22111d,_0x3a1152));});}};_0x6eda38=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x5ce366[_0x2acbad(0x2f1)])),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x5ce366[_0x2acbad(0x395)]))],_0x6eda38);let _0x2dba85=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x55e176,_0x23454d,_0x52f90a,_0x42ab18){const _0x7c0fed=_0x2acbad;super(),this['_sheetSkeletonService']=_0x55e176,this['_sheetClipboardService']=_0x23454d,this[_0x7c0fed(0x2db)]=_0x52f90a,this['_chartModelService']=_0x42ab18,_0x44c5f1(this,_0x7c0fed(0x541),void 0x0),this[_0x7c0fed(0x1ea)]();}get[_0x2acbad(0x432)](){const _0x388f2f=_0x2acbad;return this[_0x388f2f(0x2db)][_0x388f2f(0x371)]();}[_0x2acbad(0x1ea)](){const _0x2caf34=_0x2acbad;this[_0x2caf34(0x529)](this['_sheetClipboardService']['addClipboardHook']({'id':_0x3fd577[_0x2caf34(0x38c)],'onBeforeCopy':(_0x43f23a,_0x108176,_0x326fc7,_0x16c7f1)=>{const _0x625706=_0x2caf34;this[_0x625706(0x541)]=null;let _0x262043=this['_focusedDrawings'];if(_0x262043['length']){let _0x18def4=_0x262043['filter'](_0x4ec2df=>_0x4ec2df[_0x625706(0x2cf)]===_0x11d3b6[_0x625706(0x385)][_0x625706(0x2bb)]);if(_0x18def4['length']===0x0)return;this[_0x625706(0x541)]={'unitId':_0x43f23a,'subUnitId':_0x108176,'copyType':_0x16c7f1,'drawings':_0x18def4};}else this[_0x625706(0x35e)](_0x43f23a,_0x108176,_0x326fc7,_0x16c7f1);},'onPasteCells':(_0x5112e0,_0x4d8572,_0x33ae00,_0x226197)=>{const _0x147ab0=_0x2caf34;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x58f299}=_0x226197;return _0x58f299===_0x3ea34e[_0x147ab0(0x2a2)]['DEFAULT_PASTE']?this[_0x147ab0(0x224)](_0x4d8572,this['_copyInfo'][_0x147ab0(0x289)]===_0x3ea34e[_0x147ab0(0x3b5)]['CUT']):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x2421aa=>this[_0x2caf34(0x541)]?this[_0x2caf34(0x224)](_0x2421aa,this['_copyInfo'][_0x2caf34(0x289)]===_0x3ea34e['COPY_TYPE'][_0x2caf34(0x208)]):{'redos':[],'undos':[]}}));}[_0x2acbad(0x35e)](_0x588eee,_0x2ec48e,_0x233907,_0x10bc9c){const _0x1f40db=_0x2acbad;let _0x4b7b01=this[_0x1f40db(0x374)][_0x1f40db(0x34d)](_0x588eee,_0x2ec48e);if(!_0x4b7b01)return;let _0x1bf1c9=(0x0,_0x266cf4[_0x1f40db(0x4f5)])(_0x4b7b01,_0x233907);if(!_0x1bf1c9)return;let {startX:_0x5a8103,endX:_0x234410,startY:_0x101d67,endY:_0x2c2b30}=_0x1bf1c9,_0x4964dd=this['_sheetDrawingService'][_0x1f40db(0x24a)](_0x588eee,_0x2ec48e),_0x5260b1=this[_0x1f40db(0x432)][_0x1f40db(0x505)]();for(let [_0x548db1,_0x3c89c7]of Object[_0x1f40db(0x2d4)](_0x4964dd)){if(_0x3c89c7[_0x1f40db(0x2cf)]!==_0x11d3b6[_0x1f40db(0x385)]['DRAWING_CHART'])continue;let {transform:_0x1cf638}=_0x3c89c7;if(!_0x1cf638)continue;let {left:_0x519d1f=0x0,top:_0x4557c0=0x0,width:_0xb9dc58=0x0,height:_0x12b399=0x0}=_0x1cf638;_0x5a8103<=_0x519d1f&&_0x234410>=_0x519d1f+_0xb9dc58&&_0x101d67<=_0x4557c0&&_0x2c2b30>=_0x4557c0+_0x12b399&&_0x5260b1[_0x1f40db(0x2fe)](_0x3c89c7);}_0x5260b1[_0x1f40db(0x40b)]>0x0&&(this['_copyInfo']={'unitId':_0x588eee,'subUnitId':_0x2ec48e,'copyType':_0x10bc9c,'copyRange':_0x233907,'drawings':_0x5260b1});}['_generatePasteMutations'](_0x22f53e,_0x486e4e){const _0x2b3d13=_0x2acbad;let {unitId:_0x3976af,subUnitId:_0x37df37,range:_0x4a9230}=_0x22f53e,_0x1da630=this['_sheetSkeletonService']['getSkeleton'](_0x3976af,_0x37df37);if(!_0x1da630)return{'redos':[],'undos':[]};let _0x26e3f9=(0x0,_0x266cf4[_0x2b3d13(0x2f6)])(_0x4a9230),{unitId:_0x136fd4,subUnitId:_0x37a922,copyRange:_0x1c8d0a,drawings:_0x533b04}=this[_0x2b3d13(0x541)],_0x2639ad=this[_0x2b3d13(0x374)][_0x2b3d13(0x34d)](_0x136fd4,_0x37a922);if(!_0x2639ad)return{'redos':[],'undos':[]};let _0x36ab0d=[],_0x219c50=[];for(let _0x4343a3 of _0x533b04){let {drawingId:_0x3b1ede,transform:_0x16e562,sheetTransform:_0x3cba98}=_0x4343a3,_0x177e91=this[_0x2b3d13(0x3fb)]['getChartModel'](_0x3b1ede);if(!_0x177e91||!_0x16e562||!_0x3cba98)continue;let _0x538d08=this[_0x2b3d13(0x1e7)]({'transform':_0x16e562,'sheetTransform':_0x3cba98},{'skeleton':_0x2639ad,'range':_0x1c8d0a},{'skeleton':_0x1da630,'range':_0x26e3f9});if(_0x486e4e){let {redos:_0x3203f5,undos:_0x33f541}=this['_generateCutPasteMutations']({'fromUnitId':_0x136fd4,'fromSubUnitId':_0x37a922,'toUnitId':_0x3976af,'toSubUnitId':_0x37df37,'drawing':_0x4343a3,'newTransforms':_0x538d08},_0x177e91);_0x36ab0d[_0x2b3d13(0x2fe)](..._0x3203f5),_0x219c50[_0x2b3d13(0x2fe)](..._0x33f541);continue;}let {redos:_0xbdcd7b,undos:_0x217bda}=this['_generateCopyPasteMutations']({'toUnitId':_0x3976af,'toSubUnitId':_0x37df37,'drawing':_0x4343a3,'newTransforms':_0x538d08},_0x177e91);_0x36ab0d[_0x2b3d13(0x2fe)](..._0xbdcd7b),_0x219c50[_0x2b3d13(0x2fe)](..._0x217bda);}return{'redos':_0x36ab0d,'undos':_0x219c50};}['_generateCutPasteMutations'](_0x3c1076,_0x5b2c39){const _0xef6ca1=_0x2acbad;let {fromUnitId:_0x2edcbb,fromSubUnitId:_0x31ce2d,toUnitId:_0x3bb812,toSubUnitId:_0x2fab15,drawing:_0x46d7d3,newTransforms:_0x2c3148}=_0x3c1076,_0x1194c7={..._0x46d7d3,'unitId':_0x3bb812,'subUnitId':_0x2fab15,'transform':_0x2c3148['transform'],'sheetTransform':_0x2c3148[_0xef6ca1(0x1e2)]};if(_0x3bb812===_0x2edcbb&&_0x2fab15===_0x31ce2d){let {redo:_0x1cfdc1,undo:_0x34bded,objects:_0x9d13e1}=this[_0xef6ca1(0x2db)][_0xef6ca1(0x42e)]([_0x1194c7]);return{'redos':[{'id':_0x251774[_0xef6ca1(0x45f)]['id'],'params':{'unitId':_0x3bb812,'subUnitId':_0x2fab15,'type':_0x251774[_0xef6ca1(0x380)]['UPDATE'],'op':_0x1cfdc1,'objects':_0x9d13e1}}],'undos':[{'id':_0x251774[_0xef6ca1(0x45f)]['id'],'params':{'unitId':_0x3bb812,'subUnitId':_0x2fab15,'type':_0x251774[_0xef6ca1(0x380)][_0xef6ca1(0x2e0)],'op':_0x34bded,'objects':_0x9d13e1}}]};}else{let _0x5c9f47=this['_sheetDrawingService']['getBatchRemoveOp']([_0x46d7d3]),_0x5205df=this[_0xef6ca1(0x2db)][_0xef6ca1(0x1ba)]([_0x1194c7]),_0x49bf89=_0x5b2c39[_0xef6ca1(0x30b)][_0xef6ca1(0x2a6)](),{chartType:_0xf99c28,context:_0x4da3cf,style:_0x26c5c4,dataAggregation:_0x1245ac}=_0x5b2c39[_0xef6ca1(0x290)]();return{'redos':[{'id':_0x251774['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2edcbb,'subUnitId':_0x31ce2d,'type':_0x251774[_0xef6ca1(0x380)][_0xef6ca1(0x315)],'op':_0x5c9f47[_0xef6ca1(0x4b1)],'objects':_0x5c9f47[_0xef6ca1(0x4db)]}},{'id':_0x3fd577[_0xef6ca1(0x30a)]['id'],'params':{'unitId':_0x2edcbb,'subUnitId':_0x31ce2d,'chartId':_0x46d7d3[_0xef6ca1(0x266)]}},{'id':_0x251774[_0xef6ca1(0x45f)]['id'],'params':{'unitId':_0x3bb812,'subUnitId':_0x2fab15,'type':_0x251774['DrawingApplyType'][_0xef6ca1(0x257)],'op':_0x5205df[_0xef6ca1(0x4b1)],'objects':_0x5205df[_0xef6ca1(0x4db)]}},{'id':_0x3fd577[_0xef6ca1(0x317)]['id'],'params':{'unitId':_0x3bb812,'subUnitId':_0x2fab15,'chartId':_0x46d7d3[_0xef6ca1(0x266)],'chartType':_0xf99c28,...(0x0,_0x3fd577['toInsertChartMutationSource'])(_0x49bf89),'context':_0x4da3cf,'style':_0x26c5c4,'dataAggregation':_0x1245ac}}],'undos':[{'id':_0x251774[_0xef6ca1(0x45f)]['id'],'params':{'unitId':_0x2edcbb,'subUnitId':_0x31ce2d,'type':_0x251774['DrawingApplyType'][_0xef6ca1(0x257)],'op':_0x5c9f47[_0xef6ca1(0x51e)],'objects':_0x5c9f47['objects']}},{'id':_0x3fd577[_0xef6ca1(0x317)]['id'],'params':{'unitId':_0x2edcbb,'subUnitId':_0x31ce2d,'chartId':_0x46d7d3['drawingId'],'chartType':_0xf99c28,...(0x0,_0x3fd577[_0xef6ca1(0x438)])(_0x49bf89),'context':_0x4da3cf,'style':_0x26c5c4,'dataAggregation':_0x1245ac}},{'id':_0x251774['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3bb812,'subUnitId':_0x2fab15,'type':_0x251774['DrawingApplyType'][_0xef6ca1(0x315)],'op':_0x5205df[_0xef6ca1(0x51e)],'objects':_0x5205df[_0xef6ca1(0x4db)]}},{'id':_0x3fd577['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3bb812,'subUnitId':_0x2fab15,'chartId':_0x46d7d3[_0xef6ca1(0x266)]}}]};}}[_0x2acbad(0x300)](_0x4b060c,_0x408a43){const _0x555b93=_0x2acbad;let {toUnitId:_0x36a71e,toSubUnitId:_0x403126,drawing:_0x24d75d,newTransforms:_0x42f50a}=_0x4b060c,_0xc48fdc=(0x0,_0x11d3b6[_0x555b93(0x265)])(),_0x394d99={..._0x24d75d,'unitId':_0x36a71e,'subUnitId':_0x403126,'drawingId':_0xc48fdc,'transform':_0x42f50a[_0x555b93(0x429)],'sheetTransform':_0x42f50a['sheetTransform']},{redo:_0x4b8944,undo:_0xc1dd52,objects:_0xcb02e0}=this['_sheetDrawingService'][_0x555b93(0x1ba)]([_0x394d99]),_0x28d829=_0x408a43[_0x555b93(0x30b)][_0x555b93(0x2a6)](),{chartType:_0x181229,context:_0x11d7d4,style:_0x481aed,dataAggregation:_0x531549}=_0x408a43[_0x555b93(0x290)]();return{'redos':[{'id':_0x251774[_0x555b93(0x45f)]['id'],'params':{'unitId':_0x36a71e,'subUnitId':_0x403126,'type':_0x251774['DrawingApplyType'][_0x555b93(0x257)],'op':_0x4b8944,'objects':_0xcb02e0}},{'id':_0x3fd577[_0x555b93(0x317)]['id'],'params':{'unitId':_0x36a71e,'subUnitId':_0x403126,'chartId':_0xc48fdc,'chartType':_0x181229,...(0x0,_0x3fd577['toInsertChartMutationSource'])(_0x28d829),'context':_0x11d7d4,'style':_0x481aed,'dataAggregation':_0x531549}}],'undos':[{'id':_0x251774['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x36a71e,'subUnitId':_0x403126,'type':_0x251774[_0x555b93(0x380)][_0x555b93(0x315)],'op':_0xc1dd52,'objects':_0xcb02e0}},{'id':_0x3fd577['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x36a71e,'subUnitId':_0x403126,'chartId':_0xc48fdc}}]};}[_0x2acbad(0x1e7)](_0x3ede89,_0x3d8078,_0x49adc1){const _0x32ca74=_0x2acbad;let {range:_0x4707ff,skeleton:_0x416f8c}=_0x3d8078,{range:_0x3394e2,skeleton:_0x6c954a}=_0x49adc1,{transform:_0x2eb00d,sheetTransform:_0x595f52}=_0x3ede89,_0x45efc0={..._0x2eb00d};if(_0x4707ff){let _0x38d966=(0x0,_0x266cf4[_0x32ca74(0x4f5)])(_0x416f8c,_0x4707ff),_0x232529=(0x0,_0x266cf4[_0x32ca74(0x4f5)])(_0x6c954a,_0x3394e2);if(_0x38d966&&_0x232529){let _0x34fb01=_0x232529[_0x32ca74(0x1c4)]-_0x38d966[_0x32ca74(0x1c4)],_0x210975=_0x232529[_0x32ca74(0x261)]-_0x38d966[_0x32ca74(0x261)];_0x45efc0[_0x32ca74(0x2b4)]=(_0x45efc0[_0x32ca74(0x2b4)]??0x0)+_0x34fb01,_0x45efc0[_0x32ca74(0x3bb)]=(_0x45efc0[_0x32ca74(0x3bb)]??0x0)+_0x210975;}}else{let _0x1635d2=(0x0,_0x266cf4[_0x32ca74(0x4f5)])(_0x6c954a,_0x3394e2);_0x45efc0[_0x32ca74(0x2b4)]=_0x1635d2==null?void 0x0:_0x1635d2[_0x32ca74(0x1c4)],_0x45efc0[_0x32ca74(0x3bb)]=_0x1635d2==null?void 0x0:_0x1635d2['startY'];}return{'transform':_0x45efc0,'sheetTransform':(0x0,_0x251774[_0x32ca74(0x1f1)])(_0x45efc0,_0x6c954a)??_0x595f52};}};_0x2dba85=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6['Inject'])(_0x266cf4[_0x2acbad(0x272)])),_0x301f42(0x1,(0x0,_0x11d3b6['Inject'])(_0x3ea34e[_0x2acbad(0x32e)])),_0x301f42(0x2,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x251774[_0x2acbad(0x396)])),_0x301f42(0x3,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577[_0x2acbad(0x52f)]))],_0x2dba85);let _0x1f5e23=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x1c70f4,_0x34f16f,_0x339f7c,_0x2d9541){const _0x20847b=_0x2acbad;super(),this[_0x20847b(0x309)]=_0x1c70f4,this[_0x20847b(0x3d6)]=_0x34f16f,this[_0x20847b(0x273)]=_0x339f7c,this[_0x20847b(0x428)]=_0x2d9541,this[_0x20847b(0x32c)]();}['_initPermission'](){const _0x3032f2=_0x2acbad;this[_0x3032f2(0x529)](this[_0x3032f2(0x309)]['beforeCommandExecuted'](_0x475267=>{const _0x1ff20a=_0x3032f2;let _0x1f44f6,_0x4b4d7a;if(_0x475267['id']===_0x3fd577['InsertChartCommand']['id']){let _0x15692b=_0x475267[_0x1ff20a(0x511)];_0x1f44f6=_0x15692b[_0x1ff20a(0x51f)],_0x4b4d7a=_0x15692b[_0x1ff20a(0x279)];}else{if(_0x475267['id']===_0x3fd577[_0x1ff20a(0x3db)]['id']||_0x475267['id']===_0x3fd577[_0x1ff20a(0x27b)]['id']){let _0x4da49e=_0x475267['params'];_0x1f44f6=_0x4da49e[_0x1ff20a(0x51f)],_0x4b4d7a=this[_0x1ff20a(0x428)][_0x1ff20a(0x254)](_0x4da49e['unitId'],_0x4da49e[_0x1ff20a(0x21b)]);}}!_0x1f44f6||!_0x4b4d7a||this['_sheetPermissionCheckController'][_0x1ff20a(0x2f5)]({'workbookTypes':[_0x266cf4[_0x1ff20a(0x1e1)]],'worksheetTypes':[_0x266cf4['WorksheetEditPermission']]},_0x1f44f6,_0x4b4d7a)||this['_sheetPermissionCheckController'][_0x1ff20a(0x546)](this[_0x1ff20a(0x3d6)]['t'](_0x1ff20a(0x294)));}));}};_0x1f5e23=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x24d)])),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x4a3)])),_0x301f42(0x2,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x266cf4[_0x2acbad(0x271)])),_0x301f42(0x3,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x3fd577['SheetsChartService']))],_0x1f5e23);let _0x28a7ba=class extends _0x11d3b6[_0x2acbad(0x43e)]{constructor(_0x55d399,_0x2bde74){const _0xb02e88=_0x2acbad;super(),this[_0xb02e88(0x4aa)]=_0x2bde74,this[_0xb02e88(0x529)](_0x55d399[_0xb02e88(0x40a)](this));}[_0x2acbad(0x50f)](_0x25fc7a){const _0x3e7963=_0x2acbad;return _0x3e7963(0x51f)in _0x25fc7a&&'subUnitId'in _0x25fc7a;}[_0x2acbad(0x30d)](_0x48065b,_0x4d9b1a){const _0xe0acaf=_0x2acbad;return this[_0xe0acaf(0x4aa)][_0xe0acaf(0x30d)](_0x48065b['getId'](),_0x4d9b1a);}};_0x28a7ba=_0x1ed95b([_0x301f42(0x0,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x2eb124[_0x2acbad(0x221)])),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x2cd79b))],_0x28a7ba);let _0x1d1a69=class extends _0x11d3b6[_0x2acbad(0x4a7)]{constructor(_0x1c19fa=_0x31f776,_0x2467a1,_0x3dd232,_0x3e7e1a){const _0x4c8b21=_0x2acbad;super(),this[_0x4c8b21(0x2d9)]=_0x1c19fa,this['_injector']=_0x2467a1,this[_0x4c8b21(0x2d2)]=_0x3dd232,this[_0x4c8b21(0x309)]=_0x3e7e1a,_0x44c5f1(this,'_resolvedConfig',void 0x0);let {..._0x48398a}=(0x0,_0x11d3b6[_0x4c8b21(0x37c)])({},_0x31f776,this[_0x4c8b21(0x2d9)]);this['_resolvedConfig']=_0x48398a,this[_0x4c8b21(0x2d2)][_0x4c8b21(0x45c)](_0x186c81,_0x48398a),this[_0x4c8b21(0x475)]();}[_0x2acbad(0x495)](){const _0x155677=_0x2acbad;this['_injector'][_0x155677(0x225)]([_0x6eda38]),this[_0x155677(0x318)]['get'](_0x6eda38);let _0x2d4ff4=this['_injector'],_0x5e7113=[[_0x295e12,{'useClass':_0x28efee}],[_0x16f40b,{'useClass':_0x4ddeeb}],[_0x41dc31],[_0x2cd79b],[_0x28a7ba],[_0x113ad0],[_0x423b3e],[_0x4ec752],[_0x2dba85],[_0x34af0d],[_0x1f5e23]],_0x2a35e5=[[_0x113ad0],[_0x4ec752],[_0x423b3e],[_0x28a7ba],[_0x295e12],[_0x2dba85],[_0x34af0d],[_0x1f5e23]];this['_resolvedConfig'][_0x155677(0x2df)]&&(_0x5e7113['push']([_0x14ad97]),_0x2a35e5[_0x155677(0x2fe)]([_0x14ad97])),_0x5e7113[_0x155677(0x4ee)](_0x28a6b7=>_0x2d4ff4[_0x155677(0x225)](_0x28a6b7)),(0x0,_0x11d3b6[_0x155677(0x4f6)])(this['_injector'],_0x2a35e5);}[_0x2acbad(0x33b)](){const _0x3e0e0f=_0x2acbad;var _0x55f187;(_0x55f187=this[_0x3e0e0f(0x318)][_0x3e0e0f(0x3d7)](_0x113ad0))==null||_0x55f187['initPanel']();}[_0x2acbad(0x475)](){const _0x48b5e4=_0x2acbad;[_0x2d3027,_0xb6569e,_0x5e9998,_0x28fecc,_0x57a858,_0x3cfc7f,_0x883a27][_0x48b5e4(0x4ee)](_0x484753=>this[_0x48b5e4(0x529)](this[_0x48b5e4(0x309)][_0x48b5e4(0x3ec)](_0x484753)));}};_0x44c5f1(_0x1d1a69,_0x2acbad(0x4c0),_0x11d3b6[_0x2acbad(0x3ce)][_0x2acbad(0x473)]),_0x44c5f1(_0x1d1a69,'pluginName',_0x2acbad(0x213)),_0x44c5f1(_0x1d1a69,_0x2acbad(0x498),_0x3e4d3f),_0x44c5f1(_0x1d1a69,_0x2acbad(0x38a),_0x3a5aea),_0x1d1a69=_0x1ed95b([(0x0,_0x11d3b6[_0x2acbad(0x4eb)])(_0xe921bd[_0x2acbad(0x2c6)],_0x470a83[_0x2acbad(0x481)],_0x1d1477[_0x2acbad(0x41f)],_0x266cf4[_0x2acbad(0x201)],_0x251774[_0x2acbad(0x42a)],_0x2eb124[_0x2acbad(0x327)],_0x3fd577[_0x2acbad(0x29e)],_0xbf83ca[_0x2acbad(0x430)],_0x3ea34e[_0x2acbad(0x348)]),_0x301f42(0x1,(0x0,_0x11d3b6[_0x2acbad(0x45b)])(_0x11d3b6[_0x2acbad(0x25a)])),_0x301f42(0x2,_0x11d3b6['IConfigService']),_0x301f42(0x3,_0x11d3b6[_0x2acbad(0x24d)])],_0x1d1a69),_0x24eb4e[_0x2acbad(0x46d)]=_0x295e12,_0x24eb4e['SHEETS_CHART_UI_PLUGIN_CONFIG_KEY']=_0x186c81,Object['defineProperty'](_0x24eb4e,_0x2acbad(0x494),{'enumerable':!0x0,'get':function(){return _0x113ad0;}}),_0x24eb4e[_0x2acbad(0x4a2)]=_0x324d59,Object[_0x2acbad(0x493)](_0x24eb4e,_0x2acbad(0x306),{'enumerable':!0x0,'get':function(){return _0x28efee;}}),Object[_0x2acbad(0x493)](_0x24eb4e,_0x2acbad(0x213),{'enumerable':!0x0,'get':function(){return _0x1d1a69;}});}));function _0x9495(_0x5a98,_0x3e381c){_0x5a98=_0x5a98-0x1ab;const _0x28838d=_0x2883();let _0x94952b=_0x28838d[_0x5a98];return _0x94952b;}function _0x2883(){const _0x5d70f6=['Radar','sheets-chart-ui.section.wordCloud','ChartGradientFillField','getChartDataSource','clientY','has','absolute','OTHERS','onDoubleClick$','Inject','setConfig','_openFloatMenu','_disposeChartEventSubscription','SetDrawingApplyMutation','select','UniverDrawingUi','setPanelRoute','markNotReady','sheets-chart-ui.common.verticalAxis','UniverSheetsDrawing','ChartPieStyleSection','resolveChartStyleBackgroundColor','@univerjs/drawing-ui','getBoundingClientRect','Fail\x20to\x20create\x20float\x20dom','_iconManager','UniverIcon','ISheetsChartUIService','_drawChartFrame','sheets-chart-ui.common.heatmap','sheets-chart-ui.common.exportImage','DataOrientation','priority','UNIVER_SHEET','originalStrokeWidth','_initCommands','_chartSnapshotStoreService','_restoreFloatDomPositionStream','DEFAULT_CHART_WATERFALL_SETUP_VALUES','update','right','0\x200\x2016\x2016','UniverCore','univer-overflow-visible','_componentManager','setStyle','ChartThemeField','UniverDrawingPlugin','registerRenderObjectFactory','markUnmanaged','offsetLeft','useEffect','HorizontalAxis','debounceTime','groupId','dblclick','sheet.operation.hide-chart-panel','@univerjs/design','_bindChartEventHandlers','_chartThemeService','@univerjs/engine-formula','clientHeight','url','keys','chartTypeSupportsCapability','defineProperty','SheetsChartUIController','onStarting','UniverSheetsDrawingUi','4593080fkilJb','packageName','engine','waterfall','direction$','getValue','resolveDefaultChartHostFrameStyle','sheets-chart-ui.common.useAsCategoryLabels','barStyle','filter','_renderDebounceMap','SheetsChartUIMenuSchema','LocaleService','SheetsChartService','UniverEngineRender','DEFAULT_CHART_LEGEND_VALUES','Plugin','width','clearImage','_renderService','toPrimitive','Series','_pendingMutationConfigRenders','getAllowedChartTypes','SheetSkeletonManagerService','UniverProLicense','redo','function','img','sheet.chart.edit.panel','_adapterRegistry','ChartEditorCapability','4861350QPABGI','getContextValue','_activeDomReadyChartIds','sheets-chart-ui.section.funnel','102ZhpvCr','ChartHeatmapStyleSection','_debounceHandle','labelId','defaultValues','type','sheets-chart-ui.common.customize','getPropertyPriority','toStringTag','removeHost$','DEFAULT_CHART_RELATION_VALUES','_sidebarDisposable','registerFeatureMenu','getRenderUnitById','ChartElementFloatMenuAdapterRegistry','DEFAULT_CHART_HEATMAP_VALUES','ChartEditorProvider','useDependency','_waiter','vectorEffect','onDispose','setHostStyle','jsx','click','target','_getFloatDomInfo','jsxs','getSheetId','DEFAULT_CHART_INDICATOR_LINE_VALUES','sheets-chart-ui.common.series','_renderModelManager','scene','objects','parentElement','ImageBitmap','removeAttribute','ChartRadarStyleSection','_removeHost$','hidePanel','BehaviorSubject','sheets-chart-ui.common.category','@univerjs-pro/chart-ui','Canvas','sheets-chart-ui.common.legend','DEFAULT_CHART_WORD_CLOUD_VALUES','WordCloud','sheets-chart-ui.section.indicatorLine','252ZpJMEo','DependentOn','takeSnapshot','_getOuterRect','forEach','min','xlink:href','closePath','subscribeEvent','all','beginPath','attachRangeWithCoord','touchDependencies','_debounceHandleMap','ancestorTransform','Pareto','_chartElementEditMode','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','featurePluginOrderUpdate$','isRowDirection','_chartUIService','cumulativeLineStyle','localPoint','error','syncHostLayout','Chord','Sunburst','slice','EChartRenderEngineName','offsetTop','_getChartSnapshotKey','_sheetPrintInterceptorService','.png','Style','from','_clearSelectedTarget','stroke','supports','useLayoutEffect','params','Scatter','allSettled','_hostStyle','DEFAULT_CHART_STYLE_VALUES','DEFAULT_CHART_FUNNEL_VALUES','getCanvasElement','DEFAULT_CHART_WATERFALL_STYLE_VALUES','sheets-chart-ui.section.waterfall','isRender','ChartRenderMode','non-scaling-stroke','Sankey','undo','unitId','titles','PieStyle','Histogram','isReleased','initPanel','ChartWaterfallStyleTarget','dom','_markReady','Pie','disposeWithMe','ImageChartHost','getSheetCommandTarget','chartEditorOpen$','naturalWidth','sheets-chart-ui.common.switchRowColumn','ChartModelService','sheetDisposed$','Fragment','string','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ChartLegendSection','with','SheetCanvasFloatDomManagerService','transformChange$','ObjectType','225886RJFXKM','createElement','_chartEventSubscriptions','_snapshotKey','RENDER_CLASS_TYPE','_drawingManagerService','@univerjs/sheets-formula-ui','_sheetCanvasFloatDomManagerService','_copyInfo','_createChartRenderInstanceContext','_isChartElementEditEnabled','_snapshotStore','ChartTypeSpecificStyleSection','blockExecuteWithoutPermission','@univerjs-pro/license','ChartEditPanelTab','_cancelHostWait','iterator','position$','style$','getDirection','ChartImageExportFormat','getPropertyValue','_init','hadStyleAttribute','chartModelAdded$','_applyActiveChartRuntimeZIndex','ChartTypeBits','_subscribeChartEvents','_sidebarService','getBatchAddOp','render','_chartHostMap','_chartInstanceMap','_getSceneAndTransformerByDrawingSearch','sheets-chart-ui.chord.target','svg','_resizeChart','_draw','idMap','startX','throttleTime','rangeInfo$','currentColor','_createHost','chartModelRemoved$','tab','take','Row','name','sheets-chart-ui.section.treemap','_disposeChartDomInstance','asObservable','sheets-chart-ui.section.paretoBar','legend','withLatestFrom','category','_url','_getOrCreateChartRenderInstance','resize','_getHostPlacement','executeCommand','resolve','Line','129945crxrqh','_renderChartModel','Candlestick','_managed','checkMounted','WorkbookEditablePermission','sheetTransform','config$','BUTTON','sheets-chart-ui.section.histogram','@univerjs-pro/sheets-chart-ui','_updateTransform','_chartRenderMode','_disposeImage','_initCopyPaste','heatmap','baseOn','sheets-chart-ui.common.dataRange','_handleDrawingDoubleClick','Subject','SELECTOR','transformToDrawingPosition','displayName','_popupSessionKey','localName','crossOrigin','_setChartRuntimeZIndex','CHART_HOST_BORDER_RADIUS','clip','seriesId','download','getParent','rightY','ChartIcon','ISidebarService','_shouldEnableChartElementEdit','value','UniverSheetsPlugin','sheets-chart-element-float-menu','sidebarOptions$','_sheetDrawingHitTestService','chartId','syncLayout','next','CUT','commitSnapshot','ChartParetoSeriesSection','toFixed','isHit','chartObject','chartTypeSupportsLineAndAreaStyle','_registerAdapter','Subtotal','_themeService','react','UniverSheetsChartUIPlugin','rangeSelectMode','sheets-chart-ui.section.gridlinesAndTicks','url(#$1','Bubble','_pendingHost','missing-float-dom','ChartDomFrame','chartModelId','pareto','getMenuHiddenObservable','sheets-chart-ui.section.chord','_disposeChartEventSubscriptions','ParetoLineSeries','ChartImageExportService','Transform','defIds','_generatePasteMutations','add','getSheetBySheetName','invert','_getChartRenderObjectContext','setOrientation','handleActiveSubUnitChange','Module','IUniverInstanceService','sheets-chart-ui.section.lineAndArea','ChartSectionAccordionItem','useState','_activateHostWrapper','icon','CHART_TYPE_CATALOG','_sheetCanvasPopManagerService','SVG','domId','updateFloatDom','_requestPaint','Observable','_entries','getRuntimeContext','getElementById','SheetsSelectionsService','nextVersion','sheets-chart-ui.section.sunburst','sheets-chart-ui.common.horizontalAxis','Column','removeHost','current','add$','_chartEditorOpen$','iconName','isFinite','UniverEngineFormula','Combination','checkChartCanRender','getDrawingData','setElementEditMode','sheet.operation.open-chart-panel','ICommandService','checkHost','isArray','sheets-chart-ui.common.setup','_createPrintingChartObject','split','colorChannel1','getSubUnitId','_restoreHostWrapper','initialRect','INSERT','GridlinesAndTicks','DEFAULT_CHART_AXIS_VALUES','Injector','some','sheets-chart-ui.common.insertChart','relation','316816MkHSCz','visible','COMMAND','startY','sheets-chart-ui.common.chartAndAxisTitles','DeleteIcon','getChartModel','generateRandomId','drawingId','_lastActiveSheet','SheetChartConfigAdapter','_clearHiddenSelectedTarget','ChartHostRenderMode','sheets-chart-ui.waterfall.positive','clientX','getOrCreateDrawingCopyPlan','Dom','scaleX','ChartSeriesSection','SheetPermissionCheckController','SheetSkeletonService','_sheetPermissionCheckController','hit','activeRuntimeModel','items','inactive-sheet','setProperty','subUnitId','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','ChartUpdateSourceCommand','DownloadImageIcon','_rect','save','UniverProSheetsChartUi','ChartEditBlockTitle','create','1663126XFoSWK','@univerjs-pro/sheets-chart','toDisposable','createChartInstance','route','ChartFrameContentMode','label','copyType','onCommandExecuted','parseFloat','activeChartModel','observe','dataUrl','combineLatest','serialize','_disposeChartRenderInstance','sheets-chart.ui.service','UniverDesign','sheets-chart-ui.permission.editErr','prototype','style','onTransformChange$','featurePluginGroupUpdate$','setActiveChartModel','header','_getPlacement','_closePopup','createIdentifier','UniverSheetsChartPlugin','_renderWhenConfigReady','contains','_getCurrentSnapshotImage','PREDEFINED_HOOK_NAME','_drawChartImage','ContextMenuGroup','getName','getRangeInfo','clearPanelRoute','univer-flex\x20univer-flex-col\x20univer-gap-3','createRuntimeChartStyle','mode','ChartAxisSection','isDomReady','_resetChartRuntimeZIndex','IndicatorLine','sheets-chart-ui.chartTypes.','none','includes','allSeriesStyle','sheets-chart-ui.common.openChartPanel','left','_cancelDebouncedCallbacks','mergeMenu','getMatrix','getActiveSheet','resolveChartEditPanelRoute','DRAWING_OBJECT_LAYER_INDEX','DRAWING_CHART','140hkrivn','1em','resolveChartRuntimeStyle','pairwise','interceptor','_resolveLayout','ChartEditPanelSection','isInGroup','color','close','UniverLicensePlugin','height','FOCUSING_COMMON_DRAWINGS','clear','chartRenderMode','SHEETS_CHART_PLUGIN_CONFIG_KEY','IConfigService','transparent','lineTo','drawingType','Heatmap','Funnel','_configService','sheets-chart-ui.common.deleteChart','entries','useChartEditorHasRightAxis','_disposed','trendline','useMemo','_config','complete','_sheetDrawingService','GeneralSeries','_markNotReady','section','enableChartElementFloatMenu','UPDATE','sheet.command.chart.delete-focused-chart','CommandType','ChartRelationStyleSection','imageBitmap','_initActiveRuntimeLayerListener','-univer-mx-4','setContextValue','ChartCommonDataMappingSection','unsubscribe','ChartFrameLayout','activeSheet$','_lastRenderInputMap','getRenderModel','abs','sheets-chart-ui.host.provider','baseVal','ComponentManager','_chartRenderService','intercept','href','permissionCheckWithoutRange','discreteRangeToRange','getCurrentLastSelection','sheets-chart-ui.section.candlestick','_markHostReady','getHostSize','decorate','_renderManagerService','strokeOpacity','push','_deactivateEditPanelState','_generateCopyPasteMutations','sheets-chart-ui.section.pie','OPERATION','sheets-chart-ui.waterfall.subtotal','chartBitsUtils','_applyHostStyle','SheetsChartUIService','blur','_alignFloatDomPositionWithSceneRender','_commandService','RemoveSheetsChartMutation','dataSource','_registerIcons','exportImage','_addWatermark','ChartSectionAccordionTrigger','ChartWaterfallSetupFields','subscribe','bounds','_contextService','panelRoute$','REMOVE','ChartIndicatorLineSection','InsertSheetsChartMutation','_injector','_pendingToken','DEFAULT_CHART_TRENDLINE_VALUES','mountNode','anchorRect$','setImage','applyPoint','focus$','Trendline','ChartTitlesSection','indexOf','getChartSnapshotImage','React','_registerComponents','arc','UniverChartUIPlugin','image','fromEvent','chartEditorOpen','series','_initPermission','getDrawingOrder','ISheetClipboardService','combineLatestWith','setProps','_requestChartCanvasRender','distinctUntilChanged','Image','afterRender$','UniverDrawing','segmented','amd','ensureMount','_executeChartUpdateSourceConfig','_bindChartEventHandler','onRendered','_frameStyle','Axes','defs','_domFrame','funnel','_initSheetChange','_initActiveChartModelListener','evented','CanvasFloatDomService','_canvasFloatDomService','children','useChartEditorChartType','UniverSheetsUIPlugin','stroke-width','src','_chartEventHandlers','anonymous','getSkeleton','appliedStrokeWidth','UniverProEngineChart','_syncActiveEditChart','sheets-chart-ui.config','Url','.chart-host','getFloatDomInfo','fill','innerWidth','getOwnPropertyDescriptor','IMenuManagerService','PenIcon','IChartRenderModelManagerService','getCurrentRangeDisable$','rect','_initPrinting','_createCopyInfoByRange','openChartPanelById','SheetPrintInterceptorService','range','isManaged','getRealBound','isElementEditModeActive','rangeInfo','Rect','pointerEvents','MEDIA','updateFloatDomProps','1000','UniverProChartUi','moveTo','promise','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ThemeService','markHostNotReady','getFocusDrawings','idSuffix','every','_sheetSkeletonService','exports','InsertChartCommand','getUnitId','then','buildChartTypeSelectOptions','_panelRoute$','values','merge','globalAlpha','replace','_popupDisposable','DrawingApplyType','cancel','ChartImageSourceType','scroll','_getChartRenderSkipReason','DrawingTypeEnum','opacity','ensureHandle','DEFAULT_CHART_RADAR_VALUES','forwardRef','version','map','SHEETS_CHART_PLUGIN_NAME','_setHostStyle','DisposableCollection','@univerjs/ui','sheets-chart-ui.common.hideChartPanel','pie','_savedWrapperStyle','_registerChartImageRenderObjectFactory','delete','IconManager','ISheetDrawingService','Button','MenuItemType','interceptCommand','getRenderColor','deriveStateFromActiveSheet$','sheet.command.chart.export-focused-image','symbol','_openPanel','sheets-chart-ui.common.copy','UniverProSheetsChart','attrs','Legend','ChartEditPanelTabs','RemoveSheetDrawingCommand','ChartTrendlineSection','_shouldSuppressRender','drawWith','bind','ChartWaterfallStyleSection','translate','SheetInterceptorService','UniverSheets','@univerjs/sheets','clientWidth','call','getFocusedUnit','_getImage','bottom','offsetWidth','_openEditPanelByDoubleClick','COPY_TYPE','drawImage','RangeSelector','mask','naturalHeight','number','top','_getChartRenderObject','wordCloud','onload','sheets-chart-ui.common.trendline','pipe','invalidateSnapshot','titleKey','createChartElementFloatMenuAdapter','_activeChartId','_urlImage','_initDrawingDeactivationListener','indicatorLine','Relation','ensureHost','LineAndArea','dispose','PRINTING_COMPONENT_COLLECT','UniverSheetsUi','UniverInstanceType','Boxplot','axis','isConnected','setRangeSelectMode','getObjectIncludeInGroup','_sheetsChartUIService','getObject','_localeService','get','use','featurePluginUngroupUpdate$','object','ChartUpdateConfigCommand','_univerInstanceService','_rangeSelectMode','univer-overflow-hidden','#-#','_listenChartUpdateMutations','sheets-chart-ui.common.editChart','scaleY','setChartEditorOpen','_chartHostProviderService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','logicalOuterRect','tag','default','_clearChartRuntimeCache','ChartTypeField','_rerenderLatest','registerCommand','ChartGridlinesAndTicksSection','div','_renderAfterChartUpdateMutation','numberToABC','_createImageChartHost','329287GzfwIH','_activateEditPanelState','IRenderManagerService','resolveChartCreationIntent','pieSecondaryPlotType','clearRuntimeCache','activeChartModel$','_sheetInterceptorService','@univerjs/sheets-drawing-ui','_chartModelService','top-center','UniverSheetsFormulaUi','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','setDataRange','config','chartType','Data','ChartEditPanel','_image','makeDirty','startWith','_popupChartId','missing-active-sheet','IDrawingManagerService','register','length','_version','_getOrCreateSheetChartHost','offsetHeight','deserializeRangeWithSheet','nativeEvent','useImperativeHandle','getChartPopupMenus','SheetCanvasPopManagerService','radius','ChartNumberFormatAtom','constructor','RemoveSheetCommand','serializeRangeWithSheet','PieSecondaryPlotType','IContextService','CopyDoubleIcon','chartTypeCanUseTrendLine','trim','getCurrentUnitOfType','UniverRenderEnginePlugin','Treemap','strokeWidth','getImage','Gauge','clearChart','getSheetBySheetId','pen-icon','ChartStyleSection','_sheetsChartService','transform','UniverSheetsDrawingPlugin','focusDrawing','WaterfallSeries','parent','getBatchUpdateOp','zIndex','UniverSheetsDrawingUIPlugin','stringify','_focusedDrawings','element','useId','_menuManagerService','DEFAULT_CHART_SERIES_VALUES','useObservable','toInsertChartMutationSource','ChartLineAndAreaSection','VerticalAxis','assignStyle','renderChartsForPrinting','auto','Disposable','_initMenus','max','RightVerticalAxis','getCurrentTypeOfUnit$','react/jsx-runtime','_chartHostProvider','hasOwnProperty','RibbonInsertGroup','flatMap','_resolveChartRenderMode','innerHeight','ContextMenuPosition','restore','getDrawingShapeKeyByDrawingSearch','remove$','set','startColumn','debounce','Waterfall'];_0x2883=function(){return _0x5d70f6;};return _0x2883();}