@univerjs-pro/sheets-chart-ui 1.4.0 → 1.5.0

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 (103) hide show
  1. package/README.md +9 -7
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.css +33 -0
  43. package/lib/index.js +1 -1
  44. package/lib/locale/ar-SA.js +1 -1
  45. package/lib/locale/ca-ES.js +1 -1
  46. package/lib/locale/de-DE.js +1 -1
  47. package/lib/locale/en-US.js +1 -1
  48. package/lib/locale/es-ES.js +1 -1
  49. package/lib/locale/fa-IR.js +1 -1
  50. package/lib/locale/fr-FR.js +1 -1
  51. package/lib/locale/id-ID.js +1 -1
  52. package/lib/locale/it-IT.js +1 -1
  53. package/lib/locale/ja-JP.js +1 -1
  54. package/lib/locale/ko-KR.js +1 -1
  55. package/lib/locale/pl-PL.js +1 -1
  56. package/lib/locale/pt-BR.js +1 -1
  57. package/lib/locale/ru-RU.js +1 -1
  58. package/lib/locale/sk-SK.js +1 -1
  59. package/lib/locale/vi-VN.js +1 -1
  60. package/lib/locale/zh-CN.js +1 -1
  61. package/lib/locale/zh-HK.js +1 -1
  62. package/lib/locale/zh-TW.js +1 -1
  63. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +3 -1
  64. package/lib/types/commands/operations/open-move-chart-dialog.operation.d.ts +4 -0
  65. package/lib/types/controllers/chart-render.controller.d.ts +4 -1
  66. package/lib/types/controllers/chart-sheet-ui.controller.d.ts +31 -0
  67. package/lib/types/controllers/sheets-chart-clipboard.controller.d.ts +11 -3
  68. package/lib/types/controllers/ui.controller.d.ts +3 -0
  69. package/lib/types/locale/en-US.d.ts +22 -0
  70. package/lib/types/menu/chart-sheet-menu.d.ts +6 -0
  71. package/lib/types/menu/chart-sheet-schema.d.ts +3 -0
  72. package/lib/types/services/chart-image-rect.d.ts +2 -1
  73. package/lib/types/services/chart-render.service.d.ts +26 -7
  74. package/lib/types/services/chart-sheet-presentation.d.ts +9 -0
  75. package/lib/types/services/chart-sheet-render.service.d.ts +39 -0
  76. package/lib/types/services/sheet-chart-host.d.ts +2 -1
  77. package/lib/types/services/sheet-image-chart-host.d.ts +4 -9
  78. package/lib/types/services/sheets-chart-host-provider.service.d.ts +10 -4
  79. package/lib/types/services/sheets-chart-ui.service.d.ts +12 -2
  80. package/lib/types/views/move-chart/MoveChartDialog.d.ts +6 -0
  81. package/lib/umd/index.js +1 -1
  82. package/lib/umd/locale/ar-SA.js +1 -1
  83. package/lib/umd/locale/ca-ES.js +1 -1
  84. package/lib/umd/locale/de-DE.js +1 -1
  85. package/lib/umd/locale/en-US.js +1 -1
  86. package/lib/umd/locale/es-ES.js +1 -1
  87. package/lib/umd/locale/fa-IR.js +1 -1
  88. package/lib/umd/locale/fr-FR.js +1 -1
  89. package/lib/umd/locale/id-ID.js +1 -1
  90. package/lib/umd/locale/it-IT.js +1 -1
  91. package/lib/umd/locale/ja-JP.js +1 -1
  92. package/lib/umd/locale/ko-KR.js +1 -1
  93. package/lib/umd/locale/pl-PL.js +1 -1
  94. package/lib/umd/locale/pt-BR.js +1 -1
  95. package/lib/umd/locale/ru-RU.js +1 -1
  96. package/lib/umd/locale/sk-SK.js +1 -1
  97. package/lib/umd/locale/vi-VN.js +1 -1
  98. package/lib/umd/locale/zh-CN.js +1 -1
  99. package/lib/umd/locale/zh-HK.js +1 -1
  100. package/lib/umd/locale/zh-TW.js +1 -1
  101. package/package.json +25 -20
  102. package/lib/types/controllers/chart-sheet-change.controller.d.ts +0 -13
  103. package/lib/types/controllers/chart-sheet-copy-plan.d.ts +0 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4020(_0x195abb,_0x1e3d83){_0x195abb=_0x195abb-0x177;const _0xc90910=_0xc909();let _0x40207c=_0xc90910[_0x195abb];return _0x40207c;}function _0xc909(){const _0x3b951b=['depthAxis','exportImg','chartModelAdded$','LineAndArea','IChartRenderModelManagerService','_activateEditPanelState','DRAWING_CHART','CHART_HOST_BORDER_RADIUS','_onChange','transformer','SheetsSelectionsService','featurePluginOrderUpdate$','_requestPaint','getOwnPropertyDescriptor','_focusedDrawings','_univerInstanceService','_urlImage','IUniverInstanceService','UniverDrawingPlugin','IndicatorLine','CHART_DATA_UPDATE_ANIMATION_DURATION','_pendingToken','buildChartTypeSelectOptions','arc','position$','OPERATION','MobileChartEditorProvider','RemoveSheetCommand','sheet.command.chart.export-focused-image','isLatest','_getOuterRect','activeChartModel$','_init','ChartSectionAccordion','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','3PngfbD','_activateHostWrapper','_sidebarDisposable','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart-ui.section.treemap','CommandType','Boxplot','matchToken','pointerId','MEDIA','@univerjs-pro/engine-chart','pairwise','ChartImageExportFormat','getFocusDrawings','_dataUpdateAnimationDuration','getRenderColor','forEach','_sheetsChartUIService','_initActiveRuntimeLayerListener','Checkbox','Radar','sheets-chart-ui.chartTypes.line','ChartEditPanelTab','hadStyleAttribute','lineTo','sheets-chart-ui.common.deleteChart','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','removeAttribute','_chartHostProvider','type','_canvasFloatDomService','min','ICommandService','split','getElementById','_initCommands','_restoreHostWrapper','isArray','makeDirty','SheetPermissionCheckController','_iconManager','multiply','colorChannel1','DRAWING_OBJECT_LAYER_INDEX','mobile-sheet-chart-setup-panel','close','_chartModelService','_chartEventHandlers','getPropertyPriority','_panelInitialized','then','keys','ParetoBarSeries','_resolveLayout','rangeSelectMode','_chartThemeService','_markNotReady','_prepareDataUpdateRender','ContextMenuPosition','viewBound','promise','_bindChartEventHandler','getRect','number','matchMedia','PenIcon','RemoveSheetDrawingCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','defaultValues','getAllowedChartTypes','DEFAULT_CHART_PARETO_VALUES','chartType','titleKey','combineLatest','naturalHeight','_registerIcons','path','dataSource','syncLayout','sidebarOptions$','domLayers','getContextValue','renderChartsForPrinting','subscribe','segmented','_sheetInterceptorService','sheet-chart-setup-panel','_version','ChartLegendSection','getUnitId','_initMenus','prototype','evented','DownloadImageIcon','max','_applyHostStyle','sheets-chart-ui.section.wordCloud','getMatrix','map','iterator','Series','sheets-chart-ui.common.switchRowColumn','next','_resetChartRuntimeZIndex','scheduler','COPY_TYPE','SheetDrawingHitTestService','getBatchRemoveOp','sheets-chart-ui.common.trendline','items','getFocusedUnit','_disposeChartDomInstance','useState','DEFAULT_CHART_SERIES_VALUES','deriveStateFromActiveSheet$','clientWidth','remove','sheets-chart-ui.common.editChart','url','scroll','Subtotal','priority','_canAnimateDataUpdate','dataUrl','.png','context','Dom','28494gAMBFd','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','UniverRenderEnginePlugin','defineProperty','Inject','_pending','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_rect','attachPopupToDynamicAbsolutePosition','openChartPanelById','ChartEditorTabs','setChartEditorOpen','getCanvasElement','_chartRenderMode','_getOrCreateChartRenderInstance','removeEventListener','Image','Treemap','getActiveSheet','sheets-chart-ui.common.horizontalAxis','@univerjs/sheets','_isOwnedChart','blockExecuteWithoutPermission','_gesture','style','remove$','series','_config','setImage','strokeWidth','ChartTitlesSection','isReleased','sheets-chart-ui.common.useAsCategoryLabels','Canvas','_requestChartCanvasRender','attachRangeWithCoord','tab','IconManager','Gauge','setDataRange','context$','_registerAdapter','addObject','Relation','DependentOn','ChartStyle','labelId','sheets-chart-ui.common.category','_createPrintingChartObject','_rerenderLatest','UniverDesign','ISidebarService','InsertSheetsChartMutation','_generatePasteMutations','debounceTime','dataSource$','deserializeRangeWithSheet','getParent','entries','_readGeometry','save','OVERRIDE_NATIVE','_popupChartId','afterRender$','_isChartElementEditEnabled','sheets-chart-ui.section.relation','Fragment','sheets-chart-ui.chartTypes.','decorate','useDependency','string','getRenderModel','isConnected','onPointerUp','SheetsChartService','flatMap','transparent','@univerjs/drawing','DrawingTypeEnum','logicalOuterRect','_snapshotKey','function','rightY','innerHeight','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.copy','resourceCollector','createElement','UniverInstanceType','UniverLicensePlugin','_pointerEvents','renderTransition','isHit','UniverDrawingUi','debounce','getChartDataSource','DisposableCollection','_activeChartId','sheet.chart.edit.panel','RENDER_CLASS_TYPE','clear','sheet.command.chart.copy-focused-chart','_lastRenderInputMap','ChartHostAdapter','getValue','getChartModel','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','Observable','_markReady','sheets-chart-ui.section.histogram','_keepChartCapture','_pendingHost','showFloatMenu','@univerjs-pro/sheets-chart-ui','sheets-chart.ui.service','SetDrawingApplyMutation','exportImage','6776jEtvJU','add','attrs','getInterceptPoints','getDrawingShapeKeyByDrawingSearch','_requestedUrl','featurePluginGroupUpdate$','setContextValue','IMenuManagerService','1em','matches','scaleY','take','sheets-chart-ui.common.chartStyle','target','transformChange$','innerWidth','image','click','_drawChartImage','ChartSetupPanel','config$','rangeInfo','inactive-sheet','_pendingUrlImage','sheets-chart-ui.common.chart','category','_getChartRenderObjectContext','assign','amd','getMenuHiddenObservable','@univerjs/engine-render','_openEditPanelByDoubleClick','References','includes','updateFloatDom','clearPanelRoute','ChartDomFrame','_cancelGesture','useRef','_executeChartUpdateSourceConfig','ChartWaterfallStyleSection','insertGroupObject','_getHostPlacement','DeleteIcon','PRINTING_COMPONENT_COLLECT','href','Url','Candlestick','ISheetDrawingService','removeHost','getTransformerByCreate','Funnel','subscribeEvent','getCurrentTypeOfUnit$','stroke-width','hasPointerCapture','CHART_TYPE_CATALOG','throttleTime','ChartAndAxisTitles','objects','current','DEFAULT_CHART_INDICATOR_LINE_VALUES','toFixed','resolveChartCreationIntent','_chartHostMap','sheets-chart-ui.common.chartAndAxisTitles','mountNode','_handleDrawingDoubleClick','idSuffix','render','clearImage','removeProperty','UniverProSheetsChart','univer-overflow-visible','ensureMount','sheets-chart-ui.section.gridlinesAndTicks','ChartSectionAccordionTrigger','_restoreFloatDomPositionStream','DEFAULT_CHART_TITLE_VALUES','_openPanel','removeHost$','KeyCode','COMMA','MenuItemType','ChartThreeDSection','addEventListener','getFloatDomInfo','_panelRoute$','heatmap','setConfig','getDirection','Disposable','useObservable','ChartEditorCapability','color','add$','getName','SHEETS_CHART_PLUGIN_NAME','InsertChartCommand','@univerjs/drawing-ui','hit','activeChartModel','parentElement','registerFeatureMenu','chartEditorOpen','ThemeService','sheetChartDataAnimation','ChartIcon','finally','markHostNotReady','chartBitsUtils','syncHostLayout','globalAlpha','Row','getSkeleton','isInGroup','pointerEvents','getUnit','_disposeChartEventSubscription','#-#','options','setObjectType','-univer-mx-4','RightVerticalAxis','_themeService','sheets-chart-ui.section.gauge','ensureHandle','SheetInterceptorService','ChartRenderMode','WordCloud','find','DrawingApplyType','merge','value','panelRoute$','pluginName','_setHostStyle','_deactivateEditPanelState','ChartRelationStyleSection','unitId','_applyActiveChartRuntimeZIndex','children','ContextMenuGroup','BehaviorSubject','focused$','defIds','getRuntimeContext','React','UniverSheetsChartUIPlugin','hasAttribute','getChartPopupMenus','scaleX','BUTTON','_entries','FOCUSING_PANEL_EDITOR','ChartSeriesSection','_domFrame','generateRandomId','width','switchMap','download','DEFAULT_CHART_PIE_VALUES','assignStyle','endsWith','interceptor','_popupDisposable','_resolveChartRenderMode','handleActiveSubUnitChange','section','sheets-chart-ui.common.insertChart','_pendingDataUpdateChartIds','Line','_localeService','invalidateSnapshot','CopySheetCommand','div','chartTypeCanUseTrendLine','markNotReady','drawingType','releasePointerCapture','toPrimitive','isValidRange','height','_rangeSelectMode','copyType','UNIVER_SHEET','Waterfall','setProps','pointercancel','resolveChartStyleBackgroundColor','_registerComponents','getSubUnitId','delete','_chartChangeSubscriptions','drawImage','IConfigService','_savedWrapperStyle','SheetsChartUIMenuSchema','anonymous','top','getPropertyValue','transformToDrawingPosition','ChartHeatmapStyleSection','getSheetId','_sheetDrawingService','UniverChartUIPlugin','sheets-chart-ui.section.chord','ChartImageExportService','_activeDomReadyChartIds','addClipboardHook','_frameStyle','defer','CUT','dom','plotVisibleOnly','ChartRadarStyleSection','(prefers-reduced-motion:\x20reduce)','isRowDirection','indicatorLine','setPanelRoute','NativeTextEditorShortcutBehavior','baseVal','error','getSheetBySheetName','toStringTag','all','ChartParetoSeriesSection','source','abs','distinctUntilChanged','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','Trendline','_initActiveChartModelListener','3xGtUxb','clip','.chart-host','_notifyChartRemoved','LocaleService','ChartFrameContentMode','sheets-chart-ui.waterfall.subtotal','missing-float-dom','_callback','cancelPending','supports','true','_bindChartEventHandlers','_closePopup','sheets-chart-ui.common.series','onDispose','IDrawingManagerService','sheets-chart-ui.section.pie','CHART','1000','clearChart','_initDrawingDeactivationListener','format','nextVersion','axis','7764RlaYhO','createChartInstance','style$','545dTuRrr','domId','useCallback','_scheduleDataUpdateAnimationEnd','UniverSheetsUi','cancel','SheetCopyCommand','strokeOpacity','Injector','waterfallStyle','Sunburst','Chord','sheets-chart-ui.common.rightVerticalAxis','PREDEFINED_HOOK_NAME','DEFAULT_CHART_WATERFALL_STYLE_VALUES','sheets-chart-ui.common.dataRange','sheets-chart-ui.chartTypes.area','-univer-mx-4\x20univer-overflow-visible','indexOf','_scheduler','sheets-chart-ui.common.verticalAxis','WorksheetEditPermission','ObjectType','titles','xlink:href','zIndex','range','naturalWidth','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','COMMAND','displayName','_snapshotStore','chartEditorOpen$','opacity','REMOVE','ImageBitmap','restore','@univerjs/sheets-drawing','RTLChartStyle','_clearPendingUrlImage','darkMode$','_renderService','EChartRenderEngineName','OTHERS','element','direction$','_menuManagerService','_alignFloatDomPositionWithSceneRender','with','complete','Style','_removeHost$','pieSecondaryPlotType','disconnect','getSheetBySheetId','enableChartElementFloatMenu','_renderChartModel','sheets-chart-ui.common.showHiddenData','_renderWhenConfigReady','copyId','Subject','getConfig','_resizeChart','getCurrentRangeDisable$','ChartEditBlockTitle','sheetChartDataAnimationDuration','initPanel','UniverSheetsPlugin','SheetCanvasFloatDomManagerService','length','nativeEvent','RibbonInsertGroup','Bubble','ENTER','_shouldEnableChartElementEdit','call','dblclick','_sheetsChartService','ChartIndicatorLineSection','_createChartRenderInstanceContext','Heatmap','request','absolute','rightYAxis','querySelectorAll','@univerjs/sheets-drawing-ui','RemoveSheetsChartMutation','SheetsChartUIController','getBatchAddOp','checkMounted','transform','getDrawingOrder','visibilityState','Pie','chartTypeSupportsLineAndAreaStyle','onerror','replace','useImperativeHandle','originalStrokeWidth','resolveChartElementSelection','emitChartEvent','sheet-chart-style-panel','@univerjs/ui','_applyHostInteractionState','_generateCutPasteMutations','UniverSheetsDrawingUi','_getSceneAndTransformerByDrawingSearch','sheets-chart-ui.section.sunburst','verify','_getFloatDomInfo','flush','_waiter','Legend','ChartNumberFormatAtom','sheets-chart-ui.chord.target','CHART_ELEMENT_FLOAT_MENU_COMPONENT','_chartEventSubscriptions','getDrawingData','legend','forwardRef','register','_managed','getBoundingClientRect','sheets-chart-ui.permission.editErr','ChartThemeService','_debounceHandleMap','_sheetPrintInterceptorService','_renderModelManager','VerticalAxis','_shouldSuppressRender','_sheetDrawingHitTestService','_bindPointerEvents','concat','executeCommand','_disposeChartEventSubscriptions','GridlinesAndTicks','524493XZREFy','hidePanel','ChartTypeBits','1167509HqHBPb','groupId','ImageChartHost','numberToABC','UniverSheetsMobileUIPlugin','none','drawingId','_listenChartUpdateMutations','non-scaling-stroke','print','DEFAULT_CHART_LINE_AND_AREA_VALUES','ancestorTransform','_clearPanelState','push','sourceSubUnitId','sheets-chart-ui.section.waterfall','mobile-sheet-chart-style-panel','sheetTransform','ChartSourceHeaderTitleType','mask','WorkbookEditablePermission','_contextService','object','serializeRangeWithSheet','UniverSheetsDrawingMobileUIPlugin','lineAndArea','updateFloatDomProps','UniverProSheetsChartUi','focusDrawing','requestPaint','_chartRenderService','_drawingManagerService','allSettled','onPointerDown','ensureHost','_isProviderDisposed','useEffect','removeChartModel','disposeWithMe','skip','getSheetCommandTarget','sheets-chart-ui.waterfall.negative','from','_getChartRenderSkipReason','visible','auto','@univerjs-pro/chart-ui','_chartEditorOpen$','startWith','_loadUrlImage','bottom','invert','ComponentManager','filter','onRendered','_chartHostProviderService','offsetHeight','baseOn','executeChartUpdateConfig','_cancelDebouncedCallbacks','touchDependencies','getDrawingByParam','getRenderUnitById','getRangeInfo','animateDataUpdate','_deactivateDataUpdateAnimation','onPointerMove','ChartUIService','jsxs','_chartSnapshotStoreService','_disposeChartRenderInstance','UniverUi','_hostStyle','_running','_draw','some','undo','border','react/jsx-runtime','_disposeImage','sheets-chart-ui.section.funnel','bounds','_commandService','parseFloat','_addWatermark','FOCUSING_COMMON_DRAWINGS','closePath','small','_createHost','_cancelHostWait','_sheetClipboardService','_notifySheetChartsDetached','Bar','createRuntimeChartStyle','engine','toDisposable','right','_disposeChartChangeListeners','fromEntries','setOrientation','80fxsTex','label','_disposed','ChartStyleSection','ChartRenderService','_updateTransform','Pareto','ChartAxisSection','setPointerCapture','DEFAULT_CHART_FUNNEL_VALUES','chartTypeSupportsCapability','values','imageBitmap','getObject','rangeInfo$','resolve','_getOrCreateSheetChartHost','endY','\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','moveX','_clearSelectedTarget','ChartSectionAccordionItem','radar','chartModelId','Fail\x20to\x20create\x20float\x20dom','getImage','sheets-chart-ui.section.paretoBar','header','canvas','ChartEditPanelSection','chartObject','dataset','Combination','_getDrawable','relation','asObservable','top-center','onStarting','2507396iStyoe','_chartElementEditMode','SHEET_CHART_RENDER_OBJECT_CONFIG','update','sheets-chart-ui.common.customize','radius','UniverDrawing','get','barStyle','Column','SheetCanvasPopManagerService','constructor','_clearHiddenSelectedTarget','getCurrentUnitOfType','INSERT','defs','_subscribeChartEvents','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','_chartUIService','localPoint','getChartSourceSpec','_dataUpdateAnimationChartIds','useId','Overlay','_createCopyInfoByRange','serialize','route','sheetDisposed$','classType','UniverIcon','focus$','@univerjs/sheets-ui','_initCopyPaste','getHostSize','initialRect','set','_resolvedConfig','_sheetSkeletonService','IContextService','_getPlacement','mode','DRAWING','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Transform','anchorRect$','DEFAULT_PASTE','_setChartRuntimeZIndex','sheets-chart-ui.common.exportImage','ChartWordCloudStyleSection','getCurrentLastSelection','Reference','checkChartCanRender','Scatter','UniverMobileUIPlugin','_original','sheets-chart-ui.config','isManaged','_chartInstanceMap','moveTo','isElementEditModeActive','version','Button','univer-my-1\x20univer-text-xs\x20univer-text-red-500','offsetWidth','ChartFrameLayout','GROUP','ChartModelService','trim','HorizontalAxis','ChartUpdateConfigMutation','SVG','seriesId','contains','_initPrinting','missing-active-sheet','univer-flex\x20univer-flex-col\x20univer-gap-3','onload','featurePluginUngroupUpdate$','_image','_popupSessionKey','UniverProLicense','SheetSkeletonManagerService','_injector','name','sheetId','clientHeight','3197592yuJSqx','useChartEditorChartType','scene','SheetChartConfigAdapter','registerRenderObjectFactory','_copyInfo','open','clientX','tag','61434DzudEg','DEFAULT_CHART_AXIS_VALUES','_debounceHandle','createIdentifier','ChartUpdateConfigCommand','permissionCheckWithoutRange','resolveChartEditPanelRoute','symbol','onCommandExecuted','setActiveChartModel','url(#$1','startY','preventDefault','commitSnapshot','getOrCreateDrawingCopyPlan','ChartViewStateRegistry','1.4.0','applyPoint','_componentManager','Rect','data$','ChartImageSourceType','_getCurrentSnapshotImage','_pendingMutationConfigRenders','has','_getChartSnapshotKey','@univerjs-pro/license','useMemo','_markHostReady','ChartUpdateSourceCommand','CopyDoubleIcon','PieSecondaryPlotType','toInsertChartMutationSource','_getChartRenderObject','onTransformChange$','_drawChartFrame','UPDATE','cumulativeLineStyle','fromEvent','react','DEFAULT_CHART_TRENDLINE_VALUES','_getImage','allSeriesStyle','_suppressClick','DEFAULT_CHART_STYLE_VALUES','_sheetCanvasPopManagerService','UniverSheetsDrawingPlugin','Data','ChartTypeSpecificStyleSection','lostpointercapture','_configService','stroke','startX','_geometry','setStyle','_lastActiveSheet','appliedStrokeWidth','pipe','GeneralSeries','drawingIds','Area','startColumn','dispose','chartId','setProperty','http://www.w3.org/2000/svg','univer-shrink-0','offsetLeft','getObjectIncludeInGroup','changing$','checkHost','_renderAfterChartUpdateMutation','_bindChartPointerEvents','sheets-chart-ui.common.openChartPanel','left','ChartSectionAccordionContent','funnel','setElementEditMode','translate','_adapterRegistry','changeEnd$','sheets-chart-ui.host.provider','_releaseGesture','detach','rect','jsx','_createImageChartHost','UniverSheetsChartPlugin','setHostStyle','withLatestFrom','ChartOpenPanelOperation','pen-icon','interceptCommand','resolveChartRuntimeStyle','sheets-chart-ui.waterfall.positive','sheet.operation.open-chart-panel','_openFloatMenu','combineLatestWith','use','config','_sidebarService','event','getChartSnapshotImage','_generateCopyPasteMutations','createChartElementFloatMenuAdapter','DEFAULT_CHART_HEATMAP_VALUES','wordCloud','getHostClientRect','_renderDebounceMap','_frame','UniverSheetsChartMobileUIPlugin','hasOwnProperty','_sheetPermissionCheckController','offsetTop','subUnitId','_registerChartImageRenderObjectFactory','startRow','_dataUpdateAnimationTimers','_initPermission','Axes','registerCommand','fill','svg','DataOrientation','ChartEditorProvider','onDoubleClick$','SHEETS_CHART_PLUGIN_CONFIG_KEY','redo','packageName','create','sheets-chart-ui.common.hideChartPanel','_renderManagerService','setDataUpdateAnimation','img','_initSheetChange','Plugin','select','idMap','parent','_url','@univerjs/core','IRenderManagerService','params'];_0xc909=function(){return _0x3b951b;};return _0xc909();}(function(_0x3cdbbb,_0x3dddee){const _0x23e61a=_0x4020,_0x160daa=_0x3cdbbb();while(!![]){try{const _0x12095f=-parseInt(_0x23e61a(0x54c))/0x1*(parseInt(_0x23e61a(0x49a))/0x2)+parseInt(_0x23e61a(0x30a))/0x3*(parseInt(_0x23e61a(0x43b))/0x4)+parseInt(_0x23e61a(0x326))/0x5*(-parseInt(_0x23e61a(0x1ab))/0x6)+-parseInt(_0x23e61a(0x3b1))/0x7+-parseInt(_0x23e61a(0x491))/0x8+-parseInt(_0x23e61a(0x3ae))/0x9*(-parseInt(_0x23e61a(0x415))/0xa)+parseInt(_0x23e61a(0x220))/0xb*(parseInt(_0x23e61a(0x323))/0xc);if(_0x12095f===_0x3dddee)break;else _0x160daa['push'](_0x160daa['shift']());}catch(_0x2b54d6){_0x160daa['push'](_0x160daa['shift']());}}}(_0xc909,0x4cfcb),function(_0x2c7c3b,_0x4b6bb9){const _0x347958=_0x4020;typeof exports==_0x347958(0x3c7)&&typeof module<'u'?_0x4b6bb9(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license')):typeof define==_0x347958(0x1fc)&&define[_0x347958(0x23d)]?define(['exports',_0x347958(0x526),'@univerjs-pro/sheets-chart',_0x347958(0x1f8),_0x347958(0x34b),_0x347958(0x37b),_0x347958(0x45a),_0x347958(0x38c),'rxjs',_0x347958(0x3df),_0x347958(0x556),_0x347958(0x1bf),'@univerjs/engine-formula',_0x347958(0x4c1),'@univerjs/design','@univerjs/sheets-formula-ui',_0x347958(0x3ff),_0x347958(0x284),_0x347958(0x23f),_0x347958(0x4b4)],_0x4b6bb9):(_0x2c7c3b=typeof globalThis<'u'?globalThis:_0x2c7c3b||self,_0x4b6bb9(_0x2c7c3b[_0x347958(0x3cc)]={},_0x2c7c3b['UniverCore'],_0x2c7c3b[_0x347958(0x269)],_0x2c7c3b[_0x347958(0x441)],_0x2c7c3b['UniverSheetsDrawing'],_0x2c7c3b[_0x347958(0x38f)],_0x2c7c3b[_0x347958(0x32a)],_0x2c7c3b[_0x347958(0x3f8)],_0x2c7c3b['rxjs'],_0x2c7c3b['UniverProChartUi'],_0x2c7c3b['UniverProEngineChart'],_0x2c7c3b['UniverSheets'],_0x2c7c3b['UniverEngineFormula'],_0x2c7c3b[_0x347958(0x2b4)],_0x2c7c3b[_0x347958(0x1dd)],_0x2c7c3b['UniverSheetsFormulaUi'],_0x2c7c3b[_0x347958(0x2b4)],_0x2c7c3b[_0x347958(0x208)],_0x2c7c3b['UniverEngineRender'],_0x2c7c3b[_0x347958(0x48b)]));}(this,function(_0x30b554,_0x1ba070,_0x113ca7,_0x135c9c,_0x302521,_0x2cd04e,_0x53e756,_0x21688c,_0x5e3636,_0x37f706,_0x214e0a,_0x4a6d0b,_0x5f0a10,_0x119d22,_0x2b4c09,_0x33c938,_0x4da08e,_0xad66ff,_0x1d47e2,_0x427f18){const _0x185be1=_0x4020;Object[_0x185be1(0x1ae)](_0x30b554,Symbol[_0x185be1(0x301)],{'value':'Module'});let _0x272d7b={'type':_0x1ba070['CommandType'][_0x185be1(0x542)],'id':_0x185be1(0x4f9),'handler'(){return!0x0;}},_0x130aa7=_0x185be1(0x472),_0x3e134f={'enableChartElementFloatMenu':!0x0},_0x3007d3={'type':_0x1ba070[_0x185be1(0x551)]['OPERATION'],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}};function _0xf9815d(_0x1d54b9){const _0x34eea3=_0x185be1;let _0x328c14=_0x1d54b9[_0x34eea3(0x442)](_0x302521[_0x34eea3(0x251)])[_0x34eea3(0x559)]();if(_0x328c14['length']!==0x1)return null;let _0x439db3=_0x328c14[0x0];return _0x439db3[_0x34eea3(0x2d3)]===_0x1ba070[_0x34eea3(0x1f9)][_0x34eea3(0x52f)]?_0x439db3:null;}function _0x45783c(_0xb8b276,_0x1fcd8c){const _0x1f7733=_0x185be1;let _0x28e693=document['createElement']('a');_0x28e693[_0x1f7733(0x24e)]=_0xb8b276,_0x28e693[_0x1f7733(0x2c1)]=_0x1fcd8c,_0x28e693[_0x1f7733(0x232)]();}let _0xb862c8={'id':'sheet.command.chart.open-focused-panel','type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':(_0x4e3e26,_0x1eba5b)=>{const _0x184117=_0x185be1;let _0xdcd5ae=_0xf9815d(_0x4e3e26);return _0xdcd5ae?_0x4e3e26[_0x184117(0x442)](_0x1ba070[_0x184117(0x56c)])[_0x184117(0x3ab)](_0x272d7b['id'],{'unitId':_0xdcd5ae[_0x184117(0x2ac)],'subUnitId':_0xdcd5ae['subUnitId'],'drawingId':_0xdcd5ae[_0x184117(0x3b7)],..._0x1eba5b!=null&&_0x1eba5b[_0x184117(0x455)]?{'route':_0x1eba5b['route']}:{}}):!0x1;}},_0xb06e29={'id':_0x185be1(0x210),'type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':_0x182a0d=>_0xf9815d(_0x182a0d)?_0x182a0d[_0x185be1(0x442)](_0x1ba070[_0x185be1(0x56c)])[_0x185be1(0x3ab)](_0x53e756[_0x185be1(0x32c)]['id']):!0x1},_0x4c423d={'id':_0x185be1(0x545),'type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':async _0x16af07=>{const _0x27dcab=_0x185be1;let _0x1a3f3b=_0xf9815d(_0x16af07);if(!_0x1a3f3b)return!0x1;let _0x18886f=await _0x16af07[_0x27dcab(0x442)](_0x37f706[_0x27dcab(0x2f0)])[_0x27dcab(0x21f)]({'unitId':_0x1a3f3b['unitId'],'subUnitId':_0x1a3f3b['subUnitId'],'getId':()=>_0x1a3f3b[_0x27dcab(0x3b7)]});return _0x18886f?(_0x45783c(_0x18886f,_0x1a3f3b['drawingId']+_0x27dcab(0x1a8)),!0x0):!0x1;}},_0x1468ca={'id':'sheet.command.chart.delete-focused-chart','type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':_0x1ac7f3=>{const _0x23fd9b=_0x185be1;let _0x3a9333=_0xf9815d(_0x1ac7f3);return _0x3a9333?_0x1ac7f3[_0x23fd9b(0x442)](_0x1ba070[_0x23fd9b(0x56c)])[_0x23fd9b(0x3ab)](_0x302521[_0x23fd9b(0x58e)]['id'],{'unitId':_0x3a9333['unitId'],'drawings':[{'unitId':_0x3a9333[_0x23fd9b(0x2ac)],'subUnitId':_0x3a9333[_0x23fd9b(0x50c)],'drawingId':_0x3a9333[_0x23fd9b(0x3b7)],'drawingType':_0x1ba070[_0x23fd9b(0x1f9)][_0x23fd9b(0x52f)]}]}):!0x1;}},_0x1b45e5={'type':_0x1ba070['CommandType'][_0x185be1(0x343)],'id':'sheet.command.menu-insert-chart','handler':async(_0x33745e,_0x36fff7)=>{const _0x2d946b=_0x185be1;let _0x13d062=(0x0,_0x4a6d0b[_0x2d946b(0x3d9)])(_0x33745e[_0x2d946b(0x442)](_0x1ba070[_0x2d946b(0x53a)]));if(!_0x13d062)return!0x1;let _0x1a70b1=_0x33745e[_0x2d946b(0x442)](_0x4a6d0b[_0x2d946b(0x533)])[_0x2d946b(0x46c)]();if(!_0x1a70b1)return!0x1;let {range:_0x357dbb}=_0x1a70b1,_0x1d9385=_0x33745e[_0x2d946b(0x442)](_0x1ba070[_0x2d946b(0x56c)]),{unitId:_0x11f5d3,subUnitId:_0x3eccd7}=_0x13d062,{pieSecondaryPlotType:_0xd50a4,value:_0x499bfe}=_0x36fff7,_0x5f24a7=_0xd50a4!==void 0x0;if(_0x5f24a7&&(_0x499bfe!==_0x214e0a[_0x2d946b(0x3b0)][_0x2d946b(0x383)]||_0xd50a4!==_0x214e0a['PieSecondaryPlotType']['Pie']&&_0xd50a4!==_0x214e0a[_0x2d946b(0x4b9)][_0x2d946b(0x40d)]))return!0x1;let _0x2b719d=_0x5f24a7?(0x0,_0x1ba070[_0x2d946b(0x2be)])():void 0x0;return _0x1d9385['executeCommand'](_0x113ca7[_0x2d946b(0x283)]['id'],{'unitId':_0x11f5d3,'subUnitId':_0x3eccd7,'chartType':_0x499bfe,..._0x2b719d&&_0xd50a4?{'chartId':_0x2b719d,'config':{'unitId':_0x11f5d3,'chartModelId':_0x2b719d,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0xd50a4}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x357dbb[_0x2d946b(0x2ac)]??_0x11f5d3,'subUnitId':_0x357dbb[_0x2d946b(0x48f)]??_0x3eccd7,'range':_0x357dbb}}});}};function _0x5dbc9b(_0x2e8097,_0x301fb7){const _0xc69185=_0x185be1;if(_0x2e8097==null)return'';if(Array[_0xc69185(0x571)](_0x2e8097)){var _0x4ff02e;let _0x8f42a1=(_0x4ff02e=_0x2e8097[0x0])==null?void 0x0:_0x4ff02e[_0xc69185(0x340)];return _0x8f42a1?_0x30e19f(_0x8f42a1,_0x301fb7):'';}return _0x30e19f(_0x2e8097['rangeInfo'],_0x301fb7);}function _0x30e19f(_0x218ed3,_0x18118e){const _0x6fd158=_0x185be1;var _0x1662fc;let {unitId:_0x2c65bb,subUnitId:_0x58b5ce,range:_0x20c606}=_0x218ed3,_0x288647=(_0x1662fc=_0x18118e['getUnit'](_0x2c65bb))==null?void 0x0:_0x1662fc[_0x6fd158(0x35c)](_0x58b5ce);if(!_0x288647)return'';let _0x5a96d3=_0x288647[_0x6fd158(0x281)]();return(0x0,_0x5f0a10[_0x6fd158(0x3c8)])(_0x5a96d3,_0x20c606);}let _0x552a93=_0x37f706[_0x185be1(0x259)][_0x185be1(0x18e)](_0x1631a5=>({'id':'id'in _0x1631a5?_0x1631a5['id']:void 0x0,'labelId':_0x1631a5['labelId'],'pieSecondaryPlotType':_0x185be1(0x35a)in _0x1631a5?_0x1631a5['pieSecondaryPlotType']:void 0x0,'value':_0x1631a5[_0x185be1(0x2a6)],'icon':_0x1631a5['iconName']}));function _0x19a8f7(_0x3b43b5=_0x552a93){const _0xa4eb6f=_0x185be1;return _0x3b43b5[_0xa4eb6f(0x18e)](({id:_0x51d362,icon:_0x14a77d,value:_0x2bd5d7})=>{const _0x1778a8=_0xa4eb6f;let _0x3021e3=(0x0,_0x37f706[_0x1778a8(0x260)])(_0x51d362??String(_0x2bd5d7)),_0x57f572=_0x3021e3?{'value':_0x3021e3[_0x1778a8(0x593)],..._0x3021e3[_0x1778a8(0x35a)]?{'pieSecondaryPlotType':_0x3021e3[_0x1778a8(0x35a)]}:{}}:{'value':_0x2bd5d7};return{'icon':_0x14a77d,'value':_0x51d362??_0x2bd5d7,'params':_0x57f572};});}let _0x36e3f4=(_0x57bf63,_0x376e73)=>{const _0x1ad1da=_0x185be1;if(_0x376e73[_0x1ad1da(0x36b)]===0x1&&_0x376e73[0x0]===_0x1ad1da(0x302))return _0x57bf63;if(_0x376e73[_0x1ad1da(0x36b)]>0x1){let _0x2abc89=new Set();for(let _0x4f04bd of _0x376e73)_0x2abc89[_0x1ad1da(0x221)](Number(_0x4f04bd));return _0x57bf63[_0x1ad1da(0x3e6)](_0x5dc28d=>_0x2abc89[_0x1ad1da(0x4b2)](_0x5dc28d['value']));}return[];};function _0x20768b(_0x2a7ee7){const _0x30dfc3=_0x185be1;let _0x5f40ee=_0x2a7ee7['get'](_0x1ba070[_0x30dfc3(0x53a)]),_0x24b0c9=(0x0,_0x113ca7[_0x30dfc3(0x591)])(_0x2a7ee7),_0x2f07a7=_0x36e3f4(_0x552a93[_0x30dfc3(0x3aa)](),_0x24b0c9),_0x107016=_0x19a8f7(_0x2f07a7)[_0x30dfc3(0x18e)]((_0x634878,_0x2a365d)=>({'icon':_0x634878['icon'],'value':_0x634878[_0x30dfc3(0x2a6)],'params':_0x634878[_0x30dfc3(0x528)],'label':'sheets-chart-ui.chartTypes.'+_0x2f07a7[_0x2a365d][_0x30dfc3(0x1d9)]}));return{'id':_0x1b45e5['id'],'type':_0x21688c[_0x30dfc3(0x274)]['SELECTOR'],'selectionsCommandId':_0x1b45e5['id'],'selections':_0x107016,'icon':'ChartIcon','tooltip':_0x30dfc3(0x2ca),'activated$':(0x0,_0x53e756[_0x30dfc3(0x19e)])(_0x5f40ee,!0x1,()=>new _0x5e3636[(_0x30dfc3(0x216))](_0x5bf916=>{_0x5bf916['next'](!0x1);})),'hidden$':(0x0,_0x21688c[_0x30dfc3(0x23e)])(_0x2a7ee7,_0x1ba070['UniverInstanceType'][_0x30dfc3(0x2da)]),'disabled$':(0x0,_0x53e756[_0x30dfc3(0x365)])(_0x2a7ee7)};}function _0x4e33b2(_0x2b450e){'@babel/helpers - typeof';const _0x3cfb49=_0x185be1;return _0x4e33b2=typeof Symbol==_0x3cfb49(0x1fc)&&typeof Symbol[_0x3cfb49(0x18f)]==_0x3cfb49(0x4a1)?function(_0x3380f3){return typeof _0x3380f3;}:function(_0x2bf019){const _0x4b410c=_0x3cfb49;return _0x2bf019&&typeof Symbol=='function'&&_0x2bf019[_0x4b410c(0x446)]===Symbol&&_0x2bf019!==Symbol[_0x4b410c(0x187)]?_0x4b410c(0x4a1):typeof _0x2bf019;},_0x4e33b2(_0x2b450e);}function _0x4eb96c(_0xbbbc31,_0x5c4eed){const _0x5b1369=_0x185be1;if(_0x4e33b2(_0xbbbc31)!=_0x5b1369(0x3c7)||!_0xbbbc31)return _0xbbbc31;var _0x3554ca=_0xbbbc31[Symbol[_0x5b1369(0x2d5)]];if(_0x3554ca!==void 0x0){var _0x19ee6e=_0x3554ca[_0x5b1369(0x371)](_0xbbbc31,_0x5c4eed||'default');if(_0x4e33b2(_0x19ee6e)!=_0x5b1369(0x3c7))return _0x19ee6e;throw TypeError(_0x5b1369(0x58f));}return(_0x5c4eed===_0x5b1369(0x1f1)?String:Number)(_0xbbbc31);}function _0x3b2b7d(_0x561dc6){const _0x5b9476=_0x185be1;var _0x2a50a4=_0x4eb96c(_0x561dc6,_0x5b9476(0x1f1));return _0x4e33b2(_0x2a50a4)==_0x5b9476(0x4a1)?_0x2a50a4:_0x2a50a4+'';}function _0x3d73b3(_0x5084ab,_0x5dd563,_0x2b6534){return(_0x5dd563=_0x3b2b7d(_0x5dd563))in _0x5084ab?Object['defineProperty'](_0x5084ab,_0x5dd563,{'value':_0x2b6534,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5084ab[_0x5dd563]=_0x2b6534,_0x5084ab;}function _0x42d632(_0x51f198,_0x5bb495){return function(_0x427e9f,_0x4d690b){_0x5bb495(_0x427e9f,_0x4d690b,_0x51f198);};}function _0x11ef44(_0xf2e45b,_0x51199a,_0x2a1ddf,_0x283bdc){const _0x2469e5=_0x185be1;var _0x36194c=arguments['length'],_0x203301=_0x36194c<0x3?_0x51199a:_0x283bdc===null?_0x283bdc=Object[_0x2469e5(0x536)](_0x51199a,_0x2a1ddf):_0x283bdc,_0x26c8f2;if(typeof Reflect=='object'&&typeof Reflect[_0x2469e5(0x1ef)]==_0x2469e5(0x1fc))_0x203301=Reflect['decorate'](_0xf2e45b,_0x51199a,_0x2a1ddf,_0x283bdc);else{for(var _0x53f5ae=_0xf2e45b['length']-0x1;_0x53f5ae>=0x0;_0x53f5ae--)(_0x26c8f2=_0xf2e45b[_0x53f5ae])&&(_0x203301=(_0x36194c<0x3?_0x26c8f2(_0x203301):_0x36194c>0x3?_0x26c8f2(_0x51199a,_0x2a1ddf,_0x203301):_0x26c8f2(_0x51199a,_0x2a1ddf))||_0x203301);}return _0x36194c>0x3&&_0x203301&&Object[_0x2469e5(0x1ae)](_0x51199a,_0x2a1ddf,_0x203301),_0x203301;}let _0x24cbf9=(0x0,_0x1ba070[_0x185be1(0x49d)])(_0x185be1(0x21d)),_0x27af68=class extends _0x37f706[_0x185be1(0x3f4)]{constructor(_0x256fc5,_0x55c5c5,_0xcb445d,_0x28c980,_0x39113a){const _0x48b63a=_0x185be1;super(_0x39113a),this[_0x48b63a(0x57a)]=_0x256fc5,this[_0x48b63a(0x373)]=_0x55c5c5,this[_0x48b63a(0x403)]=_0xcb445d,this[_0x48b63a(0x538)]=_0x28c980,_0x3d73b3(this,'_rangeSelectMode',!0x1),_0x3d73b3(this,'_chartEditorOpen$',new _0x5e3636[(_0x48b63a(0x2b0))](!0x1)),_0x3d73b3(this,_0x48b63a(0x278),new _0x5e3636[(_0x48b63a(0x2b0))](null)),_0x3d73b3(this,_0x48b63a(0x346),this[_0x48b63a(0x3e0)][_0x48b63a(0x438)]()),_0x3d73b3(this,_0x48b63a(0x2a7),this[_0x48b63a(0x278)][_0x48b63a(0x438)]());}get['activeRuntimeModel'](){const _0x5daee1=_0x185be1;return this[_0x5daee1(0x57a)][_0x5daee1(0x286)]??null;}get[_0x185be1(0x289)](){const _0x34cedb=_0x185be1;return this['_chartEditorOpen$'][_0x34cedb(0x213)]();}get[_0x185be1(0x582)](){const _0x3ce7af=_0x185be1;return this[_0x3ce7af(0x2d8)];}['setRangeSelectMode'](_0x1bccd4){const _0x14b70c=_0x185be1;this[_0x14b70c(0x2d8)]=_0x1bccd4;}['setChartEditorOpen'](_0x7a2c52){const _0x456005=_0x185be1;this[_0x456005(0x3e0)][_0x456005(0x213)]()!==_0x7a2c52&&this['_chartEditorOpen$']['next'](_0x7a2c52);}[_0x185be1(0x476)](_0x4f59b1){const _0x10cf96=_0x185be1;var _0x3d6a9f;return this[_0x10cf96(0x289)]&&((_0x3d6a9f=this[_0x10cf96(0x57a)][_0x10cf96(0x286)])==null?void 0x0:_0x3d6a9f['id'])===_0x4f59b1;}[_0x185be1(0x2fc)](_0x12c4d6,_0x5119a7){this['_panelRoute$']['next']({'chartId':_0x12c4d6,'route':_0x5119a7});}[_0x185be1(0x244)](){const _0x35892a=_0x185be1;this[_0x35892a(0x278)][_0x35892a(0x192)](null);}['setDataRange'](_0x45646d){const _0x27b313=_0x185be1;let _0xb2994d=this[_0x27b313(0x57a)][_0x27b313(0x286)];_0xb2994d&&this[_0x27b313(0x248)]({'chartModelId':_0xb2994d['id'],'range':_0x45646d});}[_0x185be1(0x414)](_0x576ef4){const _0x315257=_0x185be1;let _0x54fb45=this['_chartModelService'][_0x315257(0x286)];if(!_0x54fb45)return;let _0x3218ab=this['_sheetsChartService'][_0x315257(0x44f)](_0x54fb45['id']);if(!_0x3218ab||Array[_0x315257(0x571)](_0x3218ab))return;let _0x4a9f72={..._0x3218ab,'isRowDirection':_0x576ef4===_0x214e0a[_0x315257(0x515)][_0x315257(0x292)]};this[_0x315257(0x248)]({'chartModelId':_0x54fb45['id'],'range':_0x4a9f72});}[_0x185be1(0x3eb)](_0x540d32){const _0x9bc8d3=_0x185be1;var _0x6441c9;this[_0x9bc8d3(0x403)][_0x9bc8d3(0x3ab)](_0x113ca7[_0x9bc8d3(0x49e)]['id'],{..._0x540d32,'unitId':((_0x6441c9=this['_univerInstanceService'][_0x9bc8d3(0x19a)]())==null?void 0x0:_0x6441c9[_0x9bc8d3(0x185)]())??''});}[_0x185be1(0x248)](_0x410d17){const _0x3b8f28=_0x185be1;var _0x11f04a;this['_commandService'][_0x3b8f28(0x3ab)](_0x113ca7[_0x3b8f28(0x4b7)]['id'],{..._0x410d17,'unitId':((_0x11f04a=this[_0x3b8f28(0x538)][_0x3b8f28(0x19a)]())==null?void 0x0:_0x11f04a['getUnitId']())??''});}[_0x185be1(0x4d8)](){const _0x469e5d=_0x185be1;this[_0x469e5d(0x3e0)]['complete'](),this['_panelRoute$']['complete'](),super[_0x469e5d(0x4d8)]();}};_0x27af68=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x1f5)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x3,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706[_0x185be1(0x4a9)]))],_0x27af68);var _0x2b81be;let _0x3580d8={'axis':{..._0x37f706[_0x185be1(0x49b)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x37f706[_0x185be1(0x41e)],'heatmap':_0x37f706[_0x185be1(0x503)],'indicatorLine':_0x37f706[_0x185be1(0x25e)],'legend':_0x37f706['DEFAULT_CHART_LEGEND_VALUES'],'lineAndArea':_0x37f706[_0x185be1(0x3bb)],'pareto':_0x37f706[_0x185be1(0x592)],'pie':_0x37f706[_0x185be1(0x2c2)],'relation':{..._0x37f706['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x0},'radar':_0x37f706['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x37f706[_0x185be1(0x19d)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x2b81be=_0x214e0a[_0x185be1(0x34c)][_0x185be1(0x4c4)])==null?void 0x0:_0x2b81be[_0x185be1(0x379)])??!0x1}},'style':_0x37f706[_0x185be1(0x4c6)],'titles':_0x37f706[_0x185be1(0x26f)],'trendline':_0x37f706[_0x185be1(0x4c2)],'waterfallStyle':_0x37f706[_0x185be1(0x334)],'wordCloud':_0x37f706['DEFAULT_CHART_WORD_CLOUD_VALUES']},_0xd3bdbf=_0x1cde78=>_0x1cde78['getCurrentUnitOfType'](_0x1ba070['UniverInstanceType'][_0x185be1(0x2da)])[_0x185be1(0x185)](),_0x1019e2=_0x4afc5b=>{const _0x405e48=_0x185be1;var _0x3ee2ff;return(_0x3ee2ff=_0x4afc5b[_0x405e48(0x448)](_0x1ba070[_0x405e48(0x203)][_0x405e48(0x2da)])[_0x405e48(0x1bd)]())==null?void 0x0:_0x3ee2ff[_0x405e48(0x2ec)]();},_0x2a6a33=()=>{const _0x5d02a7=_0x185be1;var _0x9e2e62;let _0x30e773=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x24cbf9),_0x1282ab=(0x0,_0x21688c['useDependency'])(_0x113ca7[_0x5d02a7(0x47d)]),_0x534876=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x1ba070['LocaleService']),_0x5dc338=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x1ba070[_0x5d02a7(0x32e)]),_0x20222d=(0x0,_0x113ca7[_0x5d02a7(0x591)])(_0x5dc338),_0x42e883=(0x0,_0x119d22[_0x5d02a7(0x4b5)])(()=>{const _0x5c3c14=_0x5d02a7;let _0x33a1bb=_0x36e3f4(_0x552a93['concat'](),_0x20222d);return(0x0,_0x37f706[_0x5c3c14(0x53f)])(_0x33a1bb[_0x5c3c14(0x18e)](_0x4f581f=>({'id':_0x4f581f['id'],'label':_0x534876['t'](_0x5c3c14(0x1ee)+_0x4f581f[_0x5c3c14(0x1d9)]),'pieSecondaryPlotType':_0x4f581f[_0x5c3c14(0x35a)],'value':_0x4f581f[_0x5c3c14(0x2a6)]})));},[_0x20222d,_0x534876]),_0x4d3a90=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x1282ab[_0x5d02a7(0x548)],_0x1282ab[_0x5d02a7(0x286)]),_0xb9ee79=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1d3)],_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1a9)]),_0x23a24d=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1e2)],_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x179)]),_0x16072e=(0x0,_0x21688c['useObservable'])(_0x23a24d==null?void 0x0:_0x23a24d[_0x5d02a7(0x423)],_0x23a24d==null?void 0x0:_0x23a24d[_0x5d02a7(0x3f0)]()),_0x267ec9=Array[_0x5d02a7(0x571)](_0x16072e),_0x5373ae=_0x16072e&&!_0x267ec9&&_0x16072e[_0x5d02a7(0x2fa)]?_0x214e0a['DataOrientation'][_0x5d02a7(0x292)]:_0x214e0a['DataOrientation']['Column'],_0x1cb8af=_0x267ec9?(_0x9e2e62=_0x16072e[0x0])==null?void 0x0:_0x9e2e62[_0x5d02a7(0x340)]:_0x16072e==null?void 0x0:_0x16072e[_0x5d02a7(0x236)];return(0x0,_0x4da08e[_0x5d02a7(0x3f5)])(_0x5d02a7(0x2d0),{'className':_0x5d02a7(0x54f),'children':[(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x37f706[_0x5d02a7(0x234)],{'chartTypeOptions':_0x42e883,'dataSourceControl':(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x2bf4f5,{'dataRange':_0x16072e,'primaryRange':_0x1cb8af}),'categoryToggleLabel':_0x534876['t'](_0x5d02a7(0x1cb),_0x5373ae===_0x214e0a[_0x5d02a7(0x515)]['Row']?_0x5373ae+'\x20'+(((_0x1cb8af==null?void 0x0:_0x1cb8af['range'][_0x5d02a7(0x50e)])??0x0)+0x1):_0x5373ae+'\x20'+(0x0,_0x1ba070[_0x5d02a7(0x3b4)])((_0x1cb8af==null?void 0x0:_0x1cb8af[_0x5d02a7(0x340)][_0x5d02a7(0x4d7)])??0x0)),'orientationControl':_0x267ec9?void 0x0:(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x2b4c09[_0x5d02a7(0x478)],{'size':_0x5d02a7(0x408),'onClick':()=>_0x30e773[_0x5d02a7(0x414)](_0x5373ae===_0x214e0a['DataOrientation']['Row']?_0x214e0a[_0x5d02a7(0x515)][_0x5d02a7(0x444)]:_0x214e0a['DataOrientation']['Row']),'children':_0x534876['t'](_0x5d02a7(0x191))})}),(0x0,_0x4da08e['jsx'])(_0x2b4c09[_0x5d02a7(0x55f)],{'checked':(_0xb9ee79==null?void 0x0:_0xb9ee79[_0x5d02a7(0x2f7)])===!0x1,'disabled':!_0x4d3a90,'onChange':_0x590394=>{const _0x1efd4c=_0x5d02a7;_0x4d3a90&&_0x30e773[_0x1efd4c(0x3eb)]({'chartModelId':_0x4d3a90['id'],'context':{'plotVisibleOnly':!_0x590394}});},'children':_0x534876['t'](_0x5d02a7(0x35f))})]});};function _0x2bf4f5(_0x3b546f){const _0x11da79=_0x185be1;let {dataRange:_0x3669cb,primaryRange:_0x46af0d}=_0x3b546f,_0x33c965=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x24cbf9),_0x16cc84=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x1ba070[_0x11da79(0x30e)]),_0x38c107=(0x0,_0x21688c['useDependency'])(_0x1ba070[_0x11da79(0x53a)]),_0x528290=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x1ba070[_0x11da79(0x461)]),[_0x148d74,_0x59d831]=(0x0,_0x119d22[_0x11da79(0x19c)])(!0x1),[_0x5ebbf1,_0x2dbee1]=(0x0,_0x119d22[_0x11da79(0x19c)])(!0x1),[_0x29a408,_0x3c79d1]=(0x0,_0x119d22['useState'])(),_0x298e13=_0xd3bdbf(_0x38c107),_0x514529=_0x1019e2(_0x38c107),_0x53f55f=_0x3669cb?_0x5dbc9b(_0x3669cb,_0x38c107):'',_0x49e533=(0x0,_0x119d22['useRef'])(_0x53f55f),_0x5e33cb=(0x0,_0x119d22[_0x11da79(0x247)])(void 0x0),_0x2b1a95=(0x0,_0x119d22['useRef'])(null);(0x0,_0x119d22[_0x11da79(0x3d5)])(()=>{const _0xd2fe7=_0x11da79;_0x33c965['setRangeSelectMode'](_0x148d74),_0x528290[_0xd2fe7(0x227)](_0x1ba070[_0xd2fe7(0x2bb)],_0x148d74);},[_0x528290,_0x148d74,_0x33c965]),(0x0,_0x119d22[_0x11da79(0x3d5)])(()=>()=>{const _0x537b71=_0x11da79;_0x33c965['setRangeSelectMode'](!0x1),_0x528290['setContextValue'](_0x1ba070[_0x537b71(0x2bb)],!0x1);},[_0x528290,_0x33c965]);let _0x42a02f=(0x0,_0x119d22[_0x11da79(0x328)])(_0x6c4056=>{const _0xa4d9c4=_0x11da79;var _0x4b267c;if(_0x5dbc9b(_0x3669cb,_0x38c107)===_0x6c4056)return _0x3c79d1(void 0x0),!0x0;let _0x3cd6da=_0x6c4056['split'](_0x5f0a10[_0xa4d9c4(0x553)][_0xa4d9c4(0x273)]);if(!_0x6c4056[_0xa4d9c4(0x47e)]()||_0x3cd6da['length']!==0x1||!((_0x4b267c=_0x2b1a95['current'])!=null&&_0x4b267c[_0xa4d9c4(0x392)]()))return _0x3c79d1(_0x16cc84['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x574112,sheetName:_0x5dc783,range:_0x405503}=(0x0,_0x5f0a10[_0xa4d9c4(0x1e3)])(_0x3cd6da[0x0]),_0x272307=_0x574112||_0x298e13,_0x54f792=_0x38c107[_0xa4d9c4(0x296)](_0x272307),_0x2da021=(_0x46af0d==null?void 0x0:_0x46af0d[_0xa4d9c4(0x2ac)])===_0x272307?_0x46af0d['subUnitId']:_0x514529,_0x4ed872=_0x5dc783?_0x54f792==null?void 0x0:_0x54f792[_0xa4d9c4(0x300)](_0x5dc783):_0x54f792==null?void 0x0:_0x54f792[_0xa4d9c4(0x35c)](_0x2da021??'');return!_0x54f792||!_0x4ed872||!(0x0,_0x1ba070[_0xa4d9c4(0x2d6)])(_0x405503,_0x4ed872)?(_0x3c79d1(_0x16cc84['t']('sheets-chart-ui.common.invalidDataRange')),!0x1):(_0x3c79d1(void 0x0),_0x33c965[_0xa4d9c4(0x1d2)]({'rangeInfo':{'range':_0x405503,'unitId':_0x272307,'subUnitId':_0x4ed872[_0xa4d9c4(0x2ec)]()}}),!0x0);},[_0x3669cb,_0x16cc84,_0x46af0d,_0x33c965,_0x514529,_0x298e13,_0x38c107]),_0x56e29f=(0x0,_0x119d22['useMemo'])(()=>({'keyCodes':[{'keyCode':_0x21688c[_0x11da79(0x272)]['ENTER'],'nativeTextEditorBehavior':_0x21688c[_0x11da79(0x2fd)][_0x11da79(0x1e8)]}],'handler':_0x281578=>{const _0x35d9ce=_0x11da79;_0x281578===_0x21688c['KeyCode'][_0x35d9ce(0x36f)]&&_0x42a02f(_0x49e533[_0x35d9ce(0x25d)])&&(_0x5e33cb['current']=_0x49e533[_0x35d9ce(0x25d)]);}}),[_0x42a02f]);return(0x0,_0x4da08e[_0x11da79(0x4ef)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0x4da08e['jsxs'])('div',{'children':[(0x0,_0x4da08e['jsx'])(_0x37f706[_0x11da79(0x366)],{'title':_0x16cc84['t'](_0x11da79(0x335))}),(0x0,_0x4da08e[_0x11da79(0x4ef)])(_0x33c938['RangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x298e13,'subUnitId':_0x514529,'initialValue':_0x53f55f,'keyboardEventConfig':_0x56e29f,'selectorRef':_0x2b1a95,'onChange':(_0x2fa769,_0x252bed)=>{const _0xe0b4f0=_0x11da79;_0x49e533[_0xe0b4f0(0x25d)]=_0x252bed,_0x5ebbf1&&_0x5e33cb[_0xe0b4f0(0x25d)]!==_0x252bed&&_0x42a02f(_0x252bed)&&(_0x5e33cb['current']=_0x252bed);},'onFocusChange':(_0x48ddf5,_0x5c24cb)=>{const _0x12d49f=_0x11da79;if(_0x5c24cb!==void 0x0&&(_0x49e533['current']=_0x5c24cb),_0x5ebbf1||_0x59d831(_0x48ddf5),_0x48ddf5)_0x5e33cb['current']=_0x49e533[_0x12d49f(0x25d)];else{let _0x1d5f2e=_0x5e33cb['current'];_0x5e33cb[_0x12d49f(0x25d)]=void 0x0,_0x1d5f2e!==void 0x0&&_0x49e533[_0x12d49f(0x25d)]!==_0x1d5f2e&&_0x42a02f(_0x49e533[_0x12d49f(0x25d)]);}},'onRangeSelectorDialogVisibleChange':_0x491492=>{_0x2dbee1(_0x491492),_0x59d831(_0x491492);}}),_0x29a408?(0x0,_0x4da08e[_0x11da79(0x4ef)])(_0x11da79(0x2d0),{'className':_0x11da79(0x479),'children':_0x29a408}):null]})});}function _0x6a5c93(_0x4d27a8){const _0x14e05f=_0x185be1;return(0x0,_0x4da08e[_0x14e05f(0x3f5)])(_0x37f706[_0x14e05f(0x42a)],{'id':_0x4d27a8['id'],'children':[(0x0,_0x4da08e['jsx'])(_0x37f706[_0x14e05f(0x26d)],{'children':_0x4d27a8[_0x14e05f(0x416)]}),(0x0,_0x4da08e['jsx'])(_0x37f706[_0x14e05f(0x4e5)],{'children':_0x4d27a8[_0x14e05f(0x2ae)]})]});}let _0x2f4187=_0x398f42=>{const _0x2aea59=_0x185be1;let _0x3ceb5e=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x1ba070[_0x2aea59(0x30e)]),_0x3b0329=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x24cbf9),_0xe05430=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x113ca7['ChartModelService']),_0x35b328=(0x0,_0x21688c['useObservable'])(_0xe05430['activeChartModel$'],_0xe05430[_0x2aea59(0x286)]),_0x4decfa=(0x0,_0x21688c[_0x2aea59(0x27d)])(_0x3b0329['panelRoute$'],null),_0xc99d2a=_0x4decfa&&_0x4decfa[_0x2aea59(0x4d9)]===(_0x35b328==null?void 0x0:_0x35b328['id'])?_0x4decfa[_0x2aea59(0x455)]:null,_0x5c1c10=(0x0,_0x37f706[_0x2aea59(0x492)])(),_0x5b5d8a=(0x0,_0x37f706['useChartEditorHasRightAxis'])(),[_0x4a0549,_0x1e0cfc]=(0x0,_0x119d22[_0x2aea59(0x19c)])(null);(0x0,_0x119d22['useEffect'])(()=>{const _0x42e8f4=_0x2aea59;_0xc99d2a!=null&&_0xc99d2a[_0x42e8f4(0x2c9)]&&_0x1e0cfc(_0xc99d2a[_0x42e8f4(0x2c9)]);},[_0xc99d2a]);let _0x4524bb=_0x214e0a['chartBitsUtils'][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x383)]),_0x3b3837=_0x5c1c10===_0x214e0a['ChartTypeBits']['Radar'],_0xd19031=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x2a2)],_0x238186=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x254)],_0x33c8cf=_0x214e0a[_0x2aea59(0x28f)][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x36e)]),_0xc9d18a=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x1d6)],_0x25b62f=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x2db)],_0x1fc057=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x41b)],_0x12328b=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x376)],_0x180ff2,_0x491e12;switch(_0x5c1c10){case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x250)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x250)],_0x491e12=_0x3ceb5e['t']('sheets-chart-ui.section.candlestick');break;case _0x214e0a[_0x2aea59(0x3b0)]['Histogram']:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Histogram'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x218));break;case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x1bc)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Treemap'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x550));break;case _0x214e0a[_0x2aea59(0x3b0)]['Sunburst']:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x330)],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x391));break;case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x1d1)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Gauge'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x29e));break;case _0x214e0a[_0x2aea59(0x3b0)]['Chord']:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x331)],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x2ef));}let _0xed0c23=(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)][_0x2aea59(0x4d4)])&&!_0x33c8cf&&!_0x1fc057;return(0x0,_0x4da08e[_0x2aea59(0x3f5)])(_0x37f706[_0x2aea59(0x54a)],{'value':_0x4a0549,'onChange':_0x1e0cfc,'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x1d8)],'label':_0x3ceb5e['t'](_0x2aea59(0x22d)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x418)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x1c3)]})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x25b)],'label':_0x3ceb5e['t'](_0x2aea59(0x262)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x1c9)],{'commitMode':'blur','defaultValues':_0x398f42[_0x2aea59(0x590)]['titles'],'selectedTitleKey':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x594)]})}),(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartThreeDSection'],{'section':'view'}),_0xed0c23&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x190)],'label':_0x3ceb5e['t'](_0x2aea59(0x318)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2bc)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x1c5)],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'selectedSeriesId':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x482)]})}),_0x25b62f&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['WaterfallSeries'],'label':_0x3ceb5e['t'](_0x2aea59(0x3c0)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x249)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x32f)],'getDefaultBucketName':({seriesName:_0x145c41,target:_0x1173d5})=>_0x1173d5===_0x214e0a['ChartWaterfallStyleTarget'][_0x2aea59(0x1a4)]?_0x3ceb5e['t'](_0x2aea59(0x310)):_0x145c41?_0x145c41+'-('+_0x3ceb5e['t'](_0x1173d5===_0x214e0a['ChartWaterfallStyleTarget']['Positive']?_0x2aea59(0x4f8):_0x2aea59(0x3da))+')':'','NumberFormatField':_0x37f706[_0x2aea59(0x397)],'selectedSeriesId':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x482)]})}),_0x1fc057&&(0x0,_0x4da08e['jsxs'])(_0x4da08e[_0x2aea59(0x1ed)],{'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x580)],'label':_0x3ceb5e['t'](_0x2aea59(0x42f)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x303)],{'defaultValues':_0x398f42['defaultValues']['pareto'],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'showDataPointEditor':!0x0,'target':_0x2aea59(0x443)})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection']['ParetoLineSeries'],'label':_0x3ceb5e['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x303)],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['pareto'],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'showDataPointEditor':!0x1,'target':_0x2aea59(0x4bf)})})]}),_0x4524bb&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['PieStyle'],'label':_0x3ceb5e['t'](_0x2aea59(0x31b)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartPieStyleSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['pie'],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),_0xd19031&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x2a2)],'label':_0x3ceb5e['t'](_0x2aea59(0x18c)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x46b)],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x504)]})}),_0x3b3837&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x560)],'label':_0x3ceb5e['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x2f8)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x42b)]})}),_0x238186&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['Funnel'],'label':_0x3ceb5e['t'](_0x2aea59(0x401)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartFunnelStyleSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x4e6)],'gapControl':_0x2aea59(0x522)})}),_0x12328b&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x376)],'label':_0x3ceb5e['t']('sheets-chart-ui.common.heatmap'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2eb)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x279)]})}),_0xc9d18a&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection']['Relation'],'label':_0x3ceb5e['t'](_0x2aea59(0x1ec)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2ab)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x437)]})}),(0x0,_0x37f706[_0x2aea59(0x384)])(_0x5c1c10)&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x52c)],'label':_0x3ceb5e['t'](_0x214e0a[_0x2aea59(0x28f)][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x4d6)])?_0x2aea59(0x336):_0x2aea59(0x561)),'children':(0x0,_0x4da08e['jsx'])(_0x37f706['ChartLineAndAreaSection'],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x3ca)],'lineStyleControl':_0x2aea59(0x180)})}),(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)]['Legend'])&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x396)],'label':_0x3ceb5e['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x184)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x39c)]})}),(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)][_0x2aea59(0x511)])&&(0x0,_0x4da08e[_0x2aea59(0x3f5)])(_0x4da08e[_0x2aea59(0x1ed)],{'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x47f)],'label':_0x3ceb5e['t'](_0x2aea59(0x1be)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartAxisSection'],{'axis':'x','defaultValues':_0x398f42['defaultValues']['axis'],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x3a6)],'label':_0x3ceb5e['t'](_0x2aea59(0x33a)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x41c)],{'axis':'y','defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x322)],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x275)],{'section':_0x2aea59(0x529)}),_0x5b5d8a&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x29c)],'label':_0x3ceb5e['t'](_0x2aea59(0x332)),'children':(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x41c)],{'axis':_0x2aea59(0x1fd),'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x322)],'NumberFormatField':_0x37f706[_0x2aea59(0x397)]})}),(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x3ad)],'label':_0x3ceb5e['t'](_0x2aea59(0x26c)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartGridlinesAndTicksSection'],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x322)]})})]}),(0x0,_0x37f706['chartTypeSupportsCapability'])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)]['IndicatorLine'])&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x53c)],'label':_0x3ceb5e['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x374)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x2fb)]})}),(0x0,_0x214e0a[_0x2aea59(0x2d1)])(_0x5c1c10)&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x308)],'label':_0x3ceb5e['t'](_0x2aea59(0x198)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartTrendlineSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['trendline']})}),_0x180ff2&&_0x491e12&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x180ff2,'label':_0x491e12,'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x4ca)],{})})]});};function _0x1fb49a(_0x23aa9a){const _0x15b4f2=_0x185be1;let {className:_0x479c1b}=_0x23aa9a,[_0x5b63d7,_0x1e967d]=(0x0,_0x119d22['useState'])(_0x37f706['ChartEditPanelTab'][_0x15b4f2(0x4c9)]),_0x1ac4c3=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x1ba070[_0x15b4f2(0x32e)]),_0x555ae1=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x1ba070[_0x15b4f2(0x30e)]),_0x4dc7c8=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x24cbf9),_0x285e76=(0x0,_0x21688c['useDependency'])(_0x113ca7['ChartModelService']),_0x2cff30=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x113ca7[_0x15b4f2(0x1f5)]),_0x4aab32=(0x0,_0x21688c[_0x15b4f2(0x27d)])(_0x285e76[_0x15b4f2(0x548)],_0x285e76[_0x15b4f2(0x286)]),_0xd4b653=(0x0,_0x21688c[_0x15b4f2(0x27d)])(_0x4dc7c8['panelRoute$'],null),_0x3db6a7=(0x0,_0x119d22[_0x15b4f2(0x4b5)])(()=>{const _0x2938a3=_0x15b4f2;var _0x142fee;if(!_0x4aab32)return null;let _0x51ad01=_0x2cff30[_0x2938a3(0x44f)](_0x4aab32['id']);if(!_0x51ad01)return null;let _0x3115f3=Array['isArray'](_0x51ad01)?(_0x142fee=_0x51ad01[0x0])==null?void 0x0:_0x142fee[_0x2938a3(0x340)]:_0x51ad01['rangeInfo'];return _0x3115f3?new _0x37f706[(_0x2938a3(0x212))](_0x4aab32,new _0x113ca7[(_0x2938a3(0x494))]({'unitId':_0x3115f3[_0x2938a3(0x2ac)],'subUnitId':_0x3115f3[_0x2938a3(0x50c)],'chartId':_0x4aab32['id'],'injector':_0x1ac4c3})):null;},[_0x4aab32,_0x1ac4c3,_0x2cff30]);if((0x0,_0x119d22['useEffect'])(()=>{const _0x13b0ef=_0x15b4f2;var _0x155230,_0x2039a7;_0x4aab32&&(_0xd4b653==null?void 0x0:_0xd4b653[_0x13b0ef(0x4d9)])===_0x4aab32['id']&&(((_0x155230=_0xd4b653[_0x13b0ef(0x455)])==null?void 0x0:_0x155230['tab'])===_0x37f706['ChartEditPanelTab'][_0x13b0ef(0x358)]&&_0x1e967d(_0x37f706['ChartEditPanelTab'][_0x13b0ef(0x358)]),((_0x2039a7=_0xd4b653[_0x13b0ef(0x455)])==null?void 0x0:_0x2039a7['tab'])===_0x37f706[_0x13b0ef(0x562)][_0x13b0ef(0x4c9)]&&_0x1e967d(_0x37f706[_0x13b0ef(0x562)][_0x13b0ef(0x4c9)]));},[_0x4aab32,_0xd4b653]),!_0x3db6a7)return null;let _0x4c0a5d=(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x15b4f2(0x2d0),{'className':_0x15b4f2(0x427)+(_0x5b63d7===_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)]?_0x15b4f2(0x26a):'univer-overflow-hidden')+_0x15b4f2(0x465)+(_0x479c1b??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x37f706['ChartEditorTabs'],{'ariaLabel':_0x555ae1['t'](_0x15b4f2(0x1a1)),'activeTab':_0x5b63d7,'onTabChange':_0x1e967d,'tabListClassName':_0x15b4f2(0x4dc),'panelClassName':_0x5b63d7===_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)]?_0x15b4f2(0x29b):void 0x0,'tabs':[{'id':_0x37f706['ChartEditPanelTab'][_0x15b4f2(0x4c9)],'panelId':_0x136d41,'title':_0x555ae1['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x2a6a33,{})},{'id':_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)],'panelId':_0x3281ac,'title':_0x555ae1['t'](_0x15b4f2(0x43f)),'content':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x2f4187,{'defaultValues':_0x3580d8})}]})});return(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x37f706[_0x15b4f2(0x516)],{'chartUIService':_0x4dc7c8,'hostAdapter':_0x3db6a7,'children':_0x4c0a5d});}let _0x209d81=_0x185be1(0x20d),_0x136d41=_0x185be1(0x182),_0x3281ac=_0x185be1(0x38b);function _0x56fe1b(_0x44961a){const _0x37933f=_0x185be1;let _0xd44c93=_0x44961a['get'](_0x302521['ISheetDrawingService']);return _0xd44c93[_0x37933f(0x459)][_0x37933f(0x4d3)]((0x0,_0x5e3636[_0x37933f(0x3e1)])(_0xd44c93['getFocusDrawings']()),(0x0,_0x5e3636[_0x37933f(0x18e)])(()=>_0xf9815d(_0x44961a)==null));}function _0xe71819(_0x18ebae){const _0x425b72=_0x185be1;let _0x1c1b97=_0x18ebae['get'](_0x21688c[_0x425b72(0x1de)]);return{'activated$':(0x0,_0x5e3636[_0x425b72(0x2f4)])(()=>_0x1c1b97['sidebarOptions$'][_0x425b72(0x4d3)]((0x0,_0x5e3636[_0x425b72(0x3e1)])(_0x1c1b97[_0x425b72(0x299)]),(0x0,_0x5e3636[_0x425b72(0x18e)])(_0x145697=>_0x145697[_0x425b72(0x3dd)]===!0x0&&_0x145697['id']===_0x425b72(0x20d)),(0x0,_0x5e3636[_0x425b72(0x306)])())),'id':_0xb862c8['id'],'commandId':_0xb862c8['id'],'type':_0x21688c[_0x425b72(0x274)][_0x425b72(0x2b9)],'title':_0x18ebae[_0x425b72(0x442)](_0x1ba070['LocaleService'])['t'](_0x425b72(0x4e3)),'icon':_0x425b72(0x58d),'hidden$':_0x56fe1b(_0x18ebae)};}function _0x47de30(_0x2a081a){const _0x4e2f65=_0x185be1;return{'id':_0xb06e29['id'],'commandId':_0xb06e29['id'],'type':_0x21688c[_0x4e2f65(0x274)][_0x4e2f65(0x2b9)],'title':_0x2a081a['get'](_0x1ba070['LocaleService'])['t'](_0x4e2f65(0x200)),'icon':_0x4e2f65(0x4b8),'hidden$':_0x56fe1b(_0x2a081a)};}function _0x1f915c(_0xfc4d7f){const _0xa4b44e=_0x185be1;return{'id':_0x4c423d['id'],'commandId':_0x4c423d['id'],'type':_0x21688c[_0xa4b44e(0x274)][_0xa4b44e(0x2b9)],'title':_0xfc4d7f[_0xa4b44e(0x442)](_0x1ba070[_0xa4b44e(0x30e)])['t'](_0xa4b44e(0x46a)),'icon':_0xa4b44e(0x189),'hidden$':_0x56fe1b(_0xfc4d7f)};}function _0x22dd34(_0x37c81){const _0x38f9a0=_0x185be1;return{'id':_0x1468ca['id'],'commandId':_0x1468ca['id'],'type':_0x21688c[_0x38f9a0(0x274)][_0x38f9a0(0x2b9)],'title':_0x37c81['get'](_0x1ba070['LocaleService'])['t'](_0x38f9a0(0x565)),'icon':_0x38f9a0(0x24c),'hidden$':_0x56fe1b(_0x37c81)};}let _0x5b9097={[_0x21688c[_0x185be1(0x36d)][_0x185be1(0x555)]]:{[_0x1b45e5['id']]:{'order':0x4,'menuItemFactory':_0x20768b}},[_0x21688c[_0x185be1(0x586)][_0x185be1(0x464)]]:{[_0x21688c[_0x185be1(0x2af)][_0x185be1(0x351)]]:{[_0xb862c8['id']]:{'order':0x0,'menuItemFactory':_0xe71819},[_0xb06e29['id']]:{'order':0x1,'menuItemFactory':_0x47de30},[_0x4c423d['id']]:{'order':0x3,'menuItemFactory':_0x1f915c},[_0x1468ca['id']]:{'order':0x4,'menuItemFactory':_0x22dd34}}}};function _0x2679c1(_0x18ceeb){const _0x502746=_0x185be1;return _0x18ceeb===_0x214e0a[_0x502746(0x3b0)][_0x502746(0x435)]||_0x18ceeb===_0x214e0a[_0x502746(0x3b0)][_0x502746(0x560)]||_0x18ceeb===_0x214e0a['ChartTypeBits'][_0x502746(0x552)]||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x2cc)])||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x444)])||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x4d6)])||_0x214e0a['chartBitsUtils'][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x46f)]);}function _0x3fa9dc(_0xaf464f){const _0x1e0b8c=_0x185be1;return _0x2679c1(_0xaf464f)||_0x214e0a[_0x1e0b8c(0x28f)][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a['ChartTypeBits'][_0x1e0b8c(0x383)])||_0x214e0a['chartBitsUtils'][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a[_0x1e0b8c(0x3b0)][_0x1e0b8c(0x41b)])||_0x214e0a[_0x1e0b8c(0x28f)][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a[_0x1e0b8c(0x3b0)][_0x1e0b8c(0x2db)]);}function _0x25eb04(_0x239441,_0x3d4743){const _0x201e3d=_0x185be1;let _0x1092b7=(0x0,_0x37f706[_0x201e3d(0x389)])(_0x239441,_0x3d4743),_0x31d3f8=_0x1092b7?(0x0,_0x37f706['resolveChartEditPanelRoute'])(_0x1092b7[_0x201e3d(0x22e)]):void 0x0;if(_0x1092b7&&_0x31d3f8)return{..._0x1092b7,'route':_0x31d3f8,'showFloatMenu':_0x3fa9dc(_0x239441[_0x201e3d(0x593)])&&_0x1092b7[_0x201e3d(0x21b)]};}var _0x370ca0=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x481570){const _0x4e71b5=_0x185be1;super(),this[_0x4e71b5(0x312)]=_0x481570,_0x3d73b3(this,_0x4e71b5(0x507),null),_0x3d73b3(this,_0x4e71b5(0x3fa),!0x1),_0x3d73b3(this,_0x4e71b5(0x1b0),!0x1);}[_0x185be1(0x377)](){const _0x4c90a8=_0x185be1;this['_disposed']||(this[_0x4c90a8(0x1b0)]=!0x0,!this[_0x4c90a8(0x3fa)]&&this[_0x4c90a8(0x507)]===null&&(this[_0x4c90a8(0x507)]=requestAnimationFrame(()=>this[_0x4c90a8(0x394)]())));}[_0x185be1(0x394)](){const _0x352380=_0x185be1;if(this[_0x352380(0x417)]||this['_running'])return;this[_0x352380(0x313)]();let _0x277110=this[_0x352380(0x312)]();_0x277110&&(this[_0x352380(0x3fa)]=!0x0,_0x277110['catch'](_0x31948b=>console['error'](_0x31948b))[_0x352380(0x28d)](()=>{const _0x273f5f=_0x352380;this[_0x273f5f(0x3fa)]=!0x1,this[_0x273f5f(0x1b0)]&&this[_0x273f5f(0x377)]();}));}['cancelPending'](){const _0x3637be=_0x185be1;this['_pending']=!0x1,this[_0x3637be(0x507)]!==null&&(cancelAnimationFrame(this[_0x3637be(0x507)]),this[_0x3637be(0x507)]=null);}[_0x185be1(0x4d8)](){const _0x24235e=_0x185be1;this[_0x24235e(0x313)](),super[_0x24235e(0x4d8)]();}},_0x11d874=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x5c95e8,_0xb0ab8f){const _0x284e56=_0x185be1;super(),this[_0x284e56(0x1b2)]=_0x5c95e8,this[_0x284e56(0x531)]=_0xb0ab8f,_0x3d73b3(this,'_scheduler',void 0x0),_0x3d73b3(this,'_geometry',void 0x0),this[_0x284e56(0x4cf)]=this[_0x284e56(0x1e6)](),this[_0x284e56(0x339)]=new _0x370ca0(()=>this['_updateGeometry']()),this[_0x284e56(0x3d7)](this['_scheduler']),this['disposeWithMe'](_0x5c95e8[_0x284e56(0x4bc)]['subscribeEvent'](()=>this['_scheduler'][_0x284e56(0x377)]()));}get[_0x185be1(0x194)](){const _0x47e524=_0x185be1;return this[_0x47e524(0x339)];}['_updateGeometry'](){const _0x41bb2a=_0x185be1;let _0x2050b9=this[_0x41bb2a(0x1e6)](),_0x2c3991=this['_geometry'],_0x491e20=_0x2050b9[_0x41bb2a(0x2bf)]!==_0x2c3991[_0x41bb2a(0x2bf)]||_0x2050b9[_0x41bb2a(0x2d7)]!==_0x2c3991[_0x41bb2a(0x2d7)];if(_0x491e20||_0x2050b9[_0x41bb2a(0x4e4)]!==_0x2c3991['left']||_0x2050b9[_0x41bb2a(0x2e8)]!==_0x2c3991[_0x41bb2a(0x2e8)])return this['_geometry']=_0x2050b9,this[_0x41bb2a(0x531)](_0x491e20);}[_0x185be1(0x1e6)](){const _0x4d3ca1=_0x185be1;let {left:_0x562cd9,top:_0x283edc,width:_0x48dea3,height:_0x1958e8}=this[_0x4d3ca1(0x1b2)];return{'left':_0x562cd9,'top':_0x283edc,'width':_0x48dea3,'height':_0x1958e8};}};function _0xb4e4c5(_0x1dc292,_0x32b326=0x1){const _0x24dfe1=_0x185be1;return{'width':Math[_0x24dfe1(0x18a)](_0x32b326,_0x1dc292[_0x24dfe1(0x2bf)]),'height':Math[_0x24dfe1(0x18a)](_0x32b326,_0x1dc292['height'])};}function _0xa8b433(_0x3fa06f,_0x1029a3={},_0x4142fc={'left':0x0,'top':0x0}){const _0x21b7d4=_0x185be1;let _0x2f5926=_0x1029a3[_0x21b7d4(0x2b8)]??0x1,_0x65b59d=_0x1029a3['scaleY']??0x1,_0x19f3ae=_0x37f706[_0x21b7d4(0x47b)]['resolve']({'logicalOuterRect':{'left':_0x4142fc['left']>0x0?-_0x4142fc[_0x21b7d4(0x4e4)]:0x0,'top':_0x4142fc[_0x21b7d4(0x2e8)]>0x0?-_0x4142fc[_0x21b7d4(0x2e8)]:0x0,..._0xb4e4c5(_0x3fa06f)},'scale':{'scaleX':_0x2f5926,'scaleY':_0x65b59d},'hostStyle':{},'contentMode':_0x37f706[_0x21b7d4(0x30f)]['Overlay']});return{'left':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x4e4)],'top':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2e8)],'width':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2bf)],'height':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2d7)],'scaleX':_0x2f5926,'scaleY':_0x65b59d};}function _0x519b59(_0x1ec340){const _0x5b7081=_0x185be1;switch(_0x1ec340[_0x5b7081(0x569)]){case _0x214e0a['ChartImageSourceType'][_0x5b7081(0x1cc)]:return _0x1ec340[_0x5b7081(0x431)];case _0x214e0a['ChartImageSourceType'][_0x5b7081(0x349)]:return _0x1ec340[_0x5b7081(0x421)];default:return;}}var _0x4613b7=class extends _0x1d47e2['Rect']{constructor(_0x1bc672,_0xc0f3d2,_0x23236f,_0x592aa8=()=>!0x1,_0x5dfc54=()=>{}){const _0x3adb06=_0x185be1;super(_0x1bc672,{..._0xc0f3d2,'evented':_0xc0f3d2[_0x3adb06(0x188)]??!0x0}),this[_0x3adb06(0x4c3)]=_0x23236f,this[_0x3adb06(0x3a7)]=_0x592aa8,this[_0x3adb06(0x400)]=_0x5dfc54,_0x3d73b3(this,_0x3adb06(0x539),null),_0x3d73b3(this,'_url',null),_0x3d73b3(this,_0x3adb06(0x225),null),_0x3d73b3(this,_0x3adb06(0x238),null),this[_0x3adb06(0x29a)](_0x1d47e2[_0x3adb06(0x33c)][_0x3adb06(0x31c)]);}['dispose'](){const _0x5a33a7=_0x185be1;this[_0x5a33a7(0x34d)](),this[_0x5a33a7(0x539)]=null,this[_0x5a33a7(0x525)]=null,this[_0x5a33a7(0x225)]=null,this[_0x5a33a7(0x400)](),super[_0x5a33a7(0x4d8)]();}['render'](_0x4933f1,_0x41f579){const _0x1d7ecb=_0x185be1;if(!this['visible'])return this[_0x1d7ecb(0x572)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x53eca6=this[_0x1d7ecb(0x4c3)]();return _0x53eca6&&this[_0x1d7ecb(0x436)](_0x53eca6),this['makeDirty'](!0x1),this;}if(!this[_0x1d7ecb(0x380)])return this;let {width:_0x24eee0,height:_0x2c1c2a,left:_0x3701e2,top:_0x5101da}=this['getRealBound']();if(this['isRender'](_0x41f579)){let {top:_0x48e5ee,left:_0x7f5311,bottom:_0x3fdd7d,right:_0x320c67}=_0x41f579[_0x1d7ecb(0x587)];if(_0x24eee0+this['strokeWidth']+_0x3701e2<_0x7f5311||_0x320c67<_0x3701e2||_0x2c1c2a+this[_0x1d7ecb(0x1c8)]+_0x5101da<_0x48e5ee||_0x3fdd7d<_0x5101da)return this;}let _0x5db178=this[_0x1d7ecb(0x380)]['getMatrix']();_0x4933f1['save']();let _0x3d0192=_0x3701e2+_0x24eee0/0x2,_0x1ca99b=_0x5101da+_0x2c1c2a/0x2;return _0x4933f1['transform'](_0x5db178[0x0],_0x5db178[0x1],_0x5db178[0x2],_0x5db178[0x3],_0x3d0192,_0x1ca99b),this[_0x1d7ecb(0x347)]!==0x1&&(_0x4933f1[_0x1d7ecb(0x291)]=this[_0x1d7ecb(0x347)]),this[_0x1d7ecb(0x3fb)](_0x4933f1,void 0x0,_0x24eee0,_0x2c1c2a),_0x4933f1[_0x1d7ecb(0x34a)](),this['makeDirty'](!0x1),this;}['_draw'](_0x46fc51,_0x478d60,_0x500d04=this['width'],_0x3dc6a9=this[_0x185be1(0x2d7)]){const _0x494b7b=_0x185be1;this[_0x494b7b(0x4bd)](_0x46fc51,_0x500d04,_0x3dc6a9,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x494b7b(0x233)](_0x46fc51,_0x500d04,_0x3dc6a9),this[_0x494b7b(0x4bd)](_0x46fc51,_0x500d04,_0x3dc6a9,{'fill':void 0x0});}[_0x185be1(0x4bd)](_0x305335,_0x32d552,_0x5e354b,_0x50ca9a){const _0x4b45d8=_0x185be1;_0x305335[_0x4b45d8(0x1e7)](),_0x305335[_0x4b45d8(0x4e8)](-_0x32d552/0x2,-_0x5e354b/0x2),_0x1d47e2[_0x4b45d8(0x4ad)]['drawWith'](_0x305335,_0xce2f89(this,_0x32d552,_0x5e354b,_0x50ca9a)),_0x305335['restore']();}[_0x185be1(0x207)](_0x175348){const _0x29ccc0=_0x185be1;let {left:_0x4d9158,top:_0x171018,width:_0x17dec3,height:_0x36a2b9}=this['getRealBound'](),_0x548c5c=_0x4d9158+_0x17dec3/0x2,_0x7b01ef=_0x171018+_0x36a2b9/0x2,_0x4358d2=this[_0x29ccc0(0x380)][_0x29ccc0(0x18d)](),_0x6aa88d=new _0x1d47e2[(_0x29ccc0(0x466))]([_0x4358d2[0x0],_0x4358d2[0x1],_0x4358d2[0x2],_0x4358d2[0x3],_0x548c5c,_0x7b01ef]),_0x20384e=this[_0x29ccc0(0x1e4)](),_0x592e54=(this[_0x29ccc0(0x294)]&&(_0x20384e==null?void 0x0:_0x20384e[_0x29ccc0(0x457)])===_0x1d47e2[_0x29ccc0(0x20e)][_0x29ccc0(0x47c)]?_0x20384e[_0x29ccc0(0x3bc)][_0x29ccc0(0x575)](_0x6aa88d):_0x6aa88d)[_0x29ccc0(0x3e4)]()[_0x29ccc0(0x4ab)](_0x175348),_0x550e4a=_0x17dec3/0x2,_0x5c3ed2=_0x36a2b9/0x2;return _0x592e54['x']>=-_0x550e4a-this[_0x29ccc0(0x1c8)]/0x2&&_0x592e54['x']<=_0x550e4a+this['strokeWidth']/0x2&&_0x592e54['y']>=-_0x5c3ed2-this[_0x29ccc0(0x1c8)]/0x2&&_0x592e54['y']<=_0x5c3ed2+this[_0x29ccc0(0x1c8)]/0x2;}[_0x185be1(0x233)](_0x194a70,_0x1ff8b2,_0x51363b){const _0x2fac39=_0x185be1;let _0x5ec302=this[_0x2fac39(0x4c3)](),_0x5358c6=_0x5ec302?this['_getDrawable'](_0x5ec302):void 0x0;if(!_0x5358c6)return;let {width:_0x3eb9cc,height:_0x5875cf}=_0xb4e4c5({'width':_0x1ff8b2,'height':_0x51363b},0x0);_0x3eb9cc!==0x0&&_0x5875cf!==0x0&&(_0x194a70[_0x2fac39(0x1e7)](),_0x194a70[_0x2fac39(0x4e8)](-_0x1ff8b2/0x2,-_0x51363b/0x2),_0x176795(_0x194a70,_0x3eb9cc,_0x5875cf,this[_0x2fac39(0x440)]),_0x194a70[_0x2fac39(0x30b)](),_0x194a70[_0x2fac39(0x2e3)](_0x5358c6,0x0,0x0,_0x3eb9cc,_0x5875cf),_0x194a70[_0x2fac39(0x34a)]());}[_0x185be1(0x436)](_0x34fcfa){const _0x211448=_0x185be1;var _0x39066e;let _0x3157b6=_0x519b59(_0x34fcfa);if(_0x3157b6)return _0x3157b6;if(_0x34fcfa['type']===_0x214e0a[_0x211448(0x4af)][_0x211448(0x24f)]&&(this['_requestedUrl']!==_0x34fcfa['url']&&(this['_requestedUrl']=_0x34fcfa[_0x211448(0x1a2)],this[_0x211448(0x34d)](),this['_url']!==_0x34fcfa[_0x211448(0x1a2)]&&this[_0x211448(0x3e2)](_0x34fcfa[_0x211448(0x1a2)])),(_0x39066e=this['_urlImage'])!=null&&_0x39066e['complete']&&this[_0x211448(0x539)][_0x211448(0x341)]>0x0&&this['_urlImage'][_0x211448(0x596)]>0x0))return this[_0x211448(0x539)];}['_loadUrlImage'](_0x2b3b93){const _0x58e20a=_0x185be1;let _0x2fb3bd=document[_0x58e20a(0x202)](_0x58e20a(0x51f));this['_pendingUrlImage']=_0x2fb3bd,_0x2fb3bd['crossOrigin']=_0x58e20a(0x2e7),_0x2fb3bd[_0x58e20a(0x487)]=()=>{const _0x1a961b=_0x58e20a;this[_0x1a961b(0x225)]===_0x2b3b93&&this[_0x1a961b(0x238)]===_0x2fb3bd&&(_0x2fb3bd[_0x1a961b(0x341)]>0x0&&_0x2fb3bd[_0x1a961b(0x596)]>0x0&&(this['_url']=_0x2b3b93,this[_0x1a961b(0x539)]=_0x2fb3bd),this[_0x1a961b(0x34d)](),this[_0x1a961b(0x572)](!0x0));},_0x2fb3bd[_0x58e20a(0x385)]=()=>{const _0x1ab85b=_0x58e20a;this[_0x1ab85b(0x238)]===_0x2fb3bd&&this[_0x1ab85b(0x34d)]();},_0x2fb3bd['src']=_0x2b3b93;}[_0x185be1(0x34d)](){const _0x32e472=_0x185be1;this[_0x32e472(0x238)]&&=(this[_0x32e472(0x238)]['onload']=null,this[_0x32e472(0x238)][_0x32e472(0x385)]=null,null);}};function _0xce2f89(_0x3c3b5b,_0x7aec6a,_0x2f1100,_0x332e9c){const _0x4fdb51=_0x185be1;let _0x8ecab9=Object[_0x4fdb51(0x51b)](_0x3c3b5b);return Object[_0x4fdb51(0x1ae)](_0x8ecab9,'width',{'value':_0x7aec6a}),Object[_0x4fdb51(0x1ae)](_0x8ecab9,_0x4fdb51(0x2d7),{'value':_0x2f1100}),Object[_0x4fdb51(0x57f)](_0x332e9c)['forEach'](_0x4031e3=>{const _0xb75209=_0x4fdb51;Object[_0xb75209(0x1ae)](_0x8ecab9,_0x4031e3,{'value':_0x332e9c[_0x4031e3]});}),_0x8ecab9;}function _0x176795(_0x30b7c4,_0x485c59,_0x39f8e5,_0x3e58f1){const _0x6407ca=_0x185be1;let _0x61fbe2=Math[_0x6407ca(0x56b)](_0x3e58f1||0x0,_0x485c59/0x2,_0x39f8e5/0x2);_0x30b7c4['beginPath'](),_0x61fbe2?(_0x30b7c4[_0x6407ca(0x475)](_0x61fbe2,0x0),_0x30b7c4[_0x6407ca(0x564)](_0x485c59-_0x61fbe2,0x0),_0x30b7c4[_0x6407ca(0x540)](_0x485c59-_0x61fbe2,_0x61fbe2,_0x61fbe2,Math['PI']*0x3/0x2,0x0,!0x1),_0x30b7c4[_0x6407ca(0x564)](_0x485c59,_0x39f8e5-_0x61fbe2),_0x30b7c4[_0x6407ca(0x540)](_0x485c59-_0x61fbe2,_0x39f8e5-_0x61fbe2,_0x61fbe2,0x0,Math['PI']/0x2,!0x1),_0x30b7c4[_0x6407ca(0x564)](_0x61fbe2,_0x39f8e5),_0x30b7c4[_0x6407ca(0x540)](_0x61fbe2,_0x39f8e5-_0x61fbe2,_0x61fbe2,Math['PI']/0x2,Math['PI'],!0x1),_0x30b7c4[_0x6407ca(0x564)](0x0,_0x61fbe2),_0x30b7c4[_0x6407ca(0x540)](_0x61fbe2,_0x61fbe2,_0x61fbe2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30b7c4[_0x6407ca(0x407)]()):(_0x30b7c4[_0x6407ca(0x4ee)](0x0,0x0,_0x485c59,_0x39f8e5),_0x30b7c4[_0x6407ca(0x407)]());}function _0x173e38(_0x9d4dd5){const _0x49503b=_0x185be1;(_0x9d4dd5==null?void 0x0:_0x9d4dd5[_0x49503b(0x569)])===_0x214e0a['ChartImageSourceType'][_0x49503b(0x349)]&&_0x9d4dd5[_0x49503b(0x421)][_0x49503b(0x579)]();}function _0x564ffd(_0x241fbe){const _0x421d05=_0x185be1;return _0x241fbe['unitId']+_0x421d05(0x298)+_0x241fbe[_0x421d05(0x50c)]+_0x421d05(0x298)+_0x241fbe[_0x421d05(0x4d9)];}var _0x437b6a=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(..._0x3c8ac8){const _0x2434b8=_0x185be1;super(..._0x3c8ac8),_0x3d73b3(this,_0x2434b8(0x2ba),new Map());}[_0x185be1(0x321)](_0xa2f677){const _0x172b13=_0x185be1;let _0x31a022=_0x564ffd(_0xa2f677),_0x20fae4=this['_entries'][_0x172b13(0x442)](_0x31a022)??{'version':0x0};return _0x20fae4[_0x172b13(0x477)]+=0x1,this[_0x172b13(0x2ba)]['set'](_0x31a022,_0x20fae4),_0x20fae4['version'];}[_0x185be1(0x546)](_0x330396,_0x2cb0b9){const _0x6e72c0=_0x185be1;var _0xd93545;return((_0xd93545=this['_entries']['get'](_0x564ffd(_0x330396)))==null?void 0x0:_0xd93545[_0x6e72c0(0x477)])===_0x2cb0b9;}[_0x185be1(0x1c7)](_0x20cc5e,_0x343c86,_0xa95723){const _0x5dfb7c=_0x185be1;if(!this[_0x5dfb7c(0x546)](_0x20cc5e,_0xa95723))return _0x173e38(_0x343c86),!0x1;let _0x398b3d=_0x564ffd(_0x20cc5e),_0x2656e9=this[_0x5dfb7c(0x2ba)][_0x5dfb7c(0x442)](_0x398b3d)??{'version':_0xa95723},_0x5ee743=_0x2656e9[_0x5dfb7c(0x231)];return _0x2656e9[_0x5dfb7c(0x231)]=_0x343c86,_0x2656e9['version']=_0xa95723,this[_0x5dfb7c(0x2ba)]['set'](_0x398b3d,_0x2656e9),_0x5ee743!==_0x343c86&&_0x173e38(_0x5ee743),!0x0;}['getImage'](_0x38140c){const _0x2c92b0=_0x185be1;var _0x155b9d;return(_0x155b9d=this[_0x2c92b0(0x2ba)]['get'](_0x564ffd(_0x38140c)))==null?void 0x0:_0x155b9d[_0x2c92b0(0x231)];}[_0x185be1(0x267)](_0x294d28){const _0x4064a9=_0x185be1;let _0x420edb=_0x564ffd(_0x294d28),_0x31a002=this[_0x4064a9(0x2ba)][_0x4064a9(0x442)](_0x420edb);_0x31a002&&(_0x173e38(_0x31a002['image']),this['_entries']['delete'](_0x420edb));}[_0x185be1(0x31e)](_0x45e532){const _0x28da69=_0x185be1;for(let [_0xdbd71f,_0x213cc5]of this['_entries'])_0xdbd71f[_0x28da69(0x2c4)](_0x28da69(0x298)+_0x45e532)&&(_0x173e38(_0x213cc5[_0x28da69(0x231)]),this[_0x28da69(0x2ba)]['delete'](_0xdbd71f));}[_0x185be1(0x4d8)](){const _0x584e5b=_0x185be1;this[_0x584e5b(0x2ba)]['forEach'](_0x1b7f87=>_0x173e38(_0x1b7f87['image'])),this[_0x584e5b(0x2ba)][_0x584e5b(0x20f)](),super['dispose']();}};function _0x5738e(_0x2a8431,_0x53129f=0x7d0){let _0x470f85=null,_0x4440a3=null,_0x127702=!0x1,_0x1a85ca=()=>{},_0x4f3fef=()=>{_0x470f85!=null&&(clearInterval(_0x470f85),_0x470f85=null),_0x4440a3!=null&&(clearTimeout(_0x4440a3),_0x4440a3=null);};return{'promise':new Promise((_0xa2edb1,_0x2b96d6)=>{_0x1a85ca=_0x2b96d6;let _0x2348d0=()=>{const _0x14cf48=_0x4020;let _0x32ece5=document[_0x14cf48(0x56e)](_0x2a8431);_0x32ece5&&!_0x127702&&(_0x127702=!0x0,_0x4f3fef(),_0xa2edb1(_0x32ece5));};_0x2348d0(),_0x127702||(_0x470f85=setInterval(_0x2348d0,16.666666666666668),_0x4440a3=setTimeout(()=>{const _0x3093f0=_0x4020;_0x127702||(_0x127702=!0x0,_0x4f3fef(),_0x2b96d6(Error(_0x3093f0(0x342)+_0x2a8431+'\x22.')));},_0x53129f));}),'cancel':()=>{const _0xd5fb57=_0x4020;_0x127702||(_0x127702=!0x0,_0x4f3fef(),_0x1a85ca(Error(_0xd5fb57(0x1b1)+_0x2a8431+'\x22.')));}};}var _0x792e16=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x2c7c93,_0x423671,_0x2fc9ad,_0x1cb4c0,_0x1ff6f5,_0x493fca,_0x8b0a60,_0x45c341){const _0x21740a=_0x185be1;super(),this['chartId']=_0x2c7c93,this['_getFloatDomInfo']=_0x423671,this[_0x21740a(0x462)]=_0x2fc9ad,this[_0x21740a(0x2a9)]=_0x1cb4c0,this['_isProviderDisposed']=_0x1ff6f5,this[_0x21740a(0x217)]=_0x493fca,this[_0x21740a(0x584)]=_0x8b0a60,this[_0x21740a(0x3a9)]=_0x45c341,_0x3d73b3(this,_0x21740a(0x463),_0x214e0a[_0x21740a(0x2a1)]['Dom']),_0x3d73b3(this,_0x21740a(0x2bd),null),_0x3d73b3(this,_0x21740a(0x39f),!0x1),_0x3d73b3(this,_0x21740a(0x53e),null),_0x3d73b3(this,'_pendingHost',null),_0x3d73b3(this,_0x21740a(0x395),null),_0x3d73b3(this,_0x21740a(0x3f9),{}),_0x3d73b3(this,_0x21740a(0x2e5),null),_0x3d73b3(this,_0x21740a(0x55a),null),_0x3d73b3(this,'_pointerEvents',null);}[_0x185be1(0x473)](){const _0x3e0885=_0x185be1;return this[_0x3e0885(0x39f)];}['markUnmanaged'](){const _0x57a707=_0x185be1;this[_0x57a707(0x39f)]=!0x1;}[_0x185be1(0x58a)](){const _0x186d53=_0x185be1;let _0x1f505c=this[_0x186d53(0x462)]();return _0x1f505c?{'width':_0x1f505c['width'],'height':_0x1f505c[_0x186d53(0x2d7)]}:null;}[_0x185be1(0x4d0)](_0x56993e){const _0x5a1889=_0x185be1;this['_hostStyle']=_0x56993e,this[_0x5a1889(0x2a9)](_0x56993e),this['_applyHostStyle']();}async['ensureHandle'](){const _0x32d374=_0x185be1;if(this[_0x32d374(0x417)]||this['_isProviderDisposed']())throw Error(_0x32d374(0x42d));let _0x7cd639=this[_0x32d374(0x393)](),_0x474e54=(_0x7cd639==null?void 0x0:_0x7cd639['domId'])??this['chartId'],_0x5cd2a1=document['getElementById'](_0x474e54);if(this[_0x32d374(0x2bd)]&&_0x5cd2a1!=null&&_0x5cd2a1[_0x32d374(0x483)](this[_0x32d374(0x2bd)]['mountNode']))return{'mountNode':this[_0x32d374(0x2bd)][_0x32d374(0x263)],'dispose':()=>{const _0x5ca131=_0x32d374;this['dispose'](),_0x7cd639==null||_0x7cd639[_0x5ca131(0x4d8)][_0x5ca131(0x4d8)]();}};if(this[_0x32d374(0x21a)])return this[_0x32d374(0x21a)];let _0x6046f5=this['_createHost']();return this[_0x32d374(0x21a)]=_0x6046f5,_0x6046f5[_0x32d374(0x57e)](()=>{const _0x517932=_0x32d374;this['_pendingHost']===_0x6046f5&&(this[_0x517932(0x21a)]=null);},()=>{const _0x44a5cf=_0x32d374;this[_0x44a5cf(0x21a)]===_0x6046f5&&(this[_0x44a5cf(0x21a)]=null);}),_0x6046f5;}async[_0x185be1(0x26b)](){const _0x4629fe=_0x185be1;try{return(await this[_0x4629fe(0x29f)]())[_0x4629fe(0x263)];}catch{return null;}}['checkMounted'](){const _0x12ddb9=_0x185be1;let _0x189ef4=this[_0x12ddb9(0x393)](),_0x5454ff=(_0x189ef4==null?void 0x0:_0x189ef4[_0x12ddb9(0x327)])??this[_0x12ddb9(0x4d9)],_0x3c5a98=document['getElementById'](_0x5454ff);return!!(this[_0x12ddb9(0x2bd)]&&_0x3c5a98!=null&&_0x3c5a98[_0x12ddb9(0x483)](this[_0x12ddb9(0x2bd)][_0x12ddb9(0x263)]));}[_0x185be1(0x17a)](){const _0x647af9=_0x185be1;if(!this[_0x647af9(0x2bd)])return;let _0x3e602b=this['_getPlacement']();_0x3e602b&&this[_0x647af9(0x2bd)][_0x647af9(0x43e)](this[_0x647af9(0x581)](_0x3e602b),this['_frameStyle']());}['markReady'](){const _0xcb81ef=_0x185be1;this[_0xcb81ef(0x217)]();}[_0x185be1(0x2d2)](){const _0x1bfdaa=_0x185be1;this[_0x1bfdaa(0x584)]();}[_0x185be1(0x51e)](_0x147c84){const _0x4792d5=_0x185be1;this[_0x4792d5(0x55a)]=_0x147c84;let _0x353803=this[_0x4792d5(0x393)](),_0x226c00=document[_0x4792d5(0x56e)]((_0x353803==null?void 0x0:_0x353803['domId'])??this[_0x4792d5(0x4d9)]);_0x226c00&&this[_0x4792d5(0x38d)](_0x226c00);}['dispose'](){const _0x37da9e=_0x185be1;var _0x4bc871,_0x3e339b;this['_disposed']||(this['markNotReady'](),this[_0x37da9e(0x53e)]=null,this[_0x37da9e(0x21a)]=null,this[_0x37da9e(0x40a)](),this[_0x37da9e(0x39f)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x4bc871=this['_pointerEvents'])==null||_0x4bc871[_0x37da9e(0x4d8)](),this[_0x37da9e(0x205)]=null,(_0x3e339b=this[_0x37da9e(0x2bd)])==null||_0x3e339b[_0x37da9e(0x4d8)](),this[_0x37da9e(0x2bd)]=null,this[_0x37da9e(0x570)](),super[_0x37da9e(0x4d8)]());}async[_0x185be1(0x409)](){const _0x3b2890=_0x185be1;let _0x39e002=this[_0x3b2890(0x393)]();if(!_0x39e002)throw Error(_0x3b2890(0x42d));let _0x41add0=_0x39e002['domId']??this[_0x3b2890(0x4d9)],_0x4878f8=_0x5738e(_0x41add0),_0x3f6be8=Symbol(this[_0x3b2890(0x4d9)]);this['_pendingToken']=_0x3f6be8,this[_0x3b2890(0x395)]=_0x4878f8;try{var _0x5b97f0;let _0x506fa3=await _0x4878f8[_0x3b2890(0x588)],_0x5c9ed4=this[_0x3b2890(0x393)](),_0x46bbcb=(_0x5c9ed4==null?void 0x0:_0x5c9ed4[_0x3b2890(0x327)])??this['chartId'];if(this['_disposed']||this[_0x3b2890(0x3d4)]()||this[_0x3b2890(0x53e)]!==_0x3f6be8||!_0x5c9ed4||_0x46bbcb!==_0x41add0||document[_0x3b2890(0x56e)](_0x41add0)!==_0x506fa3||!_0x506fa3['isConnected'])throw Error(_0x3b2890(0x42d));let _0x2dd0b1=this['_getPlacement']();if(!_0x2dd0b1)throw Error(_0x3b2890(0x42d));let _0x38be07=new _0x37f706[(_0x3b2890(0x245))](_0x506fa3);return _0x38be07['update'](this[_0x3b2890(0x581)](_0x2dd0b1),this[_0x3b2890(0x2f3)]()),this[_0x3b2890(0x54d)](_0x506fa3),this[_0x3b2890(0x2bd)]=_0x38be07,(_0x5b97f0=this[_0x3b2890(0x205)])==null||_0x5b97f0[_0x3b2890(0x4d8)](),this[_0x3b2890(0x205)]=this['_bindPointerEvents'](_0x506fa3),this[_0x3b2890(0x39f)]=!0x0,{'mountNode':_0x38be07[_0x3b2890(0x263)],'dispose':()=>{const _0x3c40ef=_0x3b2890;this[_0x3c40ef(0x4d8)](),_0x39e002[_0x3c40ef(0x4d8)]['dispose']();}};}finally{this[_0x3b2890(0x395)]===_0x4878f8&&(this[_0x3b2890(0x395)]=null),this['_pendingToken']===_0x3f6be8&&(this['_pendingToken']=null);}}[_0x185be1(0x40a)](){const _0x455de9=_0x185be1;let _0x4bdee8=this['_waiter'];_0x4bdee8&&(_0x4bdee8['cancel'](),this[_0x455de9(0x395)]=null);}[_0x185be1(0x18b)](){const _0x14b948=_0x185be1;let _0x4de6e2=this[_0x14b948(0x462)]();this['_domFrame']&&_0x4de6e2&&this[_0x14b948(0x2bd)][_0x14b948(0x43e)](this[_0x14b948(0x581)](_0x4de6e2),this['_frameStyle']());}[_0x185be1(0x581)](_0x2c1c07){const _0x5cf62a=_0x185be1;return _0x37f706[_0x5cf62a(0x47b)][_0x5cf62a(0x424)]({'logicalOuterRect':{'left':_0x2c1c07[_0x5cf62a(0x4e4)],'top':_0x2c1c07['top'],'width':_0x2c1c07[_0x5cf62a(0x2bf)],'height':_0x2c1c07[_0x5cf62a(0x2d7)]},'scale':{'scaleX':_0x2c1c07[_0x5cf62a(0x2b8)],'scaleY':_0x2c1c07[_0x5cf62a(0x22b)]},'hostStyle':this[_0x5cf62a(0x2f3)](),'contentMode':_0x37f706['ChartFrameContentMode'][_0x5cf62a(0x452)]});}[_0x185be1(0x2f3)](){const _0x3890dc=_0x185be1;return{...this[_0x3890dc(0x3f9)],'radius':_0x37f706[_0x3890dc(0x530)]};}[_0x185be1(0x54d)](_0xfe6cee){const _0x38dc1e=_0x185be1;let _0x40dea1=_0xfe6cee['parentElement'];_0x40dea1&&(this[_0x38dc1e(0x2e5)]||={'zIndex':_0x40dea1[_0x38dc1e(0x1c3)][_0x38dc1e(0x33f)],'pointerEvents':_0x40dea1[_0x38dc1e(0x1c3)]['pointerEvents']},_0x40dea1['style'][_0x38dc1e(0x33f)]=_0x38dc1e(0x31d),this[_0x38dc1e(0x38d)](_0xfe6cee));}[_0x185be1(0x38d)](_0x539669){const _0x1246c4=_0x185be1;let _0x189e1c=_0x539669[_0x1246c4(0x287)];if(!_0x189e1c)return;let _0x1b2a2a=this['_dataUpdateAnimationDuration'];_0x1b2a2a==null?(delete _0x539669['dataset']['sheetChartDataAnimation'],delete _0x539669['dataset'][_0x1246c4(0x367)],_0x189e1c['style'][_0x1246c4(0x295)]=_0x1246c4(0x3de)):(_0x539669[_0x1246c4(0x434)]['sheetChartDataAnimation']=_0x1246c4(0x315),_0x539669['dataset'][_0x1246c4(0x367)]=String(_0x1b2a2a),_0x189e1c[_0x1246c4(0x1c3)]['pointerEvents']=_0x1246c4(0x3b6));}[_0x185be1(0x570)](){const _0x4c7d4b=_0x185be1;if(!this[_0x4c7d4b(0x2e5)])return;let _0x3468f1=this[_0x4c7d4b(0x393)](),_0x54dc35=(_0x3468f1==null?void 0x0:_0x3468f1[_0x4c7d4b(0x327)])??this['chartId'],_0x48742a=document[_0x4c7d4b(0x56e)](_0x54dc35);_0x48742a==null||delete _0x48742a[_0x4c7d4b(0x434)][_0x4c7d4b(0x28b)],_0x48742a==null||delete _0x48742a[_0x4c7d4b(0x434)][_0x4c7d4b(0x367)];let _0x15a773=_0x48742a==null?void 0x0:_0x48742a[_0x4c7d4b(0x287)];_0x15a773&&(_0x15a773[_0x4c7d4b(0x1c3)][_0x4c7d4b(0x33f)]=this[_0x4c7d4b(0x2e5)][_0x4c7d4b(0x33f)],_0x15a773[_0x4c7d4b(0x1c3)][_0x4c7d4b(0x295)]=this[_0x4c7d4b(0x2e5)][_0x4c7d4b(0x295)]),this[_0x4c7d4b(0x2e5)]=null;}},_0x2c5282=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x3bc844,_0x4af276,_0x30c6d1,_0x3f1907){const _0x43644f=_0x185be1;super(),this[_0x43644f(0x471)]=_0x4af276,_0x3d73b3(this,'_gesture',null),_0x3d73b3(this,'_suppressClick',!0x1);let _0x1efd21=_0x2ca67c=>{const _0x227087=_0x43644f;this[_0x227087(0x4c5)]&&(_0x2ca67c[_0x227087(0x4a6)](),_0x2ca67c['stopImmediatePropagation']());},_0x27a063=_0xb05423=>{const _0x3feb21=_0x43644f;let _0xde55b4=this['_gesture'];(_0xde55b4==null?void 0x0:_0xde55b4['event'][_0x3feb21(0x554)])===_0xb05423[_0x3feb21(0x554)]&&!_0xde55b4[_0x3feb21(0x22e)][_0x3feb21(0x258)](_0xb05423[_0x3feb21(0x554)])&&this[_0x3feb21(0x246)]();};_0x3bc844[_0x43644f(0x276)](_0x43644f(0x232),_0x1efd21,!0x0),_0x3bc844[_0x43644f(0x276)](_0x43644f(0x372),_0x1efd21,!0x0),_0x3bc844[_0x43644f(0x276)](_0x43644f(0x4cb),_0x27a063),this[_0x43644f(0x3d7)]((0x0,_0x1ba070[_0x43644f(0x410)])(()=>{const _0x32cca3=_0x43644f;_0x3bc844[_0x32cca3(0x1ba)](_0x32cca3(0x232),_0x1efd21,!0x0),_0x3bc844[_0x32cca3(0x1ba)](_0x32cca3(0x372),_0x1efd21,!0x0),_0x3bc844['removeEventListener'](_0x32cca3(0x4cb),_0x27a063),_0x3f1907(_0x4af276);})),this[_0x43644f(0x3d7)](_0x30c6d1['subscribe'](()=>{const _0x2d162e=_0x43644f;this[_0x2d162e(0x1c2)]&&(this[_0x2d162e(0x4c5)]=!0x0);})),_0x3f1907({'onPointerDown':_0xd461cd=>{const _0x4c4074=_0x43644f;this[_0x4c4074(0x4c5)]=!0x1,_0xd461cd instanceof PointerEvent&&_0xd461cd[_0x4c4074(0x22e)]instanceof Element&&_0x3bc844[_0x4c4074(0x483)](_0xd461cd['target'])&&(this[_0x4c4074(0x1c2)]={'target':_0xd461cd[_0x4c4074(0x22e)],'event':_0xd461cd}),_0x4af276['onPointerDown'](_0xd461cd),this[_0x4c4074(0x219)](_0xd461cd);},'onPointerMove':_0x1fb34c=>{const _0x235c13=_0x43644f;_0x4af276[_0x235c13(0x3f3)](_0x1fb34c),this[_0x235c13(0x219)](_0x1fb34c);},'onPointerUp':_0x195e07=>{const _0x186e67=_0x43644f;try{_0x4af276[_0x186e67(0x1f4)](_0x195e07);}finally{var _0x145c8b;_0x195e07 instanceof PointerEvent&&((_0x145c8b=this['_gesture'])==null?void 0x0:_0x145c8b[_0x186e67(0x4ff)][_0x186e67(0x554)])===_0x195e07[_0x186e67(0x554)]&&this[_0x186e67(0x4ec)]();}}});}['dispose'](){const _0x4f2397=_0x185be1;this['_disposed']||(this[_0x4f2397(0x246)](),super[_0x4f2397(0x4d8)]());}[_0x185be1(0x219)](_0x21bf46){const _0x102345=_0x185be1;let _0x2bc9f3=this[_0x102345(0x1c2)];_0x21bf46 instanceof PointerEvent&&(_0x2bc9f3==null?void 0x0:_0x2bc9f3[_0x102345(0x4ff)]['pointerId'])===_0x21bf46[_0x102345(0x554)]&&(_0x2bc9f3[_0x102345(0x4ff)]=_0x21bf46,_0x2bc9f3[_0x102345(0x22e)]['isConnected']?_0x2bc9f3[_0x102345(0x22e)][_0x102345(0x41d)](_0x21bf46[_0x102345(0x554)]):this[_0x102345(0x246)]());}['_releaseGesture'](){const _0x2908ab=_0x185be1;let _0x277ec6=this[_0x2908ab(0x1c2)];this['_gesture']=null,_0x277ec6!=null&&_0x277ec6[_0x2908ab(0x22e)][_0x2908ab(0x258)](_0x277ec6['event'][_0x2908ab(0x554)])&&_0x277ec6['target'][_0x2908ab(0x2d4)](_0x277ec6[_0x2908ab(0x4ff)][_0x2908ab(0x554)]);}[_0x185be1(0x246)](){const _0x57a8ef=_0x185be1;let _0x338e34=this[_0x57a8ef(0x1c2)];this[_0x57a8ef(0x4ec)](),_0x338e34&&this[_0x57a8ef(0x471)]['onPointerUp'](new PointerEvent(_0x57a8ef(0x2dd),_0x338e34[_0x57a8ef(0x4ff)]));}},_0x311011=class extends _0x214e0a['ImageChartHost']{constructor(_0x1fc059,_0x40ceff,_0x52e8b6,_0x27c41a,_0x2b5fc0,_0xdd3b09){const _0x1c69d3=_0x185be1;super(_0x1fc059),this['_getOuterRect']=_0x40ceff,this[_0x1c69d3(0x2a9)]=_0x52e8b6,this[_0x1c69d3(0x1fb)]=_0x27c41a,this[_0x1c69d3(0x345)]=_0x2b5fc0,this[_0x1c69d3(0x535)]=_0xdd3b09;}['getRect'](){const _0x363033=_0x185be1;let _0x40f635=this[_0x363033(0x547)]();return _0x40f635?_0xb4e4c5(_0x40f635):null;}[_0x185be1(0x4d0)](_0x4d9067){this['_setHostStyle'](_0x4d9067);}[_0x185be1(0x321)](){const _0x267852=_0x185be1;return this['_snapshotStore'][_0x267852(0x321)](this[_0x267852(0x1fb)]);}[_0x185be1(0x4a7)](_0x1ff083,_0x506472){const _0x10f0a4=_0x185be1;return this[_0x10f0a4(0x345)]['setImage'](this[_0x10f0a4(0x1fb)],_0x1ff083,_0x506472);}[_0x185be1(0x3ce)](){const _0x10e2f2=_0x185be1;this[_0x10e2f2(0x535)]();}[_0x185be1(0x2ce)](){const _0x4d12fb=_0x185be1;this[_0x4d12fb(0x345)][_0x4d12fb(0x321)](this[_0x4d12fb(0x1fb)]);}};let _0x18915e=0.5;function _0xbe7594(_0x229f4c){const _0x488404=_0x185be1;let _0x28bb44=Math[_0x488404(0x18a)](_0x229f4c['endX']-_0x229f4c[_0x488404(0x4ce)],0x0),_0x57dc84=Math[_0x488404(0x18a)](_0x229f4c[_0x488404(0x426)]-_0x229f4c[_0x488404(0x4a5)],0x0),_0x47c12c=_0x229f4c['absolute'][_0x488404(0x4e4)]&&_0x229f4c[_0x488404(0x2bf)]-_0x28bb44>_0x18915e,_0x3771da=_0x229f4c[_0x488404(0x378)][_0x488404(0x2e8)]&&_0x229f4c[_0x488404(0x2d7)]-_0x57dc84>_0x18915e;return!_0x47c12c&&!_0x3771da?_0x229f4c:{..._0x229f4c,'absolute':{'left':!_0x47c12c&&_0x229f4c[_0x488404(0x378)][_0x488404(0x4e4)],'top':!_0x3771da&&_0x229f4c[_0x488404(0x378)][_0x488404(0x2e8)]}};}function _0x11b810(_0x9dd616){const _0x41e565=_0x185be1;if(!Object[_0x41e565(0x187)][_0x41e565(0x509)]['call'](_0x9dd616,_0x41e565(0x3fe)))return _0x9dd616;let {border:_0x55fc8f,..._0x5cdecf}=_0x9dd616;return{..._0x5cdecf,'stroke':(_0x55fc8f==null?void 0x0:_0x55fc8f[_0x41e565(0x27f)])??_0x41e565(0x1f7),'strokeWidth':(_0x55fc8f==null?void 0x0:_0x55fc8f[_0x41e565(0x2bf)])??0x0};}let _0x3fe827=class extends _0x1ba070['Disposable']{constructor(_0x44912d,_0x18ef64,_0x32e451,_0x13c7ca){const _0x367df4=_0x185be1;super(),this[_0x367df4(0x1ff)]=_0x44912d,this[_0x367df4(0x51d)]=_0x18ef64,this['_chartSnapshotStoreService']=_0x32e451,this[_0x367df4(0x56a)]=_0x13c7ca,_0x3d73b3(this,_0x367df4(0x261),new Map()),_0x3d73b3(this,_0x367df4(0x2f1),new Set()),_0x3d73b3(this,_0x367df4(0x359),new _0x5e3636[(_0x367df4(0x362))]()),_0x3d73b3(this,'removeHost$',this[_0x367df4(0x359)][_0x367df4(0x438)]()),this[_0x367df4(0x3d7)](this[_0x367df4(0x1ff)][_0x367df4(0x1c4)]['subscribe'](_0x2fc6cc=>{const _0x395bf0=_0x367df4;let _0x861914=this[_0x395bf0(0x261)][_0x395bf0(0x442)](_0x2fc6cc['id']);_0x861914!=null&&_0x861914[_0x395bf0(0x473)]()&&(_0x861914['markUnmanaged'](),this[_0x395bf0(0x359)]['next'](_0x2fc6cc['id']));}));}[_0x185be1(0x390)](_0x2857c9){const _0x1b4a90=_0x185be1;if(_0x2857c9==null)return;let _0x138a84=this['_renderManagerService'][_0x1b4a90(0x3ef)](_0x2857c9),_0x3d4f88=_0x138a84==null?void 0x0:_0x138a84[_0x1b4a90(0x493)];return _0x138a84==null||_0x3d4f88==null?null:{'scene':_0x3d4f88,'transformer':_0x3d4f88['getTransformerByCreate'](),'renderUnit':_0x138a84,'canvas':_0x138a84[_0x1b4a90(0x40f)][_0x1b4a90(0x1b7)]()};}['setBorder'](_0x4c92f7,_0x3b370c){const _0x50ca3d=_0x185be1;let _0x49d2b1=this[_0x50ca3d(0x1ff)],_0x48887f=_0x3b370c||'transparent',_0xb40ce8=_0x49d2b1[_0x50ca3d(0x277)](_0x4c92f7);if(_0xb40ce8){let {unitId:_0x26fb25,subUnitId:_0x57624a}=_0xb40ce8;_0x49d2b1['updateFloatDomProps'](_0x26fb25,_0x57624a,_0x4c92f7,{'stroke':_0x48887f});}}['setHostStyle'](_0xadbe23,_0x3c4210){const _0x140013=_0x185be1;let _0x5f03dc=this[_0x140013(0x1ff)],_0x4973de=_0x5f03dc[_0x140013(0x277)](_0xadbe23);if(_0x4973de){let {unitId:_0x169789,subUnitId:_0x5576b6}=_0x4973de;_0x5f03dc[_0x140013(0x3cb)](_0x169789,_0x5576b6,_0xadbe23,_0x11b810(_0x3c4210));}}[_0x185be1(0x45c)](_0x13d5e5){const _0x2adc0b=_0x185be1;let _0x40405c=this[_0x2adc0b(0x1ff)][_0x2adc0b(0x277)](_0x13d5e5);return _0x40405c?_0x40405c[_0x2adc0b(0x4ee)]:null;}[_0x185be1(0x505)](_0x31c451){const _0x1b8e73=_0x185be1;let _0x31f53b=this[_0x1b8e73(0x1ff)][_0x1b8e73(0x277)](_0x31c451),_0x422ba3=document['getElementById']((_0x31f53b==null?void 0x0:_0x31f53b[_0x1b8e73(0x327)])??_0x31c451);return(_0x422ba3==null?void 0x0:_0x422ba3['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x537512,_0x57d2ba){const _0x319bb6=_0x185be1;var _0x29bb77;(_0x29bb77=this[_0x319bb6(0x261)][_0x319bb6(0x442)](_0x537512))==null||_0x29bb77[_0x319bb6(0x51e)](_0x57d2ba);}[_0x185be1(0x4e0)](_0x2767fa){const _0x380bf4=_0x185be1;var _0xcd8849;return((_0xcd8849=this[_0x380bf4(0x261)][_0x380bf4(0x442)](_0x2767fa))==null?void 0x0:_0xcd8849[_0x380bf4(0x37f)]())??!0x1;}['syncHostLayout'](_0x3080b4){const _0x33cd38=_0x185be1;var _0x3ab472;(_0x3ab472=this[_0x33cd38(0x261)]['get'](_0x3080b4))==null||_0x3ab472[_0x33cd38(0x17a)]();}[_0x185be1(0x252)](_0x47718e){const _0x410986=_0x185be1;let _0x50ea63=this[_0x410986(0x261)]['get'](_0x47718e);_0x50ea63&&(_0x50ea63[_0x410986(0x4d8)](),this['_canvasFloatDomService']['updateFloatDom'](_0x47718e,{'eventPassThrough':!0x0})),this[_0x410986(0x261)][_0x410986(0x2e1)](_0x47718e);}async[_0x185be1(0x3d3)](_0x147f3b,_0x3ff653){const _0x115849=_0x185be1;if(_0x3ff653===_0x214e0a['ChartRenderMode'][_0x115849(0x1bb)])return this[_0x115849(0x4f0)](_0x147f3b);if(_0x3ff653===_0x214e0a['ChartRenderMode']['Dom'])return this[_0x115849(0x425)](_0x147f3b);let _0x4fb662=this[_0x115849(0x425)](_0x147f3b);if(!_0x4fb662)throw Error(_0x115849(0x42d));return _0x4fb662[_0x115849(0x29f)]();}['isDomReady'](_0x54e089){const _0x20156b=_0x185be1;var _0x18239d;return this[_0x20156b(0x2f1)][_0x20156b(0x4b2)](_0x54e089)?(_0x18239d=this[_0x20156b(0x261)][_0x20156b(0x442)](_0x54e089))!=null&&_0x18239d['checkMounted']()?!0x0:(this[_0x20156b(0x2f1)][_0x20156b(0x2e1)](_0x54e089),this['_restoreFloatDomPositionStream'](_0x54e089),!0x1):!0x1;}[_0x185be1(0x28e)](_0x5b51d0){const _0x2a8e21=_0x185be1;this['_activeDomReadyChartIds'][_0x2a8e21(0x2e1)](_0x5b51d0)&&(this[_0x2a8e21(0x26e)](_0x5b51d0),this[_0x2a8e21(0x1cd)](_0x5b51d0));}['invalidateSnapshot'](_0x2a382b){const _0x3615d6=_0x185be1;let _0x5bb988=this[_0x3615d6(0x4b3)](_0x2a382b);_0x5bb988&&this[_0x3615d6(0x3f6)][_0x3615d6(0x321)](_0x5bb988);}[_0x185be1(0x4f0)](_0x14dd88){const _0x34e000=_0x185be1;let _0x29ed6f=this[_0x34e000(0x4b3)](_0x14dd88);return!_0x29ed6f||!this['getHostSize'](_0x14dd88)?null:new _0x311011(_0x14dd88,()=>this[_0x34e000(0x45c)](_0x14dd88),_0x560d2e=>this[_0x34e000(0x4f2)](_0x14dd88,_0x560d2e),_0x29ed6f,this['_chartSnapshotStoreService'],()=>this[_0x34e000(0x1cd)](_0x14dd88));}[_0x185be1(0x425)](_0x5390e2){const _0x472aa4=_0x185be1;if(!this[_0x472aa4(0x45c)](_0x5390e2))return null;this['_canvasFloatDomService'][_0x472aa4(0x243)](_0x5390e2,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x51f341=this['_chartHostMap']['get'](_0x5390e2);if(_0x51f341)return _0x51f341;let _0x4e9287=new _0x792e16(_0x5390e2,()=>this[_0x472aa4(0x1ff)][_0x472aa4(0x277)](_0x5390e2),()=>this['_getHostPlacement'](_0x5390e2),_0x15d901=>this[_0x472aa4(0x4f2)](_0x5390e2,_0x15d901),()=>this[_0x472aa4(0x417)],()=>this['_markHostReady'](_0x5390e2),()=>this[_0x472aa4(0x28e)](_0x5390e2),_0x32d5c0=>this[_0x472aa4(0x4e2)](_0x5390e2,_0x32d5c0));return this['_chartHostMap'][_0x472aa4(0x45e)](_0x5390e2,_0x4e9287),_0x4e9287;}[_0x185be1(0x4e2)](_0x33bee9,_0x1d2d05){const _0x5b9766=_0x185be1;var _0x2e3c52;let _0x33fe46=this[_0x5b9766(0x1ff)][_0x5b9766(0x277)](_0x33bee9),_0x37e08b=(_0x2e3c52=this[_0x5b9766(0x56a)][_0x5b9766(0x17c)][_0x5b9766(0x2a3)](([_0x5bd3d8])=>_0x5bd3d8===_0x33bee9))==null?void 0x0:_0x2e3c52[0x1],_0x431ba9=_0x33fe46?this[_0x5b9766(0x390)](_0x33fe46[_0x5b9766(0x2ac)]):null;if(!_0x33fe46||!_0x37e08b||!_0x431ba9)return(0x0,_0x1ba070[_0x5b9766(0x410)])(()=>{});let _0x4ed94d=(0x0,_0x135c9c[_0x5b9766(0x224)])({'unitId':_0x33fe46[_0x5b9766(0x2ac)],'subUnitId':_0x33fe46[_0x5b9766(0x50c)],'drawingId':_0x33bee9});return new _0x2c5282(_0x1d2d05,{'onPointerDown':_0x37e08b[_0x5b9766(0x3d2)],'onPointerMove':_0x37e08b['onPointerMove'],'onPointerUp':_0x37e08b[_0x5b9766(0x1f4)]},_0x431ba9[_0x5b9766(0x532)][_0x5b9766(0x4df)][_0x5b9766(0x4d3)]((0x0,_0x5e3636[_0x5b9766(0x3e6)])(_0x4db467=>_0x4db467[_0x5b9766(0x25c)][_0x5b9766(0x4b2)](_0x4ed94d)&&((_0x4db467[_0x5b9766(0x428)]??0x0)!==0x0||(_0x4db467['moveY']??0x0)!==0x0))),_0x1c9eb7=>this[_0x5b9766(0x56a)][_0x5b9766(0x243)](_0x33bee9,_0x1c9eb7));}[_0x185be1(0x4b6)](_0x367a37){const _0x38afad=_0x185be1;this[_0x38afad(0x2f1)][_0x38afad(0x4b2)](_0x367a37)||(this[_0x38afad(0x2f1)]['add'](_0x367a37),this['_alignFloatDomPositionWithSceneRender'](_0x367a37),this[_0x38afad(0x1cd)](_0x367a37));}[_0x185be1(0x355)](_0x176e5b){const _0x356c91=_0x185be1;var _0x1c96ce;let _0x2cba7a=this[_0x356c91(0x1ff)][_0x356c91(0x277)](_0x176e5b),_0x20d30f=_0x2cba7a?(_0x1c96ce=this[_0x356c91(0x51d)][_0x356c91(0x3ef)](_0x2cba7a[_0x356c91(0x2ac)]))==null?void 0x0:_0x1c96ce[_0x356c91(0x493)]:null;if(!_0x2cba7a||!_0x20d30f)return;let _0x3f20be=(0x0,_0x5e3636[_0x356c91(0x2a5)])(_0x2cba7a[_0x356c91(0x541)]['pipe']((0x0,_0x5e3636[_0x356c91(0x22c)])(0x1)),_0x20d30f[_0x356c91(0x1ea)][_0x356c91(0x4d3)]((0x0,_0x5e3636[_0x356c91(0x4f3)])(_0x2cba7a['position$']),(0x0,_0x5e3636[_0x356c91(0x18e)])(([,_0x3b1449])=>_0x3b1449)))[_0x356c91(0x4d3)]((0x0,_0x5e3636[_0x356c91(0x306)])(),(0x0,_0x5e3636[_0x356c91(0x18e)])(_0xbe7594));this[_0x356c91(0x56a)][_0x356c91(0x243)](_0x176e5b,{'position$':_0x3f20be});}[_0x185be1(0x26e)](_0x37fbbc){const _0x1521f1=_0x185be1;let _0x2f81b8=this[_0x1521f1(0x1ff)]['getFloatDomInfo'](_0x37fbbc);_0x2f81b8&&this['_canvasFloatDomService'][_0x1521f1(0x243)](_0x37fbbc,{'position$':_0x2f81b8[_0x1521f1(0x541)]});}[_0x185be1(0x4b3)](_0x363000){const _0x1fd9ec=_0x185be1;let _0x1611a4=this[_0x1fd9ec(0x1ff)][_0x1fd9ec(0x277)](_0x363000);return _0x1611a4?{'unitId':_0x1611a4['unitId'],'subUnitId':_0x1611a4['subUnitId'],'chartId':_0x363000}:null;}['_requestChartCanvasRender'](_0x49d1ff){const _0xe10c47=_0x185be1;var _0xf2f798,_0x38ec36,_0xcba4df;let _0x198ef4=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x49d1ff);if(!_0x198ef4)return;let _0x3d3366=(_0xf2f798=this[_0xe10c47(0x51d)]['getRenderUnitById'](_0x198ef4[_0xe10c47(0x2ac)]))==null?void 0x0:_0xf2f798['scene'],_0x206f3c=(_0x3d3366==null||(_0x38ec36=_0x3d3366[_0xe10c47(0x4de)])==null?void 0x0:_0x38ec36[_0xe10c47(0x371)](_0x3d3366,(0x0,_0x135c9c['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x198ef4[_0xe10c47(0x2ac)],'subUnitId':_0x198ef4['subUnitId'],'drawingId':_0x49d1ff})))??(_0x3d3366==null?void 0x0:_0x3d3366['getObject']((0x0,_0x135c9c[_0xe10c47(0x224)])({'unitId':_0x198ef4[_0xe10c47(0x2ac)],'subUnitId':_0x198ef4[_0xe10c47(0x50c)],'drawingId':_0x49d1ff})))??null;_0x206f3c==null||(_0xcba4df=_0x206f3c['makeDirty'])==null||_0xcba4df[_0xe10c47(0x371)](_0x206f3c,!0x0),_0x3d3366==null||_0x3d3366[_0xe10c47(0x572)](!0x0);}[_0x185be1(0x24b)](_0x58a5bf){const _0x2972d7=_0x185be1;let _0x2d26b7=this[_0x2972d7(0x1ff)][_0x2972d7(0x277)](_0x58a5bf);if(!_0x2d26b7)return null;let _0x3e7919=this[_0x2972d7(0x390)](_0x2d26b7['unitId']),_0x290c37=_0x3e7919==null?void 0x0:_0x3e7919[_0x2972d7(0x493)],_0x4bc370=document[_0x2972d7(0x56e)](_0x2d26b7[_0x2972d7(0x327)]??_0x58a5bf);return _0xa8b433(_0x2d26b7[_0x2972d7(0x4ee)],{'scaleX':(_0x290c37==null?void 0x0:_0x290c37[_0x2972d7(0x2b8)])??0x1,'scaleY':(_0x290c37==null?void 0x0:_0x290c37[_0x2972d7(0x22b)])??0x1},_0x4bc370?{'left':_0x4bc370[_0x2972d7(0x4dd)],'top':_0x4bc370[_0x2972d7(0x50b)]}:void 0x0);}['dispose'](){const _0x18b42a=_0x185be1;this[_0x18b42a(0x417)]||(Array['from'](this[_0x18b42a(0x261)]['keys']())['forEach'](_0x4ea283=>this[_0x18b42a(0x252)](_0x4ea283)),this[_0x18b42a(0x2f1)]['clear'](),this[_0x18b42a(0x359)][_0x18b42a(0x357)](),super[_0x18b42a(0x4d8)]());}};_0x3fe827=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1d47e2['IRenderManagerService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x437b6a)),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['CanvasFloatDomService']))],_0x3fe827);let _0xd413d=(0x0,_0x1ba070['createIdentifier'])(_0x185be1(0x4eb)),_0x1d526d=_0x214e0a[_0x185be1(0x2a1)][_0x185be1(0x1bb)];var _0x2da126=class extends _0x214e0a[_0x185be1(0x3b3)]{constructor(_0x5051f7,_0x4b9cf3){const _0x12ca4b=_0x185be1;super(_0x5051f7),this[_0x12ca4b(0x1b2)]=_0x4b9cf3,_0x3d73b3(this,_0x12ca4b(0x183),0x0),_0x3d73b3(this,'_image',void 0x0),_0x3d73b3(this,_0x12ca4b(0x1c3),{});}['getRect'](){return this['_rect'];}[_0x185be1(0x4d0)](_0x469177){const _0x130438=_0x185be1;this[_0x130438(0x1c3)]=_0x469177;}[_0x185be1(0x321)](){const _0x3c8f48=_0x185be1;return++this[_0x3c8f48(0x183)];}[_0x185be1(0x4a7)](_0x12ea5a,_0x211a46){const _0x4af1a5=_0x185be1;return _0x211a46===this[_0x4af1a5(0x183)]?(_0x173e38(this[_0x4af1a5(0x489)]),this['_image']=_0x12ea5a,!0x0):(_0x173e38(_0x12ea5a),!0x1);}['requestPaint'](){}[_0x185be1(0x2ce)](){const _0x5a9222=_0x185be1;this[_0x5a9222(0x183)]+=0x1;}['takeSnapshot'](){const _0x5f434e=_0x185be1;let _0x31794e=this[_0x5f434e(0x489)];return this['_image']=void 0x0,_0x31794e;}['dispose'](){const _0x5c7ad1=_0x185be1;_0x173e38(this[_0x5c7ad1(0x489)]),this[_0x5c7ad1(0x489)]=void 0x0,super['dispose']();}};function _0x9b82a3(_0x16cbf0,_0xddb1de,_0x4a22bb){const _0xdd3b32=_0x185be1;let _0x56f5df=_0x16cbf0[_0xdd3b32(0x2b3)](_0xddb1de),_0x449dee={..._0x16cbf0[_0xdd3b32(0x1c3)],'runtime':{..._0x56f5df,'layoutInset':0x8,..._0x4a22bb===void 0x0?{}:{'addWatermark':_0x4a22bb}},'direction':_0xddb1de};return(0x0,_0x214e0a[_0xdd3b32(0x4f7)])(_0x449dee,_0x16cbf0[_0xdd3b32(0x593)]);}let _0x17894a=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x2e5b06,_0x258d9b,_0x164c07,_0x3eddfd,_0x1aa14f,_0x35a3a4,_0x41d16e,_0x26bfdd,_0x45206d,_0x303c97,_0x56ead9,_0x3221c0,_0x49e278){const _0x58bcb4=_0x185be1;super(),this[_0x58bcb4(0x568)]=_0x2e5b06,this[_0x58bcb4(0x1ff)]=_0x258d9b,this[_0x58bcb4(0x57a)]=_0x164c07,this[_0x58bcb4(0x3d0)]=_0x3eddfd,this[_0x58bcb4(0x538)]=_0x1aa14f,this[_0x58bcb4(0x51d)]=_0x35a3a4,this[_0x58bcb4(0x2cd)]=_0x41d16e,this['_injector']=_0x26bfdd,this[_0x58bcb4(0x583)]=_0x45206d,this['_themeService']=_0x303c97,this[_0x58bcb4(0x4cc)]=_0x56ead9,this[_0x58bcb4(0x3f6)]=_0x3221c0,this['_renderModelManager']=_0x49e278,_0x3d73b3(this,_0x58bcb4(0x474),new Map()),_0x3d73b3(this,'_chartEventHandlers',new Map()),_0x3d73b3(this,_0x58bcb4(0x39a),new Map()),_0x3d73b3(this,_0x58bcb4(0x43c),new Map()),_0x3d73b3(this,_0x58bcb4(0x506),new Map()),_0x3d73b3(this,_0x58bcb4(0x3a3),new Map()),_0x3d73b3(this,_0x58bcb4(0x2e2),new Map()),_0x3d73b3(this,_0x58bcb4(0x1b8),void 0x0),_0x3d73b3(this,'_addWatermark',void 0x0),_0x3d73b3(this,_0x58bcb4(0x211),new Map()),_0x3d73b3(this,'_dataUpdateAnimationChartIds',new Set()),_0x3d73b3(this,_0x58bcb4(0x50f),new Map()),_0x3d73b3(this,_0x58bcb4(0x20c),null),_0x3d73b3(this,_0x58bcb4(0x4d1),null);let _0x411af1=(0x0,_0x113ca7[_0x58bcb4(0x591)])(this[_0x58bcb4(0x48d)]),_0x6b89a7=this[_0x58bcb4(0x4cc)]['getConfig'](_0x113ca7[_0x58bcb4(0x518)]);this[_0x58bcb4(0x1b8)]=(_0x6b89a7==null?void 0x0:_0x6b89a7['chartRenderMode'])??_0x1d526d,this[_0x58bcb4(0x405)]=_0x411af1[_0x58bcb4(0x36b)]!==0x1||_0x411af1[0x0]!==_0x58bcb4(0x302),this[_0x58bcb4(0x50d)](),this[_0x58bcb4(0x309)](),this[_0x58bcb4(0x31f)](),this[_0x58bcb4(0x55e)](),this[_0x58bcb4(0x2c8)]();}[_0x185be1(0x500)](_0x24f209){const _0x2cb030=_0x185be1;let _0x38caf9=this[_0x2cb030(0x4b3)](_0x24f209);return _0x38caf9?this[_0x2cb030(0x3f6)][_0x2cb030(0x42e)](_0x38caf9):void 0x0;}[_0x185be1(0x2c7)](_0x1a0384){const _0x12f43e=_0x185be1;var _0x3f074b;return((_0x3f074b=this['_chartModelService'][_0x12f43e(0x286)])==null?void 0x0:_0x3f074b['id'])===_0x1a0384?_0x214e0a[_0x12f43e(0x2a1)]['Dom']:this[_0x12f43e(0x1b8)];}[_0x185be1(0x4b3)](_0x11a0dc){const _0x2eb81d=_0x185be1;let _0x334847=this['_sheetCanvasFloatDomManagerService'][_0x2eb81d(0x277)](_0x11a0dc);return _0x334847?{'unitId':_0x334847[_0x2eb81d(0x2ac)],'subUnitId':_0x334847[_0x2eb81d(0x50c)],'chartId':_0x11a0dc}:null;}[_0x185be1(0x50d)](){const _0x48cc25=_0x185be1;this['_chartRenderMode']===_0x214e0a[_0x48cc25(0x2a1)][_0x48cc25(0x1bb)]&&this[_0x48cc25(0x3d7)](this[_0x48cc25(0x1ff)][_0x48cc25(0x495)](_0x1ba070[_0x48cc25(0x1f9)][_0x48cc25(0x52f)],({key:_0x5a0bb3,config:_0x4ec003,unitId:_0x4a45fe,subUnitId:_0x286b02,drawingId:_0xc903b9})=>new _0x4613b7(_0x5a0bb3,_0x4ec003,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x4a45fe,'subUnitId':_0x286b02,'chartId':_0xc903b9}),()=>this[_0x48cc25(0x568)]['isDomReady'](_0xc903b9))));}[_0x185be1(0x309)](){const _0x4083f3=_0x185be1;this['disposeWithMe'](this[_0x4083f3(0x57a)][_0x4083f3(0x548)]['subscribe'](_0x684518=>{const _0xf8e524=_0x4083f3;let _0x48da59=(_0x684518==null?void 0x0:_0x684518['id'])??null,_0x572a3c=this[_0xf8e524(0x20c)];_0x572a3c!==_0x48da59&&(_0x572a3c&&(this['_chartHostProvider'][_0xf8e524(0x28e)](_0x572a3c),this[_0xf8e524(0x193)](_0x572a3c),this[_0xf8e524(0x19b)](_0x572a3c)),this['_activeChartId']=_0x48da59,_0x48da59&&(this[_0xf8e524(0x3f2)](_0x48da59),this['_chartHostProvider'][_0xf8e524(0x28e)](_0x48da59),this[_0xf8e524(0x2ad)](_0x48da59),this[_0xf8e524(0x1dc)](_0x48da59)));}));}[_0x185be1(0x31f)](){const _0x23fe6f=_0x185be1;this[_0x23fe6f(0x3d7)](this['_drawingManagerService'][_0x23fe6f(0x226)][_0x23fe6f(0x17f)](_0x4e4617=>{const _0x5b1e14=_0x23fe6f;var _0x238050;let _0x145f8a=(_0x238050=this['_chartModelService'][_0x5b1e14(0x286)])==null?void 0x0:_0x238050['id'];_0x145f8a&&_0x4e4617[_0x5b1e14(0x3fc)](_0x602d9b=>_0x602d9b[_0x5b1e14(0x2ae)][_0x5b1e14(0x3fc)](_0x38d39d=>_0x38d39d[_0x5b1e14(0x3b7)]===_0x145f8a))&&this[_0x5b1e14(0x57a)]['setActiveChartModel'](null);})),this['disposeWithMe'](this[_0x23fe6f(0x3d0)][_0x23fe6f(0x488)][_0x23fe6f(0x17f)](_0x23c3b7=>{const _0x4f5e1b=_0x23fe6f;var _0x4785e2;let _0xcda561=(_0x4785e2=this['_chartModelService'][_0x4f5e1b(0x286)])==null?void 0x0:_0x4785e2['id'];_0xcda561&&_0x23c3b7['some'](_0x5dd2a8=>_0x5dd2a8[_0x4f5e1b(0x524)]['drawingId']===_0xcda561||_0x5dd2a8[_0x4f5e1b(0x2ae)][_0x4f5e1b(0x3fc)](_0x49bac6=>_0x49bac6[_0x4f5e1b(0x3b7)]===_0xcda561))&&this[_0x4f5e1b(0x57a)]['setActiveChartModel'](null);}));}['_initActiveRuntimeLayerListener'](){const _0x246af9=_0x185be1;this[_0x246af9(0x3d7)](this['_drawingManagerService'][_0x246af9(0x534)][_0x246af9(0x17f)](_0x284401=>{const _0x4de0fa=_0x246af9;var _0x3d7dad;let _0x347967=(_0x3d7dad=this[_0x4de0fa(0x57a)]['activeChartModel'])==null?void 0x0:_0x3d7dad['id'];if(!_0x347967){_0x284401[_0x4de0fa(0x4d5)][_0x4de0fa(0x55c)](_0x494728=>{const _0x3dc324=_0x4de0fa;this['_chartModelService'][_0x3dc324(0x214)](_0x494728)&&this[_0x3dc324(0x193)](_0x494728);});return;}let _0x1bedac=this[_0x4de0fa(0x1ff)][_0x4de0fa(0x277)](_0x347967);(_0x1bedac==null?void 0x0:_0x1bedac['unitId'])===_0x284401[_0x4de0fa(0x2ac)]&&_0x1bedac[_0x4de0fa(0x50c)]===_0x284401[_0x4de0fa(0x50c)]&&this[_0x4de0fa(0x2ad)](_0x347967);})),this[_0x246af9(0x3d7)](this[_0x246af9(0x3d0)]['add$']['subscribe'](_0x18e2a0=>{const _0x341be5=_0x246af9;var _0xb6a895;let _0x35b140=(_0xb6a895=this[_0x341be5(0x57a)][_0x341be5(0x286)])==null?void 0x0:_0xb6a895['id'];if(!_0x35b140)return;let _0x319fb0=this['_sheetCanvasFloatDomManagerService'][_0x341be5(0x277)](_0x35b140);_0x319fb0&&_0x18e2a0[_0x341be5(0x3fc)](_0x363dab=>_0x363dab[_0x341be5(0x2ac)]===_0x319fb0['unitId']&&_0x363dab[_0x341be5(0x50c)]===_0x319fb0[_0x341be5(0x50c)])&&this[_0x341be5(0x2ad)](_0x35b140);})),this['disposeWithMe'](this[_0x246af9(0x57a)]['chartModelRemoved$'][_0x246af9(0x17f)](_0x1883f8=>{const _0x5e8c0b=_0x246af9;var _0x247ded;this['_disposeChartChangeListeners'](_0x1883f8),this[_0x5e8c0b(0x3ac)](_0x1883f8),this[_0x5e8c0b(0x57b)][_0x5e8c0b(0x2e1)](_0x1883f8),this[_0x5e8c0b(0x3f2)](_0x1883f8),this[_0x5e8c0b(0x211)]['delete'](_0x1883f8),this[_0x5e8c0b(0x3f6)]['clearChart'](_0x1883f8),this[_0x5e8c0b(0x30d)](_0x1883f8),this[_0x5e8c0b(0x568)][_0x5e8c0b(0x28e)](_0x1883f8),((_0x247ded=this['_chartModelService'][_0x5e8c0b(0x286)])==null?void 0x0:_0x247ded['id'])===_0x1883f8?this['_chartModelService'][_0x5e8c0b(0x4a3)](null):this[_0x5e8c0b(0x193)](_0x1883f8),this[_0x5e8c0b(0x3f7)](_0x1883f8);}));}[_0x185be1(0x1dc)](_0x6683d1){const _0x32ac78=_0x185be1;let _0x3a60dc=this[_0x32ac78(0x211)][_0x32ac78(0x442)](_0x6683d1);_0x3a60dc&&this[_0x32ac78(0x266)](_0x6683d1,_0x3a60dc[_0x32ac78(0x4fd)],_0x3a60dc[_0x32ac78(0x1c3)]);}['_disposeChartDomInstance'](_0x50fa2f){const _0x1cc2b7=_0x185be1;let _0x3cb7ab=this[_0x1cc2b7(0x474)]['get'](_0x50fa2f);(_0x3cb7ab==null?void 0x0:_0x3cb7ab[_0x1cc2b7(0x463)])===_0x1cc2b7(0x2f6)&&(this['_disposeChartEventSubscriptions'](_0x50fa2f),_0x3cb7ab[_0x1cc2b7(0x4d8)](),this[_0x1cc2b7(0x474)][_0x1cc2b7(0x2e1)](_0x50fa2f)),this[_0x1cc2b7(0x568)][_0x1cc2b7(0x28e)](_0x50fa2f),this[_0x1cc2b7(0x568)][_0x1cc2b7(0x252)](_0x50fa2f);}[_0x185be1(0x3f7)](_0x2c9b8b){const _0x346c12=_0x185be1;let _0x511150=this[_0x346c12(0x474)][_0x346c12(0x442)](_0x2c9b8b);_0x511150&&(this[_0x346c12(0x3ac)](_0x2c9b8b),_0x511150[_0x346c12(0x4d8)](),this[_0x346c12(0x474)][_0x346c12(0x2e1)](_0x2c9b8b)),this[_0x346c12(0x568)][_0x346c12(0x28e)](_0x2c9b8b),this[_0x346c12(0x568)]['removeHost'](_0x2c9b8b);}['_notifyChartRemoved'](_0x32155d){const _0x10e797=_0x185be1;var _0x370037,_0x16a5e0;(_0x370037=this['_renderModelManager'][_0x10e797(0x1f2)](_0x214e0a[_0x10e797(0x350)]))==null||(_0x16a5e0=_0x370037['emitChartEvent'])==null||_0x16a5e0[_0x10e797(0x371)](_0x370037,{'type':_0x10e797(0x1a0),'chartId':_0x32155d});}[_0x185be1(0x40c)](_0x20efe0,_0x3d11b0){const _0x137311=_0x185be1;let _0x1d0547=this['_drawingManagerService'][_0x137311(0x39b)](_0x20efe0,_0x3d11b0);Object[_0x137311(0x420)](_0x1d0547??{})[_0x137311(0x55c)](_0xb6dac7=>{const _0x1a5f59=_0x137311;if(_0xb6dac7[_0x1a5f59(0x2d3)]===_0x1ba070[_0x1a5f59(0x1f9)]['DRAWING_CHART']){var _0x358992,_0x4b0b10;(_0x358992=this[_0x1a5f59(0x3a5)]['getRenderModel'](_0x214e0a['EChartRenderEngineName']))==null||(_0x4b0b10=_0x358992[_0x1a5f59(0x38a)])==null||_0x4b0b10['call'](_0x358992,{'type':_0x1a5f59(0x4ed),'chartId':_0xb6dac7[_0x1a5f59(0x3b7)]});}});}[_0x185be1(0x4bb)](_0x2ad88e,_0x159a38){const _0x37d74e=_0x185be1;var _0x38d88b;return((_0x38d88b=_0x2ad88e['getObjectIncludeInGroup'])==null?void 0x0:_0x38d88b[_0x37d74e(0x371)](_0x2ad88e,_0x159a38))??_0x2ad88e[_0x37d74e(0x422)](_0x159a38)??null;}[_0x185be1(0x23b)](_0x454453){const _0x50ce9a=_0x185be1;var _0xddecbc;let _0x3cd5c5=this['_sheetCanvasFloatDomManagerService'][_0x50ce9a(0x277)](_0x454453);if(!_0x3cd5c5)return null;let _0x4b05f7=(_0xddecbc=this[_0x50ce9a(0x51d)]['getRenderUnitById'](_0x3cd5c5[_0x50ce9a(0x2ac)]))==null?void 0x0:_0xddecbc[_0x50ce9a(0x493)];if(!_0x4b05f7)return null;let _0x25ae1f=this['_getChartRenderObject'](_0x4b05f7,(0x0,_0x135c9c[_0x50ce9a(0x224)])({'unitId':_0x3cd5c5[_0x50ce9a(0x2ac)],'subUnitId':_0x3cd5c5[_0x50ce9a(0x50c)],'drawingId':_0x454453}));return _0x25ae1f?{'info':_0x3cd5c5,'scene':_0x4b05f7,'chartObject':_0x25ae1f}:null;}[_0x185be1(0x469)](_0x1f3adc,_0x35637f){const _0x3e093c=_0x185be1;var _0xee82e2,_0x4d5527,_0x410aeb,_0x5517f4;let _0x5864a3=this[_0x3e093c(0x23b)](_0x1f3adc);_0x5864a3&&((_0xee82e2=(_0x4d5527=_0x5864a3[_0x3e093c(0x433)])[_0x3e093c(0x2dc)])==null||_0xee82e2['call'](_0x4d5527,{'zIndex':_0x35637f}),(_0x410aeb=(_0x5517f4=_0x5864a3[_0x3e093c(0x433)])[_0x3e093c(0x572)])==null||_0x410aeb[_0x3e093c(0x371)](_0x5517f4,!0x0),_0x5864a3[_0x3e093c(0x493)][_0x3e093c(0x572)](!0x0));}[_0x185be1(0x2ad)](_0x35d02e){const _0x3ea9ea=_0x185be1;let _0x33e246=this[_0x3ea9ea(0x1ff)][_0x3ea9ea(0x277)](_0x35d02e);if(!_0x33e246)return;let _0x545574=this[_0x3ea9ea(0x3d0)][_0x3ea9ea(0x381)](_0x33e246[_0x3ea9ea(0x2ac)],_0x33e246[_0x3ea9ea(0x50c)]);this[_0x3ea9ea(0x469)](_0x35d02e,_0x545574[_0x3ea9ea(0x36b)]);}[_0x185be1(0x193)](_0x33c950){const _0x396599=_0x185be1;let _0x76a090=this[_0x396599(0x1ff)][_0x396599(0x277)](_0x33c950);if(!_0x76a090)return;let _0x44fb7d=this[_0x396599(0x3d0)][_0x396599(0x381)](_0x76a090[_0x396599(0x2ac)],_0x76a090[_0x396599(0x50c)]),_0x514b0e=_0x44fb7d['indexOf'](_0x33c950);this['_setChartRuntimeZIndex'](_0x33c950,_0x514b0e===-0x1?Math['max'](_0x44fb7d[_0x396599(0x36b)]-0x1,0x0):_0x514b0e);}[_0x185be1(0x364)](_0x2d3c20,_0xc6a44e){const _0x1aa99e=_0x185be1;let _0x5cb347=this['_sheetCanvasFloatDomManagerService'][_0x1aa99e(0x277)](_0x2d3c20);if(_0xc6a44e['width']!==void 0x0&&_0xc6a44e[_0x1aa99e(0x2d7)]!==void 0x0&&_0x5cb347){var _0x2e5a28;let {subUnitId:_0xff2c08}=_0x5cb347,_0x50fabe=(_0x2e5a28=this[_0x1aa99e(0x538)][_0x1aa99e(0x448)](_0x1ba070[_0x1aa99e(0x203)][_0x1aa99e(0x2da)]))==null?void 0x0:_0x2e5a28[_0x1aa99e(0x1bd)]();if((_0x50fabe==null?void 0x0:_0x50fabe[_0x1aa99e(0x2ec)]())===_0xff2c08){let {width:_0x323673,height:_0x517359}=_0xc6a44e,_0x498a79=this['_chartModelService'][_0x1aa99e(0x214)](_0x2d3c20),_0x1090e4=_0x498a79==null?void 0x0:_0x498a79[_0x1aa99e(0x1c3)];(Math[_0x1aa99e(0x305)](_0x323673-((_0x1090e4==null?void 0x0:_0x1090e4[_0x1aa99e(0x2bf)])||0x0))>0x1||Math[_0x1aa99e(0x305)](_0x517359-((_0x1090e4==null?void 0x0:_0x1090e4[_0x1aa99e(0x2d7)])||0x0))>0x1)&&(_0x498a79==null||_0x498a79[_0x1aa99e(0x2c3)]({..._0x1090e4,'width':_0x323673,'height':_0x517359}));}}}[_0x185be1(0x49c)](_0x38e102,_0x281e48,_0x3a2a4e=0x0){const _0xa2bf84=_0x185be1;let _0x5bfb3d=this[_0xa2bf84(0x3a3)][_0xa2bf84(0x442)](_0x38e102);_0x5bfb3d||(_0x5bfb3d=(0x0,_0x1ba070[_0xa2bf84(0x209)])(_0x2875e6=>{const _0x2d34a8=_0xa2bf84;this[_0x2d34a8(0x364)](_0x38e102,_0x2875e6);},_0x3a2a4e),this[_0xa2bf84(0x3a3)]['set'](_0x38e102,_0x5bfb3d)),_0x5bfb3d(_0x281e48);}['handleActiveSubUnitChange'](){const _0x32983b=_0x185be1;let _0x5ed765=this[_0x32983b(0x506)],_0x23d07a=_0x3a570d=>{const _0x13ffaa=_0x32983b;if(!_0x5ed765[_0x13ffaa(0x4b2)](_0x3a570d)){let _0x6ca47=(0x0,_0x1ba070[_0x13ffaa(0x209)])((_0x5a8949,_0x2540d4,_0x36f48d,_0x11581e)=>{const _0x4501a7=_0x13ffaa;var _0x3f5c94,_0x4cab33;if(!_0x36f48d)return;(_0x3f5c94=_0x36f48d['category'])==null||_0x3f5c94[_0x4501a7(0x199)][_0x4501a7(0x55c)]((_0x3e4bc2,_0x46e27f)=>{const _0x38ac14=_0x4501a7;_0x3e4bc2['label']||=this[_0x38ac14(0x2cd)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x46e27f+0x1);}),_0x36f48d[_0x4501a7(0x1c5)]['forEach']((_0x4b2342,_0x2cdab9)=>{const _0x5ec0b0=_0x4501a7;_0x4b2342[_0x5ec0b0(0x48e)]||=this[_0x5ec0b0(0x2cd)]['t'](_0x5ec0b0(0x398))+'\x20'+(_0x2cdab9+0x1);});let _0x3d376=this[_0x4501a7(0x40e)](_0x5a8949,_0x11581e),_0x128f9d=(_0x4cab33=this[_0x4501a7(0x538)][_0x4501a7(0x448)](_0x1ba070[_0x4501a7(0x203)]['UNIVER_SHEET']))==null?void 0x0:_0x4cab33['getActiveSheet']();(_0x128f9d==null?void 0x0:_0x128f9d[_0x4501a7(0x2ec)]())===_0x2540d4&&this['render'](_0x5a8949['id'],_0x36f48d,_0x3d376);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x5ed765['set'](_0x3a570d,_0x6ca47);}return _0x5ed765[_0x13ffaa(0x442)](_0x3a570d);};this['disposeWithMe'](this[_0x32983b(0x538)][_0x32983b(0x2b1)][_0x32983b(0x17f)](_0x386cc7=>{const _0xf4fdd9=_0x32983b;let _0x1478ca=this[_0xf4fdd9(0x538)][_0xf4fdd9(0x448)](_0x1ba070['UniverInstanceType']['UNIVER_SHEET']);if(_0x386cc7&&_0x1478ca&&_0x1478ca[_0xf4fdd9(0x185)]()===_0x386cc7){var _0x1fcf29;let _0x4bdd3b=_0x1478ca[_0xf4fdd9(0x1bd)]()[_0xf4fdd9(0x2ec)]();this[_0xf4fdd9(0x4d1)]&&(this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x2ac)]!==_0x386cc7||this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x50c)]!==_0x4bdd3b)&&this[_0xf4fdd9(0x40c)](this['_lastActiveSheet']['unitId'],this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x50c)]),this[_0xf4fdd9(0x4d1)]={'unitId':_0x386cc7,'subUnitId':_0x4bdd3b};let _0x4df9c2=this['_drawingManagerService'][_0xf4fdd9(0x39b)](_0x386cc7,_0x4bdd3b);if(!((_0x1fcf29=this[_0xf4fdd9(0x51d)]['getRenderUnitById'](_0x386cc7))!=null&&_0x1fcf29[_0xf4fdd9(0x356)](_0x53e756[_0xf4fdd9(0x48c)])['getSkeleton'](_0x4bdd3b)))return;if(_0x4df9c2)for(let _0x30e1d2 in _0x4df9c2){let {drawingId:_0x13b491}=_0x4df9c2[_0x30e1d2],_0x11f4a7=this['_chartModelService']['getChartModel'](_0x13b491);_0x11f4a7&&_0x23d07a(_0x11f4a7['id'])(_0x11f4a7,_0x4bdd3b,_0x11f4a7[_0xf4fdd9(0x4fd)],this[_0xf4fdd9(0x2cd)][_0xf4fdd9(0x27b)]());}}})),this[_0x32983b(0x3d7)](this[_0x32983b(0x29d)][_0x32983b(0x34e)][_0x32983b(0x17f)](()=>{const _0x3de60a=_0x32983b;var _0x48d059;let _0x4fe046=this['_univerInstanceService'][_0x3de60a(0x448)](_0x1ba070[_0x3de60a(0x203)][_0x3de60a(0x2da)]);if(!_0x4fe046)return;let _0x26b046=_0x4fe046['getUnitId'](),_0x35ef17=_0x4fe046[_0x3de60a(0x1bd)]()[_0x3de60a(0x2ec)](),_0x3972f6=this[_0x3de60a(0x3d0)][_0x3de60a(0x39b)](_0x26b046,_0x35ef17);if((_0x48d059=this[_0x3de60a(0x51d)][_0x3de60a(0x3ef)](_0x26b046))!=null&&_0x48d059[_0x3de60a(0x356)](_0x53e756['SheetSkeletonManagerService'])[_0x3de60a(0x293)](_0x35ef17)&&_0x3972f6)for(let _0x521669 in _0x3972f6){let {drawingId:_0x3a9aba}=_0x3972f6[_0x521669],_0x5b38f9=this[_0x3de60a(0x57a)]['getChartModel'](_0x3a9aba);_0x5b38f9&&_0x23d07a(_0x5b38f9['id'])(_0x5b38f9,_0x35ef17,_0x5b38f9['config'],this[_0x3de60a(0x2cd)]['getDirection']());}})),this[_0x32983b(0x3d7)](this['_drawingManagerService'][_0x32983b(0x280)][_0x32983b(0x17f)](_0x43c78d=>{const _0x3adf13=_0x32983b;_0x43c78d[_0x3adf13(0x55c)](_0x100f61=>{const _0x29713d=_0x3adf13;var _0x409d56;let {drawingId:_0x57f2fe,unitId:_0x1b8eb2,subUnitId:_0x10e9fe}=_0x100f61,_0x4b61ed=this[_0x29713d(0x51d)]['getRenderUnitById'](_0x1b8eb2);if((_0x4b61ed==null?void 0x0:_0x4b61ed[_0x29713d(0x569)])!==_0x1ba070[_0x29713d(0x203)]['UNIVER_SHEET']||!_0x4b61ed[_0x29713d(0x356)](_0x53e756[_0x29713d(0x48c)])['getSkeleton'](_0x10e9fe))return;let {drawingType:_0x49841b}=this[_0x29713d(0x3d0)]['getDrawingByParam'](_0x100f61);if(_0x49841b!==_0x1ba070['DrawingTypeEnum'][_0x29713d(0x52f)])return;let _0x116311=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x57f2fe);this[_0x29713d(0x412)](_0x57f2fe);let _0x2877ef=new _0x1ba070['Disposable']();this[_0x29713d(0x2e2)][_0x29713d(0x45e)](_0x57f2fe,_0x2877ef);let _0x182945=(_0x116311==null?void 0x0:_0x116311['domId'])??_0x57f2fe,_0x401b9d=_0x116311==null?void 0x0:_0x116311[_0x29713d(0x4ee)],_0x2f9e1b=(_0x409d56=this[_0x29713d(0x51d)]['getRenderUnitById'](_0x1b8eb2))==null?void 0x0:_0x409d56[_0x29713d(0x493)];if(_0x401b9d){let _0x502ce1=new _0x11d874(_0x401b9d,async _0x35cbc8=>{const _0xad7fc6=_0x29713d;var _0x1e5da9;let _0x28de5e=this[_0xad7fc6(0x538)][_0xad7fc6(0x448)](_0x1ba070['UniverInstanceType'][_0xad7fc6(0x2da)]);if((_0x28de5e==null?void 0x0:_0x28de5e['getUnitId']())===_0x1b8eb2&&((_0x1e5da9=_0x28de5e[_0xad7fc6(0x1bd)]())==null?void 0x0:_0x1e5da9[_0xad7fc6(0x2ec)]())===_0x10e9fe&&(this['_chartHostProvider'][_0xad7fc6(0x290)](_0x57f2fe),_0x35cbc8)){let {width:_0x548b45,height:_0x4f295c}=_0x401b9d;this['_debounceHandle'](_0x57f2fe,{'width':_0x548b45,'height':_0x4f295c},0x64);let _0x1f817b=this[_0xad7fc6(0x57a)]['getChartModel'](_0x57f2fe);_0x1f817b!=null&&_0x1f817b['config']&&await this['render'](_0x57f2fe,_0x1f817b[_0xad7fc6(0x4fd)],this[_0xad7fc6(0x40e)](_0x1f817b,this['_localeService'][_0xad7fc6(0x27b)]()));}});_0x2877ef['disposeWithMe'](_0x502ce1),_0x2877ef[_0x29713d(0x3d7)](this[_0x29713d(0x538)]['focused$'][_0x29713d(0x17f)](()=>_0x502ce1[_0x29713d(0x194)][_0x29713d(0x313)]())),_0x2f9e1b&&_0x2877ef[_0x29713d(0x3d7)](_0x2f9e1b[_0x29713d(0x253)]()[_0x29713d(0x4ea)][_0x29713d(0x17f)](({objects:_0x5b4bb3})=>{const _0x4b7dd3=_0x29713d;if(_0x5b4bb3[_0x4b7dd3(0x4b2)](_0x401b9d['oKey'])){var _0x56e3af;_0x502ce1[_0x4b7dd3(0x194)][_0x4b7dd3(0x394)](),(_0x56e3af=this[_0x4b7dd3(0x3a3)][_0x4b7dd3(0x442)](_0x57f2fe))==null||_0x56e3af[_0x4b7dd3(0x32b)](),this[_0x4b7dd3(0x364)](_0x57f2fe,{'width':_0x401b9d[_0x4b7dd3(0x2bf)],'height':_0x401b9d['height']});}}));}_0x2f9e1b&&_0x2877ef[_0x29713d(0x3d7)](_0x2f9e1b[_0x29713d(0x4bc)][_0x29713d(0x255)](_0x3c145c=>{const _0x166dae=_0x29713d;var _0x525839;_0x3c145c[_0x166dae(0x569)]===_0x1d47e2['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['scale']&&(_0x525839=document['getElementById'](_0x182945))!=null&&_0x525839['querySelector'](_0x166dae(0x30c))&&this[_0x166dae(0x568)][_0x166dae(0x290)](_0x57f2fe);}));let _0x218c59=this[_0x29713d(0x57a)][_0x29713d(0x214)](_0x57f2fe);_0x218c59&&_0x2877ef['disposeWithMe']((0x0,_0x5e3636[_0x29713d(0x595)])([_0x218c59[_0x29713d(0x235)],_0x218c59[_0x29713d(0x325)],this[_0x29713d(0x2cd)][_0x29713d(0x353)]])[_0x29713d(0x17f)](([_0x2063ec,_0x249d6b,_0x354d6e])=>{_0x23d07a(_0x218c59['id'])(_0x218c59,_0x10e9fe,_0x2063ec,_0x354d6e);}));});})),this['disposeWithMe']((0x0,_0x5e3636['combineLatest'])([this[_0x32983b(0x3d0)][_0x32983b(0x1c4)]])['subscribe'](([_0xd5d76d])=>{const _0x587827=_0x32983b;_0xd5d76d[_0x587827(0x55c)](_0x4bedc2=>{const _0x4b628c=_0x587827;var _0x35b4c5;let {drawingId:_0x105959}=_0x4bedc2;this[_0x4b628c(0x412)](_0x105959),((_0x35b4c5=this[_0x4b628c(0x57a)][_0x4b628c(0x286)])==null?void 0x0:_0x35b4c5['id'])===_0x105959&&this[_0x4b628c(0x57a)][_0x4b628c(0x4a3)](null),this['_disposeChartEventSubscriptions'](_0x105959),this['_chartHostProvider'][_0x4b628c(0x28e)](_0x105959),this[_0x4b628c(0x193)](_0x105959),this[_0x4b628c(0x3f7)](_0x105959),this[_0x4b628c(0x3f6)][_0x4b628c(0x31e)](_0x105959),this[_0x4b628c(0x30d)](_0x105959),this[_0x4b628c(0x211)][_0x4b628c(0x2e1)](_0x105959),this[_0x4b628c(0x43c)]['delete'](_0x105959);});}));}[_0x185be1(0x4e7)](_0x371996,_0x15954f){const _0x25f174=_0x185be1;var _0x1b46ad;_0x15954f?this[_0x25f174(0x43c)][_0x25f174(0x45e)](_0x371996,!0x0):this[_0x25f174(0x43c)][_0x25f174(0x2e1)](_0x371996),(_0x1b46ad=this[_0x25f174(0x474)][_0x25f174(0x442)](_0x371996))==null||_0x1b46ad[_0x25f174(0x4e7)](_0x15954f);}async[_0x185be1(0x21f)](_0x43b866,_0x1274c2){const _0x15d650=_0x185be1;var _0x5a7b83;let _0x1ac339=this[_0x15d650(0x211)][_0x15d650(0x442)](_0x43b866),_0x405e73=(_0x5a7b83=this[_0x15d650(0x1ff)][_0x15d650(0x277)](_0x43b866))==null?void 0x0:_0x5a7b83['rect'];if(_0x1ac339&&_0x405e73)return(await this[_0x15d650(0x3a5)]['exportImage']({'chartId':_0x43b866,'config':_0x1ac339[_0x15d650(0x4fd)],'style':_0x1ac339[_0x15d650(0x1c3)],'width':_0x405e73[_0x15d650(0x2bf)],'height':_0x405e73[_0x15d650(0x2d7)]},_0x1274c2))[_0x15d650(0x1a7)];if((_0x1274c2==null?void 0x0:_0x1274c2[_0x15d650(0x320)])===_0x214e0a[_0x15d650(0x558)][_0x15d650(0x481)])return;let _0x5a18fd=this[_0x15d650(0x4b0)](_0x43b866);return _0x5a18fd?(0x0,_0x214e0a['chartImageSourceToDataUrl'])(_0x5a18fd):void 0x0;}['on'](_0x3d13b8,_0x2cdb3f,_0x2a87e3){const _0x30a038=_0x185be1;let _0x3aaf4d=this[_0x30a038(0x57b)][_0x30a038(0x442)](_0x3d13b8);_0x3aaf4d||(_0x3aaf4d=new Map(),this[_0x30a038(0x57b)]['set'](_0x3d13b8,_0x3aaf4d));let _0x312670=_0x3aaf4d[_0x30a038(0x442)](_0x2cdb3f);_0x312670||(_0x312670=new Set(),_0x3aaf4d[_0x30a038(0x45e)](_0x2cdb3f,_0x312670)),_0x312670[_0x30a038(0x221)](_0x2a87e3);let _0x59f17c=this[_0x30a038(0x474)][_0x30a038(0x442)](_0x3d13b8);return _0x59f17c&&this[_0x30a038(0x589)](_0x3d13b8,_0x59f17c,_0x2cdb3f,_0x2a87e3),{'dispose':()=>{const _0x17f4c2=_0x30a038;var _0x317dfc;(_0x317dfc=this[_0x17f4c2(0x57b)][_0x17f4c2(0x442)](_0x3d13b8))==null||(_0x317dfc=_0x317dfc[_0x17f4c2(0x442)](_0x2cdb3f))==null||_0x317dfc['delete'](_0x2a87e3),this[_0x17f4c2(0x297)](_0x3d13b8,_0x2cdb3f,_0x2a87e3);}};}[_0x185be1(0x4b0)](_0xfe25d6){const _0x36c42c=_0x185be1;let _0x347335=this[_0x36c42c(0x538)]['getCurrentUnitOfType'](_0x1ba070[_0x36c42c(0x203)][_0x36c42c(0x2da)]),_0x123437=_0x347335==null?void 0x0:_0x347335[_0x36c42c(0x1bd)](),_0x6619d4=_0x347335==null?void 0x0:_0x347335[_0x36c42c(0x185)](),_0x732c6=_0x123437==null?void 0x0:_0x123437[_0x36c42c(0x2ec)]();if(_0x6619d4&&_0x732c6)return this[_0x36c42c(0x3f6)][_0x36c42c(0x42e)]({'unitId':_0x6619d4,'subUnitId':_0x732c6,'chartId':_0xfe25d6});}['_bindChartEventHandlers'](_0xd71e4a,_0x57d387){const _0x33ca42=_0x185be1;let _0x3592c1=this[_0x33ca42(0x57b)][_0x33ca42(0x442)](_0xd71e4a);_0x3592c1&&_0x3592c1[_0x33ca42(0x55c)]((_0x285944,_0x1faa15)=>{const _0x539f97=_0x33ca42;_0x285944[_0x539f97(0x55c)](_0x3102f0=>this[_0x539f97(0x589)](_0xd71e4a,_0x57d387,_0x1faa15,_0x3102f0));});}[_0x185be1(0x589)](_0x1ab416,_0x153afb,_0x24e739,_0xc563c){const _0x14ddb8=_0x185be1;let _0xb042e1=this[_0x14ddb8(0x39a)]['get'](_0x1ab416);_0xb042e1||(_0xb042e1=new Map(),this['_chartEventSubscriptions'][_0x14ddb8(0x45e)](_0x1ab416,_0xb042e1));let _0xf14fde=_0xb042e1[_0x14ddb8(0x442)](_0x24e739);_0xf14fde||(_0xf14fde=new Map(),_0xb042e1[_0x14ddb8(0x45e)](_0x24e739,_0xf14fde)),_0xf14fde[_0x14ddb8(0x4b2)](_0xc563c)||_0xf14fde[_0x14ddb8(0x45e)](_0xc563c,_0x153afb['on'](_0x24e739,_0xc563c));}[_0x185be1(0x297)](_0x4602b1,_0x4ccab9,_0x91135e){const _0x3a9508=_0x185be1;var _0x2ac58a,_0x68c87b;let _0x43cfd5=(_0x2ac58a=this[_0x3a9508(0x39a)]['get'](_0x4602b1))==null?void 0x0:_0x2ac58a['get'](_0x4ccab9);_0x43cfd5==null||(_0x68c87b=_0x43cfd5['get'](_0x91135e))==null||_0x68c87b[_0x3a9508(0x4d8)](),_0x43cfd5==null||_0x43cfd5[_0x3a9508(0x2e1)](_0x91135e);}[_0x185be1(0x3ac)](_0x3046da){const _0x3d157e=_0x185be1;let _0x79c8ea=this[_0x3d157e(0x39a)]['get'](_0x3046da);_0x79c8ea==null||_0x79c8ea[_0x3d157e(0x55c)](_0x1fa0be=>{const _0xbf55cd=_0x3d157e;_0x1fa0be[_0xbf55cd(0x55c)](_0x5bc103=>_0x5bc103[_0xbf55cd(0x4d8)]()),_0x1fa0be[_0xbf55cd(0x20f)]();}),this['_chartEventSubscriptions'][_0x3d157e(0x2e1)](_0x3046da);}['createRuntimeChartStyle'](_0x5b125c,_0x504409){const _0x25e644=_0x185be1;return _0x9b82a3(_0x5b125c,_0x504409,this[_0x25e644(0x405)]);}[_0x185be1(0x46e)](_0x1f137f){const _0x4874ef=_0x185be1;return this[_0x4874ef(0x3dc)](_0x1f137f)==null;}[_0x185be1(0x3dc)](_0xecb556){const _0x43e75b=_0x185be1;var _0xb836c6;let _0x3751e7=this[_0x43e75b(0x1ff)][_0x43e75b(0x277)](_0xecb556);if(!_0x3751e7)return _0x43e75b(0x311);let {subUnitId:_0x588ab8}=_0x3751e7,_0x23b6eb=(_0xb836c6=this[_0x43e75b(0x538)][_0x43e75b(0x448)](_0x1ba070[_0x43e75b(0x203)][_0x43e75b(0x2da)]))==null?void 0x0:_0xb836c6[_0x43e75b(0x1bd)]();if(!_0x23b6eb)return _0x43e75b(0x485);if(_0x23b6eb['getSheetId']()!==_0x588ab8)return _0x43e75b(0x237);}async[_0x185be1(0x266)](_0x18f640,_0x34b324,_0x468045,_0x5c4fa4={}){const _0x1b937d=_0x185be1;let _0x1a0d89=this[_0x1b937d(0x3a5)][_0x1b937d(0x1f2)](_0x214e0a[_0x1b937d(0x350)]);if(!_0x1a0d89)return;let _0x74a098=this[_0x1b937d(0x211)][_0x1b937d(0x442)](_0x18f640);if(this[_0x1b937d(0x211)][_0x1b937d(0x45e)](_0x18f640,{'config':_0x34b324,'style':_0x468045}),this[_0x1b937d(0x3dc)](_0x18f640))return;let {canAnimate:_0x55db5a,renderMode:_0x3b36b3,shouldStartTransientAnimation:_0x38d269,transientAnimationActive:_0x8218dc}=this[_0x1b937d(0x585)](_0x18f640,_0x74a098!=null,_0x5c4fa4[_0x1b937d(0x3f1)]===!0x0);if(_0x3b36b3===_0x214e0a['ChartRenderMode'][_0x1b937d(0x1bb)])this[_0x1b937d(0x19b)](_0x18f640);else{var _0x59b265;this['_chartHostProvider'][_0x1b937d(0x2ce)](_0x18f640),((_0x59b265=this[_0x1b937d(0x57a)][_0x1b937d(0x286)])==null?void 0x0:_0x59b265['id'])===_0x18f640&&this[_0x1b937d(0x2ad)](_0x18f640);}let _0x46c057=_0x3b36b3===_0x214e0a[_0x1b937d(0x2a1)]['Image']?_0x214e0a[_0x1b937d(0x2a1)]['Image']:_0x214e0a[_0x1b937d(0x2a1)][_0x1b937d(0x1aa)],_0x12ea3a=await this[_0x1b937d(0x568)][_0x1b937d(0x3d3)](_0x18f640,_0x46c057);if(!_0x12ea3a){_0x38d269&&this[_0x1b937d(0x3f2)](_0x18f640);return;}this[_0x1b937d(0x568)][_0x1b937d(0x51e)](_0x18f640,_0x8218dc?_0x214e0a[_0x1b937d(0x53d)]:null);let _0x55ff5a=this['_getOrCreateChartRenderInstance'](_0x18f640,_0x46c057,_0x1a0d89);_0x55ff5a['bind'](_0x12ea3a);try{let _0x3f3ffa={'chartId':_0x18f640,'config':_0x34b324,'style':_0x468045};_0x55db5a&&_0x74a098&&_0x55ff5a[_0x1b937d(0x206)]?await _0x55ff5a[_0x1b937d(0x206)]({'chartId':_0x18f640,'config':_0x74a098[_0x1b937d(0x4fd)],'style':_0x74a098['style']},_0x3f3ffa,{'duration':_0x214e0a[_0x1b937d(0x53d)]}):await _0x55ff5a[_0x1b937d(0x266)](_0x3f3ffa),await this['_cacheActiveDomChartSnapshot'](_0x18f640,_0x3b36b3,_0x55ff5a),_0x55db5a&&_0x8218dc&&this[_0x1b937d(0x329)](_0x18f640);}catch(_0x3d9c1e){if(_0x38d269&&this[_0x1b937d(0x3f2)](_0x18f640),_0x3b36b3!==_0x214e0a[_0x1b937d(0x2a1)][_0x1b937d(0x1bb)])throw _0x3d9c1e;}}async['_cacheActiveDomChartSnapshot'](_0x30d92d,_0x2f2783,_0x55e1e3){const _0x356308=_0x185be1;var _0x31e068;if(_0x2f2783!==_0x214e0a[_0x356308(0x2a1)]['Dom']||((_0x31e068=this[_0x356308(0x57a)][_0x356308(0x286)])==null?void 0x0:_0x31e068['id'])!==_0x30d92d)return;let _0x50d875=await this[_0x356308(0x568)]['ensureHost'](_0x30d92d,_0x214e0a[_0x356308(0x2a1)]['Image']);if(!_0x50d875)return;let _0x7395bc=_0x50d875[_0x356308(0x321)]();try{let _0x51031d=await _0x55e1e3[_0x356308(0x52a)]();_0x51031d&&_0x50d875[_0x356308(0x4a7)]({'type':_0x214e0a[_0x356308(0x4af)][_0x356308(0x24f)],'url':_0x51031d},_0x7395bc)&&_0x50d875[_0x356308(0x3ce)]();}catch{}}[_0x185be1(0x585)](_0x323da6,_0x279341,_0x458bce){const _0x446363=_0x185be1;let _0x73f77e=this[_0x446363(0x2c7)](_0x323da6),_0x4b12ee=_0x73f77e===_0x214e0a[_0x446363(0x2a1)]['Dom']&&_0x458bce&&_0x279341&&this[_0x446363(0x1a6)](_0x323da6),_0x4a70d9=this[_0x446363(0x450)][_0x446363(0x4b2)](_0x323da6);return{'canAnimate':_0x4b12ee,'renderMode':_0x4a70d9?_0x214e0a['ChartRenderMode']['Dom']:_0x73f77e,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x4a70d9};}[_0x185be1(0x1a6)](_0xf83a42){const _0x3e2f9c=_0x185be1;var _0xda7461,_0x554542,_0x3ab84e,_0x2f9558;if(typeof document>'u'||typeof window>'u'||document[_0x3e2f9c(0x382)]==='hidden'||(_0xda7461=(_0x554542=window)[_0x3e2f9c(0x58c)])!=null&&(_0xda7461=_0xda7461[_0x3e2f9c(0x371)](_0x554542,_0x3e2f9c(0x2f9)))!=null&&_0xda7461[_0x3e2f9c(0x22a)]||(_0x3ab84e=(_0x2f9558=window)[_0x3e2f9c(0x58c)])!=null&&(_0x3ab84e=_0x3ab84e['call'](_0x2f9558,_0x3e2f9c(0x3ba)))!=null&&_0x3ab84e[_0x3e2f9c(0x22a)])return!0x1;let _0x1af2d1=this['_chartHostProvider'][_0x3e2f9c(0x505)](_0xf83a42);return _0x1af2d1!=null&&_0x1af2d1[_0x3e2f9c(0x2bf)]>0x0&&_0x1af2d1[_0x3e2f9c(0x2d7)]>0x0&&_0x1af2d1['right']>0x0&&_0x1af2d1['bottom']>0x0&&_0x1af2d1[_0x3e2f9c(0x4e4)]<window[_0x3e2f9c(0x230)]&&_0x1af2d1[_0x3e2f9c(0x2e8)]<window[_0x3e2f9c(0x1fe)];}['_activateDataUpdateAnimation'](_0x482516){const _0x30085d=_0x185be1;let _0x46a093=this[_0x30085d(0x50f)][_0x30085d(0x442)](_0x482516);_0x46a093&&(clearTimeout(_0x46a093),this[_0x30085d(0x50f)][_0x30085d(0x2e1)](_0x482516)),this['_dataUpdateAnimationChartIds']['add'](_0x482516),this['_chartHostProvider'][_0x30085d(0x51e)](_0x482516,_0x214e0a[_0x30085d(0x53d)]);}[_0x185be1(0x329)](_0x423770){const _0x30ca0b=_0x185be1;let _0x514dce=this[_0x30ca0b(0x50f)]['get'](_0x423770);_0x514dce&&clearTimeout(_0x514dce);let _0x20f6ea=setTimeout(()=>{const _0x50c99f=_0x30ca0b;this['_dataUpdateAnimationTimers'][_0x50c99f(0x2e1)](_0x423770),this[_0x50c99f(0x450)]['delete'](_0x423770)&&(this[_0x50c99f(0x568)]['setDataUpdateAnimation'](_0x423770,null),this[_0x50c99f(0x19b)](_0x423770),this['_rerenderLatest'](_0x423770));},_0x214e0a[_0x30ca0b(0x53d)]);this[_0x30ca0b(0x50f)][_0x30ca0b(0x45e)](_0x423770,_0x20f6ea);}[_0x185be1(0x3f2)](_0x33aa00){const _0x550e36=_0x185be1;let _0x265bdb=this[_0x550e36(0x50f)]['get'](_0x33aa00);_0x265bdb&&(clearTimeout(_0x265bdb),this[_0x550e36(0x50f)][_0x550e36(0x2e1)](_0x33aa00)),this[_0x550e36(0x450)][_0x550e36(0x2e1)](_0x33aa00),this[_0x550e36(0x568)][_0x550e36(0x51e)](_0x33aa00,null);}async[_0x185be1(0x17e)](_0x36ef48,_0x5a33f9,_0x4c40ec){const _0x5f2860=_0x185be1;let _0x4db4aa=this[_0x5f2860(0x3d0)][_0x5f2860(0x39b)](_0x36ef48,_0x5a33f9),_0x1a389d=this[_0x5f2860(0x3d0)]['getDrawingOrder'](_0x36ef48,_0x5a33f9),_0x3488c8=Object['values'](_0x4db4aa??{})[_0x5f2860(0x3e6)](_0x47d05b=>_0x47d05b[_0x5f2860(0x2d3)]===_0x1ba070[_0x5f2860(0x1f9)]['DRAWING_CHART']&&_0x47d05b['hidden']!==!0x0);await Promise[_0x5f2860(0x3d1)](_0x3488c8[_0x5f2860(0x18e)](async _0x550891=>{const _0x1db8ec=_0x5f2860;let _0x11945b=await this['_createPrintingChartObject'](_0x550891,_0x1a389d);_0x11945b&&(_0x4c40ec[_0x1db8ec(0x1d5)](_0x11945b,_0x1d47e2[_0x1db8ec(0x577)]),_0x550891[_0x1db8ec(0x3b2)]&&(0x0,_0xad66ff[_0x1db8ec(0x24a)])({'drawingId':_0x550891[_0x1db8ec(0x3b2)],'unitId':_0x36ef48,'subUnitId':_0x5a33f9},_0x11945b,_0x4c40ec,this['_drawingManagerService']));}));}async[_0x185be1(0x1db)](_0x1b8dd7,_0x4b208a){const _0x22a9f2=_0x185be1;let _0x120692=this[_0x22a9f2(0x57a)]['getChartModel'](_0x1b8dd7[_0x22a9f2(0x3b7)]),_0x9c4e57=this[_0x22a9f2(0x3a5)][_0x22a9f2(0x1f2)](_0x214e0a[_0x22a9f2(0x350)]),_0x522385=_0x1b8dd7[_0x22a9f2(0x380)],_0x1e8bc0=_0x120692==null?void 0x0:_0x120692[_0x22a9f2(0x4fd)];if(!_0x120692||!_0x9c4e57||!_0x522385||!_0x1e8bc0||_0x522385[_0x22a9f2(0x2bf)]==null||_0x522385[_0x22a9f2(0x2d7)]==null)return null;let _0x4aee76=new _0x2da126(_0x1b8dd7[_0x22a9f2(0x3b7)],{'width':_0x522385[_0x22a9f2(0x2bf)],'height':_0x522385['height']}),_0x174d5f=_0x9c4e57[_0x22a9f2(0x324)](_0x214e0a[_0x22a9f2(0x2a1)][_0x22a9f2(0x1bb)],this[_0x22a9f2(0x375)]());_0x174d5f['bind'](_0x4aee76);let _0x4c0648;try{await _0x174d5f[_0x22a9f2(0x266)]({'chartId':_0x1b8dd7[_0x22a9f2(0x3b7)],'config':_0x1e8bc0,'style':this['createRuntimeChartStyle'](_0x120692,this[_0x22a9f2(0x2cd)]['getDirection']())});}catch(_0xa3bfc){console[_0x22a9f2(0x2ff)](_0x22a9f2(0x54b),_0xa3bfc);}finally{_0x4c0648=_0x4aee76['takeSnapshot'](),_0x174d5f[_0x22a9f2(0x4d8)](),_0x4aee76['dispose']();}let _0x2f4df9=this['_chartSnapshotStoreService'][_0x22a9f2(0x42e)]({'unitId':_0x1b8dd7['unitId'],'subUnitId':_0x1b8dd7[_0x22a9f2(0x50c)],'chartId':_0x1b8dd7['drawingId']}),_0x442245=_0x4c0648??_0x2f4df9;if(!_0x442245)return null;let _0x209c38=_0x4b208a[_0x22a9f2(0x338)](_0x1b8dd7[_0x22a9f2(0x3b7)]);return new _0x4613b7((0x0,_0x135c9c[_0x22a9f2(0x224)])(_0x1b8dd7),{..._0x522385,..._0x2cd04e[_0x22a9f2(0x43d)],..._0x11b810(_0x4aee76['style']),'visible':!0x0,'zIndex':_0x209c38===-0x1?Math['max'](_0x4b208a[_0x22a9f2(0x36b)]-0x1,0x0):_0x209c38},()=>_0x442245,void 0x0,_0x4c0648?()=>_0x173e38(_0x4c0648):void 0x0);}[_0x185be1(0x1b9)](_0x46d06c,_0x35227d,_0x56267d){const _0x133c69=_0x185be1;let _0xd6d053=this[_0x133c69(0x474)][_0x133c69(0x442)](_0x46d06c);if((_0xd6d053==null?void 0x0:_0xd6d053['mode'])===_0x35227d)return _0xd6d053;_0xd6d053&&(this[_0x133c69(0x3ac)](_0x46d06c),_0xd6d053[_0x133c69(0x4d8)](),this['_chartInstanceMap'][_0x133c69(0x2e1)](_0x46d06c));let _0x25f6b7=_0x56267d[_0x133c69(0x324)](_0x35227d,this['_createChartRenderInstanceContext']());return this[_0x133c69(0x474)]['set'](_0x46d06c,_0x25f6b7),_0x25f6b7[_0x133c69(0x4e7)](this[_0x133c69(0x43c)][_0x133c69(0x442)](_0x46d06c)===!0x0),this[_0x133c69(0x316)](_0x46d06c,_0x25f6b7),_0x25f6b7;}[_0x185be1(0x375)](){const _0x1baaf8=_0x185be1;return{'resolveHostStyle':({style:_0xade062})=>(0x0,_0x214e0a['resolveDefaultChartHostFrameStyle'])({'style':_0xade062,'getRenderColor':_0x3c7998=>this[_0x1baaf8(0x583)][_0x1baaf8(0x55b)](_0x3c7998)}),'resolveRenderBackgroundColor':({style:_0xa876fe})=>this[_0x1baaf8(0x583)][_0x1baaf8(0x55b)]((0x0,_0x214e0a[_0x1baaf8(0x2de)])(_0xa876fe))};}[_0x185be1(0x412)](_0x1f685a){const _0x226862=_0x185be1;var _0x35560e,_0x142404,_0x47dfe4;(_0x35560e=this['_chartChangeSubscriptions']['get'](_0x1f685a))==null||_0x35560e[_0x226862(0x4d8)](),this[_0x226862(0x2e2)]['delete'](_0x1f685a),(_0x142404=this[_0x226862(0x506)][_0x226862(0x442)](_0x1f685a))==null||_0x142404[_0x226862(0x32b)](),this['_renderDebounceMap'][_0x226862(0x2e1)](_0x1f685a),(_0x47dfe4=this[_0x226862(0x3a3)]['get'](_0x1f685a))==null||_0x47dfe4[_0x226862(0x32b)](),this[_0x226862(0x3a3)]['delete'](_0x1f685a);}[_0x185be1(0x3ec)](){const _0x50f0be=_0x185be1;this[_0x50f0be(0x506)][_0x50f0be(0x55c)](_0x175c15=>_0x175c15[_0x50f0be(0x32b)]()),this[_0x50f0be(0x506)][_0x50f0be(0x20f)](),this[_0x50f0be(0x3a3)]['forEach'](_0x415542=>_0x415542[_0x50f0be(0x32b)]()),this[_0x50f0be(0x3a3)][_0x50f0be(0x20f)]();}[_0x185be1(0x4d8)](){const _0x15b287=_0x185be1;this['_chartChangeSubscriptions']['forEach'](_0x54fedc=>_0x54fedc[_0x15b287(0x4d8)]()),this[_0x15b287(0x2e2)][_0x15b287(0x20f)](),this[_0x15b287(0x50f)]['forEach'](_0x8998cd=>clearTimeout(_0x8998cd)),this['_dataUpdateAnimationTimers'][_0x15b287(0x20f)](),this[_0x15b287(0x450)][_0x15b287(0x20f)](),Array[_0x15b287(0x3db)](this[_0x15b287(0x474)][_0x15b287(0x57f)]())[_0x15b287(0x55c)](_0x148259=>this[_0x15b287(0x3f7)](_0x148259)),this['_chartEventHandlers'][_0x15b287(0x20f)](),this[_0x15b287(0x43c)][_0x15b287(0x20f)](),this['_cancelDebouncedCallbacks'](),this[_0x15b287(0x211)][_0x15b287(0x20f)](),this[_0x15b287(0x20c)]=null,this[_0x15b287(0x4d1)]=null,super[_0x15b287(0x4d8)]();}};_0x17894a=_0x11ef44([_0x42d632(0x0,_0xd413d),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e['SheetCanvasFloatDomManagerService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x3,_0x135c9c[_0x185be1(0x31a)]),_0x42d632(0x4,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x5,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1d47e2[_0x185be1(0x527)])),_0x42d632(0x6,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x7,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x214e0a[_0x185be1(0x3a2)])),_0x42d632(0x9,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x28a)])),_0x42d632(0xa,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0xb,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x437b6a)),_0x42d632(0xc,_0x214e0a[_0x185be1(0x52d)])],_0x17894a);function _0x3c8e5b(_0x107124){const _0x39ebd6=_0x185be1;return _0x107124[_0x39ebd6(0x36b)]===0x1&&_0x5e33bf(_0x107124[0x0]);}function _0x5e33bf(_0x37a9d0){const _0x4fceb5=_0x185be1;return(_0x37a9d0==null?void 0x0:_0x37a9d0[_0x4fceb5(0x2d3)])===_0x1ba070[_0x4fceb5(0x1f9)][_0x4fceb5(0x52f)]&&!_0x37a9d0['groupId'];}let _0x188c9f=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x263749,_0x4d16ba,_0x5bb589,_0x5e1d9f,_0x50a286,_0x127d70,_0x125e9c,_0x37d8c3,_0x2b2252,_0x300383,_0x225cc2,_0x33082b,_0x235d34,_0x1b5ddd,_0xcf9271){const _0x47302a=_0x185be1;var _0x4b0319;super(),this['_drawingManagerService']=_0x263749,this[_0x47302a(0x538)]=_0x4d16ba,this['_chartModelService']=_0x5bb589,this[_0x47302a(0x373)]=_0x5e1d9f,this[_0x47302a(0x3cf)]=_0x50a286,this[_0x47302a(0x3a8)]=_0x127d70,this[_0x47302a(0x4fe)]=_0x125e9c,this[_0x47302a(0x354)]=_0x37d8c3,this['_sheetCanvasFloatDomManagerService']=_0x2b2252,this[_0x47302a(0x4c7)]=_0x300383,this[_0x47302a(0x403)]=_0x225cc2,this['_sheetsChartUIService']=_0x33082b,this['_contextService']=_0x235d34,this[_0x47302a(0x2cd)]=_0x1b5ddd,_0x3d73b3(this,'_sidebarDisposable',null),_0x3d73b3(this,_0x47302a(0x1eb),void 0x0),this[_0x47302a(0x1eb)]=((_0x4b0319=_0xcf9271[_0x47302a(0x363)](_0x47302a(0x472)))==null?void 0x0:_0x4b0319[_0x47302a(0x35d)])===!0x0,this['_initMenus'](),this[_0x47302a(0x3d7)](this['_univerInstanceService'][_0x47302a(0x256)](_0x1ba070[_0x47302a(0x203)][_0x47302a(0x2da)])['subscribe'](_0x359b9b=>{const _0x397646=_0x47302a;if(!_0x359b9b){var _0x2e5a3d;(_0x2e5a3d=this[_0x397646(0x54e)])==null||_0x2e5a3d[_0x397646(0x4d8)]();}})),this[_0x47302a(0x3d7)]((0x0,_0x1ba070[_0x47302a(0x410)])(this[_0x47302a(0x3a8)][_0x47302a(0x517)][_0x47302a(0x17f)](async({drawing:_0x2065d1})=>{const _0x5aa296=_0x47302a;await this[_0x5aa296(0x264)](_0x2065d1);})));}[_0x185be1(0x270)](){const _0x4f2519=_0x185be1;this[_0x4f2519(0x54e)]=this[_0x4f2519(0x4fe)][_0x4f2519(0x497)]({'id':_0x209d81,'header':{'title':this[_0x4f2519(0x2cd)]['t'](_0x4f2519(0x1a1))},'width':0x154,'children':{'label':_0x209d81},'onClose':()=>{const _0x10c6b5=_0x4f2519;this['_sidebarDisposable']=null,this[_0x10c6b5(0x2aa)](),this['_chartModelService']['activeChartModel']&&this['_chartModelService']['setActiveChartModel'](null),this[_0x10c6b5(0x3d0)][_0x10c6b5(0x3cd)](null),this[_0x10c6b5(0x3c6)]['setContextValue'](_0x1ba070[_0x10c6b5(0x406)],!0x1);}});}['hidePanel'](){const _0xb57b14=_0x185be1;let _0x352947=this[_0xb57b14(0x54e)];this[_0xb57b14(0x54e)]=null,this[_0xb57b14(0x2aa)](),this[_0xb57b14(0x57a)][_0xb57b14(0x286)]&&this[_0xb57b14(0x57a)]['setActiveChartModel'](null),_0x352947==null||_0x352947['dispose']();}[_0x185be1(0x368)](){const _0x270fa8=_0x185be1;let _0x5da46e=this[_0x270fa8(0x538)][_0x270fa8(0x448)](_0x1ba070[_0x270fa8(0x203)][_0x270fa8(0x2da)]);this[_0x270fa8(0x3d7)](this['_sidebarService'][_0x270fa8(0x17b)][_0x270fa8(0x17f)](_0x21e523=>{const _0x4cb2fc=_0x270fa8;_0x21e523['id']==='sheet.chart.edit.panel'&&(_0x21e523[_0x4cb2fc(0x3dd)]||this[_0x4cb2fc(0x4fe)][_0x4cb2fc(0x17b)][_0x4cb2fc(0x192)]({'visible':!0x1}));})),this[_0x270fa8(0x3d7)]((0x0,_0x5e3636[_0x270fa8(0x595)])([this['_chartModelService'][_0x270fa8(0x548)],this[_0x270fa8(0x55d)][_0x270fa8(0x346)]])[_0x270fa8(0x4d3)]((0x0,_0x5e3636[_0x270fa8(0x18e)])(([_0xab375c,_0x4cf55e])=>_0x4cf55e?(_0xab375c==null?void 0x0:_0xab375c['id'])??null:null),(0x0,_0x5e3636[_0x270fa8(0x306)])(),(0x0,_0x5e3636[_0x270fa8(0x3e1)])(null),(0x0,_0x5e3636[_0x270fa8(0x557)])())[_0x270fa8(0x17f)](([_0xcebb9b,_0x2329b8])=>{this['_syncActiveEditChart'](_0xcebb9b,_0x2329b8);})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x57a)][_0x270fa8(0x548)][_0x270fa8(0x17f)](_0x556559=>{const _0x44eef0=_0x270fa8;!_0x556559&&this[_0x44eef0(0x54e)]&&this[_0x44eef0(0x3af)]();})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x403)]['onCommandExecuted'](_0x9df25c=>{const _0x5cd8f7=_0x270fa8;if(_0x9df25c['id']===_0x272d7b['id']){let _0x84d32a=_0x9df25c['params'];if(!_0x5e33bf(this[_0x5cd8f7(0x3d0)][_0x5cd8f7(0x3ee)]({'unitId':_0x84d32a['unitId'],'subUnitId':_0x84d32a[_0x5cd8f7(0x50c)],'drawingId':_0x84d32a['drawingId']})))return;this[_0x5cd8f7(0x1b4)](_0x84d32a[_0x5cd8f7(0x3b7)],_0x84d32a[_0x5cd8f7(0x455)]);}if(_0x9df25c['id']===_0x3007d3['id']&&this[_0x5cd8f7(0x3af)](),_0x9df25c['id']===_0x113ca7['RemoveSheetsChartMutation']['id']){var _0x3b0c19;_0x9df25c[_0x5cd8f7(0x528)]['chartId']===((_0x3b0c19=this[_0x5cd8f7(0x57a)][_0x5cd8f7(0x286)])==null?void 0x0:_0x3b0c19['id'])&&this['hidePanel'](),this[_0x5cd8f7(0x3c6)][_0x5cd8f7(0x17d)](_0x1ba070['FOCUSING_COMMON_DRAWINGS'])&&(this[_0x5cd8f7(0x3c6)][_0x5cd8f7(0x227)](_0x1ba070['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5cd8f7(0x3d0)][_0x5cd8f7(0x3cd)](null));}})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x1ff)][_0x270fa8(0x1c4)]['subscribe'](({id:_0xbc8251})=>{const _0x53edca=_0x270fa8;this[_0x53edca(0x55d)][_0x53edca(0x476)](_0xbc8251)&&this[_0x53edca(0x3af)]();})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x1ff)][_0x270fa8(0x22f)][_0x270fa8(0x17f)](({id:_0x24d7f6})=>{const _0x5bf1d1=_0x270fa8;this['_sheetsChartUIService'][_0x5bf1d1(0x476)](_0x24d7f6)&&(this[_0x5bf1d1(0x55d)][_0x5bf1d1(0x244)](),this[_0x5bf1d1(0x3cf)][_0x5bf1d1(0x4e7)](_0x24d7f6,!0x1),this[_0x5bf1d1(0x370)](_0x24d7f6)&&this[_0x5bf1d1(0x3cf)][_0x5bf1d1(0x4e7)](_0x24d7f6,!0x0));})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x3d0)]['focus$'][_0x270fa8(0x17f)](_0x9125a8=>{const _0x7a854c=_0x270fa8;let _0x57f2ef=_0x9125a8[0x0];if(!this[_0x7a854c(0x55d)][_0x7a854c(0x582)]){if(_0x3c8e5b(_0x9125a8)){var _0x25b4cd;let _0x22113d=this[_0x7a854c(0x57a)]['getChartModel'](_0x57f2ef[_0x7a854c(0x3b7)]);_0x22113d&&this['_isOwnedChart'](_0x22113d['id'])&&((_0x25b4cd=this['_chartModelService'][_0x7a854c(0x286)])==null?void 0x0:_0x25b4cd['id'])!==_0x22113d['id']&&this[_0x7a854c(0x57a)][_0x7a854c(0x4a3)](_0x22113d);}else this[_0x7a854c(0x57a)][_0x7a854c(0x286)]&&this[_0x7a854c(0x57a)]['setActiveChartModel'](null),!_0x57f2ef&&!this[_0x7a854c(0x55d)]['rangeSelectMode']&&this[_0x7a854c(0x3af)]();}})),_0x5da46e&&(this[_0x270fa8(0x3d7)](_0x5da46e[_0x270fa8(0x456)][_0x270fa8(0x17f)](()=>{this['hidePanel']();})),this['disposeWithMe'](_0x5da46e['activeSheet$'][_0x270fa8(0x17f)](()=>{const _0x337c97=_0x270fa8;this[_0x337c97(0x3af)]();})));}async['_handleDrawingDoubleClick'](_0x14c3c4){const _0x4b936e=_0x185be1;this[_0x4b936e(0x55d)]['chartEditorOpen']||_0x5e33bf(_0x14c3c4)&&this['_isOwnedChart'](_0x14c3c4[_0x4b936e(0x3b7)])&&await this[_0x4b936e(0x240)](_0x14c3c4[_0x4b936e(0x2ac)],_0x14c3c4[_0x4b936e(0x50c)],_0x14c3c4[_0x4b936e(0x3b7)]);}async[_0x185be1(0x240)](_0x46c676,_0xdc8580,_0x157931){const _0x235b71=_0x185be1;this[_0x235b71(0x57a)][_0x235b71(0x214)](_0x157931)&&this[_0x235b71(0x1c0)](_0x157931)&&await this[_0x235b71(0x403)][_0x235b71(0x3ab)](_0x272d7b['id'],{'unitId':_0x46c676,'subUnitId':_0xdc8580,'drawingId':_0x157931});}[_0x185be1(0x1b4)](_0x49ef16,_0x5c27ac){const _0x307600=_0x185be1;let _0x562ac9=this[_0x307600(0x57a)][_0x307600(0x214)](_0x49ef16);_0x562ac9&&this[_0x307600(0x1c0)](_0x49ef16)&&(this[_0x307600(0x57a)][_0x307600(0x4a3)](_0x562ac9),this['_openPanel'](),this[_0x307600(0x52e)](_0x49ef16,_0x5c27ac??null));}[_0x185be1(0x52e)](_0x588566,_0x42ba5c){const _0x55a0ce=_0x185be1;this['_sheetsChartUIService']['setChartEditorOpen'](!0x0),this[_0x55a0ce(0x55d)][_0x55a0ce(0x2fc)](_0x588566,_0x42ba5c);}[_0x185be1(0x2aa)](){const _0x339e2c=_0x185be1;this[_0x339e2c(0x55d)][_0x339e2c(0x1b6)](!0x1);}['_syncActiveEditChart'](_0x1c8c7b,_0x1b5941){const _0x2722a4=_0x185be1;_0x1c8c7b!==_0x1b5941&&(_0x1c8c7b&&this[_0x2722a4(0x3cf)][_0x2722a4(0x4e7)](_0x1c8c7b,!0x1),this['_sheetsChartUIService'][_0x2722a4(0x244)](),_0x1b5941&&(this['_sheetsChartUIService']['setPanelRoute'](_0x1b5941,null),this[_0x2722a4(0x3cf)][_0x2722a4(0x4e7)](_0x1b5941,this['_shouldEnableChartElementEdit'](_0x1b5941))));}[_0x185be1(0x186)](){const _0x4634bc=_0x185be1;this[_0x4634bc(0x354)]['mergeMenu'](_0x5b9097),this[_0x4634bc(0x4c7)][_0x4634bc(0x288)](_0x1ba070[_0x4634bc(0x1f9)][_0x4634bc(0x52f)],this['getChartPopupMenus']['bind'](this),void 0x0,_0x4634bc(0x28c));}[_0x185be1(0x370)](_0x1ef203){const _0x408336=_0x185be1;let _0xde4105=this[_0x408336(0x57a)][_0x408336(0x214)](_0x1ef203);return!this[_0x408336(0x1eb)]||!_0xde4105||!this[_0x408336(0x1c0)](_0x1ef203)?!0x1:_0x3fa9dc(_0xde4105[_0x408336(0x593)]);}[_0x185be1(0x2b7)](_0x22960b,_0x4ab040,_0x2b5d60,_0x4f9b9d){const _0x14d054=_0x185be1;if(!this[_0x14d054(0x57a)][_0x14d054(0x214)](_0x2b5d60))return[];let _0x2618f6=[{'label':this['_localeService']['t'](_0x14d054(0x4e3)),'index':0x0,'commandId':_0x272d7b['id'],'commandParams':{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60},'disable':_0x4f9b9d!==_0x1ba070[_0x14d054(0x1f9)][_0x14d054(0x52f)]}];return this['_isOwnedChart'](_0x2b5d60)?[..._0x2618f6,{'label':this[_0x14d054(0x2cd)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x302521[_0x14d054(0x58e)]['id'],'commandParams':{'unitId':_0x22960b,'drawings':[{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60,'drawingType':_0x4f9b9d}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x14d054(0x51c)),'index':0x2,'commandId':_0x3007d3['id'],'commandParams':{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60},'disable':!0x1}]:_0x2618f6;}[_0x185be1(0x1c0)](_0x490025){const _0x4775bf=_0x185be1;return this[_0x4775bf(0x373)][_0x4775bf(0x44f)](_0x490025)!==void 0x0;}};_0x188c9f=_0x11ef44([_0x42d632(0x0,_0x135c9c['IDrawingManagerService']),_0x42d632(0x1,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x2,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a)),_0x42d632(0x5,(0x0,_0x1ba070['Inject'])(_0x2cd04e[_0x185be1(0x196)])),_0x42d632(0x6,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['ISidebarService'])),_0x42d632(0x7,_0x21688c[_0x185be1(0x228)]),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x9,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['SheetCanvasPopManagerService'])),_0x42d632(0xa,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0xb,_0x24cbf9),_0x42d632(0xc,_0x1ba070[_0x185be1(0x461)]),_0x42d632(0xd,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0xe,_0x1ba070['IConfigService'])],_0x188c9f);var _0x3a2800=_0x185be1(0x21c),_0x23c060=_0x185be1(0x4aa);let _0x3ca18e=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x1da552,_0x3ca932){const _0x54023a=_0x185be1;super(),this[_0x54023a(0x3e8)]=_0x1da552,this[_0x54023a(0x57a)]=_0x3ca932,this['_init']();}['_init'](){const _0x2ad764=_0x185be1;this['disposeWithMe'](this['_chartHostProviderService'][_0x2ad764(0x271)][_0x2ad764(0x17f)](_0x32f78b=>{const _0x56d33f=_0x2ad764;this[_0x56d33f(0x57a)][_0x56d33f(0x3d6)](_0x32f78b);}));}};_0x3ca18e=_0x11ef44([_0x42d632(0x0,_0xd413d),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)]))],_0x3ca18e);let _0x198776=class extends _0x1ba070['Disposable']{constructor(_0x39f94f,_0x52461c,_0x19b0b6,_0x444702,_0xc4654c,_0x11447e){const _0x16e24e=_0x185be1;super(),this['_chartModelService']=_0x39f94f,this[_0x16e24e(0x3cf)]=_0x52461c,this[_0x16e24e(0x2cd)]=_0x19b0b6,this[_0x16e24e(0x44d)]=_0x444702,this[_0x16e24e(0x403)]=_0xc4654c,this[_0x16e24e(0x3a4)]=_0x11447e,_0x3d73b3(this,_0x16e24e(0x4b1),new Map()),_0x3d73b3(this,_0x16e24e(0x2cb),new Set()),this[_0x16e24e(0x549)](),this[_0x16e24e(0x3b8)](),this[_0x16e24e(0x484)]();}['_initPrinting'](){const _0x451fbc=_0x185be1;this[_0x451fbc(0x3d7)](this[_0x451fbc(0x3a4)][_0x451fbc(0x2c5)]['intercept'](this[_0x451fbc(0x3a4)][_0x451fbc(0x2c5)][_0x451fbc(0x223)]()[_0x451fbc(0x24d)],{'handler':(_0x4b772a,_0x41b623,_0x50a8a1)=>{const _0x2075bf=_0x451fbc;let _0x362684=this[_0x2075bf(0x3cf)]['renderChartsForPrinting'](_0x41b623['unitId'],_0x41b623[_0x2075bf(0x50c)],_0x41b623[_0x2075bf(0x493)]);return _0x41b623[_0x2075bf(0x201)][_0x2075bf(0x221)](_0x362684),_0x50a8a1(_0x4b772a);}}));}[_0x185be1(0x549)](){const _0x1522cc=_0x185be1;this[_0x1522cc(0x3d7)](this[_0x1522cc(0x57a)][_0x1522cc(0x52b)][_0x1522cc(0x17f)](_0x1a0647=>{const _0xed2856=_0x1522cc;if(_0x1a0647){let _0x5c71c2=new _0x1ba070[(_0xed2856(0x20b))]();_0x5c71c2['add'](_0x1a0647['dataSource$'][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x2c0)])(_0x23fa5d=>_0x23fa5d[_0xed2856(0x4ae)][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x3d8)])(0x1))))['subscribe'](()=>{const _0x4670e8=_0xed2856;this[_0x4670e8(0x2cb)][_0x4670e8(0x221)](_0x1a0647['id']);})),_0x5c71c2['add'](_0x1a0647[_0xed2856(0x235)][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x4fb)])(_0x1a0647[_0xed2856(0x325)]),(0x0,_0x5e3636[_0xed2856(0x4fb)])(this[_0xed2856(0x2cd)][_0xed2856(0x353)]),(0x0,_0x5e3636[_0xed2856(0x1e1)])(0x64))['subscribe'](([[_0x2b6fa2,_0x35e250],_0x324441])=>{const _0x1cfc00=_0xed2856;var _0x2540cb;if(!_0x2b6fa2)return;(_0x2540cb=_0x2b6fa2[_0x1cfc00(0x23a)])==null||_0x2540cb[_0x1cfc00(0x199)]['forEach']((_0x166ad5,_0x44bd8c)=>{const _0x38bf58=_0x1cfc00;_0x166ad5['label']||=this[_0x38bf58(0x2cd)]['t'](_0x38bf58(0x1da))+'\x20'+(_0x44bd8c+0x1);}),_0x2b6fa2[_0x1cfc00(0x1c5)][_0x1cfc00(0x55c)]((_0xbc5d91,_0x2d5f4b)=>{const _0x3504e6=_0x1cfc00;_0xbc5d91[_0x3504e6(0x48e)]||=this[_0x3504e6(0x2cd)]['t'](_0x3504e6(0x398))+'\x20'+(_0x2d5f4b+0x1);});let _0x36caf6=this[_0x1cfc00(0x3cf)][_0x1cfc00(0x40e)](_0x1a0647,_0x324441),_0x419f23=this[_0x1cfc00(0x2cb)]['delete'](_0x1a0647['id']);this[_0x1cfc00(0x3cf)][_0x1cfc00(0x266)](_0x1a0647['id'],_0x2b6fa2,_0x36caf6,{'animateDataUpdate':_0x419f23});})),_0x1a0647['onDispose'](()=>{const _0x4adec0=_0xed2856;this[_0x4adec0(0x2cb)][_0x4adec0(0x2e1)](_0x1a0647['id']),_0x5c71c2[_0x4adec0(0x4d8)]();});}}));}[_0x185be1(0x3b8)](){const _0x42e7dc=_0x185be1;this['disposeWithMe'](this[_0x42e7dc(0x403)][_0x42e7dc(0x4a2)](_0x5882bd=>{const _0x3aa2e1=_0x42e7dc;if(_0x5882bd['id']!==_0x113ca7[_0x3aa2e1(0x480)]['id'])return;let _0x1f8ac1=_0x5882bd[_0x3aa2e1(0x528)];_0x1f8ac1!=null&&_0x1f8ac1[_0x3aa2e1(0x42c)]&&Promise['resolve']()[_0x3aa2e1(0x57e)](()=>this[_0x3aa2e1(0x4e1)](_0x1f8ac1));}));}[_0x185be1(0x4e1)](_0x536bad){const _0x164e1d=_0x185be1;let _0x2a72cf=this['_chartModelService'][_0x164e1d(0x214)](_0x536bad['chartModelId']);if(!_0x2a72cf||_0x2a72cf[_0x164e1d(0x593)]!==_0x214e0a[_0x164e1d(0x3b0)][_0x164e1d(0x2a2)])return;let _0x4b5ade=_0x2a72cf[_0x164e1d(0x4fd)];_0x4b5ade?this[_0x164e1d(0x35e)](_0x2a72cf,_0x4b5ade):this[_0x164e1d(0x360)](_0x2a72cf);}['_renderWhenConfigReady'](_0x35e56b){const _0x12ff50=_0x185be1;if(this[_0x12ff50(0x4b1)][_0x12ff50(0x442)](_0x35e56b['id']))return;let _0xfc5e2f=_0x35e56b[_0x12ff50(0x235)][_0x12ff50(0x4d3)]((0x0,_0x5e3636[_0x12ff50(0x3e6)])(_0x589d4b=>_0x589d4b!=null),(0x0,_0x5e3636['take'])(0x1))['subscribe'](_0x283ff8=>{const _0x2009ee=_0x12ff50;this[_0x2009ee(0x4b1)][_0x2009ee(0x2e1)](_0x35e56b['id']),this[_0x2009ee(0x35e)](_0x35e56b,_0x283ff8);});this[_0x12ff50(0x4b1)]['set'](_0x35e56b['id'],_0xfc5e2f),_0x35e56b[_0x12ff50(0x319)](()=>{const _0x4f7e2e=_0x12ff50;_0xfc5e2f['unsubscribe'](),this['_pendingMutationConfigRenders'][_0x4f7e2e(0x2e1)](_0x35e56b['id']);});}[_0x185be1(0x35e)](_0x18b3a6,_0x11821b){const _0x349a64=_0x185be1;let _0x25487d=this[_0x349a64(0x3cf)][_0x349a64(0x40e)](_0x18b3a6,this[_0x349a64(0x2cd)]['getDirection']());this['_chartRenderService']['render'](_0x18b3a6['id'],_0x11821b,_0x25487d);}};_0x198776=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x17894a)),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x3,_0x24cbf9),_0x42d632(0x4,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x5,(0x0,_0x1ba070['Inject'])(_0x53e756['SheetPrintInterceptorService']))],_0x198776);function _0x1fdfe6(_0x195ad5,_0x445b75){const _0x5cec51=_0x185be1;return _0x195ad5[_0x5cec51(0x2ac)]!==_0x445b75[_0x5cec51(0x2ac)]||_0x195ad5[_0x5cec51(0x50c)]!==_0x445b75[_0x5cec51(0x3bf)]?_0x195ad5:{..._0x195ad5,'subUnitId':_0x445b75['targetSubUnitId']};}function _0x232a8d(_0x3c204a,_0x265b98){const _0x15ed44=_0x185be1;return(_0x3c204a==null?void 0x0:_0x3c204a[_0x15ed44(0x569)])===_0x214e0a[_0x15ed44(0x3c3)][_0x15ed44(0x46d)]?{..._0x3c204a,'source':_0x1fdfe6(_0x3c204a[_0x15ed44(0x304)],_0x265b98)}:_0x3c204a;}function _0x2f07ad(_0x21c965,_0x1b37e4){const _0x27de60=_0x185be1;let {rangeInfo:_0x34ff1a}=_0x21c965;return Array[_0x27de60(0x571)](_0x34ff1a)?{..._0x21c965,'rangeInfo':_0x34ff1a[_0x27de60(0x18e)](_0x3d4de5=>({..._0x3d4de5,..._0x3d4de5[_0x27de60(0x430)]?{'header':_0x232a8d(_0x3d4de5['header'],_0x1b37e4)}:{},'range':_0x1fdfe6(_0x3d4de5[_0x27de60(0x340)],_0x1b37e4)}))}:{..._0x21c965,'rangeInfo':{..._0x34ff1a,..._0x34ff1a[_0x27de60(0x430)]?{'header':{..._0x34ff1a[_0x27de60(0x430)],..._0x34ff1a[_0x27de60(0x430)][_0x27de60(0x33d)]?{'titles':_0x41ecb7(_0x34ff1a[_0x27de60(0x430)][_0x27de60(0x33d)],_0x1b37e4)}:{}}}:{},'rangeInfo':_0x1fdfe6(_0x34ff1a[_0x27de60(0x236)],_0x1b37e4)}};}function _0x41ecb7(_0x27640d,_0x1640d5){const _0x441a8d=_0x185be1;return _0x27640d[_0x441a8d(0x569)]===_0x214e0a[_0x441a8d(0x3c3)]['Literals']?{..._0x27640d,'values':{..._0x27640d['values']}}:_0x27640d[_0x441a8d(0x569)]===_0x214e0a[_0x441a8d(0x3c3)][_0x441a8d(0x241)]?{..._0x27640d,'values':Object[_0x441a8d(0x413)](Object['entries'](_0x27640d[_0x441a8d(0x420)])[_0x441a8d(0x18e)](([_0x584116,_0x32e45d])=>[_0x584116,_0x32e45d&&_0x1fdfe6(_0x32e45d,_0x1640d5)]))}:{..._0x27640d,'values':Object[_0x441a8d(0x413)](Object[_0x441a8d(0x1e5)](_0x27640d['values'])['map'](([_0x29894f,_0x4311d8])=>[_0x29894f,_0x4311d8&&_0x232a8d(_0x4311d8,_0x1640d5)]))};}function _0x15356e(_0x513e8d,_0x479b6e,_0x4e8782,_0x2e4e64){const _0x50c828=_0x185be1;let _0x21441c=(0x0,_0x135c9c[_0x50c828(0x4a8)])(_0x513e8d,_0x479b6e,_0x4e8782),_0xfc5d68=[];for(let _0x202819 of _0x479b6e){let _0x347b90=_0x21441c[_0x50c828(0x523)]['get'](_0x202819[_0x50c828(0x3b7)]),_0x513acd=_0x2e4e64(_0x202819);_0x347b90&&_0x513acd&&_0xfc5d68['push']({'targetChartId':_0x347b90,'source':_0x2f07ad(_0x513acd,_0x4e8782)});}return _0xfc5d68;}let _0x1d1094=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x29c9e7,_0x349318,_0x2225e6,_0x10736f,_0x3eaa39){const _0xa358a7=_0x185be1;super(),this[_0xa358a7(0x538)]=_0x29c9e7,this['_sheetInterceptorService']=_0x349318,this[_0xa358a7(0x2ed)]=_0x2225e6,this[_0xa358a7(0x57a)]=_0x10736f,this[_0xa358a7(0x373)]=_0x3eaa39,this[_0xa358a7(0x520)]();}[_0x185be1(0x520)](){const _0x4e6fab=_0x185be1;this[_0x4e6fab(0x3d7)](this[_0x4e6fab(0x181)][_0x4e6fab(0x4f6)]({'getMutations':_0x51f249=>{const _0x63495d=_0x4e6fab;if(_0x51f249['id']===_0x4a6d0b[_0x63495d(0x544)]['id']){let _0x3227f7=(0x0,_0x4a6d0b[_0x63495d(0x3d9)])(this['_univerInstanceService'],_0x51f249[_0x63495d(0x528)]);if(!_0x3227f7)return{'redos':[],'undos':[]};let {unitId:_0x5c39e9,subUnitId:_0x5b8362}=_0x3227f7,_0x587b30=this[_0x63495d(0x2ed)][_0x63495d(0x39b)](_0x5c39e9,_0x5b8362),_0x20f234=Object[_0x63495d(0x420)](_0x587b30)['filter'](_0x3bf972=>_0x3bf972[_0x63495d(0x2d3)]===_0x1ba070['DrawingTypeEnum'][_0x63495d(0x52f)]);if(_0x20f234[_0x63495d(0x36b)]===0x0)return{'redos':[],'undos':[]};let _0x3f13ca=[],_0x25ba65=[];for(let _0x10855b=0x0;_0x10855b<_0x20f234[_0x63495d(0x36b)];_0x10855b++){let _0x5988d5=_0x20f234[_0x10855b],_0x5b924b=this['_chartModelService'][_0x63495d(0x214)](_0x5988d5[_0x63495d(0x3b7)]);if(!_0x5b924b)continue;let _0x4f910c=this[_0x63495d(0x373)][_0x63495d(0x44f)](_0x5b924b['id']);if(!_0x4f910c)continue;let {chartType:_0x9ce8c1,context:_0x55e9e8,style:_0x5ab78a,dataAggregation:_0x4750ff}=_0x5b924b['serialize']();_0x3f13ca[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x37c)]['id'],'params':{'unitId':_0x5c39e9,'subUnitId':_0x5b8362,'chartId':_0x5988d5[_0x63495d(0x3b7)]}}),_0x25ba65[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x1df)]['id'],'params':{'unitId':_0x5c39e9,'subUnitId':_0x5b8362,'chartId':_0x5988d5[_0x63495d(0x3b7)],'chartType':_0x9ce8c1,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x4f910c),'context':_0x55e9e8,'style':_0x5ab78a,'dataAggregation':_0x4750ff}});}return{'redos':_0x3f13ca,'undos':_0x25ba65};}if(_0x51f249['id']===_0x4a6d0b[_0x63495d(0x2cf)]['id']){let {unitId:_0x558d32,subUnitId:_0x44b0c8,targetSubUnitId:_0x1d4c31,copyContext:_0x552e92}=_0x51f249[_0x63495d(0x528)];if(!_0x558d32||!_0x44b0c8||!_0x1d4c31)return{'redos':[],'undos':[]};let _0x1bbae9=this[_0x63495d(0x2ed)][_0x63495d(0x39b)](_0x558d32,_0x44b0c8),_0x4a5434=Object['values'](_0x1bbae9)[_0x63495d(0x3e6)](_0x21fba=>_0x21fba[_0x63495d(0x2d3)]===_0x1ba070[_0x63495d(0x1f9)][_0x63495d(0x52f)]);if(_0x4a5434['length']===0x0)return{'redos':[],'undos':[]};let _0x3ae24e=_0x15356e(_0x552e92,_0x4a5434,{'unitId':_0x558d32,'sourceSubUnitId':_0x44b0c8,'targetSubUnitId':_0x1d4c31},_0x33e606=>{const _0x25c4d4=_0x63495d;let _0x158640=this[_0x25c4d4(0x57a)]['getChartModel'](_0x33e606[_0x25c4d4(0x3b7)]);if(!_0x158640)return;let _0x3cb7cb=this['_sheetsChartService']['getChartSourceSpec'](_0x158640['id']);if(!_0x3cb7cb)return;let {chartType:_0x781ede,context:_0x1f91e6,style:_0xf27599,dataAggregation:_0x149623}=_0x158640[_0x25c4d4(0x454)]();return{'rangeInfo':_0x3cb7cb,'chartType':_0x781ede,'context':_0x1f91e6,'style':_0xf27599,'dataAggregation':_0x149623};}),_0x4f956a=[],_0xd1ef98=[];for(let {targetChartId:_0x531981,source:_0x390e7f}of _0x3ae24e){let {rangeInfo:_0x59de1d,chartType:_0x339f4,context:_0x463675,style:_0x21716b,dataAggregation:_0x5b3444}=_0x390e7f;_0x4f956a[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x1df)]['id'],'params':{'unitId':_0x558d32,'subUnitId':_0x1d4c31,'chartId':_0x531981,'chartType':_0x339f4,...(0x0,_0x113ca7[_0x63495d(0x4ba)])(_0x59de1d),'context':_0x463675,'style':_0x21716b,'dataAggregation':_0x5b3444}}),_0xd1ef98[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x37c)]['id'],'params':{'unitId':_0x558d32,'subUnitId':_0x1d4c31,'chartId':_0x531981}});}return{'redos':_0x4f956a,'undos':_0xd1ef98};}return{'redos':[],'undos':[]};}}));}};_0x1d1094=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x53a)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b[_0x185be1(0x2a0)])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x302521['ISheetDrawingService'])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)]))],_0x1d1094);let _0x4bb399=_0x224773=>_0x224773[_0x185be1(0x448)](_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)])[_0x185be1(0x185)](),_0x53ef75=_0x3869cd=>{const _0x113979=_0x185be1;var _0x351149;return(_0x351149=_0x3869cd[_0x113979(0x448)](_0x1ba070[_0x113979(0x203)]['UNIVER_SHEET'])[_0x113979(0x1bd)]())==null?void 0x0:_0x351149[_0x113979(0x2ec)]();};function _0x55b881(){const _0x22b13=_0x185be1;var _0x3d2f17;let _0x556b8c=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x24cbf9),_0x5b14d4=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x113ca7[_0x22b13(0x47d)]),_0x17c6df=(0x0,_0x21688c['useDependency'])(_0x113ca7[_0x22b13(0x1f5)]),_0x37301e=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x1ba070[_0x22b13(0x30e)]),_0x21b572=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x1ba070[_0x22b13(0x32e)]),_0x2ed605=(0x0,_0x113ca7['getAllowedChartTypes'])(_0x21b572),_0x40a35b=(0x0,_0x119d22[_0x22b13(0x4b5)])(()=>{const _0x48541d=_0x22b13;let _0x399792=_0x36e3f4(_0x552a93[_0x48541d(0x3aa)](),_0x2ed605);return(0x0,_0x37f706[_0x48541d(0x53f)])(_0x399792[_0x48541d(0x18e)](_0x3db817=>({'id':_0x3db817['id'],'label':_0x37301e['t'](_0x48541d(0x1ee)+_0x3db817[_0x48541d(0x1d9)]),'pieSecondaryPlotType':_0x3db817[_0x48541d(0x35a)],'value':_0x3db817[_0x48541d(0x2a6)]})));},[_0x2ed605,_0x37301e]),_0x26938d=(0x0,_0x21688c['useObservable'])(_0x5b14d4[_0x22b13(0x548)],_0x5b14d4[_0x22b13(0x286)]),_0x43cdf6=_0x26938d?_0x17c6df[_0x22b13(0x20a)](_0x26938d['id']):void 0x0,_0x61961a=(0x0,_0x21688c[_0x22b13(0x27d)])(_0x43cdf6==null?void 0x0:_0x43cdf6[_0x22b13(0x423)],_0x43cdf6==null?void 0x0:_0x43cdf6[_0x22b13(0x3f0)]()),_0x21bdcc=Array[_0x22b13(0x571)](_0x61961a),_0xdb2f77=_0x61961a&&!_0x21bdcc&&_0x61961a[_0x22b13(0x2fa)]?_0x214e0a['DataOrientation'][_0x22b13(0x292)]:_0x214e0a['DataOrientation'][_0x22b13(0x444)],_0x35f2b8=_0x21bdcc?(_0x3d2f17=_0x61961a[0x0])==null?void 0x0:_0x3d2f17[_0x22b13(0x340)]:_0x61961a==null?void 0x0:_0x61961a['rangeInfo'];return(0x0,_0x4da08e[_0x22b13(0x4ef)])(_0x22b13(0x2d0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':(0x0,_0x4da08e['jsx'])(_0x37f706['ChartSetupPanel'],{'chartTypeOptions':_0x40a35b,'dataSourceControl':(0x0,_0x4da08e[_0x22b13(0x4ef)])(_0x27fbd0,{'dataRange':_0x61961a,'primaryRange':_0x35f2b8}),'categoryToggleLabel':_0x37301e['t'](_0x22b13(0x1cb),_0xdb2f77===_0x214e0a['DataOrientation']['Row']?_0xdb2f77+'\x20'+(((_0x35f2b8==null?void 0x0:_0x35f2b8[_0x22b13(0x340)]['startRow'])??0x0)+0x1):_0xdb2f77+'\x20'+(0x0,_0x1ba070['numberToABC'])((_0x35f2b8==null?void 0x0:_0x35f2b8[_0x22b13(0x340)][_0x22b13(0x4d7)])??0x0)),'orientationControl':_0x21bdcc?void 0x0:(0x0,_0x4da08e['jsx'])(_0x2b4c09['Button'],{'size':_0x22b13(0x408),'onClick':()=>_0x556b8c[_0x22b13(0x414)](_0xdb2f77===_0x214e0a['DataOrientation'][_0x22b13(0x292)]?_0x214e0a[_0x22b13(0x515)]['Column']:_0x214e0a[_0x22b13(0x515)][_0x22b13(0x292)]),'children':_0x37301e['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x27fbd0(_0x2a354a){const _0x218b04=_0x185be1;let {dataRange:_0x5070cc,primaryRange:_0x3825f8}=_0x2a354a,_0x3d1891=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x24cbf9),_0x1772ce=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x1ba070[_0x218b04(0x30e)]),_0x116a12=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x1ba070[_0x218b04(0x53a)]),[_0x4a978a,_0x2579b8]=(0x0,_0x119d22[_0x218b04(0x19c)])(!0x1),[_0x993173,_0x5adfc3]=(0x0,_0x119d22[_0x218b04(0x19c)])(!0x1),_0x4c95db=_0x4bb399(_0x116a12),_0x2c0306=_0x53ef75(_0x116a12);(0x0,_0x119d22['useEffect'])(()=>{_0x3d1891['setRangeSelectMode'](_0x4a978a);},[_0x4a978a,_0x3d1891]);let _0x980303=(0x0,_0x119d22['useMemo'])(()=>(0x0,_0x1ba070[_0x218b04(0x209)])(async _0x401bef=>{const _0x126085=_0x218b04;var _0x56e1ad;if(_0x5dbc9b(_0x5070cc,_0x116a12)===_0x401bef)return;let _0x501c4d=_0x401bef[_0x126085(0x56d)](',')[_0x126085(0x3e6)](Boolean)[_0x126085(0x18e)](_0x5f0a10[_0x126085(0x1e3)])[0x0];if(!_0x501c4d)return;let {unitId:_0x5c36dd,sheetName:_0x2199a4,range:_0x2bac72}=_0x501c4d,_0x7cb56c=_0x5c36dd||_0x4c95db,_0xfcd8a1=((_0x56e1ad=_0x116a12[_0x126085(0x296)](_0x7cb56c)[_0x126085(0x300)](_0x2199a4))==null?void 0x0:_0x56e1ad[_0x126085(0x2ec)]())||(_0x3825f8==null?void 0x0:_0x3825f8[_0x126085(0x50c)])||_0x2c0306;_0xfcd8a1&&_0x3d1891['setDataRange']({'rangeInfo':{'range':_0x2bac72,'unitId':_0x7cb56c,'subUnitId':_0xfcd8a1}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x5070cc,_0x3825f8,_0x3d1891,_0x2c0306,_0x4c95db,_0x116a12]);return(0x0,_0x119d22['useEffect'])(()=>()=>_0x980303[_0x218b04(0x32b)](),[_0x980303]),(0x0,_0x4da08e[_0x218b04(0x4ef)])('div',{'className':_0x218b04(0x486),'children':(0x0,_0x4da08e[_0x218b04(0x3f5)])(_0x218b04(0x2d0),{'children':[(0x0,_0x4da08e[_0x218b04(0x4ef)])(_0x37f706['ChartEditBlockTitle'],{'title':_0x1772ce['t'](_0x218b04(0x335))}),(0x0,_0x4da08e[_0x218b04(0x4ef)])(_0x33c938['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4c95db,'subUnitId':_0x2c0306,'initialValue':_0x5070cc?_0x5dbc9b(_0x5070cc,_0x116a12):'','onChange':(_0xfc584f,_0x1f7986)=>_0x980303(_0x1f7986),'onFocusChange':_0x56efec=>{_0x993173||_0x2579b8(_0x56efec);},'onRangeSelectorDialogVisibleChange':_0x24eb7d=>{_0x5adfc3(_0x24eb7d),_0x2579b8(_0x24eb7d);}})]})});}function _0x4653eb(){const _0x263066=_0x185be1;let [_0x494dcc,_0x1c1015]=(0x0,_0x119d22['useState'])(_0x37f706[_0x263066(0x562)][_0x263066(0x4c9)]),_0x18526a=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x1ba070[_0x263066(0x32e)]),_0x3f3135=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x1ba070[_0x263066(0x30e)]),_0x26e140=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x24cbf9),_0xfc0d2f=(0x0,_0x21688c['useDependency'])(_0x113ca7['ChartModelService']),_0xdcfbf3=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x113ca7['SheetsChartService']),_0x430fc9=(0x0,_0x21688c['useObservable'])(_0xfc0d2f[_0x263066(0x548)],_0xfc0d2f[_0x263066(0x286)]),_0x217015=(0x0,_0x21688c[_0x263066(0x27d)])(_0x26e140[_0x263066(0x2a7)],null),_0x2e3f1d=(0x0,_0x119d22[_0x263066(0x4b5)])(()=>{const _0x109f4d=_0x263066;var _0x1bce0a;if(!_0x430fc9)return null;let _0x89c3f4=_0xdcfbf3['getChartSourceSpec'](_0x430fc9['id']);if(!_0x89c3f4)return null;let _0x4f7717=Array[_0x109f4d(0x571)](_0x89c3f4)?(_0x1bce0a=_0x89c3f4[0x0])==null?void 0x0:_0x1bce0a[_0x109f4d(0x340)]:_0x89c3f4[_0x109f4d(0x236)];return _0x4f7717?new _0x37f706[(_0x109f4d(0x212))](_0x430fc9,new _0x113ca7[(_0x109f4d(0x494))]({'unitId':_0x4f7717[_0x109f4d(0x2ac)],'subUnitId':_0x4f7717['subUnitId'],'chartId':_0x430fc9['id'],'injector':_0x18526a})):null;},[_0x430fc9,_0x18526a,_0xdcfbf3]);if((0x0,_0x119d22['useEffect'])(()=>{const _0x323608=_0x263066;var _0x4b3b10,_0x1fbcea;_0x430fc9&&(_0x217015==null?void 0x0:_0x217015[_0x323608(0x4d9)])===_0x430fc9['id']&&(((_0x4b3b10=_0x217015[_0x323608(0x455)])==null?void 0x0:_0x4b3b10[_0x323608(0x1cf)])===_0x37f706[_0x323608(0x562)][_0x323608(0x358)]&&_0x1c1015(_0x37f706[_0x323608(0x562)][_0x323608(0x358)]),((_0x1fbcea=_0x217015[_0x323608(0x455)])==null?void 0x0:_0x1fbcea[_0x323608(0x1cf)])===_0x37f706[_0x323608(0x562)][_0x323608(0x4c9)]&&_0x1c1015(_0x37f706[_0x323608(0x562)][_0x323608(0x4c9)]));},[_0x430fc9,_0x217015]),!_0x2e3f1d)return null;let _0x44448b=(0x0,_0x4da08e['jsx'])(_0x263066(0x2d0),{'className':_0x263066(0x44c),'children':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x37f706[_0x263066(0x1b5)],{'ariaLabel':_0x3f3135['t'](_0x263066(0x1a1)),'activeTab':_0x494dcc,'onTabChange':_0x1c1015,'tabListClassName':_0x263066(0x215),'panelClassName':_0x494dcc===_0x37f706[_0x263066(0x562)][_0x263066(0x358)]?_0x263066(0x337):_0x263066(0x26a),'tabs':[{'id':_0x37f706[_0x263066(0x562)]['Data'],'panelId':_0x263066(0x578),'title':_0x3f3135['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x55b881,{})},{'id':_0x37f706[_0x263066(0x562)][_0x263066(0x358)],'panelId':_0x263066(0x3c1),'title':_0x3f3135['t'](_0x263066(0x43f)),'content':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x2f4187,{'defaultValues':_0x3580d8})}]})});return(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x37f706[_0x263066(0x543)],{'chartUIService':_0x26e140,'hostAdapter':_0x2e3f1d,'children':_0x44448b});}let _0x55b2f6=class extends _0x1ba070['Disposable']{constructor(_0xb488d0){const _0x1a5b0a=_0x185be1;super(),this[_0x1a5b0a(0x3d7)](_0xb488d0[_0x1a5b0a(0x39e)](_0x209d81,_0x4653eb));}};_0x55b2f6=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['ComponentManager']))],_0x55b2f6);let _0x272d0f=class extends _0x1ba070['Disposable']{constructor(_0xbba1b5,_0x38d610,_0x2362d9,_0x363e8c,_0x55aa49,_0x331b2d,_0xa53247,_0x16e359,_0x13d676){const _0x341ae2=_0x185be1;super(),this[_0x341ae2(0x3d0)]=_0xbba1b5,this[_0x341ae2(0x57a)]=_0x38d610,this[_0x341ae2(0x4fe)]=_0x2362d9,this[_0x341ae2(0x354)]=_0x363e8c,this[_0x341ae2(0x4c7)]=_0x55aa49,this[_0x341ae2(0x403)]=_0x331b2d,this['_sheetsChartUIService']=_0xa53247,this[_0x341ae2(0x3c6)]=_0x16e359,this[_0x341ae2(0x2cd)]=_0x13d676,_0x3d73b3(this,_0x341ae2(0x54e),null),_0x3d73b3(this,_0x341ae2(0x57d),!0x1),this[_0x341ae2(0x186)]();}[_0x185be1(0x4d8)](){const _0x4d159a=_0x185be1;this['hidePanel'](),super[_0x4d159a(0x4d8)]();}[_0x185be1(0x368)](){const _0x1af7f2=_0x185be1;this[_0x1af7f2(0x57d)]||(this[_0x1af7f2(0x57d)]=!0x0,this[_0x1af7f2(0x3d7)](this['_commandService'][_0x1af7f2(0x4a2)](_0x1e7136=>{const _0x23b74f=_0x1af7f2;if(_0x1e7136['id']!==_0x272d7b['id'])return;let _0x29a7f4=_0x1e7136['params'];this[_0x23b74f(0x1b4)](_0x29a7f4[_0x23b74f(0x3b7)],_0x29a7f4[_0x23b74f(0x455)]);})));}[_0x185be1(0x1b4)](_0x451e17,_0x1471c4){const _0x1660f5=_0x185be1;let _0x2cc95f=this[_0x1660f5(0x57a)][_0x1660f5(0x214)](_0x451e17);_0x2cc95f&&(this['_chartModelService']['setActiveChartModel'](_0x2cc95f),this['_openPanel'](),this[_0x1660f5(0x55d)][_0x1660f5(0x1b6)](!0x0),this['_sheetsChartUIService'][_0x1660f5(0x2fc)](_0x451e17,_0x1471c4??null));}[_0x185be1(0x3af)](){const _0x14d563=_0x185be1;let _0x254ebd=this[_0x14d563(0x54e)];this['_sidebarDisposable']=null,this['_clearPanelState'](),_0x254ebd==null||_0x254ebd[_0x14d563(0x4d8)]();}['_initMenus'](){const _0x3848b0=_0x185be1;this[_0x3848b0(0x354)]['mergeMenu']({[_0x21688c['RibbonInsertGroup'][_0x3848b0(0x555)]]:{[_0x1b45e5['id']]:{'order':0x4,'menuItemFactory':_0x20768b}}}),this[_0x3848b0(0x4c7)][_0x3848b0(0x288)](_0x1ba070[_0x3848b0(0x1f9)][_0x3848b0(0x52f)],(_0x4aa11e,_0x328fda,_0x2600d8,_0x5b99fe)=>[{'label':this[_0x3848b0(0x2cd)]['t'](_0x3848b0(0x1a1)),'index':0x0,'commandId':_0x272d7b['id'],'commandParams':{'unitId':_0x4aa11e,'subUnitId':_0x328fda,'drawingId':_0x2600d8},'disable':_0x5b99fe!==_0x1ba070[_0x3848b0(0x1f9)][_0x3848b0(0x52f)]},{'label':this[_0x3848b0(0x2cd)]['t'](_0x3848b0(0x565)),'index':0x1,'commandId':_0x302521[_0x3848b0(0x58e)]['id'],'commandParams':{'unitId':_0x4aa11e,'drawings':[{'unitId':_0x4aa11e,'subUnitId':_0x328fda,'drawingId':_0x2600d8,'drawingType':_0x5b99fe}]},'disable':!0x1}],_0x3848b0(0x239));}[_0x185be1(0x270)](){const _0x537984=_0x185be1;this['_sidebarDisposable']=this[_0x537984(0x4fe)]['open']({'id':_0x209d81,'header':{'title':this[_0x537984(0x2cd)]['t'](_0x537984(0x1a1))},'children':{'label':_0x209d81},'onClose':()=>{const _0x2df3f3=_0x537984;this['_sidebarDisposable']=null,this[_0x2df3f3(0x3bd)]();}});}[_0x185be1(0x3bd)](){const _0x4623ac=_0x185be1;this['_sheetsChartUIService'][_0x4623ac(0x1b6)](!0x1),this[_0x4623ac(0x55d)]['clearPanelRoute'](),this[_0x4623ac(0x57a)][_0x4623ac(0x286)]&&this[_0x4623ac(0x57a)][_0x4623ac(0x4a3)](null),this['_drawingManagerService'][_0x4623ac(0x3cd)](null),this[_0x4623ac(0x3c6)][_0x4623ac(0x227)](_0x1ba070[_0x4623ac(0x406)],!0x1);}};_0x272d0f=_0x11ef44([_0x42d632(0x0,_0x135c9c[_0x185be1(0x31a)]),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x2,(0x0,_0x1ba070['Inject'])(_0x21688c['ISidebarService'])),_0x42d632(0x3,_0x21688c[_0x185be1(0x228)]),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['SheetCanvasPopManagerService'])),_0x42d632(0x5,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x6,_0x24cbf9),_0x42d632(0x7,_0x1ba070[_0x185be1(0x461)]),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070['LocaleService']))],_0x272d0f);let _0x2350ba=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x8dd860,_0x18f1de,_0x7535ab,_0xe216aa,_0x780452){const _0x3cd61a=_0x185be1;super(),this[_0x3cd61a(0x460)]=_0x8dd860,this[_0x3cd61a(0x40b)]=_0x18f1de,this['_sheetDrawingService']=_0x7535ab,this[_0x3cd61a(0x57a)]=_0xe216aa,this[_0x3cd61a(0x373)]=_0x780452,_0x3d73b3(this,_0x3cd61a(0x496),void 0x0),this['_initCopyPaste']();}get[_0x185be1(0x537)](){const _0x4ea1bb=_0x185be1;return this[_0x4ea1bb(0x2ed)][_0x4ea1bb(0x559)]();}[_0x185be1(0x45b)](){const _0x21e69b=_0x185be1;this[_0x21e69b(0x3d7)](this['_sheetClipboardService'][_0x21e69b(0x2f2)]({'id':_0x113ca7[_0x21e69b(0x282)],'onBeforeCopyFocusedObject':(_0x10942d,_0xc1a191,_0x2f541d)=>{const _0x2594c4=_0x21e69b;this['_copyInfo']=null;let _0x198363=this[_0x2594c4(0x537)]['filter'](_0x2c8590=>this['_isOwnedChart'](_0x2c8590));return _0x198363[_0x2594c4(0x36b)]!==0x0&&(this[_0x2594c4(0x496)]={'unitId':_0x10942d,'subUnitId':_0xc1a191,'copyType':_0x2f541d,'drawings':_0x198363},!0x0);},'onBeforeCopy':(_0x4f6fbb,_0x247896,_0x4e784c,_0x46c461)=>{const _0x10e6ac=_0x21e69b;this[_0x10e6ac(0x496)]=null,this[_0x10e6ac(0x453)](_0x4f6fbb,_0x247896,_0x4e784c,_0x46c461);},'onPasteCells':(_0x57e3cc,_0x224203,_0x4321b5,_0x295948)=>{const _0x746d33=_0x21e69b;if(!_0x295948[_0x746d33(0x361)]||!_0x57e3cc||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x246833}=_0x295948;return _0x246833===_0x53e756[_0x746d33(0x333)][_0x746d33(0x468)]?this[_0x746d33(0x1e0)](_0x224203,this[_0x746d33(0x496)][_0x746d33(0x2d9)]===_0x53e756[_0x746d33(0x195)][_0x746d33(0x2f5)]):{'redos':[],'undos':[]};}}));}[_0x185be1(0x453)](_0xcad044,_0x43f125,_0x47c3a6,_0x9cf2b){const _0x425982=_0x185be1;let _0x3d80d2=this[_0x425982(0x460)][_0x425982(0x293)](_0xcad044,_0x43f125);if(!_0x3d80d2)return;let _0x19ed6a=(0x0,_0x4a6d0b[_0x425982(0x1ce)])(_0x3d80d2,_0x47c3a6);if(!_0x19ed6a)return;let {startX:_0x4d032d,endX:_0x132823,startY:_0x20be70,endY:_0xfbb54d}=_0x19ed6a,_0x47af45=this[_0x425982(0x2ed)][_0x425982(0x39b)](_0xcad044,_0x43f125),_0x1e6ac8=[];for(let [_0x465134,_0xbe048f]of Object[_0x425982(0x1e5)](_0x47af45)){if(!this['_isOwnedChart'](_0xbe048f))continue;let {transform:_0x3f5069}=_0xbe048f;if(!_0x3f5069)continue;let {left:_0x79babd=0x0,top:_0xbc359=0x0,width:_0x58892c=0x0,height:_0x2db593=0x0}=_0x3f5069;_0x4d032d<=_0x79babd&&_0x132823>=_0x79babd+_0x58892c&&_0x20be70<=_0xbc359&&_0xfbb54d>=_0xbc359+_0x2db593&&_0x1e6ac8[_0x425982(0x3be)](_0xbe048f);}_0x1e6ac8[_0x425982(0x36b)]>0x0&&(this[_0x425982(0x496)]={'unitId':_0xcad044,'subUnitId':_0x43f125,'copyType':_0x9cf2b,'copyRange':_0x47c3a6,'drawings':_0x1e6ac8});}[_0x185be1(0x1c0)](_0x19e623){const _0x44ff2d=_0x185be1;return _0x19e623['drawingType']===_0x1ba070[_0x44ff2d(0x1f9)][_0x44ff2d(0x52f)]&&this[_0x44ff2d(0x373)][_0x44ff2d(0x2e0)](_0x19e623[_0x44ff2d(0x2ac)],_0x19e623[_0x44ff2d(0x3b7)])===_0x19e623[_0x44ff2d(0x50c)];}[_0x185be1(0x1e0)](_0x225726,_0x3013b1){const _0x19e75c=_0x185be1;let {unitId:_0x5c3489,subUnitId:_0x4abcfa,range:_0x4b35bc}=_0x225726,_0x4e9cfe=this[_0x19e75c(0x460)][_0x19e75c(0x293)](_0x5c3489,_0x4abcfa);if(!_0x4e9cfe)return{'redos':[],'undos':[]};let _0x80acde=(0x0,_0x4a6d0b['discreteRangeToRange'])(_0x4b35bc),{unitId:_0x1ebf76,subUnitId:_0xcbba83,copyRange:_0x3d001a,drawings:_0x4afac9}=this[_0x19e75c(0x496)],_0xdef1c8=this[_0x19e75c(0x460)][_0x19e75c(0x293)](_0x1ebf76,_0xcbba83);if(!_0xdef1c8)return{'redos':[],'undos':[]};let _0x2734eb=[],_0x29c2cf=[];for(let _0x50a825 of _0x4afac9){let {drawingId:_0x536da5,transform:_0x283a8d,sheetTransform:_0x507292}=_0x50a825,_0x3d6dcf=this[_0x19e75c(0x57a)][_0x19e75c(0x214)](_0x536da5);if(!_0x3d6dcf||!_0x283a8d||!_0x507292)continue;let _0x41a320=this[_0x19e75c(0x41a)]({'transform':_0x283a8d,'sheetTransform':_0x507292},{'skeleton':_0xdef1c8,'range':_0x3d001a},{'skeleton':_0x4e9cfe,'range':_0x80acde});if(_0x3013b1){let {redos:_0x498b98,undos:_0x409a91}=this['_generateCutPasteMutations']({'fromUnitId':_0x1ebf76,'fromSubUnitId':_0xcbba83,'toUnitId':_0x5c3489,'toSubUnitId':_0x4abcfa,'drawing':_0x50a825,'newTransforms':_0x41a320},_0x3d6dcf);_0x2734eb[_0x19e75c(0x3be)](..._0x498b98),_0x29c2cf[_0x19e75c(0x3be)](..._0x409a91);continue;}let {redos:_0x29d840,undos:_0x9066e9}=this[_0x19e75c(0x501)]({'toUnitId':_0x5c3489,'toSubUnitId':_0x4abcfa,'drawing':_0x50a825,'newTransforms':_0x41a320},_0x3d6dcf);_0x2734eb[_0x19e75c(0x3be)](..._0x29d840),_0x29c2cf['push'](..._0x9066e9);}return{'redos':_0x2734eb,'undos':_0x29c2cf};}[_0x185be1(0x38e)](_0x5b246e,_0x5caf2a){const _0x39f6b3=_0x185be1;let {fromUnitId:_0x486007,fromSubUnitId:_0x1a5330,toUnitId:_0x47d21a,toSubUnitId:_0x5694c3,drawing:_0x38656c,newTransforms:_0x11463b}=_0x5b246e,_0x2bee85={..._0x38656c,'unitId':_0x47d21a,'subUnitId':_0x5694c3,'transform':_0x11463b[_0x39f6b3(0x380)],'sheetTransform':_0x11463b[_0x39f6b3(0x3c2)]};if(_0x47d21a===_0x486007&&_0x5694c3===_0x1a5330){let {redo:_0xec6bdb,undo:_0x461093,objects:_0x4e36e7}=this[_0x39f6b3(0x2ed)]['getBatchUpdateOp']([_0x2bee85]);return{'redos':[{'id':_0x302521['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x4be)],'op':_0xec6bdb,'objects':_0x4e36e7}}],'undos':[{'id':_0x302521['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x4be)],'op':_0x461093,'objects':_0x4e36e7}}]};}{let _0x3d30cf=this[_0x39f6b3(0x2ed)][_0x39f6b3(0x197)]([_0x38656c]),_0x15d77f=this[_0x39f6b3(0x2ed)][_0x39f6b3(0x37e)]([_0x2bee85]),_0x22a9d7=this['_sheetsChartService'][_0x39f6b3(0x44f)](_0x5caf2a['id']);if(!_0x22a9d7)return{'redos':[],'undos':[]};let {chartType:_0x34912a,context:_0x3fe20d,style:_0x2df613,dataAggregation:_0x4c969c}=_0x5caf2a[_0x39f6b3(0x454)]();return{'redos':[{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'type':_0x302521['DrawingApplyType'][_0x39f6b3(0x348)],'op':_0x3d30cf[_0x39f6b3(0x519)],'objects':_0x3d30cf[_0x39f6b3(0x25c)]}},{'id':_0x113ca7[_0x39f6b3(0x37c)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'chartId':_0x38656c[_0x39f6b3(0x3b7)]}},{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x449)],'op':_0x15d77f[_0x39f6b3(0x519)],'objects':_0x15d77f[_0x39f6b3(0x25c)]}},{'id':_0x113ca7['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'chartId':_0x38656c[_0x39f6b3(0x3b7)],'chartType':_0x34912a,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x22a9d7),'context':_0x3fe20d,'style':_0x2df613,'dataAggregation':_0x4c969c}}],'undos':[{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x449)],'op':_0x3d30cf[_0x39f6b3(0x3fd)],'objects':_0x3d30cf['objects']}},{'id':_0x113ca7[_0x39f6b3(0x1df)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'chartId':_0x38656c[_0x39f6b3(0x3b7)],'chartType':_0x34912a,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x22a9d7),'context':_0x3fe20d,'style':_0x2df613,'dataAggregation':_0x4c969c}},{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x348)],'op':_0x15d77f[_0x39f6b3(0x3fd)],'objects':_0x15d77f[_0x39f6b3(0x25c)]}},{'id':_0x113ca7[_0x39f6b3(0x37c)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'chartId':_0x38656c[_0x39f6b3(0x3b7)]}}]};}}[_0x185be1(0x501)](_0x74b221,_0x2a3a29){const _0x14e7e3=_0x185be1;let {toUnitId:_0x56f5b1,toSubUnitId:_0x566969,drawing:_0x266441,newTransforms:_0x1d9d0f}=_0x74b221,_0x47f499=(0x0,_0x1ba070[_0x14e7e3(0x2be)])(),_0x174f9d={..._0x266441,'unitId':_0x56f5b1,'subUnitId':_0x566969,'drawingId':_0x47f499,'transform':_0x1d9d0f[_0x14e7e3(0x380)],'sheetTransform':_0x1d9d0f['sheetTransform']},{redo:_0x555b1c,undo:_0x5bba1c,objects:_0x499a63}=this[_0x14e7e3(0x2ed)][_0x14e7e3(0x37e)]([_0x174f9d]),_0x19acd4=this[_0x14e7e3(0x373)][_0x14e7e3(0x44f)](_0x2a3a29['id']);if(!_0x19acd4)return{'redos':[],'undos':[]};let {chartType:_0x5a23ad,context:_0x42e407,style:_0x282e07,dataAggregation:_0x1eabae}=_0x2a3a29['serialize']();return{'redos':[{'id':_0x302521[_0x14e7e3(0x21e)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'type':_0x302521[_0x14e7e3(0x2a4)][_0x14e7e3(0x449)],'op':_0x555b1c,'objects':_0x499a63}},{'id':_0x113ca7['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'chartId':_0x47f499,'chartType':_0x5a23ad,...(0x0,_0x113ca7[_0x14e7e3(0x4ba)])(_0x19acd4),'context':_0x42e407,'style':_0x282e07,'dataAggregation':_0x1eabae}}],'undos':[{'id':_0x302521[_0x14e7e3(0x21e)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'type':_0x302521[_0x14e7e3(0x2a4)][_0x14e7e3(0x348)],'op':_0x5bba1c,'objects':_0x499a63}},{'id':_0x113ca7[_0x14e7e3(0x37c)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'chartId':_0x47f499}}]};}['_updateTransform'](_0x589594,_0x9f0c69,_0x3135c9){const _0x16f0d8=_0x185be1;let {range:_0x1dde0d,skeleton:_0x5a911d}=_0x9f0c69,{range:_0x2ad859,skeleton:_0x31bc47}=_0x3135c9,{transform:_0x4f6aeb,sheetTransform:_0x42901f}=_0x589594,_0x4db09b={..._0x4f6aeb};if(_0x1dde0d){let _0x26ae98=(0x0,_0x4a6d0b['attachRangeWithCoord'])(_0x5a911d,_0x1dde0d),_0x16074f=(0x0,_0x4a6d0b[_0x16f0d8(0x1ce)])(_0x31bc47,_0x2ad859);if(_0x26ae98&&_0x16074f){let _0x1dfd05=_0x16074f[_0x16f0d8(0x4ce)]-_0x26ae98[_0x16f0d8(0x4ce)],_0x806013=_0x16074f[_0x16f0d8(0x4a5)]-_0x26ae98[_0x16f0d8(0x4a5)];_0x4db09b[_0x16f0d8(0x4e4)]=(_0x4db09b[_0x16f0d8(0x4e4)]??0x0)+_0x1dfd05,_0x4db09b['top']=(_0x4db09b[_0x16f0d8(0x2e8)]??0x0)+_0x806013;}}else{let _0x59548e=(0x0,_0x4a6d0b['attachRangeWithCoord'])(_0x31bc47,_0x2ad859);_0x4db09b[_0x16f0d8(0x4e4)]=_0x59548e==null?void 0x0:_0x59548e[_0x16f0d8(0x4ce)],_0x4db09b[_0x16f0d8(0x2e8)]=_0x59548e==null?void 0x0:_0x59548e[_0x16f0d8(0x4a5)];}return{'transform':_0x4db09b,'sheetTransform':(0x0,_0x302521[_0x16f0d8(0x2ea)])(_0x4db09b,_0x31bc47)??_0x42901f};}};_0x2350ba=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b['SheetSkeletonService'])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['ISheetClipboardService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x302521['ISheetDrawingService'])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)]))],_0x2350ba);let _0x5ad7a4=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x390267,_0x1ba6bf,_0x4e9431,_0x5677c0){const _0x86227c=_0x185be1;super(),this[_0x86227c(0x403)]=_0x390267,this[_0x86227c(0x2cd)]=_0x1ba6bf,this[_0x86227c(0x50a)]=_0x4e9431,this[_0x86227c(0x373)]=_0x5677c0,this[_0x86227c(0x510)]();}['_initPermission'](){const _0x5ea84a=_0x185be1;this[_0x5ea84a(0x3d7)](this[_0x5ea84a(0x403)]['beforeCommandExecuted'](_0x39ce06=>{const _0x3502c1=_0x5ea84a;let _0xa0a5ed,_0x5e7018;if(_0x39ce06['id']===_0x113ca7[_0x3502c1(0x283)]['id']){let _0x5ea0ea=_0x39ce06['params'];_0xa0a5ed=_0x5ea0ea[_0x3502c1(0x2ac)],_0x5e7018=_0x5ea0ea[_0x3502c1(0x50c)];}else{if(_0x39ce06['id']===_0x113ca7[_0x3502c1(0x49e)]['id']||_0x39ce06['id']===_0x113ca7['ChartUpdateSourceCommand']['id']){let _0x459cb0=_0x39ce06[_0x3502c1(0x528)];_0xa0a5ed=_0x459cb0['unitId'],_0x5e7018=this['_sheetsChartService']['getSubUnitId'](_0x459cb0['unitId'],_0x459cb0[_0x3502c1(0x42c)]);}}_0xa0a5ed&&_0x5e7018&&(this[_0x3502c1(0x50a)][_0x3502c1(0x49f)]({'workbookTypes':[_0x4a6d0b[_0x3502c1(0x3c5)]],'worksheetTypes':[_0x4a6d0b[_0x3502c1(0x33b)]]},_0xa0a5ed,_0x5e7018)||this['_sheetPermissionCheckController'][_0x3502c1(0x1c1)](this['_localeService']['t'](_0x3502c1(0x3a1))));}));}};_0x5ad7a4=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x56c)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b[_0x185be1(0x573)])),_0x42d632(0x3,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x1f5)]))],_0x5ad7a4);let _0x3940f9=class extends _0x1ba070['Disposable']{constructor(_0x2f7d6c,_0xf4ebb4){const _0x125d94=_0x185be1;super(),this['_renderService']=_0xf4ebb4,this[_0x125d94(0x3d7)](_0x2f7d6c[_0x125d94(0x39e)](this));}[_0x185be1(0x314)](_0x56c444){const _0xb23da7=_0x185be1;return _0xb23da7(0x2ac)in _0x56c444&&_0xb23da7(0x50c)in _0x56c444;}[_0x185be1(0x21f)](_0x1818dc,_0x12f592){const _0x300efe=_0x185be1;return this[_0x300efe(0x34f)][_0x300efe(0x21f)](_0x1818dc['getId'](),_0x12f592);}};_0x3940f9=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706[_0x185be1(0x2f0)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a))],_0x3940f9);let _0x33d9ac=class extends _0x1ba070[_0x185be1(0x521)]{constructor(_0x391b80=_0x3e134f,_0x52f8ec,_0x29fa10,_0x194775){const _0x5cfc07=_0x185be1;super(),this[_0x5cfc07(0x1c6)]=_0x391b80,this[_0x5cfc07(0x48d)]=_0x52f8ec,this[_0x5cfc07(0x4cc)]=_0x29fa10,this[_0x5cfc07(0x403)]=_0x194775;let {..._0x2aad1d}=(0x0,_0x1ba070[_0x5cfc07(0x2a5)])({},_0x3e134f,this['_config']);this[_0x5cfc07(0x4cc)]['setConfig'](_0x130aa7,_0x2aad1d),this[_0x5cfc07(0x56f)]();}[_0x185be1(0x43a)](){const _0x2fe5e4=_0x185be1;let _0x1714dd=[[_0x55b2f6],[_0x24cbf9,{'useClass':_0x27af68}],[_0xd413d,{'useClass':_0x3fe827}],[_0x437b6a],[_0x17894a],[_0x3940f9],[_0x272d0f],[_0x3ca18e],[_0x198776],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]],_0x102046=[[_0x55b2f6],[_0x272d0f],[_0x198776],[_0x3ca18e],[_0x3940f9],[_0x24cbf9],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]];_0x1714dd[_0x2fe5e4(0x55c)](_0x1c4354=>this[_0x2fe5e4(0x48d)][_0x2fe5e4(0x221)](_0x1c4354)),(0x0,_0x1ba070['touchDependencies'])(this[_0x2fe5e4(0x48d)],_0x102046);}[_0x185be1(0x3e7)](){const _0x332dca=_0x185be1;var _0x1879d0;(_0x1879d0=this[_0x332dca(0x48d)]['get'](_0x272d0f))==null||_0x1879d0['initPanel']();}['_initCommands'](){const _0x680dbc=_0x185be1;[_0x1b45e5,_0x272d7b][_0x680dbc(0x55c)](_0x167d1d=>this[_0x680dbc(0x3d7)](this['_commandService'][_0x680dbc(0x512)](_0x167d1d)));}};_0x3d73b3(_0x33d9ac,'type',_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)]),_0x3d73b3(_0x33d9ac,_0x185be1(0x2a8),_0x185be1(0x2b5)),_0x3d73b3(_0x33d9ac,_0x185be1(0x51a),_0x3a2800),_0x3d73b3(_0x33d9ac,_0x185be1(0x477),_0x23c060),_0x33d9ac=_0x11ef44([(0x0,_0x1ba070['DependentOn'])(_0x427f18[_0x185be1(0x204)],_0x135c9c[_0x185be1(0x53b)],_0x1d47e2[_0x185be1(0x1ad)],_0x4a6d0b[_0x185be1(0x369)],_0x302521[_0x185be1(0x4c8)],_0x37f706['UniverChartMobileUIPlugin'],_0x113ca7[_0x185be1(0x4f1)],_0x2cd04e[_0x185be1(0x3c9)],_0x53e756[_0x185be1(0x3b5)],_0x21688c[_0x185be1(0x470)]),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0x3,_0x1ba070['ICommandService'])],_0x33d9ac);let _0x21e63e={'scaleX':0x1,'scaleY':0x1};function _0x2ed8c6(_0x1d015d){let _0x33679e=_0x1d015d['nativeEvent'];return _0x33679e instanceof MouseEvent?_0x33679e:void 0x0;}function _0x3f2c65(_0x1a469e){const _0x257975=_0x185be1;let _0x1f3144=_0x1a469e[_0x257975(0x36c)],_0x2a2efc=_0x1f3144==null?void 0x0:_0x1f3144[_0x257975(0x22e)];return _0x2a2efc instanceof Element?_0x2a2efc:void 0x0;}function _0x3ef814(_0x39fe75){var _0x2ae5e1;return(_0x2ae5e1=_0x3f2c65(_0x39fe75))==null?void 0x0:_0x2ae5e1['getBoundingClientRect']();}function _0x24cbed(_0x30a918){const _0x34d495=_0x185be1;return _0x30a918[_0x34d495(0x2bf)]||_0x30a918['right']-_0x30a918[_0x34d495(0x4e4)];}function _0x5632b6(_0x564e5d){const _0x524ea4=_0x185be1;return _0x564e5d[_0x524ea4(0x2d7)]||_0x564e5d[_0x524ea4(0x3e3)]-_0x564e5d['top'];}function _0xd4405(_0x10e780,_0x2e02a2){const _0x4e6a92=_0x185be1;let _0xd43d9a=_0x10e780[_0x4e6a92(0x19f)]||(_0x10e780 instanceof HTMLElement?_0x10e780[_0x4e6a92(0x47a)]:0x0),_0x5bbbd2=_0x10e780[_0x4e6a92(0x490)]||(_0x10e780 instanceof HTMLElement?_0x10e780[_0x4e6a92(0x3e9)]:0x0),_0x57bb21=_0x24cbed(_0x2e02a2),_0xb184fd=_0x5632b6(_0x2e02a2);return{'scaleX':_0xd43d9a>0x0&&_0x57bb21>0x0?_0x57bb21/_0xd43d9a:_0x21e63e['scaleX'],'scaleY':_0x5bbbd2>0x0&&_0xb184fd>0x0?_0xb184fd/_0x5bbbd2:_0x21e63e[_0x4e6a92(0x22b)]};}function _0x118688(_0x560e24,_0xaecb3b,_0x3ab594){const _0x4416a4=_0x185be1;return{'left':_0x560e24[_0x4416a4(0x4e4)]+_0xaecb3b['left']*_0x3ab594[_0x4416a4(0x2b8)],'right':_0x560e24['left']+_0xaecb3b[_0x4416a4(0x411)]*_0x3ab594['scaleX'],'top':_0x560e24['top']+_0xaecb3b[_0x4416a4(0x2e8)]*_0x3ab594[_0x4416a4(0x22b)],'bottom':_0x560e24[_0x4416a4(0x2e8)]+_0xaecb3b[_0x4416a4(0x3e3)]*_0x3ab594['scaleY']};}function _0x9ec622(_0x2d819f){const _0x4785b9=_0x185be1;let _0x7dba25=_0x3f2c65(_0x2d819f),_0x4aaf9f=_0x2d819f['hit'][_0x4785b9(0x402)];if(_0x7dba25&&_0x4aaf9f){let _0x4fba48=_0x7dba25['getBoundingClientRect']();return()=>{const _0x5c4cf9=_0x4785b9;let _0x511998=_0x7dba25['getBoundingClientRect']();return(_0x7dba25[_0x5c4cf9(0x1f3)]||_0x24cbed(_0x511998)>0x0||_0x5632b6(_0x511998)>0x0)&&(_0x4fba48=_0x511998),_0x118688(_0x4fba48,_0x4aaf9f,_0xd4405(_0x7dba25,_0x4fba48));};}return()=>{const _0x4f3878=_0x4785b9;let _0x11a5f5=_0x3ef814(_0x2d819f);if(_0x11a5f5&&_0x4aaf9f)return _0x118688(_0x11a5f5,_0x4aaf9f,_0x7dba25?_0xd4405(_0x7dba25,_0x11a5f5):_0x21e63e);let _0x2750b3=_0x2ed8c6(_0x2d819f),_0x31f3ef=_0x7dba25&&_0x11a5f5?_0xd4405(_0x7dba25,_0x11a5f5):_0x21e63e,_0x595750=(_0x2750b3==null?void 0x0:_0x2750b3[_0x4f3878(0x498)])??(_0x11a5f5?_0x11a5f5['left']+_0x2d819f[_0x4f3878(0x44e)]['x']*_0x31f3ef['scaleX']:_0x2d819f[_0x4f3878(0x44e)]['x']),_0x2395d1=(_0x2750b3==null?void 0x0:_0x2750b3['clientY'])??(_0x11a5f5?_0x11a5f5[_0x4f3878(0x2e8)]+_0x2d819f[_0x4f3878(0x44e)]['y']*_0x31f3ef['scaleY']:_0x2d819f[_0x4f3878(0x44e)]['y']);return{'left':_0x595750,'right':_0x595750+0x1,'top':_0x2395d1,'bottom':_0x2395d1+0x1};};}function _0x242ee3(_0x32e2a8){const _0x195cc6=_0x185be1;return typeof _0x32e2a8==_0x195cc6(0x58b)&&Number['isFinite'](_0x32e2a8);}function _0x2de7b3(_0x4c900d){if(!_0x4c900d||typeof _0x4c900d!='object')return!0x0;let {startX:_0x383fb1,endX:_0x28df9f,startY:_0x322b88,endY:_0x871ea3}=_0x4c900d;return!_0x242ee3(_0x383fb1)||!_0x242ee3(_0x28df9f)||!_0x242ee3(_0x322b88)||!_0x242ee3(_0x871ea3)||_0x28df9f-_0x383fb1>0x2&&_0x871ea3-_0x322b88>0x2;}function _0x1d2db0(_0xcee359){const _0x1ad106=_0x185be1;return _0xcee359['right']<=_0xcee359[_0x1ad106(0x4e4)]||_0xcee359[_0x1ad106(0x3e3)]<=_0xcee359[_0x1ad106(0x2e8)]?!0x1:typeof window>'u'||_0xcee359[_0x1ad106(0x411)]>0x0&&_0xcee359['bottom']>0x0&&_0xcee359[_0x1ad106(0x4e4)]<window['innerWidth']&&_0xcee359[_0x1ad106(0x2e8)]<window[_0x1ad106(0x1fe)];}function _0x3b8d0f(_0x41aa09){const _0xc9badf=_0x185be1;var _0x229965;return _0x41aa09==null||(_0x229965=_0x41aa09['getValue'])==null?void 0x0:_0x229965[_0xc9badf(0x371)](_0x41aa09);}function _0x5cbd1c(_0x9a2a85,_0x1c80f5,_0x6eda6e){const _0xd35ce5=_0x185be1;let _0x6d95d1=_0x9ec622(_0x9a2a85),_0x33456f=_0x3b8d0f(_0x1c80f5),_0x2534a7=_0x6d95d1(),_0x2ce8f3=new _0x5e3636[(_0xd35ce5(0x2b0))](_0x2534a7),_0x13fad3=new _0x1ba070[(_0xd35ce5(0x20b))](),_0x2d05cf=!0x1,_0x19eebe=!0x1,_0x284cb5=_0x2319fc=>_0x2de7b3(_0x33456f)&&_0x1d2db0(_0x2319fc),_0x2ca0ae=()=>{_0x19eebe||_0x2d05cf||(_0x19eebe=!0x0,queueMicrotask(()=>{if(_0x19eebe=!0x1,!_0x2d05cf){let _0x3172ee=_0x6d95d1();if(!_0x284cb5(_0x3172ee)){_0x6eda6e();return;}_0x2ce8f3['next'](_0x3172ee);}}));};return _0x1c80f5&&_0x13fad3[_0xd35ce5(0x221)](_0x1c80f5['subscribe'](_0x586d0f=>{_0x33456f=_0x586d0f,_0x2ca0ae();})),typeof window<'u'&&_0x13fad3[_0xd35ce5(0x221)]((0x0,_0x5e3636[_0xd35ce5(0x2a5)])((0x0,_0x5e3636['fromEvent'])(window,_0xd35ce5(0x1a3),{'capture':!0x0}),(0x0,_0x5e3636[_0xd35ce5(0x4c0)])(window,'resize'))['pipe']((0x0,_0x5e3636[_0xd35ce5(0x25a)])(0x10))[_0xd35ce5(0x17f)](_0x2ca0ae)),{'initialRect':_0x2534a7,'anchorRect$':_0x2ce8f3['asObservable'](),'visible':_0x284cb5(_0x2534a7),'dispose':()=>{const _0x47b7c7=_0xd35ce5;_0x2d05cf=!0x0,_0x13fad3['dispose'](),_0x2ce8f3[_0x47b7c7(0x357)]();}};}let _0x4343c9='sheets-chart-element-float-menu',_0x463620=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x25fe3c,_0x18566d,_0x1cd18a,_0x2febe2,_0x1f99c1,_0x597968,_0x17bb34,_0x5c84a1,_0x25f17d){const _0x25b098=_0x185be1;super(),this['_chartModelService']=_0x25fe3c,this['_chartRenderService']=_0x18566d,this['_chartHostProvider']=_0x1cd18a,this[_0x25b098(0x4c7)]=_0x2febe2,this[_0x25b098(0x1ff)]=_0x1f99c1,this['_chartUIService']=_0x597968,this[_0x25b098(0x4e9)]=_0x17bb34,this[_0x25b098(0x403)]=_0x5c84a1,this[_0x25b098(0x48d)]=_0x25f17d,_0x3d73b3(this,'_popupDisposable',null),_0x3d73b3(this,_0x25b098(0x1e9),null),_0x3d73b3(this,_0x25b098(0x48a),null),this[_0x25b098(0x1d4)](),this['_subscribeChartEvents']();}[_0x185be1(0x4d8)](){const _0x2ca51c=_0x185be1;this[_0x2ca51c(0x317)](),super['dispose']();}['_registerAdapter'](){const _0x49323f=_0x185be1;let _0xf03ab1=(0x0,_0x37f706[_0x49323f(0x502)])({'chartUIService':this[_0x49323f(0x44d)],'getHostAdapter':_0x58ac64=>{const _0x3fed8d=_0x49323f;let _0x475528=this[_0x3fed8d(0x57a)]['getChartModel'](_0x58ac64[_0x3fed8d(0x4d9)]);if(_0x475528&&_0x58ac64[_0x3fed8d(0x50c)])return new _0x37f706[(_0x3fed8d(0x212))](_0x475528,new _0x113ca7[(_0x3fed8d(0x494))]({'unitId':_0x58ac64[_0x3fed8d(0x2ac)],'subUnitId':_0x58ac64[_0x3fed8d(0x50c)],'chartId':_0x58ac64[_0x3fed8d(0x4d9)],'injector':this[_0x3fed8d(0x48d)]}));},'close':()=>this[_0x49323f(0x317)](),'openFullPanel':_0x56b019=>{const _0x3de08f=_0x49323f;let {unitId:_0x3fbd27,subUnitId:_0x2f59b1,drawingId:_0x15bb11,chartId:_0x3a72c0}=_0x56b019,_0x1dcdd1=(0x0,_0x37f706[_0x3de08f(0x4a0)])(_0x56b019['target']);this[_0x3de08f(0x403)][_0x3de08f(0x3ab)](_0x272d7b['id'],{'unitId':_0x3fbd27,'subUnitId':_0x2f59b1??'','drawingId':_0x15bb11??_0x3a72c0,..._0x1dcdd1?{'route':_0x1dcdd1}:{}});}});this[_0x49323f(0x3d7)](this['_adapterRegistry'][_0x49323f(0x39e)](_0x4343c9,_0xf03ab1));}[_0x185be1(0x44b)](){const _0x24152e=_0x185be1;this['disposeWithMe'](this[_0x24152e(0x57a)]['chartModelAdded$'][_0x24152e(0x17f)](_0x1b2457=>{const _0x564cbe=_0x24152e;let _0x5076d0=new _0x1ba070[(_0x564cbe(0x20b))]();_0x5076d0[_0x564cbe(0x221)](this['_chartRenderService']['on'](_0x1b2457['id'],'click',_0xe033c=>{const _0x187d37=_0x564cbe;this[_0x187d37(0x4fa)](_0x1b2457['id'],_0xe033c);})),_0x5076d0[_0x564cbe(0x221)](this[_0x564cbe(0x3cf)]['on'](_0x1b2457['id'],_0x564cbe(0x372),()=>{const _0x54eaee=_0x564cbe;this[_0x54eaee(0x240)](_0x1b2457['id']);})),_0x1b2457['onDispose'](()=>{const _0x5ec7a0=_0x564cbe;_0x5076d0[_0x5ec7a0(0x4d8)](),this[_0x5ec7a0(0x429)](_0x1b2457['id']);}),this['disposeWithMe'](_0x5076d0);})),this['disposeWithMe']((0x0,_0x5e3636[_0x24152e(0x595)])([this[_0x24152e(0x57a)]['activeChartModel$'],this[_0x24152e(0x44d)][_0x24152e(0x346)]])[_0x24152e(0x17f)](([_0x55adbc,_0x5b999b])=>{const _0x1e0102=_0x24152e;(!_0x5b999b||this[_0x1e0102(0x1e9)]&&(_0x55adbc==null?void 0x0:_0x55adbc['id'])!==this['_popupChartId'])&&this[_0x1e0102(0x317)]();})),this['disposeWithMe'](this[_0x24152e(0x1ff)][_0x24152e(0x22f)][_0x24152e(0x17f)](({id:_0x356958})=>{const _0x48911a=_0x24152e;this[_0x48911a(0x429)](_0x356958);})),this[_0x24152e(0x3d7)](this[_0x24152e(0x1ff)]['remove$'][_0x24152e(0x17f)](({id:_0x1a781b})=>{this['_clearSelectedTarget'](_0x1a781b);})),this[_0x24152e(0x3d7)](this['_chartHostProvider'][_0x24152e(0x271)][_0x24152e(0x17f)](_0xa5de23=>{const _0xa15802=_0x24152e;this[_0xa15802(0x429)](_0xa5de23);}));}[_0x185be1(0x240)](_0x224caa){const _0x5712d4=_0x185be1;if(this['_chartUIService']['chartEditorOpen'])return;let _0x5ce5b4=this[_0x5712d4(0x57a)]['getChartModel'](_0x224caa),_0x51c6d4=this[_0x5712d4(0x1ff)]['getFloatDomInfo'](_0x224caa);_0x5ce5b4&&_0x51c6d4&&this[_0x5712d4(0x403)][_0x5712d4(0x3ab)](_0x272d7b['id'],{'unitId':_0x51c6d4[_0x5712d4(0x2ac)],'subUnitId':_0x51c6d4[_0x5712d4(0x50c)]??'','drawingId':_0x224caa});}[_0x185be1(0x4fa)](_0x38e501,_0x1ace15){const _0x4b77dc=_0x185be1;if(!this[_0x4b77dc(0x44d)]['isElementEditModeActive'](_0x38e501))return;let _0x56c6a5=this[_0x4b77dc(0x57a)][_0x4b77dc(0x214)](_0x38e501),_0x231924=_0x56c6a5?_0x25eb04(_0x56c6a5,_0x1ace15[_0x4b77dc(0x285)]):void 0x0;if(!_0x231924){this['_chartUIService']['clearPanelRoute'](),this['_closePopup']();return;}let _0x32ac7f=this[_0x4b77dc(0x1ff)][_0x4b77dc(0x277)](_0x38e501);if(!_0x56c6a5||!_0x32ac7f){this['_chartUIService'][_0x4b77dc(0x244)](),this['_closePopup']();return;}let _0x2a42d0=JSON['stringify']([_0x32ac7f[_0x4b77dc(0x2ac)],_0x32ac7f[_0x4b77dc(0x50c)],_0x38e501,_0x231924[_0x4b77dc(0x22e)]]);if(this[_0x4b77dc(0x2c6)]&&this[_0x4b77dc(0x48a)]===_0x2a42d0||(this[_0x4b77dc(0x44d)][_0x4b77dc(0x2fc)](_0x38e501,_0x231924[_0x4b77dc(0x455)]),this[_0x4b77dc(0x317)](),!_0x231924[_0x4b77dc(0x21b)]))return;let _0x244dc3=_0x5cbd1c(_0x1ace15,_0x32ac7f[_0x4b77dc(0x541)],()=>this['_clearHiddenSelectedTarget'](_0x38e501));if(!_0x244dc3['visible']){_0x244dc3[_0x4b77dc(0x4d8)]();return;}let _0x533bd3=this[_0x4b77dc(0x4c7)][_0x4b77dc(0x1b3)](_0x244dc3[_0x4b77dc(0x45d)],_0x244dc3[_0x4b77dc(0x467)],{'componentKey':_0x37f706[_0x4b77dc(0x399)],'constrainToCanvas':!0x0,'direction':_0x4b77dc(0x439),'offset':[0x0,0x8],'extraProps':{'unitId':_0x32ac7f[_0x4b77dc(0x2ac)],'subUnitId':_0x32ac7f['subUnitId'],'chartId':_0x38e501,'drawingId':_0x38e501,'element':_0x1ace15[_0x4b77dc(0x285)],'target':_0x231924[_0x4b77dc(0x22e)],'adapterKey':_0x4343c9}},_0x32ac7f[_0x4b77dc(0x2ac)],_0x32ac7f[_0x4b77dc(0x50c)])??null;if(!_0x533bd3){_0x244dc3['dispose']();return;}let _0x5c63b9=new _0x1ba070[(_0x4b77dc(0x20b))]();_0x5c63b9[_0x4b77dc(0x221)](_0x533bd3),_0x5c63b9[_0x4b77dc(0x221)](_0x244dc3),this['_popupDisposable']=_0x5c63b9,this[_0x4b77dc(0x1e9)]=_0x38e501,this[_0x4b77dc(0x48a)]=_0x2a42d0;}[_0x185be1(0x317)](){const _0x52d89b=_0x185be1;var _0x1a6d99;(_0x1a6d99=this[_0x52d89b(0x2c6)])==null||_0x1a6d99[_0x52d89b(0x4d8)](),this[_0x52d89b(0x2c6)]=null,this[_0x52d89b(0x1e9)]=null,this[_0x52d89b(0x48a)]=null;}[_0x185be1(0x429)](_0x18dd8b){const _0x571951=_0x185be1;(this[_0x571951(0x44d)][_0x571951(0x476)](_0x18dd8b)||this[_0x571951(0x1e9)]===_0x18dd8b)&&(this[_0x571951(0x44d)]['clearPanelRoute'](),this['_popupChartId']===_0x18dd8b&&this[_0x571951(0x317)]());}[_0x185be1(0x447)](_0xa6e898){const _0x4e730e=_0x185be1;this[_0x4e730e(0x429)](_0xa6e898),this[_0x4e730e(0x44d)][_0x4e730e(0x476)](_0xa6e898)&&(this['_chartRenderService'][_0x4e730e(0x4e7)](_0xa6e898,!0x1),this['_chartRenderService'][_0x4e730e(0x4e7)](_0xa6e898,!0x0));}};_0x463620=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a)),_0x42d632(0x2,_0xd413d),_0x42d632(0x3,(0x0,_0x1ba070['Inject'])(_0x53e756[_0x185be1(0x445)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x5,_0x24cbf9),_0x42d632(0x6,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706['ChartElementFloatMenuAdapterRegistry'])),_0x42d632(0x7,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x8,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)]))],_0x463620);function _0x182c49({ref:_0x5dd9ab,..._0x349a09}){const _0x178ad8=_0x185be1;let {preserveStrokeWidth:_0x5d235e,icon:_0x1bc32b,id:_0x4f3afd,className:_0x2cfdfe,extend:_0x29ac6a,..._0x135fcc}=_0x349a09,_0x19c71b=('univerjs-icon\x20univerjs-icon-'+_0x4f3afd+'\x20'+(_0x2cfdfe||''))[_0x178ad8(0x47e)](),_0x2394fd='_'+(0x0,_0x119d22[_0x178ad8(0x451)])(),_0x6328d4=(0x0,_0x119d22[_0x178ad8(0x247)])(null);return(0x0,_0x119d22[_0x178ad8(0x387)])(_0x5dd9ab,()=>_0x6328d4[_0x178ad8(0x25d)]),(0x0,_0x119d22['useLayoutEffect'])(()=>{const _0x579026=_0x178ad8;if(_0x5d235e&&_0x6328d4[_0x579026(0x25d)]&&_0x6328d4[_0x579026(0x25d)]['localName']===_0x1bc32b['tag'])return _0x153657(_0x6328d4[_0x579026(0x25d)]);},[_0x5d235e,_0x1bc32b]),_0x44bc3d(_0x1bc32b,''+_0x4f3afd,{'defIds':_0x1bc32b[_0x178ad8(0x2b2)],'idSuffix':_0x2394fd},{'ref':_0x6328d4,'className':_0x19c71b,..._0x135fcc},_0x29ac6a);}function _0x44bc3d(_0xe4b1ba,_0x426e08,_0x48f15b,_0x3f5ad7,_0x514442){const _0x110b6e=_0x185be1;return(0x0,_0x119d22[_0x110b6e(0x202)])(_0xe4b1ba['tag'],{'key':_0x426e08,..._0x1e27dc(_0xe4b1ba,_0x48f15b,_0x514442),..._0x3f5ad7},(_0x59f34a(_0xe4b1ba,_0x48f15b)[_0x110b6e(0x2ae)]||[])['map']((_0x4b0b8a,_0x540836)=>_0x44bc3d(_0x4b0b8a,_0x426e08+'-'+_0xe4b1ba['tag']+'-'+_0x540836,_0x48f15b,void 0x0,_0x514442)));}function _0x1e27dc(_0xacf82,_0x5a56e6,_0x175caf){const _0x1ec90b=_0x185be1;let _0xd11172={..._0xacf82['attrs']};_0x175caf!=null&&_0x175caf['colorChannel1']&&_0xd11172[_0x1ec90b(0x513)]==='colorChannel1'&&(_0xd11172[_0x1ec90b(0x513)]=_0x175caf[_0x1ec90b(0x576)]),_0x175caf!=null&&_0x175caf[_0x1ec90b(0x576)]&&_0xd11172[_0x1ec90b(0x4cd)]===_0x1ec90b(0x576)&&(_0xd11172['stroke']=_0x175caf[_0x1ec90b(0x576)]),_0xacf82[_0x1ec90b(0x499)]==='mask'&&_0xd11172['id']&&(_0xd11172['id']+=_0x5a56e6['idSuffix']),Object['entries'](_0xd11172)[_0x1ec90b(0x55c)](([_0x48ed00,_0x3ea8b1])=>{const _0x355aab=_0x1ec90b;_0x48ed00===_0x355aab(0x3c4)&&typeof _0x3ea8b1=='string'&&(_0xd11172[_0x48ed00]=_0x3ea8b1[_0x355aab(0x386)](/url\(#(.*)\)/,_0x355aab(0x4a4)+_0x5a56e6[_0x355aab(0x265)]+')'));});let {defIds:_0x272dfb}=_0x5a56e6;return!_0x272dfb||_0x272dfb[_0x1ec90b(0x36b)]===0x0||(_0xacf82['tag']===_0x1ec90b(0x4fc)&&_0xd11172['xlink:href']&&(_0xd11172[_0x1ec90b(0x33e)]+=_0x5a56e6[_0x1ec90b(0x265)]),Object[_0x1ec90b(0x1e5)](_0xd11172)[_0x1ec90b(0x55c)](([_0x54cec9,_0x259a4d])=>{const _0x3b4f15=_0x1ec90b;typeof _0x259a4d=='string'&&(_0xd11172[_0x54cec9]=_0x259a4d['replace'](/url\(#(.*)\)/,_0x3b4f15(0x4a4)+_0x5a56e6['idSuffix']+')'));})),_0xd11172;}function _0x59f34a(_0x5b4e32,_0x16a6b1){const _0x4b8024=_0x185be1;var _0xb1d0bd;let {defIds:_0xaf4fab}=_0x16a6b1;return!_0xaf4fab||_0xaf4fab[_0x4b8024(0x36b)]===0x0?_0x5b4e32:_0x5b4e32[_0x4b8024(0x499)]===_0x4b8024(0x44a)&&(_0xb1d0bd=_0x5b4e32[_0x4b8024(0x2ae)])!=null&&_0xb1d0bd[_0x4b8024(0x36b)]?{..._0x5b4e32,'children':_0x5b4e32[_0x4b8024(0x2ae)]['map'](_0x38b3d5=>typeof _0x38b3d5[_0x4b8024(0x222)]['id']=='string'&&_0xaf4fab&&_0xaf4fab[_0x4b8024(0x242)](_0x38b3d5['attrs']['id'])?{..._0x38b3d5,'attrs':{..._0x38b3d5[_0x4b8024(0x222)],'id':_0x38b3d5[_0x4b8024(0x222)]['id']+_0x16a6b1[_0x4b8024(0x265)]}}:_0x38b3d5)}:_0x5b4e32;}function _0x153657(_0x590911){const _0x5263bb=_0x185be1;let _0x26037c=_0x590911['viewBox'][_0x5263bb(0x2fe)],_0x3af486=Math[_0x5263bb(0x18a)](_0x26037c[_0x5263bb(0x2bf)],_0x26037c[_0x5263bb(0x2d7)]);if(!Number['isFinite'](_0x3af486)||_0x3af486<=0x0||_0x26037c[_0x5263bb(0x2bf)]<=0x0||_0x26037c[_0x5263bb(0x2d7)]<=0x0)return()=>void 0x0;let _0x2cf2b2=0x10/_0x3af486,_0x578e64=Array['from'](_0x590911[_0x5263bb(0x37a)](_0x5263bb(0x307)))[_0x5263bb(0x1f6)](_0x1bec4e=>{const _0x1236e3=_0x5263bb;let _0x3ff320=getComputedStyle(_0x1bec4e),_0x15cb0c=Number[_0x1236e3(0x404)](_0x3ff320[_0x1236e3(0x1c8)]);return _0x3ff320['stroke']==='none'||Number[_0x1236e3(0x404)](_0x3ff320[_0x1236e3(0x32d)])===0x0||_0x3ff320['vectorEffect']===_0x1236e3(0x3b9)||!Number['isFinite'](_0x15cb0c)||_0x15cb0c<=0x0?[]:[{'element':_0x1bec4e,'hadStyleAttribute':_0x1bec4e[_0x1236e3(0x2b6)](_0x1236e3(0x1c3)),'originalStrokeWidth':_0x15cb0c,'strokeWidth':_0x4b7ae9(_0x1bec4e[_0x1236e3(0x1c3)],'stroke-width')}];})['map'](_0x3745f6=>({'appliedStrokeWidth':null,'element':_0x3745f6[_0x5263bb(0x352)],'hadStyleAttribute':_0x3745f6[_0x5263bb(0x563)],'isReleased':!0x1,'originalStrokeWidth':_0x3745f6['originalStrokeWidth'],'strokeWidth':_0x3745f6[_0x5263bb(0x1c8)]}));if(_0x578e64['length']===0x0)return()=>void 0x0;let _0x1e956d=(_0x37b5ad,_0x2706be)=>{const _0x7a78a4=_0x5263bb;if(_0x26037c[_0x7a78a4(0x2bf)]<=0x0||_0x26037c['height']<=0x0||_0x37b5ad<=0x0||_0x2706be<=0x0)return;let _0x5b1945=Math[_0x7a78a4(0x56b)](_0x37b5ad/_0x26037c[_0x7a78a4(0x2bf)],_0x2706be/_0x26037c[_0x7a78a4(0x2d7)]);!Number['isFinite'](_0x5b1945)||_0x5b1945<=0x0||_0x578e64['forEach'](_0x2c3ceb=>{const _0x126983=_0x7a78a4;if(_0x2c3ceb[_0x126983(0x1ca)])return;if(_0x2c3ceb[_0x126983(0x4d2)]!==null&&(_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)]['getPropertyValue']('stroke-width')!==_0x2c3ceb[_0x126983(0x4d2)]||_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)]['getPropertyPriority'](_0x126983(0x257))!==_0x2c3ceb[_0x126983(0x1c8)][_0x126983(0x1a5)])){_0x2c3ceb[_0x126983(0x4d2)]=null,_0x2c3ceb['isReleased']=!0x0;return;}let _0xfbefcb=_0x2c3ceb[_0x126983(0x388)]*_0x2cf2b2/_0x5b1945,_0x2dce5c=Number(_0xfbefcb[_0x126983(0x25f)](0xc))+'px';_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)][_0x126983(0x4da)](_0x126983(0x257),_0x2dce5c,_0x2c3ceb[_0x126983(0x1c8)][_0x126983(0x1a5)]),_0x2c3ceb['appliedStrokeWidth']=_0x2dce5c;});},_0x2dc694=_0x590911['getBoundingClientRect']();_0x1e956d(_0x2dc694[_0x5263bb(0x2bf)],_0x2dc694[_0x5263bb(0x2d7)]);let _0x26312d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3b117c=>{const _0x227902=_0x5263bb;if(_0x3b117c[_0x227902(0x3fc)](_0x85a2ef=>_0x85a2ef[_0x227902(0x22e)]===_0x590911)){let _0xc4ff18=_0x590911[_0x227902(0x3a0)]();_0x1e956d(_0xc4ff18[_0x227902(0x2bf)],_0xc4ff18[_0x227902(0x2d7)]);}});return _0x26312d==null||_0x26312d['observe'](_0x590911),()=>{const _0x2b009e=_0x5263bb;_0x26312d==null||_0x26312d[_0x2b009e(0x35b)](),_0x578e64['forEach'](_0x55b0ea=>{const _0x3273fa=_0x2b009e;_0x55b0ea[_0x3273fa(0x4d2)]!==null&&(_0x570277(_0x55b0ea[_0x3273fa(0x352)][_0x3273fa(0x1c3)],_0x3273fa(0x257),_0x55b0ea[_0x3273fa(0x4d2)],_0x55b0ea[_0x3273fa(0x1c8)][_0x3273fa(0x1a5)],_0x55b0ea['strokeWidth']),!_0x55b0ea[_0x3273fa(0x563)]&&_0x55b0ea[_0x3273fa(0x352)]['style'][_0x3273fa(0x36b)]===0x0&&_0x55b0ea['element'][_0x3273fa(0x567)](_0x3273fa(0x1c3)));});};}function _0x4b7ae9(_0x4a0336,_0x542a14){const _0x12efa4=_0x185be1;return{'priority':_0x4a0336[_0x12efa4(0x57c)](_0x542a14),'value':_0x4a0336[_0x12efa4(0x2e9)](_0x542a14)};}function _0x570277(_0x5b59f3,_0x11b102,_0x54f359,_0x3d8782,_0x37581a){const _0x4287ef=_0x185be1;_0x5b59f3[_0x4287ef(0x2e9)](_0x11b102)===_0x54f359&&_0x5b59f3[_0x4287ef(0x57c)](_0x11b102)===_0x3d8782&&(_0x37581a[_0x4287ef(0x2a6)]?_0x5b59f3[_0x4287ef(0x4da)](_0x11b102,_0x37581a[_0x4287ef(0x2a6)],_0x37581a['priority']):_0x5b59f3[_0x4287ef(0x268)](_0x11b102));}_0x182c49[_0x185be1(0x344)]=_0x185be1(0x458);let _0x5862f1={'tag':_0x185be1(0x514),'attrs':{'xmlns':_0x185be1(0x4db),'fill':_0x185be1(0x3b6),'viewBox':'0\x200\x2016\x2016','width':_0x185be1(0x229),'height':'1em'},'children':[{'tag':_0x185be1(0x178),'attrs':{'fill':'currentColor','d':_0x185be1(0x1ac)}}]},_0x175fdc=(0x0,_0x119d22[_0x185be1(0x39d)])(function(_0x58e26d,_0x578ea6){const _0x25dca1=_0x185be1;return(0x0,_0x119d22['createElement'])(_0x182c49,Object[_0x25dca1(0x23c)]({},_0x58e26d,{'id':_0x25dca1(0x4f5),'ref':_0x578ea6,'icon':_0x5862f1}));});_0x175fdc[_0x185be1(0x344)]=_0x185be1(0x58d);let _0x5c48f7=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x217116,_0x1cf749){const _0x231968=_0x185be1;super(),this['_componentManager']=_0x217116,this['_iconManager']=_0x1cf749,this[_0x231968(0x177)](),this[_0x231968(0x2df)]();}['_registerIcons'](){const _0x10ff5f=_0x185be1;this[_0x10ff5f(0x3d7)](this[_0x10ff5f(0x574)][_0x10ff5f(0x39e)]({'PenIcon':_0x175fdc}));}[_0x185be1(0x2df)](){const _0x4469e1=_0x185be1;[[_0x209d81,_0x1fb49a]][_0x4469e1(0x55c)](([_0x2074c1,_0x22992b])=>{const _0x2764e1=_0x4469e1;this[_0x2764e1(0x3d7)](this[_0x2764e1(0x4ac)][_0x2764e1(0x39e)](_0x2074c1,_0x22992b));});}};_0x5c48f7=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c[_0x185be1(0x3e5)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c[_0x185be1(0x1d0)]))],_0x5c48f7);let _0x169178=class extends _0x1ba070[_0x185be1(0x521)]{constructor(_0x36e776=_0x3e134f,_0x560af7,_0x325d9b,_0x1bb772){const _0x339043=_0x185be1;super(),this['_config']=_0x36e776,this[_0x339043(0x48d)]=_0x560af7,this[_0x339043(0x4cc)]=_0x325d9b,this['_commandService']=_0x1bb772,_0x3d73b3(this,'_resolvedConfig',void 0x0);let {..._0x5c0078}=(0x0,_0x1ba070[_0x339043(0x2a5)])({},_0x3e134f,this['_config']);this[_0x339043(0x45f)]=_0x5c0078,this[_0x339043(0x4cc)][_0x339043(0x27a)](_0x130aa7,_0x5c0078),this['_initCommands']();}[_0x185be1(0x43a)](){const _0x8c7ce5=_0x185be1;this[_0x8c7ce5(0x48d)][_0x8c7ce5(0x221)]([_0x5c48f7]),this['_injector']['get'](_0x5c48f7);let _0x16f575=this[_0x8c7ce5(0x48d)],_0x489ea9=[[_0x24cbf9,{'useClass':_0x27af68}],[_0xd413d,{'useClass':_0x3fe827}],[_0x437b6a],[_0x17894a],[_0x3940f9],[_0x188c9f],[_0x3ca18e],[_0x198776],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]],_0x30ae9c=[[_0x188c9f],[_0x198776],[_0x3ca18e],[_0x3940f9],[_0x24cbf9],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]];this[_0x8c7ce5(0x45f)][_0x8c7ce5(0x35d)]&&(_0x489ea9[_0x8c7ce5(0x3be)]([_0x463620]),_0x30ae9c[_0x8c7ce5(0x3be)]([_0x463620])),_0x489ea9['forEach'](_0xabfdd6=>_0x16f575['add'](_0xabfdd6)),(0x0,_0x1ba070[_0x8c7ce5(0x3ed)])(this[_0x8c7ce5(0x48d)],_0x30ae9c);}[_0x185be1(0x3e7)](){const _0x5047d0=_0x185be1;var _0xbecac9;(_0xbecac9=this[_0x5047d0(0x48d)][_0x5047d0(0x442)](_0x188c9f))==null||_0xbecac9[_0x5047d0(0x368)]();}['_initCommands'](){const _0x48caf5=_0x185be1;[_0x1b45e5,_0xb862c8,_0xb06e29,_0x4c423d,_0x1468ca,_0x272d7b,_0x3007d3][_0x48caf5(0x55c)](_0x319ac3=>this[_0x48caf5(0x3d7)](this[_0x48caf5(0x403)][_0x48caf5(0x512)](_0x319ac3)));}};_0x3d73b3(_0x169178,_0x185be1(0x569),_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)]),_0x3d73b3(_0x169178,'pluginName','UniverSheetsChartUIPlugin'),_0x3d73b3(_0x169178,_0x185be1(0x51a),_0x3a2800),_0x3d73b3(_0x169178,_0x185be1(0x477),_0x23c060),_0x169178=_0x11ef44([(0x0,_0x1ba070[_0x185be1(0x1d7)])(_0x427f18[_0x185be1(0x204)],_0x135c9c[_0x185be1(0x53b)],_0x1d47e2[_0x185be1(0x1ad)],_0x4a6d0b[_0x185be1(0x369)],_0x302521['UniverSheetsDrawingPlugin'],_0x37f706[_0x185be1(0x2ee)],_0x113ca7[_0x185be1(0x4f1)],_0x2cd04e['UniverSheetsDrawingUIPlugin'],_0x53e756['UniverSheetsUIPlugin']),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0x3,_0x1ba070[_0x185be1(0x56c)])],_0x169178),_0x30b554[_0x185be1(0x4f4)]=_0x272d7b,Object['defineProperty'](_0x30b554,_0x185be1(0x419),{'enumerable':!0x0,'get':function(){return _0x17894a;}}),_0x30b554['ISheetsChartUIService']=_0x24cbf9,_0x30b554[_0x185be1(0x566)]=_0x130aa7,Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x37d),{'enumerable':!0x0,'get':function(){return _0x188c9f;}}),_0x30b554[_0x185be1(0x2e6)]=_0x5b9097,Object['defineProperty'](_0x30b554,'SheetsChartUIService',{'enumerable':!0x0,'get':function(){return _0x27af68;}}),Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x508),{'enumerable':!0x0,'get':function(){return _0x33d9ac;}}),Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x2b5),{'enumerable':!0x0,'get':function(){return _0x169178;}}),_0x30b554['createChartElementPopupAnchorObserver']=_0x5cbd1c;}));
1
+ function _0xc181(_0x396be8,_0x58b407){_0x396be8=_0x396be8-0x152;const _0x4fcf76=_0x4fcf();let _0xc181bb=_0x4fcf76[_0x396be8];return _0xc181bb;}function _0x4fcf(){const _0x5a8897=['imageBitmap','getRangeInfo','preventDefault','clearPanelRoute','Module','sheet.chart.edit.panel','intercept','chartId','series','funnel','Rendered','canvas','changeStart$','skipCellCopy','_deactivateEditPanelState','getBatchRemoveOp','merge','updateFloatDomEventOptions','@univerjs/sheets-ui','React','info','_getCurrentSnapshotImage','sheets-chart-ui.common.switchRowColumn','applySheetDrawingPlacement','Dom','getOwnPropertyDescriptor','stopImmediatePropagation','worksheet','Cannot\x20load\x20the\x20cached\x20chart\x20image.','lostpointercapture','Position','syncLayout','indicatorLine','_pageCanvasBackground','setPanelRoute','ChartUpdateSourceCommand','7261014bsxXRW','sheets-chart-ui.permission.editErr','_registerAdapter','evented','REFERENCE','DEFAULT_CHART_AXIS_VALUES','viewportScrollY','_getChartRenderObject','wordCloud','attrs','scheduler','ChartEditorTabs','event','showFloatMenu','chartSheetPresentationEnabled','ensureHost','_contextMenuService','isDomReady','call','ChartRelationStyleSection','_cancelHostWait','rightToLeft','RENDER_CLASS_TYPE','domLayers','_clearPageFrame','ChartTypeBits','debounce','univer-my-1\x20univer-text-xs\x20univer-text-red-500','sheets-chart-ui.chartTypes.line','_pendingMutationConfigRenders','mountNode','_pending','_copyInfo','IConfirmService','drawImage','_applyHostStyle','univer-inline-flex\x20univer-items-center\x20univer-gap-2','_setHostStyle','_moveDialogUnitId','deepClone','getDirection','SetZoomRatioOperation','_setChartRuntimeZIndex','zoomToFit','ChartEditBlockTitle','innerHeight','undo','UniverSheetsUIPlugin','getDocumentDataModel','SheetPermissionCheckController','stroke-width','@univerjs/sheets-drawing','_initActiveRuntimeLayerListener','sheets-chart-ui.common.trendline','RightVerticalAxis','toLowerCase','registerShortcut','serialize','getHostClientRect','allSeriesStyle','missing-active-sheet','@univerjs/ui','_layoutService','_handleDrawingDoubleClick','floatDomConfig','ChartSheetService','FOCUSING_COMMON_DRAWINGS','IConfigService','Tooltip','ChartFrameContentMode','_subscribeChartEvents','activeRuntimeModel','_openEditPanelByDoubleClick','_waiter','_managed','_focusedDrawings','startRow','resolveChartEditPanelRoute','IUniverInstanceService','SHEET_VIEW_KEY','_initMenus','_bindChartEventHandlers','resolveChartRuntimeStyle','addClipboardHook','offsetX','UniverSheetsFormulaUi','DRAWING_OBJECT_LAYER_INDEX','_clearPendingUrlImage','_bindChartResources','switchMap','_debounceHandleMap','chartTypeSupportsCapability','takeSnapshot','trim','missing-float-dom','SheetsChartUIService','handleActiveSubUnitChange','UniverSheets','ChartStyle','executeCommand','univerjs-icon\x20univerjs-icon-','getAllUnitsForType','InsertChartCommand','matches','RibbonPosition','scene','RichTextEditor','sheets-chart-ui.section.relation','ENTER','getName','_applyActiveChartRuntimeZIndex','plotVisibleOnly','_initPrinting','_getChartSnapshotKey','updateFloatDomProps','tab','trendline','_logService','_getHostPlacement','Histogram','startColumn','innerWidth','251570tuHsQw','initPanel','CHART_TYPE_CATALOG','ChartSectionAccordion','clearImage','chartBitsUtils','sheet-chart-setup-panel','amd','CHART','sheets-chart-ui.common.rightVerticalAxis','_disposed','depthAxis','executeChartUpdateConfig','pie','getCurrentUnitOfType','sequenceNodesBuilder','UniverSheetsChartMobileUIPlugin','218dFNeQq','globalAlpha','remove','visible','ChartThemeService','_renderManagerService','getBatchAddOp','Checkbox','getSkeleton','_initCommands','_getChartCopyDrawings','getRenderUnitById','toDisposable','_sheetDrawingService','invalidateSnapshot','Url','_markHostReady','_createPrintingChartObject','sheets-chart-ui.chartSheet.move.cancel','UniverSheetsFormulaUIPlugin','IDrawingManagerService','createIdentifier','activeSheet$','FormLayout','click','localPoint','rootDrawingId','EChartRenderEngineName','_removeHost$','canMovePrimaryChart','defs','ChartFunnelStyleSection','enableAdaptiveSize','numberToABC','input,\x20textarea,\x20select,\x20[contenteditable=\x22true\x22]','-univer-mx-4\x20univer-overflow-visible','_restoreHostWrapper','rightY','686283XqpUqJ','sheets-chart-ui.common.chartAndAxisTitles','_getChartRenderMode','UniverChartUIPlugin','setStyle','_chartUIService','create','onerror','_getOrCreateSheetChartHost','_renderModelManager','UNIVER_SHEET','_panelRoute$','_resourceBindings','sheet.operation.hide-chart-panel','SheetCanvasFloatDomManagerService','univer-size-6\x20univer-p-0','markUnmanaged','inputIndex','_requestedUrl','_requestPaint','created$','transform','chartEditorOpen','_getPrimaryBinding','auto','Canvas','LocaleService','drawings','-univer-mx-4\x20univer-pb-4','left','ChartAndAxisTitles','M1.28096\x204.6541C1.57489\x204.50109\x201.93721\x204.61533\x202.09022\x204.90926C2.27315\x205.26067\x202.55999\x205.60455\x202.94829\x205.92278C4.04628\x206.82266\x205.87505\x207.44865\x207.99828\x207.44865C10.1215\x207.44865\x2011.9503\x206.82267\x2013.0482\x205.92279C13.4366\x205.60455\x2013.7234\x205.26067\x2013.9063\x204.90927C14.0594\x204.61533\x2014.4217\x204.50109\x2014.7156\x204.65409C15.0095\x204.8071\x2015.1238\x205.16941\x2014.9708\x205.46334C14.6995\x205.98445\x2014.2981\x206.44997\x2013.8089\x206.8509C13.7298\x206.91575\x2013.6481\x206.97914\x2013.564\x207.041L15.2245\x208.70153C15.4588\x208.93585\x2015.4588\x209.31575\x2015.2245\x209.55006C14.9902\x209.78438\x2014.6103\x209.78438\x2014.376\x209.55006L12.5041\x207.67822C11.8977\x207.97568\x2011.2181\x208.21208\x2010.4884\x208.37706L11.0996\x2010.6581C11.1853\x2010.9782\x2010.9954\x2011.3072\x2010.6753\x2011.393C10.3552\x2011.4787\x2010.0262\x2011.2888\x209.94045\x2010.9687L9.29949\x208.57652C8.8758\x208.62404\x208.44081\x208.64865\x207.99828\x208.64865C7.55276\x208.64865\x207.11487\x208.62371\x206.68846\x208.57555L6.04723\x2010.9687C5.96147\x2011.2888\x205.63247\x2011.4788\x205.31239\x2011.393C4.99231\x2011.3073\x204.80236\x2010.9783\x204.88812\x2010.6582L5.49983\x208.37516C4.7743\x208.2105\x204.09843\x207.9752\x203.49498\x207.67947L1.62436\x209.55009C1.39005\x209.78441\x201.01015\x209.78441\x200.775835\x209.5501C0.54152\x209.31578\x200.541518\x208.93588\x200.775832\x208.70157L2.43478\x207.04261C2.34987\x206.98024\x202.26746\x206.91632\x202.18764\x206.8509C1.69842\x206.44997\x201.29706\x205.98445\x201.0258\x205.46335C0.872791\x205.16942\x200.987031\x204.80711\x201.28096\x204.6541Z','sheets-chart-ui.chord.target','_bindPointerEvents','_pendingHost','UniverSheetsDrawingMobileUIPlugin','objects','startY','ChartSectionAccordionContent','ChartHostAdapter','sheets-chart-ui.common.series','PenIcon','ChartLegendSection','useLayoutEffect','SHEET_CHART_RENDER_OBJECT_CONFIG','_draw','SheetIcon','ISheetClipboardService','UniverSheetsChartPlugin','getChartPopupMenus','sheets-chart-ui.section.paretoBar','_prepareDataUpdateRender','fitPrimaryChart','_rangeSelectMode','IDialogService','ChartWordCloudStyleSection','endsWith','(prefers-reduced-motion:\x20reduce)','includes','filter','focusDrawing','getImage','Both','_disposeChartDomInstance','stringify','setProps','_renderChartModel','SheetDrawingAnchorType','sheets-chart-ui.common.legend','ChartModelService','_generatePasteMutations','flatMap','createRuntimeChartStyle','_bindChartEventHandler','translate','DeleteIcon','next','_lastRenderInputMap','sheetChartDataAnimation','getFocusDrawings','_renderService','sheets-chart-ui.chartTypes.','sheets-chart-ui.common.category','chartModelId','onPointerMove','_canvasFloatDomService','WordCloud','WorkbookRenameSheetPermission','endX','ChartWaterfallStyleTarget','Combination','SheetCanvasPopManagerService','colorChannel1','_bindChartPointerEvents','_pendingDataUpdateChartModels','_getOrCreateChartRenderInstance','activeChartModel$','isRender','subscribe','_generateChartCopy','getDrawingShapeKeyByDrawingSearch','_chartInstanceMap','sheets-chart-ui.chartSheet.changeType','_registerComponents','_image','isValidRange','hasAttribute','_disposeImage','heatmap','ChartReplaceConfigMutation','indexOf','xlink:href','replace','Bubble','crossOrigin','getChartSnapshotImage','ChartDomFrame','requestPaint','_popupDisposable','mobile-sheet-chart-style-panel','strokeWidth','_sidebarService','_shouldEnableChartElementEdit','axisAlignSheetTransform','hadStyleAttribute','getParent','setProperty','checkChartCanRender','_isReadableSource','@univerjs-pro/sheets-chart','matchMedia','ContextMenuPosition','ChartIndicatorLineSection','CHART_HOST_BORDER_RADIUS','sheets-chart-ui.section.wordCloud','UniverCore','legend','getUnitId','openMoveChartDialog','DRAWING','remove$','TRUE','distinctUntilChanged','_rect','getUnit','Heatmap','getRenderModel','M5.93\x201.47H10.07M1.7\x203.64H14.3M4.75\x205.82H11.25A1\x201\x200\x200\x201\x2012.25\x206.82V12.53A2\x202\x200\x200\x201\x2010.25\x2014.53H5.75A2\x202\x200\x200\x201\x203.75\x2012.53V6.82A1\x201\x200\x200\x201\x204.75\x205.82ZM6.55\x208.73L9.45\x2011.63M9.45\x208.73L6.55\x2011.63','middle','_chartRenderMode','round','sheets-chart-element-float-menu','457016UlXmQI','InsertSheetsChartMutation','_moveDialogFocus','sheet.operation.open-chart-panel','onRendered','CustomCommandExecutionError','_initPermission','DRAWING_CHART','getRuntimeContext','@univerjs/drawing-ui','Relation','useObservable','MEDIA','useImperativeHandle','anonymous','sheets-chart-ui.move-chart-dialog','onDispose','sheets-chart-ui.common.insertChart','backgroundColor','#-#','getRenderAll','ensureHandle','UniverSheetsChartUIPlugin','_clearHiddenSelectedTarget','_sheetsChartService','UniverProSheetsChartUi','dataUrl','_chartElementEditMode','params','GridlinesAndTicks','cumulativeLineStyle','_scheduler','_notifyChartRemoved','_sheetDrawingHitTestService','changing$','ChartEditorCapability','sheets-chart-ui.common.deleteChart','_getFloatDomInfo','ChartMoveTargetType','getObjectIncludeInGroup','sheets-chart-ui.section.gauge','http://www.w3.org/2000/svg','category','DEFAULT_CHART_HEATMAP_VALUES','color','_disposeChartChangeListeners','getRect','_registerMenus','sheets-chart-ui.common.setup','EDITOR_ACTIVATED','changeEnd$','sheets-chart-ui.common.horizontalAxis','_cancelMoveDialogFocus','axis','ChartImageExportService','sheets-chart-ui.section.paretoLine','_pageFrameRender','tag','_updateChartPage','object','touchDependencies','_resolveLayout','nextVersion','symbol','onload','SetDrawingApplyMutation','sheets-chart-ui.chartSheet.move.ownChartObjects','isReleased','_isChartElementEditEnabled','_drawingTransformSubscriptions','COPY_TYPE','function','_getDrawingLayerRank','endY','rangeInfo','clientY','Rect','offsetTop','hit','activeChartModel','M1\x2014.4076H15','isManaged','sheets-chart-ui.chartSheet.move.newSheet','dispose','Image','ChartIcon','viewBound','DEFAULT_CHART_SERIES_VALUES','ChartRenderMode','assignStyle','sheetTransform','rangeSelectMode','_queueResourceReconciliation','getChartSourceSpec','_registerChartPopupMenu','_sheetCanvasFloatDomManagerService','style','labelId','getId','matchToken','ThemeService','toDataURL','discreteRangeToRange','logicalOuterRect','pointercancel','complete','CopyDoubleIcon','sheet-chart-style-panel','isRowDirection','sheets-chart-ui.common.copy','resizeEnabled','sheets-chart-ui.common.useAsCategoryLabels','getBoundingClientRect','Legend','_disposeChartEventSubscription','@univerjs/drawing','Area','has','_isProviderDisposed','setImage','chart-sheet-presentation-disabled','LifecycleService','_restoreFloatDomPositionStream','OTHERS','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','DownloadImageIcon','_syncActiveEditChart','_chartHostMap','_canAnimateDataUpdate','div','Chord','permissionCheckWithRanges','openDataRangeSelector','removeEventListener','@univerjs/docs-ui','KeyCode','@univerjs-pro/sheets-chart-ui','CommandType','toFixed','defIds','useCallback','renderChartLicenseWatermark','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverChartMobileUIPlugin','GRID','_getChartRenderObjectContext','image/png','animateDataUpdate','sheets-chart-ui.common.invalidDataRange','setDataUpdateAnimation','_clearPanelState','useMemo','sheetName','_chartEventSubscriptions','SheetsChartUIController','_chartSheetPresentation','ChartWaterfallStyleSection','stroke','ChartParetoSeriesSection','idSuffix','_init','_localeService','sheets-chart-ui.common.dataRange','find','_geometry','oKey','onCommandExecuted','sheets-chart-ui.common.openChartPanel','redo','supports','@univerjs-pro/engine-chart','ISidebarService','height','_getDrawable','sheets-chart-ui.chartSheet.move.target','version','observe','_getImage','sheets-chart-ui.waterfall.negative','_cancelDebouncedCallbacks','originalStrokeWidth','setDataRange','SheetsChartService','delete','_isOwnedChart','Injector','combineLatest','ImageChartHost','existing','_hostStyle','ChartOpenPanelOperation','bounds','MoveChartCommand','openChartPanelById','deriveStateFromActiveSheet$','anchorType','Overlay','DEFAULT_CHART_FUNNEL_VALUES','ChartElementFloatMenuAdapterRegistry','_chartEditorOpen$','set','63wdOSrE','1em','_activateEditPanelState','opacity','getValue','_closeMoveChartDialog','resize','scaleX','close','_chartModelService','_createHostLivenessCheck','_primaryContextMenuBindings','ActionRow','jsx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','@univerjs/core','sheets-chart-ui.common.chart','setElementEditMode','_reconcileChartResources','UniverProSheetsChart','Button','offsetY','FOCUSING_SHEET','ChartTypeSpecificStyleSection','_chartRenderService','UniverRenderEnginePlugin','_permissions','updatePage','_rerenderLatest','sheets-chart-ui.section.sunburst','DEFAULT_CHART_RADAR_VALUES','Positive','gray.100','None','subUnitId','getColorFromTheme','data$','useDependency','drawingType','_renderWhenConfigReady','_chartSnapshotStoreService','style$','displayName','subscribeEvent','M12.6185\x2012.4423C12.5907\x2012.2749\x2012.7773\x2012.15\x2012.9343\x2012.2308L15.4242\x2013.5126C15.6102\x2013.6084\x2015.5544\x2013.8745\x2015.3439\x2013.8955L14.2456\x2014.184L13.4521\x2015.1286C13.3495\x2015.2939\x2013.085\x2015.2463\x2013.0534\x2015.0568L12.6185\x2012.4423Z','_dialogService','getConfig','_createHost','right','Tools','VerticalAxis','hidePanel','children','RIBBON','segmented','route','checkMounted','resolveChartElementSelection','getContext','_drawChartFrame','UniverLicensePlugin','sheets-chart-ui.section.gridlinesAndTicks','clear','unitId','add','getSheetBySheetId','Trendline','ObjectType','top','_createImageChartHost','renderChartsForPrinting','chartModelAdded$','getSheetCommandTarget','_drawingManagerService','onTransformChange$','print','getBatchUpdateOp','url','pluginName','_readGeometry','UniverSheetsDrawingPlugin','disconnect','M1.90107\x200.578613C1.45925\x200.578613\x201.10107\x200.936785\x201.10107\x201.37861V11.8216C1.10107\x2013.8098\x202.71285\x2015.4216\x204.70107\x2015.4216H14.0987C14.5406\x2015.4216\x2014.8987\x2015.0634\x2014.8987\x2014.6216V4.17861C14.8987\x202.19039\x2013.287\x200.578613\x2011.2987\x200.578613H1.90107ZM2.30107\x2011.8216V1.77861H11.2987C12.6242\x201.77861\x2013.6987\x202.85313\x2013.6987\x204.17861V14.2216H4.70107C3.37559\x2014.2216\x202.30107\x2013.1471\x202.30107\x2011.8216Z','_resizeChart','copyId','contains','react','UniverProChartUi','setActiveChartModel','ICanvasColorService','Gauge','top-center','Boxplot','_markNotReady','anchorRect$','FOCUSING_PANEL_EDITOR','classType','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','sheets-chart-ui.common.chartStyle','dataset','DEFAULT_PASTE','transformer','WorksheetEditPermission','sheet.command.chart.export-focused-image','getRenderColor','visibilityState','moveX','wrapper','_getChartRenderSkipReason','WorkbookCreateSheetPermission','_primaryDomComposition','sheets-chart-ui.chartTypes.area','WorkbookDeleteSheetPermission','split','SheetChartConfigAdapter','Radio','_configService','ArrowRightIcon','exportImage','_pointerEvents','_config','prototype','pieSecondaryPlotType','pointerEvents','DEFAULT_CHART_WORD_CLOUD_VALUES','rangeInfo$','Inject','_openPanel','WorksheetViewPermission','PointerInput','getCurrentLocale','_clearSelectedTarget','inactive-sheet','cancelPending','string','resolve','ImageBitmap','_sheetCanvasPopManagerService','_suppressClick','_disposeChartModel','parentElement','getZoomRatio','onPointerDown','_applyHostInteractionState','syncExecuteCommand','COPY','toPrimitive','setHostStyle','copyContentCache','_componentManager','setObjectType','href','sheets-chart-ui.common.hideChartPanel','useId','_permissionCheck','barStyle','sheets-chart-ui.chartSheet.move.confirm','600525RfxDVY','error','direction$','getPropertyPriority','darkMode$','Waterfall','getDrawingByParam','COMMA','_dataUpdateAnimationTimers','element','sheets-chart-ui.chartSheet.move.name','clientHeight','Data','useChartEditorHasRightAxis','sheets-chart-ui.section.radar','@univerjs/engine-formula','_url','_chartSheetService','setContextValue','_chartCopyInfo','naturalWidth','querySelectorAll','GROUP','IMenuManagerService','sheets-chart-ui.chartSheet.move.objectIn','domId','DEFAULT_CHART_PARETO_VALUES','registerChartSheetPresentation','invert','_openFloatMenu','moveEnabled','DEFAULT_CHART_LEGEND_VALUES','delete-icon','ICommandService','MenuManagerPosition','_chartSheetRegistration','chartObject','_shouldSuppressRender','pipe','featurePluginGroupUpdate$','ensureMount','_createChartRenderInstanceContext','_sheetSkeletonService','wheel','_themeService','drawingId','_shouldRenderLicenseWatermark','_frameStyle','onStarting','map','_attachDrawingTransformConstraint','select','activeElement','WaterfallSeries','IContextMenuService','univer-overflow-visible','SheetDrawingHitTestService','deserializeRangeWithSheet','UniverDrawingUi','UniverInstanceType','UniverUi','UniverEngineFormula','sheets-chart-ui.section.funnel','sheetDisposed$','ChartFrameLayout','concat','ChartEditPanelTab','baseOn','checkHost','_domFrame','url(#$1','select-range-icon','sheets-chart-ui.common.showHiddenData','fitChartDrawingToPage','zIndex','ChartSectionAccordionItem','offsetHeight','_scheduleDataUpdateAnimationEnd','scaleY','getFloatDomInfo','removeProperty','RangeProtectionPermissionViewPoint','number','context$','setChartEditorOpen','render','setPointerCapture','updateFloatDom','forwardRef','isFinite','DEFAULT_CHART_TITLE_VALUES','calcViewportInfo','nameCharacterCheck','pen-icon','PRINTING_COMPONENT_COLLECT','defer','_pendingUrlImage','Pareto','value','ChartEditorProvider','sheets-chart-ui.config','getHostSize','_getSceneAndTransformerByDrawingSearch','_isPrimaryChart','_frame','_chartHostProvider','getContextValue','univer-flex\x20univer-flex-col\x20univer-gap-3','_debounceHandle','setRangeSelectMode','nodeType','BehaviorSubject','IContextService','showRangeSelectorDialog','scroll','dom','createChartInstance','CUT','emitChartEvent','ChartImageSourceType','DEFAULT_CHART_WATERFALL_STYLE_VALUES','_chartModelDisposables','IEditorService','@univerjs/engine-render','Disposable','_dataUpdateAnimationDuration','transparent','renderOutputWatermark','_urlImage','pasteType','hidden','image','img','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','LifecycleStages','WorksheetCopyPermission','DOCS_NORMAL_EDITOR_UNIT_ID_KEY','\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','keys','beginPath','UniverSheetsPlugin','dataSource','useRef','currentColor','_commandService','_adapterRegistry','M1\x203.6C1\x202.16406\x202.16406\x201\x203.6\x201H12.3C13.7359\x201\x2014.9\x202.16406\x2014.9\x203.6V5.81156C14.9003\x205.81881\x2014.9004\x205.82609\x2014.9004\x205.8334C14.9004\x205.84071\x2014.9003\x205.84799\x2014.9\x205.85524V10.045C14.9003\x2010.0522\x2014.9004\x2010.0595\x2014.9004\x2010.0668C14.9004\x2010.3982\x2014.6318\x2010.6668\x2014.3004\x2010.6668H11.1668C10.8907\x2010.6668\x2010.6668\x2010.8907\x2010.6668\x2011.1668V14.3C10.6668\x2014.6314\x2010.3982\x2014.9\x2010.0668\x2014.9L10.05\x2014.8998L3.6\x2014.9C2.16406\x2014.9\x201\x2013.7359\x201\x2012.3V3.6ZM13.2\x205.2334C13.4761\x205.2334\x2013.7\x205.00954\x2013.7\x204.7334V3.6C13.7\x202.8268\x2013.0732\x202.2\x2012.3\x202.2H11.1668C10.8907\x202.2\x2010.6668\x202.42386\x2010.6668\x202.7V4.7334C10.6668\x205.00954\x2010.8907\x205.2334\x2011.1668\x205.2334H13.2ZM10.6668\x206.9334C10.6668\x206.65726\x2010.8907\x206.4334\x2011.1668\x206.4334H13.2C13.4761\x206.4334\x2013.7\x206.65726\x2013.7\x206.9334V8.9668C13.7\x209.24294\x2013.4761\x209.4668\x2013.2\x209.4668H11.1668C10.8907\x209.4668\x2010.6668\x209.24294\x2010.6668\x208.9668V6.9334ZM8.9668\x205.2334C9.24294\x205.2334\x209.4668\x205.00954\x209.4668\x204.7334V2.7C9.4668\x202.42386\x209.24294\x202.2\x208.9668\x202.2H6.9334C6.65726\x202.2\x206.4334\x202.42386\x206.4334\x202.7V4.7334C6.4334\x205.00954\x206.65726\x205.2334\x206.9334\x205.2334L8.9668\x205.2334ZM6.4334\x206.9334C6.4334\x206.65726\x206.65726\x206.4334\x206.9334\x206.4334L8.9668\x206.4334C9.24294\x206.4334\x209.4668\x206.65726\x209.4668\x206.9334V8.9668C9.4668\x209.24294\x209.24294\x209.4668\x208.9668\x209.4668L6.9334\x209.4668C6.65726\x209.4668\x206.4334\x209.24294\x206.4334\x208.9668V6.9334ZM4.7334\x205.2334C5.00954\x205.2334\x205.2334\x205.00954\x205.2334\x204.7334V2.7C5.2334\x202.42386\x205.00954\x202.2\x204.7334\x202.2H3.6C2.8268\x202.2\x202.2\x202.8268\x202.2\x203.6V4.7334C2.2\x205.00954\x202.42386\x205.2334\x202.7\x205.2334H4.7334ZM2.2\x206.9334C2.2\x206.65726\x202.42386\x206.4334\x202.7\x206.4334H4.7334C5.00954\x206.4334\x205.2334\x206.65725\x205.2334\x206.9334V8.9668C5.2334\x209.24294\x205.00954\x209.4668\x204.7334\x209.4668H2.7C2.42386\x209.4668\x202.2\x209.24294\x202.2\x208.9668V6.9334ZM5.2334\x2011.1668C5.2334\x2010.8907\x205.00954\x2010.6668\x204.7334\x2010.6668H2.7C2.42386\x2010.6668\x202.2\x2010.8907\x202.2\x2011.1668V12.3C2.2\x2013.0732\x202.8268\x2013.7\x203.6\x2013.7H4.7334C5.00954\x2013.7\x205.2334\x2013.4761\x205.2334\x2013.2V11.1668ZM9.4668\x2011.1668C9.4668\x2010.8907\x209.24294\x2010.6668\x208.9668\x2010.6668H6.9334C6.65726\x2010.6668\x206.4334\x2010.8907\x206.4334\x2011.1668V13.2C6.4334\x2013.4761\x206.65726\x2013.7\x206.9334\x2013.7H8.9668C9.24294\x2013.7\x209.4668\x2013.4761\x209.4668\x2013.2V11.1668Z','ChartRadarStyleSection','@univerjs/design','text','_getPlacement','Bar','univer-flex\x20univer-justify-end\x20univer-gap-2','enableChartElementFloatMenu','_closePopup','throttleTime','arc','evenodd','_updatingChartPage','getObject','Transform','@univerjs/sheets','_getPrimaryChartModel','_detachChartResources','_keepChartCapture','then','context','_releaseGesture','UniverSheetsFormulaMobileUIPlugin','20802vqgapZ','setTransform','getChartDataSource','_drawingManager','width','all','focused$','span','_requestChartCanvasRender','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','copyType','cancel','syncHostLayout','dataSource$','none','unsubscribe','sheets-chart-ui.section.pie','sheets-chart-ui.common.editChart','section','assign','use','relation','sheets-chart-ui.common.verticalAxis','currentTheme$','COMMAND','UniverProEngineChart','ISheetsChartUIService','DisposableCollection','_running','panelRoute$','_activeChartId','forEach','useEffect','react/jsx-runtime','toInsertChartMutationSource','_gesture','addObject','mask','INSERT','onPointerUp$','model','chartImageSourceToDataUrl','markReady','makeDirty','getChartModel','_markReady','_generateCopyPasteMutations','entries','sheets-chart-ui.common.customize','confirmOptions$','_registerPrimaryContextMenus','dblclick','_resolvedConfig','permissionCheckWithoutRange','addEventListener','priority','min','radar','_drawChartImage','attachPopupToDynamicAbsolutePosition','removeAttribute','getPrimaryChartModel','_cancelGesture','Line','frame','RibbonInsertGroup','config$','open','buildChartTypeSelectOptions','ParetoLineSeries','subscribeConfigValue$','createChartElementFloatMenuAdapter','markNotReady','OPERATION','sheets-chart-ui.section.candlestick','transformDrawingsToChartSheet','createElement','IChartRenderModelManagerService','_menuManagerService','parseFloat','getSheetBySheetName','CHART_PAGE','_savedWrapperStyle','isObservable','eventOptions','getMainViewport','vertical','currentLocale$','Candlestick','components','_getSheetType','default','_lastActiveSheet','position$','UniverDesign','type','applyPoint','appliedStrokeWidth','_univerInstanceService','_dataUpdateAnimationChartIds','useState','add$','BooleanNumber','RTLChartStyle','sheets-chart-ui.chartSheet.move.unavailable','ChartEditPanelSection','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getDrawingData','groupId','Cannot\x20export\x20the\x20chart\x20without\x20a\x20canvas\x20context.','_onChange','attachRangeWithCoord','_contextService','UniverDrawingPlugin','bottom','ChartSetupPanel','showEmptyState','_applyingFit','isElementEditModeActive','_registerIcons','ContextMenuGroup','Radar','setOrientation','ChartUpdateConfigCommand','registerFeatureMenu','getTransformerByCreate','registerCommand','CHART_DATA_UPDATE_ANIMATION_DURATION','seriesId','engine','MenuItemType','isLatest','clientWidth','sheet.command.chart.copy-focused-chart','_popupSessionKey','PREDEFINED_HOOK_NAME','options','constructor','M10.1562\x204.2458H4.24365V10.1583C4.24365\x2011.042\x204.96\x2011.7583\x205.84365\x2011.7583H11.7562V5.8458C11.7562\x204.96215\x2011.0398\x204.2458\x2010.1562\x204.2458ZM5.44365\x2010.1583V8.53174H7.3999V10.5583H5.84365C5.62274\x2010.5583\x205.44365\x2010.3792\x205.44365\x2010.1583ZM7.3999\x207.33174H5.44365V5.4458H7.3999V7.33174ZM8.5999\x2010.5583V8.53174H10.5562V10.5583H8.5999ZM8.5999\x207.33174H10.5562V5.8458C10.5562\x205.62489\x2010.3771\x205.4458\x2010.1562\x205.4458H8.5999V7.33174Z','getPlainText','DrawingTypeEnum','_pageViewportOrigin','startWith','sheets-chart-ui.chartSheet.move.confirmTitle','label','path','SheetsSelectionsService','LexerTreeBuilder','interceptor','blur','_getOuterRect','sheets-chart-ui.chartSheet.move.title','target','clearPage','_entries','WorkbookCopyPermission','Pie','NativeTextEditorShortcutBehavior','ComponentManager','save','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','_sidebarDisposable','transformToDrawingPosition','_renderDebounceMap','_popupChartId','_activateHostWrapper','_renderAfterChartUpdateMutation','mode','_alignFloatDomPositionWithSceneRender','generateRandomId','ChartAxisSection','UniverSheetsMobileUIPlugin','applied','transformerConfig','IRenderManagerService','lifecycle$','pareto','DependentOn','parent','scrollToViewportPos','closePath','_updateChartPagePresentation','drawing','drawingIds','LS_CONFIG_KEY','getCurrentLastSelection','getMenuHiddenObservable','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','setSelectionRanges','_deactivateDataUpdateAnimation','some','_moveDialogClose','previous','_sheetsChartUIService','_chartThemeService','_instanceService','univer-shrink-0','transformByState','unitDisposed$','mergeMenu','SelectRangeIcon','get','_chartChangeSubscriptions','_resetChartRuntimeZIndex','getChartHost','format','removeHost','_panelInitialized','getActiveSheet','chartEditorOpen$','Fragment','GeneralSeries','ParetoBarSeries','_snapshotStore','scale','DataOrientation','_fitReady','sheet.command.chart.delete-focused-chart','Fail\x20to\x20create\x20float\x20dom','abs','getElementById','replaceText','IPermissionService','ChartUIService','chartType','vectorEffect','bind','values','_updateTransform','new','chartModelRemoved$','markHostNotReady','@univerjs/sheets-drawing-ui','_pageFrame','ChartGridlinesAndTicksSection','onPointerUp','getSheetId','_version','RightClick','removeHost$','lineTo','_createCopyInfoByRange','Funnel','sidebarOptions$','_disposeChartRenderInstance','focus$','runtime','ChartImageExportFormat','withLatestFrom','non-scaling-stroke','getSubUnitId','ChartRenderService','_initActiveChartModelListener','ChartNumberFormatAtom','ISheetDrawingService','defaultValues','0\x200\x2016\x2016','flush','getPropertyValue','addWatermark','items','download','onDoubleClick$','40iiTtBC','sheets-chart-ui.chartSheet.move.confirmDescription','Plugin','WorkbookViewPermission','rect','defineProperty','SetDrawingGroupOperation','Row','small','sheets-chart-ui.chartSheet.move.invalidName','hasOwnProperty','from','sheets-chart-ui.common.heatmap','isInGroup','disposed$','EyelashIcon','nativeEvent','136SLXjLj','getInterceptPoints','_chartEventHandlers','config','current','IndicatorLine','setConfig','getCurrentTypeOfUnit$','_drawingHitTestService','isArray','Column','sheetChartDataAnimationDuration','CanvasFloatDomService','CHART_ELEMENT_FLOAT_MENU_COMPONENT','renderTransition','_isCurrent','RadioGroup','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_lifecycleService','push','isConnected','startX','BUTTON','setMargin','PieSecondaryPlotType','commitSnapshot','SheetSkeletonService','titleKey','NewSheet','ChartUpdateConfigMutation','radius','ChartThreeDSection','max','order$','DrawingApplyType','naturalHeight','_activeDomReadyChartIds','_reconcileQueued','UPDATE','_renderBoundChart','permissionPointUpdate$','exports','debounceTime','Style','_listenChartUpdateMutations','_iconManager','ChartHeatmapStyleSection','getRealBound','DEFAULT_CHART_LINE_AND_AREA_VALUES','ExistingSheet','pointerId','diffValue','src','sheet-icon','range','Treemap','_sheetPrintInterceptorService','UniverIcon','sheets-chart-ui.chartSheet.move.confirmAction','jsxs','waterfallStyle','_sheetClipboardService','_sheetPermissionCheckController','name','UniverDrawing','_disposeChartEventSubscriptions','releasePointerCapture','absolute','packageName','UniverDocsUi','UniverMobileUIPlugin','SheetPasteCommand','setPadding','getFocusedUnit','RemoveSheetsChartMutation','take','transformChange$','_updateGeometry','icon','_injector','clearChart','getSheets','ChartTrendlineSection','insertGroupObject','removeChartModel','mobile-sheet-chart-setup-panel','closest','SELECTOR','ILogService','Scatter','getCanvasElement','@univerjs-pro/chart-ui','skip','combineLatestWith','sheets-chart-ui.chartSheet.move.failed','register','_initDrawingDeactivationListener','27944147JXFcfw','onResized$','_pendingToken','shouldAddSheetChartWatermark','multiply','length','_executeChartUpdateSourceConfig','ChartLineAndAreaSection','fill','WorkbookEditablePermission','IconManager','_loadUrlImage','SheetTypes','restore','resetPadding','hasPointerCapture','disposeWithMe','update','svg','asObservable','UniverSheetsUi','decorate','RemoveSheetDrawingCommand','REMOVE','eyelash-icon','DEFAULT_CHART_TRENDLINE_VALUES','catch'];_0x4fcf=function(){return _0x5a8897;};return _0x4fcf();}(function(_0x1ed331,_0xed8dac){const _0x399315=_0xc181,_0x444c81=_0x1ed331();while(!![]){try{const _0x378264=parseInt(_0x399315(0x63e))/0x1+parseInt(_0x399315(0x618))/0x2*(-parseInt(_0x399315(0x3d5))/0x3)+-parseInt(_0x399315(0x4dc))/0x4*(-parseInt(_0x399315(0x32b))/0x5)+parseInt(_0x399315(0x58d))/0x6+-parseInt(_0x399315(0x1c5))/0x7*(-parseInt(_0x399315(0x4ed))/0x8)+-parseInt(_0x399315(0x28e))/0x9*(parseInt(_0x399315(0x607))/0xa)+-parseInt(_0x399315(0x54e))/0xb;if(_0x378264===_0xed8dac)break;else _0x444c81['push'](_0x444c81['shift']());}catch(_0x31f57b){_0x444c81['push'](_0x444c81['shift']());}}}(_0x4fcf,0xb378c),function(_0x21d980,_0x522ba3){const _0x3353d5=_0xc181;typeof exports==_0x3353d5(0x200)&&typeof module<'u'?_0x522ba3(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs-pro/license'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('@univerjs/engine-formula'),require('react'),require('@univerjs/sheets-formula-ui'),require('@univerjs/design'),require('@univerjs/docs-ui'),require('react/jsx-runtime')):typeof define==_0x3353d5(0x20c)&&define[_0x3353d5(0x60e)]?define([_0x3353d5(0x516),_0x3353d5(0x29d),_0x3353d5(0x1ae),_0x3353d5(0x238),_0x3353d5(0x5c0),_0x3353d5(0x4bd),_0x3353d5(0x57b),_0x3353d5(0x5ca),'rxjs',_0x3353d5(0x548),_0x3353d5(0x26f),_0x3353d5(0x3cd),'@univerjs-pro/license',_0x3353d5(0x1ce),_0x3353d5(0x3a6),_0x3353d5(0x33a),_0x3353d5(0x2e4),'@univerjs/sheets-formula-ui',_0x3353d5(0x3c0),_0x3353d5(0x24b),_0x3353d5(0x3f6)],_0x522ba3):(_0x21d980=typeof globalThis<'u'?globalThis:_0x21d980||self,_0x522ba3(_0x21d980[_0x3353d5(0x1de)]={},_0x21d980[_0x3353d5(0x1b4)],_0x21d980[_0x3353d5(0x2a1)],_0x21d980[_0x3353d5(0x52d)],_0x21d980['UniverSheetsDrawing'],_0x21d980['UniverSheetsDrawingUi'],_0x21d980[_0x3353d5(0x562)],_0x21d980[_0x3353d5(0x367)],_0x21d980['rxjs'],_0x21d980[_0x3353d5(0x2e5)],_0x21d980[_0x3353d5(0x3ee)],_0x21d980[_0x3353d5(0x5ee)],_0x21d980['UniverProLicense'],_0x21d980[_0x3353d5(0x365)],_0x21d980['UniverEngineRender'],_0x21d980[_0x3353d5(0x368)],_0x21d980[_0x3353d5(0x57c)],_0x21d980[_0x3353d5(0x5e2)],_0x21d980[_0x3353d5(0x433)],_0x21d980[_0x3353d5(0x532)],_0x21d980['React']));}(this,function(_0x4c29d8,_0x91c33f,_0x94af28,_0x2f0dad,_0x339595,_0x32fb7d,_0x3d68f4,_0x256211,_0x1594a7,_0x36d079,_0x1e7e6c,_0x43e32e,_0xc90c13,_0x378823,_0x548848,_0xf9b09f,_0x457eb7,_0x435ef2,_0x2f9b35,_0x15340d,_0x2041bd){const _0x57fb15=_0xc181;Object[_0x57fb15(0x4e1)](_0x4c29d8,Symbol['toStringTag'],{'value':_0x57fb15(0x56d)});let _0x29b997={'type':_0x91c33f[_0x57fb15(0x24e)][_0x57fb15(0x41e)],'id':_0x57fb15(0x1c8),'handler'(){return!0x0;}},_0x56e858=_0x57fb15(0x38f),_0x1349e6={'enableChartElementFloatMenu':!0x0},_0x2be9f9={'type':_0x91c33f[_0x57fb15(0x24e)][_0x57fb15(0x41e)],'id':_0x57fb15(0x64b),'handler'(){return!0x0;}};function _0x5476d5(_0x4a2035){const _0x375304=_0x57fb15;let _0x4571bc=_0x4a2035[_0x375304(0x49e)](_0x339595[_0x375304(0x4d3)])['getFocusDrawings']();if(_0x4571bc[_0x375304(0x553)]!==0x1)return null;let _0xdf4843=_0x4571bc[0x0];return _0xdf4843[_0x375304(0x2b4)]===_0x91c33f[_0x375304(0x461)][_0x375304(0x1cc)]?_0xdf4843:null;}function _0x418ba8(_0xe7e828,_0x132947){const _0x2db160=_0x57fb15;let _0x54a085=document['createElement']('a');_0x54a085[_0x2db160(0x325)]=_0xe7e828,_0x54a085[_0x2db160(0x4da)]=_0x132947,_0x54a085['click']();}let _0x1238c4={'id':'sheet.command.chart.open-focused-panel','type':_0x91c33f[_0x57fb15(0x24e)][_0x57fb15(0x3ed)],'handler':(_0x3d34f6,_0x4f9fb0)=>{const _0x1ef154=_0x57fb15;let _0x17d770=_0x5476d5(_0x3d34f6);return _0x17d770?_0x3d34f6[_0x1ef154(0x49e)](_0x91c33f[_0x1ef154(0x34c)])[_0x1ef154(0x5f0)](_0x29b997['id'],{'unitId':_0x17d770[_0x1ef154(0x2cd)],'subUnitId':_0x17d770[_0x1ef154(0x2b0)],'drawingId':_0x17d770[_0x1ef154(0x358)],..._0x4f9fb0!=null&&_0x4f9fb0[_0x1ef154(0x2c5)]?{'route':_0x4f9fb0[_0x1ef154(0x2c5)]}:{}}):!0x1;}},_0x5eb1eb={'id':_0x57fb15(0x45a),'type':_0x91c33f[_0x57fb15(0x24e)][_0x57fb15(0x3ed)],'handler':_0x147962=>_0x5476d5(_0x147962)?_0x147962[_0x57fb15(0x49e)](_0x91c33f[_0x57fb15(0x34c)])[_0x57fb15(0x5f0)](_0x3d68f4['SheetCopyCommand']['id']):!0x1},_0x608c97={'id':_0x57fb15(0x2f5),'type':_0x91c33f['CommandType'][_0x57fb15(0x3ed)],'handler':async _0x563bb6=>{const _0x80615f=_0x57fb15;let _0x4c95e2=_0x5476d5(_0x563bb6);if(!_0x4c95e2)return!0x1;let _0x5b2e13=await _0x563bb6[_0x80615f(0x49e)](_0x36d079[_0x80615f(0x1fb)])[_0x80615f(0x304)]({'unitId':_0x4c95e2[_0x80615f(0x2cd)],'subUnitId':_0x4c95e2[_0x80615f(0x2b0)],'getId':()=>_0x4c95e2['drawingId']});return _0x5b2e13?(_0x418ba8(_0x5b2e13,_0x4c95e2[_0x80615f(0x358)]+'.png'),!0x0):!0x1;}},_0x46a2b1={'id':_0x57fb15(0x4ae),'type':_0x91c33f['CommandType']['COMMAND'],'handler':_0x2e4993=>{const _0x2f46d7=_0x57fb15;let _0x36ee23=_0x5476d5(_0x2e4993);return _0x36ee23?_0x2e4993[_0x2f46d7(0x49e)](_0x91c33f[_0x2f46d7(0x34c)])[_0x2f46d7(0x5f0)](_0x339595['RemoveSheetDrawingCommand']['id'],{'unitId':_0x36ee23['unitId'],'drawings':[{'unitId':_0x36ee23[_0x2f46d7(0x2cd)],'subUnitId':_0x36ee23[_0x2f46d7(0x2b0)],'drawingId':_0x36ee23[_0x2f46d7(0x358)],'drawingType':_0x91c33f[_0x2f46d7(0x461)]['DRAWING_CHART']}]}):!0x1;}};function _0x4e9dd7(_0x120ff5){'@babel/helpers - typeof';const _0x51170f=_0x57fb15;return _0x4e9dd7=typeof Symbol==_0x51170f(0x20c)&&typeof Symbol['iterator']==_0x51170f(0x204)?function(_0x21b5af){return typeof _0x21b5af;}:function(_0x17c89c){const _0x5c8c37=_0x51170f;return _0x17c89c&&typeof Symbol==_0x5c8c37(0x20c)&&_0x17c89c[_0x5c8c37(0x45e)]===Symbol&&_0x17c89c!==Symbol[_0x5c8c37(0x307)]?'symbol':typeof _0x17c89c;},_0x4e9dd7(_0x120ff5);}function _0x54e260(_0x5502ca,_0x2d39ee){const _0x4eef68=_0x57fb15;if(_0x4e9dd7(_0x5502ca)!='object'||!_0x5502ca)return _0x5502ca;var _0xa85eeb;if(typeof Symbol<'u'&&(_0xa85eeb=_0x5502ca[Symbol[_0x4eef68(0x320)]])!==void 0x0){var _0x2f04e8=_0xa85eeb[_0x4eef68(0x59f)](_0x5502ca,_0x2d39ee||_0x4eef68(0x430));if(_0x4e9dd7(_0x2f04e8)!=_0x4eef68(0x200))return _0x2f04e8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2d39ee===_0x4eef68(0x314)?String:Number)(_0x5502ca);}function _0x57b4ca(_0x1ab3bd){const _0x440acd=_0x57fb15;var _0x4848f1=_0x54e260(_0x1ab3bd,_0x440acd(0x314));return _0x4e9dd7(_0x4848f1)==_0x440acd(0x204)?_0x4848f1:_0x4848f1+'';}function _0x53ca96(_0x258dbe,_0x1ab8c2,_0x1b8157){const _0x40c945=_0x57fb15;return(_0x1ab8c2=_0x57b4ca(_0x1ab8c2))in _0x258dbe?Object[_0x40c945(0x4e1)](_0x258dbe,_0x1ab8c2,{'value':_0x1b8157,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x258dbe[_0x1ab8c2]=_0x1b8157,_0x258dbe;}var _0x25f624=class extends _0x91c33f['Disposable']{constructor(_0x46366b){const _0x120812=_0x57fb15;super(),this['_callback']=_0x46366b,_0x53ca96(this,_0x120812(0x393),null),_0x53ca96(this,_0x120812(0x3f1),!0x1),_0x53ca96(this,_0x120812(0x5ac),!0x1);}['request'](){const _0x3d6952=_0x57fb15;this[_0x3d6952(0x611)]||(this[_0x3d6952(0x5ac)]=!0x0,!this[_0x3d6952(0x3f1)]&&this[_0x3d6952(0x393)]===null&&(this[_0x3d6952(0x393)]=requestAnimationFrame(()=>this[_0x3d6952(0x4d6)]())));}[_0x57fb15(0x4d6)](){const _0x173f79=_0x57fb15;if(this[_0x173f79(0x611)]||this[_0x173f79(0x3f1)])return;this[_0x173f79(0x313)]();let _0x57aeb9=this['_callback']();_0x57aeb9&&(this[_0x173f79(0x3f1)]=!0x0,_0x57aeb9['catch'](_0x5e953e=>console[_0x173f79(0x32c)](_0x5e953e))['finally'](()=>{const _0x23b948=_0x173f79;this[_0x23b948(0x3f1)]=!0x1,this[_0x23b948(0x5ac)]&&this['request']();}));}['cancelPending'](){const _0x138ff0=_0x57fb15;this[_0x138ff0(0x5ac)]=!0x1,this[_0x138ff0(0x393)]!==null&&(cancelAnimationFrame(this[_0x138ff0(0x393)]),this['_frame']=null);}[_0x57fb15(0x218)](){const _0x265eba=_0x57fb15;this[_0x265eba(0x313)](),super[_0x265eba(0x218)]();}},_0x3fddae=class extends _0x91c33f['Disposable']{constructor(_0x13b1c8,_0x226afc){const _0x5f366a=_0x57fb15;super(),this[_0x5f366a(0x1bc)]=_0x13b1c8,this['_onChange']=_0x226afc,_0x53ca96(this,_0x5f366a(0x1e4),void 0x0),_0x53ca96(this,'_geometry',void 0x0),this[_0x5f366a(0x269)]=this[_0x5f366a(0x2dd)](),this[_0x5f366a(0x1e4)]=new _0x25f624(()=>this[_0x5f366a(0x53a)]()),this[_0x5f366a(0x55e)](this[_0x5f366a(0x1e4)]),this[_0x5f366a(0x55e)](_0x13b1c8[_0x5f366a(0x2d8)]['subscribeEvent'](()=>this[_0x5f366a(0x1e4)]['request']()));}get[_0x57fb15(0x597)](){const _0x21ee2e=_0x57fb15;return this[_0x21ee2e(0x1e4)];}[_0x57fb15(0x53a)](){const _0x4b8aee=_0x57fb15;let _0x102e97=this[_0x4b8aee(0x2dd)](),_0x529646=this[_0x4b8aee(0x269)],_0x3acaec=_0x102e97['width']!==_0x529646['width']||_0x102e97['height']!==_0x529646['height'];if(_0x3acaec||_0x102e97['left']!==_0x529646[_0x4b8aee(0x65b)]||_0x102e97[_0x4b8aee(0x2d2)]!==_0x529646[_0x4b8aee(0x2d2)])return this[_0x4b8aee(0x269)]=_0x102e97,this[_0x4b8aee(0x443)](_0x3acaec);}[_0x57fb15(0x2dd)](){const _0x2b81aa=_0x57fb15;let {left:_0x486e8a,top:_0x70e3f9,width:_0x55c609,height:_0x23acc4}=this[_0x2b81aa(0x1bc)];return{'left':_0x486e8a,'top':_0x70e3f9,'width':_0x55c609,'height':_0x23acc4};}};function _0x5d2789(_0x117d1b,_0x5658ca=0x1){const _0x44ec70=_0x57fb15;return{'width':Math['max'](_0x5658ca,_0x117d1b[_0x44ec70(0x3d9)]),'height':Math[_0x44ec70(0x50d)](_0x5658ca,_0x117d1b[_0x44ec70(0x271)])};}function _0x53ef2f(_0x243e12,_0x368413={},_0x52e00f={'left':0x0,'top':0x0}){const _0x31bc75=_0x57fb15;let _0x5cb3aa=_0x368413[_0x31bc75(0x295)]??0x1,_0x2fd7c0=_0x368413['scaleY']??0x1,_0x56b03b=_0x36d079[_0x31bc75(0x36b)][_0x31bc75(0x315)]({'logicalOuterRect':{'left':_0x52e00f['left']>0x0?-_0x52e00f['left']:0x0,'top':_0x52e00f[_0x31bc75(0x2d2)]>0x0?-_0x52e00f['top']:0x0,..._0x5d2789(_0x243e12)},'scale':{'scaleX':_0x5cb3aa,'scaleY':_0x2fd7c0},'hostStyle':{},'contentMode':_0x36d079['ChartFrameContentMode'][_0x31bc75(0x289)]});return{'left':_0x56b03b[_0x31bc75(0x22c)][_0x31bc75(0x65b)],'top':_0x56b03b[_0x31bc75(0x22c)][_0x31bc75(0x2d2)],'width':_0x56b03b[_0x31bc75(0x22c)][_0x31bc75(0x3d9)],'height':_0x56b03b[_0x31bc75(0x22c)][_0x31bc75(0x271)],'scaleX':_0x5cb3aa,'scaleY':_0x2fd7c0};}function _0x42682d(_0x332d3a){const _0x436ed5=_0x57fb15;switch(_0x332d3a[_0x436ed5(0x434)]){case _0x1e7e6c['ChartImageSourceType'][_0x436ed5(0x657)]:return _0x332d3a['canvas'];case _0x1e7e6c[_0x436ed5(0x3a2)][_0x436ed5(0x316)]:return _0x332d3a[_0x436ed5(0x569)];default:return;}}var _0x3ec4f8=class extends _0x548848['Rect']{constructor(_0xfbb7d0,_0x1c3f90,_0xd1b630,_0x8bc129=()=>!0x1,_0x51e89f=()=>{},_0x223bde=()=>!0x1){const _0x31d943=_0x57fb15;super(_0xfbb7d0,{..._0x1c3f90,'evented':_0x1c3f90[_0x31d943(0x590)]??!0x0}),this[_0x31d943(0x276)]=_0xd1b630,this['_shouldSuppressRender']=_0x8bc129,this[_0x31d943(0x198)]=_0x51e89f,this[_0x31d943(0x359)]=_0x223bde,_0x53ca96(this,_0x31d943(0x3ab),null),_0x53ca96(this,_0x31d943(0x33b),null),_0x53ca96(this,_0x31d943(0x650),null),_0x53ca96(this,_0x31d943(0x38b),null),this[_0x31d943(0x324)](_0x548848[_0x31d943(0x2d1)][_0x31d943(0x60f)]);}[_0x57fb15(0x218)](){const _0x2c126e=_0x57fb15;this[_0x2c126e(0x5e4)](),this[_0x2c126e(0x3ab)]=null,this[_0x2c126e(0x33b)]=null,this[_0x2c126e(0x650)]=null,this[_0x2c126e(0x198)](),super[_0x2c126e(0x218)]();}[_0x57fb15(0x380)](_0x4cacbb,_0x319610){const _0x4a904e=_0x57fb15;if(!this[_0x4a904e(0x61b)])return this['makeDirty'](!0x1),this;if(this[_0x4a904e(0x350)]()){let _0x55b424=this[_0x4a904e(0x276)]();return _0x55b424&&this[_0x4a904e(0x272)](_0x55b424),this['makeDirty'](!0x1),this;}if(!this['transform'])return this;let {width:_0x392e86,height:_0xd286ee,left:_0x44874d,top:_0x8e7734}=this[_0x4a904e(0x51c)]();if(this[_0x4a904e(0x18e)](_0x319610)){let {top:_0x3e419f,left:_0x1c3983,bottom:_0x5a433d,right:_0x2e2a12}=_0x319610[_0x4a904e(0x21b)];if(_0x392e86+this['strokeWidth']+_0x44874d<_0x1c3983||_0x2e2a12<_0x44874d||_0xd286ee+this[_0x4a904e(0x1a5)]+_0x8e7734<_0x3e419f||_0x5a433d<_0x8e7734)return this;}let _0x1c1a6d=this['transform']['getMatrix']();_0x4cacbb[_0x4a904e(0x474)]();let _0x28ec16=_0x44874d+_0x392e86/0x2,_0x3f4a80=_0x8e7734+_0xd286ee/0x2;return _0x4cacbb[_0x4a904e(0x653)](_0x1c1a6d[0x0],_0x1c1a6d[0x1],_0x1c1a6d[0x2],_0x1c1a6d[0x3],_0x28ec16,_0x3f4a80),this[_0x4a904e(0x291)]!==0x1&&(_0x4cacbb[_0x4a904e(0x619)]=this[_0x4a904e(0x291)]),this[_0x4a904e(0x15a)](_0x4cacbb,void 0x0,_0x392e86,_0xd286ee),_0x4cacbb['restore'](),this['makeDirty'](!0x1),this;}[_0x57fb15(0x15a)](_0x229cda,_0xe0cc3d,_0x5bcf6b=this['width'],_0x22445b=this['height']){const _0xdeb55d=_0x57fb15;this[_0xdeb55d(0x2c9)](_0x229cda,_0x5bcf6b,_0x22445b,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0xdeb55d(0x40f)](_0x229cda,_0x5bcf6b,_0x22445b),this['_drawChartFrame'](_0x229cda,_0x5bcf6b,_0x22445b,{'fill':void 0x0});}[_0x57fb15(0x2c9)](_0x4d001d,_0x31a2e7,_0x2d35a2,_0x1a3d75){const _0x443291=_0x57fb15;_0x4d001d[_0x443291(0x474)](),_0x4d001d[_0x443291(0x177)](-_0x31a2e7/0x2,-_0x2d35a2/0x2),_0x548848[_0x443291(0x211)]['drawWith'](_0x4d001d,_0x470e69(this,_0x31a2e7,_0x2d35a2,_0x1a3d75)),_0x4d001d[_0x443291(0x55b)]();}['isHit'](_0x270d33){const _0x2f5e62=_0x57fb15;let {left:_0x48d87c,top:_0x6d0860,width:_0x3f9529,height:_0x69a380}=this[_0x2f5e62(0x51c)](),_0x49e98a=_0x48d87c+_0x3f9529/0x2,_0x303938=_0x6d0860+_0x69a380/0x2,_0x31be35=this['transform']['getMatrix'](),_0x33d3ba=new _0x548848[(_0x2f5e62(0x3cc))]([_0x31be35[0x0],_0x31be35[0x1],_0x31be35[0x2],_0x31be35[0x3],_0x49e98a,_0x303938]),_0x470e34=this[_0x2f5e62(0x1aa)](),_0xd4cce3=(this[_0x2f5e62(0x4e9)]&&(_0x470e34==null?void 0x0:_0x470e34[_0x2f5e62(0x2ee)])===_0x548848[_0x2f5e62(0x5a3)][_0x2f5e62(0x341)]?_0x470e34['ancestorTransform'][_0x2f5e62(0x552)](_0x33d3ba):_0x33d3ba)[_0x2f5e62(0x347)]()[_0x2f5e62(0x435)](_0x270d33),_0x145e80=_0x3f9529/0x2,_0x25fec7=_0x69a380/0x2;return _0xd4cce3['x']>=-_0x145e80-this[_0x2f5e62(0x1a5)]/0x2&&_0xd4cce3['x']<=_0x145e80+this[_0x2f5e62(0x1a5)]/0x2&&_0xd4cce3['y']>=-_0x25fec7-this['strokeWidth']/0x2&&_0xd4cce3['y']<=_0x25fec7+this[_0x2f5e62(0x1a5)]/0x2;}[_0x57fb15(0x40f)](_0x5414de,_0xae6d02,_0x4dd69d){const _0x33cfc5=_0x57fb15;let _0x3879bc=this[_0x33cfc5(0x276)](),_0x544b16=_0x3879bc?this[_0x33cfc5(0x272)](_0x3879bc):void 0x0;if(!_0x544b16)return;let {width:_0x27a89d,height:_0x588242}=_0x5d2789({'width':_0xae6d02,'height':_0x4dd69d},0x0);_0x27a89d!==0x0&&_0x588242!==0x0&&(_0x5414de[_0x33cfc5(0x474)](),_0x5414de[_0x33cfc5(0x177)](-_0xae6d02/0x2,-_0x4dd69d/0x2),_0x26aaeb(_0x5414de,_0x27a89d,_0x588242,this[_0x33cfc5(0x50b)]),_0x5414de['clip'](),_0x5414de[_0x33cfc5(0x5af)](_0x544b16,0x0,0x0,_0x27a89d,_0x588242),this['_shouldRenderLicenseWatermark']()&&(0x0,_0x1e7e6c[_0x33cfc5(0x252)])(_0x5414de,_0x27a89d,_0x588242),_0x5414de[_0x33cfc5(0x55b)]());}[_0x57fb15(0x272)](_0xadc0e2){const _0x17b53e=_0x57fb15;var _0x2acb81;let _0xf7633f=_0x42682d(_0xadc0e2);if(_0xf7633f)return _0xf7633f;if(_0xadc0e2[_0x17b53e(0x434)]===_0x1e7e6c[_0x17b53e(0x3a2)][_0x17b53e(0x627)]&&(this[_0x17b53e(0x650)]!==_0xadc0e2[_0x17b53e(0x2db)]&&(this[_0x17b53e(0x650)]=_0xadc0e2['url'],this['_clearPendingUrlImage'](),this[_0x17b53e(0x33b)]!==_0xadc0e2[_0x17b53e(0x2db)]&&this[_0x17b53e(0x559)](_0xadc0e2['url'])),(_0x2acb81=this[_0x17b53e(0x3ab)])!=null&&_0x2acb81[_0x17b53e(0x22e)]&&this[_0x17b53e(0x3ab)][_0x17b53e(0x33f)]>0x0&&this[_0x17b53e(0x3ab)]['naturalHeight']>0x0))return this[_0x17b53e(0x3ab)];}[_0x57fb15(0x559)](_0x1a1c07){const _0xaf6fc5=_0x57fb15;let _0x2b13f6=document[_0xaf6fc5(0x421)](_0xaf6fc5(0x3af));this[_0xaf6fc5(0x38b)]=_0x2b13f6,_0x2b13f6[_0xaf6fc5(0x19f)]=_0xaf6fc5(0x1d3),_0x2b13f6[_0xaf6fc5(0x205)]=()=>{const _0x3f31e8=_0xaf6fc5;this[_0x3f31e8(0x650)]===_0x1a1c07&&this[_0x3f31e8(0x38b)]===_0x2b13f6&&(_0x2b13f6[_0x3f31e8(0x33f)]>0x0&&_0x2b13f6[_0x3f31e8(0x510)]>0x0&&(this[_0x3f31e8(0x33b)]=_0x1a1c07,this[_0x3f31e8(0x3ab)]=_0x2b13f6),this[_0x3f31e8(0x5e4)](),this[_0x3f31e8(0x400)](!0x0));},_0x2b13f6['onerror']=()=>{const _0x38a9ce=_0xaf6fc5;this['_pendingUrlImage']===_0x2b13f6&&this[_0x38a9ce(0x5e4)]();},_0x2b13f6[_0xaf6fc5(0x521)]=_0x1a1c07;}['_clearPendingUrlImage'](){const _0x5b1709=_0x57fb15;this[_0x5b1709(0x38b)]&&=(this['_pendingUrlImage'][_0x5b1709(0x205)]=null,this['_pendingUrlImage'][_0x5b1709(0x645)]=null,null);}};function _0x470e69(_0x54c87c,_0x1ec797,_0x1c0fde,_0x34e088){const _0x1ec78b=_0x57fb15;let _0x2b9552=Object[_0x1ec78b(0x644)](_0x54c87c);return Object['defineProperty'](_0x2b9552,_0x1ec78b(0x3d9),{'value':_0x1ec797}),Object[_0x1ec78b(0x4e1)](_0x2b9552,_0x1ec78b(0x271),{'value':_0x1c0fde}),Object[_0x1ec78b(0x3b6)](_0x34e088)[_0x1ec78b(0x3f4)](_0x31ff86=>{Object['defineProperty'](_0x2b9552,_0x31ff86,{'value':_0x34e088[_0x31ff86]});}),_0x2b9552;}function _0x26aaeb(_0x5ddf76,_0x27b3c,_0x27a517,_0x298edd){const _0x20918b=_0x57fb15;let _0x5da818=Math[_0x20918b(0x40d)](_0x298edd||0x0,_0x27b3c/0x2,_0x27a517/0x2);_0x5ddf76[_0x20918b(0x3b7)](),_0x5da818?(_0x5ddf76['moveTo'](_0x5da818,0x0),_0x5ddf76[_0x20918b(0x4c5)](_0x27b3c-_0x5da818,0x0),_0x5ddf76['arc'](_0x27b3c-_0x5da818,_0x5da818,_0x5da818,Math['PI']*0x3/0x2,0x0,!0x1),_0x5ddf76[_0x20918b(0x4c5)](_0x27b3c,_0x27a517-_0x5da818),_0x5ddf76[_0x20918b(0x3c8)](_0x27b3c-_0x5da818,_0x27a517-_0x5da818,_0x5da818,0x0,Math['PI']/0x2,!0x1),_0x5ddf76[_0x20918b(0x4c5)](_0x5da818,_0x27a517),_0x5ddf76[_0x20918b(0x3c8)](_0x5da818,_0x27a517-_0x5da818,_0x5da818,Math['PI']/0x2,Math['PI'],!0x1),_0x5ddf76[_0x20918b(0x4c5)](0x0,_0x5da818),_0x5ddf76['arc'](_0x5da818,_0x5da818,_0x5da818,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5ddf76[_0x20918b(0x489)]()):(_0x5ddf76[_0x20918b(0x4e0)](0x0,0x0,_0x27b3c,_0x27a517),_0x5ddf76[_0x20918b(0x489)]());}function _0xc2a0d5(_0x35bf9f){const _0x2055a2=_0x57fb15;(_0x35bf9f==null?void 0x0:_0x35bf9f[_0x2055a2(0x434)])===_0x1e7e6c[_0x2055a2(0x3a2)][_0x2055a2(0x316)]&&_0x35bf9f[_0x2055a2(0x569)][_0x2055a2(0x296)]();}function _0x29c0a2(_0x563600){const _0x3e3738=_0x57fb15;return _0x563600[_0x3e3738(0x2cd)]+_0x3e3738(0x1d8)+_0x563600[_0x3e3738(0x2b0)]+'#-#'+_0x563600[_0x3e3738(0x570)];}var _0x475470=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(..._0x4711c5){super(..._0x4711c5),_0x53ca96(this,'_entries',new Map());}[_0x57fb15(0x203)](_0x22674e){const _0x576f0d=_0x57fb15;let _0x10e984=_0x29c0a2(_0x22674e),_0x491c8f=this['_entries'][_0x576f0d(0x49e)](_0x10e984)??{'version':0x0};return _0x491c8f['version']+=0x1,this[_0x576f0d(0x46f)][_0x576f0d(0x28d)](_0x10e984,_0x491c8f),_0x491c8f[_0x576f0d(0x274)];}[_0x57fb15(0x458)](_0xb6ef4b,_0x819b0d){const _0xa80940=_0x57fb15;var _0x5f01bc;return((_0x5f01bc=this[_0xa80940(0x46f)][_0xa80940(0x49e)](_0x29c0a2(_0xb6ef4b)))==null?void 0x0:_0x5f01bc['version'])===_0x819b0d;}[_0x57fb15(0x23c)](_0x2fcbcf,_0x329a15,_0xd05719){const _0x48f7e9=_0x57fb15;if(!this[_0x48f7e9(0x458)](_0x2fcbcf,_0xd05719))return _0xc2a0d5(_0x329a15),!0x1;let _0x543f51=_0x29c0a2(_0x2fcbcf),_0x4a02c8=this[_0x48f7e9(0x46f)][_0x48f7e9(0x49e)](_0x543f51)??{'version':_0xd05719},_0x5dbb24=_0x4a02c8[_0x48f7e9(0x3ae)];return _0x4a02c8['image']=_0x329a15,_0x4a02c8['version']=_0xd05719,this['_entries'][_0x48f7e9(0x28d)](_0x543f51,_0x4a02c8),_0x5dbb24!==_0x329a15&&_0xc2a0d5(_0x5dbb24),!0x0;}['getImage'](_0x568b79){const _0x6b0f90=_0x57fb15;var _0x11afe5;return(_0x11afe5=this[_0x6b0f90(0x46f)]['get'](_0x29c0a2(_0x568b79)))==null?void 0x0:_0x11afe5[_0x6b0f90(0x3ae)];}[_0x57fb15(0x60b)](_0x57dddf){const _0x5369bd=_0x57fb15;let _0x52698b=_0x29c0a2(_0x57dddf),_0x39d8b8=this[_0x5369bd(0x46f)][_0x5369bd(0x49e)](_0x52698b);_0x39d8b8&&(_0xc2a0d5(_0x39d8b8[_0x5369bd(0x3ae)]),this[_0x5369bd(0x46f)][_0x5369bd(0x27c)](_0x52698b));}[_0x57fb15(0x53d)](_0x39621b){const _0x4a9af5=_0x57fb15;for(let [_0x27eb94,_0x564450]of this[_0x4a9af5(0x46f)])_0x27eb94[_0x4a9af5(0x165)](_0x4a9af5(0x1d8)+_0x39621b)&&(_0xc2a0d5(_0x564450[_0x4a9af5(0x3ae)]),this[_0x4a9af5(0x46f)][_0x4a9af5(0x27c)](_0x27eb94));}[_0x57fb15(0x218)](){const _0x4baec6=_0x57fb15;this['_entries'][_0x4baec6(0x3f4)](_0x2a8cc1=>_0xc2a0d5(_0x2a8cc1['image'])),this[_0x4baec6(0x46f)]['clear'](),super['dispose']();}};let _0x3b6c15=0x3e8;function _0x55c2ac(_0x4a3bd8,_0x24a04e=0x7d0){let _0x147bff=null,_0x58e8df=null,_0x12c0ea=!0x1,_0xf2e81c=()=>{},_0x40f277=()=>{const _0x1c144d=_0xc181;_0x147bff==null||_0x147bff[_0x1c144d(0x2df)](),_0x147bff=null,_0x58e8df!=null&&(clearTimeout(_0x58e8df),_0x58e8df=null);};return{'promise':new Promise((_0x550cdf,_0x27a8ae)=>{const _0x42717c=_0xc181;_0xf2e81c=_0x27a8ae;let _0x1c82a2=()=>{let _0x58302c=document['getElementById'](_0x4a3bd8);_0x58302c&&!_0x12c0ea&&(_0x12c0ea=!0x0,_0x40f277(),_0x550cdf(_0x58302c));};_0x1c82a2(),_0x12c0ea||(_0x147bff=new MutationObserver(_0x1c82a2),_0x147bff[_0x42717c(0x275)](document['documentElement'],{'childList':!0x0,'subtree':!0x0}),_0x58e8df=setTimeout(()=>{const _0x410957=_0x42717c;_0x12c0ea||(_0x12c0ea=!0x0,_0x40f277(),_0x27a8ae(Error(_0x410957(0x2ef)+_0x4a3bd8+'\x22.')));},_0x24a04e));}),'cancel':()=>{const _0x3ce813=_0xc181;_0x12c0ea||(_0x12c0ea=!0x0,_0x40f277(),_0xf2e81c(Error(_0x3ce813(0x4fe)+_0x4a3bd8+'\x22.')));}};}var _0x4301bc=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x2cd03b,_0x1e07d7,_0x587e4a,_0x4d34d4,_0x4a39c9,_0x2f426f,_0x355a0d,_0x2d1c92,_0x349458){const _0xb82c3=_0x57fb15;super(),this[_0xb82c3(0x570)]=_0x2cd03b,this[_0xb82c3(0x1ea)]=_0x1e07d7,this[_0xb82c3(0x3c2)]=_0x587e4a,this['_setHostStyle']=_0x4d34d4,this[_0xb82c3(0x23b)]=_0x4a39c9,this[_0xb82c3(0x402)]=_0x2f426f,this[_0xb82c3(0x2eb)]=_0x355a0d,this[_0xb82c3(0x65f)]=_0x2d1c92,this[_0xb82c3(0x20d)]=_0x349458,_0x53ca96(this,'mode',_0x1e7e6c[_0xb82c3(0x21d)]['Dom']),_0x53ca96(this,_0xb82c3(0x370),null),_0x53ca96(this,_0xb82c3(0x5d7),!0x1),_0x53ca96(this,'_pendingToken',null),_0x53ca96(this,_0xb82c3(0x660),null),_0x53ca96(this,_0xb82c3(0x5d6),null),_0x53ca96(this,_0xb82c3(0x282),{}),_0x53ca96(this,_0xb82c3(0x427),null),_0x53ca96(this,'_dataUpdateAnimationDuration',null),_0x53ca96(this,_0xb82c3(0x305),null);}['isManaged'](){const _0x26c77b=_0x57fb15;return this[_0x26c77b(0x5d7)];}[_0x57fb15(0x64e)](){const _0x27901b=_0x57fb15;this[_0x27901b(0x5d7)]=!0x1;}[_0x57fb15(0x1f3)](){const _0x38d1b0=_0x57fb15;let _0x92e9d3=this[_0x38d1b0(0x3c2)]();return _0x92e9d3?{'width':_0x92e9d3['width'],'height':_0x92e9d3[_0x38d1b0(0x271)]}:null;}[_0x57fb15(0x642)](_0x39ec99){const _0x40e9c3=_0x57fb15;this['_disposed']||this[_0x40e9c3(0x23b)]()||(this['_hostStyle']=_0x39ec99,this[_0x40e9c3(0x5b2)](_0x39ec99),this[_0x40e9c3(0x5b0)]());}async[_0x57fb15(0x1da)](){const _0x4f7e7f=_0x57fb15;if(this['_disposed']||this['_isProviderDisposed']())throw Error(_0x4f7e7f(0x4af));let _0x45557e=this[_0x4f7e7f(0x1ea)](),_0x2599ed=(_0x45557e==null?void 0x0:_0x45557e[_0x4f7e7f(0x344)])??this[_0x4f7e7f(0x570)],_0x13e649=document[_0x4f7e7f(0x4b1)](_0x2599ed);if(this['_domFrame']&&_0x13e649!=null&&_0x13e649[_0x4f7e7f(0x2e3)](this['_domFrame'][_0x4f7e7f(0x5ab)]))return{'mountNode':this['_domFrame'][_0x4f7e7f(0x5ab)],'dispose':()=>{const _0x3c9582=_0x4f7e7f;this['dispose'](),_0x45557e==null||_0x45557e[_0x3c9582(0x218)][_0x3c9582(0x218)]();}};if(this[_0x4f7e7f(0x660)])return this[_0x4f7e7f(0x660)];let _0x3dd49b=this[_0x4f7e7f(0x2bd)]();return this[_0x4f7e7f(0x660)]=_0x3dd49b,_0x3dd49b[_0x4f7e7f(0x3d1)](()=>{const _0x55d9ff=_0x4f7e7f;this[_0x55d9ff(0x660)]===_0x3dd49b&&(this[_0x55d9ff(0x660)]=null);},()=>{const _0x12b14c=_0x4f7e7f;this['_pendingHost']===_0x3dd49b&&(this[_0x12b14c(0x660)]=null);}),_0x3dd49b;}async[_0x57fb15(0x353)](){const _0x3bca2b=_0x57fb15;try{return(await this[_0x3bca2b(0x1da)]())[_0x3bca2b(0x5ab)];}catch{return null;}}[_0x57fb15(0x2c6)](){const _0x42225c=_0x57fb15;let _0x56281a=this[_0x42225c(0x1ea)](),_0x2ca35e=(_0x56281a==null?void 0x0:_0x56281a[_0x42225c(0x344)])??this[_0x42225c(0x570)],_0x5d845f=document[_0x42225c(0x4b1)](_0x2ca35e);return!!(this[_0x42225c(0x370)]&&_0x5d845f!=null&&_0x5d845f[_0x42225c(0x2e3)](this[_0x42225c(0x370)]['mountNode']));}[_0x57fb15(0x588)](){const _0x53ce31=_0x57fb15;var _0x473c12;if(!this[_0x53ce31(0x370)])return;let _0x9cb295=this[_0x53ce31(0x3c2)]();if(!_0x9cb295)return;this['_domFrame'][_0x53ce31(0x55f)](this[_0x53ce31(0x202)](_0x9cb295),this[_0x53ce31(0x35a)]());let _0x49059d=(_0x473c12=this['_savedWrapperStyle'])==null?void 0x0:_0x473c12[_0x53ce31(0x2f9)];_0x49059d&&(_0x49059d['style']['zIndex']=String(_0x3b6c15+(this[_0x53ce31(0x20d)]()??0x0)));}[_0x57fb15(0x3ff)](){const _0x4d58c1=_0x57fb15;!this[_0x4d58c1(0x611)]&&!this[_0x4d58c1(0x23b)]()&&this[_0x4d58c1(0x402)]();}[_0x57fb15(0x41d)](){const _0x559f8e=_0x57fb15;this[_0x559f8e(0x2eb)]();}['setDataUpdateAnimation'](_0x163759){const _0x235dc0=_0x57fb15;this[_0x235dc0(0x3a8)]=_0x163759;let _0x559273=this[_0x235dc0(0x1ea)](),_0x2f84a5=document[_0x235dc0(0x4b1)]((_0x559273==null?void 0x0:_0x559273[_0x235dc0(0x344)])??this[_0x235dc0(0x570)]);_0x2f84a5&&this[_0x235dc0(0x31d)](_0x2f84a5);}[_0x57fb15(0x218)](){const _0x4f6f77=_0x57fb15;var _0x2817d3,_0x34aef7;this['_disposed']||(this['markNotReady'](),this[_0x4f6f77(0x550)]=null,this[_0x4f6f77(0x660)]=null,this[_0x4f6f77(0x5a1)](),this[_0x4f6f77(0x5d7)]=!0x1,this[_0x4f6f77(0x3a8)]=null,(_0x2817d3=this[_0x4f6f77(0x305)])==null||_0x2817d3[_0x4f6f77(0x218)](),this['_pointerEvents']=null,(_0x34aef7=this[_0x4f6f77(0x370)])==null||_0x34aef7[_0x4f6f77(0x218)](),this['_domFrame']=null,this[_0x4f6f77(0x63c)](),super[_0x4f6f77(0x218)]());}async['_createHost'](){const _0x255eec=_0x57fb15;let _0x50b92e=this['_getFloatDomInfo']();if(!_0x50b92e)throw Error(_0x255eec(0x4af));let _0x5355b6=_0x50b92e[_0x255eec(0x344)]??this['chartId'],_0x47a4ce=_0x55c2ac(_0x5355b6),_0x79508e=Symbol(this[_0x255eec(0x570)]);this[_0x255eec(0x550)]=_0x79508e,this[_0x255eec(0x5d6)]=_0x47a4ce;try{var _0x2cfd0f;let _0x134908=await _0x47a4ce['promise'],_0x410c59=this['_getFloatDomInfo'](),_0x128f34=(_0x410c59==null?void 0x0:_0x410c59[_0x255eec(0x344)])??this[_0x255eec(0x570)];if(this[_0x255eec(0x611)]||this[_0x255eec(0x23b)]()||this['_pendingToken']!==_0x79508e||_0x410c59!==_0x50b92e||_0x128f34!==_0x5355b6||document[_0x255eec(0x4b1)](_0x5355b6)!==_0x134908||!_0x134908[_0x255eec(0x501)])throw Error(_0x255eec(0x4af));let _0x20165d=this[_0x255eec(0x3c2)]();if(!_0x20165d)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x198318=new _0x36d079[(_0x255eec(0x1a1))](_0x134908);return _0x198318['update'](this[_0x255eec(0x202)](_0x20165d),this[_0x255eec(0x35a)]()),this[_0x255eec(0x47a)](_0x134908),this[_0x255eec(0x370)]=_0x198318,(_0x2cfd0f=this['_pointerEvents'])==null||_0x2cfd0f['dispose'](),this[_0x255eec(0x305)]=this[_0x255eec(0x65f)](_0x134908),this['_managed']=!0x0,{'mountNode':_0x198318[_0x255eec(0x5ab)],'dispose':()=>{const _0x1e8499=_0x255eec;this['dispose'](),_0x50b92e[_0x1e8499(0x218)][_0x1e8499(0x218)]();}};}finally{this[_0x255eec(0x5d6)]===_0x47a4ce&&(this['_waiter']=null),this[_0x255eec(0x550)]===_0x79508e&&(this['_pendingToken']=null);}}[_0x57fb15(0x5a1)](){const _0x226197=_0x57fb15;let _0x54e793=this[_0x226197(0x5d6)];_0x54e793&&(_0x54e793[_0x226197(0x3e0)](),this[_0x226197(0x5d6)]=null);}['_applyHostStyle'](){const _0x356cd5=_0x57fb15;let _0x5e0ff6=this[_0x356cd5(0x3c2)]();this[_0x356cd5(0x370)]&&_0x5e0ff6&&this['_domFrame'][_0x356cd5(0x55f)](this['_resolveLayout'](_0x5e0ff6),this[_0x356cd5(0x35a)]());}[_0x57fb15(0x202)](_0x2601fb){const _0x4dd653=_0x57fb15;return _0x36d079[_0x4dd653(0x36b)][_0x4dd653(0x315)]({'logicalOuterRect':{'left':_0x2601fb[_0x4dd653(0x65b)],'top':_0x2601fb[_0x4dd653(0x2d2)],'width':_0x2601fb[_0x4dd653(0x3d9)],'height':_0x2601fb[_0x4dd653(0x271)]},'scale':{'scaleX':_0x2601fb['scaleX'],'scaleY':_0x2601fb[_0x4dd653(0x379)]},'hostStyle':this[_0x4dd653(0x35a)](),'contentMode':_0x36d079[_0x4dd653(0x5d2)]['Overlay']});}[_0x57fb15(0x35a)](){const _0x193140=_0x57fb15;return{...this[_0x193140(0x282)],'radius':this['_hostStyle'][_0x193140(0x50b)]??_0x36d079[_0x193140(0x1b2)]};}['_activateHostWrapper'](_0xfc63b4){const _0x474e37=_0x57fb15;let _0x1734c1=_0xfc63b4[_0x474e37(0x31a)];_0x1734c1&&(this[_0x474e37(0x427)]||={'wrapper':_0x1734c1,'zIndex':_0x1734c1[_0x474e37(0x225)]['zIndex'],'pointerEvents':_0x1734c1[_0x474e37(0x225)][_0x474e37(0x309)]},_0x1734c1['style'][_0x474e37(0x375)]=String(_0x3b6c15+(this[_0x474e37(0x20d)]()??0x0)),this[_0x474e37(0x31d)](_0xfc63b4));}[_0x57fb15(0x31d)](_0x3ee75e){const _0x4b23dc=_0x57fb15;let _0x3cabca=_0x3ee75e[_0x4b23dc(0x31a)];if(!_0x3cabca)return;let _0x51d7fa=this[_0x4b23dc(0x3a8)];_0x51d7fa==null?(delete _0x3ee75e['dataset'][_0x4b23dc(0x17b)],delete _0x3ee75e[_0x4b23dc(0x2f1)][_0x4b23dc(0x4f8)],_0x3cabca[_0x4b23dc(0x225)][_0x4b23dc(0x309)]=_0x4b23dc(0x656)):(_0x3ee75e[_0x4b23dc(0x2f1)]['sheetChartDataAnimation']='true',_0x3ee75e[_0x4b23dc(0x2f1)][_0x4b23dc(0x4f8)]=String(_0x51d7fa),_0x3cabca['style']['pointerEvents']=_0x4b23dc(0x3e3));}[_0x57fb15(0x63c)](){const _0x47df99=_0x57fb15;if(!this[_0x47df99(0x427)])return;let _0x43c849=this[_0x47df99(0x1ea)](),_0x4fdc31=(_0x43c849==null?void 0x0:_0x43c849[_0x47df99(0x344)])??this[_0x47df99(0x570)],_0x119f1f=document['getElementById'](_0x4fdc31);_0x119f1f==null||delete _0x119f1f[_0x47df99(0x2f1)][_0x47df99(0x17b)],_0x119f1f==null||delete _0x119f1f['dataset']['sheetChartDataAnimationDuration'];let _0x10a590=this['_savedWrapperStyle'][_0x47df99(0x2f9)];_0x10a590&&(_0x10a590[_0x47df99(0x225)][_0x47df99(0x375)]=this[_0x47df99(0x427)][_0x47df99(0x375)],_0x10a590[_0x47df99(0x225)][_0x47df99(0x309)]=this[_0x47df99(0x427)]['pointerEvents']),this[_0x47df99(0x427)]=null;}},_0x53b71d=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x3d7dce,_0x14cabf,_0x2f64c0,_0x3d0553){const _0x2c0f81=_0x57fb15;super(),this['_original']=_0x14cabf,_0x53ca96(this,_0x2c0f81(0x3f8),null),_0x53ca96(this,_0x2c0f81(0x318),!0x1);let _0x118eae=_0x260944=>{const _0x3628cc=_0x2c0f81;this[_0x3628cc(0x318)]&&(_0x260944[_0x3628cc(0x56b)](),_0x260944[_0x3628cc(0x583)]());},_0x5e81c4=_0xce26c3=>{const _0x4ea4a6=_0x2c0f81;let _0xe668a9=this[_0x4ea4a6(0x3f8)];(_0xe668a9==null?void 0x0:_0xe668a9['event'][_0x4ea4a6(0x51f)])===_0xce26c3[_0x4ea4a6(0x51f)]&&!_0xe668a9[_0x4ea4a6(0x46d)]['hasPointerCapture'](_0xce26c3[_0x4ea4a6(0x51f)])&&this[_0x4ea4a6(0x413)]();};_0x3d7dce[_0x2c0f81(0x40b)](_0x2c0f81(0x630),_0x118eae,!0x0),_0x3d7dce['addEventListener'](_0x2c0f81(0x408),_0x118eae,!0x0),_0x3d7dce[_0x2c0f81(0x40b)]('lostpointercapture',_0x5e81c4),this[_0x2c0f81(0x55e)]((0x0,_0x91c33f[_0x2c0f81(0x624)])(()=>{const _0x26bf62=_0x2c0f81;_0x3d7dce[_0x26bf62(0x24a)]('click',_0x118eae,!0x0),_0x3d7dce[_0x26bf62(0x24a)](_0x26bf62(0x408),_0x118eae,!0x0),_0x3d7dce[_0x26bf62(0x24a)](_0x26bf62(0x586),_0x5e81c4),_0x3d0553(_0x14cabf);})),this[_0x2c0f81(0x55e)](_0x2f64c0[_0x2c0f81(0x18f)](()=>{const _0x369f72=_0x2c0f81;this[_0x369f72(0x3f8)]&&(this[_0x369f72(0x318)]=!0x0);})),_0x3d0553({'onPointerDown':_0x427722=>{const _0x4bd625=_0x2c0f81;this['_suppressClick']=!0x1,_0x14cabf['onPointerDown'](_0x427722),!this[_0x4bd625(0x611)]&&_0x427722 instanceof PointerEvent&&_0x427722[_0x4bd625(0x46d)]instanceof Element&&_0x427722[_0x4bd625(0x46d)][_0x4bd625(0x501)]&&_0x3d7dce[_0x4bd625(0x2e3)](_0x427722[_0x4bd625(0x46d)])&&(this[_0x4bd625(0x3f8)]={'target':_0x427722[_0x4bd625(0x46d)],'event':_0x427722},this[_0x4bd625(0x3d0)](_0x427722));},'onPointerMove':_0x198bf6=>{const _0x21c06e=_0x2c0f81;_0x14cabf[_0x21c06e(0x181)](_0x198bf6),this['_keepChartCapture'](_0x198bf6);},'onPointerUp':_0x3ed460=>{const _0x20b6f5=_0x2c0f81;try{_0x14cabf['onPointerUp'](_0x3ed460);}finally{var _0x25def7;_0x3ed460 instanceof PointerEvent&&((_0x25def7=this[_0x20b6f5(0x3f8)])==null?void 0x0:_0x25def7['event']['pointerId'])===_0x3ed460[_0x20b6f5(0x51f)]&&this[_0x20b6f5(0x3d3)]();}}});}[_0x57fb15(0x218)](){const _0x504d2e=_0x57fb15;this[_0x504d2e(0x611)]||(this[_0x504d2e(0x413)](),super[_0x504d2e(0x218)]());}['_keepChartCapture'](_0x225292){const _0x554610=_0x57fb15;let _0x2baaa6=this[_0x554610(0x3f8)];_0x225292 instanceof PointerEvent&&(_0x2baaa6==null?void 0x0:_0x2baaa6[_0x554610(0x599)]['pointerId'])===_0x225292['pointerId']&&(_0x2baaa6['event']=_0x225292,_0x2baaa6[_0x554610(0x46d)][_0x554610(0x501)]?_0x2baaa6['target'][_0x554610(0x381)](_0x225292[_0x554610(0x51f)]):this[_0x554610(0x413)]());}['_releaseGesture'](){const _0x9e28dc=_0x57fb15;let _0x111877=this[_0x9e28dc(0x3f8)];this[_0x9e28dc(0x3f8)]=null,_0x111877!=null&&_0x111877[_0x9e28dc(0x46d)][_0x9e28dc(0x55d)](_0x111877[_0x9e28dc(0x599)][_0x9e28dc(0x51f)])&&_0x111877['target'][_0x9e28dc(0x52f)](_0x111877[_0x9e28dc(0x599)]['pointerId']);}['_cancelGesture'](){const _0x4d0178=_0x57fb15;let _0x2792d4=this['_gesture'];this[_0x4d0178(0x3d3)](),_0x2792d4&&this['_original'][_0x4d0178(0x4c0)](new PointerEvent(_0x4d0178(0x22d),_0x2792d4[_0x4d0178(0x599)]));}},_0x2f366f=class extends _0x1e7e6c[_0x57fb15(0x280)]{constructor(_0x4d1930,_0x9f6ce1,_0x28b602,_0x18d7d9,_0x2c3ffb,_0x76056d,_0x191627){const _0x183274=_0x57fb15;super(_0x4d1930),this[_0x183274(0x46b)]=_0x9f6ce1,this['_setHostStyle']=_0x28b602,this['_snapshotKey']=_0x18d7d9,this[_0x183274(0x4aa)]=_0x2c3ffb,this[_0x183274(0x651)]=_0x76056d,this['_isCurrent']=_0x191627;}[_0x57fb15(0x1f3)](){const _0x421c81=_0x57fb15;let _0x1714af=this[_0x421c81(0x4fc)]()?this[_0x421c81(0x46b)]():null;return _0x1714af?_0x5d2789(_0x1714af):null;}[_0x57fb15(0x642)](_0x2a5d31){const _0x7b42d7=_0x57fb15;this[_0x7b42d7(0x4fc)]()&&this[_0x7b42d7(0x5b2)](_0x2a5d31);}[_0x57fb15(0x203)](){const _0x5888a0=_0x57fb15;return this[_0x5888a0(0x4aa)][_0x5888a0(0x203)](this['_snapshotKey']);}[_0x57fb15(0x506)](_0x3cbbf8,_0x29db3e){const _0x4b06a7=_0x57fb15;return this[_0x4b06a7(0x4fc)]()?this[_0x4b06a7(0x4aa)]['setImage'](this['_snapshotKey'],_0x3cbbf8,_0x29db3e):(_0xc2a0d5(_0x3cbbf8),!0x1);}[_0x57fb15(0x1a2)](){const _0x551d26=_0x57fb15;this['_isCurrent']()&&this[_0x551d26(0x651)]();}[_0x57fb15(0x626)](){const _0x21088c=_0x57fb15;this[_0x21088c(0x4fc)]()&&this[_0x21088c(0x4aa)]['nextVersion'](this['_snapshotKey']);}};function _0x1314c8(_0x1e4c1d,_0x2a6f90){return function(_0x3d6958,_0x4e9d0f){_0x2a6f90(_0x3d6958,_0x4e9d0f,_0x1e4c1d);};}function _0x12534c(_0x37e962,_0x450603,_0x1b16da,_0x26b26e){const _0x4aef6b=_0x57fb15;var _0x9734da=arguments[_0x4aef6b(0x553)],_0x536cb5=_0x9734da<0x3?_0x450603:_0x26b26e===null?_0x26b26e=Object[_0x4aef6b(0x582)](_0x450603,_0x1b16da):_0x26b26e,_0x1b20d1;if(typeof Reflect==_0x4aef6b(0x200)&&typeof Reflect[_0x4aef6b(0x563)]=='function')_0x536cb5=Reflect[_0x4aef6b(0x563)](_0x37e962,_0x450603,_0x1b16da,_0x26b26e);else{for(var _0x18afb6=_0x37e962[_0x4aef6b(0x553)]-0x1;_0x18afb6>=0x0;_0x18afb6--)(_0x1b20d1=_0x37e962[_0x18afb6])&&(_0x536cb5=(_0x9734da<0x3?_0x1b20d1(_0x536cb5):_0x9734da>0x3?_0x1b20d1(_0x450603,_0x1b16da,_0x536cb5):_0x1b20d1(_0x450603,_0x1b16da))||_0x536cb5);}return _0x9734da>0x3&&_0x536cb5&&Object['defineProperty'](_0x450603,_0x1b16da,_0x536cb5),_0x536cb5;}let _0x63c26d=0.5;function _0x3780ed(_0x454fe7){const _0x56b2f0=_0x57fb15;let _0x3b01d1=Math[_0x56b2f0(0x50d)](_0x454fe7[_0x56b2f0(0x185)]-_0x454fe7[_0x56b2f0(0x502)],0x0),_0xa2fe89=Math[_0x56b2f0(0x50d)](_0x454fe7[_0x56b2f0(0x20e)]-_0x454fe7[_0x56b2f0(0x152)],0x0),_0x5cc68d=_0x454fe7['absolute'][_0x56b2f0(0x65b)]&&_0x454fe7['width']-_0x3b01d1>_0x63c26d,_0x1be939=_0x454fe7['absolute'][_0x56b2f0(0x2d2)]&&_0x454fe7[_0x56b2f0(0x271)]-_0xa2fe89>_0x63c26d;return!_0x5cc68d&&!_0x1be939?_0x454fe7:{..._0x454fe7,'absolute':{'left':!_0x5cc68d&&_0x454fe7[_0x56b2f0(0x530)][_0x56b2f0(0x65b)],'top':!_0x1be939&&_0x454fe7[_0x56b2f0(0x530)]['top']}};}function _0x592a2e(_0x4b0c1d){const _0x46d931=_0x57fb15;if(!Object[_0x46d931(0x307)][_0x46d931(0x4e6)][_0x46d931(0x59f)](_0x4b0c1d,'border'))return _0x4b0c1d;let {border:_0x4b2cd6,..._0x10cda3}=_0x4b0c1d;return{..._0x10cda3,'stroke':(_0x4b2cd6==null?void 0x0:_0x4b2cd6[_0x46d931(0x1f1)])??_0x46d931(0x3a9),'strokeWidth':(_0x4b2cd6==null?void 0x0:_0x4b2cd6['width'])??0x0};}let _0x3cfb41=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x19ab94,_0x58b2b8,_0x2113f8,_0xa615ee,_0x52bc40,_0x5085d1,_0x55e7fa){const _0x1d1505=_0x57fb15;super(),this[_0x1d1505(0x224)]=_0x19ab94,this[_0x1d1505(0x61d)]=_0x58b2b8,this[_0x1d1505(0x2b6)]=_0x2113f8,this[_0x1d1505(0x182)]=_0xa615ee,this[_0x1d1505(0x297)]=_0x52bc40,this[_0x1d1505(0x498)]=_0x5085d1,this['_sheetDrawingService']=_0x55e7fa,_0x53ca96(this,_0x1d1505(0x244),new Map()),_0x53ca96(this,_0x1d1505(0x511),new Set()),_0x53ca96(this,_0x1d1505(0x634),new _0x1594a7['Subject']()),_0x53ca96(this,'removeHost$',this[_0x1d1505(0x634)]['asObservable']()),this[_0x1d1505(0x55e)](this['_sheetCanvasFloatDomManagerService'][_0x1d1505(0x1b9)]['subscribe'](_0x478ebe=>{const _0x58e392=_0x1d1505;let _0x466ff6=this[_0x58e392(0x244)][_0x58e392(0x49e)](_0x478ebe['id']),_0x4ec0ba=_0x466ff6==null?void 0x0:_0x466ff6[_0x58e392(0x216)]();this[_0x58e392(0x4a3)](_0x478ebe['id']),_0x4ec0ba&&!this[_0x58e392(0x625)][_0x58e392(0x331)]({'unitId':_0x478ebe[_0x58e392(0x2cd)],'subUnitId':_0x478ebe[_0x58e392(0x2b0)],'drawingId':_0x478ebe['id']})&&this[_0x58e392(0x634)][_0x58e392(0x179)](_0x478ebe['id']);}));}['_getSceneAndTransformerByDrawingSearch'](_0x2ed0f5){const _0x1d1ca9=_0x57fb15;if(_0x2ed0f5==null)return;let _0x13db66=this[_0x1d1ca9(0x61d)][_0x1d1ca9(0x623)](_0x2ed0f5),_0x1a40f3=_0x13db66==null?void 0x0:_0x13db66[_0x1d1ca9(0x5f6)];return _0x13db66==null||_0x1a40f3==null?null:{'scene':_0x1a40f3,'transformer':_0x1a40f3[_0x1d1ca9(0x452)](),'renderUnit':_0x13db66,'canvas':_0x13db66[_0x1d1ca9(0x456)][_0x1d1ca9(0x547)]()};}['setBorder'](_0x5eef6e,_0x254eef){const _0x3a4317=_0x57fb15;let _0x281aeb=this[_0x3a4317(0x224)],_0xcb22cf=_0x254eef||_0x3a4317(0x3a9),_0x1b90b8=_0x281aeb[_0x3a4317(0x37a)](_0x5eef6e);if(_0x1b90b8){let {unitId:_0x4b3991,subUnitId:_0x12e74a}=_0x1b90b8;_0x281aeb[_0x3a4317(0x5ff)](_0x4b3991,_0x12e74a,_0x5eef6e,{'stroke':_0xcb22cf});}}[_0x57fb15(0x321)](_0x67eb8b,_0x401668){const _0x799c96=_0x57fb15;let _0x321b8c=this[_0x799c96(0x224)],_0x5dc152=_0x321b8c['getFloatDomInfo'](_0x67eb8b);if(_0x5dc152){let {unitId:_0xc698e3,subUnitId:_0x22f465}=_0x5dc152;_0x321b8c[_0x799c96(0x5ff)](_0xc698e3,_0x22f465,_0x67eb8b,_0x592a2e(_0x401668));}}[_0x57fb15(0x390)](_0xa74ad0){const _0x5b9438=_0x57fb15;let _0x11aecc=this[_0x5b9438(0x224)][_0x5b9438(0x37a)](_0xa74ad0);return _0x11aecc?_0x11aecc[_0x5b9438(0x4e0)]:null;}[_0x57fb15(0x5c7)](_0x2c0824){const _0x286ae6=_0x57fb15;let _0x5266cb=this[_0x286ae6(0x224)]['getFloatDomInfo'](_0x2c0824),_0x3b6336=document[_0x286ae6(0x4b1)]((_0x5266cb==null?void 0x0:_0x5266cb[_0x286ae6(0x344)])??_0x2c0824);return(_0x3b6336==null?void 0x0:_0x3b6336[_0x286ae6(0x235)]())??null;}[_0x57fb15(0x25a)](_0x38374d,_0x5a35f4){const _0x4734cb=_0x57fb15;var _0x3ded9a;(_0x3ded9a=this[_0x4734cb(0x244)][_0x4734cb(0x49e)](_0x38374d))==null||_0x3ded9a[_0x4734cb(0x25a)](_0x5a35f4);}[_0x57fb15(0x36f)](_0x5bd7d1){const _0x45a3fb=_0x57fb15;var _0x3ae041;return((_0x3ae041=this[_0x45a3fb(0x244)]['get'](_0x5bd7d1))==null?void 0x0:_0x3ae041[_0x45a3fb(0x2c6)]())??!0x1;}[_0x57fb15(0x3e1)](_0xff2201){const _0x5ef36b=_0x57fb15;var _0x4e3ed4;(_0x4e3ed4=this[_0x5ef36b(0x244)][_0x5ef36b(0x49e)](_0xff2201))==null||_0x4e3ed4[_0x5ef36b(0x588)]();}[_0x57fb15(0x4a3)](_0x4d5bbe){const _0x5c9927=_0x57fb15;let _0x292d54=this['_chartHostMap'][_0x5c9927(0x49e)](_0x4d5bbe);_0x292d54&&(_0x292d54[_0x5c9927(0x218)](),this[_0x5c9927(0x182)][_0x5c9927(0x382)](_0x4d5bbe,{'eventPassThrough':!0x0})),this[_0x5c9927(0x244)]['delete'](_0x4d5bbe);}async['ensureHost'](_0x36b5fb,_0x426ba2){const _0x2f3073=_0x57fb15;if(_0x426ba2===_0x1e7e6c[_0x2f3073(0x21d)]['Image'])return this[_0x2f3073(0x2d3)](_0x36b5fb);if(_0x426ba2===_0x1e7e6c[_0x2f3073(0x21d)][_0x2f3073(0x581)])return this[_0x2f3073(0x646)](_0x36b5fb);let _0x46a216=this[_0x2f3073(0x646)](_0x36b5fb);if(!_0x46a216)throw Error(_0x2f3073(0x4af));return _0x46a216[_0x2f3073(0x1da)]();}[_0x57fb15(0x59e)](_0x2588e8){const _0x34d12b=_0x57fb15;var _0x3d3436;return this['_activeDomReadyChartIds'][_0x34d12b(0x23a)](_0x2588e8)?(_0x3d3436=this[_0x34d12b(0x244)][_0x34d12b(0x49e)](_0x2588e8))!=null&&_0x3d3436[_0x34d12b(0x2c6)]()?!0x0:(this[_0x34d12b(0x511)][_0x34d12b(0x27c)](_0x2588e8),this[_0x34d12b(0x23f)](_0x2588e8),!0x1):!0x1;}[_0x57fb15(0x4bc)](_0x302ad4){const _0xeaa4c0=_0x57fb15;this[_0xeaa4c0(0x511)][_0xeaa4c0(0x27c)](_0x302ad4)&&(this[_0xeaa4c0(0x23f)](_0x302ad4),this[_0xeaa4c0(0x3dd)](_0x302ad4));}['invalidateSnapshot'](_0x34aee0){const _0x5a9548=_0x57fb15;let _0x15e227=this[_0x5a9548(0x5fe)](_0x34aee0);_0x15e227&&this[_0x5a9548(0x2b6)][_0x5a9548(0x203)](_0x15e227);}[_0x57fb15(0x2d3)](_0x1a9a4b){const _0x5aaf51=_0x57fb15;let _0x355e60=this[_0x5aaf51(0x5fe)](_0x1a9a4b);return!_0x355e60||!this['getHostSize'](_0x1a9a4b)?null:new _0x2f366f(_0x1a9a4b,()=>this[_0x5aaf51(0x390)](_0x1a9a4b),_0x37abcc=>this[_0x5aaf51(0x321)](_0x1a9a4b,_0x37abcc),_0x355e60,this[_0x5aaf51(0x2b6)],()=>this[_0x5aaf51(0x3dd)](_0x1a9a4b),this[_0x5aaf51(0x298)](_0x1a9a4b));}[_0x57fb15(0x646)](_0x3fa5b5){const _0x472002=_0x57fb15;if(!this[_0x472002(0x390)](_0x3fa5b5))return null;this['_canvasFloatDomService'][_0x472002(0x382)](_0x3fa5b5,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x340000=this[_0x472002(0x244)][_0x472002(0x49e)](_0x3fa5b5);if(_0x340000)return _0x340000;let _0x5bdbfe=this['_createHostLivenessCheck'](_0x3fa5b5),_0x1d02c0=new _0x4301bc(_0x3fa5b5,()=>_0x5bdbfe()?this[_0x472002(0x224)]['getFloatDomInfo'](_0x3fa5b5):void 0x0,()=>this[_0x472002(0x603)](_0x3fa5b5),_0x163e0e=>this['setHostStyle'](_0x3fa5b5,_0x163e0e),()=>!_0x5bdbfe(),()=>{const _0x1f7c2f=_0x472002;_0x5bdbfe()&&this[_0x1f7c2f(0x244)][_0x1f7c2f(0x49e)](_0x3fa5b5)===_0x1d02c0&&this[_0x1f7c2f(0x628)](_0x3fa5b5);},()=>{const _0x567ecb=_0x472002;this[_0x567ecb(0x244)][_0x567ecb(0x49e)](_0x3fa5b5)===_0x1d02c0&&this[_0x567ecb(0x4bc)](_0x3fa5b5);},_0xc5aad1=>this[_0x472002(0x18a)](_0x3fa5b5,_0xc5aad1),()=>{const _0x2b352f=_0x472002;var _0x4f7286;let _0x217918=this['_sheetCanvasFloatDomManagerService'][_0x2b352f(0x37a)](_0x3fa5b5),_0x23fce6=_0x217918?this['_instanceService'][_0x2b352f(0x1bd)](_0x217918[_0x2b352f(0x2cd)],_0x91c33f[_0x2b352f(0x366)][_0x2b352f(0x648)]):null;return _0x217918&&(_0x23fce6==null||(_0x4f7286=_0x23fce6['getSheetBySheetId'](_0x217918[_0x2b352f(0x2b0)]))==null?void 0x0:_0x4f7286[_0x2b352f(0x2bc)]()['type'])===_0x91c33f[_0x2b352f(0x55a)][_0x2b352f(0x60f)]?_0x217918[_0x2b352f(0x4e0)][_0x2b352f(0x375)]:void 0x0;});return this[_0x472002(0x244)][_0x472002(0x28d)](_0x3fa5b5,_0x1d02c0),_0x1d02c0;}[_0x57fb15(0x298)](_0x19d03a){const _0x1c913b=_0x57fb15;let _0x1a3fb7=this[_0x1c913b(0x224)]['getFloatDomInfo'](_0x19d03a),_0x2a2312=_0x1a3fb7?this['_renderManagerService']['getRenderUnitById'](_0x1a3fb7[_0x1c913b(0x2cd)]):null,_0x481c7f=this[_0x1c913b(0x297)][_0x1c913b(0x401)](_0x19d03a);return()=>{const _0x553f23=_0x1c913b;var _0x1be407;let _0x356462=this[_0x553f23(0x498)][_0x553f23(0x615)](_0x91c33f['UniverInstanceType'][_0x553f23(0x648)]);return!this[_0x553f23(0x611)]&&_0x1a3fb7!=null&&_0x2a2312!=null&&_0x1a3fb7===this[_0x553f23(0x224)]['getFloatDomInfo'](_0x19d03a)&&_0x2a2312===this[_0x553f23(0x61d)]['getRenderUnitById'](_0x1a3fb7[_0x553f23(0x2cd)])&&_0x481c7f===this[_0x553f23(0x297)]['getChartModel'](_0x19d03a)&&(_0x356462==null?void 0x0:_0x356462[_0x553f23(0x1b6)]())===_0x1a3fb7[_0x553f23(0x2cd)]&&((_0x1be407=_0x356462['getActiveSheet']())==null?void 0x0:_0x1be407[_0x553f23(0x4c1)]())===_0x1a3fb7[_0x553f23(0x2b0)];};}[_0x57fb15(0x18a)](_0x43c303,_0x5d2b76){const _0x1bd451=_0x57fb15;var _0x94994d;let _0x22f0e8=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x43c303),_0x13d58b=(_0x94994d=this[_0x1bd451(0x182)][_0x1bd451(0x5a4)][_0x1bd451(0x268)](([_0x2ab0b3])=>_0x2ab0b3===_0x43c303))==null?void 0x0:_0x94994d[0x1],_0x10806d=_0x22f0e8?this['_getSceneAndTransformerByDrawingSearch'](_0x22f0e8[_0x1bd451(0x2cd)]):null;if(!_0x22f0e8||!_0x13d58b||!_0x10806d)return(0x0,_0x91c33f[_0x1bd451(0x624)])(()=>{});let _0x586399=(0x0,_0x2f0dad[_0x1bd451(0x191)])({'unitId':_0x22f0e8[_0x1bd451(0x2cd)],'subUnitId':_0x22f0e8[_0x1bd451(0x2b0)],'drawingId':_0x43c303});return new _0x53b71d(_0x5d2b76,{'onPointerDown':_0x13d58b[_0x1bd451(0x31c)],'onPointerMove':_0x13d58b[_0x1bd451(0x181)],'onPointerUp':_0x13d58b['onPointerUp']},_0x10806d[_0x1bd451(0x2f3)][_0x1bd451(0x1e7)][_0x1bd451(0x351)]((0x0,_0x1594a7[_0x1bd451(0x168)])(_0x966a55=>_0x966a55[_0x1bd451(0x662)][_0x1bd451(0x23a)](_0x586399)&&((_0x966a55[_0x1bd451(0x2f8)]??0x0)!==0x0||(_0x966a55['moveY']??0x0)!==0x0))),_0x1102fd=>this[_0x1bd451(0x182)][_0x1bd451(0x382)](_0x43c303,_0x1102fd));}[_0x57fb15(0x628)](_0x33ed57){const _0x20612c=_0x57fb15;this[_0x20612c(0x511)][_0x20612c(0x23a)](_0x33ed57)||(this['_activeDomReadyChartIds'][_0x20612c(0x2ce)](_0x33ed57),this[_0x20612c(0x47d)](_0x33ed57),this[_0x20612c(0x3dd)](_0x33ed57));}['_alignFloatDomPositionWithSceneRender'](_0x4f4fdc){const _0xbd433c=_0x57fb15;var _0x4dc883;let _0x420c2f=this[_0xbd433c(0x224)][_0xbd433c(0x37a)](_0x4f4fdc),_0x1e7df7=_0x420c2f?(_0x4dc883=this[_0xbd433c(0x61d)][_0xbd433c(0x623)](_0x420c2f[_0xbd433c(0x2cd)]))==null?void 0x0:_0x4dc883[_0xbd433c(0x5f6)]:null;if(!_0x420c2f||!_0x1e7df7)return;let _0x3a7911=(0x0,_0x1594a7[_0xbd433c(0x579)])(_0x420c2f[_0xbd433c(0x432)][_0xbd433c(0x351)]((0x0,_0x1594a7[_0xbd433c(0x538)])(0x1)),_0x1e7df7['afterRender$'][_0xbd433c(0x351)]((0x0,_0x1594a7[_0xbd433c(0x4cd)])(_0x420c2f[_0xbd433c(0x432)]),(0x0,_0x1594a7['map'])(([,_0x254d58])=>_0x254d58)))[_0xbd433c(0x351)]((0x0,_0x1594a7[_0xbd433c(0x1bb)])(),(0x0,_0x1594a7[_0xbd433c(0x35c)])(_0x3780ed));this[_0xbd433c(0x182)][_0xbd433c(0x382)](_0x4f4fdc,{'position$':_0x3a7911});}['_restoreFloatDomPositionStream'](_0x39512f){const _0x1ce2db=_0x57fb15;let _0x5aab25=this[_0x1ce2db(0x224)][_0x1ce2db(0x37a)](_0x39512f);_0x5aab25&&this[_0x1ce2db(0x182)][_0x1ce2db(0x382)](_0x39512f,{'position$':_0x5aab25['position$']});}[_0x57fb15(0x5fe)](_0x2d61c3){const _0x573fe6=_0x57fb15;let _0x2a9a2f=this[_0x573fe6(0x224)]['getFloatDomInfo'](_0x2d61c3);return _0x2a9a2f?{'unitId':_0x2a9a2f[_0x573fe6(0x2cd)],'subUnitId':_0x2a9a2f[_0x573fe6(0x2b0)],'chartId':_0x2d61c3}:null;}['_requestChartCanvasRender'](_0x2d938e){const _0x265016=_0x57fb15;var _0x582d3d,_0x58f40a,_0xb122a3;let _0x1018a5=this[_0x265016(0x224)][_0x265016(0x37a)](_0x2d938e);if(!_0x1018a5)return;let _0x42793e=(_0x582d3d=this[_0x265016(0x61d)][_0x265016(0x623)](_0x1018a5[_0x265016(0x2cd)]))==null?void 0x0:_0x582d3d['scene'],_0x32f7b2=(_0x42793e==null||(_0x58f40a=_0x42793e[_0x265016(0x1ec)])==null?void 0x0:_0x58f40a[_0x265016(0x59f)](_0x42793e,(0x0,_0x2f0dad[_0x265016(0x191)])({'unitId':_0x1018a5[_0x265016(0x2cd)],'subUnitId':_0x1018a5[_0x265016(0x2b0)],'drawingId':_0x2d938e})))??(_0x42793e==null?void 0x0:_0x42793e['getObject']((0x0,_0x2f0dad['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x1018a5[_0x265016(0x2cd)],'subUnitId':_0x1018a5['subUnitId'],'drawingId':_0x2d938e})))??null;_0x32f7b2==null||(_0xb122a3=_0x32f7b2[_0x265016(0x400)])==null||_0xb122a3['call'](_0x32f7b2,!0x0),_0x42793e==null||_0x42793e['makeDirty'](!0x0);}['_getHostPlacement'](_0x10c087){const _0x3996cf=_0x57fb15;let _0x3c0385=this[_0x3996cf(0x224)][_0x3996cf(0x37a)](_0x10c087);if(!_0x3c0385)return null;let _0x6d957f=this[_0x3996cf(0x391)](_0x3c0385[_0x3996cf(0x2cd)]),_0x231ea0=_0x6d957f==null?void 0x0:_0x6d957f[_0x3996cf(0x5f6)],_0x57ba9a=document[_0x3996cf(0x4b1)](_0x3c0385['domId']??_0x10c087);return _0x53ef2f(_0x3c0385[_0x3996cf(0x4e0)],{'scaleX':(_0x231ea0==null?void 0x0:_0x231ea0[_0x3996cf(0x295)])??0x1,'scaleY':(_0x231ea0==null?void 0x0:_0x231ea0[_0x3996cf(0x379)])??0x1},_0x57ba9a?{'left':_0x57ba9a['offsetLeft'],'top':_0x57ba9a[_0x3996cf(0x212)]}:void 0x0);}[_0x57fb15(0x218)](){const _0x5e7850=_0x57fb15;this[_0x5e7850(0x611)]||(Array['from'](this[_0x5e7850(0x244)][_0x5e7850(0x3b6)]())[_0x5e7850(0x3f4)](_0x51b6d4=>this[_0x5e7850(0x4a3)](_0x51b6d4)),this[_0x5e7850(0x511)][_0x5e7850(0x2cc)](),this['_removeHost$'][_0x5e7850(0x22e)](),super[_0x5e7850(0x218)]());}};_0x3cfb41=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x32fb7d[_0x57fb15(0x64c)])),_0x1314c8(0x1,(0x0,_0x91c33f['Inject'])(_0x548848[_0x57fb15(0x483)])),_0x1314c8(0x2,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x475470)),_0x1314c8(0x3,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x256211[_0x57fb15(0x4f9)])),_0x1314c8(0x4,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x172)])),_0x1314c8(0x5,_0x91c33f[_0x57fb15(0x5db)]),_0x1314c8(0x6,_0x339595['ISheetDrawingService'])],_0x3cfb41);let _0x48d613=(0x0,_0x91c33f[_0x57fb15(0x62d)])('sheets-chart-ui.host.provider'),_0x6a01f6=_0x1e7e6c['ChartRenderMode']['Image'];var _0x555661=class extends _0x1e7e6c[_0x57fb15(0x280)]{constructor(_0x542d14,_0xdc3324){const _0x3697f0=_0x57fb15;super(_0x542d14),this[_0x3697f0(0x1bc)]=_0xdc3324,_0x53ca96(this,'_version',0x0),_0x53ca96(this,_0x3697f0(0x195),void 0x0),_0x53ca96(this,'style',{});}[_0x57fb15(0x1f3)](){const _0x5960e0=_0x57fb15;return this[_0x5960e0(0x1bc)];}[_0x57fb15(0x642)](_0x3e1135){const _0x4c4650=_0x57fb15;this[_0x4c4650(0x225)]=_0x3e1135;}[_0x57fb15(0x203)](){const _0x22bd2f=_0x57fb15;return++this[_0x22bd2f(0x4c2)];}[_0x57fb15(0x506)](_0x5cf11e,_0x734128){const _0x2c244c=_0x57fb15;return _0x734128===this[_0x2c244c(0x4c2)]?(_0xc2a0d5(this[_0x2c244c(0x195)]),this[_0x2c244c(0x195)]=_0x5cf11e,!0x0):(_0xc2a0d5(_0x5cf11e),!0x1);}[_0x57fb15(0x1a2)](){}[_0x57fb15(0x626)](){const _0x43e7e3=_0x57fb15;this[_0x43e7e3(0x4c2)]+=0x1;}[_0x57fb15(0x5e9)](){const _0xc75b72=_0x57fb15;let _0x42bbe6=this['_image'];return this[_0xc75b72(0x195)]=void 0x0,_0x42bbe6;}['dispose'](){const _0x4986c7=_0x57fb15;_0xc2a0d5(this['_image']),this[_0x4986c7(0x195)]=void 0x0,super['dispose']();}};function _0x2ce520(_0x41d5c7,_0x1353b5,_0x1a1744){const _0x43b205=_0x57fb15;let _0x1078aa=_0x41d5c7[_0x43b205(0x1cd)](_0x1353b5),_0xf578f6={..._0x41d5c7['style'],'runtime':{..._0x1078aa,'layoutInset':0x8,..._0x1a1744===void 0x0?{}:{'addWatermark':_0x1a1744}},'direction':_0x1353b5};return(0x0,_0x1e7e6c[_0x43b205(0x5df)])(_0xf578f6,_0x41d5c7[_0x43b205(0x4b5)]);}let _0x4878a6=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x2c2b43,_0x174d48,_0x31cd77,_0x4e3536,_0x36097d,_0x4ed0f3,_0x30ec8a,_0x1d02ce,_0x5345f2,_0x40e28e,_0x2b6e48,_0x5947d6,_0x42ddaa,_0x2f1814,_0x458384,_0xb06036,_0x426e6a){const _0x440921=_0x57fb15;super(),this[_0x440921(0x394)]=_0x2c2b43,this[_0x440921(0x224)]=_0x174d48,this[_0x440921(0x297)]=_0x31cd77,this[_0x440921(0x1dd)]=_0x4e3536,this[_0x440921(0x3bc)]=_0x36097d,this[_0x440921(0x602)]=_0x4ed0f3,this['_drawingManagerService']=_0x30ec8a,this[_0x440921(0x437)]=_0x1d02ce,this[_0x440921(0x61d)]=_0x5345f2,this[_0x440921(0x4ff)]=_0x40e28e,this['_localeService']=_0x2b6e48,this[_0x440921(0x53c)]=_0x5947d6,this[_0x440921(0x497)]=_0x42ddaa,this[_0x440921(0x357)]=_0x2f1814,this['_configService']=_0x458384,this[_0x440921(0x2b6)]=_0xb06036,this['_renderModelManager']=_0x426e6a,_0x53ca96(this,_0x440921(0x192),new Map()),_0x53ca96(this,_0x440921(0x4ef),new Map()),_0x53ca96(this,_0x440921(0x25e),new Map()),_0x53ca96(this,_0x440921(0x1e0),new Map()),_0x53ca96(this,_0x440921(0x478),new Map()),_0x53ca96(this,_0x440921(0x5e7),new Map()),_0x53ca96(this,_0x440921(0x49f),new Map()),_0x53ca96(this,_0x440921(0x1c2),void 0x0),_0x53ca96(this,'_lastRenderInputMap',new Map()),_0x53ca96(this,_0x440921(0x438),new Set()),_0x53ca96(this,'_dataUpdateAnimationTimers',new Map()),_0x53ca96(this,_0x440921(0x64a),new Map()),_0x53ca96(this,'_chartSheetPresentation',null),_0x53ca96(this,_0x440921(0x34e),null),_0x53ca96(this,_0x440921(0x2fc),null),_0x53ca96(this,_0x440921(0x512),!0x1),_0x53ca96(this,_0x440921(0x3f3),null),_0x53ca96(this,_0x440921(0x431),null);let _0x8874c4=this[_0x440921(0x302)][_0x440921(0x2bc)](_0x94af28['SHEETS_CHART_PLUGIN_CONFIG_KEY']);this[_0x440921(0x1c2)]=(_0x8874c4==null?void 0x0:_0x8874c4['chartRenderMode'])??_0x6a01f6,this['_registerChartImageRenderObjectFactory'](),this[_0x440921(0x4d1)](),this['_initDrawingDeactivationListener'](),this[_0x440921(0x5c1)](),this['handleActiveSubUnitChange']();}get[_0x57fb15(0x59b)](){const _0x17108d=_0x57fb15;return this[_0x17108d(0x260)]!==null;}[_0x57fb15(0x346)](_0x160262){const _0x21153a=_0x57fb15;var _0x536b7a;(_0x536b7a=this[_0x21153a(0x34e)])==null||_0x536b7a['dispose']();let _0x716950=(0x0,_0x91c33f[_0x21153a(0x624)])(()=>{const _0x3f709f=_0x21153a;this[_0x3f709f(0x34e)]===_0x716950&&(_0x160262[_0x3f709f(0x46e)](),this['_chartSheetRegistration']=null,this['_chartSheetPresentation']=null,this['_primaryDomComposition']=null,this[_0x3f709f(0x2a0)]());});return this[_0x21153a(0x260)]=_0x160262,this[_0x21153a(0x34e)]=_0x716950,this['_reconcileChartResources'](),this[_0x21153a(0x221)](),_0x716950;}[_0x57fb15(0x1a0)](_0x1ee85e){let _0x5284a2=this['_getChartSnapshotKey'](_0x1ee85e);return _0x5284a2?this['_chartSnapshotStoreService']['getImage'](_0x5284a2):void 0x0;}[_0x57fb15(0x640)](_0x3cb442){const _0x5b5e9a=_0x57fb15;var _0x29a008,_0x160a97,_0x400b2a,_0x549c34,_0x1c2e67;let _0x2366bb=(_0x29a008=this[_0x5b5e9a(0x297)][_0x5b5e9a(0x214)])==null?void 0x0:_0x29a008['id'];return _0x2366bb===_0x3cb442||_0x2366bb&&this['_isPrimaryChart'](_0x2366bb)&&((_0x160a97=this['_getChartSnapshotKey'](_0x3cb442))==null?void 0x0:_0x160a97['unitId'])===((_0x400b2a=this[_0x5b5e9a(0x5fe)](_0x2366bb))==null?void 0x0:_0x400b2a[_0x5b5e9a(0x2cd)])&&((_0x549c34=this[_0x5b5e9a(0x5fe)](_0x3cb442))==null?void 0x0:_0x549c34[_0x5b5e9a(0x2b0)])===((_0x1c2e67=this[_0x5b5e9a(0x5fe)](_0x2366bb))==null?void 0x0:_0x1c2e67[_0x5b5e9a(0x2b0)])?_0x1e7e6c[_0x5b5e9a(0x21d)]['Dom']:this[_0x5b5e9a(0x1c2)];}[_0x57fb15(0x5fe)](_0x644783){const _0x1578bd=_0x57fb15;let _0x47c988=this[_0x1578bd(0x224)][_0x1578bd(0x37a)](_0x644783);return _0x47c988?{'unitId':_0x47c988['unitId'],'subUnitId':_0x47c988['subUnitId'],'chartId':_0x644783}:null;}['_registerChartImageRenderObjectFactory'](){const _0x1bda74=_0x57fb15;this[_0x1bda74(0x55e)](this[_0x1bda74(0x224)]['registerRenderObjectFactory'](_0x91c33f[_0x1bda74(0x461)][_0x1bda74(0x1cc)],({key:_0x5131aa,config:_0x5713be,unitId:_0x32e844,subUnitId:_0x1f4908,drawingId:_0x35b8f5})=>{const _0x2d23fb=_0x1bda74;var _0x3bcca7;let _0x171bcb=(_0x3bcca7=this['_univerInstanceService'][_0x2d23fb(0x1bd)](_0x32e844,_0x91c33f[_0x2d23fb(0x366)][_0x2d23fb(0x648)]))==null?void 0x0:_0x3bcca7['getSheetBySheetId'](_0x1f4908);return this[_0x2d23fb(0x1c2)]!==_0x1e7e6c[_0x2d23fb(0x21d)][_0x2d23fb(0x219)]&&(_0x171bcb==null?void 0x0:_0x171bcb['getConfig']()[_0x2d23fb(0x434)])!==_0x91c33f[_0x2d23fb(0x55a)][_0x2d23fb(0x60f)]?new _0x548848[(_0x2d23fb(0x211))](_0x5131aa,_0x5713be):new _0x3ec4f8(_0x5131aa,_0x5713be,()=>{const _0x36c7e3=_0x2d23fb;if((_0x171bcb==null?void 0x0:_0x171bcb[_0x36c7e3(0x2bc)]()[_0x36c7e3(0x434)])!==_0x91c33f['SheetTypes']['CHART']||this[_0x36c7e3(0x260)])return this[_0x36c7e3(0x2b6)]['getImage']({'unitId':_0x32e844,'subUnitId':_0x1f4908,'chartId':_0x35b8f5});},()=>this['_chartHostProvider'][_0x2d23fb(0x59e)](_0x35b8f5),void 0x0,()=>(0x0,_0x94af28[_0x2d23fb(0x551)])(this[_0x2d23fb(0x53c)]));}));}['_initActiveChartModelListener'](){const _0x436f19=_0x57fb15;this['disposeWithMe'](this[_0x436f19(0x297)][_0x436f19(0x18d)][_0x436f19(0x18f)](_0x178044=>{const _0x262b39=_0x436f19;let _0x3bbcfe=(_0x178044==null?void 0x0:_0x178044['id'])??null,_0x267de0=this[_0x262b39(0x3f3)];if(_0x267de0===_0x3bbcfe)return;_0x267de0&&(this[_0x262b39(0x394)][_0x262b39(0x4bc)](_0x267de0),this[_0x262b39(0x4a0)](_0x267de0),this['_disposeChartDomInstance'](_0x267de0));let _0x37f231=_0x3bbcfe&&this[_0x262b39(0x392)](_0x3bbcfe),_0x4573d5=this[_0x262b39(0x2fc)]!=null||_0x267de0&&this[_0x262b39(0x392)](_0x267de0)||_0x37f231;this[_0x262b39(0x2fc)]=_0x37f231?this[_0x262b39(0x64a)][_0x262b39(0x49e)](_0x3bbcfe)??null:null,this[_0x262b39(0x3f3)]=_0x3bbcfe,_0x3bbcfe&&(this['_deactivateDataUpdateAnimation'](_0x3bbcfe),this['_chartHostProvider'][_0x262b39(0x4bc)](_0x3bbcfe),this['_applyActiveChartRuntimeZIndex'](_0x3bbcfe),_0x4573d5||this['_rerenderLatest'](_0x3bbcfe)),!_0x4573d5&&_0x267de0&&this[_0x262b39(0x1c2)]===_0x1e7e6c[_0x262b39(0x21d)]['Dom']&&this['_rerenderLatest'](_0x267de0),_0x4573d5&&this['_resourceBindings'][_0x262b39(0x3f4)](_0x13f6a1=>this['_renderBoundChart'](_0x13f6a1));}));}[_0x57fb15(0x54d)](){const _0x3587d0=_0x57fb15;this[_0x3587d0(0x55e)](this['_drawingManagerService'][_0x3587d0(0x352)][_0x3587d0(0x18f)](_0x11e26b=>{const _0x5d7079=_0x3587d0;var _0x5edf12;let _0x2b0c3c=(_0x5edf12=this[_0x5d7079(0x297)]['activeChartModel'])==null?void 0x0:_0x5edf12['id'];_0x2b0c3c&&_0x11e26b[_0x5d7079(0x493)](_0xf99fc1=>_0xf99fc1['children'][_0x5d7079(0x493)](_0xba08c9=>_0xba08c9[_0x5d7079(0x358)]===_0x2b0c3c))&&this['_chartModelService'][_0x5d7079(0x2e6)](null);})),this[_0x3587d0(0x55e)](this['_drawingManagerService']['featurePluginUngroupUpdate$']['subscribe'](_0x12344a=>{const _0x8ee977=_0x3587d0;var _0x428dfa;let _0x233035=(_0x428dfa=this['_chartModelService'][_0x8ee977(0x214)])==null?void 0x0:_0x428dfa['id'];_0x233035&&_0x12344a[_0x8ee977(0x493)](_0x3fd4ea=>_0x3fd4ea[_0x8ee977(0x487)]['drawingId']===_0x233035||_0x3fd4ea[_0x8ee977(0x2c2)][_0x8ee977(0x493)](_0x460aa0=>_0x460aa0[_0x8ee977(0x358)]===_0x233035))&&this[_0x8ee977(0x297)][_0x8ee977(0x2e6)](null);}));}[_0x57fb15(0x5c1)](){const _0x547b8a=_0x57fb15;this[_0x547b8a(0x55e)](this[_0x547b8a(0x2d7)][_0x547b8a(0x50e)]['subscribe'](({unitId:_0x4f3f93,subUnitId:_0x56cb2d})=>{const _0x5507dd=_0x547b8a;var _0x573845;((_0x573845=this[_0x5507dd(0x431)])==null?void 0x0:_0x573845[_0x5507dd(0x2cd)])===_0x4f3f93&&this[_0x5507dd(0x431)][_0x5507dd(0x2b0)]===_0x56cb2d&&this[_0x5507dd(0x3ce)](_0x4f3f93,_0x56cb2d)&&this['_queueResourceReconciliation']();})),this[_0x547b8a(0x55e)](this[_0x547b8a(0x2d7)]['featurePluginOrderUpdate$'][_0x547b8a(0x18f)](_0x3dce7a=>{const _0x4c25e1=_0x547b8a;var _0x1ff8fd;let _0x537d4a=(_0x1ff8fd=this[_0x4c25e1(0x297)][_0x4c25e1(0x214)])==null?void 0x0:_0x1ff8fd['id'];if(this['_getPrimaryChartModel'](_0x3dce7a[_0x4c25e1(0x2cd)],_0x3dce7a[_0x4c25e1(0x2b0)])){this[_0x4c25e1(0x2a0)]();return;}if(!_0x537d4a){_0x3dce7a[_0x4c25e1(0x48c)][_0x4c25e1(0x3f4)](_0x1a60a9=>{const _0x383baa=_0x4c25e1;this[_0x383baa(0x297)][_0x383baa(0x401)](_0x1a60a9)&&this[_0x383baa(0x4a0)](_0x1a60a9);});return;}let _0x4dc921=this[_0x4c25e1(0x224)][_0x4c25e1(0x37a)](_0x537d4a);(_0x4dc921==null?void 0x0:_0x4dc921[_0x4c25e1(0x2cd)])===_0x3dce7a[_0x4c25e1(0x2cd)]&&_0x4dc921[_0x4c25e1(0x2b0)]===_0x3dce7a[_0x4c25e1(0x2b0)]&&this[_0x4c25e1(0x5fb)](_0x537d4a);})),this[_0x547b8a(0x55e)](this[_0x547b8a(0x2d7)][_0x547b8a(0x43a)][_0x547b8a(0x18f)](_0xd88c8=>{const _0x5eaede=_0x547b8a;var _0xc1dab2;let _0x1ea021=(_0xc1dab2=this[_0x5eaede(0x297)]['activeChartModel'])==null?void 0x0:_0xc1dab2['id'];if(!_0x1ea021)return;let _0x329e38=this[_0x5eaede(0x224)]['getFloatDomInfo'](_0x1ea021);_0x329e38&&_0xd88c8[_0x5eaede(0x493)](_0x2e5333=>_0x2e5333['unitId']===_0x329e38[_0x5eaede(0x2cd)]&&_0x2e5333[_0x5eaede(0x2b0)]===_0x329e38[_0x5eaede(0x2b0)])&&this[_0x5eaede(0x5fb)](_0x1ea021);})),this[_0x547b8a(0x55e)](this['_chartModelService'][_0x547b8a(0x4bb)][_0x547b8a(0x18f)](_0x40a0cc=>{const _0x3e6cbd=_0x547b8a;var _0x55a9a2;this[_0x3e6cbd(0x64a)][_0x3e6cbd(0x27c)](_0x40a0cc),this[_0x3e6cbd(0x221)](),this[_0x3e6cbd(0x1f2)](_0x40a0cc),this[_0x3e6cbd(0x52e)](_0x40a0cc),this['_chartEventHandlers'][_0x3e6cbd(0x27c)](_0x40a0cc),this['_deactivateDataUpdateAnimation'](_0x40a0cc),this[_0x3e6cbd(0x17a)][_0x3e6cbd(0x27c)](_0x40a0cc),this[_0x3e6cbd(0x2b6)]['clearChart'](_0x40a0cc),this[_0x3e6cbd(0x1e5)](_0x40a0cc),this[_0x3e6cbd(0x394)][_0x3e6cbd(0x4bc)](_0x40a0cc),((_0x55a9a2=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x55a9a2['id'])===_0x40a0cc?this[_0x3e6cbd(0x297)][_0x3e6cbd(0x2e6)](null):this[_0x3e6cbd(0x4a0)](_0x40a0cc),this[_0x3e6cbd(0x4c9)](_0x40a0cc);}));}[_0x57fb15(0x2aa)](_0x3cf434){const _0x4840dc=_0x57fb15;let _0xe713d6=this[_0x4840dc(0x17a)][_0x4840dc(0x49e)](_0x3cf434);_0xe713d6&&this['render'](_0x3cf434,_0xe713d6[_0x4840dc(0x4f0)],_0xe713d6[_0x4840dc(0x225)])['catch'](_0x73afdc=>this[_0x4840dc(0x602)][_0x4840dc(0x32c)](_0x73afdc));}[_0x57fb15(0x16c)](_0x1172d7){const _0x1ed3e3=_0x57fb15;let _0x4dcca1=this['_chartInstanceMap'][_0x1ed3e3(0x49e)](_0x1172d7);(_0x4dcca1==null?void 0x0:_0x4dcca1['mode'])===_0x1ed3e3(0x39e)&&(this['_disposeChartEventSubscriptions'](_0x1172d7),_0x4dcca1[_0x1ed3e3(0x218)](),this[_0x1ed3e3(0x192)]['delete'](_0x1172d7)),this['_chartHostProvider'][_0x1ed3e3(0x4bc)](_0x1172d7),this[_0x1ed3e3(0x394)][_0x1ed3e3(0x4a3)](_0x1172d7);}[_0x57fb15(0x4c9)](_0x346bdf){const _0x2d53cf=_0x57fb15;let _0x382029=this[_0x2d53cf(0x192)]['get'](_0x346bdf);_0x382029&&(this[_0x2d53cf(0x52e)](_0x346bdf),_0x382029[_0x2d53cf(0x218)](),this[_0x2d53cf(0x192)][_0x2d53cf(0x27c)](_0x346bdf)),this[_0x2d53cf(0x394)][_0x2d53cf(0x4bc)](_0x346bdf),this[_0x2d53cf(0x394)][_0x2d53cf(0x4a3)](_0x346bdf);}[_0x57fb15(0x1e5)](_0x337c61){const _0x5e9981=_0x57fb15;var _0x559f76,_0x1dbfe6;(_0x559f76=this[_0x5e9981(0x647)][_0x5e9981(0x1bf)](_0x1e7e6c[_0x5e9981(0x633)]))==null||(_0x1dbfe6=_0x559f76[_0x5e9981(0x3a1)])==null||_0x1dbfe6['call'](_0x559f76,{'type':_0x5e9981(0x61a),'chartId':_0x337c61});}['_getChartRenderObject'](_0x5c8010,_0x1c8c99){const _0x2246c5=_0x57fb15;var _0x358be0;return((_0x358be0=_0x5c8010['getObjectIncludeInGroup'])==null?void 0x0:_0x358be0[_0x2246c5(0x59f)](_0x5c8010,_0x1c8c99))??_0x5c8010[_0x2246c5(0x3cb)](_0x1c8c99)??null;}['_getChartRenderObjectContext'](_0xd1fb60){const _0x85275e=_0x57fb15;var _0x58c87e;let _0x7db2ef=this[_0x85275e(0x224)][_0x85275e(0x37a)](_0xd1fb60);if(!_0x7db2ef)return null;let _0x485392=(_0x58c87e=this[_0x85275e(0x61d)]['getRenderUnitById'](_0x7db2ef[_0x85275e(0x2cd)]))==null?void 0x0:_0x58c87e['scene'];if(!_0x485392)return null;let _0x10e28f=this[_0x85275e(0x594)](_0x485392,(0x0,_0x2f0dad[_0x85275e(0x191)])({'unitId':_0x7db2ef['unitId'],'subUnitId':_0x7db2ef[_0x85275e(0x2b0)],'drawingId':_0xd1fb60}));return _0x10e28f?{'info':_0x7db2ef,'scene':_0x485392,'chartObject':_0x10e28f}:null;}[_0x57fb15(0x5b7)](_0x3b15e7,_0x10c784){const _0x4cf7e4=_0x57fb15;var _0x23fec6,_0x2a0a8f,_0x15847c,_0x329b5e;let _0x2eb8b2=this[_0x4cf7e4(0x256)](_0x3b15e7);_0x2eb8b2&&((_0x23fec6=(_0x2a0a8f=_0x2eb8b2['chartObject'])[_0x4cf7e4(0x16e)])==null||_0x23fec6[_0x4cf7e4(0x59f)](_0x2a0a8f,{'zIndex':_0x10c784}),(_0x15847c=(_0x329b5e=_0x2eb8b2[_0x4cf7e4(0x34f)])[_0x4cf7e4(0x400)])==null||_0x15847c[_0x4cf7e4(0x59f)](_0x329b5e,!0x0),_0x2eb8b2[_0x4cf7e4(0x5f6)][_0x4cf7e4(0x400)](!0x0),this['_chartHostProvider'][_0x4cf7e4(0x3e1)](_0x3b15e7));}[_0x57fb15(0x5fb)](_0x562202){const _0x156bdf=_0x57fb15;let _0x2d6094=this[_0x156bdf(0x224)][_0x156bdf(0x37a)](_0x562202);if(!_0x2d6094)return;let _0x4b6b1a=this[_0x156bdf(0x2d7)]['getDrawingOrder'](_0x2d6094[_0x156bdf(0x2cd)],_0x2d6094[_0x156bdf(0x2b0)]),_0x110e5b=this[_0x156bdf(0x3ce)](_0x2d6094[_0x156bdf(0x2cd)],_0x2d6094['subUnitId']);this[_0x156bdf(0x5b7)](_0x562202,(_0x110e5b==null?void 0x0:_0x110e5b['id'])===_0x562202?0x0:_0x4b6b1a[_0x156bdf(0x553)]+ +!!_0x110e5b);}[_0x57fb15(0x4a0)](_0x403852){const _0x3fa090=_0x57fb15;let _0x2facd0=this[_0x3fa090(0x224)][_0x3fa090(0x37a)](_0x403852);if(!_0x2facd0)return;let _0x540605=this[_0x3fa090(0x2d7)]['getDrawingOrder'](_0x2facd0[_0x3fa090(0x2cd)],_0x2facd0[_0x3fa090(0x2b0)]),_0x178285=this[_0x3fa090(0x3ce)](_0x2facd0[_0x3fa090(0x2cd)],_0x2facd0[_0x3fa090(0x2b0)]),_0x256f77=_0x540605[_0x3fa090(0x19b)](_0x403852),_0x5cc698=_0x256f77===-0x1?Math['max'](_0x540605[_0x3fa090(0x553)]-0x1,0x0):_0x256f77;this[_0x3fa090(0x5b7)](_0x403852,(_0x178285==null?void 0x0:_0x178285['id'])===_0x403852?0x0:_0x5cc698+ +!!_0x178285);}[_0x57fb15(0x2e1)](_0x2fad13,_0x79f5c4){const _0x4b9ea7=_0x57fb15;let _0xaa5d92=this['_sheetCanvasFloatDomManagerService'][_0x4b9ea7(0x37a)](_0x2fad13);if(_0x79f5c4[_0x4b9ea7(0x3d9)]!==void 0x0&&_0x79f5c4[_0x4b9ea7(0x271)]!==void 0x0&&_0xaa5d92){var _0x5bd541;let {unitId:_0x14dfa2,subUnitId:_0x3e65c8}=_0xaa5d92,_0x3a5767=this['_univerInstanceService']['getCurrentUnitOfType'](_0x91c33f[_0x4b9ea7(0x366)]['UNIVER_SHEET']);if((_0x3a5767==null?void 0x0:_0x3a5767[_0x4b9ea7(0x1b6)]())===_0x14dfa2&&((_0x5bd541=_0x3a5767[_0x4b9ea7(0x4a5)]())==null?void 0x0:_0x5bd541[_0x4b9ea7(0x4c1)]())===_0x3e65c8){let {width:_0x19d5d8,height:_0x783191}=_0x79f5c4,_0xe95fdb=this[_0x4b9ea7(0x297)][_0x4b9ea7(0x401)](_0x2fad13),_0x30e7ff=_0xe95fdb==null?void 0x0:_0xe95fdb[_0x4b9ea7(0x225)];(Math[_0x4b9ea7(0x4b0)](_0x19d5d8-((_0x30e7ff==null?void 0x0:_0x30e7ff[_0x4b9ea7(0x3d9)])||0x0))>0x1||Math[_0x4b9ea7(0x4b0)](_0x783191-((_0x30e7ff==null?void 0x0:_0x30e7ff[_0x4b9ea7(0x271)])||0x0))>0x1)&&(_0xe95fdb==null||_0xe95fdb[_0x4b9ea7(0x21e)]({..._0x30e7ff,'width':_0x19d5d8,'height':_0x783191}));}}}[_0x57fb15(0x397)](_0x4c92c6,_0x435fbd,_0x2e623d=0x0){const _0x562372=_0x57fb15;let _0x24e95d=this[_0x562372(0x5e7)][_0x562372(0x49e)](_0x4c92c6);_0x24e95d||(_0x24e95d=(0x0,_0x91c33f[_0x562372(0x5a7)])(_0x11d2ac=>{const _0x179bcb=_0x562372;this[_0x179bcb(0x2e1)](_0x4c92c6,_0x11d2ac);},_0x2e623d),this[_0x562372(0x5e7)][_0x562372(0x28d)](_0x4c92c6,_0x24e95d)),_0x24e95d(_0x435fbd);}[_0x57fb15(0x5ed)](){const _0x50f438=_0x57fb15;let _0x3fcfd6=()=>this[_0x50f438(0x221)]();this['disposeWithMe'](this['_lifecycleService']['lifecycle$'][_0x50f438(0x18f)](_0x350d22=>{const _0x416973=_0x50f438;_0x350d22>=_0x91c33f[_0x416973(0x3b2)][_0x416973(0x573)]&&_0x3fcfd6();})),this[_0x50f438(0x55e)](this['_commandService'][_0x50f438(0x26b)](_0x5712bd=>{const _0x56874d=_0x50f438;_0x5712bd['id']===_0x94af28['SetSheetChartMetadataMutation']['id']&&(this[_0x56874d(0x2a0)](),_0x3fcfd6());})),this[_0x50f438(0x55e)](this[_0x50f438(0x437)][_0x50f438(0x4f4)](_0x91c33f['UniverInstanceType'][_0x50f438(0x648)])[_0x50f438(0x351)]((0x0,_0x1594a7[_0x50f438(0x5e6)])(_0x2d9a85=>(_0x2d9a85==null?void 0x0:_0x2d9a85[_0x50f438(0x62e)])??(0x0,_0x1594a7['of'])(null)))[_0x50f438(0x18f)](()=>{const _0x13c110=_0x50f438;this[_0x13c110(0x2a0)](),_0x3fcfd6();})),this['disposeWithMe'](this[_0x50f438(0x437)][_0x50f438(0x3db)][_0x50f438(0x18f)](_0x3fcfd6)),this[_0x50f438(0x55e)](this[_0x50f438(0x437)][_0x50f438(0x49b)]['subscribe'](_0x3fcfd6)),this[_0x50f438(0x55e)](this[_0x50f438(0x297)][_0x50f438(0x2d5)][_0x50f438(0x18f)](_0x3fcfd6)),this[_0x50f438(0x55e)](this[_0x50f438(0x61d)][_0x50f438(0x652)][_0x50f438(0x18f)](_0x3fcfd6)),this[_0x50f438(0x55e)](this[_0x50f438(0x61d)]['disposed$'][_0x50f438(0x18f)](_0x515fc2=>{const _0x2aba9b=_0x50f438;for(let [_0x31c109,_0x2544db]of this[_0x2aba9b(0x64a)])_0x2544db[_0x2aba9b(0x57d)][_0x2aba9b(0x2cd)]===_0x515fc2&&this[_0x2aba9b(0x3cf)](_0x31c109);this[_0x2aba9b(0x5a5)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x50f438(0x43a)][_0x50f438(0x18f)](_0x3fcfd6)),this[_0x50f438(0x55e)](this[_0x50f438(0x224)][_0x50f438(0x43a)][_0x50f438(0x18f)](_0x3fcfd6)),this['disposeWithMe'](this[_0x50f438(0x224)][_0x50f438(0x539)][_0x50f438(0x18f)](({id:_0x281e88,value:_0xf560fb})=>{const _0x362e8e=_0x50f438;var _0x12024c;(_0x12024c=this[_0x362e8e(0x64a)][_0x362e8e(0x49e)](_0x281e88))==null||_0x12024c[_0x362e8e(0x57d)][_0x362e8e(0x4e0)][_0x362e8e(0x49a)](_0xf560fb),this[_0x362e8e(0x392)](_0x281e88)&&this[_0x362e8e(0x1ff)]();})),this[_0x50f438(0x55e)](this[_0x50f438(0x224)]['remove$'][_0x50f438(0x18f)](({id:_0x1c9c68})=>{const _0x14885d=_0x50f438;this[_0x14885d(0x3cf)](_0x1c9c68),_0x3fcfd6();})),this['disposeWithMe'](this[_0x50f438(0x2d7)][_0x50f438(0x1b9)][_0x50f438(0x18f)](_0x275040=>{const _0x102f80=_0x50f438;_0x275040[_0x102f80(0x3f4)](({drawingId:_0xe282e4})=>this[_0x102f80(0x3cf)](_0xe282e4)),_0x3fcfd6();})),this[_0x50f438(0x55e)]((0x0,_0x1594a7[_0x50f438(0x27f)])([this[_0x50f438(0x357)][_0x50f438(0x3ec)],this[_0x50f438(0x357)][_0x50f438(0x32f)]])[_0x50f438(0x18f)](()=>{const _0x472a97=_0x50f438;this[_0x472a97(0x64a)][_0x472a97(0x3f4)](_0x198195=>this['_renderBoundChart'](_0x198195));})),this[_0x50f438(0x2a0)]();}['_queueResourceReconciliation'](){const _0x1ccf95=_0x57fb15;this[_0x1ccf95(0x512)]||this[_0x1ccf95(0x611)]||(this[_0x1ccf95(0x512)]=!0x0,Promise[_0x1ccf95(0x315)]()['then'](()=>{const _0x31a2a1=_0x1ccf95;this[_0x31a2a1(0x512)]=!0x1,this[_0x31a2a1(0x611)]||this['_reconcileChartResources']();})['catch'](_0x5e585f=>this[_0x1ccf95(0x602)][_0x1ccf95(0x32c)](_0x5e585f)));}[_0x57fb15(0x2a0)](){const _0x13eed4=_0x57fb15;var _0x9d93da,_0x3d41be,_0x24253b;let _0x1a7a14=this[_0x13eed4(0x437)][_0x13eed4(0x615)](_0x91c33f[_0x13eed4(0x366)]['UNIVER_SHEET']),_0x256349=_0x1a7a14==null?void 0x0:_0x1a7a14['getActiveSheet'](),_0x5428fb=_0x1a7a14==null?void 0x0:_0x1a7a14['getUnitId'](),_0xe15267=_0x256349==null?void 0x0:_0x256349[_0x13eed4(0x4c1)](),_0x3e8268=_0x5428fb?this['_renderManagerService'][_0x13eed4(0x623)](_0x5428fb):null,_0x1236c5=(_0x256349==null?void 0x0:_0x256349['getConfig']()[_0x13eed4(0x434)])===_0x91c33f['SheetTypes'][_0x13eed4(0x60f)]&&!this[_0x13eed4(0x260)];for(let [_0x313755,_0x38f9e4]of this[_0x13eed4(0x64a)])(_0x1236c5||_0x38f9e4[_0x13eed4(0x57d)][_0x13eed4(0x2cd)]!==_0x5428fb||_0x38f9e4[_0x13eed4(0x57d)][_0x13eed4(0x2b0)]!==_0xe15267||_0x38f9e4[_0x13eed4(0x380)]!==_0x3e8268||_0x38f9e4[_0x13eed4(0x57d)]!==this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x313755)||_0x38f9e4[_0x13eed4(0x3fd)]!==this['_chartModelService'][_0x13eed4(0x401)](_0x313755))&&this[_0x13eed4(0x3cf)](_0x313755);if((((_0x9d93da=this[_0x13eed4(0x431)])==null?void 0x0:_0x9d93da[_0x13eed4(0x2cd)])!==_0x5428fb||((_0x3d41be=this[_0x13eed4(0x431)])==null?void 0x0:_0x3d41be['subUnitId'])!==_0xe15267)&&(this[_0x13eed4(0x5a5)](),this[_0x13eed4(0x431)]=_0x5428fb&&_0xe15267?{'unitId':_0x5428fb,'subUnitId':_0xe15267}:null),!_0x5428fb||!_0xe15267||!_0x3e8268||_0x1236c5){this['_clearPageFrame']();return;}let _0x2a7654=this[_0x13eed4(0x2d7)]['getDrawingData'](_0x5428fb,_0xe15267);for(let _0x252549 of Object[_0x13eed4(0x4b8)](_0x2a7654??{})){let _0x3c5247=this[_0x13eed4(0x297)][_0x13eed4(0x401)](_0x252549[_0x13eed4(0x358)]),_0x26f777=this[_0x13eed4(0x224)][_0x13eed4(0x37a)](_0x252549[_0x13eed4(0x358)]);_0x252549['drawingType']===_0x91c33f[_0x13eed4(0x461)][_0x13eed4(0x1cc)]&&_0x3c5247&&_0x26f777&&_0x26f777['unitId']===_0x5428fb&&_0x26f777[_0x13eed4(0x2b0)]===_0xe15267&&!this[_0x13eed4(0x64a)][_0x13eed4(0x23a)](_0x3c5247['id'])&&this[_0x13eed4(0x5e5)]({'model':_0x3c5247,'info':_0x26f777,'render':_0x3e8268});}this['_resourceBindings']['forEach']((_0x2ae0c1,_0xd48cc9)=>{const _0x43ca90=_0x13eed4;var _0x4e1271,_0xb8539,_0x465411;let {rect:_0xfe9ec1}=_0x2ae0c1[_0x43ca90(0x57d)];if(this[_0x43ca90(0x392)](_0xd48cc9)&&(((_0x4e1271=_0xfe9ec1[_0x43ca90(0x482)])==null?void 0x0:_0x4e1271[_0x43ca90(0x349)])!==!0x1||((_0xb8539=_0xfe9ec1[_0x43ca90(0x482)])==null?void 0x0:_0xb8539[_0x43ca90(0x233)])!==!0x1)){let _0x4012a6=_0xfe9ec1[_0x43ca90(0x482)];_0xfe9ec1[_0x43ca90(0x482)]={..._0x4012a6,'moveEnabled':!0x1,'resizeEnabled':!0x1},this[_0x43ca90(0x49f)][_0x43ca90(0x49e)](_0xd48cc9)['disposeWithMe']((0x0,_0x91c33f[_0x43ca90(0x624)])(()=>{const _0x921942=_0x43ca90;_0xfe9ec1['transformerConfig']={..._0xfe9ec1[_0x921942(0x482)],'moveEnabled':_0x4012a6==null?void 0x0:_0x4012a6[_0x921942(0x349)],'resizeEnabled':_0x4012a6==null?void 0x0:_0x4012a6[_0x921942(0x233)]};}));}((_0x465411=this[_0x43ca90(0x297)]['activeChartModel'])==null?void 0x0:_0x465411['id'])===_0xd48cc9?this['_applyActiveChartRuntimeZIndex'](_0xd48cc9):this[_0x43ca90(0x4a0)](_0xd48cc9);});let _0x2593ba=(_0x24253b=this[_0x13eed4(0x297)][_0x13eed4(0x214)])==null?void 0x0:_0x24253b['id'];this[_0x13eed4(0x2fc)]=_0x2593ba&&this[_0x13eed4(0x392)](_0x2593ba)?this[_0x13eed4(0x64a)][_0x13eed4(0x49e)](_0x2593ba)??null:null,this[_0x13eed4(0x1ff)]();}[_0x57fb15(0x5e5)](_0x52ef7f){const _0x5a57cf=_0x57fb15;var _0x1c8fbd;let {model:_0x239924,info:_0x463af2,render:_0x48feac}=_0x52ef7f,_0xfea290=_0x239924['id'];this['_resourceBindings'][_0x5a57cf(0x28d)](_0xfea290,_0x52ef7f);let _0x2f1286=new _0x91c33f[(_0x5a57cf(0x3a7))]();this[_0x5a57cf(0x49f)]['set'](_0xfea290,_0x2f1286);let _0x55d1c5=(_0x1c8fbd=this[_0x5a57cf(0x437)]['getUnit'](_0x463af2[_0x5a57cf(0x2cd)],_0x91c33f[_0x5a57cf(0x366)]['UNIVER_SHEET']))==null?void 0x0:_0x1c8fbd[_0x5a57cf(0x2cf)](_0x463af2[_0x5a57cf(0x2b0)]);if((_0x55d1c5==null?void 0x0:_0x55d1c5[_0x5a57cf(0x2bc)]()['type'])===_0x91c33f[_0x5a57cf(0x55a)][_0x5a57cf(0x60f)]){var _0x121b0f;let _0x24b336=(_0x121b0f=_0x463af2[_0x5a57cf(0x5cd)])==null?void 0x0:_0x121b0f[_0x5a57cf(0x429)];this[_0x5a57cf(0x224)][_0x5a57cf(0x57a)](_0xfea290,{..._0x24b336,'wheel':{..._0x24b336==null?void 0x0:_0x24b336[_0x5a57cf(0x356)],'passive':!0x1}}),_0x2f1286[_0x5a57cf(0x55e)]((0x0,_0x91c33f[_0x5a57cf(0x624)])(()=>{const _0x55e729=_0x5a57cf;this[_0x55e729(0x224)][_0x55e729(0x37a)](_0xfea290)===_0x463af2&&this[_0x55e729(0x224)]['updateFloatDomEventOptions'](_0xfea290,_0x24b336);}));}let _0x3dd4ec=new _0x3fddae(_0x463af2[_0x5a57cf(0x4e0)],_0x4d4208=>{const _0x3f269f=_0x5a57cf;this['_resourceBindings']['get'](_0xfea290)===_0x52ef7f&&(this[_0x3f269f(0x394)][_0x3f269f(0x3e1)](_0xfea290),this[_0x3f269f(0x1ff)](),_0x4d4208&&(this[_0x3f269f(0x397)](_0xfea290,{'width':_0x463af2['rect']['width'],'height':_0x463af2[_0x3f269f(0x4e0)][_0x3f269f(0x271)]},0x64),this[_0x3f269f(0x514)](_0x52ef7f)));});_0x2f1286[_0x5a57cf(0x55e)](_0x3dd4ec);let _0x4afa04,_0x2a08c3=_0x48feac['scene'][_0x5a57cf(0x452)]();_0x2f1286[_0x5a57cf(0x55e)](_0x2a08c3[_0x5a57cf(0x575)][_0x5a57cf(0x18f)](({objects:_0x4cc554})=>{const _0x4484b9=_0x5a57cf;_0x4afa04=_0x4cc554[_0x4484b9(0x23a)](_0x463af2[_0x4484b9(0x4e0)][_0x4484b9(0x26a)])?{'width':_0x463af2[_0x4484b9(0x4e0)][_0x4484b9(0x3d9)],'height':_0x463af2[_0x4484b9(0x4e0)][_0x4484b9(0x271)]}:void 0x0;})),_0x2f1286['disposeWithMe'](_0x2a08c3[_0x5a57cf(0x1f7)][_0x5a57cf(0x18f)](({objects:_0xa20c96})=>{const _0x13ba92=_0x5a57cf;let _0x396d6b=_0x4afa04;if(_0x4afa04=void 0x0,_0xa20c96[_0x13ba92(0x23a)](_0x463af2[_0x13ba92(0x4e0)][_0x13ba92(0x26a)])&&(_0x3dd4ec['scheduler'][_0x13ba92(0x4d6)](),_0x396d6b&&(_0x396d6b[_0x13ba92(0x3d9)]!==_0x463af2[_0x13ba92(0x4e0)][_0x13ba92(0x3d9)]||_0x396d6b[_0x13ba92(0x271)]!==_0x463af2[_0x13ba92(0x4e0)][_0x13ba92(0x271)]))){var _0x274324;(_0x274324=this[_0x13ba92(0x5e7)]['get'](_0xfea290))==null||_0x274324['cancel'](),this[_0x13ba92(0x2e1)](_0xfea290,{'width':_0x463af2[_0x13ba92(0x4e0)][_0x13ba92(0x3d9)],'height':_0x463af2['rect']['height']});}})),_0x2f1286[_0x5a57cf(0x55e)](_0x48feac[_0x5a57cf(0x5f6)][_0x5a57cf(0x2d8)][_0x5a57cf(0x2b9)](_0x4082cf=>{const _0x7851ae=_0x5a57cf;_0x4082cf['type']===_0x548848[_0x7851ae(0x253)][_0x7851ae(0x4ab)]&&this[_0x7851ae(0x394)][_0x7851ae(0x3e1)](_0xfea290);}));let _0x512668=(0x0,_0x91c33f[_0x5a57cf(0x5a7)])(()=>this['_renderBoundChart'](_0x52ef7f),0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});this[_0x5a57cf(0x478)][_0x5a57cf(0x28d)](_0xfea290,_0x512668),_0x2f1286[_0x5a57cf(0x55e)]((0x0,_0x1594a7['combineLatest'])([_0x239924[_0x5a57cf(0x417)],_0x239924[_0x5a57cf(0x2b7)],this[_0x5a57cf(0x266)][_0x5a57cf(0x32d)]])[_0x5a57cf(0x18f)](_0x512668)),this[_0x5a57cf(0x4a0)](_0xfea290);}['_renderBoundChart']({model:_0x89f963}){const _0x930e8f=_0x57fb15;var _0x9827f9;let _0x4b962e=_0x89f963[_0x930e8f(0x4f0)];_0x4b962e&&((_0x9827f9=_0x4b962e['category'])==null||_0x9827f9['items'][_0x930e8f(0x3f4)]((_0x1a9c85,_0x1532e5)=>{const _0x2614b3=_0x930e8f;_0x1a9c85[_0x2614b3(0x465)]||=this[_0x2614b3(0x266)]['t'](_0x2614b3(0x17f))+'\x20'+(_0x1532e5+0x1);}),_0x4b962e[_0x930e8f(0x571)][_0x930e8f(0x3f4)]((_0x547490,_0x36c3ad)=>{const _0x5a6e28=_0x930e8f;_0x547490['name']||=this[_0x5a6e28(0x266)]['t'](_0x5a6e28(0x65e))+'\x20'+(_0x36c3ad+0x1);}),this['render'](_0x89f963['id'],_0x4b962e,this['createRuntimeChartStyle'](_0x89f963,this['_localeService']['getDirection']()))[_0x930e8f(0x568)](_0x164378=>this['_logService'][_0x930e8f(0x32c)](_0x164378)));}[_0x57fb15(0x3cf)](_0x450837){const _0x2f9b81=_0x57fb15;var _0x506c5b;if(this[_0x2f9b81(0x64a)][_0x2f9b81(0x27c)](_0x450837)||this[_0x2f9b81(0x192)]['has'](_0x450837)||this['_lastRenderInputMap'][_0x2f9b81(0x23a)](_0x450837)){var _0x49a90e,_0x68a60c;(_0x49a90e=this['_renderModelManager']['getRenderModel'](_0x1e7e6c[_0x2f9b81(0x633)]))==null||(_0x68a60c=_0x49a90e[_0x2f9b81(0x3a1)])==null||_0x68a60c[_0x2f9b81(0x59f)](_0x49a90e,{'type':'detach','chartId':_0x450837});}this[_0x2f9b81(0x1f2)](_0x450837),this[_0x2f9b81(0x492)](_0x450837),this[_0x2f9b81(0x4c9)](_0x450837),this[_0x2f9b81(0x2b6)]['clearChart'](_0x450837),this[_0x2f9b81(0x17a)][_0x2f9b81(0x27c)](_0x450837),((_0x506c5b=this[_0x2f9b81(0x297)]['activeChartModel'])==null?void 0x0:_0x506c5b['id'])===_0x450837&&this['_chartModelService'][_0x2f9b81(0x2e6)](null);}[_0x57fb15(0x3ce)](_0x510949,_0x4889f1){const _0x1e32ca=_0x57fb15;var _0x4bc278;return(_0x4bc278=this[_0x1e32ca(0x260)])==null?void 0x0:_0x4bc278[_0x1e32ca(0x412)](_0x510949,_0x4889f1);}['_isPrimaryChart'](_0x1cf4d5){const _0x17c213=_0x57fb15;var _0x2bb66a;let _0x30a26a=this['_sheetCanvasFloatDomManagerService'][_0x17c213(0x37a)](_0x1cf4d5);return!!(_0x30a26a&&((_0x2bb66a=this['_getPrimaryChartModel'](_0x30a26a[_0x17c213(0x2cd)],_0x30a26a['subUnitId']))==null?void 0x0:_0x2bb66a['id'])===_0x1cf4d5);}[_0x57fb15(0x5a5)](){const _0x395db4=_0x57fb15;var _0x22898b;(_0x22898b=this[_0x395db4(0x260)])==null||_0x22898b[_0x395db4(0x46e)]();}['_updateChartPage'](){const _0x3d9d88=_0x57fb15;var _0x214382;let _0x39a4c2=this[_0x3d9d88(0x437)]['getCurrentUnitOfType'](_0x91c33f[_0x3d9d88(0x366)]['UNIVER_SHEET']),_0x496b65=_0x39a4c2==null?void 0x0:_0x39a4c2[_0x3d9d88(0x4a5)](),_0x512e8d=_0x39a4c2&&_0x496b65&&this[_0x3d9d88(0x3ce)](_0x39a4c2[_0x3d9d88(0x1b6)](),_0x496b65[_0x3d9d88(0x4c1)]()),_0x53191f=_0x512e8d&&this[_0x3d9d88(0x64a)][_0x3d9d88(0x49e)](_0x512e8d['id']);if(_0x53191f&&this[_0x3d9d88(0x64a)][_0x3d9d88(0x49e)](_0x53191f['model']['id'])===_0x53191f){var _0x1ab588;(_0x1ab588=this['_chartSheetPresentation'])==null||_0x1ab588[_0x3d9d88(0x161)](_0x53191f[_0x3d9d88(0x3fd)],_0x53191f['render'],_0x53191f[_0x3d9d88(0x57d)]);}(_0x214382=this['_chartSheetPresentation'])==null||_0x214382[_0x3d9d88(0x2a9)]();}[_0x57fb15(0x29f)](_0x2dcc04,_0x5e760b){const _0x152839=_0x57fb15;var _0x5c8a8f;_0x5e760b?this[_0x152839(0x1e0)][_0x152839(0x28d)](_0x2dcc04,!0x0):this['_chartElementEditMode'][_0x152839(0x27c)](_0x2dcc04),(_0x5c8a8f=this[_0x152839(0x192)][_0x152839(0x49e)](_0x2dcc04))==null||_0x5c8a8f[_0x152839(0x29f)](_0x5e760b);}async[_0x57fb15(0x304)](_0x30213a,_0x26472a){const _0x37408e=_0x57fb15;var _0x3644a4;let _0x450a1d=this[_0x37408e(0x17a)][_0x37408e(0x49e)](_0x30213a),_0x58f4c8=(_0x3644a4=this['_sheetCanvasFloatDomManagerService'][_0x37408e(0x37a)](_0x30213a))==null?void 0x0:_0x3644a4[_0x37408e(0x4e0)];if(_0x450a1d&&_0x58f4c8)return(await this['_renderModelManager'][_0x37408e(0x304)]({'chartId':_0x30213a,'config':_0x450a1d[_0x37408e(0x4f0)],'style':{..._0x450a1d['style'],'runtime':{..._0x450a1d[_0x37408e(0x225)][_0x37408e(0x4cb)],'addWatermark':(0x0,_0x94af28[_0x37408e(0x551)])(this[_0x37408e(0x53c)])}},'width':_0x58f4c8['width'],'height':_0x58f4c8[_0x37408e(0x271)]},_0x26472a))[_0x37408e(0x1df)];if((_0x26472a==null?void 0x0:_0x26472a[_0x37408e(0x4a2)])===_0x1e7e6c[_0x37408e(0x4cc)]['SVG'])return;let _0x4c9257=this[_0x37408e(0x57e)](_0x30213a);if(!_0x4c9257)return;if(!(0x0,_0x94af28[_0x37408e(0x551)])(this[_0x37408e(0x53c)]))return(0x0,_0x1e7e6c[_0x37408e(0x3fe)])(_0x4c9257);let _0x868f07;if(_0x4c9257['type']===_0x1e7e6c[_0x37408e(0x3a2)][_0x37408e(0x627)]){let _0x210c8a=new Image();await new Promise((_0x1a291f,_0x3ac951)=>{const _0x7ccec4=_0x37408e;_0x210c8a[_0x7ccec4(0x205)]=()=>_0x1a291f(),_0x210c8a[_0x7ccec4(0x645)]=()=>_0x3ac951(Error(_0x7ccec4(0x585))),_0x210c8a[_0x7ccec4(0x521)]=_0x4c9257['url'];}),_0x868f07=_0x210c8a;}else _0x868f07=_0x4c9257[_0x37408e(0x434)]===_0x1e7e6c[_0x37408e(0x3a2)]['Canvas']?_0x4c9257[_0x37408e(0x574)]:_0x4c9257[_0x37408e(0x569)];let _0x1892c9=document[_0x37408e(0x421)](_0x37408e(0x574));_0x1892c9[_0x37408e(0x3d9)]=_0x868f07['width'],_0x1892c9[_0x37408e(0x271)]=_0x868f07[_0x37408e(0x271)];let _0x3b36ae=_0x1892c9[_0x37408e(0x2c8)]('2d');if(!_0x3b36ae)throw Error(_0x37408e(0x442));_0x3b36ae[_0x37408e(0x5af)](_0x868f07,0x0,0x0);let _0x2bca35=(_0x58f4c8==null?void 0x0:_0x58f4c8['width'])??_0x1892c9[_0x37408e(0x3d9)],_0x2aa49e=(_0x58f4c8==null?void 0x0:_0x58f4c8['height'])??_0x1892c9[_0x37408e(0x271)];_0x3b36ae[_0x37408e(0x3d6)](_0x1892c9['width']/_0x2bca35,0x0,0x0,_0x1892c9[_0x37408e(0x271)]/_0x2aa49e,0x0,0x0);let _0x13133b=new _0x548848['UniverRenderingContext'](_0x3b36ae,{'canvasColorService':this[_0x37408e(0x53c)][_0x37408e(0x49e)](_0x548848[_0x37408e(0x2e7)])});return(0x0,_0xc90c13[_0x37408e(0x3aa)])({'getContext':()=>_0x13133b,'getWidth':()=>_0x2bca35,'getHeight':()=>_0x2aa49e}),_0x1892c9[_0x37408e(0x22a)](_0x37408e(0x257));}['on'](_0x41b5dd,_0x361326,_0xb44276){const _0x44d2ba=_0x57fb15;let _0x848f86=this[_0x44d2ba(0x4ef)][_0x44d2ba(0x49e)](_0x41b5dd);_0x848f86||(_0x848f86=new Map(),this[_0x44d2ba(0x4ef)][_0x44d2ba(0x28d)](_0x41b5dd,_0x848f86));let _0x2f160d=_0x848f86['get'](_0x361326);_0x2f160d||(_0x2f160d=new Set(),_0x848f86[_0x44d2ba(0x28d)](_0x361326,_0x2f160d)),_0x2f160d['add'](_0xb44276);let _0x5151d6=this[_0x44d2ba(0x192)][_0x44d2ba(0x49e)](_0x41b5dd);return _0x5151d6&&this[_0x44d2ba(0x176)](_0x41b5dd,_0x5151d6,_0x361326,_0xb44276),{'dispose':()=>{const _0x5d7b7f=_0x44d2ba;var _0x8289db;(_0x8289db=this[_0x5d7b7f(0x4ef)][_0x5d7b7f(0x49e)](_0x41b5dd))==null||(_0x8289db=_0x8289db[_0x5d7b7f(0x49e)](_0x361326))==null||_0x8289db[_0x5d7b7f(0x27c)](_0xb44276),this[_0x5d7b7f(0x237)](_0x41b5dd,_0x361326,_0xb44276);}};}[_0x57fb15(0x57e)](_0x5d03e4){const _0x31a487=_0x57fb15;let _0x1a479f=this[_0x31a487(0x437)]['getCurrentUnitOfType'](_0x91c33f[_0x31a487(0x366)]['UNIVER_SHEET']),_0x12da6c=_0x1a479f==null?void 0x0:_0x1a479f[_0x31a487(0x4a5)](),_0x1124a1=_0x1a479f==null?void 0x0:_0x1a479f[_0x31a487(0x1b6)](),_0x19e581=_0x12da6c==null?void 0x0:_0x12da6c[_0x31a487(0x4c1)]();if(_0x1124a1&&_0x19e581)return this[_0x31a487(0x2b6)]['getImage']({'unitId':_0x1124a1,'subUnitId':_0x19e581,'chartId':_0x5d03e4});}[_0x57fb15(0x5de)](_0x39378a,_0x551011){const _0x11049a=_0x57fb15;let _0x1ee84d=this[_0x11049a(0x4ef)][_0x11049a(0x49e)](_0x39378a);_0x1ee84d&&_0x1ee84d[_0x11049a(0x3f4)]((_0x537644,_0x317c68)=>{const _0x1dec87=_0x11049a;_0x537644[_0x1dec87(0x3f4)](_0x12dc2f=>this[_0x1dec87(0x176)](_0x39378a,_0x551011,_0x317c68,_0x12dc2f));});}['_bindChartEventHandler'](_0x53e64a,_0x1d2788,_0xe6bfac,_0x1ba80b){const _0x7e6d8a=_0x57fb15;let _0x49d770=this[_0x7e6d8a(0x25e)][_0x7e6d8a(0x49e)](_0x53e64a);_0x49d770||(_0x49d770=new Map(),this['_chartEventSubscriptions'][_0x7e6d8a(0x28d)](_0x53e64a,_0x49d770));let _0x22b90d=_0x49d770[_0x7e6d8a(0x49e)](_0xe6bfac);_0x22b90d||(_0x22b90d=new Map(),_0x49d770[_0x7e6d8a(0x28d)](_0xe6bfac,_0x22b90d)),_0x22b90d[_0x7e6d8a(0x23a)](_0x1ba80b)||_0x22b90d[_0x7e6d8a(0x28d)](_0x1ba80b,_0x1d2788['on'](_0xe6bfac,_0x1ba80b));}[_0x57fb15(0x237)](_0x4d244c,_0x271bc5,_0x1fd858){const _0x1a7998=_0x57fb15;var _0x259315,_0x3765c4;let _0x30f2ae=(_0x259315=this[_0x1a7998(0x25e)]['get'](_0x4d244c))==null?void 0x0:_0x259315[_0x1a7998(0x49e)](_0x271bc5);_0x30f2ae==null||(_0x3765c4=_0x30f2ae[_0x1a7998(0x49e)](_0x1fd858))==null||_0x3765c4[_0x1a7998(0x218)](),_0x30f2ae==null||_0x30f2ae[_0x1a7998(0x27c)](_0x1fd858);}['_disposeChartEventSubscriptions'](_0x3bfe33){const _0x16a90c=_0x57fb15;let _0x3ac5c0=this[_0x16a90c(0x25e)][_0x16a90c(0x49e)](_0x3bfe33);_0x3ac5c0==null||_0x3ac5c0[_0x16a90c(0x3f4)](_0x35aba9=>{const _0x9234b1=_0x16a90c;_0x35aba9[_0x9234b1(0x3f4)](_0x50ac78=>_0x50ac78['dispose']()),_0x35aba9[_0x9234b1(0x2cc)]();}),this['_chartEventSubscriptions']['delete'](_0x3bfe33);}['createRuntimeChartStyle'](_0x5b6b3f,_0x58dacc){const _0x20bf9d=_0x57fb15;let _0x4ab2b5=_0x2ce520(_0x5b6b3f,_0x58dacc,(0x0,_0x94af28[_0x20bf9d(0x551)])(this['_injector']));return _0x5b6b3f['id']&&this[_0x20bf9d(0x392)](_0x5b6b3f['id'])&&(_0x4ab2b5[_0x20bf9d(0x4cb)][_0x20bf9d(0x638)]=!0x0,_0x4ab2b5[_0x20bf9d(0x4cb)][_0x20bf9d(0x449)]=!0x1),_0x4ab2b5;}[_0x57fb15(0x1ac)](_0x59558f){const _0x2ca59e=_0x57fb15;return this[_0x2ca59e(0x2fa)](_0x59558f)==null;}['_getChartRenderSkipReason'](_0x55388a){const _0x5a5cd1=_0x57fb15;let _0x3a8c1f=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x55388a);if(!_0x3a8c1f)return _0x5a5cd1(0x5eb);let {unitId:_0xd7da23,subUnitId:_0x2385ff}=_0x3a8c1f,_0xf48543=this[_0x5a5cd1(0x437)][_0x5a5cd1(0x615)](_0x91c33f['UniverInstanceType'][_0x5a5cd1(0x648)]),_0x4dc639=_0xf48543==null?void 0x0:_0xf48543[_0x5a5cd1(0x4a5)]();if(!_0x4dc639)return _0x5a5cd1(0x5c9);if(_0x4dc639['getConfig']()[_0x5a5cd1(0x434)]===_0x91c33f[_0x5a5cd1(0x55a)][_0x5a5cd1(0x60f)]&&!this[_0x5a5cd1(0x260)])return _0x5a5cd1(0x23d);if((_0xf48543==null?void 0x0:_0xf48543[_0x5a5cd1(0x1b6)]())!==_0xd7da23||_0x4dc639['getSheetId']()!==_0x2385ff)return _0x5a5cd1(0x312);}async['render'](_0x1d1f2f,_0x29dda9,_0x2645a0,_0xa8c015={}){const _0x11d4ee=_0x57fb15;let _0x140055=this[_0x11d4ee(0x647)][_0x11d4ee(0x1bf)](_0x1e7e6c[_0x11d4ee(0x633)]);if(this[_0x11d4ee(0x611)]||!_0x140055)return;let _0x485283={..._0x2645a0,'runtime':{..._0x2645a0[_0x11d4ee(0x4cb)],'addWatermark':!0x1}},_0x5b7e2d=this['_lastRenderInputMap'][_0x11d4ee(0x49e)](_0x1d1f2f),_0x298e35={'config':_0x29dda9,'style':_0x485283};if(this[_0x11d4ee(0x17a)][_0x11d4ee(0x28d)](_0x1d1f2f,_0x298e35),this['_getChartRenderSkipReason'](_0x1d1f2f))return;let {canAnimate:_0x32add4,renderMode:_0x23547a,shouldStartTransientAnimation:_0x53afb6,transientAnimationActive:_0x1cfe5e}=this[_0x11d4ee(0x160)](_0x1d1f2f,_0x5b7e2d!=null,_0xa8c015[_0x11d4ee(0x258)]===!0x0);if(_0x23547a===_0x1e7e6c[_0x11d4ee(0x21d)]['Image'])this[_0x11d4ee(0x16c)](_0x1d1f2f);else{var _0x456bd4;this[_0x11d4ee(0x394)][_0x11d4ee(0x626)](_0x1d1f2f),((_0x456bd4=this[_0x11d4ee(0x297)]['activeChartModel'])==null?void 0x0:_0x456bd4['id'])===_0x1d1f2f&&this[_0x11d4ee(0x5fb)](_0x1d1f2f);}let _0x2fee73=this['_sheetCanvasFloatDomManagerService'][_0x11d4ee(0x37a)](_0x1d1f2f),_0x15304e=this[_0x11d4ee(0x297)]['getChartModel'](_0x1d1f2f),_0x1309b5=_0x2fee73?this[_0x11d4ee(0x61d)][_0x11d4ee(0x623)](_0x2fee73[_0x11d4ee(0x2cd)]):null,_0x1fc1aa=()=>!this[_0x11d4ee(0x611)]&&this['_lastRenderInputMap'][_0x11d4ee(0x49e)](_0x1d1f2f)===_0x298e35&&this['_sheetCanvasFloatDomManagerService'][_0x11d4ee(0x37a)](_0x1d1f2f)===_0x2fee73&&this[_0x11d4ee(0x297)][_0x11d4ee(0x401)](_0x1d1f2f)===_0x15304e&&(_0x2fee73?this[_0x11d4ee(0x61d)]['getRenderUnitById'](_0x2fee73[_0x11d4ee(0x2cd)]):null)===_0x1309b5&&this[_0x11d4ee(0x640)](_0x1d1f2f)===_0x23547a&&this[_0x11d4ee(0x1ac)](_0x1d1f2f),_0x2cf7df=_0x23547a===_0x1e7e6c['ChartRenderMode'][_0x11d4ee(0x219)]?_0x1e7e6c['ChartRenderMode'][_0x11d4ee(0x219)]:_0x1e7e6c['ChartRenderMode'][_0x11d4ee(0x581)];_0x485283[_0x11d4ee(0x4cb)][_0x11d4ee(0x4d8)]=_0x2cf7df===_0x1e7e6c[_0x11d4ee(0x21d)]['Dom']&&(0x0,_0x94af28[_0x11d4ee(0x551)])(this[_0x11d4ee(0x53c)]);let _0x14215c=await this[_0x11d4ee(0x394)][_0x11d4ee(0x59c)](_0x1d1f2f,_0x2cf7df);if(!_0x14215c||!_0x1fc1aa()){_0x53afb6&&this[_0x11d4ee(0x492)](_0x1d1f2f);return;}this[_0x11d4ee(0x394)][_0x11d4ee(0x25a)](_0x1d1f2f,_0x1cfe5e?_0x1e7e6c[_0x11d4ee(0x454)]:null);let _0x3ef168=this[_0x11d4ee(0x18c)](_0x1d1f2f,_0x2cf7df,_0x140055);_0x3ef168[_0x11d4ee(0x4b7)](_0x14215c);try{let _0x7b63a6={'chartId':_0x1d1f2f,'config':_0x29dda9,'style':_0x485283};if(_0x32add4&&_0x5b7e2d&&_0x3ef168['renderTransition']?await _0x3ef168[_0x11d4ee(0x4fb)]({'chartId':_0x1d1f2f,'config':_0x5b7e2d[_0x11d4ee(0x4f0)],'style':_0x5b7e2d[_0x11d4ee(0x225)]},_0x7b63a6,{'duration':_0x1e7e6c[_0x11d4ee(0x454)]}):await _0x3ef168[_0x11d4ee(0x380)](_0x7b63a6),!_0x1fc1aa()||this['_chartInstanceMap'][_0x11d4ee(0x49e)](_0x1d1f2f)!==_0x3ef168)return;await this['_cacheActiveDomChartSnapshot'](_0x1d1f2f,_0x23547a,_0x1fc1aa),_0x32add4&&_0x1cfe5e&&this[_0x11d4ee(0x378)](_0x1d1f2f);}catch(_0xa69f36){if(_0x53afb6&&this['_deactivateDataUpdateAnimation'](_0x1d1f2f),_0x23547a!==_0x1e7e6c[_0x11d4ee(0x21d)][_0x11d4ee(0x219)])throw _0xa69f36;}}async['_cacheActiveDomChartSnapshot'](_0x193fbc,_0x3890e3,_0x3f4fda){const _0x437ad0=_0x57fb15;var _0x3b25e5;if(_0x3890e3!==_0x1e7e6c[_0x437ad0(0x21d)][_0x437ad0(0x581)]||((_0x3b25e5=this[_0x437ad0(0x297)]['activeChartModel'])==null?void 0x0:_0x3b25e5['id'])!==_0x193fbc)return;let _0x34eb2a=await this['_chartHostProvider'][_0x437ad0(0x59c)](_0x193fbc,_0x1e7e6c[_0x437ad0(0x21d)][_0x437ad0(0x219)]);if(!_0x34eb2a||!_0x3f4fda())return;let _0x468ebd=this[_0x437ad0(0x17a)][_0x437ad0(0x49e)](_0x193fbc),_0x567046=_0x34eb2a['getRect']();if(!_0x468ebd||!_0x567046)return;let _0x48e1cb=_0x34eb2a[_0x437ad0(0x203)]();try{let {dataUrl:_0x57a894}=await this[_0x437ad0(0x647)][_0x437ad0(0x304)]({'chartId':_0x193fbc,'config':_0x468ebd[_0x437ad0(0x4f0)],'style':{..._0x468ebd[_0x437ad0(0x225)],'runtime':{..._0x468ebd['style']['runtime'],'addWatermark':!0x1}},'width':_0x567046['width'],'height':_0x567046[_0x437ad0(0x271)]});_0x57a894&&_0x3f4fda()&&_0x34eb2a[_0x437ad0(0x506)]({'type':_0x1e7e6c['ChartImageSourceType']['Url'],'url':_0x57a894},_0x48e1cb)&&_0x34eb2a[_0x437ad0(0x1a2)]();}catch{}}[_0x57fb15(0x160)](_0xe3b42b,_0x4385c4,_0x155228){const _0x24783c=_0x57fb15;let _0x21093f=this[_0x24783c(0x640)](_0xe3b42b),_0x4500bb=_0x21093f===_0x1e7e6c[_0x24783c(0x21d)][_0x24783c(0x581)]&&_0x155228&&_0x4385c4&&this[_0x24783c(0x245)](_0xe3b42b),_0x17a1ac=this[_0x24783c(0x438)]['has'](_0xe3b42b);return{'canAnimate':_0x4500bb,'renderMode':_0x17a1ac?_0x1e7e6c[_0x24783c(0x21d)]['Dom']:_0x21093f,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x17a1ac};}[_0x57fb15(0x245)](_0x397750){const _0xcf5c0c=_0x57fb15;var _0x291fbb,_0x1cd280,_0x590419,_0x343237;if(typeof document>'u'||typeof window>'u'||document[_0xcf5c0c(0x2f7)]===_0xcf5c0c(0x3ad)||(_0x291fbb=(_0x1cd280=window)[_0xcf5c0c(0x1af)])!=null&&(_0x291fbb=_0x291fbb[_0xcf5c0c(0x59f)](_0x1cd280,_0xcf5c0c(0x166)))!=null&&_0x291fbb['matches']||(_0x590419=(_0x343237=window)[_0xcf5c0c(0x1af)])!=null&&(_0x590419=_0x590419['call'](_0x343237,_0xcf5c0c(0x2d9)))!=null&&_0x590419[_0xcf5c0c(0x5f4)])return!0x1;let _0x25c3fd=this[_0xcf5c0c(0x394)][_0xcf5c0c(0x5c7)](_0x397750);return _0x25c3fd!=null&&_0x25c3fd[_0xcf5c0c(0x3d9)]>0x0&&_0x25c3fd[_0xcf5c0c(0x271)]>0x0&&_0x25c3fd[_0xcf5c0c(0x2be)]>0x0&&_0x25c3fd[_0xcf5c0c(0x447)]>0x0&&_0x25c3fd[_0xcf5c0c(0x65b)]<window[_0xcf5c0c(0x606)]&&_0x25c3fd[_0xcf5c0c(0x2d2)]<window[_0xcf5c0c(0x5ba)];}['_activateDataUpdateAnimation'](_0x22d82e){const _0x1becff=_0x57fb15;let _0xa83a4d=this['_dataUpdateAnimationTimers'][_0x1becff(0x49e)](_0x22d82e);_0xa83a4d&&(clearTimeout(_0xa83a4d),this[_0x1becff(0x333)][_0x1becff(0x27c)](_0x22d82e)),this[_0x1becff(0x438)][_0x1becff(0x2ce)](_0x22d82e),this[_0x1becff(0x394)][_0x1becff(0x25a)](_0x22d82e,_0x1e7e6c[_0x1becff(0x454)]);}[_0x57fb15(0x378)](_0x38fc7c){const _0xa4afbe=_0x57fb15;let _0x470e77=this[_0xa4afbe(0x333)][_0xa4afbe(0x49e)](_0x38fc7c);_0x470e77&&clearTimeout(_0x470e77);let _0x1d65aa=setTimeout(()=>{const _0x31a664=_0xa4afbe;this[_0x31a664(0x333)][_0x31a664(0x27c)](_0x38fc7c),this[_0x31a664(0x438)][_0x31a664(0x27c)](_0x38fc7c)&&(this[_0x31a664(0x394)][_0x31a664(0x25a)](_0x38fc7c,null),this[_0x31a664(0x16c)](_0x38fc7c),this[_0x31a664(0x2aa)](_0x38fc7c));},_0x1e7e6c[_0xa4afbe(0x454)]);this[_0xa4afbe(0x333)][_0xa4afbe(0x28d)](_0x38fc7c,_0x1d65aa);}['_deactivateDataUpdateAnimation'](_0x366f32){const _0x501e7b=_0x57fb15;let _0xabacc0=this['_dataUpdateAnimationTimers']['get'](_0x366f32);_0xabacc0&&(clearTimeout(_0xabacc0),this[_0x501e7b(0x333)][_0x501e7b(0x27c)](_0x366f32)),this[_0x501e7b(0x438)][_0x501e7b(0x27c)](_0x366f32),this[_0x501e7b(0x394)][_0x501e7b(0x25a)](_0x366f32,null);}async[_0x57fb15(0x2d4)](_0x46970a,_0xefa306,_0x554274){const _0x1397c1=_0x57fb15;let _0x599cbb=this[_0x1397c1(0x2d7)][_0x1397c1(0x440)](_0x46970a,_0xefa306),_0x581ab0=this['_drawingManagerService']['getDrawingOrder'](_0x46970a,_0xefa306),_0x3d1b7f=Object[_0x1397c1(0x4b8)](_0x599cbb??{})[_0x1397c1(0x168)](_0x25acca=>_0x25acca[_0x1397c1(0x2b4)]===_0x91c33f[_0x1397c1(0x461)]['DRAWING_CHART']&&_0x25acca['hidden']!==!0x0);await Promise['allSettled'](_0x3d1b7f[_0x1397c1(0x35c)](async _0x449790=>{const _0xa5ab11=_0x1397c1;let _0x215011=await this[_0xa5ab11(0x629)](_0x449790,_0x581ab0);_0x215011&&(_0x554274[_0xa5ab11(0x3f9)](_0x215011,_0x548848[_0xa5ab11(0x5e3)]),_0x449790['groupId']&&(0x0,_0x378823[_0xa5ab11(0x540)])({'drawingId':_0x449790['groupId'],'unitId':_0x46970a,'subUnitId':_0xefa306},_0x215011,_0x554274,this[_0xa5ab11(0x2d7)]));}));}async['_createPrintingChartObject'](_0x33fc0b,_0x34c605){const _0x47e5d3=_0x57fb15;let _0x41eda8=this[_0x47e5d3(0x297)][_0x47e5d3(0x401)](_0x33fc0b[_0x47e5d3(0x358)]),_0x1a69ad=this['_renderModelManager'][_0x47e5d3(0x1bf)](_0x1e7e6c[_0x47e5d3(0x633)]),_0x33bd69=_0x33fc0b['transform'],_0x5d3fdd=_0x41eda8==null?void 0x0:_0x41eda8[_0x47e5d3(0x4f0)];if(!_0x41eda8||!_0x1a69ad||!_0x33bd69||!_0x5d3fdd||_0x33bd69[_0x47e5d3(0x3d9)]==null||_0x33bd69[_0x47e5d3(0x271)]==null)return null;let _0xb552f9=new _0x555661(_0x33fc0b[_0x47e5d3(0x358)],{'width':_0x33bd69[_0x47e5d3(0x3d9)],'height':_0x33bd69[_0x47e5d3(0x271)]}),_0x428a83=_0x1a69ad[_0x47e5d3(0x39f)](_0x1e7e6c['ChartRenderMode'][_0x47e5d3(0x219)],this[_0x47e5d3(0x354)]());_0x428a83[_0x47e5d3(0x4b7)](_0xb552f9);let _0xf17e22;try{await _0x428a83[_0x47e5d3(0x380)]({'chartId':_0x33fc0b[_0x47e5d3(0x358)],'config':_0x5d3fdd,'style':_0x2ce520(_0x41eda8,this[_0x47e5d3(0x266)]['getDirection'](),!0x1)});}catch(_0xc07d2){console['error'](_0x47e5d3(0x475),_0xc07d2);}finally{_0xf17e22=_0xb552f9[_0x47e5d3(0x5e9)](),_0x428a83[_0x47e5d3(0x218)](),_0xb552f9['dispose']();}let _0x37b6bf=this['_chartSnapshotStoreService'][_0x47e5d3(0x16a)]({'unitId':_0x33fc0b[_0x47e5d3(0x2cd)],'subUnitId':_0x33fc0b[_0x47e5d3(0x2b0)],'chartId':_0x33fc0b['drawingId']}),_0x46077b=_0xf17e22??_0x37b6bf;if(!_0x46077b)return null;let _0x45392e=_0x34c605[_0x47e5d3(0x19b)](_0x33fc0b[_0x47e5d3(0x358)]);return new _0x3ec4f8((0x0,_0x2f0dad[_0x47e5d3(0x191)])(_0x33fc0b),{..._0x33bd69,..._0x32fb7d[_0x47e5d3(0x159)],..._0x592a2e(_0xb552f9[_0x47e5d3(0x225)]),'visible':!0x0,'zIndex':_0x45392e===-0x1?Math['max'](_0x34c605[_0x47e5d3(0x553)]-0x1,0x0):_0x45392e},()=>_0x46077b,void 0x0,_0xf17e22?()=>_0xc2a0d5(_0xf17e22):void 0x0);}[_0x57fb15(0x18c)](_0x2e828e,_0x5e8586,_0x369522){const _0x323e1f=_0x57fb15;let _0x177d9b=this[_0x323e1f(0x192)][_0x323e1f(0x49e)](_0x2e828e);if((_0x177d9b==null?void 0x0:_0x177d9b[_0x323e1f(0x47c)])===_0x5e8586)return _0x177d9b;_0x177d9b&&(this['_disposeChartEventSubscriptions'](_0x2e828e),_0x177d9b[_0x323e1f(0x218)](),this[_0x323e1f(0x192)][_0x323e1f(0x27c)](_0x2e828e));let _0x188bdc=_0x369522[_0x323e1f(0x39f)](_0x5e8586,this['_createChartRenderInstanceContext']());return this[_0x323e1f(0x192)][_0x323e1f(0x28d)](_0x2e828e,_0x188bdc),_0x188bdc[_0x323e1f(0x29f)](this[_0x323e1f(0x1e0)][_0x323e1f(0x49e)](_0x2e828e)===!0x0),this[_0x323e1f(0x5de)](_0x2e828e,_0x188bdc),_0x188bdc;}[_0x57fb15(0x354)](){const _0x7ab439=_0x57fb15;return{'resolveHostStyle':({chartId:_0x341fc4,style:_0x293f57})=>{const _0x2c6e40=_0xc181;var _0x41667b;let _0xaa292f=(0x0,_0x1e7e6c['resolveDefaultChartHostFrameStyle'])({'style':_0x293f57,'getRenderColor':_0x431134=>this[_0x2c6e40(0x497)][_0x2c6e40(0x2f6)](_0x431134)}),_0x489816=this[_0x2c6e40(0x224)]['getFloatDomInfo'](_0x341fc4),_0x2ace5f=_0x489816&&((_0x41667b=this[_0x2c6e40(0x437)][_0x2c6e40(0x1bd)](_0x489816[_0x2c6e40(0x2cd)],_0x91c33f[_0x2c6e40(0x366)][_0x2c6e40(0x648)]))==null?void 0x0:_0x41667b[_0x2c6e40(0x2cf)](_0x489816[_0x2c6e40(0x2b0)]));return(_0x2ace5f==null?void 0x0:_0x2ace5f[_0x2c6e40(0x2bc)]()[_0x2c6e40(0x434)])===_0x91c33f[_0x2c6e40(0x55a)]['CHART']&&(_0xaa292f['radius']=0x0),_0xaa292f;},'resolveRenderBackgroundColor':({style:_0x19c0ea})=>this['_chartThemeService'][_0x7ab439(0x2f6)]((0x0,_0x1e7e6c['resolveChartStyleBackgroundColor'])(_0x19c0ea))};}[_0x57fb15(0x1f2)](_0x4f5065){const _0x5036b4=_0x57fb15;var _0x132a1a,_0x1fa1d3,_0x3a95a2;(_0x132a1a=this[_0x5036b4(0x49f)][_0x5036b4(0x49e)](_0x4f5065))==null||_0x132a1a[_0x5036b4(0x218)](),this[_0x5036b4(0x49f)][_0x5036b4(0x27c)](_0x4f5065),(_0x1fa1d3=this[_0x5036b4(0x478)]['get'](_0x4f5065))==null||_0x1fa1d3[_0x5036b4(0x3e0)](),this['_renderDebounceMap'][_0x5036b4(0x27c)](_0x4f5065),(_0x3a95a2=this[_0x5036b4(0x5e7)][_0x5036b4(0x49e)](_0x4f5065))==null||_0x3a95a2[_0x5036b4(0x3e0)](),this[_0x5036b4(0x5e7)]['delete'](_0x4f5065);}[_0x57fb15(0x278)](){const _0x14b399=_0x57fb15;this['_renderDebounceMap'][_0x14b399(0x3f4)](_0x1b5b22=>_0x1b5b22[_0x14b399(0x3e0)]()),this[_0x14b399(0x478)][_0x14b399(0x2cc)](),this[_0x14b399(0x5e7)]['forEach'](_0x5381a6=>_0x5381a6[_0x14b399(0x3e0)]()),this[_0x14b399(0x5e7)]['clear']();}[_0x57fb15(0x218)](){const _0x1a6da4=_0x57fb15;var _0x12928c;this['_disposed']||((_0x12928c=this[_0x1a6da4(0x34e)])==null||_0x12928c[_0x1a6da4(0x218)](),super[_0x1a6da4(0x218)](),this[_0x1a6da4(0x17a)]['forEach']((_0x23fa98,_0x5d7ab4)=>this[_0x1a6da4(0x2b6)][_0x1a6da4(0x53d)](_0x5d7ab4)),this[_0x1a6da4(0x5a5)](),this[_0x1a6da4(0x64a)][_0x1a6da4(0x2cc)](),this[_0x1a6da4(0x2fc)]=null,this[_0x1a6da4(0x49f)]['forEach'](_0x2d7f04=>_0x2d7f04['dispose']()),this[_0x1a6da4(0x49f)][_0x1a6da4(0x2cc)](),this['_dataUpdateAnimationTimers'][_0x1a6da4(0x3f4)](_0x7f4671=>clearTimeout(_0x7f4671)),this[_0x1a6da4(0x333)]['clear'](),this[_0x1a6da4(0x438)][_0x1a6da4(0x2cc)](),Array[_0x1a6da4(0x4e7)](this['_chartInstanceMap'][_0x1a6da4(0x3b6)]())[_0x1a6da4(0x3f4)](_0x1e082d=>this[_0x1a6da4(0x4c9)](_0x1e082d)),this[_0x1a6da4(0x4ef)][_0x1a6da4(0x2cc)](),this[_0x1a6da4(0x1e0)][_0x1a6da4(0x2cc)](),this['_cancelDebouncedCallbacks'](),this[_0x1a6da4(0x17a)]['clear'](),this['_activeChartId']=null,this[_0x1a6da4(0x431)]=null);}};_0x4878a6=_0x12534c([_0x1314c8(0x0,_0x48d613),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x32fb7d['SheetCanvasFloatDomManagerService'])),_0x1314c8(0x2,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x172)])),_0x1314c8(0x3,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28['SheetsChartService'])),_0x1314c8(0x4,_0x91c33f['ICommandService']),_0x1314c8(0x5,_0x91c33f[_0x57fb15(0x545)]),_0x1314c8(0x6,_0x2f0dad[_0x57fb15(0x62c)]),_0x1314c8(0x7,_0x91c33f[_0x57fb15(0x5db)]),_0x1314c8(0x8,(0x0,_0x91c33f['Inject'])(_0x548848[_0x57fb15(0x483)])),_0x1314c8(0x9,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x23e)])),_0x1314c8(0xa,(0x0,_0x91c33f['Inject'])(_0x91c33f[_0x57fb15(0x658)])),_0x1314c8(0xb,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f['Injector'])),_0x1314c8(0xc,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x1e7e6c[_0x57fb15(0x61c)])),_0x1314c8(0xd,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x229)])),_0x1314c8(0xe,_0x91c33f[_0x57fb15(0x5d0)]),_0x1314c8(0xf,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x475470)),_0x1314c8(0x10,_0x1e7e6c[_0x57fb15(0x422)])],_0x4878a6);let _0x3748b6={'type':_0x91c33f['CommandType']['COMMAND'],'id':'sheet.command.menu-insert-chart','handler':async(_0x3b653f,_0xa68dc4)=>{const _0x556a31=_0x57fb15;if(!_0xa68dc4||typeof _0xa68dc4[_0x556a31(0x38d)]!=_0x556a31(0x37d)||_0xa68dc4[_0x556a31(0x38d)]===_0x1e7e6c[_0x556a31(0x5a6)][_0x556a31(0x2af)]||_0x1e7e6c[_0x556a31(0x5a6)][_0xa68dc4[_0x556a31(0x38d)]]===void 0x0)return!0x1;let _0x5d2a2d=(0x0,_0x43e32e[_0x556a31(0x2d6)])(_0x3b653f['get'](_0x91c33f[_0x556a31(0x5db)]));if(!_0x5d2a2d||!_0x5da869(_0x3b653f,_0x5d2a2d[_0x556a31(0x2cd)],_0x5d2a2d[_0x556a31(0x2b0)]))return!0x1;let _0x466e19=_0x3b653f[_0x556a31(0x49e)](_0x91c33f[_0x556a31(0x34c)]),{unitId:_0x1c4cad,subUnitId:_0x343f93,worksheet:_0x5efaad}=_0x5d2a2d,_0x4b1a9a=_0x5efaad['getConfig']()['type']??_0x91c33f[_0x556a31(0x55a)]['GRID'],{pieSecondaryPlotType:_0x2122a3,value:_0x100c35}=_0xa68dc4,_0xb9352e=_0x2122a3!==void 0x0;if(_0xb9352e&&(_0x100c35!==_0x1e7e6c['ChartTypeBits']['Pie']||_0x2122a3!==_0x1e7e6c[_0x556a31(0x505)][_0x556a31(0x471)]&&_0x2122a3!==_0x1e7e6c['PieSecondaryPlotType'][_0x556a31(0x3c3)]))return!0x1;let _0x3434f3=_0xb9352e?{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x2122a3}}}}:void 0x0;if(_0x4b1a9a===_0x91c33f['SheetTypes'][_0x556a31(0x60f)]){var _0x57b70c;let _0x24bb37=_0x1b6278(_0x3b653f);if(!_0x24bb37)return!0x1;let _0x209413=_0x3434f3,_0x1e1746=(_0x57b70c=_0x24bb37[_0x556a31(0x225)][_0x556a31(0x614)])==null?void 0x0:_0x57b70c['composite'];return!_0xb9352e&&_0x1e7e6c[_0x556a31(0x60c)][_0x556a31(0x36e)](_0x100c35,_0x1e7e6c['ChartTypeBits'][_0x556a31(0x471)])&&_0x1e1746&&_0x1e1746['enabled']!==!0x1&&(_0x209413={'pie':{'composite':{'enabled':!0x1}}}),_0x466e19[_0x556a31(0x5f0)](_0x94af28[_0x556a31(0x450)]['id'],{'unitId':_0x1c4cad,'chartModelId':_0x24bb37['id'],'chartType':_0x100c35,..._0x209413?{'style':_0x209413}:{}});}if(_0x4b1a9a!==_0x91c33f['SheetTypes']['GRID'])return!0x1;let _0x332265=_0x3b653f[_0x556a31(0x49e)](_0x43e32e[_0x556a31(0x467)])[_0x556a31(0x48e)]();if(!_0x332265)return!0x1;let {range:_0x41a331}=_0x332265,_0x8d1623=_0xb9352e?(0x0,_0x91c33f[_0x556a31(0x47e)])():void 0x0;return _0x466e19[_0x556a31(0x5f0)](_0x94af28['InsertChartCommand']['id'],{'unitId':_0x1c4cad,'subUnitId':_0x343f93,'chartType':_0x100c35,..._0x8d1623&&_0x2122a3?{'chartId':_0x8d1623,'config':{'unitId':_0x1c4cad,'chartModelId':_0x8d1623,'style':_0x3434f3}}:{},'source':{'rangeInfo':{'unitId':_0x41a331['unitId']??_0x1c4cad,'subUnitId':_0x41a331['sheetId']??_0x343f93,'range':_0x41a331}}});}};function _0x5da869(_0x165703,_0x55acbf,_0x2bb838){const _0x52f83c=_0x57fb15;return _0x165703[_0x52f83c(0x49e)](_0x43e32e[_0x52f83c(0x5be)])[_0x52f83c(0x40a)]({'workbookTypes':[_0x43e32e[_0x52f83c(0x557)]],'worksheetTypes':[_0x43e32e[_0x52f83c(0x2f4)]]},_0x55acbf,_0x2bb838);}function _0x1b6278(_0x263437){const _0x38abe6=_0x57fb15;var _0x78cab3;let _0x4564e4=(0x0,_0x43e32e[_0x38abe6(0x2d6)])(_0x263437[_0x38abe6(0x49e)](_0x91c33f[_0x38abe6(0x5db)]));if(!_0x4564e4||_0x4564e4[_0x38abe6(0x584)]['getConfig']()[_0x38abe6(0x434)]!==_0x91c33f[_0x38abe6(0x55a)][_0x38abe6(0x60f)]||!_0x263437[_0x38abe6(0x49e)](_0x4878a6)[_0x38abe6(0x59b)]||!_0x5da869(_0x263437,_0x4564e4[_0x38abe6(0x2cd)],_0x4564e4[_0x38abe6(0x2b0)]))return;let {unitId:_0x16734e,subUnitId:_0x4e20bd}=_0x4564e4,_0x83fbed=_0x263437['get'](_0x94af28[_0x38abe6(0x27b)]),_0x3965cb=_0x263437['get'](_0x2f0dad[_0x38abe6(0x62c)]),_0x44001b=_0x3965cb[_0x38abe6(0x17c)]();if(_0x44001b[_0x38abe6(0x553)]>0x1)return;let _0xd4f180=_0x44001b[0x0],_0xc894d2=(_0xd4f180==null?void 0x0:_0xd4f180['drawingId'])??((_0x78cab3=_0x83fbed['getPrimaryChartModel'](_0x16734e,_0x4e20bd))==null?void 0x0:_0x78cab3['id']);if(!_0xc894d2||_0xd4f180&&(_0xd4f180[_0x38abe6(0x2cd)]!==_0x16734e||_0xd4f180['subUnitId']!==_0x4e20bd))return;let _0x121587=_0x3965cb['getDrawingByParam']({'unitId':_0x16734e,'subUnitId':_0x4e20bd,'drawingId':_0xc894d2});if(_0x121587&&_0x121587[_0x38abe6(0x2b4)]===_0x91c33f[_0x38abe6(0x461)][_0x38abe6(0x1cc)]&&!_0x121587[_0x38abe6(0x441)]&&_0x83fbed[_0x38abe6(0x4cf)](_0x16734e,_0xc894d2)===_0x4e20bd)return _0x83fbed[_0x38abe6(0x401)](_0xc894d2);}function _0x64e93f(_0x54f9dd,_0xc8be74){const _0x10e36f=_0x57fb15;if(_0x54f9dd==null)return'';if(Array[_0x10e36f(0x4f6)](_0x54f9dd)){var _0x193b7b;let _0x3d4bc1=(_0x193b7b=_0x54f9dd[0x0])==null?void 0x0:_0x193b7b[_0x10e36f(0x523)];return _0x3d4bc1?_0x52f5db(_0x3d4bc1,_0xc8be74):'';}return _0x52f5db(_0x54f9dd[_0x10e36f(0x20f)],_0xc8be74);}function _0x52f5db(_0x38442c,_0x15a665){const _0x4c8f77=_0x57fb15;var _0x1689d0;let {unitId:_0x249a5c,subUnitId:_0x29c3bb,range:_0x1d465d}=_0x38442c,_0x130caa=(_0x1689d0=_0x15a665[_0x4c8f77(0x1bd)](_0x249a5c))==null?void 0x0:_0x1689d0[_0x4c8f77(0x2cf)](_0x29c3bb);if(!_0x130caa)return'';let _0x367d9d=_0x130caa[_0x4c8f77(0x5fa)]();return(0x0,_0xf9b09f['serializeRangeWithSheet'])(_0x367d9d,_0x1d465d);}let _0x3d758f=_0x36d079[_0x57fb15(0x609)][_0x57fb15(0x35c)](_0x5c8d8f=>({'id':'id'in _0x5c8d8f?_0x5c8d8f['id']:void 0x0,'labelId':_0x5c8d8f[_0x57fb15(0x226)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x5c8d8f?_0x5c8d8f[_0x57fb15(0x308)]:void 0x0,'value':_0x5c8d8f['value'],'icon':_0x5c8d8f['iconName']}));function _0x11d54c(_0x274904=_0x3d758f){const _0x3646e5=_0x57fb15;return _0x274904[_0x3646e5(0x35c)](({id:_0x438385,icon:_0x5a64f3,value:_0x350ba5})=>{const _0x4a81d2=_0x3646e5;let _0x1280cf=(0x0,_0x36d079['resolveChartCreationIntent'])(_0x438385??String(_0x350ba5)),_0x2ff9cf=_0x1280cf?{'value':_0x1280cf[_0x4a81d2(0x4b5)],..._0x1280cf['pieSecondaryPlotType']?{'pieSecondaryPlotType':_0x1280cf[_0x4a81d2(0x308)]}:{}}:{'value':_0x350ba5};return{'icon':_0x5a64f3,'value':_0x438385??_0x350ba5,'params':_0x2ff9cf};});}let _0x4e20b2=(_0x21fd69,_0x9bb2ed)=>{const _0x29d7f7=_0x57fb15;if(_0x9bb2ed['length']===0x1&&_0x9bb2ed[0x0]===_0x29d7f7(0x3da))return _0x21fd69;let _0x52cd57=new Set();for(let _0x5426ab of _0x9bb2ed)_0x52cd57[_0x29d7f7(0x2ce)](Number(_0x5426ab));return _0x21fd69['filter'](_0x5de1da=>_0x52cd57[_0x29d7f7(0x23a)](_0x5de1da[_0x29d7f7(0x38d)]));};function _0x4cc099(_0x275cc5){const _0x486a0a=_0x57fb15;let _0xc7fca7=_0x275cc5[_0x486a0a(0x49e)](_0x94af28[_0x486a0a(0x172)]);return(0x0,_0x1594a7[_0x486a0a(0x579)])(_0x275cc5[_0x486a0a(0x49e)](_0x91c33f[_0x486a0a(0x4b3)])[_0x486a0a(0x515)],_0x275cc5[_0x486a0a(0x49e)](_0x91c33f['IConfigService'])[_0x486a0a(0x41b)](_0xc90c13['LS_CONFIG_KEY']),_0x275cc5[_0x486a0a(0x49e)](_0x2f0dad[_0x486a0a(0x62c)])[_0x486a0a(0x4ca)],_0xc7fca7['activeChartModel$'],_0xc7fca7[_0x486a0a(0x2d5)],_0xc7fca7[_0x486a0a(0x4bb)])[_0x486a0a(0x351)]((0x0,_0x1594a7[_0x486a0a(0x463)])(null));}function _0x4bd13b(_0x24cca8,_0x3fa4aa){const _0x2c291e=_0x57fb15;return(0x0,_0x1594a7['combineLatest'])([(0x0,_0x256211[_0x2c291e(0x48f)])(_0x24cca8,_0x91c33f['UniverInstanceType'][_0x2c291e(0x648)]),(0x0,_0x3d68f4[_0x2c291e(0x287)])(_0x24cca8[_0x2c291e(0x49e)](_0x91c33f[_0x2c291e(0x5db)]),!0x0,({worksheet:_0x4c37e6})=>_0x4cc099(_0x24cca8)[_0x2c291e(0x351)]((0x0,_0x1594a7[_0x2c291e(0x35c)])(()=>(_0x4c37e6[_0x2c291e(0x2bc)]()[_0x2c291e(0x434)]??_0x91c33f['SheetTypes'][_0x2c291e(0x255)])!==(_0x3fa4aa?_0x91c33f['SheetTypes'][_0x2c291e(0x60f)]:_0x91c33f[_0x2c291e(0x55a)][_0x2c291e(0x255)]))))])['pipe']((0x0,_0x1594a7[_0x2c291e(0x35c)])(([_0x233505,_0x15fe8f])=>_0x233505||_0x15fe8f),(0x0,_0x1594a7[_0x2c291e(0x1bb)])());}function _0x4112af(_0x1148cd){const _0xea6982=_0x57fb15;return _0x1148cd['get'](_0x91c33f[_0xea6982(0x5d0)])[_0xea6982(0x41b)](_0xc90c13[_0xea6982(0x48d)])['pipe']((0x0,_0x1594a7['startWith'])(null),(0x0,_0x1594a7[_0xea6982(0x35c)])(()=>{const _0x4f1aa3=_0xea6982;let _0x392f89=_0x4e20b2(_0x3d758f[_0x4f1aa3(0x36c)](),(0x0,_0x94af28['getAllowedChartTypes'])(_0x1148cd));return _0x11d54c(_0x392f89)['map']((_0x39d09f,_0x74d13c)=>({'icon':_0x39d09f[_0x4f1aa3(0x53b)],'value':_0x39d09f['value'],'params':_0x39d09f[_0x4f1aa3(0x1e1)],'label':_0x4f1aa3(0x17e)+_0x392f89[_0x74d13c][_0x4f1aa3(0x226)]}));}));}function _0x2cefc0(_0x304802){const _0x1baea3=_0x57fb15;return{'id':_0x3748b6['id'],'type':_0x256211[_0x1baea3(0x457)][_0x1baea3(0x544)],'selectionsCommandId':_0x3748b6['id'],'selections':_0x4112af(_0x304802),'icon':_0x1baea3(0x21a),'tooltip':_0x1baea3(0x1d6),'hidden$':_0x4bd13b(_0x304802,!0x1),'disabled$':(0x0,_0x3d68f4['getCurrentRangeDisable$'])(_0x304802)};}let _0x35cda9=(0x0,_0x91c33f[_0x57fb15(0x62d)])('sheets-chart.ui.service'),_0x20e21f=class extends _0x36d079[_0x57fb15(0x4b4)]{constructor(_0x4adb00,_0x5e3a03,_0x50335a,_0x2e2124,_0x30ee4e,_0x1ee7bd,_0x35c007){const _0x5e4e81=_0x57fb15;super(_0x35c007),this[_0x5e4e81(0x297)]=_0x4adb00,this['_sheetsChartService']=_0x5e3a03,this[_0x5e4e81(0x3bc)]=_0x50335a,this[_0x5e4e81(0x437)]=_0x2e2124,this['_injector']=_0x30ee4e,this[_0x5e4e81(0x328)]=_0x1ee7bd,_0x53ca96(this,_0x5e4e81(0x162),!0x1),_0x53ca96(this,'_chartEditorOpen$',new _0x1594a7['BehaviorSubject'](!0x1)),_0x53ca96(this,_0x5e4e81(0x649),new _0x1594a7[(_0x5e4e81(0x39a))](null)),_0x53ca96(this,_0x5e4e81(0x4a6),this[_0x5e4e81(0x28c)][_0x5e4e81(0x561)]()),_0x53ca96(this,_0x5e4e81(0x3f2),this[_0x5e4e81(0x649)][_0x5e4e81(0x561)]());}get[_0x57fb15(0x5d4)](){const _0x306f73=_0x57fb15;return this[_0x306f73(0x297)]['activeChartModel']??null;}get[_0x57fb15(0x654)](){const _0x1303cc=_0x57fb15;return this[_0x1303cc(0x28c)][_0x1303cc(0x292)]();}get['rangeSelectMode'](){const _0x1b3d1e=_0x57fb15;return this[_0x1b3d1e(0x162)];}[_0x57fb15(0x398)](_0x48f8cb){const _0x3b940c=_0x57fb15;this[_0x3b940c(0x162)]=_0x48f8cb;}['setChartEditorOpen'](_0x186aef){const _0x336511=_0x57fb15;this[_0x336511(0x28c)][_0x336511(0x292)]()!==_0x186aef&&this[_0x336511(0x28c)]['next'](_0x186aef);}[_0x57fb15(0x44b)](_0x15a5c0){const _0x3678a0=_0x57fb15;var _0x1c05c0;return this[_0x3678a0(0x654)]&&((_0x1c05c0=this[_0x3678a0(0x297)][_0x3678a0(0x214)])==null?void 0x0:_0x1c05c0['id'])===_0x15a5c0;}[_0x57fb15(0x58b)](_0x19ee49,_0x16767e){const _0x21565d=_0x57fb15;this[_0x21565d(0x649)][_0x21565d(0x179)]({'chartId':_0x19ee49,'route':_0x16767e});}[_0x57fb15(0x56c)](){const _0x5783b7=_0x57fb15;this[_0x5783b7(0x649)][_0x5783b7(0x179)](null);}[_0x57fb15(0x4a1)](_0x20ca67){const _0x3f190a=_0x57fb15;for(let _0x40a026 of this[_0x3f190a(0x437)][_0x3f190a(0x5f2)](_0x91c33f['UniverInstanceType']['UNIVER_SHEET'])){let _0xbacd07=_0x40a026['getUnitId'](),_0x289ca3=this[_0x3f190a(0x1dd)]['getSubUnitId'](_0xbacd07,_0x20ca67);if(_0x289ca3)return{'unitId':_0xbacd07,'subUnitId':_0x289ca3};}return null;}[_0x57fb15(0x27a)](_0x3ffcb8){const _0x54d7f0=_0x57fb15;let _0x1787c5=this[_0x54d7f0(0x297)][_0x54d7f0(0x214)];_0x1787c5&&this[_0x54d7f0(0x554)]({'chartModelId':_0x1787c5['id'],'range':_0x3ffcb8});}async[_0x57fb15(0x249)](_0xddd86a,_0xfbd97f,_0x5f20c0){const _0x31c207=_0x57fb15;let _0x53e655=this['_sheetsChartService']['getSubUnitId'](_0xddd86a,_0xfbd97f);_0x53e655&&await this['_injector']['get'](_0x435ef2['GlobalRangeSelectorService'])[_0x31c207(0x39c)]({'unitId':_0xddd86a,'subUnitId':_0x53e655,'initialValue':_0x5f20c0,'maxRangeCount':0x1,'supportAcrossSheet':!0x0,'callback':_0x52e52f=>{const _0x3775f6=_0x31c207;if(_0x52e52f['length']!==0x1||!this[_0x3775f6(0x437)][_0x3775f6(0x1bd)](_0xddd86a)||!this[_0x3775f6(0x1dd)][_0x3775f6(0x4cf)](_0xddd86a,_0xfbd97f))return;let _0x4a0b62=_0x52e52f[0x0],_0x323892=_0x4a0b62[_0x3775f6(0x2cd)]||_0xddd86a,_0x5affab=this[_0x3775f6(0x437)][_0x3775f6(0x1bd)](_0x323892),_0x59f631=_0x4a0b62[_0x3775f6(0x25d)]?_0x5affab==null?void 0x0:_0x5affab[_0x3775f6(0x425)](_0x4a0b62[_0x3775f6(0x25d)]):_0x5affab==null?void 0x0:_0x5affab[_0x3775f6(0x2cf)](_0x53e655);_0x59f631&&(0x0,_0x91c33f['isValidRange'])(_0x4a0b62[_0x3775f6(0x523)],_0x59f631)&&this[_0x3775f6(0x554)]({'chartModelId':_0xfbd97f,'range':{'rangeInfo':{'unitId':_0x323892,'subUnitId':_0x59f631['getSheetId'](),'range':_0x4a0b62[_0x3775f6(0x523)]}}});}});}[_0x57fb15(0x44f)](_0x3c3089){const _0x314dd8=_0x57fb15;let _0x565198=this[_0x314dd8(0x297)][_0x314dd8(0x214)];if(!_0x565198)return;let _0x804e01=this[_0x314dd8(0x1dd)][_0x314dd8(0x222)](_0x565198['id']);if(!_0x804e01||Array['isArray'](_0x804e01))return;let _0x2068e2={..._0x804e01,'isRowDirection':_0x3c3089===_0x1e7e6c[_0x314dd8(0x4ac)]['Row']};this[_0x314dd8(0x554)]({'chartModelId':_0x565198['id'],'range':_0x2068e2});}['executeChartUpdateConfig'](_0x4df36d){const _0x17c658=_0x57fb15;let _0x332aab=this[_0x17c658(0x4a1)](_0x4df36d[_0x17c658(0x180)]);_0x332aab&&this[_0x17c658(0x3bc)][_0x17c658(0x31e)](_0x94af28[_0x17c658(0x450)]['id'],{..._0x4df36d,'unitId':_0x332aab['unitId']});}[_0x57fb15(0x554)](_0x5c0a5f){const _0x46500c=_0x57fb15;let _0x39a9b2=this[_0x46500c(0x4a1)](_0x5c0a5f[_0x46500c(0x180)]),_0x116565=Array['isArray'](_0x5c0a5f[_0x46500c(0x523)])?_0x5c0a5f[_0x46500c(0x523)][_0x46500c(0x35c)](_0x5ba4eb=>_0x5ba4eb[_0x46500c(0x523)]):[_0x5c0a5f[_0x46500c(0x523)]['rangeInfo']];_0x39a9b2&&!_0x116565[_0x46500c(0x493)](_0x4cdebc=>!this[_0x46500c(0x1ad)](_0x4cdebc))&&this[_0x46500c(0x3bc)][_0x46500c(0x31e)](_0x94af28['ChartUpdateSourceCommand']['id'],{..._0x5c0a5f,'unitId':_0x39a9b2[_0x46500c(0x2cd)]});}[_0x57fb15(0x1ad)](_0x5075bf){const _0x31b001=_0x57fb15;let _0x1dc034=this[_0x31b001(0x437)][_0x31b001(0x1bd)](_0x5075bf[_0x31b001(0x2cd)],_0x91c33f['UniverInstanceType'][_0x31b001(0x648)]),_0x3cb8ef=_0x1dc034==null?void 0x0:_0x1dc034[_0x31b001(0x2cf)](_0x5075bf[_0x31b001(0x2b0)]);return!!_0x3cb8ef&&(_0x3cb8ef[_0x31b001(0x2bc)]()['type']??_0x91c33f[_0x31b001(0x55a)][_0x31b001(0x255)])===_0x91c33f[_0x31b001(0x55a)][_0x31b001(0x255)]&&(0x0,_0x91c33f[_0x31b001(0x196)])(_0x5075bf[_0x31b001(0x523)],_0x3cb8ef)&&this[_0x31b001(0x328)][_0x31b001(0x248)]({'workbookTypes':[_0x43e32e[_0x31b001(0x4df)]],'worksheetTypes':[_0x43e32e[_0x31b001(0x30e)]],'rangeTypes':[_0x43e32e[_0x31b001(0x37c)]]},[_0x5075bf['range']],_0x5075bf[_0x31b001(0x2cd)],_0x5075bf[_0x31b001(0x2b0)]);}['dispose'](){const _0x24155f=_0x57fb15;this[_0x24155f(0x28c)]['complete'](),this[_0x24155f(0x649)][_0x24155f(0x22e)](),super['dispose']();}};_0x20e21f=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f['Inject'])(_0x94af28['ChartModelService'])),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28['SheetsChartService'])),_0x1314c8(0x2,_0x91c33f[_0x57fb15(0x34c)]),_0x1314c8(0x3,_0x91c33f['IUniverInstanceService']),_0x1314c8(0x4,(0x0,_0x91c33f['Inject'])(_0x91c33f[_0x57fb15(0x27e)])),_0x1314c8(0x5,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x43e32e[_0x57fb15(0x5be)])),_0x1314c8(0x6,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x36d079['ChartViewStateRegistry']))],_0x20e21f);var _0x246190;let _0x1d25c8={'axis':{..._0x36d079[_0x57fb15(0x592)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x36d079[_0x57fb15(0x28a)],'heatmap':_0x36d079[_0x57fb15(0x1f0)],'indicatorLine':_0x36d079['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'legend':_0x36d079[_0x57fb15(0x34a)],'lineAndArea':_0x36d079[_0x57fb15(0x51d)],'pareto':_0x36d079[_0x57fb15(0x345)],'pie':_0x36d079['DEFAULT_CHART_PIE_VALUES'],'relation':{..._0x36d079['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x0},'radar':_0x36d079[_0x57fb15(0x2ac)],'series':{..._0x36d079[_0x57fb15(0x21c)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x246190=_0x1e7e6c[_0x57fb15(0x43c)][_0x57fb15(0x5c8)])==null?void 0x0:_0x246190['rightYAxis'])??!0x1}},'style':_0x36d079['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x36d079[_0x57fb15(0x385)],'trendline':_0x36d079[_0x57fb15(0x567)],'waterfallStyle':_0x36d079[_0x57fb15(0x3a3)],'wordCloud':_0x36d079[_0x57fb15(0x30a)]};function _0x160966({ref:_0x5b852c,..._0x1ae4a1}){const _0x97bddd=_0x57fb15;let {preserveStrokeWidth:_0x2d0b4d,icon:_0x4fbbf7,id:_0x13ef81,className:_0x401f96,extend:_0x544ebd,..._0x113dfb}=_0x1ae4a1,_0x326e65=(_0x97bddd(0x5f1)+_0x13ef81+'\x20'+(_0x401f96||''))[_0x97bddd(0x5ea)](),_0x3477f6='_'+(0x0,_0x457eb7[_0x97bddd(0x327)])(),_0x388bfd=(0x0,_0x457eb7[_0x97bddd(0x3ba)])(null);return(0x0,_0x457eb7[_0x97bddd(0x1d2)])(_0x5b852c,()=>_0x388bfd[_0x97bddd(0x4f1)]),(0x0,_0x457eb7[_0x97bddd(0x158)])(()=>{const _0x54e556=_0x97bddd;if(_0x2d0b4d&&_0x388bfd['current']&&_0x388bfd[_0x54e556(0x4f1)]['localName']===_0x4fbbf7[_0x54e556(0x1fe)])return _0x39bb7f(_0x388bfd['current']);},[_0x2d0b4d,_0x4fbbf7]),_0x293bd3(_0x4fbbf7,''+_0x13ef81,{'defIds':_0x4fbbf7[_0x97bddd(0x250)],'idSuffix':_0x3477f6},{'ref':_0x388bfd,'className':_0x326e65,..._0x113dfb},_0x544ebd);}function _0x293bd3(_0x12ed20,_0x36285b,_0x1da611,_0x42abb9,_0x1d6bc0){const _0x11febd=_0x57fb15;return(0x0,_0x457eb7[_0x11febd(0x421)])(_0x12ed20[_0x11febd(0x1fe)],{'key':_0x36285b,..._0x33d1c6(_0x12ed20,_0x1da611,_0x1d6bc0),..._0x42abb9},(_0x39016f(_0x12ed20,_0x1da611)['children']||[])[_0x11febd(0x35c)]((_0x2b7f14,_0xc6c031)=>_0x293bd3(_0x2b7f14,_0x36285b+'-'+_0x12ed20[_0x11febd(0x1fe)]+'-'+_0xc6c031,_0x1da611,void 0x0,_0x1d6bc0)));}function _0x33d1c6(_0xefdd60,_0x2e8553,_0x4d1f72){const _0x4da229=_0x57fb15;let _0x2f1cb5={..._0xefdd60[_0x4da229(0x596)]};_0x4d1f72!=null&&_0x4d1f72[_0x4da229(0x189)]&&_0x2f1cb5[_0x4da229(0x556)]===_0x4da229(0x189)&&(_0x2f1cb5[_0x4da229(0x556)]=_0x4d1f72['colorChannel1']),_0x4d1f72!=null&&_0x4d1f72[_0x4da229(0x189)]&&_0x2f1cb5[_0x4da229(0x262)]===_0x4da229(0x189)&&(_0x2f1cb5[_0x4da229(0x262)]=_0x4d1f72[_0x4da229(0x189)]),_0xefdd60[_0x4da229(0x1fe)]===_0x4da229(0x3fa)&&_0x2f1cb5['id']&&(_0x2f1cb5['id']+=_0x2e8553[_0x4da229(0x264)]),Object[_0x4da229(0x404)](_0x2f1cb5)[_0x4da229(0x3f4)](([_0x1280d1,_0x44fdec])=>{const _0x4f55ca=_0x4da229;_0x1280d1===_0x4f55ca(0x3fa)&&typeof _0x44fdec=='string'&&(_0x2f1cb5[_0x1280d1]=_0x44fdec['replace'](/url\(#(.*)\)/,_0x4f55ca(0x371)+_0x2e8553['idSuffix']+')'));});let {defIds:_0x180ce7}=_0x2e8553;return!_0x180ce7||_0x180ce7[_0x4da229(0x553)]===0x0||(_0xefdd60[_0x4da229(0x1fe)]===_0x4da229(0x3e9)&&_0x2f1cb5[_0x4da229(0x19c)]&&(_0x2f1cb5[_0x4da229(0x19c)]+=_0x2e8553[_0x4da229(0x264)]),Object['entries'](_0x2f1cb5)[_0x4da229(0x3f4)](([_0x5aa51d,_0x126671])=>{const _0x58866f=_0x4da229;typeof _0x126671=='string'&&(_0x2f1cb5[_0x5aa51d]=_0x126671[_0x58866f(0x19d)](/url\(#(.*)\)/,_0x58866f(0x371)+_0x2e8553[_0x58866f(0x264)]+')'));})),_0x2f1cb5;}function _0x39016f(_0x171951,_0x2208e9){const _0x4bd696=_0x57fb15;var _0x2dc450;let {defIds:_0x49e44b}=_0x2208e9;return!_0x49e44b||_0x49e44b[_0x4bd696(0x553)]===0x0?_0x171951:_0x171951[_0x4bd696(0x1fe)]===_0x4bd696(0x636)&&(_0x2dc450=_0x171951[_0x4bd696(0x2c2)])!=null&&_0x2dc450[_0x4bd696(0x553)]?{..._0x171951,'children':_0x171951[_0x4bd696(0x2c2)][_0x4bd696(0x35c)](_0x54b39f=>typeof _0x54b39f[_0x4bd696(0x596)]['id']==_0x4bd696(0x314)&&_0x49e44b&&_0x49e44b[_0x4bd696(0x167)](_0x54b39f[_0x4bd696(0x596)]['id'])?{..._0x54b39f,'attrs':{..._0x54b39f['attrs'],'id':_0x54b39f[_0x4bd696(0x596)]['id']+_0x2208e9[_0x4bd696(0x264)]}}:_0x54b39f)}:_0x171951;}function _0x39bb7f(_0x4c758b){const _0x4ad8e2=_0x57fb15;let _0x405862=_0x4c758b['viewBox']['baseVal'],_0x526ee4=Math[_0x4ad8e2(0x50d)](_0x405862[_0x4ad8e2(0x3d9)],_0x405862[_0x4ad8e2(0x271)]);if(!Number[_0x4ad8e2(0x384)](_0x526ee4)||_0x526ee4<=0x0||_0x405862[_0x4ad8e2(0x3d9)]<=0x0||_0x405862[_0x4ad8e2(0x271)]<=0x0)return()=>void 0x0;let _0x29bb30=0x10/_0x526ee4,_0x4bde00=Array[_0x4ad8e2(0x4e7)](_0x4c758b[_0x4ad8e2(0x340)](_0x4ad8e2(0x3b0)))['flatMap'](_0x170711=>{const _0x44967c=_0x4ad8e2;let _0x2282c9=getComputedStyle(_0x170711),_0x4fa9b0=Number[_0x44967c(0x424)](_0x2282c9[_0x44967c(0x1a5)]);return _0x2282c9[_0x44967c(0x262)]===_0x44967c(0x3e3)||Number[_0x44967c(0x424)](_0x2282c9['strokeOpacity'])===0x0||_0x2282c9[_0x44967c(0x4b6)]===_0x44967c(0x4ce)||!Number[_0x44967c(0x384)](_0x4fa9b0)||_0x4fa9b0<=0x0?[]:[{'element':_0x170711,'hadStyleAttribute':_0x170711[_0x44967c(0x197)](_0x44967c(0x225)),'originalStrokeWidth':_0x4fa9b0,'strokeWidth':_0xe628a1(_0x170711['style'],_0x44967c(0x5bf))}];})[_0x4ad8e2(0x35c)](_0x15300c=>({'appliedStrokeWidth':null,'element':_0x15300c['element'],'hadStyleAttribute':_0x15300c[_0x4ad8e2(0x1a9)],'isReleased':!0x1,'originalStrokeWidth':_0x15300c[_0x4ad8e2(0x279)],'strokeWidth':_0x15300c['strokeWidth']}));if(_0x4bde00[_0x4ad8e2(0x553)]===0x0)return()=>void 0x0;let _0x242735=(_0x16124b,_0x582b65)=>{const _0x43d46d=_0x4ad8e2;if(_0x405862[_0x43d46d(0x3d9)]<=0x0||_0x405862[_0x43d46d(0x271)]<=0x0||_0x16124b<=0x0||_0x582b65<=0x0)return;let _0x453d10=Math[_0x43d46d(0x40d)](_0x16124b/_0x405862[_0x43d46d(0x3d9)],_0x582b65/_0x405862[_0x43d46d(0x271)]);!Number[_0x43d46d(0x384)](_0x453d10)||_0x453d10<=0x0||_0x4bde00['forEach'](_0x548dcd=>{const _0x44b083=_0x43d46d;if(_0x548dcd[_0x44b083(0x208)])return;if(_0x548dcd['appliedStrokeWidth']!==null&&(_0x548dcd[_0x44b083(0x334)][_0x44b083(0x225)][_0x44b083(0x4d7)](_0x44b083(0x5bf))!==_0x548dcd[_0x44b083(0x436)]||_0x548dcd[_0x44b083(0x334)]['style'][_0x44b083(0x32e)](_0x44b083(0x5bf))!==_0x548dcd['strokeWidth'][_0x44b083(0x40c)])){_0x548dcd[_0x44b083(0x436)]=null,_0x548dcd[_0x44b083(0x208)]=!0x0;return;}let _0x465049=_0x548dcd[_0x44b083(0x279)]*_0x29bb30/_0x453d10,_0x137d4c=Number(_0x465049[_0x44b083(0x24f)](0xc))+'px';_0x548dcd[_0x44b083(0x334)][_0x44b083(0x225)][_0x44b083(0x1ab)](_0x44b083(0x5bf),_0x137d4c,_0x548dcd['strokeWidth'][_0x44b083(0x40c)]),_0x548dcd[_0x44b083(0x436)]=_0x137d4c;});},_0x45391f=_0x4c758b[_0x4ad8e2(0x235)]();_0x242735(_0x45391f[_0x4ad8e2(0x3d9)],_0x45391f[_0x4ad8e2(0x271)]);let _0x557cef=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x221e55=>{const _0x296384=_0x4ad8e2;if(_0x221e55[_0x296384(0x493)](_0xc48511=>_0xc48511[_0x296384(0x46d)]===_0x4c758b)){let _0x17af8c=_0x4c758b[_0x296384(0x235)]();_0x242735(_0x17af8c[_0x296384(0x3d9)],_0x17af8c[_0x296384(0x271)]);}});return _0x557cef==null||_0x557cef['observe'](_0x4c758b),()=>{_0x557cef==null||_0x557cef['disconnect'](),_0x4bde00['forEach'](_0x2d9fdd=>{const _0x29fa20=_0xc181;_0x2d9fdd[_0x29fa20(0x436)]!==null&&(_0x5b3b20(_0x2d9fdd[_0x29fa20(0x334)]['style'],_0x29fa20(0x5bf),_0x2d9fdd[_0x29fa20(0x436)],_0x2d9fdd[_0x29fa20(0x1a5)]['priority'],_0x2d9fdd['strokeWidth']),!_0x2d9fdd[_0x29fa20(0x1a9)]&&_0x2d9fdd['element']['style'][_0x29fa20(0x553)]===0x0&&_0x2d9fdd[_0x29fa20(0x334)][_0x29fa20(0x411)]('style'));});};}function _0xe628a1(_0x15686f,_0x55b2c6){const _0x4e8fc5=_0x57fb15;return{'priority':_0x15686f['getPropertyPriority'](_0x55b2c6),'value':_0x15686f[_0x4e8fc5(0x4d7)](_0x55b2c6)};}function _0x5b3b20(_0x3ffe3b,_0x2d0712,_0x53da00,_0x6f9fc4,_0x3112b3){const _0x2b2c5b=_0x57fb15;_0x3ffe3b[_0x2b2c5b(0x4d7)](_0x2d0712)===_0x53da00&&_0x3ffe3b[_0x2b2c5b(0x32e)](_0x2d0712)===_0x6f9fc4&&(_0x3112b3[_0x2b2c5b(0x38d)]?_0x3ffe3b[_0x2b2c5b(0x1ab)](_0x2d0712,_0x3112b3['value'],_0x3112b3[_0x2b2c5b(0x40c)]):_0x3ffe3b[_0x2b2c5b(0x37b)](_0x2d0712));}_0x160966[_0x57fb15(0x2b8)]=_0x57fb15(0x526);let _0xa2ea25={'tag':_0x57fb15(0x560),'attrs':{'xmlns':_0x57fb15(0x1ee),'fill':_0x57fb15(0x3e3),'viewBox':_0x57fb15(0x4d5),'width':_0x57fb15(0x28f),'height':_0x57fb15(0x28f)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M2.5\x208H13.5M8.5\x203L13.5\x208L8.5\x2013','strokeLinecap':_0x57fb15(0x1c3),'strokeLinejoin':'round','strokeWidth':1.2}}]},_0x27361a=(0x0,_0x457eb7[_0x57fb15(0x383)])(function(_0x2f93df,_0x2ade89){const _0x4a2d5b=_0x57fb15;return(0x0,_0x457eb7['createElement'])(_0x160966,Object[_0x4a2d5b(0x3e8)]({},_0x2f93df,{'id':'arrow-right-icon','ref':_0x2ade89,'icon':_0xa2ea25}));});_0x27361a['displayName']=_0x57fb15(0x303);let _0x13b928={'tag':_0x57fb15(0x560),'attrs':{'xmlns':_0x57fb15(0x1ee),'fill':_0x57fb15(0x3e3),'viewBox':_0x57fb15(0x4d5),'width':_0x57fb15(0x28f),'height':'1em'},'children':[{'tag':_0x57fb15(0x466),'attrs':{'stroke':_0x57fb15(0x3bb),'d':_0x57fb15(0x215),'strokeLinecap':_0x57fb15(0x1c3),'strokeWidth':1.2}},{'tag':_0x57fb15(0x4e0),'attrs':{'width':2.6,'height':5.72,'x':1.94,'y':6.47,'stroke':'currentColor','rx':1.3,'strokeWidth':1.2}},{'tag':_0x57fb15(0x466),'attrs':{'stroke':_0x57fb15(0x3bb),'d':'M9.29961\x205.6002V10.892C9.29961\x2011.61\x208.71758\x2012.192\x207.99961\x2012.192C7.28164\x2012.192\x206.69961\x2011.61\x206.69961\x2010.892V5.6002C6.69961\x204.88222\x207.28164\x204.3002\x207.99961\x204.3002C8.71758\x204.3002\x209.29961\x204.88223\x209.29961\x205.6002Z','strokeWidth':1.2}},{'tag':'rect','attrs':{'width':2.6,'height':10.6,'x':11.46,'y':1.59,'stroke':_0x57fb15(0x3bb),'rx':1.3,'strokeWidth':1.2}}]},_0x2f7c5e=(0x0,_0x457eb7[_0x57fb15(0x383)])(function(_0x5e0799,_0x4f6451){const _0x5c46b0=_0x57fb15;return(0x0,_0x457eb7[_0x5c46b0(0x421)])(_0x160966,Object[_0x5c46b0(0x3e8)]({},_0x5e0799,{'id':'chart-icon','ref':_0x4f6451,'icon':_0x13b928}));});_0x2f7c5e['displayName']=_0x57fb15(0x21a);let _0x2bc513={'tag':_0x57fb15(0x560),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x57fb15(0x3e3),'viewBox':_0x57fb15(0x4d5),'width':_0x57fb15(0x28f),'height':_0x57fb15(0x28f)},'children':[{'tag':'path','attrs':{'stroke':_0x57fb15(0x3bb),'d':_0x57fb15(0x1c0),'strokeLinecap':_0x57fb15(0x1c3),'strokeLinejoin':_0x57fb15(0x1c3),'strokeWidth':1.2}}]},_0x5bb4f1=(0x0,_0x457eb7[_0x57fb15(0x383)])(function(_0x3d3648,_0x5dd030){const _0x4ea91b=_0x57fb15;return(0x0,_0x457eb7['createElement'])(_0x160966,Object[_0x4ea91b(0x3e8)]({},_0x3d3648,{'id':_0x4ea91b(0x34b),'ref':_0x5dd030,'icon':_0x2bc513}));});_0x5bb4f1[_0x57fb15(0x2b8)]=_0x57fb15(0x178);let _0x2979f1={'tag':_0x57fb15(0x560),'attrs':{'xmlns':_0x57fb15(0x1ee),'fill':'none','viewBox':_0x57fb15(0x4d5),'width':_0x57fb15(0x28f),'height':_0x57fb15(0x28f)},'children':[{'tag':_0x57fb15(0x466),'attrs':{'fill':_0x57fb15(0x3bb),'d':_0x57fb15(0x65d)}}]},_0x242e9d=(0x0,_0x457eb7[_0x57fb15(0x383)])(function(_0x660d6,_0xd26001){const _0x3d6236=_0x57fb15;return(0x0,_0x457eb7['createElement'])(_0x160966,Object[_0x3d6236(0x3e8)]({},_0x660d6,{'id':_0x3d6236(0x566),'ref':_0xd26001,'icon':_0x2979f1}));});_0x242e9d[_0x57fb15(0x2b8)]=_0x57fb15(0x4eb);let _0x111f14={'tag':_0x57fb15(0x560),'attrs':{'xmlns':_0x57fb15(0x1ee),'fill':'none','viewBox':_0x57fb15(0x4d5),'width':_0x57fb15(0x28f),'height':_0x57fb15(0x28f)},'children':[{'tag':'path','attrs':{'fill':_0x57fb15(0x3bb),'d':_0x57fb15(0x3b1)}}]},_0x3e5e00=(0x0,_0x457eb7['forwardRef'])(function(_0x2d912c,_0x463f13){const _0x46ca95=_0x57fb15;return(0x0,_0x457eb7['createElement'])(_0x160966,Object[_0x46ca95(0x3e8)]({},_0x2d912c,{'id':_0x46ca95(0x388),'ref':_0x463f13,'icon':_0x111f14}));});_0x3e5e00[_0x57fb15(0x2b8)]='PenIcon';let _0x1558ee={'tag':_0x57fb15(0x560),'attrs':{'xmlns':_0x57fb15(0x1ee),'fill':_0x57fb15(0x3e3),'viewBox':_0x57fb15(0x4d5),'width':'1em','height':_0x57fb15(0x28f)},'children':[{'tag':'path','attrs':{'fill':_0x57fb15(0x3bb),'d':_0x57fb15(0x2ba)}},{'tag':_0x57fb15(0x466),'attrs':{'fill':_0x57fb15(0x3bb),'d':_0x57fb15(0x3be),'fillRule':_0x57fb15(0x3c9),'clipRule':_0x57fb15(0x3c9)}}]},_0xc8b7c4=(0x0,_0x457eb7[_0x57fb15(0x383)])(function(_0x14b384,_0x114c46){const _0x24ac01=_0x57fb15;return(0x0,_0x457eb7['createElement'])(_0x160966,Object[_0x24ac01(0x3e8)]({},_0x14b384,{'id':_0x24ac01(0x372),'ref':_0x114c46,'icon':_0x1558ee}));});_0xc8b7c4['displayName']=_0x57fb15(0x49d);let _0x5a58f7={'tag':_0x57fb15(0x560),'attrs':{'xmlns':_0x57fb15(0x1ee),'fill':_0x57fb15(0x3e3),'viewBox':'0\x200\x2016\x2016','width':_0x57fb15(0x28f),'height':_0x57fb15(0x28f)},'children':[{'tag':_0x57fb15(0x466),'attrs':{'fill':'currentColor','d':_0x57fb15(0x45f),'fillRule':_0x57fb15(0x3c9),'clipRule':_0x57fb15(0x3c9)}},{'tag':_0x57fb15(0x466),'attrs':{'fill':_0x57fb15(0x3bb),'d':_0x57fb15(0x2e0),'fillRule':_0x57fb15(0x3c9),'clipRule':'evenodd'}}]},_0x56e6ab=(0x0,_0x457eb7['forwardRef'])(function(_0x1bcbab,_0x481ded){const _0x115735=_0x57fb15;return(0x0,_0x457eb7[_0x115735(0x421)])(_0x160966,Object['assign']({},_0x1bcbab,{'id':_0x115735(0x522),'ref':_0x481ded,'icon':_0x5a58f7}));});_0x56e6ab['displayName']=_0x57fb15(0x15b);let _0x48d80a=_0x5d9aa4=>_0x5d9aa4['getCurrentUnitOfType'](_0x91c33f[_0x57fb15(0x366)]['UNIVER_SHEET'])[_0x57fb15(0x1b6)](),_0x5c9d9f=_0x3859a2=>{const _0x901fb6=_0x57fb15;var _0xcbc00a;return(_0xcbc00a=_0x3859a2[_0x901fb6(0x615)](_0x91c33f['UniverInstanceType'][_0x901fb6(0x648)])[_0x901fb6(0x4a5)]())==null?void 0x0:_0xcbc00a[_0x901fb6(0x4c1)]();},_0x161073=()=>{const _0x37a0b2=_0x57fb15;var _0x414f73;let _0x4d7d29=(0x0,_0x256211[_0x37a0b2(0x2b3)])(_0x35cda9),_0x18c30f=(0x0,_0x256211['useDependency'])(_0x94af28[_0x37a0b2(0x172)]),_0x4f264a=(0x0,_0x256211[_0x37a0b2(0x2b3)])(_0x91c33f[_0x37a0b2(0x658)]),_0xf9fc26=(0x0,_0x256211[_0x37a0b2(0x2b3)])(_0x91c33f[_0x37a0b2(0x27e)]),_0x26b773=(0x0,_0x94af28['getAllowedChartTypes'])(_0xf9fc26),_0x401de3=(0x0,_0x457eb7[_0x37a0b2(0x25c)])(()=>{const _0x1cf788=_0x37a0b2;let _0x4f7bcf=_0x4e20b2(_0x3d758f[_0x1cf788(0x36c)](),_0x26b773);return(0x0,_0x36d079[_0x1cf788(0x419)])(_0x4f7bcf[_0x1cf788(0x35c)](_0x21411d=>({'id':_0x21411d['id'],'label':_0x4f264a['t'](_0x1cf788(0x17e)+_0x21411d[_0x1cf788(0x226)]),'pieSecondaryPlotType':_0x21411d['pieSecondaryPlotType'],'value':_0x21411d[_0x1cf788(0x38d)]})));},[_0x26b773,_0x4f264a]),_0x26cf8c=(0x0,_0x256211[_0x37a0b2(0x1d0)])(_0x18c30f[_0x37a0b2(0x18d)],_0x18c30f[_0x37a0b2(0x214)]),_0x2ebc6c=(0x0,_0x256211[_0x37a0b2(0x1d0)])(_0x26cf8c==null?void 0x0:_0x26cf8c[_0x37a0b2(0x37e)],_0x26cf8c==null?void 0x0:_0x26cf8c[_0x37a0b2(0x3d2)]),_0x3ac8aa=(0x0,_0x256211[_0x37a0b2(0x1d0)])(_0x26cf8c==null?void 0x0:_0x26cf8c[_0x37a0b2(0x3e2)],_0x26cf8c==null?void 0x0:_0x26cf8c[_0x37a0b2(0x3b9)]),_0x21e311=(0x0,_0x256211[_0x37a0b2(0x1d0)])(_0x3ac8aa==null?void 0x0:_0x3ac8aa[_0x37a0b2(0x30b)],_0x3ac8aa==null?void 0x0:_0x3ac8aa[_0x37a0b2(0x56a)]()),_0x33673c=Array['isArray'](_0x21e311),_0x38cdfa=_0x21e311&&!_0x33673c&&_0x21e311[_0x37a0b2(0x231)]?_0x1e7e6c['DataOrientation'][_0x37a0b2(0x4e3)]:_0x1e7e6c[_0x37a0b2(0x4ac)]['Column'],_0x58da59=_0x33673c?(_0x414f73=_0x21e311[0x0])==null?void 0x0:_0x414f73[_0x37a0b2(0x523)]:_0x21e311==null?void 0x0:_0x21e311['rangeInfo'];return(0x0,_0x2041bd[_0x37a0b2(0x528)])('div',{'className':_0x37a0b2(0x3de),'children':[(0x0,_0x2041bd[_0x37a0b2(0x29b)])(_0x36d079[_0x37a0b2(0x448)],{'chartTypeOptions':_0x401de3,'dataSourceControl':(0x0,_0x2041bd['jsx'])(_0x59b838,{'chartId':_0x26cf8c==null?void 0x0:_0x26cf8c['id'],'dataRange':_0x21e311,'primaryRange':_0x58da59}),'categoryToggleLabel':_0x4f264a['t'](_0x37a0b2(0x234),_0x38cdfa===_0x1e7e6c[_0x37a0b2(0x4ac)][_0x37a0b2(0x4e3)]?_0x38cdfa+'\x20'+(((_0x58da59==null?void 0x0:_0x58da59['range'][_0x37a0b2(0x5d9)])??0x0)+0x1):_0x38cdfa+'\x20'+(0x0,_0x91c33f['numberToABC'])((_0x58da59==null?void 0x0:_0x58da59['range']['startColumn'])??0x0)),'orientationControl':_0x33673c?void 0x0:(0x0,_0x2041bd[_0x37a0b2(0x29b)])(_0x2f9b35[_0x37a0b2(0x2a2)],{'size':'small','onClick':()=>_0x4d7d29['setOrientation'](_0x38cdfa===_0x1e7e6c[_0x37a0b2(0x4ac)][_0x37a0b2(0x4e3)]?_0x1e7e6c[_0x37a0b2(0x4ac)][_0x37a0b2(0x4f7)]:_0x1e7e6c[_0x37a0b2(0x4ac)]['Row']),'children':_0x4f264a['t']('sheets-chart-ui.common.switchRowColumn')})}),(0x0,_0x2041bd[_0x37a0b2(0x29b)])(_0x2f9b35[_0x37a0b2(0x61f)],{'checked':(_0x2ebc6c==null?void 0x0:_0x2ebc6c[_0x37a0b2(0x5fc)])===!0x1,'disabled':!_0x26cf8c,'onChange':_0x2617b6=>{const _0xf9c7d1=_0x37a0b2;_0x26cf8c&&_0x4d7d29[_0xf9c7d1(0x613)]({'chartModelId':_0x26cf8c['id'],'context':{'plotVisibleOnly':!_0x2617b6}});},'children':_0x4f264a['t'](_0x37a0b2(0x373))})]});};function _0x59b838(_0x275d5c){const _0x2f448e=_0x57fb15;let {chartId:_0x4dae22,dataRange:_0x2d6d1f,primaryRange:_0x2d7979}=_0x275d5c,_0x5601ba=(0x0,_0x256211['useDependency'])(_0x35cda9),_0x4636c3=(0x0,_0x256211['useDependency'])(_0x91c33f[_0x2f448e(0x658)]),_0x51221a=(0x0,_0x256211[_0x2f448e(0x2b3)])(_0x91c33f[_0x2f448e(0x5db)]),_0xde2da5=(0x0,_0x256211[_0x2f448e(0x2b3)])(_0x91c33f['IContextService']),_0x364011=(0x0,_0x256211['useDependency'])(_0x91c33f[_0x2f448e(0x545)]),[_0x29ff51,_0x4bc23d]=(0x0,_0x457eb7[_0x2f448e(0x439)])(!0x1),[_0x4596bf,_0xfe0933]=(0x0,_0x457eb7['useState'])(),_0x8aa500=_0x48d80a(_0x51221a),_0x19b09a=_0x5c9d9f(_0x51221a),_0x24df4e=_0x2d6d1f?_0x64e93f(_0x2d6d1f,_0x51221a):'',_0x2ccd23=(0x0,_0x457eb7[_0x2f448e(0x3ba)])(_0x24df4e),_0x24c0bb=(0x0,_0x457eb7[_0x2f448e(0x3ba)])(void 0x0),_0x4ab8f8=(0x0,_0x457eb7[_0x2f448e(0x3ba)])(null),_0x73e91e=(0x0,_0x256211[_0x2f448e(0x2b3)])(_0x15340d[_0x2f448e(0x3a5)]);(0x0,_0x457eb7[_0x2f448e(0x3f5)])(()=>{const _0x2f38d6=_0x2f448e;var _0xbacecb;_0x2ccd23[_0x2f38d6(0x4f1)]=_0x24df4e,_0x24c0bb['current']=void 0x0;let _0x8f3be3=_0x4ab8f8[_0x2f38d6(0x4f1)];_0x8f3be3&&((_0xbacecb=_0x8f3be3[_0x2f38d6(0x5bd)]())==null?void 0x0:_0xbacecb['getPlainText']())!==_0x24df4e&&_0x8f3be3[_0x2f38d6(0x4b2)](_0x24df4e);},[_0x24df4e]);let _0x56c6f8=(0x0,_0x256211['useDependency'])(_0xf9b09f[_0x2f448e(0x468)]),_0xb3145c=()=>{const _0x61dd0a=_0x2f448e;var _0x142a08,_0xba00bd;(_0x142a08=_0x4ab8f8[_0x61dd0a(0x4f1)])==null||_0x142a08[_0x61dd0a(0x491)]([]),(_0xba00bd=_0x4ab8f8[_0x61dd0a(0x4f1)])==null||_0xba00bd['blur'](),_0x73e91e[_0x61dd0a(0x46a)]();},_0x348545=()=>{const _0x33ef8e=_0x2f448e;var _0x32b16c;if(!_0x4dae22)return;let _0x48e367=(((_0x32b16c=_0x4ab8f8[_0x33ef8e(0x4f1)])==null||(_0x32b16c=_0x32b16c[_0x33ef8e(0x5bd)]())==null?void 0x0:_0x32b16c['getPlainText']())??_0x24df4e)[_0x33ef8e(0x2ff)](_0xf9b09f[_0x33ef8e(0x228)][_0x33ef8e(0x332)])[_0x33ef8e(0x168)](_0x149a6a=>_0x149a6a['trim']())['map'](_0x4f13ce=>(0x0,_0xf9b09f[_0x33ef8e(0x364)])(_0x4f13ce));_0xb3145c(),_0x5601ba[_0x33ef8e(0x249)](_0x8aa500,_0x4dae22,_0x48e367)[_0x33ef8e(0x568)](_0x41d49c=>_0x364011[_0x33ef8e(0x32c)](_0x41d49c));};(0x0,_0x457eb7['useEffect'])(()=>{const _0x48c76f=_0x2f448e;_0x5601ba[_0x48c76f(0x398)](_0x29ff51),_0xde2da5[_0x48c76f(0x33d)](_0x91c33f['FOCUSING_PANEL_EDITOR'],_0x29ff51);},[_0xde2da5,_0x29ff51,_0x5601ba]),(0x0,_0x457eb7[_0x2f448e(0x3f5)])(()=>()=>{const _0x1d6780=_0x2f448e;_0x5601ba[_0x1d6780(0x398)](!0x1),_0xde2da5[_0x1d6780(0x33d)](_0x91c33f['FOCUSING_PANEL_EDITOR'],!0x1);},[_0xde2da5,_0x5601ba]);let _0x34042c=(0x0,_0x457eb7[_0x2f448e(0x251)])(_0x14e982=>{const _0xd2999e=_0x2f448e;if(_0x64e93f(_0x2d6d1f,_0x51221a)===_0x14e982)return _0xfe0933(void 0x0),!0x0;let _0x274388=_0x14e982[_0xd2999e(0x2ff)](_0xf9b09f[_0xd2999e(0x228)][_0xd2999e(0x332)]),_0x2d8158=_0x56c6f8[_0xd2999e(0x616)](_0x14e982);if(!_0x14e982[_0xd2999e(0x5ea)]()||_0x274388[_0xd2999e(0x553)]!==0x1||(_0x2d8158==null?void 0x0:_0x2d8158[_0xd2999e(0x553)])!==0x1||typeof _0x2d8158[0x0]==_0xd2999e(0x314)||_0x2d8158[0x0][_0xd2999e(0x399)]!==_0xf9b09f['sequenceNodeType'][_0xd2999e(0x591)])return _0xfe0933(_0x4636c3['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x53d664,sheetName:_0x989c22,range:_0x2d711b}=(0x0,_0xf9b09f['deserializeRangeWithSheet'])(_0x274388[0x0]),_0x4b6e04=_0x53d664||_0x8aa500,_0x3ab8c1=_0x51221a[_0xd2999e(0x1bd)](_0x4b6e04),_0x215759=(_0x2d7979==null?void 0x0:_0x2d7979['unitId'])===_0x4b6e04?_0x2d7979[_0xd2999e(0x2b0)]:_0x19b09a,_0x5d4ef1=_0x989c22?_0x3ab8c1==null?void 0x0:_0x3ab8c1[_0xd2999e(0x425)](_0x989c22):_0x3ab8c1==null?void 0x0:_0x3ab8c1[_0xd2999e(0x2cf)](_0x215759??'');return!_0x3ab8c1||!_0x5d4ef1||!(0x0,_0x91c33f['isValidRange'])(_0x2d711b,_0x5d4ef1)?(_0xfe0933(_0x4636c3['t'](_0xd2999e(0x259))),!0x1):(_0xfe0933(void 0x0),_0x5601ba[_0xd2999e(0x27a)]({'rangeInfo':{'range':_0x2d711b,'unitId':_0x4b6e04,'subUnitId':_0x5d4ef1['getSheetId']()}}),!0x0);},[_0x2d6d1f,_0x56c6f8,_0x4636c3,_0x2d7979,_0x5601ba,_0x19b09a,_0x8aa500,_0x51221a]),_0x178d1c=(0x0,_0x457eb7[_0x2f448e(0x25c)])(()=>({'keyCodes':[{'keyCode':_0x256211[_0x2f448e(0x24c)]['ENTER'],'nativeTextEditorBehavior':_0x256211[_0x2f448e(0x472)]['OVERRIDE_NATIVE']}],'handler':_0x3e7d05=>{const _0x1a6419=_0x2f448e;_0x3e7d05===_0x256211[_0x1a6419(0x24c)][_0x1a6419(0x5f9)]&&_0x34042c(_0x2ccd23[_0x1a6419(0x4f1)])&&(_0x24c0bb[_0x1a6419(0x4f1)]=_0x2ccd23[_0x1a6419(0x4f1)]);}}),[_0x34042c]);return(0x0,_0x2041bd[_0x2f448e(0x29b)])(_0x2f448e(0x246),{'className':_0x2f448e(0x396),'children':(0x0,_0x2041bd[_0x2f448e(0x528)])(_0x2f448e(0x246),{'children':[(0x0,_0x2041bd[_0x2f448e(0x29b)])(_0x36d079[_0x2f448e(0x5b9)],{'title':_0x4636c3['t'](_0x2f448e(0x267))}),(0x0,_0x2041bd['jsx'])(_0x15340d[_0x2f448e(0x5f7)],{'isSingle':!0x0,'preserveHostFocus':!0x0,'onClickOutside':_0xb3145c,'initialValue':_0x24df4e,'keyboardEventConfig':_0x178d1c,'editorRef':_0x4ab8f8,'icon':(0x0,_0x2041bd[_0x2f448e(0x29b)])(_0x2f9b35[_0x2f448e(0x5d1)],{'title':_0x4636c3['t'](_0x2f448e(0x267)),'children':(0x0,_0x2041bd[_0x2f448e(0x29b)])(_0x2f9b35[_0x2f448e(0x2a2)],{'variant':_0x2f448e(0x3c1),'size':'small','className':_0x2f448e(0x64d),'aria-label':_0x4636c3['t']('sheets-chart-ui.common.dataRange'),'onClick':_0x348545,'children':(0x0,_0x2041bd[_0x2f448e(0x29b)])(_0xc8b7c4,{})})}),'onChange':(_0x20dda3,_0x3792ce)=>{const _0x62fd47=_0x2f448e;_0x2ccd23[_0x62fd47(0x4f1)]=_0x3792ce;},'onFocusChange':(_0x567165,_0x2582d5)=>{const _0x1a80b1=_0x2f448e;if(_0x2582d5!==void 0x0&&(_0x2ccd23[_0x1a80b1(0x4f1)]=_0x2582d5),_0x4bc23d(_0x567165),_0x567165)_0x24c0bb[_0x1a80b1(0x4f1)]=_0x2ccd23[_0x1a80b1(0x4f1)];else{let _0x1ea1e6=_0x24c0bb[_0x1a80b1(0x4f1)];_0x24c0bb[_0x1a80b1(0x4f1)]=void 0x0,_0x1ea1e6!==void 0x0&&_0x2ccd23[_0x1a80b1(0x4f1)]!==_0x1ea1e6&&_0x34042c(_0x2ccd23[_0x1a80b1(0x4f1)]);}}}),_0x4596bf?(0x0,_0x2041bd[_0x2f448e(0x29b)])('div',{'className':_0x2f448e(0x5a8),'children':_0x4596bf}):null]})});}function _0x1abb4e(_0x26bad6){const _0xd91f85=_0x57fb15;return(0x0,_0x2041bd[_0xd91f85(0x528)])(_0x36d079[_0xd91f85(0x376)],{'id':_0x26bad6['id'],'children':[(0x0,_0x2041bd['jsx'])(_0x36d079['ChartSectionAccordionTrigger'],{'children':_0x26bad6[_0xd91f85(0x465)]}),(0x0,_0x2041bd[_0xd91f85(0x29b)])(_0x36d079[_0xd91f85(0x153)],{'children':_0x26bad6[_0xd91f85(0x2c2)]})]});}let _0x222375=_0x568884=>{const _0x2ffc9d=_0x57fb15;let _0x3d14fb=(0x0,_0x256211[_0x2ffc9d(0x2b3)])(_0x91c33f[_0x2ffc9d(0x658)]),_0x593867=(0x0,_0x256211[_0x2ffc9d(0x2b3)])(_0x35cda9),_0xf6b8c=(0x0,_0x256211['useDependency'])(_0x94af28[_0x2ffc9d(0x172)]),_0x86074b=(0x0,_0x256211[_0x2ffc9d(0x1d0)])(_0xf6b8c[_0x2ffc9d(0x18d)],_0xf6b8c[_0x2ffc9d(0x214)]),_0x39c839=(0x0,_0x256211[_0x2ffc9d(0x1d0)])(_0x593867[_0x2ffc9d(0x3f2)],null),_0x13ba6e=_0x39c839&&_0x39c839[_0x2ffc9d(0x570)]===(_0x86074b==null?void 0x0:_0x86074b['id'])?_0x39c839['route']:null,_0x43ad43=(0x0,_0x36d079['useChartEditorChartType'])(),_0x5db612=(0x0,_0x36d079[_0x2ffc9d(0x338)])(),[_0x536fee,_0x50516d]=(0x0,_0x457eb7[_0x2ffc9d(0x439)])(null);(0x0,_0x457eb7[_0x2ffc9d(0x3f5)])(()=>{const _0x9f48cf=_0x2ffc9d;_0x13ba6e!=null&&_0x13ba6e[_0x9f48cf(0x3e7)]&&_0x50516d(_0x13ba6e[_0x9f48cf(0x3e7)]);},[_0x13ba6e]);let _0x7e8413=_0x1e7e6c[_0x2ffc9d(0x60c)][_0x2ffc9d(0x36e)](_0x43ad43,_0x1e7e6c[_0x2ffc9d(0x5a6)]['Pie']),_0x551604=_0x43ad43===_0x1e7e6c['ChartTypeBits'][_0x2ffc9d(0x44e)],_0x41df11=_0x43ad43===_0x1e7e6c[_0x2ffc9d(0x5a6)][_0x2ffc9d(0x183)],_0x31dfb0=_0x43ad43===_0x1e7e6c['ChartTypeBits'][_0x2ffc9d(0x4c7)],_0x34aa0c=_0x1e7e6c[_0x2ffc9d(0x60c)][_0x2ffc9d(0x36e)](_0x43ad43,_0x1e7e6c[_0x2ffc9d(0x5a6)][_0x2ffc9d(0x19e)]),_0x5024f0=_0x43ad43===_0x1e7e6c[_0x2ffc9d(0x5a6)][_0x2ffc9d(0x1cf)],_0x4bc629=_0x43ad43===_0x1e7e6c['ChartTypeBits'][_0x2ffc9d(0x330)],_0xf90d39=_0x43ad43===_0x1e7e6c[_0x2ffc9d(0x5a6)]['Pareto'],_0x529b2f=_0x43ad43===_0x1e7e6c[_0x2ffc9d(0x5a6)]['Heatmap'],_0x1f7dce,_0x13a7c9;switch(_0x43ad43){case _0x1e7e6c['ChartTypeBits'][_0x2ffc9d(0x42d)]:_0x1f7dce=_0x36d079[_0x2ffc9d(0x43e)]['Candlestick'],_0x13a7c9=_0x3d14fb['t'](_0x2ffc9d(0x41f));break;case _0x1e7e6c[_0x2ffc9d(0x5a6)][_0x2ffc9d(0x604)]:_0x1f7dce=_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x604)],_0x13a7c9=_0x3d14fb['t']('sheets-chart-ui.section.histogram');break;case _0x1e7e6c[_0x2ffc9d(0x5a6)]['Treemap']:_0x1f7dce=_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x524)],_0x13a7c9=_0x3d14fb['t']('sheets-chart-ui.section.treemap');break;case _0x1e7e6c['ChartTypeBits']['Sunburst']:_0x1f7dce=_0x36d079[_0x2ffc9d(0x43e)]['Sunburst'],_0x13a7c9=_0x3d14fb['t'](_0x2ffc9d(0x2ab));break;case _0x1e7e6c['ChartTypeBits'][_0x2ffc9d(0x2e8)]:_0x1f7dce=_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x2e8)],_0x13a7c9=_0x3d14fb['t'](_0x2ffc9d(0x1ed));break;case _0x1e7e6c[_0x2ffc9d(0x5a6)][_0x2ffc9d(0x247)]:_0x1f7dce=_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x247)],_0x13a7c9=_0x3d14fb['t']('sheets-chart-ui.section.chord');}let _0x2b40ca=(0x0,_0x36d079[_0x2ffc9d(0x5e8)])(_0x43ad43,_0x36d079[_0x2ffc9d(0x1e8)][_0x2ffc9d(0x4a8)])&&!_0x34aa0c&&!_0xf90d39;return(0x0,_0x2041bd['jsxs'])(_0x36d079[_0x2ffc9d(0x60a)],{'value':_0x536fee,'onChange':_0x50516d,'children':[(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x5ef)],'label':_0x3d14fb['t'](_0x2ffc9d(0x2f0)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079['ChartStyleSection'],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x225)]})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x65c)],'label':_0x3d14fb['t'](_0x2ffc9d(0x63f)),'children':(0x0,_0x2041bd['jsx'])(_0x36d079['ChartTitlesSection'],{'commitMode':_0x2ffc9d(0x46a),'defaultValues':_0x568884[_0x2ffc9d(0x4d4)]['titles'],'selectedTitleKey':_0x13ba6e==null?void 0x0:_0x13ba6e[_0x2ffc9d(0x508)]})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x50c)],{'section':'view'}),_0x2b40ca&&(0x0,_0x2041bd['jsx'])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)]['Series'],'label':_0x3d14fb['t'](_0x2ffc9d(0x155)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079['ChartSeriesSection'],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x571)],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)],'selectedSeriesId':_0x13ba6e==null?void 0x0:_0x13ba6e[_0x2ffc9d(0x455)]})}),_0x4bc629&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x360)],'label':_0x3d14fb['t']('sheets-chart-ui.section.waterfall'),'children':(0x0,_0x2041bd['jsx'])(_0x36d079[_0x2ffc9d(0x261)],{'defaultValues':_0x568884['defaultValues'][_0x2ffc9d(0x529)],'getDefaultBucketName':({seriesName:_0x40946c,target:_0x4fe62f})=>_0x4fe62f===_0x1e7e6c[_0x2ffc9d(0x186)]['Subtotal']?_0x3d14fb['t']('sheets-chart-ui.waterfall.subtotal'):_0x40946c?_0x40946c+'-('+_0x3d14fb['t'](_0x4fe62f===_0x1e7e6c[_0x2ffc9d(0x186)][_0x2ffc9d(0x2ad)]?'sheets-chart-ui.waterfall.positive':_0x2ffc9d(0x277))+')':'','NumberFormatField':_0x36d079['ChartNumberFormatAtom'],'selectedSeriesId':_0x13ba6e==null?void 0x0:_0x13ba6e['seriesId']})}),_0xf90d39&&(0x0,_0x2041bd[_0x2ffc9d(0x528)])(_0x2041bd[_0x2ffc9d(0x4a7)],{'children':[(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x4a9)],'label':_0x3d14fb['t'](_0x2ffc9d(0x15f)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x263)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)]['pareto'],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)],'showDataPointEditor':!0x0,'target':_0x2ffc9d(0x329)})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x41a)],'label':_0x3d14fb['t'](_0x2ffc9d(0x1fc)),'children':(0x0,_0x2041bd['jsx'])(_0x36d079[_0x2ffc9d(0x263)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x485)],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)],'showDataPointEditor':!0x1,'target':_0x2ffc9d(0x1e3)})})]}),_0x7e8413&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)]['PieStyle'],'label':_0x3d14fb['t'](_0x2ffc9d(0x3e5)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079['ChartPieStyleSection'],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)]['pie'],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)]})}),_0x41df11&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x183)],'label':_0x3d14fb['t'](_0x2ffc9d(0x1b3)),'children':(0x0,_0x2041bd['jsx'])(_0x36d079[_0x2ffc9d(0x164)],{'defaultValues':_0x568884['defaultValues'][_0x2ffc9d(0x595)]})}),_0x551604&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x44e)],'label':_0x3d14fb['t'](_0x2ffc9d(0x339)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x3bf)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x40e)]})}),_0x31dfb0&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)]['Funnel'],'label':_0x3d14fb['t'](_0x2ffc9d(0x369)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x637)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x572)],'gapControl':_0x2ffc9d(0x35e)})}),_0x529b2f&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x1be)],'label':_0x3d14fb['t'](_0x2ffc9d(0x4e8)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x51b)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x199)]})}),_0x5024f0&&(0x0,_0x2041bd['jsx'])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x1cf)],'label':_0x3d14fb['t'](_0x2ffc9d(0x5f8)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x5a0)],{'defaultValues':_0x568884['defaultValues'][_0x2ffc9d(0x3ea)]})}),(0x0,_0x36d079['chartTypeSupportsLineAndAreaStyle'])(_0x43ad43)&&(0x0,_0x2041bd['jsx'])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)]['LineAndArea'],'label':_0x3d14fb['t'](_0x1e7e6c['chartBitsUtils'][_0x2ffc9d(0x36e)](_0x43ad43,_0x1e7e6c[_0x2ffc9d(0x5a6)][_0x2ffc9d(0x239)])?_0x2ffc9d(0x2fd):_0x2ffc9d(0x5a9)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x555)],{'defaultValues':_0x568884['defaultValues']['lineAndArea'],'lineStyleControl':_0x2ffc9d(0x2c4)})}),(0x0,_0x36d079['chartTypeSupportsCapability'])(_0x43ad43,_0x36d079[_0x2ffc9d(0x1e8)][_0x2ffc9d(0x236)])&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x236)],'label':_0x3d14fb['t'](_0x2ffc9d(0x171)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x157)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x1b5)]})}),(0x0,_0x36d079[_0x2ffc9d(0x5e8)])(_0x43ad43,_0x36d079[_0x2ffc9d(0x1e8)]['Axes'])&&(0x0,_0x2041bd[_0x2ffc9d(0x528)])(_0x2041bd[_0x2ffc9d(0x4a7)],{'children':[(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)]['HorizontalAxis'],'label':_0x3d14fb['t'](_0x2ffc9d(0x1f8)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x47f)],{'axis':'x','defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x1fa)],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)]})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x2c0)],'label':_0x3d14fb['t'](_0x2ffc9d(0x3eb)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x47f)],{'axis':'y','defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x1fa)],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)]})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079['ChartThreeDSection'],{'section':_0x2ffc9d(0x612)}),_0x5db612&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079[_0x2ffc9d(0x43e)][_0x2ffc9d(0x5c3)],'label':_0x3d14fb['t'](_0x2ffc9d(0x610)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x47f)],{'axis':_0x2ffc9d(0x63d),'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x1fa)],'NumberFormatField':_0x36d079[_0x2ffc9d(0x4d2)]})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x1e2)],'label':_0x3d14fb['t'](_0x2ffc9d(0x2cb)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x4bf)],{'defaultValues':_0x568884['defaultValues'][_0x2ffc9d(0x1fa)]})})]}),(0x0,_0x36d079[_0x2ffc9d(0x5e8)])(_0x43ad43,_0x36d079[_0x2ffc9d(0x1e8)][_0x2ffc9d(0x4f2)])&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x4f2)],'label':_0x3d14fb['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x1b1)],{'defaultValues':_0x568884['defaultValues'][_0x2ffc9d(0x589)]})}),(0x0,_0x1e7e6c['chartTypeCanUseTrendLine'])(_0x43ad43)&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x36d079['ChartEditPanelSection'][_0x2ffc9d(0x2d0)],'label':_0x3d14fb['t'](_0x2ffc9d(0x5c2)),'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x53f)],{'defaultValues':_0x568884[_0x2ffc9d(0x4d4)][_0x2ffc9d(0x601)]})}),(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079['ChartErrorBarsSection'],{}),_0x1f7dce&&_0x13a7c9&&(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x1abb4e,{'id':_0x1f7dce,'label':_0x13a7c9,'children':(0x0,_0x2041bd[_0x2ffc9d(0x29b)])(_0x36d079[_0x2ffc9d(0x2a5)],{})})]});};function _0x54b858(_0x4180bd){const _0x5b8d98=_0x57fb15;let {className:_0x4ed469}=_0x4180bd,[_0x989979,_0x1d195e]=(0x0,_0x457eb7[_0x5b8d98(0x439)])(_0x36d079[_0x5b8d98(0x36d)][_0x5b8d98(0x337)]),_0x401da0=(0x0,_0x256211[_0x5b8d98(0x2b3)])(_0x91c33f[_0x5b8d98(0x27e)]),_0x1b97b8=(0x0,_0x256211[_0x5b8d98(0x2b3)])(_0x91c33f['LocaleService']),_0x589b4c=(0x0,_0x256211['useDependency'])(_0x35cda9),_0x14837f=(0x0,_0x256211['useDependency'])(_0x94af28[_0x5b8d98(0x172)]),_0x1a2433=(0x0,_0x256211[_0x5b8d98(0x1d0)])(_0x14837f[_0x5b8d98(0x18d)],_0x14837f[_0x5b8d98(0x214)]),_0x387116=(0x0,_0x256211[_0x5b8d98(0x1d0)])(_0x589b4c[_0x5b8d98(0x3f2)],null),_0x5001d0=(0x0,_0x457eb7['useMemo'])(()=>{const _0x3ac85b=_0x5b8d98;if(!_0x1a2433)return null;let _0x4346eb=_0x589b4c[_0x3ac85b(0x4a1)](_0x1a2433['id']);return _0x4346eb?new _0x36d079[(_0x3ac85b(0x154))](_0x1a2433,new _0x94af28[(_0x3ac85b(0x300))]({'unitId':_0x4346eb[_0x3ac85b(0x2cd)],'subUnitId':_0x4346eb[_0x3ac85b(0x2b0)],'chartId':_0x1a2433['id'],'injector':_0x401da0})):null;},[_0x1a2433,_0x401da0,_0x589b4c]);if((0x0,_0x457eb7['useEffect'])(()=>{const _0x7b78a9=_0x5b8d98;var _0x820b31,_0x53a56a;_0x1a2433&&(_0x387116==null?void 0x0:_0x387116[_0x7b78a9(0x570)])===_0x1a2433['id']&&(((_0x820b31=_0x387116[_0x7b78a9(0x2c5)])==null?void 0x0:_0x820b31[_0x7b78a9(0x600)])===_0x36d079['ChartEditPanelTab'][_0x7b78a9(0x518)]&&_0x1d195e(_0x36d079['ChartEditPanelTab']['Style']),((_0x53a56a=_0x387116[_0x7b78a9(0x2c5)])==null?void 0x0:_0x53a56a[_0x7b78a9(0x600)])===_0x36d079[_0x7b78a9(0x36d)][_0x7b78a9(0x337)]&&_0x1d195e(_0x36d079[_0x7b78a9(0x36d)][_0x7b78a9(0x337)]));},[_0x1a2433,_0x387116]),!_0x5001d0)return null;let _0x13756f=(0x0,_0x2041bd['jsx'])(_0x5b8d98(0x246),{'className':_0x5b8d98(0x3b5)+(_0x989979===_0x36d079[_0x5b8d98(0x36d)][_0x5b8d98(0x518)]?'univer-overflow-visible':'univer-overflow-hidden')+_0x5b8d98(0x43f)+(_0x4ed469??'')+_0x5b8d98(0x29c),'children':(0x0,_0x2041bd['jsx'])(_0x36d079[_0x5b8d98(0x598)],{'ariaLabel':_0x1b97b8['t'](_0x5b8d98(0x3e6)),'activeTab':_0x989979,'onTabChange':_0x1d195e,'tabListClassName':_0x5b8d98(0x499),'panelClassName':_0x989979===_0x36d079[_0x5b8d98(0x36d)][_0x5b8d98(0x518)]?_0x5b8d98(0x65a):void 0x0,'tabs':[{'id':_0x36d079[_0x5b8d98(0x36d)][_0x5b8d98(0x337)],'panelId':_0x418109,'title':_0x1b97b8['t'](_0x5b8d98(0x1f5)),'content':(0x0,_0x2041bd[_0x5b8d98(0x29b)])(_0x161073,{})},{'id':_0x36d079[_0x5b8d98(0x36d)]['Style'],'panelId':_0x5b7c5c,'title':_0x1b97b8['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x2041bd[_0x5b8d98(0x29b)])(_0x222375,{'defaultValues':_0x1d25c8})}]})});return(0x0,_0x2041bd['jsx'])(_0x36d079[_0x5b8d98(0x38e)],{'chartUIService':_0x589b4c,'hostAdapter':_0x5001d0,'children':_0x13756f});}let _0x511dec=_0x57fb15(0x56e),_0x418109=_0x57fb15(0x60d),_0x5b7c5c=_0x57fb15(0x230);function _0x2d22ff(_0x565062){const _0x123f94=_0x57fb15;let _0x5765bf=_0x565062[_0x123f94(0x49e)](_0x339595['ISheetDrawingService']);return _0x5765bf[_0x123f94(0x4ca)][_0x123f94(0x351)]((0x0,_0x1594a7[_0x123f94(0x463)])(_0x5765bf[_0x123f94(0x17c)]()),(0x0,_0x1594a7['map'])(()=>_0x5476d5(_0x565062)==null));}function _0x29451e(_0x35287f){const _0x38c170=_0x57fb15;let _0x2c832b=_0x35287f['get'](_0x256211[_0x38c170(0x270)]);return{'activated$':(0x0,_0x1594a7[_0x38c170(0x38a)])(()=>_0x2c832b['sidebarOptions$'][_0x38c170(0x351)]((0x0,_0x1594a7[_0x38c170(0x463)])(_0x2c832b[_0x38c170(0x45d)]),(0x0,_0x1594a7[_0x38c170(0x35c)])(_0xea317=>_0xea317[_0x38c170(0x61b)]===!0x0&&_0xea317['id']===_0x38c170(0x56e)),(0x0,_0x1594a7['distinctUntilChanged'])())),'id':_0x1238c4['id'],'commandId':_0x1238c4['id'],'type':_0x256211[_0x38c170(0x457)][_0x38c170(0x503)],'title':_0x35287f[_0x38c170(0x49e)](_0x91c33f[_0x38c170(0x658)])['t'](_0x38c170(0x26c)),'icon':'PenIcon','hidden$':_0x2d22ff(_0x35287f)};}function _0x2f4c2b(_0x5f6cb1){const _0x5a9ed3=_0x57fb15;return{'id':_0x5eb1eb['id'],'commandId':_0x5eb1eb['id'],'type':_0x256211[_0x5a9ed3(0x457)][_0x5a9ed3(0x503)],'title':_0x5f6cb1[_0x5a9ed3(0x49e)](_0x91c33f[_0x5a9ed3(0x658)])['t'](_0x5a9ed3(0x232)),'icon':_0x5a9ed3(0x22f),'hidden$':_0x2d22ff(_0x5f6cb1)};}function _0x2554d5(_0x3c37c1){const _0x47c836=_0x57fb15;return{'id':_0x608c97['id'],'commandId':_0x608c97['id'],'type':_0x256211[_0x47c836(0x457)]['BUTTON'],'title':_0x3c37c1[_0x47c836(0x49e)](_0x91c33f[_0x47c836(0x658)])['t']('sheets-chart-ui.common.exportImage'),'icon':_0x47c836(0x242),'hidden$':_0x2d22ff(_0x3c37c1)};}function _0x5d2ac8(_0x57aaf6){const _0x320aa1=_0x57fb15;return{'id':_0x46a2b1['id'],'commandId':_0x46a2b1['id'],'type':_0x256211[_0x320aa1(0x457)][_0x320aa1(0x503)],'title':_0x57aaf6[_0x320aa1(0x49e)](_0x91c33f['LocaleService'])['t'](_0x320aa1(0x1e9)),'icon':_0x320aa1(0x178),'hidden$':_0x2d22ff(_0x57aaf6)};}let _0x71964={[_0x256211[_0x57fb15(0x416)]['MEDIA']]:{[_0x3748b6['id']]:{'order':0x4,'menuItemFactory':_0x2cefc0}},[_0x256211['ContextMenuPosition'][_0x57fb15(0x1b8)]]:{[_0x256211[_0x57fb15(0x44d)][_0x57fb15(0x240)]]:{[_0x1238c4['id']]:{'order':0x0,'menuItemFactory':_0x29451e},[_0x5eb1eb['id']]:{'order':0x1,'menuItemFactory':_0x2f4c2b},[_0x608c97['id']]:{'order':0x3,'menuItemFactory':_0x2554d5},[_0x46a2b1['id']]:{'order':0x4,'menuItemFactory':_0x5d2ac8}}}};function _0x333061(_0xa53ba2){const _0x5c2d65=_0x57fb15;return _0xa53ba2===_0x1e7e6c[_0x5c2d65(0x5a6)][_0x5c2d65(0x187)]||_0xa53ba2===_0x1e7e6c[_0x5c2d65(0x5a6)][_0x5c2d65(0x44e)]||_0xa53ba2===_0x1e7e6c[_0x5c2d65(0x5a6)][_0x5c2d65(0x2ea)]||_0x1e7e6c['chartBitsUtils']['baseOn'](_0xa53ba2,_0x1e7e6c[_0x5c2d65(0x5a6)][_0x5c2d65(0x414)])||_0x1e7e6c[_0x5c2d65(0x60c)][_0x5c2d65(0x36e)](_0xa53ba2,_0x1e7e6c['ChartTypeBits'][_0x5c2d65(0x4f7)])||_0x1e7e6c['chartBitsUtils'][_0x5c2d65(0x36e)](_0xa53ba2,_0x1e7e6c[_0x5c2d65(0x5a6)][_0x5c2d65(0x239)])||_0x1e7e6c[_0x5c2d65(0x60c)]['baseOn'](_0xa53ba2,_0x1e7e6c[_0x5c2d65(0x5a6)][_0x5c2d65(0x546)]);}function _0x4ed51e(_0x71f352){const _0x5e4ea7=_0x57fb15;return _0x333061(_0x71f352)||_0x1e7e6c[_0x5e4ea7(0x60c)][_0x5e4ea7(0x36e)](_0x71f352,_0x1e7e6c['ChartTypeBits']['Pie'])||_0x1e7e6c[_0x5e4ea7(0x60c)][_0x5e4ea7(0x36e)](_0x71f352,_0x1e7e6c['ChartTypeBits'][_0x5e4ea7(0x38c)])||_0x1e7e6c[_0x5e4ea7(0x60c)][_0x5e4ea7(0x36e)](_0x71f352,_0x1e7e6c[_0x5e4ea7(0x5a6)]['Waterfall']);}function _0x20c0ea(_0x5501a6,_0x534488){const _0x1f3b65=_0x57fb15;let _0x1c8a03=(0x0,_0x36d079[_0x1f3b65(0x2c7)])(_0x5501a6,_0x534488),_0x113fa4=_0x1c8a03?(0x0,_0x36d079[_0x1f3b65(0x5da)])(_0x1c8a03[_0x1f3b65(0x46d)]):void 0x0;if(_0x1c8a03&&_0x113fa4)return{..._0x1c8a03,'route':_0x113fa4,'showFloatMenu':_0x4ed51e(_0x5501a6['chartType'])&&_0x1c8a03[_0x1f3b65(0x59a)]};}function _0x240be9(_0x1cf40f){const _0x10fb44=_0x57fb15;return _0x1cf40f[_0x10fb44(0x553)]===0x1&&_0x5f054b(_0x1cf40f[0x0]);}function _0x5f054b(_0x5ebb98){const _0x208c38=_0x57fb15;return(_0x5ebb98==null?void 0x0:_0x5ebb98[_0x208c38(0x2b4)])===_0x91c33f[_0x208c38(0x461)][_0x208c38(0x1cc)]&&!_0x5ebb98[_0x208c38(0x441)];}let _0xbeca0c=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x3ee03b,_0x51901e,_0x1bcab6,_0x548f28,_0x3ceedf,_0x2ea824,_0x55afaf,_0x4b745b,_0x4cdf5b,_0x4476e6,_0x1a6596,_0x36a3ed,_0x330873,_0x1f7e43,_0x47f87d){const _0x13a4d1=_0x57fb15;var _0x2e011b;super(),this[_0x13a4d1(0x2d7)]=_0x3ee03b,this[_0x13a4d1(0x437)]=_0x51901e,this[_0x13a4d1(0x297)]=_0x1bcab6,this[_0x13a4d1(0x1dd)]=_0x548f28,this['_chartRenderService']=_0x3ceedf,this[_0x13a4d1(0x1e6)]=_0x2ea824,this[_0x13a4d1(0x1a6)]=_0x55afaf,this[_0x13a4d1(0x423)]=_0x4b745b,this['_sheetCanvasFloatDomManagerService']=_0x4cdf5b,this[_0x13a4d1(0x317)]=_0x4476e6,this[_0x13a4d1(0x3bc)]=_0x1a6596,this['_sheetsChartUIService']=_0x36a3ed,this[_0x13a4d1(0x445)]=_0x330873,this['_localeService']=_0x1f7e43,_0x53ca96(this,_0x13a4d1(0x476),null),_0x53ca96(this,'_isChartElementEditEnabled',void 0x0),this[_0x13a4d1(0x209)]=((_0x2e011b=_0x47f87d[_0x13a4d1(0x2bc)](_0x13a4d1(0x38f)))==null?void 0x0:_0x2e011b[_0x13a4d1(0x3c5)])===!0x0,this[_0x13a4d1(0x5dd)](),this[_0x13a4d1(0x55e)](this[_0x13a4d1(0x437)][_0x13a4d1(0x4f4)](_0x91c33f[_0x13a4d1(0x366)][_0x13a4d1(0x648)])[_0x13a4d1(0x18f)](_0x20694e=>{const _0x2e1958=_0x13a4d1;if(!_0x20694e){var _0x125b5e;(_0x125b5e=this[_0x2e1958(0x476)])==null||_0x125b5e[_0x2e1958(0x218)]();}})),this[_0x13a4d1(0x55e)]((0x0,_0x91c33f[_0x13a4d1(0x624)])(this[_0x13a4d1(0x1e6)][_0x13a4d1(0x4db)]['subscribe'](async({drawing:_0x4b95d9})=>{const _0x1b21d1=_0x13a4d1;await this[_0x1b21d1(0x5cc)](_0x4b95d9);})));}[_0x57fb15(0x218)](){const _0x58a5d4=_0x57fb15;this[_0x58a5d4(0x2c1)](),super[_0x58a5d4(0x218)]();}[_0x57fb15(0x30d)](){const _0x421629=_0x57fb15;this[_0x421629(0x476)]=this['_sidebarService'][_0x421629(0x418)]({'id':_0x511dec,'header':{'title':this[_0x421629(0x266)]['t']('sheets-chart-ui.common.editChart')},'width':0x154,'children':{'label':_0x511dec},'onClose':()=>{const _0x33096f=_0x421629;this['_sidebarDisposable']=null,this[_0x33096f(0x577)](),this['_chartModelService']['activeChartModel']&&this[_0x33096f(0x297)][_0x33096f(0x2e6)](null),this[_0x33096f(0x2d7)][_0x33096f(0x169)](null),this[_0x33096f(0x445)][_0x33096f(0x33d)](_0x91c33f[_0x33096f(0x5cf)],!0x1);}});}[_0x57fb15(0x2c1)](){const _0x516d7d=_0x57fb15;let _0x5ddffb=this[_0x516d7d(0x476)];this[_0x516d7d(0x476)]=null,this['_deactivateEditPanelState'](),this[_0x516d7d(0x297)][_0x516d7d(0x214)]&&this['_chartModelService']['setActiveChartModel'](null),_0x5ddffb==null||_0x5ddffb[_0x516d7d(0x218)]();}[_0x57fb15(0x608)](){const _0x3ce7fd=_0x57fb15;let _0x4be58f=this['_univerInstanceService'][_0x3ce7fd(0x615)](_0x91c33f[_0x3ce7fd(0x366)][_0x3ce7fd(0x648)]);this[_0x3ce7fd(0x55e)](this[_0x3ce7fd(0x1a6)][_0x3ce7fd(0x4c8)][_0x3ce7fd(0x18f)](_0x4fd70e=>{const _0x5ca14d=_0x3ce7fd;_0x4fd70e['id']===_0x5ca14d(0x56e)&&(_0x4fd70e[_0x5ca14d(0x61b)]||this['_sidebarService'][_0x5ca14d(0x4c8)]['next']({'visible':!0x1}));})),this['disposeWithMe']((0x0,_0x1594a7['combineLatest'])([this[_0x3ce7fd(0x297)]['activeChartModel$'],this[_0x3ce7fd(0x496)][_0x3ce7fd(0x4a6)]])[_0x3ce7fd(0x351)]((0x0,_0x1594a7['map'])(([_0x592739,_0x595c4b])=>_0x595c4b?(_0x592739==null?void 0x0:_0x592739['id'])??null:null),(0x0,_0x1594a7[_0x3ce7fd(0x1bb)])(),(0x0,_0x1594a7['startWith'])(null),(0x0,_0x1594a7['pairwise'])())['subscribe'](([_0xd83e7a,_0x291cae])=>{const _0x2384c3=_0x3ce7fd;this[_0x2384c3(0x243)](_0xd83e7a,_0x291cae);})),this[_0x3ce7fd(0x55e)](this[_0x3ce7fd(0x297)][_0x3ce7fd(0x18d)][_0x3ce7fd(0x18f)](_0xac0220=>{const _0x3cb482=_0x3ce7fd;!_0xac0220&&this[_0x3cb482(0x476)]&&this[_0x3cb482(0x2c1)]();})),this[_0x3ce7fd(0x55e)](this['_commandService'][_0x3ce7fd(0x26b)](_0x3f9ec6=>{const _0x3ce866=_0x3ce7fd;if(_0x3f9ec6['id']===_0x29b997['id']){let _0x17bbba=_0x3f9ec6[_0x3ce866(0x1e1)];if(!_0x5f054b(this[_0x3ce866(0x2d7)][_0x3ce866(0x331)]({'unitId':_0x17bbba[_0x3ce866(0x2cd)],'subUnitId':_0x17bbba['subUnitId'],'drawingId':_0x17bbba[_0x3ce866(0x358)]})))return;this[_0x3ce866(0x286)](_0x17bbba[_0x3ce866(0x358)],_0x17bbba[_0x3ce866(0x2c5)]);}if(_0x3f9ec6['id']===_0x2be9f9['id']&&this[_0x3ce866(0x2c1)](),_0x3f9ec6['id']===_0x94af28[_0x3ce866(0x537)]['id']){var _0x214fde;_0x3f9ec6[_0x3ce866(0x1e1)][_0x3ce866(0x570)]===((_0x214fde=this[_0x3ce866(0x297)][_0x3ce866(0x214)])==null?void 0x0:_0x214fde['id'])&&this[_0x3ce866(0x2c1)](),this['_contextService'][_0x3ce866(0x395)](_0x91c33f[_0x3ce866(0x5cf)])&&(this[_0x3ce866(0x445)][_0x3ce866(0x33d)](_0x91c33f[_0x3ce866(0x5cf)],!0x1),this[_0x3ce866(0x2d7)][_0x3ce866(0x169)](null));}})),this[_0x3ce7fd(0x55e)](this[_0x3ce7fd(0x224)][_0x3ce7fd(0x1b9)][_0x3ce7fd(0x18f)](({id:_0x1695dc})=>{const _0x363d2c=_0x3ce7fd;this[_0x363d2c(0x496)][_0x363d2c(0x44b)](_0x1695dc)&&this['hidePanel']();})),this[_0x3ce7fd(0x55e)](this[_0x3ce7fd(0x224)][_0x3ce7fd(0x539)][_0x3ce7fd(0x18f)](({id:_0x2c2fa5})=>{const _0x4b35f7=_0x3ce7fd;this[_0x4b35f7(0x496)][_0x4b35f7(0x44b)](_0x2c2fa5)&&(this[_0x4b35f7(0x496)]['clearPanelRoute'](),this['_chartRenderService'][_0x4b35f7(0x29f)](_0x2c2fa5,!0x1),this[_0x4b35f7(0x1a7)](_0x2c2fa5)&&this['_chartRenderService']['setElementEditMode'](_0x2c2fa5,!0x0));})),this[_0x3ce7fd(0x55e)](this['_drawingManagerService']['focus$']['subscribe'](_0xa1db96=>{const _0x38983b=_0x3ce7fd;let _0x1758fe=_0xa1db96[0x0];if(!this['_sheetsChartUIService'][_0x38983b(0x220)]){if(_0x240be9(_0xa1db96)){var _0x4b2e43;let _0x11f497=this[_0x38983b(0x297)][_0x38983b(0x401)](_0x1758fe[_0x38983b(0x358)]);_0x11f497&&this[_0x38983b(0x27d)](_0x11f497['id'])&&((_0x4b2e43=this[_0x38983b(0x297)][_0x38983b(0x214)])==null?void 0x0:_0x4b2e43['id'])!==_0x11f497['id']&&this[_0x38983b(0x297)][_0x38983b(0x2e6)](_0x11f497);}else this[_0x38983b(0x297)]['activeChartModel']&&this[_0x38983b(0x297)][_0x38983b(0x2e6)](null),!_0x1758fe&&!this['_sheetsChartUIService'][_0x38983b(0x220)]&&this[_0x38983b(0x2c1)]();}})),_0x4be58f&&(this[_0x3ce7fd(0x55e)](_0x4be58f[_0x3ce7fd(0x36a)]['subscribe'](()=>{this['hidePanel']();})),this[_0x3ce7fd(0x55e)](_0x4be58f[_0x3ce7fd(0x62e)]['subscribe'](()=>{const _0x25cefb=_0x3ce7fd;this[_0x25cefb(0x2c1)]();})));}async[_0x57fb15(0x5cc)](_0x5ae087){const _0x546a74=_0x57fb15;this[_0x546a74(0x496)][_0x546a74(0x654)]||_0x5f054b(_0x5ae087)&&this[_0x546a74(0x27d)](_0x5ae087[_0x546a74(0x358)])&&await this[_0x546a74(0x5d5)](_0x5ae087[_0x546a74(0x2cd)],_0x5ae087[_0x546a74(0x2b0)],_0x5ae087[_0x546a74(0x358)]);}async[_0x57fb15(0x5d5)](_0x40eb70,_0x170e01,_0x3bb749){const _0x2462bd=_0x57fb15;this[_0x2462bd(0x297)]['getChartModel'](_0x3bb749)&&this[_0x2462bd(0x27d)](_0x3bb749)&&await this[_0x2462bd(0x3bc)][_0x2462bd(0x5f0)](_0x29b997['id'],{'unitId':_0x40eb70,'subUnitId':_0x170e01,'drawingId':_0x3bb749});}[_0x57fb15(0x286)](_0x47e32d,_0x2eea8a){const _0x1a515f=_0x57fb15;let _0x5ee288=this[_0x1a515f(0x297)][_0x1a515f(0x401)](_0x47e32d);_0x5ee288&&this[_0x1a515f(0x27d)](_0x47e32d)&&(this['_chartModelService']['setActiveChartModel'](_0x5ee288),this[_0x1a515f(0x30d)](),this[_0x1a515f(0x290)](_0x47e32d,_0x2eea8a??null));}[_0x57fb15(0x290)](_0x2b0b1d,_0x26e3e9){const _0x25b1a9=_0x57fb15;this['_sheetsChartUIService'][_0x25b1a9(0x37f)](!0x0),this['_sheetsChartUIService']['setPanelRoute'](_0x2b0b1d,_0x26e3e9);}[_0x57fb15(0x577)](){const _0x133dd0=_0x57fb15;this[_0x133dd0(0x496)][_0x133dd0(0x37f)](!0x1);}[_0x57fb15(0x243)](_0x1f1f23,_0xdc30e0){const _0x30e556=_0x57fb15;_0x1f1f23!==_0xdc30e0&&(_0x1f1f23&&this[_0x30e556(0x2a6)][_0x30e556(0x29f)](_0x1f1f23,!0x1),this[_0x30e556(0x496)][_0x30e556(0x56c)](),_0xdc30e0&&(this[_0x30e556(0x496)][_0x30e556(0x58b)](_0xdc30e0,null),this['_chartRenderService']['setElementEditMode'](_0xdc30e0,this[_0x30e556(0x1a7)](_0xdc30e0))));}[_0x57fb15(0x5dd)](){const _0x5b4f20=_0x57fb15;this[_0x5b4f20(0x423)][_0x5b4f20(0x49c)](_0x71964),this[_0x5b4f20(0x317)]['registerFeatureMenu'](_0x91c33f[_0x5b4f20(0x461)][_0x5b4f20(0x1cc)],this[_0x5b4f20(0x15e)][_0x5b4f20(0x4b7)](this),void 0x0,_0x5b4f20(0x21a));}[_0x57fb15(0x1a7)](_0x260196){const _0x53232e=_0x57fb15;let _0x157c42=this[_0x53232e(0x297)][_0x53232e(0x401)](_0x260196);return!this[_0x53232e(0x209)]||!_0x157c42||!this['_isOwnedChart'](_0x260196)?!0x1:_0x4ed51e(_0x157c42[_0x53232e(0x4b5)]);}[_0x57fb15(0x15e)](_0x4efe80,_0x6760e6,_0x37385d,_0x33b2c2){const _0x11b81f=_0x57fb15;if(!this[_0x11b81f(0x297)][_0x11b81f(0x401)](_0x37385d))return[];let _0x2f5325=[{'label':this[_0x11b81f(0x266)]['t'](_0x11b81f(0x26c)),'icon':_0x11b81f(0x156),'index':0x0,'commandId':_0x29b997['id'],'commandParams':{'unitId':_0x4efe80,'subUnitId':_0x6760e6,'drawingId':_0x37385d},'disable':_0x33b2c2!==_0x91c33f[_0x11b81f(0x461)]['DRAWING_CHART']}];return this[_0x11b81f(0x27d)](_0x37385d)?[..._0x2f5325,{'label':this[_0x11b81f(0x266)]['t']('sheets-chart-ui.common.deleteChart'),'icon':'DeleteIcon','index':0x1,'commandId':_0x339595[_0x11b81f(0x564)]['id'],'commandParams':{'unitId':_0x4efe80,'drawings':[{'unitId':_0x4efe80,'subUnitId':_0x6760e6,'drawingId':_0x37385d,'drawingType':_0x33b2c2}]},'disable':!0x1},{'label':this[_0x11b81f(0x266)]['t'](_0x11b81f(0x326)),'icon':_0x11b81f(0x4eb),'index':0x2,'commandId':_0x2be9f9['id'],'commandParams':{'unitId':_0x4efe80,'subUnitId':_0x6760e6,'drawingId':_0x37385d},'disable':!0x1}]:_0x2f5325;}[_0x57fb15(0x27d)](_0x31eff4){const _0x5476a2=_0x57fb15;return this[_0x5476a2(0x1dd)][_0x5476a2(0x222)](_0x31eff4)!==void 0x0;}};_0xbeca0c=_0x12534c([_0x1314c8(0x0,_0x2f0dad[_0x57fb15(0x62c)]),_0x1314c8(0x1,_0x91c33f[_0x57fb15(0x5db)]),_0x1314c8(0x2,(0x0,_0x91c33f['Inject'])(_0x94af28[_0x57fb15(0x172)])),_0x1314c8(0x3,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x27b)])),_0x1314c8(0x4,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x4878a6)),_0x1314c8(0x5,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x32fb7d[_0x57fb15(0x363)])),_0x1314c8(0x6,(0x0,_0x91c33f['Inject'])(_0x256211['ISidebarService'])),_0x1314c8(0x7,_0x256211[_0x57fb15(0x342)]),_0x1314c8(0x8,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x32fb7d[_0x57fb15(0x64c)])),_0x1314c8(0x9,(0x0,_0x91c33f['Inject'])(_0x3d68f4[_0x57fb15(0x188)])),_0x1314c8(0xa,_0x91c33f[_0x57fb15(0x34c)]),_0x1314c8(0xb,_0x35cda9),_0x1314c8(0xc,_0x91c33f[_0x57fb15(0x39b)]),_0x1314c8(0xd,(0x0,_0x91c33f['Inject'])(_0x91c33f[_0x57fb15(0x658)])),_0x1314c8(0xe,_0x91c33f['IConfigService'])],_0xbeca0c);var _0x181d21=_0x57fb15(0x24d),_0x5a2df5='1.5.0';let _0x1b7ff3=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x9e1a27,_0x584de8){const _0x2688bd=_0x57fb15;super(),this['_chartHostProviderService']=_0x9e1a27,this['_chartModelService']=_0x584de8,this[_0x2688bd(0x265)]();}['_init'](){const _0x28a398=_0x57fb15;this['disposeWithMe'](this['_chartHostProviderService'][_0x28a398(0x4c4)][_0x28a398(0x18f)](_0x45a880=>{const _0x24b5b9=_0x28a398;this[_0x24b5b9(0x297)][_0x24b5b9(0x541)](_0x45a880);}));}};_0x1b7ff3=_0x12534c([_0x1314c8(0x0,_0x48d613),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28['ChartModelService']))],_0x1b7ff3);let _0x51007c=class extends _0x91c33f['Disposable']{constructor(_0x5c5fe2,_0x55abf4,_0x335749,_0x3d9c92,_0x441244,_0x23d410){const _0xd79116=_0x57fb15;super(),this[_0xd79116(0x297)]=_0x5c5fe2,this['_chartRenderService']=_0x55abf4,this['_localeService']=_0x335749,this['_chartUIService']=_0x3d9c92,this[_0xd79116(0x3bc)]=_0x441244,this[_0xd79116(0x525)]=_0x23d410,_0x53ca96(this,'_chartModelDisposables',new Map()),_0x53ca96(this,_0xd79116(0x5aa),new Set()),_0x53ca96(this,_0xd79116(0x18b),new Set()),this['_init'](),this[_0xd79116(0x519)](),this[_0xd79116(0x5fd)]();}['_initPrinting'](){const _0x7539ac=_0x57fb15;this[_0x7539ac(0x55e)](this[_0x7539ac(0x525)][_0x7539ac(0x469)][_0x7539ac(0x56f)](this[_0x7539ac(0x525)][_0x7539ac(0x469)][_0x7539ac(0x4ee)]()[_0x7539ac(0x389)],{'handler':(_0x1401e6,_0x569768,_0x4bec6d)=>{const _0x5733af=_0x7539ac;let _0xafbc6f=this[_0x5733af(0x2a6)][_0x5733af(0x2d4)](_0x569768[_0x5733af(0x2cd)],_0x569768[_0x5733af(0x2b0)],_0x569768[_0x5733af(0x5f6)]);return _0x569768['resourceCollector'][_0x5733af(0x2ce)](_0xafbc6f),_0x4bec6d(_0x1401e6);}}));}[_0x57fb15(0x265)](){const _0x28c98b=_0x57fb15;this['disposeWithMe'](this[_0x28c98b(0x297)][_0x28c98b(0x2d5)][_0x28c98b(0x18f)](_0x8a778c=>{const _0x3393cd=_0x28c98b;if(_0x8a778c){let _0x48f157=new _0x91c33f[(_0x3393cd(0x3f0))]();this[_0x3393cd(0x3a4)]['set'](_0x8a778c,_0x48f157),_0x48f157[_0x3393cd(0x2ce)](_0x8a778c[_0x3393cd(0x417)][_0x3393cd(0x18f)]({'complete':()=>this['_disposeChartModel'](_0x8a778c)})),_0x48f157[_0x3393cd(0x2ce)](_0x8a778c[_0x3393cd(0x3e2)][_0x3393cd(0x351)]((0x0,_0x1594a7[_0x3393cd(0x5e6)])(_0x26a6f0=>_0x26a6f0[_0x3393cd(0x2b2)][_0x3393cd(0x351)]((0x0,_0x1594a7[_0x3393cd(0x549)])(0x1))))[_0x3393cd(0x18f)](()=>{const _0x110944=_0x3393cd;this[_0x110944(0x18b)][_0x110944(0x2ce)](_0x8a778c);})),_0x48f157[_0x3393cd(0x2ce)](_0x8a778c['config$'][_0x3393cd(0x351)]((0x0,_0x1594a7[_0x3393cd(0x54a)])(_0x8a778c['style$']),(0x0,_0x1594a7[_0x3393cd(0x54a)])(this[_0x3393cd(0x266)]['direction$']),(0x0,_0x1594a7[_0x3393cd(0x517)])(0x64))[_0x3393cd(0x18f)](([[_0x249e24,_0x436e21],_0x80e420])=>{const _0x28c365=_0x3393cd;var _0x72f323;if(!_0x249e24)return;(_0x72f323=_0x249e24[_0x28c365(0x1ef)])==null||_0x72f323[_0x28c365(0x4d9)][_0x28c365(0x3f4)]((_0x1c26dc,_0x4ea7d1)=>{const _0x334d2c=_0x28c365;_0x1c26dc['label']||=this[_0x334d2c(0x266)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x4ea7d1+0x1);}),_0x249e24[_0x28c365(0x571)][_0x28c365(0x3f4)]((_0x576e2c,_0x415d65)=>{const _0x4229fe=_0x28c365;_0x576e2c[_0x4229fe(0x52c)]||=this[_0x4229fe(0x266)]['t'](_0x4229fe(0x65e))+'\x20'+(_0x415d65+0x1);});let _0x27fa73=this[_0x28c365(0x2a6)][_0x28c365(0x175)](_0x8a778c,_0x80e420),_0x1a5d46=this['_pendingDataUpdateChartModels'][_0x28c365(0x27c)](_0x8a778c);this[_0x28c365(0x2a6)][_0x28c365(0x380)](_0x8a778c['id'],_0x249e24,_0x27fa73,{'animateDataUpdate':_0x1a5d46});}));}}));}[_0x57fb15(0x519)](){const _0x193288=_0x57fb15;this[_0x193288(0x55e)](this['_commandService']['onCommandExecuted'](_0x8bcf7a=>{const _0x2fee21=_0x193288;if(_0x8bcf7a['id']!==_0x94af28[_0x2fee21(0x50a)]['id'])return;let _0x4e9fb9=_0x8bcf7a[_0x2fee21(0x1e1)];if(!(_0x4e9fb9!=null&&_0x4e9fb9['chartModelId']))return;let _0x135ea8=this['_chartModelService']['getChartModel'](_0x4e9fb9[_0x2fee21(0x180)]);_0x135ea8&&Promise['resolve']()[_0x2fee21(0x3d1)](()=>{const _0x474a68=_0x2fee21;!this['_disposed']&&this[_0x474a68(0x3a4)][_0x474a68(0x23a)](_0x135ea8)&&this[_0x474a68(0x297)][_0x474a68(0x401)](_0x135ea8['id'])===_0x135ea8&&this[_0x474a68(0x47b)](_0x135ea8);});}));}['_renderAfterChartUpdateMutation'](_0x1789c3){const _0xb05fe0=_0x57fb15;if(_0x1789c3[_0xb05fe0(0x4b5)]!==_0x1e7e6c[_0xb05fe0(0x5a6)][_0xb05fe0(0x183)])return;let _0x651d03=_0x1789c3[_0xb05fe0(0x4f0)];_0x651d03?this[_0xb05fe0(0x16f)](_0x1789c3,_0x651d03):this['_renderWhenConfigReady'](_0x1789c3);}[_0x57fb15(0x2b5)](_0x256d1d){const _0x2cf718=_0x57fb15;if(this['_pendingMutationConfigRenders'][_0x2cf718(0x23a)](_0x256d1d))return;this['_pendingMutationConfigRenders']['add'](_0x256d1d);let _0xa9232a=_0x256d1d['config$']['pipe']((0x0,_0x1594a7[_0x2cf718(0x168)])(_0x36e834=>_0x36e834!=null),(0x0,_0x1594a7[_0x2cf718(0x538)])(0x1))[_0x2cf718(0x18f)](_0x50663d=>{const _0xa9a366=_0x2cf718;this[_0xa9a366(0x5aa)]['delete'](_0x256d1d),this[_0xa9a366(0x16f)](_0x256d1d,_0x50663d);});this[_0x2cf718(0x3a4)][_0x2cf718(0x49e)](_0x256d1d)[_0x2cf718(0x2ce)](_0xa9232a);}[_0x57fb15(0x319)](_0x14aca1){const _0x354802=_0x57fb15;let _0x56c371=this[_0x354802(0x3a4)][_0x354802(0x49e)](_0x14aca1);this[_0x354802(0x3a4)][_0x354802(0x27c)](_0x14aca1),_0x56c371==null||_0x56c371[_0x354802(0x218)](),this[_0x354802(0x5aa)][_0x354802(0x27c)](_0x14aca1),this['_pendingDataUpdateChartModels']['delete'](_0x14aca1);}[_0x57fb15(0x218)](){const _0x118be2=_0x57fb15;super[_0x118be2(0x218)](),this['_chartModelDisposables'][_0x118be2(0x3f4)]((_0x514cb4,_0x425101)=>this[_0x118be2(0x319)](_0x425101));}[_0x57fb15(0x16f)](_0x5d28e9,_0xe369cb){const _0x27611d=_0x57fb15;let _0x275ae9=this['_chartRenderService'][_0x27611d(0x175)](_0x5d28e9,this[_0x27611d(0x266)][_0x27611d(0x5b5)]());this['_chartRenderService'][_0x27611d(0x380)](_0x5d28e9['id'],_0xe369cb,_0x275ae9);}};_0x51007c=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28['ChartModelService'])),_0x1314c8(0x1,(0x0,_0x91c33f['Inject'])(_0x4878a6)),_0x1314c8(0x2,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f['LocaleService'])),_0x1314c8(0x3,_0x35cda9),_0x1314c8(0x4,_0x91c33f[_0x57fb15(0x34c)]),_0x1314c8(0x5,(0x0,_0x91c33f['Inject'])(_0x3d68f4['SheetPrintInterceptorService']))],_0x51007c);let _0x1ddaf6=_0x1350ac=>_0x1350ac[_0x57fb15(0x615)](_0x91c33f[_0x57fb15(0x366)]['UNIVER_SHEET'])[_0x57fb15(0x1b6)](),_0x501f9a=_0x5372aa=>{const _0x912c38=_0x57fb15;var _0x149cfe;return(_0x149cfe=_0x5372aa[_0x912c38(0x615)](_0x91c33f[_0x912c38(0x366)][_0x912c38(0x648)])[_0x912c38(0x4a5)]())==null?void 0x0:_0x149cfe[_0x912c38(0x4c1)]();};function _0x18b8a2(){const _0x396925=_0x57fb15;var _0x5ada98;let _0x51ee35=(0x0,_0x256211['useDependency'])(_0x35cda9),_0x2bd5aa=(0x0,_0x256211[_0x396925(0x2b3)])(_0x94af28[_0x396925(0x172)]),_0x3977ba=(0x0,_0x256211[_0x396925(0x2b3)])(_0x94af28['SheetsChartService']),_0x42dad0=(0x0,_0x256211['useDependency'])(_0x91c33f['LocaleService']),_0x17a3fc=(0x0,_0x256211['useDependency'])(_0x91c33f[_0x396925(0x27e)]),_0x316124=(0x0,_0x94af28['getAllowedChartTypes'])(_0x17a3fc),_0x729a68=(0x0,_0x457eb7[_0x396925(0x25c)])(()=>{const _0x307f91=_0x396925;let _0x294ad3=_0x4e20b2(_0x3d758f[_0x307f91(0x36c)](),_0x316124);return(0x0,_0x36d079[_0x307f91(0x419)])(_0x294ad3[_0x307f91(0x35c)](_0x221ced=>({'id':_0x221ced['id'],'label':_0x42dad0['t']('sheets-chart-ui.chartTypes.'+_0x221ced[_0x307f91(0x226)]),'pieSecondaryPlotType':_0x221ced[_0x307f91(0x308)],'value':_0x221ced[_0x307f91(0x38d)]})));},[_0x316124,_0x42dad0]),_0x4a1c87=(0x0,_0x256211[_0x396925(0x1d0)])(_0x2bd5aa[_0x396925(0x18d)],_0x2bd5aa['activeChartModel']),_0x355154=_0x4a1c87?_0x3977ba[_0x396925(0x3d7)](_0x4a1c87['id']):void 0x0,_0x187c05=(0x0,_0x256211[_0x396925(0x1d0)])(_0x355154==null?void 0x0:_0x355154[_0x396925(0x30b)],_0x355154==null?void 0x0:_0x355154[_0x396925(0x56a)]()),_0x44936b=Array['isArray'](_0x187c05),_0x40cfbc=_0x187c05&&!_0x44936b&&_0x187c05[_0x396925(0x231)]?_0x1e7e6c[_0x396925(0x4ac)][_0x396925(0x4e3)]:_0x1e7e6c[_0x396925(0x4ac)][_0x396925(0x4f7)],_0x2636f9=_0x44936b?(_0x5ada98=_0x187c05[0x0])==null?void 0x0:_0x5ada98[_0x396925(0x523)]:_0x187c05==null?void 0x0:_0x187c05[_0x396925(0x20f)];return(0x0,_0x2041bd[_0x396925(0x29b)])(_0x396925(0x246),{'className':_0x396925(0x3de),'children':(0x0,_0x2041bd[_0x396925(0x29b)])(_0x36d079[_0x396925(0x448)],{'chartTypeOptions':_0x729a68,'dataSourceControl':(0x0,_0x2041bd[_0x396925(0x29b)])(_0x5e3558,{'chartId':_0x4a1c87==null?void 0x0:_0x4a1c87['id'],'dataRange':_0x187c05,'primaryRange':_0x2636f9}),'categoryToggleLabel':_0x42dad0['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x40cfbc===_0x1e7e6c[_0x396925(0x4ac)][_0x396925(0x4e3)]?_0x40cfbc+'\x20'+(((_0x2636f9==null?void 0x0:_0x2636f9[_0x396925(0x523)][_0x396925(0x5d9)])??0x0)+0x1):_0x40cfbc+'\x20'+(0x0,_0x91c33f[_0x396925(0x639)])((_0x2636f9==null?void 0x0:_0x2636f9[_0x396925(0x523)][_0x396925(0x605)])??0x0)),'orientationControl':_0x44936b?void 0x0:(0x0,_0x2041bd[_0x396925(0x29b)])(_0x2f9b35[_0x396925(0x2a2)],{'onClick':()=>_0x51ee35['setOrientation'](_0x40cfbc===_0x1e7e6c['DataOrientation'][_0x396925(0x4e3)]?_0x1e7e6c[_0x396925(0x4ac)][_0x396925(0x4f7)]:_0x1e7e6c['DataOrientation'][_0x396925(0x4e3)]),'size':_0x396925(0x1c1),'children':_0x42dad0['t'](_0x396925(0x57f))})})});}function _0x5e3558(_0x4ab920){const _0x460601=_0x57fb15;let {chartId:_0x5c3273,dataRange:_0x5d3052,primaryRange:_0x43fa6d}=_0x4ab920,_0x226cee=(0x0,_0x256211[_0x460601(0x2b3)])(_0x35cda9),_0x432f79=(0x0,_0x256211[_0x460601(0x2b3)])(_0x91c33f[_0x460601(0x658)]),_0x360bb1=(0x0,_0x256211['useDependency'])(_0x91c33f[_0x460601(0x5db)]),_0x38c1d0=(0x0,_0x256211['useDependency'])(_0x91c33f['ILogService']),_0x557c1c=(0x0,_0x256211[_0x460601(0x2b3)])(_0x91c33f[_0x460601(0x39b)]),_0x48f494=(0x0,_0x457eb7[_0x460601(0x3ba)])(null),_0x335ffd=(0x0,_0x256211[_0x460601(0x2b3)])(_0x15340d['IEditorService']),[_0x404f02,_0x503265]=(0x0,_0x457eb7['useState'])(!0x1),_0x18da8d=_0x1ddaf6(_0x360bb1),_0x29ae23=_0x501f9a(_0x360bb1),_0xd4d43c=_0x5d3052?_0x64e93f(_0x5d3052,_0x360bb1):'';(0x0,_0x457eb7[_0x460601(0x3f5)])(()=>{const _0x43fcf8=_0x460601;var _0x7fe68;let _0x5c77a7=_0x48f494[_0x43fcf8(0x4f1)];_0x5c77a7&&((_0x7fe68=_0x5c77a7[_0x43fcf8(0x5bd)]())==null?void 0x0:_0x7fe68['getPlainText']())!==_0xd4d43c&&_0x5c77a7[_0x43fcf8(0x4b2)](_0xd4d43c);},[_0xd4d43c]);let _0x72b3ed=()=>{const _0x3a689f=_0x460601;var _0x30e9b1,_0x3b6493;(_0x30e9b1=_0x48f494[_0x3a689f(0x4f1)])==null||_0x30e9b1['setSelectionRanges']([]),(_0x3b6493=_0x48f494[_0x3a689f(0x4f1)])==null||_0x3b6493[_0x3a689f(0x46a)](),_0x335ffd[_0x3a689f(0x46a)]();},_0x1fcfe7=()=>{const _0x38a34a=_0x460601;var _0x1445f6;if(!_0x5c3273)return;let _0x1779c1=(((_0x1445f6=_0x48f494['current'])==null||(_0x1445f6=_0x1445f6[_0x38a34a(0x5bd)]())==null?void 0x0:_0x1445f6[_0x38a34a(0x460)]())??_0x64e93f(_0x5d3052,_0x360bb1))[_0x38a34a(0x2ff)](',')[_0x38a34a(0x168)](_0x16941f=>_0x16941f[_0x38a34a(0x5ea)]())[_0x38a34a(0x35c)](_0x233f17=>(0x0,_0xf9b09f[_0x38a34a(0x364)])(_0x233f17));_0x72b3ed(),_0x226cee[_0x38a34a(0x249)](_0x18da8d,_0x5c3273,_0x1779c1)['catch'](_0x4499ca=>_0x38c1d0[_0x38a34a(0x32c)](_0x4499ca));};(0x0,_0x457eb7[_0x460601(0x3f5)])(()=>{const _0x23c68e=_0x460601;_0x226cee[_0x23c68e(0x398)](_0x404f02),_0x557c1c[_0x23c68e(0x33d)](_0x91c33f['FOCUSING_PANEL_EDITOR'],_0x404f02);},[_0x557c1c,_0x404f02,_0x226cee]),(0x0,_0x457eb7['useEffect'])(()=>()=>{const _0x3e6f45=_0x460601;_0x226cee[_0x3e6f45(0x398)](!0x1),_0x557c1c[_0x3e6f45(0x33d)](_0x91c33f['FOCUSING_PANEL_EDITOR'],!0x1);},[_0x557c1c,_0x226cee]);let _0x2e94ca=(0x0,_0x457eb7[_0x460601(0x25c)])(()=>(0x0,_0x91c33f['debounce'])(async _0x529cfd=>{const _0x52ca1d=_0x460601;var _0x5e2bf1;if(_0x64e93f(_0x5d3052,_0x360bb1)===_0x529cfd)return;let _0x2122d2=_0x529cfd['split'](',')['filter'](Boolean)[_0x52ca1d(0x35c)](_0xf9b09f[_0x52ca1d(0x364)])[0x0];if(!_0x2122d2)return;let {unitId:_0x424016,sheetName:_0x1f775d,range:_0x4c49de}=_0x2122d2,_0x20f5a6=_0x424016||_0x18da8d,_0x168a7c=((_0x5e2bf1=_0x360bb1['getUnit'](_0x20f5a6)[_0x52ca1d(0x425)](_0x1f775d))==null?void 0x0:_0x5e2bf1[_0x52ca1d(0x4c1)]())||(_0x43fa6d==null?void 0x0:_0x43fa6d[_0x52ca1d(0x2b0)])||_0x29ae23;_0x168a7c&&_0x226cee['setDataRange']({'rangeInfo':{'range':_0x4c49de,'unitId':_0x20f5a6,'subUnitId':_0x168a7c}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x5d3052,_0x43fa6d,_0x226cee,_0x29ae23,_0x18da8d,_0x360bb1]);return(0x0,_0x457eb7['useEffect'])(()=>()=>_0x2e94ca[_0x460601(0x3e0)](),[_0x2e94ca]),(0x0,_0x2041bd[_0x460601(0x29b)])('div',{'className':_0x460601(0x396),'children':(0x0,_0x2041bd[_0x460601(0x528)])(_0x460601(0x246),{'children':[(0x0,_0x2041bd[_0x460601(0x29b)])(_0x36d079[_0x460601(0x5b9)],{'title':_0x432f79['t'](_0x460601(0x267))}),(0x0,_0x2041bd[_0x460601(0x29b)])(_0x15340d['RichTextEditor'],{'isSingle':!0x0,'preserveHostFocus':!0x0,'editorRef':_0x48f494,'onClickOutside':_0x72b3ed,'icon':(0x0,_0x2041bd[_0x460601(0x29b)])(_0x2f9b35[_0x460601(0x2a2)],{'variant':_0x460601(0x3c1),'size':_0x460601(0x4e4),'className':_0x460601(0x64d),'aria-label':_0x432f79['t'](_0x460601(0x267)),'onClick':_0x1fcfe7,'children':(0x0,_0x2041bd[_0x460601(0x29b)])(_0xc8b7c4,{})}),'initialValue':_0xd4d43c,'onChange':(_0x267081,_0x2749a2)=>_0x2e94ca(_0x2749a2),'onFocusChange':_0x4c3f71=>{_0x503265(_0x4c3f71);}})]})});}function _0x467859(){const _0x187f5a=_0x57fb15;let [_0x3a7152,_0x37d8d8]=(0x0,_0x457eb7[_0x187f5a(0x439)])(_0x36d079[_0x187f5a(0x36d)]['Data']),_0x19b6e0=(0x0,_0x256211[_0x187f5a(0x2b3)])(_0x91c33f[_0x187f5a(0x27e)]),_0x8ef01a=(0x0,_0x256211['useDependency'])(_0x91c33f[_0x187f5a(0x658)]),_0x4d5f15=(0x0,_0x256211[_0x187f5a(0x2b3)])(_0x35cda9),_0x4cb56b=(0x0,_0x256211['useDependency'])(_0x94af28[_0x187f5a(0x172)]),_0x13421b=(0x0,_0x256211[_0x187f5a(0x1d0)])(_0x4cb56b['activeChartModel$'],_0x4cb56b[_0x187f5a(0x214)]),_0x5e77e5=(0x0,_0x256211[_0x187f5a(0x1d0)])(_0x4d5f15[_0x187f5a(0x3f2)],null),_0x124cab=(0x0,_0x457eb7['useMemo'])(()=>{const _0x272c14=_0x187f5a;if(!_0x13421b)return null;let _0x14c38e=_0x4d5f15[_0x272c14(0x4a1)](_0x13421b['id']);return _0x14c38e?new _0x36d079[(_0x272c14(0x154))](_0x13421b,new _0x94af28[(_0x272c14(0x300))]({'unitId':_0x14c38e[_0x272c14(0x2cd)],'subUnitId':_0x14c38e[_0x272c14(0x2b0)],'chartId':_0x13421b['id'],'injector':_0x19b6e0})):null;},[_0x13421b,_0x19b6e0,_0x4d5f15]);if((0x0,_0x457eb7[_0x187f5a(0x3f5)])(()=>{const _0x4cbe83=_0x187f5a;var _0x15bf03,_0x4f7b20;_0x13421b&&(_0x5e77e5==null?void 0x0:_0x5e77e5[_0x4cbe83(0x570)])===_0x13421b['id']&&(((_0x15bf03=_0x5e77e5[_0x4cbe83(0x2c5)])==null?void 0x0:_0x15bf03[_0x4cbe83(0x600)])===_0x36d079[_0x4cbe83(0x36d)]['Style']&&_0x37d8d8(_0x36d079[_0x4cbe83(0x36d)][_0x4cbe83(0x518)]),((_0x4f7b20=_0x5e77e5[_0x4cbe83(0x2c5)])==null?void 0x0:_0x4f7b20[_0x4cbe83(0x600)])===_0x36d079[_0x4cbe83(0x36d)][_0x4cbe83(0x337)]&&_0x37d8d8(_0x36d079['ChartEditPanelTab'][_0x4cbe83(0x337)]));},[_0x13421b,_0x5e77e5]),!_0x124cab)return null;let _0x3fff44=(0x0,_0x2041bd['jsx'])(_0x187f5a(0x246),{'className':_0x187f5a(0x490),'children':(0x0,_0x2041bd[_0x187f5a(0x29b)])(_0x36d079['ChartEditorTabs'],{'ariaLabel':_0x8ef01a['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x3a7152,'onTabChange':_0x37d8d8,'tabListClassName':_0x187f5a(0x241),'panelClassName':_0x3a7152===_0x36d079[_0x187f5a(0x36d)]['Style']?_0x187f5a(0x63b):_0x187f5a(0x362),'tabs':[{'id':_0x36d079['ChartEditPanelTab'][_0x187f5a(0x337)],'panelId':_0x187f5a(0x542),'title':_0x8ef01a['t'](_0x187f5a(0x1f5)),'content':(0x0,_0x2041bd[_0x187f5a(0x29b)])(_0x18b8a2,{})},{'id':_0x36d079[_0x187f5a(0x36d)][_0x187f5a(0x518)],'panelId':_0x187f5a(0x1a4),'title':_0x8ef01a['t'](_0x187f5a(0x405)),'content':(0x0,_0x2041bd['jsx'])(_0x222375,{'defaultValues':_0x1d25c8})}]})});return(0x0,_0x2041bd[_0x187f5a(0x29b)])(_0x36d079['MobileChartEditorProvider'],{'chartUIService':_0x4d5f15,'hostAdapter':_0x124cab,'children':_0x3fff44});}let _0x30bb12=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x39e711){const _0x56da59=_0x57fb15;super(),this['disposeWithMe'](_0x39e711[_0x56da59(0x54c)](_0x511dec,_0x467859));}};_0x30bb12=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x256211[_0x57fb15(0x473)]))],_0x30bb12);let _0x4de929=class extends _0x91c33f['Disposable']{constructor(_0x116dd6,_0x487ae7,_0x1ba14e,_0x12b6ed,_0x1b4a42,_0x13f932,_0x40948f,_0x339eeb,_0x198796){const _0x58135f=_0x57fb15;super(),this[_0x58135f(0x2d7)]=_0x116dd6,this[_0x58135f(0x297)]=_0x487ae7,this[_0x58135f(0x1a6)]=_0x1ba14e,this[_0x58135f(0x423)]=_0x12b6ed,this['_sheetCanvasPopManagerService']=_0x1b4a42,this[_0x58135f(0x3bc)]=_0x13f932,this[_0x58135f(0x496)]=_0x40948f,this[_0x58135f(0x445)]=_0x339eeb,this[_0x58135f(0x266)]=_0x198796,_0x53ca96(this,_0x58135f(0x476),null),_0x53ca96(this,_0x58135f(0x4a4),!0x1),this[_0x58135f(0x5dd)]();}[_0x57fb15(0x218)](){const _0x450ca7=_0x57fb15;this['hidePanel'](),super[_0x450ca7(0x218)]();}[_0x57fb15(0x608)](){const _0x5c2a72=_0x57fb15;this[_0x5c2a72(0x4a4)]||(this[_0x5c2a72(0x4a4)]=!0x0,this[_0x5c2a72(0x55e)](this[_0x5c2a72(0x3bc)][_0x5c2a72(0x26b)](_0x48c50e=>{const _0x4b5ee6=_0x5c2a72;if(_0x48c50e['id']!==_0x29b997['id'])return;let _0x45b747=_0x48c50e[_0x4b5ee6(0x1e1)];this[_0x4b5ee6(0x286)](_0x45b747[_0x4b5ee6(0x358)],_0x45b747[_0x4b5ee6(0x2c5)]);})));}[_0x57fb15(0x286)](_0x199e61,_0x47eed2){const _0x53252d=_0x57fb15;let _0x5c62ad=this['_chartModelService'][_0x53252d(0x401)](_0x199e61);_0x5c62ad&&(this[_0x53252d(0x297)][_0x53252d(0x2e6)](_0x5c62ad),this[_0x53252d(0x30d)](),this[_0x53252d(0x496)][_0x53252d(0x37f)](!0x0),this[_0x53252d(0x496)][_0x53252d(0x58b)](_0x199e61,_0x47eed2??null));}[_0x57fb15(0x2c1)](){const _0x44ee37=_0x57fb15;let _0x15e7ac=this[_0x44ee37(0x476)];this[_0x44ee37(0x476)]=null,this['_clearPanelState'](),_0x15e7ac==null||_0x15e7ac['dispose']();}[_0x57fb15(0x5dd)](){const _0x11e8e1=_0x57fb15;this['_menuManagerService'][_0x11e8e1(0x49c)]({[_0x256211['RibbonInsertGroup'][_0x11e8e1(0x1d1)]]:{[_0x3748b6['id']]:{'order':0x4,'menuItemFactory':_0x2cefc0}}}),this[_0x11e8e1(0x317)][_0x11e8e1(0x451)](_0x91c33f[_0x11e8e1(0x461)][_0x11e8e1(0x1cc)],(_0x26d688,_0x302322,_0xdf215f,_0x1edeb1)=>[{'label':this[_0x11e8e1(0x266)]['t'](_0x11e8e1(0x3e6)),'index':0x0,'commandId':_0x29b997['id'],'commandParams':{'unitId':_0x26d688,'subUnitId':_0x302322,'drawingId':_0xdf215f},'disable':_0x1edeb1!==_0x91c33f[_0x11e8e1(0x461)][_0x11e8e1(0x1cc)]},{'label':this['_localeService']['t'](_0x11e8e1(0x1e9)),'index':0x1,'commandId':_0x339595['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x26d688,'drawings':[{'unitId':_0x26d688,'subUnitId':_0x302322,'drawingId':_0xdf215f,'drawingType':_0x1edeb1}]},'disable':!0x1}],_0x11e8e1(0x29e));}['_openPanel'](){const _0x43dca5=_0x57fb15;this[_0x43dca5(0x476)]=this[_0x43dca5(0x1a6)][_0x43dca5(0x418)]({'id':_0x511dec,'header':{'title':this[_0x43dca5(0x266)]['t'](_0x43dca5(0x3e6))},'children':{'label':_0x511dec},'onClose':()=>{const _0xe0dd4e=_0x43dca5;this['_sidebarDisposable']=null,this[_0xe0dd4e(0x25b)]();}});}[_0x57fb15(0x25b)](){const _0x169ed5=_0x57fb15;this[_0x169ed5(0x496)][_0x169ed5(0x37f)](!0x1),this['_sheetsChartUIService'][_0x169ed5(0x56c)](),this[_0x169ed5(0x297)][_0x169ed5(0x214)]&&this[_0x169ed5(0x297)][_0x169ed5(0x2e6)](null),this[_0x169ed5(0x2d7)][_0x169ed5(0x169)](null),this[_0x169ed5(0x445)]['setContextValue'](_0x91c33f[_0x169ed5(0x5cf)],!0x1);}};_0x4de929=_0x12534c([_0x1314c8(0x0,_0x2f0dad[_0x57fb15(0x62c)]),_0x1314c8(0x1,(0x0,_0x91c33f['Inject'])(_0x94af28[_0x57fb15(0x172)])),_0x1314c8(0x2,(0x0,_0x91c33f['Inject'])(_0x256211[_0x57fb15(0x270)])),_0x1314c8(0x3,_0x256211[_0x57fb15(0x342)]),_0x1314c8(0x4,(0x0,_0x91c33f['Inject'])(_0x3d68f4[_0x57fb15(0x188)])),_0x1314c8(0x5,_0x91c33f[_0x57fb15(0x34c)]),_0x1314c8(0x6,_0x35cda9),_0x1314c8(0x7,_0x91c33f[_0x57fb15(0x39b)]),_0x1314c8(0x8,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x658)]))],_0x4de929);let _0x4aa291=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x548c44,_0x3eb0aa,_0x18b590,_0x22e7bc,_0x1f5893,_0x2d6c6e,_0x192531,_0x4089ea){const _0x563127=_0x57fb15;super(),this[_0x563127(0x355)]=_0x548c44,this['_sheetClipboardService']=_0x3eb0aa,this[_0x563127(0x625)]=_0x18b590,this[_0x563127(0x297)]=_0x22e7bc,this['_sheetsChartService']=_0x1f5893,this['_instanceService']=_0x2d6c6e,this['_drawingManager']=_0x192531,this[_0x563127(0x2a8)]=_0x4089ea,_0x53ca96(this,_0x563127(0x33e),null),_0x53ca96(this,_0x563127(0x5ad),void 0x0),this[_0x563127(0x55e)](this['_instanceService'][_0x563127(0x49b)][_0x563127(0x18f)](_0x367c2c=>{const _0x930b6e=_0x563127;var _0x5753d9,_0x2e6461;let _0x303458=_0x367c2c['getUnitId']();((_0x5753d9=this['_chartCopyInfo'])==null?void 0x0:_0x5753d9[_0x930b6e(0x2cd)])===_0x303458&&(this[_0x930b6e(0x33e)]=null),((_0x2e6461=this[_0x930b6e(0x5ad)])==null?void 0x0:_0x2e6461[_0x930b6e(0x2cd)])===_0x303458&&(this[_0x930b6e(0x5ad)]=null);})),this['_initCopyPaste']();}[_0x57fb15(0x218)](){const _0x379774=_0x57fb15;this[_0x379774(0x33e)]=null,this['_copyInfo']=null,super[_0x379774(0x218)]();}get['_focusedDrawings'](){const _0x75db33=_0x57fb15;return this[_0x75db33(0x625)][_0x75db33(0x17c)]();}['_initCopyPaste'](){const _0x5f9bcf=_0x57fb15;this[_0x5f9bcf(0x55e)](this[_0x5f9bcf(0x52a)][_0x5f9bcf(0x5e0)]({'id':_0x94af28['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopyFocusedObject':(_0x504451,_0x8a7c3f,_0x3a2e33)=>{const _0x245b4f=_0x5f9bcf;this[_0x245b4f(0x5ad)]=null,this[_0x245b4f(0x33e)]=null;let _0x3a1f47=this[_0x245b4f(0x5d8)][_0x245b4f(0x168)](_0x502e15=>this['_isOwnedChart'](_0x502e15));return _0x3a1f47[_0x245b4f(0x553)]===0x0?!0x1:_0x3a2e33===_0x3d68f4[_0x245b4f(0x20b)][_0x245b4f(0x31f)]&&this[_0x245b4f(0x5d8)][_0x245b4f(0x553)]===0x1&&_0x3a1f47[_0x245b4f(0x553)]===0x1&&!_0x3a1f47[0x0][_0x245b4f(0x441)]?(this['_chartCopyInfo']={'unitId':_0x504451,'subUnitId':_0x8a7c3f,'rootDrawingId':_0x3a1f47[0x0]['drawingId'],'drawings':_0x91c33f['Tools']['deepClone'](this[_0x245b4f(0x622)](_0x504451,_0x8a7c3f,_0x3a1f47[0x0]['drawingId']))},!0x0):(this[_0x245b4f(0x5ad)]={'unitId':_0x504451,'subUnitId':_0x8a7c3f,'copyType':_0x3a2e33,'drawings':_0x3a1f47},!0x0);},'onBeforeCopy':(_0x285e40,_0x216510,_0x4caff4,_0x232ba9)=>{const _0x259ac4=_0x5f9bcf;this[_0x259ac4(0x5ad)]=null,this[_0x259ac4(0x33e)]=null,this[_0x259ac4(0x4c6)](_0x285e40,_0x216510,_0x4caff4,_0x232ba9);},'onPasteCells':(_0x2e272c,_0x4e29b7,_0x223b95,_0x49193a)=>{const _0x4d8748=_0x5f9bcf;if(_0x49193a[_0x4d8748(0x2e2)]&&_0x2e272c&&this['_chartCopyInfo']){if(_0x49193a[_0x4d8748(0x3df)]!==_0x3d68f4['COPY_TYPE'][_0x4d8748(0x31f)]||_0x49193a[_0x4d8748(0x3ac)]!==_0x3d68f4[_0x4d8748(0x45c)][_0x4d8748(0x2f2)]||_0x2e272c[_0x4d8748(0x2cd)]!==this[_0x4d8748(0x33e)][_0x4d8748(0x2cd)]||_0x2e272c[_0x4d8748(0x2b0)]!==this['_chartCopyInfo'][_0x4d8748(0x2b0)])throw new _0x91c33f[(_0x4d8748(0x1ca))](_0x3d68f4[_0x4d8748(0x534)]['id']);return this[_0x4d8748(0x190)](_0x4e29b7);}if(!_0x49193a['copyId']||!_0x2e272c||!this[_0x4d8748(0x5ad)])return{'redos':[],'undos':[]};let {pasteType:_0x5291d7}=_0x49193a;return _0x5291d7===_0x3d68f4[_0x4d8748(0x45c)][_0x4d8748(0x2f2)]?this[_0x4d8748(0x173)](_0x4e29b7,this[_0x4d8748(0x5ad)][_0x4d8748(0x3df)]===_0x3d68f4[_0x4d8748(0x20b)][_0x4d8748(0x3a0)]):{'redos':[],'undos':[]};}}));}[_0x57fb15(0x622)](_0x36ba0e,_0xc3cb2d,_0x4d17d1){const _0xa4aebf=_0x57fb15;let _0x48ec2a=this[_0xa4aebf(0x625)]['getDrawingByParam']({'unitId':_0x36ba0e,'subUnitId':_0xc3cb2d,'drawingId':_0x4d17d1}),_0x56c114=this[_0xa4aebf(0x3d8)][_0xa4aebf(0x331)]({'unitId':_0x36ba0e,'subUnitId':_0xc3cb2d,'drawingId':_0x4d17d1}),_0x48735e=_0x48ec2a==null?void 0x0:_0x48ec2a[_0xa4aebf(0x653)];if(!_0x48ec2a||_0x48ec2a[_0xa4aebf(0x2cd)]!==_0x36ba0e||_0x48ec2a['subUnitId']!==_0xc3cb2d||_0x48ec2a['groupId']||_0x48ec2a[_0xa4aebf(0x2b4)]!==_0x91c33f[_0xa4aebf(0x461)][_0xa4aebf(0x1cc)]||!_0x91c33f['Tools'][_0xa4aebf(0x520)](_0x48ec2a,_0x56c114)||!_0x48735e||![_0x48735e[_0xa4aebf(0x65b)],_0x48735e[_0xa4aebf(0x2d2)],_0x48735e[_0xa4aebf(0x3d9)],_0x48735e[_0xa4aebf(0x271)]]['every'](_0x3e15da=>typeof _0x3e15da==_0xa4aebf(0x37d)&&Number[_0xa4aebf(0x384)](_0x3e15da))||_0x48735e[_0xa4aebf(0x3d9)]<=0x0||_0x48735e[_0xa4aebf(0x271)]<=0x0)throw new _0x91c33f[(_0xa4aebf(0x1ca))](_0x3d68f4[_0xa4aebf(0x534)]['id']);return[_0x48ec2a];}['_generateChartCopy'](_0x41f5cd){const _0x765372=_0x57fb15;var _0x2c05b7,_0x586327;let _0x3e714e=this[_0x765372(0x33e)],_0x5dbe7d=this[_0x765372(0x622)](_0x3e714e[_0x765372(0x2cd)],_0x3e714e[_0x765372(0x2b0)],_0x3e714e[_0x765372(0x632)]);if(!_0x91c33f['Tools'][_0x765372(0x520)](_0x5dbe7d,_0x3e714e['drawings']))throw new _0x91c33f[(_0x765372(0x1ca))](_0x3d68f4[_0x765372(0x534)]['id']);let _0x5f285f=(_0x2c05b7=this[_0x765372(0x498)]['getUnit'](_0x3e714e['unitId'],_0x91c33f['UniverInstanceType'][_0x765372(0x648)]))==null?void 0x0:_0x2c05b7[_0x765372(0x2cf)](_0x3e714e['subUnitId']),_0x2c8027=(_0x586327=this[_0x765372(0x498)][_0x765372(0x1bd)](_0x41f5cd[_0x765372(0x2cd)],_0x91c33f[_0x765372(0x366)][_0x765372(0x648)]))==null?void 0x0:_0x586327['getSheetBySheetId'](_0x41f5cd[_0x765372(0x2b0)]),_0x73d216=(_0x5f285f==null?void 0x0:_0x5f285f[_0x765372(0x2bc)]()['type'])??_0x91c33f['SheetTypes'][_0x765372(0x255)],_0xafb203=(_0x2c8027==null?void 0x0:_0x2c8027[_0x765372(0x2bc)]()[_0x765372(0x434)])??_0x91c33f[_0x765372(0x55a)][_0x765372(0x255)];if(!_0x5f285f||!_0x2c8027||![_0x91c33f[_0x765372(0x55a)]['GRID'],_0x91c33f['SheetTypes']['CHART']]['includes'](_0x73d216)||![_0x91c33f[_0x765372(0x55a)][_0x765372(0x255)],_0x91c33f['SheetTypes'][_0x765372(0x60f)]]['includes'](_0xafb203))throw new _0x91c33f[(_0x765372(0x1ca))](_0x3d68f4[_0x765372(0x534)]['id']);if(_0x73d216===_0x91c33f['SheetTypes']['CHART']||_0xafb203===_0x91c33f[_0x765372(0x55a)][_0x765372(0x60f)]){let _0x2b1777=this[_0x765372(0x2a8)][_0x765372(0x40a)]({'workbookTypes':[_0x43e32e[_0x765372(0x470)]],'worksheetTypes':[_0x43e32e[_0x765372(0x3b3)]]},_0x3e714e['unitId'],_0x3e714e[_0x765372(0x2b0)]),_0x377686=this[_0x765372(0x2a8)][_0x765372(0x40a)]({'workbookTypes':[_0x43e32e['WorkbookEditablePermission']],'worksheetTypes':[_0x43e32e['WorksheetEditPermission']]},_0x41f5cd[_0x765372(0x2cd)],_0x41f5cd['subUnitId']);if(!_0x2b1777||!_0x377686)throw new _0x91c33f[(_0x765372(0x1ca))](_0x3d68f4[_0x765372(0x534)]['id']);}let _0x234c36=_0x5dbe7d[_0x765372(0x268)](_0xf857c3=>_0xf857c3[_0x765372(0x358)]===_0x3e714e[_0x765372(0x632)]),_0x1eead2=this[_0x765372(0x355)][_0x765372(0x620)](_0x41f5cd[_0x765372(0x2cd)],_0x41f5cd['subUnitId']),_0x5e89c6=_0x1eead2&&(0x0,_0x43e32e[_0x765372(0x444)])(_0x1eead2,(0x0,_0x43e32e['discreteRangeToRange'])(_0x41f5cd[_0x765372(0x523)]));if(_0xafb203===_0x91c33f[_0x765372(0x55a)]['GRID']&&!_0x5e89c6)throw new _0x91c33f['CustomCommandExecutionError'](_0x3d68f4[_0x765372(0x534)]['id']);let _0x282d8a=_0xafb203===_0x91c33f[_0x765372(0x55a)][_0x765372(0x255)]?_0x5e89c6['startX']-_0x234c36['transform'][_0x765372(0x65b)]:0x0,_0x414f88=_0xafb203===_0x91c33f[_0x765372(0x55a)][_0x765372(0x255)]?_0x5e89c6[_0x765372(0x152)]-_0x234c36[_0x765372(0x653)]['top']:0x0,_0x1d7154=_0x5dbe7d['map'](_0x51bc4f=>{const _0xf0d0ed=_0x765372;let _0x2bdd00=_0x51bc4f[_0xf0d0ed(0x653)],_0x1017c5={'left':_0x2bdd00[_0xf0d0ed(0x65b)]+_0x282d8a,'top':_0x2bdd00['top']+_0x414f88,'width':_0x2bdd00[_0xf0d0ed(0x3d9)],'height':_0x2bdd00[_0xf0d0ed(0x271)]},_0x38fcd9=_0x51bc4f,_0x3e6915=_0x73d216===_0x91c33f[_0xf0d0ed(0x55a)][_0xf0d0ed(0x255)]&&_0xafb203===_0x91c33f[_0xf0d0ed(0x55a)]['GRID'],_0x190758=_0x3e6915?_0x38fcd9[_0xf0d0ed(0x288)]??_0x339595[_0xf0d0ed(0x170)][_0xf0d0ed(0x587)]:_0x339595[_0xf0d0ed(0x170)][_0xf0d0ed(0x2af)];if(_0x190758===_0x339595[_0xf0d0ed(0x170)][_0xf0d0ed(0x2af)])return(0x0,_0x339595[_0xf0d0ed(0x580)])(_0x51bc4f,{'kind':_0x190758,..._0x1017c5});if(_0x190758!==_0x339595[_0xf0d0ed(0x170)][_0xf0d0ed(0x16b)]&&_0x190758!==_0x339595[_0xf0d0ed(0x170)][_0xf0d0ed(0x587)])throw new _0x91c33f[(_0xf0d0ed(0x1ca))](_0x3d68f4[_0xf0d0ed(0x534)]['id']);let _0x5f2e83=(0x0,_0x339595[_0xf0d0ed(0x477)])(_0x1017c5,_0x1eead2),_0x5769df=_0x190758===_0x339595[_0xf0d0ed(0x170)]['Both']?(0x0,_0x339595[_0xf0d0ed(0x580)])(_0x51bc4f,{'kind':_0x190758,'from':_0x5f2e83[_0xf0d0ed(0x4e7)],'to':_0x5f2e83['to']},_0x1eead2):(0x0,_0x339595[_0xf0d0ed(0x580)])(_0x51bc4f,{'kind':_0x190758,'from':_0x5f2e83['from'],'width':_0x1017c5[_0xf0d0ed(0x3d9)],'height':_0x1017c5['height']},_0x1eead2);return _0x3e6915&&_0x38fcd9['anchorType']===void 0x0&&delete _0x5769df[_0xf0d0ed(0x288)],_0x5769df;});if(_0xafb203===_0x91c33f[_0x765372(0x55a)][_0x765372(0x60f)]){let _0x387b75=this[_0x765372(0x1dd)][_0x765372(0x412)](_0x41f5cd['unitId'],_0x41f5cd[_0x765372(0x2b0)]),_0x4bc263=_0x387b75&&this[_0x765372(0x625)][_0x765372(0x331)]({..._0x41f5cd,'drawingId':_0x387b75['id']}),_0x56d2b2=_0x4bc263==null?void 0x0:_0x4bc263['transform'],_0x4a1754=_0x56d2b2&&(0x0,_0x339595[_0x765372(0x420)])(_0x1d7154,{'left':_0x56d2b2['left'],'top':_0x56d2b2[_0x765372(0x2d2)],'width':_0x56d2b2[_0x765372(0x3d9)],'height':_0x56d2b2[_0x765372(0x271)]},_0x2c8027[_0x765372(0x2bc)]()[_0x765372(0x5a2)]===_0x91c33f[_0x765372(0x43b)]['TRUE']);if(!_0x4a1754)throw new _0x91c33f['CustomCommandExecutionError'](_0x3d68f4['SheetPasteCommand']['id']);_0x1d7154=_0x4a1754;}let _0x1d0e6c=_0x1d7154[0x0],_0x467b5f=this[_0x765372(0x297)][_0x765372(0x401)](_0x234c36[_0x765372(0x358)]);if(!_0x467b5f)throw new _0x91c33f[(_0x765372(0x1ca))](_0x3d68f4[_0x765372(0x534)]['id']);return this[_0x765372(0x403)]({'toUnitId':_0x41f5cd[_0x765372(0x2cd)],'toSubUnitId':_0x41f5cd[_0x765372(0x2b0)],'drawing':_0x234c36,'newTransforms':{'transform':_0x1d0e6c[_0x765372(0x653)],'sheetTransform':_0x1d0e6c[_0x765372(0x21f)],'axisAlignSheetTransform':_0x1d0e6c[_0x765372(0x1a8)],..._0x1d0e6c[_0x765372(0x288)]===void 0x0?{}:{'anchorType':_0x1d0e6c[_0x765372(0x288)]}}},_0x467b5f);}[_0x57fb15(0x4c6)](_0x3cfb0d,_0x48b7f4,_0x3c3e80,_0x3467af){const _0x3948d6=_0x57fb15;let _0x214f0b=this[_0x3948d6(0x355)][_0x3948d6(0x620)](_0x3cfb0d,_0x48b7f4);if(!_0x214f0b)return;let _0x2b2d41=(0x0,_0x43e32e['attachRangeWithCoord'])(_0x214f0b,_0x3c3e80);if(!_0x2b2d41)return;let {startX:_0x33cc03,endX:_0x53e19e,startY:_0x4ed82f,endY:_0x9c3886}=_0x2b2d41,_0x1ba564=this['_sheetDrawingService']['getDrawingData'](_0x3cfb0d,_0x48b7f4),_0x55edca=[];for(let [_0x5717a0,_0x267cae]of Object[_0x3948d6(0x404)](_0x1ba564)){if(!this[_0x3948d6(0x27d)](_0x267cae))continue;let {transform:_0x43b6ed}=_0x267cae;if(!_0x43b6ed)continue;let {left:_0x351858=0x0,top:_0x4bf82e=0x0,width:_0xaa758f=0x0,height:_0x40f593=0x0}=_0x43b6ed;_0x33cc03<=_0x351858&&_0x53e19e>=_0x351858+_0xaa758f&&_0x4ed82f<=_0x4bf82e&&_0x9c3886>=_0x4bf82e+_0x40f593&&_0x55edca['push'](_0x267cae);}_0x55edca[_0x3948d6(0x553)]>0x0&&(this[_0x3948d6(0x5ad)]={'unitId':_0x3cfb0d,'subUnitId':_0x48b7f4,'copyType':_0x3467af,'copyRange':_0x3c3e80,'drawings':_0x55edca});}[_0x57fb15(0x27d)](_0x78974e){const _0x3321ff=_0x57fb15;return _0x78974e['drawingType']===_0x91c33f['DrawingTypeEnum'][_0x3321ff(0x1cc)]&&this[_0x3321ff(0x1dd)][_0x3321ff(0x4cf)](_0x78974e[_0x3321ff(0x2cd)],_0x78974e[_0x3321ff(0x358)])===_0x78974e[_0x3321ff(0x2b0)];}['_generatePasteMutations'](_0x38eb8d,_0x3cce43){const _0xdacc0b=_0x57fb15;var _0x4d8d21,_0x2379f2;let {unitId:_0x123bad,subUnitId:_0x4e7a48,range:_0x130ac8}=_0x38eb8d,{unitId:_0x484d88,subUnitId:_0x58bfae,copyRange:_0x3fbe08,drawings:_0x47a268}=this[_0xdacc0b(0x5ad)],_0x1775e1=(_0x4d8d21=this[_0xdacc0b(0x498)][_0xdacc0b(0x1bd)](_0x484d88,_0x91c33f[_0xdacc0b(0x366)][_0xdacc0b(0x648)]))==null?void 0x0:_0x4d8d21['getSheetBySheetId'](_0x58bfae),_0x26f070=(_0x2379f2=this['_instanceService'][_0xdacc0b(0x1bd)](_0x123bad,_0x91c33f['UniverInstanceType'][_0xdacc0b(0x648)]))==null?void 0x0:_0x2379f2['getSheetBySheetId'](_0x4e7a48),_0x378fa8=(_0x1775e1==null?void 0x0:_0x1775e1[_0xdacc0b(0x2bc)]()[_0xdacc0b(0x434)])??_0x91c33f['SheetTypes'][_0xdacc0b(0x255)],_0xbbb4cf=(_0x26f070==null?void 0x0:_0x26f070['getConfig']()[_0xdacc0b(0x434)])??_0x91c33f[_0xdacc0b(0x55a)]['GRID'],_0x5babde=this[_0xdacc0b(0x625)][_0xdacc0b(0x440)](_0x484d88,_0x58bfae),_0x33ff8e=this['_drawingManager'][_0xdacc0b(0x440)](_0x484d88,_0x58bfae);if(!_0x1775e1||!_0x26f070||_0x378fa8!==_0x91c33f['SheetTypes'][_0xdacc0b(0x255)]||_0xbbb4cf!==_0x91c33f[_0xdacc0b(0x55a)][_0xdacc0b(0x255)]||_0x47a268['some'](_0x434530=>_0x434530[_0xdacc0b(0x2cd)]!==_0x484d88||_0x434530['subUnitId']!==_0x58bfae||!this[_0xdacc0b(0x27d)](_0x434530)||!_0x91c33f[_0xdacc0b(0x2bf)][_0xdacc0b(0x520)](_0x434530,_0x5babde[_0x434530[_0xdacc0b(0x358)]])||!_0x91c33f[_0xdacc0b(0x2bf)][_0xdacc0b(0x520)](_0x434530,_0x33ff8e[_0x434530['drawingId']])||!this[_0xdacc0b(0x297)][_0xdacc0b(0x401)](_0x434530[_0xdacc0b(0x358)])||!this['_sheetsChartService'][_0xdacc0b(0x222)](_0x434530['drawingId'])||!_0x434530[_0xdacc0b(0x653)]||!_0x434530['sheetTransform']))throw new _0x91c33f[(_0xdacc0b(0x1ca))](_0x3d68f4[_0xdacc0b(0x534)]['id']);let _0x500ddb=this[_0xdacc0b(0x355)][_0xdacc0b(0x620)](_0x123bad,_0x4e7a48),_0x1a7273=(0x0,_0x43e32e[_0xdacc0b(0x22b)])(_0x130ac8),_0x18f9b5=this['_sheetSkeletonService'][_0xdacc0b(0x620)](_0x484d88,_0x58bfae);if(!_0x500ddb||!_0x18f9b5)throw new _0x91c33f[(_0xdacc0b(0x1ca))](_0x3d68f4['SheetPasteCommand']['id']);let _0x2573eb=[],_0x2d09e1=[];for(let _0x3fbbc6 of _0x47a268){let {drawingId:_0x4038b8,transform:_0x32d15,sheetTransform:_0x3b6d34}=_0x3fbbc6,_0x300835=this[_0xdacc0b(0x297)][_0xdacc0b(0x401)](_0x4038b8);if(!_0x300835||!_0x32d15||!_0x3b6d34)continue;let _0x3f04e6=this[_0xdacc0b(0x4b9)]({'transform':_0x32d15,'sheetTransform':_0x3b6d34},{'skeleton':_0x18f9b5,'range':_0x3fbe08},{'skeleton':_0x500ddb,'range':_0x1a7273});if(_0x3cce43){let {redos:_0x34efca,undos:_0x4ffd2c}=this['_generateCutPasteMutations']({'fromUnitId':_0x484d88,'fromSubUnitId':_0x58bfae,'toUnitId':_0x123bad,'toSubUnitId':_0x4e7a48,'drawing':_0x3fbbc6,'newTransforms':_0x3f04e6},_0x300835);_0x2573eb[_0xdacc0b(0x500)](..._0x34efca),_0x2d09e1[_0xdacc0b(0x500)](..._0x4ffd2c);continue;}let {redos:_0x1a7d70,undos:_0x16c2c4}=this[_0xdacc0b(0x403)]({'toUnitId':_0x123bad,'toSubUnitId':_0x4e7a48,'drawing':_0x3fbbc6,'newTransforms':_0x3f04e6},_0x300835);_0x2573eb[_0xdacc0b(0x500)](..._0x1a7d70),_0x2d09e1[_0xdacc0b(0x500)](..._0x16c2c4);}return{'redos':_0x2573eb,'undos':_0x2d09e1};}['_generateCutPasteMutations'](_0x1aa99d,_0x13db0d){const _0x81bc08=_0x57fb15;let {fromUnitId:_0x6901d2,fromSubUnitId:_0x591f5e,toUnitId:_0x568d40,toSubUnitId:_0x1de9d9,drawing:_0x389b0c,newTransforms:_0x12f426}=_0x1aa99d,_0x1d28c5={..._0x389b0c,'unitId':_0x568d40,'subUnitId':_0x1de9d9,'transform':_0x12f426[_0x81bc08(0x653)],'sheetTransform':_0x12f426['sheetTransform']};if(_0x568d40===_0x6901d2&&_0x1de9d9===_0x591f5e){let {redo:_0x5df8a4,undo:_0x3dfcad,objects:_0xcb70bd}=this[_0x81bc08(0x625)][_0x81bc08(0x2da)]([_0x1d28c5]);return{'redos':[{'id':_0x339595[_0x81bc08(0x206)]['id'],'params':{'unitId':_0x568d40,'subUnitId':_0x1de9d9,'type':_0x339595['DrawingApplyType']['UPDATE'],'op':_0x5df8a4,'objects':_0xcb70bd}}],'undos':[{'id':_0x339595['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x568d40,'subUnitId':_0x1de9d9,'type':_0x339595[_0x81bc08(0x50f)][_0x81bc08(0x513)],'op':_0x3dfcad,'objects':_0xcb70bd}}]};}{let _0x4939f5=this[_0x81bc08(0x625)][_0x81bc08(0x578)]([_0x389b0c]),_0x2e22f8=this[_0x81bc08(0x625)][_0x81bc08(0x61e)]([_0x1d28c5]),_0xaf03bb=this[_0x81bc08(0x1dd)][_0x81bc08(0x222)](_0x13db0d['id']);if(!_0xaf03bb)return{'redos':[],'undos':[]};let {chartType:_0x3d346e,context:_0x2a3aaa,style:_0x40f7f2,dataAggregation:_0x5f3c4d}=_0x13db0d[_0x81bc08(0x5c6)]();return{'redos':[{'id':_0x339595['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x6901d2,'subUnitId':_0x591f5e,'type':_0x339595[_0x81bc08(0x50f)]['REMOVE'],'op':_0x4939f5[_0x81bc08(0x26d)],'objects':_0x4939f5[_0x81bc08(0x662)]}},{'id':_0x94af28[_0x81bc08(0x537)]['id'],'params':{'unitId':_0x6901d2,'subUnitId':_0x591f5e,'chartId':_0x389b0c[_0x81bc08(0x358)]}},{'id':_0x339595[_0x81bc08(0x206)]['id'],'params':{'unitId':_0x568d40,'subUnitId':_0x1de9d9,'type':_0x339595['DrawingApplyType'][_0x81bc08(0x3fb)],'op':_0x2e22f8['redo'],'objects':_0x2e22f8[_0x81bc08(0x662)]}},{'id':_0x94af28[_0x81bc08(0x1c6)]['id'],'params':{'unitId':_0x568d40,'subUnitId':_0x1de9d9,'chartId':_0x389b0c[_0x81bc08(0x358)],'chartType':_0x3d346e,...(0x0,_0x94af28['toInsertChartMutationSource'])(_0xaf03bb),'context':_0x2a3aaa,'style':_0x40f7f2,'dataAggregation':_0x5f3c4d}}],'undos':[{'id':_0x339595[_0x81bc08(0x206)]['id'],'params':{'unitId':_0x6901d2,'subUnitId':_0x591f5e,'type':_0x339595[_0x81bc08(0x50f)][_0x81bc08(0x3fb)],'op':_0x4939f5['undo'],'objects':_0x4939f5[_0x81bc08(0x662)]}},{'id':_0x94af28[_0x81bc08(0x1c6)]['id'],'params':{'unitId':_0x6901d2,'subUnitId':_0x591f5e,'chartId':_0x389b0c[_0x81bc08(0x358)],'chartType':_0x3d346e,...(0x0,_0x94af28[_0x81bc08(0x3f7)])(_0xaf03bb),'context':_0x2a3aaa,'style':_0x40f7f2,'dataAggregation':_0x5f3c4d}},{'id':_0x339595['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x568d40,'subUnitId':_0x1de9d9,'type':_0x339595[_0x81bc08(0x50f)]['REMOVE'],'op':_0x2e22f8[_0x81bc08(0x5bb)],'objects':_0x2e22f8[_0x81bc08(0x662)]}},{'id':_0x94af28[_0x81bc08(0x537)]['id'],'params':{'unitId':_0x568d40,'subUnitId':_0x1de9d9,'chartId':_0x389b0c['drawingId']}}]};}}[_0x57fb15(0x403)](_0x58e9fc,_0x29fdfc){const _0xa3b650=_0x57fb15;let {toUnitId:_0x19bb0d,toSubUnitId:_0x2a3279,drawing:_0xb784f6,newTransforms:_0x55ded2}=_0x58e9fc,_0x59c960=(0x0,_0x91c33f['generateRandomId'])(),_0x36895b={..._0x91c33f[_0xa3b650(0x2bf)][_0xa3b650(0x5b4)](_0xb784f6),'unitId':_0x19bb0d,'subUnitId':_0x2a3279,'drawingId':_0x59c960,..._0x55ded2},_0x54fbdf=this[_0xa3b650(0x1dd)][_0xa3b650(0x222)](_0x29fdfc['id']);if(!_0x54fbdf||this[_0xa3b650(0x297)][_0xa3b650(0x401)](_0x59c960)||this[_0xa3b650(0x625)][_0xa3b650(0x331)](_0x36895b)||this[_0xa3b650(0x3d8)][_0xa3b650(0x331)](_0x36895b))throw new _0x91c33f[(_0xa3b650(0x1ca))](_0x3d68f4['SheetPasteCommand']['id']);let {redo:_0xe94dc4,undo:_0x29c825,objects:_0x225f98}=this['_sheetDrawingService'][_0xa3b650(0x61e)]([_0x36895b]),{chartType:_0x5e8cbf,context:_0x167927,style:_0xddb5b3,dataAggregation:_0x2c55da}=_0x29fdfc[_0xa3b650(0x5c6)]();return{'redos':[{'id':_0x339595[_0xa3b650(0x206)]['id'],'params':{'unitId':_0x19bb0d,'subUnitId':_0x2a3279,'type':_0x339595[_0xa3b650(0x50f)][_0xa3b650(0x3fb)],'op':_0xe94dc4,'objects':_0x225f98}},{'id':_0x94af28[_0xa3b650(0x1c6)]['id'],'params':{'unitId':_0x19bb0d,'subUnitId':_0x2a3279,'chartId':_0x59c960,'chartType':_0x5e8cbf,...(0x0,_0x94af28['toInsertChartMutationSource'])(_0x54fbdf),'context':_0x167927,'style':_0xddb5b3,'dataAggregation':_0x2c55da}},{'id':_0x94af28[_0xa3b650(0x19a)]['id'],'params':{'unitId':_0x19bb0d,'chartModelId':_0x59c960,'style':_0xddb5b3}}],'undos':[{'id':_0x339595['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x19bb0d,'subUnitId':_0x2a3279,'type':_0x339595[_0xa3b650(0x50f)][_0xa3b650(0x565)],'op':_0x29c825,'objects':_0x225f98}},{'id':_0x94af28[_0xa3b650(0x537)]['id'],'params':{'unitId':_0x19bb0d,'subUnitId':_0x2a3279,'chartId':_0x59c960}}]};}[_0x57fb15(0x4b9)](_0x2db915,_0x2a9950,_0x3754a7){const _0x2ce0cb=_0x57fb15;let {range:_0x906af2,skeleton:_0x15f0ab}=_0x2a9950,{range:_0x20a502,skeleton:_0x4ff31e}=_0x3754a7,{transform:_0x41e915,sheetTransform:_0x4f0275}=_0x2db915,_0x26aaa2={..._0x41e915};if(_0x906af2){let _0x56bdca=(0x0,_0x43e32e[_0x2ce0cb(0x444)])(_0x15f0ab,_0x906af2),_0x32f052=(0x0,_0x43e32e[_0x2ce0cb(0x444)])(_0x4ff31e,_0x20a502);if(_0x56bdca&&_0x32f052){let _0x47af65=_0x32f052[_0x2ce0cb(0x502)]-_0x56bdca['startX'],_0xaa48fb=_0x32f052[_0x2ce0cb(0x152)]-_0x56bdca[_0x2ce0cb(0x152)];_0x26aaa2[_0x2ce0cb(0x65b)]=(_0x26aaa2[_0x2ce0cb(0x65b)]??0x0)+_0x47af65,_0x26aaa2[_0x2ce0cb(0x2d2)]=(_0x26aaa2[_0x2ce0cb(0x2d2)]??0x0)+_0xaa48fb;}}else{let _0x52debd=(0x0,_0x43e32e[_0x2ce0cb(0x444)])(_0x4ff31e,_0x20a502);_0x26aaa2[_0x2ce0cb(0x65b)]=_0x52debd==null?void 0x0:_0x52debd[_0x2ce0cb(0x502)],_0x26aaa2[_0x2ce0cb(0x2d2)]=_0x52debd==null?void 0x0:_0x52debd[_0x2ce0cb(0x152)];}return{'transform':_0x26aaa2,'sheetTransform':(0x0,_0x339595[_0x2ce0cb(0x477)])(_0x26aaa2,_0x4ff31e)??_0x4f0275};}};_0x4aa291=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x43e32e[_0x57fb15(0x507)])),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x3d68f4[_0x57fb15(0x15c)])),_0x1314c8(0x2,(0x0,_0x91c33f['Inject'])(_0x339595['ISheetDrawingService'])),_0x1314c8(0x3,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x172)])),_0x1314c8(0x4,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x27b)])),_0x1314c8(0x5,_0x91c33f[_0x57fb15(0x5db)]),_0x1314c8(0x6,_0x2f0dad[_0x57fb15(0x62c)]),_0x1314c8(0x7,(0x0,_0x91c33f['Inject'])(_0x43e32e[_0x57fb15(0x5be)]))],_0x4aa291);let _0x152678=class extends _0x91c33f['Disposable']{constructor(_0x52bf4a,_0x32de84,_0x4cbe1e,_0x34d45b){const _0x2e2fe8=_0x57fb15;super(),this[_0x2e2fe8(0x3bc)]=_0x52bf4a,this[_0x2e2fe8(0x266)]=_0x32de84,this['_sheetPermissionCheckController']=_0x4cbe1e,this[_0x2e2fe8(0x1dd)]=_0x34d45b,this['_initPermission']();}[_0x57fb15(0x1cb)](){const _0x364188=_0x57fb15;this[_0x364188(0x55e)](this['_commandService']['beforeCommandExecuted'](_0x31275a=>{const _0xc76ca5=_0x364188;let _0x246621,_0x1087fe;if(_0x31275a['id']===_0x94af28[_0xc76ca5(0x5f3)]['id']){let _0x3fe50a=_0x31275a[_0xc76ca5(0x1e1)];_0x246621=_0x3fe50a['unitId'],_0x1087fe=_0x3fe50a[_0xc76ca5(0x2b0)];}else{if(_0x31275a['id']===_0x94af28[_0xc76ca5(0x450)]['id']||_0x31275a['id']===_0x94af28[_0xc76ca5(0x58c)]['id']){let _0x191045=_0x31275a[_0xc76ca5(0x1e1)];_0x246621=_0x191045[_0xc76ca5(0x2cd)],_0x1087fe=this['_sheetsChartService'][_0xc76ca5(0x4cf)](_0x191045[_0xc76ca5(0x2cd)],_0x191045[_0xc76ca5(0x180)]);}}_0x246621&&_0x1087fe&&(this[_0xc76ca5(0x52b)][_0xc76ca5(0x40a)]({'workbookTypes':[_0x43e32e[_0xc76ca5(0x557)]],'worksheetTypes':[_0x43e32e['WorksheetEditPermission']]},_0x246621,_0x1087fe)||this[_0xc76ca5(0x52b)]['blockExecuteWithoutPermission'](this[_0xc76ca5(0x266)]['t'](_0xc76ca5(0x58e))));}));}};_0x152678=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f['ICommandService'])),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x658)])),_0x1314c8(0x2,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x43e32e['SheetPermissionCheckController'])),_0x1314c8(0x3,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28['SheetsChartService']))],_0x152678);let _0xfb6e9d=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x360ad1,_0x94f16b){const _0x5e2d4a=_0x57fb15;super(),this[_0x5e2d4a(0x17d)]=_0x94f16b,this['disposeWithMe'](_0x360ad1[_0x5e2d4a(0x54c)](this));}[_0x57fb15(0x26e)](_0x5d2658){const _0x4adad4=_0x57fb15;return _0x4adad4(0x2cd)in _0x5d2658&&_0x4adad4(0x2b0)in _0x5d2658;}['exportImage'](_0x553b47,_0x4d021a){const _0x4a5c7c=_0x57fb15;return this[_0x4a5c7c(0x17d)]['exportImage'](_0x553b47[_0x4a5c7c(0x227)](),_0x4d021a);}};_0xfb6e9d=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f['Inject'])(_0x36d079['ChartImageExportService'])),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x4878a6))],_0xfb6e9d);let _0x5d32be=class extends _0x91c33f[_0x57fb15(0x4de)]{constructor(_0xcbfdbd=_0x1349e6,_0x246bc8,_0x4329cb,_0x28f033){const _0x115595=_0x57fb15;super(),this[_0x115595(0x306)]=_0xcbfdbd,this[_0x115595(0x53c)]=_0x246bc8,this[_0x115595(0x302)]=_0x4329cb,this[_0x115595(0x3bc)]=_0x28f033;let {..._0xcebdab}=(0x0,_0x91c33f['merge'])({},_0x1349e6,this[_0x115595(0x306)]);this[_0x115595(0x302)][_0x115595(0x4f3)](_0x56e858,_0xcebdab),this[_0x115595(0x621)]();}[_0x57fb15(0x35b)](){const _0x273fc2=_0x57fb15;let _0x465994=[[_0x30bb12],[_0x35cda9,{'useClass':_0x20e21f}],[_0x48d613,{'useClass':_0x3cfb41}],[_0x475470],[_0x4878a6],[_0xfb6e9d],[_0x4de929],[_0x1b7ff3],[_0x51007c],[_0x4aa291],[_0x152678]],_0x2f8170=[[_0x30bb12],[_0x4de929],[_0x51007c],[_0x1b7ff3],[_0xfb6e9d],[_0x35cda9],[_0x4aa291],[_0x152678]];_0x465994[_0x273fc2(0x3f4)](_0x681881=>this[_0x273fc2(0x53c)][_0x273fc2(0x2ce)](_0x681881)),(0x0,_0x91c33f['touchDependencies'])(this[_0x273fc2(0x53c)],_0x2f8170);}[_0x57fb15(0x1c9)](){const _0x138318=_0x57fb15;var _0x7d4c29;(_0x7d4c29=this[_0x138318(0x53c)][_0x138318(0x49e)](_0x4de929))==null||_0x7d4c29[_0x138318(0x608)]();}[_0x57fb15(0x621)](){const _0x3a9332=_0x57fb15;[_0x3748b6,_0x29b997][_0x3a9332(0x3f4)](_0x7689fb=>this[_0x3a9332(0x55e)](this['_commandService'][_0x3a9332(0x453)](_0x7689fb)));}};_0x53ca96(_0x5d32be,_0x57fb15(0x434),_0x91c33f[_0x57fb15(0x366)][_0x57fb15(0x648)]),_0x53ca96(_0x5d32be,'pluginName','UniverSheetsChartUIPlugin'),_0x53ca96(_0x5d32be,_0x57fb15(0x531),_0x181d21),_0x53ca96(_0x5d32be,_0x57fb15(0x274),_0x5a2df5),_0x5d32be=_0x12534c([(0x0,_0x91c33f['DependentOn'])(_0xc90c13[_0x57fb15(0x2ca)],_0x2f0dad[_0x57fb15(0x446)],_0x548848[_0x57fb15(0x2a7)],_0x43e32e[_0x57fb15(0x3b8)],_0x339595['UniverSheetsDrawingPlugin'],_0x36d079[_0x57fb15(0x254)],_0x94af28[_0x57fb15(0x15d)],_0x32fb7d[_0x57fb15(0x661)],_0x435ef2[_0x57fb15(0x3d4)],_0x3d68f4[_0x57fb15(0x480)],_0x256211[_0x57fb15(0x533)]),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x27e)])),_0x1314c8(0x2,_0x91c33f[_0x57fb15(0x5d0)]),_0x1314c8(0x3,_0x91c33f['ICommandService'])],_0x5d32be);let _0x579878={'scaleX':0x1,'scaleY':0x1};function _0x590a9b(_0x397dbe){const _0x11177c=_0x57fb15;let _0x5e107c=_0x397dbe[_0x11177c(0x4ec)];return _0x5e107c instanceof MouseEvent?_0x5e107c:void 0x0;}function _0x52ba07(_0x4e481d){const _0x37b62b=_0x57fb15;let _0x35dbc0=_0x4e481d[_0x37b62b(0x4ec)],_0x2e89f6=_0x35dbc0==null?void 0x0:_0x35dbc0[_0x37b62b(0x46d)];return _0x2e89f6 instanceof Element?_0x2e89f6:void 0x0;}function _0x26bdb4(_0x1b5d10){var _0x2aeb86;return(_0x2aeb86=_0x52ba07(_0x1b5d10))==null?void 0x0:_0x2aeb86['getBoundingClientRect']();}function _0x5f4513(_0x11a051){const _0x196de4=_0x57fb15;return _0x11a051[_0x196de4(0x3d9)]||_0x11a051[_0x196de4(0x2be)]-_0x11a051[_0x196de4(0x65b)];}function _0x432b76(_0x3139ea){const _0x229004=_0x57fb15;return _0x3139ea[_0x229004(0x271)]||_0x3139ea[_0x229004(0x447)]-_0x3139ea[_0x229004(0x2d2)];}function _0x328a3a(_0x3f15be,_0x3fd03c){const _0x25a684=_0x57fb15;let _0x28a207=_0x3f15be[_0x25a684(0x459)]||(_0x3f15be instanceof HTMLElement?_0x3f15be['offsetWidth']:0x0),_0x3ddcf9=_0x3f15be[_0x25a684(0x336)]||(_0x3f15be instanceof HTMLElement?_0x3f15be[_0x25a684(0x377)]:0x0),_0x2a5454=_0x5f4513(_0x3fd03c),_0x18cd12=_0x432b76(_0x3fd03c);return{'scaleX':_0x28a207>0x0&&_0x2a5454>0x0?_0x2a5454/_0x28a207:_0x579878[_0x25a684(0x295)],'scaleY':_0x3ddcf9>0x0&&_0x18cd12>0x0?_0x18cd12/_0x3ddcf9:_0x579878[_0x25a684(0x379)]};}function _0x5b6366(_0x4f331d,_0x53eeb7,_0x10f7cb){const _0x352f50=_0x57fb15;return{'left':_0x4f331d[_0x352f50(0x65b)]+_0x53eeb7['left']*_0x10f7cb[_0x352f50(0x295)],'right':_0x4f331d[_0x352f50(0x65b)]+_0x53eeb7['right']*_0x10f7cb['scaleX'],'top':_0x4f331d[_0x352f50(0x2d2)]+_0x53eeb7['top']*_0x10f7cb[_0x352f50(0x379)],'bottom':_0x4f331d[_0x352f50(0x2d2)]+_0x53eeb7[_0x352f50(0x447)]*_0x10f7cb[_0x352f50(0x379)]};}function _0x3bccbe(_0x5c2380){const _0x20e67b=_0x57fb15;let _0x319b92=_0x52ba07(_0x5c2380),_0x2637ed=_0x5c2380[_0x20e67b(0x213)][_0x20e67b(0x284)];if(_0x319b92&&_0x2637ed){let _0x3b2542=_0x319b92['getBoundingClientRect']();return()=>{const _0x227afc=_0x20e67b;let _0x3da191=_0x319b92[_0x227afc(0x235)]();return(_0x319b92[_0x227afc(0x501)]||_0x5f4513(_0x3da191)>0x0||_0x432b76(_0x3da191)>0x0)&&(_0x3b2542=_0x3da191),_0x5b6366(_0x3b2542,_0x2637ed,_0x328a3a(_0x319b92,_0x3b2542));};}return()=>{const _0x151174=_0x20e67b;let _0x1645a5=_0x26bdb4(_0x5c2380);if(_0x1645a5&&_0x2637ed)return _0x5b6366(_0x1645a5,_0x2637ed,_0x319b92?_0x328a3a(_0x319b92,_0x1645a5):_0x579878);let _0xf43b21=_0x590a9b(_0x5c2380),_0x3382bb=_0x319b92&&_0x1645a5?_0x328a3a(_0x319b92,_0x1645a5):_0x579878,_0x1cee0f=(_0xf43b21==null?void 0x0:_0xf43b21['clientX'])??(_0x1645a5?_0x1645a5[_0x151174(0x65b)]+_0x5c2380[_0x151174(0x631)]['x']*_0x3382bb['scaleX']:_0x5c2380[_0x151174(0x631)]['x']),_0x159d9c=(_0xf43b21==null?void 0x0:_0xf43b21[_0x151174(0x210)])??(_0x1645a5?_0x1645a5[_0x151174(0x2d2)]+_0x5c2380['localPoint']['y']*_0x3382bb['scaleY']:_0x5c2380[_0x151174(0x631)]['y']);return{'left':_0x1cee0f,'right':_0x1cee0f+0x1,'top':_0x159d9c,'bottom':_0x159d9c+0x1};};}function _0x2839ce(_0x45384e){const _0x1fb822=_0x57fb15;return typeof _0x45384e==_0x1fb822(0x37d)&&Number[_0x1fb822(0x384)](_0x45384e);}function _0x430288(_0xfe20dc){const _0x40f79c=_0x57fb15;if(!_0xfe20dc||typeof _0xfe20dc!=_0x40f79c(0x200))return!0x0;let {startX:_0x5b1f05,endX:_0x8d4096,startY:_0x4aa530,endY:_0x54fb2d}=_0xfe20dc;return!_0x2839ce(_0x5b1f05)||!_0x2839ce(_0x8d4096)||!_0x2839ce(_0x4aa530)||!_0x2839ce(_0x54fb2d)||_0x8d4096-_0x5b1f05>0x2&&_0x54fb2d-_0x4aa530>0x2;}function _0x36a1b2(_0x255652){const _0x4d38db=_0x57fb15;return _0x255652[_0x4d38db(0x2be)]<=_0x255652[_0x4d38db(0x65b)]||_0x255652[_0x4d38db(0x447)]<=_0x255652[_0x4d38db(0x2d2)]?!0x1:typeof window>'u'||_0x255652[_0x4d38db(0x2be)]>0x0&&_0x255652[_0x4d38db(0x447)]>0x0&&_0x255652[_0x4d38db(0x65b)]<window[_0x4d38db(0x606)]&&_0x255652[_0x4d38db(0x2d2)]<window[_0x4d38db(0x5ba)];}function _0x362d9b(_0x22463b){const _0x40a304=_0x57fb15;var _0x2573e1;return _0x22463b==null||(_0x2573e1=_0x22463b[_0x40a304(0x292)])==null?void 0x0:_0x2573e1[_0x40a304(0x59f)](_0x22463b);}function _0x4e456f(_0x414e19,_0x473737,_0x5da4f9){const _0x499ac0=_0x57fb15;let _0x206251=_0x3bccbe(_0x414e19),_0x59b0df=_0x362d9b(_0x473737),_0x1ddfb6=_0x206251(),_0x335795=new _0x1594a7[(_0x499ac0(0x39a))](_0x1ddfb6),_0x3c1d74=new _0x91c33f['DisposableCollection'](),_0x187cfb=!0x1,_0x4143ed=!0x1,_0x56e5de=_0x39af47=>_0x430288(_0x59b0df)&&_0x36a1b2(_0x39af47),_0x1d1e80=()=>{_0x4143ed||_0x187cfb||(_0x4143ed=!0x0,queueMicrotask(()=>{const _0x4b704b=_0xc181;if(_0x4143ed=!0x1,!_0x187cfb){let _0x263806=_0x206251();if(!_0x56e5de(_0x263806)){_0x5da4f9();return;}_0x335795[_0x4b704b(0x179)](_0x263806);}}));};return _0x473737&&_0x3c1d74[_0x499ac0(0x2ce)](_0x473737[_0x499ac0(0x18f)](_0x2aba33=>{_0x59b0df=_0x2aba33,_0x1d1e80();})),typeof window<'u'&&_0x3c1d74[_0x499ac0(0x2ce)]((0x0,_0x1594a7['merge'])((0x0,_0x1594a7['fromEvent'])(window,_0x499ac0(0x39d),{'capture':!0x0}),(0x0,_0x1594a7['fromEvent'])(window,'resize'))[_0x499ac0(0x351)]((0x0,_0x1594a7[_0x499ac0(0x3c7)])(0x10))[_0x499ac0(0x18f)](_0x1d1e80)),{'initialRect':_0x1ddfb6,'anchorRect$':_0x335795[_0x499ac0(0x561)](),'visible':_0x56e5de(_0x1ddfb6),'dispose':()=>{const _0x5579f7=_0x499ac0;_0x187cfb=!0x0,_0x3c1d74['dispose'](),_0x335795[_0x5579f7(0x22e)]();}};}let _0x5631ed=_0x57fb15(0x1c4),_0x5b3b91=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x91139a,_0x46e855,_0x4e69a8,_0x360c72,_0x20d85c,_0x2c3136,_0x53de2f,_0x17756d,_0x2f1251){const _0x2b300a=_0x57fb15;super(),this[_0x2b300a(0x297)]=_0x91139a,this[_0x2b300a(0x2a6)]=_0x46e855,this[_0x2b300a(0x394)]=_0x4e69a8,this[_0x2b300a(0x317)]=_0x360c72,this[_0x2b300a(0x224)]=_0x20d85c,this[_0x2b300a(0x643)]=_0x2c3136,this[_0x2b300a(0x3bd)]=_0x53de2f,this['_commandService']=_0x17756d,this['_injector']=_0x2f1251,_0x53ca96(this,_0x2b300a(0x1a3),null),_0x53ca96(this,_0x2b300a(0x479),null),_0x53ca96(this,'_popupSessionKey',null),this[_0x2b300a(0x58f)](),this[_0x2b300a(0x5d3)]();}[_0x57fb15(0x218)](){const _0x330f00=_0x57fb15;this[_0x330f00(0x3c6)](),super[_0x330f00(0x218)]();}[_0x57fb15(0x58f)](){const _0x1162ec=_0x57fb15;let _0x1c584e=(0x0,_0x36d079[_0x1162ec(0x41c)])({'chartUIService':this[_0x1162ec(0x643)],'getHostAdapter':_0x45a73f=>{const _0x10e2dd=_0x1162ec;let _0x26cb65=this[_0x10e2dd(0x297)][_0x10e2dd(0x401)](_0x45a73f['chartId']);if(_0x26cb65&&_0x45a73f[_0x10e2dd(0x2b0)])return new _0x36d079[(_0x10e2dd(0x154))](_0x26cb65,new _0x94af28[(_0x10e2dd(0x300))]({'unitId':_0x45a73f[_0x10e2dd(0x2cd)],'subUnitId':_0x45a73f['subUnitId'],'chartId':_0x45a73f[_0x10e2dd(0x570)],'injector':this[_0x10e2dd(0x53c)]}));},'close':()=>this[_0x1162ec(0x3c6)](),'openFullPanel':_0x49b24f=>{const _0x4ba289=_0x1162ec;let {unitId:_0x2ebc8d,subUnitId:_0x30273a,drawingId:_0x56e846,chartId:_0xf4ecc6}=_0x49b24f,_0x1727e2=(0x0,_0x36d079[_0x4ba289(0x5da)])(_0x49b24f[_0x4ba289(0x46d)]);this[_0x4ba289(0x3bc)][_0x4ba289(0x5f0)](_0x29b997['id'],{'unitId':_0x2ebc8d,'subUnitId':_0x30273a??'','drawingId':_0x56e846??_0xf4ecc6,..._0x1727e2?{'route':_0x1727e2}:{}});}});this['disposeWithMe'](this['_adapterRegistry'][_0x1162ec(0x54c)](_0x5631ed,_0x1c584e));}['_subscribeChartEvents'](){const _0x5d09bd=_0x57fb15;this['disposeWithMe'](this[_0x5d09bd(0x297)]['chartModelAdded$']['subscribe'](_0x3ac7f4=>{const _0x2e4578=_0x5d09bd;let _0x3733df=new _0x91c33f[(_0x2e4578(0x3f0))]();_0x3733df[_0x2e4578(0x2ce)](this['_chartRenderService']['on'](_0x3ac7f4['id'],_0x2e4578(0x630),_0x54b5d9=>{const _0x3eda09=_0x2e4578;this[_0x3eda09(0x348)](_0x3ac7f4['id'],_0x54b5d9);})),_0x3733df['add'](this[_0x2e4578(0x2a6)]['on'](_0x3ac7f4['id'],_0x2e4578(0x408),()=>{const _0x39be15=_0x2e4578;this[_0x39be15(0x5d5)](_0x3ac7f4['id']);})),_0x3ac7f4[_0x2e4578(0x1d5)](()=>{const _0x4cd934=_0x2e4578;_0x3733df[_0x4cd934(0x218)](),this[_0x4cd934(0x311)](_0x3ac7f4['id']);}),this[_0x2e4578(0x55e)](_0x3733df);})),this[_0x5d09bd(0x55e)]((0x0,_0x1594a7['combineLatest'])([this[_0x5d09bd(0x297)]['activeChartModel$'],this[_0x5d09bd(0x643)]['chartEditorOpen$']])[_0x5d09bd(0x18f)](([_0x4b898b,_0x1ae6db])=>{const _0x5634c1=_0x5d09bd;(!_0x1ae6db||this['_popupChartId']&&(_0x4b898b==null?void 0x0:_0x4b898b['id'])!==this[_0x5634c1(0x479)])&&this['_closePopup']();})),this[_0x5d09bd(0x55e)](this[_0x5d09bd(0x224)][_0x5d09bd(0x539)]['subscribe'](({id:_0x37332d})=>{const _0x58f994=_0x5d09bd;this[_0x58f994(0x311)](_0x37332d);})),this[_0x5d09bd(0x55e)](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x5d09bd(0x18f)](({id:_0x293184})=>{this['_clearSelectedTarget'](_0x293184);})),this['disposeWithMe'](this['_chartHostProvider'][_0x5d09bd(0x4c4)][_0x5d09bd(0x18f)](_0x5de3e6=>{const _0x33c846=_0x5d09bd;this[_0x33c846(0x311)](_0x5de3e6);}));}[_0x57fb15(0x5d5)](_0x21819a){const _0x1f5114=_0x57fb15;if(this[_0x1f5114(0x643)][_0x1f5114(0x654)])return;let _0x5a8c2c=this[_0x1f5114(0x297)][_0x1f5114(0x401)](_0x21819a),_0x37d40e=this['_sheetCanvasFloatDomManagerService'][_0x1f5114(0x37a)](_0x21819a);_0x5a8c2c&&_0x37d40e&&this[_0x1f5114(0x3bc)]['executeCommand'](_0x29b997['id'],{'unitId':_0x37d40e[_0x1f5114(0x2cd)],'subUnitId':_0x37d40e[_0x1f5114(0x2b0)]??'','drawingId':_0x21819a});}[_0x57fb15(0x348)](_0x277458,_0x31a678){const _0x1a1799=_0x57fb15;if(!this['_chartUIService'][_0x1a1799(0x44b)](_0x277458))return;let _0x2fb24b=this[_0x1a1799(0x297)]['getChartModel'](_0x277458),_0x1c93a4=_0x2fb24b?_0x20c0ea(_0x2fb24b,_0x31a678[_0x1a1799(0x213)]):void 0x0;if(!_0x1c93a4){this[_0x1a1799(0x643)][_0x1a1799(0x56c)](),this[_0x1a1799(0x3c6)]();return;}let _0x769ed9=this[_0x1a1799(0x224)][_0x1a1799(0x37a)](_0x277458);if(!_0x2fb24b||!_0x769ed9){this[_0x1a1799(0x643)][_0x1a1799(0x56c)](),this[_0x1a1799(0x3c6)]();return;}let _0x3fa599=JSON[_0x1a1799(0x16d)]([_0x769ed9['unitId'],_0x769ed9[_0x1a1799(0x2b0)],_0x277458,_0x1c93a4[_0x1a1799(0x46d)]]);if(this[_0x1a1799(0x1a3)]&&this['_popupSessionKey']===_0x3fa599||(this[_0x1a1799(0x643)][_0x1a1799(0x58b)](_0x277458,_0x1c93a4['route']),this[_0x1a1799(0x3c6)](),!_0x1c93a4[_0x1a1799(0x59a)]))return;let _0x254d70=_0x4e456f(_0x31a678,_0x769ed9[_0x1a1799(0x432)],()=>this[_0x1a1799(0x1dc)](_0x277458));if(!_0x254d70[_0x1a1799(0x61b)]){_0x254d70['dispose']();return;}let _0x26fcbf=this[_0x1a1799(0x317)][_0x1a1799(0x410)](_0x254d70['initialRect'],_0x254d70[_0x1a1799(0x2ec)],{'componentKey':_0x36d079[_0x1a1799(0x4fa)],'constrainToCanvas':!0x0,'direction':_0x1a1799(0x2e9),'offset':[0x0,0x8],'extraProps':{'unitId':_0x769ed9[_0x1a1799(0x2cd)],'subUnitId':_0x769ed9[_0x1a1799(0x2b0)],'chartId':_0x277458,'drawingId':_0x277458,'element':_0x31a678['hit'],'target':_0x1c93a4['target'],'adapterKey':_0x5631ed}},_0x769ed9[_0x1a1799(0x2cd)],_0x769ed9['subUnitId'])??null;if(!_0x26fcbf){_0x254d70[_0x1a1799(0x218)]();return;}let _0x18e642=new _0x91c33f[(_0x1a1799(0x3f0))]();_0x18e642[_0x1a1799(0x2ce)](_0x26fcbf),_0x18e642[_0x1a1799(0x2ce)](_0x254d70),this[_0x1a1799(0x1a3)]=_0x18e642,this[_0x1a1799(0x479)]=_0x277458,this[_0x1a1799(0x45b)]=_0x3fa599;}[_0x57fb15(0x3c6)](){const _0x115d9a=_0x57fb15;var _0x4411a2;(_0x4411a2=this[_0x115d9a(0x1a3)])==null||_0x4411a2[_0x115d9a(0x218)](),this[_0x115d9a(0x1a3)]=null,this['_popupChartId']=null,this['_popupSessionKey']=null;}[_0x57fb15(0x311)](_0x4a26a5){const _0x26c320=_0x57fb15;(this[_0x26c320(0x643)][_0x26c320(0x44b)](_0x4a26a5)||this[_0x26c320(0x479)]===_0x4a26a5)&&(this[_0x26c320(0x643)][_0x26c320(0x56c)](),this[_0x26c320(0x479)]===_0x4a26a5&&this[_0x26c320(0x3c6)]());}['_clearHiddenSelectedTarget'](_0x11fc70){const _0x7d003b=_0x57fb15;this[_0x7d003b(0x311)](_0x11fc70),this[_0x7d003b(0x643)][_0x7d003b(0x44b)](_0x11fc70)&&(this[_0x7d003b(0x2a6)][_0x7d003b(0x29f)](_0x11fc70,!0x1),this[_0x7d003b(0x2a6)]['setElementEditMode'](_0x11fc70,!0x0));}};_0x5b3b91=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f['Inject'])(_0x94af28['ChartModelService'])),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x4878a6)),_0x1314c8(0x2,_0x48d613),_0x1314c8(0x3,(0x0,_0x91c33f['Inject'])(_0x3d68f4['SheetCanvasPopManagerService'])),_0x1314c8(0x4,(0x0,_0x91c33f['Inject'])(_0x32fb7d['SheetCanvasFloatDomManagerService'])),_0x1314c8(0x5,_0x35cda9),_0x1314c8(0x6,(0x0,_0x91c33f['Inject'])(_0x36d079[_0x57fb15(0x28b)])),_0x1314c8(0x7,_0x91c33f[_0x57fb15(0x34c)]),_0x1314c8(0x8,(0x0,_0x91c33f['Inject'])(_0x91c33f[_0x57fb15(0x27e)]))],_0x5b3b91);function _0x582282(_0x490c73){const _0x336d99=_0x57fb15;var _0x3ef647;if(!_0x490c73[_0x336d99(0x49e)](_0x4878a6)[_0x336d99(0x59b)])return;let _0x4faa1f=(0x0,_0x43e32e[_0x336d99(0x2d6)])(_0x490c73['get'](_0x91c33f[_0x336d99(0x5db)]));if(!_0x4faa1f)return;let _0x369470=_0x4faa1f[_0x336d99(0x584)][_0x336d99(0x2bc)]()[_0x336d99(0x434)]??_0x91c33f[_0x336d99(0x55a)][_0x336d99(0x255)];if(_0x369470!==_0x91c33f[_0x336d99(0x55a)][_0x336d99(0x255)]&&_0x369470!==_0x91c33f[_0x336d99(0x55a)][_0x336d99(0x60f)])return;let {unitId:_0x24b0fc,subUnitId:_0x3a80d5}=_0x4faa1f,_0x39c84c=_0x490c73['get'](_0x94af28[_0x336d99(0x27b)]),_0x380ce3=_0x490c73[_0x336d99(0x49e)](_0x2f0dad[_0x336d99(0x62c)])[_0x336d99(0x17c)]();if(_0x380ce3[_0x336d99(0x553)]>0x1)return;let _0x3e579a=_0x380ce3[0x0];if(_0x3e579a&&(_0x3e579a[_0x336d99(0x2cd)]!==_0x24b0fc||_0x3e579a[_0x336d99(0x2b0)]!==_0x3a80d5))return;let _0x20abba=(_0x3e579a==null?void 0x0:_0x3e579a[_0x336d99(0x358)])??((_0x3ef647=_0x490c73[_0x336d99(0x49e)](_0x94af28[_0x336d99(0x5ce)])[_0x336d99(0x412)](_0x24b0fc,_0x3a80d5))==null?void 0x0:_0x3ef647['id']);if(!_0x20abba||_0x39c84c[_0x336d99(0x4cf)](_0x24b0fc,_0x20abba)!==_0x3a80d5||!_0x39c84c['getChartModel'](_0x20abba))return;let _0x40e497=_0x490c73[_0x336d99(0x49e)](_0x339595[_0x336d99(0x4d3)])[_0x336d99(0x331)]({'unitId':_0x24b0fc,'subUnitId':_0x3a80d5,'drawingId':_0x20abba});return(_0x40e497==null?void 0x0:_0x40e497[_0x336d99(0x2b4)])===_0x91c33f[_0x336d99(0x461)]['DRAWING_CHART']&&!_0x40e497['groupId']?{'unitId':_0x24b0fc,'subUnitId':_0x3a80d5,'chartId':_0x20abba}:void 0x0;}let _0x5bcf70={'id':'sheet.operation.open-move-chart-dialog','type':_0x91c33f[_0x57fb15(0x24e)][_0x57fb15(0x41e)],'handler':_0x379048=>_0x379048[_0x57fb15(0x49e)](_0x3d5a73)[_0x57fb15(0x1b7)]()},_0x50ae6c='sheet.menu.change-chart-type';function _0x44d4b4(_0x4646bf,_0x4d32c2){const _0xf8f9be=_0x57fb15;let _0x251e83=_0x4646bf[_0xf8f9be(0x49e)](_0x94af28['ChartModelService']);return(0x0,_0x3d68f4[_0xf8f9be(0x287)])(_0x4646bf[_0xf8f9be(0x49e)](_0x91c33f['IUniverInstanceService']),!0x0,()=>(0x0,_0x1594a7['merge'])(_0x4646bf[_0xf8f9be(0x49e)](_0x91c33f[_0xf8f9be(0x4b3)])['permissionPointUpdate$'],_0x4646bf[_0xf8f9be(0x49e)](_0x91c33f[_0xf8f9be(0x5d0)])['subscribeConfigValue$'](_0xc90c13[_0xf8f9be(0x48d)]),_0x4646bf[_0xf8f9be(0x49e)](_0x2f0dad[_0xf8f9be(0x62c)])[_0xf8f9be(0x4ca)],_0x251e83[_0xf8f9be(0x18d)],_0x251e83[_0xf8f9be(0x2d5)],_0x251e83[_0xf8f9be(0x4bb)])['pipe']((0x0,_0x1594a7[_0xf8f9be(0x463)])(null),(0x0,_0x1594a7[_0xf8f9be(0x35c)])(()=>!_0x4d32c2(_0x4646bf)),(0x0,_0x1594a7[_0xf8f9be(0x1bb)])()));}function _0x53d676(_0x52a1a2){const _0x2425f2=_0x57fb15;let _0x153137=_0x2cefc0(_0x52a1a2),{selections:_0x57006c}=_0x153137,_0xa0eb7=(0x0,_0x1594a7[_0x2425f2(0x428)])(_0x57006c)?_0x57006c:(0x0,_0x1594a7['of'])(_0x57006c??[]);return{..._0x153137,'id':_0x50ae6c,'title':_0x2425f2(0x193),'tooltip':_0x2425f2(0x193),'hidden$':(0x0,_0x3d68f4[_0x2425f2(0x287)])(_0x52a1a2[_0x2425f2(0x49e)](_0x91c33f[_0x2425f2(0x5db)]),!0x0,({worksheet:_0x5e72ba})=>(0x0,_0x1594a7['of'])(_0x5e72ba[_0x2425f2(0x2bc)]()[_0x2425f2(0x434)]!==_0x91c33f[_0x2425f2(0x55a)][_0x2425f2(0x60f)])),'disabled$':(0x0,_0x1594a7['combineLatest'])([_0x44d4b4(_0x52a1a2,_0x19395a=>!!_0x1b6278(_0x19395a)),_0xa0eb7])[_0x2425f2(0x351)]((0x0,_0x1594a7['map'])(([_0x4d9fc2,_0x2e24bf])=>_0x4d9fc2||_0x2e24bf[_0x2425f2(0x553)]===0x0))};}function _0x2fa702(_0x216399){const _0x1a7372=_0x57fb15;return{'id':_0x5bcf70['id'],'commandId':_0x5bcf70['id'],'type':_0x256211[_0x1a7372(0x457)]['BUTTON'],'title':_0x1a7372(0x46c),'icon':_0x1a7372(0x303),'hidden$':_0x44d4b4(_0x216399,_0xc7c4eb=>!!_0x582282(_0xc7c4eb)),'disabled$':_0x44d4b4(_0x216399,_0x53d43e=>{const _0x102dc5=_0x1a7372;let _0x33ff0a=_0x582282(_0x53d43e);return!!_0x33ff0a&&_0x5da869(_0x53d43e,_0x33ff0a[_0x102dc5(0x2cd)],_0x33ff0a[_0x102dc5(0x2b0)]);})};}function _0x48f7b9(){const _0x584ca6=_0x57fb15;return{[_0x256211[_0x584ca6(0x34d)][_0x584ca6(0x2c3)]]:{[_0x256211[_0x584ca6(0x5f5)]['INSERT']]:{[_0x256211['RibbonInsertGroup']['MEDIA']]:{[_0x50ae6c]:{'order':0x4,'menuItemFactory':_0x53d676}}}},[_0x256211[_0x584ca6(0x1b0)][_0x584ca6(0x1b8)]]:{[_0x256211[_0x584ca6(0x44d)][_0x584ca6(0x240)]]:{[_0x5bcf70['id']]:{'order':0x2,'menuItemFactory':_0x2fa702}}}};}function _0x64a034(){const _0x478dc4=_0x57fb15;return{[_0x256211[_0x478dc4(0x34d)]['RIBBON']]:{[_0x256211['RibbonPosition']['INSERT']]:{[_0x256211[_0x478dc4(0x416)][_0x478dc4(0x1d1)]]:{[_0x50ae6c]:{'replace':!0x0}}}},[_0x256211[_0x478dc4(0x1b0)][_0x478dc4(0x1b8)]]:{[_0x256211[_0x478dc4(0x44d)][_0x478dc4(0x240)]]:{[_0x5bcf70['id']]:{'replace':!0x0}}}};}let _0x422699=_0x57fb15(0x1d4);function _0x496bd6(_0x1eaf01){const _0x560bd2=_0x57fb15;var _0x3fdd73;let {unitId:_0x115e81,subUnitId:_0x117a5f,chartId:_0x229ade,onClose:_0x5e889d}=_0x1eaf01,_0x279e62=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x91c33f['IUniverInstanceService']),_0x49b397=(0x0,_0x256211['useDependency'])(_0x94af28['SheetsChartService']),_0x45a6eb=(0x0,_0x256211['useDependency'])(_0x94af28['ChartSheetService']),_0x1d502e=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x94af28['ChartModelService']),_0x22455b=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x339595[_0x560bd2(0x4d3)]),_0x185cab=(0x0,_0x256211['useDependency'])(_0x2f0dad[_0x560bd2(0x62c)]),_0x2c718d=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x91c33f[_0x560bd2(0x34c)]),_0x1a43c8=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x91c33f[_0x560bd2(0x5ae)]),_0x105904=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x91c33f[_0x560bd2(0x4b3)]),_0x19b7cb=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x43e32e[_0x560bd2(0x5be)]),_0x5c5e1c=(0x0,_0x256211[_0x560bd2(0x2b3)])(_0x91c33f[_0x560bd2(0x658)]);(0x0,_0x256211['useObservable'])(_0x5c5e1c['currentLocale$'],_0x5c5e1c[_0x560bd2(0x310)]());let [,_0x2188a5]=(0x0,_0x457eb7[_0x560bd2(0x439)])(0x0),_0x841b4e=_0x279e62[_0x560bd2(0x1bd)](_0x115e81,_0x91c33f[_0x560bd2(0x366)][_0x560bd2(0x648)]),_0x16c539=_0x841b4e==null?void 0x0:_0x841b4e[_0x560bd2(0x2cf)](_0x117a5f),_0x5b1fef=((_0x3fdd73=_0x45a6eb[_0x560bd2(0x412)](_0x115e81,_0x117a5f))==null?void 0x0:_0x3fdd73['id'])===_0x229ade,[_0x5a9b4d,_0x4f32ec]=(0x0,_0x457eb7[_0x560bd2(0x439)])(_0x5b1fef?_0x560bd2(0x4ba):'existing'),[_0x5b6bd3,_0x2ae35c]=(0x0,_0x457eb7['useState'])(()=>_0x5b1fef?(_0x16c539==null?void 0x0:_0x16c539[_0x560bd2(0x5fa)]())??'':(_0x841b4e==null?void 0x0:_0x841b4e['generateNewSheetName'](_0x5c5e1c['t']('sheets-chart-ui.chartSheet.defaultName')))??''),[_0x2ad33e,_0x271d8f]=(0x0,_0x457eb7[_0x560bd2(0x439)])(_0x117a5f),[_0x499b20,_0x173a8e]=(0x0,_0x457eb7['useState'])(),[_0x4b5066,_0x136001]=(0x0,_0x457eb7[_0x560bd2(0x439)])(!0x1),_0x485703=(0x0,_0x457eb7[_0x560bd2(0x3ba)])(!0x1),_0x12f605=(0x0,_0x457eb7[_0x560bd2(0x3ba)])(!0x0),_0x2a0eea=(0x0,_0x457eb7['useRef'])(null);(0x0,_0x457eb7[_0x560bd2(0x3f5)])(()=>{const _0x3ccdac=_0x560bd2;_0x12f605[_0x3ccdac(0x4f1)]=!0x0;let _0x4287ad=new _0x91c33f['DisposableCollection'](),_0x477ba5=()=>_0x2188a5(_0x4942ee=>_0x4942ee+0x1);return _0x4287ad['add'](_0x105904[_0x3ccdac(0x515)]['subscribe'](_0x477ba5)),_0x4287ad[_0x3ccdac(0x2ce)](_0x1d502e['chartModelAdded$'][_0x3ccdac(0x18f)](_0x477ba5)),_0x4287ad[_0x3ccdac(0x2ce)](_0x1d502e['chartModelRemoved$'][_0x3ccdac(0x18f)](_0x477ba5)),_0x4287ad[_0x3ccdac(0x2ce)](_0x185cab[_0x3ccdac(0x43a)][_0x3ccdac(0x18f)](_0x477ba5)),_0x4287ad['add'](_0x185cab[_0x3ccdac(0x1b9)][_0x3ccdac(0x18f)](_0x477ba5)),_0x4287ad['add'](_0x2c718d[_0x3ccdac(0x26b)](_0x477ba5)),_0x4287ad['add'](_0x279e62[_0x3ccdac(0x49b)][_0x3ccdac(0x18f)](_0x72339b=>{const _0x55adbe=_0x3ccdac;if(_0x72339b['getUnitId']()===_0x115e81){var _0x146b62;(_0x146b62=_0x2a0eea[_0x55adbe(0x4f1)])==null||_0x146b62[_0x55adbe(0x59f)](_0x2a0eea);}_0x477ba5();})),()=>{const _0x293143=_0x3ccdac;var _0x46d5d2;_0x12f605[_0x293143(0x4f1)]=!0x1,(_0x46d5d2=_0x2a0eea['current'])==null||_0x46d5d2['call'](_0x2a0eea),_0x4287ad[_0x293143(0x218)]();};},[_0x2c718d,_0x185cab,_0x279e62,_0x1d502e,_0x105904,_0x115e81]);let _0x55d499=_0x49b397[_0x560bd2(0x401)](_0x229ade),_0x42e35b=_0x22455b[_0x560bd2(0x331)]({'unitId':_0x115e81,'subUnitId':_0x117a5f,'drawingId':_0x229ade}),_0x1d9324=!!_0x841b4e&&!!_0x16c539&&!!_0x55d499&&_0x49b397['getSubUnitId'](_0x115e81,_0x229ade)===_0x117a5f&&(_0x42e35b==null?void 0x0:_0x42e35b[_0x560bd2(0x2b4)])===_0x91c33f[_0x560bd2(0x461)][_0x560bd2(0x1cc)]&&!_0x42e35b[_0x560bd2(0x441)];(0x0,_0x457eb7[_0x560bd2(0x3f5)])(()=>{const _0xec92f5=_0x560bd2;!_0x1d9324&&!_0x485703[_0xec92f5(0x4f1)]&&_0x5e889d();},[_0x5e889d,_0x1d9324]);let _0x15b894=_0x28f510=>_0x19b7cb[_0x560bd2(0x40a)]({'workbookTypes':[_0x43e32e[_0x560bd2(0x557)]],'worksheetTypes':[_0x43e32e[_0x560bd2(0x2f4)]]},_0x115e81,_0x28f510),_0x5520f2=((_0x841b4e==null?void 0x0:_0x841b4e[_0x560bd2(0x53e)]())??[])[_0x560bd2(0x35c)](_0x1807a1=>({'value':_0x1807a1[_0x560bd2(0x4c1)](),'disabled':!_0x15b894(_0x1807a1['getSheetId']()),'label':(0x0,_0x2041bd['jsxs'])(_0x560bd2(0x3dc),{'className':_0x560bd2(0x5b1),'children':[_0x1807a1[_0x560bd2(0x2bc)]()[_0x560bd2(0x434)]===_0x91c33f[_0x560bd2(0x55a)][_0x560bd2(0x60f)]?(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f7c5e,{}):(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x56e6ab,{}),_0x1807a1[_0x560bd2(0x5fa)]()]})})),_0x2aefef;if(!_0x1d9324||!_0x15b894(_0x117a5f))_0x2aefef=_0x560bd2(0x43d);else{if(_0x5a9b4d===_0x560bd2(0x4ba)){let _0x450a39=_0x841b4e[_0x560bd2(0x53e)]()[_0x560bd2(0x493)](_0x127ff7=>(!_0x5b1fef||_0x127ff7[_0x560bd2(0x4c1)]()!==_0x117a5f)&&_0x127ff7[_0x560bd2(0x5fa)]()['toLowerCase']()===_0x5b6bd3[_0x560bd2(0x5c4)]());!_0x5b6bd3[_0x560bd2(0x5ea)]()||!(0x0,_0x91c33f[_0x560bd2(0x387)])(_0x5b6bd3)||_0x450a39?_0x2aefef=_0x560bd2(0x4e5):_0x19b7cb[_0x560bd2(0x40a)]({'workbookTypes':[_0x43e32e['WorkbookEditablePermission'],_0x5b1fef?_0x43e32e[_0x560bd2(0x184)]:_0x43e32e[_0x560bd2(0x2fb)]]},_0x115e81,_0x117a5f)||(_0x2aefef=_0x560bd2(0x43d));}else!_0x5520f2[_0x560bd2(0x493)](_0x11a501=>_0x11a501[_0x560bd2(0x38d)]===_0x2ad33e)||!_0x15b894(_0x2ad33e)?_0x2aefef='sheets-chart-ui.chartSheet.move.unavailable':_0x5b1fef&&_0x2ad33e!==_0x117a5f&&(_0x45a6eb[_0x560bd2(0x635)](_0x115e81,_0x117a5f,_0x229ade)?_0x19b7cb[_0x560bd2(0x40a)]({'workbookTypes':[_0x43e32e[_0x560bd2(0x2fe)]]},_0x115e81,_0x117a5f)||(_0x2aefef=_0x560bd2(0x43d)):_0x2aefef=_0x560bd2(0x207));}let _0xfe61ed=_0x2aefef??_0x499b20;return(0x0,_0x2041bd[_0x560bd2(0x528)])(_0x560bd2(0x246),{'dir':_0x5c5e1c['getDirection'](),'children':[(0x0,_0x2041bd[_0x560bd2(0x528)])(_0x2f9b35[_0x560bd2(0x4fd)],{'value':_0x5a9b4d,'direction':_0x560bd2(0x42b),'disabled':_0x4b5066,'onChange':_0x290dda=>{const _0x5ab046=_0x560bd2;(_0x290dda===_0x5ab046(0x4ba)||_0x290dda===_0x5ab046(0x281))&&(_0x4f32ec(_0x290dda),_0x173a8e(void 0x0));},'children':[(0x0,_0x2041bd['jsx'])(_0x2f9b35[_0x560bd2(0x301)],{'value':_0x560bd2(0x4ba),'children':_0x5c5e1c['t'](_0x560bd2(0x217))}),(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f9b35[_0x560bd2(0x301)],{'value':_0x560bd2(0x281),'children':_0x5c5e1c['t'](_0x560bd2(0x343))})]}),(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f9b35[_0x560bd2(0x62f)],{'className':'univer-mt-3','label':_0x5c5e1c['t'](_0x560bd2(0x335)),'error':_0x5a9b4d===_0x560bd2(0x4ba)&&_0xfe61ed?_0x5c5e1c['t'](_0xfe61ed):void 0x0,'children':(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f9b35['Input'],{'aria-label':_0x5c5e1c['t']('sheets-chart-ui.chartSheet.move.name'),'value':_0x5b6bd3,'disabled':_0x5a9b4d!=='new'||_0x4b5066,'onChange':_0x40cf43=>{_0x2ae35c(_0x40cf43),_0x173a8e(void 0x0);}})}),(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f9b35[_0x560bd2(0x62f)],{'label':_0x5c5e1c['t'](_0x560bd2(0x273)),'error':_0x5a9b4d===_0x560bd2(0x281)&&_0xfe61ed?_0x5c5e1c['t'](_0xfe61ed):void 0x0,'children':(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f9b35['Select'],{'aria-label':_0x5c5e1c['t'](_0x560bd2(0x273)),'value':_0x2ad33e,'options':_0x5520f2,'disabled':_0x5a9b4d!==_0x560bd2(0x281)||_0x4b5066,'onChange':_0x9784c4=>{_0x271d8f(_0x9784c4),_0x173a8e(void 0x0);}})}),(0x0,_0x2041bd[_0x560bd2(0x528)])(_0x2f9b35[_0x560bd2(0x29a)],{'className':_0x560bd2(0x3c4),'children':[(0x0,_0x2041bd[_0x560bd2(0x29b)])(_0x2f9b35['Button'],{'disabled':_0x4b5066,'onClick':_0x5e889d,'children':_0x5c5e1c['t'](_0x560bd2(0x62a))}),(0x0,_0x2041bd['jsx'])(_0x2f9b35['Button'],{'variant':'primary','disabled':_0x4b5066||!!_0x2aefef,'aria-busy':_0x4b5066,'onClick':async()=>{const _0x560699=_0x560bd2;if(!(_0x485703[_0x560699(0x4f1)]||_0x2aefef)){_0x485703[_0x560699(0x4f1)]=!0x0,_0x136001(!0x0),_0x173a8e(void 0x0);try{if(_0x5b1fef&&_0x5a9b4d===_0x560699(0x281)&&_0x2ad33e!==_0x117a5f){if(!await new Promise(_0x1de9a7=>{const _0x84ce5e=_0x560699;let _0x573458=!0x1,_0x22f24d,_0x691eb9=_0x510381=>{const _0x46e9d1=_0xc181;_0x573458||(_0x573458=!0x0,_0x2a0eea[_0x46e9d1(0x4f1)]=null,_0x22f24d==null||_0x22f24d[_0x46e9d1(0x3e4)](),_0x1a43c8[_0x46e9d1(0x296)](_0x46e9d1(0x1d4)),_0x1de9a7(_0x510381));};_0x1a43c8[_0x84ce5e(0x418)]({'id':_0x84ce5e(0x1d4),'title':{'title':_0x5c5e1c['t'](_0x84ce5e(0x464))},'children':{'title':_0x5c5e1c['t'](_0x84ce5e(0x4dd))},'cancelText':_0x5c5e1c['t']('sheets-chart-ui.chartSheet.move.cancel'),'confirmText':_0x5c5e1c['t'](_0x84ce5e(0x527)),'onConfirm':()=>_0x691eb9(!0x0),'onClose':()=>_0x691eb9(!0x1)}),_0x573458||(_0x2a0eea[_0x84ce5e(0x4f1)]=()=>_0x691eb9(!0x1),_0x22f24d=_0x1a43c8[_0x84ce5e(0x406)][_0x84ce5e(0x18f)](_0x4affc6=>{const _0x33a8ea=_0x84ce5e;_0x4affc6[_0x33a8ea(0x493)](_0x1ca6e2=>_0x1ca6e2['id']==='sheets-chart-ui.move-chart-dialog'&&_0x1ca6e2[_0x33a8ea(0x61b)])||_0x691eb9(!0x1);}),_0x573458&&_0x22f24d[_0x84ce5e(0x3e4)]());})||!_0x12f605[_0x560699(0x4f1)])return;let _0x45339e=_0x279e62[_0x560699(0x1bd)](_0x115e81,_0x91c33f['UniverInstanceType'][_0x560699(0x648)]);if(!(_0x45339e!=null&&_0x45339e[_0x560699(0x2cf)](_0x2ad33e))||_0x49b397[_0x560699(0x4cf)](_0x115e81,_0x229ade)!==_0x117a5f||!_0x45a6eb[_0x560699(0x635)](_0x115e81,_0x117a5f,_0x229ade)||!_0x15b894(_0x117a5f)||!_0x15b894(_0x2ad33e)||!_0x19b7cb[_0x560699(0x40a)]({'workbookTypes':[_0x43e32e[_0x560699(0x2fe)]]},_0x115e81,_0x117a5f)){_0x173a8e(_0x560699(0x43d));return;}}await _0x2c718d[_0x560699(0x5f0)](_0x94af28[_0x560699(0x285)]['id'],{'unitId':_0x115e81,'subUnitId':_0x117a5f,'chartId':_0x229ade,'target':_0x5a9b4d===_0x560699(0x4ba)?{'type':_0x94af28[_0x560699(0x1eb)][_0x560699(0x509)],'name':_0x5b6bd3}:{'type':_0x94af28[_0x560699(0x1eb)][_0x560699(0x51e)],'subUnitId':_0x2ad33e}})?_0x5e889d():_0x12f605[_0x560699(0x4f1)]&&_0x173a8e(_0x560699(0x54b));}catch{_0x12f605[_0x560699(0x4f1)]&&_0x173a8e('sheets-chart-ui.chartSheet.move.failed');}finally{_0x485703[_0x560699(0x4f1)]=!0x1,_0x12f605[_0x560699(0x4f1)]&&_0x136001(!0x1);}}},'children':_0x5c5e1c['t'](_0x560bd2(0x32a))})]})]});}let _0x3d5a73=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x139cb5,_0x4200ec,_0xc9fb4f,_0x1bf44c,_0x2e72c8,_0x21c5f1,_0x2e8cb0,_0x13a254,_0x2fa0f2,_0x51e204,_0x3854e3,_0x40e02e){const _0x22ea9a=_0x57fb15;super(),this[_0x22ea9a(0x33c)]=_0x139cb5,this[_0x22ea9a(0x2d7)]=_0x4200ec,this['_renderManagerService']=_0xc9fb4f,this[_0x22ea9a(0x4f5)]=_0x1bf44c,this['_contextMenuService']=_0x2e72c8,this[_0x22ea9a(0x2bb)]=_0x13a254,this[_0x22ea9a(0x5cb)]=_0x2fa0f2,this[_0x22ea9a(0x53c)]=_0x51e204,this['_localeService']=_0x3854e3,this[_0x22ea9a(0x498)]=_0x40e02e,_0x53ca96(this,_0x22ea9a(0x299),new Map()),_0x53ca96(this,_0x22ea9a(0x5b3),null),_0x53ca96(this,_0x22ea9a(0x494),null),_0x53ca96(this,_0x22ea9a(0x1c7),null),this[_0x22ea9a(0x55e)](_0x2e8cb0[_0x22ea9a(0x453)](_0x5bcf70)),this[_0x22ea9a(0x55e)](this['_drawingManagerService']['registerCommandCheck'](_0x4a29f1=>{const _0x390dee=_0x22ea9a;if(_0x4a29f1['id']!==_0x378823[_0x390dee(0x4e2)]['id'])return!0x0;let _0x157784=_0x4a29f1[_0x390dee(0x1e1)];return!((_0x157784==null?void 0x0:_0x157784[_0x390dee(0x659)])??this['_drawingManagerService']['getFocusDrawings']())[_0x390dee(0x493)](_0x569723=>{const _0xe20afa=_0x390dee;var _0x21cdb3;return((_0x21cdb3=this[_0xe20afa(0x33c)][_0xe20afa(0x412)](_0x569723[_0xe20afa(0x2cd)],_0x569723[_0xe20afa(0x2b0)]))==null?void 0x0:_0x21cdb3['id'])===_0x569723[_0xe20afa(0x358)];});})),this[_0x22ea9a(0x55e)](this[_0x22ea9a(0x498)][_0x22ea9a(0x49b)][_0x22ea9a(0x18f)](_0x3c2bd1=>{const _0x5dcd6e=_0x22ea9a;var _0x4165c9;_0x3c2bd1['getUnitId']()===((_0x4165c9=this['_moveDialogFocus'])==null?void 0x0:_0x4165c9[_0x5dcd6e(0x2cd)])&&this[_0x5dcd6e(0x1f9)](),_0x3c2bd1[_0x5dcd6e(0x1b6)]()===this[_0x5dcd6e(0x5b3)]&&this['_closeMoveChartDialog']();})),this['disposeWithMe'](_0x21c5f1[_0x22ea9a(0x5c5)]({'id':_0x3d68f4['SheetPasteCommand']['id'],'binding':_0x256211[_0x22ea9a(0x24c)]['V']|_0x256211['MetaKeys']['CTRL_COMMAND'],'preconditions':_0x41f077=>{const _0x58fbda=_0x22ea9a;var _0x131baf;return _0x41f077[_0x58fbda(0x395)](_0x91c33f[_0x58fbda(0x2a4)])&&!_0x41f077['getContextValue'](_0x91c33f[_0x58fbda(0x1f6)])&&!_0x41f077[_0x58fbda(0x395)](_0x91c33f[_0x58fbda(0x2ed)])&&((_0x131baf=(0x0,_0x43e32e[_0x58fbda(0x2d6)])(this[_0x58fbda(0x498)]))==null?void 0x0:_0x131baf[_0x58fbda(0x584)][_0x58fbda(0x2bc)]()[_0x58fbda(0x434)])===_0x91c33f['SheetTypes'][_0x58fbda(0x60f)];},'eventPreconditions':_0x58b72c=>{const _0x213db0=_0x22ea9a;if(!(_0x58b72c[_0x213db0(0x46d)]instanceof HTMLElement))return!0x0;let _0x355b70=_0x58b72c['target'][_0x213db0(0x543)](_0x213db0(0x63a));return!_0x355b70||_0x355b70['id']==='__editor_'+_0x91c33f[_0x213db0(0x3b4)];}}));let _0xbda2f0=this[_0x22ea9a(0x53c)][_0x22ea9a(0x49e)](_0x3d68f4[_0x22ea9a(0x15c)]);this[_0x22ea9a(0x55e)](_0xbda2f0[_0x22ea9a(0x5e0)]({'id':'chart-sheet-paste','onBeforePaste':(_0x425078,_0x20abeb)=>{const _0x1fa82d=_0x22ea9a;let _0x426bd7=(0x0,_0x43e32e['getSheetCommandTarget'])(this[_0x1fa82d(0x498)],_0x425078);if((_0x426bd7==null?void 0x0:_0x426bd7['worksheet'][_0x1fa82d(0x2bc)]()[_0x1fa82d(0x434)])!==_0x91c33f[_0x1fa82d(0x55a)][_0x1fa82d(0x60f)])return!0x0;let _0x2e73c8=_0x20abeb!=null&&_0x20abeb['copyId']?_0xbda2f0[_0x1fa82d(0x322)]()[_0x1fa82d(0x49e)](_0x20abeb['copyId']):void 0x0;return(_0x2e73c8==null?void 0x0:_0x2e73c8[_0x1fa82d(0x576)])===!0x0;}})),this[_0x22ea9a(0x407)](),this[_0x22ea9a(0x223)](),this[_0x22ea9a(0x1f4)]();}['_registerMenus'](){const _0x2d7efd=_0x57fb15;let _0x396b05=this[_0x2d7efd(0x53c)][_0x2d7efd(0x49e)](_0x256211[_0x2d7efd(0x342)]),_0x343f9d=!0x0;this['disposeWithMe'](this[_0x2d7efd(0x266)][_0x2d7efd(0x42c)][_0x2d7efd(0x18f)]({'complete':()=>{_0x343f9d=!0x1;}})),_0x396b05[_0x2d7efd(0x49c)](_0x48f7b9()),this[_0x2d7efd(0x55e)]((0x0,_0x91c33f[_0x2d7efd(0x624)])(()=>{_0x343f9d&&_0x396b05['mergeMenu'](_0x64a034());}));}['_registerPrimaryContextMenus'](){const _0x5ce143=_0x57fb15;let _0x3517f8=_0x32db58=>{const _0x35a657=_0xc181;if(_0x32db58['type']!==_0x91c33f[_0x35a657(0x366)][_0x35a657(0x648)]||this['_primaryContextMenuBindings'][_0x35a657(0x23a)](_0x32db58))return;let _0x56892b=_0x32db58[_0x35a657(0x5f6)][_0x35a657(0x3fc)][_0x35a657(0x2b9)](_0x514f24=>{const _0x2108b4=_0x35a657;if(_0x514f24[_0x2108b4(0x64f)]!==_0x548848[_0x2108b4(0x30f)][_0x2108b4(0x4c3)])return;let _0x53980b=(0x0,_0x43e32e[_0x2108b4(0x2d6)])(this[_0x2108b4(0x498)]);if(!_0x53980b||_0x53980b['unitId']!==_0x32db58['unitId']||_0x53980b[_0x2108b4(0x584)][_0x2108b4(0x2bc)]()[_0x2108b4(0x434)]!==_0x91c33f[_0x2108b4(0x55a)][_0x2108b4(0x60f)])return;let _0x5a076b=this[_0x2108b4(0x33c)][_0x2108b4(0x412)](_0x53980b[_0x2108b4(0x2cd)],_0x53980b['subUnitId']),_0x2f286b=this['_drawingHitTestService']['hitTest'](_0x53980b['unitId'],_0x53980b[_0x2108b4(0x2b0)],_0x514f24[_0x2108b4(0x5e1)],_0x514f24[_0x2108b4(0x2a3)]);_0x5a076b&&(_0x2f286b==null?void 0x0:_0x2f286b[_0x2108b4(0x48b)][_0x2108b4(0x358)])===_0x5a076b['id']&&(this[_0x2108b4(0x2d7)]['focusDrawing'](null),this[_0x2108b4(0x59d)]['triggerContextMenu'](_0x514f24,_0x256211[_0x2108b4(0x1b0)][_0x2108b4(0x1b8)]));});this[_0x35a657(0x299)]['set'](_0x32db58,(0x0,_0x91c33f[_0x35a657(0x624)])(()=>_0x56892b['unsubscribe']()));};this['disposeWithMe'](this[_0x5ce143(0x61d)]['created$'][_0x5ce143(0x18f)](_0x3517f8)),this[_0x5ce143(0x55e)](this[_0x5ce143(0x61d)][_0x5ce143(0x4ea)]['subscribe'](_0x465fd7=>{const _0x5dc817=_0x5ce143;for(let [_0x42ddc7,_0x3a2ea0]of this[_0x5dc817(0x299)])_0x42ddc7['unitId']===_0x465fd7&&(_0x3a2ea0[_0x5dc817(0x218)](),this['_primaryContextMenuBindings'][_0x5dc817(0x27c)](_0x42ddc7));})),this['_renderManagerService'][_0x5ce143(0x1d9)]()[_0x5ce143(0x3f4)](_0x3517f8),this[_0x5ce143(0x55e)]((0x0,_0x91c33f[_0x5ce143(0x624)])(()=>{const _0x23167c=_0x5ce143;this[_0x23167c(0x299)][_0x23167c(0x3f4)](_0x26673b=>_0x26673b[_0x23167c(0x218)]()),this[_0x23167c(0x299)][_0x23167c(0x2cc)]();}));}[_0x57fb15(0x1b7)](){const _0x4c42e6=_0x57fb15;let _0xbeae8f=_0x582282(this[_0x4c42e6(0x53c)]);if(!_0xbeae8f||!_0x5da869(this[_0x4c42e6(0x53c)],_0xbeae8f['unitId'],_0xbeae8f['subUnitId']))return!0x1;this[_0x4c42e6(0x1f9)](),this[_0x4c42e6(0x293)]();let _0x49735f=document[_0x4c42e6(0x35f)];this[_0x4c42e6(0x5b3)]=_0xbeae8f['unitId'];let _0x27636f=()=>{const _0x1d6dbf=_0x4c42e6;this[_0x1d6dbf(0x494)]===_0x27636f&&(this[_0x1d6dbf(0x293)](),this['_scheduleMoveDialogFocus'](_0xbeae8f[_0x1d6dbf(0x2cd)],_0x49735f));};return this['_moveDialogClose']=_0x27636f,this[_0x4c42e6(0x2bb)][_0x4c42e6(0x418)]({'id':_0x422699,'title':{'title':this[_0x4c42e6(0x266)]['t'](_0x4c42e6(0x46c))},'children':{'label':{'name':_0x422699,'props':{..._0xbeae8f,'onClose':_0x27636f}}},'onClose':_0x27636f}),!0x0;}[_0x57fb15(0x218)](){const _0x159907=_0x57fb15;this[_0x159907(0x1f9)](),this[_0x159907(0x293)](),super[_0x159907(0x218)]();}[_0x57fb15(0x223)](){const _0x531a5a=_0x57fb15;let _0x40dace=this['_injector'][_0x531a5a(0x49e)](_0x3d68f4[_0x531a5a(0x188)]),_0x5d79c5=this[_0x531a5a(0x53c)][_0x531a5a(0x49e)](_0xbeca0c),_0x585d05=_0x5d79c5['getChartPopupMenus'][_0x531a5a(0x4b7)](_0x5d79c5);_0x40dace['registerFeatureMenu'](_0x91c33f[_0x531a5a(0x461)][_0x531a5a(0x1cc)],(_0x2bec53,_0x4a8032,_0x2608b9,_0x177aa2)=>{const _0x481ada=_0x531a5a;let _0x428ce7=_0x585d05(_0x2bec53,_0x4a8032,_0x2608b9,_0x177aa2),_0x51413a=_0x582282(this[_0x481ada(0x53c)]);return!_0x51413a||_0x51413a['unitId']!==_0x2bec53||_0x51413a[_0x481ada(0x2b0)]!==_0x4a8032||_0x51413a[_0x481ada(0x570)]!==_0x2608b9?_0x428ce7:[..._0x428ce7,{'label':this[_0x481ada(0x266)]['t'](_0x481ada(0x46c)),'icon':_0x481ada(0x303),'index':0x3,'commandId':_0x5bcf70['id'],'commandParams':{'unitId':_0x2bec53,'subUnitId':_0x4a8032,'drawingId':_0x2608b9},'disable':!_0x5da869(this['_injector'],_0x2bec53,_0x4a8032)}];}),this[_0x531a5a(0x55e)]((0x0,_0x91c33f[_0x531a5a(0x624)])(()=>{const _0x5ce8f9=_0x531a5a;_0x40dace['registerFeatureMenu'](_0x91c33f[_0x5ce8f9(0x461)][_0x5ce8f9(0x1cc)],_0x585d05);}));}[_0x57fb15(0x1f9)](){const _0x11c9c2=_0x57fb15;this[_0x11c9c2(0x1c7)]&&=(cancelAnimationFrame(this[_0x11c9c2(0x1c7)][_0x11c9c2(0x415)]),null);}['_scheduleMoveDialogFocus'](_0x1fa64d,_0x2fc7e8){const _0x2e1e18=_0x57fb15;this[_0x2e1e18(0x1f9)](),this['_moveDialogFocus']={'unitId':_0x1fa64d,'frame':requestAnimationFrame(()=>{const _0x31d1c2=_0x2e1e18;var _0x464cb5;this[_0x31d1c2(0x1c7)]=null,this['_disposed']||this['_moveDialogUnitId']!==null||((_0x464cb5=this[_0x31d1c2(0x498)][_0x31d1c2(0x536)]())==null?void 0x0:_0x464cb5[_0x31d1c2(0x1b6)]())!==_0x1fa64d||_0x2fc7e8 instanceof HTMLElement&&_0x2fc7e8[_0x31d1c2(0x501)]||document[_0x31d1c2(0x35f)]&&document[_0x31d1c2(0x35f)]!==document['body']||this[_0x31d1c2(0x5cb)]['focus'](_0x1fa64d);})};}['_closeMoveChartDialog'](){const _0x31eb90=_0x57fb15;this[_0x31eb90(0x5b3)]!==null&&(this[_0x31eb90(0x5b3)]=null,this[_0x31eb90(0x494)]=null,this[_0x31eb90(0x2bb)]['close'](_0x422699));}};_0x3d5a73=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x5ce)])),_0x1314c8(0x1,_0x2f0dad['IDrawingManagerService']),_0x1314c8(0x2,_0x548848[_0x57fb15(0x483)]),_0x1314c8(0x3,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x32fb7d[_0x57fb15(0x363)])),_0x1314c8(0x4,_0x256211[_0x57fb15(0x361)]),_0x1314c8(0x5,_0x256211['IShortcutService']),_0x1314c8(0x6,_0x91c33f['ICommandService']),_0x1314c8(0x7,_0x256211[_0x57fb15(0x163)]),_0x1314c8(0x8,_0x256211['ILayoutService']),_0x1314c8(0x9,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x27e)])),_0x1314c8(0xa,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f['LocaleService'])),_0x1314c8(0xb,_0x91c33f['IUniverInstanceService'])],_0x3d5a73);let _0x8331a=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x29deb3,_0x5c2dc6){const _0x2a41be=_0x57fb15;super(),this[_0x2a41be(0x323)]=_0x29deb3,this[_0x2a41be(0x51a)]=_0x5c2dc6,this[_0x2a41be(0x44c)](),this[_0x2a41be(0x194)]();}['_registerIcons'](){const _0x581d1f=_0x57fb15;this[_0x581d1f(0x55e)](this[_0x581d1f(0x51a)][_0x581d1f(0x54c)]({'ArrowRightIcon':_0x27361a,'DeleteIcon':_0x5bb4f1,'EyelashIcon':_0x242e9d,'PenIcon':_0x3e5e00}));}['_registerComponents'](){const _0xe98474=_0x57fb15;[[_0x511dec,_0x54b858],[_0x422699,_0x496bd6]][_0xe98474(0x3f4)](([_0x2c7e42,_0x203b1a])=>{const _0x55830e=_0xe98474;this['disposeWithMe'](this[_0x55830e(0x323)][_0x55830e(0x54c)](_0x2c7e42,_0x203b1a));});}};_0x8331a=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x256211[_0x57fb15(0x473)])),_0x1314c8(0x1,(0x0,_0x91c33f['Inject'])(_0x256211[_0x57fb15(0x558)]))],_0x8331a);let _0x5ced5a=class extends _0x91c33f[_0x57fb15(0x3a7)]{constructor(_0x38125b,_0x5d8ae6,_0x5205f5,_0x16d5e4,_0x5a87a7,_0x4c49e4,_0x20030c,_0x44c73b,_0x16e757,_0x44dc4f,_0x207442){const _0x491f69=_0x57fb15;super(),this['_chartSheetService']=_0x5d8ae6,this[_0x491f69(0x224)]=_0x5205f5,this[_0x491f69(0x3bc)]=_0x16d5e4,this[_0x491f69(0x602)]=_0x5a87a7,this['_univerInstanceService']=_0x4c49e4,this[_0x491f69(0x61d)]=_0x20030c,this[_0x491f69(0x2d7)]=_0x44c73b,this[_0x491f69(0x357)]=_0x16e757,this['_chartThemeService']=_0x44dc4f,_0x53ca96(this,'_pageFrame',null),_0x53ca96(this,'_pageFrameRender',null),_0x53ca96(this,'_pageCanvasBackground',null),_0x53ca96(this,_0x491f69(0x462),null),_0x53ca96(this,_0x491f69(0x3ca),!0x1),_0x53ca96(this,_0x491f69(0x44a),!0x1),_0x53ca96(this,'_fitReady',!0x1),_0x53ca96(this,'_drawingTransformSubscriptions',new Map()),this[_0x491f69(0x55e)](_0x38125b[_0x491f69(0x55e)]((0x0,_0x91c33f[_0x491f69(0x624)])(()=>this[_0x491f69(0x218)]())));let _0x471328=this[_0x491f69(0x224)]['registerMoveTransformConstraint']((_0x4c5898,_0x7a4395)=>{const _0x323951=_0x491f69;let _0x11cb29=this['_chartSheetService'][_0x323951(0x412)](_0x4c5898[_0x323951(0x2cd)],_0x4c5898[_0x323951(0x2b0)]);if(!_0x11cb29||_0x4c5898[_0x323951(0x358)]===_0x11cb29['id'])return _0x7a4395;let _0x59161b=this[_0x323951(0x2d7)][_0x323951(0x331)]({..._0x4c5898,'drawingId':_0x11cb29['id']});return _0x59161b?this[_0x323951(0x33c)][_0x323951(0x374)](_0x4c5898,{'kind':_0x339595[_0x323951(0x170)]['None'],'left':_0x7a4395[_0x323951(0x65b)],'top':_0x7a4395['top'],'width':_0x7a4395[_0x323951(0x3d9)],'height':_0x7a4395['height']},_0x59161b)['transform']:_0x7a4395;});this[_0x491f69(0x55e)](_0x471328),this[_0x491f69(0x55e)](_0x38125b[_0x491f69(0x346)](this));let _0x5f1b51=_0x38fd2c=>{const _0x4ff506=_0x491f69;if(_0x38fd2c['type']!==_0x91c33f[_0x4ff506(0x366)][_0x4ff506(0x648)]||this[_0x4ff506(0x20a)][_0x4ff506(0x23a)](_0x38fd2c))return;this['_attachDrawingTransformConstraint'](_0x38fd2c,_0x38fd2c[_0x4ff506(0x2cd)]);let _0x2bfe1b=this['_drawingTransformSubscriptions'][_0x4ff506(0x49e)](_0x38fd2c),_0x1e3205=new _0x91c33f[(_0x4ff506(0x3a7))]();_0x1e3205[_0x4ff506(0x55e)](_0x2bfe1b),_0x1e3205[_0x4ff506(0x55e)](_0x38fd2c[_0x4ff506(0x5f6)][_0x4ff506(0x42a)]()[_0x4ff506(0x54f)][_0x4ff506(0x18f)](()=>this['updatePage']())),_0x1e3205[_0x4ff506(0x55e)](_0x38fd2c[_0x4ff506(0x456)][_0x4ff506(0x2d8)]['subscribeEvent'](_0x3bc6a6=>{const _0x2fae49=_0x4ff506;_0x3bc6a6[_0x2fae49(0x434)]===_0x548848[_0x2fae49(0x253)][_0x2fae49(0x294)]&&this[_0x2fae49(0x2a9)]();})),this[_0x4ff506(0x20a)][_0x4ff506(0x28d)](_0x38fd2c,_0x1e3205);};this[_0x491f69(0x61d)][_0x491f69(0x1d9)]()['forEach'](_0x5f1b51),this[_0x491f69(0x55e)](this[_0x491f69(0x61d)][_0x491f69(0x652)][_0x491f69(0x18f)](_0x5f1b51)),this[_0x491f69(0x55e)](this[_0x491f69(0x61d)][_0x491f69(0x4ea)][_0x491f69(0x18f)](_0x22b957=>{const _0x1bb698=_0x491f69;for(let [_0x4994a7,_0x2cdc92]of this[_0x1bb698(0x20a)])_0x4994a7[_0x1bb698(0x2cd)]===_0x22b957&&(_0x2cdc92[_0x1bb698(0x218)](),this[_0x1bb698(0x20a)][_0x1bb698(0x27c)](_0x4994a7));this[_0x1bb698(0x46e)]();})),this['disposeWithMe'](_0x207442[_0x491f69(0x484)][_0x491f69(0x18f)](_0x32121a=>{const _0x243677=_0x491f69;_0x32121a>=_0x91c33f['LifecycleStages']['Rendered']&&Promise[_0x243677(0x315)]()[_0x243677(0x3d1)](()=>{const _0xce881e=_0x243677;this[_0xce881e(0x611)]||(this[_0xce881e(0x4ad)]=!0x0,this[_0xce881e(0x2a9)]());})['catch'](_0x44d8d3=>this[_0x243677(0x602)][_0x243677(0x32c)](_0x44d8d3));})),this['disposeWithMe'](this[_0x491f69(0x3bc)][_0x491f69(0x26b)](_0x2271da=>{const _0x3feef8=_0x491f69;_0x2271da['id']===_0x3d68f4[_0x3feef8(0x5b6)]['id']&&!this[_0x3feef8(0x44a)]&&this[_0x3feef8(0x2a9)]();})),this[_0x491f69(0x55e)]((0x0,_0x1594a7[_0x491f69(0x27f)])([this[_0x491f69(0x357)][_0x491f69(0x3ec)],this[_0x491f69(0x357)][_0x491f69(0x32f)]])['subscribe'](()=>this['updatePage']()));}[_0x57fb15(0x412)](_0x3b9c73,_0x4244e8){const _0x3b511f=_0x57fb15;return this['_chartSheetService'][_0x3b511f(0x412)](_0x3b9c73,_0x4244e8);}[_0x57fb15(0x655)](_0x5e80f2){const _0x2c3ea4=_0x57fb15;let _0x54c6f6=this[_0x2c3ea4(0x224)][_0x2c3ea4(0x37a)](_0x5e80f2['id']),_0x41c714=_0x54c6f6&&this[_0x2c3ea4(0x61d)][_0x2c3ea4(0x623)](_0x54c6f6[_0x2c3ea4(0x2cd)]);if(_0x54c6f6&&_0x41c714&&this[_0x2c3ea4(0x412)](_0x54c6f6['unitId'],_0x54c6f6[_0x2c3ea4(0x2b0)])===_0x5e80f2)return{'model':_0x5e80f2,'render':_0x41c714,'info':_0x54c6f6};}[_0x57fb15(0x35d)](_0x26a8d5,_0x517e08){const _0x316ea8=_0x57fb15;if(this[_0x316ea8(0x20a)][_0x316ea8(0x23a)](_0x26a8d5))return;let _0x2558e5=_0x26a8d5[_0x316ea8(0x5f6)][_0x316ea8(0x452)]()[_0x316ea8(0x1e7)][_0x316ea8(0x18f)](({objects:_0x181ae2})=>{const _0x424e6a=_0x316ea8;var _0x344c70;let _0x31b84d=(_0x344c70=this[_0x424e6a(0x437)][_0x424e6a(0x1bd)](_0x517e08,_0x91c33f[_0x424e6a(0x366)][_0x424e6a(0x648)]))==null||(_0x344c70=_0x344c70[_0x424e6a(0x4a5)]())==null?void 0x0:_0x344c70[_0x424e6a(0x4c1)]();if(!_0x31b84d)return;let _0xa26d42=this['_chartSheetService'][_0x424e6a(0x412)](_0x517e08,_0x31b84d);if(!_0xa26d42)return;let _0x50cd7c=this['_drawingManagerService'][_0x424e6a(0x440)](_0x517e08,_0x31b84d),_0x4e8fd7=_0x50cd7c[_0xa26d42['id']];if(!_0x4e8fd7)return;let _0x17ed02=Object[_0x424e6a(0x4b8)](_0x50cd7c)[_0x424e6a(0x174)](_0x325d9a=>{const _0x2f1cc4=_0x424e6a;let _0x534dd5=_0x181ae2[_0x2f1cc4(0x49e)]((0x0,_0x2f0dad[_0x2f1cc4(0x191)])(_0x325d9a));return _0x534dd5?[{..._0x325d9a,'transform':{..._0x325d9a[_0x2f1cc4(0x653)],'left':_0x534dd5[_0x2f1cc4(0x65b)],'top':_0x534dd5[_0x2f1cc4(0x2d2)],'width':_0x534dd5[_0x2f1cc4(0x3d9)],'height':_0x534dd5[_0x2f1cc4(0x271)]}}]:[];});for(let _0x10b842 of _0x17ed02){var _0x2fd262;if(_0x10b842['drawingId']===_0xa26d42['id'])continue;let _0x4a7f7b=this[_0x424e6a(0x33c)][_0x424e6a(0x374)](_0x50cd7c[_0x10b842[_0x424e6a(0x358)]],{'kind':_0x339595[_0x424e6a(0x170)][_0x424e6a(0x2af)],'left':_0x10b842[_0x424e6a(0x653)][_0x424e6a(0x65b)],'top':_0x10b842[_0x424e6a(0x653)][_0x424e6a(0x2d2)],'width':_0x10b842[_0x424e6a(0x653)][_0x424e6a(0x3d9)],'height':_0x10b842[_0x424e6a(0x653)][_0x424e6a(0x271)]},_0x4e8fd7,!0x0);(_0x2fd262=_0x181ae2[_0x424e6a(0x49e)]((0x0,_0x2f0dad[_0x424e6a(0x191)])(_0x10b842)))==null||_0x2fd262['transformByState'](_0x4a7f7b[_0x424e6a(0x653)]);}});this[_0x316ea8(0x20a)]['set'](_0x26a8d5,(0x0,_0x91c33f[_0x316ea8(0x624)])(()=>_0x2558e5[_0x316ea8(0x3e4)]()));}[_0x57fb15(0x46e)](){const _0x285bf0=_0x57fb15;let _0x48fb18=this['_pageFrame'],_0x4d3576=this[_0x285bf0(0x1fd)];_0x48fb18&&(_0x4d3576==null?void 0x0:_0x4d3576[_0x285bf0(0x42e)][_0x285bf0(0x49e)](_0x3d68f4[_0x285bf0(0x5dc)][_0x285bf0(0x426)]))===_0x48fb18&&_0x4d3576['components'][_0x285bf0(0x27c)](_0x3d68f4[_0x285bf0(0x5dc)][_0x285bf0(0x426)]),this['_pageFrame']=null,this[_0x285bf0(0x1fd)]=null,this[_0x285bf0(0x462)]=null;let _0x38a732=this[_0x285bf0(0x58a)];this['_pageCanvasBackground']=null,_0x38a732&&_0x38a732[_0x285bf0(0x574)]['style']['backgroundColor']===_0x38a732[_0x285bf0(0x481)]&&(_0x38a732[_0x285bf0(0x574)][_0x285bf0(0x225)][_0x285bf0(0x1d7)]=_0x38a732[_0x285bf0(0x495)]);let _0x48170a=this['_univerInstanceService'][_0x285bf0(0x615)](_0x91c33f[_0x285bf0(0x366)][_0x285bf0(0x648)]);_0x4d3576&&this[_0x285bf0(0x61d)][_0x285bf0(0x623)]((_0x48170a==null?void 0x0:_0x48170a[_0x285bf0(0x1b6)]())??'')===_0x4d3576&&this['_getSheetType'](_0x48170a==null?void 0x0:_0x48170a[_0x285bf0(0x4a5)]())===_0x91c33f['SheetTypes'][_0x285bf0(0x60f)]&&_0x4d3576['scene'][_0x285bf0(0x42a)]()[_0x285bf0(0x55c)](),_0x48fb18==null||_0x48fb18[_0x285bf0(0x218)]();}['updatePage'](){const _0x4b059d=_0x57fb15;if(!(this[_0x4b059d(0x3ca)]||this[_0x4b059d(0x611)])){this[_0x4b059d(0x3ca)]=!0x0;try{this[_0x4b059d(0x48a)]();}finally{this['_updatingChartPage']=!0x1;}}}[_0x57fb15(0x42f)](_0xaa70cc){const _0x24e23e=_0x57fb15;return _0xaa70cc==null?void 0x0:_0xaa70cc[_0x24e23e(0x2bc)]()[_0x24e23e(0x434)];}[_0x57fb15(0x48a)](){const _0x167d10=_0x57fb15;var _0x17fdd1,_0x11b4ba;let _0x23f55e=this[_0x167d10(0x437)]['getCurrentUnitOfType'](_0x91c33f[_0x167d10(0x366)]['UNIVER_SHEET']),_0x577fea=_0x23f55e==null?void 0x0:_0x23f55e['getActiveSheet']();if(!_0x23f55e||!_0x577fea||this[_0x167d10(0x42f)](_0x577fea)!==_0x91c33f[_0x167d10(0x55a)]['CHART']){this[_0x167d10(0x46e)]();return;}let _0x5deab0=this['getPrimaryChartModel'](_0x23f55e['getUnitId'](),_0x577fea[_0x167d10(0x4c1)]()),_0x15a4fa=_0x5deab0?this[_0x167d10(0x655)](_0x5deab0):void 0x0;if(!_0x15a4fa){this['clearPage']();return;}let {rect:_0x39bda5}=_0x15a4fa[_0x167d10(0x57d)],{scene:_0x187b1c}=_0x15a4fa[_0x167d10(0x380)];if(this[_0x167d10(0x1fd)]!==_0x15a4fa['render']&&this[_0x167d10(0x46e)](),!this['_pageFrame']){let _0x1e3efe=new _0x548848[(_0x167d10(0x211))]('chart-page-boundary-'+_0x15a4fa[_0x167d10(0x3fd)]['id'],{'evented':!0x1,'zIndex':_0x39bda5[_0x167d10(0x375)]-0x1}),_0x16b8fc=_0x15a4fa[_0x167d10(0x380)];_0x1e3efe['disposeWithMe']({'dispose':()=>{const _0x3a14eb=_0x167d10;_0x16b8fc[_0x3a14eb(0x42e)][_0x3a14eb(0x49e)](_0x3d68f4[_0x3a14eb(0x5dc)][_0x3a14eb(0x426)])===_0x1e3efe&&_0x16b8fc[_0x3a14eb(0x42e)][_0x3a14eb(0x27c)](_0x3d68f4[_0x3a14eb(0x5dc)][_0x3a14eb(0x426)]),this['_pageFrame']===_0x1e3efe&&(this[_0x3a14eb(0x4be)]=null,this[_0x3a14eb(0x1fd)]=null);}}),this['_pageFrame']=_0x1e3efe,this[_0x167d10(0x1fd)]=_0x16b8fc,_0x187b1c[_0x167d10(0x3f9)](_0x1e3efe,_0x548848[_0x167d10(0x5e3)]);}this[_0x167d10(0x4be)][_0x167d10(0x49a)]({'left':_0x39bda5[_0x167d10(0x65b)],'top':_0x39bda5[_0x167d10(0x2d2)],'width':_0x39bda5[_0x167d10(0x3d9)],'height':_0x39bda5[_0x167d10(0x271)]}),this[_0x167d10(0x4be)][_0x167d10(0x16e)]({'fill':this['_themeService'][_0x167d10(0x2b1)]('gray.0'),'stroke':this[_0x167d10(0x357)][_0x167d10(0x2b1)]('gray.400'),'strokeWidth':0x1});let _0x34c14a=_0x15a4fa['render'][_0x167d10(0x456)][_0x167d10(0x547)]();this[_0x167d10(0x58a)]||={'canvas':_0x34c14a,'previous':_0x34c14a[_0x167d10(0x225)][_0x167d10(0x1d7)],'applied':''},_0x34c14a[_0x167d10(0x225)][_0x167d10(0x1d7)]=this[_0x167d10(0x497)][_0x167d10(0x2f6)](this[_0x167d10(0x357)]['getColorFromTheme'](_0x167d10(0x2ae))),this[_0x167d10(0x58a)][_0x167d10(0x481)]=_0x34c14a[_0x167d10(0x225)]['backgroundColor'],_0x15a4fa['render']['components'][_0x167d10(0x28d)](_0x3d68f4[_0x167d10(0x5dc)][_0x167d10(0x426)],this[_0x167d10(0x4be)]),this[_0x167d10(0x4be)][_0x167d10(0x400)](!0x0),_0x187b1c[_0x167d10(0x400)](!0x0),this['fitPrimaryChart'](_0x15a4fa[_0x167d10(0x3fd)],_0x15a4fa[_0x167d10(0x380)],_0x15a4fa[_0x167d10(0x57d)]);let _0x22b230=_0x187b1c[_0x167d10(0x42a)](),{viewBound:_0x1902f3}=_0x22b230[_0x167d10(0x386)](),_0x464871=_0x1902f3[_0x167d10(0x2be)]-_0x1902f3[_0x167d10(0x65b)],_0x3fa915=_0x1902f3[_0x167d10(0x447)]-_0x1902f3[_0x167d10(0x2d2)],_0x3266cf=Math[_0x167d10(0x50d)](0x0,(_0x464871-_0x39bda5[_0x167d10(0x3d9)])/0x2),_0x4ba65e=Math['max'](0x0,(_0x3fa915-_0x39bda5[_0x167d10(0x271)])/0x2),_0x4d5350={'x':_0x39bda5[_0x167d10(0x65b)]-_0x3266cf,'y':_0x39bda5[_0x167d10(0x2d2)]-_0x4ba65e},_0x1d119d=_0x577fea[_0x167d10(0x2bc)]()[_0x167d10(0x5b8)]===_0x91c33f['BooleanNumber']['TRUE'],_0x4143e3=_0x1d119d?0x0:Math[_0x167d10(0x50d)](0x0,_0x22b230['viewportScrollX']-(((_0x17fdd1=this[_0x167d10(0x462)])==null?void 0x0:_0x17fdd1['x'])??_0x39bda5['left'])),_0x1845b8=_0x1d119d?0x0:Math['max'](0x0,_0x22b230[_0x167d10(0x593)]-(((_0x11b4ba=this[_0x167d10(0x462)])==null?void 0x0:_0x11b4ba['y'])??_0x39bda5[_0x167d10(0x2d2)]));this['_pageViewportOrigin']=_0x4d5350,_0x187b1c[_0x167d10(0x49a)]({'width':Math[_0x167d10(0x50d)](_0x464871,_0x39bda5[_0x167d10(0x3d9)]),'height':Math[_0x167d10(0x50d)](_0x3fa915,_0x39bda5[_0x167d10(0x271)])}),_0x22b230[_0x167d10(0x504)](0x0,0x0),_0x22b230[_0x167d10(0x535)]({'startX':_0x4d5350['x'],'startY':_0x4d5350['y'],'endX':0x0,'endY':0x0}),_0x22b230[_0x167d10(0x488)]({'viewportScrollX':_0x4d5350['x']+_0x4143e3,'viewportScrollY':_0x4d5350['y']+_0x1845b8});}[_0x57fb15(0x161)](_0x1d738a,_0x21d186,_0x547dfe){const _0x5045f3=_0x57fb15;let _0x576a14={'model':_0x1d738a,'render':_0x21d186,'info':_0x547dfe};if(this['_disposed']||!this[_0x5045f3(0x4ad)]||this['_applyingFit']||this[_0x5045f3(0x224)][_0x5045f3(0x37a)](_0x1d738a['id'])!==_0x547dfe)return;let _0xc7074a=this[_0x5045f3(0x437)][_0x5045f3(0x615)](_0x91c33f[_0x5045f3(0x366)][_0x5045f3(0x648)]),_0x2c5c05=_0xc7074a==null?void 0x0:_0xc7074a[_0x5045f3(0x4a5)]();if(!_0xc7074a||!_0x2c5c05||this[_0x5045f3(0x42f)](_0x2c5c05)!==_0x91c33f[_0x5045f3(0x55a)][_0x5045f3(0x60f)]||_0x2c5c05['getConfig']()[_0x5045f3(0x5b8)]!==_0x91c33f[_0x5045f3(0x43b)][_0x5045f3(0x1ba)]||_0xc7074a[_0x5045f3(0x1b6)]()!==_0x576a14[_0x5045f3(0x57d)][_0x5045f3(0x2cd)]||_0x2c5c05[_0x5045f3(0x4c1)]()!==_0x576a14[_0x5045f3(0x57d)]['subUnitId']||this[_0x5045f3(0x61d)][_0x5045f3(0x623)](_0xc7074a[_0x5045f3(0x1b6)]())!==_0x576a14['render']||this[_0x5045f3(0x412)](_0xc7074a[_0x5045f3(0x1b6)](),_0x2c5c05[_0x5045f3(0x4c1)]())!==_0x576a14[_0x5045f3(0x3fd)])return;let {scene:_0x2817c3}=_0x576a14[_0x5045f3(0x380)],{viewBound:_0x1ba56c}=_0x2817c3[_0x5045f3(0x42a)]()[_0x5045f3(0x386)](),{rect:_0x2d9323}=_0x576a14[_0x5045f3(0x57d)],_0x5a2915=(_0x1ba56c[_0x5045f3(0x2be)]-_0x1ba56c[_0x5045f3(0x65b)])*_0x2817c3[_0x5045f3(0x295)],_0x443cc2=(_0x1ba56c['bottom']-_0x1ba56c[_0x5045f3(0x2d2)])*_0x2817c3[_0x5045f3(0x379)],_0x1446f7=_0x2d9323[_0x5045f3(0x3d9)],_0x597cb4=_0x2d9323[_0x5045f3(0x271)];if(_0x5a2915<=0x0||_0x443cc2<=0x0||_0x1446f7<=0x0||_0x597cb4<=0x0)return;let _0x5a2c28=Math[_0x5045f3(0x40d)](_0x5a2915/_0x1446f7,_0x443cc2/_0x597cb4);if(_0x5a2c28!==_0x2c5c05[_0x5045f3(0x31b)]()||_0x5a2c28!==_0x2817c3[_0x5045f3(0x295)]){this[_0x5045f3(0x44a)]=!0x0;try{this[_0x5045f3(0x3bc)][_0x5045f3(0x31e)](_0x3d68f4['SetZoomRatioOperation']['id'],{'unitId':_0xc7074a[_0x5045f3(0x1b6)](),'subUnitId':_0x2c5c05[_0x5045f3(0x4c1)](),'zoomRatio':_0x5a2c28,'zoomToFit':_0x91c33f[_0x5045f3(0x43b)][_0x5045f3(0x1ba)]});}finally{this[_0x5045f3(0x44a)]=!0x1;}}}[_0x57fb15(0x218)](){const _0x5df81a=_0x57fb15;this[_0x5df81a(0x611)]||(super[_0x5df81a(0x218)](),this['clearPage'](),this[_0x5df81a(0x20a)][_0x5df81a(0x3f4)](_0x1260f3=>_0x1260f3['dispose']()),this[_0x5df81a(0x20a)][_0x5df81a(0x2cc)]());}};_0x5ced5a=_0x12534c([_0x1314c8(0x0,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x4878a6)),_0x1314c8(0x1,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x94af28[_0x57fb15(0x5ce)])),_0x1314c8(0x2,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x32fb7d['SheetCanvasFloatDomManagerService'])),_0x1314c8(0x3,_0x91c33f[_0x57fb15(0x34c)]),_0x1314c8(0x4,_0x91c33f['ILogService']),_0x1314c8(0x5,_0x91c33f['IUniverInstanceService']),_0x1314c8(0x6,_0x548848[_0x57fb15(0x483)]),_0x1314c8(0x7,_0x2f0dad[_0x57fb15(0x62c)]),_0x1314c8(0x8,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x91c33f[_0x57fb15(0x229)])),_0x1314c8(0x9,(0x0,_0x91c33f[_0x57fb15(0x30c)])(_0x1e7e6c[_0x57fb15(0x61c)])),_0x1314c8(0xa,(0x0,_0x91c33f['Inject'])(_0x91c33f[_0x57fb15(0x23e)]))],_0x5ced5a);let _0x1a068c=class extends _0x91c33f['Plugin']{constructor(_0x3571fb=_0x1349e6,_0x16e8b2,_0x3cff2e,_0x3eb95a){const _0x522712=_0x57fb15;super(),this[_0x522712(0x306)]=_0x3571fb,this[_0x522712(0x53c)]=_0x16e8b2,this['_configService']=_0x3cff2e,this[_0x522712(0x3bc)]=_0x3eb95a,_0x53ca96(this,_0x522712(0x409),void 0x0);let {..._0x1ad01a}=(0x0,_0x91c33f[_0x522712(0x579)])({},_0x1349e6,this['_config']);this['_resolvedConfig']=_0x1ad01a,this[_0x522712(0x302)][_0x522712(0x4f3)](_0x56e858,_0x1ad01a),this[_0x522712(0x621)]();}[_0x57fb15(0x35b)](){const _0x21ed56=_0x57fb15;this[_0x21ed56(0x53c)]['add']([_0x8331a]),this['_injector'][_0x21ed56(0x49e)](_0x8331a);let _0x138b87=this[_0x21ed56(0x53c)],_0x49d5d1=[[_0x35cda9,{'useClass':_0x20e21f}],[_0x48d613,{'useClass':_0x3cfb41}],[_0x475470],[_0x4878a6],[_0x5ced5a],[_0x3d5a73],[_0xfb6e9d],[_0xbeca0c],[_0x1b7ff3],[_0x51007c],[_0x4aa291],[_0x152678]],_0x4bd8d4=[[_0xbeca0c],[_0x51007c],[_0x1b7ff3],[_0xfb6e9d],[_0x35cda9],[_0x4aa291],[_0x152678]];this[_0x21ed56(0x409)][_0x21ed56(0x3c5)]&&(_0x49d5d1[_0x21ed56(0x500)]([_0x5b3b91]),_0x4bd8d4[_0x21ed56(0x500)]([_0x5b3b91])),_0x49d5d1['forEach'](_0x214e3d=>_0x138b87[_0x21ed56(0x2ce)](_0x214e3d)),(0x0,_0x91c33f[_0x21ed56(0x201)])(this['_injector'],_0x4bd8d4);let _0x2e45ef=_0x138b87[_0x21ed56(0x49e)](_0x5ced5a),_0x312f4b=_0x138b87[_0x21ed56(0x49e)](_0x3d5a73);_0x312f4b[_0x21ed56(0x55e)](_0x2e45ef),this['disposeWithMe'](_0x312f4b);}['onRendered'](){const _0x468cfc=_0x57fb15;var _0x5b5149;(_0x5b5149=this[_0x468cfc(0x53c)][_0x468cfc(0x49e)](_0xbeca0c))==null||_0x5b5149[_0x468cfc(0x608)]();}[_0x57fb15(0x621)](){const _0x3cfeff=_0x57fb15;[_0x3748b6,_0x1238c4,_0x5eb1eb,_0x608c97,_0x46a2b1,_0x29b997,_0x2be9f9][_0x3cfeff(0x3f4)](_0x8bba3c=>this[_0x3cfeff(0x55e)](this[_0x3cfeff(0x3bc)]['registerCommand'](_0x8bba3c)));}};_0x53ca96(_0x1a068c,_0x57fb15(0x434),_0x91c33f[_0x57fb15(0x366)]['UNIVER_SHEET']),_0x53ca96(_0x1a068c,_0x57fb15(0x2dc),'UniverSheetsChartUIPlugin'),_0x53ca96(_0x1a068c,_0x57fb15(0x531),_0x181d21),_0x53ca96(_0x1a068c,'version',_0x5a2df5),_0x1a068c=_0x12534c([(0x0,_0x91c33f[_0x57fb15(0x486)])(_0xc90c13['UniverLicensePlugin'],_0x2f0dad[_0x57fb15(0x446)],_0x548848[_0x57fb15(0x2a7)],_0x43e32e[_0x57fb15(0x3b8)],_0x339595[_0x57fb15(0x2de)],_0x36d079[_0x57fb15(0x641)],_0x94af28['UniverSheetsChartPlugin'],_0x32fb7d['UniverSheetsDrawingUIPlugin'],_0x435ef2[_0x57fb15(0x62b)],_0x3d68f4[_0x57fb15(0x5bc)]),_0x1314c8(0x1,(0x0,_0x91c33f['Inject'])(_0x91c33f[_0x57fb15(0x27e)])),_0x1314c8(0x2,_0x91c33f[_0x57fb15(0x5d0)]),_0x1314c8(0x3,_0x91c33f[_0x57fb15(0x34c)])],_0x1a068c),_0x4c29d8[_0x57fb15(0x283)]=_0x29b997,Object[_0x57fb15(0x4e1)](_0x4c29d8,_0x57fb15(0x4d0),{'enumerable':!0x0,'get':function(){return _0x4878a6;}}),_0x4c29d8[_0x57fb15(0x3ef)]=_0x35cda9,_0x4c29d8['SHEETS_CHART_UI_PLUGIN_CONFIG_KEY']=_0x56e858,Object[_0x57fb15(0x4e1)](_0x4c29d8,_0x57fb15(0x25f),{'enumerable':!0x0,'get':function(){return _0xbeca0c;}}),_0x4c29d8['SheetsChartUIMenuSchema']=_0x71964,Object['defineProperty'](_0x4c29d8,_0x57fb15(0x5ec),{'enumerable':!0x0,'get':function(){return _0x20e21f;}}),Object[_0x57fb15(0x4e1)](_0x4c29d8,_0x57fb15(0x617),{'enumerable':!0x0,'get':function(){return _0x5d32be;}}),Object['defineProperty'](_0x4c29d8,_0x57fb15(0x1db),{'enumerable':!0x0,'get':function(){return _0x1a068c;}}),_0x4c29d8['createChartElementPopupAnchorObserver']=_0x4e456f;}));