@univerjs-pro/docs-chart-ui 1.0.0-alpha.3 → 1.0.0-alpha.5

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 (59) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/controllers/doc-chart-snapshot-refresh.controller.d.ts +2 -2
  41. package/lib/types/controllers/doc-chart-static-render.controller.d.ts +9 -0
  42. package/lib/types/services/doc-chart-active-render.service.d.ts +8 -2
  43. package/lib/types/services/doc-chart-render.service.d.ts +2 -3
  44. package/lib/types/services/doc-chart-snapshot-render.service.d.ts +2 -3
  45. package/lib/types/views/active-chart/index.d.ts +1 -0
  46. package/lib/umd/index.js +1 -1
  47. package/lib/umd/locale/ca-ES.js +1 -1
  48. package/lib/umd/locale/en-US.js +1 -1
  49. package/lib/umd/locale/es-ES.js +1 -1
  50. package/lib/umd/locale/fa-IR.js +1 -1
  51. package/lib/umd/locale/fr-FR.js +1 -1
  52. package/lib/umd/locale/ja-JP.js +1 -1
  53. package/lib/umd/locale/ko-KR.js +1 -1
  54. package/lib/umd/locale/ru-RU.js +1 -1
  55. package/lib/umd/locale/sk-SK.js +1 -1
  56. package/lib/umd/locale/vi-VN.js +1 -1
  57. package/lib/umd/locale/zh-CN.js +1 -1
  58. package/lib/umd/locale/zh-TW.js +1 -1
  59. package/package.json +17 -17
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2d90a8=_0x40d6;(function(_0x1fe09d,_0x123beb){const _0x23cb55=_0x40d6,_0x280ffc=_0x1fe09d();while(!![]){try{const _0x21ea86=-parseInt(_0x23cb55(0x184))/0x1*(-parseInt(_0x23cb55(0x47d))/0x2)+-parseInt(_0x23cb55(0x31f))/0x3+-parseInt(_0x23cb55(0x2e7))/0x4*(parseInt(_0x23cb55(0x34c))/0x5)+-parseInt(_0x23cb55(0x2c1))/0x6+parseInt(_0x23cb55(0x2d4))/0x7*(-parseInt(_0x23cb55(0x3d8))/0x8)+parseInt(_0x23cb55(0x180))/0x9*(-parseInt(_0x23cb55(0x298))/0xa)+-parseInt(_0x23cb55(0x395))/0xb*(-parseInt(_0x23cb55(0x443))/0xc);if(_0x21ea86===_0x123beb)break;else _0x280ffc['push'](_0x280ffc['shift']());}catch(_0x301818){_0x280ffc['push'](_0x280ffc['shift']());}}}(_0x41a7,0xe5d61),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2d90a8(0x47a)}));let e=require('@univerjs/core'),t=require('@univerjs/design'),n=require('@univerjs/ui'),r=require('react'),i=require('@univerjs-pro/chart-ui'),a=require('@univerjs-pro/docs-chart'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/engine-chart'),c=require('@univerjs/icons'),l=require('@univerjs/docs'),u=require('@univerjs/docs-ui'),d=require('@univerjs/docs-drawing'),f=require('@univerjs/docs-drawing-ui'),p=require('rxjs'),m=require('@univerjs-pro/license'),h=require('@univerjs/drawing'),g=require('@univerjs/engine-render');const _={'id':_0x2d90a8(0x32d),'type':e['CommandType'][_0x2d90a8(0x2d8)],'handler'(){return!0x0;}},v={'id':_0x2d90a8(0x28a),'type':e['CommandType'][_0x2d90a8(0x2d8)],'handler'(){return!0x0;}};function y(_0x5d83fa,_0x1f5d9d,_0x420b4f=0x1,_0x1de8f6=0x1){const _0x5e44ab=_0x2d90a8;return(0x0,i[_0x5e44ab(0x2a9)])(_0x1f5d9d,a[_0x5e44ab(0x1c4)],_0x420b4f,_0x1de8f6);}function b(_0x5bed8a){const _0x193097=_0x2d90a8;return(0x0,o[_0x193097(0x33b)])(i[_0x193097(0x264)],{'values':_0x5bed8a[_0x193097(0x223)],'minRows':_0x5bed8a[_0x193097(0x40f)],'minColumns':_0x5bed8a['minColumns'],'parsePastedText':a[_0x193097(0x1c4)],'onChange':_0x5bed8a[_0x193097(0x22e)]});}const ee=_0x2d90a8(0x1f1);let te=function(_0x476ee4){const _0x2ef63d=_0x2d90a8;return _0x476ee4[_0x2ef63d(0x3a4)]='shared',_0x476ee4[_0x2ef63d(0x19d)]=_0x2ef63d(0x432),_0x476ee4;}({});function x(_0xfdbf7e){const _0x1e6039=_0x2d90a8;let _0x56570e=(0x0,n[_0x1e6039(0x1da)])(e[_0x1e6039(0x36c)]),{values:_0xe2e662,sharingCount:_0x43f146=0x1,onCancel:_0x1f7935,onChange:_0x360666,onSubmit:_0x46e9a2}=_0xfdbf7e,[_0x1e59c8,_0x7d95f2]=(0x0,r[_0x1e6039(0x2b8)])(()=>_0xe2e662[_0x1e6039(0x22b)](_0x9fd71f=>[..._0x9fd71f])),[_0x4997e6,_0x5531c9]=(0x0,r[_0x1e6039(0x2b8)])(null),_0x211227=_0x43f146>0x1,_0x29138a=_0x202169=>{_0x7d95f2(_0x202169),_0x360666==null||_0x360666(_0x202169);},_0xc2e0e1=_0x180734=>{const _0x351751=_0x1e6039;let _0x527cd5=(0x0,i[_0x351751(0x3bf)])(_0x1e59c8);if(_0x527cd5[_0x351751(0x1f4)]===0x0){_0x5531c9(_0x56570e['t'](_0x351751(0x30b)));return;}_0x5531c9(null),_0x46e9a2(_0x527cd5,_0x180734);};return(0x0,o['jsxs'])(_0x1e6039(0x1b4),{'className':_0x1e6039(0x239),'children':[(0x0,o[_0x1e6039(0x33b)])(_0x1e6039(0x1b4),{'className':_0x1e6039(0x354),'children':(0x0,o['jsx'])(b,{'values':_0x1e59c8,'onChange':_0x29138a})}),_0x4997e6&&(0x0,o[_0x1e6039(0x33b)])(_0x1e6039(0x1b4),{'className':_0x1e6039(0x276),'children':_0x4997e6}),(0x0,o[_0x1e6039(0x2ab)])(_0x1e6039(0x1b4),{'className':_0x1e6039(0x2e1),'children':[_0x1f7935&&(0x0,o[_0x1e6039(0x33b)])(t[_0x1e6039(0x359)],{'type':_0x1e6039(0x2ce),'variant':_0x1e6039(0x44a),'onClick':_0x1f7935,'children':_0x56570e['t'](_0x1e6039(0x2a3))}),_0x211227&&(0x0,o[_0x1e6039(0x33b)])(t[_0x1e6039(0x359)],{'type':_0x1e6039(0x2ce),'variant':'default','onClick':()=>_0xc2e0e1(_0x1e6039(0x432)),'children':_0x56570e['t'](_0x1e6039(0x1fb))}),(0x0,o[_0x1e6039(0x33b)])(t[_0x1e6039(0x359)],{'type':'button','variant':_0x1e6039(0x3fb),'onClick':()=>_0xc2e0e1('shared'),'children':_0x56570e['t']('docs-chart-ui.apply')})]})]});}function S(_0x221a5a,_0x18f675){return function(_0x5d1a0b,_0x56ad02){_0x18f675(_0x5d1a0b,_0x56ad02,_0x221a5a);};}function C(_0x2366a2,_0x1f635d,_0x12430b,_0x4da2fd){const _0x140aea=_0x2d90a8;var _0x9133e2=arguments['length'],_0x2dbeb7=_0x9133e2<0x3?_0x1f635d:_0x4da2fd===null?_0x4da2fd=Object[_0x140aea(0x16d)](_0x1f635d,_0x12430b):_0x4da2fd,_0xc7daad;if(typeof Reflect==_0x140aea(0x1cf)&&typeof Reflect[_0x140aea(0x26b)]==_0x140aea(0x1db))_0x2dbeb7=Reflect[_0x140aea(0x26b)](_0x2366a2,_0x1f635d,_0x12430b,_0x4da2fd);else{for(var _0x4a7b61=_0x2366a2['length']-0x1;_0x4a7b61>=0x0;_0x4a7b61--)(_0xc7daad=_0x2366a2[_0x4a7b61])&&(_0x2dbeb7=(_0x9133e2<0x3?_0xc7daad(_0x2dbeb7):_0x9133e2>0x3?_0xc7daad(_0x1f635d,_0x12430b,_0x2dbeb7):_0xc7daad(_0x1f635d,_0x12430b))||_0x2dbeb7);}return _0x9133e2>0x3&&_0x2dbeb7&&Object[_0x140aea(0x21e)](_0x1f635d,_0x12430b,_0x2dbeb7),_0x2dbeb7;}let w=class{constructor(_0x4deb44,_0x134e3b){const _0x255a19=_0x2d90a8;this['_commandService']=_0x4deb44,this[_0x255a19(0x1c7)]=_0x134e3b;}[_0x2d90a8(0x3d4)](_0x3ec12a,_0x30a4dd){const _0x3c65cd=_0x2d90a8;let _0x13aa11=this[_0x3c65cd(0x1c7)][_0x3c65cd(0x1cd)](_0x3ec12a,_0x30a4dd),_0x12b372=_0x13aa11?this[_0x3c65cd(0x1c7)][_0x3c65cd(0x48f)](_0x3ec12a,_0x13aa11['dataSourceId']):void 0x0;return!_0x13aa11||!_0x12b372?null:{'unitId':_0x3ec12a,'chartId':_0x30a4dd,'dataSourceId':_0x12b372['id'],'values':_0x12b372[_0x3c65cd(0x223)][_0x3c65cd(0x22b)](_0xcb75d2=>[..._0xcb75d2]),'sharingCount':this['_resourceService'][_0x3c65cd(0x422)](_0x3ec12a,_0x12b372['id'])};}[_0x2d90a8(0x21f)](_0x444f6f,_0x41e7f8,_0x485ca9){const _0x36b2b1=_0x2d90a8;return this[_0x36b2b1(0x1c7)][_0x36b2b1(0x1cd)](_0x444f6f,_0x41e7f8)?this[_0x36b2b1(0x1d9)]['syncExecuteCommand'](a['UpdateDocChartConfigCommand']['id'],{'unitId':_0x444f6f,'chartId':_0x41e7f8,'chartType':_0x485ca9}):!0x1;}[_0x2d90a8(0x1f8)](_0xf56522,_0x544d45,_0x33da52){const _0x3decf0=_0x2d90a8;return this[_0x3decf0(0x1c7)][_0x3decf0(0x1cd)](_0xf56522,_0x544d45)?this[_0x3decf0(0x1d9)][_0x3decf0(0x1b8)](a['UpdateDocChartConfigCommand']['id'],{'unitId':_0xf56522,'chartId':_0x544d45,'style':_0x33da52}):!0x1;}[_0x2d90a8(0x496)](_0x314631,_0x265bd3,_0x5968cb){const _0x55daeb=_0x2d90a8;return this['_resourceService'][_0x55daeb(0x1cd)](_0x314631,_0x265bd3)?this['_commandService'][_0x55daeb(0x1b8)](a[_0x55daeb(0x188)]['id'],{'unitId':_0x314631,'chartId':_0x265bd3,'patch':{'context':_0x5968cb}}):!0x1;}[_0x2d90a8(0x17b)](_0x5c7773,_0x29f360,_0x597801){const _0x291bed=_0x2d90a8;return this[_0x291bed(0x1c7)][_0x291bed(0x1cd)](_0x5c7773,_0x29f360)?this[_0x291bed(0x1d9)]['syncExecuteCommand'](a['UpdateDocChartConfigCommand']['id'],{'unitId':_0x5c7773,'chartId':_0x29f360,'dataAggregation':_0x597801}):!0x1;}['updateDataFromText'](_0x47ffb7,_0x538164,_0x49c498,_0x3e6987){const _0x628016=_0x2d90a8;let _0x24a50a=(0x0,a[_0x628016(0x1c4)])(_0x49c498);return _0x24a50a[_0x628016(0x1f4)]===0x0?!0x1:this['updateData'](_0x47ffb7,_0x538164,_0x24a50a,_0x3e6987);}[_0x2d90a8(0x491)](_0x25b6a8,_0x77c995,_0x2a73b3,_0x3eb10f){const _0xfb6af5=_0x2d90a8;let _0x186f9d=this['getEditorState'](_0x25b6a8,_0x77c995);if(!_0x186f9d||_0x2a73b3[_0xfb6af5(0x1f4)]===0x0)return!0x1;let _0x26845c=_0x186f9d[_0xfb6af5(0x2ed)];if(_0x3eb10f===_0xfb6af5(0x432)&&_0x186f9d['sharingCount']>0x1){if(!this[_0xfb6af5(0x1d9)][_0xfb6af5(0x1b8)](a[_0xfb6af5(0x3b7)]['id'],{'unitId':_0x25b6a8,'chartId':_0x77c995}))return!0x1;let _0x354340=this[_0xfb6af5(0x1c7)][_0xfb6af5(0x1cd)](_0x25b6a8,_0x77c995);if(!_0x354340)return!0x1;_0x26845c=_0x354340[_0xfb6af5(0x2ed)];}return this['_commandService'][_0xfb6af5(0x1b8)](a[_0xfb6af5(0x473)]['id'],{'unitId':_0x25b6a8,'dataSourceId':_0x26845c,'values':_0x2a73b3});}};w=C([S(0x0,e[_0x2d90a8(0x39d)]),S(0x1,(0x0,e['Inject'])(a[_0x2d90a8(0x1b6)]))],w);const ne=[{'label':_0x2d90a8(0x317),'value':s[_0x2d90a8(0x42e)]['Line']},{'label':_0x2d90a8(0x483),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x1cc)]},{'label':_0x2d90a8(0x278),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x31d)]},{'label':_0x2d90a8(0x25b),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x17d)]},{'label':_0x2d90a8(0x1ad),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x2db)]},{'label':_0x2d90a8(0x3d9),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x33f)]},{'label':'docs-chart-ui.chartTypes.area','value':s['ChartTypeBits']['Area']},{'label':_0x2d90a8(0x1c9),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x218)]},{'label':_0x2d90a8(0x383),'value':s[_0x2d90a8(0x42e)]['AreaPercentStacked']},{'label':'docs-chart-ui.chartTypes.radar','value':s['ChartTypeBits'][_0x2d90a8(0x1d8)]},{'label':_0x2d90a8(0x230),'value':s['ChartTypeBits']['Combination']},{'label':_0x2d90a8(0x1d0),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x374)]},{'label':_0x2d90a8(0x3e3),'value':s['ChartTypeBits'][_0x2d90a8(0x2fe)]},{'label':_0x2d90a8(0x1a2),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x194)]},{'label':_0x2d90a8(0x390),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x3d7)]},{'label':_0x2d90a8(0x2e9),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x266)]},{'label':_0x2d90a8(0x33e),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x247)]},{'label':_0x2d90a8(0x2b0),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x314)]},{'label':_0x2d90a8(0x27b),'value':s[_0x2d90a8(0x42e)]['Sankey']},{'label':'docs-chart-ui.chartTypes.heatmap','value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x30d)]},{'label':'docs-chart-ui.chartTypes.boxplot','value':s[_0x2d90a8(0x42e)]['Boxplot']}],T=[s[_0x2d90a8(0x42e)][_0x2d90a8(0x2db)],s[_0x2d90a8(0x42e)][_0x2d90a8(0x33f)],s[_0x2d90a8(0x42e)][_0x2d90a8(0x218)],s[_0x2d90a8(0x42e)][_0x2d90a8(0x290)],s[_0x2d90a8(0x42e)]['Pareto']],E=ne[_0x2d90a8(0x28d)](_0x52fd5b=>!T['includes'](_0x52fd5b[_0x2d90a8(0x352)])),re=[{'label':'Top','value':s[_0x2d90a8(0x3a7)][_0x2d90a8(0x3c9)]},{'label':_0x2d90a8(0x387),'value':s[_0x2d90a8(0x3a7)][_0x2d90a8(0x387)]},{'label':_0x2d90a8(0x433),'value':s[_0x2d90a8(0x3a7)][_0x2d90a8(0x433)]},{'label':_0x2d90a8(0x421),'value':s[_0x2d90a8(0x3a7)]['Left']},{'label':'None','value':s[_0x2d90a8(0x3a7)][_0x2d90a8(0x1e5)]}],ie=[{'label':_0x2d90a8(0x3c9),'value':s[_0x2d90a8(0x258)][_0x2d90a8(0x3c9)]},{'label':_0x2d90a8(0x387),'value':s[_0x2d90a8(0x258)][_0x2d90a8(0x387)]},{'label':_0x2d90a8(0x433),'value':s[_0x2d90a8(0x258)]['Bottom']},{'label':_0x2d90a8(0x421),'value':s[_0x2d90a8(0x258)][_0x2d90a8(0x421)]},{'label':'None','value':s['TitlePositionEnum'][_0x2d90a8(0x1e5)]}],ae=[{'label':'Auto','value':s['SeriesLabelPosition'][_0x2d90a8(0x2f8)]},{'label':_0x2d90a8(0x431),'value':s[_0x2d90a8(0x16c)]['Inside']},{'label':'Left','value':s[_0x2d90a8(0x16c)]['Left']},{'label':_0x2d90a8(0x387),'value':s[_0x2d90a8(0x16c)][_0x2d90a8(0x387)]},{'label':'Top','value':s['SeriesLabelPosition'][_0x2d90a8(0x3c9)]},{'label':_0x2d90a8(0x433),'value':s[_0x2d90a8(0x16c)][_0x2d90a8(0x433)]}],oe=[{'label':_0x2d90a8(0x431),'value':s['PieLabelPosition'][_0x2d90a8(0x431)]},{'label':_0x2d90a8(0x333),'value':s[_0x2d90a8(0x44b)][_0x2d90a8(0x333)]}],se=[{'label':_0x2d90a8(0x26c),'value':''},{'label':'Stacked','value':s[_0x2d90a8(0x282)]['Stacked']},{'label':_0x2d90a8(0x2bd),'value':s[_0x2d90a8(0x282)][_0x2d90a8(0x294)]}],ce=[{'label':'Single','value':s[_0x2d90a8(0x254)][_0x2d90a8(0x464)]},{'label':_0x2d90a8(0x2d2),'value':s[_0x2d90a8(0x254)][_0x2d90a8(0x2d2)]},{'label':_0x2d90a8(0x2a6),'value':s[_0x2d90a8(0x254)][_0x2d90a8(0x29d)]}],le=[{'label':_0x2d90a8(0x224),'value':s['ChartBorderDashType'][_0x2d90a8(0x224)]},{'label':_0x2d90a8(0x28e),'value':s[_0x2d90a8(0x471)][_0x2d90a8(0x28e)]},{'label':_0x2d90a8(0x177),'value':s[_0x2d90a8(0x471)][_0x2d90a8(0x177)]}],ue=[0x1,0.9,0.7,0.5,0.3,0.1][_0x2d90a8(0x22b)](_0x1c23b2=>({'label':_0x1c23b2*0x64+'%','value':String(_0x1c23b2)})),de=[0x0,0x1,0x2,0x4,0x8][_0x2d90a8(0x22b)](_0x4ba45c=>({'label':_0x4ba45c+'px','value':String(_0x4ba45c)})),fe=[{'label':'Circle','value':s[_0x2d90a8(0x33d)][_0x2d90a8(0x27f)]},{'label':_0x2d90a8(0x488),'value':s[_0x2d90a8(0x33d)][_0x2d90a8(0x488)]},{'label':_0x2d90a8(0x24e),'value':s[_0x2d90a8(0x33d)][_0x2d90a8(0x24e)]},{'label':_0x2d90a8(0x211),'value':s[_0x2d90a8(0x33d)][_0x2d90a8(0x211)]},{'label':_0x2d90a8(0x26c),'value':s[_0x2d90a8(0x33d)][_0x2d90a8(0x26c)]}],pe=[0x0,0x2,0x5,0x7,0xa,0xe][_0x2d90a8(0x22b)](_0x3d43a0=>({'label':_0x3d43a0+'px','value':String(_0x3d43a0)})),me=[{'label':_0x2d90a8(0x1ed),'value':s[_0x2d90a8(0x1e7)][_0x2d90a8(0x407)]},{'label':_0x2d90a8(0x3f6),'value':s[_0x2d90a8(0x1e7)][_0x2d90a8(0x463)]},{'label':'Value','value':s['LabelContentType']['Value']},{'label':_0x2d90a8(0x229),'value':s[_0x2d90a8(0x1e7)][_0x2d90a8(0x229)]}],he=Object['values'](s[_0x2d90a8(0x2bb)])[_0x2d90a8(0x22b)](_0x4f272a=>({'label':_0x4f272a,'value':_0x4f272a})),ge=[{'label':'Polygon','value':s[_0x2d90a8(0x200)][_0x2d90a8(0x23f)]},{'label':_0x2d90a8(0x27f),'value':s['RadarShape'][_0x2d90a8(0x27f)]}],_e=[{'label':_0x2d90a8(0x392),'value':s['WaterfallStackTypeEnum']['Arrangement']},{'label':_0x2d90a8(0x436),'value':s[_0x2d90a8(0x428)][_0x2d90a8(0x436)]}],ve=[{'label':_0x2d90a8(0x2d9),'value':_0x2d90a8(0x458)},{'label':_0x2d90a8(0x186),'value':_0x2d90a8(0x324)}],ye=[{'label':_0x2d90a8(0x2f8),'value':s['RelationChartLayoutEnum']['None']},{'label':_0x2d90a8(0x215),'value':s[_0x2d90a8(0x23a)]['Circular']},{'label':_0x2d90a8(0x447),'value':s[_0x2d90a8(0x23a)]['Force']}];function be(_0x10af13){const _0x243a9f=_0x2d90a8;let _0x48427d=!!(_0x10af13&&s[_0x243a9f(0x222)][_0x243a9f(0x3db)](_0x10af13,s[_0x243a9f(0x42e)][_0x243a9f(0x2fe)])),_0x3cd726=!!(_0x10af13&&s[_0x243a9f(0x222)]['baseOn'](_0x10af13,s[_0x243a9f(0x42e)]['Pie'])),_0x257af5=!!(_0x10af13&&s[_0x243a9f(0x222)][_0x243a9f(0x3db)](_0x10af13,s[_0x243a9f(0x42e)]['Radar'])),_0x38e255=!!(_0x10af13&&s['chartBitsUtils'][_0x243a9f(0x3db)](_0x10af13,s[_0x243a9f(0x42e)][_0x243a9f(0x194)])),_0x5c0f91=!!(_0x10af13&&s[_0x243a9f(0x222)]['baseOn'](_0x10af13,s['ChartTypeBits'][_0x243a9f(0x247)])),_0x5e393c=!!(_0x10af13&&s['chartBitsUtils'][_0x243a9f(0x3db)](_0x10af13,s[_0x243a9f(0x42e)]['Pareto'])),_0x11e2bf=!!(_0x10af13&&s['chartBitsUtils'][_0x243a9f(0x3db)](_0x10af13,s['ChartTypeBits'][_0x243a9f(0x266)])),_0x800d04=!!(_0x10af13&&s[_0x243a9f(0x222)]['baseOn'](_0x10af13,s[_0x243a9f(0x42e)][_0x243a9f(0x480)])),_0x17866e=!!(_0x10af13&&s[_0x243a9f(0x222)][_0x243a9f(0x3db)](_0x10af13,s['ChartTypeBits'][_0x243a9f(0x30d)])),_0x59451=!!(_0x10af13&&[s['ChartTypeBits']['Line'],s[_0x243a9f(0x42e)]['Area'],s[_0x243a9f(0x42e)][_0x243a9f(0x218)],s[_0x243a9f(0x42e)][_0x243a9f(0x290)],s['ChartTypeBits'][_0x243a9f(0x374)],s['ChartTypeBits']['Combination']][_0x243a9f(0x208)](_0x11bc01=>s[_0x243a9f(0x222)][_0x243a9f(0x3db)](_0x10af13,_0x11bc01))),_0x1225b1=[_0x243a9f(0x182),'chartAndAxisTitles'];return _0x48427d&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x353)),!_0x48427d&&!_0x3cd726&&!_0x11e2bf&&!_0x800d04&&!_0x17866e&&!_0x5c0f91&&!_0x5e393c&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x329)),_0x59451&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x344)),_0x257af5&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x457)),_0x5c0f91&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x2fa)),_0x3cd726&&_0x1225b1['push'](_0x243a9f(0x213)),_0x38e255&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x253)),_0x17866e&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x214)),_0x11e2bf&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x216)),!_0x48427d&&!_0x800d04&&_0x1225b1['push'](_0x243a9f(0x23c)),!_0x48427d&&!_0x3cd726&&!_0x257af5&&!_0x38e255&&!_0x11e2bf&&!_0x800d04&&!_0x17866e&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x341),'verticalAxis',_0x243a9f(0x187)),!_0x48427d&&!_0x3cd726&&!_0x38e255&&!_0x11e2bf&&!_0x800d04&&_0x1225b1[_0x243a9f(0x3c4)](_0x243a9f(0x18d)),_0x1225b1;}function xe(_0x36b3f6){const _0x2164f0=_0x2d90a8;return!!(_0x36b3f6&&[s[_0x2164f0(0x42e)][_0x2164f0(0x251)],s[_0x2164f0(0x42e)][_0x2164f0(0x17d)],s[_0x2164f0(0x42e)][_0x2164f0(0x218)],s[_0x2164f0(0x42e)][_0x2164f0(0x2db)],s[_0x2164f0(0x42e)][_0x2164f0(0x290)],s[_0x2164f0(0x42e)][_0x2164f0(0x33f)]][_0x2164f0(0x208)](_0x317501=>s[_0x2164f0(0x222)][_0x2164f0(0x3db)](_0x36b3f6,_0x317501)));}function Se(_0x18db57){const _0x4ce6a8=_0x2d90a8;return _0x18db57?s[_0x4ce6a8(0x222)]['has'](_0x18db57,s[_0x4ce6a8(0x2e0)][_0x4ce6a8(0x17f)])?s[_0x4ce6a8(0x282)][_0x4ce6a8(0x294)]:s[_0x4ce6a8(0x222)][_0x4ce6a8(0x24c)](_0x18db57,s[_0x4ce6a8(0x2e0)]['Stack'])?s[_0x4ce6a8(0x282)][_0x4ce6a8(0x436)]:'':'';}function Ce(_0x51544d,_0xef637f){const _0x4afc77=_0x2d90a8;let _0x454287=s[_0x4afc77(0x222)][_0x4afc77(0x36d)](_0x51544d,s[_0x4afc77(0x2e0)]['PercentStack']|s['ChartAttributeBits']['Stack']);return _0xef637f===s[_0x4afc77(0x282)]['Stacked']?_0x454287|s[_0x4afc77(0x2e0)][_0x4afc77(0x2b4)]:_0xef637f===s[_0x4afc77(0x282)]['Percent']?_0x454287|s[_0x4afc77(0x2e0)]['PercentStack']:_0x454287;}function D(_0x65fc89,_0x508557){const _0x128e33=_0x2d90a8;return(_0x65fc89==null?'':String(_0x65fc89)[_0x128e33(0x34b)]())||_0x508557;}function we(_0x1ca5e2,_0x5362b2){const _0x495279=_0x2d90a8;var _0xc5b57d;let _0x6192e4=(_0xc5b57d=_0x5362b2[_0x495279(0x3ab)])==null?_0x495279(0x391):_0xc5b57d,_0x1a08ed=_0x1ca5e2[_0x495279(0x1f4)],_0x3f2c16=Math[_0x495279(0x275)](0x0,..._0x1ca5e2[_0x495279(0x22b)](_0x2e0845=>_0x2e0845[_0x495279(0x1f4)]));return _0x6192e4===_0x495279(0x2c4)?Array[_0x495279(0x34f)]({'length':_0x1a08ed},(_0x24e6c4,_0x4c1578)=>{const _0x18d365=_0x495279;var _0xc8f84b;return{'label':D(_0x5362b2[_0x18d365(0x415)]===!0x1||(_0xc8f84b=_0x1ca5e2[_0x4c1578])==null?void 0x0:_0xc8f84b[0x0],_0x18d365(0x1cb)+(_0x4c1578+0x1)),'value':String(_0x4c1578)};}):Array[_0x495279(0x34f)]({'length':_0x3f2c16},(_0x4fe1ad,_0x14e5e1)=>{const _0x28f0b1=_0x495279;var _0x289b37;return{'label':D(_0x5362b2[_0x28f0b1(0x210)]===!0x1||(_0x289b37=_0x1ca5e2[0x0])==null?void 0x0:_0x289b37[_0x14e5e1],_0x28f0b1(0x236)+(_0x14e5e1+0x1)),'value':String(_0x14e5e1)};});}function Te(_0x5edd47,_0x13d8fb){const _0x466cb3=_0x2d90a8;let _0x3321b7=_0x5edd47==null?s[_0x466cb3(0x31e)]['labelContentType']:_0x5edd47;return(_0x3321b7&_0x13d8fb)===_0x13d8fb?_0x3321b7&~_0x13d8fb:_0x3321b7|_0x13d8fb;}function Ee(_0x498a70){const _0x58a067=_0x2d90a8;var _0x40da01,_0x268f6a,_0x59e3e1,_0x3f8c96,_0x59f7ea,_0x1a99e6,_0x359b00,_0x389551,_0x1ab110,_0x5921ec,_0x6dbb22,_0x288fba,_0x4c2c09,_0x763deb,_0x425b83,_0x4df22f,_0x75a59c,_0x3d7f5c,_0x143f1a,_0x5a86dd,_0x4fc7be,_0x2fe7a4,_0x439a6d,_0xdfd9c1,_0x2b4021,_0x2f2c9a,_0x578b69,_0x459ba2,_0x12a432,_0xaee954,_0x1bb0cf,_0x493fdf,_0x5253a1,_0x587563,_0x13acf0,_0x49e8cd,_0x3fb74d,_0x2c55c1,_0x51f461,_0x56a870,_0x3bb131,_0x53a6f7,_0x27db65,_0x2e21b9,_0x5b5472,_0x386843,_0x23844e,_0x196c02,_0x45882f,_0x50d41f,_0x1e6580,_0x11543c,_0x4090b0,_0x367951,_0x49606a,_0x4f2527,_0x3faff5,_0x4ee7da,_0xcb6489,_0x2564d2,_0x5e324f,_0x5e4f11,_0x528426,_0x7fc0d8,_0xa00064,_0xf3498c,_0x511ffd,_0x5cbf50,_0x374040,_0x5d9b0c,_0x449750,_0x3e89f1,_0x186dc2,_0x278fe2,_0xd65917,_0x43c050,_0x375f78,_0x43056d,_0x2eefb7,_0x7f10fc,_0x5488a0,_0x124d38,_0x93efa6,_0xf36795,_0x2a7a42,_0x45db35,_0x1a33d7,_0x92009b,_0x1a341f,_0x2ddc11,_0x29989b,_0x281339,_0x362d2c,_0x575c1e,_0x3a5b38,_0x2db147,_0x4f248e,_0x113eef,_0x2e457e,_0xa2cb6b,_0x54c2ea,_0x1feda2,_0x1fd7a3,_0x1ffcf2,_0x11781e,_0x46cc0f,_0x1d8c26,_0x126497,_0x46e92a,_0x1d19d5,_0x22242b,_0x40da19,_0x2d9c37,_0x161d5e,_0x3185d0,_0x48b267,_0x326497,_0x377510,_0xd1bcf2,_0x4ad188,_0x315e1f,_0x1088d0,_0x15b607,_0x1e569f,_0x24c105,_0x57c8d4,_0x1de79f,_0x327965,_0x198ae3,_0x5b7295,_0x4d71a1,_0x4f8733,_0x5c12dc,_0x2a22d5,_0x55c4c0,_0xd874d6,_0xba7c7e,_0x496137,_0x22ce31;let _0x13b75d=(0x0,n[_0x58a067(0x1da)])(e[_0x58a067(0x36c)]),_0x49ce09=(0x0,n['useDependency'])(s['ChartThemeService']),[_0x2a6d19,_0x3f872f]=(0x0,r[_0x58a067(0x2b8)])(0x0),_0x536e15=(0x0,r[_0x58a067(0x24d)])(()=>(0x0,i['buildChartTypeSelectOptions'])(ne['map'](_0x7dad3e=>({..._0x7dad3e,'label':_0x13b75d['t'](_0x7dad3e[_0x58a067(0x234)])}))),[_0x13b75d]),_0x119511=(0x0,r[_0x58a067(0x24d)])(()=>(0x0,i['buildChartThemeSelectOptions'])(_0x49ce09[_0x58a067(0x3dc)](),_0x3ce87c=>_0x49ce09[_0x58a067(0x3ea)](_0x3ce87c)),[_0x49ce09]),_0xebb7cc=(_0x40da01=(_0x268f6a=_0x498a70[_0x58a067(0x263)])==null?void 0x0:_0x268f6a[_0x58a067(0x1e8)])==null?s['defaultChartConfig'][_0x58a067(0x1e8)]:_0x40da01,_0x262a54=(_0x59e3e1=(_0x3f8c96=_0x498a70[_0x58a067(0x263)])==null?void 0x0:_0x3f8c96[_0x58a067(0x482)])==null?_0x58a067(0x248):_0x59e3e1,_0x37e4b2=be(_0x498a70['chartType']),_0x291d5e=(_0x59f7ea=_0x498a70[_0x58a067(0x441)])==null?{}:_0x59f7ea,_0x316874=(_0x1a99e6=_0x291d5e[_0x58a067(0x18c)])==null?{}:_0x1a99e6,_0x4a6e53=xe(_0x498a70['chartType']),_0x18459c=(_0x359b00=_0x498a70[_0x58a067(0x263)])==null?void 0x0:_0x359b00[_0x58a067(0x2ff)],_0x1f9ab2=typeof(_0x18459c==null?void 0x0:_0x18459c['color'])==_0x58a067(0x286)?_0x18459c[_0x58a067(0x308)]:void 0x0,_0x4bd519=(0x0,r[_0x58a067(0x24d)])(()=>we(_0x498a70[_0x58a067(0x223)],_0x291d5e),[_0x291d5e,_0x498a70[_0x58a067(0x223)]]),_0x332176=(_0x389551=_0x316874[_0x58a067(0x48c)])==null?0x0:_0x389551,_0x1defc5=(_0x1ab110=_0x316874['seriesIndexes'])==null?_0x4bd519[_0x58a067(0x22b)](_0xb66574=>Number(_0xb66574[_0x58a067(0x352)]))['filter'](_0x14b04d=>_0x14b04d!==_0x332176):_0x1ab110,_0x5ddcd3=_0x4bd519[_0x58a067(0x28d)](_0x53a2a8=>Number(_0x53a2a8['value'])!==_0x332176),_0x1e7926=(_0x2a77d1,_0x65544f)=>{const _0x575aac=_0x58a067;let _0x1d47f9=_0x1defc5[_0x575aac(0x289)]();_0x1d47f9[_0x2a77d1]=Number(_0x65544f),_0x498a70['onContextChange']({'chartContext':{'seriesIndexes':_0x1d47f9}});},_0xc0fec7=_0x8661f4=>{const _0x2ea0ff=_0x58a067;_0x498a70['onContextChange']({'chartContext':{'seriesIndexes':_0x1defc5[_0x2ea0ff(0x28d)]((_0x10485e,_0x394495)=>_0x394495!==_0x8661f4)}});},_0x2b64b4=new Map([[_0x58a067(0x182),{'label':_0x13b75d['t'](_0x58a067(0x20f)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x2bf),'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x24a),'value':(_0x5921ec=(_0x6dbb22=_0x498a70[_0x58a067(0x263)])==null?void 0x0:_0x6dbb22[_0x58a067(0x1dd)])==null?(_0x288fba=_0x119511[0x0])==null?void 0x0:_0x288fba[_0x58a067(0x352)]:_0x5921ec,'options':_0x119511,'onChange':_0x578b37=>_0x498a70['onStyleChange']({'theme':_0x578b37})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3f7)],{'label':_0x13b75d['t'](_0x58a067(0x2ac)),'value':_0xebb7cc,'onChange':_0x3baf40=>_0x498a70[_0x58a067(0x25f)]({'backgroundColor':_0x3baf40==null?void 0x0:_0x3baf40})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3f7)],{'label':_0x13b75d['t']('docs-chart-ui.border'),'value':_0x262a54,'onChange':_0xaa636c=>_0x498a70[_0x58a067(0x25f)]({'borderColor':_0xaa636c==null?void 0x0:_0xaa636c})}),(0x0,o[_0x58a067(0x33b)])(i['ChartCheckboxField'],{'checked':(_0x4c2c09=(_0x763deb=_0x498a70['style'])==null?void 0x0:_0x763deb[_0x58a067(0x3f1)])==null?!0x1:_0x4c2c09,'label':_0x58a067(0x267),'onChange':_0x41aa32=>_0x498a70['onStyleChange']({'gradientFill':_0x41aa32})})]})}],[_0x58a067(0x495),{'label':_0x13b75d['t'](_0x58a067(0x489)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o[_0x58a067(0x33b)])(i['ChartSelectField'],{'label':_0x58a067(0x49f),'value':(_0x425b83=(_0x4df22f=_0x498a70[_0x58a067(0x263)])==null||(_0x4df22f=_0x4df22f[_0x58a067(0x18f)])==null?void 0x0:_0x4df22f[_0x58a067(0x372)])==null?s['TitlePositionEnum'][_0x58a067(0x3c9)]:_0x425b83,'options':ie,'onChange':_0x245714=>_0x498a70[_0x58a067(0x25f)]({'titles':{'titlePosition':_0x245714}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartTextField'],{'label':_0x13b75d['t'](_0x58a067(0x472)),'value':(_0x75a59c=(_0x3d7f5c=_0x498a70['style'])==null||(_0x3d7f5c=_0x3d7f5c[_0x58a067(0x18f)])==null||(_0x3d7f5c=_0x3d7f5c[_0x58a067(0x307)])==null?void 0x0:_0x3d7f5c[_0x58a067(0x389)])==null?'':_0x75a59c,'onChange':_0xf64019=>_0x498a70['onStyleChange']({'titles':{'title':{'content':_0xf64019}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x301)],{'label':_0x13b75d['t'](_0x58a067(0x373)),'value':(_0x143f1a=(_0x5a86dd=_0x498a70[_0x58a067(0x263)])==null||(_0x5a86dd=_0x5a86dd[_0x58a067(0x18f)])==null||(_0x5a86dd=_0x5a86dd[_0x58a067(0x1ab)])==null?void 0x0:_0x5a86dd[_0x58a067(0x389)])==null?'':_0x143f1a,'onChange':_0x29c8c9=>_0x498a70['onStyleChange']({'titles':{'subtitle':{'content':_0x29c8c9}}})}),(0x0,o['jsx'])(i[_0x58a067(0x301)],{'label':_0x13b75d['t']('docs-chart-ui.horizontalAxisTitle'),'value':(_0x4fc7be=(_0x2fe7a4=_0x498a70[_0x58a067(0x263)])==null||(_0x2fe7a4=_0x2fe7a4['titles'])==null||(_0x2fe7a4=_0x2fe7a4[_0x58a067(0x259)])==null?void 0x0:_0x2fe7a4[_0x58a067(0x389)])==null?'':_0x4fc7be,'onChange':_0x303025=>_0x498a70[_0x58a067(0x25f)]({'titles':{'xAxisTitle':{'content':_0x303025}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x301)],{'label':_0x13b75d['t']('docs-chart-ui.verticalAxisTitle'),'value':(_0x439a6d=(_0xdfd9c1=_0x498a70[_0x58a067(0x263)])==null||(_0xdfd9c1=_0xdfd9c1[_0x58a067(0x18f)])==null||(_0xdfd9c1=_0xdfd9c1['yAxisTitle'])==null?void 0x0:_0xdfd9c1['content'])==null?'':_0x439a6d,'onChange':_0x4b1950=>_0x498a70['onStyleChange']({'titles':{'yAxisTitle':{'content':_0x4b1950}}})}),(0x0,o['jsx'])(i[_0x58a067(0x301)],{'label':_0x58a067(0x199),'value':(_0x2b4021=(_0x2f2c9a=_0x498a70[_0x58a067(0x263)])==null||(_0x2f2c9a=_0x2f2c9a[_0x58a067(0x18f)])==null||(_0x2f2c9a=_0x2f2c9a[_0x58a067(0x193)])==null?void 0x0:_0x2f2c9a[_0x58a067(0x389)])==null?'':_0x2b4021,'onChange':_0x3bae2d=>_0x498a70[_0x58a067(0x25f)]({'titles':{'rightYAxisTitle':{'content':_0x3bae2d}}})}),(0x0,o['jsxs'])(i[_0x58a067(0x3a8)],{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x4a1),'min':0x8,'value':(_0x578b69=(_0x459ba2=_0x498a70[_0x58a067(0x263)])==null||(_0x459ba2=_0x459ba2[_0x58a067(0x18f)])==null||(_0x459ba2=_0x459ba2[_0x58a067(0x307)])==null?void 0x0:_0x459ba2[_0x58a067(0x3e1)])==null?s[_0x58a067(0x31e)]['titleFontSize']:_0x578b69,'onChange':_0x556b17=>_0x498a70[_0x58a067(0x25f)]({'titles':{'title':{'fontSize':_0x556b17}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x1a5),'min':0x8,'value':(_0x12a432=(_0xaee954=_0x498a70[_0x58a067(0x263)])==null||(_0xaee954=_0xaee954[_0x58a067(0x18f)])==null||(_0xaee954=_0xaee954[_0x58a067(0x259)])==null?void 0x0:_0xaee954[_0x58a067(0x3e1)])==null?s[_0x58a067(0x31e)][_0x58a067(0x1b7)][_0x58a067(0x3e1)]:_0x12a432,'onChange':_0x4e0a34=>_0x498a70[_0x58a067(0x25f)]({'titles':{'xAxisTitle':{'fontSize':_0x4e0a34},'yAxisTitle':{'fontSize':_0x4e0a34},'rightYAxisTitle':{'fontSize':_0x4e0a34}}})})]})]})}],[_0x58a067(0x329),{'label':_0x13b75d['t'](_0x58a067(0x469)),'children':(0x0,o[_0x58a067(0x2ab)])('div',{'className':_0x58a067(0x37b),'children':[(0x0,o[_0x58a067(0x33b)])(i['ChartEditBlockTitle'],{'title':_0x58a067(0x44c)}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3f7)],{'label':_0x58a067(0x1d2),'value':_0x1f9ab2,'onChange':_0x4b7ae3=>_0x498a70[_0x58a067(0x25f)]({'allSeriesStyle':{'color':_0x4b7ae3==null?void 0x0:_0x4b7ae3}})}),(0x0,o[_0x58a067(0x2ab)])(i[_0x58a067(0x3a8)],{'children':[(0x0,o['jsx'])(i[_0x58a067(0x442)],{'label':_0x58a067(0x252),'value':String((_0x1bb0cf=_0x18459c==null?void 0x0:_0x18459c[_0x58a067(0x3c5)])==null?0x1:_0x1bb0cf),'options':ue,'onChange':_0x2e3bf1=>_0x498a70[_0x58a067(0x25f)]({'allSeriesStyle':{'fillOpacity':Number(_0x2e3bf1)}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x1bf),'value':String((_0x493fdf=(_0x5253a1=_0x498a70[_0x58a067(0x263)])==null||(_0x5253a1=_0x5253a1[_0x58a067(0x2ff)])==null||(_0x5253a1=_0x5253a1[_0x58a067(0x2ca)])==null?void 0x0:_0x5253a1['width'])==null?s['defaultChartConfig']['borderStyle'][_0x58a067(0x440)]:_0x493fdf),'options':de,'onChange':_0x1533e3=>_0x498a70[_0x58a067(0x25f)]({'allSeriesStyle':{'border':{'width':Number(_0x1533e3)}}})})]}),(0x0,o[_0x58a067(0x2ab)])(i[_0x58a067(0x3a8)],{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x3cd),'value':(_0x587563=(_0x13acf0=_0x498a70[_0x58a067(0x263)])==null||(_0x13acf0=_0x13acf0[_0x58a067(0x2ff)])==null||(_0x13acf0=_0x13acf0[_0x58a067(0x2ca)])==null?void 0x0:_0x13acf0[_0x58a067(0x1ac)])==null?s['defaultChartConfig'][_0x58a067(0x227)][_0x58a067(0x1ac)]:_0x587563,'options':le,'onChange':_0x20fdac=>_0x498a70['onStyleChange']({'allSeriesStyle':{'border':{'dashType':_0x20fdac}}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartSelectField'],{'label':_0x58a067(0x39f),'value':(_0x49e8cd=(_0x3fb74d=_0x498a70[_0x58a067(0x263)])==null||(_0x3fb74d=_0x3fb74d['allSeriesStyle'])==null||(_0x3fb74d=_0x3fb74d[_0x58a067(0x426)])==null?void 0x0:_0x3fb74d[_0x58a067(0x3e2)])==null?s['defaultChartConfig'][_0x58a067(0x426)][_0x58a067(0x3e2)]:_0x49e8cd,'options':fe,'onChange':_0x586af9=>_0x498a70[_0x58a067(0x25f)]({'allSeriesStyle':{'point':{'shape':_0x586af9}}})})]}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x265),'value':String((_0x2c55c1=(_0x51f461=_0x498a70[_0x58a067(0x263)])==null||(_0x51f461=_0x51f461['allSeriesStyle'])==null||(_0x51f461=_0x51f461[_0x58a067(0x426)])==null?void 0x0:_0x51f461[_0x58a067(0x34a)])==null?s[_0x58a067(0x31e)]['point'][_0x58a067(0x34a)]:_0x2c55c1),'options':pe,'onChange':_0x4f80fb=>_0x498a70[_0x58a067(0x25f)]({'allSeriesStyle':{'point':{'size':Number(_0x4f80fb)}}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartCheckboxField'],{'checked':(_0x56a870=(_0x3bb131=_0x498a70[_0x58a067(0x263)])==null||(_0x3bb131=_0x3bb131['allSeriesStyle'])==null||(_0x3bb131=_0x3bb131[_0x58a067(0x234)])==null?void 0x0:_0x3bb131['visible'])==null?!0x1:_0x56a870,'label':_0x13b75d['t'](_0x58a067(0x444)),'onChange':_0x2987c5=>_0x498a70[_0x58a067(0x25f)]({'allSeriesStyle':{'label':{'visible':_0x2987c5}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x242),'value':(_0x53a6f7=(_0x27db65=_0x498a70[_0x58a067(0x263)])==null||(_0x27db65=_0x27db65[_0x58a067(0x2ff)])==null||(_0x27db65=_0x27db65[_0x58a067(0x234)])==null?void 0x0:_0x27db65[_0x58a067(0x260)])==null?s['SeriesLabelPosition'][_0x58a067(0x2f8)]:_0x53a6f7,'options':ae,'onChange':_0x1b7ad7=>_0x498a70['onStyleChange']({'allSeriesStyle':{'label':{'position':_0x1b7ad7}}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartNumberField'],{'label':_0x58a067(0x322),'min':0x8,'value':(_0x2e21b9=(_0x5b5472=_0x498a70[_0x58a067(0x263)])==null||(_0x5b5472=_0x5b5472[_0x58a067(0x2ff)])==null||(_0x5b5472=_0x5b5472[_0x58a067(0x234)])==null?void 0x0:_0x5b5472[_0x58a067(0x3e1)])==null?s[_0x58a067(0x31e)][_0x58a067(0x1b7)][_0x58a067(0x3e1)]:_0x2e21b9,'onChange':_0x391ba2=>_0x498a70['onStyleChange']({'allSeriesStyle':{'label':{'fontSize':_0x391ba2}}})})]})}],[_0x58a067(0x344),{'label':_0x58a067(0x2a0),'children':(0x0,o['jsx'])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x41d),'value':(_0x386843=(_0x23844e=_0x498a70[_0x58a067(0x263)])==null||(_0x23844e=_0x23844e[_0x58a067(0x1bc)])==null?void 0x0:_0x23844e[_0x58a067(0x25d)])==null?s['AreaLineStyle']['Line']:_0x386843,'options':[{'label':_0x58a067(0x40a),'value':s[_0x58a067(0x449)][_0x58a067(0x40a)]},{'label':_0x58a067(0x48b),'value':s[_0x58a067(0x449)][_0x58a067(0x48b)]},{'label':_0x58a067(0x2f9),'value':s[_0x58a067(0x449)]['Step']}],'onChange':_0x50f67c=>_0x498a70[_0x58a067(0x25f)]({'area':{'lineStyle':_0x50f67c}})})})}],[_0x58a067(0x213),{'label':_0x13b75d['t'](_0x58a067(0x278)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o['jsx'])(i['ChartSelectField'],{'label':_0x58a067(0x2c0),'value':String((_0x196c02=(_0x45882f=_0x498a70[_0x58a067(0x263)])==null||(_0x45882f=_0x45882f['pie'])==null?void 0x0:_0x45882f['doughnutHole'])==null?0x0:_0x196c02),'options':[0x0,0.25,0.5,0.75][_0x58a067(0x22b)](_0x166619=>({'label':_0x166619*0x64+'%','value':String(_0x166619)})),'onChange':_0x27e914=>_0x498a70[_0x58a067(0x25f)]({'pie':{'doughnutHole':Number(_0x27e914)}})}),(0x0,o['jsx'])(i[_0x58a067(0x2e8)],{'checked':(_0x50d41f=(_0x1e6580=_0x498a70[_0x58a067(0x263)])==null||(_0x1e6580=_0x1e6580[_0x58a067(0x213)])==null||(_0x1e6580=_0x1e6580[_0x58a067(0x337)])==null?void 0x0:_0x1e6580['visible'])==null?!0x0:_0x50d41f,'label':_0x13b75d['t']('docs-chart-ui.showDataLabels'),'onChange':_0x277cc1=>_0x498a70[_0x58a067(0x25f)]({'pie':{'labelStyle':{'visible':_0x277cc1}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x242),'value':(_0x11543c=(_0x4090b0=_0x498a70[_0x58a067(0x263)])==null||(_0x4090b0=_0x4090b0['pie'])==null||(_0x4090b0=_0x4090b0[_0x58a067(0x337)])==null?void 0x0:_0x4090b0[_0x58a067(0x260)])==null?s[_0x58a067(0x44b)][_0x58a067(0x333)]:_0x11543c,'options':oe,'onChange':_0x2eb7a4=>_0x498a70['onStyleChange']({'pie':{'labelStyle':{'position':_0x2eb7a4}}})}),(0x0,o[_0x58a067(0x33b)])(_0x58a067(0x1b4),{'className':_0x58a067(0x19a),'children':me['filter'](_0x2bb2d3=>_0x2bb2d3[_0x58a067(0x352)]!==s[_0x58a067(0x1e7)]['SeriesName'])['map'](_0x3aa171=>{const _0x421d4c=_0x58a067;var _0x4d97d1,_0xd63c2b;let _0x370e43=(_0x4d97d1=(_0xd63c2b=_0x498a70['style'])==null||(_0xd63c2b=_0xd63c2b[_0x421d4c(0x213)])==null||(_0xd63c2b=_0xd63c2b[_0x421d4c(0x337)])==null?void 0x0:_0xd63c2b[_0x421d4c(0x3c6)])==null?s['defaultChartConfig'][_0x421d4c(0x213)]['labelContentType']:_0x4d97d1;return(0x0,o[_0x421d4c(0x33b)])(t['Checkbox'],{'checked':(_0x370e43&_0x3aa171[_0x421d4c(0x352)])===_0x3aa171[_0x421d4c(0x352)],'onChange':()=>_0x498a70['onStyleChange']({'pie':{'labelStyle':{'contentType':Te(_0x370e43,_0x3aa171[_0x421d4c(0x352)])}}}),'children':_0x3aa171[_0x421d4c(0x234)]},_0x3aa171[_0x421d4c(0x352)]);})}),(0x0,o[_0x58a067(0x33b)])(i['ChartCheckboxField'],{'checked':(_0x367951=(_0x49606a=_0x498a70[_0x58a067(0x263)])==null||(_0x49606a=_0x49606a[_0x58a067(0x213)])==null?void 0x0:_0x49606a[_0x58a067(0x41f)])==null?!0x0:_0x367951,'label':'Show\x20label\x20line','onChange':_0x41edce=>_0x498a70[_0x58a067(0x25f)]({'pie':{'showLabelLine':_0x41edce}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartCheckboxField'],{'checked':(_0x4f2527=(_0x3faff5=_0x498a70['style'])==null||(_0x3faff5=_0x3faff5[_0x58a067(0x213)])==null?void 0x0:_0x3faff5[_0x58a067(0x305)])==null?!0x1:_0x4f2527,'label':'Rose\x20pie','onChange':_0x5c7af7=>_0x498a70['onStyleChange']({'pie':{'rosePie':_0x5c7af7}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x4ee7da=(_0xcb6489=_0x498a70['style'])==null||(_0xcb6489=_0xcb6489[_0x58a067(0x213)])==null?void 0x0:_0xcb6489[_0x58a067(0x490)])==null?!0x1:_0x4ee7da,'label':_0x58a067(0x39b),'onChange':_0x48622a=>_0x498a70[_0x58a067(0x25f)]({'pie':{'isHalfPie':_0x48622a}})})]})}],[_0x58a067(0x253),{'label':_0x13b75d['t']('docs-chart-ui.chartTypes.funnel'),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o['jsx'])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x405),'value':(_0x2564d2=(_0x5e324f=_0x498a70['style'])==null||(_0x5e324f=_0x5e324f[_0x58a067(0x253)])==null?void 0x0:_0x5e324f[_0x58a067(0x1b3)])==null?s[_0x58a067(0x31e)][_0x58a067(0x253)][_0x58a067(0x1b3)]:_0x2564d2,'min':0x0,'onChange':_0x51c06a=>_0x498a70[_0x58a067(0x25f)]({'funnel':{'gap':_0x51c06a}})}),(0x0,o['jsx'])(i['ChartCheckboxField'],{'checked':(_0x5e4f11=(_0x528426=_0x498a70['style'])==null||(_0x528426=_0x528426['funnel'])==null?void 0x0:_0x528426[_0x58a067(0x23d)])==null?!0x1:_0x5e4f11,'label':_0x13b75d['t'](_0x58a067(0x420)),'onChange':_0x518511=>_0x498a70[_0x58a067(0x25f)]({'funnel':{'useAbsValue':_0x518511}})})]})}],[_0x58a067(0x353),{'label':_0x13b75d['t']('docs-chart-ui.chartTypes.wordCloud'),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o['jsx'])(i['ChartSelectField'],{'label':_0x58a067(0x296),'value':(_0x7fc0d8=(_0xa00064=_0x498a70[_0x58a067(0x263)])==null||(_0xa00064=_0xa00064[_0x58a067(0x353)])==null?void 0x0:_0xa00064['shape'])==null?s[_0x58a067(0x31e)][_0x58a067(0x353)][_0x58a067(0x3e2)]:_0x7fc0d8,'options':he,'onChange':_0x4cc7b3=>_0x498a70[_0x58a067(0x25f)]({'wordCloud':{'shape':_0x4cc7b3,'maskImage':_0x4cc7b3}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0xf3498c=(_0x511ffd=_0x498a70['style'])==null||(_0x511ffd=_0x511ffd[_0x58a067(0x353)])==null?void 0x0:_0x511ffd['repeat'])==null?s['defaultChartConfig'][_0x58a067(0x353)][_0x58a067(0x47e)]:_0xf3498c,'label':_0x58a067(0x1d6),'onChange':_0x15c37=>_0x498a70[_0x58a067(0x25f)]({'wordCloud':{'repeat':_0x15c37}})})]})}],['radar',{'label':_0x13b75d['t'](_0x58a067(0x1c6)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':'Shape','value':(_0x5cbf50=(_0x374040=_0x498a70[_0x58a067(0x263)])==null||(_0x374040=_0x374040[_0x58a067(0x457)])==null?void 0x0:_0x374040[_0x58a067(0x3e2)])==null?s['defaultChartConfig'][_0x58a067(0x457)][_0x58a067(0x3e2)]:_0x5cbf50,'options':ge,'onChange':_0x288356=>_0x498a70['onStyleChange']({'radar':{'shape':_0x288356}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x5d9b0c=(_0x449750=_0x498a70['style'])==null||(_0x449750=_0x449750['radar'])==null?void 0x0:_0x449750[_0x58a067(0x1d1)])==null?!0x1:_0x5d9b0c,'label':_0x58a067(0x2b5),'onChange':_0x29c7a3=>_0x498a70[_0x58a067(0x25f)]({'radar':{'fill':_0x29c7a3}})})]})}],[_0x58a067(0x2fa),{'label':_0x13b75d['t'](_0x58a067(0x33e)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':'Stack','value':(_0x3e89f1=(_0x186dc2=_0x498a70['style'])==null||(_0x186dc2=_0x186dc2['waterfall'])==null?void 0x0:_0x186dc2[_0x58a067(0x43c)])==null?s[_0x58a067(0x31e)][_0x58a067(0x2fa)][_0x58a067(0x43c)]:_0x3e89f1,'options':_e,'onChange':_0x1528b3=>_0x498a70[_0x58a067(0x25f)]({'waterfall':{'stackType':_0x1528b3}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x278fe2=(_0xd65917=_0x498a70[_0x58a067(0x263)])==null||(_0xd65917=_0xd65917[_0x58a067(0x2fa)])==null?void 0x0:_0xd65917[_0x58a067(0x43b)])==null?s[_0x58a067(0x31e)][_0x58a067(0x2fa)][_0x58a067(0x43b)]:_0x278fe2,'label':_0x58a067(0x21d),'onChange':_0x40ab61=>_0x498a70[_0x58a067(0x25f)]({'waterfall':{'useSubtotal':_0x40ab61}})})]})}],[_0x58a067(0x214),{'label':_0x13b75d['t']('docs-chart-ui.chartTypes.heatmap'),'children':(0x0,o['jsxs'])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o[_0x58a067(0x33b)])(i['ChartSelectField'],{'label':_0x58a067(0x46f),'value':(_0x43c050=(_0x375f78=_0x498a70[_0x58a067(0x263)])==null||(_0x375f78=_0x375f78[_0x58a067(0x214)])==null?void 0x0:_0x375f78[_0x58a067(0x31a)])==null?s[_0x58a067(0x31e)]['heatmap'][_0x58a067(0x31a)]:_0x43c050,'options':ve,'onChange':_0x4505fd=>_0x498a70[_0x58a067(0x25f)]({'heatmap':{'visualMapType':_0x4505fd}})}),(0x0,o['jsxs'])(i['ChartPropertyRow'],{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x39a),'value':(_0x43056d=_0x498a70[_0x58a067(0x263)])==null||(_0x43056d=_0x43056d[_0x58a067(0x214)])==null?void 0x0:_0x43056d[_0x58a067(0x332)],'onChange':_0x2d12b4=>_0x498a70['onStyleChange']({'heatmap':{'min':_0x2d12b4}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x172),'value':(_0x2eefb7=_0x498a70[_0x58a067(0x263)])==null||(_0x2eefb7=_0x2eefb7['heatmap'])==null?void 0x0:_0x2eefb7['max'],'onChange':_0x181678=>_0x498a70['onStyleChange']({'heatmap':{'max':_0x181678}})})]})]})}],['relation',{'label':_0x13b75d['t']('docs-chart-ui.chartTypes.relation'),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o['jsx'])(i[_0x58a067(0x442)],{'label':'Layout','value':(_0x7f10fc=(_0x5488a0=_0x498a70[_0x58a067(0x263)])==null||(_0x5488a0=_0x5488a0[_0x58a067(0x216)])==null?void 0x0:_0x5488a0['layout'])==null?s[_0x58a067(0x23a)][_0x58a067(0x26c)]:_0x7f10fc,'options':ye,'onChange':_0x29ac68=>_0x498a70['onStyleChange']({'relation':{'layout':_0x29ac68}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x19b),'value':(_0x124d38=(_0x93efa6=_0x498a70[_0x58a067(0x263)])==null||(_0x93efa6=_0x93efa6['relation'])==null?void 0x0:_0x93efa6['nodeShape'])==null?s['defaultChartConfig']['relation'][_0x58a067(0x446)]:_0x124d38,'options':fe,'onChange':_0x344e5e=>_0x498a70[_0x58a067(0x25f)]({'relation':{'nodeShape':_0x344e5e}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0xf36795=(_0x2a7a42=_0x498a70[_0x58a067(0x263)])==null||(_0x2a7a42=_0x2a7a42[_0x58a067(0x216)])==null?void 0x0:_0x2a7a42[_0x58a067(0x315)])==null?!0x1:_0xf36795,'label':_0x58a067(0x4a2),'onChange':_0x5612d1=>_0x498a70[_0x58a067(0x25f)]({'relation':{'useValueAsSymbolSize':_0x5612d1}})})]})}],[_0x58a067(0x23c),{'label':_0x13b75d['t']('docs-chart-ui.legend'),'children':(0x0,o['jsxs'])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o['jsx'])(i[_0x58a067(0x442)],{'label':_0x58a067(0x382),'value':(_0x45db35=(_0x1a33d7=_0x498a70[_0x58a067(0x263)])==null||(_0x1a33d7=_0x1a33d7[_0x58a067(0x23c)])==null?void 0x0:_0x1a33d7[_0x58a067(0x260)])==null?s[_0x58a067(0x3a7)][_0x58a067(0x433)]:_0x45db35,'options':re,'onChange':_0x15045e=>_0x498a70['onStyleChange']({'legend':{'position':_0x15045e}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x442)],{'label':_0x58a067(0x460),'value':(_0x92009b=(_0x1a341f=_0x498a70[_0x58a067(0x263)])==null||(_0x1a341f=_0x1a341f[_0x58a067(0x23c)])==null?void 0x0:_0x1a341f[_0x58a067(0x2d6)])==null?s['defaultChartConfig']['legend'][_0x58a067(0x2d6)]:_0x92009b,'options':ce,'onChange':_0x438bf2=>_0x498a70[_0x58a067(0x25f)]({'legend':{'selectMode':_0x438bf2}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x322),'min':0x8,'value':(_0x2ddc11=(_0x29989b=_0x498a70[_0x58a067(0x263)])==null||(_0x29989b=_0x29989b[_0x58a067(0x23c)])==null||(_0x29989b=_0x29989b[_0x58a067(0x234)])==null?void 0x0:_0x29989b[_0x58a067(0x3e1)])==null?s[_0x58a067(0x31e)]['textStyle'][_0x58a067(0x3e1)]:_0x2ddc11,'onChange':_0x4b7ee0=>_0x498a70[_0x58a067(0x25f)]({'legend':{'label':{'fontSize':_0x4b7ee0}}})})]})}],['horizontalAxis',{'label':_0x13b75d['t'](_0x58a067(0x192)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x37b),'children':[(0x0,o['jsx'])(i[_0x58a067(0x2e8)],{'checked':(_0x281339=(_0x362d2c=_0x498a70['style'])==null||(_0x362d2c=_0x362d2c['xAxis'])==null?void 0x0:_0x362d2c['lineVisible'])==null?!0x0:_0x281339,'label':_0x13b75d['t'](_0x58a067(0x3af)),'onChange':_0x3fa30e=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'lineVisible':_0x3fa30e}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x575c1e=(_0x3a5b38=_0x498a70['style'])==null||(_0x3a5b38=_0x3a5b38[_0x58a067(0x41a)])==null||(_0x3a5b38=_0x3a5b38['label'])==null?void 0x0:_0x3a5b38[_0x58a067(0x185)])==null?!0x0:_0x575c1e,'label':_0x13b75d['t'](_0x58a067(0x1eb)),'onChange':_0x53e048=>_0x498a70['onStyleChange']({'xAxis':{'label':{'visible':_0x53e048}}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartCheckboxField'],{'checked':(_0x2db147=(_0x4f248e=_0x498a70[_0x58a067(0x263)])==null||(_0x4f248e=_0x4f248e[_0x58a067(0x41a)])==null?void 0x0:_0x4f248e[_0x58a067(0x396)])==null?!0x1:_0x2db147,'label':_0x13b75d['t']('docs-chart-ui.reverseAxis'),'onChange':_0x4e4765=>_0x498a70['onStyleChange']({'xAxis':{'reverse':_0x4e4765}})}),(0x0,o[_0x58a067(0x2ab)])(i[_0x58a067(0x3a8)],{'children':[(0x0,o['jsx'])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x39a),'value':(_0x113eef=_0x498a70[_0x58a067(0x263)])==null||(_0x113eef=_0x113eef[_0x58a067(0x41a)])==null?void 0x0:_0x113eef[_0x58a067(0x332)],'onChange':_0x5dd010=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'min':_0x5dd010}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartNumberField'],{'label':_0x58a067(0x172),'value':(_0x2e457e=_0x498a70[_0x58a067(0x263)])==null||(_0x2e457e=_0x2e457e[_0x58a067(0x41a)])==null?void 0x0:_0x2e457e[_0x58a067(0x275)],'onChange':_0x3f2340=>_0x498a70['onStyleChange']({'xAxis':{'max':_0x3f2340}})})]}),(0x0,o[_0x58a067(0x33b)])(i['ChartTextField'],{'label':_0x58a067(0x22a),'value':(_0xa2cb6b=(_0x54c2ea=_0x498a70[_0x58a067(0x263)])==null||(_0x54c2ea=_0x54c2ea[_0x58a067(0x41a)])==null?void 0x0:_0x54c2ea['format'])==null?'':_0xa2cb6b,'placeholder':_0x58a067(0x397),'onChange':_0x38e439=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'format':_0x38e439}})}),(0x0,o[_0x58a067(0x2ab)])(i[_0x58a067(0x3a8)],{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x42d),'value':(_0x1feda2=(_0x1fd7a3=_0x498a70['style'])==null||(_0x1fd7a3=_0x1fd7a3[_0x58a067(0x41a)])==null||(_0x1fd7a3=_0x1fd7a3[_0x58a067(0x234)])==null?void 0x0:_0x1fd7a3[_0x58a067(0x399)])==null?0x0:_0x1feda2,'onChange':_0x12f310=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'label':{'rotate':_0x12f310}}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartNumberField'],{'label':_0x58a067(0x322),'min':0x8,'value':(_0x1ffcf2=(_0x11781e=_0x498a70[_0x58a067(0x263)])==null||(_0x11781e=_0x11781e[_0x58a067(0x41a)])==null||(_0x11781e=_0x11781e['label'])==null?void 0x0:_0x11781e[_0x58a067(0x3e1)])==null?s[_0x58a067(0x31e)][_0x58a067(0x1b7)][_0x58a067(0x3e1)]:_0x1ffcf2,'onChange':_0x147137=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'label':{'fontSize':_0x147137}}})})]}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x46cc0f=(_0x1d8c26=_0x498a70[_0x58a067(0x263)])==null||(_0x1d8c26=_0x1d8c26['xAxis'])==null||(_0x1d8c26=_0x1d8c26[_0x58a067(0x409)])==null?void 0x0:_0x1d8c26[_0x58a067(0x185)])==null?!0x1:_0x46cc0f,'label':_0x58a067(0x22c),'onChange':_0x416e2e=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'tick':{'visible':_0x416e2e}}})})]})}],['verticalAxis',{'label':_0x13b75d['t'](_0x58a067(0x3c1)),'children':(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-3','children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x126497=(_0x46e92a=_0x498a70[_0x58a067(0x263)])==null||(_0x46e92a=_0x46e92a[_0x58a067(0x2c6)])==null?void 0x0:_0x46e92a[_0x58a067(0x1a6)])==null?!0x0:_0x126497,'label':_0x13b75d['t']('docs-chart-ui.visible'),'onChange':_0x70998a=>_0x498a70['onStyleChange']({'yAxis':{'lineVisible':_0x70998a}})}),(0x0,o['jsx'])(i[_0x58a067(0x2e8)],{'checked':(_0x1d19d5=(_0x22242b=_0x498a70[_0x58a067(0x263)])==null||(_0x22242b=_0x22242b['yAxis'])==null||(_0x22242b=_0x22242b[_0x58a067(0x234)])==null?void 0x0:_0x22242b[_0x58a067(0x185)])==null?!0x0:_0x1d19d5,'label':_0x13b75d['t'](_0x58a067(0x1eb)),'onChange':_0x4211d8=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'label':{'visible':_0x4211d8}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x40da19=(_0x2d9c37=_0x498a70[_0x58a067(0x263)])==null||(_0x2d9c37=_0x2d9c37[_0x58a067(0x2c6)])==null?void 0x0:_0x2d9c37[_0x58a067(0x396)])==null?!0x1:_0x40da19,'label':_0x13b75d['t']('docs-chart-ui.reverseAxis'),'onChange':_0x5d72e8=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'reverse':_0x5d72e8}})}),(0x0,o[_0x58a067(0x2ab)])(i[_0x58a067(0x3a8)],{'children':[(0x0,o['jsx'])(i['ChartNumberField'],{'label':'Min','value':(_0x161d5e=_0x498a70[_0x58a067(0x263)])==null||(_0x161d5e=_0x161d5e[_0x58a067(0x2c6)])==null?void 0x0:_0x161d5e[_0x58a067(0x332)],'onChange':_0x125177=>_0x498a70['onStyleChange']({'yAxis':{'min':_0x125177}})}),(0x0,o['jsx'])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x172),'value':(_0x3185d0=_0x498a70[_0x58a067(0x263)])==null||(_0x3185d0=_0x3185d0[_0x58a067(0x2c6)])==null?void 0x0:_0x3185d0[_0x58a067(0x275)],'onChange':_0x354d98=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'max':_0x354d98}})})]}),(0x0,o['jsx'])(i['ChartTextField'],{'label':'Number/date\x20format','value':(_0x48b267=(_0x326497=_0x498a70[_0x58a067(0x263)])==null||(_0x326497=_0x326497['yAxis'])==null?void 0x0:_0x326497['format'])==null?'':_0x48b267,'placeholder':_0x58a067(0x397),'onChange':_0x27e3c3=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'format':_0x27e3c3}})}),(0x0,o[_0x58a067(0x2ab)])(i[_0x58a067(0x3a8)],{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x42d),'value':(_0x377510=(_0xd1bcf2=_0x498a70[_0x58a067(0x263)])==null||(_0xd1bcf2=_0xd1bcf2['yAxis'])==null||(_0xd1bcf2=_0xd1bcf2[_0x58a067(0x234)])==null?void 0x0:_0xd1bcf2[_0x58a067(0x399)])==null?0x0:_0x377510,'onChange':_0x54b0b9=>_0x498a70['onStyleChange']({'yAxis':{'label':{'rotate':_0x54b0b9}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x322),'min':0x8,'value':(_0x4ad188=(_0x315e1f=_0x498a70[_0x58a067(0x263)])==null||(_0x315e1f=_0x315e1f[_0x58a067(0x2c6)])==null||(_0x315e1f=_0x315e1f[_0x58a067(0x234)])==null?void 0x0:_0x315e1f[_0x58a067(0x3e1)])==null?s[_0x58a067(0x31e)][_0x58a067(0x1b7)]['fontSize']:_0x4ad188,'onChange':_0x3fe00b=>_0x498a70['onStyleChange']({'yAxis':{'label':{'fontSize':_0x3fe00b}}})})]}),(0x0,o[_0x58a067(0x33b)])(i['ChartCheckboxField'],{'checked':(_0x1088d0=(_0x15b607=_0x498a70[_0x58a067(0x263)])==null||(_0x15b607=_0x15b607[_0x58a067(0x2c6)])==null||(_0x15b607=_0x15b607[_0x58a067(0x409)])==null?void 0x0:_0x15b607[_0x58a067(0x185)])==null?!0x1:_0x1088d0,'label':'Show\x20ticks','onChange':_0x3b9b72=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'tick':{'visible':_0x3b9b72}}})})]})}],[_0x58a067(0x187),{'label':_0x13b75d['t'](_0x58a067(0x27c)),'children':(0x0,o[_0x58a067(0x2ab)])('div',{'className':_0x58a067(0x26d),'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x1e569f=(_0x24c105=_0x498a70['style'])==null||(_0x24c105=_0x24c105[_0x58a067(0x41a)])==null||(_0x24c105=_0x24c105['gridLine'])==null?void 0x0:_0x24c105[_0x58a067(0x185)])==null?!0x0:_0x1e569f,'label':_0x13b75d['t'](_0x58a067(0x192)),'onChange':_0x4e2c37=>_0x498a70[_0x58a067(0x25f)]({'xAxis':{'gridLine':{'visible':_0x4e2c37}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2e8)],{'checked':(_0x57c8d4=(_0x1de79f=_0x498a70['style'])==null||(_0x1de79f=_0x1de79f['yAxis'])==null||(_0x1de79f=_0x1de79f[_0x58a067(0x2dc)])==null?void 0x0:_0x1de79f[_0x58a067(0x185)])==null?!0x0:_0x57c8d4,'label':_0x13b75d['t'](_0x58a067(0x3c1)),'onChange':_0x282d3d=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'gridLine':{'visible':_0x282d3d}}})}),(0x0,o['jsxs'])(i[_0x58a067(0x3a8)],{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':_0x58a067(0x3e6),'min':0x0,'value':(_0x327965=(_0x198ae3=_0x498a70[_0x58a067(0x263)])==null||(_0x198ae3=_0x198ae3['xAxis'])==null||(_0x198ae3=_0x198ae3[_0x58a067(0x2dc)])==null?void 0x0:_0x198ae3['width'])==null?0x1:_0x327965,'onChange':_0x22d5e6=>_0x498a70['onStyleChange']({'xAxis':{'gridLine':{'width':_0x22d5e6}}})}),(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3b9)],{'label':'Vertical\x20width','min':0x0,'value':(_0x5b7295=(_0x4d71a1=_0x498a70[_0x58a067(0x263)])==null||(_0x4d71a1=_0x4d71a1[_0x58a067(0x2c6)])==null||(_0x4d71a1=_0x4d71a1[_0x58a067(0x2dc)])==null?void 0x0:_0x4d71a1[_0x58a067(0x440)])==null?0x1:_0x5b7295,'onChange':_0x1a9ce1=>_0x498a70[_0x58a067(0x25f)]({'yAxis':{'gridLine':{'width':_0x1a9ce1}}})})]})]})}],[_0x58a067(0x18d),{'label':_0x13b75d['t'](_0x58a067(0x355)),'children':(0x0,o[_0x58a067(0x2ab)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-pb-3','children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x3f7)],{'label':_0x58a067(0x1d2),'value':(_0x4f8733=_0x498a70[_0x58a067(0x263)])==null||(_0x4f8733=_0x4f8733[_0x58a067(0x361)])==null?void 0x0:_0x4f8733[_0x58a067(0x26f)],'onChange':_0x110a2b=>_0x498a70['onStyleChange']({'tooltip':{'indicatorLineColor':_0x110a2b==null?_0x58a067(0x189):_0x110a2b}})}),(0x0,o[_0x58a067(0x33b)])(i['ChartSelectField'],{'label':_0x58a067(0x1fe),'value':(_0x5c12dc=(_0x2a22d5=_0x498a70['style'])==null||(_0x2a22d5=_0x2a22d5['tooltip'])==null?void 0x0:_0x2a22d5['indicatorLineType'])==null?s[_0x58a067(0x31e)][_0x58a067(0x30f)]:_0x5c12dc,'options':le,'onChange':_0x27b366=>_0x498a70[_0x58a067(0x25f)]({'tooltip':{'indicatorLineType':_0x27b366}})})]})}]]),_0x2feb5d=_0x37e4b2[_0x58a067(0x22b)](_0x40fc34=>_0x2b64b4[_0x58a067(0x331)](_0x40fc34))[_0x58a067(0x28d)](_0x590747=>!!_0x590747);return(0x0,o['jsxs'])(_0x58a067(0x1b4),{'className':_0x58a067(0x339),'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x1a7)],{'className':_0x58a067(0x358),'value':_0x2a6d19,'items':[{'label':_0x13b75d['t'](_0x58a067(0x2ad)),'value':0x0},{'label':_0x13b75d['t'](_0x58a067(0x1c1)),'value':0x1},{'label':_0x13b75d['t'](_0x58a067(0x336)),'value':0x2}],'onChange':_0x3f872f}),(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x354),'children':[_0x2a6d19===0x0&&(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-px-1','children':[(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'children':[(0x0,o['jsx'])(i['ChartEditBlockTitle'],{'title':_0x13b75d['t'](_0x58a067(0x1b5))}),(0x0,o['jsx'])(t[_0x58a067(0x493)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x498a70[_0x58a067(0x1bb)]),'options':_0x536e15,'onChange':_0x39cecd=>_0x498a70[_0x58a067(0x206)](Number(_0x39cecd))})]}),(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'children':[(0x0,o['jsx'])(i[_0x58a067(0x2f2)],{'title':_0x58a067(0x20c)}),(0x0,o[_0x58a067(0x33b)])(t['Select'],{'className':_0x58a067(0x38e),'value':(_0x55c4c0=(_0xd874d6=_0x498a70['style'])==null?void 0x0:_0xd874d6[_0x58a067(0x1dd)])==null?(_0xba7c7e=_0x119511[0x0])==null?void 0x0:_0xba7c7e[_0x58a067(0x352)]:_0x55c4c0,'options':_0x119511,'onChange':_0x5975fb=>_0x498a70[_0x58a067(0x25f)]({'theme':_0x5975fb})})]}),(0x0,o['jsx'])(_0x58a067(0x1b4),{'className':_0x58a067(0x437),'children':(0x0,o['jsx'])(t[_0x58a067(0x46a)],{'checked':(_0x496137=(_0x22ce31=_0x498a70[_0x58a067(0x263)])==null?void 0x0:_0x22ce31[_0x58a067(0x3f1)])==null?!0x1:_0x496137,'onChange':_0x32c63e=>_0x498a70[_0x58a067(0x25f)]({'gradientFill':!!_0x32c63e}),'children':_0x58a067(0x267)})}),_0x4a6e53&&(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2f2)],{'title':'Stack'}),(0x0,o['jsx'])(t[_0x58a067(0x493)],{'className':_0x58a067(0x38e),'value':Se(_0x498a70[_0x58a067(0x1bb)]),'options':se,'onChange':_0x566b5e=>_0x498a70[_0x58a067(0x206)](Ce(_0x498a70[_0x58a067(0x1bb)],_0x566b5e))})]}),(0x0,o[_0x58a067(0x2ab)])('div',{'children':[(0x0,o[_0x58a067(0x33b)])(i['ChartEditBlockTitle'],{'title':_0x58a067(0x1ed)}),(0x0,o['jsx'])(t[_0x58a067(0x493)],{'className':_0x58a067(0x38e),'value':String(_0x332176),'options':_0x4bd519,'onChange':_0x16d2f3=>_0x498a70[_0x58a067(0x486)]({'chartContext':{'categoryIndex':Number(_0x16d2f3)}})})]}),(0x0,o['jsxs'])(_0x58a067(0x1b4),{'children':[(0x0,o[_0x58a067(0x33b)])(i[_0x58a067(0x2f2)],{'title':_0x13b75d['t'](_0x58a067(0x469))}),(0x0,o[_0x58a067(0x2ab)])('div',{'className':_0x58a067(0x1f2),'children':[_0x1defc5[_0x58a067(0x22b)]((_0x1c460d,_0x388c71)=>(0x0,o[_0x58a067(0x2ab)])(_0x58a067(0x1b4),{'className':_0x58a067(0x1af),'children':[(0x0,o['jsx'])(t[_0x58a067(0x493)],{'className':_0x58a067(0x38e),'value':String(_0x1c460d),'options':_0x5ddcd3,'onChange':_0x3d7669=>_0x1e7926(_0x388c71,_0x3d7669)}),(0x0,o['jsx'])(_0x58a067(0x1b4),{'className':_0x58a067(0x321),'onClick':()=>_0xc0fec7(_0x388c71),'children':(0x0,o[_0x58a067(0x33b)])(c['DeleteEmptyIcon'],{})})]},_0x1c460d+'-'+_0x388c71)),(0x0,o[_0x58a067(0x33b)])(t['DropdownMenu'],{'className':_0x58a067(0x1c8),'items':_0x5ddcd3['filter'](_0x394200=>!_0x1defc5[_0x58a067(0x237)](Number(_0x394200[_0x58a067(0x352)])))['map'](_0x5ebe16=>({'type':_0x58a067(0x454),'children':_0x5ebe16[_0x58a067(0x234)],'onSelect':()=>{const _0x2f57a5=_0x58a067;_0x498a70[_0x2f57a5(0x486)]({'chartContext':{'seriesIndexes':[..._0x1defc5,Number(_0x5ebe16[_0x2f57a5(0x352)])]}});}})),'children':(0x0,o[_0x58a067(0x2ab)])('a',{'className':_0x58a067(0x3d0),'children':[(0x0,o['jsx'])(c[_0x58a067(0x378)],{'className':_0x58a067(0x2a4)}),(0x0,o[_0x58a067(0x33b)])(_0x58a067(0x235),{'className':_0x58a067(0x494),'children':_0x58a067(0x3a1)})]})})]})]}),(0x0,o[_0x58a067(0x33b)])(_0x58a067(0x1b4),{'className':'univer-mt-2-base','children':(0x0,o[_0x58a067(0x33b)])(t[_0x58a067(0x359)],{'size':_0x58a067(0x351),'onClick':()=>{const _0x5ad597=_0x58a067;_0x498a70[_0x5ad597(0x486)]({'orient':_0x291d5e[_0x5ad597(0x3ab)]===_0x5ad597(0x391)?'column':'row'});},'children':_0x58a067(0x1fd)})})]}),_0x2a6d19===0x1&&(0x0,o[_0x58a067(0x33b)])(t['Accordion'],{'className':_0x58a067(0x429),'items':_0x2feb5d}),_0x2a6d19===0x2&&(0x0,o[_0x58a067(0x33b)])(_0x58a067(0x1b4),{'className':_0x58a067(0x273),'children':(0x0,o['jsx'])(b,{'values':_0x498a70[_0x58a067(0x223)],'onChange':_0x498a70[_0x58a067(0x2be)]})})]}),_0x498a70[_0x58a067(0x39c)]&&(0x0,o['jsx'])(_0x58a067(0x1b4),{'className':'univer-flex\x20univer-shrink-0\x20univer-justify-end','children':(0x0,o[_0x58a067(0x33b)])(t[_0x58a067(0x359)],{'type':_0x58a067(0x2ce),'variant':_0x58a067(0x44a),'onClick':_0x498a70[_0x58a067(0x39c)],'children':_0x13b75d['t'](_0x58a067(0x38d))})})]});}function O(_0xda7daa){'@babel/helpers - typeof';const _0x1bf44e=_0x2d90a8;return O=typeof Symbol==_0x1bf44e(0x1db)&&typeof Symbol['iterator']==_0x1bf44e(0x20a)?function(_0x2ace1c){return typeof _0x2ace1c;}:function(_0x10e720){const _0x3c1f75=_0x1bf44e;return _0x10e720&&typeof Symbol==_0x3c1f75(0x1db)&&_0x10e720[_0x3c1f75(0x35e)]===Symbol&&_0x10e720!==Symbol['prototype']?_0x3c1f75(0x20a):typeof _0x10e720;},O(_0xda7daa);}function De(_0x5427d3,_0x3e1c87){const _0x402a9c=_0x2d90a8;if(O(_0x5427d3)!=_0x402a9c(0x1cf)||!_0x5427d3)return _0x5427d3;var _0x3e46db=_0x5427d3[Symbol[_0x402a9c(0x1aa)]];if(_0x3e46db!==void 0x0){var _0xd310a9=_0x3e46db[_0x402a9c(0x27e)](_0x5427d3,_0x3e1c87||'default');if(O(_0xd310a9)!=_0x402a9c(0x1cf))return _0xd310a9;throw TypeError(_0x402a9c(0x304));}return(_0x3e1c87==='string'?String:Number)(_0x5427d3);}function Oe(_0xdbccee){const _0x1c1979=_0x2d90a8;var _0x373ab4=De(_0xdbccee,_0x1c1979(0x286));return O(_0x373ab4)==_0x1c1979(0x20a)?_0x373ab4:_0x373ab4+'';}function k(_0x41ac29,_0x2710a9,_0x2ffe06){const _0x5a4f42=_0x2d90a8;return(_0x2710a9=Oe(_0x2710a9))in _0x41ac29?Object[_0x5a4f42(0x21e)](_0x41ac29,_0x2710a9,{'value':_0x2ffe06,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x41ac29[_0x2710a9]=_0x2ffe06,_0x41ac29;}var A=class extends s[_0x2d90a8(0x47b)]{constructor(_0x1236d,_0x5b57f2){const _0x5f9b5e=_0x2d90a8;super(_0x1236d),this[_0x5f9b5e(0x45d)]=_0x5b57f2,k(this,_0x5f9b5e(0x2bc),void 0x0);}['getRect'](){const _0x5d76bb=_0x2d90a8;return{'width':Math[_0x5d76bb(0x275)](0x1,this[_0x5d76bb(0x45d)][_0x5d76bb(0x440)]),'height':Math[_0x5d76bb(0x275)](0x1,this[_0x5d76bb(0x45d)][_0x5d76bb(0x45b)])};}[_0x2d90a8(0x36a)](_0x27ee6b){}[_0x2d90a8(0x2f1)](){return 0x1;}[_0x2d90a8(0x49d)](_0x559e75,_0x5024f7){const _0x2ad73a=_0x2d90a8;return this[_0x2ad73a(0x2bc)]=(0x0,s['chartImageSourceToDataUrl'])(_0x559e75),!0x0;}['requestPaint'](){}['invalidateSnapshot'](){this['_dataUrl']=void 0x0;}[_0x2d90a8(0x328)](){const _0x5ca754=_0x2d90a8;return this[_0x5ca754(0x2bc)];}},ke=class extends e[_0x2d90a8(0x345)]{constructor(_0x379492,_0x8eb12c,_0x2594fe,_0x1c3d6b,_0x41bb50=!0x0){const _0x23cd8b=_0x2d90a8;super(),this[_0x23cd8b(0x3ad)]=_0x379492,this[_0x23cd8b(0x249)]=_0x8eb12c,this[_0x23cd8b(0x3fa)]=_0x2594fe,this[_0x23cd8b(0x225)]=_0x1c3d6b,this[_0x23cd8b(0x1e0)]=_0x41bb50,k(this,_0x23cd8b(0x1c2),s[_0x23cd8b(0x28c)]['Dom']),k(this,_0x23cd8b(0x340),null),k(this,_0x23cd8b(0x190),{});}['getRect'](){const _0x2326b3=_0x2d90a8;var _0x5552bb;let _0x22bebb=(_0x5552bb=this[_0x2326b3(0x225)])==null?void 0x0:_0x5552bb[_0x2326b3(0x27e)](this);if(_0x22bebb)return{'width':Math[_0x2326b3(0x275)](0x1,_0x22bebb[_0x2326b3(0x440)]),'height':Math[_0x2326b3(0x275)](0x1,_0x22bebb['height'])};let _0x381186=this[_0x2326b3(0x249)][_0x2326b3(0x3f8)]();return{'width':Math[_0x2326b3(0x275)](0x1,_0x381186[_0x2326b3(0x440)]),'height':Math[_0x2326b3(0x275)](0x1,_0x381186[_0x2326b3(0x45b)])};}['setStyle'](_0x480019){const _0x5ecfcd=_0x2d90a8;this[_0x5ecfcd(0x190)]=_0x480019,this[_0x5ecfcd(0x3fa)](this['_host'],_0x480019);}async[_0x2d90a8(0x2fd)](){const _0x7d1818=_0x2d90a8;if(!this[_0x7d1818(0x340)]){let _0x28e86e=document[_0x7d1818(0x2e3)]('div');_0x28e86e[_0x7d1818(0x263)][_0x7d1818(0x260)]='relative',_0x28e86e[_0x7d1818(0x263)][_0x7d1818(0x2ca)]='0',_0x28e86e[_0x7d1818(0x263)][_0x7d1818(0x3ae)]=_0x7d1818(0x498),_0x28e86e[_0x7d1818(0x263)][_0x7d1818(0x438)]='hidden',_0x28e86e[_0x7d1818(0x40d)]='doc-chart-host',this[_0x7d1818(0x340)]=_0x28e86e,this[_0x7d1818(0x249)][_0x7d1818(0x325)](_0x28e86e);}return this['syncLayout'](),this['_mountNode'];}[_0x2d90a8(0x406)](){const _0x2fd54a=_0x2d90a8;return!!(this[_0x2fd54a(0x340)]&&this[_0x2fd54a(0x249)][_0x2fd54a(0x45e)](this['_mountNode']));}[_0x2d90a8(0x346)](){const _0x296437=_0x2d90a8;let _0x4de304=this[_0x296437(0x362)]();this['_manageHostSize']&&this['_setElementSize'](this[_0x296437(0x249)],_0x4de304),this[_0x296437(0x340)]&&this[_0x296437(0x23e)](this[_0x296437(0x340)],this['_getContentRect'](_0x4de304));}[_0x2d90a8(0x179)](){}[_0x2d90a8(0x1f5)](){}[_0x2d90a8(0x244)](){const _0x4df69b=_0x2d90a8;var _0x1b9af9;(_0x1b9af9=this[_0x4df69b(0x340)])==null||_0x1b9af9[_0x4df69b(0x36d)](),this[_0x4df69b(0x340)]=null,super[_0x4df69b(0x244)]();}['_setElementSize'](_0x5e8d13,_0x5b04da){const _0x504321=_0x2d90a8;_0x5e8d13['style'][_0x504321(0x440)]=_0x5b04da[_0x504321(0x440)]+'px',_0x5e8d13[_0x504321(0x263)][_0x504321(0x45b)]=_0x5b04da[_0x504321(0x45b)]+'px';}[_0x2d90a8(0x2aa)](_0x132d56){const _0xd0f688=_0x2d90a8;if(!(0x0,s[_0xd0f688(0x32c)])(this[_0xd0f688(0x190)]))return _0x132d56;let _0x598daf=(0x0,s[_0xd0f688(0x2ec)])(_0x132d56,this[_0xd0f688(0x190)]);return{'width':_0x598daf[_0xd0f688(0x440)],'height':_0x598daf['height']};}};const j=(0x0,e['createIdentifier'])(_0x2d90a8(0x262));function Ae(_0x8b66f9){const _0x46b3f6=_0x2d90a8;var _0x28d4c7;let _0x852a75=(_0x28d4c7=_0x8b66f9[_0x46b3f6(0x456)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x28d4c7[0x1];if(_0x852a75){let _0x20f94f=_0x852a75[_0x46b3f6(0x1f4)]===0x3?_0x852a75[_0x46b3f6(0x45a)]('')[_0x46b3f6(0x22b)](_0x30726f=>''+_0x30726f+_0x30726f)[_0x46b3f6(0x285)](''):_0x852a75;return'rgb('+Number[_0x46b3f6(0x2de)](_0x20f94f[_0x46b3f6(0x289)](0x0,0x2),0x10)+',\x20'+Number[_0x46b3f6(0x2de)](_0x20f94f[_0x46b3f6(0x289)](0x2,0x4),0x10)+',\x20'+Number[_0x46b3f6(0x2de)](_0x20f94f[_0x46b3f6(0x289)](0x4,0x6),0x10)+')';}let _0x1399ff=document[_0x46b3f6(0x2e3)](_0x46b3f6(0x235));return _0x1399ff['style'][_0x46b3f6(0x308)]=_0x8b66f9,_0x1399ff['style'][_0x46b3f6(0x308)]||_0x8b66f9;}let M=class extends e[_0x2d90a8(0x345)]{constructor(_0x234e94,_0x219350,_0x15b6f5,_0x20f236){const _0x50cc69=_0x2d90a8;super(),this['_localeService']=_0x234e94,this[_0x50cc69(0x466)]=_0x15b6f5,k(this,_0x50cc69(0x21c),void 0x0),k(this,'_ownsRenderModelManager',void 0x0),this[_0x50cc69(0x3cb)]=!_0x20f236,this[_0x50cc69(0x21c)]=_0x20f236==null?new s[(_0x50cc69(0x29f))]():_0x20f236,(_0x219350||!this['_renderModelManager'][_0x50cc69(0x3b2)](s['EChartRenderEngineName']))&&this[_0x50cc69(0x427)](s[_0x50cc69(0x3b4)],_0x219350==null?new s[(_0x50cc69(0x416))](!0x1,{'wordCloudRenderConfig':a[_0x50cc69(0x2a2)]}):_0x219350);}[_0x2d90a8(0x427)](_0x40c949,_0x35c043){const _0x4b95d4=_0x2d90a8;this['_renderModelManager'][_0x4b95d4(0x427)](_0x40c949,_0x35c043);}[_0x2d90a8(0x3c0)](_0x3d9fc6){const _0x8b2e07=_0x2d90a8;this[_0x8b2e07(0x21c)][_0x8b2e07(0x3c0)](_0x3d9fc6);}[_0x2d90a8(0x3b2)](_0x442957=s[_0x2d90a8(0x3b4)]){const _0x197f81=_0x2d90a8;return this[_0x197f81(0x21c)][_0x197f81(0x3b2)](_0x442957);}['createChartInstance'](_0x35e279){const _0x3fea0c=_0x2d90a8;return _0x35e279?this[_0x3fea0c(0x21c)][_0x3fea0c(0x377)](_0x35e279,this[_0x3fea0c(0x385)]()):this[_0x3fea0c(0x21c)]['createChartInstance']();}[_0x2d90a8(0x2d0)](_0x5d80f7){const _0x1eded1=_0x2d90a8;let _0x556ecd=_0x5d80f7[_0x1eded1(0x408)][_0x1eded1(0x36b)];if(!_0x556ecd)throw Error(_0x1eded1(0x46c)+_0x5d80f7['chartId']+_0x1eded1(0x2fc));let _0x4d328d=this[_0x1eded1(0x3de)][_0x1eded1(0x371)]();return{'chartConfig':_0x556ecd,'chartStyle':(0x0,s[_0x1eded1(0x29e)])({..._0x5d80f7[_0x1eded1(0x408)][_0x1eded1(0x263)],'runtime':_0x5d80f7['model'][_0x1eded1(0x386)](_0x4d328d),'direction':_0x4d328d},_0x556ecd[_0x1eded1(0x302)])};}[_0x2d90a8(0x1e2)](_0x4e9127,_0x32d177,_0x8c7cbe){const _0x4ab0bb=_0x2d90a8;let {chartConfig:_0x3fb156,chartStyle:_0x16b937}=this[_0x4ab0bb(0x2d0)](_0x4e9127),_0x51dff2=this[_0x4ab0bb(0x21c)][_0x4ab0bb(0x1fa)]();return{'spec':_0x51dff2['stylizeSpec'](_0x51dff2[_0x4ab0bb(0x3e8)](_0x3fb156,_0x16b937),{'chartConfig':_0x3fb156,'chartStyle':_0x16b937,'chartInstance':_0x8c7cbe},_0x32d177),'chartConfig':_0x3fb156,'chartStyle':_0x16b937,'hostStyle':this[_0x4ab0bb(0x41c)](_0x16b937)};}[_0x2d90a8(0x41c)](_0x5627bb){const _0x472526=_0x2d90a8;return(0x0,s[_0x472526(0x195)])({'style':_0x5627bb,'getRenderColor':_0x21cdb4=>{const _0x1e76dd=_0x472526;var _0x45344c,_0xd981d8;return(_0x45344c=(_0xd981d8=this[_0x1e76dd(0x466)])==null?void 0x0:_0xd981d8[_0x1e76dd(0x434)](_0x21cdb4))==null?_0x21cdb4:_0x45344c;}});}[_0x2d90a8(0x3e5)](_0x1c6934,_0x476755){const _0xd519f9=_0x2d90a8;var _0x153f75;let _0x29ff52=(_0x153f75=_0x476755['border'])!=null&&_0x153f75['color']&&_0x476755[_0xd519f9(0x2ca)][_0xd519f9(0x440)]?_0x476755[_0xd519f9(0x2ca)][_0xd519f9(0x440)]+_0xd519f9(0x191)+Ae(_0x476755['border'][_0xd519f9(0x308)]):'';_0x1c6934[_0xd519f9(0x263)]['border']=_0x29ff52,_0x1c6934[_0xd519f9(0x263)][_0xd519f9(0x1e8)]=_0x476755['fill']?Ae(_0x476755[_0xd519f9(0x1d1)]):_0xd519f9(0x20e),_0x1c6934[_0xd519f9(0x263)][_0xd519f9(0x306)]=_0x476755[_0xd519f9(0x357)]?_0x476755[_0xd519f9(0x357)]+'px':'',_0x1c6934[_0xd519f9(0x263)][_0xd519f9(0x438)]=_0xd519f9(0x1a0),_0x1c6934['style'][_0xd519f9(0x3ae)]=_0xd519f9(0x327);}[_0x2d90a8(0x385)](){const _0x240615=_0x2d90a8;return{'resolveHostStyle':({style:_0x416414})=>this[_0x240615(0x41c)](_0x416414),'resolveRenderBackgroundColor':({hostStyle:_0x28bcf8})=>_0x28bcf8[_0x240615(0x1d1)],'prepareSpec':({mode:_0x30d06f,spec:_0x2b2659})=>_0x30d06f==='image'?{..._0x2b2659,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x2b2659};}[_0x2d90a8(0x244)](){const _0x20137f=_0x2d90a8;this[_0x20137f(0x3cb)]&&this['_renderModelManager'][_0x20137f(0x244)](),super['dispose']();}};M=C([S(0x0,(0x0,e[_0x2d90a8(0x42a)])(e['LocaleService'])),S(0x1,(0x0,e[_0x2d90a8(0x35f)])(j)),S(0x2,(0x0,e[_0x2d90a8(0x35f)])(s['ChartThemeService'])),S(0x3,(0x0,e[_0x2d90a8(0x35f)])(s[_0x2d90a8(0x20d)]))],M);function je(_0x152bb2,_0x1e8935,_0x38070f,_0x4d5c9c,_0x6be086,_0x48ce57,_0x1271ca){const _0x295fed=_0x2d90a8;let _0x3b37f9=new s[(_0x295fed(0x1e9))](),_0xd35708=new s['ChartModel'](_0x152bb2,{'chartType':_0x38070f,'context':_0x4d5c9c==null?void 0x0:_0x4d5c9c[_0x295fed(0x18c)],'dataAggregation':_0x6be086,'dataSource':_0x3b37f9,'style':_0x48ce57},_0x1271ca);_0xd35708['_init'](),_0x3b37f9[_0x295fed(0x3d5)]((0x0,a[_0x295fed(0x44f)])((0x0,i[_0x295fed(0x3bf)])(_0x1e8935)),(_0x4d5c9c==null?void 0x0:_0x4d5c9c[_0x295fed(0x3ab)])!=='column');let _0x32ef2d=(0x0,s[_0x295fed(0x1ec)])(_0xd35708,_0x3b37f9);return _0x32ef2d&&_0xd35708[_0x295fed(0x42f)](_0x32ef2d),{'unitId':'doc-chart-preview','chartId':_0x152bb2,'dataSourceId':_0x152bb2+_0x295fed(0x323),'model':_0xd35708,'source':_0x3b37f9};}function Me(_0x24ccc4){const _0x846a6f=_0x2d90a8;let _0x5bf562=(0x0,n[_0x846a6f(0x1da)])(e[_0x846a6f(0x36c)]),_0x2cfc86=(0x0,n['useDependency'])(e[_0x846a6f(0x312)]),_0x343fee=(0x0,n[_0x846a6f(0x1da)])(M),_0x41cb96=(0x0,r[_0x846a6f(0x2b7)])(null),_0x3321cb=(0x0,r[_0x846a6f(0x2b7)])(null),_0x3ffa91=(0x0,r[_0x846a6f(0x2b7)])('doc-chart-preview-'+(0x0,e[_0x846a6f(0x1c0)])(0x8)),[_0x14c04e,_0x89eb51]=(0x0,r[_0x846a6f(0x2b8)])(null);return(0x0,r[_0x846a6f(0x2cf)])(()=>{const _0x131ef7=_0x846a6f;let _0x14e765=_0x41cb96[_0x131ef7(0x452)];if(!_0x14e765)return;_0x89eb51(null),_0x14e765[_0x131ef7(0x2d3)](),_0x3321cb[_0x131ef7(0x452)]=N(_0x14e765);let _0x413e32=!0x1,_0x1279c5=_0x39978f=>{_0x413e32||_0x89eb51(_0x39978f);},_0x5a21bd=null,_0x482086=null,_0x1859cc=null;try{_0x5a21bd=je(_0x3ffa91[_0x131ef7(0x452)],_0x24ccc4['values'],_0x24ccc4[_0x131ef7(0x1bb)],_0x24ccc4[_0x131ef7(0x441)],_0x24ccc4['dataAggregation'],_0x24ccc4[_0x131ef7(0x263)],_0x2cfc86),_0x482086=new ke(_0x5a21bd[_0x131ef7(0x3ad)],_0x14e765,(_0x4d0547,_0x491725)=>_0x343fee[_0x131ef7(0x3e5)](_0x4d0547,_0x491725),()=>{const _0x47f410=_0x131ef7;var _0x2bf90c;return(_0x2bf90c=_0x3321cb[_0x47f410(0x452)])==null?N(_0x14e765):_0x2bf90c;},!0x1),_0x1859cc=_0x343fee['createChartInstance'](s[_0x131ef7(0x28c)]['Dom']),_0x1859cc[_0x131ef7(0x3f2)](_0x482086);}catch(_0x20a6f3){return _0x1279c5(_0x20a6f3),()=>{_0x413e32=!0x0,_0x14e765['replaceChildren']();};}if(!_0x5a21bd||!_0x482086||!_0x1859cc)return()=>{const _0x43d48c=_0x131ef7;_0x413e32=!0x0,_0x14e765[_0x43d48c(0x2d3)]();};let _0xc0217a=_0x5a21bd,_0x12d28a=_0x482086,_0x38b508=_0x1859cc,_0x42cd87=()=>{const _0x4a7fb9=_0x131ef7;let _0x333778,_0x5ded9a;try{({chartConfig:_0x333778,chartStyle:_0x5ded9a}=_0x343fee['createRenderInput'](_0xc0217a));}catch(_0x4f8abe){_0x1279c5(_0x4f8abe);return;}_0x38b508['render']({'chartId':_0xc0217a['chartId'],'config':_0x333778,'style':_0x5ded9a})[_0x4a7fb9(0x221)](()=>{_0x413e32||_0x89eb51(null);})['catch'](_0x1279c5);},_0x53a3d4=_0xc0217a[_0x131ef7(0x408)][_0x131ef7(0x388)][_0x131ef7(0x255)](_0x590d80=>{_0x590d80&&_0x42cd87();}),_0x3e484f=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x308d2a=>{const _0x189db4=_0x131ef7;var _0x2fe840;let _0x4df148=(_0x2fe840=_0x308d2a[0x0])==null?void 0x0:_0x2fe840[_0x189db4(0x1a1)];_0x3321cb[_0x189db4(0x452)]=_0x4df148&&_0x4df148[_0x189db4(0x440)]>0x0&&_0x4df148[_0x189db4(0x45b)]>0x0?{'width':_0x4df148[_0x189db4(0x440)],'height':_0x4df148[_0x189db4(0x45b)]}:N(_0x14e765),_0x42cd87();});return _0x3e484f==null||_0x3e484f[_0x131ef7(0x474)](_0x14e765),()=>{const _0x457098=_0x131ef7;_0x413e32=!0x0,_0x53a3d4[_0x457098(0x297)](),_0x3e484f==null||_0x3e484f[_0x457098(0x29b)](),_0x38b508[_0x457098(0x244)](),_0x12d28a[_0x457098(0x244)](),_0xc0217a['model']['dispose'](),_0xc0217a[_0x457098(0x356)]['dispose'](),_0x14e765[_0x457098(0x2d3)]();};},[_0x2cfc86,_0x24ccc4[_0x846a6f(0x1bb)],_0x24ccc4[_0x846a6f(0x441)],_0x24ccc4[_0x846a6f(0x2f3)],_0x24ccc4[_0x846a6f(0x263)],_0x24ccc4[_0x846a6f(0x223)],_0x343fee]),(0x0,o[_0x846a6f(0x2ab)])('div',{'className':_0x846a6f(0x181),'children':[(0x0,o[_0x846a6f(0x33b)])(_0x846a6f(0x1b4),{'ref':_0x41cb96,'className':_0x846a6f(0x419)}),_0x14c04e!=null&&(0x0,o[_0x846a6f(0x33b)])(_0x846a6f(0x1b4),{'className':_0x846a6f(0x1e4),'children':_0x5bf562['t'](_0x846a6f(0x34d))})]});}function N(_0x44ccaf){const _0x173ec7=_0x2d90a8;let _0x5a4bcc=_0x44ccaf[_0x173ec7(0x3f8)]();return _0x5a4bcc['width']<=0x0||_0x5a4bcc['height']<=0x0?null:{'width':_0x5a4bcc[_0x173ec7(0x440)],'height':_0x5a4bcc[_0x173ec7(0x45b)]};}const Ne=_0x2d90a8(0x2d7),P='doc-chart.dialog.editor';function Pe(_0x4d8b83){const _0x3e020c=_0x2d90a8;let {unitId:_0x4c3124,chartId:_0x37e141,onClose:_0x43b216}=_0x4d8b83,_0x31ccba=(0x0,n[_0x3e020c(0x1da)])(e[_0x3e020c(0x36c)]),_0x4278af=(0x0,n[_0x3e020c(0x1da)])(a[_0x3e020c(0x1b6)]),_0x12ff7f=(0x0,n['useDependency'])(w),_0x76aa88=(0x0,r[_0x3e020c(0x24d)])(()=>_0x12ff7f[_0x3e020c(0x3d4)](_0x4c3124,_0x37e141),[_0x37e141,_0x12ff7f,_0x4c3124]),_0x4f0da8=_0x4278af[_0x3e020c(0x1cd)](_0x4c3124,_0x37e141),[_0x40f890,_0xbccdbb]=(0x0,r['useState'])(()=>{const _0x504174=_0x3e020c;var _0x8a4b44;return(_0x8a4b44=_0x76aa88==null?void 0x0:_0x76aa88[_0x504174(0x223)]['map'](_0x233d83=>[..._0x233d83]))==null?[]:_0x8a4b44;}),[_0x281229,_0x5df226]=(0x0,r[_0x3e020c(0x2b8)])(()=>{const _0x255c4c=_0x3e020c;var _0x28053b;return(_0x28053b=_0x76aa88==null?void 0x0:_0x76aa88[_0x255c4c(0x223)][_0x255c4c(0x22b)](_0x2f3aeb=>[..._0x2f3aeb]))==null?[]:_0x28053b;}),[_0x1a3c90,_0x2db03b]=(0x0,r[_0x3e020c(0x2b8)])(()=>_0x4f0da8==null?void 0x0:_0x4f0da8[_0x3e020c(0x1bb)]),[_0x183645,_0x439c7f]=(0x0,r['useState'])(()=>_0x4f0da8==null?void 0x0:_0x4f0da8['style']),[_0xa9ff32,_0x4b458f]=(0x0,r[_0x3e020c(0x2b8)])(()=>_0x4f0da8==null?void 0x0:_0x4f0da8['context']),[_0x4fdc2d,_0x9da235]=(0x0,r[_0x3e020c(0x2b8)])(()=>_0x4f0da8==null?void 0x0:_0x4f0da8['dataAggregation']),[_0x263e53,_0x3b1f9e]=(0x0,r[_0x3e020c(0x2b8)])(null);return!_0x76aa88||!_0x4f0da8?(0x0,o['jsx'])(_0x3e020c(0x1b4),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x31ccba['t'](_0x3e020c(0x3c2))}):(0x0,o['jsxs'])(_0x3e020c(0x1b4),{'className':'univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-gap-5\x20univer-overflow-hidden\x20univer-overscroll-contain','style':{'height':'min(560px,\x20calc(100vh\x20-\x20180px))'},'children':[(0x0,o[_0x3e020c(0x33b)])(_0x3e020c(0x1b4),{'className':_0x3e020c(0x2e4),'children':(0x0,o[_0x3e020c(0x33b)])(Me,{'values':_0x281229,'chartType':_0x1a3c90==null?_0x4f0da8[_0x3e020c(0x1bb)]:_0x1a3c90,'context':_0xa9ff32,'dataAggregation':_0x4fdc2d,'style':_0x183645})}),(0x0,o[_0x3e020c(0x2ab)])(_0x3e020c(0x1b4),{'className':_0x3e020c(0x1ce),'children':[(0x0,o[_0x3e020c(0x33b)])(_0x3e020c(0x1b4),{'className':_0x3e020c(0x2a7),'children':(0x0,o[_0x3e020c(0x33b)])(Ee,{'chartType':_0x1a3c90==null?_0x4f0da8[_0x3e020c(0x1bb)]:_0x1a3c90,'values':_0x40f890,'context':_0xa9ff32,'dataAggregation':_0x4fdc2d,'style':_0x183645,'onChartTypeChange':_0x251c0b=>{const _0x5e6b14=_0x3e020c;if(!_0x12ff7f[_0x5e6b14(0x21f)](_0x4c3124,_0x37e141,_0x251c0b)){_0x3b1f9e(_0x31ccba['t']('docs-chart-ui.updateChartFailed'));return;}_0x3b1f9e(null),_0x2db03b(_0x251c0b);},'onContextChange':_0x19b150=>{const _0xad9fad=_0x3e020c;var _0x34023d;if(!_0x12ff7f[_0xad9fad(0x496)](_0x4c3124,_0x37e141,_0x19b150)){_0x3b1f9e(_0x31ccba['t'](_0xad9fad(0x3ef)));return;}_0x3b1f9e(null),_0x4b458f((_0x34023d=_0x4278af[_0xad9fad(0x1cd)](_0x4c3124,_0x37e141))==null?void 0x0:_0x34023d[_0xad9fad(0x441)]);},'onDataAggregationChange':_0x35df01=>{const _0x89c7e4=_0x3e020c;var _0x20723e;if(!_0x12ff7f[_0x89c7e4(0x17b)](_0x4c3124,_0x37e141,_0x35df01)){_0x3b1f9e(_0x31ccba['t'](_0x89c7e4(0x3ef)));return;}_0x3b1f9e(null),_0x9da235((_0x20723e=_0x4278af[_0x89c7e4(0x1cd)](_0x4c3124,_0x37e141))==null?void 0x0:_0x20723e['dataAggregation']);},'onStyleChange':_0x1a955d=>{const _0x1fb1d6=_0x3e020c;var _0x14196c;if(!_0x12ff7f['updateChartStyle'](_0x4c3124,_0x37e141,_0x1a955d)){_0x3b1f9e(_0x31ccba['t']('docs-chart-ui.updateChartFailed'));return;}_0x3b1f9e(null),_0x439c7f((_0x14196c=_0x4278af[_0x1fb1d6(0x1cd)](_0x4c3124,_0x37e141))==null?void 0x0:_0x14196c[_0x1fb1d6(0x263)]);},'onValuesChange':_0x4bc3f5=>{const _0x26582a=_0x3e020c;_0xbccdbb(_0x4bc3f5);let _0x9b58c=(0x0,i['compactInlineTableValues'])(_0x4bc3f5);if(_0x9b58c[_0x26582a(0x1f4)]===0x0){_0x5df226(_0x4bc3f5),_0x3b1f9e(_0x31ccba['t'](_0x26582a(0x30b)));return;}if(!_0x12ff7f[_0x26582a(0x491)](_0x4c3124,_0x37e141,_0x9b58c,'shared')){_0x3b1f9e(_0x31ccba['t'](_0x26582a(0x3ef)));return;}_0x3b1f9e(null),_0x5df226(_0x9b58c);},'onClose':_0x43b216})}),_0x263e53&&(0x0,o[_0x3e020c(0x33b)])(_0x3e020c(0x1b4),{'className':_0x3e020c(0x276),'children':_0x263e53})]})]});}function F(_0x51fcb6,_0x27174f){const _0x19209b=_0x2d90a8;var _0x52290c,_0x5eea01;if(!(_0x27174f!=null&&_0x27174f[_0x19209b(0x368)])||_0x27174f[_0x19209b(0x3ba)]==null)return null;let _0x1cd71f=(_0x52290c=_0x27174f[_0x19209b(0x36f)])==null?'':_0x52290c;if(_0x1cd71f!=='')return null;let _0x335242=(_0x5eea01=_0x51fcb6[_0x19209b(0x375)](_0x1cd71f))==null?void 0x0:_0x5eea01[_0x19209b(0x1ae)]();if(!_0x335242)return null;let _0xa9beb0=Fe(_0x335242,_0x27174f[_0x19209b(0x3ba)]);if(!Ie(_0x335242,_0xa9beb0))return null;let _0x2a9ec7=Re(_0x335242,_0xa9beb0);return _0x2a9ec7?{'unitId':_0x51fcb6[_0x19209b(0x398)](),'index':_0x2a9ec7[_0x19209b(0x1f9)],'segmentId':_0x1cd71f,'breakOffsets':_0x2a9ec7[_0x19209b(0x250)]}:null;}function Fe(_0x103e17,_0x2eaf87){const _0x186d8c=_0x2d90a8;return _0x2eaf87===0x0&&_0x103e17[_0x186d8c(0x313)][0x0]===e[_0x186d8c(0x26e)]['PARAGRAPH']?0x1:_0x2eaf87;}function Ie(_0x4fc1b8,_0x2f931f){const _0x2971bf=_0x2d90a8;return!(Be(_0x4fc1b8['tables'],_0x2f931f)||L(_0x4fc1b8[_0x2971bf(0x3ca)],_0x2f931f)||Ve(_0x4fc1b8['customBlocks'],_0x2f931f));}function Le(_0x4f897e,_0x1e3570){const _0x127df4=_0x2d90a8;let {dataStream:_0x3a0f33}=_0x4f897e;if(!_0x3a0f33||_0x1e3570<0x0||_0x1e3570>=_0x3a0f33['length'])return!0x1;let _0x50c21a=ze(_0x3a0f33,_0x1e3570)+0x1,_0x304b73=I(_0x3a0f33,_0x1e3570);return _0x50c21a<=_0x304b73&&_0x3a0f33[_0x127df4(0x289)](_0x50c21a,_0x304b73)['length']===0x0;}function Re(_0x35b013,_0x51fec9){const _0x2f8dc2=_0x2d90a8;let {dataStream:_0x283a4b}=_0x35b013;if(!_0x283a4b||_0x51fec9<0x0||_0x51fec9>=_0x283a4b[_0x2f8dc2(0x1f4)])return null;if(Le(_0x35b013,_0x51fec9))return{'index':_0x51fec9,'breakOffsets':[]};let _0x511351=ze(_0x283a4b,_0x51fec9)+0x1,_0xef308f=I(_0x283a4b,_0x51fec9);return _0x51fec9<=_0x511351?{'index':_0x51fec9,'breakOffsets':[_0x51fec9]}:_0x51fec9>=_0xef308f?{'index':_0x51fec9+0x1,'breakOffsets':[_0x51fec9]}:{'index':_0x51fec9+0x1,'breakOffsets':[_0x51fec9,_0x51fec9+0x1]};}function ze(_0xa99110,_0x47dc51){const _0x1e543f=_0x2d90a8;let _0x33fa72=Math['max'](0x0,Math[_0x1e543f(0x332)](_0x47dc51-0x1,_0xa99110['length']-0x1));return Math[_0x1e543f(0x275)](_0xa99110[_0x1e543f(0x1fc)](e[_0x1e543f(0x26e)][_0x1e543f(0x3bc)],_0x33fa72),_0xa99110[_0x1e543f(0x1fc)](e[_0x1e543f(0x26e)][_0x1e543f(0x40c)],_0x33fa72));}function I(_0x333244,_0xed7638){const _0x2a7493=_0x2d90a8;let _0x1659bf=Math['max'](0x0,Math[_0x2a7493(0x332)](_0xed7638,_0x333244[_0x2a7493(0x1f4)]-0x1)),_0x46cd7c=_0x333244[_0x2a7493(0x485)](e['DataStreamTreeTokenType']['PARAGRAPH'],_0x1659bf),_0x1ac43e=_0x333244[_0x2a7493(0x485)](e['DataStreamTreeTokenType'][_0x2a7493(0x40c)],_0x1659bf);return _0x46cd7c===-0x1&&_0x1ac43e===-0x1?_0x333244['length']:_0x46cd7c===-0x1?_0x1ac43e:_0x1ac43e===-0x1?_0x46cd7c:Math[_0x2a7493(0x332)](_0x46cd7c,_0x1ac43e);}function Be(_0x309166,_0x11d1b4){const _0x1dc67f=_0x2d90a8;return!!(_0x309166!=null&&_0x309166[_0x1dc67f(0x208)](_0x3fee04=>_0x3fee04[_0x1dc67f(0x320)]<=_0x11d1b4&&_0x11d1b4<_0x3fee04[_0x1dc67f(0x1b1)]));}function L(_0x48de30,_0x52e525){const _0x9acd6e=_0x2d90a8;return!!(_0x48de30!=null&&_0x48de30[_0x9acd6e(0x208)](_0x93281=>_0x93281[_0x9acd6e(0x320)]<=_0x52e525&&_0x52e525<=_0x93281[_0x9acd6e(0x1b1)]));}function Ve(_0x448abf,_0x53a893){const _0x2e126b=_0x2d90a8;return!!(_0x448abf!=null&&_0x448abf['some'](_0xcb5a46=>_0xcb5a46[_0x2e126b(0x320)]===_0x53a893));}let R=class{constructor(_0x5074b4,_0x4d365c,_0x425e4a,_0xade5be){const _0xdf8ce5=_0x2d90a8;this[_0xdf8ce5(0x367)]=_0x5074b4,this['_commandService']=_0x4d365c,this[_0xdf8ce5(0x209)]=_0x425e4a,this[_0xdf8ce5(0x3b3)]=_0xade5be;}[_0x2d90a8(0x1e6)](_0x238cd5,_0x295994,_0x4c1a1f){const _0x3b6ce4=_0x2d90a8;let _0x765a70=(0x0,a['parseInlineTable'])(_0x238cd5);return _0x765a70['length']===0x0?!0x1:this[_0x3b6ce4(0x1dc)](_0x765a70,_0x295994,_0x4c1a1f);}[_0x2d90a8(0x1dc)](_0x2299a6,_0x334946,_0x1475c5={}){const _0x2eafc3=_0x2d90a8;if(_0x2299a6[_0x2eafc3(0x1f4)]===0x0)return!0x1;let _0x13c467=this[_0x2eafc3(0x367)][_0x2eafc3(0x241)](e[_0x2eafc3(0x2fb)][_0x2eafc3(0x2ae)]);if(!_0x13c467)return!0x1;let _0x5bbe1b=this[_0x2eafc3(0x174)](_0x13c467,_0x1475c5['insertRange']);if(!_0x5bbe1b||!this[_0x2eafc3(0x1be)](_0x5bbe1b['breakOffsets'],_0x5bbe1b[_0x2eafc3(0x36f)]))return!0x1;let _0x2b4c3d=_0x5bbe1b[_0x2eafc3(0x2df)],_0x23274d={'chartType':_0x334946};_0x1475c5[_0x2eafc3(0x441)]&&(_0x23274d['context']=_0x1475c5['context']),_0x1475c5[_0x2eafc3(0x2f3)]&&(_0x23274d['dataAggregation']=_0x1475c5[_0x2eafc3(0x2f3)]),_0x1475c5['style']&&(_0x23274d[_0x2eafc3(0x263)]=_0x1475c5['style']);let _0x116bdc=this[_0x2eafc3(0x1d9)][_0x2eafc3(0x1b8)](a[_0x2eafc3(0x417)]['id'],{'unitId':_0x2b4c3d,'index':_0x5bbe1b[_0x2eafc3(0x1f9)],'segmentId':_0x5bbe1b[_0x2eafc3(0x36f)],'chart':_0x23274d,'dataSource':{'values':_0x2299a6},'width':_0x1475c5['width'],'height':_0x1475c5[_0x2eafc3(0x45b)],'focus':_0x1475c5[_0x2eafc3(0x468)]});return _0x116bdc?{..._0x116bdc,'unitId':_0x2b4c3d}:!0x1;}[_0x2d90a8(0x174)](_0x3c9c33,_0x3fcc9f){const _0x410d22=_0x2d90a8;if(_0x3fcc9f)return F(_0x3c9c33,_0x3fcc9f);let _0x3bc39d=_0x3c9c33['getUnitId'](),_0x16ea93=null;try{_0x16ea93=this['_docContentInsertService'][_0x410d22(0x219)](_0x3bc39d);}catch{_0x16ea93=null;}if(_0x16ea93){var _0x56a2d4;return F(_0x3c9c33,{'startOffset':_0x16ea93[_0x410d22(0x3ba)],'endOffset':_0x16ea93[_0x410d22(0x41b)],'collapsed':_0x16ea93[_0x410d22(0x3ba)]===_0x16ea93[_0x410d22(0x41b)],'segmentId':(_0x56a2d4=_0x16ea93['segmentId'])==null?'':_0x56a2d4});}return F(_0x3c9c33,He(this[_0x410d22(0x209)][_0x410d22(0x3ec)]()));}[_0x2d90a8(0x1be)](_0x391692,_0x4df501){const _0x31bf39=_0x2d90a8;for(let _0x211ef0 of _0x391692)if(!this[_0x31bf39(0x1d9)]['syncExecuteCommand'](u[_0x31bf39(0x170)]['id'],{'textRange':{'startOffset':_0x211ef0,'endOffset':_0x211ef0,'collapsed':!0x0,'segmentId':_0x4df501}}))return!0x1;return!0x0;}};R=C([S(0x0,e[_0x2d90a8(0x2e2)]),S(0x1,e[_0x2d90a8(0x39d)]),S(0x2,(0x0,e[_0x2d90a8(0x42a)])(l['DocSelectionManagerService'])),S(0x3,(0x0,e[_0x2d90a8(0x42a)])(l['DocContentInsertService']))],R);function He(_0x1f3d54){const _0x581b51=_0x2d90a8;return!_0x1f3d54||typeof _0x1f3d54!=_0x581b51(0x1cf)?null:_0x1f3d54;}const z=_0x2d90a8(0x2af),Ue=['Category\x09Value',_0x2d90a8(0x1f0),'B\x0918',_0x2d90a8(0x292)][_0x2d90a8(0x285)]('\x0a');function B(_0x38a1d2){const _0x1bcb3b=_0x2d90a8;let _0x37ac2d=(0x0,n['useDependency'])(R),_0x942dc4=(0x0,n[_0x1bcb3b(0x1da)])(e[_0x1bcb3b(0x36c)]),{defaultChartType:_0x44df2e=s[_0x1bcb3b(0x42e)][_0x1bcb3b(0x1cc)],defaultTableText:_0x36037e=Ue,insertOptions:_0xc286aa,onCancel:_0x5dd160,onInserted:_0x3c51ff}=_0x38a1d2,[_0x5499b0,_0xbe16ff]=(0x0,r[_0x1bcb3b(0x2b8)])(_0x44df2e),[_0x8d69ae,_0x10ae4d]=(0x0,r[_0x1bcb3b(0x2b8)])(()=>(0x0,a[_0x1bcb3b(0x1c4)])(_0x36037e)),[_0x354bb9,_0x10e9e5]=(0x0,r['useState'])(),[_0x541f20,_0x13bcc0]=(0x0,r[_0x1bcb3b(0x2b8)])(),[_0x6bb6ac,_0x3a5953]=(0x0,r[_0x1bcb3b(0x2b8)])(),[_0x2a6b35,_0x2f7b80]=(0x0,r[_0x1bcb3b(0x2b8)])(null);return(0x0,o[_0x1bcb3b(0x2ab)])(_0x1bcb3b(0x1b4),{'className':'univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-gap-5\x20univer-overflow-hidden\x20univer-overscroll-contain','style':{'height':_0x1bcb3b(0x492)},'children':[(0x0,o[_0x1bcb3b(0x33b)])('div',{'className':_0x1bcb3b(0x2e4),'children':(0x0,o[_0x1bcb3b(0x33b)])(Me,{'values':_0x8d69ae,'chartType':_0x5499b0,'context':_0x354bb9,'dataAggregation':_0x541f20,'style':_0x6bb6ac})}),(0x0,o[_0x1bcb3b(0x2ab)])('div',{'className':'univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','children':[(0x0,o['jsx'])(_0x1bcb3b(0x1b4),{'className':_0x1bcb3b(0x2a7),'children':(0x0,o[_0x1bcb3b(0x33b)])(Ee,{'chartType':_0x5499b0,'values':_0x8d69ae,'context':_0x354bb9,'dataAggregation':_0x541f20,'style':_0x6bb6ac,'onChartTypeChange':_0xbe16ff,'onContextChange':_0x119779=>{_0x10e9e5(_0xe3465=>We(_0xe3465,_0x119779));},'onDataAggregationChange':_0x22aaff=>{_0x13bcc0(_0x125e0f=>We(_0x125e0f,_0x22aaff));},'onStyleChange':_0x2e4fd8=>{_0x3a5953(_0x2c62f0=>We(_0x2c62f0,_0x2e4fd8));},'onValuesChange':_0x10ae4d})}),_0x2a6b35&&(0x0,o['jsx'])('div',{'className':'univer-text-xs\x20univer-text-red-600','children':_0x2a6b35}),(0x0,o[_0x1bcb3b(0x2ab)])(_0x1bcb3b(0x1b4),{'className':'univer-mt-auto\x20univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','children':[_0x5dd160&&(0x0,o['jsx'])(t[_0x1bcb3b(0x359)],{'type':_0x1bcb3b(0x2ce),'variant':_0x1bcb3b(0x44a),'onClick':_0x5dd160,'children':_0x942dc4['t']('docs-chart-ui.cancel')}),(0x0,o['jsx'])(t[_0x1bcb3b(0x359)],{'type':_0x1bcb3b(0x2ce),'variant':'primary','onClick':()=>{const _0x43fbbe=_0x1bcb3b;let _0x3314eb=(0x0,i['compactInlineTableValues'])(_0x8d69ae);if(_0x3314eb[_0x43fbbe(0x1f4)]===0x0){_0x2f7b80(_0x942dc4['t']('docs-chart-ui.tableDataEmpty'));return;}let _0x5e4ce4=_0x37ac2d[_0x43fbbe(0x1dc)](_0x3314eb,_0x5499b0,{..._0xc286aa,'context':_0x354bb9,'dataAggregation':_0x541f20,'style':_0x6bb6ac});if(!_0x5e4ce4){_0x2f7b80(_0x942dc4['t']('docs-chart-ui.insertChartFailed'));return;}_0x2f7b80(null),_0x3c51ff==null||_0x3c51ff(_0x5e4ce4);},'children':_0x942dc4['t'](_0x1bcb3b(0x379))})]})]})]});}function We(_0x1a93f4,_0x526b10){const _0x229d91=_0x2d90a8;let _0x175206=V(_0x1a93f4)?{..._0x1a93f4}:{};return Object[_0x229d91(0x45c)](_0x526b10)['forEach'](([_0x340442,_0x507aa4])=>{if(_0x507aa4!==void 0x0){if(V(_0x507aa4)&&V(_0x175206[_0x340442])){_0x175206[_0x340442]=We(_0x175206[_0x340442],_0x507aa4);return;}_0x175206[_0x340442]=_0x507aa4;}}),_0x175206;}function _0x40d6(_0x32771d,_0x35423c){_0x32771d=_0x32771d-0x16c;const _0x41a77f=_0x41a7();let _0x40d648=_0x41a77f[_0x32771d];return _0x40d648;}function V(_0x1dbe13){const _0x2dc61d=_0x2d90a8;return typeof _0x1dbe13==_0x2dc61d(0x1cf)&&!!_0x1dbe13&&!Array['isArray'](_0x1dbe13);}const Ge=_0x2d90a8(0x2ee),H={},Ke=_0x2d90a8(0x1d5);let U=class extends e[_0x2d90a8(0x345)]{constructor(_0x56feca,_0x38c6d6,_0x2e185a){const _0x521027=_0x2d90a8;super(),this[_0x521027(0x22d)]=_0x56feca,this['_pasteAdapterService']=_0x38c6d6,this[_0x521027(0x1c7)]=_0x2e185a,this[_0x521027(0x3fd)]();}[_0x2d90a8(0x3fd)](){const _0x1a4b20=_0x2d90a8;this['disposeWithMe'](this[_0x1a4b20(0x22d)]['addClipboardHook']({'onCopyDocData':(_0x2eb13f,_0x4e9449)=>this[_0x1a4b20(0x338)](_0x2eb13f,_0x4e9449['sourceDocuments'])})),this[_0x1a4b20(0x425)](this[_0x1a4b20(0x37f)][_0x1a4b20(0x284)]({'getPasteMutationInfos':_0x11e679=>this[_0x1a4b20(0x3f3)](_0x11e679)}));}[_0x2d90a8(0x338)](_0x46c3f9,_0x596610){const _0x455ec5=_0x2d90a8;var _0x2f6a91,_0x497d78;let _0x34be8a=(_0x2f6a91=_0x596610[0x0])==null?void 0x0:_0x2f6a91['id'];if(!_0x34be8a)return _0x46c3f9;let _0x40e3ec=Object['values']((_0x497d78=_0x46c3f9['drawings'])==null?{}:_0x497d78)['filter'](_0x5a9375=>this[_0x455ec5(0x281)](_0x5a9375));if(_0x40e3ec[_0x455ec5(0x1f4)]===0x0)return _0x46c3f9;let _0x41e091={'version':0x1,'dataSources':{},'charts':{}};return _0x40e3ec[_0x455ec5(0x28b)](_0x226cb4=>{const _0xe7df42=_0x455ec5;let _0x43ffb8=this['_resourceService']['getChart'](_0x34be8a,_0x226cb4[_0xe7df42(0x3ad)]);if(!_0x43ffb8)return;let _0x11870a=this[_0xe7df42(0x1c7)]['getDataSource'](_0x34be8a,_0x43ffb8[_0xe7df42(0x2ed)]);_0x11870a&&(_0x41e091[_0xe7df42(0x17c)][_0x43ffb8['id']]=e[_0xe7df42(0x2b6)][_0xe7df42(0x39e)](_0x43ffb8),_0x41e091['dataSources'][_0x11870a['id']]=e['Tools']['deepClone'](_0x11870a));}),Object['keys'](_0x41e091[_0x455ec5(0x17c)])['length']===0x0?_0x46c3f9:{..._0x46c3f9,[Ke]:_0x41e091};}[_0x2d90a8(0x3f3)](_0x126c7c){const _0x2a8966=_0x2d90a8;let _0x126185=_0x126c7c[_0x2a8966(0x418)][Ke];if(!_0x126185)return{'redoMutations':[],'undoMutations':[]};let _0x2f6aa2=new Map(),_0x4aa727=[],_0x325237=[],_0xec59ec=[],_0x424cb8=[];return _0x126c7c[_0x2a8966(0x1f7)]['forEach'](_0x241d0a=>{const _0x2578f8=_0x2a8966;if(!this[_0x2578f8(0x281)](_0x241d0a['sourceDrawing'])||!this[_0x2578f8(0x281)](_0x241d0a[_0x2578f8(0x411)]))return;let _0x255e18=_0x126185[_0x2578f8(0x17c)][_0x241d0a['sourceDrawing'][_0x2578f8(0x3ad)]];if(!_0x255e18)return;let _0x1d71e4=_0x126185[_0x2578f8(0x424)][_0x255e18[_0x2578f8(0x2ed)]];if(!_0x1d71e4)return;let _0x1534a9=this[_0x2578f8(0x376)](_0x126c7c[_0x2578f8(0x2df)],_0x1d71e4,_0x2f6aa2,_0x4aa727,_0x325237),_0x7d690c=(0x0,e[_0x2578f8(0x1c0)])(),_0x21bf18={...e[_0x2578f8(0x2b6)][_0x2578f8(0x39e)](_0x255e18),'id':_0x7d690c,'dataSourceId':_0x1534a9};_0x241d0a[_0x2578f8(0x411)][_0x2578f8(0x3ad)]=_0x7d690c,_0xec59ec[_0x2578f8(0x3c4)]({'id':a[_0x2578f8(0x1bd)]['id'],'params':{'unitId':_0x126c7c['unitId'],'chart':_0x21bf18}}),_0x424cb8[_0x2578f8(0x3c4)]({'id':a[_0x2578f8(0x1a4)]['id'],'params':{'unitId':_0x126c7c['unitId'],'chartId':_0x7d690c}});}),{'redoMutations':[..._0x4aa727,..._0xec59ec],'undoMutations':[..._0x424cb8,..._0x325237]};}[_0x2d90a8(0x376)](_0x28d224,_0x2737be,_0x1d2732,_0x34ece2,_0x1c00cb){const _0x3511e1=_0x2d90a8;let _0x12c02e=_0x1d2732[_0x3511e1(0x331)](_0x2737be['id']);if(_0x12c02e)return _0x12c02e;let _0x21d247=(0x0,e['generateRandomId'])();return _0x1d2732[_0x3511e1(0x369)](_0x2737be['id'],_0x21d247),_0x34ece2[_0x3511e1(0x3c4)]({'id':a[_0x3511e1(0x393)]['id'],'params':{'unitId':_0x28d224,'dataSource':{...e['Tools'][_0x3511e1(0x39e)](_0x2737be),'id':_0x21d247}}}),_0x1c00cb['push']({'id':a[_0x3511e1(0x47c)]['id'],'params':{'unitId':_0x28d224,'dataSourceId':_0x21d247}}),_0x21d247;}[_0x2d90a8(0x281)](_0x4ad1f3){const _0x46e28a=_0x2d90a8;let _0x5eb208=_0x4ad1f3;return(_0x5eb208==null?void 0x0:_0x5eb208['drawingType'])===e['DrawingTypeEnum'][_0x46e28a(0x1d7)]&&typeof _0x5eb208['chartId']==_0x46e28a(0x286);}};U=C([S(0x0,(0x0,e[_0x2d90a8(0x42a)])(u[_0x2d90a8(0x268)])),S(0x1,(0x0,e['Inject'])(u[_0x2d90a8(0x21a)])),S(0x2,(0x0,e[_0x2d90a8(0x42a)])(a[_0x2d90a8(0x1b6)]))],U);let W=class extends e[_0x2d90a8(0x345)]{constructor(_0x7160f8,_0x11e892,_0x453e4b,_0x47f6e1){const _0x8c696e=_0x2d90a8;super(),this['_drawingAdapterService']=_0x7160f8,this[_0x8c696e(0x300)]=_0x11e892,this[_0x8c696e(0x1c7)]=_0x453e4b,this['_localeService']=_0x47f6e1,this[_0x8c696e(0x3be)]();}[_0x2d90a8(0x3be)](){const _0x257a88=_0x2d90a8;this[_0x257a88(0x425)](this['_drawingAdapterService'][_0x257a88(0x284)]({'getEditDrawingCommandInfo':({unitId:_0x72d83a,drawing:_0x133982})=>{const _0x5a4143=_0x257a88;let _0x5be81e=qe(_0x133982);return _0x5be81e?{'label':'docs-chart-ui.editChart','commandId':v['id'],'commandParams':{'unitId':_0x72d83a,'chartId':_0x5be81e[_0x5a4143(0x3ad)],'drawingId':_0x5be81e[_0x5a4143(0x3f9)]}}:null;}})),this['disposeWithMe'](this[_0x257a88(0x300)][_0x257a88(0x284)]({'getItems':({unitId:_0x56bab4,subUnitId:_0x25172a,drawing:_0x5acaf6})=>{const _0x527b52=_0x257a88;var _0x119fc2;let _0x161ea3=qe(_0x5acaf6);if(!_0x161ea3)return null;let _0x4a61dd=this[_0x527b52(0x1c7)][_0x527b52(0x1cd)](_0x56bab4,_0x161ea3[_0x527b52(0x3ad)]),_0x5124d0=(_0x119fc2=_0x4a61dd==null?void 0x0:_0x4a61dd['chartType'])==null?s['ChartTypeBits'][_0x527b52(0x1cc)]:_0x119fc2;return[{'type':_0x527b52(0x484),'label':_0x527b52(0x1b5),'index':0x0,'commandId':a['UpdateDocChartConfigCommand']['id'],'commandParamsFactory':_0x4dbbb1=>({'unitId':_0x56bab4,'chartId':_0x161ea3[_0x527b52(0x3ad)],'chartType':Number(_0x4dbbb1)}),'disable':!_0x4a61dd,'value':String(_0x5124d0),'options':(0x0,i[_0x527b52(0x3fe)])(E['map'](_0x229cb8=>({..._0x229cb8,'label':this[_0x527b52(0x3de)]['t'](_0x229cb8['label'])})))},{'type':_0x527b52(0x2ce),'label':'docs-chart-ui.editChart','index':0x1,'commandId':v['id'],'commandParams':{'unitId':_0x56bab4,'chartId':_0x161ea3[_0x527b52(0x3ad)],'drawingId':_0x161ea3[_0x527b52(0x3f9)]},'disable':!0x1,'hideOnClick':!0x0,'icon':_0x527b52(0x303)},{'type':_0x527b52(0x2ce),'label':'docs-chart-ui.delete','index':0x2,'commandId':f['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x56bab4,'drawings':[{'unitId':_0x56bab4,'subUnitId':_0x25172a,'drawingId':_0x161ea3['drawingId']}]},'disable':!0x1,'icon':_0x527b52(0x2f7)}];}}));}};W=C([S(0x0,d['IDocDrawingAdapterService']),S(0x1,(0x0,e[_0x2d90a8(0x42a)])(f[_0x2d90a8(0x202)])),S(0x2,(0x0,e[_0x2d90a8(0x42a)])(a[_0x2d90a8(0x1b6)])),S(0x3,(0x0,e[_0x2d90a8(0x42a)])(e[_0x2d90a8(0x36c)]))],W);function qe(_0x16988a){const _0x548545=_0x2d90a8;let _0x3e4c8f=_0x16988a;return(_0x3e4c8f==null?void 0x0:_0x3e4c8f[_0x548545(0x2a8)])===e[_0x548545(0x349)]['DRAWING_CHART']&&typeof _0x3e4c8f['chartId']==_0x548545(0x286)?_0x3e4c8f:null;}const Je=(0x0,e[_0x2d90a8(0x3a0)])(_0x2d90a8(0x245));var Ye=class{constructor(_0xcc03ee){const _0x5ab302=_0x2d90a8;this[_0x5ab302(0x178)]=_0xcc03ee;}async[_0x2d90a8(0x3ee)](_0x4e48e7,_0x3ef92a){const _0x195761=_0x2d90a8;if(typeof document>'u')throw TypeError(_0x195761(0x232));let _0x4bb6ca=new A(_0x3ef92a['chartId'],{'width':_0x4e48e7[_0x195761(0x440)],'height':_0x4e48e7[_0x195761(0x45b)]}),_0x61ccf7=this[_0x195761(0x178)][_0x195761(0x377)](s[_0x195761(0x28c)][_0x195761(0x280)]);try{let {chartConfig:_0x5501d0,chartStyle:_0x4ad174}=this[_0x195761(0x178)][_0x195761(0x2d0)](_0x3ef92a);_0x61ccf7['bind'](_0x4bb6ca),await _0x61ccf7[_0x195761(0x3ee)]({'chartId':_0x3ef92a['chartId'],'config':_0x5501d0,'style':_0x4ad174});let _0x49cff6=_0x4bb6ca[_0x195761(0x328)]();if(!_0x49cff6)throw Error(_0x195761(0x2b2)+_0x3ef92a[_0x195761(0x2df)]+'/'+_0x3ef92a[_0x195761(0x3ad)]);return _0x49cff6;}finally{_0x61ccf7[_0x195761(0x244)](),_0x4bb6ca[_0x195761(0x244)]();}}};let G=class extends e[_0x2d90a8(0x345)]{constructor(_0x585964,_0x34cbe5,_0x36fa5d,_0x38264f){const _0x1fea7b=_0x2d90a8;super(),this[_0x1fea7b(0x3de)]=_0x585964,this[_0x1fea7b(0x19e)]=_0x34cbe5,k(this,_0x1fea7b(0x310),new p[(_0x1fea7b(0x2b9))]()),k(this,_0x1fea7b(0x2ba),new p[(_0x1fea7b(0x2b9))]()),k(this,_0x1fea7b(0x35b),new Map()),k(this,_0x1fea7b(0x24f),[]),k(this,_0x1fea7b(0x2c8),new Map()),k(this,_0x1fea7b(0x363),!0x1),k(this,_0x1fea7b(0x19f),null),k(this,'_renderer',void 0x0),this[_0x1fea7b(0x49c)]=_0x36fa5d==null?new Ye(_0x38264f==null?this['_createRenderService']():_0x38264f):_0x36fa5d,this['_localeService']&&this[_0x1fea7b(0x425)](this['_localeService']['direction$']['pipe']((0x0,p[_0x1fea7b(0x201)])(0x1))[_0x1fea7b(0x255)](()=>{this['_invalidateSnapshotsForDirectionChange']();}));}[_0x2d90a8(0x272)](_0x137447){const _0x3f1871=_0x2d90a8;let _0xea7880=this['getCacheKey'](_0x137447),_0x42cce6=this[_0x3f1871(0x35b)][_0x3f1871(0x331)](_0xea7880);if(_0x42cce6&&_0x42cce6[_0x3f1871(0x309)]!==_0x3f1871(0x3ce))return _0x42cce6;let _0x5d255e={'key':_0xea7880,'status':_0x3f1871(0x49a)};return this[_0x3f1871(0x35b)][_0x3f1871(0x369)](_0xea7880,_0x5d255e),this[_0x3f1871(0x24f)][_0x3f1871(0x3c4)](_0x137447),this[_0x3f1871(0x277)](),_0x5d255e;}['getSnapshot'](_0x6f9ef6){const _0x12562e=_0x2d90a8;return this['_cache'][_0x12562e(0x331)](this[_0x12562e(0x3fc)](_0x6f9ef6));}[_0x2d90a8(0x246)](_0x1c4ac3,_0x41d070,_0x5c1833){const _0x2b37ea=_0x2d90a8;let _0x16cbfc=_0x1c4ac3+'::'+_0x41d070+'::';if(Array[_0x2b37ea(0x34f)](this[_0x2b37ea(0x35b)][_0x2b37ea(0x3dd)]())['forEach'](_0x22dce3=>{const _0x34831f=_0x2b37ea;_0x22dce3[_0x34831f(0x226)](_0x16cbfc)&&this[_0x34831f(0x35b)][_0x34831f(0x2f7)](_0x22dce3);}),_0x5c1833!=null&&_0x5c1833[_0x2b37ea(0x18e)]){let _0x459b2c=this[_0x2b37ea(0x17a)](_0x1c4ac3,_0x41d070);this[_0x2b37ea(0x2c8)]['set'](this[_0x2b37ea(0x3a9)](_0x1c4ac3,_0x41d070),_0x459b2c==null?void 0x0:_0x459b2c[_0x2b37ea(0x408)][_0x2b37ea(0x36b)]);}this[_0x2b37ea(0x2ba)][_0x2b37ea(0x32f)]({'unitId':_0x1c4ac3,'chartId':_0x41d070});}[_0x2d90a8(0x3fc)](_0x14c573){const _0x19279b=_0x2d90a8;var _0x10df3b,_0x5e4ca7,_0x37a1da,_0x254668;return[_0x14c573[_0x19279b(0x2df)],_0x14c573[_0x19279b(0x3ad)],Math['round'](_0x14c573[_0x19279b(0x440)]),Math[_0x19279b(0x1b2)](_0x14c573[_0x19279b(0x45b)]),(_0x10df3b=_0x14c573[_0x19279b(0x231)])==null?0x1:_0x10df3b,(_0x5e4ca7=(_0x37a1da=this['_localeService'])==null?void 0x0:_0x37a1da[_0x19279b(0x371)]())==null?_0x19279b(0x448):_0x5e4ca7,(_0x254668=_0x14c573[_0x19279b(0x1c2)])==null?'main':_0x254668]['join']('::');}async[_0x2d90a8(0x47f)](){const _0x5d8886=_0x2d90a8;for(;this[_0x5d8886(0x24f)][_0x5d8886(0x1f4)]>0x0||this[_0x5d8886(0x363)]||this[_0x5d8886(0x19f)];){var _0x562c0e;await((_0x562c0e=this[_0x5d8886(0x19f)])==null?Promise[_0x5d8886(0x350)]():_0x562c0e),await Promise['resolve']();}}[_0x2d90a8(0x244)](){const _0x309d46=_0x2d90a8;this[_0x309d46(0x35b)]['clear'](),this['_queue'][_0x309d46(0x1f4)]=0x0,this[_0x309d46(0x2c8)][_0x309d46(0x401)](),this[_0x309d46(0x310)]['complete'](),this['chartInvalidated$'][_0x309d46(0x2eb)](),super['dispose']();}[_0x2d90a8(0x1d4)](){return new M(this['_localeService']);}['_drainQueue'](){const _0x5b7953=_0x2d90a8;this[_0x5b7953(0x363)]||(this[_0x5b7953(0x19f)]=this[_0x5b7953(0x3c7)]()[_0x5b7953(0x3c3)](()=>{const _0x219b85=_0x5b7953;this[_0x219b85(0x19f)]=null;}));}[_0x2d90a8(0x3a6)](){const _0x1c7746=_0x2d90a8;let _0x14ac98=new Map();Array['from'](this[_0x1c7746(0x35b)][_0x1c7746(0x3dd)]())[_0x1c7746(0x28b)](_0x4f3d52=>{const _0x56951e=_0x1c7746;let [_0x56ab1e,_0x27302b]=_0x4f3d52['split']('::');_0x56ab1e&&_0x27302b&&_0x14ac98[_0x56951e(0x369)](_0x56ab1e+'::'+_0x27302b,{'unitId':_0x56ab1e,'chartId':_0x27302b});}),this['_cache'][_0x1c7746(0x401)](),_0x14ac98['forEach'](_0x19077b=>{this['chartInvalidated$']['next'](_0x19077b);});}async['_runQueue'](){const _0x113b71=_0x2d90a8;if(!this[_0x113b71(0x363)]){this[_0x113b71(0x363)]=!0x0;try{for(;this[_0x113b71(0x24f)]['length']>0x0;){let _0x54bfff=this[_0x113b71(0x24f)][_0x113b71(0x27a)]();await this['_renderOne'](_0x54bfff);}}finally{this[_0x113b71(0x363)]=!0x1;}}}async[_0x2d90a8(0x3f5)](_0x4178e6){const _0x4fe55a=_0x2d90a8;var _0x9a7a5e;let _0x145f97=this[_0x4fe55a(0x3fc)](_0x4178e6),_0x1a7b9a=this['_cache'][_0x4fe55a(0x331)](_0x145f97);if(!_0x1a7b9a||_0x1a7b9a['status']!==_0x4fe55a(0x49a))return;let _0x5758b7=(_0x9a7a5e=this[_0x4fe55a(0x19e)])==null?void 0x0:_0x9a7a5e[_0x4fe55a(0x3d2)](_0x4178e6[_0x4fe55a(0x2df)],_0x4178e6[_0x4fe55a(0x3ad)]);if(!_0x5758b7){_0x1a7b9a['status']='error',_0x1a7b9a[_0x4fe55a(0x3ce)]=Error(_0x4fe55a(0x1ea)+_0x4178e6[_0x4fe55a(0x2df)]+'/'+_0x4178e6[_0x4fe55a(0x3ad)]),this[_0x4fe55a(0x310)][_0x4fe55a(0x32f)](_0x1a7b9a);return;}try{if(await this['_waitForRuntimeConfig'](_0x5758b7),this[_0x4fe55a(0x35b)][_0x4fe55a(0x331)](_0x145f97)!==_0x1a7b9a||_0x1a7b9a['status']!==_0x4fe55a(0x49a))return;_0x1a7b9a[_0x4fe55a(0x487)]=await this[_0x4fe55a(0x49c)]['render'](_0x4178e6,_0x5758b7),_0x1a7b9a[_0x4fe55a(0x309)]=_0x4fe55a(0x2b1);}catch(_0x5223e3){_0x1a7b9a[_0x4fe55a(0x309)]='error',_0x1a7b9a[_0x4fe55a(0x3ce)]=_0x5223e3;}this['snapshotUpdated$'][_0x4fe55a(0x32f)](_0x1a7b9a);}async['_waitForRuntimeConfig'](_0x28d6aa){const _0x2ac28b=_0x2d90a8;let _0x1df2d7=_0x28d6aa['model'];if(!_0x1df2d7||!_0x1df2d7['config$'])return;let _0x2518bf=this[_0x2ac28b(0x3a9)](_0x28d6aa[_0x2ac28b(0x2df)],_0x28d6aa[_0x2ac28b(0x3ad)]);if(this[_0x2ac28b(0x2c8)]['has'](_0x2518bf)){let _0x4018c3=this[_0x2ac28b(0x2c8)][_0x2ac28b(0x331)](_0x2518bf);if(_0x1df2d7['config']&&_0x1df2d7[_0x2ac28b(0x36b)]!==_0x4018c3){this[_0x2ac28b(0x2c8)]['delete'](_0x2518bf);return;}try{await(0x0,p[_0x2ac28b(0x40e)])(_0x1df2d7['config$'][_0x2ac28b(0x29a)]((0x0,p[_0x2ac28b(0x28d)])(_0x10254a=>_0x10254a!=null&&_0x10254a!==_0x4018c3),(0x0,p[_0x2ac28b(0x43d)])(0x1),(0x0,p[_0x2ac28b(0x343)])({'first':0x3e8})));}catch{}finally{this[_0x2ac28b(0x2c8)][_0x2ac28b(0x2f7)](_0x2518bf);}return;}_0x1df2d7[_0x2ac28b(0x36b)]||await(0x0,p[_0x2ac28b(0x40e)])(_0x1df2d7[_0x2ac28b(0x388)][_0x2ac28b(0x29a)]((0x0,p['filter'])(_0x39a8fc=>_0x39a8fc!=null),(0x0,p[_0x2ac28b(0x43d)])(0x1),(0x0,p[_0x2ac28b(0x343)])({'first':0x3e8})));}[_0x2d90a8(0x3a9)](_0x497ca2,_0x5dc9c4){return _0x497ca2+'::'+_0x5dc9c4;}[_0x2d90a8(0x17a)](_0x2faf80,_0x414e45){const _0xe8c76a=_0x2d90a8;var _0x4fc946,_0x1a6e3a,_0x1c30b3;let _0x119345=this[_0xe8c76a(0x19e)];return(_0x4fc946=_0x119345==null||(_0x1a6e3a=_0x119345[_0xe8c76a(0x2a1)])==null?void 0x0:_0x1a6e3a[_0xe8c76a(0x27e)](_0x119345,_0x2faf80,_0x414e45))==null?_0x119345==null||(_0x1c30b3=_0x119345['ensureChartModel'])==null?void 0x0:_0x1c30b3[_0xe8c76a(0x27e)](_0x119345,_0x2faf80,_0x414e45):_0x4fc946;}};G=C([S(0x0,(0x0,e[_0x2d90a8(0x42a)])(e[_0x2d90a8(0x36c)])),S(0x1,(0x0,e[_0x2d90a8(0x35f)])(a[_0x2d90a8(0x299)])),S(0x2,(0x0,e[_0x2d90a8(0x35f)])(Je)),S(0x3,(0x0,e[_0x2d90a8(0x35f)])(M))],G);let K=class extends e[_0x2d90a8(0x345)]{constructor(_0x16cbf2,_0x17e25b,_0x5b2f15,_0x279bb8){const _0xe69b42=_0x2d90a8;super(),this[_0xe69b42(0x1d9)]=_0x16cbf2,this[_0xe69b42(0x35d)]=_0x17e25b,this[_0xe69b42(0x1c7)]=_0x5b2f15,this[_0xe69b42(0x19e)]=_0x279bb8,this[_0xe69b42(0x1ef)]();}[_0x2d90a8(0x1ef)](){const _0x4773da=_0x2d90a8;this[_0x4773da(0x425)](this[_0x4773da(0x1d9)][_0x4773da(0x2c3)](_0x5400b7=>{const _0x7b41f0=_0x4773da;if(_0x5400b7['id']===a['SetDocChartSnapshotMutation']['id']){var _0x16733b;let _0x28564a=_0x5400b7[_0x7b41f0(0x4a0)];_0x28564a!=null&&_0x28564a[_0x7b41f0(0x2df)]&&(_0x16733b=_0x28564a['chart'])!=null&&_0x16733b['id']&&(this['_shouldWaitForChartConfig'](_0x28564a)?this[_0x7b41f0(0x35d)]['invalidateChart'](_0x28564a['unitId'],_0x28564a[_0x7b41f0(0x217)]['id'],{'waitForConfig':!0x0}):this[_0x7b41f0(0x35d)][_0x7b41f0(0x246)](_0x28564a[_0x7b41f0(0x2df)],_0x28564a[_0x7b41f0(0x217)]['id']));return;}if(_0x5400b7['id']===a[_0x7b41f0(0x393)]['id']){var _0x6bdf4c;let _0x3aab60=_0x5400b7['params'];if(!(_0x3aab60!=null&&_0x3aab60[_0x7b41f0(0x2df)])||!((_0x6bdf4c=_0x3aab60[_0x7b41f0(0x1d3)])!=null&&_0x6bdf4c['id']))return;this['_resourceService'][_0x7b41f0(0x238)](_0x3aab60[_0x7b41f0(0x2df)],_0x3aab60[_0x7b41f0(0x1d3)]['id'])['forEach'](_0x2e4e19=>this[_0x7b41f0(0x35d)]['invalidateChart'](_0x3aab60[_0x7b41f0(0x2df)],_0x2e4e19,{'waitForConfig':!0x0}));}}));}[_0x2d90a8(0x3b8)](_0x122f43){const _0x4088ee=_0x2d90a8;var _0x65bdd4;let _0x9f0595=(_0x65bdd4=this[_0x4088ee(0x19e)])==null||(_0x65bdd4=_0x65bdd4[_0x4088ee(0x2a1)](_0x122f43[_0x4088ee(0x2df)],_0x122f43['chart']['id']))==null||(_0x65bdd4=_0x65bdd4[_0x4088ee(0x408)][_0x4088ee(0x36b)])==null?void 0x0:_0x65bdd4[_0x4088ee(0x302)];return _0x9f0595!=null&&_0x9f0595!==_0x122f43[_0x4088ee(0x217)][_0x4088ee(0x1bb)];}};K=C([S(0x0,e[_0x2d90a8(0x39d)]),S(0x1,(0x0,e[_0x2d90a8(0x42a)])(G)),S(0x2,(0x0,e[_0x2d90a8(0x42a)])(a[_0x2d90a8(0x1b6)])),S(0x3,(0x0,e[_0x2d90a8(0x42a)])(a[_0x2d90a8(0x299)]))],K);const q=_['id'],Xe=q+_0x2d90a8(0x3da),Ze=[{'label':_0x2d90a8(0x317),'value':s['ChartTypeBits'][_0x2d90a8(0x40a)],'icon':_0x2d90a8(0x1df)},{'label':_0x2d90a8(0x483),'value':s['ChartTypeBits'][_0x2d90a8(0x1cc)],'icon':_0x2d90a8(0x291)},{'label':_0x2d90a8(0x278),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x31d)],'icon':_0x2d90a8(0x3a5)},{'label':_0x2d90a8(0x25b),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x17d)],'icon':_0x2d90a8(0x30c)},{'label':_0x2d90a8(0x1ad),'value':s[_0x2d90a8(0x42e)]['BarStacked'],'icon':_0x2d90a8(0x30c)},{'label':_0x2d90a8(0x3d9),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x33f)],'icon':_0x2d90a8(0x30c)},{'label':_0x2d90a8(0x412),'value':s[_0x2d90a8(0x42e)]['Area'],'icon':_0x2d90a8(0x3d1)},{'label':_0x2d90a8(0x1c9),'value':s['ChartTypeBits']['AreaStacked'],'icon':'AreaChartIcon'},{'label':_0x2d90a8(0x383),'value':s['ChartTypeBits'][_0x2d90a8(0x290)],'icon':_0x2d90a8(0x3d1)},{'label':_0x2d90a8(0x1c6),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x1d8)],'icon':_0x2d90a8(0x37c)},{'label':_0x2d90a8(0x230),'value':s['ChartTypeBits'][_0x2d90a8(0x2c7)],'icon':_0x2d90a8(0x26a)},{'label':'docs-chart-ui.chartTypes.scatter','value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x374)],'icon':'ScatterChartIcon'},{'label':_0x2d90a8(0x3e3),'value':s[_0x2d90a8(0x42e)]['WordCloud'],'icon':_0x2d90a8(0x3cc)},{'label':_0x2d90a8(0x1a2),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x194)],'icon':'FunnelIcon'},{'label':_0x2d90a8(0x390),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x3d7)],'icon':_0x2d90a8(0x423)},{'label':'docs-chart-ui.chartTypes.relation','value':s['ChartTypeBits'][_0x2d90a8(0x266)],'icon':_0x2d90a8(0x2ea)},{'label':'docs-chart-ui.chartTypes.waterfall','value':s[_0x2d90a8(0x42e)]['Waterfall'],'icon':_0x2d90a8(0x467)},{'label':'docs-chart-ui.chartTypes.pareto','value':s['ChartTypeBits']['Pareto'],'icon':_0x2d90a8(0x26a)},{'label':_0x2d90a8(0x27b),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x480)],'icon':'SankeyChartIcon'},{'label':_0x2d90a8(0x25a),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x30d)],'icon':'HeatmapChartIcon'},{'label':_0x2d90a8(0x269),'value':s[_0x2d90a8(0x42e)][_0x2d90a8(0x35c)],'icon':'BoxplotIcon'}];function J(_0x538186){const _0x3b0744=_0x2d90a8;return(0x0,p['combineLatest'])([(0x0,u['disableMenuWhenHeaderFooterEditing'])(_0x538186),Qe(_0x538186)])[_0x3b0744(0x29a)]((0x0,p[_0x3b0744(0x22b)])(([_0x4012f5,_0x145151])=>_0x4012f5||_0x145151));}function Qe(_0x15832f){const _0x45454c=_0x2d90a8;let _0x4e475c=_0x15832f['get'](l[_0x45454c(0x311)]),_0x2b5b07=_0x15832f[_0x45454c(0x331)](e[_0x45454c(0x2e2)]);return new p[(_0x45454c(0x45f))](_0xaff6d1=>{const _0x5428da=_0x45454c;let _0x3a0c88=_0x3dd8b8=>{const _0x1e0e02=_0x40d6;var _0x2333d4,_0x53262c,_0x401cf8,_0x2a34f4,_0x272372;let _0x622e61=_0x2b5b07['getCurrentUnitOfType'](e[_0x1e0e02(0x2fb)][_0x1e0e02(0x2ae)]);if(!_0x622e61){_0xaff6d1['next'](!0x0);return;}let _0x194653=(_0x2333d4=_0x3dd8b8==null?void 0x0:_0x3dd8b8[_0x1e0e02(0x3ed)])==null?[...(_0x53262c=_0x4e475c[_0x1e0e02(0x462)]())==null?[]:_0x53262c]:_0x2333d4;if(_0x194653[_0x1e0e02(0x1f4)]!==0x1){_0xaff6d1[_0x1e0e02(0x32f)](!0x0);return;}let _0x3526c5=(_0x401cf8=_0x4e475c['getActiveTextRange']())==null?_0x194653[0x0]:_0x401cf8;if(!_0x3526c5||!_0x3526c5[_0x1e0e02(0x368)]||_0x3526c5[_0x1e0e02(0x3ba)]==null){_0xaff6d1[_0x1e0e02(0x32f)](!0x0);return;}let _0x3694fc=F(_0x622e61,{..._0x3526c5,'segmentId':(_0x2a34f4=(_0x272372=_0x3526c5[_0x1e0e02(0x36f)])==null?_0x3dd8b8==null?void 0x0:_0x3dd8b8[_0x1e0e02(0x36f)]:_0x272372)==null?'':_0x2a34f4});_0xaff6d1[_0x1e0e02(0x32f)](_0x3694fc==null);};_0x3a0c88();let _0x1cfc9a=_0x4e475c['textSelection$'][_0x5428da(0x255)](_0x17ec83=>_0x3a0c88(_0x17ec83));return()=>_0x1cfc9a[_0x5428da(0x297)]();});}function $e(_0x1d3cd0){const _0x5b55c8=_0x2d90a8;return{'id':q,'type':n[_0x5b55c8(0x2cd)]['SELECTOR'],'selections':Ze,'icon':'ChartIcon','tooltip':_0x5b55c8(0x31b),'disabled$':J(_0x1d3cd0),'hidden$':(0x0,n[_0x5b55c8(0x46d)])(_0x1d3cd0,e[_0x5b55c8(0x2fb)][_0x5b55c8(0x2ae)])};}function _0x41a7(){const _0x335bc8=['appendInlineTableColumn','PARAGRAPH','subUnitId','_initAdapter','compactInlineTableValues','setRenderModel','docs-chart-ui.verticalAxis','docs-chart-ui.chartNotFound','finally','push','fillOpacity','contentType','_runQueue','IconManager','Top','blockRanges','_ownsRenderModelManager','CloudOutlineIcon','Border\x20dash','error','100%','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','AreaChartIcon','ensureChartModel','_updatePosition','getEditorState','initData','add$','Bubble','25808FVWPdj','docs-chart-ui.chartTypes.barPercentStacked','.below','baseOn','getRegisteredThemes','keys','_localeService','ComponentManager','DocChartRenderService','fontSize','shape','docs-chart-ui.chartTypes.wordCloud','refreshTransform$','applyHostStyle','Horizontal\x20width','_menuManagerService','toSpec','pluginName','getColors','BUTTON','getActiveTextRange','textRanges','render','docs-chart-ui.updateChartFailed','removeFloatDom','gradientFill','bind','_getPasteMutationInfos','style$','_renderOne','Series','ChartColorField','getBoundingClientRect','drawingId','_applyHostStyle','primary','getCacheKey','_initClipboardHooks','buildChartTypeSelectOptions','DOC_CHART_INSERT_MENU_OPTIONS','getDrawingShapeKeyByDrawingSearch','clear','EMPTY_PARAGRAPH_MENU_ID','_init','ContextMenuPosition','Gap','checkMounted','CategoryName','model','tick','Line','ContextMenuGroup','SECTION_BREAK','className','firstValueFrom','minRows','docTransform','targetDrawing','docs-chart-ui.chartTypes.area','Dom','DOC_CHART_DATA_EDITOR_COMPONENT','firstColumnAsCategory','EChartRenderModel','InsertDocChartCommand','doc','univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg','xAxis','endOffset','getHostStyle','Line\x20style','docs-chart-ui.active-chart','showLabelLine','docs-chart-ui.useAbsoluteValue','Left','getDataSourceSharingCount','BubbleIcon','dataSources','disposeWithMe','point','registerRenderModel','WaterfallStackTypeEnum','univer-mx-0\x20univer-mt-0','Inject','combineLatest','dblclick','Label\x20rotate','ChartTypeBits','assignChartContext','OpenDocChartInsertDialogOperation','Inside','duplicate','Bottom','getRenderColor','openEditorDialog','Stacked','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','overflow','mergeMenu','_configService','useSubtotal','stackType','take','setClipBounds','DOC_CHART_EDITOR_DIALOG_ID','width','context','ChartSelectField','13632588SibDQI','docs-chart-ui.showDataLabels','attachTransformerTo','nodeShape','Force','ltr','AreaLineStyle','default','PieLabelPosition','Series\x20style','transform','angle','buildInlineTableDataSet','DocChartDrawingEditController','DocChartInlineTableEditor','current','changeSource','item','DOC_CHART_INSERT_PANEL_COMPONENT','match','radar','continuous','getFocusDrawings','split','height','entries','_rect','contains','Observable','Select\x20mode','register','getTextRanges','SeriesName','Single','getRenderById','_chartThemeService','WaterfallChartIcon','focus','docs-chart-ui.series','Checkbox','DOC_CHART_INSERT_BELOW_MENU_ID','Document\x20chart\x20','getMenuHiddenObservable','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','Visual\x20map','DOC_CHART_EDITOR_DIALOG_COMPONENT','ChartBorderDashType','docs-chart-ui.title','UpdateDocChartDataSourceCommand','observe','ChartIcon','normalizeInlineTableValues','_forEachChartDrawing','_renderCharts','addObject','Module','ImageChartHost','RemoveDocChartDataSourceMutation','4FbGcbh','repeat','flushForTests','Sankey','insertRange','borderColor','docs-chart-ui.chartTypes.column','select','indexOf','onContextChange','dataUrl','Square','docs-chart-ui.chartAndAxisTitles','UniverLicensePlugin','Smooth','categoryIndex','_dialogService','_renderManagerService','getDataSource','isHalfPie','updateData','min(560px,\x20calc(100vh\x20-\x20180px))','Select','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','chartAndAxisTitles','updateChartContext','DocChartInsertService','content-box','canva','pending','display','_renderer','commitSnapshot','doc-chart.dialog.insert','Title\x20position','params','Title\x20font\x20size','Use\x20values\x20as\x20node\x20size','SeriesLabelPosition','getOwnPropertyDescriptor','getCurrentTypeOfUnit$','hide','BreakLineCommand','registerCommand','Max','_getActiveRenderRect','_resolveInsertPosition','clientWidth','data','Dotted','_renderService','markReady','_getRuntimeModel','updateDataAggregation','charts','Bar','FunnelIcon','PercentStack','8687169FckvZV','univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','chartStyle','_registerIcons','587815nelesm','visible','Piecewise','gridlinesAndTicks','UpdateDocChartConfigCommand','#666666','_captureInsertRange','order','chartContext','indicatorLine','waitForConfig','titles','_hostStyle','px\x20solid\x20','docs-chart-ui.horizontalAxis','rightYAxisTitle','Funnel','resolveDefaultChartHostFrameStyle','getDrawingDataForUnit','DocChartInsertMenuItemFactory','doc-chart.dialog.data-editor','Right\x20vertical\x20axis\x20title','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Node\x20shape','block','DUPLICATE','_modelService','_activeDrain','hidden','contentRect','docs-chart-ui.chartTypes.funnel','DocChartSnapshotRefreshController','RemoveDocChartSnapshotMutation','Axis\x20title\x20font\x20size','lineVisible','ChartEditPanelTabs','DOC_CHART_INSERT_MENU_ID','renderRect','toPrimitive','subtitle','dashType','docs-chart-ui.chartTypes.barStacked','getBody','univer-mb-2\x20univer-flex\x20univer-items-center','DocDomChartHost','endIndex','round','gap','div','docs-chart-ui.chartType','DocChartResourceService','textStyle','syncExecuteCommand','onReady','getCanvasElement','chartType','area','SetDocChartSnapshotMutation','_prepareStandaloneInsertLine','Border\x20width','generateRandomId','docs-chart-ui.customizeChart','mode','defaultChartType','parseInlineTable','_renderDrawing','docs-chart-ui.chartTypes.radar','_resourceService','univer-w-[--radix-popper-anchor-width]','docs-chart-ui.chartTypes.areaStacked','_requestSnapshotsForSearches','Row\x20','Column','getChart','univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','object','docs-chart-ui.chartTypes.scatter','fill','Color','dataSource','_createRenderService','__docsChartResource','Repeat\x20words','DRAWING_CHART','Radar','_commandService','useDependency','function','insertChart','theme','toDisposable','LineChartIcon','_manageHostSize','DocChartPrintService','createRenderSpec','DOCS_CHART_UI_PLUGIN_CONFIG_KEY','univer-bg-white/90\x20dark:!univer-bg-gray-900/90\x20univer-absolute\x20univer-bottom-3\x20univer-left-3\x20univer-rounded\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-text-red-600','Hide','insertChartFromText','LabelContentType','backgroundColor','StaticChartSource','Missing\x20runtime\x20document\x20chart\x20model:\x20','docs-chart-ui.showLabels','generateChartModelContextByOperators','Category','DocChartEditorDialog','_listenChartResourceMutations','A\x0912','doc-chart.data-editor','univer-mt-2','@univerjs-pro/docs-chart-ui','length','markNotReady','open','customBlockMappings','updateChartStyle','index','getCurrentRenderModel','docs-chart-ui.duplicate','lastIndexOf','Switch\x20to\x20row/column','Line\x20type','getObjectIncludeInGroup','RadarShape','skip','DocDrawingFloatingToolbarAdapterService','LAYOUT','removeObject','DOC_DRAWING_PRINTING_COMPONENT_KEY','onChartTypeChange','_retryActivateFocusedChart','some','_docSelectionManagerService','symbol','DOC_PARAGRAPH_T_INSERT_MENU_ID','Themes','IChartRenderModelManagerService','transparent','docs-chart-ui.chartStyle','firstRowAsHeader','Diamond','#ffffff','pie','heatmap','Circular','relation','chart','AreaStacked','consumeInsertRange','IDocClipboardPasteAdapterService','left','_renderModelManager','Use\x20subtotal','defineProperty','updateChartType','UniverDocsDrawingUIPlugin','then','chartBitsUtils','values','Solid','_getRenderRect','startsWith','borderStyle','IDocChartRenderModelService','Percentage','Number/date\x20format','map','Show\x20ticks','_docClipboardService','onChange','position$','docs-chart-ui.chartTypes.combination','dpr','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','BehaviorSubject','label','span','Column\x20','includes','getChartIdsByDataSource','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','RelationChartLayoutEnum','DocChartDataEditorSubmitMode','legend','useAbsValue','_setElementSize','Polygon','_createImageShape','getCurrentUnitOfType','Label\x20position','_iconManager','dispose','doc-chart.snapshot-renderer','invalidateChart','Waterfall','#d1d5db','_host','Theme','getAncestorScale','has','useMemo','Triangle','_queue','breakOffsets','Area','Opacity','funnel','SelectModeEnum','subscribe','DocContentInsertService','_univerInstanceService','TitlePositionEnum','xAxisTitle','docs-chart-ui.chartTypes.heatmap','docs-chart-ui.chartTypes.bar','DocImageChartHost','lineStyle','_subscribeRender','onStyleChange','position','getDrawingByParam','doc-chart.render-model','style','ChartInlineTableEditor','Point\x20size','Relation','Gradient\x20fill','IDocClipboardService','docs-chart-ui.chartTypes.boxplot','ComboChartIcon','decorate','None','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-pb-3','DataStreamTreeTokenType','indicatorLineColor','ScatterChartIcon','version','requestSnapshot','univer-flex\x20univer-min-h-full\x20univer-flex-col\x20univer-px-1','addFloatDom','max','univer-text-xs\x20univer-text-red-600','_drainQueue','docs-chart-ui.chartTypes.pie','_config','shift','docs-chart-ui.chartTypes.sankey','docs-chart-ui.gridlinesAndTicks','_removeRenderedCharts','call','Circle','Image','_isDocChartDrawing','StackType','DocChartDataEditor','registerAdapter','join','string','remove$','_getDrawingRect','slice','doc.operation.open-doc-chart-editor-dialog','forEach','ChartHostRenderMode','filter','Dashed','_injector','AreaPercentStacked','ColumnChartIcon','C\x099','show','Percent','_activeLayer','Shape','unsubscribe','10kOvwtb','DocChartModelService','pipe','disconnect','MEDIA','Close','resolveChartRuntimeStyle','ChartRenderModelManagerService','Line\x20and\x20area','getChartModel','DOC_WORD_CLOUD_RENDER_CONFIG','docs-chart-ui.cancel','univer-text-xs','getViewport','Disabled','univer-min-h-0\x20univer-flex-1','drawingType','applyInlineTablePaste','_getContentRect','jsxs','docs-chart-ui.fill','docs-chart-ui.setupChart','UNIVER_DOC','doc-chart.insert-panel','docs-chart-ui.chartTypes.pareto','ready','Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20','appendInlineTableRow','Stack','Fill\x20area','Tools','useRef','useState','Subject','chartInvalidated$','WordCloudShapeEnum','_dataUrl','100%\x20stacked','onValuesChange','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pb-3','Doughnut\x20hole','9242064dkbxvK','src','onCommandExecuted','column','DocsChartUIMenuSchema','yAxis','Combination','_configWaitKeys','_getDrawing','border','dispatchEvent','_renderEntry','MenuItemType','button','useEffect','createRenderInput','getDrawingEditable','Multiple','replaceChildren','742TvVcdy','key','selectMode','doc-chart.editor-dialog','OPERATION','Continuous','DOC_ACTIVE_CHART_COMPONENT','BarStacked','gridLine','initTransformer','parseInt','unitId','ChartAttributeBits','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','IUniverInstanceService','createElement','univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','onStarting','_activate','12nXvGzm','ChartCheckboxField','docs-chart-ui.chartTypes.relation','RelationshipIcon','complete','getChartHostFrameContentRect','dataSourceId','docs-chart-ui.config','DocChartSnapshotRenderService','mountChart','nextVersion','ChartEditBlockTitle','dataAggregation','merge','DocChartInsertRibbonMenuItemFactory','_snapshotRenderService','delete','Auto','Step','waterfall','UniverInstanceType','\x20has\x20no\x20render\x20config.','ensureMount','WordCloud','allSeriesStyle','_floatingToolbarAdapterService','ChartTextField','type','edit','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','rosePie','borderRadius','title','color','status','RibbonInsertGroup','docs-chart-ui.tableDataEmpty','BarChartIcon','Heatmap','packageName','indicatorLineType','snapshotUpdated$','DocSelectionManagerService','Injector','dataStream','Pareto','useValueAsSymbolSize','_deactivate','docs-chart-ui.chartTypes.line','registerWordCloudChart','openInsertDialog','visualMapType','docs-chart-ui.insertChart','_initMenus','Pie','defaultChartConfig','1788582DneYlF','startIndex','univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','Label\x20font\x20size','-data-source','piecewise','appendChild','Plugin','border-box','getDataUrl','series','_registerDialogOperations','_getChartDrawing','shouldComposeChartHostFrame','doc.operation.open-doc-chart-insert-dialog','VIEW_MAIN','next','clipBounds','get','min','Outside','img','printChart','docs-chart-ui.data','labelStyle','_appendChartResources','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-flex-col\x20univer-gap-4\x20univer-bg-white\x20dark:!univer-bg-gray-900','UniverDocsChartUIPlugin','jsx','_canvasFloatDomService','LinePointShape','docs-chart-ui.chartTypes.waterfall','BarPercentStacked','_mountNode','horizontalAxis','_requestSnapshot','timeout','lineAndArea','Disposable','syncLayout','direction$','defaultTableText','DrawingTypeEnum','size','trim','331055YghnEV','docs-chart-ui.previewRenderFailed','focus$','from','resolve','small','value','wordCloud','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','docs-chart-ui.indicatorLine','source','radius','univer-shrink-0','Button','INSERT_BELLOW_MENU_ID','_cache','Boxplot','_snapshotService','constructor','Optional','DocChartDataEditService','tooltip','getRect','_rendering','_initCommands','IMenuManagerService','main','_instanceService','collapsed','set','setStyle','config','LocaleService','remove','IDrawingManagerService','segmentId','CanvasFloatDomService','getDirection','titlePosition','docs-chart-ui.subtitle','Scatter','getSelfOrHeaderFooterModel','_getOrCreatePastedDataSourceId','createChartInstance','IncreaseIcon','docs-chart-ui.save','IConfigService','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-3','RadarChartIcon','docs-chart-ui.editChart','defaultPluginConfig','_pasteAdapterService','_registerComponents','DocChartInsertBelowMenuItemFactory','Position','docs-chart-ui.chartTypes.areaPercentStacked','_componentManager','_createChartRenderInstanceContext','getRuntimeContext','Right','config$','content','_layoutChanged$','VIEWPORT_KEY','_drawingManagerService','docs-chart-ui.close','univer-w-full\x20!univer-min-w-0','top','docs-chart-ui.chartTypes.bubble','row','Arrangement','SetDocChartDataSourceMutation','DocPrintChart','33AlmJZX','reverse','e.g.\x200.00…','getUnitId','rotate','Min','Half\x20pie','onClose','ICommandService','deepClone','Point\x20shape','createIdentifier','Add\x20series','scene','SankeyIcon','SHARED','PieChartIcon','_invalidateSnapshotsForDirectionChange','LegendPositionEnum','ChartPropertyRow','_getChartKey','IRenderManagerService','orient','root','chartId','boxSizing','docs-chart-ui.visible','_getPosition','#4086f4','getRenderModel','_docContentInsertService','EChartRenderEngineName','IDocChartSnapshotRendererService','DocChartActiveRenderService','DuplicateDocChartDataSourceCommand','_shouldWaitForChartConfig','ChartNumberField','startOffset'];_0x41a7=function(){return _0x335bc8;};return _0x41a7();}function et(_0xf3a857){const _0x559c1d=_0x2d90a8;return{'id':q,'commandId':_['id'],'type':n[_0x559c1d(0x2cd)][_0x559c1d(0x3eb)],'icon':_0x559c1d(0x475),'title':_0x559c1d(0x31b),'tooltip':_0x559c1d(0x31b),'disabled$':J(_0xf3a857),'hidden$':(0x0,n[_0x559c1d(0x46d)])(_0xf3a857,e['UniverInstanceType'][_0x559c1d(0x2ae)])};}function tt(_0x1e70c7){const _0x56a909=_0x2d90a8;return{'id':Xe,'commandId':_['id'],'type':n[_0x56a909(0x2cd)]['BUTTON'],'icon':_0x56a909(0x475),'title':'docs-chart-ui.insertChart','tooltip':'docs-chart-ui.insertChart','disabled$':J(_0x1e70c7),'hidden$':(0x0,n['getMenuHiddenObservable'])(_0x1e70c7,e['UniverInstanceType'][_0x56a909(0x2ae)])};}const nt={[n[_0x2d90a8(0x30a)][_0x2d90a8(0x29c)]]:{[q]:{'order':2.5,'menuItemFactory':$e}},[n[_0x2d90a8(0x404)][_0x2d90a8(0x3bc)]]:{[n[_0x2d90a8(0x40b)]['LAYOUT']]:{[u[_0x2d90a8(0x35a)]]:{[q]:{'order':4.5,'menuItemFactory':et}}},[u[_0x2d90a8(0x402)]]:{[n[_0x2d90a8(0x40b)]['LAYOUT']]:{[q]:{'order':5.5,'menuItemFactory':et}}},[u['DOC_CONTENT_INSERT_MENU_ID']]:{[n['ContextMenuGroup'][_0x2d90a8(0x203)]]:{[q]:{'order':4.5,'menuItemFactory':et}}},[u[_0x2d90a8(0x20b)]]:{'insert':{[q]:{'order':1.5,'menuItemFactory':et}}},[u[_0x2d90a8(0x46e)]]:{'insert':{[Xe]:{'order':1.5,'menuItemFactory':tt}}}}};var rt=_0x2d90a8(0x1f3),it='1.0.0-alpha.3';function at(_0x4b1c7c,_0x19f2f1,_0x5079e1=0x1,_0x3ed69b=0x0){const _0x59192c=_0x2d90a8;let {top:_0x27a98d,left:_0x4eaba1,bottom:_0x5f2f93,right:_0x174bfd}=_0x4b1c7c,_0x4ebe5b=_0x174bfd-_0x4eaba1,_0xb8ffe0=_0x5f2f93-_0x27a98d,{viewportScrollX:_0xc23829,viewportScrollY:_0x3b7d6c}=_0x19f2f1[_0x59192c(0x2a5)](u[_0x59192c(0x38b)][_0x59192c(0x32e)]),{scaleX:_0x46877a,scaleY:_0x392711}=_0x19f2f1[_0x59192c(0x24b)](),_0x365d27=(_0x4eaba1-_0xc23829)*_0x46877a,_0x3cff9a=(_0x27a98d-_0x3b7d6c)*_0x392711,_0x480929=_0x4ebe5b*_0x46877a,_0x52ee93=_0xb8ffe0*_0x392711;return{'startX':_0x365d27,'startY':_0x3cff9a,'endX':_0x365d27+_0x480929,'endY':_0x3cff9a+_0x52ee93,'width':_0x480929,'height':_0x52ee93,'rotate':_0x3ed69b,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x5079e1};}let Y=class extends e[_0x2d90a8(0x345)]{constructor(_0x31c1f8,_0x2a667c,_0x2e97eb,_0x461dc7,_0x40b2f6,_0x4426cf,_0x3f2277,_0x2a17a1,_0x39dd9f){const _0x1f42f7=_0x2d90a8;super(),this['_drawingManagerService']=_0x31c1f8,this[_0x1f42f7(0x48e)]=_0x2a667c,this['_canvasFloatDomService']=_0x2e97eb,this['_modelService']=_0x461dc7,this[_0x1f42f7(0x178)]=_0x40b2f6,this[_0x1f42f7(0x2f6)]=_0x4426cf,this['_commandService']=_0x3f2277,this[_0x1f42f7(0x257)]=_0x2a17a1,this['_localeService']=_0x39dd9f,k(this,_0x1f42f7(0x295),null),k(this,_0x1f42f7(0x38a),new p['Subject']()),this[_0x1f42f7(0x403)]();}[_0x2d90a8(0x2f0)](_0x31c6d2){const _0x20bcbb=_0x2d90a8;let _0x3dfce5=this['_modelService'][_0x20bcbb(0x3d2)](_0x31c6d2['unitId'],_0x31c6d2[_0x20bcbb(0x3ad)]);if(!_0x3dfce5)return(0x0,e[_0x20bcbb(0x1de)])(()=>{});let _0x519aa6=new ke(_0x31c6d2[_0x20bcbb(0x3ad)],_0x31c6d2[_0x20bcbb(0x3ac)],(_0x18dcd3,_0x12a263)=>this['_renderService']['applyHostStyle'](_0x18dcd3,_0x12a263),()=>this[_0x20bcbb(0x173)](_0x31c6d2)),_0x4e5d5e=this[_0x20bcbb(0x178)]['createChartInstance'](s[_0x20bcbb(0x28c)][_0x20bcbb(0x413)]);_0x4e5d5e[_0x20bcbb(0x3f2)](_0x519aa6);let _0x17f72e=[_0x4e5d5e['on'](_0x20bcbb(0x42c),()=>{const _0x509eb1=_0x20bcbb;this['_commandService']['executeCommand'](v['id'],{'unitId':_0x31c6d2['unitId'],'chartId':_0x31c6d2[_0x509eb1(0x3ad)],'drawingId':_0x31c6d2[_0x509eb1(0x3f9)]});})];return _0x17f72e[_0x20bcbb(0x3c4)](this[_0x20bcbb(0x25e)](_0x3dfce5,_0x4e5d5e,_0x31c6d2['drawingId'])),(0x0,e[_0x20bcbb(0x1de)])(()=>{const _0x3d4bb0=_0x20bcbb;_0x17f72e[_0x3d4bb0(0x28b)](_0x32ecba=>_0x32ecba[_0x3d4bb0(0x244)]()),_0x4e5d5e[_0x3d4bb0(0x244)](),_0x519aa6[_0x3d4bb0(0x244)]();});}[_0x2d90a8(0x244)](){const _0x347ca3=_0x2d90a8;this['_deactivate'](),this['_layoutChanged$'][_0x347ca3(0x2eb)](),super[_0x347ca3(0x244)]();}[_0x2d90a8(0x403)](){const _0x30cd58=_0x2d90a8;this[_0x30cd58(0x425)](this['_drawingManagerService'][_0x30cd58(0x34e)][_0x30cd58(0x255)](_0x224998=>{this['_handleFocus'](_0x224998);})),this[_0x30cd58(0x425)](this['_drawingManagerService'][_0x30cd58(0x287)][_0x30cd58(0x255)](_0x22e3b6=>{const _0x272913=_0x30cd58;this['_activeLayer']&&_0x22e3b6[_0x272913(0x208)](_0x221181=>{const _0x4d9f84=_0x272913;var _0x255530;return _0x221181[_0x4d9f84(0x3f9)]===((_0x255530=this[_0x4d9f84(0x295)])==null?void 0x0:_0x255530[_0x4d9f84(0x3f9)]);})&&this['_deactivate']();})),this['disposeWithMe'](this[_0x30cd58(0x38c)][_0x30cd58(0x3e4)][_0x30cd58(0x255)](_0x5399b6=>{const _0x4fc1e5=_0x30cd58;let _0x27fd0f=this[_0x4fc1e5(0x295)];if(!_0x27fd0f){this[_0x4fc1e5(0x207)](_0x5399b6);return;}let _0x388fc1=_0x5399b6['find'](_0x67b7d9=>_0x67b7d9[_0x4fc1e5(0x3f9)]===_0x27fd0f['drawingId']);if(_0x388fc1){let _0xc781a=this[_0x4fc1e5(0x38c)][_0x4fc1e5(0x261)]({'unitId':_0x388fc1[_0x4fc1e5(0x2df)],'subUnitId':_0x388fc1[_0x4fc1e5(0x3bd)],'drawingId':_0x388fc1[_0x4fc1e5(0x3f9)]});this['_isDocChartDrawing'](_0xc781a)&&this[_0x4fc1e5(0x3d3)](_0xc781a);}})),this[_0x30cd58(0x425)](this[_0x30cd58(0x257)][_0x30cd58(0x16e)](e[_0x30cd58(0x2fb)]['UNIVER_DOC'])[_0x30cd58(0x255)](_0x5df34f=>{const _0x373ef2=_0x30cd58;let _0x4be883=this[_0x373ef2(0x295)];_0x4be883&&(_0x5df34f==null?void 0x0:_0x5df34f[_0x373ef2(0x398)]())!==_0x4be883[_0x373ef2(0x2df)]&&this[_0x373ef2(0x316)]();}));}[_0x2d90a8(0x25e)](_0x2dedcb,_0x5072df,_0x521275){const _0x4acf40=_0x2d90a8;let _0x42b478=()=>{const _0x4950fe=_0x40d6;let {chartConfig:_0x3fc412,chartStyle:_0x15fa67}=this['_renderService'][_0x4950fe(0x2d0)](_0x2dedcb);_0x5072df['render']({'chartId':_0x2dedcb[_0x4950fe(0x3ad)],'config':_0x3fc412,'style':_0x15fa67});},_0x20f3da=(0x0,p[_0x4acf40(0x42b)])([_0x2dedcb[_0x4acf40(0x408)][_0x4acf40(0x388)],_0x2dedcb['model'][_0x4acf40(0x3f4)],this[_0x4acf40(0x3de)][_0x4acf40(0x347)]])[_0x4acf40(0x29a)]((0x0,p[_0x4acf40(0x28d)])(([_0x5f5acc])=>_0x5f5acc!=null))[_0x4acf40(0x255)](_0x42b478),_0x4a2b0f=this[_0x4acf40(0x38a)][_0x4acf40(0x29a)]((0x0,p[_0x4acf40(0x28d)])(_0x24104b=>_0x24104b===_0x521275))[_0x4acf40(0x255)](_0x42b478);return(0x0,e[_0x4acf40(0x1de)])(()=>{const _0x494ae2=_0x4acf40;_0x20f3da['unsubscribe'](),_0x4a2b0f[_0x494ae2(0x297)]();});}['_handleFocus'](_0x4b4396){const _0x224bc6=_0x2d90a8;let _0x23bc3a=(_0x4b4396==null?[]:_0x4b4396)[_0x224bc6(0x28d)](_0x54bb8b=>this['_isDocChartDrawing'](_0x54bb8b));if(_0x23bc3a['length']!==0x1){this[_0x224bc6(0x316)]();return;}this[_0x224bc6(0x2e6)](_0x23bc3a[0x0]);}[_0x2d90a8(0x2e6)](_0x31b4a6){const _0x88f813=_0x2d90a8;var _0x5be269,_0x1b37a2,_0x309164;let _0x6b97c6=this['_getPosition'](_0x31b4a6),_0xb31c2d=this[_0x88f813(0x225)](_0x31b4a6);if(!_0x6b97c6||!_0xb31c2d){this['_deactivate']();return;}if(((_0x5be269=this['_activeLayer'])==null?void 0x0:_0x5be269['drawingId'])===_0x31b4a6[_0x88f813(0x3f9)]&&this['_activeLayer'][_0x88f813(0x3ad)]===_0x31b4a6['chartId']){this['_activeLayer'][_0x88f813(0x1a9)]=_0xb31c2d,this[_0x88f813(0x295)][_0x88f813(0x22f)][_0x88f813(0x32f)](_0x6b97c6);return;}this[_0x88f813(0x316)]();let _0x46f290=new p[(_0x88f813(0x233))](_0x6b97c6),_0x68690a=this[_0x88f813(0x48e)]['getRenderById'](_0x31b4a6[_0x88f813(0x2df)]),_0x2049f8=_0x68690a==null||(_0x309164=(_0x1b37a2=_0x68690a['engine'])[_0x88f813(0x1ba)])==null?void 0x0:_0x309164[_0x88f813(0x27e)](_0x1b37a2);this['_canvasFloatDomService'][_0x88f813(0x274)]({'id':_0x31b4a6[_0x88f813(0x3f9)],'componentKey':ot,'position$':_0x46f290,'unitId':_0x31b4a6[_0x88f813(0x2df)],'props':{'chartId':_0x31b4a6[_0x88f813(0x3ad)]},'onPointerDown':_0x40f5f8=>_0x2049f8==null?void 0x0:_0x2049f8[_0x88f813(0x2cb)](new PointerEvent(_0x40f5f8[_0x88f813(0x302)],_0x40f5f8)),'onPointerMove':_0x1b032f=>_0x2049f8==null?void 0x0:_0x2049f8['dispatchEvent'](new PointerEvent(_0x1b032f[_0x88f813(0x302)],_0x1b032f)),'onPointerUp':_0x469db0=>_0x2049f8==null?void 0x0:_0x2049f8['dispatchEvent'](new PointerEvent(_0x469db0['type'],_0x469db0)),'onWheel':_0x1ec7c8=>_0x2049f8==null?void 0x0:_0x2049f8['dispatchEvent'](new WheelEvent(_0x1ec7c8[_0x88f813(0x302)],_0x1ec7c8))}),this[_0x88f813(0x19e)]['setActiveChartById'](_0x31b4a6[_0x88f813(0x2df)],_0x31b4a6[_0x88f813(0x3ad)]),this['_activeLayer']={'unitId':_0x31b4a6['unitId'],'drawingId':_0x31b4a6[_0x88f813(0x3f9)],'chartId':_0x31b4a6[_0x88f813(0x3ad)],'renderRect':_0xb31c2d,'position$':_0x46f290};}[_0x2d90a8(0x316)](){const _0xac9837=_0x2d90a8;let _0x2a24e5=this[_0xac9837(0x295)];_0x2a24e5&&(this['_activeLayer']=null,this[_0xac9837(0x33c)][_0xac9837(0x3f0)](_0x2a24e5[_0xac9837(0x3f9)]),this['_modelService']['setActiveChartRuntime'](null),this[_0xac9837(0x2f6)][_0xac9837(0x246)](_0x2a24e5[_0xac9837(0x2df)],_0x2a24e5[_0xac9837(0x3ad)],{'waitForConfig':!0x0}),_0x2a24e5['position$'][_0xac9837(0x2eb)]());}[_0x2d90a8(0x3d3)](_0x3991dc){const _0x122ac1=_0x2d90a8;let _0x4c67fa=this[_0x122ac1(0x3b0)](_0x3991dc),_0x5ca3e8=this[_0x122ac1(0x225)](_0x3991dc);if(_0x4c67fa&&_0x5ca3e8){var _0xa588ba;this[_0x122ac1(0x295)]&&(this[_0x122ac1(0x295)]['renderRect']=_0x5ca3e8),(_0xa588ba=this[_0x122ac1(0x295)])==null||_0xa588ba[_0x122ac1(0x22f)]['next'](_0x4c67fa),this[_0x122ac1(0x38a)][_0x122ac1(0x32f)](_0x3991dc[_0x122ac1(0x3f9)]);}}[_0x2d90a8(0x207)](_0x35ba27){const _0x10350f=_0x2d90a8;let _0x4e9400=this[_0x10350f(0x38c)][_0x10350f(0x459)]()[_0x10350f(0x28d)](_0xc972ae=>this[_0x10350f(0x281)](_0xc972ae));_0x4e9400[_0x10350f(0x1f4)]===0x1&&_0x35ba27[_0x10350f(0x208)](_0xf39f14=>_0xf39f14['drawingId']===_0x4e9400[0x0][_0x10350f(0x3f9)])&&this[_0x10350f(0x2e6)](_0x4e9400[0x0]);}[_0x2d90a8(0x3b0)](_0x27716f){const _0x2fe73c=_0x2d90a8;var _0x50a0d2,_0x225a78,_0x4fa261,_0x4bffcc,_0x2b4b5c,_0x56a953,_0x46ad35,_0x20d77c,_0x3d170a;let _0x27032f=_0x27716f[_0x2fe73c(0x44d)];if(!_0x27032f)return null;let _0x5824cf=(_0x50a0d2=(_0x225a78=_0x27032f['width'])==null?(_0x4fa261=_0x27716f['docTransform'])==null||(_0x4fa261=_0x4fa261[_0x2fe73c(0x34a)])==null?void 0x0:_0x4fa261[_0x2fe73c(0x440)]:_0x225a78)==null?0x0:_0x50a0d2,_0x55778c=(_0x4bffcc=(_0x2b4b5c=_0x27032f['height'])==null?(_0x56a953=_0x27716f[_0x2fe73c(0x410)])==null||(_0x56a953=_0x56a953[_0x2fe73c(0x34a)])==null?void 0x0:_0x56a953[_0x2fe73c(0x45b)]:_0x2b4b5c)==null?0x0:_0x4bffcc,_0xa4b550=(_0x46ad35=_0x27032f[_0x2fe73c(0x21b)])==null?0x0:_0x46ad35,_0x1b042e=(_0x20d77c=_0x27032f[_0x2fe73c(0x38f)])==null?0x0:_0x20d77c;if(_0x5824cf<=0x0||_0x55778c<=0x0)return null;let _0x21a4a8=this[_0x2fe73c(0x48e)][_0x2fe73c(0x465)](_0x27716f[_0x2fe73c(0x2df)]);return _0x21a4a8!=null&&_0x21a4a8[_0x2fe73c(0x3a2)]?at({'left':_0xa4b550,'top':_0x1b042e,'right':_0xa4b550+_0x5824cf,'bottom':_0x1b042e+_0x55778c},_0x21a4a8[_0x2fe73c(0x3a2)],0x1,(_0x3d170a=_0x27032f[_0x2fe73c(0x44e)])==null?0x0:_0x3d170a):null;}[_0x2d90a8(0x225)](_0xdd2555){const _0x59ccee=_0x2d90a8;var _0x50e80a,_0x32854a,_0x2ebe43,_0x2c8dad,_0x1d452a,_0x4f35bc,_0x1e00f9,_0x71ebf1;let _0x185771=(_0x50e80a=(_0x32854a=(_0x2ebe43=_0xdd2555[_0x59ccee(0x44d)])==null?void 0x0:_0x2ebe43['width'])==null?(_0x2c8dad=_0xdd2555['docTransform'])==null||(_0x2c8dad=_0x2c8dad['size'])==null?void 0x0:_0x2c8dad[_0x59ccee(0x440)]:_0x32854a)==null?0x0:_0x50e80a,_0x3f966b=(_0x1d452a=(_0x4f35bc=(_0x1e00f9=_0xdd2555[_0x59ccee(0x44d)])==null?void 0x0:_0x1e00f9[_0x59ccee(0x45b)])==null?(_0x71ebf1=_0xdd2555[_0x59ccee(0x410)])==null||(_0x71ebf1=_0x71ebf1[_0x59ccee(0x34a)])==null?void 0x0:_0x71ebf1[_0x59ccee(0x45b)]:_0x4f35bc)==null?0x0:_0x1d452a;return _0x185771<=0x0||_0x3f966b<=0x0?null:{'width':Math[_0x59ccee(0x275)](0x1,Math['round'](_0x185771)),'height':Math[_0x59ccee(0x275)](0x1,Math[_0x59ccee(0x1b2)](_0x3f966b))};}[_0x2d90a8(0x173)](_0x4cc214){const _0x5ada1f=_0x2d90a8;let _0x395a8a=this['_activeLayer'];if((_0x395a8a==null?void 0x0:_0x395a8a[_0x5ada1f(0x2df)])===_0x4cc214[_0x5ada1f(0x2df)]&&_0x395a8a[_0x5ada1f(0x3f9)]===_0x4cc214[_0x5ada1f(0x3f9)]&&_0x395a8a[_0x5ada1f(0x3ad)]===_0x4cc214['chartId'])return _0x395a8a['renderRect'];let _0x25e99b=this[_0x5ada1f(0x38c)][_0x5ada1f(0x261)]({'unitId':_0x4cc214[_0x5ada1f(0x2df)],'subUnitId':_0x4cc214['unitId'],'drawingId':_0x4cc214['drawingId']});return this[_0x5ada1f(0x281)](_0x25e99b)?this['_getRenderRect'](_0x25e99b):null;}[_0x2d90a8(0x281)](_0x17198d){const _0x231fcd=_0x2d90a8;let _0x1b1fce=_0x17198d;return(_0x1b1fce==null?void 0x0:_0x1b1fce[_0x231fcd(0x2a8)])===e['DrawingTypeEnum'][_0x231fcd(0x1d7)]&&typeof _0x1b1fce[_0x231fcd(0x3ad)]==_0x231fcd(0x286);}};Y=C([S(0x0,h[_0x2d90a8(0x36e)]),S(0x1,g[_0x2d90a8(0x3aa)]),S(0x2,(0x0,e[_0x2d90a8(0x42a)])(n[_0x2d90a8(0x370)])),S(0x3,(0x0,e['Inject'])(a[_0x2d90a8(0x299)])),S(0x4,(0x0,e[_0x2d90a8(0x42a)])(M)),S(0x5,(0x0,e['Inject'])(G)),S(0x6,e['ICommandService']),S(0x7,e[_0x2d90a8(0x2e2)]),S(0x8,(0x0,e['Inject'])(e[_0x2d90a8(0x36c)]))],Y);const ot=_0x2d90a8(0x41e),st=_0x31b6b1=>{const _0xa37a41=_0x2d90a8;let {unitId:_0x52130c,floatDomId:_0x36e7ca,chartId:_0x2f0a54,context:_0x2136f3}=_0x31b6b1,_0x139d72=(0x0,n[_0xa37a41(0x1da)])(Y);return(0x0,r[_0xa37a41(0x2cf)])(()=>{const _0x52c639=_0xa37a41;let _0x11fa15=_0x2136f3[_0x52c639(0x3ac)][_0x52c639(0x452)];if(!_0x11fa15)return;let _0x55c862=_0x139d72[_0x52c639(0x2f0)]({'unitId':_0x52130c,'drawingId':_0x36e7ca,'chartId':_0x2f0a54,'root':_0x11fa15});return()=>_0x55c862[_0x52c639(0x244)]();},[_0x139d72,_0x2f0a54,_0x2136f3[_0xa37a41(0x3ac)],_0x36e7ca,_0x52130c]),null;};let X=class extends e[_0x2d90a8(0x345)]{constructor(_0x11db36,_0x2489a1){const _0x1848c7=_0x2d90a8;super(),this[_0x1848c7(0x38c)]=_0x11db36,this['_snapshotRenderService']=_0x2489a1;}[_0x2d90a8(0x335)](_0x2a11ff,_0x4e414a,_0x1e8fb9,_0xec5e00){const _0x1f3b8e=_0x2d90a8;let _0x43413f=this[_0x1f3b8e(0x2c9)](_0x2a11ff,_0x4e414a);if(_0x1e8fb9[_0x1f3b8e(0x2d3)](),!_0x43413f)return{'dispose':()=>_0x1e8fb9[_0x1f3b8e(0x2d3)]()};let _0x2b2424={'unitId':_0x2a11ff,'chartId':_0x43413f[_0x1f3b8e(0x3ad)],'width':Math[_0x1f3b8e(0x275)](0x1,Math[_0x1f3b8e(0x1b2)](_0xec5e00[_0x1f3b8e(0x440)])),'height':Math['max'](0x1,Math[_0x1f3b8e(0x1b2)](_0xec5e00[_0x1f3b8e(0x45b)])),'mode':'print'},_0x533feb=this[_0x1f3b8e(0x2f6)]['requestSnapshot'](_0x2b2424);this[_0x1f3b8e(0x2cc)](_0x1e8fb9,_0x533feb);let _0x44e73c=this[_0x1f3b8e(0x2f6)][_0x1f3b8e(0x310)][_0x1f3b8e(0x255)](_0x57c06b=>{const _0x4b65b0=_0x1f3b8e;_0x57c06b['key']===_0x533feb[_0x4b65b0(0x2d5)]&&this[_0x4b65b0(0x2cc)](_0x1e8fb9,_0x57c06b);});return{'dispose':()=>{const _0x443001=_0x1f3b8e;_0x44e73c[_0x443001(0x297)](),_0x1e8fb9[_0x443001(0x2d3)]();}};}['_getDrawing'](_0x571600,_0x3b2f66){const _0x92ee98=_0x2d90a8;let _0x1015ff={'unitId':_0x571600,'subUnitId':_0x571600,'drawingId':_0x3b2f66},_0x5adf26=this[_0x92ee98(0x38c)][_0x92ee98(0x261)](_0x1015ff);return!_0x5adf26||_0x5adf26[_0x92ee98(0x2a8)]!==e[_0x92ee98(0x349)][_0x92ee98(0x1d7)]||!_0x5adf26[_0x92ee98(0x3ad)]?null:_0x5adf26;}[_0x2d90a8(0x2cc)](_0xa3ddda,_0x390c3d){const _0x51c196=_0x2d90a8;if(_0x390c3d['status']!==_0x51c196(0x2b1)||!_0x390c3d[_0x51c196(0x487)])return;let _0x28ef7e=document[_0x51c196(0x2e3)](_0x51c196(0x334));_0x28ef7e[_0x51c196(0x2c2)]=_0x390c3d[_0x51c196(0x487)],_0x28ef7e['alt']='',_0x28ef7e[_0x51c196(0x263)][_0x51c196(0x49b)]=_0x51c196(0x19c),_0x28ef7e[_0x51c196(0x263)]['width']=_0x51c196(0x3cf),_0x28ef7e['style']['height']=_0x51c196(0x3cf),_0xa3ddda[_0x51c196(0x2d3)](_0x28ef7e);}};X=C([S(0x0,h[_0x2d90a8(0x36e)]),S(0x1,(0x0,e['Inject'])(G))],X);const ct=_0x12b3f5=>{const _0x35e8a2=_0x2d90a8;let {unitId:_0x2e1fcf,floatDomId:_0x21dfec,context:_0xea8eba}=_0x12b3f5,_0x1b4c53=(0x0,n[_0x35e8a2(0x1da)])(X);return(0x0,r[_0x35e8a2(0x2cf)])(()=>{const _0x4b6e14=_0x35e8a2;let _0x53dcc6=_0xea8eba['root']['current'];if(!_0x53dcc6)return;let _0x33fc31={'width':Number['parseFloat'](_0x53dcc6[_0x4b6e14(0x263)][_0x4b6e14(0x440)])||_0x53dcc6[_0x4b6e14(0x175)]||0x1,'height':Number['parseFloat'](_0x53dcc6['style']['height'])||_0x53dcc6['clientHeight']||0x1},_0x1a0885=_0x1b4c53[_0x4b6e14(0x335)](_0x2e1fcf,_0x21dfec,_0x53dcc6,_0x33fc31);return()=>_0x1a0885[_0x4b6e14(0x244)]();},[_0xea8eba['root'],_0x21dfec,_0x1b4c53,_0x2e1fcf]),null;};let Z=class extends e[_0x2d90a8(0x345)]{constructor(_0x39f2f4,_0x40d3bf){const _0x2c8d01=_0x2d90a8;super(),this[_0x2c8d01(0x384)]=_0x39f2f4,this[_0x2c8d01(0x243)]=_0x40d3bf,this['_registerIcons'](),this[_0x2c8d01(0x380)]();}[_0x2d90a8(0x183)](){const _0x323f9c=_0x2d90a8;this[_0x323f9c(0x425)](this[_0x323f9c(0x243)][_0x323f9c(0x461)]({'ChartIcon':c[_0x323f9c(0x475)],'AreaChartIcon':c[_0x323f9c(0x3d1)],'BarChartIcon':c[_0x323f9c(0x30c)],'ColumnChartIcon':c['ColumnChartIcon'],'ComboChartIcon':c[_0x323f9c(0x26a)],'LineChartIcon':c['LineChartIcon'],'PieChartIcon':c['PieChartIcon'],'RadarChartIcon':c[_0x323f9c(0x37c)],'ScatterChartIcon':c[_0x323f9c(0x270)],'FunnelIcon':c[_0x323f9c(0x17e)],'CloudIcon':c['CloudOutlineIcon'],'BubbleIcon':c['BubbleIcon'],'RelationshipIcon':c[_0x323f9c(0x2ea)],'WaterfallChartIcon':c['WaterfallChartIcon'],'SankeyChartIcon':c[_0x323f9c(0x3a3)],'HeatmapChartIcon':c['HeatmapIcon'],'BoxplotIcon':c['BoxplotIcon']}));}[_0x2d90a8(0x380)](){const _0x4c14ba=_0x2d90a8;this['disposeWithMe'](this[_0x4c14ba(0x384)][_0x4c14ba(0x461)](z,B)),this[_0x4c14ba(0x425)](this[_0x4c14ba(0x384)][_0x4c14ba(0x461)](ee,x)),this[_0x4c14ba(0x425)](this[_0x4c14ba(0x384)][_0x4c14ba(0x461)](Ne,Pe)),this[_0x4c14ba(0x425)](this[_0x4c14ba(0x384)][_0x4c14ba(0x461)](e[_0x4c14ba(0x205)],ct)),this['disposeWithMe'](this[_0x4c14ba(0x384)][_0x4c14ba(0x461)](ot,st));}};Z=C([S(0x0,(0x0,e[_0x2d90a8(0x42a)])(n[_0x2d90a8(0x3df)])),S(0x1,(0x0,e['Inject'])(n[_0x2d90a8(0x3c8)]))],Z);const lt={'borderEnabled':!0x0,'borderStroke':_0x2d90a8(0x3b1),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':'#ffffff','anchorStroke':_0x2d90a8(0x3b1),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0x2d90a8(0x499),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':'bottom','rotateLineEnabled':!0x1,'rotateFill':_0x2d90a8(0x212),'rotateStroke':_0x2d90a8(0x3b1),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':'#4086f4','rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1},ut={...lt,'rotateEnabled':!0x1};let dt=class extends e['Disposable']{constructor(_0x17299a,_0xb11bd6,_0x2c6ca2){const _0x2f69b2=_0x2d90a8;super(),this['_drawingManagerService']=_0x17299a,this['_renderManagerService']=_0xb11bd6,this[_0x2f69b2(0x2f6)]=_0x2c6ca2,this[_0x2f69b2(0x403)]();}[_0x2d90a8(0x403)](){const _0x54823d=_0x2d90a8;this[_0x54823d(0x425)](this[_0x54823d(0x38c)][_0x54823d(0x3d6)][_0x54823d(0x255)](_0x33b651=>{const _0x3d5b8a=_0x54823d;this[_0x3d5b8a(0x1ca)](_0x33b651);})),this[_0x54823d(0x425)](this[_0x54823d(0x38c)][_0x54823d(0x3e4)][_0x54823d(0x255)](_0x2c25fe=>{const _0x1e5f35=_0x54823d;this[_0x1e5f35(0x1ca)](_0x2c25fe);})),this[_0x54823d(0x425)](this['_drawingManagerService']['remove$']['subscribe'](_0x470f73=>{const _0x36df7f=_0x54823d;this[_0x36df7f(0x27d)](_0x470f73);})),this[_0x54823d(0x425)](this[_0x54823d(0x2f6)][_0x54823d(0x2ba)][_0x54823d(0x255)](({unitId:_0x227d85,chartId:_0x155d4c})=>{this['_requestSnapshotsForUnit'](_0x227d85,_0x155d4c);})),this['disposeWithMe'](this[_0x54823d(0x2f6)]['snapshotUpdated$'][_0x54823d(0x255)](_0x24de18=>{const _0x2e69a5=_0x54823d;if(_0x24de18[_0x2e69a5(0x309)]!==_0x2e69a5(0x2b1)||!_0x24de18[_0x2e69a5(0x487)])return;let [_0x2b0793,_0x1fa553]=_0x24de18[_0x2e69a5(0x2d5)]['split']('::');!_0x2b0793||!_0x1fa553||this['_renderCharts'](_0x2b0793,_0x1fa553,_0x24de18[_0x2e69a5(0x487)]);}));}[_0x2d90a8(0x1ca)](_0xc7c6a9){const _0x15af3c=_0x2d90a8;_0xc7c6a9[_0x15af3c(0x28b)](_0x42a477=>{const _0x133a9a=_0x15af3c;let _0x1610bf=this[_0x133a9a(0x32b)](_0x42a477);_0x1610bf&&this[_0x133a9a(0x342)](_0x1610bf);});}['_requestSnapshotsForUnit'](_0xd24b1c,_0x43b541){const _0x14aa5a=_0x2d90a8;this[_0x14aa5a(0x477)](_0xd24b1c,_0x19648b=>{const _0x5ca227=_0x14aa5a;(_0x43b541==null||_0x19648b[_0x5ca227(0x3ad)]===_0x43b541)&&this[_0x5ca227(0x342)](_0x19648b);});}['_requestSnapshot'](_0x1a289b){const _0x12ab85=_0x2d90a8;let _0x443fa6=this[_0x12ab85(0x288)](_0x1a289b);if(!_0x443fa6)return;let _0x1e6ad=this[_0x12ab85(0x2f6)][_0x12ab85(0x272)]({'unitId':_0x1a289b[_0x12ab85(0x2df)],'chartId':_0x1a289b[_0x12ab85(0x3ad)],'width':_0x443fa6[_0x12ab85(0x440)],'height':_0x443fa6[_0x12ab85(0x45b)],'dpr':typeof window>'u'?0x1:window['devicePixelRatio']||0x1,'mode':_0x12ab85(0x366)});_0x1e6ad[_0x12ab85(0x309)]==='ready'&&_0x1e6ad[_0x12ab85(0x487)]&&this[_0x12ab85(0x1c5)](_0x1a289b,_0x1e6ad['dataUrl']);}[_0x2d90a8(0x478)](_0x5b8c4d,_0x58d4a9,_0x5612f1){const _0x20cdf7=_0x2d90a8;this[_0x20cdf7(0x477)](_0x5b8c4d,_0x8964e=>{const _0x33dd7a=_0x20cdf7;_0x8964e[_0x33dd7a(0x3ad)]===_0x58d4a9&&this[_0x33dd7a(0x1c5)](_0x8964e,_0x5612f1);});}[_0x2d90a8(0x1c5)](_0x5eadd9,_0x3a24b5){const _0x5623c5=_0x2d90a8;let _0xd0cb21=this[_0x5623c5(0x48e)]['getRenderById'](_0x5eadd9[_0x5623c5(0x2df)]),_0x3b7c96=_0xd0cb21==null?void 0x0:_0xd0cb21[_0x5623c5(0x3a2)];if(!_0x3b7c96||!this['_getDrawingRect'](_0x5eadd9))return;this[_0x5623c5(0x38c)]['getDrawingEditable']()&&_0x3b7c96[_0x5623c5(0x2dd)](lt);let _0x4f23a3=(0x0,h[_0x5623c5(0x400)])(_0x5eadd9),_0x238c41=_0x3b7c96[_0x5623c5(0x1ff)](_0x4f23a3);if(_0x238c41!=null&&_0x238c41[_0x5623c5(0x453)]){var _0x54ded9,_0x30b2d2,_0xbc6783,_0xb5efcc,_0x3d8fd3,_0x380a66;_0x238c41['transformerConfig']={..._0x238c41['transformerConfig'],...ut},_0x238c41[_0x5623c5(0x453)](_0x3a24b5),(_0x54ded9=_0x238c41['transformByState'])==null||_0x54ded9['call'](_0x238c41,_0x5eadd9['transform']),(_0x30b2d2=_0x238c41[_0x5623c5(0x43e)])==null||_0x30b2d2[_0x5623c5(0x27e)](_0x238c41,(_0xbc6783=_0x5eadd9['transform'])==null?void 0x0:_0xbc6783['clipBounds']),_0x5eadd9[_0x5623c5(0x1a0)]===!0x0?(_0xb5efcc=_0x238c41[_0x5623c5(0x16f)])==null||_0xb5efcc[_0x5623c5(0x27e)](_0x238c41):(_0x3d8fd3=_0x238c41[_0x5623c5(0x293)])==null||_0x3d8fd3['call'](_0x238c41),(_0x380a66=_0x238c41['makeDirty'])==null||_0x380a66[_0x5623c5(0x27e)](_0x238c41,!0x0);return;}this[_0x5623c5(0x240)](_0x5eadd9,_0x3a24b5,_0x3b7c96,_0x4f23a3);}['_createImageShape'](_0x484895,_0x245d21,_0x2fde72,_0x5b7242){const _0x493308=_0x2d90a8;let _0x3783d0=_0x484895[_0x493308(0x44d)];if(!_0x3783d0)return;let _0x204b94=this[_0x493308(0x38c)]['getDrawingOrder'](_0x484895[_0x493308(0x2df)],_0x484895[_0x493308(0x3bd)]),_0x25680b=_0x204b94[_0x493308(0x485)](_0x484895[_0x493308(0x3f9)]),_0x1517bf={..._0x3783d0,'zIndex':_0x25680b===-0x1?_0x204b94[_0x493308(0x1f4)]-0x1:_0x25680b,'clipBounds':_0x3783d0[_0x493308(0x330)],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':ut,'url':_0x245d21};_0x484895[_0x493308(0x1a0)]&&(_0x1517bf[_0x493308(0x185)]=!0x1);let _0x2161d0=new g[(_0x493308(0x280))](_0x5b7242,_0x1517bf);_0x2fde72[_0x493308(0x479)](_0x2161d0,g['DRAWING_OBJECT_LAYER_INDEX']),this[_0x493308(0x38c)][_0x493308(0x2d1)]()&&_0x2fde72[_0x493308(0x445)](_0x2161d0);}['_removeRenderedCharts'](_0x30091e){_0x30091e['forEach'](_0x1b8d5d=>{const _0x4d9717=_0x40d6;let _0x49cb55=this['_renderManagerService'][_0x4d9717(0x465)](_0x1b8d5d[_0x4d9717(0x2df)]),_0x133d6f=_0x49cb55==null?void 0x0:_0x49cb55['scene'];if(!_0x133d6f)return;let _0x424b4d=_0x133d6f[_0x4d9717(0x1ff)]((0x0,h['getDrawingShapeKeyByDrawingSearch'])(_0x1b8d5d));_0x424b4d&&_0x133d6f[_0x4d9717(0x204)](_0x424b4d);});}[_0x2d90a8(0x32b)](_0xbd5c72){const _0x474cd0=_0x2d90a8;let _0x20fcbd=this[_0x474cd0(0x38c)]['getDrawingByParam'](_0xbd5c72);return ft(_0x20fcbd)?_0x20fcbd:null;}['_forEachChartDrawing'](_0x4c1216,_0x3a3a4e){const _0x205825=_0x2d90a8;let _0x3d5b24=this[_0x205825(0x38c)][_0x205825(0x196)](_0x4c1216),_0x42e751=_0x3d5b24==null?void 0x0:_0x3d5b24[_0x4c1216];_0x42e751&&_0x42e751[_0x205825(0x18b)]['forEach'](_0xe9271f=>{const _0x3e03a7=_0x205825;let _0x57f7da=_0x42e751[_0x3e03a7(0x176)][_0xe9271f];ft(_0x57f7da)&&_0x3a3a4e(_0x57f7da);});}[_0x2d90a8(0x288)](_0x3c00c6){const _0x160800=_0x2d90a8;var _0x282183,_0x22efb0,_0x4f5a49,_0x5d446d,_0x45bcf3,_0x57d272,_0x1ce445,_0x208bb7;let _0x2f33f1=(_0x282183=(_0x22efb0=(_0x4f5a49=_0x3c00c6['transform'])==null?void 0x0:_0x4f5a49[_0x160800(0x440)])==null?(_0x5d446d=_0x3c00c6[_0x160800(0x410)])==null||(_0x5d446d=_0x5d446d['size'])==null?void 0x0:_0x5d446d[_0x160800(0x440)]:_0x22efb0)==null?0x0:_0x282183,_0x1e075c=(_0x45bcf3=(_0x57d272=(_0x1ce445=_0x3c00c6[_0x160800(0x44d)])==null?void 0x0:_0x1ce445['height'])==null?(_0x208bb7=_0x3c00c6[_0x160800(0x410)])==null||(_0x208bb7=_0x208bb7[_0x160800(0x34a)])==null?void 0x0:_0x208bb7[_0x160800(0x45b)]:_0x57d272)==null?0x0:_0x45bcf3;return _0x2f33f1<=0x0||_0x1e075c<=0x0?null:{'width':Math[_0x160800(0x275)](0x1,Math['round'](_0x2f33f1)),'height':Math[_0x160800(0x275)](0x1,Math['round'](_0x1e075c))};}};dt=C([S(0x0,h['IDrawingManagerService']),S(0x1,g['IRenderManagerService']),S(0x2,(0x0,e[_0x2d90a8(0x42a)])(G))],dt);function ft(_0x306672){const _0x68afbd=_0x2d90a8;let _0x205d45=_0x306672;return(_0x205d45==null?void 0x0:_0x205d45[_0x68afbd(0x2a8)])===e[_0x68afbd(0x349)][_0x68afbd(0x1d7)]&&typeof _0x205d45[_0x68afbd(0x3ad)]==_0x68afbd(0x286);}let pt=class extends e['Disposable']{constructor(_0x385cb1,_0x39acdd,_0x1c8cec,_0x1de349,_0x52e77b,_0xefc7e0,_0x51ffd3){const _0x118f36=_0x2d90a8;super(),this[_0x118f36(0x48d)]=_0x385cb1,this[_0x118f36(0x3de)]=_0x39acdd,this[_0x118f36(0x367)]=_0x1c8cec,this[_0x118f36(0x209)]=_0x1de349,this['_docContentInsertService']=_0x52e77b,this[_0x118f36(0x3e7)]=_0xefc7e0,this[_0x118f36(0x1d9)]=_0x51ffd3,this[_0x118f36(0x31c)](),this['_registerDialogOperations']();}['openInsertDialog'](_0x3031b5){const _0xaff3d7=_0x2d90a8;var _0x53cbc0,_0x5541b7;let _0x4d1969=null,_0x4ecd81=()=>{const _0xc89297=_0x40d6;_0x4d1969==null||_0x4d1969[_0xc89297(0x244)](),_0x4d1969=null;};return _0x4d1969=this[_0xaff3d7(0x48d)][_0xaff3d7(0x1f6)]({'id':_0xaff3d7(0x49e),'title':{'title':_0xaff3d7(0x37d)},'width':0x3c0,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'destroyOnClose':!0x0,'children':{'label':{'name':z,'props':{'defaultChartType':(_0x53cbc0=_0x3031b5==null?void 0x0:_0x3031b5[_0xaff3d7(0x1c3)])==null?_0x3031b5==null?void 0x0:_0x3031b5[_0xaff3d7(0x352)]:_0x53cbc0,'defaultTableText':_0x3031b5==null?void 0x0:_0x3031b5[_0xaff3d7(0x348)],'insertOptions':{'insertRange':(_0x5541b7=_0x3031b5==null?void 0x0:_0x3031b5[_0xaff3d7(0x481)])==null?this[_0xaff3d7(0x18a)]():_0x5541b7},'onCancel':_0x4ecd81,'onInserted':_0x4ecd81}}},'onClose':_0x4ecd81}),!0x0;}['openEditorDialog'](_0x4dbd6b){const _0x47b717=_0x2d90a8;let _0x59f41e=null,_0x20b1bb=()=>{const _0x1ed36f=_0x40d6;_0x59f41e==null||_0x59f41e[_0x1ed36f(0x244)](),_0x59f41e=null;};return _0x59f41e=this[_0x47b717(0x48d)]['open']({'id':P,'title':{'title':_0x47b717(0x37d)},'width':0x3d4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'destroyOnClose':!0x0,'children':{'label':{'name':Ne,'props':{..._0x4dbd6b,'onClose':_0x20b1bb}}},'onClose':_0x20b1bb}),!0x0;}[_0x2d90a8(0x31c)](){const _0x1fa0c7=_0x2d90a8;this['_menuManagerService'][_0x1fa0c7(0x439)](nt);}[_0x2d90a8(0x32a)](){const _0x460d9b=_0x2d90a8;this['disposeWithMe'](this[_0x460d9b(0x1d9)]['onCommandExecuted'](_0x531afb=>{const _0x42f438=_0x460d9b;if(_0x531afb['id']===_['id']){this[_0x42f438(0x319)](_0x531afb[_0x42f438(0x4a0)]);return;}if(_0x531afb['id']===v['id']){let _0x4cad74=_0x531afb[_0x42f438(0x4a0)];_0x4cad74&&this[_0x42f438(0x435)](_0x4cad74);}}));}[_0x2d90a8(0x18a)](){const _0x209bb8=_0x2d90a8;var _0x540177,_0x5dcb99,_0xce77c4;let _0x3e8adc=this[_0x209bb8(0x367)]['getCurrentUnitOfType'](e[_0x209bb8(0x2fb)][_0x209bb8(0x2ae)]);if(!_0x3e8adc)return;let _0x286f6e=_0x3e8adc[_0x209bb8(0x398)](),_0x104836=null;try{_0x104836=this[_0x209bb8(0x3b3)][_0x209bb8(0x219)](_0x286f6e);}catch{_0x104836=null;}if(_0x104836){var _0x3fa31e;let _0x525d7e={'startOffset':_0x104836[_0x209bb8(0x3ba)],'endOffset':_0x104836[_0x209bb8(0x41b)],'collapsed':_0x104836['startOffset']===_0x104836[_0x209bb8(0x41b)],'segmentId':(_0x3fa31e=_0x104836[_0x209bb8(0x36f)])==null?'':_0x3fa31e};return F(_0x3e8adc,_0x525d7e)?_0x525d7e:void 0x0;}let _0x2722f8=[...(_0x540177=this[_0x209bb8(0x209)]['getTextRanges']())==null?[]:_0x540177];if(_0x2722f8[_0x209bb8(0x1f4)]!==0x1)return;let _0x120c78=(_0x5dcb99=this[_0x209bb8(0x209)]['getActiveTextRange']())==null?_0x2722f8[0x0]:_0x5dcb99;if(!_0x120c78||!_0x120c78[_0x209bb8(0x368)]||_0x120c78[_0x209bb8(0x3ba)]==null)return;let _0x39f969={..._0x120c78,'segmentId':(_0xce77c4=_0x120c78[_0x209bb8(0x36f)])==null?'':_0xce77c4};return F(_0x3e8adc,_0x39f969)?_0x39f969:void 0x0;}};pt=C([S(0x0,(0x0,e[_0x2d90a8(0x42a)])(n['IDialogService'])),S(0x1,(0x0,e[_0x2d90a8(0x42a)])(e[_0x2d90a8(0x36c)])),S(0x2,e['IUniverInstanceService']),S(0x3,(0x0,e['Inject'])(l[_0x2d90a8(0x311)])),S(0x4,(0x0,e['Inject'])(l[_0x2d90a8(0x256)])),S(0x5,n[_0x2d90a8(0x365)]),S(0x6,e['ICommandService'])],pt);let Q=class extends e[_0x2d90a8(0x326)]{constructor(_0x39d457=H,_0x379361,_0x19e74e,_0x1b5031){const _0xa5656c=_0x2d90a8;super(),this['_config']=_0x39d457,this[_0xa5656c(0x28f)]=_0x379361,this[_0xa5656c(0x43a)]=_0x19e74e,this[_0xa5656c(0x1d9)]=_0x1b5031;let {..._0x3180cc}=(0x0,e[_0xa5656c(0x2f4)])({},H,this[_0xa5656c(0x279)]);this[_0xa5656c(0x43a)]['setConfig'](Ge,_0x3180cc),this[_0xa5656c(0x364)](),(0x0,s[_0xa5656c(0x318)])(s['echarts']);}[_0x2d90a8(0x2e5)](){const _0x55a299=_0x2d90a8;let _0x3248e6=this['_injector'];[[Z],[R],[w],[Y],[X],[M],[G],[K],[dt],[U],[W],[pt]][_0x55a299(0x28b)](_0x5503ae=>_0x3248e6['add'](_0x5503ae)),(0x0,e['touchDependencies'])(_0x3248e6,[[R],[w],[Y],[X],[M],[G],[U],[W]]),this[_0x55a299(0x28f)]['get'](Z);}[_0x2d90a8(0x1b9)](){const _0x1ea53b=_0x2d90a8;this[_0x1ea53b(0x28f)][_0x1ea53b(0x331)](K),this[_0x1ea53b(0x28f)][_0x1ea53b(0x331)](dt),this[_0x1ea53b(0x28f)][_0x1ea53b(0x331)](U),this[_0x1ea53b(0x28f)]['get'](W),this[_0x1ea53b(0x28f)][_0x1ea53b(0x331)](pt);}['_initCommands'](){[_,v]['forEach'](_0x116989=>{const _0x32730c=_0x40d6;this[_0x32730c(0x425)](this[_0x32730c(0x1d9)][_0x32730c(0x171)](_0x116989));});}};k(Q,'type',e['UniverInstanceType'][_0x2d90a8(0x2ae)]),k(Q,_0x2d90a8(0x3e9),_0x2d90a8(0x33a)),k(Q,_0x2d90a8(0x30e),rt),k(Q,_0x2d90a8(0x271),it),Q=C([(0x0,e['DependentOn'])(m[_0x2d90a8(0x48a)],u['UniverDocsUIPlugin'],f[_0x2d90a8(0x220)],a['UniverDocsChartPlugin']),S(0x1,(0x0,e[_0x2d90a8(0x42a)])(e[_0x2d90a8(0x312)])),S(0x2,e[_0x2d90a8(0x37a)]),S(0x3,e[_0x2d90a8(0x39d)])],Q),exports[_0x2d90a8(0x1e3)]=Ge,exports[_0x2d90a8(0x2da)]=ot,exports['DOC_CHART_CLIPBOARD_RESOURCE_KEY']=Ke,exports[_0x2d90a8(0x414)]=ee,exports['DOC_CHART_DATA_EDITOR_DIALOG_ID']=_0x2d90a8(0x198),exports[_0x2d90a8(0x470)]=Ne,exports[_0x2d90a8(0x43f)]=P,exports[_0x2d90a8(0x46b)]=Xe,exports[_0x2d90a8(0x1a8)]=q,exports[_0x2d90a8(0x3ff)]=Ze,exports[_0x2d90a8(0x455)]=z,exports['DocActiveChart']=st,Object['defineProperty'](exports,_0x2d90a8(0x3b6),{'enumerable':!0x0,'get':function(){return Y;}}),Object['defineProperty'](exports,'DocChartClipboardController',{'enumerable':!0x0,'get':function(){return U;}}),Object[_0x2d90a8(0x21e)](exports,_0x2d90a8(0x360),{'enumerable':!0x0,'get':function(){return w;}}),exports[_0x2d90a8(0x283)]=x,exports[_0x2d90a8(0x23b)]=te,Object[_0x2d90a8(0x21e)](exports,_0x2d90a8(0x450),{'enumerable':!0x0,'get':function(){return W;}}),exports['DocChartEditPanel']=Ee,exports[_0x2d90a8(0x1ee)]=Pe,exports[_0x2d90a8(0x451)]=b,exports[_0x2d90a8(0x381)]=tt,exports[_0x2d90a8(0x197)]=et,exports['DocChartInsertPanel']=B,exports[_0x2d90a8(0x2f5)]=$e,Object['defineProperty'](exports,_0x2d90a8(0x497),{'enumerable':!0x0,'get':function(){return R;}}),Object[_0x2d90a8(0x21e)](exports,_0x2d90a8(0x1e1),{'enumerable':!0x0,'get':function(){return X;}}),Object['defineProperty'](exports,_0x2d90a8(0x3e0),{'enumerable':!0x0,'get':function(){return M;}}),Object['defineProperty'](exports,_0x2d90a8(0x1a3),{'enumerable':!0x0,'get':function(){return K;}}),Object[_0x2d90a8(0x21e)](exports,_0x2d90a8(0x2ef),{'enumerable':!0x0,'get':function(){return G;}}),exports[_0x2d90a8(0x1b0)]=ke,exports[_0x2d90a8(0x25c)]=A,exports[_0x2d90a8(0x394)]=ct,exports[_0x2d90a8(0x2c5)]=nt,exports[_0x2d90a8(0x228)]=j,exports[_0x2d90a8(0x3b5)]=Je,exports['OpenDocChartEditorDialogOperation']=v,exports[_0x2d90a8(0x430)]=_,Object[_0x2d90a8(0x21e)](exports,_0x2d90a8(0x33a),{'enumerable':!0x0,'get':function(){return Q;}}),exports[_0x2d90a8(0x3bb)]=i['appendInlineTableColumn'],exports[_0x2d90a8(0x2b3)]=i[_0x2d90a8(0x2b3)],exports[_0x2d90a8(0x2a9)]=y,exports['compactInlineTableValues']=i[_0x2d90a8(0x3bf)],exports[_0x2d90a8(0x37e)]=H,exports['getDocChartInsertDisabledObservable']=J,exports[_0x2d90a8(0x476)]=i[_0x2d90a8(0x476)];
1
+ function _0xcf95(){const _0x1f0c41=['Position','continuous','getAncestorScale','_refreshActivePosition','markNotReady','boxSizing','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','univer-text-xs','IDrawingManagerService','collapsed','canva','docs-chart-ui.updateChartFailed','DRAWING_OBJECT_LAYER_INDEX','VIEWPORT_KEY','shouldComposeChartHostFrame','DOC_CHART_CLIPBOARD_RESOURCE_KEY','IRenderManagerService','_updatePosition','BUTTON','_univerInstanceService','_renderModelManager','direction$','Column\x20','breakOffsets','DocChartClipboardController','piecewise','DOC_CHART_DATA_EDITOR_COMPONENT','DOC_CHART_INSERT_MENU_OPTIONS','customBlockMappings','error','register','angle','A\x0912','entries','devicePixelRatio','prototype','applyInlineTablePaste','DocImageChartHost','_manageHostSize','bind','commitSnapshot','Dom','Line\x20style','positionObserver','_getOrCreatePastedDataSourceId','getRuntimeContext','labelContentType','ChartEditBlockTitle','_renderEntry','complete','doc.operation.open-doc-chart-insert-dialog','function','Point\x20size','disconnect','Waterfall','docs-chart-ui.editChart','style$','DocChartRenderService','docs-chart-ui.chartTypes.pie','openInsertDialog','_dialogService','onStarting','doc-chart.editor-dialog','docs-chart-ui.chartTypes.relation','transformerConfig','onChartTypeChange','DocPrintChart','univer-w-full\x20!univer-min-w-0','Show\x20label\x20line','insertRange','default','waterfall','DocChartSnapshotRefreshController','491610xRcQek','_runQueue','DocChartInsertPanel','_instanceService','min(560px,\x20calc(100vh\x20-\x20180px))','Button','setConfig','getCurrentUnitOfType','UNIVER_DOC','getDataSourceSharingCount','Auto','Line','SankeyChartIcon','_renderOne','ComboChartIcon','_getContentRect','_getRuntimeModel','RadarChartIcon','_getPositionState','_forEachChartDrawing','Heatmap','Pie','DOC_CONTENT_INSERT_MENU_ID','onReady','Color','relative','print','Fill\x20area','snapshotUpdated$','getDrawingByParam','DRAWING_CHART','doc-chart.dialog.editor','DeleteEmptyIcon','open','chartAndAxisTitles','Missing\x20runtime\x20document\x20chart\x20model:\x20','42EBzuWQ','tooltip','Inside','setActiveChartById','isHalfPie','backgroundColor','lastIndexOf','finally','_isActiveLayer','_createImageShape','removeFloatDom','Hide','borderRadius','createRenderSpec','config$','Label\x20rotate','docs-chart-ui.chartTypes.barPercentStacked','univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','button','getRenderModel','yAxis','lineVisible','AreaChartIcon','createRenderInput','index','DocChartPrintService','openEditorDialog','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-pb-3','getRect','Border\x20width','Category\x09Value','univer-mt-2','minColumns','resolve','useRef','getDataUrl','merge','PercentStack','DOC_CHART_EDITOR_DIALOG_COMPONENT','dataSource','parseInt','_initCommands','ChartBorderDashType','AreaStacked','e.g.\x200.00…','UniverDocsChartPlugin','includes','pie','buildChartThemeSelectOptions','Category','CategoryName','sceneRect','pending','_requestSnapshot','215430CaFFBo','layout','dataUrl','row','Optional','BreakLineCommand','dataStream','WordCloudShapeEnum','DOCS_CHART_UI_PLUGIN_CONFIG_KEY','Force','primary','getEditorState','registerCommand','@univerjs-pro/docs-chart-ui','unitId','scene','SeriesName','Number/date\x20format','Plugin','docs-chart-ui.save','getDrawingEditable','string','add','getRegisteredThemes','tables','docs-chart-ui.chartTypes.column','DocChartDataEditorSubmitMode','contentRect','title','timeout','_activeDomReadyDrawingKeys','has','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','docs-chart-ui.useAbsoluteValue','iterator','_snapshotService','BarPercentStacked','map','Series','DUPLICATE','ICommandService','doc-chart.snapshot-renderer','orient','registerWordCloudChart','shape','docs-chart-ui.chartTypes.barStacked','setActiveChartRuntime','LinePointShape','_getChartDrawing','stackType','Tools','sourceDocuments','_renderer','DocChartActiveRenderService','_snapshotRenderService','Boxplot','add$','BehaviorSubject','DocContentInsertService','#ffffff','appendInlineTableColumn','radar','updateData','generateRandomId','getRenderColor','startIndex','Sankey','printChart','ChartPropertyRow','visualMapType','gridlinesAndTicks','_captureInsertRange','config','ChartThemeService','right','Triangle','chartId','RelationChartLayoutEnum','B\x0918','docs-chart-ui.fill','defineProperty','Series\x20style','IUniverInstanceService','getChartHostFrameContentRect','SetDocChartDataSourceMutation','max','IDocClipboardPasteAdapterService','ChartCheckboxField','CommandType','univer-min-h-0\x20univer-flex-1','_subscribeRender','waitForConfig','resolveDefaultChartHostFrameStyle','100%','_handleFocus','syncLayout','_activate','then','Add\x20series','DuplicateDocChartDataSourceCommand','transformByState','transform','Border\x20dash','IConfigService','column','doc-chart.dialog.data-editor','_retryActivateFocusedChart','useEffect','Percent','width','fill','px\x20solid\x20','repeat','univer-shrink-0','docs-chart-ui.chartTypes.bubble','subUnitId','docs-chart-ui.horizontalAxisTitle','DocChartInsertService','DocChartEditPanel','_drainQueue','Label\x20font\x20size','UniverInstanceType','value','_renderDrawing','baseOn','onCommandExecuted','chartInvalidated$','_layoutChanged$','push','flushForTests','RibbonInsertGroup','segmentId','DOC_CHART_DATA_EDITOR_DIALOG_ID','_hostStyle','compactInlineTableValues','textRanges','status','UniverLicensePlugin','#666666','createChartInstance','endOffset','docs-chart-ui.chartTypes.line','textStyle','visible','AreaLineStyle','imageContentHidden','useSubtotal','_draw','key','Close','doc-chart.data-editor','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','ChartInlineTableEditor','symbol','theme','_prepareStandaloneInsertLine','UpdateDocChartConfigCommand','ChartModel','_isDocChartDrawing','_drawingManagerService','ChartHostRenderMode','9LnNjnF','set','univer-mb-2\x20univer-flex\x20univer-items-center','insertChart','_docContentInsertService','useState','docs-chart-ui.config','RadarShape','docs-chart-ui.chartNotFound','RemoveDocChartDataSourceMutation','doc-chart.render-model','split','LocaleService','_registerIcons','xAxisTitle','item','getDrawingShapeKeyByDrawingSearch','updateChartType','Checkbox','univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg','shift','wrap','span','dataSources','sourceDrawing','StackType','toDisposable','docs-chart-ui.tableDataEmpty','values','Arrangement','doc-chart.insert-panel','docTransform','Show\x20ticks','funnel','ensureMount','attachTransformerTo','Layout','getCanvasElement','shared','Column','wordCloud','LineChartIcon','round','indicatorLine','lineAndArea','DrawingTypeEnum','combineLatest','className','getCurrentTypeOfUnit$','_pasteAdapterService','nodeShape','showLabelLine','docs-chart-ui.cancel','_applyHostStyle','chartContext','SetDocChartSnapshotMutation','subscribeEvent','parseInlineTable','_setElementSize','removeObject','source','onContextChange','docs-chart-ui.chartTypes.boxplot','initData','docs-chart-ui.reverseAxis','drawings','PieChartIcon','Injector','ImageChartHost','useAbsValue','buildChartTypeSelectOptions','Outside','type','_getDrawingSearch','Dotted','_activeLayer','Pareto','Square','defaultChartType','duplicate','docs-chart-ui.chartStyle','Left','delete','_commandService','Top','main','Bottom','model','transparent','setStyle','createIdentifier','left','context','DOC_DRAWING_PRINTING_COMPONENT_KEY','targetDrawing','FunnelIcon','next','getTextRanges','updateChartStyle','Line\x20type','getCurrentRenderModel','_canvasFloatDomService','remove$','RemoveDocChartSnapshotMutation','docs-chart-ui.chartTypes.scatter','Gap','docs-chart-ui.indicatorLine','doc-chart-preview','getMenuHiddenObservable','deepClone','Polygon','DrawingEditIcon','position','some','Vertical\x20width','docs-chart-ui.close','Half\x20pie','from','docs-chart-ui.legend','Accordion','getBody','rotate','DocChartEditorDialog','docs-chart-ui.customizeChart','450464ELfUsi','WaterfallStackTypeEnum','SankeyIcon','AreaPercentStacked','dashType','Scatter','EChartRenderModel','ColumnChartIcon','observe','Percentage','clear','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','Visual\x20map','DocChartDrawingEditController','get','Min','BarChartIcon','Module','mode','chartBitsUtils','_rect','_host','DocChartInsertRibbonMenuItemFactory','indexOf','_renderService','div','104547rDIHBL','radius','Gradient\x20fill','chartStyle','Select','_renderManagerService','_imageContentHidden','doc-chart-host','CanvasFloatDomService','subscribe','onValuesChange','tick','focus','legend','setImageContentHidden','getSnapshot','Diamond','invalidateChart','MEDIA','None','_waitForRuntimeConfig','trim','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-3','contentType','docs-chart-ui.previewRenderFailed','TitlePositionEnum','constructor','Stack','Right','makeDirty','selectMode','initTransformer','touchDependencies','Disposable','_getActiveRenderRect','min','Subject','docs-chart-ui.subtitle','seriesIndexes','onChange','docs-chart-ui.chartTypes.heatmap','forEach','IMenuManagerService','size','_configService','getDrawingOrder','_getDrawing','keys','Point\x20shape','_resourceService','addObject','consumeInsertRange','ChartTextField','getDataSource','allSeriesStyle','useDependency','LegendPositionEnum','univer-mt-2-base','getDirection','Node\x20shape','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','UniverDocsUIPlugin','chart','decorate','docs-chart-ui.chartTypes.pareto','order','_config','ContextMenuGroup','univer-text-xs\x20univer-text-red-600','docs-chart-ui.insertChartFailed','OpenDocChartEditorDialogOperation','Radar','show','getChartModel','WordCloud','buildInlineTableDataSet','changeSource','clipBounds','nextVersion','Solid','docs-chart-ui.horizontalAxis','_activeDrain','dispatchEvent','docs-chart-ui.verticalAxisTitle','BarStacked','packageName','requestPaint','dataSourceId','Image','_renderCharts','docs-chart-ui.chartTypes.radar','DocChartInsertMenuItemFactory','SeriesLabelPosition','Repeat\x20words','setActiveDomReady','registerRenderModel','IncreaseIcon','_rendering','DocSelectionManagerService','chartImageSourceToDataUrl','jsx','#4086f4','OPERATION','EMPTY_PARAGRAPH_MENU_ID','isFinite','MenuItemType','display','addClipboardHook','_componentManager','jsxs','UniverDocsChartUIPlugin','filter','doc-chart.dialog.insert','univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','LAYOUT','yAxisTitle','_requestSnapshotsForUnit','IDocClipboardService','_syncChartImageVisibility','appendInlineTableRow','height','VIEW_MAIN','relation','clientHeight','_drawingAdapterService','_chartThemeService','src','rightYAxisTitle','checkMounted','pipe','titles','docs-chart-ui.chartTypes.sankey','getRenderById','engine','docs-chart-ui.showDataLabels','customBlocks','dataAggregation','Combination','DOC_CHART_INSERT_BELOW_MENU_ID','-data-source','horizontalAxis','position$','reverse','UpdateDocChartDataSourceCommand','IDocChartSnapshotRendererService','PieLabelPosition','Bubble','ChartIcon','_docSelectionManagerService','subtitle','docs-chart-ui.chartTypes.areaStacked','verticalAxis','indicatorLineType','select','fontSize','EChartRenderEngineName','format','Title\x20font\x20size','getOwnPropertyDescriptor','ChartTypeBits','StaticChartSource','PARAGRAPH','block','series','_cache','DropdownMenu','Inject','contains','rgb(','Bar','_modelService','syncExecuteCommand','docs-chart-ui.showLabels','clientWidth','onScrollAfter$','setRenderModel','_resolveInsertPosition','drawingId','getViewport','charts','_removeRenderedCharts','_initClipboardHooks','_registerDialogOperations','overflow','content','labelStyle','Stacked','DocChartDataEditor','onClose','mergeMenu','IDocChartRenderModelService','ready','univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-gap-5\x20univer-overflow-hidden\x20univer-overscroll-contain','DocsChartUIMenuSchema','_initAdapter','RelationshipIcon','Right\x20vertical\x20axis\x20title','docs-chart-ui.chartTypes.wordCloud','doc','Title\x20position','match','small','_getPasteMutationInfos','gradientFill','object','bottom','border','doc.operation.open-doc-chart-editor-dialog','border-box','4643364vvIgxQ','ensureChartModel','docs-chart-ui.insertChart','root','docs-chart-ui.series','startOffset','Max','data','updateDataAggregation','pluginName','4581040TWxSqS','C\x099','OpenDocChartInsertDialogOperation','DOC_CHART_INSERT_PANEL_COMPONENT','Disabled','Line\x20and\x20area','docs-chart-ui.chartTypes.waterfall','docs-chart-ui.duplicate','ChartSelectField','docs-chart-ui.active-chart','LabelContentType','Row\x20','Relation','_getChartKey','univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','disableMenuWhenHeaderFooterEditing','docs-chart-ui.chartTypes.areaPercentStacked','docs-chart-ui.chartTypes.area','_appendChartResources','docs-chart-ui.chartType','getDrawingDataForUnit','useMemo','_initMenus','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-flex-col\x20univer-gap-4\x20univer-bg-white\x20dark:!univer-bg-gray-900','BoxplotIcon','getFocusDrawings','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','dispose','getBoundingClientRect','_configWaitKeys','_localeService','focus$','56jvqoxt','getActiveTextRange','hidden','Multiple','current','heatmap','minRows','Circle','getCacheKey','_requestSnapshotsForSearches','_queue','getDocChartInsertDisabledObservable','createElement','_listenChartResourceMutations','params','DocChartModelService','HeatmapIcon','insertChartFromText','getChart','InsertDocChartCommand','ChartColorField','executeCommand','getHostStyle','firstValueFrom','SELECTOR','chartType','gap','_getRenderRect','_mountNode','unsubscribe','gridLine','_dataUrl','toStringTag','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','number','HeatmapChartIcon','_createChartRenderInstanceContext','docs-chart-ui.title','_injector','docs-chart-ui.border','_floatingToolbarAdapterService','hide','length','Single','docs-chart-ui.visible','_iconManager','label','getColors','docs-chart-ui.chartTypes.funnel','Switch\x20to\x20row/column','Step','indicatorLineColor','Funnel','toPrimitive','onStyleChange','docs-chart-ui.chartTypes.combination','applyHostStyle','color','rosePie','DataStreamTreeTokenType','SelectModeEnum','remove','docs-chart-ui.apply','docs-chart-ui.chartAndAxisTitles','refreshTransform$','_staticRenderController','getUnitId','markReady','ScatterChartIcon','_deactivate','Use\x20subtotal','slice','RemoveDocDrawingCommand','renderRect','Use\x20values\x20as\x20node\x20size','take','generateChartModelContextByOperators','updateDataFromText','blockRanges','defaultTableText','#d1d5db','join','find','xAxis','disposeWithMe','toSpec','registerAdapter','_registerComponents','render','defaultChartConfig','getSelfOrHeaderFooterModel','titleFontSize','call','requestSnapshot','style','DOC_PARAGRAPH_T_INSERT_MENU_ID','area','_getDrawingRect','Select\x20mode','Smooth','UniverDocsDrawingUIPlugin','BubbleIcon','parseFloat','docs-chart-ui.gridlinesAndTicks','defaultPluginConfig','endIndex','4YXboMB','Area','_init','updateChartContext','docs-chart-ui.verticalAxis','_shouldWaitForChartConfig','univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','docs-chart-ui.chartTypes.bar','getRealBound','skip','getObjectIncludeInGroup','Value','drawingType','IconManager','point','top','WaterfallChartIcon','\x20has\x20no\x20render\x20config.','univer-flex\x20univer-shrink-0\x20univer-justify-end','949352bhLPFY','replaceChildren','assignChartContext','Rose\x20pie','Shape','ChartNumberField','DocChartResourceService','ChartAttributeBits','_menuManagerService'];_0xcf95=function(){return _0x1f0c41;};return _0xcf95();}const _0x4dfcf2=_0x34e2;(function(_0x19940a,_0x373647){const _0x1ad308=_0x34e2,_0xd3f494=_0x19940a();while(!![]){try{const _0x11e031=-parseInt(_0x1ad308(0x44b))/0x1+parseInt(_0x1ad308(0x38c))/0x2*(-parseInt(_0x1ad308(0x227))/0x3)+-parseInt(_0x1ad308(0x39f))/0x4+-parseInt(_0x1ad308(0x3f1))/0x5*(-parseInt(_0x1ad308(0x415))/0x6)+parseInt(_0x1ad308(0x20c))/0x7*(-parseInt(_0x1ad308(0x322))/0x8)+parseInt(_0x1ad308(0x190))/0x9*(parseInt(_0x1ad308(0x302))/0xa)+parseInt(_0x1ad308(0x2f8))/0xb;if(_0x11e031===_0x373647)break;else _0xd3f494['push'](_0xd3f494['shift']());}catch(_0x8cf900){_0xd3f494['push'](_0xd3f494['shift']());}}}(_0xcf95,0x91660),Object[_0x4dfcf2(0x13f)](exports,Symbol[_0x4dfcf2(0x342)],{'value':_0x4dfcf2(0x21e)}));let e=require('@univerjs/core'),t=require('@univerjs/design'),n=require('@univerjs/ui'),r=require('react'),i=require('@univerjs-pro/chart-ui'),a=require('@univerjs-pro/docs-chart'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/engine-chart'),c=require('@univerjs/icons'),l=require('@univerjs/docs'),u=require('@univerjs/docs-ui'),d=require('@univerjs/docs-drawing'),f=require('@univerjs/docs-drawing-ui'),p=require('rxjs'),m=require('@univerjs-pro/license'),h=require('@univerjs/drawing'),g=require('@univerjs/engine-render');const _={'id':_0x4dfcf2(0x3da),'type':e[_0x4dfcf2(0x147)][_0x4dfcf2(0x28d)],'handler'(){return!0x0;}},v={'id':_0x4dfcf2(0x2f6),'type':e[_0x4dfcf2(0x147)][_0x4dfcf2(0x28d)],'handler'(){return!0x0;}};function y(_0x3e2f3f,_0x294098,_0x1ffdd9=0x1,_0x22b406=0x1){const _0x59cd5f=_0x4dfcf2;return(0x0,i[_0x59cd5f(0x3cc)])(_0x294098,a[_0x59cd5f(0x1c9)],_0x1ffdd9,_0x22b406);}function ee(_0x462b96){const _0x194c88=_0x4dfcf2;return(0x0,o[_0x194c88(0x28b)])(i[_0x194c88(0x187)],{'values':_0x462b96['values'],'minRows':_0x462b96[_0x194c88(0x328)],'minColumns':_0x462b96[_0x194c88(0x435)],'parsePastedText':a[_0x194c88(0x1c9)],'onChange':_0x462b96[_0x194c88(0x24e)]});}const te=_0x4dfcf2(0x185);let ne=function(_0xc87497){const _0x454ccb=_0x4dfcf2;return _0xc87497['SHARED']=_0x454ccb(0x1b6),_0xc87497[_0x454ccb(0x116)]=_0x454ccb(0x1df),_0xc87497;}({});function b(_0x14e776){const _0xd72a1b=_0x4dfcf2;let _0x281d55=(0x0,n[_0xd72a1b(0x25e)])(e[_0xd72a1b(0x19c)]),{values:_0x29a803,sharingCount:_0x5df885=0x1,onCancel:_0x5d94af,onChange:_0x15abb3,onSubmit:_0x3c0825}=_0x14e776,[_0x5110d2,_0xc5bad7]=(0x0,r['useState'])(()=>_0x29a803[_0xd72a1b(0x114)](_0x19569f=>[..._0x19569f])),[_0x585549,_0x57d891]=(0x0,r[_0xd72a1b(0x195)])(null),_0xa9ad2=_0x5df885>0x1,_0x2cbf21=_0x13372f=>{_0xc5bad7(_0x13372f),_0x15abb3==null||_0x15abb3(_0x13372f);},_0x4e18bc=_0x470ffe=>{const _0x20c35c=_0xd72a1b;let _0x3ff2a4=(0x0,i[_0x20c35c(0x175)])(_0x5110d2);if(_0x3ff2a4[_0x20c35c(0x34c)]===0x0){_0x57d891(_0x281d55['t'](_0x20c35c(0x1ab)));return;}_0x57d891(null),_0x3c0825(_0x3ff2a4,_0x470ffe);};return(0x0,o[_0xd72a1b(0x294)])(_0xd72a1b(0x226),{'className':_0xd72a1b(0x263),'children':[(0x0,o[_0xd72a1b(0x28b)])('div',{'className':'univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','children':(0x0,o['jsx'])(ee,{'values':_0x5110d2,'onChange':_0x2cbf21})}),_0x585549&&(0x0,o[_0xd72a1b(0x28b)])(_0xd72a1b(0x226),{'className':'univer-text-xs\x20univer-text-red-600','children':_0x585549}),(0x0,o[_0xd72a1b(0x294)])(_0xd72a1b(0x226),{'className':_0xd72a1b(0x10f),'children':[_0x5d94af&&(0x0,o['jsx'])(t[_0xd72a1b(0x3f6)],{'type':'button','variant':_0xd72a1b(0x3ee),'onClick':_0x5d94af,'children':_0x281d55['t'](_0xd72a1b(0x1c4))}),_0xa9ad2&&(0x0,o[_0xd72a1b(0x28b)])(t[_0xd72a1b(0x3f6)],{'type':_0xd72a1b(0x427),'variant':'default','onClick':()=>_0x4e18bc(_0xd72a1b(0x1df)),'children':_0x281d55['t'](_0xd72a1b(0x309))}),(0x0,o[_0xd72a1b(0x28b)])(t[_0xd72a1b(0x3f6)],{'type':_0xd72a1b(0x427),'variant':'primary','onClick':()=>_0x4e18bc(_0xd72a1b(0x1b6)),'children':_0x281d55['t'](_0xd72a1b(0x360))})]})]});}function x(_0x37e658,_0x22ae72){return function(_0x35c219,_0x224e0d){_0x22ae72(_0x35c219,_0x224e0d,_0x37e658);};}function S(_0x16f2c5,_0x506339,_0x514ba5,_0x123596){const _0x597872=_0x4dfcf2;var _0x18b3cd=arguments[_0x597872(0x34c)],_0x524ace=_0x18b3cd<0x3?_0x506339:_0x123596===null?_0x123596=Object[_0x597872(0x2c5)](_0x506339,_0x514ba5):_0x123596,_0x7e15c;if(typeof Reflect==_0x597872(0x2f3)&&typeof Reflect['decorate']==_0x597872(0x3db))_0x524ace=Reflect[_0x597872(0x266)](_0x16f2c5,_0x506339,_0x514ba5,_0x123596);else{for(var _0x40b30a=_0x16f2c5[_0x597872(0x34c)]-0x1;_0x40b30a>=0x0;_0x40b30a--)(_0x7e15c=_0x16f2c5[_0x40b30a])&&(_0x524ace=(_0x18b3cd<0x3?_0x7e15c(_0x524ace):_0x18b3cd>0x3?_0x7e15c(_0x506339,_0x514ba5,_0x524ace):_0x7e15c(_0x506339,_0x514ba5))||_0x524ace);}return _0x18b3cd>0x3&&_0x524ace&&Object[_0x597872(0x13f)](_0x506339,_0x514ba5,_0x524ace),_0x524ace;}let C=class{constructor(_0x720e0f,_0x22fdf8){const _0x52f0f4=_0x4dfcf2;this[_0x52f0f4(0x1e3)]=_0x720e0f,this['_resourceService']=_0x22fdf8;}[_0x4dfcf2(0xfa)](_0x1b8f05,_0x177996){const _0x28aae3=_0x4dfcf2;let _0x5d2037=this[_0x28aae3(0x258)][_0x28aae3(0x334)](_0x1b8f05,_0x177996),_0x77ee15=_0x5d2037?this[_0x28aae3(0x258)][_0x28aae3(0x25c)](_0x1b8f05,_0x5d2037[_0x28aae3(0x27e)]):void 0x0;return!_0x5d2037||!_0x77ee15?null:{'unitId':_0x1b8f05,'chartId':_0x177996,'dataSourceId':_0x77ee15['id'],'values':_0x77ee15[_0x28aae3(0x1ac)][_0x28aae3(0x114)](_0x1d7ea1=>[..._0x1d7ea1]),'sharingCount':this[_0x28aae3(0x258)][_0x28aae3(0x3fa)](_0x1b8f05,_0x77ee15['id'])};}[_0x4dfcf2(0x1a1)](_0x415521,_0x4b0d63,_0x57906e){const _0x3197c7=_0x4dfcf2;return this['_resourceService'][_0x3197c7(0x334)](_0x415521,_0x4b0d63)?this[_0x3197c7(0x1e3)][_0x3197c7(0x2d2)](a[_0x3197c7(0x18b)]['id'],{'unitId':_0x415521,'chartId':_0x4b0d63,'chartType':_0x57906e}):!0x1;}[_0x4dfcf2(0x1f2)](_0x1b1632,_0x36229c,_0x2e07fb){const _0x58d8b2=_0x4dfcf2;return this[_0x58d8b2(0x258)][_0x58d8b2(0x334)](_0x1b1632,_0x36229c)?this[_0x58d8b2(0x1e3)][_0x58d8b2(0x2d2)](a['UpdateDocChartConfigCommand']['id'],{'unitId':_0x1b1632,'chartId':_0x36229c,'style':_0x2e07fb}):!0x1;}[_0x4dfcf2(0x38f)](_0x3584f7,_0x365a31,_0x588609){const _0x446878=_0x4dfcf2;return this[_0x446878(0x258)][_0x446878(0x334)](_0x3584f7,_0x365a31)?this[_0x446878(0x1e3)][_0x446878(0x2d2)](a[_0x446878(0x18b)]['id'],{'unitId':_0x3584f7,'chartId':_0x365a31,'patch':{'context':_0x588609}}):!0x1;}[_0x4dfcf2(0x300)](_0x18160a,_0xaab2f6,_0x2aa488){const _0x5960d5=_0x4dfcf2;return this[_0x5960d5(0x258)][_0x5960d5(0x334)](_0x18160a,_0xaab2f6)?this[_0x5960d5(0x1e3)][_0x5960d5(0x2d2)](a['UpdateDocChartConfigCommand']['id'],{'unitId':_0x18160a,'chartId':_0xaab2f6,'dataAggregation':_0x2aa488}):!0x1;}[_0x4dfcf2(0x36f)](_0x54714b,_0x252092,_0x2650ad,_0x54e16e){const _0x3a79ac=_0x4dfcf2;let _0x544555=(0x0,a[_0x3a79ac(0x1c9)])(_0x2650ad);return _0x544555[_0x3a79ac(0x34c)]===0x0?!0x1:this[_0x3a79ac(0x12d)](_0x54714b,_0x252092,_0x544555,_0x54e16e);}[_0x4dfcf2(0x12d)](_0x4a6fcf,_0x35d3fb,_0x27127f,_0x4d5af1){const _0x2f31eb=_0x4dfcf2;let _0x4fdf15=this[_0x2f31eb(0xfa)](_0x4a6fcf,_0x35d3fb);if(!_0x4fdf15||_0x27127f['length']===0x0)return!0x1;let _0x46a6f6=_0x4fdf15[_0x2f31eb(0x27e)];if(_0x4d5af1==='duplicate'&&_0x4fdf15['sharingCount']>0x1){if(!this[_0x2f31eb(0x1e3)][_0x2f31eb(0x2d2)](a[_0x2f31eb(0x152)]['id'],{'unitId':_0x4a6fcf,'chartId':_0x35d3fb}))return!0x1;let _0x713510=this[_0x2f31eb(0x258)]['getChart'](_0x4a6fcf,_0x35d3fb);if(!_0x713510)return!0x1;_0x46a6f6=_0x713510[_0x2f31eb(0x27e)];}return this[_0x2f31eb(0x1e3)][_0x2f31eb(0x2d2)](a[_0x2f31eb(0x2b6)]['id'],{'unitId':_0x4a6fcf,'dataSourceId':_0x46a6f6,'values':_0x27127f});}};C=S([x(0x0,e[_0x4dfcf2(0x117)]),x(0x1,(0x0,e['Inject'])(a['DocChartResourceService']))],C);const re=[{'label':_0x4dfcf2(0x17c),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x3fc)]},{'label':_0x4dfcf2(0x108),'value':s['ChartTypeBits'][_0x4dfcf2(0x1b7)]},{'label':_0x4dfcf2(0x3e2),'value':s['ChartTypeBits'][_0x4dfcf2(0x406)]},{'label':'docs-chart-ui.chartTypes.bar','value':s[_0x4dfcf2(0x2c6)]['Bar']},{'label':_0x4dfcf2(0x11c),'value':s['ChartTypeBits'][_0x4dfcf2(0x27b)]},{'label':'docs-chart-ui.chartTypes.barPercentStacked','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x113)]},{'label':_0x4dfcf2(0x313),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x38d)]},{'label':_0x4dfcf2(0x2bd),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x440)]},{'label':_0x4dfcf2(0x312),'value':s['ChartTypeBits'][_0x4dfcf2(0x20f)]},{'label':_0x4dfcf2(0x281),'value':s['ChartTypeBits']['Radar']},{'label':_0x4dfcf2(0x359),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x2b0)]},{'label':_0x4dfcf2(0x1f8),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x211)]},{'label':_0x4dfcf2(0x2ec),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x271)]},{'label':_0x4dfcf2(0x352),'value':s['ChartTypeBits'][_0x4dfcf2(0x356)]},{'label':_0x4dfcf2(0x161),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x2b9)]},{'label':_0x4dfcf2(0x3e7),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x30e)]},{'label':_0x4dfcf2(0x308),'value':s['ChartTypeBits']['Waterfall']},{'label':_0x4dfcf2(0x267),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x1dc)]},{'label':_0x4dfcf2(0x2aa),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x131)]},{'label':_0x4dfcf2(0x24f),'value':s['ChartTypeBits'][_0x4dfcf2(0x405)]},{'label':_0x4dfcf2(0x1ce),'value':s[_0x4dfcf2(0x2c6)]['Boxplot']}],w=[s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x27b)],s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x113)],s[_0x4dfcf2(0x2c6)]['AreaStacked'],s[_0x4dfcf2(0x2c6)]['AreaPercentStacked'],s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x1dc)]],T=re['filter'](_0x140b33=>!w[_0x4dfcf2(0x443)](_0x140b33['value'])),ie=[{'label':'Top','value':s[_0x4dfcf2(0x25f)][_0x4dfcf2(0x1e4)]},{'label':_0x4dfcf2(0x243),'value':s[_0x4dfcf2(0x25f)][_0x4dfcf2(0x243)]},{'label':_0x4dfcf2(0x1e6),'value':s[_0x4dfcf2(0x25f)][_0x4dfcf2(0x1e6)]},{'label':_0x4dfcf2(0x1e1),'value':s['LegendPositionEnum']['Left']},{'label':'None','value':s[_0x4dfcf2(0x25f)][_0x4dfcf2(0x420)]}],ae=[{'label':_0x4dfcf2(0x1e4),'value':s['TitlePositionEnum']['Top']},{'label':'Right','value':s[_0x4dfcf2(0x240)][_0x4dfcf2(0x243)]},{'label':_0x4dfcf2(0x1e6),'value':s['TitlePositionEnum']['Bottom']},{'label':_0x4dfcf2(0x1e1),'value':s[_0x4dfcf2(0x240)][_0x4dfcf2(0x1e1)]},{'label':_0x4dfcf2(0x23a),'value':s[_0x4dfcf2(0x240)][_0x4dfcf2(0x420)]}],oe=[{'label':'Auto','value':s[_0x4dfcf2(0x283)][_0x4dfcf2(0x3fb)]},{'label':'Inside','value':s[_0x4dfcf2(0x283)][_0x4dfcf2(0x417)]},{'label':_0x4dfcf2(0x1e1),'value':s[_0x4dfcf2(0x283)]['Left']},{'label':_0x4dfcf2(0x243),'value':s[_0x4dfcf2(0x283)][_0x4dfcf2(0x243)]},{'label':_0x4dfcf2(0x1e4),'value':s[_0x4dfcf2(0x283)][_0x4dfcf2(0x1e4)]},{'label':'Bottom','value':s[_0x4dfcf2(0x283)][_0x4dfcf2(0x1e6)]}],se=[{'label':_0x4dfcf2(0x417),'value':s[_0x4dfcf2(0x2b8)][_0x4dfcf2(0x417)]},{'label':'Outside','value':s[_0x4dfcf2(0x2b8)][_0x4dfcf2(0x1d7)]}],ce=[{'label':_0x4dfcf2(0x23a),'value':''},{'label':_0x4dfcf2(0x2e1),'value':s[_0x4dfcf2(0x1a9)][_0x4dfcf2(0x2e1)]},{'label':'100%\x20stacked','value':s['StackType'][_0x4dfcf2(0x15b)]}],le=[{'label':'Single','value':s[_0x4dfcf2(0x35e)][_0x4dfcf2(0x34d)]},{'label':_0x4dfcf2(0x325),'value':s['SelectModeEnum'][_0x4dfcf2(0x325)]},{'label':_0x4dfcf2(0x306),'value':s['SelectModeEnum'][_0x4dfcf2(0x184)]}],ue=[{'label':_0x4dfcf2(0x276),'value':s['ChartBorderDashType'][_0x4dfcf2(0x276)]},{'label':'Dashed','value':s[_0x4dfcf2(0x43f)]['Dashed']},{'label':_0x4dfcf2(0x1da),'value':s[_0x4dfcf2(0x43f)][_0x4dfcf2(0x1da)]}],de=[0x1,0.9,0.7,0.5,0.3,0.1]['map'](_0x5184c7=>({'label':_0x5184c7*0x64+'%','value':String(_0x5184c7)})),fe=[0x0,0x1,0x2,0x4,0x8][_0x4dfcf2(0x114)](_0x2f72a9=>({'label':_0x2f72a9+'px','value':String(_0x2f72a9)})),pe=[{'label':_0x4dfcf2(0x329),'value':s['LinePointShape'][_0x4dfcf2(0x329)]},{'label':'Square','value':s[_0x4dfcf2(0x11e)][_0x4dfcf2(0x1dd)]},{'label':_0x4dfcf2(0x13a),'value':s[_0x4dfcf2(0x11e)][_0x4dfcf2(0x13a)]},{'label':_0x4dfcf2(0x237),'value':s['LinePointShape'][_0x4dfcf2(0x237)]},{'label':'None','value':s['LinePointShape'][_0x4dfcf2(0x23a)]}],me=[0x0,0x2,0x5,0x7,0xa,0xe][_0x4dfcf2(0x114)](_0x4e4ce5=>({'label':_0x4e4ce5+'px','value':String(_0x4e4ce5)})),he=[{'label':_0x4dfcf2(0x446),'value':s['LabelContentType'][_0x4dfcf2(0x447)]},{'label':_0x4dfcf2(0x115),'value':s[_0x4dfcf2(0x30c)][_0x4dfcf2(0xff)]},{'label':_0x4dfcf2(0x397),'value':s[_0x4dfcf2(0x30c)][_0x4dfcf2(0x397)]},{'label':_0x4dfcf2(0x215),'value':s[_0x4dfcf2(0x30c)][_0x4dfcf2(0x215)]}],ge=Object[_0x4dfcf2(0x1ac)](s[_0x4dfcf2(0xf6)])[_0x4dfcf2(0x114)](_0x598f6a=>({'label':_0x598f6a,'value':_0x598f6a})),_e=[{'label':'Polygon','value':s['RadarShape'][_0x4dfcf2(0x1fe)]},{'label':'Circle','value':s[_0x4dfcf2(0x197)][_0x4dfcf2(0x329)]}],ve=[{'label':_0x4dfcf2(0x1ad),'value':s[_0x4dfcf2(0x20d)][_0x4dfcf2(0x1ad)]},{'label':'Stacked','value':s[_0x4dfcf2(0x20d)][_0x4dfcf2(0x2e1)]}],ye=[{'label':'Continuous','value':_0x4dfcf2(0x3a9)},{'label':'Piecewise','value':_0x4dfcf2(0x3c1)}],be=[{'label':_0x4dfcf2(0x3fb),'value':s[_0x4dfcf2(0x13c)][_0x4dfcf2(0x23a)]},{'label':'Circular','value':s[_0x4dfcf2(0x13c)]['Circular']},{'label':_0x4dfcf2(0xf8),'value':s[_0x4dfcf2(0x13c)]['Force']}];function xe(_0x3c1cce){const _0x3970bb=_0x4dfcf2;let _0x503016=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s['ChartTypeBits'][_0x3970bb(0x271)])),_0x5d11fe=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s[_0x3970bb(0x2c6)][_0x3970bb(0x406)])),_0x97586a=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s[_0x3970bb(0x2c6)][_0x3970bb(0x26e)])),_0x34f9b6=!!(_0x3c1cce&&s['chartBitsUtils'][_0x3970bb(0x16b)](_0x3c1cce,s[_0x3970bb(0x2c6)][_0x3970bb(0x356)])),_0x1d5514=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s[_0x3970bb(0x2c6)][_0x3970bb(0x3de)])),_0x599d6b=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s['ChartTypeBits'][_0x3970bb(0x1dc)])),_0x13a83d=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s[_0x3970bb(0x2c6)][_0x3970bb(0x30e)])),_0x5cb515=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s[_0x3970bb(0x2c6)][_0x3970bb(0x131)])),_0x4bf61f=!!(_0x3c1cce&&s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,s['ChartTypeBits']['Heatmap'])),_0x178720=!!(_0x3c1cce&&[s['ChartTypeBits']['Line'],s[_0x3970bb(0x2c6)][_0x3970bb(0x38d)],s['ChartTypeBits'][_0x3970bb(0x440)],s[_0x3970bb(0x2c6)]['AreaPercentStacked'],s['ChartTypeBits']['Scatter'],s['ChartTypeBits'][_0x3970bb(0x2b0)]][_0x3970bb(0x201)](_0x60460b=>s[_0x3970bb(0x220)][_0x3970bb(0x16b)](_0x3c1cce,_0x60460b))),_0x5c0f5d=[_0x3970bb(0x22a),_0x3970bb(0x413)];return _0x503016&&_0x5c0f5d['push'](_0x3970bb(0x1b8)),!_0x503016&&!_0x5d11fe&&!_0x13a83d&&!_0x5cb515&&!_0x4bf61f&&!_0x1d5514&&!_0x599d6b&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x2ca)),_0x178720&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x1bc)),_0x97586a&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x12c)),_0x1d5514&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x3ef)),_0x5d11fe&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x444)),_0x34f9b6&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x1b1)),_0x4bf61f&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x327)),_0x13a83d&&_0x5c0f5d['push'](_0x3970bb(0x2a1)),!_0x503016&&!_0x5cb515&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x234)),!_0x503016&&!_0x5d11fe&&!_0x97586a&&!_0x34f9b6&&!_0x13a83d&&!_0x5cb515&&!_0x4bf61f&&_0x5c0f5d['push'](_0x3970bb(0x2b3),'verticalAxis',_0x3970bb(0x135)),!_0x503016&&!_0x5d11fe&&!_0x34f9b6&&!_0x13a83d&&!_0x5cb515&&_0x5c0f5d[_0x3970bb(0x16f)](_0x3970bb(0x1bb)),_0x5c0f5d;}function Se(_0x5d449a){const _0xe988c1=_0x4dfcf2;return!!(_0x5d449a&&[s['ChartTypeBits']['Area'],s[_0xe988c1(0x2c6)][_0xe988c1(0x2d0)],s['ChartTypeBits'][_0xe988c1(0x440)],s[_0xe988c1(0x2c6)][_0xe988c1(0x27b)],s['ChartTypeBits'][_0xe988c1(0x20f)],s[_0xe988c1(0x2c6)][_0xe988c1(0x113)]]['some'](_0x4eace3=>s[_0xe988c1(0x220)][_0xe988c1(0x16b)](_0x5d449a,_0x4eace3)));}function Ce(_0x2b768f){const _0x27d288=_0x4dfcf2;return _0x2b768f?s['chartBitsUtils'][_0x27d288(0x10e)](_0x2b768f,s[_0x27d288(0x3a6)][_0x27d288(0x43a)])?s[_0x27d288(0x1a9)][_0x27d288(0x15b)]:s[_0x27d288(0x220)][_0x27d288(0x10e)](_0x2b768f,s['ChartAttributeBits'][_0x27d288(0x242)])?s['StackType']['Stacked']:'':'';}function we(_0x46a0df,_0x74ae8){const _0x2a3b50=_0x4dfcf2;let _0xab06fe=s[_0x2a3b50(0x220)][_0x2a3b50(0x35f)](_0x46a0df,s[_0x2a3b50(0x3a6)]['PercentStack']|s[_0x2a3b50(0x3a6)][_0x2a3b50(0x242)]);return _0x74ae8===s[_0x2a3b50(0x1a9)][_0x2a3b50(0x2e1)]?_0xab06fe|s['ChartAttributeBits'][_0x2a3b50(0x242)]:_0x74ae8===s[_0x2a3b50(0x1a9)][_0x2a3b50(0x15b)]?_0xab06fe|s['ChartAttributeBits'][_0x2a3b50(0x43a)]:_0xab06fe;}function E(_0x3db73b,_0x4d9a1d){const _0x2799b0=_0x4dfcf2;return(_0x3db73b==null?'':String(_0x3db73b)[_0x2799b0(0x23c)]())||_0x4d9a1d;}function Te(_0x48bd89,_0x50937e){const _0x3ecdc6=_0x4dfcf2;var _0x2c511e;let _0x34b3b4=(_0x2c511e=_0x50937e[_0x3ecdc6(0x119)])==null?_0x3ecdc6(0xf2):_0x2c511e,_0x3fcdfc=_0x48bd89[_0x3ecdc6(0x34c)],_0x426daf=Math[_0x3ecdc6(0x144)](0x0,..._0x48bd89['map'](_0x1641ca=>_0x1641ca[_0x3ecdc6(0x34c)]));return _0x34b3b4===_0x3ecdc6(0x157)?Array[_0x3ecdc6(0x205)]({'length':_0x3fcdfc},(_0x30c3ac,_0x487485)=>{const _0xe12bbf=_0x3ecdc6;var _0x219f0e;return{'label':E(_0x50937e['firstColumnAsCategory']===!0x1||(_0x219f0e=_0x48bd89[_0x487485])==null?void 0x0:_0x219f0e[0x0],_0xe12bbf(0x30d)+(_0x487485+0x1)),'value':String(_0x487485)};}):Array[_0x3ecdc6(0x205)]({'length':_0x426daf},(_0xaa59ea,_0x1b4c26)=>{const _0x523866=_0x3ecdc6;var _0x1a9382;return{'label':E(_0x50937e['firstRowAsHeader']===!0x1||(_0x1a9382=_0x48bd89[0x0])==null?void 0x0:_0x1a9382[_0x1b4c26],_0x523866(0x3be)+(_0x1b4c26+0x1)),'value':String(_0x1b4c26)};});}function Ee(_0x89e8f3,_0x3a1736){const _0x703e87=_0x4dfcf2;let _0x5d6741=_0x89e8f3==null?s[_0x703e87(0x37b)]['labelContentType']:_0x89e8f3;return(_0x5d6741&_0x3a1736)===_0x3a1736?_0x5d6741&~_0x3a1736:_0x5d6741|_0x3a1736;}function De(_0x52878f){const _0x4c4819=_0x4dfcf2;var _0x4f9e00,_0x8dc028,_0x4b3220,_0x5227e9,_0x52c7fd,_0x5316f6,_0xf1aa73,_0x42a5a1,_0x1ca54a,_0x2eccc9,_0x42f12b,_0xef093d,_0x5e833e,_0xd1e0c3,_0x30195b,_0x5c68c2,_0x194676,_0xfe28ac,_0x2f4b04,_0x348748,_0x1d7b10,_0x1fa770,_0x3ce26f,_0x3763d7,_0x52165f,_0x548242,_0x4dd2da,_0x55ac6f,_0x20d525,_0x13eee5,_0x17d395,_0x3aff99,_0x50c42e,_0x31367c,_0x5a44f9,_0x305955,_0x5171cc,_0x548bf2,_0x536f99,_0x3df0b4,_0x3f892a,_0xadc08c,_0x41fc41,_0x32168c,_0x4796e7,_0x2e92ab,_0x63b650,_0x350563,_0x2eef37,_0x17ad01,_0x3ab71e,_0x26d159,_0x1d3b5d,_0x3754dd,_0x1c43d3,_0x1ec3aa,_0x3cd619,_0x55bda1,_0x321856,_0x2630aa,_0x29b31b,_0x56d424,_0x4ba1a0,_0x1aa49c,_0x3779eb,_0x5dee4f,_0x526156,_0x278155,_0x69d851,_0x4195c3,_0x378d9a,_0x412bd3,_0x8a0909,_0x3b66d0,_0x4e1162,_0x45d588,_0x346f24,_0x4032a4,_0xbbc64d,_0x27522c,_0x439829,_0xd07645,_0x5991e1,_0x513013,_0x18b9c8,_0x3f2f2e,_0x1129d9,_0x3b2938,_0x12502b,_0x36a5f0,_0x4f3e93,_0x51cc56,_0x505b3d,_0x1d89ba,_0x285905,_0x3dd9b8,_0x4a1f32,_0xf9f91b,_0x247333,_0x1d7409,_0x5d28db,_0x1b0183,_0x3ba53f,_0x3720b5,_0x321fa9,_0x151c8f,_0x5dfc11,_0x53abe4,_0x3dd1de,_0x135e23,_0x35aa29,_0x524eb2,_0x5b9bdb,_0x43a3a9,_0x3af067,_0x4d7aa9,_0x540d1f,_0x3fa16e,_0x1d4b5c,_0x591678,_0x473e0a,_0x2562ab,_0x98a042,_0x578be7,_0x446eca,_0x4f60df,_0x39cb69,_0x3de23f,_0x5629ba,_0x1bfd3e,_0x4f309f,_0x18d5eb,_0x8acb95,_0x308850,_0x42b55d,_0x38b4e0,_0x421164,_0x151a1c,_0x52531f,_0x23a07f,_0x50ef44;let _0x314719=(0x0,n[_0x4c4819(0x25e)])(e[_0x4c4819(0x19c)]),_0x552289=(0x0,n[_0x4c4819(0x25e)])(s[_0x4c4819(0x138)]),[_0x308484,_0x3ed0c4]=(0x0,r['useState'])(0x0),_0x27604a=(0x0,r['useMemo'])(()=>(0x0,i[_0x4c4819(0x1d6)])(re[_0x4c4819(0x114)](_0x5c796b=>({..._0x5c796b,'label':_0x314719['t'](_0x5c796b[_0x4c4819(0x350)])}))),[_0x314719]),_0x23fc77=(0x0,r[_0x4c4819(0x317)])(()=>(0x0,i[_0x4c4819(0x445)])(_0x552289[_0x4c4819(0x106)](),_0x281c35=>_0x552289[_0x4c4819(0x351)](_0x281c35)),[_0x552289]),_0x54902=(_0x4f9e00=(_0x8dc028=_0x52878f[_0x4c4819(0x380)])==null?void 0x0:_0x8dc028['backgroundColor'])==null?s['defaultChartConfig']['backgroundColor']:_0x4f9e00,_0x1d4837=(_0x4b3220=(_0x5227e9=_0x52878f[_0x4c4819(0x380)])==null?void 0x0:_0x5227e9['borderColor'])==null?_0x4c4819(0x372):_0x4b3220,_0x2d7594=xe(_0x52878f[_0x4c4819(0x33b)]),_0x4f99ff=(_0x52c7fd=_0x52878f['context'])==null?{}:_0x52c7fd,_0x15e75d=(_0x5316f6=_0x4f99ff[_0x4c4819(0x1c6)])==null?{}:_0x5316f6,_0x20b044=Se(_0x52878f[_0x4c4819(0x33b)]),_0x319667=(_0xf1aa73=_0x52878f['style'])==null?void 0x0:_0xf1aa73[_0x4c4819(0x25d)],_0x22f84e=typeof(_0x319667==null?void 0x0:_0x319667[_0x4c4819(0x35b)])==_0x4c4819(0x104)?_0x319667[_0x4c4819(0x35b)]:void 0x0,_0x3d71cd=(0x0,r[_0x4c4819(0x317)])(()=>Te(_0x52878f[_0x4c4819(0x1ac)],_0x4f99ff),[_0x4f99ff,_0x52878f[_0x4c4819(0x1ac)]]),_0x45473f=(_0x42a5a1=_0x15e75d['categoryIndex'])==null?0x0:_0x42a5a1,_0x13a515=(_0x1ca54a=_0x15e75d[_0x4c4819(0x24d)])==null?_0x3d71cd[_0x4c4819(0x114)](_0xfb20e8=>Number(_0xfb20e8[_0x4c4819(0x169)]))['filter'](_0x2953f1=>_0x2953f1!==_0x45473f):_0x1ca54a,_0x2e1ba5=_0x3d71cd['filter'](_0x4823cf=>Number(_0x4823cf[_0x4c4819(0x169)])!==_0x45473f),_0x1e07aa=(_0x5eb95e,_0x104052)=>{const _0x38005b=_0x4c4819;let _0x482c1a=_0x13a515[_0x38005b(0x369)]();_0x482c1a[_0x5eb95e]=Number(_0x104052),_0x52878f[_0x38005b(0x1cd)]({'chartContext':{'seriesIndexes':_0x482c1a}});},_0x57cf7a=_0xac7a36=>{const _0x33d0d8=_0x4c4819;_0x52878f[_0x33d0d8(0x1cd)]({'chartContext':{'seriesIndexes':_0x13a515[_0x33d0d8(0x296)]((_0x2c55f5,_0x1a095d)=>_0x1a095d!==_0xac7a36)}});},_0x3994ae=new Map([['chartStyle',{'label':_0x314719['t'](_0x4c4819(0x1e0)),'children':(0x0,o['jsxs'])(_0x4c4819(0x226),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pb-3','children':[(0x0,o['jsx'])(i[_0x4c4819(0x30a)],{'label':'Theme','value':(_0x2eccc9=(_0x42f12b=_0x52878f[_0x4c4819(0x380)])==null?void 0x0:_0x42f12b[_0x4c4819(0x189)])==null?(_0xef093d=_0x23fc77[0x0])==null?void 0x0:_0xef093d['value']:_0x2eccc9,'options':_0x23fc77,'onChange':_0x164673=>_0x52878f[_0x4c4819(0x358)]({'theme':_0x164673})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartColorField'],{'label':_0x314719['t'](_0x4c4819(0x13e)),'value':_0x54902,'onChange':_0x53c2c4=>_0x52878f[_0x4c4819(0x358)]({'backgroundColor':_0x53c2c4==null?void 0x0:_0x53c2c4})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x336)],{'label':_0x314719['t'](_0x4c4819(0x349)),'value':_0x1d4837,'onChange':_0x43d923=>_0x52878f['onStyleChange']({'borderColor':_0x43d923==null?void 0x0:_0x43d923})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x5e833e=(_0xd1e0c3=_0x52878f['style'])==null?void 0x0:_0xd1e0c3['gradientFill'])==null?!0x1:_0x5e833e,'label':'Gradient\x20fill','onChange':_0x406ead=>_0x52878f['onStyleChange']({'gradientFill':_0x406ead})})]})}],[_0x4c4819(0x413),{'label':_0x314719['t'](_0x4c4819(0x361)),'children':(0x0,o[_0x4c4819(0x294)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-3','children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x2ee),'value':(_0x30195b=(_0x5c68c2=_0x52878f['style'])==null||(_0x5c68c2=_0x5c68c2['titles'])==null?void 0x0:_0x5c68c2['titlePosition'])==null?s[_0x4c4819(0x240)][_0x4c4819(0x1e4)]:_0x30195b,'options':ae,'onChange':_0x203fe5=>_0x52878f[_0x4c4819(0x358)]({'titles':{'titlePosition':_0x203fe5}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartTextField'],{'label':_0x314719['t'](_0x4c4819(0x347)),'value':(_0x194676=(_0xfe28ac=_0x52878f['style'])==null||(_0xfe28ac=_0xfe28ac['titles'])==null||(_0xfe28ac=_0xfe28ac[_0x4c4819(0x10b)])==null?void 0x0:_0xfe28ac[_0x4c4819(0x2df)])==null?'':_0x194676,'onChange':_0x35c36b=>_0x52878f[_0x4c4819(0x358)]({'titles':{'title':{'content':_0x35c36b}}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartTextField'],{'label':_0x314719['t'](_0x4c4819(0x24c)),'value':(_0x2f4b04=(_0x348748=_0x52878f[_0x4c4819(0x380)])==null||(_0x348748=_0x348748[_0x4c4819(0x2a9)])==null||(_0x348748=_0x348748[_0x4c4819(0x2bc)])==null?void 0x0:_0x348748[_0x4c4819(0x2df)])==null?'':_0x2f4b04,'onChange':_0x284ed1=>_0x52878f[_0x4c4819(0x358)]({'titles':{'subtitle':{'content':_0x284ed1}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x25b)],{'label':_0x314719['t'](_0x4c4819(0x163)),'value':(_0x1d7b10=(_0x1fa770=_0x52878f['style'])==null||(_0x1fa770=_0x1fa770[_0x4c4819(0x2a9)])==null||(_0x1fa770=_0x1fa770[_0x4c4819(0x19e)])==null?void 0x0:_0x1fa770[_0x4c4819(0x2df)])==null?'':_0x1d7b10,'onChange':_0x345fb4=>_0x52878f[_0x4c4819(0x358)]({'titles':{'xAxisTitle':{'content':_0x345fb4}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x25b)],{'label':_0x314719['t'](_0x4c4819(0x27a)),'value':(_0x3ce26f=(_0x3763d7=_0x52878f[_0x4c4819(0x380)])==null||(_0x3763d7=_0x3763d7['titles'])==null||(_0x3763d7=_0x3763d7[_0x4c4819(0x29a)])==null?void 0x0:_0x3763d7[_0x4c4819(0x2df)])==null?'':_0x3ce26f,'onChange':_0xe4cd23=>_0x52878f[_0x4c4819(0x358)]({'titles':{'yAxisTitle':{'content':_0xe4cd23}}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartTextField'],{'label':_0x4c4819(0x2eb),'value':(_0x52165f=(_0x548242=_0x52878f[_0x4c4819(0x380)])==null||(_0x548242=_0x548242[_0x4c4819(0x2a9)])==null||(_0x548242=_0x548242[_0x4c4819(0x2a6)])==null?void 0x0:_0x548242[_0x4c4819(0x2df)])==null?'':_0x52165f,'onChange':_0x4e179d=>_0x52878f[_0x4c4819(0x358)]({'titles':{'rightYAxisTitle':{'content':_0x4e179d}}})}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o['jsx'])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x2c4),'min':0x8,'value':(_0x4dd2da=(_0x55ac6f=_0x52878f[_0x4c4819(0x380)])==null||(_0x55ac6f=_0x55ac6f['titles'])==null||(_0x55ac6f=_0x55ac6f[_0x4c4819(0x10b)])==null?void 0x0:_0x55ac6f[_0x4c4819(0x2c1)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x37d)]:_0x4dd2da,'onChange':_0x174c87=>_0x52878f[_0x4c4819(0x358)]({'titles':{'title':{'fontSize':_0x174c87}}})}),(0x0,o['jsx'])(i[_0x4c4819(0x3a4)],{'label':'Axis\x20title\x20font\x20size','min':0x8,'value':(_0x20d525=(_0x13eee5=_0x52878f[_0x4c4819(0x380)])==null||(_0x13eee5=_0x13eee5[_0x4c4819(0x2a9)])==null||(_0x13eee5=_0x13eee5[_0x4c4819(0x19e)])==null?void 0x0:_0x13eee5['fontSize'])==null?s[_0x4c4819(0x37b)]['textStyle'][_0x4c4819(0x2c1)]:_0x20d525,'onChange':_0x3f350a=>_0x52878f[_0x4c4819(0x358)]({'titles':{'xAxisTitle':{'fontSize':_0x3f350a},'yAxisTitle':{'fontSize':_0x3f350a},'rightYAxisTitle':{'fontSize':_0x3f350a}}})})]})]})}],['series',{'label':_0x314719['t'](_0x4c4819(0x2fc)),'children':(0x0,o['jsxs'])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3d7)],{'title':_0x4c4819(0x140)}),(0x0,o['jsx'])(i['ChartColorField'],{'label':_0x4c4819(0x409),'value':_0x22f84e,'onChange':_0x54943c=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'color':_0x54943c==null?void 0x0:_0x54943c}})}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o['jsx'])(i[_0x4c4819(0x30a)],{'label':'Opacity','value':String((_0x17d395=_0x319667==null?void 0x0:_0x319667['fillOpacity'])==null?0x1:_0x17d395),'options':de,'onChange':_0x19557c=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'fillOpacity':Number(_0x19557c)}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x432),'value':String((_0x3aff99=(_0x50c42e=_0x52878f['style'])==null||(_0x50c42e=_0x50c42e['allSeriesStyle'])==null||(_0x50c42e=_0x50c42e['border'])==null?void 0x0:_0x50c42e[_0x4c4819(0x15c)])==null?s[_0x4c4819(0x37b)]['borderStyle'][_0x4c4819(0x15c)]:_0x3aff99),'options':fe,'onChange':_0x15eedc=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'border':{'width':Number(_0x15eedc)}}})})]}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x155),'value':(_0x31367c=(_0x5a44f9=_0x52878f[_0x4c4819(0x380)])==null||(_0x5a44f9=_0x5a44f9['allSeriesStyle'])==null||(_0x5a44f9=_0x5a44f9[_0x4c4819(0x2f5)])==null?void 0x0:_0x5a44f9[_0x4c4819(0x210)])==null?s[_0x4c4819(0x37b)]['borderStyle']['dashType']:_0x31367c,'options':ue,'onChange':_0x3feb1=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'border':{'dashType':_0x3feb1}}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartSelectField'],{'label':_0x4c4819(0x257),'value':(_0x305955=(_0x5171cc=_0x52878f[_0x4c4819(0x380)])==null||(_0x5171cc=_0x5171cc[_0x4c4819(0x25d)])==null||(_0x5171cc=_0x5171cc[_0x4c4819(0x39a)])==null?void 0x0:_0x5171cc[_0x4c4819(0x11b)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x39a)][_0x4c4819(0x11b)]:_0x305955,'options':pe,'onChange':_0x548ca6=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'point':{'shape':_0x548ca6}}})})]}),(0x0,o['jsx'])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x3dc),'value':String((_0x548bf2=(_0x536f99=_0x52878f[_0x4c4819(0x380)])==null||(_0x536f99=_0x536f99[_0x4c4819(0x25d)])==null||(_0x536f99=_0x536f99['point'])==null?void 0x0:_0x536f99[_0x4c4819(0x252)])==null?s['defaultChartConfig'][_0x4c4819(0x39a)][_0x4c4819(0x252)]:_0x548bf2),'options':me,'onChange':_0x5db6f3=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'point':{'size':Number(_0x5db6f3)}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x3df0b4=(_0x3f892a=_0x52878f[_0x4c4819(0x380)])==null||(_0x3f892a=_0x3f892a[_0x4c4819(0x25d)])==null||(_0x3f892a=_0x3f892a[_0x4c4819(0x350)])==null?void 0x0:_0x3f892a[_0x4c4819(0x17e)])==null?!0x1:_0x3df0b4,'label':_0x314719['t'](_0x4c4819(0x2ad)),'onChange':_0x4424a5=>_0x52878f[_0x4c4819(0x358)]({'allSeriesStyle':{'label':{'visible':_0x4424a5}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':'Label\x20position','value':(_0xadc08c=(_0x41fc41=_0x52878f[_0x4c4819(0x380)])==null||(_0x41fc41=_0x41fc41['allSeriesStyle'])==null||(_0x41fc41=_0x41fc41['label'])==null?void 0x0:_0x41fc41[_0x4c4819(0x200)])==null?s[_0x4c4819(0x283)][_0x4c4819(0x3fb)]:_0xadc08c,'options':oe,'onChange':_0xd1a8ee=>_0x52878f['onStyleChange']({'allSeriesStyle':{'label':{'position':_0xd1a8ee}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x167),'min':0x8,'value':(_0x32168c=(_0x4796e7=_0x52878f['style'])==null||(_0x4796e7=_0x4796e7[_0x4c4819(0x25d)])==null||(_0x4796e7=_0x4796e7[_0x4c4819(0x350)])==null?void 0x0:_0x4796e7[_0x4c4819(0x2c1)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x17d)][_0x4c4819(0x2c1)]:_0x32168c,'onChange':_0x2740ea=>_0x52878f['onStyleChange']({'allSeriesStyle':{'label':{'fontSize':_0x2740ea}}})})]})}],[_0x4c4819(0x1bc),{'label':_0x4c4819(0x307),'children':(0x0,o[_0x4c4819(0x28b)])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':(0x0,o['jsx'])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x3d2),'value':(_0x2e92ab=(_0x63b650=_0x52878f[_0x4c4819(0x380)])==null||(_0x63b650=_0x63b650[_0x4c4819(0x382)])==null?void 0x0:_0x63b650['lineStyle'])==null?s[_0x4c4819(0x17f)]['Line']:_0x2e92ab,'options':[{'label':'Line','value':s[_0x4c4819(0x17f)][_0x4c4819(0x3fc)]},{'label':_0x4c4819(0x385),'value':s[_0x4c4819(0x17f)][_0x4c4819(0x385)]},{'label':_0x4c4819(0x354),'value':s[_0x4c4819(0x17f)][_0x4c4819(0x354)]}],'onChange':_0x41f8ea=>_0x52878f[_0x4c4819(0x358)]({'area':{'lineStyle':_0x41f8ea}})})})}],[_0x4c4819(0x444),{'label':_0x314719['t']('docs-chart-ui.chartTypes.pie'),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o['jsx'])(i[_0x4c4819(0x30a)],{'label':'Doughnut\x20hole','value':String((_0x350563=(_0x2eef37=_0x52878f[_0x4c4819(0x380)])==null||(_0x2eef37=_0x2eef37[_0x4c4819(0x444)])==null?void 0x0:_0x2eef37['doughnutHole'])==null?0x0:_0x350563),'options':[0x0,0.25,0.5,0.75][_0x4c4819(0x114)](_0x22515f=>({'label':_0x22515f*0x64+'%','value':String(_0x22515f)})),'onChange':_0xa1040e=>_0x52878f['onStyleChange']({'pie':{'doughnutHole':Number(_0xa1040e)}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartCheckboxField'],{'checked':(_0x17ad01=(_0x3ab71e=_0x52878f[_0x4c4819(0x380)])==null||(_0x3ab71e=_0x3ab71e[_0x4c4819(0x444)])==null||(_0x3ab71e=_0x3ab71e[_0x4c4819(0x2e0)])==null?void 0x0:_0x3ab71e[_0x4c4819(0x17e)])==null?!0x0:_0x17ad01,'label':_0x314719['t'](_0x4c4819(0x2ad)),'onChange':_0x3e3947=>_0x52878f[_0x4c4819(0x358)]({'pie':{'labelStyle':{'visible':_0x3e3947}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':'Label\x20position','value':(_0x26d159=(_0x1d3b5d=_0x52878f[_0x4c4819(0x380)])==null||(_0x1d3b5d=_0x1d3b5d[_0x4c4819(0x444)])==null||(_0x1d3b5d=_0x1d3b5d[_0x4c4819(0x2e0)])==null?void 0x0:_0x1d3b5d[_0x4c4819(0x200)])==null?s[_0x4c4819(0x2b8)][_0x4c4819(0x1d7)]:_0x26d159,'options':se,'onChange':_0x14f4a5=>_0x52878f[_0x4c4819(0x358)]({'pie':{'labelStyle':{'position':_0x14f4a5}}})}),(0x0,o['jsx'])('div',{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':he[_0x4c4819(0x296)](_0x41f8d5=>_0x41f8d5[_0x4c4819(0x169)]!==s['LabelContentType'][_0x4c4819(0xff)])['map'](_0x290249=>{const _0x5c55c6=_0x4c4819;var _0x4a47c4,_0x20a758;let _0x5ab8a1=(_0x4a47c4=(_0x20a758=_0x52878f[_0x5c55c6(0x380)])==null||(_0x20a758=_0x20a758['pie'])==null||(_0x20a758=_0x20a758[_0x5c55c6(0x2e0)])==null?void 0x0:_0x20a758[_0x5c55c6(0x23e)])==null?s[_0x5c55c6(0x37b)]['pie'][_0x5c55c6(0x3d6)]:_0x4a47c4;return(0x0,o['jsx'])(t[_0x5c55c6(0x1a2)],{'checked':(_0x5ab8a1&_0x290249[_0x5c55c6(0x169)])===_0x290249[_0x5c55c6(0x169)],'onChange':()=>_0x52878f[_0x5c55c6(0x358)]({'pie':{'labelStyle':{'contentType':Ee(_0x5ab8a1,_0x290249['value'])}}}),'children':_0x290249[_0x5c55c6(0x350)]},_0x290249['value']);})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x3754dd=(_0x1c43d3=_0x52878f[_0x4c4819(0x380)])==null||(_0x1c43d3=_0x1c43d3[_0x4c4819(0x444)])==null?void 0x0:_0x1c43d3[_0x4c4819(0x1c3)])==null?!0x0:_0x3754dd,'label':_0x4c4819(0x3ec),'onChange':_0x1a545a=>_0x52878f[_0x4c4819(0x358)]({'pie':{'showLabelLine':_0x1a545a}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x1ec3aa=(_0x3cd619=_0x52878f[_0x4c4819(0x380)])==null||(_0x3cd619=_0x3cd619[_0x4c4819(0x444)])==null?void 0x0:_0x3cd619[_0x4c4819(0x35c)])==null?!0x1:_0x1ec3aa,'label':_0x4c4819(0x3a2),'onChange':_0x2aeba7=>_0x52878f[_0x4c4819(0x358)]({'pie':{'rosePie':_0x2aeba7}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartCheckboxField'],{'checked':(_0x55bda1=(_0x321856=_0x52878f[_0x4c4819(0x380)])==null||(_0x321856=_0x321856['pie'])==null?void 0x0:_0x321856[_0x4c4819(0x419)])==null?!0x1:_0x55bda1,'label':_0x4c4819(0x204),'onChange':_0x76b91a=>_0x52878f[_0x4c4819(0x358)]({'pie':{'isHalfPie':_0x76b91a}})})]})}],['funnel',{'label':_0x314719['t'](_0x4c4819(0x352)),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x1f9),'value':(_0x2630aa=(_0x29b31b=_0x52878f[_0x4c4819(0x380)])==null||(_0x29b31b=_0x29b31b[_0x4c4819(0x1b1)])==null?void 0x0:_0x29b31b[_0x4c4819(0x33c)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x1b1)][_0x4c4819(0x33c)]:_0x2630aa,'min':0x0,'onChange':_0x11e46f=>_0x52878f[_0x4c4819(0x358)]({'funnel':{'gap':_0x11e46f}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x56d424=(_0x4ba1a0=_0x52878f['style'])==null||(_0x4ba1a0=_0x4ba1a0[_0x4c4819(0x1b1)])==null?void 0x0:_0x4ba1a0[_0x4c4819(0x1d5)])==null?!0x1:_0x56d424,'label':_0x314719['t'](_0x4c4819(0x110)),'onChange':_0x2eff0f=>_0x52878f[_0x4c4819(0x358)]({'funnel':{'useAbsValue':_0x2eff0f}})})]})}],[_0x4c4819(0x1b8),{'label':_0x314719['t'](_0x4c4819(0x2ec)),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-3','children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartSelectField'],{'label':_0x4c4819(0x3a3),'value':(_0x1aa49c=(_0x3779eb=_0x52878f[_0x4c4819(0x380)])==null||(_0x3779eb=_0x3779eb[_0x4c4819(0x1b8)])==null?void 0x0:_0x3779eb[_0x4c4819(0x11b)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x1b8)][_0x4c4819(0x11b)]:_0x1aa49c,'options':ge,'onChange':_0x3bd7ba=>_0x52878f[_0x4c4819(0x358)]({'wordCloud':{'shape':_0x3bd7ba,'maskImage':_0x3bd7ba}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x5dee4f=(_0x526156=_0x52878f[_0x4c4819(0x380)])==null||(_0x526156=_0x526156[_0x4c4819(0x1b8)])==null?void 0x0:_0x526156[_0x4c4819(0x15f)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x1b8)][_0x4c4819(0x15f)]:_0x5dee4f,'label':_0x4c4819(0x284),'onChange':_0x38c623=>_0x52878f[_0x4c4819(0x358)]({'wordCloud':{'repeat':_0x38c623}})})]})}],[_0x4c4819(0x12c),{'label':_0x314719['t'](_0x4c4819(0x281)),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o['jsx'])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x3a3),'value':(_0x278155=(_0x69d851=_0x52878f['style'])==null||(_0x69d851=_0x69d851[_0x4c4819(0x12c)])==null?void 0x0:_0x69d851[_0x4c4819(0x11b)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x12c)]['shape']:_0x278155,'options':_e,'onChange':_0x14e08c=>_0x52878f[_0x4c4819(0x358)]({'radar':{'shape':_0x14e08c}})}),(0x0,o['jsx'])(i['ChartCheckboxField'],{'checked':(_0x4195c3=(_0x378d9a=_0x52878f[_0x4c4819(0x380)])==null||(_0x378d9a=_0x378d9a[_0x4c4819(0x12c)])==null?void 0x0:_0x378d9a[_0x4c4819(0x15d)])==null?!0x1:_0x4195c3,'label':_0x4c4819(0x40c),'onChange':_0x3acc86=>_0x52878f['onStyleChange']({'radar':{'fill':_0x3acc86}})})]})}],[_0x4c4819(0x3ef),{'label':_0x314719['t'](_0x4c4819(0x308)),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartSelectField'],{'label':_0x4c4819(0x242),'value':(_0x412bd3=(_0x8a0909=_0x52878f[_0x4c4819(0x380)])==null||(_0x8a0909=_0x8a0909[_0x4c4819(0x3ef)])==null?void 0x0:_0x8a0909[_0x4c4819(0x120)])==null?s['defaultChartConfig'][_0x4c4819(0x3ef)][_0x4c4819(0x120)]:_0x412bd3,'options':ve,'onChange':_0x24fe21=>_0x52878f['onStyleChange']({'waterfall':{'stackType':_0x24fe21}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x3b66d0=(_0x4e1162=_0x52878f[_0x4c4819(0x380)])==null||(_0x4e1162=_0x4e1162[_0x4c4819(0x3ef)])==null?void 0x0:_0x4e1162[_0x4c4819(0x181)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x3ef)][_0x4c4819(0x181)]:_0x3b66d0,'label':_0x4c4819(0x368),'onChange':_0x517555=>_0x52878f['onStyleChange']({'waterfall':{'useSubtotal':_0x517555}})})]})}],['heatmap',{'label':_0x314719['t']('docs-chart-ui.chartTypes.heatmap'),'children':(0x0,o['jsxs'])('div',{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartSelectField'],{'label':_0x4c4819(0x219),'value':(_0x45d588=(_0x346f24=_0x52878f[_0x4c4819(0x380)])==null||(_0x346f24=_0x346f24[_0x4c4819(0x327)])==null?void 0x0:_0x346f24[_0x4c4819(0x134)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x327)][_0x4c4819(0x134)]:_0x45d588,'options':ye,'onChange':_0x450f3d=>_0x52878f[_0x4c4819(0x358)]({'heatmap':{'visualMapType':_0x450f3d}})}),(0x0,o[_0x4c4819(0x294)])(i['ChartPropertyRow'],{'children':[(0x0,o['jsx'])(i[_0x4c4819(0x3a4)],{'label':'Min','value':(_0x4032a4=_0x52878f[_0x4c4819(0x380)])==null||(_0x4032a4=_0x4032a4['heatmap'])==null?void 0x0:_0x4032a4[_0x4c4819(0x24a)],'onChange':_0x1a5c45=>_0x52878f['onStyleChange']({'heatmap':{'min':_0x1a5c45}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartNumberField'],{'label':_0x4c4819(0x2fe),'value':(_0xbbc64d=_0x52878f[_0x4c4819(0x380)])==null||(_0xbbc64d=_0xbbc64d[_0x4c4819(0x327)])==null?void 0x0:_0xbbc64d['max'],'onChange':_0x13ba4a=>_0x52878f[_0x4c4819(0x358)]({'heatmap':{'max':_0x13ba4a}})})]})]})}],['relation',{'label':_0x314719['t'](_0x4c4819(0x3e7)),'children':(0x0,o['jsxs'])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x1b4),'value':(_0x27522c=(_0x439829=_0x52878f[_0x4c4819(0x380)])==null||(_0x439829=_0x439829[_0x4c4819(0x2a1)])==null?void 0x0:_0x439829[_0x4c4819(0x44c)])==null?s[_0x4c4819(0x13c)][_0x4c4819(0x23a)]:_0x27522c,'options':be,'onChange':_0x431f36=>_0x52878f[_0x4c4819(0x358)]({'relation':{'layout':_0x431f36}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x262),'value':(_0xd07645=(_0x5991e1=_0x52878f[_0x4c4819(0x380)])==null||(_0x5991e1=_0x5991e1[_0x4c4819(0x2a1)])==null?void 0x0:_0x5991e1[_0x4c4819(0x1c2)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x2a1)][_0x4c4819(0x1c2)]:_0xd07645,'options':pe,'onChange':_0x403dc8=>_0x52878f[_0x4c4819(0x358)]({'relation':{'nodeShape':_0x403dc8}})}),(0x0,o['jsx'])(i['ChartCheckboxField'],{'checked':(_0x513013=(_0x18b9c8=_0x52878f['style'])==null||(_0x18b9c8=_0x18b9c8[_0x4c4819(0x2a1)])==null?void 0x0:_0x18b9c8['useValueAsSymbolSize'])==null?!0x1:_0x513013,'label':_0x4c4819(0x36c),'onChange':_0x117487=>_0x52878f['onStyleChange']({'relation':{'useValueAsSymbolSize':_0x117487}})})]})}],[_0x4c4819(0x234),{'label':_0x314719['t'](_0x4c4819(0x206)),'children':(0x0,o[_0x4c4819(0x294)])('div',{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartSelectField'],{'label':_0x4c4819(0x3a8),'value':(_0x3f2f2e=(_0x1129d9=_0x52878f['style'])==null||(_0x1129d9=_0x1129d9[_0x4c4819(0x234)])==null?void 0x0:_0x1129d9[_0x4c4819(0x200)])==null?s[_0x4c4819(0x25f)]['Bottom']:_0x3f2f2e,'options':ie,'onChange':_0x4239ca=>_0x52878f[_0x4c4819(0x358)]({'legend':{'position':_0x4239ca}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartLegendWrapField'],{'chartType':_0x52878f[_0x4c4819(0x33b)],'position':(_0x3b2938=_0x52878f[_0x4c4819(0x380)])==null||(_0x3b2938=_0x3b2938[_0x4c4819(0x234)])==null?void 0x0:_0x3b2938['position'],'wrap':(_0x12502b=_0x52878f['style'])==null||(_0x12502b=_0x12502b['legend'])==null?void 0x0:_0x12502b[_0x4c4819(0x1a5)],'onChange':_0x3ca9e9=>_0x52878f[_0x4c4819(0x358)]({'legend':{'wrap':_0x3ca9e9}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x30a)],{'label':_0x4c4819(0x384),'value':(_0x36a5f0=(_0x4f3e93=_0x52878f[_0x4c4819(0x380)])==null||(_0x4f3e93=_0x4f3e93[_0x4c4819(0x234)])==null?void 0x0:_0x4f3e93[_0x4c4819(0x245)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x234)][_0x4c4819(0x245)]:_0x36a5f0,'options':le,'onChange':_0xd35240=>_0x52878f[_0x4c4819(0x358)]({'legend':{'selectMode':_0xd35240}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartNumberField'],{'label':_0x4c4819(0x167),'min':0x8,'value':(_0x51cc56=(_0x505b3d=_0x52878f[_0x4c4819(0x380)])==null||(_0x505b3d=_0x505b3d[_0x4c4819(0x234)])==null||(_0x505b3d=_0x505b3d[_0x4c4819(0x350)])==null?void 0x0:_0x505b3d[_0x4c4819(0x2c1)])==null?s[_0x4c4819(0x37b)]['textStyle']['fontSize']:_0x51cc56,'onChange':_0x283606=>_0x52878f[_0x4c4819(0x358)]({'legend':{'label':{'fontSize':_0x283606}}})})]})}],['horizontalAxis',{'label':_0x314719['t'](_0x4c4819(0x277)),'children':(0x0,o['jsxs'])(_0x4c4819(0x226),{'className':_0x4c4819(0x23d),'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x1d89ba=(_0x285905=_0x52878f[_0x4c4819(0x380)])==null||(_0x285905=_0x285905[_0x4c4819(0x375)])==null?void 0x0:_0x285905[_0x4c4819(0x42a)])==null?!0x0:_0x1d89ba,'label':_0x314719['t']('docs-chart-ui.visible'),'onChange':_0x24dc59=>_0x52878f['onStyleChange']({'xAxis':{'lineVisible':_0x24dc59}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x3dd9b8=(_0x4a1f32=_0x52878f[_0x4c4819(0x380)])==null||(_0x4a1f32=_0x4a1f32[_0x4c4819(0x375)])==null||(_0x4a1f32=_0x4a1f32['label'])==null?void 0x0:_0x4a1f32[_0x4c4819(0x17e)])==null?!0x0:_0x3dd9b8,'label':_0x314719['t'](_0x4c4819(0x2d3)),'onChange':_0x21a809=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'label':{'visible':_0x21a809}}})}),(0x0,o['jsx'])(i[_0x4c4819(0x146)],{'checked':(_0xf9f91b=(_0x247333=_0x52878f[_0x4c4819(0x380)])==null||(_0x247333=_0x247333[_0x4c4819(0x375)])==null?void 0x0:_0x247333[_0x4c4819(0x2b5)])==null?!0x1:_0xf9f91b,'label':_0x314719['t'](_0x4c4819(0x1d0)),'onChange':_0x37121d=>_0x52878f['onStyleChange']({'xAxis':{'reverse':_0x37121d}})}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o['jsx'])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x21c),'value':(_0x1d7409=_0x52878f[_0x4c4819(0x380)])==null||(_0x1d7409=_0x1d7409[_0x4c4819(0x375)])==null?void 0x0:_0x1d7409[_0x4c4819(0x24a)],'onChange':_0x25db92=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'min':_0x25db92}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x2fe),'value':(_0x5d28db=_0x52878f[_0x4c4819(0x380)])==null||(_0x5d28db=_0x5d28db[_0x4c4819(0x375)])==null?void 0x0:_0x5d28db[_0x4c4819(0x144)],'onChange':_0x3e9aec=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'max':_0x3e9aec}})})]}),(0x0,o[_0x4c4819(0x28b)])(i['ChartTextField'],{'label':_0x4c4819(0x100),'value':(_0x1b0183=(_0x3ba53f=_0x52878f[_0x4c4819(0x380)])==null||(_0x3ba53f=_0x3ba53f[_0x4c4819(0x375)])==null?void 0x0:_0x3ba53f['format'])==null?'':_0x1b0183,'placeholder':'e.g.\x200.00…','onChange':_0x44f62e=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'format':_0x44f62e}})}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x424),'value':(_0x3720b5=(_0x321fa9=_0x52878f['style'])==null||(_0x321fa9=_0x321fa9[_0x4c4819(0x375)])==null||(_0x321fa9=_0x321fa9[_0x4c4819(0x350)])==null?void 0x0:_0x321fa9[_0x4c4819(0x209)])==null?0x0:_0x3720b5,'onChange':_0x3a9bc5=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'label':{'rotate':_0x3a9bc5}}})}),(0x0,o['jsx'])(i['ChartNumberField'],{'label':_0x4c4819(0x167),'min':0x8,'value':(_0x151c8f=(_0x5dfc11=_0x52878f[_0x4c4819(0x380)])==null||(_0x5dfc11=_0x5dfc11[_0x4c4819(0x375)])==null||(_0x5dfc11=_0x5dfc11[_0x4c4819(0x350)])==null?void 0x0:_0x5dfc11[_0x4c4819(0x2c1)])==null?s[_0x4c4819(0x37b)]['textStyle']['fontSize']:_0x151c8f,'onChange':_0x16cfb2=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'label':{'fontSize':_0x16cfb2}}})})]}),(0x0,o['jsx'])(i[_0x4c4819(0x146)],{'checked':(_0x53abe4=(_0x3dd1de=_0x52878f[_0x4c4819(0x380)])==null||(_0x3dd1de=_0x3dd1de['xAxis'])==null||(_0x3dd1de=_0x3dd1de[_0x4c4819(0x232)])==null?void 0x0:_0x3dd1de['visible'])==null?!0x1:_0x53abe4,'label':'Show\x20ticks','onChange':_0x4f0879=>_0x52878f['onStyleChange']({'xAxis':{'tick':{'visible':_0x4f0879}}})})]})}],[_0x4c4819(0x2be),{'label':_0x314719['t'](_0x4c4819(0x390)),'children':(0x0,o[_0x4c4819(0x294)])('div',{'className':_0x4c4819(0x23d),'children':[(0x0,o['jsx'])(i[_0x4c4819(0x146)],{'checked':(_0x135e23=(_0x35aa29=_0x52878f[_0x4c4819(0x380)])==null||(_0x35aa29=_0x35aa29[_0x4c4819(0x429)])==null?void 0x0:_0x35aa29[_0x4c4819(0x42a)])==null?!0x0:_0x135e23,'label':_0x314719['t'](_0x4c4819(0x34e)),'onChange':_0x4eb7f4=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'lineVisible':_0x4eb7f4}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartCheckboxField'],{'checked':(_0x524eb2=(_0x5b9bdb=_0x52878f[_0x4c4819(0x380)])==null||(_0x5b9bdb=_0x5b9bdb[_0x4c4819(0x429)])==null||(_0x5b9bdb=_0x5b9bdb['label'])==null?void 0x0:_0x5b9bdb[_0x4c4819(0x17e)])==null?!0x0:_0x524eb2,'label':_0x314719['t'](_0x4c4819(0x2d3)),'onChange':_0x32ed0d=>_0x52878f['onStyleChange']({'yAxis':{'label':{'visible':_0x32ed0d}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x43a3a9=(_0x3af067=_0x52878f[_0x4c4819(0x380)])==null||(_0x3af067=_0x3af067[_0x4c4819(0x429)])==null?void 0x0:_0x3af067['reverse'])==null?!0x1:_0x43a3a9,'label':_0x314719['t'](_0x4c4819(0x1d0)),'onChange':_0x1aefa3=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'reverse':_0x1aefa3}})}),(0x0,o[_0x4c4819(0x294)])(i['ChartPropertyRow'],{'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartNumberField'],{'label':_0x4c4819(0x21c),'value':(_0x4d7aa9=_0x52878f[_0x4c4819(0x380)])==null||(_0x4d7aa9=_0x4d7aa9[_0x4c4819(0x429)])==null?void 0x0:_0x4d7aa9[_0x4c4819(0x24a)],'onChange':_0x327b08=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'min':_0x327b08}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x2fe),'value':(_0x540d1f=_0x52878f[_0x4c4819(0x380)])==null||(_0x540d1f=_0x540d1f[_0x4c4819(0x429)])==null?void 0x0:_0x540d1f['max'],'onChange':_0x126819=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'max':_0x126819}})})]}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x25b)],{'label':_0x4c4819(0x100),'value':(_0x3fa16e=(_0x1d4b5c=_0x52878f[_0x4c4819(0x380)])==null||(_0x1d4b5c=_0x1d4b5c[_0x4c4819(0x429)])==null?void 0x0:_0x1d4b5c[_0x4c4819(0x2c3)])==null?'':_0x3fa16e,'placeholder':_0x4c4819(0x441),'onChange':_0x49e782=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'format':_0x49e782}})}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x424),'value':(_0x591678=(_0x473e0a=_0x52878f['style'])==null||(_0x473e0a=_0x473e0a[_0x4c4819(0x429)])==null||(_0x473e0a=_0x473e0a[_0x4c4819(0x350)])==null?void 0x0:_0x473e0a[_0x4c4819(0x209)])==null?0x0:_0x591678,'onChange':_0x55a717=>_0x52878f['onStyleChange']({'yAxis':{'label':{'rotate':_0x55a717}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x167),'min':0x8,'value':(_0x2562ab=(_0x98a042=_0x52878f[_0x4c4819(0x380)])==null||(_0x98a042=_0x98a042[_0x4c4819(0x429)])==null||(_0x98a042=_0x98a042['label'])==null?void 0x0:_0x98a042[_0x4c4819(0x2c1)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x17d)]['fontSize']:_0x2562ab,'onChange':_0x48bc21=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'label':{'fontSize':_0x48bc21}}})})]}),(0x0,o[_0x4c4819(0x28b)])(i['ChartCheckboxField'],{'checked':(_0x578be7=(_0x446eca=_0x52878f['style'])==null||(_0x446eca=_0x446eca['yAxis'])==null||(_0x446eca=_0x446eca[_0x4c4819(0x232)])==null?void 0x0:_0x446eca[_0x4c4819(0x17e)])==null?!0x1:_0x578be7,'label':_0x4c4819(0x1b0),'onChange':_0x42a74f=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'tick':{'visible':_0x42a74f}}})})]})}],['gridlinesAndTicks',{'label':_0x314719['t'](_0x4c4819(0x389)),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-pb-3','children':[(0x0,o['jsx'])(i[_0x4c4819(0x146)],{'checked':(_0x4f60df=(_0x39cb69=_0x52878f[_0x4c4819(0x380)])==null||(_0x39cb69=_0x39cb69[_0x4c4819(0x375)])==null||(_0x39cb69=_0x39cb69[_0x4c4819(0x340)])==null?void 0x0:_0x39cb69[_0x4c4819(0x17e)])==null?!0x0:_0x4f60df,'label':_0x314719['t'](_0x4c4819(0x277)),'onChange':_0x86ed18=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'gridLine':{'visible':_0x86ed18}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x146)],{'checked':(_0x3de23f=(_0x5629ba=_0x52878f[_0x4c4819(0x380)])==null||(_0x5629ba=_0x5629ba[_0x4c4819(0x429)])==null||(_0x5629ba=_0x5629ba[_0x4c4819(0x340)])==null?void 0x0:_0x5629ba['visible'])==null?!0x0:_0x3de23f,'label':_0x314719['t'](_0x4c4819(0x390)),'onChange':_0x3a53a8=>_0x52878f[_0x4c4819(0x358)]({'yAxis':{'gridLine':{'visible':_0x3a53a8}}})}),(0x0,o[_0x4c4819(0x294)])(i[_0x4c4819(0x133)],{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':'Horizontal\x20width','min':0x0,'value':(_0x1bfd3e=(_0x4f309f=_0x52878f[_0x4c4819(0x380)])==null||(_0x4f309f=_0x4f309f[_0x4c4819(0x375)])==null||(_0x4f309f=_0x4f309f[_0x4c4819(0x340)])==null?void 0x0:_0x4f309f[_0x4c4819(0x15c)])==null?0x1:_0x1bfd3e,'onChange':_0x279ad6=>_0x52878f[_0x4c4819(0x358)]({'xAxis':{'gridLine':{'width':_0x279ad6}}})}),(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3a4)],{'label':_0x4c4819(0x202),'min':0x0,'value':(_0x18d5eb=(_0x8acb95=_0x52878f[_0x4c4819(0x380)])==null||(_0x8acb95=_0x8acb95[_0x4c4819(0x429)])==null||(_0x8acb95=_0x8acb95[_0x4c4819(0x340)])==null?void 0x0:_0x8acb95[_0x4c4819(0x15c)])==null?0x1:_0x18d5eb,'onChange':_0x2c72e9=>_0x52878f['onStyleChange']({'yAxis':{'gridLine':{'width':_0x2c72e9}}})})]})]})}],['indicatorLine',{'label':_0x314719['t'](_0x4c4819(0x1fa)),'children':(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x430),'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x336)],{'label':'Color','value':(_0x308850=_0x52878f['style'])==null||(_0x308850=_0x308850[_0x4c4819(0x416)])==null?void 0x0:_0x308850[_0x4c4819(0x355)],'onChange':_0x1a85d7=>_0x52878f[_0x4c4819(0x358)]({'tooltip':{'indicatorLineColor':_0x1a85d7==null?_0x4c4819(0x179):_0x1a85d7}})}),(0x0,o[_0x4c4819(0x28b)])(i['ChartSelectField'],{'label':_0x4c4819(0x1f3),'value':(_0x42b55d=(_0x38b4e0=_0x52878f['style'])==null||(_0x38b4e0=_0x38b4e0[_0x4c4819(0x416)])==null?void 0x0:_0x38b4e0[_0x4c4819(0x2bf)])==null?s[_0x4c4819(0x37b)][_0x4c4819(0x2bf)]:_0x42b55d,'options':ue,'onChange':_0x1819fa=>_0x52878f[_0x4c4819(0x358)]({'tooltip':{'indicatorLineType':_0x1819fa}})})]})}]]),_0x1cf9f3=_0x2d7594[_0x4c4819(0x114)](_0x5561de=>_0x3994ae[_0x4c4819(0x21b)](_0x5561de))[_0x4c4819(0x296)](_0x58be97=>!!_0x58be97);return(0x0,o['jsxs'])('div',{'className':_0x4c4819(0x319),'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartEditPanelTabs'],{'className':_0x4c4819(0x160),'value':_0x308484,'items':[{'label':_0x314719['t']('docs-chart-ui.setupChart'),'value':0x0},{'label':_0x314719['t'](_0x4c4819(0x20b)),'value':0x1},{'label':_0x314719['t']('docs-chart-ui.data'),'value':0x2}],'onChange':_0x3ed0c4}),(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x31c),'children':[_0x308484===0x0&&(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-px-1','children':[(0x0,o[_0x4c4819(0x294)])('div',{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3d7)],{'title':_0x314719['t'](_0x4c4819(0x315))}),(0x0,o['jsx'])(t[_0x4c4819(0x22b)],{'className':_0x4c4819(0x3eb),'value':String(_0x52878f[_0x4c4819(0x33b)]),'options':_0x27604a,'onChange':_0x471f03=>_0x52878f[_0x4c4819(0x3e9)](Number(_0x471f03))})]}),(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3d7)],{'title':'Themes'}),(0x0,o['jsx'])(t[_0x4c4819(0x22b)],{'className':_0x4c4819(0x3eb),'value':(_0x421164=(_0x151a1c=_0x52878f[_0x4c4819(0x380)])==null?void 0x0:_0x151a1c[_0x4c4819(0x189)])==null?(_0x52531f=_0x23fc77[0x0])==null?void 0x0:_0x52531f[_0x4c4819(0x169)]:_0x421164,'options':_0x23fc77,'onChange':_0x329ed3=>_0x52878f[_0x4c4819(0x358)]({'theme':_0x329ed3})})]}),(0x0,o[_0x4c4819(0x28b)])(_0x4c4819(0x226),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,o[_0x4c4819(0x28b)])(t['Checkbox'],{'checked':(_0x23a07f=(_0x50ef44=_0x52878f[_0x4c4819(0x380)])==null?void 0x0:_0x50ef44[_0x4c4819(0x2f2)])==null?!0x1:_0x23a07f,'onChange':_0x411e8b=>_0x52878f[_0x4c4819(0x358)]({'gradientFill':!!_0x411e8b}),'children':_0x4c4819(0x229)})}),_0x20b044&&(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartEditBlockTitle'],{'title':_0x4c4819(0x242)}),(0x0,o['jsx'])(t['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':Ce(_0x52878f[_0x4c4819(0x33b)]),'options':ce,'onChange':_0x223cb1=>_0x52878f[_0x4c4819(0x3e9)](we(_0x52878f[_0x4c4819(0x33b)],_0x223cb1))})]}),(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'children':[(0x0,o[_0x4c4819(0x28b)])(i[_0x4c4819(0x3d7)],{'title':_0x4c4819(0x446)}),(0x0,o['jsx'])(t['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x45473f),'options':_0x3d71cd,'onChange':_0x53842a=>_0x52878f[_0x4c4819(0x1cd)]({'chartContext':{'categoryIndex':Number(_0x53842a)}})})]}),(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'children':[(0x0,o[_0x4c4819(0x28b)])(i['ChartEditBlockTitle'],{'title':_0x314719['t']('docs-chart-ui.series')}),(0x0,o[_0x4c4819(0x294)])('div',{'className':_0x4c4819(0x434),'children':[_0x13a515[_0x4c4819(0x114)]((_0x1ee86c,_0x165b9f)=>(0x0,o[_0x4c4819(0x294)])(_0x4c4819(0x226),{'className':_0x4c4819(0x192),'children':[(0x0,o[_0x4c4819(0x28b)])(t[_0x4c4819(0x22b)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x1ee86c),'options':_0x2e1ba5,'onChange':_0xdb4d8e=>_0x1e07aa(_0x165b9f,_0xdb4d8e)}),(0x0,o[_0x4c4819(0x28b)])('div',{'className':_0x4c4819(0x298),'onClick':()=>_0x57cf7a(_0x165b9f),'children':(0x0,o[_0x4c4819(0x28b)])(c[_0x4c4819(0x411)],{})})]},_0x1ee86c+'-'+_0x165b9f)),(0x0,o['jsx'])(t[_0x4c4819(0x2cc)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x2e1ba5[_0x4c4819(0x296)](_0x1f4417=>!_0x13a515[_0x4c4819(0x443)](Number(_0x1f4417[_0x4c4819(0x169)])))[_0x4c4819(0x114)](_0x1c051d=>({'type':_0x4c4819(0x19f),'children':_0x1c051d[_0x4c4819(0x350)],'onSelect':()=>{const _0x108576=_0x4c4819;_0x52878f[_0x108576(0x1cd)]({'chartContext':{'seriesIndexes':[..._0x13a515,Number(_0x1c051d[_0x108576(0x169)])]}});}})),'children':(0x0,o[_0x4c4819(0x294)])('a',{'className':_0x4c4819(0x3ae),'children':[(0x0,o['jsx'])(c[_0x4c4819(0x287)],{'className':_0x4c4819(0x3af)}),(0x0,o['jsx'])(_0x4c4819(0x1a6),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x4c4819(0x151)})]})})]})]}),(0x0,o[_0x4c4819(0x28b)])(_0x4c4819(0x226),{'className':_0x4c4819(0x260),'children':(0x0,o[_0x4c4819(0x28b)])(t[_0x4c4819(0x3f6)],{'size':_0x4c4819(0x2f0),'onClick':()=>{const _0x2bca26=_0x4c4819;_0x52878f[_0x2bca26(0x1cd)]({'orient':_0x4f99ff['orient']===_0x2bca26(0xf2)?'column':_0x2bca26(0xf2)});},'children':_0x4c4819(0x353)})})]}),_0x308484===0x1&&(0x0,o['jsx'])(t[_0x4c4819(0x207)],{'className':'univer-mx-0\x20univer-mt-0','items':_0x1cf9f3}),_0x308484===0x2&&(0x0,o[_0x4c4819(0x28b)])(_0x4c4819(0x226),{'className':'univer-flex\x20univer-min-h-full\x20univer-flex-col\x20univer-px-1','children':(0x0,o['jsx'])(ee,{'values':_0x52878f[_0x4c4819(0x1ac)],'onChange':_0x52878f[_0x4c4819(0x231)]})})]}),_0x52878f[_0x4c4819(0x2e3)]&&(0x0,o[_0x4c4819(0x28b)])(_0x4c4819(0x226),{'className':_0x4c4819(0x39e),'children':(0x0,o[_0x4c4819(0x28b)])(t[_0x4c4819(0x3f6)],{'type':'button','variant':_0x4c4819(0x3ee),'onClick':_0x52878f['onClose'],'children':_0x314719['t'](_0x4c4819(0x203))})})]});}function D(_0x2f6ed8){'@babel/helpers - typeof';const _0x10d9cd=_0x4dfcf2;return D=typeof Symbol==_0x10d9cd(0x3db)&&typeof Symbol[_0x10d9cd(0x111)]=='symbol'?function(_0x4796b8){return typeof _0x4796b8;}:function(_0x55013e){const _0x117309=_0x10d9cd;return _0x55013e&&typeof Symbol==_0x117309(0x3db)&&_0x55013e[_0x117309(0x241)]===Symbol&&_0x55013e!==Symbol[_0x117309(0x3cb)]?'symbol':typeof _0x55013e;},D(_0x2f6ed8);}function Oe(_0x2e66de,_0x1326d7){const _0x27ad73=_0x4dfcf2;if(D(_0x2e66de)!='object'||!_0x2e66de)return _0x2e66de;var _0x313aca=_0x2e66de[Symbol[_0x27ad73(0x357)]];if(_0x313aca!==void 0x0){var _0x334adc=_0x313aca[_0x27ad73(0x37e)](_0x2e66de,_0x1326d7||_0x27ad73(0x3ee));if(D(_0x334adc)!=_0x27ad73(0x2f3))return _0x334adc;throw TypeError(_0x27ad73(0x343));}return(_0x1326d7==='string'?String:Number)(_0x2e66de);}function ke(_0x3cbda0){const _0x52c428=_0x4dfcf2;var _0xe54bfd=Oe(_0x3cbda0,_0x52c428(0x104));return D(_0xe54bfd)==_0x52c428(0x188)?_0xe54bfd:_0xe54bfd+'';}function O(_0x1252ed,_0x43910d,_0x184712){const _0x5a096b=_0x4dfcf2;return(_0x43910d=ke(_0x43910d))in _0x1252ed?Object[_0x5a096b(0x13f)](_0x1252ed,_0x43910d,{'value':_0x184712,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1252ed[_0x43910d]=_0x184712,_0x1252ed;}var k=class extends s[_0x4dfcf2(0x1d4)]{constructor(_0xce8e9e,_0x15c5a7){const _0x35b073=_0x4dfcf2;super(_0xce8e9e),this[_0x35b073(0x221)]=_0x15c5a7,O(this,_0x35b073(0x341),void 0x0);}[_0x4dfcf2(0x431)](){const _0x552f48=_0x4dfcf2;return{'width':Math[_0x552f48(0x144)](0x1,this['_rect'][_0x552f48(0x15c)]),'height':Math[_0x552f48(0x144)](0x1,this[_0x552f48(0x221)][_0x552f48(0x29f)])};}[_0x4dfcf2(0x1e9)](_0x5c9be3){}[_0x4dfcf2(0x275)](){return 0x1;}[_0x4dfcf2(0x3d0)](_0x3d6199,_0x3c1398){const _0x724f92=_0x4dfcf2;return this[_0x724f92(0x341)]=(0x0,s[_0x724f92(0x28a)])(_0x3d6199),!0x0;}[_0x4dfcf2(0x27d)](){}['invalidateSnapshot'](){const _0x2bae19=_0x4dfcf2;this[_0x2bae19(0x341)]=void 0x0;}['getDataUrl'](){const _0x2bb39d=_0x4dfcf2;return this[_0x2bb39d(0x341)];}},Ae=class extends e['Disposable']{constructor(_0x2b1511,_0x3bd012,_0x275956,_0x2e12b2,_0x27a539=!0x0){const _0x45905d=_0x4dfcf2;super(),this['chartId']=_0x2b1511,this[_0x45905d(0x222)]=_0x3bd012,this['_applyHostStyle']=_0x275956,this[_0x45905d(0x33d)]=_0x2e12b2,this['_manageHostSize']=_0x27a539,O(this,_0x45905d(0x21f),s['ChartHostRenderMode'][_0x45905d(0x3d1)]),O(this,_0x45905d(0x33e),null),O(this,_0x45905d(0x174),{});}[_0x4dfcf2(0x431)](){const _0xc266ac=_0x4dfcf2;var _0x2b2f93;let _0x20fead=(_0x2b2f93=this[_0xc266ac(0x33d)])==null?void 0x0:_0x2b2f93[_0xc266ac(0x37e)](this);if(_0x20fead)return{'width':Math['max'](0x1,_0x20fead[_0xc266ac(0x15c)]),'height':Math[_0xc266ac(0x144)](0x1,_0x20fead['height'])};let _0x93730f=this[_0xc266ac(0x222)][_0xc266ac(0x31e)]();return{'width':Math[_0xc266ac(0x144)](0x1,_0x93730f[_0xc266ac(0x15c)]),'height':Math[_0xc266ac(0x144)](0x1,_0x93730f[_0xc266ac(0x29f)])};}[_0x4dfcf2(0x1e9)](_0x38898e){const _0x2fcabf=_0x4dfcf2;this[_0x2fcabf(0x174)]=_0x38898e,this[_0x2fcabf(0x1c5)](this[_0x2fcabf(0x222)],_0x38898e);}async[_0x4dfcf2(0x1b2)](){const _0x32f130=_0x4dfcf2;if(!this[_0x32f130(0x33e)]){let _0x3787e2=document['createElement']('div');_0x3787e2['style'][_0x32f130(0x200)]=_0x32f130(0x40a),_0x3787e2[_0x32f130(0x380)][_0x32f130(0x2f5)]='0',_0x3787e2[_0x32f130(0x380)][_0x32f130(0x3ad)]='content-box',_0x3787e2[_0x32f130(0x380)][_0x32f130(0x2de)]='hidden',_0x3787e2[_0x32f130(0x1bf)]=_0x32f130(0x22e),this[_0x32f130(0x33e)]=_0x3787e2,this['_host']['appendChild'](_0x3787e2);}return this[_0x32f130(0x14e)](),this['_mountNode'];}[_0x4dfcf2(0x2a7)](){const _0x32b6cc=_0x4dfcf2;return!!(this['_mountNode']&&this[_0x32b6cc(0x222)][_0x32b6cc(0x2ce)](this['_mountNode']));}[_0x4dfcf2(0x14e)](){const _0x5b4e1c=_0x4dfcf2;let _0x41b565=this['getRect']();this[_0x5b4e1c(0x3ce)]&&this[_0x5b4e1c(0x1ca)](this['_host'],_0x41b565),this[_0x5b4e1c(0x33e)]&&this[_0x5b4e1c(0x1ca)](this[_0x5b4e1c(0x33e)],this[_0x5b4e1c(0x400)](_0x41b565));}[_0x4dfcf2(0x365)](){}[_0x4dfcf2(0x3ac)](){}[_0x4dfcf2(0x31d)](){const _0x332df4=_0x4dfcf2;var _0x23b79d;(_0x23b79d=this[_0x332df4(0x33e)])==null||_0x23b79d[_0x332df4(0x35f)](),this[_0x332df4(0x33e)]=null,super[_0x332df4(0x31d)]();}[_0x4dfcf2(0x1ca)](_0xf45e1c,_0x4f00d2){const _0x449dd0=_0x4dfcf2;_0xf45e1c[_0x449dd0(0x380)][_0x449dd0(0x15c)]=_0x4f00d2[_0x449dd0(0x15c)]+'px',_0xf45e1c[_0x449dd0(0x380)][_0x449dd0(0x29f)]=_0x4f00d2[_0x449dd0(0x29f)]+'px';}[_0x4dfcf2(0x400)](_0x42b452){const _0xac351f=_0x4dfcf2;if(!(0x0,s[_0xac351f(0x3b6)])(this[_0xac351f(0x174)]))return _0x42b452;let _0x450b73=(0x0,s[_0xac351f(0x142)])(_0x42b452,this['_hostStyle']);return{'width':_0x450b73['width'],'height':_0x450b73[_0xac351f(0x29f)]};}};const A=(0x0,e['createIdentifier'])(_0x4dfcf2(0x19a));function je(_0x5f0868){const _0x377e46=_0x4dfcf2;var _0x5b7071;let _0x10011f=(_0x5b7071=_0x5f0868[_0x377e46(0x2ef)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x5b7071[0x1];if(_0x10011f){let _0x2b108b=_0x10011f[_0x377e46(0x34c)]===0x3?_0x10011f['split']('')[_0x377e46(0x114)](_0x388cb8=>''+_0x388cb8+_0x388cb8)[_0x377e46(0x373)](''):_0x10011f;return _0x377e46(0x2cf)+Number[_0x377e46(0x43d)](_0x2b108b[_0x377e46(0x369)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x2b108b[_0x377e46(0x369)](0x2,0x4),0x10)+',\x20'+Number[_0x377e46(0x43d)](_0x2b108b[_0x377e46(0x369)](0x4,0x6),0x10)+')';}let _0x45921e=document[_0x377e46(0x32e)](_0x377e46(0x1a6));return _0x45921e[_0x377e46(0x380)]['color']=_0x5f0868,_0x45921e[_0x377e46(0x380)][_0x377e46(0x35b)]||_0x5f0868;}let j=class extends e['Disposable']{constructor(_0x445949,_0x476653,_0x15b992,_0xb8c2b9){const _0x44237b=_0x4dfcf2;super(),this[_0x44237b(0x320)]=_0x445949,this['_chartThemeService']=_0x476653,O(this,_0x44237b(0x3bc),void 0x0),this[_0x44237b(0x3bc)]=_0x15b992,(_0xb8c2b9||!this[_0x44237b(0x3bc)][_0x44237b(0x428)](s[_0x44237b(0x2c2)]))&&this['registerRenderModel'](s['EChartRenderEngineName'],_0xb8c2b9==null?new s[(_0x44237b(0x212))](!0x1,{'wordCloudRenderConfig':a['DOC_WORD_CLOUD_RENDER_CONFIG']}):_0xb8c2b9);}['registerRenderModel'](_0x17dbcc,_0x3f29e8){const _0x298799=_0x4dfcf2;this[_0x298799(0x3bc)][_0x298799(0x286)](_0x17dbcc,_0x3f29e8);}[_0x4dfcf2(0x2d6)](_0x217a5b){const _0x502c5b=_0x4dfcf2;this[_0x502c5b(0x3bc)][_0x502c5b(0x2d6)](_0x217a5b);}['getRenderModel'](_0x32c2c1=s[_0x4dfcf2(0x2c2)]){const _0x4371b2=_0x4dfcf2;return this[_0x4371b2(0x3bc)][_0x4371b2(0x428)](_0x32c2c1);}[_0x4dfcf2(0x17a)](_0x1225fb){const _0x38402e=_0x4dfcf2;return _0x1225fb?this[_0x38402e(0x3bc)][_0x38402e(0x17a)](_0x1225fb,this[_0x38402e(0x346)]()):this[_0x38402e(0x3bc)][_0x38402e(0x17a)]();}['createRenderInput'](_0x299802){const _0x3e0314=_0x4dfcf2;let _0x20fcfa=_0x299802[_0x3e0314(0x1e7)]['config'];if(!_0x20fcfa)throw Error('Document\x20chart\x20'+_0x299802['chartId']+_0x3e0314(0x39d));let _0x41ceb2=this[_0x3e0314(0x320)][_0x3e0314(0x261)]();return{'chartConfig':_0x20fcfa,'chartStyle':(0x0,s['resolveChartRuntimeStyle'])({..._0x299802[_0x3e0314(0x1e7)]['style'],'runtime':_0x299802[_0x3e0314(0x1e7)][_0x3e0314(0x3d5)](_0x41ceb2),'direction':_0x41ceb2},_0x20fcfa[_0x3e0314(0x1d8)])};}[_0x4dfcf2(0x422)](_0x1e2c84,_0x36546c,_0x1a3670){const _0x10dac8=_0x4dfcf2;let {chartConfig:_0x2ee035,chartStyle:_0x3ce5b5}=this['createRenderInput'](_0x1e2c84),_0xe1265c=this[_0x10dac8(0x3bc)][_0x10dac8(0x1f4)]();return{'spec':_0xe1265c['stylizeSpec'](_0xe1265c[_0x10dac8(0x377)](_0x2ee035,_0x3ce5b5),{'chartConfig':_0x2ee035,'chartStyle':_0x3ce5b5,'chartInstance':_0x1a3670},_0x36546c),'chartConfig':_0x2ee035,'chartStyle':_0x3ce5b5,'hostStyle':this[_0x10dac8(0x338)](_0x3ce5b5)};}[_0x4dfcf2(0x338)](_0x3d607e){const _0x20a336=_0x4dfcf2;return(0x0,s[_0x20a336(0x14b)])({'style':_0x3d607e,'getRenderColor':_0x2820ad=>this[_0x20a336(0x2a4)][_0x20a336(0x12f)](_0x2820ad)});}[_0x4dfcf2(0x35a)](_0x41e003,_0x438a8a){const _0x16401d=_0x4dfcf2;var _0x305f68;let _0x9816d2=(_0x305f68=_0x438a8a['border'])!=null&&_0x305f68[_0x16401d(0x35b)]&&_0x438a8a['border'][_0x16401d(0x15c)]?_0x438a8a['border']['width']+_0x16401d(0x15e)+je(_0x438a8a['border'][_0x16401d(0x35b)]):'';_0x41e003[_0x16401d(0x380)][_0x16401d(0x2f5)]=_0x9816d2,_0x41e003['style'][_0x16401d(0x41a)]=_0x438a8a['fill']?je(_0x438a8a[_0x16401d(0x15d)]):_0x16401d(0x1e8),_0x41e003[_0x16401d(0x380)][_0x16401d(0x421)]=_0x438a8a[_0x16401d(0x228)]?_0x438a8a[_0x16401d(0x228)]+'px':'',_0x41e003['style'][_0x16401d(0x2de)]='hidden',_0x41e003[_0x16401d(0x380)][_0x16401d(0x3ad)]=_0x16401d(0x2f7);}['_createChartRenderInstanceContext'](){const _0x4d8204=_0x4dfcf2;return{'resolveHostStyle':({style:_0x138b24})=>this[_0x4d8204(0x338)](_0x138b24),'resolveRenderBackgroundColor':({hostStyle:_0x4ec3ef})=>_0x4ec3ef[_0x4d8204(0x15d)],'prepareSpec':({mode:_0x76e008,spec:_0x1d0049})=>_0x76e008==='image'?{..._0x1d0049,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x1d0049};}[_0x4dfcf2(0x31d)](){const _0x412c92=_0x4dfcf2;super[_0x412c92(0x31d)]();}};j=S([x(0x0,(0x0,e[_0x4dfcf2(0x2cd)])(e[_0x4dfcf2(0x19c)])),x(0x1,(0x0,e['Inject'])(s['ChartThemeService'])),x(0x2,s['IChartRenderModelManagerService']),x(0x3,(0x0,e['Optional'])(A))],j);function Me(_0x1ce283,_0x4bbe3e,_0x1d81b5,_0x12ff10,_0x25321e,_0x408e65,_0x511708){const _0x5c9adf=_0x4dfcf2;let _0x27c563=new s[(_0x5c9adf(0x2c7))](),_0x2127ce=new s[(_0x5c9adf(0x18c))](_0x1ce283,{'chartType':_0x1d81b5,'context':_0x12ff10==null?void 0x0:_0x12ff10[_0x5c9adf(0x1c6)],'dataAggregation':_0x25321e,'dataSource':_0x27c563,'style':_0x408e65},_0x511708);_0x2127ce[_0x5c9adf(0x38e)](),_0x27c563[_0x5c9adf(0x1cf)]((0x0,a[_0x5c9adf(0x272)])((0x0,i[_0x5c9adf(0x175)])(_0x4bbe3e)),(_0x12ff10==null?void 0x0:_0x12ff10[_0x5c9adf(0x119)])!==_0x5c9adf(0x157));let _0x156509=(0x0,s[_0x5c9adf(0x36e)])(_0x2127ce,_0x27c563);return _0x156509&&_0x2127ce[_0x5c9adf(0x3a1)](_0x156509),{'unitId':_0x5c9adf(0x1fb),'chartId':_0x1ce283,'dataSourceId':_0x1ce283+_0x5c9adf(0x2b2),'model':_0x2127ce,'source':_0x27c563};}function Ne(_0x206afd){const _0x55d36f=_0x4dfcf2;let _0x306a79=(0x0,n[_0x55d36f(0x25e)])(e[_0x55d36f(0x19c)]),_0x1468c0=(0x0,n[_0x55d36f(0x25e)])(e[_0x55d36f(0x1d3)]),_0x30128d=(0x0,n[_0x55d36f(0x25e)])(j),_0xb0e3b6=(0x0,r[_0x55d36f(0x437)])(null),_0x54bf18=(0x0,r[_0x55d36f(0x437)])(null),_0x8a86cb=(0x0,r[_0x55d36f(0x437)])('doc-chart-preview-'+(0x0,e['generateRandomId'])(0x8)),[_0x295bd4,_0x4ab9f3]=(0x0,r[_0x55d36f(0x195)])(null);return(0x0,r[_0x55d36f(0x15a)])(()=>{const _0x590629=_0x55d36f;let _0x540cb9=_0xb0e3b6[_0x590629(0x326)];if(!_0x540cb9)return;_0x4ab9f3(null),_0x540cb9['replaceChildren'](),_0x54bf18[_0x590629(0x326)]=M(_0x540cb9);let _0xeadb86=!0x1,_0x1d0c94=_0x217e45=>{_0xeadb86||_0x4ab9f3(_0x217e45);},_0x4a08f0=null,_0x2dae2f=null,_0x44f49a=null;try{_0x4a08f0=Me(_0x8a86cb[_0x590629(0x326)],_0x206afd[_0x590629(0x1ac)],_0x206afd[_0x590629(0x33b)],_0x206afd[_0x590629(0x1ec)],_0x206afd[_0x590629(0x2af)],_0x206afd[_0x590629(0x380)],_0x1468c0),_0x2dae2f=new Ae(_0x4a08f0[_0x590629(0x13b)],_0x540cb9,(_0x354a8c,_0x325cb9)=>_0x30128d[_0x590629(0x35a)](_0x354a8c,_0x325cb9),()=>{const _0x5412e5=_0x590629;var _0x53d91e;return(_0x53d91e=_0x54bf18[_0x5412e5(0x326)])==null?M(_0x540cb9):_0x53d91e;},!0x1),_0x44f49a=_0x30128d[_0x590629(0x17a)](s[_0x590629(0x18f)][_0x590629(0x3d1)]),_0x44f49a[_0x590629(0x3cf)](_0x2dae2f);}catch(_0x329362){return _0x1d0c94(_0x329362),()=>{const _0x135f98=_0x590629;_0xeadb86=!0x0,_0x540cb9[_0x135f98(0x3a0)]();};}if(!_0x4a08f0||!_0x2dae2f||!_0x44f49a)return()=>{_0xeadb86=!0x0,_0x540cb9['replaceChildren']();};let _0x2d2ffa=_0x4a08f0,_0x44195a=_0x2dae2f,_0x351a4c=_0x44f49a,_0x5a8781=()=>{const _0x2b1a3d=_0x590629;let _0x166efd,_0x24ead1;try{({chartConfig:_0x166efd,chartStyle:_0x24ead1}=_0x30128d['createRenderInput'](_0x2d2ffa));}catch(_0x56ec0c){_0x1d0c94(_0x56ec0c);return;}_0x351a4c[_0x2b1a3d(0x37a)]({'chartId':_0x2d2ffa[_0x2b1a3d(0x13b)],'config':_0x166efd,'style':_0x24ead1})[_0x2b1a3d(0x150)](()=>{_0xeadb86||_0x4ab9f3(null);})['catch'](_0x1d0c94);},_0x18bf1f=_0x2d2ffa[_0x590629(0x1e7)][_0x590629(0x423)]['subscribe'](_0x48e773=>{_0x48e773&&_0x5a8781();}),_0x482c05=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x17ef54=>{const _0x1f6d59=_0x590629;var _0x554bd5;let _0x24fb73=(_0x554bd5=_0x17ef54[0x0])==null?void 0x0:_0x554bd5[_0x1f6d59(0x10a)];_0x54bf18['current']=_0x24fb73&&_0x24fb73[_0x1f6d59(0x15c)]>0x0&&_0x24fb73['height']>0x0?{'width':_0x24fb73[_0x1f6d59(0x15c)],'height':_0x24fb73['height']}:M(_0x540cb9),_0x5a8781();});return _0x482c05==null||_0x482c05[_0x590629(0x214)](_0x540cb9),()=>{const _0x28a142=_0x590629;_0xeadb86=!0x0,_0x18bf1f[_0x28a142(0x33f)](),_0x482c05==null||_0x482c05[_0x28a142(0x3dd)](),_0x351a4c[_0x28a142(0x31d)](),_0x44195a[_0x28a142(0x31d)](),_0x2d2ffa[_0x28a142(0x1e7)]['dispose'](),_0x2d2ffa[_0x28a142(0x1cc)][_0x28a142(0x31d)](),_0x540cb9[_0x28a142(0x3a0)]();};},[_0x1468c0,_0x206afd[_0x55d36f(0x33b)],_0x206afd['context'],_0x206afd[_0x55d36f(0x2af)],_0x206afd[_0x55d36f(0x380)],_0x206afd['values'],_0x30128d]),(0x0,o[_0x55d36f(0x294)])(_0x55d36f(0x226),{'className':_0x55d36f(0x310),'children':[(0x0,o['jsx'])(_0x55d36f(0x226),{'ref':_0xb0e3b6,'className':_0x55d36f(0x1a3)}),_0x295bd4!=null&&(0x0,o['jsx'])(_0x55d36f(0x226),{'className':'univer-bg-white/90\x20dark:!univer-bg-gray-900/90\x20univer-absolute\x20univer-bottom-3\x20univer-left-3\x20univer-rounded\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-text-red-600','children':_0x306a79['t'](_0x55d36f(0x23f))})]});}function M(_0x5184a9){const _0x2e29e7=_0x4dfcf2;let _0x240faf=_0x5184a9[_0x2e29e7(0x31e)]();return _0x240faf[_0x2e29e7(0x15c)]<=0x0||_0x240faf[_0x2e29e7(0x29f)]<=0x0?null:{'width':_0x240faf[_0x2e29e7(0x15c)],'height':_0x240faf[_0x2e29e7(0x29f)]};}const Pe=_0x4dfcf2(0x3e6),N=_0x4dfcf2(0x410);function Fe(_0x183d8d){const _0x120131=_0x4dfcf2;let {unitId:_0xedac05,chartId:_0x2737fd,onClose:_0x211aeb}=_0x183d8d,_0x2ac6a0=(0x0,n[_0x120131(0x25e)])(e[_0x120131(0x19c)]),_0x7e1cd=(0x0,n[_0x120131(0x25e)])(a[_0x120131(0x3a5)]),_0xe989a5=(0x0,n[_0x120131(0x25e)])(C),_0x4e235d=(0x0,r['useMemo'])(()=>_0xe989a5[_0x120131(0xfa)](_0xedac05,_0x2737fd),[_0x2737fd,_0xe989a5,_0xedac05]),_0x527a0c=_0x7e1cd['getChart'](_0xedac05,_0x2737fd),[_0x24f62c,_0x535d45]=(0x0,r['useState'])(()=>{var _0x120fb8;return(_0x120fb8=_0x4e235d==null?void 0x0:_0x4e235d['values']['map'](_0x24838a=>[..._0x24838a]))==null?[]:_0x120fb8;}),[_0x12361d,_0x8b4144]=(0x0,r['useState'])(()=>{const _0x1a710f=_0x120131;var _0x126049;return(_0x126049=_0x4e235d==null?void 0x0:_0x4e235d[_0x1a710f(0x1ac)][_0x1a710f(0x114)](_0x59ad5c=>[..._0x59ad5c]))==null?[]:_0x126049;}),[_0x478afc,_0x415e91]=(0x0,r[_0x120131(0x195)])(()=>_0x527a0c==null?void 0x0:_0x527a0c[_0x120131(0x33b)]),[_0x23f4ad,_0x374613]=(0x0,r['useState'])(()=>_0x527a0c==null?void 0x0:_0x527a0c[_0x120131(0x380)]),[_0x5a0d60,_0x378a46]=(0x0,r[_0x120131(0x195)])(()=>_0x527a0c==null?void 0x0:_0x527a0c[_0x120131(0x1ec)]),[_0x65d1f2,_0x3a8463]=(0x0,r[_0x120131(0x195)])(()=>_0x527a0c==null?void 0x0:_0x527a0c['dataAggregation']),[_0x14f953,_0x11a7d8]=(0x0,r[_0x120131(0x195)])(null);return!_0x4e235d||!_0x527a0c?(0x0,o[_0x120131(0x28b)])('div',{'className':_0x120131(0x218),'children':_0x2ac6a0['t'](_0x120131(0x198))}):(0x0,o[_0x120131(0x294)])(_0x120131(0x226),{'className':_0x120131(0x2e7),'style':{'height':_0x120131(0x3f5)},'children':[(0x0,o['jsx'])(_0x120131(0x226),{'className':_0x120131(0x392),'children':(0x0,o[_0x120131(0x28b)])(Ne,{'values':_0x12361d,'chartType':_0x478afc==null?_0x527a0c['chartType']:_0x478afc,'context':_0x5a0d60,'dataAggregation':_0x65d1f2,'style':_0x23f4ad})}),(0x0,o[_0x120131(0x294)])(_0x120131(0x226),{'className':'univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','children':[(0x0,o[_0x120131(0x28b)])(_0x120131(0x226),{'className':_0x120131(0x148),'children':(0x0,o[_0x120131(0x28b)])(De,{'chartType':_0x478afc==null?_0x527a0c[_0x120131(0x33b)]:_0x478afc,'values':_0x24f62c,'context':_0x5a0d60,'dataAggregation':_0x65d1f2,'style':_0x23f4ad,'onChartTypeChange':_0x43d36d=>{const _0x12de22=_0x120131;if(!_0xe989a5[_0x12de22(0x1a1)](_0xedac05,_0x2737fd,_0x43d36d)){_0x11a7d8(_0x2ac6a0['t'](_0x12de22(0x3b3)));return;}_0x11a7d8(null),_0x415e91(_0x43d36d);},'onContextChange':_0x43478b=>{const _0x556626=_0x120131;var _0x150061;if(!_0xe989a5['updateChartContext'](_0xedac05,_0x2737fd,_0x43478b)){_0x11a7d8(_0x2ac6a0['t'](_0x556626(0x3b3)));return;}_0x11a7d8(null),_0x378a46((_0x150061=_0x7e1cd[_0x556626(0x334)](_0xedac05,_0x2737fd))==null?void 0x0:_0x150061[_0x556626(0x1ec)]);},'onDataAggregationChange':_0x567efb=>{const _0x5a5ef7=_0x120131;var _0x3b041d;if(!_0xe989a5[_0x5a5ef7(0x300)](_0xedac05,_0x2737fd,_0x567efb)){_0x11a7d8(_0x2ac6a0['t'](_0x5a5ef7(0x3b3)));return;}_0x11a7d8(null),_0x3a8463((_0x3b041d=_0x7e1cd[_0x5a5ef7(0x334)](_0xedac05,_0x2737fd))==null?void 0x0:_0x3b041d[_0x5a5ef7(0x2af)]);},'onStyleChange':_0x35262a=>{const _0x4c30ad=_0x120131;var _0x33c127;if(!_0xe989a5[_0x4c30ad(0x1f2)](_0xedac05,_0x2737fd,_0x35262a)){_0x11a7d8(_0x2ac6a0['t'](_0x4c30ad(0x3b3)));return;}_0x11a7d8(null),_0x374613((_0x33c127=_0x7e1cd['getChart'](_0xedac05,_0x2737fd))==null?void 0x0:_0x33c127[_0x4c30ad(0x380)]);},'onValuesChange':_0xda7d9f=>{const _0xdfeed0=_0x120131;_0x535d45(_0xda7d9f);let _0x1d22df=(0x0,i[_0xdfeed0(0x175)])(_0xda7d9f);if(_0x1d22df[_0xdfeed0(0x34c)]===0x0){_0x8b4144(_0xda7d9f),_0x11a7d8(_0x2ac6a0['t'](_0xdfeed0(0x1ab)));return;}if(!_0xe989a5['updateData'](_0xedac05,_0x2737fd,_0x1d22df,'shared')){_0x11a7d8(_0x2ac6a0['t'](_0xdfeed0(0x3b3)));return;}_0x11a7d8(null),_0x8b4144(_0x1d22df);},'onClose':_0x211aeb})}),_0x14f953&&(0x0,o[_0x120131(0x28b)])('div',{'className':_0x120131(0x26b),'children':_0x14f953})]})]});}function P(_0x397dc9,_0x482585){const _0x3a4bf9=_0x4dfcf2;var _0x390599,_0x435def;if(!(_0x482585!=null&&_0x482585[_0x3a4bf9(0x3b1)])||_0x482585[_0x3a4bf9(0x2fd)]==null)return null;let _0x2ebb16=(_0x390599=_0x482585[_0x3a4bf9(0x172)])==null?'':_0x390599;if(_0x2ebb16!=='')return null;let _0x3420a0=(_0x435def=_0x397dc9[_0x3a4bf9(0x37c)](_0x2ebb16))==null?void 0x0:_0x435def[_0x3a4bf9(0x208)]();if(!_0x3420a0)return null;let _0x5a6e79=Ie(_0x3420a0,_0x482585['startOffset']);if(!Le(_0x3420a0,_0x5a6e79))return null;let _0x4391e2=F(_0x3420a0,_0x5a6e79);return _0x4391e2?{'unitId':_0x397dc9[_0x3a4bf9(0x364)](),'index':_0x4391e2['index'],'segmentId':_0x2ebb16,'breakOffsets':_0x4391e2[_0x3a4bf9(0x3bf)]}:null;}function Ie(_0x4dfd40,_0x1b0811){const _0x193f9e=_0x4dfcf2;return _0x1b0811===0x0&&_0x4dfd40[_0x193f9e(0xf5)][0x0]===e[_0x193f9e(0x35d)][_0x193f9e(0x2c8)]?0x1:_0x1b0811;}function Le(_0x2ec88b,_0x33ff89){const _0x52b1da=_0x4dfcf2;return!(Be(_0x2ec88b[_0x52b1da(0x107)],_0x33ff89)||L(_0x2ec88b[_0x52b1da(0x370)],_0x33ff89)||Ve(_0x2ec88b[_0x52b1da(0x2ae)],_0x33ff89));}function Re(_0xc197a8,_0x55a271){const _0x157ea9=_0x4dfcf2;let {dataStream:_0x2beb06}=_0xc197a8;if(!_0x2beb06||_0x55a271<0x0||_0x55a271>=_0x2beb06[_0x157ea9(0x34c)])return!0x1;let _0x1745bb=ze(_0x2beb06,_0x55a271)+0x1,_0x2f967d=I(_0x2beb06,_0x55a271);return _0x1745bb<=_0x2f967d&&_0x2beb06[_0x157ea9(0x369)](_0x1745bb,_0x2f967d)[_0x157ea9(0x34c)]===0x0;}function F(_0x34915d,_0x383d68){const _0x40aa73=_0x4dfcf2;let {dataStream:_0x50349e}=_0x34915d;if(!_0x50349e||_0x383d68<0x0||_0x383d68>=_0x50349e[_0x40aa73(0x34c)])return null;if(Re(_0x34915d,_0x383d68))return{'index':_0x383d68,'breakOffsets':[]};let _0x1cfd87=ze(_0x50349e,_0x383d68)+0x1,_0x16cc3a=I(_0x50349e,_0x383d68);return _0x383d68<=_0x1cfd87?{'index':_0x383d68,'breakOffsets':[_0x383d68]}:_0x383d68>=_0x16cc3a?{'index':_0x383d68+0x1,'breakOffsets':[_0x383d68]}:{'index':_0x383d68+0x1,'breakOffsets':[_0x383d68,_0x383d68+0x1]};}function ze(_0x483716,_0x5d4723){const _0x25f986=_0x4dfcf2;let _0x29da9a=Math[_0x25f986(0x144)](0x0,Math['min'](_0x5d4723-0x1,_0x483716[_0x25f986(0x34c)]-0x1));return Math['max'](_0x483716[_0x25f986(0x41b)](e[_0x25f986(0x35d)][_0x25f986(0x2c8)],_0x29da9a),_0x483716['lastIndexOf'](e[_0x25f986(0x35d)]['SECTION_BREAK'],_0x29da9a));}function I(_0x2b7a1f,_0x3e376c){const _0x28800b=_0x4dfcf2;let _0x51d59e=Math[_0x28800b(0x144)](0x0,Math[_0x28800b(0x24a)](_0x3e376c,_0x2b7a1f[_0x28800b(0x34c)]-0x1)),_0x124af2=_0x2b7a1f[_0x28800b(0x224)](e[_0x28800b(0x35d)]['PARAGRAPH'],_0x51d59e),_0x57cb19=_0x2b7a1f[_0x28800b(0x224)](e[_0x28800b(0x35d)]['SECTION_BREAK'],_0x51d59e);return _0x124af2===-0x1&&_0x57cb19===-0x1?_0x2b7a1f['length']:_0x124af2===-0x1?_0x57cb19:_0x57cb19===-0x1?_0x124af2:Math[_0x28800b(0x24a)](_0x124af2,_0x57cb19);}function Be(_0x5d1e9a,_0x4478ce){const _0x571ec6=_0x4dfcf2;return!!(_0x5d1e9a!=null&&_0x5d1e9a['some'](_0x238a9d=>_0x238a9d[_0x571ec6(0x130)]<=_0x4478ce&&_0x4478ce<_0x238a9d[_0x571ec6(0x38b)]));}function L(_0x5716b2,_0x22df6e){const _0x22f5e7=_0x4dfcf2;return!!(_0x5716b2!=null&&_0x5716b2[_0x22f5e7(0x201)](_0x4c7add=>_0x4c7add['startIndex']<=_0x22df6e&&_0x22df6e<=_0x4c7add[_0x22f5e7(0x38b)]));}function Ve(_0x10d986,_0xd4c08f){const _0x124280=_0x4dfcf2;return!!(_0x10d986!=null&&_0x10d986[_0x124280(0x201)](_0x9d1999=>_0x9d1999[_0x124280(0x130)]===_0xd4c08f));}let R=class{constructor(_0x1cf81a,_0x5dadf6,_0x2d277b,_0x2248f5){const _0x574358=_0x4dfcf2;this[_0x574358(0x3f4)]=_0x1cf81a,this['_commandService']=_0x5dadf6,this['_docSelectionManagerService']=_0x2d277b,this[_0x574358(0x194)]=_0x2248f5;}[_0x4dfcf2(0x333)](_0x46106a,_0x26ebd6,_0x224f30){const _0x451888=_0x4dfcf2;let _0x18c801=(0x0,a[_0x451888(0x1c9)])(_0x46106a);return _0x18c801[_0x451888(0x34c)]===0x0?!0x1:this[_0x451888(0x193)](_0x18c801,_0x26ebd6,_0x224f30);}[_0x4dfcf2(0x193)](_0x45c7b8,_0x84c821,_0x348415={}){const _0x1fdf1f=_0x4dfcf2;if(_0x45c7b8['length']===0x0)return!0x1;let _0x25adb5=this['_instanceService'][_0x1fdf1f(0x3f8)](e['UniverInstanceType']['UNIVER_DOC']);if(!_0x25adb5)return!0x1;let _0x83d162=this[_0x1fdf1f(0x2d7)](_0x25adb5,_0x348415[_0x1fdf1f(0x3ed)]);if(!_0x83d162||!this[_0x1fdf1f(0x18a)](_0x83d162[_0x1fdf1f(0x3bf)],_0x83d162[_0x1fdf1f(0x172)]))return!0x1;let _0x53cb68=_0x83d162[_0x1fdf1f(0xfd)],_0x91261f={'chartType':_0x84c821};_0x348415[_0x1fdf1f(0x1ec)]&&(_0x91261f[_0x1fdf1f(0x1ec)]=_0x348415['context']),_0x348415[_0x1fdf1f(0x2af)]&&(_0x91261f[_0x1fdf1f(0x2af)]=_0x348415['dataAggregation']),_0x348415[_0x1fdf1f(0x380)]&&(_0x91261f['style']=_0x348415[_0x1fdf1f(0x380)]);let _0x514ad=this[_0x1fdf1f(0x1e3)][_0x1fdf1f(0x2d2)](a[_0x1fdf1f(0x335)]['id'],{'unitId':_0x53cb68,'index':_0x83d162[_0x1fdf1f(0x42d)],'segmentId':_0x83d162[_0x1fdf1f(0x172)],'chart':_0x91261f,'dataSource':{'values':_0x45c7b8},'width':_0x348415[_0x1fdf1f(0x15c)],'height':_0x348415['height'],'focus':_0x348415[_0x1fdf1f(0x233)]});return _0x514ad?{..._0x514ad,'unitId':_0x53cb68}:!0x1;}[_0x4dfcf2(0x2d7)](_0x273a28,_0xd6ee3d){const _0x59f0a7=_0x4dfcf2;if(_0xd6ee3d)return P(_0x273a28,_0xd6ee3d);let _0x26296b=_0x273a28[_0x59f0a7(0x364)](),_0x37640c=null;try{_0x37640c=this[_0x59f0a7(0x194)][_0x59f0a7(0x25a)](_0x26296b);}catch{_0x37640c=null;}if(_0x37640c){var _0xfd647a;return P(_0x273a28,{'startOffset':_0x37640c[_0x59f0a7(0x2fd)],'endOffset':_0x37640c[_0x59f0a7(0x17b)],'collapsed':_0x37640c['startOffset']===_0x37640c[_0x59f0a7(0x17b)],'segmentId':(_0xfd647a=_0x37640c[_0x59f0a7(0x172)])==null?'':_0xfd647a});}return P(_0x273a28,He(this['_docSelectionManagerService'][_0x59f0a7(0x323)]()));}[_0x4dfcf2(0x18a)](_0x46036f,_0x308316){const _0x1ad83a=_0x4dfcf2;for(let _0x51462b of _0x46036f)if(!this[_0x1ad83a(0x1e3)][_0x1ad83a(0x2d2)](u[_0x1ad83a(0xf4)]['id'],{'textRange':{'startOffset':_0x51462b,'endOffset':_0x51462b,'collapsed':!0x0,'segmentId':_0x308316}}))return!0x1;return!0x0;}};R=S([x(0x0,e[_0x4dfcf2(0x141)]),x(0x1,e['ICommandService']),x(0x2,(0x0,e[_0x4dfcf2(0x2cd)])(l[_0x4dfcf2(0x289)])),x(0x3,(0x0,e['Inject'])(l[_0x4dfcf2(0x129)]))],R);function He(_0x5ee06d){return!_0x5ee06d||typeof _0x5ee06d!='object'?null:_0x5ee06d;}const z=_0x4dfcf2(0x1ae),Ue=[_0x4dfcf2(0x433),_0x4dfcf2(0x3c8),_0x4dfcf2(0x13d),_0x4dfcf2(0x303)][_0x4dfcf2(0x373)]('\x0a');function B(_0x587ba){const _0x1623fe=_0x4dfcf2;let _0x3c63fa=(0x0,n[_0x1623fe(0x25e)])(R),_0x19acc4=(0x0,n[_0x1623fe(0x25e)])(e['LocaleService']),{defaultChartType:_0x16b3e0=s[_0x1623fe(0x2c6)]['Column'],defaultTableText:_0xd10f21=Ue,insertOptions:_0x199c0d,onCancel:_0x366cea,onInserted:_0x5feda6}=_0x587ba,[_0x1d484b,_0x5a31fc]=(0x0,r['useState'])(_0x16b3e0),[_0x587f78,_0xdac9ca]=(0x0,r['useState'])(()=>(0x0,a[_0x1623fe(0x1c9)])(_0xd10f21)),[_0xb2e529,_0x583879]=(0x0,r[_0x1623fe(0x195)])(),[_0x132cbc,_0x2bd021]=(0x0,r['useState'])(),[_0x476e0b,_0x6f572d]=(0x0,r[_0x1623fe(0x195)])(),[_0x2c3f6c,_0x21b8db]=(0x0,r[_0x1623fe(0x195)])(null);return(0x0,o[_0x1623fe(0x294)])(_0x1623fe(0x226),{'className':'univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-gap-5\x20univer-overflow-hidden\x20univer-overscroll-contain','style':{'height':_0x1623fe(0x3f5)},'children':[(0x0,o[_0x1623fe(0x28b)])(_0x1623fe(0x226),{'className':'univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','children':(0x0,o[_0x1623fe(0x28b)])(Ne,{'values':_0x587f78,'chartType':_0x1d484b,'context':_0xb2e529,'dataAggregation':_0x132cbc,'style':_0x476e0b})}),(0x0,o[_0x1623fe(0x294)])('div',{'className':_0x1623fe(0x426),'children':[(0x0,o['jsx'])(_0x1623fe(0x226),{'className':_0x1623fe(0x148),'children':(0x0,o[_0x1623fe(0x28b)])(De,{'chartType':_0x1d484b,'values':_0x587f78,'context':_0xb2e529,'dataAggregation':_0x132cbc,'style':_0x476e0b,'onChartTypeChange':_0x5a31fc,'onContextChange':_0x2d917b=>{_0x583879(_0x285734=>We(_0x285734,_0x2d917b));},'onDataAggregationChange':_0x5f479b=>{_0x2bd021(_0x59a2d3=>We(_0x59a2d3,_0x5f479b));},'onStyleChange':_0x2178bc=>{_0x6f572d(_0x33a40f=>We(_0x33a40f,_0x2178bc));},'onValuesChange':_0xdac9ca})}),_0x2c3f6c&&(0x0,o[_0x1623fe(0x28b)])(_0x1623fe(0x226),{'className':_0x1623fe(0x26b),'children':_0x2c3f6c}),(0x0,o['jsxs'])(_0x1623fe(0x226),{'className':'univer-mt-auto\x20univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','children':[_0x366cea&&(0x0,o['jsx'])(t[_0x1623fe(0x3f6)],{'type':_0x1623fe(0x427),'variant':_0x1623fe(0x3ee),'onClick':_0x366cea,'children':_0x19acc4['t'](_0x1623fe(0x1c4))}),(0x0,o[_0x1623fe(0x28b)])(t['Button'],{'type':_0x1623fe(0x427),'variant':_0x1623fe(0xf9),'onClick':()=>{const _0x27e4bb=_0x1623fe;let _0x586fa2=(0x0,i[_0x27e4bb(0x175)])(_0x587f78);if(_0x586fa2[_0x27e4bb(0x34c)]===0x0){_0x21b8db(_0x19acc4['t'](_0x27e4bb(0x1ab)));return;}let _0x1414e8=_0x3c63fa['insertChart'](_0x586fa2,_0x1d484b,{..._0x199c0d,'context':_0xb2e529,'dataAggregation':_0x132cbc,'style':_0x476e0b});if(!_0x1414e8){_0x21b8db(_0x19acc4['t'](_0x27e4bb(0x26c)));return;}_0x21b8db(null),_0x5feda6==null||_0x5feda6(_0x1414e8);},'children':_0x19acc4['t'](_0x1623fe(0x102))})]})]})]});}function We(_0x24a693,_0x40a705){const _0x124d92=_0x4dfcf2;let _0x5684ed=V(_0x24a693)?{..._0x24a693}:{};return Object[_0x124d92(0x3c9)](_0x40a705)[_0x124d92(0x250)](([_0x20f961,_0x4b261f])=>{if(_0x4b261f!==void 0x0){if(V(_0x4b261f)&&V(_0x5684ed[_0x20f961])){_0x5684ed[_0x20f961]=We(_0x5684ed[_0x20f961],_0x4b261f);return;}_0x5684ed[_0x20f961]=_0x4b261f;}}),_0x5684ed;}function V(_0x360f8c){const _0x2bc12a=_0x4dfcf2;return typeof _0x360f8c==_0x2bc12a(0x2f3)&&!!_0x360f8c&&!Array['isArray'](_0x360f8c);}const Ge=_0x4dfcf2(0x196),Ke={},qe='__docsChartResource';let H=class extends e['Disposable']{constructor(_0x41e215,_0x26aa2a,_0x343eb2){const _0x2dc86a=_0x4dfcf2;super(),this['_docClipboardService']=_0x41e215,this['_pasteAdapterService']=_0x26aa2a,this['_resourceService']=_0x343eb2,this[_0x2dc86a(0x2dc)]();}['_initClipboardHooks'](){const _0x502599=_0x4dfcf2;this[_0x502599(0x376)](this['_docClipboardService'][_0x502599(0x292)]({'onCopyDocData':(_0x4f2df2,_0x25dedc)=>this[_0x502599(0x314)](_0x4f2df2,_0x25dedc[_0x502599(0x122)])})),this[_0x502599(0x376)](this[_0x502599(0x1c1)][_0x502599(0x378)]({'getPasteMutationInfos':_0x2900fa=>this[_0x502599(0x2f1)](_0x2900fa)}));}[_0x4dfcf2(0x314)](_0x52f6ed,_0x5e108b){const _0x2fb256=_0x4dfcf2;var _0x46e93d,_0x4dcb3a;let _0x2bb41b=(_0x46e93d=_0x5e108b[0x0])==null?void 0x0:_0x46e93d['id'];if(!_0x2bb41b)return _0x52f6ed;let _0x4da6c3=Object[_0x2fb256(0x1ac)]((_0x4dcb3a=_0x52f6ed[_0x2fb256(0x1d1)])==null?{}:_0x4dcb3a)[_0x2fb256(0x296)](_0x3ffdaf=>this[_0x2fb256(0x18d)](_0x3ffdaf));if(_0x4da6c3[_0x2fb256(0x34c)]===0x0)return _0x52f6ed;let _0x5801fe={'version':0x1,'dataSources':{},'charts':{}};return _0x4da6c3[_0x2fb256(0x250)](_0x21bf42=>{const _0x44e7df=_0x2fb256;let _0x936a78=this[_0x44e7df(0x258)][_0x44e7df(0x334)](_0x2bb41b,_0x21bf42[_0x44e7df(0x13b)]);if(!_0x936a78)return;let _0x2dabc0=this[_0x44e7df(0x258)][_0x44e7df(0x25c)](_0x2bb41b,_0x936a78['dataSourceId']);_0x2dabc0&&(_0x5801fe[_0x44e7df(0x2da)][_0x936a78['id']]=e[_0x44e7df(0x121)]['deepClone'](_0x936a78),_0x5801fe[_0x44e7df(0x1a7)][_0x2dabc0['id']]=e[_0x44e7df(0x121)][_0x44e7df(0x1fd)](_0x2dabc0));}),Object['keys'](_0x5801fe[_0x2fb256(0x2da)])[_0x2fb256(0x34c)]===0x0?_0x52f6ed:{..._0x52f6ed,[qe]:_0x5801fe};}['_getPasteMutationInfos'](_0x3230f6){const _0x4e3e72=_0x4dfcf2;let _0xbe4194=_0x3230f6[_0x4e3e72(0x2ed)][qe];if(!_0xbe4194)return{'redoMutations':[],'undoMutations':[]};let _0x5b724f=new Map(),_0x5d89ee=[],_0x5e328c=[],_0x28793d=[],_0x2025fb=[];return _0x3230f6[_0x4e3e72(0x3c4)]['forEach'](_0x493667=>{const _0x5be118=_0x4e3e72;if(!this['_isDocChartDrawing'](_0x493667[_0x5be118(0x1a8)])||!this[_0x5be118(0x18d)](_0x493667[_0x5be118(0x1ee)]))return;let _0x3b7102=_0xbe4194[_0x5be118(0x2da)][_0x493667['sourceDrawing'][_0x5be118(0x13b)]];if(!_0x3b7102)return;let _0x1955f7=_0xbe4194[_0x5be118(0x1a7)][_0x3b7102[_0x5be118(0x27e)]];if(!_0x1955f7)return;let _0x13b461=this['_getOrCreatePastedDataSourceId'](_0x3230f6[_0x5be118(0xfd)],_0x1955f7,_0x5b724f,_0x5d89ee,_0x5e328c),_0xfdaf83=(0x0,e[_0x5be118(0x12e)])(),_0x4cdec8={...e[_0x5be118(0x121)][_0x5be118(0x1fd)](_0x3b7102),'id':_0xfdaf83,'dataSourceId':_0x13b461};_0x493667[_0x5be118(0x1ee)][_0x5be118(0x13b)]=_0xfdaf83,_0x28793d[_0x5be118(0x16f)]({'id':a[_0x5be118(0x1c7)]['id'],'params':{'unitId':_0x3230f6[_0x5be118(0xfd)],'chart':_0x4cdec8}}),_0x2025fb[_0x5be118(0x16f)]({'id':a[_0x5be118(0x1f7)]['id'],'params':{'unitId':_0x3230f6['unitId'],'chartId':_0xfdaf83}});}),{'redoMutations':[..._0x5d89ee,..._0x28793d],'undoMutations':[..._0x2025fb,..._0x5e328c]};}[_0x4dfcf2(0x3d4)](_0x2a2ee3,_0x13baec,_0x105401,_0x1b72c1,_0x129e50){const _0x56ae68=_0x4dfcf2;let _0x3807fb=_0x105401[_0x56ae68(0x21b)](_0x13baec['id']);if(_0x3807fb)return _0x3807fb;let _0x2a65f9=(0x0,e[_0x56ae68(0x12e)])();return _0x105401[_0x56ae68(0x191)](_0x13baec['id'],_0x2a65f9),_0x1b72c1[_0x56ae68(0x16f)]({'id':a['SetDocChartDataSourceMutation']['id'],'params':{'unitId':_0x2a2ee3,'dataSource':{...e[_0x56ae68(0x121)][_0x56ae68(0x1fd)](_0x13baec),'id':_0x2a65f9}}}),_0x129e50[_0x56ae68(0x16f)]({'id':a[_0x56ae68(0x199)]['id'],'params':{'unitId':_0x2a2ee3,'dataSourceId':_0x2a65f9}}),_0x2a65f9;}['_isDocChartDrawing'](_0x1bcd6b){const _0x4baff6=_0x4dfcf2;let _0x39280c=_0x1bcd6b;return(_0x39280c==null?void 0x0:_0x39280c['drawingType'])===e[_0x4baff6(0x1bd)][_0x4baff6(0x40f)]&&typeof _0x39280c[_0x4baff6(0x13b)]=='string';}};H=S([x(0x0,(0x0,e[_0x4dfcf2(0x2cd)])(u[_0x4dfcf2(0x29c)])),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(u[_0x4dfcf2(0x145)])),x(0x2,(0x0,e['Inject'])(a[_0x4dfcf2(0x3a5)]))],H);let U=class extends e[_0x4dfcf2(0x248)]{constructor(_0x1f7306,_0x4dd286,_0x2c54a2,_0x12f8c4){const _0x20a80b=_0x4dfcf2;super(),this['_drawingAdapterService']=_0x1f7306,this[_0x20a80b(0x34a)]=_0x4dd286,this[_0x20a80b(0x258)]=_0x2c54a2,this['_localeService']=_0x12f8c4,this[_0x20a80b(0x2e9)]();}[_0x4dfcf2(0x2e9)](){const _0x14c09c=_0x4dfcf2;this[_0x14c09c(0x376)](this[_0x14c09c(0x2a3)][_0x14c09c(0x378)]({'getEditDrawingCommandInfo':({unitId:_0x449ef7,drawing:_0x3d5a26})=>{const _0x40604=_0x14c09c;let _0x285999=Je(_0x3d5a26);return _0x285999?{'label':_0x40604(0x3df),'commandId':v['id'],'commandParams':{'unitId':_0x449ef7,'chartId':_0x285999[_0x40604(0x13b)],'drawingId':_0x285999[_0x40604(0x2d8)]}}:null;}})),this['disposeWithMe'](this[_0x14c09c(0x34a)]['registerAdapter']({'getItems':({unitId:_0x40bb83,subUnitId:_0x5e196a,drawing:_0x235792})=>{const _0x4c44b5=_0x14c09c;var _0x3d9ab2;let _0xfd5d8c=Je(_0x235792);if(!_0xfd5d8c)return null;let _0x2205bf=this[_0x4c44b5(0x258)][_0x4c44b5(0x334)](_0x40bb83,_0xfd5d8c[_0x4c44b5(0x13b)]),_0x382b08=(_0x3d9ab2=_0x2205bf==null?void 0x0:_0x2205bf[_0x4c44b5(0x33b)])==null?s[_0x4c44b5(0x2c6)][_0x4c44b5(0x1b7)]:_0x3d9ab2;return[{'type':_0x4c44b5(0x2c0),'label':_0x4c44b5(0x315),'index':0x0,'commandId':a[_0x4c44b5(0x18b)]['id'],'commandParamsFactory':_0xdc8add=>({'unitId':_0x40bb83,'chartId':_0xfd5d8c[_0x4c44b5(0x13b)],'chartType':Number(_0xdc8add)}),'disable':!_0x2205bf,'value':String(_0x382b08),'options':(0x0,i[_0x4c44b5(0x1d6)])(T[_0x4c44b5(0x114)](_0x1b1982=>({..._0x1b1982,'label':this[_0x4c44b5(0x320)]['t'](_0x1b1982[_0x4c44b5(0x350)])})))},{'type':_0x4c44b5(0x427),'label':'docs-chart-ui.editChart','index':0x1,'commandId':v['id'],'commandParams':{'unitId':_0x40bb83,'chartId':_0xfd5d8c[_0x4c44b5(0x13b)],'drawingId':_0xfd5d8c[_0x4c44b5(0x2d8)]},'disable':!0x1,'hideOnClick':!0x0,'icon':_0x4c44b5(0x1ff)},{'type':_0x4c44b5(0x427),'label':'docs-chart-ui.delete','index':0x2,'commandId':d[_0x4c44b5(0x36a)]['id'],'commandParams':{'unitId':_0x40bb83,'drawings':[{'unitId':_0x40bb83,'subUnitId':_0x5e196a,'drawingId':_0xfd5d8c[_0x4c44b5(0x2d8)]}]},'disable':!0x1,'icon':'DrawingDeleteIcon'}];}}));}};U=S([x(0x0,d['IDocDrawingAdapterService']),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(f['DocDrawingFloatingToolbarAdapterService'])),x(0x2,(0x0,e['Inject'])(a['DocChartResourceService'])),x(0x3,(0x0,e['Inject'])(e[_0x4dfcf2(0x19c)]))],U);function Je(_0x1ccc6b){const _0x277c29=_0x4dfcf2;let _0x78a9c1=_0x1ccc6b;return(_0x78a9c1==null?void 0x0:_0x78a9c1['drawingType'])===e[_0x277c29(0x1bd)]['DRAWING_CHART']&&typeof _0x78a9c1['chartId']==_0x277c29(0x104)?_0x78a9c1:null;}const Ye=(0x0,e[_0x4dfcf2(0x1ea)])(_0x4dfcf2(0x118));function _0x34e2(_0x1f2e98,_0x1dec3d){_0x1f2e98=_0x1f2e98-0xf2;const _0xcf955d=_0xcf95();let _0x34e2dc=_0xcf955d[_0x1f2e98];return _0x34e2dc;}var Xe=class{constructor(_0x2dcae5){const _0x2ba4e1=_0x4dfcf2;this[_0x2ba4e1(0x225)]=_0x2dcae5;}async[_0x4dfcf2(0x37a)](_0x2feb6c,_0x1c1cc7){const _0x5738ba=_0x4dfcf2;if(typeof document>'u')throw TypeError(_0x5738ba(0x186));let _0x40e90d=new k(_0x1c1cc7['chartId'],{'width':_0x2feb6c['width'],'height':_0x2feb6c['height']}),_0xda0489=this[_0x5738ba(0x225)]['createChartInstance'](s[_0x5738ba(0x18f)][_0x5738ba(0x27f)]);try{let {chartConfig:_0x1e3696,chartStyle:_0x41ac43}=this[_0x5738ba(0x225)][_0x5738ba(0x42c)](_0x1c1cc7);_0xda0489[_0x5738ba(0x3cf)](_0x40e90d),await _0xda0489[_0x5738ba(0x37a)]({'chartId':_0x1c1cc7['chartId'],'config':_0x1e3696,'style':_0x41ac43});let _0x1bb4db=_0x40e90d[_0x5738ba(0x438)]();if(!_0x1bb4db)throw Error('Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20'+_0x1c1cc7[_0x5738ba(0xfd)]+'/'+_0x1c1cc7[_0x5738ba(0x13b)]);return _0x1bb4db;}finally{_0xda0489[_0x5738ba(0x31d)](),_0x40e90d[_0x5738ba(0x31d)]();}}};let W=class extends e[_0x4dfcf2(0x248)]{constructor(_0x4dc6f3,_0x2206e7,_0x495d39,_0x136e7a){const _0x3c7cc9=_0x4dfcf2;super(),this[_0x3c7cc9(0x320)]=_0x4dc6f3,this[_0x3c7cc9(0x2d1)]=_0x2206e7,O(this,_0x3c7cc9(0x40d),new p[(_0x3c7cc9(0x24b))]()),O(this,_0x3c7cc9(0x16d),new p[(_0x3c7cc9(0x24b))]()),O(this,'_cache',new Map()),O(this,_0x3c7cc9(0x32c),[]),O(this,_0x3c7cc9(0x31f),new Map()),O(this,_0x3c7cc9(0x288),!0x1),O(this,_0x3c7cc9(0x278),null),O(this,'_renderer',void 0x0),this[_0x3c7cc9(0x123)]=_0x136e7a==null?new Xe(_0x495d39):_0x136e7a,this[_0x3c7cc9(0x376)](this[_0x3c7cc9(0x320)][_0x3c7cc9(0x3bd)]['pipe']((0x0,p[_0x3c7cc9(0x395)])(0x1))[_0x3c7cc9(0x230)](()=>{this['_invalidateSnapshotsForDirectionChange']();}));}[_0x4dfcf2(0x37f)](_0x5461e2){const _0x4f9688=_0x4dfcf2;let _0x2cfccd=this[_0x4f9688(0x32a)](_0x5461e2),_0x2cfdfe=this[_0x4f9688(0x2cb)][_0x4f9688(0x21b)](_0x2cfccd);if(_0x2cfdfe&&_0x2cfdfe[_0x4f9688(0x177)]!=='error')return _0x2cfdfe;let _0x33996a={'key':_0x2cfccd,'status':_0x4f9688(0x449)};return this[_0x4f9688(0x2cb)]['set'](_0x2cfccd,_0x33996a),this[_0x4f9688(0x32c)][_0x4f9688(0x16f)](_0x5461e2),this[_0x4f9688(0x166)](),_0x33996a;}[_0x4dfcf2(0x236)](_0x333d34){const _0x2149a8=_0x4dfcf2;return this[_0x2149a8(0x2cb)][_0x2149a8(0x21b)](this[_0x2149a8(0x32a)](_0x333d34));}[_0x4dfcf2(0x238)](_0x2ee38e,_0x381e61,_0xd8bd42){const _0x229552=_0x4dfcf2;let _0x5bf80b=_0x2ee38e+'::'+_0x381e61+'::';if(Array[_0x229552(0x205)](this[_0x229552(0x2cb)][_0x229552(0x256)]())[_0x229552(0x250)](_0x5b5e0d=>{const _0x441278=_0x229552;_0x5b5e0d['startsWith'](_0x5bf80b)&&this[_0x441278(0x2cb)]['delete'](_0x5b5e0d);}),_0xd8bd42!=null&&_0xd8bd42[_0x229552(0x14a)]){let _0xcb32cb=this['_getRuntimeModel'](_0x2ee38e,_0x381e61);this[_0x229552(0x31f)][_0x229552(0x191)](this['_getChartKey'](_0x2ee38e,_0x381e61),_0xcb32cb==null?void 0x0:_0xcb32cb[_0x229552(0x1e7)][_0x229552(0x137)]);}this[_0x229552(0x16d)]['next']({'unitId':_0x2ee38e,'chartId':_0x381e61});}[_0x4dfcf2(0x32a)](_0x39d874){const _0x261923=_0x4dfcf2;var _0x5c7464,_0x501d4d;return[_0x39d874[_0x261923(0xfd)],_0x39d874[_0x261923(0x13b)],Math[_0x261923(0x1ba)](_0x39d874[_0x261923(0x15c)]),Math[_0x261923(0x1ba)](_0x39d874[_0x261923(0x29f)]),(_0x5c7464=_0x39d874['dpr'])==null?0x1:_0x5c7464,this[_0x261923(0x320)][_0x261923(0x261)](),(_0x501d4d=_0x39d874[_0x261923(0x21f)])==null?_0x261923(0x1e5):_0x501d4d][_0x261923(0x373)]('::');}async[_0x4dfcf2(0x170)](){const _0x2de4a4=_0x4dfcf2;for(;this['_queue']['length']>0x0||this['_rendering']||this['_activeDrain'];){var _0x5eb627;await((_0x5eb627=this[_0x2de4a4(0x278)])==null?Promise[_0x2de4a4(0x436)]():_0x5eb627),await Promise['resolve']();}}[_0x4dfcf2(0x31d)](){const _0x1194d0=_0x4dfcf2;this[_0x1194d0(0x2cb)]['clear'](),this[_0x1194d0(0x32c)][_0x1194d0(0x34c)]=0x0,this['_configWaitKeys'][_0x1194d0(0x216)](),this[_0x1194d0(0x40d)]['complete'](),this[_0x1194d0(0x16d)][_0x1194d0(0x3d9)](),super[_0x1194d0(0x31d)]();}[_0x4dfcf2(0x166)](){const _0x578dd3=_0x4dfcf2;this[_0x578dd3(0x288)]||(this[_0x578dd3(0x278)]=this[_0x578dd3(0x3f2)]()[_0x578dd3(0x41c)](()=>{const _0x4251ae=_0x578dd3;this[_0x4251ae(0x278)]=null;}));}['_invalidateSnapshotsForDirectionChange'](){const _0xb54d8d=_0x4dfcf2;let _0x31ca71=new Map();Array['from'](this[_0xb54d8d(0x2cb)][_0xb54d8d(0x256)]())[_0xb54d8d(0x250)](_0x10bf2f=>{const _0x471bd1=_0xb54d8d;let [_0x4a7b63,_0xedf834]=_0x10bf2f[_0x471bd1(0x19b)]('::');_0x4a7b63&&_0xedf834&&_0x31ca71[_0x471bd1(0x191)](_0x4a7b63+'::'+_0xedf834,{'unitId':_0x4a7b63,'chartId':_0xedf834});}),this[_0xb54d8d(0x2cb)][_0xb54d8d(0x216)](),_0x31ca71[_0xb54d8d(0x250)](_0x17b4d3=>{const _0x3516a6=_0xb54d8d;this[_0x3516a6(0x16d)]['next'](_0x17b4d3);});}async[_0x4dfcf2(0x3f2)](){const _0x5f2435=_0x4dfcf2;if(!this['_rendering']){this[_0x5f2435(0x288)]=!0x0;try{for(;this[_0x5f2435(0x32c)]['length']>0x0;){let _0x5bd175=this[_0x5f2435(0x32c)][_0x5f2435(0x1a4)]();await this[_0x5f2435(0x3fe)](_0x5bd175);}}finally{this[_0x5f2435(0x288)]=!0x1;}}}async['_renderOne'](_0x182541){const _0x3a7f77=_0x4dfcf2;let _0x5916c2=this[_0x3a7f77(0x32a)](_0x182541),_0x312464=this[_0x3a7f77(0x2cb)]['get'](_0x5916c2);if(!_0x312464||_0x312464[_0x3a7f77(0x177)]!==_0x3a7f77(0x449))return;let _0x93fb4c=this[_0x3a7f77(0x2d1)][_0x3a7f77(0x2f9)](_0x182541[_0x3a7f77(0xfd)],_0x182541[_0x3a7f77(0x13b)]);if(!_0x93fb4c){_0x312464[_0x3a7f77(0x177)]=_0x3a7f77(0x3c5),_0x312464['error']=Error(_0x3a7f77(0x414)+_0x182541[_0x3a7f77(0xfd)]+'/'+_0x182541['chartId']),this['snapshotUpdated$'][_0x3a7f77(0x1f0)](_0x312464);return;}try{if(await this[_0x3a7f77(0x23b)](_0x93fb4c),this[_0x3a7f77(0x2cb)][_0x3a7f77(0x21b)](_0x5916c2)!==_0x312464||_0x312464[_0x3a7f77(0x177)]!==_0x3a7f77(0x449))return;_0x312464['dataUrl']=await this[_0x3a7f77(0x123)][_0x3a7f77(0x37a)](_0x182541,_0x93fb4c),_0x312464[_0x3a7f77(0x177)]=_0x3a7f77(0x2e6);}catch(_0x2aa1b3){_0x312464[_0x3a7f77(0x177)]=_0x3a7f77(0x3c5),_0x312464[_0x3a7f77(0x3c5)]=_0x2aa1b3;}this[_0x3a7f77(0x40d)][_0x3a7f77(0x1f0)](_0x312464);}async['_waitForRuntimeConfig'](_0x14757c){const _0x4b8112=_0x4dfcf2;let _0x715d3d=_0x14757c['model'];if(!_0x715d3d||!_0x715d3d[_0x4b8112(0x423)])return;let _0x406f59=this[_0x4b8112(0x30f)](_0x14757c['unitId'],_0x14757c[_0x4b8112(0x13b)]);if(this[_0x4b8112(0x31f)][_0x4b8112(0x10e)](_0x406f59)){let _0x2ba46d=this[_0x4b8112(0x31f)][_0x4b8112(0x21b)](_0x406f59);if(_0x715d3d['config']&&_0x715d3d[_0x4b8112(0x137)]!==_0x2ba46d){this[_0x4b8112(0x31f)][_0x4b8112(0x1e2)](_0x406f59);return;}try{await(0x0,p[_0x4b8112(0x339)])(_0x715d3d[_0x4b8112(0x423)][_0x4b8112(0x2a8)]((0x0,p[_0x4b8112(0x296)])(_0xfb9612=>_0xfb9612!=null&&_0xfb9612!==_0x2ba46d),(0x0,p[_0x4b8112(0x36d)])(0x1),(0x0,p[_0x4b8112(0x10c)])({'first':0x3e8})));}catch{}finally{this[_0x4b8112(0x31f)][_0x4b8112(0x1e2)](_0x406f59);}return;}_0x715d3d['config']||await(0x0,p['firstValueFrom'])(_0x715d3d[_0x4b8112(0x423)][_0x4b8112(0x2a8)]((0x0,p[_0x4b8112(0x296)])(_0x28648a=>_0x28648a!=null),(0x0,p['take'])(0x1),(0x0,p[_0x4b8112(0x10c)])({'first':0x3e8})));}[_0x4dfcf2(0x30f)](_0x4771f2,_0x4022b3){return _0x4771f2+'::'+_0x4022b3;}[_0x4dfcf2(0x401)](_0x4baf6d,_0x1e1759){var _0x4672f5;return(_0x4672f5=this['_modelService']['getChartModel'](_0x4baf6d,_0x1e1759))==null?this['_modelService']['ensureChartModel'](_0x4baf6d,_0x1e1759):_0x4672f5;}};W=S([x(0x0,(0x0,e[_0x4dfcf2(0x2cd)])(e['LocaleService'])),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(a['DocChartModelService'])),x(0x2,(0x0,e[_0x4dfcf2(0x2cd)])(j)),x(0x3,(0x0,e[_0x4dfcf2(0xf3)])(Ye))],W);let G=class extends e['Disposable']{constructor(_0x12dc90,_0xb77ef,_0x31cc95,_0x52a184){const _0x53e4f9=_0x4dfcf2;super(),this[_0x53e4f9(0x1e3)]=_0x12dc90,this[_0x53e4f9(0x112)]=_0xb77ef,this[_0x53e4f9(0x258)]=_0x31cc95,this[_0x53e4f9(0x2d1)]=_0x52a184,this[_0x53e4f9(0x32f)]();}[_0x4dfcf2(0x32f)](){const _0x5b7e97=_0x4dfcf2;this[_0x5b7e97(0x376)](this['_commandService'][_0x5b7e97(0x16c)](_0x3b8453=>{const _0x16a1c7=_0x5b7e97;if(_0x3b8453['id']===a['SetDocChartSnapshotMutation']['id']){var _0x6287ef;let _0x57fe25=_0x3b8453[_0x16a1c7(0x330)];_0x57fe25!=null&&_0x57fe25['unitId']&&(_0x6287ef=_0x57fe25['chart'])!=null&&_0x6287ef['id']&&(this[_0x16a1c7(0x391)](_0x57fe25)?this['_snapshotService'][_0x16a1c7(0x238)](_0x57fe25[_0x16a1c7(0xfd)],_0x57fe25['chart']['id'],{'waitForConfig':!0x0}):this[_0x16a1c7(0x112)][_0x16a1c7(0x238)](_0x57fe25[_0x16a1c7(0xfd)],_0x57fe25[_0x16a1c7(0x265)]['id']));return;}if(_0x3b8453['id']===a[_0x16a1c7(0x143)]['id']){var _0x184214;let _0x2523b3=_0x3b8453['params'];if(!(_0x2523b3!=null&&_0x2523b3[_0x16a1c7(0xfd)])||!((_0x184214=_0x2523b3[_0x16a1c7(0x43c)])!=null&&_0x184214['id']))return;this[_0x16a1c7(0x258)]['getChartIdsByDataSource'](_0x2523b3[_0x16a1c7(0xfd)],_0x2523b3[_0x16a1c7(0x43c)]['id'])[_0x16a1c7(0x250)](_0x390286=>this['_snapshotService'][_0x16a1c7(0x238)](_0x2523b3[_0x16a1c7(0xfd)],_0x390286,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x445eca){const _0x5fbca9=_0x4dfcf2;var _0x3f6525;let _0x5b60fc=(_0x3f6525=this['_modelService'][_0x5fbca9(0x270)](_0x445eca[_0x5fbca9(0xfd)],_0x445eca[_0x5fbca9(0x265)]['id']))==null||(_0x3f6525=_0x3f6525['model'][_0x5fbca9(0x137)])==null?void 0x0:_0x3f6525[_0x5fbca9(0x1d8)];return _0x5b60fc!=null&&_0x5b60fc!==_0x445eca['chart']['chartType'];}};G=S([x(0x0,e['ICommandService']),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(W)),x(0x2,(0x0,e[_0x4dfcf2(0x2cd)])(a[_0x4dfcf2(0x3a5)])),x(0x3,(0x0,e[_0x4dfcf2(0x2cd)])(a['DocChartModelService']))],G);const K=_['id'],Ze=K+'.below',Qe=[{'label':'docs-chart-ui.chartTypes.line','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x3fc)],'icon':_0x4dfcf2(0x1b9)},{'label':_0x4dfcf2(0x108),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x1b7)],'icon':_0x4dfcf2(0x213)},{'label':'docs-chart-ui.chartTypes.pie','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x406)],'icon':'PieChartIcon'},{'label':_0x4dfcf2(0x393),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x2d0)],'icon':'BarChartIcon'},{'label':_0x4dfcf2(0x11c),'value':s['ChartTypeBits'][_0x4dfcf2(0x27b)],'icon':_0x4dfcf2(0x21d)},{'label':_0x4dfcf2(0x425),'value':s[_0x4dfcf2(0x2c6)]['BarPercentStacked'],'icon':_0x4dfcf2(0x21d)},{'label':_0x4dfcf2(0x313),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x38d)],'icon':_0x4dfcf2(0x42b)},{'label':_0x4dfcf2(0x2bd),'value':s[_0x4dfcf2(0x2c6)]['AreaStacked'],'icon':'AreaChartIcon'},{'label':'docs-chart-ui.chartTypes.areaPercentStacked','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x20f)],'icon':_0x4dfcf2(0x42b)},{'label':_0x4dfcf2(0x281),'value':s[_0x4dfcf2(0x2c6)]['Radar'],'icon':_0x4dfcf2(0x402)},{'label':'docs-chart-ui.chartTypes.combination','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x2b0)],'icon':_0x4dfcf2(0x3ff)},{'label':'docs-chart-ui.chartTypes.scatter','value':s[_0x4dfcf2(0x2c6)]['Scatter'],'icon':_0x4dfcf2(0x366)},{'label':'docs-chart-ui.chartTypes.wordCloud','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x271)],'icon':'CloudOutlineIcon'},{'label':_0x4dfcf2(0x352),'value':s[_0x4dfcf2(0x2c6)]['Funnel'],'icon':_0x4dfcf2(0x1ef)},{'label':_0x4dfcf2(0x161),'value':s[_0x4dfcf2(0x2c6)]['Bubble'],'icon':_0x4dfcf2(0x387)},{'label':'docs-chart-ui.chartTypes.relation','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x30e)],'icon':_0x4dfcf2(0x2ea)},{'label':_0x4dfcf2(0x308),'value':s['ChartTypeBits'][_0x4dfcf2(0x3de)],'icon':_0x4dfcf2(0x39c)},{'label':'docs-chart-ui.chartTypes.pareto','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x1dc)],'icon':'ComboChartIcon'},{'label':'docs-chart-ui.chartTypes.sankey','value':s[_0x4dfcf2(0x2c6)]['Sankey'],'icon':_0x4dfcf2(0x3fd)},{'label':_0x4dfcf2(0x24f),'value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x405)],'icon':_0x4dfcf2(0x345)},{'label':'docs-chart-ui.chartTypes.boxplot','value':s[_0x4dfcf2(0x2c6)][_0x4dfcf2(0x126)],'icon':_0x4dfcf2(0x31a)}];function q(_0x10f3eb){const _0x63b6ee=_0x4dfcf2;return(0x0,p[_0x63b6ee(0x1be)])([(0x0,u[_0x63b6ee(0x311)])(_0x10f3eb),$e(_0x10f3eb)])[_0x63b6ee(0x2a8)]((0x0,p['map'])(([_0xea9434,_0x32fa5b])=>_0xea9434||_0x32fa5b));}function $e(_0x54a282){const _0x54bbaf=_0x4dfcf2;let _0x25e1ed=_0x54a282[_0x54bbaf(0x21b)](l[_0x54bbaf(0x289)]),_0x1b15e9=_0x54a282['get'](e[_0x54bbaf(0x141)]);return new p['Observable'](_0x5a8e2d=>{const _0x436b07=_0x54bbaf;let _0x1e10ae=_0x497e89=>{const _0x18efe0=_0x34e2;var _0x9cd5e5,_0x21fab3,_0x5db9fc,_0x34ba20,_0x3efea5;let _0x47c6a5=_0x1b15e9[_0x18efe0(0x3f8)](e[_0x18efe0(0x168)][_0x18efe0(0x3f9)]);if(!_0x47c6a5){_0x5a8e2d[_0x18efe0(0x1f0)](!0x0);return;}let _0x3857da=(_0x9cd5e5=_0x497e89==null?void 0x0:_0x497e89[_0x18efe0(0x176)])==null?[...(_0x21fab3=_0x25e1ed[_0x18efe0(0x1f1)]())==null?[]:_0x21fab3]:_0x9cd5e5;if(_0x3857da[_0x18efe0(0x34c)]!==0x1){_0x5a8e2d[_0x18efe0(0x1f0)](!0x0);return;}let _0x77454=(_0x5db9fc=_0x25e1ed[_0x18efe0(0x323)]())==null?_0x3857da[0x0]:_0x5db9fc;if(!_0x77454||!_0x77454[_0x18efe0(0x3b1)]||_0x77454[_0x18efe0(0x2fd)]==null){_0x5a8e2d[_0x18efe0(0x1f0)](!0x0);return;}let _0x5ae85d=P(_0x47c6a5,{..._0x77454,'segmentId':(_0x34ba20=(_0x3efea5=_0x77454[_0x18efe0(0x172)])==null?_0x497e89==null?void 0x0:_0x497e89[_0x18efe0(0x172)]:_0x3efea5)==null?'':_0x34ba20});_0x5a8e2d[_0x18efe0(0x1f0)](_0x5ae85d==null);};_0x1e10ae();let _0x56bf62=_0x25e1ed['textSelection$'][_0x436b07(0x230)](_0x51fd57=>_0x1e10ae(_0x51fd57));return()=>_0x56bf62[_0x436b07(0x33f)]();});}function et(_0xc49f51){const _0x59b314=_0x4dfcf2;return{'id':K,'type':n[_0x59b314(0x290)][_0x59b314(0x33a)],'selections':Qe,'icon':_0x59b314(0x2ba),'tooltip':_0x59b314(0x2fa),'disabled$':q(_0xc49f51),'hidden$':(0x0,n[_0x59b314(0x1fc)])(_0xc49f51,e['UniverInstanceType'][_0x59b314(0x3f9)])};}function tt(_0x5c4521){const _0x57abcd=_0x4dfcf2;return{'id':K,'commandId':_['id'],'type':n[_0x57abcd(0x290)][_0x57abcd(0x3ba)],'icon':_0x57abcd(0x2ba),'title':_0x57abcd(0x2fa),'tooltip':_0x57abcd(0x2fa),'disabled$':q(_0x5c4521),'hidden$':(0x0,n[_0x57abcd(0x1fc)])(_0x5c4521,e['UniverInstanceType'][_0x57abcd(0x3f9)])};}function nt(_0x5d6fcc){const _0xbd6e7=_0x4dfcf2;return{'id':Ze,'commandId':_['id'],'type':n[_0xbd6e7(0x290)][_0xbd6e7(0x3ba)],'icon':_0xbd6e7(0x2ba),'title':_0xbd6e7(0x2fa),'tooltip':_0xbd6e7(0x2fa),'disabled$':q(_0x5d6fcc),'hidden$':(0x0,n[_0xbd6e7(0x1fc)])(_0x5d6fcc,e[_0xbd6e7(0x168)][_0xbd6e7(0x3f9)])};}const rt={[n[_0x4dfcf2(0x171)][_0x4dfcf2(0x239)]]:{[K]:{'order':2.5,'menuItemFactory':et}},[n['ContextMenuPosition'][_0x4dfcf2(0x2c8)]]:{[n[_0x4dfcf2(0x26a)][_0x4dfcf2(0x299)]]:{[u['INSERT_BELLOW_MENU_ID']]:{[K]:{'order':4.5,'menuItemFactory':tt}}},[u[_0x4dfcf2(0x28e)]]:{[n[_0x4dfcf2(0x26a)][_0x4dfcf2(0x299)]]:{[K]:{'order':5.5,'menuItemFactory':tt}}},[u[_0x4dfcf2(0x407)]]:{[n[_0x4dfcf2(0x26a)]['LAYOUT']]:{[K]:{'order':4.5,'menuItemFactory':tt}}},[u[_0x4dfcf2(0x381)]]:{'insert':{[K]:{'order':1.5,'menuItemFactory':tt}}},[u[_0x4dfcf2(0x217)]]:{'insert':{[Ze]:{'order':1.5,'menuItemFactory':nt}}}}};var it=_0x4dfcf2(0xfc),at='1.0.0-alpha.5',ot=class extends g[_0x4dfcf2(0x27f)]{constructor(..._0x32d7dc){const _0x1df331=_0x4dfcf2;super(..._0x32d7dc),O(this,_0x1df331(0x22d),!0x1);}get[_0x4dfcf2(0x180)](){const _0x34df98=_0x4dfcf2;return this[_0x34df98(0x22d)];}[_0x4dfcf2(0x235)](_0x33c6fa){const _0x15617c=_0x4dfcf2;this[_0x15617c(0x22d)]!==_0x33c6fa&&(this[_0x15617c(0x22d)]=_0x33c6fa,this[_0x15617c(0x244)](!0x0));}[_0x4dfcf2(0x182)](_0x238cf3,_0x4907ef,_0x399397,_0x142335){const _0x9deb4a=_0x4dfcf2;this['_imageContentHidden']||super[_0x9deb4a(0x182)](_0x238cf3,_0x4907ef,_0x399397,_0x142335);}};const st={'borderEnabled':!0x0,'borderStroke':_0x4dfcf2(0x28c),'borderStrokeWidth':0x1,'borderSpacing':0x2,'anchorFill':_0x4dfcf2(0x12a),'anchorStroke':_0x4dfcf2(0x28c),'anchorStrokeWidth':1.5,'anchorSize':0x8,'anchorCornerRadius':0x2,'anchorStyle':_0x4dfcf2(0x3b2),'rotateEnabled':!0x0,'rotateSize':0x12,'rotateCornerRadius':0x9,'rotateAnchorOffset':0x1c,'rotateAnchorPosition':_0x4dfcf2(0x2f4),'rotateLineEnabled':!0x1,'rotateFill':'#ffffff','rotateStroke':_0x4dfcf2(0x28c),'rotateStrokeWidth':0x1,'rotateIconEnabled':!0x0,'rotateIconStroke':'#4086f4','rotateIconStrokeWidth':1.25,'resizeEnabled':!0x0,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1},ct={...st,'rotateEnabled':!0x1};let J=class extends e[_0x4dfcf2(0x248)]{constructor(_0x26f27e,_0x5839a5,_0x562111){const _0x97630=_0x4dfcf2;super(),this[_0x97630(0x18e)]=_0x26f27e,this[_0x97630(0x22c)]=_0x5839a5,this[_0x97630(0x125)]=_0x562111,O(this,_0x97630(0x10d),new Set()),this[_0x97630(0x38e)]();}['setActiveDomReady'](_0x50475c,_0x113a68){const _0x5a1e07=_0x4dfcf2;let _0x530d79=(0x0,h['getDrawingShapeKeyByDrawingSearch'])(_0x50475c);_0x113a68?this[_0x5a1e07(0x10d)][_0x5a1e07(0x105)](_0x530d79):this['_activeDomReadyDrawingKeys'][_0x5a1e07(0x1e2)](_0x530d79),this['_syncRenderedChartVisibility'](_0x50475c);}[_0x4dfcf2(0x38e)](){const _0x575d74=_0x4dfcf2;this['disposeWithMe'](this[_0x575d74(0x18e)][_0x575d74(0x127)][_0x575d74(0x230)](_0x20fa6e=>{const _0x565503=_0x575d74;this[_0x565503(0x32b)](_0x20fa6e);})),this[_0x575d74(0x376)](this[_0x575d74(0x18e)][_0x575d74(0x362)][_0x575d74(0x230)](_0x3db012=>{const _0x54abe8=_0x575d74;this[_0x54abe8(0x32b)](_0x3db012);})),this['disposeWithMe'](this[_0x575d74(0x18e)][_0x575d74(0x1f6)][_0x575d74(0x230)](_0x810694=>{const _0x2c8b1c=_0x575d74;this[_0x2c8b1c(0x2db)](_0x810694);})),this[_0x575d74(0x376)](this[_0x575d74(0x125)][_0x575d74(0x16d)]['subscribe'](({unitId:_0x13d192,chartId:_0x3b04d7})=>{const _0x1a8e12=_0x575d74;this[_0x1a8e12(0x29b)](_0x13d192,_0x3b04d7);})),this[_0x575d74(0x376)](this[_0x575d74(0x125)][_0x575d74(0x40d)][_0x575d74(0x230)](_0x4bef49=>{const _0x140431=_0x575d74;if(_0x4bef49[_0x140431(0x177)]!=='ready'||!_0x4bef49[_0x140431(0x44d)])return;let [_0x55bdce,_0x52784b]=_0x4bef49[_0x140431(0x183)][_0x140431(0x19b)]('::');!_0x55bdce||!_0x52784b||this['_renderCharts'](_0x55bdce,_0x52784b,_0x4bef49[_0x140431(0x44d)]);}));}[_0x4dfcf2(0x32b)](_0x12f812){const _0xa87934=_0x4dfcf2;_0x12f812[_0xa87934(0x250)](_0xcce6c0=>{const _0x69e3cc=_0xa87934;let _0x2e4025=this[_0x69e3cc(0x11f)](_0xcce6c0);_0x2e4025&&this['_requestSnapshot'](_0x2e4025);});}['_requestSnapshotsForUnit'](_0x32a009,_0xf6c3f7){this['_forEachChartDrawing'](_0x32a009,_0x87069f=>{const _0xb9ebea=_0x34e2;(_0xf6c3f7==null||_0x87069f[_0xb9ebea(0x13b)]===_0xf6c3f7)&&this['_requestSnapshot'](_0x87069f);});}[_0x4dfcf2(0x44a)](_0x5eac81){const _0x24a350=_0x4dfcf2;let _0xd6f0aa=this[_0x24a350(0x383)](_0x5eac81);if(!_0xd6f0aa)return;let _0x5bc50c=this[_0x24a350(0x125)]['requestSnapshot']({'unitId':_0x5eac81[_0x24a350(0xfd)],'chartId':_0x5eac81[_0x24a350(0x13b)],'width':_0xd6f0aa['width'],'height':_0xd6f0aa['height'],'dpr':typeof window>'u'?0x1:window[_0x24a350(0x3ca)]||0x1,'mode':_0x24a350(0x1e5)});_0x5bc50c[_0x24a350(0x177)]===_0x24a350(0x2e6)&&_0x5bc50c[_0x24a350(0x44d)]&&this['_renderDrawing'](_0x5eac81,_0x5bc50c[_0x24a350(0x44d)]);}[_0x4dfcf2(0x280)](_0x2f8dfe,_0x1ded17,_0x5cc780){const _0x52be56=_0x4dfcf2;this[_0x52be56(0x404)](_0x2f8dfe,_0x5aa825=>{const _0xdc2a21=_0x52be56;_0x5aa825[_0xdc2a21(0x13b)]===_0x1ded17&&this[_0xdc2a21(0x16a)](_0x5aa825,_0x5cc780);});}[_0x4dfcf2(0x16a)](_0x3f5860,_0x343d74){const _0x3b4333=_0x4dfcf2;let _0x1002a6=this[_0x3b4333(0x22c)][_0x3b4333(0x2ab)](_0x3f5860[_0x3b4333(0xfd)]),_0x434eff=_0x1002a6==null?void 0x0:_0x1002a6[_0x3b4333(0xfe)];if(!_0x434eff||!this[_0x3b4333(0x383)](_0x3f5860))return;this[_0x3b4333(0x18e)][_0x3b4333(0x103)]()&&_0x434eff[_0x3b4333(0x246)](st);let _0x523a33=(0x0,h[_0x3b4333(0x1a0)])(_0x3f5860),_0x1d58b5=_0x434eff[_0x3b4333(0x396)](_0x523a33);if(_0x1d58b5!=null&&_0x1d58b5[_0x3b4333(0x273)]){var _0x4a13ee,_0x389651,_0x20aace,_0x4f9c1a;_0x1d58b5[_0x3b4333(0x3e8)]={..._0x1d58b5[_0x3b4333(0x3e8)],...ct},_0x1d58b5[_0x3b4333(0x273)](_0x343d74),(_0x4a13ee=_0x1d58b5[_0x3b4333(0x153)])==null||_0x4a13ee['call'](_0x1d58b5,_0x3f5860[_0x3b4333(0x154)]),(_0x389651=_0x1d58b5['setClipBounds'])==null||_0x389651[_0x3b4333(0x37e)](_0x1d58b5,(_0x20aace=_0x3f5860[_0x3b4333(0x154)])==null?void 0x0:_0x20aace[_0x3b4333(0x274)]),this['_syncChartImageVisibility'](_0x1d58b5,_0x3f5860,_0x523a33),(_0x4f9c1a=_0x1d58b5[_0x3b4333(0x244)])==null||_0x4f9c1a[_0x3b4333(0x37e)](_0x1d58b5,!0x0);return;}this[_0x3b4333(0x41e)](_0x3f5860,_0x343d74,_0x434eff,_0x523a33);}[_0x4dfcf2(0x41e)](_0x3cca5d,_0x58701d,_0x259b73,_0x39a37c){const _0x4aa392=_0x4dfcf2;let _0x48c354=_0x3cca5d[_0x4aa392(0x154)];if(!_0x48c354)return;let _0x1faae6=this[_0x4aa392(0x18e)][_0x4aa392(0x254)](_0x3cca5d[_0x4aa392(0xfd)],_0x3cca5d[_0x4aa392(0x162)]),_0x5ae0f8=_0x1faae6[_0x4aa392(0x224)](_0x3cca5d[_0x4aa392(0x2d8)]),_0x22e1b5={..._0x48c354,'zIndex':_0x5ae0f8===-0x1?_0x1faae6[_0x4aa392(0x34c)]-0x1:_0x5ae0f8,'clipBounds':_0x48c354[_0x4aa392(0x274)],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':ct,'url':_0x58701d};_0x3cca5d[_0x4aa392(0x324)]&&(_0x22e1b5[_0x4aa392(0x17e)]=!0x1);let _0x41174a=new ot(_0x39a37c,_0x22e1b5);_0x41174a[_0x4aa392(0x235)](this[_0x4aa392(0x10d)]['has'](_0x39a37c)),_0x259b73[_0x4aa392(0x259)](_0x41174a,g[_0x4aa392(0x3b4)]),this[_0x4aa392(0x18e)][_0x4aa392(0x103)]()&&_0x259b73[_0x4aa392(0x1b3)](_0x41174a);}['_removeRenderedCharts'](_0x1447a1){const _0x170c21=_0x4dfcf2;_0x1447a1[_0x170c21(0x250)](_0x1ece40=>{const _0x29be6f=_0x170c21;this[_0x29be6f(0x10d)][_0x29be6f(0x1e2)]((0x0,h[_0x29be6f(0x1a0)])(_0x1ece40));let _0x44c572=this[_0x29be6f(0x22c)][_0x29be6f(0x2ab)](_0x1ece40[_0x29be6f(0xfd)]),_0x47b550=_0x44c572==null?void 0x0:_0x44c572[_0x29be6f(0xfe)];if(!_0x47b550)return;let _0x1f2492=_0x47b550['getObjectIncludeInGroup']((0x0,h[_0x29be6f(0x1a0)])(_0x1ece40));_0x1f2492&&_0x47b550[_0x29be6f(0x1cb)](_0x1f2492);});}['_syncRenderedChartVisibility'](_0x13b8b8){const _0x554652=_0x4dfcf2;let _0x28f0c6=this['_renderManagerService'][_0x554652(0x2ab)](_0x13b8b8['unitId']),_0x13c7f4=_0x28f0c6==null?void 0x0:_0x28f0c6['scene'];if(!_0x13c7f4)return;let _0x294fe5=(0x0,h['getDrawingShapeKeyByDrawingSearch'])(_0x13b8b8),_0x1eed67=_0x13c7f4[_0x554652(0x396)](_0x294fe5);if(!_0x1eed67)return;let _0x567bf0=this[_0x554652(0x18e)]['getDrawingByParam'](_0x13b8b8);this[_0x554652(0x29d)](_0x1eed67,_0x567bf0,_0x294fe5);}[_0x4dfcf2(0x29d)](_0x5bfe73,_0x3e40cd,_0xa6b0fa){const _0x19773=_0x4dfcf2;var _0x5b9f16,_0x334105;let _0x52c7f3=this[_0x19773(0x10d)][_0x19773(0x10e)](_0xa6b0fa);if(_0x5bfe73[_0x19773(0x235)]){var _0x387405,_0x2f123d;_0x5bfe73['setImageContentHidden'](_0x52c7f3),(_0x3e40cd==null?void 0x0:_0x3e40cd['hidden'])===!0x0?(_0x387405=_0x5bfe73[_0x19773(0x34b)])==null||_0x387405[_0x19773(0x37e)](_0x5bfe73):(_0x2f123d=_0x5bfe73[_0x19773(0x26f)])==null||_0x2f123d[_0x19773(0x37e)](_0x5bfe73);return;}(_0x3e40cd==null?void 0x0:_0x3e40cd[_0x19773(0x324)])===!0x0?(_0x5b9f16=_0x5bfe73[_0x19773(0x34b)])==null||_0x5b9f16[_0x19773(0x37e)](_0x5bfe73):(_0x334105=_0x5bfe73[_0x19773(0x26f)])==null||_0x334105['call'](_0x5bfe73);}[_0x4dfcf2(0x11f)](_0x1bba36){const _0x502ebb=_0x4dfcf2;let _0x335a57=this['_drawingManagerService'][_0x502ebb(0x40e)](_0x1bba36);return lt(_0x335a57)?_0x335a57:null;}[_0x4dfcf2(0x404)](_0x4f5681,_0x519a76){const _0x2211db=_0x4dfcf2;let _0x474541=this[_0x2211db(0x18e)][_0x2211db(0x316)](_0x4f5681),_0x166147=_0x474541==null?void 0x0:_0x474541[_0x4f5681];_0x166147&&_0x166147[_0x2211db(0x268)]['forEach'](_0x3db844=>{const _0x5e26ee=_0x2211db;let _0xeaabf7=_0x166147[_0x5e26ee(0x2ff)][_0x3db844];lt(_0xeaabf7)&&_0x519a76(_0xeaabf7);});}[_0x4dfcf2(0x383)](_0x4b37e4){const _0x2328ff=_0x4dfcf2;var _0x595fd4,_0x4ac382,_0x84dfa6,_0x46852a,_0x3b0489,_0x47e0a7,_0x23f43d,_0x5bbfbc;let _0x5cb43c=(_0x595fd4=(_0x4ac382=(_0x84dfa6=_0x4b37e4[_0x2328ff(0x154)])==null?void 0x0:_0x84dfa6[_0x2328ff(0x15c)])==null?(_0x46852a=_0x4b37e4[_0x2328ff(0x1af)])==null||(_0x46852a=_0x46852a[_0x2328ff(0x252)])==null?void 0x0:_0x46852a[_0x2328ff(0x15c)]:_0x4ac382)==null?0x0:_0x595fd4,_0x132330=(_0x3b0489=(_0x47e0a7=(_0x23f43d=_0x4b37e4[_0x2328ff(0x154)])==null?void 0x0:_0x23f43d[_0x2328ff(0x29f)])==null?(_0x5bbfbc=_0x4b37e4[_0x2328ff(0x1af)])==null||(_0x5bbfbc=_0x5bbfbc['size'])==null?void 0x0:_0x5bbfbc[_0x2328ff(0x29f)]:_0x47e0a7)==null?0x0:_0x3b0489;return _0x5cb43c<=0x0||_0x132330<=0x0?null:{'width':Math[_0x2328ff(0x144)](0x1,Math['round'](_0x5cb43c)),'height':Math[_0x2328ff(0x144)](0x1,Math[_0x2328ff(0x1ba)](_0x132330))};}};J=S([x(0x0,h[_0x4dfcf2(0x3b0)]),x(0x1,g[_0x4dfcf2(0x3b8)]),x(0x2,(0x0,e[_0x4dfcf2(0x2cd)])(W))],J);function lt(_0x5c9306){const _0x4e0f1b=_0x4dfcf2;let _0x464e60=_0x5c9306;return(_0x464e60==null?void 0x0:_0x464e60[_0x4e0f1b(0x398)])===e[_0x4e0f1b(0x1bd)][_0x4e0f1b(0x40f)]&&typeof _0x464e60[_0x4e0f1b(0x13b)]==_0x4e0f1b(0x104);}function ut(_0x16ce36,_0x5480cd,_0x457f3=0x1,_0x44eb3b=0x0){const _0x12b972=_0x4dfcf2;let {top:_0x4a40bf,left:_0xd5b2ef,bottom:_0x4382d4,right:_0x11f709}=_0x16ce36,_0x46814c=_0x11f709-_0xd5b2ef,_0x132b1f=_0x4382d4-_0x4a40bf,{viewportScrollX:_0x4f68da,viewportScrollY:_0xfdce21}=_0x5480cd[_0x12b972(0x2d9)](u[_0x12b972(0x3b5)][_0x12b972(0x2a0)]),{scaleX:_0x6b793b,scaleY:_0x3e7929}=_0x5480cd[_0x12b972(0x3aa)](),_0x35de79=(_0xd5b2ef-_0x4f68da)*_0x6b793b,_0x469164=(_0x4a40bf-_0xfdce21)*_0x3e7929,_0xad984a=_0x46814c*_0x6b793b,_0x1d5f21=_0x132b1f*_0x3e7929;return{'startX':_0x35de79,'startY':_0x469164,'endX':_0x35de79+_0xad984a,'endY':_0x469164+_0x1d5f21,'width':_0xad984a,'height':_0x1d5f21,'rotate':_0x44eb3b,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x457f3};}function dt(_0xf0fba5,_0x508cb2){const _0x5310f9=_0x4dfcf2;var _0x4303ef,_0x2f8a89;return _0xf0fba5['unitId']===_0x508cb2[_0x5310f9(0xfd)]&&((_0x4303ef=_0xf0fba5[_0x5310f9(0x162)])==null?_0xf0fba5[_0x5310f9(0xfd)]:_0x4303ef)===((_0x2f8a89=_0x508cb2[_0x5310f9(0x162)])==null?_0x508cb2[_0x5310f9(0xfd)]:_0x2f8a89)&&_0xf0fba5[_0x5310f9(0x2d8)]===_0x508cb2[_0x5310f9(0x2d8)];}function ft(_0xe3292f,_0x5e3c93=0x0){const _0x602c2b=_0x4dfcf2;var _0x332822;return(_0x332822=_0xe3292f[_0x602c2b(0x374)](_0x599070=>typeof _0x599070==_0x602c2b(0x344)&&Number[_0x602c2b(0x28f)](_0x599070)))==null?_0x5e3c93:_0x332822;}function pt(_0x540b60,_0x2f36ce){const _0x44b132=_0x4dfcf2;var _0x467cff,_0x52c7ba,_0x5bc538,_0x5b7a36,_0x58c778,_0x52adff,_0x1895e1;let _0x297143=_0x2f36ce==null||(_0x467cff=_0x2f36ce[_0x44b132(0x394)])==null?void 0x0:_0x467cff[_0x44b132(0x37e)](_0x2f36ce),_0x4eca38=ft([_0x297143==null?void 0x0:_0x297143[_0x44b132(0x15c)],(_0x52c7ba=_0x540b60[_0x44b132(0x154)])==null?void 0x0:_0x52c7ba[_0x44b132(0x15c)],(_0x5bc538=_0x540b60[_0x44b132(0x1af)])==null||(_0x5bc538=_0x5bc538[_0x44b132(0x252)])==null?void 0x0:_0x5bc538[_0x44b132(0x15c)]]),_0x5d9292=ft([_0x297143==null?void 0x0:_0x297143[_0x44b132(0x29f)],(_0x5b7a36=_0x540b60['transform'])==null?void 0x0:_0x5b7a36['height'],(_0x58c778=_0x540b60['docTransform'])==null||(_0x58c778=_0x58c778[_0x44b132(0x252)])==null?void 0x0:_0x58c778[_0x44b132(0x29f)]]),_0x64bdfe=ft([_0x297143==null?void 0x0:_0x297143[_0x44b132(0x1eb)],(_0x52adff=_0x540b60['transform'])==null?void 0x0:_0x52adff[_0x44b132(0x1eb)]]),_0x519ad7=ft([_0x297143==null?void 0x0:_0x297143[_0x44b132(0x39b)],(_0x1895e1=_0x540b60[_0x44b132(0x154)])==null?void 0x0:_0x1895e1['top']]);return{'left':_0x64bdfe,'top':_0x519ad7,'right':_0x64bdfe+_0x4eca38,'bottom':_0x519ad7+_0x5d9292};}function mt(_0x2d1e59,_0x5600bd){const _0x585a85=_0x4dfcf2;if(!_0x2d1e59||typeof _0x2d1e59!=_0x585a85(0x2f3))return;let _0x3a4f11=_0x2d1e59;if(typeof _0x3a4f11[_0x585a85(0x1c8)]==_0x585a85(0x3db)){let _0x5544ff=_0x3a4f11['subscribeEvent'](_0x5600bd);return(0x0,e[_0x585a85(0x1aa)])(()=>{const _0x15ff44=_0x585a85;var _0x451c8f;if(typeof _0x5544ff['dispose']==_0x15ff44(0x3db)){_0x5544ff[_0x15ff44(0x31d)]();return;}(_0x451c8f=_0x5544ff[_0x15ff44(0x33f)])==null||_0x451c8f[_0x15ff44(0x37e)](_0x5544ff);});}let _0x5857a2=_0x2d1e59;if(typeof _0x5857a2[_0x585a85(0x230)]==_0x585a85(0x3db)){let _0x5d31a3=_0x5857a2['subscribe'](_0x5600bd);return(0x0,e[_0x585a85(0x1aa)])(()=>{const _0x374939=_0x585a85;var _0x36f1be;return(_0x36f1be=_0x5d31a3[_0x374939(0x33f)])==null?void 0x0:_0x36f1be[_0x374939(0x37e)](_0x5d31a3);});}}let Y=class extends e[_0x4dfcf2(0x248)]{constructor(_0x57e2a6,_0x3fc7d7,_0x465026,_0x449925,_0x588a79,_0x4f3af4,_0x48a04a,_0x409e6a,_0x153ca7,_0x4d408e){const _0x4e8e09=_0x4dfcf2;super(),this[_0x4e8e09(0x18e)]=_0x57e2a6,this['_renderManagerService']=_0x3fc7d7,this['_canvasFloatDomService']=_0x465026,this[_0x4e8e09(0x2d1)]=_0x449925,this[_0x4e8e09(0x225)]=_0x588a79,this[_0x4e8e09(0x125)]=_0x4f3af4,this[_0x4e8e09(0x1e3)]=_0x48a04a,this[_0x4e8e09(0x3bb)]=_0x409e6a,this['_localeService']=_0x153ca7,this[_0x4e8e09(0x363)]=_0x4d408e,O(this,'_activeLayer',null),O(this,'_layoutChanged$',new p['Subject']()),this['_init']();}['mountChart'](_0x18cab5){const _0x1ae352=_0x4dfcf2;let _0x340942=this[_0x1ae352(0x2d1)][_0x1ae352(0x2f9)](_0x18cab5[_0x1ae352(0xfd)],_0x18cab5['chartId']);if(!_0x340942)return(0x0,e['toDisposable'])(()=>{});let _0x29a636=new Ae(_0x18cab5['chartId'],_0x18cab5[_0x1ae352(0x2fb)],(_0x577067,_0x1d7867)=>this[_0x1ae352(0x225)][_0x1ae352(0x35a)](_0x577067,_0x1d7867),()=>this[_0x1ae352(0x249)](_0x18cab5)),_0x25caf7=this[_0x1ae352(0x225)][_0x1ae352(0x17a)](s['ChartHostRenderMode'][_0x1ae352(0x3d1)]);_0x25caf7['bind'](_0x29a636);let _0x217cc7=[_0x25caf7['on']('dblclick',()=>{const _0x20369e=_0x1ae352;this[_0x20369e(0x1e3)][_0x20369e(0x337)](v['id'],{'unitId':_0x18cab5[_0x20369e(0xfd)],'chartId':_0x18cab5[_0x20369e(0x13b)],'drawingId':_0x18cab5[_0x20369e(0x2d8)]});})],_0x2c3ee4=!0x0;return _0x217cc7[_0x1ae352(0x16f)](this[_0x1ae352(0x149)](_0x340942,_0x25caf7,_0x18cab5,()=>_0x2c3ee4)),(0x0,e[_0x1ae352(0x1aa)])(()=>{const _0x12a21a=_0x1ae352;_0x2c3ee4=!0x1,this['_staticRenderController'][_0x12a21a(0x285)](this['_getDrawingSearch'](_0x18cab5),!0x1),_0x217cc7[_0x12a21a(0x250)](_0x51c4fd=>_0x51c4fd[_0x12a21a(0x31d)]()),_0x25caf7[_0x12a21a(0x31d)](),_0x29a636[_0x12a21a(0x31d)]();});}[_0x4dfcf2(0x31d)](){const _0x2726ef=_0x4dfcf2;this[_0x2726ef(0x367)](),this[_0x2726ef(0x16e)]['complete'](),super[_0x2726ef(0x31d)]();}[_0x4dfcf2(0x38e)](){const _0x29e28a=_0x4dfcf2;this[_0x29e28a(0x376)](this[_0x29e28a(0x18e)][_0x29e28a(0x321)]['subscribe'](_0x397fc7=>{const _0x4c02a0=_0x29e28a;this[_0x4c02a0(0x14d)](_0x397fc7);})),this['disposeWithMe'](this[_0x29e28a(0x18e)][_0x29e28a(0x1f6)][_0x29e28a(0x230)](_0x535733=>{const _0xff361=_0x29e28a;let _0x1b3692=this[_0xff361(0x1db)];_0x1b3692&&_0x535733[_0xff361(0x201)](_0x4179f0=>dt(_0x4179f0,_0x1b3692))&&this['_deactivate']();})),this[_0x29e28a(0x376)](this[_0x29e28a(0x18e)][_0x29e28a(0x362)]['subscribe'](_0x3a8e22=>{const _0x5b8463=_0x29e28a;let _0x2e6249=this[_0x5b8463(0x1db)];if(!_0x2e6249){this[_0x5b8463(0x159)](_0x3a8e22);return;}let _0x23f6f6=_0x3a8e22[_0x5b8463(0x374)](_0x1c1c4d=>dt(_0x1c1c4d,_0x2e6249));if(_0x23f6f6){let _0x194db9=this[_0x5b8463(0x18e)][_0x5b8463(0x40e)]({'unitId':_0x23f6f6['unitId'],'subUnitId':_0x23f6f6[_0x5b8463(0x162)],'drawingId':_0x23f6f6['drawingId']});this[_0x5b8463(0x18d)](_0x194db9)&&this[_0x5b8463(0x3b9)](_0x194db9);}})),this[_0x29e28a(0x376)](this[_0x29e28a(0x3bb)][_0x29e28a(0x1c0)](e['UniverInstanceType'][_0x29e28a(0x3f9)])['subscribe'](_0xc90f4b=>{const _0x26a98d=_0x29e28a;let _0x2d173b=this[_0x26a98d(0x1db)];_0x2d173b&&(_0xc90f4b==null?void 0x0:_0xc90f4b[_0x26a98d(0x364)]())!==_0x2d173b[_0x26a98d(0xfd)]&&this[_0x26a98d(0x367)]();}));}[_0x4dfcf2(0x149)](_0x11e4f9,_0x479372,_0x13d997,_0x20c8be){const _0x40bbc7=_0x4dfcf2;let _0x21b61c=()=>{const _0x4fe546=_0x34e2;let {chartConfig:_0x102dde,chartStyle:_0x12c6db}=this[_0x4fe546(0x225)]['createRenderInput'](_0x11e4f9);Promise[_0x4fe546(0x436)](_0x479372['render']({'chartId':_0x11e4f9[_0x4fe546(0x13b)],'config':_0x102dde,'style':_0x12c6db}))['then'](()=>{const _0x4b4595=_0x4fe546;_0x20c8be()&&this[_0x4b4595(0x41d)](_0x13d997)&&this[_0x4b4595(0x363)][_0x4b4595(0x285)](this['_getDrawingSearch'](_0x13d997),!0x0);},()=>{});},_0x3df69d=(0x0,p[_0x40bbc7(0x1be)])([_0x11e4f9[_0x40bbc7(0x1e7)][_0x40bbc7(0x423)],_0x11e4f9[_0x40bbc7(0x1e7)][_0x40bbc7(0x3e0)],this['_localeService']['direction$']])[_0x40bbc7(0x2a8)]((0x0,p[_0x40bbc7(0x296)])(([_0x5e2817])=>_0x5e2817!=null))[_0x40bbc7(0x230)](_0x21b61c),_0x5aeec9=this[_0x40bbc7(0x16e)]['pipe']((0x0,p['filter'])(_0x25a4d8=>_0x25a4d8===_0x13d997[_0x40bbc7(0x2d8)]))[_0x40bbc7(0x230)](_0x21b61c);return(0x0,e[_0x40bbc7(0x1aa)])(()=>{_0x3df69d['unsubscribe'](),_0x5aeec9['unsubscribe']();});}[_0x4dfcf2(0x14d)](_0xe16630){const _0x666b2d=_0x4dfcf2;let _0x11693a=(_0xe16630==null?[]:_0xe16630)[_0x666b2d(0x296)](_0x1b7bfc=>this[_0x666b2d(0x18d)](_0x1b7bfc));if(_0x11693a['length']!==0x1){this[_0x666b2d(0x367)]();return;}this[_0x666b2d(0x14f)](_0x11693a[0x0]);}['_activate'](_0x5c011a){const _0x151e8a=_0x4dfcf2;var _0x2d8de9,_0x233514,_0x2d574c,_0x4ecb89,_0x583123;let _0x248757=this[_0x151e8a(0x403)](_0x5c011a),_0x3919e4=this[_0x151e8a(0x33d)](_0x5c011a),_0xd0b488=(_0x2d8de9=_0x5c011a[_0x151e8a(0x162)])==null?_0x5c011a[_0x151e8a(0xfd)]:_0x2d8de9;if(!_0x248757||!_0x3919e4){this[_0x151e8a(0x367)]();return;}if(((_0x233514=this['_activeLayer'])==null?void 0x0:_0x233514[_0x151e8a(0xfd)])===_0x5c011a['unitId']&&this[_0x151e8a(0x1db)]['subUnitId']===_0xd0b488&&this[_0x151e8a(0x1db)][_0x151e8a(0x2d8)]===_0x5c011a[_0x151e8a(0x2d8)]&&this[_0x151e8a(0x1db)][_0x151e8a(0x13b)]===_0x5c011a[_0x151e8a(0x13b)]){this[_0x151e8a(0x1db)][_0x151e8a(0xfe)]=_0x248757[_0x151e8a(0xfe)],this[_0x151e8a(0x1db)]['sceneRect']=_0x248757[_0x151e8a(0x448)],this[_0x151e8a(0x1db)]['angle']=_0x248757[_0x151e8a(0x3c7)],this['_activeLayer'][_0x151e8a(0x36b)]=_0x3919e4,this[_0x151e8a(0x1db)][_0x151e8a(0x2b4)]['next'](_0x248757[_0x151e8a(0x200)]);return;}this['_deactivate']();let _0x379dfe=new p[(_0x151e8a(0x128))](_0x248757[_0x151e8a(0x200)]),_0x1bbd4e=this[_0x151e8a(0x22c)][_0x151e8a(0x2ab)](_0x5c011a['unitId']),_0x4740c3=_0x1bbd4e==null||(_0x4ecb89=(_0x2d574c=_0x1bbd4e[_0x151e8a(0x2ac)])[_0x151e8a(0x1b5)])==null?void 0x0:_0x4ecb89[_0x151e8a(0x37e)](_0x2d574c);this[_0x151e8a(0x1f5)]['addFloatDom']({'id':_0x5c011a[_0x151e8a(0x2d8)],'componentKey':ht,'position$':_0x379dfe,'unitId':_0x5c011a['unitId'],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x5c011a[_0x151e8a(0x13b)],'subUnitId':_0xd0b488},'onPointerDown':_0x59ae4a=>_0x4740c3==null?void 0x0:_0x4740c3[_0x151e8a(0x279)](new PointerEvent(_0x59ae4a[_0x151e8a(0x1d8)],_0x59ae4a)),'onPointerMove':_0x2c2937=>_0x4740c3==null?void 0x0:_0x4740c3[_0x151e8a(0x279)](new PointerEvent(_0x2c2937[_0x151e8a(0x1d8)],_0x2c2937)),'onPointerUp':_0x5363a3=>_0x4740c3==null?void 0x0:_0x4740c3['dispatchEvent'](new PointerEvent(_0x5363a3['type'],_0x5363a3)),'onWheel':_0x557f56=>_0x4740c3==null?void 0x0:_0x4740c3[_0x151e8a(0x279)](new WheelEvent(_0x557f56[_0x151e8a(0x1d8)],_0x557f56))}),this['_modelService'][_0x151e8a(0x418)](_0x5c011a[_0x151e8a(0xfd)],_0x5c011a[_0x151e8a(0x13b)]);let _0x445170={'unitId':_0x5c011a[_0x151e8a(0xfd)],'subUnitId':_0xd0b488,'drawingId':_0x5c011a['drawingId'],'chartId':_0x5c011a[_0x151e8a(0x13b)],'scene':_0x248757['scene'],'sceneRect':_0x248757[_0x151e8a(0x448)],'angle':_0x248757[_0x151e8a(0x3c7)],'renderRect':_0x3919e4,'position$':_0x379dfe,'positionObserver':(0x0,e[_0x151e8a(0x1aa)])(()=>{})};this['_activeLayer']=_0x445170;let _0x2a543c=_0x1bbd4e==null||(_0x583123=_0x1bbd4e['scene'])==null?void 0x0:_0x583123[_0x151e8a(0x2d9)](u['VIEWPORT_KEY'][_0x151e8a(0x2a0)]),_0x4b896f=mt(_0x2a543c==null?void 0x0:_0x2a543c[_0x151e8a(0x2d5)],()=>{const _0x5d8595=_0x151e8a;this['_refreshActivePosition'](_0x5c011a['unitId'],_0x5c011a[_0x5d8595(0x2d8)],_0x5c011a[_0x5d8595(0x13b)]);});_0x445170[_0x151e8a(0x3d3)]=_0x4b896f==null?(0x0,e[_0x151e8a(0x1aa)])(()=>{}):_0x4b896f;}[_0x4dfcf2(0x367)](){const _0x2fdc89=_0x4dfcf2;let _0xdaec69=this['_activeLayer'];_0xdaec69&&(this[_0x2fdc89(0x1db)]=null,_0xdaec69[_0x2fdc89(0x3d3)][_0x2fdc89(0x31d)](),this[_0x2fdc89(0x363)]['setActiveDomReady']({'unitId':_0xdaec69[_0x2fdc89(0xfd)],'subUnitId':_0xdaec69['subUnitId'],'drawingId':_0xdaec69[_0x2fdc89(0x2d8)]},!0x1),this[_0x2fdc89(0x1f5)][_0x2fdc89(0x41f)](_0xdaec69[_0x2fdc89(0x2d8)]),this[_0x2fdc89(0x2d1)][_0x2fdc89(0x11d)](null),this[_0x2fdc89(0x125)][_0x2fdc89(0x238)](_0xdaec69['unitId'],_0xdaec69[_0x2fdc89(0x13b)],{'waitForConfig':!0x0}),_0xdaec69[_0x2fdc89(0x2b4)]['complete']());}[_0x4dfcf2(0x3ab)](_0x3d8468,_0x177b93,_0x405e7a){const _0x2d6041=_0x4dfcf2;let _0x29cbb1=this['_activeLayer'];(_0x29cbb1==null?void 0x0:_0x29cbb1['unitId'])!==_0x3d8468||_0x29cbb1[_0x2d6041(0x2d8)]!==_0x177b93||_0x29cbb1[_0x2d6041(0x13b)]!==_0x405e7a||_0x29cbb1[_0x2d6041(0x2b4)][_0x2d6041(0x1f0)](ut(_0x29cbb1[_0x2d6041(0x448)],_0x29cbb1[_0x2d6041(0xfe)],0x1,_0x29cbb1[_0x2d6041(0x3c7)]));}[_0x4dfcf2(0x3b9)](_0x1b6bcb){const _0x20a3ce=_0x4dfcf2;let _0x2d1058=this[_0x20a3ce(0x403)](_0x1b6bcb),_0x1b74ff=this['_getRenderRect'](_0x1b6bcb);if(_0x2d1058&&_0x1b74ff){var _0x735835;this['_activeLayer']&&(this[_0x20a3ce(0x1db)][_0x20a3ce(0xfe)]=_0x2d1058[_0x20a3ce(0xfe)],this['_activeLayer'][_0x20a3ce(0x448)]=_0x2d1058[_0x20a3ce(0x448)],this[_0x20a3ce(0x1db)][_0x20a3ce(0x3c7)]=_0x2d1058[_0x20a3ce(0x3c7)],this[_0x20a3ce(0x1db)]['renderRect']=_0x1b74ff),(_0x735835=this['_activeLayer'])==null||_0x735835[_0x20a3ce(0x2b4)][_0x20a3ce(0x1f0)](_0x2d1058[_0x20a3ce(0x200)]),this[_0x20a3ce(0x16e)]['next'](_0x1b6bcb[_0x20a3ce(0x2d8)]);}}['_retryActivateFocusedChart'](_0x311542){const _0x4550e6=_0x4dfcf2;let _0x3d5664=this[_0x4550e6(0x18e)][_0x4550e6(0x31b)]()[_0x4550e6(0x296)](_0x83b61a=>this[_0x4550e6(0x18d)](_0x83b61a));_0x3d5664[_0x4550e6(0x34c)]===0x1&&_0x311542[_0x4550e6(0x201)](_0x400c03=>dt(_0x400c03,_0x3d5664[0x0]))&&this['_activate'](_0x3d5664[0x0]);}[_0x4dfcf2(0x403)](_0x355c9e){const _0x3f3690=_0x4dfcf2;let _0x53e5e8=_0x355c9e[_0x3f3690(0x154)];if(!_0x53e5e8)return null;let _0x146513=this[_0x3f3690(0x22c)]['getRenderById'](_0x355c9e['unitId']);if(!(_0x146513!=null&&_0x146513['scene']))return null;let _0x3edd77=(0x0,h[_0x3f3690(0x1a0)])(_0x355c9e),_0x24cdf1=_0x146513[_0x3f3690(0xfe)][_0x3f3690(0x396)](_0x3edd77),_0x539ee2=pt(_0x355c9e,_0x24cdf1),_0x3eff0a=_0x539ee2[_0x3f3690(0x139)]-_0x539ee2[_0x3f3690(0x1eb)],_0x1b1a06=_0x539ee2['bottom']-_0x539ee2['top'];if(_0x3eff0a<=0x0||_0x1b1a06<=0x0)return null;let _0x11d2cc=ft([_0x24cdf1==null?void 0x0:_0x24cdf1[_0x3f3690(0x3c7)],_0x53e5e8[_0x3f3690(0x3c7)]]);return{'scene':_0x146513[_0x3f3690(0xfe)],'sceneRect':_0x539ee2,'angle':_0x11d2cc,'position':ut(_0x539ee2,_0x146513[_0x3f3690(0xfe)],0x1,_0x11d2cc)};}['_getRenderRect'](_0x3d4808){const _0x1754a2=_0x4dfcf2;var _0x1c6e7d,_0x3712f0,_0x296b5d,_0x335f54,_0x299eb4,_0x2386da,_0x26b36e,_0x19ff50;let _0x33e85d=(_0x1c6e7d=(_0x3712f0=(_0x296b5d=_0x3d4808[_0x1754a2(0x154)])==null?void 0x0:_0x296b5d[_0x1754a2(0x15c)])==null?(_0x335f54=_0x3d4808['docTransform'])==null||(_0x335f54=_0x335f54['size'])==null?void 0x0:_0x335f54[_0x1754a2(0x15c)]:_0x3712f0)==null?0x0:_0x1c6e7d,_0x53906e=(_0x299eb4=(_0x2386da=(_0x26b36e=_0x3d4808['transform'])==null?void 0x0:_0x26b36e[_0x1754a2(0x29f)])==null?(_0x19ff50=_0x3d4808[_0x1754a2(0x1af)])==null||(_0x19ff50=_0x19ff50[_0x1754a2(0x252)])==null?void 0x0:_0x19ff50[_0x1754a2(0x29f)]:_0x2386da)==null?0x0:_0x299eb4;return _0x33e85d<=0x0||_0x53906e<=0x0?null:{'width':Math['max'](0x1,Math[_0x1754a2(0x1ba)](_0x33e85d)),'height':Math[_0x1754a2(0x144)](0x1,Math[_0x1754a2(0x1ba)](_0x53906e))};}[_0x4dfcf2(0x249)](_0x4ac9ca){const _0x16833e=_0x4dfcf2;var _0x543f49;let _0x135175=this[_0x16833e(0x1db)];if((_0x135175==null?void 0x0:_0x135175[_0x16833e(0xfd)])===_0x4ac9ca[_0x16833e(0xfd)]&&_0x135175[_0x16833e(0x162)]===((_0x543f49=_0x4ac9ca['subUnitId'])==null?_0x4ac9ca[_0x16833e(0xfd)]:_0x543f49)&&_0x135175[_0x16833e(0x2d8)]===_0x4ac9ca[_0x16833e(0x2d8)]&&_0x135175['chartId']===_0x4ac9ca[_0x16833e(0x13b)])return _0x135175[_0x16833e(0x36b)];let _0x2f007c=this[_0x16833e(0x18e)]['getDrawingByParam'](this['_getDrawingSearch'](_0x4ac9ca));return this[_0x16833e(0x18d)](_0x2f007c)?this[_0x16833e(0x33d)](_0x2f007c):null;}[_0x4dfcf2(0x1d9)](_0x35a4a3){const _0x33fc60=_0x4dfcf2;var _0x42effd;return{'unitId':_0x35a4a3[_0x33fc60(0xfd)],'subUnitId':(_0x42effd=_0x35a4a3['subUnitId'])==null?_0x35a4a3['unitId']:_0x42effd,'drawingId':_0x35a4a3['drawingId']};}[_0x4dfcf2(0x41d)](_0x20ff31){const _0x41f00b=_0x4dfcf2;var _0x46c459;let _0x48a745=this[_0x41f00b(0x1db)];return(_0x48a745==null?void 0x0:_0x48a745[_0x41f00b(0xfd)])===_0x20ff31[_0x41f00b(0xfd)]&&_0x48a745[_0x41f00b(0x162)]===((_0x46c459=_0x20ff31[_0x41f00b(0x162)])==null?_0x20ff31[_0x41f00b(0xfd)]:_0x46c459)&&_0x48a745[_0x41f00b(0x2d8)]===_0x20ff31['drawingId']&&_0x48a745[_0x41f00b(0x13b)]===_0x20ff31[_0x41f00b(0x13b)];}[_0x4dfcf2(0x18d)](_0x36091c){const _0x1fdc4c=_0x4dfcf2;let _0x7e12ea=_0x36091c;return(_0x7e12ea==null?void 0x0:_0x7e12ea['drawingType'])===e[_0x1fdc4c(0x1bd)][_0x1fdc4c(0x40f)]&&typeof _0x7e12ea[_0x1fdc4c(0x13b)]=='string';}};Y=S([x(0x0,h[_0x4dfcf2(0x3b0)]),x(0x1,g[_0x4dfcf2(0x3b8)]),x(0x2,(0x0,e[_0x4dfcf2(0x2cd)])(n[_0x4dfcf2(0x22f)])),x(0x3,(0x0,e['Inject'])(a[_0x4dfcf2(0x331)])),x(0x4,(0x0,e['Inject'])(j)),x(0x5,(0x0,e[_0x4dfcf2(0x2cd)])(W)),x(0x6,e[_0x4dfcf2(0x117)]),x(0x7,e['IUniverInstanceService']),x(0x8,(0x0,e[_0x4dfcf2(0x2cd)])(e[_0x4dfcf2(0x19c)])),x(0x9,(0x0,e[_0x4dfcf2(0x2cd)])(J))],Y);const ht=_0x4dfcf2(0x30b),gt=_0x302e94=>{const _0xd872e8=_0x4dfcf2;let {unitId:_0x35ae5c,subUnitId:_0x7f7941,floatDomId:_0x18ac94,chartId:_0x581cd1,context:_0x487e34}=_0x302e94,_0x52eb55=(0x0,n[_0xd872e8(0x25e)])(Y);return(0x0,r[_0xd872e8(0x15a)])(()=>{const _0x144c4b=_0xd872e8;let _0x224a5f=_0x487e34['root'][_0x144c4b(0x326)];if(!_0x224a5f)return;let _0x5d7a8b=_0x52eb55['mountChart']({'unitId':_0x35ae5c,'subUnitId':_0x7f7941,'drawingId':_0x18ac94,'chartId':_0x581cd1,'root':_0x224a5f});return()=>_0x5d7a8b['dispose']();},[_0x52eb55,_0x581cd1,_0x487e34[_0xd872e8(0x2fb)],_0x18ac94,_0x7f7941,_0x35ae5c]),null;};let X=class extends e[_0x4dfcf2(0x248)]{constructor(_0x9d3e8c,_0x5ee9a6){const _0x3f9838=_0x4dfcf2;super(),this[_0x3f9838(0x18e)]=_0x9d3e8c,this[_0x3f9838(0x125)]=_0x5ee9a6;}[_0x4dfcf2(0x132)](_0xdc1e5b,_0xc8a54a,_0xdfb816,_0x98eba9){const _0x455458=_0x4dfcf2;let _0x281fb1=this[_0x455458(0x255)](_0xdc1e5b,_0xc8a54a);if(_0xdfb816[_0x455458(0x3a0)](),!_0x281fb1)return{'dispose':()=>_0xdfb816[_0x455458(0x3a0)]()};let _0x2cd21a={'unitId':_0xdc1e5b,'chartId':_0x281fb1[_0x455458(0x13b)],'width':Math['max'](0x1,Math[_0x455458(0x1ba)](_0x98eba9[_0x455458(0x15c)])),'height':Math[_0x455458(0x144)](0x1,Math[_0x455458(0x1ba)](_0x98eba9['height'])),'mode':_0x455458(0x40b)},_0x333c5e=this[_0x455458(0x125)]['requestSnapshot'](_0x2cd21a);this['_renderEntry'](_0xdfb816,_0x333c5e);let _0x44791c=this['_snapshotRenderService'][_0x455458(0x40d)][_0x455458(0x230)](_0x1f5456=>{const _0x7b700c=_0x455458;_0x1f5456['key']===_0x333c5e['key']&&this[_0x7b700c(0x3d8)](_0xdfb816,_0x1f5456);});return{'dispose':()=>{const _0xebb069=_0x455458;_0x44791c[_0xebb069(0x33f)](),_0xdfb816['replaceChildren']();}};}[_0x4dfcf2(0x255)](_0x399b37,_0x211361){const _0x2b425e=_0x4dfcf2;let _0x241dc0={'unitId':_0x399b37,'subUnitId':_0x399b37,'drawingId':_0x211361},_0x58dd1f=this['_drawingManagerService'][_0x2b425e(0x40e)](_0x241dc0);return!_0x58dd1f||_0x58dd1f[_0x2b425e(0x398)]!==e[_0x2b425e(0x1bd)][_0x2b425e(0x40f)]||!_0x58dd1f[_0x2b425e(0x13b)]?null:_0x58dd1f;}[_0x4dfcf2(0x3d8)](_0x5e3d4b,_0x1e9c9c){const _0x4275da=_0x4dfcf2;if(_0x1e9c9c['status']!=='ready'||!_0x1e9c9c['dataUrl'])return;let _0xdcc7a7=document[_0x4275da(0x32e)]('img');_0xdcc7a7[_0x4275da(0x2a5)]=_0x1e9c9c[_0x4275da(0x44d)],_0xdcc7a7['alt']='',_0xdcc7a7[_0x4275da(0x380)][_0x4275da(0x291)]=_0x4275da(0x2c9),_0xdcc7a7['style'][_0x4275da(0x15c)]=_0x4275da(0x14c),_0xdcc7a7[_0x4275da(0x380)][_0x4275da(0x29f)]=_0x4275da(0x14c),_0x5e3d4b['replaceChildren'](_0xdcc7a7);}};X=S([x(0x0,h[_0x4dfcf2(0x3b0)]),x(0x1,(0x0,e['Inject'])(W))],X);const _t=_0x48c91b=>{const _0x3e5223=_0x4dfcf2;let {unitId:_0x2584d7,floatDomId:_0x295213,context:_0x325db1}=_0x48c91b,_0x534e12=(0x0,n['useDependency'])(X);return(0x0,r['useEffect'])(()=>{const _0x9eb592=_0x34e2;let _0x3244af=_0x325db1[_0x9eb592(0x2fb)][_0x9eb592(0x326)];if(!_0x3244af)return;let _0x37c6fb={'width':Number['parseFloat'](_0x3244af['style'][_0x9eb592(0x15c)])||_0x3244af[_0x9eb592(0x2d4)]||0x1,'height':Number[_0x9eb592(0x388)](_0x3244af[_0x9eb592(0x380)][_0x9eb592(0x29f)])||_0x3244af[_0x9eb592(0x2a2)]||0x1},_0x943dd0=_0x534e12['printChart'](_0x2584d7,_0x295213,_0x3244af,_0x37c6fb);return()=>_0x943dd0[_0x9eb592(0x31d)]();},[_0x325db1[_0x3e5223(0x2fb)],_0x295213,_0x534e12,_0x2584d7]),null;};let vt=class extends e[_0x4dfcf2(0x248)]{constructor(_0x3c343f,_0x55eb9e){const _0x80324e=_0x4dfcf2;super(),this[_0x80324e(0x293)]=_0x3c343f,this['_iconManager']=_0x55eb9e,this[_0x80324e(0x19d)](),this['_registerComponents']();}[_0x4dfcf2(0x19d)](){const _0x1d2fad=_0x4dfcf2;this['disposeWithMe'](this[_0x1d2fad(0x34f)][_0x1d2fad(0x3c6)]({'ChartIcon':c[_0x1d2fad(0x2ba)],'AreaChartIcon':c[_0x1d2fad(0x42b)],'BarChartIcon':c[_0x1d2fad(0x21d)],'ColumnChartIcon':c[_0x1d2fad(0x213)],'ComboChartIcon':c['ComboChartIcon'],'LineChartIcon':c[_0x1d2fad(0x1b9)],'PieChartIcon':c[_0x1d2fad(0x1d2)],'RadarChartIcon':c[_0x1d2fad(0x402)],'ScatterChartIcon':c['ScatterChartIcon'],'FunnelIcon':c[_0x1d2fad(0x1ef)],'CloudIcon':c['CloudOutlineIcon'],'BubbleIcon':c['BubbleIcon'],'RelationshipIcon':c[_0x1d2fad(0x2ea)],'WaterfallChartIcon':c[_0x1d2fad(0x39c)],'SankeyChartIcon':c[_0x1d2fad(0x20e)],'HeatmapChartIcon':c[_0x1d2fad(0x332)],'BoxplotIcon':c[_0x1d2fad(0x31a)]}));}[_0x4dfcf2(0x379)](){const _0x175099=_0x4dfcf2;this[_0x175099(0x376)](this['_componentManager'][_0x175099(0x3c6)](z,B)),this[_0x175099(0x376)](this[_0x175099(0x293)][_0x175099(0x3c6)](te,b)),this[_0x175099(0x376)](this['_componentManager']['register'](Pe,Fe)),this['disposeWithMe'](this[_0x175099(0x293)][_0x175099(0x3c6)](e[_0x175099(0x1ed)],_t)),this[_0x175099(0x376)](this[_0x175099(0x293)][_0x175099(0x3c6)](ht,gt));}};vt=S([x(0x0,(0x0,e[_0x4dfcf2(0x2cd)])(n['ComponentManager'])),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(n[_0x4dfcf2(0x399)]))],vt);let Z=class extends e[_0x4dfcf2(0x248)]{constructor(_0x381ed0,_0x11f26f,_0x545155,_0x40d589,_0xfa99ce,_0x2ec780,_0x34f74b){const _0x1c69c9=_0x4dfcf2;super(),this['_dialogService']=_0x381ed0,this[_0x1c69c9(0x320)]=_0x11f26f,this[_0x1c69c9(0x3f4)]=_0x545155,this[_0x1c69c9(0x2bb)]=_0x40d589,this[_0x1c69c9(0x194)]=_0xfa99ce,this[_0x1c69c9(0x3a7)]=_0x2ec780,this[_0x1c69c9(0x1e3)]=_0x34f74b,this['_initMenus'](),this[_0x1c69c9(0x2dd)]();}[_0x4dfcf2(0x3e3)](_0x2fe6ef){const _0x1d79fd=_0x4dfcf2;var _0x4a7cd4,_0x143953;let _0x4f4ebc=null,_0x3bdb47=()=>{const _0x44cdc2=_0x34e2;_0x4f4ebc==null||_0x4f4ebc[_0x44cdc2(0x31d)](),_0x4f4ebc=null;};return _0x4f4ebc=this[_0x1d79fd(0x3e4)][_0x1d79fd(0x412)]({'id':_0x1d79fd(0x297),'title':{'title':_0x1d79fd(0x3df)},'width':0x3c0,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'destroyOnClose':!0x0,'children':{'label':{'name':z,'props':{'defaultChartType':(_0x4a7cd4=_0x2fe6ef==null?void 0x0:_0x2fe6ef[_0x1d79fd(0x1de)])==null?_0x2fe6ef==null?void 0x0:_0x2fe6ef[_0x1d79fd(0x169)]:_0x4a7cd4,'defaultTableText':_0x2fe6ef==null?void 0x0:_0x2fe6ef[_0x1d79fd(0x371)],'insertOptions':{'insertRange':(_0x143953=_0x2fe6ef==null?void 0x0:_0x2fe6ef[_0x1d79fd(0x3ed)])==null?this[_0x1d79fd(0x136)]():_0x143953},'onCancel':_0x3bdb47,'onInserted':_0x3bdb47}}},'onClose':_0x3bdb47}),!0x0;}[_0x4dfcf2(0x42f)](_0x15ac48){const _0x15af41=_0x4dfcf2;let _0x25f7c6=null,_0x33665e=()=>{const _0x5e548b=_0x34e2;_0x25f7c6==null||_0x25f7c6[_0x5e548b(0x31d)](),_0x25f7c6=null;};return _0x25f7c6=this[_0x15af41(0x3e4)][_0x15af41(0x412)]({'id':N,'title':{'title':_0x15af41(0x3df)},'width':0x3d4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'destroyOnClose':!0x0,'children':{'label':{'name':Pe,'props':{..._0x15ac48,'onClose':_0x33665e}}},'onClose':_0x33665e}),!0x0;}[_0x4dfcf2(0x318)](){const _0x114e14=_0x4dfcf2;this[_0x114e14(0x3a7)][_0x114e14(0x2e4)](rt);}[_0x4dfcf2(0x2dd)](){const _0x1704db=_0x4dfcf2;this[_0x1704db(0x376)](this['_commandService'][_0x1704db(0x16c)](_0xfd5983=>{const _0x5c7c50=_0x1704db;if(_0xfd5983['id']===_['id']){this['openInsertDialog'](_0xfd5983['params']);return;}if(_0xfd5983['id']===v['id']){let _0x160adf=_0xfd5983['params'];_0x160adf&&this[_0x5c7c50(0x42f)](_0x160adf);}}));}['_captureInsertRange'](){const _0x45c74b=_0x4dfcf2;var _0xa85ec,_0x5ec4d9,_0x566dd7;let _0x5dbcd1=this[_0x45c74b(0x3f4)][_0x45c74b(0x3f8)](e[_0x45c74b(0x168)]['UNIVER_DOC']);if(!_0x5dbcd1)return;let _0x36be2d=_0x5dbcd1[_0x45c74b(0x364)](),_0x5b6836=null;try{_0x5b6836=this[_0x45c74b(0x194)]['consumeInsertRange'](_0x36be2d);}catch{_0x5b6836=null;}if(_0x5b6836){var _0x4af69e;let _0x37f177={'startOffset':_0x5b6836[_0x45c74b(0x2fd)],'endOffset':_0x5b6836[_0x45c74b(0x17b)],'collapsed':_0x5b6836[_0x45c74b(0x2fd)]===_0x5b6836['endOffset'],'segmentId':(_0x4af69e=_0x5b6836['segmentId'])==null?'':_0x4af69e};return P(_0x5dbcd1,_0x37f177)?_0x37f177:void 0x0;}let _0x2b940b=[...(_0xa85ec=this[_0x45c74b(0x2bb)][_0x45c74b(0x1f1)]())==null?[]:_0xa85ec];if(_0x2b940b[_0x45c74b(0x34c)]!==0x1)return;let _0x2dbb03=(_0x5ec4d9=this[_0x45c74b(0x2bb)][_0x45c74b(0x323)]())==null?_0x2b940b[0x0]:_0x5ec4d9;if(!_0x2dbb03||!_0x2dbb03[_0x45c74b(0x3b1)]||_0x2dbb03[_0x45c74b(0x2fd)]==null)return;let _0x22fd0d={..._0x2dbb03,'segmentId':(_0x566dd7=_0x2dbb03[_0x45c74b(0x172)])==null?'':_0x566dd7};return P(_0x5dbcd1,_0x22fd0d)?_0x22fd0d:void 0x0;}};Z=S([x(0x0,(0x0,e['Inject'])(n['IDialogService'])),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(e[_0x4dfcf2(0x19c)])),x(0x2,e[_0x4dfcf2(0x141)]),x(0x3,(0x0,e['Inject'])(l['DocSelectionManagerService'])),x(0x4,(0x0,e['Inject'])(l[_0x4dfcf2(0x129)])),x(0x5,n[_0x4dfcf2(0x251)]),x(0x6,e[_0x4dfcf2(0x117)])],Z);let Q=class extends e[_0x4dfcf2(0x101)]{constructor(_0x4a9069=Ke,_0x17186b,_0x25c9a1,_0x1d67e7){const _0x969575=_0x4dfcf2;super(),this[_0x969575(0x269)]=_0x4a9069,this['_injector']=_0x17186b,this[_0x969575(0x253)]=_0x25c9a1,this[_0x969575(0x1e3)]=_0x1d67e7;let {..._0x469457}=(0x0,e[_0x969575(0x439)])({},Ke,this[_0x969575(0x269)]);this[_0x969575(0x253)][_0x969575(0x3f7)](Ge,_0x469457),this[_0x969575(0x43e)](),(0x0,s[_0x969575(0x11a)])(s['echarts']);}[_0x4dfcf2(0x3e5)](){const _0x306c84=_0x4dfcf2;let _0x3d65d6=this[_0x306c84(0x348)];[[vt],[R],[C],[Y],[X],[j],[W],[G],[J],[H],[U],[Z]][_0x306c84(0x250)](_0x18b482=>_0x3d65d6[_0x306c84(0x105)](_0x18b482)),(0x0,e[_0x306c84(0x247)])(_0x3d65d6,[[R],[C],[Y],[X],[j],[W],[H],[U]]),this[_0x306c84(0x348)][_0x306c84(0x21b)](vt);}[_0x4dfcf2(0x408)](){const _0x214253=_0x4dfcf2;this[_0x214253(0x348)][_0x214253(0x21b)](G),this[_0x214253(0x348)][_0x214253(0x21b)](J),this['_injector'][_0x214253(0x21b)](H),this[_0x214253(0x348)][_0x214253(0x21b)](U),this[_0x214253(0x348)][_0x214253(0x21b)](Z);}[_0x4dfcf2(0x43e)](){const _0x5402ab=_0x4dfcf2;[_,v][_0x5402ab(0x250)](_0x563054=>{const _0x28dc2e=_0x5402ab;this[_0x28dc2e(0x376)](this[_0x28dc2e(0x1e3)][_0x28dc2e(0xfb)](_0x563054));});}};O(Q,_0x4dfcf2(0x1d8),e['UniverInstanceType']['UNIVER_DOC']),O(Q,_0x4dfcf2(0x301),_0x4dfcf2(0x295)),O(Q,_0x4dfcf2(0x27c),it),O(Q,'version',at),Q=S([(0x0,e['DependentOn'])(m[_0x4dfcf2(0x178)],u[_0x4dfcf2(0x264)],f[_0x4dfcf2(0x386)],a[_0x4dfcf2(0x442)]),x(0x1,(0x0,e[_0x4dfcf2(0x2cd)])(e['Injector'])),x(0x2,e[_0x4dfcf2(0x156)]),x(0x3,e[_0x4dfcf2(0x117)])],Q),exports[_0x4dfcf2(0xf7)]=Ge,exports['DOC_ACTIVE_CHART_COMPONENT']=ht,exports[_0x4dfcf2(0x3b7)]=qe,exports[_0x4dfcf2(0x3c2)]=te,exports[_0x4dfcf2(0x173)]=_0x4dfcf2(0x158),exports[_0x4dfcf2(0x43b)]=Pe,exports['DOC_CHART_EDITOR_DIALOG_ID']=N,exports[_0x4dfcf2(0x2b1)]=Ze,exports['DOC_CHART_INSERT_MENU_ID']=K,exports[_0x4dfcf2(0x3c3)]=Qe,exports[_0x4dfcf2(0x305)]=z,exports['DocActiveChart']=gt,Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x124),{'enumerable':!0x0,'get':function(){return Y;}}),Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x3c0),{'enumerable':!0x0,'get':function(){return H;}}),Object[_0x4dfcf2(0x13f)](exports,'DocChartDataEditService',{'enumerable':!0x0,'get':function(){return C;}}),exports[_0x4dfcf2(0x2e2)]=b,exports[_0x4dfcf2(0x109)]=ne,Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x21a),{'enumerable':!0x0,'get':function(){return U;}}),exports[_0x4dfcf2(0x165)]=De,exports[_0x4dfcf2(0x20a)]=Fe,exports['DocChartInlineTableEditor']=ee,exports['DocChartInsertBelowMenuItemFactory']=nt,exports[_0x4dfcf2(0x282)]=tt,exports[_0x4dfcf2(0x3f3)]=B,exports[_0x4dfcf2(0x223)]=et,Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x164),{'enumerable':!0x0,'get':function(){return R;}}),Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x42e),{'enumerable':!0x0,'get':function(){return X;}}),Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x3e1),{'enumerable':!0x0,'get':function(){return j;}}),Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x3f0),{'enumerable':!0x0,'get':function(){return G;}}),Object[_0x4dfcf2(0x13f)](exports,'DocChartSnapshotRenderService',{'enumerable':!0x0,'get':function(){return W;}}),exports['DocDomChartHost']=Ae,exports[_0x4dfcf2(0x3cd)]=k,exports[_0x4dfcf2(0x3ea)]=_t,exports[_0x4dfcf2(0x2e8)]=rt,exports[_0x4dfcf2(0x2e5)]=A,exports[_0x4dfcf2(0x2b7)]=Ye,exports[_0x4dfcf2(0x26d)]=v,exports[_0x4dfcf2(0x304)]=_,Object[_0x4dfcf2(0x13f)](exports,_0x4dfcf2(0x295),{'enumerable':!0x0,'get':function(){return Q;}}),exports['appendInlineTableColumn']=i[_0x4dfcf2(0x12b)],exports['appendInlineTableRow']=i[_0x4dfcf2(0x29e)],exports[_0x4dfcf2(0x3cc)]=y,exports[_0x4dfcf2(0x175)]=i[_0x4dfcf2(0x175)],exports[_0x4dfcf2(0x38a)]=Ke,exports[_0x4dfcf2(0x32d)]=q,exports['normalizeInlineTableValues']=i['normalizeInlineTableValues'];