@univerjs-pro/sheets-chart-ui 1.1.0 → 1.2.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 _0x3470(_0x2cb0a3,_0x40f48b){_0x2cb0a3=_0x2cb0a3-0x163;const _0x1464a7=_0x1464();let _0x347020=_0x1464a7[_0x2cb0a3];return _0x347020;}function _0x1464(){const _0x35e294=['Subject','mountNode','_requestChartCanvasRender','clientX','symbol','stroke-width','drawingIds','checkHost','_executeChartUpdateSourceConfig','5283204oXhkay','_registerAdapter','DEFAULT_CHART_AXIS_VALUES','Chord','getBoundingClientRect','ChartGridlinesAndTicksSection','setProperty','resolveDefaultChartHostFrameStyle','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','@univerjs/sheets','useCallback','onStarting','-univer-mx-4','pareto','SheetPermissionCheckController','ContextMenuGroup','SheetCanvasPopManagerService','_getChartRenderSkipReason','afterRender$','_alignFloatDomPositionWithSceneRender','getDrawingOrder','top','_registerComponents','cumulativeLineStyle','FOCUSING_PANEL_EDITOR','Relation','mergeMenu','getHostClientRect','applyPoint','stopImmediatePropagation','getConfig','Histogram','GROUP','_syncActiveEditChart','_callback','featurePluginOrderUpdate$','create','pen-icon','IconManager','_renderManagerService','Candlestick','@univerjs/engine-render','SheetsChartUIController','RemoveSheetDrawingCommand','@univerjs-pro/license','disconnect','setBorder','sheets-chart-ui.chartTypes.','take','Subtotal','split','numberToABC','_getOrCreateSheetChartHost','defs','changeEnd$','bind','_renderDebounceMap','SheetsChartUIService','_pendingHost','_bindChartEventHandlers','seriesId','RightVerticalAxis','_cancelDebouncedCallbacks','_focusedDrawings','setPointerCapture','_chartInstanceMap','anonymous','Legend','sheet.command.chart.delete-focused-chart','_frameStyle','value','DEFAULT_CHART_RELATION_VALUES','IMenuManagerService','next','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','parentElement','_popupDisposable','transformToDrawingPosition','ChartSetupPanel','ChartTypeBits','SVG','_pendingMutationConfigRenders','data$','default','invert','UniverSheetsPlugin','SheetDrawingHitTestService','ChartEditBlockTitle','2760186srmDmM','@univerjs/drawing-ui','chartTypeSupportsCapability','sheets-chart-ui.common.chartStyle','clearChart','_initCopyPaste','ComponentManager','sheets-chart-ui.section.radar','_applyHostInteractionState','UniverSheetsDrawingUIPlugin','SetDrawingApplyMutation','intercept','resolve','_getSceneAndTransformerByDrawingSearch','setContextValue','ChartThemeService','chartImageSourceToDataUrl','_debounceHandleMap','rect','amd','Gauge','SheetSkeletonManagerService','chartId','generateRandomId','ChartThreeDSection','with','image','_subscribeChartEvents','initPanel','ChartWordCloudStyleSection','ChartSectionAccordionItem','assign','_deactivateDataUpdateAnimation','startRow','_chartElementEditMode','getValue','sheets-chart-ui.common.chart','_readGeometry','canvas','@univerjs-pro/sheets-chart','scene','parseFloat','oKey','sheets-chart-ui.permission.editErr','_rerenderLatest','undo','_updateGeometry','hasAttribute','sheets-chart-ui.section.indicatorLine','resourceCollector','ImageBitmap','_activeChartId','engine','_copyInfo','plotVisibleOnly','packageName','DependentOn','_drawChartFrame','Image','decorate','Bubble','Row','setActiveChartModel','fill','13SCLUlS','max','_sheetPermissionCheckController','url(#$1','isFinite','bottom','asObservable','_resetChartRuntimeZIndex','DEFAULT_CHART_PARETO_VALUES','_setChartRuntimeZIndex','version','makeDirty','addClipboardHook','delete','sheets-chart-ui.common.useAsCategoryLabels','DisposableCollection','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','contains','getSkeleton','GeneralSeries','name','_scheduler','registerCommand','_addWatermark','call','Plugin','subUnitId','_disposeChartDomInstance','getCurrentRangeDisable$','isRender','getMatrix','getFloatDomInfo','getRenderColor','startWith','_lastActiveSheet','_pointerEvents','FOCUSING_COMMON_DRAWINGS','removeChartModel','find','_dataUpdateAnimationDuration','hit','scaleX','buildChartTypeSelectOptions','children','IndicatorLine','rightYAxis','getChartSnapshotImage','DeleteIcon','abs','ChartNumberFormatAtom','pairwise','_pending','rightY','sourceSubUnitId','labelId','useImperativeHandle','multiply','flush','getCanvasElement','nextVersion','right','KeyCode','header','hasOwnProperty','_resizeChart','getElementById','UniverSheetsChartMobileUIPlugin','VerticalAxis','visibilityState','sheets-chart-element-float-menu','ChartRenderMode','rangeInfo$','activeSheet$','univerjs-icon\x20univerjs-icon-','getBatchUpdateOp','@univerjs/drawing','_keepChartCapture','_activeDomReadyChartIds','_disposeChartEventSubscriptions','axis','ChartRenderService','_renderChartModel','PRINTING_COMPONENT_COLLECT','section','keys','sheet.command.chart.copy-focused-chart','indicatorLine','targetSubUnitId','filter','Dom','_commandService','_snapshotKey','sheets-chart-ui.common.insertChart','3659376SHENcq','cancel','replace','_openPanel','getRect','sheets-chart-ui.section.waterfall','add$','endY','RibbonInsertGroup','COMMAND','onDispose','@univerjs/sheets-ui','rxjs','toDisposable','relation','UniverInstanceType','combineLatestWith','titleKey','_disposed','_clearHiddenSelectedTarget','click','UniverRenderEnginePlugin','route','resolveChartCreationIntent','getRealBound','syncHostLayout','cancelPending','baseOn','React','_registerChartImageRenderObjectFactory','dataSource$','BehaviorSubject','_closePopup','hidden','RemoveSheetCommand','source','_getChartSnapshotKey','sheets-chart-ui.chartTypes.line','isRowDirection','pointercancel','Column','offsetHeight','event','style','sheets-chart.ui.service','position$','currentColor','non-scaling-stroke','_onChange','remove$','_generatePasteMutations','defineProperty','_chartHostProvider','addObject','_sheetSkeletonService','(prefers-reduced-motion:\x20reduce)','dispose','removeEventListener','Overlay','blockExecuteWithoutPermission','sheets-chart-ui.section.pie','setElementEditMode','1em','isReleased','waterfallStyle','_isChartElementEditEnabled','resolveChartRuntimeStyle','UniverSheetsChartPlugin','label','_debounceHandle','initialRect','DEFAULT_PASTE','stroke','RENDER_CLASS_TYPE','evented','activeRuntimeModel','_sheetDrawingHitTestService','_url','lostpointercapture','_getDrawable','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','assignStyle','getPropertyPriority','getUnitId','getDrawingByParam','UniverProEngineChart','_dataUpdateAnimationTimers','886686SvIFlR','_sidebarService','ENTER','IDrawingManagerService','combineLatest','getChartModel','getSheetId','drawingId','_injector','PieStyle','exports','univer-flex\x20univer-flex-col\x20univer-gap-3','CHART_ELEMENT_FLOAT_MENU_COMPONENT','scale','debounceTime','univer-overflow-visible','absolute','sheets-chart-ui.chartTypes.area','sheet.chart.edit.panel','OPERATION','UniverProLicense','getCurrentLastSelection','scheduler','DEFAULT_CHART_TRENDLINE_VALUES','Scatter','_entries','DEFAULT_CHART_LINE_AND_AREA_VALUES','activeChartModel','_rangeSelectMode','dataset','pipe','ChartRadarStyleSection','ChartEditorTabs','string','deriveStateFromActiveSheet$','getUnit','rangeInfo','transform','markUnmanaged','_panelRoute$','_popupChartId','sheets-chart-ui.common.openChartPanel','Fragment','setHostStyle','_applyActiveChartRuntimeZIndex','height','clear','getChartDataSource','_sheetInterceptorService','IChartRenderModelManagerService','setPanelRoute','checkMounted','startX','sheets-chart-ui.common.copy','INSERT','useDependency','chartEditorOpen$','_chartModelService','verify','addEventListener','ISidebarService','left','registerFeatureMenu','isDomReady','pointerEvents','ObjectType','colorChannel1','some','_draw','values','resolveChartStyleBackgroundColor','onload','crossOrigin','dataSource','category','LocaleService','imageBitmap','div','_restoreFloatDomPositionStream','mode','Url','_isOwnedChart','dblclick','hidePanel','finally','getCurrentTypeOfUnit$','SheetsChartService','throttleTime','RTLChartStyle','focus$','setStyle','_initPrinting','UniverSheetsMobileUIPlugin','EChartRenderEngineName','interceptCommand','matchMedia','context','auto','deserializeRangeWithSheet','viewBox','_markNotReady','offsetLeft','InsertSheetsChartMutation','hadStyleAttribute','Trendline','indexOf','darkMode$','_hostStyle','has','Reference','ContextMenuPosition','_initCommands','transformChange$','OVERRIDE_NATIVE','Module','_renderWhenConfigReady','Rect','_sheetPrintInterceptorService','ChartFunnelStyleSection','_chartChangeSubscriptions','sheets-chart-ui.common.editChart','Radar','Fail\x20to\x20create\x20float\x20dom','ChartTypeSpecificStyleSection','target','view','restore','getRenderModel','endX','clearPanelRoute','_image','getSheetCommandTarget','displayName','permissionCheckWithoutRange','attrs','_sidebarDisposable','function','_univerInstanceService','subscribeEvent','getRangeInfo','RemoveSheetsChartMutation','ParetoLineSeries','DEFAULT_CHART_WORD_CLOUD_VALUES','IContextService','http://www.w3.org/2000/svg','chartModelId','getHostSize','sheets-chart-ui.common.setup','getObject','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_adapterRegistry','sheets-chart-ui.common.verticalAxis','interceptor','innerWidth','viewBound','disposeWithMe','lineTo','set','_initActiveRuntimeLayerListener','PieSecondaryPlotType','onerror','radar','getId','unitId','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','Injector','Transform','clip','onPointerUp','parent','_contextService','sheet.command.chart.export-focused-image','ChartLegendSection','_geometry','Area','sheetTransform','9VfZGkf','UniverChartUIPlugin','MenuItemType','sheets-chart-ui.common.dataRange','getImage','_chartThemeService','Canvas','COMMA','@univerjs/design','setImage','chartRenderMode','setOrientation','42jbsGGm','getMenuHiddenObservable','_cacheActiveDomChartSnapshot','_activateDataUpdateAnimation','DEFAULT_CHART_WATERFALL_STYLE_VALUES','params','min','createElement','serialize','scaleY','zIndex','_sheetDrawingService','executeChartUpdateConfig','-univer-mx-4\x20univer-overflow-visible','_chartUIService','renderChartsForPrinting','offsetTop','_localeService','DEFAULT_CHART_FUNNEL_VALUES','LineAndArea','_generateCopyPasteMutations','ChartParetoSeriesSection','isManaged','drawWith','ChartViewStateRegistry','color','Observable','entries','removeHost$','getFocusedUnit','Checkbox','_rect','sheets-chart-ui.section.chord','sheetDisposed$','@univerjs-pro/engine-chart','config$','type','_bindPointerEvents','_snapshotStore','_chartRenderMode','_activateEditPanelState','top-center','5464190LEKgqJ','DrawingTypeEnum','_shouldSuppressRender','_renderModelManager','UniverSheetsDrawing','getActiveSheet','depthAxis','removeAttribute','toInsertChartMutationSource','nativeEvent','sheetChartDataAnimation','_createImageChartHost','_resolveChartRenderMode','UniverEngineRender','setRangeSelectMode','setConfig','jsxs','objects','toStringTag','DRAWING_CHART','IConfigService','useEffect','ChartWaterfallStyleSection','Inject','sheets-chart-ui.common.trendline','ChartModelService','_suppressClick','_sheetsChartService','concat','opacity','innerHeight','useMemo','ChartPieStyleSection','_disposeImage','_disposeChartEventSubscription','sheets-chart-ui.common.rightVerticalAxis','_shouldEnableChartElementEdit','sheets-chart-ui.common.showHiddenData','ensureHandle','sheets-chart-ui.common.legend','_applyHostStyle','Disposable','getInterceptPoints','_pendingToken','Treemap','OTHERS','anchorRect$','sidebarOptions$','getDrawingData','SHEETS_CHART_PLUGIN_CONFIG_KEY','then','blur','use','IUniverInstanceService','@univerjs-pro/sheets-chart-ui','catch','ChartFrameContentMode','GridlinesAndTicks','_isProviderDisposed','UniverSheetsUi','getSheetBySheetName','getTransformerByCreate','getSubUnitId','_domFrame','toPrimitive','_lastRenderInputMap','Line','getRuntimeContext','ChartEditorCapability','chartTypeSupportsLineAndAreaStyle','ChartStyle','_pendingDataUpdateChartIds','_sheetsChartUIService','useObservable','ChartElementFloatMenuAdapterRegistry','format','querySelector','sheets-chart-ui.section.candlestick','UniverDesign','#-#','scroll','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_chartEventHandlers','sheets-chart-ui.common.invalidDataRange','COPY_TYPE','tag','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverSheetsFormulaUi','funnel','domLayers','HorizontalAxis','sheets-chart-ui.waterfall.subtotal','prototype','chartBitsUtils','UniverLicensePlugin','DEFAULT_CHART_INDICATOR_LINE_VALUES','_popupSessionKey','_init','_componentManager','DEFAULT_CHART_LEGEND_VALUES','_iconManager','Style','update','renderTransition','debounce','none','naturalWidth','MEDIA','includes','getChartSourceSpec','showFloatMenu','_createPrintingChartObject','256064agEXCg','IRenderManagerService','_pendingUrlImage','fromEvent','isHit','UniverSheetsDrawingMobileUIPlugin','openChartPanelById','_canAnimateDataUpdate','syncLayout','preventDefault','ChartUIService','_managed','sheets-chart-ui.config','_loadUrlImage','_savedWrapperStyle','items','beforeCommandExecuted','focused$','render','ChartEditPanelTab','_removeHost$','subscribe','matches','ChartHostAdapter','getParent','getObjectIncludeInGroup','svg','getName','get','_setHostStyle','ChartSourceHeaderTitleType','_initActiveChartModelListener','domId','setChartEditorOpen','WorkbookEditablePermission','src','_clearPanelState','toFixed','map','groupId','ChartWaterfallStyleTarget','distinctUntilChanged','SheetsChartUIMenuSchema','.chart-host','DrawingApplyType','enableChartElementFloatMenu','UPDATE','getSheetBySheetId','ISheetClipboardService','_notifyChartRemoved','_getHostPlacement','sheetChartDataAnimationDuration','isElementEditModeActive','_version','_menuManagerService','moveTo','UniverDrawing','element','getFocusDrawings','clearImage','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheet.command.menu-insert-chart','useRef','naturalHeight','sheets-chart-ui.section.paretoBar','ChartSectionAccordionContent','_registerIcons','Sunburst','save','WordCloud','getAllowedChartTypes','_requestedUrl','InsertChartCommand','register','request','moveX','from','endsWith','sheet.operation.hide-chart-panel','sheets-chart-ui.common.hideChartPanel','35GULmST','setDataUpdateAnimation','open','BUTTON','8qJmyrF','SheetsSelectionsService','_original','react','sheets-chart-ui.common.horizontalAxis','sheets-chart-ui.common.series','_dataUpdateAnimationChartIds','UniverSheetsDrawingPlugin','SheetCopyCommand','sheets-chart-ui.common.customize','_cancelGesture','config','commitSnapshot','getPropertyValue','sheets-chart-ui.common.chartAndAxisTitles','appliedStrokeWidth','_themeService','ImageChartHost','ChartFrameLayout','skip','featurePluginGroupUpdate$','transformer','trim','_chartHostProviderService','length','0\x200\x2016\x2016','sheets-chart-ui.section.sunburst','_sheetCanvasPopManagerService','add','segmented','.png','invalidateSnapshot','getRenderUnitById','translate','registerRenderObjectFactory','arc','Series','requestPaint','sheets-chart-ui.common.heatmap','_waiter','SHEETS_CHART_PLUGIN_NAME','setDataRange','ChartEditPanelSection','panelRoute$','img','Data','_initMenus','UniverCore','merge','detach','ChartUpdateSourceCommand','clientY','getBatchRemoveOp','_getFloatDomInfo','onTransformChange$','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','updateFloatDom','vectorEffect','_handleDrawingDoubleClick','1000','ChartImageExportService','supports','activeChartModel$','resolveChartElementSelection','pie','exportImage','drawingType','MobileChartEditorProvider','CommandType','_createHost','_getPlacement','sheets-chart-ui.common.exportImage','sheets-chart-ui.common.switchRowColumn','univer-shrink-0','_getOrCreateChartRenderInstance','priority','_openEditPanelByDoubleClick','UniverDrawingPlugin','isLatest','context$','_resolveLayout','ChartTrendlineSection','withLatestFrom','focusDrawing','current','sheets-chart-ui.section.treemap','UniverSheetsChartUIPlugin','DataOrientation','_markReady','ensureHost','_restoreHostWrapper','_chartEventSubscriptions','defaultValues','_drawChartImage','_notifySheetChartsDetached','ChartSeriesSection','_getImage','_renderAfterChartUpdateMutation','onPointerDown','_openFloatMenu','_disposeChartChangeListeners','originalStrokeWidth','trendline','globalAlpha','mobile-sheet-chart-style-panel','sheet.operation.open-chart-panel','localName','heatmap','path','emitChartEvent','tab','all','DEFAULT_CHART_RADAR_VALUES','Boxplot','@univerjs/sheets-formula-ui','@univerjs/sheets-drawing-ui','complete','_configService','PREDEFINED_HOOK_NAME','createIdentifier','ChartUpdateConfigCommand','_clearSelectedTarget','_listenChartUpdateMutations','878lRskcz','getCurrentUnitOfType','_resolvedConfig','pieSecondaryPlotType','switchMap','UniverDrawingUi','touchDependencies','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','@univerjs/core','redo','CHART_TYPE_CATALOG','transparent','markReady','idSuffix','clientHeight','pointerId','sheets-chart-ui.common.deleteChart','updateFloatDomProps','PenIcon','querySelectorAll','@univerjs/ui','isArray','_scheduleDataUpdateAnimationEnd','sheets-chart-ui.section.gridlinesAndTicks','Pie','_sheetCanvasFloatDomManagerService','ancestorTransform','hasPointerCapture','executeCommand','changing$','getDirection','SheetInterceptorService','missing-active-sheet','sheets-chart-ui.chord.target','_bindChartEventHandler','getDrawingShapeKeyByDrawingSearch','_deactivateEditPanelState','Combination','ChartOpenPanelOperation','_disposeChartRenderInstance','UNIVER_SHEET','chartModelRemoved$','xlink:href','ThemeService','ChartLineAndAreaSection','SHEET_CHART_RENDER_OBJECT_CONFIG','_running','localPoint','markNotReady','DownloadImageIcon','sheets-chart-ui.section.histogram','_requestPaint','_frame','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','UniverProSheetsChartUi','discreteRangeToRange','copyId','react/jsx-runtime','useLayoutEffect','visible','matchToken','jsx','ISheetDrawingService','Axes','_gesture','_getOuterRect','onRendered','Waterfall','stringify','missing-float-dom','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','_chartEditorOpen$','closePath','wordCloud','releasePointerCapture','UniverSheetsDrawingUi','ChartTitlesSection','_urlImage','createChartInstance','_initPermission','CanvasFloatDomService','url','startY','series','chartType','@univerjs/sheets-drawing','mobile-sheet-chart-setup-panel','CHART','push','remove','@univerjs/engine-formula','_panelInitialized','1649qMXHqr','ChartAndAxisTitles','REMOVE','print','width','markHostNotReady','border','CHART_DATA_UPDATE_ANIMATION_DURATION','_markHostReady','strokeOpacity','@univerjs-pro/chart-ui','ChartSectionAccordion','range','logicalOuterRect','_clearPendingUrlImage','ICommandService','SheetChartConfigAdapter','CHART_HOST_BORDER_RADIUS','_initSheetChange','createRuntimeChartStyle','download','_updateTransform','Pareto','_chartSnapshotStoreService','isConnected','pluginName','_renderService','_createChartRenderInstanceContext','insertGroupObject','forEach','_chartRenderService','_canvasFloatDomService','checkChartCanRender','chartEditorOpen','useState','_getCurrentSnapshotImage','ChartEditorProvider','SheetCanvasFloatDomManagerService','attachRangeWithCoord','_chartHostMap','chartModelAdded$','_cancelHostWait','mask','object','inactive-sheet','removeHost','_drawingManagerService','_getChartRenderObject','setObjectType','titles','sheetId','rangeSelectMode','ChartImageSourceType','\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','getOrCreateDrawingCopyPlan','onCommandExecuted','strokeWidth','handleActiveSubUnitChange','Heatmap','UniverUi','flatMap','fromEntries','_prepareDataUpdateRender','startColumn','ChartAxisSection','_activateHostWrapper','WaterfallSeries','sheets-chart-ui.waterfall.negative','WorksheetEditPermission','_config','_bindChartPointerEvents','ParetoBarSeries'];_0x1464=function(){return _0x35e294;};return _0x1464();}(function(_0x5d30d7,_0x25487f){const _0x4f0af5=_0x3470,_0xd4120a=_0x5d30d7();while(!![]){try{const _0x572f98=parseInt(_0x4f0af5(0x4b7))/0x1*(parseInt(_0x4f0af5(0x45b))/0x2)+parseInt(_0x4f0af5(0x2f2))/0x3*(parseInt(_0x4f0af5(0x38c))/0x4)+-parseInt(_0x4f0af5(0x3dc))/0x5*(parseInt(_0x4f0af5(0x236))/0x6)+-parseInt(_0x4f0af5(0x1df))/0x7*(parseInt(_0x4f0af5(0x3e0))/0x8)+-parseInt(_0x4f0af5(0x2e6))/0x9*(-parseInt(_0x4f0af5(0x31c))/0xa)+-parseInt(_0x4f0af5(0x560))/0xb+parseInt(_0x4f0af5(0x508))/0xc*(parseInt(_0x4f0af5(0x182))/0xd);if(_0x572f98===_0x25487f)break;else _0xd4120a['push'](_0xd4120a['shift']());}catch(_0x577c0b){_0xd4120a['push'](_0xd4120a['shift']());}}}(_0x1464,0xc2fc4),function(_0x51aeac,_0x1b127b){const _0x5b27ad=_0x3470;typeof exports==_0x5b27ad(0x4e2)&&typeof module<'u'?_0x1b127b(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==_0x5b27ad(0x2be)&&define[_0x5b27ad(0x573)]?define([_0x5b27ad(0x240),_0x5b27ad(0x463),_0x5b27ad(0x169),_0x5b27ad(0x1cd),_0x5b27ad(0x4b0),_0x5b27ad(0x453),_0x5b27ad(0x1ea),_0x5b27ad(0x46f),_0x5b27ad(0x1eb),_0x5b27ad(0x4c1),_0x5b27ad(0x314),_0x5b27ad(0x511),_0x5b27ad(0x4b5),_0x5b27ad(0x561),_0x5b27ad(0x531),_0x5b27ad(0x3e3),_0x5b27ad(0x2ee),_0x5b27ad(0x452),_0x5b27ad(0x494),_0x5b27ad(0x534)],_0x1b127b):(_0x51aeac=typeof globalThis<'u'?globalThis:_0x51aeac||self,_0x1b127b(_0x51aeac[_0x5b27ad(0x491)]={},_0x51aeac[_0x5b27ad(0x40f)],_0x51aeac['UniverProSheetsChart'],_0x51aeac[_0x5b27ad(0x3c4)],_0x51aeac[_0x5b27ad(0x320)],_0x51aeac[_0x5b27ad(0x4a6)],_0x51aeac[_0x5b27ad(0x357)],_0x51aeac[_0x5b27ad(0x4f2)],_0x51aeac[_0x5b27ad(0x1eb)],_0x51aeac['UniverProChartUi'],_0x51aeac[_0x5b27ad(0x234)],_0x51aeac['UniverSheets'],_0x51aeac['UniverEngineFormula'],_0x51aeac[_0x5b27ad(0x460)],_0x51aeac[_0x5b27ad(0x329)],_0x51aeac[_0x5b27ad(0x1fb)],_0x51aeac[_0x5b27ad(0x36a)],_0x51aeac[_0x5b27ad(0x373)],_0x51aeac[_0x5b27ad(0x1fb)],_0x51aeac[_0x5b27ad(0x24a)]));}(this,function(_0x4923cb,_0x4fd9fd,_0x4ae357,_0x46891f,_0x73a89a,_0xd7d9e,_0x45f13f,_0xdda337,_0x32542e,_0x2890e0,_0x192cef,_0x503f0c,_0x300836,_0x3b9a6f,_0x249319,_0x144ae0,_0x4627c3,_0x33cd7d,_0x18d12e,_0x546d23){const _0x46a2a4=_0x3470;Object['defineProperty'](_0x4923cb,Symbol[_0x46a2a4(0x32e)],{'value':_0x46a2a4(0x2a8)});let _0x30424f={'type':_0x4fd9fd[_0x46a2a4(0x424)][_0x46a2a4(0x249)],'id':_0x46a2a4(0x449),'handler'(){return!0x0;}},_0x25d5b5=_0x46a2a4(0x398),_0x5caab6={'enableChartElementFloatMenu':!0x0},_0x29aced={'type':_0x4fd9fd[_0x46a2a4(0x424)][_0x46a2a4(0x249)],'id':_0x46a2a4(0x3da),'handler'(){return!0x0;}};function _0x53340d(_0x3b6273){const _0x174082=_0x46a2a4;let _0x1a9cdb=_0x3b6273[_0x174082(0x3a8)](_0x73a89a['ISheetDrawingService'])['getFocusDrawings']();if(_0x1a9cdb['length']!==0x1)return null;let _0x5ad366=_0x1a9cdb[0x0];return _0x5ad366['drawingType']===_0x4fd9fd[_0x174082(0x31d)][_0x174082(0x32f)]?_0x5ad366:null;}function _0x2453cd(_0x263328,_0xaad14b){const _0x1aa7e9=_0x46a2a4;let _0x447e77=document['createElement']('a');_0x447e77['href']=_0x263328,_0x447e77[_0x1aa7e9(0x4cb)]=_0xaad14b,_0x447e77[_0x1aa7e9(0x1f3)]();}let _0x548432={'id':'sheet.command.chart.open-focused-panel','type':_0x4fd9fd[_0x46a2a4(0x424)][_0x46a2a4(0x1e8)],'handler':(_0x4087ed,_0x14eb12)=>{const _0x1900ec=_0x46a2a4;let _0x225712=_0x53340d(_0x4087ed);return _0x225712?_0x4087ed[_0x1900ec(0x3a8)](_0x4fd9fd[_0x1900ec(0x4c6)])[_0x1900ec(0x477)](_0x30424f['id'],{'unitId':_0x225712[_0x1900ec(0x2d9)],'subUnitId':_0x225712[_0x1900ec(0x19c)],'drawingId':_0x225712[_0x1900ec(0x23d)],..._0x14eb12!=null&&_0x14eb12[_0x1900ec(0x1f5)]?{'route':_0x14eb12[_0x1900ec(0x1f5)]}:{}}):!0x1;}},_0x50d06c={'id':_0x46a2a4(0x1d7),'type':_0x4fd9fd[_0x46a2a4(0x424)][_0x46a2a4(0x1e8)],'handler':_0x19d1cc=>_0x53340d(_0x19d1cc)?_0x19d1cc[_0x46a2a4(0x3a8)](_0x4fd9fd[_0x46a2a4(0x4c6)])[_0x46a2a4(0x477)](_0x45f13f[_0x46a2a4(0x3e8)]['id']):!0x1},_0x514e94={'id':_0x46a2a4(0x2e1),'type':_0x4fd9fd['CommandType']['COMMAND'],'handler':async _0x1ef687=>{const _0x49116b=_0x46a2a4;let _0x14a806=_0x53340d(_0x1ef687);if(!_0x14a806)return!0x1;let _0x394659=await _0x1ef687[_0x49116b(0x3a8)](_0x2890e0[_0x49116b(0x41c)])['exportImage']({'unitId':_0x14a806[_0x49116b(0x2d9)],'subUnitId':_0x14a806[_0x49116b(0x19c)],'getId':()=>_0x14a806[_0x49116b(0x23d)]});return _0x394659?(_0x2453cd(_0x394659,_0x14a806[_0x49116b(0x23d)]+_0x49116b(0x3fe)),!0x0):!0x1;}},_0x17dd36={'id':_0x46a2a4(0x54c),'type':_0x4fd9fd[_0x46a2a4(0x424)][_0x46a2a4(0x1e8)],'handler':_0x2067ad=>{const _0x13483c=_0x46a2a4;let _0x6756ff=_0x53340d(_0x2067ad);return _0x6756ff?_0x2067ad['get'](_0x4fd9fd[_0x13483c(0x4c6)])['executeCommand'](_0x73a89a[_0x13483c(0x533)]['id'],{'unitId':_0x6756ff['unitId'],'drawings':[{'unitId':_0x6756ff[_0x13483c(0x2d9)],'subUnitId':_0x6756ff[_0x13483c(0x19c)],'drawingId':_0x6756ff['drawingId'],'drawingType':_0x4fd9fd['DrawingTypeEnum'][_0x13483c(0x32f)]}]}):!0x1;}},_0xb02f0e={'type':_0x4fd9fd[_0x46a2a4(0x424)][_0x46a2a4(0x1e8)],'id':_0x46a2a4(0x3c9),'handler':async(_0x259e1e,_0x4478b7)=>{const _0x20ad4e=_0x46a2a4;let _0x36fce6=(0x0,_0x503f0c['getSheetCommandTarget'])(_0x259e1e['get'](_0x4fd9fd[_0x20ad4e(0x351)]));if(!_0x36fce6)return!0x1;let _0x15a8e8=_0x259e1e['get'](_0x503f0c[_0x20ad4e(0x3e1)])[_0x20ad4e(0x24b)]();if(!_0x15a8e8)return!0x1;let {range:_0x16052d}=_0x15a8e8,_0x1ce069=_0x259e1e[_0x20ad4e(0x3a8)](_0x4fd9fd[_0x20ad4e(0x4c6)]),{unitId:_0x1394e3,subUnitId:_0x2745b3}=_0x36fce6,{pieSecondaryPlotType:_0x1b513d,value:_0x358631}=_0x4478b7,_0x59018f=_0x1b513d!==void 0x0;if(_0x59018f&&(_0x358631!==_0x192cef['ChartTypeBits']['Pie']||_0x1b513d!==_0x192cef[_0x20ad4e(0x2d5)][_0x20ad4e(0x473)]&&_0x1b513d!==_0x192cef[_0x20ad4e(0x2d5)]['Bar']))return!0x1;let _0xeb3249=_0x59018f?(0x0,_0x4fd9fd[_0x20ad4e(0x577)])():void 0x0;return _0x1ce069[_0x20ad4e(0x477)](_0x4ae357[_0x20ad4e(0x3d4)]['id'],{'unitId':_0x1394e3,'subUnitId':_0x2745b3,'chartType':_0x358631,..._0xeb3249&&_0x1b513d?{'chartId':_0xeb3249,'config':{'unitId':_0x1394e3,'chartModelId':_0xeb3249,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x1b513d}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x16052d[_0x20ad4e(0x2d9)]??_0x1394e3,'subUnitId':_0x16052d[_0x20ad4e(0x4e9)]??_0x2745b3,'range':_0x16052d}}});}};function _0x405656(_0x404a21,_0x193f6d){const _0x5b3773=_0x46a2a4;if(_0x404a21==null)return'';if(Array[_0x5b3773(0x470)](_0x404a21)){var _0x386a30;let _0x3606eb=(_0x386a30=_0x404a21[0x0])==null?void 0x0:_0x386a30[_0x5b3773(0x4c3)];return _0x3606eb?_0x3bb02f(_0x3606eb,_0x193f6d):'';}return _0x3bb02f(_0x404a21[_0x5b3773(0x25a)],_0x193f6d);}function _0x3bb02f(_0x14bd02,_0xfb595d){const _0x540b8c=_0x46a2a4;var _0x53ec5e;let {unitId:_0x4460cc,subUnitId:_0x20b885,range:_0x479da3}=_0x14bd02,_0x431284=(_0x53ec5e=_0xfb595d[_0x540b8c(0x259)](_0x4460cc))==null?void 0x0:_0x53ec5e[_0x540b8c(0x3bb)](_0x20b885);if(!_0x431284)return'';let _0x42760d=_0x431284[_0x540b8c(0x3a7)]();return(0x0,_0x300836['serializeRangeWithSheet'])(_0x42760d,_0x479da3);}let _0x22b65a=_0x2890e0[_0x46a2a4(0x465)]['map'](_0x183a7e=>({'id':'id'in _0x183a7e?_0x183a7e['id']:void 0x0,'labelId':_0x183a7e[_0x46a2a4(0x1b8)],'pieSecondaryPlotType':_0x46a2a4(0x45e)in _0x183a7e?_0x183a7e[_0x46a2a4(0x45e)]:void 0x0,'value':_0x183a7e[_0x46a2a4(0x54e)],'icon':_0x183a7e['iconName']}));function _0x32d6cd(_0x16141b=_0x22b65a){const _0x288a50=_0x46a2a4;return _0x16141b[_0x288a50(0x3b2)](({id:_0x424754,icon:_0x53f630,value:_0x446d50})=>{const _0x10d71a=_0x288a50;let _0x1fc20d=(0x0,_0x2890e0[_0x10d71a(0x1f6)])(_0x424754??String(_0x446d50)),_0x330a5b=_0x1fc20d?{'value':_0x1fc20d[_0x10d71a(0x4af)],..._0x1fc20d[_0x10d71a(0x45e)]?{'pieSecondaryPlotType':_0x1fc20d['pieSecondaryPlotType']}:{}}:{'value':_0x446d50};return{'icon':_0x53f630,'value':_0x424754??_0x446d50,'params':_0x330a5b};});}let _0x19fb75=(_0x330c90,_0x4a0033)=>{const _0x16eeb7=_0x46a2a4;if(_0x4a0033['length']===0x1&&_0x4a0033[0x0]===_0x16eeb7(0x44f))return _0x330c90;if(_0x4a0033[_0x16eeb7(0x3f8)]>0x1){let _0x4a6cbc=new Set();for(let _0x44b1f5 of _0x4a0033)_0x4a6cbc[_0x16eeb7(0x3fc)](Number(_0x44b1f5));return _0x330c90['filter'](_0x4b4aeb=>_0x4a6cbc['has'](_0x4b4aeb[_0x16eeb7(0x54e)]));}return[];};function _0x29dc74(_0x47c4ad){const _0x5d0d8b=_0x46a2a4;let _0x10a522=_0x47c4ad[_0x5d0d8b(0x3a8)](_0x4fd9fd[_0x5d0d8b(0x351)]),_0x36462b=(0x0,_0x4ae357[_0x5d0d8b(0x3d2)])(_0x47c4ad),_0x324fc9=_0x19fb75(_0x22b65a['concat'](),_0x36462b),_0x13ae47=_0x32d6cd(_0x324fc9)['map']((_0x436547,_0x55fc8d)=>({'icon':_0x436547['icon'],'value':_0x436547[_0x5d0d8b(0x54e)],'params':_0x436547[_0x5d0d8b(0x2f7)],'label':_0x5d0d8b(0x537)+_0x324fc9[_0x55fc8d]['labelId']}));return{'id':_0xb02f0e['id'],'type':_0xdda337['MenuItemType']['SELECTOR'],'selectionsCommandId':_0xb02f0e['id'],'selections':_0x13ae47,'icon':'ChartIcon','tooltip':_0x5d0d8b(0x1de),'activated$':(0x0,_0x45f13f[_0x5d0d8b(0x258)])(_0x10a522,!0x1,()=>new _0x32542e[(_0x5d0d8b(0x30c))](_0x137f23=>{const _0xfd2ff1=_0x5d0d8b;_0x137f23[_0xfd2ff1(0x551)](!0x1);})),'hidden$':(0x0,_0xdda337[_0x5d0d8b(0x2f3)])(_0x47c4ad,_0x4fd9fd[_0x5d0d8b(0x1ee)][_0x5d0d8b(0x483)]),'disabled$':(0x0,_0x45f13f[_0x5d0d8b(0x19e)])(_0x47c4ad)};}function _0x5660dd(_0x4e4a85){const _0x4c7f1e=_0x46a2a4;let _0x13e6ec=_0x4e4a85[_0x4c7f1e(0x3a8)](_0x73a89a[_0x4c7f1e(0x499)]);return _0x13e6ec[_0x4c7f1e(0x28f)][_0x4c7f1e(0x254)]((0x0,_0x32542e[_0x4c7f1e(0x1a3)])(_0x13e6ec['getFocusDrawings']()),(0x0,_0x32542e[_0x4c7f1e(0x3b2)])(()=>_0x53340d(_0x4e4a85)==null));}function _0x4a7584(_0x194a7a){const _0x3392d9=_0x46a2a4;return{'id':_0x548432['id'],'commandId':_0x548432['id'],'type':_0xdda337[_0x3392d9(0x2e8)]['BUTTON'],'title':_0x194a7a[_0x3392d9(0x3a8)](_0x4fd9fd['LocaleService'])['t'](_0x3392d9(0x25f)),'icon':_0x3392d9(0x46d),'hidden$':_0x5660dd(_0x194a7a)};}function _0x27fd36(_0x3b3ded){const _0x3f6179=_0x46a2a4;return{'id':_0x50d06c['id'],'commandId':_0x50d06c['id'],'type':_0xdda337[_0x3f6179(0x2e8)][_0x3f6179(0x3df)],'title':_0x3b3ded[_0x3f6179(0x3a8)](_0x4fd9fd['LocaleService'])['t'](_0x3f6179(0x26b)),'icon':'CopyDoubleIcon','hidden$':_0x5660dd(_0x3b3ded)};}function _0x2cb8d6(_0x5d5059){const _0x454468=_0x46a2a4;return{'id':_0x514e94['id'],'commandId':_0x514e94['id'],'type':_0xdda337[_0x454468(0x2e8)][_0x454468(0x3df)],'title':_0x5d5059['get'](_0x4fd9fd[_0x454468(0x281)])['t'](_0x454468(0x427)),'icon':_0x454468(0x48c),'hidden$':_0x5660dd(_0x5d5059)};}function _0x5b0909(_0xd78e95){const _0x2305c8=_0x46a2a4;return{'id':_0x17dd36['id'],'commandId':_0x17dd36['id'],'type':_0xdda337[_0x2305c8(0x2e8)][_0x2305c8(0x3df)],'title':_0xd78e95[_0x2305c8(0x3a8)](_0x4fd9fd['LocaleService'])['t'](_0x2305c8(0x46b)),'icon':_0x2305c8(0x1b1),'hidden$':_0x5660dd(_0xd78e95)};}let _0x2c12b8={[_0xdda337[_0x46a2a4(0x1e7)]['MEDIA']]:{[_0xb02f0e['id']]:{'order':0x4,'menuItemFactory':_0x29dc74}},[_0xdda337[_0x46a2a4(0x2a4)]['DRAWING']]:{[_0xdda337[_0x46a2a4(0x517)][_0x46a2a4(0x349)]]:{[_0x548432['id']]:{'order':0x0,'menuItemFactory':_0x4a7584},[_0x50d06c['id']]:{'order':0x1,'menuItemFactory':_0x27fd36},[_0x514e94['id']]:{'order':0x3,'menuItemFactory':_0x2cb8d6},[_0x17dd36['id']]:{'order':0x4,'menuItemFactory':_0x5b0909}}}};function _0x4acdf8(_0x59f61f){const _0x2d3fe3=_0x46a2a4;return _0x59f61f===_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x480)]||_0x59f61f===_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x2af)]||_0x59f61f===_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x451)]||_0x192cef[_0x2d3fe3(0x379)][_0x2d3fe3(0x1fa)](_0x59f61f,_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x35e)])||_0x192cef[_0x2d3fe3(0x379)]['baseOn'](_0x59f61f,_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x207)])||_0x192cef[_0x2d3fe3(0x379)]['baseOn'](_0x59f61f,_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x2e4)])||_0x192cef['chartBitsUtils'][_0x2d3fe3(0x1fa)](_0x59f61f,_0x192cef[_0x2d3fe3(0x557)][_0x2d3fe3(0x24e)]);}function _0x5cd7bc(_0x4ece05){const _0x1b915b=_0x46a2a4;return _0x4acdf8(_0x4ece05)||_0x192cef[_0x1b915b(0x379)][_0x1b915b(0x1fa)](_0x4ece05,_0x192cef[_0x1b915b(0x557)]['Pie'])||_0x192cef[_0x1b915b(0x379)]['baseOn'](_0x4ece05,_0x192cef[_0x1b915b(0x557)]['Pareto'])||_0x192cef[_0x1b915b(0x379)][_0x1b915b(0x1fa)](_0x4ece05,_0x192cef[_0x1b915b(0x557)][_0x1b915b(0x49e)]);}function _0x4cb114(_0x44e55b,_0x5a3513){const _0x3d594d=_0x46a2a4;let _0x553034=(0x0,_0x2890e0[_0x3d594d(0x41f)])(_0x44e55b,_0x5a3513),_0x21a914=_0x553034?(0x0,_0x2890e0['resolveChartEditPanelRoute'])(_0x553034[_0x3d594d(0x2b2)]):void 0x0;if(_0x553034&&_0x21a914)return{..._0x553034,'route':_0x21a914,'showFloatMenu':_0x5cd7bc(_0x44e55b[_0x3d594d(0x4af)])&&_0x553034[_0x3d594d(0x38a)]};}function _0x16325d(_0x27b11c){'@babel/helpers - typeof';const _0x5167de=_0x46a2a4;return _0x16325d=typeof Symbol==_0x5167de(0x2be)&&typeof Symbol['iterator']=='symbol'?function(_0x3c5c64){return typeof _0x3c5c64;}:function(_0x3ddd21){const _0xac794a=_0x5167de;return _0x3ddd21&&typeof Symbol==_0xac794a(0x2be)&&_0x3ddd21['constructor']===Symbol&&_0x3ddd21!==Symbol[_0xac794a(0x378)]?_0xac794a(0x503):typeof _0x3ddd21;},_0x16325d(_0x27b11c);}function _0x3784bf(_0x5f07cc,_0x511ec9){const _0x5b2f68=_0x46a2a4;if(_0x16325d(_0x5f07cc)!=_0x5b2f68(0x4e2)||!_0x5f07cc)return _0x5f07cc;var _0x406e2d=_0x5f07cc[Symbol[_0x5b2f68(0x35c)]];if(_0x406e2d!==void 0x0){var _0x4bad8c=_0x406e2d[_0x5b2f68(0x19a)](_0x5f07cc,_0x511ec9||_0x5b2f68(0x55b));if(_0x16325d(_0x4bad8c)!=_0x5b2f68(0x4e2))return _0x4bad8c;throw TypeError(_0x5b2f68(0x22f));}return(_0x511ec9===_0x5b2f68(0x257)?String:Number)(_0x5f07cc);}function _0x487aca(_0x500646){const _0x294c50=_0x46a2a4;var _0x4f791f=_0x3784bf(_0x500646,_0x294c50(0x257));return _0x16325d(_0x4f791f)==_0x294c50(0x503)?_0x4f791f:_0x4f791f+'';}function _0x1f0d28(_0x559e05,_0x2ca8ef,_0x2e8b13){const _0x4613ac=_0x46a2a4;return(_0x2ca8ef=_0x487aca(_0x2ca8ef))in _0x559e05?Object[_0x4613ac(0x212)](_0x559e05,_0x2ca8ef,{'value':_0x2e8b13,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x559e05[_0x2ca8ef]=_0x2e8b13,_0x559e05;}var _0x11a839=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x73e79c){const _0x21682c=_0x46a2a4;super(),this[_0x21682c(0x52a)]=_0x73e79c,_0x1f0d28(this,_0x21682c(0x48f),null),_0x1f0d28(this,_0x21682c(0x489),!0x1),_0x1f0d28(this,'_pending',!0x1);}['request'](){const _0x30fffc=_0x46a2a4;this[_0x30fffc(0x1f1)]||(this[_0x30fffc(0x1b5)]=!0x0,!this[_0x30fffc(0x489)]&&this[_0x30fffc(0x48f)]===null&&(this[_0x30fffc(0x48f)]=requestAnimationFrame(()=>this[_0x30fffc(0x1bb)]())));}['flush'](){const _0x49f151=_0x46a2a4;if(this[_0x49f151(0x1f1)]||this['_running'])return;this[_0x49f151(0x1f9)]();let _0x393765=this[_0x49f151(0x52a)]();_0x393765&&(this['_running']=!0x0,_0x393765[_0x49f151(0x353)](_0x384c20=>console['error'](_0x384c20))[_0x49f151(0x28a)](()=>{const _0x36accb=_0x49f151;this[_0x36accb(0x489)]=!0x1,this[_0x36accb(0x1b5)]&&this[_0x36accb(0x3d6)]();}));}[_0x46a2a4(0x1f9)](){const _0xd316a7=_0x46a2a4;this[_0xd316a7(0x1b5)]=!0x1,this[_0xd316a7(0x48f)]!==null&&(cancelAnimationFrame(this[_0xd316a7(0x48f)]),this['_frame']=null);}['dispose'](){const _0x4b1230=_0x46a2a4;this[_0x4b1230(0x1f9)](),super['dispose']();}},_0x110725=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x1bc0ef,_0x51803a){const _0x2a7ff5=_0x46a2a4;super(),this[_0x2a7ff5(0x311)]=_0x1bc0ef,this[_0x2a7ff5(0x20f)]=_0x51803a,_0x1f0d28(this,_0x2a7ff5(0x197),void 0x0),_0x1f0d28(this,_0x2a7ff5(0x2e3),void 0x0),this[_0x2a7ff5(0x2e3)]=this[_0x2a7ff5(0x167)](),this[_0x2a7ff5(0x197)]=new _0x11a839(()=>this[_0x2a7ff5(0x170)]()),this['disposeWithMe'](this[_0x2a7ff5(0x197)]),this[_0x2a7ff5(0x2d1)](_0x1bc0ef[_0x2a7ff5(0x416)][_0x2a7ff5(0x2c0)](()=>this[_0x2a7ff5(0x197)][_0x2a7ff5(0x3d6)]()));}get['scheduler'](){const _0xb9c125=_0x46a2a4;return this[_0xb9c125(0x197)];}['_updateGeometry'](){const _0x46cb57=_0x46a2a4;let _0x1d8fe9=this[_0x46cb57(0x167)](),_0x1ea133=this[_0x46cb57(0x2e3)],_0xe43700=_0x1d8fe9[_0x46cb57(0x4bb)]!==_0x1ea133['width']||_0x1d8fe9[_0x46cb57(0x263)]!==_0x1ea133[_0x46cb57(0x263)];if(_0xe43700||_0x1d8fe9['left']!==_0x1ea133[_0x46cb57(0x273)]||_0x1d8fe9[_0x46cb57(0x51d)]!==_0x1ea133[_0x46cb57(0x51d)])return this[_0x46cb57(0x2e3)]=_0x1d8fe9,this[_0x46cb57(0x20f)](_0xe43700);}['_readGeometry'](){const _0x3512fb=_0x46a2a4;let {left:_0x2139b2,top:_0x492ec9,width:_0x510a2f,height:_0x587d03}=this[_0x3512fb(0x311)];return{'left':_0x2139b2,'top':_0x492ec9,'width':_0x510a2f,'height':_0x587d03};}};function _0x497afe(_0x26b47f,_0x37ad42=0x1){const _0x2a2955=_0x46a2a4;return{'width':Math[_0x2a2955(0x183)](_0x37ad42,_0x26b47f[_0x2a2955(0x4bb)]),'height':Math[_0x2a2955(0x183)](_0x37ad42,_0x26b47f[_0x2a2955(0x263)])};}function _0x5e83a0(_0x13c695,_0x26a81d={},_0x2a78bb={'left':0x0,'top':0x0}){const _0x43ecb2=_0x46a2a4;let _0x73093=_0x26a81d[_0x43ecb2(0x1ab)]??0x1,_0x328b4f=_0x26a81d['scaleY']??0x1,_0x3721af=_0x2890e0['ChartFrameLayout'][_0x43ecb2(0x56c)]({'logicalOuterRect':{'left':_0x2a78bb[_0x43ecb2(0x273)]>0x0?-_0x2a78bb[_0x43ecb2(0x273)]:0x0,'top':_0x2a78bb[_0x43ecb2(0x51d)]>0x0?-_0x2a78bb[_0x43ecb2(0x51d)]:0x0,..._0x497afe(_0x13c695)},'scale':{'scaleX':_0x73093,'scaleY':_0x328b4f},'hostStyle':{},'contentMode':_0x2890e0[_0x43ecb2(0x354)]['Overlay']});return{'left':_0x3721af['logicalOuterRect'][_0x43ecb2(0x273)],'top':_0x3721af[_0x43ecb2(0x4c4)][_0x43ecb2(0x51d)],'width':_0x3721af[_0x43ecb2(0x4c4)][_0x43ecb2(0x4bb)],'height':_0x3721af[_0x43ecb2(0x4c4)]['height'],'scaleX':_0x73093,'scaleY':_0x328b4f};}function _0x1b5131(_0x58216a){const _0x317e9f=_0x46a2a4;switch(_0x58216a['type']){case _0x192cef['ChartImageSourceType'][_0x317e9f(0x2ec)]:return _0x58216a[_0x317e9f(0x168)];case _0x192cef[_0x317e9f(0x4eb)][_0x317e9f(0x174)]:return _0x58216a[_0x317e9f(0x282)];default:return;}}var _0x12fbe7=class extends _0x249319[_0x46a2a4(0x2aa)]{constructor(_0x4d9a1b,_0x9ac6fe,_0x2c236f,_0x4f54c8=()=>!0x1,_0x1f4fdb=()=>{}){const _0xafeb06=_0x46a2a4;super(_0x4d9a1b,{..._0x9ac6fe,'evented':_0x9ac6fe[_0xafeb06(0x229)]??!0x0}),this['_getImage']=_0x2c236f,this['_shouldSuppressRender']=_0x4f54c8,this['_disposeImage']=_0x1f4fdb,_0x1f0d28(this,'_urlImage',null),_0x1f0d28(this,_0xafeb06(0x22c),null),_0x1f0d28(this,_0xafeb06(0x3d3),null),_0x1f0d28(this,'_pendingUrlImage',null),this[_0xafeb06(0x4e7)](_0x249319[_0xafeb06(0x277)][_0xafeb06(0x4b2)]);}[_0x46a2a4(0x217)](){const _0x3ec036=_0x46a2a4;this[_0x3ec036(0x4c5)](),this[_0x3ec036(0x4a8)]=null,this['_url']=null,this[_0x3ec036(0x3d3)]=null,this[_0x3ec036(0x33d)](),super[_0x3ec036(0x217)]();}[_0x46a2a4(0x39e)](_0x2f7ea9,_0x2e1a66){const _0x1221d4=_0x46a2a4;if(!this[_0x1221d4(0x496)])return this[_0x1221d4(0x18d)](!0x1),this;if(this[_0x1221d4(0x31e)]()){let _0x10990b=this[_0x1221d4(0x440)]();return _0x10990b&&this[_0x1221d4(0x22e)](_0x10990b),this[_0x1221d4(0x18d)](!0x1),this;}if(!this[_0x1221d4(0x25b)])return this;let {width:_0x366a25,height:_0x283671,left:_0x25cd48,top:_0x40fc52}=this['getRealBound']();if(this[_0x1221d4(0x19f)](_0x2e1a66)){let {top:_0x247d3d,left:_0x5017a1,bottom:_0x58d467,right:_0x3fe0b4}=_0x2e1a66[_0x1221d4(0x2d0)];if(_0x366a25+this[_0x1221d4(0x4ef)]+_0x25cd48<_0x5017a1||_0x3fe0b4<_0x25cd48||_0x283671+this['strokeWidth']+_0x40fc52<_0x247d3d||_0x58d467<_0x40fc52)return this;}let _0x19af54=this['transform'][_0x1221d4(0x1a0)]();_0x2f7ea9[_0x1221d4(0x3d0)]();let _0x46b106=_0x25cd48+_0x366a25/0x2,_0x1c5bf2=_0x40fc52+_0x283671/0x2;return _0x2f7ea9[_0x1221d4(0x25b)](_0x19af54[0x0],_0x19af54[0x1],_0x19af54[0x2],_0x19af54[0x3],_0x46b106,_0x1c5bf2),this[_0x1221d4(0x339)]!==0x1&&(_0x2f7ea9[_0x1221d4(0x447)]=this[_0x1221d4(0x339)]),this[_0x1221d4(0x27a)](_0x2f7ea9,void 0x0,_0x366a25,_0x283671),_0x2f7ea9[_0x1221d4(0x2b4)](),this[_0x1221d4(0x18d)](!0x1),this;}['_draw'](_0x1dd899,_0x39a5b2,_0x1cbb77=this[_0x46a2a4(0x4bb)],_0x28791d=this[_0x46a2a4(0x263)]){const _0x4ef1b4=_0x46a2a4;this[_0x4ef1b4(0x17b)](_0x1dd899,_0x1cbb77,_0x28791d,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x4ef1b4(0x43d)](_0x1dd899,_0x1cbb77,_0x28791d),this[_0x4ef1b4(0x17b)](_0x1dd899,_0x1cbb77,_0x28791d,{'fill':void 0x0});}[_0x46a2a4(0x17b)](_0x58a3ce,_0x22a1df,_0x61f692,_0x1206eb){const _0xc974e0=_0x46a2a4;_0x58a3ce['save'](),_0x58a3ce[_0xc974e0(0x401)](-_0x22a1df/0x2,-_0x61f692/0x2),_0x249319[_0xc974e0(0x2aa)][_0xc974e0(0x309)](_0x58a3ce,_0x555581(this,_0x22a1df,_0x61f692,_0x1206eb)),_0x58a3ce[_0xc974e0(0x2b4)]();}[_0x46a2a4(0x390)](_0x4c54d3){const _0x2973fa=_0x46a2a4;let {left:_0x333c89,top:_0x3a5647,width:_0x519fed,height:_0x3e03a0}=this[_0x2973fa(0x1f7)](),_0x496a63=_0x333c89+_0x519fed/0x2,_0x5865f8=_0x3a5647+_0x3e03a0/0x2,_0x433483=this[_0x2973fa(0x25b)][_0x2973fa(0x1a0)](),_0x1701bd=new _0x249319[(_0x2973fa(0x2dc))]([_0x433483[0x0],_0x433483[0x1],_0x433483[0x2],_0x433483[0x3],_0x496a63,_0x5865f8]),_0x170eef=this[_0x2973fa(0x3a4)](),_0x8220dc=(this['isInGroup']&&(_0x170eef==null?void 0x0:_0x170eef['classType'])===_0x249319[_0x2973fa(0x228)][_0x2973fa(0x528)]?_0x170eef[_0x2973fa(0x475)][_0x2973fa(0x1ba)](_0x1701bd):_0x1701bd)[_0x2973fa(0x55c)]()[_0x2973fa(0x524)](_0x4c54d3),_0x32db90=_0x519fed/0x2,_0x4863a1=_0x3e03a0/0x2;return _0x8220dc['x']>=-_0x32db90-this[_0x2973fa(0x4ef)]/0x2&&_0x8220dc['x']<=_0x32db90+this[_0x2973fa(0x4ef)]/0x2&&_0x8220dc['y']>=-_0x4863a1-this['strokeWidth']/0x2&&_0x8220dc['y']<=_0x4863a1+this['strokeWidth']/0x2;}[_0x46a2a4(0x43d)](_0x27f8ff,_0x9b9301,_0x3139fd){const _0x537a22=_0x46a2a4;let _0x584b09=this[_0x537a22(0x440)](),_0x1b735a=_0x584b09?this[_0x537a22(0x22e)](_0x584b09):void 0x0;if(!_0x1b735a)return;let {width:_0x8fc0a9,height:_0x1c5f9c}=_0x497afe({'width':_0x9b9301,'height':_0x3139fd},0x0);_0x8fc0a9!==0x0&&_0x1c5f9c!==0x0&&(_0x27f8ff[_0x537a22(0x3d0)](),_0x27f8ff[_0x537a22(0x401)](-_0x9b9301/0x2,-_0x3139fd/0x2),_0x4aa430(_0x27f8ff,_0x8fc0a9,_0x1c5f9c,this['radius']),_0x27f8ff[_0x537a22(0x2dd)](),_0x27f8ff['drawImage'](_0x1b735a,0x0,0x0,_0x8fc0a9,_0x1c5f9c),_0x27f8ff[_0x537a22(0x2b4)]());}['_getDrawable'](_0x138e05){const _0x20c54c=_0x46a2a4;var _0x2c92de;let _0x204e4b=_0x1b5131(_0x138e05);if(_0x204e4b)return _0x204e4b;if(_0x138e05[_0x20c54c(0x316)]===_0x192cef[_0x20c54c(0x4eb)]['Url']&&(this[_0x20c54c(0x3d3)]!==_0x138e05[_0x20c54c(0x4ac)]&&(this[_0x20c54c(0x3d3)]=_0x138e05[_0x20c54c(0x4ac)],this['_clearPendingUrlImage'](),this[_0x20c54c(0x22c)]!==_0x138e05['url']&&this[_0x20c54c(0x399)](_0x138e05[_0x20c54c(0x4ac)])),(_0x2c92de=this[_0x20c54c(0x4a8)])!=null&&_0x2c92de[_0x20c54c(0x454)]&&this['_urlImage'][_0x20c54c(0x386)]>0x0&&this[_0x20c54c(0x4a8)][_0x20c54c(0x3cb)]>0x0))return this[_0x20c54c(0x4a8)];}[_0x46a2a4(0x399)](_0x141590){const _0x3fec30=_0x46a2a4;let _0x3ae18d=document[_0x3fec30(0x2f9)](_0x3fec30(0x40c));this[_0x3fec30(0x38e)]=_0x3ae18d,_0x3ae18d[_0x3fec30(0x27e)]=_0x3fec30(0x54a),_0x3ae18d['onload']=()=>{const _0x318f88=_0x3fec30;this[_0x318f88(0x3d3)]===_0x141590&&this[_0x318f88(0x38e)]===_0x3ae18d&&(_0x3ae18d[_0x318f88(0x386)]>0x0&&_0x3ae18d[_0x318f88(0x3cb)]>0x0&&(this[_0x318f88(0x22c)]=_0x141590,this[_0x318f88(0x4a8)]=_0x3ae18d),this[_0x318f88(0x4c5)](),this[_0x318f88(0x18d)](!0x0));},_0x3ae18d[_0x3fec30(0x2d6)]=()=>{const _0x296817=_0x3fec30;this[_0x296817(0x38e)]===_0x3ae18d&&this[_0x296817(0x4c5)]();},_0x3ae18d[_0x3fec30(0x3af)]=_0x141590;}['_clearPendingUrlImage'](){const _0x2b79a3=_0x46a2a4;this[_0x2b79a3(0x38e)]&&=(this['_pendingUrlImage'][_0x2b79a3(0x27d)]=null,this[_0x2b79a3(0x38e)][_0x2b79a3(0x2d6)]=null,null);}};function _0x555581(_0x5b9e92,_0x4e683b,_0x1821ad,_0x40e45a){const _0x4df30b=_0x46a2a4;let _0x5bf227=Object[_0x4df30b(0x52c)](_0x5b9e92);return Object[_0x4df30b(0x212)](_0x5bf227,_0x4df30b(0x4bb),{'value':_0x4e683b}),Object['defineProperty'](_0x5bf227,_0x4df30b(0x263),{'value':_0x1821ad}),Object[_0x4df30b(0x1d6)](_0x40e45a)[_0x4df30b(0x4d4)](_0x153622=>{const _0x1d4a32=_0x4df30b;Object[_0x1d4a32(0x212)](_0x5bf227,_0x153622,{'value':_0x40e45a[_0x153622]});}),_0x5bf227;}function _0x4aa430(_0x32a28c,_0x1cc1c6,_0x3e8eaa,_0x2d5425){const _0x393ce3=_0x46a2a4;let _0x479ec9=Math[_0x393ce3(0x2f8)](_0x2d5425||0x0,_0x1cc1c6/0x2,_0x3e8eaa/0x2);_0x32a28c['beginPath'](),_0x479ec9?(_0x32a28c[_0x393ce3(0x3c3)](_0x479ec9,0x0),_0x32a28c[_0x393ce3(0x2d2)](_0x1cc1c6-_0x479ec9,0x0),_0x32a28c['arc'](_0x1cc1c6-_0x479ec9,_0x479ec9,_0x479ec9,Math['PI']*0x3/0x2,0x0,!0x1),_0x32a28c[_0x393ce3(0x2d2)](_0x1cc1c6,_0x3e8eaa-_0x479ec9),_0x32a28c[_0x393ce3(0x403)](_0x1cc1c6-_0x479ec9,_0x3e8eaa-_0x479ec9,_0x479ec9,0x0,Math['PI']/0x2,!0x1),_0x32a28c[_0x393ce3(0x2d2)](_0x479ec9,_0x3e8eaa),_0x32a28c[_0x393ce3(0x403)](_0x479ec9,_0x3e8eaa-_0x479ec9,_0x479ec9,Math['PI']/0x2,Math['PI'],!0x1),_0x32a28c[_0x393ce3(0x2d2)](0x0,_0x479ec9),_0x32a28c[_0x393ce3(0x403)](_0x479ec9,_0x479ec9,_0x479ec9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x32a28c[_0x393ce3(0x4a3)]()):(_0x32a28c['rect'](0x0,0x0,_0x1cc1c6,_0x3e8eaa),_0x32a28c['closePath']());}function _0x150db9(_0x494557){const _0x23d56a=_0x46a2a4;(_0x494557==null?void 0x0:_0x494557[_0x23d56a(0x316)])===_0x192cef[_0x23d56a(0x4eb)]['ImageBitmap']&&_0x494557['imageBitmap']['close']();}function _0x209e79(_0x3c1c1a){const _0x46b83c=_0x46a2a4;return _0x3c1c1a[_0x46b83c(0x2d9)]+_0x46b83c(0x36b)+_0x3c1c1a[_0x46b83c(0x19c)]+'#-#'+_0x3c1c1a['chartId'];}var _0x7a2e4d=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(..._0x52a7e1){const _0xe7a089=_0x46a2a4;super(..._0x52a7e1),_0x1f0d28(this,_0xe7a089(0x24f),new Map());}['nextVersion'](_0x1ebc15){const _0x518c3c=_0x46a2a4;let _0x273e24=_0x209e79(_0x1ebc15),_0x419e95=this[_0x518c3c(0x24f)][_0x518c3c(0x3a8)](_0x273e24)??{'version':0x0};return _0x419e95[_0x518c3c(0x18c)]+=0x1,this[_0x518c3c(0x24f)][_0x518c3c(0x2d3)](_0x273e24,_0x419e95),_0x419e95[_0x518c3c(0x18c)];}[_0x46a2a4(0x42e)](_0x53c2d9,_0x43a151){const _0x5d98eb=_0x46a2a4;var _0x51416c;return((_0x51416c=this[_0x5d98eb(0x24f)][_0x5d98eb(0x3a8)](_0x209e79(_0x53c2d9)))==null?void 0x0:_0x51416c[_0x5d98eb(0x18c)])===_0x43a151;}[_0x46a2a4(0x2ef)](_0x2fadf6,_0x47034b,_0x1c73b7){const _0x1172f2=_0x46a2a4;if(!this['isLatest'](_0x2fadf6,_0x1c73b7))return _0x150db9(_0x47034b),!0x1;let _0x369622=_0x209e79(_0x2fadf6),_0x223a17=this[_0x1172f2(0x24f)][_0x1172f2(0x3a8)](_0x369622)??{'version':_0x1c73b7},_0x4e2a41=_0x223a17[_0x1172f2(0x57a)];return _0x223a17['image']=_0x47034b,_0x223a17[_0x1172f2(0x18c)]=_0x1c73b7,this[_0x1172f2(0x24f)]['set'](_0x369622,_0x223a17),_0x4e2a41!==_0x47034b&&_0x150db9(_0x4e2a41),!0x0;}['getImage'](_0x1f6937){const _0x3ad4dc=_0x46a2a4;var _0x4e6d3e;return(_0x4e6d3e=this[_0x3ad4dc(0x24f)]['get'](_0x209e79(_0x1f6937)))==null?void 0x0:_0x4e6d3e[_0x3ad4dc(0x57a)];}[_0x46a2a4(0x3c7)](_0x496f2b){const _0x456fd7=_0x46a2a4;let _0x13ab6b=_0x209e79(_0x496f2b),_0x7bd186=this['_entries'][_0x456fd7(0x3a8)](_0x13ab6b);_0x7bd186&&(_0x150db9(_0x7bd186[_0x456fd7(0x57a)]),this[_0x456fd7(0x24f)][_0x456fd7(0x18f)](_0x13ab6b));}[_0x46a2a4(0x564)](_0x17335a){const _0x5ca49a=_0x46a2a4;for(let [_0x15ee20,_0x160ec3]of this[_0x5ca49a(0x24f)])_0x15ee20[_0x5ca49a(0x3d9)](_0x5ca49a(0x36b)+_0x17335a)&&(_0x150db9(_0x160ec3['image']),this[_0x5ca49a(0x24f)]['delete'](_0x15ee20));}[_0x46a2a4(0x217)](){const _0x39504c=_0x46a2a4;this['_entries']['forEach'](_0x3031f4=>_0x150db9(_0x3031f4['image'])),this['_entries'][_0x39504c(0x264)](),super[_0x39504c(0x217)]();}};function _0x823ff5(_0x227e8e,_0x3a77c3=0x7d0){let _0x3ad67f=null,_0x5d9cb3=null,_0x477e57=!0x1,_0x409994=()=>{},_0x58e116=()=>{_0x3ad67f!=null&&(clearInterval(_0x3ad67f),_0x3ad67f=null),_0x5d9cb3!=null&&(clearTimeout(_0x5d9cb3),_0x5d9cb3=null);};return{'promise':new Promise((_0x5eadb1,_0x54a2bf)=>{_0x409994=_0x54a2bf;let _0x430cd7=()=>{const _0x39be3f=_0x3470;let _0x37f305=document[_0x39be3f(0x1c3)](_0x227e8e);_0x37f305&&!_0x477e57&&(_0x477e57=!0x0,_0x58e116(),_0x5eadb1(_0x37f305));};_0x430cd7(),!_0x477e57&&(_0x3ad67f=setInterval(_0x430cd7,16.666666666666668),_0x5d9cb3=setTimeout(()=>{const _0x47480d=_0x3470;_0x477e57||(_0x477e57=!0x0,_0x58e116(),_0x54a2bf(Error(_0x47480d(0x417)+_0x227e8e+'\x22.')));},_0x3a77c3));}),'cancel':()=>{const _0x51cc94=_0x3470;_0x477e57||(_0x477e57=!0x0,_0x58e116(),_0x409994(Error(_0x51cc94(0x192)+_0x227e8e+'\x22.')));}};}var _0x297617=class extends _0x4fd9fd['Disposable']{constructor(_0x2ce6c4,_0x562ae2,_0xd5a1fb,_0x78dbae,_0x2a3e4b,_0x40b5b4,_0x1ee7c0,_0x4ba552){const _0x2a4825=_0x46a2a4;super(),this[_0x2a4825(0x576)]=_0x2ce6c4,this[_0x2a4825(0x415)]=_0x562ae2,this[_0x2a4825(0x426)]=_0xd5a1fb,this[_0x2a4825(0x3a9)]=_0x78dbae,this[_0x2a4825(0x356)]=_0x2a3e4b,this['_markReady']=_0x40b5b4,this[_0x2a4825(0x29a)]=_0x1ee7c0,this[_0x2a4825(0x317)]=_0x4ba552,_0x1f0d28(this,_0x2a4825(0x285),_0x192cef[_0x2a4825(0x1c8)][_0x2a4825(0x1db)]),_0x1f0d28(this,_0x2a4825(0x35b),null),_0x1f0d28(this,'_managed',!0x1),_0x1f0d28(this,_0x2a4825(0x347),null),_0x1f0d28(this,'_pendingHost',null),_0x1f0d28(this,'_waiter',null),_0x1f0d28(this,_0x2a4825(0x2a1),{}),_0x1f0d28(this,_0x2a4825(0x39a),null),_0x1f0d28(this,_0x2a4825(0x1a9),null),_0x1f0d28(this,_0x2a4825(0x1a5),null);}[_0x46a2a4(0x308)](){const _0x3c61d5=_0x46a2a4;return this[_0x3c61d5(0x397)];}[_0x46a2a4(0x25c)](){const _0x37dc07=_0x46a2a4;this[_0x37dc07(0x397)]=!0x1;}['getRect'](){const _0xb622d3=_0x46a2a4;let _0x4b4889=this[_0xb622d3(0x426)]();return _0x4b4889?{'width':_0x4b4889['width'],'height':_0x4b4889[_0xb622d3(0x263)]}:null;}['setStyle'](_0x896432){const _0x55b74f=_0x46a2a4;this['_hostStyle']=_0x896432,this['_setHostStyle'](_0x896432),this[_0x55b74f(0x344)]();}async[_0x46a2a4(0x342)](){const _0x59743b=_0x46a2a4;if(this['_disposed']||this[_0x59743b(0x356)]())throw Error(_0x59743b(0x2b0));let _0x5eec3d=this[_0x59743b(0x415)](),_0x184d85=(_0x5eec3d==null?void 0x0:_0x5eec3d[_0x59743b(0x3ac)])??this[_0x59743b(0x576)],_0x96b234=document[_0x59743b(0x1c3)](_0x184d85);if(this[_0x59743b(0x35b)]&&_0x96b234!=null&&_0x96b234[_0x59743b(0x193)](this[_0x59743b(0x35b)][_0x59743b(0x500)]))return{'mountNode':this[_0x59743b(0x35b)][_0x59743b(0x500)],'dispose':()=>{const _0x52bd54=_0x59743b;this[_0x52bd54(0x217)](),_0x5eec3d==null||_0x5eec3d[_0x52bd54(0x217)][_0x52bd54(0x217)]();}};if(this['_pendingHost'])return this['_pendingHost'];let _0xc9fafa=this[_0x59743b(0x425)]();return this[_0x59743b(0x542)]=_0xc9fafa,_0xc9fafa[_0x59743b(0x34e)](()=>{const _0x12e74b=_0x59743b;this[_0x12e74b(0x542)]===_0xc9fafa&&(this[_0x12e74b(0x542)]=null);},()=>{const _0x349cbd=_0x59743b;this[_0x349cbd(0x542)]===_0xc9fafa&&(this['_pendingHost']=null);}),_0xc9fafa;}async['ensureMount'](){const _0x1239fc=_0x46a2a4;try{return(await this[_0x1239fc(0x342)]())[_0x1239fc(0x500)];}catch{return null;}}[_0x46a2a4(0x269)](){const _0x1cf3a5=_0x46a2a4;let _0x2f9810=this['_getFloatDomInfo'](),_0x14d722=(_0x2f9810==null?void 0x0:_0x2f9810[_0x1cf3a5(0x3ac)])??this['chartId'],_0x3170a9=document[_0x1cf3a5(0x1c3)](_0x14d722);return!!(this[_0x1cf3a5(0x35b)]&&_0x3170a9!=null&&_0x3170a9[_0x1cf3a5(0x193)](this['_domFrame']['mountNode']));}[_0x46a2a4(0x394)](){const _0xced42f=_0x46a2a4;if(!this['_domFrame'])return;let _0x5b564a=this[_0xced42f(0x426)]();_0x5b564a&&this[_0xced42f(0x35b)][_0xced42f(0x382)](this['_resolveLayout'](_0x5b564a),this['_frameStyle']());}[_0x46a2a4(0x467)](){const _0x122790=_0x46a2a4;this[_0x122790(0x438)]();}[_0x46a2a4(0x48b)](){const _0x57c72a=_0x46a2a4;this[_0x57c72a(0x29a)]();}[_0x46a2a4(0x3dd)](_0x1ce3dd){const _0x5a35f0=_0x46a2a4;this[_0x5a35f0(0x1a9)]=_0x1ce3dd;let _0x51fe3d=this[_0x5a35f0(0x415)](),_0x1177a7=document['getElementById']((_0x51fe3d==null?void 0x0:_0x51fe3d['domId'])??this['chartId']);_0x1177a7&&this[_0x5a35f0(0x568)](_0x1177a7);}[_0x46a2a4(0x217)](){const _0x5bb8aa=_0x46a2a4;var _0x100087,_0x5afd79;this['_disposed']||(this[_0x5bb8aa(0x48b)](),this[_0x5bb8aa(0x347)]=null,this[_0x5bb8aa(0x542)]=null,this[_0x5bb8aa(0x4e0)](),this[_0x5bb8aa(0x397)]=!0x1,this[_0x5bb8aa(0x1a9)]=null,(_0x100087=this[_0x5bb8aa(0x1a5)])==null||_0x100087[_0x5bb8aa(0x217)](),this[_0x5bb8aa(0x1a5)]=null,(_0x5afd79=this[_0x5bb8aa(0x35b)])==null||_0x5afd79[_0x5bb8aa(0x217)](),this['_domFrame']=null,this[_0x5bb8aa(0x43a)](),super[_0x5bb8aa(0x217)]());}async[_0x46a2a4(0x425)](){const _0x4d7369=_0x46a2a4;let _0x238965=this[_0x4d7369(0x415)]();if(!_0x238965)throw Error(_0x4d7369(0x2b0));let _0x29d06d=_0x238965['domId']??this['chartId'],_0x323163=_0x823ff5(_0x29d06d),_0x35ecc5=Symbol(this['chartId']);this['_pendingToken']=_0x35ecc5,this[_0x4d7369(0x407)]=_0x323163;try{var _0x11bd58;let _0x239d43=await _0x323163['promise'],_0xb6f493=this['_getFloatDomInfo'](),_0x485ad0=(_0xb6f493==null?void 0x0:_0xb6f493[_0x4d7369(0x3ac)])??this[_0x4d7369(0x576)];if(this[_0x4d7369(0x1f1)]||this[_0x4d7369(0x356)]()||this[_0x4d7369(0x347)]!==_0x35ecc5||!_0xb6f493||_0x485ad0!==_0x29d06d||document[_0x4d7369(0x1c3)](_0x29d06d)!==_0x239d43||!_0x239d43[_0x4d7369(0x4cf)])throw Error(_0x4d7369(0x2b0));let _0x23b7e5=this[_0x4d7369(0x426)]();if(!_0x23b7e5)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x455a3f=new _0x2890e0['ChartDomFrame'](_0x239d43);return _0x455a3f[_0x4d7369(0x382)](this['_resolveLayout'](_0x23b7e5),this['_frameStyle']()),this[_0x4d7369(0x4f8)](_0x239d43),this[_0x4d7369(0x35b)]=_0x455a3f,(_0x11bd58=this[_0x4d7369(0x1a5)])==null||_0x11bd58[_0x4d7369(0x217)](),this[_0x4d7369(0x1a5)]=this[_0x4d7369(0x317)](_0x239d43),this[_0x4d7369(0x397)]=!0x0,{'mountNode':_0x455a3f[_0x4d7369(0x500)],'dispose':()=>{const _0xddb476=_0x4d7369;this[_0xddb476(0x217)](),_0x238965[_0xddb476(0x217)][_0xddb476(0x217)]();}};}finally{this[_0x4d7369(0x407)]===_0x323163&&(this[_0x4d7369(0x407)]=null),this[_0x4d7369(0x347)]===_0x35ecc5&&(this['_pendingToken']=null);}}[_0x46a2a4(0x4e0)](){const _0x4bc60e=_0x46a2a4;let _0x3e2734=this[_0x4bc60e(0x407)];_0x3e2734&&(_0x3e2734[_0x4bc60e(0x1e0)](),this[_0x4bc60e(0x407)]=null);}[_0x46a2a4(0x344)](){const _0x5dea25=_0x46a2a4;let _0x5bf52d=this[_0x5dea25(0x426)]();this[_0x5dea25(0x35b)]&&_0x5bf52d&&this[_0x5dea25(0x35b)][_0x5dea25(0x382)](this[_0x5dea25(0x430)](_0x5bf52d),this[_0x5dea25(0x54d)]());}[_0x46a2a4(0x430)](_0x236c44){const _0x4b6049=_0x46a2a4;return _0x2890e0[_0x4b6049(0x3f2)]['resolve']({'logicalOuterRect':{'left':_0x236c44['left'],'top':_0x236c44[_0x4b6049(0x51d)],'width':_0x236c44['width'],'height':_0x236c44['height']},'scale':{'scaleX':_0x236c44[_0x4b6049(0x1ab)],'scaleY':_0x236c44[_0x4b6049(0x2fb)]},'hostStyle':this[_0x4b6049(0x54d)](),'contentMode':_0x2890e0['ChartFrameContentMode'][_0x4b6049(0x219)]});}[_0x46a2a4(0x54d)](){const _0x902ad5=_0x46a2a4;return{...this[_0x902ad5(0x2a1)],'radius':_0x2890e0[_0x902ad5(0x4c8)]};}[_0x46a2a4(0x4f8)](_0x3901a9){const _0x7f50f5=_0x46a2a4;let _0x15ed99=_0x3901a9[_0x7f50f5(0x553)];_0x15ed99&&(this[_0x7f50f5(0x39a)]||={'zIndex':_0x15ed99[_0x7f50f5(0x20a)][_0x7f50f5(0x2fc)],'pointerEvents':_0x15ed99[_0x7f50f5(0x20a)][_0x7f50f5(0x276)]},_0x15ed99[_0x7f50f5(0x20a)][_0x7f50f5(0x2fc)]=_0x7f50f5(0x41b),this[_0x7f50f5(0x568)](_0x3901a9));}[_0x46a2a4(0x568)](_0x52d810){const _0x2e5cf1=_0x46a2a4;let _0x14d0e1=_0x52d810[_0x2e5cf1(0x553)];if(!_0x14d0e1)return;let _0x195bbc=this['_dataUpdateAnimationDuration'];_0x195bbc==null?(delete _0x52d810['dataset'][_0x2e5cf1(0x326)],delete _0x52d810[_0x2e5cf1(0x253)][_0x2e5cf1(0x3bf)],_0x14d0e1[_0x2e5cf1(0x20a)][_0x2e5cf1(0x276)]=_0x2e5cf1(0x297)):(_0x52d810[_0x2e5cf1(0x253)][_0x2e5cf1(0x326)]='true',_0x52d810[_0x2e5cf1(0x253)]['sheetChartDataAnimationDuration']=String(_0x195bbc),_0x14d0e1[_0x2e5cf1(0x20a)][_0x2e5cf1(0x276)]=_0x2e5cf1(0x385));}[_0x46a2a4(0x43a)](){const _0x508d5f=_0x46a2a4;if(!this[_0x508d5f(0x39a)])return;let _0x153dc8=this['_getFloatDomInfo'](),_0x588866=(_0x153dc8==null?void 0x0:_0x153dc8[_0x508d5f(0x3ac)])??this[_0x508d5f(0x576)],_0x3f122e=document[_0x508d5f(0x1c3)](_0x588866);_0x3f122e==null||delete _0x3f122e['dataset'][_0x508d5f(0x326)],_0x3f122e==null||delete _0x3f122e[_0x508d5f(0x253)]['sheetChartDataAnimationDuration'];let _0x19b0d5=_0x3f122e==null?void 0x0:_0x3f122e[_0x508d5f(0x553)];_0x19b0d5&&(_0x19b0d5[_0x508d5f(0x20a)][_0x508d5f(0x2fc)]=this[_0x508d5f(0x39a)][_0x508d5f(0x2fc)],_0x19b0d5['style'][_0x508d5f(0x276)]=this[_0x508d5f(0x39a)][_0x508d5f(0x276)]),this[_0x508d5f(0x39a)]=null;}},_0x544e96=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0xf2813c,_0x2156a1,_0x25a751,_0x1156b7){const _0x308cff=_0x46a2a4;super(),this[_0x308cff(0x3e2)]=_0x2156a1,_0x1f0d28(this,_0x308cff(0x49b),null),_0x1f0d28(this,'_suppressClick',!0x1);let _0x323bc9=_0x252c99=>{const _0xfdb916=_0x308cff;this[_0xfdb916(0x336)]&&(_0x252c99[_0xfdb916(0x395)](),_0x252c99[_0xfdb916(0x525)]());},_0x24d351=_0x5c5bb0=>{const _0x1ea2f0=_0x308cff;let _0x29c4ca=this[_0x1ea2f0(0x49b)];(_0x29c4ca==null?void 0x0:_0x29c4ca[_0x1ea2f0(0x209)][_0x1ea2f0(0x46a)])===_0x5c5bb0[_0x1ea2f0(0x46a)]&&!_0x29c4ca['target']['hasPointerCapture'](_0x5c5bb0[_0x1ea2f0(0x46a)])&&this[_0x1ea2f0(0x3ea)]();};_0xf2813c['addEventListener'](_0x308cff(0x1f3),_0x323bc9,!0x0),_0xf2813c[_0x308cff(0x271)](_0x308cff(0x288),_0x323bc9,!0x0),_0xf2813c['addEventListener'](_0x308cff(0x22d),_0x24d351),this[_0x308cff(0x2d1)]((0x0,_0x4fd9fd[_0x308cff(0x1ec)])(()=>{const _0x328d0f=_0x308cff;_0xf2813c[_0x328d0f(0x218)](_0x328d0f(0x1f3),_0x323bc9,!0x0),_0xf2813c[_0x328d0f(0x218)]('dblclick',_0x323bc9,!0x0),_0xf2813c['removeEventListener']('lostpointercapture',_0x24d351),_0x1156b7(_0x2156a1);})),this[_0x308cff(0x2d1)](_0x25a751[_0x308cff(0x3a1)](()=>{const _0x122c91=_0x308cff;this[_0x122c91(0x49b)]&&(this['_suppressClick']=!0x0);})),_0x1156b7({'onPointerDown':_0x4c9867=>{const _0x3a6185=_0x308cff;this[_0x3a6185(0x336)]=!0x1,_0x4c9867 instanceof PointerEvent&&_0x4c9867[_0x3a6185(0x2b2)]instanceof Element&&_0xf2813c[_0x3a6185(0x193)](_0x4c9867[_0x3a6185(0x2b2)])&&(this[_0x3a6185(0x49b)]={'target':_0x4c9867[_0x3a6185(0x2b2)],'event':_0x4c9867}),_0x2156a1[_0x3a6185(0x442)](_0x4c9867),this[_0x3a6185(0x1ce)](_0x4c9867);},'onPointerMove':_0x3cca2e=>{const _0x8e1252=_0x308cff;_0x2156a1['onPointerMove'](_0x3cca2e),this[_0x8e1252(0x1ce)](_0x3cca2e);},'onPointerUp':_0x103499=>{const _0x2beded=_0x308cff;try{_0x2156a1[_0x2beded(0x2de)](_0x103499);}finally{var _0x50a836;_0x103499 instanceof PointerEvent&&((_0x50a836=this[_0x2beded(0x49b)])==null?void 0x0:_0x50a836['event']['pointerId'])===_0x103499['pointerId']&&this['_releaseGesture']();}}});}[_0x46a2a4(0x217)](){const _0x79aa37=_0x46a2a4;this['_disposed']||(this[_0x79aa37(0x3ea)](),super[_0x79aa37(0x217)]());}['_keepChartCapture'](_0x41732b){const _0x46832e=_0x46a2a4;let _0x18a40b=this[_0x46832e(0x49b)];_0x41732b instanceof PointerEvent&&(_0x18a40b==null?void 0x0:_0x18a40b[_0x46832e(0x209)][_0x46832e(0x46a)])===_0x41732b[_0x46832e(0x46a)]&&(_0x18a40b['event']=_0x41732b,_0x18a40b['target'][_0x46832e(0x4cf)]?_0x18a40b['target'][_0x46832e(0x548)](_0x41732b['pointerId']):this['_cancelGesture']());}['_releaseGesture'](){const _0x1e0a81=_0x46a2a4;let _0xe9519f=this[_0x1e0a81(0x49b)];this[_0x1e0a81(0x49b)]=null,_0xe9519f!=null&&_0xe9519f['target'][_0x1e0a81(0x476)](_0xe9519f[_0x1e0a81(0x209)]['pointerId'])&&_0xe9519f['target'][_0x1e0a81(0x4a5)](_0xe9519f['event'][_0x1e0a81(0x46a)]);}['_cancelGesture'](){const _0x112b7d=_0x46a2a4;let _0x9b3743=this['_gesture'];this['_releaseGesture'](),_0x9b3743&&this[_0x112b7d(0x3e2)][_0x112b7d(0x2de)](new PointerEvent(_0x112b7d(0x206),_0x9b3743[_0x112b7d(0x209)]));}},_0x26b4bf=class extends _0x192cef[_0x46a2a4(0x3f1)]{constructor(_0x19b70f,_0x418d32,_0x4af098,_0x1e0095,_0x5a985c,_0x3c5790){const _0xde33e=_0x46a2a4;super(_0x19b70f),this[_0xde33e(0x49c)]=_0x418d32,this[_0xde33e(0x3a9)]=_0x4af098,this['_snapshotKey']=_0x1e0095,this[_0xde33e(0x318)]=_0x5a985c,this[_0xde33e(0x48e)]=_0x3c5790;}[_0x46a2a4(0x1e3)](){const _0x185158=_0x46a2a4;let _0x2a0d70=this[_0x185158(0x49c)]();return _0x2a0d70?_0x497afe(_0x2a0d70):null;}[_0x46a2a4(0x290)](_0x1c5171){const _0x2c4925=_0x46a2a4;this[_0x2c4925(0x3a9)](_0x1c5171);}[_0x46a2a4(0x1bd)](){const _0x1990fd=_0x46a2a4;return this[_0x1990fd(0x318)][_0x1990fd(0x1bd)](this[_0x1990fd(0x1dd)]);}['commitSnapshot'](_0x1610d0,_0x9e7857){const _0x57da2c=_0x46a2a4;return this[_0x57da2c(0x318)][_0x57da2c(0x2ef)](this['_snapshotKey'],_0x1610d0,_0x9e7857);}[_0x46a2a4(0x405)](){const _0x4f51dc=_0x46a2a4;this[_0x4f51dc(0x48e)]();}['invalidateSnapshot'](){const _0x5ca6d3=_0x46a2a4;this[_0x5ca6d3(0x318)][_0x5ca6d3(0x1bd)](this[_0x5ca6d3(0x1dd)]);}};function _0x3fa4ac(_0x1182ce,_0x54705a){return function(_0x2707cb,_0x37e4e3){_0x54705a(_0x2707cb,_0x37e4e3,_0x1182ce);};}function _0x43fe6e(_0x25c596,_0x1a0487,_0x2a9a53,_0x465e38){const _0x6141cf=_0x46a2a4;var _0x8a5547=arguments['length'],_0x101049=_0x8a5547<0x3?_0x1a0487:_0x465e38===null?_0x465e38=Object['getOwnPropertyDescriptor'](_0x1a0487,_0x2a9a53):_0x465e38,_0x108e05;if(typeof Reflect==_0x6141cf(0x4e2)&&typeof Reflect[_0x6141cf(0x17d)]==_0x6141cf(0x2be))_0x101049=Reflect[_0x6141cf(0x17d)](_0x25c596,_0x1a0487,_0x2a9a53,_0x465e38);else{for(var _0x38058d=_0x25c596[_0x6141cf(0x3f8)]-0x1;_0x38058d>=0x0;_0x38058d--)(_0x108e05=_0x25c596[_0x38058d])&&(_0x101049=(_0x8a5547<0x3?_0x108e05(_0x101049):_0x8a5547>0x3?_0x108e05(_0x1a0487,_0x2a9a53,_0x101049):_0x108e05(_0x1a0487,_0x2a9a53))||_0x101049);}return _0x8a5547>0x3&&_0x101049&&Object[_0x6141cf(0x212)](_0x1a0487,_0x2a9a53,_0x101049),_0x101049;}let _0x560ad0=0.5;function _0x45491a(_0x465259){const _0x1ef04b=_0x46a2a4;let _0x3bb2e5=Math[_0x1ef04b(0x183)](_0x465259[_0x1ef04b(0x2b6)]-_0x465259[_0x1ef04b(0x26a)],0x0),_0x1c7325=Math['max'](_0x465259[_0x1ef04b(0x1e6)]-_0x465259[_0x1ef04b(0x4ad)],0x0),_0x13ecbf=_0x465259[_0x1ef04b(0x246)][_0x1ef04b(0x273)]&&_0x465259[_0x1ef04b(0x4bb)]-_0x3bb2e5>_0x560ad0,_0x50b2c4=_0x465259[_0x1ef04b(0x246)][_0x1ef04b(0x51d)]&&_0x465259[_0x1ef04b(0x263)]-_0x1c7325>_0x560ad0;return!_0x13ecbf&&!_0x50b2c4?_0x465259:{..._0x465259,'absolute':{'left':!_0x13ecbf&&_0x465259[_0x1ef04b(0x246)]['left'],'top':!_0x50b2c4&&_0x465259[_0x1ef04b(0x246)][_0x1ef04b(0x51d)]}};}function _0xe71ef7(_0x2c0310){const _0x5fe945=_0x46a2a4;if(!Object['prototype'][_0x5fe945(0x1c1)][_0x5fe945(0x19a)](_0x2c0310,_0x5fe945(0x4bd)))return _0x2c0310;let {border:_0x4f4769,..._0x5080f0}=_0x2c0310;return{..._0x5080f0,'stroke':(_0x4f4769==null?void 0x0:_0x4f4769[_0x5fe945(0x30b)])??_0x5fe945(0x466),'strokeWidth':(_0x4f4769==null?void 0x0:_0x4f4769[_0x5fe945(0x4bb)])??0x0};}let _0x1c4861=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x638d83,_0x423300,_0x338198,_0x553016){const _0x2c2a62=_0x46a2a4;super(),this[_0x2c2a62(0x474)]=_0x638d83,this[_0x2c2a62(0x52f)]=_0x423300,this[_0x2c2a62(0x4ce)]=_0x338198,this[_0x2c2a62(0x4d6)]=_0x553016,_0x1f0d28(this,_0x2c2a62(0x4de),new Map()),_0x1f0d28(this,'_activeDomReadyChartIds',new Set()),_0x1f0d28(this,_0x2c2a62(0x3a0),new _0x32542e[(_0x2c2a62(0x4ff))]()),_0x1f0d28(this,'removeHost$',this[_0x2c2a62(0x3a0)][_0x2c2a62(0x188)]()),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x2c2a62(0x3a1)](_0x348e5a=>{const _0x4d3531=_0x2c2a62;let _0x4b63cf=this[_0x4d3531(0x4de)][_0x4d3531(0x3a8)](_0x348e5a['id']);_0x4b63cf!=null&&_0x4b63cf[_0x4d3531(0x308)]()&&(_0x4b63cf[_0x4d3531(0x25c)](),this['_removeHost$']['next'](_0x348e5a['id']));}));}[_0x46a2a4(0x56d)](_0x317f4a){const _0x4f3326=_0x46a2a4;if(_0x317f4a==null)return;let _0x257ad3=this[_0x4f3326(0x52f)][_0x4f3326(0x400)](_0x317f4a),_0x2ef40e=_0x257ad3==null?void 0x0:_0x257ad3[_0x4f3326(0x16a)];return _0x257ad3==null||_0x2ef40e==null?null:{'scene':_0x2ef40e,'transformer':_0x2ef40e[_0x4f3326(0x359)](),'renderUnit':_0x257ad3,'canvas':_0x257ad3[_0x4f3326(0x176)][_0x4f3326(0x1bc)]()};}[_0x46a2a4(0x536)](_0x42fb20,_0x4cb796){const _0x1009c4=_0x46a2a4;let _0xc61938=this['_sheetCanvasFloatDomManagerService'],_0x2d9ba6=_0x4cb796||_0x1009c4(0x466),_0x50d617=_0xc61938[_0x1009c4(0x1a1)](_0x42fb20);if(_0x50d617){let {unitId:_0x469c00,subUnitId:_0x294c17}=_0x50d617;_0xc61938['updateFloatDomProps'](_0x469c00,_0x294c17,_0x42fb20,{'stroke':_0x2d9ba6});}}['setHostStyle'](_0x1e1bc1,_0x2fcc22){const _0xdef3b1=_0x46a2a4;let _0x42157c=this[_0xdef3b1(0x474)],_0x541260=_0x42157c[_0xdef3b1(0x1a1)](_0x1e1bc1);if(_0x541260){let {unitId:_0x31f6c,subUnitId:_0x567256}=_0x541260;_0x42157c[_0xdef3b1(0x46c)](_0x31f6c,_0x567256,_0x1e1bc1,_0xe71ef7(_0x2fcc22));}}[_0x46a2a4(0x2c8)](_0x2c3069){const _0x537868=_0x46a2a4;let _0x349c52=this[_0x537868(0x474)][_0x537868(0x1a1)](_0x2c3069);return _0x349c52?_0x349c52[_0x537868(0x572)]:null;}[_0x46a2a4(0x523)](_0x5ce202){const _0x3699df=_0x46a2a4;let _0x2d3ba5=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x5ce202),_0xbf935a=document['getElementById']((_0x2d3ba5==null?void 0x0:_0x2d3ba5[_0x3699df(0x3ac)])??_0x5ce202);return(_0xbf935a==null?void 0x0:_0xbf935a[_0x3699df(0x50c)]())??null;}[_0x46a2a4(0x3dd)](_0x3bf4fd,_0x51d188){const _0x3ccb77=_0x46a2a4;var _0x43ebf1;(_0x43ebf1=this[_0x3ccb77(0x4de)][_0x3ccb77(0x3a8)](_0x3bf4fd))==null||_0x43ebf1['setDataUpdateAnimation'](_0x51d188);}[_0x46a2a4(0x506)](_0x5b02c3){const _0x33c7a2=_0x46a2a4;var _0x118c20;return((_0x118c20=this['_chartHostMap'][_0x33c7a2(0x3a8)](_0x5b02c3))==null?void 0x0:_0x118c20[_0x33c7a2(0x269)]())??!0x1;}[_0x46a2a4(0x1f8)](_0x281ed5){const _0x35b86e=_0x46a2a4;var _0x5a59fb;(_0x5a59fb=this['_chartHostMap'][_0x35b86e(0x3a8)](_0x281ed5))==null||_0x5a59fb['syncLayout']();}[_0x46a2a4(0x4e4)](_0x4fb50b){const _0x39f541=_0x46a2a4;let _0x3fb195=this[_0x39f541(0x4de)][_0x39f541(0x3a8)](_0x4fb50b);_0x3fb195&&(_0x3fb195[_0x39f541(0x217)](),this[_0x39f541(0x4d6)][_0x39f541(0x418)](_0x4fb50b,{'eventPassThrough':!0x0})),this[_0x39f541(0x4de)][_0x39f541(0x18f)](_0x4fb50b);}async[_0x46a2a4(0x439)](_0x58c5e9,_0x23dd0){const _0x526321=_0x46a2a4;if(_0x23dd0===_0x192cef[_0x526321(0x1c8)][_0x526321(0x17c)])return this[_0x526321(0x327)](_0x58c5e9);if(_0x23dd0===_0x192cef[_0x526321(0x1c8)][_0x526321(0x1db)])return this['_getOrCreateSheetChartHost'](_0x58c5e9);let _0x548008=this[_0x526321(0x53c)](_0x58c5e9);if(!_0x548008)throw Error(_0x526321(0x2b0));return _0x548008[_0x526321(0x342)]();}[_0x46a2a4(0x275)](_0x4712ff){const _0x48511c=_0x46a2a4;var _0x31e57f;return this[_0x48511c(0x1cf)][_0x48511c(0x2a2)](_0x4712ff)?(_0x31e57f=this[_0x48511c(0x4de)]['get'](_0x4712ff))!=null&&_0x31e57f['checkMounted']()?!0x0:(this[_0x48511c(0x1cf)][_0x48511c(0x18f)](_0x4712ff),this['_restoreFloatDomPositionStream'](_0x4712ff),!0x1):!0x1;}[_0x46a2a4(0x4bc)](_0x15d880){const _0x254e23=_0x46a2a4;this[_0x254e23(0x1cf)][_0x254e23(0x18f)](_0x15d880)&&(this[_0x254e23(0x284)](_0x15d880),this[_0x254e23(0x501)](_0x15d880));}[_0x46a2a4(0x3ff)](_0x4a651a){const _0x5851cd=_0x46a2a4;let _0x2b88ab=this['_getChartSnapshotKey'](_0x4a651a);_0x2b88ab&&this[_0x5851cd(0x4ce)]['nextVersion'](_0x2b88ab);}[_0x46a2a4(0x327)](_0x345dd1){const _0x561685=_0x46a2a4;let _0x51a591=this[_0x561685(0x203)](_0x345dd1);return!_0x51a591||!this['getHostSize'](_0x345dd1)?null:new _0x26b4bf(_0x345dd1,()=>this[_0x561685(0x2c8)](_0x345dd1),_0x43b27c=>this['setHostStyle'](_0x345dd1,_0x43b27c),_0x51a591,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x345dd1));}[_0x46a2a4(0x53c)](_0x314420){const _0x50bb60=_0x46a2a4;if(!this['getHostSize'](_0x314420))return null;this['_canvasFloatDomService'][_0x50bb60(0x418)](_0x314420,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x4ee548=this['_chartHostMap'][_0x50bb60(0x3a8)](_0x314420);if(_0x4ee548)return _0x4ee548;let _0x69978d=new _0x297617(_0x314420,()=>this[_0x50bb60(0x474)]['getFloatDomInfo'](_0x314420),()=>this['_getHostPlacement'](_0x314420),_0x338c32=>this[_0x50bb60(0x261)](_0x314420,_0x338c32),()=>this['_disposed'],()=>this[_0x50bb60(0x4bf)](_0x314420),()=>this['markHostNotReady'](_0x314420),_0x2ff05b=>this[_0x50bb60(0x4fd)](_0x314420,_0x2ff05b));return this[_0x50bb60(0x4de)]['set'](_0x314420,_0x69978d),_0x69978d;}[_0x46a2a4(0x4fd)](_0x1e4fdf,_0x7ca679){const _0x5e54e1=_0x46a2a4;var _0x28d40f;let _0x5cf5c3=this[_0x5e54e1(0x474)][_0x5e54e1(0x1a1)](_0x1e4fdf),_0x5b562b=(_0x28d40f=this['_canvasFloatDomService'][_0x5e54e1(0x375)][_0x5e54e1(0x1a8)](([_0x21f7ea])=>_0x21f7ea===_0x1e4fdf))==null?void 0x0:_0x28d40f[0x1],_0x43ddc3=_0x5cf5c3?this[_0x5e54e1(0x56d)](_0x5cf5c3[_0x5e54e1(0x2d9)]):null;if(!_0x5cf5c3||!_0x5b562b||!_0x43ddc3)return(0x0,_0x4fd9fd[_0x5e54e1(0x1ec)])(()=>{});let _0x212976=(0x0,_0x46891f[_0x5e54e1(0x47e)])({'unitId':_0x5cf5c3[_0x5e54e1(0x2d9)],'subUnitId':_0x5cf5c3[_0x5e54e1(0x19c)],'drawingId':_0x1e4fdf});return new _0x544e96(_0x7ca679,{'onPointerDown':_0x5b562b[_0x5e54e1(0x442)],'onPointerMove':_0x5b562b['onPointerMove'],'onPointerUp':_0x5b562b['onPointerUp']},_0x43ddc3[_0x5e54e1(0x3f5)][_0x5e54e1(0x478)][_0x5e54e1(0x254)]((0x0,_0x32542e['filter'])(_0x5c04d2=>_0x5c04d2[_0x5e54e1(0x32d)]['has'](_0x212976)&&((_0x5c04d2[_0x5e54e1(0x3d7)]??0x0)!==0x0||(_0x5c04d2['moveY']??0x0)!==0x0))),_0x14bc3b=>this[_0x5e54e1(0x4d6)]['updateFloatDom'](_0x1e4fdf,_0x14bc3b));}[_0x46a2a4(0x4bf)](_0x2141c0){const _0x41633d=_0x46a2a4;this[_0x41633d(0x1cf)][_0x41633d(0x2a2)](_0x2141c0)||(this[_0x41633d(0x1cf)][_0x41633d(0x3fc)](_0x2141c0),this[_0x41633d(0x51b)](_0x2141c0),this['_requestChartCanvasRender'](_0x2141c0));}[_0x46a2a4(0x51b)](_0xd0e899){const _0x18e70e=_0x46a2a4;var _0x22357a;let _0x5e1f5d=this[_0x18e70e(0x474)]['getFloatDomInfo'](_0xd0e899),_0x5850a3=_0x5e1f5d?(_0x22357a=this[_0x18e70e(0x52f)][_0x18e70e(0x400)](_0x5e1f5d[_0x18e70e(0x2d9)]))==null?void 0x0:_0x22357a[_0x18e70e(0x16a)]:null;if(!_0x5e1f5d||!_0x5850a3)return;let _0x4d3ca4=(0x0,_0x32542e[_0x18e70e(0x410)])(_0x5e1f5d[_0x18e70e(0x20c)][_0x18e70e(0x254)]((0x0,_0x32542e[_0x18e70e(0x538)])(0x1)),_0x5850a3[_0x18e70e(0x51a)][_0x18e70e(0x254)]((0x0,_0x32542e[_0x18e70e(0x432)])(_0x5e1f5d['position$']),(0x0,_0x32542e[_0x18e70e(0x3b2)])(([,_0x308b9c])=>_0x308b9c)))[_0x18e70e(0x254)]((0x0,_0x32542e[_0x18e70e(0x3b5)])(),(0x0,_0x32542e['map'])(_0x45491a));this[_0x18e70e(0x4d6)][_0x18e70e(0x418)](_0xd0e899,{'position$':_0x4d3ca4});}[_0x46a2a4(0x284)](_0x140523){const _0x41fd71=_0x46a2a4;let _0x16f977=this[_0x41fd71(0x474)]['getFloatDomInfo'](_0x140523);_0x16f977&&this[_0x41fd71(0x4d6)]['updateFloatDom'](_0x140523,{'position$':_0x16f977[_0x41fd71(0x20c)]});}['_getChartSnapshotKey'](_0x22a787){const _0x5306a3=_0x46a2a4;let _0x50c22c=this[_0x5306a3(0x474)][_0x5306a3(0x1a1)](_0x22a787);return _0x50c22c?{'unitId':_0x50c22c[_0x5306a3(0x2d9)],'subUnitId':_0x50c22c[_0x5306a3(0x19c)],'chartId':_0x22a787}:null;}[_0x46a2a4(0x501)](_0x5ecce9){const _0x571a7a=_0x46a2a4;var _0x317171,_0x48563f,_0x116fa3;let _0x372e5a=this[_0x571a7a(0x474)][_0x571a7a(0x1a1)](_0x5ecce9);if(!_0x372e5a)return;let _0x51e9c5=(_0x317171=this[_0x571a7a(0x52f)][_0x571a7a(0x400)](_0x372e5a[_0x571a7a(0x2d9)]))==null?void 0x0:_0x317171[_0x571a7a(0x16a)],_0x1cb95b=(_0x51e9c5==null||(_0x48563f=_0x51e9c5[_0x571a7a(0x3a5)])==null?void 0x0:_0x48563f['call'](_0x51e9c5,(0x0,_0x46891f[_0x571a7a(0x47e)])({'unitId':_0x372e5a[_0x571a7a(0x2d9)],'subUnitId':_0x372e5a[_0x571a7a(0x19c)],'drawingId':_0x5ecce9})))??(_0x51e9c5==null?void 0x0:_0x51e9c5[_0x571a7a(0x2ca)]((0x0,_0x46891f[_0x571a7a(0x47e)])({'unitId':_0x372e5a[_0x571a7a(0x2d9)],'subUnitId':_0x372e5a[_0x571a7a(0x19c)],'drawingId':_0x5ecce9})))??null;_0x1cb95b==null||(_0x116fa3=_0x1cb95b['makeDirty'])==null||_0x116fa3[_0x571a7a(0x19a)](_0x1cb95b,!0x0),_0x51e9c5==null||_0x51e9c5[_0x571a7a(0x18d)](!0x0);}[_0x46a2a4(0x3be)](_0x5f183b){const _0x5b24ff=_0x46a2a4;let _0x2261c2=this['_sheetCanvasFloatDomManagerService'][_0x5b24ff(0x1a1)](_0x5f183b);if(!_0x2261c2)return null;let _0x1e5687=this[_0x5b24ff(0x56d)](_0x2261c2[_0x5b24ff(0x2d9)]),_0x45c6f4=_0x1e5687==null?void 0x0:_0x1e5687['scene'],_0x2b3f9f=document['getElementById'](_0x2261c2[_0x5b24ff(0x3ac)]??_0x5f183b);return _0x5e83a0(_0x2261c2['rect'],{'scaleX':(_0x45c6f4==null?void 0x0:_0x45c6f4[_0x5b24ff(0x1ab)])??0x1,'scaleY':(_0x45c6f4==null?void 0x0:_0x45c6f4[_0x5b24ff(0x2fb)])??0x1},_0x2b3f9f?{'left':_0x2b3f9f[_0x5b24ff(0x29b)],'top':_0x2b3f9f[_0x5b24ff(0x302)]}:void 0x0);}[_0x46a2a4(0x217)](){const _0x4c6189=_0x46a2a4;this[_0x4c6189(0x1f1)]||(Array[_0x4c6189(0x3d8)](this[_0x4c6189(0x4de)][_0x4c6189(0x1d6)]())[_0x4c6189(0x4d4)](_0x4aa1b5=>this[_0x4c6189(0x4e4)](_0x4aa1b5)),this[_0x4c6189(0x1cf)][_0x4c6189(0x264)](),this['_removeHost$']['complete'](),super[_0x4c6189(0x217)]());}};_0x1c4861=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd['Inject'])(_0xd7d9e[_0x46a2a4(0x4dc)])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x249319[_0x46a2a4(0x38d)])),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x7a2e4d)),_0x3fa4ac(0x3,(0x0,_0x4fd9fd['Inject'])(_0xdda337[_0x46a2a4(0x4ab)]))],_0x1c4861);let _0x3ead35=(0x0,_0x4fd9fd['createIdentifier'])('sheets-chart-ui.host.provider'),_0x41dca0=_0x192cef['ChartRenderMode'][_0x46a2a4(0x17c)];var _0x5a0b05=class extends _0x192cef[_0x46a2a4(0x3f1)]{constructor(_0x3bc916,_0x4b06ef){const _0x3a09ec=_0x46a2a4;super(_0x3bc916),this[_0x3a09ec(0x311)]=_0x4b06ef,_0x1f0d28(this,_0x3a09ec(0x3c1),0x0),_0x1f0d28(this,_0x3a09ec(0x2b8),void 0x0),_0x1f0d28(this,'style',{});}[_0x46a2a4(0x1e3)](){const _0x5b8133=_0x46a2a4;return this[_0x5b8133(0x311)];}[_0x46a2a4(0x290)](_0xa2b804){this['style']=_0xa2b804;}[_0x46a2a4(0x1bd)](){return++this['_version'];}[_0x46a2a4(0x3ec)](_0x27946b,_0x4dccac){const _0x578816=_0x46a2a4;return _0x4dccac===this[_0x578816(0x3c1)]?(_0x150db9(this[_0x578816(0x2b8)]),this[_0x578816(0x2b8)]=_0x27946b,!0x0):(_0x150db9(_0x27946b),!0x1);}[_0x46a2a4(0x405)](){}[_0x46a2a4(0x3ff)](){this['_version']+=0x1;}['takeSnapshot'](){const _0x247cc3=_0x46a2a4;let _0x2cb7ac=this[_0x247cc3(0x2b8)];return this['_image']=void 0x0,_0x2cb7ac;}['dispose'](){const _0x528c5d=_0x46a2a4;_0x150db9(this['_image']),this[_0x528c5d(0x2b8)]=void 0x0,super[_0x528c5d(0x217)]();}};function _0x4cab7b(_0x252740,_0xac870,_0x261e8a){const _0x264ac6=_0x46a2a4;let _0x4ef155=_0x252740[_0x264ac6(0x35f)](_0xac870),_0x5debbf={..._0x252740['style'],'runtime':{..._0x4ef155,'layoutInset':0x8,..._0x261e8a===void 0x0?{}:{'addWatermark':_0x261e8a}},'direction':_0xac870};return(0x0,_0x192cef[_0x264ac6(0x221)])(_0x5debbf,_0x252740['chartType']);}let _0x2df583=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x52fdb2,_0x49e047,_0x99b522,_0x48e384,_0x62e859,_0x3c053f,_0x1a9c38,_0xefafb8,_0x4a46f8,_0x4b7649,_0x3a80c2,_0x2b9a2f,_0x144444){const _0x467def=_0x46a2a4;super(),this[_0x467def(0x213)]=_0x52fdb2,this['_sheetCanvasFloatDomManagerService']=_0x49e047,this['_chartModelService']=_0x99b522,this['_drawingManagerService']=_0x48e384,this[_0x467def(0x2bf)]=_0x62e859,this[_0x467def(0x52f)]=_0x3c053f,this[_0x467def(0x303)]=_0x1a9c38,this['_injector']=_0xefafb8,this[_0x467def(0x2eb)]=_0x4a46f8,this[_0x467def(0x3f0)]=_0x4b7649,this[_0x467def(0x455)]=_0x3a80c2,this[_0x467def(0x4ce)]=_0x2b9a2f,this['_renderModelManager']=_0x144444,_0x1f0d28(this,'_chartInstanceMap',new Map()),_0x1f0d28(this,_0x467def(0x36e),new Map()),_0x1f0d28(this,_0x467def(0x43b),new Map()),_0x1f0d28(this,_0x467def(0x164),new Map()),_0x1f0d28(this,_0x467def(0x540),new Map()),_0x1f0d28(this,_0x467def(0x571),new Map()),_0x1f0d28(this,'_chartChangeSubscriptions',new Map()),_0x1f0d28(this,'_chartRenderMode',void 0x0),_0x1f0d28(this,_0x467def(0x199),void 0x0),_0x1f0d28(this,_0x467def(0x35d),new Map()),_0x1f0d28(this,_0x467def(0x3e6),new Set()),_0x1f0d28(this,_0x467def(0x235),new Map()),_0x1f0d28(this,'_activeChartId',null),_0x1f0d28(this,_0x467def(0x1a4),null);let _0x3c5cd0=(0x0,_0x4ae357[_0x467def(0x3d2)])(this[_0x467def(0x23e)]),_0x247abd=this['_configService'][_0x467def(0x526)](_0x4ae357[_0x467def(0x34d)]);this[_0x467def(0x319)]=(_0x247abd==null?void 0x0:_0x247abd[_0x467def(0x2f0)])??_0x41dca0,this['_addWatermark']=_0x3c5cd0[_0x467def(0x3f8)]!==0x1||_0x3c5cd0[0x0]!==_0x467def(0x44f),this[_0x467def(0x1fc)](),this[_0x467def(0x3ab)](),this['_initDrawingDeactivationListener'](),this[_0x467def(0x2d4)](),this[_0x467def(0x4f0)]();}[_0x46a2a4(0x1b0)](_0x25f836){const _0x470ac9=_0x46a2a4;let _0x505c78=this[_0x470ac9(0x203)](_0x25f836);return _0x505c78?this[_0x470ac9(0x4ce)][_0x470ac9(0x2ea)](_0x505c78):void 0x0;}[_0x46a2a4(0x328)](_0x321ef9){const _0x54a0ec=_0x46a2a4;var _0xa2d11d;return((_0xa2d11d=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0xa2d11d['id'])===_0x321ef9?_0x192cef['ChartRenderMode'][_0x54a0ec(0x1db)]:this[_0x54a0ec(0x319)];}[_0x46a2a4(0x203)](_0x5a8021){const _0x2db0d9=_0x46a2a4;let _0x5aeb20=this[_0x2db0d9(0x474)][_0x2db0d9(0x1a1)](_0x5a8021);return _0x5aeb20?{'unitId':_0x5aeb20[_0x2db0d9(0x2d9)],'subUnitId':_0x5aeb20[_0x2db0d9(0x19c)],'chartId':_0x5a8021}:null;}[_0x46a2a4(0x1fc)](){const _0x601973=_0x46a2a4;this[_0x601973(0x319)]===_0x192cef['ChartRenderMode'][_0x601973(0x17c)]&&this[_0x601973(0x2d1)](this[_0x601973(0x474)][_0x601973(0x402)](_0x4fd9fd['DrawingTypeEnum'][_0x601973(0x32f)],({key:_0x20d960,config:_0x25f132,unitId:_0xe76434,subUnitId:_0x41ca8d,drawingId:_0x2fd1ca})=>new _0x12fbe7(_0x20d960,_0x25f132,()=>this[_0x601973(0x4ce)][_0x601973(0x2ea)]({'unitId':_0xe76434,'subUnitId':_0x41ca8d,'chartId':_0x2fd1ca}),()=>this[_0x601973(0x213)][_0x601973(0x275)](_0x2fd1ca))));}[_0x46a2a4(0x3ab)](){const _0x1f32dc=_0x46a2a4;this[_0x1f32dc(0x2d1)](this['_chartModelService'][_0x1f32dc(0x41e)][_0x1f32dc(0x3a1)](_0x4ac631=>{const _0x4db0b1=_0x1f32dc;let _0x143d37=(_0x4ac631==null?void 0x0:_0x4ac631['id'])??null,_0x42a1ed=this[_0x4db0b1(0x175)];_0x42a1ed!==_0x143d37&&(_0x42a1ed&&(this[_0x4db0b1(0x213)][_0x4db0b1(0x4bc)](_0x42a1ed),this[_0x4db0b1(0x189)](_0x42a1ed),this[_0x4db0b1(0x19d)](_0x42a1ed)),this[_0x4db0b1(0x175)]=_0x143d37,_0x143d37&&(this['_deactivateDataUpdateAnimation'](_0x143d37),this['_chartHostProvider']['markHostNotReady'](_0x143d37),this[_0x4db0b1(0x262)](_0x143d37),this[_0x4db0b1(0x16e)](_0x143d37)));}));}['_initDrawingDeactivationListener'](){const _0x16b9ec=_0x46a2a4;this[_0x16b9ec(0x2d1)](this[_0x16b9ec(0x4e5)][_0x16b9ec(0x3f4)]['subscribe'](_0x1938be=>{const _0x19aa42=_0x16b9ec;var _0x508059;let _0x5b8fcb=(_0x508059=this['_chartModelService'][_0x19aa42(0x251)])==null?void 0x0:_0x508059['id'];_0x5b8fcb&&_0x1938be['some'](_0x50351f=>_0x50351f[_0x19aa42(0x1ad)]['some'](_0xa1ca30=>_0xa1ca30[_0x19aa42(0x23d)]===_0x5b8fcb))&&this[_0x19aa42(0x26f)][_0x19aa42(0x180)](null);})),this[_0x16b9ec(0x2d1)](this[_0x16b9ec(0x4e5)]['featurePluginUngroupUpdate$'][_0x16b9ec(0x3a1)](_0x12323f=>{const _0x7efb01=_0x16b9ec;var _0x223c1c;let _0x1ed2ce=(_0x223c1c=this[_0x7efb01(0x26f)][_0x7efb01(0x251)])==null?void 0x0:_0x223c1c['id'];_0x1ed2ce&&_0x12323f[_0x7efb01(0x279)](_0x15dc15=>_0x15dc15[_0x7efb01(0x2df)][_0x7efb01(0x23d)]===_0x1ed2ce||_0x15dc15[_0x7efb01(0x1ad)][_0x7efb01(0x279)](_0x20681f=>_0x20681f['drawingId']===_0x1ed2ce))&&this[_0x7efb01(0x26f)][_0x7efb01(0x180)](null);}));}[_0x46a2a4(0x2d4)](){const _0x4aa477=_0x46a2a4;this['disposeWithMe'](this[_0x4aa477(0x4e5)][_0x4aa477(0x52b)][_0x4aa477(0x3a1)](_0x251233=>{const _0x3a72ca=_0x4aa477;var _0x6f7af;let _0x2d77c6=(_0x6f7af=this[_0x3a72ca(0x26f)]['activeChartModel'])==null?void 0x0:_0x6f7af['id'];if(!_0x2d77c6){_0x251233[_0x3a72ca(0x505)]['forEach'](_0xa46175=>{const _0x4d1f02=_0x3a72ca;this['_chartModelService'][_0x4d1f02(0x23b)](_0xa46175)&&this[_0x4d1f02(0x189)](_0xa46175);});return;}let _0x5d2c21=this[_0x3a72ca(0x474)]['getFloatDomInfo'](_0x2d77c6);(_0x5d2c21==null?void 0x0:_0x5d2c21[_0x3a72ca(0x2d9)])===_0x251233[_0x3a72ca(0x2d9)]&&_0x5d2c21[_0x3a72ca(0x19c)]===_0x251233[_0x3a72ca(0x19c)]&&this[_0x3a72ca(0x262)](_0x2d77c6);})),this[_0x4aa477(0x2d1)](this['_drawingManagerService'][_0x4aa477(0x1e5)][_0x4aa477(0x3a1)](_0x5e6ee2=>{const _0xc3b6f5=_0x4aa477;var _0x1896c9;let _0x26093e=(_0x1896c9=this[_0xc3b6f5(0x26f)][_0xc3b6f5(0x251)])==null?void 0x0:_0x1896c9['id'];if(!_0x26093e)return;let _0xa20104=this[_0xc3b6f5(0x474)][_0xc3b6f5(0x1a1)](_0x26093e);_0xa20104&&_0x5e6ee2['some'](_0x1618b1=>_0x1618b1[_0xc3b6f5(0x2d9)]===_0xa20104['unitId']&&_0x1618b1['subUnitId']===_0xa20104[_0xc3b6f5(0x19c)])&&this[_0xc3b6f5(0x262)](_0x26093e);})),this[_0x4aa477(0x2d1)](this[_0x4aa477(0x26f)][_0x4aa477(0x484)]['subscribe'](_0x28c692=>{const _0x4ae1a8=_0x4aa477;var _0x3be419;this[_0x4ae1a8(0x444)](_0x28c692),this[_0x4ae1a8(0x1d0)](_0x28c692),this[_0x4ae1a8(0x36e)]['delete'](_0x28c692),this[_0x4ae1a8(0x580)](_0x28c692),this['_lastRenderInputMap'][_0x4ae1a8(0x18f)](_0x28c692),this[_0x4ae1a8(0x4ce)]['clearChart'](_0x28c692),this[_0x4ae1a8(0x3bd)](_0x28c692),this[_0x4ae1a8(0x213)]['markHostNotReady'](_0x28c692),((_0x3be419=this[_0x4ae1a8(0x26f)][_0x4ae1a8(0x251)])==null?void 0x0:_0x3be419['id'])===_0x28c692?this['_chartModelService'][_0x4ae1a8(0x180)](null):this['_resetChartRuntimeZIndex'](_0x28c692),this[_0x4ae1a8(0x482)](_0x28c692);}));}[_0x46a2a4(0x16e)](_0x58f8fe){const _0x42a2eb=_0x46a2a4;let _0x364864=this[_0x42a2eb(0x35d)][_0x42a2eb(0x3a8)](_0x58f8fe);_0x364864&&this[_0x42a2eb(0x39e)](_0x58f8fe,_0x364864['config'],_0x364864['style']);}[_0x46a2a4(0x19d)](_0x2cd437){const _0x3e961c=_0x46a2a4;let _0x343489=this[_0x3e961c(0x549)][_0x3e961c(0x3a8)](_0x2cd437);(_0x343489==null?void 0x0:_0x343489[_0x3e961c(0x285)])==='dom'&&(this[_0x3e961c(0x1d0)](_0x2cd437),_0x343489[_0x3e961c(0x217)](),this[_0x3e961c(0x549)][_0x3e961c(0x18f)](_0x2cd437)),this['_chartHostProvider']['markHostNotReady'](_0x2cd437),this[_0x3e961c(0x213)][_0x3e961c(0x4e4)](_0x2cd437);}[_0x46a2a4(0x482)](_0x550fc0){const _0x1494e2=_0x46a2a4;let _0x4fdedb=this['_chartInstanceMap'][_0x1494e2(0x3a8)](_0x550fc0);_0x4fdedb&&(this[_0x1494e2(0x1d0)](_0x550fc0),_0x4fdedb[_0x1494e2(0x217)](),this[_0x1494e2(0x549)]['delete'](_0x550fc0)),this[_0x1494e2(0x213)][_0x1494e2(0x4bc)](_0x550fc0),this[_0x1494e2(0x213)][_0x1494e2(0x4e4)](_0x550fc0);}[_0x46a2a4(0x3bd)](_0x6d6d69){const _0x1e2c2b=_0x46a2a4;var _0x48ccad,_0x37bf0a;(_0x48ccad=this[_0x1e2c2b(0x31f)][_0x1e2c2b(0x2b5)](_0x192cef[_0x1e2c2b(0x293)]))==null||(_0x37bf0a=_0x48ccad[_0x1e2c2b(0x44d)])==null||_0x37bf0a['call'](_0x48ccad,{'type':_0x1e2c2b(0x4b4),'chartId':_0x6d6d69});}[_0x46a2a4(0x43e)](_0x455d13,_0x5b8ee1){const _0x1611f5=_0x46a2a4;let _0x49fe93=this['_drawingManagerService']['getDrawingData'](_0x455d13,_0x5b8ee1);Object[_0x1611f5(0x27b)](_0x49fe93??{})[_0x1611f5(0x4d4)](_0x32f14c=>{const _0x577cc8=_0x1611f5;if(_0x32f14c[_0x577cc8(0x422)]===_0x4fd9fd[_0x577cc8(0x31d)]['DRAWING_CHART']){var _0x56bc00,_0x4eea73;(_0x56bc00=this[_0x577cc8(0x31f)][_0x577cc8(0x2b5)](_0x192cef['EChartRenderEngineName']))==null||(_0x4eea73=_0x56bc00[_0x577cc8(0x44d)])==null||_0x4eea73[_0x577cc8(0x19a)](_0x56bc00,{'type':_0x577cc8(0x411),'chartId':_0x32f14c[_0x577cc8(0x23d)]});}});}[_0x46a2a4(0x4e6)](_0xbc71d2,_0x3ae172){const _0x369927=_0x46a2a4;var _0x177f8f;return((_0x177f8f=_0xbc71d2[_0x369927(0x3a5)])==null?void 0x0:_0x177f8f[_0x369927(0x19a)](_0xbc71d2,_0x3ae172))??_0xbc71d2['getObject'](_0x3ae172)??null;}['_getChartRenderObjectContext'](_0x13365d){const _0x322b38=_0x46a2a4;var _0x26460d;let _0x14aa09=this[_0x322b38(0x474)][_0x322b38(0x1a1)](_0x13365d);if(!_0x14aa09)return null;let _0x536967=(_0x26460d=this[_0x322b38(0x52f)]['getRenderUnitById'](_0x14aa09['unitId']))==null?void 0x0:_0x26460d[_0x322b38(0x16a)];if(!_0x536967)return null;let _0x256004=this[_0x322b38(0x4e6)](_0x536967,(0x0,_0x46891f[_0x322b38(0x47e)])({'unitId':_0x14aa09['unitId'],'subUnitId':_0x14aa09[_0x322b38(0x19c)],'drawingId':_0x13365d}));return _0x256004?{'info':_0x14aa09,'scene':_0x536967,'chartObject':_0x256004}:null;}[_0x46a2a4(0x18b)](_0x4e3ccc,_0x5cddf3){const _0x400b9a=_0x46a2a4;var _0x433c64,_0x3f5f02,_0x47b90d,_0x475abb;let _0x3a6e75=this['_getChartRenderObjectContext'](_0x4e3ccc);_0x3a6e75&&((_0x433c64=(_0x3f5f02=_0x3a6e75['chartObject'])['setProps'])==null||_0x433c64[_0x400b9a(0x19a)](_0x3f5f02,{'zIndex':_0x5cddf3}),(_0x47b90d=(_0x475abb=_0x3a6e75['chartObject'])['makeDirty'])==null||_0x47b90d[_0x400b9a(0x19a)](_0x475abb,!0x0),_0x3a6e75[_0x400b9a(0x16a)][_0x400b9a(0x18d)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0x474519){const _0x10e139=_0x46a2a4;let _0x199e35=this['_sheetCanvasFloatDomManagerService'][_0x10e139(0x1a1)](_0x474519);if(!_0x199e35)return;let _0x5c3f44=this[_0x10e139(0x4e5)][_0x10e139(0x51c)](_0x199e35[_0x10e139(0x2d9)],_0x199e35[_0x10e139(0x19c)]);this['_setChartRuntimeZIndex'](_0x474519,_0x5c3f44[_0x10e139(0x3f8)]);}[_0x46a2a4(0x189)](_0x4a277a){const _0x3127db=_0x46a2a4;let _0x435e6f=this[_0x3127db(0x474)][_0x3127db(0x1a1)](_0x4a277a);if(!_0x435e6f)return;let _0x1d6ae8=this[_0x3127db(0x4e5)][_0x3127db(0x51c)](_0x435e6f[_0x3127db(0x2d9)],_0x435e6f[_0x3127db(0x19c)]),_0x94c9bf=_0x1d6ae8[_0x3127db(0x29f)](_0x4a277a);this['_setChartRuntimeZIndex'](_0x4a277a,_0x94c9bf===-0x1?Math[_0x3127db(0x183)](_0x1d6ae8[_0x3127db(0x3f8)]-0x1,0x0):_0x94c9bf);}[_0x46a2a4(0x1c2)](_0xb7d31b,_0x121b08){const _0x315d6e=_0x46a2a4;let _0x388c45=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xb7d31b);if(_0x121b08[_0x315d6e(0x4bb)]!==void 0x0&&_0x121b08['height']!==void 0x0&&_0x388c45){var _0x2c0d41;let {subUnitId:_0x126907}=_0x388c45,_0x45c8a8=(_0x2c0d41=this['_univerInstanceService'][_0x315d6e(0x45c)](_0x4fd9fd['UniverInstanceType'][_0x315d6e(0x483)]))==null?void 0x0:_0x2c0d41[_0x315d6e(0x321)]();if((_0x45c8a8==null?void 0x0:_0x45c8a8['getSheetId']())===_0x126907){let {width:_0x2468da,height:_0x3de34f}=_0x121b08,_0x13f8ef=this[_0x315d6e(0x26f)][_0x315d6e(0x23b)](_0xb7d31b),_0x420e5c=_0x13f8ef==null?void 0x0:_0x13f8ef[_0x315d6e(0x20a)];(Math[_0x315d6e(0x1b2)](_0x2468da-((_0x420e5c==null?void 0x0:_0x420e5c['width'])||0x0))>0x1||Math[_0x315d6e(0x1b2)](_0x3de34f-((_0x420e5c==null?void 0x0:_0x420e5c[_0x315d6e(0x263)])||0x0))>0x1)&&(_0x13f8ef==null||_0x13f8ef[_0x315d6e(0x230)]({..._0x420e5c,'width':_0x2468da,'height':_0x3de34f}));}}}[_0x46a2a4(0x224)](_0x47295c,_0x2b0f06,_0x1225c1=0x0){const _0x28eb7e=_0x46a2a4;let _0x46a50f=this['_debounceHandleMap'][_0x28eb7e(0x3a8)](_0x47295c);_0x46a50f||(_0x46a50f=(0x0,_0x4fd9fd[_0x28eb7e(0x384)])(_0x37846b=>{const _0x4a7073=_0x28eb7e;this[_0x4a7073(0x1c2)](_0x47295c,_0x37846b);},_0x1225c1),this['_debounceHandleMap'][_0x28eb7e(0x2d3)](_0x47295c,_0x46a50f)),_0x46a50f(_0x2b0f06);}[_0x46a2a4(0x4f0)](){const _0x2ab696=_0x46a2a4;let _0x1fa398=this[_0x2ab696(0x540)],_0x376c7f=_0x37009c=>{const _0x353eed=_0x2ab696;if(!_0x1fa398['has'](_0x37009c)){let _0x27cc8c=(0x0,_0x4fd9fd[_0x353eed(0x384)])((_0x31d077,_0x3ca19e,_0x149950,_0x5ef090)=>{const _0x36f320=_0x353eed;var _0x213025,_0x215890;if(!_0x149950)return;(_0x213025=_0x149950[_0x36f320(0x280)])==null||_0x213025[_0x36f320(0x39b)][_0x36f320(0x4d4)]((_0x49833d,_0x3d919a)=>{const _0x2b6a3d=_0x36f320;_0x49833d[_0x2b6a3d(0x223)]||=this[_0x2b6a3d(0x303)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x3d919a+0x1);}),_0x149950[_0x36f320(0x4ae)][_0x36f320(0x4d4)]((_0x3a6b8d,_0x4c91ea)=>{const _0x5d3779=_0x36f320;_0x3a6b8d['name']||=this[_0x5d3779(0x303)]['t'](_0x5d3779(0x47c))+'\x20'+(_0x4c91ea+0x1);});let _0x1b7e6f=this[_0x36f320(0x4ca)](_0x31d077,_0x5ef090),_0x9b1d02=(_0x215890=this[_0x36f320(0x2bf)][_0x36f320(0x45c)](_0x4fd9fd[_0x36f320(0x1ee)][_0x36f320(0x483)]))==null?void 0x0:_0x215890['getActiveSheet']();(_0x9b1d02==null?void 0x0:_0x9b1d02['getSheetId']())===_0x3ca19e&&this['render'](_0x31d077['id'],_0x149950,_0x1b7e6f);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x1fa398[_0x353eed(0x2d3)](_0x37009c,_0x27cc8c);}return _0x1fa398[_0x353eed(0x3a8)](_0x37009c);};this['disposeWithMe'](this[_0x2ab696(0x2bf)]['focused$'][_0x2ab696(0x3a1)](_0x566fc7=>{const _0x50878b=_0x2ab696;let _0x34d9d8=this[_0x50878b(0x2bf)][_0x50878b(0x45c)](_0x4fd9fd[_0x50878b(0x1ee)][_0x50878b(0x483)]);if(_0x566fc7&&_0x34d9d8&&_0x34d9d8['getUnitId']()===_0x566fc7){var _0x27de9f;let _0xc96347=_0x34d9d8[_0x50878b(0x321)]()[_0x50878b(0x23c)]();this[_0x50878b(0x1a4)]&&(this[_0x50878b(0x1a4)]['unitId']!==_0x566fc7||this[_0x50878b(0x1a4)][_0x50878b(0x19c)]!==_0xc96347)&&this[_0x50878b(0x43e)](this['_lastActiveSheet'][_0x50878b(0x2d9)],this[_0x50878b(0x1a4)][_0x50878b(0x19c)]),this[_0x50878b(0x1a4)]={'unitId':_0x566fc7,'subUnitId':_0xc96347};let _0x83e568=this[_0x50878b(0x4e5)][_0x50878b(0x34c)](_0x566fc7,_0xc96347);if(!((_0x27de9f=this[_0x50878b(0x52f)][_0x50878b(0x400)](_0x566fc7))!=null&&_0x27de9f['with'](_0x45f13f[_0x50878b(0x575)])['getSkeleton'](_0xc96347)))return;if(_0x83e568)for(let _0x190be6 in _0x83e568){let {drawingId:_0x4b25f2}=_0x83e568[_0x190be6],_0x4385aa=this[_0x50878b(0x26f)]['getChartModel'](_0x4b25f2);_0x4385aa&&_0x376c7f(_0x4385aa['id'])(_0x4385aa,_0xc96347,_0x4385aa[_0x50878b(0x3eb)],this[_0x50878b(0x303)][_0x50878b(0x479)]());}}})),this[_0x2ab696(0x2d1)](this[_0x2ab696(0x3f0)][_0x2ab696(0x2a0)]['subscribe'](()=>{const _0x3c188d=_0x2ab696;var _0x25b6af;let _0x3ca481=this['_univerInstanceService'][_0x3c188d(0x45c)](_0x4fd9fd['UniverInstanceType'][_0x3c188d(0x483)]);if(!_0x3ca481)return;let _0x166b76=_0x3ca481[_0x3c188d(0x232)](),_0x100733=_0x3ca481['getActiveSheet']()[_0x3c188d(0x23c)](),_0x212917=this[_0x3c188d(0x4e5)]['getDrawingData'](_0x166b76,_0x100733);if((_0x25b6af=this[_0x3c188d(0x52f)][_0x3c188d(0x400)](_0x166b76))!=null&&_0x25b6af[_0x3c188d(0x579)](_0x45f13f[_0x3c188d(0x575)])[_0x3c188d(0x194)](_0x100733)&&_0x212917)for(let _0x1e07ae in _0x212917){let {drawingId:_0x3e68d8}=_0x212917[_0x1e07ae],_0x2c796c=this[_0x3c188d(0x26f)][_0x3c188d(0x23b)](_0x3e68d8);_0x2c796c&&_0x376c7f(_0x2c796c['id'])(_0x2c796c,_0x100733,_0x2c796c[_0x3c188d(0x3eb)],this['_localeService'][_0x3c188d(0x479)]());}})),this[_0x2ab696(0x2d1)](this[_0x2ab696(0x4e5)]['add$'][_0x2ab696(0x3a1)](_0x5b3596=>{const _0xce6432=_0x2ab696;_0x5b3596[_0xce6432(0x4d4)](_0x255e44=>{const _0x4e4f31=_0xce6432;var _0x19b56b;let {drawingId:_0x53ffc1,unitId:_0x383da7,subUnitId:_0x1eaad5}=_0x255e44,_0x24e2d3=this[_0x4e4f31(0x52f)][_0x4e4f31(0x400)](_0x383da7);if((_0x24e2d3==null?void 0x0:_0x24e2d3[_0x4e4f31(0x316)])!==_0x4fd9fd['UniverInstanceType'][_0x4e4f31(0x483)]||!_0x24e2d3[_0x4e4f31(0x579)](_0x45f13f['SheetSkeletonManagerService'])['getSkeleton'](_0x1eaad5))return;let {drawingType:_0x1b7add}=this[_0x4e4f31(0x4e5)][_0x4e4f31(0x233)](_0x255e44);if(_0x1b7add!==_0x4fd9fd[_0x4e4f31(0x31d)][_0x4e4f31(0x32f)])return;let _0x5161a5=this[_0x4e4f31(0x474)][_0x4e4f31(0x1a1)](_0x53ffc1);this[_0x4e4f31(0x444)](_0x53ffc1);let _0x1424b2=new _0x4fd9fd[(_0x4e4f31(0x345))]();this['_chartChangeSubscriptions'][_0x4e4f31(0x2d3)](_0x53ffc1,_0x1424b2);let _0xf4a547=(_0x5161a5==null?void 0x0:_0x5161a5['domId'])??_0x53ffc1,_0x3a4f5b=_0x5161a5==null?void 0x0:_0x5161a5['rect'],_0x5e5920=(_0x19b56b=this['_renderManagerService'][_0x4e4f31(0x400)](_0x383da7))==null?void 0x0:_0x19b56b[_0x4e4f31(0x16a)];if(_0x3a4f5b){let _0x2c90ba=new _0x110725(_0x3a4f5b,async _0x596121=>{const _0x2c13b7=_0x4e4f31;var _0xb41ef;let _0x80c57e=this[_0x2c13b7(0x2bf)]['getCurrentUnitOfType'](_0x4fd9fd[_0x2c13b7(0x1ee)][_0x2c13b7(0x483)]);if((_0x80c57e==null?void 0x0:_0x80c57e[_0x2c13b7(0x232)]())===_0x383da7&&((_0xb41ef=_0x80c57e[_0x2c13b7(0x321)]())==null?void 0x0:_0xb41ef['getSheetId']())===_0x1eaad5&&(this[_0x2c13b7(0x213)][_0x2c13b7(0x1f8)](_0x53ffc1),_0x596121)){let {width:_0x121572,height:_0x2dbce8}=_0x3a4f5b;this[_0x2c13b7(0x224)](_0x53ffc1,{'width':_0x121572,'height':_0x2dbce8},0x64);let _0x28824b=this[_0x2c13b7(0x26f)][_0x2c13b7(0x23b)](_0x53ffc1);_0x28824b!=null&&_0x28824b[_0x2c13b7(0x3eb)]&&await this['render'](_0x53ffc1,_0x28824b[_0x2c13b7(0x3eb)],this[_0x2c13b7(0x4ca)](_0x28824b,this['_localeService'][_0x2c13b7(0x479)]()));}});_0x1424b2[_0x4e4f31(0x2d1)](_0x2c90ba),_0x1424b2[_0x4e4f31(0x2d1)](this[_0x4e4f31(0x2bf)][_0x4e4f31(0x39d)]['subscribe'](()=>_0x2c90ba[_0x4e4f31(0x24c)]['cancelPending']())),_0x5e5920&&_0x1424b2[_0x4e4f31(0x2d1)](_0x5e5920['getTransformerByCreate']()[_0x4e4f31(0x53e)]['subscribe'](({objects:_0x3ccc20})=>{const _0x1466cc=_0x4e4f31;if(_0x3ccc20[_0x1466cc(0x2a2)](_0x3a4f5b[_0x1466cc(0x16c)])){var _0x84157f;_0x2c90ba[_0x1466cc(0x24c)][_0x1466cc(0x1bb)](),(_0x84157f=this['_debounceHandleMap'][_0x1466cc(0x3a8)](_0x53ffc1))==null||_0x84157f['cancel'](),this[_0x1466cc(0x1c2)](_0x53ffc1,{'width':_0x3a4f5b[_0x1466cc(0x4bb)],'height':_0x3a4f5b[_0x1466cc(0x263)]});}}));}_0x5e5920&&_0x1424b2[_0x4e4f31(0x2d1)](_0x5e5920[_0x4e4f31(0x416)][_0x4e4f31(0x2c0)](_0x2d5d5f=>{const _0x48b97c=_0x4e4f31;var _0x47e211;_0x2d5d5f[_0x48b97c(0x316)]===_0x249319[_0x48b97c(0x372)][_0x48b97c(0x243)]&&(_0x47e211=document[_0x48b97c(0x1c3)](_0xf4a547))!=null&&_0x47e211[_0x48b97c(0x368)](_0x48b97c(0x3b7))&&this[_0x48b97c(0x213)][_0x48b97c(0x1f8)](_0x53ffc1);}));let _0x3fb5a8=this['_chartModelService'][_0x4e4f31(0x23b)](_0x53ffc1);_0x3fb5a8&&_0x1424b2[_0x4e4f31(0x2d1)]((0x0,_0x32542e[_0x4e4f31(0x23a)])([_0x3fb5a8[_0x4e4f31(0x315)],_0x3fb5a8['style$'],this['_localeService']['direction$']])['subscribe'](([_0x47ebc4,_0x2e9769,_0x22052c])=>{_0x376c7f(_0x3fb5a8['id'])(_0x3fb5a8,_0x1eaad5,_0x47ebc4,_0x22052c);}));});})),this[_0x2ab696(0x2d1)]((0x0,_0x32542e[_0x2ab696(0x23a)])([this[_0x2ab696(0x4e5)]['remove$']])[_0x2ab696(0x3a1)](([_0xb5025c])=>{const _0x3ccf90=_0x2ab696;_0xb5025c[_0x3ccf90(0x4d4)](_0x18e280=>{const _0x401c0f=_0x3ccf90;var _0x565a85;let {drawingId:_0x36157f}=_0x18e280;this[_0x401c0f(0x444)](_0x36157f),((_0x565a85=this[_0x401c0f(0x26f)]['activeChartModel'])==null?void 0x0:_0x565a85['id'])===_0x36157f&&this['_chartModelService'][_0x401c0f(0x180)](null),this[_0x401c0f(0x1d0)](_0x36157f),this[_0x401c0f(0x213)][_0x401c0f(0x4bc)](_0x36157f),this[_0x401c0f(0x189)](_0x36157f),this[_0x401c0f(0x482)](_0x36157f),this[_0x401c0f(0x4ce)][_0x401c0f(0x564)](_0x36157f),this['_notifyChartRemoved'](_0x36157f),this[_0x401c0f(0x35d)][_0x401c0f(0x18f)](_0x36157f),this[_0x401c0f(0x164)][_0x401c0f(0x18f)](_0x36157f);});}));}[_0x46a2a4(0x21c)](_0x283b9e,_0x3c0d19){const _0x2950b1=_0x46a2a4;var _0x33d635;_0x3c0d19?this['_chartElementEditMode'][_0x2950b1(0x2d3)](_0x283b9e,!0x0):this[_0x2950b1(0x164)][_0x2950b1(0x18f)](_0x283b9e),(_0x33d635=this[_0x2950b1(0x549)][_0x2950b1(0x3a8)](_0x283b9e))==null||_0x33d635[_0x2950b1(0x21c)](_0x3c0d19);}async[_0x46a2a4(0x421)](_0x7b109d,_0x3f1d2b){const _0x20fff0=_0x46a2a4;var _0x4ca173;let _0xfd8c87=this[_0x20fff0(0x35d)][_0x20fff0(0x3a8)](_0x7b109d),_0x293a10=(_0x4ca173=this[_0x20fff0(0x474)][_0x20fff0(0x1a1)](_0x7b109d))==null?void 0x0:_0x4ca173[_0x20fff0(0x572)];if(_0xfd8c87&&_0x293a10)return(await this['_renderModelManager'][_0x20fff0(0x421)]({'chartId':_0x7b109d,'config':_0xfd8c87['config'],'style':_0xfd8c87[_0x20fff0(0x20a)],'width':_0x293a10[_0x20fff0(0x4bb)],'height':_0x293a10[_0x20fff0(0x263)]},_0x3f1d2b))['dataUrl'];if((_0x3f1d2b==null?void 0x0:_0x3f1d2b[_0x20fff0(0x367)])===_0x192cef['ChartImageExportFormat'][_0x20fff0(0x558)])return;let _0x13802c=this[_0x20fff0(0x4da)](_0x7b109d);return _0x13802c?(0x0,_0x192cef[_0x20fff0(0x570)])(_0x13802c):void 0x0;}['on'](_0xb5423c,_0x37a250,_0x515c0a){const _0x10ef76=_0x46a2a4;let _0x3d232e=this[_0x10ef76(0x36e)][_0x10ef76(0x3a8)](_0xb5423c);_0x3d232e||(_0x3d232e=new Map(),this[_0x10ef76(0x36e)][_0x10ef76(0x2d3)](_0xb5423c,_0x3d232e));let _0x5d4a1f=_0x3d232e['get'](_0x37a250);_0x5d4a1f||(_0x5d4a1f=new Set(),_0x3d232e[_0x10ef76(0x2d3)](_0x37a250,_0x5d4a1f)),_0x5d4a1f[_0x10ef76(0x3fc)](_0x515c0a);let _0x5cff66=this[_0x10ef76(0x549)][_0x10ef76(0x3a8)](_0xb5423c);return _0x5cff66&&this[_0x10ef76(0x47d)](_0xb5423c,_0x5cff66,_0x37a250,_0x515c0a),{'dispose':()=>{const _0x4a59cc=_0x10ef76;var _0x4abf49;(_0x4abf49=this[_0x4a59cc(0x36e)][_0x4a59cc(0x3a8)](_0xb5423c))==null||(_0x4abf49=_0x4abf49['get'](_0x37a250))==null||_0x4abf49[_0x4a59cc(0x18f)](_0x515c0a),this[_0x4a59cc(0x33e)](_0xb5423c,_0x37a250,_0x515c0a);}};}[_0x46a2a4(0x4da)](_0x4d6def){const _0x2fdba0=_0x46a2a4;let _0x39f6d9=this[_0x2fdba0(0x2bf)][_0x2fdba0(0x45c)](_0x4fd9fd[_0x2fdba0(0x1ee)][_0x2fdba0(0x483)]),_0x596483=_0x39f6d9==null?void 0x0:_0x39f6d9[_0x2fdba0(0x321)](),_0x473916=_0x39f6d9==null?void 0x0:_0x39f6d9['getUnitId'](),_0x12d296=_0x596483==null?void 0x0:_0x596483[_0x2fdba0(0x23c)]();if(_0x473916&&_0x12d296)return this[_0x2fdba0(0x4ce)][_0x2fdba0(0x2ea)]({'unitId':_0x473916,'subUnitId':_0x12d296,'chartId':_0x4d6def});}[_0x46a2a4(0x543)](_0x3d8b19,_0x22b3f5){const _0xe0b665=_0x46a2a4;let _0x843795=this['_chartEventHandlers'][_0xe0b665(0x3a8)](_0x3d8b19);_0x843795&&_0x843795[_0xe0b665(0x4d4)]((_0xe75f3a,_0x16c1e9)=>{const _0x8e8b88=_0xe0b665;_0xe75f3a[_0x8e8b88(0x4d4)](_0x3e916a=>this['_bindChartEventHandler'](_0x3d8b19,_0x22b3f5,_0x16c1e9,_0x3e916a));});}[_0x46a2a4(0x47d)](_0x4f639d,_0x2e5ab,_0x5e6f81,_0x150e37){const _0x878fa0=_0x46a2a4;let _0x3ea85e=this[_0x878fa0(0x43b)][_0x878fa0(0x3a8)](_0x4f639d);_0x3ea85e||(_0x3ea85e=new Map(),this[_0x878fa0(0x43b)]['set'](_0x4f639d,_0x3ea85e));let _0xca9b1b=_0x3ea85e[_0x878fa0(0x3a8)](_0x5e6f81);_0xca9b1b||(_0xca9b1b=new Map(),_0x3ea85e[_0x878fa0(0x2d3)](_0x5e6f81,_0xca9b1b)),!_0xca9b1b['has'](_0x150e37)&&_0xca9b1b[_0x878fa0(0x2d3)](_0x150e37,_0x2e5ab['on'](_0x5e6f81,_0x150e37));}['_disposeChartEventSubscription'](_0x30c5b6,_0x38bcc9,_0x251e5a){const _0x3ff838=_0x46a2a4;var _0x49dab2,_0x4c858a;let _0x6e13b8=(_0x49dab2=this[_0x3ff838(0x43b)]['get'](_0x30c5b6))==null?void 0x0:_0x49dab2[_0x3ff838(0x3a8)](_0x38bcc9);_0x6e13b8==null||(_0x4c858a=_0x6e13b8[_0x3ff838(0x3a8)](_0x251e5a))==null||_0x4c858a['dispose'](),_0x6e13b8==null||_0x6e13b8['delete'](_0x251e5a);}[_0x46a2a4(0x1d0)](_0x44c21f){const _0x33221d=_0x46a2a4;let _0x1e0cd3=this['_chartEventSubscriptions'][_0x33221d(0x3a8)](_0x44c21f);_0x1e0cd3==null||_0x1e0cd3[_0x33221d(0x4d4)](_0x2ccb9a=>{const _0x227412=_0x33221d;_0x2ccb9a['forEach'](_0x1edacc=>_0x1edacc[_0x227412(0x217)]()),_0x2ccb9a[_0x227412(0x264)]();}),this[_0x33221d(0x43b)][_0x33221d(0x18f)](_0x44c21f);}[_0x46a2a4(0x4ca)](_0x7aa189,_0x57a719){const _0x48ee97=_0x46a2a4;return _0x4cab7b(_0x7aa189,_0x57a719,this[_0x48ee97(0x199)]);}[_0x46a2a4(0x4d7)](_0x267e7b){const _0x10b76f=_0x46a2a4;return this[_0x10b76f(0x519)](_0x267e7b)==null;}[_0x46a2a4(0x519)](_0x12322a){const _0x2e05ce=_0x46a2a4;var _0xb95f86;let _0x5e7971=this[_0x2e05ce(0x474)][_0x2e05ce(0x1a1)](_0x12322a);if(!_0x5e7971)return _0x2e05ce(0x4a0);let {subUnitId:_0x4e7674}=_0x5e7971,_0x4d943f=(_0xb95f86=this[_0x2e05ce(0x2bf)][_0x2e05ce(0x45c)](_0x4fd9fd[_0x2e05ce(0x1ee)]['UNIVER_SHEET']))==null?void 0x0:_0xb95f86[_0x2e05ce(0x321)]();if(!_0x4d943f)return _0x2e05ce(0x47b);if(_0x4d943f['getSheetId']()!==_0x4e7674)return _0x2e05ce(0x4e3);}async[_0x46a2a4(0x39e)](_0x36a1ce,_0x10f269,_0x117071,_0x175de5={}){const _0x4bd1cb=_0x46a2a4;let _0x10acd1=this[_0x4bd1cb(0x31f)][_0x4bd1cb(0x2b5)](_0x192cef[_0x4bd1cb(0x293)]);if(!_0x10acd1)return;let _0x554281=this['_lastRenderInputMap']['get'](_0x36a1ce);if(this[_0x4bd1cb(0x35d)][_0x4bd1cb(0x2d3)](_0x36a1ce,{'config':_0x10f269,'style':_0x117071}),this[_0x4bd1cb(0x519)](_0x36a1ce))return;let {canAnimate:_0x3a2220,renderMode:_0x5e16ef,shouldStartTransientAnimation:_0x2aefef,transientAnimationActive:_0x374b1b}=this[_0x4bd1cb(0x4f5)](_0x36a1ce,_0x554281!=null,_0x175de5['animateDataUpdate']===!0x0);if(_0x5e16ef===_0x192cef[_0x4bd1cb(0x1c8)][_0x4bd1cb(0x17c)])this['_disposeChartDomInstance'](_0x36a1ce);else{var _0x1a06a0;this[_0x4bd1cb(0x213)][_0x4bd1cb(0x3ff)](_0x36a1ce),((_0x1a06a0=this[_0x4bd1cb(0x26f)][_0x4bd1cb(0x251)])==null?void 0x0:_0x1a06a0['id'])===_0x36a1ce&&this['_applyActiveChartRuntimeZIndex'](_0x36a1ce);}let _0x4a312a=_0x5e16ef===_0x192cef[_0x4bd1cb(0x1c8)][_0x4bd1cb(0x17c)]?_0x192cef[_0x4bd1cb(0x1c8)][_0x4bd1cb(0x17c)]:_0x192cef[_0x4bd1cb(0x1c8)]['Dom'],_0x4425d6=await this[_0x4bd1cb(0x213)][_0x4bd1cb(0x439)](_0x36a1ce,_0x4a312a);if(!_0x4425d6){_0x2aefef&&this[_0x4bd1cb(0x580)](_0x36a1ce);return;}this[_0x4bd1cb(0x213)][_0x4bd1cb(0x3dd)](_0x36a1ce,_0x374b1b?_0x192cef['CHART_DATA_UPDATE_ANIMATION_DURATION']:null);let _0x9163a2=this[_0x4bd1cb(0x42a)](_0x36a1ce,_0x4a312a,_0x10acd1);_0x9163a2[_0x4bd1cb(0x53f)](_0x4425d6);try{let _0x224ff2={'chartId':_0x36a1ce,'config':_0x10f269,'style':_0x117071};_0x3a2220&&_0x554281&&_0x9163a2[_0x4bd1cb(0x383)]?await _0x9163a2[_0x4bd1cb(0x383)]({'chartId':_0x36a1ce,'config':_0x554281[_0x4bd1cb(0x3eb)],'style':_0x554281['style']},_0x224ff2,{'duration':_0x192cef[_0x4bd1cb(0x4be)]}):await _0x9163a2['render'](_0x224ff2),await this['_cacheActiveDomChartSnapshot'](_0x36a1ce,_0x5e16ef,_0x9163a2),_0x3a2220&&_0x374b1b&&this[_0x4bd1cb(0x471)](_0x36a1ce);}catch(_0x23cfad){if(_0x2aefef&&this[_0x4bd1cb(0x580)](_0x36a1ce),_0x5e16ef!==_0x192cef[_0x4bd1cb(0x1c8)][_0x4bd1cb(0x17c)])throw _0x23cfad;}}async[_0x46a2a4(0x2f4)](_0x234b62,_0x323f94,_0x5a2c3a){const _0x143b51=_0x46a2a4;var _0x30b53f;if(_0x323f94!==_0x192cef['ChartRenderMode'][_0x143b51(0x1db)]||((_0x30b53f=this[_0x143b51(0x26f)][_0x143b51(0x251)])==null?void 0x0:_0x30b53f['id'])!==_0x234b62)return;let _0x295801=await this[_0x143b51(0x213)][_0x143b51(0x439)](_0x234b62,_0x192cef[_0x143b51(0x1c8)][_0x143b51(0x17c)]);if(!_0x295801)return;let _0x21df0a=_0x295801[_0x143b51(0x1bd)]();try{let _0x505476=await _0x5a2c3a['exportImg']();_0x505476&&_0x295801['commitSnapshot']({'type':_0x192cef[_0x143b51(0x4eb)][_0x143b51(0x286)],'url':_0x505476},_0x21df0a)&&_0x295801[_0x143b51(0x405)]();}catch{}}[_0x46a2a4(0x4f5)](_0x4d6701,_0x2d75b3,_0x179203){const _0x49ccc9=_0x46a2a4;let _0x5cb7ca=this[_0x49ccc9(0x328)](_0x4d6701),_0x3c0b1d=_0x5cb7ca===_0x192cef[_0x49ccc9(0x1c8)][_0x49ccc9(0x1db)]&&_0x179203&&_0x2d75b3&&this['_canAnimateDataUpdate'](_0x4d6701),_0xc28fd5=this['_dataUpdateAnimationChartIds'][_0x49ccc9(0x2a2)](_0x4d6701);return{'canAnimate':_0x3c0b1d,'renderMode':_0xc28fd5?_0x192cef['ChartRenderMode'][_0x49ccc9(0x1db)]:_0x5cb7ca,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xc28fd5};}[_0x46a2a4(0x393)](_0x93d992){const _0x5134ce=_0x46a2a4;var _0x2e006d,_0x153423,_0x16ce47,_0x22fc3a;if(typeof document>'u'||typeof window>'u'||document[_0x5134ce(0x1c6)]===_0x5134ce(0x200)||(_0x2e006d=(_0x153423=window)['matchMedia'])!=null&&(_0x2e006d=_0x2e006d['call'](_0x153423,_0x5134ce(0x216)))!=null&&_0x2e006d[_0x5134ce(0x3a2)]||(_0x16ce47=(_0x22fc3a=window)[_0x5134ce(0x295)])!=null&&(_0x16ce47=_0x16ce47[_0x5134ce(0x19a)](_0x22fc3a,_0x5134ce(0x4ba)))!=null&&_0x16ce47[_0x5134ce(0x3a2)])return!0x1;let _0x5a094c=this['_chartHostProvider']['getHostClientRect'](_0x93d992);return _0x5a094c!=null&&_0x5a094c[_0x5134ce(0x4bb)]>0x0&&_0x5a094c['height']>0x0&&_0x5a094c[_0x5134ce(0x1be)]>0x0&&_0x5a094c['bottom']>0x0&&_0x5a094c[_0x5134ce(0x273)]<window[_0x5134ce(0x2cf)]&&_0x5a094c[_0x5134ce(0x51d)]<window[_0x5134ce(0x33a)];}[_0x46a2a4(0x2f5)](_0x56ed2b){const _0x2e2005=_0x46a2a4;let _0x5223b6=this['_dataUpdateAnimationTimers']['get'](_0x56ed2b);_0x5223b6&&(clearTimeout(_0x5223b6),this['_dataUpdateAnimationTimers'][_0x2e2005(0x18f)](_0x56ed2b)),this[_0x2e2005(0x3e6)][_0x2e2005(0x3fc)](_0x56ed2b),this[_0x2e2005(0x213)][_0x2e2005(0x3dd)](_0x56ed2b,_0x192cef['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0x46a2a4(0x471)](_0x16c46e){const _0x52ee78=_0x46a2a4;let _0x2d0ab0=this[_0x52ee78(0x235)][_0x52ee78(0x3a8)](_0x16c46e);_0x2d0ab0&&clearTimeout(_0x2d0ab0);let _0x5c9503=setTimeout(()=>{const _0x526e7c=_0x52ee78;this[_0x526e7c(0x235)]['delete'](_0x16c46e),this[_0x526e7c(0x3e6)]['delete'](_0x16c46e)&&(this[_0x526e7c(0x213)][_0x526e7c(0x3dd)](_0x16c46e,null),this['_disposeChartDomInstance'](_0x16c46e),this[_0x526e7c(0x16e)](_0x16c46e));},_0x192cef[_0x52ee78(0x4be)]);this[_0x52ee78(0x235)][_0x52ee78(0x2d3)](_0x16c46e,_0x5c9503);}[_0x46a2a4(0x580)](_0x2020dc){const _0x27b453=_0x46a2a4;let _0x109785=this[_0x27b453(0x235)][_0x27b453(0x3a8)](_0x2020dc);_0x109785&&(clearTimeout(_0x109785),this[_0x27b453(0x235)][_0x27b453(0x18f)](_0x2020dc)),this['_dataUpdateAnimationChartIds']['delete'](_0x2020dc),this[_0x27b453(0x213)][_0x27b453(0x3dd)](_0x2020dc,null);}async[_0x46a2a4(0x301)](_0x21c5be,_0x553141,_0xcda538){const _0xb37546=_0x46a2a4;let _0x382fb5=this[_0xb37546(0x4e5)][_0xb37546(0x34c)](_0x21c5be,_0x553141),_0x1a959d=this['_drawingManagerService'][_0xb37546(0x51c)](_0x21c5be,_0x553141),_0x3124eb=Object[_0xb37546(0x27b)](_0x382fb5??{})['filter'](_0x382fbd=>_0x382fbd[_0xb37546(0x422)]===_0x4fd9fd['DrawingTypeEnum'][_0xb37546(0x32f)]&&_0x382fbd[_0xb37546(0x200)]!==!0x0);await Promise['allSettled'](_0x3124eb[_0xb37546(0x3b2)](async _0x281bfe=>{const _0x46d622=_0xb37546;let _0x4bbfbf=await this['_createPrintingChartObject'](_0x281bfe,_0x1a959d);_0x4bbfbf&&(_0xcda538[_0x46d622(0x214)](_0x4bbfbf,_0x249319['DRAWING_OBJECT_LAYER_INDEX']),_0x281bfe[_0x46d622(0x3b3)]&&(0x0,_0x3b9a6f[_0x46d622(0x4d3)])({'drawingId':_0x281bfe[_0x46d622(0x3b3)],'unitId':_0x21c5be,'subUnitId':_0x553141},_0x4bbfbf,_0xcda538,this['_drawingManagerService']));}));}async[_0x46a2a4(0x38b)](_0x4cdee3,_0x2745d4){const _0xf3922e=_0x46a2a4;let _0x21cdc5=this[_0xf3922e(0x26f)][_0xf3922e(0x23b)](_0x4cdee3[_0xf3922e(0x23d)]),_0x14d63a=this['_renderModelManager'][_0xf3922e(0x2b5)](_0x192cef[_0xf3922e(0x293)]),_0x16c428=_0x4cdee3['transform'],_0x3b0c33=_0x21cdc5==null?void 0x0:_0x21cdc5[_0xf3922e(0x3eb)];if(!_0x21cdc5||!_0x14d63a||!_0x16c428||!_0x3b0c33||_0x16c428['width']==null||_0x16c428[_0xf3922e(0x263)]==null)return null;let _0x3164ae=new _0x5a0b05(_0x4cdee3['drawingId'],{'width':_0x16c428[_0xf3922e(0x4bb)],'height':_0x16c428[_0xf3922e(0x263)]}),_0x3f0fe5=_0x14d63a[_0xf3922e(0x4a9)](_0x192cef[_0xf3922e(0x1c8)][_0xf3922e(0x17c)],this[_0xf3922e(0x4d2)]());_0x3f0fe5[_0xf3922e(0x53f)](_0x3164ae);let _0x123dfc;try{await _0x3f0fe5['render']({'chartId':_0x4cdee3['drawingId'],'config':_0x3b0c33,'style':this[_0xf3922e(0x4ca)](_0x21cdc5,this[_0xf3922e(0x303)]['getDirection']())});}catch(_0x4a9f4d){console['error'](_0xf3922e(0x462),_0x4a9f4d);}finally{_0x123dfc=_0x3164ae['takeSnapshot'](),_0x3f0fe5[_0xf3922e(0x217)](),_0x3164ae[_0xf3922e(0x217)]();}let _0x3ec896=this[_0xf3922e(0x4ce)]['getImage']({'unitId':_0x4cdee3[_0xf3922e(0x2d9)],'subUnitId':_0x4cdee3[_0xf3922e(0x19c)],'chartId':_0x4cdee3[_0xf3922e(0x23d)]}),_0xc37481=_0x123dfc??_0x3ec896;if(!_0xc37481)return null;let _0x25523d=_0x2745d4['indexOf'](_0x4cdee3['drawingId']);return new _0x12fbe7((0x0,_0x46891f[_0xf3922e(0x47e)])(_0x4cdee3),{..._0x16c428,..._0xd7d9e[_0xf3922e(0x488)],..._0xe71ef7(_0x3164ae['style']),'visible':!0x0,'zIndex':_0x25523d===-0x1?Math[_0xf3922e(0x183)](_0x2745d4['length']-0x1,0x0):_0x25523d},()=>_0xc37481,void 0x0,_0x123dfc?()=>_0x150db9(_0x123dfc):void 0x0);}[_0x46a2a4(0x42a)](_0x597277,_0x4e04fb,_0x37f337){const _0x2a99c0=_0x46a2a4;let _0x2368c0=this['_chartInstanceMap'][_0x2a99c0(0x3a8)](_0x597277);if((_0x2368c0==null?void 0x0:_0x2368c0[_0x2a99c0(0x285)])===_0x4e04fb)return _0x2368c0;_0x2368c0&&(this[_0x2a99c0(0x1d0)](_0x597277),_0x2368c0['dispose'](),this['_chartInstanceMap'][_0x2a99c0(0x18f)](_0x597277));let _0x2ed88=_0x37f337[_0x2a99c0(0x4a9)](_0x4e04fb,this[_0x2a99c0(0x4d2)]());return this[_0x2a99c0(0x549)][_0x2a99c0(0x2d3)](_0x597277,_0x2ed88),_0x2ed88[_0x2a99c0(0x21c)](this[_0x2a99c0(0x164)][_0x2a99c0(0x3a8)](_0x597277)===!0x0),this[_0x2a99c0(0x543)](_0x597277,_0x2ed88),_0x2ed88;}[_0x46a2a4(0x4d2)](){const _0x417a7d=_0x46a2a4;return{'resolveHostStyle':({style:_0x4cf16b})=>(0x0,_0x192cef[_0x417a7d(0x50f)])({'style':_0x4cf16b,'getRenderColor':_0x15ebee=>this[_0x417a7d(0x2eb)][_0x417a7d(0x1a2)](_0x15ebee)}),'resolveRenderBackgroundColor':({style:_0x23cfea})=>this[_0x417a7d(0x2eb)]['getRenderColor']((0x0,_0x192cef[_0x417a7d(0x27c)])(_0x23cfea))};}[_0x46a2a4(0x444)](_0x40f08a){const _0xc6f4d7=_0x46a2a4;var _0x4e3239,_0x2b2950,_0x3efac7;(_0x4e3239=this[_0xc6f4d7(0x2ad)]['get'](_0x40f08a))==null||_0x4e3239[_0xc6f4d7(0x217)](),this[_0xc6f4d7(0x2ad)][_0xc6f4d7(0x18f)](_0x40f08a),(_0x2b2950=this['_renderDebounceMap']['get'](_0x40f08a))==null||_0x2b2950[_0xc6f4d7(0x1e0)](),this['_renderDebounceMap']['delete'](_0x40f08a),(_0x3efac7=this[_0xc6f4d7(0x571)][_0xc6f4d7(0x3a8)](_0x40f08a))==null||_0x3efac7[_0xc6f4d7(0x1e0)](),this[_0xc6f4d7(0x571)][_0xc6f4d7(0x18f)](_0x40f08a);}['_cancelDebouncedCallbacks'](){const _0x479084=_0x46a2a4;this['_renderDebounceMap'][_0x479084(0x4d4)](_0x1eb7fc=>_0x1eb7fc[_0x479084(0x1e0)]()),this[_0x479084(0x540)]['clear'](),this[_0x479084(0x571)][_0x479084(0x4d4)](_0x569ecf=>_0x569ecf[_0x479084(0x1e0)]()),this[_0x479084(0x571)][_0x479084(0x264)]();}[_0x46a2a4(0x217)](){const _0x28be07=_0x46a2a4;this[_0x28be07(0x2ad)][_0x28be07(0x4d4)](_0x302a9f=>_0x302a9f[_0x28be07(0x217)]()),this['_chartChangeSubscriptions'][_0x28be07(0x264)](),this[_0x28be07(0x235)][_0x28be07(0x4d4)](_0x16cd9f=>clearTimeout(_0x16cd9f)),this[_0x28be07(0x235)][_0x28be07(0x264)](),this[_0x28be07(0x3e6)][_0x28be07(0x264)](),Array[_0x28be07(0x3d8)](this['_chartInstanceMap']['keys']())[_0x28be07(0x4d4)](_0x224ed6=>this[_0x28be07(0x482)](_0x224ed6)),this[_0x28be07(0x36e)]['clear'](),this['_chartElementEditMode'][_0x28be07(0x264)](),this[_0x28be07(0x546)](),this[_0x28be07(0x35d)][_0x28be07(0x264)](),this['_activeChartId']=null,this['_lastActiveSheet']=null,super[_0x28be07(0x217)]();}};_0x2df583=_0x43fe6e([_0x3fa4ac(0x0,_0x3ead35),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xd7d9e[_0x46a2a4(0x4dc)])),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4ae357[_0x46a2a4(0x335)])),_0x3fa4ac(0x3,_0x46891f[_0x46a2a4(0x239)]),_0x3fa4ac(0x4,_0x4fd9fd['IUniverInstanceService']),_0x3fa4ac(0x5,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x249319[_0x46a2a4(0x38d)])),_0x3fa4ac(0x6,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd[_0x46a2a4(0x281)])),_0x3fa4ac(0x7,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd[_0x46a2a4(0x2db)])),_0x3fa4ac(0x8,(0x0,_0x4fd9fd['Inject'])(_0x192cef[_0x46a2a4(0x56f)])),_0x3fa4ac(0x9,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd[_0x46a2a4(0x486)])),_0x3fa4ac(0xa,_0x4fd9fd[_0x46a2a4(0x330)]),_0x3fa4ac(0xb,(0x0,_0x4fd9fd['Inject'])(_0x7a2e4d)),_0x3fa4ac(0xc,_0x192cef[_0x46a2a4(0x267)])],_0x2df583);let _0x5edd90=(0x0,_0x4fd9fd[_0x46a2a4(0x457)])(_0x46a2a4(0x20b)),_0x432a3b=class extends _0x2890e0[_0x46a2a4(0x396)]{constructor(_0x4503ba,_0x2f7a00,_0x5e22c0,_0x48aaaf,_0x63639a){const _0x49f54c=_0x46a2a4;super(_0x63639a),this[_0x49f54c(0x26f)]=_0x4503ba,this[_0x49f54c(0x337)]=_0x2f7a00,this[_0x49f54c(0x1dc)]=_0x5e22c0,this[_0x49f54c(0x2bf)]=_0x48aaaf,_0x1f0d28(this,_0x49f54c(0x252),!0x1),_0x1f0d28(this,_0x49f54c(0x4a2),new _0x32542e['BehaviorSubject'](!0x1)),_0x1f0d28(this,'_panelRoute$',new _0x32542e[(_0x49f54c(0x1fe))](null)),_0x1f0d28(this,_0x49f54c(0x26e),this['_chartEditorOpen$'][_0x49f54c(0x188)]()),_0x1f0d28(this,_0x49f54c(0x40b),this[_0x49f54c(0x25d)]['asObservable']());}get[_0x46a2a4(0x22a)](){const _0x10c5f1=_0x46a2a4;return this[_0x10c5f1(0x26f)][_0x10c5f1(0x251)]??null;}get[_0x46a2a4(0x4d8)](){const _0x293e7c=_0x46a2a4;return this[_0x293e7c(0x4a2)]['getValue']();}get[_0x46a2a4(0x4ea)](){const _0x1c0442=_0x46a2a4;return this[_0x1c0442(0x252)];}[_0x46a2a4(0x32a)](_0x49a245){this['_rangeSelectMode']=_0x49a245;}['setChartEditorOpen'](_0x38b9c8){const _0x416b82=_0x46a2a4;this[_0x416b82(0x4a2)]['getValue']()!==_0x38b9c8&&this['_chartEditorOpen$'][_0x416b82(0x551)](_0x38b9c8);}[_0x46a2a4(0x3c0)](_0x41626d){const _0x3fa1b8=_0x46a2a4;var _0x342f4b;return this['chartEditorOpen']&&((_0x342f4b=this[_0x3fa1b8(0x26f)]['activeChartModel'])==null?void 0x0:_0x342f4b['id'])===_0x41626d;}[_0x46a2a4(0x268)](_0x4ce922,_0x1500b5){const _0x47a33f=_0x46a2a4;this['_panelRoute$'][_0x47a33f(0x551)]({'chartId':_0x4ce922,'route':_0x1500b5});}[_0x46a2a4(0x2b7)](){const _0x2fb7dc=_0x46a2a4;this[_0x2fb7dc(0x25d)][_0x2fb7dc(0x551)](null);}[_0x46a2a4(0x409)](_0x106dd1){const _0x21bedd=_0x46a2a4;let _0x86d8d7=this['_chartModelService'][_0x21bedd(0x251)];_0x86d8d7&&this[_0x21bedd(0x507)]({'chartModelId':_0x86d8d7['id'],'range':_0x106dd1});}['setOrientation'](_0x321b28){const _0x45a49a=_0x46a2a4;let _0x58b15c=this[_0x45a49a(0x26f)][_0x45a49a(0x251)];if(!_0x58b15c)return;let _0x43a209=this[_0x45a49a(0x337)]['getChartSourceSpec'](_0x58b15c['id']);if(!_0x43a209||Array[_0x45a49a(0x470)](_0x43a209))return;let _0x20c7a9={..._0x43a209,'isRowDirection':_0x321b28===_0x192cef['DataOrientation'][_0x45a49a(0x17f)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x58b15c['id'],'range':_0x20c7a9});}[_0x46a2a4(0x2fe)](_0x57b477){const _0x2deea1=_0x46a2a4;var _0x5147d1;this['_commandService'][_0x2deea1(0x477)](_0x4ae357[_0x2deea1(0x458)]['id'],{..._0x57b477,'unitId':((_0x5147d1=this[_0x2deea1(0x2bf)]['getFocusedUnit']())==null?void 0x0:_0x5147d1[_0x2deea1(0x232)]())??''});}[_0x46a2a4(0x507)](_0x3fbd65){const _0x1f74b2=_0x46a2a4;var _0x5540a8;this['_commandService'][_0x1f74b2(0x477)](_0x4ae357[_0x1f74b2(0x412)]['id'],{..._0x3fbd65,'unitId':((_0x5540a8=this[_0x1f74b2(0x2bf)][_0x1f74b2(0x30f)]())==null?void 0x0:_0x5540a8[_0x1f74b2(0x232)]())??''});}[_0x46a2a4(0x217)](){const _0x4b499b=_0x46a2a4;this[_0x4b499b(0x4a2)]['complete'](),this[_0x4b499b(0x25d)]['complete'](),super['dispose']();}};_0x432a3b=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd['Inject'])(_0x4ae357[_0x46a2a4(0x335)])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd['Inject'])(_0x4ae357[_0x46a2a4(0x28c)])),_0x3fa4ac(0x2,_0x4fd9fd['ICommandService']),_0x3fa4ac(0x3,_0x4fd9fd[_0x46a2a4(0x351)]),_0x3fa4ac(0x4,(0x0,_0x4fd9fd['Inject'])(_0x2890e0[_0x46a2a4(0x30a)]))],_0x432a3b);var _0xa2f5d1;let _0x16d02e={'axis':{..._0x2890e0[_0x46a2a4(0x50a)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x2890e0[_0x46a2a4(0x304)],'heatmap':_0x2890e0['DEFAULT_CHART_HEATMAP_VALUES'],'indicatorLine':_0x2890e0[_0x46a2a4(0x37b)],'legend':_0x2890e0[_0x46a2a4(0x37f)],'lineAndArea':_0x2890e0[_0x46a2a4(0x250)],'pareto':_0x2890e0[_0x46a2a4(0x18a)],'pie':_0x2890e0['DEFAULT_CHART_PIE_VALUES'],'relation':{..._0x2890e0[_0x46a2a4(0x54f)],'useValueAsSymbolSize':!0x0},'radar':_0x2890e0[_0x46a2a4(0x450)],'series':{..._0x2890e0['DEFAULT_CHART_SERIES_VALUES'],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0xa2f5d1=_0x192cef[_0x46a2a4(0x28e)]['allSeriesStyle'])==null?void 0x0:_0xa2f5d1[_0x46a2a4(0x1af)])??!0x1}},'style':_0x2890e0['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x2890e0['DEFAULT_CHART_TITLE_VALUES'],'trendline':_0x2890e0[_0x46a2a4(0x24d)],'waterfallStyle':_0x2890e0[_0x46a2a4(0x2f6)],'wordCloud':_0x2890e0[_0x46a2a4(0x2c4)]},_0x416624=_0x423c99=>_0x423c99[_0x46a2a4(0x45c)](_0x4fd9fd[_0x46a2a4(0x1ee)]['UNIVER_SHEET'])['getUnitId'](),_0x285a7c=_0x37f806=>{const _0x4a1739=_0x46a2a4;var _0x53e2b7;return(_0x53e2b7=_0x37f806[_0x4a1739(0x45c)](_0x4fd9fd[_0x4a1739(0x1ee)]['UNIVER_SHEET'])[_0x4a1739(0x321)]())==null?void 0x0:_0x53e2b7[_0x4a1739(0x23c)]();},_0x54fb5e=()=>{const _0x3d5a1c=_0x46a2a4;var _0x1009ba;let _0x5c8c01=(0x0,_0xdda337[_0x3d5a1c(0x26d)])(_0x5edd90),_0x4e854a=(0x0,_0xdda337[_0x3d5a1c(0x26d)])(_0x4ae357[_0x3d5a1c(0x335)]),_0x4bbeb4=(0x0,_0xdda337[_0x3d5a1c(0x26d)])(_0x4fd9fd['LocaleService']),_0x26047c=(0x0,_0xdda337[_0x3d5a1c(0x26d)])(_0x4fd9fd['Injector']),_0x385a5c=(0x0,_0x4ae357['getAllowedChartTypes'])(_0x26047c),_0x19f87f=(0x0,_0x144ae0['useMemo'])(()=>{const _0x46e441=_0x3d5a1c;let _0x2cc505=_0x19fb75(_0x22b65a[_0x46e441(0x338)](),_0x385a5c);return(0x0,_0x2890e0[_0x46e441(0x1ac)])(_0x2cc505[_0x46e441(0x3b2)](_0x246967=>({'id':_0x246967['id'],'label':_0x4bbeb4['t'](_0x46e441(0x537)+_0x246967['labelId']),'pieSecondaryPlotType':_0x246967[_0x46e441(0x45e)],'value':_0x246967['value']})));},[_0x385a5c,_0x4bbeb4]),_0x3a6762=(0x0,_0xdda337[_0x3d5a1c(0x365)])(_0x4e854a[_0x3d5a1c(0x41e)],_0x4e854a[_0x3d5a1c(0x251)]),_0x54ef16=(0x0,_0xdda337[_0x3d5a1c(0x365)])(_0x3a6762==null?void 0x0:_0x3a6762[_0x3d5a1c(0x42f)],_0x3a6762==null?void 0x0:_0x3a6762[_0x3d5a1c(0x296)]),_0x5b6b99=(0x0,_0xdda337[_0x3d5a1c(0x365)])(_0x3a6762==null?void 0x0:_0x3a6762['dataSource$'],_0x3a6762==null?void 0x0:_0x3a6762[_0x3d5a1c(0x27f)]),_0x475313=(0x0,_0xdda337[_0x3d5a1c(0x365)])(_0x5b6b99==null?void 0x0:_0x5b6b99[_0x3d5a1c(0x1c9)],_0x5b6b99==null?void 0x0:_0x5b6b99['getRangeInfo']()),_0x22c7f6=Array[_0x3d5a1c(0x470)](_0x475313),_0x11c0e5=_0x475313&&!_0x22c7f6&&_0x475313[_0x3d5a1c(0x205)]?_0x192cef[_0x3d5a1c(0x437)][_0x3d5a1c(0x17f)]:_0x192cef['DataOrientation']['Column'],_0x4fd6bd=_0x22c7f6?(_0x1009ba=_0x475313[0x0])==null?void 0x0:_0x1009ba[_0x3d5a1c(0x4c3)]:_0x475313==null?void 0x0:_0x475313['rangeInfo'];return(0x0,_0x18d12e[_0x3d5a1c(0x32c)])(_0x3d5a1c(0x283),{'className':_0x3d5a1c(0x3c8),'children':[(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x3d5a1c(0x556)],{'chartTypeOptions':_0x19f87f,'dataSourceControl':(0x0,_0x18d12e[_0x3d5a1c(0x498)])(_0x367423,{'dataRange':_0x475313,'primaryRange':_0x4fd6bd}),'categoryToggleLabel':_0x4bbeb4['t'](_0x3d5a1c(0x190),_0x11c0e5===_0x192cef[_0x3d5a1c(0x437)][_0x3d5a1c(0x17f)]?_0x11c0e5+'\x20'+(((_0x4fd6bd==null?void 0x0:_0x4fd6bd['range'][_0x3d5a1c(0x163)])??0x0)+0x1):_0x11c0e5+'\x20'+(0x0,_0x4fd9fd['numberToABC'])((_0x4fd6bd==null?void 0x0:_0x4fd6bd['range']['startColumn'])??0x0)),'orientationControl':_0x22c7f6?void 0x0:(0x0,_0x18d12e[_0x3d5a1c(0x498)])(_0x4627c3['Button'],{'size':'small','onClick':()=>_0x5c8c01[_0x3d5a1c(0x2f1)](_0x11c0e5===_0x192cef[_0x3d5a1c(0x437)][_0x3d5a1c(0x17f)]?_0x192cef[_0x3d5a1c(0x437)][_0x3d5a1c(0x207)]:_0x192cef[_0x3d5a1c(0x437)][_0x3d5a1c(0x17f)]),'children':_0x4bbeb4['t'](_0x3d5a1c(0x428))})}),(0x0,_0x18d12e[_0x3d5a1c(0x498)])(_0x4627c3[_0x3d5a1c(0x310)],{'checked':(_0x54ef16==null?void 0x0:_0x54ef16[_0x3d5a1c(0x178)])===!0x1,'disabled':!_0x3a6762,'onChange':_0x223cec=>{const _0x1211a8=_0x3d5a1c;_0x3a6762&&_0x5c8c01[_0x1211a8(0x2fe)]({'chartModelId':_0x3a6762['id'],'context':{'plotVisibleOnly':!_0x223cec}});},'children':_0x4bbeb4['t'](_0x3d5a1c(0x341))})]});};function _0x367423(_0x2f3118){const _0x5abcfe=_0x46a2a4;let {dataRange:_0xf46902,primaryRange:_0x154bb7}=_0x2f3118,_0x2b201f=(0x0,_0xdda337[_0x5abcfe(0x26d)])(_0x5edd90),_0x349a62=(0x0,_0xdda337[_0x5abcfe(0x26d)])(_0x4fd9fd['LocaleService']),_0x12db6a=(0x0,_0xdda337['useDependency'])(_0x4fd9fd[_0x5abcfe(0x351)]),_0x44b31b=(0x0,_0xdda337[_0x5abcfe(0x26d)])(_0x4fd9fd['IContextService']),[_0x558f2f,_0x27d703]=(0x0,_0x144ae0[_0x5abcfe(0x4d9)])(!0x1),[_0x5aa452,_0x3fc561]=(0x0,_0x144ae0[_0x5abcfe(0x4d9)])(!0x1),[_0x5288ed,_0x32d256]=(0x0,_0x144ae0[_0x5abcfe(0x4d9)])(),_0x2c6690=_0x416624(_0x12db6a),_0x2bd089=_0x285a7c(_0x12db6a),_0x18786b=_0xf46902?_0x405656(_0xf46902,_0x12db6a):'',_0x45cd35=(0x0,_0x144ae0[_0x5abcfe(0x3ca)])(_0x18786b),_0x274875=(0x0,_0x144ae0[_0x5abcfe(0x3ca)])(void 0x0),_0x1b2e31=(0x0,_0x144ae0[_0x5abcfe(0x3ca)])(null);(0x0,_0x144ae0['useEffect'])(()=>{const _0x16b6d8=_0x5abcfe;_0x2b201f[_0x16b6d8(0x32a)](_0x558f2f),_0x44b31b[_0x16b6d8(0x56e)](_0x4fd9fd['FOCUSING_PANEL_EDITOR'],_0x558f2f);},[_0x44b31b,_0x558f2f,_0x2b201f]),(0x0,_0x144ae0[_0x5abcfe(0x331)])(()=>()=>{const _0x3d7dbf=_0x5abcfe;_0x2b201f[_0x3d7dbf(0x32a)](!0x1),_0x44b31b[_0x3d7dbf(0x56e)](_0x4fd9fd[_0x3d7dbf(0x520)],!0x1);},[_0x44b31b,_0x2b201f]);let _0x1be48f=(0x0,_0x144ae0[_0x5abcfe(0x512)])(_0x132ba9=>{const _0x3ade3d=_0x5abcfe;var _0x217187;if(_0x405656(_0xf46902,_0x12db6a)===_0x132ba9)return _0x32d256(void 0x0),!0x0;let _0x2f9b10=_0x132ba9[_0x3ade3d(0x53a)](_0x300836[_0x3ade3d(0x497)][_0x3ade3d(0x2ed)]);if(!_0x132ba9['trim']()||_0x2f9b10['length']!==0x1||!((_0x217187=_0x1b2e31[_0x3ade3d(0x434)])!=null&&_0x217187[_0x3ade3d(0x270)]()))return _0x32d256(_0x349a62['t'](_0x3ade3d(0x36f))),!0x1;let {unitId:_0x561e20,sheetName:_0x5a9155,range:_0x270b50}=(0x0,_0x300836[_0x3ade3d(0x298)])(_0x2f9b10[0x0]),_0x2814c7=_0x561e20||_0x2c6690,_0x318a0f=_0x12db6a['getUnit'](_0x2814c7),_0x30d23f=(_0x154bb7==null?void 0x0:_0x154bb7['unitId'])===_0x2814c7?_0x154bb7[_0x3ade3d(0x19c)]:_0x2bd089,_0x4f3694=_0x5a9155?_0x318a0f==null?void 0x0:_0x318a0f[_0x3ade3d(0x358)](_0x5a9155):_0x318a0f==null?void 0x0:_0x318a0f[_0x3ade3d(0x3bb)](_0x30d23f??'');return!_0x318a0f||!_0x4f3694||!(0x0,_0x4fd9fd['isValidRange'])(_0x270b50,_0x4f3694)?(_0x32d256(_0x349a62['t'](_0x3ade3d(0x36f))),!0x1):(_0x32d256(void 0x0),_0x2b201f['setDataRange']({'rangeInfo':{'range':_0x270b50,'unitId':_0x2814c7,'subUnitId':_0x4f3694['getSheetId']()}}),!0x0);},[_0xf46902,_0x349a62,_0x154bb7,_0x2b201f,_0x2bd089,_0x2c6690,_0x12db6a]),_0x12d590=(0x0,_0x144ae0['useMemo'])(()=>({'keyCodes':[{'keyCode':_0xdda337[_0x5abcfe(0x1bf)]['ENTER'],'nativeTextEditorBehavior':_0xdda337['NativeTextEditorShortcutBehavior'][_0x5abcfe(0x2a7)]}],'handler':_0x5c6ab6=>{const _0x62b886=_0x5abcfe;_0x5c6ab6===_0xdda337[_0x62b886(0x1bf)][_0x62b886(0x238)]&&_0x1be48f(_0x45cd35[_0x62b886(0x434)])&&(_0x274875[_0x62b886(0x434)]=_0x45cd35[_0x62b886(0x434)]);}}),[_0x1be48f]);return(0x0,_0x18d12e[_0x5abcfe(0x498)])(_0x5abcfe(0x283),{'className':_0x5abcfe(0x241),'children':(0x0,_0x18d12e[_0x5abcfe(0x32c)])(_0x5abcfe(0x283),{'children':[(0x0,_0x18d12e[_0x5abcfe(0x498)])(_0x2890e0[_0x5abcfe(0x55f)],{'title':_0x349a62['t'](_0x5abcfe(0x2e9))}),(0x0,_0x18d12e['jsx'])(_0x33cd7d['RangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x2c6690,'subUnitId':_0x2bd089,'initialValue':_0x18786b,'keyboardEventConfig':_0x12d590,'selectorRef':_0x1b2e31,'onChange':(_0x1e8ead,_0x33c736)=>{const _0x5c6f9c=_0x5abcfe;_0x45cd35[_0x5c6f9c(0x434)]=_0x33c736,_0x5aa452&&_0x274875[_0x5c6f9c(0x434)]!==_0x33c736&&_0x1be48f(_0x33c736)&&(_0x274875[_0x5c6f9c(0x434)]=_0x33c736);},'onFocusChange':(_0x2219f5,_0x5a9f96)=>{const _0x170a16=_0x5abcfe;if(_0x5a9f96!==void 0x0&&(_0x45cd35['current']=_0x5a9f96),_0x5aa452||_0x27d703(_0x2219f5),_0x2219f5)_0x274875['current']=_0x45cd35[_0x170a16(0x434)];else{let _0x383324=_0x274875[_0x170a16(0x434)];_0x274875[_0x170a16(0x434)]=void 0x0,_0x383324!==void 0x0&&_0x45cd35[_0x170a16(0x434)]!==_0x383324&&_0x1be48f(_0x45cd35[_0x170a16(0x434)]);}},'onRangeSelectorDialogVisibleChange':_0x372736=>{_0x3fc561(_0x372736),_0x27d703(_0x372736);}}),_0x5288ed?(0x0,_0x18d12e[_0x5abcfe(0x498)])(_0x5abcfe(0x283),{'className':_0x5abcfe(0x2cb),'children':_0x5288ed}):null]})});}function _0x1cf9e4(_0x5d2174){const _0x31d96a=_0x46a2a4;return(0x0,_0x18d12e['jsxs'])(_0x2890e0[_0x31d96a(0x57e)],{'id':_0x5d2174['id'],'children':[(0x0,_0x18d12e[_0x31d96a(0x498)])(_0x2890e0['ChartSectionAccordionTrigger'],{'children':_0x5d2174[_0x31d96a(0x223)]}),(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x31d96a(0x3cd)],{'children':_0x5d2174[_0x31d96a(0x1ad)]})]});}let _0x9d200=_0x413dff=>{const _0x5eef91=_0x46a2a4;let _0x1f3596=(0x0,_0xdda337[_0x5eef91(0x26d)])(_0x4fd9fd['LocaleService']),_0x41110e=(0x0,_0xdda337['useDependency'])(_0x5edd90),_0xf7111f=(0x0,_0xdda337['useDependency'])(_0x4ae357[_0x5eef91(0x335)]),_0x464db9=(0x0,_0xdda337['useObservable'])(_0xf7111f[_0x5eef91(0x41e)],_0xf7111f[_0x5eef91(0x251)]),_0x4c43dc=(0x0,_0xdda337[_0x5eef91(0x365)])(_0x41110e[_0x5eef91(0x40b)],null),_0x4ab3bd=_0x4c43dc&&_0x4c43dc['chartId']===(_0x464db9==null?void 0x0:_0x464db9['id'])?_0x4c43dc[_0x5eef91(0x1f5)]:null,_0x2adf58=(0x0,_0x2890e0['useChartEditorChartType'])(),_0x4c2941=(0x0,_0x2890e0['useChartEditorHasRightAxis'])(),[_0xa77c60,_0x533e36]=(0x0,_0x144ae0['useState'])(null);(0x0,_0x144ae0[_0x5eef91(0x331)])(()=>{const _0x4552fa=_0x5eef91;_0x4ab3bd!=null&&_0x4ab3bd[_0x4552fa(0x1d5)]&&_0x533e36(_0x4ab3bd[_0x4552fa(0x1d5)]);},[_0x4ab3bd]);let _0x361bce=_0x192cef[_0x5eef91(0x379)]['baseOn'](_0x2adf58,_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x473)]),_0x34ff99=_0x2adf58===_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x2af)],_0x39fd3c=_0x2adf58===_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x3d1)],_0xaedc43=_0x2adf58===_0x192cef[_0x5eef91(0x557)]['Funnel'],_0x453283=_0x192cef[_0x5eef91(0x379)][_0x5eef91(0x1fa)](_0x2adf58,_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x17e)]),_0x112fbc=_0x2adf58===_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x521)],_0xd12f5e=_0x2adf58===_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x49e)],_0x36287e=_0x2adf58===_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x4cd)],_0x414160=_0x2adf58===_0x192cef[_0x5eef91(0x557)][_0x5eef91(0x4f1)],_0x2fb7a9,_0x154aed;switch(_0x2adf58){case _0x192cef[_0x5eef91(0x557)][_0x5eef91(0x530)]:_0x2fb7a9=_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x530)],_0x154aed=_0x1f3596['t'](_0x5eef91(0x369));break;case _0x192cef[_0x5eef91(0x557)][_0x5eef91(0x527)]:_0x2fb7a9=_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x527)],_0x154aed=_0x1f3596['t'](_0x5eef91(0x48d));break;case _0x192cef[_0x5eef91(0x557)][_0x5eef91(0x348)]:_0x2fb7a9=_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x348)],_0x154aed=_0x1f3596['t'](_0x5eef91(0x435));break;case _0x192cef[_0x5eef91(0x557)][_0x5eef91(0x3cf)]:_0x2fb7a9=_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x3cf)],_0x154aed=_0x1f3596['t'](_0x5eef91(0x3fa));break;case _0x192cef[_0x5eef91(0x557)][_0x5eef91(0x574)]:_0x2fb7a9=_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x574)],_0x154aed=_0x1f3596['t']('sheets-chart-ui.section.gauge');break;case _0x192cef[_0x5eef91(0x557)]['Chord']:_0x2fb7a9=_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x50b)],_0x154aed=_0x1f3596['t'](_0x5eef91(0x312));}let _0x468572=(0x0,_0x2890e0[_0x5eef91(0x562)])(_0x2adf58,_0x2890e0['ChartEditorCapability'][_0x5eef91(0x195)])&&!_0x453283&&!_0x36287e;return(0x0,_0x18d12e[_0x5eef91(0x32c)])(_0x2890e0[_0x5eef91(0x4c2)],{'value':_0xa77c60,'onChange':_0x533e36,'children':[(0x0,_0x18d12e['jsx'])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x362)],'label':_0x1f3596['t'](_0x5eef91(0x563)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0['ChartStyleSection'],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x20a)]})}),(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x4b8)],'label':_0x1f3596['t'](_0x5eef91(0x3ee)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x4a7)],{'commitMode':_0x5eef91(0x34f),'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x4e8)],'selectedTitleKey':_0x4ab3bd==null?void 0x0:_0x4ab3bd[_0x5eef91(0x1f0)]})}),(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x578)],{'section':_0x5eef91(0x2b3)}),_0x468572&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x404)],'label':_0x1f3596['t'](_0x5eef91(0x3e5)),'children':(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x43f)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x4ae)],'NumberFormatField':_0x2890e0['ChartNumberFormatAtom'],'selectedSeriesId':_0x4ab3bd==null?void 0x0:_0x4ab3bd['seriesId']})}),_0xd12f5e&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x4f9)],'label':_0x1f3596['t'](_0x5eef91(0x1e4)),'children':(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x332)],{'defaultValues':_0x413dff['defaultValues'][_0x5eef91(0x21f)],'getDefaultBucketName':({seriesName:_0x2a8c93,target:_0x1350d2})=>_0x1350d2===_0x192cef['ChartWaterfallStyleTarget'][_0x5eef91(0x539)]?_0x1f3596['t'](_0x5eef91(0x377)):_0x2a8c93?_0x2a8c93+'-('+_0x1f3596['t'](_0x1350d2===_0x192cef[_0x5eef91(0x3b4)]['Positive']?'sheets-chart-ui.waterfall.positive':_0x5eef91(0x4fa))+')':'','NumberFormatField':_0x2890e0['ChartNumberFormatAtom'],'selectedSeriesId':_0x4ab3bd==null?void 0x0:_0x4ab3bd[_0x5eef91(0x544)]})}),_0x36287e&&(0x0,_0x18d12e[_0x5eef91(0x32c)])(_0x18d12e[_0x5eef91(0x260)],{'children':[(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x4fe)],'label':_0x1f3596['t'](_0x5eef91(0x3cc)),'children':(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x307)],{'defaultValues':_0x413dff['defaultValues'][_0x5eef91(0x515)],'NumberFormatField':_0x2890e0['ChartNumberFormatAtom'],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x2c3)],'label':_0x1f3596['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x307)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x515)],'NumberFormatField':_0x2890e0['ChartNumberFormatAtom'],'showDataPointEditor':!0x1,'target':_0x5eef91(0x51f)})})]}),_0x361bce&&(0x0,_0x18d12e['jsx'])(_0x1cf9e4,{'id':_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x23f)],'label':_0x1f3596['t'](_0x5eef91(0x21b)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x33c)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x420)],'NumberFormatField':_0x2890e0['ChartNumberFormatAtom']})}),_0x39fd3c&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x3d1)],'label':_0x1f3596['t']('sheets-chart-ui.section.wordCloud'),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x57d)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x4a4)]})}),_0x34ff99&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x2af)],'label':_0x1f3596['t'](_0x5eef91(0x567)),'children':(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x255)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x2d7)]})}),_0xaedc43&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)]['Funnel'],'label':_0x1f3596['t']('sheets-chart-ui.section.funnel'),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x2ac)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x374)],'gapControl':'select'})}),_0x414160&&(0x0,_0x18d12e['jsx'])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x4f1)],'label':_0x1f3596['t'](_0x5eef91(0x406)),'children':(0x0,_0x18d12e['jsx'])(_0x2890e0['ChartHeatmapStyleSection'],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x44b)]})}),_0x112fbc&&(0x0,_0x18d12e['jsx'])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x521)],'label':_0x1f3596['t']('sheets-chart-ui.section.relation'),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0['ChartRelationStyleSection'],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x1ed)]})}),(0x0,_0x2890e0[_0x5eef91(0x361)])(_0x2adf58)&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x305)],'label':_0x1f3596['t'](_0x192cef[_0x5eef91(0x379)][_0x5eef91(0x1fa)](_0x2adf58,_0x192cef[_0x5eef91(0x557)]['Area'])?_0x5eef91(0x247):_0x5eef91(0x204)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x487)],{'defaultValues':_0x413dff['defaultValues']['lineAndArea'],'lineStyleControl':_0x5eef91(0x3fd)})}),(0x0,_0x2890e0[_0x5eef91(0x562)])(_0x2adf58,_0x2890e0[_0x5eef91(0x360)][_0x5eef91(0x54b)])&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x54b)],'label':_0x1f3596['t'](_0x5eef91(0x343)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x2e2)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)]['legend']})}),(0x0,_0x2890e0[_0x5eef91(0x562)])(_0x2adf58,_0x2890e0[_0x5eef91(0x360)][_0x5eef91(0x49a)])&&(0x0,_0x18d12e[_0x5eef91(0x32c)])(_0x18d12e[_0x5eef91(0x260)],{'children':[(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x376)],'label':_0x1f3596['t'](_0x5eef91(0x3e4)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x4f7)],{'axis':'x','defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x1d1)],'NumberFormatField':_0x2890e0[_0x5eef91(0x1b3)]})}),(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x1c5)],'label':_0x1f3596['t'](_0x5eef91(0x2cd)),'children':(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x4f7)],{'axis':'y','defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x1d1)],'NumberFormatField':_0x2890e0[_0x5eef91(0x1b3)]})}),(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0['ChartThreeDSection'],{'section':_0x5eef91(0x322)}),_0x4c2941&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x545)],'label':_0x1f3596['t'](_0x5eef91(0x33f)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x4f7)],{'axis':_0x5eef91(0x1b6),'defaultValues':_0x413dff['defaultValues']['axis'],'NumberFormatField':_0x2890e0[_0x5eef91(0x1b3)]})}),(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x355)],'label':_0x1f3596['t'](_0x5eef91(0x472)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x50d)],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x1d1)]})})]}),(0x0,_0x2890e0[_0x5eef91(0x562)])(_0x2adf58,_0x2890e0[_0x5eef91(0x360)][_0x5eef91(0x1ae)])&&(0x0,_0x18d12e['jsx'])(_0x1cf9e4,{'id':_0x2890e0[_0x5eef91(0x40a)][_0x5eef91(0x1ae)],'label':_0x1f3596['t'](_0x5eef91(0x172)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0['ChartIndicatorLineSection'],{'defaultValues':_0x413dff[_0x5eef91(0x43c)][_0x5eef91(0x1d8)]})}),(0x0,_0x192cef['chartTypeCanUseTrendLine'])(_0x2adf58)&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2890e0['ChartEditPanelSection'][_0x5eef91(0x29e)],'label':_0x1f3596['t'](_0x5eef91(0x334)),'children':(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x2890e0[_0x5eef91(0x431)],{'defaultValues':_0x413dff['defaultValues'][_0x5eef91(0x446)]})}),_0x2fb7a9&&_0x154aed&&(0x0,_0x18d12e[_0x5eef91(0x498)])(_0x1cf9e4,{'id':_0x2fb7a9,'label':_0x154aed,'children':(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5eef91(0x2b1)],{})})]});};function _0x1e5c4d(_0x550890){const _0x10f8fe=_0x46a2a4;let {className:_0x250bd7}=_0x550890,[_0x3fbc6a,_0x44dff4]=(0x0,_0x144ae0[_0x10f8fe(0x4d9)])(_0x2890e0[_0x10f8fe(0x39f)]['Data']),_0x1eb111=(0x0,_0xdda337[_0x10f8fe(0x26d)])(_0x4fd9fd[_0x10f8fe(0x2db)]),_0x46f52d=(0x0,_0xdda337[_0x10f8fe(0x26d)])(_0x4fd9fd[_0x10f8fe(0x281)]),_0x325b1c=(0x0,_0xdda337[_0x10f8fe(0x26d)])(_0x5edd90),_0x35575f=(0x0,_0xdda337[_0x10f8fe(0x26d)])(_0x4ae357[_0x10f8fe(0x335)]),_0x4e47c0=(0x0,_0xdda337[_0x10f8fe(0x26d)])(_0x4ae357['SheetsChartService']),_0x4c60c9=(0x0,_0xdda337[_0x10f8fe(0x365)])(_0x35575f[_0x10f8fe(0x41e)],_0x35575f[_0x10f8fe(0x251)]),_0x7c5c5a=(0x0,_0xdda337[_0x10f8fe(0x365)])(_0x325b1c[_0x10f8fe(0x40b)],null),_0x5bdfed=(0x0,_0x144ae0[_0x10f8fe(0x33b)])(()=>{const _0x9d6d93=_0x10f8fe;var _0x212080;if(!_0x4c60c9)return null;let _0x5f2fc3=_0x4e47c0[_0x9d6d93(0x389)](_0x4c60c9['id']);if(!_0x5f2fc3)return null;let _0x2d86e4=Array['isArray'](_0x5f2fc3)?(_0x212080=_0x5f2fc3[0x0])==null?void 0x0:_0x212080[_0x9d6d93(0x4c3)]:_0x5f2fc3[_0x9d6d93(0x25a)];return _0x2d86e4?new _0x2890e0[(_0x9d6d93(0x3a3))](_0x4c60c9,new _0x4ae357[(_0x9d6d93(0x4c7))]({'unitId':_0x2d86e4['unitId'],'subUnitId':_0x2d86e4[_0x9d6d93(0x19c)],'chartId':_0x4c60c9['id'],'injector':_0x1eb111})):null;},[_0x4c60c9,_0x1eb111,_0x4e47c0]);if((0x0,_0x144ae0[_0x10f8fe(0x331)])(()=>{const _0x1da6eb=_0x10f8fe;var _0x2d0205,_0x14e41e;_0x4c60c9&&(_0x7c5c5a==null?void 0x0:_0x7c5c5a[_0x1da6eb(0x576)])===_0x4c60c9['id']&&(((_0x2d0205=_0x7c5c5a[_0x1da6eb(0x1f5)])==null?void 0x0:_0x2d0205[_0x1da6eb(0x44e)])===_0x2890e0['ChartEditPanelTab']['Style']&&_0x44dff4(_0x2890e0['ChartEditPanelTab']['Style']),((_0x14e41e=_0x7c5c5a[_0x1da6eb(0x1f5)])==null?void 0x0:_0x14e41e[_0x1da6eb(0x44e)])===_0x2890e0[_0x1da6eb(0x39f)][_0x1da6eb(0x40d)]&&_0x44dff4(_0x2890e0[_0x1da6eb(0x39f)]['Data']));},[_0x4c60c9,_0x7c5c5a]),!_0x5bdfed)return null;let _0x122ab9=(0x0,_0x18d12e[_0x10f8fe(0x498)])(_0x10f8fe(0x283),{'className':_0x10f8fe(0x4ec)+(_0x3fbc6a===_0x2890e0[_0x10f8fe(0x39f)]['Style']?_0x10f8fe(0x245):'univer-overflow-hidden')+_0x10f8fe(0x36d)+(_0x250bd7??'')+_0x10f8fe(0x510),'children':(0x0,_0x18d12e[_0x10f8fe(0x498)])(_0x2890e0[_0x10f8fe(0x256)],{'ariaLabel':_0x46f52d['t'](_0x10f8fe(0x2ae)),'activeTab':_0x3fbc6a,'onTabChange':_0x44dff4,'tabListClassName':_0x10f8fe(0x429),'panelClassName':_0x3fbc6a===_0x2890e0[_0x10f8fe(0x39f)][_0x10f8fe(0x381)]?_0x10f8fe(0x514):void 0x0,'tabs':[{'id':_0x2890e0[_0x10f8fe(0x39f)][_0x10f8fe(0x40d)],'panelId':_0x211459,'title':_0x46f52d['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x18d12e['jsx'])(_0x54fb5e,{})},{'id':_0x2890e0[_0x10f8fe(0x39f)]['Style'],'panelId':_0x487375,'title':_0x46f52d['t'](_0x10f8fe(0x3e9)),'content':(0x0,_0x18d12e[_0x10f8fe(0x498)])(_0x9d200,{'defaultValues':_0x16d02e})}]})});return(0x0,_0x18d12e[_0x10f8fe(0x498)])(_0x2890e0[_0x10f8fe(0x4db)],{'chartUIService':_0x325b1c,'hostAdapter':_0x5bdfed,'children':_0x122ab9});}let _0x5b8dde=_0x46a2a4(0x248),_0x211459='sheet-chart-setup-panel',_0x487375='sheet-chart-style-panel';function _0x1c996a(_0x49db43){const _0x215be2=_0x46a2a4;return _0x49db43[_0x215be2(0x3f8)]===0x1&&_0x592adc(_0x49db43[0x0]);}function _0x592adc(_0x49403a){const _0x321a92=_0x46a2a4;return(_0x49403a==null?void 0x0:_0x49403a['drawingType'])===_0x4fd9fd[_0x321a92(0x31d)][_0x321a92(0x32f)]&&!_0x49403a['groupId'];}let _0x5d14e9=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x4e1f79,_0x2f9c8f,_0x426f47,_0xbff4a6,_0xf361e6,_0x1374d5,_0x11a57d,_0x1d452d,_0x5bd73a,_0x49137a,_0x3d268d,_0x51a2b0,_0x9ebd74,_0x121ab0,_0x30a30f){const _0x4830aa=_0x46a2a4;var _0x1da4fb;super(),this['_drawingManagerService']=_0x4e1f79,this[_0x4830aa(0x2bf)]=_0x2f9c8f,this[_0x4830aa(0x26f)]=_0x426f47,this['_sheetsChartService']=_0xbff4a6,this[_0x4830aa(0x4d5)]=_0xf361e6,this[_0x4830aa(0x22b)]=_0x1374d5,this[_0x4830aa(0x237)]=_0x11a57d,this[_0x4830aa(0x3c2)]=_0x1d452d,this[_0x4830aa(0x474)]=_0x5bd73a,this[_0x4830aa(0x3fb)]=_0x49137a,this['_commandService']=_0x3d268d,this[_0x4830aa(0x364)]=_0x51a2b0,this[_0x4830aa(0x2e0)]=_0x9ebd74,this[_0x4830aa(0x303)]=_0x121ab0,_0x1f0d28(this,_0x4830aa(0x2bd),null),_0x1f0d28(this,_0x4830aa(0x220),void 0x0),this[_0x4830aa(0x220)]=((_0x1da4fb=_0x30a30f['getConfig'](_0x4830aa(0x398)))==null?void 0x0:_0x1da4fb[_0x4830aa(0x3b9)])===!0x0,this['_initMenus'](),this[_0x4830aa(0x2d1)](this[_0x4830aa(0x2bf)][_0x4830aa(0x28b)](_0x4fd9fd[_0x4830aa(0x1ee)]['UNIVER_SHEET'])[_0x4830aa(0x3a1)](_0xc3768a=>{const _0x21f8b0=_0x4830aa;var _0x45ffc8;_0xc3768a||(_0x45ffc8=this[_0x21f8b0(0x2bd)])==null||_0x45ffc8[_0x21f8b0(0x217)]();})),this[_0x4830aa(0x2d1)]((0x0,_0x4fd9fd['toDisposable'])(this['_sheetDrawingHitTestService']['onDoubleClick$'][_0x4830aa(0x3a1)](async({drawing:_0x433403})=>{const _0x1bca9f=_0x4830aa;await this[_0x1bca9f(0x41a)](_0x433403);})));}[_0x46a2a4(0x1e2)](){const _0x5dabb3=_0x46a2a4;this[_0x5dabb3(0x2bd)]=this[_0x5dabb3(0x237)]['open']({'id':_0x5b8dde,'header':{'title':this[_0x5dabb3(0x303)]['t'](_0x5dabb3(0x2ae))},'width':0x154,'children':{'label':_0x5b8dde},'onClose':()=>{const _0x9999f7=_0x5dabb3;this[_0x9999f7(0x2bd)]=null,this[_0x9999f7(0x47f)](),this[_0x9999f7(0x26f)][_0x9999f7(0x251)]&&this[_0x9999f7(0x26f)]['setActiveChartModel'](null),this['_drawingManagerService'][_0x9999f7(0x433)](null),this['_contextService'][_0x9999f7(0x56e)](_0x4fd9fd[_0x9999f7(0x1a6)],!0x1);}});}[_0x46a2a4(0x289)](){const _0x1a70f5=_0x46a2a4;let _0x148de3=this[_0x1a70f5(0x2bd)];this[_0x1a70f5(0x2bd)]=null,this[_0x1a70f5(0x47f)](),this[_0x1a70f5(0x26f)]['activeChartModel']&&this[_0x1a70f5(0x26f)][_0x1a70f5(0x180)](null),_0x148de3==null||_0x148de3[_0x1a70f5(0x217)]();}[_0x46a2a4(0x57c)](){const _0xe7b6a2=_0x46a2a4;let _0x2c533f=this['_univerInstanceService'][_0xe7b6a2(0x45c)](_0x4fd9fd[_0xe7b6a2(0x1ee)][_0xe7b6a2(0x483)]);this[_0xe7b6a2(0x2d1)](this[_0xe7b6a2(0x237)][_0xe7b6a2(0x34b)][_0xe7b6a2(0x3a1)](_0x3f1e42=>{const _0x56b34a=_0xe7b6a2;_0x3f1e42['id']===_0x56b34a(0x248)&&(_0x3f1e42[_0x56b34a(0x496)]||this['_sidebarService'][_0x56b34a(0x34b)][_0x56b34a(0x551)]({'visible':!0x1}));})),this[_0xe7b6a2(0x2d1)]((0x0,_0x32542e['combineLatest'])([this['_chartModelService'][_0xe7b6a2(0x41e)],this[_0xe7b6a2(0x364)][_0xe7b6a2(0x26e)]])[_0xe7b6a2(0x254)]((0x0,_0x32542e[_0xe7b6a2(0x3b2)])(([_0x485052,_0x5af4d0])=>_0x5af4d0?(_0x485052==null?void 0x0:_0x485052['id'])??null:null),(0x0,_0x32542e[_0xe7b6a2(0x3b5)])(),(0x0,_0x32542e[_0xe7b6a2(0x1a3)])(null),(0x0,_0x32542e[_0xe7b6a2(0x1b4)])())['subscribe'](([_0x317124,_0x6d806b])=>{const _0x4d35be=_0xe7b6a2;this[_0x4d35be(0x529)](_0x317124,_0x6d806b);})),this[_0xe7b6a2(0x2d1)](this['_chartModelService'][_0xe7b6a2(0x41e)][_0xe7b6a2(0x3a1)](_0x1387a3=>{const _0x1700ce=_0xe7b6a2;!_0x1387a3&&this[_0x1700ce(0x2bd)]&&this[_0x1700ce(0x289)]();})),this[_0xe7b6a2(0x2d1)](this[_0xe7b6a2(0x1dc)]['onCommandExecuted'](_0x174dfd=>{const _0x2b16ef=_0xe7b6a2;if(_0x174dfd['id']===_0x30424f['id']){let _0x4c2a74=_0x174dfd[_0x2b16ef(0x2f7)];if(!_0x592adc(this[_0x2b16ef(0x4e5)]['getDrawingByParam']({'unitId':_0x4c2a74[_0x2b16ef(0x2d9)],'subUnitId':_0x4c2a74['subUnitId'],'drawingId':_0x4c2a74[_0x2b16ef(0x23d)]})))return;this[_0x2b16ef(0x392)](_0x4c2a74[_0x2b16ef(0x23d)],_0x4c2a74[_0x2b16ef(0x1f5)]);}if(_0x174dfd['id']===_0x29aced['id']&&this[_0x2b16ef(0x289)](),_0x174dfd['id']===_0x4ae357['RemoveSheetsChartMutation']['id']){var _0x4b5c8b;_0x174dfd[_0x2b16ef(0x2f7)][_0x2b16ef(0x576)]===((_0x4b5c8b=this[_0x2b16ef(0x26f)][_0x2b16ef(0x251)])==null?void 0x0:_0x4b5c8b['id'])&&this['hidePanel'](),this[_0x2b16ef(0x2e0)]['getContextValue'](_0x4fd9fd[_0x2b16ef(0x1a6)])&&(this[_0x2b16ef(0x2e0)][_0x2b16ef(0x56e)](_0x4fd9fd['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x2b16ef(0x4e5)]['focusDrawing'](null));}})),this[_0xe7b6a2(0x2d1)](this[_0xe7b6a2(0x474)]['remove$'][_0xe7b6a2(0x3a1)](({id:_0x81f588})=>{const _0x1a4bef=_0xe7b6a2;this[_0x1a4bef(0x364)][_0x1a4bef(0x3c0)](_0x81f588)&&this[_0x1a4bef(0x289)]();})),this[_0xe7b6a2(0x2d1)](this[_0xe7b6a2(0x474)][_0xe7b6a2(0x2a6)]['subscribe'](({id:_0x430428})=>{const _0x482fd9=_0xe7b6a2;this[_0x482fd9(0x364)]['isElementEditModeActive'](_0x430428)&&(this[_0x482fd9(0x364)]['clearPanelRoute'](),this['_chartRenderService'][_0x482fd9(0x21c)](_0x430428,!0x1),this['_shouldEnableChartElementEdit'](_0x430428)&&this[_0x482fd9(0x4d5)][_0x482fd9(0x21c)](_0x430428,!0x0));})),this[_0xe7b6a2(0x2d1)](this[_0xe7b6a2(0x4e5)]['focus$'][_0xe7b6a2(0x3a1)](_0xff832=>{const _0x590289=_0xe7b6a2;let _0x446e47=_0xff832[0x0];if(!this[_0x590289(0x364)][_0x590289(0x4ea)]){if(_0x1c996a(_0xff832)){var _0x1d4b55;let _0x438b9e=this[_0x590289(0x26f)][_0x590289(0x23b)](_0x446e47[_0x590289(0x23d)]);_0x438b9e&&this[_0x590289(0x287)](_0x438b9e['id'])&&((_0x1d4b55=this['_chartModelService'][_0x590289(0x251)])==null?void 0x0:_0x1d4b55['id'])!==_0x438b9e['id']&&this[_0x590289(0x26f)][_0x590289(0x180)](_0x438b9e);}else this['_chartModelService'][_0x590289(0x251)]&&this[_0x590289(0x26f)]['setActiveChartModel'](null),!_0x446e47&&!this[_0x590289(0x364)][_0x590289(0x4ea)]&&this[_0x590289(0x289)]();}})),_0x2c533f&&(this[_0xe7b6a2(0x2d1)](_0x2c533f[_0xe7b6a2(0x313)][_0xe7b6a2(0x3a1)](()=>{this['hidePanel']();})),this[_0xe7b6a2(0x2d1)](_0x2c533f[_0xe7b6a2(0x1ca)][_0xe7b6a2(0x3a1)](()=>{this['hidePanel']();})));}async['_handleDrawingDoubleClick'](_0xf16d34){const _0x23b234=_0x46a2a4;this[_0x23b234(0x364)][_0x23b234(0x4d8)]||_0x592adc(_0xf16d34)&&this[_0x23b234(0x287)](_0xf16d34[_0x23b234(0x23d)])&&await this[_0x23b234(0x42c)](_0xf16d34['unitId'],_0xf16d34[_0x23b234(0x19c)],_0xf16d34[_0x23b234(0x23d)]);}async[_0x46a2a4(0x42c)](_0x245b78,_0x5f4c41,_0x65c3f6){const _0x5cfca4=_0x46a2a4;this[_0x5cfca4(0x26f)][_0x5cfca4(0x23b)](_0x65c3f6)&&this[_0x5cfca4(0x287)](_0x65c3f6)&&await this[_0x5cfca4(0x1dc)][_0x5cfca4(0x477)](_0x30424f['id'],{'unitId':_0x245b78,'subUnitId':_0x5f4c41,'drawingId':_0x65c3f6});}['openChartPanelById'](_0x211881,_0x20eee2){const _0x6225ce=_0x46a2a4;let _0x16832a=this[_0x6225ce(0x26f)][_0x6225ce(0x23b)](_0x211881);_0x16832a&&this['_isOwnedChart'](_0x211881)&&(this[_0x6225ce(0x26f)][_0x6225ce(0x180)](_0x16832a),this[_0x6225ce(0x1e2)](),this[_0x6225ce(0x31a)](_0x211881,_0x20eee2??null));}[_0x46a2a4(0x31a)](_0x4e1475,_0x29bdb2){const _0x28ab81=_0x46a2a4;this[_0x28ab81(0x364)][_0x28ab81(0x3ad)](!0x0),this[_0x28ab81(0x364)][_0x28ab81(0x268)](_0x4e1475,_0x29bdb2);}[_0x46a2a4(0x47f)](){const _0x37204e=_0x46a2a4;this[_0x37204e(0x364)][_0x37204e(0x3ad)](!0x1);}[_0x46a2a4(0x529)](_0x1f8508,_0x5634ab){const _0x24289c=_0x46a2a4;_0x1f8508!==_0x5634ab&&(_0x1f8508&&this[_0x24289c(0x4d5)]['setElementEditMode'](_0x1f8508,!0x1),this[_0x24289c(0x364)][_0x24289c(0x2b7)](),_0x5634ab&&(this[_0x24289c(0x364)]['setPanelRoute'](_0x5634ab,null),this[_0x24289c(0x4d5)][_0x24289c(0x21c)](_0x5634ab,this[_0x24289c(0x340)](_0x5634ab))));}[_0x46a2a4(0x40e)](){const _0xa3c6b9=_0x46a2a4;this[_0xa3c6b9(0x3c2)][_0xa3c6b9(0x522)](_0x2c12b8),this[_0xa3c6b9(0x3fb)][_0xa3c6b9(0x274)](_0x4fd9fd[_0xa3c6b9(0x31d)][_0xa3c6b9(0x32f)],this['getChartPopupMenus'][_0xa3c6b9(0x53f)](this));}['_shouldEnableChartElementEdit'](_0x2f4fed){const _0x5578e3=_0x46a2a4;let _0x501eef=this[_0x5578e3(0x26f)]['getChartModel'](_0x2f4fed);return!this[_0x5578e3(0x220)]||!_0x501eef||!this['_isOwnedChart'](_0x2f4fed)?!0x1:_0x5cd7bc(_0x501eef[_0x5578e3(0x4af)]);}['getChartPopupMenus'](_0x10dc19,_0x40df6d,_0xdeda4f,_0x200fcc){const _0x4606b7=_0x46a2a4;if(!this[_0x4606b7(0x26f)]['getChartModel'](_0xdeda4f))return[];let _0x29c1e2=[{'label':this[_0x4606b7(0x303)]['t'](_0x4606b7(0x25f)),'index':0x0,'commandId':_0x30424f['id'],'commandParams':{'unitId':_0x10dc19,'subUnitId':_0x40df6d,'drawingId':_0xdeda4f},'disable':_0x200fcc!==_0x4fd9fd[_0x4606b7(0x31d)][_0x4606b7(0x32f)]}];return this[_0x4606b7(0x287)](_0xdeda4f)?[..._0x29c1e2,{'label':this[_0x4606b7(0x303)]['t'](_0x4606b7(0x46b)),'index':0x1,'commandId':_0x73a89a[_0x4606b7(0x533)]['id'],'commandParams':{'unitId':_0x10dc19,'drawings':[{'unitId':_0x10dc19,'subUnitId':_0x40df6d,'drawingId':_0xdeda4f,'drawingType':_0x200fcc}]},'disable':!0x1},{'label':this[_0x4606b7(0x303)]['t'](_0x4606b7(0x3db)),'index':0x2,'commandId':_0x29aced['id'],'commandParams':{'unitId':_0x10dc19,'subUnitId':_0x40df6d,'drawingId':_0xdeda4f},'disable':!0x1}]:_0x29c1e2;}[_0x46a2a4(0x287)](_0x1dbeb4){const _0x33e8f7=_0x46a2a4;return this[_0x33e8f7(0x337)]['getChartSourceSpec'](_0x1dbeb4)!==void 0x0;}};_0x5d14e9=_0x43fe6e([_0x3fa4ac(0x0,_0x46891f[_0x46a2a4(0x239)]),_0x3fa4ac(0x1,_0x4fd9fd['IUniverInstanceService']),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4ae357['ChartModelService'])),_0x3fa4ac(0x3,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4ae357[_0x46a2a4(0x28c)])),_0x3fa4ac(0x4,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x2df583)),_0x3fa4ac(0x5,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xd7d9e[_0x46a2a4(0x55e)])),_0x3fa4ac(0x6,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xdda337[_0x46a2a4(0x272)])),_0x3fa4ac(0x7,_0xdda337[_0x46a2a4(0x550)]),_0x3fa4ac(0x8,(0x0,_0x4fd9fd['Inject'])(_0xd7d9e[_0x46a2a4(0x4dc)])),_0x3fa4ac(0x9,(0x0,_0x4fd9fd['Inject'])(_0x45f13f[_0x46a2a4(0x518)])),_0x3fa4ac(0xa,_0x4fd9fd[_0x46a2a4(0x4c6)]),_0x3fa4ac(0xb,_0x5edd90),_0x3fa4ac(0xc,_0x4fd9fd[_0x46a2a4(0x2c5)]),_0x3fa4ac(0xd,(0x0,_0x4fd9fd['Inject'])(_0x4fd9fd[_0x46a2a4(0x281)])),_0x3fa4ac(0xe,_0x4fd9fd[_0x46a2a4(0x330)])],_0x5d14e9);var _0xa09490=_0x46a2a4(0x352),_0x3eac06='1.2.0';let _0x88383=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x47975f,_0xc94808){const _0x193caa=_0x46a2a4;super(),this['_chartHostProviderService']=_0x47975f,this[_0x193caa(0x26f)]=_0xc94808,this[_0x193caa(0x37d)]();}[_0x46a2a4(0x37d)](){const _0x1fa488=_0x46a2a4;this[_0x1fa488(0x2d1)](this[_0x1fa488(0x3f7)]['removeHost$'][_0x1fa488(0x3a1)](_0x18b93f=>{const _0x1172a5=_0x1fa488;this['_chartModelService'][_0x1172a5(0x1a7)](_0x18b93f);}));}};_0x88383=_0x43fe6e([_0x3fa4ac(0x0,_0x3ead35),_0x3fa4ac(0x1,(0x0,_0x4fd9fd['Inject'])(_0x4ae357['ChartModelService']))],_0x88383);let _0x175aea=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x245396,_0x28953f,_0x66d686,_0x4e519d,_0x5b55a2,_0x33caf0){const _0x31a341=_0x46a2a4;super(),this['_chartModelService']=_0x245396,this['_chartRenderService']=_0x28953f,this[_0x31a341(0x303)]=_0x66d686,this['_chartUIService']=_0x4e519d,this[_0x31a341(0x1dc)]=_0x5b55a2,this[_0x31a341(0x2ab)]=_0x33caf0,_0x1f0d28(this,_0x31a341(0x559),new Map()),_0x1f0d28(this,_0x31a341(0x363),new Set()),this['_init'](),this['_listenChartUpdateMutations'](),this[_0x31a341(0x291)]();}[_0x46a2a4(0x291)](){const _0x3ba01d=_0x46a2a4;this['disposeWithMe'](this[_0x3ba01d(0x2ab)][_0x3ba01d(0x2ce)][_0x3ba01d(0x56b)](this[_0x3ba01d(0x2ab)][_0x3ba01d(0x2ce)][_0x3ba01d(0x346)]()[_0x3ba01d(0x1d4)],{'handler':(_0x1aa485,_0x361e19,_0x546123)=>{const _0x11edbd=_0x3ba01d;let _0x4b8887=this[_0x11edbd(0x4d5)][_0x11edbd(0x301)](_0x361e19[_0x11edbd(0x2d9)],_0x361e19[_0x11edbd(0x19c)],_0x361e19['scene']);return _0x361e19[_0x11edbd(0x173)][_0x11edbd(0x3fc)](_0x4b8887),_0x546123(_0x1aa485);}}));}[_0x46a2a4(0x37d)](){const _0x305a7b=_0x46a2a4;this['disposeWithMe'](this[_0x305a7b(0x26f)][_0x305a7b(0x4df)][_0x305a7b(0x3a1)](_0x107aa6=>{const _0x5a439c=_0x305a7b;if(_0x107aa6){let _0x7403b8=new _0x4fd9fd[(_0x5a439c(0x191))]();_0x7403b8['add'](_0x107aa6[_0x5a439c(0x1fd)]['pipe']((0x0,_0x32542e[_0x5a439c(0x45f)])(_0x475192=>_0x475192[_0x5a439c(0x55a)][_0x5a439c(0x254)]((0x0,_0x32542e[_0x5a439c(0x3f3)])(0x1))))[_0x5a439c(0x3a1)](()=>{this['_pendingDataUpdateChartIds']['add'](_0x107aa6['id']);})),_0x7403b8[_0x5a439c(0x3fc)](_0x107aa6[_0x5a439c(0x315)][_0x5a439c(0x254)]((0x0,_0x32542e[_0x5a439c(0x1ef)])(_0x107aa6['style$']),(0x0,_0x32542e[_0x5a439c(0x1ef)])(this[_0x5a439c(0x303)]['direction$']),(0x0,_0x32542e[_0x5a439c(0x244)])(0x64))[_0x5a439c(0x3a1)](([[_0x31df5d,_0xcdb267],_0x2e4a98])=>{const _0x281de0=_0x5a439c;var _0x556b53;if(!_0x31df5d)return;(_0x556b53=_0x31df5d['category'])==null||_0x556b53['items'][_0x281de0(0x4d4)]((_0x13200b,_0x3422fa)=>{const _0x20cdd2=_0x281de0;_0x13200b['label']||=this[_0x20cdd2(0x303)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x3422fa+0x1);}),_0x31df5d['series'][_0x281de0(0x4d4)]((_0x5d427a,_0x25c869)=>{const _0x27b2f9=_0x281de0;_0x5d427a[_0x27b2f9(0x196)]||=this['_localeService']['t'](_0x27b2f9(0x47c))+'\x20'+(_0x25c869+0x1);});let _0x270a76=this[_0x281de0(0x4d5)][_0x281de0(0x4ca)](_0x107aa6,_0x2e4a98),_0x129ffd=this[_0x281de0(0x363)][_0x281de0(0x18f)](_0x107aa6['id']);this[_0x281de0(0x4d5)][_0x281de0(0x39e)](_0x107aa6['id'],_0x31df5d,_0x270a76,{'animateDataUpdate':_0x129ffd});})),_0x107aa6[_0x5a439c(0x1e9)](()=>{const _0x3b6e3f=_0x5a439c;this[_0x3b6e3f(0x363)][_0x3b6e3f(0x18f)](_0x107aa6['id']),_0x7403b8[_0x3b6e3f(0x217)]();});}}));}[_0x46a2a4(0x45a)](){const _0x3fb0f0=_0x46a2a4;this[_0x3fb0f0(0x2d1)](this['_commandService'][_0x3fb0f0(0x4ee)](_0x1c48c0=>{const _0xd2c774=_0x3fb0f0;if(_0x1c48c0['id']!==_0x4ae357['ChartUpdateConfigMutation']['id'])return;let _0x2ee009=_0x1c48c0[_0xd2c774(0x2f7)];_0x2ee009!=null&&_0x2ee009[_0xd2c774(0x2c7)]&&Promise[_0xd2c774(0x56c)]()['then'](()=>this[_0xd2c774(0x441)](_0x2ee009));}));}['_renderAfterChartUpdateMutation'](_0x194c57){const _0x423cac=_0x46a2a4;let _0x36af15=this[_0x423cac(0x26f)][_0x423cac(0x23b)](_0x194c57[_0x423cac(0x2c7)]);if(!_0x36af15||_0x36af15['chartType']!==_0x192cef[_0x423cac(0x557)][_0x423cac(0x3d1)])return;let _0x137721=_0x36af15[_0x423cac(0x3eb)];_0x137721?this[_0x423cac(0x1d3)](_0x36af15,_0x137721):this[_0x423cac(0x2a9)](_0x36af15);}[_0x46a2a4(0x2a9)](_0x41eea4){const _0xc560db=_0x46a2a4;if(this['_pendingMutationConfigRenders'][_0xc560db(0x3a8)](_0x41eea4['id']))return;let _0x2a01b6=_0x41eea4['config$'][_0xc560db(0x254)]((0x0,_0x32542e[_0xc560db(0x1da)])(_0x35dd9a=>_0x35dd9a!=null),(0x0,_0x32542e['take'])(0x1))[_0xc560db(0x3a1)](_0x1ef790=>{const _0x53eb54=_0xc560db;this['_pendingMutationConfigRenders'][_0x53eb54(0x18f)](_0x41eea4['id']),this[_0x53eb54(0x1d3)](_0x41eea4,_0x1ef790);});this[_0xc560db(0x559)]['set'](_0x41eea4['id'],_0x2a01b6),_0x41eea4[_0xc560db(0x1e9)](()=>{const _0x821062=_0xc560db;_0x2a01b6['unsubscribe'](),this[_0x821062(0x559)]['delete'](_0x41eea4['id']);});}[_0x46a2a4(0x1d3)](_0x17c5bc,_0x1b2579){const _0x216c72=_0x46a2a4;let _0x52ea90=this[_0x216c72(0x4d5)]['createRuntimeChartStyle'](_0x17c5bc,this[_0x216c72(0x303)]['getDirection']());this[_0x216c72(0x4d5)][_0x216c72(0x39e)](_0x17c5bc['id'],_0x1b2579,_0x52ea90);}};_0x175aea=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd['Inject'])(_0x4ae357[_0x46a2a4(0x335)])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x2df583)),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd[_0x46a2a4(0x281)])),_0x3fa4ac(0x3,_0x5edd90),_0x3fa4ac(0x4,_0x4fd9fd[_0x46a2a4(0x4c6)]),_0x3fa4ac(0x5,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x45f13f['SheetPrintInterceptorService']))],_0x175aea);function _0x199c36(_0x5f44f2,_0x371bdf){const _0x5536b1=_0x46a2a4;return _0x5f44f2[_0x5536b1(0x2d9)]!==_0x371bdf[_0x5536b1(0x2d9)]||_0x5f44f2[_0x5536b1(0x19c)]!==_0x371bdf[_0x5536b1(0x1b7)]?_0x5f44f2:{..._0x5f44f2,'subUnitId':_0x371bdf[_0x5536b1(0x1d9)]};}function _0x2be0fd(_0x3a5fa5,_0x48bf39){const _0x2cd98f=_0x46a2a4;return(_0x3a5fa5==null?void 0x0:_0x3a5fa5[_0x2cd98f(0x316)])===_0x192cef[_0x2cd98f(0x3aa)][_0x2cd98f(0x2a3)]?{..._0x3a5fa5,'source':_0x199c36(_0x3a5fa5[_0x2cd98f(0x202)],_0x48bf39)}:_0x3a5fa5;}function _0x195de3(_0x4aef20,_0x5cbf09){const _0x42e98d=_0x46a2a4;let {rangeInfo:_0x4961ae}=_0x4aef20;return Array['isArray'](_0x4961ae)?{..._0x4aef20,'rangeInfo':_0x4961ae[_0x42e98d(0x3b2)](_0x3f7a84=>({..._0x3f7a84,..._0x3f7a84['header']?{'header':_0x2be0fd(_0x3f7a84['header'],_0x5cbf09)}:{},'range':_0x199c36(_0x3f7a84[_0x42e98d(0x4c3)],_0x5cbf09)}))}:{..._0x4aef20,'rangeInfo':{..._0x4961ae,..._0x4961ae[_0x42e98d(0x1c0)]?{'header':{..._0x4961ae['header'],..._0x4961ae[_0x42e98d(0x1c0)][_0x42e98d(0x4e8)]?{'titles':_0x1a04c5(_0x4961ae[_0x42e98d(0x1c0)][_0x42e98d(0x4e8)],_0x5cbf09)}:{}}}:{},'rangeInfo':_0x199c36(_0x4961ae[_0x42e98d(0x25a)],_0x5cbf09)}};}function _0x1a04c5(_0x28f1af,_0x22285e){const _0x5effb9=_0x46a2a4;return _0x28f1af['type']===_0x192cef[_0x5effb9(0x3aa)]['Literals']?{..._0x28f1af,'values':{..._0x28f1af[_0x5effb9(0x27b)]}}:_0x28f1af[_0x5effb9(0x316)]===_0x192cef[_0x5effb9(0x3aa)]['References']?{..._0x28f1af,'values':Object[_0x5effb9(0x4f4)](Object[_0x5effb9(0x30d)](_0x28f1af[_0x5effb9(0x27b)])[_0x5effb9(0x3b2)](([_0x20418d,_0x11efaf])=>[_0x20418d,_0x11efaf&&_0x199c36(_0x11efaf,_0x22285e)]))}:{..._0x28f1af,'values':Object['fromEntries'](Object[_0x5effb9(0x30d)](_0x28f1af['values'])['map'](([_0x25b16d,_0x4af05e])=>[_0x25b16d,_0x4af05e&&_0x2be0fd(_0x4af05e,_0x22285e)]))};}function _0x48407(_0x1825ec,_0x11674c,_0x59c505,_0x537449){const _0x51d373=_0x46a2a4;let _0x537a47=(0x0,_0x46891f[_0x51d373(0x4ed)])(_0x1825ec,_0x11674c,_0x59c505),_0x3fce8d=[];for(let _0x41c00d of _0x11674c){let _0x2b733b=_0x537a47['idMap'][_0x51d373(0x3a8)](_0x41c00d['drawingId']),_0x4a1a6b=_0x537449(_0x41c00d);_0x2b733b&&_0x4a1a6b&&_0x3fce8d[_0x51d373(0x4b3)]({'targetChartId':_0x2b733b,'source':_0x195de3(_0x4a1a6b,_0x59c505)});}return _0x3fce8d;}let _0x248f11=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x48c978,_0x3ade63,_0x32cff0,_0x49a6f5,_0x3a11ca){const _0x129776=_0x46a2a4;super(),this[_0x129776(0x2bf)]=_0x48c978,this[_0x129776(0x266)]=_0x3ade63,this[_0x129776(0x2fd)]=_0x32cff0,this['_chartModelService']=_0x49a6f5,this[_0x129776(0x337)]=_0x3a11ca,this[_0x129776(0x4c9)]();}[_0x46a2a4(0x4c9)](){const _0x46b027=_0x46a2a4;this[_0x46b027(0x2d1)](this[_0x46b027(0x266)][_0x46b027(0x294)]({'getMutations':_0xb10520=>{const _0x1f262c=_0x46b027;if(_0xb10520['id']===_0x503f0c[_0x1f262c(0x201)]['id']){let _0x529b1d=(0x0,_0x503f0c[_0x1f262c(0x2b9)])(this['_univerInstanceService'],_0xb10520[_0x1f262c(0x2f7)]);if(!_0x529b1d)return{'redos':[],'undos':[]};let {unitId:_0x336b57,subUnitId:_0x3c8b8e}=_0x529b1d,_0x27538f=this[_0x1f262c(0x2fd)][_0x1f262c(0x34c)](_0x336b57,_0x3c8b8e),_0x26b653=Object[_0x1f262c(0x27b)](_0x27538f)[_0x1f262c(0x1da)](_0x348d41=>_0x348d41['drawingType']===_0x4fd9fd[_0x1f262c(0x31d)][_0x1f262c(0x32f)]);if(_0x26b653[_0x1f262c(0x3f8)]===0x0)return{'redos':[],'undos':[]};let _0x5c275f=[],_0x1b5c23=[];for(let _0x86153c=0x0;_0x86153c<_0x26b653[_0x1f262c(0x3f8)];_0x86153c++){let _0x547d48=_0x26b653[_0x86153c],_0x2b4225=this[_0x1f262c(0x26f)]['getChartModel'](_0x547d48[_0x1f262c(0x23d)]);if(!_0x2b4225)continue;let _0x23e275=this['_sheetsChartService'][_0x1f262c(0x389)](_0x2b4225['id']);if(!_0x23e275)continue;let {chartType:_0x3d3f6c,context:_0x4fead9,style:_0x2ebe9d,dataAggregation:_0x590f4d}=_0x2b4225[_0x1f262c(0x2fa)]();_0x5c275f[_0x1f262c(0x4b3)]({'id':_0x4ae357[_0x1f262c(0x2c2)]['id'],'params':{'unitId':_0x336b57,'subUnitId':_0x3c8b8e,'chartId':_0x547d48[_0x1f262c(0x23d)]}}),_0x1b5c23[_0x1f262c(0x4b3)]({'id':_0x4ae357[_0x1f262c(0x29c)]['id'],'params':{'unitId':_0x336b57,'subUnitId':_0x3c8b8e,'chartId':_0x547d48['drawingId'],'chartType':_0x3d3f6c,...(0x0,_0x4ae357['toInsertChartMutationSource'])(_0x23e275),'context':_0x4fead9,'style':_0x2ebe9d,'dataAggregation':_0x590f4d}});}return{'redos':_0x5c275f,'undos':_0x1b5c23};}if(_0xb10520['id']===_0x503f0c['CopySheetCommand']['id']){let {unitId:_0x13f778,subUnitId:_0x46d655,targetSubUnitId:_0x53a6c7,copyContext:_0x5d2442}=_0xb10520[_0x1f262c(0x2f7)];if(!_0x13f778||!_0x46d655||!_0x53a6c7)return{'redos':[],'undos':[]};let _0x4ed610=this['_sheetDrawingService'][_0x1f262c(0x34c)](_0x13f778,_0x46d655),_0x12fddf=Object[_0x1f262c(0x27b)](_0x4ed610)[_0x1f262c(0x1da)](_0x5e0d97=>_0x5e0d97['drawingType']===_0x4fd9fd['DrawingTypeEnum']['DRAWING_CHART']);if(_0x12fddf[_0x1f262c(0x3f8)]===0x0)return{'redos':[],'undos':[]};let _0x1b5b91=_0x48407(_0x5d2442,_0x12fddf,{'unitId':_0x13f778,'sourceSubUnitId':_0x46d655,'targetSubUnitId':_0x53a6c7},_0x40680a=>{const _0x57cd92=_0x1f262c;let _0x442db0=this[_0x57cd92(0x26f)][_0x57cd92(0x23b)](_0x40680a[_0x57cd92(0x23d)]);if(!_0x442db0)return;let _0xd7bcb0=this[_0x57cd92(0x337)][_0x57cd92(0x389)](_0x442db0['id']);if(!_0xd7bcb0)return;let {chartType:_0x48301d,context:_0x27e7fa,style:_0xb27644,dataAggregation:_0x4d53cd}=_0x442db0[_0x57cd92(0x2fa)]();return{'rangeInfo':_0xd7bcb0,'chartType':_0x48301d,'context':_0x27e7fa,'style':_0xb27644,'dataAggregation':_0x4d53cd};}),_0x233d35=[],_0x115dce=[];for(let {targetChartId:_0x1b6c11,source:_0x3b37d9}of _0x1b5b91){let {rangeInfo:_0x4d6670,chartType:_0x597bb2,context:_0x2440b1,style:_0x567e8a,dataAggregation:_0x44693c}=_0x3b37d9;_0x233d35[_0x1f262c(0x4b3)]({'id':_0x4ae357['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x13f778,'subUnitId':_0x53a6c7,'chartId':_0x1b6c11,'chartType':_0x597bb2,...(0x0,_0x4ae357[_0x1f262c(0x324)])(_0x4d6670),'context':_0x2440b1,'style':_0x567e8a,'dataAggregation':_0x44693c}}),_0x115dce[_0x1f262c(0x4b3)]({'id':_0x4ae357['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x13f778,'subUnitId':_0x53a6c7,'chartId':_0x1b6c11}});}return{'redos':_0x233d35,'undos':_0x115dce};}return{'redos':[],'undos':[]};}}));}};_0x248f11=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd['IUniverInstanceService'])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x503f0c[_0x46a2a4(0x47a)])),_0x3fa4ac(0x2,(0x0,_0x4fd9fd['Inject'])(_0x73a89a[_0x46a2a4(0x499)])),_0x3fa4ac(0x3,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4ae357[_0x46a2a4(0x335)])),_0x3fa4ac(0x4,(0x0,_0x4fd9fd['Inject'])(_0x4ae357[_0x46a2a4(0x28c)]))],_0x248f11);let _0x1fad64=_0x3f7e8e=>_0x3f7e8e[_0x46a2a4(0x45c)](_0x4fd9fd[_0x46a2a4(0x1ee)][_0x46a2a4(0x483)])[_0x46a2a4(0x232)](),_0x49e0e9=_0x2446a=>{const _0x583cd1=_0x46a2a4;var _0x51864f;return(_0x51864f=_0x2446a[_0x583cd1(0x45c)](_0x4fd9fd[_0x583cd1(0x1ee)]['UNIVER_SHEET'])[_0x583cd1(0x321)]())==null?void 0x0:_0x51864f[_0x583cd1(0x23c)]();};function _0x4aafad(){const _0x1370dc=_0x46a2a4;var _0x463896;let _0x4c23e3=(0x0,_0xdda337['useDependency'])(_0x5edd90),_0x3b79f3=(0x0,_0xdda337[_0x1370dc(0x26d)])(_0x4ae357['ChartModelService']),_0x5ee414=(0x0,_0xdda337['useDependency'])(_0x4ae357['SheetsChartService']),_0x5d6d0d=(0x0,_0xdda337[_0x1370dc(0x26d)])(_0x4fd9fd[_0x1370dc(0x281)]),_0x23dc58=(0x0,_0xdda337[_0x1370dc(0x26d)])(_0x4fd9fd[_0x1370dc(0x2db)]),_0x107bc6=(0x0,_0x4ae357[_0x1370dc(0x3d2)])(_0x23dc58),_0x5525be=(0x0,_0x144ae0['useMemo'])(()=>{const _0x53354c=_0x1370dc;let _0x6b9014=_0x19fb75(_0x22b65a[_0x53354c(0x338)](),_0x107bc6);return(0x0,_0x2890e0[_0x53354c(0x1ac)])(_0x6b9014['map'](_0x366ac4=>({'id':_0x366ac4['id'],'label':_0x5d6d0d['t'](_0x53354c(0x537)+_0x366ac4[_0x53354c(0x1b8)]),'pieSecondaryPlotType':_0x366ac4['pieSecondaryPlotType'],'value':_0x366ac4[_0x53354c(0x54e)]})));},[_0x107bc6,_0x5d6d0d]),_0x5c5976=(0x0,_0xdda337[_0x1370dc(0x365)])(_0x3b79f3['activeChartModel$'],_0x3b79f3[_0x1370dc(0x251)]),_0x1e6348=_0x5c5976?_0x5ee414[_0x1370dc(0x265)](_0x5c5976['id']):void 0x0,_0x58649e=(0x0,_0xdda337[_0x1370dc(0x365)])(_0x1e6348==null?void 0x0:_0x1e6348['rangeInfo$'],_0x1e6348==null?void 0x0:_0x1e6348[_0x1370dc(0x2c1)]()),_0x5bc9f6=Array[_0x1370dc(0x470)](_0x58649e),_0xaac11a=_0x58649e&&!_0x5bc9f6&&_0x58649e[_0x1370dc(0x205)]?_0x192cef[_0x1370dc(0x437)]['Row']:_0x192cef['DataOrientation']['Column'],_0x1ce1ce=_0x5bc9f6?(_0x463896=_0x58649e[0x0])==null?void 0x0:_0x463896['range']:_0x58649e==null?void 0x0:_0x58649e['rangeInfo'];return(0x0,_0x18d12e[_0x1370dc(0x498)])(_0x1370dc(0x283),{'className':_0x1370dc(0x3c8),'children':(0x0,_0x18d12e[_0x1370dc(0x498)])(_0x2890e0[_0x1370dc(0x556)],{'chartTypeOptions':_0x5525be,'dataSourceControl':(0x0,_0x18d12e['jsx'])(_0x2c8696,{'dataRange':_0x58649e,'primaryRange':_0x1ce1ce}),'categoryToggleLabel':_0x5d6d0d['t']('sheets-chart-ui.common.useAsCategoryLabels',_0xaac11a===_0x192cef['DataOrientation'][_0x1370dc(0x17f)]?_0xaac11a+'\x20'+(((_0x1ce1ce==null?void 0x0:_0x1ce1ce['range'][_0x1370dc(0x163)])??0x0)+0x1):_0xaac11a+'\x20'+(0x0,_0x4fd9fd[_0x1370dc(0x53b)])((_0x1ce1ce==null?void 0x0:_0x1ce1ce[_0x1370dc(0x4c3)][_0x1370dc(0x4f6)])??0x0)),'orientationControl':_0x5bc9f6?void 0x0:(0x0,_0x18d12e[_0x1370dc(0x498)])(_0x4627c3['Button'],{'size':'small','onClick':()=>_0x4c23e3[_0x1370dc(0x2f1)](_0xaac11a===_0x192cef[_0x1370dc(0x437)][_0x1370dc(0x17f)]?_0x192cef[_0x1370dc(0x437)]['Column']:_0x192cef[_0x1370dc(0x437)][_0x1370dc(0x17f)]),'children':_0x5d6d0d['t'](_0x1370dc(0x428))})})});}function _0x2c8696(_0x3faa7a){const _0x503c11=_0x46a2a4;let {dataRange:_0x35f45a,primaryRange:_0x389179}=_0x3faa7a,_0x170fbf=(0x0,_0xdda337[_0x503c11(0x26d)])(_0x5edd90),_0x221e22=(0x0,_0xdda337[_0x503c11(0x26d)])(_0x4fd9fd[_0x503c11(0x281)]),_0x4a8f8b=(0x0,_0xdda337['useDependency'])(_0x4fd9fd['IUniverInstanceService']),[_0x52a0fe,_0x1ccdb7]=(0x0,_0x144ae0[_0x503c11(0x4d9)])(!0x1),[_0x47ffc9,_0x3a9b2d]=(0x0,_0x144ae0[_0x503c11(0x4d9)])(!0x1),_0x9f2b3c=_0x1fad64(_0x4a8f8b),_0x101557=_0x49e0e9(_0x4a8f8b);(0x0,_0x144ae0[_0x503c11(0x331)])(()=>{_0x170fbf['setRangeSelectMode'](_0x52a0fe);},[_0x52a0fe,_0x170fbf]);let _0x41fe1b=(0x0,_0x144ae0[_0x503c11(0x33b)])(()=>(0x0,_0x4fd9fd[_0x503c11(0x384)])(async _0x540e56=>{const _0x291cd4=_0x503c11;var _0x16c046;if(_0x405656(_0x35f45a,_0x4a8f8b)===_0x540e56)return;let _0x27e083=_0x540e56[_0x291cd4(0x53a)](',')[_0x291cd4(0x1da)](Boolean)[_0x291cd4(0x3b2)](_0x300836['deserializeRangeWithSheet'])[0x0];if(!_0x27e083)return;let {unitId:_0x337819,sheetName:_0x2a7050,range:_0x34acf0}=_0x27e083,_0x5070d6=_0x337819||_0x9f2b3c,_0x3e1096=((_0x16c046=_0x4a8f8b[_0x291cd4(0x259)](_0x5070d6)[_0x291cd4(0x358)](_0x2a7050))==null?void 0x0:_0x16c046[_0x291cd4(0x23c)]())||(_0x389179==null?void 0x0:_0x389179[_0x291cd4(0x19c)])||_0x101557;_0x3e1096&&_0x170fbf[_0x291cd4(0x409)]({'rangeInfo':{'range':_0x34acf0,'unitId':_0x5070d6,'subUnitId':_0x3e1096}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x35f45a,_0x389179,_0x170fbf,_0x101557,_0x9f2b3c,_0x4a8f8b]);return(0x0,_0x144ae0['useEffect'])(()=>()=>_0x41fe1b[_0x503c11(0x1e0)](),[_0x41fe1b]),(0x0,_0x18d12e[_0x503c11(0x498)])(_0x503c11(0x283),{'className':_0x503c11(0x241),'children':(0x0,_0x18d12e['jsxs'])(_0x503c11(0x283),{'children':[(0x0,_0x18d12e[_0x503c11(0x498)])(_0x2890e0['ChartEditBlockTitle'],{'title':_0x221e22['t']('sheets-chart-ui.common.dataRange')}),(0x0,_0x18d12e['jsx'])(_0x33cd7d['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x9f2b3c,'subUnitId':_0x101557,'initialValue':_0x35f45a?_0x405656(_0x35f45a,_0x4a8f8b):'','onChange':(_0x598ca5,_0x3d12f3)=>_0x41fe1b(_0x3d12f3),'onFocusChange':_0x2bd770=>{_0x47ffc9||_0x1ccdb7(_0x2bd770);},'onRangeSelectorDialogVisibleChange':_0x1ee080=>{_0x3a9b2d(_0x1ee080),_0x1ccdb7(_0x1ee080);}})]})});}function _0x17c10f(){const _0x5ca61b=_0x46a2a4;let [_0x1b2524,_0x105e64]=(0x0,_0x144ae0[_0x5ca61b(0x4d9)])(_0x2890e0[_0x5ca61b(0x39f)][_0x5ca61b(0x40d)]),_0x229779=(0x0,_0xdda337[_0x5ca61b(0x26d)])(_0x4fd9fd['Injector']),_0x247cbb=(0x0,_0xdda337['useDependency'])(_0x4fd9fd[_0x5ca61b(0x281)]),_0x4dc30e=(0x0,_0xdda337[_0x5ca61b(0x26d)])(_0x5edd90),_0x1ff883=(0x0,_0xdda337['useDependency'])(_0x4ae357[_0x5ca61b(0x335)]),_0x1d5a96=(0x0,_0xdda337[_0x5ca61b(0x26d)])(_0x4ae357[_0x5ca61b(0x28c)]),_0x700cd4=(0x0,_0xdda337[_0x5ca61b(0x365)])(_0x1ff883['activeChartModel$'],_0x1ff883[_0x5ca61b(0x251)]),_0x8db89a=(0x0,_0xdda337[_0x5ca61b(0x365)])(_0x4dc30e[_0x5ca61b(0x40b)],null),_0x483ece=(0x0,_0x144ae0[_0x5ca61b(0x33b)])(()=>{const _0x180828=_0x5ca61b;var _0x2ec4c1;if(!_0x700cd4)return null;let _0x596d7d=_0x1d5a96[_0x180828(0x389)](_0x700cd4['id']);if(!_0x596d7d)return null;let _0x383635=Array[_0x180828(0x470)](_0x596d7d)?(_0x2ec4c1=_0x596d7d[0x0])==null?void 0x0:_0x2ec4c1[_0x180828(0x4c3)]:_0x596d7d[_0x180828(0x25a)];return _0x383635?new _0x2890e0['ChartHostAdapter'](_0x700cd4,new _0x4ae357[(_0x180828(0x4c7))]({'unitId':_0x383635[_0x180828(0x2d9)],'subUnitId':_0x383635[_0x180828(0x19c)],'chartId':_0x700cd4['id'],'injector':_0x229779})):null;},[_0x700cd4,_0x229779,_0x1d5a96]);if((0x0,_0x144ae0['useEffect'])(()=>{const _0x43b068=_0x5ca61b;var _0x496632,_0x356cc6;_0x700cd4&&(_0x8db89a==null?void 0x0:_0x8db89a[_0x43b068(0x576)])===_0x700cd4['id']&&(((_0x496632=_0x8db89a[_0x43b068(0x1f5)])==null?void 0x0:_0x496632['tab'])===_0x2890e0[_0x43b068(0x39f)]['Style']&&_0x105e64(_0x2890e0[_0x43b068(0x39f)][_0x43b068(0x381)]),((_0x356cc6=_0x8db89a[_0x43b068(0x1f5)])==null?void 0x0:_0x356cc6['tab'])===_0x2890e0['ChartEditPanelTab'][_0x43b068(0x40d)]&&_0x105e64(_0x2890e0['ChartEditPanelTab'][_0x43b068(0x40d)]));},[_0x700cd4,_0x8db89a]),!_0x483ece)return null;let _0x4d4a99=(0x0,_0x18d12e[_0x5ca61b(0x498)])(_0x5ca61b(0x283),{'className':_0x5ca61b(0x552),'children':(0x0,_0x18d12e[_0x5ca61b(0x498)])(_0x2890e0[_0x5ca61b(0x256)],{'ariaLabel':_0x247cbb['t'](_0x5ca61b(0x2ae)),'activeTab':_0x1b2524,'onTabChange':_0x105e64,'tabListClassName':_0x5ca61b(0x490),'panelClassName':_0x1b2524===_0x2890e0[_0x5ca61b(0x39f)][_0x5ca61b(0x381)]?_0x5ca61b(0x2ff):_0x5ca61b(0x245),'tabs':[{'id':_0x2890e0[_0x5ca61b(0x39f)][_0x5ca61b(0x40d)],'panelId':_0x5ca61b(0x4b1),'title':_0x247cbb['t'](_0x5ca61b(0x2c9)),'content':(0x0,_0x18d12e['jsx'])(_0x4aafad,{})},{'id':_0x2890e0[_0x5ca61b(0x39f)][_0x5ca61b(0x381)],'panelId':_0x5ca61b(0x448),'title':_0x247cbb['t'](_0x5ca61b(0x3e9)),'content':(0x0,_0x18d12e['jsx'])(_0x9d200,{'defaultValues':_0x16d02e})}]})});return(0x0,_0x18d12e['jsx'])(_0x2890e0[_0x5ca61b(0x423)],{'chartUIService':_0x4dc30e,'hostAdapter':_0x483ece,'children':_0x4d4a99});}let _0x1acf8f=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x1a360e){const _0x36efa2=_0x46a2a4;super(),this[_0x36efa2(0x2d1)](_0x1a360e[_0x36efa2(0x3d5)](_0x5b8dde,_0x17c10f));}};_0x1acf8f=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xdda337[_0x46a2a4(0x566)]))],_0x1acf8f);let _0x58cba0=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x216204,_0x154e10,_0x26fadc,_0x55a946,_0x474eff,_0x5ae0dc,_0x3073a1,_0x1e65c5,_0x39b2d8){const _0xe06ef4=_0x46a2a4;super(),this[_0xe06ef4(0x4e5)]=_0x216204,this[_0xe06ef4(0x26f)]=_0x154e10,this['_sidebarService']=_0x26fadc,this[_0xe06ef4(0x3c2)]=_0x55a946,this[_0xe06ef4(0x3fb)]=_0x474eff,this['_commandService']=_0x5ae0dc,this['_sheetsChartUIService']=_0x3073a1,this[_0xe06ef4(0x2e0)]=_0x1e65c5,this['_localeService']=_0x39b2d8,_0x1f0d28(this,_0xe06ef4(0x2bd),null),_0x1f0d28(this,'_panelInitialized',!0x1),this[_0xe06ef4(0x40e)]();}[_0x46a2a4(0x217)](){const _0x383ac3=_0x46a2a4;this[_0x383ac3(0x289)](),super['dispose']();}[_0x46a2a4(0x57c)](){const _0x168043=_0x46a2a4;this[_0x168043(0x4b6)]||(this[_0x168043(0x4b6)]=!0x0,this[_0x168043(0x2d1)](this[_0x168043(0x1dc)][_0x168043(0x4ee)](_0x5d56c4=>{const _0x5ccce1=_0x168043;if(_0x5d56c4['id']!==_0x30424f['id'])return;let _0x1d16d1=_0x5d56c4[_0x5ccce1(0x2f7)];this[_0x5ccce1(0x392)](_0x1d16d1[_0x5ccce1(0x23d)],_0x1d16d1[_0x5ccce1(0x1f5)]);})));}[_0x46a2a4(0x392)](_0x1e7510,_0x492fcc){const _0x5e8637=_0x46a2a4;let _0x13383e=this[_0x5e8637(0x26f)][_0x5e8637(0x23b)](_0x1e7510);_0x13383e&&(this[_0x5e8637(0x26f)][_0x5e8637(0x180)](_0x13383e),this[_0x5e8637(0x1e2)](),this[_0x5e8637(0x364)][_0x5e8637(0x3ad)](!0x0),this[_0x5e8637(0x364)][_0x5e8637(0x268)](_0x1e7510,_0x492fcc??null));}[_0x46a2a4(0x289)](){const _0x2f917a=_0x46a2a4;let _0x2f7617=this[_0x2f917a(0x2bd)];this[_0x2f917a(0x2bd)]=null,this['_clearPanelState'](),_0x2f7617==null||_0x2f7617[_0x2f917a(0x217)]();}['_initMenus'](){const _0x5df7e9=_0x46a2a4;this[_0x5df7e9(0x3c2)][_0x5df7e9(0x522)]({[_0xdda337[_0x5df7e9(0x1e7)][_0x5df7e9(0x387)]]:{[_0xb02f0e['id']]:{'order':0x4,'menuItemFactory':_0x29dc74}}}),this['_sheetCanvasPopManagerService'][_0x5df7e9(0x274)](_0x4fd9fd[_0x5df7e9(0x31d)][_0x5df7e9(0x32f)],(_0x511c59,_0x36925f,_0x5dfa4e,_0x2c29f6)=>[{'label':this[_0x5df7e9(0x303)]['t'](_0x5df7e9(0x2ae)),'index':0x0,'commandId':_0x30424f['id'],'commandParams':{'unitId':_0x511c59,'subUnitId':_0x36925f,'drawingId':_0x5dfa4e},'disable':_0x2c29f6!==_0x4fd9fd[_0x5df7e9(0x31d)]['DRAWING_CHART']},{'label':this[_0x5df7e9(0x303)]['t'](_0x5df7e9(0x46b)),'index':0x1,'commandId':_0x73a89a[_0x5df7e9(0x533)]['id'],'commandParams':{'unitId':_0x511c59,'drawings':[{'unitId':_0x511c59,'subUnitId':_0x36925f,'drawingId':_0x5dfa4e,'drawingType':_0x2c29f6}]},'disable':!0x1}],_0x5df7e9(0x166));}[_0x46a2a4(0x1e2)](){const _0x227bfe=_0x46a2a4;this[_0x227bfe(0x2bd)]=this['_sidebarService'][_0x227bfe(0x3de)]({'id':_0x5b8dde,'header':{'title':this['_localeService']['t'](_0x227bfe(0x2ae))},'children':{'label':_0x5b8dde},'onClose':()=>{const _0x5159ef=_0x227bfe;this[_0x5159ef(0x2bd)]=null,this[_0x5159ef(0x3b0)]();}});}[_0x46a2a4(0x3b0)](){const _0x3e1afd=_0x46a2a4;this[_0x3e1afd(0x364)][_0x3e1afd(0x3ad)](!0x1),this[_0x3e1afd(0x364)][_0x3e1afd(0x2b7)](),this[_0x3e1afd(0x26f)][_0x3e1afd(0x251)]&&this[_0x3e1afd(0x26f)][_0x3e1afd(0x180)](null),this['_drawingManagerService'][_0x3e1afd(0x433)](null),this[_0x3e1afd(0x2e0)][_0x3e1afd(0x56e)](_0x4fd9fd[_0x3e1afd(0x1a6)],!0x1);}};_0x58cba0=_0x43fe6e([_0x3fa4ac(0x0,_0x46891f[_0x46a2a4(0x239)]),_0x3fa4ac(0x1,(0x0,_0x4fd9fd['Inject'])(_0x4ae357[_0x46a2a4(0x335)])),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xdda337['ISidebarService'])),_0x3fa4ac(0x3,_0xdda337[_0x46a2a4(0x550)]),_0x3fa4ac(0x4,(0x0,_0x4fd9fd['Inject'])(_0x45f13f[_0x46a2a4(0x518)])),_0x3fa4ac(0x5,_0x4fd9fd['ICommandService']),_0x3fa4ac(0x6,_0x5edd90),_0x3fa4ac(0x7,_0x4fd9fd[_0x46a2a4(0x2c5)]),_0x3fa4ac(0x8,(0x0,_0x4fd9fd['Inject'])(_0x4fd9fd[_0x46a2a4(0x281)]))],_0x58cba0);let _0x1651df=class extends _0x4fd9fd['Disposable']{constructor(_0x4f1b3a,_0x2806ad,_0x1e1a4b,_0x1db832,_0x4aab1e){const _0xc191ba=_0x46a2a4;super(),this['_sheetSkeletonService']=_0x4f1b3a,this['_sheetClipboardService']=_0x2806ad,this[_0xc191ba(0x2fd)]=_0x1e1a4b,this['_chartModelService']=_0x1db832,this[_0xc191ba(0x337)]=_0x4aab1e,_0x1f0d28(this,_0xc191ba(0x177),void 0x0),this[_0xc191ba(0x565)]();}get[_0x46a2a4(0x547)](){const _0x464dc0=_0x46a2a4;return this['_sheetDrawingService'][_0x464dc0(0x3c6)]();}[_0x46a2a4(0x565)](){const _0x3e1421=_0x46a2a4;this['disposeWithMe'](this['_sheetClipboardService'][_0x3e1421(0x18e)]({'id':_0x4ae357[_0x3e1421(0x408)],'onBeforeCopyFocusedObject':(_0x296b1a,_0x23fe67,_0x1ba91e)=>{const _0x562812=_0x3e1421;this[_0x562812(0x177)]=null;let _0x264c9e=this[_0x562812(0x547)][_0x562812(0x1da)](_0x5b994c=>this[_0x562812(0x287)](_0x5b994c));return _0x264c9e[_0x562812(0x3f8)]!==0x0&&(this[_0x562812(0x177)]={'unitId':_0x296b1a,'subUnitId':_0x23fe67,'copyType':_0x1ba91e,'drawings':_0x264c9e},!0x0);},'onBeforeCopy':(_0x30b792,_0x56c6e9,_0x258bad,_0x3f0c0e)=>{const _0x39a43c=_0x3e1421;this[_0x39a43c(0x177)]=null,this['_createCopyInfoByRange'](_0x30b792,_0x56c6e9,_0x258bad,_0x3f0c0e);},'onPasteCells':(_0x327d59,_0x533352,_0x11060c,_0x4593b2)=>{const _0x20b797=_0x3e1421;if(!_0x4593b2[_0x20b797(0x493)]||!_0x327d59||!this[_0x20b797(0x177)])return{'redos':[],'undos':[]};let {pasteType:_0x379ac8}=_0x4593b2;return _0x379ac8===_0x45f13f[_0x20b797(0x456)][_0x20b797(0x226)]?this['_generatePasteMutations'](_0x533352,this[_0x20b797(0x177)]['copyType']===_0x45f13f[_0x20b797(0x370)]['CUT']):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0x41a1c2,_0x4ae302,_0x5aeafc,_0x4f389e){const _0xafcc96=_0x46a2a4;let _0x368880=this[_0xafcc96(0x215)][_0xafcc96(0x194)](_0x41a1c2,_0x4ae302);if(!_0x368880)return;let _0x5daef2=(0x0,_0x503f0c[_0xafcc96(0x4dd)])(_0x368880,_0x5aeafc);if(!_0x5daef2)return;let {startX:_0x360056,endX:_0x208275,startY:_0x401517,endY:_0x264b7d}=_0x5daef2,_0x178793=this[_0xafcc96(0x2fd)]['getDrawingData'](_0x41a1c2,_0x4ae302),_0x49a03e=[];for(let [_0x4e2d2a,_0x58fe4d]of Object[_0xafcc96(0x30d)](_0x178793)){if(!this['_isOwnedChart'](_0x58fe4d))continue;let {transform:_0x315b87}=_0x58fe4d;if(!_0x315b87)continue;let {left:_0x562597=0x0,top:_0x146575=0x0,width:_0x3704e8=0x0,height:_0xcab379=0x0}=_0x315b87;_0x360056<=_0x562597&&_0x208275>=_0x562597+_0x3704e8&&_0x401517<=_0x146575&&_0x264b7d>=_0x146575+_0xcab379&&_0x49a03e['push'](_0x58fe4d);}_0x49a03e[_0xafcc96(0x3f8)]>0x0&&(this['_copyInfo']={'unitId':_0x41a1c2,'subUnitId':_0x4ae302,'copyType':_0x4f389e,'copyRange':_0x5aeafc,'drawings':_0x49a03e});}[_0x46a2a4(0x287)](_0x495290){const _0x538381=_0x46a2a4;return _0x495290['drawingType']===_0x4fd9fd[_0x538381(0x31d)]['DRAWING_CHART']&&this[_0x538381(0x337)][_0x538381(0x35a)](_0x495290['unitId'],_0x495290['drawingId'])===_0x495290['subUnitId'];}[_0x46a2a4(0x211)](_0x423fe7,_0x17a40d){const _0xd11e16=_0x46a2a4;let {unitId:_0xeda919,subUnitId:_0x592be6,range:_0x47599b}=_0x423fe7,_0x45803a=this[_0xd11e16(0x215)][_0xd11e16(0x194)](_0xeda919,_0x592be6);if(!_0x45803a)return{'redos':[],'undos':[]};let _0x14631b=(0x0,_0x503f0c[_0xd11e16(0x492)])(_0x47599b),{unitId:_0x6be24d,subUnitId:_0x2a9aa5,copyRange:_0x50a08b,drawings:_0x59d60c}=this[_0xd11e16(0x177)],_0x4a7c5d=this['_sheetSkeletonService'][_0xd11e16(0x194)](_0x6be24d,_0x2a9aa5);if(!_0x4a7c5d)return{'redos':[],'undos':[]};let _0x37b7f1=[],_0x1c829e=[];for(let _0x3cf900 of _0x59d60c){let {drawingId:_0x205837,transform:_0x59fb86,sheetTransform:_0x4d63b0}=_0x3cf900,_0xa4dc1a=this[_0xd11e16(0x26f)][_0xd11e16(0x23b)](_0x205837);if(!_0xa4dc1a||!_0x59fb86||!_0x4d63b0)continue;let _0x48072f=this[_0xd11e16(0x4cc)]({'transform':_0x59fb86,'sheetTransform':_0x4d63b0},{'skeleton':_0x4a7c5d,'range':_0x50a08b},{'skeleton':_0x45803a,'range':_0x14631b});if(_0x17a40d){let {redos:_0x37fa13,undos:_0xf0aa6f}=this['_generateCutPasteMutations']({'fromUnitId':_0x6be24d,'fromSubUnitId':_0x2a9aa5,'toUnitId':_0xeda919,'toSubUnitId':_0x592be6,'drawing':_0x3cf900,'newTransforms':_0x48072f},_0xa4dc1a);_0x37b7f1[_0xd11e16(0x4b3)](..._0x37fa13),_0x1c829e[_0xd11e16(0x4b3)](..._0xf0aa6f);continue;}let {redos:_0x79b4c4,undos:_0x1497a3}=this[_0xd11e16(0x306)]({'toUnitId':_0xeda919,'toSubUnitId':_0x592be6,'drawing':_0x3cf900,'newTransforms':_0x48072f},_0xa4dc1a);_0x37b7f1[_0xd11e16(0x4b3)](..._0x79b4c4),_0x1c829e[_0xd11e16(0x4b3)](..._0x1497a3);}return{'redos':_0x37b7f1,'undos':_0x1c829e};}['_generateCutPasteMutations'](_0x153b34,_0xe473d7){const _0x5bf756=_0x46a2a4;let {fromUnitId:_0x303b64,fromSubUnitId:_0x9e29c2,toUnitId:_0x56e4ce,toSubUnitId:_0xf5efba,drawing:_0x31a969,newTransforms:_0x56db13}=_0x153b34,_0x1016af={..._0x31a969,'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'transform':_0x56db13[_0x5bf756(0x25b)],'sheetTransform':_0x56db13[_0x5bf756(0x2e5)]};if(_0x56e4ce===_0x303b64&&_0xf5efba===_0x9e29c2){let {redo:_0x5bb502,undo:_0x3e9f2e,objects:_0x4049a4}=this[_0x5bf756(0x2fd)][_0x5bf756(0x1cc)]([_0x1016af]);return{'redos':[{'id':_0x73a89a['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'type':_0x73a89a[_0x5bf756(0x3b8)]['UPDATE'],'op':_0x5bb502,'objects':_0x4049a4}}],'undos':[{'id':_0x73a89a['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'type':_0x73a89a[_0x5bf756(0x3b8)][_0x5bf756(0x3ba)],'op':_0x3e9f2e,'objects':_0x4049a4}}]};}{let _0x4cf26a=this[_0x5bf756(0x2fd)][_0x5bf756(0x414)]([_0x31a969]),_0xcae41f=this[_0x5bf756(0x2fd)]['getBatchAddOp']([_0x1016af]),_0x1705e9=this['_sheetsChartService']['getChartSourceSpec'](_0xe473d7['id']);if(!_0x1705e9)return{'redos':[],'undos':[]};let {chartType:_0x230124,context:_0x4b1f97,style:_0x2aa016,dataAggregation:_0x59a1c0}=_0xe473d7['serialize']();return{'redos':[{'id':_0x73a89a[_0x5bf756(0x56a)]['id'],'params':{'unitId':_0x303b64,'subUnitId':_0x9e29c2,'type':_0x73a89a[_0x5bf756(0x3b8)]['REMOVE'],'op':_0x4cf26a[_0x5bf756(0x464)],'objects':_0x4cf26a[_0x5bf756(0x32d)]}},{'id':_0x4ae357['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x303b64,'subUnitId':_0x9e29c2,'chartId':_0x31a969['drawingId']}},{'id':_0x73a89a[_0x5bf756(0x56a)]['id'],'params':{'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'type':_0x73a89a[_0x5bf756(0x3b8)][_0x5bf756(0x26c)],'op':_0xcae41f[_0x5bf756(0x464)],'objects':_0xcae41f[_0x5bf756(0x32d)]}},{'id':_0x4ae357[_0x5bf756(0x29c)]['id'],'params':{'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'chartId':_0x31a969[_0x5bf756(0x23d)],'chartType':_0x230124,...(0x0,_0x4ae357[_0x5bf756(0x324)])(_0x1705e9),'context':_0x4b1f97,'style':_0x2aa016,'dataAggregation':_0x59a1c0}}],'undos':[{'id':_0x73a89a[_0x5bf756(0x56a)]['id'],'params':{'unitId':_0x303b64,'subUnitId':_0x9e29c2,'type':_0x73a89a[_0x5bf756(0x3b8)]['INSERT'],'op':_0x4cf26a[_0x5bf756(0x16f)],'objects':_0x4cf26a[_0x5bf756(0x32d)]}},{'id':_0x4ae357[_0x5bf756(0x29c)]['id'],'params':{'unitId':_0x303b64,'subUnitId':_0x9e29c2,'chartId':_0x31a969[_0x5bf756(0x23d)],'chartType':_0x230124,...(0x0,_0x4ae357['toInsertChartMutationSource'])(_0x1705e9),'context':_0x4b1f97,'style':_0x2aa016,'dataAggregation':_0x59a1c0}},{'id':_0x73a89a[_0x5bf756(0x56a)]['id'],'params':{'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'type':_0x73a89a[_0x5bf756(0x3b8)][_0x5bf756(0x4b9)],'op':_0xcae41f['undo'],'objects':_0xcae41f[_0x5bf756(0x32d)]}},{'id':_0x4ae357[_0x5bf756(0x2c2)]['id'],'params':{'unitId':_0x56e4ce,'subUnitId':_0xf5efba,'chartId':_0x31a969['drawingId']}}]};}}['_generateCopyPasteMutations'](_0x456f36,_0x353c06){const _0x147980=_0x46a2a4;let {toUnitId:_0x54baf8,toSubUnitId:_0x1f0e0f,drawing:_0x270139,newTransforms:_0x1e1784}=_0x456f36,_0x1854a5=(0x0,_0x4fd9fd[_0x147980(0x577)])(),_0x3a1f16={..._0x270139,'unitId':_0x54baf8,'subUnitId':_0x1f0e0f,'drawingId':_0x1854a5,'transform':_0x1e1784[_0x147980(0x25b)],'sheetTransform':_0x1e1784[_0x147980(0x2e5)]},{redo:_0x17d1ea,undo:_0x49410e,objects:_0x232ae8}=this[_0x147980(0x2fd)]['getBatchAddOp']([_0x3a1f16]),_0x2db0f6=this[_0x147980(0x337)]['getChartSourceSpec'](_0x353c06['id']);if(!_0x2db0f6)return{'redos':[],'undos':[]};let {chartType:_0x2f86f4,context:_0x4dd58e,style:_0x50f949,dataAggregation:_0x4b6386}=_0x353c06['serialize']();return{'redos':[{'id':_0x73a89a[_0x147980(0x56a)]['id'],'params':{'unitId':_0x54baf8,'subUnitId':_0x1f0e0f,'type':_0x73a89a['DrawingApplyType'][_0x147980(0x26c)],'op':_0x17d1ea,'objects':_0x232ae8}},{'id':_0x4ae357[_0x147980(0x29c)]['id'],'params':{'unitId':_0x54baf8,'subUnitId':_0x1f0e0f,'chartId':_0x1854a5,'chartType':_0x2f86f4,...(0x0,_0x4ae357[_0x147980(0x324)])(_0x2db0f6),'context':_0x4dd58e,'style':_0x50f949,'dataAggregation':_0x4b6386}}],'undos':[{'id':_0x73a89a[_0x147980(0x56a)]['id'],'params':{'unitId':_0x54baf8,'subUnitId':_0x1f0e0f,'type':_0x73a89a[_0x147980(0x3b8)][_0x147980(0x4b9)],'op':_0x49410e,'objects':_0x232ae8}},{'id':_0x4ae357[_0x147980(0x2c2)]['id'],'params':{'unitId':_0x54baf8,'subUnitId':_0x1f0e0f,'chartId':_0x1854a5}}]};}[_0x46a2a4(0x4cc)](_0x6d723,_0xc208a4,_0xb0c1c4){const _0x55ee70=_0x46a2a4;let {range:_0x4111c1,skeleton:_0x54a04c}=_0xc208a4,{range:_0x580a81,skeleton:_0x52e24a}=_0xb0c1c4,{transform:_0x187c86,sheetTransform:_0x5b1037}=_0x6d723,_0x1234aa={..._0x187c86};if(_0x4111c1){let _0x140d41=(0x0,_0x503f0c[_0x55ee70(0x4dd)])(_0x54a04c,_0x4111c1),_0x3ec702=(0x0,_0x503f0c[_0x55ee70(0x4dd)])(_0x52e24a,_0x580a81);if(_0x140d41&&_0x3ec702){let _0x28dbb6=_0x3ec702[_0x55ee70(0x26a)]-_0x140d41[_0x55ee70(0x26a)],_0xca3478=_0x3ec702['startY']-_0x140d41[_0x55ee70(0x4ad)];_0x1234aa['left']=(_0x1234aa[_0x55ee70(0x273)]??0x0)+_0x28dbb6,_0x1234aa['top']=(_0x1234aa[_0x55ee70(0x51d)]??0x0)+_0xca3478;}}else{let _0x2afe85=(0x0,_0x503f0c[_0x55ee70(0x4dd)])(_0x52e24a,_0x580a81);_0x1234aa[_0x55ee70(0x273)]=_0x2afe85==null?void 0x0:_0x2afe85[_0x55ee70(0x26a)],_0x1234aa['top']=_0x2afe85==null?void 0x0:_0x2afe85[_0x55ee70(0x4ad)];}return{'transform':_0x1234aa,'sheetTransform':(0x0,_0x73a89a[_0x55ee70(0x555)])(_0x1234aa,_0x52e24a)??_0x5b1037};}};_0x1651df=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x503f0c['SheetSkeletonService'])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x45f13f[_0x46a2a4(0x3bc)])),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x73a89a[_0x46a2a4(0x499)])),_0x3fa4ac(0x3,(0x0,_0x4fd9fd['Inject'])(_0x4ae357['ChartModelService'])),_0x3fa4ac(0x4,(0x0,_0x4fd9fd['Inject'])(_0x4ae357[_0x46a2a4(0x28c)]))],_0x1651df);let _0x120ee1=class extends _0x4fd9fd['Disposable']{constructor(_0x5cf8f6,_0x1f7016,_0x5eae75,_0x5421ec){const _0x3e3416=_0x46a2a4;super(),this[_0x3e3416(0x1dc)]=_0x5cf8f6,this[_0x3e3416(0x303)]=_0x1f7016,this[_0x3e3416(0x184)]=_0x5eae75,this[_0x3e3416(0x337)]=_0x5421ec,this[_0x3e3416(0x4aa)]();}[_0x46a2a4(0x4aa)](){const _0x44220c=_0x46a2a4;this[_0x44220c(0x2d1)](this[_0x44220c(0x1dc)][_0x44220c(0x39c)](_0x143bc1=>{const _0x3d5ae3=_0x44220c;let _0x1d1f7d,_0x5302ff;if(_0x143bc1['id']===_0x4ae357[_0x3d5ae3(0x3d4)]['id']){let _0x798be3=_0x143bc1[_0x3d5ae3(0x2f7)];_0x1d1f7d=_0x798be3[_0x3d5ae3(0x2d9)],_0x5302ff=_0x798be3['subUnitId'];}else{if(_0x143bc1['id']===_0x4ae357[_0x3d5ae3(0x458)]['id']||_0x143bc1['id']===_0x4ae357[_0x3d5ae3(0x412)]['id']){let _0x53e638=_0x143bc1['params'];_0x1d1f7d=_0x53e638['unitId'],_0x5302ff=this['_sheetsChartService'][_0x3d5ae3(0x35a)](_0x53e638[_0x3d5ae3(0x2d9)],_0x53e638[_0x3d5ae3(0x2c7)]);}}_0x1d1f7d&&_0x5302ff&&(this[_0x3d5ae3(0x184)][_0x3d5ae3(0x2bb)]({'workbookTypes':[_0x503f0c[_0x3d5ae3(0x3ae)]],'worksheetTypes':[_0x503f0c[_0x3d5ae3(0x4fb)]]},_0x1d1f7d,_0x5302ff)||this[_0x3d5ae3(0x184)][_0x3d5ae3(0x21a)](this[_0x3d5ae3(0x303)]['t'](_0x3d5ae3(0x16d))));}));}};_0x120ee1=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd['ICommandService'])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd['Inject'])(_0x4fd9fd[_0x46a2a4(0x281)])),_0x3fa4ac(0x2,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x503f0c[_0x46a2a4(0x516)])),_0x3fa4ac(0x3,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4ae357[_0x46a2a4(0x28c)]))],_0x120ee1);let _0x31fae9=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x4788fc,_0x2d952e){const _0x51bf8b=_0x46a2a4;super(),this[_0x51bf8b(0x4d1)]=_0x2d952e,this['disposeWithMe'](_0x4788fc[_0x51bf8b(0x3d5)](this));}[_0x46a2a4(0x41d)](_0x4b410f){return'unitId'in _0x4b410f&&'subUnitId'in _0x4b410f;}['exportImage'](_0x5a7280,_0x46bd20){const _0x553c75=_0x46a2a4;return this[_0x553c75(0x4d1)][_0x553c75(0x421)](_0x5a7280[_0x553c75(0x2d8)](),_0x46bd20);}};_0x31fae9=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x2890e0[_0x46a2a4(0x41c)])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x2df583))],_0x31fae9);let _0x4d87e3=class extends _0x4fd9fd[_0x46a2a4(0x19b)]{constructor(_0x1cb099=_0x5caab6,_0x247d61,_0x793ec4,_0x38dc5e){const _0x288c4e=_0x46a2a4;super(),this[_0x288c4e(0x4fc)]=_0x1cb099,this[_0x288c4e(0x23e)]=_0x247d61,this[_0x288c4e(0x455)]=_0x793ec4,this[_0x288c4e(0x1dc)]=_0x38dc5e;let {..._0x1c2ad8}=(0x0,_0x4fd9fd['merge'])({},_0x5caab6,this[_0x288c4e(0x4fc)]);this['_configService']['setConfig'](_0x25d5b5,_0x1c2ad8),this[_0x288c4e(0x2a5)]();}['onStarting'](){const _0x437802=_0x46a2a4;let _0xd78a83=[[_0x1acf8f],[_0x5edd90,{'useClass':_0x432a3b}],[_0x3ead35,{'useClass':_0x1c4861}],[_0x7a2e4d],[_0x2df583],[_0x31fae9],[_0x58cba0],[_0x88383],[_0x175aea],[_0x1651df],[_0x248f11],[_0x120ee1]],_0x2fde33=[[_0x1acf8f],[_0x58cba0],[_0x175aea],[_0x88383],[_0x31fae9],[_0x5edd90],[_0x1651df],[_0x248f11],[_0x120ee1]];_0xd78a83['forEach'](_0x505d5b=>this[_0x437802(0x23e)][_0x437802(0x3fc)](_0x505d5b)),(0x0,_0x4fd9fd['touchDependencies'])(this['_injector'],_0x2fde33);}[_0x46a2a4(0x49d)](){const _0x476027=_0x46a2a4;var _0x3d5260;(_0x3d5260=this[_0x476027(0x23e)]['get'](_0x58cba0))==null||_0x3d5260[_0x476027(0x57c)]();}['_initCommands'](){const _0x55ddca=_0x46a2a4;[_0xb02f0e,_0x30424f][_0x55ddca(0x4d4)](_0x5ca056=>this[_0x55ddca(0x2d1)](this[_0x55ddca(0x1dc)]['registerCommand'](_0x5ca056)));}};_0x1f0d28(_0x4d87e3,'type',_0x4fd9fd[_0x46a2a4(0x1ee)]['UNIVER_SHEET']),_0x1f0d28(_0x4d87e3,_0x46a2a4(0x4d0),_0x46a2a4(0x436)),_0x1f0d28(_0x4d87e3,'packageName',_0xa09490),_0x1f0d28(_0x4d87e3,_0x46a2a4(0x18c),_0x3eac06),_0x4d87e3=_0x43fe6e([(0x0,_0x4fd9fd[_0x46a2a4(0x17a)])(_0x546d23[_0x46a2a4(0x37a)],_0x46891f[_0x46a2a4(0x42d)],_0x249319[_0x46a2a4(0x1f4)],_0x503f0c[_0x46a2a4(0x55d)],_0x73a89a[_0x46a2a4(0x3e7)],_0x2890e0['UniverChartMobileUIPlugin'],_0x4ae357[_0x46a2a4(0x222)],_0xd7d9e[_0x46a2a4(0x391)],_0x45f13f[_0x46a2a4(0x292)],_0xdda337['UniverMobileUIPlugin']),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd[_0x46a2a4(0x2db)])),_0x3fa4ac(0x2,_0x4fd9fd[_0x46a2a4(0x330)]),_0x3fa4ac(0x3,_0x4fd9fd[_0x46a2a4(0x4c6)])],_0x4d87e3);let _0x1ef57e={'scaleX':0x1,'scaleY':0x1};function _0x28e08e(_0x266c05){const _0x35d627=_0x46a2a4;let _0x126378=_0x266c05[_0x35d627(0x325)];return _0x126378 instanceof MouseEvent?_0x126378:void 0x0;}function _0x37a710(_0x431ee9){const _0x4f8ab5=_0x46a2a4;let _0x4251ed=_0x431ee9[_0x4f8ab5(0x325)],_0x19a260=_0x4251ed==null?void 0x0:_0x4251ed['target'];return _0x19a260 instanceof Element?_0x19a260:void 0x0;}function _0x3c2cbd(_0x1efd9b){var _0x221e6d;return(_0x221e6d=_0x37a710(_0x1efd9b))==null?void 0x0:_0x221e6d['getBoundingClientRect']();}function _0x130b97(_0x2df8d4){const _0x326b9c=_0x46a2a4;return _0x2df8d4['width']||_0x2df8d4[_0x326b9c(0x1be)]-_0x2df8d4['left'];}function _0x193456(_0x18c392){const _0x3ae304=_0x46a2a4;return _0x18c392[_0x3ae304(0x263)]||_0x18c392[_0x3ae304(0x187)]-_0x18c392[_0x3ae304(0x51d)];}function _0x40f7de(_0x3e5ae7,_0x51c213){const _0x3c4744=_0x46a2a4;let _0x4057f4=_0x3e5ae7['clientWidth']||(_0x3e5ae7 instanceof HTMLElement?_0x3e5ae7['offsetWidth']:0x0),_0x314f05=_0x3e5ae7[_0x3c4744(0x469)]||(_0x3e5ae7 instanceof HTMLElement?_0x3e5ae7[_0x3c4744(0x208)]:0x0),_0x53ef83=_0x130b97(_0x51c213),_0x25ccd0=_0x193456(_0x51c213);return{'scaleX':_0x4057f4>0x0&&_0x53ef83>0x0?_0x53ef83/_0x4057f4:_0x1ef57e[_0x3c4744(0x1ab)],'scaleY':_0x314f05>0x0&&_0x25ccd0>0x0?_0x25ccd0/_0x314f05:_0x1ef57e[_0x3c4744(0x2fb)]};}function _0x56e8dd(_0x27112e,_0x3f0332,_0x357262){const _0x196f55=_0x46a2a4;return{'left':_0x27112e['left']+_0x3f0332['left']*_0x357262['scaleX'],'right':_0x27112e['left']+_0x3f0332[_0x196f55(0x1be)]*_0x357262['scaleX'],'top':_0x27112e[_0x196f55(0x51d)]+_0x3f0332[_0x196f55(0x51d)]*_0x357262[_0x196f55(0x2fb)],'bottom':_0x27112e[_0x196f55(0x51d)]+_0x3f0332[_0x196f55(0x187)]*_0x357262[_0x196f55(0x2fb)]};}function _0x2bfb6b(_0x4ea1b3){const _0x1c42e1=_0x46a2a4;let _0x4de656=_0x37a710(_0x4ea1b3),_0x40e483=_0x4ea1b3[_0x1c42e1(0x1aa)]['bounds'];if(_0x4de656&&_0x40e483){let _0x3bdeb2=_0x4de656[_0x1c42e1(0x50c)]();return()=>{const _0x4cf726=_0x1c42e1;let _0x5c6f61=_0x4de656[_0x4cf726(0x50c)]();return(_0x4de656[_0x4cf726(0x4cf)]||_0x130b97(_0x5c6f61)>0x0||_0x193456(_0x5c6f61)>0x0)&&(_0x3bdeb2=_0x5c6f61),_0x56e8dd(_0x3bdeb2,_0x40e483,_0x40f7de(_0x4de656,_0x3bdeb2));};}return()=>{const _0x1d5f42=_0x1c42e1;let _0x4b5726=_0x3c2cbd(_0x4ea1b3);if(_0x4b5726&&_0x40e483)return _0x56e8dd(_0x4b5726,_0x40e483,_0x4de656?_0x40f7de(_0x4de656,_0x4b5726):_0x1ef57e);let _0x55a54c=_0x28e08e(_0x4ea1b3),_0x469281=_0x4de656&&_0x4b5726?_0x40f7de(_0x4de656,_0x4b5726):_0x1ef57e,_0x5a32d9=(_0x55a54c==null?void 0x0:_0x55a54c[_0x1d5f42(0x502)])??(_0x4b5726?_0x4b5726[_0x1d5f42(0x273)]+_0x4ea1b3[_0x1d5f42(0x48a)]['x']*_0x469281['scaleX']:_0x4ea1b3[_0x1d5f42(0x48a)]['x']),_0x19c817=(_0x55a54c==null?void 0x0:_0x55a54c[_0x1d5f42(0x413)])??(_0x4b5726?_0x4b5726[_0x1d5f42(0x51d)]+_0x4ea1b3[_0x1d5f42(0x48a)]['y']*_0x469281[_0x1d5f42(0x2fb)]:_0x4ea1b3['localPoint']['y']);return{'left':_0x5a32d9,'right':_0x5a32d9+0x1,'top':_0x19c817,'bottom':_0x19c817+0x1};};}function _0x1cfaa8(_0x265e41){return typeof _0x265e41=='number'&&Number['isFinite'](_0x265e41);}function _0x1a2f47(_0x5eaee5){if(!_0x5eaee5||typeof _0x5eaee5!='object')return!0x0;let {startX:_0x19536d,endX:_0x5587e3,startY:_0x3d06bb,endY:_0x53d7a0}=_0x5eaee5;return!_0x1cfaa8(_0x19536d)||!_0x1cfaa8(_0x5587e3)||!_0x1cfaa8(_0x3d06bb)||!_0x1cfaa8(_0x53d7a0)||_0x5587e3-_0x19536d>0x2&&_0x53d7a0-_0x3d06bb>0x2;}function _0xebf93a(_0x4a9902){const _0x3e18c7=_0x46a2a4;return _0x4a9902['right']<=_0x4a9902[_0x3e18c7(0x273)]||_0x4a9902[_0x3e18c7(0x187)]<=_0x4a9902[_0x3e18c7(0x51d)]?!0x1:typeof window>'u'||_0x4a9902[_0x3e18c7(0x1be)]>0x0&&_0x4a9902['bottom']>0x0&&_0x4a9902[_0x3e18c7(0x273)]<window[_0x3e18c7(0x2cf)]&&_0x4a9902[_0x3e18c7(0x51d)]<window['innerHeight'];}function _0x3acaa0(_0x426df1){const _0x4e7248=_0x46a2a4;var _0x7b565b;return _0x426df1==null||(_0x7b565b=_0x426df1[_0x4e7248(0x165)])==null?void 0x0:_0x7b565b['call'](_0x426df1);}function _0x22a20f(_0x2eb7e2,_0x46c1ff,_0x1336d9){const _0x1449da=_0x46a2a4;let _0x4b74d0=_0x2bfb6b(_0x2eb7e2),_0x577fa7=_0x3acaa0(_0x46c1ff),_0x28217f=_0x4b74d0(),_0x3520bd=new _0x32542e['BehaviorSubject'](_0x28217f),_0x8dfb53=new _0x4fd9fd['DisposableCollection'](),_0x56088d=!0x1,_0x286a34=!0x1,_0x1c5e1f=_0x37d63f=>_0x1a2f47(_0x577fa7)&&_0xebf93a(_0x37d63f),_0x46deeb=()=>{_0x286a34||_0x56088d||(_0x286a34=!0x0,queueMicrotask(()=>{const _0x1cbe18=_0x3470;if(_0x286a34=!0x1,!_0x56088d){let _0x23f865=_0x4b74d0();if(!_0x1c5e1f(_0x23f865)){_0x1336d9();return;}_0x3520bd[_0x1cbe18(0x551)](_0x23f865);}}));};return _0x46c1ff&&_0x8dfb53[_0x1449da(0x3fc)](_0x46c1ff[_0x1449da(0x3a1)](_0x12bc83=>{_0x577fa7=_0x12bc83,_0x46deeb();})),typeof window<'u'&&_0x8dfb53[_0x1449da(0x3fc)]((0x0,_0x32542e[_0x1449da(0x410)])((0x0,_0x32542e[_0x1449da(0x38f)])(window,_0x1449da(0x36c),{'capture':!0x0}),(0x0,_0x32542e[_0x1449da(0x38f)])(window,'resize'))['pipe']((0x0,_0x32542e[_0x1449da(0x28d)])(0x10))[_0x1449da(0x3a1)](_0x46deeb)),{'initialRect':_0x28217f,'anchorRect$':_0x3520bd['asObservable'](),'visible':_0x1c5e1f(_0x28217f),'dispose':()=>{_0x56088d=!0x0,_0x8dfb53['dispose'](),_0x3520bd['complete']();}};}let _0x1b623e=_0x46a2a4(0x1c7),_0x124a88=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x13d76c,_0x4d6973,_0x1b165e,_0x500b27,_0x5cbf8f,_0x4b66e8,_0x36f4fb,_0xadb51,_0x3c0ce0){const _0x45976a=_0x46a2a4;super(),this[_0x45976a(0x26f)]=_0x13d76c,this[_0x45976a(0x4d5)]=_0x4d6973,this[_0x45976a(0x213)]=_0x1b165e,this[_0x45976a(0x3fb)]=_0x500b27,this[_0x45976a(0x474)]=_0x5cbf8f,this[_0x45976a(0x300)]=_0x4b66e8,this[_0x45976a(0x2cc)]=_0x36f4fb,this['_commandService']=_0xadb51,this[_0x45976a(0x23e)]=_0x3c0ce0,_0x1f0d28(this,_0x45976a(0x554),null),_0x1f0d28(this,_0x45976a(0x25e),null),_0x1f0d28(this,_0x45976a(0x37c),null),this[_0x45976a(0x509)](),this['_subscribeChartEvents']();}[_0x46a2a4(0x217)](){const _0x54a3f3=_0x46a2a4;this[_0x54a3f3(0x1ff)](),super['dispose']();}[_0x46a2a4(0x509)](){const _0x371b20=_0x46a2a4;let _0x2fefa8=(0x0,_0x2890e0['createChartElementFloatMenuAdapter'])({'chartUIService':this[_0x371b20(0x300)],'getHostAdapter':_0x23c914=>{const _0x2c68d9=_0x371b20;let _0x2fa8b7=this['_chartModelService'][_0x2c68d9(0x23b)](_0x23c914['chartId']);if(_0x2fa8b7&&_0x23c914[_0x2c68d9(0x19c)])return new _0x2890e0['ChartHostAdapter'](_0x2fa8b7,new _0x4ae357[(_0x2c68d9(0x4c7))]({'unitId':_0x23c914['unitId'],'subUnitId':_0x23c914[_0x2c68d9(0x19c)],'chartId':_0x23c914[_0x2c68d9(0x576)],'injector':this['_injector']}));},'close':()=>this[_0x371b20(0x1ff)](),'openFullPanel':_0x4f7b4f=>{const _0x202704=_0x371b20;let {unitId:_0xd95c1d,subUnitId:_0x8c1a44,drawingId:_0x1c02b8,chartId:_0x1f5bd6}=_0x4f7b4f,_0x4e1558=(0x0,_0x2890e0['resolveChartEditPanelRoute'])(_0x4f7b4f[_0x202704(0x2b2)]);this[_0x202704(0x1dc)][_0x202704(0x477)](_0x30424f['id'],{'unitId':_0xd95c1d,'subUnitId':_0x8c1a44??'','drawingId':_0x1c02b8??_0x1f5bd6,..._0x4e1558?{'route':_0x4e1558}:{}});}});this[_0x371b20(0x2d1)](this[_0x371b20(0x2cc)][_0x371b20(0x3d5)](_0x1b623e,_0x2fefa8));}[_0x46a2a4(0x57b)](){const _0x2964b4=_0x46a2a4;this[_0x2964b4(0x2d1)](this[_0x2964b4(0x26f)]['chartModelAdded$'][_0x2964b4(0x3a1)](_0x5428e=>{const _0x41c237=_0x2964b4;let _0x44605f=new _0x4fd9fd[(_0x41c237(0x191))]();_0x44605f[_0x41c237(0x3fc)](this[_0x41c237(0x4d5)]['on'](_0x5428e['id'],_0x41c237(0x1f3),_0x120ddf=>{const _0x46d81c=_0x41c237;this[_0x46d81c(0x443)](_0x5428e['id'],_0x120ddf);})),_0x44605f[_0x41c237(0x3fc)](this[_0x41c237(0x4d5)]['on'](_0x5428e['id'],_0x41c237(0x288),()=>{this['_openEditPanelByDoubleClick'](_0x5428e['id']);})),_0x5428e[_0x41c237(0x1e9)](()=>{const _0x23658e=_0x41c237;_0x44605f[_0x23658e(0x217)](),this[_0x23658e(0x459)](_0x5428e['id']);}),this[_0x41c237(0x2d1)](_0x44605f);})),this[_0x2964b4(0x2d1)]((0x0,_0x32542e[_0x2964b4(0x23a)])([this[_0x2964b4(0x26f)][_0x2964b4(0x41e)],this[_0x2964b4(0x300)][_0x2964b4(0x26e)]])['subscribe'](([_0x166afb,_0x59a17f])=>{const _0x17528f=_0x2964b4;(!_0x59a17f||this['_popupChartId']&&(_0x166afb==null?void 0x0:_0x166afb['id'])!==this[_0x17528f(0x25e)])&&this[_0x17528f(0x1ff)]();})),this[_0x2964b4(0x2d1)](this[_0x2964b4(0x474)][_0x2964b4(0x2a6)][_0x2964b4(0x3a1)](({id:_0x4799a6})=>{this['_clearSelectedTarget'](_0x4799a6);})),this['disposeWithMe'](this[_0x2964b4(0x474)][_0x2964b4(0x210)][_0x2964b4(0x3a1)](({id:_0x20f0e2})=>{this['_clearSelectedTarget'](_0x20f0e2);})),this[_0x2964b4(0x2d1)](this[_0x2964b4(0x213)][_0x2964b4(0x30e)]['subscribe'](_0x1eb557=>{this['_clearSelectedTarget'](_0x1eb557);}));}[_0x46a2a4(0x42c)](_0x2c77cc){const _0x5dda50=_0x46a2a4;if(this['_chartUIService'][_0x5dda50(0x4d8)])return;let _0x2ba901=this[_0x5dda50(0x26f)][_0x5dda50(0x23b)](_0x2c77cc),_0x885d4f=this[_0x5dda50(0x474)][_0x5dda50(0x1a1)](_0x2c77cc);_0x2ba901&&_0x885d4f&&this['_commandService']['executeCommand'](_0x30424f['id'],{'unitId':_0x885d4f[_0x5dda50(0x2d9)],'subUnitId':_0x885d4f['subUnitId']??'','drawingId':_0x2c77cc});}['_openFloatMenu'](_0x4ac3cc,_0x291cd2){const _0x327c95=_0x46a2a4;if(!this['_chartUIService'][_0x327c95(0x3c0)](_0x4ac3cc))return;let _0x3e7a37=this['_chartModelService'][_0x327c95(0x23b)](_0x4ac3cc),_0x55ac6f=_0x3e7a37?_0x4cb114(_0x3e7a37,_0x291cd2[_0x327c95(0x1aa)]):void 0x0;if(!_0x55ac6f){this['_chartUIService'][_0x327c95(0x2b7)](),this['_closePopup']();return;}let _0x290126=this[_0x327c95(0x474)]['getFloatDomInfo'](_0x4ac3cc);if(!_0x3e7a37||!_0x290126){this[_0x327c95(0x300)]['clearPanelRoute'](),this[_0x327c95(0x1ff)]();return;}let _0x599a75=JSON[_0x327c95(0x49f)]([_0x290126[_0x327c95(0x2d9)],_0x290126[_0x327c95(0x19c)],_0x4ac3cc,_0x55ac6f['target']]);if(this[_0x327c95(0x554)]&&this[_0x327c95(0x37c)]===_0x599a75||(this[_0x327c95(0x300)]['setPanelRoute'](_0x4ac3cc,_0x55ac6f[_0x327c95(0x1f5)]),this[_0x327c95(0x1ff)](),!_0x55ac6f[_0x327c95(0x38a)]))return;let _0x466fd1=_0x22a20f(_0x291cd2,_0x290126['position$'],()=>this[_0x327c95(0x1f2)](_0x4ac3cc));if(!_0x466fd1[_0x327c95(0x496)]){_0x466fd1[_0x327c95(0x217)]();return;}let _0x26229a=this[_0x327c95(0x3fb)]['attachPopupToDynamicAbsolutePosition'](_0x466fd1[_0x327c95(0x225)],_0x466fd1[_0x327c95(0x34a)],{'componentKey':_0x2890e0[_0x327c95(0x242)],'constrainToCanvas':!0x0,'direction':_0x327c95(0x31b),'offset':[0x0,0x8],'extraProps':{'unitId':_0x290126[_0x327c95(0x2d9)],'subUnitId':_0x290126[_0x327c95(0x19c)],'chartId':_0x4ac3cc,'drawingId':_0x4ac3cc,'element':_0x291cd2[_0x327c95(0x1aa)],'target':_0x55ac6f[_0x327c95(0x2b2)],'adapterKey':_0x1b623e}},_0x290126[_0x327c95(0x2d9)],_0x290126[_0x327c95(0x19c)])??null;if(!_0x26229a){_0x466fd1[_0x327c95(0x217)]();return;}let _0x206d5e=new _0x4fd9fd['DisposableCollection']();_0x206d5e[_0x327c95(0x3fc)](_0x26229a),_0x206d5e[_0x327c95(0x3fc)](_0x466fd1),this['_popupDisposable']=_0x206d5e,this[_0x327c95(0x25e)]=_0x4ac3cc,this[_0x327c95(0x37c)]=_0x599a75;}[_0x46a2a4(0x1ff)](){const _0x528479=_0x46a2a4;var _0x366968;(_0x366968=this[_0x528479(0x554)])==null||_0x366968[_0x528479(0x217)](),this[_0x528479(0x554)]=null,this[_0x528479(0x25e)]=null,this[_0x528479(0x37c)]=null;}['_clearSelectedTarget'](_0x42e459){const _0x363c0f=_0x46a2a4;(this[_0x363c0f(0x300)]['isElementEditModeActive'](_0x42e459)||this[_0x363c0f(0x25e)]===_0x42e459)&&(this[_0x363c0f(0x300)][_0x363c0f(0x2b7)](),this[_0x363c0f(0x25e)]===_0x42e459&&this[_0x363c0f(0x1ff)]());}[_0x46a2a4(0x1f2)](_0x4943be){const _0x18bda9=_0x46a2a4;this[_0x18bda9(0x459)](_0x4943be),this[_0x18bda9(0x300)][_0x18bda9(0x3c0)](_0x4943be)&&(this[_0x18bda9(0x4d5)][_0x18bda9(0x21c)](_0x4943be,!0x1),this[_0x18bda9(0x4d5)][_0x18bda9(0x21c)](_0x4943be,!0x0));}};_0x124a88=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4ae357['ChartModelService'])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x2df583)),_0x3fa4ac(0x2,_0x3ead35),_0x3fa4ac(0x3,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x45f13f[_0x46a2a4(0x518)])),_0x3fa4ac(0x4,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xd7d9e[_0x46a2a4(0x4dc)])),_0x3fa4ac(0x5,_0x5edd90),_0x3fa4ac(0x6,(0x0,_0x4fd9fd['Inject'])(_0x2890e0[_0x46a2a4(0x366)])),_0x3fa4ac(0x7,_0x4fd9fd[_0x46a2a4(0x4c6)]),_0x3fa4ac(0x8,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0x4fd9fd['Injector']))],_0x124a88);function _0x34cfed({ref:_0x562e6a,..._0x25e439}){const _0x4c2461=_0x46a2a4;let {preserveStrokeWidth:_0x55bae3,icon:_0x240703,id:_0x1841c7,className:_0x9ebd29,extend:_0x3924eb,..._0x34b93c}=_0x25e439,_0x38936e=(_0x4c2461(0x1cb)+_0x1841c7+'\x20'+(_0x9ebd29||''))[_0x4c2461(0x3f6)](),_0x308647='_'+(0x0,_0x144ae0['useId'])(),_0x21de3c=(0x0,_0x144ae0[_0x4c2461(0x3ca)])(null);return(0x0,_0x144ae0[_0x4c2461(0x1b9)])(_0x562e6a,()=>_0x21de3c[_0x4c2461(0x434)]),(0x0,_0x144ae0[_0x4c2461(0x495)])(()=>{const _0x550d5c=_0x4c2461;if(_0x55bae3&&_0x21de3c[_0x550d5c(0x434)]&&_0x21de3c[_0x550d5c(0x434)][_0x550d5c(0x44a)]===_0x240703[_0x550d5c(0x371)])return _0x12918f(_0x21de3c['current']);},[_0x55bae3,_0x240703]),_0x3f2978(_0x240703,''+_0x1841c7,{'defIds':_0x240703['defIds'],'idSuffix':_0x308647},{'ref':_0x21de3c,'className':_0x38936e,..._0x34b93c},_0x3924eb);}function _0x3f2978(_0x3efcb1,_0x42772a,_0x47948a,_0x11257a,_0xb236fb){const _0x330df7=_0x46a2a4;return(0x0,_0x144ae0[_0x330df7(0x2f9)])(_0x3efcb1[_0x330df7(0x371)],{'key':_0x42772a,..._0xed0a54(_0x3efcb1,_0x47948a,_0xb236fb),..._0x11257a},(_0x482581(_0x3efcb1,_0x47948a)[_0x330df7(0x1ad)]||[])[_0x330df7(0x3b2)]((_0x40819f,_0x2d5212)=>_0x3f2978(_0x40819f,_0x42772a+'-'+_0x3efcb1[_0x330df7(0x371)]+'-'+_0x2d5212,_0x47948a,void 0x0,_0xb236fb)));}function _0xed0a54(_0x3396a8,_0x4a27a3,_0x411670){const _0x4af292=_0x46a2a4;let _0x577ab5={..._0x3396a8[_0x4af292(0x2bc)]};_0x411670!=null&&_0x411670['colorChannel1']&&_0x577ab5[_0x4af292(0x181)]===_0x4af292(0x278)&&(_0x577ab5[_0x4af292(0x181)]=_0x411670[_0x4af292(0x278)]),_0x411670!=null&&_0x411670[_0x4af292(0x278)]&&_0x577ab5[_0x4af292(0x227)]===_0x4af292(0x278)&&(_0x577ab5[_0x4af292(0x227)]=_0x411670[_0x4af292(0x278)]),_0x3396a8['tag']===_0x4af292(0x4e1)&&_0x577ab5['id']&&(_0x577ab5['id']+=_0x4a27a3[_0x4af292(0x468)]),Object['entries'](_0x577ab5)[_0x4af292(0x4d4)](([_0x571207,_0x558716])=>{const _0x5d7ccd=_0x4af292;_0x571207===_0x5d7ccd(0x4e1)&&typeof _0x558716=='string'&&(_0x577ab5[_0x571207]=_0x558716[_0x5d7ccd(0x1e1)](/url\(#(.*)\)/,_0x5d7ccd(0x185)+_0x4a27a3['idSuffix']+')'));});let {defIds:_0x2058b4}=_0x4a27a3;return!_0x2058b4||_0x2058b4[_0x4af292(0x3f8)]===0x0||(_0x3396a8[_0x4af292(0x371)]===_0x4af292(0x350)&&_0x577ab5[_0x4af292(0x485)]&&(_0x577ab5[_0x4af292(0x485)]+=_0x4a27a3[_0x4af292(0x468)]),Object[_0x4af292(0x30d)](_0x577ab5)[_0x4af292(0x4d4)](([_0x20717d,_0xf1012c])=>{const _0x4ef382=_0x4af292;typeof _0xf1012c==_0x4ef382(0x257)&&(_0x577ab5[_0x20717d]=_0xf1012c[_0x4ef382(0x1e1)](/url\(#(.*)\)/,'url(#$1'+_0x4a27a3[_0x4ef382(0x468)]+')'));})),_0x577ab5;}function _0x482581(_0xf0b939,_0x5ad7e4){const _0x575f03=_0x46a2a4;var _0x930f8;let {defIds:_0x4efaf3}=_0x5ad7e4;return!_0x4efaf3||_0x4efaf3[_0x575f03(0x3f8)]===0x0?_0xf0b939:_0xf0b939[_0x575f03(0x371)]===_0x575f03(0x53d)&&(_0x930f8=_0xf0b939['children'])!=null&&_0x930f8[_0x575f03(0x3f8)]?{..._0xf0b939,'children':_0xf0b939[_0x575f03(0x1ad)][_0x575f03(0x3b2)](_0x2aa4be=>typeof _0x2aa4be[_0x575f03(0x2bc)]['id']==_0x575f03(0x257)&&_0x4efaf3&&_0x4efaf3[_0x575f03(0x388)](_0x2aa4be[_0x575f03(0x2bc)]['id'])?{..._0x2aa4be,'attrs':{..._0x2aa4be[_0x575f03(0x2bc)],'id':_0x2aa4be[_0x575f03(0x2bc)]['id']+_0x5ad7e4['idSuffix']}}:_0x2aa4be)}:_0xf0b939;}function _0x12918f(_0x528387){const _0x590062=_0x46a2a4;let _0x4833c7=_0x528387[_0x590062(0x299)]['baseVal'],_0x2707d6=Math[_0x590062(0x183)](_0x4833c7[_0x590062(0x4bb)],_0x4833c7[_0x590062(0x263)]);if(!Number[_0x590062(0x186)](_0x2707d6)||_0x2707d6<=0x0||_0x4833c7['width']<=0x0||_0x4833c7[_0x590062(0x263)]<=0x0)return()=>void 0x0;let _0x5d4542=0x10/_0x2707d6,_0x433f00=Array[_0x590062(0x3d8)](_0x528387[_0x590062(0x46e)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x590062(0x4f3)](_0x1379b4=>{const _0x232cf5=_0x590062;let _0x934423=getComputedStyle(_0x1379b4),_0x4d1051=Number[_0x232cf5(0x16b)](_0x934423[_0x232cf5(0x4ef)]);return _0x934423[_0x232cf5(0x227)]===_0x232cf5(0x385)||Number['parseFloat'](_0x934423[_0x232cf5(0x4c0)])===0x0||_0x934423[_0x232cf5(0x419)]===_0x232cf5(0x20e)||!Number[_0x232cf5(0x186)](_0x4d1051)||_0x4d1051<=0x0?[]:[{'element':_0x1379b4,'hadStyleAttribute':_0x1379b4[_0x232cf5(0x171)](_0x232cf5(0x20a)),'originalStrokeWidth':_0x4d1051,'strokeWidth':_0x30cb4b(_0x1379b4[_0x232cf5(0x20a)],'stroke-width')}];})[_0x590062(0x3b2)](_0x1bc2f9=>({'appliedStrokeWidth':null,'element':_0x1bc2f9[_0x590062(0x3c5)],'hadStyleAttribute':_0x1bc2f9[_0x590062(0x29d)],'isReleased':!0x1,'originalStrokeWidth':_0x1bc2f9[_0x590062(0x445)],'strokeWidth':_0x1bc2f9[_0x590062(0x4ef)]}));if(_0x433f00['length']===0x0)return()=>void 0x0;let _0x3013f7=(_0x951944,_0x386cd9)=>{const _0x904ccd=_0x590062;if(_0x4833c7[_0x904ccd(0x4bb)]<=0x0||_0x4833c7['height']<=0x0||_0x951944<=0x0||_0x386cd9<=0x0)return;let _0x38c5e8=Math[_0x904ccd(0x2f8)](_0x951944/_0x4833c7[_0x904ccd(0x4bb)],_0x386cd9/_0x4833c7[_0x904ccd(0x263)]);!Number[_0x904ccd(0x186)](_0x38c5e8)||_0x38c5e8<=0x0||_0x433f00[_0x904ccd(0x4d4)](_0x219c9e=>{const _0x903a78=_0x904ccd;if(_0x219c9e[_0x903a78(0x21e)])return;if(_0x219c9e[_0x903a78(0x3ef)]!==null&&(_0x219c9e['element'][_0x903a78(0x20a)][_0x903a78(0x3ed)](_0x903a78(0x504))!==_0x219c9e['appliedStrokeWidth']||_0x219c9e[_0x903a78(0x3c5)][_0x903a78(0x20a)][_0x903a78(0x231)](_0x903a78(0x504))!==_0x219c9e[_0x903a78(0x4ef)]['priority'])){_0x219c9e['appliedStrokeWidth']=null,_0x219c9e[_0x903a78(0x21e)]=!0x0;return;}let _0x5ea59d=_0x219c9e['originalStrokeWidth']*_0x5d4542/_0x38c5e8,_0x10577f=Number(_0x5ea59d[_0x903a78(0x3b1)](0xc))+'px';_0x219c9e[_0x903a78(0x3c5)][_0x903a78(0x20a)][_0x903a78(0x50e)](_0x903a78(0x504),_0x10577f,_0x219c9e[_0x903a78(0x4ef)]['priority']),_0x219c9e[_0x903a78(0x3ef)]=_0x10577f;});},_0x15731c=_0x528387[_0x590062(0x50c)]();_0x3013f7(_0x15731c[_0x590062(0x4bb)],_0x15731c[_0x590062(0x263)]);let _0x4f5e30=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x314680=>{const _0x3d30ae=_0x590062;if(_0x314680[_0x3d30ae(0x279)](_0x16841e=>_0x16841e[_0x3d30ae(0x2b2)]===_0x528387)){let _0xc41e4b=_0x528387['getBoundingClientRect']();_0x3013f7(_0xc41e4b[_0x3d30ae(0x4bb)],_0xc41e4b[_0x3d30ae(0x263)]);}});return _0x4f5e30==null||_0x4f5e30['observe'](_0x528387),()=>{const _0x15baf2=_0x590062;_0x4f5e30==null||_0x4f5e30[_0x15baf2(0x535)](),_0x433f00['forEach'](_0x1c3508=>{const _0x2fac17=_0x15baf2;_0x1c3508['appliedStrokeWidth']!==null&&(_0x369127(_0x1c3508[_0x2fac17(0x3c5)]['style'],_0x2fac17(0x504),_0x1c3508[_0x2fac17(0x3ef)],_0x1c3508['strokeWidth'][_0x2fac17(0x42b)],_0x1c3508[_0x2fac17(0x4ef)]),!_0x1c3508['hadStyleAttribute']&&_0x1c3508[_0x2fac17(0x3c5)][_0x2fac17(0x20a)]['length']===0x0&&_0x1c3508[_0x2fac17(0x3c5)][_0x2fac17(0x323)](_0x2fac17(0x20a)));});};}function _0x30cb4b(_0x5e82c6,_0x1f20a8){const _0xa6e07=_0x46a2a4;return{'priority':_0x5e82c6[_0xa6e07(0x231)](_0x1f20a8),'value':_0x5e82c6[_0xa6e07(0x3ed)](_0x1f20a8)};}function _0x369127(_0x47592b,_0x868e94,_0x435718,_0x18f970,_0x397fde){const _0x12243f=_0x46a2a4;_0x47592b[_0x12243f(0x3ed)](_0x868e94)===_0x435718&&_0x47592b['getPropertyPriority'](_0x868e94)===_0x18f970&&(_0x397fde['value']?_0x47592b[_0x12243f(0x50e)](_0x868e94,_0x397fde[_0x12243f(0x54e)],_0x397fde['priority']):_0x47592b['removeProperty'](_0x868e94));}_0x34cfed[_0x46a2a4(0x2ba)]='UniverIcon';let _0x461578={'tag':_0x46a2a4(0x3a6),'attrs':{'xmlns':_0x46a2a4(0x2c6),'fill':_0x46a2a4(0x385),'viewBox':_0x46a2a4(0x3f9),'width':'1em','height':_0x46a2a4(0x21d)},'children':[{'tag':_0x46a2a4(0x44c),'attrs':{'fill':_0x46a2a4(0x20d),'d':_0x46a2a4(0x4a1)}}]},_0x3cb2be=(0x0,_0x144ae0['forwardRef'])(function(_0x136234,_0x584b91){const _0x2828e3=_0x46a2a4;return(0x0,_0x144ae0['createElement'])(_0x34cfed,Object[_0x2828e3(0x57f)]({},_0x136234,{'id':_0x2828e3(0x52d),'ref':_0x584b91,'icon':_0x461578}));});_0x3cb2be[_0x46a2a4(0x2ba)]=_0x46a2a4(0x46d);let _0x444edd=class extends _0x4fd9fd[_0x46a2a4(0x345)]{constructor(_0x40e369,_0x214872){const _0x28e4cd=_0x46a2a4;super(),this[_0x28e4cd(0x37e)]=_0x40e369,this[_0x28e4cd(0x380)]=_0x214872,this[_0x28e4cd(0x3ce)](),this['_registerComponents']();}[_0x46a2a4(0x3ce)](){const _0x66eee5=_0x46a2a4;this[_0x66eee5(0x2d1)](this[_0x66eee5(0x380)][_0x66eee5(0x3d5)]({'PenIcon':_0x3cb2be}));}[_0x46a2a4(0x51e)](){const _0x4aa65b=_0x46a2a4;[[_0x5b8dde,_0x1e5c4d]][_0x4aa65b(0x4d4)](([_0x23a50a,_0x38d799])=>{const _0x2462a6=_0x4aa65b;this['disposeWithMe'](this[_0x2462a6(0x37e)][_0x2462a6(0x3d5)](_0x23a50a,_0x38d799));});}};_0x444edd=_0x43fe6e([_0x3fa4ac(0x0,(0x0,_0x4fd9fd['Inject'])(_0xdda337['ComponentManager'])),_0x3fa4ac(0x1,(0x0,_0x4fd9fd[_0x46a2a4(0x333)])(_0xdda337[_0x46a2a4(0x52e)]))],_0x444edd);let _0x2da743=class extends _0x4fd9fd[_0x46a2a4(0x19b)]{constructor(_0x576cf3=_0x5caab6,_0x70ac2a,_0x424b69,_0x42feff){const _0x38ea7d=_0x46a2a4;super(),this['_config']=_0x576cf3,this['_injector']=_0x70ac2a,this['_configService']=_0x424b69,this[_0x38ea7d(0x1dc)]=_0x42feff,_0x1f0d28(this,_0x38ea7d(0x45d),void 0x0);let {..._0x400297}=(0x0,_0x4fd9fd[_0x38ea7d(0x410)])({},_0x5caab6,this['_config']);this[_0x38ea7d(0x45d)]=_0x400297,this[_0x38ea7d(0x455)][_0x38ea7d(0x32b)](_0x25d5b5,_0x400297),this[_0x38ea7d(0x2a5)]();}[_0x46a2a4(0x513)](){const _0x1b58eb=_0x46a2a4;this[_0x1b58eb(0x23e)][_0x1b58eb(0x3fc)]([_0x444edd]),this['_injector']['get'](_0x444edd);let _0x5979e6=this[_0x1b58eb(0x23e)],_0x2415ec=[[_0x5edd90,{'useClass':_0x432a3b}],[_0x3ead35,{'useClass':_0x1c4861}],[_0x7a2e4d],[_0x2df583],[_0x31fae9],[_0x5d14e9],[_0x88383],[_0x175aea],[_0x1651df],[_0x248f11],[_0x120ee1]],_0x410a1a=[[_0x5d14e9],[_0x175aea],[_0x88383],[_0x31fae9],[_0x5edd90],[_0x1651df],[_0x248f11],[_0x120ee1]];this[_0x1b58eb(0x45d)][_0x1b58eb(0x3b9)]&&(_0x2415ec[_0x1b58eb(0x4b3)]([_0x124a88]),_0x410a1a[_0x1b58eb(0x4b3)]([_0x124a88])),_0x2415ec[_0x1b58eb(0x4d4)](_0x5c1a7a=>_0x5979e6[_0x1b58eb(0x3fc)](_0x5c1a7a)),(0x0,_0x4fd9fd[_0x1b58eb(0x461)])(this['_injector'],_0x410a1a);}[_0x46a2a4(0x49d)](){const _0x56a77e=_0x46a2a4;var _0x364448;(_0x364448=this[_0x56a77e(0x23e)][_0x56a77e(0x3a8)](_0x5d14e9))==null||_0x364448['initPanel']();}[_0x46a2a4(0x2a5)](){const _0x2abf2d=_0x46a2a4;[_0xb02f0e,_0x548432,_0x50d06c,_0x514e94,_0x17dd36,_0x30424f,_0x29aced]['forEach'](_0x2d2afa=>this[_0x2abf2d(0x2d1)](this[_0x2abf2d(0x1dc)][_0x2abf2d(0x198)](_0x2d2afa)));}};_0x1f0d28(_0x2da743,_0x46a2a4(0x316),_0x4fd9fd[_0x46a2a4(0x1ee)][_0x46a2a4(0x483)]),_0x1f0d28(_0x2da743,_0x46a2a4(0x4d0),_0x46a2a4(0x436)),_0x1f0d28(_0x2da743,_0x46a2a4(0x179),_0xa09490),_0x1f0d28(_0x2da743,'version',_0x3eac06),_0x2da743=_0x43fe6e([(0x0,_0x4fd9fd[_0x46a2a4(0x17a)])(_0x546d23['UniverLicensePlugin'],_0x46891f[_0x46a2a4(0x42d)],_0x249319[_0x46a2a4(0x1f4)],_0x503f0c[_0x46a2a4(0x55d)],_0x73a89a[_0x46a2a4(0x3e7)],_0x2890e0[_0x46a2a4(0x2e7)],_0x4ae357[_0x46a2a4(0x222)],_0xd7d9e[_0x46a2a4(0x569)],_0x45f13f['UniverSheetsUIPlugin']),_0x3fa4ac(0x1,(0x0,_0x4fd9fd['Inject'])(_0x4fd9fd['Injector'])),_0x3fa4ac(0x2,_0x4fd9fd['IConfigService']),_0x3fa4ac(0x3,_0x4fd9fd[_0x46a2a4(0x4c6)])],_0x2da743),_0x4923cb[_0x46a2a4(0x481)]=_0x30424f,Object[_0x46a2a4(0x212)](_0x4923cb,_0x46a2a4(0x1d2),{'enumerable':!0x0,'get':function(){return _0x2df583;}}),_0x4923cb['ISheetsChartUIService']=_0x5edd90,_0x4923cb[_0x46a2a4(0x2da)]=_0x25d5b5,Object[_0x46a2a4(0x212)](_0x4923cb,_0x46a2a4(0x532),{'enumerable':!0x0,'get':function(){return _0x5d14e9;}}),_0x4923cb[_0x46a2a4(0x3b6)]=_0x2c12b8,Object[_0x46a2a4(0x212)](_0x4923cb,_0x46a2a4(0x541),{'enumerable':!0x0,'get':function(){return _0x432a3b;}}),Object[_0x46a2a4(0x212)](_0x4923cb,_0x46a2a4(0x1c4),{'enumerable':!0x0,'get':function(){return _0x4d87e3;}}),Object[_0x46a2a4(0x212)](_0x4923cb,_0x46a2a4(0x436),{'enumerable':!0x0,'get':function(){return _0x2da743;}}),_0x4923cb['createChartElementPopupAnchorObserver']=_0x22a20f;}));