@univerjs-pro/slides-chart-ui 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +0 -8
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/SlideChartEditPanel.d.ts +2 -14
  63. package/lib/types/controllers/slide-chart-element-float-menu.controller.d.ts +1 -0
  64. package/lib/types/locale/en-US.d.ts +3 -0
  65. package/lib/types/services/chart-image-export-provider.d.ts +2 -2
  66. package/lib/types/services/slide-chart-render.service.d.ts +3 -1
  67. package/lib/umd/index.js +1 -1
  68. package/lib/umd/locale/ar-SA.js +1 -1
  69. package/lib/umd/locale/ca-ES.js +1 -1
  70. package/lib/umd/locale/de-DE.js +1 -1
  71. package/lib/umd/locale/en-US.js +1 -1
  72. package/lib/umd/locale/es-ES.js +1 -1
  73. package/lib/umd/locale/fa-IR.js +1 -1
  74. package/lib/umd/locale/fr-FR.js +1 -1
  75. package/lib/umd/locale/id-ID.js +1 -1
  76. package/lib/umd/locale/it-IT.js +1 -1
  77. package/lib/umd/locale/ja-JP.js +1 -1
  78. package/lib/umd/locale/ko-KR.js +1 -1
  79. package/lib/umd/locale/pl-PL.js +1 -1
  80. package/lib/umd/locale/pt-BR.js +1 -1
  81. package/lib/umd/locale/ru-RU.js +1 -1
  82. package/lib/umd/locale/sk-SK.js +1 -1
  83. package/lib/umd/locale/vi-VN.js +1 -1
  84. package/lib/umd/locale/zh-CN.js +1 -1
  85. package/lib/umd/locale/zh-HK.js +1 -1
  86. package/lib/umd/locale/zh-TW.js +1 -1
  87. package/package.json +15 -15
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x193d94=_0x1378;(function(_0x1465c5,_0x5c26ed){const _0xbbbb39=_0x1378,_0x4de7c1=_0x1465c5();while(!![]){try{const _0xedf38=parseInt(_0xbbbb39(0x26b))/0x1+-parseInt(_0xbbbb39(0x37f))/0x2+parseInt(_0xbbbb39(0x2aa))/0x3+-parseInt(_0xbbbb39(0x17e))/0x4*(parseInt(_0xbbbb39(0x37a))/0x5)+-parseInt(_0xbbbb39(0x2ba))/0x6*(parseInt(_0xbbbb39(0x315))/0x7)+-parseInt(_0xbbbb39(0x27d))/0x8*(-parseInt(_0xbbbb39(0x1e3))/0x9)+-parseInt(_0xbbbb39(0x17d))/0xa*(-parseInt(_0xbbbb39(0x178))/0xb);if(_0xedf38===_0x5c26ed)break;else _0x4de7c1['push'](_0x4de7c1['shift']());}catch(_0x4d2a1b){_0x4de7c1['push'](_0x4de7c1['shift']());}}}(_0x5002,0xc816c));import{CommandType as _0x5e593e,DependentOn as _0x5c5d8e,Disposable as _0x5c8699,DisposableCollection as _0xe71284,ICommandService as _0x17367f,IConfigService as _0x11e152,IUniverInstanceService as _0xec2b0e,Inject as _0x21dd2a,Injector as _0x3b1975,LocaleService as _0x462145,Plugin as _0x5dc516,RxDisposable as _0x13039f,Tools as _0x555580,UniverInstanceType as _0x42c74e,createIdentifier as _0xde5bc5,generateRandomId as _0x4a69c4,merge as _0x298adb,toDisposable as _0x2f3a4e,touchDependencies as _0x6c554d}from'@univerjs/core';import{ISlideDrawingService as _0xa968de,PageElementTypeEnum as _0x4fcec2,PageTypeEnum as _0x467a36,SlideSceneTypeEnum as _0x3d9df9,UniverSlidesPlugin as _0x10c938,UpdateSlideDrawingCommand as _0xd87f21,getSlideCommandTarget as _0x564d73}from'@univerjs-pro/slides';import{CHART_DOM_HOST_Z_INDEX as _0x490099,CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x3a2b4f,CHART_ELEMENT_FLOAT_MENU_OFFSET as _0x188ad0,CHART_HOST_BORDER_RADIUS as _0x488eb4,ChartAxisLineVisibilityField as _0x30b3b0,ChartColorField as _0x20a502,ChartCommonDataMappingSection as _0x3ec86b,ChartEditBlockTitle as _0x3b34e2,ChartEditPanel as _0x261b41,ChartEditPanelSection as _0x1d7cce,ChartEditPanelTab as _0x4fb0ce,ChartEditPanelTabs as _0x5154a9,ChartEditorCapability as _0x5640be,ChartEditorProvider as _0xe5277b,ChartElementFloatMenuAdapterRegistry as _0x39c2c0,ChartGradientFillField as _0x1c5142,ChartGridlineVisibilityField as _0x4d49e9,ChartHostAdapter as _0x4f562a,ChartImageExportService as _0x4ae8ff,ChartIndicatorLineColorField as _0x2e9b5f,ChartInlineTableEditor as _0x1d6a3d,ChartLegendPositionField as _0x393871,ChartLegendRoot as _0x593dd6,ChartLegendWrapField as _0x4369d1,ChartMainTitleFields as _0x5a0476,ChartNumberFormatTextField as _0x2627a1,ChartParetoSeriesSection as _0x2c2e8c,ChartPieStyleSection as _0x4d70cd,ChartReferencedDataSourceEditor as _0x4b141d,ChartSectionAccordion as _0xccc88c,ChartSectionAccordionContent as _0x40d3b7,ChartSectionAccordionItem as _0x1e20d8,ChartSectionAccordionTrigger as _0xa77a82,ChartStackField as _0x298a86,ChartStyleSection as _0x137a9f,ChartThemeField as _0x116f78,ChartTypeField as _0x1dba77,ChartTypeSpecificDataSection as _0x4c1d72,ChartTypeSpecificSetupSection as _0x538b7a,ChartTypeSpecificStyleSection as _0x385c78,ChartUIService as _0x548664,ChartViewStateRegistry as _0x423c44,ChartWaterfallSetupFields as _0x48c414,ChartWaterfallStyleSection as _0x3fe888,ChartWordCloudStyleSection as _0x45cd98,DEFAULT_CHART_AXIS_VALUES as _0xf2b5e3,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x2c70b6,DEFAULT_CHART_LEGEND_VALUES as _0x5a477a,DEFAULT_CHART_PARETO_VALUES as _0xe00903,DEFAULT_CHART_PIE_VALUES as _0x31417e,DEFAULT_CHART_STYLE_VALUES as _0x31e811,DEFAULT_CHART_TITLE_VALUES as _0x25d312,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x1eb114,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x2d0629,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x15ab90,InlineChartCreationIssueCode as _0x159266,MIN_CHART_HOST_DIMENSION as _0x44d4b8,STATIC_CHART_TYPE_CATALOG as _0x4a49b4,UniverChartUIPlugin as _0x24529e,buildChartTypeSelectOptions as _0x2a02e1,chartTypeSupportsCapability as _0x53957b,compactInlineTableValues as _0x2b4ada,createChartElementFloatMenuAdapter as _0x21e2b8,createChartInlineStarterData as _0xf95d31,getChartInlineTableMinColumns as _0x1b594b,resolveChartEditPanelRoute as _0x3f7659,resolveChartElementSelection as _0x1786b4,tryBuildInlineChartCreationPlan as _0x58618e,tryPrepareInlineChartData as _0x1a0c15,useChartEditorChartType as _0x3d9526,useChartEditorHasRightAxis as _0x31c243}from'@univerjs-pro/chart-ui';import{ChartDataSourceRuntimeStatus as _0x8c17b6,ChartHostRenderMode as _0x1aa0d9,ChartThemeService as _0x1b5b85,ChartTypeBits as _0x2fcd51,DataUrlImageChartHost as _0x5c6372,IChartRenderModelManagerService as _0x2cccf3,chartBitsUtils as _0x1392e8,isInlineChartDataSource as _0x32ed12,isReferencedChartDataSource as _0x2c7a6d,parseInlineChartTable as _0x25fe86,resolveChartRuntimeStyle as _0x13dbb0,resolveDefaultChartHostFrameStyle as _0x3eb594}from'@univerjs-pro/engine-chart';import{Button as _0x58a0c,Select as _0x4a5a3d}from'@univerjs/design';import{ComponentManager as _0x147516,ContextMenuGroup as _0x5ba28b,IDialogService as _0x499f36,IMenuManagerService as _0x4f77a5,ISidebarService as _0x1ca3e5,MenuItemType as _0x10cb26,useDependency as _0x3a6709,useObservable as _0x440f79}from'@univerjs/ui';import{useEffect as _0x8b3e52,useMemo as _0xe91bd6,useState as _0x5e0a7d}from'react';import{jsx as _0xd07901,jsxs as _0x486ad9}from'react/jsx-runtime';import{ChangeSlideChartDataSourceCommand as _0x39d2ac,DEFAULT_SLIDE_CHART_STROKE as _0x1d9e41,DEFAULT_SLIDE_CHART_VALUES as _0x5e52bd,InsertSlideChartCommand as _0x1dd5ab,RemoveSlideChartDataSourceMutation as _0x3040f3,RemoveSlideChartSnapshotMutation as _0x2122dc,SetSlideChartDataSourceMutation as _0x10d228,SetSlideChartSnapshotMutation as _0x1a6d52,SlideChartConfigAdapter as _0x445223,SlideChartModelService as _0x346b93,SlideChartResourceService as _0x4a2995,UniverSlidesChartPlugin as _0x158d5b,UpdateSlideChartConfigCommand as _0x2513f7}from'@univerjs-pro/slides-chart';import{BehaviorSubject as _0x23aa3f,Observable as _0x4be838,Subject as _0x299fdc,combineLatest as _0x4fe0cb,filter as _0x738fb0,firstValueFrom as _0x1a9be3,skip as _0x1e1b0e,take as _0x47789d,takeUntil as _0x26002c,timeout as _0x117c8e}from'rxjs';import{ISlideClipboardResourceAdapterService as _0x2c4bb2,ISlideDrawingStateService as _0x524538,ObjectAdaptor as _0x297ba3,SLIDE_MAIN_VIEWPORT_KEY as _0x4da093,SlideCanvasPopManagerService as _0x40660b,SlideHitTestService as _0xdef4d5,SlideImageObject as _0x2ae290,SlideObjectAdaptorRegistryService as _0x492033,SlidePlaceholderActionOperation as _0x220c91,UniverSlidesUIPlugin as _0x186012,buildDrawingOKey as _0x2afa14}from'@univerjs-pro/slides-ui';import{IRenderManagerService as _0x361b2f,UniverRenderEnginePlugin as _0x23aeae,pxToNum as _0x2cce3e}from'@univerjs/engine-render';import{UniverLicensePlugin as _0x25dfe4}from'@univerjs-pro/license';import{ShapeLineCapEnum as _0x170ff2,ShapeLineDashEnum as _0x27978b,ShapeLineJoinEnum as _0x437df0,ShapeLineTypeEnum as _0x4eb722}from'@univerjs-pro/engine-shape';function xn(_0x582e1a){const _0x4845df=_0x1378;let _0x45e5d1=_0x582e1a['get'](_0xa968de),_0x407b7a=_0x45e5d1['getFocusDrawings']();if(_0x407b7a['length']!==0x1)return null;let [_0x19bc20]=_0x407b7a;if(!_0x19bc20)return null;let _0x321b2a=_0x45e5d1['getDrawingData'](_0x19bc20[_0x4845df(0x206)],_0x19bc20[_0x4845df(0x1b3)])[_0x19bc20['drawingId']];return!_0x321b2a||_0x321b2a[_0x4845df(0x13c)]['type']!==_0x4fcec2[_0x4845df(0x2fa)]?null:{'unitId':_0x19bc20[_0x4845df(0x206)],'subUnitId':_0x19bc20[_0x4845df(0x1b3)],'drawingId':_0x19bc20[_0x4845df(0x1e8)]};}const R={'id':_0x193d94(0x2db),'type':_0x5e593e['OPERATION'],'handler'(){return!0x0;}},Sn={'id':_0x193d94(0x31c),'type':_0x5e593e[_0x193d94(0x16e)],'handler'(){return!0x0;}},Cn={'id':_0x193d94(0x13b),'type':_0x5e593e[_0x193d94(0x16e)],'handler'(){return!0x0;}},wn={'id':_0x193d94(0x215),'type':_0x5e593e[_0x193d94(0x16e)],'handler'(_0x446507){const _0x7297c=_0x193d94;let _0x2eb75a=xn(_0x446507);return _0x2eb75a?_0x446507[_0x7297c(0x299)](_0x17367f)[_0x7297c(0x1cf)](R['id'],_0x2eb75a):!0x1;}},Tn=_0x193d94(0x180),En='slide-chart.dialog.data-editor';let Dn=function(_0x44bb5b){const _0x393447=_0x193d94;return _0x44bb5b['SHARED']=_0x393447(0x1ce),_0x44bb5b[_0x393447(0x23f)]=_0x393447(0x241),_0x44bb5b;}({});function On(_0x2db7e2){const _0x3241e7=_0x193d94;let _0x4adc87=_0x3a6709(_0x462145),{values:_0x5960cb,onCancel:_0x291e80,onSubmit:_0x31f949}=_0x2db7e2,[_0x292dde,_0x33766e]=_0x5e0a7d(()=>_0x2c7a6d(_0x2db7e2[_0x3241e7(0x274)])?_0x3241e7(0x13d):_0x3241e7(0x250)),[_0x281f32,_0x592b24]=_0x5e0a7d(null),[_0x100d7d,_0x509d84]=_0x5e0a7d(()=>_0x5960cb[_0x3241e7(0x33f)](_0x6fac09=>[..._0x6fac09])),[_0x495557,_0x3e584a]=_0x5e0a7d(null),_0x473853=_0x21bb51=>{const _0x1e4881=_0x3241e7;let _0xf08fac=_0x2b4ada(_0x100d7d);if(_0xf08fac[_0x1e4881(0x16f)]===0x0){_0x3e584a(_0x4adc87['t'](_0x1e4881(0x2ca)));return;}_0x3e584a(null),_0x31f949(_0xf08fac,_0x21bb51);};return _0x486ad9(_0x3241e7(0x228),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','children':[_0xd07901(_0x4b141d,{'mode':_0x292dde,'initialSource':_0x2c7a6d(_0x2db7e2['dataSource'])?_0x2db7e2[_0x3241e7(0x274)][_0x3241e7(0x211)]:void 0x0,'inlineContent':_0xd07901(_0x1d6a3d,{'values':_0x100d7d,'parsePastedText':_0x25fe86,'onChange':_0x509d84}),'onModeChange':_0x235441=>{_0x33766e(_0x235441),_0x592b24(null);},'onPreviewChange':(_0x35b2eb,_0x4e9811)=>_0x592b24(_0x35b2eb&&_0x4e9811[_0x3241e7(0x1de)]===_0x8c17b6[_0x3241e7(0x1ab)]?{'source':_0x35b2eb}:null)}),_0x495557&&_0xd07901(_0x3241e7(0x228),{'className':_0x3241e7(0x1c8),'children':_0x495557}),_0x486ad9(_0x3241e7(0x228),{'className':_0x3241e7(0x304),'children':[_0x291e80&&_0xd07901(_0x58a0c,{'type':_0x3241e7(0x14d),'variant':_0x3241e7(0x255),'onClick':_0x291e80,'children':_0x4adc87['t']('slides-chart-ui.common.cancel')}),_0xd07901(_0x58a0c,{'type':_0x3241e7(0x14d),'variant':'primary','disabled':_0x292dde===_0x3241e7(0x13d)&&!_0x281f32,'onClick':()=>{const _0x34dd48=_0x3241e7;var _0x815d6;return _0x292dde===_0x34dd48(0x13d)&&_0x281f32?(_0x815d6=_0x2db7e2['onDataSourceSubmit'])==null?void 0x0:_0x815d6['call'](_0x2db7e2,_0x281f32):_0x473853(_0x34dd48(0x1ce));},'children':_0x4adc87['t'](_0x3241e7(0x1dc))})]})]});}function z(_0x1fb977){'@babel/helpers - typeof';const _0x3f98cf=_0x193d94;return z=typeof Symbol==_0x3f98cf(0x264)&&typeof Symbol[_0x3f98cf(0x170)]==_0x3f98cf(0x23d)?function(_0x216022){return typeof _0x216022;}:function(_0x2b0eb7){const _0x1bd118=_0x3f98cf;return _0x2b0eb7&&typeof Symbol==_0x1bd118(0x264)&&_0x2b0eb7[_0x1bd118(0x306)]===Symbol&&_0x2b0eb7!==Symbol[_0x1bd118(0x295)]?_0x1bd118(0x23d):typeof _0x2b0eb7;},z(_0x1fb977);}function kn(_0x26b855,_0x30c386){const _0x566f06=_0x193d94;if(z(_0x26b855)!='object'||!_0x26b855)return _0x26b855;var _0x457ae5=_0x26b855[Symbol[_0x566f06(0x2b9)]];if(_0x457ae5!==void 0x0){var _0x1811d1=_0x457ae5[_0x566f06(0x1d1)](_0x26b855,_0x30c386||_0x566f06(0x255));if(z(_0x1811d1)!=_0x566f06(0x303))return _0x1811d1;throw TypeError(_0x566f06(0x1b2));}return(_0x30c386==='string'?String:Number)(_0x26b855);}function An(_0x343a0a){const _0x2078d6=_0x193d94;var _0x1d6520=kn(_0x343a0a,_0x2078d6(0x37c));return z(_0x1d6520)==_0x2078d6(0x23d)?_0x1d6520:_0x1d6520+'';}function B(_0x2fa417,_0x891f5,_0x64a667){const _0x205d61=_0x193d94;return(_0x891f5=An(_0x891f5))in _0x2fa417?Object[_0x205d61(0x19f)](_0x2fa417,_0x891f5,{'value':_0x64a667,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2fa417[_0x891f5]=_0x64a667,_0x2fa417;}function V(_0x235b6d,_0x28b2dc){return function(_0x142cda,_0x2f2942){_0x28b2dc(_0x142cda,_0x2f2942,_0x235b6d);};}function H(_0xafce99,_0x1d2e67,_0x4877e0,_0x42fc19){const _0x2dc0cd=_0x193d94;var _0x46cb6c=arguments[_0x2dc0cd(0x16f)],_0x1fb61b=_0x46cb6c<0x3?_0x1d2e67:_0x42fc19===null?_0x42fc19=Object[_0x2dc0cd(0x338)](_0x1d2e67,_0x4877e0):_0x42fc19,_0x488644;if(typeof Reflect==_0x2dc0cd(0x303)&&typeof Reflect[_0x2dc0cd(0x286)]==_0x2dc0cd(0x264))_0x1fb61b=Reflect[_0x2dc0cd(0x286)](_0xafce99,_0x1d2e67,_0x4877e0,_0x42fc19);else{for(var _0xeb9ef4=_0xafce99['length']-0x1;_0xeb9ef4>=0x0;_0xeb9ef4--)(_0x488644=_0xafce99[_0xeb9ef4])&&(_0x1fb61b=(_0x46cb6c<0x3?_0x488644(_0x1fb61b):_0x46cb6c>0x3?_0x488644(_0x1d2e67,_0x4877e0,_0x1fb61b):_0x488644(_0x1d2e67,_0x4877e0))||_0x1fb61b);}return _0x46cb6c>0x3&&_0x1fb61b&&Object[_0x2dc0cd(0x19f)](_0x1d2e67,_0x4877e0,_0x1fb61b),_0x1fb61b;}const U=_0xde5bc5(_0x193d94(0x1a0));let jn=class extends _0x548664{constructor(_0x3ddc05,_0x531987,_0x191470,_0x59ee03,_0x3847a2){const _0x4a6760=_0x193d94;super(_0x3847a2),this[_0x4a6760(0x2fe)]=_0x3ddc05,this['_commandService']=_0x531987,this[_0x4a6760(0x327)]=_0x191470,this['_slideDrawingService']=_0x59ee03,B(this,_0x4a6760(0x24d),new _0x23aa3f(null)),B(this,_0x4a6760(0x191),new _0x23aa3f(null)),B(this,_0x4a6760(0x1a9),new _0x23aa3f(null)),B(this,'activeEditChart$',this[_0x4a6760(0x24d)][_0x4a6760(0x288)]()),B(this,_0x4a6760(0x251),this['_selectedElement$']['asObservable']()),B(this,'panelRoute$',this[_0x4a6760(0x1a9)][_0x4a6760(0x288)]());}get['activeRuntimeModel'](){const _0x3a1fc8=_0x193d94;return this[_0x3a1fc8(0x2fe)]['activeRuntimeModel'];}get['activeRuntimeModel$'](){const _0x1e958c=_0x193d94;return this[_0x1e958c(0x2fe)][_0x1e958c(0x1ff)];}get['activeEditChart'](){return this['_activeEditChart$']['getValue']();}[_0x193d94(0x32f)](_0x38bc31){const _0x373176=_0x193d94;this[_0x373176(0x24d)]['getValue']()!==_0x38bc31&&this[_0x373176(0x24d)][_0x373176(0x28c)](_0x38bc31);}[_0x193d94(0x1cb)](_0x16f21a){const _0x4fd351=_0x193d94;return this[_0x4fd351(0x24d)][_0x4fd351(0x249)]()===_0x16f21a;}[_0x193d94(0x371)](_0x205f71){const _0x1dac60=_0x193d94;this[_0x1dac60(0x191)][_0x1dac60(0x28c)](_0x205f71);}['setPanelRoute'](_0x301ae2,_0x3896eb){const _0xfc8ec6=_0x193d94;this['_panelRoute$'][_0xfc8ec6(0x28c)]({'chartId':_0x301ae2,'route':_0x3896eb});}[_0x193d94(0x34d)](){const _0x12146e=_0x193d94;this[_0x12146e(0x1a9)][_0x12146e(0x28c)](null);}[_0x193d94(0x2ae)](_0x3776d3){const _0x390b19=_0x193d94;let _0x2e8096=this[_0x390b19(0x2fe)][_0x390b19(0x351)],_0x46284e=_0x3776d3[_0x390b19(0x206)]??(_0x2e8096==null?void 0x0:_0x2e8096[_0x390b19(0x206)]),_0x6b4988=_0x3776d3[_0x390b19(0x2b3)]??(_0x2e8096==null?void 0x0:_0x2e8096[_0x390b19(0x2b3)]);!_0x46284e||!_0x6b4988||this[_0x390b19(0x171)]['executeCommand'](_0x2513f7['id'],{..._0x3776d3,'unitId':_0x46284e,'chartId':_0x6b4988});}[_0x193d94(0x301)](_0x1757c9,_0x5b0e6f,_0x398176){const _0x1d9200=_0x193d94;var _0x305621;let _0x2f44b8=this[_0x1d9200(0x365)]['getDrawingByParam']({'unitId':_0x1757c9,'subUnitId':_0x5b0e6f,'drawingId':_0x398176});if(!(!_0x2f44b8||_0x2f44b8[_0x1d9200(0x13c)][_0x1d9200(0x2d1)]!==_0x4fcec2['Chart']))return((_0x305621=_0x2f44b8['element'][_0x1d9200(0x29f)])==null?void 0x0:_0x305621[_0x1d9200(0x308)])??_0x1d9e41[_0x1d9200(0x308)];}[_0x193d94(0x1d8)](_0x41cb31,_0x210cae,_0x5d8f8e,_0x52b243){const _0x23303f=_0x193d94;let _0x2713ce=this[_0x23303f(0x365)]['getDrawingByParam']({'unitId':_0x41cb31,'subUnitId':_0x210cae,'drawingId':_0x5d8f8e});if(!_0x2713ce||_0x2713ce[_0x23303f(0x13c)][_0x23303f(0x2d1)]!==_0x4fcec2[_0x23303f(0x2fa)])return!0x1;let _0x467451={..._0x1d9e41,..._0x2713ce[_0x23303f(0x13c)][_0x23303f(0x29f)]??{},'color':_0x52b243};return this[_0x23303f(0x171)][_0x23303f(0x1cf)](_0xd87f21['id'],{'patches':[{'unitId':_0x41cb31,'subUnitId':_0x210cae,'drawingId':_0x5d8f8e,'element':{..._0x2713ce['element'],'stroke':_0x467451}}]}),!0x0;}[_0x193d94(0x207)](){const _0x20d1bb=_0x193d94;this[_0x20d1bb(0x24d)]['complete'](),this[_0x20d1bb(0x191)][_0x20d1bb(0x208)](),this['_panelRoute$'][_0x20d1bb(0x208)](),super['dispose']();}};jn=H([V(0x0,_0x21dd2a(_0x346b93)),V(0x1,_0x17367f),V(0x2,_0x21dd2a(_0x4a2995)),V(0x3,_0x21dd2a(_0xa968de)),V(0x4,_0x21dd2a(_0x423c44))],jn);const W='slide-chart.edit-panel',G={'axis':{..._0xf2b5e3,'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'indicatorLine':_0x2c70b6,'legend':_0x5a477a,'pareto':_0xe00903,'pie':{..._0x31417e,'doughnutHole':0.5,'pieHole':0x0},'style':_0x31e811,'titles':_0x25d312,'waterfall':{..._0x1eb114,'useSubtotal':!0x0},'waterfallStyle':_0x2d0629,'wordCloud':_0x15ab90},Mn=[_0x2fcd51['Line'],_0x2fcd51['Radar'],_0x2fcd51[_0x193d94(0x37b)],_0x2fcd51[_0x193d94(0x25f)],_0x2fcd51[_0x193d94(0x310)],_0x2fcd51[_0x193d94(0x1ef)],_0x2fcd51[_0x193d94(0x159)],_0x2fcd51['Boxplot'],_0x2fcd51['Candlestick'],_0x2fcd51[_0x193d94(0x156)],_0x2fcd51[_0x193d94(0x368)],_0x2fcd51[_0x193d94(0x2ea)],_0x2fcd51[_0x193d94(0x296)],_0x2fcd51[_0x193d94(0x1f0)]];function Nn(_0x26b84d){const _0x938869=_0x193d94;let _0x3959a6=_0x3a6709(_0x462145);return _0x486ad9(_0x938869(0x228),{'children':[_0xd07901(_0x3b34e2,{'title':_0x3959a6['t'](_0x938869(0x154))}),_0xd07901(_0x58a0c,{'type':_0x938869(0x14d),'variant':_0x938869(0x255),'className':_0x938869(0x265),'onClick':_0x26b84d[_0x938869(0x2d9)],'children':_0x3959a6['t'](_0x938869(0x153))})]});}function Pn(){const _0x3b1f99=_0x193d94;let _0x8b1bb=_0x3d9526();return _0xd07901(_0x1c5142,{'visible':Mn[_0x3b1f99(0x236)](_0x24df0c=>!_0x1392e8[_0x3b1f99(0x167)](_0x8b1bb,_0x24df0c))});}function Fn(_0x21aea2){const _0x5281c3=_0x193d94;return _0x486ad9(_0x1e20d8,{'id':_0x21aea2['id'],'children':[_0xd07901(_0xa77a82,{'children':_0x21aea2['label']}),_0xd07901(_0x40d3b7,{'children':_0x21aea2[_0x5281c3(0x2f7)]})]});}function In(_0x355521,_0x4dc5c2=!0x1){const _0x230026=_0x193d94;let _0x2f443d=_0x355521===_0x2fcd51['WordCloud'],_0x2aa5ea=_0x1392e8[_0x230026(0x167)](_0x355521,_0x2fcd51[_0x230026(0x2f5)]),_0x495d5a=_0x1392e8['baseOn'](_0x355521,_0x2fcd51[_0x230026(0x24c)]),_0x2c354d=_0x355521===_0x2fcd51['Waterfall'],_0x22a405=_0x355521===_0x2fcd51[_0x230026(0x253)],_0x32ed75=_0x355521===_0x2fcd51['Candlestick'],_0x4caa4d=_0x355521===_0x2fcd51[_0x230026(0x156)],_0x286ce9=_0x355521===_0x2fcd51[_0x230026(0x368)],_0x387e78=_0x355521===_0x2fcd51[_0x230026(0x2ea)],_0x54974c=_0x355521===_0x2fcd51[_0x230026(0x296)],_0x1a1fc7=_0x355521===_0x2fcd51[_0x230026(0x1f0)],_0x3c9044=[_0x1d7cce['ChartStyle'],_0x1d7cce[_0x230026(0x18d)]];return _0x2f443d&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x37b)]),_0x53957b(_0x355521,_0x5640be[_0x230026(0x188)])&&!_0x2aa5ea&&!_0x22a405&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x18e)]),_0x2c354d&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x1ba)]),_0x22a405&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x227)],_0x1d7cce[_0x230026(0x1e0)]),_0x495d5a&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x1fc)]),_0x32ed75&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x292)]),_0x4caa4d&&_0x3c9044['push'](_0x1d7cce[_0x230026(0x156)]),_0x286ce9&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x368)]),_0x387e78&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x2ea)]),_0x54974c&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x296)]),_0x1a1fc7&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x1f0)]),_0x53957b(_0x355521,_0x5640be['Legend'])&&_0x3c9044['push'](_0x1d7cce[_0x230026(0x1b6)]),_0x53957b(_0x355521,_0x5640be['Axes'])&&(_0x3c9044[_0x230026(0x36c)](_0x1d7cce['HorizontalAxis'],_0x1d7cce[_0x230026(0x30c)]),_0x4dc5c2&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x189)]),_0x3c9044['push'](_0x1d7cce[_0x230026(0x257)])),_0x53957b(_0x355521,_0x5640be[_0x230026(0x347)])&&_0x3c9044[_0x230026(0x36c)](_0x1d7cce[_0x230026(0x347)]),_0x3c9044;}function Ln(_0x2b8547){const _0x21064f=_0x193d94;var _0x1b3950,_0x377411;let _0x527530=_0x3a6709(U),_0x3eb92f=_0x3a6709(_0x462145),_0x5b8e21=_0x3d9526(),_0x2a8a34=_0x31c243(),[_0x3abdf2,_0x4c43bb]=_0x5e0a7d(_0x1d9e41[_0x21064f(0x308)]),[_0x1b6d80,_0x104f71]=_0x5e0a7d(((_0x1b3950=_0x2b8547[_0x21064f(0x2e3)])==null?void 0x0:_0x1b3950['section'])??_0x1d7cce['ChartStyle']);_0x8b3e52(()=>{const _0x4d954a=_0x21064f;!_0x2b8547[_0x4d954a(0x1b3)]||!_0x2b8547[_0x4d954a(0x1e8)]||_0x4c43bb(_0x527530[_0x4d954a(0x301)](_0x2b8547[_0x4d954a(0x206)],_0x2b8547[_0x4d954a(0x1b3)],_0x2b8547['drawingId'])??_0x1d9e41[_0x4d954a(0x308)]);},[_0x527530,_0x2b8547[_0x21064f(0x1e8)],_0x2b8547[_0x21064f(0x1b3)],_0x2b8547[_0x21064f(0x206)]]),_0x8b3e52(()=>{const _0x25d77e=_0x21064f;var _0x49f998;(_0x49f998=_0x2b8547[_0x25d77e(0x2e3)])!=null&&_0x49f998['section']&&_0x104f71(_0x2b8547[_0x25d77e(0x2e3)][_0x25d77e(0x313)]);},[_0x2b8547[_0x21064f(0x2e3)]]);let _0x19794d=_0x3eb92f['t'](_0x21064f(0x232)),_0x379eb6=_0x3eb92f['t']('slides-chart-ui.editor.defaultColor'),_0x25d521=_0xd07901(_0x20a502,{'emptyLabel':_0x379eb6,'label':_0x19794d,'pickerFallbackValue':_0x1d9e41['color'],'resetLabel':_0x379eb6,'value':_0x3abdf2,'onChange':_0x2908e3=>{const _0x3f380d=_0x21064f;let _0x4082c2=_0x2908e3??_0x1d9e41[_0x3f380d(0x308)];_0x4c43bb(_0x4082c2),_0x2b8547[_0x3f380d(0x1b3)]&&_0x2b8547[_0x3f380d(0x1e8)]&&_0x527530[_0x3f380d(0x1d8)](_0x2b8547[_0x3f380d(0x206)],_0x2b8547[_0x3f380d(0x1b3)],_0x2b8547['drawingId'],_0x4082c2);}}),_0x94c026=_0xd07901(_0x385c78,{}),_0x510279={[_0x1d7cce['Candlestick']]:_0x3eb92f['t'](_0x21064f(0x1af)),[_0x1d7cce[_0x21064f(0x18d)]]:_0x3eb92f['t']('slides-chart-ui.common.chartAndAxisTitles'),[_0x1d7cce[_0x21064f(0x35a)]]:_0x3eb92f['t'](_0x21064f(0x2dd)),[_0x1d7cce['Chord']]:_0x3eb92f['t'](_0x21064f(0x1c1)),[_0x1d7cce[_0x21064f(0x24a)]]:_0x3eb92f['t'](_0x21064f(0x169)),[_0x1d7cce[_0x21064f(0x296)]]:_0x3eb92f['t'](_0x21064f(0x14b)),[_0x1d7cce[_0x21064f(0x257)]]:_0x3eb92f['t'](_0x21064f(0x13a)),[_0x1d7cce[_0x21064f(0x159)]]:_0x3eb92f['t']('slides-chart-ui.common.heatmap'),[_0x1d7cce['Histogram']]:_0x3eb92f['t'](_0x21064f(0x18c)),[_0x1d7cce['HorizontalAxis']]:_0x3eb92f['t'](_0x21064f(0x1ec)),[_0x1d7cce[_0x21064f(0x347)]]:_0x3eb92f['t'](_0x21064f(0x1b9)),[_0x1d7cce[_0x21064f(0x1b6)]]:_0x3eb92f['t'](_0x21064f(0x321)),[_0x1d7cce['LineAndArea']]:_0x3eb92f['t'](_0x21064f(0x1fb)),[_0x1d7cce[_0x21064f(0x227)]]:_0x3eb92f['t']('slides-chart-ui.section.paretoBar'),[_0x1d7cce[_0x21064f(0x1e0)]]:_0x3eb92f['t'](_0x21064f(0x144)),[_0x1d7cce[_0x21064f(0x1fc)]]:_0x3eb92f['t'](_0x21064f(0x1a4)),[_0x1d7cce[_0x21064f(0x30b)]]:_0x3eb92f['t'](_0x21064f(0x2ee)),[_0x1d7cce['Relation']]:_0x3eb92f['t']('slides-chart-ui.section.relation'),[_0x1d7cce['RightVerticalAxis']]:_0x3eb92f['t'](_0x21064f(0x269)),[_0x1d7cce[_0x21064f(0x18e)]]:_0x3eb92f['t'](_0x21064f(0x1c4)),[_0x1d7cce[_0x21064f(0x2ea)]]:_0x3eb92f['t']('slides-chart-ui.section.sunburst'),[_0x1d7cce[_0x21064f(0x368)]]:_0x3eb92f['t'](_0x21064f(0x244)),[_0x1d7cce[_0x21064f(0x2b5)]]:_0x3eb92f['t']('slides-chart-ui.common.trendline'),[_0x1d7cce[_0x21064f(0x30c)]]:_0x3eb92f['t'](_0x21064f(0x201)),[_0x1d7cce[_0x21064f(0x1ba)]]:_0x3eb92f['t'](_0x21064f(0x263)),[_0x1d7cce[_0x21064f(0x37b)]]:_0x3eb92f['t'](_0x21064f(0x26a))},_0x17bf6a={[_0x1d7cce[_0x21064f(0x35a)]]:_0xd07901(_0x137a9f,{'defaultValues':G[_0x21064f(0x1db)],'hostBorder':_0x25d521,'showBodyFont':!0x1}),[_0x1d7cce[_0x21064f(0x18d)]]:_0xd07901(_0x5a0476,{'commitMode':_0x21064f(0x19b),'defaultValues':G[_0x21064f(0x137)],'showFont':!0x1}),[_0x1d7cce[_0x21064f(0x18e)]]:_0xd07901(_0x21064f(0x228),{'className':'univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':_0x3eb92f['t'](_0x21064f(0x1c4))}),[_0x1d7cce[_0x21064f(0x1ba)]]:_0xd07901(_0x3fe888,{'defaultValues':G['waterfallStyle'],'NumberFormatField':_0x2627a1,'selectedSeriesId':(_0x377411=_0x2b8547[_0x21064f(0x2e3)])==null?void 0x0:_0x377411['seriesId']}),[_0x1d7cce[_0x21064f(0x227)]]:_0xd07901(_0x2c2e8c,{'defaultValues':G[_0x21064f(0x218)],'NumberFormatField':_0x2627a1,'showDataPointEditor':!0x0,'target':_0x21064f(0x1b4)}),[_0x1d7cce[_0x21064f(0x1e0)]]:_0xd07901(_0x2c2e8c,{'defaultValues':G['pareto'],'NumberFormatField':_0x2627a1,'showDataPointEditor':!0x0,'target':_0x21064f(0x2e5)}),[_0x1d7cce[_0x21064f(0x1fc)]]:_0xd07901(_0x4d70cd,{'defaultValues':G[_0x21064f(0x240)],'NumberFormatField':_0x2627a1}),[_0x1d7cce['WordCloud']]:_0xd07901(_0x45cd98,{'defaultValues':G[_0x21064f(0x2b6)]}),[_0x1d7cce[_0x21064f(0x1b6)]]:_0xd07901(_0x593dd6,{'defaultValues':G[_0x21064f(0x2e9)],'children':_0x486ad9(_0x21064f(0x228),{'className':_0x21064f(0x2dc),'children':[_0xd07901(_0x393871,{}),_0xd07901(_0x4369d1,{})]})}),[_0x1d7cce[_0x21064f(0x1f9)]]:_0xd07901(_0x30b3b0,{'axis':'x','defaultValues':G['axis']}),[_0x1d7cce[_0x21064f(0x30c)]]:_0xd07901(_0x30b3b0,{'axis':'y','defaultValues':G[_0x21064f(0x217)]}),[_0x1d7cce[_0x21064f(0x189)]]:_0xd07901(_0x30b3b0,{'axis':_0x21064f(0x1bf),'defaultValues':G[_0x21064f(0x217)]}),[_0x1d7cce[_0x21064f(0x257)]]:_0x486ad9(_0x21064f(0x228),{'className':_0x21064f(0x2dc),'children':[_0xd07901(_0x4d49e9,{'axis':'x','defaultValues':G[_0x21064f(0x217)],'label':_0x3eb92f['t'](_0x21064f(0x1ec))}),_0xd07901(_0x4d49e9,{'axis':'y','defaultValues':G[_0x21064f(0x217)],'label':_0x3eb92f['t'](_0x21064f(0x201))})]}),[_0x1d7cce[_0x21064f(0x347)]]:_0xd07901(_0x2e9b5f,{'defaultValues':G[_0x21064f(0x28e)]}),[_0x1d7cce[_0x21064f(0x292)]]:_0x94c026,[_0x1d7cce[_0x21064f(0x156)]]:_0x94c026,[_0x1d7cce[_0x21064f(0x368)]]:_0x94c026,[_0x1d7cce[_0x21064f(0x2ea)]]:_0x94c026,[_0x1d7cce[_0x21064f(0x296)]]:_0x94c026,[_0x1d7cce[_0x21064f(0x1f0)]]:_0x94c026};return _0xd07901(_0xccc88c,{'value':_0x1b6d80,'onChange':_0x104f71,'children':In(_0x5b8e21,_0x2a8a34)['map'](_0x323e5b=>_0xd07901(Fn,{'id':_0x323e5b,'label':_0x510279[_0x323e5b],'children':_0x17bf6a[_0x323e5b]},_0x323e5b))});}function Rn(_0x1b140e){const _0x34f51b=_0x193d94;let {unitId:_0x1a7653,subUnitId:_0x5db25a,drawingId:_0xf88917,chartId:_0x57721b}=_0x1b140e,_0x5d2386=_0x3a6709(_0x346b93),_0x6806b0=_0x3a6709(U),_0x1f6e45=_0x3a6709(_0x462145),_0x115458=_0x3a6709(_0x17367f),_0x2440c8=_0x3a6709(_0x3b1975),_0x3fe3c8=_0x3a6709(_0xec2b0e),[_0x343c26,_0x165eb1]=_0x5e0a7d(_0x4fb0ce[_0x34f51b(0x2e0)]),_0x1dd2f2=_0x440f79(_0x6806b0['panelRoute$'],null),_0x42c0d8=(_0x1dd2f2==null?void 0x0:_0x1dd2f2[_0x34f51b(0x2b3)])===_0x57721b?_0x1dd2f2[_0x34f51b(0x2e3)]:null;_0x8b3e52(()=>{const _0x5b90af=_0x34f51b;_0x5d2386[_0x5b90af(0x1d0)](_0x1a7653,_0x57721b);},[_0x57721b,_0x5d2386,_0x1a7653]),_0x8b3e52(()=>{const _0x4be6b3=_0x34f51b;(_0x42c0d8==null?void 0x0:_0x42c0d8[_0x4be6b3(0x2fc)])===_0x4fb0ce[_0x4be6b3(0x1cd)]&&_0x165eb1(_0x4fb0ce[_0x4be6b3(0x1cd)]),(_0x42c0d8==null?void 0x0:_0x42c0d8['tab'])===_0x4fb0ce[_0x4be6b3(0x2e0)]&&_0x165eb1(_0x4fb0ce['Data']);},[_0x42c0d8]);let _0x33f380=_0x440f79(_0x5d2386[_0x34f51b(0x1ff)],_0x5d2386['activeRuntimeModel']),_0x403855=(_0x33f380==null?void 0x0:_0x33f380['unitId'])===_0x1a7653&&_0x33f380[_0x34f51b(0x2b3)]===_0x57721b,_0x602ea4=_0xe91bd6(()=>{const _0x360ab2=_0x34f51b;if(!_0x403855||!_0x5db25a||!_0xf88917)return null;let _0x73b8d6=_0x3fe3c8['getUnit'](_0x1a7653,_0x42c74e['UNIVER_SLIDE']);return _0x73b8d6?new _0x4f562a(_0x33f380[_0x360ab2(0x323)],new _0x445223({'unitId':_0x1a7653,'subUnitId':_0x5db25a,'chartId':_0x57721b,'elementId':_0xf88917,'slideModel':_0x73b8d6,'injector':_0x2440c8})):null;},[_0x33f380,_0x57721b,_0xf88917,_0x2440c8,_0x403855,_0x5db25a,_0x1a7653,_0x3fe3c8]),_0x5a0ec4=_0xe91bd6(()=>_0x2a02e1(_0x4a49b4[_0x34f51b(0x33f)](_0x4afb5b=>({..._0x4afb5b,'label':_0x1f6e45['t'](_0x34f51b(0x183)+_0x4afb5b[_0x34f51b(0x2fb)])}))),[_0x1f6e45]);return!_0x403855||!_0x602ea4?null:_0xd07901(_0xe5277b,{'chartUIService':_0x6806b0,'hostAdapter':_0x602ea4,'children':_0x486ad9(_0x34f51b(0x228),{'className':'univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':[_0xd07901(_0x5154a9,{'ariaLabel':_0x1f6e45['t'](_0x34f51b(0x16c)),'className':_0x34f51b(0x2c9),'items':[{'label':_0x1f6e45['t']('slides-chart-ui.common.setup'),'panelId':zn,'value':_0x4fb0ce['Data']},{'label':_0x1f6e45['t']('slides-chart-ui.common.customize'),'panelId':Bn,'value':_0x4fb0ce[_0x34f51b(0x1cd)]}],'value':_0x343c26,'onChange':_0x165eb1}),_0x343c26===_0x4fb0ce[_0x34f51b(0x2e0)]?_0xd07901(_0x261b41,{'id':zn,'label':_0x1f6e45['t'](_0x34f51b(0x18a)),'children':_0x486ad9(_0x34f51b(0x228),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','children':[_0xd07901(_0x1dba77,{'options':_0x5a0ec4}),_0xd07901(_0x538b7a,{}),_0xd07901(_0x116f78,{}),_0xd07901(Pn,{}),_0xd07901(_0x298a86,{}),_0xd07901(Nn,{'onEditData':()=>{_0x115458['executeCommand'](Cn['id'],{'unitId':_0x1a7653,'chartId':_0x57721b});}}),_0xd07901(_0x3ec86b,{'orientationControl':_0xd07901(_0x58a0c,{'size':_0x34f51b(0x37d),'onClick':()=>_0x6806b0[_0x34f51b(0x2ae)]({'patch':{'context':{'orient':_0x33f380[_0x34f51b(0x211)][_0x34f51b(0x372)]?'column':'row'}}}),'children':_0x1f6e45['t'](_0x34f51b(0x2f3))})}),_0xd07901(_0x4c1d72,{}),_0xd07901(_0x48c414,{'defaultValues':G[_0x34f51b(0x177)]})]})}):_0xd07901(_0x261b41,{'id':Bn,'className':_0x34f51b(0x307),'label':_0x1f6e45['t'](_0x34f51b(0x1b7)),'children':_0xd07901(Ln,{'unitId':_0x1a7653,'subUnitId':_0x5db25a,'drawingId':_0xf88917,'route':_0x42c0d8})})]})});}const zn='slide-chart-setup-panel',Bn=_0x193d94(0x252);let K=class{constructor(_0x56f819,_0x172b56,_0x2134af){const _0x120fef=_0x193d94;this[_0x120fef(0x176)]=_0x56f819,this[_0x120fef(0x171)]=_0x172b56,this['_drawingStateService']=_0x2134af;}[_0x193d94(0x32e)](_0x341c8f,_0x5b21fb,_0x14b6a0){const _0x917498=_0x193d94;let _0x3a5b74=_0x25fe86(_0x341c8f);return _0x3a5b74[_0x917498(0x16f)]!==0x0&&this[_0x917498(0x2a9)](_0x3a5b74,_0x5b21fb,_0x14b6a0);}['insertChart'](_0x1086f7,_0x35db9e,_0x462be5={}){const _0x511837=_0x193d94;if(_0x1086f7[_0x511837(0x16f)]===0x0)return!0x1;let _0x4a2486=_0x1a0c15(_0x35db9e,_0x1086f7);if(!_0x4a2486['ok'])return!0x1;if(_0x462be5[_0x511837(0x318)])return this[_0x511837(0x162)](_0x4a2486['values'],_0x35db9e,_0x462be5[_0x511837(0x318)],_0x462be5['style'],_0x462be5[_0x511837(0x274)]);let _0x17b5b0=_0x564d73(this[_0x511837(0x176)]);if(!_0x17b5b0)return!0x1;let {presentation:_0x9470db,unitId:_0x189247,subUnitId:_0x380811}=_0x17b5b0,_0x280c2d=_0x9470db[_0x511837(0x339)]()['defaultPageSize'],_0x4006a0=Math[_0x511837(0x1fd)](0x208,Math['max'](0x140,Math[_0x511837(0x184)](_0x280c2d['width']*0.56))),_0x44ec6c=Math[_0x511837(0x1fd)](0x168,Math[_0x511837(0x300)](0xdc,Math[_0x511837(0x184)](_0x280c2d['height']*0.56))),_0x31697d=Math[_0x511837(0x300)](0x18,Math[_0x511837(0x184)]((_0x280c2d[_0x511837(0x27e)]-_0x4006a0)/0x2)),_0x57c740=Math['max'](0x18,Math[_0x511837(0x184)]((_0x280c2d[_0x511837(0x231)]-_0x44ec6c)/0x2)),_0x2843f7=_0x4a69c4(0x6),_0x2cdace=_0x4a69c4(0x6);return this[_0x511837(0x171)][_0x511837(0x19c)](_0x1dd5ab['id'],{'unitId':_0x189247,'subUnitId':_0x380811,'chart':{'chartType':_0x35db9e,..._0x462be5[_0x511837(0x1db)]?{'style':_0x462be5[_0x511837(0x1db)]}:{}},'dataSource':_0x462be5[_0x511837(0x274)]??{'values':_0x4a2486[_0x511837(0x276)]},'element':{'id':_0x2cdace,'chartId':_0x2843f7,'transform':{'left':_0x31697d,'top':_0x57c740,'width':_0x4006a0,'height':_0x44ec6c}}})?(this[_0x511837(0x14c)]['selectDrawings']({'unitId':_0x189247,'subUnitId':_0x380811},[_0x2cdace],_0x2cdace),this[_0x511837(0x171)][_0x511837(0x19c)](R['id'],{'unitId':_0x189247,'subUnitId':_0x380811,'drawingId':_0x2cdace}),!0x0):!0x1;}[_0x193d94(0x162)](_0x1012bc,_0x17d0c6,_0x48ab6d,_0x23f904,_0x1d412c){const _0xd71142=_0x193d94;if(_0x48ab6d['element'][_0xd71142(0x2d1)]!==_0x4fcec2[_0xd71142(0x31b)])return!0x1;let _0x4f07b6={'chartType':_0x17d0c6,..._0x23f904?{'style':_0x23f904}:{}},_0x5a12a6=_0x1d412c??{'values':_0x1012bc},{unitId:_0x5d993f,subUnitId:_0xefeb1b,drawingId:_0x26f5a0,element:_0x4ed238,sourcePageType:_0x109d63}=_0x48ab6d,{transform:_0x15e244,placeholder:_0x3e7327}=_0x4ed238,_0xf8d26d={'id':_0x109d63===_0x467a36['Slide']?_0x26f5a0:_0x4a69c4(0x6),'transform':_0x15e244,'placeholder':_0x3e7327},_0x5e1e83=_0x48ab6d[_0xd71142(0x348)]===_0x467a36[_0xd71142(0x1ea)]?_0x26f5a0:void 0x0;if(!this['_commandService'][_0xd71142(0x19c)](_0x1dd5ab['id'],{'unitId':_0x5d993f,'subUnitId':_0xefeb1b,'chart':_0x4f07b6,'dataSource':_0x5a12a6,'element':_0xf8d26d,'replaceElementId':_0x5e1e83}))return!0x1;let _0x24af78=_0x5e1e83??_0xf8d26d['id'];return this[_0xd71142(0x14c)][_0xd71142(0x197)]({'unitId':_0x5d993f,'subUnitId':_0xefeb1b},[_0x24af78],_0x24af78),this[_0xd71142(0x171)][_0xd71142(0x19c)](R['id'],{'unitId':_0x48ab6d[_0xd71142(0x206)],'subUnitId':_0x48ab6d[_0xd71142(0x1b3)],'drawingId':_0x24af78}),!0x0;}};function _0x5002(){const _0x505f93=['[data-slide-dom-world-layer-unit-id]','_chartModelService','stylizeSpec','max','getDrawingBorderColor','checkMounted','object','univer-flex\x20univer-justify-end\x20univer-gap-2','set','constructor','univer-min-w-0\x20univer-overflow-x-hidden','color','has','lineCap','Radar','VerticalAxis','getCurrentRenderModel','Dom','zIndex','Relation','size','_initCommands','section','_createChartRenderInstanceContext','12271JQzcUC','top','Column','placeholderDrawing','rotation','_mountNode','Placeholder','slide.operation.close-slide-chart-panel','pageManager','flipY','slides-chart-ui.config','registerHostContext','slides-chart-ui.common.legend','subscribe','model','capType','LongDashDot','_activeSession','resourceService','_chartUIService','markReady','getEngine','elements','exportImg','scale(','insertChartFromText','setActiveEditChart','getDataSource','plan','onerror','border-box','bounds','dataset','THUMBNAIL','clear','getOwnPropertyDescriptor','getSnapshot','BUTTON','setActiveDomChart','chartType','restore','_hostContextMap','map','hidden','_ready','_lastImageDataUrlMap','Round','key','updateData','getChartModel','IndicatorLine','sourcePageType','transform','requestRender','_renderImageChart','dashType','clearPanelRoute','_dialogService','_requestChartCanvasRender','createChartInstance','activeRuntimeModel','getEditorState','setImageHidden','_configService','getChartIdsByDataSource','code','_hideImage','params','slides-chart-ui.candlestick.columnsError','ChartStyle','_runtimeRenderSubscriptions','right','syncHostLayout','dataSourceId','issue','slide-chart.dialog.insert-placeholder','getImageDataUrl','ensureHost','slides-chart-ui.candlestick.open','renderChart','_slideDrawingService','_getOrCreateDomChartHost','slide-chart.insert-panel','Treemap','attachPopupToClientRect','exportImage','_domHostMap','push','_releaseDetachedThumbnailContexts','_domReadyChartIds','_drainRenderQueue','getAncestorScale','setSelectedElement','isRowDirection','showFloatMenu','getBoundingClientRect','_closePopup','toSpec','_bindRuntimeRenderListener','_commitImageDataUrl','dispose$','706385hIcHLR','WordCloud','string','small','domReadyChanged$','1213634WzBoDX','modeChanged$','left','configReadyRevision$','setActiveChartRuntime','_markNotReady','titles','subscribeEvent','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','slides-chart-ui.section.gridlinesAndTicks','slide.operation.open-slide-chart-data-editor','element','referenced','_chartStroke','isActive','border','auto','markHostReady','payload','slides-chart-ui.section.paretoLine','disposeWithMe','_sidebarDisposable',')\x20rotate(','_selectHostContext','rotate(','_openFloatMenu','slides-chart-ui.section.gauge','_drawingStateService','button','absolute','overflow','EDIT','slideDomWorldLayerUnitId','_chartEventSubscriptions','slides-chart-ui.common.editData','slides-chart-ui.common.data','openDataEditorDialog','Histogram','onDispose','_disposeHostLayoutListeners','Heatmap','_subscribeChartEvents','butt','_bindActiveSlideListener','getChart','boxSizing','slides-chart-ui.common.insertChartFailed','_activeSlideSubscription','getTransformer','_insertChartIntoPlaceholder','slides-chart-ui.candlestick.close','_getSlideDomWorldLayer','_host','lineJoinType','baseOn','changeDataSource','slides-chart-ui.section.funnel','targetUnitId','flipX','slides-chart-ui.common.editChart','DashDot','OPERATION','length','iterator','_commandService','_setActiveChart','opacity','_sidebarService','src','_instanceService','waterfall','11VMXsDP','onTransformChange$','_listenChartResourceMutations','_bindChartEventHandlers','scaleY','15322060fiBxzF','20wWtqTf','_domReadyChanged$','slide-chart.data-editor','packageName','imageObject','slides-chart-ui.chartTypes.','round','viewportScrollY','_forEachHostContext','applyHostStyle','GeneralSeries','RightVerticalAxis','slides-chart-ui.common.setup','_attachNativeLoadHandlers','slides-chart-ui.section.histogram','ChartAndAxisTitles','Series','miter','chart','_selectedElement$','markNotReady','join','append','registerRenderModule','register','selectDrawings','_modeChanged$','_hostContextRegistrationMap','_activeSession$','change','syncExecuteCommand','delete','top-center','defineProperty','slide-chart.ui.service','removeHost','_init','setChartStroke','slides-chart-ui.section.pie','mode','crossOrigin','iconKey','ensureChartModel','_panelRoute$','syncLayout','READY','getRuntimeContext','1.0.0-beta.1','getDrawingByParam','slides-chart-ui.section.candlestick','fixed','sharingCount','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','subUnitId','barStyle','remove$','Legend','slides-chart-ui.common.customize','click','slides-chart-ui.section.indicatorLine','WaterfallSeries','_getHostRegistrationKey','_menuManagerService','getObjectIncludeInGroup','PRESENTATION','rightY','_renderService','slides-chart-ui.section.chord','skewY','_dataEditService','slides-chart-ui.common.series','keys','getUnit','createElement','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','_listenFocusChanges','some','isElementEditModeActive','onCommandExecuted','Style','shared','executeCommand','setActiveChartById','call','_drawChartStroke','number','getCanvasElement','_renderManagerService','sceneType','_disposeChartEventSubscription','updateDrawingBorderColor','borderColor','_notifyScene','style','slides-chart-ui.common.apply','context','status','_resourceService','ParetoLineSeries','orderIndex','getActiveSession','443403qqASrm','target','slides-chart-ui.common.insert','config','_getCanvasClientScale','drawingId','slides-chart-ui.candlestick.high','Slide','checkHost','slides-chart-ui.common.horizontalAxis','transformOrigin','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','Sankey','Chord','chartModelRemoved$','NoLine','radius','drawing','engine','isDomReady','pluginName','querySelectorAll','HorizontalAxis','_univerInstanceService','slides-chart-ui.section.lineAndArea','PieStyle','min','_chartThemeService','activeRuntimeModel$','lineStrokeType','slides-chart-ui.common.verticalAxis','getObject','_popupChartId','getHostContext','charts','unitId','dispose','complete','_waitForCurrentChartConfig','\x0a\x20\x20!univer-w-[calc(100vw-32px)]\x20!univer-max-w-[680px]\x0a\x20\x20md:!univer-max-w-[960px]\x0a\x20\x20xl:!univer-max-w-[1200px]\x0a','getDataUrl','borderWidth','slides-chart-ui.common.cancel','_renderChartOnce','_removeDomHost','_registerAdapter','source','_getChartRenderObject','pointerEvents','createRenderSpec','slide.operation.contextmenu.open-chart-panel','getDataSourceSharingCount','axis','pareto','add','direction$','remove','_applyDomHostLayout','_bindHostLayoutListeners','_slideCanvasPopManagerService','_componentManager','supports','detached','Chart\x20','_openPanel','_subscriptions','_popupDisposable','_getOrCreateChartRenderInstance','ParetoBarSeries','div','slides-chart-ui.common.value','commitImageHost','RoundDot','layoutChanged$','getHostElement','_renderRequestTokenMap','hit','_renderContext','height','slides-chart-ui.border','getRect','slides-chart-ui.common.category','chartModelAdded$','every','contains','_native','config$','slides-chart-ui.candlestick.low','focus$','img','symbol','activeSlideId$','DUPLICATE','pie','duplicate','strokeStyle','value','slides-chart-ui.section.treemap','changeChartSource','setPanelRoute','parentElement','slide-chart','getValue','Funnel','pageOffsetLeft','Pie','_activeEditChart$','_imageUpdated$','_transformStartSubscription','inline','selectedElement$','slide-chart-style-panel','Pareto','_markReady','default','_chartElementEditMode','GridlinesAndTicks','_injector','token','overlay','UniverSlideChartUIPlugin','onFileLoaded$','\x20has\x20no\x20render\x20config.','scaleX','Scatter','getPlaceholder','activeScene','LongDash','slides-chart-ui.section.waterfall','function','univer-w-full\x20univer-justify-start','rect','_adapterRegistry','square','slides-chart-ui.common.rightVerticalAxis','slides-chart-ui.section.wordCloud','349856arpEHD','resolve','_renderQueueMap','getRenderMode','_applyHostStyle','check','deepClone','_hostLayoutSubscriptions','from','dataSource','_renderModeService','values','registerCommand','_renderChart','_chartHostProvider','uComp','_removeHost$','_disposeRuntimeRenderListener','8qCmaoa','width','_activeChartId','slides-chart-ui.chord.target','getDirection','_renderModelManager','preparePaste','_localeService','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','decorate','@univerjs-pro/slides-chart-ui','asObservable','center\x20center','closeChartPanel','_disposeChartEventSubscriptions','next','_layoutChanged$','indicatorLine','_hitTestService','defaultTableText','_bindTransformStartListener','Candlestick','dataSources','markHostNotReady','prototype','Gauge','pageOffsetTop','find','get','SquareDot','onload','setLineDash','isConnected','_renderDomChart','stroke','_editSessionService','render','anonymous','Image','px\x20solid\x20','getViewport','UNIVER_SLIDE','forEach','globalAlpha','insertChart','4059474gmlqZK','configReadyRevision','activeSession$','_disposed','executeChartUpdateConfig','createRenderInput','close','LongDashDotDot','_registerComponents','chartId','disposeChartInstance','Trendline','wordCloud','makeDirty','className','toPrimitive','3942uOcjUq','slides-chart-ui.common.label','_config','bottom','borderRadius','promise','getHostStyle','_initLifecycleListeners','getRenderUnitById','pipe','setStyle','slides-chart-ui.common.valueField','UnknownOption','getClientRect','_chartInstanceMap','univer-shrink-0\x20univer-px-3','slides-chart-ui.common.tableDataEmpty','_clearSelectedTarget','onDispose$','unsubscribe','save','lineWidth','OTHERS','type','_bindChartEventHandler','univer-w-full\x20!univer-min-w-0','bind','_registerPanelOperations','updateDataFromText','scene','position','onEditData','_chartRenderService','slide.operation.open-slide-chart-panel','univer-flex\x20univer-flex-col\x20univer-gap-2','slides-chart-ui.common.chartStyle','_draw','isFinite','Data','style$','setConfig','route','Dash','cumulativeLineStyle','convert','setElementEditMode','_createImageChartHost','legend','Sunburst','_transformCanvasBoundToClientBound','_modelService','content-box','slides-chart-ui.section.radar','open','deg)','openChartInsertDialogForPlaceholder','requested','slides-chart-ui.common.switchRowColumn','_chartEventHandlers','Bubble','_hostProvider','children','focused$','backgroundColor','Chart','labelId','tab'];_0x5002=function(){return _0x505f93;};return _0x5002();}K=H([V(0x0,_0xec2b0e),V(0x1,_0x17367f),V(0x2,_0x524538)],K);const Vn=_0x193d94(0x367),Hn=_0x5e52bd['map'](_0x45e25c=>_0x45e25c['join']('\x09'))['join']('\x0a');function Un(_0xc12f4c){const _0xa33277=_0x193d94;let _0x16c6a8=_0x3a6709(K),_0x3821d6=_0x3a6709(_0x462145),{defaultChartType:_0x21189c=_0x2fcd51[_0xa33277(0x317)],defaultTableText:_0x1d246b=Hn,insertOptions:_0xe7901c,onCancel:_0x52ce94,onInserted:_0x29fcb8}=_0xc12f4c,_0x18f20a=_0xe91bd6(()=>_0x2a02e1(_0x4a49b4[_0xa33277(0x33f)](_0xeaeb9f=>({..._0xeaeb9f,'label':_0x3821d6['t'](_0xa33277(0x183)+_0xeaeb9f[_0xa33277(0x2fb)])}))),[_0x3821d6]),[_0x311a6a,_0x26d613]=_0x5e0a7d(String(_0x21189c)),_0x62cba1=_0x18f20a[_0xa33277(0x298)](_0x3c8de6=>_0x3c8de6[_0xa33277(0x243)]===_0x311a6a),_0x4c0601=(_0x62cba1==null?void 0x0:_0x62cba1[_0xa33277(0x33c)])??_0x21189c,_0x161b05=_0x1af3c8=>_0xf95d31(_0x1af3c8,{'candlestickClose':_0x3821d6['t'](_0xa33277(0x163)),'candlestickHigh':_0x3821d6['t'](_0xa33277(0x1e9)),'candlestickLow':_0x3821d6['t'](_0xa33277(0x23a)),'candlestickOpen':_0x3821d6['t'](_0xa33277(0x363)),'category':_0x3821d6['t'](_0xa33277(0x234)),'chordSource':_0x3821d6['t']('slides-chart-ui.chord.source'),'chordTarget':_0x3821d6['t'](_0xa33277(0x280)),'label':_0x3821d6['t'](_0xa33277(0x2bb)),'sunburstHierarchy':_0x3821d6['t']('slides-chart-ui.sunburst.hierarchy'),'value':_0x3821d6['t'](_0xa33277(0x229)),'valueField':_0x3821d6['t'](_0xa33277(0x2c5))}),[_0x3d6c99,_0x2accf5]=_0x5e0a7d(()=>_0xc12f4c[_0xa33277(0x290)]===void 0x0?_0x161b05(_0x21189c)??_0x25fe86(_0x1d246b):_0x25fe86(_0x1d246b)),[_0x17ff93,_0x143bef]=_0x5e0a7d('inline'),[_0x3998bf,_0x5207a2]=_0x5e0a7d(null),[_0x4eecb4,_0x31dd23]=_0x5e0a7d([]),[_0x7111f6,_0x3ab426]=_0x5e0a7d(null),_0x11d9e1={[_0x159266[_0xa33277(0x2c6)]]:_0x3821d6['t'](_0xa33277(0x15f)),[_0x159266['EmptyData']]:_0x3821d6['t']('slides-chart-ui.common.tableDataEmpty'),[_0x159266['InvalidCandlestickData']]:_0x3821d6['t'](_0xa33277(0x359))};return _0x486ad9(_0xa33277(0x228),{'className':_0xa33277(0x285),'children':[_0x486ad9(_0xa33277(0x228),{'className':_0xa33277(0x2dc),'children':[_0xd07901(_0xa33277(0x228),{'className':_0xa33277(0x1ee),'children':_0x3821d6['t']('slides-chart-ui.common.chartType')}),_0xd07901(_0x4a5a3d,{'className':_0xa33277(0x2d3),'value':_0x311a6a,'options':_0x18f20a,'onChange':_0x2038e7=>{const _0x14c59e=_0xa33277;var _0x3615e1;_0x26d613(_0x2038e7);let _0x240c6e=((_0x3615e1=_0x18f20a[_0x14c59e(0x298)](_0x1d0216=>_0x1d0216[_0x14c59e(0x243)]===_0x2038e7))==null?void 0x0:_0x3615e1[_0x14c59e(0x33c)])??Number(_0x2038e7),_0x30367b=_0x161b05(_0x240c6e);_0x30367b&&_0x2accf5(_0x30367b);}})]}),_0xd07901(_0x4b141d,{'mode':_0x17ff93,'inlineContent':_0xd07901(_0x1d6a3d,{'values':_0x3d6c99,'minColumns':_0x1b594b(_0x4c0601),'parsePastedText':_0x25fe86,'onChange':_0x2accf5}),'onModeChange':_0x1c2fa3=>{_0x143bef(_0x1c2fa3),_0x5207a2(null),_0x31dd23([]);},'onPreviewChange':(_0x5d9067,_0x567b2c)=>{const _0x20fba1=_0xa33277;_0x5d9067&&_0x567b2c[_0x20fba1(0x1de)]===_0x8c17b6['READY']&&_0x567b2c[_0x20fba1(0x276)]?(_0x5207a2({'source':_0x5d9067}),_0x31dd23(_0x567b2c['values'][_0x20fba1(0x33f)](_0x4bd646=>[..._0x4bd646]))):(_0x5207a2(null),_0x31dd23([]));}}),_0x7111f6&&_0xd07901(_0xa33277(0x228),{'className':_0xa33277(0x1c8),'children':_0x7111f6}),_0x486ad9(_0xa33277(0x228),{'className':_0xa33277(0x304),'children':[_0x52ce94&&_0xd07901(_0x58a0c,{'type':'button','variant':_0xa33277(0x255),'onClick':_0x52ce94,'children':_0x3821d6['t'](_0xa33277(0x20d))}),_0xd07901(_0x58a0c,{'type':_0xa33277(0x14d),'variant':'primary','disabled':_0x17ff93==='referenced'&&!_0x3998bf,'onClick':()=>{const _0x4cbb7e=_0xa33277;var _0x564216;let _0xd0e5b2=_0x58618e({'optionId':_0x311a6a,'values':_0x17ff93===_0x4cbb7e(0x13d)?_0x4eecb4:_0x3d6c99});if(!_0xd0e5b2['ok']){_0x3ab426(_0x11d9e1[_0xd0e5b2[_0x4cbb7e(0x35f)][_0x4cbb7e(0x356)]]);return;}let _0x168b8f=_0x17ff93===_0x4cbb7e(0x13d)&&_0x3998bf?{..._0xe7901c,'dataSource':_0x3998bf}:_0xe7901c,_0x5bb7f8=_0xd0e5b2[_0x4cbb7e(0x331)]['style']?{..._0x168b8f,'style':{..._0x168b8f==null?void 0x0:_0x168b8f['style'],'pie':{..._0x168b8f==null||(_0x564216=_0x168b8f['style'])==null?void 0x0:_0x564216[_0x4cbb7e(0x240)],..._0xd0e5b2[_0x4cbb7e(0x331)][_0x4cbb7e(0x1db)][_0x4cbb7e(0x240)]}}}:_0x168b8f;if(!_0x16c6a8[_0x4cbb7e(0x2a9)](_0xd0e5b2['plan'][_0x4cbb7e(0x276)],_0xd0e5b2[_0x4cbb7e(0x331)]['chartType'],_0x5bb7f8)){_0x3ab426(_0x3821d6['t'](_0x4cbb7e(0x15f)));return;}_0x3ab426(null),_0x29fcb8==null||_0x29fcb8();},'children':_0x3821d6['t'](_0xa33277(0x1e5))})]})]});}const Wn=_0x193d94(0x31f),Gn={};function Kn(_0x599a33){const _0x518c6e=_0x193d94;let _0x268682=_0x599a33[_0x518c6e(0x299)](_0xa968de);return new _0x4be838(_0x40d4b3=>{const _0x29bce0=_0x518c6e;let _0x291003=()=>_0x40d4b3['next'](xn(_0x599a33)!=null),_0x3490d0=_0x268682[_0x29bce0(0x23b)][_0x29bce0(0x322)](_0x291003);return _0x291003(),()=>_0x3490d0['unsubscribe']();});}function qn(_0x4ff5e7){const _0x2b9c91=_0x193d94;return{'id':wn['id'],'type':_0x10cb26[_0x2b9c91(0x33a)],'title':_0x4ff5e7[_0x2b9c91(0x299)](_0x462145)['t']('slides-chart-ui.common.editChart'),'icon':'ShapeIcon','hidden$':new _0x4be838(_0x49d6e0=>{const _0x2374ae=_0x2b9c91;let _0x58e45d=Kn(_0x4ff5e7)[_0x2374ae(0x322)](_0x2b3ab0=>_0x49d6e0[_0x2374ae(0x28c)](!_0x2b3ab0));return()=>_0x58e45d[_0x2374ae(0x2cd)]();}),'disabled$':new _0x4be838(_0x195dea=>{const _0x35595a=_0x2b9c91;let _0x4d5498=Kn(_0x4ff5e7)['subscribe'](_0x43031f=>_0x195dea[_0x35595a(0x28c)](!_0x43031f));return()=>_0x4d5498[_0x35595a(0x2cd)]();})};}const Jn={'slide.contextMenu.drawing':{[_0x5ba28b[_0x193d94(0x2d0)]]:{[wn['id']]:{'order':0x1,'menuItemFactory':qn}}}};let q=class extends _0x5c8699{constructor(_0x304b19){const _0x2da131=_0x193d94;super(),this[_0x2da131(0x1bc)]=_0x304b19,this['_menuManagerService']['appendRootMenu'](Jn);}};q=H([V(0x0,_0x4f77a5)],q);let J=class{constructor(_0x2122ba,_0x2f3cbe){const _0x60f367=_0x193d94;this[_0x60f367(0x171)]=_0x2122ba,this[_0x60f367(0x1df)]=_0x2f3cbe;}[_0x193d94(0x352)](_0x4b3729,_0x4a9422){const _0x505f7c=_0x193d94;let _0x3908d5=this[_0x505f7c(0x1df)]['getChart'](_0x4b3729,_0x4a9422),_0x2655f0=_0x3908d5?this[_0x505f7c(0x1df)][_0x505f7c(0x330)](_0x4b3729,_0x3908d5[_0x505f7c(0x35e)]):void 0x0;return!_0x3908d5||!_0x2655f0?null:{'unitId':_0x4b3729,'chartId':_0x4a9422,'dataSourceId':_0x2655f0['id'],'dataSource':_0x2655f0,'values':_0x32ed12(_0x2655f0)?_0x2655f0[_0x505f7c(0x276)][_0x505f7c(0x33f)](_0x31586d=>[..._0x31586d]):[],'sharingCount':this[_0x505f7c(0x1df)][_0x505f7c(0x216)](_0x4b3729,_0x2655f0['id'])};}[_0x193d94(0x2d6)](_0x494953,_0x476d2b,_0x49b792,_0x4c0c1b){const _0x16e11b=_0x193d94;let _0x52a6e2=_0x25fe86(_0x49b792);return _0x52a6e2[_0x16e11b(0x16f)]!==0x0&&this[_0x16e11b(0x345)](_0x494953,_0x476d2b,_0x52a6e2,_0x4c0c1b);}[_0x193d94(0x345)](_0x545ffa,_0x4dcba9,_0x1f79b3,_0x3e3800){const _0x555146=_0x193d94;var _0x32aee5;if(!this[_0x555146(0x352)](_0x545ffa,_0x4dcba9)||_0x1f79b3[_0x555146(0x16f)]===0x0)return!0x1;let _0xf2a4dd=(_0x32aee5=this[_0x555146(0x1df)][_0x555146(0x15d)](_0x545ffa,_0x4dcba9))==null?void 0x0:_0x32aee5['chartType'];if(_0xf2a4dd===void 0x0)return!0x1;let _0x12a8e1=_0x1a0c15(_0xf2a4dd,_0x1f79b3);return _0x12a8e1['ok']?this[_0x555146(0x168)](_0x545ffa,_0x4dcba9,{'values':_0x12a8e1[_0x555146(0x276)]}):!0x1;}[_0x193d94(0x168)](_0x286bf1,_0x925715,_0x25aee9){const _0xf6420b=_0x193d94;return this[_0xf6420b(0x171)]['syncExecuteCommand'](_0x39d2ac['id'],{'unitId':_0x286bf1,'chartId':_0x925715,'dataSource':_0x25aee9});}};J=H([V(0x0,_0x17367f),V(0x1,_0x21dd2a(_0x4a2995))],J);var Yn=class extends _0x5c8699{constructor(..._0x535384){const _0x188f0f=_0x193d94;super(..._0x535384),B(this,'_activeChartId',null),B(this,_0x188f0f(0x198),new _0x299fdc()),B(this,_0x188f0f(0x380),this[_0x188f0f(0x198)][_0x188f0f(0x288)]());}[_0x193d94(0x26e)](_0x5c3d47){const _0x4a9c59=_0x193d94;return this[_0x4a9c59(0x27f)]===_0x5c3d47?_0x1aa0d9[_0x4a9c59(0x30e)]:_0x1aa0d9[_0x4a9c59(0x2a3)];}[_0x193d94(0x33b)](_0x11b414){const _0x5483bc=_0x193d94;let _0xbd909d=(_0x11b414==null?void 0x0:_0x11b414[_0x5483bc(0x2b3)])??null;if(this[_0x5483bc(0x27f)]===_0xbd909d)return;let _0x21b325=this[_0x5483bc(0x27f)];this[_0x5483bc(0x27f)]=_0xbd909d,_0x21b325&&this[_0x5483bc(0x198)][_0x5483bc(0x28c)]({'chartId':_0x21b325,'mode':_0x1aa0d9[_0x5483bc(0x2a3)]}),_0xbd909d&&this[_0x5483bc(0x198)][_0x5483bc(0x28c)]({'chartId':_0xbd909d,'mode':_0x1aa0d9[_0x5483bc(0x30e)]});}[_0x193d94(0x207)](){const _0x2fa5ba=_0x193d94;this[_0x2fa5ba(0x27f)]=null,this[_0x2fa5ba(0x198)][_0x2fa5ba(0x208)](),super[_0x2fa5ba(0x207)]();}};let Y=class extends _0x5c8699{constructor(_0xe765de,_0x4f4d99,_0x37bf9e,_0x13014f,_0x3b3dcd){const _0x5a8e9a=_0x193d94;super(),this['_slideDrawingService']=_0xe765de,this[_0x5a8e9a(0x2ec)]=_0x4f4d99,this['_renderModeService']=_0x37bf9e,this[_0x5a8e9a(0x1fa)]=_0x13014f,this[_0x5a8e9a(0x1d5)]=_0x3b3dcd,B(this,_0x5a8e9a(0x326),null),B(this,_0x5a8e9a(0x19a),new _0x23aa3f(null)),B(this,_0x5a8e9a(0x2ac),this[_0x5a8e9a(0x19a)]['asObservable']()),B(this,_0x5a8e9a(0x224),[]),B(this,_0x5a8e9a(0x160),null),B(this,_0x5a8e9a(0x24f),null),this['_initLifecycleListeners']();}[_0x193d94(0x1e2)](){const _0x420123=_0x193d94;return this[_0x420123(0x326)];}[_0x193d94(0x2ef)](_0x19e978){const _0x463a58=_0x193d94;let _0x3d4d48=this['_slideDrawingService']['getDrawingByParam']({'unitId':_0x19e978[_0x463a58(0x206)],'subUnitId':_0x19e978[_0x463a58(0x1b3)],'drawingId':_0x19e978['drawingId']});if(!_0x3d4d48||_0x3d4d48[_0x463a58(0x13c)][_0x463a58(0x2d1)]!==_0x4fcec2[_0x463a58(0x2fa)]||_0x3d4d48[_0x463a58(0x13c)]['chartId']!==_0x19e978[_0x463a58(0x2b3)])return!0x1;let _0x1d670b=this[_0x463a58(0x2ec)][_0x463a58(0x1a8)](_0x19e978[_0x463a58(0x206)],_0x19e978[_0x463a58(0x2b3)]);return _0x1d670b?(this[_0x463a58(0x326)]=_0x19e978,this[_0x463a58(0x15c)](_0x19e978),this[_0x463a58(0x291)](_0x19e978),this['_modelService'][_0x463a58(0x383)](_0x1d670b),this['_renderModeService'][_0x463a58(0x33b)](_0x19e978),this[_0x463a58(0x19a)]['next'](_0x19e978),!0x0):!0x1;}['close'](){const _0x1ad7ef=_0x193d94;var _0x234661,_0x1fdcd2;this[_0x1ad7ef(0x326)]&&(this[_0x1ad7ef(0x326)]=null,(_0x234661=this[_0x1ad7ef(0x160)])==null||_0x234661[_0x1ad7ef(0x2cd)](),this[_0x1ad7ef(0x160)]=null,(_0x1fdcd2=this[_0x1ad7ef(0x24f)])==null||_0x1fdcd2[_0x1ad7ef(0x2cd)](),this[_0x1ad7ef(0x24f)]=null,this[_0x1ad7ef(0x2ec)][_0x1ad7ef(0x383)](null),this[_0x1ad7ef(0x275)]['setActiveDomChart'](null),this[_0x1ad7ef(0x19a)]['next'](null));}['isActive'](_0x442cb4){const _0x1a3295=_0x193d94;var _0x1febbd;return((_0x1febbd=this[_0x1a3295(0x326)])==null?void 0x0:_0x1febbd[_0x1a3295(0x2b3)])===_0x442cb4;}[_0x193d94(0x207)](){const _0x4e85e2=_0x193d94;var _0x23c464,_0x563bc5;this[_0x4e85e2(0x2b0)](),(_0x23c464=this[_0x4e85e2(0x160)])==null||_0x23c464['unsubscribe'](),this['_activeSlideSubscription']=null,(_0x563bc5=this[_0x4e85e2(0x24f)])==null||_0x563bc5[_0x4e85e2(0x2cd)](),this[_0x4e85e2(0x24f)]=null,this[_0x4e85e2(0x224)][_0x4e85e2(0x2a7)](_0xcd1155=>_0xcd1155[_0x4e85e2(0x207)]()),this[_0x4e85e2(0x224)][_0x4e85e2(0x16f)]=0x0,this['_activeSession$'][_0x4e85e2(0x208)](),super[_0x4e85e2(0x207)]();}[_0x193d94(0x2c1)](){const _0x7ae0=_0x193d94;var _0x13f8c0,_0xadc56,_0x2f38d6;let _0x1b7394=(_0x13f8c0=this[_0x7ae0(0x365)][_0x7ae0(0x1b5)])==null?void 0x0:_0x13f8c0[_0x7ae0(0x322)](_0x2e861c=>{const _0x40d23e=_0x7ae0;let _0x478143=this[_0x40d23e(0x326)];_0x478143&&_0x2e861c[_0x40d23e(0x1ca)](_0x2e2662=>_0x2e2662[_0x40d23e(0x206)]===_0x478143[_0x40d23e(0x206)]&&_0x2e2662[_0x40d23e(0x1b3)]===_0x478143[_0x40d23e(0x1b3)]&&_0x2e2662[_0x40d23e(0x1e8)]===_0x478143[_0x40d23e(0x1e8)])&&this[_0x40d23e(0x2b0)]();});_0x1b7394&&this[_0x7ae0(0x224)]['push']({'dispose':()=>_0x1b7394[_0x7ae0(0x2cd)]()});let _0x144a14=(_0xadc56=this[_0x7ae0(0x2ec)][_0x7ae0(0x1f1)])==null?void 0x0:_0xadc56[_0x7ae0(0x322)](_0x5acaaf=>{const _0x555808=_0x7ae0;let _0x5a5510=this['_activeSession'];_0x5a5510&&_0x5acaaf[_0x555808(0x206)]===_0x5a5510[_0x555808(0x206)]&&_0x5acaaf[_0x555808(0x2b3)]===_0x5a5510[_0x555808(0x2b3)]&&this[_0x555808(0x2b0)]();});_0x144a14&&this['_subscriptions'][_0x7ae0(0x36c)]({'dispose':()=>_0x144a14[_0x7ae0(0x2cd)]()});let _0x1ed235=(_0x2f38d6=this[_0x7ae0(0x1fa)][_0x7ae0(0x2f8)])==null?void 0x0:_0x2f38d6[_0x7ae0(0x322)](_0x3c8cf7=>{const _0x2412b=_0x7ae0;let _0x516199=this[_0x2412b(0x326)];_0x516199&&_0x3c8cf7&&_0x3c8cf7!==_0x516199[_0x2412b(0x206)]&&this[_0x2412b(0x2b0)]();});_0x1ed235&&this[_0x7ae0(0x224)][_0x7ae0(0x36c)]({'dispose':()=>_0x1ed235[_0x7ae0(0x2cd)]()});}['_bindActiveSlideListener'](_0x3076e2){const _0x1a7305=_0x193d94;var _0x2e92e1;(_0x2e92e1=this[_0x1a7305(0x160)])==null||_0x2e92e1[_0x1a7305(0x2cd)](),this[_0x1a7305(0x160)]=null;let _0x4be544=this[_0x1a7305(0x1fa)][_0x1a7305(0x1c6)](_0x3076e2[_0x1a7305(0x206)],_0x42c74e[_0x1a7305(0x2a6)]);this[_0x1a7305(0x160)]=(_0x4be544==null?void 0x0:_0x4be544[_0x1a7305(0x31d)][_0x1a7305(0x23e)]['subscribe'](_0x4aeeca=>{const _0x5a84cb=_0x1a7305;let _0x4533dc=this['_activeSession'];_0x4533dc&&_0x4aeeca&&_0x4aeeca!==_0x4533dc[_0x5a84cb(0x1b3)]&&this[_0x5a84cb(0x2b0)]();}))??null;}[_0x193d94(0x291)](_0x2298b4,_0x1079c2=!0x0){const _0x80f164=_0x193d94;var _0x3ff103,_0x1e9f55;(_0x3ff103=this['_transformStartSubscription'])==null||_0x3ff103[_0x80f164(0x2cd)](),this[_0x80f164(0x24f)]=null;let _0x23364=(_0x1e9f55=this[_0x80f164(0x1d5)][_0x80f164(0x2c2)](_0x2298b4[_0x80f164(0x206)]))==null?void 0x0:_0x1e9f55[_0x80f164(0x2d7)][_0x80f164(0x161)]();if(!_0x23364){_0x1079c2&&queueMicrotask(()=>{const _0xcf2fd3=_0x80f164;let _0x25a60e=this[_0xcf2fd3(0x326)];(_0x25a60e==null?void 0x0:_0x25a60e[_0xcf2fd3(0x2b3)])===_0x2298b4[_0xcf2fd3(0x2b3)]&&this['_bindTransformStartListener'](_0x2298b4,!0x1);});return;}let _0x141949=_0x2afa14(_0x2298b4[_0x80f164(0x206)],_0x2298b4['subUnitId'],_0x2298b4['drawingId']);this[_0x80f164(0x24f)]=_0x23364['changeStart$']['subscribe'](({objects:_0x57f64b})=>{const _0x5cc848=_0x80f164;_0x57f64b!=null&&_0x57f64b[_0x5cc848(0x309)](_0x141949)&&this[_0x5cc848(0x2b0)]();});}};Y=H([V(0x0,_0x21dd2a(_0xa968de)),V(0x1,_0x21dd2a(_0x346b93)),V(0x2,_0x21dd2a(Yn)),V(0x3,_0xec2b0e),V(0x4,_0x361b2f)],Y);const Xn=_0x193d94(0x20a);let X=class extends _0x5c8699{constructor(_0x55f19a,_0x1e5e8b,_0x1d553c,_0x31d55a,_0x3624c1,_0x34f4c6,_0x3d3e72,_0x5c68aa){const _0x35f71d=_0x193d94;super(),this[_0x35f71d(0x174)]=_0x55f19a,this[_0x35f71d(0x34e)]=_0x1e5e8b,this[_0x35f71d(0x365)]=_0x1d553c,this[_0x35f71d(0x1c3)]=_0x31d55a,this[_0x35f71d(0x2a0)]=_0x3624c1,this[_0x35f71d(0x328)]=_0x34f4c6,this['_localeService']=_0x3d3e72,this['_commandService']=_0x5c68aa,B(this,_0x35f71d(0x146),null),this[_0x35f71d(0x2d5)](),this[_0x35f71d(0x1c9)]();}['openChartPanel'](_0x5da0d0,_0x1a625a,_0x5051f9,_0x1e069a){const _0x41733d=_0x193d94;let _0x101353=this[_0x41733d(0x365)][_0x41733d(0x1ae)]({'unitId':_0x5da0d0,'subUnitId':_0x1a625a,'drawingId':_0x5051f9});if(!_0x101353||_0x101353['element'][_0x41733d(0x2d1)]!==_0x4fcec2[_0x41733d(0x2fa)])return!0x1;let _0x62f1a8=_0x101353[_0x41733d(0x13c)][_0x41733d(0x2b3)];return this[_0x41733d(0x2a0)]['open']({'unitId':_0x5da0d0,'subUnitId':_0x1a625a,'drawingId':_0x5051f9,'chartId':_0x62f1a8})?(this[_0x41733d(0x328)][_0x41733d(0x32f)](_0x62f1a8),_0x1e069a?this[_0x41733d(0x328)]['setPanelRoute'](_0x62f1a8,_0x1e069a):this[_0x41733d(0x328)][_0x41733d(0x34d)](),this[_0x41733d(0x223)]({'unitId':_0x5da0d0,'subUnitId':_0x1a625a,'drawingId':_0x5051f9,'chartId':_0x62f1a8}),!0x0):!0x1;}[_0x193d94(0x28a)](){const _0x5dd0b4=_0x193d94;this[_0x5dd0b4(0x2a0)][_0x5dd0b4(0x2b0)](),this[_0x5dd0b4(0x328)][_0x5dd0b4(0x32f)](null),this['_chartUIService']['setSelectedElement'](null),this[_0x5dd0b4(0x328)][_0x5dd0b4(0x34d)](),this[_0x5dd0b4(0x146)]=null,this[_0x5dd0b4(0x174)][_0x5dd0b4(0x2b0)](W);}[_0x193d94(0x155)](_0x4dff11,_0x90b305){const _0x19ef07=_0x193d94;let _0x5546ec=this[_0x19ef07(0x1c3)][_0x19ef07(0x352)](_0x4dff11,_0x90b305);if(!_0x5546ec)return!0x1;let _0x1d90f8=null,_0xa3176c=()=>{_0x1d90f8==null||_0x1d90f8['dispose'](),_0x1d90f8=null;};return _0x1d90f8=this[_0x19ef07(0x34e)][_0x19ef07(0x2ef)]({'id':En,'title':{'title':this[_0x19ef07(0x284)]['t']('slides-chart-ui.common.editData')},'className':Xn,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Tn,'props':{'values':_0x5546ec['values'],'dataSource':_0x5546ec[_0x19ef07(0x274)],'sharingCount':_0x5546ec[_0x19ef07(0x1b1)],'onCancel':_0xa3176c,'onSubmit':(_0x15230d,_0x575d35)=>{const _0x4e198e=_0x19ef07;this[_0x4e198e(0x1c3)][_0x4e198e(0x345)](_0x4dff11,_0x90b305,_0x15230d,_0x575d35)&&_0xa3176c();},'onDataSourceSubmit':_0x48babe=>{const _0x571f68=_0x19ef07;this['_dataEditService'][_0x571f68(0x168)](_0x4dff11,_0x90b305,_0x48babe)&&_0xa3176c();}}}},'onClose':_0xa3176c}),!0x0;}[_0x193d94(0x2f1)](_0x419efc){const _0x134e8b=_0x193d94;if(_0x419efc[_0x134e8b(0x1a7)]!=='chart')return!0x1;let _0x589b05=this[_0x134e8b(0x365)][_0x134e8b(0x1ae)]({'unitId':_0x419efc['unitId'],'subUnitId':_0x419efc[_0x134e8b(0x1b3)],'drawingId':_0x419efc['drawingId']});if(!_0x589b05||_0x589b05['element'][_0x134e8b(0x2d1)]!==_0x4fcec2[_0x134e8b(0x31b)])return!0x1;let _0x1d36a6=null,_0xafcd9f=()=>{const _0x2ae988=_0x134e8b;_0x1d36a6==null||_0x1d36a6[_0x2ae988(0x207)](),_0x1d36a6=null;};return _0x1d36a6=this[_0x134e8b(0x34e)][_0x134e8b(0x2ef)]({'id':_0x134e8b(0x360),'title':{'title':this[_0x134e8b(0x284)]['t'](_0x134e8b(0x16c))},'className':Xn,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Vn,'props':{'insertOptions':{'placeholderDrawing':_0x589b05},'onCancel':_0xafcd9f,'onInserted':_0xafcd9f}}},'onClose':_0xafcd9f}),!0x0;}[_0x193d94(0x2d5)](){const _0xd0d354=_0x193d94;this[_0xd0d354(0x145)](this[_0xd0d354(0x171)][_0xd0d354(0x1cc)](_0x300e44=>{const _0x18ca81=_0xd0d354;if(_0x300e44['id']===R['id']){let _0x4e1b03=_0x300e44[_0x18ca81(0x358)];_0x4e1b03&&this['openChartPanel'](_0x4e1b03[_0x18ca81(0x206)],_0x4e1b03[_0x18ca81(0x1b3)],_0x4e1b03['drawingId'],_0x4e1b03['route']);return;}if(_0x300e44['id']===Sn['id']){this['closeChartPanel']();return;}if(_0x300e44['id']===Cn['id']){let _0x448a96=_0x300e44[_0x18ca81(0x358)];_0x448a96&&this[_0x18ca81(0x155)](_0x448a96[_0x18ca81(0x206)],_0x448a96['chartId']);return;}if(_0x300e44['id']===_0x220c91['id']){let _0x4c0c04=_0x300e44[_0x18ca81(0x358)];_0x4c0c04&&this[_0x18ca81(0x2f1)](_0x4c0c04);}}));}[_0x193d94(0x1c9)](){const _0x37cdc7=_0x193d94;this[_0x37cdc7(0x145)](this['_slideDrawingService'][_0x37cdc7(0x23b)]['subscribe'](_0x3301fb=>{const _0x3c206d=_0x37cdc7;_0x3301fb[_0x3c206d(0x16f)]===0x0&&this['closeChartPanel']();}));}[_0x193d94(0x223)](_0x46f201){const _0x5baed6=_0x193d94;var _0x42c538;(_0x42c538=this[_0x5baed6(0x146)])==null||_0x42c538[_0x5baed6(0x207)](),this[_0x5baed6(0x146)]=this[_0x5baed6(0x174)]['open']({'id':W,'header':{'title':this[_0x5baed6(0x284)]['t'](_0x5baed6(0x16c))},'width':0x184,'children':{'label':W,..._0x46f201},'onClose':()=>{const _0x9d2990=_0x5baed6;this[_0x9d2990(0x2a0)]['close'](),this[_0x9d2990(0x328)][_0x9d2990(0x32f)](null),this[_0x9d2990(0x328)][_0x9d2990(0x371)](null),this[_0x9d2990(0x328)]['clearPanelRoute'](),this[_0x9d2990(0x146)]=null;}});}};X=H([V(0x0,_0x21dd2a(_0x1ca3e5)),V(0x1,_0x21dd2a(_0x499f36)),V(0x2,_0x21dd2a(_0xa968de)),V(0x3,_0x21dd2a(J)),V(0x4,_0x21dd2a(Y)),V(0x5,U),V(0x6,_0x21dd2a(_0x462145)),V(0x7,_0x17367f)],X);var Zn=_0x193d94(0x287),Qn=_0x193d94(0x1ad);let $n=class extends _0x5c8699{constructor(_0x4916d3){const _0x196473=_0x193d94;super(),this[_0x196473(0x21f)]=_0x4916d3,this[_0x196473(0x2b2)]();}[_0x193d94(0x2b2)](){const _0x541c83=_0x193d94;this[_0x541c83(0x145)](this[_0x541c83(0x21f)][_0x541c83(0x196)](Vn,Un)),this[_0x541c83(0x145)](this['_componentManager']['register'](Tn,On)),this[_0x541c83(0x145)](this['_componentManager'][_0x541c83(0x196)](W,Rn));}};$n=H([V(0x0,_0x21dd2a(_0x147516))],$n);let er=class extends _0x13039f{constructor(_0x2f7575,_0x1dd1d5,_0x2936f7,_0x1bad96){const _0x11bb89=_0x193d94;super(),this[_0x11bb89(0x230)]=_0x2f7575,this[_0x11bb89(0x28f)]=_0x1dd1d5,this[_0x11bb89(0x2ec)]=_0x2936f7,this[_0x11bb89(0x171)]=_0x1bad96,this[_0x11bb89(0x1a2)]();}['_init'](){const _0x4846c1=_0x193d94;this['disposeWithMe'](_0x2f3a4e(this[_0x4846c1(0x28f)]['onDoubleClick$'][_0x4846c1(0x2c3)](_0x26002c(this[_0x4846c1(0x379)]))[_0x4846c1(0x322)](_0xa946d7=>{const _0x11ebed=_0x4846c1;_0xa946d7['drawing'][_0x11ebed(0x206)]===this[_0x11ebed(0x230)][_0x11ebed(0x206)]&&_0xa946d7[_0x11ebed(0x1f4)][_0x11ebed(0x13c)]['type']===_0x4fcec2['Chart']&&(this[_0x11ebed(0x2ec)][_0x11ebed(0x351)]||this[_0x11ebed(0x171)][_0x11ebed(0x1cf)](R['id'],{'unitId':_0xa946d7[_0x11ebed(0x1f4)][_0x11ebed(0x206)],'subUnitId':_0xa946d7['drawing']['subUnitId'],'drawingId':_0xa946d7[_0x11ebed(0x1f4)][_0x11ebed(0x1e8)]}));})));}};er=H([V(0x1,_0x21dd2a(_0xdef4d5)),V(0x2,_0x21dd2a(_0x346b93)),V(0x3,_0x17367f)],er);function tr(_0x3ffdbc){const _0x29abc0=_0x193d94;return!!(_0x3ffdbc!=null&&_0x3ffdbc[_0x29abc0(0x308)]&&_0x3ffdbc['width']&&_0x3ffdbc[_0x29abc0(0x27e)]>0x0&&_0x3ffdbc[_0x29abc0(0x200)]!==_0x4eb722[_0x29abc0(0x1f2)]);}function nr(_0x3bc5dd,_0x293eca){const _0x250d47=_0x193d94;if((_0x3bc5dd==null?void 0x0:_0x3bc5dd['borderWidth'])!==0x0)return{..._0x1d9e41,..._0x293eca,...(_0x3bc5dd==null?void 0x0:_0x3bc5dd[_0x250d47(0x1d9)])==null?{}:{'color':_0x3bc5dd['borderColor']},...typeof(_0x3bc5dd==null?void 0x0:_0x3bc5dd[_0x250d47(0x20c)])==_0x250d47(0x1d3)&&Number[_0x250d47(0x2df)](_0x3bc5dd[_0x250d47(0x20c)])&&_0x3bc5dd[_0x250d47(0x20c)]>0x0?{'width':_0x3bc5dd[_0x250d47(0x20c)]}:{}};}var rr=class extends _0x5c8699{constructor(_0x83fb7,_0x23ba4f,_0x23e7e2,_0x3050c4,_0x2812bf,_0x223c47){const _0x1b294f=_0x193d94;super(),this[_0x1b294f(0x2b3)]=_0x83fb7,this[_0x1b294f(0x165)]=_0x23ba4f,this[_0x1b294f(0x26f)]=_0x23e7e2,this['_getRenderRect']=_0x3050c4,this[_0x1b294f(0x254)]=_0x2812bf,this[_0x1b294f(0x136)]=_0x223c47,B(this,'mode',_0x1aa0d9['Dom']),B(this,_0x1b294f(0x31a),null),B(this,_0x1b294f(0x341),!0x1),this[_0x1b294f(0x165)][_0x1b294f(0x1db)][_0x1b294f(0x14f)]=_0x1b294f(0x340),this[_0x1b294f(0x165)]['style']['boxSizing']=_0x1b294f(0x333);}[_0x193d94(0x233)](){const _0x38e954=_0x193d94;var _0xa0ef2d;let _0x14e983=(_0xa0ef2d=this['_getRenderRect'])==null?void 0x0:_0xa0ef2d[_0x38e954(0x1d1)](this);if(_0x14e983)return{'width':Math[_0x38e954(0x300)](_0x44d4b8,_0x14e983[_0x38e954(0x27e)]),'height':Math[_0x38e954(0x300)](_0x44d4b8,_0x14e983[_0x38e954(0x231)])};let _0x39aa4c=this[_0x38e954(0x165)][_0x38e954(0x374)]();return{'width':Math[_0x38e954(0x300)](_0x44d4b8,_0x39aa4c[_0x38e954(0x27e)]),'height':Math[_0x38e954(0x300)](_0x44d4b8,_0x39aa4c[_0x38e954(0x231)])};}[_0x193d94(0x2c4)](_0x1d9c52){const _0x69ea07=_0x193d94;this[_0x69ea07(0x26f)](this[_0x69ea07(0x165)],_0x1d9c52);}[_0x193d94(0x22d)](){return this['_host'];}async['ensureMount'](){const _0x44a90b=_0x193d94;return this['_mountNode']||(this[_0x44a90b(0x31a)]=document[_0x44a90b(0x1c7)](_0x44a90b(0x228)),this[_0x44a90b(0x31a)][_0x44a90b(0x2b8)]='slide-chart-dom-mount',this['_mountNode'][_0x44a90b(0x1db)][_0x44a90b(0x2d8)]=_0x44a90b(0x14e),this[_0x44a90b(0x31a)][_0x44a90b(0x1db)][_0x44a90b(0x381)]='0',this['_mountNode']['style'][_0x44a90b(0x316)]='0',this[_0x44a90b(0x31a)][_0x44a90b(0x1db)][_0x44a90b(0x140)]='0',this[_0x44a90b(0x31a)]['style'][_0x44a90b(0x15e)]=_0x44a90b(0x2ed),this['_mountNode'][_0x44a90b(0x1db)][_0x44a90b(0x14f)]=_0x44a90b(0x340),this[_0x44a90b(0x165)][_0x44a90b(0x194)](this['_mountNode'])),this[_0x44a90b(0x1aa)](),this[_0x44a90b(0x31a)];}[_0x193d94(0x302)](){const _0x314d2b=_0x193d94;var _0x2224df;return!!((_0x2224df=this['_mountNode'])!=null&&_0x2224df[_0x314d2b(0x29d)]&&this['_host'][_0x314d2b(0x237)](this['_mountNode']));}[_0x193d94(0x1aa)](){const _0x3da0be=_0x193d94;let _0x4cda06=this[_0x3da0be(0x233)]();if(!_0x4cda06)return;let _0x4fc289=_0x4cda06['width']+'px',_0x5da6ed=_0x4cda06[_0x3da0be(0x231)]+'px';this[_0x3da0be(0x165)][_0x3da0be(0x1db)][_0x3da0be(0x27e)]=_0x4fc289,this[_0x3da0be(0x165)][_0x3da0be(0x1db)][_0x3da0be(0x231)]=_0x5da6ed,this[_0x3da0be(0x31a)]&&(this['_mountNode'][_0x3da0be(0x1db)][_0x3da0be(0x27e)]=_0x4fc289,this[_0x3da0be(0x31a)][_0x3da0be(0x1db)][_0x3da0be(0x231)]=_0x5da6ed);}['markReady'](){const _0x306cde=_0x193d94;var _0x1a6bb9;this['_ready']||(this[_0x306cde(0x341)]=!0x0,(_0x1a6bb9=this['_markReady'])==null||_0x1a6bb9[_0x306cde(0x1d1)](this));}[_0x193d94(0x192)](){const _0x5acf5d=_0x193d94;var _0x16a849;this[_0x5acf5d(0x341)]&&(this['_ready']=!0x1,(_0x16a849=this['_markNotReady'])==null||_0x16a849['call'](this));}[_0x193d94(0x207)](){const _0x4fd877=_0x193d94;var _0x7983ea;this[_0x4fd877(0x192)](),(_0x7983ea=this[_0x4fd877(0x31a)])==null||_0x7983ea[_0x4fd877(0x21b)](),this[_0x4fd877(0x31a)]=null,this['_host'][_0x4fd877(0x21b)](),super['dispose']();}};let Z=class extends _0x5c8699{constructor(_0x4a7a38,_0x352bfb,_0xd3b008){const _0xf1ac69=_0x193d94;super(),this[_0xf1ac69(0x284)]=_0x4a7a38,this[_0xf1ac69(0x1fe)]=_0x352bfb,this['_renderModelManager']=_0xd3b008,B(this,'_chartInstanceMap',new Map()),B(this,_0xf1ac69(0x2f4),new Map()),B(this,'_chartEventSubscriptions',new Map()),B(this,_0xf1ac69(0x256),new Map()),B(this,_0xf1ac69(0x342),new Map());}[_0x193d94(0x350)](_0x391feb){const _0x111378=_0x193d94;return _0x391feb?this['_renderModelManager'][_0x111378(0x350)](_0x391feb,this[_0x111378(0x314)]()):this['_renderModelManager'][_0x111378(0x350)]();}async[_0x193d94(0x2a1)](_0x57e14b,_0x41f18c){const _0x327796=_0x193d94;let {chartConfig:_0xf38d10,chartStyle:_0x3aef29}=this['createRenderInput'](_0x57e14b),_0x1ccb49=this[_0x327796(0x226)](_0x57e14b[_0x327796(0x2b3)],_0x41f18c['mode']);_0x1ccb49[_0x327796(0x2d4)](_0x41f18c),await _0x1ccb49[_0x327796(0x2a1)]({'chartId':_0x57e14b[_0x327796(0x2b3)],'config':_0xf38d10,'style':_0x3aef29});let _0x706a8a=_0x41f18c[_0x327796(0x1a5)]===_0x1aa0d9[_0x327796(0x2a3)]&&_0x327796(0x20b)in _0x41f18c?_0x41f18c[_0x327796(0x20b)]():void 0x0;_0x706a8a&&this['_lastImageDataUrlMap'][_0x327796(0x305)](_0x57e14b['chartId'],_0x706a8a);}['setElementEditMode'](_0x12e955,_0x1c22f4){const _0x633671=_0x193d94;var _0x40b8d1;_0x1c22f4?this[_0x633671(0x256)][_0x633671(0x305)](_0x12e955,!0x0):this[_0x633671(0x256)][_0x633671(0x19d)](_0x12e955),(_0x40b8d1=this['_chartInstanceMap'][_0x633671(0x299)](_0x12e955))==null||_0x40b8d1[_0x633671(0x2e7)](_0x1c22f4);}['on'](_0x20bfee,_0x581e32,_0x1daf72){const _0x96b83c=_0x193d94;let _0x4f66b5=this[_0x96b83c(0x2f4)][_0x96b83c(0x299)](_0x20bfee);_0x4f66b5||(_0x4f66b5=new Map(),this[_0x96b83c(0x2f4)][_0x96b83c(0x305)](_0x20bfee,_0x4f66b5));let _0x130708=_0x4f66b5[_0x96b83c(0x299)](_0x581e32);_0x130708||(_0x130708=new Set(),_0x4f66b5[_0x96b83c(0x305)](_0x581e32,_0x130708)),_0x130708['add'](_0x1daf72);let _0x39d333=this[_0x96b83c(0x2c8)][_0x96b83c(0x299)](_0x20bfee);return _0x39d333&&this[_0x96b83c(0x2d2)](_0x20bfee,_0x39d333,_0x581e32,_0x1daf72),{'dispose':()=>{const _0x18f28e=_0x96b83c;var _0x1f3152;(_0x1f3152=this[_0x18f28e(0x2f4)][_0x18f28e(0x299)](_0x20bfee))==null||(_0x1f3152=_0x1f3152['get'](_0x581e32))==null||_0x1f3152[_0x18f28e(0x19d)](_0x1daf72),this[_0x18f28e(0x1d7)](_0x20bfee,_0x581e32,_0x1daf72);}};}[_0x193d94(0x2b4)](_0x360082){const _0x270b6e=_0x193d94;let _0x1e3cc1=this['_chartInstanceMap'][_0x270b6e(0x299)](_0x360082);_0x1e3cc1&&(this[_0x270b6e(0x28b)](_0x360082),_0x1e3cc1[_0x270b6e(0x207)](),this[_0x270b6e(0x2c8)][_0x270b6e(0x19d)](_0x360082));}async[_0x193d94(0x36a)](_0x123ede){const _0x4c23e0=_0x193d94;let _0x28ba99=this['_chartInstanceMap'][_0x4c23e0(0x299)](_0x123ede);if(_0x28ba99){let _0x55f441=this['_chartElementEditMode'][_0x4c23e0(0x299)](_0x123ede)===!0x0;_0x55f441&&_0x28ba99[_0x4c23e0(0x2e7)](!0x1);try{let _0x3a4c8a=await _0x28ba99[_0x4c23e0(0x32c)]();if(_0x3a4c8a)return _0x3a4c8a;}finally{_0x55f441&&this[_0x4c23e0(0x2c8)][_0x4c23e0(0x299)](_0x123ede)===_0x28ba99&&_0x28ba99[_0x4c23e0(0x2e7)](!0x0);}}return this['_lastImageDataUrlMap'][_0x4c23e0(0x299)](_0x123ede);}['createRenderInput'](_0x5506d4){const _0x364f5f=_0x193d94;let _0x3af700=_0x5506d4[_0x364f5f(0x323)]['config'];if(!_0x3af700)throw Error(_0x364f5f(0x222)+_0x5506d4[_0x364f5f(0x2b3)]+_0x364f5f(0x25d));let _0x192c39=this[_0x364f5f(0x284)][_0x364f5f(0x281)]();return{'chartConfig':_0x3af700,'chartStyle':_0x13dbb0({..._0x5506d4[_0x364f5f(0x323)][_0x364f5f(0x1db)],'runtime':_0x5506d4[_0x364f5f(0x323)][_0x364f5f(0x1ac)](_0x192c39),'direction':_0x192c39},_0x3af700[_0x364f5f(0x2d1)])};}[_0x193d94(0x214)](_0x1ef06e,_0x4435cf,_0x349d55){const _0xe669cf=_0x193d94;let {chartConfig:_0x26f0df,chartStyle:_0x3f06a3}=this[_0xe669cf(0x2af)](_0x1ef06e),_0x1897e6=this[_0xe669cf(0x282)][_0xe669cf(0x30d)]();return{'spec':_0x1897e6[_0xe669cf(0x2ff)](_0x1897e6[_0xe669cf(0x376)](_0x26f0df,_0x3f06a3),{'chartConfig':_0x26f0df,'chartStyle':_0x3f06a3,'chartInstance':_0x349d55},_0x4435cf),'chartConfig':_0x26f0df,'chartStyle':_0x3f06a3,'hostStyle':this[_0xe669cf(0x2c0)](_0x3f06a3)};}[_0x193d94(0x2c0)](_0x46eefd){const _0xc21478=_0x193d94;return _0x3eb594({'style':_0x46eefd,'getRenderColor':_0x494fbc=>this[_0xc21478(0x1fe)]['getRenderColor'](_0x494fbc)});}[_0x193d94(0x187)](_0x4cc40c,_0x15141e){const _0x93554c=_0x193d94;var _0x37bc3b;_0x4cc40c[_0x93554c(0x1db)]['border']=(_0x37bc3b=_0x15141e[_0x93554c(0x140)])!=null&&_0x37bc3b[_0x93554c(0x308)]&&_0x15141e[_0x93554c(0x140)]['width']?_0x15141e[_0x93554c(0x140)]['width']+_0x93554c(0x2a4)+_0x15141e['border'][_0x93554c(0x308)]:'',_0x4cc40c['style'][_0x93554c(0x2f9)]=_0x15141e['fill']??'transparent',_0x4cc40c['style'][_0x93554c(0x2be)]=_0x15141e['radius']?_0x15141e[_0x93554c(0x1f3)]+'px':'',_0x4cc40c[_0x93554c(0x1db)][_0x93554c(0x14f)]=_0x93554c(0x340),_0x4cc40c[_0x93554c(0x1db)][_0x93554c(0x15e)]='border-box';}[_0x193d94(0x226)](_0x2b9a73,_0x2633fc){const _0x577d5e=_0x193d94;let _0x30418a=this[_0x577d5e(0x2c8)][_0x577d5e(0x299)](_0x2b9a73);if((_0x30418a==null?void 0x0:_0x30418a[_0x577d5e(0x1a5)])===_0x2633fc)return _0x30418a;_0x30418a&&this[_0x577d5e(0x2b4)](_0x2b9a73);let _0x2a3001=this[_0x577d5e(0x282)][_0x577d5e(0x350)](_0x2633fc,this['_createChartRenderInstanceContext']());return this[_0x577d5e(0x2c8)][_0x577d5e(0x305)](_0x2b9a73,_0x2a3001),_0x2a3001[_0x577d5e(0x2e7)](this[_0x577d5e(0x256)][_0x577d5e(0x299)](_0x2b9a73)===!0x0),this['_bindChartEventHandlers'](_0x2b9a73,_0x2a3001),_0x2a3001;}[_0x193d94(0x17b)](_0x14c1f7,_0x21c59e){const _0x3b207a=_0x193d94;let _0x425bda=this[_0x3b207a(0x2f4)][_0x3b207a(0x299)](_0x14c1f7);_0x425bda&&_0x425bda['forEach']((_0x4e901f,_0xed0bb8)=>{const _0x403586=_0x3b207a;_0x4e901f[_0x403586(0x2a7)](_0x2ea7f1=>this['_bindChartEventHandler'](_0x14c1f7,_0x21c59e,_0xed0bb8,_0x2ea7f1));});}[_0x193d94(0x2d2)](_0x1a8600,_0x3b148c,_0x45f340,_0x4a6c5a){const _0x2f8a24=_0x193d94;let _0x259396=this[_0x2f8a24(0x152)][_0x2f8a24(0x299)](_0x1a8600);_0x259396||(_0x259396=new Map(),this[_0x2f8a24(0x152)][_0x2f8a24(0x305)](_0x1a8600,_0x259396));let _0x1e9de5=_0x259396[_0x2f8a24(0x299)](_0x45f340);_0x1e9de5||(_0x1e9de5=new Map(),_0x259396[_0x2f8a24(0x305)](_0x45f340,_0x1e9de5)),!_0x1e9de5['has'](_0x4a6c5a)&&_0x1e9de5['set'](_0x4a6c5a,_0x3b148c['on'](_0x45f340,_0x4a6c5a));}['_disposeChartEventSubscription'](_0x59c258,_0x237dd2,_0x2fc535){const _0x54cef4=_0x193d94;var _0x1a53e2,_0x38966b;let _0x36d5a2=(_0x1a53e2=this[_0x54cef4(0x152)][_0x54cef4(0x299)](_0x59c258))==null?void 0x0:_0x1a53e2[_0x54cef4(0x299)](_0x237dd2);_0x36d5a2==null||(_0x38966b=_0x36d5a2['get'](_0x2fc535))==null||_0x38966b[_0x54cef4(0x207)](),_0x36d5a2==null||_0x36d5a2[_0x54cef4(0x19d)](_0x2fc535);}[_0x193d94(0x28b)](_0x823f6a){const _0x15fb87=_0x193d94;let _0x52f0a8=this[_0x15fb87(0x152)][_0x15fb87(0x299)](_0x823f6a);_0x52f0a8==null||_0x52f0a8[_0x15fb87(0x2a7)](_0x47da1b=>{const _0x288762=_0x15fb87;_0x47da1b['forEach'](_0x454369=>_0x454369[_0x288762(0x207)]()),_0x47da1b['clear']();}),this['_chartEventSubscriptions'][_0x15fb87(0x19d)](_0x823f6a);}[_0x193d94(0x314)](){const _0x47579b=_0x193d94;return{'resolveHostStyle':({style:_0x75ecbe})=>this[_0x47579b(0x2c0)](_0x75ecbe),'resolveRenderBackgroundColor':({hostStyle:_0x27e45f})=>_0x27e45f['fill'],'prepareSpec':({mode:_0x5cdc32,spec:_0x35d109})=>_0x5cdc32===_0x1aa0d9[_0x47579b(0x2a3)]?{..._0x35d109,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x35d109};}['dispose'](){const _0x42765a=_0x193d94;Array[_0x42765a(0x273)](this[_0x42765a(0x2c8)][_0x42765a(0x1c5)]())[_0x42765a(0x2a7)](_0x1efb69=>this[_0x42765a(0x2b4)](_0x1efb69)),this[_0x42765a(0x2f4)][_0x42765a(0x337)](),this[_0x42765a(0x256)]['clear'](),this[_0x42765a(0x342)][_0x42765a(0x337)](),super[_0x42765a(0x207)]();}};Z=H([V(0x0,_0x21dd2a(_0x462145)),V(0x1,_0x21dd2a(_0x1b5b85)),V(0x2,_0x2cccf3)],Z);let Q=class extends _0x5c8699{constructor(_0x26d66e,_0x2ef0e2,_0x288192,_0x26e9ba,_0x2eae10){const _0x56033d=_0x193d94;super(),this[_0x56033d(0x1d5)]=_0x26d66e,this[_0x56033d(0x284)]=_0x2ef0e2,this['_modelService']=_0x288192,this[_0x56033d(0x1c0)]=_0x26e9ba,this[_0x56033d(0x275)]=_0x2eae10,B(this,'_hostContextMap',new Map()),B(this,_0x56033d(0x199),new Map()),B(this,_0x56033d(0x36b),new Map()),B(this,'_hostLayoutSubscriptions',new Map()),B(this,'_runtimeRenderSubscriptions',new Map()),B(this,_0x56033d(0x26d),new Map()),B(this,_0x56033d(0x22e),new Map()),B(this,_0x56033d(0x36e),new Set()),B(this,_0x56033d(0x342),new Map()),B(this,_0x56033d(0x27b),new _0x299fdc()),B(this,'_imageUpdated$',new _0x299fdc()),B(this,'_domReadyChanged$',new _0x299fdc()),B(this,_0x56033d(0x28d),new _0x299fdc()),B(this,'removeHost$',this[_0x56033d(0x27b)]['asObservable']()),B(this,'imageUpdated$',this[_0x56033d(0x24e)][_0x56033d(0x288)]()),B(this,_0x56033d(0x37e),this[_0x56033d(0x17f)][_0x56033d(0x288)]()),B(this,_0x56033d(0x22c),this['_layoutChanged$']['asObservable']()),this[_0x56033d(0x145)](_0x2f3a4e(this[_0x56033d(0x275)][_0x56033d(0x380)][_0x56033d(0x322)](({chartId:_0x4cfc88})=>{const _0x4dd01d=_0x56033d;this[_0x4dd01d(0x364)](_0x4cfc88);})));}[_0x193d94(0x320)](_0x416abb){const _0x110df3=_0x193d94;let _0x35a82f=Symbol(_0x416abb[_0x110df3(0x2b3)]),_0x29e2e6=this[_0x110df3(0x1bb)](_0x416abb),_0x57f361=this[_0x110df3(0x199)]['get'](_0x416abb[_0x110df3(0x2b3)]);return _0x57f361||(_0x57f361=new Map(),this[_0x110df3(0x199)][_0x110df3(0x305)](_0x416abb[_0x110df3(0x2b3)],_0x57f361)),_0x57f361[_0x110df3(0x305)](_0x29e2e6,{'context':_0x416abb,'token':_0x35a82f}),this[_0x110df3(0x33e)]['set'](_0x416abb[_0x110df3(0x2b3)],this['_selectHostContext'](_0x57f361)),this['syncHostLayout'](_0x416abb['chartId']),this[_0x110df3(0x364)](_0x416abb[_0x110df3(0x2b3)]),{'dispose':()=>{const _0x37f33a=_0x110df3;let _0x3d84b2=this[_0x37f33a(0x199)][_0x37f33a(0x299)](_0x416abb['chartId']);if(!_0x3d84b2)return;let _0x529ad4=_0x3d84b2[_0x37f33a(0x299)](_0x29e2e6);if((_0x529ad4==null?void 0x0:_0x529ad4[_0x37f33a(0x259)])===_0x35a82f){if(_0x416abb[_0x37f33a(0x1d6)]===_0x3d9df9[_0x37f33a(0x336)]&&_0x416abb[_0x37f33a(0x34a)]&&!this[_0x37f33a(0x342)]['has'](_0x416abb[_0x37f33a(0x2b3)])){_0x3d84b2[_0x37f33a(0x305)](_0x29e2e6,{'context':{..._0x529ad4[_0x37f33a(0x1dd)],'imageObject':void 0x0},'token':_0x35a82f,'detached':!0x0}),this[_0x37f33a(0x33e)][_0x37f33a(0x305)](_0x416abb[_0x37f33a(0x2b3)],this[_0x37f33a(0x148)](_0x3d84b2));return;}if(_0x3d84b2['delete'](_0x29e2e6),!(_0x3d84b2!=null&&_0x3d84b2[_0x37f33a(0x311)])){this[_0x37f33a(0x33e)][_0x37f33a(0x19d)](_0x416abb[_0x37f33a(0x2b3)]),this[_0x37f33a(0x199)][_0x37f33a(0x19d)](_0x416abb[_0x37f33a(0x2b3)]),this[_0x37f33a(0x1a1)](_0x416abb['chartId']);return;}this[_0x37f33a(0x33e)]['set'](_0x416abb[_0x37f33a(0x2b3)],this['_selectHostContext'](_0x3d84b2)),this['syncHostLayout'](_0x416abb[_0x37f33a(0x2b3)]);}}};}[_0x193d94(0x204)](_0x284147){const _0x57b6fc=_0x193d94;return this[_0x57b6fc(0x33e)]['get'](_0x284147);}['ensureHost'](_0x19f886,_0x3fe920){const _0x578029=_0x193d94;return _0x3fe920===_0x1aa0d9[_0x578029(0x2a3)]?this[_0x578029(0x2e8)](_0x19f886):this[_0x578029(0x366)](_0x19f886);}[_0x193d94(0x361)](_0xcbcf63){const _0x54ab25=_0x193d94;return this['_lastImageDataUrlMap'][_0x54ab25(0x299)](_0xcbcf63);}['commitImageHost'](_0x24af21,_0x668e7){const _0x19853e=_0x193d94;if(!(_0x668e7 instanceof _0x5c6372))return;let _0xe575f7=_0x668e7['getDataUrl']();_0xe575f7&&this[_0x19853e(0x378)](_0x24af21,_0xe575f7);}async[_0x193d94(0x364)](_0x3bbbf0){const _0x2f68a4=_0x193d94;this[_0x2f68a4(0x22e)]['set'](_0x3bbbf0,Symbol(_0x3bbbf0));let _0x3e4ce3=this['_renderQueueMap'][_0x2f68a4(0x299)](_0x3bbbf0);if(_0x3e4ce3)return _0x3e4ce3[_0x2f68a4(0x2f2)]=!0x0,_0x3e4ce3[_0x2f68a4(0x2bf)];let _0x184518={'requested':!0x0,'promise':Promise[_0x2f68a4(0x26c)]()};return _0x184518[_0x2f68a4(0x2bf)]=this[_0x2f68a4(0x36f)](_0x3bbbf0,_0x184518)['finally'](()=>{const _0x55cda6=_0x2f68a4;this['_renderQueueMap']['get'](_0x3bbbf0)===_0x184518&&this[_0x55cda6(0x26d)][_0x55cda6(0x19d)](_0x3bbbf0);}),this[_0x2f68a4(0x26d)]['set'](_0x3bbbf0,_0x184518),_0x184518[_0x2f68a4(0x2bf)];}async[_0x193d94(0x36f)](_0x45c14a,_0x427dd4){const _0x51afff=_0x193d94;for(;_0x427dd4[_0x51afff(0x2f2)];){_0x427dd4[_0x51afff(0x2f2)]=!0x1;let _0x396cbf=this[_0x51afff(0x22e)][_0x51afff(0x299)](_0x45c14a);if(!_0x396cbf)return;await this[_0x51afff(0x20e)](_0x45c14a,_0x396cbf);}}async['_renderChartOnce'](_0x1e3ee9,_0x18baa2){const _0x12903c=_0x193d94;let _0x50bd38=this['_hostContextMap'][_0x12903c(0x299)](_0x1e3ee9);if(!_0x50bd38)return;let _0x2a5852=this[_0x12903c(0x2ec)][_0x12903c(0x1a8)](_0x50bd38[_0x12903c(0x206)],_0x1e3ee9);if(!_0x2a5852)return;this['_bindRuntimeRenderListener'](_0x2a5852);let _0x1297e0=_0x2a5852['configRevision'];if(!(!await this['_waitForCurrentChartConfig'](_0x2a5852,_0x1297e0)||this['_renderRequestTokenMap'][_0x12903c(0x299)](_0x1e3ee9)!==_0x18baa2)){if(this[_0x12903c(0x186)](_0x1e3ee9,_0x1d06ce=>{const _0x539281=_0x12903c;var _0x10cab6,_0x3c8b97;(_0x10cab6=_0x1d06ce[_0x539281(0x182)])==null||(_0x3c8b97=_0x10cab6['setChartStroke'])==null||_0x3c8b97[_0x539281(0x1d1)](_0x10cab6,nr(_0x2a5852[_0x539281(0x323)][_0x539281(0x1db)],_0x1d06ce['stroke']));}),this[_0x12903c(0x275)][_0x12903c(0x26e)](_0x1e3ee9)===_0x1aa0d9[_0x12903c(0x2a3)]){await this[_0x12903c(0x34b)](_0x2a5852,_0x18baa2);return;}await this[_0x12903c(0x29e)](_0x2a5852,_0x18baa2);}}async[_0x193d94(0x34b)](_0x54878b,_0x2ff159){const _0x38728d=_0x193d94;let {chartId:_0x10f2f0}=_0x54878b;this[_0x38728d(0x1c0)][_0x38728d(0x2e7)](_0x10f2f0,!0x1),this['_removeDomHost'](_0x10f2f0);let _0x2411ce=this[_0x38728d(0x362)](_0x10f2f0,_0x1aa0d9[_0x38728d(0x2a3)]);if(_0x2411ce)try{if(await this['_renderService'][_0x38728d(0x2a1)](_0x54878b,_0x2411ce),this['_renderRequestTokenMap'][_0x38728d(0x299)](_0x10f2f0)!==_0x2ff159)return;this[_0x38728d(0x22a)](_0x10f2f0,_0x2411ce);}catch{}}async['_renderDomChart'](_0x596ee6,_0x4c0dac){const _0x5343cc=_0x193d94;let {chartId:_0x5bbaff}=_0x596ee6;this[_0x5343cc(0x1c0)][_0x5343cc(0x2e7)](_0x5bbaff,!0x0);let _0x21aef8=this[_0x5343cc(0x362)](_0x5bbaff,_0x1aa0d9['Dom']);if(_0x21aef8)try{if(await this[_0x5343cc(0x1c0)][_0x5343cc(0x2a1)](_0x596ee6,_0x21aef8),this[_0x5343cc(0x22e)][_0x5343cc(0x299)](_0x5bbaff)!==_0x4c0dac)return;_0x21aef8[_0x5343cc(0x329)]();try{let _0x5525f2=await this['_renderService'][_0x5343cc(0x36a)](_0x5bbaff);_0x5525f2&&this[_0x5343cc(0x22e)]['get'](_0x5bbaff)===_0x4c0dac&&this[_0x5343cc(0x378)](_0x5bbaff,_0x5525f2);}catch{}}catch{this[_0x5343cc(0x22e)][_0x5343cc(0x299)](_0x5bbaff)===_0x4c0dac&&_0x21aef8['markNotReady']();}}[_0x193d94(0x1a1)](_0x48e533){const _0x5550c7=_0x193d94;this[_0x5550c7(0x22e)][_0x5550c7(0x19d)](_0x48e533),this[_0x5550c7(0x20f)](_0x48e533),this['_disposeRuntimeRenderListener'](_0x48e533),this[_0x5550c7(0x1c0)][_0x5550c7(0x2b4)](_0x48e533);}[_0x193d94(0x20f)](_0x3ee8dd){const _0x1ec60b=_0x193d94;let _0xa6e9ce=this[_0x1ec60b(0x36b)][_0x1ec60b(0x299)](_0x3ee8dd);_0xa6e9ce&&(_0xa6e9ce[_0x1ec60b(0x207)](),this[_0x1ec60b(0x36b)][_0x1ec60b(0x19d)](_0x3ee8dd),this[_0x1ec60b(0x158)](_0x3ee8dd),this[_0x1ec60b(0x27b)][_0x1ec60b(0x28c)](_0x3ee8dd));}[_0x193d94(0x35d)](_0x4a084b){const _0x22454c=_0x193d94;let _0x533b79=this[_0x22454c(0x36b)][_0x22454c(0x299)](_0x4a084b);_0x533b79&&(this[_0x22454c(0x21c)](_0x4a084b,_0x533b79),_0x533b79[_0x22454c(0x1aa)](),this[_0x22454c(0x28d)][_0x22454c(0x28c)](_0x4a084b));}[_0x193d94(0x1eb)](_0x43b27e){var _0x47baa2;return((_0x47baa2=this['_domHostMap']['get'](_0x43b27e))==null?void 0x0:_0x47baa2['checkMounted']())??!0x1;}[_0x193d94(0x1f6)](_0x3c1a46){const _0x5d937f=_0x193d94;return this[_0x5d937f(0x36e)][_0x5d937f(0x309)](_0x3c1a46);}[_0x193d94(0x142)](_0x193c12){const _0x50a564=_0x193d94;this[_0x50a564(0x36e)][_0x50a564(0x309)](_0x193c12)||(this[_0x50a564(0x36e)][_0x50a564(0x219)](_0x193c12),this[_0x50a564(0x17f)]['next'](_0x193c12),this[_0x50a564(0x34f)](_0x193c12));}['markHostNotReady'](_0x1f395b){const _0x30d4cb=_0x193d94;this[_0x30d4cb(0x36e)][_0x30d4cb(0x19d)](_0x1f395b)&&(this['_domReadyChanged$']['next'](_0x1f395b),this['_requestChartCanvasRender'](_0x1f395b));}[_0x193d94(0x2c7)](_0x2239f5,_0x4e8cba){const _0x41ef8e=_0x193d94;let _0x32a45c=this['_hostContextMap'][_0x41ef8e(0x299)](_0x2239f5);if(!_0x32a45c)return null;let _0x42bef5=this[_0x41ef8e(0x212)](_0x32a45c),_0x5a7770=(_0x42bef5==null?void 0x0:_0x42bef5['left'])??_0x32a45c[_0x41ef8e(0x1f4)]['element'][_0x41ef8e(0x349)][_0x41ef8e(0x381)]??0x0,_0x1e6f8a=(_0x42bef5==null?void 0x0:_0x42bef5[_0x41ef8e(0x316)])??_0x32a45c[_0x41ef8e(0x1f4)][_0x41ef8e(0x13c)][_0x41ef8e(0x349)]['top']??0x0,_0x3ab13c=_0x4e8cba?{'left':_0x5a7770+_0x4e8cba[_0x41ef8e(0x381)],'top':_0x1e6f8a+_0x4e8cba[_0x41ef8e(0x316)],'right':_0x5a7770+_0x4e8cba['right'],'bottom':_0x1e6f8a+_0x4e8cba['bottom']}:{'left':_0x5a7770,'top':_0x1e6f8a,'right':_0x5a7770+((_0x42bef5==null?void 0x0:_0x42bef5['width'])??_0x32a45c['width']),'bottom':_0x1e6f8a+((_0x42bef5==null?void 0x0:_0x42bef5['height'])??_0x32a45c['height'])};return this['_transformCanvasBoundToClientBound'](_0x32a45c[_0x41ef8e(0x206)],_0x3ab13c);}[_0x193d94(0x2e8)](_0x1f3557){const _0x244a00=_0x193d94;let _0x417025=this[_0x244a00(0x33e)][_0x244a00(0x299)](_0x1f3557);return _0x417025?new _0x5c6372(_0x1f3557,{'width':_0x417025[_0x244a00(0x27e)],'height':_0x417025[_0x244a00(0x231)]}):null;}[_0x193d94(0x366)](_0x8fd532){const _0x2ea600=_0x193d94;let _0x352739=this[_0x2ea600(0x33e)][_0x2ea600(0x299)](_0x8fd532);if(!_0x352739||typeof document>'u')return null;let _0x2f05e6=this[_0x2ea600(0x36b)][_0x2ea600(0x299)](_0x8fd532);if(_0x2f05e6)return this[_0x2ea600(0x21c)](_0x8fd532,_0x2f05e6),_0x2f05e6;let _0x69d7e=document[_0x2ea600(0x1c7)]('div');_0x69d7e[_0x2ea600(0x335)][_0x2ea600(0x27a)]='slide-chart-dom-host',_0x69d7e['dataset'][_0x2ea600(0x2b3)]=_0x8fd532,_0x69d7e['style'][_0x2ea600(0x30f)]=String(_0x490099),_0x69d7e[_0x2ea600(0x1db)][_0x2ea600(0x213)]=_0x2ea600(0x141),_0x69d7e[_0x2ea600(0x1db)][_0x2ea600(0x14f)]=_0x2ea600(0x340),_0x69d7e[_0x2ea600(0x1db)][_0x2ea600(0x15e)]=_0x2ea600(0x333),_0x69d7e[_0x2ea600(0x1db)][_0x2ea600(0x1ed)]=_0x2ea600(0x289);let _0x13d2fb=this[_0x2ea600(0x164)](_0x352739[_0x2ea600(0x206)]);_0x69d7e[_0x2ea600(0x1db)][_0x2ea600(0x2d8)]=_0x13d2fb?_0x2ea600(0x14e):_0x2ea600(0x1b0),(_0x13d2fb??document['body'])[_0x2ea600(0x194)](_0x69d7e);let _0x2ebcff=new rr(_0x8fd532,_0x69d7e,(_0x241011,_0xb83d07)=>{const _0x28b2ba=_0x2ea600;var _0x35c621;let _0x29939b=this[_0x28b2ba(0x33e)][_0x28b2ba(0x299)](_0x8fd532),_0x3c0779=_0x29939b?(_0x35c621=this[_0x28b2ba(0x2ec)][_0x28b2ba(0x346)](_0x29939b[_0x28b2ba(0x206)],_0x8fd532))==null?void 0x0:_0x35c621[_0x28b2ba(0x323)][_0x28b2ba(0x1db)]:void 0x0,_0x390d11=_0x29939b?nr(_0x3c0779,_0x29939b[_0x28b2ba(0x29f)]):void 0x0;_0x241011[_0x28b2ba(0x1db)][_0x28b2ba(0x140)]=tr(_0x390d11)?_0x390d11['width']+_0x28b2ba(0x2a4)+_0x390d11[_0x28b2ba(0x308)]:'',_0x241011['style'][_0x28b2ba(0x2f9)]=_0xb83d07['fill']??'',_0x241011[_0x28b2ba(0x1db)][_0x28b2ba(0x2be)]=_0x488eb4+'px';},()=>{const _0x5231da=_0x2ea600;let _0x416083=this[_0x5231da(0x33e)][_0x5231da(0x299)](_0x8fd532);return _0x416083?{'width':_0x416083['width'],'height':_0x416083[_0x5231da(0x231)]}:null;},()=>this['markHostReady'](_0x8fd532),()=>this[_0x2ea600(0x294)](_0x8fd532));return this[_0x2ea600(0x36b)]['set'](_0x8fd532,_0x2ebcff),this[_0x2ea600(0x21d)](_0x8fd532),this['_applyDomHostLayout'](_0x8fd532,_0x2ebcff),_0x2ebcff;}[_0x193d94(0x21d)](_0x279a56){const _0x56ca09=_0x193d94;this[_0x56ca09(0x158)](_0x279a56);let _0x2e5378=this[_0x56ca09(0x33e)][_0x56ca09(0x299)](_0x279a56),_0x215479=_0x2e5378?this[_0x56ca09(0x1d5)][_0x56ca09(0x2c2)](_0x2e5378[_0x56ca09(0x206)]):null;if(!_0x2e5378||!_0x215479)return;let _0x24045f=[],_0x611ef6=()=>this[_0x56ca09(0x35d)](_0x279a56),_0x22003f=_0x215479[_0x56ca09(0x2d7)][_0x56ca09(0x2a5)](_0x4da093);_0x22003f&&_0x24045f['push'](_0x2f3a4e(_0x22003f['onScrollAfter$'][_0x56ca09(0x138)](_0x611ef6))),_0x24045f['push'](_0x2f3a4e(_0x215479[_0x56ca09(0x1f5)][_0x56ca09(0x179)][_0x56ca09(0x138)](_0x611ef6))),_0x24045f['push'](_0x2f3a4e(_0x215479['scene']['onTransformChange$'][_0x56ca09(0x138)](_0x611ef6)));let _0x100de1=this['_getChartRenderObject'](_0x2e5378);_0x100de1!=null&&_0x100de1[_0x56ca09(0x179)]&&_0x24045f[_0x56ca09(0x36c)](_0x2f3a4e(_0x100de1[_0x56ca09(0x179)][_0x56ca09(0x138)](_0x611ef6))),this[_0x56ca09(0x272)][_0x56ca09(0x305)](_0x279a56,_0x24045f);}['_disposeHostLayoutListeners'](_0x2f1dac){const _0x53bd09=_0x193d94;var _0x1b1b66;(_0x1b1b66=this[_0x53bd09(0x272)][_0x53bd09(0x299)](_0x2f1dac))==null||_0x1b1b66[_0x53bd09(0x2a7)](_0x48b781=>_0x48b781['dispose']()),this[_0x53bd09(0x272)][_0x53bd09(0x19d)](_0x2f1dac);}[_0x193d94(0x377)](_0x14500a){const _0x123fec=_0x193d94;if(this[_0x123fec(0x35b)]['has'](_0x14500a[_0x123fec(0x2b3)]))return;let _0x46dab8=_0x4fe0cb([_0x14500a[_0x123fec(0x323)][_0x123fec(0x239)],_0x14500a['model'][_0x123fec(0x2e1)],this[_0x123fec(0x284)][_0x123fec(0x21a)]])['pipe'](_0x1e1b0e(0x1))[_0x123fec(0x322)](()=>{queueMicrotask(()=>{const _0x35cbc=_0x1378;this[_0x35cbc(0x364)](_0x14500a[_0x35cbc(0x2b3)]);});});this[_0x123fec(0x35b)]['set'](_0x14500a[_0x123fec(0x2b3)],{'dispose':()=>_0x46dab8[_0x123fec(0x2cd)]()});}async[_0x193d94(0x209)](_0x1cacd3,_0x55d135){const _0x3f137c=_0x193d94;let {model:_0xeee55a}=_0x1cacd3,_0x5e1d04=()=>{const _0x4b0cbd=_0x1378;let _0x507156=_0xeee55a[_0x4b0cbd(0x1e6)];return _0x1cacd3[_0x4b0cbd(0x2ab)]>=_0x55d135&&_0x507156!=null&&_0x507156[_0x4b0cbd(0x2d1)]===_0xeee55a[_0x4b0cbd(0x33c)];};if(_0x5e1d04())return!0x0;try{await _0x1a9be3(_0x1cacd3[_0x3f137c(0x382)][_0x3f137c(0x2c3)](_0x738fb0(_0x203338=>{const _0x556411=_0x3f137c;var _0x983de7;return _0x203338>=_0x55d135&&((_0x983de7=_0xeee55a[_0x556411(0x1e6)])==null?void 0x0:_0x983de7[_0x556411(0x2d1)])===_0xeee55a[_0x556411(0x33c)];}),_0x47789d(0x1),_0x117c8e({'first':0x3e8})));}catch{return _0x5e1d04();}return _0x5e1d04();}[_0x193d94(0x27c)](_0x13b0dd){const _0x3cec02=_0x193d94;var _0xf116d6;(_0xf116d6=this[_0x3cec02(0x35b)]['get'](_0x13b0dd))==null||_0xf116d6['dispose'](),this[_0x3cec02(0x35b)][_0x3cec02(0x19d)](_0x13b0dd);}[_0x193d94(0x21c)](_0x164f3d,_0x574f80){const _0x4f3ac4=_0x193d94;let _0x45dce1=this[_0x4f3ac4(0x33e)][_0x4f3ac4(0x299)](_0x164f3d);if(!_0x45dce1)return;let _0x59b327=this['_getChartRenderObject'](_0x45dce1),_0x3b3b09=(_0x59b327==null?void 0x0:_0x59b327[_0x4f3ac4(0x381)])??_0x45dce1[_0x4f3ac4(0x1f4)][_0x4f3ac4(0x13c)][_0x4f3ac4(0x349)][_0x4f3ac4(0x381)]??0x0,_0x1a1b9f=(_0x59b327==null?void 0x0:_0x59b327[_0x4f3ac4(0x316)])??_0x45dce1[_0x4f3ac4(0x1f4)][_0x4f3ac4(0x13c)][_0x4f3ac4(0x349)][_0x4f3ac4(0x316)]??0x0,_0x337c6a=Math[_0x4f3ac4(0x300)](_0x44d4b8,(_0x59b327==null?void 0x0:_0x59b327[_0x4f3ac4(0x27e)])??_0x45dce1[_0x4f3ac4(0x27e)]),_0x198423=Math[_0x4f3ac4(0x300)](_0x44d4b8,(_0x59b327==null?void 0x0:_0x59b327[_0x4f3ac4(0x231)])??_0x45dce1[_0x4f3ac4(0x231)]),_0x2b9b50=(_0x59b327==null?void 0x0:_0x59b327['angle'])??_0x45dce1[_0x4f3ac4(0x1f4)][_0x4f3ac4(0x13c)][_0x4f3ac4(0x349)][_0x4f3ac4(0x319)]??0x0,_0x2e2e2d=this[_0x4f3ac4(0x164)](_0x45dce1['unitId']),_0x504748=_0x574f80[_0x4f3ac4(0x22d)]();if(_0x2e2e2d){_0x504748[_0x4f3ac4(0x247)]!==_0x2e2e2d&&_0x2e2e2d[_0x4f3ac4(0x194)](_0x504748),_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x2d8)]=_0x4f3ac4(0x14e),_0x504748[_0x4f3ac4(0x1db)]['left']=_0x3b3b09+'px',_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x316)]=_0x1a1b9f+'px',_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x27e)]=_0x337c6a+'px',_0x504748[_0x4f3ac4(0x1db)]['height']=_0x198423+'px',_0x504748[_0x4f3ac4(0x1db)]['transform']=_0x4f3ac4(0x149)+_0x2b9b50+'deg)';return;}let _0x37b313=this[_0x4f3ac4(0x1e7)](_0x45dce1['unitId']),_0x2ecf6e=this[_0x4f3ac4(0x2eb)](_0x45dce1['unitId'],{'left':_0x3b3b09,'top':_0x1a1b9f,'right':_0x3b3b09+_0x337c6a,'bottom':_0x1a1b9f+_0x198423});!_0x37b313||!_0x2ecf6e||(_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x2d8)]=_0x4f3ac4(0x1b0),_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x381)]=_0x2ecf6e['left']+_0x337c6a*(_0x37b313[_0x4f3ac4(0x25e)]-0x1)/0x2+'px',_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x316)]=_0x2ecf6e['top']+_0x198423*(_0x37b313[_0x4f3ac4(0x17c)]-0x1)/0x2+'px',_0x504748['style'][_0x4f3ac4(0x27e)]=_0x337c6a+'px',_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x231)]=_0x198423+'px',_0x504748[_0x4f3ac4(0x1db)][_0x4f3ac4(0x349)]=_0x4f3ac4(0x32d)+_0x37b313[_0x4f3ac4(0x25e)]+',\x20'+_0x37b313[_0x4f3ac4(0x17c)]+_0x4f3ac4(0x147)+_0x2b9b50+_0x4f3ac4(0x2f0));}[_0x193d94(0x164)](_0x2cc054){const _0x5d5165=_0x193d94;return typeof document>'u'?null:Array[_0x5d5165(0x273)](document[_0x5d5165(0x1f8)](_0x5d5165(0x2fd)))['find'](_0x41b843=>_0x41b843[_0x5d5165(0x335)][_0x5d5165(0x151)]===_0x2cc054)??null;}[_0x193d94(0x1e7)](_0x3a65b3){const _0x18a1fa=_0x193d94;let _0x553c7f=this[_0x18a1fa(0x1d5)]['getRenderUnitById'](_0x3a65b3),_0x37e8ee=_0x553c7f==null?void 0x0:_0x553c7f[_0x18a1fa(0x1f5)][_0x18a1fa(0x1d4)]();if(!_0x553c7f||!_0x37e8ee)return null;let {scaleX:_0x5be6fc,scaleY:_0x246739}=_0x553c7f[_0x18a1fa(0x2d7)][_0x18a1fa(0x370)](),_0x3584ac=_0x37e8ee[_0x18a1fa(0x374)](),_0x49b59a=_0x2cce3e(_0x37e8ee['style']['width']),_0x163cb2=_0x49b59a>0x0?_0x3584ac[_0x18a1fa(0x27e)]/_0x49b59a:0x1;return{'scaleX':_0x5be6fc*_0x163cb2,'scaleY':_0x246739*_0x163cb2};}[_0x193d94(0x2eb)](_0x413ae9,_0x441e55){const _0x61ed7a=_0x193d94;let _0x33e6b4=this[_0x61ed7a(0x1d5)][_0x61ed7a(0x2c2)](_0x413ae9),_0x284a4a=_0x33e6b4==null?void 0x0:_0x33e6b4[_0x61ed7a(0x1f5)]['getCanvasElement'](),_0x25a719=this[_0x61ed7a(0x1e7)](_0x413ae9);if(!_0x33e6b4||!_0x284a4a||!_0x25a719)return null;let _0xba2774=_0x33e6b4[_0x61ed7a(0x2d7)][_0x61ed7a(0x2a5)](_0x4da093),_0x1402e1=(_0xba2774==null?void 0x0:_0xba2774['viewportScrollX'])??0x0,_0x5b9123=(_0xba2774==null?void 0x0:_0xba2774[_0x61ed7a(0x185)])??0x0,_0x180b59=_0x284a4a['getBoundingClientRect']();return{'left':(_0x441e55[_0x61ed7a(0x381)]-_0x1402e1)*_0x25a719[_0x61ed7a(0x25e)]+_0x180b59[_0x61ed7a(0x381)],'right':(_0x441e55[_0x61ed7a(0x35c)]-_0x1402e1)*_0x25a719[_0x61ed7a(0x25e)]+_0x180b59[_0x61ed7a(0x381)],'top':(_0x441e55[_0x61ed7a(0x316)]-_0x5b9123)*_0x25a719['scaleY']+_0x180b59[_0x61ed7a(0x316)],'bottom':(_0x441e55[_0x61ed7a(0x2bd)]-_0x5b9123)*_0x25a719[_0x61ed7a(0x17c)]+_0x180b59[_0x61ed7a(0x316)]};}[_0x193d94(0x212)](_0x178bd5){const _0x18c923=_0x193d94;var _0x573fe9,_0x5d3742;let _0x114c0c=(_0x573fe9=this[_0x18c923(0x1d5)]['getRenderUnitById'](_0x178bd5[_0x18c923(0x206)]))==null?void 0x0:_0x573fe9[_0x18c923(0x2d7)],_0x4cf896=_0x2afa14(_0x178bd5['unitId'],_0x178bd5[_0x18c923(0x1b3)],_0x178bd5[_0x18c923(0x1e8)]);return(_0x114c0c==null||(_0x5d3742=_0x114c0c[_0x18c923(0x1bd)])==null?void 0x0:_0x5d3742[_0x18c923(0x1d1)](_0x114c0c,_0x4cf896))??(_0x114c0c==null?void 0x0:_0x114c0c[_0x18c923(0x202)](_0x4cf896))??null;}['_requestChartCanvasRender'](_0x516f64){const _0x46998b=_0x193d94;var _0x1e323c,_0x10fde2;let _0x460a9d=this['_hostContextMap']['get'](_0x516f64);if(!_0x460a9d)return;this[_0x46998b(0x186)](_0x516f64,_0x65af10=>{const _0x20aabf=_0x46998b;var _0x41e122,_0x5d9d2c,_0x55b83e;(_0x41e122=_0x65af10[_0x20aabf(0x182)])==null||(_0x5d9d2c=_0x41e122[_0x20aabf(0x2b7)])==null||_0x5d9d2c[_0x20aabf(0x1d1)](_0x41e122,!0x0),(_0x55b83e=_0x65af10[_0x20aabf(0x34a)])==null||_0x55b83e['call'](_0x65af10);});let _0x39e708=(_0x1e323c=this[_0x46998b(0x1d5)][_0x46998b(0x2c2)](_0x460a9d[_0x46998b(0x206)]))==null?void 0x0:_0x1e323c[_0x46998b(0x2d7)],_0x253fa4=this[_0x46998b(0x212)](_0x460a9d);_0x253fa4==null||(_0x10fde2=_0x253fa4[_0x46998b(0x2b7)])==null||_0x10fde2['call'](_0x253fa4,!0x0),_0x39e708==null||_0x39e708[_0x46998b(0x2b7)](!0x0),_0x39e708==null||_0x39e708['render']();}['_forEachHostContext'](_0x2969ee,_0x2ed7f3){const _0x1b8270=_0x193d94;var _0x20ee08;(_0x20ee08=this[_0x1b8270(0x199)][_0x1b8270(0x299)](_0x2969ee))==null||_0x20ee08['forEach'](({context:_0x550daa})=>_0x2ed7f3(_0x550daa));}[_0x193d94(0x148)](_0x4b0cef){const _0x14c41d=_0x193d94;let _0x56cebd=Array['from'](_0x4b0cef['values'](),({context:_0x4346de})=>_0x4346de);return _0x56cebd[_0x14c41d(0x298)](_0x4ad404=>_0x4ad404[_0x14c41d(0x1d6)]==null||_0x4ad404[_0x14c41d(0x1d6)]===_0x3d9df9[_0x14c41d(0x150)])??_0x56cebd[_0x14c41d(0x298)](_0xab0416=>_0xab0416[_0x14c41d(0x1d6)]===_0x3d9df9[_0x14c41d(0x1be)])??_0x56cebd[_0x56cebd[_0x14c41d(0x16f)]-0x1];}[_0x193d94(0x1bb)](_0x44f7ba){const _0x5969ad=_0x193d94;return[_0x44f7ba['unitId'],_0x44f7ba['subUnitId'],_0x44f7ba['drawingId'],_0x44f7ba[_0x5969ad(0x1d6)]??_0x3d9df9[_0x5969ad(0x150)]][_0x5969ad(0x193)]('::');}[_0x193d94(0x378)](_0x2179f3,_0xb6ee98){const _0x2644f0=_0x193d94;this[_0x2644f0(0x342)]['set'](_0x2179f3,_0xb6ee98),this[_0x2644f0(0x186)](_0x2179f3,_0x5eb6da=>{const _0x3b6c5a=_0x2644f0;var _0x3af5c4;(_0x3af5c4=_0x5eb6da[_0x3b6c5a(0x182)])==null||_0x3af5c4[_0x3b6c5a(0x245)](_0xb6ee98);}),this[_0x2644f0(0x24e)]['next'](_0x2179f3),this[_0x2644f0(0x34f)](_0x2179f3),this[_0x2644f0(0x36d)](_0x2179f3);}['_releaseDetachedThumbnailContexts'](_0x365057){const _0x79e2d4=_0x193d94;let _0x2e6ffd=this[_0x79e2d4(0x199)][_0x79e2d4(0x299)](_0x365057);if(_0x2e6ffd==null||_0x2e6ffd[_0x79e2d4(0x2a7)]((_0x5c3828,_0x10863a)=>{const _0x4cc6e4=_0x79e2d4;_0x5c3828[_0x4cc6e4(0x221)]&&_0x2e6ffd[_0x4cc6e4(0x19d)](_0x10863a);}),!(_0x2e6ffd!=null&&_0x2e6ffd[_0x79e2d4(0x311)])){this[_0x79e2d4(0x33e)][_0x79e2d4(0x19d)](_0x365057),this[_0x79e2d4(0x199)][_0x79e2d4(0x19d)](_0x365057),this[_0x79e2d4(0x1a1)](_0x365057);return;}this['_hostContextMap'][_0x79e2d4(0x305)](_0x365057,this[_0x79e2d4(0x148)](_0x2e6ffd)),this[_0x79e2d4(0x35d)](_0x365057);}[_0x193d94(0x207)](){const _0xf3aea2=_0x193d94;this[_0xf3aea2(0x2ad)]||(this[_0xf3aea2(0x36b)][_0xf3aea2(0x2a7)](_0x5018af=>_0x5018af[_0xf3aea2(0x207)]()),this[_0xf3aea2(0x36b)][_0xf3aea2(0x337)](),this[_0xf3aea2(0x272)][_0xf3aea2(0x2a7)](_0x923095=>{const _0x211022=_0xf3aea2;_0x923095[_0x211022(0x2a7)](_0x42823a=>_0x42823a[_0x211022(0x207)]());}),this[_0xf3aea2(0x272)]['clear'](),this[_0xf3aea2(0x35b)]['forEach'](_0x172ff3=>_0x172ff3['dispose']()),this[_0xf3aea2(0x35b)][_0xf3aea2(0x337)](),this[_0xf3aea2(0x26d)][_0xf3aea2(0x337)](),this[_0xf3aea2(0x22e)]['clear'](),this[_0xf3aea2(0x36e)]['clear'](),this[_0xf3aea2(0x33e)][_0xf3aea2(0x337)](),this[_0xf3aea2(0x199)][_0xf3aea2(0x337)](),this[_0xf3aea2(0x342)][_0xf3aea2(0x337)](),this[_0xf3aea2(0x27b)][_0xf3aea2(0x208)](),this[_0xf3aea2(0x24e)]['complete'](),this['_domReadyChanged$'][_0xf3aea2(0x208)](),this[_0xf3aea2(0x28d)]['complete'](),super[_0xf3aea2(0x207)]());}};Q=H([V(0x0,_0x361b2f),V(0x1,_0x21dd2a(_0x462145)),V(0x2,_0x21dd2a(_0x346b93)),V(0x3,_0x21dd2a(Z)),V(0x4,_0x21dd2a(Yn))],Q);const ir='slides-chart-element-float-menu';let ar=class extends _0x5c8699{constructor(_0x1a94b6,_0x4ef628,_0x42d61c,_0x141344,_0x448264,_0x5a5d2f,_0x20502c,_0x1e812d,_0xdb505a,_0x3cdea8){const _0x42fae6=_0x193d94;super(),this[_0x42fae6(0x2fe)]=_0x1a94b6,this[_0x42fae6(0x2a0)]=_0x4ef628,this[_0x42fae6(0x2da)]=_0x42d61c,this['_chartHostProvider']=_0x141344,this['_slideCanvasPopManagerService']=_0x448264,this[_0x42fae6(0x328)]=_0x5a5d2f,this[_0x42fae6(0x267)]=_0x20502c,this[_0x42fae6(0x171)]=_0x1e812d,this['_univerInstanceService']=_0xdb505a,this[_0x42fae6(0x258)]=_0x3cdea8,B(this,'_popupDisposable',null),B(this,_0x42fae6(0x203),null),this[_0x42fae6(0x210)](),this['_subscribeChartEvents']();}[_0x193d94(0x207)](){const _0x1c7f27=_0x193d94;this['_closePopup'](),super[_0x1c7f27(0x207)]();}[_0x193d94(0x210)](){const _0x12a5ba=_0x193d94;let _0x417d28=_0x21e2b8({'chartUIService':this[_0x12a5ba(0x328)],'getHostAdapter':_0x5c1508=>{const _0x33cf2e=_0x12a5ba;this[_0x33cf2e(0x172)](_0x5c1508['chartId']);let _0x1e08d4=this[_0x33cf2e(0x2fe)]['getChartModel'](_0x5c1508[_0x33cf2e(0x206)],_0x5c1508[_0x33cf2e(0x2b3)]),_0x164bcc=this[_0x33cf2e(0x1fa)][_0x33cf2e(0x1c6)](_0x5c1508[_0x33cf2e(0x206)],_0x42c74e[_0x33cf2e(0x2a6)]);if(!(!_0x1e08d4||!_0x164bcc||!_0x5c1508[_0x33cf2e(0x1b3)]||!_0x5c1508['drawingId']))return new _0x4f562a(_0x1e08d4['model'],new _0x445223({'unitId':_0x5c1508[_0x33cf2e(0x206)],'subUnitId':_0x5c1508[_0x33cf2e(0x1b3)],'chartId':_0x5c1508[_0x33cf2e(0x2b3)],'elementId':_0x5c1508[_0x33cf2e(0x1e8)],'slideModel':_0x164bcc,'injector':this[_0x33cf2e(0x258)]}));},'close':()=>this[_0x12a5ba(0x375)](),'openFullPanel':_0x53e1c2=>{const _0x39ac21=_0x12a5ba;let {unitId:_0x467fb7,subUnitId:_0x507a38,drawingId:_0x34e2c4,chartId:_0x4b7a0a}=_0x53e1c2,_0x546b1d=_0x3f7659(_0x53e1c2['target']);this['_commandService'][_0x39ac21(0x1cf)](R['id'],{'unitId':_0x467fb7,'subUnitId':_0x507a38??'','drawingId':_0x34e2c4??_0x4b7a0a,..._0x546b1d?{'route':_0x546b1d}:{}});}});this[_0x12a5ba(0x145)](this[_0x12a5ba(0x267)][_0x12a5ba(0x196)](ir,_0x417d28));}[_0x193d94(0x15a)](){const _0x42894d=_0x193d94;this[_0x42894d(0x145)](_0x2f3a4e(this[_0x42894d(0x2fe)][_0x42894d(0x235)][_0x42894d(0x322)](_0x554ff4=>{const _0x590cac=_0x42894d;let _0x52b63f=new _0xe71284();_0x52b63f[_0x590cac(0x219)](this[_0x590cac(0x2da)]['on'](_0x554ff4['chartId'],_0x590cac(0x1b8),_0x4ba198=>{const _0x28ed16=_0x590cac;this[_0x28ed16(0x14a)](_0x554ff4['chartId'],_0x4ba198);})),_0x554ff4[_0x590cac(0x323)][_0x590cac(0x157)](()=>{const _0x13e0fc=_0x590cac;_0x52b63f['dispose'](),this[_0x13e0fc(0x2cb)](_0x554ff4[_0x13e0fc(0x2b3)]);}),this[_0x590cac(0x145)](_0x52b63f);}))),this[_0x42894d(0x145)](_0x2f3a4e(this[_0x42894d(0x328)]['activeEditChart$'][_0x42894d(0x322)](_0x5e1d9c=>{const _0x4f726b=_0x42894d;(!_0x5e1d9c||this[_0x4f726b(0x203)]&&_0x5e1d9c!==this[_0x4f726b(0x203)])&&this[_0x4f726b(0x375)]();}))),this[_0x42894d(0x145)](_0x2f3a4e(this[_0x42894d(0x2a0)][_0x42894d(0x2ac)][_0x42894d(0x322)](_0x2cf164=>{const _0x785bbc=_0x42894d;(!_0x2cf164||this[_0x785bbc(0x203)]&&_0x2cf164[_0x785bbc(0x2b3)]!==this[_0x785bbc(0x203)])&&this[_0x785bbc(0x375)]();}))),this[_0x42894d(0x145)](_0x2f3a4e(this['_chartHostProvider']['removeHost$'][_0x42894d(0x322)](_0x4e8443=>{const _0xb64e6b=_0x42894d;this[_0xb64e6b(0x2cb)](_0x4e8443);}))),this[_0x42894d(0x145)](_0x2f3a4e(this['_chartHostProvider'][_0x42894d(0x22c)][_0x42894d(0x322)](_0xf8898=>{const _0x366757=_0x42894d;this[_0x366757(0x203)]===_0xf8898&&this[_0x366757(0x375)]();})));}[_0x193d94(0x172)](_0x24f92e){const _0x107bdb=_0x193d94;let _0x3db15c=this['_chartHostProvider'][_0x107bdb(0x204)](_0x24f92e),_0x4630f0=_0x3db15c?this[_0x107bdb(0x2fe)]['getChartModel'](_0x3db15c[_0x107bdb(0x206)],_0x24f92e):void 0x0;_0x4630f0&&this[_0x107bdb(0x2fe)]['setActiveChartRuntime'](_0x4630f0);}['_openFloatMenu'](_0xdb2562,_0x3a3eb3){const _0x173f20=_0x193d94;var _0x3193b2;if(!this['_editSessionService'][_0x173f20(0x13f)](_0xdb2562))return;let _0x1fb5ef=this[_0x173f20(0x279)][_0x173f20(0x204)](_0xdb2562),_0x181c44=_0x1fb5ef?this[_0x173f20(0x2fe)][_0x173f20(0x346)](_0x1fb5ef['unitId'],_0xdb2562):void 0x0,_0x28b2f2=_0x181c44?_0x1786b4(_0x181c44['model'],_0x3a3eb3[_0x173f20(0x22f)]):void 0x0;if(!_0x1fb5ef||!_0x181c44||!_0x28b2f2){this[_0x173f20(0x328)][_0x173f20(0x371)](null),this[_0x173f20(0x328)][_0x173f20(0x34d)](),this[_0x173f20(0x375)]();return;}this['_chartModelService'][_0x173f20(0x383)](_0x181c44);let _0x2fc883=_0x3f7659(_0x28b2f2[_0x173f20(0x1e4)]);if(!_0x2fc883){this[_0x173f20(0x328)][_0x173f20(0x371)](null),this[_0x173f20(0x328)][_0x173f20(0x34d)](),this[_0x173f20(0x375)]();return;}if(this[_0x173f20(0x328)][_0x173f20(0x371)]({'chartId':_0xdb2562,'element':_0x3a3eb3[_0x173f20(0x22f)],'target':_0x28b2f2[_0x173f20(0x1e4)],'route':_0x2fc883}),this[_0x173f20(0x328)][_0x173f20(0x246)](_0xdb2562,_0x2fc883),this[_0x173f20(0x375)](),!_0x28b2f2[_0x173f20(0x373)])return;let _0x429a01=this[_0x173f20(0x279)][_0x173f20(0x2c7)](_0xdb2562,((_0x3193b2=_0x3a3eb3[_0x173f20(0x22f)][_0x173f20(0x25a)])==null?void 0x0:_0x3193b2[_0x173f20(0x334)])??_0x3a3eb3[_0x173f20(0x22f)][_0x173f20(0x334)])??this['_chartHostProvider']['getClientRect'](_0xdb2562);_0x429a01&&(this[_0x173f20(0x225)]=this[_0x173f20(0x21e)][_0x173f20(0x369)](_0x1fb5ef['unitId'],_0x1fb5ef['subUnitId'],_0x429a01,{'componentKey':_0x3a2b4f,'direction':_0x173f20(0x19e),'offset':_0x188ad0,'extraProps':{'unitId':_0x1fb5ef[_0x173f20(0x206)],'subUnitId':_0x1fb5ef[_0x173f20(0x1b3)],'chartId':_0xdb2562,'drawingId':_0x1fb5ef[_0x173f20(0x1e8)],'element':_0x3a3eb3[_0x173f20(0x22f)],'target':_0x28b2f2['target'],'adapterKey':ir}}),this['_popupChartId']=_0xdb2562);}[_0x193d94(0x375)](){const _0x44efcb=_0x193d94;var _0x4a650c;(_0x4a650c=this[_0x44efcb(0x225)])==null||_0x4a650c['dispose'](),this[_0x44efcb(0x225)]=null,this[_0x44efcb(0x203)]=null;}[_0x193d94(0x2cb)](_0x39cfe2){const _0x460a3d=_0x193d94;!this[_0x460a3d(0x328)]['isElementEditModeActive'](_0x39cfe2)&&this[_0x460a3d(0x203)]!==_0x39cfe2||(this[_0x460a3d(0x328)][_0x460a3d(0x371)](null),this[_0x460a3d(0x328)][_0x460a3d(0x34d)](),this[_0x460a3d(0x203)]===_0x39cfe2&&this['_closePopup']());}};function _0x1378(_0x105fcc,_0x4a8caf){_0x105fcc=_0x105fcc-0x136;const _0x5002dc=_0x5002();let _0x137846=_0x5002dc[_0x105fcc];return _0x137846;}ar=H([V(0x0,_0x21dd2a(_0x346b93)),V(0x1,_0x21dd2a(Y)),V(0x2,_0x21dd2a(Z)),V(0x3,_0x21dd2a(Q)),V(0x4,_0x21dd2a(_0x40660b)),V(0x5,U),V(0x6,_0x21dd2a(_0x39c2c0)),V(0x7,_0x17367f),V(0x8,_0xec2b0e),V(0x9,_0x21dd2a(_0x3b1975))],ar);let or=class extends _0x5c8699{constructor(_0x246b0e,_0x33a351,_0x143bf9){const _0x476fef=_0x193d94;super(),this[_0x476fef(0x171)]=_0x246b0e,this[_0x476fef(0x2f6)]=_0x33a351,this['_resourceService']=_0x143bf9,this[_0x476fef(0x17a)]();}[_0x193d94(0x17a)](){const _0x30220b=_0x193d94;this[_0x30220b(0x145)](this[_0x30220b(0x171)][_0x30220b(0x1cc)](_0x1cb294=>{const _0x2c04f2=_0x30220b;if(_0x1cb294['id']===_0x1a6d52['id']){var _0x12ef63;let _0x5339c3=_0x1cb294[_0x2c04f2(0x358)];_0x5339c3!=null&&(_0x12ef63=_0x5339c3[_0x2c04f2(0x190)])!=null&&_0x12ef63['id']&&this[_0x2c04f2(0x278)](_0x5339c3[_0x2c04f2(0x190)]['id']);return;}if(_0x1cb294['id']===_0x10d228['id']){var _0x56f5e6;let _0x6e27b5=_0x1cb294[_0x2c04f2(0x358)];if(!(_0x6e27b5!=null&&_0x6e27b5[_0x2c04f2(0x206)])||!((_0x56f5e6=_0x6e27b5['dataSource'])!=null&&_0x56f5e6['id']))return;this[_0x2c04f2(0x1df)][_0x2c04f2(0x355)](_0x6e27b5[_0x2c04f2(0x206)],_0x6e27b5[_0x2c04f2(0x274)]['id'])['forEach'](_0x2dd9bc=>this[_0x2c04f2(0x278)](_0x2dd9bc));}}));}['_renderChart'](_0x33c9e1){queueMicrotask(()=>{const _0x14012a=_0x1378;this[_0x14012a(0x2f6)][_0x14012a(0x364)](_0x33c9e1);});}};or=H([V(0x0,_0x17367f),V(0x1,_0x21dd2a(Q)),V(0x2,_0x21dd2a(_0x4a2995))],or);let sr=class extends _0x5c8699{constructor(_0x53b36e,_0x1c0bd5){const _0x2ff4f9=_0x193d94;super(),this[_0x2ff4f9(0x1c0)]=_0x1c0bd5,this[_0x2ff4f9(0x145)](_0x53b36e[_0x2ff4f9(0x196)](this));}[_0x193d94(0x220)](_0x2f5ebc){const _0x1fbbc7=_0x193d94;return _0x1fbbc7(0x260)in _0x2f5ebc;}[_0x193d94(0x36a)](_0xecf2be){const _0xa7a704=_0x193d94;return this['_renderService'][_0xa7a704(0x36a)](_0xecf2be['getId']());}};sr=H([V(0x0,_0x21dd2a(_0x4ae8ff)),V(0x1,_0x21dd2a(Z))],sr);function cr(_0x1a1f5c){const _0xdbc676=_0x193d94;return _0x1a1f5c[_0xdbc676(0x2d1)]===_0x4fcec2[_0xdbc676(0x2fa)];}let lr=class{constructor(_0x3ce5f2){const _0x4da103=_0x193d94;this[_0x4da103(0x1df)]=_0x3ce5f2,B(this,_0x4da103(0x344),_0x4da103(0x248));}['collect'](_0xfd69f6){const _0x2c3b99=_0x193d94;let _0x217390={},_0x401b0b={},_0x549f1d={};return _0xfd69f6['elements']['forEach'](_0x418622=>{const _0x21059e=_0x1378;if(!cr(_0x418622))return;let _0x353885=this[_0x21059e(0x1df)][_0x21059e(0x15d)](_0xfd69f6[_0x21059e(0x206)],_0x418622[_0x21059e(0x2b3)]),_0x2aae1d=_0x353885?this[_0x21059e(0x1df)]['getDataSource'](_0xfd69f6[_0x21059e(0x206)],_0x353885[_0x21059e(0x35e)]):void 0x0;!_0x353885||!_0x2aae1d||(_0x217390[_0x353885['id']]=_0x555580[_0x21059e(0x271)](_0x353885),_0x401b0b[_0x2aae1d['id']]=_0x2aae1d,_0x549f1d[_0x418622['id']]=_0x353885['id']);}),Object[_0x2c3b99(0x1c5)](_0x217390)[_0x2c3b99(0x16f)]===0x0?null:{'charts':_0x217390,'dataSources':_0x401b0b,'chartIdByElementId':_0x549f1d};}[_0x193d94(0x283)](_0x313c00){const _0x190cb8=_0x193d94;if(!ur(_0x313c00[_0x190cb8(0x143)]))return null;let _0x2d5f7c=_0x313c00[_0x190cb8(0x143)],_0x3fdc51=new Map();_0x313c00['elementIdMap'][_0x190cb8(0x2a7)]((_0x390e03,_0xd0832c)=>_0x3fdc51[_0x190cb8(0x305)](_0x390e03,_0xd0832c));let _0x291001=new Map(),_0x5e435e=new Map(),_0x608748=_0x313c00[_0x190cb8(0x32b)][_0x190cb8(0x33f)](_0x1f2571=>{const _0x3b13b7=_0x190cb8;if(!cr(_0x1f2571))return _0x1f2571;let _0x59f4e0=_0x3fdc51['get'](_0x1f2571['id']),_0x198597=_0x59f4e0?_0x2d5f7c['chartIdByElementId'][_0x59f4e0]:void 0x0;if(!_0x198597||!_0x2d5f7c[_0x3b13b7(0x205)][_0x198597])return _0x1f2571;let _0xf7dc26=_0x291001[_0x3b13b7(0x299)](_0x198597);return _0xf7dc26||(_0xf7dc26=_0x4a69c4(0x6),_0x291001[_0x3b13b7(0x305)](_0x198597,_0xf7dc26)),{..._0x1f2571,'chartId':_0xf7dc26};});_0x291001[_0x190cb8(0x2a7)]((_0x2fbec9,_0x39a92f)=>{const _0x380f64=_0x190cb8;var _0xff828c;let _0x28bef6=(_0xff828c=_0x2d5f7c[_0x380f64(0x205)][_0x39a92f])==null?void 0x0:_0xff828c[_0x380f64(0x35e)];_0x28bef6&&!_0x5e435e['has'](_0x28bef6)&&_0x5e435e[_0x380f64(0x305)](_0x28bef6,_0x4a69c4(0x6));});let _0x30e764=[];_0x5e435e[_0x190cb8(0x2a7)]((_0x3411f6,_0x5a48a1)=>{const _0x57596a=_0x190cb8;let _0x370d03=_0x2d5f7c[_0x57596a(0x293)][_0x5a48a1];_0x370d03&&_0x30e764[_0x57596a(0x36c)]({..._0x370d03,'id':_0x3411f6});});let _0x52c336=[];return _0x291001[_0x190cb8(0x2a7)]((_0x415232,_0x1a3592)=>{const _0x40fa6e=_0x190cb8;let _0x3e44a9=_0x2d5f7c[_0x40fa6e(0x205)][_0x1a3592],_0x158387=_0x3e44a9?_0x5e435e[_0x40fa6e(0x299)](_0x3e44a9[_0x40fa6e(0x35e)]):void 0x0;_0x3e44a9&&_0x158387&&_0x52c336[_0x40fa6e(0x36c)]({..._0x3e44a9,'id':_0x415232,'dataSourceId':_0x158387});}),_0x52c336['length']===0x0?null:{'elements':_0x608748,'redoMutations':[..._0x30e764[_0x190cb8(0x33f)](_0xec2d8b=>({'id':_0x10d228['id'],'params':{'unitId':_0x313c00[_0x190cb8(0x16a)],'dataSource':_0xec2d8b}})),..._0x52c336[_0x190cb8(0x33f)](_0x385d59=>({'id':_0x1a6d52['id'],'params':{'unitId':_0x313c00[_0x190cb8(0x16a)],'chart':_0x385d59}}))],'undoMutations':[..._0x52c336[_0x190cb8(0x33f)](_0x5aa877=>({'id':_0x2122dc['id'],'params':{'unitId':_0x313c00[_0x190cb8(0x16a)],'chartId':_0x5aa877['id']}})),..._0x30e764[_0x190cb8(0x33f)](_0x9036fa=>({'id':_0x3040f3['id'],'params':{'unitId':_0x313c00[_0x190cb8(0x16a)],'dataSourceId':_0x9036fa['id']}}))]};}};lr=H([V(0x0,_0x21dd2a(_0x4a2995))],lr);function ur(_0x297d3d){const _0x13d8e6=_0x193d94;if(!_0x297d3d||typeof _0x297d3d!='object')return!0x1;let _0x5eb4f9=_0x297d3d;return!!_0x5eb4f9['charts']&&!!_0x5eb4f9[_0x13d8e6(0x293)]&&!!_0x5eb4f9['chartIdByElementId'];}function dr(_0x23d0e8){const _0x589b04=_0x193d94;switch(_0x23d0e8){case _0x27978b[_0x589b04(0x22b)]:return[0x1,0x2];case _0x27978b[_0x589b04(0x29a)]:return[0x1,0x3];case _0x27978b[_0x589b04(0x2e4)]:return[0x4,0x2];case _0x27978b[_0x589b04(0x16d)]:return[0x4,0x2,0x1,0x2];case _0x27978b[_0x589b04(0x262)]:return[0x8,0x2];case _0x27978b[_0x589b04(0x325)]:return[0x8,0x2,0x1,0x2];case _0x27978b[_0x589b04(0x2b1)]:return[0x8,0x2,0x1,0x2,0x1,0x2];default:return[];}}function fr(_0x5a1948){const _0x40a43b=_0x193d94;switch(_0x5a1948){case _0x170ff2['Round']:return _0x40a43b(0x184);case _0x170ff2['Square']:return _0x40a43b(0x268);default:return _0x40a43b(0x15b);}}function pr(_0x32bb4a){const _0x29ace8=_0x193d94;switch(_0x32bb4a){case _0x437df0[_0x29ace8(0x343)]:return'round';case _0x437df0['Bevel']:return'bevel';default:return _0x29ace8(0x18f);}}var mr=class extends _0x2ae290{constructor(_0x5ec154,_0x254c55){const _0x373dcd=_0x193d94;super(_0x5ec154,_0x254c55),B(this,_0x373dcd(0x13e),void 0x0),B(this,_0x373dcd(0x357),!0x1),this[_0x373dcd(0x18b)](_0x254c55['success'],_0x254c55['fail']);}[_0x193d94(0x1a3)](_0x53e670){const _0x120965=_0x193d94;this['_chartStroke']=_0x53e670,this[_0x120965(0x2b7)](!0x0);}['setImageHidden'](_0x541d3e){const _0xab6c3e=_0x193d94;this['_hideImage']!==_0x541d3e&&(this[_0xab6c3e(0x357)]=_0x541d3e,this[_0xab6c3e(0x2b7)](!0x0),this[_0xab6c3e(0x1da)]());}[_0x193d94(0x245)](_0x422acc){const _0x57e393=_0x193d94;this['_native']??(this[_0x57e393(0x238)]=document[_0x57e393(0x1c7)](_0x57e393(0x23c)),this['_native'][_0x57e393(0x1a6)]=_0x57e393(0x2a2)),this[_0x57e393(0x18b)](),this['_native'][_0x57e393(0x175)]=_0x422acc;}[_0x193d94(0x2de)](_0x4a0349,_0x2db6a4,_0x4cdfa6,_0xd7a09a){const _0x23f64a=_0x193d94;this['_hideImage']||super[_0x23f64a(0x2de)](_0x4a0349,_0x2db6a4,_0x4cdfa6,_0xd7a09a),this[_0x23f64a(0x1d2)](_0x4a0349,_0x4cdfa6??this[_0x23f64a(0x27e)],_0xd7a09a??this['height']);}['_drawChartStroke'](_0x294cab,_0x291adf,_0x2f5ee9){const _0x4e3f61=_0x193d94;let _0x4b5d2b=this[_0x4e3f61(0x13e)],_0x40a4d3=(_0x4b5d2b==null?void 0x0:_0x4b5d2b['width'])??0x0;if(!tr(_0x4b5d2b))return;_0x294cab[_0x4e3f61(0x2ce)](),_0x294cab['beginPath'](),_0x294cab[_0x4e3f61(0x2cf)]=_0x40a4d3,_0x294cab[_0x4e3f61(0x242)]=_0x4b5d2b[_0x4e3f61(0x308)],_0x294cab[_0x4e3f61(0x30a)]=fr(_0x4b5d2b[_0x4e3f61(0x324)]),_0x294cab['lineJoin']=pr(_0x4b5d2b[_0x4e3f61(0x166)]),_0x294cab[_0x4e3f61(0x29c)](dr(_0x4b5d2b[_0x4e3f61(0x34c)])),_0x294cab[_0x4e3f61(0x2a8)]*=_0x4b5d2b[_0x4e3f61(0x173)]??0x1;let _0x488f64=_0x40a4d3/0x2;_0x294cab[_0x4e3f61(0x266)](-_0x291adf/0x2+_0x488f64,-_0x2f5ee9/0x2+_0x488f64,Math['max'](0x0,_0x291adf-_0x40a4d3),Math[_0x4e3f61(0x300)](0x0,_0x2f5ee9-_0x40a4d3)),_0x294cab[_0x4e3f61(0x29f)](),_0x294cab[_0x4e3f61(0x33d)]();}[_0x193d94(0x1da)](){const _0x321322=_0x193d94;var _0xf860cc;let _0x2e07e4=(_0xf860cc=this[_0x321322(0x32a)]())==null?void 0x0:_0xf860cc[_0x321322(0x261)];_0x2e07e4&&(_0x2e07e4[_0x321322(0x2b7)](!0x0),_0x2e07e4['render'](),_0x2e07e4[_0x321322(0x25c)]['emitEvent'](this['oKey']));}[_0x193d94(0x18b)](_0x21db3e,_0x5eb5b3){const _0x24d575=_0x193d94;this[_0x24d575(0x238)]&&(this['_native'][_0x24d575(0x29b)]=()=>{_0x21db3e==null||_0x21db3e(),this['_notifyScene']();},this[_0x24d575(0x238)][_0x24d575(0x332)]=()=>{const _0x22df63=_0x24d575;_0x5eb5b3==null||_0x5eb5b3(),this[_0x22df63(0x1da)]();});}};let hr=class extends _0x297ba3{constructor(_0x214728){const _0x322ae1=_0x193d94;super(),this[_0x322ae1(0x2f6)]=_0x214728,B(this,_0x322ae1(0x30f),0x37);}[_0x193d94(0x270)](_0x206a2e){const _0x3ae631=_0x193d94;return _0x206a2e[_0x3ae631(0x13c)][_0x3ae631(0x2d1)]===_0x4fcec2[_0x3ae631(0x2fa)];}[_0x193d94(0x2e6)](_0x837815,_0x47f936){const _0xc0c4c9=_0x193d94;if(_0x837815[_0xc0c4c9(0x340)]||_0x837815[_0xc0c4c9(0x13c)]['type']!==_0x4fcec2['Chart'])return null;let _0x5a6507=_0x837815[_0xc0c4c9(0x13c)],_0x323888=_0x5a6507[_0xc0c4c9(0x349)],_0x1390f8=Math[_0xc0c4c9(0x300)](0x1,_0x323888[_0xc0c4c9(0x27e)]??0x0),_0x3d2398=Math[_0xc0c4c9(0x300)](0x1,_0x323888['height']??0x0),_0x47813e=new mr('slide-drawing-'+_0x47f936[_0xc0c4c9(0x206)]+'-'+_0x47f936[_0xc0c4c9(0x1b3)]+'-'+_0x837815[_0xc0c4c9(0x1e8)],{'url':this[_0xc0c4c9(0x2f6)][_0xc0c4c9(0x361)](_0x5a6507[_0xc0c4c9(0x2b3)])??_0xc0c4c9(0x139),'left':_0x47f936[_0xc0c4c9(0x24b)]+(_0x323888[_0xc0c4c9(0x381)]??0x0),'top':_0x47f936[_0xc0c4c9(0x297)]+(_0x323888[_0xc0c4c9(0x316)]??0x0),'width':_0x1390f8,'height':_0x3d2398,'angle':_0x323888[_0xc0c4c9(0x319)]??0x0,'flipX':_0x323888[_0xc0c4c9(0x16b)],'flipY':_0x323888[_0xc0c4c9(0x31e)],'skewX':_0x323888['skewX'],'skewY':_0x323888[_0xc0c4c9(0x1c2)],'zIndex':_0x47f936[_0xc0c4c9(0x1e1)],'visible':!_0x837815[_0xc0c4c9(0x340)],'evented':!0x0,'forceRender':!0x0});_0x47813e[_0xc0c4c9(0x1a3)](_0x5a6507[_0xc0c4c9(0x29f)]);let _0x4baeb1=(_0x47f936['sceneType']??_0x3d9df9[_0xc0c4c9(0x150)])===_0x3d9df9[_0xc0c4c9(0x150)],_0x237109=this['_hostProvider']['registerHostContext']({'unitId':_0x47f936[_0xc0c4c9(0x206)],'subUnitId':_0x47f936[_0xc0c4c9(0x1b3)],'drawingId':_0x837815[_0xc0c4c9(0x1e8)],'chartId':_0x5a6507[_0xc0c4c9(0x2b3)],'width':_0x1390f8,'height':_0x3d2398,'drawing':_0x837815,'stroke':_0x5a6507[_0xc0c4c9(0x29f)],'imageObject':_0x47813e,'sceneType':_0x47f936[_0xc0c4c9(0x1d6)],'requestRender':_0x47f936['requestRender']});_0x47813e[_0xc0c4c9(0x353)](_0x4baeb1&&this[_0xc0c4c9(0x2f6)][_0xc0c4c9(0x1f6)](_0x5a6507[_0xc0c4c9(0x2b3)]));let _0x105466=this[_0xc0c4c9(0x2f6)]['imageUpdated$'][_0xc0c4c9(0x322)](_0x3a5d1a=>{const _0x2cf46d=_0xc0c4c9;_0x3a5d1a===_0x5a6507[_0x2cf46d(0x2b3)]&&_0x47813e[_0x2cf46d(0x353)](_0x4baeb1&&this['_hostProvider'][_0x2cf46d(0x1f6)](_0x5a6507[_0x2cf46d(0x2b3)]));}),_0x4ef731=this['_hostProvider'][_0xc0c4c9(0x37e)][_0xc0c4c9(0x322)](_0x5d6dcc=>{const _0x55170a=_0xc0c4c9;_0x5d6dcc===_0x5a6507['chartId']&&_0x47813e[_0x55170a(0x353)](_0x4baeb1&&this[_0x55170a(0x2f6)][_0x55170a(0x1f6)](_0x5a6507[_0x55170a(0x2b3)]));});return _0x47813e[_0xc0c4c9(0x2cc)][_0xc0c4c9(0x138)](()=>{const _0x1a4619=_0xc0c4c9;_0x237109==null||_0x237109[_0x1a4619(0x207)](),_0x105466==null||_0x105466[_0x1a4619(0x2cd)](),_0x4ef731==null||_0x4ef731['unsubscribe']();}),_0x47813e;}};hr=H([V(0x0,_0x21dd2a(Q))],hr);let $=class extends _0x5dc516{constructor(_0x2f7467=Gn,_0x2d9537,_0x1afd33,_0xfa1a74,_0x224da4){const _0x161bb3=_0x193d94;super(),this[_0x161bb3(0x2bc)]=_0x2f7467,this[_0x161bb3(0x258)]=_0x2d9537,this[_0x161bb3(0x354)]=_0x1afd33,this[_0x161bb3(0x1d5)]=_0xfa1a74,this['_commandService']=_0x224da4;let {..._0x528b6c}=_0x298adb({},Gn,this['_config']);this['_configService'][_0x161bb3(0x2e2)](Wn,_0x528b6c),this['_initCommands']();}['onStarting'](){const _0x103231=_0x193d94;let _0x3be04c=this[_0x103231(0x258)];this['disposeWithMe'](_0x3be04c[_0x103231(0x299)](_0x492033)[_0x103231(0x196)](hr)),[[$n],[Yn],[Y],[Q],[Z],[sr],[K],[lr],[J],[U,{'useClass':jn}],[ar],[q],[or],[X]]['forEach'](_0x5a87e5=>_0x3be04c[_0x103231(0x219)](_0x5a87e5)),_0x6c554d(_0x3be04c,[[Yn],[Y],[Q],[Z],[sr],[K],[lr],[J],[U]]),this[_0x103231(0x258)]['get']($n),this['disposeWithMe'](_0x3be04c[_0x103231(0x299)](_0x2c4bb2)['registerAdapter'](_0x3be04c['get'](lr)));}['onReady'](){const _0x7abf0b=_0x193d94;this[_0x7abf0b(0x145)](this[_0x7abf0b(0x1d5)][_0x7abf0b(0x195)](_0x42c74e[_0x7abf0b(0x2a6)],er)),this[_0x7abf0b(0x258)][_0x7abf0b(0x299)](q),this['_injector'][_0x7abf0b(0x299)](ar),this[_0x7abf0b(0x258)]['get'](or),this[_0x7abf0b(0x258)][_0x7abf0b(0x299)](X);}[_0x193d94(0x312)](){const _0x3bfa96=_0x193d94;[R,Sn,Cn,wn][_0x3bfa96(0x2a7)](_0x6d99c2=>{const _0x5b6ff0=_0x3bfa96;this[_0x5b6ff0(0x145)](this[_0x5b6ff0(0x171)][_0x5b6ff0(0x277)](_0x6d99c2));});}};B($,_0x193d94(0x2d1),_0x42c74e['UNIVER_SLIDE']),B($,_0x193d94(0x1f7),_0x193d94(0x25b)),B($,_0x193d94(0x181),Zn),B($,'version',Qn),$=H([_0x5c5d8e(_0x25dfe4,_0x23aeae,_0x158d5b,_0x24529e,_0x10c938,_0x186012),V(0x1,_0x21dd2a(_0x3b1975)),V(0x2,_0x11e152),V(0x3,_0x361b2f),V(0x4,_0x17367f)],$);export{Sn as CloseSlideChartPanelOperation,U as ISlideChartUIService,Cn as OpenSlideChartDataEditorOperation,R as OpenSlideChartPanelOperation,Wn as SLIDES_CHART_UI_PLUGIN_CONFIG_KEY,Tn as SLIDE_CHART_DATA_EDITOR_COMPONENT,En as SLIDE_CHART_DATA_EDITOR_DIALOG_ID,W as SLIDE_CHART_EDIT_PANEL_COMPONENT,Vn as SLIDE_CHART_INSERT_PANEL_COMPONENT,q as SlideChartContextMenuController,J as SlideChartDataEditService,On as SlideChartDataEditor,Dn as SlideChartDataEditorSubmitMode,Rn as SlideChartEditPanel,Un as SlideChartInsertPanel,K as SlideChartInsertService,hr as SlideChartObjectAdaptor,Z as SlideChartRenderService,X as SlideChartUIController,jn as SlideChartUIService,qn as SlideContextMenuOpenChartPanelFactory,wn as SlideContextMenuOpenChartPanelOperation,$ as UniverSlidesChartUIPlugin,Jn as slideChartContextMenuSchema};
1
+ const _0x34eeab=_0x46cc;(function(_0x12a58a,_0x1eed0c){const _0x17b9a7=_0x46cc,_0x24057d=_0x12a58a();while(!![]){try{const _0x437f83=-parseInt(_0x17b9a7(0x313))/0x1*(-parseInt(_0x17b9a7(0x2c7))/0x2)+parseInt(_0x17b9a7(0x3a1))/0x3+parseInt(_0x17b9a7(0x25d))/0x4*(-parseInt(_0x17b9a7(0x2be))/0x5)+-parseInt(_0x17b9a7(0x2e9))/0x6*(parseInt(_0x17b9a7(0x1b0))/0x7)+parseInt(_0x17b9a7(0x3ad))/0x8+-parseInt(_0x17b9a7(0x217))/0x9*(parseInt(_0x17b9a7(0x1ce))/0xa)+-parseInt(_0x17b9a7(0x1c1))/0xb;if(_0x437f83===_0x1eed0c)break;else _0x24057d['push'](_0x24057d['shift']());}catch(_0x2a5068){_0x24057d['push'](_0x24057d['shift']());}}}(_0x3f60,0xa8d58));import{CommandType as _0x2effbd,DependentOn as _0xf6c9c2,Disposable as _0x3a6cec,DisposableCollection as _0x34c30c,ICommandService as _0x5c49c1,IConfigService as _0x2b3ed9,IUniverInstanceService as _0x1e9c4f,Inject as _0x16d46e,Injector as _0x3633e3,LocaleService as _0x37c8ac,Plugin as _0x2251b3,RxDisposable as _0x1c7457,Tools as _0xeb3e24,UniverInstanceType as _0xcf3ade,createIdentifier as _0x557fa6,generateRandomId as _0x1180d6,merge as _0x5d15fd,toDisposable as _0x5aa4ff,touchDependencies as _0x246d52}from'@univerjs/core';import{ISlideDrawingService as _0x2e78de,PageElementTypeEnum as _0x4ba1e0,PageTypeEnum as _0x2c39ab,SlideSceneTypeEnum as _0x445b74,UniverSlidesPlugin as _0x26b5ed,UpdateSlideDrawingCommand as _0xd889a6,getSlideCommandTarget as _0x38dd15}from'@univerjs-pro/slides';import{CHART_DOM_HOST_Z_INDEX as _0x125560,CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x4389ed,CHART_ELEMENT_FLOAT_MENU_OFFSET as _0x3ca41a,CHART_HOST_BORDER_RADIUS as _0x2fe0ad,CHART_TYPE_CATALOG as _0x212609,ChartAxisLineVisibilityField as _0x579625,ChartColorField as _0x5d31c8,ChartCommonDataMappingSection as _0x47384d,ChartEditBlockTitle as _0x27c975,ChartEditPanel as _0x3687c3,ChartEditPanelSection as _0x2a1891,ChartEditPanelTab as _0x37dd78,ChartEditPanelTabs as _0x5d57e5,ChartEditorCapability as _0x146d95,ChartEditorProvider as _0x4ac0d3,ChartElementFloatMenuAdapterRegistry as _0x2141de,ChartGradientFillField as _0x4cfb06,ChartGridlineVisibilityField as _0x47021c,ChartHostAdapter as _0x235307,ChartImageExportService as _0x222d3a,ChartIndicatorLineColorField as _0x5312d5,ChartInlineTableEditor as _0xa7de8,ChartLegendPositionField as _0x53bc26,ChartLegendRoot as _0x1384df,ChartLegendWrapField as _0x53ad60,ChartMainTitleFields as _0x572387,ChartNumberFormatTextField as _0x2d2bcc,ChartParetoSeriesSection as _0x363a97,ChartPieStyleSection as _0x12533a,ChartReferencedDataSourceEditor as _0x385f9b,ChartSectionAccordion as _0x40596b,ChartSectionAccordionContent as _0x49774b,ChartSectionAccordionItem as _0x130c2f,ChartSectionAccordionTrigger as _0x13a4df,ChartSeriesSection as _0x1ed891,ChartStackField as _0x28b3da,ChartStyleSection as _0x360934,ChartThemeField as _0x393788,ChartTypeField as _0x37a0f4,ChartTypeSpecificDataSection as _0x318904,ChartTypeSpecificSetupSection as _0x223f41,ChartTypeSpecificStyleSection as _0x1ffd58,ChartUIService as _0x29f86e,ChartViewStateRegistry as _0x37dd7f,ChartWaterfallSetupFields as _0x1f399e,ChartWaterfallStyleSection as _0xfe1645,ChartWordCloudStyleSection as _0x236f23,DEFAULT_CHART_AXIS_VALUES as _0x1eaf6d,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x3ba0d3,DEFAULT_CHART_LEGEND_VALUES as _0x2a7ce1,DEFAULT_CHART_PARETO_VALUES as _0xd1e7a5,DEFAULT_CHART_PIE_VALUES as _0x4fb0f3,DEFAULT_CHART_SERIES_VALUES as _0x4c9be9,DEFAULT_CHART_STYLE_VALUES as _0x46e8c5,DEFAULT_CHART_TITLE_VALUES as _0x50885f,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x2270ce,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x122d43,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x26ce04,InlineChartCreationIssueCode as _0x400dd0,MIN_CHART_HOST_DIMENSION as _0x12e8ae,UniverChartUIPlugin as _0x5862d8,buildChartTypeSelectOptions as _0x3068c2,chartTypeSupportsCapability as _0x3c20f2,compactInlineTableValues as _0x292f8d,createChartElementFloatMenuAdapter as _0x1de7f0,createChartInlineStarterData as _0x487343,getChartInlineTableMinColumns as _0xf46380,resolveChartEditPanelRoute as _0x131220,resolveChartElementSelection as _0x26db8f,tryBuildInlineChartCreationPlan as _0x19dea4,tryPrepareInlineChartData as _0x27063a,useChartEditorChartType as _0x11c848,useChartEditorHasRightAxis as _0x161a33}from'@univerjs-pro/chart-ui';import{ChartDataSourceRuntimeStatus as _0x4db24e,ChartHostRenderMode as _0x20ebcd,ChartImageExportFormat as _0x440e6e,ChartThemeService as _0x3d1096,ChartTypeBits as _0x595712,DataUrlImageChartHost as _0xc9c740,IChartRenderModelManagerService as _0x42fd00,chartBitsUtils as _0x1e9049,isInlineChartDataSource as _0x4047e0,isReferencedChartDataSource as _0x424651,parseInlineChartTable as _0x5e4da5,resolveChartRuntimeStyle as _0x323a4b,resolveDefaultChartHostFrameStyle as _0x38e9df}from'@univerjs-pro/engine-chart';import{Button as _0x14e21a,Select as _0x2f0888}from'@univerjs/design';import{ComponentManager as _0x3fa587,ContextMenuGroup as _0x3759cd,IDialogService as _0x9646d0,IMenuManagerService as _0x293f25,ISidebarService as _0x37c21f,MenuItemType as _0x4f2db8,useDependency as _0x47bf61,useObservable as _0x1a4a6b}from'@univerjs/ui';import{useEffect as _0x44c5fb,useMemo as _0x4d9650,useState as _0x163ae5}from'react';import{jsx as _0x7256a0,jsxs as _0x58b5ea}from'react/jsx-runtime';function _0x3f60(){const _0xc6f07=['onDispose$','Sunburst','_selectedElement$','_releaseDetachedThumbnailContexts','SVG','boxSizing','save','getImageDataUrl','waterfallStyle','Candlestick','flipX','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_selectHostContext','VerticalAxis','onFileLoaded$','slides-chart-ui.candlestick.high','_host','skewY','executeCommand','some','_chartEventSubscriptions','getCurrentRenderModel','_applyHostStyle','finally','onDoubleClick$','getValue','_registerComponents','fill','context','restore','DUPLICATE','_chartUIService','setConfig','rightY','source','dataSources','_openPanel','_bindRuntimeRenderListener','center\x20center','_menuManagerService','setChartStroke','GridlinesAndTicks','_renderDomChart','push','referenced','Chart\x20','status','3785841GfOUpD','slides-chart-ui.common.legend','register','slides-chart-ui.section.paretoBar','position','getAncestorScale','insertChart','_native','getId','values','drawing','slide-chart.data-editor','4269272VhOSVj','toSpec','button','\x0a\x20\x20!univer-w-[calc(100vw-32px)]\x20!univer-max-w-[680px]\x0a\x20\x20md:!univer-max-w-[960px]\x0a\x20\x20xl:!univer-max-w-[1200px]\x0a','ensureChartModel','Trendline','updateDataFromText','registerHostContext','dataSourceId','selectedElement$','_editSessionService','baseOn','_mountNode','config$','slide-chart-dom-mount','auto','fixed','remove$','element','slides-chart-ui.editor.defaultColor','attachPopupToClientRect','top-center','_injector','_subscribeChartEvents','querySelectorAll','registerCommand','shared','_init','_domHostMap','chart','_layoutChanged$','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','color','wordCloud','insertChartFromText','_domReadyChartIds','slides-chart-ui.candlestick.open','renderChart','LongDashDot','_renderChart','capType','getViewport','univer-flex\x20univer-flex-col\x20univer-gap-2','symbol','decorate','_registerPanelOperations','activeSlideId$','_hostLayoutSubscriptions','_listenChartResourceMutations','setActiveDomChart','slides-chart-ui.config','packageName','getFocusDrawings','Legend','_hostProvider','_lastImageDataUrlMap','_disposeChartEventSubscriptions','change','Bubble','slides-chart-ui.chord.source','type','_disposeHostLayoutListeners','syncLayout','modeChanged$','_getOrCreateChartRenderInstance','slides-chart-ui.common.insertChartFailed','slides-chart-ui.common.chartType','_chartInstanceMap','slides-chart-ui.candlestick.columnsError','_markReady','WaterfallSeries','ParetoLineSeries','key','slide-chart.dialog.data-editor','Scatter','stroke','LineAndArea','slides-chart-ui.section.pie','round','transformOrigin','object','createChartInstance','_hostContextMap','onTransformChange$','flipY','src','7KiZlqD','pie','commitImageHost','placeholderDrawing','slides-chart-ui.section.sunburst','Radar','transform','_config','getChartIdsByDataSource','delete','body','Treemap','bottom','function','slides-chart-ui.common.customize','max','payload','8381824kKewrR','ChartAndAxisTitles','setSelectedElement','executeChartUpdateConfig','getTransformer','slides-chart-ui.common.data','engine','createRenderInput','_getRenderRect','length','rotation','_localeService','config','422140fyVuzF','_chartEventHandlers','bounds','div','pipe','from','setLineDash','slides-chart-ui.common.editData','chartId','asObservable','slide-chart.dialog.insert-placeholder','inline','chartModelRemoved$','detached','slides-chart-ui.common.tableDataEmpty','THUMBNAIL','_renderModelManager','params','overlay','iconKey','globalAlpha','border','hidden','requested','activeSession$','slides-chart-ui.common.chartStyle','Round','Data','Heatmap','_activeSession$','stylizeSpec','subscribe','_notifyScene','unitId','slide-chart','_bindActiveSlideListener','GeneralSeries','_createChartRenderInstanceContext','_hideImage','viewportScrollY','get','_instanceService','join','section','scaleY','UniverSlideChartUIPlugin','add','tab','_slideCanvasPopManagerService','@univerjs-pro/slides-chart-ui','_sidebarService','activeEditChart','_panelRoute$','_renderRequestTokenMap','chartConfig','getEngine','borderRadius','getCanvasElement','right','call','labelId','_commandService','_chartModelService','append','map','_chartThemeService','_bindTransformStartListener','style$','EDIT','slides-chart-ui.chartTypes.','uComp','_drawChartStroke','_renderChartOnce','198DYoeOY','_chartElementEditMode','showFloatMenu','children','_setActiveChart','setActiveChartRuntime','setStyle','Boxplot','dashType','checkMounted','number','slides-chart-ui.section.candlestick','Chord','model','focus$','Waterfall','supports','Histogram','dataset','getHostElement','barStyle','Image','_removeHost$','checkHost','default','getHostStyle','className','NoLine','_disposeRuntimeRenderListener','_forEachHostContext','defaultTableText','IndicatorLine','version','drawingId','updateData','slide-chart.ui.service','RoundDot','slides-chart-ui.common.label','_listenFocusChanges','chartIdByElementId','_renderManagerService','clearPanelRoute','rotate(','Pie','emitEvent','Chart','preparePaste','Funnel','_modeChanged$','collect','setImageHidden','primary','_commitImageDataUrl','subUnitId','getChart','EmptyData','_renderService','_resourceService','univer-flex\x20univer-justify-end\x20univer-gap-2','forEach','legend','getRenderUnitById','removeHost$','_renderContext','_chartRenderService','_openFloatMenu','activeEditChart$','slides-chart-ui.section.relation','onReady','getEditorState','4gcQDgx','getOwnPropertyDescriptor','_popupDisposable','onDispose','_hostContextRegistrationMap','px\x20solid\x20','_slideDrawingService','PRESENTATION','deg)','butt','direction$','configReadyRevision$','_clearSelectedTarget','getRuntimeContext','_adapterRegistry','top','axis','_bindChartEventHandler','img','_registerAdapter','_insertChartIntoPlaceholder','PieStyle','defaultPageSize','_getCanvasClientScale','borderColor','_modelService','getDataSource','deepClone','_chartHostProvider','_getChartRenderObject','absolute','constructor','_activeEditChart$','slides-chart-ui.common.heatmap','_getSlideDomWorldLayer','miter','border-box','bevel','_dataEditService','onerror','openDataEditorDialog','getRenderMode','size','disposeWithMe','getDrawingBorderColor','setActiveEditChart','getClientRect','width','_initLifecycleListeners','_disposed','slide-chart-setup-panel','_waitForCurrentChartConfig','createElement','promise','exportImage','scene','slides-chart-ui.common.setup','issue','chartType','_activeSession','Square','imageObject','getChartModel','keys','borderWidth','changeDataSource','defineProperty','unsubscribe','pageManager','slide-chart-style-panel','every','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','beginPath','_bindChartEventHandlers','UNIVER_SLIDE','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','clear','_transformCanvasBoundToClientBound','getRect','radius','slides-chart-ui.candlestick.close','dispose$','code','removeHost','Slide','backgroundColor','open','slides-chart-ui.common.rightVerticalAxis','height','dataSource','_initCommands','zIndex','READY','label','slides-chart-ui.candlestick.low','ChartStyle','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','654705qmiVzQ','square','lineJoin','isElementEditModeActive','slides-chart-ui.common.chartAndAxisTitles','getHostContext','_draw','slides-chart-ui.section.histogram','format','10582wXbhkp','_dialogService','_renderImageChart','crossOrigin','slides-chart-ui.sunburst.hierarchy','_markNotReady','bind','lineWidth','layoutChanged$','remove','slides-chart-ui.common.valueField','Relation','_activeSlideSubscription','scale(','Dash','markHostReady','viewportScrollX','_componentManager','resolve','hit','slides-chart-ui.section.treemap','_chartStroke','OTHERS','makeDirty','_renderQueueMap','LongDashDotDot','_getOrCreateDomChartHost','oKey','markNotReady','setPanelRoute','updateDrawingBorderColor','_subscriptions','slides-chart-ui.common.editChart','OPERATION','1853298qpyTRd','_sidebarDisposable','WordCloud','ParetoBarSeries','RightVerticalAxis','ensureHost','appendRootMenu','_drawingStateService','slides-chart-ui.section.radar','getDataUrl','onEditData','Style','min','complete','slides-chart-ui.common.horizontalAxis','domReadyChanged$','content-box','getRenderColor','getObject','DashDot','_disposeChartEventSubscription','mode','syncHostLayout','Dom','plan','_attachNativeLoadHandlers','targetUnitId','target','row','requestRender','Bevel','has','Column','activeRuntimeModel','lineStrokeType','slides-chart-ui.common.verticalAxis','slides-chart-ui.common.cancel','lineCap','style','_closePopup','sceneType','onCommandExecuted','194UMaEmN','dispose','focused$','getBoundingClientRect','route','imageUpdated$','Sankey','cumulativeLineStyle','getDrawingData','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','slides-chart-element-float-menu','_lastRenderInputMap','onDataSourceSubmit','isActive','_transformStartSubscription','univer-min-w-0\x20univer-overflow-x-hidden','scaleX','slide.operation.close-slide-chart-panel','getDrawingByParam','click','slides-chart-ui.section.indicatorLine','render','_runtimeRenderSubscriptions','pluginName','sharingCount','_configService','_imageUpdated$','setElementEditMode','syncExecuteCommand','_domReadyChanged$','iterator','activeRuntimeModel$','chartModelAdded$','rect','ShapeIcon','Pareto','Gauge','slideDomWorldLayerUnitId','titles','angle','slides-chart-ui.section.wordCloud','_renderModeService','Line','anonymous','_popupSessionKey','selectDrawings','value','close','onStarting','_applyDomHostLayout','HorizontalAxis','changeChartSource','find','isDomReady','string','left','slide-chart-dom-host','fail','SquareDot','closeChartPanel','chartStyle','seriesId','overflow','_popupChartId','ensureMount','configReadyRevision','skewX','pareto','_getHostRegistrationKey','slide.operation.open-slide-chart-panel','_activeChartId','elements','elementIdMap','_requestChartCanvasRender','resourceService','UnknownOption','Placeholder','set','_univerInstanceService','slide-drawing-','slides-chart-ui.section.paretoLine','slides-chart-ui.section.chord','next','disposeChartInstance','charts','_createImageChartHost','toPrimitive','_hitTestService','series','_ready','panelRoute$','getUnit','markHostNotReady','isConnected','subscribeEvent'];_0x3f60=function(){return _0xc6f07;};return _0x3f60();}import{ChangeSlideChartDataSourceCommand as _0x21957f,DEFAULT_SLIDE_CHART_STROKE as _0x2de41d,DEFAULT_SLIDE_CHART_VALUES as _0x5da6f1,InsertSlideChartCommand as _0xa665c5,RemoveSlideChartDataSourceMutation as _0x1971b0,RemoveSlideChartSnapshotMutation as _0x38c843,SetSlideChartDataSourceMutation as _0x421bd5,SetSlideChartSnapshotMutation as _0x1c7539,SlideChartConfigAdapter as _0x2e2535,SlideChartModelService as _0x570fb7,SlideChartResourceService as _0x25eb68,UniverSlidesChartPlugin as _0x215832,UpdateSlideChartConfigCommand as _0x205d5d}from'@univerjs-pro/slides-chart';import{BehaviorSubject as _0x177cde,Observable as _0x51330b,Subject as _0x10d93f,combineLatest as _0x1fa037,filter as _0x2e76aa,firstValueFrom as _0x506679,skip as _0x33b61d,take as _0x9b16d9,takeUntil as _0x11f712,timeout as _0x1976c2}from'rxjs';import{ISlideClipboardResourceAdapterService as _0x53a9dd,ISlideDrawingStateService as _0x1cc7eb,ObjectAdaptor as _0x2e224a,SLIDE_MAIN_VIEWPORT_KEY as _0x43d5fc,SlideCanvasPopManagerService as _0x4bee87,SlideHitTestService as _0x1c4c9d,SlideImageObject as _0x4a85d9,SlideObjectAdaptorRegistryService as _0x4c8778,SlidePlaceholderActionOperation as _0x4ad761,UniverSlidesUIPlugin as _0x2c6052,buildDrawingOKey as _0x5f5bf0}from'@univerjs-pro/slides-ui';import{IRenderManagerService as _0x1344b6,UniverRenderEnginePlugin as _0xf3e694,pxToNum as _0x2e29ec}from'@univerjs/engine-render';import{UniverLicensePlugin as _0x3e2cc0}from'@univerjs-pro/license';import{ShapeLineCapEnum as _0x32c3d5,ShapeLineDashEnum as _0x46cc61,ShapeLineJoinEnum as _0x34f3c2,ShapeLineTypeEnum as _0x50a6e2}from'@univerjs-pro/engine-shape';function Cn(_0xe08ec2){const _0x4ff454=_0x46cc;let _0x2125cf=_0xe08ec2[_0x4ff454(0x1f6)](_0x2e78de),_0x38c861=_0x2125cf[_0x4ff454(0x3e1)]();if(_0x38c861[_0x4ff454(0x1ca)]!==0x1)return null;let [_0x12d551]=_0x38c861;if(!_0x12d551)return null;let _0x2693d=_0x2125cf[_0x4ff454(0x31b)](_0x12d551[_0x4ff454(0x1ef)],_0x12d551[_0x4ff454(0x24c)])[_0x12d551[_0x4ff454(0x238)]];return!_0x2693d||_0x2693d[_0x4ff454(0x3bf)][_0x4ff454(0x3e9)]!==_0x4ba1e0[_0x4ff454(0x244)]?null:{'unitId':_0x12d551[_0x4ff454(0x1ef)],'subUnitId':_0x12d551['subUnitId'],'drawingId':_0x12d551[_0x4ff454(0x238)]};}const z={'id':_0x34eeab(0x358),'type':_0x2effbd[_0x34eeab(0x2e8)],'handler'(){return!0x0;}},wn={'id':_0x34eeab(0x324),'type':_0x2effbd[_0x34eeab(0x2e8)],'handler'(){return!0x0;}},Tn={'id':'slide.operation.open-slide-chart-data-editor','type':_0x2effbd[_0x34eeab(0x2e8)],'handler'(){return!0x0;}},En={'id':'slide.operation.contextmenu.open-chart-panel','type':_0x2effbd[_0x34eeab(0x2e8)],'handler'(_0x5a5e3b){const _0x36999c=_0x34eeab;let _0x419499=Cn(_0x5a5e3b);return _0x419499?_0x5a5e3b[_0x36999c(0x1f6)](_0x5c49c1)[_0x36999c(0x384)](z['id'],_0x419499):!0x1;}},Dn=_0x34eeab(0x3ac),On=_0x34eeab(0x1a3);let kn=function(_0x421167){const _0x163d55=_0x34eeab;return _0x421167['SHARED']='shared',_0x421167[_0x163d55(0x390)]='duplicate',_0x421167;}({});function An(_0x1132c5){const _0xfeff8c=_0x34eeab;let _0x17ef65=_0x47bf61(_0x37c8ac),{values:_0x4b33fe,onCancel:_0x30743e,onSubmit:_0xca861c}=_0x1132c5,[_0x54c282,_0x19f92f]=_0x163ae5(()=>_0x424651(_0x1132c5[_0xfeff8c(0x2b6)])?_0xfeff8c(0x39e):_0xfeff8c(0x1d9)),[_0x121b86,_0x4e055b]=_0x163ae5(null),[_0x56b4d4,_0x2f63a7]=_0x163ae5(()=>_0x4b33fe[_0xfeff8c(0x20e)](_0x365e1c=>[..._0x365e1c])),[_0x41d2c1,_0x481ca1]=_0x163ae5(null),_0x59bcee=_0x126d4e=>{const _0x5566e8=_0xfeff8c;let _0x593bca=_0x292f8d(_0x56b4d4);if(_0x593bca[_0x5566e8(0x1ca)]===0x0){_0x481ca1(_0x17ef65['t'](_0x5566e8(0x1dc)));return;}_0x481ca1(null),_0xca861c(_0x593bca,_0x126d4e);};return _0x58b5ea(_0xfeff8c(0x1d1),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','children':[_0x7256a0(_0x385f9b,{'mode':_0x54c282,'initialSource':_0x424651(_0x1132c5['dataSource'])?_0x1132c5['dataSource'][_0xfeff8c(0x394)]:void 0x0,'inlineContent':_0x7256a0(_0xa7de8,{'values':_0x56b4d4,'parsePastedText':_0x5e4da5,'onChange':_0x2f63a7}),'onModeChange':_0x4b6b7d=>{_0x19f92f(_0x4b6b7d),_0x4e055b(null);},'onPreviewChange':(_0x52b539,_0x359dce)=>_0x4e055b(_0x52b539&&_0x359dce[_0xfeff8c(0x3a0)]===_0x4db24e['READY']?{'source':_0x52b539}:null)}),_0x41d2c1&&_0x7256a0(_0xfeff8c(0x1d1),{'className':_0xfeff8c(0x31c),'children':_0x41d2c1}),_0x58b5ea(_0xfeff8c(0x1d1),{'className':_0xfeff8c(0x251),'children':[_0x30743e&&_0x7256a0(_0x14e21a,{'type':'button','variant':'default','onClick':_0x30743e,'children':_0x17ef65['t'](_0xfeff8c(0x30d))}),_0x7256a0(_0x14e21a,{'type':_0xfeff8c(0x3af),'variant':_0xfeff8c(0x24a),'disabled':_0x54c282===_0xfeff8c(0x39e)&&!_0x121b86,'onClick':()=>{const _0x3f61ed=_0xfeff8c;var _0xc9d9b;return _0x54c282===_0x3f61ed(0x39e)&&_0x121b86?(_0xc9d9b=_0x1132c5[_0x3f61ed(0x31f)])==null?void 0x0:_0xc9d9b[_0x3f61ed(0x209)](_0x1132c5,_0x121b86):_0x59bcee(_0x3f61ed(0x3c7));},'children':_0x17ef65['t']('slides-chart-ui.common.apply')})]})]});}function jn(_0x59b4ec){'@babel/helpers - typeof';const _0x492455=_0x34eeab;return jn=typeof Symbol==_0x492455(0x1bd)&&typeof Symbol[_0x492455(0x331)]=='symbol'?function(_0x48b86e){return typeof _0x48b86e;}:function(_0x2bac82){const _0x45bde6=_0x492455;return _0x2bac82&&typeof Symbol=='function'&&_0x2bac82[_0x45bde6(0x27c)]===Symbol&&_0x2bac82!==Symbol['prototype']?'symbol':typeof _0x2bac82;},jn(_0x59b4ec);}function Mn(_0x2a8540,_0x5e185f){const _0x4cff87=_0x34eeab;if(jn(_0x2a8540)!=_0x4cff87(0x1aa)||!_0x2a8540)return _0x2a8540;var _0xf85880=_0x2a8540[Symbol[_0x4cff87(0x369)]];if(_0xf85880!==void 0x0){var _0x2eeb09=_0xf85880[_0x4cff87(0x209)](_0x2a8540,_0x5e185f||_0x4cff87(0x22f));if(jn(_0x2eeb09)!='object')return _0x2eeb09;throw TypeError(_0x4cff87(0x37d));}return(_0x5e185f==='string'?String:Number)(_0x2a8540);}function Nn(_0xb7e4f8){const _0x26f404=_0x34eeab;var _0x4347ea=Mn(_0xb7e4f8,_0x26f404(0x349));return jn(_0x4347ea)==_0x26f404(0x3d8)?_0x4347ea:_0x4347ea+'';}function B(_0x5ed24a,_0x1d5915,_0x1e27b0){const _0x3946ac=_0x34eeab;return(_0x1d5915=Nn(_0x1d5915))in _0x5ed24a?Object[_0x3946ac(0x29f)](_0x5ed24a,_0x1d5915,{'value':_0x1e27b0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ed24a[_0x1d5915]=_0x1e27b0,_0x5ed24a;}function V(_0x252d62,_0x525a15){return function(_0x16afd9,_0x486d45){_0x525a15(_0x16afd9,_0x486d45,_0x252d62);};}function H(_0x4f39d0,_0x21db68,_0x1d79b5,_0x2da9d6){const _0xad2a57=_0x34eeab;var _0x4e536f=arguments[_0xad2a57(0x1ca)],_0xb2abcc=_0x4e536f<0x3?_0x21db68:_0x2da9d6===null?_0x2da9d6=Object[_0xad2a57(0x25e)](_0x21db68,_0x1d79b5):_0x2da9d6,_0x84b113;if(typeof Reflect==_0xad2a57(0x1aa)&&typeof Reflect[_0xad2a57(0x3d9)]=='function')_0xb2abcc=Reflect[_0xad2a57(0x3d9)](_0x4f39d0,_0x21db68,_0x1d79b5,_0x2da9d6);else{for(var _0x279d97=_0x4f39d0[_0xad2a57(0x1ca)]-0x1;_0x279d97>=0x0;_0x279d97--)(_0x84b113=_0x4f39d0[_0x279d97])&&(_0xb2abcc=(_0x4e536f<0x3?_0x84b113(_0xb2abcc):_0x4e536f>0x3?_0x84b113(_0x21db68,_0x1d79b5,_0xb2abcc):_0x84b113(_0x21db68,_0x1d79b5))||_0xb2abcc);}return _0x4e536f>0x3&&_0xb2abcc&&Object[_0xad2a57(0x29f)](_0x21db68,_0x1d79b5,_0xb2abcc),_0xb2abcc;}const U=_0x557fa6(_0x34eeab(0x23a));let Pn=class extends _0x29f86e{constructor(_0x3714d8,_0x9dea1,_0x55b5dc,_0xaef9df,_0x20ef69){const _0x1233be=_0x34eeab;super(_0x20ef69),this[_0x1233be(0x20c)]=_0x3714d8,this['_commandService']=_0x9dea1,this[_0x1233be(0x35d)]=_0x55b5dc,this[_0x1233be(0x263)]=_0xaef9df,B(this,_0x1233be(0x27d),new _0x177cde(null)),B(this,'_selectedElement$',new _0x177cde(null)),B(this,_0x1233be(0x202),new _0x177cde(null)),B(this,'activeEditChart$',this[_0x1233be(0x27d)][_0x1233be(0x1d7)]()),B(this,_0x1233be(0x3b6),this[_0x1233be(0x374)][_0x1233be(0x1d7)]()),B(this,_0x1233be(0x36d),this[_0x1233be(0x202)]['asObservable']());}get[_0x34eeab(0x30a)](){const _0x2740d6=_0x34eeab;return this[_0x2740d6(0x20c)][_0x2740d6(0x30a)];}get[_0x34eeab(0x332)](){const _0x1db628=_0x34eeab;return this[_0x1db628(0x20c)][_0x1db628(0x332)];}get[_0x34eeab(0x201)](){const _0x54a033=_0x34eeab;return this[_0x54a033(0x27d)][_0x54a033(0x38b)]();}['setActiveEditChart'](_0xa43eee){const _0x157693=_0x34eeab;this[_0x157693(0x27d)]['getValue']()!==_0xa43eee&&this[_0x157693(0x27d)][_0x157693(0x365)](_0xa43eee);}[_0x34eeab(0x2c1)](_0x5821ed){const _0x1c4adc=_0x34eeab;return this[_0x1c4adc(0x27d)][_0x1c4adc(0x38b)]()===_0x5821ed;}[_0x34eeab(0x1c3)](_0x1295a1){const _0x4cf435=_0x34eeab;this['_selectedElement$'][_0x4cf435(0x365)](_0x1295a1);}[_0x34eeab(0x2e4)](_0x105b96,_0x38b447){this['_panelRoute$']['next']({'chartId':_0x105b96,'route':_0x38b447});}[_0x34eeab(0x240)](){const _0x151e27=_0x34eeab;this[_0x151e27(0x202)][_0x151e27(0x365)](null);}[_0x34eeab(0x1c4)](_0x15ccd7){const _0x174946=_0x34eeab;let _0xc33c95=this[_0x174946(0x20c)]['activeRuntimeModel'],_0x5a20fa=_0x15ccd7[_0x174946(0x1ef)]??(_0xc33c95==null?void 0x0:_0xc33c95[_0x174946(0x1ef)]),_0x2e34ea=_0x15ccd7['chartId']??(_0xc33c95==null?void 0x0:_0xc33c95['chartId']);!_0x5a20fa||!_0x2e34ea||this[_0x174946(0x20b)][_0x174946(0x384)](_0x205d5d['id'],{..._0x15ccd7,'unitId':_0x5a20fa,'chartId':_0x2e34ea});}['getDrawingBorderColor'](_0x5a4665,_0x27b3d4,_0x11fa94){const _0x3f9846=_0x34eeab;var _0x132ccf;let _0x44d6ad=this[_0x3f9846(0x263)]['getDrawingByParam']({'unitId':_0x5a4665,'subUnitId':_0x27b3d4,'drawingId':_0x11fa94});if(!(!_0x44d6ad||_0x44d6ad[_0x3f9846(0x3bf)]['type']!==_0x4ba1e0[_0x3f9846(0x244)]))return((_0x132ccf=_0x44d6ad['element']['stroke'])==null?void 0x0:_0x132ccf[_0x3f9846(0x3cd)])??_0x2de41d['color'];}[_0x34eeab(0x2e5)](_0x258e87,_0x3bab1f,_0x285018,_0x44f514){const _0x1b582d=_0x34eeab;let _0x18895f=this['_slideDrawingService'][_0x1b582d(0x325)]({'unitId':_0x258e87,'subUnitId':_0x3bab1f,'drawingId':_0x285018});if(!_0x18895f||_0x18895f[_0x1b582d(0x3bf)][_0x1b582d(0x3e9)]!==_0x4ba1e0[_0x1b582d(0x244)])return!0x1;let _0x2f5b2e={..._0x2de41d,..._0x18895f[_0x1b582d(0x3bf)]['stroke']??{},'color':_0x44f514};return this[_0x1b582d(0x20b)]['executeCommand'](_0xd889a6['id'],{'patches':[{'unitId':_0x258e87,'subUnitId':_0x3bab1f,'drawingId':_0x285018,'element':{..._0x18895f[_0x1b582d(0x3bf)],'stroke':_0x2f5b2e}}]}),!0x0;}['dispose'](){const _0x4cb2f8=_0x34eeab;this['_activeEditChart$']['complete'](),this['_selectedElement$']['complete'](),this[_0x4cb2f8(0x202)][_0x4cb2f8(0x2f6)](),super[_0x4cb2f8(0x314)]();}};Pn=H([V(0x0,_0x16d46e(_0x570fb7)),V(0x1,_0x5c49c1),V(0x2,_0x16d46e(_0x25eb68)),V(0x3,_0x16d46e(_0x2e78de)),V(0x4,_0x16d46e(_0x37dd7f))],Pn);const W='slide-chart.edit-panel',G={'axis':{..._0x1eaf6d,'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'indicatorLine':_0x3ba0d3,'legend':_0x2a7ce1,'pareto':_0xd1e7a5,'pie':_0x4fb0f3,'series':_0x4c9be9,'style':_0x46e8c5,'titles':_0x50885f,'waterfall':{..._0x2270ce,'useSubtotal':!0x0},'waterfallStyle':_0x122d43,'wordCloud':_0x26ce04},Fn=[_0x595712[_0x34eeab(0x33d)],_0x595712[_0x34eeab(0x1b5)],_0x595712[_0x34eeab(0x2eb)],_0x595712[_0x34eeab(0x1a4)],_0x595712[_0x34eeab(0x2d2)],_0x595712[_0x34eeab(0x319)],_0x595712['Heatmap'],_0x595712[_0x34eeab(0x21e)],_0x595712[_0x34eeab(0x37b)],_0x595712[_0x34eeab(0x228)],_0x595712[_0x34eeab(0x1bb)],_0x595712[_0x34eeab(0x373)],_0x595712[_0x34eeab(0x337)],_0x595712[_0x34eeab(0x223)]];function In(_0x57ffe1){const _0x14b0d7=_0x34eeab;let _0x24ed7e=_0x47bf61(_0x37c8ac);return _0x58b5ea('div',{'children':[_0x7256a0(_0x27c975,{'title':_0x24ed7e['t'](_0x14b0d7(0x1c6))}),_0x7256a0(_0x14e21a,{'type':_0x14b0d7(0x3af),'variant':_0x14b0d7(0x22f),'className':'univer-w-full\x20univer-justify-start','onClick':_0x57ffe1[_0x14b0d7(0x2f3)],'children':_0x24ed7e['t'](_0x14b0d7(0x1d5))})]});}function Ln(){const _0x56ad51=_0x34eeab;let _0x339bc8=_0x11c848();return _0x7256a0(_0x4cfb06,{'visible':Fn[_0x56ad51(0x2a3)](_0x53689d=>!_0x1e9049[_0x56ad51(0x3b8)](_0x339bc8,_0x53689d))});}function Rn(_0xaccf98){const _0x20a570=_0x34eeab;return _0x58b5ea(_0x130c2f,{'id':_0xaccf98['id'],'children':[_0x7256a0(_0x13a4df,{'children':_0xaccf98[_0x20a570(0x2ba)]}),_0x7256a0(_0x49774b,{'children':_0xaccf98[_0x20a570(0x21a)]})]});}function zn(_0x13c916,_0x480def=!0x1){const _0x14996f=_0x34eeab;let _0x5c5353=_0x13c916===_0x595712[_0x14996f(0x2eb)],_0x3fa253=_0x1e9049[_0x14996f(0x3b8)](_0x13c916,_0x595712[_0x14996f(0x3e7)]),_0x373d2c=_0x1e9049[_0x14996f(0x3b8)](_0x13c916,_0x595712[_0x14996f(0x242)]),_0x3cb088=_0x13c916===_0x595712[_0x14996f(0x226)],_0x23085c=_0x13c916===_0x595712[_0x14996f(0x336)],_0x341f59=_0x13c916===_0x595712[_0x14996f(0x37b)],_0x404350=_0x13c916===_0x595712[_0x14996f(0x228)],_0x22bed5=_0x13c916===_0x595712[_0x14996f(0x1bb)],_0x10dd48=_0x13c916===_0x595712[_0x14996f(0x373)],_0x2bd93b=_0x13c916===_0x595712[_0x14996f(0x337)],_0x362e73=_0x13c916===_0x595712[_0x14996f(0x223)],_0x4aa8d2=[_0x2a1891['ChartStyle'],_0x2a1891[_0x14996f(0x1c2)]];return _0x5c5353&&_0x4aa8d2['push'](_0x2a1891[_0x14996f(0x2eb)]),_0x3c20f2(_0x13c916,_0x146d95[_0x14996f(0x1f2)])&&!_0x3fa253&&!_0x23085c&&_0x4aa8d2['push'](_0x2a1891['Series']),_0x3cb088&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891['WaterfallSeries']),_0x23085c&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x2ec)],_0x2a1891[_0x14996f(0x1a1)]),_0x373d2c&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x272)]),_0x341f59&&_0x4aa8d2['push'](_0x2a1891[_0x14996f(0x37b)]),_0x404350&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x228)]),_0x22bed5&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x1bb)]),_0x10dd48&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891['Sunburst']),_0x2bd93b&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891['Gauge']),_0x362e73&&_0x4aa8d2['push'](_0x2a1891[_0x14996f(0x223)]),_0x3c20f2(_0x13c916,_0x146d95[_0x14996f(0x3e2)])&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891['Legend']),_0x3c20f2(_0x13c916,_0x146d95['Axes'])&&(_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x345)],_0x2a1891['VerticalAxis']),_0x480def&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x2ed)]),_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x39b)])),_0x3c20f2(_0x13c916,_0x146d95[_0x14996f(0x236)])&&_0x4aa8d2[_0x14996f(0x39d)](_0x2a1891[_0x14996f(0x236)]),_0x4aa8d2;}function Bn(_0xff8cbd){const _0xfd5a30=_0x34eeab;var _0x23e3aa,_0x3b40b6,_0x46611d;let _0x2aa55e=_0x47bf61(U),_0x12737a=_0x47bf61(_0x37c8ac),_0x55f60c=_0x11c848(),_0x4357dd=_0x161a33(),[_0x4cd647,_0x2821e6]=_0x163ae5(_0x2de41d[_0xfd5a30(0x3cd)]),[_0x981eac,_0x56a0c8]=_0x163ae5(((_0x23e3aa=_0xff8cbd[_0xfd5a30(0x317)])==null?void 0x0:_0x23e3aa['section'])??_0x2a1891[_0xfd5a30(0x2bc)]);_0x44c5fb(()=>{const _0x4ccc71=_0xfd5a30;!_0xff8cbd[_0x4ccc71(0x24c)]||!_0xff8cbd[_0x4ccc71(0x238)]||_0x2821e6(_0x2aa55e[_0x4ccc71(0x289)](_0xff8cbd['unitId'],_0xff8cbd['subUnitId'],_0xff8cbd[_0x4ccc71(0x238)])??_0x2de41d['color']);},[_0x2aa55e,_0xff8cbd[_0xfd5a30(0x238)],_0xff8cbd[_0xfd5a30(0x24c)],_0xff8cbd[_0xfd5a30(0x1ef)]]),_0x44c5fb(()=>{const _0x4da900=_0xfd5a30;var _0x1c64bc;(_0x1c64bc=_0xff8cbd[_0x4da900(0x317)])!=null&&_0x1c64bc[_0x4da900(0x1f9)]&&_0x56a0c8(_0xff8cbd[_0x4da900(0x317)]['section']);},[_0xff8cbd[_0xfd5a30(0x317)]]);let _0x12dfa8=_0x12737a['t']('slides-chart-ui.border'),_0x418dd8=_0x12737a['t'](_0xfd5a30(0x3c0)),_0x557988=_0x7256a0(_0x5d31c8,{'emptyLabel':_0x418dd8,'label':_0x12dfa8,'pickerFallbackValue':_0x2de41d['color'],'resetLabel':_0x418dd8,'value':_0x4cd647,'onChange':_0xa767a9=>{const _0x334951=_0xfd5a30;let _0x213247=_0xa767a9??_0x2de41d[_0x334951(0x3cd)];_0x2821e6(_0x213247),_0xff8cbd[_0x334951(0x24c)]&&_0xff8cbd[_0x334951(0x238)]&&_0x2aa55e[_0x334951(0x2e5)](_0xff8cbd[_0x334951(0x1ef)],_0xff8cbd['subUnitId'],_0xff8cbd['drawingId'],_0x213247);}}),_0x46843c=_0x7256a0(_0x1ffd58,{}),_0x176284={[_0x2a1891['Candlestick']]:_0x12737a['t'](_0xfd5a30(0x222)),[_0x2a1891[_0xfd5a30(0x1c2)]]:_0x12737a['t'](_0xfd5a30(0x2c2)),[_0x2a1891[_0xfd5a30(0x2bc)]]:_0x12737a['t'](_0xfd5a30(0x1e7)),[_0x2a1891['Chord']]:_0x12737a['t'](_0xfd5a30(0x364)),[_0x2a1891[_0xfd5a30(0x246)]]:_0x12737a['t']('slides-chart-ui.section.funnel'),[_0x2a1891[_0xfd5a30(0x337)]]:_0x12737a['t']('slides-chart-ui.section.gauge'),[_0x2a1891[_0xfd5a30(0x39b)]]:_0x12737a['t']('slides-chart-ui.section.gridlinesAndTicks'),[_0x2a1891[_0xfd5a30(0x1ea)]]:_0x12737a['t'](_0xfd5a30(0x27e)),[_0x2a1891[_0xfd5a30(0x228)]]:_0x12737a['t'](_0xfd5a30(0x2c5)),[_0x2a1891[_0xfd5a30(0x345)]]:_0x12737a['t'](_0xfd5a30(0x2f7)),[_0x2a1891[_0xfd5a30(0x236)]]:_0x12737a['t'](_0xfd5a30(0x327)),[_0x2a1891[_0xfd5a30(0x3e2)]]:_0x12737a['t'](_0xfd5a30(0x3a2)),[_0x2a1891[_0xfd5a30(0x1a6)]]:_0x12737a['t']('slides-chart-ui.section.lineAndArea'),[_0x2a1891[_0xfd5a30(0x2ec)]]:_0x12737a['t'](_0xfd5a30(0x3a4)),[_0x2a1891[_0xfd5a30(0x1a1)]]:_0x12737a['t'](_0xfd5a30(0x363)),[_0x2a1891['PieStyle']]:_0x12737a['t'](_0xfd5a30(0x1a7)),[_0x2a1891[_0xfd5a30(0x1b5)]]:_0x12737a['t'](_0xfd5a30(0x2f1)),[_0x2a1891[_0xfd5a30(0x2d2)]]:_0x12737a['t'](_0xfd5a30(0x25a)),[_0x2a1891[_0xfd5a30(0x2ed)]]:_0x12737a['t'](_0xfd5a30(0x2b4)),[_0x2a1891['Series']]:_0x12737a['t']('slides-chart-ui.common.series'),[_0x2a1891[_0xfd5a30(0x373)]]:_0x12737a['t'](_0xfd5a30(0x1b4)),[_0x2a1891[_0xfd5a30(0x1bb)]]:_0x12737a['t'](_0xfd5a30(0x2db)),[_0x2a1891[_0xfd5a30(0x3b2)]]:_0x12737a['t']('slides-chart-ui.common.trendline'),[_0x2a1891[_0xfd5a30(0x37f)]]:_0x12737a['t'](_0xfd5a30(0x30c)),[_0x2a1891[_0xfd5a30(0x3f3)]]:_0x12737a['t']('slides-chart-ui.section.waterfall'),[_0x2a1891['WordCloud']]:_0x12737a['t'](_0xfd5a30(0x33b))},_0x4f2ee0={[_0x2a1891[_0xfd5a30(0x2bc)]]:_0x7256a0(_0x360934,{'defaultValues':G[_0xfd5a30(0x30f)],'hostBorder':_0x557988,'showBodyFont':!0x1}),[_0x2a1891[_0xfd5a30(0x1c2)]]:_0x7256a0(_0x572387,{'commitMode':_0xfd5a30(0x3e6),'defaultValues':G[_0xfd5a30(0x339)],'showFont':!0x1}),[_0x2a1891['Series']]:_0x7256a0(_0x1ed891,{'defaultValues':G[_0xfd5a30(0x36b)],'NumberFormatField':_0x2d2bcc,'selectedSeriesId':(_0x3b40b6=_0xff8cbd[_0xfd5a30(0x317)])==null?void 0x0:_0x3b40b6[_0xfd5a30(0x350)]}),[_0x2a1891[_0xfd5a30(0x3f3)]]:_0x7256a0(_0xfe1645,{'defaultValues':G[_0xfd5a30(0x37a)],'NumberFormatField':_0x2d2bcc,'selectedSeriesId':(_0x46611d=_0xff8cbd[_0xfd5a30(0x317)])==null?void 0x0:_0x46611d[_0xfd5a30(0x350)]}),[_0x2a1891['ParetoBarSeries']]:_0x7256a0(_0x363a97,{'defaultValues':G[_0xfd5a30(0x356)],'NumberFormatField':_0x2d2bcc,'showDataPointEditor':!0x0,'target':_0xfd5a30(0x22b)}),[_0x2a1891[_0xfd5a30(0x1a1)]]:_0x7256a0(_0x363a97,{'defaultValues':G[_0xfd5a30(0x356)],'NumberFormatField':_0x2d2bcc,'showDataPointEditor':!0x0,'target':_0xfd5a30(0x31a)}),[_0x2a1891[_0xfd5a30(0x272)]]:_0x7256a0(_0x12533a,{'defaultValues':G[_0xfd5a30(0x1b1)],'NumberFormatField':_0x2d2bcc}),[_0x2a1891[_0xfd5a30(0x2eb)]]:_0x7256a0(_0x236f23,{'defaultValues':G[_0xfd5a30(0x3ce)]}),[_0x2a1891['Legend']]:_0x7256a0(_0x1384df,{'defaultValues':G[_0xfd5a30(0x253)],'children':_0x58b5ea(_0xfd5a30(0x1d1),{'className':_0xfd5a30(0x3d7),'children':[_0x7256a0(_0x53bc26,{}),_0x7256a0(_0x53ad60,{})]})}),[_0x2a1891['HorizontalAxis']]:_0x7256a0(_0x579625,{'axis':'x','defaultValues':G['axis']}),[_0x2a1891[_0xfd5a30(0x37f)]]:_0x7256a0(_0x579625,{'axis':'y','defaultValues':G['axis']}),[_0x2a1891[_0xfd5a30(0x2ed)]]:_0x7256a0(_0x579625,{'axis':_0xfd5a30(0x393),'defaultValues':G['axis']}),[_0x2a1891['GridlinesAndTicks']]:_0x58b5ea(_0xfd5a30(0x1d1),{'className':_0xfd5a30(0x3d7),'children':[_0x7256a0(_0x47021c,{'axis':'x','defaultValues':G[_0xfd5a30(0x26d)],'label':_0x12737a['t']('slides-chart-ui.common.horizontalAxis')}),_0x7256a0(_0x47021c,{'axis':'y','defaultValues':G[_0xfd5a30(0x26d)],'label':_0x12737a['t'](_0xfd5a30(0x30c))})]}),[_0x2a1891[_0xfd5a30(0x236)]]:_0x7256a0(_0x5312d5,{'defaultValues':G['indicatorLine']}),[_0x2a1891[_0xfd5a30(0x37b)]]:_0x46843c,[_0x2a1891['Histogram']]:_0x46843c,[_0x2a1891[_0xfd5a30(0x1bb)]]:_0x46843c,[_0x2a1891[_0xfd5a30(0x373)]]:_0x46843c,[_0x2a1891['Gauge']]:_0x46843c,[_0x2a1891[_0xfd5a30(0x223)]]:_0x46843c};return _0x7256a0(_0x40596b,{'value':_0x981eac,'onChange':_0x56a0c8,'children':zn(_0x55f60c,_0x4357dd)[_0xfd5a30(0x20e)](_0x358f6b=>_0x7256a0(Rn,{'id':_0x358f6b,'label':_0x176284[_0x358f6b],'children':_0x4f2ee0[_0x358f6b]},_0x358f6b))});}function Vn(_0x49d696){const _0x364cb2=_0x34eeab;let {unitId:_0x104d9a,subUnitId:_0x7dcd3a,drawingId:_0x436a84,chartId:_0x4de820}=_0x49d696,_0x166b77=_0x47bf61(_0x570fb7),_0x1ce163=_0x47bf61(U),_0x5ca0bc=_0x47bf61(_0x37c8ac),_0x27d0a8=_0x47bf61(_0x5c49c1),_0x4a3c39=_0x47bf61(_0x3633e3),_0x381933=_0x47bf61(_0x1e9c4f),[_0x48d26d,_0x3ce887]=_0x163ae5(_0x37dd78[_0x364cb2(0x1e9)]),_0x158500=_0x1a4a6b(_0x1ce163[_0x364cb2(0x36d)],null),_0x18e16f=(_0x158500==null?void 0x0:_0x158500['chartId'])===_0x4de820?_0x158500[_0x364cb2(0x317)]:null;_0x44c5fb(()=>{_0x166b77['setActiveChartById'](_0x104d9a,_0x4de820);},[_0x4de820,_0x166b77,_0x104d9a]),_0x44c5fb(()=>{const _0x383917=_0x364cb2;(_0x18e16f==null?void 0x0:_0x18e16f[_0x383917(0x1fd)])===_0x37dd78['Style']&&_0x3ce887(_0x37dd78[_0x383917(0x2f4)]),(_0x18e16f==null?void 0x0:_0x18e16f[_0x383917(0x1fd)])===_0x37dd78[_0x383917(0x1e9)]&&_0x3ce887(_0x37dd78[_0x383917(0x1e9)]);},[_0x18e16f]);let _0x358eaf=_0x1a4a6b(_0x166b77[_0x364cb2(0x332)],_0x166b77['activeRuntimeModel']),_0x3cc9be=(_0x358eaf==null?void 0x0:_0x358eaf[_0x364cb2(0x1ef)])===_0x104d9a&&_0x358eaf['chartId']===_0x4de820,_0x3100f1=_0x4d9650(()=>{const _0xc83e2a=_0x364cb2;if(!_0x3cc9be||!_0x7dcd3a||!_0x436a84)return null;let _0xce9b62=_0x381933[_0xc83e2a(0x36e)](_0x104d9a,_0xcf3ade['UNIVER_SLIDE']);return _0xce9b62?new _0x235307(_0x358eaf[_0xc83e2a(0x224)],new _0x2e2535({'unitId':_0x104d9a,'subUnitId':_0x7dcd3a,'chartId':_0x4de820,'elementId':_0x436a84,'slideModel':_0xce9b62,'injector':_0x4a3c39})):null;},[_0x358eaf,_0x4de820,_0x436a84,_0x4a3c39,_0x3cc9be,_0x7dcd3a,_0x104d9a,_0x381933]),_0x3adfd7=_0x4d9650(()=>_0x3068c2(_0x212609['map'](_0x518408=>({..._0x518408,'label':_0x5ca0bc['t'](_0x364cb2(0x213)+_0x518408['labelId'])}))),[_0x5ca0bc]);return!_0x3cc9be||!_0x3100f1?null:_0x7256a0(_0x4ac0d3,{'chartUIService':_0x1ce163,'hostAdapter':_0x3100f1,'children':_0x58b5ea(_0x364cb2(0x1d1),{'className':'univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':[_0x7256a0(_0x5d57e5,{'ariaLabel':_0x5ca0bc['t']('slides-chart-ui.common.editChart'),'className':'univer-shrink-0\x20univer-px-3','items':[{'label':_0x5ca0bc['t'](_0x364cb2(0x295)),'panelId':Hn,'value':_0x37dd78[_0x364cb2(0x1e9)]},{'label':_0x5ca0bc['t'](_0x364cb2(0x1be)),'panelId':Un,'value':_0x37dd78[_0x364cb2(0x2f4)]}],'value':_0x48d26d,'onChange':_0x3ce887}),_0x48d26d===_0x37dd78[_0x364cb2(0x1e9)]?_0x7256a0(_0x3687c3,{'id':Hn,'label':_0x5ca0bc['t']('slides-chart-ui.common.setup'),'children':_0x58b5ea('div',{'className':_0x364cb2(0x2bd),'children':[_0x7256a0(_0x37a0f4,{'options':_0x3adfd7}),_0x7256a0(_0x223f41,{}),_0x7256a0(_0x393788,{}),_0x7256a0(Ln,{}),_0x7256a0(_0x28b3da,{}),_0x7256a0(In,{'onEditData':()=>{const _0x25f4cf=_0x364cb2;_0x27d0a8[_0x25f4cf(0x384)](Tn['id'],{'unitId':_0x104d9a,'chartId':_0x4de820});}}),_0x7256a0(_0x47384d,{'orientationControl':_0x7256a0(_0x14e21a,{'size':'small','onClick':()=>_0x1ce163['executeChartUpdateConfig']({'patch':{'context':{'orient':_0x358eaf['source']['isRowDirection']?'column':_0x364cb2(0x305)}}}),'children':_0x5ca0bc['t']('slides-chart-ui.common.switchRowColumn')})}),_0x7256a0(_0x318904,{}),_0x7256a0(_0x1f399e,{'defaultValues':G['waterfall']})]})}):_0x7256a0(_0x3687c3,{'id':Un,'className':_0x364cb2(0x322),'label':_0x5ca0bc['t'](_0x364cb2(0x1be)),'children':_0x7256a0(Bn,{'unitId':_0x104d9a,'subUnitId':_0x7dcd3a,'drawingId':_0x436a84,'route':_0x18e16f})})]})});}const Hn=_0x34eeab(0x28f),Un=_0x34eeab(0x2a2);let K=class{constructor(_0x7c5aef,_0x2fd026,_0x3c4c78){const _0xf6ee16=_0x34eeab;this['_instanceService']=_0x7c5aef,this['_commandService']=_0x2fd026,this[_0xf6ee16(0x2f0)]=_0x3c4c78;}[_0x34eeab(0x3cf)](_0x35e45f,_0x3871ca,_0x3ce759){const _0x3718ea=_0x34eeab;let _0xf4913c=_0x5e4da5(_0x35e45f);return _0xf4913c[_0x3718ea(0x1ca)]!==0x0&&this[_0x3718ea(0x3a7)](_0xf4913c,_0x3871ca,_0x3ce759);}['insertChart'](_0x542854,_0xbb9412,_0x27cdee={}){const _0x2461d3=_0x34eeab;if(_0x542854[_0x2461d3(0x1ca)]===0x0)return!0x1;let _0x5067cd=_0x27063a(_0xbb9412,_0x542854);if(!_0x5067cd['ok'])return!0x1;if(_0x27cdee[_0x2461d3(0x1b3)])return this[_0x2461d3(0x271)](_0x5067cd['values'],_0xbb9412,_0x27cdee[_0x2461d3(0x1b3)],_0x27cdee['style'],_0x27cdee['dataSource']);let _0x44bc94=_0x38dd15(this[_0x2461d3(0x1f7)]);if(!_0x44bc94)return!0x1;let {presentation:_0x24b580,unitId:_0x42a0da,subUnitId:_0x444b0a}=_0x44bc94,_0x478df0=_0x24b580['getSnapshot']()[_0x2461d3(0x273)],_0x280877=Math[_0x2461d3(0x2f5)](0x208,Math[_0x2461d3(0x1bf)](0x140,Math[_0x2461d3(0x1a8)](_0x478df0[_0x2461d3(0x28c)]*0.56))),_0x167de0=Math[_0x2461d3(0x2f5)](0x168,Math['max'](0xdc,Math[_0x2461d3(0x1a8)](_0x478df0[_0x2461d3(0x2b5)]*0.56))),_0x356a9f=Math[_0x2461d3(0x1bf)](0x18,Math[_0x2461d3(0x1a8)]((_0x478df0['width']-_0x280877)/0x2)),_0x138a4c=Math[_0x2461d3(0x1bf)](0x18,Math[_0x2461d3(0x1a8)]((_0x478df0[_0x2461d3(0x2b5)]-_0x167de0)/0x2)),_0x2ab107=_0x1180d6(0x6),_0x4993c4=_0x1180d6(0x6);return this['_commandService'][_0x2461d3(0x32f)](_0xa665c5['id'],{'unitId':_0x42a0da,'subUnitId':_0x444b0a,'chart':{'chartType':_0xbb9412,..._0x27cdee[_0x2461d3(0x30f)]?{'style':_0x27cdee['style']}:{}},'dataSource':_0x27cdee[_0x2461d3(0x2b6)]??{'values':_0x5067cd[_0x2461d3(0x3aa)]},'element':{'id':_0x4993c4,'chartId':_0x2ab107,'transform':{'left':_0x356a9f,'top':_0x138a4c,'width':_0x280877,'height':_0x167de0}}})?(this['_drawingStateService'][_0x2461d3(0x340)]({'unitId':_0x42a0da,'subUnitId':_0x444b0a},[_0x4993c4],_0x4993c4),this[_0x2461d3(0x20b)][_0x2461d3(0x32f)](z['id'],{'unitId':_0x42a0da,'subUnitId':_0x444b0a,'drawingId':_0x4993c4}),!0x0):!0x1;}[_0x34eeab(0x271)](_0x67f3e2,_0xdb07fd,_0x4f1a8b,_0x2062e0,_0x2d6aaa){const _0x4746dc=_0x34eeab;if(_0x4f1a8b[_0x4746dc(0x3bf)][_0x4746dc(0x3e9)]!==_0x4ba1e0['Placeholder'])return!0x1;let _0xb93790={'chartType':_0xdb07fd,..._0x2062e0?{'style':_0x2062e0}:{}},_0x115002=_0x2d6aaa??{'values':_0x67f3e2},{unitId:_0x39f3f4,subUnitId:_0x434fae,drawingId:_0x5b212a,element:_0x41723f,sourcePageType:_0x1b0b3d}=_0x4f1a8b,{transform:_0x577735,placeholder:_0x2d080e}=_0x41723f,_0x438746={'id':_0x1b0b3d===_0x2c39ab[_0x4746dc(0x2b1)]?_0x5b212a:_0x1180d6(0x6),'transform':_0x577735,'placeholder':_0x2d080e},_0x3710e5=_0x4f1a8b['sourcePageType']===_0x2c39ab[_0x4746dc(0x2b1)]?_0x5b212a:void 0x0;if(!this[_0x4746dc(0x20b)][_0x4746dc(0x32f)](_0xa665c5['id'],{'unitId':_0x39f3f4,'subUnitId':_0x434fae,'chart':_0xb93790,'dataSource':_0x115002,'element':_0x438746,'replaceElementId':_0x3710e5}))return!0x1;let _0x2420da=_0x3710e5??_0x438746['id'];return this[_0x4746dc(0x2f0)][_0x4746dc(0x340)]({'unitId':_0x39f3f4,'subUnitId':_0x434fae},[_0x2420da],_0x2420da),this[_0x4746dc(0x20b)][_0x4746dc(0x32f)](z['id'],{'unitId':_0x4f1a8b[_0x4746dc(0x1ef)],'subUnitId':_0x4f1a8b['subUnitId'],'drawingId':_0x2420da}),!0x0;}};K=H([V(0x0,_0x1e9c4f),V(0x1,_0x5c49c1),V(0x2,_0x1cc7eb)],K);const Wn='slide-chart.insert-panel',Gn=_0x5da6f1[_0x34eeab(0x20e)](_0xa58822=>_0xa58822[_0x34eeab(0x1f8)]('\x09'))[_0x34eeab(0x1f8)]('\x0a');function Kn(_0x2e70d1){const _0x338af1=_0x34eeab;let _0x412dfb=_0x47bf61(K),_0x3379a9=_0x47bf61(_0x37c8ac),{defaultChartType:_0x126a08=_0x595712[_0x338af1(0x309)],defaultTableText:_0x11de0c=Gn,insertOptions:_0x3b67e,onCancel:_0xa8e822,onInserted:_0x1843cb}=_0x2e70d1,_0x3a1e98=_0x4d9650(()=>_0x3068c2(_0x212609[_0x338af1(0x20e)](_0x5ee6b3=>({..._0x5ee6b3,'label':_0x3379a9['t']('slides-chart-ui.chartTypes.'+_0x5ee6b3[_0x338af1(0x20a)])}))),[_0x3379a9]),[_0x57db85,_0x45332b]=_0x163ae5(String(_0x126a08)),_0x17268b=_0x3a1e98[_0x338af1(0x347)](_0x40d01a=>_0x40d01a[_0x338af1(0x341)]===_0x57db85),_0x453238=(_0x17268b==null?void 0x0:_0x17268b[_0x338af1(0x297)])??_0x126a08,_0x1a88a3=_0x5da07d=>_0x487343(_0x5da07d,{'candlestickClose':_0x3379a9['t'](_0x338af1(0x2ad)),'candlestickHigh':_0x3379a9['t'](_0x338af1(0x381)),'candlestickLow':_0x3379a9['t'](_0x338af1(0x2bb)),'candlestickOpen':_0x3379a9['t'](_0x338af1(0x3d1)),'category':_0x3379a9['t']('slides-chart-ui.common.category'),'chordSource':_0x3379a9['t'](_0x338af1(0x3e8)),'chordTarget':_0x3379a9['t']('slides-chart-ui.chord.target'),'label':_0x3379a9['t'](_0x338af1(0x23c)),'sunburstHierarchy':_0x3379a9['t'](_0x338af1(0x2cb)),'value':_0x3379a9['t']('slides-chart-ui.common.value'),'valueField':_0x3379a9['t'](_0x338af1(0x2d1))}),[_0x3d79b2,_0xfbd50d]=_0x163ae5(()=>_0x2e70d1[_0x338af1(0x235)]===void 0x0?_0x1a88a3(_0x126a08)??_0x5e4da5(_0x11de0c):_0x5e4da5(_0x11de0c)),[_0x49a053,_0x584217]=_0x163ae5(_0x338af1(0x1d9)),[_0x10344f,_0x3a9bbd]=_0x163ae5(null),[_0x2e0a8e,_0x346b3c]=_0x163ae5([]),[_0x23f182,_0x4db068]=_0x163ae5(null),_0x21ee47={[_0x400dd0[_0x338af1(0x35e)]]:_0x3379a9['t'](_0x338af1(0x3ee)),[_0x400dd0[_0x338af1(0x24e)]]:_0x3379a9['t'](_0x338af1(0x1dc)),[_0x400dd0['InvalidCandlestickData']]:_0x3379a9['t'](_0x338af1(0x3f1))};return _0x58b5ea(_0x338af1(0x1d1),{'className':_0x338af1(0x2a4),'children':[_0x58b5ea(_0x338af1(0x1d1),{'className':_0x338af1(0x3d7),'children':[_0x7256a0(_0x338af1(0x1d1),{'className':_0x338af1(0x3cc),'children':_0x3379a9['t'](_0x338af1(0x3ef))}),_0x7256a0(_0x2f0888,{'className':'univer-w-full\x20!univer-min-w-0','value':_0x57db85,'options':_0x3a1e98,'onChange':_0x4ebe7f=>{const _0x1ac304=_0x338af1;var _0x41cc17;_0x45332b(_0x4ebe7f);let _0x12c473=((_0x41cc17=_0x3a1e98[_0x1ac304(0x347)](_0x1af546=>_0x1af546[_0x1ac304(0x341)]===_0x4ebe7f))==null?void 0x0:_0x41cc17[_0x1ac304(0x297)])??Number(_0x4ebe7f),_0x301b51=_0x1a88a3(_0x12c473);_0x301b51&&_0xfbd50d(_0x301b51);}})]}),_0x7256a0(_0x385f9b,{'mode':_0x49a053,'inlineContent':_0x7256a0(_0xa7de8,{'values':_0x3d79b2,'minColumns':_0xf46380(_0x453238),'parsePastedText':_0x5e4da5,'onChange':_0xfbd50d}),'onModeChange':_0x1435e7=>{_0x584217(_0x1435e7),_0x3a9bbd(null),_0x346b3c([]);},'onPreviewChange':(_0x5aed50,_0x1c973a)=>{const _0xc37e19=_0x338af1;_0x5aed50&&_0x1c973a['status']===_0x4db24e[_0xc37e19(0x2b9)]&&_0x1c973a[_0xc37e19(0x3aa)]?(_0x3a9bbd({'source':_0x5aed50}),_0x346b3c(_0x1c973a[_0xc37e19(0x3aa)][_0xc37e19(0x20e)](_0x1800ad=>[..._0x1800ad]))):(_0x3a9bbd(null),_0x346b3c([]));}}),_0x23f182&&_0x7256a0(_0x338af1(0x1d1),{'className':_0x338af1(0x31c),'children':_0x23f182}),_0x58b5ea(_0x338af1(0x1d1),{'className':_0x338af1(0x251),'children':[_0xa8e822&&_0x7256a0(_0x14e21a,{'type':_0x338af1(0x3af),'variant':'default','onClick':_0xa8e822,'children':_0x3379a9['t'](_0x338af1(0x30d))}),_0x7256a0(_0x14e21a,{'type':'button','variant':_0x338af1(0x24a),'disabled':_0x49a053===_0x338af1(0x39e)&&!_0x10344f,'onClick':()=>{const _0x42bb1b=_0x338af1;var _0x522c79;let _0x1ad35f=_0x19dea4({'optionId':_0x57db85,'values':_0x49a053===_0x42bb1b(0x39e)?_0x2e0a8e:_0x3d79b2});if(!_0x1ad35f['ok']){_0x4db068(_0x21ee47[_0x1ad35f[_0x42bb1b(0x296)][_0x42bb1b(0x2af)]]);return;}let _0x1c8a45=_0x49a053===_0x42bb1b(0x39e)&&_0x10344f?{..._0x3b67e,'dataSource':_0x10344f}:_0x3b67e,_0x234eed=_0x1ad35f[_0x42bb1b(0x301)]['style']?{..._0x1c8a45,'style':{..._0x1c8a45==null?void 0x0:_0x1c8a45[_0x42bb1b(0x30f)],'pie':{..._0x1c8a45==null||(_0x522c79=_0x1c8a45[_0x42bb1b(0x30f)])==null?void 0x0:_0x522c79[_0x42bb1b(0x1b1)],..._0x1ad35f['plan'][_0x42bb1b(0x30f)][_0x42bb1b(0x1b1)]}}}:_0x1c8a45;if(!_0x412dfb[_0x42bb1b(0x3a7)](_0x1ad35f[_0x42bb1b(0x301)][_0x42bb1b(0x3aa)],_0x1ad35f[_0x42bb1b(0x301)]['chartType'],_0x234eed)){_0x4db068(_0x3379a9['t'](_0x42bb1b(0x3ee)));return;}_0x4db068(null),_0x1843cb==null||_0x1843cb();},'children':_0x3379a9['t']('slides-chart-ui.common.insert')})]})]});}const qn=_0x34eeab(0x3df),Jn={};function Yn(_0x22986a){const _0x3901c1=_0x34eeab;let _0x636d57=_0x22986a[_0x3901c1(0x1f6)](_0x2e78de);return new _0x51330b(_0x467623=>{const _0x6ec2d4=_0x3901c1;let _0x206806=()=>_0x467623['next'](Cn(_0x22986a)!=null),_0x2a2933=_0x636d57['focus$'][_0x6ec2d4(0x1ed)](_0x206806);return _0x206806(),()=>_0x2a2933[_0x6ec2d4(0x2a0)]();});}function Xn(_0x493f76){const _0x11ac3b=_0x34eeab;return{'id':En['id'],'type':_0x4f2db8['BUTTON'],'title':_0x493f76['get'](_0x37c8ac)['t']('slides-chart-ui.common.editChart'),'icon':_0x11ac3b(0x335),'hidden$':new _0x51330b(_0x796248=>{const _0x467a08=_0x11ac3b;let _0x12d624=Yn(_0x493f76)[_0x467a08(0x1ed)](_0x281c87=>_0x796248[_0x467a08(0x365)](!_0x281c87));return()=>_0x12d624['unsubscribe']();}),'disabled$':new _0x51330b(_0x2c402d=>{const _0x1dd69a=_0x11ac3b;let _0x298f03=Yn(_0x493f76)[_0x1dd69a(0x1ed)](_0x168377=>_0x2c402d[_0x1dd69a(0x365)](!_0x168377));return()=>_0x298f03[_0x1dd69a(0x2a0)]();})};}const Zn={'slide.contextMenu.drawing':{[_0x3759cd[_0x34eeab(0x2dd)]]:{[En['id']]:{'order':0x1,'menuItemFactory':Xn}}}};let q=class extends _0x3a6cec{constructor(_0x44829d){const _0x1ccda0=_0x34eeab;super(),this[_0x1ccda0(0x399)]=_0x44829d,this[_0x1ccda0(0x399)][_0x1ccda0(0x2ef)](Zn);}};q=H([V(0x0,_0x293f25)],q);let J=class{constructor(_0x47cf99,_0x1efa3a){const _0x3ca321=_0x34eeab;this[_0x3ca321(0x20b)]=_0x47cf99,this['_resourceService']=_0x1efa3a;}['getEditorState'](_0x1d0501,_0xdf89e1){const _0x2f2d72=_0x34eeab;let _0x418d38=this['_resourceService'][_0x2f2d72(0x24d)](_0x1d0501,_0xdf89e1),_0x1ec21a=_0x418d38?this[_0x2f2d72(0x250)][_0x2f2d72(0x277)](_0x1d0501,_0x418d38[_0x2f2d72(0x3b5)]):void 0x0;return!_0x418d38||!_0x1ec21a?null:{'unitId':_0x1d0501,'chartId':_0xdf89e1,'dataSourceId':_0x1ec21a['id'],'dataSource':_0x1ec21a,'values':_0x4047e0(_0x1ec21a)?_0x1ec21a[_0x2f2d72(0x3aa)][_0x2f2d72(0x20e)](_0x16a61e=>[..._0x16a61e]):[],'sharingCount':this['_resourceService']['getDataSourceSharingCount'](_0x1d0501,_0x1ec21a['id'])};}[_0x34eeab(0x3b3)](_0x347a70,_0x31c259,_0xf25d60,_0x54df32){const _0x49f8f2=_0x34eeab;let _0x4c50fa=_0x5e4da5(_0xf25d60);return _0x4c50fa[_0x49f8f2(0x1ca)]!==0x0&&this['updateData'](_0x347a70,_0x31c259,_0x4c50fa,_0x54df32);}[_0x34eeab(0x239)](_0x5d3f4a,_0xe00a5d,_0x128707,_0x1e14c8){const _0x8e57c5=_0x34eeab;var _0x4fef4c;if(!this[_0x8e57c5(0x25c)](_0x5d3f4a,_0xe00a5d)||_0x128707[_0x8e57c5(0x1ca)]===0x0)return!0x1;let _0x14fa0b=(_0x4fef4c=this[_0x8e57c5(0x250)][_0x8e57c5(0x24d)](_0x5d3f4a,_0xe00a5d))==null?void 0x0:_0x4fef4c[_0x8e57c5(0x297)];if(_0x14fa0b===void 0x0)return!0x1;let _0x3f6e78=_0x27063a(_0x14fa0b,_0x128707);return _0x3f6e78['ok']?this[_0x8e57c5(0x29e)](_0x5d3f4a,_0xe00a5d,{'values':_0x3f6e78[_0x8e57c5(0x3aa)]}):!0x1;}[_0x34eeab(0x29e)](_0x402d86,_0x3a0b08,_0x51b646){const _0x26b017=_0x34eeab;return this[_0x26b017(0x20b)]['syncExecuteCommand'](_0x21957f['id'],{'unitId':_0x402d86,'chartId':_0x3a0b08,'dataSource':_0x51b646});}};J=H([V(0x0,_0x5c49c1),V(0x1,_0x16d46e(_0x25eb68))],J);var Qn=class extends _0x3a6cec{constructor(..._0x4c2437){const _0x16105e=_0x34eeab;super(..._0x4c2437),B(this,_0x16105e(0x359),null),B(this,'_modeChanged$',new _0x10d93f()),B(this,_0x16105e(0x3ec),this[_0x16105e(0x247)][_0x16105e(0x1d7)]());}[_0x34eeab(0x286)](_0x3cfa86){const _0x3ed889=_0x34eeab;return this[_0x3ed889(0x359)]===_0x3cfa86?_0x20ebcd['Dom']:_0x20ebcd[_0x3ed889(0x22c)];}[_0x34eeab(0x3de)](_0x3fc7be){const _0x164200=_0x34eeab;let _0x551eea=(_0x3fc7be==null?void 0x0:_0x3fc7be[_0x164200(0x1d6)])??null;if(this[_0x164200(0x359)]===_0x551eea)return;let _0x1998e2=this[_0x164200(0x359)];this[_0x164200(0x359)]=_0x551eea,_0x1998e2&&this[_0x164200(0x247)]['next']({'chartId':_0x1998e2,'mode':_0x20ebcd['Image']}),_0x551eea&&this[_0x164200(0x247)][_0x164200(0x365)]({'chartId':_0x551eea,'mode':_0x20ebcd[_0x164200(0x300)]});}[_0x34eeab(0x314)](){const _0x3a0772=_0x34eeab;this[_0x3a0772(0x359)]=null,this['_modeChanged$'][_0x3a0772(0x2f6)](),super[_0x3a0772(0x314)]();}};let Y=class extends _0x3a6cec{constructor(_0x5a369e,_0x103445,_0x3fdb33,_0x4a94f0,_0x53aeed){const _0x1c0022=_0x34eeab;super(),this['_slideDrawingService']=_0x5a369e,this[_0x1c0022(0x276)]=_0x103445,this[_0x1c0022(0x33c)]=_0x3fdb33,this[_0x1c0022(0x361)]=_0x4a94f0,this[_0x1c0022(0x23f)]=_0x53aeed,B(this,_0x1c0022(0x298),null),B(this,'_activeSession$',new _0x177cde(null)),B(this,_0x1c0022(0x1e6),this[_0x1c0022(0x1eb)][_0x1c0022(0x1d7)]()),B(this,'_subscriptions',[]),B(this,_0x1c0022(0x2d3),null),B(this,_0x1c0022(0x321),null),this[_0x1c0022(0x28d)]();}['getActiveSession'](){return this['_activeSession'];}[_0x34eeab(0x2b3)](_0x163861){const _0x3c5d86=_0x34eeab;let _0x4da0f5=this[_0x3c5d86(0x263)][_0x3c5d86(0x325)]({'unitId':_0x163861[_0x3c5d86(0x1ef)],'subUnitId':_0x163861[_0x3c5d86(0x24c)],'drawingId':_0x163861[_0x3c5d86(0x238)]});if(!_0x4da0f5||_0x4da0f5['element'][_0x3c5d86(0x3e9)]!==_0x4ba1e0[_0x3c5d86(0x244)]||_0x4da0f5[_0x3c5d86(0x3bf)][_0x3c5d86(0x1d6)]!==_0x163861[_0x3c5d86(0x1d6)])return!0x1;let _0x280b63=this[_0x3c5d86(0x276)]['ensureChartModel'](_0x163861['unitId'],_0x163861[_0x3c5d86(0x1d6)]);return _0x280b63?(this[_0x3c5d86(0x298)]=_0x163861,this[_0x3c5d86(0x1f1)](_0x163861),this['_bindTransformStartListener'](_0x163861),this[_0x3c5d86(0x276)][_0x3c5d86(0x21c)](_0x280b63),this[_0x3c5d86(0x33c)]['setActiveDomChart'](_0x163861),this[_0x3c5d86(0x1eb)][_0x3c5d86(0x365)](_0x163861),!0x0):!0x1;}[_0x34eeab(0x342)](){const _0x124921=_0x34eeab;var _0x2abe3d,_0x47b1d3;this['_activeSession']&&(this[_0x124921(0x298)]=null,(_0x2abe3d=this['_activeSlideSubscription'])==null||_0x2abe3d[_0x124921(0x2a0)](),this[_0x124921(0x2d3)]=null,(_0x47b1d3=this['_transformStartSubscription'])==null||_0x47b1d3['unsubscribe'](),this[_0x124921(0x321)]=null,this[_0x124921(0x276)][_0x124921(0x21c)](null),this['_renderModeService']['setActiveDomChart'](null),this[_0x124921(0x1eb)][_0x124921(0x365)](null));}[_0x34eeab(0x320)](_0x5acbe1){const _0x323e1d=_0x34eeab;var _0x572ad0;return((_0x572ad0=this[_0x323e1d(0x298)])==null?void 0x0:_0x572ad0[_0x323e1d(0x1d6)])===_0x5acbe1;}[_0x34eeab(0x314)](){const _0x2a4118=_0x34eeab;var _0x2c0ab8,_0x2dd5f6;this['close'](),(_0x2c0ab8=this['_activeSlideSubscription'])==null||_0x2c0ab8[_0x2a4118(0x2a0)](),this[_0x2a4118(0x2d3)]=null,(_0x2dd5f6=this[_0x2a4118(0x321)])==null||_0x2dd5f6['unsubscribe'](),this[_0x2a4118(0x321)]=null,this['_subscriptions'][_0x2a4118(0x252)](_0x19d14d=>_0x19d14d['dispose']()),this[_0x2a4118(0x2e6)][_0x2a4118(0x1ca)]=0x0,this[_0x2a4118(0x1eb)][_0x2a4118(0x2f6)](),super[_0x2a4118(0x314)]();}[_0x34eeab(0x28d)](){const _0x233bcb=_0x34eeab;var _0x47a033,_0x439f32,_0xe49f60;let _0x32b9f4=(_0x47a033=this[_0x233bcb(0x263)][_0x233bcb(0x3be)])==null?void 0x0:_0x47a033[_0x233bcb(0x1ed)](_0x42b229=>{const _0x2f20b5=_0x233bcb;let _0x40e4f0=this[_0x2f20b5(0x298)];_0x40e4f0&&_0x42b229[_0x2f20b5(0x385)](_0x1072d0=>_0x1072d0[_0x2f20b5(0x1ef)]===_0x40e4f0['unitId']&&_0x1072d0[_0x2f20b5(0x24c)]===_0x40e4f0[_0x2f20b5(0x24c)]&&_0x1072d0[_0x2f20b5(0x238)]===_0x40e4f0[_0x2f20b5(0x238)])&&this[_0x2f20b5(0x342)]();});_0x32b9f4&&this[_0x233bcb(0x2e6)][_0x233bcb(0x39d)]({'dispose':()=>_0x32b9f4[_0x233bcb(0x2a0)]()});let _0x2c08e0=(_0x439f32=this['_modelService'][_0x233bcb(0x1da)])==null?void 0x0:_0x439f32[_0x233bcb(0x1ed)](_0x4baca2=>{const _0xeeb893=_0x233bcb;let _0x5cbd62=this[_0xeeb893(0x298)];_0x5cbd62&&_0x4baca2[_0xeeb893(0x1ef)]===_0x5cbd62[_0xeeb893(0x1ef)]&&_0x4baca2[_0xeeb893(0x1d6)]===_0x5cbd62[_0xeeb893(0x1d6)]&&this['close']();});_0x2c08e0&&this['_subscriptions'][_0x233bcb(0x39d)]({'dispose':()=>_0x2c08e0[_0x233bcb(0x2a0)]()});let _0x2d8b05=(_0xe49f60=this[_0x233bcb(0x361)][_0x233bcb(0x315)])==null?void 0x0:_0xe49f60[_0x233bcb(0x1ed)](_0xbbfb9=>{const _0x1e6270=_0x233bcb;let _0x1de462=this[_0x1e6270(0x298)];_0x1de462&&_0xbbfb9&&_0xbbfb9!==_0x1de462[_0x1e6270(0x1ef)]&&this[_0x1e6270(0x342)]();});_0x2d8b05&&this[_0x233bcb(0x2e6)]['push']({'dispose':()=>_0x2d8b05[_0x233bcb(0x2a0)]()});}[_0x34eeab(0x1f1)](_0x21e29e){const _0x20a5a0=_0x34eeab;var _0x25c1a6;(_0x25c1a6=this[_0x20a5a0(0x2d3)])==null||_0x25c1a6[_0x20a5a0(0x2a0)](),this[_0x20a5a0(0x2d3)]=null;let _0x17ecee=this[_0x20a5a0(0x361)][_0x20a5a0(0x36e)](_0x21e29e[_0x20a5a0(0x1ef)],_0xcf3ade[_0x20a5a0(0x2a7)]);this[_0x20a5a0(0x2d3)]=(_0x17ecee==null?void 0x0:_0x17ecee[_0x20a5a0(0x2a1)][_0x20a5a0(0x3db)][_0x20a5a0(0x1ed)](_0x53c9a2=>{const _0x5d9d6e=_0x20a5a0;let _0x3f1257=this[_0x5d9d6e(0x298)];_0x3f1257&&_0x53c9a2&&_0x53c9a2!==_0x3f1257[_0x5d9d6e(0x24c)]&&this['close']();}))??null;}[_0x34eeab(0x210)](_0x2a22fa,_0x2137ac=!0x0){const _0x57d3b4=_0x34eeab;var _0x3c3708,_0x3b7f4c;(_0x3c3708=this[_0x57d3b4(0x321)])==null||_0x3c3708[_0x57d3b4(0x2a0)](),this[_0x57d3b4(0x321)]=null;let _0x36f253=(_0x3b7f4c=this[_0x57d3b4(0x23f)][_0x57d3b4(0x254)](_0x2a22fa['unitId']))==null?void 0x0:_0x3b7f4c[_0x57d3b4(0x294)][_0x57d3b4(0x1c5)]();if(!_0x36f253){_0x2137ac&&queueMicrotask(()=>{const _0xb6e48b=_0x57d3b4;let _0x3cc18b=this[_0xb6e48b(0x298)];(_0x3cc18b==null?void 0x0:_0x3cc18b[_0xb6e48b(0x1d6)])===_0x2a22fa[_0xb6e48b(0x1d6)]&&this[_0xb6e48b(0x210)](_0x2a22fa,!0x1);});return;}let _0x48934c=_0x5f5bf0(_0x2a22fa['unitId'],_0x2a22fa[_0x57d3b4(0x24c)],_0x2a22fa[_0x57d3b4(0x238)]);this[_0x57d3b4(0x321)]=_0x36f253['changeStart$'][_0x57d3b4(0x1ed)](({objects:_0x3b10f1})=>{const _0x1a581f=_0x57d3b4;_0x3b10f1!=null&&_0x3b10f1['has'](_0x48934c)&&this[_0x1a581f(0x342)]();});}};Y=H([V(0x0,_0x16d46e(_0x2e78de)),V(0x1,_0x16d46e(_0x570fb7)),V(0x2,_0x16d46e(Qn)),V(0x3,_0x1e9c4f),V(0x4,_0x1344b6)],Y);const $n=_0x34eeab(0x3b0);let X=class extends _0x3a6cec{constructor(_0x24f481,_0x4cf31a,_0x121612,_0x2162a2,_0x2a8a4b,_0xf011de,_0x49e027,_0x163aee){const _0xf2c043=_0x34eeab;super(),this[_0xf2c043(0x200)]=_0x24f481,this[_0xf2c043(0x2c8)]=_0x4cf31a,this[_0xf2c043(0x263)]=_0x121612,this[_0xf2c043(0x283)]=_0x2162a2,this[_0xf2c043(0x3b7)]=_0x2a8a4b,this[_0xf2c043(0x391)]=_0xf011de,this[_0xf2c043(0x1cc)]=_0x49e027,this[_0xf2c043(0x20b)]=_0x163aee,B(this,_0xf2c043(0x2ea),null),this[_0xf2c043(0x3da)](),this[_0xf2c043(0x23d)]();}['openChartPanel'](_0x922672,_0x5d86b3,_0xc919b8,_0x1b3794){const _0x11ce0a=_0x34eeab;let _0x36e8ea=this['_slideDrawingService'][_0x11ce0a(0x325)]({'unitId':_0x922672,'subUnitId':_0x5d86b3,'drawingId':_0xc919b8});if(!_0x36e8ea||_0x36e8ea[_0x11ce0a(0x3bf)][_0x11ce0a(0x3e9)]!==_0x4ba1e0['Chart'])return!0x1;let _0x5139e4=_0x36e8ea[_0x11ce0a(0x3bf)]['chartId'];return this[_0x11ce0a(0x3b7)][_0x11ce0a(0x2b3)]({'unitId':_0x922672,'subUnitId':_0x5d86b3,'drawingId':_0xc919b8,'chartId':_0x5139e4})?(this[_0x11ce0a(0x391)][_0x11ce0a(0x28a)](_0x5139e4),_0x1b3794?this[_0x11ce0a(0x391)][_0x11ce0a(0x2e4)](_0x5139e4,_0x1b3794):this['_chartUIService'][_0x11ce0a(0x240)](),this['_openPanel']({'unitId':_0x922672,'subUnitId':_0x5d86b3,'drawingId':_0xc919b8,'chartId':_0x5139e4}),!0x0):!0x1;}['closeChartPanel'](){const _0x18f633=_0x34eeab;this['_editSessionService'][_0x18f633(0x342)](),this[_0x18f633(0x391)][_0x18f633(0x28a)](null),this[_0x18f633(0x391)][_0x18f633(0x1c3)](null),this[_0x18f633(0x391)][_0x18f633(0x240)](),this[_0x18f633(0x2ea)]=null,this[_0x18f633(0x200)][_0x18f633(0x342)](W);}[_0x34eeab(0x285)](_0xf74f37,_0x162f98){const _0x5a3065=_0x34eeab;let _0x10680c=this[_0x5a3065(0x283)][_0x5a3065(0x25c)](_0xf74f37,_0x162f98);if(!_0x10680c)return!0x1;let _0x594f2c=null,_0x3aa6f3=()=>{const _0x30ae0d=_0x5a3065;_0x594f2c==null||_0x594f2c[_0x30ae0d(0x314)](),_0x594f2c=null;};return _0x594f2c=this[_0x5a3065(0x2c8)][_0x5a3065(0x2b3)]({'id':On,'title':{'title':this[_0x5a3065(0x1cc)]['t'](_0x5a3065(0x1d5))},'className':$n,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Dn,'props':{'values':_0x10680c[_0x5a3065(0x3aa)],'dataSource':_0x10680c['dataSource'],'sharingCount':_0x10680c[_0x5a3065(0x32b)],'onCancel':_0x3aa6f3,'onSubmit':(_0x4f7190,_0x439580)=>{const _0x5bdfc1=_0x5a3065;this[_0x5bdfc1(0x283)][_0x5bdfc1(0x239)](_0xf74f37,_0x162f98,_0x4f7190,_0x439580)&&_0x3aa6f3();},'onDataSourceSubmit':_0x36bb3e=>{const _0x48cd25=_0x5a3065;this[_0x48cd25(0x283)][_0x48cd25(0x29e)](_0xf74f37,_0x162f98,_0x36bb3e)&&_0x3aa6f3();}}}},'onClose':_0x3aa6f3}),!0x0;}['openChartInsertDialogForPlaceholder'](_0x1d3610){const _0x5c52a2=_0x34eeab;if(_0x1d3610[_0x5c52a2(0x1e1)]!==_0x5c52a2(0x3ca))return!0x1;let _0x31e277=this[_0x5c52a2(0x263)][_0x5c52a2(0x325)]({'unitId':_0x1d3610['unitId'],'subUnitId':_0x1d3610[_0x5c52a2(0x24c)],'drawingId':_0x1d3610[_0x5c52a2(0x238)]});if(!_0x31e277||_0x31e277['element'][_0x5c52a2(0x3e9)]!==_0x4ba1e0[_0x5c52a2(0x35f)])return!0x1;let _0x250b21=null,_0x48d594=()=>{const _0x3eed42=_0x5c52a2;_0x250b21==null||_0x250b21[_0x3eed42(0x314)](),_0x250b21=null;};return _0x250b21=this[_0x5c52a2(0x2c8)][_0x5c52a2(0x2b3)]({'id':_0x5c52a2(0x1d8),'title':{'title':this[_0x5c52a2(0x1cc)]['t'](_0x5c52a2(0x2e7))},'className':$n,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Wn,'props':{'insertOptions':{'placeholderDrawing':_0x31e277},'onCancel':_0x48d594,'onInserted':_0x48d594}}},'onClose':_0x48d594}),!0x0;}[_0x34eeab(0x3da)](){const _0x47fa0b=_0x34eeab;this['disposeWithMe'](this[_0x47fa0b(0x20b)][_0x47fa0b(0x312)](_0x47578d=>{const _0x2beca2=_0x47fa0b;if(_0x47578d['id']===z['id']){let _0xf37652=_0x47578d['params'];_0xf37652&&this['openChartPanel'](_0xf37652[_0x2beca2(0x1ef)],_0xf37652[_0x2beca2(0x24c)],_0xf37652[_0x2beca2(0x238)],_0xf37652['route']);return;}if(_0x47578d['id']===wn['id']){this[_0x2beca2(0x34e)]();return;}if(_0x47578d['id']===Tn['id']){let _0x4684e9=_0x47578d[_0x2beca2(0x1df)];_0x4684e9&&this[_0x2beca2(0x285)](_0x4684e9[_0x2beca2(0x1ef)],_0x4684e9[_0x2beca2(0x1d6)]);return;}if(_0x47578d['id']===_0x4ad761['id']){let _0x355df5=_0x47578d[_0x2beca2(0x1df)];_0x355df5&&this['openChartInsertDialogForPlaceholder'](_0x355df5);}}));}[_0x34eeab(0x23d)](){const _0x8fa8fe=_0x34eeab;this[_0x8fa8fe(0x288)](this[_0x8fa8fe(0x263)][_0x8fa8fe(0x225)][_0x8fa8fe(0x1ed)](_0x187579=>{const _0x44c4f4=_0x8fa8fe;_0x187579[_0x44c4f4(0x1ca)]===0x0&&this['closeChartPanel']();}));}[_0x34eeab(0x396)](_0x28f893){const _0x37f141=_0x34eeab;var _0x30f277;(_0x30f277=this[_0x37f141(0x2ea)])==null||_0x30f277['dispose'](),this['_sidebarDisposable']=this['_sidebarService'][_0x37f141(0x2b3)]({'id':W,'header':{'title':this[_0x37f141(0x1cc)]['t'](_0x37f141(0x2e7))},'width':0x184,'children':{'label':W,..._0x28f893},'onClose':()=>{const _0x243515=_0x37f141;this[_0x243515(0x3b7)][_0x243515(0x342)](),this['_chartUIService'][_0x243515(0x28a)](null),this['_chartUIService'][_0x243515(0x1c3)](null),this[_0x243515(0x391)][_0x243515(0x240)](),this[_0x243515(0x2ea)]=null;}});}};X=H([V(0x0,_0x16d46e(_0x37c21f)),V(0x1,_0x16d46e(_0x9646d0)),V(0x2,_0x16d46e(_0x2e78de)),V(0x3,_0x16d46e(J)),V(0x4,_0x16d46e(Y)),V(0x5,U),V(0x6,_0x16d46e(_0x37c8ac)),V(0x7,_0x5c49c1)],X);var er=_0x34eeab(0x1ff),tr='1.0.0-beta.2';let nr=class extends _0x3a6cec{constructor(_0x239db2){const _0x3e127d=_0x34eeab;super(),this[_0x3e127d(0x2d8)]=_0x239db2,this[_0x3e127d(0x38c)]();}[_0x34eeab(0x38c)](){const _0x220973=_0x34eeab;this['disposeWithMe'](this[_0x220973(0x2d8)][_0x220973(0x3a3)](Wn,Kn)),this[_0x220973(0x288)](this[_0x220973(0x2d8)][_0x220973(0x3a3)](Dn,An)),this[_0x220973(0x288)](this[_0x220973(0x2d8)][_0x220973(0x3a3)](W,Vn));}};nr=H([V(0x0,_0x16d46e(_0x3fa587))],nr);let rr=class extends _0x1c7457{constructor(_0x47d191,_0x292e84,_0x326de3,_0xb799bb){const _0x31a50d=_0x34eeab;super(),this['_renderContext']=_0x47d191,this[_0x31a50d(0x36a)]=_0x292e84,this['_modelService']=_0x326de3,this[_0x31a50d(0x20b)]=_0xb799bb,this[_0x31a50d(0x3c8)]();}[_0x34eeab(0x3c8)](){const _0x5e5010=_0x34eeab;this[_0x5e5010(0x288)](_0x5aa4ff(this[_0x5e5010(0x36a)][_0x5e5010(0x38a)][_0x5e5010(0x1d2)](_0x11f712(this[_0x5e5010(0x2ae)]))[_0x5e5010(0x1ed)](_0x453064=>{const _0x1899ba=_0x5e5010;_0x453064[_0x1899ba(0x3ab)][_0x1899ba(0x1ef)]===this[_0x1899ba(0x256)][_0x1899ba(0x1ef)]&&_0x453064[_0x1899ba(0x3ab)]['element'][_0x1899ba(0x3e9)]===_0x4ba1e0['Chart']&&(this[_0x1899ba(0x276)][_0x1899ba(0x30a)]||this[_0x1899ba(0x20b)][_0x1899ba(0x384)](z['id'],{'unitId':_0x453064[_0x1899ba(0x3ab)]['unitId'],'subUnitId':_0x453064['drawing'][_0x1899ba(0x24c)],'drawingId':_0x453064[_0x1899ba(0x3ab)][_0x1899ba(0x238)]}));})));}};rr=H([V(0x1,_0x16d46e(_0x1c4c9d)),V(0x2,_0x16d46e(_0x570fb7)),V(0x3,_0x5c49c1)],rr);function ir(_0x10cbf5){const _0x15490e=_0x34eeab;return!!(_0x10cbf5!=null&&_0x10cbf5['color']&&_0x10cbf5[_0x15490e(0x28c)]&&_0x10cbf5[_0x15490e(0x28c)]>0x0&&_0x10cbf5[_0x15490e(0x30b)]!==_0x50a6e2[_0x15490e(0x232)]);}function ar(_0x3175f7,_0x1ce861){const _0x7746b=_0x34eeab;if((_0x3175f7==null?void 0x0:_0x3175f7[_0x7746b(0x29d)])!==0x0)return{..._0x2de41d,..._0x1ce861,...(_0x3175f7==null?void 0x0:_0x3175f7[_0x7746b(0x275)])==null?{}:{'color':_0x3175f7[_0x7746b(0x275)]},...typeof(_0x3175f7==null?void 0x0:_0x3175f7[_0x7746b(0x29d)])==_0x7746b(0x221)&&Number['isFinite'](_0x3175f7[_0x7746b(0x29d)])&&_0x3175f7['borderWidth']>0x0?{'width':_0x3175f7[_0x7746b(0x29d)]}:{}};}var or=class extends _0x3a6cec{constructor(_0x410896,_0xb744cb,_0xea6c50,_0x5f5453,_0x566a2e,_0x35ad9c){const _0x239a65=_0x34eeab;super(),this['chartId']=_0x410896,this['_host']=_0xb744cb,this[_0x239a65(0x388)]=_0xea6c50,this[_0x239a65(0x1c9)]=_0x5f5453,this[_0x239a65(0x3f2)]=_0x566a2e,this[_0x239a65(0x2cc)]=_0x35ad9c,B(this,_0x239a65(0x2fe),_0x20ebcd['Dom']),B(this,_0x239a65(0x3b9),null),B(this,_0x239a65(0x36c),!0x1),this[_0x239a65(0x382)][_0x239a65(0x30f)][_0x239a65(0x351)]=_0x239a65(0x1e4),this['_host'][_0x239a65(0x30f)][_0x239a65(0x377)]=_0x239a65(0x281);}['getRect'](){const _0x112b3b=_0x34eeab;var _0x3ae923;let _0x57665f=(_0x3ae923=this[_0x112b3b(0x1c9)])==null?void 0x0:_0x3ae923[_0x112b3b(0x209)](this);if(_0x57665f)return{'width':Math[_0x112b3b(0x1bf)](_0x12e8ae,_0x57665f[_0x112b3b(0x28c)]),'height':Math[_0x112b3b(0x1bf)](_0x12e8ae,_0x57665f[_0x112b3b(0x2b5)])};let _0x659b82=this['_host'][_0x112b3b(0x316)]();return{'width':Math[_0x112b3b(0x1bf)](_0x12e8ae,_0x659b82[_0x112b3b(0x28c)]),'height':Math[_0x112b3b(0x1bf)](_0x12e8ae,_0x659b82[_0x112b3b(0x2b5)])};}[_0x34eeab(0x21d)](_0x46c01d){const _0x2ea48e=_0x34eeab;this[_0x2ea48e(0x388)](this[_0x2ea48e(0x382)],_0x46c01d);}[_0x34eeab(0x22a)](){const _0x4f211c=_0x34eeab;return this[_0x4f211c(0x382)];}async[_0x34eeab(0x353)](){const _0x299489=_0x34eeab;return this[_0x299489(0x3b9)]||(this[_0x299489(0x3b9)]=document['createElement'](_0x299489(0x1d1)),this[_0x299489(0x3b9)][_0x299489(0x231)]=_0x299489(0x3bb),this[_0x299489(0x3b9)]['style'][_0x299489(0x3a5)]='absolute',this[_0x299489(0x3b9)][_0x299489(0x30f)][_0x299489(0x34a)]='0',this[_0x299489(0x3b9)][_0x299489(0x30f)][_0x299489(0x26c)]='0',this[_0x299489(0x3b9)][_0x299489(0x30f)][_0x299489(0x1e3)]='0',this[_0x299489(0x3b9)][_0x299489(0x30f)]['boxSizing']=_0x299489(0x2f9),this[_0x299489(0x3b9)]['style']['overflow']=_0x299489(0x1e4),this[_0x299489(0x382)][_0x299489(0x20d)](this[_0x299489(0x3b9)])),this['syncLayout'](),this[_0x299489(0x3b9)];}[_0x34eeab(0x220)](){const _0x11dd3e=_0x34eeab;var _0x38f5d7;return!!((_0x38f5d7=this['_mountNode'])!=null&&_0x38f5d7[_0x11dd3e(0x370)]&&this['_host']['contains'](this['_mountNode']));}[_0x34eeab(0x3eb)](){const _0x3e3df2=_0x34eeab;let _0x1a9763=this[_0x3e3df2(0x2ab)]();if(!_0x1a9763)return;let _0x2ed800=_0x1a9763['width']+'px',_0x426feb=_0x1a9763[_0x3e3df2(0x2b5)]+'px';this[_0x3e3df2(0x382)][_0x3e3df2(0x30f)][_0x3e3df2(0x28c)]=_0x2ed800,this[_0x3e3df2(0x382)]['style'][_0x3e3df2(0x2b5)]=_0x426feb,this[_0x3e3df2(0x3b9)]&&(this['_mountNode'][_0x3e3df2(0x30f)]['width']=_0x2ed800,this[_0x3e3df2(0x3b9)][_0x3e3df2(0x30f)][_0x3e3df2(0x2b5)]=_0x426feb);}['markReady'](){const _0x296eee=_0x34eeab;var _0x5e973d;this[_0x296eee(0x36c)]||(this[_0x296eee(0x36c)]=!0x0,(_0x5e973d=this[_0x296eee(0x3f2)])==null||_0x5e973d[_0x296eee(0x209)](this));}[_0x34eeab(0x2e3)](){const _0x2953cc=_0x34eeab;var _0xd8ccc7;this[_0x2953cc(0x36c)]&&(this[_0x2953cc(0x36c)]=!0x1,(_0xd8ccc7=this[_0x2953cc(0x2cc)])==null||_0xd8ccc7['call'](this));}[_0x34eeab(0x314)](){const _0x350fe9=_0x34eeab;var _0x5ed146;this[_0x350fe9(0x2e3)](),(_0x5ed146=this[_0x350fe9(0x3b9)])==null||_0x5ed146[_0x350fe9(0x2d0)](),this[_0x350fe9(0x3b9)]=null,this[_0x350fe9(0x382)][_0x350fe9(0x2d0)](),super[_0x350fe9(0x314)]();}};let Z=class extends _0x3a6cec{constructor(_0x49f391,_0x2a4d1a,_0x21b838){const _0x1449b7=_0x34eeab;super(),this[_0x1449b7(0x1cc)]=_0x49f391,this[_0x1449b7(0x20f)]=_0x2a4d1a,this[_0x1449b7(0x1de)]=_0x21b838,B(this,_0x1449b7(0x3f0),new Map()),B(this,_0x1449b7(0x1cf),new Map()),B(this,_0x1449b7(0x386),new Map()),B(this,_0x1449b7(0x218),new Map()),B(this,_0x1449b7(0x3e4),new Map()),B(this,_0x1449b7(0x31e),new Map());}[_0x34eeab(0x1ab)](_0x13bfc8){const _0x56b882=_0x34eeab;return _0x13bfc8?this[_0x56b882(0x1de)]['createChartInstance'](_0x13bfc8,this[_0x56b882(0x1f3)]()):this['_renderModelManager'][_0x56b882(0x1ab)]();}async[_0x34eeab(0x328)](_0x461b79,_0x50cf00){const _0x47fad6=_0x34eeab;let {chartConfig:_0x5aa181,chartStyle:_0x214e12}=this[_0x47fad6(0x1c8)](_0x461b79),_0x2eb7ef=_0x50cf00[_0x47fad6(0x2ab)]();_0x2eb7ef&&this[_0x47fad6(0x31e)]['set'](_0x461b79[_0x47fad6(0x1d6)],{'chartConfig':_0x5aa181,'chartStyle':_0x214e12,'rect':_0x2eb7ef});let _0x1aa29c=this[_0x47fad6(0x3ed)](_0x461b79[_0x47fad6(0x1d6)],_0x50cf00[_0x47fad6(0x2fe)]);_0x1aa29c[_0x47fad6(0x2cd)](_0x50cf00),await _0x1aa29c['render']({'chartId':_0x461b79[_0x47fad6(0x1d6)],'config':_0x5aa181,'style':_0x214e12});let _0x49637d=_0x50cf00[_0x47fad6(0x2fe)]===_0x20ebcd[_0x47fad6(0x22c)]&&'getDataUrl'in _0x50cf00?_0x50cf00[_0x47fad6(0x2f2)]():void 0x0;_0x49637d&&this[_0x47fad6(0x3e4)]['set'](_0x461b79[_0x47fad6(0x1d6)],_0x49637d);}['setElementEditMode'](_0x69f7e8,_0x245616){const _0x21ae40=_0x34eeab;var _0x3bcd2d;_0x245616?this[_0x21ae40(0x218)][_0x21ae40(0x360)](_0x69f7e8,!0x0):this[_0x21ae40(0x218)][_0x21ae40(0x1b9)](_0x69f7e8),(_0x3bcd2d=this[_0x21ae40(0x3f0)]['get'](_0x69f7e8))==null||_0x3bcd2d[_0x21ae40(0x32e)](_0x245616);}['on'](_0x481144,_0x579608,_0x57cb04){const _0x2b1d46=_0x34eeab;let _0x2d7122=this['_chartEventHandlers']['get'](_0x481144);_0x2d7122||(_0x2d7122=new Map(),this[_0x2b1d46(0x1cf)]['set'](_0x481144,_0x2d7122));let _0x16d923=_0x2d7122[_0x2b1d46(0x1f6)](_0x579608);_0x16d923||(_0x16d923=new Set(),_0x2d7122[_0x2b1d46(0x360)](_0x579608,_0x16d923)),_0x16d923[_0x2b1d46(0x1fc)](_0x57cb04);let _0x5aea0e=this[_0x2b1d46(0x3f0)][_0x2b1d46(0x1f6)](_0x481144);return _0x5aea0e&&this[_0x2b1d46(0x26e)](_0x481144,_0x5aea0e,_0x579608,_0x57cb04),{'dispose':()=>{const _0x2b6598=_0x2b1d46;var _0x4a478d;(_0x4a478d=this[_0x2b6598(0x1cf)][_0x2b6598(0x1f6)](_0x481144))==null||(_0x4a478d=_0x4a478d[_0x2b6598(0x1f6)](_0x579608))==null||_0x4a478d[_0x2b6598(0x1b9)](_0x57cb04),this[_0x2b6598(0x2fd)](_0x481144,_0x579608,_0x57cb04);}};}['disposeChartInstance'](_0x3931e7){const _0x215ec5=_0x34eeab;this['_lastRenderInputMap'][_0x215ec5(0x1b9)](_0x3931e7);let _0x55c4ae=this[_0x215ec5(0x3f0)]['get'](_0x3931e7);_0x55c4ae&&(this[_0x215ec5(0x3e5)](_0x3931e7),_0x55c4ae[_0x215ec5(0x314)](),this[_0x215ec5(0x3f0)][_0x215ec5(0x1b9)](_0x3931e7));}async['exportImage'](_0xc7c702,_0x44759b){const _0x4a2d32=_0x34eeab;let _0x6ff144=this[_0x4a2d32(0x31e)]['get'](_0xc7c702);if(_0x6ff144)return(await this[_0x4a2d32(0x1de)]['exportImage']({'chartId':_0xc7c702,'config':_0x6ff144[_0x4a2d32(0x204)],'style':_0x6ff144[_0x4a2d32(0x34f)],'width':_0x6ff144[_0x4a2d32(0x334)][_0x4a2d32(0x28c)],'height':_0x6ff144['rect'][_0x4a2d32(0x2b5)]},_0x44759b))['dataUrl'];if((_0x44759b==null?void 0x0:_0x44759b[_0x4a2d32(0x2c6)])!==_0x440e6e[_0x4a2d32(0x376)])return this['_lastImageDataUrlMap'][_0x4a2d32(0x1f6)](_0xc7c702);}['createRenderInput'](_0x520345){const _0x5a313a=_0x34eeab;let _0x2ebd69=_0x520345[_0x5a313a(0x224)][_0x5a313a(0x1cd)];if(!_0x2ebd69)throw Error(_0x5a313a(0x39f)+_0x520345[_0x5a313a(0x1d6)]+'\x20has\x20no\x20render\x20config.');let _0x3570eb=this[_0x5a313a(0x1cc)]['getDirection']();return{'chartConfig':_0x2ebd69,'chartStyle':_0x323a4b({..._0x520345['model'][_0x5a313a(0x30f)],'runtime':_0x520345[_0x5a313a(0x224)][_0x5a313a(0x26a)](_0x3570eb),'direction':_0x3570eb},_0x2ebd69[_0x5a313a(0x3e9)])};}['createRenderSpec'](_0xa13219,_0x2b4ed7,_0x49cfa6){const _0x15caa2=_0x34eeab;let {chartConfig:_0x56c27d,chartStyle:_0x223197}=this[_0x15caa2(0x1c8)](_0xa13219),_0x21d177=this[_0x15caa2(0x1de)][_0x15caa2(0x387)]();return{'spec':_0x21d177[_0x15caa2(0x1ec)](_0x21d177[_0x15caa2(0x3ae)](_0x56c27d,_0x223197),{'chartConfig':_0x56c27d,'chartStyle':_0x223197,'chartInstance':_0x49cfa6},_0x2b4ed7),'chartConfig':_0x56c27d,'chartStyle':_0x223197,'hostStyle':this['getHostStyle'](_0x223197)};}[_0x34eeab(0x230)](_0x2fc482){const _0x1617c8=_0x34eeab;return _0x38e9df({'style':_0x2fc482,'getRenderColor':_0x470524=>this[_0x1617c8(0x20f)][_0x1617c8(0x2fa)](_0x470524)});}['applyHostStyle'](_0x70afda,_0x17995e){const _0x20e362=_0x34eeab;var _0x5426b1;_0x70afda['style'][_0x20e362(0x1e3)]=(_0x5426b1=_0x17995e[_0x20e362(0x1e3)])!=null&&_0x5426b1[_0x20e362(0x3cd)]&&_0x17995e[_0x20e362(0x1e3)][_0x20e362(0x28c)]?_0x17995e[_0x20e362(0x1e3)][_0x20e362(0x28c)]+_0x20e362(0x262)+_0x17995e[_0x20e362(0x1e3)][_0x20e362(0x3cd)]:'',_0x70afda[_0x20e362(0x30f)][_0x20e362(0x2b2)]=_0x17995e[_0x20e362(0x38d)]??'transparent',_0x70afda[_0x20e362(0x30f)]['borderRadius']=_0x17995e[_0x20e362(0x2ac)]?_0x17995e['radius']+'px':'',_0x70afda[_0x20e362(0x30f)][_0x20e362(0x351)]=_0x20e362(0x1e4),_0x70afda[_0x20e362(0x30f)][_0x20e362(0x377)]=_0x20e362(0x281);}['_getOrCreateChartRenderInstance'](_0x3c63de,_0x197a34){const _0x569788=_0x34eeab;let _0x3da0ec=this[_0x569788(0x3f0)][_0x569788(0x1f6)](_0x3c63de);if((_0x3da0ec==null?void 0x0:_0x3da0ec[_0x569788(0x2fe)])===_0x197a34)return _0x3da0ec;_0x3da0ec&&this[_0x569788(0x366)](_0x3c63de);let _0x11406b=this[_0x569788(0x1de)]['createChartInstance'](_0x197a34,this[_0x569788(0x1f3)]());return this['_chartInstanceMap']['set'](_0x3c63de,_0x11406b),_0x11406b['setElementEditMode'](this[_0x569788(0x218)][_0x569788(0x1f6)](_0x3c63de)===!0x0),this[_0x569788(0x2a6)](_0x3c63de,_0x11406b),_0x11406b;}[_0x34eeab(0x2a6)](_0x430d27,_0x56fcf0){const _0x44bedd=_0x34eeab;let _0x1bee71=this['_chartEventHandlers'][_0x44bedd(0x1f6)](_0x430d27);_0x1bee71&&_0x1bee71[_0x44bedd(0x252)]((_0x302786,_0x21d9aa)=>{const _0xb6f938=_0x44bedd;_0x302786[_0xb6f938(0x252)](_0x3665b8=>this[_0xb6f938(0x26e)](_0x430d27,_0x56fcf0,_0x21d9aa,_0x3665b8));});}[_0x34eeab(0x26e)](_0x3650c0,_0x1df1e2,_0x21e7ec,_0x359aaa){const _0x2abed8=_0x34eeab;let _0x4e53e7=this[_0x2abed8(0x386)][_0x2abed8(0x1f6)](_0x3650c0);_0x4e53e7||(_0x4e53e7=new Map(),this[_0x2abed8(0x386)]['set'](_0x3650c0,_0x4e53e7));let _0x36fdb1=_0x4e53e7[_0x2abed8(0x1f6)](_0x21e7ec);_0x36fdb1||(_0x36fdb1=new Map(),_0x4e53e7[_0x2abed8(0x360)](_0x21e7ec,_0x36fdb1)),!_0x36fdb1[_0x2abed8(0x308)](_0x359aaa)&&_0x36fdb1['set'](_0x359aaa,_0x1df1e2['on'](_0x21e7ec,_0x359aaa));}['_disposeChartEventSubscription'](_0x45da02,_0x16fb70,_0x26a3b8){const _0x4e7b96=_0x34eeab;var _0x8fc15e,_0x5ab814;let _0x5f0651=(_0x8fc15e=this[_0x4e7b96(0x386)][_0x4e7b96(0x1f6)](_0x45da02))==null?void 0x0:_0x8fc15e[_0x4e7b96(0x1f6)](_0x16fb70);_0x5f0651==null||(_0x5ab814=_0x5f0651[_0x4e7b96(0x1f6)](_0x26a3b8))==null||_0x5ab814[_0x4e7b96(0x314)](),_0x5f0651==null||_0x5f0651[_0x4e7b96(0x1b9)](_0x26a3b8);}[_0x34eeab(0x3e5)](_0x1123a4){const _0x193276=_0x34eeab;let _0x35a927=this['_chartEventSubscriptions'][_0x193276(0x1f6)](_0x1123a4);_0x35a927==null||_0x35a927[_0x193276(0x252)](_0x27e82c=>{const _0x2a3318=_0x193276;_0x27e82c[_0x2a3318(0x252)](_0x4a7786=>_0x4a7786[_0x2a3318(0x314)]()),_0x27e82c['clear']();}),this[_0x193276(0x386)][_0x193276(0x1b9)](_0x1123a4);}[_0x34eeab(0x1f3)](){const _0x3c29da=_0x34eeab;return{'resolveHostStyle':({style:_0x46e57d})=>this[_0x3c29da(0x230)](_0x46e57d),'resolveRenderBackgroundColor':({hostStyle:_0x59a94a})=>_0x59a94a[_0x3c29da(0x38d)],'prepareSpec':({mode:_0x25af9e,spec:_0x573c33})=>_0x25af9e===_0x20ebcd['Image']?{..._0x573c33,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x573c33};}[_0x34eeab(0x314)](){const _0x4a130c=_0x34eeab;Array[_0x4a130c(0x1d3)](this['_chartInstanceMap']['keys']())['forEach'](_0x4feceb=>this[_0x4a130c(0x366)](_0x4feceb)),this[_0x4a130c(0x1cf)][_0x4a130c(0x2a9)](),this[_0x4a130c(0x218)][_0x4a130c(0x2a9)](),this[_0x4a130c(0x3e4)][_0x4a130c(0x2a9)](),this[_0x4a130c(0x31e)][_0x4a130c(0x2a9)](),super[_0x4a130c(0x314)]();}};Z=H([V(0x0,_0x16d46e(_0x37c8ac)),V(0x1,_0x16d46e(_0x3d1096)),V(0x2,_0x42fd00)],Z);let Q=class extends _0x3a6cec{constructor(_0x40730f,_0x1ac593,_0x2533ea,_0x52a833,_0x2fdf73){const _0x51aab9=_0x34eeab;super(),this[_0x51aab9(0x23f)]=_0x40730f,this[_0x51aab9(0x1cc)]=_0x1ac593,this['_modelService']=_0x2533ea,this['_renderService']=_0x52a833,this[_0x51aab9(0x33c)]=_0x2fdf73,B(this,_0x51aab9(0x1ac),new Map()),B(this,'_hostContextRegistrationMap',new Map()),B(this,_0x51aab9(0x3c9),new Map()),B(this,_0x51aab9(0x3dc),new Map()),B(this,_0x51aab9(0x329),new Map()),B(this,_0x51aab9(0x2df),new Map()),B(this,_0x51aab9(0x203),new Map()),B(this,_0x51aab9(0x3d0),new Set()),B(this,'_lastImageDataUrlMap',new Map()),B(this,'_removeHost$',new _0x10d93f()),B(this,'_imageUpdated$',new _0x10d93f()),B(this,'_domReadyChanged$',new _0x10d93f()),B(this,_0x51aab9(0x3cb),new _0x10d93f()),B(this,_0x51aab9(0x255),this[_0x51aab9(0x22d)]['asObservable']()),B(this,_0x51aab9(0x318),this[_0x51aab9(0x32d)][_0x51aab9(0x1d7)]()),B(this,_0x51aab9(0x2f8),this['_domReadyChanged$'][_0x51aab9(0x1d7)]()),B(this,_0x51aab9(0x2cf),this['_layoutChanged$']['asObservable']()),this[_0x51aab9(0x288)](_0x5aa4ff(this[_0x51aab9(0x33c)][_0x51aab9(0x3ec)][_0x51aab9(0x1ed)](({chartId:_0x51858a})=>{const _0x482f55=_0x51aab9;this[_0x482f55(0x3d2)](_0x51858a);})));}[_0x34eeab(0x3b4)](_0x3c968d){const _0x57514b=_0x34eeab;let _0x5795d6=Symbol(_0x3c968d[_0x57514b(0x1d6)]),_0x1b61a8=this['_getHostRegistrationKey'](_0x3c968d),_0x3ded4a=this[_0x57514b(0x261)]['get'](_0x3c968d['chartId']);return _0x3ded4a||(_0x3ded4a=new Map(),this[_0x57514b(0x261)][_0x57514b(0x360)](_0x3c968d[_0x57514b(0x1d6)],_0x3ded4a)),_0x3ded4a[_0x57514b(0x360)](_0x1b61a8,{'context':_0x3c968d,'token':_0x5795d6}),this[_0x57514b(0x1ac)][_0x57514b(0x360)](_0x3c968d[_0x57514b(0x1d6)],this[_0x57514b(0x37e)](_0x3ded4a)),this[_0x57514b(0x2ff)](_0x3c968d[_0x57514b(0x1d6)]),this['renderChart'](_0x3c968d[_0x57514b(0x1d6)]),{'dispose':()=>{const _0x4fcb5b=_0x57514b;let _0xe24230=this['_hostContextRegistrationMap'][_0x4fcb5b(0x1f6)](_0x3c968d[_0x4fcb5b(0x1d6)]);if(!_0xe24230)return;let _0x26a9b8=_0xe24230[_0x4fcb5b(0x1f6)](_0x1b61a8);if((_0x26a9b8==null?void 0x0:_0x26a9b8['token'])===_0x5795d6){if(_0x3c968d['sceneType']===_0x445b74[_0x4fcb5b(0x1dd)]&&_0x3c968d[_0x4fcb5b(0x306)]&&!this[_0x4fcb5b(0x3e4)][_0x4fcb5b(0x308)](_0x3c968d[_0x4fcb5b(0x1d6)])){_0xe24230[_0x4fcb5b(0x360)](_0x1b61a8,{'context':{..._0x26a9b8[_0x4fcb5b(0x38e)],'imageObject':void 0x0},'token':_0x5795d6,'detached':!0x0}),this[_0x4fcb5b(0x1ac)][_0x4fcb5b(0x360)](_0x3c968d[_0x4fcb5b(0x1d6)],this[_0x4fcb5b(0x37e)](_0xe24230));return;}if(_0xe24230[_0x4fcb5b(0x1b9)](_0x1b61a8),!(_0xe24230!=null&&_0xe24230[_0x4fcb5b(0x287)])){this['_hostContextMap'][_0x4fcb5b(0x1b9)](_0x3c968d[_0x4fcb5b(0x1d6)]),this[_0x4fcb5b(0x261)][_0x4fcb5b(0x1b9)](_0x3c968d[_0x4fcb5b(0x1d6)]),this['removeHost'](_0x3c968d[_0x4fcb5b(0x1d6)]);return;}this[_0x4fcb5b(0x1ac)][_0x4fcb5b(0x360)](_0x3c968d[_0x4fcb5b(0x1d6)],this[_0x4fcb5b(0x37e)](_0xe24230)),this[_0x4fcb5b(0x2ff)](_0x3c968d[_0x4fcb5b(0x1d6)]);}}};}[_0x34eeab(0x2c3)](_0x10d49e){const _0x27022b=_0x34eeab;return this[_0x27022b(0x1ac)]['get'](_0x10d49e);}[_0x34eeab(0x2ee)](_0x432d51,_0xcf8c97){const _0x17a0b4=_0x34eeab;return _0xcf8c97===_0x20ebcd[_0x17a0b4(0x22c)]?this[_0x17a0b4(0x368)](_0x432d51):this[_0x17a0b4(0x2e1)](_0x432d51);}['getImageDataUrl'](_0x31dd7c){const _0x1bcd1f=_0x34eeab;return this['_lastImageDataUrlMap'][_0x1bcd1f(0x1f6)](_0x31dd7c);}[_0x34eeab(0x1b2)](_0x29abd2,_0x5f3ede){const _0x18a830=_0x34eeab;if(!(_0x5f3ede instanceof _0xc9c740))return;let _0x2470ab=_0x5f3ede[_0x18a830(0x2f2)]();_0x2470ab&&this['_commitImageDataUrl'](_0x29abd2,_0x2470ab);}async['renderChart'](_0x49754a){const _0x3f65f8=_0x34eeab;this[_0x3f65f8(0x203)]['set'](_0x49754a,Symbol(_0x49754a));let _0x15fbc7=this['_renderQueueMap']['get'](_0x49754a);if(_0x15fbc7)return _0x15fbc7['requested']=!0x0,_0x15fbc7['promise'];let _0x513e68={'requested':!0x0,'promise':Promise[_0x3f65f8(0x2d9)]()};return _0x513e68['promise']=this['_drainRenderQueue'](_0x49754a,_0x513e68)[_0x3f65f8(0x389)](()=>{const _0x3f1ad5=_0x3f65f8;this[_0x3f1ad5(0x2df)][_0x3f1ad5(0x1f6)](_0x49754a)===_0x513e68&&this[_0x3f1ad5(0x2df)][_0x3f1ad5(0x1b9)](_0x49754a);}),this[_0x3f65f8(0x2df)][_0x3f65f8(0x360)](_0x49754a,_0x513e68),_0x513e68[_0x3f65f8(0x292)];}async['_drainRenderQueue'](_0x1a8a4c,_0x104a6a){const _0x45cb01=_0x34eeab;for(;_0x104a6a[_0x45cb01(0x1e5)];){_0x104a6a[_0x45cb01(0x1e5)]=!0x1;let _0x5add61=this[_0x45cb01(0x203)][_0x45cb01(0x1f6)](_0x1a8a4c);if(!_0x5add61)return;await this[_0x45cb01(0x216)](_0x1a8a4c,_0x5add61);}}async[_0x34eeab(0x216)](_0x12f09b,_0x25ee2d){const _0x124483=_0x34eeab;let _0x129fba=this[_0x124483(0x1ac)][_0x124483(0x1f6)](_0x12f09b);if(!_0x129fba)return;let _0xcde596=this[_0x124483(0x276)][_0x124483(0x3b1)](_0x129fba[_0x124483(0x1ef)],_0x12f09b);if(!_0xcde596)return;this[_0x124483(0x397)](_0xcde596);let _0x9f5c7e=_0xcde596['configRevision'];if(!(!await this[_0x124483(0x290)](_0xcde596,_0x9f5c7e)||this[_0x124483(0x203)]['get'](_0x12f09b)!==_0x25ee2d)){if(this[_0x124483(0x234)](_0x12f09b,_0x4d6946=>{const _0xfa0cda=_0x124483;var _0x278d81,_0x192ab8;(_0x278d81=_0x4d6946[_0xfa0cda(0x29a)])==null||(_0x192ab8=_0x278d81[_0xfa0cda(0x39a)])==null||_0x192ab8[_0xfa0cda(0x209)](_0x278d81,ar(_0xcde596[_0xfa0cda(0x224)][_0xfa0cda(0x30f)],_0x4d6946['stroke']));}),this[_0x124483(0x33c)][_0x124483(0x286)](_0x12f09b)===_0x20ebcd[_0x124483(0x22c)]){await this[_0x124483(0x2c9)](_0xcde596,_0x25ee2d);return;}await this[_0x124483(0x39c)](_0xcde596,_0x25ee2d);}}async['_renderImageChart'](_0x48a0d4,_0x26f0d9){const _0xf546a8=_0x34eeab;let {chartId:_0x3a2aa4}=_0x48a0d4;this[_0xf546a8(0x24f)][_0xf546a8(0x32e)](_0x3a2aa4,!0x1),this['_removeDomHost'](_0x3a2aa4);let _0x9c48dd=this[_0xf546a8(0x2ee)](_0x3a2aa4,_0x20ebcd['Image']);if(_0x9c48dd)try{if(await this['_renderService'][_0xf546a8(0x328)](_0x48a0d4,_0x9c48dd),this[_0xf546a8(0x203)][_0xf546a8(0x1f6)](_0x3a2aa4)!==_0x26f0d9)return;this[_0xf546a8(0x1b2)](_0x3a2aa4,_0x9c48dd);}catch{}}async[_0x34eeab(0x39c)](_0x410b33,_0x3f9fe1){const _0x107629=_0x34eeab;let {chartId:_0x34e14b}=_0x410b33;this[_0x107629(0x24f)][_0x107629(0x32e)](_0x34e14b,!0x0);let _0xb1e6ee=this[_0x107629(0x2ee)](_0x34e14b,_0x20ebcd[_0x107629(0x300)]);if(_0xb1e6ee)try{if(await this['_renderService'][_0x107629(0x328)](_0x410b33,_0xb1e6ee),this['_renderRequestTokenMap'][_0x107629(0x1f6)](_0x34e14b)!==_0x3f9fe1)return;_0xb1e6ee['markReady']();try{let _0x574a2f=await this[_0x107629(0x24f)]['exportImage'](_0x34e14b);_0x574a2f&&this['_renderRequestTokenMap']['get'](_0x34e14b)===_0x3f9fe1&&this[_0x107629(0x24b)](_0x34e14b,_0x574a2f);}catch{}}catch{this['_renderRequestTokenMap'][_0x107629(0x1f6)](_0x34e14b)===_0x3f9fe1&&_0xb1e6ee[_0x107629(0x2e3)]();}}[_0x34eeab(0x2b0)](_0x41385c){const _0x25d1ee=_0x34eeab;this[_0x25d1ee(0x203)][_0x25d1ee(0x1b9)](_0x41385c),this['_removeDomHost'](_0x41385c),this[_0x25d1ee(0x233)](_0x41385c),this[_0x25d1ee(0x24f)][_0x25d1ee(0x366)](_0x41385c);}['_removeDomHost'](_0x1339b1){const _0x418534=_0x34eeab;let _0x2a3bcf=this[_0x418534(0x3c9)][_0x418534(0x1f6)](_0x1339b1);_0x2a3bcf&&(_0x2a3bcf[_0x418534(0x314)](),this[_0x418534(0x3c9)][_0x418534(0x1b9)](_0x1339b1),this[_0x418534(0x3ea)](_0x1339b1),this[_0x418534(0x22d)][_0x418534(0x365)](_0x1339b1));}['syncHostLayout'](_0x41eb34){const _0x57d975=_0x34eeab;let _0x2b86c4=this[_0x57d975(0x3c9)][_0x57d975(0x1f6)](_0x41eb34);_0x2b86c4&&(this[_0x57d975(0x344)](_0x41eb34,_0x2b86c4),_0x2b86c4[_0x57d975(0x3eb)](),this['_layoutChanged$'][_0x57d975(0x365)](_0x41eb34));}[_0x34eeab(0x22e)](_0x11b565){const _0x2c75a6=_0x34eeab;var _0x13dec8;return((_0x13dec8=this[_0x2c75a6(0x3c9)]['get'](_0x11b565))==null?void 0x0:_0x13dec8[_0x2c75a6(0x220)]())??!0x1;}[_0x34eeab(0x348)](_0x436087){const _0x42a902=_0x34eeab;return this[_0x42a902(0x3d0)][_0x42a902(0x308)](_0x436087);}[_0x34eeab(0x2d6)](_0x5e9195){const _0x22fa21=_0x34eeab;this[_0x22fa21(0x3d0)]['has'](_0x5e9195)||(this['_domReadyChartIds'][_0x22fa21(0x1fc)](_0x5e9195),this['_domReadyChanged$'][_0x22fa21(0x365)](_0x5e9195),this[_0x22fa21(0x35c)](_0x5e9195));}[_0x34eeab(0x36f)](_0x20540f){const _0x26b6ac=_0x34eeab;this['_domReadyChartIds'][_0x26b6ac(0x1b9)](_0x20540f)&&(this[_0x26b6ac(0x330)][_0x26b6ac(0x365)](_0x20540f),this['_requestChartCanvasRender'](_0x20540f));}['getClientRect'](_0x4163fe,_0x1b64b9){const _0x5b8845=_0x34eeab;let _0x5e1100=this[_0x5b8845(0x1ac)]['get'](_0x4163fe);if(!_0x5e1100)return null;let _0x1bc081=this[_0x5b8845(0x27a)](_0x5e1100),_0x3194e9=(_0x1bc081==null?void 0x0:_0x1bc081['left'])??_0x5e1100[_0x5b8845(0x3ab)][_0x5b8845(0x3bf)][_0x5b8845(0x1b6)][_0x5b8845(0x34a)]??0x0,_0x158960=(_0x1bc081==null?void 0x0:_0x1bc081[_0x5b8845(0x26c)])??_0x5e1100[_0x5b8845(0x3ab)][_0x5b8845(0x3bf)][_0x5b8845(0x1b6)][_0x5b8845(0x26c)]??0x0,_0x17be48=_0x1b64b9?{'left':_0x3194e9+_0x1b64b9[_0x5b8845(0x34a)],'top':_0x158960+_0x1b64b9[_0x5b8845(0x26c)],'right':_0x3194e9+_0x1b64b9[_0x5b8845(0x208)],'bottom':_0x158960+_0x1b64b9[_0x5b8845(0x1bc)]}:{'left':_0x3194e9,'top':_0x158960,'right':_0x3194e9+((_0x1bc081==null?void 0x0:_0x1bc081[_0x5b8845(0x28c)])??_0x5e1100['width']),'bottom':_0x158960+((_0x1bc081==null?void 0x0:_0x1bc081[_0x5b8845(0x2b5)])??_0x5e1100['height'])};return this[_0x5b8845(0x2aa)](_0x5e1100[_0x5b8845(0x1ef)],_0x17be48);}['_createImageChartHost'](_0x4f0c55){const _0x203b36=_0x34eeab;let _0x2ce99=this[_0x203b36(0x1ac)][_0x203b36(0x1f6)](_0x4f0c55);return _0x2ce99?new _0xc9c740(_0x4f0c55,{'width':_0x2ce99[_0x203b36(0x28c)],'height':_0x2ce99[_0x203b36(0x2b5)]}):null;}[_0x34eeab(0x2e1)](_0x33eb83){const _0xba6e51=_0x34eeab;let _0xa6fa1c=this['_hostContextMap'][_0xba6e51(0x1f6)](_0x33eb83);if(!_0xa6fa1c||typeof document>'u')return null;let _0xfc5187=this['_domHostMap'][_0xba6e51(0x1f6)](_0x33eb83);if(_0xfc5187)return this[_0xba6e51(0x344)](_0x33eb83,_0xfc5187),_0xfc5187;let _0x303b71=document[_0xba6e51(0x291)](_0xba6e51(0x1d1));_0x303b71[_0xba6e51(0x229)][_0xba6e51(0x214)]=_0xba6e51(0x34b),_0x303b71[_0xba6e51(0x229)][_0xba6e51(0x1d6)]=_0x33eb83,_0x303b71[_0xba6e51(0x30f)][_0xba6e51(0x2b8)]=String(_0x125560),_0x303b71[_0xba6e51(0x30f)]['pointerEvents']=_0xba6e51(0x3bc),_0x303b71[_0xba6e51(0x30f)]['overflow']=_0xba6e51(0x1e4),_0x303b71[_0xba6e51(0x30f)][_0xba6e51(0x377)]=_0xba6e51(0x281),_0x303b71[_0xba6e51(0x30f)][_0xba6e51(0x1a9)]=_0xba6e51(0x398);let _0x16eb44=this[_0xba6e51(0x27f)](_0xa6fa1c['unitId']);_0x303b71[_0xba6e51(0x30f)]['position']=_0x16eb44?_0xba6e51(0x27b):'fixed',(_0x16eb44??document[_0xba6e51(0x1ba)])[_0xba6e51(0x20d)](_0x303b71);let _0x206171=new or(_0x33eb83,_0x303b71,(_0xa1aa64,_0x5cc196)=>{const _0x47fc2d=_0xba6e51;var _0xc42ab4;let _0x5167e8=this['_hostContextMap'][_0x47fc2d(0x1f6)](_0x33eb83),_0x2d6a5b=_0x5167e8?(_0xc42ab4=this[_0x47fc2d(0x276)][_0x47fc2d(0x29b)](_0x5167e8[_0x47fc2d(0x1ef)],_0x33eb83))==null?void 0x0:_0xc42ab4[_0x47fc2d(0x224)]['style']:void 0x0,_0x5c5d34=_0x5167e8?ar(_0x2d6a5b,_0x5167e8['stroke']):void 0x0;_0xa1aa64[_0x47fc2d(0x30f)][_0x47fc2d(0x1e3)]=ir(_0x5c5d34)?_0x5c5d34[_0x47fc2d(0x28c)]+'px\x20solid\x20'+_0x5c5d34['color']:'',_0xa1aa64['style']['backgroundColor']=_0x5cc196[_0x47fc2d(0x38d)]??'',_0xa1aa64['style'][_0x47fc2d(0x206)]=_0x2fe0ad+'px';},()=>{const _0x2453fe=_0xba6e51;let _0x349b02=this[_0x2453fe(0x1ac)][_0x2453fe(0x1f6)](_0x33eb83);return _0x349b02?{'width':_0x349b02[_0x2453fe(0x28c)],'height':_0x349b02[_0x2453fe(0x2b5)]}:null;},()=>this['markHostReady'](_0x33eb83),()=>this['markHostNotReady'](_0x33eb83));return this['_domHostMap'][_0xba6e51(0x360)](_0x33eb83,_0x206171),this['_bindHostLayoutListeners'](_0x33eb83),this[_0xba6e51(0x344)](_0x33eb83,_0x206171),_0x206171;}['_bindHostLayoutListeners'](_0x51fe7d){const _0x220b99=_0x34eeab;this[_0x220b99(0x3ea)](_0x51fe7d);let _0x10a34a=this[_0x220b99(0x1ac)][_0x220b99(0x1f6)](_0x51fe7d),_0x2a6927=_0x10a34a?this[_0x220b99(0x23f)][_0x220b99(0x254)](_0x10a34a[_0x220b99(0x1ef)]):null;if(!_0x10a34a||!_0x2a6927)return;let _0x1635b0=[],_0x53b7d0=()=>this['syncHostLayout'](_0x51fe7d),_0x2dc5b9=_0x2a6927[_0x220b99(0x294)][_0x220b99(0x3d6)](_0x43d5fc);_0x2dc5b9&&_0x1635b0['push'](_0x5aa4ff(_0x2dc5b9['onScrollAfter$']['subscribeEvent'](_0x53b7d0))),_0x1635b0[_0x220b99(0x39d)](_0x5aa4ff(_0x2a6927[_0x220b99(0x1c7)]['onTransformChange$'][_0x220b99(0x371)](_0x53b7d0))),_0x1635b0[_0x220b99(0x39d)](_0x5aa4ff(_0x2a6927[_0x220b99(0x294)][_0x220b99(0x1ad)][_0x220b99(0x371)](_0x53b7d0)));let _0x4baf68=this[_0x220b99(0x27a)](_0x10a34a);_0x4baf68!=null&&_0x4baf68[_0x220b99(0x1ad)]&&_0x1635b0[_0x220b99(0x39d)](_0x5aa4ff(_0x4baf68[_0x220b99(0x1ad)][_0x220b99(0x371)](_0x53b7d0))),this[_0x220b99(0x3dc)][_0x220b99(0x360)](_0x51fe7d,_0x1635b0);}[_0x34eeab(0x3ea)](_0x464d00){const _0x30dc4a=_0x34eeab;var _0x2a0a5f;(_0x2a0a5f=this[_0x30dc4a(0x3dc)][_0x30dc4a(0x1f6)](_0x464d00))==null||_0x2a0a5f[_0x30dc4a(0x252)](_0x1a58da=>_0x1a58da[_0x30dc4a(0x314)]()),this[_0x30dc4a(0x3dc)]['delete'](_0x464d00);}[_0x34eeab(0x397)](_0x4bbc1d){const _0x4f312d=_0x34eeab;if(this[_0x4f312d(0x329)][_0x4f312d(0x308)](_0x4bbc1d[_0x4f312d(0x1d6)]))return;let _0x529d33=_0x1fa037([_0x4bbc1d[_0x4f312d(0x224)][_0x4f312d(0x3ba)],_0x4bbc1d[_0x4f312d(0x224)][_0x4f312d(0x211)],this[_0x4f312d(0x1cc)][_0x4f312d(0x267)]])['pipe'](_0x33b61d(0x1))['subscribe'](()=>{queueMicrotask(()=>{const _0x1555fa=_0x46cc;this[_0x1555fa(0x3d2)](_0x4bbc1d[_0x1555fa(0x1d6)]);});});this[_0x4f312d(0x329)][_0x4f312d(0x360)](_0x4bbc1d[_0x4f312d(0x1d6)],{'dispose':()=>_0x529d33['unsubscribe']()});}async['_waitForCurrentChartConfig'](_0x2843cb,_0xc2eb92){const _0x3f200c=_0x34eeab;let {model:_0x32da85}=_0x2843cb,_0x545e27=()=>{const _0x4c1cdb=_0x46cc;let _0x41d9e5=_0x32da85[_0x4c1cdb(0x1cd)];return _0x2843cb[_0x4c1cdb(0x354)]>=_0xc2eb92&&_0x41d9e5!=null&&_0x41d9e5['type']===_0x32da85[_0x4c1cdb(0x297)];};if(_0x545e27())return!0x0;try{await _0x506679(_0x2843cb[_0x3f200c(0x268)][_0x3f200c(0x1d2)](_0x2e76aa(_0x4d8586=>{const _0x2d1d9d=_0x3f200c;var _0x222410;return _0x4d8586>=_0xc2eb92&&((_0x222410=_0x32da85[_0x2d1d9d(0x1cd)])==null?void 0x0:_0x222410[_0x2d1d9d(0x3e9)])===_0x32da85[_0x2d1d9d(0x297)];}),_0x9b16d9(0x1),_0x1976c2({'first':0x3e8})));}catch{return _0x545e27();}return _0x545e27();}[_0x34eeab(0x233)](_0x73555){const _0xa826ec=_0x34eeab;var _0x2f4e38;(_0x2f4e38=this[_0xa826ec(0x329)]['get'](_0x73555))==null||_0x2f4e38[_0xa826ec(0x314)](),this[_0xa826ec(0x329)][_0xa826ec(0x1b9)](_0x73555);}[_0x34eeab(0x344)](_0x1208ec,_0x50b4b3){const _0x11e2a5=_0x34eeab;let _0xbdc9ca=this['_hostContextMap']['get'](_0x1208ec);if(!_0xbdc9ca)return;let _0x249b90=this['_getChartRenderObject'](_0xbdc9ca),_0x1fc9a3=(_0x249b90==null?void 0x0:_0x249b90[_0x11e2a5(0x34a)])??_0xbdc9ca[_0x11e2a5(0x3ab)][_0x11e2a5(0x3bf)][_0x11e2a5(0x1b6)][_0x11e2a5(0x34a)]??0x0,_0x1c2109=(_0x249b90==null?void 0x0:_0x249b90[_0x11e2a5(0x26c)])??_0xbdc9ca[_0x11e2a5(0x3ab)][_0x11e2a5(0x3bf)]['transform']['top']??0x0,_0x433f87=Math[_0x11e2a5(0x1bf)](_0x12e8ae,(_0x249b90==null?void 0x0:_0x249b90[_0x11e2a5(0x28c)])??_0xbdc9ca[_0x11e2a5(0x28c)]),_0x563fdd=Math[_0x11e2a5(0x1bf)](_0x12e8ae,(_0x249b90==null?void 0x0:_0x249b90[_0x11e2a5(0x2b5)])??_0xbdc9ca['height']),_0xb691c2=(_0x249b90==null?void 0x0:_0x249b90[_0x11e2a5(0x33a)])??_0xbdc9ca[_0x11e2a5(0x3ab)][_0x11e2a5(0x3bf)][_0x11e2a5(0x1b6)][_0x11e2a5(0x1cb)]??0x0,_0x166067=this['_getSlideDomWorldLayer'](_0xbdc9ca['unitId']),_0x44094b=_0x50b4b3[_0x11e2a5(0x22a)]();if(_0x166067){_0x44094b['parentElement']!==_0x166067&&_0x166067[_0x11e2a5(0x20d)](_0x44094b),_0x44094b[_0x11e2a5(0x30f)][_0x11e2a5(0x3a5)]=_0x11e2a5(0x27b),_0x44094b[_0x11e2a5(0x30f)][_0x11e2a5(0x34a)]=_0x1fc9a3+'px',_0x44094b[_0x11e2a5(0x30f)][_0x11e2a5(0x26c)]=_0x1c2109+'px',_0x44094b[_0x11e2a5(0x30f)]['width']=_0x433f87+'px',_0x44094b[_0x11e2a5(0x30f)]['height']=_0x563fdd+'px',_0x44094b['style'][_0x11e2a5(0x1b6)]=_0x11e2a5(0x241)+_0xb691c2+_0x11e2a5(0x265);return;}let _0x25b023=this[_0x11e2a5(0x274)](_0xbdc9ca['unitId']),_0x7bc450=this[_0x11e2a5(0x2aa)](_0xbdc9ca['unitId'],{'left':_0x1fc9a3,'top':_0x1c2109,'right':_0x1fc9a3+_0x433f87,'bottom':_0x1c2109+_0x563fdd});!_0x25b023||!_0x7bc450||(_0x44094b[_0x11e2a5(0x30f)][_0x11e2a5(0x3a5)]=_0x11e2a5(0x3bd),_0x44094b[_0x11e2a5(0x30f)]['left']=_0x7bc450['left']+_0x433f87*(_0x25b023['scaleX']-0x1)/0x2+'px',_0x44094b[_0x11e2a5(0x30f)][_0x11e2a5(0x26c)]=_0x7bc450[_0x11e2a5(0x26c)]+_0x563fdd*(_0x25b023[_0x11e2a5(0x1fa)]-0x1)/0x2+'px',_0x44094b['style'][_0x11e2a5(0x28c)]=_0x433f87+'px',_0x44094b[_0x11e2a5(0x30f)][_0x11e2a5(0x2b5)]=_0x563fdd+'px',_0x44094b['style'][_0x11e2a5(0x1b6)]=_0x11e2a5(0x2d4)+_0x25b023[_0x11e2a5(0x323)]+',\x20'+_0x25b023[_0x11e2a5(0x1fa)]+')\x20rotate('+_0xb691c2+_0x11e2a5(0x265));}[_0x34eeab(0x27f)](_0x586546){const _0x9f8e7f=_0x34eeab;return typeof document>'u'?null:Array['from'](document[_0x9f8e7f(0x3c5)]('[data-slide-dom-world-layer-unit-id]'))['find'](_0x4e5e62=>_0x4e5e62['dataset'][_0x9f8e7f(0x338)]===_0x586546)??null;}['_getCanvasClientScale'](_0x184464){const _0x5e8fb4=_0x34eeab;let _0x537f9f=this[_0x5e8fb4(0x23f)][_0x5e8fb4(0x254)](_0x184464),_0xa8ce87=_0x537f9f==null?void 0x0:_0x537f9f['engine'][_0x5e8fb4(0x207)]();if(!_0x537f9f||!_0xa8ce87)return null;let {scaleX:_0x11c393,scaleY:_0x101f0e}=_0x537f9f['scene'][_0x5e8fb4(0x3a6)](),_0x49e3d5=_0xa8ce87[_0x5e8fb4(0x316)](),_0x448791=_0x2e29ec(_0xa8ce87[_0x5e8fb4(0x30f)][_0x5e8fb4(0x28c)]),_0x49cbb1=_0x448791>0x0?_0x49e3d5[_0x5e8fb4(0x28c)]/_0x448791:0x1;return{'scaleX':_0x11c393*_0x49cbb1,'scaleY':_0x101f0e*_0x49cbb1};}[_0x34eeab(0x2aa)](_0x15a75a,_0x4b0dd5){const _0x116a69=_0x34eeab;let _0x45b9ee=this[_0x116a69(0x23f)][_0x116a69(0x254)](_0x15a75a),_0xa085a5=_0x45b9ee==null?void 0x0:_0x45b9ee[_0x116a69(0x1c7)]['getCanvasElement'](),_0x3ed502=this[_0x116a69(0x274)](_0x15a75a);if(!_0x45b9ee||!_0xa085a5||!_0x3ed502)return null;let _0x3b5219=_0x45b9ee[_0x116a69(0x294)]['getViewport'](_0x43d5fc),_0x2d36e5=(_0x3b5219==null?void 0x0:_0x3b5219[_0x116a69(0x2d7)])??0x0,_0x443b4b=(_0x3b5219==null?void 0x0:_0x3b5219[_0x116a69(0x1f5)])??0x0,_0x35c959=_0xa085a5[_0x116a69(0x316)]();return{'left':(_0x4b0dd5[_0x116a69(0x34a)]-_0x2d36e5)*_0x3ed502[_0x116a69(0x323)]+_0x35c959[_0x116a69(0x34a)],'right':(_0x4b0dd5[_0x116a69(0x208)]-_0x2d36e5)*_0x3ed502[_0x116a69(0x323)]+_0x35c959[_0x116a69(0x34a)],'top':(_0x4b0dd5[_0x116a69(0x26c)]-_0x443b4b)*_0x3ed502['scaleY']+_0x35c959[_0x116a69(0x26c)],'bottom':(_0x4b0dd5[_0x116a69(0x1bc)]-_0x443b4b)*_0x3ed502[_0x116a69(0x1fa)]+_0x35c959[_0x116a69(0x26c)]};}[_0x34eeab(0x27a)](_0x5674b6){const _0x4137e9=_0x34eeab;var _0x369d23,_0x385b86;let _0x29dbec=(_0x369d23=this[_0x4137e9(0x23f)][_0x4137e9(0x254)](_0x5674b6['unitId']))==null?void 0x0:_0x369d23[_0x4137e9(0x294)],_0x199e0d=_0x5f5bf0(_0x5674b6[_0x4137e9(0x1ef)],_0x5674b6[_0x4137e9(0x24c)],_0x5674b6['drawingId']);return(_0x29dbec==null||(_0x385b86=_0x29dbec['getObjectIncludeInGroup'])==null?void 0x0:_0x385b86[_0x4137e9(0x209)](_0x29dbec,_0x199e0d))??(_0x29dbec==null?void 0x0:_0x29dbec[_0x4137e9(0x2fb)](_0x199e0d))??null;}[_0x34eeab(0x35c)](_0x1b5770){const _0x1874c5=_0x34eeab;var _0xda8294,_0x49e513;let _0x31d773=this[_0x1874c5(0x1ac)][_0x1874c5(0x1f6)](_0x1b5770);if(!_0x31d773)return;this[_0x1874c5(0x234)](_0x1b5770,_0x6bc5d2=>{const _0x25252f=_0x1874c5;var _0x52c230,_0x581ded,_0x1d9879;(_0x52c230=_0x6bc5d2[_0x25252f(0x29a)])==null||(_0x581ded=_0x52c230[_0x25252f(0x2de)])==null||_0x581ded[_0x25252f(0x209)](_0x52c230,!0x0),(_0x1d9879=_0x6bc5d2[_0x25252f(0x306)])==null||_0x1d9879[_0x25252f(0x209)](_0x6bc5d2);});let _0x507ddb=(_0xda8294=this['_renderManagerService'][_0x1874c5(0x254)](_0x31d773[_0x1874c5(0x1ef)]))==null?void 0x0:_0xda8294[_0x1874c5(0x294)],_0x599b55=this[_0x1874c5(0x27a)](_0x31d773);_0x599b55==null||(_0x49e513=_0x599b55['makeDirty'])==null||_0x49e513[_0x1874c5(0x209)](_0x599b55,!0x0),_0x507ddb==null||_0x507ddb[_0x1874c5(0x2de)](!0x0),_0x507ddb==null||_0x507ddb[_0x1874c5(0x328)]();}[_0x34eeab(0x234)](_0x4b7ea6,_0x311d22){const _0x49860b=_0x34eeab;var _0x28805b;(_0x28805b=this[_0x49860b(0x261)][_0x49860b(0x1f6)](_0x4b7ea6))==null||_0x28805b[_0x49860b(0x252)](({context:_0x19eac5})=>_0x311d22(_0x19eac5));}[_0x34eeab(0x37e)](_0x3e889f){const _0x100000=_0x34eeab;let _0x16fcc1=Array['from'](_0x3e889f[_0x100000(0x3aa)](),({context:_0x47e18f})=>_0x47e18f);return _0x16fcc1[_0x100000(0x347)](_0x55fcd0=>_0x55fcd0[_0x100000(0x311)]==null||_0x55fcd0[_0x100000(0x311)]===_0x445b74[_0x100000(0x212)])??_0x16fcc1[_0x100000(0x347)](_0x3344d5=>_0x3344d5[_0x100000(0x311)]===_0x445b74[_0x100000(0x264)])??_0x16fcc1[_0x16fcc1[_0x100000(0x1ca)]-0x1];}[_0x34eeab(0x357)](_0x5e937b){const _0x54a731=_0x34eeab;return[_0x5e937b[_0x54a731(0x1ef)],_0x5e937b[_0x54a731(0x24c)],_0x5e937b[_0x54a731(0x238)],_0x5e937b[_0x54a731(0x311)]??_0x445b74[_0x54a731(0x212)]][_0x54a731(0x1f8)]('::');}[_0x34eeab(0x24b)](_0xc66cb8,_0x42cd3c){const _0x508ec4=_0x34eeab;this['_lastImageDataUrlMap'][_0x508ec4(0x360)](_0xc66cb8,_0x42cd3c),this[_0x508ec4(0x234)](_0xc66cb8,_0x47c3ce=>{const _0xf07ddf=_0x508ec4;var _0x1eb1b4;(_0x1eb1b4=_0x47c3ce[_0xf07ddf(0x29a)])==null||_0x1eb1b4[_0xf07ddf(0x346)](_0x42cd3c);}),this[_0x508ec4(0x32d)][_0x508ec4(0x365)](_0xc66cb8),this[_0x508ec4(0x35c)](_0xc66cb8),this[_0x508ec4(0x375)](_0xc66cb8);}['_releaseDetachedThumbnailContexts'](_0x57ff28){const _0xe47a0d=_0x34eeab;let _0x56d67b=this[_0xe47a0d(0x261)][_0xe47a0d(0x1f6)](_0x57ff28);if(_0x56d67b==null||_0x56d67b[_0xe47a0d(0x252)]((_0x9691fd,_0x5e0566)=>{const _0x3dd1e3=_0xe47a0d;_0x9691fd[_0x3dd1e3(0x1db)]&&_0x56d67b[_0x3dd1e3(0x1b9)](_0x5e0566);}),!(_0x56d67b!=null&&_0x56d67b['size'])){this[_0xe47a0d(0x1ac)][_0xe47a0d(0x1b9)](_0x57ff28),this[_0xe47a0d(0x261)][_0xe47a0d(0x1b9)](_0x57ff28),this[_0xe47a0d(0x2b0)](_0x57ff28);return;}this[_0xe47a0d(0x1ac)][_0xe47a0d(0x360)](_0x57ff28,this[_0xe47a0d(0x37e)](_0x56d67b)),this[_0xe47a0d(0x2ff)](_0x57ff28);}[_0x34eeab(0x314)](){const _0x2e01f2=_0x34eeab;this[_0x2e01f2(0x28e)]||(this['_domHostMap']['forEach'](_0x1da3a6=>_0x1da3a6[_0x2e01f2(0x314)]()),this[_0x2e01f2(0x3c9)][_0x2e01f2(0x2a9)](),this['_hostLayoutSubscriptions']['forEach'](_0x264726=>{const _0x331089=_0x2e01f2;_0x264726['forEach'](_0x1b4ab6=>_0x1b4ab6[_0x331089(0x314)]());}),this['_hostLayoutSubscriptions']['clear'](),this[_0x2e01f2(0x329)][_0x2e01f2(0x252)](_0x3b7387=>_0x3b7387[_0x2e01f2(0x314)]()),this[_0x2e01f2(0x329)][_0x2e01f2(0x2a9)](),this[_0x2e01f2(0x2df)][_0x2e01f2(0x2a9)](),this[_0x2e01f2(0x203)][_0x2e01f2(0x2a9)](),this[_0x2e01f2(0x3d0)]['clear'](),this['_hostContextMap'][_0x2e01f2(0x2a9)](),this['_hostContextRegistrationMap']['clear'](),this[_0x2e01f2(0x3e4)][_0x2e01f2(0x2a9)](),this[_0x2e01f2(0x22d)]['complete'](),this['_imageUpdated$'][_0x2e01f2(0x2f6)](),this['_domReadyChanged$']['complete'](),this['_layoutChanged$'][_0x2e01f2(0x2f6)](),super[_0x2e01f2(0x314)]());}};Q=H([V(0x0,_0x1344b6),V(0x1,_0x16d46e(_0x37c8ac)),V(0x2,_0x16d46e(_0x570fb7)),V(0x3,_0x16d46e(Z)),V(0x4,_0x16d46e(Qn))],Q);const sr=_0x34eeab(0x31d);let cr=class extends _0x3a6cec{constructor(_0x48a0e8,_0xf41769,_0x469743,_0x7880f4,_0x71deb3,_0x525935,_0x2e9e57,_0x156539,_0x20d92b,_0x507bcc){const _0x3205dc=_0x34eeab;super(),this[_0x3205dc(0x20c)]=_0x48a0e8,this[_0x3205dc(0x3b7)]=_0xf41769,this[_0x3205dc(0x257)]=_0x469743,this[_0x3205dc(0x279)]=_0x7880f4,this[_0x3205dc(0x1fe)]=_0x71deb3,this[_0x3205dc(0x391)]=_0x525935,this[_0x3205dc(0x26b)]=_0x2e9e57,this[_0x3205dc(0x20b)]=_0x156539,this[_0x3205dc(0x361)]=_0x20d92b,this[_0x3205dc(0x3c3)]=_0x507bcc,B(this,_0x3205dc(0x25f),null),B(this,_0x3205dc(0x352),null),B(this,_0x3205dc(0x33f),null),this[_0x3205dc(0x270)](),this[_0x3205dc(0x3c4)]();}[_0x34eeab(0x314)](){const _0x1936c0=_0x34eeab;this[_0x1936c0(0x310)](),super[_0x1936c0(0x314)]();}[_0x34eeab(0x270)](){const _0x49748c=_0x34eeab;let _0x4eba31=_0x1de7f0({'chartUIService':this[_0x49748c(0x391)],'getHostAdapter':_0x548f2e=>{const _0xbb7477=_0x49748c;this['_setActiveChart'](_0x548f2e[_0xbb7477(0x1d6)]);let _0x1ea542=this['_chartModelService'][_0xbb7477(0x29b)](_0x548f2e['unitId'],_0x548f2e[_0xbb7477(0x1d6)]),_0x211de7=this['_univerInstanceService'][_0xbb7477(0x36e)](_0x548f2e[_0xbb7477(0x1ef)],_0xcf3ade[_0xbb7477(0x2a7)]);if(!(!_0x1ea542||!_0x211de7||!_0x548f2e[_0xbb7477(0x24c)]||!_0x548f2e['drawingId']))return new _0x235307(_0x1ea542['model'],new _0x2e2535({'unitId':_0x548f2e['unitId'],'subUnitId':_0x548f2e[_0xbb7477(0x24c)],'chartId':_0x548f2e[_0xbb7477(0x1d6)],'elementId':_0x548f2e[_0xbb7477(0x238)],'slideModel':_0x211de7,'injector':this[_0xbb7477(0x3c3)]}));},'close':()=>this[_0x49748c(0x310)](),'openFullPanel':_0x420bfb=>{const _0x214d45=_0x49748c;let {unitId:_0x475bb3,subUnitId:_0x201e9a,drawingId:_0x1fbbdd,chartId:_0x1bd898}=_0x420bfb,_0x4ffec6=_0x131220(_0x420bfb[_0x214d45(0x304)]);this[_0x214d45(0x20b)][_0x214d45(0x384)](z['id'],{'unitId':_0x475bb3,'subUnitId':_0x201e9a??'','drawingId':_0x1fbbdd??_0x1bd898,..._0x4ffec6?{'route':_0x4ffec6}:{}});}});this['disposeWithMe'](this['_adapterRegistry'][_0x49748c(0x3a3)](sr,_0x4eba31));}[_0x34eeab(0x3c4)](){const _0x4a6dec=_0x34eeab;this['disposeWithMe'](_0x5aa4ff(this['_chartModelService'][_0x4a6dec(0x333)]['subscribe'](_0x3313ed=>{const _0x3697d0=_0x4a6dec;let _0x2c933c=new _0x34c30c();_0x2c933c[_0x3697d0(0x1fc)](this[_0x3697d0(0x257)]['on'](_0x3313ed[_0x3697d0(0x1d6)],_0x3697d0(0x326),_0x2b0a66=>{const _0x24509c=_0x3697d0;this[_0x24509c(0x258)](_0x3313ed['chartId'],_0x2b0a66);})),_0x3313ed[_0x3697d0(0x224)][_0x3697d0(0x260)](()=>{const _0x5619ac=_0x3697d0;_0x2c933c[_0x5619ac(0x314)](),this[_0x5619ac(0x269)](_0x3313ed[_0x5619ac(0x1d6)]);}),this['disposeWithMe'](_0x2c933c);}))),this[_0x4a6dec(0x288)](_0x5aa4ff(this[_0x4a6dec(0x391)][_0x4a6dec(0x259)][_0x4a6dec(0x1ed)](_0xec981=>{const _0x252c27=_0x4a6dec;(!_0xec981||this[_0x252c27(0x352)]&&_0xec981!==this[_0x252c27(0x352)])&&this[_0x252c27(0x310)]();}))),this[_0x4a6dec(0x288)](_0x5aa4ff(this[_0x4a6dec(0x3b7)]['activeSession$'][_0x4a6dec(0x1ed)](_0x2d7344=>{const _0x81fce=_0x4a6dec;(!_0x2d7344||this['_popupChartId']&&_0x2d7344[_0x81fce(0x1d6)]!==this['_popupChartId'])&&this[_0x81fce(0x310)]();}))),this[_0x4a6dec(0x288)](_0x5aa4ff(this[_0x4a6dec(0x279)][_0x4a6dec(0x255)][_0x4a6dec(0x1ed)](_0x285149=>{this['_clearSelectedTarget'](_0x285149);}))),this[_0x4a6dec(0x288)](_0x5aa4ff(this[_0x4a6dec(0x279)][_0x4a6dec(0x2cf)]['subscribe'](_0x369c28=>{const _0x40ccbf=_0x4a6dec;this['_popupChartId']===_0x369c28&&this[_0x40ccbf(0x310)]();})));}[_0x34eeab(0x21b)](_0x58518a){const _0xcfb32e=_0x34eeab;let _0x58f507=this[_0xcfb32e(0x279)][_0xcfb32e(0x2c3)](_0x58518a),_0x57ee1b=_0x58f507?this[_0xcfb32e(0x20c)][_0xcfb32e(0x29b)](_0x58f507[_0xcfb32e(0x1ef)],_0x58518a):void 0x0;_0x57ee1b&&this[_0xcfb32e(0x20c)]['setActiveChartRuntime'](_0x57ee1b);}['_openFloatMenu'](_0x5548fb,_0xf03b3b){const _0x1cdb0e=_0x34eeab;var _0x2f9c5a;if(!this[_0x1cdb0e(0x3b7)]['isActive'](_0x5548fb))return;let _0x243038=this[_0x1cdb0e(0x279)]['getHostContext'](_0x5548fb),_0xb38e63=_0x243038?this[_0x1cdb0e(0x20c)]['getChartModel'](_0x243038['unitId'],_0x5548fb):void 0x0,_0x2ff841=_0xb38e63?_0x26db8f(_0xb38e63['model'],_0xf03b3b[_0x1cdb0e(0x2da)]):void 0x0;if(!_0x243038||!_0xb38e63||!_0x2ff841){this[_0x1cdb0e(0x391)][_0x1cdb0e(0x1c3)](null),this['_chartUIService']['clearPanelRoute'](),this[_0x1cdb0e(0x310)]();return;}let _0x41896d=_0x131220(_0x2ff841[_0x1cdb0e(0x304)]);if(!_0x41896d){this['_chartUIService'][_0x1cdb0e(0x1c3)](null),this[_0x1cdb0e(0x391)][_0x1cdb0e(0x240)](),this[_0x1cdb0e(0x310)]();return;}let _0x2bd847=JSON['stringify']([_0x243038[_0x1cdb0e(0x1ef)],_0x243038[_0x1cdb0e(0x24c)],_0x243038[_0x1cdb0e(0x238)],_0x5548fb,_0x2ff841[_0x1cdb0e(0x304)]]);if(this['_popupDisposable']&&this[_0x1cdb0e(0x33f)]===_0x2bd847||(this[_0x1cdb0e(0x20c)][_0x1cdb0e(0x21c)](_0xb38e63),this[_0x1cdb0e(0x391)][_0x1cdb0e(0x1c3)]({'chartId':_0x5548fb,'element':_0xf03b3b[_0x1cdb0e(0x2da)],'target':_0x2ff841['target'],'route':_0x41896d}),this['_chartUIService'][_0x1cdb0e(0x2e4)](_0x5548fb,_0x41896d),this[_0x1cdb0e(0x310)](),!_0x2ff841[_0x1cdb0e(0x219)]))return;let _0x597118=this[_0x1cdb0e(0x279)][_0x1cdb0e(0x28b)](_0x5548fb,((_0x2f9c5a=_0xf03b3b['hit'][_0x1cdb0e(0x1e0)])==null?void 0x0:_0x2f9c5a['bounds'])??_0xf03b3b[_0x1cdb0e(0x2da)][_0x1cdb0e(0x1d0)])??this['_chartHostProvider'][_0x1cdb0e(0x28b)](_0x5548fb);if(!_0x597118)return;let _0x463521=this[_0x1cdb0e(0x1fe)][_0x1cdb0e(0x3c1)](_0x243038[_0x1cdb0e(0x1ef)],_0x243038[_0x1cdb0e(0x24c)],_0x597118,{'componentKey':_0x4389ed,'direction':_0x1cdb0e(0x3c2),'offset':_0x3ca41a,'extraProps':{'unitId':_0x243038[_0x1cdb0e(0x1ef)],'subUnitId':_0x243038['subUnitId'],'chartId':_0x5548fb,'drawingId':_0x243038[_0x1cdb0e(0x238)],'element':_0xf03b3b[_0x1cdb0e(0x2da)],'target':_0x2ff841[_0x1cdb0e(0x304)],'adapterKey':sr}});_0x463521&&(this['_popupDisposable']=_0x463521,this[_0x1cdb0e(0x352)]=_0x5548fb,this[_0x1cdb0e(0x33f)]=_0x2bd847);}[_0x34eeab(0x310)](){const _0x1ae41b=_0x34eeab;var _0x169c92;(_0x169c92=this[_0x1ae41b(0x25f)])==null||_0x169c92[_0x1ae41b(0x314)](),this[_0x1ae41b(0x25f)]=null,this[_0x1ae41b(0x352)]=null,this[_0x1ae41b(0x33f)]=null;}[_0x34eeab(0x269)](_0x365128){const _0x5a3c73=_0x34eeab;!this['_chartUIService'][_0x5a3c73(0x2c1)](_0x365128)&&this['_popupChartId']!==_0x365128||(this[_0x5a3c73(0x391)]['setSelectedElement'](null),this['_chartUIService'][_0x5a3c73(0x240)](),this['_popupChartId']===_0x365128&&this[_0x5a3c73(0x310)]());}};cr=H([V(0x0,_0x16d46e(_0x570fb7)),V(0x1,_0x16d46e(Y)),V(0x2,_0x16d46e(Z)),V(0x3,_0x16d46e(Q)),V(0x4,_0x16d46e(_0x4bee87)),V(0x5,U),V(0x6,_0x16d46e(_0x2141de)),V(0x7,_0x5c49c1),V(0x8,_0x1e9c4f),V(0x9,_0x16d46e(_0x3633e3))],cr);let lr=class extends _0x3a6cec{constructor(_0x58c5b0,_0x32b66b,_0x50a0df){const _0x2804e3=_0x34eeab;super(),this[_0x2804e3(0x20b)]=_0x58c5b0,this[_0x2804e3(0x3e3)]=_0x32b66b,this[_0x2804e3(0x250)]=_0x50a0df,this['_listenChartResourceMutations']();}[_0x34eeab(0x3dd)](){const _0xf78064=_0x34eeab;this[_0xf78064(0x288)](this[_0xf78064(0x20b)]['onCommandExecuted'](_0x2e5821=>{const _0x1eddf8=_0xf78064;if(_0x2e5821['id']===_0x1c7539['id']){var _0x1cb28;let _0x25ca37=_0x2e5821[_0x1eddf8(0x1df)];_0x25ca37!=null&&(_0x1cb28=_0x25ca37[_0x1eddf8(0x3ca)])!=null&&_0x1cb28['id']&&this[_0x1eddf8(0x3d4)](_0x25ca37[_0x1eddf8(0x3ca)]['id']);return;}if(_0x2e5821['id']===_0x421bd5['id']){var _0x5ab219;let _0x36a3a3=_0x2e5821[_0x1eddf8(0x1df)];if(!(_0x36a3a3!=null&&_0x36a3a3[_0x1eddf8(0x1ef)])||!((_0x5ab219=_0x36a3a3[_0x1eddf8(0x2b6)])!=null&&_0x5ab219['id']))return;this[_0x1eddf8(0x250)][_0x1eddf8(0x1b8)](_0x36a3a3[_0x1eddf8(0x1ef)],_0x36a3a3[_0x1eddf8(0x2b6)]['id'])[_0x1eddf8(0x252)](_0x23c932=>this[_0x1eddf8(0x3d4)](_0x23c932));}}));}[_0x34eeab(0x3d4)](_0x3944a2){queueMicrotask(()=>{const _0x265fbb=_0x46cc;this[_0x265fbb(0x3e3)][_0x265fbb(0x3d2)](_0x3944a2);});}};lr=H([V(0x0,_0x5c49c1),V(0x1,_0x16d46e(Q)),V(0x2,_0x16d46e(_0x25eb68))],lr);let ur=class extends _0x3a6cec{constructor(_0x591ead,_0x4012bb){const _0x10fa61=_0x34eeab;super(),this['_renderService']=_0x4012bb,this[_0x10fa61(0x288)](_0x591ead['register'](this));}[_0x34eeab(0x227)](_0x3ab58){return'getPlaceholder'in _0x3ab58;}[_0x34eeab(0x293)](_0x3f9566,_0x45eae3){const _0x34298c=_0x34eeab;return this[_0x34298c(0x24f)]['exportImage'](_0x3f9566[_0x34298c(0x3a9)](),_0x45eae3);}};ur=H([V(0x0,_0x16d46e(_0x222d3a)),V(0x1,_0x16d46e(Z))],ur);function dr(_0x39c9bc){const _0x2c8571=_0x34eeab;return _0x39c9bc[_0x2c8571(0x3e9)]===_0x4ba1e0[_0x2c8571(0x244)];}let fr=class{constructor(_0x5105f6){const _0x24a435=_0x34eeab;this[_0x24a435(0x250)]=_0x5105f6,B(this,_0x24a435(0x1a2),_0x24a435(0x1f0));}[_0x34eeab(0x248)](_0x432e33){const _0x178c2b=_0x34eeab;let _0x58853e={},_0x549207={},_0x310602={};return _0x432e33[_0x178c2b(0x35a)][_0x178c2b(0x252)](_0xd2cb1e=>{const _0x5a86f3=_0x178c2b;if(!dr(_0xd2cb1e))return;let _0x58503f=this[_0x5a86f3(0x250)][_0x5a86f3(0x24d)](_0x432e33['unitId'],_0xd2cb1e[_0x5a86f3(0x1d6)]),_0x2ac99f=_0x58503f?this['_resourceService'][_0x5a86f3(0x277)](_0x432e33[_0x5a86f3(0x1ef)],_0x58503f[_0x5a86f3(0x3b5)]):void 0x0;!_0x58503f||!_0x2ac99f||(_0x58853e[_0x58503f['id']]=_0xeb3e24[_0x5a86f3(0x278)](_0x58503f),_0x549207[_0x2ac99f['id']]=_0x2ac99f,_0x310602[_0xd2cb1e['id']]=_0x58503f['id']);}),Object[_0x178c2b(0x29c)](_0x58853e)[_0x178c2b(0x1ca)]===0x0?null:{'charts':_0x58853e,'dataSources':_0x549207,'chartIdByElementId':_0x310602};}[_0x34eeab(0x245)](_0x21a260){const _0x5bd7e8=_0x34eeab;if(!pr(_0x21a260[_0x5bd7e8(0x1c0)]))return null;let _0x1ad736=_0x21a260['payload'],_0x37c284=new Map();_0x21a260[_0x5bd7e8(0x35b)]['forEach']((_0x19ff6f,_0x5db290)=>_0x37c284[_0x5bd7e8(0x360)](_0x19ff6f,_0x5db290));let _0x1d1977=new Map(),_0x141608=new Map(),_0x333144=_0x21a260[_0x5bd7e8(0x35a)][_0x5bd7e8(0x20e)](_0x27843b=>{const _0x4ffbb6=_0x5bd7e8;if(!dr(_0x27843b))return _0x27843b;let _0x89998c=_0x37c284[_0x4ffbb6(0x1f6)](_0x27843b['id']),_0x547fc4=_0x89998c?_0x1ad736[_0x4ffbb6(0x23e)][_0x89998c]:void 0x0;if(!_0x547fc4||!_0x1ad736[_0x4ffbb6(0x367)][_0x547fc4])return _0x27843b;let _0x2ff1ca=_0x1d1977[_0x4ffbb6(0x1f6)](_0x547fc4);return _0x2ff1ca||(_0x2ff1ca=_0x1180d6(0x6),_0x1d1977[_0x4ffbb6(0x360)](_0x547fc4,_0x2ff1ca)),{..._0x27843b,'chartId':_0x2ff1ca};});_0x1d1977[_0x5bd7e8(0x252)]((_0x28c0e5,_0xd8956)=>{const _0x56167d=_0x5bd7e8;var _0x34b035;let _0x23de33=(_0x34b035=_0x1ad736[_0x56167d(0x367)][_0xd8956])==null?void 0x0:_0x34b035[_0x56167d(0x3b5)];_0x23de33&&!_0x141608['has'](_0x23de33)&&_0x141608[_0x56167d(0x360)](_0x23de33,_0x1180d6(0x6));});let _0x28b2fa=[];_0x141608[_0x5bd7e8(0x252)]((_0x229e0e,_0x1ff007)=>{const _0x226421=_0x5bd7e8;let _0x2fd9a1=_0x1ad736[_0x226421(0x395)][_0x1ff007];_0x2fd9a1&&_0x28b2fa['push']({..._0x2fd9a1,'id':_0x229e0e});});let _0x41b393=[];return _0x1d1977[_0x5bd7e8(0x252)]((_0x528e23,_0x39ff48)=>{const _0xae09f2=_0x5bd7e8;let _0x4810cf=_0x1ad736[_0xae09f2(0x367)][_0x39ff48],_0x414ac8=_0x4810cf?_0x141608[_0xae09f2(0x1f6)](_0x4810cf['dataSourceId']):void 0x0;_0x4810cf&&_0x414ac8&&_0x41b393['push']({..._0x4810cf,'id':_0x528e23,'dataSourceId':_0x414ac8});}),_0x41b393['length']===0x0?null:{'elements':_0x333144,'redoMutations':[..._0x28b2fa['map'](_0x5c1f03=>({'id':_0x421bd5['id'],'params':{'unitId':_0x21a260[_0x5bd7e8(0x303)],'dataSource':_0x5c1f03}})),..._0x41b393[_0x5bd7e8(0x20e)](_0x6b3d26=>({'id':_0x1c7539['id'],'params':{'unitId':_0x21a260[_0x5bd7e8(0x303)],'chart':_0x6b3d26}}))],'undoMutations':[..._0x41b393[_0x5bd7e8(0x20e)](_0x5434ab=>({'id':_0x38c843['id'],'params':{'unitId':_0x21a260[_0x5bd7e8(0x303)],'chartId':_0x5434ab['id']}})),..._0x28b2fa[_0x5bd7e8(0x20e)](_0x4f27ed=>({'id':_0x1971b0['id'],'params':{'unitId':_0x21a260[_0x5bd7e8(0x303)],'dataSourceId':_0x4f27ed['id']}}))]};}};fr=H([V(0x0,_0x16d46e(_0x25eb68))],fr);function _0x46cc(_0x6d73e1,_0x27ce59){_0x6d73e1=_0x6d73e1-0x1a1;const _0x3f60cd=_0x3f60();let _0x46ccbb=_0x3f60cd[_0x6d73e1];return _0x46ccbb;}function pr(_0x3b2f3a){const _0x42f3e1=_0x34eeab;if(!_0x3b2f3a||typeof _0x3b2f3a!=_0x42f3e1(0x1aa))return!0x1;let _0x1d4527=_0x3b2f3a;return!!_0x1d4527[_0x42f3e1(0x367)]&&!!_0x1d4527[_0x42f3e1(0x395)]&&!!_0x1d4527[_0x42f3e1(0x23e)];}function mr(_0x9cc579){const _0x531070=_0x34eeab;switch(_0x9cc579){case _0x46cc61[_0x531070(0x23b)]:return[0x1,0x2];case _0x46cc61[_0x531070(0x34d)]:return[0x1,0x3];case _0x46cc61[_0x531070(0x2d5)]:return[0x4,0x2];case _0x46cc61[_0x531070(0x2fc)]:return[0x4,0x2,0x1,0x2];case _0x46cc61['LongDash']:return[0x8,0x2];case _0x46cc61[_0x531070(0x3d3)]:return[0x8,0x2,0x1,0x2];case _0x46cc61[_0x531070(0x2e0)]:return[0x8,0x2,0x1,0x2,0x1,0x2];default:return[];}}function hr(_0x2b194c){const _0x214a5d=_0x34eeab;switch(_0x2b194c){case _0x32c3d5[_0x214a5d(0x1e8)]:return _0x214a5d(0x1a8);case _0x32c3d5[_0x214a5d(0x299)]:return _0x214a5d(0x2bf);default:return _0x214a5d(0x266);}}function gr(_0x1b40f8){const _0x16538a=_0x34eeab;switch(_0x1b40f8){case _0x34f3c2[_0x16538a(0x1e8)]:return _0x16538a(0x1a8);case _0x34f3c2[_0x16538a(0x307)]:return _0x16538a(0x282);default:return _0x16538a(0x280);}}var _r=class extends _0x4a85d9{constructor(_0x21078f,_0x5c5f5a){const _0x194b91=_0x34eeab;super(_0x21078f,_0x5c5f5a),B(this,_0x194b91(0x2dc),void 0x0),B(this,_0x194b91(0x1f4),!0x1),this['_attachNativeLoadHandlers'](_0x5c5f5a['success'],_0x5c5f5a[_0x194b91(0x34c)]);}['setChartStroke'](_0x47dc53){const _0x5c954a=_0x34eeab;this[_0x5c954a(0x2dc)]=_0x47dc53,this[_0x5c954a(0x2de)](!0x0);}[_0x34eeab(0x249)](_0x2cdf31){const _0x415016=_0x34eeab;this['_hideImage']!==_0x2cdf31&&(this[_0x415016(0x1f4)]=_0x2cdf31,this[_0x415016(0x2de)](!0x0),this[_0x415016(0x1ee)]());}[_0x34eeab(0x346)](_0x4cb6d7){const _0x3e0093=_0x34eeab;this[_0x3e0093(0x3a8)]??(this[_0x3e0093(0x3a8)]=document['createElement'](_0x3e0093(0x26f)),this[_0x3e0093(0x3a8)][_0x3e0093(0x2ca)]=_0x3e0093(0x33e)),this['_attachNativeLoadHandlers'](),this[_0x3e0093(0x3a8)][_0x3e0093(0x1af)]=_0x4cb6d7;}[_0x34eeab(0x2c4)](_0x2624e0,_0x3d7d95,_0x9795f1,_0x4144c0){const _0x5ca35e=_0x34eeab;this[_0x5ca35e(0x1f4)]||super['_draw'](_0x2624e0,_0x3d7d95,_0x9795f1,_0x4144c0),this[_0x5ca35e(0x215)](_0x2624e0,_0x9795f1??this[_0x5ca35e(0x28c)],_0x4144c0??this['height']);}[_0x34eeab(0x215)](_0x2ccbb9,_0xfa87a1,_0x382e9c){const _0x1837f0=_0x34eeab;let _0x5b2f14=this['_chartStroke'],_0x203d2d=(_0x5b2f14==null?void 0x0:_0x5b2f14[_0x1837f0(0x28c)])??0x0;if(!ir(_0x5b2f14))return;_0x2ccbb9[_0x1837f0(0x378)](),_0x2ccbb9[_0x1837f0(0x2a5)](),_0x2ccbb9[_0x1837f0(0x2ce)]=_0x203d2d,_0x2ccbb9['strokeStyle']=_0x5b2f14['color'],_0x2ccbb9[_0x1837f0(0x30e)]=hr(_0x5b2f14[_0x1837f0(0x3d5)]),_0x2ccbb9[_0x1837f0(0x2c0)]=gr(_0x5b2f14['lineJoinType']),_0x2ccbb9[_0x1837f0(0x1d4)](mr(_0x5b2f14[_0x1837f0(0x21f)])),_0x2ccbb9[_0x1837f0(0x1e2)]*=_0x5b2f14['opacity']??0x1;let _0x11ab94=_0x203d2d/0x2;_0x2ccbb9[_0x1837f0(0x334)](-_0xfa87a1/0x2+_0x11ab94,-_0x382e9c/0x2+_0x11ab94,Math[_0x1837f0(0x1bf)](0x0,_0xfa87a1-_0x203d2d),Math[_0x1837f0(0x1bf)](0x0,_0x382e9c-_0x203d2d)),_0x2ccbb9[_0x1837f0(0x1a5)](),_0x2ccbb9[_0x1837f0(0x38f)]();}['_notifyScene'](){const _0x51ff10=_0x34eeab;var _0xcf2cb4;let _0x5f55aa=(_0xcf2cb4=this[_0x51ff10(0x205)]())==null?void 0x0:_0xcf2cb4['activeScene'];_0x5f55aa&&(_0x5f55aa[_0x51ff10(0x2de)](!0x0),_0x5f55aa['render'](),_0x5f55aa[_0x51ff10(0x380)][_0x51ff10(0x243)](this[_0x51ff10(0x2e2)]));}[_0x34eeab(0x302)](_0x49ae07,_0x174ef5){const _0x432f04=_0x34eeab;this[_0x432f04(0x3a8)]&&(this[_0x432f04(0x3a8)]['onload']=()=>{const _0x184a26=_0x432f04;_0x49ae07==null||_0x49ae07(),this[_0x184a26(0x1ee)]();},this['_native'][_0x432f04(0x284)]=()=>{const _0x33ff4f=_0x432f04;_0x174ef5==null||_0x174ef5(),this[_0x33ff4f(0x1ee)]();});}};let vr=class extends _0x2e224a{constructor(_0x3cb5c3){const _0x2dd995=_0x34eeab;super(),this['_hostProvider']=_0x3cb5c3,B(this,_0x2dd995(0x2b8),0x37);}['check'](_0x20aa86){const _0x1936ac=_0x34eeab;return _0x20aa86[_0x1936ac(0x3bf)]['type']===_0x4ba1e0['Chart'];}['convert'](_0x2e28a2,_0x521083){const _0x1e373e=_0x34eeab;if(_0x2e28a2['hidden']||_0x2e28a2['element']['type']!==_0x4ba1e0['Chart'])return null;let _0x947450=_0x2e28a2[_0x1e373e(0x3bf)],_0x18d30e=_0x947450[_0x1e373e(0x1b6)],_0x349cc9=Math[_0x1e373e(0x1bf)](0x1,_0x18d30e[_0x1e373e(0x28c)]??0x0),_0x461fc1=Math[_0x1e373e(0x1bf)](0x1,_0x18d30e['height']??0x0),_0x347f03=new _r(_0x1e373e(0x362)+_0x521083[_0x1e373e(0x1ef)]+'-'+_0x521083[_0x1e373e(0x24c)]+'-'+_0x2e28a2[_0x1e373e(0x238)],{'url':this[_0x1e373e(0x3e3)][_0x1e373e(0x379)](_0x947450[_0x1e373e(0x1d6)])??_0x1e373e(0x2a8),'left':_0x521083['pageOffsetLeft']+(_0x18d30e[_0x1e373e(0x34a)]??0x0),'top':_0x521083['pageOffsetTop']+(_0x18d30e['top']??0x0),'width':_0x349cc9,'height':_0x461fc1,'angle':_0x18d30e[_0x1e373e(0x1cb)]??0x0,'flipX':_0x18d30e[_0x1e373e(0x37c)],'flipY':_0x18d30e[_0x1e373e(0x1ae)],'skewX':_0x18d30e[_0x1e373e(0x355)],'skewY':_0x18d30e[_0x1e373e(0x383)],'zIndex':_0x521083['orderIndex'],'visible':!_0x2e28a2['hidden'],'evented':!0x0,'forceRender':!0x0});_0x347f03['setChartStroke'](_0x947450['stroke']);let _0x2e8053=(_0x521083[_0x1e373e(0x311)]??_0x445b74[_0x1e373e(0x212)])===_0x445b74[_0x1e373e(0x212)],_0x116385=this[_0x1e373e(0x3e3)][_0x1e373e(0x3b4)]({'unitId':_0x521083[_0x1e373e(0x1ef)],'subUnitId':_0x521083[_0x1e373e(0x24c)],'drawingId':_0x2e28a2[_0x1e373e(0x238)],'chartId':_0x947450[_0x1e373e(0x1d6)],'width':_0x349cc9,'height':_0x461fc1,'drawing':_0x2e28a2,'stroke':_0x947450[_0x1e373e(0x1a5)],'imageObject':_0x347f03,'sceneType':_0x521083[_0x1e373e(0x311)],'requestRender':_0x521083[_0x1e373e(0x306)]});_0x347f03[_0x1e373e(0x249)](_0x2e8053&&this[_0x1e373e(0x3e3)][_0x1e373e(0x348)](_0x947450['chartId']));let _0x4dc0c7=this[_0x1e373e(0x3e3)][_0x1e373e(0x318)][_0x1e373e(0x1ed)](_0x8988f6=>{const _0x57cb7d=_0x1e373e;_0x8988f6===_0x947450[_0x57cb7d(0x1d6)]&&_0x347f03[_0x57cb7d(0x249)](_0x2e8053&&this[_0x57cb7d(0x3e3)][_0x57cb7d(0x348)](_0x947450[_0x57cb7d(0x1d6)]));}),_0x3f66cf=this[_0x1e373e(0x3e3)][_0x1e373e(0x2f8)][_0x1e373e(0x1ed)](_0xc754=>{const _0x491dc7=_0x1e373e;_0xc754===_0x947450[_0x491dc7(0x1d6)]&&_0x347f03['setImageHidden'](_0x2e8053&&this[_0x491dc7(0x3e3)][_0x491dc7(0x348)](_0x947450[_0x491dc7(0x1d6)]));});return _0x347f03[_0x1e373e(0x372)]['subscribeEvent'](()=>{const _0x20e0ad=_0x1e373e;_0x116385==null||_0x116385[_0x20e0ad(0x314)](),_0x4dc0c7==null||_0x4dc0c7['unsubscribe'](),_0x3f66cf==null||_0x3f66cf['unsubscribe']();}),_0x347f03;}};vr=H([V(0x0,_0x16d46e(Q))],vr);let $=class extends _0x2251b3{constructor(_0x49b7ce=Jn,_0x4ce90f,_0x25674f,_0x6c7e8f,_0x156d8e){const _0x59801d=_0x34eeab;super(),this[_0x59801d(0x1b7)]=_0x49b7ce,this['_injector']=_0x4ce90f,this[_0x59801d(0x32c)]=_0x25674f,this[_0x59801d(0x23f)]=_0x6c7e8f,this[_0x59801d(0x20b)]=_0x156d8e;let {..._0x378045}=_0x5d15fd({},Jn,this[_0x59801d(0x1b7)]);this[_0x59801d(0x32c)][_0x59801d(0x392)](qn,_0x378045),this['_initCommands']();}[_0x34eeab(0x343)](){const _0xe131f7=_0x34eeab;let _0x30a729=this[_0xe131f7(0x3c3)];this[_0xe131f7(0x288)](_0x30a729[_0xe131f7(0x1f6)](_0x4c8778)['register'](vr)),[[nr],[Qn],[Y],[Q],[Z],[ur],[K],[fr],[J],[U,{'useClass':Pn}],[cr],[q],[lr],[X]][_0xe131f7(0x252)](_0x3dd211=>_0x30a729[_0xe131f7(0x1fc)](_0x3dd211)),_0x246d52(_0x30a729,[[Qn],[Y],[Q],[Z],[ur],[K],[fr],[J],[U]]),this['_injector'][_0xe131f7(0x1f6)](nr),this[_0xe131f7(0x288)](_0x30a729[_0xe131f7(0x1f6)](_0x53a9dd)['registerAdapter'](_0x30a729[_0xe131f7(0x1f6)](fr)));}[_0x34eeab(0x25b)](){const _0x3e7379=_0x34eeab;this[_0x3e7379(0x288)](this[_0x3e7379(0x23f)]['registerRenderModule'](_0xcf3ade[_0x3e7379(0x2a7)],rr)),this[_0x3e7379(0x3c3)][_0x3e7379(0x1f6)](q),this[_0x3e7379(0x3c3)][_0x3e7379(0x1f6)](cr),this[_0x3e7379(0x3c3)][_0x3e7379(0x1f6)](lr),this[_0x3e7379(0x3c3)][_0x3e7379(0x1f6)](X);}[_0x34eeab(0x2b7)](){[z,wn,Tn,En]['forEach'](_0x1b65ab=>{const _0xbd8dba=_0x46cc;this['disposeWithMe'](this[_0xbd8dba(0x20b)][_0xbd8dba(0x3c6)](_0x1b65ab));});}};B($,_0x34eeab(0x3e9),_0xcf3ade[_0x34eeab(0x2a7)]),B($,_0x34eeab(0x32a),_0x34eeab(0x1fb)),B($,_0x34eeab(0x3e0),er),B($,_0x34eeab(0x237),tr),$=H([_0xf6c9c2(_0x3e2cc0,_0xf3e694,_0x215832,_0x5862d8,_0x26b5ed,_0x2c6052),V(0x1,_0x16d46e(_0x3633e3)),V(0x2,_0x2b3ed9),V(0x3,_0x1344b6),V(0x4,_0x5c49c1)],$);export{wn as CloseSlideChartPanelOperation,U as ISlideChartUIService,Tn as OpenSlideChartDataEditorOperation,z as OpenSlideChartPanelOperation,qn as SLIDES_CHART_UI_PLUGIN_CONFIG_KEY,Dn as SLIDE_CHART_DATA_EDITOR_COMPONENT,On as SLIDE_CHART_DATA_EDITOR_DIALOG_ID,W as SLIDE_CHART_EDIT_PANEL_COMPONENT,Wn as SLIDE_CHART_INSERT_PANEL_COMPONENT,q as SlideChartContextMenuController,J as SlideChartDataEditService,An as SlideChartDataEditor,kn as SlideChartDataEditorSubmitMode,Vn as SlideChartEditPanel,Kn as SlideChartInsertPanel,K as SlideChartInsertService,vr as SlideChartObjectAdaptor,Z as SlideChartRenderService,X as SlideChartUIController,Pn as SlideChartUIService,Xn as SlideContextMenuOpenChartPanelFactory,En as SlideContextMenuOpenChartPanelOperation,$ as UniverSlidesChartUIPlugin,Zn as slideChartContextMenuSchema};