@univerjs-pro/sheets-chart-ui 1.1.0 → 1.3.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 (84) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +2 -3
  62. package/lib/types/services/chart-geometry-subscription.d.ts +5 -5
  63. package/lib/types/utils/raf-scheduler.d.ts +19 -0
  64. package/lib/umd/index.js +1 -1
  65. package/lib/umd/locale/ar-SA.js +1 -1
  66. package/lib/umd/locale/ca-ES.js +1 -1
  67. package/lib/umd/locale/de-DE.js +1 -1
  68. package/lib/umd/locale/en-US.js +1 -1
  69. package/lib/umd/locale/es-ES.js +1 -1
  70. package/lib/umd/locale/fa-IR.js +1 -1
  71. package/lib/umd/locale/fr-FR.js +1 -1
  72. package/lib/umd/locale/id-ID.js +1 -1
  73. package/lib/umd/locale/it-IT.js +1 -1
  74. package/lib/umd/locale/ja-JP.js +1 -1
  75. package/lib/umd/locale/ko-KR.js +1 -1
  76. package/lib/umd/locale/pl-PL.js +1 -1
  77. package/lib/umd/locale/pt-BR.js +1 -1
  78. package/lib/umd/locale/ru-RU.js +1 -1
  79. package/lib/umd/locale/sk-SK.js +1 -1
  80. package/lib/umd/locale/vi-VN.js +1 -1
  81. package/lib/umd/locale/zh-CN.js +1 -1
  82. package/lib/umd/locale/zh-HK.js +1 -1
  83. package/lib/umd/locale/zh-TW.js +1 -1
  84. package/package.json +19 -19
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3c84(_0x6203d4,_0x1c9f63){_0x6203d4=_0x6203d4-0xc6;const _0xb7552e=_0xb755();let _0x3c84f5=_0xb7552e[_0x6203d4];return _0x3c84f5;}function _0xb755(){const _0x166434=['_urlImage','initialRect','createChartElementFloatMenuAdapter','ChartSectionAccordionItem','renderChartsForPrinting','trim','getSheetCommandTarget','_chartHostProviderService','844505lCNhae','pairwise','ChartEditorTabs','small','with','_addWatermark','enableChartElementFloatMenu','decorate','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getRect','getPropertyPriority','Literals','_getOrCreateSheetChartHost','_subscribeChartEvents','IRenderManagerService','_iconManager','getTransformerByCreate','transformToDrawingPosition','plotVisibleOnly','ISidebarService','create','imageBitmap','dataSource','_domFrame','indexOf','useDependency','MobileChartEditorProvider','_sheetClipboardService','showFloatMenu','DEFAULT_CHART_WORD_CLOUD_VALUES','IChartRenderModelManagerService','Disposable','Relation','_chartModelService','_themeService','matchMedia','_applyActiveChartRuntimeZIndex','Chord','sheets-chart-ui.section.relation','removeChartModel','event','1000','startRow','_keepChartCapture','ChartGridlinesAndTicksSection','Dom','_drawingManagerService','markUnmanaged','_popupSessionKey','transformer','exportImage','DRAWING_OBJECT_LAYER_INDEX','dataUrl','sheets-chart-ui.common.chartStyle','RemoveSheetDrawingCommand','CopySheetCommand','transform','_menuManagerService','baseVal','LocaleService','useCallback','hidePanel','1.1.0','hasOwnProperty','sheets-chart-ui.chartTypes.','@univerjs-pro/license','@univerjs/ui','changeEnd$','commitSnapshot','bounds','Image','resolveChartElementSelection','seriesId','url','subscribe','sheet.command.chart.open-focused-panel','_dataUpdateAnimationDuration','UniverSheetsChartUIPlugin','source','getImage','ChartEditPanelSection','Style','ChartSectionAccordionContent','rangeInfo$','_snapshotKey','IDrawingManagerService','UNIVER_SHEET','React','matches','targetSubUnitId','indicatorLine','_drawChartFrame','_managed','sheets-chart-ui.section.chord','DEFAULT_CHART_WATERFALL_STYLE_VALUES','getCurrentUnitOfType','sheetId','ChartSourceHeaderTitleType','none','_univerInstanceService','toStringTag','@univerjs/engine-formula','_clearSelectedTarget','resize','_generatePasteMutations','close','@univerjs/sheets','concat','img','RENDER_CLASS_TYPE','updateFloatDomProps','canvas','UniverSheetsChartPlugin','touchDependencies','ChartSectionAccordion','rangeInfo','ensureMount','hasPointerCapture','getDrawingShapeKeyByDrawingSearch','Sunburst','range','mountNode','removeEventListener','onCommandExecuted','ChartThreeDSection','_resolveLayout','_cancelDebouncedCallbacks','position$','196cNoyTC','div','_removeHost$','_getHostPlacement','_componentManager','requestPaint','stroke-width','getRenderColor','_sheetCanvasPopManagerService','_lastActiveSheet','sheets-chart-ui.common.setup','_dataUpdateAnimationChartIds','@univerjs/drawing','bind','_sheetInterceptorService','UPDATE','Injector','ISheetDrawingService','InsertSheetsChartMutation','_getDrawable','startY','ContextMenuPosition','_sidebarService','_commandService','_pendingToken','titles','getUnitId','getBoundingClientRect','ChartRenderMode','update','element','_renderModelManager','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_chartRenderService','supports','mobile-sheet-chart-setup-panel','getCurrentLastSelection','Subtotal','Radar','-univer-mx-4\x20univer-overflow-visible','COPY_TYPE','getChartDataSource','getSheetId','beginPath','IConfigService','top-center','distinctUntilChanged','ChartLineAndAreaSection','call','section','rect','serializeRangeWithSheet','_initCopyPaste','RangeSelector','focused$','withLatestFrom','_pendingUrlImage','Heatmap','startX','WaterfallSeries','getRangeInfo','handleActiveSubUnitChange','_registerAdapter','_syncActiveEditChart','setContextValue','removeHost$','sheets-chart-ui.common.insertChart','_init','sheets-chart-ui.section.funnel','_getCurrentSnapshotImage','ChartSeriesSection','attrs','SetDrawingApplyMutation','localPoint','SheetCanvasFloatDomManagerService','_markNotReady','absolute','isFinite','_renderDebounceMap','innerWidth','onerror','47024IvDoXy','focus$','_savedWrapperStyle','DEFAULT_CHART_HEATMAP_VALUES','_resolvedConfig','_shouldEnableChartElementEdit','non-scaling-stroke','ChartRenderService','getPropertyValue','view','REMOVE','DataOrientation','cumulativeLineStyle','objects','defineProperty','_disposeChartRenderInstance','_pointerEvents','getBatchAddOp','chartEditorOpen','isDomReady','remove','has','sheets-chart-ui.section.histogram','isValidRange','_dataUpdateAnimationTimers','offsetLeft','trendline','Checkbox','getObjectIncludeInGroup','anchorRect$','setDataUpdateAnimation','style','sheet.operation.open-chart-panel','DEFAULT_CHART_TITLE_VALUES','getRenderModel','getDrawingOrder','getChartSnapshotImage','invert','ChartRelationStyleSection','ChartTitlesSection','right','LineAndArea','@univerjs/design','cancelPending','setHostStyle','ICommandService','groupId','_getImage','_waiter','isElementEditModeActive','react','sheets-chart-ui.section.pie','category','chartBitsUtils','@univerjs/sheets-drawing-ui','parentElement','items','_rangeSelectMode','ISheetClipboardService','isRender','getSheetBySheetName','nextVersion','image','attachPopupToDynamicAbsolutePosition','getConfig','axis','isConnected','scroll','replace','activeChartModel','_url','FOCUSING_COMMON_DRAWINGS','ChartSetupPanel','\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','drawingId','sheets-chart-ui.section.gauge','_cancelGesture','funnel','Row','createChartInstance','UniverRenderEnginePlugin','SHEETS_CHART_PLUGIN_CONFIG_KEY','_debounceHandle','ChartAxisSection','DEFAULT_CHART_RELATION_VALUES','unitId','SheetInterceptorService','createElement','sheets-chart-ui.common.chartAndAxisTitles','sheets-chart-ui.common.useAsCategoryLabels','setOrientation','_original','_getPlacement','chartTypeSupportsCapability','emitChartEvent','pie','ChartFrameContentMode','IUniverInstanceService','sheets-chart-ui.common.showHiddenData','getRealBound','ChartTypeBits','function','onTransformChange$','react/jsx-runtime','segmented','ChartParetoSeriesSection','unsubscribe','blockExecuteWithoutPermission','undo','References','flatMap','endX','CopyDoubleIcon','_setChartRuntimeZIndex','domId','SheetsChartUIMenuSchema','toDisposable','chartObject','sheets-chart-ui.section.waterfall','_resizeChart','sheets-chart-ui.common.deleteChart','startWith','Data','syncHostLayout','ChartElementFloatMenuAdapterRegistry','4PLGCnq','domLayers','_disposeChartChangeListeners','useState','_popupChartId','ThemeService','setActiveChartModel','ChartIcon','titleKey','getAllowedChartTypes','some','sheets-chart-ui.section.candlestick','anonymous','setElementEditMode','set','_hostStyle','_getFloatDomInfo','_localeService','moveY','1482090cacsaX','interceptor','save','Axes','_markReady','_draw','DownloadImageIcon','fromEvent','checkMounted','DEFAULT_CHART_LEGEND_VALUES','_entries','children','isLatest','url(#$1','UniverChartUIPlugin','remove$','_sheetsChartService','_renderAfterChartUpdateMutation','clientY','ChartModelService','sheets-chart-ui.section.gridlinesAndTicks','_chartHostProvider','_renderChartModel','blur','_resetChartRuntimeZIndex','_image','DeleteIcon','_clearPendingUrlImage','dispose','UniverSheetsDrawingPlugin','_canvasFloatDomService','ChartWaterfallStyleTarget','RTLChartStyle','univer-shrink-0','zIndex','depthAxis','currentColor','max','setConfig','push','_chartHostMap','isInGroup','DEFAULT_CHART_INDICATOR_LINE_VALUES','SheetPermissionCheckController','sheetChartDataAnimationDuration','_focusedDrawings','getRuntimeContext','_restoreHostWrapper','SheetCanvasPopManagerService','chartModelId','ancestorTransform','SVG','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_copyInfo','_handleDrawingDoubleClick','_sheetCanvasFloatDomManagerService','getDrawingByParam','fill','useImperativeHandle','mode','sheetChartDataAnimation','_createPrintingChartObject','applyPoint','useObservable','getParent','defaultValues','numberToABC','addEventListener','scene','@univerjs/sheets-drawing','_createChartRenderInstanceContext','focusDrawing','DEFAULT_CHART_STYLE_VALUES','_applyHostStyle','restore','getDrawingData','classType','openChartPanelById','_isOwnedChart','_initMenus','rangeSelectMode','pieSecondaryPlotType','_sheetPermissionCheckController','0\x200\x2016\x2016','ChartEditBlockTitle','_activeDomReadyChartIds','@univerjs/sheets-ui','lineTo','ensureHost','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_alignFloatDomPositionWithSceneRender','getFocusedUnit','setDataRange','#-#','SheetsChartUIController','DEFAULT_CHART_AXIS_VALUES','PieSecondaryPlotType','4839830YAAANQ','sheets-chart-element-float-menu','sheets-chart-ui.common.series','sheet.chart.edit.panel','SELECTOR','_notifySheetChartsDetached','Fail\x20to\x20create\x20float\x20dom','DEFAULT_PASTE','keys','sheets-chart-ui.common.customize','mergeMenu','generateRandomId','Candlestick','renderTransition','univerjs-icon\x20univerjs-icon-','syncLayout','univer-flex\x20univer-flex-col\x20univer-gap-3','sheets-chart-ui.common.dataRange','values','resolveDefaultChartHostFrameStyle','_getChartRenderObject','(prefers-reduced-motion:\x20reduce)','mask','scaleY','min','symbol','ChartUpdateSourceCommand','_disposeChartEventSubscription','getFloatDomInfo','RibbonInsertGroup','attachRangeWithCoord','forwardRef','click','_readGeometry','getUnit','iterator','UniverProLicense','ChartUpdateConfigCommand','sheet-chart-style-panel','markNotReady','transformChange$','DependentOn','UniverSheetsPlugin','@univerjs/drawing-ui','UniverLicensePlugin','DRAWING_CHART','Scatter','animateDataUpdate','sheets-chart-ui.waterfall.positive','globalAlpha','_chartEditorOpen$','UniverSheets','use','_isChartElementEditEnabled','sheets-chart.ui.service','11smMQnm','useEffect','_getChartRenderSkipReason','Gauge','initPanel','Plugin','sheetDisposed$','ImageBitmap','UniverSheetsChartMobileUIPlugin','strokeOpacity','object','missing-active-sheet','hit','drawWith','_sheetsChartUIService','ParetoLineSeries','Reference','PieStyle','_initActiveChartModelListener','executeChartUpdateConfig','_lastRenderInputMap','_sheetDrawingService','_getChartSnapshotKey','Legend','updateFloatDom','complete','WordCloud','disposeWithMe','GeneralSeries','@univerjs-pro/sheets-chart','_generateCutPasteMutations','viewBound','height','sheets-chart-ui.common.exportImage','setPanelRoute','checkHost','nativeEvent','_setHostStyle','UniverDesign','Button','buildChartTypeSelectOptions','map','GridlinesAndTicks','ChartWordCloudStyleSection','series','_activeChartId','panelRoute$','_configService','UniverProSheetsChart','BUTTON','resolveChartCreationIntent','DEFAULT_CHART_RADAR_VALUES','debounceTime','_pendingMutationConfigRenders','IContextService','_canAnimateDataUpdate','_activateEditPanelState','onStarting','config','auto','drawingType','path','Url','useRef','all','isHit','ChartTypeSpecificStyleSection','_initPermission','makeDirty','allSettled','displayName','EChartRenderEngineName','download','take','next','getChartPopupMenus','UniverUi','_sidebarDisposable','_pendingHost','MEDIA','setBorder','ChartViewStateRegistry','setRangeSelectMode','strokeWidth','sheet.command.menu-insert-chart','UniverSheetsUIPlugin','getHostSize','href','SheetPrintInterceptorService','resolve','data$','_pendingDataUpdateChartIds','setPointerCapture','resolveChartRuntimeStyle','originalStrokeWidth','sheets-chart-ui.waterfall.negative','Boxplot','CHART_TYPE_CATALOG','createIdentifier','DrawingApplyType','clearChart','_cancelHostWait','sheets-chart-ui.common.legend','promise','_adapterRegistry','activeRuntimeModel','RemoveSheetsChartMutation','takeSnapshot','1em','getBatchRemoveOp','resourceCollector','open','_rect','checkChartCanRender','createRuntimeChartStyle','from','Fragment','style$','entries','_drawChartImage','add$','CHART_DATA_UPDATE_ANIMATION_DURATION','_chartEventSubscriptions','ChartLegendSection','sheets-chart-ui.common.editChart','IndicatorLine','pointerEvents','getContextValue','Area','onPointerMove','ChartStyle','registerCommand','sheets-chart-ui.section.paretoLine','_disposeImage','sheets-chart-ui.permission.editErr','RemoveSheetCommand','UniverDrawingPlugin','toFixed','chartType','SheetsChartService','subscribeEvent','GROUP','chartRenderMode','jsx','_gesture','getActiveSheet','resolveChartEditPanelRoute','labelId','_closePopup','getSheetBySheetId','featurePluginOrderUpdate$','arc','_sheetSkeletonService','_popupDisposable','_isProviderDisposed','330403dcFHJP','insertGroupObject','ChartOpenPanelOperation','rightYAxis','scaleX','_injector','pointerId','clearPanelRoute','context','config$','_prepareDataUpdateRender','context$','packageName','src','_chartSnapshotStoreService','beforeCommandExecuted','_sheetPrintInterceptorService','Rect','getCurrentRangeDisable$','WorkbookEditablePermission','univer-overflow-hidden','version','@univerjs/sheets-formula-ui','-univer-mx-4','activeChartModel$','Pareto','clientX','SheetSkeletonManagerService','ChartAndAxisTitles','moveX','then','getSkeleton','UniverDrawing','getValue','isArray','baseOn','tag','_config','Inject','DrawingTypeEnum','ComponentManager','deserializeRangeWithSheet','UniverSheetsUi','_debounceHandleMap','tab','_panelInitialized','sheets-chart-ui.common.openChartPanel','sheets-chart-ui.config','default','360ULkjpk','_initPrinting','_clearHiddenSelectedTarget','Canvas','SheetDrawingHitTestService','InsertChartCommand','INSERT','_chartElementEditMode','Funnel','releasePointerCapture','ChartHostAdapter','toInsertChartMutationSource','radius','Series','_updateTransform','add','left','@univerjs/core','ImageChartHost','parseFloat','asObservable','_chartUIService','_deactivateDataUpdateAnimation','DEFAULT_CHART_TRENDLINE_VALUES','sheets-chart-ui.common.verticalAxis','onload','_initCommands','_getChartRenderObjectContext','chartId','UniverEngineRender','ChartNumberFormatAtom','DRAWING','_requestPaint','_initDrawingDeactivationListener','UniverProEngineChart','_version','evented','_renderManagerService','priority','UniverSheetsDrawingUIPlugin','_disposed','moveTo','SheetSkeletonService','throttleTime','getSubUnitId','_bindChartPointerEvents','Pie','addObject','waterfallStyle','ensureHandle','switchMap','drawImage','_chartChangeSubscriptions','ChartSectionAccordionTrigger','pipe','legend','_deactivateEditPanelState','_rerenderLatest','_markHostReady','length','target','_requestedUrl','useMemo','_cacheActiveDomChartSnapshot','transparent','jsxs','logicalOuterRect','useLayoutEffect','startColumn','_snapshotStore','fromEntries','featurePluginGroupUpdate$','OPERATION','preventDefault','RightVerticalAxis','stroke','_renderService','merge','ENTER','markReady','chartModelRemoved$','chartModelAdded$','ParetoBarSeries','_createHost','getName','setProperty','onDispose','params','rxjs','_getSceneAndTransformerByDrawingSearch','combineLatest','top','WorksheetEditPermission','header','_activateHostWrapper','Bubble','isRowDirection','setStyle','pointercancel','CHART','route','hidden','UniverSheetsFormulaUi','ChartEditorCapability','http://www.w3.org/2000/svg','getElementById','_bindChartEventHandlers','format','ChartImageSourceType','pluginName','xlink:href','_openEditPanelByDoubleClick','sheets-chart-ui.waterfall.subtotal','intercept','getBatchUpdateOp','Transform','8916JCjhiL','cancel','translate','getChartSourceSpec','naturalWidth','copyType','invalidateSnapshot','sheets-chart-ui.chartTypes.line','CHART_ELEMENT_FLOAT_MENU_COMPONENT','getChartModel','UniverCore','executeCommand','chartTypeSupportsLineAndAreaStyle','ChartFrameLayout','_disposeChartEventSubscriptions','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart-ui.common.horizontalAxis','register','drawingIds','debounce','ChartHeatmapStyleSection','closePath','width','iconName','assign','sheets-chart-ui.common.heatmap','onRendered','_notifyChartRemoved','IMenuManagerService','visible','wordCloud','print','UniverProSheetsChartUi','sheets-chart-ui.section.paretoBar','Module','_panelRoute$','subUnitId','forEach','dataset','_frame','rightY','true','_contextService','_requestChartCanvasRender','delete','clearImage','COMMAND','dblclick','_createCopyInfoByRange','Treemap','_frameStyle','ChartEditorProvider','barStyle','defIds','_chartInstanceMap','serialize','KeyCode','_renderWhenConfigReady','getObject','number','_chartRenderMode','filter','_clearPanelState','ChartWaterfallStyleSection','setObjectType','sheets-chart-ui.section.sunburst','pareto','endsWith','idSuffix','PREDEFINED_HOOK_NAME','_applyHostInteractionState','removeHost','BehaviorSubject','redo','_activateDataUpdateAnimation','offsetWidth','bottom','sheet.operation.hide-chart-panel','abs','SheetsChartUIService','@univerjs/engine-render','MenuItemType','current','get','error','setProps','Waterfall','sheet.command.chart.delete-focused-chart','disconnect','getMatrix','ObjectType','Column','direction$','exports','split','.png','UniverSheetsDrawingUi','PenIcon','_bindChartEventHandler','dataSource$','find','OVERRIDE_NATIVE','_initActiveRuntimeLayerListener','_sheetDrawingHitTestService','value','sourceSubUnitId','Overlay','opacity','sheets-chart-ui.common.rightVerticalAxis','allSeriesStyle','FOCUSING_PANEL_EDITOR','exportImg','render','OTHERS','getId','flush','_loadUrlImage','chartEditorOpen$','_bindPointerEvents','_scheduleDataUpdateAnimationEnd','sheet-chart-setup-panel','DisposableCollection','_listenChartUpdateMutations','_registerComponents','inactive-sheet','sheets-chart-ui.chartTypes.area','SheetCopyCommand','registerFeatureMenu','_restoreFloatDomPositionStream','engine','colorChannel1','CommandType','ChartThemeService','getDirection','svg','DEFAULT_CHART_SERIES_VALUES','2223QBDiOv','color','useId','assignStyle','setChartEditorOpen','querySelector','sheets-chart-ui.chord.target','markHostNotReady','idMap','_chartThemeService','sheetTransform','getInterceptPoints','string','visibilityState','_suppressClick','getRenderUnitById','setImage','contains','appliedStrokeWidth','_releaseGesture','_chartEventHandlers','getFocusDrawings','sheets-chart-ui.common.hideChartPanel','_getOuterRect','_generateCopyPasteMutations','_geometry','_registerChartImageRenderObjectFactory','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','isReleased','_disposeChartDomInstance','type','sheet.command.chart.export-focused-image','_openPanel','clear','SheetChartConfigAdapter','UniverInstanceType','ChartEditPanelTab','_openFloatMenu','multiply','Histogram','label','sheets-chart-ui.common.invalidDataRange','registerRenderObjectFactory','UniverSheetsDrawing'];_0xb755=function(){return _0x166434;};return _0xb755();}(function(_0x4ea111,_0x4f36ff){const _0x25275d=_0x3c84,_0x26aa90=_0x4ea111();while(!![]){try{const _0x32f09d=-parseInt(_0x25275d(0x268))/0x1+-parseInt(_0x25275d(0x49a))/0x2+parseInt(_0x25275d(0x135))/0x3+-parseInt(_0x25275d(0x122))/0x4*(parseInt(_0x25275d(0x3c9))/0x5)+parseInt(_0x25275d(0x30d))/0x6*(-parseInt(_0x25275d(0x449))/0x7)+-parseInt(_0x25275d(0x299))/0x8*(-parseInt(_0x25275d(0x395))/0x9)+-parseInt(_0x25275d(0x196))/0xa*(-parseInt(_0x25275d(0x1cd))/0xb);if(_0x32f09d===_0x4f36ff)break;else _0x26aa90['push'](_0x26aa90['shift']());}catch(_0x4baeab){_0x26aa90['push'](_0x26aa90['shift']());}}}(_0xb755,0x67b00),function(_0x2a7bf9,_0x549345){const _0x276c3a=_0x3c84;typeof exports==_0x276c3a(0x1d7)&&typeof module<'u'?_0x549345(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('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x276c3a(0x10a)&&define['amd']?define([_0x276c3a(0x36a),_0x276c3a(0x2aa),_0x276c3a(0x1ea),_0x276c3a(0x455),_0x276c3a(0x17a),_0x276c3a(0xdb),_0x276c3a(0x18b),_0x276c3a(0x40b),_0x276c3a(0x2f1),'@univerjs-pro/chart-ui','@univerjs-pro/engine-chart',_0x276c3a(0x433),_0x276c3a(0x42e),_0x276c3a(0x1c1),_0x276c3a(0x35d),_0x276c3a(0xd7),_0x276c3a(0xcf),_0x276c3a(0x27e),_0x276c3a(0x10c),_0x276c3a(0x40a)],_0x549345):(_0x2a7bf9=typeof globalThis<'u'?globalThis:_0x2a7bf9||self,_0x549345(_0x2a7bf9[_0x276c3a(0x32d)]={},_0x2a7bf9[_0x276c3a(0x317)],_0x2a7bf9[_0x276c3a(0x1fd)],_0x2a7bf9[_0x276c3a(0x288)],_0x2a7bf9[_0x276c3a(0x3c0)],_0x2a7bf9[_0x276c3a(0x36d)],_0x2a7bf9[_0x276c3a(0x292)],_0x2a7bf9[_0x276c3a(0x219)],_0x2a7bf9[_0x276c3a(0x2f1)],_0x2a7bf9['UniverProChartUi'],_0x2a7bf9[_0x276c3a(0x2bb)],_0x2a7bf9[_0x276c3a(0x1c9)],_0x2a7bf9['UniverEngineFormula'],_0x2a7bf9['UniverDrawingUi'],_0x2a7bf9[_0x276c3a(0x2b6)],_0x2a7bf9['React'],_0x2a7bf9[_0x276c3a(0x1f3)],_0x2a7bf9[_0x276c3a(0x2ff)],_0x2a7bf9[_0x276c3a(0x420)],_0x2a7bf9[_0x276c3a(0x1ba)]));}(this,function(_0x44e059,_0x1e7325,_0x5979b3,_0x39bdba,_0x4dac75,_0x398b93,_0x2ef923,_0xced9f3,_0x24f269,_0x339b6e,_0x3611d5,_0x559364,_0x1ee0b1,_0x4015f2,_0x4fef78,_0x5de930,_0x15e416,_0x2aadda,_0x424e81,_0x4eff75){const _0xeb70cf=_0x3c84;Object[_0xeb70cf(0x4a8)](_0x44e059,Symbol[_0xeb70cf(0x42d)],{'value':_0xeb70cf(0x32f)});let _0x48776c={'type':_0x1e7325[_0xeb70cf(0x390)]['OPERATION'],'id':_0xeb70cf(0x4ba),'handler'(){return!0x0;}},_0x3e48e7=_0xeb70cf(0x297),_0x2be8c4={'enableChartElementFloatMenu':!0x0},_0x2f1627={'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x2e1)],'id':_0xeb70cf(0x35a),'handler'(){return!0x0;}};function _0x474ca4(_0x5125a1){const _0x39349c=_0xeb70cf;let _0x3a39df=_0x5125a1[_0x39349c(0x360)](_0x4dac75['ISheetDrawingService'])[_0x39349c(0x3aa)]();if(_0x3a39df[_0x39349c(0x2d4)]!==0x1)return null;let _0x2e1a33=_0x3a39df[0x0];return _0x2e1a33[_0x39349c(0x209)]===_0x1e7325[_0x39349c(0x28f)][_0x39349c(0x1c3)]?_0x2e1a33:null;}function _0x20d613(_0x75663,_0x1aedcc){const _0xe962af=_0xeb70cf;let _0x1a48e4=document[_0xe962af(0xfc)]('a');_0x1a48e4[_0xe962af(0x224)]=_0x75663,_0x1a48e4[_0xe962af(0x215)]=_0x1aedcc,_0x1a48e4[_0xe962af(0x1b6)]();}let _0x512316={'id':_0xeb70cf(0x414),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':(_0x15d238,_0x37b046)=>{const _0x485da9=_0xeb70cf;let _0x91a29c=_0x474ca4(_0x15d238);return _0x91a29c?_0x15d238[_0x485da9(0x360)](_0x1e7325['ICommandService'])['executeCommand'](_0x48776c['id'],{'unitId':_0x91a29c[_0x485da9(0xfa)],'subUnitId':_0x91a29c['subUnitId'],'drawingId':_0x91a29c[_0x485da9(0xef)],..._0x37b046!=null&&_0x37b046[_0x485da9(0x2fd)]?{'route':_0x37b046[_0x485da9(0x2fd)]}:{}}):!0x1;}},_0xe02a20={'id':'sheet.command.chart.copy-focused-chart','type':_0x1e7325[_0xeb70cf(0x390)]['COMMAND'],'handler':_0x1fe7c4=>_0x474ca4(_0x1fe7c4)?_0x1fe7c4[_0xeb70cf(0x360)](_0x1e7325[_0xeb70cf(0xd2)])[_0xeb70cf(0x318)](_0x2ef923[_0xeb70cf(0x38b)]['id']):!0x1},_0x336d65={'id':_0xeb70cf(0x3b4),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':async _0x5afa20=>{const _0x399a8b=_0xeb70cf;let _0x58538e=_0x474ca4(_0x5afa20);if(!_0x58538e)return!0x1;let _0x267ab2=await _0x5afa20[_0x399a8b(0x360)](_0x339b6e['ChartImageExportService'])[_0x399a8b(0x3fb)]({'unitId':_0x58538e[_0x399a8b(0xfa)],'subUnitId':_0x58538e[_0x399a8b(0x331)],'getId':()=>_0x58538e['drawingId']});return _0x267ab2?(_0x20d613(_0x267ab2,_0x58538e[_0x399a8b(0xef)]+_0x399a8b(0x36c)),!0x0):!0x1;}},_0x13aee6={'id':_0xeb70cf(0x364),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':_0x2c887c=>{const _0x10e8d7=_0xeb70cf;let _0x27807c=_0x474ca4(_0x2c887c);return _0x27807c?_0x2c887c[_0x10e8d7(0x360)](_0x1e7325[_0x10e8d7(0xd2)])['executeCommand'](_0x4dac75['RemoveSheetDrawingCommand']['id'],{'unitId':_0x27807c[_0x10e8d7(0xfa)],'drawings':[{'unitId':_0x27807c[_0x10e8d7(0xfa)],'subUnitId':_0x27807c[_0x10e8d7(0x331)],'drawingId':_0x27807c[_0x10e8d7(0xef)],'drawingType':_0x1e7325[_0x10e8d7(0x28f)][_0x10e8d7(0x1c3)]}]}):!0x1;}},_0x5cbb78={'type':_0x1e7325[_0xeb70cf(0x390)]['COMMAND'],'id':_0xeb70cf(0x221),'handler':async(_0x58dfd5,_0x957390)=>{const _0x167744=_0xeb70cf;let _0x8aace2=(0x0,_0x559364[_0x167744(0x3c7)])(_0x58dfd5[_0x167744(0x360)](_0x1e7325[_0x167744(0x106)]));if(!_0x8aace2)return!0x1;let _0x495e43=_0x58dfd5[_0x167744(0x360)](_0x559364['SheetsSelectionsService'])[_0x167744(0x46d)]();if(!_0x495e43)return!0x1;let {range:_0x38fa7b}=_0x495e43,_0x1990c0=_0x58dfd5['get'](_0x1e7325[_0x167744(0xd2)]),{unitId:_0x3a551e,subUnitId:_0x448a36}=_0x8aace2,{pieSecondaryPlotType:_0x57df43,value:_0x19be38}=_0x957390,_0x5b2284=_0x57df43!==void 0x0;if(_0x5b2284&&(_0x19be38!==_0x3611d5[_0x167744(0x109)]['Pie']||_0x57df43!==_0x3611d5['PieSecondaryPlotType'][_0x167744(0x2c7)]&&_0x57df43!==_0x3611d5[_0x167744(0x195)]['Bar']))return!0x1;let _0x23faef=_0x5b2284?(0x0,_0x1e7325[_0x167744(0x1a1)])():void 0x0;return _0x1990c0[_0x167744(0x318)](_0x5979b3[_0x167744(0x29e)]['id'],{'unitId':_0x3a551e,'subUnitId':_0x448a36,'chartType':_0x19be38,..._0x23faef&&_0x57df43?{'chartId':_0x23faef,'config':{'unitId':_0x3a551e,'chartModelId':_0x23faef,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x57df43}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x38fa7b[_0x167744(0xfa)]??_0x3a551e,'subUnitId':_0x38fa7b[_0x167744(0x429)]??_0x448a36,'range':_0x38fa7b}}});}};function _0x39337f(_0x1dfdb4,_0x43d7aa){const _0x3f8c46=_0xeb70cf;if(_0x1dfdb4==null)return'';if(Array['isArray'](_0x1dfdb4)){var _0x19f2f9;let _0x5e232d=(_0x19f2f9=_0x1dfdb4[0x0])==null?void 0x0:_0x19f2f9[_0x3f8c46(0x441)];return _0x5e232d?_0x8e43ae(_0x5e232d,_0x43d7aa):'';}return _0x8e43ae(_0x1dfdb4[_0x3f8c46(0x43c)],_0x43d7aa);}function _0x8e43ae(_0x11928c,_0x2695e1){const _0x2b217c=_0xeb70cf;var _0x2d8f41;let {unitId:_0x231975,subUnitId:_0x3cf1bf,range:_0x407dcb}=_0x11928c,_0x425963=(_0x2d8f41=_0x2695e1[_0x2b217c(0x1b8)](_0x231975))==null?void 0x0:_0x2d8f41[_0x2b217c(0x262)](_0x3cf1bf);if(!_0x425963)return'';let _0x7d0203=_0x425963[_0x2b217c(0x2ed)]();return(0x0,_0x1ee0b1[_0x2b217c(0x47c)])(_0x7d0203,_0x407dcb);}let _0x14f1e3=_0x339b6e[_0xeb70cf(0x22e)][_0xeb70cf(0x1f6)](_0x56c7b1=>({'id':'id'in _0x56c7b1?_0x56c7b1['id']:void 0x0,'labelId':_0x56c7b1[_0xeb70cf(0x260)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x56c7b1?_0x56c7b1['pieSecondaryPlotType']:void 0x0,'value':_0x56c7b1['value'],'icon':_0x56c7b1[_0xeb70cf(0x324)]}));function _0x46af17(_0x56ec45=_0x14f1e3){return _0x56ec45['map'](({id:_0x10f805,icon:_0x1c6ffb,value:_0x14a4ca})=>{const _0x52400b=_0x3c84;let _0x3a2b33=(0x0,_0x339b6e[_0x52400b(0x1ff)])(_0x10f805??String(_0x14a4ca)),_0x2703df=_0x3a2b33?{'value':_0x3a2b33['chartType'],..._0x3a2b33[_0x52400b(0x186)]?{'pieSecondaryPlotType':_0x3a2b33[_0x52400b(0x186)]}:{}}:{'value':_0x14a4ca};return{'icon':_0x1c6ffb,'value':_0x10f805??_0x14a4ca,'params':_0x2703df};});}let _0x51c8a3=(_0x15e3d3,_0xd98da7)=>{const _0x4f1716=_0xeb70cf;if(_0xd98da7[_0x4f1716(0x2d4)]===0x1&&_0xd98da7[0x0]===_0x4f1716(0x20d))return _0x15e3d3;if(_0xd98da7['length']>0x1){let _0x4e003d=new Set();for(let _0x250f32 of _0xd98da7)_0x4e003d[_0x4f1716(0x2a8)](Number(_0x250f32));return _0x15e3d3[_0x4f1716(0x34a)](_0x14aea4=>_0x4e003d[_0x4f1716(0x4af)](_0x14aea4[_0x4f1716(0x375)]));}return[];};function _0x252a91(_0x48c76d){const _0x13a7d5=_0xeb70cf;let _0x4a668f=_0x48c76d[_0x13a7d5(0x360)](_0x1e7325[_0x13a7d5(0x106)]),_0x62b24e=(0x0,_0x5979b3[_0x13a7d5(0x12b)])(_0x48c76d),_0x472119=_0x51c8a3(_0x14f1e3[_0x13a7d5(0x434)](),_0x62b24e),_0x497817=_0x46af17(_0x472119)[_0x13a7d5(0x1f6)]((_0x479b98,_0x1ff7e1)=>({'icon':_0x479b98['icon'],'value':_0x479b98[_0x13a7d5(0x375)],'params':_0x479b98[_0x13a7d5(0x2f0)],'label':'sheets-chart-ui.chartTypes.'+_0x472119[_0x1ff7e1]['labelId']}));return{'id':_0x5cbb78['id'],'type':_0xced9f3['MenuItemType'][_0x13a7d5(0x19a)],'selectionsCommandId':_0x5cbb78['id'],'selections':_0x497817,'icon':_0x13a7d5(0x129),'tooltip':_0x13a7d5(0x48b),'activated$':(0x0,_0x2ef923['deriveStateFromActiveSheet$'])(_0x4a668f,!0x1,()=>new _0x24f269['Observable'](_0x591dfa=>{const _0x4439fa=_0x13a7d5;_0x591dfa[_0x4439fa(0x217)](!0x1);})),'hidden$':(0x0,_0xced9f3['getMenuHiddenObservable'])(_0x48c76d,_0x1e7325[_0x13a7d5(0x3b8)][_0x13a7d5(0x41f)]),'disabled$':(0x0,_0x2ef923[_0x13a7d5(0x27a)])(_0x48c76d)};}function _0x4c575c(_0x28c56d){const _0x475e44=_0xeb70cf;let _0x4dfe0b=_0x28c56d['get'](_0x4dac75[_0x475e44(0x45a)]);return _0x4dfe0b[_0x475e44(0x49b)][_0x475e44(0x2cf)]((0x0,_0x24f269[_0x475e44(0x11e)])(_0x4dfe0b[_0x475e44(0x3aa)]()),(0x0,_0x24f269[_0x475e44(0x1f6)])(()=>_0x474ca4(_0x28c56d)==null));}function _0x1f5608(_0x11b3e4){const _0x4ee8ba=_0xeb70cf;return{'id':_0x512316['id'],'commandId':_0x512316['id'],'type':_0xced9f3[_0x4ee8ba(0x35e)]['BUTTON'],'title':_0x11b3e4[_0x4ee8ba(0x360)](_0x1e7325[_0x4ee8ba(0x404)])['t'](_0x4ee8ba(0x296)),'icon':'PenIcon','hidden$':_0x4c575c(_0x11b3e4)};}function _0x4fb0f8(_0x4649ba){const _0x1dd4e1=_0xeb70cf;return{'id':_0xe02a20['id'],'commandId':_0xe02a20['id'],'type':_0xced9f3[_0x1dd4e1(0x35e)][_0x1dd4e1(0x1fe)],'title':_0x4649ba[_0x1dd4e1(0x360)](_0x1e7325[_0x1dd4e1(0x404)])['t']('sheets-chart-ui.common.copy'),'icon':_0x1dd4e1(0x115),'hidden$':_0x4c575c(_0x4649ba)};}function _0x1d2a26(_0x5b607a){const _0x43e627=_0xeb70cf;return{'id':_0x336d65['id'],'commandId':_0x336d65['id'],'type':_0xced9f3[_0x43e627(0x35e)][_0x43e627(0x1fe)],'title':_0x5b607a[_0x43e627(0x360)](_0x1e7325[_0x43e627(0x404)])['t'](_0x43e627(0x1ee)),'icon':_0x43e627(0x13b),'hidden$':_0x4c575c(_0x5b607a)};}function _0x1ad486(_0x97815a){const _0x28a1ec=_0xeb70cf;return{'id':_0x13aee6['id'],'commandId':_0x13aee6['id'],'type':_0xced9f3[_0x28a1ec(0x35e)][_0x28a1ec(0x1fe)],'title':_0x97815a[_0x28a1ec(0x360)](_0x1e7325[_0x28a1ec(0x404)])['t'](_0x28a1ec(0x11d)),'icon':_0x28a1ec(0x14f),'hidden$':_0x4c575c(_0x97815a)};}let _0x3350dd={[_0xced9f3[_0xeb70cf(0x1b3)][_0xeb70cf(0x21c)]]:{[_0x5cbb78['id']]:{'order':0x4,'menuItemFactory':_0x252a91}},[_0xced9f3[_0xeb70cf(0x45e)][_0xeb70cf(0x2b8)]]:{[_0xced9f3['ContextMenuGroup'][_0xeb70cf(0x37e)]]:{[_0x512316['id']]:{'order':0x0,'menuItemFactory':_0x1f5608},[_0xe02a20['id']]:{'order':0x1,'menuItemFactory':_0x4fb0f8},[_0x336d65['id']]:{'order':0x3,'menuItemFactory':_0x1d2a26},[_0x13aee6['id']]:{'order':0x4,'menuItemFactory':_0x1ad486}}}};function _0x24003c(_0x31b353){const _0x2b0bd7=_0xeb70cf;return _0x31b353===_0x3611d5['ChartTypeBits']['Combination']||_0x31b353===_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x46f)]||_0x31b353===_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x22d)]||_0x3611d5['chartBitsUtils'][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)]['Line'])||_0x3611d5[_0x2b0bd7(0xda)]['baseOn'](_0x31b353,_0x3611d5['ChartTypeBits'][_0x2b0bd7(0x368)])||_0x3611d5[_0x2b0bd7(0xda)][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x24d)])||_0x3611d5['chartBitsUtils'][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x1c4)]);}function _0x3a7357(_0x5d8b5e){const _0x3baff1=_0xeb70cf;return _0x24003c(_0x5d8b5e)||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5[_0x3baff1(0x109)][_0x3baff1(0x2c7)])||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5[_0x3baff1(0x109)][_0x3baff1(0x281)])||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5['ChartTypeBits'][_0x3baff1(0x363)]);}function _0x424778(_0x525b8e,_0x3d2ad8){const _0x5a88d8=_0xeb70cf;let _0xd26a0e=(0x0,_0x339b6e[_0x5a88d8(0x410)])(_0x525b8e,_0x3d2ad8),_0x19e923=_0xd26a0e?(0x0,_0x339b6e[_0x5a88d8(0x25f)])(_0xd26a0e['target']):void 0x0;if(_0xd26a0e&&_0x19e923)return{..._0xd26a0e,'route':_0x19e923,'showFloatMenu':_0x3a7357(_0x525b8e[_0x5a88d8(0x257)])&&_0xd26a0e[_0x5a88d8(0x3e5)]};}function _0x47b3fc(_0x24ab3c){'@babel/helpers - typeof';const _0x240ce0=_0xeb70cf;return _0x47b3fc=typeof Symbol==_0x240ce0(0x10a)&&typeof Symbol[_0x240ce0(0x1b9)]==_0x240ce0(0x1af)?function(_0x3e0180){return typeof _0x3e0180;}:function(_0x541b08){return _0x541b08&&typeof Symbol=='function'&&_0x541b08['constructor']===Symbol&&_0x541b08!==Symbol['prototype']?'symbol':typeof _0x541b08;},_0x47b3fc(_0x24ab3c);}function _0xa9e424(_0x19adc9,_0x5e258a){const _0xf5ccb8=_0xeb70cf;if(_0x47b3fc(_0x19adc9)!='object'||!_0x19adc9)return _0x19adc9;var _0x2f704e=_0x19adc9[Symbol['toPrimitive']];if(_0x2f704e!==void 0x0){var _0x580fbf=_0x2f704e[_0xf5ccb8(0x479)](_0x19adc9,_0x5e258a||_0xf5ccb8(0x298));if(_0x47b3fc(_0x580fbf)!=_0xf5ccb8(0x1d7))return _0x580fbf;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5e258a==='string'?String:Number)(_0x19adc9);}function _0x45e879(_0x295637){const _0x330a8f=_0xeb70cf;var _0x54b017=_0xa9e424(_0x295637,'string');return _0x47b3fc(_0x54b017)==_0x330a8f(0x1af)?_0x54b017:_0x54b017+'';}function _0x1b6fbd(_0x3034f4,_0x564b16,_0x5ec35b){const _0x21bcd0=_0xeb70cf;return(_0x564b16=_0x45e879(_0x564b16))in _0x3034f4?Object[_0x21bcd0(0x4a8)](_0x3034f4,_0x564b16,{'value':_0x5ec35b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3034f4[_0x564b16]=_0x5ec35b,_0x3034f4;}var _0x495b73=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x38e6c3,_0x4d4fbb){const _0x10ad46=_0xeb70cf;super(),this[_0x10ad46(0x23d)]=_0x38e6c3,this['_onChange']=_0x4d4fbb,_0x1b6fbd(this,_0x10ad46(0x334),null),_0x1b6fbd(this,_0x10ad46(0x3ae),void 0x0),this['_geometry']=this[_0x10ad46(0x1b7)](),this[_0x10ad46(0x1e8)](_0x38e6c3[_0x10ad46(0x10b)][_0x10ad46(0x259)](()=>{const _0x13fde6=_0x10ad46;this[_0x13fde6(0x334)]===null&&(this[_0x13fde6(0x334)]=requestAnimationFrame(()=>this[_0x13fde6(0x380)]()));}));}[_0xeb70cf(0x380)](){const _0x18eb9d=_0xeb70cf;if(this[_0x18eb9d(0xd0)](),this[_0x18eb9d(0x2c1)])return;let _0x4bb49d=this[_0x18eb9d(0x1b7)](),_0x17f351=this[_0x18eb9d(0x3ae)],_0x1937b5=_0x4bb49d[_0x18eb9d(0x323)]!==_0x17f351[_0x18eb9d(0x323)]||_0x4bb49d['height']!==_0x17f351['height'];(_0x1937b5||_0x4bb49d[_0x18eb9d(0x2a9)]!==_0x17f351['left']||_0x4bb49d[_0x18eb9d(0x2f4)]!==_0x17f351['top'])&&(this[_0x18eb9d(0x3ae)]=_0x4bb49d,this['_onChange'](_0x1937b5));}[_0xeb70cf(0xd0)](){const _0x188462=_0xeb70cf;this[_0x188462(0x334)]!==null&&(cancelAnimationFrame(this['_frame']),this[_0x188462(0x334)]=null);}[_0xeb70cf(0x151)](){const _0x153252=_0xeb70cf;this['cancelPending'](),super[_0x153252(0x151)]();}[_0xeb70cf(0x1b7)](){let {left:_0x50675f,top:_0x1016a3,width:_0x5d6d1e,height:_0x1406e4}=this['_rect'];return{'left':_0x50675f,'top':_0x1016a3,'width':_0x5d6d1e,'height':_0x1406e4};}};function _0x2c2298(_0x403426,_0x59d052=0x1){const _0x4d8747=_0xeb70cf;return{'width':Math[_0x4d8747(0x15a)](_0x59d052,_0x403426[_0x4d8747(0x323)]),'height':Math[_0x4d8747(0x15a)](_0x59d052,_0x403426['height'])};}function _0x5773c3(_0x5cd643,_0x29d934={},_0x281a0d={'left':0x0,'top':0x0}){const _0x248f05=_0xeb70cf;let _0x1ccf12=_0x29d934[_0x248f05(0x26c)]??0x1,_0x4e3065=_0x29d934[_0x248f05(0x1ad)]??0x1,_0x31ffa9=_0x339b6e[_0x248f05(0x31a)][_0x248f05(0x226)]({'logicalOuterRect':{'left':_0x281a0d[_0x248f05(0x2a9)]>0x0?-_0x281a0d[_0x248f05(0x2a9)]:0x0,'top':_0x281a0d[_0x248f05(0x2f4)]>0x0?-_0x281a0d[_0x248f05(0x2f4)]:0x0,..._0x2c2298(_0x5cd643)},'scale':{'scaleX':_0x1ccf12,'scaleY':_0x4e3065},'hostStyle':{},'contentMode':_0x339b6e['ChartFrameContentMode'][_0x248f05(0x377)]});return{'left':_0x31ffa9[_0x248f05(0x2db)][_0x248f05(0x2a9)],'top':_0x31ffa9[_0x248f05(0x2db)]['top'],'width':_0x31ffa9[_0x248f05(0x2db)][_0x248f05(0x323)],'height':_0x31ffa9['logicalOuterRect'][_0x248f05(0x1ed)],'scaleX':_0x1ccf12,'scaleY':_0x4e3065};}function _0x2a40a6(_0x19bc48){const _0x6342f5=_0xeb70cf;switch(_0x19bc48[_0x6342f5(0x3b3)]){case _0x3611d5[_0x6342f5(0x305)][_0x6342f5(0x29c)]:return _0x19bc48[_0x6342f5(0x438)];case _0x3611d5[_0x6342f5(0x305)][_0x6342f5(0x1d4)]:return _0x19bc48['imageBitmap'];default:return;}}var _0x391a42=class extends _0x4fef78['Rect']{constructor(_0x5225c7,_0x12a764,_0x408667,_0x42952c=()=>!0x1,_0x52a116=()=>{}){const _0x5b094d=_0xeb70cf;super(_0x5225c7,{..._0x12a764,'evented':_0x12a764[_0x5b094d(0x2bd)]??!0x0}),this['_getImage']=_0x408667,this['_shouldSuppressRender']=_0x42952c,this['_disposeImage']=_0x52a116,_0x1b6fbd(this,_0x5b094d(0x3c1),null),_0x1b6fbd(this,_0x5b094d(0xeb),null),_0x1b6fbd(this,'_requestedUrl',null),_0x1b6fbd(this,_0x5b094d(0x481),null),this[_0x5b094d(0x34d)](_0x4fef78[_0x5b094d(0x367)][_0x5b094d(0x2fc)]);}[_0xeb70cf(0x151)](){const _0x785f41=_0xeb70cf;this['_clearPendingUrlImage'](),this[_0x785f41(0x3c1)]=null,this[_0x785f41(0xeb)]=null,this['_requestedUrl']=null,this[_0x785f41(0x252)](),super[_0x785f41(0x151)]();}[_0xeb70cf(0x37d)](_0xae7f99,_0x479b7d){const _0x541116=_0xeb70cf;if(!this['visible'])return this[_0x541116(0x211)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x53005e=this[_0x541116(0xd4)]();return _0x53005e&&this['_getDrawable'](_0x53005e),this['makeDirty'](!0x1),this;}if(!this[_0x541116(0x401)])return this;let {width:_0x2908aa,height:_0x21d915,left:_0x2f8780,top:_0x529294}=this[_0x541116(0x108)]();if(this[_0x541116(0xe0)](_0x479b7d)){let {top:_0x568ea4,left:_0x22c845,bottom:_0x291c2,right:_0x5877d8}=_0x479b7d[_0x541116(0x1ec)];if(_0x2908aa+this[_0x541116(0x220)]+_0x2f8780<_0x22c845||_0x5877d8<_0x2f8780||_0x21d915+this[_0x541116(0x220)]+_0x529294<_0x568ea4||_0x291c2<_0x529294)return this;}let _0x572fd5=this[_0x541116(0x401)][_0x541116(0x366)]();_0xae7f99['save']();let _0x26ba18=_0x2f8780+_0x2908aa/0x2,_0x188247=_0x529294+_0x21d915/0x2;return _0xae7f99[_0x541116(0x401)](_0x572fd5[0x0],_0x572fd5[0x1],_0x572fd5[0x2],_0x572fd5[0x3],_0x26ba18,_0x188247),this['opacity']!==0x1&&(_0xae7f99[_0x541116(0x1c7)]=this[_0x541116(0x378)]),this[_0x541116(0x13a)](_0xae7f99,void 0x0,_0x2908aa,_0x21d915),_0xae7f99[_0x541116(0x17f)](),this[_0x541116(0x211)](!0x1),this;}[_0xeb70cf(0x13a)](_0x57a679,_0x11de2e,_0x401fdb=this[_0xeb70cf(0x323)],_0x46e214=this['height']){const _0x2e421d=_0xeb70cf;this[_0x2e421d(0x424)](_0x57a679,_0x401fdb,_0x46e214,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x2e421d(0x244)](_0x57a679,_0x401fdb,_0x46e214),this[_0x2e421d(0x424)](_0x57a679,_0x401fdb,_0x46e214,{'fill':void 0x0});}['_drawChartFrame'](_0x18eb2f,_0x478dbb,_0x27693f,_0x31f14d){const _0x188eef=_0xeb70cf;_0x18eb2f['save'](),_0x18eb2f[_0x188eef(0x30f)](-_0x478dbb/0x2,-_0x27693f/0x2),_0x4fef78[_0x188eef(0x279)][_0x188eef(0x1da)](_0x18eb2f,_0x580525(this,_0x478dbb,_0x27693f,_0x31f14d)),_0x18eb2f['restore']();}[_0xeb70cf(0x20e)](_0x412484){const _0x813441=_0xeb70cf;let {left:_0x14de86,top:_0x41dcaa,width:_0x9367e5,height:_0x26d944}=this['getRealBound'](),_0x201d5b=_0x14de86+_0x9367e5/0x2,_0x33d77f=_0x41dcaa+_0x26d944/0x2,_0x1dc5cb=this[_0x813441(0x401)][_0x813441(0x366)](),_0x128994=new _0x4fef78[(_0x813441(0x30c))]([_0x1dc5cb[0x0],_0x1dc5cb[0x1],_0x1dc5cb[0x2],_0x1dc5cb[0x3],_0x201d5b,_0x33d77f]),_0xc1165d=this[_0x813441(0x175)](),_0x4bc970=(this[_0x813441(0x15e)]&&(_0xc1165d==null?void 0x0:_0xc1165d[_0x813441(0x181)])===_0x4fef78[_0x813441(0x436)][_0x813441(0x25a)]?_0xc1165d[_0x813441(0x167)][_0x813441(0x3bb)](_0x128994):_0x128994)[_0x813441(0xca)]()[_0x813441(0x173)](_0x412484),_0x4b6188=_0x9367e5/0x2,_0x153708=_0x26d944/0x2;return _0x4bc970['x']>=-_0x4b6188-this[_0x813441(0x220)]/0x2&&_0x4bc970['x']<=_0x4b6188+this[_0x813441(0x220)]/0x2&&_0x4bc970['y']>=-_0x153708-this['strokeWidth']/0x2&&_0x4bc970['y']<=_0x153708+this[_0x813441(0x220)]/0x2;}[_0xeb70cf(0x244)](_0x112156,_0x5cc166,_0x20f898){const _0x284d53=_0xeb70cf;let _0x1d1910=this[_0x284d53(0xd4)](),_0x5bb5e2=_0x1d1910?this[_0x284d53(0x45c)](_0x1d1910):void 0x0;if(!_0x5bb5e2)return;let {width:_0x5f4a94,height:_0x1166a9}=_0x2c2298({'width':_0x5cc166,'height':_0x20f898},0x0);_0x5f4a94!==0x0&&_0x1166a9!==0x0&&(_0x112156[_0x284d53(0x137)](),_0x112156[_0x284d53(0x30f)](-_0x5cc166/0x2,-_0x20f898/0x2),_0x599d8e(_0x112156,_0x5f4a94,_0x1166a9,this[_0x284d53(0x2a5)]),_0x112156['clip'](),_0x112156[_0x284d53(0x2cc)](_0x5bb5e2,0x0,0x0,_0x5f4a94,_0x1166a9),_0x112156[_0x284d53(0x17f)]());}['_getDrawable'](_0x3d9118){const _0x559df4=_0xeb70cf;var _0x3ea8f;let _0x292ee1=_0x2a40a6(_0x3d9118);if(_0x292ee1)return _0x292ee1;if(_0x3d9118[_0x559df4(0x3b3)]===_0x3611d5[_0x559df4(0x305)][_0x559df4(0x20b)]&&(this[_0x559df4(0x2d6)]!==_0x3d9118['url']&&(this[_0x559df4(0x2d6)]=_0x3d9118[_0x559df4(0x412)],this['_clearPendingUrlImage'](),this[_0x559df4(0xeb)]!==_0x3d9118[_0x559df4(0x412)]&&this[_0x559df4(0x381)](_0x3d9118[_0x559df4(0x412)])),(_0x3ea8f=this[_0x559df4(0x3c1)])!=null&&_0x3ea8f[_0x559df4(0x1e6)]&&this[_0x559df4(0x3c1)][_0x559df4(0x311)]>0x0&&this['_urlImage']['naturalHeight']>0x0))return this[_0x559df4(0x3c1)];}[_0xeb70cf(0x381)](_0x30a752){const _0x471de3=_0xeb70cf;let _0x11db7f=document[_0x471de3(0xfc)](_0x471de3(0x435));this[_0x471de3(0x481)]=_0x11db7f,_0x11db7f['crossOrigin']=_0x471de3(0x12e),_0x11db7f['onload']=()=>{const _0x38026e=_0x471de3;this[_0x38026e(0x2d6)]===_0x30a752&&this['_pendingUrlImage']===_0x11db7f&&(_0x11db7f[_0x38026e(0x311)]>0x0&&_0x11db7f['naturalHeight']>0x0&&(this['_url']=_0x30a752,this[_0x38026e(0x3c1)]=_0x11db7f),this[_0x38026e(0x150)](),this['makeDirty'](!0x0));},_0x11db7f[_0x471de3(0x499)]=()=>{const _0xad7f79=_0x471de3;this['_pendingUrlImage']===_0x11db7f&&this[_0xad7f79(0x150)]();},_0x11db7f[_0x471de3(0x275)]=_0x30a752;}['_clearPendingUrlImage'](){const _0x5a8f42=_0xeb70cf;this[_0x5a8f42(0x481)]&&=(this[_0x5a8f42(0x481)][_0x5a8f42(0x2b2)]=null,this[_0x5a8f42(0x481)][_0x5a8f42(0x499)]=null,null);}};function _0x580525(_0x3da107,_0x22df25,_0xd98018,_0x19cb42){const _0x8de773=_0xeb70cf;let _0x43c5c0=Object[_0x8de773(0x3dd)](_0x3da107);return Object['defineProperty'](_0x43c5c0,_0x8de773(0x323),{'value':_0x22df25}),Object[_0x8de773(0x4a8)](_0x43c5c0,'height',{'value':_0xd98018}),Object[_0x8de773(0x19e)](_0x19cb42)[_0x8de773(0x332)](_0xdcfd7a=>{const _0xa898=_0x8de773;Object[_0xa898(0x4a8)](_0x43c5c0,_0xdcfd7a,{'value':_0x19cb42[_0xdcfd7a]});}),_0x43c5c0;}function _0x599d8e(_0x2af289,_0x49c877,_0x4a0d92,_0x465ac7){const _0x47f2fd=_0xeb70cf;let _0x3f0cb2=Math[_0x47f2fd(0x1ae)](_0x465ac7||0x0,_0x49c877/0x2,_0x4a0d92/0x2);_0x2af289[_0x47f2fd(0x474)](),_0x3f0cb2?(_0x2af289[_0x47f2fd(0x2c2)](_0x3f0cb2,0x0),_0x2af289[_0x47f2fd(0x18c)](_0x49c877-_0x3f0cb2,0x0),_0x2af289[_0x47f2fd(0x264)](_0x49c877-_0x3f0cb2,_0x3f0cb2,_0x3f0cb2,Math['PI']*0x3/0x2,0x0,!0x1),_0x2af289[_0x47f2fd(0x18c)](_0x49c877,_0x4a0d92-_0x3f0cb2),_0x2af289[_0x47f2fd(0x264)](_0x49c877-_0x3f0cb2,_0x4a0d92-_0x3f0cb2,_0x3f0cb2,0x0,Math['PI']/0x2,!0x1),_0x2af289[_0x47f2fd(0x18c)](_0x3f0cb2,_0x4a0d92),_0x2af289[_0x47f2fd(0x264)](_0x3f0cb2,_0x4a0d92-_0x3f0cb2,_0x3f0cb2,Math['PI']/0x2,Math['PI'],!0x1),_0x2af289[_0x47f2fd(0x18c)](0x0,_0x3f0cb2),_0x2af289[_0x47f2fd(0x264)](_0x3f0cb2,_0x3f0cb2,_0x3f0cb2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2af289[_0x47f2fd(0x322)]()):(_0x2af289['rect'](0x0,0x0,_0x49c877,_0x4a0d92),_0x2af289[_0x47f2fd(0x322)]());}function _0x500cb6(_0x4269fc){const _0x19342f=_0xeb70cf;(_0x4269fc==null?void 0x0:_0x4269fc[_0x19342f(0x3b3)])===_0x3611d5[_0x19342f(0x305)][_0x19342f(0x1d4)]&&_0x4269fc[_0x19342f(0x3de)][_0x19342f(0x432)]();}function _0x5afec7(_0x139748){const _0x4d5174=_0xeb70cf;return _0x139748[_0x4d5174(0xfa)]+_0x4d5174(0x192)+_0x139748[_0x4d5174(0x331)]+_0x4d5174(0x192)+_0x139748[_0x4d5174(0x2b5)];}var _0x36a856=class extends _0x1e7325['Disposable']{constructor(..._0x2e90fc){const _0x378f9d=_0xeb70cf;super(..._0x2e90fc),_0x1b6fbd(this,_0x378f9d(0x13f),new Map());}[_0xeb70cf(0xe2)](_0x3d141a){const _0x5c07a2=_0xeb70cf;let _0x516d82=_0x5afec7(_0x3d141a),_0x2442e5=this[_0x5c07a2(0x13f)][_0x5c07a2(0x360)](_0x516d82)??{'version':0x0};return _0x2442e5[_0x5c07a2(0x27d)]+=0x1,this[_0x5c07a2(0x13f)][_0x5c07a2(0x130)](_0x516d82,_0x2442e5),_0x2442e5[_0x5c07a2(0x27d)];}[_0xeb70cf(0x141)](_0x29e9be,_0xb4a54c){const _0x2d3115=_0xeb70cf;var _0x4a574b;return((_0x4a574b=this[_0x2d3115(0x13f)][_0x2d3115(0x360)](_0x5afec7(_0x29e9be)))==null?void 0x0:_0x4a574b[_0x2d3115(0x27d)])===_0xb4a54c;}[_0xeb70cf(0x3a5)](_0x5ec446,_0x128792,_0x464408){const _0x46f1b5=_0xeb70cf;if(!this[_0x46f1b5(0x141)](_0x5ec446,_0x464408))return _0x500cb6(_0x128792),!0x1;let _0x1646ee=_0x5afec7(_0x5ec446),_0x295863=this[_0x46f1b5(0x13f)][_0x46f1b5(0x360)](_0x1646ee)??{'version':_0x464408},_0x4b7678=_0x295863[_0x46f1b5(0xe3)];return _0x295863['image']=_0x128792,_0x295863[_0x46f1b5(0x27d)]=_0x464408,this[_0x46f1b5(0x13f)][_0x46f1b5(0x130)](_0x1646ee,_0x295863),_0x4b7678!==_0x128792&&_0x500cb6(_0x4b7678),!0x0;}[_0xeb70cf(0x418)](_0x5e106d){const _0x2d4a88=_0xeb70cf;var _0x1640e7;return(_0x1640e7=this['_entries'][_0x2d4a88(0x360)](_0x5afec7(_0x5e106d)))==null?void 0x0:_0x1640e7[_0x2d4a88(0xe3)];}[_0xeb70cf(0x33a)](_0x489205){const _0x28e71a=_0xeb70cf;let _0x2de9c4=_0x5afec7(_0x489205),_0xdf0287=this['_entries'][_0x28e71a(0x360)](_0x2de9c4);_0xdf0287&&(_0x500cb6(_0xdf0287[_0x28e71a(0xe3)]),this['_entries'][_0x28e71a(0x339)](_0x2de9c4));}['clearChart'](_0x5addb5){const _0xf3c156=_0xeb70cf;for(let [_0x5c7aff,_0x99e573]of this[_0xf3c156(0x13f)])_0x5c7aff[_0xf3c156(0x350)](_0xf3c156(0x192)+_0x5addb5)&&(_0x500cb6(_0x99e573[_0xf3c156(0xe3)]),this[_0xf3c156(0x13f)][_0xf3c156(0x339)](_0x5c7aff));}[_0xeb70cf(0x151)](){const _0x177c87=_0xeb70cf;this['_entries'][_0x177c87(0x332)](_0x1f73bc=>_0x500cb6(_0x1f73bc[_0x177c87(0xe3)])),this['_entries'][_0x177c87(0x3b6)](),super[_0x177c87(0x151)]();}};function _0x59809b(_0x18bb33,_0x5afe36=0x7d0){let _0x4427dc=null,_0x545a6f=null,_0x3e17b3=!0x1,_0x133597=()=>{},_0x51b275=()=>{_0x4427dc!=null&&(clearInterval(_0x4427dc),_0x4427dc=null),_0x545a6f!=null&&(clearTimeout(_0x545a6f),_0x545a6f=null);};return{'promise':new Promise((_0x201af8,_0xbb7846)=>{_0x133597=_0xbb7846;let _0x4f3caa=()=>{const _0x76771b=_0x3c84;let _0x10385f=document[_0x76771b(0x302)](_0x18bb33);_0x10385f&&!_0x3e17b3&&(_0x3e17b3=!0x0,_0x51b275(),_0x201af8(_0x10385f));};_0x4f3caa(),!_0x3e17b3&&(_0x4427dc=setInterval(_0x4f3caa,16.666666666666668),_0x545a6f=setTimeout(()=>{_0x3e17b3||(_0x3e17b3=!0x0,_0x51b275(),_0xbb7846(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x18bb33+'\x22.')));},_0x5afe36));}),'cancel':()=>{const _0x11529a=_0x3c84;_0x3e17b3||(_0x3e17b3=!0x0,_0x51b275(),_0x133597(Error(_0x11529a(0x469)+_0x18bb33+'\x22.')));}};}var _0x2e9297=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x15dc9c,_0x15f4f2,_0x904f6d,_0x1655f6,_0x5cc973,_0x4994de,_0x345540,_0x3b3e7d){const _0x3f5721=_0xeb70cf;super(),this[_0x3f5721(0x2b5)]=_0x15dc9c,this[_0x3f5721(0x132)]=_0x15f4f2,this['_getPlacement']=_0x904f6d,this[_0x3f5721(0x1f2)]=_0x1655f6,this[_0x3f5721(0x267)]=_0x5cc973,this[_0x3f5721(0x139)]=_0x4994de,this[_0x3f5721(0x494)]=_0x345540,this[_0x3f5721(0x383)]=_0x3b3e7d,_0x1b6fbd(this,_0x3f5721(0x170),_0x3611d5['ChartRenderMode']['Dom']),_0x1b6fbd(this,_0x3f5721(0x3e0),null),_0x1b6fbd(this,_0x3f5721(0x425),!0x1),_0x1b6fbd(this,_0x3f5721(0x461),null),_0x1b6fbd(this,_0x3f5721(0x21b),null),_0x1b6fbd(this,_0x3f5721(0xd5),null),_0x1b6fbd(this,_0x3f5721(0x131),{}),_0x1b6fbd(this,_0x3f5721(0x49c),null),_0x1b6fbd(this,'_dataUpdateAnimationDuration',null),_0x1b6fbd(this,_0x3f5721(0x4aa),null);}['isManaged'](){return this['_managed'];}[_0xeb70cf(0x3f8)](){const _0x280e41=_0xeb70cf;this[_0x280e41(0x425)]=!0x1;}[_0xeb70cf(0x3d2)](){const _0x280b6b=_0xeb70cf;let _0x4407e0=this[_0x280b6b(0x101)]();return _0x4407e0?{'width':_0x4407e0[_0x280b6b(0x323)],'height':_0x4407e0[_0x280b6b(0x1ed)]}:null;}[_0xeb70cf(0x2fa)](_0x5266bd){const _0x25b855=_0xeb70cf;this[_0x25b855(0x131)]=_0x5266bd,this[_0x25b855(0x1f2)](_0x5266bd),this[_0x25b855(0x17e)]();}async[_0xeb70cf(0x2ca)](){const _0x3bdd59=_0xeb70cf;if(this['_disposed']||this[_0x3bdd59(0x267)]())throw Error(_0x3bdd59(0x19c));let _0x31701b=this[_0x3bdd59(0x132)](),_0x329b6b=(_0x31701b==null?void 0x0:_0x31701b[_0x3bdd59(0x117)])??this[_0x3bdd59(0x2b5)],_0x40c611=document[_0x3bdd59(0x302)](_0x329b6b);if(this[_0x3bdd59(0x3e0)]&&_0x40c611!=null&&_0x40c611[_0x3bdd59(0x3a6)](this[_0x3bdd59(0x3e0)]['mountNode']))return{'mountNode':this[_0x3bdd59(0x3e0)][_0x3bdd59(0x442)],'dispose':()=>{const _0x26fc68=_0x3bdd59;this[_0x26fc68(0x151)](),_0x31701b==null||_0x31701b[_0x26fc68(0x151)][_0x26fc68(0x151)]();}};if(this['_pendingHost'])return this[_0x3bdd59(0x21b)];let _0x322838=this[_0x3bdd59(0x2ec)]();return this[_0x3bdd59(0x21b)]=_0x322838,_0x322838['then'](()=>{const _0x122b14=_0x3bdd59;this[_0x122b14(0x21b)]===_0x322838&&(this[_0x122b14(0x21b)]=null);},()=>{const _0x8856c2=_0x3bdd59;this['_pendingHost']===_0x322838&&(this[_0x8856c2(0x21b)]=null);}),_0x322838;}async[_0xeb70cf(0x43d)](){const _0x414dd8=_0xeb70cf;try{return(await this[_0x414dd8(0x2ca)]())[_0x414dd8(0x442)];}catch{return null;}}[_0xeb70cf(0x13d)](){const _0x429aed=_0xeb70cf;let _0x2012bc=this['_getFloatDomInfo'](),_0x496830=(_0x2012bc==null?void 0x0:_0x2012bc[_0x429aed(0x117)])??this[_0x429aed(0x2b5)],_0x56f708=document[_0x429aed(0x302)](_0x496830);return!!(this[_0x429aed(0x3e0)]&&_0x56f708!=null&&_0x56f708[_0x429aed(0x3a6)](this[_0x429aed(0x3e0)]['mountNode']));}['syncLayout'](){const _0x1e088b=_0xeb70cf;if(!this[_0x1e088b(0x3e0)])return;let _0x4854f8=this[_0x1e088b(0x101)]();_0x4854f8&&this[_0x1e088b(0x3e0)][_0x1e088b(0x466)](this['_resolveLayout'](_0x4854f8),this['_frameStyle']());}[_0xeb70cf(0x2e8)](){this['_markReady']();}[_0xeb70cf(0x1bd)](){this['_markNotReady']();}[_0xeb70cf(0x4b8)](_0x225d3b){const _0x2e563a=_0xeb70cf;this['_dataUpdateAnimationDuration']=_0x225d3b;let _0x271afb=this[_0x2e563a(0x132)](),_0x278359=document[_0x2e563a(0x302)]((_0x271afb==null?void 0x0:_0x271afb[_0x2e563a(0x117)])??this[_0x2e563a(0x2b5)]);_0x278359&&this[_0x2e563a(0x353)](_0x278359);}[_0xeb70cf(0x151)](){const _0x4daf50=_0xeb70cf;var _0x1ff33c,_0x2356df;this[_0x4daf50(0x2c1)]||(this['markNotReady'](),this[_0x4daf50(0x461)]=null,this[_0x4daf50(0x21b)]=null,this['_cancelHostWait'](),this[_0x4daf50(0x425)]=!0x1,this[_0x4daf50(0x415)]=null,(_0x1ff33c=this[_0x4daf50(0x4aa)])==null||_0x1ff33c['dispose'](),this[_0x4daf50(0x4aa)]=null,(_0x2356df=this['_domFrame'])==null||_0x2356df['dispose'](),this['_domFrame']=null,this[_0x4daf50(0x164)](),super[_0x4daf50(0x151)]());}async['_createHost'](){const _0x6937ce=_0xeb70cf;let _0x465d7d=this[_0x6937ce(0x132)]();if(!_0x465d7d)throw Error(_0x6937ce(0x19c));let _0x47f670=_0x465d7d[_0x6937ce(0x117)]??this[_0x6937ce(0x2b5)],_0x4d707d=_0x59809b(_0x47f670),_0x494874=Symbol(this[_0x6937ce(0x2b5)]);this['_pendingToken']=_0x494874,this[_0x6937ce(0xd5)]=_0x4d707d;try{var _0x1f937e;let _0x5d40ac=await _0x4d707d[_0x6937ce(0x234)],_0x24c52c=this[_0x6937ce(0x132)](),_0x7cf13f=(_0x24c52c==null?void 0x0:_0x24c52c[_0x6937ce(0x117)])??this[_0x6937ce(0x2b5)];if(this[_0x6937ce(0x2c1)]||this['_isProviderDisposed']()||this[_0x6937ce(0x461)]!==_0x494874||!_0x24c52c||_0x7cf13f!==_0x47f670||document['getElementById'](_0x47f670)!==_0x5d40ac||!_0x5d40ac[_0x6937ce(0xe7)])throw Error(_0x6937ce(0x19c));let _0x517ded=this[_0x6937ce(0x101)]();if(!_0x517ded)throw Error(_0x6937ce(0x19c));let _0x304107=new _0x339b6e['ChartDomFrame'](_0x5d40ac);return _0x304107['update'](this[_0x6937ce(0x446)](_0x517ded),this['_frameStyle']()),this[_0x6937ce(0x2f7)](_0x5d40ac),this[_0x6937ce(0x3e0)]=_0x304107,(_0x1f937e=this['_pointerEvents'])==null||_0x1f937e[_0x6937ce(0x151)](),this[_0x6937ce(0x4aa)]=this['_bindPointerEvents'](_0x5d40ac),this[_0x6937ce(0x425)]=!0x0,{'mountNode':_0x304107[_0x6937ce(0x442)],'dispose':()=>{const _0x3890bf=_0x6937ce;this[_0x3890bf(0x151)](),_0x465d7d['dispose'][_0x3890bf(0x151)]();}};}finally{this[_0x6937ce(0xd5)]===_0x4d707d&&(this[_0x6937ce(0xd5)]=null),this[_0x6937ce(0x461)]===_0x494874&&(this[_0x6937ce(0x461)]=null);}}[_0xeb70cf(0x232)](){const _0x12d32d=_0xeb70cf;let _0x20616c=this[_0x12d32d(0xd5)];_0x20616c&&(_0x20616c[_0x12d32d(0x30e)](),this[_0x12d32d(0xd5)]=null);}[_0xeb70cf(0x17e)](){const _0x3d8dd1=_0xeb70cf;let _0x1e9ec8=this[_0x3d8dd1(0x101)]();this[_0x3d8dd1(0x3e0)]&&_0x1e9ec8&&this['_domFrame'][_0x3d8dd1(0x466)](this['_resolveLayout'](_0x1e9ec8),this[_0x3d8dd1(0x33f)]());}['_resolveLayout'](_0x23ab18){const _0x44a88b=_0xeb70cf;return _0x339b6e[_0x44a88b(0x31a)]['resolve']({'logicalOuterRect':{'left':_0x23ab18[_0x44a88b(0x2a9)],'top':_0x23ab18['top'],'width':_0x23ab18[_0x44a88b(0x323)],'height':_0x23ab18['height']},'scale':{'scaleX':_0x23ab18['scaleX'],'scaleY':_0x23ab18['scaleY']},'hostStyle':this[_0x44a88b(0x33f)](),'contentMode':_0x339b6e[_0x44a88b(0x105)][_0x44a88b(0x377)]});}[_0xeb70cf(0x33f)](){return{...this['_hostStyle'],'radius':_0x339b6e['CHART_HOST_BORDER_RADIUS']};}[_0xeb70cf(0x2f7)](_0x2900bd){const _0x576499=_0xeb70cf;let _0x46631b=_0x2900bd['parentElement'];_0x46631b&&(this[_0x576499(0x49c)]||={'zIndex':_0x46631b[_0x576499(0x4b9)][_0x576499(0x157)],'pointerEvents':_0x46631b[_0x576499(0x4b9)]['pointerEvents']},_0x46631b['style']['zIndex']=_0x576499(0x3f2),this[_0x576499(0x353)](_0x2900bd));}[_0xeb70cf(0x353)](_0x5437d5){const _0x4549c3=_0xeb70cf;let _0x28abd5=_0x5437d5[_0x4549c3(0xdc)];if(!_0x28abd5)return;let _0x2fe4d0=this[_0x4549c3(0x415)];_0x2fe4d0==null?(delete _0x5437d5['dataset'][_0x4549c3(0x171)],delete _0x5437d5['dataset'][_0x4549c3(0x161)],_0x28abd5[_0x4549c3(0x4b9)]['pointerEvents']=_0x4549c3(0x208)):(_0x5437d5[_0x4549c3(0x333)][_0x4549c3(0x171)]=_0x4549c3(0x336),_0x5437d5[_0x4549c3(0x333)]['sheetChartDataAnimationDuration']=String(_0x2fe4d0),_0x28abd5[_0x4549c3(0x4b9)][_0x4549c3(0x24b)]=_0x4549c3(0x42b));}['_restoreHostWrapper'](){const _0x1837c9=_0xeb70cf;if(!this['_savedWrapperStyle'])return;let _0x4fba7e=this[_0x1837c9(0x132)](),_0x491c29=(_0x4fba7e==null?void 0x0:_0x4fba7e[_0x1837c9(0x117)])??this[_0x1837c9(0x2b5)],_0x200c13=document[_0x1837c9(0x302)](_0x491c29);_0x200c13==null||delete _0x200c13[_0x1837c9(0x333)][_0x1837c9(0x171)],_0x200c13==null||delete _0x200c13['dataset'][_0x1837c9(0x161)];let _0x4d0987=_0x200c13==null?void 0x0:_0x200c13['parentElement'];_0x4d0987&&(_0x4d0987[_0x1837c9(0x4b9)][_0x1837c9(0x157)]=this['_savedWrapperStyle'][_0x1837c9(0x157)],_0x4d0987['style'][_0x1837c9(0x24b)]=this[_0x1837c9(0x49c)][_0x1837c9(0x24b)]),this[_0x1837c9(0x49c)]=null;}},_0x6845c3=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x563a4f,_0x4c5617,_0x4ce11a,_0x4a75b1){const _0x4fc8dd=_0xeb70cf;super(),this[_0x4fc8dd(0x100)]=_0x4c5617,_0x1b6fbd(this,'_gesture',null),_0x1b6fbd(this,_0x4fc8dd(0x3a3),!0x1);let _0x177b58=_0x46553f=>{const _0x3c7d3e=_0x4fc8dd;this['_suppressClick']&&(_0x46553f[_0x3c7d3e(0x2e2)](),_0x46553f['stopImmediatePropagation']());},_0x580004=_0x4dadbf=>{const _0x17dd12=_0x4fc8dd;let _0x5014e6=this[_0x17dd12(0x25d)];(_0x5014e6==null?void 0x0:_0x5014e6[_0x17dd12(0x3f1)]['pointerId'])===_0x4dadbf[_0x17dd12(0x26e)]&&!_0x5014e6[_0x17dd12(0x2d5)][_0x17dd12(0x43e)](_0x4dadbf['pointerId'])&&this[_0x17dd12(0xf1)]();};_0x563a4f[_0x4fc8dd(0x178)](_0x4fc8dd(0x1b6),_0x177b58,!0x0),_0x563a4f[_0x4fc8dd(0x178)]('dblclick',_0x177b58,!0x0),_0x563a4f[_0x4fc8dd(0x178)]('lostpointercapture',_0x580004),this['disposeWithMe']((0x0,_0x1e7325[_0x4fc8dd(0x119)])(()=>{const _0x19ceb7=_0x4fc8dd;_0x563a4f[_0x19ceb7(0x443)](_0x19ceb7(0x1b6),_0x177b58,!0x0),_0x563a4f[_0x19ceb7(0x443)]('dblclick',_0x177b58,!0x0),_0x563a4f[_0x19ceb7(0x443)]('lostpointercapture',_0x580004),_0x4a75b1(_0x4c5617);})),this[_0x4fc8dd(0x1e8)](_0x4ce11a[_0x4fc8dd(0x413)](()=>{const _0x3dd4b2=_0x4fc8dd;this[_0x3dd4b2(0x25d)]&&(this[_0x3dd4b2(0x3a3)]=!0x0);})),_0x4a75b1({'onPointerDown':_0x33bac9=>{const _0x1b2264=_0x4fc8dd;this[_0x1b2264(0x3a3)]=!0x1,_0x33bac9 instanceof PointerEvent&&_0x33bac9[_0x1b2264(0x2d5)]instanceof Element&&_0x563a4f[_0x1b2264(0x3a6)](_0x33bac9['target'])&&(this['_gesture']={'target':_0x33bac9['target'],'event':_0x33bac9}),_0x4c5617['onPointerDown'](_0x33bac9),this[_0x1b2264(0x3f4)](_0x33bac9);},'onPointerMove':_0x5de82d=>{const _0x5571bc=_0x4fc8dd;_0x4c5617[_0x5571bc(0x24e)](_0x5de82d),this[_0x5571bc(0x3f4)](_0x5de82d);},'onPointerUp':_0x330a7d=>{const _0x11a6ee=_0x4fc8dd;try{_0x4c5617['onPointerUp'](_0x330a7d);}finally{var _0x112177;_0x330a7d instanceof PointerEvent&&((_0x112177=this[_0x11a6ee(0x25d)])==null?void 0x0:_0x112177['event']['pointerId'])===_0x330a7d[_0x11a6ee(0x26e)]&&this[_0x11a6ee(0x3a8)]();}}});}['dispose'](){const _0x4197c8=_0xeb70cf;this['_disposed']||(this[_0x4197c8(0xf1)](),super[_0x4197c8(0x151)]());}[_0xeb70cf(0x3f4)](_0x4e83ee){const _0x25cce7=_0xeb70cf;let _0x56b39a=this[_0x25cce7(0x25d)];_0x4e83ee instanceof PointerEvent&&(_0x56b39a==null?void 0x0:_0x56b39a[_0x25cce7(0x3f1)]['pointerId'])===_0x4e83ee['pointerId']&&(_0x56b39a['event']=_0x4e83ee,_0x56b39a['target']['isConnected']?_0x56b39a['target'][_0x25cce7(0x229)](_0x4e83ee[_0x25cce7(0x26e)]):this[_0x25cce7(0xf1)]());}['_releaseGesture'](){const _0x34f9ae=_0xeb70cf;let _0x4f34c9=this[_0x34f9ae(0x25d)];this[_0x34f9ae(0x25d)]=null,_0x4f34c9!=null&&_0x4f34c9[_0x34f9ae(0x2d5)][_0x34f9ae(0x43e)](_0x4f34c9[_0x34f9ae(0x3f1)][_0x34f9ae(0x26e)])&&_0x4f34c9[_0x34f9ae(0x2d5)][_0x34f9ae(0x2a2)](_0x4f34c9[_0x34f9ae(0x3f1)]['pointerId']);}[_0xeb70cf(0xf1)](){const _0x5eebe7=_0xeb70cf;let _0x21e154=this['_gesture'];this[_0x5eebe7(0x3a8)](),_0x21e154&&this[_0x5eebe7(0x100)]['onPointerUp'](new PointerEvent(_0x5eebe7(0x2fb),_0x21e154['event']));}},_0x584a67=class extends _0x3611d5[_0xeb70cf(0x2ab)]{constructor(_0x420f69,_0x1d1e75,_0x75ea94,_0x4c93f3,_0x22d920,_0x1bb86c){const _0x49988a=_0xeb70cf;super(_0x420f69),this[_0x49988a(0x3ac)]=_0x1d1e75,this[_0x49988a(0x1f2)]=_0x75ea94,this['_snapshotKey']=_0x4c93f3,this[_0x49988a(0x2de)]=_0x22d920,this['_requestPaint']=_0x1bb86c;}[_0xeb70cf(0x3d2)](){const _0x18eb75=_0xeb70cf;let _0x167b4d=this[_0x18eb75(0x3ac)]();return _0x167b4d?_0x2c2298(_0x167b4d):null;}[_0xeb70cf(0x2fa)](_0x228c31){const _0x37917c=_0xeb70cf;this[_0x37917c(0x1f2)](_0x228c31);}['nextVersion'](){const _0x1c5eb6=_0xeb70cf;return this['_snapshotStore'][_0x1c5eb6(0xe2)](this[_0x1c5eb6(0x41d)]);}[_0xeb70cf(0x40d)](_0x3d0383,_0x5c9c79){const _0x448803=_0xeb70cf;return this[_0x448803(0x2de)][_0x448803(0x3a5)](this[_0x448803(0x41d)],_0x3d0383,_0x5c9c79);}[_0xeb70cf(0x44e)](){const _0x306afa=_0xeb70cf;this[_0x306afa(0x2b9)]();}[_0xeb70cf(0x313)](){const _0x3f21a5=_0xeb70cf;this[_0x3f21a5(0x2de)][_0x3f21a5(0xe2)](this['_snapshotKey']);}};function _0x16880b(_0x2fbdc0,_0x53f3a2){return function(_0x5b656f,_0xb11ae3){_0x53f3a2(_0x5b656f,_0xb11ae3,_0x2fbdc0);};}function _0x6243e3(_0x265d51,_0x4c7eed,_0x2624a2,_0x276e7b){const _0xbc269c=_0xeb70cf;var _0x461628=arguments[_0xbc269c(0x2d4)],_0x1daedf=_0x461628<0x3?_0x4c7eed:_0x276e7b===null?_0x276e7b=Object['getOwnPropertyDescriptor'](_0x4c7eed,_0x2624a2):_0x276e7b,_0x4e8ada;if(typeof Reflect==_0xbc269c(0x1d7)&&typeof Reflect[_0xbc269c(0x3d0)]==_0xbc269c(0x10a))_0x1daedf=Reflect[_0xbc269c(0x3d0)](_0x265d51,_0x4c7eed,_0x2624a2,_0x276e7b);else{for(var _0x4464a8=_0x265d51[_0xbc269c(0x2d4)]-0x1;_0x4464a8>=0x0;_0x4464a8--)(_0x4e8ada=_0x265d51[_0x4464a8])&&(_0x1daedf=(_0x461628<0x3?_0x4e8ada(_0x1daedf):_0x461628>0x3?_0x4e8ada(_0x4c7eed,_0x2624a2,_0x1daedf):_0x4e8ada(_0x4c7eed,_0x2624a2))||_0x1daedf);}return _0x461628>0x3&&_0x1daedf&&Object['defineProperty'](_0x4c7eed,_0x2624a2,_0x1daedf),_0x1daedf;}let _0x33a946=0.5;function _0x2ba426(_0x400622){const _0x48196e=_0xeb70cf;let _0x337975=Math[_0x48196e(0x15a)](_0x400622[_0x48196e(0x114)]-_0x400622[_0x48196e(0x483)],0x0),_0x1361b7=Math[_0x48196e(0x15a)](_0x400622['endY']-_0x400622[_0x48196e(0x45d)],0x0),_0x9ddec4=_0x400622['absolute']['left']&&_0x400622[_0x48196e(0x323)]-_0x337975>_0x33a946,_0x331c36=_0x400622['absolute'][_0x48196e(0x2f4)]&&_0x400622[_0x48196e(0x1ed)]-_0x1361b7>_0x33a946;return!_0x9ddec4&&!_0x331c36?_0x400622:{..._0x400622,'absolute':{'left':!_0x9ddec4&&_0x400622[_0x48196e(0x495)][_0x48196e(0x2a9)],'top':!_0x331c36&&_0x400622[_0x48196e(0x495)]['top']}};}function _0x3594ec(_0x931b41){const _0x287036=_0xeb70cf;if(!Object['prototype'][_0x287036(0x408)]['call'](_0x931b41,'border'))return _0x931b41;let {border:_0x5ed49a,..._0x1b05e0}=_0x931b41;return{..._0x1b05e0,'stroke':(_0x5ed49a==null?void 0x0:_0x5ed49a[_0x287036(0x396)])??_0x287036(0x2d9),'strokeWidth':(_0x5ed49a==null?void 0x0:_0x5ed49a[_0x287036(0x323)])??0x0};}let _0x1ca0a5=class extends _0x1e7325['Disposable']{constructor(_0x51a7b6,_0x202bac,_0x159661,_0x3ac75e){const _0x37ade6=_0xeb70cf;super(),this[_0x37ade6(0x16c)]=_0x51a7b6,this[_0x37ade6(0x2be)]=_0x202bac,this[_0x37ade6(0x276)]=_0x159661,this[_0x37ade6(0x153)]=_0x3ac75e,_0x1b6fbd(this,_0x37ade6(0x15d),new Map()),_0x1b6fbd(this,'_activeDomReadyChartIds',new Set()),_0x1b6fbd(this,_0x37ade6(0x44b),new _0x24f269['Subject']()),_0x1b6fbd(this,_0x37ade6(0x48a),this[_0x37ade6(0x44b)][_0x37ade6(0x2ad)]()),this[_0x37ade6(0x1e8)](this[_0x37ade6(0x16c)][_0x37ade6(0x144)][_0x37ade6(0x413)](_0x2b6bc9=>{const _0x3f7b35=_0x37ade6;let _0x42825d=this[_0x3f7b35(0x15d)]['get'](_0x2b6bc9['id']);_0x42825d!=null&&_0x42825d['isManaged']()&&(_0x42825d[_0x3f7b35(0x3f8)](),this[_0x3f7b35(0x44b)][_0x3f7b35(0x217)](_0x2b6bc9['id']));}));}[_0xeb70cf(0x2f2)](_0x1f2790){const _0x53ba3e=_0xeb70cf;if(_0x1f2790==null)return;let _0x45d71e=this[_0x53ba3e(0x2be)][_0x53ba3e(0x3a4)](_0x1f2790),_0x364f0e=_0x45d71e==null?void 0x0:_0x45d71e[_0x53ba3e(0x179)];return _0x45d71e==null||_0x364f0e==null?null:{'scene':_0x364f0e,'transformer':_0x364f0e[_0x53ba3e(0x3d9)](),'renderUnit':_0x45d71e,'canvas':_0x45d71e[_0x53ba3e(0x38e)]['getCanvasElement']()};}[_0xeb70cf(0x21d)](_0xd9d6f0,_0x458c94){const _0x311216=_0xeb70cf;let _0xd335fd=this[_0x311216(0x16c)],_0x9ab1c7=_0x458c94||_0x311216(0x2d9),_0x1705c6=_0xd335fd[_0x311216(0x1b2)](_0xd9d6f0);if(_0x1705c6){let {unitId:_0x24c6ff,subUnitId:_0x405202}=_0x1705c6;_0xd335fd['updateFloatDomProps'](_0x24c6ff,_0x405202,_0xd9d6f0,{'stroke':_0x9ab1c7});}}['setHostStyle'](_0x2be904,_0x25c9a3){const _0x34b7c4=_0xeb70cf;let _0x21f6d3=this[_0x34b7c4(0x16c)],_0x35c37b=_0x21f6d3['getFloatDomInfo'](_0x2be904);if(_0x35c37b){let {unitId:_0x24c5ca,subUnitId:_0xb0dc5b}=_0x35c37b;_0x21f6d3[_0x34b7c4(0x437)](_0x24c5ca,_0xb0dc5b,_0x2be904,_0x3594ec(_0x25c9a3));}}[_0xeb70cf(0x223)](_0xe4a762){const _0x4fc7be=_0xeb70cf;let _0x4da227=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xe4a762);return _0x4da227?_0x4da227[_0x4fc7be(0x47b)]:null;}['getHostClientRect'](_0x5cbe42){const _0x5d1468=_0xeb70cf;let _0x28fb9d=this[_0x5d1468(0x16c)][_0x5d1468(0x1b2)](_0x5cbe42),_0x24f9a6=document[_0x5d1468(0x302)]((_0x28fb9d==null?void 0x0:_0x28fb9d[_0x5d1468(0x117)])??_0x5cbe42);return(_0x24f9a6==null?void 0x0:_0x24f9a6[_0x5d1468(0x464)]())??null;}[_0xeb70cf(0x4b8)](_0x839d54,_0x55bbf4){const _0x11c296=_0xeb70cf;var _0x2cd167;(_0x2cd167=this[_0x11c296(0x15d)][_0x11c296(0x360)](_0x839d54))==null||_0x2cd167[_0x11c296(0x4b8)](_0x55bbf4);}[_0xeb70cf(0x1f0)](_0x246ca3){const _0x4d529f=_0xeb70cf;var _0xa98817;return((_0xa98817=this[_0x4d529f(0x15d)][_0x4d529f(0x360)](_0x246ca3))==null?void 0x0:_0xa98817['checkMounted']())??!0x1;}[_0xeb70cf(0x120)](_0x3828ca){const _0x26b47f=_0xeb70cf;var _0x5b8cd2;(_0x5b8cd2=this['_chartHostMap'][_0x26b47f(0x360)](_0x3828ca))==null||_0x5b8cd2[_0x26b47f(0x1a5)]();}[_0xeb70cf(0x354)](_0x4009d7){const _0x4b99e7=_0xeb70cf;let _0x4be1c9=this[_0x4b99e7(0x15d)]['get'](_0x4009d7);_0x4be1c9&&(_0x4be1c9[_0x4b99e7(0x151)](),this['_canvasFloatDomService']['updateFloatDom'](_0x4009d7,{'eventPassThrough':!0x0})),this['_chartHostMap']['delete'](_0x4009d7);}async[_0xeb70cf(0x18d)](_0x3aea64,_0x306f84){const _0x50b136=_0xeb70cf;if(_0x306f84===_0x3611d5[_0x50b136(0x465)][_0x50b136(0x40f)])return this['_createImageChartHost'](_0x3aea64);if(_0x306f84===_0x3611d5['ChartRenderMode']['Dom'])return this[_0x50b136(0x3d5)](_0x3aea64);let _0x3c6880=this[_0x50b136(0x3d5)](_0x3aea64);if(!_0x3c6880)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x3c6880[_0x50b136(0x2ca)]();}['isDomReady'](_0x15a1a8){const _0x5338e0=_0xeb70cf;var _0x153115;return this[_0x5338e0(0x18a)][_0x5338e0(0x4af)](_0x15a1a8)?(_0x153115=this['_chartHostMap'][_0x5338e0(0x360)](_0x15a1a8))!=null&&_0x153115[_0x5338e0(0x13d)]()?!0x0:(this[_0x5338e0(0x18a)][_0x5338e0(0x339)](_0x15a1a8),this[_0x5338e0(0x38d)](_0x15a1a8),!0x1):!0x1;}['markHostNotReady'](_0xdeb908){const _0x8bb399=_0xeb70cf;this['_activeDomReadyChartIds'][_0x8bb399(0x339)](_0xdeb908)&&(this[_0x8bb399(0x38d)](_0xdeb908),this[_0x8bb399(0x338)](_0xdeb908));}[_0xeb70cf(0x313)](_0x188a4f){const _0x16ae26=_0xeb70cf;let _0x3b50f7=this[_0x16ae26(0x1e3)](_0x188a4f);_0x3b50f7&&this[_0x16ae26(0x276)][_0x16ae26(0xe2)](_0x3b50f7);}['_createImageChartHost'](_0x34b364){const _0x4eb645=_0xeb70cf;let _0x16fae1=this[_0x4eb645(0x1e3)](_0x34b364);return!_0x16fae1||!this[_0x4eb645(0x223)](_0x34b364)?null:new _0x584a67(_0x34b364,()=>this['getHostSize'](_0x34b364),_0x502d62=>this['setHostStyle'](_0x34b364,_0x502d62),_0x16fae1,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x34b364));}[_0xeb70cf(0x3d5)](_0x1b3ea8){const _0xcfb116=_0xeb70cf;if(!this[_0xcfb116(0x223)](_0x1b3ea8))return null;this[_0xcfb116(0x153)]['updateFloatDom'](_0x1b3ea8,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x19b9c6=this[_0xcfb116(0x15d)][_0xcfb116(0x360)](_0x1b3ea8);if(_0x19b9c6)return _0x19b9c6;let _0x30c6d=new _0x2e9297(_0x1b3ea8,()=>this[_0xcfb116(0x16c)]['getFloatDomInfo'](_0x1b3ea8),()=>this[_0xcfb116(0x44c)](_0x1b3ea8),_0x107c9c=>this[_0xcfb116(0xd1)](_0x1b3ea8,_0x107c9c),()=>this[_0xcfb116(0x2c1)],()=>this[_0xcfb116(0x2d3)](_0x1b3ea8),()=>this[_0xcfb116(0x39c)](_0x1b3ea8),_0x3c3ac7=>this[_0xcfb116(0x2c6)](_0x1b3ea8,_0x3c3ac7));return this[_0xcfb116(0x15d)][_0xcfb116(0x130)](_0x1b3ea8,_0x30c6d),_0x30c6d;}[_0xeb70cf(0x2c6)](_0x171e59,_0x28baea){const _0x23ba21=_0xeb70cf;var _0x16af0b;let _0x44420c=this[_0x23ba21(0x16c)][_0x23ba21(0x1b2)](_0x171e59),_0x5e02c5=(_0x16af0b=this[_0x23ba21(0x153)][_0x23ba21(0x123)][_0x23ba21(0x371)](([_0x323fe6])=>_0x323fe6===_0x171e59))==null?void 0x0:_0x16af0b[0x1],_0xa47437=_0x44420c?this['_getSceneAndTransformerByDrawingSearch'](_0x44420c[_0x23ba21(0xfa)]):null;if(!_0x44420c||!_0x5e02c5||!_0xa47437)return(0x0,_0x1e7325['toDisposable'])(()=>{});let _0x532a85=(0x0,_0x39bdba[_0x23ba21(0x43f)])({'unitId':_0x44420c[_0x23ba21(0xfa)],'subUnitId':_0x44420c[_0x23ba21(0x331)],'drawingId':_0x171e59});return new _0x6845c3(_0x28baea,{'onPointerDown':_0x5e02c5['onPointerDown'],'onPointerMove':_0x5e02c5[_0x23ba21(0x24e)],'onPointerUp':_0x5e02c5['onPointerUp']},_0xa47437[_0x23ba21(0x3fa)]['changing$'][_0x23ba21(0x2cf)]((0x0,_0x24f269[_0x23ba21(0x34a)])(_0x5f31ee=>_0x5f31ee[_0x23ba21(0x4a7)]['has'](_0x532a85)&&((_0x5f31ee[_0x23ba21(0x285)]??0x0)!==0x0||(_0x5f31ee[_0x23ba21(0x134)]??0x0)!==0x0))),_0x1ed33f=>this['_canvasFloatDomService'][_0x23ba21(0x1e5)](_0x171e59,_0x1ed33f));}[_0xeb70cf(0x2d3)](_0x5e8427){const _0x3f0d11=_0xeb70cf;this[_0x3f0d11(0x18a)][_0x3f0d11(0x4af)](_0x5e8427)||(this[_0x3f0d11(0x18a)][_0x3f0d11(0x2a8)](_0x5e8427),this[_0x3f0d11(0x18f)](_0x5e8427),this[_0x3f0d11(0x338)](_0x5e8427));}[_0xeb70cf(0x18f)](_0x116f91){const _0x24ae8e=_0xeb70cf;var _0x327054;let _0x554bc5=this[_0x24ae8e(0x16c)][_0x24ae8e(0x1b2)](_0x116f91),_0x5e3cd9=_0x554bc5?(_0x327054=this[_0x24ae8e(0x2be)]['getRenderUnitById'](_0x554bc5[_0x24ae8e(0xfa)]))==null?void 0x0:_0x327054[_0x24ae8e(0x179)]:null;if(!_0x554bc5||!_0x5e3cd9)return;let _0x120c0a=(0x0,_0x24f269[_0x24ae8e(0x2e6)])(_0x554bc5[_0x24ae8e(0x448)][_0x24ae8e(0x2cf)]((0x0,_0x24f269['take'])(0x1)),_0x5e3cd9['afterRender$'][_0x24ae8e(0x2cf)]((0x0,_0x24f269[_0x24ae8e(0x480)])(_0x554bc5['position$']),(0x0,_0x24f269['map'])(([,_0x54d66a])=>_0x54d66a)))[_0x24ae8e(0x2cf)]((0x0,_0x24f269[_0x24ae8e(0x477)])(),(0x0,_0x24f269['map'])(_0x2ba426));this[_0x24ae8e(0x153)]['updateFloatDom'](_0x116f91,{'position$':_0x120c0a});}[_0xeb70cf(0x38d)](_0x2a0ab0){const _0x30dec5=_0xeb70cf;let _0x1c3b8e=this['_sheetCanvasFloatDomManagerService'][_0x30dec5(0x1b2)](_0x2a0ab0);_0x1c3b8e&&this['_canvasFloatDomService'][_0x30dec5(0x1e5)](_0x2a0ab0,{'position$':_0x1c3b8e[_0x30dec5(0x448)]});}[_0xeb70cf(0x1e3)](_0xe30e15){const _0x1c570a=_0xeb70cf;let _0x1305a2=this[_0x1c570a(0x16c)][_0x1c570a(0x1b2)](_0xe30e15);return _0x1305a2?{'unitId':_0x1305a2[_0x1c570a(0xfa)],'subUnitId':_0x1305a2[_0x1c570a(0x331)],'chartId':_0xe30e15}:null;}[_0xeb70cf(0x338)](_0x460ede){const _0x3553aa=_0xeb70cf;var _0x3735dd,_0x362fac,_0x53723d;let _0x10ef8c=this[_0x3553aa(0x16c)][_0x3553aa(0x1b2)](_0x460ede);if(!_0x10ef8c)return;let _0x31de21=(_0x3735dd=this[_0x3553aa(0x2be)][_0x3553aa(0x3a4)](_0x10ef8c[_0x3553aa(0xfa)]))==null?void 0x0:_0x3735dd[_0x3553aa(0x179)],_0x2e2902=(_0x31de21==null||(_0x362fac=_0x31de21[_0x3553aa(0x4b6)])==null?void 0x0:_0x362fac[_0x3553aa(0x479)](_0x31de21,(0x0,_0x39bdba[_0x3553aa(0x43f)])({'unitId':_0x10ef8c[_0x3553aa(0xfa)],'subUnitId':_0x10ef8c[_0x3553aa(0x331)],'drawingId':_0x460ede})))??(_0x31de21==null?void 0x0:_0x31de21[_0x3553aa(0x347)]((0x0,_0x39bdba[_0x3553aa(0x43f)])({'unitId':_0x10ef8c[_0x3553aa(0xfa)],'subUnitId':_0x10ef8c[_0x3553aa(0x331)],'drawingId':_0x460ede})))??null;_0x2e2902==null||(_0x53723d=_0x2e2902[_0x3553aa(0x211)])==null||_0x53723d[_0x3553aa(0x479)](_0x2e2902,!0x0),_0x31de21==null||_0x31de21[_0x3553aa(0x211)](!0x0);}['_getHostPlacement'](_0x25fb3d){const _0x5a0f32=_0xeb70cf;let _0x4e970b=this['_sheetCanvasFloatDomManagerService'][_0x5a0f32(0x1b2)](_0x25fb3d);if(!_0x4e970b)return null;let _0x25bf34=this[_0x5a0f32(0x2f2)](_0x4e970b[_0x5a0f32(0xfa)]),_0x2dccce=_0x25bf34==null?void 0x0:_0x25bf34[_0x5a0f32(0x179)],_0xb72e18=document[_0x5a0f32(0x302)](_0x4e970b[_0x5a0f32(0x117)]??_0x25fb3d);return _0x5773c3(_0x4e970b[_0x5a0f32(0x47b)],{'scaleX':(_0x2dccce==null?void 0x0:_0x2dccce[_0x5a0f32(0x26c)])??0x1,'scaleY':(_0x2dccce==null?void 0x0:_0x2dccce[_0x5a0f32(0x1ad)])??0x1},_0xb72e18?{'left':_0xb72e18[_0x5a0f32(0x4b3)],'top':_0xb72e18['offsetTop']}:void 0x0);}[_0xeb70cf(0x151)](){const _0xaad4ec=_0xeb70cf;this[_0xaad4ec(0x2c1)]||(Array[_0xaad4ec(0x240)](this[_0xaad4ec(0x15d)][_0xaad4ec(0x19e)]())[_0xaad4ec(0x332)](_0x28b2fd=>this['removeHost'](_0x28b2fd)),this[_0xaad4ec(0x18a)][_0xaad4ec(0x3b6)](),this[_0xaad4ec(0x44b)][_0xaad4ec(0x1e6)](),super[_0xaad4ec(0x151)]());}};_0x1ca0a5=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4fef78[_0xeb70cf(0x3d7)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x36a856)),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['CanvasFloatDomService']))],_0x1ca0a5);let _0x46b74e=(0x0,_0x1e7325[_0xeb70cf(0x22f)])('sheets-chart-ui.host.provider'),_0x12415b=_0x3611d5[_0xeb70cf(0x465)]['Image'];var _0xda5c6b=class extends _0x3611d5['ImageChartHost']{constructor(_0x3b80c8,_0x2f49b0){const _0x2694a3=_0xeb70cf;super(_0x3b80c8),this[_0x2694a3(0x23d)]=_0x2f49b0,_0x1b6fbd(this,_0x2694a3(0x2bc),0x0),_0x1b6fbd(this,_0x2694a3(0x14e),void 0x0),_0x1b6fbd(this,_0x2694a3(0x4b9),{});}[_0xeb70cf(0x3d2)](){const _0x5aab38=_0xeb70cf;return this[_0x5aab38(0x23d)];}['setStyle'](_0x584b74){this['style']=_0x584b74;}[_0xeb70cf(0xe2)](){const _0x1cefbe=_0xeb70cf;return++this[_0x1cefbe(0x2bc)];}[_0xeb70cf(0x40d)](_0x57fef0,_0x18371d){const _0x5e50d0=_0xeb70cf;return _0x18371d===this[_0x5e50d0(0x2bc)]?(_0x500cb6(this[_0x5e50d0(0x14e)]),this[_0x5e50d0(0x14e)]=_0x57fef0,!0x0):(_0x500cb6(_0x57fef0),!0x1);}[_0xeb70cf(0x44e)](){}[_0xeb70cf(0x313)](){const _0x1c821a=_0xeb70cf;this[_0x1c821a(0x2bc)]+=0x1;}[_0xeb70cf(0x238)](){const _0x4d8773=_0xeb70cf;let _0x882a88=this[_0x4d8773(0x14e)];return this[_0x4d8773(0x14e)]=void 0x0,_0x882a88;}[_0xeb70cf(0x151)](){const _0x3b0b47=_0xeb70cf;_0x500cb6(this[_0x3b0b47(0x14e)]),this[_0x3b0b47(0x14e)]=void 0x0,super['dispose']();}};function _0x1fd4bd(_0x49ab7b,_0xe6fedb,_0x2ae3eb){const _0x53d682=_0xeb70cf;let _0x2c38bf=_0x49ab7b[_0x53d682(0x163)](_0xe6fedb),_0x569e8b={..._0x49ab7b[_0x53d682(0x4b9)],'runtime':{..._0x2c38bf,'layoutInset':0x8,..._0x2ae3eb===void 0x0?{}:{'addWatermark':_0x2ae3eb}},'direction':_0xe6fedb};return(0x0,_0x3611d5[_0x53d682(0x22a)])(_0x569e8b,_0x49ab7b['chartType']);}let _0x114834=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x428ca9,_0x489c49,_0x314190,_0x160cce,_0x5c4367,_0x245787,_0x46d59e,_0x5f269f,_0x50be95,_0x181c73,_0x1c522c,_0xe8474f,_0x403d28){const _0x33ee3c=_0xeb70cf;super(),this['_chartHostProvider']=_0x428ca9,this[_0x33ee3c(0x16c)]=_0x489c49,this[_0x33ee3c(0x3ea)]=_0x314190,this['_drawingManagerService']=_0x160cce,this['_univerInstanceService']=_0x5c4367,this['_renderManagerService']=_0x245787,this[_0x33ee3c(0x133)]=_0x46d59e,this['_injector']=_0x5f269f,this[_0x33ee3c(0x39e)]=_0x50be95,this[_0x33ee3c(0x3eb)]=_0x181c73,this[_0x33ee3c(0x1fc)]=_0x1c522c,this['_chartSnapshotStoreService']=_0xe8474f,this[_0x33ee3c(0x468)]=_0x403d28,_0x1b6fbd(this,_0x33ee3c(0x343),new Map()),_0x1b6fbd(this,_0x33ee3c(0x3a9),new Map()),_0x1b6fbd(this,_0x33ee3c(0x247),new Map()),_0x1b6fbd(this,_0x33ee3c(0x2a0),new Map()),_0x1b6fbd(this,_0x33ee3c(0x497),new Map()),_0x1b6fbd(this,_0x33ee3c(0x293),new Map()),_0x1b6fbd(this,_0x33ee3c(0x2cd),new Map()),_0x1b6fbd(this,'_chartRenderMode',void 0x0),_0x1b6fbd(this,'_addWatermark',void 0x0),_0x1b6fbd(this,_0x33ee3c(0x1e1),new Map()),_0x1b6fbd(this,_0x33ee3c(0x454),new Set()),_0x1b6fbd(this,_0x33ee3c(0x4b2),new Map()),_0x1b6fbd(this,'_activeChartId',null),_0x1b6fbd(this,'_lastActiveSheet',null);let _0x5c9c5d=(0x0,_0x5979b3[_0x33ee3c(0x12b)])(this[_0x33ee3c(0x26d)]),_0x26fbf3=this['_configService'][_0x33ee3c(0xe5)](_0x5979b3[_0x33ee3c(0xf6)]);this[_0x33ee3c(0x349)]=(_0x26fbf3==null?void 0x0:_0x26fbf3[_0x33ee3c(0x25b)])??_0x12415b,this[_0x33ee3c(0x3ce)]=_0x5c9c5d['length']!==0x1||_0x5c9c5d[0x0]!=='all',this[_0x33ee3c(0x3af)](),this['_initActiveChartModelListener'](),this[_0x33ee3c(0x2ba)](),this[_0x33ee3c(0x373)](),this[_0x33ee3c(0x486)]();}[_0xeb70cf(0xc9)](_0x22afe3){const _0x302a4c=_0xeb70cf;let _0x1089d6=this[_0x302a4c(0x1e3)](_0x22afe3);return _0x1089d6?this['_chartSnapshotStoreService'][_0x302a4c(0x418)](_0x1089d6):void 0x0;}['_resolveChartRenderMode'](_0x554a49){const _0xb58375=_0xeb70cf;var _0xfb8976;return((_0xfb8976=this['_chartModelService'][_0xb58375(0xea)])==null?void 0x0:_0xfb8976['id'])===_0x554a49?_0x3611d5[_0xb58375(0x465)][_0xb58375(0x3f6)]:this[_0xb58375(0x349)];}[_0xeb70cf(0x1e3)](_0x5708ba){const _0x2a0338=_0xeb70cf;let _0x25e9ee=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x5708ba);return _0x25e9ee?{'unitId':_0x25e9ee['unitId'],'subUnitId':_0x25e9ee[_0x2a0338(0x331)],'chartId':_0x5708ba}:null;}[_0xeb70cf(0x3af)](){const _0x508224=_0xeb70cf;this[_0x508224(0x349)]===_0x3611d5[_0x508224(0x465)][_0x508224(0x40f)]&&this[_0x508224(0x1e8)](this[_0x508224(0x16c)][_0x508224(0x3bf)](_0x1e7325[_0x508224(0x28f)][_0x508224(0x1c3)],({key:_0xc278ee,config:_0x2fcf6c,unitId:_0x1a3682,subUnitId:_0xd9b994,drawingId:_0x3e687d})=>new _0x391a42(_0xc278ee,_0x2fcf6c,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x1a3682,'subUnitId':_0xd9b994,'chartId':_0x3e687d}),()=>this[_0x508224(0x14a)][_0x508224(0x4ad)](_0x3e687d))));}[_0xeb70cf(0x1df)](){const _0x167953=_0xeb70cf;this[_0x167953(0x1e8)](this[_0x167953(0x3ea)]['activeChartModel$'][_0x167953(0x413)](_0x2c76a3=>{const _0x18c3e5=_0x167953;let _0x389115=(_0x2c76a3==null?void 0x0:_0x2c76a3['id'])??null,_0x446865=this[_0x18c3e5(0x1fa)];_0x446865!==_0x389115&&(_0x446865&&(this[_0x18c3e5(0x14a)]['markHostNotReady'](_0x446865),this[_0x18c3e5(0x14d)](_0x446865),this[_0x18c3e5(0x3b2)](_0x446865)),this['_activeChartId']=_0x389115,_0x389115&&(this[_0x18c3e5(0x2af)](_0x389115),this['_chartHostProvider'][_0x18c3e5(0x39c)](_0x389115),this[_0x18c3e5(0x3ed)](_0x389115),this[_0x18c3e5(0x2d2)](_0x389115)));}));}[_0xeb70cf(0x2ba)](){const _0x24daad=_0xeb70cf;this[_0x24daad(0x1e8)](this['_drawingManagerService'][_0x24daad(0x2e0)]['subscribe'](_0x4204de=>{const _0x30052d=_0x24daad;var _0x2f7de5;let _0x241454=(_0x2f7de5=this[_0x30052d(0x3ea)][_0x30052d(0xea)])==null?void 0x0:_0x2f7de5['id'];_0x241454&&_0x4204de['some'](_0x6488e1=>_0x6488e1[_0x30052d(0x140)][_0x30052d(0x12c)](_0x30aa23=>_0x30aa23[_0x30052d(0xef)]===_0x241454))&&this[_0x30052d(0x3ea)][_0x30052d(0x128)](null);})),this[_0x24daad(0x1e8)](this[_0x24daad(0x3f7)]['featurePluginUngroupUpdate$'][_0x24daad(0x413)](_0xf8ae2c=>{const _0x5c079b=_0x24daad;var _0x4fb1bb;let _0x21958c=(_0x4fb1bb=this[_0x5c079b(0x3ea)][_0x5c079b(0xea)])==null?void 0x0:_0x4fb1bb['id'];_0x21958c&&_0xf8ae2c['some'](_0x1a2571=>_0x1a2571['parent'][_0x5c079b(0xef)]===_0x21958c||_0x1a2571[_0x5c079b(0x140)][_0x5c079b(0x12c)](_0x5a1cf9=>_0x5a1cf9[_0x5c079b(0xef)]===_0x21958c))&&this[_0x5c079b(0x3ea)]['setActiveChartModel'](null);}));}[_0xeb70cf(0x373)](){const _0x555c42=_0xeb70cf;this[_0x555c42(0x1e8)](this[_0x555c42(0x3f7)][_0x555c42(0x263)][_0x555c42(0x413)](_0x2f4a75=>{const _0xd1698c=_0x555c42;var _0x4ce54d;let _0x2d68f2=(_0x4ce54d=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x4ce54d['id'];if(!_0x2d68f2){_0x2f4a75[_0xd1698c(0x31f)]['forEach'](_0x480f8a=>{const _0x141463=_0xd1698c;this['_chartModelService'][_0x141463(0x316)](_0x480f8a)&&this[_0x141463(0x14d)](_0x480f8a);});return;}let _0x322795=this['_sheetCanvasFloatDomManagerService'][_0xd1698c(0x1b2)](_0x2d68f2);(_0x322795==null?void 0x0:_0x322795[_0xd1698c(0xfa)])===_0x2f4a75[_0xd1698c(0xfa)]&&_0x322795[_0xd1698c(0x331)]===_0x2f4a75[_0xd1698c(0x331)]&&this[_0xd1698c(0x3ed)](_0x2d68f2);})),this['disposeWithMe'](this[_0x555c42(0x3f7)][_0x555c42(0x245)][_0x555c42(0x413)](_0x5c360b=>{const _0x2e9dc0=_0x555c42;var _0x2274c3;let _0x365da8=(_0x2274c3=this[_0x2e9dc0(0x3ea)][_0x2e9dc0(0xea)])==null?void 0x0:_0x2274c3['id'];if(!_0x365da8)return;let _0x17780e=this[_0x2e9dc0(0x16c)][_0x2e9dc0(0x1b2)](_0x365da8);_0x17780e&&_0x5c360b[_0x2e9dc0(0x12c)](_0x2701d8=>_0x2701d8[_0x2e9dc0(0xfa)]===_0x17780e[_0x2e9dc0(0xfa)]&&_0x2701d8[_0x2e9dc0(0x331)]===_0x17780e['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x365da8);})),this[_0x555c42(0x1e8)](this[_0x555c42(0x3ea)][_0x555c42(0x2e9)][_0x555c42(0x413)](_0xcefcc2=>{const _0x567485=_0x555c42;var _0x1081d1;this[_0x567485(0x124)](_0xcefcc2),this[_0x567485(0x31b)](_0xcefcc2),this[_0x567485(0x3a9)]['delete'](_0xcefcc2),this[_0x567485(0x2af)](_0xcefcc2),this[_0x567485(0x1e1)][_0x567485(0x339)](_0xcefcc2),this[_0x567485(0x276)][_0x567485(0x231)](_0xcefcc2),this[_0x567485(0x328)](_0xcefcc2),this['_chartHostProvider'][_0x567485(0x39c)](_0xcefcc2),((_0x1081d1=this[_0x567485(0x3ea)][_0x567485(0xea)])==null?void 0x0:_0x1081d1['id'])===_0xcefcc2?this[_0x567485(0x3ea)][_0x567485(0x128)](null):this[_0x567485(0x14d)](_0xcefcc2),this['_disposeChartRenderInstance'](_0xcefcc2);}));}['_rerenderLatest'](_0x177366){const _0x4dba5d=_0xeb70cf;let _0x366231=this[_0x4dba5d(0x1e1)][_0x4dba5d(0x360)](_0x177366);_0x366231&&this[_0x4dba5d(0x37d)](_0x177366,_0x366231[_0x4dba5d(0x207)],_0x366231[_0x4dba5d(0x4b9)]);}['_disposeChartDomInstance'](_0x3cc044){const _0x15e453=_0xeb70cf;let _0x5c81aa=this[_0x15e453(0x343)][_0x15e453(0x360)](_0x3cc044);(_0x5c81aa==null?void 0x0:_0x5c81aa[_0x15e453(0x170)])==='dom'&&(this[_0x15e453(0x31b)](_0x3cc044),_0x5c81aa['dispose'](),this[_0x15e453(0x343)][_0x15e453(0x339)](_0x3cc044)),this[_0x15e453(0x14a)]['markHostNotReady'](_0x3cc044),this[_0x15e453(0x14a)]['removeHost'](_0x3cc044);}['_disposeChartRenderInstance'](_0x279cfb){const _0x3f0ec7=_0xeb70cf;let _0x1befe7=this[_0x3f0ec7(0x343)][_0x3f0ec7(0x360)](_0x279cfb);_0x1befe7&&(this[_0x3f0ec7(0x31b)](_0x279cfb),_0x1befe7[_0x3f0ec7(0x151)](),this['_chartInstanceMap']['delete'](_0x279cfb)),this[_0x3f0ec7(0x14a)][_0x3f0ec7(0x39c)](_0x279cfb),this[_0x3f0ec7(0x14a)][_0x3f0ec7(0x354)](_0x279cfb);}[_0xeb70cf(0x328)](_0x48c02e){const _0x5b3361=_0xeb70cf;var _0x4c5a38,_0x2a7446;(_0x4c5a38=this[_0x5b3361(0x468)][_0x5b3361(0xc7)](_0x3611d5[_0x5b3361(0x214)]))==null||(_0x2a7446=_0x4c5a38[_0x5b3361(0x103)])==null||_0x2a7446[_0x5b3361(0x479)](_0x4c5a38,{'type':_0x5b3361(0x4ae),'chartId':_0x48c02e});}['_notifySheetChartsDetached'](_0x51dedd,_0x4309ec){const _0x2ac02e=_0xeb70cf;let _0x14c2c4=this[_0x2ac02e(0x3f7)][_0x2ac02e(0x180)](_0x51dedd,_0x4309ec);Object[_0x2ac02e(0x1a8)](_0x14c2c4??{})['forEach'](_0x1c6caf=>{const _0xef7a0=_0x2ac02e;if(_0x1c6caf[_0xef7a0(0x209)]===_0x1e7325['DrawingTypeEnum'][_0xef7a0(0x1c3)]){var _0x1aa9af,_0x567740;(_0x1aa9af=this['_renderModelManager'][_0xef7a0(0xc7)](_0x3611d5[_0xef7a0(0x214)]))==null||(_0x567740=_0x1aa9af[_0xef7a0(0x103)])==null||_0x567740['call'](_0x1aa9af,{'type':'detach','chartId':_0x1c6caf['drawingId']});}});}[_0xeb70cf(0x1aa)](_0x4d7979,_0x4637f5){const _0x424ea4=_0xeb70cf;var _0x1dbf8a;return((_0x1dbf8a=_0x4d7979[_0x424ea4(0x4b6)])==null?void 0x0:_0x1dbf8a[_0x424ea4(0x479)](_0x4d7979,_0x4637f5))??_0x4d7979[_0x424ea4(0x347)](_0x4637f5)??null;}['_getChartRenderObjectContext'](_0x416e29){const _0x1bcfa7=_0xeb70cf;var _0x12915d;let _0x34ab65=this[_0x1bcfa7(0x16c)][_0x1bcfa7(0x1b2)](_0x416e29);if(!_0x34ab65)return null;let _0xfc09df=(_0x12915d=this[_0x1bcfa7(0x2be)]['getRenderUnitById'](_0x34ab65[_0x1bcfa7(0xfa)]))==null?void 0x0:_0x12915d[_0x1bcfa7(0x179)];if(!_0xfc09df)return null;let _0x563ae5=this[_0x1bcfa7(0x1aa)](_0xfc09df,(0x0,_0x39bdba[_0x1bcfa7(0x43f)])({'unitId':_0x34ab65['unitId'],'subUnitId':_0x34ab65[_0x1bcfa7(0x331)],'drawingId':_0x416e29}));return _0x563ae5?{'info':_0x34ab65,'scene':_0xfc09df,'chartObject':_0x563ae5}:null;}[_0xeb70cf(0x116)](_0x5dbc5f,_0x1732cf){const _0x28b15e=_0xeb70cf;var _0x529975,_0x155320,_0x3937d9,_0x582a9a;let _0x5781eb=this[_0x28b15e(0x2b4)](_0x5dbc5f);_0x5781eb&&((_0x529975=(_0x155320=_0x5781eb[_0x28b15e(0x11a)])[_0x28b15e(0x362)])==null||_0x529975[_0x28b15e(0x479)](_0x155320,{'zIndex':_0x1732cf}),(_0x3937d9=(_0x582a9a=_0x5781eb[_0x28b15e(0x11a)])[_0x28b15e(0x211)])==null||_0x3937d9[_0x28b15e(0x479)](_0x582a9a,!0x0),_0x5781eb[_0x28b15e(0x179)]['makeDirty'](!0x0));}[_0xeb70cf(0x3ed)](_0x2369fd){const _0x5ad81a=_0xeb70cf;let _0x3c6520=this['_sheetCanvasFloatDomManagerService'][_0x5ad81a(0x1b2)](_0x2369fd);if(!_0x3c6520)return;let _0x1c8b12=this[_0x5ad81a(0x3f7)][_0x5ad81a(0xc8)](_0x3c6520[_0x5ad81a(0xfa)],_0x3c6520[_0x5ad81a(0x331)]);this[_0x5ad81a(0x116)](_0x2369fd,_0x1c8b12[_0x5ad81a(0x2d4)]);}[_0xeb70cf(0x14d)](_0x376405){const _0x5d258c=_0xeb70cf;let _0x1b6ae0=this[_0x5d258c(0x16c)][_0x5d258c(0x1b2)](_0x376405);if(!_0x1b6ae0)return;let _0x409936=this[_0x5d258c(0x3f7)][_0x5d258c(0xc8)](_0x1b6ae0['unitId'],_0x1b6ae0['subUnitId']),_0x3bfc43=_0x409936[_0x5d258c(0x3e1)](_0x376405);this[_0x5d258c(0x116)](_0x376405,_0x3bfc43===-0x1?Math['max'](_0x409936['length']-0x1,0x0):_0x3bfc43);}[_0xeb70cf(0x11c)](_0x2f7107,_0xe11620){const _0x3e803e=_0xeb70cf;let _0x1adf7f=this[_0x3e803e(0x16c)][_0x3e803e(0x1b2)](_0x2f7107);if(_0xe11620[_0x3e803e(0x323)]!==void 0x0&&_0xe11620[_0x3e803e(0x1ed)]!==void 0x0&&_0x1adf7f){var _0x311d33;let {subUnitId:_0x248c7d}=_0x1adf7f,_0x901f82=(_0x311d33=this['_univerInstanceService'][_0x3e803e(0x428)](_0x1e7325[_0x3e803e(0x3b8)][_0x3e803e(0x41f)]))==null?void 0x0:_0x311d33['getActiveSheet']();if((_0x901f82==null?void 0x0:_0x901f82['getSheetId']())===_0x248c7d){let {width:_0x1221c5,height:_0xe13a03}=_0xe11620,_0x2d8605=this[_0x3e803e(0x3ea)][_0x3e803e(0x316)](_0x2f7107),_0x347349=_0x2d8605==null?void 0x0:_0x2d8605[_0x3e803e(0x4b9)];(Math[_0x3e803e(0x35b)](_0x1221c5-((_0x347349==null?void 0x0:_0x347349[_0x3e803e(0x323)])||0x0))>0x1||Math[_0x3e803e(0x35b)](_0xe13a03-((_0x347349==null?void 0x0:_0x347349[_0x3e803e(0x1ed)])||0x0))>0x1)&&(_0x2d8605==null||_0x2d8605[_0x3e803e(0x398)]({..._0x347349,'width':_0x1221c5,'height':_0xe13a03}));}}}[_0xeb70cf(0xf7)](_0xf4096f,_0x219169,_0x5b3174=0x0){const _0x33fdd2=_0xeb70cf;let _0x3a4002=this[_0x33fdd2(0x293)]['get'](_0xf4096f);_0x3a4002||(_0x3a4002=(0x0,_0x1e7325[_0x33fdd2(0x320)])(_0x32179e=>{const _0x2d1f5c=_0x33fdd2;this[_0x2d1f5c(0x11c)](_0xf4096f,_0x32179e);},_0x5b3174),this[_0x33fdd2(0x293)]['set'](_0xf4096f,_0x3a4002)),_0x3a4002(_0x219169);}[_0xeb70cf(0x486)](){const _0x2fa4e4=_0xeb70cf;let _0x1d0a3a=this[_0x2fa4e4(0x497)],_0x257b4b=_0x41967e=>{const _0x3e299e=_0x2fa4e4;if(!_0x1d0a3a[_0x3e299e(0x4af)](_0x41967e)){let _0x201073=(0x0,_0x1e7325[_0x3e299e(0x320)])((_0x5212ed,_0x5671df,_0x1ef54d,_0x298829)=>{const _0x535559=_0x3e299e;var _0x3d8d51,_0x157ed3;if(!_0x1ef54d)return;(_0x3d8d51=_0x1ef54d['category'])==null||_0x3d8d51[_0x535559(0xdd)]['forEach']((_0x49e173,_0x320b70)=>{const _0x653671=_0x535559;_0x49e173[_0x653671(0x3bd)]||=this['_localeService']['t']('sheets-chart-ui.common.category')+'\x20'+(_0x320b70+0x1);}),_0x1ef54d[_0x535559(0x1f9)][_0x535559(0x332)]((_0x2f519d,_0x2adfef)=>{const _0x2b29ea=_0x535559;_0x2f519d['name']||=this[_0x2b29ea(0x133)]['t'](_0x2b29ea(0x39b))+'\x20'+(_0x2adfef+0x1);});let _0x282c54=this[_0x535559(0x23f)](_0x5212ed,_0x298829),_0x4bbac5=(_0x157ed3=this[_0x535559(0x42c)][_0x535559(0x428)](_0x1e7325[_0x535559(0x3b8)]['UNIVER_SHEET']))==null?void 0x0:_0x157ed3[_0x535559(0x25e)]();(_0x4bbac5==null?void 0x0:_0x4bbac5[_0x535559(0x473)]())===_0x5671df&&this[_0x535559(0x37d)](_0x5212ed['id'],_0x1ef54d,_0x282c54);},0x11);_0x1d0a3a['set'](_0x41967e,_0x201073);}return _0x1d0a3a[_0x3e299e(0x360)](_0x41967e);};this[_0x2fa4e4(0x1e8)](this[_0x2fa4e4(0x42c)]['focused$']['subscribe'](_0x588029=>{const _0x3912ea=_0x2fa4e4;let _0x1e4bfe=this[_0x3912ea(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x3912ea(0x3b8)][_0x3912ea(0x41f)]);if(_0x588029&&_0x1e4bfe&&_0x1e4bfe[_0x3912ea(0x463)]()===_0x588029){var _0x5828ca;let _0x3c5411=_0x1e4bfe['getActiveSheet']()[_0x3912ea(0x473)]();this[_0x3912ea(0x452)]&&(this[_0x3912ea(0x452)][_0x3912ea(0xfa)]!==_0x588029||this[_0x3912ea(0x452)][_0x3912ea(0x331)]!==_0x3c5411)&&this[_0x3912ea(0x19b)](this['_lastActiveSheet'][_0x3912ea(0xfa)],this[_0x3912ea(0x452)][_0x3912ea(0x331)]),this[_0x3912ea(0x452)]={'unitId':_0x588029,'subUnitId':_0x3c5411};let _0x4c4133=this[_0x3912ea(0x3f7)][_0x3912ea(0x180)](_0x588029,_0x3c5411);if(!((_0x5828ca=this[_0x3912ea(0x2be)][_0x3912ea(0x3a4)](_0x588029))!=null&&_0x5828ca[_0x3912ea(0x3cd)](_0x2ef923[_0x3912ea(0x283)])[_0x3912ea(0x287)](_0x3c5411)))return;if(_0x4c4133)for(let _0x552f61 in _0x4c4133){let {drawingId:_0x1de8f7}=_0x4c4133[_0x552f61],_0x58cf6f=this[_0x3912ea(0x3ea)][_0x3912ea(0x316)](_0x1de8f7);_0x58cf6f&&_0x257b4b(_0x58cf6f['id'])(_0x58cf6f,_0x3c5411,_0x58cf6f[_0x3912ea(0x207)],this[_0x3912ea(0x133)][_0x3912ea(0x392)]());}}})),this[_0x2fa4e4(0x1e8)](this['_themeService']['darkMode$'][_0x2fa4e4(0x413)](()=>{const _0x4a2f34=_0x2fa4e4;var _0x4ef0f2;let _0x3864df=this[_0x4a2f34(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x4a2f34(0x3b8)][_0x4a2f34(0x41f)]);if(!_0x3864df)return;let _0x15d9b3=_0x3864df['getUnitId'](),_0x52a345=_0x3864df[_0x4a2f34(0x25e)]()[_0x4a2f34(0x473)](),_0x5eda9c=this[_0x4a2f34(0x3f7)][_0x4a2f34(0x180)](_0x15d9b3,_0x52a345);if((_0x4ef0f2=this[_0x4a2f34(0x2be)][_0x4a2f34(0x3a4)](_0x15d9b3))!=null&&_0x4ef0f2[_0x4a2f34(0x3cd)](_0x2ef923['SheetSkeletonManagerService'])[_0x4a2f34(0x287)](_0x52a345)&&_0x5eda9c)for(let _0x2bfa33 in _0x5eda9c){let {drawingId:_0x3899ee}=_0x5eda9c[_0x2bfa33],_0x2143fd=this['_chartModelService'][_0x4a2f34(0x316)](_0x3899ee);_0x2143fd&&_0x257b4b(_0x2143fd['id'])(_0x2143fd,_0x52a345,_0x2143fd[_0x4a2f34(0x207)],this[_0x4a2f34(0x133)][_0x4a2f34(0x392)]());}})),this[_0x2fa4e4(0x1e8)](this[_0x2fa4e4(0x3f7)][_0x2fa4e4(0x245)]['subscribe'](_0x2c1afe=>{const _0x67e93b=_0x2fa4e4;_0x2c1afe[_0x67e93b(0x332)](_0xafe308=>{const _0x28dfb6=_0x67e93b;var _0x5c1cb5;let {drawingId:_0xff5e8d,unitId:_0x3bbbc8,subUnitId:_0x12eefd}=_0xafe308,_0x2ce6f1=this[_0x28dfb6(0x2be)][_0x28dfb6(0x3a4)](_0x3bbbc8);if((_0x2ce6f1==null?void 0x0:_0x2ce6f1[_0x28dfb6(0x3b3)])!==_0x1e7325[_0x28dfb6(0x3b8)][_0x28dfb6(0x41f)]||!_0x2ce6f1[_0x28dfb6(0x3cd)](_0x2ef923[_0x28dfb6(0x283)])[_0x28dfb6(0x287)](_0x12eefd))return;let {drawingType:_0x597c7d}=this[_0x28dfb6(0x3f7)][_0x28dfb6(0x16d)](_0xafe308);if(_0x597c7d!==_0x1e7325['DrawingTypeEnum']['DRAWING_CHART'])return;let _0x39af5c=this[_0x28dfb6(0x16c)]['getFloatDomInfo'](_0xff5e8d);this[_0x28dfb6(0x124)](_0xff5e8d);let _0x4e070a=new _0x1e7325[(_0x28dfb6(0x3e8))]();this[_0x28dfb6(0x2cd)]['set'](_0xff5e8d,_0x4e070a);let _0x483761=(_0x39af5c==null?void 0x0:_0x39af5c['domId'])??_0xff5e8d,_0x2861f3=_0x39af5c==null?void 0x0:_0x39af5c[_0x28dfb6(0x47b)],_0x42f7e8=(_0x5c1cb5=this[_0x28dfb6(0x2be)]['getRenderUnitById'](_0x3bbbc8))==null?void 0x0:_0x5c1cb5[_0x28dfb6(0x179)];if(_0x2861f3){let _0x308c80=new _0x495b73(_0x2861f3,_0x14bbeb=>{const _0x23f20f=_0x28dfb6;var _0x19429e;let _0x52780c=this[_0x23f20f(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x23f20f(0x3b8)]['UNIVER_SHEET']);if((_0x52780c==null?void 0x0:_0x52780c[_0x23f20f(0x463)]())===_0x3bbbc8&&((_0x19429e=_0x52780c['getActiveSheet']())==null?void 0x0:_0x19429e[_0x23f20f(0x473)]())===_0x12eefd&&(this['_chartHostProvider'][_0x23f20f(0x120)](_0xff5e8d),_0x14bbeb)){var _0x5c0fda;(_0x5c0fda=this[_0x23f20f(0x343)]['get'](_0xff5e8d))==null||_0x5c0fda[_0x23f20f(0x430)](),this[_0x23f20f(0xf7)](_0xff5e8d,{'width':_0x2861f3[_0x23f20f(0x323)],'height':_0x2861f3[_0x23f20f(0x1ed)]},0x64);}});_0x4e070a[_0x28dfb6(0x1e8)](_0x308c80),_0x4e070a['disposeWithMe'](this[_0x28dfb6(0x42c)][_0x28dfb6(0x47f)][_0x28dfb6(0x413)](()=>_0x308c80[_0x28dfb6(0xd0)]())),_0x42f7e8&&_0x4e070a['disposeWithMe'](_0x42f7e8['getTransformerByCreate']()[_0x28dfb6(0x40c)][_0x28dfb6(0x413)](({objects:_0x3ef4a6})=>{const _0xa1c4f7=_0x28dfb6;if(_0x3ef4a6[_0xa1c4f7(0x4af)](_0x2861f3['oKey'])){var _0x2d13e0;_0x308c80['flush'](),(_0x2d13e0=this[_0xa1c4f7(0x293)]['get'](_0xff5e8d))==null||_0x2d13e0['flush']();}}));}_0x42f7e8&&_0x4e070a[_0x28dfb6(0x1e8)](_0x42f7e8[_0x28dfb6(0x10b)][_0x28dfb6(0x259)](_0x5d63c2=>{const _0x51ce7b=_0x28dfb6;var _0x4bb1c0;_0x5d63c2['type']===_0x4fef78[_0x51ce7b(0x3d1)]['scale']&&(_0x4bb1c0=document[_0x51ce7b(0x302)](_0x483761))!=null&&_0x4bb1c0[_0x51ce7b(0x39a)]('.chart-host')&&this[_0x51ce7b(0x14a)][_0x51ce7b(0x120)](_0xff5e8d);}));let _0x2d425e=this[_0x28dfb6(0x3ea)]['getChartModel'](_0xff5e8d);_0x2d425e&&_0x4e070a[_0x28dfb6(0x1e8)]((0x0,_0x24f269[_0x28dfb6(0x2f3)])([_0x2d425e['config$'],_0x2d425e[_0x28dfb6(0x242)],this[_0x28dfb6(0x133)][_0x28dfb6(0x369)]])[_0x28dfb6(0x413)](([_0x51a629,_0x2a6705,_0x4a4cb7])=>{_0x257b4b(_0x2d425e['id'])(_0x2d425e,_0x12eefd,_0x51a629,_0x4a4cb7);}));});})),this[_0x2fa4e4(0x1e8)]((0x0,_0x24f269[_0x2fa4e4(0x2f3)])([this[_0x2fa4e4(0x3f7)][_0x2fa4e4(0x144)]])[_0x2fa4e4(0x413)](([_0xf600fe])=>{const _0xfbccb=_0x2fa4e4;_0xf600fe[_0xfbccb(0x332)](_0x3620a3=>{const _0x3cf3e2=_0xfbccb;var _0x301690;let {drawingId:_0x3c7498}=_0x3620a3;this['_disposeChartChangeListeners'](_0x3c7498),((_0x301690=this[_0x3cf3e2(0x3ea)]['activeChartModel'])==null?void 0x0:_0x301690['id'])===_0x3c7498&&this[_0x3cf3e2(0x3ea)][_0x3cf3e2(0x128)](null),this['_disposeChartEventSubscriptions'](_0x3c7498),this[_0x3cf3e2(0x14a)][_0x3cf3e2(0x39c)](_0x3c7498),this[_0x3cf3e2(0x14d)](_0x3c7498),this[_0x3cf3e2(0x4a9)](_0x3c7498),this[_0x3cf3e2(0x276)][_0x3cf3e2(0x231)](_0x3c7498),this[_0x3cf3e2(0x328)](_0x3c7498),this[_0x3cf3e2(0x1e1)]['delete'](_0x3c7498),this[_0x3cf3e2(0x2a0)][_0x3cf3e2(0x339)](_0x3c7498);});}));}['setElementEditMode'](_0x386b31,_0x5a6c1a){const _0x48e67f=_0xeb70cf;var _0x2b599f;_0x5a6c1a?this['_chartElementEditMode'][_0x48e67f(0x130)](_0x386b31,!0x0):this[_0x48e67f(0x2a0)][_0x48e67f(0x339)](_0x386b31),(_0x2b599f=this[_0x48e67f(0x343)]['get'](_0x386b31))==null||_0x2b599f['setElementEditMode'](_0x5a6c1a);}async[_0xeb70cf(0x3fb)](_0x24bc4a,_0x19e1e5){const _0x5d6315=_0xeb70cf;var _0x194094;let _0x518aba=this[_0x5d6315(0x1e1)][_0x5d6315(0x360)](_0x24bc4a),_0x1c1218=(_0x194094=this[_0x5d6315(0x16c)][_0x5d6315(0x1b2)](_0x24bc4a))==null?void 0x0:_0x194094[_0x5d6315(0x47b)];if(_0x518aba&&_0x1c1218)return(await this['_renderModelManager'][_0x5d6315(0x3fb)]({'chartId':_0x24bc4a,'config':_0x518aba['config'],'style':_0x518aba['style'],'width':_0x1c1218[_0x5d6315(0x323)],'height':_0x1c1218[_0x5d6315(0x1ed)]},_0x19e1e5))[_0x5d6315(0x3fd)];if((_0x19e1e5==null?void 0x0:_0x19e1e5[_0x5d6315(0x304)])===_0x3611d5['ChartImageExportFormat'][_0x5d6315(0x168)])return;let _0x2d63e1=this[_0x5d6315(0x48e)](_0x24bc4a);return _0x2d63e1?(0x0,_0x3611d5['chartImageSourceToDataUrl'])(_0x2d63e1):void 0x0;}['on'](_0xab7b24,_0x1f19be,_0x3e3e66){const _0x18c627=_0xeb70cf;let _0x4273dd=this['_chartEventHandlers'][_0x18c627(0x360)](_0xab7b24);_0x4273dd||(_0x4273dd=new Map(),this[_0x18c627(0x3a9)][_0x18c627(0x130)](_0xab7b24,_0x4273dd));let _0x5ecfda=_0x4273dd[_0x18c627(0x360)](_0x1f19be);_0x5ecfda||(_0x5ecfda=new Set(),_0x4273dd[_0x18c627(0x130)](_0x1f19be,_0x5ecfda)),_0x5ecfda[_0x18c627(0x2a8)](_0x3e3e66);let _0x477e1a=this['_chartInstanceMap'][_0x18c627(0x360)](_0xab7b24);return _0x477e1a&&this[_0x18c627(0x36f)](_0xab7b24,_0x477e1a,_0x1f19be,_0x3e3e66),{'dispose':()=>{const _0x3083d2=_0x18c627;var _0x1d82c7;(_0x1d82c7=this[_0x3083d2(0x3a9)][_0x3083d2(0x360)](_0xab7b24))==null||(_0x1d82c7=_0x1d82c7['get'](_0x1f19be))==null||_0x1d82c7[_0x3083d2(0x339)](_0x3e3e66),this[_0x3083d2(0x1b1)](_0xab7b24,_0x1f19be,_0x3e3e66);}};}[_0xeb70cf(0x48e)](_0x2747ea){const _0x98eccc=_0xeb70cf;let _0x2a85e5=this[_0x98eccc(0x42c)][_0x98eccc(0x428)](_0x1e7325[_0x98eccc(0x3b8)][_0x98eccc(0x41f)]),_0x2b5a0d=_0x2a85e5==null?void 0x0:_0x2a85e5[_0x98eccc(0x25e)](),_0x24f13b=_0x2a85e5==null?void 0x0:_0x2a85e5[_0x98eccc(0x463)](),_0x5ea1af=_0x2b5a0d==null?void 0x0:_0x2b5a0d['getSheetId']();if(_0x24f13b&&_0x5ea1af)return this[_0x98eccc(0x276)][_0x98eccc(0x418)]({'unitId':_0x24f13b,'subUnitId':_0x5ea1af,'chartId':_0x2747ea});}[_0xeb70cf(0x303)](_0x1d89aa,_0x247b05){const _0x3b86e9=_0xeb70cf;let _0x513b75=this[_0x3b86e9(0x3a9)][_0x3b86e9(0x360)](_0x1d89aa);_0x513b75&&_0x513b75[_0x3b86e9(0x332)]((_0x1da3d3,_0x49c0bc)=>{const _0x49be80=_0x3b86e9;_0x1da3d3[_0x49be80(0x332)](_0x6cb220=>this[_0x49be80(0x36f)](_0x1d89aa,_0x247b05,_0x49c0bc,_0x6cb220));});}['_bindChartEventHandler'](_0x1cdd60,_0xfebde3,_0x6d32d1,_0x1ab7c8){const _0x12cfc3=_0xeb70cf;let _0x1f3fa7=this[_0x12cfc3(0x247)][_0x12cfc3(0x360)](_0x1cdd60);_0x1f3fa7||(_0x1f3fa7=new Map(),this[_0x12cfc3(0x247)][_0x12cfc3(0x130)](_0x1cdd60,_0x1f3fa7));let _0xc412fa=_0x1f3fa7['get'](_0x6d32d1);_0xc412fa||(_0xc412fa=new Map(),_0x1f3fa7[_0x12cfc3(0x130)](_0x6d32d1,_0xc412fa)),!_0xc412fa[_0x12cfc3(0x4af)](_0x1ab7c8)&&_0xc412fa[_0x12cfc3(0x130)](_0x1ab7c8,_0xfebde3['on'](_0x6d32d1,_0x1ab7c8));}[_0xeb70cf(0x1b1)](_0xa7c804,_0x1ed6c1,_0x5872a2){const _0x5ed7c2=_0xeb70cf;var _0x4c078e,_0xce3114;let _0x19488f=(_0x4c078e=this[_0x5ed7c2(0x247)][_0x5ed7c2(0x360)](_0xa7c804))==null?void 0x0:_0x4c078e['get'](_0x1ed6c1);_0x19488f==null||(_0xce3114=_0x19488f[_0x5ed7c2(0x360)](_0x5872a2))==null||_0xce3114[_0x5ed7c2(0x151)](),_0x19488f==null||_0x19488f[_0x5ed7c2(0x339)](_0x5872a2);}[_0xeb70cf(0x31b)](_0xe55d35){const _0x35f0df=_0xeb70cf;let _0x1e0d6b=this['_chartEventSubscriptions'][_0x35f0df(0x360)](_0xe55d35);_0x1e0d6b==null||_0x1e0d6b[_0x35f0df(0x332)](_0x5c8fbb=>{const _0x2aaf55=_0x35f0df;_0x5c8fbb[_0x2aaf55(0x332)](_0xa7e05=>_0xa7e05[_0x2aaf55(0x151)]()),_0x5c8fbb['clear']();}),this[_0x35f0df(0x247)]['delete'](_0xe55d35);}[_0xeb70cf(0x23f)](_0x3b9d77,_0x1369ce){const _0x165a63=_0xeb70cf;return _0x1fd4bd(_0x3b9d77,_0x1369ce,this[_0x165a63(0x3ce)]);}[_0xeb70cf(0x23e)](_0x322b82){return this['_getChartRenderSkipReason'](_0x322b82)==null;}[_0xeb70cf(0x1cf)](_0x51ad93){const _0x3e98de=_0xeb70cf;var _0x28f430;let _0x57e439=this[_0x3e98de(0x16c)][_0x3e98de(0x1b2)](_0x51ad93);if(!_0x57e439)return'missing-float-dom';let {subUnitId:_0x59c8eb}=_0x57e439,_0x40f11f=(_0x28f430=this[_0x3e98de(0x42c)]['getCurrentUnitOfType'](_0x1e7325['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0x28f430['getActiveSheet']();if(!_0x40f11f)return _0x3e98de(0x1d8);if(_0x40f11f[_0x3e98de(0x473)]()!==_0x59c8eb)return _0x3e98de(0x389);}async[_0xeb70cf(0x37d)](_0x519fc0,_0x1ece2f,_0xda1f2d,_0x1b9f2a={}){const _0x19ae38=_0xeb70cf;let _0x34b815=this[_0x19ae38(0x468)][_0x19ae38(0xc7)](_0x3611d5[_0x19ae38(0x214)]);if(!_0x34b815)return;let _0x1a5791=this[_0x19ae38(0x1e1)][_0x19ae38(0x360)](_0x519fc0);if(this[_0x19ae38(0x1e1)][_0x19ae38(0x130)](_0x519fc0,{'config':_0x1ece2f,'style':_0xda1f2d}),this[_0x19ae38(0x1cf)](_0x519fc0))return;let {canAnimate:_0x1c3d8b,renderMode:_0x2cb317,shouldStartTransientAnimation:_0x327bfe,transientAnimationActive:_0x321e7b}=this['_prepareDataUpdateRender'](_0x519fc0,_0x1a5791!=null,_0x1b9f2a[_0x19ae38(0x1c5)]===!0x0);if(_0x2cb317===_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)])this['_disposeChartDomInstance'](_0x519fc0);else{var _0x46fab5;this[_0x19ae38(0x14a)][_0x19ae38(0x313)](_0x519fc0),((_0x46fab5=this[_0x19ae38(0x3ea)]['activeChartModel'])==null?void 0x0:_0x46fab5['id'])===_0x519fc0&&this[_0x19ae38(0x3ed)](_0x519fc0);}let _0x3cdd2b=_0x2cb317===_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)]?_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)]:_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x3f6)],_0x3cf777=await this[_0x19ae38(0x14a)][_0x19ae38(0x18d)](_0x519fc0,_0x3cdd2b);if(!_0x3cf777){_0x327bfe&&this[_0x19ae38(0x2af)](_0x519fc0);return;}this['_chartHostProvider'][_0x19ae38(0x4b8)](_0x519fc0,_0x321e7b?_0x3611d5[_0x19ae38(0x246)]:null);let _0x2579f3=this['_getOrCreateChartRenderInstance'](_0x519fc0,_0x3cdd2b,_0x34b815);_0x2579f3[_0x19ae38(0x456)](_0x3cf777);try{let _0x53de66={'chartId':_0x519fc0,'config':_0x1ece2f,'style':_0xda1f2d};_0x1c3d8b&&_0x1a5791&&_0x2579f3[_0x19ae38(0x1a3)]?await _0x2579f3['renderTransition']({'chartId':_0x519fc0,'config':_0x1a5791[_0x19ae38(0x207)],'style':_0x1a5791[_0x19ae38(0x4b9)]},_0x53de66,{'duration':_0x3611d5[_0x19ae38(0x246)]}):await _0x2579f3[_0x19ae38(0x37d)](_0x53de66),await this[_0x19ae38(0x2d8)](_0x519fc0,_0x2cb317,_0x2579f3),_0x1c3d8b&&_0x321e7b&&this['_scheduleDataUpdateAnimationEnd'](_0x519fc0);}catch(_0x4d13e1){if(_0x327bfe&&this['_deactivateDataUpdateAnimation'](_0x519fc0),_0x2cb317!==_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)])throw _0x4d13e1;}}async['_cacheActiveDomChartSnapshot'](_0x31f5bf,_0x1105ab,_0x3fb30a){const _0x1390ec=_0xeb70cf;var _0x14074e;if(_0x1105ab!==_0x3611d5[_0x1390ec(0x465)][_0x1390ec(0x3f6)]||((_0x14074e=this[_0x1390ec(0x3ea)][_0x1390ec(0xea)])==null?void 0x0:_0x14074e['id'])!==_0x31f5bf)return;let _0x438ce0=await this['_chartHostProvider'][_0x1390ec(0x18d)](_0x31f5bf,_0x3611d5[_0x1390ec(0x465)][_0x1390ec(0x40f)]);if(!_0x438ce0)return;let _0x39efac=_0x438ce0[_0x1390ec(0xe2)]();try{let _0x21db10=await _0x3fb30a[_0x1390ec(0x37c)]();_0x21db10&&_0x438ce0[_0x1390ec(0x40d)]({'type':_0x3611d5[_0x1390ec(0x305)][_0x1390ec(0x20b)],'url':_0x21db10},_0x39efac)&&_0x438ce0[_0x1390ec(0x44e)]();}catch{}}[_0xeb70cf(0x272)](_0x421c1a,_0x5378ac,_0x3721fa){const _0x319d5d=_0xeb70cf;let _0x48310b=this['_resolveChartRenderMode'](_0x421c1a),_0x5b0c87=_0x48310b===_0x3611d5[_0x319d5d(0x465)][_0x319d5d(0x3f6)]&&_0x3721fa&&_0x5378ac&&this[_0x319d5d(0x204)](_0x421c1a),_0xe62fe6=this[_0x319d5d(0x454)][_0x319d5d(0x4af)](_0x421c1a);return{'canAnimate':_0x5b0c87,'renderMode':_0xe62fe6?_0x3611d5[_0x319d5d(0x465)][_0x319d5d(0x3f6)]:_0x48310b,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xe62fe6};}['_canAnimateDataUpdate'](_0x27779a){const _0x2e7682=_0xeb70cf;var _0x2d239f,_0x5c1246,_0x3a7d66,_0x343cb5;if(typeof document>'u'||typeof window>'u'||document[_0x2e7682(0x3a2)]==='hidden'||(_0x2d239f=(_0x5c1246=window)[_0x2e7682(0x3ec)])!=null&&(_0x2d239f=_0x2d239f[_0x2e7682(0x479)](_0x5c1246,_0x2e7682(0x1ab)))!=null&&_0x2d239f[_0x2e7682(0x421)]||(_0x3a7d66=(_0x343cb5=window)[_0x2e7682(0x3ec)])!=null&&(_0x3a7d66=_0x3a7d66[_0x2e7682(0x479)](_0x343cb5,_0x2e7682(0x32c)))!=null&&_0x3a7d66['matches'])return!0x1;let _0x47ecd9=this['_chartHostProvider']['getHostClientRect'](_0x27779a);return _0x47ecd9!=null&&_0x47ecd9[_0x2e7682(0x323)]>0x0&&_0x47ecd9[_0x2e7682(0x1ed)]>0x0&&_0x47ecd9['right']>0x0&&_0x47ecd9[_0x2e7682(0x359)]>0x0&&_0x47ecd9[_0x2e7682(0x2a9)]<window['innerWidth']&&_0x47ecd9[_0x2e7682(0x2f4)]<window['innerHeight'];}[_0xeb70cf(0x357)](_0x17a288){const _0x2895e5=_0xeb70cf;let _0x64c05f=this['_dataUpdateAnimationTimers'][_0x2895e5(0x360)](_0x17a288);_0x64c05f&&(clearTimeout(_0x64c05f),this['_dataUpdateAnimationTimers'][_0x2895e5(0x339)](_0x17a288)),this['_dataUpdateAnimationChartIds'][_0x2895e5(0x2a8)](_0x17a288),this['_chartHostProvider'][_0x2895e5(0x4b8)](_0x17a288,_0x3611d5['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0xeb70cf(0x384)](_0xcb14b1){const _0x3b32e4=_0xeb70cf;let _0x5f4253=this[_0x3b32e4(0x4b2)][_0x3b32e4(0x360)](_0xcb14b1);_0x5f4253&&clearTimeout(_0x5f4253);let _0x584e17=setTimeout(()=>{const _0x4ed208=_0x3b32e4;this[_0x4ed208(0x4b2)]['delete'](_0xcb14b1),this[_0x4ed208(0x454)][_0x4ed208(0x339)](_0xcb14b1)&&(this[_0x4ed208(0x14a)][_0x4ed208(0x4b8)](_0xcb14b1,null),this[_0x4ed208(0x3b2)](_0xcb14b1),this[_0x4ed208(0x2d2)](_0xcb14b1));},_0x3611d5[_0x3b32e4(0x246)]);this[_0x3b32e4(0x4b2)][_0x3b32e4(0x130)](_0xcb14b1,_0x584e17);}[_0xeb70cf(0x2af)](_0x25d69f){const _0x5d73cf=_0xeb70cf;let _0x105ca8=this['_dataUpdateAnimationTimers'][_0x5d73cf(0x360)](_0x25d69f);_0x105ca8&&(clearTimeout(_0x105ca8),this[_0x5d73cf(0x4b2)]['delete'](_0x25d69f)),this[_0x5d73cf(0x454)][_0x5d73cf(0x339)](_0x25d69f),this['_chartHostProvider'][_0x5d73cf(0x4b8)](_0x25d69f,null);}async[_0xeb70cf(0x3c5)](_0xb0b284,_0x205d26,_0xe157a9){const _0x12ea07=_0xeb70cf;let _0x164a3c=this['_drawingManagerService']['getDrawingData'](_0xb0b284,_0x205d26),_0x88a3b4=this['_drawingManagerService']['getDrawingOrder'](_0xb0b284,_0x205d26),_0x28f65d=Object[_0x12ea07(0x1a8)](_0x164a3c??{})['filter'](_0x3ff514=>_0x3ff514['drawingType']===_0x1e7325[_0x12ea07(0x28f)][_0x12ea07(0x1c3)]&&_0x3ff514[_0x12ea07(0x2fe)]!==!0x0);await Promise[_0x12ea07(0x212)](_0x28f65d[_0x12ea07(0x1f6)](async _0x23b1d8=>{const _0x4adc75=_0x12ea07;let _0x230760=await this[_0x4adc75(0x172)](_0x23b1d8,_0x88a3b4);_0x230760&&(_0xe157a9[_0x4adc75(0x2c8)](_0x230760,_0x4fef78[_0x4adc75(0x3fc)]),_0x23b1d8[_0x4adc75(0xd3)]&&(0x0,_0x4015f2[_0x4adc75(0x269)])({'drawingId':_0x23b1d8[_0x4adc75(0xd3)],'unitId':_0xb0b284,'subUnitId':_0x205d26},_0x230760,_0xe157a9,this['_drawingManagerService']));}));}async['_createPrintingChartObject'](_0x179e1b,_0x5439c4){const _0x12dd56=_0xeb70cf;let _0x1d1ef9=this[_0x12dd56(0x3ea)][_0x12dd56(0x316)](_0x179e1b[_0x12dd56(0xef)]),_0x200bfa=this[_0x12dd56(0x468)][_0x12dd56(0xc7)](_0x3611d5[_0x12dd56(0x214)]),_0x584648=_0x179e1b[_0x12dd56(0x401)],_0xfb6beb=_0x1d1ef9==null?void 0x0:_0x1d1ef9['config'];if(!_0x1d1ef9||!_0x200bfa||!_0x584648||!_0xfb6beb||_0x584648[_0x12dd56(0x323)]==null||_0x584648[_0x12dd56(0x1ed)]==null)return null;let _0x2523d9=new _0xda5c6b(_0x179e1b[_0x12dd56(0xef)],{'width':_0x584648[_0x12dd56(0x323)],'height':_0x584648[_0x12dd56(0x1ed)]}),_0x55361d=_0x200bfa[_0x12dd56(0xf4)](_0x3611d5[_0x12dd56(0x465)]['Image'],this[_0x12dd56(0x17b)]());_0x55361d[_0x12dd56(0x456)](_0x2523d9);let _0x679a91;try{await _0x55361d[_0x12dd56(0x37d)]({'chartId':_0x179e1b[_0x12dd56(0xef)],'config':_0xfb6beb,'style':this['createRuntimeChartStyle'](_0x1d1ef9,this[_0x12dd56(0x133)][_0x12dd56(0x392)]())});}catch(_0x49acd2){console[_0x12dd56(0x361)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x49acd2);}finally{_0x679a91=_0x2523d9['takeSnapshot'](),_0x55361d[_0x12dd56(0x151)](),_0x2523d9[_0x12dd56(0x151)]();}let _0x519048=this[_0x12dd56(0x276)][_0x12dd56(0x418)]({'unitId':_0x179e1b[_0x12dd56(0xfa)],'subUnitId':_0x179e1b[_0x12dd56(0x331)],'chartId':_0x179e1b['drawingId']}),_0x5ea4e0=_0x679a91??_0x519048;if(!_0x5ea4e0)return null;let _0x2b480a=_0x5439c4['indexOf'](_0x179e1b[_0x12dd56(0xef)]);return new _0x391a42((0x0,_0x39bdba['getDrawingShapeKeyByDrawingSearch'])(_0x179e1b),{..._0x584648,..._0x398b93['SHEET_CHART_RENDER_OBJECT_CONFIG'],..._0x3594ec(_0x2523d9[_0x12dd56(0x4b9)]),'visible':!0x0,'zIndex':_0x2b480a===-0x1?Math[_0x12dd56(0x15a)](_0x5439c4[_0x12dd56(0x2d4)]-0x1,0x0):_0x2b480a},()=>_0x5ea4e0,void 0x0,_0x679a91?()=>_0x500cb6(_0x679a91):void 0x0);}['_getOrCreateChartRenderInstance'](_0x4d88ef,_0x1a9086,_0x2bcdbb){const _0x53830b=_0xeb70cf;let _0x585085=this[_0x53830b(0x343)][_0x53830b(0x360)](_0x4d88ef);if((_0x585085==null?void 0x0:_0x585085[_0x53830b(0x170)])===_0x1a9086)return _0x585085;_0x585085&&(this['_disposeChartEventSubscriptions'](_0x4d88ef),_0x585085[_0x53830b(0x151)](),this['_chartInstanceMap'][_0x53830b(0x339)](_0x4d88ef));let _0x15956=_0x2bcdbb[_0x53830b(0xf4)](_0x1a9086,this[_0x53830b(0x17b)]());return this[_0x53830b(0x343)][_0x53830b(0x130)](_0x4d88ef,_0x15956),_0x15956[_0x53830b(0x12f)](this[_0x53830b(0x2a0)][_0x53830b(0x360)](_0x4d88ef)===!0x0),this[_0x53830b(0x303)](_0x4d88ef,_0x15956),_0x15956;}['_createChartRenderInstanceContext'](){const _0x40a776=_0xeb70cf;return{'resolveHostStyle':({style:_0x58347c})=>(0x0,_0x3611d5[_0x40a776(0x1a9)])({'style':_0x58347c,'getRenderColor':_0x84d42e=>this[_0x40a776(0x39e)][_0x40a776(0x450)](_0x84d42e)}),'resolveRenderBackgroundColor':({style:_0x346027})=>this[_0x40a776(0x39e)]['getRenderColor']((0x0,_0x3611d5['resolveChartStyleBackgroundColor'])(_0x346027))};}[_0xeb70cf(0x124)](_0x589b6c){const _0x2369fe=_0xeb70cf;var _0x2e2c2e,_0x3996c8,_0x4322d9;(_0x2e2c2e=this[_0x2369fe(0x2cd)]['get'](_0x589b6c))==null||_0x2e2c2e[_0x2369fe(0x151)](),this[_0x2369fe(0x2cd)][_0x2369fe(0x339)](_0x589b6c),(_0x3996c8=this[_0x2369fe(0x497)][_0x2369fe(0x360)](_0x589b6c))==null||_0x3996c8[_0x2369fe(0x30e)](),this[_0x2369fe(0x497)][_0x2369fe(0x339)](_0x589b6c),(_0x4322d9=this[_0x2369fe(0x293)]['get'](_0x589b6c))==null||_0x4322d9[_0x2369fe(0x30e)](),this['_debounceHandleMap'][_0x2369fe(0x339)](_0x589b6c);}['_cancelDebouncedCallbacks'](){const _0x13ad3d=_0xeb70cf;this['_renderDebounceMap']['forEach'](_0x4e78d6=>_0x4e78d6[_0x13ad3d(0x30e)]()),this[_0x13ad3d(0x497)][_0x13ad3d(0x3b6)](),this[_0x13ad3d(0x293)][_0x13ad3d(0x332)](_0x347703=>_0x347703[_0x13ad3d(0x30e)]()),this['_debounceHandleMap'][_0x13ad3d(0x3b6)]();}[_0xeb70cf(0x151)](){const _0x1d6e35=_0xeb70cf;this['_chartChangeSubscriptions'][_0x1d6e35(0x332)](_0x58dbe0=>_0x58dbe0[_0x1d6e35(0x151)]()),this[_0x1d6e35(0x2cd)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x4b2)][_0x1d6e35(0x332)](_0x203784=>clearTimeout(_0x203784)),this[_0x1d6e35(0x4b2)][_0x1d6e35(0x3b6)](),this['_dataUpdateAnimationChartIds'][_0x1d6e35(0x3b6)](),Array[_0x1d6e35(0x240)](this[_0x1d6e35(0x343)][_0x1d6e35(0x19e)]())['forEach'](_0x7f2dce=>this[_0x1d6e35(0x4a9)](_0x7f2dce)),this[_0x1d6e35(0x3a9)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x2a0)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x447)](),this[_0x1d6e35(0x1e1)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x1fa)]=null,this[_0x1d6e35(0x452)]=null,super[_0x1d6e35(0x151)]();}};_0x114834=_0x6243e3([_0x16880b(0x0,_0x46b74e),_0x16880b(0x1,(0x0,_0x1e7325['Inject'])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x3,_0x39bdba[_0xeb70cf(0x41e)]),_0x16880b(0x4,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x5,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4fef78[_0xeb70cf(0x3d7)])),_0x16880b(0x6,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)])),_0x16880b(0x7,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x459)])),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x3611d5[_0xeb70cf(0x391)])),_0x16880b(0x9,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x127)])),_0x16880b(0xa,_0x1e7325['IConfigService']),_0x16880b(0xb,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x36a856)),_0x16880b(0xc,_0x3611d5[_0xeb70cf(0x3e7)])],_0x114834);let _0x19c057=(0x0,_0x1e7325['createIdentifier'])(_0xeb70cf(0x1cc)),_0x46657c=class extends _0x339b6e['ChartUIService']{constructor(_0x402d89,_0x343ddc,_0x57be94,_0xf8fff3,_0x575b10){const _0x54b8d9=_0xeb70cf;super(_0x575b10),this[_0x54b8d9(0x3ea)]=_0x402d89,this['_sheetsChartService']=_0x343ddc,this[_0x54b8d9(0x460)]=_0x57be94,this[_0x54b8d9(0x42c)]=_0xf8fff3,_0x1b6fbd(this,_0x54b8d9(0xde),!0x1),_0x1b6fbd(this,'_chartEditorOpen$',new _0x24f269[(_0x54b8d9(0x355))](!0x1)),_0x1b6fbd(this,_0x54b8d9(0x330),new _0x24f269[(_0x54b8d9(0x355))](null)),_0x1b6fbd(this,_0x54b8d9(0x382),this[_0x54b8d9(0x1c8)][_0x54b8d9(0x2ad)]()),_0x1b6fbd(this,_0x54b8d9(0x1fb),this[_0x54b8d9(0x330)]['asObservable']());}get[_0xeb70cf(0x236)](){const _0x3bfeb2=_0xeb70cf;return this['_chartModelService'][_0x3bfeb2(0xea)]??null;}get[_0xeb70cf(0x4ac)](){const _0x2335db=_0xeb70cf;return this[_0x2335db(0x1c8)][_0x2335db(0x289)]();}get['rangeSelectMode'](){const _0x29a25d=_0xeb70cf;return this[_0x29a25d(0xde)];}['setRangeSelectMode'](_0x21c4a4){this['_rangeSelectMode']=_0x21c4a4;}[_0xeb70cf(0x399)](_0x26fe41){const _0x5b3e19=_0xeb70cf;this[_0x5b3e19(0x1c8)][_0x5b3e19(0x289)]()!==_0x26fe41&&this[_0x5b3e19(0x1c8)][_0x5b3e19(0x217)](_0x26fe41);}[_0xeb70cf(0xd6)](_0x1567e5){const _0x510552=_0xeb70cf;var _0xa19c6c;return this[_0x510552(0x4ac)]&&((_0xa19c6c=this[_0x510552(0x3ea)][_0x510552(0xea)])==null?void 0x0:_0xa19c6c['id'])===_0x1567e5;}['setPanelRoute'](_0x2155d7,_0xf04ad9){const _0x282c19=_0xeb70cf;this[_0x282c19(0x330)][_0x282c19(0x217)]({'chartId':_0x2155d7,'route':_0xf04ad9});}[_0xeb70cf(0x26f)](){const _0x1a06d4=_0xeb70cf;this['_panelRoute$'][_0x1a06d4(0x217)](null);}[_0xeb70cf(0x191)](_0x4511e5){const _0x396c0b=_0xeb70cf;let _0x5de085=this[_0x396c0b(0x3ea)]['activeChartModel'];_0x5de085&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x5de085['id'],'range':_0x4511e5});}[_0xeb70cf(0xff)](_0x17c9cf){const _0x1d1329=_0xeb70cf;let _0x586a07=this['_chartModelService'][_0x1d1329(0xea)];if(!_0x586a07)return;let _0x47bb46=this[_0x1d1329(0x145)][_0x1d1329(0x310)](_0x586a07['id']);if(!_0x47bb46||Array[_0x1d1329(0x28a)](_0x47bb46))return;let _0x15d543={..._0x47bb46,'isRowDirection':_0x17c9cf===_0x3611d5[_0x1d1329(0x4a5)][_0x1d1329(0xf3)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x586a07['id'],'range':_0x15d543});}[_0xeb70cf(0x1e0)](_0x5a8cb2){const _0x2e2f62=_0xeb70cf;var _0x5070c1;this['_commandService'][_0x2e2f62(0x318)](_0x5979b3[_0x2e2f62(0x1bb)]['id'],{..._0x5a8cb2,'unitId':((_0x5070c1=this[_0x2e2f62(0x42c)][_0x2e2f62(0x190)]())==null?void 0x0:_0x5070c1['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x56c81a){const _0x5b9d6b=_0xeb70cf;var _0x3bbc28;this[_0x5b9d6b(0x460)][_0x5b9d6b(0x318)](_0x5979b3[_0x5b9d6b(0x1b0)]['id'],{..._0x56c81a,'unitId':((_0x3bbc28=this[_0x5b9d6b(0x42c)][_0x5b9d6b(0x190)]())==null?void 0x0:_0x3bbc28[_0x5b9d6b(0x463)]())??''});}[_0xeb70cf(0x151)](){const _0x1cf2b6=_0xeb70cf;this[_0x1cf2b6(0x1c8)][_0x1cf2b6(0x1e6)](),this[_0x1cf2b6(0x330)][_0x1cf2b6(0x1e6)](),super[_0x1cf2b6(0x151)]();}};_0x46657c=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['SheetsChartService'])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x339b6e[_0xeb70cf(0x21e)]))],_0x46657c);var _0x390a76;let _0x434889={'axis':{..._0x339b6e[_0xeb70cf(0x194)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x339b6e['DEFAULT_CHART_FUNNEL_VALUES'],'heatmap':_0x339b6e[_0xeb70cf(0x49d)],'indicatorLine':_0x339b6e[_0xeb70cf(0x15f)],'legend':_0x339b6e[_0xeb70cf(0x13e)],'lineAndArea':_0x339b6e['DEFAULT_CHART_LINE_AND_AREA_VALUES'],'pareto':_0x339b6e['DEFAULT_CHART_PARETO_VALUES'],'pie':_0x339b6e['DEFAULT_CHART_PIE_VALUES'],'relation':{..._0x339b6e[_0xeb70cf(0xf9)],'useValueAsSymbolSize':!0x0},'radar':_0x339b6e[_0xeb70cf(0x200)],'series':{..._0x339b6e[_0xeb70cf(0x394)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x390a76=_0x3611d5[_0xeb70cf(0x155)][_0xeb70cf(0x37a)])==null?void 0x0:_0x390a76[_0xeb70cf(0x26b)])??!0x1}},'style':_0x339b6e[_0xeb70cf(0x17d)],'titles':_0x339b6e[_0xeb70cf(0xc6)],'trendline':_0x339b6e[_0xeb70cf(0x2b0)],'waterfallStyle':_0x339b6e[_0xeb70cf(0x427)],'wordCloud':_0x339b6e[_0xeb70cf(0x3e6)]},_0x166c91=_0x32eaa3=>_0x32eaa3[_0xeb70cf(0x428)](_0x1e7325['UniverInstanceType'][_0xeb70cf(0x41f)])[_0xeb70cf(0x463)](),_0x21b304=_0x118f18=>{const _0x30a63a=_0xeb70cf;var _0x643e56;return(_0x643e56=_0x118f18[_0x30a63a(0x428)](_0x1e7325['UniverInstanceType']['UNIVER_SHEET'])[_0x30a63a(0x25e)]())==null?void 0x0:_0x643e56[_0x30a63a(0x473)]();},_0x11a2c2=()=>{const _0x127116=_0xeb70cf;var _0x18d765;let _0x2db9f0=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x19c057),_0x1cd5a8=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x5979b3['ChartModelService']),_0x513363=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x1e7325[_0x127116(0x404)]),_0x5deb07=(0x0,_0xced9f3['useDependency'])(_0x1e7325[_0x127116(0x459)]),_0x5034d7=(0x0,_0x5979b3[_0x127116(0x12b)])(_0x5deb07),_0x71a4bb=(0x0,_0x5de930['useMemo'])(()=>{const _0x31a49c=_0x127116;let _0x2b820a=_0x51c8a3(_0x14f1e3[_0x31a49c(0x434)](),_0x5034d7);return(0x0,_0x339b6e[_0x31a49c(0x1f5)])(_0x2b820a['map'](_0x27ce6c=>({'id':_0x27ce6c['id'],'label':_0x513363['t'](_0x31a49c(0x409)+_0x27ce6c[_0x31a49c(0x260)]),'pieSecondaryPlotType':_0x27ce6c[_0x31a49c(0x186)],'value':_0x27ce6c[_0x31a49c(0x375)]})));},[_0x5034d7,_0x513363]),_0x157669=(0x0,_0xced9f3['useObservable'])(_0x1cd5a8[_0x127116(0x280)],_0x1cd5a8[_0x127116(0xea)]),_0x27127b=(0x0,_0xced9f3[_0x127116(0x174)])(_0x157669==null?void 0x0:_0x157669[_0x127116(0x273)],_0x157669==null?void 0x0:_0x157669[_0x127116(0x270)]),_0x332fae=(0x0,_0xced9f3[_0x127116(0x174)])(_0x157669==null?void 0x0:_0x157669[_0x127116(0x370)],_0x157669==null?void 0x0:_0x157669[_0x127116(0x3df)]),_0x463ee2=(0x0,_0xced9f3[_0x127116(0x174)])(_0x332fae==null?void 0x0:_0x332fae[_0x127116(0x41c)],_0x332fae==null?void 0x0:_0x332fae[_0x127116(0x485)]()),_0x16010c=Array[_0x127116(0x28a)](_0x463ee2),_0x45152f=_0x463ee2&&!_0x16010c&&_0x463ee2[_0x127116(0x2f9)]?_0x3611d5[_0x127116(0x4a5)]['Row']:_0x3611d5[_0x127116(0x4a5)][_0x127116(0x368)],_0x10354d=_0x16010c?(_0x18d765=_0x463ee2[0x0])==null?void 0x0:_0x18d765[_0x127116(0x441)]:_0x463ee2==null?void 0x0:_0x463ee2[_0x127116(0x43c)];return(0x0,_0x424e81['jsxs'])(_0x127116(0x44a),{'className':_0x127116(0x31c),'children':[(0x0,_0x424e81[_0x127116(0x25c)])(_0x339b6e[_0x127116(0xed)],{'chartTypeOptions':_0x71a4bb,'dataSourceControl':(0x0,_0x424e81[_0x127116(0x25c)])(_0x1761b9,{'dataRange':_0x463ee2,'primaryRange':_0x10354d}),'categoryToggleLabel':_0x513363['t'](_0x127116(0xfe),_0x45152f===_0x3611d5[_0x127116(0x4a5)][_0x127116(0xf3)]?_0x45152f+'\x20'+(((_0x10354d==null?void 0x0:_0x10354d[_0x127116(0x441)][_0x127116(0x3f3)])??0x0)+0x1):_0x45152f+'\x20'+(0x0,_0x1e7325[_0x127116(0x177)])((_0x10354d==null?void 0x0:_0x10354d['range'][_0x127116(0x2dd)])??0x0)),'orientationControl':_0x16010c?void 0x0:(0x0,_0x424e81[_0x127116(0x25c)])(_0x15e416[_0x127116(0x1f4)],{'size':'small','onClick':()=>_0x2db9f0['setOrientation'](_0x45152f===_0x3611d5['DataOrientation'][_0x127116(0xf3)]?_0x3611d5[_0x127116(0x4a5)][_0x127116(0x368)]:_0x3611d5[_0x127116(0x4a5)][_0x127116(0xf3)]),'children':_0x513363['t']('sheets-chart-ui.common.switchRowColumn')})}),(0x0,_0x424e81[_0x127116(0x25c)])(_0x15e416[_0x127116(0x4b5)],{'checked':(_0x27127b==null?void 0x0:_0x27127b[_0x127116(0x3db)])===!0x1,'disabled':!_0x157669,'onChange':_0x4edc1c=>{const _0x54e277=_0x127116;_0x157669&&_0x2db9f0[_0x54e277(0x1e0)]({'chartModelId':_0x157669['id'],'context':{'plotVisibleOnly':!_0x4edc1c}});},'children':_0x513363['t'](_0x127116(0x107))})]});};function _0x1761b9(_0xd088ab){const _0x358537=_0xeb70cf;let {dataRange:_0x4aeed5,primaryRange:_0x5719da}=_0xd088ab,_0x30832d=(0x0,_0xced9f3['useDependency'])(_0x19c057),_0x5a72e7=(0x0,_0xced9f3[_0x358537(0x3e2)])(_0x1e7325[_0x358537(0x404)]),_0x1e13b4=(0x0,_0xced9f3[_0x358537(0x3e2)])(_0x1e7325[_0x358537(0x106)]),_0x5438b3=(0x0,_0xced9f3['useDependency'])(_0x1e7325['IContextService']),[_0x3046e6,_0x4c7b9a]=(0x0,_0x5de930[_0x358537(0x125)])(!0x1),[_0x49e405,_0x22119a]=(0x0,_0x5de930[_0x358537(0x125)])(!0x1),[_0x11a3b5,_0x47654f]=(0x0,_0x5de930[_0x358537(0x125)])(),_0x4e7fa2=_0x166c91(_0x1e13b4),_0x323407=_0x21b304(_0x1e13b4),_0x173fdf=_0x4aeed5?_0x39337f(_0x4aeed5,_0x1e13b4):'',_0x1700eb=(0x0,_0x5de930['useRef'])(_0x173fdf),_0x1adf4e=(0x0,_0x5de930['useRef'])(void 0x0),_0x5cabf8=(0x0,_0x5de930[_0x358537(0x20c)])(null);(0x0,_0x5de930[_0x358537(0x1ce)])(()=>{const _0x1009bd=_0x358537;_0x30832d['setRangeSelectMode'](_0x3046e6),_0x5438b3[_0x1009bd(0x489)](_0x1e7325[_0x1009bd(0x37b)],_0x3046e6);},[_0x5438b3,_0x3046e6,_0x30832d]),(0x0,_0x5de930[_0x358537(0x1ce)])(()=>()=>{const _0x3d0b52=_0x358537;_0x30832d[_0x3d0b52(0x21f)](!0x1),_0x5438b3[_0x3d0b52(0x489)](_0x1e7325['FOCUSING_PANEL_EDITOR'],!0x1);},[_0x5438b3,_0x30832d]);let _0x24a5bd=(0x0,_0x5de930[_0x358537(0x405)])(_0x126a77=>{const _0x494253=_0x358537;var _0xe7e106;if(_0x39337f(_0x4aeed5,_0x1e13b4)===_0x126a77)return _0x47654f(void 0x0),!0x0;let _0x5861c6=_0x126a77['split'](_0x1ee0b1['matchToken']['COMMA']);if(!_0x126a77[_0x494253(0x3c6)]()||_0x5861c6[_0x494253(0x2d4)]!==0x1||!((_0xe7e106=_0x5cabf8[_0x494253(0x35f)])!=null&&_0xe7e106['verify']()))return _0x47654f(_0x5a72e7['t'](_0x494253(0x3be))),!0x1;let {unitId:_0x2898f3,sheetName:_0x2e7035,range:_0x27ba73}=(0x0,_0x1ee0b1['deserializeRangeWithSheet'])(_0x5861c6[0x0]),_0x43a644=_0x2898f3||_0x4e7fa2,_0x473ab1=_0x1e13b4[_0x494253(0x1b8)](_0x43a644),_0x31ec3c=(_0x5719da==null?void 0x0:_0x5719da[_0x494253(0xfa)])===_0x43a644?_0x5719da[_0x494253(0x331)]:_0x323407,_0x563bbf=_0x2e7035?_0x473ab1==null?void 0x0:_0x473ab1[_0x494253(0xe1)](_0x2e7035):_0x473ab1==null?void 0x0:_0x473ab1[_0x494253(0x262)](_0x31ec3c??'');return!_0x473ab1||!_0x563bbf||!(0x0,_0x1e7325[_0x494253(0x4b1)])(_0x27ba73,_0x563bbf)?(_0x47654f(_0x5a72e7['t'](_0x494253(0x3be))),!0x1):(_0x47654f(void 0x0),_0x30832d['setDataRange']({'rangeInfo':{'range':_0x27ba73,'unitId':_0x43a644,'subUnitId':_0x563bbf['getSheetId']()}}),!0x0);},[_0x4aeed5,_0x5a72e7,_0x5719da,_0x30832d,_0x323407,_0x4e7fa2,_0x1e13b4]),_0x54014a=(0x0,_0x5de930[_0x358537(0x2d7)])(()=>({'keyCodes':[{'keyCode':_0xced9f3[_0x358537(0x345)][_0x358537(0x2e7)],'nativeTextEditorBehavior':_0xced9f3['NativeTextEditorShortcutBehavior'][_0x358537(0x372)]}],'handler':_0x3fe96b=>{const _0xbaed47=_0x358537;_0x3fe96b===_0xced9f3[_0xbaed47(0x345)]['ENTER']&&_0x24a5bd(_0x1700eb[_0xbaed47(0x35f)])&&(_0x1adf4e[_0xbaed47(0x35f)]=_0x1700eb[_0xbaed47(0x35f)]);}}),[_0x24a5bd]);return(0x0,_0x424e81[_0x358537(0x25c)])(_0x358537(0x44a),{'className':_0x358537(0x1a6),'children':(0x0,_0x424e81[_0x358537(0x2da)])(_0x358537(0x44a),{'children':[(0x0,_0x424e81['jsx'])(_0x339b6e[_0x358537(0x189)],{'title':_0x5a72e7['t'](_0x358537(0x1a7))}),(0x0,_0x424e81[_0x358537(0x25c)])(_0x2aadda[_0x358537(0x47e)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4e7fa2,'subUnitId':_0x323407,'initialValue':_0x173fdf,'keyboardEventConfig':_0x54014a,'selectorRef':_0x5cabf8,'onChange':(_0x441fbb,_0x3b9339)=>{const _0x1b2764=_0x358537;_0x1700eb[_0x1b2764(0x35f)]=_0x3b9339,_0x49e405&&_0x1adf4e[_0x1b2764(0x35f)]!==_0x3b9339&&_0x24a5bd(_0x3b9339)&&(_0x1adf4e['current']=_0x3b9339);},'onFocusChange':(_0x2cea6d,_0x506f30)=>{const _0x55d7b5=_0x358537;if(_0x506f30!==void 0x0&&(_0x1700eb['current']=_0x506f30),_0x49e405||_0x4c7b9a(_0x2cea6d),_0x2cea6d)_0x1adf4e['current']=_0x1700eb[_0x55d7b5(0x35f)];else{let _0x1b3501=_0x1adf4e[_0x55d7b5(0x35f)];_0x1adf4e[_0x55d7b5(0x35f)]=void 0x0,_0x1b3501!==void 0x0&&_0x1700eb[_0x55d7b5(0x35f)]!==_0x1b3501&&_0x24a5bd(_0x1700eb['current']);}},'onRangeSelectorDialogVisibleChange':_0xfb0ff5=>{_0x22119a(_0xfb0ff5),_0x4c7b9a(_0xfb0ff5);}}),_0x11a3b5?(0x0,_0x424e81[_0x358537(0x25c)])(_0x358537(0x44a),{'className':_0x358537(0x18e),'children':_0x11a3b5}):null]})});}function _0x320cf3(_0x35c9b6){const _0x4264b2=_0xeb70cf;return(0x0,_0x424e81[_0x4264b2(0x2da)])(_0x339b6e[_0x4264b2(0x3c4)],{'id':_0x35c9b6['id'],'children':[(0x0,_0x424e81[_0x4264b2(0x25c)])(_0x339b6e[_0x4264b2(0x2ce)],{'children':_0x35c9b6[_0x4264b2(0x3bd)]}),(0x0,_0x424e81[_0x4264b2(0x25c)])(_0x339b6e[_0x4264b2(0x41b)],{'children':_0x35c9b6[_0x4264b2(0x140)]})]});}let _0x128705=_0x54115f=>{const _0x4bbd9a=_0xeb70cf;let _0x240a41=(0x0,_0xced9f3['useDependency'])(_0x1e7325[_0x4bbd9a(0x404)]),_0x3b83c7=(0x0,_0xced9f3[_0x4bbd9a(0x3e2)])(_0x19c057),_0x5c09ad=(0x0,_0xced9f3[_0x4bbd9a(0x3e2)])(_0x5979b3[_0x4bbd9a(0x148)]),_0x252896=(0x0,_0xced9f3[_0x4bbd9a(0x174)])(_0x5c09ad[_0x4bbd9a(0x280)],_0x5c09ad['activeChartModel']),_0x4e333f=(0x0,_0xced9f3['useObservable'])(_0x3b83c7[_0x4bbd9a(0x1fb)],null),_0x2a2b91=_0x4e333f&&_0x4e333f[_0x4bbd9a(0x2b5)]===(_0x252896==null?void 0x0:_0x252896['id'])?_0x4e333f[_0x4bbd9a(0x2fd)]:null,_0x158937=(0x0,_0x339b6e['useChartEditorChartType'])(),_0x4d4ef7=(0x0,_0x339b6e['useChartEditorHasRightAxis'])(),[_0x1eb416,_0x52246c]=(0x0,_0x5de930[_0x4bbd9a(0x125)])(null);(0x0,_0x5de930[_0x4bbd9a(0x1ce)])(()=>{const _0x2613ef=_0x4bbd9a;_0x2a2b91!=null&&_0x2a2b91[_0x2613ef(0x47a)]&&_0x52246c(_0x2a2b91[_0x2613ef(0x47a)]);},[_0x2a2b91]);let _0x23b01c=_0x3611d5[_0x4bbd9a(0xda)]['baseOn'](_0x158937,_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x2c7)]),_0x20ffa7=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x46f)],_0x52ea64=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x1e7)],_0x3acc40=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x2a1)],_0x5d6aab=_0x3611d5['chartBitsUtils'][_0x4bbd9a(0x28b)](_0x158937,_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x2f8)]),_0x4d4f40=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3e9)],_0x594bf2=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x363)],_0x1f1e18=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x281)],_0x130c39=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x482)],_0x1a44e1,_0x238026;switch(_0x158937){case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x1a2)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1a2)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x12d));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3bc)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3bc)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x4b0));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x33e)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x33e)],_0x238026=_0x240a41['t']('sheets-chart-ui.section.treemap');break;case _0x3611d5['ChartTypeBits'][_0x4bbd9a(0x440)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x440)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x34e));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x1d0)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1d0)],_0x238026=_0x240a41['t'](_0x4bbd9a(0xf0));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3ee)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3ee)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x426));}let _0x14a9da=(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x1e9)])&&!_0x5d6aab&&!_0x1f1e18;return(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x339b6e[_0x4bbd9a(0x43b)],{'value':_0x1eb416,'onChange':_0x52246c,'children':[(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x24f)],'label':_0x240a41['t'](_0x4bbd9a(0x3fe)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x4b9)]})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x284)],'label':_0x240a41['t'](_0x4bbd9a(0xfd)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xcc)],{'commitMode':_0x4bbd9a(0x14c),'defaultValues':_0x54115f['defaultValues']['titles'],'selectedTitleKey':_0x2a2b91==null?void 0x0:_0x2a2b91[_0x4bbd9a(0x12a)]})}),(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x445)],{'section':_0x4bbd9a(0x4a3)}),_0x14a9da&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2a6)],'label':_0x240a41['t'](_0x4bbd9a(0x198)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x48f)],{'defaultValues':_0x54115f['defaultValues']['series'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'selectedSeriesId':_0x2a2b91==null?void 0x0:_0x2a2b91['seriesId']})}),_0x594bf2&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x484)],'label':_0x240a41['t'](_0x4bbd9a(0x11b)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x34c)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x2c9)],'getDefaultBucketName':({seriesName:_0x120a68,target:_0x29b0a3})=>_0x29b0a3===_0x3611d5['ChartWaterfallStyleTarget'][_0x4bbd9a(0x46e)]?_0x240a41['t'](_0x4bbd9a(0x309)):_0x120a68?_0x120a68+'-('+_0x240a41['t'](_0x29b0a3===_0x3611d5[_0x4bbd9a(0x154)]['Positive']?_0x4bbd9a(0x1c6):_0x4bbd9a(0x22c))+')':'','NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'selectedSeriesId':_0x2a2b91==null?void 0x0:_0x2a2b91[_0x4bbd9a(0x411)]})}),_0x1f1e18&&(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x424e81[_0x4bbd9a(0x241)],{'children':[(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2eb)],'label':_0x240a41['t'](_0x4bbd9a(0x32e)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x10e)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x34f)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'showDataPointEditor':!0x0,'target':_0x4bbd9a(0x341)})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e['ChartEditPanelSection'][_0x4bbd9a(0x1dc)],'label':_0x240a41['t'](_0x4bbd9a(0x251)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x10e)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x34f)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'showDataPointEditor':!0x1,'target':_0x4bbd9a(0x4a6)})})]}),_0x23b01c&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1de)],'label':_0x240a41['t'](_0x4bbd9a(0xd8)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e['ChartPieStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x104)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),_0x52ea64&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1e7)],'label':_0x240a41['t']('sheets-chart-ui.section.wordCloud'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x1f8)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x32b)]})}),_0x20ffa7&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Radar'],'label':_0x240a41['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartRadarStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['radar']})}),_0x3acc40&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Funnel'],'label':_0x240a41['t'](_0x4bbd9a(0x48d)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e['ChartFunnelStyleSection'],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xf2)],'gapControl':'select'})}),_0x130c39&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x482)],'label':_0x240a41['t'](_0x4bbd9a(0x326)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x321)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['heatmap']})}),_0x4d4f40&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3e9)],'label':_0x240a41['t'](_0x4bbd9a(0x3ef)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0xcb)],{'defaultValues':_0x54115f['defaultValues']['relation']})}),(0x0,_0x339b6e[_0x4bbd9a(0x319)])(_0x158937)&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e['ChartEditPanelSection'][_0x4bbd9a(0xce)],'label':_0x240a41['t'](_0x3611d5[_0x4bbd9a(0xda)][_0x4bbd9a(0x28b)](_0x158937,_0x3611d5[_0x4bbd9a(0x109)]['Area'])?_0x4bbd9a(0x38a):_0x4bbd9a(0x314)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x478)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['lineAndArea'],'lineStyleControl':_0x4bbd9a(0x10d)})}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x1e4)])&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1e4)],'label':_0x240a41['t'](_0x4bbd9a(0x233)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x248)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x2d0)]})}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e['ChartEditorCapability'][_0x4bbd9a(0x138)])&&(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x424e81[_0x4bbd9a(0x241)],{'children':[(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['HorizontalAxis'],'label':_0x240a41['t'](_0x4bbd9a(0x31d)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':'x','defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xe6)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['VerticalAxis'],'label':_0x240a41['t'](_0x4bbd9a(0x2b1)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':'y','defaultValues':_0x54115f[_0x4bbd9a(0x176)]['axis'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x445)],{'section':_0x4bbd9a(0x158)}),_0x4d4ef7&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2e3)],'label':_0x240a41['t'](_0x4bbd9a(0x379)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':_0x4bbd9a(0x335),'defaultValues':_0x54115f['defaultValues']['axis'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1f7)],'label':_0x240a41['t'](_0x4bbd9a(0x149)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x3f5)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xe6)]})})]}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x24a)])&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['IndicatorLine'],'label':_0x240a41['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartIndicatorLineSection'],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x423)]})}),(0x0,_0x3611d5['chartTypeCanUseTrendLine'])(_0x158937)&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Trendline'],'label':_0x240a41['t']('sheets-chart-ui.common.trendline'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartTrendlineSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x4b4)]})}),_0x1a44e1&&_0x238026&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x1a44e1,'label':_0x238026,'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x20f)],{})})]});};function _0x2427fb(_0x426018){const _0x1c5fec=_0xeb70cf;let {className:_0x23c97a}=_0x426018,[_0x4a4f9f,_0x382bda]=(0x0,_0x5de930[_0x1c5fec(0x125)])(_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x11f)]),_0x56b61a=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x1e7325[_0x1c5fec(0x459)]),_0x2cd80d=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x1e7325[_0x1c5fec(0x404)]),_0x5a4806=(0x0,_0xced9f3['useDependency'])(_0x19c057),_0x3618e6=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x5979b3[_0x1c5fec(0x148)]),_0x27ccc1=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x5979b3[_0x1c5fec(0x258)]),_0x595ae1=(0x0,_0xced9f3[_0x1c5fec(0x174)])(_0x3618e6['activeChartModel$'],_0x3618e6[_0x1c5fec(0xea)]),_0x5b035b=(0x0,_0xced9f3['useObservable'])(_0x5a4806[_0x1c5fec(0x1fb)],null),_0x4ea1a3=(0x0,_0x5de930[_0x1c5fec(0x2d7)])(()=>{const _0x3bfa81=_0x1c5fec;var _0x3e8346;if(!_0x595ae1)return null;let _0x4f836e=_0x27ccc1[_0x3bfa81(0x310)](_0x595ae1['id']);if(!_0x4f836e)return null;let _0x30b952=Array[_0x3bfa81(0x28a)](_0x4f836e)?(_0x3e8346=_0x4f836e[0x0])==null?void 0x0:_0x3e8346[_0x3bfa81(0x441)]:_0x4f836e['rangeInfo'];return _0x30b952?new _0x339b6e[(_0x3bfa81(0x2a3))](_0x595ae1,new _0x5979b3['SheetChartConfigAdapter']({'unitId':_0x30b952[_0x3bfa81(0xfa)],'subUnitId':_0x30b952['subUnitId'],'chartId':_0x595ae1['id'],'injector':_0x56b61a})):null;},[_0x595ae1,_0x56b61a,_0x27ccc1]);if((0x0,_0x5de930[_0x1c5fec(0x1ce)])(()=>{const _0x2ea474=_0x1c5fec;var _0x3a41ea,_0x22bf7e;_0x595ae1&&(_0x5b035b==null?void 0x0:_0x5b035b['chartId'])===_0x595ae1['id']&&(((_0x3a41ea=_0x5b035b[_0x2ea474(0x2fd)])==null?void 0x0:_0x3a41ea[_0x2ea474(0x294)])===_0x339b6e['ChartEditPanelTab'][_0x2ea474(0x41a)]&&_0x382bda(_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x41a)]),((_0x22bf7e=_0x5b035b[_0x2ea474(0x2fd)])==null?void 0x0:_0x22bf7e[_0x2ea474(0x294)])===_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x11f)]&&_0x382bda(_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x11f)]));},[_0x595ae1,_0x5b035b]),!_0x4ea1a3)return null;let _0x431ffb=(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x1c5fec(0x44a),{'className':_0x1c5fec(0xee)+(_0x4a4f9f===_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x41a)]?'univer-overflow-visible':_0x1c5fec(0x27c))+_0x1c5fec(0x169)+(_0x23c97a??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x339b6e[_0x1c5fec(0x3cb)],{'ariaLabel':_0x2cd80d['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x4a4f9f,'onTabChange':_0x382bda,'tabListClassName':_0x1c5fec(0x156),'panelClassName':_0x4a4f9f===_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x41a)]?_0x1c5fec(0x27f):void 0x0,'tabs':[{'id':_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x11f)],'panelId':_0x3e560c,'title':_0x2cd80d['t'](_0x1c5fec(0x453)),'content':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x11a2c2,{})},{'id':_0x339b6e['ChartEditPanelTab']['Style'],'panelId':_0x21b67e,'title':_0x2cd80d['t'](_0x1c5fec(0x19f)),'content':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x128705,{'defaultValues':_0x434889})}]})});return(0x0,_0x424e81['jsx'])(_0x339b6e[_0x1c5fec(0x340)],{'chartUIService':_0x5a4806,'hostAdapter':_0x4ea1a3,'children':_0x431ffb});}let _0x47b009='sheet.chart.edit.panel',_0x3e560c=_0xeb70cf(0x385),_0x21b67e=_0xeb70cf(0x1bc);function _0x19d02f(_0x36d0e6){const _0x5dec89=_0xeb70cf;return _0x36d0e6[_0x5dec89(0x2d4)]===0x1&&_0x47f235(_0x36d0e6[0x0]);}function _0x47f235(_0x10db7f){const _0x25523a=_0xeb70cf;return(_0x10db7f==null?void 0x0:_0x10db7f['drawingType'])===_0x1e7325['DrawingTypeEnum'][_0x25523a(0x1c3)]&&!_0x10db7f['groupId'];}let _0xdc4924=class extends _0x1e7325['Disposable']{constructor(_0x5240e3,_0xfa4ee2,_0x16b856,_0x22ff8b,_0x195602,_0x578346,_0x1a3729,_0x1e5568,_0x58ce7b,_0x3db016,_0x289b3f,_0x21bb0b,_0x2aa19d,_0x40fcc2,_0x10188b){const _0xcff523=_0xeb70cf;var _0x1dfb81;super(),this[_0xcff523(0x3f7)]=_0x5240e3,this[_0xcff523(0x42c)]=_0xfa4ee2,this[_0xcff523(0x3ea)]=_0x16b856,this[_0xcff523(0x145)]=_0x22ff8b,this[_0xcff523(0x46a)]=_0x195602,this[_0xcff523(0x374)]=_0x578346,this[_0xcff523(0x45f)]=_0x1a3729,this[_0xcff523(0x402)]=_0x1e5568,this[_0xcff523(0x16c)]=_0x58ce7b,this[_0xcff523(0x451)]=_0x3db016,this['_commandService']=_0x289b3f,this[_0xcff523(0x1db)]=_0x21bb0b,this[_0xcff523(0x337)]=_0x2aa19d,this[_0xcff523(0x133)]=_0x40fcc2,_0x1b6fbd(this,'_sidebarDisposable',null),_0x1b6fbd(this,'_isChartElementEditEnabled',void 0x0),this['_isChartElementEditEnabled']=((_0x1dfb81=_0x10188b[_0xcff523(0xe5)](_0xcff523(0x297)))==null?void 0x0:_0x1dfb81['enableChartElementFloatMenu'])===!0x0,this[_0xcff523(0x184)](),this['disposeWithMe'](this[_0xcff523(0x42c)]['getCurrentTypeOfUnit$'](_0x1e7325['UniverInstanceType']['UNIVER_SHEET'])[_0xcff523(0x413)](_0x3ddb17=>{const _0x3b6a87=_0xcff523;var _0x25f17b;_0x3ddb17||(_0x25f17b=this[_0x3b6a87(0x21a)])==null||_0x25f17b['dispose']();})),this[_0xcff523(0x1e8)]((0x0,_0x1e7325['toDisposable'])(this[_0xcff523(0x374)]['onDoubleClick$'][_0xcff523(0x413)](async({drawing:_0x27f8d0})=>{await this['_handleDrawingDoubleClick'](_0x27f8d0);})));}['_openPanel'](){const _0x52d98c=_0xeb70cf;this[_0x52d98c(0x21a)]=this[_0x52d98c(0x45f)]['open']({'id':_0x47b009,'header':{'title':this[_0x52d98c(0x133)]['t'](_0x52d98c(0x249))},'width':0x154,'children':{'label':_0x47b009},'onClose':()=>{const _0x4b72c9=_0x52d98c;this[_0x4b72c9(0x21a)]=null,this[_0x4b72c9(0x2d1)](),this[_0x4b72c9(0x3ea)][_0x4b72c9(0xea)]&&this['_chartModelService'][_0x4b72c9(0x128)](null),this[_0x4b72c9(0x3f7)][_0x4b72c9(0x17c)](null),this[_0x4b72c9(0x337)][_0x4b72c9(0x489)](_0x1e7325['FOCUSING_COMMON_DRAWINGS'],!0x1);}});}[_0xeb70cf(0x406)](){const _0xee3eb=_0xeb70cf;let _0xd15b86=this[_0xee3eb(0x21a)];this[_0xee3eb(0x21a)]=null,this['_deactivateEditPanelState'](),this['_chartModelService'][_0xee3eb(0xea)]&&this[_0xee3eb(0x3ea)][_0xee3eb(0x128)](null),_0xd15b86==null||_0xd15b86[_0xee3eb(0x151)]();}[_0xeb70cf(0x1d1)](){const _0x11de54=_0xeb70cf;let _0xeca506=this[_0x11de54(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x11de54(0x3b8)][_0x11de54(0x41f)]);this[_0x11de54(0x1e8)](this[_0x11de54(0x45f)]['sidebarOptions$'][_0x11de54(0x413)](_0x3029b6=>{const _0x56198c=_0x11de54;_0x3029b6['id']===_0x56198c(0x199)&&(_0x3029b6[_0x56198c(0x32a)]||this[_0x56198c(0x45f)]['sidebarOptions$'][_0x56198c(0x217)]({'visible':!0x1}));})),this[_0x11de54(0x1e8)]((0x0,_0x24f269['combineLatest'])([this[_0x11de54(0x3ea)]['activeChartModel$'],this[_0x11de54(0x1db)]['chartEditorOpen$']])['pipe']((0x0,_0x24f269[_0x11de54(0x1f6)])(([_0x487846,_0x435a09])=>_0x435a09?(_0x487846==null?void 0x0:_0x487846['id'])??null:null),(0x0,_0x24f269[_0x11de54(0x477)])(),(0x0,_0x24f269[_0x11de54(0x11e)])(null),(0x0,_0x24f269[_0x11de54(0x3ca)])())[_0x11de54(0x413)](([_0x6e62f1,_0x1aee28])=>{const _0x18fb11=_0x11de54;this[_0x18fb11(0x488)](_0x6e62f1,_0x1aee28);})),this[_0x11de54(0x1e8)](this[_0x11de54(0x3ea)][_0x11de54(0x280)][_0x11de54(0x413)](_0x2cc560=>{const _0x73020=_0x11de54;!_0x2cc560&&this[_0x73020(0x21a)]&&this[_0x73020(0x406)]();})),this[_0x11de54(0x1e8)](this['_commandService'][_0x11de54(0x444)](_0x233168=>{const _0x271daf=_0x11de54;if(_0x233168['id']===_0x48776c['id']){let _0x280106=_0x233168[_0x271daf(0x2f0)];if(!_0x47f235(this[_0x271daf(0x3f7)]['getDrawingByParam']({'unitId':_0x280106[_0x271daf(0xfa)],'subUnitId':_0x280106['subUnitId'],'drawingId':_0x280106[_0x271daf(0xef)]})))return;this[_0x271daf(0x182)](_0x280106[_0x271daf(0xef)],_0x280106[_0x271daf(0x2fd)]);}if(_0x233168['id']===_0x2f1627['id']&&this[_0x271daf(0x406)](),_0x233168['id']===_0x5979b3[_0x271daf(0x237)]['id']){var _0xede305;_0x233168[_0x271daf(0x2f0)][_0x271daf(0x2b5)]===((_0xede305=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0xede305['id'])&&this['hidePanel'](),this[_0x271daf(0x337)][_0x271daf(0x24c)](_0x1e7325[_0x271daf(0xec)])&&(this[_0x271daf(0x337)]['setContextValue'](_0x1e7325['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x271daf(0x3f7)][_0x271daf(0x17c)](null));}})),this[_0x11de54(0x1e8)](this[_0x11de54(0x16c)][_0x11de54(0x144)][_0x11de54(0x413)](({id:_0x4834b0})=>{const _0xeca385=_0x11de54;this[_0xeca385(0x1db)][_0xeca385(0xd6)](_0x4834b0)&&this['hidePanel']();})),this['disposeWithMe'](this[_0x11de54(0x16c)][_0x11de54(0x1be)][_0x11de54(0x413)](({id:_0x1c9e26})=>{const _0x328c43=_0x11de54;this['_sheetsChartUIService'][_0x328c43(0xd6)](_0x1c9e26)&&(this[_0x328c43(0x1db)][_0x328c43(0x26f)](),this['_chartRenderService'][_0x328c43(0x12f)](_0x1c9e26,!0x1),this[_0x328c43(0x49f)](_0x1c9e26)&&this[_0x328c43(0x46a)]['setElementEditMode'](_0x1c9e26,!0x0));})),this[_0x11de54(0x1e8)](this[_0x11de54(0x3f7)][_0x11de54(0x49b)][_0x11de54(0x413)](_0x3f5faa=>{const _0x5ca0d9=_0x11de54;let _0x357676=_0x3f5faa[0x0];if(!this[_0x5ca0d9(0x1db)][_0x5ca0d9(0x185)]){if(_0x19d02f(_0x3f5faa)){var _0x386025;let _0x2077cb=this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0x316)](_0x357676['drawingId']);_0x2077cb&&this[_0x5ca0d9(0x183)](_0x2077cb['id'])&&((_0x386025=this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0xea)])==null?void 0x0:_0x386025['id'])!==_0x2077cb['id']&&this['_chartModelService'][_0x5ca0d9(0x128)](_0x2077cb);}else this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0xea)]&&this['_chartModelService'][_0x5ca0d9(0x128)](null),!_0x357676&&!this[_0x5ca0d9(0x1db)]['rangeSelectMode']&&this[_0x5ca0d9(0x406)]();}})),_0xeca506&&(this[_0x11de54(0x1e8)](_0xeca506[_0x11de54(0x1d3)][_0x11de54(0x413)](()=>{this['hidePanel']();})),this[_0x11de54(0x1e8)](_0xeca506['activeSheet$']['subscribe'](()=>{this['hidePanel']();})));}async[_0xeb70cf(0x16b)](_0x5432c3){const _0x7c66b9=_0xeb70cf;this[_0x7c66b9(0x1db)][_0x7c66b9(0x4ac)]||_0x47f235(_0x5432c3)&&this[_0x7c66b9(0x183)](_0x5432c3[_0x7c66b9(0xef)])&&await this[_0x7c66b9(0x308)](_0x5432c3[_0x7c66b9(0xfa)],_0x5432c3[_0x7c66b9(0x331)],_0x5432c3['drawingId']);}async[_0xeb70cf(0x308)](_0x5be89a,_0x5b917d,_0xf64a12){const _0xbe3171=_0xeb70cf;this[_0xbe3171(0x3ea)]['getChartModel'](_0xf64a12)&&this['_isOwnedChart'](_0xf64a12)&&await this[_0xbe3171(0x460)][_0xbe3171(0x318)](_0x48776c['id'],{'unitId':_0x5be89a,'subUnitId':_0x5b917d,'drawingId':_0xf64a12});}['openChartPanelById'](_0x5c759b,_0x432b8d){const _0x955128=_0xeb70cf;let _0xfe372=this[_0x955128(0x3ea)][_0x955128(0x316)](_0x5c759b);_0xfe372&&this[_0x955128(0x183)](_0x5c759b)&&(this[_0x955128(0x3ea)]['setActiveChartModel'](_0xfe372),this[_0x955128(0x3b5)](),this['_activateEditPanelState'](_0x5c759b,_0x432b8d??null));}[_0xeb70cf(0x205)](_0x4e7c80,_0x162c45){const _0x1953f3=_0xeb70cf;this['_sheetsChartUIService'][_0x1953f3(0x399)](!0x0),this[_0x1953f3(0x1db)][_0x1953f3(0x1ef)](_0x4e7c80,_0x162c45);}[_0xeb70cf(0x2d1)](){const _0x38f001=_0xeb70cf;this[_0x38f001(0x1db)][_0x38f001(0x399)](!0x1);}['_syncActiveEditChart'](_0x8e34b3,_0x47eda6){const _0x17b2d5=_0xeb70cf;_0x8e34b3!==_0x47eda6&&(_0x8e34b3&&this[_0x17b2d5(0x46a)][_0x17b2d5(0x12f)](_0x8e34b3,!0x1),this[_0x17b2d5(0x1db)]['clearPanelRoute'](),_0x47eda6&&(this['_sheetsChartUIService'][_0x17b2d5(0x1ef)](_0x47eda6,null),this[_0x17b2d5(0x46a)][_0x17b2d5(0x12f)](_0x47eda6,this[_0x17b2d5(0x49f)](_0x47eda6))));}[_0xeb70cf(0x184)](){const _0x5106c7=_0xeb70cf;this[_0x5106c7(0x402)][_0x5106c7(0x1a0)](_0x3350dd),this[_0x5106c7(0x451)]['registerFeatureMenu'](_0x1e7325[_0x5106c7(0x28f)][_0x5106c7(0x1c3)],this[_0x5106c7(0x218)][_0x5106c7(0x456)](this));}[_0xeb70cf(0x49f)](_0x144259){const _0x3d6e71=_0xeb70cf;let _0x15c31b=this['_chartModelService']['getChartModel'](_0x144259);return!this[_0x3d6e71(0x1cb)]||!_0x15c31b||!this[_0x3d6e71(0x183)](_0x144259)?!0x1:_0x3a7357(_0x15c31b[_0x3d6e71(0x257)]);}[_0xeb70cf(0x218)](_0x132282,_0x386caf,_0x5dd760,_0x11dd5b){const _0xed4cee=_0xeb70cf;if(!this['_chartModelService'][_0xed4cee(0x316)](_0x5dd760))return[];let _0xe49e71=[{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x296)),'index':0x0,'commandId':_0x48776c['id'],'commandParams':{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760},'disable':_0x11dd5b!==_0x1e7325['DrawingTypeEnum'][_0xed4cee(0x1c3)]}];return this[_0xed4cee(0x183)](_0x5dd760)?[..._0xe49e71,{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x11d)),'index':0x1,'commandId':_0x4dac75[_0xed4cee(0x3ff)]['id'],'commandParams':{'unitId':_0x132282,'drawings':[{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760,'drawingType':_0x11dd5b}]},'disable':!0x1},{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x3ab)),'index':0x2,'commandId':_0x2f1627['id'],'commandParams':{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760},'disable':!0x1}]:_0xe49e71;}[_0xeb70cf(0x183)](_0x1b80fc){const _0x3385c9=_0xeb70cf;return this[_0x3385c9(0x145)][_0x3385c9(0x310)](_0x1b80fc)!==void 0x0;}};_0xdc4924=_0x6243e3([_0x16880b(0x0,_0x39bdba[_0xeb70cf(0x41e)]),_0x16880b(0x1,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['ChartModelService'])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x258)])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x5,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93[_0xeb70cf(0x29d)])),_0x16880b(0x6,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x3dc)])),_0x16880b(0x7,_0xced9f3[_0xeb70cf(0x329)]),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x9,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0x165)])),_0x16880b(0xa,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0xb,_0x19c057),_0x16880b(0xc,_0x1e7325['IContextService']),_0x16880b(0xd,(0x0,_0x1e7325['Inject'])(_0x1e7325['LocaleService'])),_0x16880b(0xe,_0x1e7325[_0xeb70cf(0x475)])],_0xdc4924);var _0x2a4915='@univerjs-pro/sheets-chart-ui',_0x362383=_0xeb70cf(0x407);let _0x34efc2=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x526b38,_0x1f152b){const _0x49e204=_0xeb70cf;super(),this[_0x49e204(0x3c8)]=_0x526b38,this[_0x49e204(0x3ea)]=_0x1f152b,this[_0x49e204(0x48c)]();}[_0xeb70cf(0x48c)](){const _0x26d8f3=_0xeb70cf;this['disposeWithMe'](this[_0x26d8f3(0x3c8)][_0x26d8f3(0x48a)][_0x26d8f3(0x413)](_0x2126b6=>{const _0x16a234=_0x26d8f3;this['_chartModelService'][_0x16a234(0x3f0)](_0x2126b6);}));}};_0x34efc2=_0x6243e3([_0x16880b(0x0,_0x46b74e),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)]))],_0x34efc2);let _0x4a438d=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x157c0d,_0x46cc65,_0x8c924f,_0xc02724,_0x13739d,_0x5a281f){const _0x805f42=_0xeb70cf;super(),this[_0x805f42(0x3ea)]=_0x157c0d,this['_chartRenderService']=_0x46cc65,this['_localeService']=_0x8c924f,this[_0x805f42(0x2ae)]=_0xc02724,this[_0x805f42(0x460)]=_0x13739d,this[_0x805f42(0x278)]=_0x5a281f,_0x1b6fbd(this,'_pendingMutationConfigRenders',new Map()),_0x1b6fbd(this,'_pendingDataUpdateChartIds',new Set()),this[_0x805f42(0x48c)](),this['_listenChartUpdateMutations'](),this['_initPrinting']();}[_0xeb70cf(0x29a)](){const _0x4df638=_0xeb70cf;this[_0x4df638(0x1e8)](this['_sheetPrintInterceptorService']['interceptor'][_0x4df638(0x30a)](this[_0x4df638(0x278)][_0x4df638(0x136)][_0x4df638(0x3a0)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x5d2392,_0x31b226,_0x2fabce)=>{const _0x355602=_0x4df638;let _0x365e4a=this[_0x355602(0x46a)][_0x355602(0x3c5)](_0x31b226['unitId'],_0x31b226[_0x355602(0x331)],_0x31b226['scene']);return _0x31b226[_0x355602(0x23b)][_0x355602(0x2a8)](_0x365e4a),_0x2fabce(_0x5d2392);}}));}[_0xeb70cf(0x48c)](){const _0xe89551=_0xeb70cf;this[_0xe89551(0x1e8)](this[_0xe89551(0x3ea)][_0xe89551(0x2ea)][_0xe89551(0x413)](_0x1c3d05=>{const _0x47e68a=_0xe89551;if(_0x1c3d05){let _0x888236=new _0x1e7325[(_0x47e68a(0x386))]();_0x888236['add'](_0x1c3d05['dataSource$'][_0x47e68a(0x2cf)]((0x0,_0x24f269[_0x47e68a(0x2cb)])(_0x172582=>_0x172582[_0x47e68a(0x227)][_0x47e68a(0x2cf)]((0x0,_0x24f269['skip'])(0x1))))[_0x47e68a(0x413)](()=>{const _0x5cde4a=_0x47e68a;this[_0x5cde4a(0x228)][_0x5cde4a(0x2a8)](_0x1c3d05['id']);})),_0x888236['add'](_0x1c3d05[_0x47e68a(0x271)][_0x47e68a(0x2cf)]((0x0,_0x24f269['combineLatestWith'])(_0x1c3d05[_0x47e68a(0x242)]),(0x0,_0x24f269['combineLatestWith'])(this[_0x47e68a(0x133)][_0x47e68a(0x369)]),(0x0,_0x24f269[_0x47e68a(0x201)])(0x64))[_0x47e68a(0x413)](([[_0x24b973,_0xca4ebe],_0x519f92])=>{const _0x5cf9f0=_0x47e68a;var _0x273a5c;if(!_0x24b973)return;(_0x273a5c=_0x24b973[_0x5cf9f0(0xd9)])==null||_0x273a5c['items'][_0x5cf9f0(0x332)]((_0x2c498c,_0x163c1f)=>{const _0x5ee52e=_0x5cf9f0;_0x2c498c['label']||=this[_0x5ee52e(0x133)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x163c1f+0x1);}),_0x24b973[_0x5cf9f0(0x1f9)][_0x5cf9f0(0x332)]((_0x384470,_0xc5eb52)=>{const _0x45d133=_0x5cf9f0;_0x384470['name']||=this[_0x45d133(0x133)]['t'](_0x45d133(0x39b))+'\x20'+(_0xc5eb52+0x1);});let _0x3eadfd=this[_0x5cf9f0(0x46a)][_0x5cf9f0(0x23f)](_0x1c3d05,_0x519f92),_0x31765e=this[_0x5cf9f0(0x228)][_0x5cf9f0(0x339)](_0x1c3d05['id']);this[_0x5cf9f0(0x46a)][_0x5cf9f0(0x37d)](_0x1c3d05['id'],_0x24b973,_0x3eadfd,{'animateDataUpdate':_0x31765e});})),_0x1c3d05[_0x47e68a(0x2ef)](()=>{const _0x106640=_0x47e68a;this['_pendingDataUpdateChartIds'][_0x106640(0x339)](_0x1c3d05['id']),_0x888236[_0x106640(0x151)]();});}}));}[_0xeb70cf(0x387)](){const _0x3343e4=_0xeb70cf;this[_0x3343e4(0x1e8)](this[_0x3343e4(0x460)]['onCommandExecuted'](_0x48e30d=>{const _0x60325=_0x3343e4;if(_0x48e30d['id']!==_0x5979b3['ChartUpdateConfigMutation']['id'])return;let _0x55a229=_0x48e30d[_0x60325(0x2f0)];_0x55a229!=null&&_0x55a229[_0x60325(0x166)]&&Promise[_0x60325(0x226)]()[_0x60325(0x286)](()=>this['_renderAfterChartUpdateMutation'](_0x55a229));}));}[_0xeb70cf(0x146)](_0xf7a0f4){const _0x2c2f8b=_0xeb70cf;let _0x1b0543=this[_0x2c2f8b(0x3ea)][_0x2c2f8b(0x316)](_0xf7a0f4[_0x2c2f8b(0x166)]);if(!_0x1b0543||_0x1b0543[_0x2c2f8b(0x257)]!==_0x3611d5[_0x2c2f8b(0x109)][_0x2c2f8b(0x1e7)])return;let _0x50ee40=_0x1b0543['config'];_0x50ee40?this[_0x2c2f8b(0x14b)](_0x1b0543,_0x50ee40):this[_0x2c2f8b(0x346)](_0x1b0543);}[_0xeb70cf(0x346)](_0x248838){const _0x948d9e=_0xeb70cf;if(this['_pendingMutationConfigRenders'][_0x948d9e(0x360)](_0x248838['id']))return;let _0x58ba8e=_0x248838['config$']['pipe']((0x0,_0x24f269[_0x948d9e(0x34a)])(_0x748394=>_0x748394!=null),(0x0,_0x24f269[_0x948d9e(0x216)])(0x1))['subscribe'](_0x4a7068=>{const _0x5a1c13=_0x948d9e;this[_0x5a1c13(0x202)][_0x5a1c13(0x339)](_0x248838['id']),this[_0x5a1c13(0x14b)](_0x248838,_0x4a7068);});this[_0x948d9e(0x202)][_0x948d9e(0x130)](_0x248838['id'],_0x58ba8e),_0x248838[_0x948d9e(0x2ef)](()=>{const _0x59f38e=_0x948d9e;_0x58ba8e[_0x59f38e(0x10f)](),this[_0x59f38e(0x202)]['delete'](_0x248838['id']);});}[_0xeb70cf(0x14b)](_0x43c543,_0xf4119b){const _0x4f59a6=_0xeb70cf;let _0x194363=this[_0x4f59a6(0x46a)][_0x4f59a6(0x23f)](_0x43c543,this[_0x4f59a6(0x133)][_0x4f59a6(0x392)]());this[_0x4f59a6(0x46a)][_0x4f59a6(0x37d)](_0x43c543['id'],_0xf4119b,_0x194363);}};_0x4a438d=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['LocaleService'])),_0x16880b(0x3,_0x19c057),_0x16880b(0x4,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x5,(0x0,_0x1e7325['Inject'])(_0x2ef923[_0xeb70cf(0x225)]))],_0x4a438d);function _0x7df262(_0x59d061,_0x223ef9){const _0x411643=_0xeb70cf;return _0x59d061['unitId']!==_0x223ef9[_0x411643(0xfa)]||_0x59d061[_0x411643(0x331)]!==_0x223ef9[_0x411643(0x376)]?_0x59d061:{..._0x59d061,'subUnitId':_0x223ef9[_0x411643(0x422)]};}function _0x44e0f1(_0x2fe770,_0x523a77){const _0x31e727=_0xeb70cf;return(_0x2fe770==null?void 0x0:_0x2fe770[_0x31e727(0x3b3)])===_0x3611d5[_0x31e727(0x42a)][_0x31e727(0x1dd)]?{..._0x2fe770,'source':_0x7df262(_0x2fe770[_0x31e727(0x417)],_0x523a77)}:_0x2fe770;}function _0xfdf4a2(_0x5aab1a,_0x5392df){const _0x21bf13=_0xeb70cf;let {rangeInfo:_0x179919}=_0x5aab1a;return Array[_0x21bf13(0x28a)](_0x179919)?{..._0x5aab1a,'rangeInfo':_0x179919[_0x21bf13(0x1f6)](_0x2bd86e=>({..._0x2bd86e,..._0x2bd86e[_0x21bf13(0x2f6)]?{'header':_0x44e0f1(_0x2bd86e['header'],_0x5392df)}:{},'range':_0x7df262(_0x2bd86e[_0x21bf13(0x441)],_0x5392df)}))}:{..._0x5aab1a,'rangeInfo':{..._0x179919,..._0x179919[_0x21bf13(0x2f6)]?{'header':{..._0x179919[_0x21bf13(0x2f6)],..._0x179919[_0x21bf13(0x2f6)][_0x21bf13(0x462)]?{'titles':_0x208cf1(_0x179919[_0x21bf13(0x2f6)][_0x21bf13(0x462)],_0x5392df)}:{}}}:{},'rangeInfo':_0x7df262(_0x179919[_0x21bf13(0x43c)],_0x5392df)}};}function _0x208cf1(_0x3bf916,_0x47a80b){const _0x1f80c0=_0xeb70cf;return _0x3bf916[_0x1f80c0(0x3b3)]===_0x3611d5['ChartSourceHeaderTitleType'][_0x1f80c0(0x3d4)]?{..._0x3bf916,'values':{..._0x3bf916['values']}}:_0x3bf916['type']===_0x3611d5[_0x1f80c0(0x42a)][_0x1f80c0(0x112)]?{..._0x3bf916,'values':Object['fromEntries'](Object[_0x1f80c0(0x243)](_0x3bf916['values'])[_0x1f80c0(0x1f6)](([_0x529f32,_0x3fbdad])=>[_0x529f32,_0x3fbdad&&_0x7df262(_0x3fbdad,_0x47a80b)]))}:{..._0x3bf916,'values':Object[_0x1f80c0(0x2df)](Object[_0x1f80c0(0x243)](_0x3bf916[_0x1f80c0(0x1a8)])[_0x1f80c0(0x1f6)](([_0x4fa7d2,_0x59bb9a])=>[_0x4fa7d2,_0x59bb9a&&_0x44e0f1(_0x59bb9a,_0x47a80b)]))};}function _0x4fc16d(_0x5626f2,_0x3937bf,_0x18f4cd,_0x437cfb){const _0x144c04=_0xeb70cf;let _0x5e6ffe=(0x0,_0x39bdba['getOrCreateDrawingCopyPlan'])(_0x5626f2,_0x3937bf,_0x18f4cd),_0x117500=[];for(let _0x48b78c of _0x3937bf){let _0x4901ea=_0x5e6ffe[_0x144c04(0x39d)][_0x144c04(0x360)](_0x48b78c[_0x144c04(0xef)]),_0x869016=_0x437cfb(_0x48b78c);_0x4901ea&&_0x869016&&_0x117500[_0x144c04(0x15c)]({'targetChartId':_0x4901ea,'source':_0xfdf4a2(_0x869016,_0x18f4cd)});}return _0x117500;}let _0x279d6d=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x5d6ae8,_0x460014,_0x139d25,_0x5cd795,_0x1b9c5a){const _0x2ec2d2=_0xeb70cf;super(),this['_univerInstanceService']=_0x5d6ae8,this[_0x2ec2d2(0x457)]=_0x460014,this[_0x2ec2d2(0x1e2)]=_0x139d25,this[_0x2ec2d2(0x3ea)]=_0x5cd795,this[_0x2ec2d2(0x145)]=_0x1b9c5a,this['_initSheetChange']();}['_initSheetChange'](){const _0x2f0eb5=_0xeb70cf;this[_0x2f0eb5(0x1e8)](this[_0x2f0eb5(0x457)]['interceptCommand']({'getMutations':_0x4bf538=>{const _0x23907d=_0x2f0eb5;if(_0x4bf538['id']===_0x559364[_0x23907d(0x254)]['id']){let _0x17466c=(0x0,_0x559364[_0x23907d(0x3c7)])(this[_0x23907d(0x42c)],_0x4bf538[_0x23907d(0x2f0)]);if(!_0x17466c)return{'redos':[],'undos':[]};let {unitId:_0x195107,subUnitId:_0x1ff025}=_0x17466c,_0x34142a=this[_0x23907d(0x1e2)][_0x23907d(0x180)](_0x195107,_0x1ff025),_0x578680=Object['values'](_0x34142a)[_0x23907d(0x34a)](_0x6f714a=>_0x6f714a['drawingType']===_0x1e7325[_0x23907d(0x28f)][_0x23907d(0x1c3)]);if(_0x578680['length']===0x0)return{'redos':[],'undos':[]};let _0x613a8b=[],_0x4ef4d5=[];for(let _0x30e265=0x0;_0x30e265<_0x578680['length'];_0x30e265++){let _0x5047d0=_0x578680[_0x30e265],_0x8b9297=this[_0x23907d(0x3ea)][_0x23907d(0x316)](_0x5047d0[_0x23907d(0xef)]);if(!_0x8b9297)continue;let _0x35b984=this[_0x23907d(0x145)][_0x23907d(0x310)](_0x8b9297['id']);if(!_0x35b984)continue;let {chartType:_0x3746a8,context:_0x5c44c5,style:_0x51b96e,dataAggregation:_0x3c4ea6}=_0x8b9297[_0x23907d(0x344)]();_0x613a8b[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x237)]['id'],'params':{'unitId':_0x195107,'subUnitId':_0x1ff025,'chartId':_0x5047d0[_0x23907d(0xef)]}}),_0x4ef4d5[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x45b)]['id'],'params':{'unitId':_0x195107,'subUnitId':_0x1ff025,'chartId':_0x5047d0[_0x23907d(0xef)],'chartType':_0x3746a8,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x35b984),'context':_0x5c44c5,'style':_0x51b96e,'dataAggregation':_0x3c4ea6}});}return{'redos':_0x613a8b,'undos':_0x4ef4d5};}if(_0x4bf538['id']===_0x559364[_0x23907d(0x400)]['id']){let {unitId:_0x3de63d,subUnitId:_0xac66ac,targetSubUnitId:_0x268d17,copyContext:_0x53dd81}=_0x4bf538[_0x23907d(0x2f0)];if(!_0x3de63d||!_0xac66ac||!_0x268d17)return{'redos':[],'undos':[]};let _0x148df5=this[_0x23907d(0x1e2)][_0x23907d(0x180)](_0x3de63d,_0xac66ac),_0x1f7f72=Object[_0x23907d(0x1a8)](_0x148df5)[_0x23907d(0x34a)](_0x1523cd=>_0x1523cd[_0x23907d(0x209)]===_0x1e7325[_0x23907d(0x28f)][_0x23907d(0x1c3)]);if(_0x1f7f72[_0x23907d(0x2d4)]===0x0)return{'redos':[],'undos':[]};let _0x4e6a83=_0x4fc16d(_0x53dd81,_0x1f7f72,{'unitId':_0x3de63d,'sourceSubUnitId':_0xac66ac,'targetSubUnitId':_0x268d17},_0x235ec9=>{const _0x214f1a=_0x23907d;let _0x3c8de1=this['_chartModelService'][_0x214f1a(0x316)](_0x235ec9[_0x214f1a(0xef)]);if(!_0x3c8de1)return;let _0x48d504=this[_0x214f1a(0x145)][_0x214f1a(0x310)](_0x3c8de1['id']);if(!_0x48d504)return;let {chartType:_0x4de3d3,context:_0xbe4b7f,style:_0x176187,dataAggregation:_0x193285}=_0x3c8de1[_0x214f1a(0x344)]();return{'rangeInfo':_0x48d504,'chartType':_0x4de3d3,'context':_0xbe4b7f,'style':_0x176187,'dataAggregation':_0x193285};}),_0x20bbdc=[],_0x2e97ac=[];for(let {targetChartId:_0x394e04,source:_0x1d1225}of _0x4e6a83){let {rangeInfo:_0x10eb70,chartType:_0x3f5c45,context:_0x3f57b7,style:_0x2ffcbd,dataAggregation:_0x159053}=_0x1d1225;_0x20bbdc['push']({'id':_0x5979b3['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x3de63d,'subUnitId':_0x268d17,'chartId':_0x394e04,'chartType':_0x3f5c45,...(0x0,_0x5979b3[_0x23907d(0x2a4)])(_0x10eb70),'context':_0x3f57b7,'style':_0x2ffcbd,'dataAggregation':_0x159053}}),_0x2e97ac[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x237)]['id'],'params':{'unitId':_0x3de63d,'subUnitId':_0x268d17,'chartId':_0x394e04}});}return{'redos':_0x20bbdc,'undos':_0x2e97ac};}return{'redos':[],'undos':[]};}}));}};_0x279d6d=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['IUniverInstanceService'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x559364[_0xeb70cf(0xfb)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4dac75[_0xeb70cf(0x45a)])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['ChartModelService'])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x258)]))],_0x279d6d);let _0x1ffaa6=_0x1d8010=>_0x1d8010[_0xeb70cf(0x428)](_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)])['getUnitId'](),_0x578228=_0x5daae2=>{const _0x4b5e5f=_0xeb70cf;var _0x6c111f;return(_0x6c111f=_0x5daae2['getCurrentUnitOfType'](_0x1e7325[_0x4b5e5f(0x3b8)][_0x4b5e5f(0x41f)])[_0x4b5e5f(0x25e)]())==null?void 0x0:_0x6c111f[_0x4b5e5f(0x473)]();};function _0x3a6035(){const _0x1063ae=_0xeb70cf;var _0x3ab7c6;let _0x1ea2cb=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x19c057),_0x5aaaf7=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x5979b3[_0x1063ae(0x148)]),_0x46d360=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x5979b3[_0x1063ae(0x258)]),_0x319d88=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x1e7325[_0x1063ae(0x404)]),_0x1c5ffe=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x1e7325[_0x1063ae(0x459)]),_0x1a6adb=(0x0,_0x5979b3[_0x1063ae(0x12b)])(_0x1c5ffe),_0xc1b95c=(0x0,_0x5de930[_0x1063ae(0x2d7)])(()=>{const _0x5acac9=_0x1063ae;let _0x418d7f=_0x51c8a3(_0x14f1e3[_0x5acac9(0x434)](),_0x1a6adb);return(0x0,_0x339b6e[_0x5acac9(0x1f5)])(_0x418d7f[_0x5acac9(0x1f6)](_0x4bfcbd=>({'id':_0x4bfcbd['id'],'label':_0x319d88['t'](_0x5acac9(0x409)+_0x4bfcbd[_0x5acac9(0x260)]),'pieSecondaryPlotType':_0x4bfcbd[_0x5acac9(0x186)],'value':_0x4bfcbd[_0x5acac9(0x375)]})));},[_0x1a6adb,_0x319d88]),_0x3fe1b2=(0x0,_0xced9f3[_0x1063ae(0x174)])(_0x5aaaf7[_0x1063ae(0x280)],_0x5aaaf7[_0x1063ae(0xea)]),_0x2d7b0f=_0x3fe1b2?_0x46d360[_0x1063ae(0x472)](_0x3fe1b2['id']):void 0x0,_0x16b386=(0x0,_0xced9f3[_0x1063ae(0x174)])(_0x2d7b0f==null?void 0x0:_0x2d7b0f['rangeInfo$'],_0x2d7b0f==null?void 0x0:_0x2d7b0f[_0x1063ae(0x485)]()),_0x1d84e5=Array[_0x1063ae(0x28a)](_0x16b386),_0x29dd99=_0x16b386&&!_0x1d84e5&&_0x16b386[_0x1063ae(0x2f9)]?_0x3611d5[_0x1063ae(0x4a5)][_0x1063ae(0xf3)]:_0x3611d5[_0x1063ae(0x4a5)][_0x1063ae(0x368)],_0xbefce4=_0x1d84e5?(_0x3ab7c6=_0x16b386[0x0])==null?void 0x0:_0x3ab7c6['range']:_0x16b386==null?void 0x0:_0x16b386['rangeInfo'];return(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x1063ae(0x44a),{'className':_0x1063ae(0x31c),'children':(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x339b6e[_0x1063ae(0xed)],{'chartTypeOptions':_0xc1b95c,'dataSourceControl':(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x2a5920,{'dataRange':_0x16b386,'primaryRange':_0xbefce4}),'categoryToggleLabel':_0x319d88['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x29dd99===_0x3611d5['DataOrientation'][_0x1063ae(0xf3)]?_0x29dd99+'\x20'+(((_0xbefce4==null?void 0x0:_0xbefce4['range'][_0x1063ae(0x3f3)])??0x0)+0x1):_0x29dd99+'\x20'+(0x0,_0x1e7325[_0x1063ae(0x177)])((_0xbefce4==null?void 0x0:_0xbefce4['range']['startColumn'])??0x0)),'orientationControl':_0x1d84e5?void 0x0:(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x15e416[_0x1063ae(0x1f4)],{'size':_0x1063ae(0x3cc),'onClick':()=>_0x1ea2cb[_0x1063ae(0xff)](_0x29dd99===_0x3611d5[_0x1063ae(0x4a5)]['Row']?_0x3611d5['DataOrientation']['Column']:_0x3611d5[_0x1063ae(0x4a5)]['Row']),'children':_0x319d88['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x2a5920(_0xc94835){const _0x557878=_0xeb70cf;let {dataRange:_0x3e5a81,primaryRange:_0x9f8966}=_0xc94835,_0x320faa=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x19c057),_0x7e6883=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x1e7325[_0x557878(0x404)]),_0x155318=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x1e7325[_0x557878(0x106)]),[_0x468a71,_0x3eb1a2]=(0x0,_0x5de930[_0x557878(0x125)])(!0x1),[_0x1b4b23,_0x5494ab]=(0x0,_0x5de930['useState'])(!0x1),_0x35259f=_0x1ffaa6(_0x155318),_0x47f5d6=_0x578228(_0x155318);(0x0,_0x5de930[_0x557878(0x1ce)])(()=>{const _0x583b55=_0x557878;_0x320faa[_0x583b55(0x21f)](_0x468a71);},[_0x468a71,_0x320faa]);let _0x4024c4=(0x0,_0x5de930[_0x557878(0x2d7)])(()=>(0x0,_0x1e7325[_0x557878(0x320)])(async _0x2376d6=>{const _0x5d170d=_0x557878;var _0x3b6ba0;if(_0x39337f(_0x3e5a81,_0x155318)===_0x2376d6)return;let _0x2748c9=_0x2376d6[_0x5d170d(0x36b)](',')[_0x5d170d(0x34a)](Boolean)['map'](_0x1ee0b1[_0x5d170d(0x291)])[0x0];if(!_0x2748c9)return;let {unitId:_0x5d7bc6,sheetName:_0x477fdf,range:_0x2c6464}=_0x2748c9,_0x4263c3=_0x5d7bc6||_0x35259f,_0x156549=((_0x3b6ba0=_0x155318[_0x5d170d(0x1b8)](_0x4263c3)[_0x5d170d(0xe1)](_0x477fdf))==null?void 0x0:_0x3b6ba0[_0x5d170d(0x473)]())||(_0x9f8966==null?void 0x0:_0x9f8966[_0x5d170d(0x331)])||_0x47f5d6;_0x156549&&_0x320faa[_0x5d170d(0x191)]({'rangeInfo':{'range':_0x2c6464,'unitId':_0x4263c3,'subUnitId':_0x156549}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x3e5a81,_0x9f8966,_0x320faa,_0x47f5d6,_0x35259f,_0x155318]);return(0x0,_0x5de930[_0x557878(0x1ce)])(()=>()=>_0x4024c4[_0x557878(0x30e)](),[_0x4024c4]),(0x0,_0x424e81[_0x557878(0x25c)])(_0x557878(0x44a),{'className':_0x557878(0x1a6),'children':(0x0,_0x424e81['jsxs'])(_0x557878(0x44a),{'children':[(0x0,_0x424e81[_0x557878(0x25c)])(_0x339b6e['ChartEditBlockTitle'],{'title':_0x7e6883['t'](_0x557878(0x1a7))}),(0x0,_0x424e81[_0x557878(0x25c)])(_0x2aadda['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x35259f,'subUnitId':_0x47f5d6,'initialValue':_0x3e5a81?_0x39337f(_0x3e5a81,_0x155318):'','onChange':(_0x259e8a,_0x337566)=>_0x4024c4(_0x337566),'onFocusChange':_0x5ab670=>{_0x1b4b23||_0x3eb1a2(_0x5ab670);},'onRangeSelectorDialogVisibleChange':_0x13f1d8=>{_0x5494ab(_0x13f1d8),_0x3eb1a2(_0x13f1d8);}})]})});}function _0x21d10e(){const _0x2cc557=_0xeb70cf;let [_0x577019,_0x2a243b]=(0x0,_0x5de930[_0x2cc557(0x125)])(_0x339b6e['ChartEditPanelTab'][_0x2cc557(0x11f)]),_0x4b1040=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x1e7325['Injector']),_0x52e006=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x1e7325[_0x2cc557(0x404)]),_0x84998c=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x19c057),_0x463cd0=(0x0,_0xced9f3['useDependency'])(_0x5979b3[_0x2cc557(0x148)]),_0x2899a1=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x5979b3['SheetsChartService']),_0x3865c8=(0x0,_0xced9f3['useObservable'])(_0x463cd0['activeChartModel$'],_0x463cd0[_0x2cc557(0xea)]),_0x132e9a=(0x0,_0xced9f3[_0x2cc557(0x174)])(_0x84998c[_0x2cc557(0x1fb)],null),_0x26df1c=(0x0,_0x5de930[_0x2cc557(0x2d7)])(()=>{const _0x2626eb=_0x2cc557;var _0x4fa549;if(!_0x3865c8)return null;let _0xb23280=_0x2899a1[_0x2626eb(0x310)](_0x3865c8['id']);if(!_0xb23280)return null;let _0x5baadd=Array[_0x2626eb(0x28a)](_0xb23280)?(_0x4fa549=_0xb23280[0x0])==null?void 0x0:_0x4fa549['range']:_0xb23280[_0x2626eb(0x43c)];return _0x5baadd?new _0x339b6e['ChartHostAdapter'](_0x3865c8,new _0x5979b3[(_0x2626eb(0x3b7))]({'unitId':_0x5baadd[_0x2626eb(0xfa)],'subUnitId':_0x5baadd[_0x2626eb(0x331)],'chartId':_0x3865c8['id'],'injector':_0x4b1040})):null;},[_0x3865c8,_0x4b1040,_0x2899a1]);if((0x0,_0x5de930[_0x2cc557(0x1ce)])(()=>{const _0x322ec8=_0x2cc557;var _0x5a1c7d,_0x49efc1;_0x3865c8&&(_0x132e9a==null?void 0x0:_0x132e9a['chartId'])===_0x3865c8['id']&&(((_0x5a1c7d=_0x132e9a['route'])==null?void 0x0:_0x5a1c7d[_0x322ec8(0x294)])===_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x41a)]&&_0x2a243b(_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x41a)]),((_0x49efc1=_0x132e9a[_0x322ec8(0x2fd)])==null?void 0x0:_0x49efc1[_0x322ec8(0x294)])===_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x11f)]&&_0x2a243b(_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x11f)]));},[_0x3865c8,_0x132e9a]),!_0x26df1c)return null;let _0x561eca=(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x2cc557(0x44a),{'className':_0x2cc557(0x3b0),'children':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x339b6e[_0x2cc557(0x3cb)],{'ariaLabel':_0x52e006['t'](_0x2cc557(0x249)),'activeTab':_0x577019,'onTabChange':_0x2a243b,'tabListClassName':'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','panelClassName':_0x577019===_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x41a)]?_0x2cc557(0x470):'univer-overflow-visible','tabs':[{'id':_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x11f)],'panelId':_0x2cc557(0x46c),'title':_0x52e006['t'](_0x2cc557(0x453)),'content':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x3a6035,{})},{'id':_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x41a)],'panelId':'mobile-sheet-chart-style-panel','title':_0x52e006['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x128705,{'defaultValues':_0x434889})}]})});return(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x339b6e[_0x2cc557(0x3e3)],{'chartUIService':_0x84998c,'hostAdapter':_0x26df1c,'children':_0x561eca});}let _0x4b3a56=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x3f8deb){const _0x44858e=_0xeb70cf;super(),this[_0x44858e(0x1e8)](_0x3f8deb[_0x44858e(0x31e)](_0x47b009,_0x21d10e));}};_0x4b3a56=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x290)]))],_0x4b3a56);let _0x7054d1=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x5a240a,_0x12d1af,_0x277fcf,_0x1a73c3,_0x293f12,_0x3e5023,_0x54565b,_0x4c844c,_0x2ad002){const _0x1c22d2=_0xeb70cf;super(),this[_0x1c22d2(0x3f7)]=_0x5a240a,this[_0x1c22d2(0x3ea)]=_0x12d1af,this[_0x1c22d2(0x45f)]=_0x277fcf,this['_menuManagerService']=_0x1a73c3,this[_0x1c22d2(0x451)]=_0x293f12,this[_0x1c22d2(0x460)]=_0x3e5023,this[_0x1c22d2(0x1db)]=_0x54565b,this[_0x1c22d2(0x337)]=_0x4c844c,this[_0x1c22d2(0x133)]=_0x2ad002,_0x1b6fbd(this,_0x1c22d2(0x21a),null),_0x1b6fbd(this,'_panelInitialized',!0x1),this['_initMenus']();}[_0xeb70cf(0x151)](){const _0x18ab22=_0xeb70cf;this[_0x18ab22(0x406)](),super[_0x18ab22(0x151)]();}[_0xeb70cf(0x1d1)](){const _0x17b620=_0xeb70cf;this[_0x17b620(0x295)]||(this[_0x17b620(0x295)]=!0x0,this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x168d45=>{const _0x22dc6a=_0x17b620;if(_0x168d45['id']!==_0x48776c['id'])return;let _0xd56021=_0x168d45['params'];this[_0x22dc6a(0x182)](_0xd56021['drawingId'],_0xd56021['route']);})));}['openChartPanelById'](_0x30bdef,_0x303966){const _0x13b86a=_0xeb70cf;let _0x141b39=this['_chartModelService'][_0x13b86a(0x316)](_0x30bdef);_0x141b39&&(this[_0x13b86a(0x3ea)][_0x13b86a(0x128)](_0x141b39),this[_0x13b86a(0x3b5)](),this[_0x13b86a(0x1db)][_0x13b86a(0x399)](!0x0),this[_0x13b86a(0x1db)][_0x13b86a(0x1ef)](_0x30bdef,_0x303966??null));}[_0xeb70cf(0x406)](){const _0x3cda13=_0xeb70cf;let _0x534bf4=this[_0x3cda13(0x21a)];this[_0x3cda13(0x21a)]=null,this[_0x3cda13(0x34b)](),_0x534bf4==null||_0x534bf4[_0x3cda13(0x151)]();}[_0xeb70cf(0x184)](){const _0x5bf31d=_0xeb70cf;this[_0x5bf31d(0x402)][_0x5bf31d(0x1a0)]({[_0xced9f3[_0x5bf31d(0x1b3)][_0x5bf31d(0x21c)]]:{[_0x5cbb78['id']]:{'order':0x4,'menuItemFactory':_0x252a91}}}),this[_0x5bf31d(0x451)][_0x5bf31d(0x38c)](_0x1e7325[_0x5bf31d(0x28f)][_0x5bf31d(0x1c3)],(_0x12a322,_0xf87317,_0x314e7d,_0x4a7590)=>[{'label':this[_0x5bf31d(0x133)]['t'](_0x5bf31d(0x249)),'index':0x0,'commandId':_0x48776c['id'],'commandParams':{'unitId':_0x12a322,'subUnitId':_0xf87317,'drawingId':_0x314e7d},'disable':_0x4a7590!==_0x1e7325[_0x5bf31d(0x28f)][_0x5bf31d(0x1c3)]},{'label':this[_0x5bf31d(0x133)]['t'](_0x5bf31d(0x11d)),'index':0x1,'commandId':_0x4dac75[_0x5bf31d(0x3ff)]['id'],'commandParams':{'unitId':_0x12a322,'drawings':[{'unitId':_0x12a322,'subUnitId':_0xf87317,'drawingId':_0x314e7d,'drawingType':_0x4a7590}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}[_0xeb70cf(0x3b5)](){const _0x14314d=_0xeb70cf;this[_0x14314d(0x21a)]=this[_0x14314d(0x45f)][_0x14314d(0x23c)]({'id':_0x47b009,'header':{'title':this[_0x14314d(0x133)]['t'](_0x14314d(0x249))},'children':{'label':_0x47b009},'onClose':()=>{const _0x49107c=_0x14314d;this['_sidebarDisposable']=null,this[_0x49107c(0x34b)]();}});}['_clearPanelState'](){const _0x519a2b=_0xeb70cf;this[_0x519a2b(0x1db)]['setChartEditorOpen'](!0x1),this[_0x519a2b(0x1db)][_0x519a2b(0x26f)](),this['_chartModelService']['activeChartModel']&&this[_0x519a2b(0x3ea)][_0x519a2b(0x128)](null),this[_0x519a2b(0x3f7)]['focusDrawing'](null),this[_0x519a2b(0x337)][_0x519a2b(0x489)](_0x1e7325[_0x519a2b(0xec)],!0x1);}};_0x7054d1=_0x6243e3([_0x16880b(0x0,_0x39bdba['IDrawingManagerService']),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x3dc)])),_0x16880b(0x3,_0xced9f3[_0xeb70cf(0x329)]),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0x165)])),_0x16880b(0x5,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x6,_0x19c057),_0x16880b(0x7,_0x1e7325[_0xeb70cf(0x203)]),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)]))],_0x7054d1);let _0x355040=class extends _0x1e7325['Disposable']{constructor(_0x19697a,_0x36abb2,_0x58d4aa,_0x23ba17,_0xe91132){const _0x6af6f5=_0xeb70cf;super(),this[_0x6af6f5(0x265)]=_0x19697a,this[_0x6af6f5(0x3e4)]=_0x36abb2,this[_0x6af6f5(0x1e2)]=_0x58d4aa,this[_0x6af6f5(0x3ea)]=_0x23ba17,this['_sheetsChartService']=_0xe91132,_0x1b6fbd(this,_0x6af6f5(0x16a),void 0x0),this['_initCopyPaste']();}get[_0xeb70cf(0x162)](){const _0x13d107=_0xeb70cf;return this[_0x13d107(0x1e2)]['getFocusDrawings']();}[_0xeb70cf(0x47d)](){const _0x21465c=_0xeb70cf;this['disposeWithMe'](this[_0x21465c(0x3e4)]['addClipboardHook']({'id':_0x5979b3['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopyFocusedObject':(_0xddf1eb,_0x42f80a,_0x2b1d33)=>{const _0x3e1943=_0x21465c;this['_copyInfo']=null;let _0x4030ce=this[_0x3e1943(0x162)][_0x3e1943(0x34a)](_0x1b3717=>this[_0x3e1943(0x183)](_0x1b3717));return _0x4030ce['length']!==0x0&&(this[_0x3e1943(0x16a)]={'unitId':_0xddf1eb,'subUnitId':_0x42f80a,'copyType':_0x2b1d33,'drawings':_0x4030ce},!0x0);},'onBeforeCopy':(_0x27497f,_0x3a4478,_0x365de7,_0x25ece5)=>{const _0x5ec59a=_0x21465c;this[_0x5ec59a(0x16a)]=null,this[_0x5ec59a(0x33d)](_0x27497f,_0x3a4478,_0x365de7,_0x25ece5);},'onPasteCells':(_0x3ac623,_0x412bc4,_0x2075ca,_0x28b5b3)=>{const _0x2e7084=_0x21465c;if(!_0x28b5b3['copyId']||!_0x3ac623||!this[_0x2e7084(0x16a)])return{'redos':[],'undos':[]};let {pasteType:_0x512c86}=_0x28b5b3;return _0x512c86===_0x2ef923[_0x2e7084(0x352)][_0x2e7084(0x19d)]?this[_0x2e7084(0x431)](_0x412bc4,this['_copyInfo'][_0x2e7084(0x312)]===_0x2ef923[_0x2e7084(0x471)]['CUT']):{'redos':[],'undos':[]};}}));}[_0xeb70cf(0x33d)](_0x26baff,_0x43bae4,_0x1357c8,_0x3a0ca6){const _0x150689=_0xeb70cf;let _0x453090=this[_0x150689(0x265)]['getSkeleton'](_0x26baff,_0x43bae4);if(!_0x453090)return;let _0x84f374=(0x0,_0x559364[_0x150689(0x1b4)])(_0x453090,_0x1357c8);if(!_0x84f374)return;let {startX:_0x4ceab2,endX:_0xe2f494,startY:_0x1f5467,endY:_0x74e2aa}=_0x84f374,_0x326ce2=this['_sheetDrawingService'][_0x150689(0x180)](_0x26baff,_0x43bae4),_0x1e6c0e=[];for(let [_0x2ed996,_0x47698e]of Object[_0x150689(0x243)](_0x326ce2)){if(!this[_0x150689(0x183)](_0x47698e))continue;let {transform:_0x49a110}=_0x47698e;if(!_0x49a110)continue;let {left:_0x453f07=0x0,top:_0x4cb0c3=0x0,width:_0x21a5af=0x0,height:_0x2c0362=0x0}=_0x49a110;_0x4ceab2<=_0x453f07&&_0xe2f494>=_0x453f07+_0x21a5af&&_0x1f5467<=_0x4cb0c3&&_0x74e2aa>=_0x4cb0c3+_0x2c0362&&_0x1e6c0e[_0x150689(0x15c)](_0x47698e);}_0x1e6c0e[_0x150689(0x2d4)]>0x0&&(this['_copyInfo']={'unitId':_0x26baff,'subUnitId':_0x43bae4,'copyType':_0x3a0ca6,'copyRange':_0x1357c8,'drawings':_0x1e6c0e});}[_0xeb70cf(0x183)](_0xe9e8ce){const _0x509b55=_0xeb70cf;return _0xe9e8ce[_0x509b55(0x209)]===_0x1e7325[_0x509b55(0x28f)][_0x509b55(0x1c3)]&&this[_0x509b55(0x145)][_0x509b55(0x2c5)](_0xe9e8ce[_0x509b55(0xfa)],_0xe9e8ce[_0x509b55(0xef)])===_0xe9e8ce['subUnitId'];}[_0xeb70cf(0x431)](_0xfb6b4f,_0x204b5e){const _0x4895be=_0xeb70cf;let {unitId:_0xde48b5,subUnitId:_0x79d433,range:_0x3006f7}=_0xfb6b4f,_0x305873=this[_0x4895be(0x265)][_0x4895be(0x287)](_0xde48b5,_0x79d433);if(!_0x305873)return{'redos':[],'undos':[]};let _0x2e31f3=(0x0,_0x559364['discreteRangeToRange'])(_0x3006f7),{unitId:_0x2fd38d,subUnitId:_0x162510,copyRange:_0x47b0d6,drawings:_0x1ce546}=this[_0x4895be(0x16a)],_0x1c03f7=this['_sheetSkeletonService'][_0x4895be(0x287)](_0x2fd38d,_0x162510);if(!_0x1c03f7)return{'redos':[],'undos':[]};let _0x3eeb38=[],_0x2ad96f=[];for(let _0xfb4b79 of _0x1ce546){let {drawingId:_0x2d5039,transform:_0x33a66a,sheetTransform:_0x55b407}=_0xfb4b79,_0x2bab9e=this[_0x4895be(0x3ea)]['getChartModel'](_0x2d5039);if(!_0x2bab9e||!_0x33a66a||!_0x55b407)continue;let _0x438fe0=this[_0x4895be(0x2a7)]({'transform':_0x33a66a,'sheetTransform':_0x55b407},{'skeleton':_0x1c03f7,'range':_0x47b0d6},{'skeleton':_0x305873,'range':_0x2e31f3});if(_0x204b5e){let {redos:_0x15ba8f,undos:_0x266c5c}=this[_0x4895be(0x1eb)]({'fromUnitId':_0x2fd38d,'fromSubUnitId':_0x162510,'toUnitId':_0xde48b5,'toSubUnitId':_0x79d433,'drawing':_0xfb4b79,'newTransforms':_0x438fe0},_0x2bab9e);_0x3eeb38['push'](..._0x15ba8f),_0x2ad96f['push'](..._0x266c5c);continue;}let {redos:_0x33c1aa,undos:_0x1af813}=this[_0x4895be(0x3ad)]({'toUnitId':_0xde48b5,'toSubUnitId':_0x79d433,'drawing':_0xfb4b79,'newTransforms':_0x438fe0},_0x2bab9e);_0x3eeb38[_0x4895be(0x15c)](..._0x33c1aa),_0x2ad96f[_0x4895be(0x15c)](..._0x1af813);}return{'redos':_0x3eeb38,'undos':_0x2ad96f};}[_0xeb70cf(0x1eb)](_0x2db6ad,_0x34f636){const _0x1ad1ef=_0xeb70cf;let {fromUnitId:_0x167249,fromSubUnitId:_0x141dc0,toUnitId:_0x7b9ee7,toSubUnitId:_0x3431c4,drawing:_0x4dfb5c,newTransforms:_0x59865c}=_0x2db6ad,_0x125517={..._0x4dfb5c,'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'transform':_0x59865c['transform'],'sheetTransform':_0x59865c['sheetTransform']};if(_0x7b9ee7===_0x167249&&_0x3431c4===_0x141dc0){let {redo:_0x530139,undo:_0x4a3201,objects:_0x4165c8}=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x30b)]([_0x125517]);return{'redos':[{'id':_0x4dac75['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75['DrawingApplyType'][_0x1ad1ef(0x458)],'op':_0x530139,'objects':_0x4165c8}}],'undos':[{'id':_0x4dac75['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75['DrawingApplyType'][_0x1ad1ef(0x458)],'op':_0x4a3201,'objects':_0x4165c8}}]};}{let _0x1483f8=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x23a)]([_0x4dfb5c]),_0x7e8a05=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x4ab)]([_0x125517]),_0x76a40=this[_0x1ad1ef(0x145)][_0x1ad1ef(0x310)](_0x34f636['id']);if(!_0x76a40)return{'redos':[],'undos':[]};let {chartType:_0x91b28f,context:_0x37ba26,style:_0x453194,dataAggregation:_0x52438c}=_0x34f636[_0x1ad1ef(0x344)]();return{'redos':[{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x4a4)],'op':_0x1483f8['redo'],'objects':_0x1483f8[_0x1ad1ef(0x4a7)]}},{'id':_0x5979b3[_0x1ad1ef(0x237)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'chartId':_0x4dfb5c['drawingId']}},{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x29f)],'op':_0x7e8a05[_0x1ad1ef(0x356)],'objects':_0x7e8a05['objects']}},{'id':_0x5979b3[_0x1ad1ef(0x45b)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)],'chartType':_0x91b28f,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x76a40),'context':_0x37ba26,'style':_0x453194,'dataAggregation':_0x52438c}}],'undos':[{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x29f)],'op':_0x1483f8[_0x1ad1ef(0x111)],'objects':_0x1483f8['objects']}},{'id':_0x5979b3[_0x1ad1ef(0x45b)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)],'chartType':_0x91b28f,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x76a40),'context':_0x37ba26,'style':_0x453194,'dataAggregation':_0x52438c}},{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x4a4)],'op':_0x7e8a05[_0x1ad1ef(0x111)],'objects':_0x7e8a05[_0x1ad1ef(0x4a7)]}},{'id':_0x5979b3[_0x1ad1ef(0x237)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)]}}]};}}[_0xeb70cf(0x3ad)](_0x39680d,_0x334709){const _0x5def25=_0xeb70cf;let {toUnitId:_0x497be8,toSubUnitId:_0x328414,drawing:_0x2c0bf1,newTransforms:_0x316962}=_0x39680d,_0x5c03dd=(0x0,_0x1e7325['generateRandomId'])(),_0x56b2c0={..._0x2c0bf1,'unitId':_0x497be8,'subUnitId':_0x328414,'drawingId':_0x5c03dd,'transform':_0x316962[_0x5def25(0x401)],'sheetTransform':_0x316962[_0x5def25(0x39f)]},{redo:_0x2de63a,undo:_0x39e963,objects:_0x5bba4c}=this[_0x5def25(0x1e2)][_0x5def25(0x4ab)]([_0x56b2c0]),_0xed78c5=this[_0x5def25(0x145)][_0x5def25(0x310)](_0x334709['id']);if(!_0xed78c5)return{'redos':[],'undos':[]};let {chartType:_0x16003a,context:_0xd4d6be,style:_0x3460a0,dataAggregation:_0x112afa}=_0x334709['serialize']();return{'redos':[{'id':_0x4dac75[_0x5def25(0x491)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'type':_0x4dac75['DrawingApplyType'][_0x5def25(0x29f)],'op':_0x2de63a,'objects':_0x5bba4c}},{'id':_0x5979b3['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'chartId':_0x5c03dd,'chartType':_0x16003a,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0xed78c5),'context':_0xd4d6be,'style':_0x3460a0,'dataAggregation':_0x112afa}}],'undos':[{'id':_0x4dac75[_0x5def25(0x491)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'type':_0x4dac75['DrawingApplyType'][_0x5def25(0x4a4)],'op':_0x39e963,'objects':_0x5bba4c}},{'id':_0x5979b3[_0x5def25(0x237)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'chartId':_0x5c03dd}}]};}[_0xeb70cf(0x2a7)](_0x21a116,_0x48f671,_0x25c57c){const _0x576af1=_0xeb70cf;let {range:_0x23914d,skeleton:_0xf623dd}=_0x48f671,{range:_0x473348,skeleton:_0x403a6e}=_0x25c57c,{transform:_0x39ea7d,sheetTransform:_0x58ea5d}=_0x21a116,_0x50032d={..._0x39ea7d};if(_0x23914d){let _0x463097=(0x0,_0x559364[_0x576af1(0x1b4)])(_0xf623dd,_0x23914d),_0x597b64=(0x0,_0x559364[_0x576af1(0x1b4)])(_0x403a6e,_0x473348);if(_0x463097&&_0x597b64){let _0x3e96c5=_0x597b64['startX']-_0x463097[_0x576af1(0x483)],_0x39c8b8=_0x597b64[_0x576af1(0x45d)]-_0x463097['startY'];_0x50032d[_0x576af1(0x2a9)]=(_0x50032d['left']??0x0)+_0x3e96c5,_0x50032d[_0x576af1(0x2f4)]=(_0x50032d[_0x576af1(0x2f4)]??0x0)+_0x39c8b8;}}else{let _0x5baea4=(0x0,_0x559364['attachRangeWithCoord'])(_0x403a6e,_0x473348);_0x50032d[_0x576af1(0x2a9)]=_0x5baea4==null?void 0x0:_0x5baea4[_0x576af1(0x483)],_0x50032d[_0x576af1(0x2f4)]=_0x5baea4==null?void 0x0:_0x5baea4[_0x576af1(0x45d)];}return{'transform':_0x50032d,'sheetTransform':(0x0,_0x4dac75[_0x576af1(0x3da)])(_0x50032d,_0x403a6e)??_0x58ea5d};}};_0x355040=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x559364[_0xeb70cf(0x2c3)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0xdf)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4dac75[_0xeb70cf(0x45a)])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x4,(0x0,_0x1e7325['Inject'])(_0x5979b3['SheetsChartService']))],_0x355040);let _0x4273c9=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x1bdae7,_0x441214,_0x1c560c,_0x1ee804){const _0x2f8b10=_0xeb70cf;super(),this[_0x2f8b10(0x460)]=_0x1bdae7,this[_0x2f8b10(0x133)]=_0x441214,this[_0x2f8b10(0x187)]=_0x1c560c,this[_0x2f8b10(0x145)]=_0x1ee804,this[_0x2f8b10(0x210)]();}['_initPermission'](){const _0x81d47f=_0xeb70cf;this[_0x81d47f(0x1e8)](this['_commandService'][_0x81d47f(0x277)](_0xe029c=>{const _0x1ac2a3=_0x81d47f;let _0x4f5fe7,_0x5bc9e1;if(_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x29e)]['id']){let _0xf29861=_0xe029c[_0x1ac2a3(0x2f0)];_0x4f5fe7=_0xf29861[_0x1ac2a3(0xfa)],_0x5bc9e1=_0xf29861[_0x1ac2a3(0x331)];}else{if(_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x1bb)]['id']||_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x1b0)]['id']){let _0x4425ff=_0xe029c[_0x1ac2a3(0x2f0)];_0x4f5fe7=_0x4425ff[_0x1ac2a3(0xfa)],_0x5bc9e1=this['_sheetsChartService']['getSubUnitId'](_0x4425ff[_0x1ac2a3(0xfa)],_0x4425ff[_0x1ac2a3(0x166)]);}}_0x4f5fe7&&_0x5bc9e1&&(this[_0x1ac2a3(0x187)]['permissionCheckWithoutRange']({'workbookTypes':[_0x559364[_0x1ac2a3(0x27b)]],'worksheetTypes':[_0x559364[_0x1ac2a3(0x2f5)]]},_0x4f5fe7,_0x5bc9e1)||this[_0x1ac2a3(0x187)][_0x1ac2a3(0x110)](this[_0x1ac2a3(0x133)]['t'](_0x1ac2a3(0x253))));}));}};_0x4273c9=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0xd2)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)])),_0x16880b(0x2,(0x0,_0x1e7325['Inject'])(_0x559364[_0xeb70cf(0x160)])),_0x16880b(0x3,(0x0,_0x1e7325['Inject'])(_0x5979b3[_0xeb70cf(0x258)]))],_0x4273c9);let _0x4ccea8=class extends _0x1e7325['Disposable']{constructor(_0x35c47e,_0x1f76bc){const _0x5e54cd=_0xeb70cf;super(),this['_renderService']=_0x1f76bc,this[_0x5e54cd(0x1e8)](_0x35c47e[_0x5e54cd(0x31e)](this));}[_0xeb70cf(0x46b)](_0x150f00){const _0x5b563a=_0xeb70cf;return _0x5b563a(0xfa)in _0x150f00&&_0x5b563a(0x331)in _0x150f00;}[_0xeb70cf(0x3fb)](_0x52a9ea,_0xa714db){const _0x447a2c=_0xeb70cf;return this[_0x447a2c(0x2e5)][_0x447a2c(0x3fb)](_0x52a9ea[_0x447a2c(0x37f)](),_0xa714db);}};_0x4ccea8=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x339b6e['ChartImageExportService'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834))],_0x4ccea8);let _0x4dbce9=class extends _0x1e7325[_0xeb70cf(0x1d2)]{constructor(_0x5209f9=_0x2be8c4,_0x25b992,_0x2e0854,_0x1437b0){const _0x1054d4=_0xeb70cf;super(),this['_config']=_0x5209f9,this[_0x1054d4(0x26d)]=_0x25b992,this[_0x1054d4(0x1fc)]=_0x2e0854,this[_0x1054d4(0x460)]=_0x1437b0;let {..._0x44e1aa}=(0x0,_0x1e7325[_0x1054d4(0x2e6)])({},_0x2be8c4,this[_0x1054d4(0x28d)]);this[_0x1054d4(0x1fc)][_0x1054d4(0x15b)](_0x3e48e7,_0x44e1aa),this[_0x1054d4(0x2b3)]();}[_0xeb70cf(0x206)](){const _0x52c579=_0xeb70cf;let _0x283fe0=[[_0x4b3a56],[_0x19c057,{'useClass':_0x46657c}],[_0x46b74e,{'useClass':_0x1ca0a5}],[_0x36a856],[_0x114834],[_0x4ccea8],[_0x7054d1],[_0x34efc2],[_0x4a438d],[_0x355040],[_0x279d6d],[_0x4273c9]],_0x70ccbc=[[_0x4b3a56],[_0x7054d1],[_0x4a438d],[_0x34efc2],[_0x4ccea8],[_0x19c057],[_0x355040],[_0x279d6d],[_0x4273c9]];_0x283fe0[_0x52c579(0x332)](_0x3c5579=>this[_0x52c579(0x26d)]['add'](_0x3c5579)),(0x0,_0x1e7325[_0x52c579(0x43a)])(this[_0x52c579(0x26d)],_0x70ccbc);}[_0xeb70cf(0x327)](){const _0x7f5661=_0xeb70cf;var _0x45d801;(_0x45d801=this[_0x7f5661(0x26d)][_0x7f5661(0x360)](_0x7054d1))==null||_0x45d801[_0x7f5661(0x1d1)]();}[_0xeb70cf(0x2b3)](){const _0x15d5f5=_0xeb70cf;[_0x5cbb78,_0x48776c][_0x15d5f5(0x332)](_0x5353f3=>this[_0x15d5f5(0x1e8)](this[_0x15d5f5(0x460)][_0x15d5f5(0x250)](_0x5353f3)));}};_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x3b3),_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)]),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x306),'UniverSheetsChartUIPlugin'),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x274),_0x2a4915),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x27d),_0x362383),_0x4dbce9=_0x6243e3([(0x0,_0x1e7325[_0xeb70cf(0x1bf)])(_0x4eff75[_0xeb70cf(0x1c2)],_0x39bdba[_0xeb70cf(0x255)],_0x4fef78[_0xeb70cf(0xf5)],_0x559364[_0xeb70cf(0x1c0)],_0x4dac75[_0xeb70cf(0x152)],_0x339b6e['UniverChartMobileUIPlugin'],_0x5979b3[_0xeb70cf(0x439)],_0x398b93['UniverSheetsDrawingMobileUIPlugin'],_0x2ef923['UniverSheetsMobileUIPlugin'],_0xced9f3['UniverMobileUIPlugin']),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['Injector'])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0x475)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0xd2)])],_0x4dbce9);let _0x19eb81={'scaleX':0x1,'scaleY':0x1};function _0x5439de(_0x416684){let _0x3f1e89=_0x416684['nativeEvent'];return _0x3f1e89 instanceof MouseEvent?_0x3f1e89:void 0x0;}function _0x42cd13(_0x503914){const _0x10c841=_0xeb70cf;let _0x2998e4=_0x503914[_0x10c841(0x1f1)],_0x50acfe=_0x2998e4==null?void 0x0:_0x2998e4[_0x10c841(0x2d5)];return _0x50acfe instanceof Element?_0x50acfe:void 0x0;}function _0x11c1dc(_0x37b88b){const _0x4fea26=_0xeb70cf;var _0x359dd7;return(_0x359dd7=_0x42cd13(_0x37b88b))==null?void 0x0:_0x359dd7[_0x4fea26(0x464)]();}function _0x457e78(_0x389ab3){const _0x50a8cd=_0xeb70cf;return _0x389ab3[_0x50a8cd(0x323)]||_0x389ab3[_0x50a8cd(0xcd)]-_0x389ab3[_0x50a8cd(0x2a9)];}function _0x51ea00(_0x1b4037){const _0x3f120c=_0xeb70cf;return _0x1b4037[_0x3f120c(0x1ed)]||_0x1b4037[_0x3f120c(0x359)]-_0x1b4037[_0x3f120c(0x2f4)];}function _0xa5efb(_0x8c3d6b,_0x15067c){const _0x5a6669=_0xeb70cf;let _0x11a5d5=_0x8c3d6b['clientWidth']||(_0x8c3d6b instanceof HTMLElement?_0x8c3d6b[_0x5a6669(0x358)]:0x0),_0x21b6de=_0x8c3d6b['clientHeight']||(_0x8c3d6b instanceof HTMLElement?_0x8c3d6b['offsetHeight']:0x0),_0x2bcb03=_0x457e78(_0x15067c),_0x563059=_0x51ea00(_0x15067c);return{'scaleX':_0x11a5d5>0x0&&_0x2bcb03>0x0?_0x2bcb03/_0x11a5d5:_0x19eb81[_0x5a6669(0x26c)],'scaleY':_0x21b6de>0x0&&_0x563059>0x0?_0x563059/_0x21b6de:_0x19eb81[_0x5a6669(0x1ad)]};}function _0x21d3e6(_0xddddce,_0xc85e6,_0x1d21c7){const _0x25788c=_0xeb70cf;return{'left':_0xddddce['left']+_0xc85e6[_0x25788c(0x2a9)]*_0x1d21c7['scaleX'],'right':_0xddddce[_0x25788c(0x2a9)]+_0xc85e6[_0x25788c(0xcd)]*_0x1d21c7[_0x25788c(0x26c)],'top':_0xddddce[_0x25788c(0x2f4)]+_0xc85e6[_0x25788c(0x2f4)]*_0x1d21c7[_0x25788c(0x1ad)],'bottom':_0xddddce['top']+_0xc85e6[_0x25788c(0x359)]*_0x1d21c7[_0x25788c(0x1ad)]};}function _0x116573(_0x119a2a){const _0x4d050c=_0xeb70cf;let _0x4b3e11=_0x42cd13(_0x119a2a),_0x56d847=_0x119a2a[_0x4d050c(0x1d9)][_0x4d050c(0x40e)];if(_0x4b3e11&&_0x56d847){let _0x4a42e3=_0x4b3e11[_0x4d050c(0x464)]();return()=>{const _0x3d5f57=_0x4d050c;let _0x1af38f=_0x4b3e11['getBoundingClientRect']();return(_0x4b3e11[_0x3d5f57(0xe7)]||_0x457e78(_0x1af38f)>0x0||_0x51ea00(_0x1af38f)>0x0)&&(_0x4a42e3=_0x1af38f),_0x21d3e6(_0x4a42e3,_0x56d847,_0xa5efb(_0x4b3e11,_0x4a42e3));};}return()=>{const _0x3d399e=_0x4d050c;let _0x55650b=_0x11c1dc(_0x119a2a);if(_0x55650b&&_0x56d847)return _0x21d3e6(_0x55650b,_0x56d847,_0x4b3e11?_0xa5efb(_0x4b3e11,_0x55650b):_0x19eb81);let _0x399f2e=_0x5439de(_0x119a2a),_0xd13711=_0x4b3e11&&_0x55650b?_0xa5efb(_0x4b3e11,_0x55650b):_0x19eb81,_0x13727c=(_0x399f2e==null?void 0x0:_0x399f2e[_0x3d399e(0x282)])??(_0x55650b?_0x55650b[_0x3d399e(0x2a9)]+_0x119a2a[_0x3d399e(0x492)]['x']*_0xd13711[_0x3d399e(0x26c)]:_0x119a2a['localPoint']['x']),_0x161444=(_0x399f2e==null?void 0x0:_0x399f2e[_0x3d399e(0x147)])??(_0x55650b?_0x55650b[_0x3d399e(0x2f4)]+_0x119a2a[_0x3d399e(0x492)]['y']*_0xd13711[_0x3d399e(0x1ad)]:_0x119a2a[_0x3d399e(0x492)]['y']);return{'left':_0x13727c,'right':_0x13727c+0x1,'top':_0x161444,'bottom':_0x161444+0x1};};}function _0x1dd9d8(_0x345e76){const _0x1bb92e=_0xeb70cf;return typeof _0x345e76==_0x1bb92e(0x348)&&Number[_0x1bb92e(0x496)](_0x345e76);}function _0x159e72(_0x2a126a){const _0x2210d3=_0xeb70cf;if(!_0x2a126a||typeof _0x2a126a!=_0x2210d3(0x1d7))return!0x0;let {startX:_0x2942f6,endX:_0x23c7a0,startY:_0x464942,endY:_0x58037a}=_0x2a126a;return!_0x1dd9d8(_0x2942f6)||!_0x1dd9d8(_0x23c7a0)||!_0x1dd9d8(_0x464942)||!_0x1dd9d8(_0x58037a)||_0x23c7a0-_0x2942f6>0x2&&_0x58037a-_0x464942>0x2;}function _0x5de0ca(_0x42506e){const _0x4821b1=_0xeb70cf;return _0x42506e['right']<=_0x42506e['left']||_0x42506e[_0x4821b1(0x359)]<=_0x42506e[_0x4821b1(0x2f4)]?!0x1:typeof window>'u'||_0x42506e[_0x4821b1(0xcd)]>0x0&&_0x42506e['bottom']>0x0&&_0x42506e['left']<window[_0x4821b1(0x498)]&&_0x42506e[_0x4821b1(0x2f4)]<window['innerHeight'];}function _0x48646b(_0x127562){const _0x2c2bc3=_0xeb70cf;var _0x1caef3;return _0x127562==null||(_0x1caef3=_0x127562[_0x2c2bc3(0x289)])==null?void 0x0:_0x1caef3[_0x2c2bc3(0x479)](_0x127562);}function _0x56dfb8(_0x20924f,_0x406544,_0x54e8fe){const _0x201990=_0xeb70cf;let _0x42898c=_0x116573(_0x20924f),_0x531eec=_0x48646b(_0x406544),_0x55ead6=_0x42898c(),_0x18aae3=new _0x24f269['BehaviorSubject'](_0x55ead6),_0xfbda05=new _0x1e7325['DisposableCollection'](),_0x3f2218=!0x1,_0x1b7d02=!0x1,_0x2a6a94=_0x1a82da=>_0x159e72(_0x531eec)&&_0x5de0ca(_0x1a82da),_0x1cf612=()=>{_0x1b7d02||_0x3f2218||(_0x1b7d02=!0x0,queueMicrotask(()=>{const _0xf6afd5=_0x3c84;if(_0x1b7d02=!0x1,!_0x3f2218){let _0x52315c=_0x42898c();if(!_0x2a6a94(_0x52315c)){_0x54e8fe();return;}_0x18aae3[_0xf6afd5(0x217)](_0x52315c);}}));};return _0x406544&&_0xfbda05[_0x201990(0x2a8)](_0x406544['subscribe'](_0x33bec2=>{_0x531eec=_0x33bec2,_0x1cf612();})),typeof window<'u'&&_0xfbda05[_0x201990(0x2a8)]((0x0,_0x24f269[_0x201990(0x2e6)])((0x0,_0x24f269[_0x201990(0x13c)])(window,_0x201990(0xe8),{'capture':!0x0}),(0x0,_0x24f269[_0x201990(0x13c)])(window,_0x201990(0x430)))[_0x201990(0x2cf)]((0x0,_0x24f269[_0x201990(0x2c4)])(0x10))[_0x201990(0x413)](_0x1cf612)),{'initialRect':_0x55ead6,'anchorRect$':_0x18aae3[_0x201990(0x2ad)](),'visible':_0x2a6a94(_0x55ead6),'dispose':()=>{const _0x4444f3=_0x201990;_0x3f2218=!0x0,_0xfbda05[_0x4444f3(0x151)](),_0x18aae3[_0x4444f3(0x1e6)]();}};}let _0xb2585b=_0xeb70cf(0x197),_0x5bbc5e=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x53a9f4,_0x9466ea,_0x43a19d,_0x3b50c9,_0x50c1e6,_0x2f842a,_0x40cdd8,_0x3366e4,_0x3422e3){const _0x31b07a=_0xeb70cf;super(),this['_chartModelService']=_0x53a9f4,this['_chartRenderService']=_0x9466ea,this[_0x31b07a(0x14a)]=_0x43a19d,this['_sheetCanvasPopManagerService']=_0x3b50c9,this['_sheetCanvasFloatDomManagerService']=_0x50c1e6,this[_0x31b07a(0x2ae)]=_0x2f842a,this['_adapterRegistry']=_0x40cdd8,this[_0x31b07a(0x460)]=_0x3366e4,this['_injector']=_0x3422e3,_0x1b6fbd(this,'_popupDisposable',null),_0x1b6fbd(this,'_popupChartId',null),_0x1b6fbd(this,_0x31b07a(0x3f9),null),this[_0x31b07a(0x487)](),this[_0x31b07a(0x3d6)]();}[_0xeb70cf(0x151)](){const _0x358dc9=_0xeb70cf;this[_0x358dc9(0x261)](),super['dispose']();}['_registerAdapter'](){const _0x5eddda=_0xeb70cf;let _0x501356=(0x0,_0x339b6e[_0x5eddda(0x3c3)])({'chartUIService':this[_0x5eddda(0x2ae)],'getHostAdapter':_0x1fdb62=>{const _0xb3ce5d=_0x5eddda;let _0x29c42b=this['_chartModelService'][_0xb3ce5d(0x316)](_0x1fdb62[_0xb3ce5d(0x2b5)]);if(_0x29c42b&&_0x1fdb62[_0xb3ce5d(0x331)])return new _0x339b6e['ChartHostAdapter'](_0x29c42b,new _0x5979b3[(_0xb3ce5d(0x3b7))]({'unitId':_0x1fdb62[_0xb3ce5d(0xfa)],'subUnitId':_0x1fdb62['subUnitId'],'chartId':_0x1fdb62[_0xb3ce5d(0x2b5)],'injector':this['_injector']}));},'close':()=>this[_0x5eddda(0x261)](),'openFullPanel':_0x16f596=>{const _0x163946=_0x5eddda;let {unitId:_0x2fc0ba,subUnitId:_0x4a1592,drawingId:_0x1aadd1,chartId:_0x3eed62}=_0x16f596,_0xd3cfc8=(0x0,_0x339b6e[_0x163946(0x25f)])(_0x16f596[_0x163946(0x2d5)]);this['_commandService'][_0x163946(0x318)](_0x48776c['id'],{'unitId':_0x2fc0ba,'subUnitId':_0x4a1592??'','drawingId':_0x1aadd1??_0x3eed62,..._0xd3cfc8?{'route':_0xd3cfc8}:{}});}});this['disposeWithMe'](this[_0x5eddda(0x235)][_0x5eddda(0x31e)](_0xb2585b,_0x501356));}['_subscribeChartEvents'](){const _0x3a85fe=_0xeb70cf;this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x3ea)][_0x3a85fe(0x2ea)][_0x3a85fe(0x413)](_0x5093f8=>{const _0x3667d3=_0x3a85fe;let _0x137046=new _0x1e7325[(_0x3667d3(0x386))]();_0x137046[_0x3667d3(0x2a8)](this['_chartRenderService']['on'](_0x5093f8['id'],'click',_0x38e362=>{const _0x56a244=_0x3667d3;this[_0x56a244(0x3ba)](_0x5093f8['id'],_0x38e362);})),_0x137046[_0x3667d3(0x2a8)](this['_chartRenderService']['on'](_0x5093f8['id'],_0x3667d3(0x33c),()=>{this['_openEditPanelByDoubleClick'](_0x5093f8['id']);})),_0x5093f8[_0x3667d3(0x2ef)](()=>{const _0x509351=_0x3667d3;_0x137046[_0x509351(0x151)](),this[_0x509351(0x42f)](_0x5093f8['id']);}),this[_0x3667d3(0x1e8)](_0x137046);})),this[_0x3a85fe(0x1e8)]((0x0,_0x24f269['combineLatest'])([this['_chartModelService'][_0x3a85fe(0x280)],this[_0x3a85fe(0x2ae)]['chartEditorOpen$']])[_0x3a85fe(0x413)](([_0x3b5096,_0x3122c7])=>{const _0x26fa78=_0x3a85fe;(!_0x3122c7||this[_0x26fa78(0x126)]&&(_0x3b5096==null?void 0x0:_0x3b5096['id'])!==this[_0x26fa78(0x126)])&&this[_0x26fa78(0x261)]();})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x16c)][_0x3a85fe(0x1be)][_0x3a85fe(0x413)](({id:_0x1b3633})=>{const _0x1b03f2=_0x3a85fe;this[_0x1b03f2(0x42f)](_0x1b3633);})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x16c)][_0x3a85fe(0x144)]['subscribe'](({id:_0x171526})=>{this['_clearSelectedTarget'](_0x171526);})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x14a)][_0x3a85fe(0x48a)][_0x3a85fe(0x413)](_0x455693=>{const _0x1ce812=_0x3a85fe;this[_0x1ce812(0x42f)](_0x455693);}));}[_0xeb70cf(0x308)](_0x2f32c8){const _0x21b6d0=_0xeb70cf;if(this[_0x21b6d0(0x2ae)]['chartEditorOpen'])return;let _0x105747=this[_0x21b6d0(0x3ea)][_0x21b6d0(0x316)](_0x2f32c8),_0x5a2b4a=this[_0x21b6d0(0x16c)]['getFloatDomInfo'](_0x2f32c8);_0x105747&&_0x5a2b4a&&this[_0x21b6d0(0x460)][_0x21b6d0(0x318)](_0x48776c['id'],{'unitId':_0x5a2b4a[_0x21b6d0(0xfa)],'subUnitId':_0x5a2b4a[_0x21b6d0(0x331)]??'','drawingId':_0x2f32c8});}['_openFloatMenu'](_0x3429b8,_0x2d1c41){const _0x5d3780=_0xeb70cf;if(!this[_0x5d3780(0x2ae)][_0x5d3780(0xd6)](_0x3429b8))return;let _0xe2e536=this[_0x5d3780(0x3ea)][_0x5d3780(0x316)](_0x3429b8),_0x279939=_0xe2e536?_0x424778(_0xe2e536,_0x2d1c41[_0x5d3780(0x1d9)]):void 0x0;if(!_0x279939){this['_chartUIService'][_0x5d3780(0x26f)](),this['_closePopup']();return;}let _0x441235=this[_0x5d3780(0x16c)]['getFloatDomInfo'](_0x3429b8);if(!_0xe2e536||!_0x441235){this[_0x5d3780(0x2ae)]['clearPanelRoute'](),this[_0x5d3780(0x261)]();return;}let _0x4b8d27=JSON['stringify']([_0x441235['unitId'],_0x441235['subUnitId'],_0x3429b8,_0x279939[_0x5d3780(0x2d5)]]);if(this[_0x5d3780(0x266)]&&this[_0x5d3780(0x3f9)]===_0x4b8d27||(this[_0x5d3780(0x2ae)]['setPanelRoute'](_0x3429b8,_0x279939[_0x5d3780(0x2fd)]),this[_0x5d3780(0x261)](),!_0x279939[_0x5d3780(0x3e5)]))return;let _0x5d8664=_0x56dfb8(_0x2d1c41,_0x441235[_0x5d3780(0x448)],()=>this['_clearHiddenSelectedTarget'](_0x3429b8));if(!_0x5d8664[_0x5d3780(0x32a)]){_0x5d8664['dispose']();return;}let _0x316109=this[_0x5d3780(0x451)][_0x5d3780(0xe4)](_0x5d8664[_0x5d3780(0x3c2)],_0x5d8664[_0x5d3780(0x4b7)],{'componentKey':_0x339b6e[_0x5d3780(0x315)],'constrainToCanvas':!0x0,'direction':_0x5d3780(0x476),'offset':[0x0,0x8],'extraProps':{'unitId':_0x441235[_0x5d3780(0xfa)],'subUnitId':_0x441235[_0x5d3780(0x331)],'chartId':_0x3429b8,'drawingId':_0x3429b8,'element':_0x2d1c41[_0x5d3780(0x1d9)],'target':_0x279939[_0x5d3780(0x2d5)],'adapterKey':_0xb2585b}},_0x441235[_0x5d3780(0xfa)],_0x441235['subUnitId'])??null;if(!_0x316109){_0x5d8664['dispose']();return;}let _0x53deda=new _0x1e7325[(_0x5d3780(0x386))]();_0x53deda[_0x5d3780(0x2a8)](_0x316109),_0x53deda[_0x5d3780(0x2a8)](_0x5d8664),this[_0x5d3780(0x266)]=_0x53deda,this[_0x5d3780(0x126)]=_0x3429b8,this[_0x5d3780(0x3f9)]=_0x4b8d27;}[_0xeb70cf(0x261)](){const _0x517f0f=_0xeb70cf;var _0x5d6f7e;(_0x5d6f7e=this[_0x517f0f(0x266)])==null||_0x5d6f7e[_0x517f0f(0x151)](),this[_0x517f0f(0x266)]=null,this[_0x517f0f(0x126)]=null,this[_0x517f0f(0x3f9)]=null;}[_0xeb70cf(0x42f)](_0x4756ca){const _0xca58ee=_0xeb70cf;(this[_0xca58ee(0x2ae)][_0xca58ee(0xd6)](_0x4756ca)||this[_0xca58ee(0x126)]===_0x4756ca)&&(this[_0xca58ee(0x2ae)][_0xca58ee(0x26f)](),this[_0xca58ee(0x126)]===_0x4756ca&&this[_0xca58ee(0x261)]());}[_0xeb70cf(0x29b)](_0x1b1ba0){const _0x1f7f25=_0xeb70cf;this[_0x1f7f25(0x42f)](_0x1b1ba0),this[_0x1f7f25(0x2ae)][_0x1f7f25(0xd6)](_0x1b1ba0)&&(this[_0x1f7f25(0x46a)][_0x1f7f25(0x12f)](_0x1b1ba0,!0x1),this[_0x1f7f25(0x46a)]['setElementEditMode'](_0x1b1ba0,!0x0));}};_0x5bbc5e=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x2,_0x46b74e),_0x16880b(0x3,(0x0,_0x1e7325['Inject'])(_0x2ef923['SheetCanvasPopManagerService'])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93['SheetCanvasFloatDomManagerService'])),_0x16880b(0x5,_0x19c057),_0x16880b(0x6,(0x0,_0x1e7325['Inject'])(_0x339b6e[_0xeb70cf(0x121)])),_0x16880b(0x7,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x8,(0x0,_0x1e7325['Inject'])(_0x1e7325[_0xeb70cf(0x459)]))],_0x5bbc5e);function _0x5895c7({ref:_0x188616,..._0x2dce5f}){const _0x4cf7c5=_0xeb70cf;let {preserveStrokeWidth:_0x29d52b,icon:_0x4858e2,id:_0x5688f3,className:_0x320196,extend:_0x56c5c5,..._0x438988}=_0x2dce5f,_0xc5fffe=(_0x4cf7c5(0x1a4)+_0x5688f3+'\x20'+(_0x320196||''))[_0x4cf7c5(0x3c6)](),_0x1374ec='_'+(0x0,_0x5de930[_0x4cf7c5(0x397)])(),_0x472a16=(0x0,_0x5de930[_0x4cf7c5(0x20c)])(null);return(0x0,_0x5de930[_0x4cf7c5(0x16f)])(_0x188616,()=>_0x472a16[_0x4cf7c5(0x35f)]),(0x0,_0x5de930[_0x4cf7c5(0x2dc)])(()=>{const _0x6e5721=_0x4cf7c5;if(_0x29d52b&&_0x472a16[_0x6e5721(0x35f)]&&_0x472a16[_0x6e5721(0x35f)]['localName']===_0x4858e2['tag'])return _0xa9bb46(_0x472a16[_0x6e5721(0x35f)]);},[_0x29d52b,_0x4858e2]),_0x249393(_0x4858e2,''+_0x5688f3,{'defIds':_0x4858e2[_0x4cf7c5(0x342)],'idSuffix':_0x1374ec},{'ref':_0x472a16,'className':_0xc5fffe,..._0x438988},_0x56c5c5);}function _0x249393(_0x1615f5,_0x3d9b8e,_0x1c7b60,_0x158cbf,_0x11f42f){const _0x500407=_0xeb70cf;return(0x0,_0x5de930[_0x500407(0xfc)])(_0x1615f5[_0x500407(0x28c)],{'key':_0x3d9b8e,..._0x16bdd6(_0x1615f5,_0x1c7b60,_0x11f42f),..._0x158cbf},(_0x16ad5e(_0x1615f5,_0x1c7b60)[_0x500407(0x140)]||[])[_0x500407(0x1f6)]((_0x3d6922,_0x1c703a)=>_0x249393(_0x3d6922,_0x3d9b8e+'-'+_0x1615f5[_0x500407(0x28c)]+'-'+_0x1c703a,_0x1c7b60,void 0x0,_0x11f42f)));}function _0x16bdd6(_0x3eed7c,_0x514e5e,_0x571e00){const _0x4a3711=_0xeb70cf;let _0x2198c4={..._0x3eed7c[_0x4a3711(0x490)]};_0x571e00!=null&&_0x571e00[_0x4a3711(0x38f)]&&_0x2198c4[_0x4a3711(0x16e)]===_0x4a3711(0x38f)&&(_0x2198c4['fill']=_0x571e00['colorChannel1']),_0x571e00!=null&&_0x571e00[_0x4a3711(0x38f)]&&_0x2198c4[_0x4a3711(0x2e4)]===_0x4a3711(0x38f)&&(_0x2198c4[_0x4a3711(0x2e4)]=_0x571e00[_0x4a3711(0x38f)]),_0x3eed7c[_0x4a3711(0x28c)]===_0x4a3711(0x1ac)&&_0x2198c4['id']&&(_0x2198c4['id']+=_0x514e5e[_0x4a3711(0x351)]),Object[_0x4a3711(0x243)](_0x2198c4)[_0x4a3711(0x332)](([_0x488c00,_0x4779e6])=>{const _0x38aa8b=_0x4a3711;_0x488c00===_0x38aa8b(0x1ac)&&typeof _0x4779e6=='string'&&(_0x2198c4[_0x488c00]=_0x4779e6[_0x38aa8b(0xe9)](/url\(#(.*)\)/,'url(#$1'+_0x514e5e[_0x38aa8b(0x351)]+')'));});let {defIds:_0x4aed22}=_0x514e5e;return!_0x4aed22||_0x4aed22[_0x4a3711(0x2d4)]===0x0||(_0x3eed7c[_0x4a3711(0x28c)]===_0x4a3711(0x1ca)&&_0x2198c4[_0x4a3711(0x307)]&&(_0x2198c4[_0x4a3711(0x307)]+=_0x514e5e[_0x4a3711(0x351)]),Object[_0x4a3711(0x243)](_0x2198c4)[_0x4a3711(0x332)](([_0x58e944,_0x227fb4])=>{const _0x145fbd=_0x4a3711;typeof _0x227fb4==_0x145fbd(0x3a1)&&(_0x2198c4[_0x58e944]=_0x227fb4[_0x145fbd(0xe9)](/url\(#(.*)\)/,_0x145fbd(0x142)+_0x514e5e[_0x145fbd(0x351)]+')'));})),_0x2198c4;}function _0x16ad5e(_0xf23eb,_0x512cac){const _0x9e53de=_0xeb70cf;var _0x71cd92;let {defIds:_0x5c70a6}=_0x512cac;return!_0x5c70a6||_0x5c70a6['length']===0x0?_0xf23eb:_0xf23eb['tag']==='defs'&&(_0x71cd92=_0xf23eb[_0x9e53de(0x140)])!=null&&_0x71cd92[_0x9e53de(0x2d4)]?{..._0xf23eb,'children':_0xf23eb['children'][_0x9e53de(0x1f6)](_0x25f5b1=>typeof _0x25f5b1[_0x9e53de(0x490)]['id']==_0x9e53de(0x3a1)&&_0x5c70a6&&_0x5c70a6['includes'](_0x25f5b1[_0x9e53de(0x490)]['id'])?{..._0x25f5b1,'attrs':{..._0x25f5b1['attrs'],'id':_0x25f5b1[_0x9e53de(0x490)]['id']+_0x512cac[_0x9e53de(0x351)]}}:_0x25f5b1)}:_0xf23eb;}function _0xa9bb46(_0xec6ea2){const _0x1622d8=_0xeb70cf;let _0x125e52=_0xec6ea2['viewBox'][_0x1622d8(0x403)],_0x2a0043=Math['max'](_0x125e52['width'],_0x125e52[_0x1622d8(0x1ed)]);if(!Number[_0x1622d8(0x496)](_0x2a0043)||_0x2a0043<=0x0||_0x125e52[_0x1622d8(0x323)]<=0x0||_0x125e52['height']<=0x0)return()=>void 0x0;let _0x5d98dc=0x10/_0x2a0043,_0xfd31dd=Array[_0x1622d8(0x240)](_0xec6ea2['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x1622d8(0x113)](_0x345437=>{const _0x3843e4=_0x1622d8;let _0x3cb0cb=getComputedStyle(_0x345437),_0x1767e5=Number[_0x3843e4(0x2ac)](_0x3cb0cb[_0x3843e4(0x220)]);return _0x3cb0cb[_0x3843e4(0x2e4)]===_0x3843e4(0x42b)||Number[_0x3843e4(0x2ac)](_0x3cb0cb[_0x3843e4(0x1d6)])===0x0||_0x3cb0cb['vectorEffect']===_0x3843e4(0x4a0)||!Number[_0x3843e4(0x496)](_0x1767e5)||_0x1767e5<=0x0?[]:[{'element':_0x345437,'hadStyleAttribute':_0x345437['hasAttribute']('style'),'originalStrokeWidth':_0x1767e5,'strokeWidth':_0x368583(_0x345437[_0x3843e4(0x4b9)],_0x3843e4(0x44f))}];})[_0x1622d8(0x1f6)](_0x2f27d0=>({'appliedStrokeWidth':null,'element':_0x2f27d0[_0x1622d8(0x467)],'hadStyleAttribute':_0x2f27d0['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x2f27d0[_0x1622d8(0x22b)],'strokeWidth':_0x2f27d0['strokeWidth']}));if(_0xfd31dd['length']===0x0)return()=>void 0x0;let _0x40938e=(_0x4e4289,_0x5a5585)=>{const _0x4fda8c=_0x1622d8;if(_0x125e52[_0x4fda8c(0x323)]<=0x0||_0x125e52[_0x4fda8c(0x1ed)]<=0x0||_0x4e4289<=0x0||_0x5a5585<=0x0)return;let _0x16dd68=Math['min'](_0x4e4289/_0x125e52[_0x4fda8c(0x323)],_0x5a5585/_0x125e52[_0x4fda8c(0x1ed)]);!Number['isFinite'](_0x16dd68)||_0x16dd68<=0x0||_0xfd31dd['forEach'](_0x328b58=>{const _0x118a51=_0x4fda8c;if(_0x328b58[_0x118a51(0x3b1)])return;if(_0x328b58['appliedStrokeWidth']!==null&&(_0x328b58[_0x118a51(0x467)][_0x118a51(0x4b9)][_0x118a51(0x4a2)](_0x118a51(0x44f))!==_0x328b58[_0x118a51(0x3a7)]||_0x328b58['element'][_0x118a51(0x4b9)]['getPropertyPriority'](_0x118a51(0x44f))!==_0x328b58[_0x118a51(0x220)][_0x118a51(0x2bf)])){_0x328b58[_0x118a51(0x3a7)]=null,_0x328b58[_0x118a51(0x3b1)]=!0x0;return;}let _0x34276f=_0x328b58[_0x118a51(0x22b)]*_0x5d98dc/_0x16dd68,_0x28c87e=Number(_0x34276f[_0x118a51(0x256)](0xc))+'px';_0x328b58[_0x118a51(0x467)][_0x118a51(0x4b9)][_0x118a51(0x2ee)]('stroke-width',_0x28c87e,_0x328b58[_0x118a51(0x220)][_0x118a51(0x2bf)]),_0x328b58[_0x118a51(0x3a7)]=_0x28c87e;});},_0x2ec8af=_0xec6ea2[_0x1622d8(0x464)]();_0x40938e(_0x2ec8af['width'],_0x2ec8af['height']);let _0xf6306c=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x30cae0=>{const _0x45d28f=_0x1622d8;if(_0x30cae0[_0x45d28f(0x12c)](_0x2d5b83=>_0x2d5b83[_0x45d28f(0x2d5)]===_0xec6ea2)){let _0x5f50d1=_0xec6ea2[_0x45d28f(0x464)]();_0x40938e(_0x5f50d1[_0x45d28f(0x323)],_0x5f50d1[_0x45d28f(0x1ed)]);}});return _0xf6306c==null||_0xf6306c['observe'](_0xec6ea2),()=>{const _0x2b29e2=_0x1622d8;_0xf6306c==null||_0xf6306c[_0x2b29e2(0x365)](),_0xfd31dd[_0x2b29e2(0x332)](_0x219302=>{const _0x5219ae=_0x2b29e2;_0x219302[_0x5219ae(0x3a7)]!==null&&(_0x51a63a(_0x219302[_0x5219ae(0x467)][_0x5219ae(0x4b9)],'stroke-width',_0x219302['appliedStrokeWidth'],_0x219302['strokeWidth'][_0x5219ae(0x2bf)],_0x219302[_0x5219ae(0x220)]),!_0x219302['hadStyleAttribute']&&_0x219302[_0x5219ae(0x467)]['style'][_0x5219ae(0x2d4)]===0x0&&_0x219302[_0x5219ae(0x467)]['removeAttribute'](_0x5219ae(0x4b9)));});};}function _0x368583(_0xb7c780,_0xd16cb1){const _0x40b218=_0xeb70cf;return{'priority':_0xb7c780[_0x40b218(0x3d3)](_0xd16cb1),'value':_0xb7c780[_0x40b218(0x4a2)](_0xd16cb1)};}function _0x51a63a(_0x143645,_0x4be514,_0x4286bc,_0x5135d1,_0x12b0ca){const _0x1f3f57=_0xeb70cf;_0x143645[_0x1f3f57(0x4a2)](_0x4be514)===_0x4286bc&&_0x143645[_0x1f3f57(0x3d3)](_0x4be514)===_0x5135d1&&(_0x12b0ca[_0x1f3f57(0x375)]?_0x143645[_0x1f3f57(0x2ee)](_0x4be514,_0x12b0ca[_0x1f3f57(0x375)],_0x12b0ca['priority']):_0x143645['removeProperty'](_0x4be514));}_0x5895c7[_0xeb70cf(0x213)]='UniverIcon';let _0x20387a={'tag':_0xeb70cf(0x393),'attrs':{'xmlns':_0xeb70cf(0x301),'fill':_0xeb70cf(0x42b),'viewBox':_0xeb70cf(0x188),'width':_0xeb70cf(0x239),'height':_0xeb70cf(0x239)},'children':[{'tag':_0xeb70cf(0x20a),'attrs':{'fill':_0xeb70cf(0x159),'d':'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'}}]},_0x53de76=(0x0,_0x5de930[_0xeb70cf(0x1b5)])(function(_0x18c0b4,_0xc8d64b){const _0x28e038=_0xeb70cf;return(0x0,_0x5de930['createElement'])(_0x5895c7,Object[_0x28e038(0x325)]({},_0x18c0b4,{'id':'pen-icon','ref':_0xc8d64b,'icon':_0x20387a}));});_0x53de76['displayName']=_0xeb70cf(0x36e);let _0x1ad367=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x3e8996,_0x223d45){const _0x3aec71=_0xeb70cf;super(),this[_0x3aec71(0x44d)]=_0x3e8996,this['_iconManager']=_0x223d45,this['_registerIcons'](),this[_0x3aec71(0x388)]();}['_registerIcons'](){const _0x3bb75f=_0xeb70cf;this[_0x3bb75f(0x1e8)](this[_0x3bb75f(0x3d8)]['register']({'PenIcon':_0x53de76}));}[_0xeb70cf(0x388)](){const _0x497757=_0xeb70cf;[[_0x47b009,_0x2427fb]][_0x497757(0x332)](([_0x294fd7,_0xcdddfc])=>{const _0x2700a3=_0x497757;this['disposeWithMe'](this['_componentManager'][_0x2700a3(0x31e)](_0x294fd7,_0xcdddfc));});}};_0x1ad367=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['ComponentManager'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['IconManager']))],_0x1ad367);let _0x321768=class extends _0x1e7325[_0xeb70cf(0x1d2)]{constructor(_0x15a0ac=_0x2be8c4,_0x190efa,_0x420eb5,_0x41963d){const _0x130220=_0xeb70cf;super(),this[_0x130220(0x28d)]=_0x15a0ac,this['_injector']=_0x190efa,this[_0x130220(0x1fc)]=_0x420eb5,this['_commandService']=_0x41963d,_0x1b6fbd(this,_0x130220(0x49e),void 0x0);let {..._0x584be0}=(0x0,_0x1e7325[_0x130220(0x2e6)])({},_0x2be8c4,this[_0x130220(0x28d)]);this[_0x130220(0x49e)]=_0x584be0,this[_0x130220(0x1fc)][_0x130220(0x15b)](_0x3e48e7,_0x584be0),this[_0x130220(0x2b3)]();}[_0xeb70cf(0x206)](){const _0x4f11a2=_0xeb70cf;this[_0x4f11a2(0x26d)][_0x4f11a2(0x2a8)]([_0x1ad367]),this[_0x4f11a2(0x26d)][_0x4f11a2(0x360)](_0x1ad367);let _0x28fbfd=this[_0x4f11a2(0x26d)],_0x58c74b=[[_0x19c057,{'useClass':_0x46657c}],[_0x46b74e,{'useClass':_0x1ca0a5}],[_0x36a856],[_0x114834],[_0x4ccea8],[_0xdc4924],[_0x34efc2],[_0x4a438d],[_0x355040],[_0x279d6d],[_0x4273c9]],_0x3ad168=[[_0xdc4924],[_0x4a438d],[_0x34efc2],[_0x4ccea8],[_0x19c057],[_0x355040],[_0x279d6d],[_0x4273c9]];this[_0x4f11a2(0x49e)][_0x4f11a2(0x3cf)]&&(_0x58c74b[_0x4f11a2(0x15c)]([_0x5bbc5e]),_0x3ad168[_0x4f11a2(0x15c)]([_0x5bbc5e])),_0x58c74b[_0x4f11a2(0x332)](_0xc916b9=>_0x28fbfd[_0x4f11a2(0x2a8)](_0xc916b9)),(0x0,_0x1e7325[_0x4f11a2(0x43a)])(this[_0x4f11a2(0x26d)],_0x3ad168);}[_0xeb70cf(0x327)](){const _0x1b033d=_0xeb70cf;var _0xf15374;(_0xf15374=this['_injector']['get'](_0xdc4924))==null||_0xf15374[_0x1b033d(0x1d1)]();}[_0xeb70cf(0x2b3)](){const _0x3eda49=_0xeb70cf;[_0x5cbb78,_0x512316,_0xe02a20,_0x336d65,_0x13aee6,_0x48776c,_0x2f1627][_0x3eda49(0x332)](_0x37b6b5=>this['disposeWithMe'](this[_0x3eda49(0x460)][_0x3eda49(0x250)](_0x37b6b5)));}};_0x1b6fbd(_0x321768,_0xeb70cf(0x3b3),_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)]),_0x1b6fbd(_0x321768,_0xeb70cf(0x306),_0xeb70cf(0x416)),_0x1b6fbd(_0x321768,'packageName',_0x2a4915),_0x1b6fbd(_0x321768,'version',_0x362383),_0x321768=_0x6243e3([(0x0,_0x1e7325[_0xeb70cf(0x1bf)])(_0x4eff75['UniverLicensePlugin'],_0x39bdba[_0xeb70cf(0x255)],_0x4fef78[_0xeb70cf(0xf5)],_0x559364[_0xeb70cf(0x1c0)],_0x4dac75[_0xeb70cf(0x152)],_0x339b6e[_0xeb70cf(0x143)],_0x5979b3['UniverSheetsChartPlugin'],_0x398b93[_0xeb70cf(0x2c0)],_0x2ef923[_0xeb70cf(0x222)]),_0x16880b(0x1,(0x0,_0x1e7325['Inject'])(_0x1e7325[_0xeb70cf(0x459)])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0x475)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0xd2)])],_0x321768),_0x44e059[_0xeb70cf(0x26a)]=_0x48776c,Object['defineProperty'](_0x44e059,_0xeb70cf(0x4a1),{'enumerable':!0x0,'get':function(){return _0x114834;}}),_0x44e059['ISheetsChartUIService']=_0x19c057,_0x44e059['SHEETS_CHART_UI_PLUGIN_CONFIG_KEY']=_0x3e48e7,Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x193),{'enumerable':!0x0,'get':function(){return _0xdc4924;}}),_0x44e059[_0xeb70cf(0x118)]=_0x3350dd,Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x35c),{'enumerable':!0x0,'get':function(){return _0x46657c;}}),Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x1d5),{'enumerable':!0x0,'get':function(){return _0x4dbce9;}}),Object['defineProperty'](_0x44e059,_0xeb70cf(0x416),{'enumerable':!0x0,'get':function(){return _0x321768;}}),_0x44e059['createChartElementPopupAnchorObserver']=_0x56dfb8;}));
1
+ (function(_0x1ee580,_0x53ea33){const _0x15d44d=_0x1a03,_0x822ad5=_0x1ee580();while(!![]){try{const _0x1eff5c=parseInt(_0x15d44d(0x1b8))/0x1*(-parseInt(_0x15d44d(0x347))/0x2)+parseInt(_0x15d44d(0x498))/0x3*(parseInt(_0x15d44d(0x398))/0x4)+parseInt(_0x15d44d(0x346))/0x5+parseInt(_0x15d44d(0x380))/0x6+parseInt(_0x15d44d(0x21a))/0x7+-parseInt(_0x15d44d(0x2c3))/0x8+-parseInt(_0x15d44d(0x330))/0x9*(parseInt(_0x15d44d(0x553))/0xa);if(_0x1eff5c===_0x53ea33)break;else _0x822ad5['push'](_0x822ad5['shift']());}catch(_0x2aefa4){_0x822ad5['push'](_0x822ad5['shift']());}}}(_0x194b,0xe7b20),function(_0x36f7e4,_0x554227){const _0x598ae9=_0x1a03;typeof exports=='object'&&typeof module<'u'?_0x554227(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('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x598ae9(0x58e)&&define['amd']?define(['exports',_0x598ae9(0x3d4),_0x598ae9(0x2b3),_0x598ae9(0x254),_0x598ae9(0x1c9),_0x598ae9(0x232),_0x598ae9(0x357),_0x598ae9(0x3a2),'rxjs',_0x598ae9(0x283),_0x598ae9(0x363),_0x598ae9(0x45a),_0x598ae9(0x46e),_0x598ae9(0x1e8),_0x598ae9(0x4a3),_0x598ae9(0x22d),_0x598ae9(0x4d1),_0x598ae9(0x2ad),'react/jsx-runtime',_0x598ae9(0x571)],_0x554227):(_0x36f7e4=typeof globalThis<'u'?globalThis:_0x36f7e4||self,_0x554227(_0x36f7e4[_0x598ae9(0x55b)]={},_0x36f7e4[_0x598ae9(0x416)],_0x36f7e4[_0x598ae9(0x20e)],_0x36f7e4[_0x598ae9(0x548)],_0x36f7e4[_0x598ae9(0x329)],_0x36f7e4[_0x598ae9(0x3bb)],_0x36f7e4[_0x598ae9(0x59e)],_0x36f7e4[_0x598ae9(0x58c)],_0x36f7e4[_0x598ae9(0x585)],_0x36f7e4['UniverProChartUi'],_0x36f7e4[_0x598ae9(0x2aa)],_0x36f7e4[_0x598ae9(0x207)],_0x36f7e4[_0x598ae9(0x214)],_0x36f7e4[_0x598ae9(0x1ea)],_0x36f7e4[_0x598ae9(0x2b7)],_0x36f7e4[_0x598ae9(0x235)],_0x36f7e4[_0x598ae9(0x355)],_0x36f7e4[_0x598ae9(0x3f0)],_0x36f7e4[_0x598ae9(0x235)],_0x36f7e4[_0x598ae9(0x2f2)]));}(this,function(_0x3116e0,_0xedf715,_0x1c5438,_0x2836bb,_0x49c74d,_0x1b885e,_0x503fe1,_0x64caca,_0x2f2bb7,_0x477057,_0x4995c0,_0x363993,_0x3b10d9,_0x33ffc9,_0x3e0c02,_0x2c8eee,_0x273fc8,_0x4581d5,_0x35e3a2,_0x4b0aa4){const _0xd70131=_0x1a03;Object['defineProperty'](_0x3116e0,Symbol[_0xd70131(0x567)],{'value':_0xd70131(0x4c6)});let _0x27e464={'type':_0xedf715[_0xd70131(0x44b)]['OPERATION'],'id':'sheet.operation.open-chart-panel','handler'(){return!0x0;}},_0x1df44f=_0xd70131(0x51d),_0x37168f={'enableChartElementFloatMenu':!0x0},_0x5b262b={'type':_0xedf715['CommandType'][_0xd70131(0x4b3)],'id':_0xd70131(0x2bd),'handler'(){return!0x0;}};function _0x4dbd9c(_0x9c3f1b){const _0x3fa5f6=_0xd70131;let _0x5174bb=_0x9c3f1b[_0x3fa5f6(0x428)](_0x49c74d[_0x3fa5f6(0x3df)])[_0x3fa5f6(0x26b)]();if(_0x5174bb[_0x3fa5f6(0x454)]!==0x1)return null;let _0x41d0f7=_0x5174bb[0x0];return _0x41d0f7[_0x3fa5f6(0x249)]===_0xedf715[_0x3fa5f6(0x221)][_0x3fa5f6(0x3f2)]?_0x41d0f7:null;}function _0x19ca48(_0x423974,_0xe07295){const _0x3e62fc=_0xd70131;let _0x2bb900=document[_0x3e62fc(0x5bd)]('a');_0x2bb900[_0x3e62fc(0x2f7)]=_0x423974,_0x2bb900[_0x3e62fc(0x43c)]=_0xe07295,_0x2bb900[_0x3e62fc(0x4a8)]();}let _0x583a76={'id':_0xd70131(0x559),'type':_0xedf715[_0xd70131(0x44b)][_0xd70131(0x248)],'handler':(_0x120de2,_0x10120b)=>{const _0xe6f796=_0xd70131;let _0x211b03=_0x4dbd9c(_0x120de2);return _0x211b03?_0x120de2['get'](_0xedf715[_0xe6f796(0x1cb)])['executeCommand'](_0x27e464['id'],{'unitId':_0x211b03[_0xe6f796(0x4e0)],'subUnitId':_0x211b03[_0xe6f796(0x3ab)],'drawingId':_0x211b03[_0xe6f796(0x547)],..._0x10120b!=null&&_0x10120b['route']?{'route':_0x10120b[_0xe6f796(0x484)]}:{}}):!0x1;}},_0x179dbf={'id':_0xd70131(0x352),'type':_0xedf715[_0xd70131(0x44b)]['COMMAND'],'handler':_0x5ac6d0=>_0x4dbd9c(_0x5ac6d0)?_0x5ac6d0[_0xd70131(0x428)](_0xedf715[_0xd70131(0x1cb)])[_0xd70131(0x472)](_0x503fe1[_0xd70131(0x455)]['id']):!0x1},_0x26a9ec={'id':_0xd70131(0x4e4),'type':_0xedf715[_0xd70131(0x44b)][_0xd70131(0x248)],'handler':async _0x2c65b1=>{const _0x241a56=_0xd70131;let _0x2a975c=_0x4dbd9c(_0x2c65b1);if(!_0x2a975c)return!0x1;let _0x3b35cc=await _0x2c65b1[_0x241a56(0x428)](_0x477057[_0x241a56(0x25b)])['exportImage']({'unitId':_0x2a975c['unitId'],'subUnitId':_0x2a975c[_0x241a56(0x3ab)],'getId':()=>_0x2a975c['drawingId']});return _0x3b35cc?(_0x19ca48(_0x3b35cc,_0x2a975c[_0x241a56(0x547)]+'.png'),!0x0):!0x1;}},_0x446c58={'id':_0xd70131(0x5a3),'type':_0xedf715[_0xd70131(0x44b)]['COMMAND'],'handler':_0x36c862=>{const _0x1748e4=_0xd70131;let _0x16395d=_0x4dbd9c(_0x36c862);return _0x16395d?_0x36c862[_0x1748e4(0x428)](_0xedf715[_0x1748e4(0x1cb)])[_0x1748e4(0x472)](_0x49c74d[_0x1748e4(0x41b)]['id'],{'unitId':_0x16395d[_0x1748e4(0x4e0)],'drawings':[{'unitId':_0x16395d[_0x1748e4(0x4e0)],'subUnitId':_0x16395d[_0x1748e4(0x3ab)],'drawingId':_0x16395d['drawingId'],'drawingType':_0xedf715[_0x1748e4(0x221)]['DRAWING_CHART']}]}):!0x1;}},_0x33dbe8={'type':_0xedf715[_0xd70131(0x44b)][_0xd70131(0x248)],'id':'sheet.command.menu-insert-chart','handler':async(_0x3700c0,_0x35b157)=>{const _0x4f84af=_0xd70131;let _0x30ea58=(0x0,_0x363993[_0x4f84af(0x301)])(_0x3700c0[_0x4f84af(0x428)](_0xedf715[_0x4f84af(0x481)]));if(!_0x30ea58)return!0x1;let _0x318f2b=_0x3700c0[_0x4f84af(0x428)](_0x363993[_0x4f84af(0x1df)])['getCurrentLastSelection']();if(!_0x318f2b)return!0x1;let {range:_0x3682e2}=_0x318f2b,_0x48cf67=_0x3700c0[_0x4f84af(0x428)](_0xedf715[_0x4f84af(0x1cb)]),{unitId:_0x3c732c,subUnitId:_0x4fd829}=_0x30ea58,{pieSecondaryPlotType:_0x1efe33,value:_0x16de76}=_0x35b157,_0x299918=_0x1efe33!==void 0x0;if(_0x299918&&(_0x16de76!==_0x4995c0[_0x4f84af(0x3cb)][_0x4f84af(0x24e)]||_0x1efe33!==_0x4995c0['PieSecondaryPlotType'][_0x4f84af(0x24e)]&&_0x1efe33!==_0x4995c0[_0x4f84af(0x215)]['Bar']))return!0x1;let _0x1b3d27=_0x299918?(0x0,_0xedf715[_0x4f84af(0x2c7)])():void 0x0;return _0x48cf67['executeCommand'](_0x1c5438[_0x4f84af(0x328)]['id'],{'unitId':_0x3c732c,'subUnitId':_0x4fd829,'chartType':_0x16de76,..._0x1b3d27&&_0x1efe33?{'chartId':_0x1b3d27,'config':{'unitId':_0x3c732c,'chartModelId':_0x1b3d27,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x1efe33}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x3682e2[_0x4f84af(0x4e0)]??_0x3c732c,'subUnitId':_0x3682e2[_0x4f84af(0x1cc)]??_0x4fd829,'range':_0x3682e2}}});}};function _0x59e504(_0x5d0967,_0x1765f1){const _0x19f811=_0xd70131;if(_0x5d0967==null)return'';if(Array['isArray'](_0x5d0967)){var _0x28c6be;let _0x534b68=(_0x28c6be=_0x5d0967[0x0])==null?void 0x0:_0x28c6be[_0x19f811(0x5ae)];return _0x534b68?_0x12e77e(_0x534b68,_0x1765f1):'';}return _0x12e77e(_0x5d0967[_0x19f811(0x303)],_0x1765f1);}function _0x12e77e(_0x4957d6,_0x4ea45c){const _0x5eb469=_0xd70131;var _0x1ac4aa;let {unitId:_0xe82ab1,subUnitId:_0x2096d9,range:_0x54b339}=_0x4957d6,_0x1cd55c=(_0x1ac4aa=_0x4ea45c['getUnit'](_0xe82ab1))==null?void 0x0:_0x1ac4aa['getSheetBySheetId'](_0x2096d9);if(!_0x1cd55c)return'';let _0xa3b081=_0x1cd55c[_0x5eb469(0x503)]();return(0x0,_0x3b10d9[_0x5eb469(0x34e)])(_0xa3b081,_0x54b339);}let _0x3c2377=_0x477057[_0xd70131(0x561)][_0xd70131(0x275)](_0x2f9795=>({'id':'id'in _0x2f9795?_0x2f9795['id']:void 0x0,'labelId':_0x2f9795['labelId'],'pieSecondaryPlotType':_0xd70131(0x239)in _0x2f9795?_0x2f9795[_0xd70131(0x239)]:void 0x0,'value':_0x2f9795['value'],'icon':_0x2f9795[_0xd70131(0x292)]}));function _0x587a12(_0xef36d8=_0x3c2377){const _0x4bd817=_0xd70131;return _0xef36d8[_0x4bd817(0x275)](({id:_0x96c977,icon:_0xf05e62,value:_0x3b4a68})=>{const _0x245786=_0x4bd817;let _0x4b1aca=(0x0,_0x477057[_0x245786(0x3e4)])(_0x96c977??String(_0x3b4a68)),_0xa6fad7=_0x4b1aca?{'value':_0x4b1aca[_0x245786(0x5a7)],..._0x4b1aca[_0x245786(0x239)]?{'pieSecondaryPlotType':_0x4b1aca[_0x245786(0x239)]}:{}}:{'value':_0x3b4a68};return{'icon':_0xf05e62,'value':_0x96c977??_0x3b4a68,'params':_0xa6fad7};});}let _0x17fbe5=(_0x122e8a,_0x4feaeb)=>{const _0x478290=_0xd70131;if(_0x4feaeb[_0x478290(0x454)]===0x1&&_0x4feaeb[0x0]===_0x478290(0x44f))return _0x122e8a;if(_0x4feaeb['length']>0x1){let _0x4ea64e=new Set();for(let _0x2ec4be of _0x4feaeb)_0x4ea64e[_0x478290(0x45b)](Number(_0x2ec4be));return _0x122e8a['filter'](_0x3a9651=>_0x4ea64e[_0x478290(0x209)](_0x3a9651[_0x478290(0x4c8)]));}return[];};function _0x11e67f(_0x503823){const _0x246318=_0xd70131;let _0x46d623=_0x503823[_0x246318(0x428)](_0xedf715[_0x246318(0x481)]),_0x3bdd5c=(0x0,_0x1c5438[_0x246318(0x234)])(_0x503823),_0x53ed89=_0x17fbe5(_0x3c2377[_0x246318(0x59d)](),_0x3bdd5c),_0x21134c=_0x587a12(_0x53ed89)['map']((_0x4af656,_0x38460a)=>({'icon':_0x4af656[_0x246318(0x2fc)],'value':_0x4af656[_0x246318(0x4c8)],'params':_0x4af656[_0x246318(0x58a)],'label':'sheets-chart-ui.chartTypes.'+_0x53ed89[_0x38460a][_0x246318(0x35d)]}));return{'id':_0x33dbe8['id'],'type':_0x64caca[_0x246318(0x324)]['SELECTOR'],'selectionsCommandId':_0x33dbe8['id'],'selections':_0x21134c,'icon':_0x246318(0x1de),'tooltip':_0x246318(0x469),'activated$':(0x0,_0x503fe1[_0x246318(0x4f8)])(_0x46d623,!0x1,()=>new _0x2f2bb7[(_0x246318(0x4bb))](_0x18b8db=>{const _0x4f4608=_0x246318;_0x18b8db[_0x4f4608(0x3d1)](!0x1);})),'hidden$':(0x0,_0x64caca[_0x246318(0x2d2)])(_0x503823,_0xedf715[_0x246318(0x37e)][_0x246318(0x42e)]),'disabled$':(0x0,_0x503fe1[_0x246318(0x2e1)])(_0x503823)};}function _0x263ff1(_0x1b17ee){const _0x14e215=_0xd70131;let _0x1ab6cd=_0x1b17ee[_0x14e215(0x428)](_0x49c74d[_0x14e215(0x3df)]);return _0x1ab6cd[_0x14e215(0x4de)]['pipe']((0x0,_0x2f2bb7['startWith'])(_0x1ab6cd[_0x14e215(0x26b)]()),(0x0,_0x2f2bb7[_0x14e215(0x275)])(()=>_0x4dbd9c(_0x1b17ee)==null));}function _0xf253a9(_0x379ca8){const _0x200988=_0xd70131;return{'id':_0x583a76['id'],'commandId':_0x583a76['id'],'type':_0x64caca['MenuItemType'][_0x200988(0x3c3)],'title':_0x379ca8[_0x200988(0x428)](_0xedf715['LocaleService'])['t']('sheets-chart-ui.common.openChartPanel'),'icon':_0x200988(0x584),'hidden$':_0x263ff1(_0x379ca8)};}function _0x556cdc(_0x3e23ee){const _0x4e5f42=_0xd70131;return{'id':_0x179dbf['id'],'commandId':_0x179dbf['id'],'type':_0x64caca['MenuItemType'][_0x4e5f42(0x3c3)],'title':_0x3e23ee[_0x4e5f42(0x428)](_0xedf715[_0x4e5f42(0x2db)])['t']('sheets-chart-ui.common.copy'),'icon':'CopyDoubleIcon','hidden$':_0x263ff1(_0x3e23ee)};}function _0x126a33(_0x5d59de){const _0x5290f3=_0xd70131;return{'id':_0x26a9ec['id'],'commandId':_0x26a9ec['id'],'type':_0x64caca['MenuItemType'][_0x5290f3(0x3c3)],'title':_0x5d59de[_0x5290f3(0x428)](_0xedf715[_0x5290f3(0x2db)])['t'](_0x5290f3(0x417)),'icon':_0x5290f3(0x2c2),'hidden$':_0x263ff1(_0x5d59de)};}function _0x4980ce(_0x371aac){const _0x3246b2=_0xd70131;return{'id':_0x446c58['id'],'commandId':_0x446c58['id'],'type':_0x64caca['MenuItemType'][_0x3246b2(0x3c3)],'title':_0x371aac[_0x3246b2(0x428)](_0xedf715['LocaleService'])['t'](_0x3246b2(0x314)),'icon':_0x3246b2(0x426),'hidden$':_0x263ff1(_0x371aac)};}let _0x28087a={[_0x64caca[_0xd70131(0x2a2)][_0xd70131(0x30e)]]:{[_0x33dbe8['id']]:{'order':0x4,'menuItemFactory':_0x11e67f}},[_0x64caca[_0xd70131(0x4c0)][_0xd70131(0x242)]]:{[_0x64caca['ContextMenuGroup']['OTHERS']]:{[_0x583a76['id']]:{'order':0x0,'menuItemFactory':_0xf253a9},[_0x179dbf['id']]:{'order':0x1,'menuItemFactory':_0x556cdc},[_0x26a9ec['id']]:{'order':0x3,'menuItemFactory':_0x126a33},[_0x446c58['id']]:{'order':0x4,'menuItemFactory':_0x4980ce}}}};function _0x10d25c(_0x282ca0){const _0x3a8004=_0xd70131;return _0x282ca0===_0x4995c0['ChartTypeBits'][_0x3a8004(0x39b)]||_0x282ca0===_0x4995c0[_0x3a8004(0x3cb)][_0x3a8004(0x27a)]||_0x282ca0===_0x4995c0[_0x3a8004(0x3cb)]['Boxplot']||_0x4995c0[_0x3a8004(0x543)][_0x3a8004(0x2f6)](_0x282ca0,_0x4995c0[_0x3a8004(0x3cb)][_0x3a8004(0x3ae)])||_0x4995c0['chartBitsUtils']['baseOn'](_0x282ca0,_0x4995c0[_0x3a8004(0x3cb)]['Column'])||_0x4995c0['chartBitsUtils'][_0x3a8004(0x2f6)](_0x282ca0,_0x4995c0[_0x3a8004(0x3cb)][_0x3a8004(0x38e)])||_0x4995c0[_0x3a8004(0x543)][_0x3a8004(0x2f6)](_0x282ca0,_0x4995c0[_0x3a8004(0x3cb)]['Scatter']);}function _0x4c129c(_0x514a0a){const _0x4af0b5=_0xd70131;return _0x10d25c(_0x514a0a)||_0x4995c0['chartBitsUtils'][_0x4af0b5(0x2f6)](_0x514a0a,_0x4995c0[_0x4af0b5(0x3cb)][_0x4af0b5(0x24e)])||_0x4995c0[_0x4af0b5(0x543)]['baseOn'](_0x514a0a,_0x4995c0['ChartTypeBits'][_0x4af0b5(0x447)])||_0x4995c0[_0x4af0b5(0x543)][_0x4af0b5(0x2f6)](_0x514a0a,_0x4995c0[_0x4af0b5(0x3cb)][_0x4af0b5(0x4c9)]);}function _0x1e15b3(_0x36511a,_0x21a707){const _0x49e4e4=_0xd70131;let _0x80304a=(0x0,_0x477057[_0x49e4e4(0x2d7)])(_0x36511a,_0x21a707),_0xc73e11=_0x80304a?(0x0,_0x477057[_0x49e4e4(0x48f)])(_0x80304a[_0x49e4e4(0x33b)]):void 0x0;if(_0x80304a&&_0xc73e11)return{..._0x80304a,'route':_0xc73e11,'showFloatMenu':_0x4c129c(_0x36511a['chartType'])&&_0x80304a[_0x49e4e4(0x413)]};}function _0x207306(_0x5c6c17){'@babel/helpers - typeof';const _0x2dd356=_0xd70131;return _0x207306=typeof Symbol==_0x2dd356(0x58e)&&typeof Symbol[_0x2dd356(0x3bf)]==_0x2dd356(0x244)?function(_0x4136e4){return typeof _0x4136e4;}:function(_0x3e3c87){const _0x3f4cf5=_0x2dd356;return _0x3e3c87&&typeof Symbol==_0x3f4cf5(0x58e)&&_0x3e3c87[_0x3f4cf5(0x414)]===Symbol&&_0x3e3c87!==Symbol['prototype']?_0x3f4cf5(0x244):typeof _0x3e3c87;},_0x207306(_0x5c6c17);}function _0x2f3da2(_0x343b5b,_0x1b1f6b){const _0x8e6279=_0xd70131;if(_0x207306(_0x343b5b)!=_0x8e6279(0x356)||!_0x343b5b)return _0x343b5b;var _0x5500e9=_0x343b5b[Symbol[_0x8e6279(0x581)]];if(_0x5500e9!==void 0x0){var _0x3335db=_0x5500e9[_0x8e6279(0x30f)](_0x343b5b,_0x1b1f6b||_0x8e6279(0x409));if(_0x207306(_0x3335db)!='object')return _0x3335db;throw TypeError(_0x8e6279(0x2b8));}return(_0x1b1f6b===_0x8e6279(0x2d3)?String:Number)(_0x343b5b);}function _0xa98362(_0x36f82c){const _0x29837a=_0xd70131;var _0x32df35=_0x2f3da2(_0x36f82c,_0x29837a(0x2d3));return _0x207306(_0x32df35)=='symbol'?_0x32df35:_0x32df35+'';}function _0x5ce1c0(_0x4512c9,_0x332d54,_0x527311){return(_0x332d54=_0xa98362(_0x332d54))in _0x4512c9?Object['defineProperty'](_0x4512c9,_0x332d54,{'value':_0x527311,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4512c9[_0x332d54]=_0x527311,_0x4512c9;}var _0x250238=class extends _0xedf715['Disposable']{constructor(_0x575deb){const _0x20b0e6=_0xd70131;super(),this[_0x20b0e6(0x57b)]=_0x575deb,_0x5ce1c0(this,_0x20b0e6(0x332),null),_0x5ce1c0(this,_0x20b0e6(0x446),!0x1),_0x5ce1c0(this,_0x20b0e6(0x3ce),!0x1);}[_0xd70131(0x3ef)](){const _0x1ac225=_0xd70131;this[_0x1ac225(0x368)]||(this['_pending']=!0x0,!this[_0x1ac225(0x446)]&&this[_0x1ac225(0x332)]===null&&(this[_0x1ac225(0x332)]=requestAnimationFrame(()=>this[_0x1ac225(0x4b1)]())));}[_0xd70131(0x4b1)](){const _0x2fb873=_0xd70131;if(this[_0x2fb873(0x368)]||this[_0x2fb873(0x446)])return;this[_0x2fb873(0x2f3)]();let _0xc584dd=this['_callback']();_0xc584dd&&(this['_running']=!0x0,_0xc584dd[_0x2fb873(0x507)](_0x29e2a8=>console[_0x2fb873(0x478)](_0x29e2a8))[_0x2fb873(0x490)](()=>{const _0x10dca2=_0x2fb873;this['_running']=!0x1,this['_pending']&&this[_0x10dca2(0x3ef)]();}));}[_0xd70131(0x2f3)](){const _0x2bec9c=_0xd70131;this[_0x2bec9c(0x3ce)]=!0x1,this[_0x2bec9c(0x332)]!==null&&(cancelAnimationFrame(this[_0x2bec9c(0x332)]),this['_frame']=null);}[_0xd70131(0x205)](){const _0x4f95ea=_0xd70131;this[_0x4f95ea(0x2f3)](),super[_0x4f95ea(0x205)]();}},_0x22e4c6=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x3a358e,_0x46933d){const _0x3bb426=_0xd70131;super(),this[_0x3bb426(0x434)]=_0x3a358e,this[_0x3bb426(0x4b6)]=_0x46933d,_0x5ce1c0(this,_0x3bb426(0x2ca),void 0x0),_0x5ce1c0(this,_0x3bb426(0x49f),void 0x0),this[_0x3bb426(0x49f)]=this[_0x3bb426(0x35f)](),this[_0x3bb426(0x2ca)]=new _0x250238(()=>this[_0x3bb426(0x33a)]()),this[_0x3bb426(0x2ff)](this[_0x3bb426(0x2ca)]),this[_0x3bb426(0x2ff)](_0x3a358e[_0x3bb426(0x203)][_0x3bb426(0x4ac)](()=>this[_0x3bb426(0x2ca)][_0x3bb426(0x3ef)]()));}get[_0xd70131(0x27b)](){const _0x4be0b7=_0xd70131;return this[_0x4be0b7(0x2ca)];}[_0xd70131(0x33a)](){const _0x4d923a=_0xd70131;let _0x2d0dca=this['_readGeometry'](),_0x4daf22=this[_0x4d923a(0x49f)],_0x5539f2=_0x2d0dca[_0x4d923a(0x20a)]!==_0x4daf22['width']||_0x2d0dca[_0x4d923a(0x549)]!==_0x4daf22[_0x4d923a(0x549)];if(_0x5539f2||_0x2d0dca[_0x4d923a(0x206)]!==_0x4daf22[_0x4d923a(0x206)]||_0x2d0dca['top']!==_0x4daf22['top'])return this['_geometry']=_0x2d0dca,this[_0x4d923a(0x4b6)](_0x5539f2);}[_0xd70131(0x35f)](){const _0x385288=_0xd70131;let {left:_0x13b4fa,top:_0x377779,width:_0x4c5e03,height:_0x3b8e87}=this[_0x385288(0x434)];return{'left':_0x13b4fa,'top':_0x377779,'width':_0x4c5e03,'height':_0x3b8e87};}};function _0x2b18e6(_0x3466f9,_0x277fcf=0x1){const _0x185b0a=_0xd70131;return{'width':Math[_0x185b0a(0x575)](_0x277fcf,_0x3466f9[_0x185b0a(0x20a)]),'height':Math[_0x185b0a(0x575)](_0x277fcf,_0x3466f9[_0x185b0a(0x549)])};}function _0xe82ce2(_0x23c367,_0x2649ed={},_0x357530={'left':0x0,'top':0x0}){const _0xb62449=_0xd70131;let _0x5acdad=_0x2649ed[_0xb62449(0x2bf)]??0x1,_0x26aabd=_0x2649ed[_0xb62449(0x369)]??0x1,_0x10e3f1=_0x477057[_0xb62449(0x2a8)][_0xb62449(0x36b)]({'logicalOuterRect':{'left':_0x357530['left']>0x0?-_0x357530[_0xb62449(0x206)]:0x0,'top':_0x357530[_0xb62449(0x52e)]>0x0?-_0x357530[_0xb62449(0x52e)]:0x0,..._0x2b18e6(_0x23c367)},'scale':{'scaleX':_0x5acdad,'scaleY':_0x26aabd},'hostStyle':{},'contentMode':_0x477057['ChartFrameContentMode'][_0xb62449(0x427)]});return{'left':_0x10e3f1[_0xb62449(0x3bd)][_0xb62449(0x206)],'top':_0x10e3f1[_0xb62449(0x3bd)]['top'],'width':_0x10e3f1[_0xb62449(0x3bd)][_0xb62449(0x20a)],'height':_0x10e3f1[_0xb62449(0x3bd)][_0xb62449(0x549)],'scaleX':_0x5acdad,'scaleY':_0x26aabd};}function _0x2c0dd9(_0x480c67){const _0x348314=_0xd70131;switch(_0x480c67[_0x348314(0x5ac)]){case _0x4995c0[_0x348314(0x371)]['Canvas']:return _0x480c67[_0x348314(0x597)];case _0x4995c0['ChartImageSourceType'][_0x348314(0x23a)]:return _0x480c67[_0x348314(0x5c1)];default:return;}}var _0x15d123=class extends _0x3e0c02[_0xd70131(0x4e2)]{constructor(_0x23f184,_0x11425e,_0x519758,_0x4c059c=()=>!0x1,_0x2ddc2d=()=>{}){const _0x217fa5=_0xd70131;super(_0x23f184,{..._0x11425e,'evented':_0x11425e[_0x217fa5(0x3a9)]??!0x0}),this[_0x217fa5(0x5a5)]=_0x519758,this[_0x217fa5(0x266)]=_0x4c059c,this[_0x217fa5(0x41d)]=_0x2ddc2d,_0x5ce1c0(this,'_urlImage',null),_0x5ce1c0(this,_0x217fa5(0x31d),null),_0x5ce1c0(this,_0x217fa5(0x4e7),null),_0x5ce1c0(this,_0x217fa5(0x586),null),this['setObjectType'](_0x3e0c02['ObjectType'][_0x217fa5(0x257)]);}[_0xd70131(0x205)](){const _0x24ad60=_0xd70131;this[_0x24ad60(0x411)](),this[_0x24ad60(0x2b5)]=null,this['_url']=null,this['_requestedUrl']=null,this[_0x24ad60(0x41d)](),super[_0x24ad60(0x205)]();}['render'](_0x235ad1,_0x1562ce){const _0x2ead6b=_0xd70131;if(!this[_0x2ead6b(0x405)])return this[_0x2ead6b(0x532)](!0x1),this;if(this[_0x2ead6b(0x266)]()){let _0x703833=this['_getImage']();return _0x703833&&this[_0x2ead6b(0x204)](_0x703833),this[_0x2ead6b(0x532)](!0x1),this;}if(!this[_0x2ead6b(0x2e6)])return this;let {width:_0x34bbc4,height:_0x5a2300,left:_0x5ac294,top:_0x1f221c}=this[_0x2ead6b(0x353)]();if(this['isRender'](_0x1562ce)){let {top:_0x3b6328,left:_0x9c79fd,bottom:_0x26e190,right:_0x1dade2}=_0x1562ce['viewBound'];if(_0x34bbc4+this[_0x2ead6b(0x50b)]+_0x5ac294<_0x9c79fd||_0x1dade2<_0x5ac294||_0x5a2300+this[_0x2ead6b(0x50b)]+_0x1f221c<_0x3b6328||_0x26e190<_0x1f221c)return this;}let _0x186d75=this[_0x2ead6b(0x2e6)][_0x2ead6b(0x566)]();_0x235ad1['save']();let _0x1d4a96=_0x5ac294+_0x34bbc4/0x2,_0x3fa60f=_0x1f221c+_0x5a2300/0x2;return _0x235ad1[_0x2ead6b(0x2e6)](_0x186d75[0x0],_0x186d75[0x1],_0x186d75[0x2],_0x186d75[0x3],_0x1d4a96,_0x3fa60f),this[_0x2ead6b(0x44d)]!==0x1&&(_0x235ad1['globalAlpha']=this[_0x2ead6b(0x44d)]),this[_0x2ead6b(0x350)](_0x235ad1,void 0x0,_0x34bbc4,_0x5a2300),_0x235ad1['restore'](),this[_0x2ead6b(0x532)](!0x1),this;}[_0xd70131(0x350)](_0x109301,_0xf4d831,_0x57baa4=this[_0xd70131(0x20a)],_0x16a011=this[_0xd70131(0x549)]){const _0x3efe16=_0xd70131;this[_0x3efe16(0x28e)](_0x109301,_0x57baa4,_0x16a011,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x3efe16(0x22b)](_0x109301,_0x57baa4,_0x16a011),this[_0x3efe16(0x28e)](_0x109301,_0x57baa4,_0x16a011,{'fill':void 0x0});}[_0xd70131(0x28e)](_0x3fa69c,_0x7f23a7,_0x27402a,_0x57d396){const _0x479031=_0xd70131;_0x3fa69c[_0x479031(0x241)](),_0x3fa69c[_0x479031(0x388)](-_0x7f23a7/0x2,-_0x27402a/0x2),_0x3e0c02['Rect']['drawWith'](_0x3fa69c,_0x2604f0(this,_0x7f23a7,_0x27402a,_0x57d396)),_0x3fa69c['restore']();}[_0xd70131(0x4ad)](_0x2da473){const _0x39fed3=_0xd70131;let {left:_0x9cd637,top:_0x2836ab,width:_0x221e50,height:_0x3ee50b}=this[_0x39fed3(0x353)](),_0x47e451=_0x9cd637+_0x221e50/0x2,_0x2fc3e2=_0x2836ab+_0x3ee50b/0x2,_0x1de294=this[_0x39fed3(0x2e6)][_0x39fed3(0x566)](),_0x5edc0e=new _0x3e0c02[(_0x39fed3(0x33f))]([_0x1de294[0x0],_0x1de294[0x1],_0x1de294[0x2],_0x1de294[0x3],_0x47e451,_0x2fc3e2]),_0x53a1bf=this[_0x39fed3(0x546)](),_0x426734=(this['isInGroup']&&(_0x53a1bf==null?void 0x0:_0x53a1bf['classType'])===_0x3e0c02[_0x39fed3(0x21b)][_0x39fed3(0x1f9)]?_0x53a1bf[_0x39fed3(0x461)]['multiply'](_0x5edc0e):_0x5edc0e)[_0x39fed3(0x270)]()[_0x39fed3(0x3fa)](_0x2da473),_0x3abf5a=_0x221e50/0x2,_0x382f7b=_0x3ee50b/0x2;return _0x426734['x']>=-_0x3abf5a-this[_0x39fed3(0x50b)]/0x2&&_0x426734['x']<=_0x3abf5a+this[_0x39fed3(0x50b)]/0x2&&_0x426734['y']>=-_0x382f7b-this[_0x39fed3(0x50b)]/0x2&&_0x426734['y']<=_0x382f7b+this[_0x39fed3(0x50b)]/0x2;}[_0xd70131(0x22b)](_0x1bb1eb,_0xf5448b,_0x5dc50){const _0x28c36d=_0xd70131;let _0xa55249=this['_getImage'](),_0x2b162c=_0xa55249?this[_0x28c36d(0x204)](_0xa55249):void 0x0;if(!_0x2b162c)return;let {width:_0x26b4c8,height:_0x39d5c2}=_0x2b18e6({'width':_0xf5448b,'height':_0x5dc50},0x0);_0x26b4c8!==0x0&&_0x39d5c2!==0x0&&(_0x1bb1eb['save'](),_0x1bb1eb[_0x28c36d(0x388)](-_0xf5448b/0x2,-_0x5dc50/0x2),_0x9c4d97(_0x1bb1eb,_0x26b4c8,_0x39d5c2,this['radius']),_0x1bb1eb[_0x28c36d(0x4f2)](),_0x1bb1eb[_0x28c36d(0x2ed)](_0x2b162c,0x0,0x0,_0x26b4c8,_0x39d5c2),_0x1bb1eb['restore']());}['_getDrawable'](_0x312351){const _0x380f55=_0xd70131;var _0x1c2462;let _0x23d230=_0x2c0dd9(_0x312351);if(_0x23d230)return _0x23d230;if(_0x312351[_0x380f55(0x5ac)]===_0x4995c0[_0x380f55(0x371)]['Url']&&(this[_0x380f55(0x4e7)]!==_0x312351[_0x380f55(0x29e)]&&(this[_0x380f55(0x4e7)]=_0x312351['url'],this['_clearPendingUrlImage'](),this[_0x380f55(0x31d)]!==_0x312351[_0x380f55(0x29e)]&&this[_0x380f55(0x25a)](_0x312351[_0x380f55(0x29e)])),(_0x1c2462=this[_0x380f55(0x2b5)])!=null&&_0x1c2462['complete']&&this[_0x380f55(0x2b5)]['naturalWidth']>0x0&&this[_0x380f55(0x2b5)]['naturalHeight']>0x0))return this['_urlImage'];}['_loadUrlImage'](_0x3c09b2){const _0x2d3970=_0xd70131;let _0x4c6ab0=document[_0x2d3970(0x5bd)](_0x2d3970(0x2a4));this[_0x2d3970(0x586)]=_0x4c6ab0,_0x4c6ab0[_0x2d3970(0x511)]=_0x2d3970(0x57a),_0x4c6ab0[_0x2d3970(0x20b)]=()=>{const _0x2a2fb7=_0x2d3970;this[_0x2a2fb7(0x4e7)]===_0x3c09b2&&this[_0x2a2fb7(0x586)]===_0x4c6ab0&&(_0x4c6ab0[_0x2a2fb7(0x40c)]>0x0&&_0x4c6ab0[_0x2a2fb7(0x212)]>0x0&&(this[_0x2a2fb7(0x31d)]=_0x3c09b2,this[_0x2a2fb7(0x2b5)]=_0x4c6ab0),this[_0x2a2fb7(0x411)](),this[_0x2a2fb7(0x532)](!0x0));},_0x4c6ab0[_0x2d3970(0x589)]=()=>{const _0x3b6ce8=_0x2d3970;this[_0x3b6ce8(0x586)]===_0x4c6ab0&&this['_clearPendingUrlImage']();},_0x4c6ab0['src']=_0x3c09b2;}[_0xd70131(0x411)](){const _0x36d884=_0xd70131;this[_0x36d884(0x586)]&&=(this[_0x36d884(0x586)][_0x36d884(0x20b)]=null,this[_0x36d884(0x586)]['onerror']=null,null);}};function _0x2604f0(_0x2fdb1b,_0x30cd04,_0x51b52f,_0x15bacc){const _0xff94ce=_0xd70131;let _0x1f1881=Object['create'](_0x2fdb1b);return Object[_0xff94ce(0x31c)](_0x1f1881,'width',{'value':_0x30cd04}),Object[_0xff94ce(0x31c)](_0x1f1881,_0xff94ce(0x549),{'value':_0x51b52f}),Object['keys'](_0x15bacc)[_0xff94ce(0x429)](_0x24df40=>{const _0x2e4bda=_0xff94ce;Object[_0x2e4bda(0x31c)](_0x1f1881,_0x24df40,{'value':_0x15bacc[_0x24df40]});}),_0x1f1881;}function _0x9c4d97(_0x1f7a5c,_0x1fa019,_0x52f761,_0xa5cdd0){const _0x63a356=_0xd70131;let _0x1e03af=Math[_0x63a356(0x4b2)](_0xa5cdd0||0x0,_0x1fa019/0x2,_0x52f761/0x2);_0x1f7a5c[_0x63a356(0x32b)](),_0x1e03af?(_0x1f7a5c[_0x63a356(0x276)](_0x1e03af,0x0),_0x1f7a5c[_0x63a356(0x53c)](_0x1fa019-_0x1e03af,0x0),_0x1f7a5c[_0x63a356(0x4e3)](_0x1fa019-_0x1e03af,_0x1e03af,_0x1e03af,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f7a5c[_0x63a356(0x53c)](_0x1fa019,_0x52f761-_0x1e03af),_0x1f7a5c['arc'](_0x1fa019-_0x1e03af,_0x52f761-_0x1e03af,_0x1e03af,0x0,Math['PI']/0x2,!0x1),_0x1f7a5c['lineTo'](_0x1e03af,_0x52f761),_0x1f7a5c[_0x63a356(0x4e3)](_0x1e03af,_0x52f761-_0x1e03af,_0x1e03af,Math['PI']/0x2,Math['PI'],!0x1),_0x1f7a5c['lineTo'](0x0,_0x1e03af),_0x1f7a5c[_0x63a356(0x4e3)](_0x1e03af,_0x1e03af,_0x1e03af,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f7a5c[_0x63a356(0x27d)]()):(_0x1f7a5c['rect'](0x0,0x0,_0x1fa019,_0x52f761),_0x1f7a5c[_0x63a356(0x27d)]());}function _0x23009c(_0x30a8b4){const _0xfbc286=_0xd70131;(_0x30a8b4==null?void 0x0:_0x30a8b4['type'])===_0x4995c0[_0xfbc286(0x371)][_0xfbc286(0x23a)]&&_0x30a8b4[_0xfbc286(0x5c1)]['close']();}function _0x3d893a(_0x51970a){const _0x4e3487=_0xd70131;return _0x51970a[_0x4e3487(0x4e0)]+_0x4e3487(0x59c)+_0x51970a[_0x4e3487(0x3ab)]+_0x4e3487(0x59c)+_0x51970a[_0x4e3487(0x477)];}var _0x4d4f21=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(..._0x36f65a){const _0x4347b6=_0xd70131;super(..._0x36f65a),_0x5ce1c0(this,_0x4347b6(0x40e),new Map());}[_0xd70131(0x390)](_0x2074ca){const _0x5bf81b=_0xd70131;let _0x272c6a=_0x3d893a(_0x2074ca),_0x35e14c=this['_entries'][_0x5bf81b(0x428)](_0x272c6a)??{'version':0x0};return _0x35e14c[_0x5bf81b(0x2e9)]+=0x1,this['_entries'][_0x5bf81b(0x3e1)](_0x272c6a,_0x35e14c),_0x35e14c[_0x5bf81b(0x2e9)];}['isLatest'](_0x17c4cf,_0x369684){const _0xc491a6=_0xd70131;var _0xec4eda;return((_0xec4eda=this[_0xc491a6(0x40e)][_0xc491a6(0x428)](_0x3d893a(_0x17c4cf)))==null?void 0x0:_0xec4eda['version'])===_0x369684;}[_0xd70131(0x43e)](_0x3d1ec8,_0x202263,_0x5a6838){const _0x34b707=_0xd70131;if(!this[_0x34b707(0x202)](_0x3d1ec8,_0x5a6838))return _0x23009c(_0x202263),!0x1;let _0x449561=_0x3d893a(_0x3d1ec8),_0x2ab83f=this[_0x34b707(0x40e)][_0x34b707(0x428)](_0x449561)??{'version':_0x5a6838},_0x3e660b=_0x2ab83f[_0x34b707(0x3dc)];return _0x2ab83f[_0x34b707(0x3dc)]=_0x202263,_0x2ab83f[_0x34b707(0x2e9)]=_0x5a6838,this[_0x34b707(0x40e)]['set'](_0x449561,_0x2ab83f),_0x3e660b!==_0x202263&&_0x23009c(_0x3e660b),!0x0;}['getImage'](_0x3b3586){const _0x27c582=_0xd70131;var _0x532836;return(_0x532836=this[_0x27c582(0x40e)][_0x27c582(0x428)](_0x3d893a(_0x3b3586)))==null?void 0x0:_0x532836['image'];}['clearImage'](_0x4c8106){const _0x1290c9=_0xd70131;let _0x73caec=_0x3d893a(_0x4c8106),_0x335b73=this[_0x1290c9(0x40e)][_0x1290c9(0x428)](_0x73caec);_0x335b73&&(_0x23009c(_0x335b73[_0x1290c9(0x3dc)]),this[_0x1290c9(0x40e)][_0x1290c9(0x4f7)](_0x73caec));}['clearChart'](_0x582e3f){const _0x5adaa7=_0xd70131;for(let [_0x1fe05,_0x5c3372]of this['_entries'])_0x1fe05[_0x5adaa7(0x55e)](_0x5adaa7(0x59c)+_0x582e3f)&&(_0x23009c(_0x5c3372[_0x5adaa7(0x3dc)]),this[_0x5adaa7(0x40e)]['delete'](_0x1fe05));}[_0xd70131(0x205)](){const _0x1e706c=_0xd70131;this[_0x1e706c(0x40e)]['forEach'](_0x129d22=>_0x23009c(_0x129d22[_0x1e706c(0x3dc)])),this[_0x1e706c(0x40e)][_0x1e706c(0x35e)](),super[_0x1e706c(0x205)]();}};function _0x4613b6(_0x1b7e8b,_0xfacea3=0x7d0){let _0x419cfa=null,_0x61bac5=null,_0x45200d=!0x1,_0x32a475=()=>{},_0x288e39=()=>{_0x419cfa!=null&&(clearInterval(_0x419cfa),_0x419cfa=null),_0x61bac5!=null&&(clearTimeout(_0x61bac5),_0x61bac5=null);};return{'promise':new Promise((_0x129340,_0x3ccea9)=>{_0x32a475=_0x3ccea9;let _0x5c900b=()=>{const _0x38fe87=_0x1a03;let _0x124f6a=document[_0x38fe87(0x354)](_0x1b7e8b);_0x124f6a&&!_0x45200d&&(_0x45200d=!0x0,_0x288e39(),_0x129340(_0x124f6a));};_0x5c900b(),!_0x45200d&&(_0x419cfa=setInterval(_0x5c900b,16.666666666666668),_0x61bac5=setTimeout(()=>{const _0x139bfd=_0x1a03;_0x45200d||(_0x45200d=!0x0,_0x288e39(),_0x3ccea9(Error(_0x139bfd(0x4b9)+_0x1b7e8b+'\x22.')));},_0xfacea3));}),'cancel':()=>{const _0x22d834=_0x1a03;_0x45200d||(_0x45200d=!0x0,_0x288e39(),_0x32a475(Error(_0x22d834(0x456)+_0x1b7e8b+'\x22.')));}};}var _0x219540=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x2675f9,_0x2b8c64,_0x165062,_0x23165f,_0x4baea3,_0x1ae123,_0x4b8a7c,_0x246872){const _0x2b15ea=_0xd70131;super(),this['chartId']=_0x2675f9,this[_0x2b15ea(0x40d)]=_0x2b8c64,this[_0x2b15ea(0x51b)]=_0x165062,this[_0x2b15ea(0x488)]=_0x23165f,this[_0x2b15ea(0x452)]=_0x4baea3,this[_0x2b15ea(0x267)]=_0x1ae123,this[_0x2b15ea(0x482)]=_0x4b8a7c,this[_0x2b15ea(0x1fd)]=_0x246872,_0x5ce1c0(this,_0x2b15ea(0x361),_0x4995c0[_0x2b15ea(0x5b3)][_0x2b15ea(0x4d9)]),_0x5ce1c0(this,_0x2b15ea(0x406),null),_0x5ce1c0(this,_0x2b15ea(0x382),!0x1),_0x5ce1c0(this,'_pendingToken',null),_0x5ce1c0(this,_0x2b15ea(0x590),null),_0x5ce1c0(this,_0x2b15ea(0x3dd),null),_0x5ce1c0(this,_0x2b15ea(0x516),{}),_0x5ce1c0(this,_0x2b15ea(0x4e8),null),_0x5ce1c0(this,'_dataUpdateAnimationDuration',null),_0x5ce1c0(this,_0x2b15ea(0x348),null);}[_0xd70131(0x467)](){const _0x127fca=_0xd70131;return this[_0x127fca(0x382)];}[_0xd70131(0x474)](){this['_managed']=!0x1;}[_0xd70131(0x550)](){const _0x527536=_0xd70131;let _0x4b0fc2=this[_0x527536(0x51b)]();return _0x4b0fc2?{'width':_0x4b0fc2['width'],'height':_0x4b0fc2[_0x527536(0x549)]}:null;}[_0xd70131(0x4e1)](_0x51fffc){const _0x1efc34=_0xd70131;this['_hostStyle']=_0x51fffc,this[_0x1efc34(0x488)](_0x51fffc),this[_0x1efc34(0x2fa)]();}async[_0xd70131(0x4ba)](){const _0x18f10c=_0xd70131;if(this[_0x18f10c(0x368)]||this[_0x18f10c(0x452)]())throw Error(_0x18f10c(0x3c2));let _0x174441=this[_0x18f10c(0x40d)](),_0x14b3b1=(_0x174441==null?void 0x0:_0x174441[_0x18f10c(0x4ab)])??this[_0x18f10c(0x477)],_0x920f3d=document['getElementById'](_0x14b3b1);if(this[_0x18f10c(0x406)]&&_0x920f3d!=null&&_0x920f3d[_0x18f10c(0x264)](this[_0x18f10c(0x406)]['mountNode']))return{'mountNode':this['_domFrame'][_0x18f10c(0x3b1)],'dispose':()=>{const _0x44981b=_0x18f10c;this[_0x44981b(0x205)](),_0x174441==null||_0x174441['dispose'][_0x44981b(0x205)]();}};if(this[_0x18f10c(0x590)])return this['_pendingHost'];let _0x64445e=this[_0x18f10c(0x21e)]();return this[_0x18f10c(0x590)]=_0x64445e,_0x64445e[_0x18f10c(0x27e)](()=>{const _0x223405=_0x18f10c;this['_pendingHost']===_0x64445e&&(this[_0x223405(0x590)]=null);},()=>{const _0x45d524=_0x18f10c;this[_0x45d524(0x590)]===_0x64445e&&(this[_0x45d524(0x590)]=null);}),_0x64445e;}async['ensureMount'](){const _0x2fc721=_0xd70131;try{return(await this['ensureHandle']())[_0x2fc721(0x3b1)];}catch{return null;}}['checkMounted'](){const _0xdcec2b=_0xd70131;let _0x2b43f1=this[_0xdcec2b(0x40d)](),_0x478e2b=(_0x2b43f1==null?void 0x0:_0x2b43f1[_0xdcec2b(0x4ab)])??this[_0xdcec2b(0x477)],_0x51f5e8=document[_0xdcec2b(0x354)](_0x478e2b);return!!(this['_domFrame']&&_0x51f5e8!=null&&_0x51f5e8[_0xdcec2b(0x264)](this[_0xdcec2b(0x406)][_0xdcec2b(0x3b1)]));}[_0xd70131(0x394)](){const _0x4d5250=_0xd70131;if(!this['_domFrame'])return;let _0x2be611=this[_0x4d5250(0x51b)]();_0x2be611&&this[_0x4d5250(0x406)][_0x4d5250(0x479)](this[_0x4d5250(0x334)](_0x2be611),this[_0x4d5250(0x34b)]());}[_0xd70131(0x373)](){this['_markReady']();}[_0xd70131(0x4fa)](){const _0x5c97b2=_0xd70131;this[_0x5c97b2(0x482)]();}[_0xd70131(0x421)](_0x4157a6){const _0x51bc51=_0xd70131;this[_0x51bc51(0x31e)]=_0x4157a6;let _0x2867ee=this[_0x51bc51(0x40d)](),_0x388526=document[_0x51bc51(0x354)]((_0x2867ee==null?void 0x0:_0x2867ee[_0x51bc51(0x4ab)])??this[_0x51bc51(0x477)]);_0x388526&&this['_applyHostInteractionState'](_0x388526);}[_0xd70131(0x205)](){const _0xa61a98=_0xd70131;var _0x478517,_0x5db4a1;this[_0xa61a98(0x368)]||(this[_0xa61a98(0x4fa)](),this[_0xa61a98(0x296)]=null,this[_0xa61a98(0x590)]=null,this['_cancelHostWait'](),this[_0xa61a98(0x382)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x478517=this[_0xa61a98(0x348)])==null||_0x478517[_0xa61a98(0x205)](),this[_0xa61a98(0x348)]=null,(_0x5db4a1=this[_0xa61a98(0x406)])==null||_0x5db4a1[_0xa61a98(0x205)](),this[_0xa61a98(0x406)]=null,this[_0xa61a98(0x3d6)](),super[_0xa61a98(0x205)]());}async[_0xd70131(0x21e)](){const _0x23f46a=_0xd70131;let _0x171664=this[_0x23f46a(0x40d)]();if(!_0x171664)throw Error(_0x23f46a(0x3c2));let _0x157eb4=_0x171664['domId']??this['chartId'],_0x2e6ac3=_0x4613b6(_0x157eb4),_0x21f5bc=Symbol(this[_0x23f46a(0x477)]);this[_0x23f46a(0x296)]=_0x21f5bc,this[_0x23f46a(0x3dd)]=_0x2e6ac3;try{var _0x2a526f;let _0x1802c3=await _0x2e6ac3[_0x23f46a(0x563)],_0x3270d3=this[_0x23f46a(0x40d)](),_0x486b43=(_0x3270d3==null?void 0x0:_0x3270d3[_0x23f46a(0x4ab)])??this['chartId'];if(this[_0x23f46a(0x368)]||this['_isProviderDisposed']()||this[_0x23f46a(0x296)]!==_0x21f5bc||!_0x3270d3||_0x486b43!==_0x157eb4||document[_0x23f46a(0x354)](_0x157eb4)!==_0x1802c3||!_0x1802c3[_0x23f46a(0x4cc)])throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x54a285=this['_getPlacement']();if(!_0x54a285)throw Error(_0x23f46a(0x3c2));let _0x14c851=new _0x477057[(_0x23f46a(0x42a))](_0x1802c3);return _0x14c851[_0x23f46a(0x479)](this['_resolveLayout'](_0x54a285),this[_0x23f46a(0x34b)]()),this[_0x23f46a(0x4c1)](_0x1802c3),this[_0x23f46a(0x406)]=_0x14c851,(_0x2a526f=this[_0x23f46a(0x348)])==null||_0x2a526f[_0x23f46a(0x205)](),this[_0x23f46a(0x348)]=this[_0x23f46a(0x1fd)](_0x1802c3),this['_managed']=!0x0,{'mountNode':_0x14c851[_0x23f46a(0x3b1)],'dispose':()=>{const _0x471cf0=_0x23f46a;this[_0x471cf0(0x205)](),_0x171664['dispose'][_0x471cf0(0x205)]();}};}finally{this[_0x23f46a(0x3dd)]===_0x2e6ac3&&(this[_0x23f46a(0x3dd)]=null),this['_pendingToken']===_0x21f5bc&&(this[_0x23f46a(0x296)]=null);}}[_0xd70131(0x1d2)](){const _0x47ef27=_0xd70131;let _0xae1787=this[_0x47ef27(0x3dd)];_0xae1787&&(_0xae1787['cancel'](),this[_0x47ef27(0x3dd)]=null);}[_0xd70131(0x2fa)](){const _0x226a9f=_0xd70131;let _0x230450=this['_getPlacement']();this[_0x226a9f(0x406)]&&_0x230450&&this[_0x226a9f(0x406)][_0x226a9f(0x479)](this[_0x226a9f(0x334)](_0x230450),this[_0x226a9f(0x34b)]());}[_0xd70131(0x334)](_0x5b5dfb){const _0x275738=_0xd70131;return _0x477057[_0x275738(0x2a8)]['resolve']({'logicalOuterRect':{'left':_0x5b5dfb[_0x275738(0x206)],'top':_0x5b5dfb['top'],'width':_0x5b5dfb['width'],'height':_0x5b5dfb[_0x275738(0x549)]},'scale':{'scaleX':_0x5b5dfb[_0x275738(0x2bf)],'scaleY':_0x5b5dfb['scaleY']},'hostStyle':this[_0x275738(0x34b)](),'contentMode':_0x477057[_0x275738(0x2e3)][_0x275738(0x427)]});}[_0xd70131(0x34b)](){const _0xc8413b=_0xd70131;return{...this[_0xc8413b(0x516)],'radius':_0x477057[_0xc8413b(0x318)]};}[_0xd70131(0x4c1)](_0x469995){const _0x353333=_0xd70131;let _0x1310e9=_0x469995[_0x353333(0x40a)];_0x1310e9&&(this[_0x353333(0x4e8)]||={'zIndex':_0x1310e9[_0x353333(0x351)]['zIndex'],'pointerEvents':_0x1310e9[_0x353333(0x351)][_0x353333(0x588)]},_0x1310e9['style'][_0x353333(0x3d9)]=_0x353333(0x54a),this[_0x353333(0x4a6)](_0x469995));}[_0xd70131(0x4a6)](_0x162410){const _0x891f6c=_0xd70131;let _0x1be557=_0x162410['parentElement'];if(!_0x1be557)return;let _0x5f3ff8=this['_dataUpdateAnimationDuration'];_0x5f3ff8==null?(delete _0x162410[_0x891f6c(0x594)][_0x891f6c(0x2d1)],delete _0x162410[_0x891f6c(0x594)][_0x891f6c(0x2d0)],_0x1be557['style'][_0x891f6c(0x588)]=_0x891f6c(0x483)):(_0x162410['dataset'][_0x891f6c(0x2d1)]=_0x891f6c(0x4eb),_0x162410[_0x891f6c(0x594)]['sheetChartDataAnimationDuration']=String(_0x5f3ff8),_0x1be557[_0x891f6c(0x351)]['pointerEvents']=_0x891f6c(0x22c));}[_0xd70131(0x3d6)](){const _0x153cbc=_0xd70131;if(!this[_0x153cbc(0x4e8)])return;let _0x3de7c4=this['_getFloatDomInfo'](),_0x2e979b=(_0x3de7c4==null?void 0x0:_0x3de7c4[_0x153cbc(0x4ab)])??this[_0x153cbc(0x477)],_0x130105=document[_0x153cbc(0x354)](_0x2e979b);_0x130105==null||delete _0x130105[_0x153cbc(0x594)][_0x153cbc(0x2d1)],_0x130105==null||delete _0x130105[_0x153cbc(0x594)]['sheetChartDataAnimationDuration'];let _0x3464af=_0x130105==null?void 0x0:_0x130105[_0x153cbc(0x40a)];_0x3464af&&(_0x3464af[_0x153cbc(0x351)][_0x153cbc(0x3d9)]=this[_0x153cbc(0x4e8)][_0x153cbc(0x3d9)],_0x3464af[_0x153cbc(0x351)][_0x153cbc(0x588)]=this[_0x153cbc(0x4e8)][_0x153cbc(0x588)]),this[_0x153cbc(0x4e8)]=null;}},_0x2fb761=class extends _0xedf715['Disposable']{constructor(_0x3a1e9b,_0x3a9b2c,_0x477a8a,_0xa6263c){const _0x3ecf92=_0xd70131;super(),this[_0x3ecf92(0x3fe)]=_0x3a9b2c,_0x5ce1c0(this,_0x3ecf92(0x430),null),_0x5ce1c0(this,_0x3ecf92(0x4a4),!0x1);let _0x582a55=_0x3bb066=>{const _0x3f1d0b=_0x3ecf92;this[_0x3f1d0b(0x4a4)]&&(_0x3bb066[_0x3f1d0b(0x40b)](),_0x3bb066['stopImmediatePropagation']());},_0x46e81f=_0x248fbc=>{const _0xe1fefb=_0x3ecf92;let _0x314d52=this[_0xe1fefb(0x430)];(_0x314d52==null?void 0x0:_0x314d52[_0xe1fefb(0x2f4)][_0xe1fefb(0x220)])===_0x248fbc[_0xe1fefb(0x220)]&&!_0x314d52['target'][_0xe1fefb(0x599)](_0x248fbc[_0xe1fefb(0x220)])&&this[_0xe1fefb(0x399)]();};_0x3a1e9b[_0x3ecf92(0x309)]('click',_0x582a55,!0x0),_0x3a1e9b[_0x3ecf92(0x309)](_0x3ecf92(0x48d),_0x582a55,!0x0),_0x3a1e9b['addEventListener'](_0x3ecf92(0x595),_0x46e81f),this[_0x3ecf92(0x2ff)]((0x0,_0xedf715[_0x3ecf92(0x358)])(()=>{const _0x22b449=_0x3ecf92;_0x3a1e9b[_0x22b449(0x2a9)](_0x22b449(0x4a8),_0x582a55,!0x0),_0x3a1e9b[_0x22b449(0x2a9)](_0x22b449(0x48d),_0x582a55,!0x0),_0x3a1e9b[_0x22b449(0x2a9)](_0x22b449(0x595),_0x46e81f),_0xa6263c(_0x3a9b2c);})),this['disposeWithMe'](_0x477a8a['subscribe'](()=>{const _0x39e66c=_0x3ecf92;this[_0x39e66c(0x430)]&&(this[_0x39e66c(0x4a4)]=!0x0);})),_0xa6263c({'onPointerDown':_0x18eed3=>{const _0xe490a=_0x3ecf92;this[_0xe490a(0x4a4)]=!0x1,_0x18eed3 instanceof PointerEvent&&_0x18eed3[_0xe490a(0x33b)]instanceof Element&&_0x3a1e9b[_0xe490a(0x264)](_0x18eed3[_0xe490a(0x33b)])&&(this[_0xe490a(0x430)]={'target':_0x18eed3['target'],'event':_0x18eed3}),_0x3a9b2c[_0xe490a(0x502)](_0x18eed3),this[_0xe490a(0x377)](_0x18eed3);},'onPointerMove':_0xc08c1d=>{const _0x3c95c3=_0x3ecf92;_0x3a9b2c['onPointerMove'](_0xc08c1d),this[_0x3c95c3(0x377)](_0xc08c1d);},'onPointerUp':_0x3177d7=>{const _0x42406f=_0x3ecf92;try{_0x3a9b2c[_0x42406f(0x28b)](_0x3177d7);}finally{var _0x29c811;_0x3177d7 instanceof PointerEvent&&((_0x29c811=this[_0x42406f(0x430)])==null?void 0x0:_0x29c811['event'][_0x42406f(0x220)])===_0x3177d7[_0x42406f(0x220)]&&this['_releaseGesture']();}}});}[_0xd70131(0x205)](){const _0x3af07d=_0xd70131;this['_disposed']||(this[_0x3af07d(0x399)](),super[_0x3af07d(0x205)]());}['_keepChartCapture'](_0x39adb1){const _0x2a0ee8=_0xd70131;let _0x2d6259=this['_gesture'];_0x39adb1 instanceof PointerEvent&&(_0x2d6259==null?void 0x0:_0x2d6259[_0x2a0ee8(0x2f4)][_0x2a0ee8(0x220)])===_0x39adb1['pointerId']&&(_0x2d6259[_0x2a0ee8(0x2f4)]=_0x39adb1,_0x2d6259[_0x2a0ee8(0x33b)][_0x2a0ee8(0x4cc)]?_0x2d6259[_0x2a0ee8(0x33b)][_0x2a0ee8(0x2fe)](_0x39adb1[_0x2a0ee8(0x220)]):this[_0x2a0ee8(0x399)]());}['_releaseGesture'](){const _0x35ca3f=_0xd70131;let _0x5a9175=this[_0x35ca3f(0x430)];this[_0x35ca3f(0x430)]=null,_0x5a9175!=null&&_0x5a9175[_0x35ca3f(0x33b)][_0x35ca3f(0x599)](_0x5a9175[_0x35ca3f(0x2f4)][_0x35ca3f(0x220)])&&_0x5a9175[_0x35ca3f(0x33b)][_0x35ca3f(0x496)](_0x5a9175[_0x35ca3f(0x2f4)][_0x35ca3f(0x220)]);}[_0xd70131(0x399)](){const _0x443c59=_0xd70131;let _0x3baacd=this[_0x443c59(0x430)];this[_0x443c59(0x3b8)](),_0x3baacd&&this['_original'][_0x443c59(0x28b)](new PointerEvent('pointercancel',_0x3baacd['event']));}},_0x5394ae=class extends _0x4995c0['ImageChartHost']{constructor(_0x487413,_0x4e14f7,_0x2ffdc0,_0xd7bc44,_0x4b7c43,_0x2282da){const _0x564d7f=_0xd70131;super(_0x487413),this[_0x564d7f(0x1f2)]=_0x4e14f7,this['_setHostStyle']=_0x2ffdc0,this['_snapshotKey']=_0xd7bc44,this[_0x564d7f(0x2d4)]=_0x4b7c43,this[_0x564d7f(0x287)]=_0x2282da;}['getRect'](){const _0x5dd251=_0xd70131;let _0x221cc6=this[_0x5dd251(0x1f2)]();return _0x221cc6?_0x2b18e6(_0x221cc6):null;}['setStyle'](_0x6451dc){const _0x4a614d=_0xd70131;this[_0x4a614d(0x488)](_0x6451dc);}[_0xd70131(0x390)](){const _0x389cae=_0xd70131;return this[_0x389cae(0x2d4)][_0x389cae(0x390)](this[_0x389cae(0x273)]);}['commitSnapshot'](_0x399d50,_0x2e501d){const _0x43e67d=_0xd70131;return this[_0x43e67d(0x2d4)][_0x43e67d(0x43e)](this[_0x43e67d(0x273)],_0x399d50,_0x2e501d);}[_0xd70131(0x1ba)](){const _0x313fa1=_0xd70131;this[_0x313fa1(0x287)]();}['invalidateSnapshot'](){const _0x1e5012=_0xd70131;this[_0x1e5012(0x2d4)][_0x1e5012(0x390)](this['_snapshotKey']);}};function _0x4c4d29(_0x30d893,_0x87d831){return function(_0x80052c,_0xc567da){_0x87d831(_0x80052c,_0xc567da,_0x30d893);};}function _0x1ce008(_0x820ac0,_0x36a5c0,_0x502b75,_0xfe73ab){const _0x575fbf=_0xd70131;var _0x4f9dfa=arguments[_0x575fbf(0x454)],_0x1f732c=_0x4f9dfa<0x3?_0x36a5c0:_0xfe73ab===null?_0xfe73ab=Object[_0x575fbf(0x345)](_0x36a5c0,_0x502b75):_0xfe73ab,_0x78484d;if(typeof Reflect==_0x575fbf(0x356)&&typeof Reflect['decorate']==_0x575fbf(0x58e))_0x1f732c=Reflect[_0x575fbf(0x44c)](_0x820ac0,_0x36a5c0,_0x502b75,_0xfe73ab);else{for(var _0x38beeb=_0x820ac0[_0x575fbf(0x454)]-0x1;_0x38beeb>=0x0;_0x38beeb--)(_0x78484d=_0x820ac0[_0x38beeb])&&(_0x1f732c=(_0x4f9dfa<0x3?_0x78484d(_0x1f732c):_0x4f9dfa>0x3?_0x78484d(_0x36a5c0,_0x502b75,_0x1f732c):_0x78484d(_0x36a5c0,_0x502b75))||_0x1f732c);}return _0x4f9dfa>0x3&&_0x1f732c&&Object[_0x575fbf(0x31c)](_0x36a5c0,_0x502b75,_0x1f732c),_0x1f732c;}let _0x1df5d5=0.5;function _0x5a9ea1(_0x338ac8){const _0x59d2a5=_0xd70131;let _0xb5bcdf=Math[_0x59d2a5(0x575)](_0x338ac8[_0x59d2a5(0x43a)]-_0x338ac8['startX'],0x0),_0x4fbe48=Math[_0x59d2a5(0x575)](_0x338ac8[_0x59d2a5(0x387)]-_0x338ac8['startY'],0x0),_0x49f332=_0x338ac8[_0x59d2a5(0x47c)]['left']&&_0x338ac8[_0x59d2a5(0x20a)]-_0xb5bcdf>_0x1df5d5,_0x3e9c04=_0x338ac8['absolute'][_0x59d2a5(0x52e)]&&_0x338ac8[_0x59d2a5(0x549)]-_0x4fbe48>_0x1df5d5;return!_0x49f332&&!_0x3e9c04?_0x338ac8:{..._0x338ac8,'absolute':{'left':!_0x49f332&&_0x338ac8[_0x59d2a5(0x47c)][_0x59d2a5(0x206)],'top':!_0x3e9c04&&_0x338ac8[_0x59d2a5(0x47c)][_0x59d2a5(0x52e)]}};}function _0x4331ef(_0x1c169b){const _0x39917d=_0xd70131;if(!Object['prototype'][_0x39917d(0x3e3)][_0x39917d(0x30f)](_0x1c169b,_0x39917d(0x51f)))return _0x1c169b;let {border:_0x2b3b58,..._0x179040}=_0x1c169b;return{..._0x179040,'stroke':(_0x2b3b58==null?void 0x0:_0x2b3b58[_0x39917d(0x5ad)])??_0x39917d(0x1e3),'strokeWidth':(_0x2b3b58==null?void 0x0:_0x2b3b58[_0x39917d(0x20a)])??0x0};}let _0x1b2769=class extends _0xedf715['Disposable']{constructor(_0x38b136,_0x17cdb5,_0x37adb1,_0x530292){const _0x3867fd=_0xd70131;super(),this[_0x3867fd(0x49d)]=_0x38b136,this['_renderManagerService']=_0x17cdb5,this[_0x3867fd(0x51c)]=_0x37adb1,this[_0x3867fd(0x578)]=_0x530292,_0x5ce1c0(this,'_chartHostMap',new Map()),_0x5ce1c0(this,_0x3867fd(0x4ea),new Set()),_0x5ce1c0(this,_0x3867fd(0x2ce),new _0x2f2bb7['Subject']()),_0x5ce1c0(this,_0x3867fd(0x291),this['_removeHost$']['asObservable']()),this[_0x3867fd(0x2ff)](this[_0x3867fd(0x49d)][_0x3867fd(0x2c1)][_0x3867fd(0x437)](_0x3cdbcc=>{const _0x44c603=_0x3867fd;let _0x22a395=this[_0x44c603(0x440)]['get'](_0x3cdbcc['id']);_0x22a395!=null&&_0x22a395['isManaged']()&&(_0x22a395[_0x44c603(0x474)](),this['_removeHost$'][_0x44c603(0x3d1)](_0x3cdbcc['id']));}));}['_getSceneAndTransformerByDrawingSearch'](_0x45de5e){const _0x19e9d6=_0xd70131;if(_0x45de5e==null)return;let _0x10d245=this[_0x19e9d6(0x223)]['getRenderUnitById'](_0x45de5e),_0x555be2=_0x10d245==null?void 0x0:_0x10d245[_0x19e9d6(0x50d)];return _0x10d245==null||_0x555be2==null?null:{'scene':_0x555be2,'transformer':_0x555be2['getTransformerByCreate'](),'renderUnit':_0x10d245,'canvas':_0x10d245[_0x19e9d6(0x1bd)][_0x19e9d6(0x521)]()};}[_0xd70131(0x1eb)](_0x558fa4,_0x335130){const _0x361b69=_0xd70131;let _0x348e45=this[_0x361b69(0x49d)],_0x489f1c=_0x335130||_0x361b69(0x1e3),_0x11d20b=_0x348e45['getFloatDomInfo'](_0x558fa4);if(_0x11d20b){let {unitId:_0x5d7135,subUnitId:_0x2fbc82}=_0x11d20b;_0x348e45[_0x361b69(0x261)](_0x5d7135,_0x2fbc82,_0x558fa4,{'stroke':_0x489f1c});}}['setHostStyle'](_0x4ea114,_0x2b673f){const _0x242bee=_0xd70131;let _0x64967c=this[_0x242bee(0x49d)],_0x245622=_0x64967c[_0x242bee(0x512)](_0x4ea114);if(_0x245622){let {unitId:_0x46f720,subUnitId:_0xbc50d}=_0x245622;_0x64967c[_0x242bee(0x261)](_0x46f720,_0xbc50d,_0x4ea114,_0x4331ef(_0x2b673f));}}[_0xd70131(0x451)](_0x4139d6){const _0x7fd7f8=_0xd70131;let _0x435b38=this['_sheetCanvasFloatDomManagerService'][_0x7fd7f8(0x512)](_0x4139d6);return _0x435b38?_0x435b38[_0x7fd7f8(0x56a)]:null;}[_0xd70131(0x1cf)](_0x5699bc){const _0x29d361=_0xd70131;let _0x30e8f1=this[_0x29d361(0x49d)][_0x29d361(0x512)](_0x5699bc),_0xabe2b2=document[_0x29d361(0x354)]((_0x30e8f1==null?void 0x0:_0x30e8f1[_0x29d361(0x4ab)])??_0x5699bc);return(_0xabe2b2==null?void 0x0:_0xabe2b2[_0x29d361(0x57d)]())??null;}[_0xd70131(0x421)](_0x39ca68,_0x2432b1){const _0x21d583=_0xd70131;var _0x565c50;(_0x565c50=this[_0x21d583(0x440)][_0x21d583(0x428)](_0x39ca68))==null||_0x565c50[_0x21d583(0x421)](_0x2432b1);}[_0xd70131(0x32d)](_0x3cdea0){const _0x1c3db2=_0xd70131;var _0x414c1f;return((_0x414c1f=this[_0x1c3db2(0x440)][_0x1c3db2(0x428)](_0x3cdea0))==null?void 0x0:_0x414c1f[_0x1c3db2(0x4af)]())??!0x1;}[_0xd70131(0x54c)](_0x3979c9){const _0x388bb1=_0xd70131;var _0x1b5afe;(_0x1b5afe=this[_0x388bb1(0x440)][_0x388bb1(0x428)](_0x3979c9))==null||_0x1b5afe['syncLayout']();}[_0xd70131(0x449)](_0x348bc8){const _0x30efc4=_0xd70131;let _0x5aa5bd=this['_chartHostMap']['get'](_0x348bc8);_0x5aa5bd&&(_0x5aa5bd[_0x30efc4(0x205)](),this[_0x30efc4(0x578)][_0x30efc4(0x3e2)](_0x348bc8,{'eventPassThrough':!0x0})),this['_chartHostMap']['delete'](_0x348bc8);}async['ensureHost'](_0x572fb7,_0x2715ac){const _0x35eab1=_0xd70131;if(_0x2715ac===_0x4995c0[_0x35eab1(0x5b3)][_0x35eab1(0x22e)])return this[_0x35eab1(0x4db)](_0x572fb7);if(_0x2715ac===_0x4995c0[_0x35eab1(0x5b3)][_0x35eab1(0x4d9)])return this['_getOrCreateSheetChartHost'](_0x572fb7);let _0x3f2955=this[_0x35eab1(0x4d2)](_0x572fb7);if(!_0x3f2955)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x3f2955[_0x35eab1(0x4ba)]();}[_0xd70131(0x52b)](_0x3d3dd1){const _0x2c5251=_0xd70131;var _0x5a45fb;return this[_0x2c5251(0x4ea)]['has'](_0x3d3dd1)?(_0x5a45fb=this['_chartHostMap'][_0x2c5251(0x428)](_0x3d3dd1))!=null&&_0x5a45fb[_0x2c5251(0x4af)]()?!0x0:(this['_activeDomReadyChartIds'][_0x2c5251(0x4f7)](_0x3d3dd1),this[_0x2c5251(0x42b)](_0x3d3dd1),!0x1):!0x1;}['markHostNotReady'](_0x37e807){const _0x36cec6=_0xd70131;this[_0x36cec6(0x4ea)]['delete'](_0x37e807)&&(this['_restoreFloatDomPositionStream'](_0x37e807),this[_0x36cec6(0x44a)](_0x37e807));}[_0xd70131(0x321)](_0x598092){const _0x5ac186=_0xd70131;let _0x18eae1=this['_getChartSnapshotKey'](_0x598092);_0x18eae1&&this['_chartSnapshotStoreService'][_0x5ac186(0x390)](_0x18eae1);}[_0xd70131(0x4db)](_0x1afb7f){const _0x29998a=_0xd70131;let _0x57c1b6=this['_getChartSnapshotKey'](_0x1afb7f);return!_0x57c1b6||!this[_0x29998a(0x451)](_0x1afb7f)?null:new _0x5394ae(_0x1afb7f,()=>this[_0x29998a(0x451)](_0x1afb7f),_0x54db15=>this[_0x29998a(0x246)](_0x1afb7f,_0x54db15),_0x57c1b6,this['_chartSnapshotStoreService'],()=>this[_0x29998a(0x44a)](_0x1afb7f));}['_getOrCreateSheetChartHost'](_0x5c2cda){const _0x116d15=_0xd70131;if(!this[_0x116d15(0x451)](_0x5c2cda))return null;this['_canvasFloatDomService'][_0x116d15(0x3e2)](_0x5c2cda,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x36fa61=this[_0x116d15(0x440)][_0x116d15(0x428)](_0x5c2cda);if(_0x36fa61)return _0x36fa61;let _0x4143d0=new _0x219540(_0x5c2cda,()=>this[_0x116d15(0x49d)][_0x116d15(0x512)](_0x5c2cda),()=>this[_0x116d15(0x555)](_0x5c2cda),_0x5f10ea=>this['setHostStyle'](_0x5c2cda,_0x5f10ea),()=>this[_0x116d15(0x368)],()=>this[_0x116d15(0x4b7)](_0x5c2cda),()=>this['markHostNotReady'](_0x5c2cda),_0x34768a=>this['_bindChartPointerEvents'](_0x5c2cda,_0x34768a));return this[_0x116d15(0x440)]['set'](_0x5c2cda,_0x4143d0),_0x4143d0;}[_0xd70131(0x587)](_0x1bb6c9,_0x202979){const _0x5726f5=_0xd70131;var _0x56630d;let _0x33ccd0=this[_0x5726f5(0x49d)][_0x5726f5(0x512)](_0x1bb6c9),_0x3b325b=(_0x56630d=this[_0x5726f5(0x578)][_0x5726f5(0x49c)][_0x5726f5(0x25f)](([_0x6b6578])=>_0x6b6578===_0x1bb6c9))==null?void 0x0:_0x56630d[0x1],_0x2405d3=_0x33ccd0?this[_0x5726f5(0x3d7)](_0x33ccd0[_0x5726f5(0x4e0)]):null;if(!_0x33ccd0||!_0x3b325b||!_0x2405d3)return(0x0,_0xedf715['toDisposable'])(()=>{});let _0x239d9d=(0x0,_0x2836bb['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x33ccd0[_0x5726f5(0x4e0)],'subUnitId':_0x33ccd0[_0x5726f5(0x3ab)],'drawingId':_0x1bb6c9});return new _0x2fb761(_0x202979,{'onPointerDown':_0x3b325b['onPointerDown'],'onPointerMove':_0x3b325b[_0x5726f5(0x466)],'onPointerUp':_0x3b325b[_0x5726f5(0x28b)]},_0x2405d3[_0x5726f5(0x54f)]['changing$']['pipe']((0x0,_0x2f2bb7[_0x5726f5(0x47d)])(_0x7b0112=>_0x7b0112['objects']['has'](_0x239d9d)&&((_0x7b0112[_0x5726f5(0x43b)]??0x0)!==0x0||(_0x7b0112['moveY']??0x0)!==0x0))),_0x564493=>this[_0x5726f5(0x578)]['updateFloatDom'](_0x1bb6c9,_0x564493));}['_markHostReady'](_0x372d9c){const _0x50c041=_0xd70131;this['_activeDomReadyChartIds']['has'](_0x372d9c)||(this['_activeDomReadyChartIds'][_0x50c041(0x45b)](_0x372d9c),this[_0x50c041(0x319)](_0x372d9c),this[_0x50c041(0x44a)](_0x372d9c));}['_alignFloatDomPositionWithSceneRender'](_0xbd730b){const _0x39bfed=_0xd70131;var _0x43888e;let _0x77258=this['_sheetCanvasFloatDomManagerService'][_0x39bfed(0x512)](_0xbd730b),_0x12657a=_0x77258?(_0x43888e=this[_0x39bfed(0x223)][_0x39bfed(0x4d4)](_0x77258['unitId']))==null?void 0x0:_0x43888e[_0x39bfed(0x50d)]:null;if(!_0x77258||!_0x12657a)return;let _0x5ed9ab=(0x0,_0x2f2bb7['merge'])(_0x77258[_0x39bfed(0x282)][_0x39bfed(0x256)]((0x0,_0x2f2bb7[_0x39bfed(0x3bc)])(0x1)),_0x12657a[_0x39bfed(0x288)][_0x39bfed(0x256)]((0x0,_0x2f2bb7[_0x39bfed(0x576)])(_0x77258[_0x39bfed(0x282)]),(0x0,_0x2f2bb7[_0x39bfed(0x275)])(([,_0x74bf30])=>_0x74bf30)))[_0x39bfed(0x256)]((0x0,_0x2f2bb7[_0x39bfed(0x393)])(),(0x0,_0x2f2bb7[_0x39bfed(0x275)])(_0x5a9ea1));this['_canvasFloatDomService'][_0x39bfed(0x3e2)](_0xbd730b,{'position$':_0x5ed9ab});}[_0xd70131(0x42b)](_0x22b54e){const _0x3c6aa3=_0xd70131;let _0x49a899=this[_0x3c6aa3(0x49d)][_0x3c6aa3(0x512)](_0x22b54e);_0x49a899&&this[_0x3c6aa3(0x578)][_0x3c6aa3(0x3e2)](_0x22b54e,{'position$':_0x49a899[_0x3c6aa3(0x282)]});}[_0xd70131(0x517)](_0x2eca86){const _0x1bcd8b=_0xd70131;let _0x330352=this[_0x1bcd8b(0x49d)]['getFloatDomInfo'](_0x2eca86);return _0x330352?{'unitId':_0x330352['unitId'],'subUnitId':_0x330352[_0x1bcd8b(0x3ab)],'chartId':_0x2eca86}:null;}['_requestChartCanvasRender'](_0x1b3d10){const _0x1f1f66=_0xd70131;var _0x36e927,_0x3a2f57,_0x44a2ea;let _0x3b025e=this[_0x1f1f66(0x49d)]['getFloatDomInfo'](_0x1b3d10);if(!_0x3b025e)return;let _0x25d621=(_0x36e927=this['_renderManagerService'][_0x1f1f66(0x4d4)](_0x3b025e[_0x1f1f66(0x4e0)]))==null?void 0x0:_0x36e927[_0x1f1f66(0x50d)],_0x59cdfe=(_0x25d621==null||(_0x3a2f57=_0x25d621['getObjectIncludeInGroup'])==null?void 0x0:_0x3a2f57[_0x1f1f66(0x30f)](_0x25d621,(0x0,_0x2836bb[_0x1f1f66(0x34a)])({'unitId':_0x3b025e[_0x1f1f66(0x4e0)],'subUnitId':_0x3b025e[_0x1f1f66(0x3ab)],'drawingId':_0x1b3d10})))??(_0x25d621==null?void 0x0:_0x25d621[_0x1f1f66(0x29b)]((0x0,_0x2836bb[_0x1f1f66(0x34a)])({'unitId':_0x3b025e[_0x1f1f66(0x4e0)],'subUnitId':_0x3b025e[_0x1f1f66(0x3ab)],'drawingId':_0x1b3d10})))??null;_0x59cdfe==null||(_0x44a2ea=_0x59cdfe['makeDirty'])==null||_0x44a2ea[_0x1f1f66(0x30f)](_0x59cdfe,!0x0),_0x25d621==null||_0x25d621[_0x1f1f66(0x532)](!0x0);}[_0xd70131(0x555)](_0xc0902e){const _0x19971a=_0xd70131;let _0x3576ec=this['_sheetCanvasFloatDomManagerService'][_0x19971a(0x512)](_0xc0902e);if(!_0x3576ec)return null;let _0x5af4fa=this['_getSceneAndTransformerByDrawingSearch'](_0x3576ec['unitId']),_0x53c485=_0x5af4fa==null?void 0x0:_0x5af4fa[_0x19971a(0x50d)],_0x2c1fbc=document[_0x19971a(0x354)](_0x3576ec[_0x19971a(0x4ab)]??_0xc0902e);return _0xe82ce2(_0x3576ec[_0x19971a(0x56a)],{'scaleX':(_0x53c485==null?void 0x0:_0x53c485[_0x19971a(0x2bf)])??0x1,'scaleY':(_0x53c485==null?void 0x0:_0x53c485[_0x19971a(0x369)])??0x1},_0x2c1fbc?{'left':_0x2c1fbc[_0x19971a(0x375)],'top':_0x2c1fbc[_0x19971a(0x4ce)]}:void 0x0);}[_0xd70131(0x205)](){const _0x527b1e=_0xd70131;this[_0x527b1e(0x368)]||(Array[_0x527b1e(0x278)](this[_0x527b1e(0x440)][_0x527b1e(0x336)]())[_0x527b1e(0x429)](_0x1e876b=>this[_0x527b1e(0x449)](_0x1e876b)),this[_0x527b1e(0x4ea)][_0x527b1e(0x35e)](),this[_0x527b1e(0x2ce)]['complete'](),super['dispose']());}};_0x1b2769=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1b885e['SheetCanvasFloatDomManagerService'])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x3e0c02[_0xd70131(0x2e0)])),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x4d4f21)),_0x4c4d29(0x3,(0x0,_0xedf715['Inject'])(_0x64caca[_0xd70131(0x4d7)]))],_0x1b2769);let _0x2212a4=(0x0,_0xedf715[_0xd70131(0x424)])(_0xd70131(0x47f)),_0x113c36=_0x4995c0[_0xd70131(0x5b3)][_0xd70131(0x22e)];var _0x2b9b20=class extends _0x4995c0[_0xd70131(0x535)]{constructor(_0x17b751,_0x560179){const _0x4ad5bb=_0xd70131;super(_0x17b751),this[_0x4ad5bb(0x434)]=_0x560179,_0x5ce1c0(this,'_version',0x0),_0x5ce1c0(this,_0x4ad5bb(0x333),void 0x0),_0x5ce1c0(this,_0x4ad5bb(0x351),{});}[_0xd70131(0x550)](){const _0x517418=_0xd70131;return this[_0x517418(0x434)];}[_0xd70131(0x4e1)](_0x16216f){const _0x29588b=_0xd70131;this[_0x29588b(0x351)]=_0x16216f;}[_0xd70131(0x390)](){const _0x135056=_0xd70131;return++this[_0x135056(0x2b6)];}[_0xd70131(0x208)](_0x208036,_0x131c3c){const _0x35ad44=_0xd70131;return _0x131c3c===this['_version']?(_0x23009c(this[_0x35ad44(0x333)]),this[_0x35ad44(0x333)]=_0x208036,!0x0):(_0x23009c(_0x208036),!0x1);}['requestPaint'](){}[_0xd70131(0x321)](){const _0x16bbfb=_0xd70131;this[_0x16bbfb(0x2b6)]+=0x1;}[_0xd70131(0x2b0)](){const _0x4da810=_0xd70131;let _0x396151=this['_image'];return this[_0x4da810(0x333)]=void 0x0,_0x396151;}['dispose'](){const _0x3b0334=_0xd70131;_0x23009c(this[_0x3b0334(0x333)]),this[_0x3b0334(0x333)]=void 0x0,super['dispose']();}};function _0x721d67(_0x37f0e5,_0x1aeae7,_0x6def7c){const _0x1bba55=_0xd70131;let _0x145636=_0x37f0e5[_0x1bba55(0x46a)](_0x1aeae7),_0x314e4f={..._0x37f0e5[_0x1bba55(0x351)],'runtime':{..._0x145636,'layoutInset':0x8,..._0x6def7c===void 0x0?{}:{'addWatermark':_0x6def7c}},'direction':_0x1aeae7};return(0x0,_0x4995c0[_0x1bba55(0x57e)])(_0x314e4f,_0x37f0e5[_0x1bba55(0x5a7)]);}let _0x55a948=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x292f01,_0x2d5d10,_0xdaeede,_0x3ea568,_0x27dd15,_0x108d13,_0x5451c3,_0x24991f,_0x2e19ef,_0x382731,_0x517f2e,_0x873e16,_0xb5d9cf){const _0x2324d9=_0xd70131;super(),this['_chartHostProvider']=_0x292f01,this['_sheetCanvasFloatDomManagerService']=_0x2d5d10,this['_chartModelService']=_0xdaeede,this[_0x2324d9(0x438)]=_0x3ea568,this['_univerInstanceService']=_0x27dd15,this[_0x2324d9(0x223)]=_0x108d13,this[_0x2324d9(0x401)]=_0x5451c3,this['_injector']=_0x24991f,this[_0x2324d9(0x3b2)]=_0x2e19ef,this[_0x2324d9(0x29c)]=_0x382731,this[_0x2324d9(0x445)]=_0x517f2e,this[_0x2324d9(0x51c)]=_0x873e16,this[_0x2324d9(0x36e)]=_0xb5d9cf,_0x5ce1c0(this,_0x2324d9(0x3ff),new Map()),_0x5ce1c0(this,_0x2324d9(0x271),new Map()),_0x5ce1c0(this,_0x2324d9(0x342),new Map()),_0x5ce1c0(this,_0x2324d9(0x37d),new Map()),_0x5ce1c0(this,_0x2324d9(0x3d3),new Map()),_0x5ce1c0(this,_0x2324d9(0x4c4),new Map()),_0x5ce1c0(this,_0x2324d9(0x5bc),new Map()),_0x5ce1c0(this,_0x2324d9(0x441),void 0x0),_0x5ce1c0(this,_0x2324d9(0x2e8),void 0x0),_0x5ce1c0(this,_0x2324d9(0x463),new Map()),_0x5ce1c0(this,'_dataUpdateAnimationChartIds',new Set()),_0x5ce1c0(this,'_dataUpdateAnimationTimers',new Map()),_0x5ce1c0(this,_0x2324d9(0x396),null),_0x5ce1c0(this,_0x2324d9(0x1c8),null);let _0x40a654=(0x0,_0x1c5438[_0x2324d9(0x234)])(this['_injector']),_0x8f088d=this[_0x2324d9(0x445)][_0x2324d9(0x227)](_0x1c5438[_0x2324d9(0x2ea)]);this[_0x2324d9(0x441)]=(_0x8f088d==null?void 0x0:_0x8f088d[_0x2324d9(0x4fe)])??_0x113c36,this[_0x2324d9(0x2e8)]=_0x40a654[_0x2324d9(0x454)]!==0x1||_0x40a654[0x0]!==_0x2324d9(0x44f),this[_0x2324d9(0x1d6)](),this['_initActiveChartModelListener'](),this[_0x2324d9(0x3ec)](),this[_0x2324d9(0x2c4)](),this[_0x2324d9(0x5a0)]();}['getChartSnapshotImage'](_0x5b8cfd){const _0x20bb46=_0xd70131;let _0x28ec82=this[_0x20bb46(0x517)](_0x5b8cfd);return _0x28ec82?this[_0x20bb46(0x51c)]['getImage'](_0x28ec82):void 0x0;}['_resolveChartRenderMode'](_0x459089){const _0x44e8ab=_0xd70131;var _0x288b3d;return((_0x288b3d=this[_0x44e8ab(0x2d8)][_0x44e8ab(0x1c4)])==null?void 0x0:_0x288b3d['id'])===_0x459089?_0x4995c0[_0x44e8ab(0x5b3)][_0x44e8ab(0x4d9)]:this[_0x44e8ab(0x441)];}['_getChartSnapshotKey'](_0x5a85ec){const _0x1e3e36=_0xd70131;let _0x5a6759=this[_0x1e3e36(0x49d)][_0x1e3e36(0x512)](_0x5a85ec);return _0x5a6759?{'unitId':_0x5a6759[_0x1e3e36(0x4e0)],'subUnitId':_0x5a6759['subUnitId'],'chartId':_0x5a85ec}:null;}[_0xd70131(0x1d6)](){const _0x34d7d2=_0xd70131;this[_0x34d7d2(0x441)]===_0x4995c0[_0x34d7d2(0x5b3)][_0x34d7d2(0x22e)]&&this[_0x34d7d2(0x2ff)](this['_sheetCanvasFloatDomManagerService'][_0x34d7d2(0x3ad)](_0xedf715['DrawingTypeEnum']['DRAWING_CHART'],({key:_0x3a7977,config:_0x4a0a24,unitId:_0xebfdd5,subUnitId:_0x1f98ef,drawingId:_0x20b01c})=>new _0x15d123(_0x3a7977,_0x4a0a24,()=>this[_0x34d7d2(0x51c)][_0x34d7d2(0x4ef)]({'unitId':_0xebfdd5,'subUnitId':_0x1f98ef,'chartId':_0x20b01c}),()=>this[_0x34d7d2(0x5ab)][_0x34d7d2(0x52b)](_0x20b01c))));}[_0xd70131(0x3a3)](){const _0x2abda7=_0xd70131;this[_0x2abda7(0x2ff)](this['_chartModelService'][_0x2abda7(0x3c6)][_0x2abda7(0x437)](_0x360c1a=>{const _0x3e9b64=_0x2abda7;let _0x5fa5ed=(_0x360c1a==null?void 0x0:_0x360c1a['id'])??null,_0x4ca202=this[_0x3e9b64(0x396)];_0x4ca202!==_0x5fa5ed&&(_0x4ca202&&(this[_0x3e9b64(0x5ab)]['markHostNotReady'](_0x4ca202),this['_resetChartRuntimeZIndex'](_0x4ca202),this[_0x3e9b64(0x274)](_0x4ca202)),this[_0x3e9b64(0x396)]=_0x5fa5ed,_0x5fa5ed&&(this[_0x3e9b64(0x376)](_0x5fa5ed),this['_chartHostProvider'][_0x3e9b64(0x5b1)](_0x5fa5ed),this[_0x3e9b64(0x45e)](_0x5fa5ed),this[_0x3e9b64(0x4e9)](_0x5fa5ed)));}));}['_initDrawingDeactivationListener'](){const _0xc7cfd2=_0xd70131;this['disposeWithMe'](this['_drawingManagerService']['featurePluginGroupUpdate$'][_0xc7cfd2(0x437)](_0x44bfab=>{const _0x4113d9=_0xc7cfd2;var _0x1ff6a4;let _0x35c256=(_0x1ff6a4=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x1ff6a4['id'];_0x35c256&&_0x44bfab[_0x4113d9(0x23e)](_0x1f07ce=>_0x1f07ce[_0x4113d9(0x272)][_0x4113d9(0x23e)](_0x59e164=>_0x59e164[_0x4113d9(0x547)]===_0x35c256))&&this[_0x4113d9(0x2d8)][_0x4113d9(0x531)](null);})),this[_0xc7cfd2(0x2ff)](this['_drawingManagerService'][_0xc7cfd2(0x431)][_0xc7cfd2(0x437)](_0x92a7b=>{const _0x224953=_0xc7cfd2;var _0x4a4c4f;let _0x4fb609=(_0x4a4c4f=this[_0x224953(0x2d8)][_0x224953(0x1c4)])==null?void 0x0:_0x4a4c4f['id'];_0x4fb609&&_0x92a7b['some'](_0x38df44=>_0x38df44[_0x224953(0x3fb)][_0x224953(0x547)]===_0x4fb609||_0x38df44[_0x224953(0x272)][_0x224953(0x23e)](_0x4b1080=>_0x4b1080[_0x224953(0x547)]===_0x4fb609))&&this[_0x224953(0x2d8)][_0x224953(0x531)](null);}));}['_initActiveRuntimeLayerListener'](){const _0x5c3989=_0xd70131;this[_0x5c3989(0x2ff)](this[_0x5c3989(0x438)]['featurePluginOrderUpdate$'][_0x5c3989(0x437)](_0x8b1f20=>{const _0x561b0a=_0x5c3989;var _0x136459;let _0x151fa0=(_0x136459=this['_chartModelService'][_0x561b0a(0x1c4)])==null?void 0x0:_0x136459['id'];if(!_0x151fa0){_0x8b1f20[_0x561b0a(0x226)][_0x561b0a(0x429)](_0x3eb22f=>{const _0x2094cf=_0x561b0a;this['_chartModelService'][_0x2094cf(0x46b)](_0x3eb22f)&&this[_0x2094cf(0x3ba)](_0x3eb22f);});return;}let _0x1c20d1=this[_0x561b0a(0x49d)]['getFloatDomInfo'](_0x151fa0);(_0x1c20d1==null?void 0x0:_0x1c20d1[_0x561b0a(0x4e0)])===_0x8b1f20[_0x561b0a(0x4e0)]&&_0x1c20d1['subUnitId']===_0x8b1f20[_0x561b0a(0x3ab)]&&this[_0x561b0a(0x45e)](_0x151fa0);})),this['disposeWithMe'](this[_0x5c3989(0x438)]['add$'][_0x5c3989(0x437)](_0x226170=>{const _0x40ef02=_0x5c3989;var _0x201af5;let _0xdc8963=(_0x201af5=this['_chartModelService'][_0x40ef02(0x1c4)])==null?void 0x0:_0x201af5['id'];if(!_0xdc8963)return;let _0x4338fa=this[_0x40ef02(0x49d)][_0x40ef02(0x512)](_0xdc8963);_0x4338fa&&_0x226170[_0x40ef02(0x23e)](_0xe43031=>_0xe43031['unitId']===_0x4338fa[_0x40ef02(0x4e0)]&&_0xe43031[_0x40ef02(0x3ab)]===_0x4338fa[_0x40ef02(0x3ab)])&&this[_0x40ef02(0x45e)](_0xdc8963);})),this[_0x5c3989(0x2ff)](this[_0x5c3989(0x2d8)]['chartModelRemoved$'][_0x5c3989(0x437)](_0x637b76=>{const _0x4889fa=_0x5c3989;var _0x342287;this['_disposeChartChangeListeners'](_0x637b76),this[_0x4889fa(0x464)](_0x637b76),this[_0x4889fa(0x271)][_0x4889fa(0x4f7)](_0x637b76),this['_deactivateDataUpdateAnimation'](_0x637b76),this[_0x4889fa(0x463)]['delete'](_0x637b76),this[_0x4889fa(0x51c)][_0x4889fa(0x2b4)](_0x637b76),this[_0x4889fa(0x48c)](_0x637b76),this['_chartHostProvider'][_0x4889fa(0x5b1)](_0x637b76),((_0x342287=this[_0x4889fa(0x2d8)][_0x4889fa(0x1c4)])==null?void 0x0:_0x342287['id'])===_0x637b76?this[_0x4889fa(0x2d8)]['setActiveChartModel'](null):this['_resetChartRuntimeZIndex'](_0x637b76),this[_0x4889fa(0x216)](_0x637b76);}));}['_rerenderLatest'](_0x45996a){const _0x1b0e9e=_0xd70131;let _0x146d09=this['_lastRenderInputMap'][_0x1b0e9e(0x428)](_0x45996a);_0x146d09&&this[_0x1b0e9e(0x285)](_0x45996a,_0x146d09[_0x1b0e9e(0x312)],_0x146d09[_0x1b0e9e(0x351)]);}[_0xd70131(0x274)](_0x461195){const _0x28ee9e=_0xd70131;let _0x9af22=this[_0x28ee9e(0x3ff)][_0x28ee9e(0x428)](_0x461195);(_0x9af22==null?void 0x0:_0x9af22['mode'])===_0x28ee9e(0x2b9)&&(this[_0x28ee9e(0x464)](_0x461195),_0x9af22[_0x28ee9e(0x205)](),this[_0x28ee9e(0x3ff)][_0x28ee9e(0x4f7)](_0x461195)),this['_chartHostProvider'][_0x28ee9e(0x5b1)](_0x461195),this[_0x28ee9e(0x5ab)][_0x28ee9e(0x449)](_0x461195);}[_0xd70131(0x216)](_0x53ef98){const _0x599d5e=_0xd70131;let _0x4c6a05=this[_0x599d5e(0x3ff)]['get'](_0x53ef98);_0x4c6a05&&(this['_disposeChartEventSubscriptions'](_0x53ef98),_0x4c6a05[_0x599d5e(0x205)](),this[_0x599d5e(0x3ff)][_0x599d5e(0x4f7)](_0x53ef98)),this[_0x599d5e(0x5ab)][_0x599d5e(0x5b1)](_0x53ef98),this[_0x599d5e(0x5ab)][_0x599d5e(0x449)](_0x53ef98);}['_notifyChartRemoved'](_0x56f858){const _0x311f84=_0xd70131;var _0x206a78,_0x299829;(_0x206a78=this['_renderModelManager'][_0x311f84(0x444)](_0x4995c0['EChartRenderEngineName']))==null||(_0x299829=_0x206a78[_0x311f84(0x473)])==null||_0x299829[_0x311f84(0x30f)](_0x206a78,{'type':_0x311f84(0x533),'chartId':_0x56f858});}[_0xd70131(0x29d)](_0x52e14f,_0x4418ef){const _0x56c50e=_0xd70131;let _0x45e6dc=this[_0x56c50e(0x438)][_0x56c50e(0x1f4)](_0x52e14f,_0x4418ef);Object['values'](_0x45e6dc??{})['forEach'](_0x15bdb1=>{const _0x3382b3=_0x56c50e;if(_0x15bdb1[_0x3382b3(0x249)]===_0xedf715[_0x3382b3(0x221)]['DRAWING_CHART']){var _0x4b2970,_0x3bd79c;(_0x4b2970=this[_0x3382b3(0x36e)]['getRenderModel'](_0x4995c0[_0x3382b3(0x2e7)]))==null||(_0x3bd79c=_0x4b2970[_0x3382b3(0x473)])==null||_0x3bd79c[_0x3382b3(0x30f)](_0x4b2970,{'type':_0x3382b3(0x1f5),'chartId':_0x15bdb1[_0x3382b3(0x547)]});}});}['_getChartRenderObject'](_0x162e71,_0x3f525a){const _0x1cf7c7=_0xd70131;var _0x1cad72;return((_0x1cad72=_0x162e71[_0x1cf7c7(0x4fb)])==null?void 0x0:_0x1cad72[_0x1cf7c7(0x30f)](_0x162e71,_0x3f525a))??_0x162e71[_0x1cf7c7(0x29b)](_0x3f525a)??null;}[_0xd70131(0x1ec)](_0x520cda){const _0x57ae6b=_0xd70131;var _0x4c173d;let _0x51c0ac=this[_0x57ae6b(0x49d)][_0x57ae6b(0x512)](_0x520cda);if(!_0x51c0ac)return null;let _0x1d8909=(_0x4c173d=this['_renderManagerService'][_0x57ae6b(0x4d4)](_0x51c0ac['unitId']))==null?void 0x0:_0x4c173d[_0x57ae6b(0x50d)];if(!_0x1d8909)return null;let _0x580bb1=this[_0x57ae6b(0x1e6)](_0x1d8909,(0x0,_0x2836bb[_0x57ae6b(0x34a)])({'unitId':_0x51c0ac['unitId'],'subUnitId':_0x51c0ac['subUnitId'],'drawingId':_0x520cda}));return _0x580bb1?{'info':_0x51c0ac,'scene':_0x1d8909,'chartObject':_0x580bb1}:null;}[_0xd70131(0x494)](_0x548c35,_0x78f1b4){const _0x383b3d=_0xd70131;var _0x3d2d09,_0x54ac08,_0x3e497d,_0x202170;let _0x452512=this[_0x383b3d(0x1ec)](_0x548c35);_0x452512&&((_0x3d2d09=(_0x54ac08=_0x452512[_0x383b3d(0x4d0)])['setProps'])==null||_0x3d2d09[_0x383b3d(0x30f)](_0x54ac08,{'zIndex':_0x78f1b4}),(_0x3e497d=(_0x202170=_0x452512[_0x383b3d(0x4d0)])[_0x383b3d(0x532)])==null||_0x3e497d[_0x383b3d(0x30f)](_0x202170,!0x0),_0x452512[_0x383b3d(0x50d)][_0x383b3d(0x532)](!0x0));}[_0xd70131(0x45e)](_0x2090ea){const _0x3edcdc=_0xd70131;let _0x56d575=this[_0x3edcdc(0x49d)]['getFloatDomInfo'](_0x2090ea);if(!_0x56d575)return;let _0x3f288a=this[_0x3edcdc(0x438)][_0x3edcdc(0x2eb)](_0x56d575[_0x3edcdc(0x4e0)],_0x56d575[_0x3edcdc(0x3ab)]);this[_0x3edcdc(0x494)](_0x2090ea,_0x3f288a[_0x3edcdc(0x454)]);}[_0xd70131(0x3ba)](_0xd870d9){const _0x405a53=_0xd70131;let _0x4187dc=this[_0x405a53(0x49d)][_0x405a53(0x512)](_0xd870d9);if(!_0x4187dc)return;let _0x3a3273=this['_drawingManagerService']['getDrawingOrder'](_0x4187dc[_0x405a53(0x4e0)],_0x4187dc[_0x405a53(0x3ab)]),_0x732b94=_0x3a3273[_0x405a53(0x32e)](_0xd870d9);this[_0x405a53(0x494)](_0xd870d9,_0x732b94===-0x1?Math[_0x405a53(0x575)](_0x3a3273['length']-0x1,0x0):_0x732b94);}['_resizeChart'](_0x941b8a,_0x3c4865){const _0x3b9bc9=_0xd70131;let _0x3d8afa=this[_0x3b9bc9(0x49d)][_0x3b9bc9(0x512)](_0x941b8a);if(_0x3c4865[_0x3b9bc9(0x20a)]!==void 0x0&&_0x3c4865[_0x3b9bc9(0x549)]!==void 0x0&&_0x3d8afa){var _0x1d0d12;let {subUnitId:_0x3fa42d}=_0x3d8afa,_0x870a0=(_0x1d0d12=this['_univerInstanceService']['getCurrentUnitOfType'](_0xedf715['UniverInstanceType'][_0x3b9bc9(0x42e)]))==null?void 0x0:_0x1d0d12[_0x3b9bc9(0x49a)]();if((_0x870a0==null?void 0x0:_0x870a0[_0x3b9bc9(0x295)]())===_0x3fa42d){let {width:_0xfd6fc3,height:_0x203824}=_0x3c4865,_0x3392c7=this[_0x3b9bc9(0x2d8)]['getChartModel'](_0x941b8a),_0x47cbd1=_0x3392c7==null?void 0x0:_0x3392c7['style'];(Math[_0x3b9bc9(0x339)](_0xfd6fc3-((_0x47cbd1==null?void 0x0:_0x47cbd1['width'])||0x0))>0x1||Math[_0x3b9bc9(0x339)](_0x203824-((_0x47cbd1==null?void 0x0:_0x47cbd1[_0x3b9bc9(0x549)])||0x0))>0x1)&&(_0x3392c7==null||_0x3392c7[_0x3b9bc9(0x470)]({..._0x47cbd1,'width':_0xfd6fc3,'height':_0x203824}));}}}['_debounceHandle'](_0x5c3ae7,_0x322eba,_0x53d743=0x0){const _0x4f6cdf=_0xd70131;let _0x4dac7d=this[_0x4f6cdf(0x4c4)][_0x4f6cdf(0x428)](_0x5c3ae7);_0x4dac7d||(_0x4dac7d=(0x0,_0xedf715[_0x4f6cdf(0x580)])(_0x2800bf=>{const _0xfb76fe=_0x4f6cdf;this[_0xfb76fe(0x2a6)](_0x5c3ae7,_0x2800bf);},_0x53d743),this[_0x4f6cdf(0x4c4)][_0x4f6cdf(0x3e1)](_0x5c3ae7,_0x4dac7d)),_0x4dac7d(_0x322eba);}[_0xd70131(0x5a0)](){const _0x53e61d=_0xd70131;let _0x4e1356=this[_0x53e61d(0x3d3)],_0x2f9d5c=_0x294642=>{const _0x2ab057=_0x53e61d;if(!_0x4e1356[_0x2ab057(0x209)](_0x294642)){let _0x50a0f0=(0x0,_0xedf715[_0x2ab057(0x580)])((_0x24b083,_0x182549,_0x827e16,_0xddfd7e)=>{const _0x460663=_0x2ab057;var _0x965d72,_0x460de3;if(!_0x827e16)return;(_0x965d72=_0x827e16['category'])==null||_0x965d72[_0x460663(0x486)][_0x460663(0x429)]((_0x30a878,_0x3d5a23)=>{const _0x226733=_0x460663;_0x30a878['label']||=this[_0x226733(0x401)]['t'](_0x226733(0x28d))+'\x20'+(_0x3d5a23+0x1);}),_0x827e16[_0x460663(0x297)][_0x460663(0x429)]((_0x23532c,_0x2a3185)=>{const _0x5e012c=_0x460663;_0x23532c[_0x5e012c(0x3f8)]||=this[_0x5e012c(0x401)]['t'](_0x5e012c(0x520))+'\x20'+(_0x2a3185+0x1);});let _0x4abf25=this[_0x460663(0x255)](_0x24b083,_0xddfd7e),_0x241897=(_0x460de3=this['_univerInstanceService'][_0x460663(0x1b9)](_0xedf715[_0x460663(0x37e)][_0x460663(0x42e)]))==null?void 0x0:_0x460de3[_0x460663(0x49a)]();(_0x241897==null?void 0x0:_0x241897[_0x460663(0x295)]())===_0x182549&&this[_0x460663(0x285)](_0x24b083['id'],_0x827e16,_0x4abf25);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x4e1356[_0x2ab057(0x3e1)](_0x294642,_0x50a0f0);}return _0x4e1356['get'](_0x294642);};this[_0x53e61d(0x2ff)](this[_0x53e61d(0x3e5)][_0x53e61d(0x1be)][_0x53e61d(0x437)](_0x4039d6=>{const _0x5bcd00=_0x53e61d;let _0x4aba7d=this[_0x5bcd00(0x3e5)][_0x5bcd00(0x1b9)](_0xedf715[_0x5bcd00(0x37e)][_0x5bcd00(0x42e)]);if(_0x4039d6&&_0x4aba7d&&_0x4aba7d[_0x5bcd00(0x1fb)]()===_0x4039d6){var _0x1004a6;let _0x5cf5da=_0x4aba7d[_0x5bcd00(0x49a)]()['getSheetId']();this[_0x5bcd00(0x1c8)]&&(this[_0x5bcd00(0x1c8)]['unitId']!==_0x4039d6||this['_lastActiveSheet'][_0x5bcd00(0x3ab)]!==_0x5cf5da)&&this[_0x5bcd00(0x29d)](this[_0x5bcd00(0x1c8)][_0x5bcd00(0x4e0)],this[_0x5bcd00(0x1c8)][_0x5bcd00(0x3ab)]),this[_0x5bcd00(0x1c8)]={'unitId':_0x4039d6,'subUnitId':_0x5cf5da};let _0x46530c=this[_0x5bcd00(0x438)]['getDrawingData'](_0x4039d6,_0x5cf5da);if(!((_0x1004a6=this['_renderManagerService'][_0x5bcd00(0x4d4)](_0x4039d6))!=null&&_0x1004a6[_0x5bcd00(0x389)](_0x503fe1['SheetSkeletonManagerService'])['getSkeleton'](_0x5cf5da)))return;if(_0x46530c)for(let _0x5c4fa4 in _0x46530c){let {drawingId:_0x2259e8}=_0x46530c[_0x5c4fa4],_0x5978f6=this[_0x5bcd00(0x2d8)][_0x5bcd00(0x46b)](_0x2259e8);_0x5978f6&&_0x2f9d5c(_0x5978f6['id'])(_0x5978f6,_0x5cf5da,_0x5978f6[_0x5bcd00(0x312)],this[_0x5bcd00(0x401)][_0x5bcd00(0x4be)]());}}})),this['disposeWithMe'](this['_themeService'][_0x53e61d(0x537)][_0x53e61d(0x437)](()=>{const _0x2cf61e=_0x53e61d;var _0xbd8676;let _0x2e5c24=this[_0x2cf61e(0x3e5)][_0x2cf61e(0x1b9)](_0xedf715[_0x2cf61e(0x37e)][_0x2cf61e(0x42e)]);if(!_0x2e5c24)return;let _0x5c6473=_0x2e5c24[_0x2cf61e(0x1fb)](),_0x333616=_0x2e5c24['getActiveSheet']()[_0x2cf61e(0x295)](),_0x5bde88=this[_0x2cf61e(0x438)][_0x2cf61e(0x1f4)](_0x5c6473,_0x333616);if((_0xbd8676=this[_0x2cf61e(0x223)]['getRenderUnitById'](_0x5c6473))!=null&&_0xbd8676[_0x2cf61e(0x389)](_0x503fe1[_0x2cf61e(0x34f)])['getSkeleton'](_0x333616)&&_0x5bde88)for(let _0x5eecac in _0x5bde88){let {drawingId:_0x4667b0}=_0x5bde88[_0x5eecac],_0x2f1752=this['_chartModelService'][_0x2cf61e(0x46b)](_0x4667b0);_0x2f1752&&_0x2f9d5c(_0x2f1752['id'])(_0x2f1752,_0x333616,_0x2f1752[_0x2cf61e(0x312)],this[_0x2cf61e(0x401)][_0x2cf61e(0x4be)]());}})),this[_0x53e61d(0x2ff)](this[_0x53e61d(0x438)][_0x53e61d(0x3e7)][_0x53e61d(0x437)](_0x2a941a=>{const _0x4bd5c0=_0x53e61d;_0x2a941a[_0x4bd5c0(0x429)](_0x4baf4e=>{const _0x5ef04c=_0x4bd5c0;var _0x32311b;let {drawingId:_0x5e3499,unitId:_0x27d624,subUnitId:_0x402d29}=_0x4baf4e,_0x227220=this[_0x5ef04c(0x223)]['getRenderUnitById'](_0x27d624);if((_0x227220==null?void 0x0:_0x227220[_0x5ef04c(0x5ac)])!==_0xedf715[_0x5ef04c(0x37e)][_0x5ef04c(0x42e)]||!_0x227220['with'](_0x503fe1[_0x5ef04c(0x34f)])[_0x5ef04c(0x1c6)](_0x402d29))return;let {drawingType:_0x3559ab}=this[_0x5ef04c(0x438)][_0x5ef04c(0x5be)](_0x4baf4e);if(_0x3559ab!==_0xedf715['DrawingTypeEnum'][_0x5ef04c(0x3f2)])return;let _0x4ec2b0=this[_0x5ef04c(0x49d)][_0x5ef04c(0x512)](_0x5e3499);this['_disposeChartChangeListeners'](_0x5e3499);let _0x3e0c1b=new _0xedf715['Disposable']();this['_chartChangeSubscriptions'][_0x5ef04c(0x3e1)](_0x5e3499,_0x3e0c1b);let _0x1ed0a8=(_0x4ec2b0==null?void 0x0:_0x4ec2b0[_0x5ef04c(0x4ab)])??_0x5e3499,_0x106872=_0x4ec2b0==null?void 0x0:_0x4ec2b0[_0x5ef04c(0x56a)],_0x11911b=(_0x32311b=this[_0x5ef04c(0x223)][_0x5ef04c(0x4d4)](_0x27d624))==null?void 0x0:_0x32311b[_0x5ef04c(0x50d)];if(_0x106872){let _0x367d26=new _0x22e4c6(_0x106872,async _0x264527=>{const _0x2a7958=_0x5ef04c;var _0x47aef7;let _0x182072=this[_0x2a7958(0x3e5)][_0x2a7958(0x1b9)](_0xedf715[_0x2a7958(0x37e)][_0x2a7958(0x42e)]);if((_0x182072==null?void 0x0:_0x182072['getUnitId']())===_0x27d624&&((_0x47aef7=_0x182072[_0x2a7958(0x49a)]())==null?void 0x0:_0x47aef7[_0x2a7958(0x295)]())===_0x402d29&&(this[_0x2a7958(0x5ab)]['syncHostLayout'](_0x5e3499),_0x264527)){let {width:_0x9beff4,height:_0x40f259}=_0x106872;this[_0x2a7958(0x3c7)](_0x5e3499,{'width':_0x9beff4,'height':_0x40f259},0x64);let _0x2885ae=this[_0x2a7958(0x2d8)][_0x2a7958(0x46b)](_0x5e3499);_0x2885ae!=null&&_0x2885ae[_0x2a7958(0x312)]&&await this[_0x2a7958(0x285)](_0x5e3499,_0x2885ae['config'],this['createRuntimeChartStyle'](_0x2885ae,this[_0x2a7958(0x401)][_0x2a7958(0x4be)]()));}});_0x3e0c1b['disposeWithMe'](_0x367d26),_0x3e0c1b['disposeWithMe'](this[_0x5ef04c(0x3e5)][_0x5ef04c(0x1be)][_0x5ef04c(0x437)](()=>_0x367d26[_0x5ef04c(0x27b)][_0x5ef04c(0x2f3)]())),_0x11911b&&_0x3e0c1b[_0x5ef04c(0x2ff)](_0x11911b[_0x5ef04c(0x3b3)]()[_0x5ef04c(0x233)][_0x5ef04c(0x437)](({objects:_0x1c818e})=>{const _0x3f8fb2=_0x5ef04c;if(_0x1c818e[_0x3f8fb2(0x209)](_0x106872[_0x3f8fb2(0x1f8)])){var _0x4691fe;_0x367d26[_0x3f8fb2(0x27b)][_0x3f8fb2(0x4b1)](),(_0x4691fe=this[_0x3f8fb2(0x4c4)][_0x3f8fb2(0x428)](_0x5e3499))==null||_0x4691fe[_0x3f8fb2(0x58f)](),this[_0x3f8fb2(0x2a6)](_0x5e3499,{'width':_0x106872['width'],'height':_0x106872[_0x3f8fb2(0x549)]});}}));}_0x11911b&&_0x3e0c1b[_0x5ef04c(0x2ff)](_0x11911b[_0x5ef04c(0x203)][_0x5ef04c(0x4ac)](_0x3c0d18=>{const _0x308195=_0x5ef04c;var _0x3f8b24;_0x3c0d18[_0x308195(0x5ac)]===_0x3e0c02[_0x308195(0x4d3)][_0x308195(0x577)]&&(_0x3f8b24=document[_0x308195(0x354)](_0x1ed0a8))!=null&&_0x3f8b24['querySelector'](_0x308195(0x39a))&&this[_0x308195(0x5ab)][_0x308195(0x54c)](_0x5e3499);}));let _0x1bf27e=this['_chartModelService'][_0x5ef04c(0x46b)](_0x5e3499);_0x1bf27e&&_0x3e0c1b[_0x5ef04c(0x2ff)]((0x0,_0x2f2bb7[_0x5ef04c(0x1e5)])([_0x1bf27e[_0x5ef04c(0x53b)],_0x1bf27e[_0x5ef04c(0x4f9)],this[_0x5ef04c(0x401)][_0x5ef04c(0x2e4)]])[_0x5ef04c(0x437)](([_0x514fd3,_0x1a988d,_0x5d4ce9])=>{_0x2f9d5c(_0x1bf27e['id'])(_0x1bf27e,_0x402d29,_0x514fd3,_0x5d4ce9);}));});})),this['disposeWithMe']((0x0,_0x2f2bb7['combineLatest'])([this[_0x53e61d(0x438)][_0x53e61d(0x2c1)]])[_0x53e61d(0x437)](([_0x502d50])=>{const _0x4c1d43=_0x53e61d;_0x502d50[_0x4c1d43(0x429)](_0x54b73a=>{const _0x22d03d=_0x4c1d43;var _0x1dee53;let {drawingId:_0x1c2b96}=_0x54b73a;this[_0x22d03d(0x44e)](_0x1c2b96),((_0x1dee53=this[_0x22d03d(0x2d8)]['activeChartModel'])==null?void 0x0:_0x1dee53['id'])===_0x1c2b96&&this[_0x22d03d(0x2d8)][_0x22d03d(0x531)](null),this['_disposeChartEventSubscriptions'](_0x1c2b96),this[_0x22d03d(0x5ab)][_0x22d03d(0x5b1)](_0x1c2b96),this[_0x22d03d(0x3ba)](_0x1c2b96),this['_disposeChartRenderInstance'](_0x1c2b96),this[_0x22d03d(0x51c)][_0x22d03d(0x2b4)](_0x1c2b96),this['_notifyChartRemoved'](_0x1c2b96),this[_0x22d03d(0x463)][_0x22d03d(0x4f7)](_0x1c2b96),this[_0x22d03d(0x37d)][_0x22d03d(0x4f7)](_0x1c2b96);});}));}[_0xd70131(0x544)](_0x36a516,_0x13b1b7){const _0x2af11f=_0xd70131;var _0x2185d0;_0x13b1b7?this[_0x2af11f(0x37d)]['set'](_0x36a516,!0x0):this['_chartElementEditMode'][_0x2af11f(0x4f7)](_0x36a516),(_0x2185d0=this['_chartInstanceMap'][_0x2af11f(0x428)](_0x36a516))==null||_0x2185d0[_0x2af11f(0x544)](_0x13b1b7);}async[_0xd70131(0x5a9)](_0x5bd593,_0x69bdad){const _0x51c0d6=_0xd70131;var _0x344a30;let _0x268f89=this['_lastRenderInputMap']['get'](_0x5bd593),_0x5b7d3d=(_0x344a30=this['_sheetCanvasFloatDomManagerService'][_0x51c0d6(0x512)](_0x5bd593))==null?void 0x0:_0x344a30['rect'];if(_0x268f89&&_0x5b7d3d)return(await this['_renderModelManager'][_0x51c0d6(0x5a9)]({'chartId':_0x5bd593,'config':_0x268f89[_0x51c0d6(0x312)],'style':_0x268f89[_0x51c0d6(0x351)],'width':_0x5b7d3d[_0x51c0d6(0x20a)],'height':_0x5b7d3d[_0x51c0d6(0x549)]},_0x69bdad))['dataUrl'];if((_0x69bdad==null?void 0x0:_0x69bdad[_0x51c0d6(0x3c1)])===_0x4995c0['ChartImageExportFormat'][_0x51c0d6(0x1f7)])return;let _0x3f4099=this[_0x51c0d6(0x39c)](_0x5bd593);return _0x3f4099?(0x0,_0x4995c0[_0x51c0d6(0x3c9)])(_0x3f4099):void 0x0;}['on'](_0x3b16be,_0x205839,_0x2d5771){const _0x56f3d4=_0xd70131;let _0x487048=this['_chartEventHandlers']['get'](_0x3b16be);_0x487048||(_0x487048=new Map(),this[_0x56f3d4(0x271)][_0x56f3d4(0x3e1)](_0x3b16be,_0x487048));let _0x5a5c7f=_0x487048['get'](_0x205839);_0x5a5c7f||(_0x5a5c7f=new Set(),_0x487048[_0x56f3d4(0x3e1)](_0x205839,_0x5a5c7f)),_0x5a5c7f[_0x56f3d4(0x45b)](_0x2d5771);let _0x2295c6=this[_0x56f3d4(0x3ff)][_0x56f3d4(0x428)](_0x3b16be);return _0x2295c6&&this[_0x56f3d4(0x252)](_0x3b16be,_0x2295c6,_0x205839,_0x2d5771),{'dispose':()=>{const _0x136ad9=_0x56f3d4;var _0x1c8fc5;(_0x1c8fc5=this[_0x136ad9(0x271)][_0x136ad9(0x428)](_0x3b16be))==null||(_0x1c8fc5=_0x1c8fc5[_0x136ad9(0x428)](_0x205839))==null||_0x1c8fc5['delete'](_0x2d5771),this[_0x136ad9(0x3d2)](_0x3b16be,_0x205839,_0x2d5771);}};}[_0xd70131(0x39c)](_0x173e5d){const _0x22105e=_0xd70131;let _0x41bc09=this['_univerInstanceService'][_0x22105e(0x1b9)](_0xedf715[_0x22105e(0x37e)][_0x22105e(0x42e)]),_0x170f89=_0x41bc09==null?void 0x0:_0x41bc09[_0x22105e(0x49a)](),_0x565f1d=_0x41bc09==null?void 0x0:_0x41bc09[_0x22105e(0x1fb)](),_0x2bf4dc=_0x170f89==null?void 0x0:_0x170f89[_0x22105e(0x295)]();if(_0x565f1d&&_0x2bf4dc)return this[_0x22105e(0x51c)]['getImage']({'unitId':_0x565f1d,'subUnitId':_0x2bf4dc,'chartId':_0x173e5d});}[_0xd70131(0x2e5)](_0xc31a6c,_0x14645c){const _0x19432b=_0xd70131;let _0x4f01f5=this['_chartEventHandlers'][_0x19432b(0x428)](_0xc31a6c);_0x4f01f5&&_0x4f01f5['forEach']((_0x4d9a12,_0x28cc08)=>{const _0x33f4fe=_0x19432b;_0x4d9a12[_0x33f4fe(0x429)](_0x3e9b20=>this['_bindChartEventHandler'](_0xc31a6c,_0x14645c,_0x28cc08,_0x3e9b20));});}[_0xd70131(0x252)](_0x3f149f,_0x107cda,_0x354a37,_0x479167){const _0x2d1e37=_0xd70131;let _0x2a6d2e=this[_0x2d1e37(0x342)][_0x2d1e37(0x428)](_0x3f149f);_0x2a6d2e||(_0x2a6d2e=new Map(),this['_chartEventSubscriptions']['set'](_0x3f149f,_0x2a6d2e));let _0x29c845=_0x2a6d2e[_0x2d1e37(0x428)](_0x354a37);_0x29c845||(_0x29c845=new Map(),_0x2a6d2e[_0x2d1e37(0x3e1)](_0x354a37,_0x29c845)),!_0x29c845[_0x2d1e37(0x209)](_0x479167)&&_0x29c845[_0x2d1e37(0x3e1)](_0x479167,_0x107cda['on'](_0x354a37,_0x479167));}[_0xd70131(0x3d2)](_0xe1b1bb,_0x53086e,_0xc0e2ca){const _0x2b8e04=_0xd70131;var _0x493e26,_0x32a559;let _0x55521f=(_0x493e26=this['_chartEventSubscriptions']['get'](_0xe1b1bb))==null?void 0x0:_0x493e26[_0x2b8e04(0x428)](_0x53086e);_0x55521f==null||(_0x32a559=_0x55521f[_0x2b8e04(0x428)](_0xc0e2ca))==null||_0x32a559['dispose'](),_0x55521f==null||_0x55521f[_0x2b8e04(0x4f7)](_0xc0e2ca);}[_0xd70131(0x464)](_0x20bdb1){const _0x2eaf28=_0xd70131;let _0x20b84d=this['_chartEventSubscriptions'][_0x2eaf28(0x428)](_0x20bdb1);_0x20b84d==null||_0x20b84d[_0x2eaf28(0x429)](_0x499b88=>{const _0x4ebf92=_0x2eaf28;_0x499b88[_0x4ebf92(0x429)](_0x1a8f1e=>_0x1a8f1e['dispose']()),_0x499b88[_0x4ebf92(0x35e)]();}),this[_0x2eaf28(0x342)]['delete'](_0x20bdb1);}['createRuntimeChartStyle'](_0x54ac5b,_0x21e841){const _0x3f2eff=_0xd70131;return _0x721d67(_0x54ac5b,_0x21e841,this[_0x3f2eff(0x2e8)]);}[_0xd70131(0x308)](_0x274554){const _0x3d4943=_0xd70131;return this[_0x3d4943(0x3b4)](_0x274554)==null;}[_0xd70131(0x3b4)](_0x11762b){const _0x33cf73=_0xd70131;var _0x3e4205;let _0x3456e4=this[_0x33cf73(0x49d)][_0x33cf73(0x512)](_0x11762b);if(!_0x3456e4)return _0x33cf73(0x3eb);let {subUnitId:_0x4815b}=_0x3456e4,_0x4011ea=(_0x3e4205=this['_univerInstanceService'][_0x33cf73(0x1b9)](_0xedf715['UniverInstanceType'][_0x33cf73(0x42e)]))==null?void 0x0:_0x3e4205['getActiveSheet']();if(!_0x4011ea)return'missing-active-sheet';if(_0x4011ea[_0x33cf73(0x295)]()!==_0x4815b)return _0x33cf73(0x509);}async[_0xd70131(0x285)](_0x63f8cc,_0x386e60,_0x110d5d,_0x53a92b={}){const _0x4d879d=_0xd70131;let _0x180f1f=this[_0x4d879d(0x36e)][_0x4d879d(0x444)](_0x4995c0['EChartRenderEngineName']);if(!_0x180f1f)return;let _0x32a313=this[_0x4d879d(0x463)][_0x4d879d(0x428)](_0x63f8cc);if(this[_0x4d879d(0x463)]['set'](_0x63f8cc,{'config':_0x386e60,'style':_0x110d5d}),this['_getChartRenderSkipReason'](_0x63f8cc))return;let {canAnimate:_0x5028a4,renderMode:_0x5503de,shouldStartTransientAnimation:_0x37500d,transientAnimationActive:_0x1f5903}=this[_0x4d879d(0x465)](_0x63f8cc,_0x32a313!=null,_0x53a92b[_0x4d879d(0x442)]===!0x0);if(_0x5503de===_0x4995c0[_0x4d879d(0x5b3)][_0x4d879d(0x22e)])this['_disposeChartDomInstance'](_0x63f8cc);else{var _0x18e966;this['_chartHostProvider'][_0x4d879d(0x321)](_0x63f8cc),((_0x18e966=this['_chartModelService'][_0x4d879d(0x1c4)])==null?void 0x0:_0x18e966['id'])===_0x63f8cc&&this[_0x4d879d(0x45e)](_0x63f8cc);}let _0x16d876=_0x5503de===_0x4995c0['ChartRenderMode'][_0x4d879d(0x22e)]?_0x4995c0[_0x4d879d(0x5b3)][_0x4d879d(0x22e)]:_0x4995c0['ChartRenderMode'][_0x4d879d(0x4d9)],_0x33df37=await this[_0x4d879d(0x5ab)][_0x4d879d(0x538)](_0x63f8cc,_0x16d876);if(!_0x33df37){_0x37500d&&this[_0x4d879d(0x376)](_0x63f8cc);return;}this[_0x4d879d(0x5ab)]['setDataUpdateAnimation'](_0x63f8cc,_0x1f5903?_0x4995c0[_0x4d879d(0x383)]:null);let _0x3a1072=this[_0x4d879d(0x36d)](_0x63f8cc,_0x16d876,_0x180f1f);_0x3a1072[_0x4d879d(0x2ba)](_0x33df37);try{let _0x3840b4={'chartId':_0x63f8cc,'config':_0x386e60,'style':_0x110d5d};_0x5028a4&&_0x32a313&&_0x3a1072[_0x4d879d(0x53a)]?await _0x3a1072[_0x4d879d(0x53a)]({'chartId':_0x63f8cc,'config':_0x32a313['config'],'style':_0x32a313[_0x4d879d(0x351)]},_0x3840b4,{'duration':_0x4995c0[_0x4d879d(0x383)]}):await _0x3a1072[_0x4d879d(0x285)](_0x3840b4),await this[_0x4d879d(0x41f)](_0x63f8cc,_0x5503de,_0x3a1072),_0x5028a4&&_0x1f5903&&this[_0x4d879d(0x524)](_0x63f8cc);}catch(_0x460656){if(_0x37500d&&this[_0x4d879d(0x376)](_0x63f8cc),_0x5503de!==_0x4995c0[_0x4d879d(0x5b3)][_0x4d879d(0x22e)])throw _0x460656;}}async[_0xd70131(0x41f)](_0x2ca888,_0x19524b,_0x2e9121){const _0x3742f9=_0xd70131;var _0x41dd1a;if(_0x19524b!==_0x4995c0['ChartRenderMode'][_0x3742f9(0x4d9)]||((_0x41dd1a=this[_0x3742f9(0x2d8)]['activeChartModel'])==null?void 0x0:_0x41dd1a['id'])!==_0x2ca888)return;let _0x2b2f20=await this[_0x3742f9(0x5ab)][_0x3742f9(0x538)](_0x2ca888,_0x4995c0[_0x3742f9(0x5b3)][_0x3742f9(0x22e)]);if(!_0x2b2f20)return;let _0x275942=_0x2b2f20[_0x3742f9(0x390)]();try{let _0x49dd3f=await _0x2e9121[_0x3742f9(0x47b)]();_0x49dd3f&&_0x2b2f20['commitSnapshot']({'type':_0x4995c0[_0x3742f9(0x371)][_0x3742f9(0x315)],'url':_0x49dd3f},_0x275942)&&_0x2b2f20[_0x3742f9(0x1ba)]();}catch{}}[_0xd70131(0x465)](_0x4f3bcb,_0xc00f30,_0x17fa78){const _0x27a6d1=_0xd70131;let _0x67b3de=this[_0x27a6d1(0x4df)](_0x4f3bcb),_0x283a16=_0x67b3de===_0x4995c0['ChartRenderMode']['Dom']&&_0x17fa78&&_0xc00f30&&this[_0x27a6d1(0x43f)](_0x4f3bcb),_0x25eafb=this[_0x27a6d1(0x35c)]['has'](_0x4f3bcb);return{'canAnimate':_0x283a16,'renderMode':_0x25eafb?_0x4995c0[_0x27a6d1(0x5b3)][_0x27a6d1(0x4d9)]:_0x67b3de,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x25eafb};}[_0xd70131(0x43f)](_0x1cfbb6){const _0x5c5814=_0xd70131;var _0x45555b,_0x44abc1,_0x4a73eb,_0x821f3f;if(typeof document>'u'||typeof window>'u'||document[_0x5c5814(0x258)]===_0x5c5814(0x3a5)||(_0x45555b=(_0x44abc1=window)[_0x5c5814(0x48a)])!=null&&(_0x45555b=_0x45555b[_0x5c5814(0x30f)](_0x44abc1,'(prefers-reduced-motion:\x20reduce)'))!=null&&_0x45555b['matches']||(_0x4a73eb=(_0x821f3f=window)['matchMedia'])!=null&&(_0x4a73eb=_0x4a73eb[_0x5c5814(0x30f)](_0x821f3f,_0x5c5814(0x47a)))!=null&&_0x4a73eb[_0x5c5814(0x3a0)])return!0x1;let _0x558bfd=this[_0x5c5814(0x5ab)][_0x5c5814(0x1cf)](_0x1cfbb6);return _0x558bfd!=null&&_0x558bfd[_0x5c5814(0x20a)]>0x0&&_0x558bfd[_0x5c5814(0x549)]>0x0&&_0x558bfd[_0x5c5814(0x1e9)]>0x0&&_0x558bfd[_0x5c5814(0x57f)]>0x0&&_0x558bfd[_0x5c5814(0x206)]<window['innerWidth']&&_0x558bfd[_0x5c5814(0x52e)]<window['innerHeight'];}[_0xd70131(0x3c5)](_0x17f69f){const _0x191a78=_0xd70131;let _0x23daa3=this[_0x191a78(0x3b0)][_0x191a78(0x428)](_0x17f69f);_0x23daa3&&(clearTimeout(_0x23daa3),this['_dataUpdateAnimationTimers'][_0x191a78(0x4f7)](_0x17f69f)),this[_0x191a78(0x35c)][_0x191a78(0x45b)](_0x17f69f),this[_0x191a78(0x5ab)][_0x191a78(0x421)](_0x17f69f,_0x4995c0[_0x191a78(0x383)]);}['_scheduleDataUpdateAnimationEnd'](_0x39090f){const _0x4de803=_0xd70131;let _0x3f5cb=this[_0x4de803(0x3b0)][_0x4de803(0x428)](_0x39090f);_0x3f5cb&&clearTimeout(_0x3f5cb);let _0x28bd0b=setTimeout(()=>{const _0x41320e=_0x4de803;this[_0x41320e(0x3b0)]['delete'](_0x39090f),this['_dataUpdateAnimationChartIds']['delete'](_0x39090f)&&(this[_0x41320e(0x5ab)][_0x41320e(0x421)](_0x39090f,null),this['_disposeChartDomInstance'](_0x39090f),this[_0x41320e(0x4e9)](_0x39090f));},_0x4995c0[_0x4de803(0x383)]);this[_0x4de803(0x3b0)]['set'](_0x39090f,_0x28bd0b);}[_0xd70131(0x376)](_0x505e43){const _0x70019f=_0xd70131;let _0x578fdb=this['_dataUpdateAnimationTimers'][_0x70019f(0x428)](_0x505e43);_0x578fdb&&(clearTimeout(_0x578fdb),this[_0x70019f(0x3b0)]['delete'](_0x505e43)),this[_0x70019f(0x35c)][_0x70019f(0x4f7)](_0x505e43),this['_chartHostProvider']['setDataUpdateAnimation'](_0x505e43,null);}async[_0xd70131(0x327)](_0x4e7f35,_0x18d41e,_0x364824){const _0x495655=_0xd70131;let _0x2af4b3=this[_0x495655(0x438)][_0x495655(0x1f4)](_0x4e7f35,_0x18d41e),_0x349101=this['_drawingManagerService'][_0x495655(0x2eb)](_0x4e7f35,_0x18d41e),_0x47533d=Object[_0x495655(0x28c)](_0x2af4b3??{})[_0x495655(0x47d)](_0x1727f8=>_0x1727f8[_0x495655(0x249)]===_0xedf715[_0x495655(0x221)][_0x495655(0x3f2)]&&_0x1727f8[_0x495655(0x3a5)]!==!0x0);await Promise[_0x495655(0x3a6)](_0x47533d[_0x495655(0x275)](async _0x2bf018=>{const _0x545484=_0x495655;let _0x4003c6=await this[_0x545484(0x45d)](_0x2bf018,_0x349101);_0x4003c6&&(_0x364824[_0x545484(0x1da)](_0x4003c6,_0x3e0c02[_0x545484(0x2dc)]),_0x2bf018[_0x545484(0x280)]&&(0x0,_0x33ffc9[_0x545484(0x4f4)])({'drawingId':_0x2bf018[_0x545484(0x280)],'unitId':_0x4e7f35,'subUnitId':_0x18d41e},_0x4003c6,_0x364824,this[_0x545484(0x438)]));}));}async[_0xd70131(0x45d)](_0xa2b1e1,_0x14cfb2){const _0x258893=_0xd70131;let _0x571ab1=this[_0x258893(0x2d8)]['getChartModel'](_0xa2b1e1[_0x258893(0x547)]),_0x17a816=this['_renderModelManager'][_0x258893(0x444)](_0x4995c0['EChartRenderEngineName']),_0x39db7c=_0xa2b1e1[_0x258893(0x2e6)],_0x3266e2=_0x571ab1==null?void 0x0:_0x571ab1[_0x258893(0x312)];if(!_0x571ab1||!_0x17a816||!_0x39db7c||!_0x3266e2||_0x39db7c[_0x258893(0x20a)]==null||_0x39db7c['height']==null)return null;let _0xa05cf7=new _0x2b9b20(_0xa2b1e1[_0x258893(0x547)],{'width':_0x39db7c[_0x258893(0x20a)],'height':_0x39db7c[_0x258893(0x549)]}),_0x5aeaa0=_0x17a816[_0x258893(0x323)](_0x4995c0['ChartRenderMode'][_0x258893(0x22e)],this['_createChartRenderInstanceContext']());_0x5aeaa0[_0x258893(0x2ba)](_0xa05cf7);let _0x5f4457;try{await _0x5aeaa0['render']({'chartId':_0xa2b1e1[_0x258893(0x547)],'config':_0x3266e2,'style':this['createRuntimeChartStyle'](_0x571ab1,this[_0x258893(0x401)][_0x258893(0x4be)]())});}catch(_0x546ae1){console[_0x258893(0x478)](_0x258893(0x4a9),_0x546ae1);}finally{_0x5f4457=_0xa05cf7[_0x258893(0x2b0)](),_0x5aeaa0[_0x258893(0x205)](),_0xa05cf7[_0x258893(0x205)]();}let _0x1ce003=this['_chartSnapshotStoreService'][_0x258893(0x4ef)]({'unitId':_0xa2b1e1['unitId'],'subUnitId':_0xa2b1e1['subUnitId'],'chartId':_0xa2b1e1['drawingId']}),_0x3ed80f=_0x5f4457??_0x1ce003;if(!_0x3ed80f)return null;let _0x6e8b3a=_0x14cfb2[_0x258893(0x32e)](_0xa2b1e1['drawingId']);return new _0x15d123((0x0,_0x2836bb['getDrawingShapeKeyByDrawingSearch'])(_0xa2b1e1),{..._0x39db7c,..._0x1b885e[_0x258893(0x4ff)],..._0x4331ef(_0xa05cf7[_0x258893(0x351)]),'visible':!0x0,'zIndex':_0x6e8b3a===-0x1?Math[_0x258893(0x575)](_0x14cfb2['length']-0x1,0x0):_0x6e8b3a},()=>_0x3ed80f,void 0x0,_0x5f4457?()=>_0x23009c(_0x5f4457):void 0x0);}['_getOrCreateChartRenderInstance'](_0x165cee,_0x5074b7,_0x50414e){const _0x2e1cd6=_0xd70131;let _0x529232=this[_0x2e1cd6(0x3ff)][_0x2e1cd6(0x428)](_0x165cee);if((_0x529232==null?void 0x0:_0x529232[_0x2e1cd6(0x361)])===_0x5074b7)return _0x529232;_0x529232&&(this[_0x2e1cd6(0x464)](_0x165cee),_0x529232[_0x2e1cd6(0x205)](),this['_chartInstanceMap'][_0x2e1cd6(0x4f7)](_0x165cee));let _0x256735=_0x50414e['createChartInstance'](_0x5074b7,this[_0x2e1cd6(0x3f4)]());return this[_0x2e1cd6(0x3ff)][_0x2e1cd6(0x3e1)](_0x165cee,_0x256735),_0x256735[_0x2e1cd6(0x544)](this[_0x2e1cd6(0x37d)][_0x2e1cd6(0x428)](_0x165cee)===!0x0),this[_0x2e1cd6(0x2e5)](_0x165cee,_0x256735),_0x256735;}[_0xd70131(0x3f4)](){const _0x2fafd7=_0xd70131;return{'resolveHostStyle':({style:_0x1b3c75})=>(0x0,_0x4995c0['resolveDefaultChartHostFrameStyle'])({'style':_0x1b3c75,'getRenderColor':_0x1995b9=>this[_0x2fafd7(0x3b2)][_0x2fafd7(0x560)](_0x1995b9)}),'resolveRenderBackgroundColor':({style:_0x34937c})=>this[_0x2fafd7(0x3b2)][_0x2fafd7(0x560)]((0x0,_0x4995c0['resolveChartStyleBackgroundColor'])(_0x34937c))};}['_disposeChartChangeListeners'](_0x470cfa){const _0x14a2f4=_0xd70131;var _0x2e54ce,_0x70e08f,_0xe6ed48;(_0x2e54ce=this['_chartChangeSubscriptions'][_0x14a2f4(0x428)](_0x470cfa))==null||_0x2e54ce['dispose'](),this[_0x14a2f4(0x5bc)][_0x14a2f4(0x4f7)](_0x470cfa),(_0x70e08f=this[_0x14a2f4(0x3d3)]['get'](_0x470cfa))==null||_0x70e08f[_0x14a2f4(0x58f)](),this[_0x14a2f4(0x3d3)][_0x14a2f4(0x4f7)](_0x470cfa),(_0xe6ed48=this[_0x14a2f4(0x4c4)][_0x14a2f4(0x428)](_0x470cfa))==null||_0xe6ed48[_0x14a2f4(0x58f)](),this[_0x14a2f4(0x4c4)]['delete'](_0x470cfa);}[_0xd70131(0x1f6)](){const _0x1cc94f=_0xd70131;this['_renderDebounceMap'][_0x1cc94f(0x429)](_0x551586=>_0x551586[_0x1cc94f(0x58f)]()),this[_0x1cc94f(0x3d3)][_0x1cc94f(0x35e)](),this['_debounceHandleMap'][_0x1cc94f(0x429)](_0x3c05fa=>_0x3c05fa[_0x1cc94f(0x58f)]()),this['_debounceHandleMap'][_0x1cc94f(0x35e)]();}['dispose'](){const _0x4f3b3f=_0xd70131;this[_0x4f3b3f(0x5bc)][_0x4f3b3f(0x429)](_0x376cb3=>_0x376cb3[_0x4f3b3f(0x205)]()),this[_0x4f3b3f(0x5bc)][_0x4f3b3f(0x35e)](),this[_0x4f3b3f(0x3b0)][_0x4f3b3f(0x429)](_0x522143=>clearTimeout(_0x522143)),this[_0x4f3b3f(0x3b0)][_0x4f3b3f(0x35e)](),this[_0x4f3b3f(0x35c)][_0x4f3b3f(0x35e)](),Array[_0x4f3b3f(0x278)](this['_chartInstanceMap'][_0x4f3b3f(0x336)]())[_0x4f3b3f(0x429)](_0x165d8d=>this[_0x4f3b3f(0x216)](_0x165d8d)),this[_0x4f3b3f(0x271)][_0x4f3b3f(0x35e)](),this[_0x4f3b3f(0x37d)][_0x4f3b3f(0x35e)](),this[_0x4f3b3f(0x1f6)](),this[_0x4f3b3f(0x463)][_0x4f3b3f(0x35e)](),this[_0x4f3b3f(0x396)]=null,this[_0x4f3b3f(0x1c8)]=null,super[_0x4f3b3f(0x205)]();}};_0x55a948=_0x1ce008([_0x4c4d29(0x0,_0x2212a4),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1b885e[_0xd70131(0x568)])),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x3,_0x2836bb[_0xd70131(0x508)]),_0x4c4d29(0x4,_0xedf715[_0xd70131(0x481)]),_0x4c4d29(0x5,(0x0,_0xedf715['Inject'])(_0x3e0c02[_0xd70131(0x2e0)])),_0x4c4d29(0x6,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x2db)])),_0x4c4d29(0x7,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715['Injector'])),_0x4c4d29(0x8,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x4995c0['ChartThemeService'])),_0x4c4d29(0x9,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x4b8)])),_0x4c4d29(0xa,_0xedf715[_0xd70131(0x331)]),_0x4c4d29(0xb,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x4d4f21)),_0x4c4d29(0xc,_0x4995c0[_0xd70131(0x268)])],_0x55a948);let _0x27a99f=(0x0,_0xedf715[_0xd70131(0x424)])(_0xd70131(0x1c5)),_0x3125f9=class extends _0x477057[_0xd70131(0x3b6)]{constructor(_0x177688,_0x219106,_0x3c22c6,_0x32fb42,_0x2fb725){const _0x5dce8b=_0xd70131;super(_0x2fb725),this[_0x5dce8b(0x2d8)]=_0x177688,this[_0x5dce8b(0x39e)]=_0x219106,this[_0x5dce8b(0x582)]=_0x3c22c6,this['_univerInstanceService']=_0x32fb42,_0x5ce1c0(this,_0x5dce8b(0x31f),!0x1),_0x5ce1c0(this,_0x5dce8b(0x56f),new _0x2f2bb7[(_0x5dce8b(0x3f7))](!0x1)),_0x5ce1c0(this,_0x5dce8b(0x1f3),new _0x2f2bb7['BehaviorSubject'](null)),_0x5ce1c0(this,_0x5dce8b(0x1d9),this[_0x5dce8b(0x56f)][_0x5dce8b(0x55d)]()),_0x5ce1c0(this,_0x5dce8b(0x20c),this[_0x5dce8b(0x1f3)][_0x5dce8b(0x55d)]());}get[_0xd70131(0x50f)](){const _0x5626ee=_0xd70131;return this['_chartModelService'][_0x5626ee(0x1c4)]??null;}get['chartEditorOpen'](){const _0x1a877b=_0xd70131;return this['_chartEditorOpen$'][_0x1a877b(0x23c)]();}get['rangeSelectMode'](){const _0x51bc59=_0xd70131;return this[_0x51bc59(0x31f)];}[_0xd70131(0x539)](_0x1c463b){const _0xc9a7a5=_0xd70131;this[_0xc9a7a5(0x31f)]=_0x1c463b;}[_0xd70131(0x277)](_0x14d631){const _0x52b423=_0xd70131;this[_0x52b423(0x56f)][_0x52b423(0x23c)]()!==_0x14d631&&this[_0x52b423(0x56f)]['next'](_0x14d631);}['isElementEditModeActive'](_0x2c1c71){const _0x483e50=_0xd70131;var _0x2842b5;return this[_0x483e50(0x3a8)]&&((_0x2842b5=this[_0x483e50(0x2d8)][_0x483e50(0x1c4)])==null?void 0x0:_0x2842b5['id'])===_0x2c1c71;}['setPanelRoute'](_0x2a6578,_0x4941d7){const _0x3cbae0=_0xd70131;this[_0x3cbae0(0x1f3)]['next']({'chartId':_0x2a6578,'route':_0x4941d7});}[_0xd70131(0x476)](){const _0x383f24=_0xd70131;this[_0x383f24(0x1f3)]['next'](null);}[_0xd70131(0x458)](_0xe12980){const _0x3decfa=_0xd70131;let _0x147676=this['_chartModelService'][_0x3decfa(0x1c4)];_0x147676&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x147676['id'],'range':_0xe12980});}[_0xd70131(0x269)](_0x2446c9){const _0x51a4a5=_0xd70131;let _0x5d54ca=this[_0x51a4a5(0x2d8)][_0x51a4a5(0x1c4)];if(!_0x5d54ca)return;let _0x50fd9e=this[_0x51a4a5(0x39e)][_0x51a4a5(0x34d)](_0x5d54ca['id']);if(!_0x50fd9e||Array[_0x51a4a5(0x305)](_0x50fd9e))return;let _0x47f3b6={..._0x50fd9e,'isRowDirection':_0x2446c9===_0x4995c0[_0x51a4a5(0x32c)][_0x51a4a5(0x3f6)]};this[_0x51a4a5(0x460)]({'chartModelId':_0x5d54ca['id'],'range':_0x47f3b6});}['executeChartUpdateConfig'](_0x45f7cf){const _0x18735c=_0xd70131;var _0x5a15c6;this[_0x18735c(0x582)][_0x18735c(0x472)](_0x1c5438['ChartUpdateConfigCommand']['id'],{..._0x45f7cf,'unitId':((_0x5a15c6=this[_0x18735c(0x3e5)][_0x18735c(0x211)]())==null?void 0x0:_0x5a15c6['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x18187f){const _0x414a99=_0xd70131;var _0xa1ad35;this['_commandService'][_0x414a99(0x472)](_0x1c5438[_0x414a99(0x59f)]['id'],{..._0x18187f,'unitId':((_0xa1ad35=this['_univerInstanceService'][_0x414a99(0x211)]())==null?void 0x0:_0xa1ad35[_0x414a99(0x1fb)]())??''});}[_0xd70131(0x205)](){const _0x22c59f=_0xd70131;this['_chartEditorOpen$'][_0x22c59f(0x243)](),this[_0x22c59f(0x1f3)]['complete'](),super[_0x22c59f(0x205)]();}};_0x3125f9=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x4d5)])),_0x4c4d29(0x2,_0xedf715[_0xd70131(0x1cb)]),_0x4c4d29(0x3,_0xedf715[_0xd70131(0x481)]),_0x4c4d29(0x4,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x477057[_0xd70131(0x1e1)]))],_0x3125f9);var _0x35a6f2;let _0x19260c={'axis':{..._0x477057['DEFAULT_CHART_AXIS_VALUES'],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x477057[_0xd70131(0x41c)],'heatmap':_0x477057[_0xd70131(0x5a2)],'indicatorLine':_0x477057['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'legend':_0x477057[_0xd70131(0x2cb)],'lineAndArea':_0x477057[_0xd70131(0x3b9)],'pareto':_0x477057[_0xd70131(0x3b5)],'pie':_0x477057[_0xd70131(0x1ce)],'relation':{..._0x477057[_0xd70131(0x2c9)],'useValueAsSymbolSize':!0x0},'radar':_0x477057['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x477057[_0xd70131(0x404)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x35a6f2=_0x4995c0[_0xd70131(0x4ed)][_0xd70131(0x4cf)])==null?void 0x0:_0x35a6f2['rightYAxis'])??!0x1}},'style':_0x477057[_0xd70131(0x30d)],'titles':_0x477057['DEFAULT_CHART_TITLE_VALUES'],'trendline':_0x477057[_0xd70131(0x294)],'waterfallStyle':_0x477057[_0xd70131(0x552)],'wordCloud':_0x477057[_0xd70131(0x228)]},_0x19204b=_0x581e37=>_0x581e37['getCurrentUnitOfType'](_0xedf715['UniverInstanceType']['UNIVER_SHEET'])[_0xd70131(0x1fb)](),_0x5d70c3=_0xdc25d5=>{const _0x29a9c7=_0xd70131;var _0x236204;return(_0x236204=_0xdc25d5['getCurrentUnitOfType'](_0xedf715['UniverInstanceType'][_0x29a9c7(0x42e)])['getActiveSheet']())==null?void 0x0:_0x236204[_0x29a9c7(0x295)]();},_0x42ba9c=()=>{const _0x289d60=_0xd70131;var _0x2bf1bb;let _0x14614d=(0x0,_0x64caca[_0x289d60(0x58d)])(_0x27a99f),_0x35a136=(0x0,_0x64caca[_0x289d60(0x58d)])(_0x1c5438['ChartModelService']),_0x3f555c=(0x0,_0x64caca[_0x289d60(0x58d)])(_0xedf715[_0x289d60(0x2db)]),_0x1cf0f2=(0x0,_0x64caca['useDependency'])(_0xedf715['Injector']),_0x11649b=(0x0,_0x1c5438['getAllowedChartTypes'])(_0x1cf0f2),_0x137507=(0x0,_0x2c8eee[_0x289d60(0x230)])(()=>{const _0x5f32c8=_0x289d60;let _0x3ffd08=_0x17fbe5(_0x3c2377[_0x5f32c8(0x59d)](),_0x11649b);return(0x0,_0x477057[_0x5f32c8(0x2cf)])(_0x3ffd08[_0x5f32c8(0x275)](_0x116ded=>({'id':_0x116ded['id'],'label':_0x3f555c['t']('sheets-chart-ui.chartTypes.'+_0x116ded[_0x5f32c8(0x35d)]),'pieSecondaryPlotType':_0x116ded[_0x5f32c8(0x239)],'value':_0x116ded[_0x5f32c8(0x4c8)]})));},[_0x11649b,_0x3f555c]),_0x56b415=(0x0,_0x64caca[_0x289d60(0x42f)])(_0x35a136[_0x289d60(0x3c6)],_0x35a136[_0x289d60(0x1c4)]),_0x7d17c1=(0x0,_0x64caca[_0x289d60(0x42f)])(_0x56b415==null?void 0x0:_0x56b415[_0x289d60(0x372)],_0x56b415==null?void 0x0:_0x56b415[_0x289d60(0x30c)]),_0x14c34e=(0x0,_0x64caca[_0x289d60(0x42f)])(_0x56b415==null?void 0x0:_0x56b415[_0x289d60(0x4aa)],_0x56b415==null?void 0x0:_0x56b415[_0x289d60(0x343)]),_0x564409=(0x0,_0x64caca['useObservable'])(_0x14c34e==null?void 0x0:_0x14c34e[_0x289d60(0x24d)],_0x14c34e==null?void 0x0:_0x14c34e[_0x289d60(0x56b)]()),_0x4e6d3e=Array[_0x289d60(0x305)](_0x564409),_0x220b81=_0x564409&&!_0x4e6d3e&&_0x564409['isRowDirection']?_0x4995c0[_0x289d60(0x32c)][_0x289d60(0x3f6)]:_0x4995c0[_0x289d60(0x32c)][_0x289d60(0x45f)],_0x958d36=_0x4e6d3e?(_0x2bf1bb=_0x564409[0x0])==null?void 0x0:_0x2bf1bb[_0x289d60(0x5ae)]:_0x564409==null?void 0x0:_0x564409[_0x289d60(0x303)];return(0x0,_0x35e3a2[_0x289d60(0x21c)])(_0x289d60(0x25d),{'className':_0x289d60(0x50c),'children':[(0x0,_0x35e3a2[_0x289d60(0x3fc)])(_0x477057[_0x289d60(0x49b)],{'chartTypeOptions':_0x137507,'dataSourceControl':(0x0,_0x35e3a2[_0x289d60(0x3fc)])(_0x3e92e6,{'dataRange':_0x564409,'primaryRange':_0x958d36}),'categoryToggleLabel':_0x3f555c['t'](_0x289d60(0x510),_0x220b81===_0x4995c0['DataOrientation'][_0x289d60(0x3f6)]?_0x220b81+'\x20'+(((_0x958d36==null?void 0x0:_0x958d36[_0x289d60(0x5ae)]['startRow'])??0x0)+0x1):_0x220b81+'\x20'+(0x0,_0xedf715[_0x289d60(0x3a4)])((_0x958d36==null?void 0x0:_0x958d36[_0x289d60(0x5ae)]['startColumn'])??0x0)),'orientationControl':_0x4e6d3e?void 0x0:(0x0,_0x35e3a2[_0x289d60(0x3fc)])(_0x273fc8[_0x289d60(0x1c3)],{'size':_0x289d60(0x1c0),'onClick':()=>_0x14614d[_0x289d60(0x269)](_0x220b81===_0x4995c0[_0x289d60(0x32c)][_0x289d60(0x3f6)]?_0x4995c0[_0x289d60(0x32c)][_0x289d60(0x45f)]:_0x4995c0[_0x289d60(0x32c)]['Row']),'children':_0x3f555c['t'](_0x289d60(0x5af))})}),(0x0,_0x35e3a2[_0x289d60(0x3fc)])(_0x273fc8[_0x289d60(0x3a1)],{'checked':(_0x7d17c1==null?void 0x0:_0x7d17c1[_0x289d60(0x1bf)])===!0x1,'disabled':!_0x56b415,'onChange':_0x5dab66=>{const _0x27b073=_0x289d60;_0x56b415&&_0x14614d[_0x27b073(0x286)]({'chartModelId':_0x56b415['id'],'context':{'plotVisibleOnly':!_0x5dab66}});},'children':_0x3f555c['t'](_0x289d60(0x3af))})]});};function _0x3e92e6(_0x537846){const _0x4a5e72=_0xd70131;let {dataRange:_0x1973ef,primaryRange:_0x3fb581}=_0x537846,_0x36594a=(0x0,_0x64caca[_0x4a5e72(0x58d)])(_0x27a99f),_0x68f3a8=(0x0,_0x64caca[_0x4a5e72(0x58d)])(_0xedf715[_0x4a5e72(0x2db)]),_0x3f6159=(0x0,_0x64caca['useDependency'])(_0xedf715[_0x4a5e72(0x481)]),_0x4c708b=(0x0,_0x64caca['useDependency'])(_0xedf715['IContextService']),[_0x146262,_0x24495d]=(0x0,_0x2c8eee[_0x4a5e72(0x415)])(!0x1),[_0x13db0a,_0x4c83ad]=(0x0,_0x2c8eee[_0x4a5e72(0x415)])(!0x1),[_0x1a3e83,_0x5b20e7]=(0x0,_0x2c8eee[_0x4a5e72(0x415)])(),_0x4bdc85=_0x19204b(_0x3f6159),_0x51c600=_0x5d70c3(_0x3f6159),_0x5c11fd=_0x1973ef?_0x59e504(_0x1973ef,_0x3f6159):'',_0x2386a1=(0x0,_0x2c8eee[_0x4a5e72(0x39f)])(_0x5c11fd),_0x4e77ec=(0x0,_0x2c8eee[_0x4a5e72(0x39f)])(void 0x0),_0x2547f0=(0x0,_0x2c8eee[_0x4a5e72(0x39f)])(null);(0x0,_0x2c8eee[_0x4a5e72(0x5c2)])(()=>{_0x36594a['setRangeSelectMode'](_0x146262),_0x4c708b['setContextValue'](_0xedf715['FOCUSING_PANEL_EDITOR'],_0x146262);},[_0x4c708b,_0x146262,_0x36594a]),(0x0,_0x2c8eee[_0x4a5e72(0x5c2)])(()=>()=>{const _0x41f355=_0x4a5e72;_0x36594a[_0x41f355(0x539)](!0x1),_0x4c708b[_0x41f355(0x28f)](_0xedf715[_0x41f355(0x407)],!0x1);},[_0x4c708b,_0x36594a]);let _0x1f2f9b=(0x0,_0x2c8eee[_0x4a5e72(0x1e0)])(_0x3c9923=>{const _0x23f237=_0x4a5e72;var _0x17e253;if(_0x59e504(_0x1973ef,_0x3f6159)===_0x3c9923)return _0x5b20e7(void 0x0),!0x0;let _0x5c3bef=_0x3c9923[_0x23f237(0x3aa)](_0x3b10d9[_0x23f237(0x262)]['COMMA']);if(!_0x3c9923[_0x23f237(0x52d)]()||_0x5c3bef['length']!==0x1||!((_0x17e253=_0x2547f0[_0x23f237(0x557)])!=null&&_0x17e253[_0x23f237(0x362)]()))return _0x5b20e7(_0x68f3a8['t'](_0x23f237(0x3d5))),!0x1;let {unitId:_0x69725e,sheetName:_0x2b1997,range:_0x1ecc5b}=(0x0,_0x3b10d9['deserializeRangeWithSheet'])(_0x5c3bef[0x0]),_0x2d7e98=_0x69725e||_0x4bdc85,_0x4d4f50=_0x3f6159[_0x23f237(0x53d)](_0x2d7e98),_0x342a2e=(_0x3fb581==null?void 0x0:_0x3fb581[_0x23f237(0x4e0)])===_0x2d7e98?_0x3fb581[_0x23f237(0x3ab)]:_0x51c600,_0x5c61bf=_0x2b1997?_0x4d4f50==null?void 0x0:_0x4d4f50[_0x23f237(0x59b)](_0x2b1997):_0x4d4f50==null?void 0x0:_0x4d4f50['getSheetBySheetId'](_0x342a2e??'');return!_0x4d4f50||!_0x5c61bf||!(0x0,_0xedf715[_0x23f237(0x4f1)])(_0x1ecc5b,_0x5c61bf)?(_0x5b20e7(_0x68f3a8['t'](_0x23f237(0x3d5))),!0x1):(_0x5b20e7(void 0x0),_0x36594a['setDataRange']({'rangeInfo':{'range':_0x1ecc5b,'unitId':_0x2d7e98,'subUnitId':_0x5c61bf[_0x23f237(0x295)]()}}),!0x0);},[_0x1973ef,_0x68f3a8,_0x3fb581,_0x36594a,_0x51c600,_0x4bdc85,_0x3f6159]),_0x202fb4=(0x0,_0x2c8eee[_0x4a5e72(0x230)])(()=>({'keyCodes':[{'keyCode':_0x64caca[_0x4a5e72(0x570)][_0x4a5e72(0x499)],'nativeTextEditorBehavior':_0x64caca[_0x4a5e72(0x2d9)][_0x4a5e72(0x335)]}],'handler':_0x398ca9=>{const _0x559c97=_0x4a5e72;_0x398ca9===_0x64caca['KeyCode'][_0x559c97(0x499)]&&_0x1f2f9b(_0x2386a1['current'])&&(_0x4e77ec['current']=_0x2386a1[_0x559c97(0x557)]);}}),[_0x1f2f9b]);return(0x0,_0x35e3a2[_0x4a5e72(0x3fc)])(_0x4a5e72(0x25d),{'className':_0x4a5e72(0x48e),'children':(0x0,_0x35e3a2[_0x4a5e72(0x21c)])(_0x4a5e72(0x25d),{'children':[(0x0,_0x35e3a2['jsx'])(_0x477057[_0x4a5e72(0x392)],{'title':_0x68f3a8['t'](_0x4a5e72(0x439))}),(0x0,_0x35e3a2[_0x4a5e72(0x3fc)])(_0x4581d5[_0x4a5e72(0x527)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4bdc85,'subUnitId':_0x51c600,'initialValue':_0x5c11fd,'keyboardEventConfig':_0x202fb4,'selectorRef':_0x2547f0,'onChange':(_0x2e5e65,_0x261736)=>{_0x2386a1['current']=_0x261736,_0x13db0a&&_0x4e77ec['current']!==_0x261736&&_0x1f2f9b(_0x261736)&&(_0x4e77ec['current']=_0x261736);},'onFocusChange':(_0x486e49,_0x4eac63)=>{const _0x574ee1=_0x4a5e72;if(_0x4eac63!==void 0x0&&(_0x2386a1[_0x574ee1(0x557)]=_0x4eac63),_0x13db0a||_0x24495d(_0x486e49),_0x486e49)_0x4e77ec['current']=_0x2386a1[_0x574ee1(0x557)];else{let _0x453989=_0x4e77ec['current'];_0x4e77ec['current']=void 0x0,_0x453989!==void 0x0&&_0x2386a1[_0x574ee1(0x557)]!==_0x453989&&_0x1f2f9b(_0x2386a1['current']);}},'onRangeSelectorDialogVisibleChange':_0x28e62b=>{_0x4c83ad(_0x28e62b),_0x24495d(_0x28e62b);}}),_0x1a3e83?(0x0,_0x35e3a2[_0x4a5e72(0x3fc)])('div',{'className':_0x4a5e72(0x5bf),'children':_0x1a3e83}):null]})});}function _0x257e09(_0x44a7f8){const _0x227c48=_0xd70131;return(0x0,_0x35e3a2['jsxs'])(_0x477057['ChartSectionAccordionItem'],{'id':_0x44a7f8['id'],'children':[(0x0,_0x35e3a2[_0x227c48(0x3fc)])(_0x477057['ChartSectionAccordionTrigger'],{'children':_0x44a7f8[_0x227c48(0x1fa)]}),(0x0,_0x35e3a2[_0x227c48(0x3fc)])(_0x477057[_0x227c48(0x22a)],{'children':_0x44a7f8[_0x227c48(0x272)]})]});}let _0x4e2253=_0x402959=>{const _0x56b7c9=_0xd70131;let _0x3c6c2f=(0x0,_0x64caca['useDependency'])(_0xedf715[_0x56b7c9(0x2db)]),_0x22048a=(0x0,_0x64caca[_0x56b7c9(0x58d)])(_0x27a99f),_0x55fc3c=(0x0,_0x64caca[_0x56b7c9(0x58d)])(_0x1c5438[_0x56b7c9(0x52a)]),_0x482d5f=(0x0,_0x64caca[_0x56b7c9(0x42f)])(_0x55fc3c[_0x56b7c9(0x3c6)],_0x55fc3c[_0x56b7c9(0x1c4)]),_0x3318d9=(0x0,_0x64caca['useObservable'])(_0x22048a[_0x56b7c9(0x20c)],null),_0x3dc58d=_0x3318d9&&_0x3318d9[_0x56b7c9(0x477)]===(_0x482d5f==null?void 0x0:_0x482d5f['id'])?_0x3318d9[_0x56b7c9(0x484)]:null,_0x4ce9ac=(0x0,_0x477057[_0x56b7c9(0x41e)])(),_0x194551=(0x0,_0x477057[_0x56b7c9(0x2fd)])(),[_0x29a729,_0x50d638]=(0x0,_0x2c8eee[_0x56b7c9(0x415)])(null);(0x0,_0x2c8eee[_0x56b7c9(0x5c2)])(()=>{const _0x41ae84=_0x56b7c9;_0x3dc58d!=null&&_0x3dc58d[_0x41ae84(0x459)]&&_0x50d638(_0x3dc58d['section']);},[_0x3dc58d]);let _0xd3c706=_0x4995c0['chartBitsUtils']['baseOn'](_0x4ce9ac,_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x24e)]),_0x1495fc=_0x4ce9ac===_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x27a)],_0x2b3bd2=_0x4ce9ac===_0x4995c0['ChartTypeBits'][_0x56b7c9(0x1d8)],_0x6a09d4=_0x4ce9ac===_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x2c5)],_0x1f5f26=_0x4995c0['chartBitsUtils'][_0x56b7c9(0x2f6)](_0x4ce9ac,_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x1c7)]),_0x52c8b=_0x4ce9ac===_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x42c)],_0x357e00=_0x4ce9ac===_0x4995c0[_0x56b7c9(0x3cb)]['Waterfall'],_0x520da5=_0x4ce9ac===_0x4995c0['ChartTypeBits']['Pareto'],_0x56ab19=_0x4ce9ac===_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x5a1)],_0x4d5494,_0x266479;switch(_0x4ce9ac){case _0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x2c0)]:_0x4d5494=_0x477057[_0x56b7c9(0x40f)]['Candlestick'],_0x266479=_0x3c6c2f['t'](_0x56b7c9(0x492));break;case _0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x518)]:_0x4d5494=_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x518)],_0x266479=_0x3c6c2f['t'](_0x56b7c9(0x378));break;case _0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x505)]:_0x4d5494=_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x505)],_0x266479=_0x3c6c2f['t'](_0x56b7c9(0x5c0));break;case _0x4995c0['ChartTypeBits']['Sunburst']:_0x4d5494=_0x477057['ChartEditPanelSection'][_0x56b7c9(0x1f0)],_0x266479=_0x3c6c2f['t'](_0x56b7c9(0x572));break;case _0x4995c0[_0x56b7c9(0x3cb)]['Gauge']:_0x4d5494=_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x231)],_0x266479=_0x3c6c2f['t'](_0x56b7c9(0x2dd));break;case _0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x400)]:_0x4d5494=_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x400)],_0x266479=_0x3c6c2f['t'](_0x56b7c9(0x391));}let _0x19d1a2=(0x0,_0x477057[_0x56b7c9(0x290)])(_0x4ce9ac,_0x477057[_0x56b7c9(0x251)]['GeneralSeries'])&&!_0x1f5f26&&!_0x520da5;return(0x0,_0x35e3a2['jsxs'])(_0x477057['ChartSectionAccordion'],{'value':_0x29a729,'onChange':_0x50d638,'children':[(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x29a)],'label':_0x3c6c2f['t']('sheets-chart-ui.common.chartStyle'),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x4cd)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x351)]})}),(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057['ChartEditPanelSection']['ChartAndAxisTitles'],'label':_0x3c6c2f['t'](_0x56b7c9(0x337)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x27f)],{'commitMode':_0x56b7c9(0x35b),'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x224)],'selectedTitleKey':_0x3dc58d==null?void 0x0:_0x3dc58d[_0x56b7c9(0x51a)]})}),(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x20f)],{'section':_0x56b7c9(0x450)}),_0x19d1a2&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x37f)],'label':_0x3c6c2f['t']('sheets-chart-ui.common.series'),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057['ChartSeriesSection'],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)]['series'],'NumberFormatField':_0x477057[_0x56b7c9(0x364)],'selectedSeriesId':_0x3dc58d==null?void 0x0:_0x3dc58d[_0x56b7c9(0x530)]})}),_0x357e00&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x49e)],'label':_0x3c6c2f['t'](_0x56b7c9(0x3c0)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057['ChartWaterfallStyleSection'],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x3e8)],'getDefaultBucketName':({seriesName:_0x3aeddb,target:_0x3fdc46})=>_0x3fdc46===_0x4995c0[_0x56b7c9(0x485)][_0x56b7c9(0x2f0)]?_0x3c6c2f['t'](_0x56b7c9(0x4a0)):_0x3aeddb?_0x3aeddb+'-('+_0x3c6c2f['t'](_0x3fdc46===_0x4995c0[_0x56b7c9(0x485)][_0x56b7c9(0x410)]?_0x56b7c9(0x54b):_0x56b7c9(0x4fc))+')':'','NumberFormatField':_0x477057[_0x56b7c9(0x364)],'selectedSeriesId':_0x3dc58d==null?void 0x0:_0x3dc58d[_0x56b7c9(0x530)]})}),_0x520da5&&(0x0,_0x35e3a2[_0x56b7c9(0x21c)])(_0x35e3a2['Fragment'],{'children':[(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)]['ParetoBarSeries'],'label':_0x3c6c2f['t']('sheets-chart-ui.section.paretoBar'),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x420)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x523)],'NumberFormatField':_0x477057[_0x56b7c9(0x364)],'showDataPointEditor':!0x0,'target':_0x56b7c9(0x2f5)})}),(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)]['ParetoLineSeries'],'label':_0x3c6c2f['t'](_0x56b7c9(0x2fb)),'children':(0x0,_0x35e3a2['jsx'])(_0x477057[_0x56b7c9(0x420)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x523)],'NumberFormatField':_0x477057[_0x56b7c9(0x364)],'showDataPointEditor':!0x1,'target':'cumulativeLineStyle'})})]}),_0xd3c706&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057['ChartEditPanelSection']['PieStyle'],'label':_0x3c6c2f['t'](_0x56b7c9(0x2a5)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x2b2)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)]['pie'],'NumberFormatField':_0x477057[_0x56b7c9(0x364)]})}),_0x2b3bd2&&(0x0,_0x35e3a2['jsx'])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x1d8)],'label':_0x3c6c2f['t'](_0x56b7c9(0x4a1)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x33e)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x236)]})}),_0x1495fc&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x27a)],'label':_0x3c6c2f['t'](_0x56b7c9(0x302)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x28a)],{'defaultValues':_0x402959['defaultValues']['radar']})}),_0x6a09d4&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x2c5)],'label':_0x3c6c2f['t'](_0x56b7c9(0x370)),'children':(0x0,_0x35e3a2['jsx'])(_0x477057['ChartFunnelStyleSection'],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x31b)],'gapControl':_0x56b7c9(0x2f9)})}),_0x56ab19&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x5a1)],'label':_0x3c6c2f['t']('sheets-chart-ui.common.heatmap'),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x229)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x55f)]})}),_0x52c8b&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x42c)],'label':_0x3c6c2f['t'](_0x56b7c9(0x526)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057['ChartRelationStyleSection'],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x41a)]})}),(0x0,_0x477057[_0x56b7c9(0x1d0)])(_0x4ce9ac)&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)]['LineAndArea'],'label':_0x3c6c2f['t'](_0x4995c0[_0x56b7c9(0x543)][_0x56b7c9(0x2f6)](_0x4ce9ac,_0x4995c0[_0x56b7c9(0x3cb)][_0x56b7c9(0x38e)])?_0x56b7c9(0x554):_0x56b7c9(0x39d)),'children':(0x0,_0x35e3a2['jsx'])(_0x477057[_0x56b7c9(0x462)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x1d1)],'lineStyleControl':_0x56b7c9(0x2ef)})}),(0x0,_0x477057[_0x56b7c9(0x290)])(_0x4ce9ac,_0x477057[_0x56b7c9(0x251)][_0x56b7c9(0x50a)])&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x50a)],'label':_0x3c6c2f['t'](_0x56b7c9(0x349)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x26f)],{'defaultValues':_0x402959['defaultValues'][_0x56b7c9(0x340)]})}),(0x0,_0x477057['chartTypeSupportsCapability'])(_0x4ce9ac,_0x477057[_0x56b7c9(0x251)][_0x56b7c9(0x4ca)])&&(0x0,_0x35e3a2[_0x56b7c9(0x21c)])(_0x35e3a2['Fragment'],{'children':[(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x519)],'label':_0x3c6c2f['t'](_0x56b7c9(0x35a)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057['ChartAxisSection'],{'axis':'x','defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x316)],'NumberFormatField':_0x477057[_0x56b7c9(0x364)]})}),(0x0,_0x35e3a2['jsx'])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x386)],'label':_0x3c6c2f['t'](_0x56b7c9(0x443)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x213)],{'axis':'y','defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x316)],'NumberFormatField':_0x477057[_0x56b7c9(0x364)]})}),(0x0,_0x35e3a2['jsx'])(_0x477057[_0x56b7c9(0x20f)],{'section':'depthAxis'}),_0x194551&&(0x0,_0x35e3a2['jsx'])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x381)],'label':_0x3c6c2f['t'](_0x56b7c9(0x289)),'children':(0x0,_0x35e3a2['jsx'])(_0x477057[_0x56b7c9(0x213)],{'axis':_0x56b7c9(0x2ae),'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x316)],'NumberFormatField':_0x477057[_0x56b7c9(0x364)]})}),(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x545)],'label':_0x3c6c2f['t']('sheets-chart-ui.section.gridlinesAndTicks'),'children':(0x0,_0x35e3a2['jsx'])(_0x477057[_0x56b7c9(0x365)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x316)]})})]}),(0x0,_0x477057[_0x56b7c9(0x290)])(_0x4ce9ac,_0x477057[_0x56b7c9(0x251)][_0x56b7c9(0x4e5)])&&(0x0,_0x35e3a2['jsx'])(_0x257e09,{'id':_0x477057[_0x56b7c9(0x40f)][_0x56b7c9(0x4e5)],'label':_0x3c6c2f['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057[_0x56b7c9(0x425)],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x53e)]})}),(0x0,_0x4995c0[_0x56b7c9(0x4cb)])(_0x4ce9ac)&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x477057['ChartEditPanelSection'][_0x56b7c9(0x37c)],'label':_0x3c6c2f['t'](_0x56b7c9(0x36f)),'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057['ChartTrendlineSection'],{'defaultValues':_0x402959[_0x56b7c9(0x2f1)][_0x56b7c9(0x33c)]})}),_0x4d5494&&_0x266479&&(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x257e09,{'id':_0x4d5494,'label':_0x266479,'children':(0x0,_0x35e3a2[_0x56b7c9(0x3fc)])(_0x477057['ChartTypeSpecificStyleSection'],{})})]});};function _0x4c19db(_0x184efa){const _0x3a16d6=_0xd70131;let {className:_0x41fba9}=_0x184efa,[_0x4048cf,_0x42b3fa]=(0x0,_0x2c8eee['useState'])(_0x477057[_0x3a16d6(0x298)][_0x3a16d6(0x5b9)]),_0x51853b=(0x0,_0x64caca[_0x3a16d6(0x58d)])(_0xedf715['Injector']),_0x2807c5=(0x0,_0x64caca[_0x3a16d6(0x58d)])(_0xedf715['LocaleService']),_0x3fe6df=(0x0,_0x64caca[_0x3a16d6(0x58d)])(_0x27a99f),_0x1c5b00=(0x0,_0x64caca[_0x3a16d6(0x58d)])(_0x1c5438[_0x3a16d6(0x52a)]),_0xb62685=(0x0,_0x64caca[_0x3a16d6(0x58d)])(_0x1c5438['SheetsChartService']),_0x5a5337=(0x0,_0x64caca[_0x3a16d6(0x42f)])(_0x1c5b00[_0x3a16d6(0x3c6)],_0x1c5b00[_0x3a16d6(0x1c4)]),_0x46f781=(0x0,_0x64caca[_0x3a16d6(0x42f)])(_0x3fe6df[_0x3a16d6(0x20c)],null),_0x273d09=(0x0,_0x2c8eee[_0x3a16d6(0x230)])(()=>{const _0xac2ad2=_0x3a16d6;var _0x5bc7ab;if(!_0x5a5337)return null;let _0x366ff7=_0xb62685[_0xac2ad2(0x34d)](_0x5a5337['id']);if(!_0x366ff7)return null;let _0x2824f8=Array[_0xac2ad2(0x305)](_0x366ff7)?(_0x5bc7ab=_0x366ff7[0x0])==null?void 0x0:_0x5bc7ab[_0xac2ad2(0x5ae)]:_0x366ff7[_0xac2ad2(0x303)];return _0x2824f8?new _0x477057[(_0xac2ad2(0x3f5))](_0x5a5337,new _0x1c5438['SheetChartConfigAdapter']({'unitId':_0x2824f8[_0xac2ad2(0x4e0)],'subUnitId':_0x2824f8[_0xac2ad2(0x3ab)],'chartId':_0x5a5337['id'],'injector':_0x51853b})):null;},[_0x5a5337,_0x51853b,_0xb62685]);if((0x0,_0x2c8eee[_0x3a16d6(0x5c2)])(()=>{const _0x444544=_0x3a16d6;var _0x2a9713,_0x486bc4;_0x5a5337&&(_0x46f781==null?void 0x0:_0x46f781['chartId'])===_0x5a5337['id']&&(((_0x2a9713=_0x46f781[_0x444544(0x484)])==null?void 0x0:_0x2a9713['tab'])===_0x477057[_0x444544(0x298)][_0x444544(0x1dd)]&&_0x42b3fa(_0x477057[_0x444544(0x298)][_0x444544(0x1dd)]),((_0x486bc4=_0x46f781[_0x444544(0x484)])==null?void 0x0:_0x486bc4[_0x444544(0x325)])===_0x477057['ChartEditPanelTab'][_0x444544(0x5b9)]&&_0x42b3fa(_0x477057[_0x444544(0x298)][_0x444544(0x5b9)]));},[_0x5a5337,_0x46f781]),!_0x273d09)return null;let _0x4de133=(0x0,_0x35e3a2['jsx'])(_0x3a16d6(0x25d),{'className':_0x3a16d6(0x299)+(_0x4048cf===_0x477057[_0x3a16d6(0x298)][_0x3a16d6(0x1dd)]?'univer-overflow-visible':_0x3a16d6(0x4b4))+_0x3a16d6(0x24f)+(_0x41fba9??'')+_0x3a16d6(0x25c),'children':(0x0,_0x35e3a2[_0x3a16d6(0x3fc)])(_0x477057[_0x3a16d6(0x4d8)],{'ariaLabel':_0x2807c5['t'](_0x3a16d6(0x2c6)),'activeTab':_0x4048cf,'onTabChange':_0x42b3fa,'tabListClassName':_0x3a16d6(0x1ff),'panelClassName':_0x4048cf===_0x477057[_0x3a16d6(0x298)][_0x3a16d6(0x1dd)]?_0x3a16d6(0x24a):void 0x0,'tabs':[{'id':_0x477057['ChartEditPanelTab'][_0x3a16d6(0x5b9)],'panelId':_0x47082d,'title':_0x2807c5['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x35e3a2[_0x3a16d6(0x3fc)])(_0x42ba9c,{})},{'id':_0x477057[_0x3a16d6(0x298)][_0x3a16d6(0x1dd)],'panelId':_0x2803b3,'title':_0x2807c5['t'](_0x3a16d6(0x2ab)),'content':(0x0,_0x35e3a2['jsx'])(_0x4e2253,{'defaultValues':_0x19260c})}]})});return(0x0,_0x35e3a2['jsx'])(_0x477057[_0x3a16d6(0x395)],{'chartUIService':_0x3fe6df,'hostAdapter':_0x273d09,'children':_0x4de133});}let _0x379a75=_0xd70131(0x2d5),_0x47082d=_0xd70131(0x3fd),_0x2803b3=_0xd70131(0x341);function _0x29b263(_0x15f392){return _0x15f392['length']===0x1&&_0x40a67b(_0x15f392[0x0]);}function _0x40a67b(_0x5d12b0){const _0x30cbbb=_0xd70131;return(_0x5d12b0==null?void 0x0:_0x5d12b0[_0x30cbbb(0x249)])===_0xedf715['DrawingTypeEnum'][_0x30cbbb(0x3f2)]&&!_0x5d12b0['groupId'];}let _0x14f5a2=class extends _0xedf715['Disposable']{constructor(_0x5ebe56,_0x254465,_0x5a95ac,_0x4d1cf6,_0x56c73b,_0x317e78,_0x2fea1a,_0x324aa7,_0x178023,_0x24598a,_0x4dde9e,_0x338c7c,_0x41a10a,_0x1c55c9,_0x2b98d5){const _0x3f10f2=_0xd70131;var _0x10393b;super(),this[_0x3f10f2(0x438)]=_0x5ebe56,this[_0x3f10f2(0x3e5)]=_0x254465,this[_0x3f10f2(0x2d8)]=_0x5a95ac,this[_0x3f10f2(0x39e)]=_0x4d1cf6,this[_0x3f10f2(0x304)]=_0x56c73b,this[_0x3f10f2(0x34c)]=_0x317e78,this[_0x3f10f2(0x322)]=_0x2fea1a,this[_0x3f10f2(0x3e9)]=_0x324aa7,this[_0x3f10f2(0x49d)]=_0x178023,this['_sheetCanvasPopManagerService']=_0x24598a,this['_commandService']=_0x4dde9e,this[_0x3f10f2(0x433)]=_0x338c7c,this[_0x3f10f2(0x59a)]=_0x41a10a,this[_0x3f10f2(0x401)]=_0x1c55c9,_0x5ce1c0(this,_0x3f10f2(0x263),null),_0x5ce1c0(this,'_isChartElementEditEnabled',void 0x0),this[_0x3f10f2(0x4c3)]=((_0x10393b=_0x2b98d5[_0x3f10f2(0x227)](_0x3f10f2(0x51d)))==null?void 0x0:_0x10393b[_0x3f10f2(0x1d7)])===!0x0,this[_0x3f10f2(0x598)](),this['disposeWithMe'](this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0xedf715[_0x3f10f2(0x37e)][_0x3f10f2(0x42e)])[_0x3f10f2(0x437)](_0x4bb0fc=>{const _0x2e7f8e=_0x3f10f2;var _0x275bd6;_0x4bb0fc||(_0x275bd6=this[_0x2e7f8e(0x263)])==null||_0x275bd6[_0x2e7f8e(0x205)]();})),this[_0x3f10f2(0x2ff)]((0x0,_0xedf715[_0x3f10f2(0x358)])(this[_0x3f10f2(0x34c)]['onDoubleClick$']['subscribe'](async({drawing:_0x194aa2})=>{await this['_handleDrawingDoubleClick'](_0x194aa2);})));}['_openPanel'](){const _0x330e1b=_0xd70131;this[_0x330e1b(0x263)]=this[_0x330e1b(0x322)][_0x330e1b(0x1dc)]({'id':_0x379a75,'header':{'title':this['_localeService']['t'](_0x330e1b(0x2c6))},'width':0x154,'children':{'label':_0x379a75},'onClose':()=>{const _0x456688=_0x330e1b;this[_0x456688(0x263)]=null,this['_deactivateEditPanelState'](),this[_0x456688(0x2d8)][_0x456688(0x1c4)]&&this[_0x456688(0x2d8)]['setActiveChartModel'](null),this[_0x456688(0x438)][_0x456688(0x57c)](null),this[_0x456688(0x59a)][_0x456688(0x28f)](_0xedf715[_0x456688(0x4bc)],!0x1);}});}[_0xd70131(0x3ed)](){const _0x11d15b=_0xd70131;let _0x458242=this[_0x11d15b(0x263)];this[_0x11d15b(0x263)]=null,this[_0x11d15b(0x5b0)](),this[_0x11d15b(0x2d8)][_0x11d15b(0x1c4)]&&this[_0x11d15b(0x2d8)][_0x11d15b(0x531)](null),_0x458242==null||_0x458242[_0x11d15b(0x205)]();}[_0xd70131(0x515)](){const _0x4c11e5=_0xd70131;let _0x412db1=this[_0x4c11e5(0x3e5)]['getCurrentUnitOfType'](_0xedf715[_0x4c11e5(0x37e)][_0x4c11e5(0x42e)]);this['disposeWithMe'](this[_0x4c11e5(0x322)][_0x4c11e5(0x593)][_0x4c11e5(0x437)](_0x25e9d1=>{const _0x4bdcfa=_0x4c11e5;_0x25e9d1['id']===_0x4bdcfa(0x2d5)&&(_0x25e9d1[_0x4bdcfa(0x405)]||this[_0x4bdcfa(0x322)][_0x4bdcfa(0x593)][_0x4bdcfa(0x3d1)]({'visible':!0x1}));})),this[_0x4c11e5(0x2ff)]((0x0,_0x2f2bb7[_0x4c11e5(0x1e5)])([this[_0x4c11e5(0x2d8)][_0x4c11e5(0x3c6)],this[_0x4c11e5(0x433)][_0x4c11e5(0x1d9)]])[_0x4c11e5(0x256)]((0x0,_0x2f2bb7['map'])(([_0x36557e,_0x7e5c84])=>_0x7e5c84?(_0x36557e==null?void 0x0:_0x36557e['id'])??null:null),(0x0,_0x2f2bb7[_0x4c11e5(0x393)])(),(0x0,_0x2f2bb7[_0x4c11e5(0x55c)])(null),(0x0,_0x2f2bb7[_0x4c11e5(0x22f)])())[_0x4c11e5(0x437)](([_0x8a4cc8,_0x478c1e])=>{const _0x224cea=_0x4c11e5;this[_0x224cea(0x542)](_0x8a4cc8,_0x478c1e);})),this[_0x4c11e5(0x2ff)](this['_chartModelService'][_0x4c11e5(0x3c6)][_0x4c11e5(0x437)](_0x164b67=>{const _0x26b6cf=_0x4c11e5;!_0x164b67&&this[_0x26b6cf(0x263)]&&this[_0x26b6cf(0x3ed)]();})),this[_0x4c11e5(0x2ff)](this[_0x4c11e5(0x582)][_0x4c11e5(0x2f8)](_0x3cd744=>{const _0x471d41=_0x4c11e5;if(_0x3cd744['id']===_0x27e464['id']){let _0x3e4040=_0x3cd744[_0x471d41(0x58a)];if(!_0x40a67b(this[_0x471d41(0x438)][_0x471d41(0x5be)]({'unitId':_0x3e4040[_0x471d41(0x4e0)],'subUnitId':_0x3e4040[_0x471d41(0x3ab)],'drawingId':_0x3e4040[_0x471d41(0x547)]})))return;this[_0x471d41(0x27c)](_0x3e4040['drawingId'],_0x3e4040[_0x471d41(0x484)]);}if(_0x3cd744['id']===_0x5b262b['id']&&this[_0x471d41(0x3ed)](),_0x3cd744['id']===_0x1c5438[_0x471d41(0x260)]['id']){var _0x517983;_0x3cd744[_0x471d41(0x58a)][_0x471d41(0x477)]===((_0x517983=this[_0x471d41(0x2d8)][_0x471d41(0x1c4)])==null?void 0x0:_0x517983['id'])&&this[_0x471d41(0x3ed)](),this[_0x471d41(0x59a)][_0x471d41(0x54e)](_0xedf715[_0x471d41(0x4bc)])&&(this[_0x471d41(0x59a)][_0x471d41(0x28f)](_0xedf715['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x471d41(0x438)][_0x471d41(0x57c)](null));}})),this[_0x4c11e5(0x2ff)](this[_0x4c11e5(0x49d)][_0x4c11e5(0x2c1)]['subscribe'](({id:_0x170336})=>{const _0x533b18=_0x4c11e5;this['_sheetsChartUIService'][_0x533b18(0x1ee)](_0x170336)&&this[_0x533b18(0x3ed)]();})),this[_0x4c11e5(0x2ff)](this[_0x4c11e5(0x49d)]['transformChange$'][_0x4c11e5(0x437)](({id:_0x41d306})=>{const _0x547389=_0x4c11e5;this['_sheetsChartUIService']['isElementEditModeActive'](_0x41d306)&&(this[_0x547389(0x433)][_0x547389(0x476)](),this[_0x547389(0x304)][_0x547389(0x544)](_0x41d306,!0x1),this[_0x547389(0x245)](_0x41d306)&&this['_chartRenderService'][_0x547389(0x544)](_0x41d306,!0x0));})),this[_0x4c11e5(0x2ff)](this[_0x4c11e5(0x438)]['focus$']['subscribe'](_0x49f18d=>{const _0x59bf8f=_0x4c11e5;let _0x3ff994=_0x49f18d[0x0];if(!this[_0x59bf8f(0x433)][_0x59bf8f(0x3ea)]){if(_0x29b263(_0x49f18d)){var _0x3c8627;let _0x3785f6=this[_0x59bf8f(0x2d8)][_0x59bf8f(0x46b)](_0x3ff994[_0x59bf8f(0x547)]);_0x3785f6&&this[_0x59bf8f(0x4e6)](_0x3785f6['id'])&&((_0x3c8627=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x3c8627['id'])!==_0x3785f6['id']&&this[_0x59bf8f(0x2d8)][_0x59bf8f(0x531)](_0x3785f6);}else this['_chartModelService'][_0x59bf8f(0x1c4)]&&this[_0x59bf8f(0x2d8)][_0x59bf8f(0x531)](null),!_0x3ff994&&!this[_0x59bf8f(0x433)][_0x59bf8f(0x3ea)]&&this[_0x59bf8f(0x3ed)]();}})),_0x412db1&&(this[_0x4c11e5(0x2ff)](_0x412db1['sheetDisposed$'][_0x4c11e5(0x437)](()=>{this['hidePanel']();})),this['disposeWithMe'](_0x412db1['activeSheet$'][_0x4c11e5(0x437)](()=>{const _0xaad213=_0x4c11e5;this[_0xaad213(0x3ed)]();})));}async[_0xd70131(0x379)](_0x2d44f1){const _0x1f96d7=_0xd70131;this[_0x1f96d7(0x433)][_0x1f96d7(0x3a8)]||_0x40a67b(_0x2d44f1)&&this[_0x1f96d7(0x4e6)](_0x2d44f1['drawingId'])&&await this[_0x1f96d7(0x52c)](_0x2d44f1[_0x1f96d7(0x4e0)],_0x2d44f1['subUnitId'],_0x2d44f1[_0x1f96d7(0x547)]);}async[_0xd70131(0x52c)](_0x4b56ce,_0x1ceb75,_0x1c619b){const _0x441f83=_0xd70131;this['_chartModelService'][_0x441f83(0x46b)](_0x1c619b)&&this[_0x441f83(0x4e6)](_0x1c619b)&&await this[_0x441f83(0x582)][_0x441f83(0x472)](_0x27e464['id'],{'unitId':_0x4b56ce,'subUnitId':_0x1ceb75,'drawingId':_0x1c619b});}['openChartPanelById'](_0x4c4e79,_0x2e606e){const _0x3ece78=_0xd70131;let _0x30ca0b=this['_chartModelService'][_0x3ece78(0x46b)](_0x4c4e79);_0x30ca0b&&this[_0x3ece78(0x4e6)](_0x4c4e79)&&(this[_0x3ece78(0x2d8)][_0x3ece78(0x531)](_0x30ca0b),this['_openPanel'](),this['_activateEditPanelState'](_0x4c4e79,_0x2e606e??null));}[_0xd70131(0x591)](_0x1248b9,_0x46af9d){const _0x9240d8=_0xd70131;this['_sheetsChartUIService']['setChartEditorOpen'](!0x0),this[_0x9240d8(0x433)][_0x9240d8(0x1c2)](_0x1248b9,_0x46af9d);}['_deactivateEditPanelState'](){const _0x3faa77=_0xd70131;this[_0x3faa77(0x433)][_0x3faa77(0x277)](!0x1);}['_syncActiveEditChart'](_0x1557ed,_0x34708f){const _0x3b17e5=_0xd70131;_0x1557ed!==_0x34708f&&(_0x1557ed&&this[_0x3b17e5(0x304)]['setElementEditMode'](_0x1557ed,!0x1),this[_0x3b17e5(0x433)][_0x3b17e5(0x476)](),_0x34708f&&(this['_sheetsChartUIService']['setPanelRoute'](_0x34708f,null),this['_chartRenderService'][_0x3b17e5(0x544)](_0x34708f,this[_0x3b17e5(0x245)](_0x34708f))));}[_0xd70131(0x598)](){const _0x85216=_0xd70131;this[_0x85216(0x3e9)][_0x85216(0x4b5)](_0x28087a),this[_0x85216(0x457)][_0x85216(0x500)](_0xedf715['DrawingTypeEnum'][_0x85216(0x3f2)],this['getChartPopupMenus'][_0x85216(0x2ba)](this));}[_0xd70131(0x245)](_0x8bfa6){const _0x20a588=_0xd70131;let _0x1b5414=this[_0x20a588(0x2d8)][_0x20a588(0x46b)](_0x8bfa6);return!this[_0x20a588(0x4c3)]||!_0x1b5414||!this['_isOwnedChart'](_0x8bfa6)?!0x1:_0x4c129c(_0x1b5414[_0x20a588(0x5a7)]);}[_0xd70131(0x596)](_0x15e5c3,_0x414c67,_0x3b6085,_0x2631ac){const _0x8d1710=_0xd70131;if(!this[_0x8d1710(0x2d8)][_0x8d1710(0x46b)](_0x3b6085))return[];let _0xb285d9=[{'label':this[_0x8d1710(0x401)]['t'](_0x8d1710(0x2c8)),'index':0x0,'commandId':_0x27e464['id'],'commandParams':{'unitId':_0x15e5c3,'subUnitId':_0x414c67,'drawingId':_0x3b6085},'disable':_0x2631ac!==_0xedf715['DrawingTypeEnum'][_0x8d1710(0x3f2)]}];return this[_0x8d1710(0x4e6)](_0x3b6085)?[..._0xb285d9,{'label':this[_0x8d1710(0x401)]['t'](_0x8d1710(0x314)),'index':0x1,'commandId':_0x49c74d[_0x8d1710(0x41b)]['id'],'commandParams':{'unitId':_0x15e5c3,'drawings':[{'unitId':_0x15e5c3,'subUnitId':_0x414c67,'drawingId':_0x3b6085,'drawingType':_0x2631ac}]},'disable':!0x1},{'label':this[_0x8d1710(0x401)]['t'](_0x8d1710(0x2da)),'index':0x2,'commandId':_0x5b262b['id'],'commandParams':{'unitId':_0x15e5c3,'subUnitId':_0x414c67,'drawingId':_0x3b6085},'disable':!0x1}]:_0xb285d9;}[_0xd70131(0x4e6)](_0x368139){const _0x15d9d8=_0xd70131;return this[_0x15d9d8(0x39e)][_0x15d9d8(0x34d)](_0x368139)!==void 0x0;}};_0x14f5a2=_0x1ce008([_0x4c4d29(0x0,_0x2836bb[_0xd70131(0x508)]),_0x4c4d29(0x1,_0xedf715[_0xd70131(0x481)]),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x3,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x4d5)])),_0x4c4d29(0x4,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x55a948)),_0x4c4d29(0x5,(0x0,_0xedf715['Inject'])(_0x1b885e['SheetDrawingHitTestService'])),_0x4c4d29(0x6,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x64caca['ISidebarService'])),_0x4c4d29(0x7,_0x64caca[_0xd70131(0x558)]),_0x4c4d29(0x8,(0x0,_0xedf715['Inject'])(_0x1b885e[_0xd70131(0x568)])),_0x4c4d29(0x9,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x503fe1['SheetCanvasPopManagerService'])),_0x4c4d29(0xa,_0xedf715['ICommandService']),_0x4c4d29(0xb,_0x27a99f),_0x4c4d29(0xc,_0xedf715[_0xd70131(0x58b)]),_0x4c4d29(0xd,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x2db)])),_0x4c4d29(0xe,_0xedf715[_0xd70131(0x331)])],_0x14f5a2);var _0x9feaae=_0xd70131(0x4fd),_0x5428e0=_0xd70131(0x1b7);let _0x1f92db=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x48a4b7,_0x31d585){const _0x4907aa=_0xd70131;super(),this[_0x4907aa(0x32a)]=_0x48a4b7,this[_0x4907aa(0x2d8)]=_0x31d585,this[_0x4907aa(0x504)]();}['_init'](){const _0x18d101=_0xd70131;this['disposeWithMe'](this[_0x18d101(0x32a)]['removeHost$'][_0x18d101(0x437)](_0x392fd2=>{this['_chartModelService']['removeChartModel'](_0x392fd2);}));}};_0x1f92db=_0x1ce008([_0x4c4d29(0x0,_0x2212a4),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)]))],_0x1f92db);let _0x2b65a9=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x257a22,_0x48312d,_0x2a105c,_0x253aa1,_0x10f6c4,_0x38e13e){const _0x4d7687=_0xd70131;super(),this[_0x4d7687(0x2d8)]=_0x257a22,this['_chartRenderService']=_0x48312d,this[_0x4d7687(0x401)]=_0x2a105c,this[_0x4d7687(0x2be)]=_0x253aa1,this[_0x4d7687(0x582)]=_0x10f6c4,this['_sheetPrintInterceptorService']=_0x38e13e,_0x5ce1c0(this,_0x4d7687(0x284),new Map()),_0x5ce1c0(this,_0x4d7687(0x344),new Set()),this[_0x4d7687(0x504)](),this[_0x4d7687(0x21f)](),this[_0x4d7687(0x423)]();}[_0xd70131(0x423)](){const _0x389db2=_0xd70131;this[_0x389db2(0x2ff)](this[_0x389db2(0x300)][_0x389db2(0x359)]['intercept'](this[_0x389db2(0x300)]['interceptor']['getInterceptPoints']()[_0x389db2(0x21d)],{'handler':(_0x5aabfa,_0x29144b,_0x51be1c)=>{const _0x4ff7cc=_0x389db2;let _0x504fca=this[_0x4ff7cc(0x304)]['renderChartsForPrinting'](_0x29144b['unitId'],_0x29144b['subUnitId'],_0x29144b['scene']);return _0x29144b['resourceCollector'][_0x4ff7cc(0x45b)](_0x504fca),_0x51be1c(_0x5aabfa);}}));}['_init'](){const _0x157b3a=_0xd70131;this[_0x157b3a(0x2ff)](this['_chartModelService'][_0x157b3a(0x367)][_0x157b3a(0x437)](_0x85e7e0=>{const _0x516eae=_0x157b3a;if(_0x85e7e0){let _0x1c2ba3=new _0xedf715[(_0x516eae(0x23f))]();_0x1c2ba3[_0x516eae(0x45b)](_0x85e7e0[_0x516eae(0x4aa)]['pipe']((0x0,_0x2f2bb7[_0x516eae(0x579)])(_0x463d98=>_0x463d98['data$'][_0x516eae(0x256)]((0x0,_0x2f2bb7[_0x516eae(0x240)])(0x1))))[_0x516eae(0x437)](()=>{const _0x11391a=_0x516eae;this[_0x11391a(0x344)][_0x11391a(0x45b)](_0x85e7e0['id']);})),_0x1c2ba3['add'](_0x85e7e0[_0x516eae(0x53b)][_0x516eae(0x256)]((0x0,_0x2f2bb7['combineLatestWith'])(_0x85e7e0[_0x516eae(0x4f9)]),(0x0,_0x2f2bb7['combineLatestWith'])(this['_localeService'][_0x516eae(0x2e4)]),(0x0,_0x2f2bb7[_0x516eae(0x374)])(0x64))['subscribe'](([[_0x26dc90,_0x1f4a5a],_0x3a1128])=>{const _0x44e5a8=_0x516eae;var _0x5217c6;if(!_0x26dc90)return;(_0x5217c6=_0x26dc90[_0x44e5a8(0x46f)])==null||_0x5217c6['items']['forEach']((_0x6ebecd,_0x28cc6e)=>{const _0x4a593d=_0x44e5a8;_0x6ebecd[_0x4a593d(0x1fa)]||=this[_0x4a593d(0x401)]['t'](_0x4a593d(0x28d))+'\x20'+(_0x28cc6e+0x1);}),_0x26dc90[_0x44e5a8(0x297)][_0x44e5a8(0x429)]((_0x415d97,_0x35a6a3)=>{const _0x52b21a=_0x44e5a8;_0x415d97[_0x52b21a(0x3f8)]||=this[_0x52b21a(0x401)]['t'](_0x52b21a(0x520))+'\x20'+(_0x35a6a3+0x1);});let _0x591bc5=this['_chartRenderService'][_0x44e5a8(0x255)](_0x85e7e0,_0x3a1128),_0x5bcdc6=this[_0x44e5a8(0x344)][_0x44e5a8(0x4f7)](_0x85e7e0['id']);this['_chartRenderService'][_0x44e5a8(0x285)](_0x85e7e0['id'],_0x26dc90,_0x591bc5,{'animateDataUpdate':_0x5bcdc6});})),_0x85e7e0[_0x516eae(0x265)](()=>{const _0x418127=_0x516eae;this[_0x418127(0x344)][_0x418127(0x4f7)](_0x85e7e0['id']),_0x1c2ba3[_0x418127(0x205)]();});}}));}[_0xd70131(0x21f)](){const _0xef71f6=_0xd70131;this[_0xef71f6(0x2ff)](this[_0xef71f6(0x582)][_0xef71f6(0x2f8)](_0x42427a=>{const _0x4731f7=_0xef71f6;if(_0x42427a['id']!==_0x1c5438[_0x4731f7(0x487)]['id'])return;let _0x17c92e=_0x42427a[_0x4731f7(0x58a)];_0x17c92e!=null&&_0x17c92e['chartModelId']&&Promise[_0x4731f7(0x36b)]()[_0x4731f7(0x27e)](()=>this['_renderAfterChartUpdateMutation'](_0x17c92e));}));}[_0xd70131(0x385)](_0x1dc197){const _0x586fab=_0xd70131;let _0x5a8dc1=this[_0x586fab(0x2d8)][_0x586fab(0x46b)](_0x1dc197['chartModelId']);if(!_0x5a8dc1||_0x5a8dc1['chartType']!==_0x4995c0[_0x586fab(0x3cb)][_0x586fab(0x1d8)])return;let _0x49b568=_0x5a8dc1[_0x586fab(0x312)];_0x49b568?this[_0x586fab(0x26c)](_0x5a8dc1,_0x49b568):this[_0x586fab(0x2a3)](_0x5a8dc1);}[_0xd70131(0x2a3)](_0x373a7f){const _0x5ae9e5=_0xd70131;if(this[_0x5ae9e5(0x284)][_0x5ae9e5(0x428)](_0x373a7f['id']))return;let _0x41cc9b=_0x373a7f[_0x5ae9e5(0x53b)][_0x5ae9e5(0x256)]((0x0,_0x2f2bb7[_0x5ae9e5(0x47d)])(_0x5b2aaf=>_0x5b2aaf!=null),(0x0,_0x2f2bb7['take'])(0x1))[_0x5ae9e5(0x437)](_0x44f690=>{const _0x418979=_0x5ae9e5;this['_pendingMutationConfigRenders'][_0x418979(0x4f7)](_0x373a7f['id']),this[_0x418979(0x26c)](_0x373a7f,_0x44f690);});this['_pendingMutationConfigRenders'][_0x5ae9e5(0x3e1)](_0x373a7f['id'],_0x41cc9b),_0x373a7f[_0x5ae9e5(0x265)](()=>{const _0x13c75b=_0x5ae9e5;_0x41cc9b[_0x13c75b(0x360)](),this[_0x13c75b(0x284)]['delete'](_0x373a7f['id']);});}[_0xd70131(0x26c)](_0x521659,_0x4ebe12){const _0x3a5e1a=_0xd70131;let _0x1dfd46=this[_0x3a5e1a(0x304)][_0x3a5e1a(0x255)](_0x521659,this[_0x3a5e1a(0x401)][_0x3a5e1a(0x4be)]());this['_chartRenderService'][_0x3a5e1a(0x285)](_0x521659['id'],_0x4ebe12,_0x1dfd46);}};_0x2b65a9=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x55a948)),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715['LocaleService'])),_0x4c4d29(0x3,_0x27a99f),_0x4c4d29(0x4,_0xedf715[_0xd70131(0x1cb)]),_0x4c4d29(0x5,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x503fe1['SheetPrintInterceptorService']))],_0x2b65a9);function _0x4916ba(_0x5e24b0,_0x326d6b){const _0x556416=_0xd70131;return _0x5e24b0['unitId']!==_0x326d6b[_0x556416(0x4e0)]||_0x5e24b0[_0x556416(0x3ab)]!==_0x326d6b[_0x556416(0x2df)]?_0x5e24b0:{..._0x5e24b0,'subUnitId':_0x326d6b[_0x556416(0x525)]};}function _0x337ddc(_0x363656,_0xe51181){const _0x626df9=_0xd70131;return(_0x363656==null?void 0x0:_0x363656['type'])===_0x4995c0['ChartSourceHeaderTitleType'][_0x626df9(0x26e)]?{..._0x363656,'source':_0x4916ba(_0x363656[_0x626df9(0x4ec)],_0xe51181)}:_0x363656;}function _0x2fc5b1(_0x4219aa,_0x593a93){const _0x29e8fb=_0xd70131;let {rangeInfo:_0x369567}=_0x4219aa;return Array[_0x29e8fb(0x305)](_0x369567)?{..._0x4219aa,'rangeInfo':_0x369567[_0x29e8fb(0x275)](_0x120578=>({..._0x120578,..._0x120578[_0x29e8fb(0x480)]?{'header':_0x337ddc(_0x120578['header'],_0x593a93)}:{},'range':_0x4916ba(_0x120578[_0x29e8fb(0x5ae)],_0x593a93)}))}:{..._0x4219aa,'rangeInfo':{..._0x369567,..._0x369567[_0x29e8fb(0x480)]?{'header':{..._0x369567[_0x29e8fb(0x480)],..._0x369567['header']['titles']?{'titles':_0x30f939(_0x369567[_0x29e8fb(0x480)][_0x29e8fb(0x224)],_0x593a93)}:{}}}:{},'rangeInfo':_0x4916ba(_0x369567['rangeInfo'],_0x593a93)}};}function _0x30f939(_0x488978,_0x37bb99){const _0x2c1750=_0xd70131;return _0x488978[_0x2c1750(0x5ac)]===_0x4995c0['ChartSourceHeaderTitleType'][_0x2c1750(0x2de)]?{..._0x488978,'values':{..._0x488978[_0x2c1750(0x28c)]}}:_0x488978[_0x2c1750(0x5ac)]===_0x4995c0[_0x2c1750(0x30a)]['References']?{..._0x488978,'values':Object[_0x2c1750(0x2d6)](Object[_0x2c1750(0x583)](_0x488978['values'])['map'](([_0xd5c875,_0x214c13])=>[_0xd5c875,_0x214c13&&_0x4916ba(_0x214c13,_0x37bb99)]))}:{..._0x488978,'values':Object[_0x2c1750(0x2d6)](Object[_0x2c1750(0x583)](_0x488978[_0x2c1750(0x28c)])[_0x2c1750(0x275)](([_0x3a33e0,_0x181652])=>[_0x3a33e0,_0x181652&&_0x337ddc(_0x181652,_0x37bb99)]))};}function _0x2cb3cd(_0x36b5ff,_0x2bb094,_0x1a0967,_0x3d2abb){const _0x500e0a=_0xd70131;let _0x238932=(0x0,_0x2836bb[_0x500e0a(0x4bd)])(_0x36b5ff,_0x2bb094,_0x1a0967),_0xc64441=[];for(let _0x380ce0 of _0x2bb094){let _0x280e10=_0x238932['idMap'][_0x500e0a(0x428)](_0x380ce0[_0x500e0a(0x547)]),_0xede299=_0x3d2abb(_0x380ce0);_0x280e10&&_0xede299&&_0xc64441[_0x500e0a(0x418)]({'targetChartId':_0x280e10,'source':_0x2fc5b1(_0xede299,_0x1a0967)});}return _0xc64441;}let _0x3aaf04=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x2df569,_0x549604,_0x30b80b,_0x1f9888,_0x525688){const _0x38bac2=_0xd70131;super(),this[_0x38bac2(0x3e5)]=_0x2df569,this['_sheetInterceptorService']=_0x549604,this[_0x38bac2(0x225)]=_0x30b80b,this[_0x38bac2(0x2d8)]=_0x1f9888,this[_0x38bac2(0x39e)]=_0x525688,this[_0x38bac2(0x551)]();}[_0xd70131(0x551)](){const _0xfe32bc=_0xd70131;this['disposeWithMe'](this[_0xfe32bc(0x397)][_0xfe32bc(0x26a)]({'getMutations':_0x278d12=>{const _0x47fe54=_0xfe32bc;if(_0x278d12['id']===_0x363993[_0x47fe54(0x565)]['id']){let _0x4c124d=(0x0,_0x363993['getSheetCommandTarget'])(this[_0x47fe54(0x3e5)],_0x278d12[_0x47fe54(0x58a)]);if(!_0x4c124d)return{'redos':[],'undos':[]};let {unitId:_0x547ddb,subUnitId:_0x5d72db}=_0x4c124d,_0x542f0f=this[_0x47fe54(0x225)][_0x47fe54(0x1f4)](_0x547ddb,_0x5d72db),_0x103361=Object[_0x47fe54(0x28c)](_0x542f0f)[_0x47fe54(0x47d)](_0x1b1130=>_0x1b1130[_0x47fe54(0x249)]===_0xedf715['DrawingTypeEnum']['DRAWING_CHART']);if(_0x103361['length']===0x0)return{'redos':[],'undos':[]};let _0x5e0878=[],_0x39c64a=[];for(let _0x34167a=0x0;_0x34167a<_0x103361[_0x47fe54(0x454)];_0x34167a++){let _0xf871f5=_0x103361[_0x34167a],_0x1d3932=this[_0x47fe54(0x2d8)][_0x47fe54(0x46b)](_0xf871f5[_0x47fe54(0x547)]);if(!_0x1d3932)continue;let _0x4203d0=this[_0x47fe54(0x39e)][_0x47fe54(0x34d)](_0x1d3932['id']);if(!_0x4203d0)continue;let {chartType:_0x4e1cb2,context:_0x49a5af,style:_0x369e46,dataAggregation:_0x2c6925}=_0x1d3932[_0x47fe54(0x534)]();_0x5e0878[_0x47fe54(0x418)]({'id':_0x1c5438[_0x47fe54(0x260)]['id'],'params':{'unitId':_0x547ddb,'subUnitId':_0x5d72db,'chartId':_0xf871f5[_0x47fe54(0x547)]}}),_0x39c64a[_0x47fe54(0x418)]({'id':_0x1c5438[_0x47fe54(0x46c)]['id'],'params':{'unitId':_0x547ddb,'subUnitId':_0x5d72db,'chartId':_0xf871f5[_0x47fe54(0x547)],'chartType':_0x4e1cb2,...(0x0,_0x1c5438[_0x47fe54(0x4c7)])(_0x4203d0),'context':_0x49a5af,'style':_0x369e46,'dataAggregation':_0x2c6925}});}return{'redos':_0x5e0878,'undos':_0x39c64a};}if(_0x278d12['id']===_0x363993[_0x47fe54(0x2cd)]['id']){let {unitId:_0x908e1,subUnitId:_0x34da55,targetSubUnitId:_0x5edc66,copyContext:_0x1434aa}=_0x278d12['params'];if(!_0x908e1||!_0x34da55||!_0x5edc66)return{'redos':[],'undos':[]};let _0x56c618=this[_0x47fe54(0x225)]['getDrawingData'](_0x908e1,_0x34da55),_0x348bf6=Object[_0x47fe54(0x28c)](_0x56c618)['filter'](_0x949055=>_0x949055[_0x47fe54(0x249)]===_0xedf715[_0x47fe54(0x221)][_0x47fe54(0x3f2)]);if(_0x348bf6['length']===0x0)return{'redos':[],'undos':[]};let _0x3db022=_0x2cb3cd(_0x1434aa,_0x348bf6,{'unitId':_0x908e1,'sourceSubUnitId':_0x34da55,'targetSubUnitId':_0x5edc66},_0x21e392=>{const _0x4d2870=_0x47fe54;let _0x316f11=this['_chartModelService'][_0x4d2870(0x46b)](_0x21e392[_0x4d2870(0x547)]);if(!_0x316f11)return;let _0x5b1e3b=this['_sheetsChartService']['getChartSourceSpec'](_0x316f11['id']);if(!_0x5b1e3b)return;let {chartType:_0x49e856,context:_0x49b4cd,style:_0x6896d9,dataAggregation:_0x2c0dd5}=_0x316f11[_0x4d2870(0x534)]();return{'rangeInfo':_0x5b1e3b,'chartType':_0x49e856,'context':_0x49b4cd,'style':_0x6896d9,'dataAggregation':_0x2c0dd5};}),_0xdedd3=[],_0xf1477c=[];for(let {targetChartId:_0x50a587,source:_0x7c3cfb}of _0x3db022){let {rangeInfo:_0x26096e,chartType:_0x470394,context:_0x432355,style:_0x48b4fb,dataAggregation:_0x2e791d}=_0x7c3cfb;_0xdedd3[_0x47fe54(0x418)]({'id':_0x1c5438[_0x47fe54(0x46c)]['id'],'params':{'unitId':_0x908e1,'subUnitId':_0x5edc66,'chartId':_0x50a587,'chartType':_0x470394,...(0x0,_0x1c5438[_0x47fe54(0x4c7)])(_0x26096e),'context':_0x432355,'style':_0x48b4fb,'dataAggregation':_0x2e791d}}),_0xf1477c[_0x47fe54(0x418)]({'id':_0x1c5438[_0x47fe54(0x260)]['id'],'params':{'unitId':_0x908e1,'subUnitId':_0x5edc66,'chartId':_0x50a587}});}return{'redos':_0xdedd3,'undos':_0xf1477c};}return{'redos':[],'undos':[]};}}));}};_0x3aaf04=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x481)])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x363993[_0xd70131(0x4ae)])),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x49c74d[_0xd70131(0x3df)])),_0x4c4d29(0x3,(0x0,_0xedf715['Inject'])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x4,(0x0,_0xedf715['Inject'])(_0x1c5438[_0xd70131(0x4d5)]))],_0x3aaf04);let _0x47a346=_0x2bd784=>_0x2bd784[_0xd70131(0x1b9)](_0xedf715['UniverInstanceType']['UNIVER_SHEET'])[_0xd70131(0x1fb)](),_0x30daed=_0x22ed30=>{const _0x1011cc=_0xd70131;var _0x1449c5;return(_0x1449c5=_0x22ed30['getCurrentUnitOfType'](_0xedf715['UniverInstanceType'][_0x1011cc(0x42e)])['getActiveSheet']())==null?void 0x0:_0x1449c5[_0x1011cc(0x295)]();};function _0x3110d9(){const _0x829ab=_0xd70131;var _0x2c82a6;let _0x293212=(0x0,_0x64caca[_0x829ab(0x58d)])(_0x27a99f),_0x9390e6=(0x0,_0x64caca[_0x829ab(0x58d)])(_0x1c5438[_0x829ab(0x52a)]),_0x2ee226=(0x0,_0x64caca[_0x829ab(0x58d)])(_0x1c5438[_0x829ab(0x4d5)]),_0x9ad30f=(0x0,_0x64caca['useDependency'])(_0xedf715[_0x829ab(0x2db)]),_0x5922fb=(0x0,_0x64caca['useDependency'])(_0xedf715['Injector']),_0x13c012=(0x0,_0x1c5438[_0x829ab(0x234)])(_0x5922fb),_0x28a2c7=(0x0,_0x2c8eee[_0x829ab(0x230)])(()=>{const _0x17a23c=_0x829ab;let _0x2b7c80=_0x17fbe5(_0x3c2377[_0x17a23c(0x59d)](),_0x13c012);return(0x0,_0x477057['buildChartTypeSelectOptions'])(_0x2b7c80[_0x17a23c(0x275)](_0x310330=>({'id':_0x310330['id'],'label':_0x9ad30f['t'](_0x17a23c(0x4bf)+_0x310330[_0x17a23c(0x35d)]),'pieSecondaryPlotType':_0x310330[_0x17a23c(0x239)],'value':_0x310330[_0x17a23c(0x4c8)]})));},[_0x13c012,_0x9ad30f]),_0x38e710=(0x0,_0x64caca[_0x829ab(0x42f)])(_0x9390e6['activeChartModel$'],_0x9390e6[_0x829ab(0x1c4)]),_0x4ec7d4=_0x38e710?_0x2ee226[_0x829ab(0x3ee)](_0x38e710['id']):void 0x0,_0x1918db=(0x0,_0x64caca['useObservable'])(_0x4ec7d4==null?void 0x0:_0x4ec7d4[_0x829ab(0x24d)],_0x4ec7d4==null?void 0x0:_0x4ec7d4[_0x829ab(0x56b)]()),_0x37ce4c=Array['isArray'](_0x1918db),_0x223ec2=_0x1918db&&!_0x37ce4c&&_0x1918db['isRowDirection']?_0x4995c0[_0x829ab(0x32c)][_0x829ab(0x3f6)]:_0x4995c0[_0x829ab(0x32c)][_0x829ab(0x45f)],_0x1890ff=_0x37ce4c?(_0x2c82a6=_0x1918db[0x0])==null?void 0x0:_0x2c82a6[_0x829ab(0x5ae)]:_0x1918db==null?void 0x0:_0x1918db['rangeInfo'];return(0x0,_0x35e3a2[_0x829ab(0x3fc)])(_0x829ab(0x25d),{'className':_0x829ab(0x50c),'children':(0x0,_0x35e3a2['jsx'])(_0x477057[_0x829ab(0x49b)],{'chartTypeOptions':_0x28a2c7,'dataSourceControl':(0x0,_0x35e3a2['jsx'])(_0x1cfa1c,{'dataRange':_0x1918db,'primaryRange':_0x1890ff}),'categoryToggleLabel':_0x9ad30f['t'](_0x829ab(0x510),_0x223ec2===_0x4995c0['DataOrientation'][_0x829ab(0x3f6)]?_0x223ec2+'\x20'+(((_0x1890ff==null?void 0x0:_0x1890ff[_0x829ab(0x5ae)][_0x829ab(0x540)])??0x0)+0x1):_0x223ec2+'\x20'+(0x0,_0xedf715[_0x829ab(0x3a4)])((_0x1890ff==null?void 0x0:_0x1890ff['range']['startColumn'])??0x0)),'orientationControl':_0x37ce4c?void 0x0:(0x0,_0x35e3a2[_0x829ab(0x3fc)])(_0x273fc8['Button'],{'size':_0x829ab(0x1c0),'onClick':()=>_0x293212[_0x829ab(0x269)](_0x223ec2===_0x4995c0[_0x829ab(0x32c)][_0x829ab(0x3f6)]?_0x4995c0[_0x829ab(0x32c)][_0x829ab(0x45f)]:_0x4995c0[_0x829ab(0x32c)]['Row']),'children':_0x9ad30f['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x1cfa1c(_0x2a94b0){const _0xc96e01=_0xd70131;let {dataRange:_0x242a90,primaryRange:_0x39685b}=_0x2a94b0,_0x2a6567=(0x0,_0x64caca[_0xc96e01(0x58d)])(_0x27a99f),_0x2af86f=(0x0,_0x64caca[_0xc96e01(0x58d)])(_0xedf715[_0xc96e01(0x2db)]),_0x5c55ab=(0x0,_0x64caca[_0xc96e01(0x58d)])(_0xedf715[_0xc96e01(0x481)]),[_0x2fb002,_0x182772]=(0x0,_0x2c8eee[_0xc96e01(0x415)])(!0x1),[_0xc61781,_0x4a8510]=(0x0,_0x2c8eee['useState'])(!0x1),_0x323a56=_0x47a346(_0x5c55ab),_0x3de6ba=_0x30daed(_0x5c55ab);(0x0,_0x2c8eee[_0xc96e01(0x5c2)])(()=>{const _0x55a360=_0xc96e01;_0x2a6567[_0x55a360(0x539)](_0x2fb002);},[_0x2fb002,_0x2a6567]);let _0x3b1549=(0x0,_0x2c8eee['useMemo'])(()=>(0x0,_0xedf715[_0xc96e01(0x580)])(async _0x4add32=>{const _0x4b43db=_0xc96e01;var _0x2e15ba;if(_0x59e504(_0x242a90,_0x5c55ab)===_0x4add32)return;let _0x12dcd4=_0x4add32['split'](',')['filter'](Boolean)['map'](_0x3b10d9[_0x4b43db(0x1bc)])[0x0];if(!_0x12dcd4)return;let {unitId:_0x74f9fe,sheetName:_0x383be4,range:_0x4fb751}=_0x12dcd4,_0x4a406d=_0x74f9fe||_0x323a56,_0x4476ff=((_0x2e15ba=_0x5c55ab[_0x4b43db(0x53d)](_0x4a406d)[_0x4b43db(0x59b)](_0x383be4))==null?void 0x0:_0x2e15ba[_0x4b43db(0x295)]())||(_0x39685b==null?void 0x0:_0x39685b[_0x4b43db(0x3ab)])||_0x3de6ba;_0x4476ff&&_0x2a6567[_0x4b43db(0x458)]({'rangeInfo':{'range':_0x4fb751,'unitId':_0x4a406d,'subUnitId':_0x4476ff}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x242a90,_0x39685b,_0x2a6567,_0x3de6ba,_0x323a56,_0x5c55ab]);return(0x0,_0x2c8eee['useEffect'])(()=>()=>_0x3b1549[_0xc96e01(0x58f)](),[_0x3b1549]),(0x0,_0x35e3a2[_0xc96e01(0x3fc)])(_0xc96e01(0x25d),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0x35e3a2[_0xc96e01(0x21c)])(_0xc96e01(0x25d),{'children':[(0x0,_0x35e3a2[_0xc96e01(0x3fc)])(_0x477057[_0xc96e01(0x392)],{'title':_0x2af86f['t'](_0xc96e01(0x439))}),(0x0,_0x35e3a2[_0xc96e01(0x3fc)])(_0x4581d5[_0xc96e01(0x592)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x323a56,'subUnitId':_0x3de6ba,'initialValue':_0x242a90?_0x59e504(_0x242a90,_0x5c55ab):'','onChange':(_0x4c4a30,_0x21c67d)=>_0x3b1549(_0x21c67d),'onFocusChange':_0x18f883=>{_0xc61781||_0x182772(_0x18f883);},'onRangeSelectorDialogVisibleChange':_0x1e7631=>{_0x4a8510(_0x1e7631),_0x182772(_0x1e7631);}})]})});}function _0x44dd50(){const _0xe95abc=_0xd70131;let [_0x3332aa,_0x5bac4a]=(0x0,_0x2c8eee['useState'])(_0x477057[_0xe95abc(0x298)][_0xe95abc(0x5b9)]),_0x53efdf=(0x0,_0x64caca['useDependency'])(_0xedf715[_0xe95abc(0x38c)]),_0x2b5f86=(0x0,_0x64caca['useDependency'])(_0xedf715[_0xe95abc(0x2db)]),_0x5c6f1a=(0x0,_0x64caca[_0xe95abc(0x58d)])(_0x27a99f),_0x54ff9f=(0x0,_0x64caca[_0xe95abc(0x58d)])(_0x1c5438[_0xe95abc(0x52a)]),_0x3c0830=(0x0,_0x64caca[_0xe95abc(0x58d)])(_0x1c5438[_0xe95abc(0x4d5)]),_0x577525=(0x0,_0x64caca[_0xe95abc(0x42f)])(_0x54ff9f['activeChartModel$'],_0x54ff9f['activeChartModel']),_0x127d81=(0x0,_0x64caca['useObservable'])(_0x5c6f1a[_0xe95abc(0x20c)],null),_0x86117c=(0x0,_0x2c8eee[_0xe95abc(0x230)])(()=>{const _0x539f64=_0xe95abc;var _0x54a6f9;if(!_0x577525)return null;let _0x6acbd7=_0x3c0830[_0x539f64(0x34d)](_0x577525['id']);if(!_0x6acbd7)return null;let _0x59d161=Array[_0x539f64(0x305)](_0x6acbd7)?(_0x54a6f9=_0x6acbd7[0x0])==null?void 0x0:_0x54a6f9['range']:_0x6acbd7['rangeInfo'];return _0x59d161?new _0x477057[(_0x539f64(0x3f5))](_0x577525,new _0x1c5438[(_0x539f64(0x31a))]({'unitId':_0x59d161[_0x539f64(0x4e0)],'subUnitId':_0x59d161[_0x539f64(0x3ab)],'chartId':_0x577525['id'],'injector':_0x53efdf})):null;},[_0x577525,_0x53efdf,_0x3c0830]);if((0x0,_0x2c8eee['useEffect'])(()=>{const _0x125998=_0xe95abc;var _0x30f2a3,_0x20d855;_0x577525&&(_0x127d81==null?void 0x0:_0x127d81['chartId'])===_0x577525['id']&&(((_0x30f2a3=_0x127d81[_0x125998(0x484)])==null?void 0x0:_0x30f2a3['tab'])===_0x477057[_0x125998(0x298)][_0x125998(0x1dd)]&&_0x5bac4a(_0x477057['ChartEditPanelTab'][_0x125998(0x1dd)]),((_0x20d855=_0x127d81[_0x125998(0x484)])==null?void 0x0:_0x20d855[_0x125998(0x325)])===_0x477057['ChartEditPanelTab'][_0x125998(0x5b9)]&&_0x5bac4a(_0x477057['ChartEditPanelTab'][_0x125998(0x5b9)]));},[_0x577525,_0x127d81]),!_0x86117c)return null;let _0x9d4d30=(0x0,_0x35e3a2[_0xe95abc(0x3fc)])(_0xe95abc(0x25d),{'className':_0xe95abc(0x5a8),'children':(0x0,_0x35e3a2['jsx'])(_0x477057[_0xe95abc(0x4d8)],{'ariaLabel':_0x2b5f86['t'](_0xe95abc(0x2c6)),'activeTab':_0x3332aa,'onTabChange':_0x5bac4a,'tabListClassName':'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','panelClassName':_0x3332aa===_0x477057[_0xe95abc(0x298)][_0xe95abc(0x1dd)]?_0xe95abc(0x2cc):_0xe95abc(0x412),'tabs':[{'id':_0x477057[_0xe95abc(0x298)]['Data'],'panelId':'mobile-sheet-chart-setup-panel','title':_0x2b5f86['t'](_0xe95abc(0x5b2)),'content':(0x0,_0x35e3a2[_0xe95abc(0x3fc)])(_0x3110d9,{})},{'id':_0x477057[_0xe95abc(0x298)][_0xe95abc(0x1dd)],'panelId':_0xe95abc(0x522),'title':_0x2b5f86['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x35e3a2[_0xe95abc(0x3fc)])(_0x4e2253,{'defaultValues':_0x19260c})}]})});return(0x0,_0x35e3a2[_0xe95abc(0x3fc)])(_0x477057[_0xe95abc(0x448)],{'chartUIService':_0x5c6f1a,'hostAdapter':_0x86117c,'children':_0x9d4d30});}let _0x1e9f2c=class extends _0xedf715['Disposable']{constructor(_0x351088){const _0x4a447c=_0xd70131;super(),this[_0x4a447c(0x2ff)](_0x351088['register'](_0x379a75,_0x44dd50));}};_0x1e9f2c=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715['Inject'])(_0x64caca[_0xd70131(0x2ac)]))],_0x1e9f2c);let _0x39ed65=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x21c623,_0xdb7d3,_0x49572b,_0x4e2ab2,_0x2db390,_0x2cb316,_0x5d9ed4,_0x469aaa,_0xe2478){const _0x31f548=_0xd70131;super(),this[_0x31f548(0x438)]=_0x21c623,this[_0x31f548(0x2d8)]=_0xdb7d3,this['_sidebarService']=_0x49572b,this[_0x31f548(0x3e9)]=_0x4e2ab2,this[_0x31f548(0x457)]=_0x2db390,this[_0x31f548(0x582)]=_0x2cb316,this[_0x31f548(0x433)]=_0x5d9ed4,this[_0x31f548(0x59a)]=_0x469aaa,this[_0x31f548(0x401)]=_0xe2478,_0x5ce1c0(this,_0x31f548(0x263),null),_0x5ce1c0(this,_0x31f548(0x1db),!0x1),this[_0x31f548(0x598)]();}[_0xd70131(0x205)](){const _0x1adfb0=_0xd70131;this[_0x1adfb0(0x3ed)](),super[_0x1adfb0(0x205)]();}[_0xd70131(0x515)](){const _0x298e2d=_0xd70131;this[_0x298e2d(0x1db)]||(this[_0x298e2d(0x1db)]=!0x0,this[_0x298e2d(0x2ff)](this[_0x298e2d(0x582)][_0x298e2d(0x2f8)](_0x4613a9=>{const _0x306943=_0x298e2d;if(_0x4613a9['id']!==_0x27e464['id'])return;let _0x530809=_0x4613a9[_0x306943(0x58a)];this[_0x306943(0x27c)](_0x530809[_0x306943(0x547)],_0x530809[_0x306943(0x484)]);})));}[_0xd70131(0x27c)](_0x50a85d,_0x51298d){const _0x4b1c26=_0xd70131;let _0x123e38=this[_0x4b1c26(0x2d8)][_0x4b1c26(0x46b)](_0x50a85d);_0x123e38&&(this[_0x4b1c26(0x2d8)][_0x4b1c26(0x531)](_0x123e38),this[_0x4b1c26(0x574)](),this['_sheetsChartUIService'][_0x4b1c26(0x277)](!0x0),this[_0x4b1c26(0x433)]['setPanelRoute'](_0x50a85d,_0x51298d??null));}[_0xd70131(0x3ed)](){const _0x1402e1=_0xd70131;let _0x85b976=this[_0x1402e1(0x263)];this[_0x1402e1(0x263)]=null,this['_clearPanelState'](),_0x85b976==null||_0x85b976[_0x1402e1(0x205)]();}[_0xd70131(0x598)](){const _0x5e6dc5=_0xd70131;this[_0x5e6dc5(0x3e9)][_0x5e6dc5(0x4b5)]({[_0x64caca['RibbonInsertGroup']['MEDIA']]:{[_0x33dbe8['id']]:{'order':0x4,'menuItemFactory':_0x11e67f}}}),this['_sheetCanvasPopManagerService']['registerFeatureMenu'](_0xedf715['DrawingTypeEnum'][_0x5e6dc5(0x3f2)],(_0x3c62c5,_0x2b1e46,_0x1abbc6,_0x26db6d)=>[{'label':this[_0x5e6dc5(0x401)]['t']('sheets-chart-ui.common.editChart'),'index':0x0,'commandId':_0x27e464['id'],'commandParams':{'unitId':_0x3c62c5,'subUnitId':_0x2b1e46,'drawingId':_0x1abbc6},'disable':_0x26db6d!==_0xedf715['DrawingTypeEnum'][_0x5e6dc5(0x3f2)]},{'label':this[_0x5e6dc5(0x401)]['t'](_0x5e6dc5(0x314)),'index':0x1,'commandId':_0x49c74d[_0x5e6dc5(0x41b)]['id'],'commandParams':{'unitId':_0x3c62c5,'drawings':[{'unitId':_0x3c62c5,'subUnitId':_0x2b1e46,'drawingId':_0x1abbc6,'drawingType':_0x26db6d}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}[_0xd70131(0x574)](){const _0x3ec803=_0xd70131;this[_0x3ec803(0x263)]=this[_0x3ec803(0x322)]['open']({'id':_0x379a75,'header':{'title':this[_0x3ec803(0x401)]['t'](_0x3ec803(0x2c6))},'children':{'label':_0x379a75},'onClose':()=>{const _0x56809c=_0x3ec803;this[_0x56809c(0x263)]=null,this['_clearPanelState']();}});}['_clearPanelState'](){const _0x369d06=_0xd70131;this[_0x369d06(0x433)]['setChartEditorOpen'](!0x1),this[_0x369d06(0x433)][_0x369d06(0x476)](),this[_0x369d06(0x2d8)]['activeChartModel']&&this['_chartModelService']['setActiveChartModel'](null),this['_drawingManagerService'][_0x369d06(0x57c)](null),this[_0x369d06(0x59a)]['setContextValue'](_0xedf715['FOCUSING_COMMON_DRAWINGS'],!0x1);}};_0x39ed65=_0x1ce008([_0x4c4d29(0x0,_0x2836bb[_0xd70131(0x508)]),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x64caca[_0xd70131(0x51e)])),_0x4c4d29(0x3,_0x64caca[_0xd70131(0x558)]),_0x4c4d29(0x4,(0x0,_0xedf715['Inject'])(_0x503fe1[_0xd70131(0x4f6)])),_0x4c4d29(0x5,_0xedf715['ICommandService']),_0x4c4d29(0x6,_0x27a99f),_0x4c4d29(0x7,_0xedf715[_0xd70131(0x58b)]),_0x4c4d29(0x8,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x2db)]))],_0x39ed65);let _0x2c28bd=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x385b42,_0x1eec91,_0x3d929a,_0x3e97b1,_0x2d3198){const _0x28bcf4=_0xd70131;super(),this[_0x28bcf4(0x3e0)]=_0x385b42,this[_0x28bcf4(0x468)]=_0x1eec91,this[_0x28bcf4(0x225)]=_0x3d929a,this[_0x28bcf4(0x2d8)]=_0x3e97b1,this[_0x28bcf4(0x39e)]=_0x2d3198,_0x5ce1c0(this,_0x28bcf4(0x200),void 0x0),this['_initCopyPaste']();}get['_focusedDrawings'](){const _0x37ef34=_0xd70131;return this[_0x37ef34(0x225)]['getFocusDrawings']();}['_initCopyPaste'](){const _0x4d3e8a=_0xd70131;this[_0x4d3e8a(0x2ff)](this[_0x4d3e8a(0x468)][_0x4d3e8a(0x38b)]({'id':_0x1c5438[_0x4d3e8a(0x471)],'onBeforeCopyFocusedObject':(_0x5974d8,_0x34cfea,_0x38c8ce)=>{const _0x49c180=_0x4d3e8a;this[_0x49c180(0x200)]=null;let _0x3bcbe3=this[_0x49c180(0x1d4)][_0x49c180(0x47d)](_0x736f9a=>this[_0x49c180(0x4e6)](_0x736f9a));return _0x3bcbe3[_0x49c180(0x454)]!==0x0&&(this[_0x49c180(0x200)]={'unitId':_0x5974d8,'subUnitId':_0x34cfea,'copyType':_0x38c8ce,'drawings':_0x3bcbe3},!0x0);},'onBeforeCopy':(_0x2458af,_0x34cd86,_0x32cc92,_0x20c2fd)=>{const _0x1fc8a2=_0x4d3e8a;this[_0x1fc8a2(0x200)]=null,this[_0x1fc8a2(0x491)](_0x2458af,_0x34cd86,_0x32cc92,_0x20c2fd);},'onPasteCells':(_0x11f86f,_0xa5d41d,_0x41ceba,_0x5194c2)=>{const _0x66b122=_0x4d3e8a;if(!_0x5194c2[_0x66b122(0x210)]||!_0x11f86f||!this[_0x66b122(0x200)])return{'redos':[],'undos':[]};let {pasteType:_0x3adc94}=_0x5194c2;return _0x3adc94===_0x503fe1[_0x66b122(0x1cd)][_0x66b122(0x259)]?this['_generatePasteMutations'](_0xa5d41d,this[_0x66b122(0x200)]['copyType']===_0x503fe1[_0x66b122(0x293)]['CUT']):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0x53a294,_0x37eba3,_0x16e3c6,_0x3f7086){const _0x4bada3=_0xd70131;let _0x573890=this[_0x4bada3(0x3e0)][_0x4bada3(0x1c6)](_0x53a294,_0x37eba3);if(!_0x573890)return;let _0x59d813=(0x0,_0x363993[_0x4bada3(0x536)])(_0x573890,_0x16e3c6);if(!_0x59d813)return;let {startX:_0x465dc4,endX:_0x1c6a99,startY:_0x1a0315,endY:_0xf99b22}=_0x59d813,_0x29f78e=this[_0x4bada3(0x225)][_0x4bada3(0x1f4)](_0x53a294,_0x37eba3),_0x2c3c87=[];for(let [_0x2bb6dd,_0x5611a2]of Object['entries'](_0x29f78e)){if(!this['_isOwnedChart'](_0x5611a2))continue;let {transform:_0x26e8a8}=_0x5611a2;if(!_0x26e8a8)continue;let {left:_0x3355a4=0x0,top:_0x57eee0=0x0,width:_0x12f47b=0x0,height:_0x2ca370=0x0}=_0x26e8a8;_0x465dc4<=_0x3355a4&&_0x1c6a99>=_0x3355a4+_0x12f47b&&_0x1a0315<=_0x57eee0&&_0xf99b22>=_0x57eee0+_0x2ca370&&_0x2c3c87[_0x4bada3(0x418)](_0x5611a2);}_0x2c3c87[_0x4bada3(0x454)]>0x0&&(this['_copyInfo']={'unitId':_0x53a294,'subUnitId':_0x37eba3,'copyType':_0x3f7086,'copyRange':_0x16e3c6,'drawings':_0x2c3c87});}['_isOwnedChart'](_0x531583){const _0x239f65=_0xd70131;return _0x531583['drawingType']===_0xedf715[_0x239f65(0x221)]['DRAWING_CHART']&&this[_0x239f65(0x39e)]['getSubUnitId'](_0x531583['unitId'],_0x531583[_0x239f65(0x547)])===_0x531583[_0x239f65(0x3ab)];}[_0xd70131(0x250)](_0x41c45c,_0x8b51b7){const _0x3c4c1b=_0xd70131;let {unitId:_0x221fe8,subUnitId:_0x398400,range:_0x185a63}=_0x41c45c,_0x4588ae=this[_0x3c4c1b(0x3e0)][_0x3c4c1b(0x1c6)](_0x221fe8,_0x398400);if(!_0x4588ae)return{'redos':[],'undos':[]};let _0x23f96c=(0x0,_0x363993['discreteRangeToRange'])(_0x185a63),{unitId:_0x3d75fd,subUnitId:_0x43b4bc,copyRange:_0x275bf4,drawings:_0x51a44e}=this['_copyInfo'],_0x38c568=this[_0x3c4c1b(0x3e0)][_0x3c4c1b(0x1c6)](_0x3d75fd,_0x43b4bc);if(!_0x38c568)return{'redos':[],'undos':[]};let _0x1c4306=[],_0x596871=[];for(let _0x2843a8 of _0x51a44e){let {drawingId:_0x48a15e,transform:_0x3235f9,sheetTransform:_0x425743}=_0x2843a8,_0x195bfb=this['_chartModelService'][_0x3c4c1b(0x46b)](_0x48a15e);if(!_0x195bfb||!_0x3235f9||!_0x425743)continue;let _0x5ddca4=this[_0x3c4c1b(0x1bb)]({'transform':_0x3235f9,'sheetTransform':_0x425743},{'skeleton':_0x38c568,'range':_0x275bf4},{'skeleton':_0x4588ae,'range':_0x23f96c});if(_0x8b51b7){let {redos:_0x3fd188,undos:_0x4f4fad}=this[_0x3c4c1b(0x311)]({'fromUnitId':_0x3d75fd,'fromSubUnitId':_0x43b4bc,'toUnitId':_0x221fe8,'toSubUnitId':_0x398400,'drawing':_0x2843a8,'newTransforms':_0x5ddca4},_0x195bfb);_0x1c4306[_0x3c4c1b(0x418)](..._0x3fd188),_0x596871[_0x3c4c1b(0x418)](..._0x4f4fad);continue;}let {redos:_0x2015dc,undos:_0xc7b4f2}=this['_generateCopyPasteMutations']({'toUnitId':_0x221fe8,'toSubUnitId':_0x398400,'drawing':_0x2843a8,'newTransforms':_0x5ddca4},_0x195bfb);_0x1c4306[_0x3c4c1b(0x418)](..._0x2015dc),_0x596871[_0x3c4c1b(0x418)](..._0xc7b4f2);}return{'redos':_0x1c4306,'undos':_0x596871};}['_generateCutPasteMutations'](_0x5725a4,_0x181c24){const _0x3efdb4=_0xd70131;let {fromUnitId:_0x5f2022,fromSubUnitId:_0x3cff39,toUnitId:_0x2b86ee,toSubUnitId:_0x770856,drawing:_0x5c0353,newTransforms:_0x2d95e5}=_0x5725a4,_0x8084db={..._0x5c0353,'unitId':_0x2b86ee,'subUnitId':_0x770856,'transform':_0x2d95e5[_0x3efdb4(0x2e6)],'sheetTransform':_0x2d95e5[_0x3efdb4(0x1e2)]};if(_0x2b86ee===_0x5f2022&&_0x770856===_0x3cff39){let {redo:_0xe0d591,undo:_0x3ca14c,objects:_0x5cdafc}=this['_sheetDrawingService']['getBatchUpdateOp']([_0x8084db]);return{'redos':[{'id':_0x49c74d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2b86ee,'subUnitId':_0x770856,'type':_0x49c74d[_0x3efdb4(0x384)][_0x3efdb4(0x422)],'op':_0xe0d591,'objects':_0x5cdafc}}],'undos':[{'id':_0x49c74d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2b86ee,'subUnitId':_0x770856,'type':_0x49c74d[_0x3efdb4(0x384)][_0x3efdb4(0x422)],'op':_0x3ca14c,'objects':_0x5cdafc}}]};}{let _0x2e28e1=this['_sheetDrawingService']['getBatchRemoveOp']([_0x5c0353]),_0x346930=this['_sheetDrawingService'][_0x3efdb4(0x37b)]([_0x8084db]),_0x2c1095=this[_0x3efdb4(0x39e)][_0x3efdb4(0x34d)](_0x181c24['id']);if(!_0x2c1095)return{'redos':[],'undos':[]};let {chartType:_0x1cfaac,context:_0xad583c,style:_0x4939cb,dataAggregation:_0x589f12}=_0x181c24[_0x3efdb4(0x534)]();return{'redos':[{'id':_0x49c74d[_0x3efdb4(0x2ec)]['id'],'params':{'unitId':_0x5f2022,'subUnitId':_0x3cff39,'type':_0x49c74d[_0x3efdb4(0x384)]['REMOVE'],'op':_0x2e28e1[_0x3efdb4(0x26d)],'objects':_0x2e28e1[_0x3efdb4(0x4b0)]}},{'id':_0x1c5438[_0x3efdb4(0x260)]['id'],'params':{'unitId':_0x5f2022,'subUnitId':_0x3cff39,'chartId':_0x5c0353['drawingId']}},{'id':_0x49c74d[_0x3efdb4(0x2ec)]['id'],'params':{'unitId':_0x2b86ee,'subUnitId':_0x770856,'type':_0x49c74d[_0x3efdb4(0x384)][_0x3efdb4(0x453)],'op':_0x346930[_0x3efdb4(0x26d)],'objects':_0x346930[_0x3efdb4(0x4b0)]}},{'id':_0x1c5438['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x2b86ee,'subUnitId':_0x770856,'chartId':_0x5c0353['drawingId'],'chartType':_0x1cfaac,...(0x0,_0x1c5438[_0x3efdb4(0x4c7)])(_0x2c1095),'context':_0xad583c,'style':_0x4939cb,'dataAggregation':_0x589f12}}],'undos':[{'id':_0x49c74d[_0x3efdb4(0x2ec)]['id'],'params':{'unitId':_0x5f2022,'subUnitId':_0x3cff39,'type':_0x49c74d['DrawingApplyType'][_0x3efdb4(0x453)],'op':_0x2e28e1[_0x3efdb4(0x528)],'objects':_0x2e28e1['objects']}},{'id':_0x1c5438['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x5f2022,'subUnitId':_0x3cff39,'chartId':_0x5c0353[_0x3efdb4(0x547)],'chartType':_0x1cfaac,...(0x0,_0x1c5438[_0x3efdb4(0x4c7)])(_0x2c1095),'context':_0xad583c,'style':_0x4939cb,'dataAggregation':_0x589f12}},{'id':_0x49c74d[_0x3efdb4(0x2ec)]['id'],'params':{'unitId':_0x2b86ee,'subUnitId':_0x770856,'type':_0x49c74d[_0x3efdb4(0x384)][_0x3efdb4(0x2bb)],'op':_0x346930[_0x3efdb4(0x528)],'objects':_0x346930[_0x3efdb4(0x4b0)]}},{'id':_0x1c5438[_0x3efdb4(0x260)]['id'],'params':{'unitId':_0x2b86ee,'subUnitId':_0x770856,'chartId':_0x5c0353[_0x3efdb4(0x547)]}}]};}}[_0xd70131(0x338)](_0x57fc51,_0x42f270){const _0xcc7c18=_0xd70131;let {toUnitId:_0x3f2940,toSubUnitId:_0x47981b,drawing:_0x505d80,newTransforms:_0x2a6072}=_0x57fc51,_0x3c5bf2=(0x0,_0xedf715[_0xcc7c18(0x2c7)])(),_0x480915={..._0x505d80,'unitId':_0x3f2940,'subUnitId':_0x47981b,'drawingId':_0x3c5bf2,'transform':_0x2a6072[_0xcc7c18(0x2e6)],'sheetTransform':_0x2a6072['sheetTransform']},{redo:_0x25ba24,undo:_0x28cffb,objects:_0x4d88e4}=this[_0xcc7c18(0x225)][_0xcc7c18(0x37b)]([_0x480915]),_0x582f05=this[_0xcc7c18(0x39e)][_0xcc7c18(0x34d)](_0x42f270['id']);if(!_0x582f05)return{'redos':[],'undos':[]};let {chartType:_0x507f11,context:_0x5ed8cc,style:_0x170756,dataAggregation:_0x8f1da6}=_0x42f270[_0xcc7c18(0x534)]();return{'redos':[{'id':_0x49c74d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f2940,'subUnitId':_0x47981b,'type':_0x49c74d['DrawingApplyType'][_0xcc7c18(0x453)],'op':_0x25ba24,'objects':_0x4d88e4}},{'id':_0x1c5438[_0xcc7c18(0x46c)]['id'],'params':{'unitId':_0x3f2940,'subUnitId':_0x47981b,'chartId':_0x3c5bf2,'chartType':_0x507f11,...(0x0,_0x1c5438[_0xcc7c18(0x4c7)])(_0x582f05),'context':_0x5ed8cc,'style':_0x170756,'dataAggregation':_0x8f1da6}}],'undos':[{'id':_0x49c74d[_0xcc7c18(0x2ec)]['id'],'params':{'unitId':_0x3f2940,'subUnitId':_0x47981b,'type':_0x49c74d[_0xcc7c18(0x384)][_0xcc7c18(0x2bb)],'op':_0x28cffb,'objects':_0x4d88e4}},{'id':_0x1c5438['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3f2940,'subUnitId':_0x47981b,'chartId':_0x3c5bf2}}]};}[_0xd70131(0x1bb)](_0x4c16e8,_0x152395,_0x2ab5dc){const _0x116268=_0xd70131;let {range:_0x3310df,skeleton:_0xe0336a}=_0x152395,{range:_0x3d6d0d,skeleton:_0x296ed0}=_0x2ab5dc,{transform:_0x17de8c,sheetTransform:_0x3ffc2b}=_0x4c16e8,_0xba0212={..._0x17de8c};if(_0x3310df){let _0x5a4a9c=(0x0,_0x363993[_0x116268(0x536)])(_0xe0336a,_0x3310df),_0x504df5=(0x0,_0x363993['attachRangeWithCoord'])(_0x296ed0,_0x3d6d0d);if(_0x5a4a9c&&_0x504df5){let _0x5b9672=_0x504df5[_0x116268(0x4dc)]-_0x5a4a9c[_0x116268(0x4dc)],_0x316b3b=_0x504df5[_0x116268(0x2ee)]-_0x5a4a9c['startY'];_0xba0212[_0x116268(0x206)]=(_0xba0212[_0x116268(0x206)]??0x0)+_0x5b9672,_0xba0212[_0x116268(0x52e)]=(_0xba0212[_0x116268(0x52e)]??0x0)+_0x316b3b;}}else{let _0x2ce19c=(0x0,_0x363993[_0x116268(0x536)])(_0x296ed0,_0x3d6d0d);_0xba0212[_0x116268(0x206)]=_0x2ce19c==null?void 0x0:_0x2ce19c[_0x116268(0x4dc)],_0xba0212[_0x116268(0x52e)]=_0x2ce19c==null?void 0x0:_0x2ce19c['startY'];}return{'transform':_0xba0212,'sheetTransform':(0x0,_0x49c74d['transformToDrawingPosition'])(_0xba0212,_0x296ed0)??_0x3ffc2b};}};_0x2c28bd=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715['Inject'])(_0x363993[_0xd70131(0x501)])),_0x4c4d29(0x1,(0x0,_0xedf715['Inject'])(_0x503fe1[_0xd70131(0x30b)])),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x49c74d[_0xd70131(0x3df)])),_0x4c4d29(0x3,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x4,(0x0,_0xedf715['Inject'])(_0x1c5438[_0xd70131(0x4d5)]))],_0x2c28bd);let _0x1499b2=class extends _0xedf715['Disposable']{constructor(_0x106a51,_0x33238f,_0x201c8f,_0xf80cb1){const _0x37808f=_0xd70131;super(),this[_0x37808f(0x582)]=_0x106a51,this['_localeService']=_0x33238f,this[_0x37808f(0x55a)]=_0x201c8f,this[_0x37808f(0x39e)]=_0xf80cb1,this[_0x37808f(0x435)]();}[_0xd70131(0x435)](){const _0x2114d8=_0xd70131;this[_0x2114d8(0x2ff)](this[_0x2114d8(0x582)]['beforeCommandExecuted'](_0xae1f0b=>{const _0x3b017d=_0x2114d8;let _0x5c2f46,_0x355e17;if(_0xae1f0b['id']===_0x1c5438[_0x3b017d(0x328)]['id']){let _0x144f88=_0xae1f0b[_0x3b017d(0x58a)];_0x5c2f46=_0x144f88[_0x3b017d(0x4e0)],_0x355e17=_0x144f88[_0x3b017d(0x3ab)];}else{if(_0xae1f0b['id']===_0x1c5438[_0x3b017d(0x310)]['id']||_0xae1f0b['id']===_0x1c5438[_0x3b017d(0x59f)]['id']){let _0x5ea56c=_0xae1f0b[_0x3b017d(0x58a)];_0x5c2f46=_0x5ea56c['unitId'],_0x355e17=this[_0x3b017d(0x39e)][_0x3b017d(0x247)](_0x5ea56c[_0x3b017d(0x4e0)],_0x5ea56c[_0x3b017d(0x32f)]);}}_0x5c2f46&&_0x355e17&&(this['_sheetPermissionCheckController'][_0x3b017d(0x436)]({'workbookTypes':[_0x363993[_0x3b017d(0x529)]],'worksheetTypes':[_0x363993[_0x3b017d(0x4c2)]]},_0x5c2f46,_0x355e17)||this[_0x3b017d(0x55a)][_0x3b017d(0x5a6)](this['_localeService']['t']('sheets-chart-ui.permission.editErr')));}));}};_0x1499b2=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x1cb)])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x2db)])),_0x4c4d29(0x2,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x363993[_0xd70131(0x1f1)])),_0x4c4d29(0x3,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x4d5)]))],_0x1499b2);let _0x48d157=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0xfa8e96,_0x9b2a4){const _0x3406c1=_0xd70131;super(),this['_renderService']=_0x9b2a4,this['disposeWithMe'](_0xfa8e96[_0x3406c1(0x5b7)](this));}[_0xd70131(0x5a4)](_0x2a0189){const _0x1ca05f=_0xd70131;return _0x1ca05f(0x4e0)in _0x2a0189&&_0x1ca05f(0x3ab)in _0x2a0189;}[_0xd70131(0x5a9)](_0x509c75,_0x225dce){const _0x2d19ef=_0xd70131;return this[_0x2d19ef(0x237)][_0x2d19ef(0x5a9)](_0x509c75[_0x2d19ef(0x3b7)](),_0x225dce);}};_0x48d157=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715['Inject'])(_0x477057[_0xd70131(0x25b)])),_0x4c4d29(0x1,(0x0,_0xedf715['Inject'])(_0x55a948))],_0x48d157);let _0x2b5660=class extends _0xedf715[_0xd70131(0x562)]{constructor(_0x1ff550=_0x37168f,_0x3d88a,_0x9d3359,_0x5d8460){const _0x5e06e6=_0xd70131;super(),this[_0x5e06e6(0x513)]=_0x1ff550,this[_0x5e06e6(0x3a7)]=_0x3d88a,this[_0x5e06e6(0x445)]=_0x9d3359,this[_0x5e06e6(0x582)]=_0x5d8460;let {..._0x435840}=(0x0,_0xedf715[_0x5e06e6(0x5bb)])({},_0x37168f,this[_0x5e06e6(0x513)]);this[_0x5e06e6(0x445)][_0x5e06e6(0x2a1)](_0x1df44f,_0x435840),this[_0x5e06e6(0x3f3)]();}[_0xd70131(0x29f)](){const _0x10bf34=_0xd70131;let _0x4655e5=[[_0x1e9f2c],[_0x27a99f,{'useClass':_0x3125f9}],[_0x2212a4,{'useClass':_0x1b2769}],[_0x4d4f21],[_0x55a948],[_0x48d157],[_0x39ed65],[_0x1f92db],[_0x2b65a9],[_0x2c28bd],[_0x3aaf04],[_0x1499b2]],_0x42649c=[[_0x1e9f2c],[_0x39ed65],[_0x2b65a9],[_0x1f92db],[_0x48d157],[_0x27a99f],[_0x2c28bd],[_0x3aaf04],[_0x1499b2]];_0x4655e5[_0x10bf34(0x429)](_0x4b2aad=>this['_injector']['add'](_0x4b2aad)),(0x0,_0xedf715['touchDependencies'])(this[_0x10bf34(0x3a7)],_0x42649c);}['onRendered'](){const _0x5cae84=_0xd70131;var _0x5d3cf2;(_0x5d3cf2=this[_0x5cae84(0x3a7)][_0x5cae84(0x428)](_0x39ed65))==null||_0x5d3cf2['initPanel']();}[_0xd70131(0x3f3)](){const _0x13f464=_0xd70131;[_0x33dbe8,_0x27e464]['forEach'](_0x350091=>this[_0x13f464(0x2ff)](this[_0x13f464(0x582)][_0x13f464(0x3c4)](_0x350091)));}};_0x5ce1c0(_0x2b5660,_0xd70131(0x5ac),_0xedf715['UniverInstanceType'][_0xd70131(0x42e)]),_0x5ce1c0(_0x2b5660,_0xd70131(0x2af),'UniverSheetsChartUIPlugin'),_0x5ce1c0(_0x2b5660,'packageName',_0x9feaae),_0x5ce1c0(_0x2b5660,'version',_0x5428e0),_0x2b5660=_0x1ce008([(0x0,_0xedf715['DependentOn'])(_0x4b0aa4[_0xd70131(0x222)],_0x2836bb[_0xd70131(0x573)],_0x3e0c02['UniverRenderEnginePlugin'],_0x363993[_0xd70131(0x219)],_0x49c74d['UniverSheetsDrawingPlugin'],_0x477057[_0xd70131(0x1ca)],_0x1c5438[_0xd70131(0x408)],_0x1b885e['UniverSheetsDrawingMobileUIPlugin'],_0x503fe1[_0xd70131(0x5b5)],_0x64caca['UniverMobileUIPlugin']),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0xedf715[_0xd70131(0x38c)])),_0x4c4d29(0x2,_0xedf715[_0xd70131(0x331)]),_0x4c4d29(0x3,_0xedf715[_0xd70131(0x1cb)])],_0x2b5660);let _0xa35199={'scaleX':0x1,'scaleY':0x1};function _0xb2b64(_0x555aef){const _0x2a9d6d=_0xd70131;let _0x2d5425=_0x555aef[_0x2a9d6d(0x54d)];return _0x2d5425 instanceof MouseEvent?_0x2d5425:void 0x0;}function _0x2e9d88(_0x5df56c){const _0x352e98=_0xd70131;let _0xc85ec4=_0x5df56c[_0x352e98(0x54d)],_0xb397e8=_0xc85ec4==null?void 0x0:_0xc85ec4[_0x352e98(0x33b)];return _0xb397e8 instanceof Element?_0xb397e8:void 0x0;}function _0x2c8397(_0x53a637){const _0x3da1ab=_0xd70131;var _0x4646a7;return(_0x4646a7=_0x2e9d88(_0x53a637))==null?void 0x0:_0x4646a7[_0x3da1ab(0x57d)]();}function _0x577107(_0x4034b0){const _0x4cc12c=_0xd70131;return _0x4034b0[_0x4cc12c(0x20a)]||_0x4034b0[_0x4cc12c(0x1e9)]-_0x4034b0[_0x4cc12c(0x206)];}function _0x2ee2ed(_0x1b3b88){const _0x4da454=_0xd70131;return _0x1b3b88[_0x4da454(0x549)]||_0x1b3b88[_0x4da454(0x57f)]-_0x1b3b88[_0x4da454(0x52e)];}function _0x5d4b2c(_0x522a89,_0x128112){const _0x141d60=_0xd70131;let _0x17ef51=_0x522a89[_0x141d60(0x1ed)]||(_0x522a89 instanceof HTMLElement?_0x522a89['offsetWidth']:0x0),_0x257bc1=_0x522a89['clientHeight']||(_0x522a89 instanceof HTMLElement?_0x522a89[_0x141d60(0x38f)]:0x0),_0x20acdd=_0x577107(_0x128112),_0x26e246=_0x2ee2ed(_0x128112);return{'scaleX':_0x17ef51>0x0&&_0x20acdd>0x0?_0x20acdd/_0x17ef51:_0xa35199[_0x141d60(0x2bf)],'scaleY':_0x257bc1>0x0&&_0x26e246>0x0?_0x26e246/_0x257bc1:_0xa35199[_0x141d60(0x369)]};}function _0x5c6784(_0x346aba,_0x4cf420,_0x20933b){const _0x290d49=_0xd70131;return{'left':_0x346aba['left']+_0x4cf420[_0x290d49(0x206)]*_0x20933b[_0x290d49(0x2bf)],'right':_0x346aba[_0x290d49(0x206)]+_0x4cf420[_0x290d49(0x1e9)]*_0x20933b[_0x290d49(0x2bf)],'top':_0x346aba[_0x290d49(0x52e)]+_0x4cf420[_0x290d49(0x52e)]*_0x20933b[_0x290d49(0x369)],'bottom':_0x346aba['top']+_0x4cf420['bottom']*_0x20933b[_0x290d49(0x369)]};}function _0x25171c(_0x884ed0){const _0x202e86=_0xd70131;let _0x49d667=_0x2e9d88(_0x884ed0),_0x24e518=_0x884ed0[_0x202e86(0x3cd)]['bounds'];if(_0x49d667&&_0x24e518){let _0x2e11cf=_0x49d667[_0x202e86(0x57d)]();return()=>{const _0x4160cf=_0x202e86;let _0x376d7b=_0x49d667[_0x4160cf(0x57d)]();return(_0x49d667[_0x4160cf(0x4cc)]||_0x577107(_0x376d7b)>0x0||_0x2ee2ed(_0x376d7b)>0x0)&&(_0x2e11cf=_0x376d7b),_0x5c6784(_0x2e11cf,_0x24e518,_0x5d4b2c(_0x49d667,_0x2e11cf));};}return()=>{const _0x255300=_0x202e86;let _0x542586=_0x2c8397(_0x884ed0);if(_0x542586&&_0x24e518)return _0x5c6784(_0x542586,_0x24e518,_0x49d667?_0x5d4b2c(_0x49d667,_0x542586):_0xa35199);let _0x4b7ba5=_0xb2b64(_0x884ed0),_0x3ef0f1=_0x49d667&&_0x542586?_0x5d4b2c(_0x49d667,_0x542586):_0xa35199,_0x204ea1=(_0x4b7ba5==null?void 0x0:_0x4b7ba5['clientX'])??(_0x542586?_0x542586[_0x255300(0x206)]+_0x884ed0[_0x255300(0x218)]['x']*_0x3ef0f1[_0x255300(0x2bf)]:_0x884ed0[_0x255300(0x218)]['x']),_0x4ae937=(_0x4b7ba5==null?void 0x0:_0x4b7ba5[_0x255300(0x3f9)])??(_0x542586?_0x542586[_0x255300(0x52e)]+_0x884ed0['localPoint']['y']*_0x3ef0f1[_0x255300(0x369)]:_0x884ed0[_0x255300(0x218)]['y']);return{'left':_0x204ea1,'right':_0x204ea1+0x1,'top':_0x4ae937,'bottom':_0x4ae937+0x1};};}function _0x5928ff(_0x185788){const _0x176096=_0xd70131;return typeof _0x185788==_0x176096(0x56e)&&Number['isFinite'](_0x185788);}function _0x25de23(_0x1a72d3){const _0x37688b=_0xd70131;if(!_0x1a72d3||typeof _0x1a72d3!=_0x37688b(0x356))return!0x0;let {startX:_0x57d834,endX:_0x3e82ec,startY:_0x595107,endY:_0x6c5343}=_0x1a72d3;return!_0x5928ff(_0x57d834)||!_0x5928ff(_0x3e82ec)||!_0x5928ff(_0x595107)||!_0x5928ff(_0x6c5343)||_0x3e82ec-_0x57d834>0x2&&_0x6c5343-_0x595107>0x2;}function _0x25aca5(_0x5220a5){const _0x8fb3cf=_0xd70131;return _0x5220a5[_0x8fb3cf(0x1e9)]<=_0x5220a5[_0x8fb3cf(0x206)]||_0x5220a5['bottom']<=_0x5220a5[_0x8fb3cf(0x52e)]?!0x1:typeof window>'u'||_0x5220a5['right']>0x0&&_0x5220a5[_0x8fb3cf(0x57f)]>0x0&&_0x5220a5['left']<window['innerWidth']&&_0x5220a5[_0x8fb3cf(0x52e)]<window[_0x8fb3cf(0x1d5)];}function _0x5d58ca(_0x309a9c){const _0x2596bc=_0xd70131;var _0x466864;return _0x309a9c==null||(_0x466864=_0x309a9c[_0x2596bc(0x23c)])==null?void 0x0:_0x466864[_0x2596bc(0x30f)](_0x309a9c);}function _0xae1270(_0x1a5996,_0x50d6b0,_0x3ba7ab){const _0x4d22ff=_0xd70131;let _0x5b0039=_0x25171c(_0x1a5996),_0x3f232b=_0x5d58ca(_0x50d6b0),_0x235481=_0x5b0039(),_0xdf1203=new _0x2f2bb7['BehaviorSubject'](_0x235481),_0x4ac37c=new _0xedf715[(_0x4d22ff(0x23f))](),_0x583726=!0x1,_0x41708b=!0x1,_0x3a706b=_0x397eb3=>_0x25de23(_0x3f232b)&&_0x25aca5(_0x397eb3),_0x486361=()=>{_0x41708b||_0x583726||(_0x41708b=!0x0,queueMicrotask(()=>{const _0x1bfa1c=_0x1a03;if(_0x41708b=!0x1,!_0x583726){let _0x2be2d3=_0x5b0039();if(!_0x3a706b(_0x2be2d3)){_0x3ba7ab();return;}_0xdf1203[_0x1bfa1c(0x3d1)](_0x2be2d3);}}));};return _0x50d6b0&&_0x4ac37c['add'](_0x50d6b0[_0x4d22ff(0x437)](_0x10001b=>{_0x3f232b=_0x10001b,_0x486361();})),typeof window<'u'&&_0x4ac37c[_0x4d22ff(0x45b)]((0x0,_0x2f2bb7[_0x4d22ff(0x5bb)])((0x0,_0x2f2bb7[_0x4d22ff(0x5c3)])(window,'scroll',{'capture':!0x0}),(0x0,_0x2f2bb7['fromEvent'])(window,_0x4d22ff(0x5b6)))['pipe']((0x0,_0x2f2bb7[_0x4d22ff(0x56d)])(0x10))['subscribe'](_0x486361)),{'initialRect':_0x235481,'anchorRect$':_0xdf1203[_0x4d22ff(0x55d)](),'visible':_0x3a706b(_0x235481),'dispose':()=>{const _0x1f3c0f=_0x4d22ff;_0x583726=!0x0,_0x4ac37c[_0x1f3c0f(0x205)](),_0xdf1203[_0x1f3c0f(0x243)]();}};}let _0x3c6b50=_0xd70131(0x495),_0x1fa1cb=class extends _0xedf715['Disposable']{constructor(_0x5d3ef9,_0x48a68f,_0x37fcfe,_0x1abd52,_0x382ecc,_0x3ef656,_0x31d18a,_0x450294,_0x2e2198){const _0x41f437=_0xd70131;super(),this[_0x41f437(0x2d8)]=_0x5d3ef9,this[_0x41f437(0x304)]=_0x48a68f,this[_0x41f437(0x5ab)]=_0x37fcfe,this[_0x41f437(0x457)]=_0x1abd52,this[_0x41f437(0x49d)]=_0x382ecc,this[_0x41f437(0x2be)]=_0x3ef656,this[_0x41f437(0x313)]=_0x31d18a,this[_0x41f437(0x582)]=_0x450294,this[_0x41f437(0x3a7)]=_0x2e2198,_0x5ce1c0(this,_0x41f437(0x38d),null),_0x5ce1c0(this,_0x41f437(0x45c),null),_0x5ce1c0(this,_0x41f437(0x3cf),null),this[_0x41f437(0x4da)](),this[_0x41f437(0x279)]();}['dispose'](){const _0x3f526a=_0xd70131;this[_0x3f526a(0x3de)](),super[_0x3f526a(0x205)]();}['_registerAdapter'](){const _0x3f652b=_0xd70131;let _0x3ca0fb=(0x0,_0x477057['createChartElementFloatMenuAdapter'])({'chartUIService':this[_0x3f652b(0x2be)],'getHostAdapter':_0x54e46a=>{const _0x50012b=_0x3f652b;let _0x2b207e=this[_0x50012b(0x2d8)][_0x50012b(0x46b)](_0x54e46a[_0x50012b(0x477)]);if(_0x2b207e&&_0x54e46a[_0x50012b(0x3ab)])return new _0x477057[(_0x50012b(0x3f5))](_0x2b207e,new _0x1c5438[(_0x50012b(0x31a))]({'unitId':_0x54e46a[_0x50012b(0x4e0)],'subUnitId':_0x54e46a['subUnitId'],'chartId':_0x54e46a[_0x50012b(0x477)],'injector':this['_injector']}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x49a387=>{const _0x82ea86=_0x3f652b;let {unitId:_0x5424a3,subUnitId:_0x5538bd,drawingId:_0x7ba61d,chartId:_0x80f236}=_0x49a387,_0x1095c7=(0x0,_0x477057[_0x82ea86(0x48f)])(_0x49a387[_0x82ea86(0x33b)]);this['_commandService'][_0x82ea86(0x472)](_0x27e464['id'],{'unitId':_0x5424a3,'subUnitId':_0x5538bd??'','drawingId':_0x7ba61d??_0x80f236,..._0x1095c7?{'route':_0x1095c7}:{}});}});this['disposeWithMe'](this['_adapterRegistry']['register'](_0x3c6b50,_0x3ca0fb));}[_0xd70131(0x279)](){const _0x350489=_0xd70131;this['disposeWithMe'](this['_chartModelService'][_0x350489(0x367)]['subscribe'](_0x4f0f89=>{const _0x151019=_0x350489;let _0x17535b=new _0xedf715[(_0x151019(0x23f))]();_0x17535b['add'](this[_0x151019(0x304)]['on'](_0x4f0f89['id'],_0x151019(0x4a8),_0x4a4a5b=>{const _0x500d11=_0x151019;this[_0x500d11(0x23b)](_0x4f0f89['id'],_0x4a4a5b);})),_0x17535b[_0x151019(0x45b)](this[_0x151019(0x304)]['on'](_0x4f0f89['id'],_0x151019(0x48d),()=>{const _0x2adf5c=_0x151019;this[_0x2adf5c(0x52c)](_0x4f0f89['id']);})),_0x4f0f89[_0x151019(0x265)](()=>{const _0x39444c=_0x151019;_0x17535b[_0x39444c(0x205)](),this[_0x39444c(0x493)](_0x4f0f89['id']);}),this['disposeWithMe'](_0x17535b);})),this[_0x350489(0x2ff)]((0x0,_0x2f2bb7[_0x350489(0x1e5)])([this[_0x350489(0x2d8)][_0x350489(0x3c6)],this[_0x350489(0x2be)][_0x350489(0x1d9)]])[_0x350489(0x437)](([_0x1d8522,_0x125b3d])=>{const _0x497aac=_0x350489;(!_0x125b3d||this[_0x497aac(0x45c)]&&(_0x1d8522==null?void 0x0:_0x1d8522['id'])!==this[_0x497aac(0x45c)])&&this['_closePopup']();})),this[_0x350489(0x2ff)](this['_sheetCanvasFloatDomManagerService'][_0x350489(0x3e6)][_0x350489(0x437)](({id:_0x4f5511})=>{const _0x31482e=_0x350489;this[_0x31482e(0x493)](_0x4f5511);})),this[_0x350489(0x2ff)](this['_sheetCanvasFloatDomManagerService'][_0x350489(0x2c1)][_0x350489(0x437)](({id:_0x333b0c})=>{const _0x50d655=_0x350489;this[_0x50d655(0x493)](_0x333b0c);})),this[_0x350489(0x2ff)](this[_0x350489(0x5ab)][_0x350489(0x291)][_0x350489(0x437)](_0x2f4d11=>{const _0x53af21=_0x350489;this[_0x53af21(0x493)](_0x2f4d11);}));}[_0xd70131(0x52c)](_0x3cae0c){const _0x2d8dae=_0xd70131;if(this[_0x2d8dae(0x2be)][_0x2d8dae(0x3a8)])return;let _0x49c675=this[_0x2d8dae(0x2d8)][_0x2d8dae(0x46b)](_0x3cae0c),_0x5c1c0b=this[_0x2d8dae(0x49d)]['getFloatDomInfo'](_0x3cae0c);_0x49c675&&_0x5c1c0b&&this[_0x2d8dae(0x582)][_0x2d8dae(0x472)](_0x27e464['id'],{'unitId':_0x5c1c0b[_0x2d8dae(0x4e0)],'subUnitId':_0x5c1c0b[_0x2d8dae(0x3ab)]??'','drawingId':_0x3cae0c});}[_0xd70131(0x23b)](_0xd7fbf3,_0x4275e0){const _0x1fefa7=_0xd70131;if(!this[_0x1fefa7(0x2be)][_0x1fefa7(0x1ee)](_0xd7fbf3))return;let _0x416d88=this[_0x1fefa7(0x2d8)][_0x1fefa7(0x46b)](_0xd7fbf3),_0x4e91b8=_0x416d88?_0x1e15b3(_0x416d88,_0x4275e0['hit']):void 0x0;if(!_0x4e91b8){this[_0x1fefa7(0x2be)][_0x1fefa7(0x476)](),this['_closePopup']();return;}let _0x4ad74e=this[_0x1fefa7(0x49d)]['getFloatDomInfo'](_0xd7fbf3);if(!_0x416d88||!_0x4ad74e){this[_0x1fefa7(0x2be)][_0x1fefa7(0x476)](),this['_closePopup']();return;}let _0x84d257=JSON[_0x1fefa7(0x217)]([_0x4ad74e[_0x1fefa7(0x4e0)],_0x4ad74e['subUnitId'],_0xd7fbf3,_0x4e91b8[_0x1fefa7(0x33b)]]);if(this['_popupDisposable']&&this[_0x1fefa7(0x3cf)]===_0x84d257||(this[_0x1fefa7(0x2be)][_0x1fefa7(0x1c2)](_0xd7fbf3,_0x4e91b8['route']),this[_0x1fefa7(0x3de)](),!_0x4e91b8[_0x1fefa7(0x413)]))return;let _0x3daa7d=_0xae1270(_0x4275e0,_0x4ad74e['position$'],()=>this['_clearHiddenSelectedTarget'](_0xd7fbf3));if(!_0x3daa7d[_0x1fefa7(0x405)]){_0x3daa7d[_0x1fefa7(0x205)]();return;}let _0x2a7c2f=this[_0x1fefa7(0x457)][_0x1fefa7(0x3db)](_0x3daa7d[_0x1fefa7(0x506)],_0x3daa7d['anchorRect$'],{'componentKey':_0x477057[_0x1fefa7(0x25e)],'constrainToCanvas':!0x0,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x4ad74e['unitId'],'subUnitId':_0x4ad74e[_0x1fefa7(0x3ab)],'chartId':_0xd7fbf3,'drawingId':_0xd7fbf3,'element':_0x4275e0[_0x1fefa7(0x3cd)],'target':_0x4e91b8[_0x1fefa7(0x33b)],'adapterKey':_0x3c6b50}},_0x4ad74e['unitId'],_0x4ad74e['subUnitId'])??null;if(!_0x2a7c2f){_0x3daa7d[_0x1fefa7(0x205)]();return;}let _0x34a230=new _0xedf715[(_0x1fefa7(0x23f))]();_0x34a230['add'](_0x2a7c2f),_0x34a230[_0x1fefa7(0x45b)](_0x3daa7d),this['_popupDisposable']=_0x34a230,this[_0x1fefa7(0x45c)]=_0xd7fbf3,this[_0x1fefa7(0x3cf)]=_0x84d257;}[_0xd70131(0x3de)](){const _0x138650=_0xd70131;var _0x23609d;(_0x23609d=this[_0x138650(0x38d)])==null||_0x23609d['dispose'](),this[_0x138650(0x38d)]=null,this[_0x138650(0x45c)]=null,this['_popupSessionKey']=null;}['_clearSelectedTarget'](_0x5a4ae9){const _0x171483=_0xd70131;(this['_chartUIService'][_0x171483(0x1ee)](_0x5a4ae9)||this[_0x171483(0x45c)]===_0x5a4ae9)&&(this[_0x171483(0x2be)][_0x171483(0x476)](),this[_0x171483(0x45c)]===_0x5a4ae9&&this['_closePopup']());}[_0xd70131(0x1d3)](_0x2c0b23){const _0x54945b=_0xd70131;this[_0x54945b(0x493)](_0x2c0b23),this[_0x54945b(0x2be)]['isElementEditModeActive'](_0x2c0b23)&&(this[_0x54945b(0x304)][_0x54945b(0x544)](_0x2c0b23,!0x1),this[_0x54945b(0x304)][_0x54945b(0x544)](_0x2c0b23,!0x0));}};_0x1fa1cb=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1c5438[_0xd70131(0x52a)])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x55a948)),_0x4c4d29(0x2,_0x2212a4),_0x4c4d29(0x3,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x503fe1[_0xd70131(0x4f6)])),_0x4c4d29(0x4,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x1b885e[_0xd70131(0x568)])),_0x4c4d29(0x5,_0x27a99f),_0x4c4d29(0x6,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x477057['ChartElementFloatMenuAdapterRegistry'])),_0x4c4d29(0x7,_0xedf715[_0xd70131(0x1cb)]),_0x4c4d29(0x8,(0x0,_0xedf715['Inject'])(_0xedf715[_0xd70131(0x38c)]))],_0x1fa1cb);function _0x35560c({ref:_0x3927fb,..._0x1b46a8}){const _0x1bcf86=_0xd70131;let {preserveStrokeWidth:_0x194db6,icon:_0x1922cb,id:_0x47297c,className:_0x5ba4d7,extend:_0x159024,..._0x4c6159}=_0x1b46a8,_0x179d79=('univerjs-icon\x20univerjs-icon-'+_0x47297c+'\x20'+(_0x5ba4d7||''))[_0x1bcf86(0x52d)](),_0x3d277c='_'+(0x0,_0x2c8eee['useId'])(),_0x5efca7=(0x0,_0x2c8eee[_0x1bcf86(0x39f)])(null);return(0x0,_0x2c8eee[_0x1bcf86(0x281)])(_0x3927fb,()=>_0x5efca7[_0x1bcf86(0x557)]),(0x0,_0x2c8eee[_0x1bcf86(0x4f0)])(()=>{const _0x1808d0=_0x1bcf86;if(_0x194db6&&_0x5efca7['current']&&_0x5efca7['current'][_0x1808d0(0x50e)]===_0x1922cb[_0x1808d0(0x24c)])return _0x1263db(_0x5efca7[_0x1808d0(0x557)]);},[_0x194db6,_0x1922cb]),_0x53bd31(_0x1922cb,''+_0x47297c,{'defIds':_0x1922cb[_0x1bcf86(0x320)],'idSuffix':_0x3d277c},{'ref':_0x5efca7,'className':_0x179d79,..._0x4c6159},_0x159024);}function _0x53bd31(_0x3d10fc,_0x4ee48b,_0x8cb00,_0xe4ea06,_0xa2c1cd){const _0x1a2a26=_0xd70131;return(0x0,_0x2c8eee[_0x1a2a26(0x5bd)])(_0x3d10fc['tag'],{'key':_0x4ee48b,..._0x395b1c(_0x3d10fc,_0x8cb00,_0xa2c1cd),..._0xe4ea06},(_0x346133(_0x3d10fc,_0x8cb00)[_0x1a2a26(0x272)]||[])[_0x1a2a26(0x275)]((_0x40e940,_0x43a468)=>_0x53bd31(_0x40e940,_0x4ee48b+'-'+_0x3d10fc[_0x1a2a26(0x24c)]+'-'+_0x43a468,_0x8cb00,void 0x0,_0xa2c1cd)));}function _0x395b1c(_0x160985,_0x2fdee5,_0x4aea30){const _0x5942ea=_0xd70131;let _0x12b9d3={..._0x160985[_0x5942ea(0x4c5)]};_0x4aea30!=null&&_0x4aea30[_0x5942ea(0x5b8)]&&_0x12b9d3[_0x5942ea(0x497)]===_0x5942ea(0x5b8)&&(_0x12b9d3[_0x5942ea(0x497)]=_0x4aea30[_0x5942ea(0x5b8)]),_0x4aea30!=null&&_0x4aea30[_0x5942ea(0x5b8)]&&_0x12b9d3[_0x5942ea(0x403)]===_0x5942ea(0x5b8)&&(_0x12b9d3['stroke']=_0x4aea30['colorChannel1']),_0x160985[_0x5942ea(0x24c)]===_0x5942ea(0x3d0)&&_0x12b9d3['id']&&(_0x12b9d3['id']+=_0x2fdee5['idSuffix']),Object[_0x5942ea(0x583)](_0x12b9d3)[_0x5942ea(0x429)](([_0x18e18b,_0x412104])=>{const _0x5592d3=_0x5942ea;_0x18e18b===_0x5592d3(0x3d0)&&typeof _0x412104==_0x5592d3(0x2d3)&&(_0x12b9d3[_0x18e18b]=_0x412104[_0x5592d3(0x3c8)](/url\(#(.*)\)/,_0x5592d3(0x3cc)+_0x2fdee5[_0x5592d3(0x1ef)]+')'));});let {defIds:_0x190f5a}=_0x2fdee5;return!_0x190f5a||_0x190f5a['length']===0x0||(_0x160985[_0x5942ea(0x24c)]===_0x5942ea(0x2e2)&&_0x12b9d3[_0x5942ea(0x3f1)]&&(_0x12b9d3[_0x5942ea(0x3f1)]+=_0x2fdee5[_0x5942ea(0x1ef)]),Object[_0x5942ea(0x583)](_0x12b9d3)[_0x5942ea(0x429)](([_0x183c67,_0x1aadea])=>{const _0x5c31bd=_0x5942ea;typeof _0x1aadea==_0x5c31bd(0x2d3)&&(_0x12b9d3[_0x183c67]=_0x1aadea[_0x5c31bd(0x3c8)](/url\(#(.*)\)/,'url(#$1'+_0x2fdee5[_0x5c31bd(0x1ef)]+')'));})),_0x12b9d3;}function _0x346133(_0xcd87bf,_0xc968af){const _0x2eb4cd=_0xd70131;var _0x4a5804;let {defIds:_0x35e3a6}=_0xc968af;return!_0x35e3a6||_0x35e3a6[_0x2eb4cd(0x454)]===0x0?_0xcd87bf:_0xcd87bf[_0x2eb4cd(0x24c)]===_0x2eb4cd(0x419)&&(_0x4a5804=_0xcd87bf[_0x2eb4cd(0x272)])!=null&&_0x4a5804[_0x2eb4cd(0x454)]?{..._0xcd87bf,'children':_0xcd87bf[_0x2eb4cd(0x272)][_0x2eb4cd(0x275)](_0x717f56=>typeof _0x717f56[_0x2eb4cd(0x4c5)]['id']==_0x2eb4cd(0x2d3)&&_0x35e3a6&&_0x35e3a6[_0x2eb4cd(0x4a5)](_0x717f56[_0x2eb4cd(0x4c5)]['id'])?{..._0x717f56,'attrs':{..._0x717f56[_0x2eb4cd(0x4c5)],'id':_0x717f56[_0x2eb4cd(0x4c5)]['id']+_0xc968af[_0x2eb4cd(0x1ef)]}}:_0x717f56)}:_0xcd87bf;}function _0x1263db(_0x430016){const _0x4c5719=_0xd70131;let _0x38cb6e=_0x430016[_0x4c5719(0x38a)][_0x4c5719(0x514)],_0x308c65=Math[_0x4c5719(0x575)](_0x38cb6e[_0x4c5719(0x20a)],_0x38cb6e['height']);if(!Number['isFinite'](_0x308c65)||_0x308c65<=0x0||_0x38cb6e['width']<=0x0||_0x38cb6e[_0x4c5719(0x549)]<=0x0)return()=>void 0x0;let _0x4dd5bb=0x10/_0x308c65,_0x58b9e1=Array['from'](_0x430016[_0x4c5719(0x475)](_0x4c5719(0x3ac)))['flatMap'](_0x2dc573=>{const _0x2f4cce=_0x4c5719;let _0x10262e=getComputedStyle(_0x2dc573),_0x15a15b=Number[_0x2f4cce(0x564)](_0x10262e[_0x2f4cce(0x50b)]);return _0x10262e[_0x2f4cce(0x403)]==='none'||Number['parseFloat'](_0x10262e[_0x2f4cce(0x20d)])===0x0||_0x10262e[_0x2f4cce(0x366)]===_0x2f4cce(0x306)||!Number[_0x2f4cce(0x2a0)](_0x15a15b)||_0x15a15b<=0x0?[]:[{'element':_0x2dc573,'hadStyleAttribute':_0x2dc573['hasAttribute']('style'),'originalStrokeWidth':_0x15a15b,'strokeWidth':_0x3a6c6a(_0x2dc573[_0x2f4cce(0x351)],'stroke-width')}];})[_0x4c5719(0x275)](_0x12698f=>({'appliedStrokeWidth':null,'element':_0x12698f[_0x4c5719(0x43d)],'hadStyleAttribute':_0x12698f[_0x4c5719(0x33d)],'isReleased':!0x1,'originalStrokeWidth':_0x12698f[_0x4c5719(0x5aa)],'strokeWidth':_0x12698f['strokeWidth']}));if(_0x58b9e1['length']===0x0)return()=>void 0x0;let _0x52456b=(_0x348018,_0x4da9df)=>{const _0x387263=_0x4c5719;if(_0x38cb6e['width']<=0x0||_0x38cb6e['height']<=0x0||_0x348018<=0x0||_0x4da9df<=0x0)return;let _0x3e8293=Math[_0x387263(0x4b2)](_0x348018/_0x38cb6e[_0x387263(0x20a)],_0x4da9df/_0x38cb6e[_0x387263(0x549)]);!Number[_0x387263(0x2a0)](_0x3e8293)||_0x3e8293<=0x0||_0x58b9e1[_0x387263(0x429)](_0x45900a=>{const _0x1297ab=_0x387263;if(_0x45900a[_0x1297ab(0x402)])return;if(_0x45900a[_0x1297ab(0x1e4)]!==null&&(_0x45900a['element']['style'][_0x1297ab(0x42d)](_0x1297ab(0x307))!==_0x45900a[_0x1297ab(0x1e4)]||_0x45900a[_0x1297ab(0x43d)][_0x1297ab(0x351)][_0x1297ab(0x541)](_0x1297ab(0x307))!==_0x45900a[_0x1297ab(0x50b)][_0x1297ab(0x37a)])){_0x45900a[_0x1297ab(0x1e4)]=null,_0x45900a[_0x1297ab(0x402)]=!0x0;return;}let _0x363575=_0x45900a['originalStrokeWidth']*_0x4dd5bb/_0x3e8293,_0x2787f1=Number(_0x363575[_0x1297ab(0x238)](0xc))+'px';_0x45900a['element']['style'][_0x1297ab(0x48b)](_0x1297ab(0x307),_0x2787f1,_0x45900a[_0x1297ab(0x50b)]['priority']),_0x45900a[_0x1297ab(0x1e4)]=_0x2787f1;});},_0x54f847=_0x430016[_0x4c5719(0x57d)]();_0x52456b(_0x54f847[_0x4c5719(0x20a)],_0x54f847[_0x4c5719(0x549)]);let _0x17638a=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x5aaf17=>{const _0x18e3d3=_0x4c5719;if(_0x5aaf17[_0x18e3d3(0x23e)](_0x32dcbc=>_0x32dcbc[_0x18e3d3(0x33b)]===_0x430016)){let _0x227b22=_0x430016[_0x18e3d3(0x57d)]();_0x52456b(_0x227b22[_0x18e3d3(0x20a)],_0x227b22[_0x18e3d3(0x549)]);}});return _0x17638a==null||_0x17638a['observe'](_0x430016),()=>{const _0x3a1688=_0x4c5719;_0x17638a==null||_0x17638a['disconnect'](),_0x58b9e1[_0x3a1688(0x429)](_0x519714=>{const _0x51dcad=_0x3a1688;_0x519714[_0x51dcad(0x1e4)]!==null&&(_0x14e5ff(_0x519714[_0x51dcad(0x43d)][_0x51dcad(0x351)],_0x51dcad(0x307),_0x519714[_0x51dcad(0x1e4)],_0x519714[_0x51dcad(0x50b)][_0x51dcad(0x37a)],_0x519714[_0x51dcad(0x50b)]),!_0x519714[_0x51dcad(0x33d)]&&_0x519714[_0x51dcad(0x43d)]['style'][_0x51dcad(0x454)]===0x0&&_0x519714[_0x51dcad(0x43d)][_0x51dcad(0x253)](_0x51dcad(0x351)));});};}function _0x3a6c6a(_0x49f02e,_0x2cf90a){const _0x192671=_0xd70131;return{'priority':_0x49f02e[_0x192671(0x541)](_0x2cf90a),'value':_0x49f02e[_0x192671(0x42d)](_0x2cf90a)};}function _0x14e5ff(_0x48b784,_0xe5fad3,_0x25d092,_0x19fe47,_0x14f962){const _0x294b24=_0xd70131;_0x48b784['getPropertyValue'](_0xe5fad3)===_0x25d092&&_0x48b784[_0x294b24(0x541)](_0xe5fad3)===_0x19fe47&&(_0x14f962[_0x294b24(0x4c8)]?_0x48b784[_0x294b24(0x48b)](_0xe5fad3,_0x14f962[_0x294b24(0x4c8)],_0x14f962[_0x294b24(0x37a)]):_0x48b784[_0x294b24(0x53f)](_0xe5fad3));}_0x35560c[_0xd70131(0x3da)]=_0xd70131(0x317);let _0x255ee4={'tag':_0xd70131(0x36a),'attrs':{'xmlns':_0xd70131(0x1fc),'fill':_0xd70131(0x22c),'viewBox':_0xd70131(0x24b),'width':_0xd70131(0x1fe),'height':_0xd70131(0x1fe)},'children':[{'tag':_0xd70131(0x4f3),'attrs':{'fill':_0xd70131(0x3be),'d':'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'}}]},_0x425c82=(0x0,_0x2c8eee[_0xd70131(0x5b4)])(function(_0x2c72d1,_0x37bed9){const _0x1e5308=_0xd70131;return(0x0,_0x2c8eee['createElement'])(_0x35560c,Object[_0x1e5308(0x46d)]({},_0x2c72d1,{'id':_0x1e5308(0x4a7),'ref':_0x37bed9,'icon':_0x255ee4}));});_0x425c82['displayName']=_0xd70131(0x584);let _0xb14853=class extends _0xedf715[_0xd70131(0x1e7)]{constructor(_0x2fb145,_0x2b9c5b){const _0x35c9aa=_0xd70131;super(),this['_componentManager']=_0x2fb145,this['_iconManager']=_0x2b9c5b,this[_0x35c9aa(0x569)](),this[_0x35c9aa(0x4f5)]();}[_0xd70131(0x569)](){const _0x481828=_0xd70131;this[_0x481828(0x2ff)](this[_0x481828(0x3d8)][_0x481828(0x5b7)]({'PenIcon':_0x425c82}));}['_registerComponents'](){const _0x3476e3=_0xd70131;[[_0x379a75,_0x4c19db]][_0x3476e3(0x429)](([_0x2613ec,_0xdf2482])=>{const _0x9c7944=_0x3476e3;this[_0x9c7944(0x2ff)](this['_componentManager'][_0x9c7944(0x5b7)](_0x2613ec,_0xdf2482));});}};_0xb14853=_0x1ce008([_0x4c4d29(0x0,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x64caca['ComponentManager'])),_0x4c4d29(0x1,(0x0,_0xedf715[_0xd70131(0x3ca)])(_0x64caca[_0xd70131(0x5ba)]))],_0xb14853);let _0xb867a0=class extends _0xedf715[_0xd70131(0x562)]{constructor(_0x2db3c0=_0x37168f,_0x4847d9,_0x40d882,_0x1cf140){const _0x4fed23=_0xd70131;super(),this[_0x4fed23(0x513)]=_0x2db3c0,this[_0x4fed23(0x3a7)]=_0x4847d9,this[_0x4fed23(0x445)]=_0x40d882,this['_commandService']=_0x1cf140,_0x5ce1c0(this,_0x4fed23(0x23d),void 0x0);let {..._0x448b40}=(0x0,_0xedf715[_0x4fed23(0x5bb)])({},_0x37168f,this[_0x4fed23(0x513)]);this[_0x4fed23(0x23d)]=_0x448b40,this[_0x4fed23(0x445)]['setConfig'](_0x1df44f,_0x448b40),this['_initCommands']();}[_0xd70131(0x29f)](){const _0x11582c=_0xd70131;this[_0x11582c(0x3a7)][_0x11582c(0x45b)]([_0xb14853]),this['_injector']['get'](_0xb14853);let _0x56ab3f=this[_0x11582c(0x3a7)],_0x7a3c2c=[[_0x27a99f,{'useClass':_0x3125f9}],[_0x2212a4,{'useClass':_0x1b2769}],[_0x4d4f21],[_0x55a948],[_0x48d157],[_0x14f5a2],[_0x1f92db],[_0x2b65a9],[_0x2c28bd],[_0x3aaf04],[_0x1499b2]],_0x3244aa=[[_0x14f5a2],[_0x2b65a9],[_0x1f92db],[_0x48d157],[_0x27a99f],[_0x2c28bd],[_0x3aaf04],[_0x1499b2]];this['_resolvedConfig']['enableChartElementFloatMenu']&&(_0x7a3c2c[_0x11582c(0x418)]([_0x1fa1cb]),_0x3244aa[_0x11582c(0x418)]([_0x1fa1cb])),_0x7a3c2c['forEach'](_0x506e38=>_0x56ab3f[_0x11582c(0x45b)](_0x506e38)),(0x0,_0xedf715[_0x11582c(0x556)])(this[_0x11582c(0x3a7)],_0x3244aa);}[_0xd70131(0x56c)](){const _0x3cf4f4=_0xd70131;var _0x5b84af;(_0x5b84af=this['_injector']['get'](_0x14f5a2))==null||_0x5b84af[_0x3cf4f4(0x515)]();}[_0xd70131(0x3f3)](){const _0x26933d=_0xd70131;[_0x33dbe8,_0x583a76,_0x179dbf,_0x26a9ec,_0x446c58,_0x27e464,_0x5b262b][_0x26933d(0x429)](_0x48c0b3=>this[_0x26933d(0x2ff)](this[_0x26933d(0x582)][_0x26933d(0x3c4)](_0x48c0b3)));}};_0x5ce1c0(_0xb867a0,_0xd70131(0x5ac),_0xedf715[_0xd70131(0x37e)][_0xd70131(0x42e)]),_0x5ce1c0(_0xb867a0,_0xd70131(0x2af),'UniverSheetsChartUIPlugin'),_0x5ce1c0(_0xb867a0,_0xd70131(0x201),_0x9feaae),_0x5ce1c0(_0xb867a0,_0xd70131(0x2e9),_0x5428e0),_0xb867a0=_0x1ce008([(0x0,_0xedf715[_0xd70131(0x1c1)])(_0x4b0aa4[_0xd70131(0x222)],_0x2836bb['UniverDrawingPlugin'],_0x3e0c02[_0xd70131(0x2b1)],_0x363993[_0xd70131(0x219)],_0x49c74d[_0xd70131(0x4a2)],_0x477057[_0xd70131(0x326)],_0x1c5438[_0xd70131(0x408)],_0x1b885e[_0xd70131(0x36c)],_0x503fe1[_0xd70131(0x47e)]),_0x4c4d29(0x1,(0x0,_0xedf715['Inject'])(_0xedf715[_0xd70131(0x38c)])),_0x4c4d29(0x2,_0xedf715['IConfigService']),_0x4c4d29(0x3,_0xedf715['ICommandService'])],_0xb867a0),_0x3116e0[_0xd70131(0x432)]=_0x27e464,Object[_0xd70131(0x31c)](_0x3116e0,_0xd70131(0x2a7),{'enumerable':!0x0,'get':function(){return _0x55a948;}}),_0x3116e0['ISheetsChartUIService']=_0x27a99f,_0x3116e0[_0xd70131(0x4d6)]=_0x1df44f,Object[_0xd70131(0x31c)](_0x3116e0,_0xd70131(0x4dd),{'enumerable':!0x0,'get':function(){return _0x14f5a2;}}),_0x3116e0[_0xd70131(0x489)]=_0x28087a,Object[_0xd70131(0x31c)](_0x3116e0,_0xd70131(0x4ee),{'enumerable':!0x0,'get':function(){return _0x3125f9;}}),Object['defineProperty'](_0x3116e0,_0xd70131(0x2bc),{'enumerable':!0x0,'get':function(){return _0x2b5660;}}),Object[_0xd70131(0x31c)](_0x3116e0,'UniverSheetsChartUIPlugin',{'enumerable':!0x0,'get':function(){return _0xb867a0;}}),_0x3116e0[_0xd70131(0x52f)]=_0xae1270;}));function _0x1a03(_0xf18c6c,_0x58821){_0xf18c6c=_0xf18c6c-0x1b7;const _0x194b8b=_0x194b();let _0x1a0395=_0x194b8b[_0xf18c6c];return _0x1a0395;}function _0x194b(){const _0x4347ea=['serialize','ImageChartHost','attachRangeWithCoord','darkMode$','ensureHost','setRangeSelectMode','renderTransition','config$','lineTo','getUnit','indicatorLine','removeProperty','startRow','getPropertyPriority','_syncActiveEditChart','chartBitsUtils','setElementEditMode','GridlinesAndTicks','getParent','drawingId','UniverDrawing','height','1000','sheets-chart-ui.waterfall.positive','syncHostLayout','nativeEvent','getContextValue','transformer','getRect','_initSheetChange','DEFAULT_CHART_WATERFALL_STYLE_VALUES','184510AXnAoN','sheets-chart-ui.chartTypes.area','_getHostPlacement','touchDependencies','current','IMenuManagerService','sheet.command.chart.open-focused-panel','_sheetPermissionCheckController','UniverProSheetsChartUi','startWith','asObservable','endsWith','heatmap','getRenderColor','CHART_TYPE_CATALOG','Plugin','promise','parseFloat','RemoveSheetCommand','getMatrix','toStringTag','SheetCanvasFloatDomManagerService','_registerIcons','rect','getRangeInfo','onRendered','throttleTime','number','_chartEditorOpen$','KeyCode','@univerjs-pro/license','sheets-chart-ui.section.sunburst','UniverDrawingPlugin','_openPanel','max','withLatestFrom','scale','_canvasFloatDomService','switchMap','anonymous','_callback','focusDrawing','getBoundingClientRect','resolveChartRuntimeStyle','bottom','debounce','toPrimitive','_commandService','entries','PenIcon','rxjs','_pendingUrlImage','_bindChartPointerEvents','pointerEvents','onerror','params','IContextService','UniverUi','useDependency','function','cancel','_pendingHost','_activateEditPanelState','MobileRangeSelector','sidebarOptions$','dataset','lostpointercapture','getChartPopupMenus','canvas','_initMenus','hasPointerCapture','_contextService','getSheetBySheetName','#-#','concat','UniverSheetsUi','ChartUpdateSourceCommand','handleActiveSubUnitChange','Heatmap','DEFAULT_CHART_HEATMAP_VALUES','sheet.command.chart.delete-focused-chart','supports','_getImage','blockExecuteWithoutPermission','chartType','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','exportImage','originalStrokeWidth','_chartHostProvider','type','color','range','sheets-chart-ui.common.switchRowColumn','_deactivateEditPanelState','markHostNotReady','sheets-chart-ui.common.setup','ChartRenderMode','forwardRef','UniverSheetsMobileUIPlugin','resize','register','colorChannel1','Data','IconManager','merge','_chartChangeSubscriptions','createElement','getDrawingByParam','univer-my-1\x20univer-text-xs\x20univer-text-red-500','sheets-chart-ui.section.treemap','imageBitmap','useEffect','fromEvent','1.3.0','15LzRSzN','getCurrentUnitOfType','requestPaint','_updateTransform','deserializeRangeWithSheet','engine','focused$','plotVisibleOnly','small','DependentOn','setPanelRoute','Button','activeChartModel','sheets-chart.ui.service','getSkeleton','Bubble','_lastActiveSheet','@univerjs/sheets-drawing','UniverChartMobileUIPlugin','ICommandService','sheetId','PREDEFINED_HOOK_NAME','DEFAULT_CHART_PIE_VALUES','getHostClientRect','chartTypeSupportsLineAndAreaStyle','lineAndArea','_cancelHostWait','_clearHiddenSelectedTarget','_focusedDrawings','innerHeight','_registerChartImageRenderObjectFactory','enableChartElementFloatMenu','WordCloud','chartEditorOpen$','addObject','_panelInitialized','open','Style','ChartIcon','SheetsSelectionsService','useCallback','ChartViewStateRegistry','sheetTransform','transparent','appliedStrokeWidth','combineLatest','_getChartRenderObject','Disposable','@univerjs/drawing-ui','right','UniverDrawingUi','setBorder','_getChartRenderObjectContext','clientWidth','isElementEditModeActive','idSuffix','Sunburst','SheetPermissionCheckController','_getOuterRect','_panelRoute$','getDrawingData','detach','_cancelDebouncedCallbacks','SVG','oKey','GROUP','label','getUnitId','http://www.w3.org/2000/svg','_bindPointerEvents','1em','univer-shrink-0','_copyInfo','packageName','isLatest','onTransformChange$','_getDrawable','dispose','left','UniverSheets','commitSnapshot','has','width','onload','panelRoute$','strokeOpacity','UniverProSheetsChart','ChartThreeDSection','copyId','getFocusedUnit','naturalHeight','ChartAxisSection','UniverEngineFormula','PieSecondaryPlotType','_disposeChartRenderInstance','stringify','localPoint','UniverSheetsPlugin','1397893RUCCAM','RENDER_CLASS_TYPE','jsxs','PRINTING_COMPONENT_COLLECT','_createHost','_listenChartUpdateMutations','pointerId','DrawingTypeEnum','UniverLicensePlugin','_renderManagerService','titles','_sheetDrawingService','drawingIds','getConfig','DEFAULT_CHART_WORD_CLOUD_VALUES','ChartHeatmapStyleSection','ChartSectionAccordionContent','_drawChartImage','none','react','Image','pairwise','useMemo','Gauge','@univerjs/sheets-drawing-ui','changeEnd$','getAllowedChartTypes','React','wordCloud','_renderService','toFixed','pieSecondaryPlotType','ImageBitmap','_openFloatMenu','getValue','_resolvedConfig','some','DisposableCollection','skip','save','DRAWING','complete','symbol','_shouldEnableChartElementEdit','setHostStyle','getSubUnitId','COMMAND','drawingType','-univer-mx-4','0\x200\x2016\x2016','tag','rangeInfo$','Pie','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_generatePasteMutations','ChartEditorCapability','_bindChartEventHandler','removeAttribute','@univerjs/drawing','createRuntimeChartStyle','pipe','CHART','visibilityState','DEFAULT_PASTE','_loadUrlImage','ChartImageExportService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','div','CHART_ELEMENT_FLOAT_MENU_COMPONENT','find','RemoveSheetsChartMutation','updateFloatDomProps','matchToken','_sidebarDisposable','contains','onDispose','_shouldSuppressRender','_markReady','IChartRenderModelManagerService','setOrientation','interceptCommand','getFocusDrawings','_renderChartModel','redo','Reference','ChartLegendSection','invert','_chartEventHandlers','children','_snapshotKey','_disposeChartDomInstance','map','moveTo','setChartEditorOpen','from','_subscribeChartEvents','Radar','scheduler','openChartPanelById','closePath','then','ChartTitlesSection','groupId','useImperativeHandle','position$','@univerjs-pro/chart-ui','_pendingMutationConfigRenders','render','executeChartUpdateConfig','_requestPaint','afterRender$','sheets-chart-ui.common.rightVerticalAxis','ChartRadarStyleSection','onPointerUp','values','sheets-chart-ui.common.category','_drawChartFrame','setContextValue','chartTypeSupportsCapability','removeHost$','iconName','COPY_TYPE','DEFAULT_CHART_TRENDLINE_VALUES','getSheetId','_pendingToken','series','ChartEditPanelTab','\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','ChartStyle','getObject','_themeService','_notifySheetChartsDetached','url','onStarting','isFinite','setConfig','RibbonInsertGroup','_renderWhenConfigReady','img','sheets-chart-ui.section.pie','_resizeChart','ChartRenderService','ChartFrameLayout','removeEventListener','UniverProEngineChart','sheets-chart-ui.common.customize','ComponentManager','@univerjs/sheets-formula-ui','rightY','pluginName','takeSnapshot','UniverRenderEnginePlugin','ChartPieStyleSection','@univerjs-pro/sheets-chart','clearChart','_urlImage','_version','UniverEngineRender','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','dom','bind','REMOVE','UniverSheetsChartMobileUIPlugin','sheet.operation.hide-chart-panel','_chartUIService','scaleX','Candlestick','remove$','DownloadImageIcon','4914128tHUkPY','_initActiveRuntimeLayerListener','Funnel','sheets-chart-ui.common.editChart','generateRandomId','sheets-chart-ui.common.openChartPanel','DEFAULT_CHART_RELATION_VALUES','_scheduler','DEFAULT_CHART_LEGEND_VALUES','-univer-mx-4\x20univer-overflow-visible','CopySheetCommand','_removeHost$','buildChartTypeSelectOptions','sheetChartDataAnimationDuration','sheetChartDataAnimation','getMenuHiddenObservable','string','_snapshotStore','sheet.chart.edit.panel','fromEntries','resolveChartElementSelection','_chartModelService','NativeTextEditorShortcutBehavior','sheets-chart-ui.common.hideChartPanel','LocaleService','DRAWING_OBJECT_LAYER_INDEX','sheets-chart-ui.section.gauge','Literals','sourceSubUnitId','IRenderManagerService','getCurrentRangeDisable$','use','ChartFrameContentMode','direction$','_bindChartEventHandlers','transform','EChartRenderEngineName','_addWatermark','version','SHEETS_CHART_PLUGIN_CONFIG_KEY','getDrawingOrder','SetDrawingApplyMutation','drawImage','startY','segmented','Subtotal','defaultValues','UniverProLicense','cancelPending','event','barStyle','baseOn','href','onCommandExecuted','select','_applyHostStyle','sheets-chart-ui.section.paretoLine','icon','useChartEditorHasRightAxis','setPointerCapture','disposeWithMe','_sheetPrintInterceptorService','getSheetCommandTarget','sheets-chart-ui.section.radar','rangeInfo','_chartRenderService','isArray','non-scaling-stroke','stroke-width','checkChartCanRender','addEventListener','ChartSourceHeaderTitleType','ISheetClipboardService','context','DEFAULT_CHART_STYLE_VALUES','MEDIA','call','ChartUpdateConfigCommand','_generateCutPasteMutations','config','_adapterRegistry','sheets-chart-ui.common.deleteChart','Url','axis','UniverIcon','CHART_HOST_BORDER_RADIUS','_alignFloatDomPositionWithSceneRender','SheetChartConfigAdapter','funnel','defineProperty','_url','_dataUpdateAnimationDuration','_rangeSelectMode','defIds','invalidateSnapshot','_sidebarService','createChartInstance','MenuItemType','tab','UniverChartUIPlugin','renderChartsForPrinting','InsertChartCommand','UniverSheetsDrawing','_chartHostProviderService','beginPath','DataOrientation','checkHost','indexOf','chartModelId','243TyoTmE','IConfigService','_frame','_image','_resolveLayout','OVERRIDE_NATIVE','keys','sheets-chart-ui.common.chartAndAxisTitles','_generateCopyPasteMutations','abs','_updateGeometry','target','trendline','hadStyleAttribute','ChartWordCloudStyleSection','Transform','legend','sheet-chart-style-panel','_chartEventSubscriptions','dataSource','_pendingDataUpdateChartIds','getOwnPropertyDescriptor','483245jWMXht','79780junKKO','_pointerEvents','sheets-chart-ui.common.legend','getDrawingShapeKeyByDrawingSearch','_frameStyle','_sheetDrawingHitTestService','getChartSourceSpec','serializeRangeWithSheet','SheetSkeletonManagerService','_draw','style','sheet.command.chart.copy-focused-chart','getRealBound','getElementById','UniverDesign','object','@univerjs/sheets-ui','toDisposable','interceptor','sheets-chart-ui.common.horizontalAxis','blur','_dataUpdateAnimationChartIds','labelId','clear','_readGeometry','unsubscribe','mode','verify','@univerjs-pro/engine-chart','ChartNumberFormatAtom','ChartGridlinesAndTicksSection','vectorEffect','chartModelAdded$','_disposed','scaleY','svg','resolve','UniverSheetsDrawingUIPlugin','_getOrCreateChartRenderInstance','_renderModelManager','sheets-chart-ui.common.trendline','sheets-chart-ui.section.funnel','ChartImageSourceType','context$','markReady','debounceTime','offsetLeft','_deactivateDataUpdateAnimation','_keepChartCapture','sheets-chart-ui.section.histogram','_handleDrawingDoubleClick','priority','getBatchAddOp','Trendline','_chartElementEditMode','UniverInstanceType','Series','3138198QLHEgJ','RightVerticalAxis','_managed','CHART_DATA_UPDATE_ANIMATION_DURATION','DrawingApplyType','_renderAfterChartUpdateMutation','VerticalAxis','endY','translate','with','viewBox','addClipboardHook','Injector','_popupDisposable','Area','offsetHeight','nextVersion','sheets-chart-ui.section.chord','ChartEditBlockTitle','distinctUntilChanged','syncLayout','ChartEditorProvider','_activeChartId','_sheetInterceptorService','7361744MugfrD','_cancelGesture','.chart-host','Combination','_getCurrentSnapshotImage','sheets-chart-ui.chartTypes.line','_sheetsChartService','useRef','matches','Checkbox','@univerjs/ui','_initActiveChartModelListener','numberToABC','hidden','allSettled','_injector','chartEditorOpen','evented','split','subUnitId','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','registerRenderObjectFactory','Line','sheets-chart-ui.common.showHiddenData','_dataUpdateAnimationTimers','mountNode','_chartThemeService','getTransformerByCreate','_getChartRenderSkipReason','DEFAULT_CHART_PARETO_VALUES','ChartUIService','getId','_releaseGesture','DEFAULT_CHART_LINE_AND_AREA_VALUES','_resetChartRuntimeZIndex','UniverSheetsDrawingUi','take','logicalOuterRect','currentColor','iterator','sheets-chart-ui.section.waterfall','format','Fail\x20to\x20create\x20float\x20dom','BUTTON','registerCommand','_activateDataUpdateAnimation','activeChartModel$','_debounceHandle','replace','chartImageSourceToDataUrl','Inject','ChartTypeBits','url(#$1','hit','_pending','_popupSessionKey','mask','next','_disposeChartEventSubscription','_renderDebounceMap','@univerjs/core','sheets-chart-ui.common.invalidDataRange','_restoreHostWrapper','_getSceneAndTransformerByDrawingSearch','_iconManager','zIndex','displayName','attachPopupToDynamicAbsolutePosition','image','_waiter','_closePopup','ISheetDrawingService','_sheetSkeletonService','set','updateFloatDom','hasOwnProperty','resolveChartCreationIntent','_univerInstanceService','transformChange$','add$','waterfallStyle','_menuManagerService','rangeSelectMode','missing-float-dom','_initDrawingDeactivationListener','hidePanel','getChartDataSource','request','UniverSheetsFormulaUi','xlink:href','DRAWING_CHART','_initCommands','_createChartRenderInstanceContext','ChartHostAdapter','Row','BehaviorSubject','name','clientY','applyPoint','parent','jsx','sheet-chart-setup-panel','_original','_chartInstanceMap','Chord','_localeService','isReleased','stroke','DEFAULT_CHART_SERIES_VALUES','visible','_domFrame','FOCUSING_PANEL_EDITOR','UniverSheetsChartPlugin','default','parentElement','preventDefault','naturalWidth','_getFloatDomInfo','_entries','ChartEditPanelSection','Positive','_clearPendingUrlImage','univer-overflow-visible','showFloatMenu','constructor','useState','UniverCore','sheets-chart-ui.common.exportImage','push','defs','relation','RemoveSheetDrawingCommand','DEFAULT_CHART_FUNNEL_VALUES','_disposeImage','useChartEditorChartType','_cacheActiveDomChartSnapshot','ChartParetoSeriesSection','setDataUpdateAnimation','UPDATE','_initPrinting','createIdentifier','ChartIndicatorLineSection','DeleteIcon','Overlay','get','forEach','ChartDomFrame','_restoreFloatDomPositionStream','Relation','getPropertyValue','UNIVER_SHEET','useObservable','_gesture','featurePluginUngroupUpdate$','ChartOpenPanelOperation','_sheetsChartUIService','_rect','_initPermission','permissionCheckWithoutRange','subscribe','_drawingManagerService','sheets-chart-ui.common.dataRange','endX','moveX','download','element','setImage','_canAnimateDataUpdate','_chartHostMap','_chartRenderMode','animateDataUpdate','sheets-chart-ui.common.verticalAxis','getRenderModel','_configService','_running','Pareto','MobileChartEditorProvider','removeHost','_requestChartCanvasRender','CommandType','decorate','opacity','_disposeChartChangeListeners','all','view','getHostSize','_isProviderDisposed','INSERT','length','SheetCopyCommand','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_sheetCanvasPopManagerService','setDataRange','section','@univerjs/sheets','add','_popupChartId','_createPrintingChartObject','_applyActiveChartRuntimeZIndex','Column','_executeChartUpdateSourceConfig','ancestorTransform','ChartLineAndAreaSection','_lastRenderInputMap','_disposeChartEventSubscriptions','_prepareDataUpdateRender','onPointerMove','isManaged','_sheetClipboardService','sheets-chart-ui.common.insertChart','getRuntimeContext','getChartModel','InsertSheetsChartMutation','assign','@univerjs/engine-formula','category','assignStyle','SHEETS_CHART_PLUGIN_NAME','executeCommand','emitChartEvent','markUnmanaged','querySelectorAll','clearPanelRoute','chartId','error','update','print','exportImg','absolute','filter','UniverSheetsUIPlugin','sheets-chart-ui.host.provider','header','IUniverInstanceService','_markNotReady','auto','route','ChartWaterfallStyleTarget','items','ChartUpdateConfigMutation','_setHostStyle','SheetsChartUIMenuSchema','matchMedia','setProperty','_notifyChartRemoved','dblclick','univer-flex\x20univer-flex-col\x20univer-gap-3','resolveChartEditPanelRoute','finally','_createCopyInfoByRange','sheets-chart-ui.section.candlestick','_clearSelectedTarget','_setChartRuntimeZIndex','sheets-chart-element-float-menu','releasePointerCapture','fill','3GcBboQ','ENTER','getActiveSheet','ChartSetupPanel','domLayers','_sheetCanvasFloatDomManagerService','WaterfallSeries','_geometry','sheets-chart-ui.waterfall.subtotal','sheets-chart-ui.section.wordCloud','UniverSheetsDrawingPlugin','@univerjs/engine-render','_suppressClick','includes','_applyHostInteractionState','pen-icon','click','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','dataSource$','domId','subscribeEvent','isHit','SheetInterceptorService','checkMounted','objects','flush','min','OPERATION','univer-overflow-hidden','mergeMenu','_onChange','_markHostReady','ThemeService','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','ensureHandle','Observable','FOCUSING_COMMON_DRAWINGS','getOrCreateDrawingCopyPlan','getDirection','sheets-chart-ui.chartTypes.','ContextMenuPosition','_activateHostWrapper','WorksheetEditPermission','_isChartElementEditEnabled','_debounceHandleMap','attrs','Module','toInsertChartMutationSource','value','Waterfall','Axes','chartTypeCanUseTrendLine','isConnected','ChartStyleSection','offsetTop','allSeriesStyle','chartObject','@univerjs/design','_getOrCreateSheetChartHost','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getRenderUnitById','SheetsChartService','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','CanvasFloatDomService','ChartEditorTabs','Dom','_registerAdapter','_createImageChartHost','startX','SheetsChartUIController','focus$','_resolveChartRenderMode','unitId','setStyle','Rect','arc','sheet.command.chart.export-focused-image','IndicatorLine','_isOwnedChart','_requestedUrl','_savedWrapperStyle','_rerenderLatest','_activeDomReadyChartIds','true','source','RTLChartStyle','SheetsChartUIService','getImage','useLayoutEffect','isValidRange','clip','path','insertGroupObject','_registerComponents','SheetCanvasPopManagerService','delete','deriveStateFromActiveSheet$','style$','markNotReady','getObjectIncludeInGroup','sheets-chart-ui.waterfall.negative','@univerjs-pro/sheets-chart-ui','chartRenderMode','SHEET_CHART_RENDER_OBJECT_CONFIG','registerFeatureMenu','SheetSkeletonService','onPointerDown','getName','_init','Treemap','initialRect','catch','IDrawingManagerService','inactive-sheet','Legend','strokeWidth','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','scene','localName','activeRuntimeModel','sheets-chart-ui.common.useAsCategoryLabels','crossOrigin','getFloatDomInfo','_config','baseVal','initPanel','_hostStyle','_getChartSnapshotKey','Histogram','HorizontalAxis','titleKey','_getPlacement','_chartSnapshotStoreService','sheets-chart-ui.config','ISidebarService','border','sheets-chart-ui.chord.target','getCanvasElement','mobile-sheet-chart-style-panel','pareto','_scheduleDataUpdateAnimationEnd','targetSubUnitId','sheets-chart-ui.section.relation','RangeSelector','undo','WorkbookEditablePermission','ChartModelService','isDomReady','_openEditPanelByDoubleClick','trim','top','createChartElementPopupAnchorObserver','seriesId','setActiveChartModel','makeDirty','remove'];_0x194b=function(){return _0x4347ea;};return _0x194b();}