@univerjs-pro/sheets-chart-ui 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) 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.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +18 -18
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x568f44=_0x1779;(function(_0x5948bf,_0x2ccf31){const _0x26badf=_0x1779,_0x2dc794=_0x5948bf();while(!![]){try{const _0x56f6aa=-parseInt(_0x26badf(0x355))/0x1*(-parseInt(_0x26badf(0x3eb))/0x2)+-parseInt(_0x26badf(0x33c))/0x3*(-parseInt(_0x26badf(0x34f))/0x4)+-parseInt(_0x26badf(0x279))/0x5*(-parseInt(_0x26badf(0x1f8))/0x6)+-parseInt(_0x26badf(0x32f))/0x7*(parseInt(_0x26badf(0x249))/0x8)+-parseInt(_0x26badf(0x236))/0x9*(parseInt(_0x26badf(0x3a8))/0xa)+-parseInt(_0x26badf(0x3c1))/0xb*(parseInt(_0x26badf(0x22c))/0xc)+parseInt(_0x26badf(0x473))/0xd;if(_0x56f6aa===_0x2ccf31)break;else _0x2dc794['push'](_0x2dc794['shift']());}catch(_0x4ab38e){_0x2dc794['push'](_0x2dc794['shift']());}}}(_0xbdb0,0x2c514));import{CommandType as _0x52ca64,DependentOn as _0x35d89e,Disposable as _0x32a96b,DisposableCollection as _0x3b9cf9,DrawingTypeEnum as _0x30e73a,FOCUSING_COMMON_DRAWINGS as _0x4ec8e1,FOCUSING_PANEL_EDITOR as _0x4dd650,ICommandService as _0x5729da,IConfigService as _0x4fc0b3,IContextService as _0x1e8f48,IUniverInstanceService as _0x16f441,Inject as _0x563aa6,Injector as _0x363c1f,LocaleService as _0x565815,Plugin as _0x33d61d,ThemeService as _0x4e6706,UniverInstanceType as _0x1878f2,createIdentifier as _0x174872,debounce as _0x391583,generateRandomId as _0x3ad20e,isValidRange as _0x3a4aeb,merge as _0x5b74ec,numberToABC as _0x55d7a0,toDisposable as _0x2d1683,touchDependencies as _0x1479f7}from'@univerjs/core';import{ChartModelService as _0x813c91,ChartUpdateConfigCommand as _0x58088e,ChartUpdateConfigMutation as _0x2d7535,ChartUpdateSourceCommand as _0x4c9a08,InsertChartCommand as _0x48b185,InsertSheetsChartMutation as _0x2e95ef,RemoveSheetsChartMutation as _0x2f36b6,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1b154d,SHEETS_CHART_PLUGIN_NAME as _0x1f2559,SheetChartConfigAdapter as _0x212bb6,SheetsChartService as _0x42909b,UniverSheetsChartPlugin as _0x3db818,getAllowedChartTypes as _0x470b30,toInsertChartMutationSource as _0x20e3f4}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x1506f9,UniverDrawingPlugin as _0x2d7235,getDrawingShapeKeyByDrawingSearch as _0x3a9253,getOrCreateDrawingCopyPlan as _0x2063c6}from'@univerjs/drawing';import{DrawingApplyType as _0x36dcf8,ISheetDrawingService as _0x4a1b9d,RemoveSheetDrawingCommand as _0x77c0fa,SetDrawingApplyMutation as _0xdf3001,UniverSheetsDrawingPlugin as _0x56fa26,transformToDrawingPosition as _0x34e272}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x2cbe4d,SheetCanvasFloatDomManagerService as _0x3a2ef5,SheetDrawingHitTestService as _0x511ac0,UniverSheetsDrawingMobileUIPlugin as _0x308d50,UniverSheetsDrawingUIPlugin as _0x58f807}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x2893f4,ISheetClipboardService as _0x243151,PREDEFINED_HOOK_NAME as _0x3ce4a3,SheetCanvasPopManagerService as _0x5608a1,SheetCopyCommand as _0x304a39,SheetPrintInterceptorService as _0x280361,SheetSkeletonManagerService as _0x1d95b5,UniverSheetsMobileUIPlugin as _0xe8fbb,UniverSheetsUIPlugin as _0x1bb619,deriveStateFromActiveSheet$ as _0x173cd5,getCurrentRangeDisable$ as _0x243206}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x42fb0e,ComponentManager as _0x20b208,ContextMenuGroup as _0x3aa4cf,ContextMenuPosition as _0xb8bf29,IMenuManagerService as _0x4e7db,ISidebarService as _0x5ccc92,IconManager as _0x4c37de,KeyCode as _0x2c257f,MenuItemType as _0x446f1e,NativeTextEditorShortcutBehavior as _0x27beea,RibbonInsertGroup as _0x250386,UniverMobileUIPlugin as _0x1d0c0d,getMenuHiddenObservable as _0x4ea1e3,useDependency as _0x4f2768,useObservable as _0x1685e2}from'@univerjs/ui';import{BehaviorSubject as _0x5e4432,Observable as _0x2e3536,Subject as _0x485029,combineLatest as _0x4d9f86,combineLatestWith as _0x55b45b,debounceTime as _0x3670fa,distinctUntilChanged as _0x9fa683,filter as _0x463ec2,fromEvent as _0x11e0c5,map as _0x448995,merge as _0x22c62d,pairwise as _0x4ed551,skip as _0x464565,startWith as _0x489f7e,switchMap as _0xce7639,take as _0x421ce1,throttleTime as _0x109990,withLatestFrom as _0x2ebf12}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0xeabddf,CHART_HOST_BORDER_RADIUS as _0x2acd22,CHART_TYPE_CATALOG as _0x15ab4e,ChartAxisSection as _0x3bfe6d,ChartDomFrame as _0x3caa9d,ChartEditBlockTitle as _0x508ec3,ChartEditPanelSection as _0x1781f5,ChartEditPanelTab as _0x5f40c4,ChartEditorCapability as _0x5d33a1,ChartEditorProvider as _0x45cd6c,ChartEditorTabs as _0x2e879b,ChartElementFloatMenuAdapterRegistry as _0x3f448f,ChartFrameContentMode as _0x3b9569,ChartFrameLayout as _0x1c6b54,ChartFunnelStyleSection as _0x3cf98c,ChartGridlinesAndTicksSection as _0x40c39d,ChartHeatmapStyleSection as _0x13f9c4,ChartHostAdapter as _0x31f947,ChartImageExportService as _0xd103b1,ChartIndicatorLineSection as _0x41c24a,ChartLegendSection as _0x15915d,ChartLineAndAreaSection as _0x821aeb,ChartNumberFormatAtom as _0x34dedf,ChartParetoSeriesSection as _0x3f4d48,ChartPieStyleSection as _0x59d704,ChartRadarStyleSection as _0x3f9639,ChartRelationStyleSection as _0x5e8dd6,ChartSectionAccordion as _0x160cf1,ChartSectionAccordionContent as _0x95b2aa,ChartSectionAccordionItem as _0x563858,ChartSectionAccordionTrigger as _0x4a850c,ChartSeriesSection as _0x174135,ChartSetupPanel as _0x510c9c,ChartStyleSection as _0x47ca4f,ChartThreeDSection as _0x5ced47,ChartTitlesSection as _0x5aecd9,ChartTrendlineSection as _0x5c9d76,ChartTypeSpecificStyleSection as _0x11bae9,ChartUIService as _0x36e2b6,ChartViewStateRegistry as _0x30b2eb,ChartWaterfallStyleSection as _0x2938a9,ChartWordCloudStyleSection as _0x4b785,DEFAULT_CHART_AXIS_VALUES as _0x395abf,DEFAULT_CHART_FUNNEL_VALUES as _0x41df45,DEFAULT_CHART_HEATMAP_VALUES as _0x3fc348,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0xbd1eff,DEFAULT_CHART_LEGEND_VALUES as _0x3d9ac2,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x3cb407,DEFAULT_CHART_PARETO_VALUES as _0x4373a1,DEFAULT_CHART_PIE_VALUES as _0x50edfa,DEFAULT_CHART_RADAR_VALUES as _0x565e78,DEFAULT_CHART_RELATION_VALUES as _0x19c60e,DEFAULT_CHART_SERIES_VALUES as _0x4525c2,DEFAULT_CHART_STYLE_VALUES as _0x2362f8,DEFAULT_CHART_TITLE_VALUES as _0x188053,DEFAULT_CHART_TRENDLINE_VALUES as _0x28cd2c,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x1059be,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x40e7c5,MobileChartEditorProvider as _0x39aa66,UniverChartMobileUIPlugin as _0xc4c0b6,UniverChartUIPlugin as _0x68f4d6,buildChartTypeSelectOptions as _0x51c3dc,chartTypeSupportsCapability as _0x271148,chartTypeSupportsLineAndAreaStyle as _0x4f08c2,createChartElementFloatMenuAdapter as _0x3ef70c,resolveChartCreationIntent as _0x41217c,resolveChartEditPanelRoute as _0x453d33,resolveChartElementSelection as _0x2f844b,useChartEditorChartType as _0x231993,useChartEditorHasRightAxis as _0x1cd3fd}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x38e848,ChartImageExportFormat as _0x364b9f,ChartImageSourceType as _0x124645,ChartRenderMode as _0x497f9d,ChartSourceHeaderTitleType as _0xe5b562,ChartThemeService as _0x3aa033,ChartTypeBits as _0x18d4e2,ChartWaterfallStyleTarget as _0x117c24,DataOrientation as _0x10ec2f,EChartRenderEngineName as _0x14e22a,IChartRenderModelManagerService as _0x144ce6,ImageChartHost as _0x2015a0,PieSecondaryPlotType as _0x477e6d,RTLChartStyle as _0x27bed4,chartBitsUtils as _0x40d255,chartImageSourceToDataUrl as _0x422f65,chartTypeCanUseTrendLine as _0x1556b5,resolveChartRuntimeStyle as _0x1d9711,resolveChartStyleBackgroundColor as _0x293065,resolveDefaultChartHostFrameStyle as _0x36f200}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x2df6ed,RemoveSheetCommand as _0xd68d63,SheetInterceptorService as _0x291913,SheetPermissionCheckController as _0x30fb2d,SheetSkeletonService as _0x3d3ce7,SheetsSelectionsService as _0x2cf1ee,UniverSheetsPlugin as _0x2c14ef,WorkbookEditablePermission as _0x306905,WorksheetEditPermission as _0x33354a,attachRangeWithCoord as _0x44de7e,discreteRangeToRange as _0x129c71,getSheetCommandTarget as _0x43665e}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x2380a3,matchToken as _0x41291b,serializeRangeWithSheet as _0x30069b}from'@univerjs/engine-formula';import{insertGroupObject as _0x1ab7fb}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x56b329,IRenderManagerService as _0x35685d,ObjectType as _0x148723,RENDER_CLASS_TYPE as _0x4c858a,Rect as _0x56fb67,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x565982,Transform as _0x1797fb,UniverRenderEnginePlugin as _0x300fdb}from'@univerjs/engine-render';import{useCallback as _0x56c0bd,useEffect as _0x2b9eea,useMemo as _0x1c5e24,useRef as _0x540079,useState as _0x3e5ae0}from'react';import{Button as _0xa27a39,Checkbox as _0x3eedcd}from'@univerjs/design';import{MobileRangeSelector as _0xdc0c83,RangeSelector as _0x1bd946}from'@univerjs/sheets-formula-ui';import{Fragment as _0x36736c,jsx as _0x2f8009,jsxs as _0x48f77f}from'react/jsx-runtime';import{UniverLicensePlugin as _0x34a976}from'@univerjs-pro/license';import{PenIcon as _0x2c239e}from'@univerjs/icons';const U={'type':_0x52ca64[_0x568f44(0x45e)],'id':_0x568f44(0x3f4),'handler'(){return!0x0;}},Sr=_0x568f44(0x2a4),Cr={'enableChartElementFloatMenu':!0x0},wr={'type':_0x52ca64[_0x568f44(0x45e)],'id':_0x568f44(0x1e3),'handler'(){return!0x0;}};function Tr(_0x248bb1){const _0x490e62=_0x568f44;let _0x5567d1=_0x248bb1['get'](_0x4a1b9d)[_0x490e62(0x3f9)]();if(_0x5567d1[_0x490e62(0x429)]!==0x1)return null;let _0x2bf14b=_0x5567d1[0x0];return _0x2bf14b[_0x490e62(0x20d)]===_0x30e73a[_0x490e62(0x312)]?_0x2bf14b:null;}function Er(_0x3ca6a0,_0x557a35){const _0x4c7c03=_0x568f44;let _0x43d7d5=document[_0x4c7c03(0x2b4)]('a');_0x43d7d5[_0x4c7c03(0x29a)]=_0x3ca6a0,_0x43d7d5[_0x4c7c03(0x440)]=_0x557a35,_0x43d7d5['click']();}const Dr={'id':_0x568f44(0x448),'type':_0x52ca64['COMMAND'],'handler':(_0x444ba1,_0x5b0a47)=>{const _0x35f75f=_0x568f44;let _0x3d2d74=Tr(_0x444ba1);return _0x3d2d74?_0x444ba1[_0x35f75f(0x37e)](_0x5729da)[_0x35f75f(0x1f7)](U['id'],{'unitId':_0x3d2d74[_0x35f75f(0x45f)],'subUnitId':_0x3d2d74[_0x35f75f(0x206)],'drawingId':_0x3d2d74[_0x35f75f(0x2e0)],..._0x5b0a47!=null&&_0x5b0a47[_0x35f75f(0x27e)]?{'route':_0x5b0a47[_0x35f75f(0x27e)]}:{}}):!0x1;}},Or={'id':_0x568f44(0x3a9),'type':_0x52ca64[_0x568f44(0x2de)],'handler':_0x544e26=>Tr(_0x544e26)?_0x544e26['get'](_0x5729da)[_0x568f44(0x1f7)](_0x304a39['id']):!0x1},kr={'id':'sheet.command.chart.export-focused-image','type':_0x52ca64[_0x568f44(0x2de)],'handler':async _0x97bcca=>{const _0x257554=_0x568f44;let _0x3a2dac=Tr(_0x97bcca);if(!_0x3a2dac)return!0x1;let _0x13ad22=await _0x97bcca[_0x257554(0x37e)](_0xd103b1)[_0x257554(0x1e6)]({'unitId':_0x3a2dac[_0x257554(0x45f)],'subUnitId':_0x3a2dac[_0x257554(0x206)],'getId':()=>_0x3a2dac[_0x257554(0x2e0)]});return _0x13ad22?(Er(_0x13ad22,_0x3a2dac[_0x257554(0x2e0)]+'.png'),!0x0):!0x1;}},Ar={'id':_0x568f44(0x226),'type':_0x52ca64[_0x568f44(0x2de)],'handler':_0x35dd01=>{const _0x4bfde5=_0x568f44;let _0xd65bc9=Tr(_0x35dd01);return _0xd65bc9?_0x35dd01[_0x4bfde5(0x37e)](_0x5729da)[_0x4bfde5(0x1f7)](_0x77c0fa['id'],{'unitId':_0xd65bc9['unitId'],'drawings':[{'unitId':_0xd65bc9[_0x4bfde5(0x45f)],'subUnitId':_0xd65bc9[_0x4bfde5(0x206)],'drawingId':_0xd65bc9[_0x4bfde5(0x2e0)],'drawingType':_0x30e73a[_0x4bfde5(0x312)]}]}):!0x1;}},W={'type':_0x52ca64[_0x568f44(0x2de)],'id':_0x568f44(0x2e9),'handler':async(_0x19287d,_0x98b408)=>{const _0x1c074b=_0x568f44;let _0x10422b=_0x43665e(_0x19287d[_0x1c074b(0x37e)](_0x16f441));if(!_0x10422b)return!0x1;let _0x8f6112=_0x19287d[_0x1c074b(0x37e)](_0x2cf1ee)['getCurrentLastSelection']();if(!_0x8f6112)return!0x1;let {range:_0x2ac58b}=_0x8f6112,_0x1c0842=_0x19287d['get'](_0x5729da),{unitId:_0x2ec02c,subUnitId:_0x5a1383}=_0x10422b,{pieSecondaryPlotType:_0x218702,value:_0xdfb3ca}=_0x98b408,_0x369bf7=_0x218702!==void 0x0;if(_0x369bf7&&(_0xdfb3ca!==_0x18d4e2[_0x1c074b(0x308)]||_0x218702!==_0x477e6d[_0x1c074b(0x308)]&&_0x218702!==_0x477e6d[_0x1c074b(0x47b)]))return!0x1;let _0x55afd1=_0x369bf7?_0x3ad20e():void 0x0;return _0x1c0842[_0x1c074b(0x1f7)](_0x48b185['id'],{'unitId':_0x2ec02c,'subUnitId':_0x5a1383,'chartType':_0xdfb3ca,..._0x55afd1&&_0x218702?{'chartId':_0x55afd1,'config':{'unitId':_0x2ec02c,'chartModelId':_0x55afd1,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x218702}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x2ac58b[_0x1c074b(0x45f)]??_0x2ec02c,'subUnitId':_0x2ac58b[_0x1c074b(0x2e4)]??_0x5a1383,'range':_0x2ac58b}}});}};function jr(_0x162675,_0x21f667){const _0x4d8eda=_0x568f44;if(_0x162675==null)return'';if(Array['isArray'](_0x162675)){var _0x4f2154;let _0x149a2b=(_0x4f2154=_0x162675[0x0])==null?void 0x0:_0x4f2154[_0x4d8eda(0x338)];return _0x149a2b?Mr(_0x149a2b,_0x21f667):'';}return Mr(_0x162675[_0x4d8eda(0x247)],_0x21f667);}function Mr(_0x281a28,_0x460317){const _0x23efde=_0x568f44;var _0x8f6c04;let {unitId:_0x19bcd9,subUnitId:_0x93d5b8,range:_0x4a2c50}=_0x281a28,_0x3c76bd=(_0x8f6c04=_0x460317[_0x23efde(0x20b)](_0x19bcd9))==null?void 0x0:_0x8f6c04[_0x23efde(0x467)](_0x93d5b8);if(!_0x3c76bd)return'';let _0x427353=_0x3c76bd[_0x23efde(0x3f7)]();return _0x30069b(_0x427353,_0x4a2c50);}const Nr=_0x15ab4e['map'](_0x535e26=>({'id':'id'in _0x535e26?_0x535e26['id']:void 0x0,'labelId':_0x535e26['labelId'],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x535e26?_0x535e26[_0x568f44(0x414)]:void 0x0,'value':_0x535e26[_0x568f44(0x2a0)],'icon':_0x535e26[_0x568f44(0x1f2)]}));function Pr(_0x480b10=Nr){const _0x2a012a=_0x568f44;return _0x480b10[_0x2a012a(0x2ab)](({id:_0x1c701f,icon:_0x34d651,value:_0x378677})=>{const _0x58d377=_0x2a012a;let _0x3f8e60=_0x41217c(_0x1c701f??String(_0x378677)),_0x1dc37c=_0x3f8e60?{'value':_0x3f8e60[_0x58d377(0x443)],..._0x3f8e60[_0x58d377(0x414)]?{'pieSecondaryPlotType':_0x3f8e60[_0x58d377(0x414)]}:{}}:{'value':_0x378677};return{'icon':_0x34d651,'value':_0x1c701f??_0x378677,'params':_0x1dc37c};});}const Fr=(_0x41ec05,_0x572715)=>{const _0x38d49a=_0x568f44;if(_0x572715[_0x38d49a(0x429)]===0x1&&_0x572715[0x0]===_0x38d49a(0x333))return _0x41ec05;if(_0x572715[_0x38d49a(0x429)]>0x1){let _0x2c2c9e=new Set();for(let _0x4478f4 of _0x572715)_0x2c2c9e[_0x38d49a(0x371)](Number(_0x4478f4));return _0x41ec05[_0x38d49a(0x26b)](_0x374d56=>_0x2c2c9e['has'](_0x374d56[_0x38d49a(0x2a0)]));}return[];};function Ir(_0x2affc7){const _0x4c4883=_0x568f44;let _0x42f43a=_0x2affc7[_0x4c4883(0x37e)](_0x16f441),_0x3a8e12=_0x470b30(_0x2affc7),_0x4a1d2e=Fr(Nr[_0x4c4883(0x2ee)](),_0x3a8e12),_0x2aeec5=Pr(_0x4a1d2e)[_0x4c4883(0x2ab)]((_0x2c8e18,_0x18d42a)=>({'icon':_0x2c8e18['icon'],'value':_0x2c8e18[_0x4c4883(0x2a0)],'params':_0x2c8e18[_0x4c4883(0x337)],'label':_0x4c4883(0x356)+_0x4a1d2e[_0x18d42a][_0x4c4883(0x30c)]}));return{'id':W['id'],'type':_0x446f1e[_0x4c4883(0x2ae)],'selectionsCommandId':W['id'],'selections':_0x2aeec5,'icon':_0x4c4883(0x2b6),'tooltip':_0x4c4883(0x3c8),'activated$':_0x173cd5(_0x42f43a,!0x1,()=>new _0x2e3536(_0xa50d3c=>{_0xa50d3c['next'](!0x1);})),'hidden$':_0x4ea1e3(_0x2affc7,_0x1878f2['UNIVER_SHEET']),'disabled$':_0x243206(_0x2affc7)};}function Lr(_0x3f1ce4){const _0x2a82ca=_0x568f44;let _0x8f2ab6=_0x3f1ce4[_0x2a82ca(0x37e)](_0x4a1b9d);return _0x8f2ab6[_0x2a82ca(0x1e8)][_0x2a82ca(0x277)](_0x489f7e(_0x8f2ab6['getFocusDrawings']()),_0x448995(()=>Tr(_0x3f1ce4)==null));}function Rr(_0x2e2c70){const _0x45b62b=_0x568f44;return{'id':Dr['id'],'commandId':Dr['id'],'type':_0x446f1e[_0x45b62b(0x47a)],'title':_0x2e2c70[_0x45b62b(0x37e)](_0x565815)['t']('sheets-chart-ui.common.openChartPanel'),'icon':_0x45b62b(0x418),'hidden$':Lr(_0x2e2c70)};}function zr(_0x422ddb){const _0x4507bb=_0x568f44;return{'id':Or['id'],'commandId':Or['id'],'type':_0x446f1e[_0x4507bb(0x47a)],'title':_0x422ddb[_0x4507bb(0x37e)](_0x565815)['t']('sheets-chart-ui.common.copy'),'icon':_0x4507bb(0x208),'hidden$':Lr(_0x422ddb)};}function Br(_0x1a6852){const _0x26ffe2=_0x568f44;return{'id':kr['id'],'commandId':kr['id'],'type':_0x446f1e[_0x26ffe2(0x47a)],'title':_0x1a6852['get'](_0x565815)['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':Lr(_0x1a6852)};}function Vr(_0x577d3a){const _0x1172a7=_0x568f44;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x446f1e['BUTTON'],'title':_0x577d3a[_0x1172a7(0x37e)](_0x565815)['t'](_0x1172a7(0x445)),'icon':_0x1172a7(0x421),'hidden$':Lr(_0x577d3a)};}const Hr={[_0x250386[_0x568f44(0x1d3)]]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}},[_0xb8bf29[_0x568f44(0x391)]]:{[_0x3aa4cf['OTHERS']]:{[Dr['id']]:{'order':0x0,'menuItemFactory':Rr},[Or['id']]:{'order':0x1,'menuItemFactory':zr},[kr['id']]:{'order':0x3,'menuItemFactory':Br},[Ar['id']]:{'order':0x4,'menuItemFactory':Vr}}}};function Ur(_0x4aaa76){const _0x2643fb=_0x568f44;return _0x4aaa76===_0x18d4e2[_0x2643fb(0x1f6)]||_0x4aaa76===_0x18d4e2[_0x2643fb(0x36e)]||_0x4aaa76===_0x18d4e2['Boxplot']||_0x40d255[_0x2643fb(0x3e9)](_0x4aaa76,_0x18d4e2[_0x2643fb(0x45a)])||_0x40d255['baseOn'](_0x4aaa76,_0x18d4e2[_0x2643fb(0x319)])||_0x40d255[_0x2643fb(0x3e9)](_0x4aaa76,_0x18d4e2[_0x2643fb(0x1b4)])||_0x40d255[_0x2643fb(0x3e9)](_0x4aaa76,_0x18d4e2[_0x2643fb(0x457)]);}function Wr(_0xcf704e){const _0x40d3b8=_0x568f44;return Ur(_0xcf704e)||_0x40d255[_0x40d3b8(0x3e9)](_0xcf704e,_0x18d4e2['Pie'])||_0x40d255[_0x40d3b8(0x3e9)](_0xcf704e,_0x18d4e2[_0x40d3b8(0x322)])||_0x40d255[_0x40d3b8(0x3e9)](_0xcf704e,_0x18d4e2[_0x40d3b8(0x2e3)]);}function Gr(_0x426d3b,_0x113e53){const _0x4f85b4=_0x568f44;let _0x1484d2=_0x2f844b(_0x426d3b,_0x113e53),_0x29e832=_0x1484d2?_0x453d33(_0x1484d2[_0x4f85b4(0x33f)]):void 0x0;if(_0x1484d2&&_0x29e832)return{..._0x1484d2,'route':_0x29e832,'showFloatMenu':Wr(_0x426d3b[_0x4f85b4(0x443)])&&_0x1484d2[_0x4f85b4(0x35c)]};}function Kr(_0x896e0d){'@babel/helpers - typeof';const _0x50993b=_0x568f44;return Kr=typeof Symbol==_0x50993b(0x35a)&&typeof Symbol['iterator']==_0x50993b(0x37c)?function(_0x30bfc3){return typeof _0x30bfc3;}:function(_0x4863cc){const _0x5340c2=_0x50993b;return _0x4863cc&&typeof Symbol=='function'&&_0x4863cc[_0x5340c2(0x375)]===Symbol&&_0x4863cc!==Symbol[_0x5340c2(0x3f0)]?_0x5340c2(0x37c):typeof _0x4863cc;},Kr(_0x896e0d);}function qr(_0x5d1ee8,_0x3187bc){const _0x223bc6=_0x568f44;if(Kr(_0x5d1ee8)!='object'||!_0x5d1ee8)return _0x5d1ee8;var _0x17ae5b=_0x5d1ee8[Symbol[_0x223bc6(0x34d)]];if(_0x17ae5b!==void 0x0){var _0x4a5524=_0x17ae5b[_0x223bc6(0x1f1)](_0x5d1ee8,_0x3187bc||_0x223bc6(0x290));if(Kr(_0x4a5524)!='object')return _0x4a5524;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3187bc===_0x223bc6(0x1c5)?String:Number)(_0x5d1ee8);}function Jr(_0x4bc241){const _0x43f3c0=_0x568f44;var _0x559ba5=qr(_0x4bc241,_0x43f3c0(0x1c5));return Kr(_0x559ba5)=='symbol'?_0x559ba5:_0x559ba5+'';}function G(_0x367c40,_0x3daff0,_0x536dbe){const _0x42d239=_0x568f44;return(_0x3daff0=Jr(_0x3daff0))in _0x367c40?Object[_0x42d239(0x261)](_0x367c40,_0x3daff0,{'value':_0x536dbe,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x367c40[_0x3daff0]=_0x536dbe,_0x367c40;}var Yr=class extends _0x32a96b{constructor(_0x34d30a){const _0x628e27=_0x568f44;super(),this[_0x628e27(0x3c7)]=_0x34d30a,G(this,_0x628e27(0x1b2),null),G(this,_0x628e27(0x477),!0x1),G(this,_0x628e27(0x313),!0x1);}['request'](){const _0x556c03=_0x568f44;this[_0x556c03(0x480)]||(this['_pending']=!0x0,!this[_0x556c03(0x477)]&&this[_0x556c03(0x1b2)]===null&&(this['_frame']=requestAnimationFrame(()=>this[_0x556c03(0x26a)]())));}[_0x568f44(0x26a)](){const _0x4e694f=_0x568f44;if(this[_0x4e694f(0x480)]||this['_running'])return;this[_0x4e694f(0x3c3)]();let _0x5ec5d1=this[_0x4e694f(0x3c7)]();_0x5ec5d1&&(this[_0x4e694f(0x477)]=!0x0,_0x5ec5d1[_0x4e694f(0x268)](_0x37f434=>console[_0x4e694f(0x207)](_0x37f434))[_0x4e694f(0x1e5)](()=>{const _0x36b96d=_0x4e694f;this[_0x36b96d(0x477)]=!0x1,this['_pending']&&this['request']();}));}['cancelPending'](){const _0x500ac4=_0x568f44;this[_0x500ac4(0x313)]=!0x1,this['_frame']!==null&&(cancelAnimationFrame(this[_0x500ac4(0x1b2)]),this[_0x500ac4(0x1b2)]=null);}[_0x568f44(0x3d3)](){const _0x2eb3dc=_0x568f44;this[_0x2eb3dc(0x3c3)](),super['dispose']();}},Xr=class extends _0x32a96b{constructor(_0x506f23,_0x15d42b){const _0x4626cb=_0x568f44;super(),this['_rect']=_0x506f23,this[_0x4626cb(0x36b)]=_0x15d42b,G(this,_0x4626cb(0x21e),void 0x0),G(this,_0x4626cb(0x484),void 0x0),this['_geometry']=this[_0x4626cb(0x24b)](),this[_0x4626cb(0x21e)]=new Yr(()=>this[_0x4626cb(0x378)]()),this[_0x4626cb(0x349)](this[_0x4626cb(0x21e)]),this[_0x4626cb(0x349)](_0x506f23[_0x4626cb(0x367)][_0x4626cb(0x466)](()=>this['_scheduler'][_0x4626cb(0x464)]()));}get[_0x568f44(0x323)](){const _0x57bb68=_0x568f44;return this[_0x57bb68(0x21e)];}[_0x568f44(0x378)](){const _0x78553e=_0x568f44;let _0x4f40d3=this['_readGeometry'](),_0x490362=this[_0x78553e(0x484)],_0x558ef6=_0x4f40d3[_0x78553e(0x1cf)]!==_0x490362[_0x78553e(0x1cf)]||_0x4f40d3[_0x78553e(0x2b0)]!==_0x490362[_0x78553e(0x2b0)];if(_0x558ef6||_0x4f40d3[_0x78553e(0x242)]!==_0x490362[_0x78553e(0x242)]||_0x4f40d3[_0x78553e(0x382)]!==_0x490362[_0x78553e(0x382)])return this[_0x78553e(0x484)]=_0x4f40d3,this['_onChange'](_0x558ef6);}[_0x568f44(0x24b)](){let {left:_0x4bf1ec,top:_0x11bcf5,width:_0x4ba413,height:_0x3a4c68}=this['_rect'];return{'left':_0x4bf1ec,'top':_0x11bcf5,'width':_0x4ba413,'height':_0x3a4c68};}};function Zr(_0x1ac8e6,_0x3c3fea=0x1){const _0x54903d=_0x568f44;return{'width':Math[_0x54903d(0x2f5)](_0x3c3fea,_0x1ac8e6[_0x54903d(0x1cf)]),'height':Math[_0x54903d(0x2f5)](_0x3c3fea,_0x1ac8e6[_0x54903d(0x2b0)])};}function Qr(_0x30f236,_0x660267={},_0x7f2b02={'left':0x0,'top':0x0}){const _0x53c73e=_0x568f44;let _0x7c23c4=_0x660267[_0x53c73e(0x455)]??0x1,_0x5a7b7f=_0x660267[_0x53c73e(0x438)]??0x1,_0x57edfe=_0x1c6b54['resolve']({'logicalOuterRect':{'left':_0x7f2b02[_0x53c73e(0x242)]>0x0?-_0x7f2b02[_0x53c73e(0x242)]:0x0,'top':_0x7f2b02[_0x53c73e(0x382)]>0x0?-_0x7f2b02[_0x53c73e(0x382)]:0x0,...Zr(_0x30f236)},'scale':{'scaleX':_0x7c23c4,'scaleY':_0x5a7b7f},'hostStyle':{},'contentMode':_0x3b9569[_0x53c73e(0x381)]});return{'left':_0x57edfe[_0x53c73e(0x489)]['left'],'top':_0x57edfe['logicalOuterRect'][_0x53c73e(0x382)],'width':_0x57edfe[_0x53c73e(0x489)]['width'],'height':_0x57edfe[_0x53c73e(0x489)][_0x53c73e(0x2b0)],'scaleX':_0x7c23c4,'scaleY':_0x5a7b7f};}function $r(_0x3785aa){const _0x338235=_0x568f44;switch(_0x3785aa[_0x338235(0x2b9)]){case _0x124645[_0x338235(0x3fc)]:return _0x3785aa['canvas'];case _0x124645['ImageBitmap']:return _0x3785aa['imageBitmap'];default:return;}}var ei=class extends _0x56fb67{constructor(_0x2c2f63,_0x45c506,_0x5088ac,_0x3145a5=()=>!0x1,_0x44248d=()=>{}){const _0x4f51a1=_0x568f44;super(_0x2c2f63,{..._0x45c506,'evented':_0x45c506['evented']??!0x0}),this[_0x4f51a1(0x346)]=_0x5088ac,this[_0x4f51a1(0x30b)]=_0x3145a5,this[_0x4f51a1(0x463)]=_0x44248d,G(this,_0x4f51a1(0x212),null),G(this,_0x4f51a1(0x1fd),null),G(this,'_requestedUrl',null),G(this,_0x4f51a1(0x307),null),this[_0x4f51a1(0x39d)](_0x148723[_0x4f51a1(0x461)]);}[_0x568f44(0x3d3)](){const _0x2da022=_0x568f44;this['_clearPendingUrlImage'](),this[_0x2da022(0x212)]=null,this['_url']=null,this[_0x2da022(0x224)]=null,this[_0x2da022(0x463)](),super['dispose']();}[_0x568f44(0x311)](_0xa78ef6,_0x4e6dff){const _0x5ae664=_0x568f44;if(!this[_0x5ae664(0x460)])return this['makeDirty'](!0x1),this;if(this[_0x5ae664(0x30b)]()){let _0x20cd2a=this[_0x5ae664(0x346)]();return _0x20cd2a&&this[_0x5ae664(0x444)](_0x20cd2a),this[_0x5ae664(0x1cb)](!0x1),this;}if(!this['transform'])return this;let {width:_0x140cd2,height:_0x359c25,left:_0x12ab68,top:_0x5ab44c}=this[_0x5ae664(0x3ae)]();if(this[_0x5ae664(0x305)](_0x4e6dff)){let {top:_0xf7c964,left:_0x3c06e8,bottom:_0x1ef34d,right:_0x11189c}=_0x4e6dff[_0x5ae664(0x3d0)];if(_0x140cd2+this[_0x5ae664(0x223)]+_0x12ab68<_0x3c06e8||_0x11189c<_0x12ab68||_0x359c25+this['strokeWidth']+_0x5ab44c<_0xf7c964||_0x1ef34d<_0x5ab44c)return this;}let _0x2358b9=this[_0x5ae664(0x231)][_0x5ae664(0x30f)]();_0xa78ef6[_0x5ae664(0x2f8)]();let _0x3bfe18=_0x12ab68+_0x140cd2/0x2,_0x36ad72=_0x5ab44c+_0x359c25/0x2;return _0xa78ef6[_0x5ae664(0x231)](_0x2358b9[0x0],_0x2358b9[0x1],_0x2358b9[0x2],_0x2358b9[0x3],_0x3bfe18,_0x36ad72),this[_0x5ae664(0x266)]!==0x1&&(_0xa78ef6[_0x5ae664(0x252)]=this[_0x5ae664(0x266)]),this[_0x5ae664(0x304)](_0xa78ef6,void 0x0,_0x140cd2,_0x359c25),_0xa78ef6[_0x5ae664(0x260)](),this[_0x5ae664(0x1cb)](!0x1),this;}[_0x568f44(0x304)](_0x483933,_0x3f8148,_0x253604=this['width'],_0x57cd59=this[_0x568f44(0x2b0)]){const _0x269a51=_0x568f44;this[_0x269a51(0x278)](_0x483933,_0x253604,_0x57cd59,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x269a51(0x241)](_0x483933,_0x253604,_0x57cd59),this[_0x269a51(0x278)](_0x483933,_0x253604,_0x57cd59,{'fill':void 0x0});}[_0x568f44(0x278)](_0xf0801c,_0x676e2d,_0x1e3ee9,_0x2206b1){const _0x1051c0=_0x568f44;_0xf0801c['save'](),_0xf0801c['translate'](-_0x676e2d/0x2,-_0x1e3ee9/0x2),_0x56fb67[_0x1051c0(0x417)](_0xf0801c,ti(this,_0x676e2d,_0x1e3ee9,_0x2206b1)),_0xf0801c['restore']();}[_0x568f44(0x265)](_0x12065e){const _0x2fbcdb=_0x568f44;let {left:_0x4c24d0,top:_0x3f67d4,width:_0x2b50a1,height:_0x4a5da3}=this[_0x2fbcdb(0x3ae)](),_0x8ec080=_0x4c24d0+_0x2b50a1/0x2,_0x12c25a=_0x3f67d4+_0x4a5da3/0x2,_0x385da5=this[_0x2fbcdb(0x231)]['getMatrix'](),_0x36c8e6=new _0x1797fb([_0x385da5[0x0],_0x385da5[0x1],_0x385da5[0x2],_0x385da5[0x3],_0x8ec080,_0x12c25a]),_0x5bfa1f=this[_0x2fbcdb(0x31a)](),_0x1d0835=(this[_0x2fbcdb(0x450)]&&(_0x5bfa1f==null?void 0x0:_0x5bfa1f[_0x2fbcdb(0x475)])===_0x4c858a[_0x2fbcdb(0x45d)]?_0x5bfa1f['ancestorTransform'][_0x2fbcdb(0x39b)](_0x36c8e6):_0x36c8e6)['invert']()['applyPoint'](_0x12065e),_0x100feb=_0x2b50a1/0x2,_0x45115d=_0x4a5da3/0x2;return _0x1d0835['x']>=-_0x100feb-this['strokeWidth']/0x2&&_0x1d0835['x']<=_0x100feb+this['strokeWidth']/0x2&&_0x1d0835['y']>=-_0x45115d-this['strokeWidth']/0x2&&_0x1d0835['y']<=_0x45115d+this[_0x2fbcdb(0x223)]/0x2;}[_0x568f44(0x241)](_0x39061a,_0x429842,_0x51abf4){const _0x4a9ea6=_0x568f44;let _0x5dbfe9=this[_0x4a9ea6(0x346)](),_0x552ea4=_0x5dbfe9?this[_0x4a9ea6(0x444)](_0x5dbfe9):void 0x0;if(!_0x552ea4)return;let {width:_0xdbfdac,height:_0x3bfc2a}=Zr({'width':_0x429842,'height':_0x51abf4},0x0);_0xdbfdac!==0x0&&_0x3bfc2a!==0x0&&(_0x39061a[_0x4a9ea6(0x2f8)](),_0x39061a['translate'](-_0x429842/0x2,-_0x51abf4/0x2),ni(_0x39061a,_0xdbfdac,_0x3bfc2a,this[_0x4a9ea6(0x389)]),_0x39061a[_0x4a9ea6(0x384)](),_0x39061a[_0x4a9ea6(0x43b)](_0x552ea4,0x0,0x0,_0xdbfdac,_0x3bfc2a),_0x39061a['restore']());}[_0x568f44(0x444)](_0x17c4fe){const _0x11c306=_0x568f44;var _0x5a4b2d;let _0x4728ae=$r(_0x17c4fe);if(_0x4728ae)return _0x4728ae;if(_0x17c4fe[_0x11c306(0x2b9)]===_0x124645['Url']&&(this[_0x11c306(0x224)]!==_0x17c4fe['url']&&(this[_0x11c306(0x224)]=_0x17c4fe[_0x11c306(0x2af)],this[_0x11c306(0x1c1)](),this[_0x11c306(0x1fd)]!==_0x17c4fe['url']&&this[_0x11c306(0x1d1)](_0x17c4fe['url'])),(_0x5a4b2d=this[_0x11c306(0x212)])!=null&&_0x5a4b2d['complete']&&this[_0x11c306(0x212)]['naturalWidth']>0x0&&this[_0x11c306(0x212)][_0x11c306(0x2ba)]>0x0))return this['_urlImage'];}[_0x568f44(0x1d1)](_0x5c0a36){const _0x1b453a=_0x568f44;let _0x4d1636=document[_0x1b453a(0x2b4)](_0x1b453a(0x217));this['_pendingUrlImage']=_0x4d1636,_0x4d1636[_0x1b453a(0x454)]=_0x1b453a(0x2a2),_0x4d1636[_0x1b453a(0x314)]=()=>{const _0x42d1a3=_0x1b453a;this[_0x42d1a3(0x224)]===_0x5c0a36&&this['_pendingUrlImage']===_0x4d1636&&(_0x4d1636['naturalWidth']>0x0&&_0x4d1636[_0x42d1a3(0x2ba)]>0x0&&(this['_url']=_0x5c0a36,this[_0x42d1a3(0x212)]=_0x4d1636),this[_0x42d1a3(0x1c1)](),this[_0x42d1a3(0x1cb)](!0x0));},_0x4d1636[_0x1b453a(0x43e)]=()=>{const _0x10bbc6=_0x1b453a;this[_0x10bbc6(0x307)]===_0x4d1636&&this[_0x10bbc6(0x1c1)]();},_0x4d1636[_0x1b453a(0x485)]=_0x5c0a36;}[_0x568f44(0x1c1)](){const _0x5038e9=_0x568f44;this[_0x5038e9(0x307)]&&=(this[_0x5038e9(0x307)][_0x5038e9(0x314)]=null,this['_pendingUrlImage'][_0x5038e9(0x43e)]=null,null);}};function ti(_0x48079d,_0x3d5a7f,_0x4e4e53,_0x12684a){const _0x1b11d5=_0x568f44;let _0xf57087=Object[_0x1b11d5(0x310)](_0x48079d);return Object['defineProperty'](_0xf57087,_0x1b11d5(0x1cf),{'value':_0x3d5a7f}),Object[_0x1b11d5(0x261)](_0xf57087,_0x1b11d5(0x2b0),{'value':_0x4e4e53}),Object[_0x1b11d5(0x487)](_0x12684a)['forEach'](_0x110730=>{const _0x5875c1=_0x1b11d5;Object[_0x5875c1(0x261)](_0xf57087,_0x110730,{'value':_0x12684a[_0x110730]});}),_0xf57087;}function ni(_0x549e39,_0x223354,_0x4ce862,_0x309df5){const _0x2afc93=_0x568f44;let _0x55d731=Math[_0x2afc93(0x2dd)](_0x309df5||0x0,_0x223354/0x2,_0x4ce862/0x2);_0x549e39[_0x2afc93(0x2fe)](),_0x55d731?(_0x549e39['moveTo'](_0x55d731,0x0),_0x549e39[_0x2afc93(0x267)](_0x223354-_0x55d731,0x0),_0x549e39['arc'](_0x223354-_0x55d731,_0x55d731,_0x55d731,Math['PI']*0x3/0x2,0x0,!0x1),_0x549e39[_0x2afc93(0x267)](_0x223354,_0x4ce862-_0x55d731),_0x549e39[_0x2afc93(0x1b8)](_0x223354-_0x55d731,_0x4ce862-_0x55d731,_0x55d731,0x0,Math['PI']/0x2,!0x1),_0x549e39['lineTo'](_0x55d731,_0x4ce862),_0x549e39[_0x2afc93(0x1b8)](_0x55d731,_0x4ce862-_0x55d731,_0x55d731,Math['PI']/0x2,Math['PI'],!0x1),_0x549e39[_0x2afc93(0x267)](0x0,_0x55d731),_0x549e39[_0x2afc93(0x1b8)](_0x55d731,_0x55d731,_0x55d731,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x549e39[_0x2afc93(0x411)]()):(_0x549e39[_0x2afc93(0x372)](0x0,0x0,_0x223354,_0x4ce862),_0x549e39[_0x2afc93(0x411)]());}function K(_0x3cb925){const _0x1761c4=_0x568f44;(_0x3cb925==null?void 0x0:_0x3cb925[_0x1761c4(0x2b9)])===_0x124645[_0x1761c4(0x28c)]&&_0x3cb925[_0x1761c4(0x3fb)][_0x1761c4(0x334)]();}function ri(_0x59794a){const _0x174cff=_0x568f44;return _0x59794a['unitId']+_0x174cff(0x44b)+_0x59794a[_0x174cff(0x206)]+_0x174cff(0x44b)+_0x59794a['chartId'];}var ii=class extends _0x32a96b{constructor(..._0x1587ed){const _0x23003d=_0x568f44;super(..._0x1587ed),G(this,_0x23003d(0x3ce),new Map());}[_0x568f44(0x3e1)](_0x51f861){const _0x380736=_0x568f44;let _0x36f574=ri(_0x51f861),_0x218067=this[_0x380736(0x3ce)][_0x380736(0x37e)](_0x36f574)??{'version':0x0};return _0x218067['version']+=0x1,this[_0x380736(0x3ce)]['set'](_0x36f574,_0x218067),_0x218067[_0x380736(0x209)];}['isLatest'](_0x2ddea1,_0x2dcbb5){const _0x3ef025=_0x568f44;var _0x20c830;return((_0x20c830=this[_0x3ef025(0x3ce)]['get'](ri(_0x2ddea1)))==null?void 0x0:_0x20c830[_0x3ef025(0x209)])===_0x2dcbb5;}['setImage'](_0x518a51,_0x5380bd,_0xcc6ab5){const _0x4654ab=_0x568f44;if(!this[_0x4654ab(0x34e)](_0x518a51,_0xcc6ab5))return K(_0x5380bd),!0x1;let _0x37d889=ri(_0x518a51),_0x1215aa=this['_entries'][_0x4654ab(0x37e)](_0x37d889)??{'version':_0xcc6ab5},_0x389774=_0x1215aa[_0x4654ab(0x1d8)];return _0x1215aa['image']=_0x5380bd,_0x1215aa[_0x4654ab(0x209)]=_0xcc6ab5,this['_entries'][_0x4654ab(0x1c3)](_0x37d889,_0x1215aa),_0x389774!==_0x5380bd&&K(_0x389774),!0x0;}[_0x568f44(0x41e)](_0x1ed089){const _0x4758cb=_0x568f44;var _0x2c776e;return(_0x2c776e=this[_0x4758cb(0x3ce)][_0x4758cb(0x37e)](ri(_0x1ed089)))==null?void 0x0:_0x2c776e['image'];}['clearImage'](_0x39f478){const _0x28dbf4=_0x568f44;let _0xdb2f48=ri(_0x39f478),_0x478891=this[_0x28dbf4(0x3ce)][_0x28dbf4(0x37e)](_0xdb2f48);_0x478891&&(K(_0x478891[_0x28dbf4(0x1d8)]),this[_0x28dbf4(0x3ce)]['delete'](_0xdb2f48));}[_0x568f44(0x33e)](_0x3d8a5a){const _0x59fa82=_0x568f44;for(let [_0x2d1053,_0x1e1126]of this[_0x59fa82(0x3ce)])_0x2d1053[_0x59fa82(0x35b)](_0x59fa82(0x44b)+_0x3d8a5a)&&(K(_0x1e1126[_0x59fa82(0x1d8)]),this['_entries'][_0x59fa82(0x2e5)](_0x2d1053));}[_0x568f44(0x3d3)](){const _0x1cba65=_0x568f44;this[_0x1cba65(0x3ce)][_0x1cba65(0x3ac)](_0x265989=>K(_0x265989['image'])),this[_0x1cba65(0x3ce)][_0x1cba65(0x361)](),super[_0x1cba65(0x3d3)]();}};function ai(_0x483787,_0x32aae6=0x7d0){let _0x3c7442=null,_0x29de76=null,_0x201d5c=!0x1,_0x339ab0=()=>{},_0x2d3238=()=>{_0x3c7442!=null&&(clearInterval(_0x3c7442),_0x3c7442=null),_0x29de76!=null&&(clearTimeout(_0x29de76),_0x29de76=null);};return{'promise':new Promise((_0x1e404a,_0x46839d)=>{_0x339ab0=_0x46839d;let _0x564f7f=()=>{const _0x39b15d=_0x1779;let _0x3918c3=document[_0x39b15d(0x482)](_0x483787);_0x3918c3&&!_0x201d5c&&(_0x201d5c=!0x0,_0x2d3238(),_0x1e404a(_0x3918c3));};_0x564f7f(),!_0x201d5c&&(_0x3c7442=setInterval(_0x564f7f,16.666666666666668),_0x29de76=setTimeout(()=>{const _0x52e296=_0x1779;_0x201d5c||(_0x201d5c=!0x0,_0x2d3238(),_0x46839d(Error(_0x52e296(0x3f8)+_0x483787+'\x22.')));},_0x32aae6));}),'cancel':()=>{const _0x3e42b4=_0x1779;_0x201d5c||(_0x201d5c=!0x0,_0x2d3238(),_0x339ab0(Error(_0x3e42b4(0x2cf)+_0x483787+'\x22.')));}};}var oi=class extends _0x32a96b{constructor(_0x4b752d,_0xc75f1e,_0x29795f,_0x124f68,_0xbec7a,_0x45737b,_0x1972aa,_0x3cca31){const _0x347fab=_0x568f44;super(),this[_0x347fab(0x43d)]=_0x4b752d,this[_0x347fab(0x296)]=_0xc75f1e,this[_0x347fab(0x47d)]=_0x29795f,this[_0x347fab(0x3d5)]=_0x124f68,this['_isProviderDisposed']=_0xbec7a,this[_0x347fab(0x204)]=_0x45737b,this['_markNotReady']=_0x1972aa,this[_0x347fab(0x3d9)]=_0x3cca31,G(this,_0x347fab(0x2ec),_0x497f9d[_0x347fab(0x331)]),G(this,_0x347fab(0x26d),null),G(this,_0x347fab(0x25f),!0x1),G(this,_0x347fab(0x25a),null),G(this,'_pendingHost',null),G(this,'_waiter',null),G(this,'_hostStyle',{}),G(this,_0x347fab(0x25c),null),G(this,'_dataUpdateAnimationDuration',null),G(this,_0x347fab(0x3fa),null);}['isManaged'](){return this['_managed'];}[_0x568f44(0x46f)](){const _0x527c26=_0x568f44;this[_0x527c26(0x25f)]=!0x1;}[_0x568f44(0x2b3)](){let _0x2a9f90=this['_getPlacement']();return _0x2a9f90?{'width':_0x2a9f90['width'],'height':_0x2a9f90['height']}:null;}[_0x568f44(0x3cb)](_0x232256){const _0x4b71bc=_0x568f44;this[_0x4b71bc(0x3db)]=_0x232256,this[_0x4b71bc(0x3d5)](_0x232256),this[_0x4b71bc(0x426)]();}async[_0x568f44(0x3bb)](){const _0x20e537=_0x568f44;if(this['_disposed']||this[_0x20e537(0x3fd)]())throw Error(_0x20e537(0x43c));let _0x29ceb9=this[_0x20e537(0x296)](),_0x414e02=(_0x29ceb9==null?void 0x0:_0x29ceb9['domId'])??this[_0x20e537(0x43d)],_0xd72174=document[_0x20e537(0x482)](_0x414e02);if(this['_domFrame']&&_0xd72174!=null&&_0xd72174[_0x20e537(0x386)](this[_0x20e537(0x26d)]['mountNode']))return{'mountNode':this['_domFrame'][_0x20e537(0x44d)],'dispose':()=>{const _0x44668a=_0x20e537;this[_0x44668a(0x3d3)](),_0x29ceb9==null||_0x29ceb9[_0x44668a(0x3d3)][_0x44668a(0x3d3)]();}};if(this[_0x20e537(0x39a)])return this[_0x20e537(0x39a)];let _0x2cd2df=this['_createHost']();return this['_pendingHost']=_0x2cd2df,_0x2cd2df[_0x20e537(0x2f3)](()=>{const _0x4acec8=_0x20e537;this[_0x4acec8(0x39a)]===_0x2cd2df&&(this[_0x4acec8(0x39a)]=null);},()=>{const _0x420d99=_0x20e537;this[_0x420d99(0x39a)]===_0x2cd2df&&(this['_pendingHost']=null);}),_0x2cd2df;}async['ensureMount'](){const _0x513d90=_0x568f44;try{return(await this[_0x513d90(0x3bb)]())[_0x513d90(0x44d)];}catch{return null;}}[_0x568f44(0x399)](){const _0x5cb270=_0x568f44;let _0x4badba=this[_0x5cb270(0x296)](),_0x13abda=(_0x4badba==null?void 0x0:_0x4badba['domId'])??this[_0x5cb270(0x43d)],_0xc576d4=document[_0x5cb270(0x482)](_0x13abda);return!!(this[_0x5cb270(0x26d)]&&_0xc576d4!=null&&_0xc576d4[_0x5cb270(0x386)](this[_0x5cb270(0x26d)]['mountNode']));}['syncLayout'](){const _0x2b2bf5=_0x568f44;if(!this[_0x2b2bf5(0x26d)])return;let _0x46af5a=this['_getPlacement']();_0x46af5a&&this[_0x2b2bf5(0x26d)][_0x2b2bf5(0x2ac)](this['_resolveLayout'](_0x46af5a),this[_0x2b2bf5(0x295)]());}[_0x568f44(0x413)](){this['_markReady']();}[_0x568f44(0x1e7)](){this['_markNotReady']();}[_0x568f44(0x27f)](_0xab554a){const _0x5b8910=_0x568f44;this[_0x5b8910(0x397)]=_0xab554a;let _0x3ed10e=this['_getFloatDomInfo'](),_0x16d2de=document[_0x5b8910(0x482)]((_0x3ed10e==null?void 0x0:_0x3ed10e[_0x5b8910(0x1b7)])??this['chartId']);_0x16d2de&&this['_applyHostInteractionState'](_0x16d2de);}[_0x568f44(0x3d3)](){const _0x4b9288=_0x568f44;var _0x2f6380,_0xda3e42;this[_0x4b9288(0x480)]||(this[_0x4b9288(0x1e7)](),this[_0x4b9288(0x25a)]=null,this[_0x4b9288(0x39a)]=null,this[_0x4b9288(0x286)](),this['_managed']=!0x1,this[_0x4b9288(0x397)]=null,(_0x2f6380=this[_0x4b9288(0x3fa)])==null||_0x2f6380[_0x4b9288(0x3d3)](),this[_0x4b9288(0x3fa)]=null,(_0xda3e42=this[_0x4b9288(0x26d)])==null||_0xda3e42['dispose'](),this[_0x4b9288(0x26d)]=null,this[_0x4b9288(0x271)](),super['dispose']());}async[_0x568f44(0x410)](){const _0x12e0b9=_0x568f44;let _0x2b06b1=this[_0x12e0b9(0x296)]();if(!_0x2b06b1)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x4aa344=_0x2b06b1['domId']??this['chartId'],_0x4c941f=ai(_0x4aa344),_0x20f2d5=Symbol(this['chartId']);this['_pendingToken']=_0x20f2d5,this[_0x12e0b9(0x344)]=_0x4c941f;try{var _0x39c488;let _0x250ae4=await _0x4c941f[_0x12e0b9(0x392)],_0x5e3dbb=this[_0x12e0b9(0x296)](),_0x13752=(_0x5e3dbb==null?void 0x0:_0x5e3dbb[_0x12e0b9(0x1b7)])??this[_0x12e0b9(0x43d)];if(this['_disposed']||this[_0x12e0b9(0x3fd)]()||this[_0x12e0b9(0x25a)]!==_0x20f2d5||!_0x5e3dbb||_0x13752!==_0x4aa344||document['getElementById'](_0x4aa344)!==_0x250ae4||!_0x250ae4[_0x12e0b9(0x31c)])throw Error(_0x12e0b9(0x43c));let _0x31231f=this['_getPlacement']();if(!_0x31231f)throw Error(_0x12e0b9(0x43c));let _0x488e06=new _0x3caa9d(_0x250ae4);return _0x488e06['update'](this[_0x12e0b9(0x293)](_0x31231f),this['_frameStyle']()),this[_0x12e0b9(0x257)](_0x250ae4),this['_domFrame']=_0x488e06,(_0x39c488=this[_0x12e0b9(0x3fa)])==null||_0x39c488[_0x12e0b9(0x3d3)](),this[_0x12e0b9(0x3fa)]=this[_0x12e0b9(0x3d9)](_0x250ae4),this[_0x12e0b9(0x25f)]=!0x0,{'mountNode':_0x488e06['mountNode'],'dispose':()=>{const _0x3be1b6=_0x12e0b9;this['dispose'](),_0x2b06b1[_0x3be1b6(0x3d3)][_0x3be1b6(0x3d3)]();}};}finally{this['_waiter']===_0x4c941f&&(this['_waiter']=null),this[_0x12e0b9(0x25a)]===_0x20f2d5&&(this['_pendingToken']=null);}}[_0x568f44(0x286)](){const _0x46c886=_0x568f44;let _0x16cdf9=this[_0x46c886(0x344)];_0x16cdf9&&(_0x16cdf9[_0x46c886(0x420)](),this[_0x46c886(0x344)]=null);}[_0x568f44(0x426)](){const _0x597357=_0x568f44;let _0x447270=this[_0x597357(0x47d)]();this['_domFrame']&&_0x447270&&this[_0x597357(0x26d)][_0x597357(0x2ac)](this['_resolveLayout'](_0x447270),this[_0x597357(0x295)]());}[_0x568f44(0x293)](_0x2d41b7){const _0x40e0c0=_0x568f44;return _0x1c6b54[_0x40e0c0(0x369)]({'logicalOuterRect':{'left':_0x2d41b7['left'],'top':_0x2d41b7[_0x40e0c0(0x382)],'width':_0x2d41b7[_0x40e0c0(0x1cf)],'height':_0x2d41b7[_0x40e0c0(0x2b0)]},'scale':{'scaleX':_0x2d41b7[_0x40e0c0(0x455)],'scaleY':_0x2d41b7[_0x40e0c0(0x438)]},'hostStyle':this['_frameStyle'](),'contentMode':_0x3b9569[_0x40e0c0(0x381)]});}[_0x568f44(0x295)](){return{...this['_hostStyle'],'radius':_0x2acd22};}[_0x568f44(0x257)](_0x560f23){const _0x40abe6=_0x568f44;let _0x53b4b1=_0x560f23[_0x40abe6(0x24c)];_0x53b4b1&&(this[_0x40abe6(0x25c)]||={'zIndex':_0x53b4b1[_0x40abe6(0x20f)][_0x40abe6(0x2ea)],'pointerEvents':_0x53b4b1['style'][_0x40abe6(0x407)]},_0x53b4b1[_0x40abe6(0x20f)][_0x40abe6(0x2ea)]=_0x40abe6(0x228),this[_0x40abe6(0x377)](_0x560f23));}[_0x568f44(0x377)](_0x282f7f){const _0x3232f3=_0x568f44;let _0x41f14d=_0x282f7f[_0x3232f3(0x24c)];if(!_0x41f14d)return;let _0x383801=this[_0x3232f3(0x397)];_0x383801==null?(delete _0x282f7f[_0x3232f3(0x38d)]['sheetChartDataAnimation'],delete _0x282f7f[_0x3232f3(0x38d)][_0x3232f3(0x259)],_0x41f14d[_0x3232f3(0x20f)][_0x3232f3(0x407)]='auto'):(_0x282f7f[_0x3232f3(0x38d)][_0x3232f3(0x492)]=_0x3232f3(0x20e),_0x282f7f[_0x3232f3(0x38d)]['sheetChartDataAnimationDuration']=String(_0x383801),_0x41f14d[_0x3232f3(0x20f)]['pointerEvents']=_0x3232f3(0x1c6));}['_restoreHostWrapper'](){const _0x3a2931=_0x568f44;if(!this[_0x3a2931(0x25c)])return;let _0x3e7c69=this[_0x3a2931(0x296)](),_0x6d8858=(_0x3e7c69==null?void 0x0:_0x3e7c69[_0x3a2931(0x1b7)])??this['chartId'],_0x3e9fa7=document[_0x3a2931(0x482)](_0x6d8858);_0x3e9fa7==null||delete _0x3e9fa7[_0x3a2931(0x38d)][_0x3a2931(0x492)],_0x3e9fa7==null||delete _0x3e9fa7[_0x3a2931(0x38d)][_0x3a2931(0x259)];let _0x5dbae0=_0x3e9fa7==null?void 0x0:_0x3e9fa7[_0x3a2931(0x24c)];_0x5dbae0&&(_0x5dbae0[_0x3a2931(0x20f)][_0x3a2931(0x2ea)]=this['_savedWrapperStyle'][_0x3a2931(0x2ea)],_0x5dbae0[_0x3a2931(0x20f)][_0x3a2931(0x407)]=this['_savedWrapperStyle'][_0x3a2931(0x407)]),this[_0x3a2931(0x25c)]=null;}},si=class extends _0x32a96b{constructor(_0x51764d,_0x58350d,_0x3ff066,_0x480461){const _0x4616b4=_0x568f44;super(),this['_original']=_0x58350d,G(this,_0x4616b4(0x22e),null),G(this,'_suppressClick',!0x1);let _0x5d7578=_0x25de2b=>{const _0x16981d=_0x4616b4;this[_0x16981d(0x324)]&&(_0x25de2b[_0x16981d(0x403)](),_0x25de2b[_0x16981d(0x3e3)]());},_0x939e98=_0x1e574e=>{const _0x4c7f1d=_0x4616b4;let _0x115f3b=this['_gesture'];(_0x115f3b==null?void 0x0:_0x115f3b[_0x4c7f1d(0x38e)][_0x4c7f1d(0x229)])===_0x1e574e['pointerId']&&!_0x115f3b[_0x4c7f1d(0x33f)][_0x4c7f1d(0x240)](_0x1e574e[_0x4c7f1d(0x229)])&&this['_cancelGesture']();};_0x51764d[_0x4616b4(0x254)](_0x4616b4(0x3a7),_0x5d7578,!0x0),_0x51764d[_0x4616b4(0x254)](_0x4616b4(0x289),_0x5d7578,!0x0),_0x51764d[_0x4616b4(0x254)](_0x4616b4(0x387),_0x939e98),this[_0x4616b4(0x349)](_0x2d1683(()=>{const _0x474142=_0x4616b4;_0x51764d[_0x474142(0x366)]('click',_0x5d7578,!0x0),_0x51764d['removeEventListener']('dblclick',_0x5d7578,!0x0),_0x51764d['removeEventListener'](_0x474142(0x387),_0x939e98),_0x480461(_0x58350d);})),this[_0x4616b4(0x349)](_0x3ff066[_0x4616b4(0x21f)](()=>{const _0x3c4a71=_0x4616b4;this[_0x3c4a71(0x22e)]&&(this[_0x3c4a71(0x324)]=!0x0);})),_0x480461({'onPointerDown':_0x1cbfae=>{const _0x1c0188=_0x4616b4;this['_suppressClick']=!0x1,_0x1cbfae instanceof PointerEvent&&_0x1cbfae['target']instanceof Element&&_0x51764d[_0x1c0188(0x386)](_0x1cbfae['target'])&&(this[_0x1c0188(0x22e)]={'target':_0x1cbfae[_0x1c0188(0x33f)],'event':_0x1cbfae}),_0x58350d[_0x1c0188(0x2f6)](_0x1cbfae),this[_0x1c0188(0x380)](_0x1cbfae);},'onPointerMove':_0x3ec201=>{const _0x36bc3b=_0x4616b4;_0x58350d[_0x36bc3b(0x1fe)](_0x3ec201),this[_0x36bc3b(0x380)](_0x3ec201);},'onPointerUp':_0x5b48fa=>{const _0x230221=_0x4616b4;try{_0x58350d[_0x230221(0x23e)](_0x5b48fa);}finally{var _0x2a3908;_0x5b48fa instanceof PointerEvent&&((_0x2a3908=this[_0x230221(0x22e)])==null?void 0x0:_0x2a3908['event'][_0x230221(0x229)])===_0x5b48fa['pointerId']&&this[_0x230221(0x458)]();}}});}[_0x568f44(0x3d3)](){const _0x5017cc=_0x568f44;this[_0x5017cc(0x480)]||(this[_0x5017cc(0x30a)](),super[_0x5017cc(0x3d3)]());}[_0x568f44(0x380)](_0x5fa3b3){const _0x157819=_0x568f44;let _0x66b9dd=this['_gesture'];_0x5fa3b3 instanceof PointerEvent&&(_0x66b9dd==null?void 0x0:_0x66b9dd[_0x157819(0x38e)][_0x157819(0x229)])===_0x5fa3b3[_0x157819(0x229)]&&(_0x66b9dd['event']=_0x5fa3b3,_0x66b9dd[_0x157819(0x33f)][_0x157819(0x31c)]?_0x66b9dd[_0x157819(0x33f)]['setPointerCapture'](_0x5fa3b3[_0x157819(0x229)]):this[_0x157819(0x30a)]());}[_0x568f44(0x458)](){const _0x3f53cc=_0x568f44;let _0x47590a=this['_gesture'];this['_gesture']=null,_0x47590a!=null&&_0x47590a['target'][_0x3f53cc(0x240)](_0x47590a[_0x3f53cc(0x38e)][_0x3f53cc(0x229)])&&_0x47590a[_0x3f53cc(0x33f)][_0x3f53cc(0x1df)](_0x47590a['event']['pointerId']);}['_cancelGesture'](){const _0xb06b73=_0x568f44;let _0x9cb126=this['_gesture'];this[_0xb06b73(0x458)](),_0x9cb126&&this['_original']['onPointerUp'](new PointerEvent(_0xb06b73(0x2cc),_0x9cb126[_0xb06b73(0x38e)]));}},ci=class extends _0x2015a0{constructor(_0x5f31d2,_0x3360b6,_0x543230,_0x1847e7,_0x3d900a,_0x411129){const _0x2fca42=_0x568f44;super(_0x5f31d2),this[_0x2fca42(0x3cc)]=_0x3360b6,this[_0x2fca42(0x3d5)]=_0x543230,this['_snapshotKey']=_0x1847e7,this[_0x2fca42(0x456)]=_0x3d900a,this[_0x2fca42(0x49c)]=_0x411129;}['getRect'](){let _0x308c03=this['_getOuterRect']();return _0x308c03?Zr(_0x308c03):null;}[_0x568f44(0x3cb)](_0x54911b){const _0x5108b2=_0x568f44;this[_0x5108b2(0x3d5)](_0x54911b);}[_0x568f44(0x3e1)](){const _0x351185=_0x568f44;return this['_snapshotStore'][_0x351185(0x3e1)](this[_0x351185(0x2b7)]);}[_0x568f44(0x48a)](_0x166031,_0x46d51e){const _0x1f5ed1=_0x568f44;return this[_0x1f5ed1(0x456)][_0x1f5ed1(0x1d4)](this[_0x1f5ed1(0x2b7)],_0x166031,_0x46d51e);}[_0x568f44(0x238)](){this['_requestPaint']();}[_0x568f44(0x31f)](){const _0x2a3a8a=_0x568f44;this['_snapshotStore'][_0x2a3a8a(0x3e1)](this['_snapshotKey']);}};function q(_0x6f3f87,_0x5e2b50){return function(_0x4bb740,_0x390617){_0x5e2b50(_0x4bb740,_0x390617,_0x6f3f87);};}function J(_0x999086,_0x49565b,_0x4c36b0,_0x27d16d){const _0x37e2d6=_0x568f44;var _0x8f078f=arguments[_0x37e2d6(0x429)],_0x5cdf3c=_0x8f078f<0x3?_0x49565b:_0x27d16d===null?_0x27d16d=Object[_0x37e2d6(0x329)](_0x49565b,_0x4c36b0):_0x27d16d,_0x2a584f;if(typeof Reflect==_0x37e2d6(0x412)&&typeof Reflect[_0x37e2d6(0x330)]=='function')_0x5cdf3c=Reflect['decorate'](_0x999086,_0x49565b,_0x4c36b0,_0x27d16d);else{for(var _0xeb4019=_0x999086[_0x37e2d6(0x429)]-0x1;_0xeb4019>=0x0;_0xeb4019--)(_0x2a584f=_0x999086[_0xeb4019])&&(_0x5cdf3c=(_0x8f078f<0x3?_0x2a584f(_0x5cdf3c):_0x8f078f>0x3?_0x2a584f(_0x49565b,_0x4c36b0,_0x5cdf3c):_0x2a584f(_0x49565b,_0x4c36b0))||_0x5cdf3c);}return _0x8f078f>0x3&&_0x5cdf3c&&Object[_0x37e2d6(0x261)](_0x49565b,_0x4c36b0,_0x5cdf3c),_0x5cdf3c;}const li=0.5;function ui(_0x157289){const _0x5dcb13=_0x568f44;let _0x5df12a=Math[_0x5dcb13(0x2f5)](_0x157289[_0x5dcb13(0x1ec)]-_0x157289[_0x5dcb13(0x22d)],0x0),_0x24027c=Math['max'](_0x157289[_0x5dcb13(0x3f2)]-_0x157289[_0x5dcb13(0x306)],0x0),_0x32dab0=_0x157289[_0x5dcb13(0x374)][_0x5dcb13(0x242)]&&_0x157289['width']-_0x5df12a>li,_0x2abcc4=_0x157289['absolute'][_0x5dcb13(0x382)]&&_0x157289[_0x5dcb13(0x2b0)]-_0x24027c>li;return!_0x32dab0&&!_0x2abcc4?_0x157289:{..._0x157289,'absolute':{'left':!_0x32dab0&&_0x157289[_0x5dcb13(0x374)][_0x5dcb13(0x242)],'top':!_0x2abcc4&&_0x157289[_0x5dcb13(0x374)][_0x5dcb13(0x382)]}};}function di(_0x3a1844){const _0x515ce5=_0x568f44;if(!Object[_0x515ce5(0x3f0)][_0x515ce5(0x354)][_0x515ce5(0x1f1)](_0x3a1844,_0x515ce5(0x2d1)))return _0x3a1844;let {border:_0x39617c,..._0x401d22}=_0x3a1844;return{..._0x401d22,'stroke':(_0x39617c==null?void 0x0:_0x39617c['color'])??'transparent','strokeWidth':(_0x39617c==null?void 0x0:_0x39617c[_0x515ce5(0x1cf)])??0x0};}let fi=class extends _0x32a96b{constructor(_0x4bf381,_0x3c8a97,_0x4a67b5,_0x48a52f){const _0x5453a9=_0x568f44;super(),this[_0x5453a9(0x40b)]=_0x4bf381,this[_0x5453a9(0x45b)]=_0x3c8a97,this[_0x5453a9(0x213)]=_0x4a67b5,this['_canvasFloatDomService']=_0x48a52f,G(this,_0x5453a9(0x428),new Map()),G(this,_0x5453a9(0x29c),new Set()),G(this,'_removeHost$',new _0x485029()),G(this,'removeHost$',this[_0x5453a9(0x283)][_0x5453a9(0x298)]()),this[_0x5453a9(0x349)](this[_0x5453a9(0x40b)]['remove$'][_0x5453a9(0x21f)](_0x326480=>{const _0x79464d=_0x5453a9;let _0x24255c=this[_0x79464d(0x428)][_0x79464d(0x37e)](_0x326480['id']);_0x24255c!=null&&_0x24255c[_0x79464d(0x2ef)]()&&(_0x24255c['markUnmanaged'](),this[_0x79464d(0x283)][_0x79464d(0x3f1)](_0x326480['id']));}));}[_0x568f44(0x2e7)](_0x11e714){const _0x1e3287=_0x568f44;if(_0x11e714==null)return;let _0xd6a78b=this[_0x1e3287(0x45b)][_0x1e3287(0x363)](_0x11e714),_0x16daba=_0xd6a78b==null?void 0x0:_0xd6a78b['scene'];return _0xd6a78b==null||_0x16daba==null?null:{'scene':_0x16daba,'transformer':_0x16daba[_0x1e3287(0x1b3)](),'renderUnit':_0xd6a78b,'canvas':_0xd6a78b[_0x1e3287(0x3ad)][_0x1e3287(0x353)]()};}['setBorder'](_0x172295,_0x445c7a){const _0x5468d8=_0x568f44;let _0x2f8794=this[_0x5468d8(0x40b)],_0x3288c1=_0x445c7a||_0x5468d8(0x446),_0x361ce1=_0x2f8794[_0x5468d8(0x275)](_0x172295);if(_0x361ce1){let {unitId:_0x1141ba,subUnitId:_0x512a1b}=_0x361ce1;_0x2f8794[_0x5468d8(0x1b0)](_0x1141ba,_0x512a1b,_0x172295,{'stroke':_0x3288c1});}}['setHostStyle'](_0x269e45,_0x28388d){const _0x4f8599=_0x568f44;let _0x5e89cf=this[_0x4f8599(0x40b)],_0x3fff86=_0x5e89cf['getFloatDomInfo'](_0x269e45);if(_0x3fff86){let {unitId:_0x3bd750,subUnitId:_0x214563}=_0x3fff86;_0x5e89cf[_0x4f8599(0x1b0)](_0x3bd750,_0x214563,_0x269e45,di(_0x28388d));}}[_0x568f44(0x471)](_0xb74249){const _0xa18d79=_0x568f44;let _0x3413e1=this[_0xa18d79(0x40b)]['getFloatDomInfo'](_0xb74249);return _0x3413e1?_0x3413e1[_0xa18d79(0x372)]:null;}[_0x568f44(0x3cf)](_0x5b8be0){const _0x4bac9b=_0x568f44;let _0x26ba81=this[_0x4bac9b(0x40b)][_0x4bac9b(0x275)](_0x5b8be0),_0xbe3c00=document[_0x4bac9b(0x482)]((_0x26ba81==null?void 0x0:_0x26ba81[_0x4bac9b(0x1b7)])??_0x5b8be0);return(_0xbe3c00==null?void 0x0:_0xbe3c00['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x71378c,_0x416b38){const _0x3c6fd7=_0x568f44;var _0x5b0a08;(_0x5b0a08=this[_0x3c6fd7(0x428)][_0x3c6fd7(0x37e)](_0x71378c))==null||_0x5b0a08[_0x3c6fd7(0x27f)](_0x416b38);}[_0x568f44(0x21b)](_0x4061ca){const _0x4a5823=_0x568f44;var _0x3ef92e;return((_0x3ef92e=this[_0x4a5823(0x428)][_0x4a5823(0x37e)](_0x4061ca))==null?void 0x0:_0x3ef92e[_0x4a5823(0x399)]())??!0x1;}[_0x568f44(0x23b)](_0x18247d){const _0x33dc82=_0x568f44;var _0x5a9ea8;(_0x5a9ea8=this[_0x33dc82(0x428)][_0x33dc82(0x37e)](_0x18247d))==null||_0x5a9ea8[_0x33dc82(0x38a)]();}['removeHost'](_0x468aee){const _0x36a61c=_0x568f44;let _0x44a9b9=this[_0x36a61c(0x428)][_0x36a61c(0x37e)](_0x468aee);_0x44a9b9&&(_0x44a9b9['dispose'](),this[_0x36a61c(0x449)][_0x36a61c(0x24a)](_0x468aee,{'eventPassThrough':!0x0})),this[_0x36a61c(0x428)][_0x36a61c(0x2e5)](_0x468aee);}async['ensureHost'](_0x891c66,_0x2c9581){const _0x301107=_0x568f44;if(_0x2c9581===_0x497f9d[_0x301107(0x3d4)])return this[_0x301107(0x376)](_0x891c66);if(_0x2c9581===_0x497f9d[_0x301107(0x331)])return this['_getOrCreateSheetChartHost'](_0x891c66);let _0x2e27f5=this[_0x301107(0x335)](_0x891c66);if(!_0x2e27f5)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x2e27f5[_0x301107(0x3bb)]();}[_0x568f44(0x300)](_0x159279){const _0x4b2479=_0x568f44;var _0x43e00c;return this[_0x4b2479(0x29c)][_0x4b2479(0x317)](_0x159279)?(_0x43e00c=this[_0x4b2479(0x428)][_0x4b2479(0x37e)](_0x159279))!=null&&_0x43e00c[_0x4b2479(0x399)]()?!0x0:(this[_0x4b2479(0x29c)]['delete'](_0x159279),this['_restoreFloatDomPositionStream'](_0x159279),!0x1):!0x1;}[_0x568f44(0x3a1)](_0x4939aa){const _0x566761=_0x568f44;this[_0x566761(0x29c)]['delete'](_0x4939aa)&&(this[_0x566761(0x1bf)](_0x4939aa),this[_0x566761(0x23d)](_0x4939aa));}[_0x568f44(0x31f)](_0x134241){const _0x5c8fbd=_0x568f44;let _0x3d5aeb=this[_0x5c8fbd(0x321)](_0x134241);_0x3d5aeb&&this[_0x5c8fbd(0x213)][_0x5c8fbd(0x3e1)](_0x3d5aeb);}[_0x568f44(0x376)](_0xa3067d){const _0x5cc9cf=_0x568f44;let _0x144248=this['_getChartSnapshotKey'](_0xa3067d);return!_0x144248||!this[_0x5cc9cf(0x471)](_0xa3067d)?null:new ci(_0xa3067d,()=>this['getHostSize'](_0xa3067d),_0x8ed505=>this[_0x5cc9cf(0x1d9)](_0xa3067d,_0x8ed505),_0x144248,this['_chartSnapshotStoreService'],()=>this[_0x5cc9cf(0x23d)](_0xa3067d));}['_getOrCreateSheetChartHost'](_0x3eb74d){const _0x3c8df0=_0x568f44;if(!this[_0x3c8df0(0x471)](_0x3eb74d))return null;this['_canvasFloatDomService'][_0x3c8df0(0x24a)](_0x3eb74d,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x38ecb1=this[_0x3c8df0(0x428)]['get'](_0x3eb74d);if(_0x38ecb1)return _0x38ecb1;let _0xd130e=new oi(_0x3eb74d,()=>this[_0x3c8df0(0x40b)][_0x3c8df0(0x275)](_0x3eb74d),()=>this['_getHostPlacement'](_0x3eb74d),_0xb25238=>this[_0x3c8df0(0x1d9)](_0x3eb74d,_0xb25238),()=>this[_0x3c8df0(0x480)],()=>this[_0x3c8df0(0x469)](_0x3eb74d),()=>this[_0x3c8df0(0x3a1)](_0x3eb74d),_0x420e1c=>this[_0x3c8df0(0x339)](_0x3eb74d,_0x420e1c));return this['_chartHostMap']['set'](_0x3eb74d,_0xd130e),_0xd130e;}[_0x568f44(0x339)](_0x37d177,_0x4487c4){const _0x58850e=_0x568f44;var _0xeb44f;let _0x2113ab=this['_sheetCanvasFloatDomManagerService'][_0x58850e(0x275)](_0x37d177),_0x1ce0e0=(_0xeb44f=this[_0x58850e(0x449)]['domLayers']['find'](([_0xbfabca])=>_0xbfabca===_0x37d177))==null?void 0x0:_0xeb44f[0x1],_0x3a922c=_0x2113ab?this[_0x58850e(0x2e7)](_0x2113ab['unitId']):null;if(!_0x2113ab||!_0x1ce0e0||!_0x3a922c)return _0x2d1683(()=>{});let _0x45cb84=_0x3a9253({'unitId':_0x2113ab[_0x58850e(0x45f)],'subUnitId':_0x2113ab[_0x58850e(0x206)],'drawingId':_0x37d177});return new si(_0x4487c4,{'onPointerDown':_0x1ce0e0[_0x58850e(0x2f6)],'onPointerMove':_0x1ce0e0[_0x58850e(0x1fe)],'onPointerUp':_0x1ce0e0[_0x58850e(0x23e)]},_0x3a922c[_0x58850e(0x20a)][_0x58850e(0x3a2)][_0x58850e(0x277)](_0x463ec2(_0x173ab0=>_0x173ab0[_0x58850e(0x1d2)][_0x58850e(0x317)](_0x45cb84)&&((_0x173ab0[_0x58850e(0x3ea)]??0x0)!==0x0||(_0x173ab0['moveY']??0x0)!==0x0))),_0x199f69=>this[_0x58850e(0x449)][_0x58850e(0x24a)](_0x37d177,_0x199f69));}[_0x568f44(0x469)](_0x213f82){const _0xc9e811=_0x568f44;this[_0xc9e811(0x29c)][_0xc9e811(0x317)](_0x213f82)||(this['_activeDomReadyChartIds'][_0xc9e811(0x371)](_0x213f82),this['_alignFloatDomPositionWithSceneRender'](_0x213f82),this[_0xc9e811(0x23d)](_0x213f82));}[_0x568f44(0x294)](_0x39902a){const _0x1e8a72=_0x568f44;var _0x1e966;let _0x2b1564=this[_0x1e8a72(0x40b)][_0x1e8a72(0x275)](_0x39902a),_0x21efea=_0x2b1564?(_0x1e966=this[_0x1e8a72(0x45b)][_0x1e8a72(0x363)](_0x2b1564[_0x1e8a72(0x45f)]))==null?void 0x0:_0x1e966[_0x1e8a72(0x472)]:null;if(!_0x2b1564||!_0x21efea)return;let _0x4fa99b=_0x22c62d(_0x2b1564[_0x1e8a72(0x364)][_0x1e8a72(0x277)](_0x421ce1(0x1)),_0x21efea['afterRender$'][_0x1e8a72(0x277)](_0x2ebf12(_0x2b1564[_0x1e8a72(0x364)]),_0x448995(([,_0x3e365b])=>_0x3e365b)))[_0x1e8a72(0x277)](_0x9fa683(),_0x448995(ui));this['_canvasFloatDomService'][_0x1e8a72(0x24a)](_0x39902a,{'position$':_0x4fa99b});}[_0x568f44(0x1bf)](_0x8366d4){const _0x7ebcb0=_0x568f44;let _0x10dfc9=this[_0x7ebcb0(0x40b)][_0x7ebcb0(0x275)](_0x8366d4);_0x10dfc9&&this[_0x7ebcb0(0x449)][_0x7ebcb0(0x24a)](_0x8366d4,{'position$':_0x10dfc9['position$']});}[_0x568f44(0x321)](_0x4dd0ca){const _0x3bc8f5=_0x568f44;let _0x38a8e7=this[_0x3bc8f5(0x40b)][_0x3bc8f5(0x275)](_0x4dd0ca);return _0x38a8e7?{'unitId':_0x38a8e7['unitId'],'subUnitId':_0x38a8e7[_0x3bc8f5(0x206)],'chartId':_0x4dd0ca}:null;}['_requestChartCanvasRender'](_0x460d1d){const _0x37cf24=_0x568f44;var _0x3bb464,_0xd8fce0,_0x296ad7;let _0x263618=this[_0x37cf24(0x40b)]['getFloatDomInfo'](_0x460d1d);if(!_0x263618)return;let _0x1e2289=(_0x3bb464=this[_0x37cf24(0x45b)][_0x37cf24(0x363)](_0x263618[_0x37cf24(0x45f)]))==null?void 0x0:_0x3bb464['scene'],_0x1c743a=(_0x1e2289==null||(_0xd8fce0=_0x1e2289[_0x37cf24(0x227)])==null?void 0x0:_0xd8fce0[_0x37cf24(0x1f1)](_0x1e2289,_0x3a9253({'unitId':_0x263618[_0x37cf24(0x45f)],'subUnitId':_0x263618['subUnitId'],'drawingId':_0x460d1d})))??(_0x1e2289==null?void 0x0:_0x1e2289[_0x37cf24(0x1e2)](_0x3a9253({'unitId':_0x263618[_0x37cf24(0x45f)],'subUnitId':_0x263618[_0x37cf24(0x206)],'drawingId':_0x460d1d})))??null;_0x1c743a==null||(_0x296ad7=_0x1c743a[_0x37cf24(0x1cb)])==null||_0x296ad7[_0x37cf24(0x1f1)](_0x1c743a,!0x0),_0x1e2289==null||_0x1e2289[_0x37cf24(0x1cb)](!0x0);}['_getHostPlacement'](_0x1cfa86){const _0x30dc91=_0x568f44;let _0x4bd908=this['_sheetCanvasFloatDomManagerService'][_0x30dc91(0x275)](_0x1cfa86);if(!_0x4bd908)return null;let _0xa14f36=this[_0x30dc91(0x2e7)](_0x4bd908['unitId']),_0xb5778f=_0xa14f36==null?void 0x0:_0xa14f36[_0x30dc91(0x472)],_0x163b6a=document[_0x30dc91(0x482)](_0x4bd908['domId']??_0x1cfa86);return Qr(_0x4bd908[_0x30dc91(0x372)],{'scaleX':(_0xb5778f==null?void 0x0:_0xb5778f[_0x30dc91(0x455)])??0x1,'scaleY':(_0xb5778f==null?void 0x0:_0xb5778f['scaleY'])??0x1},_0x163b6a?{'left':_0x163b6a[_0x30dc91(0x3d8)],'top':_0x163b6a[_0x30dc91(0x23a)]}:void 0x0);}[_0x568f44(0x3d3)](){const _0x50f2ad=_0x568f44;this[_0x50f2ad(0x480)]||(Array['from'](this[_0x50f2ad(0x428)][_0x50f2ad(0x487)]())[_0x50f2ad(0x3ac)](_0x2558f4=>this[_0x50f2ad(0x341)](_0x2558f4)),this[_0x50f2ad(0x29c)]['clear'](),this[_0x50f2ad(0x283)][_0x50f2ad(0x1bc)](),super['dispose']());}};fi=J([q(0x0,_0x563aa6(_0x3a2ef5)),q(0x1,_0x563aa6(_0x35685d)),q(0x2,_0x563aa6(ii)),q(0x3,_0x563aa6(_0x42fb0e))],fi);const pi=_0x174872(_0x568f44(0x1e0)),mi=_0x497f9d[_0x568f44(0x3d4)];var hi=class extends _0x2015a0{constructor(_0x49d8c2,_0x40f5ea){const _0x353627=_0x568f44;super(_0x49d8c2),this['_rect']=_0x40f5ea,G(this,_0x353627(0x495),0x0),G(this,'_image',void 0x0),G(this,_0x353627(0x20f),{});}['getRect'](){const _0x49069f=_0x568f44;return this[_0x49069f(0x359)];}['setStyle'](_0x23c8c7){this['style']=_0x23c8c7;}[_0x568f44(0x3e1)](){const _0x348018=_0x568f44;return++this[_0x348018(0x495)];}[_0x568f44(0x48a)](_0x77809c,_0x2d93a9){const _0x2557b3=_0x568f44;return _0x2d93a9===this[_0x2557b3(0x495)]?(K(this[_0x2557b3(0x21a)]),this['_image']=_0x77809c,!0x0):(K(_0x77809c),!0x1);}['requestPaint'](){}[_0x568f44(0x31f)](){this['_version']+=0x1;}[_0x568f44(0x2bc)](){const _0x568d16=_0x568f44;let _0x56cd31=this[_0x568d16(0x21a)];return this['_image']=void 0x0,_0x56cd31;}[_0x568f44(0x3d3)](){const _0x382aa3=_0x568f44;K(this['_image']),this[_0x382aa3(0x21a)]=void 0x0,super[_0x382aa3(0x3d3)]();}};function gi(_0x190b13,_0x134739,_0x1d3461){const _0x3e2703=_0x568f44;let _0x2f693d=_0x190b13[_0x3e2703(0x423)](_0x134739),_0x369dbf={..._0x190b13[_0x3e2703(0x20f)],'runtime':{..._0x2f693d,'layoutInset':0x8,..._0x1d3461===void 0x0?{}:{'addWatermark':_0x1d3461}},'direction':_0x134739};return _0x1d9711(_0x369dbf,_0x190b13[_0x3e2703(0x443)]);}let Y=class extends _0x32a96b{constructor(_0x445d2b,_0x3ccae0,_0x4373b4,_0x5da141,_0x46f05e,_0x57f9b8,_0x36172e,_0x3d69dd,_0x5f511d,_0x1d3aae,_0x4435d2,_0x4aa398,_0x14df81){const _0x4cf63c=_0x568f44;super(),this[_0x4cf63c(0x22f)]=_0x445d2b,this['_sheetCanvasFloatDomManagerService']=_0x3ccae0,this[_0x4cf63c(0x3bf)]=_0x4373b4,this[_0x4cf63c(0x42f)]=_0x5da141,this['_univerInstanceService']=_0x46f05e,this[_0x4cf63c(0x45b)]=_0x57f9b8,this[_0x4cf63c(0x244)]=_0x36172e,this[_0x4cf63c(0x486)]=_0x3d69dd,this[_0x4cf63c(0x3b3)]=_0x5f511d,this[_0x4cf63c(0x2c0)]=_0x1d3aae,this['_configService']=_0x4435d2,this[_0x4cf63c(0x213)]=_0x4aa398,this[_0x4cf63c(0x325)]=_0x14df81,G(this,'_chartInstanceMap',new Map()),G(this,_0x4cf63c(0x2c3),new Map()),G(this,'_chartEventSubscriptions',new Map()),G(this,'_chartElementEditMode',new Map()),G(this,_0x4cf63c(0x33d),new Map()),G(this,_0x4cf63c(0x1ca),new Map()),G(this,_0x4cf63c(0x1c0),new Map()),G(this,'_chartRenderMode',void 0x0),G(this,_0x4cf63c(0x41b),void 0x0),G(this,_0x4cf63c(0x41a),new Map()),G(this,_0x4cf63c(0x400),new Set()),G(this,_0x4cf63c(0x26e),new Map()),G(this,_0x4cf63c(0x37f),null),G(this,_0x4cf63c(0x205),null);let _0x174d71=_0x470b30(this[_0x4cf63c(0x486)]),_0x3fc1fc=this['_configService']['getConfig'](_0x1b154d);this[_0x4cf63c(0x44f)]=(_0x3fc1fc==null?void 0x0:_0x3fc1fc['chartRenderMode'])??mi,this['_addWatermark']=_0x174d71[_0x4cf63c(0x429)]!==0x1||_0x174d71[0x0]!=='all',this[_0x4cf63c(0x1ba)](),this['_initActiveChartModelListener'](),this['_initDrawingDeactivationListener'](),this[_0x4cf63c(0x48f)](),this[_0x4cf63c(0x44c)]();}[_0x568f44(0x37d)](_0x5bbd6a){const _0x4f2585=_0x568f44;let _0x3cd9d3=this[_0x4f2585(0x321)](_0x5bbd6a);return _0x3cd9d3?this[_0x4f2585(0x213)]['getImage'](_0x3cd9d3):void 0x0;}[_0x568f44(0x370)](_0x535609){const _0x32ca83=_0x568f44;var _0xec4fa1;return((_0xec4fa1=this[_0x32ca83(0x3bf)][_0x32ca83(0x2d0)])==null?void 0x0:_0xec4fa1['id'])===_0x535609?_0x497f9d[_0x32ca83(0x331)]:this[_0x32ca83(0x44f)];}['_getChartSnapshotKey'](_0x2e174c){const _0x2166bc=_0x568f44;let _0x4e2216=this['_sheetCanvasFloatDomManagerService'][_0x2166bc(0x275)](_0x2e174c);return _0x4e2216?{'unitId':_0x4e2216['unitId'],'subUnitId':_0x4e2216[_0x2166bc(0x206)],'chartId':_0x2e174c}:null;}['_registerChartImageRenderObjectFactory'](){const _0x15eeaa=_0x568f44;this[_0x15eeaa(0x44f)]===_0x497f9d[_0x15eeaa(0x3d4)]&&this[_0x15eeaa(0x349)](this[_0x15eeaa(0x40b)]['registerRenderObjectFactory'](_0x30e73a[_0x15eeaa(0x312)],({key:_0x5f30c1,config:_0x4407a2,unitId:_0x228bd0,subUnitId:_0x181ba1,drawingId:_0x496f56})=>new ei(_0x5f30c1,_0x4407a2,()=>this[_0x15eeaa(0x213)][_0x15eeaa(0x41e)]({'unitId':_0x228bd0,'subUnitId':_0x181ba1,'chartId':_0x496f56}),()=>this['_chartHostProvider'][_0x15eeaa(0x300)](_0x496f56))));}[_0x568f44(0x3a0)](){const _0x59561c=_0x568f44;this['disposeWithMe'](this[_0x59561c(0x3bf)][_0x59561c(0x46a)][_0x59561c(0x21f)](_0x3e4622=>{const _0x361fb5=_0x59561c;let _0x5912d4=(_0x3e4622==null?void 0x0:_0x3e4622['id'])??null,_0x9e81fc=this[_0x361fb5(0x37f)];_0x9e81fc!==_0x5912d4&&(_0x9e81fc&&(this[_0x361fb5(0x22f)][_0x361fb5(0x3a1)](_0x9e81fc),this['_resetChartRuntimeZIndex'](_0x9e81fc),this[_0x361fb5(0x401)](_0x9e81fc)),this[_0x361fb5(0x37f)]=_0x5912d4,_0x5912d4&&(this[_0x361fb5(0x2fa)](_0x5912d4),this[_0x361fb5(0x22f)][_0x361fb5(0x3a1)](_0x5912d4),this[_0x361fb5(0x2fc)](_0x5912d4),this[_0x361fb5(0x490)](_0x5912d4)));}));}['_initDrawingDeactivationListener'](){const _0xfd275c=_0x568f44;this[_0xfd275c(0x349)](this[_0xfd275c(0x42f)][_0xfd275c(0x1f4)]['subscribe'](_0x266e09=>{const _0x2db046=_0xfd275c;var _0x278682;let _0x358945=(_0x278682=this[_0x2db046(0x3bf)]['activeChartModel'])==null?void 0x0:_0x278682['id'];_0x358945&&_0x266e09[_0x2db046(0x46c)](_0x312d64=>_0x312d64['children']['some'](_0x2c3250=>_0x2c3250[_0x2db046(0x2e0)]===_0x358945))&&this[_0x2db046(0x3bf)][_0x2db046(0x40d)](null);})),this['disposeWithMe'](this['_drawingManagerService']['featurePluginUngroupUpdate$'][_0xfd275c(0x21f)](_0x4afc20=>{const _0x72a6f=_0xfd275c;var _0x28bfb7;let _0x454a3d=(_0x28bfb7=this[_0x72a6f(0x3bf)][_0x72a6f(0x2d0)])==null?void 0x0:_0x28bfb7['id'];_0x454a3d&&_0x4afc20[_0x72a6f(0x46c)](_0x33d8ee=>_0x33d8ee['parent'][_0x72a6f(0x2e0)]===_0x454a3d||_0x33d8ee[_0x72a6f(0x2a7)]['some'](_0x20da41=>_0x20da41[_0x72a6f(0x2e0)]===_0x454a3d))&&this[_0x72a6f(0x3bf)][_0x72a6f(0x40d)](null);}));}[_0x568f44(0x48f)](){const _0x2925cd=_0x568f44;this[_0x2925cd(0x349)](this['_drawingManagerService']['featurePluginOrderUpdate$'][_0x2925cd(0x21f)](_0x1cea54=>{const _0x39f588=_0x2925cd;var _0x44e83b;let _0x16029a=(_0x44e83b=this['_chartModelService'][_0x39f588(0x2d0)])==null?void 0x0:_0x44e83b['id'];if(!_0x16029a){_0x1cea54[_0x39f588(0x1eb)][_0x39f588(0x3ac)](_0x57ee21=>{const _0x33d0bf=_0x39f588;this[_0x33d0bf(0x3bf)]['getChartModel'](_0x57ee21)&&this[_0x33d0bf(0x390)](_0x57ee21);});return;}let _0x18d86a=this[_0x39f588(0x40b)]['getFloatDomInfo'](_0x16029a);(_0x18d86a==null?void 0x0:_0x18d86a[_0x39f588(0x45f)])===_0x1cea54[_0x39f588(0x45f)]&&_0x18d86a[_0x39f588(0x206)]===_0x1cea54['subUnitId']&&this[_0x39f588(0x2fc)](_0x16029a);})),this['disposeWithMe'](this[_0x2925cd(0x42f)][_0x2925cd(0x447)][_0x2925cd(0x21f)](_0x5592b3=>{const _0x9dd3dd=_0x2925cd;var _0x30db41;let _0x1e1405=(_0x30db41=this[_0x9dd3dd(0x3bf)]['activeChartModel'])==null?void 0x0:_0x30db41['id'];if(!_0x1e1405)return;let _0x3a4746=this['_sheetCanvasFloatDomManagerService'][_0x9dd3dd(0x275)](_0x1e1405);_0x3a4746&&_0x5592b3[_0x9dd3dd(0x46c)](_0x2d6899=>_0x2d6899[_0x9dd3dd(0x45f)]===_0x3a4746[_0x9dd3dd(0x45f)]&&_0x2d6899[_0x9dd3dd(0x206)]===_0x3a4746[_0x9dd3dd(0x206)])&&this[_0x9dd3dd(0x2fc)](_0x1e1405);})),this[_0x2925cd(0x349)](this[_0x2925cd(0x3bf)][_0x2925cd(0x258)][_0x2925cd(0x21f)](_0x36f733=>{const _0x302aaa=_0x2925cd;var _0x2bd0d8;this['_disposeChartChangeListeners'](_0x36f733),this[_0x302aaa(0x2e6)](_0x36f733),this[_0x302aaa(0x2c3)][_0x302aaa(0x2e5)](_0x36f733),this['_deactivateDataUpdateAnimation'](_0x36f733),this[_0x302aaa(0x41a)]['delete'](_0x36f733),this[_0x302aaa(0x213)][_0x302aaa(0x33e)](_0x36f733),this[_0x302aaa(0x316)](_0x36f733),this[_0x302aaa(0x22f)][_0x302aaa(0x3a1)](_0x36f733),((_0x2bd0d8=this[_0x302aaa(0x3bf)][_0x302aaa(0x2d0)])==null?void 0x0:_0x2bd0d8['id'])===_0x36f733?this[_0x302aaa(0x3bf)]['setActiveChartModel'](null):this[_0x302aaa(0x390)](_0x36f733),this[_0x302aaa(0x262)](_0x36f733);}));}[_0x568f44(0x490)](_0x53d409){const _0x434e14=_0x568f44;let _0xd5906d=this[_0x434e14(0x41a)][_0x434e14(0x37e)](_0x53d409);_0xd5906d&&this[_0x434e14(0x311)](_0x53d409,_0xd5906d[_0x434e14(0x274)],_0xd5906d[_0x434e14(0x20f)]);}[_0x568f44(0x401)](_0x39c65a){const _0x98d71b=_0x568f44;let _0x3973dc=this['_chartInstanceMap']['get'](_0x39c65a);(_0x3973dc==null?void 0x0:_0x3973dc[_0x98d71b(0x2ec)])===_0x98d71b(0x3b9)&&(this[_0x98d71b(0x2e6)](_0x39c65a),_0x3973dc[_0x98d71b(0x3d3)](),this[_0x98d71b(0x2c7)][_0x98d71b(0x2e5)](_0x39c65a)),this[_0x98d71b(0x22f)][_0x98d71b(0x3a1)](_0x39c65a),this['_chartHostProvider'][_0x98d71b(0x341)](_0x39c65a);}[_0x568f44(0x262)](_0x411c0b){const _0x4e600e=_0x568f44;let _0x28ac92=this[_0x4e600e(0x2c7)][_0x4e600e(0x37e)](_0x411c0b);_0x28ac92&&(this[_0x4e600e(0x2e6)](_0x411c0b),_0x28ac92['dispose'](),this[_0x4e600e(0x2c7)][_0x4e600e(0x2e5)](_0x411c0b)),this['_chartHostProvider'][_0x4e600e(0x3a1)](_0x411c0b),this[_0x4e600e(0x22f)][_0x4e600e(0x341)](_0x411c0b);}[_0x568f44(0x316)](_0x43ed1e){const _0x4f1f29=_0x568f44;var _0x44d272,_0x5bafb4;(_0x44d272=this[_0x4f1f29(0x325)]['getRenderModel'](_0x14e22a))==null||(_0x5bafb4=_0x44d272[_0x4f1f29(0x44e)])==null||_0x5bafb4['call'](_0x44d272,{'type':_0x4f1f29(0x340),'chartId':_0x43ed1e});}[_0x568f44(0x1fc)](_0xc4338f,_0x95e647){const _0x5021b6=_0x568f44;let _0x286534=this['_drawingManagerService']['getDrawingData'](_0xc4338f,_0x95e647);Object[_0x5021b6(0x3b2)](_0x286534??{})[_0x5021b6(0x3ac)](_0x30a176=>{const _0x55836b=_0x5021b6;if(_0x30a176[_0x55836b(0x20d)]===_0x30e73a['DRAWING_CHART']){var _0x2d239b,_0x45fe71;(_0x2d239b=this['_renderModelManager']['getRenderModel'](_0x14e22a))==null||(_0x45fe71=_0x2d239b[_0x55836b(0x44e)])==null||_0x45fe71[_0x55836b(0x1f1)](_0x2d239b,{'type':_0x55836b(0x1d5),'chartId':_0x30a176[_0x55836b(0x2e0)]});}});}['_getChartRenderObject'](_0x248f78,_0x303175){const _0x4a8209=_0x568f44;var _0x19c94c;return((_0x19c94c=_0x248f78[_0x4a8209(0x227)])==null?void 0x0:_0x19c94c[_0x4a8209(0x1f1)](_0x248f78,_0x303175))??_0x248f78['getObject'](_0x303175)??null;}[_0x568f44(0x31e)](_0x5e91d5){const _0x301196=_0x568f44;var _0x1175a4;let _0x298269=this[_0x301196(0x40b)][_0x301196(0x275)](_0x5e91d5);if(!_0x298269)return null;let _0x2cbc54=(_0x1175a4=this['_renderManagerService'][_0x301196(0x363)](_0x298269[_0x301196(0x45f)]))==null?void 0x0:_0x1175a4[_0x301196(0x472)];if(!_0x2cbc54)return null;let _0x159ee8=this[_0x301196(0x39e)](_0x2cbc54,_0x3a9253({'unitId':_0x298269[_0x301196(0x45f)],'subUnitId':_0x298269[_0x301196(0x206)],'drawingId':_0x5e91d5}));return _0x159ee8?{'info':_0x298269,'scene':_0x2cbc54,'chartObject':_0x159ee8}:null;}[_0x568f44(0x299)](_0x380db8,_0x48c5d6){const _0x461743=_0x568f44;var _0x44a420,_0x53a0df,_0x4d495d,_0x37fd14;let _0x52b957=this[_0x461743(0x31e)](_0x380db8);_0x52b957&&((_0x44a420=(_0x53a0df=_0x52b957['chartObject'])[_0x461743(0x42e)])==null||_0x44a420[_0x461743(0x1f1)](_0x53a0df,{'zIndex':_0x48c5d6}),(_0x4d495d=(_0x37fd14=_0x52b957[_0x461743(0x2cd)])['makeDirty'])==null||_0x4d495d[_0x461743(0x1f1)](_0x37fd14,!0x0),_0x52b957[_0x461743(0x472)][_0x461743(0x1cb)](!0x0));}[_0x568f44(0x2fc)](_0x51a60c){const _0x5d02a3=_0x568f44;let _0x93ebbd=this[_0x5d02a3(0x40b)]['getFloatDomInfo'](_0x51a60c);if(!_0x93ebbd)return;let _0x5a5e8f=this[_0x5d02a3(0x42f)][_0x5d02a3(0x432)](_0x93ebbd[_0x5d02a3(0x45f)],_0x93ebbd[_0x5d02a3(0x206)]);this['_setChartRuntimeZIndex'](_0x51a60c,_0x5a5e8f[_0x5d02a3(0x429)]);}[_0x568f44(0x390)](_0x351524){const _0xfb19dd=_0x568f44;let _0x4aa44f=this[_0xfb19dd(0x40b)][_0xfb19dd(0x275)](_0x351524);if(!_0x4aa44f)return;let _0x53ea67=this[_0xfb19dd(0x42f)][_0xfb19dd(0x432)](_0x4aa44f['unitId'],_0x4aa44f['subUnitId']),_0x5044e5=_0x53ea67['indexOf'](_0x351524);this[_0xfb19dd(0x299)](_0x351524,_0x5044e5===-0x1?Math[_0xfb19dd(0x2f5)](_0x53ea67['length']-0x1,0x0):_0x5044e5);}[_0x568f44(0x28a)](_0xd20c31,_0x2f9eda){const _0xae17b9=_0x568f44;let _0x221895=this[_0xae17b9(0x40b)][_0xae17b9(0x275)](_0xd20c31);if(_0x2f9eda[_0xae17b9(0x1cf)]!==void 0x0&&_0x2f9eda[_0xae17b9(0x2b0)]!==void 0x0&&_0x221895){var _0x216758;let {subUnitId:_0x3ab752}=_0x221895,_0x45d83d=(_0x216758=this[_0xae17b9(0x42c)][_0xae17b9(0x2cb)](_0x1878f2[_0xae17b9(0x352)]))==null?void 0x0:_0x216758['getActiveSheet']();if((_0x45d83d==null?void 0x0:_0x45d83d['getSheetId']())===_0x3ab752){let {width:_0x13ea6c,height:_0xc9042}=_0x2f9eda,_0xd82f2d=this[_0xae17b9(0x3bf)][_0xae17b9(0x250)](_0xd20c31),_0x35d8d9=_0xd82f2d==null?void 0x0:_0xd82f2d[_0xae17b9(0x20f)];(Math[_0xae17b9(0x39c)](_0x13ea6c-((_0x35d8d9==null?void 0x0:_0x35d8d9['width'])||0x0))>0x1||Math[_0xae17b9(0x39c)](_0xc9042-((_0x35d8d9==null?void 0x0:_0x35d8d9[_0xae17b9(0x2b0)])||0x0))>0x1)&&(_0xd82f2d==null||_0xd82f2d['assignStyle']({..._0x35d8d9,'width':_0x13ea6c,'height':_0xc9042}));}}}[_0x568f44(0x3df)](_0x2af51c,_0x25056a,_0x1c08ac=0x0){const _0x5c6716=_0x568f44;let _0x528c39=this[_0x5c6716(0x1ca)][_0x5c6716(0x37e)](_0x2af51c);_0x528c39||(_0x528c39=_0x391583(_0x5a90bc=>{this['_resizeChart'](_0x2af51c,_0x5a90bc);},_0x1c08ac),this[_0x5c6716(0x1ca)][_0x5c6716(0x1c3)](_0x2af51c,_0x528c39)),_0x528c39(_0x25056a);}['handleActiveSubUnitChange'](){const _0x2c2949=_0x568f44;let _0x1b5184=this[_0x2c2949(0x33d)],_0x1dc51a=_0x580f5d=>{const _0x509d26=_0x2c2949;if(!_0x1b5184[_0x509d26(0x317)](_0x580f5d)){let _0x4eb934=_0x391583((_0x61cad,_0x5c33d4,_0x22dc78,_0x211636)=>{const _0x3602a1=_0x509d26;var _0x30dc09,_0x488395;if(!_0x22dc78)return;(_0x30dc09=_0x22dc78[_0x3602a1(0x3de)])==null||_0x30dc09[_0x3602a1(0x47c)][_0x3602a1(0x3ac)]((_0x32e7e3,_0x101856)=>{const _0x26b4a1=_0x3602a1;_0x32e7e3[_0x26b4a1(0x2ff)]||=this[_0x26b4a1(0x244)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x101856+0x1);}),_0x22dc78[_0x3602a1(0x1ff)]['forEach']((_0x250dce,_0x24e964)=>{const _0x56a289=_0x3602a1;_0x250dce['name']||=this[_0x56a289(0x244)]['t'](_0x56a289(0x2a8))+'\x20'+(_0x24e964+0x1);});let _0x260bf0=this[_0x3602a1(0x1b9)](_0x61cad,_0x211636),_0x1ad11d=(_0x488395=this['_univerInstanceService'][_0x3602a1(0x2cb)](_0x1878f2['UNIVER_SHEET']))==null?void 0x0:_0x488395[_0x3602a1(0x3b0)]();(_0x1ad11d==null?void 0x0:_0x1ad11d[_0x3602a1(0x38b)]())===_0x5c33d4&&this[_0x3602a1(0x311)](_0x61cad['id'],_0x22dc78,_0x260bf0);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x1b5184[_0x509d26(0x1c3)](_0x580f5d,_0x4eb934);}return _0x1b5184[_0x509d26(0x37e)](_0x580f5d);};this[_0x2c2949(0x349)](this[_0x2c2949(0x42c)]['focused$'][_0x2c2949(0x21f)](_0x552b99=>{const _0x53cb43=_0x2c2949;let _0x492f6f=this['_univerInstanceService']['getCurrentUnitOfType'](_0x1878f2[_0x53cb43(0x352)]);if(_0x552b99&&_0x492f6f&&_0x492f6f[_0x53cb43(0x453)]()===_0x552b99){var _0x4b8978;let _0x3e9a15=_0x492f6f[_0x53cb43(0x3b0)]()[_0x53cb43(0x38b)]();this['_lastActiveSheet']&&(this['_lastActiveSheet'][_0x53cb43(0x45f)]!==_0x552b99||this['_lastActiveSheet'][_0x53cb43(0x206)]!==_0x3e9a15)&&this['_notifySheetChartsDetached'](this['_lastActiveSheet'][_0x53cb43(0x45f)],this[_0x53cb43(0x205)][_0x53cb43(0x206)]),this[_0x53cb43(0x205)]={'unitId':_0x552b99,'subUnitId':_0x3e9a15};let _0xd2639d=this[_0x53cb43(0x42f)]['getDrawingData'](_0x552b99,_0x3e9a15);if(!((_0x4b8978=this[_0x53cb43(0x45b)][_0x53cb43(0x363)](_0x552b99))!=null&&_0x4b8978['with'](_0x1d95b5)[_0x53cb43(0x362)](_0x3e9a15)))return;if(_0xd2639d)for(let _0x40c7f8 in _0xd2639d){let {drawingId:_0x4b5a6e}=_0xd2639d[_0x40c7f8],_0x759b1f=this[_0x53cb43(0x3bf)]['getChartModel'](_0x4b5a6e);_0x759b1f&&_0x1dc51a(_0x759b1f['id'])(_0x759b1f,_0x3e9a15,_0x759b1f[_0x53cb43(0x274)],this[_0x53cb43(0x244)][_0x53cb43(0x282)]());}}})),this[_0x2c2949(0x349)](this[_0x2c2949(0x2c0)]['darkMode$'][_0x2c2949(0x21f)](()=>{const _0x43d053=_0x2c2949;var _0x1b6b4d;let _0x20232d=this[_0x43d053(0x42c)][_0x43d053(0x2cb)](_0x1878f2[_0x43d053(0x352)]);if(!_0x20232d)return;let _0x31430b=_0x20232d['getUnitId'](),_0x82e866=_0x20232d[_0x43d053(0x3b0)]()[_0x43d053(0x38b)](),_0x2aab03=this[_0x43d053(0x42f)][_0x43d053(0x336)](_0x31430b,_0x82e866);if((_0x1b6b4d=this[_0x43d053(0x45b)][_0x43d053(0x363)](_0x31430b))!=null&&_0x1b6b4d['with'](_0x1d95b5)['getSkeleton'](_0x82e866)&&_0x2aab03)for(let _0x3f0970 in _0x2aab03){let {drawingId:_0x3bcf0c}=_0x2aab03[_0x3f0970],_0x128e31=this[_0x43d053(0x3bf)][_0x43d053(0x250)](_0x3bcf0c);_0x128e31&&_0x1dc51a(_0x128e31['id'])(_0x128e31,_0x82e866,_0x128e31['config'],this[_0x43d053(0x244)][_0x43d053(0x282)]());}})),this[_0x2c2949(0x349)](this['_drawingManagerService']['add$']['subscribe'](_0x3827a0=>{_0x3827a0['forEach'](_0x314b03=>{const _0x317e33=_0x1779;var _0x247727;let {drawingId:_0x5c7657,unitId:_0x43ce09,subUnitId:_0x32accb}=_0x314b03,_0x91c23e=this[_0x317e33(0x45b)][_0x317e33(0x363)](_0x43ce09);if((_0x91c23e==null?void 0x0:_0x91c23e[_0x317e33(0x2b9)])!==_0x1878f2[_0x317e33(0x352)]||!_0x91c23e[_0x317e33(0x3d7)](_0x1d95b5)[_0x317e33(0x362)](_0x32accb))return;let {drawingType:_0x15e32e}=this['_drawingManagerService'][_0x317e33(0x1f3)](_0x314b03);if(_0x15e32e!==_0x30e73a[_0x317e33(0x312)])return;let _0xd6d2fb=this['_sheetCanvasFloatDomManagerService'][_0x317e33(0x275)](_0x5c7657);this[_0x317e33(0x1c8)](_0x5c7657);let _0x569ce3=new _0x32a96b();this[_0x317e33(0x1c0)][_0x317e33(0x1c3)](_0x5c7657,_0x569ce3);let _0x4ca4c9=(_0xd6d2fb==null?void 0x0:_0xd6d2fb['domId'])??_0x5c7657,_0x15ea46=_0xd6d2fb==null?void 0x0:_0xd6d2fb['rect'],_0x2d7d21=(_0x247727=this[_0x317e33(0x45b)][_0x317e33(0x363)](_0x43ce09))==null?void 0x0:_0x247727[_0x317e33(0x472)];if(_0x15ea46){let _0x4209fe=new Xr(_0x15ea46,async _0x21c8f5=>{const _0x3bb1cd=_0x317e33;var _0x2cb994;let _0x2d3268=this['_univerInstanceService'][_0x3bb1cd(0x2cb)](_0x1878f2[_0x3bb1cd(0x352)]);if((_0x2d3268==null?void 0x0:_0x2d3268['getUnitId']())===_0x43ce09&&((_0x2cb994=_0x2d3268[_0x3bb1cd(0x3b0)]())==null?void 0x0:_0x2cb994[_0x3bb1cd(0x38b)]())===_0x32accb&&(this[_0x3bb1cd(0x22f)][_0x3bb1cd(0x23b)](_0x5c7657),_0x21c8f5)){let {width:_0x4085a4,height:_0x5f3e24}=_0x15ea46;this[_0x3bb1cd(0x3df)](_0x5c7657,{'width':_0x4085a4,'height':_0x5f3e24},0x64);let _0x53c49d=this[_0x3bb1cd(0x3bf)]['getChartModel'](_0x5c7657);_0x53c49d!=null&&_0x53c49d[_0x3bb1cd(0x274)]&&await this[_0x3bb1cd(0x311)](_0x5c7657,_0x53c49d[_0x3bb1cd(0x274)],this[_0x3bb1cd(0x1b9)](_0x53c49d,this['_localeService'][_0x3bb1cd(0x282)]()));}});_0x569ce3[_0x317e33(0x349)](_0x4209fe),_0x569ce3[_0x317e33(0x349)](this[_0x317e33(0x42c)]['focused$'][_0x317e33(0x21f)](()=>_0x4209fe[_0x317e33(0x323)][_0x317e33(0x3c3)]())),_0x2d7d21&&_0x569ce3[_0x317e33(0x349)](_0x2d7d21[_0x317e33(0x1b3)]()[_0x317e33(0x26f)]['subscribe'](({objects:_0x54ed8e})=>{const _0x10d3a9=_0x317e33;if(_0x54ed8e[_0x10d3a9(0x317)](_0x15ea46[_0x10d3a9(0x2d2)])){var _0x3810a5;_0x4209fe[_0x10d3a9(0x323)][_0x10d3a9(0x26a)](),(_0x3810a5=this[_0x10d3a9(0x1ca)][_0x10d3a9(0x37e)](_0x5c7657))==null||_0x3810a5[_0x10d3a9(0x420)](),this['_resizeChart'](_0x5c7657,{'width':_0x15ea46['width'],'height':_0x15ea46[_0x10d3a9(0x2b0)]});}}));}_0x2d7d21&&_0x569ce3['disposeWithMe'](_0x2d7d21[_0x317e33(0x367)][_0x317e33(0x466)](_0x5a8f6a=>{const _0x34d383=_0x317e33;var _0x5acd7e;_0x5a8f6a['type']===_0x565982['scale']&&(_0x5acd7e=document[_0x34d383(0x482)](_0x4ca4c9))!=null&&_0x5acd7e[_0x34d383(0x29d)](_0x34d383(0x29e))&&this[_0x34d383(0x22f)][_0x34d383(0x23b)](_0x5c7657);}));let _0x263d32=this[_0x317e33(0x3bf)][_0x317e33(0x250)](_0x5c7657);_0x263d32&&_0x569ce3[_0x317e33(0x349)](_0x4d9f86([_0x263d32[_0x317e33(0x2c9)],_0x263d32[_0x317e33(0x3ca)],this[_0x317e33(0x244)][_0x317e33(0x2a6)]])[_0x317e33(0x21f)](([_0x4f05aa,_0x3d3202,_0x4d32e0])=>{_0x1dc51a(_0x263d32['id'])(_0x263d32,_0x32accb,_0x4f05aa,_0x4d32e0);}));});})),this[_0x2c2949(0x349)](_0x4d9f86([this[_0x2c2949(0x42f)]['remove$']])[_0x2c2949(0x21f)](([_0x504ae7])=>{const _0x2d5f4f=_0x2c2949;_0x504ae7[_0x2d5f4f(0x3ac)](_0xd7adfa=>{const _0x21bf0a=_0x2d5f4f;var _0x2ff312;let {drawingId:_0x4c4fc6}=_0xd7adfa;this[_0x21bf0a(0x1c8)](_0x4c4fc6),((_0x2ff312=this[_0x21bf0a(0x3bf)][_0x21bf0a(0x2d0)])==null?void 0x0:_0x2ff312['id'])===_0x4c4fc6&&this[_0x21bf0a(0x3bf)]['setActiveChartModel'](null),this[_0x21bf0a(0x2e6)](_0x4c4fc6),this[_0x21bf0a(0x22f)][_0x21bf0a(0x3a1)](_0x4c4fc6),this[_0x21bf0a(0x390)](_0x4c4fc6),this[_0x21bf0a(0x262)](_0x4c4fc6),this[_0x21bf0a(0x213)]['clearChart'](_0x4c4fc6),this[_0x21bf0a(0x316)](_0x4c4fc6),this['_lastRenderInputMap'][_0x21bf0a(0x2e5)](_0x4c4fc6),this[_0x21bf0a(0x2fb)][_0x21bf0a(0x2e5)](_0x4c4fc6);});}));}['setElementEditMode'](_0x57ad2f,_0x3f5fad){const _0xba62c0=_0x568f44;var _0x4c9aec;_0x3f5fad?this[_0xba62c0(0x2fb)][_0xba62c0(0x1c3)](_0x57ad2f,!0x0):this[_0xba62c0(0x2fb)]['delete'](_0x57ad2f),(_0x4c9aec=this['_chartInstanceMap']['get'](_0x57ad2f))==null||_0x4c9aec[_0xba62c0(0x219)](_0x3f5fad);}async[_0x568f44(0x1e6)](_0xd96ddc,_0x4e4a7f){const _0x1a45cf=_0x568f44;var _0x347fd4;let _0x46c8e1=this[_0x1a45cf(0x41a)][_0x1a45cf(0x37e)](_0xd96ddc),_0xfd09d=(_0x347fd4=this[_0x1a45cf(0x40b)][_0x1a45cf(0x275)](_0xd96ddc))==null?void 0x0:_0x347fd4['rect'];if(_0x46c8e1&&_0xfd09d)return(await this[_0x1a45cf(0x325)]['exportImage']({'chartId':_0xd96ddc,'config':_0x46c8e1[_0x1a45cf(0x274)],'style':_0x46c8e1[_0x1a45cf(0x20f)],'width':_0xfd09d['width'],'height':_0xfd09d[_0x1a45cf(0x2b0)]},_0x4e4a7f))[_0x1a45cf(0x358)];if((_0x4e4a7f==null?void 0x0:_0x4e4a7f[_0x1a45cf(0x3ab)])===_0x364b9f[_0x1a45cf(0x468)])return;let _0x3e503e=this[_0x1a45cf(0x2c4)](_0xd96ddc);return _0x3e503e?_0x422f65(_0x3e503e):void 0x0;}['on'](_0x2b4361,_0xf5b4c9,_0x344242){const _0x38d83d=_0x568f44;let _0x2669d2=this['_chartEventHandlers'][_0x38d83d(0x37e)](_0x2b4361);_0x2669d2||(_0x2669d2=new Map(),this[_0x38d83d(0x2c3)][_0x38d83d(0x1c3)](_0x2b4361,_0x2669d2));let _0x442762=_0x2669d2['get'](_0xf5b4c9);_0x442762||(_0x442762=new Set(),_0x2669d2[_0x38d83d(0x1c3)](_0xf5b4c9,_0x442762)),_0x442762['add'](_0x344242);let _0x2d3e68=this['_chartInstanceMap'][_0x38d83d(0x37e)](_0x2b4361);return _0x2d3e68&&this[_0x38d83d(0x491)](_0x2b4361,_0x2d3e68,_0xf5b4c9,_0x344242),{'dispose':()=>{const _0x5a7111=_0x38d83d;var _0x2c45f2;(_0x2c45f2=this[_0x5a7111(0x2c3)]['get'](_0x2b4361))==null||(_0x2c45f2=_0x2c45f2[_0x5a7111(0x37e)](_0xf5b4c9))==null||_0x2c45f2['delete'](_0x344242),this[_0x5a7111(0x404)](_0x2b4361,_0xf5b4c9,_0x344242);}};}['_getCurrentSnapshotImage'](_0x14f61c){const _0x54e92e=_0x568f44;let _0x265461=this[_0x54e92e(0x42c)][_0x54e92e(0x2cb)](_0x1878f2[_0x54e92e(0x352)]),_0x5825f2=_0x265461==null?void 0x0:_0x265461[_0x54e92e(0x3b0)](),_0x2bfc84=_0x265461==null?void 0x0:_0x265461['getUnitId'](),_0x5766be=_0x5825f2==null?void 0x0:_0x5825f2[_0x54e92e(0x38b)]();if(_0x2bfc84&&_0x5766be)return this[_0x54e92e(0x213)][_0x54e92e(0x41e)]({'unitId':_0x2bfc84,'subUnitId':_0x5766be,'chartId':_0x14f61c});}[_0x568f44(0x211)](_0xa97273,_0x587386){const _0x503078=_0x568f44;let _0xb57d8e=this[_0x503078(0x2c3)]['get'](_0xa97273);_0xb57d8e&&_0xb57d8e['forEach']((_0x168fad,_0x3c4e00)=>{const _0xcb8361=_0x503078;_0x168fad[_0xcb8361(0x3ac)](_0x4995c9=>this[_0xcb8361(0x491)](_0xa97273,_0x587386,_0x3c4e00,_0x4995c9));});}[_0x568f44(0x491)](_0x139ce9,_0x502687,_0x2f3f2f,_0x440471){const _0x3ae28e=_0x568f44;let _0x356bf7=this[_0x3ae28e(0x1be)][_0x3ae28e(0x37e)](_0x139ce9);_0x356bf7||(_0x356bf7=new Map(),this[_0x3ae28e(0x1be)][_0x3ae28e(0x1c3)](_0x139ce9,_0x356bf7));let _0x2356ce=_0x356bf7[_0x3ae28e(0x37e)](_0x2f3f2f);_0x2356ce||(_0x2356ce=new Map(),_0x356bf7[_0x3ae28e(0x1c3)](_0x2f3f2f,_0x2356ce)),!_0x2356ce[_0x3ae28e(0x317)](_0x440471)&&_0x2356ce['set'](_0x440471,_0x502687['on'](_0x2f3f2f,_0x440471));}[_0x568f44(0x404)](_0xa0d2ae,_0x4bc21e,_0x52b49e){const _0xccd4b0=_0x568f44;var _0x1c447f,_0x46323d;let _0x4f1dd7=(_0x1c447f=this[_0xccd4b0(0x1be)][_0xccd4b0(0x37e)](_0xa0d2ae))==null?void 0x0:_0x1c447f[_0xccd4b0(0x37e)](_0x4bc21e);_0x4f1dd7==null||(_0x46323d=_0x4f1dd7[_0xccd4b0(0x37e)](_0x52b49e))==null||_0x46323d['dispose'](),_0x4f1dd7==null||_0x4f1dd7[_0xccd4b0(0x2e5)](_0x52b49e);}['_disposeChartEventSubscriptions'](_0x3df7a9){const _0x3668a5=_0x568f44;let _0x52f9d0=this[_0x3668a5(0x1be)]['get'](_0x3df7a9);_0x52f9d0==null||_0x52f9d0[_0x3668a5(0x3ac)](_0x40f5ff=>{const _0x14d983=_0x3668a5;_0x40f5ff[_0x14d983(0x3ac)](_0x5e9e3e=>_0x5e9e3e[_0x14d983(0x3d3)]()),_0x40f5ff['clear']();}),this[_0x3668a5(0x1be)][_0x3668a5(0x2e5)](_0x3df7a9);}[_0x568f44(0x1b9)](_0x9ca8cf,_0x5db5c6){const _0x2b4a71=_0x568f44;return gi(_0x9ca8cf,_0x5db5c6,this[_0x2b4a71(0x41b)]);}['checkChartCanRender'](_0x56098e){const _0x2b5a72=_0x568f44;return this[_0x2b5a72(0x31b)](_0x56098e)==null;}[_0x568f44(0x31b)](_0x3bda09){const _0x5d41bd=_0x568f44;var _0x4a72a8;let _0x357272=this[_0x5d41bd(0x40b)][_0x5d41bd(0x275)](_0x3bda09);if(!_0x357272)return'missing-float-dom';let {subUnitId:_0x53ccf2}=_0x357272,_0x1704bb=(_0x4a72a8=this[_0x5d41bd(0x42c)]['getCurrentUnitOfType'](_0x1878f2[_0x5d41bd(0x352)]))==null?void 0x0:_0x4a72a8[_0x5d41bd(0x3b0)]();if(!_0x1704bb)return _0x5d41bd(0x35e);if(_0x1704bb[_0x5d41bd(0x38b)]()!==_0x53ccf2)return _0x5d41bd(0x1e4);}async[_0x568f44(0x311)](_0x493f3c,_0x4a1cfd,_0x24868e,_0x5846e4={}){const _0x209913=_0x568f44;let _0x5196c2=this[_0x209913(0x325)]['getRenderModel'](_0x14e22a);if(!_0x5196c2)return;let _0x3c8a30=this[_0x209913(0x41a)][_0x209913(0x37e)](_0x493f3c);if(this[_0x209913(0x41a)][_0x209913(0x1c3)](_0x493f3c,{'config':_0x4a1cfd,'style':_0x24868e}),this[_0x209913(0x31b)](_0x493f3c))return;let {canAnimate:_0x403e3c,renderMode:_0x3d4572,shouldStartTransientAnimation:_0x156490,transientAnimationActive:_0x1b8caf}=this[_0x209913(0x439)](_0x493f3c,_0x3c8a30!=null,_0x5846e4[_0x209913(0x243)]===!0x0);if(_0x3d4572===_0x497f9d[_0x209913(0x3d4)])this[_0x209913(0x401)](_0x493f3c);else{var _0xabe112;this[_0x209913(0x22f)][_0x209913(0x31f)](_0x493f3c),((_0xabe112=this[_0x209913(0x3bf)][_0x209913(0x2d0)])==null?void 0x0:_0xabe112['id'])===_0x493f3c&&this['_applyActiveChartRuntimeZIndex'](_0x493f3c);}let _0x2a5c6c=_0x3d4572===_0x497f9d[_0x209913(0x3d4)]?_0x497f9d[_0x209913(0x3d4)]:_0x497f9d[_0x209913(0x331)],_0x3b9089=await this[_0x209913(0x22f)][_0x209913(0x1fa)](_0x493f3c,_0x2a5c6c);if(!_0x3b9089){_0x156490&&this[_0x209913(0x2fa)](_0x493f3c);return;}this['_chartHostProvider'][_0x209913(0x27f)](_0x493f3c,_0x1b8caf?_0x38e848:null);let _0x4b1db6=this[_0x209913(0x3d2)](_0x493f3c,_0x2a5c6c,_0x5196c2);_0x4b1db6[_0x209913(0x398)](_0x3b9089);try{let _0x2dfb16={'chartId':_0x493f3c,'config':_0x4a1cfd,'style':_0x24868e};_0x403e3c&&_0x3c8a30&&_0x4b1db6['renderTransition']?await _0x4b1db6[_0x209913(0x379)]({'chartId':_0x493f3c,'config':_0x3c8a30[_0x209913(0x274)],'style':_0x3c8a30['style']},_0x2dfb16,{'duration':_0x38e848}):await _0x4b1db6[_0x209913(0x311)](_0x2dfb16),await this[_0x209913(0x37b)](_0x493f3c,_0x3d4572,_0x4b1db6),_0x403e3c&&_0x1b8caf&&this[_0x209913(0x2b8)](_0x493f3c);}catch(_0x206767){if(_0x156490&&this[_0x209913(0x2fa)](_0x493f3c),_0x3d4572!==_0x497f9d[_0x209913(0x3d4)])throw _0x206767;}}async['_cacheActiveDomChartSnapshot'](_0x340d5a,_0x4c5c48,_0x1ca762){const _0x36ded0=_0x568f44;var _0x5d1128;if(_0x4c5c48!==_0x497f9d['Dom']||((_0x5d1128=this[_0x36ded0(0x3bf)]['activeChartModel'])==null?void 0x0:_0x5d1128['id'])!==_0x340d5a)return;let _0x28013f=await this[_0x36ded0(0x22f)][_0x36ded0(0x1fa)](_0x340d5a,_0x497f9d['Image']);if(!_0x28013f)return;let _0x2ed417=_0x28013f[_0x36ded0(0x3e1)]();try{let _0xd22056=await _0x1ca762[_0x36ded0(0x288)]();_0xd22056&&_0x28013f[_0x36ded0(0x48a)]({'type':_0x124645['Url'],'url':_0xd22056},_0x2ed417)&&_0x28013f[_0x36ded0(0x238)]();}catch{}}['_prepareDataUpdateRender'](_0x710fff,_0x415cb6,_0x501582){const _0x390d7e=_0x568f44;let _0x3ee062=this[_0x390d7e(0x370)](_0x710fff),_0x42c941=_0x3ee062===_0x497f9d[_0x390d7e(0x331)]&&_0x501582&&_0x415cb6&&this[_0x390d7e(0x342)](_0x710fff),_0x50d041=this['_dataUpdateAnimationChartIds'][_0x390d7e(0x317)](_0x710fff);return{'canAnimate':_0x42c941,'renderMode':_0x50d041?_0x497f9d['Dom']:_0x3ee062,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x50d041};}['_canAnimateDataUpdate'](_0x55ca9b){const _0x495b02=_0x568f44;var _0x13168e,_0x62d2a,_0x4b2ff8,_0x471f50;if(typeof document>'u'||typeof window>'u'||document[_0x495b02(0x1bb)]===_0x495b02(0x34b)||(_0x13168e=(_0x62d2a=window)[_0x495b02(0x32e)])!=null&&(_0x13168e=_0x13168e[_0x495b02(0x1f1)](_0x62d2a,'(prefers-reduced-motion:\x20reduce)'))!=null&&_0x13168e[_0x495b02(0x2bb)]||(_0x4b2ff8=(_0x471f50=window)[_0x495b02(0x32e)])!=null&&(_0x4b2ff8=_0x4b2ff8[_0x495b02(0x1f1)](_0x471f50,_0x495b02(0x441)))!=null&&_0x4b2ff8[_0x495b02(0x2bb)])return!0x1;let _0x182a86=this[_0x495b02(0x22f)]['getHostClientRect'](_0x55ca9b);return _0x182a86!=null&&_0x182a86[_0x495b02(0x1cf)]>0x0&&_0x182a86[_0x495b02(0x2b0)]>0x0&&_0x182a86[_0x495b02(0x2c6)]>0x0&&_0x182a86[_0x495b02(0x2db)]>0x0&&_0x182a86[_0x495b02(0x242)]<window[_0x495b02(0x232)]&&_0x182a86[_0x495b02(0x382)]<window[_0x495b02(0x1dd)];}[_0x568f44(0x1ce)](_0x1a89f9){const _0x99055e=_0x568f44;let _0x368e3c=this['_dataUpdateAnimationTimers'][_0x99055e(0x37e)](_0x1a89f9);_0x368e3c&&(clearTimeout(_0x368e3c),this['_dataUpdateAnimationTimers'][_0x99055e(0x2e5)](_0x1a89f9)),this[_0x99055e(0x400)][_0x99055e(0x371)](_0x1a89f9),this[_0x99055e(0x22f)][_0x99055e(0x27f)](_0x1a89f9,_0x38e848);}[_0x568f44(0x2b8)](_0x41ede5){const _0x81bfe7=_0x568f44;let _0x35c756=this[_0x81bfe7(0x26e)][_0x81bfe7(0x37e)](_0x41ede5);_0x35c756&&clearTimeout(_0x35c756);let _0x523823=setTimeout(()=>{const _0x409c20=_0x81bfe7;this[_0x409c20(0x26e)][_0x409c20(0x2e5)](_0x41ede5),this['_dataUpdateAnimationChartIds'][_0x409c20(0x2e5)](_0x41ede5)&&(this[_0x409c20(0x22f)]['setDataUpdateAnimation'](_0x41ede5,null),this[_0x409c20(0x401)](_0x41ede5),this[_0x409c20(0x490)](_0x41ede5));},_0x38e848);this['_dataUpdateAnimationTimers'][_0x81bfe7(0x1c3)](_0x41ede5,_0x523823);}[_0x568f44(0x2fa)](_0x2f7a22){const _0x4330ec=_0x568f44;let _0x4a4a38=this[_0x4330ec(0x26e)][_0x4330ec(0x37e)](_0x2f7a22);_0x4a4a38&&(clearTimeout(_0x4a4a38),this['_dataUpdateAnimationTimers'][_0x4330ec(0x2e5)](_0x2f7a22)),this[_0x4330ec(0x400)][_0x4330ec(0x2e5)](_0x2f7a22),this['_chartHostProvider']['setDataUpdateAnimation'](_0x2f7a22,null);}async[_0x568f44(0x479)](_0xcf3c97,_0x444b56,_0x14bd46){const _0x3bf01e=_0x568f44;let _0x3dd4b0=this[_0x3bf01e(0x42f)]['getDrawingData'](_0xcf3c97,_0x444b56),_0x53b769=this[_0x3bf01e(0x42f)]['getDrawingOrder'](_0xcf3c97,_0x444b56),_0x8b7d61=Object[_0x3bf01e(0x3b2)](_0x3dd4b0??{})[_0x3bf01e(0x26b)](_0x4401d5=>_0x4401d5[_0x3bf01e(0x20d)]===_0x30e73a[_0x3bf01e(0x312)]&&_0x4401d5[_0x3bf01e(0x34b)]!==!0x0);await Promise['allSettled'](_0x8b7d61['map'](async _0x3d8e84=>{const _0x4c056a=_0x3bf01e;let _0x271ee2=await this[_0x4c056a(0x3b8)](_0x3d8e84,_0x53b769);_0x271ee2&&(_0x14bd46[_0x4c056a(0x470)](_0x271ee2,_0x56b329),_0x3d8e84['groupId']&&_0x1ab7fb({'drawingId':_0x3d8e84[_0x4c056a(0x43f)],'unitId':_0xcf3c97,'subUnitId':_0x444b56},_0x271ee2,_0x14bd46,this[_0x4c056a(0x42f)]));}));}async[_0x568f44(0x3b8)](_0x3bc6fc,_0x2eedb3){const _0x45089c=_0x568f44;let _0x5e3822=this[_0x45089c(0x3bf)][_0x45089c(0x250)](_0x3bc6fc['drawingId']),_0x448d3a=this[_0x45089c(0x325)][_0x45089c(0x2d5)](_0x14e22a),_0x135e59=_0x3bc6fc[_0x45089c(0x231)],_0x37c797=_0x5e3822==null?void 0x0:_0x5e3822[_0x45089c(0x274)];if(!_0x5e3822||!_0x448d3a||!_0x135e59||!_0x37c797||_0x135e59['width']==null||_0x135e59[_0x45089c(0x2b0)]==null)return null;let _0x29180a=new hi(_0x3bc6fc[_0x45089c(0x2e0)],{'width':_0x135e59[_0x45089c(0x1cf)],'height':_0x135e59[_0x45089c(0x2b0)]}),_0x2b04ca=_0x448d3a['createChartInstance'](_0x497f9d[_0x45089c(0x3d4)],this[_0x45089c(0x1f0)]());_0x2b04ca[_0x45089c(0x398)](_0x29180a);let _0x3da8e4;try{await _0x2b04ca[_0x45089c(0x311)]({'chartId':_0x3bc6fc[_0x45089c(0x2e0)],'config':_0x37c797,'style':this[_0x45089c(0x1b9)](_0x5e3822,this['_localeService'][_0x45089c(0x282)]())});}catch(_0x176c34){console[_0x45089c(0x207)](_0x45089c(0x230),_0x176c34);}finally{_0x3da8e4=_0x29180a[_0x45089c(0x2bc)](),_0x2b04ca[_0x45089c(0x3d3)](),_0x29180a[_0x45089c(0x3d3)]();}let _0x45e59f=this[_0x45089c(0x213)][_0x45089c(0x41e)]({'unitId':_0x3bc6fc[_0x45089c(0x45f)],'subUnitId':_0x3bc6fc[_0x45089c(0x206)],'chartId':_0x3bc6fc[_0x45089c(0x2e0)]}),_0x12887e=_0x3da8e4??_0x45e59f;if(!_0x12887e)return null;let _0x5f516c=_0x2eedb3[_0x45089c(0x326)](_0x3bc6fc['drawingId']);return new ei(_0x3a9253(_0x3bc6fc),{..._0x135e59,..._0x2cbe4d,...di(_0x29180a[_0x45089c(0x20f)]),'visible':!0x0,'zIndex':_0x5f516c===-0x1?Math[_0x45089c(0x2f5)](_0x2eedb3['length']-0x1,0x0):_0x5f516c},()=>_0x12887e,void 0x0,_0x3da8e4?()=>K(_0x3da8e4):void 0x0);}[_0x568f44(0x3d2)](_0x2f054f,_0x37c926,_0x2dab35){const _0x24b3c7=_0x568f44;let _0x15e434=this[_0x24b3c7(0x2c7)]['get'](_0x2f054f);if((_0x15e434==null?void 0x0:_0x15e434[_0x24b3c7(0x2ec)])===_0x37c926)return _0x15e434;_0x15e434&&(this['_disposeChartEventSubscriptions'](_0x2f054f),_0x15e434['dispose'](),this[_0x24b3c7(0x2c7)]['delete'](_0x2f054f));let _0x59deb4=_0x2dab35[_0x24b3c7(0x34c)](_0x37c926,this['_createChartRenderInstanceContext']());return this[_0x24b3c7(0x2c7)]['set'](_0x2f054f,_0x59deb4),_0x59deb4[_0x24b3c7(0x219)](this[_0x24b3c7(0x2fb)][_0x24b3c7(0x37e)](_0x2f054f)===!0x0),this[_0x24b3c7(0x211)](_0x2f054f,_0x59deb4),_0x59deb4;}[_0x568f44(0x1f0)](){const _0xbabba2=_0x568f44;return{'resolveHostStyle':({style:_0x12d77c})=>_0x36f200({'style':_0x12d77c,'getRenderColor':_0x5223d3=>this[_0xbabba2(0x3b3)]['getRenderColor'](_0x5223d3)}),'resolveRenderBackgroundColor':({style:_0x5c8d67})=>this['_chartThemeService'][_0xbabba2(0x483)](_0x293065(_0x5c8d67))};}['_disposeChartChangeListeners'](_0x2324f1){const _0x483886=_0x568f44;var _0x14810d,_0x1eef4f,_0x45f80c;(_0x14810d=this[_0x483886(0x1c0)][_0x483886(0x37e)](_0x2324f1))==null||_0x14810d['dispose'](),this[_0x483886(0x1c0)][_0x483886(0x2e5)](_0x2324f1),(_0x1eef4f=this[_0x483886(0x33d)][_0x483886(0x37e)](_0x2324f1))==null||_0x1eef4f[_0x483886(0x420)](),this[_0x483886(0x33d)]['delete'](_0x2324f1),(_0x45f80c=this['_debounceHandleMap'][_0x483886(0x37e)](_0x2324f1))==null||_0x45f80c[_0x483886(0x420)](),this['_debounceHandleMap'][_0x483886(0x2e5)](_0x2324f1);}[_0x568f44(0x3bc)](){const _0x9ad27d=_0x568f44;this[_0x9ad27d(0x33d)]['forEach'](_0x33febb=>_0x33febb[_0x9ad27d(0x420)]()),this[_0x9ad27d(0x33d)][_0x9ad27d(0x361)](),this[_0x9ad27d(0x1ca)]['forEach'](_0x2c3682=>_0x2c3682[_0x9ad27d(0x420)]()),this['_debounceHandleMap'][_0x9ad27d(0x361)]();}[_0x568f44(0x3d3)](){const _0x2a663b=_0x568f44;this[_0x2a663b(0x1c0)]['forEach'](_0x6e3bf1=>_0x6e3bf1['dispose']()),this['_chartChangeSubscriptions'][_0x2a663b(0x361)](),this[_0x2a663b(0x26e)][_0x2a663b(0x3ac)](_0x26a5cf=>clearTimeout(_0x26a5cf)),this[_0x2a663b(0x26e)]['clear'](),this[_0x2a663b(0x400)][_0x2a663b(0x361)](),Array[_0x2a663b(0x402)](this[_0x2a663b(0x2c7)][_0x2a663b(0x487)]())[_0x2a663b(0x3ac)](_0x1c7f38=>this[_0x2a663b(0x262)](_0x1c7f38)),this[_0x2a663b(0x2c3)][_0x2a663b(0x361)](),this[_0x2a663b(0x2fb)][_0x2a663b(0x361)](),this['_cancelDebouncedCallbacks'](),this['_lastRenderInputMap'][_0x2a663b(0x361)](),this[_0x2a663b(0x37f)]=null,this['_lastActiveSheet']=null,super[_0x2a663b(0x3d3)]();}};function _0x1779(_0x173119,_0x475397){_0x173119=_0x173119-0x1af;const _0xbdb09b=_0xbdb0();let _0x1779b0=_0xbdb09b[_0x173119];return _0x1779b0;}Y=J([q(0x0,pi),q(0x1,_0x563aa6(_0x3a2ef5)),q(0x2,_0x563aa6(_0x813c91)),q(0x3,_0x1506f9),q(0x4,_0x16f441),q(0x5,_0x563aa6(_0x35685d)),q(0x6,_0x563aa6(_0x565815)),q(0x7,_0x563aa6(_0x363c1f)),q(0x8,_0x563aa6(_0x3aa033)),q(0x9,_0x563aa6(_0x4e6706)),q(0xa,_0x4fc0b3),q(0xb,_0x563aa6(ii)),q(0xc,_0x144ce6)],Y);const X=_0x174872('sheets-chart.ui.service');let _i=class extends _0x36e2b6{constructor(_0x4a964c,_0xfb16ba,_0x1a6f3e,_0x2b9269,_0x3f5aef){const _0x1e6dfb=_0x568f44;super(_0x3f5aef),this['_chartModelService']=_0x4a964c,this[_0x1e6dfb(0x383)]=_0xfb16ba,this[_0x1e6dfb(0x42b)]=_0x1a6f3e,this['_univerInstanceService']=_0x2b9269,G(this,'_rangeSelectMode',!0x1),G(this,'_chartEditorOpen$',new _0x5e4432(!0x1)),G(this,_0x1e6dfb(0x28f),new _0x5e4432(null)),G(this,_0x1e6dfb(0x343),this[_0x1e6dfb(0x3fe)]['asObservable']()),G(this,_0x1e6dfb(0x1af),this[_0x1e6dfb(0x28f)][_0x1e6dfb(0x298)]());}get[_0x568f44(0x200)](){const _0x12d524=_0x568f44;return this['_chartModelService'][_0x12d524(0x2d0)]??null;}get['chartEditorOpen'](){const _0x302033=_0x568f44;return this[_0x302033(0x3fe)]['getValue']();}get[_0x568f44(0x436)](){const _0xb93654=_0x568f44;return this[_0xb93654(0x2f7)];}[_0x568f44(0x246)](_0x27d048){const _0xc6b3c9=_0x568f44;this[_0xc6b3c9(0x2f7)]=_0x27d048;}[_0x568f44(0x36c)](_0x5a98e5){const _0x4ae1e8=_0x568f44;this[_0x4ae1e8(0x3fe)][_0x4ae1e8(0x2ca)]()!==_0x5a98e5&&this[_0x4ae1e8(0x3fe)]['next'](_0x5a98e5);}[_0x568f44(0x31d)](_0x29627b){const _0x2e1187=_0x568f44;var _0x409de4;return this[_0x2e1187(0x33b)]&&((_0x409de4=this['_chartModelService'][_0x2e1187(0x2d0)])==null?void 0x0:_0x409de4['id'])===_0x29627b;}[_0x568f44(0x45c)](_0x122273,_0x163a62){const _0x238de3=_0x568f44;this['_panelRoute$'][_0x238de3(0x3f1)]({'chartId':_0x122273,'route':_0x163a62});}[_0x568f44(0x1c4)](){const _0x9c45d5=_0x568f44;this[_0x9c45d5(0x28f)][_0x9c45d5(0x3f1)](null);}[_0x568f44(0x203)](_0x460ad9){const _0xab5b94=_0x568f44;let _0xb7d69b=this[_0xab5b94(0x3bf)][_0xab5b94(0x2d0)];_0xb7d69b&&this[_0xab5b94(0x40e)]({'chartModelId':_0xb7d69b['id'],'range':_0x460ad9});}[_0x568f44(0x493)](_0x43ef87){const _0x2eec1b=_0x568f44;let _0x4e8d70=this['_chartModelService'][_0x2eec1b(0x2d0)];if(!_0x4e8d70)return;let _0x1f3f04=this[_0x2eec1b(0x383)][_0x2eec1b(0x269)](_0x4e8d70['id']);if(!_0x1f3f04||Array[_0x2eec1b(0x21d)](_0x1f3f04))return;let _0x57fa72={..._0x1f3f04,'isRowDirection':_0x43ef87===_0x10ec2f[_0x2eec1b(0x48b)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x4e8d70['id'],'range':_0x57fa72});}['executeChartUpdateConfig'](_0xc773d8){const _0x33a709=_0x568f44;var _0x28626d;this[_0x33a709(0x42b)][_0x33a709(0x1f7)](_0x58088e['id'],{..._0xc773d8,'unitId':((_0x28626d=this['_univerInstanceService'][_0x33a709(0x3f6)]())==null?void 0x0:_0x28626d['getUnitId']())??''});}[_0x568f44(0x40e)](_0x379a1c){const _0x20e46f=_0x568f44;var _0x4eff31;this[_0x20e46f(0x42b)][_0x20e46f(0x1f7)](_0x4c9a08['id'],{..._0x379a1c,'unitId':((_0x4eff31=this[_0x20e46f(0x42c)][_0x20e46f(0x3f6)]())==null?void 0x0:_0x4eff31[_0x20e46f(0x453)]())??''});}[_0x568f44(0x3d3)](){const _0x486ab3=_0x568f44;this[_0x486ab3(0x3fe)][_0x486ab3(0x1bc)](),this['_panelRoute$'][_0x486ab3(0x1bc)](),super[_0x486ab3(0x3d3)]();}};_i=J([q(0x0,_0x563aa6(_0x813c91)),q(0x1,_0x563aa6(_0x42909b)),q(0x2,_0x5729da),q(0x3,_0x16f441),q(0x4,_0x563aa6(_0x30b2eb))],_i);var vi;const yi={'axis':{..._0x395abf,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x41df45,'heatmap':_0x3fc348,'indicatorLine':_0xbd1eff,'legend':_0x3d9ac2,'lineAndArea':_0x3cb407,'pareto':_0x4373a1,'pie':_0x50edfa,'relation':{..._0x19c60e,'useValueAsSymbolSize':!0x0},'radar':_0x565e78,'series':{..._0x4525c2,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((vi=_0x27bed4[_0x568f44(0x320)])==null?void 0x0:vi[_0x568f44(0x40f)])??!0x1}},'style':_0x2362f8,'titles':_0x188053,'trendline':_0x28cd2c,'waterfallStyle':_0x1059be,'wordCloud':_0x40e7c5},bi=_0x431170=>_0x431170[_0x568f44(0x2cb)](_0x1878f2['UNIVER_SHEET'])[_0x568f44(0x453)](),xi=_0x1c0319=>{const _0xd4a90f=_0x568f44;var _0x5a54f6;return(_0x5a54f6=_0x1c0319['getCurrentUnitOfType'](_0x1878f2[_0xd4a90f(0x352)])[_0xd4a90f(0x3b0)]())==null?void 0x0:_0x5a54f6[_0xd4a90f(0x38b)]();},Si=()=>{const _0x3fb431=_0x568f44;var _0x4b603a;let _0x14b648=_0x4f2768(X),_0x41893d=_0x4f2768(_0x813c91),_0x5bc46f=_0x4f2768(_0x565815),_0x15a402=_0x4f2768(_0x363c1f),_0x1f3e84=_0x470b30(_0x15a402),_0x223dfa=_0x1c5e24(()=>{const _0x334fc8=_0x1779;let _0x40f76b=Fr(Nr['concat'](),_0x1f3e84);return _0x51c3dc(_0x40f76b[_0x334fc8(0x2ab)](_0x273ab6=>({'id':_0x273ab6['id'],'label':_0x5bc46f['t'](_0x334fc8(0x356)+_0x273ab6[_0x334fc8(0x30c)]),'pieSecondaryPlotType':_0x273ab6[_0x334fc8(0x414)],'value':_0x273ab6[_0x334fc8(0x2a0)]})));},[_0x1f3e84,_0x5bc46f]),_0x1f823d=_0x1685e2(_0x41893d[_0x3fb431(0x46a)],_0x41893d[_0x3fb431(0x2d0)]),_0x14b2c5=_0x1685e2(_0x1f823d==null?void 0x0:_0x1f823d[_0x3fb431(0x360)],_0x1f823d==null?void 0x0:_0x1f823d['context']),_0x533187=_0x1685e2(_0x1f823d==null?void 0x0:_0x1f823d[_0x3fb431(0x2f1)],_0x1f823d==null?void 0x0:_0x1f823d[_0x3fb431(0x36f)]),_0x435bc7=_0x1685e2(_0x533187==null?void 0x0:_0x533187[_0x3fb431(0x318)],_0x533187==null?void 0x0:_0x533187[_0x3fb431(0x393)]()),_0x3eeb13=Array[_0x3fb431(0x21d)](_0x435bc7),_0x28b9bc=_0x435bc7&&!_0x3eeb13&&_0x435bc7[_0x3fb431(0x30d)]?_0x10ec2f['Row']:_0x10ec2f[_0x3fb431(0x319)],_0x2e0cf1=_0x3eeb13?(_0x4b603a=_0x435bc7[0x0])==null?void 0x0:_0x4b603a[_0x3fb431(0x338)]:_0x435bc7==null?void 0x0:_0x435bc7[_0x3fb431(0x247)];return _0x48f77f(_0x3fb431(0x32b),{'className':_0x3fb431(0x465),'children':[_0x2f8009(_0x510c9c,{'chartTypeOptions':_0x223dfa,'dataSourceControl':_0x2f8009(Ci,{'dataRange':_0x435bc7,'primaryRange':_0x2e0cf1}),'categoryToggleLabel':_0x5bc46f['t'](_0x3fb431(0x481),_0x28b9bc===_0x10ec2f[_0x3fb431(0x48b)]?_0x28b9bc+'\x20'+(((_0x2e0cf1==null?void 0x0:_0x2e0cf1['range'][_0x3fb431(0x201)])??0x0)+0x1):_0x28b9bc+'\x20'+_0x55d7a0((_0x2e0cf1==null?void 0x0:_0x2e0cf1['range'][_0x3fb431(0x2c8)])??0x0)),'orientationControl':_0x3eeb13?void 0x0:_0x2f8009(_0xa27a39,{'size':_0x3fb431(0x28e),'onClick':()=>_0x14b648[_0x3fb431(0x493)](_0x28b9bc===_0x10ec2f['Row']?_0x10ec2f[_0x3fb431(0x319)]:_0x10ec2f['Row']),'children':_0x5bc46f['t'](_0x3fb431(0x2b5))})}),_0x2f8009(_0x3eedcd,{'checked':(_0x14b2c5==null?void 0x0:_0x14b2c5['plotVisibleOnly'])===!0x1,'disabled':!_0x1f823d,'onChange':_0x3ad1af=>{const _0x2d04a5=_0x3fb431;_0x1f823d&&_0x14b648[_0x2d04a5(0x3e4)]({'chartModelId':_0x1f823d['id'],'context':{'plotVisibleOnly':!_0x3ad1af}});},'children':_0x5bc46f['t'](_0x3fb431(0x47e))})]});};function Ci(_0x51678f){const _0x74b48b=_0x568f44;let {dataRange:_0x461821,primaryRange:_0x150397}=_0x51678f,_0x199fba=_0x4f2768(X),_0x4090bf=_0x4f2768(_0x565815),_0x21f324=_0x4f2768(_0x16f441),_0x5ec765=_0x4f2768(_0x1e8f48),[_0x446a21,_0x176208]=_0x3e5ae0(!0x1),[_0x54f2c2,_0x4d3152]=_0x3e5ae0(!0x1),[_0x2118c2,_0x3e622d]=_0x3e5ae0(),_0x55e752=bi(_0x21f324),_0x2a5489=xi(_0x21f324),_0x80282d=_0x461821?jr(_0x461821,_0x21f324):'',_0xa33b66=_0x540079(_0x80282d),_0x5a3d2e=_0x540079(void 0x0),_0x34a44a=_0x540079(null);_0x2b9eea(()=>{const _0x14a5d4=_0x1779;_0x199fba[_0x14a5d4(0x246)](_0x446a21),_0x5ec765[_0x14a5d4(0x302)](_0x4dd650,_0x446a21);},[_0x5ec765,_0x446a21,_0x199fba]),_0x2b9eea(()=>()=>{const _0xb9dd71=_0x1779;_0x199fba['setRangeSelectMode'](!0x1),_0x5ec765[_0xb9dd71(0x302)](_0x4dd650,!0x1);},[_0x5ec765,_0x199fba]);let _0x10b1ad=_0x56c0bd(_0x2a94a0=>{const _0x57b9e0=_0x1779;var _0x33bdff;if(jr(_0x461821,_0x21f324)===_0x2a94a0)return _0x3e622d(void 0x0),!0x0;let _0x40c83c=_0x2a94a0['split'](_0x41291b[_0x57b9e0(0x3b6)]);if(!_0x2a94a0[_0x57b9e0(0x2e8)]()||_0x40c83c['length']!==0x1||!((_0x33bdff=_0x34a44a[_0x57b9e0(0x23c)])!=null&&_0x33bdff['verify']()))return _0x3e622d(_0x4090bf['t'](_0x57b9e0(0x3c6))),!0x1;let {unitId:_0x188030,sheetName:_0x4d4b40,range:_0x1d24a9}=_0x2380a3(_0x40c83c[0x0]),_0x3b2081=_0x188030||_0x55e752,_0x3a5e9f=_0x21f324[_0x57b9e0(0x20b)](_0x3b2081),_0x582568=(_0x150397==null?void 0x0:_0x150397[_0x57b9e0(0x45f)])===_0x3b2081?_0x150397['subUnitId']:_0x2a5489,_0x3da1d9=_0x4d4b40?_0x3a5e9f==null?void 0x0:_0x3a5e9f[_0x57b9e0(0x3e5)](_0x4d4b40):_0x3a5e9f==null?void 0x0:_0x3a5e9f[_0x57b9e0(0x467)](_0x582568??'');return!_0x3a5e9f||!_0x3da1d9||!_0x3a4aeb(_0x1d24a9,_0x3da1d9)?(_0x3e622d(_0x4090bf['t'](_0x57b9e0(0x3c6))),!0x1):(_0x3e622d(void 0x0),_0x199fba[_0x57b9e0(0x203)]({'rangeInfo':{'range':_0x1d24a9,'unitId':_0x3b2081,'subUnitId':_0x3da1d9[_0x57b9e0(0x38b)]()}}),!0x0);},[_0x461821,_0x4090bf,_0x150397,_0x199fba,_0x2a5489,_0x55e752,_0x21f324]),_0xc6c749=_0x1c5e24(()=>({'keyCodes':[{'keyCode':_0x2c257f[_0x74b48b(0x1cd)],'nativeTextEditorBehavior':_0x27beea['OVERRIDE_NATIVE']}],'handler':_0x457410=>{const _0x31473b=_0x74b48b;_0x457410===_0x2c257f['ENTER']&&_0x10b1ad(_0xa33b66[_0x31473b(0x23c)])&&(_0x5a3d2e['current']=_0xa33b66[_0x31473b(0x23c)]);}}),[_0x10b1ad]);return _0x2f8009(_0x74b48b(0x32b),{'className':_0x74b48b(0x2ed),'children':_0x48f77f('div',{'children':[_0x2f8009(_0x508ec3,{'title':_0x4090bf['t']('sheets-chart-ui.common.dataRange')}),_0x2f8009(_0x1bd946,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x55e752,'subUnitId':_0x2a5489,'initialValue':_0x80282d,'keyboardEventConfig':_0xc6c749,'selectorRef':_0x34a44a,'onChange':(_0x6cfc4f,_0x475f1d)=>{const _0x237246=_0x74b48b;_0xa33b66[_0x237246(0x23c)]=_0x475f1d,_0x54f2c2&&_0x5a3d2e[_0x237246(0x23c)]!==_0x475f1d&&_0x10b1ad(_0x475f1d)&&(_0x5a3d2e[_0x237246(0x23c)]=_0x475f1d);},'onFocusChange':(_0x1856cd,_0x483d3c)=>{const _0x312ab2=_0x74b48b;if(_0x483d3c!==void 0x0&&(_0xa33b66[_0x312ab2(0x23c)]=_0x483d3c),_0x54f2c2||_0x176208(_0x1856cd),_0x1856cd)_0x5a3d2e[_0x312ab2(0x23c)]=_0xa33b66[_0x312ab2(0x23c)];else{let _0x32ac30=_0x5a3d2e[_0x312ab2(0x23c)];_0x5a3d2e[_0x312ab2(0x23c)]=void 0x0,_0x32ac30!==void 0x0&&_0xa33b66[_0x312ab2(0x23c)]!==_0x32ac30&&_0x10b1ad(_0xa33b66['current']);}},'onRangeSelectorDialogVisibleChange':_0x1faa7b=>{_0x4d3152(_0x1faa7b),_0x176208(_0x1faa7b);}}),_0x2118c2?_0x2f8009('div',{'className':_0x74b48b(0x1e1),'children':_0x2118c2}):null]})});}function Z(_0x10e6e4){const _0x47b9ed=_0x568f44;return _0x48f77f(_0x563858,{'id':_0x10e6e4['id'],'children':[_0x2f8009(_0x4a850c,{'children':_0x10e6e4['label']}),_0x2f8009(_0x95b2aa,{'children':_0x10e6e4[_0x47b9ed(0x2a7)]})]});}const wi=_0x1242f6=>{const _0x5c7c1f=_0x568f44;let _0x4280e8=_0x4f2768(_0x565815),_0x3340d6=_0x4f2768(X),_0xfaf41d=_0x4f2768(_0x813c91),_0x525ab7=_0x1685e2(_0xfaf41d[_0x5c7c1f(0x46a)],_0xfaf41d['activeChartModel']),_0xb7f2bb=_0x1685e2(_0x3340d6[_0x5c7c1f(0x1af)],null),_0x167551=_0xb7f2bb&&_0xb7f2bb[_0x5c7c1f(0x43d)]===(_0x525ab7==null?void 0x0:_0x525ab7['id'])?_0xb7f2bb[_0x5c7c1f(0x27e)]:null,_0x430929=_0x231993(),_0x4d9401=_0x1cd3fd(),[_0x4bd659,_0x20fd53]=_0x3e5ae0(null);_0x2b9eea(()=>{const _0x2a868f=_0x5c7c1f;_0x167551!=null&&_0x167551['section']&&_0x20fd53(_0x167551[_0x2a868f(0x48c)]);},[_0x167551]);let _0x4c9eff=_0x40d255[_0x5c7c1f(0x3e9)](_0x430929,_0x18d4e2[_0x5c7c1f(0x308)]),_0x428d19=_0x430929===_0x18d4e2[_0x5c7c1f(0x36e)],_0x34a523=_0x430929===_0x18d4e2[_0x5c7c1f(0x2c2)],_0x4d69e4=_0x430929===_0x18d4e2[_0x5c7c1f(0x23f)],_0x79776b=_0x40d255[_0x5c7c1f(0x3e9)](_0x430929,_0x18d4e2[_0x5c7c1f(0x3b4)]),_0x5c8844=_0x430929===_0x18d4e2['Relation'],_0x337e5c=_0x430929===_0x18d4e2[_0x5c7c1f(0x2e3)],_0x4e31bc=_0x430929===_0x18d4e2['Pareto'],_0xfbf927=_0x430929===_0x18d4e2[_0x5c7c1f(0x48d)],_0x24d6ce,_0x2f09a0;switch(_0x430929){case _0x18d4e2[_0x5c7c1f(0x27a)]:_0x24d6ce=_0x1781f5['Candlestick'],_0x2f09a0=_0x4280e8['t']('sheets-chart-ui.section.candlestick');break;case _0x18d4e2[_0x5c7c1f(0x49a)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x49a)],_0x2f09a0=_0x4280e8['t']('sheets-chart-ui.section.histogram');break;case _0x18d4e2[_0x5c7c1f(0x406)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x406)],_0x2f09a0=_0x4280e8['t'](_0x5c7c1f(0x34a));break;case _0x18d4e2['Sunburst']:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x1d0)],_0x2f09a0=_0x4280e8['t'](_0x5c7c1f(0x47f));break;case _0x18d4e2[_0x5c7c1f(0x27c)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x27c)],_0x2f09a0=_0x4280e8['t']('sheets-chart-ui.section.gauge');break;case _0x18d4e2[_0x5c7c1f(0x218)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x218)],_0x2f09a0=_0x4280e8['t'](_0x5c7c1f(0x427));}let _0x4376f8=_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x297)])&&!_0x79776b&&!_0x4e31bc;return _0x48f77f(_0x160cf1,{'value':_0x4bd659,'onChange':_0x20fd53,'children':[_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x327)],'label':_0x4280e8['t'](_0x5c7c1f(0x409)),'children':_0x2f8009(_0x47ca4f,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['style']})}),_0x2f8009(Z,{'id':_0x1781f5['ChartAndAxisTitles'],'label':_0x4280e8['t'](_0x5c7c1f(0x235)),'children':_0x2f8009(_0x5aecd9,{'commitMode':_0x5c7c1f(0x2aa),'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x41f)],'selectedTitleKey':_0x167551==null?void 0x0:_0x167551[_0x5c7c1f(0x494)]})}),_0x2f8009(_0x5ced47,{'section':_0x5c7c1f(0x3ff)}),_0x4376f8&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x1dc)],'label':_0x4280e8['t']('sheets-chart-ui.common.series'),'children':_0x2f8009(_0x174135,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x1ff)],'NumberFormatField':_0x34dedf,'selectedSeriesId':_0x167551==null?void 0x0:_0x167551[_0x5c7c1f(0x33a)]})}),_0x337e5c&&_0x2f8009(Z,{'id':_0x1781f5['WaterfallSeries'],'label':_0x4280e8['t'](_0x5c7c1f(0x1ea)),'children':_0x2f8009(_0x2938a9,{'defaultValues':_0x1242f6['defaultValues'][_0x5c7c1f(0x20c)],'getDefaultBucketName':({seriesName:_0x1f9279,target:_0x1d0330})=>_0x1d0330===_0x117c24[_0x5c7c1f(0x3e2)]?_0x4280e8['t'](_0x5c7c1f(0x424)):_0x1f9279?_0x1f9279+'-('+_0x4280e8['t'](_0x1d0330===_0x117c24[_0x5c7c1f(0x2c1)]?_0x5c7c1f(0x396):'sheets-chart-ui.waterfall.negative')+')':'','NumberFormatField':_0x34dedf,'selectedSeriesId':_0x167551==null?void 0x0:_0x167551[_0x5c7c1f(0x33a)]})}),_0x4e31bc&&_0x48f77f(_0x36736c,{'children':[_0x2f8009(Z,{'id':_0x1781f5['ParetoBarSeries'],'label':_0x4280e8['t'](_0x5c7c1f(0x3e8)),'children':_0x2f8009(_0x3f4d48,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x433)],'NumberFormatField':_0x34dedf,'showDataPointEditor':!0x0,'target':_0x5c7c1f(0x280)})}),_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2b1)],'label':_0x4280e8['t'](_0x5c7c1f(0x416)),'children':_0x2f8009(_0x3f4d48,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x433)],'NumberFormatField':_0x34dedf,'showDataPointEditor':!0x1,'target':_0x5c7c1f(0x2ce)})})]}),_0x4c9eff&&_0x2f8009(Z,{'id':_0x1781f5['PieStyle'],'label':_0x4280e8['t'](_0x5c7c1f(0x49b)),'children':_0x2f8009(_0x59d704,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x365)],'NumberFormatField':_0x34dedf})}),_0x34a523&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2c2)],'label':_0x4280e8['t'](_0x5c7c1f(0x442)),'children':_0x2f8009(_0x4b785,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x1de)]})}),_0x428d19&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x36e)],'label':_0x4280e8['t'](_0x5c7c1f(0x24d)),'children':_0x2f8009(_0x3f9639,{'defaultValues':_0x1242f6['defaultValues'][_0x5c7c1f(0x3e0)]})}),_0x4d69e4&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x23f)],'label':_0x4280e8['t'](_0x5c7c1f(0x255)),'children':_0x2f8009(_0x3cf98c,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['funnel'],'gapControl':_0x5c7c1f(0x430)})}),_0xfbf927&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x48d)],'label':_0x4280e8['t'](_0x5c7c1f(0x22a)),'children':_0x2f8009(_0x13f9c4,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x3c0)]})}),_0x5c8844&&_0x2f8009(Z,{'id':_0x1781f5['Relation'],'label':_0x4280e8['t'](_0x5c7c1f(0x215)),'children':_0x2f8009(_0x5e8dd6,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x434)]})}),_0x4f08c2(_0x430929)&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x1bd)],'label':_0x4280e8['t'](_0x40d255[_0x5c7c1f(0x3e9)](_0x430929,_0x18d4e2[_0x5c7c1f(0x1b4)])?'sheets-chart-ui.chartTypes.area':_0x5c7c1f(0x373)),'children':_0x2f8009(_0x821aeb,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['lineAndArea'],'lineStyleControl':'segmented'})}),_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x2dc)])&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2dc)],'label':_0x4280e8['t'](_0x5c7c1f(0x3e6)),'children':_0x2f8009(_0x15915d,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['legend']})}),_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x3c2)])&&_0x48f77f(_0x36736c,{'children':[_0x2f8009(Z,{'id':_0x1781f5['HorizontalAxis'],'label':_0x4280e8['t'](_0x5c7c1f(0x40c)),'children':_0x2f8009(_0x3bfe6d,{'axis':'x','defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['axis'],'NumberFormatField':_0x34dedf})}),_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x1fb)],'label':_0x4280e8['t']('sheets-chart-ui.common.verticalAxis'),'children':_0x2f8009(_0x3bfe6d,{'axis':'y','defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x2e1)],'NumberFormatField':_0x34dedf})}),_0x2f8009(_0x5ced47,{'section':'depthAxis'}),_0x4d9401&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2bd)],'label':_0x4280e8['t'](_0x5c7c1f(0x3d1)),'children':_0x2f8009(_0x3bfe6d,{'axis':_0x5c7c1f(0x422),'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['axis'],'NumberFormatField':_0x34dedf})}),_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x368)],'label':_0x4280e8['t'](_0x5c7c1f(0x38c)),'children':_0x2f8009(_0x40c39d,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x2e1)]})})]}),_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x476)])&&_0x2f8009(Z,{'id':_0x1781f5['IndicatorLine'],'label':_0x4280e8['t']('sheets-chart-ui.section.indicatorLine'),'children':_0x2f8009(_0x41c24a,{'defaultValues':_0x1242f6['defaultValues']['indicatorLine']})}),_0x1556b5(_0x430929)&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x437)],'label':_0x4280e8['t']('sheets-chart-ui.common.trendline'),'children':_0x2f8009(_0x5c9d76,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x2da)]})}),_0x24d6ce&&_0x2f09a0&&_0x2f8009(Z,{'id':_0x24d6ce,'label':_0x2f09a0,'children':_0x2f8009(_0x11bae9,{})})]});};function Ti(_0x80190f){const _0x37d1a9=_0x568f44;let {className:_0x3d228d}=_0x80190f,[_0x3ddc9b,_0x2161ba]=_0x3e5ae0(_0x5f40c4['Data']),_0x1a3b5f=_0x4f2768(_0x363c1f),_0x1c0936=_0x4f2768(_0x565815),_0x5dd4c0=_0x4f2768(X),_0x26c381=_0x4f2768(_0x813c91),_0x47ebb2=_0x4f2768(_0x42909b),_0x30ed70=_0x1685e2(_0x26c381[_0x37d1a9(0x46a)],_0x26c381[_0x37d1a9(0x2d0)]),_0x3bfd44=_0x1685e2(_0x5dd4c0[_0x37d1a9(0x1af)],null),_0x2b4296=_0x1c5e24(()=>{const _0x1611fd=_0x37d1a9;var _0x3c5f65;if(!_0x30ed70)return null;let _0x2c0eb0=_0x47ebb2['getChartSourceSpec'](_0x30ed70['id']);if(!_0x2c0eb0)return null;let _0x137225=Array[_0x1611fd(0x21d)](_0x2c0eb0)?(_0x3c5f65=_0x2c0eb0[0x0])==null?void 0x0:_0x3c5f65[_0x1611fd(0x338)]:_0x2c0eb0[_0x1611fd(0x247)];return _0x137225?new _0x31f947(_0x30ed70,new _0x212bb6({'unitId':_0x137225[_0x1611fd(0x45f)],'subUnitId':_0x137225['subUnitId'],'chartId':_0x30ed70['id'],'injector':_0x1a3b5f})):null;},[_0x30ed70,_0x1a3b5f,_0x47ebb2]);if(_0x2b9eea(()=>{const _0x5e633d=_0x37d1a9;var _0x4638d4,_0x544a9b;_0x30ed70&&(_0x3bfd44==null?void 0x0:_0x3bfd44[_0x5e633d(0x43d)])===_0x30ed70['id']&&(((_0x4638d4=_0x3bfd44[_0x5e633d(0x27e)])==null?void 0x0:_0x4638d4[_0x5e633d(0x408)])===_0x5f40c4[_0x5e633d(0x2d9)]&&_0x2161ba(_0x5f40c4[_0x5e633d(0x2d9)]),((_0x544a9b=_0x3bfd44[_0x5e633d(0x27e)])==null?void 0x0:_0x544a9b['tab'])===_0x5f40c4[_0x5e633d(0x1c9)]&&_0x2161ba(_0x5f40c4[_0x5e633d(0x1c9)]));},[_0x30ed70,_0x3bfd44]),!_0x2b4296)return null;let _0x2abd49=_0x2f8009('div',{'className':_0x37d1a9(0x24f)+(_0x3ddc9b===_0x5f40c4[_0x37d1a9(0x2d9)]?_0x37d1a9(0x1f9):_0x37d1a9(0x44a))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3d228d??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x2f8009(_0x2e879b,{'ariaLabel':_0x1c0936['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x3ddc9b,'onTabChange':_0x2161ba,'tabListClassName':_0x37d1a9(0x3bd),'panelClassName':_0x3ddc9b===_0x5f40c4['Style']?_0x37d1a9(0x498):void 0x0,'tabs':[{'id':_0x5f40c4[_0x37d1a9(0x1c9)],'panelId':Di,'title':_0x1c0936['t'](_0x37d1a9(0x1ef)),'content':_0x2f8009(Si,{})},{'id':_0x5f40c4[_0x37d1a9(0x2d9)],'panelId':Oi,'title':_0x1c0936['t'](_0x37d1a9(0x264)),'content':_0x2f8009(wi,{'defaultValues':yi})}]})});return _0x2f8009(_0x45cd6c,{'chartUIService':_0x5dd4c0,'hostAdapter':_0x2b4296,'children':_0x2abd49});}const Ei=_0x568f44(0x216),Di='sheet-chart-setup-panel',Oi=_0x568f44(0x25e);function ki(_0x551554){return _0x551554['length']===0x1&&Ai(_0x551554[0x0]);}function Ai(_0x59783b){const _0x47f5fd=_0x568f44;return(_0x59783b==null?void 0x0:_0x59783b['drawingType'])===_0x30e73a[_0x47f5fd(0x312)]&&!_0x59783b[_0x47f5fd(0x43f)];}let ji=class extends _0x32a96b{constructor(_0x39479f,_0x31fc5e,_0x4cd9df,_0x40aeff,_0x5199ac,_0x66d32b,_0x1c8b62,_0x5c0b1a,_0x1cc57b,_0x2a2104,_0x454a9b,_0x343477,_0x3f456e,_0x2dcf8f,_0x530688){const _0x6df317=_0x568f44;var _0x46fc10;super(),this['_drawingManagerService']=_0x39479f,this['_univerInstanceService']=_0x31fc5e,this['_chartModelService']=_0x4cd9df,this[_0x6df317(0x383)]=_0x40aeff,this[_0x6df317(0x36d)]=_0x5199ac,this['_sheetDrawingHitTestService']=_0x66d32b,this['_sidebarService']=_0x1c8b62,this[_0x6df317(0x3ba)]=_0x5c0b1a,this['_sheetCanvasFloatDomManagerService']=_0x1cc57b,this['_sheetCanvasPopManagerService']=_0x2a2104,this[_0x6df317(0x42b)]=_0x454a9b,this['_sheetsChartUIService']=_0x343477,this[_0x6df317(0x3ec)]=_0x3f456e,this[_0x6df317(0x244)]=_0x2dcf8f,G(this,'_sidebarDisposable',null),G(this,_0x6df317(0x2d3),void 0x0),this[_0x6df317(0x2d3)]=((_0x46fc10=_0x530688['getConfig']('sheets-chart-ui.config'))==null?void 0x0:_0x46fc10['enableChartElementFloatMenu'])===!0x0,this['_initMenus'](),this[_0x6df317(0x349)](this[_0x6df317(0x42c)][_0x6df317(0x351)](_0x1878f2[_0x6df317(0x352)])[_0x6df317(0x21f)](_0x4880ee=>{const _0x4a006c=_0x6df317;var _0x1eea51;_0x4880ee||(_0x1eea51=this[_0x4a006c(0x21c)])==null||_0x1eea51[_0x4a006c(0x3d3)]();})),this[_0x6df317(0x349)](_0x2d1683(this['_sheetDrawingHitTestService']['onDoubleClick$'][_0x6df317(0x21f)](async({drawing:_0x172179})=>{await this['_handleDrawingDoubleClick'](_0x172179);})));}[_0x568f44(0x3c5)](){const _0x2ee5a=_0x568f44;this[_0x2ee5a(0x21c)]=this[_0x2ee5a(0x2a9)][_0x2ee5a(0x245)]({'id':Ei,'header':{'title':this[_0x2ee5a(0x244)]['t'](_0x2ee5a(0x36a))},'width':0x154,'children':{'label':Ei},'onClose':()=>{const _0xead910=_0x2ee5a;this['_sidebarDisposable']=null,this[_0xead910(0x35d)](),this[_0xead910(0x3bf)][_0xead910(0x2d0)]&&this[_0xead910(0x3bf)]['setActiveChartModel'](null),this[_0xead910(0x42f)][_0xead910(0x315)](null),this['_contextService'][_0xead910(0x302)](_0x4ec8e1,!0x1);}});}[_0x568f44(0x328)](){const _0x5916fa=_0x568f44;let _0x5f8a35=this[_0x5916fa(0x21c)];this['_sidebarDisposable']=null,this[_0x5916fa(0x35d)](),this[_0x5916fa(0x3bf)][_0x5916fa(0x2d0)]&&this[_0x5916fa(0x3bf)]['setActiveChartModel'](null),_0x5f8a35==null||_0x5f8a35['dispose']();}['initPanel'](){const _0x2256a0=_0x568f44;let _0x25a061=this[_0x2256a0(0x42c)][_0x2256a0(0x2cb)](_0x1878f2['UNIVER_SHEET']);this[_0x2256a0(0x349)](this['_sidebarService'][_0x2256a0(0x3b5)][_0x2256a0(0x21f)](_0x4d27c8=>{const _0x382a11=_0x2256a0;_0x4d27c8['id']===_0x382a11(0x216)&&(_0x4d27c8[_0x382a11(0x460)]||this[_0x382a11(0x2a9)][_0x382a11(0x3b5)][_0x382a11(0x3f1)]({'visible':!0x1}));})),this[_0x2256a0(0x349)](_0x4d9f86([this[_0x2256a0(0x3bf)]['activeChartModel$'],this[_0x2256a0(0x2a1)]['chartEditorOpen$']])[_0x2256a0(0x277)](_0x448995(([_0x332b89,_0xb0439e])=>_0xb0439e?(_0x332b89==null?void 0x0:_0x332b89['id'])??null:null),_0x9fa683(),_0x489f7e(null),_0x4ed551())[_0x2256a0(0x21f)](([_0x4dcc49,_0x5384d5])=>{const _0x262d01=_0x2256a0;this[_0x262d01(0x272)](_0x4dcc49,_0x5384d5);})),this[_0x2256a0(0x349)](this[_0x2256a0(0x3bf)][_0x2256a0(0x46a)][_0x2256a0(0x21f)](_0x3e3486=>{!_0x3e3486&&this['_sidebarDisposable']&&this['hidePanel']();})),this[_0x2256a0(0x349)](this[_0x2256a0(0x42b)][_0x2256a0(0x256)](_0x1540d3=>{const _0x4d44f0=_0x2256a0;if(_0x1540d3['id']===U['id']){let _0xcda278=_0x1540d3['params'];if(!Ai(this[_0x4d44f0(0x42f)]['getDrawingByParam']({'unitId':_0xcda278[_0x4d44f0(0x45f)],'subUnitId':_0xcda278[_0x4d44f0(0x206)],'drawingId':_0xcda278['drawingId']})))return;this[_0x4d44f0(0x284)](_0xcda278[_0x4d44f0(0x2e0)],_0xcda278['route']);}if(_0x1540d3['id']===wr['id']&&this[_0x4d44f0(0x328)](),_0x1540d3['id']===_0x2f36b6['id']){var _0x175db6;_0x1540d3['params'][_0x4d44f0(0x43d)]===((_0x175db6=this[_0x4d44f0(0x3bf)][_0x4d44f0(0x2d0)])==null?void 0x0:_0x175db6['id'])&&this[_0x4d44f0(0x328)](),this[_0x4d44f0(0x3ec)][_0x4d44f0(0x3cd)](_0x4ec8e1)&&(this[_0x4d44f0(0x3ec)]['setContextValue'](_0x4ec8e1,!0x1),this[_0x4d44f0(0x42f)]['focusDrawing'](null));}})),this['disposeWithMe'](this[_0x2256a0(0x40b)][_0x2256a0(0x1c7)][_0x2256a0(0x21f)](({id:_0x2e021d})=>{const _0x844b2=_0x2256a0;this[_0x844b2(0x2a1)][_0x844b2(0x31d)](_0x2e021d)&&this[_0x844b2(0x328)]();})),this['disposeWithMe'](this[_0x2256a0(0x40b)][_0x2256a0(0x2f4)][_0x2256a0(0x21f)](({id:_0x4cb55e})=>{const _0x2f553f=_0x2256a0;this[_0x2f553f(0x2a1)][_0x2f553f(0x31d)](_0x4cb55e)&&(this[_0x2f553f(0x2a1)][_0x2f553f(0x1c4)](),this['_chartRenderService'][_0x2f553f(0x219)](_0x4cb55e,!0x1),this[_0x2f553f(0x3f3)](_0x4cb55e)&&this[_0x2f553f(0x36d)][_0x2f553f(0x219)](_0x4cb55e,!0x0));})),this['disposeWithMe'](this[_0x2256a0(0x42f)][_0x2256a0(0x1e8)]['subscribe'](_0x50d100=>{const _0x35d933=_0x2256a0;let _0x1e6aff=_0x50d100[0x0];if(!this['_sheetsChartUIService'][_0x35d933(0x436)]){if(ki(_0x50d100)){var _0x50b446;let _0x61f410=this['_chartModelService'][_0x35d933(0x250)](_0x1e6aff[_0x35d933(0x2e0)]);_0x61f410&&this[_0x35d933(0x2d8)](_0x61f410['id'])&&((_0x50b446=this[_0x35d933(0x3bf)]['activeChartModel'])==null?void 0x0:_0x50b446['id'])!==_0x61f410['id']&&this[_0x35d933(0x3bf)]['setActiveChartModel'](_0x61f410);}else this[_0x35d933(0x3bf)]['activeChartModel']&&this[_0x35d933(0x3bf)]['setActiveChartModel'](null),!_0x1e6aff&&!this[_0x35d933(0x2a1)][_0x35d933(0x436)]&&this[_0x35d933(0x328)]();}})),_0x25a061&&(this[_0x2256a0(0x349)](_0x25a061[_0x2256a0(0x496)][_0x2256a0(0x21f)](()=>{const _0x17bf9c=_0x2256a0;this[_0x17bf9c(0x328)]();})),this[_0x2256a0(0x349)](_0x25a061['activeSheet$'][_0x2256a0(0x21f)](()=>{const _0x3406aa=_0x2256a0;this[_0x3406aa(0x328)]();})));}async['_handleDrawingDoubleClick'](_0x3d0cbd){const _0x1a6a64=_0x568f44;this[_0x1a6a64(0x2a1)][_0x1a6a64(0x33b)]||Ai(_0x3d0cbd)&&this[_0x1a6a64(0x2d8)](_0x3d0cbd['drawingId'])&&await this['_openEditPanelByDoubleClick'](_0x3d0cbd['unitId'],_0x3d0cbd[_0x1a6a64(0x206)],_0x3d0cbd['drawingId']);}async[_0x568f44(0x41c)](_0x1de6e0,_0x7897a4,_0x512dc2){const _0x3fcb56=_0x568f44;this[_0x3fcb56(0x3bf)][_0x3fcb56(0x250)](_0x512dc2)&&this[_0x3fcb56(0x2d8)](_0x512dc2)&&await this['_commandService']['executeCommand'](U['id'],{'unitId':_0x1de6e0,'subUnitId':_0x7897a4,'drawingId':_0x512dc2});}[_0x568f44(0x284)](_0x25d8a8,_0x269acb){const _0xe18d0a=_0x568f44;let _0x592241=this[_0xe18d0a(0x3bf)]['getChartModel'](_0x25d8a8);_0x592241&&this[_0xe18d0a(0x2d8)](_0x25d8a8)&&(this[_0xe18d0a(0x3bf)][_0xe18d0a(0x40d)](_0x592241),this[_0xe18d0a(0x3c5)](),this[_0xe18d0a(0x431)](_0x25d8a8,_0x269acb??null));}[_0x568f44(0x431)](_0x4ca463,_0x3a1e26){const _0x455fbb=_0x568f44;this['_sheetsChartUIService'][_0x455fbb(0x36c)](!0x0),this[_0x455fbb(0x2a1)][_0x455fbb(0x45c)](_0x4ca463,_0x3a1e26);}['_deactivateEditPanelState'](){const _0x4d6054=_0x568f44;this[_0x4d6054(0x2a1)][_0x4d6054(0x36c)](!0x1);}[_0x568f44(0x272)](_0x16d06a,_0x4be5e3){const _0x2a46ee=_0x568f44;_0x16d06a!==_0x4be5e3&&(_0x16d06a&&this[_0x2a46ee(0x36d)]['setElementEditMode'](_0x16d06a,!0x1),this[_0x2a46ee(0x2a1)][_0x2a46ee(0x1c4)](),_0x4be5e3&&(this['_sheetsChartUIService'][_0x2a46ee(0x45c)](_0x4be5e3,null),this['_chartRenderService'][_0x2a46ee(0x219)](_0x4be5e3,this[_0x2a46ee(0x3f3)](_0x4be5e3))));}[_0x568f44(0x309)](){const _0x303700=_0x568f44;this[_0x303700(0x3ba)][_0x303700(0x3ed)](Hr),this[_0x303700(0x48e)][_0x303700(0x1d7)](_0x30e73a[_0x303700(0x312)],this[_0x303700(0x2d4)][_0x303700(0x398)](this));}['_shouldEnableChartElementEdit'](_0x122878){const _0x11ab3c=_0x568f44;let _0x1301fc=this['_chartModelService'][_0x11ab3c(0x250)](_0x122878);return!this['_isChartElementEditEnabled']||!_0x1301fc||!this[_0x11ab3c(0x2d8)](_0x122878)?!0x1:Wr(_0x1301fc[_0x11ab3c(0x443)]);}[_0x568f44(0x2d4)](_0x371046,_0x3be012,_0xf2c8bf,_0x649331){const _0x53949f=_0x568f44;if(!this[_0x53949f(0x3bf)][_0x53949f(0x250)](_0xf2c8bf))return[];let _0x89c0cf=[{'label':this[_0x53949f(0x244)]['t'](_0x53949f(0x3c9)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x371046,'subUnitId':_0x3be012,'drawingId':_0xf2c8bf},'disable':_0x649331!==_0x30e73a[_0x53949f(0x312)]}];return this[_0x53949f(0x2d8)](_0xf2c8bf)?[..._0x89c0cf,{'label':this[_0x53949f(0x244)]['t'](_0x53949f(0x445)),'index':0x1,'commandId':_0x77c0fa['id'],'commandParams':{'unitId':_0x371046,'drawings':[{'unitId':_0x371046,'subUnitId':_0x3be012,'drawingId':_0xf2c8bf,'drawingType':_0x649331}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x53949f(0x281)),'index':0x2,'commandId':wr['id'],'commandParams':{'unitId':_0x371046,'subUnitId':_0x3be012,'drawingId':_0xf2c8bf},'disable':!0x1}]:_0x89c0cf;}[_0x568f44(0x2d8)](_0x54ca6c){return this['_sheetsChartService']['getChartSourceSpec'](_0x54ca6c)!==void 0x0;}};ji=J([q(0x0,_0x1506f9),q(0x1,_0x16f441),q(0x2,_0x563aa6(_0x813c91)),q(0x3,_0x563aa6(_0x42909b)),q(0x4,_0x563aa6(Y)),q(0x5,_0x563aa6(_0x511ac0)),q(0x6,_0x563aa6(_0x5ccc92)),q(0x7,_0x4e7db),q(0x8,_0x563aa6(_0x3a2ef5)),q(0x9,_0x563aa6(_0x5608a1)),q(0xa,_0x5729da),q(0xb,X),q(0xc,_0x1e8f48),q(0xd,_0x563aa6(_0x565815)),q(0xe,_0x4fc0b3)],ji);var Mi=_0x568f44(0x2ad),Ni=_0x568f44(0x497);let Pi=class extends _0x32a96b{constructor(_0x4f57ff,_0x43c277){const _0x387138=_0x568f44;super(),this[_0x387138(0x287)]=_0x4f57ff,this[_0x387138(0x3bf)]=_0x43c277,this[_0x387138(0x1da)]();}[_0x568f44(0x1da)](){const _0x256a64=_0x568f44;this[_0x256a64(0x349)](this[_0x256a64(0x287)][_0x256a64(0x276)][_0x256a64(0x21f)](_0x90d1ab=>{const _0x346265=_0x256a64;this[_0x346265(0x3bf)][_0x346265(0x2a3)](_0x90d1ab);}));}};Pi=J([q(0x0,pi),q(0x1,_0x563aa6(_0x813c91))],Pi);let Fi=class extends _0x32a96b{constructor(_0x2ec13c,_0x432c4f,_0x4ea2d7,_0x1df49d,_0x40dcad,_0x9bfb7a){const _0x433af6=_0x568f44;super(),this[_0x433af6(0x3bf)]=_0x2ec13c,this[_0x433af6(0x36d)]=_0x432c4f,this[_0x433af6(0x244)]=_0x4ea2d7,this[_0x433af6(0x270)]=_0x1df49d,this[_0x433af6(0x42b)]=_0x40dcad,this[_0x433af6(0x46d)]=_0x9bfb7a,G(this,'_pendingMutationConfigRenders',new Map()),G(this,_0x433af6(0x239),new Set()),this[_0x433af6(0x1da)](),this[_0x433af6(0x3d6)](),this[_0x433af6(0x301)]();}['_initPrinting'](){const _0x5e13e2=_0x568f44;this[_0x5e13e2(0x349)](this[_0x5e13e2(0x46d)][_0x5e13e2(0x43a)][_0x5e13e2(0x210)](this[_0x5e13e2(0x46d)][_0x5e13e2(0x43a)][_0x5e13e2(0x222)]()[_0x5e13e2(0x348)],{'handler':(_0x3732b5,_0x177f97,_0x163584)=>{const _0x3de501=_0x5e13e2;let _0x46543a=this[_0x3de501(0x36d)][_0x3de501(0x479)](_0x177f97[_0x3de501(0x45f)],_0x177f97[_0x3de501(0x206)],_0x177f97[_0x3de501(0x472)]);return _0x177f97['resourceCollector']['add'](_0x46543a),_0x163584(_0x3732b5);}}));}[_0x568f44(0x1da)](){const _0x14c69d=_0x568f44;this[_0x14c69d(0x349)](this['_chartModelService'][_0x14c69d(0x452)][_0x14c69d(0x21f)](_0x28ef28=>{const _0x1da7f5=_0x14c69d;if(_0x28ef28){let _0x3f2f5b=new _0x3b9cf9();_0x3f2f5b[_0x1da7f5(0x371)](_0x28ef28[_0x1da7f5(0x2f1)][_0x1da7f5(0x277)](_0xce7639(_0x5458a9=>_0x5458a9[_0x1da7f5(0x3af)][_0x1da7f5(0x277)](_0x464565(0x1))))['subscribe'](()=>{const _0xc03f4e=_0x1da7f5;this['_pendingDataUpdateChartIds'][_0xc03f4e(0x371)](_0x28ef28['id']);})),_0x3f2f5b[_0x1da7f5(0x371)](_0x28ef28[_0x1da7f5(0x2c9)][_0x1da7f5(0x277)](_0x55b45b(_0x28ef28[_0x1da7f5(0x3ca)]),_0x55b45b(this[_0x1da7f5(0x244)]['direction$']),_0x3670fa(0x64))['subscribe'](([[_0x540784,_0xacee99],_0x34cd9b])=>{const _0xa1419e=_0x1da7f5;var _0xe21e8f;if(!_0x540784)return;(_0xe21e8f=_0x540784[_0xa1419e(0x3de)])==null||_0xe21e8f[_0xa1419e(0x47c)]['forEach']((_0x1a5b6a,_0x51abe5)=>{_0x1a5b6a['label']||=this['_localeService']['t']('sheets-chart-ui.common.category')+'\x20'+(_0x51abe5+0x1);}),_0x540784[_0xa1419e(0x1ff)][_0xa1419e(0x3ac)]((_0x1dacd7,_0x4338b5)=>{const _0x1c1fc1=_0xa1419e;_0x1dacd7[_0x1c1fc1(0x3ee)]||=this['_localeService']['t'](_0x1c1fc1(0x2a8))+'\x20'+(_0x4338b5+0x1);});let _0x271ad2=this[_0xa1419e(0x36d)]['createRuntimeChartStyle'](_0x28ef28,_0x34cd9b),_0x4285e5=this[_0xa1419e(0x239)][_0xa1419e(0x2e5)](_0x28ef28['id']);this[_0xa1419e(0x36d)][_0xa1419e(0x311)](_0x28ef28['id'],_0x540784,_0x271ad2,{'animateDataUpdate':_0x4285e5});})),_0x28ef28[_0x1da7f5(0x474)](()=>{const _0xffd705=_0x1da7f5;this['_pendingDataUpdateChartIds'][_0xffd705(0x2e5)](_0x28ef28['id']),_0x3f2f5b[_0xffd705(0x3d3)]();});}}));}[_0x568f44(0x3d6)](){const _0x18ed8c=_0x568f44;this['disposeWithMe'](this[_0x18ed8c(0x42b)][_0x18ed8c(0x256)](_0x53b1d0=>{const _0x1b3eab=_0x18ed8c;if(_0x53b1d0['id']!==_0x2d7535['id'])return;let _0x3f59ed=_0x53b1d0[_0x1b3eab(0x337)];_0x3f59ed!=null&&_0x3f59ed[_0x1b3eab(0x1db)]&&Promise[_0x1b3eab(0x369)]()['then'](()=>this[_0x1b3eab(0x41d)](_0x3f59ed));}));}[_0x568f44(0x41d)](_0x4384e7){const _0x12265e=_0x568f44;let _0x5afc27=this['_chartModelService']['getChartModel'](_0x4384e7['chartModelId']);if(!_0x5afc27||_0x5afc27[_0x12265e(0x443)]!==_0x18d4e2['WordCloud'])return;let _0x3241c3=_0x5afc27['config'];_0x3241c3?this['_renderChartModel'](_0x5afc27,_0x3241c3):this[_0x12265e(0x1ed)](_0x5afc27);}[_0x568f44(0x1ed)](_0x2fe19d){const _0x5561dc=_0x568f44;if(this[_0x5561dc(0x237)]['get'](_0x2fe19d['id']))return;let _0x48aae2=_0x2fe19d[_0x5561dc(0x2c9)][_0x5561dc(0x277)](_0x463ec2(_0x4000bd=>_0x4000bd!=null),_0x421ce1(0x1))[_0x5561dc(0x21f)](_0xb042c6=>{const _0x28610f=_0x5561dc;this[_0x28610f(0x237)][_0x28610f(0x2e5)](_0x2fe19d['id']),this[_0x28610f(0x3a3)](_0x2fe19d,_0xb042c6);});this[_0x5561dc(0x237)]['set'](_0x2fe19d['id'],_0x48aae2),_0x2fe19d['onDispose'](()=>{const _0x23c920=_0x5561dc;_0x48aae2['unsubscribe'](),this[_0x23c920(0x237)][_0x23c920(0x2e5)](_0x2fe19d['id']);});}[_0x568f44(0x3a3)](_0xcd2a2b,_0x205df1){const _0x40e166=_0x568f44;let _0x401804=this[_0x40e166(0x36d)][_0x40e166(0x1b9)](_0xcd2a2b,this['_localeService']['getDirection']());this[_0x40e166(0x36d)][_0x40e166(0x311)](_0xcd2a2b['id'],_0x205df1,_0x401804);}};Fi=J([q(0x0,_0x563aa6(_0x813c91)),q(0x1,_0x563aa6(Y)),q(0x2,_0x563aa6(_0x565815)),q(0x3,X),q(0x4,_0x5729da),q(0x5,_0x563aa6(_0x280361))],Fi);function Ii(_0x4748c8,_0xb5a898){const _0x1f1359=_0x568f44;return _0x4748c8[_0x1f1359(0x45f)]!==_0xb5a898[_0x1f1359(0x45f)]||_0x4748c8['subUnitId']!==_0xb5a898['sourceSubUnitId']?_0x4748c8:{..._0x4748c8,'subUnitId':_0xb5a898[_0x1f1359(0x32c)]};}function Li(_0x456989,_0x21983b){const _0x48cdd7=_0x568f44;return(_0x456989==null?void 0x0:_0x456989['type'])===_0xe5b562[_0x48cdd7(0x2f0)]?{..._0x456989,'source':Ii(_0x456989[_0x48cdd7(0x1ee)],_0x21983b)}:_0x456989;}function Ri(_0x51ff65,_0xb39c49){const _0x246b43=_0x568f44;let {rangeInfo:_0x11eb4b}=_0x51ff65;return Array['isArray'](_0x11eb4b)?{..._0x51ff65,'rangeInfo':_0x11eb4b[_0x246b43(0x2ab)](_0x979cbf=>({..._0x979cbf,..._0x979cbf[_0x246b43(0x220)]?{'header':Li(_0x979cbf['header'],_0xb39c49)}:{},'range':Ii(_0x979cbf['range'],_0xb39c49)}))}:{..._0x51ff65,'rangeInfo':{..._0x11eb4b,..._0x11eb4b[_0x246b43(0x220)]?{'header':{..._0x11eb4b[_0x246b43(0x220)],..._0x11eb4b[_0x246b43(0x220)]['titles']?{'titles':zi(_0x11eb4b[_0x246b43(0x220)]['titles'],_0xb39c49)}:{}}}:{},'rangeInfo':Ii(_0x11eb4b['rangeInfo'],_0xb39c49)}};}function zi(_0x20c250,_0x3ea728){const _0x5085c9=_0x568f44;return _0x20c250[_0x5085c9(0x2b9)]===_0xe5b562[_0x5085c9(0x22b)]?{..._0x20c250,'values':{..._0x20c250['values']}}:_0x20c250['type']===_0xe5b562[_0x5085c9(0x202)]?{..._0x20c250,'values':Object[_0x5085c9(0x32d)](Object[_0x5085c9(0x1e9)](_0x20c250[_0x5085c9(0x3b2)])['map'](([_0x53966b,_0x452086])=>[_0x53966b,_0x452086&&Ii(_0x452086,_0x3ea728)]))}:{..._0x20c250,'values':Object[_0x5085c9(0x32d)](Object[_0x5085c9(0x1e9)](_0x20c250[_0x5085c9(0x3b2)])[_0x5085c9(0x2ab)](([_0x4ad668,_0x589769])=>[_0x4ad668,_0x589769&&Li(_0x589769,_0x3ea728)]))};}function Bi(_0x2549e6,_0x56c65d,_0xe369e0,_0x3fb541){const _0x17148e=_0x568f44;let _0x2eb338=_0x2063c6(_0x2549e6,_0x56c65d,_0xe369e0),_0x554081=[];for(let _0x2d07f1 of _0x56c65d){let _0x40129b=_0x2eb338[_0x17148e(0x273)][_0x17148e(0x37e)](_0x2d07f1[_0x17148e(0x2e0)]),_0x532ece=_0x3fb541(_0x2d07f1);_0x40129b&&_0x532ece&&_0x554081[_0x17148e(0x3f5)]({'targetChartId':_0x40129b,'source':Ri(_0x532ece,_0xe369e0)});}return _0x554081;}let Vi=class extends _0x32a96b{constructor(_0x43de4f,_0x6cd031,_0x3b94b0,_0x2bbb24,_0x3a4bb4){const _0x527305=_0x568f44;super(),this[_0x527305(0x42c)]=_0x43de4f,this[_0x527305(0x221)]=_0x6cd031,this[_0x527305(0x25d)]=_0x3b94b0,this[_0x527305(0x3bf)]=_0x2bbb24,this[_0x527305(0x383)]=_0x3a4bb4,this[_0x527305(0x3b7)]();}['_initSheetChange'](){const _0x1b8a19=_0x568f44;this[_0x1b8a19(0x349)](this[_0x1b8a19(0x221)][_0x1b8a19(0x27d)]({'getMutations':_0x44fcc5=>{const _0x2afdbf=_0x1b8a19;if(_0x44fcc5['id']===_0xd68d63['id']){let _0x3bfbf8=_0x43665e(this[_0x2afdbf(0x42c)],_0x44fcc5['params']);if(!_0x3bfbf8)return{'redos':[],'undos':[]};let {unitId:_0xfc5561,subUnitId:_0x2303e2}=_0x3bfbf8,_0x512463=this['_sheetDrawingService']['getDrawingData'](_0xfc5561,_0x2303e2),_0x1acccf=Object['values'](_0x512463)[_0x2afdbf(0x26b)](_0x4079f3=>_0x4079f3['drawingType']===_0x30e73a[_0x2afdbf(0x312)]);if(_0x1acccf[_0x2afdbf(0x429)]===0x0)return{'redos':[],'undos':[]};let _0x1a60c0=[],_0x27b68a=[];for(let _0x2ec64e=0x0;_0x2ec64e<_0x1acccf[_0x2afdbf(0x429)];_0x2ec64e++){let _0x1fd47b=_0x1acccf[_0x2ec64e],_0x527ba6=this[_0x2afdbf(0x3bf)]['getChartModel'](_0x1fd47b[_0x2afdbf(0x2e0)]);if(!_0x527ba6)continue;let _0x141cc4=this[_0x2afdbf(0x383)][_0x2afdbf(0x269)](_0x527ba6['id']);if(!_0x141cc4)continue;let {chartType:_0x5d1ad6,context:_0x12cfe2,style:_0x29d5fd,dataAggregation:_0x162c9b}=_0x527ba6['serialize']();_0x1a60c0['push']({'id':_0x2f36b6['id'],'params':{'unitId':_0xfc5561,'subUnitId':_0x2303e2,'chartId':_0x1fd47b[_0x2afdbf(0x2e0)]}}),_0x27b68a[_0x2afdbf(0x3f5)]({'id':_0x2e95ef['id'],'params':{'unitId':_0xfc5561,'subUnitId':_0x2303e2,'chartId':_0x1fd47b[_0x2afdbf(0x2e0)],'chartType':_0x5d1ad6,..._0x20e3f4(_0x141cc4),'context':_0x12cfe2,'style':_0x29d5fd,'dataAggregation':_0x162c9b}});}return{'redos':_0x1a60c0,'undos':_0x27b68a};}if(_0x44fcc5['id']===_0x2df6ed['id']){let {unitId:_0x4dfb92,subUnitId:_0x29f668,targetSubUnitId:_0x51b4ed,copyContext:_0x11371a}=_0x44fcc5['params'];if(!_0x4dfb92||!_0x29f668||!_0x51b4ed)return{'redos':[],'undos':[]};let _0x3d87a1=this[_0x2afdbf(0x25d)]['getDrawingData'](_0x4dfb92,_0x29f668),_0xf068d5=Object[_0x2afdbf(0x3b2)](_0x3d87a1)['filter'](_0x31f838=>_0x31f838[_0x2afdbf(0x20d)]===_0x30e73a[_0x2afdbf(0x312)]);if(_0xf068d5[_0x2afdbf(0x429)]===0x0)return{'redos':[],'undos':[]};let _0x1153ba=Bi(_0x11371a,_0xf068d5,{'unitId':_0x4dfb92,'sourceSubUnitId':_0x29f668,'targetSubUnitId':_0x51b4ed},_0x445508=>{const _0x418255=_0x2afdbf;let _0x152fd1=this[_0x418255(0x3bf)][_0x418255(0x250)](_0x445508[_0x418255(0x2e0)]);if(!_0x152fd1)return;let _0x911218=this[_0x418255(0x383)]['getChartSourceSpec'](_0x152fd1['id']);if(!_0x911218)return;let {chartType:_0x5478b1,context:_0xd35c94,style:_0xa2d329,dataAggregation:_0x551b90}=_0x152fd1['serialize']();return{'rangeInfo':_0x911218,'chartType':_0x5478b1,'context':_0xd35c94,'style':_0xa2d329,'dataAggregation':_0x551b90};}),_0x5cf1d5=[],_0x19bc05=[];for(let {targetChartId:_0x4ae744,source:_0x3ae15d}of _0x1153ba){let {rangeInfo:_0x36192a,chartType:_0x37ae46,context:_0x4914b9,style:_0x19176f,dataAggregation:_0x1cfd69}=_0x3ae15d;_0x5cf1d5[_0x2afdbf(0x3f5)]({'id':_0x2e95ef['id'],'params':{'unitId':_0x4dfb92,'subUnitId':_0x51b4ed,'chartId':_0x4ae744,'chartType':_0x37ae46,..._0x20e3f4(_0x36192a),'context':_0x4914b9,'style':_0x19176f,'dataAggregation':_0x1cfd69}}),_0x19bc05['push']({'id':_0x2f36b6['id'],'params':{'unitId':_0x4dfb92,'subUnitId':_0x51b4ed,'chartId':_0x4ae744}});}return{'redos':_0x5cf1d5,'undos':_0x19bc05};}return{'redos':[],'undos':[]};}}));}};Vi=J([q(0x0,_0x563aa6(_0x16f441)),q(0x1,_0x563aa6(_0x291913)),q(0x2,_0x563aa6(_0x4a1b9d)),q(0x3,_0x563aa6(_0x813c91)),q(0x4,_0x563aa6(_0x42909b))],Vi);const Hi=_0x1ec981=>_0x1ec981[_0x568f44(0x2cb)](_0x1878f2['UNIVER_SHEET'])[_0x568f44(0x453)](),Ui=_0x5ea9cc=>{const _0xb37ff1=_0x568f44;var _0x4b4854;return(_0x4b4854=_0x5ea9cc[_0xb37ff1(0x2cb)](_0x1878f2[_0xb37ff1(0x352)])['getActiveSheet']())==null?void 0x0:_0x4b4854['getSheetId']();};function Wi(){const _0x1b0baa=_0x568f44;var _0xfc5178;let _0x2e7d24=_0x4f2768(X),_0x3f08dd=_0x4f2768(_0x813c91),_0x3d90a4=_0x4f2768(_0x42909b),_0x17f5e4=_0x4f2768(_0x565815),_0x18c10d=_0x4f2768(_0x363c1f),_0x5d95b0=_0x470b30(_0x18c10d),_0x422e4e=_0x1c5e24(()=>{const _0x26596f=_0x1779;let _0x44a4e1=Fr(Nr[_0x26596f(0x2ee)](),_0x5d95b0);return _0x51c3dc(_0x44a4e1['map'](_0x4f4060=>({'id':_0x4f4060['id'],'label':_0x17f5e4['t'](_0x26596f(0x356)+_0x4f4060[_0x26596f(0x30c)]),'pieSecondaryPlotType':_0x4f4060[_0x26596f(0x414)],'value':_0x4f4060['value']})));},[_0x5d95b0,_0x17f5e4]),_0x160fe3=_0x1685e2(_0x3f08dd['activeChartModel$'],_0x3f08dd[_0x1b0baa(0x2d0)]),_0x25ebdd=_0x160fe3?_0x3d90a4[_0x1b0baa(0x499)](_0x160fe3['id']):void 0x0,_0x1ff593=_0x1685e2(_0x25ebdd==null?void 0x0:_0x25ebdd['rangeInfo$'],_0x25ebdd==null?void 0x0:_0x25ebdd['getRangeInfo']()),_0x230160=Array[_0x1b0baa(0x21d)](_0x1ff593),_0x55bad2=_0x1ff593&&!_0x230160&&_0x1ff593[_0x1b0baa(0x30d)]?_0x10ec2f[_0x1b0baa(0x48b)]:_0x10ec2f['Column'],_0x3a7f24=_0x230160?(_0xfc5178=_0x1ff593[0x0])==null?void 0x0:_0xfc5178[_0x1b0baa(0x338)]:_0x1ff593==null?void 0x0:_0x1ff593['rangeInfo'];return _0x2f8009(_0x1b0baa(0x32b),{'className':_0x1b0baa(0x465),'children':_0x2f8009(_0x510c9c,{'chartTypeOptions':_0x422e4e,'dataSourceControl':_0x2f8009(Gi,{'dataRange':_0x1ff593,'primaryRange':_0x3a7f24}),'categoryToggleLabel':_0x17f5e4['t'](_0x1b0baa(0x481),_0x55bad2===_0x10ec2f['Row']?_0x55bad2+'\x20'+(((_0x3a7f24==null?void 0x0:_0x3a7f24[_0x1b0baa(0x338)][_0x1b0baa(0x201)])??0x0)+0x1):_0x55bad2+'\x20'+_0x55d7a0((_0x3a7f24==null?void 0x0:_0x3a7f24[_0x1b0baa(0x338)][_0x1b0baa(0x2c8)])??0x0)),'orientationControl':_0x230160?void 0x0:_0x2f8009(_0xa27a39,{'size':_0x1b0baa(0x28e),'onClick':()=>_0x2e7d24[_0x1b0baa(0x493)](_0x55bad2===_0x10ec2f[_0x1b0baa(0x48b)]?_0x10ec2f[_0x1b0baa(0x319)]:_0x10ec2f[_0x1b0baa(0x48b)]),'children':_0x17f5e4['t'](_0x1b0baa(0x2b5))})})});}function Gi(_0xef4967){const _0x5a7564=_0x568f44;let {dataRange:_0x9b7cd,primaryRange:_0x345d7c}=_0xef4967,_0x22cfd6=_0x4f2768(X),_0x22cb18=_0x4f2768(_0x565815),_0x466da5=_0x4f2768(_0x16f441),[_0x3ab038,_0x16a560]=_0x3e5ae0(!0x1),[_0x5b1e65,_0x56574b]=_0x3e5ae0(!0x1),_0x948d05=Hi(_0x466da5),_0x16e9e7=Ui(_0x466da5);_0x2b9eea(()=>{const _0x56cfed=_0x1779;_0x22cfd6[_0x56cfed(0x246)](_0x3ab038);},[_0x3ab038,_0x22cfd6]);let _0x38d900=_0x1c5e24(()=>_0x391583(async _0x7a9794=>{const _0x51c3ef=_0x1779;var _0x2cc9fe;if(jr(_0x9b7cd,_0x466da5)===_0x7a9794)return;let _0x330bd0=_0x7a9794[_0x51c3ef(0x2c5)](',')[_0x51c3ef(0x26b)](Boolean)[_0x51c3ef(0x2ab)](_0x2380a3)[0x0];if(!_0x330bd0)return;let {unitId:_0x23593a,sheetName:_0x25f7e8,range:_0x3c0eae}=_0x330bd0,_0x2a2992=_0x23593a||_0x948d05,_0x538f99=((_0x2cc9fe=_0x466da5[_0x51c3ef(0x20b)](_0x2a2992)['getSheetBySheetName'](_0x25f7e8))==null?void 0x0:_0x2cc9fe[_0x51c3ef(0x38b)]())||(_0x345d7c==null?void 0x0:_0x345d7c[_0x51c3ef(0x206)])||_0x16e9e7;_0x538f99&&_0x22cfd6[_0x51c3ef(0x203)]({'rangeInfo':{'range':_0x3c0eae,'unitId':_0x2a2992,'subUnitId':_0x538f99}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x9b7cd,_0x345d7c,_0x22cfd6,_0x16e9e7,_0x948d05,_0x466da5]);return _0x2b9eea(()=>()=>_0x38d900['cancel'](),[_0x38d900]),_0x2f8009(_0x5a7564(0x32b),{'className':_0x5a7564(0x2ed),'children':_0x48f77f(_0x5a7564(0x32b),{'children':[_0x2f8009(_0x508ec3,{'title':_0x22cb18['t']('sheets-chart-ui.common.dataRange')}),_0x2f8009(_0xdc0c83,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x948d05,'subUnitId':_0x16e9e7,'initialValue':_0x9b7cd?jr(_0x9b7cd,_0x466da5):'','onChange':(_0x236391,_0x1f0cb7)=>_0x38d900(_0x1f0cb7),'onFocusChange':_0x34b027=>{_0x5b1e65||_0x16a560(_0x34b027);},'onRangeSelectorDialogVisibleChange':_0x7b4f64=>{_0x56574b(_0x7b4f64),_0x16a560(_0x7b4f64);}})]})});}function Ki(){const _0x805fb4=_0x568f44;let [_0x2169a9,_0x2619d1]=_0x3e5ae0(_0x5f40c4['Data']),_0x5d27cc=_0x4f2768(_0x363c1f),_0x48981c=_0x4f2768(_0x565815),_0x332f4c=_0x4f2768(X),_0x156437=_0x4f2768(_0x813c91),_0x1a5c43=_0x4f2768(_0x42909b),_0x3374b1=_0x1685e2(_0x156437['activeChartModel$'],_0x156437['activeChartModel']),_0x57a6a5=_0x1685e2(_0x332f4c['panelRoute$'],null),_0x5bff70=_0x1c5e24(()=>{const _0x17e8ba=_0x1779;var _0x53f8cc;if(!_0x3374b1)return null;let _0x2418c6=_0x1a5c43[_0x17e8ba(0x269)](_0x3374b1['id']);if(!_0x2418c6)return null;let _0x9c1576=Array[_0x17e8ba(0x21d)](_0x2418c6)?(_0x53f8cc=_0x2418c6[0x0])==null?void 0x0:_0x53f8cc[_0x17e8ba(0x338)]:_0x2418c6[_0x17e8ba(0x247)];return _0x9c1576?new _0x31f947(_0x3374b1,new _0x212bb6({'unitId':_0x9c1576['unitId'],'subUnitId':_0x9c1576[_0x17e8ba(0x206)],'chartId':_0x3374b1['id'],'injector':_0x5d27cc})):null;},[_0x3374b1,_0x5d27cc,_0x1a5c43]);if(_0x2b9eea(()=>{const _0x500dcf=_0x1779;var _0xdeb1b9,_0x268cb2;_0x3374b1&&(_0x57a6a5==null?void 0x0:_0x57a6a5[_0x500dcf(0x43d)])===_0x3374b1['id']&&(((_0xdeb1b9=_0x57a6a5[_0x500dcf(0x27e)])==null?void 0x0:_0xdeb1b9['tab'])===_0x5f40c4[_0x500dcf(0x2d9)]&&_0x2619d1(_0x5f40c4[_0x500dcf(0x2d9)]),((_0x268cb2=_0x57a6a5[_0x500dcf(0x27e)])==null?void 0x0:_0x268cb2['tab'])===_0x5f40c4[_0x500dcf(0x1c9)]&&_0x2619d1(_0x5f40c4['Data']));},[_0x3374b1,_0x57a6a5]),!_0x5bff70)return null;let _0x59dfe8=_0x2f8009(_0x805fb4(0x32b),{'className':_0x805fb4(0x451),'children':_0x2f8009(_0x2e879b,{'ariaLabel':_0x48981c['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x2169a9,'onTabChange':_0x2619d1,'tabListClassName':_0x805fb4(0x1cc),'panelClassName':_0x2169a9===_0x5f40c4['Style']?_0x805fb4(0x29f):_0x805fb4(0x1f9),'tabs':[{'id':_0x5f40c4[_0x805fb4(0x1c9)],'panelId':'mobile-sheet-chart-setup-panel','title':_0x48981c['t'](_0x805fb4(0x1ef)),'content':_0x2f8009(Wi,{})},{'id':_0x5f40c4[_0x805fb4(0x2d9)],'panelId':_0x805fb4(0x37a),'title':_0x48981c['t'](_0x805fb4(0x264)),'content':_0x2f8009(wi,{'defaultValues':yi})}]})});return _0x2f8009(_0x39aa66,{'chartUIService':_0x332f4c,'hostAdapter':_0x5bff70,'children':_0x59dfe8});}let qi=class extends _0x32a96b{constructor(_0xc715ea){const _0x4bc833=_0x568f44;super(),this[_0x4bc833(0x349)](_0xc715ea[_0x4bc833(0x42d)](Ei,Ki));}};qi=J([q(0x0,_0x563aa6(_0x20b208))],qi);let Ji=class extends _0x32a96b{constructor(_0x2d0675,_0x546667,_0x43881e,_0x572303,_0x416c9f,_0x49ad48,_0x5ca34a,_0xef0e71,_0x495710){const _0x256856=_0x568f44;super(),this[_0x256856(0x42f)]=_0x2d0675,this[_0x256856(0x3bf)]=_0x546667,this['_sidebarService']=_0x43881e,this[_0x256856(0x3ba)]=_0x572303,this[_0x256856(0x48e)]=_0x416c9f,this[_0x256856(0x42b)]=_0x49ad48,this[_0x256856(0x2a1)]=_0x5ca34a,this[_0x256856(0x3ec)]=_0xef0e71,this['_localeService']=_0x495710,G(this,_0x256856(0x21c),null),G(this,_0x256856(0x1b5),!0x1),this[_0x256856(0x309)]();}[_0x568f44(0x3d3)](){const _0x3bb54e=_0x568f44;this['hidePanel'](),super[_0x3bb54e(0x3d3)]();}[_0x568f44(0x3aa)](){const _0x1f5c50=_0x568f44;this['_panelInitialized']||(this[_0x1f5c50(0x1b5)]=!0x0,this[_0x1f5c50(0x349)](this['_commandService'][_0x1f5c50(0x256)](_0x244d8f=>{const _0x2a0899=_0x1f5c50;if(_0x244d8f['id']!==U['id'])return;let _0x37862c=_0x244d8f[_0x2a0899(0x337)];this[_0x2a0899(0x284)](_0x37862c[_0x2a0899(0x2e0)],_0x37862c['route']);})));}[_0x568f44(0x284)](_0x3f9fc5,_0xb735f7){const _0x2aeddf=_0x568f44;let _0x4d0304=this[_0x2aeddf(0x3bf)][_0x2aeddf(0x250)](_0x3f9fc5);_0x4d0304&&(this[_0x2aeddf(0x3bf)]['setActiveChartModel'](_0x4d0304),this[_0x2aeddf(0x3c5)](),this[_0x2aeddf(0x2a1)][_0x2aeddf(0x36c)](!0x0),this[_0x2aeddf(0x2a1)][_0x2aeddf(0x45c)](_0x3f9fc5,_0xb735f7??null));}[_0x568f44(0x328)](){const _0x47d34c=_0x568f44;let _0x489a44=this['_sidebarDisposable'];this[_0x47d34c(0x21c)]=null,this['_clearPanelState'](),_0x489a44==null||_0x489a44['dispose']();}[_0x568f44(0x309)](){const _0x3114ee=_0x568f44;this[_0x3114ee(0x3ba)]['mergeMenu']({[_0x250386['MEDIA']]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}}}),this[_0x3114ee(0x48e)][_0x3114ee(0x1d7)](_0x30e73a['DRAWING_CHART'],(_0x10dceb,_0x46278b,_0x4af3a0,_0x397369)=>[{'label':this[_0x3114ee(0x244)]['t'](_0x3114ee(0x36a)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x10dceb,'subUnitId':_0x46278b,'drawingId':_0x4af3a0},'disable':_0x397369!==_0x30e73a[_0x3114ee(0x312)]},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x77c0fa['id'],'commandParams':{'unitId':_0x10dceb,'drawings':[{'unitId':_0x10dceb,'subUnitId':_0x46278b,'drawingId':_0x4af3a0,'drawingType':_0x397369}]},'disable':!0x1}],_0x3114ee(0x3be));}[_0x568f44(0x3c5)](){const _0x5e3f2e=_0x568f44;this[_0x5e3f2e(0x21c)]=this[_0x5e3f2e(0x2a9)][_0x5e3f2e(0x245)]({'id':Ei,'header':{'title':this[_0x5e3f2e(0x244)]['t'](_0x5e3f2e(0x36a))},'children':{'label':Ei},'onClose':()=>{const _0x566481=_0x5e3f2e;this[_0x566481(0x21c)]=null,this[_0x566481(0x3a4)]();}});}['_clearPanelState'](){const _0x24c65b=_0x568f44;this[_0x24c65b(0x2a1)][_0x24c65b(0x36c)](!0x1),this[_0x24c65b(0x2a1)]['clearPanelRoute'](),this[_0x24c65b(0x3bf)][_0x24c65b(0x2d0)]&&this['_chartModelService'][_0x24c65b(0x40d)](null),this[_0x24c65b(0x42f)][_0x24c65b(0x315)](null),this['_contextService'][_0x24c65b(0x302)](_0x4ec8e1,!0x1);}};Ji=J([q(0x0,_0x1506f9),q(0x1,_0x563aa6(_0x813c91)),q(0x2,_0x563aa6(_0x5ccc92)),q(0x3,_0x4e7db),q(0x4,_0x563aa6(_0x5608a1)),q(0x5,_0x5729da),q(0x6,X),q(0x7,_0x1e8f48),q(0x8,_0x563aa6(_0x565815))],Ji);let Yi=class extends _0x32a96b{constructor(_0x18eff4,_0x4ed046,_0x112a69,_0x1fca61,_0x3f6dbe){const _0x1fe112=_0x568f44;super(),this['_sheetSkeletonService']=_0x18eff4,this[_0x1fe112(0x488)]=_0x4ed046,this[_0x1fe112(0x25d)]=_0x112a69,this[_0x1fe112(0x3bf)]=_0x1fca61,this[_0x1fe112(0x383)]=_0x3f6dbe,G(this,'_copyInfo',void 0x0),this[_0x1fe112(0x3dd)]();}get['_focusedDrawings'](){return this['_sheetDrawingService']['getFocusDrawings']();}['_initCopyPaste'](){const _0xfdca69=_0x568f44;this['disposeWithMe'](this[_0xfdca69(0x488)][_0xfdca69(0x40a)]({'id':_0x1f2559,'onBeforeCopyFocusedObject':(_0x199ddf,_0x5deeb9,_0x3df710)=>{const _0x3d9358=_0xfdca69;this[_0x3d9358(0x46e)]=null;let _0xc5bf04=this['_focusedDrawings'][_0x3d9358(0x26b)](_0x3e1329=>this[_0x3d9358(0x2d8)](_0x3e1329));return _0xc5bf04['length']!==0x0&&(this['_copyInfo']={'unitId':_0x199ddf,'subUnitId':_0x5deeb9,'copyType':_0x3df710,'drawings':_0xc5bf04},!0x0);},'onBeforeCopy':(_0x3e64b4,_0x2912d0,_0x5226f2,_0x454b20)=>{const _0x12faa6=_0xfdca69;this[_0x12faa6(0x46e)]=null,this['_createCopyInfoByRange'](_0x3e64b4,_0x2912d0,_0x5226f2,_0x454b20);},'onPasteCells':(_0x57d416,_0x39f2ae,_0x55b7de,_0x5e76e1)=>{const _0x42d75c=_0xfdca69;if(!_0x5e76e1['copyId']||!_0x57d416||!this[_0x42d75c(0x46e)])return{'redos':[],'undos':[]};let {pasteType:_0x56293a}=_0x5e76e1;return _0x56293a===_0x3ce4a3[_0x42d75c(0x27b)]?this['_generatePasteMutations'](_0x39f2ae,this['_copyInfo'][_0x42d75c(0x2bf)]===_0x2893f4[_0x42d75c(0x3dc)]):{'redos':[],'undos':[]};}}));}[_0x568f44(0x1b6)](_0xb95d2,_0x18f9d7,_0x5929b8,_0x520e63){const _0x518566=_0x568f44;let _0x1e4645=this[_0x518566(0x419)][_0x518566(0x362)](_0xb95d2,_0x18f9d7);if(!_0x1e4645)return;let _0x5c0d3a=_0x44de7e(_0x1e4645,_0x5929b8);if(!_0x5c0d3a)return;let {startX:_0x58a5e5,endX:_0x28e438,startY:_0x4f9147,endY:_0x26ff25}=_0x5c0d3a,_0x2da7fc=this[_0x518566(0x25d)]['getDrawingData'](_0xb95d2,_0x18f9d7),_0x4f2aec=[];for(let [_0x2f848c,_0x377275]of Object[_0x518566(0x1e9)](_0x2da7fc)){if(!this[_0x518566(0x2d8)](_0x377275))continue;let {transform:_0x5dc103}=_0x377275;if(!_0x5dc103)continue;let {left:_0x1f53c0=0x0,top:_0x23cfa0=0x0,width:_0x5ba7f0=0x0,height:_0x559586=0x0}=_0x5dc103;_0x58a5e5<=_0x1f53c0&&_0x28e438>=_0x1f53c0+_0x5ba7f0&&_0x4f9147<=_0x23cfa0&&_0x26ff25>=_0x23cfa0+_0x559586&&_0x4f2aec[_0x518566(0x3f5)](_0x377275);}_0x4f2aec['length']>0x0&&(this['_copyInfo']={'unitId':_0xb95d2,'subUnitId':_0x18f9d7,'copyType':_0x520e63,'copyRange':_0x5929b8,'drawings':_0x4f2aec});}[_0x568f44(0x2d8)](_0x5ce91f){const _0x588771=_0x568f44;return _0x5ce91f[_0x588771(0x20d)]===_0x30e73a[_0x588771(0x312)]&&this[_0x588771(0x383)][_0x588771(0x385)](_0x5ce91f[_0x588771(0x45f)],_0x5ce91f[_0x588771(0x2e0)])===_0x5ce91f[_0x588771(0x206)];}['_generatePasteMutations'](_0x43bdfb,_0x2d4709){const _0x4ffda5=_0x568f44;let {unitId:_0x12d8c8,subUnitId:_0x175b94,range:_0x4d96a7}=_0x43bdfb,_0x4b4beb=this[_0x4ffda5(0x419)][_0x4ffda5(0x362)](_0x12d8c8,_0x175b94);if(!_0x4b4beb)return{'redos':[],'undos':[]};let _0xa420ad=_0x129c71(_0x4d96a7),{unitId:_0x573c7f,subUnitId:_0x2e41b9,copyRange:_0xe60323,drawings:_0x86b680}=this['_copyInfo'],_0x3df642=this[_0x4ffda5(0x419)]['getSkeleton'](_0x573c7f,_0x2e41b9);if(!_0x3df642)return{'redos':[],'undos':[]};let _0x183970=[],_0x2ec132=[];for(let _0x534d25 of _0x86b680){let {drawingId:_0x17de1c,transform:_0x58b414,sheetTransform:_0x349116}=_0x534d25,_0x4b46fb=this[_0x4ffda5(0x3bf)][_0x4ffda5(0x250)](_0x17de1c);if(!_0x4b46fb||!_0x58b414||!_0x349116)continue;let _0x559354=this[_0x4ffda5(0x405)]({'transform':_0x58b414,'sheetTransform':_0x349116},{'skeleton':_0x3df642,'range':_0xe60323},{'skeleton':_0x4b4beb,'range':_0xa420ad});if(_0x2d4709){let {redos:_0x4f5bda,undos:_0x4610c0}=this[_0x4ffda5(0x3c4)]({'fromUnitId':_0x573c7f,'fromSubUnitId':_0x2e41b9,'toUnitId':_0x12d8c8,'toSubUnitId':_0x175b94,'drawing':_0x534d25,'newTransforms':_0x559354},_0x4b46fb);_0x183970['push'](..._0x4f5bda),_0x2ec132['push'](..._0x4610c0);continue;}let {redos:_0x1997ee,undos:_0x57897e}=this[_0x4ffda5(0x1b1)]({'toUnitId':_0x12d8c8,'toSubUnitId':_0x175b94,'drawing':_0x534d25,'newTransforms':_0x559354},_0x4b46fb);_0x183970[_0x4ffda5(0x3f5)](..._0x1997ee),_0x2ec132[_0x4ffda5(0x3f5)](..._0x57897e);}return{'redos':_0x183970,'undos':_0x2ec132};}['_generateCutPasteMutations'](_0x4a4aea,_0x561a9c){const _0xadd9a=_0x568f44;let {fromUnitId:_0x3d981c,fromSubUnitId:_0x5af2ca,toUnitId:_0x3d796a,toSubUnitId:_0x39c440,drawing:_0x71e5d4,newTransforms:_0x1a9549}=_0x4a4aea,_0x306f8a={..._0x71e5d4,'unitId':_0x3d796a,'subUnitId':_0x39c440,'transform':_0x1a9549[_0xadd9a(0x231)],'sheetTransform':_0x1a9549[_0xadd9a(0x285)]};if(_0x3d796a===_0x3d981c&&_0x39c440===_0x5af2ca){let {redo:_0x4f1c96,undo:_0x46cec5,objects:_0x34a194}=this['_sheetDrawingService'][_0xadd9a(0x2d7)]([_0x306f8a]);return{'redos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x2b2)],'op':_0x4f1c96,'objects':_0x34a194}}],'undos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x2b2)],'op':_0x46cec5,'objects':_0x34a194}}]};}{let _0x26bf41=this[_0xadd9a(0x25d)][_0xadd9a(0x3e7)]([_0x71e5d4]),_0x1e5afa=this['_sheetDrawingService'][_0xadd9a(0x1c2)]([_0x306f8a]),_0x5cdd0a=this['_sheetsChartService'][_0xadd9a(0x269)](_0x561a9c['id']);if(!_0x5cdd0a)return{'redos':[],'undos':[]};let {chartType:_0x164141,context:_0x5b7029,style:_0x42bb66,dataAggregation:_0x2b79c5}=_0x561a9c['serialize']();return{'redos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'type':_0x36dcf8[_0xadd9a(0x2eb)],'op':_0x26bf41[_0xadd9a(0x38f)],'objects':_0x26bf41['objects']}},{'id':_0x2f36b6['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'chartId':_0x71e5d4[_0xadd9a(0x2e0)]}},{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x42a)],'op':_0x1e5afa[_0xadd9a(0x38f)],'objects':_0x1e5afa[_0xadd9a(0x1d2)]}},{'id':_0x2e95ef['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'chartId':_0x71e5d4['drawingId'],'chartType':_0x164141,..._0x20e3f4(_0x5cdd0a),'context':_0x5b7029,'style':_0x42bb66,'dataAggregation':_0x2b79c5}}],'undos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'type':_0x36dcf8[_0xadd9a(0x42a)],'op':_0x26bf41[_0xadd9a(0x39f)],'objects':_0x26bf41[_0xadd9a(0x1d2)]}},{'id':_0x2e95ef['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'chartId':_0x71e5d4[_0xadd9a(0x2e0)],'chartType':_0x164141,..._0x20e3f4(_0x5cdd0a),'context':_0x5b7029,'style':_0x42bb66,'dataAggregation':_0x2b79c5}},{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x2eb)],'op':_0x1e5afa[_0xadd9a(0x39f)],'objects':_0x1e5afa[_0xadd9a(0x1d2)]}},{'id':_0x2f36b6['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'chartId':_0x71e5d4['drawingId']}}]};}}[_0x568f44(0x1b1)](_0x472a11,_0xc09185){const _0x232577=_0x568f44;let {toUnitId:_0x5cfc10,toSubUnitId:_0x4971a0,drawing:_0xa6c0a,newTransforms:_0x377e98}=_0x472a11,_0xd0a85a=_0x3ad20e(),_0x25cd1a={..._0xa6c0a,'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'drawingId':_0xd0a85a,'transform':_0x377e98[_0x232577(0x231)],'sheetTransform':_0x377e98[_0x232577(0x285)]},{redo:_0x142232,undo:_0x4ebb74,objects:_0x3b70bf}=this['_sheetDrawingService'][_0x232577(0x1c2)]([_0x25cd1a]),_0x34c3ea=this[_0x232577(0x383)]['getChartSourceSpec'](_0xc09185['id']);if(!_0x34c3ea)return{'redos':[],'undos':[]};let {chartType:_0x365035,context:_0xa6cc3d,style:_0x60a31d,dataAggregation:_0x39b0c3}=_0xc09185['serialize']();return{'redos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'type':_0x36dcf8[_0x232577(0x42a)],'op':_0x142232,'objects':_0x3b70bf}},{'id':_0x2e95ef['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'chartId':_0xd0a85a,'chartType':_0x365035,..._0x20e3f4(_0x34c3ea),'context':_0xa6cc3d,'style':_0x60a31d,'dataAggregation':_0x39b0c3}}],'undos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'type':_0x36dcf8['REMOVE'],'op':_0x4ebb74,'objects':_0x3b70bf}},{'id':_0x2f36b6['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'chartId':_0xd0a85a}}]};}['_updateTransform'](_0x291a31,_0x3eb974,_0x204437){const _0x1d0774=_0x568f44;let {range:_0x249f7e,skeleton:_0x3fd570}=_0x3eb974,{range:_0x339060,skeleton:_0x3c2dad}=_0x204437,{transform:_0x5da6f6,sheetTransform:_0x588657}=_0x291a31,_0x2c7748={..._0x5da6f6};if(_0x249f7e){let _0x30aa07=_0x44de7e(_0x3fd570,_0x249f7e),_0x40670e=_0x44de7e(_0x3c2dad,_0x339060);if(_0x30aa07&&_0x40670e){let _0x27faad=_0x40670e['startX']-_0x30aa07[_0x1d0774(0x22d)],_0x3513e6=_0x40670e[_0x1d0774(0x306)]-_0x30aa07[_0x1d0774(0x306)];_0x2c7748[_0x1d0774(0x242)]=(_0x2c7748['left']??0x0)+_0x27faad,_0x2c7748[_0x1d0774(0x382)]=(_0x2c7748[_0x1d0774(0x382)]??0x0)+_0x3513e6;}}else{let _0x3cb8b3=_0x44de7e(_0x3c2dad,_0x339060);_0x2c7748[_0x1d0774(0x242)]=_0x3cb8b3==null?void 0x0:_0x3cb8b3[_0x1d0774(0x22d)],_0x2c7748[_0x1d0774(0x382)]=_0x3cb8b3==null?void 0x0:_0x3cb8b3[_0x1d0774(0x306)];}return{'transform':_0x2c7748,'sheetTransform':_0x34e272(_0x2c7748,_0x3c2dad)??_0x588657};}};Yi=J([q(0x0,_0x563aa6(_0x3d3ce7)),q(0x1,_0x563aa6(_0x243151)),q(0x2,_0x563aa6(_0x4a1b9d)),q(0x3,_0x563aa6(_0x813c91)),q(0x4,_0x563aa6(_0x42909b))],Yi);function _0xbdb0(){const _0x52f390=['clearChart','target','remove','removeHost','_canAnimateDataUpdate','chartEditorOpen$','_waiter','_clearSelectedTarget','_getImage','permissionCheckWithoutRange','PRINTING_COMPONENT_COLLECT','disposeWithMe','sheets-chart-ui.section.treemap','hidden','createChartInstance','toPrimitive','isLatest','36kznNAD','clientY','getCurrentTypeOfUnit$','UNIVER_SHEET','getCanvasElement','hasOwnProperty','1GRHFmW','sheets-chart-ui.chartTypes.','_openFloatMenu','dataUrl','_rect','function','endsWith','showFloatMenu','_deactivateEditPanelState','missing-active-sheet','onRendered','context$','clear','getSkeleton','getRenderUnitById','position$','pie','removeEventListener','onTransformChange$','GridlinesAndTicks','resolve','sheets-chart-ui.common.editChart','_onChange','setChartEditorOpen','_chartRenderService','Radar','dataSource','_resolveChartRenderMode','add','rect','sheets-chart-ui.chartTypes.line','absolute','constructor','_createImageChartHost','_applyHostInteractionState','_updateGeometry','renderTransition','mobile-sheet-chart-style-panel','_cacheActiveDomChartSnapshot','symbol','getChartSnapshotImage','get','_activeChartId','_keepChartCapture','Overlay','top','_sheetsChartService','clip','getSubUnitId','contains','lostpointercapture','packageName','radius','syncLayout','getSheetId','sheets-chart-ui.section.gridlinesAndTicks','dataset','event','redo','_resetChartRuntimeZIndex','DRAWING','promise','getRangeInfo','anchorRect$','isFinite','sheets-chart-ui.waterfall.positive','_dataUpdateAnimationDuration','bind','checkMounted','_pendingHost','multiply','abs','setObjectType','_getChartRenderObject','undo','_initActiveChartModelListener','markHostNotReady','changing$','_renderChartModel','_clearPanelState','_sheetPermissionCheckController','number','click','20gJMDmj','sheet.command.chart.copy-focused-chart','initPanel','format','forEach','engine','getRealBound','data$','getActiveSheet','initialRect','values','_chartThemeService','Bubble','sidebarOptions$','COMMA','_initSheetChange','_createPrintingChartObject','dom','_menuManagerService','ensureHandle','_cancelDebouncedCallbacks','univer-shrink-0','sheets-chart-ui.common.chart','_chartModelService','heatmap','49170iAJDqE','Axes','cancelPending','_generateCutPasteMutations','_openPanel','sheets-chart-ui.common.invalidDataRange','_callback','sheets-chart-ui.common.insertChart','sheets-chart-ui.common.openChartPanel','style$','setStyle','_getOuterRect','getContextValue','_entries','getHostClientRect','viewBound','sheets-chart-ui.common.rightVerticalAxis','_getOrCreateChartRenderInstance','dispose','Image','_setHostStyle','_listenChartUpdateMutations','with','offsetLeft','_bindPointerEvents','localPoint','_hostStyle','CUT','_initCopyPaste','category','_debounceHandle','radar','nextVersion','Subtotal','stopImmediatePropagation','executeChartUpdateConfig','getSheetBySheetName','sheets-chart-ui.common.legend','getBatchRemoveOp','sheets-chart-ui.section.paretoBar','baseOn','moveX','384298NQbKlj','_contextService','mergeMenu','name','attachPopupToDynamicAbsolutePosition','prototype','next','endY','_shouldEnableChartElementEdit','sheet.operation.open-chart-panel','push','getFocusedUnit','getName','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','getFocusDrawings','_pointerEvents','imageBitmap','Canvas','_isProviderDisposed','_chartEditorOpen$','view','_dataUpdateAnimationChartIds','_disposeChartDomInstance','from','preventDefault','_disposeChartEventSubscription','_updateTransform','Treemap','pointerEvents','tab','sheets-chart-ui.common.chartStyle','addClipboardHook','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.horizontalAxis','setActiveChartModel','_executeChartUpdateSourceConfig','rightYAxis','_createHost','closePath','object','markReady','pieSecondaryPlotType','_clearHiddenSelectedTarget','sheets-chart-ui.section.paretoLine','drawWith','PenIcon','_sheetSkeletonService','_lastRenderInputMap','_addWatermark','_openEditPanelByDoubleClick','_renderAfterChartUpdateMutation','getImage','titles','cancel','DeleteIcon','rightY','getRuntimeContext','sheets-chart-ui.waterfall.subtotal','nativeEvent','_applyHostStyle','sheets-chart-ui.section.chord','_chartHostMap','length','INSERT','_commandService','_univerInstanceService','register','setProps','_drawingManagerService','select','_activateEditPanelState','getDrawingOrder','pareto','relation','pluginName','rangeSelectMode','Trendline','scaleY','_prepareDataUpdateRender','interceptor','drawImage','Fail\x20to\x20create\x20float\x20dom','chartId','onerror','groupId','download','print','sheets-chart-ui.section.wordCloud','chartType','_getDrawable','sheets-chart-ui.common.deleteChart','transparent','add$','sheet.command.chart.open-focused-panel','_canvasFloatDomService','univer-overflow-hidden','#-#','handleActiveSubUnitChange','mountNode','emitChartEvent','_chartRenderMode','isInGroup','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','chartModelAdded$','getUnitId','crossOrigin','scaleX','_snapshotStore','Scatter','_releaseGesture','_subscribeChartEvents','Line','_renderManagerService','setPanelRoute','GROUP','OPERATION','unitId','visible','CHART','bounds','_disposeImage','request','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','subscribeEvent','getSheetBySheetId','SVG','_markHostReady','activeChartModel$','setConfig','some','_sheetPrintInterceptorService','_copyInfo','markUnmanaged','addObject','getHostSize','scene','3867006uDAVyd','onDispose','classType','IndicatorLine','_running','hit','renderChartsForPrinting','BUTTON','Bar','items','_getPlacement','sheets-chart-ui.common.showHiddenData','sheets-chart-ui.section.sunburst','_disposed','sheets-chart-ui.common.useAsCategoryLabels','getElementById','getRenderColor','_geometry','src','_injector','keys','_sheetClipboardService','logicalOuterRect','commitSnapshot','Row','section','Heatmap','_sheetCanvasPopManagerService','_initActiveRuntimeLayerListener','_rerenderLatest','_bindChartEventHandler','sheetChartDataAnimation','setOrientation','titleKey','_version','sheetDisposed$','1.3.0','-univer-mx-4','getChartDataSource','Histogram','sheets-chart-ui.section.pie','_requestPaint','panelRoute$','updateFloatDomProps','_generateCopyPasteMutations','_frame','getTransformerByCreate','Area','_panelInitialized','_createCopyInfoByRange','domId','arc','createRuntimeChartStyle','_registerChartImageRenderObjectFactory','visibilityState','complete','LineAndArea','_chartEventSubscriptions','_restoreFloatDomPositionStream','_chartChangeSubscriptions','_clearPendingUrlImage','getBatchAddOp','set','clearPanelRoute','string','none','remove$','_disposeChartChangeListeners','Data','_debounceHandleMap','makeDirty','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','ENTER','_activateDataUpdateAnimation','width','Sunburst','_loadUrlImage','objects','MEDIA','setImage','detach','registerCommand','registerFeatureMenu','image','setHostStyle','_init','chartModelId','Series','innerHeight','wordCloud','releasePointerCapture','sheets-chart-ui.host.provider','univer-my-1\x20univer-text-xs\x20univer-text-red-500','getObject','sheet.operation.hide-chart-panel','inactive-sheet','finally','exportImage','markNotReady','focus$','entries','sheets-chart-ui.section.waterfall','drawingIds','endX','_renderWhenConfigReady','source','sheets-chart-ui.common.setup','_createChartRenderInstanceContext','call','iconName','getDrawingByParam','featurePluginGroupUpdate$','offsetWidth','Combination','executeCommand','974340Rwujgr','univer-overflow-visible','ensureHost','VerticalAxis','_notifySheetChartsDetached','_url','onPointerMove','series','activeRuntimeModel','startRow','References','setDataRange','_markReady','_lastActiveSheet','subUnitId','error','CopyDoubleIcon','version','transformer','getUnit','waterfallStyle','drawingType','true','style','intercept','_bindChartEventHandlers','_urlImage','_chartSnapshotStoreService','blockExecuteWithoutPermission','sheets-chart-ui.section.relation','sheet.chart.edit.panel','img','Chord','setElementEditMode','_image','checkHost','_sidebarDisposable','isArray','_scheduler','subscribe','header','_sheetInterceptorService','getInterceptPoints','strokeWidth','_requestedUrl','clientX','sheet.command.chart.delete-focused-chart','getObjectIncludeInGroup','1000','pointerId','sheets-chart-ui.common.heatmap','Literals','804BOoGjk','startX','_gesture','_chartHostProvider','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','transform','innerWidth','UniverSheetsChartUIPlugin','scroll','sheets-chart-ui.common.chartAndAxisTitles','613224lDhtKd','_pendingMutationConfigRenders','requestPaint','_pendingDataUpdateChartIds','offsetTop','syncHostLayout','current','_requestChartCanvasRender','onPointerUp','Funnel','hasPointerCapture','_drawChartImage','left','animateDataUpdate','_localeService','open','setRangeSelectMode','rangeInfo','_registerComponents','256udxBpC','updateFloatDom','_readGeometry','parentElement','sheets-chart-ui.section.radar','_popupChartId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getChartModel','_initPermission','globalAlpha','enableChartElementFloatMenu','addEventListener','sheets-chart-ui.section.funnel','onCommandExecuted','_activateHostWrapper','chartModelRemoved$','sheetChartDataAnimationDuration','_pendingToken','clientHeight','_savedWrapperStyle','_sheetDrawingService','sheet-chart-style-panel','_managed','restore','defineProperty','_disposeChartRenderInstance','_popupSessionKey','sheets-chart-ui.common.customize','isHit','opacity','lineTo','catch','getChartSourceSpec','flush','filter','onStarting','_domFrame','_dataUpdateAnimationTimers','changeEnd$','_chartUIService','_restoreHostWrapper','_syncActiveEditChart','idMap','config','getFloatDomInfo','removeHost$','pipe','_drawChartFrame','10xvjFID','Candlestick','DEFAULT_PASTE','Gauge','interceptCommand','route','setDataUpdateAnimation','barStyle','sheets-chart-ui.common.hideChartPanel','getDirection','_removeHost$','openChartPanelById','sheetTransform','_cancelHostWait','_chartHostProviderService','exportImg','dblclick','_resizeChart','_initCommands','ImageBitmap','sheets-chart-ui.permission.editErr','small','_panelRoute$','default','_adapterRegistry','beforeCommandExecuted','_resolveLayout','_alignFloatDomPositionWithSceneRender','_frameStyle','_getFloatDomInfo','GeneralSeries','asObservable','_setChartRuntimeZIndex','href','_registerAdapter','_activeDomReadyChartIds','querySelector','.chart-host','-univer-mx-4\x20univer-overflow-visible','value','_sheetsChartUIService','anonymous','removeChartModel','sheets-chart-ui.config','_iconManager','direction$','children','sheets-chart-ui.chord.target','_sidebarService','blur','map','update','@univerjs-pro/sheets-chart-ui','SELECTOR','url','height','ParetoLineSeries','UPDATE','getRect','createElement','sheets-chart-ui.common.switchRowColumn','ChartIcon','_snapshotKey','_scheduleDataUpdateAnimationEnd','type','naturalHeight','matches','takeSnapshot','RightVerticalAxis','getBoundingClientRect','copyType','_themeService','Positive','WordCloud','_chartEventHandlers','_getCurrentSnapshotImage','split','right','_chartInstanceMap','startColumn','config$','getValue','getCurrentUnitOfType','pointercancel','chartObject','cumulativeLineStyle','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','activeChartModel','border','oKey','_isChartElementEditEnabled','getChartPopupMenus','getRenderModel','getId','getBatchUpdateOp','_isOwnedChart','Style','trendline','bottom','Legend','min','COMMAND','_popupDisposable','drawingId','axis','_closePopup','Waterfall','sheetId','delete','_disposeChartEventSubscriptions','_getSceneAndTransformerByDrawingSearch','trim','sheet.command.menu-insert-chart','zIndex','REMOVE','mode','univer-flex\x20univer-flex-col\x20univer-gap-3','concat','isManaged','Reference','dataSource$','_registerIcons','then','transformChange$','max','onPointerDown','_rangeSelectMode','save','_configService','_deactivateDataUpdateAnimation','_chartElementEditMode','_applyActiveChartRuntimeZIndex','_config','beginPath','label','isDomReady','_initPrinting','setContextValue','defaultValues','_draw','isRender','startY','_pendingUrlImage','Pie','_initMenus','_cancelGesture','_shouldSuppressRender','labelId','isRowDirection','_componentManager','getMatrix','create','render','DRAWING_CHART','_pending','onload','focusDrawing','_notifyChartRemoved','has','rangeInfo$','Column','getParent','_getChartRenderSkipReason','isConnected','isElementEditModeActive','_getChartRenderObjectContext','invalidateSnapshot','allSeriesStyle','_getChartSnapshotKey','Pareto','scheduler','_suppressClick','_renderModelManager','indexOf','ChartStyle','hidePanel','getOwnPropertyDescriptor','_renderService','div','targetSubUnitId','fromEntries','matchMedia','52549Khabhh','decorate','Dom','_resolvedConfig','all','close','_getOrCreateSheetChartHost','getDrawingData','params','range','_bindChartPointerEvents','seriesId','chartEditorOpen','14373fiGfaN','_renderDebounceMap'];_0xbdb0=function(){return _0x52f390;};return _0xbdb0();}let Xi=class extends _0x32a96b{constructor(_0x51e8da,_0x40c9e4,_0x599b71,_0x533477){const _0x143326=_0x568f44;super(),this[_0x143326(0x42b)]=_0x51e8da,this[_0x143326(0x244)]=_0x40c9e4,this['_sheetPermissionCheckController']=_0x599b71,this[_0x143326(0x383)]=_0x533477,this['_initPermission']();}[_0x568f44(0x251)](){const _0x3f9534=_0x568f44;this[_0x3f9534(0x349)](this[_0x3f9534(0x42b)][_0x3f9534(0x292)](_0x2464a8=>{const _0x1f7971=_0x3f9534;let _0x1b07ad,_0x13652;if(_0x2464a8['id']===_0x48b185['id']){let _0x37dac1=_0x2464a8['params'];_0x1b07ad=_0x37dac1[_0x1f7971(0x45f)],_0x13652=_0x37dac1[_0x1f7971(0x206)];}else{if(_0x2464a8['id']===_0x58088e['id']||_0x2464a8['id']===_0x4c9a08['id']){let _0x5e0067=_0x2464a8[_0x1f7971(0x337)];_0x1b07ad=_0x5e0067[_0x1f7971(0x45f)],_0x13652=this['_sheetsChartService'][_0x1f7971(0x385)](_0x5e0067[_0x1f7971(0x45f)],_0x5e0067[_0x1f7971(0x1db)]);}}_0x1b07ad&&_0x13652&&(this[_0x1f7971(0x3a5)][_0x1f7971(0x347)]({'workbookTypes':[_0x306905],'worksheetTypes':[_0x33354a]},_0x1b07ad,_0x13652)||this[_0x1f7971(0x3a5)][_0x1f7971(0x214)](this['_localeService']['t'](_0x1f7971(0x28d))));}));}};Xi=J([q(0x0,_0x563aa6(_0x5729da)),q(0x1,_0x563aa6(_0x565815)),q(0x2,_0x563aa6(_0x30fb2d)),q(0x3,_0x563aa6(_0x42909b))],Xi);let Zi=class extends _0x32a96b{constructor(_0x2e6394,_0x752c6e){const _0x2e6b0e=_0x568f44;super(),this['_renderService']=_0x752c6e,this[_0x2e6b0e(0x349)](_0x2e6394[_0x2e6b0e(0x42d)](this));}['supports'](_0x29cc65){const _0x16cba8=_0x568f44;return _0x16cba8(0x45f)in _0x29cc65&&_0x16cba8(0x206)in _0x29cc65;}[_0x568f44(0x1e6)](_0x109e54,_0x5758c5){const _0x56a347=_0x568f44;return this[_0x56a347(0x32a)][_0x56a347(0x1e6)](_0x109e54[_0x56a347(0x2d6)](),_0x5758c5);}};Zi=J([q(0x0,_0x563aa6(_0xd103b1)),q(0x1,_0x563aa6(Y))],Zi);let Q=class extends _0x33d61d{constructor(_0x54ad50=Cr,_0x43b3ff,_0x344d38,_0x12fc17){const _0xd4ed51=_0x568f44;super(),this['_config']=_0x54ad50,this['_injector']=_0x43b3ff,this[_0xd4ed51(0x2f9)]=_0x344d38,this[_0xd4ed51(0x42b)]=_0x12fc17;let {..._0x197415}=_0x5b74ec({},Cr,this[_0xd4ed51(0x2fd)]);this[_0xd4ed51(0x2f9)][_0xd4ed51(0x46b)](Sr,_0x197415),this[_0xd4ed51(0x28b)]();}[_0x568f44(0x26c)](){const _0x7d9b7=_0x568f44;let _0x3164a8=[[qi],[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[Ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x4ca6b2=[[qi],[Ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];_0x3164a8[_0x7d9b7(0x3ac)](_0x2b12fb=>this[_0x7d9b7(0x486)][_0x7d9b7(0x371)](_0x2b12fb)),_0x1479f7(this[_0x7d9b7(0x486)],_0x4ca6b2);}[_0x568f44(0x35f)](){const _0x566c4c=_0x568f44;var _0x3b3ead;(_0x3b3ead=this['_injector'][_0x566c4c(0x37e)](Ji))==null||_0x3b3ead['initPanel']();}[_0x568f44(0x28b)](){const _0x447af9=_0x568f44;[W,U][_0x447af9(0x3ac)](_0x27cc6b=>this[_0x447af9(0x349)](this['_commandService'][_0x447af9(0x1d6)](_0x27cc6b)));}};G(Q,_0x568f44(0x2b9),_0x1878f2['UNIVER_SHEET']),G(Q,_0x568f44(0x435),_0x568f44(0x233)),G(Q,'packageName',Mi),G(Q,'version',Ni),Q=J([_0x35d89e(_0x34a976,_0x2d7235,_0x300fdb,_0x2c14ef,_0x56fa26,_0xc4c0b6,_0x3db818,_0x308d50,_0xe8fbb,_0x1d0c0d),q(0x1,_0x563aa6(_0x363c1f)),q(0x2,_0x4fc0b3),q(0x3,_0x5729da)],Q);const Qi={'scaleX':0x1,'scaleY':0x1};function $i(_0x36350f){const _0x591747=_0x568f44;let _0x514543=_0x36350f[_0x591747(0x425)];return _0x514543 instanceof MouseEvent?_0x514543:void 0x0;}function ea(_0x4713cb){const _0x35d1d6=_0x568f44;let _0x591ab6=_0x4713cb[_0x35d1d6(0x425)],_0xba8e2e=_0x591ab6==null?void 0x0:_0x591ab6[_0x35d1d6(0x33f)];return _0xba8e2e instanceof Element?_0xba8e2e:void 0x0;}function ta(_0x3fde51){const _0x21ebf5=_0x568f44;var _0x407e1c;return(_0x407e1c=ea(_0x3fde51))==null?void 0x0:_0x407e1c[_0x21ebf5(0x2be)]();}function na(_0x500806){const _0x317d97=_0x568f44;return _0x500806[_0x317d97(0x1cf)]||_0x500806[_0x317d97(0x2c6)]-_0x500806[_0x317d97(0x242)];}function ra(_0x4d34d9){const _0x1df560=_0x568f44;return _0x4d34d9[_0x1df560(0x2b0)]||_0x4d34d9['bottom']-_0x4d34d9[_0x1df560(0x382)];}function ia(_0x21ad6e,_0x2d0f62){const _0x1e535b=_0x568f44;let _0x2a01bb=_0x21ad6e['clientWidth']||(_0x21ad6e instanceof HTMLElement?_0x21ad6e[_0x1e535b(0x1f5)]:0x0),_0x5db444=_0x21ad6e[_0x1e535b(0x25b)]||(_0x21ad6e instanceof HTMLElement?_0x21ad6e['offsetHeight']:0x0),_0x405e2d=na(_0x2d0f62),_0x12ea39=ra(_0x2d0f62);return{'scaleX':_0x2a01bb>0x0&&_0x405e2d>0x0?_0x405e2d/_0x2a01bb:Qi[_0x1e535b(0x455)],'scaleY':_0x5db444>0x0&&_0x12ea39>0x0?_0x12ea39/_0x5db444:Qi[_0x1e535b(0x438)]};}function aa(_0x5bc136,_0x4e536b,_0x404ea5){const _0xba87f3=_0x568f44;return{'left':_0x5bc136[_0xba87f3(0x242)]+_0x4e536b[_0xba87f3(0x242)]*_0x404ea5[_0xba87f3(0x455)],'right':_0x5bc136[_0xba87f3(0x242)]+_0x4e536b[_0xba87f3(0x2c6)]*_0x404ea5[_0xba87f3(0x455)],'top':_0x5bc136[_0xba87f3(0x382)]+_0x4e536b[_0xba87f3(0x382)]*_0x404ea5[_0xba87f3(0x438)],'bottom':_0x5bc136[_0xba87f3(0x382)]+_0x4e536b['bottom']*_0x404ea5['scaleY']};}function oa(_0x149fe4){const _0x5ceb20=_0x568f44;let _0x53fba8=ea(_0x149fe4),_0x418a30=_0x149fe4[_0x5ceb20(0x478)][_0x5ceb20(0x462)];if(_0x53fba8&&_0x418a30){let _0x3c2f10=_0x53fba8[_0x5ceb20(0x2be)]();return()=>{const _0x35c786=_0x5ceb20;let _0x3ccbc3=_0x53fba8['getBoundingClientRect']();return(_0x53fba8[_0x35c786(0x31c)]||na(_0x3ccbc3)>0x0||ra(_0x3ccbc3)>0x0)&&(_0x3c2f10=_0x3ccbc3),aa(_0x3c2f10,_0x418a30,ia(_0x53fba8,_0x3c2f10));};}return()=>{const _0x32b3eb=_0x5ceb20;let _0x4feec5=ta(_0x149fe4);if(_0x4feec5&&_0x418a30)return aa(_0x4feec5,_0x418a30,_0x53fba8?ia(_0x53fba8,_0x4feec5):Qi);let _0x298cae=$i(_0x149fe4),_0x20233b=_0x53fba8&&_0x4feec5?ia(_0x53fba8,_0x4feec5):Qi,_0x21e33e=(_0x298cae==null?void 0x0:_0x298cae[_0x32b3eb(0x225)])??(_0x4feec5?_0x4feec5[_0x32b3eb(0x242)]+_0x149fe4[_0x32b3eb(0x3da)]['x']*_0x20233b[_0x32b3eb(0x455)]:_0x149fe4['localPoint']['x']),_0x5cbf64=(_0x298cae==null?void 0x0:_0x298cae[_0x32b3eb(0x350)])??(_0x4feec5?_0x4feec5['top']+_0x149fe4[_0x32b3eb(0x3da)]['y']*_0x20233b[_0x32b3eb(0x438)]:_0x149fe4[_0x32b3eb(0x3da)]['y']);return{'left':_0x21e33e,'right':_0x21e33e+0x1,'top':_0x5cbf64,'bottom':_0x5cbf64+0x1};};}function sa(_0x5dcc58){const _0x428fb1=_0x568f44;return typeof _0x5dcc58==_0x428fb1(0x3a6)&&Number[_0x428fb1(0x395)](_0x5dcc58);}function ca(_0x9c62d6){if(!_0x9c62d6||typeof _0x9c62d6!='object')return!0x0;let {startX:_0x200f93,endX:_0x53f694,startY:_0x38d24b,endY:_0x5b01e5}=_0x9c62d6;return!sa(_0x200f93)||!sa(_0x53f694)||!sa(_0x38d24b)||!sa(_0x5b01e5)||_0x53f694-_0x200f93>0x2&&_0x5b01e5-_0x38d24b>0x2;}function la(_0x46be9a){const _0x314989=_0x568f44;return _0x46be9a[_0x314989(0x2c6)]<=_0x46be9a[_0x314989(0x242)]||_0x46be9a[_0x314989(0x2db)]<=_0x46be9a[_0x314989(0x382)]?!0x1:typeof window>'u'||_0x46be9a['right']>0x0&&_0x46be9a[_0x314989(0x2db)]>0x0&&_0x46be9a[_0x314989(0x242)]<window[_0x314989(0x232)]&&_0x46be9a[_0x314989(0x382)]<window[_0x314989(0x1dd)];}function ua(_0x250811){var _0x3adabf;return _0x250811==null||(_0x3adabf=_0x250811['getValue'])==null?void 0x0:_0x3adabf['call'](_0x250811);}function da(_0x43999f,_0x2da12d,_0x8ef709){const _0x1911d0=_0x568f44;let _0x5469ef=oa(_0x43999f),_0x4093a1=ua(_0x2da12d),_0x3e9fb7=_0x5469ef(),_0x77e33c=new _0x5e4432(_0x3e9fb7),_0x4db202=new _0x3b9cf9(),_0x21c1a0=!0x1,_0x323e06=!0x1,_0x23a780=_0xadd0e0=>ca(_0x4093a1)&&la(_0xadd0e0),_0x49759a=()=>{_0x323e06||_0x21c1a0||(_0x323e06=!0x0,queueMicrotask(()=>{const _0x1ea587=_0x1779;if(_0x323e06=!0x1,!_0x21c1a0){let _0x2a7919=_0x5469ef();if(!_0x23a780(_0x2a7919)){_0x8ef709();return;}_0x77e33c[_0x1ea587(0x3f1)](_0x2a7919);}}));};return _0x2da12d&&_0x4db202['add'](_0x2da12d[_0x1911d0(0x21f)](_0x2c4072=>{_0x4093a1=_0x2c4072,_0x49759a();})),typeof window<'u'&&_0x4db202[_0x1911d0(0x371)](_0x22c62d(_0x11e0c5(window,_0x1911d0(0x234),{'capture':!0x0}),_0x11e0c5(window,'resize'))[_0x1911d0(0x277)](_0x109990(0x10))[_0x1911d0(0x21f)](_0x49759a)),{'initialRect':_0x3e9fb7,'anchorRect$':_0x77e33c[_0x1911d0(0x298)](),'visible':_0x23a780(_0x3e9fb7),'dispose':()=>{const _0x6345fc=_0x1911d0;_0x21c1a0=!0x0,_0x4db202[_0x6345fc(0x3d3)](),_0x77e33c[_0x6345fc(0x1bc)]();}};}const fa='sheets-chart-element-float-menu';let pa=class extends _0x32a96b{constructor(_0x289cd8,_0x18608a,_0x2518d1,_0x42d881,_0x263cc4,_0x59da4f,_0x2b0f35,_0x268395,_0x27d40a){const _0x4498e1=_0x568f44;super(),this[_0x4498e1(0x3bf)]=_0x289cd8,this[_0x4498e1(0x36d)]=_0x18608a,this['_chartHostProvider']=_0x2518d1,this[_0x4498e1(0x48e)]=_0x42d881,this[_0x4498e1(0x40b)]=_0x263cc4,this[_0x4498e1(0x270)]=_0x59da4f,this[_0x4498e1(0x291)]=_0x2b0f35,this[_0x4498e1(0x42b)]=_0x268395,this[_0x4498e1(0x486)]=_0x27d40a,G(this,_0x4498e1(0x2df),null),G(this,_0x4498e1(0x24e),null),G(this,_0x4498e1(0x263),null),this[_0x4498e1(0x29b)](),this['_subscribeChartEvents']();}['dispose'](){const _0x1384a2=_0x568f44;this[_0x1384a2(0x2e2)](),super['dispose']();}[_0x568f44(0x29b)](){const _0x4e4f5c=_0x568f44;let _0x4032c1=_0x3ef70c({'chartUIService':this[_0x4e4f5c(0x270)],'getHostAdapter':_0x32a94d=>{const _0x535322=_0x4e4f5c;let _0x7a54ce=this[_0x535322(0x3bf)][_0x535322(0x250)](_0x32a94d[_0x535322(0x43d)]);if(_0x7a54ce&&_0x32a94d[_0x535322(0x206)])return new _0x31f947(_0x7a54ce,new _0x212bb6({'unitId':_0x32a94d[_0x535322(0x45f)],'subUnitId':_0x32a94d[_0x535322(0x206)],'chartId':_0x32a94d[_0x535322(0x43d)],'injector':this[_0x535322(0x486)]}));},'close':()=>this[_0x4e4f5c(0x2e2)](),'openFullPanel':_0x5dea27=>{const _0x44d567=_0x4e4f5c;let {unitId:_0x4ddd15,subUnitId:_0x4c36cd,drawingId:_0x4e5101,chartId:_0x38cba5}=_0x5dea27,_0x4186ea=_0x453d33(_0x5dea27['target']);this[_0x44d567(0x42b)][_0x44d567(0x1f7)](U['id'],{'unitId':_0x4ddd15,'subUnitId':_0x4c36cd??'','drawingId':_0x4e5101??_0x38cba5,..._0x4186ea?{'route':_0x4186ea}:{}});}});this[_0x4e4f5c(0x349)](this[_0x4e4f5c(0x291)][_0x4e4f5c(0x42d)](fa,_0x4032c1));}[_0x568f44(0x459)](){const _0x24b98a=_0x568f44;this['disposeWithMe'](this[_0x24b98a(0x3bf)][_0x24b98a(0x452)][_0x24b98a(0x21f)](_0x39b8f7=>{const _0x1a6b79=_0x24b98a;let _0x4107ff=new _0x3b9cf9();_0x4107ff[_0x1a6b79(0x371)](this[_0x1a6b79(0x36d)]['on'](_0x39b8f7['id'],'click',_0x3041c5=>{this['_openFloatMenu'](_0x39b8f7['id'],_0x3041c5);})),_0x4107ff[_0x1a6b79(0x371)](this[_0x1a6b79(0x36d)]['on'](_0x39b8f7['id'],_0x1a6b79(0x289),()=>{const _0x210a5e=_0x1a6b79;this[_0x210a5e(0x41c)](_0x39b8f7['id']);})),_0x39b8f7['onDispose'](()=>{const _0x555158=_0x1a6b79;_0x4107ff[_0x555158(0x3d3)](),this[_0x555158(0x345)](_0x39b8f7['id']);}),this[_0x1a6b79(0x349)](_0x4107ff);})),this[_0x24b98a(0x349)](_0x4d9f86([this[_0x24b98a(0x3bf)][_0x24b98a(0x46a)],this[_0x24b98a(0x270)][_0x24b98a(0x343)]])[_0x24b98a(0x21f)](([_0x49fb20,_0xf28883])=>{const _0x110bd8=_0x24b98a;(!_0xf28883||this['_popupChartId']&&(_0x49fb20==null?void 0x0:_0x49fb20['id'])!==this[_0x110bd8(0x24e)])&&this[_0x110bd8(0x2e2)]();})),this[_0x24b98a(0x349)](this['_sheetCanvasFloatDomManagerService'][_0x24b98a(0x2f4)]['subscribe'](({id:_0x4c42fa})=>{this['_clearSelectedTarget'](_0x4c42fa);})),this[_0x24b98a(0x349)](this[_0x24b98a(0x40b)][_0x24b98a(0x1c7)][_0x24b98a(0x21f)](({id:_0x38aff7})=>{this['_clearSelectedTarget'](_0x38aff7);})),this[_0x24b98a(0x349)](this['_chartHostProvider'][_0x24b98a(0x276)][_0x24b98a(0x21f)](_0xe4bc2f=>{const _0x394062=_0x24b98a;this[_0x394062(0x345)](_0xe4bc2f);}));}[_0x568f44(0x41c)](_0x7255e8){const _0x17fc86=_0x568f44;if(this[_0x17fc86(0x270)][_0x17fc86(0x33b)])return;let _0x1c88d9=this[_0x17fc86(0x3bf)][_0x17fc86(0x250)](_0x7255e8),_0x1bc586=this[_0x17fc86(0x40b)]['getFloatDomInfo'](_0x7255e8);_0x1c88d9&&_0x1bc586&&this[_0x17fc86(0x42b)]['executeCommand'](U['id'],{'unitId':_0x1bc586['unitId'],'subUnitId':_0x1bc586[_0x17fc86(0x206)]??'','drawingId':_0x7255e8});}[_0x568f44(0x357)](_0x3b7246,_0x37cc75){const _0x567208=_0x568f44;if(!this[_0x567208(0x270)][_0x567208(0x31d)](_0x3b7246))return;let _0x409ba0=this['_chartModelService'][_0x567208(0x250)](_0x3b7246),_0x1d314e=_0x409ba0?Gr(_0x409ba0,_0x37cc75[_0x567208(0x478)]):void 0x0;if(!_0x1d314e){this[_0x567208(0x270)][_0x567208(0x1c4)](),this[_0x567208(0x2e2)]();return;}let _0x55f6ed=this['_sheetCanvasFloatDomManagerService'][_0x567208(0x275)](_0x3b7246);if(!_0x409ba0||!_0x55f6ed){this[_0x567208(0x270)][_0x567208(0x1c4)](),this[_0x567208(0x2e2)]();return;}let _0x4e3561=JSON['stringify']([_0x55f6ed[_0x567208(0x45f)],_0x55f6ed[_0x567208(0x206)],_0x3b7246,_0x1d314e['target']]);if(this[_0x567208(0x2df)]&&this[_0x567208(0x263)]===_0x4e3561||(this[_0x567208(0x270)][_0x567208(0x45c)](_0x3b7246,_0x1d314e[_0x567208(0x27e)]),this['_closePopup'](),!_0x1d314e[_0x567208(0x35c)]))return;let _0xcb1576=da(_0x37cc75,_0x55f6ed[_0x567208(0x364)],()=>this[_0x567208(0x415)](_0x3b7246));if(!_0xcb1576['visible']){_0xcb1576['dispose']();return;}let _0x503eaf=this[_0x567208(0x48e)][_0x567208(0x3ef)](_0xcb1576[_0x567208(0x3b1)],_0xcb1576[_0x567208(0x394)],{'componentKey':_0xeabddf,'constrainToCanvas':!0x0,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x55f6ed['unitId'],'subUnitId':_0x55f6ed[_0x567208(0x206)],'chartId':_0x3b7246,'drawingId':_0x3b7246,'element':_0x37cc75[_0x567208(0x478)],'target':_0x1d314e[_0x567208(0x33f)],'adapterKey':fa}},_0x55f6ed[_0x567208(0x45f)],_0x55f6ed['subUnitId'])??null;if(!_0x503eaf){_0xcb1576['dispose']();return;}let _0x500fd1=new _0x3b9cf9();_0x500fd1[_0x567208(0x371)](_0x503eaf),_0x500fd1['add'](_0xcb1576),this['_popupDisposable']=_0x500fd1,this[_0x567208(0x24e)]=_0x3b7246,this[_0x567208(0x263)]=_0x4e3561;}[_0x568f44(0x2e2)](){const _0x400913=_0x568f44;var _0x167bff;(_0x167bff=this[_0x400913(0x2df)])==null||_0x167bff[_0x400913(0x3d3)](),this['_popupDisposable']=null,this[_0x400913(0x24e)]=null,this['_popupSessionKey']=null;}[_0x568f44(0x345)](_0x1895ba){const _0x281dd2=_0x568f44;(this[_0x281dd2(0x270)][_0x281dd2(0x31d)](_0x1895ba)||this[_0x281dd2(0x24e)]===_0x1895ba)&&(this[_0x281dd2(0x270)][_0x281dd2(0x1c4)](),this[_0x281dd2(0x24e)]===_0x1895ba&&this[_0x281dd2(0x2e2)]());}[_0x568f44(0x415)](_0x4dc339){const _0x54224f=_0x568f44;this[_0x54224f(0x345)](_0x4dc339),this[_0x54224f(0x270)][_0x54224f(0x31d)](_0x4dc339)&&(this[_0x54224f(0x36d)]['setElementEditMode'](_0x4dc339,!0x1),this[_0x54224f(0x36d)]['setElementEditMode'](_0x4dc339,!0x0));}};pa=J([q(0x0,_0x563aa6(_0x813c91)),q(0x1,_0x563aa6(Y)),q(0x2,pi),q(0x3,_0x563aa6(_0x5608a1)),q(0x4,_0x563aa6(_0x3a2ef5)),q(0x5,X),q(0x6,_0x563aa6(_0x3f448f)),q(0x7,_0x5729da),q(0x8,_0x563aa6(_0x363c1f))],pa);let ma=class extends _0x32a96b{constructor(_0x3f2145,_0x1ee2fb){const _0x508380=_0x568f44;super(),this['_componentManager']=_0x3f2145,this[_0x508380(0x2a5)]=_0x1ee2fb,this[_0x508380(0x2f2)](),this[_0x508380(0x248)]();}[_0x568f44(0x2f2)](){const _0x5c599f=_0x568f44;this[_0x5c599f(0x349)](this['_iconManager'][_0x5c599f(0x42d)]({'PenIcon':_0x2c239e}));}[_0x568f44(0x248)](){const _0x18be7f=_0x568f44;[[Ei,Ti]][_0x18be7f(0x3ac)](([_0x7abf53,_0x52dfa9])=>{const _0x351dc4=_0x18be7f;this['disposeWithMe'](this[_0x351dc4(0x30e)][_0x351dc4(0x42d)](_0x7abf53,_0x52dfa9));});}};ma=J([q(0x0,_0x563aa6(_0x20b208)),q(0x1,_0x563aa6(_0x4c37de))],ma);let $=class extends _0x33d61d{constructor(_0x5bee54=Cr,_0x45263e,_0x55835a,_0x211810){const _0x429f75=_0x568f44;super(),this[_0x429f75(0x2fd)]=_0x5bee54,this[_0x429f75(0x486)]=_0x45263e,this[_0x429f75(0x2f9)]=_0x55835a,this[_0x429f75(0x42b)]=_0x211810,G(this,'_resolvedConfig',void 0x0);let {..._0x1d8284}=_0x5b74ec({},Cr,this['_config']);this[_0x429f75(0x332)]=_0x1d8284,this[_0x429f75(0x2f9)][_0x429f75(0x46b)](Sr,_0x1d8284),this[_0x429f75(0x28b)]();}['onStarting'](){const _0x66f224=_0x568f44;this[_0x66f224(0x486)]['add']([ma]),this[_0x66f224(0x486)][_0x66f224(0x37e)](ma);let _0x21a370=this[_0x66f224(0x486)],_0x522741=[[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x240f33=[[ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];this[_0x66f224(0x332)][_0x66f224(0x253)]&&(_0x522741['push']([pa]),_0x240f33[_0x66f224(0x3f5)]([pa])),_0x522741[_0x66f224(0x3ac)](_0x46d216=>_0x21a370[_0x66f224(0x371)](_0x46d216)),_0x1479f7(this[_0x66f224(0x486)],_0x240f33);}['onRendered'](){const _0x4f57f4=_0x568f44;var _0x301748;(_0x301748=this[_0x4f57f4(0x486)][_0x4f57f4(0x37e)](ji))==null||_0x301748[_0x4f57f4(0x3aa)]();}[_0x568f44(0x28b)](){const _0x2b7d9a=_0x568f44;[W,Dr,Or,kr,Ar,U,wr][_0x2b7d9a(0x3ac)](_0x2d70f1=>this['disposeWithMe'](this[_0x2b7d9a(0x42b)][_0x2b7d9a(0x1d6)](_0x2d70f1)));}};G($,_0x568f44(0x2b9),_0x1878f2[_0x568f44(0x352)]),G($,_0x568f44(0x435),_0x568f44(0x233)),G($,_0x568f44(0x388),Mi),G($,_0x568f44(0x209),Ni),$=J([_0x35d89e(_0x34a976,_0x2d7235,_0x300fdb,_0x2c14ef,_0x56fa26,_0x68f4d6,_0x3db818,_0x58f807,_0x1bb619),q(0x1,_0x563aa6(_0x363c1f)),q(0x2,_0x4fc0b3),q(0x3,_0x5729da)],$);export{U as ChartOpenPanelOperation,Y as ChartRenderService,X as ISheetsChartUIService,Sr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,ji as SheetsChartUIController,Hr as SheetsChartUIMenuSchema,_i as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,da as createChartElementPopupAnchorObserver};
1
+ const _0x263333=_0x2930;(function(_0x51b766,_0x1403ed){const _0x2d12cc=_0x2930,_0x555aec=_0x51b766();while(!![]){try{const _0x575dd4=-parseInt(_0x2d12cc(0x427))/0x1*(-parseInt(_0x2d12cc(0x46d))/0x2)+-parseInt(_0x2d12cc(0x271))/0x3*(-parseInt(_0x2d12cc(0x1c9))/0x4)+parseInt(_0x2d12cc(0x2a2))/0x5*(parseInt(_0x2d12cc(0x45e))/0x6)+parseInt(_0x2d12cc(0x3cc))/0x7*(-parseInt(_0x2d12cc(0x2f4))/0x8)+parseInt(_0x2d12cc(0x1f3))/0x9*(parseInt(_0x2d12cc(0x386))/0xa)+parseInt(_0x2d12cc(0x273))/0xb*(-parseInt(_0x2d12cc(0x44c))/0xc)+parseInt(_0x2d12cc(0x28e))/0xd*(parseInt(_0x2d12cc(0x442))/0xe);if(_0x575dd4===_0x1403ed)break;else _0x555aec['push'](_0x555aec['shift']());}catch(_0x459e82){_0x555aec['push'](_0x555aec['shift']());}}}(_0x47f1,0x7de16));import{CommandType as _0x325c35,DependentOn as _0x269324,Disposable as _0x3a35f7,DisposableCollection as _0x3c471c,DrawingTypeEnum as _0x815b3e,FOCUSING_COMMON_DRAWINGS as _0x3188eb,FOCUSING_PANEL_EDITOR as _0x497031,ICommandService as _0x63bada,IConfigService as _0x11a50d,IContextService as _0x599068,IUniverInstanceService as _0x2c5fcd,Inject as _0x5190dd,Injector as _0x16b37d,LocaleService as _0x50e4d0,Plugin as _0x172141,ThemeService as _0x190011,UniverInstanceType as _0x1ed8d9,createIdentifier as _0x24b5b8,debounce as _0x379334,generateRandomId as _0x4c4d3a,isValidRange as _0x7a1176,merge as _0x1db3d3,numberToABC as _0x5cd14e,toDisposable as _0x24488e,touchDependencies as _0x4cce69}from'@univerjs/core';import{ChartModelService as _0x32f3e4,ChartUpdateConfigCommand as _0x47cbc8,ChartUpdateConfigMutation as _0x112021,ChartUpdateSourceCommand as _0x5f3e75,InsertChartCommand as _0x43527e,InsertSheetsChartMutation as _0x1a4a0b,RemoveSheetsChartMutation as _0x346aa4,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x51b7e1,SHEETS_CHART_PLUGIN_NAME as _0x21c943,SheetChartConfigAdapter as _0x3efb65,SheetsChartService as _0x2787aa,UniverSheetsChartPlugin as _0x13eccd,getAllowedChartTypes as _0x15b8bc,toInsertChartMutationSource as _0x4e634f}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x1e57fe,UniverDrawingPlugin as _0x465357,getDrawingShapeKeyByDrawingSearch as _0xa5d21,getOrCreateDrawingCopyPlan as _0x344ca1}from'@univerjs/drawing';import{DrawingApplyType as _0x564d9d,ISheetDrawingService as _0x3e9d1a,RemoveSheetDrawingCommand as _0x46454a,SetDrawingApplyMutation as _0x4080f3,UniverSheetsDrawingPlugin as _0x32d2dc,transformToDrawingPosition as _0x35ed34}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x471df9,SheetCanvasFloatDomManagerService as _0x1f911b,SheetDrawingHitTestService as _0x50d1b6,UniverSheetsDrawingMobileUIPlugin as _0x181cc5,UniverSheetsDrawingUIPlugin as _0x190210}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x3942c2,ISheetClipboardService as _0xfb9994,PREDEFINED_HOOK_NAME as _0x2fbc4c,SheetCanvasPopManagerService as _0x4b902f,SheetCopyCommand as _0x82d6a6,SheetPrintInterceptorService as _0xecb1d5,SheetSkeletonManagerService as _0x4684cd,UniverSheetsMobileUIPlugin as _0x103b3f,UniverSheetsUIPlugin as _0x3b98e0,deriveStateFromActiveSheet$ as _0x5aaa1c,getCurrentRangeDisable$ as _0x2efe86}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x26624d,ComponentManager as _0x5c17db,ContextMenuGroup as _0x4c30cf,ContextMenuPosition as _0x36fa51,IMenuManagerService as _0x31f657,ISidebarService as _0x1a8322,IconManager as _0x8564df,KeyCode as _0x8f20a0,MenuItemType as _0xe20dba,NativeTextEditorShortcutBehavior as _0x591808,RibbonInsertGroup as _0x5b48fa,UniverMobileUIPlugin as _0x255b1e,getMenuHiddenObservable as _0x298074,useDependency as _0x554478,useObservable as _0x85eb5e}from'@univerjs/ui';import{BehaviorSubject as _0x4a0875,Observable as _0x29a26d,Subject as _0x5065d2,combineLatest as _0x52c64d,combineLatestWith as _0x3fb060,debounceTime as _0xb7c1f6,distinctUntilChanged as _0x1b7120,filter as _0x3d855b,fromEvent as _0x471e76,map as _0x3d1348,merge as _0x556df5,pairwise as _0x23f198,skip as _0x28fbbc,startWith as _0x264374,switchMap as _0x3e093b,take as _0x22f11f,throttleTime as _0x4a0275,withLatestFrom as _0x46b3ab}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x4cb384,CHART_HOST_BORDER_RADIUS as _0x5084c6,CHART_TYPE_CATALOG as _0x1ae014,ChartAxisSection as _0x3060b4,ChartDomFrame as _0x1f2f54,ChartEditBlockTitle as _0x14e42d,ChartEditPanelSection as _0x5d2715,ChartEditPanelTab as _0xf78bcd,ChartEditorCapability as _0x5c93c7,ChartEditorProvider as _0x4e9c5c,ChartEditorTabs as _0x11c083,ChartElementFloatMenuAdapterRegistry as _0x532f03,ChartFrameContentMode as _0x367814,ChartFrameLayout as _0x44a172,ChartFunnelStyleSection as _0x3f029a,ChartGridlinesAndTicksSection as _0x370a3b,ChartHeatmapStyleSection as _0x25da6b,ChartHostAdapter as _0x3898d0,ChartImageExportService as _0x26ba90,ChartIndicatorLineSection as _0x2d9d47,ChartLegendSection as _0x347eeb,ChartLineAndAreaSection as _0x49f310,ChartNumberFormatAtom as _0x4d98cf,ChartParetoSeriesSection as _0x571a81,ChartPieStyleSection as _0x21ace2,ChartRadarStyleSection as _0x5b595c,ChartRelationStyleSection as _0x59f49e,ChartSectionAccordion as _0x1f33f5,ChartSectionAccordionContent as _0x5a54e2,ChartSectionAccordionItem as _0x4b128c,ChartSectionAccordionTrigger as _0x5a6d7e,ChartSeriesSection as _0x3e0938,ChartSetupPanel as _0x4b0690,ChartStyleSection as _0x180303,ChartThreeDSection as _0x170b26,ChartTitlesSection as _0x2d86f4,ChartTrendlineSection as _0x18df68,ChartTypeSpecificStyleSection as _0xa1851d,ChartUIService as _0x68b44a,ChartViewStateRegistry as _0x2b3d8a,ChartWaterfallStyleSection as _0x79a0a5,ChartWordCloudStyleSection as _0x32ad0b,DEFAULT_CHART_AXIS_VALUES as _0x3f85ba,DEFAULT_CHART_FUNNEL_VALUES as _0x41f199,DEFAULT_CHART_HEATMAP_VALUES as _0x50196b,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x10d03e,DEFAULT_CHART_LEGEND_VALUES as _0x3d1221,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x39e4e3,DEFAULT_CHART_PARETO_VALUES as _0x1341e6,DEFAULT_CHART_PIE_VALUES as _0x4436b4,DEFAULT_CHART_RADAR_VALUES as _0x821bc7,DEFAULT_CHART_RELATION_VALUES as _0x1a02cc,DEFAULT_CHART_SERIES_VALUES as _0x1d0a63,DEFAULT_CHART_STYLE_VALUES as _0x2fb045,DEFAULT_CHART_TITLE_VALUES as _0x27f7c1,DEFAULT_CHART_TRENDLINE_VALUES as _0x30e56f,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x3da2a6,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x1a9cfc,MobileChartEditorProvider as _0x43ec19,UniverChartMobileUIPlugin as _0x49283a,UniverChartUIPlugin as _0x4e9ff0,buildChartTypeSelectOptions as _0x51eb9b,chartTypeSupportsCapability as _0x1f4632,chartTypeSupportsLineAndAreaStyle as _0x552c88,createChartElementFloatMenuAdapter as _0xcf966,resolveChartCreationIntent as _0x1347d8,resolveChartEditPanelRoute as _0xdf9f48,resolveChartElementSelection as _0x15d49e,useChartEditorChartType as _0x101893,useChartEditorHasRightAxis as _0x2bbc12}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x7748e2,ChartImageExportFormat as _0x2d7094,ChartImageSourceType as _0x151a03,ChartRenderMode as _0xe3c0fe,ChartSourceHeaderTitleType as _0x714925,ChartThemeService as _0x4a5194,ChartTypeBits as _0x3c84c9,ChartWaterfallStyleTarget as _0x1072fe,DataOrientation as _0x24d31d,EChartRenderEngineName as _0x422b0d,IChartRenderModelManagerService as _0x43978c,ImageChartHost as _0x2def3b,PieSecondaryPlotType as _0x736e13,RTLChartStyle as _0x22475e,chartBitsUtils as _0x21f2d6,chartImageSourceToDataUrl as _0x5f003f,chartTypeCanUseTrendLine as _0x57d49e,resolveChartRuntimeStyle as _0xd7599e,resolveChartStyleBackgroundColor as _0x5b18e2,resolveDefaultChartHostFrameStyle as _0x24a11b}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x2c602a,RemoveSheetCommand as _0x586782,SheetInterceptorService as _0x592644,SheetPermissionCheckController as _0x15b11f,SheetSkeletonService as _0x1b596f,SheetsSelectionsService as _0x4a4e39,UniverSheetsPlugin as _0x42887e,WorkbookEditablePermission as _0x4c9e22,WorksheetEditPermission as _0xe75b66,attachRangeWithCoord as _0x432fae,discreteRangeToRange as _0x735cdb,getSheetCommandTarget as _0x59667a}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x163e7d,matchToken as _0x466c09,serializeRangeWithSheet as _0x3b9c15}from'@univerjs/engine-formula';import{insertGroupObject as _0x2961f6}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0xf9723f,IRenderManagerService as _0x170796,ObjectType as _0x1bbeb5,RENDER_CLASS_TYPE as _0x4b49bb,Rect as _0x190a87,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x12d3fe,Transform as _0x6f0905,UniverRenderEnginePlugin as _0xad70e6}from'@univerjs/engine-render';import{useCallback as _0x3abaaa,useEffect as _0x1b4572,useMemo as _0x10426f,useRef as _0x5f5b39,useState as _0x49f4f2}from'react';import{Button as _0x586592,Checkbox as _0x4f1660}from'@univerjs/design';import{MobileRangeSelector as _0x5713bf,RangeSelector as _0x437239}from'@univerjs/sheets-formula-ui';import{Fragment as _0x3ef29f,jsx as _0x631d41,jsxs as _0x19292e}from'react/jsx-runtime';import{UniverLicensePlugin as _0x54c646}from'@univerjs-pro/license';import{PenIcon as _0x702dcd}from'@univerjs/icons';const U={'type':_0x325c35['OPERATION'],'id':'sheet.operation.open-chart-panel','handler'(){return!0x0;}},Sr=_0x263333(0x25d),Cr={'enableChartElementFloatMenu':!0x0},wr={'type':_0x325c35[_0x263333(0x26d)],'id':_0x263333(0x1d7),'handler'(){return!0x0;}};function Tr(_0x3de421){const _0x52b27b=_0x263333;let _0x56c9e4=_0x3de421['get'](_0x3e9d1a)[_0x52b27b(0x404)]();if(_0x56c9e4[_0x52b27b(0x1e0)]!==0x1)return null;let _0x414d70=_0x56c9e4[0x0];return _0x414d70[_0x52b27b(0x23d)]===_0x815b3e[_0x52b27b(0x2c4)]?_0x414d70:null;}function Er(_0x37cf01,_0x15622b){const _0x488a9a=_0x263333;let _0x207cee=document[_0x488a9a(0x296)]('a');_0x207cee[_0x488a9a(0x389)]=_0x37cf01,_0x207cee[_0x488a9a(0x3b8)]=_0x15622b,_0x207cee['click']();}const Dr={'id':_0x263333(0x262),'type':_0x325c35[_0x263333(0x201)],'handler':(_0x5ccc35,_0x56977f)=>{const _0x5dd1c5=_0x263333;let _0x56c4e4=Tr(_0x5ccc35);return _0x56c4e4?_0x5ccc35[_0x5dd1c5(0x461)](_0x63bada)[_0x5dd1c5(0x25f)](U['id'],{'unitId':_0x56c4e4['unitId'],'subUnitId':_0x56c4e4[_0x5dd1c5(0x29a)],'drawingId':_0x56c4e4[_0x5dd1c5(0x3ae)],..._0x56977f!=null&&_0x56977f['route']?{'route':_0x56977f[_0x5dd1c5(0x2e5)]}:{}}):!0x1;}},Or={'id':_0x263333(0x2f8),'type':_0x325c35['COMMAND'],'handler':_0x42efc3=>Tr(_0x42efc3)?_0x42efc3['get'](_0x63bada)[_0x263333(0x25f)](_0x82d6a6['id']):!0x1},kr={'id':_0x263333(0x24c),'type':_0x325c35[_0x263333(0x201)],'handler':async _0x4ac810=>{const _0x29e550=_0x263333;let _0x59042c=Tr(_0x4ac810);if(!_0x59042c)return!0x1;let _0xb1a8b6=await _0x4ac810[_0x29e550(0x461)](_0x26ba90)[_0x29e550(0x487)]({'unitId':_0x59042c[_0x29e550(0x47d)],'subUnitId':_0x59042c['subUnitId'],'getId':()=>_0x59042c['drawingId']});return _0xb1a8b6?(Er(_0xb1a8b6,_0x59042c['drawingId']+_0x29e550(0x3a1)),!0x0):!0x1;}},Ar={'id':_0x263333(0x2cd),'type':_0x325c35[_0x263333(0x201)],'handler':_0x2c6543=>{const _0x4d842d=_0x263333;let _0x8ee8b9=Tr(_0x2c6543);return _0x8ee8b9?_0x2c6543[_0x4d842d(0x461)](_0x63bada)[_0x4d842d(0x25f)](_0x46454a['id'],{'unitId':_0x8ee8b9[_0x4d842d(0x47d)],'drawings':[{'unitId':_0x8ee8b9[_0x4d842d(0x47d)],'subUnitId':_0x8ee8b9[_0x4d842d(0x29a)],'drawingId':_0x8ee8b9[_0x4d842d(0x3ae)],'drawingType':_0x815b3e[_0x4d842d(0x2c4)]}]}):!0x1;}},W={'type':_0x325c35[_0x263333(0x201)],'id':'sheet.command.menu-insert-chart','handler':async(_0x11da52,_0x2dae6b)=>{const _0x767c61=_0x263333;let _0x34629d=_0x59667a(_0x11da52['get'](_0x2c5fcd));if(!_0x34629d)return!0x1;let _0x1772c8=_0x11da52[_0x767c61(0x461)](_0x4a4e39)['getCurrentLastSelection']();if(!_0x1772c8)return!0x1;let {range:_0x57964a}=_0x1772c8,_0x144904=_0x11da52['get'](_0x63bada),{unitId:_0x43caf0,subUnitId:_0x379c96}=_0x34629d,{pieSecondaryPlotType:_0x46ff92,value:_0x61bfdc}=_0x2dae6b,_0x4241cb=_0x46ff92!==void 0x0;if(_0x4241cb&&(_0x61bfdc!==_0x3c84c9[_0x767c61(0x32d)]||_0x46ff92!==_0x736e13[_0x767c61(0x32d)]&&_0x46ff92!==_0x736e13[_0x767c61(0x30b)]))return!0x1;let _0x34b474=_0x4241cb?_0x4c4d3a():void 0x0;return _0x144904[_0x767c61(0x25f)](_0x43527e['id'],{'unitId':_0x43caf0,'subUnitId':_0x379c96,'chartType':_0x61bfdc,..._0x34b474&&_0x46ff92?{'chartId':_0x34b474,'config':{'unitId':_0x43caf0,'chartModelId':_0x34b474,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x46ff92}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x57964a[_0x767c61(0x47d)]??_0x43caf0,'subUnitId':_0x57964a[_0x767c61(0x3ff)]??_0x379c96,'range':_0x57964a}}});}};function jr(_0x5360e5,_0x58d794){const _0x3509ca=_0x263333;if(_0x5360e5==null)return'';if(Array[_0x3509ca(0x30d)](_0x5360e5)){var _0x34de56;let _0x3d8a61=(_0x34de56=_0x5360e5[0x0])==null?void 0x0:_0x34de56[_0x3509ca(0x444)];return _0x3d8a61?Mr(_0x3d8a61,_0x58d794):'';}return Mr(_0x5360e5[_0x3509ca(0x1b3)],_0x58d794);}function Mr(_0x450871,_0x3d60af){const _0x338ab1=_0x263333;var _0x229ee7;let {unitId:_0x2f670d,subUnitId:_0x5c7ea7,range:_0x28339b}=_0x450871,_0x42ee0a=(_0x229ee7=_0x3d60af[_0x338ab1(0x476)](_0x2f670d))==null?void 0x0:_0x229ee7[_0x338ab1(0x43c)](_0x5c7ea7);if(!_0x42ee0a)return'';let _0x96bc5d=_0x42ee0a[_0x338ab1(0x3bc)]();return _0x3b9c15(_0x96bc5d,_0x28339b);}const Nr=_0x1ae014[_0x263333(0x1dd)](_0x506a11=>({'id':'id'in _0x506a11?_0x506a11['id']:void 0x0,'labelId':_0x506a11[_0x263333(0x1c5)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x506a11?_0x506a11[_0x263333(0x217)]:void 0x0,'value':_0x506a11[_0x263333(0x37f)],'icon':_0x506a11['iconName']}));function Pr(_0x2dab95=Nr){const _0x4dea7a=_0x263333;return _0x2dab95[_0x4dea7a(0x1dd)](({id:_0x56aab4,icon:_0x69effd,value:_0x504f7f})=>{const _0x2d27d9=_0x4dea7a;let _0x5e8ea7=_0x1347d8(_0x56aab4??String(_0x504f7f)),_0x194235=_0x5e8ea7?{'value':_0x5e8ea7[_0x2d27d9(0x451)],..._0x5e8ea7[_0x2d27d9(0x217)]?{'pieSecondaryPlotType':_0x5e8ea7[_0x2d27d9(0x217)]}:{}}:{'value':_0x504f7f};return{'icon':_0x69effd,'value':_0x56aab4??_0x504f7f,'params':_0x194235};});}const Fr=(_0x5a7606,_0x20434b)=>{const _0xab9d8e=_0x263333;if(_0x20434b[_0xab9d8e(0x1e0)]===0x1&&_0x20434b[0x0]===_0xab9d8e(0x27a))return _0x5a7606;if(_0x20434b[_0xab9d8e(0x1e0)]>0x1){let _0x5388f8=new Set();for(let _0x366e9a of _0x20434b)_0x5388f8['add'](Number(_0x366e9a));return _0x5a7606[_0xab9d8e(0x34d)](_0x2e9c0c=>_0x5388f8[_0xab9d8e(0x255)](_0x2e9c0c[_0xab9d8e(0x37f)]));}return[];};function Ir(_0x20687a){const _0x5076c3=_0x263333;let _0x2ddbfb=_0x20687a[_0x5076c3(0x461)](_0x2c5fcd),_0x59ff55=_0x15b8bc(_0x20687a),_0x3d5770=Fr(Nr['concat'](),_0x59ff55),_0x4d11c1=Pr(_0x3d5770)['map']((_0x3f09fc,_0x27d762)=>({'icon':_0x3f09fc[_0x5076c3(0x3d1)],'value':_0x3f09fc[_0x5076c3(0x37f)],'params':_0x3f09fc['params'],'label':_0x5076c3(0x1da)+_0x3d5770[_0x27d762][_0x5076c3(0x1c5)]}));return{'id':W['id'],'type':_0xe20dba[_0x5076c3(0x488)],'selectionsCommandId':W['id'],'selections':_0x4d11c1,'icon':'ChartIcon','tooltip':_0x5076c3(0x25e),'activated$':_0x5aaa1c(_0x2ddbfb,!0x1,()=>new _0x29a26d(_0x2dc122=>{const _0x3948f3=_0x5076c3;_0x2dc122[_0x3948f3(0x2ed)](!0x1);})),'hidden$':_0x298074(_0x20687a,_0x1ed8d9['UNIVER_SHEET']),'disabled$':_0x2efe86(_0x20687a)};}function Lr(_0x4c155e){const _0x19104f=_0x263333;let _0x4996ad=_0x4c155e[_0x19104f(0x461)](_0x3e9d1a);return _0x4996ad[_0x19104f(0x47e)]['pipe'](_0x264374(_0x4996ad[_0x19104f(0x404)]()),_0x3d1348(()=>Tr(_0x4c155e)==null));}function Rr(_0x4ff2a6){const _0x559f29=_0x263333;return{'id':Dr['id'],'commandId':Dr['id'],'type':_0xe20dba[_0x559f29(0x333)],'title':_0x4ff2a6['get'](_0x50e4d0)['t']('sheets-chart-ui.common.openChartPanel'),'icon':_0x559f29(0x225),'hidden$':Lr(_0x4ff2a6)};}function zr(_0x459d90){const _0xc244d2=_0x263333;return{'id':Or['id'],'commandId':Or['id'],'type':_0xe20dba[_0xc244d2(0x333)],'title':_0x459d90[_0xc244d2(0x461)](_0x50e4d0)['t'](_0xc244d2(0x241)),'icon':'CopyDoubleIcon','hidden$':Lr(_0x459d90)};}function Br(_0x509c5f){const _0x403a9f=_0x263333;return{'id':kr['id'],'commandId':kr['id'],'type':_0xe20dba[_0x403a9f(0x333)],'title':_0x509c5f[_0x403a9f(0x461)](_0x50e4d0)['t'](_0x403a9f(0x2b3)),'icon':_0x403a9f(0x3ab),'hidden$':Lr(_0x509c5f)};}function Vr(_0x21f24c){const _0x3a4c0f=_0x263333;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0xe20dba[_0x3a4c0f(0x333)],'title':_0x21f24c[_0x3a4c0f(0x461)](_0x50e4d0)['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x3a4c0f(0x335),'hidden$':Lr(_0x21f24c)};}const Hr={[_0x5b48fa[_0x263333(0x440)]]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}},[_0x36fa51[_0x263333(0x394)]]:{[_0x4c30cf[_0x263333(0x344)]]:{[Dr['id']]:{'order':0x0,'menuItemFactory':Rr},[Or['id']]:{'order':0x1,'menuItemFactory':zr},[kr['id']]:{'order':0x3,'menuItemFactory':Br},[Ar['id']]:{'order':0x4,'menuItemFactory':Vr}}}};function Ur(_0x2e9dce){const _0x4ebe6e=_0x263333;return _0x2e9dce===_0x3c84c9[_0x4ebe6e(0x421)]||_0x2e9dce===_0x3c84c9[_0x4ebe6e(0x419)]||_0x2e9dce===_0x3c84c9[_0x4ebe6e(0x2da)]||_0x21f2d6['baseOn'](_0x2e9dce,_0x3c84c9[_0x4ebe6e(0x1f0)])||_0x21f2d6[_0x4ebe6e(0x436)](_0x2e9dce,_0x3c84c9[_0x4ebe6e(0x3a2)])||_0x21f2d6[_0x4ebe6e(0x436)](_0x2e9dce,_0x3c84c9[_0x4ebe6e(0x1d8)])||_0x21f2d6[_0x4ebe6e(0x436)](_0x2e9dce,_0x3c84c9[_0x4ebe6e(0x45f)]);}function Wr(_0x338ee6){const _0x4c8497=_0x263333;return Ur(_0x338ee6)||_0x21f2d6[_0x4c8497(0x436)](_0x338ee6,_0x3c84c9['Pie'])||_0x21f2d6[_0x4c8497(0x436)](_0x338ee6,_0x3c84c9[_0x4c8497(0x42c)])||_0x21f2d6[_0x4c8497(0x436)](_0x338ee6,_0x3c84c9[_0x4c8497(0x383)]);}function Gr(_0x5a5691,_0x3ed4be){const _0x2010ca=_0x263333;let _0x54f53f=_0x15d49e(_0x5a5691,_0x3ed4be),_0x477648=_0x54f53f?_0xdf9f48(_0x54f53f[_0x2010ca(0x3af)]):void 0x0;if(_0x54f53f&&_0x477648)return{..._0x54f53f,'route':_0x477648,'showFloatMenu':Wr(_0x5a5691[_0x2010ca(0x451)])&&_0x54f53f[_0x2010ca(0x3cb)]};}function Kr(_0x364fb6){'@babel/helpers - typeof';const _0x2aa1a5=_0x263333;return Kr=typeof Symbol=='function'&&typeof Symbol[_0x2aa1a5(0x23f)]==_0x2aa1a5(0x477)?function(_0x59963d){return typeof _0x59963d;}:function(_0x59ec06){const _0x23a797=_0x2aa1a5;return _0x59ec06&&typeof Symbol=='function'&&_0x59ec06['constructor']===Symbol&&_0x59ec06!==Symbol[_0x23a797(0x246)]?_0x23a797(0x477):typeof _0x59ec06;},Kr(_0x364fb6);}function qr(_0x2b79a5,_0x46dcec){const _0x6feb4b=_0x263333;if(Kr(_0x2b79a5)!='object'||!_0x2b79a5)return _0x2b79a5;var _0x49661f=_0x2b79a5[Symbol[_0x6feb4b(0x211)]];if(_0x49661f!==void 0x0){var _0x35bb71=_0x49661f[_0x6feb4b(0x1cf)](_0x2b79a5,_0x46dcec||'default');if(Kr(_0x35bb71)!='object')return _0x35bb71;throw TypeError(_0x6feb4b(0x2ff));}return(_0x46dcec===_0x6feb4b(0x23e)?String:Number)(_0x2b79a5);}function Jr(_0x3dd1e9){const _0x4b804f=_0x263333;var _0x48d543=qr(_0x3dd1e9,_0x4b804f(0x23e));return Kr(_0x48d543)==_0x4b804f(0x477)?_0x48d543:_0x48d543+'';}function G(_0x15b65c,_0x1f4171,_0x37fc38){const _0x9faebf=_0x263333;return(_0x1f4171=Jr(_0x1f4171))in _0x15b65c?Object[_0x9faebf(0x23b)](_0x15b65c,_0x1f4171,{'value':_0x37fc38,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x15b65c[_0x1f4171]=_0x37fc38,_0x15b65c;}var Yr=class extends _0x3a35f7{constructor(_0x4f5a9e){const _0x20d5b2=_0x263333;super(),this[_0x20d5b2(0x283)]=_0x4f5a9e,G(this,_0x20d5b2(0x327),null),G(this,_0x20d5b2(0x29f),!0x1),G(this,'_pending',!0x1);}['request'](){const _0x41f8b2=_0x263333;this[_0x41f8b2(0x1c3)]||(this[_0x41f8b2(0x472)]=!0x0,!this[_0x41f8b2(0x29f)]&&this[_0x41f8b2(0x327)]===null&&(this[_0x41f8b2(0x327)]=requestAnimationFrame(()=>this[_0x41f8b2(0x469)]())));}['flush'](){const _0x5a55d1=_0x263333;if(this['_disposed']||this[_0x5a55d1(0x29f)])return;this[_0x5a55d1(0x323)]();let _0x21227c=this['_callback']();_0x21227c&&(this[_0x5a55d1(0x29f)]=!0x0,_0x21227c[_0x5a55d1(0x3cd)](_0x3ed2a0=>console[_0x5a55d1(0x3d0)](_0x3ed2a0))[_0x5a55d1(0x48a)](()=>{const _0x23320d=_0x5a55d1;this[_0x23320d(0x29f)]=!0x1,this[_0x23320d(0x472)]&&this[_0x23320d(0x2fa)]();}));}[_0x263333(0x323)](){const _0xc15edd=_0x263333;this[_0xc15edd(0x472)]=!0x1,this[_0xc15edd(0x327)]!==null&&(cancelAnimationFrame(this[_0xc15edd(0x327)]),this[_0xc15edd(0x327)]=null);}[_0x263333(0x2ce)](){const _0x45baff=_0x263333;this[_0x45baff(0x323)](),super[_0x45baff(0x2ce)]();}},Xr=class extends _0x3a35f7{constructor(_0x2acbfd,_0x3491f0){const _0x1e4f6e=_0x263333;super(),this[_0x1e4f6e(0x206)]=_0x2acbfd,this[_0x1e4f6e(0x3f0)]=_0x3491f0,G(this,_0x1e4f6e(0x3f5),void 0x0),G(this,_0x1e4f6e(0x2d6),void 0x0),this['_geometry']=this[_0x1e4f6e(0x23a)](),this[_0x1e4f6e(0x3f5)]=new Yr(()=>this['_updateGeometry']()),this[_0x1e4f6e(0x2a9)](this[_0x1e4f6e(0x3f5)]),this['disposeWithMe'](_0x2acbfd[_0x1e4f6e(0x19f)][_0x1e4f6e(0x41e)](()=>this['_scheduler']['request']()));}get[_0x263333(0x2bb)](){return this['_scheduler'];}['_updateGeometry'](){const _0x5dc091=_0x263333;let _0x53a0e3=this['_readGeometry'](),_0xfd971d=this[_0x5dc091(0x2d6)],_0x4ccbd2=_0x53a0e3[_0x5dc091(0x33e)]!==_0xfd971d[_0x5dc091(0x33e)]||_0x53a0e3[_0x5dc091(0x356)]!==_0xfd971d['height'];if(_0x4ccbd2||_0x53a0e3[_0x5dc091(0x334)]!==_0xfd971d[_0x5dc091(0x334)]||_0x53a0e3['top']!==_0xfd971d['top'])return this[_0x5dc091(0x2d6)]=_0x53a0e3,this['_onChange'](_0x4ccbd2);}[_0x263333(0x23a)](){let {left:_0x45344d,top:_0x3db41d,width:_0x37eeb5,height:_0x28ecf0}=this['_rect'];return{'left':_0x45344d,'top':_0x3db41d,'width':_0x37eeb5,'height':_0x28ecf0};}};function Zr(_0x449c65,_0xe9b97b=0x1){const _0x3692a4=_0x263333;return{'width':Math[_0x3692a4(0x486)](_0xe9b97b,_0x449c65[_0x3692a4(0x33e)]),'height':Math[_0x3692a4(0x486)](_0xe9b97b,_0x449c65[_0x3692a4(0x356)])};}function Qr(_0x591e28,_0x5404fa={},_0x51aef4={'left':0x0,'top':0x0}){const _0x468773=_0x263333;let _0xb69c6f=_0x5404fa[_0x468773(0x372)]??0x1,_0x4d7ce2=_0x5404fa[_0x468773(0x294)]??0x1,_0x2ecffd=_0x44a172[_0x468773(0x304)]({'logicalOuterRect':{'left':_0x51aef4[_0x468773(0x334)]>0x0?-_0x51aef4[_0x468773(0x334)]:0x0,'top':_0x51aef4[_0x468773(0x250)]>0x0?-_0x51aef4['top']:0x0,...Zr(_0x591e28)},'scale':{'scaleX':_0xb69c6f,'scaleY':_0x4d7ce2},'hostStyle':{},'contentMode':_0x367814[_0x468773(0x1c6)]});return{'left':_0x2ecffd[_0x468773(0x24b)][_0x468773(0x334)],'top':_0x2ecffd[_0x468773(0x24b)][_0x468773(0x250)],'width':_0x2ecffd[_0x468773(0x24b)]['width'],'height':_0x2ecffd[_0x468773(0x24b)]['height'],'scaleX':_0xb69c6f,'scaleY':_0x4d7ce2};}function $r(_0x2dc59a){const _0x38a211=_0x263333;switch(_0x2dc59a['type']){case _0x151a03['Canvas']:return _0x2dc59a[_0x38a211(0x2b1)];case _0x151a03[_0x38a211(0x1d0)]:return _0x2dc59a[_0x38a211(0x48e)];default:return;}}var ei=class extends _0x190a87{constructor(_0x5c27fd,_0x4ca6f8,_0x20eb3e,_0x53f549=()=>!0x1,_0x509a7c=()=>{}){const _0x46b082=_0x263333;super(_0x5c27fd,{..._0x4ca6f8,'evented':_0x4ca6f8[_0x46b082(0x443)]??!0x0}),this['_getImage']=_0x20eb3e,this[_0x46b082(0x21f)]=_0x53f549,this[_0x46b082(0x2a6)]=_0x509a7c,G(this,_0x46b082(0x45d),null),G(this,'_url',null),G(this,_0x46b082(0x491),null),G(this,_0x46b082(0x243),null),this[_0x46b082(0x3d5)](_0x1bbeb5[_0x46b082(0x1f4)]);}[_0x263333(0x2ce)](){const _0x421683=_0x263333;this[_0x421683(0x2a1)](),this[_0x421683(0x45d)]=null,this[_0x421683(0x3c5)]=null,this[_0x421683(0x491)]=null,this[_0x421683(0x2a6)](),super[_0x421683(0x2ce)]();}[_0x263333(0x2e4)](_0xa7da6f,_0xb5118a){const _0x2a91c9=_0x263333;if(!this['visible'])return this['makeDirty'](!0x1),this;if(this[_0x2a91c9(0x21f)]()){let _0x489ced=this[_0x2a91c9(0x1ae)]();return _0x489ced&&this[_0x2a91c9(0x2e3)](_0x489ced),this[_0x2a91c9(0x1fa)](!0x1),this;}if(!this[_0x2a91c9(0x471)])return this;let {width:_0x425261,height:_0x256028,left:_0x11b04f,top:_0x45aece}=this[_0x2a91c9(0x3ec)]();if(this[_0x2a91c9(0x220)](_0xb5118a)){let {top:_0x112bee,left:_0x36ed05,bottom:_0x1ed67c,right:_0x5b4008}=_0xb5118a[_0x2a91c9(0x3a3)];if(_0x425261+this[_0x2a91c9(0x2b7)]+_0x11b04f<_0x36ed05||_0x5b4008<_0x11b04f||_0x256028+this['strokeWidth']+_0x45aece<_0x112bee||_0x1ed67c<_0x45aece)return this;}let _0x3d6106=this[_0x2a91c9(0x471)][_0x2a91c9(0x202)]();_0xa7da6f['save']();let _0xe9cca9=_0x11b04f+_0x425261/0x2,_0x1db199=_0x45aece+_0x256028/0x2;return _0xa7da6f[_0x2a91c9(0x471)](_0x3d6106[0x0],_0x3d6106[0x1],_0x3d6106[0x2],_0x3d6106[0x3],_0xe9cca9,_0x1db199),this[_0x2a91c9(0x428)]!==0x1&&(_0xa7da6f['globalAlpha']=this[_0x2a91c9(0x428)]),this[_0x2a91c9(0x3b5)](_0xa7da6f,void 0x0,_0x425261,_0x256028),_0xa7da6f['restore'](),this['makeDirty'](!0x1),this;}[_0x263333(0x3b5)](_0x3fa0d9,_0x4e0d4,_0x239ed4=this[_0x263333(0x33e)],_0x293683=this[_0x263333(0x356)]){const _0x59fc9=_0x263333;this[_0x59fc9(0x37b)](_0x3fa0d9,_0x239ed4,_0x293683,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x59fc9(0x21c)](_0x3fa0d9,_0x239ed4,_0x293683),this[_0x59fc9(0x37b)](_0x3fa0d9,_0x239ed4,_0x293683,{'fill':void 0x0});}['_drawChartFrame'](_0x4c3e0b,_0x486f52,_0x3fe5d0,_0x1cefbf){const _0x13cd64=_0x263333;_0x4c3e0b[_0x13cd64(0x3a8)](),_0x4c3e0b[_0x13cd64(0x3ac)](-_0x486f52/0x2,-_0x3fe5d0/0x2),_0x190a87['drawWith'](_0x4c3e0b,ti(this,_0x486f52,_0x3fe5d0,_0x1cefbf)),_0x4c3e0b[_0x13cd64(0x41f)]();}[_0x263333(0x1cb)](_0x42c806){const _0x3d74fa=_0x263333;let {left:_0x445132,top:_0x8e1209,width:_0x3f2fd9,height:_0x3ebbf6}=this[_0x3d74fa(0x3ec)](),_0x1a5169=_0x445132+_0x3f2fd9/0x2,_0x22431c=_0x8e1209+_0x3ebbf6/0x2,_0x4fa679=this[_0x3d74fa(0x471)]['getMatrix'](),_0x46bafd=new _0x6f0905([_0x4fa679[0x0],_0x4fa679[0x1],_0x4fa679[0x2],_0x4fa679[0x3],_0x1a5169,_0x22431c]),_0x2e3e6f=this[_0x3d74fa(0x362)](),_0x1b9b47=(this[_0x3d74fa(0x2dd)]&&(_0x2e3e6f==null?void 0x0:_0x2e3e6f[_0x3d74fa(0x1e4)])===_0x4b49bb['GROUP']?_0x2e3e6f[_0x3d74fa(0x1ba)][_0x3d74fa(0x44b)](_0x46bafd):_0x46bafd)[_0x3d74fa(0x473)]()['applyPoint'](_0x42c806),_0x510671=_0x3f2fd9/0x2,_0x4be01b=_0x3ebbf6/0x2;return _0x1b9b47['x']>=-_0x510671-this[_0x3d74fa(0x2b7)]/0x2&&_0x1b9b47['x']<=_0x510671+this[_0x3d74fa(0x2b7)]/0x2&&_0x1b9b47['y']>=-_0x4be01b-this[_0x3d74fa(0x2b7)]/0x2&&_0x1b9b47['y']<=_0x4be01b+this[_0x3d74fa(0x2b7)]/0x2;}[_0x263333(0x21c)](_0x1b43c8,_0x3ae5d0,_0x3050c6){const _0x219b83=_0x263333;let _0x7067a6=this['_getImage'](),_0x329a4c=_0x7067a6?this[_0x219b83(0x2e3)](_0x7067a6):void 0x0;if(!_0x329a4c)return;let {width:_0x2c9681,height:_0x455bb9}=Zr({'width':_0x3ae5d0,'height':_0x3050c6},0x0);_0x2c9681!==0x0&&_0x455bb9!==0x0&&(_0x1b43c8['save'](),_0x1b43c8['translate'](-_0x3ae5d0/0x2,-_0x3050c6/0x2),ni(_0x1b43c8,_0x2c9681,_0x455bb9,this[_0x219b83(0x1f1)]),_0x1b43c8['clip'](),_0x1b43c8[_0x219b83(0x1b1)](_0x329a4c,0x0,0x0,_0x2c9681,_0x455bb9),_0x1b43c8['restore']());}[_0x263333(0x2e3)](_0xb457c1){const _0x31dd1c=_0x263333;var _0x56e422;let _0x33cf65=$r(_0xb457c1);if(_0x33cf65)return _0x33cf65;if(_0xb457c1[_0x31dd1c(0x272)]===_0x151a03[_0x31dd1c(0x307)]&&(this[_0x31dd1c(0x491)]!==_0xb457c1['url']&&(this[_0x31dd1c(0x491)]=_0xb457c1[_0x31dd1c(0x3e5)],this[_0x31dd1c(0x2a1)](),this[_0x31dd1c(0x3c5)]!==_0xb457c1['url']&&this[_0x31dd1c(0x2f1)](_0xb457c1['url'])),(_0x56e422=this[_0x31dd1c(0x45d)])!=null&&_0x56e422[_0x31dd1c(0x3e7)]&&this['_urlImage']['naturalWidth']>0x0&&this[_0x31dd1c(0x45d)][_0x31dd1c(0x359)]>0x0))return this['_urlImage'];}[_0x263333(0x2f1)](_0x5d562b){const _0x45ffd6=_0x263333;let _0x4fa7df=document[_0x45ffd6(0x296)](_0x45ffd6(0x385));this[_0x45ffd6(0x243)]=_0x4fa7df,_0x4fa7df['crossOrigin']='anonymous',_0x4fa7df[_0x45ffd6(0x3fc)]=()=>{const _0x4d4ddc=_0x45ffd6;this[_0x4d4ddc(0x491)]===_0x5d562b&&this[_0x4d4ddc(0x243)]===_0x4fa7df&&(_0x4fa7df[_0x4d4ddc(0x2b8)]>0x0&&_0x4fa7df[_0x4d4ddc(0x359)]>0x0&&(this[_0x4d4ddc(0x3c5)]=_0x5d562b,this[_0x4d4ddc(0x45d)]=_0x4fa7df),this['_clearPendingUrlImage'](),this[_0x4d4ddc(0x1fa)](!0x0));},_0x4fa7df['onerror']=()=>{const _0x43611d=_0x45ffd6;this['_pendingUrlImage']===_0x4fa7df&&this[_0x43611d(0x2a1)]();},_0x4fa7df[_0x45ffd6(0x2a0)]=_0x5d562b;}[_0x263333(0x2a1)](){const _0x515517=_0x263333;this['_pendingUrlImage']&&=(this[_0x515517(0x243)][_0x515517(0x3fc)]=null,this['_pendingUrlImage'][_0x515517(0x400)]=null,null);}};function ti(_0x27b43a,_0x4c9cb5,_0x2ac9b7,_0x2e2398){const _0x51d472=_0x263333;let _0x2b0d81=Object['create'](_0x27b43a);return Object[_0x51d472(0x23b)](_0x2b0d81,_0x51d472(0x33e),{'value':_0x4c9cb5}),Object[_0x51d472(0x23b)](_0x2b0d81,_0x51d472(0x356),{'value':_0x2ac9b7}),Object[_0x51d472(0x2b2)](_0x2e2398)[_0x51d472(0x3b0)](_0x4b5801=>{const _0x4f64d2=_0x51d472;Object[_0x4f64d2(0x23b)](_0x2b0d81,_0x4b5801,{'value':_0x2e2398[_0x4b5801]});}),_0x2b0d81;}function ni(_0x2bb60a,_0xffc572,_0x15f6ec,_0x1b626d){const _0x1aeac5=_0x263333;let _0x43ac5e=Math[_0x1aeac5(0x239)](_0x1b626d||0x0,_0xffc572/0x2,_0x15f6ec/0x2);_0x2bb60a[_0x1aeac5(0x3d6)](),_0x43ac5e?(_0x2bb60a[_0x1aeac5(0x277)](_0x43ac5e,0x0),_0x2bb60a[_0x1aeac5(0x247)](_0xffc572-_0x43ac5e,0x0),_0x2bb60a[_0x1aeac5(0x27c)](_0xffc572-_0x43ac5e,_0x43ac5e,_0x43ac5e,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bb60a['lineTo'](_0xffc572,_0x15f6ec-_0x43ac5e),_0x2bb60a[_0x1aeac5(0x27c)](_0xffc572-_0x43ac5e,_0x15f6ec-_0x43ac5e,_0x43ac5e,0x0,Math['PI']/0x2,!0x1),_0x2bb60a[_0x1aeac5(0x247)](_0x43ac5e,_0x15f6ec),_0x2bb60a[_0x1aeac5(0x27c)](_0x43ac5e,_0x15f6ec-_0x43ac5e,_0x43ac5e,Math['PI']/0x2,Math['PI'],!0x1),_0x2bb60a[_0x1aeac5(0x247)](0x0,_0x43ac5e),_0x2bb60a[_0x1aeac5(0x27c)](_0x43ac5e,_0x43ac5e,_0x43ac5e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bb60a[_0x1aeac5(0x2b9)]()):(_0x2bb60a[_0x1aeac5(0x266)](0x0,0x0,_0xffc572,_0x15f6ec),_0x2bb60a['closePath']());}function K(_0x5e2f94){const _0x566618=_0x263333;(_0x5e2f94==null?void 0x0:_0x5e2f94['type'])===_0x151a03[_0x566618(0x1d0)]&&_0x5e2f94[_0x566618(0x48e)][_0x566618(0x381)]();}function ri(_0x19ae81){const _0x485aee=_0x263333;return _0x19ae81[_0x485aee(0x47d)]+'#-#'+_0x19ae81[_0x485aee(0x29a)]+_0x485aee(0x302)+_0x19ae81[_0x485aee(0x3c7)];}var ii=class extends _0x3a35f7{constructor(..._0xb2be65){const _0x242956=_0x263333;super(..._0xb2be65),G(this,_0x242956(0x3cf),new Map());}[_0x263333(0x252)](_0x2ae842){const _0x1cf186=_0x263333;let _0x105593=ri(_0x2ae842),_0xef61f1=this[_0x1cf186(0x3cf)][_0x1cf186(0x461)](_0x105593)??{'version':0x0};return _0xef61f1[_0x1cf186(0x483)]+=0x1,this[_0x1cf186(0x3cf)]['set'](_0x105593,_0xef61f1),_0xef61f1[_0x1cf186(0x483)];}[_0x263333(0x1e7)](_0x4aa4f5,_0x25ebd4){const _0x527023=_0x263333;var _0x307681;return((_0x307681=this[_0x527023(0x3cf)][_0x527023(0x461)](ri(_0x4aa4f5)))==null?void 0x0:_0x307681[_0x527023(0x483)])===_0x25ebd4;}['setImage'](_0x5321d4,_0x2866c2,_0x3b6292){const _0x1d4ffd=_0x263333;if(!this[_0x1d4ffd(0x1e7)](_0x5321d4,_0x3b6292))return K(_0x2866c2),!0x1;let _0x1e4311=ri(_0x5321d4),_0x3fbe4e=this[_0x1d4ffd(0x3cf)][_0x1d4ffd(0x461)](_0x1e4311)??{'version':_0x3b6292},_0x422c4a=_0x3fbe4e['image'];return _0x3fbe4e[_0x1d4ffd(0x431)]=_0x2866c2,_0x3fbe4e[_0x1d4ffd(0x483)]=_0x3b6292,this[_0x1d4ffd(0x3cf)][_0x1d4ffd(0x2a3)](_0x1e4311,_0x3fbe4e),_0x422c4a!==_0x2866c2&&K(_0x422c4a),!0x0;}['getImage'](_0x41f676){const _0x7a0300=_0x263333;var _0x5a8415;return(_0x5a8415=this[_0x7a0300(0x3cf)][_0x7a0300(0x461)](ri(_0x41f676)))==null?void 0x0:_0x5a8415[_0x7a0300(0x431)];}['clearImage'](_0x475354){const _0x426e67=_0x263333;let _0x22bd1d=ri(_0x475354),_0x406041=this[_0x426e67(0x3cf)]['get'](_0x22bd1d);_0x406041&&(K(_0x406041[_0x426e67(0x431)]),this[_0x426e67(0x3cf)][_0x426e67(0x35a)](_0x22bd1d));}[_0x263333(0x2b5)](_0x29581b){const _0x3399d3=_0x263333;for(let [_0xf12c25,_0x40a655]of this[_0x3399d3(0x3cf)])_0xf12c25[_0x3399d3(0x27e)]('#-#'+_0x29581b)&&(K(_0x40a655[_0x3399d3(0x431)]),this[_0x3399d3(0x3cf)]['delete'](_0xf12c25));}[_0x263333(0x2ce)](){const _0x57521a=_0x263333;this['_entries'][_0x57521a(0x3b0)](_0x220a43=>K(_0x220a43[_0x57521a(0x431)])),this[_0x57521a(0x3cf)][_0x57521a(0x412)](),super['dispose']();}};function ai(_0x449487,_0x5cd833=0x7d0){let _0x4acb6d=null,_0x1df833=null,_0x2ea85f=!0x1,_0x539cbe=()=>{},_0x46ec51=()=>{_0x4acb6d!=null&&(clearInterval(_0x4acb6d),_0x4acb6d=null),_0x1df833!=null&&(clearTimeout(_0x1df833),_0x1df833=null);};return{'promise':new Promise((_0x314401,_0x2ffab6)=>{_0x539cbe=_0x2ffab6;let _0x2d9727=()=>{const _0x25d595=_0x2930;let _0x246ee1=document[_0x25d595(0x28c)](_0x449487);_0x246ee1&&!_0x2ea85f&&(_0x2ea85f=!0x0,_0x46ec51(),_0x314401(_0x246ee1));};_0x2d9727(),!_0x2ea85f&&(_0x4acb6d=setInterval(_0x2d9727,16.666666666666668),_0x1df833=setTimeout(()=>{const _0x7c6ec8=_0x2930;_0x2ea85f||(_0x2ea85f=!0x0,_0x46ec51(),_0x2ffab6(Error(_0x7c6ec8(0x25b)+_0x449487+'\x22.')));},_0x5cd833));}),'cancel':()=>{_0x2ea85f||(_0x2ea85f=!0x0,_0x46ec51(),_0x539cbe(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x449487+'\x22.')));}};}var oi=class extends _0x3a35f7{constructor(_0x2a999a,_0x299959,_0x1f953e,_0x1f105a,_0x502a44,_0x4699f1,_0x466dc9,_0x282f62){const _0x1ee957=_0x263333;super(),this[_0x1ee957(0x3c7)]=_0x2a999a,this[_0x1ee957(0x1aa)]=_0x299959,this['_getPlacement']=_0x1f953e,this[_0x1ee957(0x2d2)]=_0x1f105a,this[_0x1ee957(0x355)]=_0x502a44,this[_0x1ee957(0x1bc)]=_0x4699f1,this[_0x1ee957(0x3a6)]=_0x466dc9,this[_0x1ee957(0x3ba)]=_0x282f62,G(this,'mode',_0xe3c0fe[_0x1ee957(0x2cb)]),G(this,_0x1ee957(0x357),null),G(this,_0x1ee957(0x1d3),!0x1),G(this,_0x1ee957(0x455),null),G(this,'_pendingHost',null),G(this,_0x1ee957(0x254),null),G(this,_0x1ee957(0x2f7),{}),G(this,_0x1ee957(0x21d),null),G(this,_0x1ee957(0x21a),null),G(this,'_pointerEvents',null);}[_0x263333(0x26b)](){const _0xc4db69=_0x263333;return this[_0xc4db69(0x1d3)];}[_0x263333(0x1b8)](){const _0x286a7e=_0x263333;this[_0x286a7e(0x1d3)]=!0x1;}[_0x263333(0x2bf)](){const _0x4e7140=_0x263333;let _0x426dd4=this[_0x4e7140(0x360)]();return _0x426dd4?{'width':_0x426dd4['width'],'height':_0x426dd4[_0x4e7140(0x356)]}:null;}[_0x263333(0x364)](_0x348906){const _0x376474=_0x263333;this[_0x376474(0x2f7)]=_0x348906,this[_0x376474(0x2d2)](_0x348906),this[_0x376474(0x222)]();}async[_0x263333(0x37c)](){const _0x5d7448=_0x263333;if(this[_0x5d7448(0x1c3)]||this[_0x5d7448(0x355)]())throw Error(_0x5d7448(0x3f4));let _0x50df9f=this[_0x5d7448(0x1aa)](),_0xfcef25=(_0x50df9f==null?void 0x0:_0x50df9f[_0x5d7448(0x1b5)])??this[_0x5d7448(0x3c7)],_0x3f3ecf=document['getElementById'](_0xfcef25);if(this[_0x5d7448(0x357)]&&_0x3f3ecf!=null&&_0x3f3ecf[_0x5d7448(0x456)](this[_0x5d7448(0x357)][_0x5d7448(0x479)]))return{'mountNode':this[_0x5d7448(0x357)][_0x5d7448(0x479)],'dispose':()=>{const _0x2234e7=_0x5d7448;this[_0x2234e7(0x2ce)](),_0x50df9f==null||_0x50df9f[_0x2234e7(0x2ce)][_0x2234e7(0x2ce)]();}};if(this['_pendingHost'])return this['_pendingHost'];let _0x1e7ee6=this[_0x5d7448(0x342)]();return this[_0x5d7448(0x1fe)]=_0x1e7ee6,_0x1e7ee6[_0x5d7448(0x447)](()=>{this['_pendingHost']===_0x1e7ee6&&(this['_pendingHost']=null);},()=>{const _0x2915f1=_0x5d7448;this[_0x2915f1(0x1fe)]===_0x1e7ee6&&(this[_0x2915f1(0x1fe)]=null);}),_0x1e7ee6;}async[_0x263333(0x232)](){const _0xcfa06a=_0x263333;try{return(await this[_0xcfa06a(0x37c)]())[_0xcfa06a(0x479)];}catch{return null;}}[_0x263333(0x35e)](){const _0x42a620=_0x263333;let _0x32de0d=this['_getFloatDomInfo'](),_0x1a6193=(_0x32de0d==null?void 0x0:_0x32de0d[_0x42a620(0x1b5)])??this[_0x42a620(0x3c7)],_0x4c9ab2=document[_0x42a620(0x28c)](_0x1a6193);return!!(this[_0x42a620(0x357)]&&_0x4c9ab2!=null&&_0x4c9ab2['contains'](this[_0x42a620(0x357)][_0x42a620(0x479)]));}['syncLayout'](){const _0x2b3202=_0x263333;if(!this['_domFrame'])return;let _0x2dc813=this[_0x2b3202(0x360)]();_0x2dc813&&this['_domFrame'][_0x2b3202(0x452)](this['_resolveLayout'](_0x2dc813),this[_0x2b3202(0x1d6)]());}['markReady'](){const _0x521298=_0x263333;this[_0x521298(0x1bc)]();}[_0x263333(0x460)](){const _0x6541c7=_0x263333;this[_0x6541c7(0x3a6)]();}[_0x263333(0x2b0)](_0x1782d7){const _0x32ed30=_0x263333;this['_dataUpdateAnimationDuration']=_0x1782d7;let _0x332c60=this[_0x32ed30(0x1aa)](),_0x177f00=document[_0x32ed30(0x28c)]((_0x332c60==null?void 0x0:_0x332c60[_0x32ed30(0x1b5)])??this[_0x32ed30(0x3c7)]);_0x177f00&&this[_0x32ed30(0x311)](_0x177f00);}[_0x263333(0x2ce)](){const _0x4ccd34=_0x263333;var _0x1972fb,_0x1b702b;this[_0x4ccd34(0x1c3)]||(this[_0x4ccd34(0x460)](),this[_0x4ccd34(0x455)]=null,this['_pendingHost']=null,this[_0x4ccd34(0x489)](),this['_managed']=!0x1,this[_0x4ccd34(0x21a)]=null,(_0x1972fb=this[_0x4ccd34(0x467)])==null||_0x1972fb['dispose'](),this[_0x4ccd34(0x467)]=null,(_0x1b702b=this['_domFrame'])==null||_0x1b702b[_0x4ccd34(0x2ce)](),this['_domFrame']=null,this[_0x4ccd34(0x1c4)](),super[_0x4ccd34(0x2ce)]());}async['_createHost'](){const _0x5ea37a=_0x263333;let _0x8aaca1=this[_0x5ea37a(0x1aa)]();if(!_0x8aaca1)throw Error(_0x5ea37a(0x3f4));let _0x274731=_0x8aaca1[_0x5ea37a(0x1b5)]??this['chartId'],_0x34bf59=ai(_0x274731),_0x1fae15=Symbol(this[_0x5ea37a(0x3c7)]);this[_0x5ea37a(0x455)]=_0x1fae15,this['_waiter']=_0x34bf59;try{var _0x27795c;let _0x13f9c1=await _0x34bf59[_0x5ea37a(0x210)],_0x356461=this[_0x5ea37a(0x1aa)](),_0x2e3c56=(_0x356461==null?void 0x0:_0x356461['domId'])??this['chartId'];if(this[_0x5ea37a(0x1c3)]||this['_isProviderDisposed']()||this[_0x5ea37a(0x455)]!==_0x1fae15||!_0x356461||_0x2e3c56!==_0x274731||document[_0x5ea37a(0x28c)](_0x274731)!==_0x13f9c1||!_0x13f9c1[_0x5ea37a(0x315)])throw Error(_0x5ea37a(0x3f4));let _0x1e6eca=this[_0x5ea37a(0x360)]();if(!_0x1e6eca)throw Error(_0x5ea37a(0x3f4));let _0x2588d5=new _0x1f2f54(_0x13f9c1);return _0x2588d5[_0x5ea37a(0x452)](this['_resolveLayout'](_0x1e6eca),this[_0x5ea37a(0x1d6)]()),this[_0x5ea37a(0x233)](_0x13f9c1),this[_0x5ea37a(0x357)]=_0x2588d5,(_0x27795c=this[_0x5ea37a(0x467)])==null||_0x27795c[_0x5ea37a(0x2ce)](),this[_0x5ea37a(0x467)]=this[_0x5ea37a(0x3ba)](_0x13f9c1),this[_0x5ea37a(0x1d3)]=!0x0,{'mountNode':_0x2588d5[_0x5ea37a(0x479)],'dispose':()=>{const _0x3aaadc=_0x5ea37a;this[_0x3aaadc(0x2ce)](),_0x8aaca1[_0x3aaadc(0x2ce)][_0x3aaadc(0x2ce)]();}};}finally{this['_waiter']===_0x34bf59&&(this[_0x5ea37a(0x254)]=null),this[_0x5ea37a(0x455)]===_0x1fae15&&(this[_0x5ea37a(0x455)]=null);}}[_0x263333(0x489)](){const _0x49bc39=_0x263333;let _0x3b1deb=this[_0x49bc39(0x254)];_0x3b1deb&&(_0x3b1deb['cancel'](),this['_waiter']=null);}[_0x263333(0x222)](){const _0x3871f5=_0x263333;let _0x4af914=this[_0x3871f5(0x360)]();this[_0x3871f5(0x357)]&&_0x4af914&&this[_0x3871f5(0x357)][_0x3871f5(0x452)](this[_0x3871f5(0x2c3)](_0x4af914),this[_0x3871f5(0x1d6)]());}['_resolveLayout'](_0x26c865){const _0x4624bd=_0x263333;return _0x44a172[_0x4624bd(0x304)]({'logicalOuterRect':{'left':_0x26c865['left'],'top':_0x26c865[_0x4624bd(0x250)],'width':_0x26c865[_0x4624bd(0x33e)],'height':_0x26c865[_0x4624bd(0x356)]},'scale':{'scaleX':_0x26c865[_0x4624bd(0x372)],'scaleY':_0x26c865['scaleY']},'hostStyle':this[_0x4624bd(0x1d6)](),'contentMode':_0x367814['Overlay']});}[_0x263333(0x1d6)](){const _0x5d9e92=_0x263333;return{...this[_0x5d9e92(0x2f7)],'radius':_0x5084c6};}[_0x263333(0x233)](_0x1f903b){const _0x56be32=_0x263333;let _0x9e8790=_0x1f903b[_0x56be32(0x20e)];_0x9e8790&&(this[_0x56be32(0x21d)]||={'zIndex':_0x9e8790['style'][_0x56be32(0x36e)],'pointerEvents':_0x9e8790[_0x56be32(0x20b)][_0x56be32(0x2a5)]},_0x9e8790[_0x56be32(0x20b)]['zIndex']=_0x56be32(0x1bd),this['_applyHostInteractionState'](_0x1f903b));}['_applyHostInteractionState'](_0x13b524){const _0x230023=_0x263333;let _0x123ac8=_0x13b524['parentElement'];if(!_0x123ac8)return;let _0x2a1ae0=this['_dataUpdateAnimationDuration'];_0x2a1ae0==null?(delete _0x13b524[_0x230023(0x281)][_0x230023(0x424)],delete _0x13b524[_0x230023(0x281)][_0x230023(0x3f3)],_0x123ac8[_0x230023(0x20b)][_0x230023(0x2a5)]='auto'):(_0x13b524[_0x230023(0x281)]['sheetChartDataAnimation']=_0x230023(0x32a),_0x13b524[_0x230023(0x281)][_0x230023(0x3f3)]=String(_0x2a1ae0),_0x123ac8['style'][_0x230023(0x2a5)]=_0x230023(0x3b9));}[_0x263333(0x1c4)](){const _0x1c37d8=_0x263333;if(!this[_0x1c37d8(0x21d)])return;let _0x2b3155=this[_0x1c37d8(0x1aa)](),_0x39c8e7=(_0x2b3155==null?void 0x0:_0x2b3155[_0x1c37d8(0x1b5)])??this[_0x1c37d8(0x3c7)],_0xb16d53=document[_0x1c37d8(0x28c)](_0x39c8e7);_0xb16d53==null||delete _0xb16d53['dataset']['sheetChartDataAnimation'],_0xb16d53==null||delete _0xb16d53[_0x1c37d8(0x281)][_0x1c37d8(0x3f3)];let _0x3ff8b3=_0xb16d53==null?void 0x0:_0xb16d53[_0x1c37d8(0x20e)];_0x3ff8b3&&(_0x3ff8b3[_0x1c37d8(0x20b)][_0x1c37d8(0x36e)]=this[_0x1c37d8(0x21d)][_0x1c37d8(0x36e)],_0x3ff8b3[_0x1c37d8(0x20b)][_0x1c37d8(0x2a5)]=this[_0x1c37d8(0x21d)][_0x1c37d8(0x2a5)]),this[_0x1c37d8(0x21d)]=null;}},si=class extends _0x3a35f7{constructor(_0x3779ec,_0xdf788b,_0x281834,_0x1d01fb){const _0x2871a3=_0x263333;super(),this[_0x2871a3(0x47f)]=_0xdf788b,G(this,_0x2871a3(0x274),null),G(this,_0x2871a3(0x352),!0x1);let _0x1d2cea=_0x225301=>{this['_suppressClick']&&(_0x225301['preventDefault'](),_0x225301['stopImmediatePropagation']());},_0x54a40d=_0x58096f=>{const _0x591d0b=_0x2871a3;let _0xa9ecf8=this['_gesture'];(_0xa9ecf8==null?void 0x0:_0xa9ecf8['event'][_0x591d0b(0x1d5)])===_0x58096f[_0x591d0b(0x1d5)]&&!_0xa9ecf8[_0x591d0b(0x3af)][_0x591d0b(0x345)](_0x58096f[_0x591d0b(0x1d5)])&&this['_cancelGesture']();};_0x3779ec['addEventListener'](_0x2871a3(0x203),_0x1d2cea,!0x0),_0x3779ec[_0x2871a3(0x36f)]('dblclick',_0x1d2cea,!0x0),_0x3779ec[_0x2871a3(0x36f)](_0x2871a3(0x3f7),_0x54a40d),this['disposeWithMe'](_0x24488e(()=>{const _0x6e5e33=_0x2871a3;_0x3779ec[_0x6e5e33(0x265)](_0x6e5e33(0x203),_0x1d2cea,!0x0),_0x3779ec[_0x6e5e33(0x265)]('dblclick',_0x1d2cea,!0x0),_0x3779ec[_0x6e5e33(0x265)](_0x6e5e33(0x3f7),_0x54a40d),_0x1d01fb(_0xdf788b);})),this[_0x2871a3(0x2a9)](_0x281834[_0x2871a3(0x312)](()=>{const _0x2a3dbb=_0x2871a3;this['_gesture']&&(this[_0x2a3dbb(0x352)]=!0x0);})),_0x1d01fb({'onPointerDown':_0x4493b5=>{const _0x14c2a6=_0x2871a3;this[_0x14c2a6(0x352)]=!0x1,_0x4493b5 instanceof PointerEvent&&_0x4493b5[_0x14c2a6(0x3af)]instanceof Element&&_0x3779ec[_0x14c2a6(0x456)](_0x4493b5['target'])&&(this[_0x14c2a6(0x274)]={'target':_0x4493b5['target'],'event':_0x4493b5}),_0xdf788b[_0x14c2a6(0x482)](_0x4493b5),this[_0x14c2a6(0x374)](_0x4493b5);},'onPointerMove':_0x49af8b=>{const _0x85d899=_0x2871a3;_0xdf788b['onPointerMove'](_0x49af8b),this[_0x85d899(0x374)](_0x49af8b);},'onPointerUp':_0x5896ba=>{const _0x163dce=_0x2871a3;try{_0xdf788b['onPointerUp'](_0x5896ba);}finally{var _0x483483;_0x5896ba instanceof PointerEvent&&((_0x483483=this[_0x163dce(0x274)])==null?void 0x0:_0x483483[_0x163dce(0x279)][_0x163dce(0x1d5)])===_0x5896ba['pointerId']&&this['_releaseGesture']();}}});}['dispose'](){const _0x2b1939=_0x263333;this[_0x2b1939(0x1c3)]||(this['_cancelGesture'](),super['dispose']());}['_keepChartCapture'](_0x133072){const _0x1d6990=_0x263333;let _0x127230=this[_0x1d6990(0x274)];_0x133072 instanceof PointerEvent&&(_0x127230==null?void 0x0:_0x127230['event'][_0x1d6990(0x1d5)])===_0x133072[_0x1d6990(0x1d5)]&&(_0x127230[_0x1d6990(0x279)]=_0x133072,_0x127230['target'][_0x1d6990(0x315)]?_0x127230['target'][_0x1d6990(0x463)](_0x133072[_0x1d6990(0x1d5)]):this[_0x1d6990(0x1a3)]());}[_0x263333(0x3fa)](){const _0x576b73=_0x263333;let _0x27353a=this[_0x576b73(0x274)];this['_gesture']=null,_0x27353a!=null&&_0x27353a[_0x576b73(0x3af)][_0x576b73(0x345)](_0x27353a[_0x576b73(0x279)]['pointerId'])&&_0x27353a['target'][_0x576b73(0x28d)](_0x27353a['event'][_0x576b73(0x1d5)]);}[_0x263333(0x1a3)](){const _0x5cbf87=_0x263333;let _0x4096f9=this[_0x5cbf87(0x274)];this[_0x5cbf87(0x3fa)](),_0x4096f9&&this[_0x5cbf87(0x47f)]['onPointerUp'](new PointerEvent(_0x5cbf87(0x319),_0x4096f9[_0x5cbf87(0x279)]));}},ci=class extends _0x2def3b{constructor(_0xbda6cd,_0x1ee2c9,_0x56d4b1,_0x4e2f86,_0x250853,_0x29e0a1){const _0x2c9a79=_0x263333;super(_0xbda6cd),this[_0x2c9a79(0x40d)]=_0x1ee2c9,this[_0x2c9a79(0x2d2)]=_0x56d4b1,this['_snapshotKey']=_0x4e2f86,this[_0x2c9a79(0x28b)]=_0x250853,this[_0x2c9a79(0x1b2)]=_0x29e0a1;}[_0x263333(0x2bf)](){const _0x5afd25=_0x263333;let _0x5f59a3=this[_0x5afd25(0x40d)]();return _0x5f59a3?Zr(_0x5f59a3):null;}[_0x263333(0x364)](_0x2bbc3e){const _0x50aa68=_0x263333;this[_0x50aa68(0x2d2)](_0x2bbc3e);}[_0x263333(0x252)](){const _0x79ec45=_0x263333;return this['_snapshotStore']['nextVersion'](this[_0x79ec45(0x22c)]);}['commitSnapshot'](_0x351cf2,_0x3c9ee9){const _0x10ebc4=_0x263333;return this[_0x10ebc4(0x28b)][_0x10ebc4(0x399)](this['_snapshotKey'],_0x351cf2,_0x3c9ee9);}[_0x263333(0x415)](){const _0x5f234e=_0x263333;this[_0x5f234e(0x1b2)]();}['invalidateSnapshot'](){const _0x82b56a=_0x263333;this[_0x82b56a(0x28b)]['nextVersion'](this['_snapshotKey']);}};function q(_0x56c2d6,_0x5d39a7){return function(_0x29e66e,_0x1585db){_0x5d39a7(_0x29e66e,_0x1585db,_0x56c2d6);};}function J(_0x4c115f,_0x20ccca,_0x11155b,_0x1322e4){const _0x23e1a8=_0x263333;var _0x4f2ae3=arguments[_0x23e1a8(0x1e0)],_0x18cb91=_0x4f2ae3<0x3?_0x20ccca:_0x1322e4===null?_0x1322e4=Object[_0x23e1a8(0x30e)](_0x20ccca,_0x11155b):_0x1322e4,_0xc6a688;if(typeof Reflect==_0x23e1a8(0x33b)&&typeof Reflect[_0x23e1a8(0x31f)]==_0x23e1a8(0x2a4))_0x18cb91=Reflect[_0x23e1a8(0x31f)](_0x4c115f,_0x20ccca,_0x11155b,_0x1322e4);else{for(var _0x53582b=_0x4c115f[_0x23e1a8(0x1e0)]-0x1;_0x53582b>=0x0;_0x53582b--)(_0xc6a688=_0x4c115f[_0x53582b])&&(_0x18cb91=(_0x4f2ae3<0x3?_0xc6a688(_0x18cb91):_0x4f2ae3>0x3?_0xc6a688(_0x20ccca,_0x11155b,_0x18cb91):_0xc6a688(_0x20ccca,_0x11155b))||_0x18cb91);}return _0x4f2ae3>0x3&&_0x18cb91&&Object['defineProperty'](_0x20ccca,_0x11155b,_0x18cb91),_0x18cb91;}const li=0.5;function _0x47f1(){const _0x10a886=['_clearSelectedTarget','_entries','error','icon','getSheetId','remove$','enableChartElementFloatMenu','setObjectType','beginPath','setHostStyle','getDrawingData','parent','COMMA','focused$','_resolvedConfig','_disposeChartRenderInstance','_popupChartId','interceptor','getHostClientRect','univer-overflow-hidden','plotVisibleOnly','univer-flex\x20univer-flex-col\x20univer-gap-3','Trendline','url','sheets-chart-ui.common.invalidDataRange','complete','offsetLeft','pipe','_resetChartRuntimeZIndex','getRangeInfo','getRealBound','changeEnd$','_shouldEnableChartElementEdit','_contextService','_onChange','syncLayout','ENTER','sheetChartDataAnimationDuration','Fail\x20to\x20create\x20float\x20dom','_scheduler','localPoint','lostpointercapture','tab','attachPopupToDynamicAbsolutePosition','_releaseGesture','rightY','onload','_chartElementEditMode','drawingIds','sheetId','onerror','barStyle','targetSubUnitId','sheets-chart-ui.common.editChart','getFocusDrawings','isDomReady','_chartInstanceMap','univer-overflow-visible','_executeChartUpdateSourceConfig','sheets-chart-ui.common.setup','fromEntries','domLayers','_renderChartModel','_getOuterRect','Style','_renderModelManager','sheets-chart-ui.common.category','source','clear','IndicatorLine','oKey','requestPaint','createRuntimeChartStyle','registerFeatureMenu','-univer-mx-4','Radar','chartRenderMode','_sidebarService','offsetTop','_generatePasteMutations','subscribeEvent','restore','_openPanel','Combination','RightVerticalAxis','dataSource','sheetChartDataAnimation','getObjectIncludeInGroup','addObject','372GwZTQu','opacity','_deactivateEditPanelState','_chartUIService','onDispose','Pareto','clearPanelRoute','_registerComponents','getCurrentTypeOfUnit$','sheets-chart-ui.common.chartAndAxisTitles','image','_restoreFloatDomPositionStream','_sheetDrawingHitTestService','_chartChangeSubscriptions','onRendered','baseOn','from','_applyActiveChartRuntimeZIndex','getFocusedUnit','_sheetsChartUIService','_notifySheetChartsDetached','getSheetBySheetId','_renderService','sheets-chart-ui.section.waterfall','color','MEDIA','featurePluginOrderUpdate$','28JPSkuC','evented','range','scene','series','then','sheets-chart-ui.section.relation','cancel','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','multiply','198876ugZzrV','sheets-chart-ui.section.indicatorLine','axis','_addWatermark','_notifyChartRemoved','chartType','update','format','onCommandExecuted','_pendingToken','contains','sheetDisposed$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_getChartSnapshotKey','radar','matches','_chartEventHandlers','_urlImage','6HQspMT','Scatter','markNotReady','get','updateFloatDomProps','setPointerCapture','sheets-chart-ui.waterfall.subtotal','setConfig','groupId','_pointerEvents','_initCopyPaste','flush','_image','_openFloatMenu','sheets-chart-ui.common.showHiddenData','1366aCZppQ','activeChartModel','_renderWhenConfigReady','_copyInfo','transform','_pending','invert','Axes','_canAnimateDataUpdate','getUnit','symbol','nativeEvent','mountNode','_chartRenderService','getDrawingByParam','_closePopup','unitId','focus$','_original','HorizontalAxis','missing-float-dom','onPointerDown','version','asObservable','chartEditorOpen$','max','exportImage','SELECTOR','_cancelHostWait','finally','SVG','_createChartRenderInstanceContext','current','imageBitmap','isFinite','PieStyle','_requestedUrl','_getHostPlacement','beforeCommandExecuted','afterRender$','OVERRIDE_NATIVE','Legend','.chart-host','config$','mobile-sheet-chart-style-panel','_activeChartId','onTransformChange$','getImage','hidePanel','getActiveSheet','_cancelGesture','REMOVE','packageName','getCanvasElement','setElementEditMode','activeRuntimeModel','mergeMenu','_getFloatDomInfo','References','Reference','_iconManager','_getImage','select','_dataUpdateAnimationChartIds','drawImage','_requestPaint','rangeInfo','_initSheetChange','domId','_bindChartEventHandlers','register','markUnmanaged','_sidebarDisposable','ancestorTransform','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','_markReady','1000','style$','_getCurrentSnapshotImage','getHostSize','setProps','_menuManagerService','_disposed','_restoreHostWrapper','labelId','Overlay','Funnel','setActiveChartModel','676jZADEo','_init','isHit','_localeService','openChartPanelById','sheets-chart-ui.common.useAsCategoryLabels','call','ImageBitmap','takeSnapshot','bottom','_managed','featurePluginUngroupUpdate$','pointerId','_frameStyle','sheet.operation.hide-chart-panel','Area','UniverSheetsChartUIPlugin','sheets-chart-ui.chartTypes.','_popupDisposable','getBatchAddOp','map','getChartDataSource','getBoundingClientRect','length','_lastRenderInputMap','_removeHost$','visibilityState','classType','sheets-chart-ui.common.chartStyle','scale','isLatest','_generateCutPasteMutations','_sheetDrawingService','getRenderModel','_subscribeChartEvents','DEFAULT_PASTE','_chartHostProviderService','redo','sheets-chart-ui.section.chord','Line','radius','renderChartsForPrinting','30231IBSYMa','CHART','1.3.1','titles','_initDrawingDeactivationListener','onDoubleClick$','featurePluginGroupUpdate$','makeDirty','_getOrCreateChartRenderInstance','sheets-chart-ui.section.gridlinesAndTicks','sheet.chart.edit.panel','_pendingHost','lineAndArea','setBorder','COMMAND','getMatrix','click','_getChartRenderSkipReason','data$','_rect','waterfallStyle','mode','_openEditPanelByDoubleClick','_chartEventSubscriptions','style','WordCloud','abs','parentElement','rightYAxis','promise','toPrimitive','border','removeChartModel','right','transformer','getChartModel','pieSecondaryPlotType','_activeDomReadyChartIds','config','_dataUpdateAnimationDuration','_chartThemeService','_drawChartImage','_savedWrapperStyle','checkHost','_shouldSuppressRender','isRender','ParetoLineSeries','_applyHostStyle','markHostNotReady','Candlestick','PenIcon','_sheetCanvasFloatDomManagerService','getValue','removeHost$','GeneralSeries','(prefers-reduced-motion:\x20reduce)','startColumn','_snapshotKey','sheets-chart-ui.waterfall.positive','setRangeSelectMode','_getChartRenderObject','supports','_chartHostMap','ensureMount','_activateHostWrapper','exportImg','objects','div','_resolveChartRenderMode','_listenChartUpdateMutations','min','_readGeometry','defineProperty','section','drawingType','string','iterator','_disposeChartChangeListeners','sheets-chart-ui.common.copy','_pendingDataUpdateChartIds','_pendingUrlImage','isRowDirection','sheets-chart-ui.section.gauge','prototype','lineTo','Treemap','_syncActiveEditChart','getChartSourceSpec','logicalOuterRect','sheet.command.chart.export-focused-image','Literals','setOrientation','_debounceHandle','top','concat','nextVersion','_initMenus','_waiter','has','values','permissionCheckWithoutRange','_chartSnapshotStoreService','Data','_createPrintingChartObject','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_chartHostProvider','sheets-chart-ui.config','sheets-chart-ui.common.insertChart','executeCommand','_updateTransform','rangeInfo$','sheet.command.chart.open-focused-panel','label','_componentManager','removeEventListener','rect','_setChartRuntimeZIndex','_initActiveChartModelListener','_injector','open','isManaged','assignStyle','OPERATION','initialRect','invalidateSnapshot','_chartEditorOpen$','5037mniKgI','type','407KbgIsT','_gesture','PRINTING_COMPONENT_COLLECT','sheets-chart.ui.service','moveTo','Positive','event','all','ensureHost','arc','getConfig','endsWith','name','_adapterRegistry','dataset','sheets-chart-ui.common.rightVerticalAxis','_callback','sheets-chart-ui.common.customize','_bindChartPointerEvents','activeChartModel$','cumulativeLineStyle','position$','relation','_scheduleDataUpdateAnimationEnd','_snapshotStore','getElementById','releasePointerCapture','1263431PrnCMs','titleKey','split','resize','removeHost','find','scaleY','_rerenderLatest','createElement','isElementEditModeActive','setChartEditorOpen','sheets-chart-ui.section.wordCloud','subUnitId','bind','Histogram','onPointerMove','checkChartCanRender','_running','src','_clearPendingUrlImage','4386675mNQLix','set','function','pointerEvents','_disposeImage','@univerjs-pro/sheets-chart-ui','getRenderColor','disposeWithMe','_chartModelService','_panelRoute$','hidden','_commandService','matchMedia','dataUrl','setDataUpdateAnimation','canvas','keys','sheets-chart-ui.common.exportImage','_canvasFloatDomService','clearChart','executeChartUpdateConfig','strokeWidth','naturalWidth','closePath','absolute','scheduler','sheets-chart-ui.common.switchRowColumn','add','addClipboardHook','getRect','Sunburst','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_drawingManagerService','_resolveLayout','DRAWING_CHART','segmented','_cancelDebouncedCallbacks','sheets-chart-ui.section.funnel','items','_initActiveRuntimeLayerListener','copyType','Dom','_getChartRenderObjectContext','sheet.command.chart.delete-focused-chart','dispose','hit','_initCommands','resourceCollector','_setHostStyle','createChartInstance','UNIVER_SHEET','_markHostReady','_geometry','context','sheets-chart-element-float-menu','dblclick','Boxplot','_initPermission','transparent','isInGroup','sheets-chart-ui.common.verticalAxis','_config','_createImageChartHost','endY','_sheetInterceptorService','_getDrawable','render','route','sheets-chart-ui.section.sunburst','INSERT','_focusedDrawings','_version','chartEditorOpen','category','ChartStyle','next','WaterfallSeries','bounds','Series','_loadUrlImage','serialize','setContextValue','8UxrYSm','_registerAdapter','getFloatDomInfo','_hostStyle','sheet.command.chart.copy-focused-chart','startX','request','verify','params','_clearHiddenSelectedTarget','updateFloatDom','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_rangeSelectMode','Row','#-#','ChartAndAxisTitles','resolve','_univerInstanceService','setDataRange','Url','getSheetBySheetName','_disposeChartDomInstance','_generateCopyPasteMutations','Bar','view','isArray','getOwnPropertyDescriptor','defaultValues','_themeService','_applyHostInteractionState','subscribe','sidebarOptions$','_registerIcons','isConnected','_requestChartCanvasRender','_renderManagerService','dataSource$','pointercancel','Gauge','_lastActiveSheet','_panelInitialized','context$','entries','decorate','sheets-chart-ui.common.legend','_debounceHandleMap','getSubUnitId','cancelPending','clientY','UPDATE','startRow','_frame','_dataUpdateAnimationTimers','renderTransition','true','Bubble','_disposeChartEventSubscription','Pie','trim','intercept','Chord','innerWidth','sheets-chart-ui.common.dataRange','BUTTON','left','DeleteIcon','copyId','wordCloud','transformChange$','_pendingMutationConfigRenders','children','object','_getOrCreateSheetChartHost','_createCopyInfoByRange','width','_configService','sheet-chart-setup-panel','_clearPanelState','_createHost','sourceSubUnitId','OTHERS','hasPointerCapture','getDrawingOrder','sheets-chart-ui.section.paretoBar','sheets-chart-ui.section.paretoLine','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_sheetPermissionCheckController','_sheetClipboardService','some','filter','_isOwnedChart','_getSceneAndTransformerByDrawingSearch','_chartRenderMode','sheetTransform','_suppressClick','querySelector','initPanel','_isProviderDisposed','height','_domFrame','missing-active-sheet','naturalHeight','delete','visible','detach','_sheetCanvasPopManagerService','checkMounted','interceptCommand','_getPlacement','undo','getParent','univer-shrink-0','setStyle','getInterceptPoints','getCurrentUnitOfType','_registerChartImageRenderObjectFactory','_popupSessionKey','ParetoBarSeries','registerCommand','funnel','focusDrawing','inactive-sheet','zIndex','addEventListener','unsubscribe','_cacheActiveDomChartSnapshot','scaleX','number','_keepChartCapture','_sheetPrintInterceptorService','with','offsetWidth','sheets-chart-ui.common.chart','depthAxis','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','_drawChartFrame','ensureHandle','_handleDrawingDoubleClick','setPanelRoute','value','sheets-chart-ui.chord.target','close','getChartPopupMenus','Waterfall','emitChartEvent','img','560sRsdEO','moveY','print','href','getSkeleton','sheets-chart-ui.section.radar','pareto','sheets-chart-ui.permission.editErr','getTransformerByCreate','sheets-chart-ui.chartTypes.line','sheets-chart-ui.host.provider','LineAndArea','CUT','add$','DRAWING','getRenderUnitById','_alignFloatDomPositionWithSceneRender','getDirection','_renderAfterChartUpdateMutation','setImage','_isChartElementEditEnabled','Image','getObject','chartObject','_renderDebounceMap','sheets-chart-ui.section.pie','activeSheet$','.png','Column','viewBound','rangeSelectMode','_disposeChartEventSubscriptions','_markNotReady','sheets-chart-ui.common.deleteChart','save','blur','_prepareDataUpdateRender','DownloadImageIcon','translate','_sheetsChartService','drawingId','target','forEach','_bindChartEventHandler','_sheetSkeletonService','_deactivateDataUpdateAnimation','push','_draw','_resizeChart','engine','download','none','_bindPointerEvents','onPointerUp','getName','startY','syncHostLayout','panelRoute$','sheets-chart-ui.section.treemap','animateDataUpdate','header','direction$','scroll','_url','clientWidth','chartId','handleActiveSubUnitChange','getUnitId','chartModelId','showFloatMenu','4681831CqWsWv','catch'];_0x47f1=function(){return _0x10a886;};return _0x47f1();}function ui(_0x49dadc){const _0x43fabc=_0x263333;let _0x4f1e3f=Math[_0x43fabc(0x486)](_0x49dadc['endX']-_0x49dadc[_0x43fabc(0x2f9)],0x0),_0x58e1f3=Math[_0x43fabc(0x486)](_0x49dadc[_0x43fabc(0x2e1)]-_0x49dadc[_0x43fabc(0x3bd)],0x0),_0x542e36=_0x49dadc[_0x43fabc(0x2ba)][_0x43fabc(0x334)]&&_0x49dadc['width']-_0x4f1e3f>li,_0x1e2cc2=_0x49dadc[_0x43fabc(0x2ba)][_0x43fabc(0x250)]&&_0x49dadc[_0x43fabc(0x356)]-_0x58e1f3>li;return!_0x542e36&&!_0x1e2cc2?_0x49dadc:{..._0x49dadc,'absolute':{'left':!_0x542e36&&_0x49dadc[_0x43fabc(0x2ba)]['left'],'top':!_0x1e2cc2&&_0x49dadc[_0x43fabc(0x2ba)][_0x43fabc(0x250)]}};}function di(_0x21559f){const _0x3672f8=_0x263333;if(!Object[_0x3672f8(0x246)]['hasOwnProperty'][_0x3672f8(0x1cf)](_0x21559f,_0x3672f8(0x212)))return _0x21559f;let {border:_0x2b06c8,..._0x5cdc02}=_0x21559f;return{..._0x5cdc02,'stroke':(_0x2b06c8==null?void 0x0:_0x2b06c8[_0x3672f8(0x43f)])??_0x3672f8(0x2dc),'strokeWidth':(_0x2b06c8==null?void 0x0:_0x2b06c8[_0x3672f8(0x33e)])??0x0};}let fi=class extends _0x3a35f7{constructor(_0x4200c1,_0x50182c,_0x52d4ed,_0x114785){const _0x59a565=_0x263333;super(),this[_0x59a565(0x226)]=_0x4200c1,this[_0x59a565(0x317)]=_0x50182c,this[_0x59a565(0x258)]=_0x52d4ed,this[_0x59a565(0x2b4)]=_0x114785,G(this,_0x59a565(0x231),new Map()),G(this,_0x59a565(0x218),new Set()),G(this,'_removeHost$',new _0x5065d2()),G(this,'removeHost$',this['_removeHost$'][_0x59a565(0x484)]()),this['disposeWithMe'](this[_0x59a565(0x226)][_0x59a565(0x3d3)][_0x59a565(0x312)](_0xb7f4b9=>{const _0x3004f3=_0x59a565;let _0x15dbbf=this[_0x3004f3(0x231)][_0x3004f3(0x461)](_0xb7f4b9['id']);_0x15dbbf!=null&&_0x15dbbf[_0x3004f3(0x26b)]()&&(_0x15dbbf[_0x3004f3(0x1b8)](),this[_0x3004f3(0x1e2)][_0x3004f3(0x2ed)](_0xb7f4b9['id']));}));}['_getSceneAndTransformerByDrawingSearch'](_0x2f350d){const _0x49073a=_0x263333;if(_0x2f350d==null)return;let _0x27b0cf=this[_0x49073a(0x317)]['getRenderUnitById'](_0x2f350d),_0x42949c=_0x27b0cf==null?void 0x0:_0x27b0cf[_0x49073a(0x445)];return _0x27b0cf==null||_0x42949c==null?null:{'scene':_0x42949c,'transformer':_0x42949c[_0x49073a(0x38e)](),'renderUnit':_0x27b0cf,'canvas':_0x27b0cf[_0x49073a(0x3b7)][_0x49073a(0x1a6)]()};}[_0x263333(0x200)](_0x3eb21d,_0x1d34f5){const _0x50b497=_0x263333;let _0x3e69b6=this[_0x50b497(0x226)],_0x5b70d4=_0x1d34f5||_0x50b497(0x2dc),_0x27d5e3=_0x3e69b6['getFloatDomInfo'](_0x3eb21d);if(_0x27d5e3){let {unitId:_0x51f7a7,subUnitId:_0x442b99}=_0x27d5e3;_0x3e69b6[_0x50b497(0x462)](_0x51f7a7,_0x442b99,_0x3eb21d,{'stroke':_0x5b70d4});}}[_0x263333(0x3d7)](_0xe4eeb4,_0x4f236e){const _0x3bfb65=_0x263333;let _0x5c9991=this[_0x3bfb65(0x226)],_0x2bf4b5=_0x5c9991[_0x3bfb65(0x2f6)](_0xe4eeb4);if(_0x2bf4b5){let {unitId:_0x3a0b42,subUnitId:_0x304cb9}=_0x2bf4b5;_0x5c9991['updateFloatDomProps'](_0x3a0b42,_0x304cb9,_0xe4eeb4,di(_0x4f236e));}}['getHostSize'](_0x483d3a){const _0x3d7348=_0x263333;let _0xf9529e=this['_sheetCanvasFloatDomManagerService'][_0x3d7348(0x2f6)](_0x483d3a);return _0xf9529e?_0xf9529e[_0x3d7348(0x266)]:null;}[_0x263333(0x3e0)](_0x186af3){const _0x176fa8=_0x263333;let _0x28d618=this[_0x176fa8(0x226)]['getFloatDomInfo'](_0x186af3),_0x21a9e5=document[_0x176fa8(0x28c)]((_0x28d618==null?void 0x0:_0x28d618[_0x176fa8(0x1b5)])??_0x186af3);return(_0x21a9e5==null?void 0x0:_0x21a9e5[_0x176fa8(0x1df)]())??null;}[_0x263333(0x2b0)](_0x28fb5d,_0x1b8225){const _0x443c80=_0x263333;var _0x56ea34;(_0x56ea34=this[_0x443c80(0x231)]['get'](_0x28fb5d))==null||_0x56ea34[_0x443c80(0x2b0)](_0x1b8225);}[_0x263333(0x21e)](_0x2a55b4){const _0x2bfb71=_0x263333;var _0x23c254;return((_0x23c254=this[_0x2bfb71(0x231)]['get'](_0x2a55b4))==null?void 0x0:_0x23c254['checkMounted']())??!0x1;}['syncHostLayout'](_0x4781bf){const _0x449ece=_0x263333;var _0x1ceda1;(_0x1ceda1=this['_chartHostMap']['get'](_0x4781bf))==null||_0x1ceda1[_0x449ece(0x3f1)]();}[_0x263333(0x292)](_0x5ccdfc){const _0x2b779a=_0x263333;let _0x1cdd80=this['_chartHostMap'][_0x2b779a(0x461)](_0x5ccdfc);_0x1cdd80&&(_0x1cdd80['dispose'](),this[_0x2b779a(0x2b4)][_0x2b779a(0x2fe)](_0x5ccdfc,{'eventPassThrough':!0x0})),this['_chartHostMap']['delete'](_0x5ccdfc);}async[_0x263333(0x27b)](_0x1146a0,_0xfbcd1a){const _0x11350b=_0x263333;if(_0xfbcd1a===_0xe3c0fe[_0x11350b(0x39b)])return this[_0x11350b(0x2e0)](_0x1146a0);if(_0xfbcd1a===_0xe3c0fe[_0x11350b(0x2cb)])return this['_getOrCreateSheetChartHost'](_0x1146a0);let _0x1be7c1=this['_getOrCreateSheetChartHost'](_0x1146a0);if(!_0x1be7c1)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x1be7c1[_0x11350b(0x37c)]();}['isDomReady'](_0x6df022){const _0x22bf60=_0x263333;var _0x1cbca5;return this['_activeDomReadyChartIds']['has'](_0x6df022)?(_0x1cbca5=this[_0x22bf60(0x231)][_0x22bf60(0x461)](_0x6df022))!=null&&_0x1cbca5['checkMounted']()?!0x0:(this[_0x22bf60(0x218)][_0x22bf60(0x35a)](_0x6df022),this['_restoreFloatDomPositionStream'](_0x6df022),!0x1):!0x1;}[_0x263333(0x223)](_0x3fdafc){const _0x3af8ed=_0x263333;this[_0x3af8ed(0x218)][_0x3af8ed(0x35a)](_0x3fdafc)&&(this[_0x3af8ed(0x432)](_0x3fdafc),this[_0x3af8ed(0x316)](_0x3fdafc));}['invalidateSnapshot'](_0x4c4632){const _0x2fddb1=_0x263333;let _0x5b8042=this[_0x2fddb1(0x459)](_0x4c4632);_0x5b8042&&this[_0x2fddb1(0x258)][_0x2fddb1(0x252)](_0x5b8042);}[_0x263333(0x2e0)](_0x15ceba){const _0x5ad4a1=_0x263333;let _0x2f5368=this[_0x5ad4a1(0x459)](_0x15ceba);return!_0x2f5368||!this[_0x5ad4a1(0x1c0)](_0x15ceba)?null:new ci(_0x15ceba,()=>this[_0x5ad4a1(0x1c0)](_0x15ceba),_0x4e2e32=>this['setHostStyle'](_0x15ceba,_0x4e2e32),_0x2f5368,this['_chartSnapshotStoreService'],()=>this[_0x5ad4a1(0x316)](_0x15ceba));}[_0x263333(0x33c)](_0x26cbd3){const _0x2e9ce1=_0x263333;if(!this[_0x2e9ce1(0x1c0)](_0x26cbd3))return null;this['_canvasFloatDomService']['updateFloatDom'](_0x26cbd3,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x3051e5=this[_0x2e9ce1(0x231)][_0x2e9ce1(0x461)](_0x26cbd3);if(_0x3051e5)return _0x3051e5;let _0xcea221=new oi(_0x26cbd3,()=>this['_sheetCanvasFloatDomManagerService'][_0x2e9ce1(0x2f6)](_0x26cbd3),()=>this[_0x2e9ce1(0x492)](_0x26cbd3),_0x3bb4f4=>this['setHostStyle'](_0x26cbd3,_0x3bb4f4),()=>this[_0x2e9ce1(0x1c3)],()=>this[_0x2e9ce1(0x2d5)](_0x26cbd3),()=>this['markHostNotReady'](_0x26cbd3),_0xa20cd3=>this[_0x2e9ce1(0x285)](_0x26cbd3,_0xa20cd3));return this[_0x2e9ce1(0x231)][_0x2e9ce1(0x2a3)](_0x26cbd3,_0xcea221),_0xcea221;}[_0x263333(0x285)](_0x4a6965,_0x13f18b){const _0x5f3c2d=_0x263333;var _0x17d29b;let _0x5be953=this[_0x5f3c2d(0x226)][_0x5f3c2d(0x2f6)](_0x4a6965),_0x523433=(_0x17d29b=this[_0x5f3c2d(0x2b4)][_0x5f3c2d(0x40b)][_0x5f3c2d(0x293)](([_0x1d87fa])=>_0x1d87fa===_0x4a6965))==null?void 0x0:_0x17d29b[0x1],_0x286ccf=_0x5be953?this[_0x5f3c2d(0x34f)](_0x5be953[_0x5f3c2d(0x47d)]):null;if(!_0x5be953||!_0x523433||!_0x286ccf)return _0x24488e(()=>{});let _0x513feb=_0xa5d21({'unitId':_0x5be953['unitId'],'subUnitId':_0x5be953[_0x5f3c2d(0x29a)],'drawingId':_0x4a6965});return new si(_0x13f18b,{'onPointerDown':_0x523433[_0x5f3c2d(0x482)],'onPointerMove':_0x523433[_0x5f3c2d(0x29d)],'onPointerUp':_0x523433[_0x5f3c2d(0x3bb)]},_0x286ccf[_0x5f3c2d(0x215)]['changing$'][_0x5f3c2d(0x3e9)](_0x3d855b(_0x348641=>_0x348641[_0x5f3c2d(0x235)][_0x5f3c2d(0x255)](_0x513feb)&&((_0x348641['moveX']??0x0)!==0x0||(_0x348641[_0x5f3c2d(0x387)]??0x0)!==0x0))),_0x1c38a9=>this[_0x5f3c2d(0x2b4)]['updateFloatDom'](_0x4a6965,_0x1c38a9));}[_0x263333(0x2d5)](_0x2a2a52){const _0x556c86=_0x263333;this[_0x556c86(0x218)][_0x556c86(0x255)](_0x2a2a52)||(this[_0x556c86(0x218)][_0x556c86(0x2bd)](_0x2a2a52),this[_0x556c86(0x396)](_0x2a2a52),this[_0x556c86(0x316)](_0x2a2a52));}[_0x263333(0x396)](_0xfc53da){const _0x38b628=_0x263333;var _0xbaa7ec;let _0x1ee19=this[_0x38b628(0x226)][_0x38b628(0x2f6)](_0xfc53da),_0x55c1fb=_0x1ee19?(_0xbaa7ec=this[_0x38b628(0x317)][_0x38b628(0x395)](_0x1ee19['unitId']))==null?void 0x0:_0xbaa7ec[_0x38b628(0x445)]:null;if(!_0x1ee19||!_0x55c1fb)return;let _0x397f8c=_0x556df5(_0x1ee19[_0x38b628(0x288)][_0x38b628(0x3e9)](_0x22f11f(0x1)),_0x55c1fb[_0x38b628(0x494)]['pipe'](_0x46b3ab(_0x1ee19['position$']),_0x3d1348(([,_0x597f5c])=>_0x597f5c)))['pipe'](_0x1b7120(),_0x3d1348(ui));this[_0x38b628(0x2b4)][_0x38b628(0x2fe)](_0xfc53da,{'position$':_0x397f8c});}[_0x263333(0x432)](_0x1da3c8){const _0x2525b8=_0x263333;let _0x47f3cd=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x1da3c8);_0x47f3cd&&this[_0x2525b8(0x2b4)][_0x2525b8(0x2fe)](_0x1da3c8,{'position$':_0x47f3cd[_0x2525b8(0x288)]});}['_getChartSnapshotKey'](_0x11bdea){const _0x25e0db=_0x263333;let _0x1e6b94=this[_0x25e0db(0x226)][_0x25e0db(0x2f6)](_0x11bdea);return _0x1e6b94?{'unitId':_0x1e6b94[_0x25e0db(0x47d)],'subUnitId':_0x1e6b94[_0x25e0db(0x29a)],'chartId':_0x11bdea}:null;}[_0x263333(0x316)](_0x37d782){const _0x5aef7e=_0x263333;var _0x1d0c5a,_0x3b1edf,_0x5871ab;let _0x4f22e0=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x37d782);if(!_0x4f22e0)return;let _0x1b8cd5=(_0x1d0c5a=this[_0x5aef7e(0x317)][_0x5aef7e(0x395)](_0x4f22e0[_0x5aef7e(0x47d)]))==null?void 0x0:_0x1d0c5a[_0x5aef7e(0x445)],_0x11afe5=(_0x1b8cd5==null||(_0x3b1edf=_0x1b8cd5[_0x5aef7e(0x425)])==null?void 0x0:_0x3b1edf['call'](_0x1b8cd5,_0xa5d21({'unitId':_0x4f22e0[_0x5aef7e(0x47d)],'subUnitId':_0x4f22e0[_0x5aef7e(0x29a)],'drawingId':_0x37d782})))??(_0x1b8cd5==null?void 0x0:_0x1b8cd5[_0x5aef7e(0x39c)](_0xa5d21({'unitId':_0x4f22e0[_0x5aef7e(0x47d)],'subUnitId':_0x4f22e0[_0x5aef7e(0x29a)],'drawingId':_0x37d782})))??null;_0x11afe5==null||(_0x5871ab=_0x11afe5[_0x5aef7e(0x1fa)])==null||_0x5871ab[_0x5aef7e(0x1cf)](_0x11afe5,!0x0),_0x1b8cd5==null||_0x1b8cd5[_0x5aef7e(0x1fa)](!0x0);}[_0x263333(0x492)](_0x25ea16){const _0xb89cd7=_0x263333;let _0x30a1e2=this[_0xb89cd7(0x226)][_0xb89cd7(0x2f6)](_0x25ea16);if(!_0x30a1e2)return null;let _0x26100a=this[_0xb89cd7(0x34f)](_0x30a1e2[_0xb89cd7(0x47d)]),_0x2b6cc8=_0x26100a==null?void 0x0:_0x26100a[_0xb89cd7(0x445)],_0x1c5e64=document['getElementById'](_0x30a1e2['domId']??_0x25ea16);return Qr(_0x30a1e2[_0xb89cd7(0x266)],{'scaleX':(_0x2b6cc8==null?void 0x0:_0x2b6cc8[_0xb89cd7(0x372)])??0x1,'scaleY':(_0x2b6cc8==null?void 0x0:_0x2b6cc8['scaleY'])??0x1},_0x1c5e64?{'left':_0x1c5e64[_0xb89cd7(0x3e8)],'top':_0x1c5e64[_0xb89cd7(0x41c)]}:void 0x0);}[_0x263333(0x2ce)](){const _0xa1c3c=_0x263333;this['_disposed']||(Array['from'](this[_0xa1c3c(0x231)][_0xa1c3c(0x2b2)]())[_0xa1c3c(0x3b0)](_0x5e6406=>this['removeHost'](_0x5e6406)),this[_0xa1c3c(0x218)][_0xa1c3c(0x412)](),this[_0xa1c3c(0x1e2)][_0xa1c3c(0x3e7)](),super[_0xa1c3c(0x2ce)]());}};fi=J([q(0x0,_0x5190dd(_0x1f911b)),q(0x1,_0x5190dd(_0x170796)),q(0x2,_0x5190dd(ii)),q(0x3,_0x5190dd(_0x26624d))],fi);const pi=_0x24b5b8(_0x263333(0x390)),mi=_0xe3c0fe[_0x263333(0x39b)];var hi=class extends _0x2def3b{constructor(_0x351d15,_0x569ef2){const _0x2788da=_0x263333;super(_0x351d15),this[_0x2788da(0x206)]=_0x569ef2,G(this,_0x2788da(0x2e9),0x0),G(this,_0x2788da(0x46a),void 0x0),G(this,_0x2788da(0x20b),{});}[_0x263333(0x2bf)](){const _0x304306=_0x263333;return this[_0x304306(0x206)];}[_0x263333(0x364)](_0x139ec4){this['style']=_0x139ec4;}[_0x263333(0x252)](){return++this['_version'];}['commitSnapshot'](_0x1ff260,_0x4a9f99){const _0x5260df=_0x263333;return _0x4a9f99===this[_0x5260df(0x2e9)]?(K(this[_0x5260df(0x46a)]),this['_image']=_0x1ff260,!0x0):(K(_0x1ff260),!0x1);}['requestPaint'](){}['invalidateSnapshot'](){const _0x74d6d4=_0x263333;this[_0x74d6d4(0x2e9)]+=0x1;}[_0x263333(0x1d1)](){const _0x3d34f5=_0x263333;let _0x3cf3c1=this[_0x3d34f5(0x46a)];return this[_0x3d34f5(0x46a)]=void 0x0,_0x3cf3c1;}[_0x263333(0x2ce)](){const _0x455669=_0x263333;K(this[_0x455669(0x46a)]),this['_image']=void 0x0,super['dispose']();}};function gi(_0x88aa3b,_0x2f2e3e,_0x545fe2){const _0x3d0d90=_0x263333;let _0x1dc976=_0x88aa3b['getRuntimeContext'](_0x2f2e3e),_0xa29886={..._0x88aa3b[_0x3d0d90(0x20b)],'runtime':{..._0x1dc976,'layoutInset':0x8,..._0x545fe2===void 0x0?{}:{'addWatermark':_0x545fe2}},'direction':_0x2f2e3e};return _0xd7599e(_0xa29886,_0x88aa3b[_0x3d0d90(0x451)]);}let Y=class extends _0x3a35f7{constructor(_0x23d7c6,_0x422520,_0x2ae1dc,_0x35735c,_0x6d5dfb,_0x45000a,_0x2f55f6,_0x2aea1b,_0x9315d9,_0x28b45b,_0x16ca71,_0x7c89bf,_0x1deb98){const _0x21133a=_0x263333;super(),this['_chartHostProvider']=_0x23d7c6,this[_0x21133a(0x226)]=_0x422520,this[_0x21133a(0x2aa)]=_0x2ae1dc,this[_0x21133a(0x2c2)]=_0x35735c,this[_0x21133a(0x305)]=_0x6d5dfb,this[_0x21133a(0x317)]=_0x45000a,this[_0x21133a(0x1cc)]=_0x2f55f6,this['_injector']=_0x2aea1b,this[_0x21133a(0x21b)]=_0x9315d9,this[_0x21133a(0x310)]=_0x28b45b,this[_0x21133a(0x33f)]=_0x16ca71,this[_0x21133a(0x258)]=_0x7c89bf,this[_0x21133a(0x40f)]=_0x1deb98,G(this,_0x21133a(0x406),new Map()),G(this,_0x21133a(0x45c),new Map()),G(this,_0x21133a(0x20a),new Map()),G(this,'_chartElementEditMode',new Map()),G(this,'_renderDebounceMap',new Map()),G(this,_0x21133a(0x321),new Map()),G(this,_0x21133a(0x434),new Map()),G(this,_0x21133a(0x350),void 0x0),G(this,_0x21133a(0x44f),void 0x0),G(this,_0x21133a(0x1e1),new Map()),G(this,_0x21133a(0x1b0),new Set()),G(this,_0x21133a(0x328),new Map()),G(this,_0x21133a(0x49a),null),G(this,_0x21133a(0x31b),null);let _0x26ab7d=_0x15b8bc(this[_0x21133a(0x269)]),_0x9e50bf=this[_0x21133a(0x33f)][_0x21133a(0x27d)](_0x51b7e1);this[_0x21133a(0x350)]=(_0x9e50bf==null?void 0x0:_0x9e50bf[_0x21133a(0x41a)])??mi,this[_0x21133a(0x44f)]=_0x26ab7d[_0x21133a(0x1e0)]!==0x1||_0x26ab7d[0x0]!==_0x21133a(0x27a),this[_0x21133a(0x367)](),this[_0x21133a(0x268)](),this[_0x21133a(0x1f7)](),this[_0x21133a(0x2c9)](),this['handleActiveSubUnitChange']();}['getChartSnapshotImage'](_0x2b38ba){const _0x56341a=_0x263333;let _0xc5e54f=this[_0x56341a(0x459)](_0x2b38ba);return _0xc5e54f?this[_0x56341a(0x258)][_0x56341a(0x1a0)](_0xc5e54f):void 0x0;}['_resolveChartRenderMode'](_0x4d9032){const _0x5b9e9e=_0x263333;var _0x5f033e;return((_0x5f033e=this['_chartModelService'][_0x5b9e9e(0x46e)])==null?void 0x0:_0x5f033e['id'])===_0x4d9032?_0xe3c0fe[_0x5b9e9e(0x2cb)]:this['_chartRenderMode'];}[_0x263333(0x459)](_0x4573ee){const _0x25d33c=_0x263333;let _0x47f70b=this[_0x25d33c(0x226)][_0x25d33c(0x2f6)](_0x4573ee);return _0x47f70b?{'unitId':_0x47f70b[_0x25d33c(0x47d)],'subUnitId':_0x47f70b[_0x25d33c(0x29a)],'chartId':_0x4573ee}:null;}[_0x263333(0x367)](){const _0xd6c0f5=_0x263333;this[_0xd6c0f5(0x350)]===_0xe3c0fe[_0xd6c0f5(0x39b)]&&this[_0xd6c0f5(0x2a9)](this[_0xd6c0f5(0x226)]['registerRenderObjectFactory'](_0x815b3e[_0xd6c0f5(0x2c4)],({key:_0x3092b6,config:_0x98081f,unitId:_0x450323,subUnitId:_0x3bd9de,drawingId:_0x2ddb10})=>new ei(_0x3092b6,_0x98081f,()=>this['_chartSnapshotStoreService'][_0xd6c0f5(0x1a0)]({'unitId':_0x450323,'subUnitId':_0x3bd9de,'chartId':_0x2ddb10}),()=>this[_0xd6c0f5(0x25c)][_0xd6c0f5(0x405)](_0x2ddb10))));}[_0x263333(0x268)](){const _0x4f6a90=_0x263333;this[_0x4f6a90(0x2a9)](this[_0x4f6a90(0x2aa)][_0x4f6a90(0x286)][_0x4f6a90(0x312)](_0xe9a221=>{const _0x319f30=_0x4f6a90;let _0x3d4102=(_0xe9a221==null?void 0x0:_0xe9a221['id'])??null,_0x18d786=this['_activeChartId'];_0x18d786!==_0x3d4102&&(_0x18d786&&(this[_0x319f30(0x25c)]['markHostNotReady'](_0x18d786),this['_resetChartRuntimeZIndex'](_0x18d786),this[_0x319f30(0x309)](_0x18d786)),this[_0x319f30(0x49a)]=_0x3d4102,_0x3d4102&&(this['_deactivateDataUpdateAnimation'](_0x3d4102),this[_0x319f30(0x25c)][_0x319f30(0x223)](_0x3d4102),this[_0x319f30(0x438)](_0x3d4102),this[_0x319f30(0x295)](_0x3d4102)));}));}[_0x263333(0x1f7)](){const _0xb955f9=_0x263333;this[_0xb955f9(0x2a9)](this[_0xb955f9(0x2c2)][_0xb955f9(0x1f9)][_0xb955f9(0x312)](_0x5c87ae=>{const _0x12d947=_0xb955f9;var _0x4f0a12;let _0x2bd75b=(_0x4f0a12=this[_0x12d947(0x2aa)]['activeChartModel'])==null?void 0x0:_0x4f0a12['id'];_0x2bd75b&&_0x5c87ae[_0x12d947(0x34c)](_0x167f0d=>_0x167f0d['children'][_0x12d947(0x34c)](_0x5764f5=>_0x5764f5[_0x12d947(0x3ae)]===_0x2bd75b))&&this['_chartModelService'][_0x12d947(0x1c8)](null);})),this[_0xb955f9(0x2a9)](this[_0xb955f9(0x2c2)][_0xb955f9(0x1d4)]['subscribe'](_0x3c3dbc=>{const _0x5276a4=_0xb955f9;var _0x2023a1;let _0x31216d=(_0x2023a1=this[_0x5276a4(0x2aa)]['activeChartModel'])==null?void 0x0:_0x2023a1['id'];_0x31216d&&_0x3c3dbc[_0x5276a4(0x34c)](_0x16839e=>_0x16839e[_0x5276a4(0x3d9)][_0x5276a4(0x3ae)]===_0x31216d||_0x16839e[_0x5276a4(0x33a)][_0x5276a4(0x34c)](_0x8c2c41=>_0x8c2c41['drawingId']===_0x31216d))&&this[_0x5276a4(0x2aa)][_0x5276a4(0x1c8)](null);}));}[_0x263333(0x2c9)](){const _0x5c1460=_0x263333;this['disposeWithMe'](this[_0x5c1460(0x2c2)][_0x5c1460(0x441)][_0x5c1460(0x312)](_0x1829ab=>{const _0x3f8a32=_0x5c1460;var _0xb00fd7;let _0x5cf2ca=(_0xb00fd7=this[_0x3f8a32(0x2aa)][_0x3f8a32(0x46e)])==null?void 0x0:_0xb00fd7['id'];if(!_0x5cf2ca){_0x1829ab[_0x3f8a32(0x3fe)]['forEach'](_0x309ac3=>{const _0x16a648=_0x3f8a32;this['_chartModelService'][_0x16a648(0x216)](_0x309ac3)&&this[_0x16a648(0x3ea)](_0x309ac3);});return;}let _0x161bc7=this[_0x3f8a32(0x226)][_0x3f8a32(0x2f6)](_0x5cf2ca);(_0x161bc7==null?void 0x0:_0x161bc7['unitId'])===_0x1829ab['unitId']&&_0x161bc7['subUnitId']===_0x1829ab[_0x3f8a32(0x29a)]&&this['_applyActiveChartRuntimeZIndex'](_0x5cf2ca);})),this[_0x5c1460(0x2a9)](this[_0x5c1460(0x2c2)][_0x5c1460(0x393)][_0x5c1460(0x312)](_0x31b6da=>{const _0x1c3700=_0x5c1460;var _0x547680;let _0x5776f9=(_0x547680=this[_0x1c3700(0x2aa)]['activeChartModel'])==null?void 0x0:_0x547680['id'];if(!_0x5776f9)return;let _0x4fbb69=this[_0x1c3700(0x226)][_0x1c3700(0x2f6)](_0x5776f9);_0x4fbb69&&_0x31b6da[_0x1c3700(0x34c)](_0x40c38d=>_0x40c38d[_0x1c3700(0x47d)]===_0x4fbb69['unitId']&&_0x40c38d[_0x1c3700(0x29a)]===_0x4fbb69[_0x1c3700(0x29a)])&&this[_0x1c3700(0x438)](_0x5776f9);})),this[_0x5c1460(0x2a9)](this[_0x5c1460(0x2aa)]['chartModelRemoved$'][_0x5c1460(0x312)](_0x5ea175=>{const _0x452f5b=_0x5c1460;var _0x553875;this['_disposeChartChangeListeners'](_0x5ea175),this[_0x452f5b(0x3a5)](_0x5ea175),this[_0x452f5b(0x45c)][_0x452f5b(0x35a)](_0x5ea175),this['_deactivateDataUpdateAnimation'](_0x5ea175),this[_0x452f5b(0x1e1)][_0x452f5b(0x35a)](_0x5ea175),this[_0x452f5b(0x258)]['clearChart'](_0x5ea175),this[_0x452f5b(0x450)](_0x5ea175),this[_0x452f5b(0x25c)][_0x452f5b(0x223)](_0x5ea175),((_0x553875=this[_0x452f5b(0x2aa)][_0x452f5b(0x46e)])==null?void 0x0:_0x553875['id'])===_0x5ea175?this['_chartModelService'][_0x452f5b(0x1c8)](null):this[_0x452f5b(0x3ea)](_0x5ea175),this[_0x452f5b(0x3dd)](_0x5ea175);}));}['_rerenderLatest'](_0xb3c918){const _0x322a1d=_0x263333;let _0x2a6304=this['_lastRenderInputMap']['get'](_0xb3c918);_0x2a6304&&this[_0x322a1d(0x2e4)](_0xb3c918,_0x2a6304[_0x322a1d(0x219)],_0x2a6304[_0x322a1d(0x20b)]);}[_0x263333(0x309)](_0x48f235){const _0x4076ff=_0x263333;let _0x59e93c=this[_0x4076ff(0x406)][_0x4076ff(0x461)](_0x48f235);(_0x59e93c==null?void 0x0:_0x59e93c[_0x4076ff(0x208)])==='dom'&&(this[_0x4076ff(0x3a5)](_0x48f235),_0x59e93c[_0x4076ff(0x2ce)](),this['_chartInstanceMap'][_0x4076ff(0x35a)](_0x48f235)),this[_0x4076ff(0x25c)]['markHostNotReady'](_0x48f235),this[_0x4076ff(0x25c)]['removeHost'](_0x48f235);}[_0x263333(0x3dd)](_0x188863){const _0x167669=_0x263333;let _0x5519fb=this[_0x167669(0x406)][_0x167669(0x461)](_0x188863);_0x5519fb&&(this[_0x167669(0x3a5)](_0x188863),_0x5519fb[_0x167669(0x2ce)](),this[_0x167669(0x406)][_0x167669(0x35a)](_0x188863)),this[_0x167669(0x25c)][_0x167669(0x223)](_0x188863),this['_chartHostProvider'][_0x167669(0x292)](_0x188863);}[_0x263333(0x450)](_0xadb38f){const _0x663e5a=_0x263333;var _0x15bf5d,_0x5120ae;(_0x15bf5d=this[_0x663e5a(0x40f)][_0x663e5a(0x1ea)](_0x422b0d))==null||(_0x5120ae=_0x15bf5d[_0x663e5a(0x384)])==null||_0x5120ae[_0x663e5a(0x1cf)](_0x15bf5d,{'type':'remove','chartId':_0xadb38f});}[_0x263333(0x43b)](_0x34998a,_0x16e4a9){const _0x36b669=_0x263333;let _0x5568a6=this[_0x36b669(0x2c2)][_0x36b669(0x3d8)](_0x34998a,_0x16e4a9);Object[_0x36b669(0x256)](_0x5568a6??{})['forEach'](_0x34893c=>{const _0x5c321a=_0x36b669;if(_0x34893c[_0x5c321a(0x23d)]===_0x815b3e[_0x5c321a(0x2c4)]){var _0x434aea,_0xf74b76;(_0x434aea=this[_0x5c321a(0x40f)][_0x5c321a(0x1ea)](_0x422b0d))==null||(_0xf74b76=_0x434aea[_0x5c321a(0x384)])==null||_0xf74b76[_0x5c321a(0x1cf)](_0x434aea,{'type':_0x5c321a(0x35c),'chartId':_0x34893c[_0x5c321a(0x3ae)]});}});}['_getChartRenderObject'](_0x4e2a4e,_0x4793d4){const _0xc3a505=_0x263333;var _0x2a58a7;return((_0x2a58a7=_0x4e2a4e[_0xc3a505(0x425)])==null?void 0x0:_0x2a58a7[_0xc3a505(0x1cf)](_0x4e2a4e,_0x4793d4))??_0x4e2a4e[_0xc3a505(0x39c)](_0x4793d4)??null;}[_0x263333(0x2cc)](_0xbef9ed){const _0x7c95cb=_0x263333;var _0x334d52;let _0x29567b=this[_0x7c95cb(0x226)][_0x7c95cb(0x2f6)](_0xbef9ed);if(!_0x29567b)return null;let _0xb08c57=(_0x334d52=this[_0x7c95cb(0x317)]['getRenderUnitById'](_0x29567b[_0x7c95cb(0x47d)]))==null?void 0x0:_0x334d52[_0x7c95cb(0x445)];if(!_0xb08c57)return null;let _0xb09e3b=this[_0x7c95cb(0x22f)](_0xb08c57,_0xa5d21({'unitId':_0x29567b['unitId'],'subUnitId':_0x29567b[_0x7c95cb(0x29a)],'drawingId':_0xbef9ed}));return _0xb09e3b?{'info':_0x29567b,'scene':_0xb08c57,'chartObject':_0xb09e3b}:null;}[_0x263333(0x267)](_0x360978,_0x56b22d){const _0x348cde=_0x263333;var _0x3f3c9e,_0xf047c0,_0x42b7f0,_0xb8bea3;let _0x1c7278=this[_0x348cde(0x2cc)](_0x360978);_0x1c7278&&((_0x3f3c9e=(_0xf047c0=_0x1c7278[_0x348cde(0x39d)])[_0x348cde(0x1c1)])==null||_0x3f3c9e[_0x348cde(0x1cf)](_0xf047c0,{'zIndex':_0x56b22d}),(_0x42b7f0=(_0xb8bea3=_0x1c7278[_0x348cde(0x39d)])[_0x348cde(0x1fa)])==null||_0x42b7f0[_0x348cde(0x1cf)](_0xb8bea3,!0x0),_0x1c7278[_0x348cde(0x445)][_0x348cde(0x1fa)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0x424c3e){const _0x39884f=_0x263333;let _0x239658=this[_0x39884f(0x226)]['getFloatDomInfo'](_0x424c3e);if(!_0x239658)return;let _0x3a2274=this[_0x39884f(0x2c2)][_0x39884f(0x346)](_0x239658['unitId'],_0x239658[_0x39884f(0x29a)]);this['_setChartRuntimeZIndex'](_0x424c3e,_0x3a2274[_0x39884f(0x1e0)]);}[_0x263333(0x3ea)](_0x57b0a0){const _0x17637b=_0x263333;let _0x3c50c7=this[_0x17637b(0x226)][_0x17637b(0x2f6)](_0x57b0a0);if(!_0x3c50c7)return;let _0x38328e=this['_drawingManagerService'][_0x17637b(0x346)](_0x3c50c7[_0x17637b(0x47d)],_0x3c50c7[_0x17637b(0x29a)]),_0xc2bff=_0x38328e['indexOf'](_0x57b0a0);this['_setChartRuntimeZIndex'](_0x57b0a0,_0xc2bff===-0x1?Math[_0x17637b(0x486)](_0x38328e[_0x17637b(0x1e0)]-0x1,0x0):_0xc2bff);}[_0x263333(0x3b6)](_0x3bc8f4,_0xf3cf6e){const _0x5c5930=_0x263333;let _0x380c97=this[_0x5c5930(0x226)]['getFloatDomInfo'](_0x3bc8f4);if(_0xf3cf6e[_0x5c5930(0x33e)]!==void 0x0&&_0xf3cf6e[_0x5c5930(0x356)]!==void 0x0&&_0x380c97){var _0x578c37;let {subUnitId:_0x2d36de}=_0x380c97,_0x2c9964=(_0x578c37=this[_0x5c5930(0x305)][_0x5c5930(0x366)](_0x1ed8d9[_0x5c5930(0x2d4)]))==null?void 0x0:_0x578c37[_0x5c5930(0x1a2)]();if((_0x2c9964==null?void 0x0:_0x2c9964[_0x5c5930(0x3d2)]())===_0x2d36de){let {width:_0x1ea736,height:_0x425035}=_0xf3cf6e,_0x57f71e=this[_0x5c5930(0x2aa)][_0x5c5930(0x216)](_0x3bc8f4),_0x456094=_0x57f71e==null?void 0x0:_0x57f71e[_0x5c5930(0x20b)];(Math[_0x5c5930(0x20d)](_0x1ea736-((_0x456094==null?void 0x0:_0x456094['width'])||0x0))>0x1||Math['abs'](_0x425035-((_0x456094==null?void 0x0:_0x456094[_0x5c5930(0x356)])||0x0))>0x1)&&(_0x57f71e==null||_0x57f71e[_0x5c5930(0x26c)]({..._0x456094,'width':_0x1ea736,'height':_0x425035}));}}}[_0x263333(0x24f)](_0x3305b2,_0x4f3a52,_0xc34df4=0x0){const _0x31ac05=_0x263333;let _0x841617=this['_debounceHandleMap']['get'](_0x3305b2);_0x841617||(_0x841617=_0x379334(_0x1261c0=>{const _0x2cadd7=_0x2930;this[_0x2cadd7(0x3b6)](_0x3305b2,_0x1261c0);},_0xc34df4),this[_0x31ac05(0x321)]['set'](_0x3305b2,_0x841617)),_0x841617(_0x4f3a52);}[_0x263333(0x3c8)](){const _0x155327=_0x263333;let _0x21bb65=this[_0x155327(0x39e)],_0x29e226=_0x450c00=>{const _0x36f920=_0x155327;if(!_0x21bb65['has'](_0x450c00)){let _0x85fd11=_0x379334((_0x5e2f93,_0x5f4fcd,_0x11ab86,_0x34bcc0)=>{const _0x170f32=_0x2930;var _0x4e8dec,_0xfdbdc3;if(!_0x11ab86)return;(_0x4e8dec=_0x11ab86['category'])==null||_0x4e8dec[_0x170f32(0x2c8)]['forEach']((_0x4a8c5a,_0x45efc7)=>{const _0x8898af=_0x170f32;_0x4a8c5a[_0x8898af(0x263)]||=this[_0x8898af(0x1cc)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x45efc7+0x1);}),_0x11ab86[_0x170f32(0x446)][_0x170f32(0x3b0)]((_0x273e6f,_0x3fe187)=>{const _0x10f1ed=_0x170f32;_0x273e6f['name']||=this[_0x10f1ed(0x1cc)]['t'](_0x10f1ed(0x380))+'\x20'+(_0x3fe187+0x1);});let _0xfb2c00=this['createRuntimeChartStyle'](_0x5e2f93,_0x34bcc0),_0x321eff=(_0xfdbdc3=this['_univerInstanceService'][_0x170f32(0x366)](_0x1ed8d9[_0x170f32(0x2d4)]))==null?void 0x0:_0xfdbdc3['getActiveSheet']();(_0x321eff==null?void 0x0:_0x321eff['getSheetId']())===_0x5f4fcd&&this[_0x170f32(0x2e4)](_0x5e2f93['id'],_0x11ab86,_0xfb2c00);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x21bb65['set'](_0x450c00,_0x85fd11);}return _0x21bb65[_0x36f920(0x461)](_0x450c00);};this[_0x155327(0x2a9)](this['_univerInstanceService'][_0x155327(0x3db)]['subscribe'](_0x11771c=>{const _0xbfd806=_0x155327;let _0x2301a9=this[_0xbfd806(0x305)][_0xbfd806(0x366)](_0x1ed8d9[_0xbfd806(0x2d4)]);if(_0x11771c&&_0x2301a9&&_0x2301a9[_0xbfd806(0x3c9)]()===_0x11771c){var _0x3f4c74;let _0x302610=_0x2301a9[_0xbfd806(0x1a2)]()[_0xbfd806(0x3d2)]();this[_0xbfd806(0x31b)]&&(this[_0xbfd806(0x31b)][_0xbfd806(0x47d)]!==_0x11771c||this[_0xbfd806(0x31b)][_0xbfd806(0x29a)]!==_0x302610)&&this[_0xbfd806(0x43b)](this[_0xbfd806(0x31b)][_0xbfd806(0x47d)],this[_0xbfd806(0x31b)][_0xbfd806(0x29a)]),this['_lastActiveSheet']={'unitId':_0x11771c,'subUnitId':_0x302610};let _0x4becf2=this[_0xbfd806(0x2c2)][_0xbfd806(0x3d8)](_0x11771c,_0x302610);if(!((_0x3f4c74=this[_0xbfd806(0x317)]['getRenderUnitById'](_0x11771c))!=null&&_0x3f4c74['with'](_0x4684cd)[_0xbfd806(0x38a)](_0x302610)))return;if(_0x4becf2)for(let _0x17f2dd in _0x4becf2){let {drawingId:_0x158c5a}=_0x4becf2[_0x17f2dd],_0x1ab5b0=this[_0xbfd806(0x2aa)][_0xbfd806(0x216)](_0x158c5a);_0x1ab5b0&&_0x29e226(_0x1ab5b0['id'])(_0x1ab5b0,_0x302610,_0x1ab5b0[_0xbfd806(0x219)],this[_0xbfd806(0x1cc)][_0xbfd806(0x397)]());}}})),this[_0x155327(0x2a9)](this[_0x155327(0x310)]['darkMode$'][_0x155327(0x312)](()=>{const _0x2d317c=_0x155327;var _0xc3cf8d;let _0x4f5c5f=this[_0x2d317c(0x305)][_0x2d317c(0x366)](_0x1ed8d9[_0x2d317c(0x2d4)]);if(!_0x4f5c5f)return;let _0x1a8b62=_0x4f5c5f[_0x2d317c(0x3c9)](),_0x292f80=_0x4f5c5f[_0x2d317c(0x1a2)]()[_0x2d317c(0x3d2)](),_0x1c1f2c=this['_drawingManagerService'][_0x2d317c(0x3d8)](_0x1a8b62,_0x292f80);if((_0xc3cf8d=this[_0x2d317c(0x317)][_0x2d317c(0x395)](_0x1a8b62))!=null&&_0xc3cf8d[_0x2d317c(0x376)](_0x4684cd)[_0x2d317c(0x38a)](_0x292f80)&&_0x1c1f2c)for(let _0x26d1bd in _0x1c1f2c){let {drawingId:_0x1b0c74}=_0x1c1f2c[_0x26d1bd],_0x2c5bad=this[_0x2d317c(0x2aa)]['getChartModel'](_0x1b0c74);_0x2c5bad&&_0x29e226(_0x2c5bad['id'])(_0x2c5bad,_0x292f80,_0x2c5bad['config'],this[_0x2d317c(0x1cc)][_0x2d317c(0x397)]());}})),this[_0x155327(0x2a9)](this['_drawingManagerService'][_0x155327(0x393)][_0x155327(0x312)](_0x416253=>{const _0x434072=_0x155327;_0x416253[_0x434072(0x3b0)](_0x2e2ba7=>{const _0x7aba46=_0x434072;var _0x28594f;let {drawingId:_0xb0cbdb,unitId:_0x3a6074,subUnitId:_0x10f81a}=_0x2e2ba7,_0x43a0e3=this[_0x7aba46(0x317)][_0x7aba46(0x395)](_0x3a6074);if((_0x43a0e3==null?void 0x0:_0x43a0e3[_0x7aba46(0x272)])!==_0x1ed8d9[_0x7aba46(0x2d4)]||!_0x43a0e3['with'](_0x4684cd)[_0x7aba46(0x38a)](_0x10f81a))return;let {drawingType:_0x4c5c2f}=this['_drawingManagerService']['getDrawingByParam'](_0x2e2ba7);if(_0x4c5c2f!==_0x815b3e[_0x7aba46(0x2c4)])return;let _0x1a5ad6=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xb0cbdb);this[_0x7aba46(0x240)](_0xb0cbdb);let _0x52f741=new _0x3a35f7();this['_chartChangeSubscriptions'][_0x7aba46(0x2a3)](_0xb0cbdb,_0x52f741);let _0x222851=(_0x1a5ad6==null?void 0x0:_0x1a5ad6[_0x7aba46(0x1b5)])??_0xb0cbdb,_0xfd9cd1=_0x1a5ad6==null?void 0x0:_0x1a5ad6[_0x7aba46(0x266)],_0x448e9d=(_0x28594f=this['_renderManagerService'][_0x7aba46(0x395)](_0x3a6074))==null?void 0x0:_0x28594f[_0x7aba46(0x445)];if(_0xfd9cd1){let _0x5b5224=new Xr(_0xfd9cd1,async _0x1e6ca5=>{const _0x96a30c=_0x7aba46;var _0x49d7bb;let _0x13fc0f=this['_univerInstanceService']['getCurrentUnitOfType'](_0x1ed8d9[_0x96a30c(0x2d4)]);if((_0x13fc0f==null?void 0x0:_0x13fc0f[_0x96a30c(0x3c9)]())===_0x3a6074&&((_0x49d7bb=_0x13fc0f[_0x96a30c(0x1a2)]())==null?void 0x0:_0x49d7bb[_0x96a30c(0x3d2)]())===_0x10f81a&&(this[_0x96a30c(0x25c)][_0x96a30c(0x3be)](_0xb0cbdb),_0x1e6ca5)){let {width:_0x23500d,height:_0x266c3f}=_0xfd9cd1;this[_0x96a30c(0x24f)](_0xb0cbdb,{'width':_0x23500d,'height':_0x266c3f},0x64);let _0x23ddee=this[_0x96a30c(0x2aa)]['getChartModel'](_0xb0cbdb);_0x23ddee!=null&&_0x23ddee[_0x96a30c(0x219)]&&await this['render'](_0xb0cbdb,_0x23ddee['config'],this[_0x96a30c(0x416)](_0x23ddee,this[_0x96a30c(0x1cc)][_0x96a30c(0x397)]()));}});_0x52f741[_0x7aba46(0x2a9)](_0x5b5224),_0x52f741['disposeWithMe'](this[_0x7aba46(0x305)][_0x7aba46(0x3db)][_0x7aba46(0x312)](()=>_0x5b5224[_0x7aba46(0x2bb)][_0x7aba46(0x323)]())),_0x448e9d&&_0x52f741[_0x7aba46(0x2a9)](_0x448e9d['getTransformerByCreate']()[_0x7aba46(0x3ed)][_0x7aba46(0x312)](({objects:_0x4e3b0a})=>{const _0x105821=_0x7aba46;if(_0x4e3b0a[_0x105821(0x255)](_0xfd9cd1[_0x105821(0x414)])){var _0x2a4062;_0x5b5224[_0x105821(0x2bb)]['flush'](),(_0x2a4062=this[_0x105821(0x321)][_0x105821(0x461)](_0xb0cbdb))==null||_0x2a4062[_0x105821(0x449)](),this['_resizeChart'](_0xb0cbdb,{'width':_0xfd9cd1[_0x105821(0x33e)],'height':_0xfd9cd1[_0x105821(0x356)]});}}));}_0x448e9d&&_0x52f741[_0x7aba46(0x2a9)](_0x448e9d[_0x7aba46(0x19f)][_0x7aba46(0x41e)](_0x10b676=>{const _0x2ba142=_0x7aba46;var _0x18d3b7;_0x10b676[_0x2ba142(0x272)]===_0x12d3fe[_0x2ba142(0x1e6)]&&(_0x18d3b7=document[_0x2ba142(0x28c)](_0x222851))!=null&&_0x18d3b7[_0x2ba142(0x353)](_0x2ba142(0x497))&&this['_chartHostProvider']['syncHostLayout'](_0xb0cbdb);}));let _0x396f4a=this['_chartModelService'][_0x7aba46(0x216)](_0xb0cbdb);_0x396f4a&&_0x52f741[_0x7aba46(0x2a9)](_0x52c64d([_0x396f4a[_0x7aba46(0x498)],_0x396f4a[_0x7aba46(0x1be)],this[_0x7aba46(0x1cc)][_0x7aba46(0x3c3)]])['subscribe'](([_0x40f684,_0x247a69,_0x55b3ab])=>{_0x29e226(_0x396f4a['id'])(_0x396f4a,_0x10f81a,_0x40f684,_0x55b3ab);}));});})),this[_0x155327(0x2a9)](_0x52c64d([this[_0x155327(0x2c2)][_0x155327(0x3d3)]])[_0x155327(0x312)](([_0x2e42d6])=>{const _0x2fd846=_0x155327;_0x2e42d6[_0x2fd846(0x3b0)](_0x28d770=>{const _0x4656ac=_0x2fd846;var _0x5a5687;let {drawingId:_0x3a701f}=_0x28d770;this[_0x4656ac(0x240)](_0x3a701f),((_0x5a5687=this[_0x4656ac(0x2aa)]['activeChartModel'])==null?void 0x0:_0x5a5687['id'])===_0x3a701f&&this[_0x4656ac(0x2aa)][_0x4656ac(0x1c8)](null),this[_0x4656ac(0x3a5)](_0x3a701f),this[_0x4656ac(0x25c)]['markHostNotReady'](_0x3a701f),this[_0x4656ac(0x3ea)](_0x3a701f),this[_0x4656ac(0x3dd)](_0x3a701f),this['_chartSnapshotStoreService'][_0x4656ac(0x2b5)](_0x3a701f),this['_notifyChartRemoved'](_0x3a701f),this[_0x4656ac(0x1e1)]['delete'](_0x3a701f),this[_0x4656ac(0x3fd)][_0x4656ac(0x35a)](_0x3a701f);});}));}['setElementEditMode'](_0x1f5d3c,_0x30adac){const _0x12c372=_0x263333;var _0x2269a8;_0x30adac?this['_chartElementEditMode'][_0x12c372(0x2a3)](_0x1f5d3c,!0x0):this['_chartElementEditMode'][_0x12c372(0x35a)](_0x1f5d3c),(_0x2269a8=this[_0x12c372(0x406)]['get'](_0x1f5d3c))==null||_0x2269a8[_0x12c372(0x1a7)](_0x30adac);}async[_0x263333(0x487)](_0x4a6e22,_0x1a75e1){const _0x23a52d=_0x263333;var _0x579473;let _0x289966=this[_0x23a52d(0x1e1)]['get'](_0x4a6e22),_0x5d3b0a=(_0x579473=this['_sheetCanvasFloatDomManagerService'][_0x23a52d(0x2f6)](_0x4a6e22))==null?void 0x0:_0x579473[_0x23a52d(0x266)];if(_0x289966&&_0x5d3b0a)return(await this[_0x23a52d(0x40f)][_0x23a52d(0x487)]({'chartId':_0x4a6e22,'config':_0x289966[_0x23a52d(0x219)],'style':_0x289966[_0x23a52d(0x20b)],'width':_0x5d3b0a[_0x23a52d(0x33e)],'height':_0x5d3b0a[_0x23a52d(0x356)]},_0x1a75e1))[_0x23a52d(0x2af)];if((_0x1a75e1==null?void 0x0:_0x1a75e1[_0x23a52d(0x453)])===_0x2d7094[_0x23a52d(0x48b)])return;let _0x82e021=this[_0x23a52d(0x1bf)](_0x4a6e22);return _0x82e021?_0x5f003f(_0x82e021):void 0x0;}['on'](_0x4bfc40,_0x4c898e,_0x532822){const _0x1769bc=_0x263333;let _0x3bd2e6=this['_chartEventHandlers'][_0x1769bc(0x461)](_0x4bfc40);_0x3bd2e6||(_0x3bd2e6=new Map(),this[_0x1769bc(0x45c)][_0x1769bc(0x2a3)](_0x4bfc40,_0x3bd2e6));let _0x1a52f1=_0x3bd2e6[_0x1769bc(0x461)](_0x4c898e);_0x1a52f1||(_0x1a52f1=new Set(),_0x3bd2e6['set'](_0x4c898e,_0x1a52f1)),_0x1a52f1[_0x1769bc(0x2bd)](_0x532822);let _0x2e95e7=this[_0x1769bc(0x406)][_0x1769bc(0x461)](_0x4bfc40);return _0x2e95e7&&this[_0x1769bc(0x3b1)](_0x4bfc40,_0x2e95e7,_0x4c898e,_0x532822),{'dispose':()=>{const _0x3c20c1=_0x1769bc;var _0x418287;(_0x418287=this[_0x3c20c1(0x45c)][_0x3c20c1(0x461)](_0x4bfc40))==null||(_0x418287=_0x418287[_0x3c20c1(0x461)](_0x4c898e))==null||_0x418287['delete'](_0x532822),this[_0x3c20c1(0x32c)](_0x4bfc40,_0x4c898e,_0x532822);}};}['_getCurrentSnapshotImage'](_0x49b708){const _0x41444c=_0x263333;let _0x2d80d6=this[_0x41444c(0x305)][_0x41444c(0x366)](_0x1ed8d9[_0x41444c(0x2d4)]),_0x5c050f=_0x2d80d6==null?void 0x0:_0x2d80d6[_0x41444c(0x1a2)](),_0x457c72=_0x2d80d6==null?void 0x0:_0x2d80d6[_0x41444c(0x3c9)](),_0x3c7f38=_0x5c050f==null?void 0x0:_0x5c050f[_0x41444c(0x3d2)]();if(_0x457c72&&_0x3c7f38)return this['_chartSnapshotStoreService'][_0x41444c(0x1a0)]({'unitId':_0x457c72,'subUnitId':_0x3c7f38,'chartId':_0x49b708});}[_0x263333(0x1b6)](_0x22712c,_0x5dd3af){const _0x12100e=_0x263333;let _0x599133=this[_0x12100e(0x45c)][_0x12100e(0x461)](_0x22712c);_0x599133&&_0x599133[_0x12100e(0x3b0)]((_0x15d987,_0x9343f7)=>{const _0x150818=_0x12100e;_0x15d987[_0x150818(0x3b0)](_0x951c23=>this[_0x150818(0x3b1)](_0x22712c,_0x5dd3af,_0x9343f7,_0x951c23));});}[_0x263333(0x3b1)](_0xc498be,_0x3127aa,_0x40b7b1,_0x2d9433){const _0x4ca6d9=_0x263333;let _0x2138a1=this[_0x4ca6d9(0x20a)][_0x4ca6d9(0x461)](_0xc498be);_0x2138a1||(_0x2138a1=new Map(),this[_0x4ca6d9(0x20a)][_0x4ca6d9(0x2a3)](_0xc498be,_0x2138a1));let _0x37955e=_0x2138a1['get'](_0x40b7b1);_0x37955e||(_0x37955e=new Map(),_0x2138a1[_0x4ca6d9(0x2a3)](_0x40b7b1,_0x37955e)),!_0x37955e[_0x4ca6d9(0x255)](_0x2d9433)&&_0x37955e[_0x4ca6d9(0x2a3)](_0x2d9433,_0x3127aa['on'](_0x40b7b1,_0x2d9433));}[_0x263333(0x32c)](_0x21d444,_0x2e3462,_0x362180){const _0xf5d4ac=_0x263333;var _0x5af966,_0x383090;let _0x32b028=(_0x5af966=this[_0xf5d4ac(0x20a)][_0xf5d4ac(0x461)](_0x21d444))==null?void 0x0:_0x5af966[_0xf5d4ac(0x461)](_0x2e3462);_0x32b028==null||(_0x383090=_0x32b028[_0xf5d4ac(0x461)](_0x362180))==null||_0x383090[_0xf5d4ac(0x2ce)](),_0x32b028==null||_0x32b028['delete'](_0x362180);}[_0x263333(0x3a5)](_0x2122a1){const _0x4df625=_0x263333;let _0x130d66=this[_0x4df625(0x20a)][_0x4df625(0x461)](_0x2122a1);_0x130d66==null||_0x130d66[_0x4df625(0x3b0)](_0x42345e=>{const _0x438812=_0x4df625;_0x42345e['forEach'](_0x332b41=>_0x332b41[_0x438812(0x2ce)]()),_0x42345e[_0x438812(0x412)]();}),this['_chartEventSubscriptions']['delete'](_0x2122a1);}[_0x263333(0x416)](_0x5b25e7,_0x39d7dd){const _0x9f1b02=_0x263333;return gi(_0x5b25e7,_0x39d7dd,this[_0x9f1b02(0x44f)]);}[_0x263333(0x29e)](_0x369b66){return this['_getChartRenderSkipReason'](_0x369b66)==null;}[_0x263333(0x204)](_0x48c268){const _0xb72627=_0x263333;var _0x10d03b;let _0xcd3eb1=this['_sheetCanvasFloatDomManagerService'][_0xb72627(0x2f6)](_0x48c268);if(!_0xcd3eb1)return _0xb72627(0x481);let {subUnitId:_0x13d504}=_0xcd3eb1,_0x1dc74c=(_0x10d03b=this['_univerInstanceService'][_0xb72627(0x366)](_0x1ed8d9[_0xb72627(0x2d4)]))==null?void 0x0:_0x10d03b[_0xb72627(0x1a2)]();if(!_0x1dc74c)return _0xb72627(0x358);if(_0x1dc74c['getSheetId']()!==_0x13d504)return _0xb72627(0x36d);}async['render'](_0x47356b,_0x287a2d,_0x169086,_0x42eae7={}){const _0x5ef487=_0x263333;let _0x204156=this[_0x5ef487(0x40f)][_0x5ef487(0x1ea)](_0x422b0d);if(!_0x204156)return;let _0x2e14c7=this[_0x5ef487(0x1e1)][_0x5ef487(0x461)](_0x47356b);if(this['_lastRenderInputMap'][_0x5ef487(0x2a3)](_0x47356b,{'config':_0x287a2d,'style':_0x169086}),this[_0x5ef487(0x204)](_0x47356b))return;let {canAnimate:_0x2b8b03,renderMode:_0x4ec166,shouldStartTransientAnimation:_0x2232b1,transientAnimationActive:_0x405e42}=this[_0x5ef487(0x3aa)](_0x47356b,_0x2e14c7!=null,_0x42eae7[_0x5ef487(0x3c1)]===!0x0);if(_0x4ec166===_0xe3c0fe[_0x5ef487(0x39b)])this[_0x5ef487(0x309)](_0x47356b);else{var _0x58d168;this[_0x5ef487(0x25c)][_0x5ef487(0x26f)](_0x47356b),((_0x58d168=this['_chartModelService'][_0x5ef487(0x46e)])==null?void 0x0:_0x58d168['id'])===_0x47356b&&this[_0x5ef487(0x438)](_0x47356b);}let _0x30c098=_0x4ec166===_0xe3c0fe[_0x5ef487(0x39b)]?_0xe3c0fe['Image']:_0xe3c0fe[_0x5ef487(0x2cb)],_0xb6893e=await this[_0x5ef487(0x25c)]['ensureHost'](_0x47356b,_0x30c098);if(!_0xb6893e){_0x2232b1&&this['_deactivateDataUpdateAnimation'](_0x47356b);return;}this[_0x5ef487(0x25c)]['setDataUpdateAnimation'](_0x47356b,_0x405e42?_0x7748e2:null);let _0x35477e=this[_0x5ef487(0x1fb)](_0x47356b,_0x30c098,_0x204156);_0x35477e[_0x5ef487(0x29b)](_0xb6893e);try{let _0x45a0d0={'chartId':_0x47356b,'config':_0x287a2d,'style':_0x169086};_0x2b8b03&&_0x2e14c7&&_0x35477e[_0x5ef487(0x329)]?await _0x35477e[_0x5ef487(0x329)]({'chartId':_0x47356b,'config':_0x2e14c7[_0x5ef487(0x219)],'style':_0x2e14c7[_0x5ef487(0x20b)]},_0x45a0d0,{'duration':_0x7748e2}):await _0x35477e[_0x5ef487(0x2e4)](_0x45a0d0),await this[_0x5ef487(0x371)](_0x47356b,_0x4ec166,_0x35477e),_0x2b8b03&&_0x405e42&&this[_0x5ef487(0x28a)](_0x47356b);}catch(_0x12caed){if(_0x2232b1&&this[_0x5ef487(0x3b3)](_0x47356b),_0x4ec166!==_0xe3c0fe[_0x5ef487(0x39b)])throw _0x12caed;}}async[_0x263333(0x371)](_0x31a452,_0x5d3c27,_0x5d165c){const _0x2601c7=_0x263333;var _0x23cab9;if(_0x5d3c27!==_0xe3c0fe[_0x2601c7(0x2cb)]||((_0x23cab9=this['_chartModelService'][_0x2601c7(0x46e)])==null?void 0x0:_0x23cab9['id'])!==_0x31a452)return;let _0x457f6f=await this['_chartHostProvider'][_0x2601c7(0x27b)](_0x31a452,_0xe3c0fe[_0x2601c7(0x39b)]);if(!_0x457f6f)return;let _0x2ec4ef=_0x457f6f[_0x2601c7(0x252)]();try{let _0x3a4bfe=await _0x5d165c[_0x2601c7(0x234)]();_0x3a4bfe&&_0x457f6f['commitSnapshot']({'type':_0x151a03[_0x2601c7(0x307)],'url':_0x3a4bfe},_0x2ec4ef)&&_0x457f6f['requestPaint']();}catch{}}[_0x263333(0x3aa)](_0x7b5757,_0x4bc4fb,_0x2f450b){const _0x26caf8=_0x263333;let _0x30b535=this[_0x26caf8(0x237)](_0x7b5757),_0x48e6f7=_0x30b535===_0xe3c0fe[_0x26caf8(0x2cb)]&&_0x2f450b&&_0x4bc4fb&&this['_canAnimateDataUpdate'](_0x7b5757),_0xa617c6=this[_0x26caf8(0x1b0)]['has'](_0x7b5757);return{'canAnimate':_0x48e6f7,'renderMode':_0xa617c6?_0xe3c0fe[_0x26caf8(0x2cb)]:_0x30b535,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xa617c6};}[_0x263333(0x475)](_0x3c3a19){const _0xfe2adc=_0x263333;var _0x3c3edc,_0xd9eea1,_0x595cc0,_0x4d73f7;if(typeof document>'u'||typeof window>'u'||document[_0xfe2adc(0x1e3)]==='hidden'||(_0x3c3edc=(_0xd9eea1=window)[_0xfe2adc(0x2ae)])!=null&&(_0x3c3edc=_0x3c3edc[_0xfe2adc(0x1cf)](_0xd9eea1,_0xfe2adc(0x22a)))!=null&&_0x3c3edc[_0xfe2adc(0x45b)]||(_0x595cc0=(_0x4d73f7=window)[_0xfe2adc(0x2ae)])!=null&&(_0x595cc0=_0x595cc0['call'](_0x4d73f7,_0xfe2adc(0x388)))!=null&&_0x595cc0[_0xfe2adc(0x45b)])return!0x1;let _0xb0b27b=this['_chartHostProvider'][_0xfe2adc(0x3e0)](_0x3c3a19);return _0xb0b27b!=null&&_0xb0b27b[_0xfe2adc(0x33e)]>0x0&&_0xb0b27b['height']>0x0&&_0xb0b27b[_0xfe2adc(0x214)]>0x0&&_0xb0b27b['bottom']>0x0&&_0xb0b27b['left']<window[_0xfe2adc(0x331)]&&_0xb0b27b[_0xfe2adc(0x250)]<window['innerHeight'];}['_activateDataUpdateAnimation'](_0x456e13){const _0x512aee=_0x263333;let _0x5e7bcc=this[_0x512aee(0x328)]['get'](_0x456e13);_0x5e7bcc&&(clearTimeout(_0x5e7bcc),this['_dataUpdateAnimationTimers']['delete'](_0x456e13)),this[_0x512aee(0x1b0)][_0x512aee(0x2bd)](_0x456e13),this[_0x512aee(0x25c)][_0x512aee(0x2b0)](_0x456e13,_0x7748e2);}['_scheduleDataUpdateAnimationEnd'](_0x4b90f5){const _0x176d88=_0x263333;let _0x528d8b=this[_0x176d88(0x328)][_0x176d88(0x461)](_0x4b90f5);_0x528d8b&&clearTimeout(_0x528d8b);let _0x41ab32=setTimeout(()=>{const _0x5965d3=_0x176d88;this[_0x5965d3(0x328)][_0x5965d3(0x35a)](_0x4b90f5),this[_0x5965d3(0x1b0)][_0x5965d3(0x35a)](_0x4b90f5)&&(this[_0x5965d3(0x25c)][_0x5965d3(0x2b0)](_0x4b90f5,null),this[_0x5965d3(0x309)](_0x4b90f5),this[_0x5965d3(0x295)](_0x4b90f5));},_0x7748e2);this[_0x176d88(0x328)][_0x176d88(0x2a3)](_0x4b90f5,_0x41ab32);}[_0x263333(0x3b3)](_0x905946){const _0x67bdd2=_0x263333;let _0x476f00=this[_0x67bdd2(0x328)][_0x67bdd2(0x461)](_0x905946);_0x476f00&&(clearTimeout(_0x476f00),this['_dataUpdateAnimationTimers']['delete'](_0x905946)),this[_0x67bdd2(0x1b0)]['delete'](_0x905946),this[_0x67bdd2(0x25c)]['setDataUpdateAnimation'](_0x905946,null);}async[_0x263333(0x1f2)](_0x27a023,_0x44481e,_0x38a147){const _0x491a88=_0x263333;let _0x45222=this['_drawingManagerService'][_0x491a88(0x3d8)](_0x27a023,_0x44481e),_0x307b3c=this[_0x491a88(0x2c2)][_0x491a88(0x346)](_0x27a023,_0x44481e),_0x15f69a=Object[_0x491a88(0x256)](_0x45222??{})[_0x491a88(0x34d)](_0x57fed6=>_0x57fed6['drawingType']===_0x815b3e['DRAWING_CHART']&&_0x57fed6[_0x491a88(0x2ac)]!==!0x0);await Promise['allSettled'](_0x15f69a[_0x491a88(0x1dd)](async _0x5b9298=>{const _0x387c0f=_0x491a88;let _0x17e1c9=await this['_createPrintingChartObject'](_0x5b9298,_0x307b3c);_0x17e1c9&&(_0x38a147[_0x387c0f(0x426)](_0x17e1c9,_0xf9723f),_0x5b9298['groupId']&&_0x2961f6({'drawingId':_0x5b9298['groupId'],'unitId':_0x27a023,'subUnitId':_0x44481e},_0x17e1c9,_0x38a147,this['_drawingManagerService']));}));}async[_0x263333(0x25a)](_0xe2e2ae,_0x231a16){const _0x377086=_0x263333;let _0x28f536=this[_0x377086(0x2aa)][_0x377086(0x216)](_0xe2e2ae[_0x377086(0x3ae)]),_0x11d370=this[_0x377086(0x40f)]['getRenderModel'](_0x422b0d),_0x396ae5=_0xe2e2ae[_0x377086(0x471)],_0x3fdd90=_0x28f536==null?void 0x0:_0x28f536[_0x377086(0x219)];if(!_0x28f536||!_0x11d370||!_0x396ae5||!_0x3fdd90||_0x396ae5[_0x377086(0x33e)]==null||_0x396ae5[_0x377086(0x356)]==null)return null;let _0x8ebd8a=new hi(_0xe2e2ae['drawingId'],{'width':_0x396ae5[_0x377086(0x33e)],'height':_0x396ae5[_0x377086(0x356)]}),_0x3a0f40=_0x11d370[_0x377086(0x2d3)](_0xe3c0fe['Image'],this[_0x377086(0x48c)]());_0x3a0f40[_0x377086(0x29b)](_0x8ebd8a);let _0x434a71;try{await _0x3a0f40[_0x377086(0x2e4)]({'chartId':_0xe2e2ae[_0x377086(0x3ae)],'config':_0x3fdd90,'style':this[_0x377086(0x416)](_0x28f536,this[_0x377086(0x1cc)]['getDirection']())});}catch(_0x30572d){console['error']('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x30572d);}finally{_0x434a71=_0x8ebd8a[_0x377086(0x1d1)](),_0x3a0f40[_0x377086(0x2ce)](),_0x8ebd8a[_0x377086(0x2ce)]();}let _0x32df51=this[_0x377086(0x258)][_0x377086(0x1a0)]({'unitId':_0xe2e2ae[_0x377086(0x47d)],'subUnitId':_0xe2e2ae[_0x377086(0x29a)],'chartId':_0xe2e2ae[_0x377086(0x3ae)]}),_0x4b4a13=_0x434a71??_0x32df51;if(!_0x4b4a13)return null;let _0x136d03=_0x231a16['indexOf'](_0xe2e2ae[_0x377086(0x3ae)]);return new ei(_0xa5d21(_0xe2e2ae),{..._0x396ae5,..._0x471df9,...di(_0x8ebd8a['style']),'visible':!0x0,'zIndex':_0x136d03===-0x1?Math[_0x377086(0x486)](_0x231a16[_0x377086(0x1e0)]-0x1,0x0):_0x136d03},()=>_0x4b4a13,void 0x0,_0x434a71?()=>K(_0x434a71):void 0x0);}[_0x263333(0x1fb)](_0x276a2b,_0x470cf0,_0x516f7f){const _0x50e8cb=_0x263333;let _0xded465=this[_0x50e8cb(0x406)][_0x50e8cb(0x461)](_0x276a2b);if((_0xded465==null?void 0x0:_0xded465[_0x50e8cb(0x208)])===_0x470cf0)return _0xded465;_0xded465&&(this[_0x50e8cb(0x3a5)](_0x276a2b),_0xded465[_0x50e8cb(0x2ce)](),this[_0x50e8cb(0x406)][_0x50e8cb(0x35a)](_0x276a2b));let _0x123e0f=_0x516f7f[_0x50e8cb(0x2d3)](_0x470cf0,this['_createChartRenderInstanceContext']());return this[_0x50e8cb(0x406)]['set'](_0x276a2b,_0x123e0f),_0x123e0f[_0x50e8cb(0x1a7)](this['_chartElementEditMode'][_0x50e8cb(0x461)](_0x276a2b)===!0x0),this[_0x50e8cb(0x1b6)](_0x276a2b,_0x123e0f),_0x123e0f;}[_0x263333(0x48c)](){const _0x4f5bbe=_0x263333;return{'resolveHostStyle':({style:_0x5536ce})=>_0x24a11b({'style':_0x5536ce,'getRenderColor':_0x51bca0=>this['_chartThemeService'][_0x4f5bbe(0x2a8)](_0x51bca0)}),'resolveRenderBackgroundColor':({style:_0x4feb2e})=>this[_0x4f5bbe(0x21b)][_0x4f5bbe(0x2a8)](_0x5b18e2(_0x4feb2e))};}[_0x263333(0x240)](_0x19aad4){const _0x5484e2=_0x263333;var _0x38e973,_0x58a7af,_0x568346;(_0x38e973=this['_chartChangeSubscriptions'][_0x5484e2(0x461)](_0x19aad4))==null||_0x38e973['dispose'](),this[_0x5484e2(0x434)]['delete'](_0x19aad4),(_0x58a7af=this[_0x5484e2(0x39e)]['get'](_0x19aad4))==null||_0x58a7af['cancel'](),this[_0x5484e2(0x39e)][_0x5484e2(0x35a)](_0x19aad4),(_0x568346=this[_0x5484e2(0x321)][_0x5484e2(0x461)](_0x19aad4))==null||_0x568346['cancel'](),this[_0x5484e2(0x321)]['delete'](_0x19aad4);}[_0x263333(0x2c6)](){const _0x2101f5=_0x263333;this[_0x2101f5(0x39e)][_0x2101f5(0x3b0)](_0x1c7859=>_0x1c7859[_0x2101f5(0x449)]()),this[_0x2101f5(0x39e)][_0x2101f5(0x412)](),this[_0x2101f5(0x321)][_0x2101f5(0x3b0)](_0x9d12f=>_0x9d12f[_0x2101f5(0x449)]()),this[_0x2101f5(0x321)][_0x2101f5(0x412)]();}['dispose'](){const _0x5866de=_0x263333;this[_0x5866de(0x434)][_0x5866de(0x3b0)](_0x67107b=>_0x67107b[_0x5866de(0x2ce)]()),this[_0x5866de(0x434)][_0x5866de(0x412)](),this[_0x5866de(0x328)][_0x5866de(0x3b0)](_0x2ae44a=>clearTimeout(_0x2ae44a)),this[_0x5866de(0x328)][_0x5866de(0x412)](),this['_dataUpdateAnimationChartIds'][_0x5866de(0x412)](),Array[_0x5866de(0x437)](this[_0x5866de(0x406)]['keys']())[_0x5866de(0x3b0)](_0x5c3aff=>this[_0x5866de(0x3dd)](_0x5c3aff)),this[_0x5866de(0x45c)][_0x5866de(0x412)](),this[_0x5866de(0x3fd)][_0x5866de(0x412)](),this['_cancelDebouncedCallbacks'](),this[_0x5866de(0x1e1)][_0x5866de(0x412)](),this[_0x5866de(0x49a)]=null,this[_0x5866de(0x31b)]=null,super[_0x5866de(0x2ce)]();}};Y=J([q(0x0,pi),q(0x1,_0x5190dd(_0x1f911b)),q(0x2,_0x5190dd(_0x32f3e4)),q(0x3,_0x1e57fe),q(0x4,_0x2c5fcd),q(0x5,_0x5190dd(_0x170796)),q(0x6,_0x5190dd(_0x50e4d0)),q(0x7,_0x5190dd(_0x16b37d)),q(0x8,_0x5190dd(_0x4a5194)),q(0x9,_0x5190dd(_0x190011)),q(0xa,_0x11a50d),q(0xb,_0x5190dd(ii)),q(0xc,_0x43978c)],Y);const X=_0x24b5b8(_0x263333(0x276));let _i=class extends _0x68b44a{constructor(_0x6780bb,_0x369383,_0x2d2b67,_0x22e210,_0x21941e){const _0x1ad092=_0x263333;super(_0x21941e),this[_0x1ad092(0x2aa)]=_0x6780bb,this[_0x1ad092(0x3ad)]=_0x369383,this[_0x1ad092(0x2ad)]=_0x2d2b67,this['_univerInstanceService']=_0x22e210,G(this,'_rangeSelectMode',!0x1),G(this,_0x1ad092(0x270),new _0x4a0875(!0x1)),G(this,_0x1ad092(0x2ab),new _0x4a0875(null)),G(this,_0x1ad092(0x485),this['_chartEditorOpen$'][_0x1ad092(0x484)]()),G(this,'panelRoute$',this['_panelRoute$'][_0x1ad092(0x484)]());}get[_0x263333(0x1a8)](){const _0x3d10b1=_0x263333;return this[_0x3d10b1(0x2aa)][_0x3d10b1(0x46e)]??null;}get[_0x263333(0x2ea)](){const _0x21f8c0=_0x263333;return this[_0x21f8c0(0x270)][_0x21f8c0(0x227)]();}get[_0x263333(0x3a4)](){const _0x4b8d8b=_0x263333;return this[_0x4b8d8b(0x300)];}[_0x263333(0x22e)](_0x416f0a){this['_rangeSelectMode']=_0x416f0a;}[_0x263333(0x298)](_0x2240da){const _0x3749a1=_0x263333;this[_0x3749a1(0x270)][_0x3749a1(0x227)]()!==_0x2240da&&this[_0x3749a1(0x270)]['next'](_0x2240da);}[_0x263333(0x297)](_0x154987){const _0x49a58b=_0x263333;var _0x2bdfa8;return this[_0x49a58b(0x2ea)]&&((_0x2bdfa8=this[_0x49a58b(0x2aa)][_0x49a58b(0x46e)])==null?void 0x0:_0x2bdfa8['id'])===_0x154987;}[_0x263333(0x37e)](_0x51e328,_0x5f433b){const _0x2dc96b=_0x263333;this[_0x2dc96b(0x2ab)][_0x2dc96b(0x2ed)]({'chartId':_0x51e328,'route':_0x5f433b});}[_0x263333(0x42d)](){const _0x1bd16f=_0x263333;this[_0x1bd16f(0x2ab)]['next'](null);}[_0x263333(0x306)](_0x513831){const _0x4b6cca=_0x263333;let _0x262959=this[_0x4b6cca(0x2aa)]['activeChartModel'];_0x262959&&this[_0x4b6cca(0x408)]({'chartModelId':_0x262959['id'],'range':_0x513831});}[_0x263333(0x24e)](_0x3a603f){const _0x4cda27=_0x263333;let _0x3823e6=this[_0x4cda27(0x2aa)][_0x4cda27(0x46e)];if(!_0x3823e6)return;let _0x3bcff0=this[_0x4cda27(0x3ad)][_0x4cda27(0x24a)](_0x3823e6['id']);if(!_0x3bcff0||Array[_0x4cda27(0x30d)](_0x3bcff0))return;let _0xf6f014={..._0x3bcff0,'isRowDirection':_0x3a603f===_0x24d31d[_0x4cda27(0x301)]};this[_0x4cda27(0x408)]({'chartModelId':_0x3823e6['id'],'range':_0xf6f014});}[_0x263333(0x2b6)](_0x3e0496){const _0x23f64e=_0x263333;var _0x635a2b;this[_0x23f64e(0x2ad)]['executeCommand'](_0x47cbc8['id'],{..._0x3e0496,'unitId':((_0x635a2b=this[_0x23f64e(0x305)][_0x23f64e(0x439)]())==null?void 0x0:_0x635a2b['getUnitId']())??''});}[_0x263333(0x408)](_0x4b7e25){const _0x47a1ad=_0x263333;var _0x819e48;this[_0x47a1ad(0x2ad)]['executeCommand'](_0x5f3e75['id'],{..._0x4b7e25,'unitId':((_0x819e48=this[_0x47a1ad(0x305)][_0x47a1ad(0x439)]())==null?void 0x0:_0x819e48['getUnitId']())??''});}[_0x263333(0x2ce)](){const _0x496356=_0x263333;this[_0x496356(0x270)][_0x496356(0x3e7)](),this[_0x496356(0x2ab)][_0x496356(0x3e7)](),super[_0x496356(0x2ce)]();}};_i=J([q(0x0,_0x5190dd(_0x32f3e4)),q(0x1,_0x5190dd(_0x2787aa)),q(0x2,_0x63bada),q(0x3,_0x2c5fcd),q(0x4,_0x5190dd(_0x2b3d8a))],_i);var vi;const yi={'axis':{..._0x3f85ba,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x41f199,'heatmap':_0x50196b,'indicatorLine':_0x10d03e,'legend':_0x3d1221,'lineAndArea':_0x39e4e3,'pareto':_0x1341e6,'pie':_0x4436b4,'relation':{..._0x1a02cc,'useValueAsSymbolSize':!0x0},'radar':_0x821bc7,'series':{..._0x1d0a63,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((vi=_0x22475e['allSeriesStyle'])==null?void 0x0:vi[_0x263333(0x20f)])??!0x1}},'style':_0x2fb045,'titles':_0x27f7c1,'trendline':_0x30e56f,'waterfallStyle':_0x3da2a6,'wordCloud':_0x1a9cfc},bi=_0x78b51f=>_0x78b51f['getCurrentUnitOfType'](_0x1ed8d9[_0x263333(0x2d4)])[_0x263333(0x3c9)](),xi=_0x56bb5d=>{const _0x563139=_0x263333;var _0x485fb3;return(_0x485fb3=_0x56bb5d[_0x563139(0x366)](_0x1ed8d9['UNIVER_SHEET'])[_0x563139(0x1a2)]())==null?void 0x0:_0x485fb3[_0x563139(0x3d2)]();},Si=()=>{const _0x213639=_0x263333;var _0x4115ac;let _0x37d195=_0x554478(X),_0x217837=_0x554478(_0x32f3e4),_0xcd52d0=_0x554478(_0x50e4d0),_0x2afef9=_0x554478(_0x16b37d),_0x51e7ef=_0x15b8bc(_0x2afef9),_0x16c5b8=_0x10426f(()=>{const _0x9fb331=_0x2930;let _0x4c58ff=Fr(Nr[_0x9fb331(0x251)](),_0x51e7ef);return _0x51eb9b(_0x4c58ff[_0x9fb331(0x1dd)](_0xf331a6=>({'id':_0xf331a6['id'],'label':_0xcd52d0['t'](_0x9fb331(0x1da)+_0xf331a6['labelId']),'pieSecondaryPlotType':_0xf331a6[_0x9fb331(0x217)],'value':_0xf331a6[_0x9fb331(0x37f)]})));},[_0x51e7ef,_0xcd52d0]),_0x4de94a=_0x85eb5e(_0x217837[_0x213639(0x286)],_0x217837[_0x213639(0x46e)]),_0xa580da=_0x85eb5e(_0x4de94a==null?void 0x0:_0x4de94a[_0x213639(0x31d)],_0x4de94a==null?void 0x0:_0x4de94a[_0x213639(0x2d7)]),_0x2c27cb=_0x85eb5e(_0x4de94a==null?void 0x0:_0x4de94a[_0x213639(0x318)],_0x4de94a==null?void 0x0:_0x4de94a[_0x213639(0x423)]),_0x2466fa=_0x85eb5e(_0x2c27cb==null?void 0x0:_0x2c27cb['rangeInfo$'],_0x2c27cb==null?void 0x0:_0x2c27cb[_0x213639(0x3eb)]()),_0xfd5fd=Array['isArray'](_0x2466fa),_0x28463d=_0x2466fa&&!_0xfd5fd&&_0x2466fa[_0x213639(0x244)]?_0x24d31d[_0x213639(0x301)]:_0x24d31d['Column'],_0x332268=_0xfd5fd?(_0x4115ac=_0x2466fa[0x0])==null?void 0x0:_0x4115ac[_0x213639(0x444)]:_0x2466fa==null?void 0x0:_0x2466fa[_0x213639(0x1b3)];return _0x19292e(_0x213639(0x236),{'className':_0x213639(0x37a),'children':[_0x631d41(_0x4b0690,{'chartTypeOptions':_0x16c5b8,'dataSourceControl':_0x631d41(Ci,{'dataRange':_0x2466fa,'primaryRange':_0x332268}),'categoryToggleLabel':_0xcd52d0['t'](_0x213639(0x1ce),_0x28463d===_0x24d31d[_0x213639(0x301)]?_0x28463d+'\x20'+(((_0x332268==null?void 0x0:_0x332268['range'][_0x213639(0x326)])??0x0)+0x1):_0x28463d+'\x20'+_0x5cd14e((_0x332268==null?void 0x0:_0x332268['range'][_0x213639(0x22b)])??0x0)),'orientationControl':_0xfd5fd?void 0x0:_0x631d41(_0x586592,{'size':'small','onClick':()=>_0x37d195[_0x213639(0x24e)](_0x28463d===_0x24d31d[_0x213639(0x301)]?_0x24d31d[_0x213639(0x3a2)]:_0x24d31d[_0x213639(0x301)]),'children':_0xcd52d0['t'](_0x213639(0x2bc))})}),_0x631d41(_0x4f1660,{'checked':(_0xa580da==null?void 0x0:_0xa580da[_0x213639(0x3e2)])===!0x1,'disabled':!_0x4de94a,'onChange':_0x172d51=>{const _0x49b87e=_0x213639;_0x4de94a&&_0x37d195[_0x49b87e(0x2b6)]({'chartModelId':_0x4de94a['id'],'context':{'plotVisibleOnly':!_0x172d51}});},'children':_0xcd52d0['t'](_0x213639(0x46c))})]});};function Ci(_0x3222e3){const _0x5bba60=_0x263333;let {dataRange:_0x200b28,primaryRange:_0x337caf}=_0x3222e3,_0x271fd9=_0x554478(X),_0x250527=_0x554478(_0x50e4d0),_0x4fb5c8=_0x554478(_0x2c5fcd),_0x367371=_0x554478(_0x599068),[_0x18bbc2,_0x401ace]=_0x49f4f2(!0x1),[_0x23cbc4,_0x315a83]=_0x49f4f2(!0x1),[_0x3a32eb,_0x2f33ac]=_0x49f4f2(),_0x1801e0=bi(_0x4fb5c8),_0x35d0f1=xi(_0x4fb5c8),_0x5a802e=_0x200b28?jr(_0x200b28,_0x4fb5c8):'',_0x1a0db6=_0x5f5b39(_0x5a802e),_0xd576ee=_0x5f5b39(void 0x0),_0x12a6f6=_0x5f5b39(null);_0x1b4572(()=>{const _0x1e3bdb=_0x2930;_0x271fd9[_0x1e3bdb(0x22e)](_0x18bbc2),_0x367371[_0x1e3bdb(0x2f3)](_0x497031,_0x18bbc2);},[_0x367371,_0x18bbc2,_0x271fd9]),_0x1b4572(()=>()=>{const _0x1f3b9f=_0x2930;_0x271fd9[_0x1f3b9f(0x22e)](!0x1),_0x367371[_0x1f3b9f(0x2f3)](_0x497031,!0x1);},[_0x367371,_0x271fd9]);let _0xeeda6=_0x3abaaa(_0x4e97c0=>{const _0x388c7f=_0x2930;var _0x613932;if(jr(_0x200b28,_0x4fb5c8)===_0x4e97c0)return _0x2f33ac(void 0x0),!0x0;let _0xb37e7d=_0x4e97c0[_0x388c7f(0x290)](_0x466c09[_0x388c7f(0x3da)]);if(!_0x4e97c0[_0x388c7f(0x32e)]()||_0xb37e7d[_0x388c7f(0x1e0)]!==0x1||!((_0x613932=_0x12a6f6[_0x388c7f(0x48d)])!=null&&_0x613932[_0x388c7f(0x2fb)]()))return _0x2f33ac(_0x250527['t'](_0x388c7f(0x3e6))),!0x1;let {unitId:_0x569bf9,sheetName:_0x56df54,range:_0xf0e367}=_0x163e7d(_0xb37e7d[0x0]),_0x17b98b=_0x569bf9||_0x1801e0,_0x560acd=_0x4fb5c8['getUnit'](_0x17b98b),_0x248c5c=(_0x337caf==null?void 0x0:_0x337caf['unitId'])===_0x17b98b?_0x337caf[_0x388c7f(0x29a)]:_0x35d0f1,_0x385411=_0x56df54?_0x560acd==null?void 0x0:_0x560acd[_0x388c7f(0x308)](_0x56df54):_0x560acd==null?void 0x0:_0x560acd[_0x388c7f(0x43c)](_0x248c5c??'');return!_0x560acd||!_0x385411||!_0x7a1176(_0xf0e367,_0x385411)?(_0x2f33ac(_0x250527['t'](_0x388c7f(0x3e6))),!0x1):(_0x2f33ac(void 0x0),_0x271fd9[_0x388c7f(0x306)]({'rangeInfo':{'range':_0xf0e367,'unitId':_0x17b98b,'subUnitId':_0x385411[_0x388c7f(0x3d2)]()}}),!0x0);},[_0x200b28,_0x250527,_0x337caf,_0x271fd9,_0x35d0f1,_0x1801e0,_0x4fb5c8]),_0x12381f=_0x10426f(()=>({'keyCodes':[{'keyCode':_0x8f20a0['ENTER'],'nativeTextEditorBehavior':_0x591808[_0x5bba60(0x495)]}],'handler':_0x2a6bf9=>{const _0x26fdb6=_0x5bba60;_0x2a6bf9===_0x8f20a0[_0x26fdb6(0x3f2)]&&_0xeeda6(_0x1a0db6['current'])&&(_0xd576ee[_0x26fdb6(0x48d)]=_0x1a0db6[_0x26fdb6(0x48d)]);}}),[_0xeeda6]);return _0x631d41(_0x5bba60(0x236),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':_0x19292e(_0x5bba60(0x236),{'children':[_0x631d41(_0x14e42d,{'title':_0x250527['t']('sheets-chart-ui.common.dataRange')}),_0x631d41(_0x437239,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x1801e0,'subUnitId':_0x35d0f1,'initialValue':_0x5a802e,'keyboardEventConfig':_0x12381f,'selectorRef':_0x12a6f6,'onChange':(_0x3e0b27,_0x327d1c)=>{const _0x447f57=_0x5bba60;_0x1a0db6[_0x447f57(0x48d)]=_0x327d1c,_0x23cbc4&&_0xd576ee[_0x447f57(0x48d)]!==_0x327d1c&&_0xeeda6(_0x327d1c)&&(_0xd576ee['current']=_0x327d1c);},'onFocusChange':(_0x5309a8,_0x4265b6)=>{const _0x4678e7=_0x5bba60;if(_0x4265b6!==void 0x0&&(_0x1a0db6[_0x4678e7(0x48d)]=_0x4265b6),_0x23cbc4||_0x401ace(_0x5309a8),_0x5309a8)_0xd576ee[_0x4678e7(0x48d)]=_0x1a0db6[_0x4678e7(0x48d)];else{let _0x16bbcf=_0xd576ee['current'];_0xd576ee[_0x4678e7(0x48d)]=void 0x0,_0x16bbcf!==void 0x0&&_0x1a0db6[_0x4678e7(0x48d)]!==_0x16bbcf&&_0xeeda6(_0x1a0db6[_0x4678e7(0x48d)]);}},'onRangeSelectorDialogVisibleChange':_0x517075=>{_0x315a83(_0x517075),_0x401ace(_0x517075);}}),_0x3a32eb?_0x631d41(_0x5bba60(0x236),{'className':_0x5bba60(0x2c1),'children':_0x3a32eb}):null]})});}function Z(_0xacb118){const _0xf1eff5=_0x263333;return _0x19292e(_0x4b128c,{'id':_0xacb118['id'],'children':[_0x631d41(_0x5a6d7e,{'children':_0xacb118[_0xf1eff5(0x263)]}),_0x631d41(_0x5a54e2,{'children':_0xacb118[_0xf1eff5(0x33a)]})]});}function _0x2930(_0x29b8e7,_0x43c37b){_0x29b8e7=_0x29b8e7-0x19f;const _0x47f164=_0x47f1();let _0x2930f4=_0x47f164[_0x29b8e7];return _0x2930f4;}const wi=_0x2d5ff9=>{const _0x91d924=_0x263333;let _0x2b4c76=_0x554478(_0x50e4d0),_0xa13baa=_0x554478(X),_0x2c37bd=_0x554478(_0x32f3e4),_0x2e5f82=_0x85eb5e(_0x2c37bd[_0x91d924(0x286)],_0x2c37bd[_0x91d924(0x46e)]),_0x57f160=_0x85eb5e(_0xa13baa['panelRoute$'],null),_0xdf04a6=_0x57f160&&_0x57f160[_0x91d924(0x3c7)]===(_0x2e5f82==null?void 0x0:_0x2e5f82['id'])?_0x57f160['route']:null,_0x146e03=_0x101893(),_0x5a6227=_0x2bbc12(),[_0x420859,_0x3b84d8]=_0x49f4f2(null);_0x1b4572(()=>{const _0x1e9cd6=_0x91d924;_0xdf04a6!=null&&_0xdf04a6['section']&&_0x3b84d8(_0xdf04a6[_0x1e9cd6(0x23c)]);},[_0xdf04a6]);let _0x5ff556=_0x21f2d6[_0x91d924(0x436)](_0x146e03,_0x3c84c9['Pie']),_0x361c28=_0x146e03===_0x3c84c9['Radar'],_0x8b1991=_0x146e03===_0x3c84c9[_0x91d924(0x20c)],_0x42022c=_0x146e03===_0x3c84c9[_0x91d924(0x1c7)],_0x67ffdc=_0x21f2d6[_0x91d924(0x436)](_0x146e03,_0x3c84c9[_0x91d924(0x32b)]),_0x5a10ce=_0x146e03===_0x3c84c9['Relation'],_0x4a4626=_0x146e03===_0x3c84c9['Waterfall'],_0xea68f6=_0x146e03===_0x3c84c9[_0x91d924(0x42c)],_0x5b1406=_0x146e03===_0x3c84c9['Heatmap'],_0x4439f8,_0x2c2ff7;switch(_0x146e03){case _0x3c84c9['Candlestick']:_0x4439f8=_0x5d2715[_0x91d924(0x224)],_0x2c2ff7=_0x2b4c76['t']('sheets-chart-ui.section.candlestick');break;case _0x3c84c9[_0x91d924(0x29c)]:_0x4439f8=_0x5d2715[_0x91d924(0x29c)],_0x2c2ff7=_0x2b4c76['t']('sheets-chart-ui.section.histogram');break;case _0x3c84c9[_0x91d924(0x248)]:_0x4439f8=_0x5d2715[_0x91d924(0x248)],_0x2c2ff7=_0x2b4c76['t'](_0x91d924(0x3c0));break;case _0x3c84c9[_0x91d924(0x2c0)]:_0x4439f8=_0x5d2715[_0x91d924(0x2c0)],_0x2c2ff7=_0x2b4c76['t'](_0x91d924(0x2e6));break;case _0x3c84c9['Gauge']:_0x4439f8=_0x5d2715[_0x91d924(0x31a)],_0x2c2ff7=_0x2b4c76['t'](_0x91d924(0x245));break;case _0x3c84c9[_0x91d924(0x330)]:_0x4439f8=_0x5d2715[_0x91d924(0x330)],_0x2c2ff7=_0x2b4c76['t'](_0x91d924(0x1ef));}let _0x51f6dc=_0x1f4632(_0x146e03,_0x5c93c7[_0x91d924(0x229)])&&!_0x67ffdc&&!_0xea68f6;return _0x19292e(_0x1f33f5,{'value':_0x420859,'onChange':_0x3b84d8,'children':[_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x2ec)],'label':_0x2b4c76['t'](_0x91d924(0x1e5)),'children':_0x631d41(_0x180303,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['style']})}),_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x303)],'label':_0x2b4c76['t'](_0x91d924(0x430)),'children':_0x631d41(_0x2d86f4,{'commitMode':_0x91d924(0x3a9),'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x1f6)],'selectedTitleKey':_0xdf04a6==null?void 0x0:_0xdf04a6[_0x91d924(0x28f)]})}),_0x631d41(_0x170b26,{'section':_0x91d924(0x30c)}),_0x51f6dc&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x2f0)],'label':_0x2b4c76['t']('sheets-chart-ui.common.series'),'children':_0x631d41(_0x3e0938,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x446)],'NumberFormatField':_0x4d98cf,'selectedSeriesId':_0xdf04a6==null?void 0x0:_0xdf04a6['seriesId']})}),_0x4a4626&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x2ee)],'label':_0x2b4c76['t'](_0x91d924(0x43e)),'children':_0x631d41(_0x79a0a5,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x207)],'getDefaultBucketName':({seriesName:_0x1c368e,target:_0x195aa1})=>_0x195aa1===_0x1072fe['Subtotal']?_0x2b4c76['t'](_0x91d924(0x464)):_0x1c368e?_0x1c368e+'-('+_0x2b4c76['t'](_0x195aa1===_0x1072fe[_0x91d924(0x278)]?_0x91d924(0x22d):'sheets-chart-ui.waterfall.negative')+')':'','NumberFormatField':_0x4d98cf,'selectedSeriesId':_0xdf04a6==null?void 0x0:_0xdf04a6['seriesId']})}),_0xea68f6&&_0x19292e(_0x3ef29f,{'children':[_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x369)],'label':_0x2b4c76['t'](_0x91d924(0x347)),'children':_0x631d41(_0x571a81,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x38c)],'NumberFormatField':_0x4d98cf,'showDataPointEditor':!0x0,'target':_0x91d924(0x401)})}),_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x221)],'label':_0x2b4c76['t'](_0x91d924(0x348)),'children':_0x631d41(_0x571a81,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['pareto'],'NumberFormatField':_0x4d98cf,'showDataPointEditor':!0x1,'target':_0x91d924(0x287)})})]}),_0x5ff556&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x490)],'label':_0x2b4c76['t'](_0x91d924(0x39f)),'children':_0x631d41(_0x21ace2,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['pie'],'NumberFormatField':_0x4d98cf})}),_0x8b1991&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x20c)],'label':_0x2b4c76['t'](_0x91d924(0x299)),'children':_0x631d41(_0x32ad0b,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x337)]})}),_0x361c28&&_0x631d41(Z,{'id':_0x5d2715['Radar'],'label':_0x2b4c76['t'](_0x91d924(0x38b)),'children':_0x631d41(_0x5b595c,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x45a)]})}),_0x42022c&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x1c7)],'label':_0x2b4c76['t'](_0x91d924(0x2c7)),'children':_0x631d41(_0x3f029a,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x36b)],'gapControl':_0x91d924(0x1af)})}),_0x5b1406&&_0x631d41(Z,{'id':_0x5d2715['Heatmap'],'label':_0x2b4c76['t']('sheets-chart-ui.common.heatmap'),'children':_0x631d41(_0x25da6b,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['heatmap']})}),_0x5a10ce&&_0x631d41(Z,{'id':_0x5d2715['Relation'],'label':_0x2b4c76['t'](_0x91d924(0x448)),'children':_0x631d41(_0x59f49e,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x289)]})}),_0x552c88(_0x146e03)&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x391)],'label':_0x2b4c76['t'](_0x21f2d6['baseOn'](_0x146e03,_0x3c84c9[_0x91d924(0x1d8)])?'sheets-chart-ui.chartTypes.area':_0x91d924(0x38f)),'children':_0x631d41(_0x49f310,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x1ff)],'lineStyleControl':_0x91d924(0x2c5)})}),_0x1f4632(_0x146e03,_0x5c93c7[_0x91d924(0x496)])&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x496)],'label':_0x2b4c76['t'](_0x91d924(0x320)),'children':_0x631d41(_0x347eeb,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['legend']})}),_0x1f4632(_0x146e03,_0x5c93c7[_0x91d924(0x474)])&&_0x19292e(_0x3ef29f,{'children':[_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x480)],'label':_0x2b4c76['t']('sheets-chart-ui.common.horizontalAxis'),'children':_0x631d41(_0x3060b4,{'axis':'x','defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x44e)],'NumberFormatField':_0x4d98cf})}),_0x631d41(Z,{'id':_0x5d2715['VerticalAxis'],'label':_0x2b4c76['t'](_0x91d924(0x2de)),'children':_0x631d41(_0x3060b4,{'axis':'y','defaultValues':_0x2d5ff9[_0x91d924(0x30f)][_0x91d924(0x44e)],'NumberFormatField':_0x4d98cf})}),_0x631d41(_0x170b26,{'section':_0x91d924(0x379)}),_0x5a6227&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x422)],'label':_0x2b4c76['t'](_0x91d924(0x282)),'children':_0x631d41(_0x3060b4,{'axis':_0x91d924(0x3fb),'defaultValues':_0x2d5ff9['defaultValues']['axis'],'NumberFormatField':_0x4d98cf})}),_0x631d41(Z,{'id':_0x5d2715['GridlinesAndTicks'],'label':_0x2b4c76['t'](_0x91d924(0x1fc)),'children':_0x631d41(_0x370a3b,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['axis']})})]}),_0x1f4632(_0x146e03,_0x5c93c7[_0x91d924(0x413)])&&_0x631d41(Z,{'id':_0x5d2715['IndicatorLine'],'label':_0x2b4c76['t'](_0x91d924(0x44d)),'children':_0x631d41(_0x2d9d47,{'defaultValues':_0x2d5ff9[_0x91d924(0x30f)]['indicatorLine']})}),_0x57d49e(_0x146e03)&&_0x631d41(Z,{'id':_0x5d2715[_0x91d924(0x3e4)],'label':_0x2b4c76['t']('sheets-chart-ui.common.trendline'),'children':_0x631d41(_0x18df68,{'defaultValues':_0x2d5ff9['defaultValues']['trendline']})}),_0x4439f8&&_0x2c2ff7&&_0x631d41(Z,{'id':_0x4439f8,'label':_0x2c2ff7,'children':_0x631d41(_0xa1851d,{})})]});};function Ti(_0x107506){const _0x2c19da=_0x263333;let {className:_0x156365}=_0x107506,[_0x581696,_0x400e4d]=_0x49f4f2(_0xf78bcd[_0x2c19da(0x259)]),_0x23ff83=_0x554478(_0x16b37d),_0x2366f3=_0x554478(_0x50e4d0),_0x564d7c=_0x554478(X),_0x55d7b0=_0x554478(_0x32f3e4),_0x49309c=_0x554478(_0x2787aa),_0x1eb22b=_0x85eb5e(_0x55d7b0[_0x2c19da(0x286)],_0x55d7b0[_0x2c19da(0x46e)]),_0xec90ba=_0x85eb5e(_0x564d7c[_0x2c19da(0x3bf)],null),_0x5b65e5=_0x10426f(()=>{const _0x395edf=_0x2c19da;var _0x670866;if(!_0x1eb22b)return null;let _0x5d3fba=_0x49309c[_0x395edf(0x24a)](_0x1eb22b['id']);if(!_0x5d3fba)return null;let _0x50ae5f=Array[_0x395edf(0x30d)](_0x5d3fba)?(_0x670866=_0x5d3fba[0x0])==null?void 0x0:_0x670866['range']:_0x5d3fba[_0x395edf(0x1b3)];return _0x50ae5f?new _0x3898d0(_0x1eb22b,new _0x3efb65({'unitId':_0x50ae5f[_0x395edf(0x47d)],'subUnitId':_0x50ae5f[_0x395edf(0x29a)],'chartId':_0x1eb22b['id'],'injector':_0x23ff83})):null;},[_0x1eb22b,_0x23ff83,_0x49309c]);if(_0x1b4572(()=>{const _0x386b28=_0x2c19da;var _0x19b334,_0x44fbcd;_0x1eb22b&&(_0xec90ba==null?void 0x0:_0xec90ba[_0x386b28(0x3c7)])===_0x1eb22b['id']&&(((_0x19b334=_0xec90ba[_0x386b28(0x2e5)])==null?void 0x0:_0x19b334[_0x386b28(0x3f8)])===_0xf78bcd['Style']&&_0x400e4d(_0xf78bcd[_0x386b28(0x40e)]),((_0x44fbcd=_0xec90ba[_0x386b28(0x2e5)])==null?void 0x0:_0x44fbcd[_0x386b28(0x3f8)])===_0xf78bcd['Data']&&_0x400e4d(_0xf78bcd[_0x386b28(0x259)]));},[_0x1eb22b,_0xec90ba]),!_0x5b65e5)return null;let _0x1c2e7f=_0x631d41('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x581696===_0xf78bcd[_0x2c19da(0x40e)]?_0x2c19da(0x407):_0x2c19da(0x3e1))+_0x2c19da(0x349)+(_0x156365??'')+_0x2c19da(0x458),'children':_0x631d41(_0x11c083,{'ariaLabel':_0x2366f3['t'](_0x2c19da(0x403)),'activeTab':_0x581696,'onTabChange':_0x400e4d,'tabListClassName':_0x2c19da(0x363),'panelClassName':_0x581696===_0xf78bcd[_0x2c19da(0x40e)]?_0x2c19da(0x418):void 0x0,'tabs':[{'id':_0xf78bcd[_0x2c19da(0x259)],'panelId':Di,'title':_0x2366f3['t'](_0x2c19da(0x409)),'content':_0x631d41(Si,{})},{'id':_0xf78bcd[_0x2c19da(0x40e)],'panelId':Oi,'title':_0x2366f3['t']('sheets-chart-ui.common.customize'),'content':_0x631d41(wi,{'defaultValues':yi})}]})});return _0x631d41(_0x4e9c5c,{'chartUIService':_0x564d7c,'hostAdapter':_0x5b65e5,'children':_0x1c2e7f});}const Ei=_0x263333(0x1fd),Di=_0x263333(0x340),Oi='sheet-chart-style-panel';function ki(_0x468d1b){return _0x468d1b['length']===0x1&&Ai(_0x468d1b[0x0]);}function Ai(_0x585ed2){const _0x19ce55=_0x263333;return(_0x585ed2==null?void 0x0:_0x585ed2[_0x19ce55(0x23d)])===_0x815b3e['DRAWING_CHART']&&!_0x585ed2[_0x19ce55(0x466)];}let ji=class extends _0x3a35f7{constructor(_0x1d5102,_0x59077f,_0x57280b,_0x1a59c8,_0xd60b1b,_0x1f4cb8,_0x159d8f,_0x43cd7a,_0x373a3c,_0x1a9375,_0x3c0a47,_0x302e64,_0x1c8e48,_0x49249b,_0x4e2db1){const _0x1fd56c=_0x263333;var _0x24d6a9;super(),this[_0x1fd56c(0x2c2)]=_0x1d5102,this['_univerInstanceService']=_0x59077f,this['_chartModelService']=_0x57280b,this[_0x1fd56c(0x3ad)]=_0x1a59c8,this[_0x1fd56c(0x47a)]=_0xd60b1b,this[_0x1fd56c(0x433)]=_0x1f4cb8,this['_sidebarService']=_0x159d8f,this[_0x1fd56c(0x1c2)]=_0x43cd7a,this['_sheetCanvasFloatDomManagerService']=_0x373a3c,this['_sheetCanvasPopManagerService']=_0x1a9375,this[_0x1fd56c(0x2ad)]=_0x3c0a47,this[_0x1fd56c(0x43a)]=_0x302e64,this['_contextService']=_0x1c8e48,this[_0x1fd56c(0x1cc)]=_0x49249b,G(this,'_sidebarDisposable',null),G(this,_0x1fd56c(0x39a),void 0x0),this[_0x1fd56c(0x39a)]=((_0x24d6a9=_0x4e2db1['getConfig'](_0x1fd56c(0x25d)))==null?void 0x0:_0x24d6a9[_0x1fd56c(0x3d4)])===!0x0,this[_0x1fd56c(0x253)](),this[_0x1fd56c(0x2a9)](this['_univerInstanceService'][_0x1fd56c(0x42f)](_0x1ed8d9[_0x1fd56c(0x2d4)])['subscribe'](_0x44891c=>{const _0x3ff00a=_0x1fd56c;var _0x49f241;_0x44891c||(_0x49f241=this[_0x3ff00a(0x1b9)])==null||_0x49f241['dispose']();})),this[_0x1fd56c(0x2a9)](_0x24488e(this[_0x1fd56c(0x433)][_0x1fd56c(0x1f8)][_0x1fd56c(0x312)](async({drawing:_0x1b728d})=>{const _0x54d41c=_0x1fd56c;await this[_0x54d41c(0x37d)](_0x1b728d);})));}['_openPanel'](){const _0x12d9ba=_0x263333;this[_0x12d9ba(0x1b9)]=this['_sidebarService'][_0x12d9ba(0x26a)]({'id':Ei,'header':{'title':this[_0x12d9ba(0x1cc)]['t'](_0x12d9ba(0x403))},'width':0x154,'children':{'label':Ei},'onClose':()=>{const _0x4c37fd=_0x12d9ba;this[_0x4c37fd(0x1b9)]=null,this[_0x4c37fd(0x429)](),this[_0x4c37fd(0x2aa)][_0x4c37fd(0x46e)]&&this[_0x4c37fd(0x2aa)][_0x4c37fd(0x1c8)](null),this[_0x4c37fd(0x2c2)][_0x4c37fd(0x36c)](null),this[_0x4c37fd(0x3ef)]['setContextValue'](_0x3188eb,!0x1);}});}['hidePanel'](){const _0x8e873b=_0x263333;let _0x5994a2=this[_0x8e873b(0x1b9)];this['_sidebarDisposable']=null,this[_0x8e873b(0x429)](),this[_0x8e873b(0x2aa)][_0x8e873b(0x46e)]&&this['_chartModelService']['setActiveChartModel'](null),_0x5994a2==null||_0x5994a2[_0x8e873b(0x2ce)]();}[_0x263333(0x354)](){const _0x4fc341=_0x263333;let _0x527890=this[_0x4fc341(0x305)][_0x4fc341(0x366)](_0x1ed8d9[_0x4fc341(0x2d4)]);this[_0x4fc341(0x2a9)](this['_sidebarService']['sidebarOptions$'][_0x4fc341(0x312)](_0x6f960d=>{const _0x1c5890=_0x4fc341;_0x6f960d['id']===_0x1c5890(0x1fd)&&(_0x6f960d[_0x1c5890(0x35b)]||this[_0x1c5890(0x41b)][_0x1c5890(0x313)]['next']({'visible':!0x1}));})),this[_0x4fc341(0x2a9)](_0x52c64d([this[_0x4fc341(0x2aa)]['activeChartModel$'],this[_0x4fc341(0x43a)]['chartEditorOpen$']])[_0x4fc341(0x3e9)](_0x3d1348(([_0x4f932e,_0x5d052c])=>_0x5d052c?(_0x4f932e==null?void 0x0:_0x4f932e['id'])??null:null),_0x1b7120(),_0x264374(null),_0x23f198())['subscribe'](([_0x2af4bc,_0xc60fd3])=>{const _0x25a3b9=_0x4fc341;this[_0x25a3b9(0x249)](_0x2af4bc,_0xc60fd3);})),this[_0x4fc341(0x2a9)](this[_0x4fc341(0x2aa)]['activeChartModel$'][_0x4fc341(0x312)](_0x45ddbf=>{const _0x2a0013=_0x4fc341;!_0x45ddbf&&this[_0x2a0013(0x1b9)]&&this[_0x2a0013(0x1a1)]();})),this[_0x4fc341(0x2a9)](this[_0x4fc341(0x2ad)][_0x4fc341(0x454)](_0x420870=>{const _0x2e24ee=_0x4fc341;if(_0x420870['id']===U['id']){let _0x556f70=_0x420870['params'];if(!Ai(this[_0x2e24ee(0x2c2)][_0x2e24ee(0x47b)]({'unitId':_0x556f70[_0x2e24ee(0x47d)],'subUnitId':_0x556f70[_0x2e24ee(0x29a)],'drawingId':_0x556f70[_0x2e24ee(0x3ae)]})))return;this['openChartPanelById'](_0x556f70[_0x2e24ee(0x3ae)],_0x556f70[_0x2e24ee(0x2e5)]);}if(_0x420870['id']===wr['id']&&this[_0x2e24ee(0x1a1)](),_0x420870['id']===_0x346aa4['id']){var _0x4fd3d1;_0x420870['params'][_0x2e24ee(0x3c7)]===((_0x4fd3d1=this[_0x2e24ee(0x2aa)][_0x2e24ee(0x46e)])==null?void 0x0:_0x4fd3d1['id'])&&this[_0x2e24ee(0x1a1)](),this[_0x2e24ee(0x3ef)]['getContextValue'](_0x3188eb)&&(this[_0x2e24ee(0x3ef)][_0x2e24ee(0x2f3)](_0x3188eb,!0x1),this[_0x2e24ee(0x2c2)][_0x2e24ee(0x36c)](null));}})),this[_0x4fc341(0x2a9)](this[_0x4fc341(0x226)][_0x4fc341(0x3d3)][_0x4fc341(0x312)](({id:_0x3bb49b})=>{const _0x8e856=_0x4fc341;this['_sheetsChartUIService'][_0x8e856(0x297)](_0x3bb49b)&&this[_0x8e856(0x1a1)]();})),this[_0x4fc341(0x2a9)](this[_0x4fc341(0x226)][_0x4fc341(0x338)][_0x4fc341(0x312)](({id:_0x16f764})=>{const _0x12d3c2=_0x4fc341;this[_0x12d3c2(0x43a)][_0x12d3c2(0x297)](_0x16f764)&&(this[_0x12d3c2(0x43a)][_0x12d3c2(0x42d)](),this[_0x12d3c2(0x47a)][_0x12d3c2(0x1a7)](_0x16f764,!0x1),this[_0x12d3c2(0x3ee)](_0x16f764)&&this['_chartRenderService']['setElementEditMode'](_0x16f764,!0x0));})),this[_0x4fc341(0x2a9)](this[_0x4fc341(0x2c2)][_0x4fc341(0x47e)][_0x4fc341(0x312)](_0x45dcd1=>{const _0x416cf9=_0x4fc341;let _0x4c1ee3=_0x45dcd1[0x0];if(!this[_0x416cf9(0x43a)][_0x416cf9(0x3a4)]){if(ki(_0x45dcd1)){var _0x397e69;let _0x121858=this['_chartModelService']['getChartModel'](_0x4c1ee3['drawingId']);_0x121858&&this[_0x416cf9(0x34e)](_0x121858['id'])&&((_0x397e69=this[_0x416cf9(0x2aa)][_0x416cf9(0x46e)])==null?void 0x0:_0x397e69['id'])!==_0x121858['id']&&this[_0x416cf9(0x2aa)][_0x416cf9(0x1c8)](_0x121858);}else this[_0x416cf9(0x2aa)][_0x416cf9(0x46e)]&&this[_0x416cf9(0x2aa)][_0x416cf9(0x1c8)](null),!_0x4c1ee3&&!this[_0x416cf9(0x43a)][_0x416cf9(0x3a4)]&&this[_0x416cf9(0x1a1)]();}})),_0x527890&&(this[_0x4fc341(0x2a9)](_0x527890[_0x4fc341(0x457)][_0x4fc341(0x312)](()=>{const _0x48d4dd=_0x4fc341;this[_0x48d4dd(0x1a1)]();})),this[_0x4fc341(0x2a9)](_0x527890[_0x4fc341(0x3a0)][_0x4fc341(0x312)](()=>{const _0x4caaf6=_0x4fc341;this[_0x4caaf6(0x1a1)]();})));}async[_0x263333(0x37d)](_0x5c6002){const _0x9037e6=_0x263333;this[_0x9037e6(0x43a)][_0x9037e6(0x2ea)]||Ai(_0x5c6002)&&this[_0x9037e6(0x34e)](_0x5c6002[_0x9037e6(0x3ae)])&&await this[_0x9037e6(0x209)](_0x5c6002[_0x9037e6(0x47d)],_0x5c6002[_0x9037e6(0x29a)],_0x5c6002[_0x9037e6(0x3ae)]);}async[_0x263333(0x209)](_0xeb8cbe,_0x3c2111,_0x38434b){const _0x25563a=_0x263333;this[_0x25563a(0x2aa)][_0x25563a(0x216)](_0x38434b)&&this[_0x25563a(0x34e)](_0x38434b)&&await this[_0x25563a(0x2ad)][_0x25563a(0x25f)](U['id'],{'unitId':_0xeb8cbe,'subUnitId':_0x3c2111,'drawingId':_0x38434b});}[_0x263333(0x1cd)](_0x3e16c2,_0x4088d8){const _0x1fc343=_0x263333;let _0x3b157e=this[_0x1fc343(0x2aa)]['getChartModel'](_0x3e16c2);_0x3b157e&&this['_isOwnedChart'](_0x3e16c2)&&(this[_0x1fc343(0x2aa)][_0x1fc343(0x1c8)](_0x3b157e),this[_0x1fc343(0x420)](),this['_activateEditPanelState'](_0x3e16c2,_0x4088d8??null));}['_activateEditPanelState'](_0x4f117a,_0x2e5307){const _0x5c8ecb=_0x263333;this[_0x5c8ecb(0x43a)]['setChartEditorOpen'](!0x0),this[_0x5c8ecb(0x43a)]['setPanelRoute'](_0x4f117a,_0x2e5307);}[_0x263333(0x429)](){const _0x162160=_0x263333;this[_0x162160(0x43a)][_0x162160(0x298)](!0x1);}[_0x263333(0x249)](_0x485c4c,_0x37023a){const _0x211d65=_0x263333;_0x485c4c!==_0x37023a&&(_0x485c4c&&this[_0x211d65(0x47a)][_0x211d65(0x1a7)](_0x485c4c,!0x1),this[_0x211d65(0x43a)][_0x211d65(0x42d)](),_0x37023a&&(this['_sheetsChartUIService'][_0x211d65(0x37e)](_0x37023a,null),this[_0x211d65(0x47a)][_0x211d65(0x1a7)](_0x37023a,this[_0x211d65(0x3ee)](_0x37023a))));}[_0x263333(0x253)](){const _0x4feb25=_0x263333;this[_0x4feb25(0x1c2)][_0x4feb25(0x1a9)](Hr),this[_0x4feb25(0x35d)][_0x4feb25(0x417)](_0x815b3e['DRAWING_CHART'],this[_0x4feb25(0x382)][_0x4feb25(0x29b)](this));}[_0x263333(0x3ee)](_0x26780c){const _0x543dd1=_0x263333;let _0x398247=this[_0x543dd1(0x2aa)][_0x543dd1(0x216)](_0x26780c);return!this[_0x543dd1(0x39a)]||!_0x398247||!this[_0x543dd1(0x34e)](_0x26780c)?!0x1:Wr(_0x398247[_0x543dd1(0x451)]);}[_0x263333(0x382)](_0x411f9d,_0x40d826,_0x3534cd,_0x481d6f){const _0x131376=_0x263333;if(!this[_0x131376(0x2aa)][_0x131376(0x216)](_0x3534cd))return[];let _0x4bf02c=[{'label':this[_0x131376(0x1cc)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x411f9d,'subUnitId':_0x40d826,'drawingId':_0x3534cd},'disable':_0x481d6f!==_0x815b3e['DRAWING_CHART']}];return this[_0x131376(0x34e)](_0x3534cd)?[..._0x4bf02c,{'label':this[_0x131376(0x1cc)]['t'](_0x131376(0x3a7)),'index':0x1,'commandId':_0x46454a['id'],'commandParams':{'unitId':_0x411f9d,'drawings':[{'unitId':_0x411f9d,'subUnitId':_0x40d826,'drawingId':_0x3534cd,'drawingType':_0x481d6f}]},'disable':!0x1},{'label':this[_0x131376(0x1cc)]['t']('sheets-chart-ui.common.hideChartPanel'),'index':0x2,'commandId':wr['id'],'commandParams':{'unitId':_0x411f9d,'subUnitId':_0x40d826,'drawingId':_0x3534cd},'disable':!0x1}]:_0x4bf02c;}['_isOwnedChart'](_0x33e68d){return this['_sheetsChartService']['getChartSourceSpec'](_0x33e68d)!==void 0x0;}};ji=J([q(0x0,_0x1e57fe),q(0x1,_0x2c5fcd),q(0x2,_0x5190dd(_0x32f3e4)),q(0x3,_0x5190dd(_0x2787aa)),q(0x4,_0x5190dd(Y)),q(0x5,_0x5190dd(_0x50d1b6)),q(0x6,_0x5190dd(_0x1a8322)),q(0x7,_0x31f657),q(0x8,_0x5190dd(_0x1f911b)),q(0x9,_0x5190dd(_0x4b902f)),q(0xa,_0x63bada),q(0xb,X),q(0xc,_0x599068),q(0xd,_0x5190dd(_0x50e4d0)),q(0xe,_0x11a50d)],ji);var Mi=_0x263333(0x2a7),Ni=_0x263333(0x1f5);let Pi=class extends _0x3a35f7{constructor(_0x41967b,_0x519e25){const _0x2cde91=_0x263333;super(),this[_0x2cde91(0x1ed)]=_0x41967b,this[_0x2cde91(0x2aa)]=_0x519e25,this['_init']();}[_0x263333(0x1ca)](){const _0x32ec9a=_0x263333;this['disposeWithMe'](this['_chartHostProviderService'][_0x32ec9a(0x228)][_0x32ec9a(0x312)](_0x2c94f2=>{const _0x5b22ce=_0x32ec9a;this[_0x5b22ce(0x2aa)][_0x5b22ce(0x213)](_0x2c94f2);}));}};Pi=J([q(0x0,pi),q(0x1,_0x5190dd(_0x32f3e4))],Pi);let Fi=class extends _0x3a35f7{constructor(_0x329dc7,_0x46e8d6,_0x51a55f,_0x956b38,_0x520667,_0x3deb1e){const _0x270528=_0x263333;super(),this[_0x270528(0x2aa)]=_0x329dc7,this[_0x270528(0x47a)]=_0x46e8d6,this[_0x270528(0x1cc)]=_0x51a55f,this[_0x270528(0x42a)]=_0x956b38,this[_0x270528(0x2ad)]=_0x520667,this[_0x270528(0x375)]=_0x3deb1e,G(this,_0x270528(0x339),new Map()),G(this,_0x270528(0x242),new Set()),this[_0x270528(0x1ca)](),this[_0x270528(0x238)](),this['_initPrinting']();}['_initPrinting'](){const _0x15e881=_0x263333;this[_0x15e881(0x2a9)](this[_0x15e881(0x375)][_0x15e881(0x3df)][_0x15e881(0x32f)](this[_0x15e881(0x375)][_0x15e881(0x3df)][_0x15e881(0x365)]()[_0x15e881(0x275)],{'handler':(_0x2ef01d,_0xc36e59,_0x2f4f14)=>{const _0x108b6a=_0x15e881;let _0xfc5c77=this[_0x108b6a(0x47a)][_0x108b6a(0x1f2)](_0xc36e59[_0x108b6a(0x47d)],_0xc36e59['subUnitId'],_0xc36e59[_0x108b6a(0x445)]);return _0xc36e59[_0x108b6a(0x2d1)][_0x108b6a(0x2bd)](_0xfc5c77),_0x2f4f14(_0x2ef01d);}}));}[_0x263333(0x1ca)](){const _0x5cc3d4=_0x263333;this[_0x5cc3d4(0x2a9)](this[_0x5cc3d4(0x2aa)]['chartModelAdded$'][_0x5cc3d4(0x312)](_0x59b415=>{const _0x1fb6d7=_0x5cc3d4;if(_0x59b415){let _0x577baa=new _0x3c471c();_0x577baa[_0x1fb6d7(0x2bd)](_0x59b415[_0x1fb6d7(0x318)]['pipe'](_0x3e093b(_0x21dc33=>_0x21dc33[_0x1fb6d7(0x205)]['pipe'](_0x28fbbc(0x1))))[_0x1fb6d7(0x312)](()=>{const _0x28c81f=_0x1fb6d7;this[_0x28c81f(0x242)][_0x28c81f(0x2bd)](_0x59b415['id']);})),_0x577baa[_0x1fb6d7(0x2bd)](_0x59b415[_0x1fb6d7(0x498)]['pipe'](_0x3fb060(_0x59b415['style$']),_0x3fb060(this['_localeService']['direction$']),_0xb7c1f6(0x64))['subscribe'](([[_0x209eb1,_0x1a5e33],_0x3ea200])=>{const _0x2f4e01=_0x1fb6d7;var _0x509bd9;if(!_0x209eb1)return;(_0x509bd9=_0x209eb1[_0x2f4e01(0x2eb)])==null||_0x509bd9[_0x2f4e01(0x2c8)][_0x2f4e01(0x3b0)]((_0x44423f,_0x466452)=>{const _0x51e794=_0x2f4e01;_0x44423f[_0x51e794(0x263)]||=this['_localeService']['t'](_0x51e794(0x410))+'\x20'+(_0x466452+0x1);}),_0x209eb1[_0x2f4e01(0x446)]['forEach']((_0x3f04ad,_0x16cdab)=>{const _0x39f80a=_0x2f4e01;_0x3f04ad[_0x39f80a(0x27f)]||=this[_0x39f80a(0x1cc)]['t'](_0x39f80a(0x380))+'\x20'+(_0x16cdab+0x1);});let _0x402df5=this[_0x2f4e01(0x47a)][_0x2f4e01(0x416)](_0x59b415,_0x3ea200),_0x202002=this['_pendingDataUpdateChartIds'][_0x2f4e01(0x35a)](_0x59b415['id']);this[_0x2f4e01(0x47a)][_0x2f4e01(0x2e4)](_0x59b415['id'],_0x209eb1,_0x402df5,{'animateDataUpdate':_0x202002});})),_0x59b415[_0x1fb6d7(0x42b)](()=>{const _0x1b813c=_0x1fb6d7;this[_0x1b813c(0x242)][_0x1b813c(0x35a)](_0x59b415['id']),_0x577baa[_0x1b813c(0x2ce)]();});}}));}[_0x263333(0x238)](){const _0x785876=_0x263333;this[_0x785876(0x2a9)](this[_0x785876(0x2ad)]['onCommandExecuted'](_0x5f45e1=>{const _0x350717=_0x785876;if(_0x5f45e1['id']!==_0x112021['id'])return;let _0x546759=_0x5f45e1[_0x350717(0x2fc)];_0x546759!=null&&_0x546759[_0x350717(0x3ca)]&&Promise['resolve']()[_0x350717(0x447)](()=>this[_0x350717(0x398)](_0x546759));}));}[_0x263333(0x398)](_0xc27771){const _0x2d48ab=_0x263333;let _0x2dff38=this[_0x2d48ab(0x2aa)][_0x2d48ab(0x216)](_0xc27771['chartModelId']);if(!_0x2dff38||_0x2dff38['chartType']!==_0x3c84c9[_0x2d48ab(0x20c)])return;let _0x3af11e=_0x2dff38['config'];_0x3af11e?this[_0x2d48ab(0x40c)](_0x2dff38,_0x3af11e):this[_0x2d48ab(0x46f)](_0x2dff38);}[_0x263333(0x46f)](_0x1e2c27){const _0x4d3297=_0x263333;if(this[_0x4d3297(0x339)][_0x4d3297(0x461)](_0x1e2c27['id']))return;let _0x548721=_0x1e2c27[_0x4d3297(0x498)]['pipe'](_0x3d855b(_0x2e1bd9=>_0x2e1bd9!=null),_0x22f11f(0x1))[_0x4d3297(0x312)](_0x3596e6=>{const _0x159bcb=_0x4d3297;this['_pendingMutationConfigRenders'][_0x159bcb(0x35a)](_0x1e2c27['id']),this[_0x159bcb(0x40c)](_0x1e2c27,_0x3596e6);});this[_0x4d3297(0x339)][_0x4d3297(0x2a3)](_0x1e2c27['id'],_0x548721),_0x1e2c27[_0x4d3297(0x42b)](()=>{const _0x33d1b7=_0x4d3297;_0x548721[_0x33d1b7(0x370)](),this[_0x33d1b7(0x339)][_0x33d1b7(0x35a)](_0x1e2c27['id']);});}[_0x263333(0x40c)](_0x86954c,_0x840499){const _0x174c40=_0x263333;let _0x4d1be2=this[_0x174c40(0x47a)][_0x174c40(0x416)](_0x86954c,this[_0x174c40(0x1cc)][_0x174c40(0x397)]());this[_0x174c40(0x47a)][_0x174c40(0x2e4)](_0x86954c['id'],_0x840499,_0x4d1be2);}};Fi=J([q(0x0,_0x5190dd(_0x32f3e4)),q(0x1,_0x5190dd(Y)),q(0x2,_0x5190dd(_0x50e4d0)),q(0x3,X),q(0x4,_0x63bada),q(0x5,_0x5190dd(_0xecb1d5))],Fi);function Ii(_0x33b8c7,_0x235b99){const _0x39e455=_0x263333;return _0x33b8c7[_0x39e455(0x47d)]!==_0x235b99[_0x39e455(0x47d)]||_0x33b8c7[_0x39e455(0x29a)]!==_0x235b99[_0x39e455(0x343)]?_0x33b8c7:{..._0x33b8c7,'subUnitId':_0x235b99[_0x39e455(0x402)]};}function Li(_0x48a1f2,_0x261560){const _0x10a37b=_0x263333;return(_0x48a1f2==null?void 0x0:_0x48a1f2['type'])===_0x714925[_0x10a37b(0x1ac)]?{..._0x48a1f2,'source':Ii(_0x48a1f2[_0x10a37b(0x411)],_0x261560)}:_0x48a1f2;}function Ri(_0x5542a0,_0x52d312){const _0x269119=_0x263333;let {rangeInfo:_0x87355c}=_0x5542a0;return Array['isArray'](_0x87355c)?{..._0x5542a0,'rangeInfo':_0x87355c[_0x269119(0x1dd)](_0x901733=>({..._0x901733,..._0x901733[_0x269119(0x3c2)]?{'header':Li(_0x901733[_0x269119(0x3c2)],_0x52d312)}:{},'range':Ii(_0x901733[_0x269119(0x444)],_0x52d312)}))}:{..._0x5542a0,'rangeInfo':{..._0x87355c,..._0x87355c[_0x269119(0x3c2)]?{'header':{..._0x87355c[_0x269119(0x3c2)],..._0x87355c['header']['titles']?{'titles':zi(_0x87355c['header'][_0x269119(0x1f6)],_0x52d312)}:{}}}:{},'rangeInfo':Ii(_0x87355c[_0x269119(0x1b3)],_0x52d312)}};}function zi(_0x27b286,_0x2a465a){const _0xeb434=_0x263333;return _0x27b286[_0xeb434(0x272)]===_0x714925[_0xeb434(0x24d)]?{..._0x27b286,'values':{..._0x27b286['values']}}:_0x27b286[_0xeb434(0x272)]===_0x714925[_0xeb434(0x1ab)]?{..._0x27b286,'values':Object['fromEntries'](Object[_0xeb434(0x31e)](_0x27b286[_0xeb434(0x256)])['map'](([_0x588f2c,_0x536fa3])=>[_0x588f2c,_0x536fa3&&Ii(_0x536fa3,_0x2a465a)]))}:{..._0x27b286,'values':Object[_0xeb434(0x40a)](Object[_0xeb434(0x31e)](_0x27b286[_0xeb434(0x256)])[_0xeb434(0x1dd)](([_0x59c366,_0x15ad68])=>[_0x59c366,_0x15ad68&&Li(_0x15ad68,_0x2a465a)]))};}function Bi(_0x55693a,_0x4b8f7f,_0x3f39e9,_0x453d65){const _0x3d338d=_0x263333;let _0x307c3d=_0x344ca1(_0x55693a,_0x4b8f7f,_0x3f39e9),_0x3896e9=[];for(let _0x349a49 of _0x4b8f7f){let _0x48e12c=_0x307c3d['idMap'][_0x3d338d(0x461)](_0x349a49[_0x3d338d(0x3ae)]),_0x59a6e9=_0x453d65(_0x349a49);_0x48e12c&&_0x59a6e9&&_0x3896e9[_0x3d338d(0x3b4)]({'targetChartId':_0x48e12c,'source':Ri(_0x59a6e9,_0x3f39e9)});}return _0x3896e9;}let Vi=class extends _0x3a35f7{constructor(_0x404ccb,_0x2e3ddc,_0x341a97,_0x432a65,_0x19d163){const _0xe72ea7=_0x263333;super(),this[_0xe72ea7(0x305)]=_0x404ccb,this[_0xe72ea7(0x2e2)]=_0x2e3ddc,this[_0xe72ea7(0x1e9)]=_0x341a97,this[_0xe72ea7(0x2aa)]=_0x432a65,this[_0xe72ea7(0x3ad)]=_0x19d163,this[_0xe72ea7(0x1b4)]();}[_0x263333(0x1b4)](){const _0x22934a=_0x263333;this[_0x22934a(0x2a9)](this[_0x22934a(0x2e2)][_0x22934a(0x35f)]({'getMutations':_0x4b5b46=>{const _0x40ab32=_0x22934a;if(_0x4b5b46['id']===_0x586782['id']){let _0x312863=_0x59667a(this[_0x40ab32(0x305)],_0x4b5b46[_0x40ab32(0x2fc)]);if(!_0x312863)return{'redos':[],'undos':[]};let {unitId:_0x2eab00,subUnitId:_0x3e34d2}=_0x312863,_0x12805b=this[_0x40ab32(0x1e9)]['getDrawingData'](_0x2eab00,_0x3e34d2),_0x219a3a=Object[_0x40ab32(0x256)](_0x12805b)[_0x40ab32(0x34d)](_0x83ef8=>_0x83ef8[_0x40ab32(0x23d)]===_0x815b3e[_0x40ab32(0x2c4)]);if(_0x219a3a[_0x40ab32(0x1e0)]===0x0)return{'redos':[],'undos':[]};let _0x3adc0f=[],_0x50e1ce=[];for(let _0x2e7d94=0x0;_0x2e7d94<_0x219a3a[_0x40ab32(0x1e0)];_0x2e7d94++){let _0x18d361=_0x219a3a[_0x2e7d94],_0x239718=this[_0x40ab32(0x2aa)][_0x40ab32(0x216)](_0x18d361['drawingId']);if(!_0x239718)continue;let _0xc44e06=this[_0x40ab32(0x3ad)][_0x40ab32(0x24a)](_0x239718['id']);if(!_0xc44e06)continue;let {chartType:_0xdc0491,context:_0x3b607a,style:_0x55a8ec,dataAggregation:_0x45492d}=_0x239718[_0x40ab32(0x2f2)]();_0x3adc0f[_0x40ab32(0x3b4)]({'id':_0x346aa4['id'],'params':{'unitId':_0x2eab00,'subUnitId':_0x3e34d2,'chartId':_0x18d361[_0x40ab32(0x3ae)]}}),_0x50e1ce['push']({'id':_0x1a4a0b['id'],'params':{'unitId':_0x2eab00,'subUnitId':_0x3e34d2,'chartId':_0x18d361['drawingId'],'chartType':_0xdc0491,..._0x4e634f(_0xc44e06),'context':_0x3b607a,'style':_0x55a8ec,'dataAggregation':_0x45492d}});}return{'redos':_0x3adc0f,'undos':_0x50e1ce};}if(_0x4b5b46['id']===_0x2c602a['id']){let {unitId:_0x2b7449,subUnitId:_0x40e29f,targetSubUnitId:_0x1725e0,copyContext:_0xbedc1b}=_0x4b5b46[_0x40ab32(0x2fc)];if(!_0x2b7449||!_0x40e29f||!_0x1725e0)return{'redos':[],'undos':[]};let _0x2cd25f=this[_0x40ab32(0x1e9)][_0x40ab32(0x3d8)](_0x2b7449,_0x40e29f),_0x36fc5c=Object[_0x40ab32(0x256)](_0x2cd25f)[_0x40ab32(0x34d)](_0x41b420=>_0x41b420[_0x40ab32(0x23d)]===_0x815b3e[_0x40ab32(0x2c4)]);if(_0x36fc5c[_0x40ab32(0x1e0)]===0x0)return{'redos':[],'undos':[]};let _0x11ce6d=Bi(_0xbedc1b,_0x36fc5c,{'unitId':_0x2b7449,'sourceSubUnitId':_0x40e29f,'targetSubUnitId':_0x1725e0},_0x554669=>{const _0x5c919d=_0x40ab32;let _0x49de5e=this[_0x5c919d(0x2aa)][_0x5c919d(0x216)](_0x554669[_0x5c919d(0x3ae)]);if(!_0x49de5e)return;let _0x505c95=this[_0x5c919d(0x3ad)][_0x5c919d(0x24a)](_0x49de5e['id']);if(!_0x505c95)return;let {chartType:_0x198bac,context:_0x403406,style:_0x59653a,dataAggregation:_0x44012f}=_0x49de5e[_0x5c919d(0x2f2)]();return{'rangeInfo':_0x505c95,'chartType':_0x198bac,'context':_0x403406,'style':_0x59653a,'dataAggregation':_0x44012f};}),_0x36943a=[],_0xf15964=[];for(let {targetChartId:_0x3efa5d,source:_0x251964}of _0x11ce6d){let {rangeInfo:_0x4c830c,chartType:_0x55feb2,context:_0x1da514,style:_0x572a6d,dataAggregation:_0x5af9eb}=_0x251964;_0x36943a['push']({'id':_0x1a4a0b['id'],'params':{'unitId':_0x2b7449,'subUnitId':_0x1725e0,'chartId':_0x3efa5d,'chartType':_0x55feb2,..._0x4e634f(_0x4c830c),'context':_0x1da514,'style':_0x572a6d,'dataAggregation':_0x5af9eb}}),_0xf15964[_0x40ab32(0x3b4)]({'id':_0x346aa4['id'],'params':{'unitId':_0x2b7449,'subUnitId':_0x1725e0,'chartId':_0x3efa5d}});}return{'redos':_0x36943a,'undos':_0xf15964};}return{'redos':[],'undos':[]};}}));}};Vi=J([q(0x0,_0x5190dd(_0x2c5fcd)),q(0x1,_0x5190dd(_0x592644)),q(0x2,_0x5190dd(_0x3e9d1a)),q(0x3,_0x5190dd(_0x32f3e4)),q(0x4,_0x5190dd(_0x2787aa))],Vi);const Hi=_0xb12435=>_0xb12435[_0x263333(0x366)](_0x1ed8d9['UNIVER_SHEET'])[_0x263333(0x3c9)](),Ui=_0x3e3ea4=>{const _0x173782=_0x263333;var _0x1d236b;return(_0x1d236b=_0x3e3ea4[_0x173782(0x366)](_0x1ed8d9['UNIVER_SHEET'])[_0x173782(0x1a2)]())==null?void 0x0:_0x1d236b[_0x173782(0x3d2)]();};function Wi(){const _0x5500ee=_0x263333;var _0x573bab;let _0x4e423e=_0x554478(X),_0x3c9863=_0x554478(_0x32f3e4),_0x419ea9=_0x554478(_0x2787aa),_0x1bc5d2=_0x554478(_0x50e4d0),_0x363bc6=_0x554478(_0x16b37d),_0x434632=_0x15b8bc(_0x363bc6),_0x415ed9=_0x10426f(()=>{const _0x576198=_0x2930;let _0x21e41f=Fr(Nr[_0x576198(0x251)](),_0x434632);return _0x51eb9b(_0x21e41f[_0x576198(0x1dd)](_0x3e87cc=>({'id':_0x3e87cc['id'],'label':_0x1bc5d2['t'](_0x576198(0x1da)+_0x3e87cc[_0x576198(0x1c5)]),'pieSecondaryPlotType':_0x3e87cc['pieSecondaryPlotType'],'value':_0x3e87cc[_0x576198(0x37f)]})));},[_0x434632,_0x1bc5d2]),_0x29694a=_0x85eb5e(_0x3c9863[_0x5500ee(0x286)],_0x3c9863[_0x5500ee(0x46e)]),_0x4d4767=_0x29694a?_0x419ea9[_0x5500ee(0x1de)](_0x29694a['id']):void 0x0,_0x307129=_0x85eb5e(_0x4d4767==null?void 0x0:_0x4d4767[_0x5500ee(0x261)],_0x4d4767==null?void 0x0:_0x4d4767[_0x5500ee(0x3eb)]()),_0xf152b9=Array['isArray'](_0x307129),_0x298c04=_0x307129&&!_0xf152b9&&_0x307129['isRowDirection']?_0x24d31d[_0x5500ee(0x301)]:_0x24d31d[_0x5500ee(0x3a2)],_0x176f0d=_0xf152b9?(_0x573bab=_0x307129[0x0])==null?void 0x0:_0x573bab[_0x5500ee(0x444)]:_0x307129==null?void 0x0:_0x307129[_0x5500ee(0x1b3)];return _0x631d41(_0x5500ee(0x236),{'className':_0x5500ee(0x37a),'children':_0x631d41(_0x4b0690,{'chartTypeOptions':_0x415ed9,'dataSourceControl':_0x631d41(Gi,{'dataRange':_0x307129,'primaryRange':_0x176f0d}),'categoryToggleLabel':_0x1bc5d2['t'](_0x5500ee(0x1ce),_0x298c04===_0x24d31d[_0x5500ee(0x301)]?_0x298c04+'\x20'+(((_0x176f0d==null?void 0x0:_0x176f0d[_0x5500ee(0x444)][_0x5500ee(0x326)])??0x0)+0x1):_0x298c04+'\x20'+_0x5cd14e((_0x176f0d==null?void 0x0:_0x176f0d['range'][_0x5500ee(0x22b)])??0x0)),'orientationControl':_0xf152b9?void 0x0:_0x631d41(_0x586592,{'size':'small','onClick':()=>_0x4e423e[_0x5500ee(0x24e)](_0x298c04===_0x24d31d[_0x5500ee(0x301)]?_0x24d31d[_0x5500ee(0x3a2)]:_0x24d31d['Row']),'children':_0x1bc5d2['t'](_0x5500ee(0x2bc))})})});}function Gi(_0x5b3ade){const _0xfc4c3a=_0x263333;let {dataRange:_0xe7ef4f,primaryRange:_0x2e763c}=_0x5b3ade,_0x14779d=_0x554478(X),_0x1a2e04=_0x554478(_0x50e4d0),_0x134377=_0x554478(_0x2c5fcd),[_0x2d05e8,_0x2890a8]=_0x49f4f2(!0x1),[_0x48df23,_0x240266]=_0x49f4f2(!0x1),_0x312322=Hi(_0x134377),_0x2c28d3=Ui(_0x134377);_0x1b4572(()=>{const _0x27eb3b=_0x2930;_0x14779d[_0x27eb3b(0x22e)](_0x2d05e8);},[_0x2d05e8,_0x14779d]);let _0x2dca38=_0x10426f(()=>_0x379334(async _0x43cc76=>{const _0x3f8b6d=_0x2930;var _0x269725;if(jr(_0xe7ef4f,_0x134377)===_0x43cc76)return;let _0x4f736a=_0x43cc76[_0x3f8b6d(0x290)](',')[_0x3f8b6d(0x34d)](Boolean)[_0x3f8b6d(0x1dd)](_0x163e7d)[0x0];if(!_0x4f736a)return;let {unitId:_0x543c66,sheetName:_0x3a2ba3,range:_0xcc093a}=_0x4f736a,_0x35f26f=_0x543c66||_0x312322,_0x21f227=((_0x269725=_0x134377[_0x3f8b6d(0x476)](_0x35f26f)['getSheetBySheetName'](_0x3a2ba3))==null?void 0x0:_0x269725[_0x3f8b6d(0x3d2)]())||(_0x2e763c==null?void 0x0:_0x2e763c['subUnitId'])||_0x2c28d3;_0x21f227&&_0x14779d['setDataRange']({'rangeInfo':{'range':_0xcc093a,'unitId':_0x35f26f,'subUnitId':_0x21f227}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0xe7ef4f,_0x2e763c,_0x14779d,_0x2c28d3,_0x312322,_0x134377]);return _0x1b4572(()=>()=>_0x2dca38[_0xfc4c3a(0x449)](),[_0x2dca38]),_0x631d41(_0xfc4c3a(0x236),{'className':_0xfc4c3a(0x3e3),'children':_0x19292e(_0xfc4c3a(0x236),{'children':[_0x631d41(_0x14e42d,{'title':_0x1a2e04['t'](_0xfc4c3a(0x332))}),_0x631d41(_0x5713bf,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x312322,'subUnitId':_0x2c28d3,'initialValue':_0xe7ef4f?jr(_0xe7ef4f,_0x134377):'','onChange':(_0x24a94b,_0x1df14f)=>_0x2dca38(_0x1df14f),'onFocusChange':_0x32da05=>{_0x48df23||_0x2890a8(_0x32da05);},'onRangeSelectorDialogVisibleChange':_0x15dbe3=>{_0x240266(_0x15dbe3),_0x2890a8(_0x15dbe3);}})]})});}function Ki(){const _0x3f2640=_0x263333;let [_0x45a8a6,_0x3e7bf2]=_0x49f4f2(_0xf78bcd[_0x3f2640(0x259)]),_0x2395a9=_0x554478(_0x16b37d),_0x15571a=_0x554478(_0x50e4d0),_0x508732=_0x554478(X),_0x240d02=_0x554478(_0x32f3e4),_0x3afd0b=_0x554478(_0x2787aa),_0x2e53fc=_0x85eb5e(_0x240d02[_0x3f2640(0x286)],_0x240d02[_0x3f2640(0x46e)]),_0x1a66ab=_0x85eb5e(_0x508732['panelRoute$'],null),_0x37c573=_0x10426f(()=>{const _0x585c1b=_0x3f2640;var _0xd0c032;if(!_0x2e53fc)return null;let _0x5ee9dd=_0x3afd0b[_0x585c1b(0x24a)](_0x2e53fc['id']);if(!_0x5ee9dd)return null;let _0x47df65=Array[_0x585c1b(0x30d)](_0x5ee9dd)?(_0xd0c032=_0x5ee9dd[0x0])==null?void 0x0:_0xd0c032[_0x585c1b(0x444)]:_0x5ee9dd[_0x585c1b(0x1b3)];return _0x47df65?new _0x3898d0(_0x2e53fc,new _0x3efb65({'unitId':_0x47df65['unitId'],'subUnitId':_0x47df65[_0x585c1b(0x29a)],'chartId':_0x2e53fc['id'],'injector':_0x2395a9})):null;},[_0x2e53fc,_0x2395a9,_0x3afd0b]);if(_0x1b4572(()=>{const _0x13ca62=_0x3f2640;var _0x2efb7,_0x36c681;_0x2e53fc&&(_0x1a66ab==null?void 0x0:_0x1a66ab['chartId'])===_0x2e53fc['id']&&(((_0x2efb7=_0x1a66ab['route'])==null?void 0x0:_0x2efb7[_0x13ca62(0x3f8)])===_0xf78bcd[_0x13ca62(0x40e)]&&_0x3e7bf2(_0xf78bcd['Style']),((_0x36c681=_0x1a66ab[_0x13ca62(0x2e5)])==null?void 0x0:_0x36c681[_0x13ca62(0x3f8)])===_0xf78bcd['Data']&&_0x3e7bf2(_0xf78bcd[_0x13ca62(0x259)]));},[_0x2e53fc,_0x1a66ab]),!_0x37c573)return null;let _0x1c92fd=_0x631d41(_0x3f2640(0x236),{'className':_0x3f2640(0x44a),'children':_0x631d41(_0x11c083,{'ariaLabel':_0x15571a['t'](_0x3f2640(0x403)),'activeTab':_0x45a8a6,'onTabChange':_0x3e7bf2,'tabListClassName':_0x3f2640(0x1bb),'panelClassName':_0x45a8a6===_0xf78bcd[_0x3f2640(0x40e)]?'-univer-mx-4\x20univer-overflow-visible':'univer-overflow-visible','tabs':[{'id':_0xf78bcd[_0x3f2640(0x259)],'panelId':'mobile-sheet-chart-setup-panel','title':_0x15571a['t'](_0x3f2640(0x409)),'content':_0x631d41(Wi,{})},{'id':_0xf78bcd[_0x3f2640(0x40e)],'panelId':_0x3f2640(0x499),'title':_0x15571a['t'](_0x3f2640(0x284)),'content':_0x631d41(wi,{'defaultValues':yi})}]})});return _0x631d41(_0x43ec19,{'chartUIService':_0x508732,'hostAdapter':_0x37c573,'children':_0x1c92fd});}let qi=class extends _0x3a35f7{constructor(_0x54cda3){const _0x29bb00=_0x263333;super(),this[_0x29bb00(0x2a9)](_0x54cda3['register'](Ei,Ki));}};qi=J([q(0x0,_0x5190dd(_0x5c17db))],qi);let Ji=class extends _0x3a35f7{constructor(_0x16b089,_0xc52313,_0x4b923f,_0x84c183,_0x294d3e,_0x15ad7b,_0x31b6f1,_0x48950f,_0x431680){const _0x59a2b5=_0x263333;super(),this['_drawingManagerService']=_0x16b089,this['_chartModelService']=_0xc52313,this[_0x59a2b5(0x41b)]=_0x4b923f,this['_menuManagerService']=_0x84c183,this[_0x59a2b5(0x35d)]=_0x294d3e,this[_0x59a2b5(0x2ad)]=_0x15ad7b,this[_0x59a2b5(0x43a)]=_0x31b6f1,this[_0x59a2b5(0x3ef)]=_0x48950f,this['_localeService']=_0x431680,G(this,'_sidebarDisposable',null),G(this,_0x59a2b5(0x31c),!0x1),this[_0x59a2b5(0x253)]();}[_0x263333(0x2ce)](){const _0x1137e1=_0x263333;this[_0x1137e1(0x1a1)](),super['dispose']();}[_0x263333(0x354)](){const _0x4f3a18=_0x263333;this[_0x4f3a18(0x31c)]||(this[_0x4f3a18(0x31c)]=!0x0,this[_0x4f3a18(0x2a9)](this[_0x4f3a18(0x2ad)]['onCommandExecuted'](_0x35b3b8=>{const _0x3707ef=_0x4f3a18;if(_0x35b3b8['id']!==U['id'])return;let _0xb7e462=_0x35b3b8[_0x3707ef(0x2fc)];this['openChartPanelById'](_0xb7e462[_0x3707ef(0x3ae)],_0xb7e462[_0x3707ef(0x2e5)]);})));}[_0x263333(0x1cd)](_0x24a373,_0x57b3a6){const _0x26ef4e=_0x263333;let _0x4b954a=this[_0x26ef4e(0x2aa)][_0x26ef4e(0x216)](_0x24a373);_0x4b954a&&(this[_0x26ef4e(0x2aa)][_0x26ef4e(0x1c8)](_0x4b954a),this[_0x26ef4e(0x420)](),this[_0x26ef4e(0x43a)]['setChartEditorOpen'](!0x0),this['_sheetsChartUIService']['setPanelRoute'](_0x24a373,_0x57b3a6??null));}[_0x263333(0x1a1)](){const _0x4f5bc6=_0x263333;let _0x1baeb0=this[_0x4f5bc6(0x1b9)];this[_0x4f5bc6(0x1b9)]=null,this[_0x4f5bc6(0x341)](),_0x1baeb0==null||_0x1baeb0[_0x4f5bc6(0x2ce)]();}[_0x263333(0x253)](){const _0x558645=_0x263333;this[_0x558645(0x1c2)][_0x558645(0x1a9)]({[_0x5b48fa['MEDIA']]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}}}),this[_0x558645(0x35d)][_0x558645(0x417)](_0x815b3e[_0x558645(0x2c4)],(_0x2df05f,_0x5ef645,_0x2a926d,_0x206c32)=>[{'label':this[_0x558645(0x1cc)]['t'](_0x558645(0x403)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x2df05f,'subUnitId':_0x5ef645,'drawingId':_0x2a926d},'disable':_0x206c32!==_0x815b3e['DRAWING_CHART']},{'label':this[_0x558645(0x1cc)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x46454a['id'],'commandParams':{'unitId':_0x2df05f,'drawings':[{'unitId':_0x2df05f,'subUnitId':_0x5ef645,'drawingId':_0x2a926d,'drawingType':_0x206c32}]},'disable':!0x1}],_0x558645(0x378));}[_0x263333(0x420)](){const _0x1670ca=_0x263333;this[_0x1670ca(0x1b9)]=this['_sidebarService'][_0x1670ca(0x26a)]({'id':Ei,'header':{'title':this[_0x1670ca(0x1cc)]['t'](_0x1670ca(0x403))},'children':{'label':Ei},'onClose':()=>{const _0x316551=_0x1670ca;this[_0x316551(0x1b9)]=null,this[_0x316551(0x341)]();}});}[_0x263333(0x341)](){const _0x521112=_0x263333;this[_0x521112(0x43a)]['setChartEditorOpen'](!0x1),this[_0x521112(0x43a)]['clearPanelRoute'](),this[_0x521112(0x2aa)][_0x521112(0x46e)]&&this['_chartModelService'][_0x521112(0x1c8)](null),this[_0x521112(0x2c2)][_0x521112(0x36c)](null),this['_contextService'][_0x521112(0x2f3)](_0x3188eb,!0x1);}};Ji=J([q(0x0,_0x1e57fe),q(0x1,_0x5190dd(_0x32f3e4)),q(0x2,_0x5190dd(_0x1a8322)),q(0x3,_0x31f657),q(0x4,_0x5190dd(_0x4b902f)),q(0x5,_0x63bada),q(0x6,X),q(0x7,_0x599068),q(0x8,_0x5190dd(_0x50e4d0))],Ji);let Yi=class extends _0x3a35f7{constructor(_0x8b0c25,_0x2e55c6,_0x4f3f9a,_0x9e1cac,_0x58ac68){const _0x5432fb=_0x263333;super(),this['_sheetSkeletonService']=_0x8b0c25,this[_0x5432fb(0x34b)]=_0x2e55c6,this[_0x5432fb(0x1e9)]=_0x4f3f9a,this['_chartModelService']=_0x9e1cac,this[_0x5432fb(0x3ad)]=_0x58ac68,G(this,'_copyInfo',void 0x0),this['_initCopyPaste']();}get[_0x263333(0x2e8)](){const _0x11e1b7=_0x263333;return this[_0x11e1b7(0x1e9)][_0x11e1b7(0x404)]();}[_0x263333(0x468)](){const _0x1a5cc8=_0x263333;this[_0x1a5cc8(0x2a9)](this[_0x1a5cc8(0x34b)][_0x1a5cc8(0x2be)]({'id':_0x21c943,'onBeforeCopyFocusedObject':(_0x27a992,_0x38bf72,_0x55cf5f)=>{const _0x266bad=_0x1a5cc8;this[_0x266bad(0x470)]=null;let _0x97dff2=this[_0x266bad(0x2e8)][_0x266bad(0x34d)](_0x3931bf=>this['_isOwnedChart'](_0x3931bf));return _0x97dff2[_0x266bad(0x1e0)]!==0x0&&(this[_0x266bad(0x470)]={'unitId':_0x27a992,'subUnitId':_0x38bf72,'copyType':_0x55cf5f,'drawings':_0x97dff2},!0x0);},'onBeforeCopy':(_0x419d0b,_0x454379,_0x5be37d,_0x1c602b)=>{const _0x10c72d=_0x1a5cc8;this['_copyInfo']=null,this[_0x10c72d(0x33d)](_0x419d0b,_0x454379,_0x5be37d,_0x1c602b);},'onPasteCells':(_0x245180,_0x4f0447,_0x303b36,_0x53a02f)=>{const _0x4718f6=_0x1a5cc8;if(!_0x53a02f[_0x4718f6(0x336)]||!_0x245180||!this[_0x4718f6(0x470)])return{'redos':[],'undos':[]};let {pasteType:_0x3cc377}=_0x53a02f;return _0x3cc377===_0x2fbc4c[_0x4718f6(0x1ec)]?this['_generatePasteMutations'](_0x4f0447,this[_0x4718f6(0x470)][_0x4718f6(0x2ca)]===_0x3942c2[_0x4718f6(0x392)]):{'redos':[],'undos':[]};}}));}[_0x263333(0x33d)](_0x5315af,_0x30141f,_0x5d8976,_0x39a294){const _0x4f974f=_0x263333;let _0x2d6414=this[_0x4f974f(0x3b2)]['getSkeleton'](_0x5315af,_0x30141f);if(!_0x2d6414)return;let _0xe3b8bf=_0x432fae(_0x2d6414,_0x5d8976);if(!_0xe3b8bf)return;let {startX:_0x3c227d,endX:_0x11bfab,startY:_0x58f287,endY:_0x4ac35c}=_0xe3b8bf,_0x94c28f=this[_0x4f974f(0x1e9)][_0x4f974f(0x3d8)](_0x5315af,_0x30141f),_0x48bd0a=[];for(let [_0x292faf,_0x270e22]of Object['entries'](_0x94c28f)){if(!this['_isOwnedChart'](_0x270e22))continue;let {transform:_0x5dbb4f}=_0x270e22;if(!_0x5dbb4f)continue;let {left:_0x50a3f9=0x0,top:_0x730a97=0x0,width:_0x471e9d=0x0,height:_0x4ec284=0x0}=_0x5dbb4f;_0x3c227d<=_0x50a3f9&&_0x11bfab>=_0x50a3f9+_0x471e9d&&_0x58f287<=_0x730a97&&_0x4ac35c>=_0x730a97+_0x4ec284&&_0x48bd0a[_0x4f974f(0x3b4)](_0x270e22);}_0x48bd0a[_0x4f974f(0x1e0)]>0x0&&(this[_0x4f974f(0x470)]={'unitId':_0x5315af,'subUnitId':_0x30141f,'copyType':_0x39a294,'copyRange':_0x5d8976,'drawings':_0x48bd0a});}['_isOwnedChart'](_0x14bf23){const _0x264db2=_0x263333;return _0x14bf23[_0x264db2(0x23d)]===_0x815b3e[_0x264db2(0x2c4)]&&this['_sheetsChartService']['getSubUnitId'](_0x14bf23[_0x264db2(0x47d)],_0x14bf23['drawingId'])===_0x14bf23[_0x264db2(0x29a)];}[_0x263333(0x41d)](_0x199e08,_0x2bc147){const _0x2872d3=_0x263333;let {unitId:_0x28f5ca,subUnitId:_0x542993,range:_0x4fe98a}=_0x199e08,_0x461d81=this['_sheetSkeletonService']['getSkeleton'](_0x28f5ca,_0x542993);if(!_0x461d81)return{'redos':[],'undos':[]};let _0x33bc0b=_0x735cdb(_0x4fe98a),{unitId:_0x293137,subUnitId:_0x3841d8,copyRange:_0x5a0683,drawings:_0x4cc6c7}=this[_0x2872d3(0x470)],_0x4cb9bc=this[_0x2872d3(0x3b2)][_0x2872d3(0x38a)](_0x293137,_0x3841d8);if(!_0x4cb9bc)return{'redos':[],'undos':[]};let _0x251187=[],_0x1d5b9b=[];for(let _0x260467 of _0x4cc6c7){let {drawingId:_0x30b21e,transform:_0xd7cd69,sheetTransform:_0x1a2493}=_0x260467,_0x3d4b22=this[_0x2872d3(0x2aa)][_0x2872d3(0x216)](_0x30b21e);if(!_0x3d4b22||!_0xd7cd69||!_0x1a2493)continue;let _0x254bdf=this[_0x2872d3(0x260)]({'transform':_0xd7cd69,'sheetTransform':_0x1a2493},{'skeleton':_0x4cb9bc,'range':_0x5a0683},{'skeleton':_0x461d81,'range':_0x33bc0b});if(_0x2bc147){let {redos:_0x4eb996,undos:_0x515663}=this['_generateCutPasteMutations']({'fromUnitId':_0x293137,'fromSubUnitId':_0x3841d8,'toUnitId':_0x28f5ca,'toSubUnitId':_0x542993,'drawing':_0x260467,'newTransforms':_0x254bdf},_0x3d4b22);_0x251187[_0x2872d3(0x3b4)](..._0x4eb996),_0x1d5b9b[_0x2872d3(0x3b4)](..._0x515663);continue;}let {redos:_0x53cda3,undos:_0x4c2d56}=this[_0x2872d3(0x30a)]({'toUnitId':_0x28f5ca,'toSubUnitId':_0x542993,'drawing':_0x260467,'newTransforms':_0x254bdf},_0x3d4b22);_0x251187[_0x2872d3(0x3b4)](..._0x53cda3),_0x1d5b9b['push'](..._0x4c2d56);}return{'redos':_0x251187,'undos':_0x1d5b9b};}[_0x263333(0x1e8)](_0x449330,_0x818ffe){const _0x302846=_0x263333;let {fromUnitId:_0x18d5a0,fromSubUnitId:_0x160dfd,toUnitId:_0x471c5a,toSubUnitId:_0x4c6253,drawing:_0x30017f,newTransforms:_0x29399f}=_0x449330,_0x3b6b2c={..._0x30017f,'unitId':_0x471c5a,'subUnitId':_0x4c6253,'transform':_0x29399f[_0x302846(0x471)],'sheetTransform':_0x29399f['sheetTransform']};if(_0x471c5a===_0x18d5a0&&_0x4c6253===_0x160dfd){let {redo:_0x4dcbf0,undo:_0x53b2ae,objects:_0x4627ae}=this[_0x302846(0x1e9)]['getBatchUpdateOp']([_0x3b6b2c]);return{'redos':[{'id':_0x4080f3['id'],'params':{'unitId':_0x471c5a,'subUnitId':_0x4c6253,'type':_0x564d9d[_0x302846(0x325)],'op':_0x4dcbf0,'objects':_0x4627ae}}],'undos':[{'id':_0x4080f3['id'],'params':{'unitId':_0x471c5a,'subUnitId':_0x4c6253,'type':_0x564d9d['UPDATE'],'op':_0x53b2ae,'objects':_0x4627ae}}]};}{let _0xb6a2e=this['_sheetDrawingService']['getBatchRemoveOp']([_0x30017f]),_0x2068e3=this[_0x302846(0x1e9)][_0x302846(0x1dc)]([_0x3b6b2c]),_0x3bf3a1=this[_0x302846(0x3ad)][_0x302846(0x24a)](_0x818ffe['id']);if(!_0x3bf3a1)return{'redos':[],'undos':[]};let {chartType:_0xaf2aa6,context:_0x34a267,style:_0x134a0c,dataAggregation:_0x4b7dae}=_0x818ffe[_0x302846(0x2f2)]();return{'redos':[{'id':_0x4080f3['id'],'params':{'unitId':_0x18d5a0,'subUnitId':_0x160dfd,'type':_0x564d9d[_0x302846(0x1a4)],'op':_0xb6a2e[_0x302846(0x1ee)],'objects':_0xb6a2e[_0x302846(0x235)]}},{'id':_0x346aa4['id'],'params':{'unitId':_0x18d5a0,'subUnitId':_0x160dfd,'chartId':_0x30017f[_0x302846(0x3ae)]}},{'id':_0x4080f3['id'],'params':{'unitId':_0x471c5a,'subUnitId':_0x4c6253,'type':_0x564d9d[_0x302846(0x2e7)],'op':_0x2068e3[_0x302846(0x1ee)],'objects':_0x2068e3[_0x302846(0x235)]}},{'id':_0x1a4a0b['id'],'params':{'unitId':_0x471c5a,'subUnitId':_0x4c6253,'chartId':_0x30017f['drawingId'],'chartType':_0xaf2aa6,..._0x4e634f(_0x3bf3a1),'context':_0x34a267,'style':_0x134a0c,'dataAggregation':_0x4b7dae}}],'undos':[{'id':_0x4080f3['id'],'params':{'unitId':_0x18d5a0,'subUnitId':_0x160dfd,'type':_0x564d9d[_0x302846(0x2e7)],'op':_0xb6a2e[_0x302846(0x361)],'objects':_0xb6a2e[_0x302846(0x235)]}},{'id':_0x1a4a0b['id'],'params':{'unitId':_0x18d5a0,'subUnitId':_0x160dfd,'chartId':_0x30017f['drawingId'],'chartType':_0xaf2aa6,..._0x4e634f(_0x3bf3a1),'context':_0x34a267,'style':_0x134a0c,'dataAggregation':_0x4b7dae}},{'id':_0x4080f3['id'],'params':{'unitId':_0x471c5a,'subUnitId':_0x4c6253,'type':_0x564d9d[_0x302846(0x1a4)],'op':_0x2068e3[_0x302846(0x361)],'objects':_0x2068e3[_0x302846(0x235)]}},{'id':_0x346aa4['id'],'params':{'unitId':_0x471c5a,'subUnitId':_0x4c6253,'chartId':_0x30017f[_0x302846(0x3ae)]}}]};}}['_generateCopyPasteMutations'](_0x1cd9ea,_0x383fc4){const _0x1046f2=_0x263333;let {toUnitId:_0x12e545,toSubUnitId:_0x9d5783,drawing:_0x33ae5f,newTransforms:_0x5b0f8f}=_0x1cd9ea,_0x1151f8=_0x4c4d3a(),_0x3b6682={..._0x33ae5f,'unitId':_0x12e545,'subUnitId':_0x9d5783,'drawingId':_0x1151f8,'transform':_0x5b0f8f['transform'],'sheetTransform':_0x5b0f8f[_0x1046f2(0x351)]},{redo:_0x472976,undo:_0x269399,objects:_0x3da355}=this[_0x1046f2(0x1e9)][_0x1046f2(0x1dc)]([_0x3b6682]),_0xc4da75=this[_0x1046f2(0x3ad)][_0x1046f2(0x24a)](_0x383fc4['id']);if(!_0xc4da75)return{'redos':[],'undos':[]};let {chartType:_0x5d043f,context:_0x237600,style:_0x1f4608,dataAggregation:_0x3b7ab1}=_0x383fc4[_0x1046f2(0x2f2)]();return{'redos':[{'id':_0x4080f3['id'],'params':{'unitId':_0x12e545,'subUnitId':_0x9d5783,'type':_0x564d9d[_0x1046f2(0x2e7)],'op':_0x472976,'objects':_0x3da355}},{'id':_0x1a4a0b['id'],'params':{'unitId':_0x12e545,'subUnitId':_0x9d5783,'chartId':_0x1151f8,'chartType':_0x5d043f,..._0x4e634f(_0xc4da75),'context':_0x237600,'style':_0x1f4608,'dataAggregation':_0x3b7ab1}}],'undos':[{'id':_0x4080f3['id'],'params':{'unitId':_0x12e545,'subUnitId':_0x9d5783,'type':_0x564d9d[_0x1046f2(0x1a4)],'op':_0x269399,'objects':_0x3da355}},{'id':_0x346aa4['id'],'params':{'unitId':_0x12e545,'subUnitId':_0x9d5783,'chartId':_0x1151f8}}]};}[_0x263333(0x260)](_0x4130d3,_0x4ac2fc,_0x502075){const _0x47865f=_0x263333;let {range:_0x4fbb0a,skeleton:_0xb51ddf}=_0x4ac2fc,{range:_0x4254c0,skeleton:_0x53e012}=_0x502075,{transform:_0x39bd04,sheetTransform:_0x10c1dc}=_0x4130d3,_0x2b884e={..._0x39bd04};if(_0x4fbb0a){let _0x2bd062=_0x432fae(_0xb51ddf,_0x4fbb0a),_0x1a2b56=_0x432fae(_0x53e012,_0x4254c0);if(_0x2bd062&&_0x1a2b56){let _0x132678=_0x1a2b56[_0x47865f(0x2f9)]-_0x2bd062[_0x47865f(0x2f9)],_0x566bdb=_0x1a2b56['startY']-_0x2bd062[_0x47865f(0x3bd)];_0x2b884e[_0x47865f(0x334)]=(_0x2b884e[_0x47865f(0x334)]??0x0)+_0x132678,_0x2b884e[_0x47865f(0x250)]=(_0x2b884e[_0x47865f(0x250)]??0x0)+_0x566bdb;}}else{let _0x1183ef=_0x432fae(_0x53e012,_0x4254c0);_0x2b884e[_0x47865f(0x334)]=_0x1183ef==null?void 0x0:_0x1183ef[_0x47865f(0x2f9)],_0x2b884e[_0x47865f(0x250)]=_0x1183ef==null?void 0x0:_0x1183ef[_0x47865f(0x3bd)];}return{'transform':_0x2b884e,'sheetTransform':_0x35ed34(_0x2b884e,_0x53e012)??_0x10c1dc};}};Yi=J([q(0x0,_0x5190dd(_0x1b596f)),q(0x1,_0x5190dd(_0xfb9994)),q(0x2,_0x5190dd(_0x3e9d1a)),q(0x3,_0x5190dd(_0x32f3e4)),q(0x4,_0x5190dd(_0x2787aa))],Yi);let Xi=class extends _0x3a35f7{constructor(_0x6c35a1,_0x4567cc,_0x6973fc,_0x403bc1){const _0x5cdd69=_0x263333;super(),this['_commandService']=_0x6c35a1,this['_localeService']=_0x4567cc,this['_sheetPermissionCheckController']=_0x6973fc,this[_0x5cdd69(0x3ad)]=_0x403bc1,this['_initPermission']();}[_0x263333(0x2db)](){const _0x150c4c=_0x263333;this[_0x150c4c(0x2a9)](this[_0x150c4c(0x2ad)][_0x150c4c(0x493)](_0x3c7757=>{const _0x5d10a8=_0x150c4c;let _0x1c25e7,_0x2966c8;if(_0x3c7757['id']===_0x43527e['id']){let _0x174085=_0x3c7757[_0x5d10a8(0x2fc)];_0x1c25e7=_0x174085[_0x5d10a8(0x47d)],_0x2966c8=_0x174085['subUnitId'];}else{if(_0x3c7757['id']===_0x47cbc8['id']||_0x3c7757['id']===_0x5f3e75['id']){let _0x530462=_0x3c7757[_0x5d10a8(0x2fc)];_0x1c25e7=_0x530462[_0x5d10a8(0x47d)],_0x2966c8=this[_0x5d10a8(0x3ad)][_0x5d10a8(0x322)](_0x530462['unitId'],_0x530462[_0x5d10a8(0x3ca)]);}}_0x1c25e7&&_0x2966c8&&(this[_0x5d10a8(0x34a)][_0x5d10a8(0x257)]({'workbookTypes':[_0x4c9e22],'worksheetTypes':[_0xe75b66]},_0x1c25e7,_0x2966c8)||this[_0x5d10a8(0x34a)]['blockExecuteWithoutPermission'](this['_localeService']['t'](_0x5d10a8(0x38d))));}));}};Xi=J([q(0x0,_0x5190dd(_0x63bada)),q(0x1,_0x5190dd(_0x50e4d0)),q(0x2,_0x5190dd(_0x15b11f)),q(0x3,_0x5190dd(_0x2787aa))],Xi);let Zi=class extends _0x3a35f7{constructor(_0x4a530d,_0x575a48){const _0x446ee6=_0x263333;super(),this['_renderService']=_0x575a48,this['disposeWithMe'](_0x4a530d[_0x446ee6(0x1b7)](this));}[_0x263333(0x230)](_0x21be3b){const _0x23ace0=_0x263333;return'unitId'in _0x21be3b&&_0x23ace0(0x29a)in _0x21be3b;}[_0x263333(0x487)](_0xfd1999,_0x16ca18){const _0x27800b=_0x263333;return this[_0x27800b(0x43d)][_0x27800b(0x487)](_0xfd1999['getId'](),_0x16ca18);}};Zi=J([q(0x0,_0x5190dd(_0x26ba90)),q(0x1,_0x5190dd(Y))],Zi);let Q=class extends _0x172141{constructor(_0x3012d3=Cr,_0x1bd64e,_0x56cdf1,_0x39f2fc){const _0x349ea1=_0x263333;super(),this[_0x349ea1(0x2df)]=_0x3012d3,this[_0x349ea1(0x269)]=_0x1bd64e,this[_0x349ea1(0x33f)]=_0x56cdf1,this[_0x349ea1(0x2ad)]=_0x39f2fc;let {..._0x11af58}=_0x1db3d3({},Cr,this[_0x349ea1(0x2df)]);this['_configService'][_0x349ea1(0x465)](Sr,_0x11af58),this['_initCommands']();}['onStarting'](){const _0x1a2d13=_0x263333;let _0x6f82f2=[[qi],[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[Ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x4464f2=[[qi],[Ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];_0x6f82f2['forEach'](_0x1f243c=>this['_injector'][_0x1a2d13(0x2bd)](_0x1f243c)),_0x4cce69(this['_injector'],_0x4464f2);}[_0x263333(0x435)](){const _0x4275fb=_0x263333;var _0x121847;(_0x121847=this['_injector'][_0x4275fb(0x461)](Ji))==null||_0x121847[_0x4275fb(0x354)]();}[_0x263333(0x2d0)](){const _0x562969=_0x263333;[W,U]['forEach'](_0x2f9ff9=>this[_0x562969(0x2a9)](this[_0x562969(0x2ad)][_0x562969(0x36a)](_0x2f9ff9)));}};G(Q,_0x263333(0x272),_0x1ed8d9[_0x263333(0x2d4)]),G(Q,'pluginName',_0x263333(0x1d9)),G(Q,_0x263333(0x1a5),Mi),G(Q,_0x263333(0x483),Ni),Q=J([_0x269324(_0x54c646,_0x465357,_0xad70e6,_0x42887e,_0x32d2dc,_0x49283a,_0x13eccd,_0x181cc5,_0x103b3f,_0x255b1e),q(0x1,_0x5190dd(_0x16b37d)),q(0x2,_0x11a50d),q(0x3,_0x63bada)],Q);const Qi={'scaleX':0x1,'scaleY':0x1};function $i(_0x4de964){const _0x44ef5e=_0x263333;let _0x3ed7f2=_0x4de964[_0x44ef5e(0x478)];return _0x3ed7f2 instanceof MouseEvent?_0x3ed7f2:void 0x0;}function ea(_0x21b220){const _0x1598b3=_0x263333;let _0x17d107=_0x21b220[_0x1598b3(0x478)],_0x1a0282=_0x17d107==null?void 0x0:_0x17d107[_0x1598b3(0x3af)];return _0x1a0282 instanceof Element?_0x1a0282:void 0x0;}function ta(_0x5c3a8b){const _0x28df76=_0x263333;var _0x21abab;return(_0x21abab=ea(_0x5c3a8b))==null?void 0x0:_0x21abab[_0x28df76(0x1df)]();}function na(_0x550abb){const _0x56bac4=_0x263333;return _0x550abb[_0x56bac4(0x33e)]||_0x550abb[_0x56bac4(0x214)]-_0x550abb[_0x56bac4(0x334)];}function ra(_0x4a9c7d){const _0x5e413e=_0x263333;return _0x4a9c7d['height']||_0x4a9c7d[_0x5e413e(0x1d2)]-_0x4a9c7d[_0x5e413e(0x250)];}function ia(_0x5c0850,_0x16f9bd){const _0xaaf12b=_0x263333;let _0x3734a1=_0x5c0850[_0xaaf12b(0x3c6)]||(_0x5c0850 instanceof HTMLElement?_0x5c0850[_0xaaf12b(0x377)]:0x0),_0x5f3aea=_0x5c0850['clientHeight']||(_0x5c0850 instanceof HTMLElement?_0x5c0850['offsetHeight']:0x0),_0x132edc=na(_0x16f9bd),_0x3a68bd=ra(_0x16f9bd);return{'scaleX':_0x3734a1>0x0&&_0x132edc>0x0?_0x132edc/_0x3734a1:Qi[_0xaaf12b(0x372)],'scaleY':_0x5f3aea>0x0&&_0x3a68bd>0x0?_0x3a68bd/_0x5f3aea:Qi[_0xaaf12b(0x294)]};}function aa(_0x569437,_0x1ba75c,_0xc19bd2){const _0x4cc01a=_0x263333;return{'left':_0x569437[_0x4cc01a(0x334)]+_0x1ba75c[_0x4cc01a(0x334)]*_0xc19bd2[_0x4cc01a(0x372)],'right':_0x569437[_0x4cc01a(0x334)]+_0x1ba75c['right']*_0xc19bd2[_0x4cc01a(0x372)],'top':_0x569437['top']+_0x1ba75c[_0x4cc01a(0x250)]*_0xc19bd2[_0x4cc01a(0x294)],'bottom':_0x569437[_0x4cc01a(0x250)]+_0x1ba75c[_0x4cc01a(0x1d2)]*_0xc19bd2['scaleY']};}function oa(_0x450181){const _0x140077=_0x263333;let _0x1e00dc=ea(_0x450181),_0x121267=_0x450181[_0x140077(0x2cf)][_0x140077(0x2ef)];if(_0x1e00dc&&_0x121267){let _0x46ffae=_0x1e00dc[_0x140077(0x1df)]();return()=>{const _0x2c8b22=_0x140077;let _0x4cb801=_0x1e00dc[_0x2c8b22(0x1df)]();return(_0x1e00dc[_0x2c8b22(0x315)]||na(_0x4cb801)>0x0||ra(_0x4cb801)>0x0)&&(_0x46ffae=_0x4cb801),aa(_0x46ffae,_0x121267,ia(_0x1e00dc,_0x46ffae));};}return()=>{const _0x5d0e31=_0x140077;let _0x3bcfa9=ta(_0x450181);if(_0x3bcfa9&&_0x121267)return aa(_0x3bcfa9,_0x121267,_0x1e00dc?ia(_0x1e00dc,_0x3bcfa9):Qi);let _0x5361b8=$i(_0x450181),_0x45b539=_0x1e00dc&&_0x3bcfa9?ia(_0x1e00dc,_0x3bcfa9):Qi,_0x1e8e03=(_0x5361b8==null?void 0x0:_0x5361b8['clientX'])??(_0x3bcfa9?_0x3bcfa9['left']+_0x450181['localPoint']['x']*_0x45b539['scaleX']:_0x450181['localPoint']['x']),_0x260cce=(_0x5361b8==null?void 0x0:_0x5361b8[_0x5d0e31(0x324)])??(_0x3bcfa9?_0x3bcfa9[_0x5d0e31(0x250)]+_0x450181[_0x5d0e31(0x3f6)]['y']*_0x45b539[_0x5d0e31(0x294)]:_0x450181[_0x5d0e31(0x3f6)]['y']);return{'left':_0x1e8e03,'right':_0x1e8e03+0x1,'top':_0x260cce,'bottom':_0x260cce+0x1};};}function sa(_0x85ff2a){const _0x3b667d=_0x263333;return typeof _0x85ff2a==_0x3b667d(0x373)&&Number[_0x3b667d(0x48f)](_0x85ff2a);}function ca(_0x2e77f8){const _0x536d1a=_0x263333;if(!_0x2e77f8||typeof _0x2e77f8!=_0x536d1a(0x33b))return!0x0;let {startX:_0x143aa6,endX:_0x340a7d,startY:_0x5adbd4,endY:_0x528bb1}=_0x2e77f8;return!sa(_0x143aa6)||!sa(_0x340a7d)||!sa(_0x5adbd4)||!sa(_0x528bb1)||_0x340a7d-_0x143aa6>0x2&&_0x528bb1-_0x5adbd4>0x2;}function la(_0x2d20c6){const _0x1a0d6b=_0x263333;return _0x2d20c6[_0x1a0d6b(0x214)]<=_0x2d20c6[_0x1a0d6b(0x334)]||_0x2d20c6['bottom']<=_0x2d20c6[_0x1a0d6b(0x250)]?!0x1:typeof window>'u'||_0x2d20c6[_0x1a0d6b(0x214)]>0x0&&_0x2d20c6['bottom']>0x0&&_0x2d20c6['left']<window[_0x1a0d6b(0x331)]&&_0x2d20c6[_0x1a0d6b(0x250)]<window['innerHeight'];}function ua(_0x4b2808){const _0x4bd16c=_0x263333;var _0x41b0dd;return _0x4b2808==null||(_0x41b0dd=_0x4b2808[_0x4bd16c(0x227)])==null?void 0x0:_0x41b0dd[_0x4bd16c(0x1cf)](_0x4b2808);}function da(_0x5234da,_0x58fee0,_0x59c915){const _0x193f60=_0x263333;let _0x194304=oa(_0x5234da),_0x4b11e9=ua(_0x58fee0),_0x59ab5a=_0x194304(),_0x4371ae=new _0x4a0875(_0x59ab5a),_0x217ec7=new _0x3c471c(),_0x3fcf9b=!0x1,_0x5a2b5a=!0x1,_0x23c2ea=_0x5542d9=>ca(_0x4b11e9)&&la(_0x5542d9),_0x2ad6d2=()=>{_0x5a2b5a||_0x3fcf9b||(_0x5a2b5a=!0x0,queueMicrotask(()=>{if(_0x5a2b5a=!0x1,!_0x3fcf9b){let _0x823d2a=_0x194304();if(!_0x23c2ea(_0x823d2a)){_0x59c915();return;}_0x4371ae['next'](_0x823d2a);}}));};return _0x58fee0&&_0x217ec7[_0x193f60(0x2bd)](_0x58fee0[_0x193f60(0x312)](_0x4a2512=>{_0x4b11e9=_0x4a2512,_0x2ad6d2();})),typeof window<'u'&&_0x217ec7[_0x193f60(0x2bd)](_0x556df5(_0x471e76(window,_0x193f60(0x3c4),{'capture':!0x0}),_0x471e76(window,_0x193f60(0x291)))[_0x193f60(0x3e9)](_0x4a0275(0x10))[_0x193f60(0x312)](_0x2ad6d2)),{'initialRect':_0x59ab5a,'anchorRect$':_0x4371ae[_0x193f60(0x484)](),'visible':_0x23c2ea(_0x59ab5a),'dispose':()=>{const _0x4ff05=_0x193f60;_0x3fcf9b=!0x0,_0x217ec7[_0x4ff05(0x2ce)](),_0x4371ae[_0x4ff05(0x3e7)]();}};}const fa=_0x263333(0x2d8);let pa=class extends _0x3a35f7{constructor(_0x2d9a66,_0x29f3a1,_0x461b44,_0x2a2c9b,_0x1cb00e,_0x218d15,_0x65b1da,_0x472354,_0x3beaa4){const _0x13fc4c=_0x263333;super(),this[_0x13fc4c(0x2aa)]=_0x2d9a66,this[_0x13fc4c(0x47a)]=_0x29f3a1,this[_0x13fc4c(0x25c)]=_0x461b44,this[_0x13fc4c(0x35d)]=_0x2a2c9b,this['_sheetCanvasFloatDomManagerService']=_0x1cb00e,this[_0x13fc4c(0x42a)]=_0x218d15,this[_0x13fc4c(0x280)]=_0x65b1da,this['_commandService']=_0x472354,this[_0x13fc4c(0x269)]=_0x3beaa4,G(this,_0x13fc4c(0x1db),null),G(this,_0x13fc4c(0x3de),null),G(this,_0x13fc4c(0x368),null),this[_0x13fc4c(0x2f5)](),this['_subscribeChartEvents']();}['dispose'](){const _0x24cdd6=_0x263333;this[_0x24cdd6(0x47c)](),super[_0x24cdd6(0x2ce)]();}[_0x263333(0x2f5)](){const _0x170370=_0x263333;let _0x4d586e=_0xcf966({'chartUIService':this[_0x170370(0x42a)],'getHostAdapter':_0x1a18df=>{const _0x333eaf=_0x170370;let _0x54a987=this[_0x333eaf(0x2aa)][_0x333eaf(0x216)](_0x1a18df[_0x333eaf(0x3c7)]);if(_0x54a987&&_0x1a18df[_0x333eaf(0x29a)])return new _0x3898d0(_0x54a987,new _0x3efb65({'unitId':_0x1a18df['unitId'],'subUnitId':_0x1a18df[_0x333eaf(0x29a)],'chartId':_0x1a18df[_0x333eaf(0x3c7)],'injector':this[_0x333eaf(0x269)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0xbb3ad9=>{const _0x4f5af4=_0x170370;let {unitId:_0x6c9012,subUnitId:_0x100e89,drawingId:_0x38e130,chartId:_0x11f2a7}=_0xbb3ad9,_0x33f0ac=_0xdf9f48(_0xbb3ad9[_0x4f5af4(0x3af)]);this[_0x4f5af4(0x2ad)][_0x4f5af4(0x25f)](U['id'],{'unitId':_0x6c9012,'subUnitId':_0x100e89??'','drawingId':_0x38e130??_0x11f2a7,..._0x33f0ac?{'route':_0x33f0ac}:{}});}});this[_0x170370(0x2a9)](this[_0x170370(0x280)][_0x170370(0x1b7)](fa,_0x4d586e));}[_0x263333(0x1eb)](){const _0x2c8bea=_0x263333;this['disposeWithMe'](this[_0x2c8bea(0x2aa)]['chartModelAdded$']['subscribe'](_0x1ba505=>{const _0x264121=_0x2c8bea;let _0x54ad71=new _0x3c471c();_0x54ad71[_0x264121(0x2bd)](this[_0x264121(0x47a)]['on'](_0x1ba505['id'],_0x264121(0x203),_0x125fd6=>{this['_openFloatMenu'](_0x1ba505['id'],_0x125fd6);})),_0x54ad71[_0x264121(0x2bd)](this[_0x264121(0x47a)]['on'](_0x1ba505['id'],_0x264121(0x2d9),()=>{const _0x34b5b5=_0x264121;this[_0x34b5b5(0x209)](_0x1ba505['id']);})),_0x1ba505['onDispose'](()=>{const _0x52916e=_0x264121;_0x54ad71[_0x52916e(0x2ce)](),this[_0x52916e(0x3ce)](_0x1ba505['id']);}),this[_0x264121(0x2a9)](_0x54ad71);})),this[_0x2c8bea(0x2a9)](_0x52c64d([this[_0x2c8bea(0x2aa)][_0x2c8bea(0x286)],this[_0x2c8bea(0x42a)][_0x2c8bea(0x485)]])[_0x2c8bea(0x312)](([_0x26c8ce,_0x23e1c4])=>{const _0x155ec0=_0x2c8bea;(!_0x23e1c4||this[_0x155ec0(0x3de)]&&(_0x26c8ce==null?void 0x0:_0x26c8ce['id'])!==this[_0x155ec0(0x3de)])&&this[_0x155ec0(0x47c)]();})),this[_0x2c8bea(0x2a9)](this[_0x2c8bea(0x226)][_0x2c8bea(0x338)]['subscribe'](({id:_0x2618f4})=>{const _0x1ff07f=_0x2c8bea;this[_0x1ff07f(0x3ce)](_0x2618f4);})),this[_0x2c8bea(0x2a9)](this[_0x2c8bea(0x226)]['remove$']['subscribe'](({id:_0x31e00e})=>{this['_clearSelectedTarget'](_0x31e00e);})),this[_0x2c8bea(0x2a9)](this[_0x2c8bea(0x25c)][_0x2c8bea(0x228)][_0x2c8bea(0x312)](_0x3b9030=>{const _0x5e3816=_0x2c8bea;this[_0x5e3816(0x3ce)](_0x3b9030);}));}[_0x263333(0x209)](_0x398d93){const _0x4a15fb=_0x263333;if(this[_0x4a15fb(0x42a)][_0x4a15fb(0x2ea)])return;let _0xcbb10=this[_0x4a15fb(0x2aa)]['getChartModel'](_0x398d93),_0x21b098=this[_0x4a15fb(0x226)][_0x4a15fb(0x2f6)](_0x398d93);_0xcbb10&&_0x21b098&&this[_0x4a15fb(0x2ad)][_0x4a15fb(0x25f)](U['id'],{'unitId':_0x21b098[_0x4a15fb(0x47d)],'subUnitId':_0x21b098[_0x4a15fb(0x29a)]??'','drawingId':_0x398d93});}[_0x263333(0x46b)](_0x4f06c1,_0x46293b){const _0x4f57f0=_0x263333;if(!this[_0x4f57f0(0x42a)]['isElementEditModeActive'](_0x4f06c1))return;let _0x11764a=this['_chartModelService'][_0x4f57f0(0x216)](_0x4f06c1),_0x396860=_0x11764a?Gr(_0x11764a,_0x46293b[_0x4f57f0(0x2cf)]):void 0x0;if(!_0x396860){this[_0x4f57f0(0x42a)][_0x4f57f0(0x42d)](),this[_0x4f57f0(0x47c)]();return;}let _0xa20df=this[_0x4f57f0(0x226)][_0x4f57f0(0x2f6)](_0x4f06c1);if(!_0x11764a||!_0xa20df){this['_chartUIService'][_0x4f57f0(0x42d)](),this[_0x4f57f0(0x47c)]();return;}let _0x423bda=JSON['stringify']([_0xa20df[_0x4f57f0(0x47d)],_0xa20df[_0x4f57f0(0x29a)],_0x4f06c1,_0x396860[_0x4f57f0(0x3af)]]);if(this[_0x4f57f0(0x1db)]&&this['_popupSessionKey']===_0x423bda||(this[_0x4f57f0(0x42a)][_0x4f57f0(0x37e)](_0x4f06c1,_0x396860[_0x4f57f0(0x2e5)]),this[_0x4f57f0(0x47c)](),!_0x396860[_0x4f57f0(0x3cb)]))return;let _0x5d205b=da(_0x46293b,_0xa20df['position$'],()=>this[_0x4f57f0(0x2fd)](_0x4f06c1));if(!_0x5d205b[_0x4f57f0(0x35b)]){_0x5d205b[_0x4f57f0(0x2ce)]();return;}let _0x5941f9=this[_0x4f57f0(0x35d)][_0x4f57f0(0x3f9)](_0x5d205b[_0x4f57f0(0x26e)],_0x5d205b['anchorRect$'],{'componentKey':_0x4cb384,'constrainToCanvas':!0x0,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0xa20df[_0x4f57f0(0x47d)],'subUnitId':_0xa20df[_0x4f57f0(0x29a)],'chartId':_0x4f06c1,'drawingId':_0x4f06c1,'element':_0x46293b[_0x4f57f0(0x2cf)],'target':_0x396860[_0x4f57f0(0x3af)],'adapterKey':fa}},_0xa20df[_0x4f57f0(0x47d)],_0xa20df[_0x4f57f0(0x29a)])??null;if(!_0x5941f9){_0x5d205b[_0x4f57f0(0x2ce)]();return;}let _0x5a01cd=new _0x3c471c();_0x5a01cd['add'](_0x5941f9),_0x5a01cd[_0x4f57f0(0x2bd)](_0x5d205b),this['_popupDisposable']=_0x5a01cd,this['_popupChartId']=_0x4f06c1,this[_0x4f57f0(0x368)]=_0x423bda;}[_0x263333(0x47c)](){const _0x4baf42=_0x263333;var _0x37c73c;(_0x37c73c=this['_popupDisposable'])==null||_0x37c73c[_0x4baf42(0x2ce)](),this[_0x4baf42(0x1db)]=null,this[_0x4baf42(0x3de)]=null,this[_0x4baf42(0x368)]=null;}[_0x263333(0x3ce)](_0x7e15f5){const _0x215f91=_0x263333;(this[_0x215f91(0x42a)][_0x215f91(0x297)](_0x7e15f5)||this[_0x215f91(0x3de)]===_0x7e15f5)&&(this[_0x215f91(0x42a)][_0x215f91(0x42d)](),this['_popupChartId']===_0x7e15f5&&this[_0x215f91(0x47c)]());}[_0x263333(0x2fd)](_0x5a2738){const _0x387845=_0x263333;this[_0x387845(0x3ce)](_0x5a2738),this[_0x387845(0x42a)]['isElementEditModeActive'](_0x5a2738)&&(this[_0x387845(0x47a)]['setElementEditMode'](_0x5a2738,!0x1),this['_chartRenderService'][_0x387845(0x1a7)](_0x5a2738,!0x0));}};pa=J([q(0x0,_0x5190dd(_0x32f3e4)),q(0x1,_0x5190dd(Y)),q(0x2,pi),q(0x3,_0x5190dd(_0x4b902f)),q(0x4,_0x5190dd(_0x1f911b)),q(0x5,X),q(0x6,_0x5190dd(_0x532f03)),q(0x7,_0x63bada),q(0x8,_0x5190dd(_0x16b37d))],pa);let ma=class extends _0x3a35f7{constructor(_0x4a419e,_0x2d9da4){const _0x2e287a=_0x263333;super(),this[_0x2e287a(0x264)]=_0x4a419e,this['_iconManager']=_0x2d9da4,this['_registerIcons'](),this[_0x2e287a(0x42e)]();}[_0x263333(0x314)](){const _0x3cf2e8=_0x263333;this[_0x3cf2e8(0x2a9)](this[_0x3cf2e8(0x1ad)][_0x3cf2e8(0x1b7)]({'PenIcon':_0x702dcd}));}[_0x263333(0x42e)](){[[Ei,Ti]]['forEach'](([_0x5f2864,_0x443345])=>{const _0x367cee=_0x2930;this['disposeWithMe'](this[_0x367cee(0x264)][_0x367cee(0x1b7)](_0x5f2864,_0x443345));});}};ma=J([q(0x0,_0x5190dd(_0x5c17db)),q(0x1,_0x5190dd(_0x8564df))],ma);let $=class extends _0x172141{constructor(_0x300f87=Cr,_0x4b25a4,_0x511c04,_0x3f9384){const _0x469a46=_0x263333;super(),this[_0x469a46(0x2df)]=_0x300f87,this[_0x469a46(0x269)]=_0x4b25a4,this[_0x469a46(0x33f)]=_0x511c04,this[_0x469a46(0x2ad)]=_0x3f9384,G(this,_0x469a46(0x3dc),void 0x0);let {..._0x32d83f}=_0x1db3d3({},Cr,this[_0x469a46(0x2df)]);this[_0x469a46(0x3dc)]=_0x32d83f,this[_0x469a46(0x33f)]['setConfig'](Sr,_0x32d83f),this[_0x469a46(0x2d0)]();}['onStarting'](){const _0x26c545=_0x263333;this[_0x26c545(0x269)][_0x26c545(0x2bd)]([ma]),this['_injector'][_0x26c545(0x461)](ma);let _0x5f09d7=this[_0x26c545(0x269)],_0x21e46b=[[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x5ba2ec=[[ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];this[_0x26c545(0x3dc)][_0x26c545(0x3d4)]&&(_0x21e46b[_0x26c545(0x3b4)]([pa]),_0x5ba2ec[_0x26c545(0x3b4)]([pa])),_0x21e46b['forEach'](_0x5a9fbe=>_0x5f09d7['add'](_0x5a9fbe)),_0x4cce69(this['_injector'],_0x5ba2ec);}[_0x263333(0x435)](){const _0x563990=_0x263333;var _0x42637c;(_0x42637c=this['_injector']['get'](ji))==null||_0x42637c[_0x563990(0x354)]();}[_0x263333(0x2d0)](){const _0x4672be=_0x263333;[W,Dr,Or,kr,Ar,U,wr][_0x4672be(0x3b0)](_0x240dfb=>this[_0x4672be(0x2a9)](this[_0x4672be(0x2ad)][_0x4672be(0x36a)](_0x240dfb)));}};G($,'type',_0x1ed8d9[_0x263333(0x2d4)]),G($,'pluginName',_0x263333(0x1d9)),G($,_0x263333(0x1a5),Mi),G($,_0x263333(0x483),Ni),$=J([_0x269324(_0x54c646,_0x465357,_0xad70e6,_0x42887e,_0x32d2dc,_0x4e9ff0,_0x13eccd,_0x190210,_0x3b98e0),q(0x1,_0x5190dd(_0x16b37d)),q(0x2,_0x11a50d),q(0x3,_0x63bada)],$);export{U as ChartOpenPanelOperation,Y as ChartRenderService,X as ISheetsChartUIService,Sr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,ji as SheetsChartUIController,Hr as SheetsChartUIMenuSchema,_i as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,da as createChartElementPopupAnchorObserver};