@univerjs-pro/sheets-chart-ui 1.3.1 → 1.4.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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +1 -1
- package/lib/types/services/sheets-chart-ui.service.d.ts +1 -1
- package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +8 -8
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +24 -24
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2184(){const _0x3d0729=['_bindPointerEvents','preventDefault','_injector','replace','add$','sheets-chart-ui.common.chartAndAxisTitles','ChartTypeSpecificStyleSection','releasePointerCapture','_applyHostStyle','config$','getUnit','UniverSheets','moveTo','isLatest','UniverDrawing','initialRect','ChartTypeBits','radius','_disposeChartEventSubscriptions','_sheetPermissionCheckController','_notifySheetChartsDetached','_init','_frame','IMenuManagerService','defineProperty','checkChartCanRender','RemoveSheetCommand','rangeInfo$','syncLayout','lineTo','offsetLeft','UniverSheetsChartUIPlugin','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','rect','Observable','packageName','-univer-mx-4','UniverSheetsChartPlugin','_contextService','_resetChartRuntimeZIndex','getRenderUnitById','RENDER_CLASS_TYPE','_registerAdapter','clear','rightYAxis','getDrawingByParam','registerCommand','_pendingToken','getObjectIncludeInGroup','isRender','blockExecuteWithoutPermission','ChartRenderService','sheets-chart-ui.common.heatmap','useObservable','pipe','copyType','_themeService','UniverSheetsDrawingMobileUIPlugin','_applyActiveChartRuntimeZIndex','_initActiveRuntimeLayerListener','symbol','_releaseGesture','map','_disposeChartRenderInstance','_activateHostWrapper','ComponentManager','8917400QgKZsY','_generateCopyPasteMutations','ChartAxisSection','_renderManagerService','featurePluginUngroupUpdate$','direction$','_renderModelManager','zIndex','UniverIcon','_componentManager','sheets-chart-ui.common.trendline','addEventListener','getName','sheets-chart-ui.section.pie','href','SheetsChartUIMenuSchema','unitId','type','chartType','domLayers','parent','sheets-chart-ui.chartTypes.area','take','ChartGridlinesAndTicksSection','scale','DEFAULT_CHART_AXIS_VALUES','_onChange','DEFAULT_CHART_PIE_VALUES','getSheetCommandTarget','Transform','_chartHostProvider','isDomReady','wordCloud','_getOrCreateChartRenderInstance','1241982ZhsRbJ','sheet.chart.edit.panel','endsWith','useLayoutEffect','_initPrinting','sheets-chart-ui.common.invalidDataRange','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','UniverLicensePlugin','nextVersion','Fail\x20to\x20create\x20float\x20dom','ChartWaterfallStyleSection','Gauge','sheets-chart-ui.section.wordCloud','Style','mergeMenu','call','length','addObject','UniverEngineRender','hidePanel','getFocusedUnit','@univerjs-pro/sheets-chart-ui','registerRenderObjectFactory','ObjectType','left','opacity','ChartSectionAccordionItem','missing-float-dom','Reference','next','close','_adapterRegistry','_isProviderDisposed','sheets-chart-ui.chartTypes.line','_renderWhenConfigReady','_activateEditPanelState','jsxs','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','_pendingDataUpdateChartIds','_chartRenderMode','startColumn','getContextValue','name','getBatchUpdateOp','getRect','priority','VerticalAxis','4278582DbCRyx','_getChartRenderObject','_getSceneAndTransformerByDrawingSearch','logicalOuterRect','sheets-chart-ui.config','setImage','sheets-chart-ui.section.funnel','getAllowedChartTypes','attrs','absolute','focused$','_copyInfo','sheets-chart-ui.section.gridlinesAndTicks','@univerjs/engine-formula','getRangeInfo','SheetInterceptorService','CommandType','getChartPopupMenus','startRow','width','sheetChartDataAnimation','UniverChartUIPlugin','_hostStyle','IConfigService','idSuffix','_chartModelService','ancestorTransform','_chartHostMap','KeyCode','sheets-chart-ui.common.verticalAxis','insertGroupObject','merge','distinctUntilChanged','commitSnapshot','relation','_getChartSnapshotKey','UniverEngineFormula','_entries','_running','assign','NativeTextEditorShortcutBehavior','setActiveChartModel','stroke','handleActiveSubUnitChange','_createCopyInfoByRange','SheetPermissionCheckController','Checkbox','_getImage','LineAndArea','ChartUpdateSourceCommand','attachPopupToDynamicAbsolutePosition','_panelInitialized','header','_clearPendingUrlImage','_focusedDrawings','SheetPrintInterceptorService','0\x200\x2016\x2016','getRenderColor','UniverMobileUIPlugin','_renderDebounceMap','getBatchRemoveOp','removeEventListener','sheets-chart-ui.common.useAsCategoryLabels','RangeSelector','hasPointerCapture','color','sheet.command.chart.export-focused-image','#-#','pluginName','UniverUi','openChartPanelById','sheets-chart-ui.section.paretoBar','_getFloatDomInfo','_savedWrapperStyle','dblclick','_getPlacement','univer-flex\x20univer-flex-col\x20univer-gap-3','Positive','fromEntries','exportImage','CopySheetCommand','setProps','_configService','1em','tab','Disposable','label','amd','chartModelId','debounce','COMMA','_updateTransform','ChartLineAndAreaSection','resolveDefaultChartHostFrameStyle','resolve','onTransformChange$','_getChartRenderObjectContext','@univerjs/ui','getOrCreateDrawingCopyPlan','_scheduleDataUpdateAnimationEnd','useEffect','naturalHeight','PRINTING_COMPONENT_COLLECT','sheets-chart-ui.chord.target','current','_chartUIService','error','includes','2397018enkRNr','objects','values','IDrawingManagerService','applyPoint','chartEditorOpen$','_suppressClick','sheets-chart-ui.waterfall.subtotal','visible','redo','scene','UniverSheetsDrawingUi','_generatePasteMutations','items','chartBitsUtils','sheets-chart-element-float-menu','DataOrientation','max','_isChartElementEditEnabled','segmented','DEFAULT_CHART_TRENDLINE_VALUES','DownloadImageIcon','disposeWithMe','default','titles','UniverDrawingUi','_getOrCreateSheetChartHost','Heatmap','ChartThreeDSection','ChartFrameContentMode','anonymous','_popupDisposable','style$','keys','executeCommand','INSERT','hasAttribute','_menuManagerService','ChartEditorProvider','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','toFixed','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SheetCanvasPopManagerService','SheetChartConfigAdapter','inactive-sheet','UniverSheetsChartMobileUIPlugin','setOrientation','route','@univerjs/sheets-drawing','useImperativeHandle','_disposed','sheets-chart-ui.common.copy','SheetsChartUIService','@univerjs/sheets-drawing-ui','Combination','-univer-mx-4\x20univer-overflow-visible','_bindChartEventHandler','subscribeEvent','ChartRelationStyleSection','25264tLbIzJ','config','getParent','DrawingApplyType','getSubUnitId','_sheetsChartUIService','createRuntimeChartStyle','_loadUrlImage','DEFAULT_PASTE','IndicatorLine','_activateDataUpdateAnimation','Subject','_chartEventSubscriptions','abs','_chartElementEditMode','hadStyleAttribute','string','WorksheetEditPermission','COPY_TYPE','sheets-chart-ui.common.editChart','isValidRange','getDrawingData','offsetTop','ChartImageExportService','_cancelHostWait','_canAnimateDataUpdate','lostpointercapture','style','_executeChartUpdateSourceConfig','transform','titleKey','_openPanel','Subtotal','bounds','ImageChartHost','top','sheets-chart-ui.section.indicatorLine','value','offsetHeight','register','_chartRenderService','clientX','sheets-chart-ui.common.showHiddenData','enableChartElementFloatMenu','getBoundingClientRect','makeDirty','DEFAULT_CHART_WATERFALL_STYLE_VALUES','Column','_alignFloatDomPositionWithSceneRender','promise','scheduler','_subscribeChartEvents','requestPaint','getObject','blur','sheets-chart-ui.common.switchRowColumn','Radar','then','resourceCollector','use','chartTypeSupportsCapability','IContextService','ChartUpdateConfigCommand','_gesture','skip','removeHost$','naturalWidth','sheets-chart-ui.section.sunburst','getImage','_markNotReady','canvas','subscribe','@univerjs-pro/sheets-chart','onPointerMove','SheetSkeletonManagerService','verify','radar','getCurrentLastSelection','getConfig','isFinite','sheets-chart-ui.section.treemap','invert','_activeChartId','getRealBound','SheetsChartUIController','finally','markUnmanaged','SHEET_CHART_RENDER_OBJECT_CONFIG','evented','remove','from','DEFAULT_CHART_LEGEND_VALUES','_initSheetChange','afterRender$','setHostStyle','UniverProLicense','Funnel','MobileRangeSelector','sheets-chart-ui.section.gauge','push','updateFloatDomProps','_disposeChartChangeListeners','setDataUpdateAnimation','createIdentifier','auto','_isOwnedChart','_waiter','chartId','getDrawingOrder','appliedStrokeWidth','RemoveSheetsChartMutation','_createImageChartHost','_disposeChartDomInstance','exports','labelId','parentElement','_keepChartCapture','WaterfallSeries','_panelRoute$','getCurrentTypeOfUnit$','_createPrintingChartObject','@univerjs/drawing','onStarting','_prepareDataUpdateRender','_syncActiveEditChart','anchorRect$','_scheduler','3717VbLhtS','startX','@univerjs/core','copyId','UniverDesign','open','stroke-width','getChartDataSource','_registerChartImageRenderObjectFactory','_resolvedConfig','univer-overflow-hidden','resolveChartEditPanelRoute','getActiveSheet','mountNode','122EvaDgK','split','removeProperty','_chartHostProviderService','UniverSheetsUi','_sheetCanvasFloatDomManagerService','getInterceptPoints','COMMAND','isManaged','checkMounted','isReleased','SHEETS_CHART_PLUGIN_CONFIG_KEY','translate','border','strokeOpacity','pointerEvents','idMap','multiply','_snapshotStore','setConfig','CHART','useRef','executeChartUpdateConfig','clientHeight','getUnitId','28203SppCCZ','getChartModel','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','getChartSourceSpec','subUnitId','getDrawingShapeKeyByDrawingSearch','UniverInstanceType','clip','addClipboardHook','_initMenus','_managed','_listenChartUpdateMutations','serialize','_sheetDrawingService','ISheetDrawingService','focusDrawing','request','svg','pairwise','innerHeight','pieSecondaryPlotType','darkMode$','Sunburst','_chartChangeSubscriptions','DEFAULT_CHART_TITLE_VALUES','concat','currentColor','UniverSheetsDrawingUIPlugin','sheets-chart-ui.common.setup','getDirection','PieStyle','_pendingUrlImage','setChartEditorOpen','image','xlink:href','_setHostStyle','detach','_rect','_setChartRuntimeZIndex','UniverSheetsDrawing','getMenuHiddenObservable','nativeEvent','resolveChartElementSelection','stringify','entries','_getDrawable','range','sheets-chart-ui.section.relation','offsetWidth','createChartElementPopupAnchorObserver','_pointerEvents','setContextValue','undo','_shouldEnableChartElementEdit','_requestChartCanvasRender','updateFloatDom','sourceSubUnitId','path','animateDataUpdate','_image','originalStrokeWidth','DisposableCollection','right','ensureHandle','activeChartModel$','_cancelDebouncedCallbacks','@univerjs/design','none','ChartWaterfallStyleTarget','targetSubUnitId','Boxplot','mode','_commandService','supports','CHART_DATA_UPDATE_ANIMATION_DURATION','ContextMenuPosition','ChartHostAdapter','DEFAULT_CHART_HEATMAP_VALUES','_sidebarService','getCurrentRangeDisable$','_deactivateEditPanelState','some','_frameStyle','isArray','@univerjs/sheets','top-center','dataSource','ChartEditPanelSection','Rect','_dataUpdateAnimationTimers','ChartSetupPanel','HorizontalAxis','cancel','sheet-chart-setup-panel','event','_debounceHandleMap','object','_iconManager','ParetoBarSeries','Dom','axis','sheets-chart.ui.service','DEFAULT_CHART_PARETO_VALUES','useId','combineLatestWith','trim','_disposeImage','_chartEventHandlers','_addWatermark','unsubscribe','_version','ChartAndAxisTitles','_chartEditorOpen$','_sheetInterceptorService','_createHost','moveX','context$','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','touchDependencies','indexOf','clearChart','Image','_debounceHandle','_clearSelectedTarget','(prefers-reduced-motion:\x20reduce)','_getCurrentSnapshotImage','onerror','Inject','transparent','onPointerUp','SheetsChartService','forwardRef','GROUP','_dataUpdateAnimationDuration','Treemap','legend','clientY','_renderService','markHostNotReady','_chartThemeService','_closePopup','UniverCore','getSheetId','renderChartsForPrinting','_activeDomReadyChartIds','_clearHiddenSelectedTarget','ParetoLineSeries','throttleTime','OVERRIDE_NATIVE','160005nMNAeQ','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','dataset','_callback','markReady','setElementEditMode','_updateGeometry','MenuItemType','sheets-chart-ui.common.chart','Pareto','ChartRenderMode','Canvas','ChartModelService','bind','_geometry','resolveChartRuntimeStyle','category','remove$','UniverSheetsDrawingPlugin','delete','DeleteIcon','sheets-chart-ui.section.radar','DEFAULT_CHART_LINE_AND_AREA_VALUES','getPropertyValue','_markReady','onPointerDown','function','hasOwnProperty','drawWith','DEFAULT_CHART_FUNNEL_VALUES','_renderChartModel','_config','sheets-chart-ui.section.chord','getCanvasElement','arc','permissionCheckWithoutRange','toDisposable','changeEnd$','ChartSeriesSection','Histogram','has','ChartLegendSection','getHostClientRect','_sheetDrawingHitTestService','DrawingTypeEnum','featurePluginOrderUpdate$','univer-shrink-0','pointercancel','defIds','_resolveLayout','url(#$1','endX','_cancelGesture','isElementEditModeActive','ChartUpdateConfigMutation','_initCommands','_draw','useMemo','_openEditPanelByDoubleClick','_popupSessionKey','LocaleService','MEDIA','IUniverInstanceService','_createChartRenderInstanceContext','startY','generateRandomId','UniverProChartUi','_readGeometry','Scatter','_rangeSelectMode','_localeService','Series','panelRoute$','dom','sheets-chart-ui.common.deleteChart','_getHostPlacement','chartEditorOpen','useDependency','useState','flush','getCurrentUnitOfType','section','sheets-chart-ui.waterfall.positive','setStyle','Injector','ChartDomFrame','with','DRAWING','SHEETS_CHART_PLUGIN_NAME','mobile-sheet-chart-style-panel','sheets-chart-ui.common.exportImage','ChartFrameLayout','takeSnapshot','_requestedUrl','featurePluginGroupUpdate$','chartTypeCanUseTrendLine','min','_univerInstanceService','serializeRangeWithSheet','create','getBatchAddOp','sheets-chart-ui.chartTypes.','onRendered','_initDrawingDeactivationListener','missing-active-sheet','registerFeatureMenu','SetDrawingApplyMutation','decorate','deserializeRangeWithSheet','_restoreHostWrapper','_shouldSuppressRender','rangeInfo','_pending','getRenderModel','_renderAfterChartUpdateMutation','setProperty','renderTransition','onDoubleClick$','render','stopImmediatePropagation','resize','ChartEditPanelTab','imageBitmap','ContextMenuGroup','chartModelAdded$','ENTER','drawImage','series','_resizeChart','sheets-chart-ui.section.candlestick','withLatestFrom','dispose','children','defs','Relation','InsertChartCommand','isRowDirection','BehaviorSubject','non-scaling-stroke','WordCloud','getPropertyPriority','activeChartModel','sidebarOptions$','WorkbookEditablePermission','innerWidth','height','CUT','UniverSheetsFormulaUi','assignStyle','mask','small','_snapshotKey','combineLatest','Button','chartObject','querySelectorAll','getValue','getChartSnapshotImage','rxjs','strokeWidth','univer-overflow-visible','update','emitChartEvent','getSkeleton','_pendingHost','getMatrix','params','intercept','Data','DEFAULT_CHART_RELATION_VALUES','matches','_pendingMutationConfigRenders','pareto','DRAWING_OBJECT_LAYER_INDEX','UniverSheetsUIPlugin','_clearPanelState','oKey','activeRuntimeModel','ThemeService','_removeHost$','_handleDrawingDoubleClick','_restoreFloatDomPositionStream','sheets-chart-ui.common.openChartPanel','rangeSelectMode','sheets-chart-ui.common.insertChart','BUTTON','globalAlpha','Axes','ensureHost','_resolveChartRenderMode','toPrimitive','IChartRenderModelManagerService','baseVal','startWith','groupId','ISidebarService','InsertSheetsChartMutation','sheets-chart-ui.common.horizontalAxis','setDataRange','rightY','getId','IconManager','target','_sheetSkeletonService','SELECTOR','EChartRenderEngineName','div','filter','ChartEditorTabs','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','createElement','SheetCanvasFloatDomManagerService','SheetCopyCommand','colorChannel1','invalidateSnapshot','view','SVG','localPoint','focus$','domId','_sheetsChartService','_registerComponents','getElementById','querySelector','UNIVER_SHEET','_lastActiveSheet','endY','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Candlestick','drawingId','_sheetPrintInterceptorService','Chord','interceptor','PenIcon','drawingType','MobileChartEditorProvider','changing$','ChartTrendlineSection','setPointerCapture','IRenderManagerService','ChartSourceHeaderTitleType','url','fromEvent','initPanel','ChartParetoSeriesSection','Row','prototype','depthAxis','download','select','sheetDisposed$','SheetDrawingHitTestService','set','DRAWING_CHART','sheets-chart-ui.common.customize','hidden','scaleX','ChartSectionAccordionContent','@univerjs-pro/license','ImageBitmap','UniverRenderEnginePlugin','jsx','asObservable','transformChange$','Legend','ChartEditBlockTitle','buildChartTypeSelectOptions','Line','hit','checkHost','waterfallStyle','sheets-chart-ui.host.provider','_requestPaint','FOCUSING_PANEL_EDITOR','.png','_registerIcons','UniverChartMobileUIPlugin','scaleY','_drawChartFrame','contains','UniverSheetsPlugin','sheet.command.chart.copy-focused-chart','save','PieSecondaryPlotType','bottom','Pie','react','sheet.command.menu-insert-chart','CHART_ELEMENT_FLOAT_MENU_COMPONENT','_urlImage','sheets-chart-ui.common.series','src','_initPermission','_initCopyPaste','ChartHeatmapStyleSection','Fragment','source','RemoveSheetDrawingCommand','restore','ChartStyleSection','getSheetBySheetId','_bindChartPointerEvents','sheets-chart-ui.common.chartStyle','_sidebarDisposable','_url','_initActiveChartModelListener','_getChartRenderSkipReason','forEach','sheets-chart-ui.section.waterfall','pointerId','onDispose','all','closePath','_disposeChartEventSubscription','get','UniverProSheetsChartUi','matchMedia','@univerjs/sheets-formula-ui','disconnect','isConnected','Literals','_dataUpdateAnimationChartIds','cancelPending','add','mobile-sheet-chart-setup-panel','allSeriesStyle','_sheetCanvasPopManagerService','React','removeHost','ChartEditorCapability','isInGroup','baseOn','sheets-chart-ui.common.category','ChartImageSourceType','Plugin','_canvasFloatDomService','_applyHostInteractionState','CHART_TYPE_CATALOG','_sheetClipboardService','iconName','click','numberToABC','number','find','dataSource$','SheetsSelectionsService','_openFloatMenu','defaultValues','getTransformerByCreate','_notifyChartRemoved','setRangeSelectMode','complete','element','_domFrame','onload','syncHostLayout','_rerenderLatest','allSettled','_lastRenderInputMap','format','DEFAULT_CHART_RADAR_VALUES','ChartUIService','ChartImageExportFormat','TRANSFORM_CHANGE_OBSERVABLE_TYPE','toInsertChartMutationSource','Url','_popupChartId','FOCUSING_COMMON_DRAWINGS','Overlay','REMOVE','clearPanelRoute','setPanelRoute','Waterfall','Area','RibbonInsertGroup','getFloatDomInfo','markNotReady','position$','heatmap','_deactivateDataUpdateAnimation','Trendline','tag','attachRangeWithCoord','ensureMount','References','GridlinesAndTicks','getHostSize','version','_drawChartImage','Module','ChartNumberFormatAtom','sheetChartDataAnimationDuration','_drawingManagerService','_chartInstanceMap','DEFAULT_CHART_WORD_CLOUD_VALUES','ChartSectionAccordion','8JtrBzP','sheets-chart-ui.common.dataRange','ICommandService','_chartSnapshotStoreService'];_0x2184=function(){return _0x3d0729;};return _0x2184();}function _0x57e5(_0x2fdd15,_0x5af6db){_0x2fdd15=_0x2fdd15-0x101;const _0x2184fd=_0x2184();let _0x57e5de=_0x2184fd[_0x2fdd15];return _0x57e5de;}(function(_0x2b4569,_0x404095){const _0x1fcffe=_0x57e5,_0x233273=_0x2b4569();while(!![]){try{const _0x4a4906=-parseInt(_0x1fcffe(0x4f3))/0x1+-parseInt(_0x1fcffe(0x251))/0x2*(-parseInt(_0x1fcffe(0x26a))/0x3)+parseInt(_0x1fcffe(0x48b))/0x4*(-parseInt(_0x1fcffe(0x2ff))/0x5)+parseInt(_0x1fcffe(0x189))/0x6+parseInt(_0x1fcffe(0x11d))/0x7+parseInt(_0x1fcffe(0x1c4))/0x8*(parseInt(_0x1fcffe(0x243))/0x9)+-parseInt(_0x1fcffe(0x4d1))/0xa;if(_0x4a4906===_0x404095)break;else _0x233273['push'](_0x233273['shift']());}catch(_0x2fe220){_0x233273['push'](_0x233273['shift']());}}}(_0x2184,0xa8a20),function(_0x32560a,_0x3246c1){const _0x233877=_0x57e5;typeof exports==_0x233877(0x2ca)&&typeof module<'u'?_0x3246c1(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==_0x233877(0x319)&&define[_0x233877(0x174)]?define([_0x233877(0x235),_0x233877(0x245),_0x233877(0x20c),_0x233877(0x23d),_0x233877(0x1b9),_0x233877(0x1be),'@univerjs/sheets-ui',_0x233877(0x17e),_0x233877(0x39d),'@univerjs-pro/chart-ui','@univerjs-pro/engine-chart',_0x233877(0x2be),_0x233877(0x12a),'@univerjs/drawing-ui','@univerjs/engine-render',_0x233877(0x41d),_0x233877(0x2ac),_0x233877(0x43c),'react/jsx-runtime',_0x233877(0x401)],_0x3246c1):(_0x32560a=typeof globalThis<'u'?globalThis:_0x32560a||self,_0x3246c1(_0x32560a[_0x233877(0x43a)]={},_0x32560a[_0x233877(0x2f7)],_0x32560a['UniverProSheetsChart'],_0x32560a[_0x233877(0x49d)],_0x32560a[_0x233877(0x291)],_0x32560a[_0x233877(0x194)],_0x32560a[_0x233877(0x255)],_0x32560a[_0x233877(0x162)],_0x32560a['rxjs'],_0x32560a[_0x233877(0x341)],_0x32560a['UniverProEngineChart'],_0x32560a[_0x233877(0x49a)],_0x32560a[_0x233877(0x141)],_0x32560a[_0x233877(0x1a2)],_0x32560a[_0x233877(0x505)],_0x32560a[_0x233877(0x446)],_0x32560a[_0x233877(0x247)],_0x32560a[_0x233877(0x392)],_0x32560a[_0x233877(0x446)],_0x32560a[_0x233877(0x223)]));}(this,function(_0x72609a,_0x28a938,_0x173cb1,_0x58f777,_0x466b35,_0x2fb4ab,_0x10595b,_0x545d4c,_0xbe6d29,_0x1b7174,_0x59f049,_0x4274f9,_0x3d8df7,_0x43857a,_0x18e11,_0x127ca7,_0x44fa10,_0x587c55,_0x52a1b3,_0x358ad4){const _0x217258=_0x57e5;Object['defineProperty'](_0x72609a,Symbol['toStringTag'],{'value':_0x217258(0x484)});let _0x190ef1={'type':_0x28a938[_0x217258(0x12d)]['OPERATION'],'id':'sheet.operation.open-chart-panel','handler'(){return!0x0;}},_0x126a5d='sheets-chart-ui.config',_0x567ce1={'enableChartElementFloatMenu':!0x0},_0x4ca062={'type':_0x28a938[_0x217258(0x12d)]['OPERATION'],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}};function _0x52646d(_0x654c85){const _0x5e3c99=_0x217258;let _0x5d5452=_0x654c85[_0x5e3c99(0x439)](_0x466b35[_0x5e3c99(0x278)])['getFocusDrawings']();if(_0x5d5452[_0x5e3c99(0x503)]!==0x1)return null;let _0x2a53d9=_0x5d5452[0x0];return _0x2a53d9['drawingType']===_0x28a938[_0x5e3c99(0x32b)]['DRAWING_CHART']?_0x2a53d9:null;}function _0x56add2(_0x48bf43,_0x1c1b31){const _0x3f7c0c=_0x217258;let _0x23e7a1=document['createElement']('a');_0x23e7a1[_0x3f7c0c(0x4df)]=_0x48bf43,_0x23e7a1[_0x3f7c0c(0x3f7)]=_0x1c1b31,_0x23e7a1[_0x3f7c0c(0x453)]();}let _0xc3e3ce={'id':'sheet.command.chart.open-focused-panel','type':_0x28a938['CommandType'][_0x217258(0x258)],'handler':(_0x1aacb5,_0x5ca398)=>{const _0x24b23d=_0x217258;let _0x598f4d=_0x52646d(_0x1aacb5);return _0x598f4d?_0x1aacb5[_0x24b23d(0x439)](_0x28a938[_0x24b23d(0x48d)])[_0x24b23d(0x1ab)](_0x190ef1['id'],{'unitId':_0x598f4d[_0x24b23d(0x4e1)],'subUnitId':_0x598f4d[_0x24b23d(0x26e)],'drawingId':_0x598f4d[_0x24b23d(0x3e4)],..._0x5ca398!=null&&_0x5ca398[_0x24b23d(0x1b8)]?{'route':_0x5ca398[_0x24b23d(0x1b8)]}:{}}):!0x1;}},_0x4960d8={'id':_0x217258(0x418),'type':_0x28a938[_0x217258(0x12d)][_0x217258(0x258)],'handler':_0x1f117e=>_0x52646d(_0x1f117e)?_0x1f117e['get'](_0x28a938['ICommandService'])[_0x217258(0x1ab)](_0x10595b[_0x217258(0x3d3)]['id']):!0x1},_0x5dddb1={'id':_0x217258(0x15f),'type':_0x28a938[_0x217258(0x12d)][_0x217258(0x258)],'handler':async _0x25b739=>{const _0x50efc0=_0x217258;let _0x369175=_0x52646d(_0x25b739);if(!_0x369175)return!0x1;let _0x556491=await _0x25b739['get'](_0x1b7174[_0x50efc0(0x1db)])[_0x50efc0(0x16c)]({'unitId':_0x369175[_0x50efc0(0x4e1)],'subUnitId':_0x369175[_0x50efc0(0x26e)],'getId':()=>_0x369175['drawingId']});return _0x556491?(_0x56add2(_0x556491,_0x369175['drawingId']+_0x50efc0(0x411)),!0x0):!0x1;}},_0x31c620={'id':'sheet.command.chart.delete-focused-chart','type':_0x28a938[_0x217258(0x12d)][_0x217258(0x258)],'handler':_0x3afc25=>{const _0x3d5695=_0x217258;let _0x346509=_0x52646d(_0x3afc25);return _0x346509?_0x3afc25[_0x3d5695(0x439)](_0x28a938[_0x3d5695(0x48d)])['executeCommand'](_0x466b35[_0x3d5695(0x428)]['id'],{'unitId':_0x346509['unitId'],'drawings':[{'unitId':_0x346509[_0x3d5695(0x4e1)],'subUnitId':_0x346509[_0x3d5695(0x26e)],'drawingId':_0x346509['drawingId'],'drawingType':_0x28a938[_0x3d5695(0x32b)][_0x3d5695(0x3fc)]}]}):!0x1;}},_0x3bf4a1={'type':_0x28a938['CommandType'][_0x217258(0x258)],'id':_0x217258(0x41e),'handler':async(_0x1ee003,_0x769785)=>{const _0x2ec90e=_0x217258;let _0x5590c6=(0x0,_0x4274f9[_0x2ec90e(0x4ed)])(_0x1ee003[_0x2ec90e(0x439)](_0x28a938[_0x2ec90e(0x33d)]));if(!_0x5590c6)return!0x1;let _0x5f1376=_0x1ee003['get'](_0x4274f9[_0x2ec90e(0x458)])[_0x2ec90e(0x211)]();if(!_0x5f1376)return!0x1;let {range:_0x38fa1e}=_0x5f1376,_0x474d8d=_0x1ee003['get'](_0x28a938[_0x2ec90e(0x48d)]),{unitId:_0x11f667,subUnitId:_0x405a8}=_0x5590c6,{pieSecondaryPlotType:_0x4f5d59,value:_0xdbbebb}=_0x769785,_0x4a7485=_0x4f5d59!==void 0x0;if(_0x4a7485&&(_0xdbbebb!==_0x59f049['ChartTypeBits'][_0x2ec90e(0x41c)]||_0x4f5d59!==_0x59f049[_0x2ec90e(0x41a)]['Pie']&&_0x4f5d59!==_0x59f049[_0x2ec90e(0x41a)]['Bar']))return!0x1;let _0x1c3ad6=_0x4a7485?(0x0,_0x28a938['generateRandomId'])():void 0x0;return _0x474d8d[_0x2ec90e(0x1ab)](_0x173cb1[_0x2ec90e(0x386)]['id'],{'unitId':_0x11f667,'subUnitId':_0x405a8,'chartType':_0xdbbebb,..._0x1c3ad6&&_0x4f5d59?{'chartId':_0x1c3ad6,'config':{'unitId':_0x11f667,'chartModelId':_0x1c3ad6,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x4f5d59}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x38fa1e['unitId']??_0x11f667,'subUnitId':_0x38fa1e['sheetId']??_0x405a8,'range':_0x38fa1e}}});}};function _0x56ce5e(_0x941ef7,_0x396f77){const _0x4c737a=_0x217258;if(_0x941ef7==null)return'';if(Array[_0x4c737a(0x2bd)](_0x941ef7)){var _0x3adbc6;let _0x1fe460=(_0x3adbc6=_0x941ef7[0x0])==null?void 0x0:_0x3adbc6[_0x4c737a(0x298)];return _0x1fe460?_0xb1c4b5(_0x1fe460,_0x396f77):'';}return _0xb1c4b5(_0x941ef7[_0x4c737a(0x36e)],_0x396f77);}function _0xb1c4b5(_0x140e11,_0x2acbd8){const _0x6693e6=_0x217258;var _0x4c5f4a;let {unitId:_0x4fea21,subUnitId:_0x42338b,range:_0x36d050}=_0x140e11,_0x18e840=(_0x4c5f4a=_0x2acbd8[_0x6693e6(0x499)](_0x4fea21))==null?void 0x0:_0x4c5f4a[_0x6693e6(0x42b)](_0x42338b);if(!_0x18e840)return'';let _0x3b15f0=_0x18e840[_0x6693e6(0x4dd)]();return(0x0,_0x3d8df7[_0x6693e6(0x361)])(_0x3b15f0,_0x36d050);}let _0x37bd32=_0x1b7174[_0x217258(0x450)][_0x217258(0x4cd)](_0x3dc549=>({'id':'id'in _0x3dc549?_0x3dc549['id']:void 0x0,'labelId':_0x3dc549['labelId'],'pieSecondaryPlotType':_0x217258(0x27e)in _0x3dc549?_0x3dc549[_0x217258(0x27e)]:void 0x0,'value':_0x3dc549[_0x217258(0x1e9)],'icon':_0x3dc549[_0x217258(0x452)]}));function _0x57f4c5(_0x137ba0=_0x37bd32){return _0x137ba0['map'](({id:_0x8dcf98,icon:_0x3a3c9,value:_0xd0a041})=>{const _0x15439c=_0x57e5;let _0x4b10fd=(0x0,_0x1b7174['resolveChartCreationIntent'])(_0x8dcf98??String(_0xd0a041)),_0x1c3c1a=_0x4b10fd?{'value':_0x4b10fd[_0x15439c(0x4e3)],..._0x4b10fd['pieSecondaryPlotType']?{'pieSecondaryPlotType':_0x4b10fd['pieSecondaryPlotType']}:{}}:{'value':_0xd0a041};return{'icon':_0x3a3c9,'value':_0x8dcf98??_0xd0a041,'params':_0x1c3c1a};});}let _0xeea476=(_0x267008,_0x1e7f0d)=>{const _0x4e8b19=_0x217258;if(_0x1e7f0d[_0x4e8b19(0x503)]===0x1&&_0x1e7f0d[0x0]==='all')return _0x267008;if(_0x1e7f0d['length']>0x1){let _0x377e6b=new Set();for(let _0x492331 of _0x1e7f0d)_0x377e6b[_0x4e8b19(0x442)](Number(_0x492331));return _0x267008[_0x4e8b19(0x3ce)](_0x1a4bab=>_0x377e6b[_0x4e8b19(0x327)](_0x1a4bab[_0x4e8b19(0x1e9)]));}return[];};function _0x93d49a(_0x41434d){const _0x162d09=_0x217258;let _0x5ad018=_0x41434d[_0x162d09(0x439)](_0x28a938[_0x162d09(0x33d)]),_0xf17a13=(0x0,_0x173cb1['getAllowedChartTypes'])(_0x41434d),_0x4866fe=_0xeea476(_0x37bd32[_0x162d09(0x283)](),_0xf17a13),_0x3024ae=_0x57f4c5(_0x4866fe)[_0x162d09(0x4cd)]((_0x46a6b5,_0x1d699c)=>({'icon':_0x46a6b5['icon'],'value':_0x46a6b5[_0x162d09(0x1e9)],'params':_0x46a6b5[_0x162d09(0x3a5)],'label':'sheets-chart-ui.chartTypes.'+_0x4866fe[_0x1d699c]['labelId']}));return{'id':_0x3bf4a1['id'],'type':_0x545d4c[_0x162d09(0x306)][_0x162d09(0x3cb)],'selectionsCommandId':_0x3bf4a1['id'],'selections':_0x3024ae,'icon':'ChartIcon','tooltip':_0x162d09(0x3b7),'activated$':(0x0,_0x10595b['deriveStateFromActiveSheet$'])(_0x5ad018,!0x1,()=>new _0xbe6d29[(_0x162d09(0x4b1))](_0x5cb9d2=>{const _0x1d3c02=_0x162d09;_0x5cb9d2[_0x1d3c02(0x10b)](!0x1);})),'hidden$':(0x0,_0x545d4c[_0x162d09(0x292)])(_0x41434d,_0x28a938[_0x162d09(0x270)]['UNIVER_SHEET']),'disabled$':(0x0,_0x10595b[_0x162d09(0x2b9)])(_0x41434d)};}function _0x32ff26(_0x2d6b30){const _0x2c7898=_0x217258;let _0xd7ba0=_0x2d6b30[_0x2c7898(0x439)](_0x466b35['ISheetDrawingService']);return _0xd7ba0[_0x2c7898(0x3d9)][_0x2c7898(0x4c5)]((0x0,_0xbe6d29['startWith'])(_0xd7ba0['getFocusDrawings']()),(0x0,_0xbe6d29[_0x2c7898(0x4cd)])(()=>_0x52646d(_0x2d6b30)==null));}function _0x222352(_0x2f4bea){const _0x399601=_0x217258;return{'id':_0xc3e3ce['id'],'commandId':_0xc3e3ce['id'],'type':_0x545d4c[_0x399601(0x306)][_0x399601(0x3b8)],'title':_0x2f4bea[_0x399601(0x439)](_0x28a938['LocaleService'])['t'](_0x399601(0x3b5)),'icon':_0x399601(0x3e8),'hidden$':_0x32ff26(_0x2f4bea)};}function _0x36b49b(_0x4e31b3){const _0x2a9751=_0x217258;return{'id':_0x4960d8['id'],'commandId':_0x4960d8['id'],'type':_0x545d4c[_0x2a9751(0x306)]['BUTTON'],'title':_0x4e31b3['get'](_0x28a938[_0x2a9751(0x33b)])['t'](_0x2a9751(0x1bc)),'icon':'CopyDoubleIcon','hidden$':_0x32ff26(_0x4e31b3)};}function _0x315d2e(_0xa52419){const _0x1c31a2=_0x217258;return{'id':_0x5dddb1['id'],'commandId':_0x5dddb1['id'],'type':_0x545d4c[_0x1c31a2(0x306)]['BUTTON'],'title':_0xa52419[_0x1c31a2(0x439)](_0x28a938['LocaleService'])['t'](_0x1c31a2(0x359)),'icon':_0x1c31a2(0x19e),'hidden$':_0x32ff26(_0xa52419)};}function _0x541161(_0x17d23c){const _0x287014=_0x217258;return{'id':_0x31c620['id'],'commandId':_0x31c620['id'],'type':_0x545d4c[_0x287014(0x306)][_0x287014(0x3b8)],'title':_0x17d23c[_0x287014(0x439)](_0x28a938[_0x287014(0x33b)])['t'](_0x287014(0x349)),'icon':_0x287014(0x313),'hidden$':_0x32ff26(_0x17d23c)};}let _0x174481={[_0x545d4c[_0x217258(0x475)][_0x217258(0x33c)]]:{[_0x3bf4a1['id']]:{'order':0x4,'menuItemFactory':_0x93d49a}},[_0x545d4c[_0x217258(0x2b5)][_0x217258(0x356)]]:{[_0x545d4c[_0x217258(0x37a)]['OTHERS']]:{[_0xc3e3ce['id']]:{'order':0x0,'menuItemFactory':_0x222352},[_0x4960d8['id']]:{'order':0x1,'menuItemFactory':_0x36b49b},[_0x5dddb1['id']]:{'order':0x3,'menuItemFactory':_0x315d2e},[_0x31c620['id']]:{'order':0x4,'menuItemFactory':_0x541161}}}};function _0x4e5fa3(_0x43057b){const _0x28f263=_0x217258;return _0x43057b===_0x59f049['ChartTypeBits'][_0x28f263(0x1bf)]||_0x43057b===_0x59f049[_0x28f263(0x49f)][_0x28f263(0x1fc)]||_0x43057b===_0x59f049[_0x28f263(0x49f)][_0x28f263(0x2b0)]||_0x59f049['chartBitsUtils'][_0x28f263(0x44a)](_0x43057b,_0x59f049[_0x28f263(0x49f)][_0x28f263(0x40a)])||_0x59f049[_0x28f263(0x197)][_0x28f263(0x44a)](_0x43057b,_0x59f049['ChartTypeBits']['Column'])||_0x59f049[_0x28f263(0x197)]['baseOn'](_0x43057b,_0x59f049[_0x28f263(0x49f)][_0x28f263(0x474)])||_0x59f049[_0x28f263(0x197)][_0x28f263(0x44a)](_0x43057b,_0x59f049[_0x28f263(0x49f)][_0x28f263(0x343)]);}function _0x51c4c1(_0x33a3ef){const _0x4b93f8=_0x217258;return _0x4e5fa3(_0x33a3ef)||_0x59f049['chartBitsUtils'][_0x4b93f8(0x44a)](_0x33a3ef,_0x59f049[_0x4b93f8(0x49f)][_0x4b93f8(0x41c)])||_0x59f049[_0x4b93f8(0x197)]['baseOn'](_0x33a3ef,_0x59f049[_0x4b93f8(0x49f)][_0x4b93f8(0x308)])||_0x59f049['chartBitsUtils'][_0x4b93f8(0x44a)](_0x33a3ef,_0x59f049['ChartTypeBits'][_0x4b93f8(0x473)]);}function _0xa1eb05(_0x4a07c9,_0x451dec){const _0x5487f0=_0x217258;let _0x170dfd=(0x0,_0x1b7174[_0x5487f0(0x294)])(_0x4a07c9,_0x451dec),_0x4f39a4=_0x170dfd?(0x0,_0x1b7174[_0x5487f0(0x24e)])(_0x170dfd[_0x5487f0(0x3c9)]):void 0x0;if(_0x170dfd&&_0x4f39a4)return{..._0x170dfd,'route':_0x4f39a4,'showFloatMenu':_0x51c4c1(_0x4a07c9[_0x5487f0(0x4e3)])&&_0x170dfd['showFloatMenu']};}function _0x29599b(_0x4ce53a){'@babel/helpers - typeof';const _0x396f75=_0x217258;return _0x29599b=typeof Symbol==_0x396f75(0x319)&&typeof Symbol['iterator']==_0x396f75(0x4cb)?function(_0x34d29c){return typeof _0x34d29c;}:function(_0x523fdb){const _0x56496f=_0x396f75;return _0x523fdb&&typeof Symbol==_0x56496f(0x319)&&_0x523fdb['constructor']===Symbol&&_0x523fdb!==Symbol[_0x56496f(0x3f5)]?_0x56496f(0x4cb):typeof _0x523fdb;},_0x29599b(_0x4ce53a);}function _0x46e9c6(_0x13bfe5,_0x4a8bcf){const _0x3a798c=_0x217258;if(_0x29599b(_0x13bfe5)!=_0x3a798c(0x2ca)||!_0x13bfe5)return _0x13bfe5;var _0x3f2362=_0x13bfe5[Symbol[_0x3a798c(0x3bd)]];if(_0x3f2362!==void 0x0){var _0x1a7b81=_0x3f2362[_0x3a798c(0x502)](_0x13bfe5,_0x4a8bcf||_0x3a798c(0x1a0));if(_0x29599b(_0x1a7b81)!='object')return _0x1a7b81;throw TypeError(_0x3a798c(0x3e2));}return(_0x4a8bcf===_0x3a798c(0x1d4)?String:Number)(_0x13bfe5);}function _0xc73f48(_0x4f00ab){const _0x383360=_0x217258;var _0x33f847=_0x46e9c6(_0x4f00ab,_0x383360(0x1d4));return _0x29599b(_0x33f847)=='symbol'?_0x33f847:_0x33f847+'';}function _0x5c5268(_0x309f7b,_0x451df9,_0x4c5056){const _0x21a9fc=_0x217258;return(_0x451df9=_0xc73f48(_0x451df9))in _0x309f7b?Object[_0x21a9fc(0x4a7)](_0x309f7b,_0x451df9,{'value':_0x4c5056,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x309f7b[_0x451df9]=_0x4c5056,_0x309f7b;}var _0x4c6155=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x58c804){const _0x7ca3e5=_0x217258;super(),this['_callback']=_0x58c804,_0x5c5268(this,'_frame',null),_0x5c5268(this,'_running',!0x1),_0x5c5268(this,_0x7ca3e5(0x36f),!0x1);}[_0x217258(0x27a)](){const _0x2e5494=_0x217258;this['_disposed']||(this[_0x2e5494(0x36f)]=!0x0,!this[_0x2e5494(0x143)]&&this[_0x2e5494(0x4a5)]===null&&(this[_0x2e5494(0x4a5)]=requestAnimationFrame(()=>this[_0x2e5494(0x34e)]())));}['flush'](){const _0x4bd22b=_0x217258;if(this[_0x4bd22b(0x1bb)]||this['_running'])return;this[_0x4bd22b(0x441)]();let _0x2498da=this[_0x4bd22b(0x302)]();_0x2498da&&(this['_running']=!0x0,_0x2498da['catch'](_0x1358f=>console[_0x4bd22b(0x187)](_0x1358f))[_0x4bd22b(0x219)](()=>{const _0x5de994=_0x4bd22b;this[_0x5de994(0x143)]=!0x1,this[_0x5de994(0x36f)]&&this[_0x5de994(0x27a)]();}));}[_0x217258(0x441)](){const _0x370cc1=_0x217258;this[_0x370cc1(0x36f)]=!0x1,this[_0x370cc1(0x4a5)]!==null&&(cancelAnimationFrame(this[_0x370cc1(0x4a5)]),this['_frame']=null);}[_0x217258(0x382)](){const _0x10a9ab=_0x217258;this[_0x10a9ab(0x441)](),super[_0x10a9ab(0x382)]();}},_0x5d9385=class extends _0x28a938['Disposable']{constructor(_0x54ec67,_0x5cd80f){const _0x61b01a=_0x217258;super(),this[_0x61b01a(0x28f)]=_0x54ec67,this['_onChange']=_0x5cd80f,_0x5c5268(this,'_scheduler',void 0x0),_0x5c5268(this,'_geometry',void 0x0),this[_0x61b01a(0x30d)]=this[_0x61b01a(0x342)](),this[_0x61b01a(0x242)]=new _0x4c6155(()=>this[_0x61b01a(0x305)]()),this[_0x61b01a(0x19f)](this[_0x61b01a(0x242)]),this[_0x61b01a(0x19f)](_0x54ec67[_0x61b01a(0x17c)][_0x61b01a(0x1c2)](()=>this[_0x61b01a(0x242)][_0x61b01a(0x27a)]()));}get[_0x217258(0x1f6)](){const _0x870981=_0x217258;return this[_0x870981(0x242)];}[_0x217258(0x305)](){const _0x94f7a4=_0x217258;let _0x168f2e=this[_0x94f7a4(0x342)](),_0x9bb85b=this[_0x94f7a4(0x30d)],_0x76394b=_0x168f2e['width']!==_0x9bb85b['width']||_0x168f2e['height']!==_0x9bb85b['height'];if(_0x76394b||_0x168f2e[_0x94f7a4(0x106)]!==_0x9bb85b['left']||_0x168f2e[_0x94f7a4(0x1e7)]!==_0x9bb85b[_0x94f7a4(0x1e7)])return this[_0x94f7a4(0x30d)]=_0x168f2e,this[_0x94f7a4(0x4eb)](_0x76394b);}[_0x217258(0x342)](){let {left:_0x127cd5,top:_0x487ec9,width:_0x16d66d,height:_0x1cb3fb}=this['_rect'];return{'left':_0x127cd5,'top':_0x487ec9,'width':_0x16d66d,'height':_0x1cb3fb};}};function _0x3580f3(_0x49a37b,_0x464be8=0x1){const _0x2aa1ca=_0x217258;return{'width':Math[_0x2aa1ca(0x19a)](_0x464be8,_0x49a37b[_0x2aa1ca(0x130)]),'height':Math[_0x2aa1ca(0x19a)](_0x464be8,_0x49a37b['height'])};}function _0x112164(_0x3c15c6,_0x5832e0={},_0x1bbbee={'left':0x0,'top':0x0}){const _0x128986=_0x217258;let _0x460045=_0x5832e0[_0x128986(0x3ff)]??0x1,_0x59b89e=_0x5832e0[_0x128986(0x414)]??0x1,_0x50ad38=_0x1b7174[_0x128986(0x35a)][_0x128986(0x17b)]({'logicalOuterRect':{'left':_0x1bbbee[_0x128986(0x106)]>0x0?-_0x1bbbee[_0x128986(0x106)]:0x0,'top':_0x1bbbee[_0x128986(0x1e7)]>0x0?-_0x1bbbee[_0x128986(0x1e7)]:0x0,..._0x3580f3(_0x3c15c6)},'scale':{'scaleX':_0x460045,'scaleY':_0x59b89e},'hostStyle':{},'contentMode':_0x1b7174[_0x128986(0x1a6)][_0x128986(0x46f)]});return{'left':_0x50ad38['logicalOuterRect'][_0x128986(0x106)],'top':_0x50ad38[_0x128986(0x120)][_0x128986(0x1e7)],'width':_0x50ad38[_0x128986(0x120)][_0x128986(0x130)],'height':_0x50ad38[_0x128986(0x120)][_0x128986(0x390)],'scaleX':_0x460045,'scaleY':_0x59b89e};}function _0x5aaa00(_0x137316){const _0x15b50c=_0x217258;switch(_0x137316[_0x15b50c(0x4e2)]){case _0x59f049['ChartImageSourceType'][_0x15b50c(0x30a)]:return _0x137316[_0x15b50c(0x20a)];case _0x59f049['ChartImageSourceType'][_0x15b50c(0x402)]:return _0x137316[_0x15b50c(0x379)];default:return;}}var _0x3eab91=class extends _0x18e11['Rect']{constructor(_0x63e483,_0x5c1ad7,_0x13a4d8,_0x3ede13=()=>!0x1,_0x240ea9=()=>{}){const _0x330137=_0x217258;super(_0x63e483,{..._0x5c1ad7,'evented':_0x5c1ad7[_0x330137(0x21c)]??!0x0}),this[_0x330137(0x14c)]=_0x13a4d8,this[_0x330137(0x36d)]=_0x3ede13,this[_0x330137(0x2d4)]=_0x240ea9,_0x5c5268(this,_0x330137(0x420),null),_0x5c5268(this,'_url',null),_0x5c5268(this,_0x330137(0x35c),null),_0x5c5268(this,_0x330137(0x289),null),this['setObjectType'](_0x18e11[_0x330137(0x105)][_0x330137(0x265)]);}[_0x217258(0x382)](){const _0xa65b0b=_0x217258;this['_clearPendingUrlImage'](),this[_0xa65b0b(0x420)]=null,this[_0xa65b0b(0x42f)]=null,this['_requestedUrl']=null,this[_0xa65b0b(0x2d4)](),super[_0xa65b0b(0x382)]();}[_0x217258(0x375)](_0x4d436e,_0x3a296e){const _0x48fc58=_0x217258;if(!this[_0x48fc58(0x191)])return this[_0x48fc58(0x1f1)](!0x1),this;if(this[_0x48fc58(0x36d)]()){let _0x515a2c=this['_getImage']();return _0x515a2c&&this[_0x48fc58(0x297)](_0x515a2c),this['makeDirty'](!0x1),this;}if(!this[_0x48fc58(0x1e1)])return this;let {width:_0xead20b,height:_0x467792,left:_0x2491b6,top:_0x5d4655}=this[_0x48fc58(0x217)]();if(this[_0x48fc58(0x4c0)](_0x3a296e)){let {top:_0x9c390b,left:_0x4cc723,bottom:_0x258a85,right:_0x48316b}=_0x3a296e['viewBound'];if(_0xead20b+this[_0x48fc58(0x39e)]+_0x2491b6<_0x4cc723||_0x48316b<_0x2491b6||_0x467792+this[_0x48fc58(0x39e)]+_0x5d4655<_0x9c390b||_0x258a85<_0x5d4655)return this;}let _0x5a9bc8=this[_0x48fc58(0x1e1)]['getMatrix']();_0x4d436e[_0x48fc58(0x419)]();let _0x38542a=_0x2491b6+_0xead20b/0x2,_0x4b4029=_0x5d4655+_0x467792/0x2;return _0x4d436e[_0x48fc58(0x1e1)](_0x5a9bc8[0x0],_0x5a9bc8[0x1],_0x5a9bc8[0x2],_0x5a9bc8[0x3],_0x38542a,_0x4b4029),this[_0x48fc58(0x107)]!==0x1&&(_0x4d436e[_0x48fc58(0x3b9)]=this[_0x48fc58(0x107)]),this[_0x48fc58(0x337)](_0x4d436e,void 0x0,_0xead20b,_0x467792),_0x4d436e['restore'](),this['makeDirty'](!0x1),this;}['_draw'](_0x56c7da,_0x54706c,_0x5eddb5=this[_0x217258(0x130)],_0x19e9de=this['height']){const _0xbdfa50=_0x217258;this['_drawChartFrame'](_0x56c7da,_0x5eddb5,_0x19e9de,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x56c7da,_0x5eddb5,_0x19e9de),this[_0xbdfa50(0x415)](_0x56c7da,_0x5eddb5,_0x19e9de,{'fill':void 0x0});}[_0x217258(0x415)](_0x529565,_0xe03c49,_0x589660,_0x3f0bbb){const _0x561e1c=_0x217258;_0x529565['save'](),_0x529565[_0x561e1c(0x25d)](-_0xe03c49/0x2,-_0x589660/0x2),_0x18e11[_0x561e1c(0x2c2)][_0x561e1c(0x31b)](_0x529565,_0x4fbda5(this,_0xe03c49,_0x589660,_0x3f0bbb)),_0x529565[_0x561e1c(0x429)]();}['isHit'](_0x570db6){const _0x4853a5=_0x217258;let {left:_0x542bd1,top:_0x48abf1,width:_0x343d79,height:_0x25da04}=this['getRealBound'](),_0x25ca54=_0x542bd1+_0x343d79/0x2,_0x5b4056=_0x48abf1+_0x25da04/0x2,_0x1d9b34=this['transform'][_0x4853a5(0x3a4)](),_0x46f33e=new _0x18e11[(_0x4853a5(0x4ee))]([_0x1d9b34[0x0],_0x1d9b34[0x1],_0x1d9b34[0x2],_0x1d9b34[0x3],_0x25ca54,_0x5b4056]),_0x574455=this[_0x4853a5(0x1c6)](),_0x4a4665=(this[_0x4853a5(0x449)]&&(_0x574455==null?void 0x0:_0x574455['classType'])===_0x18e11[_0x4853a5(0x4b8)][_0x4853a5(0x2ee)]?_0x574455[_0x4853a5(0x137)][_0x4853a5(0x262)](_0x46f33e):_0x46f33e)[_0x4853a5(0x215)]()[_0x4853a5(0x18d)](_0x570db6),_0x521498=_0x343d79/0x2,_0x5b8cb8=_0x25da04/0x2;return _0x4a4665['x']>=-_0x521498-this[_0x4853a5(0x39e)]/0x2&&_0x4a4665['x']<=_0x521498+this[_0x4853a5(0x39e)]/0x2&&_0x4a4665['y']>=-_0x5b8cb8-this['strokeWidth']/0x2&&_0x4a4665['y']<=_0x5b8cb8+this['strokeWidth']/0x2;}[_0x217258(0x483)](_0x45923b,_0x534115,_0x190f6b){const _0x21ec22=_0x217258;let _0x5d437b=this['_getImage'](),_0x566a37=_0x5d437b?this[_0x21ec22(0x297)](_0x5d437b):void 0x0;if(!_0x566a37)return;let {width:_0x453efa,height:_0x17cc1e}=_0x3580f3({'width':_0x534115,'height':_0x190f6b},0x0);_0x453efa!==0x0&&_0x17cc1e!==0x0&&(_0x45923b[_0x21ec22(0x419)](),_0x45923b['translate'](-_0x534115/0x2,-_0x190f6b/0x2),_0x43c2a9(_0x45923b,_0x453efa,_0x17cc1e,this[_0x21ec22(0x4a0)]),_0x45923b[_0x21ec22(0x271)](),_0x45923b[_0x21ec22(0x37d)](_0x566a37,0x0,0x0,_0x453efa,_0x17cc1e),_0x45923b[_0x21ec22(0x429)]());}[_0x217258(0x297)](_0x2ec525){const _0xbed5b0=_0x217258;var _0x525195;let _0x298789=_0x5aaa00(_0x2ec525);if(_0x298789)return _0x298789;if(_0x2ec525[_0xbed5b0(0x4e2)]===_0x59f049[_0xbed5b0(0x44c)]['Url']&&(this[_0xbed5b0(0x35c)]!==_0x2ec525['url']&&(this[_0xbed5b0(0x35c)]=_0x2ec525['url'],this[_0xbed5b0(0x152)](),this[_0xbed5b0(0x42f)]!==_0x2ec525[_0xbed5b0(0x3f0)]&&this[_0xbed5b0(0x1cb)](_0x2ec525['url'])),(_0x525195=this[_0xbed5b0(0x420)])!=null&&_0x525195[_0xbed5b0(0x45e)]&&this['_urlImage'][_0xbed5b0(0x206)]>0x0&&this[_0xbed5b0(0x420)][_0xbed5b0(0x182)]>0x0))return this[_0xbed5b0(0x420)];}['_loadUrlImage'](_0x190cf2){const _0x26a6fc=_0x217258;let _0x1fecd5=document[_0x26a6fc(0x3d1)]('img');this['_pendingUrlImage']=_0x1fecd5,_0x1fecd5['crossOrigin']=_0x26a6fc(0x1a7),_0x1fecd5[_0x26a6fc(0x461)]=()=>{const _0x3f4cfa=_0x26a6fc;this[_0x3f4cfa(0x35c)]===_0x190cf2&&this[_0x3f4cfa(0x289)]===_0x1fecd5&&(_0x1fecd5[_0x3f4cfa(0x206)]>0x0&&_0x1fecd5[_0x3f4cfa(0x182)]>0x0&&(this[_0x3f4cfa(0x42f)]=_0x190cf2,this[_0x3f4cfa(0x420)]=_0x1fecd5),this['_clearPendingUrlImage'](),this[_0x3f4cfa(0x1f1)](!0x0));},_0x1fecd5[_0x26a6fc(0x2e8)]=()=>{const _0x665a93=_0x26a6fc;this[_0x665a93(0x289)]===_0x1fecd5&&this[_0x665a93(0x152)]();},_0x1fecd5[_0x26a6fc(0x422)]=_0x190cf2;}[_0x217258(0x152)](){const _0xbff731=_0x217258;this[_0xbff731(0x289)]&&=(this[_0xbff731(0x289)][_0xbff731(0x461)]=null,this['_pendingUrlImage'][_0xbff731(0x2e8)]=null,null);}};function _0x4fbda5(_0x4407d1,_0x114c5d,_0x1c84a7,_0x5d5202){const _0x390ef3=_0x217258;let _0x3bdb84=Object[_0x390ef3(0x362)](_0x4407d1);return Object['defineProperty'](_0x3bdb84,_0x390ef3(0x130),{'value':_0x114c5d}),Object[_0x390ef3(0x4a7)](_0x3bdb84,_0x390ef3(0x390),{'value':_0x1c84a7}),Object[_0x390ef3(0x1aa)](_0x5d5202)[_0x390ef3(0x432)](_0x4deb9e=>{const _0x53522a=_0x390ef3;Object[_0x53522a(0x4a7)](_0x3bdb84,_0x4deb9e,{'value':_0x5d5202[_0x4deb9e]});}),_0x3bdb84;}function _0x43c2a9(_0x319eb7,_0x1480aa,_0x1f17ec,_0xc0aa7c){const _0x5243cc=_0x217258;let _0x509010=Math[_0x5243cc(0x35f)](_0xc0aa7c||0x0,_0x1480aa/0x2,_0x1f17ec/0x2);_0x319eb7['beginPath'](),_0x509010?(_0x319eb7[_0x5243cc(0x49b)](_0x509010,0x0),_0x319eb7[_0x5243cc(0x4ac)](_0x1480aa-_0x509010,0x0),_0x319eb7[_0x5243cc(0x321)](_0x1480aa-_0x509010,_0x509010,_0x509010,Math['PI']*0x3/0x2,0x0,!0x1),_0x319eb7['lineTo'](_0x1480aa,_0x1f17ec-_0x509010),_0x319eb7[_0x5243cc(0x321)](_0x1480aa-_0x509010,_0x1f17ec-_0x509010,_0x509010,0x0,Math['PI']/0x2,!0x1),_0x319eb7[_0x5243cc(0x4ac)](_0x509010,_0x1f17ec),_0x319eb7['arc'](_0x509010,_0x1f17ec-_0x509010,_0x509010,Math['PI']/0x2,Math['PI'],!0x1),_0x319eb7['lineTo'](0x0,_0x509010),_0x319eb7[_0x5243cc(0x321)](_0x509010,_0x509010,_0x509010,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x319eb7[_0x5243cc(0x437)]()):(_0x319eb7[_0x5243cc(0x4b0)](0x0,0x0,_0x1480aa,_0x1f17ec),_0x319eb7[_0x5243cc(0x437)]());}function _0x799ed(_0xdf1bb4){const _0xf2b319=_0x217258;(_0xdf1bb4==null?void 0x0:_0xdf1bb4[_0xf2b319(0x4e2)])===_0x59f049[_0xf2b319(0x44c)]['ImageBitmap']&&_0xdf1bb4[_0xf2b319(0x379)][_0xf2b319(0x10c)]();}function _0x337cbf(_0x24d0b9){const _0x43c3fe=_0x217258;return _0x24d0b9[_0x43c3fe(0x4e1)]+_0x43c3fe(0x160)+_0x24d0b9[_0x43c3fe(0x26e)]+_0x43c3fe(0x160)+_0x24d0b9['chartId'];}var _0x3424d1=class extends _0x28a938[_0x217258(0x172)]{constructor(..._0x3f6d33){super(..._0x3f6d33),_0x5c5268(this,'_entries',new Map());}[_0x217258(0x4fb)](_0x48673d){const _0x40f72f=_0x217258;let _0x4ec1ed=_0x337cbf(_0x48673d),_0x308997=this[_0x40f72f(0x142)]['get'](_0x4ec1ed)??{'version':0x0};return _0x308997[_0x40f72f(0x482)]+=0x1,this['_entries'][_0x40f72f(0x3fb)](_0x4ec1ed,_0x308997),_0x308997[_0x40f72f(0x482)];}[_0x217258(0x49c)](_0x1db7d4,_0x235ee6){const _0x59a27d=_0x217258;var _0x5d1033;return((_0x5d1033=this[_0x59a27d(0x142)][_0x59a27d(0x439)](_0x337cbf(_0x1db7d4)))==null?void 0x0:_0x5d1033[_0x59a27d(0x482)])===_0x235ee6;}[_0x217258(0x122)](_0x557dee,_0x150174,_0x149a9f){const _0x4239e3=_0x217258;if(!this[_0x4239e3(0x49c)](_0x557dee,_0x149a9f))return _0x799ed(_0x150174),!0x1;let _0x4bab55=_0x337cbf(_0x557dee),_0x66b686=this[_0x4239e3(0x142)][_0x4239e3(0x439)](_0x4bab55)??{'version':_0x149a9f},_0xbb0946=_0x66b686[_0x4239e3(0x28b)];return _0x66b686[_0x4239e3(0x28b)]=_0x150174,_0x66b686[_0x4239e3(0x482)]=_0x149a9f,this['_entries']['set'](_0x4bab55,_0x66b686),_0xbb0946!==_0x150174&&_0x799ed(_0xbb0946),!0x0;}[_0x217258(0x208)](_0x198e9d){const _0x380b45=_0x217258;var _0xf7a5ac;return(_0xf7a5ac=this['_entries'][_0x380b45(0x439)](_0x337cbf(_0x198e9d)))==null?void 0x0:_0xf7a5ac[_0x380b45(0x28b)];}['clearImage'](_0x45ee9e){const _0x248384=_0x217258;let _0x3dfc9d=_0x337cbf(_0x45ee9e),_0xd32a23=this[_0x248384(0x142)][_0x248384(0x439)](_0x3dfc9d);_0xd32a23&&(_0x799ed(_0xd32a23[_0x248384(0x28b)]),this[_0x248384(0x142)][_0x248384(0x312)](_0x3dfc9d));}['clearChart'](_0x304bc3){const _0x163407=_0x217258;for(let [_0x3f6cb5,_0x2a69e8]of this['_entries'])_0x3f6cb5[_0x163407(0x4f5)](_0x163407(0x160)+_0x304bc3)&&(_0x799ed(_0x2a69e8[_0x163407(0x28b)]),this[_0x163407(0x142)][_0x163407(0x312)](_0x3f6cb5));}[_0x217258(0x382)](){const _0x12fb00=_0x217258;this[_0x12fb00(0x142)][_0x12fb00(0x432)](_0x267a92=>_0x799ed(_0x267a92[_0x12fb00(0x28b)])),this['_entries'][_0x12fb00(0x4ba)](),super[_0x12fb00(0x382)]();}};function _0x26a841(_0x45ffed,_0x50d05d=0x7d0){let _0x2e1252=null,_0x580dc8=null,_0x185d3d=!0x1,_0xf04419=()=>{},_0x21cac4=()=>{_0x2e1252!=null&&(clearInterval(_0x2e1252),_0x2e1252=null),_0x580dc8!=null&&(clearTimeout(_0x580dc8),_0x580dc8=null);};return{'promise':new Promise((_0x53efb5,_0x218f7f)=>{_0xf04419=_0x218f7f;let _0x5d7591=()=>{const _0x305486=_0x57e5;let _0x1a690a=document[_0x305486(0x3dd)](_0x45ffed);_0x1a690a&&!_0x185d3d&&(_0x185d3d=!0x0,_0x21cac4(),_0x53efb5(_0x1a690a));};_0x5d7591(),!_0x185d3d&&(_0x2e1252=setInterval(_0x5d7591,16.666666666666668),_0x580dc8=setTimeout(()=>{const _0x423a30=_0x57e5;_0x185d3d||(_0x185d3d=!0x0,_0x21cac4(),_0x218f7f(Error(_0x423a30(0x3d0)+_0x45ffed+'\x22.')));},_0x50d05d));}),'cancel':()=>{const _0x57db17=_0x57e5;_0x185d3d||(_0x185d3d=!0x0,_0x21cac4(),_0xf04419(Error(_0x57db17(0x4f9)+_0x45ffed+'\x22.')));}};}var _0x7cfc74=class extends _0x28a938['Disposable']{constructor(_0x492019,_0xa7d039,_0x549e71,_0x5d5e29,_0x3c8e45,_0x89c9df,_0x1248c9,_0x5a93d4){const _0x2df5dd=_0x217258;super(),this[_0x2df5dd(0x22f)]=_0x492019,this['_getFloatDomInfo']=_0xa7d039,this[_0x2df5dd(0x168)]=_0x549e71,this[_0x2df5dd(0x28d)]=_0x5d5e29,this[_0x2df5dd(0x10e)]=_0x3c8e45,this['_markReady']=_0x89c9df,this[_0x2df5dd(0x209)]=_0x1248c9,this['_bindPointerEvents']=_0x5a93d4,_0x5c5268(this,_0x2df5dd(0x2b1),_0x59f049['ChartRenderMode'][_0x2df5dd(0x2cd)]),_0x5c5268(this,'_domFrame',null),_0x5c5268(this,_0x2df5dd(0x274),!0x1),_0x5c5268(this,'_pendingToken',null),_0x5c5268(this,'_pendingHost',null),_0x5c5268(this,_0x2df5dd(0x22e),null),_0x5c5268(this,'_hostStyle',{}),_0x5c5268(this,'_savedWrapperStyle',null),_0x5c5268(this,_0x2df5dd(0x2ef),null),_0x5c5268(this,'_pointerEvents',null);}['isManaged'](){const _0x16f608=_0x217258;return this[_0x16f608(0x274)];}[_0x217258(0x21a)](){const _0x39db84=_0x217258;this[_0x39db84(0x274)]=!0x1;}[_0x217258(0x11a)](){const _0x57f066=_0x217258;let _0x463eca=this[_0x57f066(0x168)]();return _0x463eca?{'width':_0x463eca['width'],'height':_0x463eca[_0x57f066(0x390)]}:null;}[_0x217258(0x352)](_0x32aeeb){const _0x2a12e3=_0x217258;this[_0x2a12e3(0x133)]=_0x32aeeb,this[_0x2a12e3(0x28d)](_0x32aeeb),this[_0x2a12e3(0x497)]();}async[_0x217258(0x2a9)](){const _0x41d24f=_0x217258;if(this[_0x41d24f(0x1bb)]||this[_0x41d24f(0x10e)]())throw Error(_0x41d24f(0x4fc));let _0x1bd381=this[_0x41d24f(0x165)](),_0x45788d=(_0x1bd381==null?void 0x0:_0x1bd381[_0x41d24f(0x3da)])??this[_0x41d24f(0x22f)],_0x5d17b5=document[_0x41d24f(0x3dd)](_0x45788d);if(this[_0x41d24f(0x460)]&&_0x5d17b5!=null&&_0x5d17b5['contains'](this[_0x41d24f(0x460)][_0x41d24f(0x250)]))return{'mountNode':this[_0x41d24f(0x460)][_0x41d24f(0x250)],'dispose':()=>{const _0x59748b=_0x41d24f;this[_0x59748b(0x382)](),_0x1bd381==null||_0x1bd381[_0x59748b(0x382)]['dispose']();}};if(this[_0x41d24f(0x3a3)])return this['_pendingHost'];let _0x3fdddf=this['_createHost']();return this[_0x41d24f(0x3a3)]=_0x3fdddf,_0x3fdddf[_0x41d24f(0x1fd)](()=>{const _0x5c2a72=_0x41d24f;this[_0x5c2a72(0x3a3)]===_0x3fdddf&&(this[_0x5c2a72(0x3a3)]=null);},()=>{const _0x3f612e=_0x41d24f;this[_0x3f612e(0x3a3)]===_0x3fdddf&&(this[_0x3f612e(0x3a3)]=null);}),_0x3fdddf;}async[_0x217258(0x47e)](){const _0x9b665a=_0x217258;try{return(await this['ensureHandle']())[_0x9b665a(0x250)];}catch{return null;}}[_0x217258(0x25a)](){const _0x309afe=_0x217258;let _0x45be33=this[_0x309afe(0x165)](),_0x915b2a=(_0x45be33==null?void 0x0:_0x45be33['domId'])??this['chartId'],_0x45b715=document['getElementById'](_0x915b2a);return!!(this[_0x309afe(0x460)]&&_0x45b715!=null&&_0x45b715[_0x309afe(0x416)](this[_0x309afe(0x460)]['mountNode']));}['syncLayout'](){const _0x4c2a42=_0x217258;if(!this[_0x4c2a42(0x460)])return;let _0x343e44=this[_0x4c2a42(0x168)]();_0x343e44&&this[_0x4c2a42(0x460)][_0x4c2a42(0x3a0)](this[_0x4c2a42(0x330)](_0x343e44),this[_0x4c2a42(0x2bc)]());}[_0x217258(0x303)](){const _0x3f94d3=_0x217258;this[_0x3f94d3(0x317)]();}[_0x217258(0x477)](){const _0x35d1be=_0x217258;this[_0x35d1be(0x209)]();}[_0x217258(0x22a)](_0x220393){const _0x5452f0=_0x217258;this[_0x5452f0(0x2ef)]=_0x220393;let _0x387ca8=this[_0x5452f0(0x165)](),_0x1d3d31=document[_0x5452f0(0x3dd)]((_0x387ca8==null?void 0x0:_0x387ca8['domId'])??this[_0x5452f0(0x22f)]);_0x1d3d31&&this[_0x5452f0(0x44f)](_0x1d3d31);}[_0x217258(0x382)](){const _0x5ab86a=_0x217258;var _0x54bc9a,_0xce14c8;this['_disposed']||(this[_0x5ab86a(0x477)](),this['_pendingToken']=null,this[_0x5ab86a(0x3a3)]=null,this['_cancelHostWait'](),this[_0x5ab86a(0x274)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x54bc9a=this[_0x5ab86a(0x29c)])==null||_0x54bc9a[_0x5ab86a(0x382)](),this['_pointerEvents']=null,(_0xce14c8=this[_0x5ab86a(0x460)])==null||_0xce14c8[_0x5ab86a(0x382)](),this[_0x5ab86a(0x460)]=null,this[_0x5ab86a(0x36c)](),super[_0x5ab86a(0x382)]());}async[_0x217258(0x2dc)](){const _0x2be3c9=_0x217258;let _0x50dbc2=this[_0x2be3c9(0x165)]();if(!_0x50dbc2)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x5eaee7=_0x50dbc2[_0x2be3c9(0x3da)]??this['chartId'],_0xe5e671=_0x26a841(_0x5eaee7),_0xbc5a54=Symbol(this[_0x2be3c9(0x22f)]);this[_0x2be3c9(0x4be)]=_0xbc5a54,this['_waiter']=_0xe5e671;try{var _0xe2c4b;let _0x3321bd=await _0xe5e671[_0x2be3c9(0x1f5)],_0x1a8527=this['_getFloatDomInfo'](),_0x240398=(_0x1a8527==null?void 0x0:_0x1a8527[_0x2be3c9(0x3da)])??this[_0x2be3c9(0x22f)];if(this[_0x2be3c9(0x1bb)]||this['_isProviderDisposed']()||this[_0x2be3c9(0x4be)]!==_0xbc5a54||!_0x1a8527||_0x240398!==_0x5eaee7||document[_0x2be3c9(0x3dd)](_0x5eaee7)!==_0x3321bd||!_0x3321bd[_0x2be3c9(0x43e)])throw Error(_0x2be3c9(0x4fc));let _0x98de96=this[_0x2be3c9(0x168)]();if(!_0x98de96)throw Error(_0x2be3c9(0x4fc));let _0xda4ab5=new _0x1b7174[(_0x2be3c9(0x354))](_0x3321bd);return _0xda4ab5[_0x2be3c9(0x3a0)](this['_resolveLayout'](_0x98de96),this['_frameStyle']()),this['_activateHostWrapper'](_0x3321bd),this[_0x2be3c9(0x460)]=_0xda4ab5,(_0xe2c4b=this['_pointerEvents'])==null||_0xe2c4b[_0x2be3c9(0x382)](),this['_pointerEvents']=this[_0x2be3c9(0x48f)](_0x3321bd),this[_0x2be3c9(0x274)]=!0x0,{'mountNode':_0xda4ab5[_0x2be3c9(0x250)],'dispose':()=>{const _0x5cc0ae=_0x2be3c9;this[_0x5cc0ae(0x382)](),_0x50dbc2[_0x5cc0ae(0x382)][_0x5cc0ae(0x382)]();}};}finally{this['_waiter']===_0xe5e671&&(this[_0x2be3c9(0x22e)]=null),this[_0x2be3c9(0x4be)]===_0xbc5a54&&(this[_0x2be3c9(0x4be)]=null);}}[_0x217258(0x1dc)](){const _0x3fc257=_0x217258;let _0x13b875=this[_0x3fc257(0x22e)];_0x13b875&&(_0x13b875['cancel'](),this[_0x3fc257(0x22e)]=null);}['_applyHostStyle'](){const _0xa2f4a9=_0x217258;let _0x538630=this[_0xa2f4a9(0x168)]();this[_0xa2f4a9(0x460)]&&_0x538630&&this[_0xa2f4a9(0x460)][_0xa2f4a9(0x3a0)](this[_0xa2f4a9(0x330)](_0x538630),this[_0xa2f4a9(0x2bc)]());}['_resolveLayout'](_0x57c799){const _0x317053=_0x217258;return _0x1b7174[_0x317053(0x35a)][_0x317053(0x17b)]({'logicalOuterRect':{'left':_0x57c799[_0x317053(0x106)],'top':_0x57c799[_0x317053(0x1e7)],'width':_0x57c799[_0x317053(0x130)],'height':_0x57c799[_0x317053(0x390)]},'scale':{'scaleX':_0x57c799[_0x317053(0x3ff)],'scaleY':_0x57c799[_0x317053(0x414)]},'hostStyle':this[_0x317053(0x2bc)](),'contentMode':_0x1b7174[_0x317053(0x1a6)][_0x317053(0x46f)]});}['_frameStyle'](){return{...this['_hostStyle'],'radius':_0x1b7174['CHART_HOST_BORDER_RADIUS']};}[_0x217258(0x4cf)](_0x10583d){const _0x5648f5=_0x217258;let _0x35b918=_0x10583d[_0x5648f5(0x237)];_0x35b918&&(this[_0x5648f5(0x166)]||={'zIndex':_0x35b918[_0x5648f5(0x1df)][_0x5648f5(0x4d8)],'pointerEvents':_0x35b918[_0x5648f5(0x1df)][_0x5648f5(0x260)]},_0x35b918[_0x5648f5(0x1df)][_0x5648f5(0x4d8)]='1000',this[_0x5648f5(0x44f)](_0x10583d));}[_0x217258(0x44f)](_0x21cc64){const _0x3cb147=_0x217258;let _0x4443bc=_0x21cc64[_0x3cb147(0x237)];if(!_0x4443bc)return;let _0x56eefe=this['_dataUpdateAnimationDuration'];_0x56eefe==null?(delete _0x21cc64[_0x3cb147(0x301)][_0x3cb147(0x131)],delete _0x21cc64[_0x3cb147(0x301)][_0x3cb147(0x486)],_0x4443bc[_0x3cb147(0x1df)][_0x3cb147(0x260)]=_0x3cb147(0x22c)):(_0x21cc64[_0x3cb147(0x301)][_0x3cb147(0x131)]='true',_0x21cc64['dataset'][_0x3cb147(0x486)]=String(_0x56eefe),_0x4443bc[_0x3cb147(0x1df)][_0x3cb147(0x260)]=_0x3cb147(0x2ad));}[_0x217258(0x36c)](){const _0x55e4e7=_0x217258;if(!this[_0x55e4e7(0x166)])return;let _0x17cf89=this[_0x55e4e7(0x165)](),_0x640f53=(_0x17cf89==null?void 0x0:_0x17cf89['domId'])??this['chartId'],_0x6b4674=document['getElementById'](_0x640f53);_0x6b4674==null||delete _0x6b4674['dataset'][_0x55e4e7(0x131)],_0x6b4674==null||delete _0x6b4674[_0x55e4e7(0x301)][_0x55e4e7(0x486)];let _0x3b6ad4=_0x6b4674==null?void 0x0:_0x6b4674[_0x55e4e7(0x237)];_0x3b6ad4&&(_0x3b6ad4[_0x55e4e7(0x1df)][_0x55e4e7(0x4d8)]=this['_savedWrapperStyle'][_0x55e4e7(0x4d8)],_0x3b6ad4[_0x55e4e7(0x1df)][_0x55e4e7(0x260)]=this['_savedWrapperStyle'][_0x55e4e7(0x260)]),this[_0x55e4e7(0x166)]=null;}},_0x2882b3=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x374003,_0xff2c4f,_0x9fa23e,_0x40ed7f){const _0x38e7b0=_0x217258;super(),this['_original']=_0xff2c4f,_0x5c5268(this,_0x38e7b0(0x203),null),_0x5c5268(this,_0x38e7b0(0x18f),!0x1);let _0x1f0e0c=_0xc3490d=>{const _0x1dbd45=_0x38e7b0;this[_0x1dbd45(0x18f)]&&(_0xc3490d[_0x1dbd45(0x490)](),_0xc3490d[_0x1dbd45(0x376)]());},_0x47d3a2=_0x3c4745=>{const _0x1f4450=_0x38e7b0;let _0x1deabb=this['_gesture'];(_0x1deabb==null?void 0x0:_0x1deabb[_0x1f4450(0x2c8)][_0x1f4450(0x434)])===_0x3c4745['pointerId']&&!_0x1deabb[_0x1f4450(0x3c9)][_0x1f4450(0x15d)](_0x3c4745[_0x1f4450(0x434)])&&this[_0x1f4450(0x333)]();};_0x374003[_0x38e7b0(0x4dc)](_0x38e7b0(0x453),_0x1f0e0c,!0x0),_0x374003[_0x38e7b0(0x4dc)]('dblclick',_0x1f0e0c,!0x0),_0x374003[_0x38e7b0(0x4dc)](_0x38e7b0(0x1de),_0x47d3a2),this[_0x38e7b0(0x19f)]((0x0,_0x28a938['toDisposable'])(()=>{const _0x428fd3=_0x38e7b0;_0x374003[_0x428fd3(0x15a)](_0x428fd3(0x453),_0x1f0e0c,!0x0),_0x374003['removeEventListener']('dblclick',_0x1f0e0c,!0x0),_0x374003[_0x428fd3(0x15a)](_0x428fd3(0x1de),_0x47d3a2),_0x40ed7f(_0xff2c4f);})),this[_0x38e7b0(0x19f)](_0x9fa23e[_0x38e7b0(0x20b)](()=>{const _0xe14a21=_0x38e7b0;this[_0xe14a21(0x203)]&&(this[_0xe14a21(0x18f)]=!0x0);})),_0x40ed7f({'onPointerDown':_0x41a813=>{const _0x423bba=_0x38e7b0;this[_0x423bba(0x18f)]=!0x1,_0x41a813 instanceof PointerEvent&&_0x41a813[_0x423bba(0x3c9)]instanceof Element&&_0x374003[_0x423bba(0x416)](_0x41a813[_0x423bba(0x3c9)])&&(this[_0x423bba(0x203)]={'target':_0x41a813['target'],'event':_0x41a813}),_0xff2c4f[_0x423bba(0x318)](_0x41a813),this[_0x423bba(0x238)](_0x41a813);},'onPointerMove':_0x17b28f=>{const _0x3004a2=_0x38e7b0;_0xff2c4f[_0x3004a2(0x20d)](_0x17b28f),this[_0x3004a2(0x238)](_0x17b28f);},'onPointerUp':_0x35a370=>{const _0x5f39fa=_0x38e7b0;try{_0xff2c4f[_0x5f39fa(0x2eb)](_0x35a370);}finally{var _0x5b72bf;_0x35a370 instanceof PointerEvent&&((_0x5b72bf=this[_0x5f39fa(0x203)])==null?void 0x0:_0x5b72bf[_0x5f39fa(0x2c8)]['pointerId'])===_0x35a370[_0x5f39fa(0x434)]&&this['_releaseGesture']();}}});}[_0x217258(0x382)](){const _0x172e55=_0x217258;this['_disposed']||(this[_0x172e55(0x333)](),super[_0x172e55(0x382)]());}[_0x217258(0x238)](_0x1e25b3){const _0x2332d5=_0x217258;let _0x3fd729=this[_0x2332d5(0x203)];_0x1e25b3 instanceof PointerEvent&&(_0x3fd729==null?void 0x0:_0x3fd729['event'][_0x2332d5(0x434)])===_0x1e25b3['pointerId']&&(_0x3fd729[_0x2332d5(0x2c8)]=_0x1e25b3,_0x3fd729[_0x2332d5(0x3c9)][_0x2332d5(0x43e)]?_0x3fd729[_0x2332d5(0x3c9)][_0x2332d5(0x3ed)](_0x1e25b3[_0x2332d5(0x434)]):this['_cancelGesture']());}[_0x217258(0x4cc)](){const _0x5ccedc=_0x217258;let _0x472432=this['_gesture'];this[_0x5ccedc(0x203)]=null,_0x472432!=null&&_0x472432[_0x5ccedc(0x3c9)]['hasPointerCapture'](_0x472432[_0x5ccedc(0x2c8)][_0x5ccedc(0x434)])&&_0x472432[_0x5ccedc(0x3c9)][_0x5ccedc(0x496)](_0x472432[_0x5ccedc(0x2c8)][_0x5ccedc(0x434)]);}['_cancelGesture'](){const _0x173fc0=_0x217258;let _0x4ccfdb=this['_gesture'];this[_0x173fc0(0x4cc)](),_0x4ccfdb&&this['_original'][_0x173fc0(0x2eb)](new PointerEvent(_0x173fc0(0x32e),_0x4ccfdb[_0x173fc0(0x2c8)]));}},_0x2ccfb9=class extends _0x59f049[_0x217258(0x1e6)]{constructor(_0x4ff967,_0x33c89e,_0x2de333,_0x54ee17,_0x1a8051,_0x4b8197){const _0x552ee0=_0x217258;super(_0x4ff967),this['_getOuterRect']=_0x33c89e,this[_0x552ee0(0x28d)]=_0x2de333,this[_0x552ee0(0x396)]=_0x54ee17,this[_0x552ee0(0x263)]=_0x1a8051,this[_0x552ee0(0x40f)]=_0x4b8197;}[_0x217258(0x11a)](){let _0x108561=this['_getOuterRect']();return _0x108561?_0x3580f3(_0x108561):null;}[_0x217258(0x352)](_0x148a2f){this['_setHostStyle'](_0x148a2f);}[_0x217258(0x4fb)](){const _0x3a4b3b=_0x217258;return this[_0x3a4b3b(0x263)]['nextVersion'](this[_0x3a4b3b(0x396)]);}[_0x217258(0x13e)](_0x3c35d7,_0x2067b9){const _0xc2b673=_0x217258;return this['_snapshotStore'][_0xc2b673(0x122)](this['_snapshotKey'],_0x3c35d7,_0x2067b9);}[_0x217258(0x1f8)](){const _0x569cca=_0x217258;this[_0x569cca(0x40f)]();}[_0x217258(0x3d5)](){const _0x3e1a1c=_0x217258;this[_0x3e1a1c(0x263)][_0x3e1a1c(0x4fb)](this['_snapshotKey']);}};function _0x2abdbf(_0x1d335a,_0x543fae){return function(_0x522482,_0x4ab086){_0x543fae(_0x522482,_0x4ab086,_0x1d335a);};}function _0x17871f(_0x5690aa,_0x5bba19,_0x377732,_0x3fbc9c){const _0xaa6a66=_0x217258;var _0x6ea042=arguments['length'],_0x584bf8=_0x6ea042<0x3?_0x5bba19:_0x3fbc9c===null?_0x3fbc9c=Object['getOwnPropertyDescriptor'](_0x5bba19,_0x377732):_0x3fbc9c,_0x17fcbd;if(typeof Reflect==_0xaa6a66(0x2ca)&&typeof Reflect['decorate']=='function')_0x584bf8=Reflect[_0xaa6a66(0x36a)](_0x5690aa,_0x5bba19,_0x377732,_0x3fbc9c);else{for(var _0x253895=_0x5690aa['length']-0x1;_0x253895>=0x0;_0x253895--)(_0x17fcbd=_0x5690aa[_0x253895])&&(_0x584bf8=(_0x6ea042<0x3?_0x17fcbd(_0x584bf8):_0x6ea042>0x3?_0x17fcbd(_0x5bba19,_0x377732,_0x584bf8):_0x17fcbd(_0x5bba19,_0x377732))||_0x584bf8);}return _0x6ea042>0x3&&_0x584bf8&&Object[_0xaa6a66(0x4a7)](_0x5bba19,_0x377732,_0x584bf8),_0x584bf8;}let _0xeed676=0.5;function _0x1a710f(_0x3ca988){const _0x30ab41=_0x217258;let _0xba4d9=Math[_0x30ab41(0x19a)](_0x3ca988[_0x30ab41(0x332)]-_0x3ca988[_0x30ab41(0x244)],0x0),_0x54c3aa=Math['max'](_0x3ca988[_0x30ab41(0x3e1)]-_0x3ca988[_0x30ab41(0x33f)],0x0),_0x5f0f92=_0x3ca988[_0x30ab41(0x126)]['left']&&_0x3ca988[_0x30ab41(0x130)]-_0xba4d9>_0xeed676,_0x3e5502=_0x3ca988[_0x30ab41(0x126)]['top']&&_0x3ca988[_0x30ab41(0x390)]-_0x54c3aa>_0xeed676;return!_0x5f0f92&&!_0x3e5502?_0x3ca988:{..._0x3ca988,'absolute':{'left':!_0x5f0f92&&_0x3ca988[_0x30ab41(0x126)][_0x30ab41(0x106)],'top':!_0x3e5502&&_0x3ca988[_0x30ab41(0x126)][_0x30ab41(0x1e7)]}};}function _0x40084e(_0x4d0a1a){const _0x10df0c=_0x217258;if(!Object[_0x10df0c(0x3f5)][_0x10df0c(0x31a)][_0x10df0c(0x502)](_0x4d0a1a,_0x10df0c(0x25e)))return _0x4d0a1a;let {border:_0x5c08cb,..._0x3409c6}=_0x4d0a1a;return{..._0x3409c6,'stroke':(_0x5c08cb==null?void 0x0:_0x5c08cb[_0x10df0c(0x15e)])??_0x10df0c(0x2ea),'strokeWidth':(_0x5c08cb==null?void 0x0:_0x5c08cb[_0x10df0c(0x130)])??0x0};}let _0x46d260=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x359884,_0x16c054,_0x4a4ac8,_0x229c23){const _0x394d2b=_0x217258;super(),this['_sheetCanvasFloatDomManagerService']=_0x359884,this[_0x394d2b(0x4d4)]=_0x16c054,this[_0x394d2b(0x48e)]=_0x4a4ac8,this[_0x394d2b(0x44e)]=_0x229c23,_0x5c5268(this,_0x394d2b(0x138),new Map()),_0x5c5268(this,_0x394d2b(0x2fa),new Set()),_0x5c5268(this,_0x394d2b(0x3b2),new _0xbe6d29[(_0x394d2b(0x1cf))]()),_0x5c5268(this,'removeHost$',this[_0x394d2b(0x3b2)]['asObservable']()),this[_0x394d2b(0x19f)](this['_sheetCanvasFloatDomManagerService'][_0x394d2b(0x310)][_0x394d2b(0x20b)](_0x4680d3=>{const _0x1e0f4c=_0x394d2b;let _0x4efe0e=this['_chartHostMap'][_0x1e0f4c(0x439)](_0x4680d3['id']);_0x4efe0e!=null&&_0x4efe0e[_0x1e0f4c(0x259)]()&&(_0x4efe0e['markUnmanaged'](),this['_removeHost$'][_0x1e0f4c(0x10b)](_0x4680d3['id']));}));}[_0x217258(0x11f)](_0x5b7b5f){const _0x2818d3=_0x217258;if(_0x5b7b5f==null)return;let _0x229687=this[_0x2818d3(0x4d4)][_0x2818d3(0x4b7)](_0x5b7b5f),_0x1252fc=_0x229687==null?void 0x0:_0x229687['scene'];return _0x229687==null||_0x1252fc==null?null:{'scene':_0x1252fc,'transformer':_0x1252fc[_0x2818d3(0x45b)](),'renderUnit':_0x229687,'canvas':_0x229687['engine'][_0x2818d3(0x320)]()};}['setBorder'](_0x33dc59,_0x40e634){const _0x1c36b2=_0x217258;let _0x2b785f=this[_0x1c36b2(0x256)],_0x4eff89=_0x40e634||_0x1c36b2(0x2ea),_0x43799d=_0x2b785f[_0x1c36b2(0x476)](_0x33dc59);if(_0x43799d){let {unitId:_0x3939f3,subUnitId:_0x4f3ed3}=_0x43799d;_0x2b785f[_0x1c36b2(0x228)](_0x3939f3,_0x4f3ed3,_0x33dc59,{'stroke':_0x4eff89});}}['setHostStyle'](_0x22e9e6,_0xf10590){const _0x4312f5=_0x217258;let _0x312769=this[_0x4312f5(0x256)],_0x565bd5=_0x312769['getFloatDomInfo'](_0x22e9e6);if(_0x565bd5){let {unitId:_0x22ef31,subUnitId:_0x469de2}=_0x565bd5;_0x312769['updateFloatDomProps'](_0x22ef31,_0x469de2,_0x22e9e6,_0x40084e(_0xf10590));}}['getHostSize'](_0x592fa6){const _0x1e7b90=_0x217258;let _0x2e0c02=this[_0x1e7b90(0x256)][_0x1e7b90(0x476)](_0x592fa6);return _0x2e0c02?_0x2e0c02[_0x1e7b90(0x4b0)]:null;}[_0x217258(0x329)](_0x555835){const _0x413dd5=_0x217258;let _0x1c47e9=this[_0x413dd5(0x256)][_0x413dd5(0x476)](_0x555835),_0x34415c=document[_0x413dd5(0x3dd)]((_0x1c47e9==null?void 0x0:_0x1c47e9[_0x413dd5(0x3da)])??_0x555835);return(_0x34415c==null?void 0x0:_0x34415c[_0x413dd5(0x1f0)]())??null;}['setDataUpdateAnimation'](_0x122f90,_0x52dc7a){const _0xc9645f=_0x217258;var _0x1d041f;(_0x1d041f=this[_0xc9645f(0x138)][_0xc9645f(0x439)](_0x122f90))==null||_0x1d041f[_0xc9645f(0x22a)](_0x52dc7a);}[_0x217258(0x40c)](_0x43456c){const _0x560b04=_0x217258;var _0x12287b;return((_0x12287b=this[_0x560b04(0x138)]['get'](_0x43456c))==null?void 0x0:_0x12287b[_0x560b04(0x25a)]())??!0x1;}[_0x217258(0x462)](_0x3ad6e1){const _0x3f39b6=_0x217258;var _0x67353;(_0x67353=this[_0x3f39b6(0x138)][_0x3f39b6(0x439)](_0x3ad6e1))==null||_0x67353[_0x3f39b6(0x4ab)]();}['removeHost'](_0x4759c7){const _0x43b189=_0x217258;let _0xcdb22f=this['_chartHostMap']['get'](_0x4759c7);_0xcdb22f&&(_0xcdb22f[_0x43b189(0x382)](),this[_0x43b189(0x44e)][_0x43b189(0x2a1)](_0x4759c7,{'eventPassThrough':!0x0})),this['_chartHostMap'][_0x43b189(0x312)](_0x4759c7);}async[_0x217258(0x3bb)](_0x9249f3,_0x306d5f){const _0x45948a=_0x217258;if(_0x306d5f===_0x59f049[_0x45948a(0x309)]['Image'])return this[_0x45948a(0x233)](_0x9249f3);if(_0x306d5f===_0x59f049['ChartRenderMode'][_0x45948a(0x2cd)])return this[_0x45948a(0x1a3)](_0x9249f3);let _0x2be15f=this[_0x45948a(0x1a3)](_0x9249f3);if(!_0x2be15f)throw Error(_0x45948a(0x4fc));return _0x2be15f[_0x45948a(0x2a9)]();}['isDomReady'](_0x29537f){const _0x5d1bbd=_0x217258;var _0x44fb2a;return this[_0x5d1bbd(0x2fa)]['has'](_0x29537f)?(_0x44fb2a=this['_chartHostMap'][_0x5d1bbd(0x439)](_0x29537f))!=null&&_0x44fb2a[_0x5d1bbd(0x25a)]()?!0x0:(this[_0x5d1bbd(0x2fa)][_0x5d1bbd(0x312)](_0x29537f),this['_restoreFloatDomPositionStream'](_0x29537f),!0x1):!0x1;}['markHostNotReady'](_0x34854f){const _0x4e816a=_0x217258;this[_0x4e816a(0x2fa)][_0x4e816a(0x312)](_0x34854f)&&(this[_0x4e816a(0x3b4)](_0x34854f),this[_0x4e816a(0x2a0)](_0x34854f));}[_0x217258(0x3d5)](_0x4fcca1){const _0x302cdd=_0x217258;let _0x5a2517=this[_0x302cdd(0x140)](_0x4fcca1);_0x5a2517&&this[_0x302cdd(0x48e)]['nextVersion'](_0x5a2517);}[_0x217258(0x233)](_0x4f34d1){const _0x25b3c8=_0x217258;let _0x5406e4=this[_0x25b3c8(0x140)](_0x4f34d1);return!_0x5406e4||!this[_0x25b3c8(0x481)](_0x4f34d1)?null:new _0x2ccfb9(_0x4f34d1,()=>this[_0x25b3c8(0x481)](_0x4f34d1),_0x3466b0=>this[_0x25b3c8(0x222)](_0x4f34d1,_0x3466b0),_0x5406e4,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x4f34d1));}[_0x217258(0x1a3)](_0x4b92e4){const _0x59dded=_0x217258;if(!this[_0x59dded(0x481)](_0x4b92e4))return null;this[_0x59dded(0x44e)][_0x59dded(0x2a1)](_0x4b92e4,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x235b58=this[_0x59dded(0x138)][_0x59dded(0x439)](_0x4b92e4);if(_0x235b58)return _0x235b58;let _0x28bc2c=new _0x7cfc74(_0x4b92e4,()=>this[_0x59dded(0x256)]['getFloatDomInfo'](_0x4b92e4),()=>this['_getHostPlacement'](_0x4b92e4),_0x532731=>this[_0x59dded(0x222)](_0x4b92e4,_0x532731),()=>this[_0x59dded(0x1bb)],()=>this['_markHostReady'](_0x4b92e4),()=>this[_0x59dded(0x2f4)](_0x4b92e4),_0x61e99c=>this[_0x59dded(0x42c)](_0x4b92e4,_0x61e99c));return this[_0x59dded(0x138)]['set'](_0x4b92e4,_0x28bc2c),_0x28bc2c;}[_0x217258(0x42c)](_0xf69721,_0x43dfc5){const _0x1b2513=_0x217258;var _0x160c32;let _0x5910da=this['_sheetCanvasFloatDomManagerService'][_0x1b2513(0x476)](_0xf69721),_0x3ab5b0=(_0x160c32=this['_canvasFloatDomService'][_0x1b2513(0x4e4)][_0x1b2513(0x456)](([_0x40ca18])=>_0x40ca18===_0xf69721))==null?void 0x0:_0x160c32[0x1],_0x354f67=_0x5910da?this[_0x1b2513(0x11f)](_0x5910da[_0x1b2513(0x4e1)]):null;if(!_0x5910da||!_0x3ab5b0||!_0x354f67)return(0x0,_0x28a938[_0x1b2513(0x323)])(()=>{});let _0x3ab507=(0x0,_0x58f777[_0x1b2513(0x26f)])({'unitId':_0x5910da[_0x1b2513(0x4e1)],'subUnitId':_0x5910da[_0x1b2513(0x26e)],'drawingId':_0xf69721});return new _0x2882b3(_0x43dfc5,{'onPointerDown':_0x3ab5b0[_0x1b2513(0x318)],'onPointerMove':_0x3ab5b0[_0x1b2513(0x20d)],'onPointerUp':_0x3ab5b0[_0x1b2513(0x2eb)]},_0x354f67['transformer'][_0x1b2513(0x3eb)][_0x1b2513(0x4c5)]((0x0,_0xbe6d29[_0x1b2513(0x3ce)])(_0x58b788=>_0x58b788['objects']['has'](_0x3ab507)&&((_0x58b788[_0x1b2513(0x2dd)]??0x0)!==0x0||(_0x58b788['moveY']??0x0)!==0x0))),_0x20162a=>this[_0x1b2513(0x44e)][_0x1b2513(0x2a1)](_0xf69721,_0x20162a));}['_markHostReady'](_0x311643){const _0x162413=_0x217258;this[_0x162413(0x2fa)][_0x162413(0x327)](_0x311643)||(this[_0x162413(0x2fa)][_0x162413(0x442)](_0x311643),this[_0x162413(0x1f4)](_0x311643),this[_0x162413(0x2a0)](_0x311643));}[_0x217258(0x1f4)](_0x56c333){const _0x250f7b=_0x217258;var _0x181696;let _0x1c6913=this[_0x250f7b(0x256)][_0x250f7b(0x476)](_0x56c333),_0x3c58ed=_0x1c6913?(_0x181696=this[_0x250f7b(0x4d4)]['getRenderUnitById'](_0x1c6913[_0x250f7b(0x4e1)]))==null?void 0x0:_0x181696[_0x250f7b(0x193)]:null;if(!_0x1c6913||!_0x3c58ed)return;let _0x3fdeb8=(0x0,_0xbe6d29[_0x250f7b(0x13c)])(_0x1c6913[_0x250f7b(0x478)]['pipe']((0x0,_0xbe6d29[_0x250f7b(0x4e7)])(0x1)),_0x3c58ed[_0x250f7b(0x221)][_0x250f7b(0x4c5)]((0x0,_0xbe6d29[_0x250f7b(0x381)])(_0x1c6913[_0x250f7b(0x478)]),(0x0,_0xbe6d29[_0x250f7b(0x4cd)])(([,_0x3676e4])=>_0x3676e4)))[_0x250f7b(0x4c5)]((0x0,_0xbe6d29['distinctUntilChanged'])(),(0x0,_0xbe6d29[_0x250f7b(0x4cd)])(_0x1a710f));this[_0x250f7b(0x44e)][_0x250f7b(0x2a1)](_0x56c333,{'position$':_0x3fdeb8});}['_restoreFloatDomPositionStream'](_0x404bd3){const _0x401895=_0x217258;let _0x32520a=this[_0x401895(0x256)]['getFloatDomInfo'](_0x404bd3);_0x32520a&&this[_0x401895(0x44e)][_0x401895(0x2a1)](_0x404bd3,{'position$':_0x32520a[_0x401895(0x478)]});}[_0x217258(0x140)](_0x240e36){const _0x46ee27=_0x217258;let _0x45bb71=this['_sheetCanvasFloatDomManagerService'][_0x46ee27(0x476)](_0x240e36);return _0x45bb71?{'unitId':_0x45bb71[_0x46ee27(0x4e1)],'subUnitId':_0x45bb71[_0x46ee27(0x26e)],'chartId':_0x240e36}:null;}['_requestChartCanvasRender'](_0x5ca428){const _0x3bea70=_0x217258;var _0x4884a5,_0x498552,_0x389f8d;let _0x311bda=this[_0x3bea70(0x256)][_0x3bea70(0x476)](_0x5ca428);if(!_0x311bda)return;let _0x10d672=(_0x4884a5=this[_0x3bea70(0x4d4)][_0x3bea70(0x4b7)](_0x311bda['unitId']))==null?void 0x0:_0x4884a5[_0x3bea70(0x193)],_0x2e6703=(_0x10d672==null||(_0x498552=_0x10d672['getObjectIncludeInGroup'])==null?void 0x0:_0x498552[_0x3bea70(0x502)](_0x10d672,(0x0,_0x58f777[_0x3bea70(0x26f)])({'unitId':_0x311bda[_0x3bea70(0x4e1)],'subUnitId':_0x311bda[_0x3bea70(0x26e)],'drawingId':_0x5ca428})))??(_0x10d672==null?void 0x0:_0x10d672[_0x3bea70(0x1f9)]((0x0,_0x58f777[_0x3bea70(0x26f)])({'unitId':_0x311bda['unitId'],'subUnitId':_0x311bda['subUnitId'],'drawingId':_0x5ca428})))??null;_0x2e6703==null||(_0x389f8d=_0x2e6703['makeDirty'])==null||_0x389f8d['call'](_0x2e6703,!0x0),_0x10d672==null||_0x10d672[_0x3bea70(0x1f1)](!0x0);}[_0x217258(0x34a)](_0x1a6240){const _0x1c3368=_0x217258;let _0x35c43e=this[_0x1c3368(0x256)][_0x1c3368(0x476)](_0x1a6240);if(!_0x35c43e)return null;let _0x4167fa=this[_0x1c3368(0x11f)](_0x35c43e[_0x1c3368(0x4e1)]),_0x332867=_0x4167fa==null?void 0x0:_0x4167fa['scene'],_0x51d8e5=document[_0x1c3368(0x3dd)](_0x35c43e[_0x1c3368(0x3da)]??_0x1a6240);return _0x112164(_0x35c43e['rect'],{'scaleX':(_0x332867==null?void 0x0:_0x332867[_0x1c3368(0x3ff)])??0x1,'scaleY':(_0x332867==null?void 0x0:_0x332867['scaleY'])??0x1},_0x51d8e5?{'left':_0x51d8e5[_0x1c3368(0x4ad)],'top':_0x51d8e5[_0x1c3368(0x1da)]}:void 0x0);}['dispose'](){const _0x52dab0=_0x217258;this[_0x52dab0(0x1bb)]||(Array[_0x52dab0(0x21e)](this[_0x52dab0(0x138)][_0x52dab0(0x1aa)]())[_0x52dab0(0x432)](_0x1896c7=>this[_0x52dab0(0x447)](_0x1896c7)),this[_0x52dab0(0x2fa)][_0x52dab0(0x4ba)](),this[_0x52dab0(0x3b2)]['complete'](),super['dispose']());}};_0x46d260=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x2fb4ab[_0x217258(0x3d2)])),_0x2abdbf(0x1,(0x0,_0x28a938['Inject'])(_0x18e11[_0x217258(0x3ee)])),_0x2abdbf(0x2,(0x0,_0x28a938['Inject'])(_0x3424d1)),_0x2abdbf(0x3,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x545d4c['CanvasFloatDomService']))],_0x46d260);let _0x1de7de=(0x0,_0x28a938[_0x217258(0x22b)])(_0x217258(0x40e)),_0x4b9549=_0x59f049[_0x217258(0x309)]['Image'];var _0x2579a8=class extends _0x59f049[_0x217258(0x1e6)]{constructor(_0x23c733,_0xa6eb12){const _0xdaba82=_0x217258;super(_0x23c733),this[_0xdaba82(0x28f)]=_0xa6eb12,_0x5c5268(this,'_version',0x0),_0x5c5268(this,'_image',void 0x0),_0x5c5268(this,_0xdaba82(0x1df),{});}['getRect'](){const _0xca4b73=_0x217258;return this[_0xca4b73(0x28f)];}[_0x217258(0x352)](_0x43c2f3){const _0x575dde=_0x217258;this[_0x575dde(0x1df)]=_0x43c2f3;}[_0x217258(0x4fb)](){const _0x164dc7=_0x217258;return++this[_0x164dc7(0x2d8)];}[_0x217258(0x13e)](_0x4ebc56,_0x4fe17a){const _0x12ae22=_0x217258;return _0x4fe17a===this[_0x12ae22(0x2d8)]?(_0x799ed(this[_0x12ae22(0x2a5)]),this[_0x12ae22(0x2a5)]=_0x4ebc56,!0x0):(_0x799ed(_0x4ebc56),!0x1);}[_0x217258(0x1f8)](){}[_0x217258(0x3d5)](){const _0x44165f=_0x217258;this[_0x44165f(0x2d8)]+=0x1;}[_0x217258(0x35b)](){const _0x4afd0a=_0x217258;let _0x7cd0a7=this[_0x4afd0a(0x2a5)];return this[_0x4afd0a(0x2a5)]=void 0x0,_0x7cd0a7;}['dispose'](){const _0x5c4cc6=_0x217258;_0x799ed(this[_0x5c4cc6(0x2a5)]),this['_image']=void 0x0,super[_0x5c4cc6(0x382)]();}};function _0x17d195(_0x5e221b,_0x328ab6,_0x132f3c){const _0xad058=_0x217258;let _0x5277f5=_0x5e221b['getRuntimeContext'](_0x328ab6),_0x1f1a84={..._0x5e221b['style'],'runtime':{..._0x5277f5,'layoutInset':0x8,..._0x132f3c===void 0x0?{}:{'addWatermark':_0x132f3c}},'direction':_0x328ab6};return(0x0,_0x59f049[_0xad058(0x30e)])(_0x1f1a84,_0x5e221b[_0xad058(0x4e3)]);}let _0x5564f6=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x3358b1,_0x3a85f9,_0x283d2b,_0x584c5e,_0x557c3b,_0x4ea6f7,_0x6fd3ae,_0x2b3884,_0x1204cf,_0x2be813,_0x3fd33c,_0x38e0f9,_0x1f5c5e){const _0x5e22e9=_0x217258;super(),this[_0x5e22e9(0x4ef)]=_0x3358b1,this[_0x5e22e9(0x256)]=_0x3a85f9,this['_chartModelService']=_0x283d2b,this[_0x5e22e9(0x487)]=_0x584c5e,this[_0x5e22e9(0x360)]=_0x557c3b,this[_0x5e22e9(0x4d4)]=_0x4ea6f7,this[_0x5e22e9(0x345)]=_0x6fd3ae,this['_injector']=_0x2b3884,this['_chartThemeService']=_0x1204cf,this[_0x5e22e9(0x4c7)]=_0x2be813,this[_0x5e22e9(0x16f)]=_0x3fd33c,this[_0x5e22e9(0x48e)]=_0x38e0f9,this[_0x5e22e9(0x4d7)]=_0x1f5c5e,_0x5c5268(this,_0x5e22e9(0x488),new Map()),_0x5c5268(this,_0x5e22e9(0x2d5),new Map()),_0x5c5268(this,_0x5e22e9(0x1d0),new Map()),_0x5c5268(this,_0x5e22e9(0x1d2),new Map()),_0x5c5268(this,'_renderDebounceMap',new Map()),_0x5c5268(this,_0x5e22e9(0x2c9),new Map()),_0x5c5268(this,_0x5e22e9(0x281),new Map()),_0x5c5268(this,_0x5e22e9(0x115),void 0x0),_0x5c5268(this,_0x5e22e9(0x2d6),void 0x0),_0x5c5268(this,_0x5e22e9(0x465),new Map()),_0x5c5268(this,_0x5e22e9(0x440),new Set()),_0x5c5268(this,_0x5e22e9(0x2c3),new Map()),_0x5c5268(this,_0x5e22e9(0x216),null),_0x5c5268(this,_0x5e22e9(0x3e0),null);let _0x53400f=(0x0,_0x173cb1['getAllowedChartTypes'])(this[_0x5e22e9(0x491)]),_0x13a76a=this[_0x5e22e9(0x16f)]['getConfig'](_0x173cb1[_0x5e22e9(0x25c)]);this[_0x5e22e9(0x115)]=(_0x13a76a==null?void 0x0:_0x13a76a['chartRenderMode'])??_0x4b9549,this[_0x5e22e9(0x2d6)]=_0x53400f[_0x5e22e9(0x503)]!==0x1||_0x53400f[0x0]!==_0x5e22e9(0x436),this[_0x5e22e9(0x24b)](),this[_0x5e22e9(0x430)](),this[_0x5e22e9(0x366)](),this[_0x5e22e9(0x4ca)](),this[_0x5e22e9(0x148)]();}[_0x217258(0x39c)](_0x3e0190){const _0x486d4c=_0x217258;let _0x2e54bf=this['_getChartSnapshotKey'](_0x3e0190);return _0x2e54bf?this[_0x486d4c(0x48e)][_0x486d4c(0x208)](_0x2e54bf):void 0x0;}[_0x217258(0x3bc)](_0xcdd4af){const _0x2ebe76=_0x217258;var _0x2f5c46;return((_0x2f5c46=this[_0x2ebe76(0x136)][_0x2ebe76(0x38c)])==null?void 0x0:_0x2f5c46['id'])===_0xcdd4af?_0x59f049[_0x2ebe76(0x309)][_0x2ebe76(0x2cd)]:this['_chartRenderMode'];}[_0x217258(0x140)](_0x10e7dc){const _0x141589=_0x217258;let _0x3b49f4=this['_sheetCanvasFloatDomManagerService'][_0x141589(0x476)](_0x10e7dc);return _0x3b49f4?{'unitId':_0x3b49f4['unitId'],'subUnitId':_0x3b49f4['subUnitId'],'chartId':_0x10e7dc}:null;}[_0x217258(0x24b)](){const _0x3ca426=_0x217258;this[_0x3ca426(0x115)]===_0x59f049['ChartRenderMode']['Image']&&this[_0x3ca426(0x19f)](this[_0x3ca426(0x256)][_0x3ca426(0x104)](_0x28a938[_0x3ca426(0x32b)][_0x3ca426(0x3fc)],({key:_0x2079cf,config:_0x54101c,unitId:_0x13aa3f,subUnitId:_0x2bc032,drawingId:_0x2ef784})=>new _0x3eab91(_0x2079cf,_0x54101c,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x13aa3f,'subUnitId':_0x2bc032,'chartId':_0x2ef784}),()=>this[_0x3ca426(0x4ef)][_0x3ca426(0x4f0)](_0x2ef784))));}[_0x217258(0x430)](){const _0x1ea9c9=_0x217258;this['disposeWithMe'](this[_0x1ea9c9(0x136)]['activeChartModel$'][_0x1ea9c9(0x20b)](_0x586380=>{const _0x3f2dc2=_0x1ea9c9;let _0x231fd2=(_0x586380==null?void 0x0:_0x586380['id'])??null,_0x3e4bac=this[_0x3f2dc2(0x216)];_0x3e4bac!==_0x231fd2&&(_0x3e4bac&&(this['_chartHostProvider'][_0x3f2dc2(0x2f4)](_0x3e4bac),this[_0x3f2dc2(0x4b6)](_0x3e4bac),this['_disposeChartDomInstance'](_0x3e4bac)),this['_activeChartId']=_0x231fd2,_0x231fd2&&(this[_0x3f2dc2(0x47a)](_0x231fd2),this[_0x3f2dc2(0x4ef)]['markHostNotReady'](_0x231fd2),this[_0x3f2dc2(0x4c9)](_0x231fd2),this[_0x3f2dc2(0x463)](_0x231fd2)));}));}['_initDrawingDeactivationListener'](){const _0x4b2f14=_0x217258;this[_0x4b2f14(0x19f)](this[_0x4b2f14(0x487)][_0x4b2f14(0x35d)][_0x4b2f14(0x20b)](_0x239870=>{const _0x12e70d=_0x4b2f14;var _0x3c402c;let _0x3739ea=(_0x3c402c=this['_chartModelService'][_0x12e70d(0x38c)])==null?void 0x0:_0x3c402c['id'];_0x3739ea&&_0x239870[_0x12e70d(0x2bb)](_0x1fd15d=>_0x1fd15d[_0x12e70d(0x383)]['some'](_0xe63ced=>_0xe63ced[_0x12e70d(0x3e4)]===_0x3739ea))&&this[_0x12e70d(0x136)][_0x12e70d(0x146)](null);})),this[_0x4b2f14(0x19f)](this[_0x4b2f14(0x487)][_0x4b2f14(0x4d5)]['subscribe'](_0x3dd072=>{const _0x3840ad=_0x4b2f14;var _0x46a1fe;let _0x377479=(_0x46a1fe=this['_chartModelService'][_0x3840ad(0x38c)])==null?void 0x0:_0x46a1fe['id'];_0x377479&&_0x3dd072[_0x3840ad(0x2bb)](_0x1a21ac=>_0x1a21ac[_0x3840ad(0x4e5)][_0x3840ad(0x3e4)]===_0x377479||_0x1a21ac[_0x3840ad(0x383)][_0x3840ad(0x2bb)](_0x2b74ad=>_0x2b74ad[_0x3840ad(0x3e4)]===_0x377479))&&this[_0x3840ad(0x136)]['setActiveChartModel'](null);}));}[_0x217258(0x4ca)](){const _0x3298e0=_0x217258;this[_0x3298e0(0x19f)](this[_0x3298e0(0x487)][_0x3298e0(0x32c)][_0x3298e0(0x20b)](_0x133752=>{const _0x5ed504=_0x3298e0;var _0xfa4886;let _0x219e00=(_0xfa4886=this[_0x5ed504(0x136)][_0x5ed504(0x38c)])==null?void 0x0:_0xfa4886['id'];if(!_0x219e00){_0x133752['drawingIds'][_0x5ed504(0x432)](_0xe36313=>{this['_chartModelService']['getChartModel'](_0xe36313)&&this['_resetChartRuntimeZIndex'](_0xe36313);});return;}let _0x12c724=this[_0x5ed504(0x256)]['getFloatDomInfo'](_0x219e00);(_0x12c724==null?void 0x0:_0x12c724['unitId'])===_0x133752[_0x5ed504(0x4e1)]&&_0x12c724[_0x5ed504(0x26e)]===_0x133752['subUnitId']&&this['_applyActiveChartRuntimeZIndex'](_0x219e00);})),this[_0x3298e0(0x19f)](this[_0x3298e0(0x487)][_0x3298e0(0x493)][_0x3298e0(0x20b)](_0x26db42=>{const _0x3bcbbb=_0x3298e0;var _0x20d418;let _0x3b6273=(_0x20d418=this[_0x3bcbbb(0x136)]['activeChartModel'])==null?void 0x0:_0x20d418['id'];if(!_0x3b6273)return;let _0x420b5f=this[_0x3bcbbb(0x256)][_0x3bcbbb(0x476)](_0x3b6273);_0x420b5f&&_0x26db42[_0x3bcbbb(0x2bb)](_0x19c1c0=>_0x19c1c0[_0x3bcbbb(0x4e1)]===_0x420b5f[_0x3bcbbb(0x4e1)]&&_0x19c1c0['subUnitId']===_0x420b5f[_0x3bcbbb(0x26e)])&&this[_0x3bcbbb(0x4c9)](_0x3b6273);})),this[_0x3298e0(0x19f)](this[_0x3298e0(0x136)]['chartModelRemoved$'][_0x3298e0(0x20b)](_0x39eda1=>{const _0x1f7d9e=_0x3298e0;var _0x4f41fa;this[_0x1f7d9e(0x229)](_0x39eda1),this[_0x1f7d9e(0x4a1)](_0x39eda1),this[_0x1f7d9e(0x2d5)]['delete'](_0x39eda1),this[_0x1f7d9e(0x47a)](_0x39eda1),this[_0x1f7d9e(0x465)][_0x1f7d9e(0x312)](_0x39eda1),this['_chartSnapshotStoreService'][_0x1f7d9e(0x2e2)](_0x39eda1),this[_0x1f7d9e(0x45c)](_0x39eda1),this['_chartHostProvider'][_0x1f7d9e(0x2f4)](_0x39eda1),((_0x4f41fa=this[_0x1f7d9e(0x136)]['activeChartModel'])==null?void 0x0:_0x4f41fa['id'])===_0x39eda1?this[_0x1f7d9e(0x136)][_0x1f7d9e(0x146)](null):this[_0x1f7d9e(0x4b6)](_0x39eda1),this[_0x1f7d9e(0x4ce)](_0x39eda1);}));}[_0x217258(0x463)](_0x47a395){const _0x2d0c9a=_0x217258;let _0xef160=this['_lastRenderInputMap'][_0x2d0c9a(0x439)](_0x47a395);_0xef160&&this[_0x2d0c9a(0x375)](_0x47a395,_0xef160[_0x2d0c9a(0x1c5)],_0xef160[_0x2d0c9a(0x1df)]);}[_0x217258(0x234)](_0x3451e4){const _0x23a75d=_0x217258;let _0x16aa28=this[_0x23a75d(0x488)]['get'](_0x3451e4);(_0x16aa28==null?void 0x0:_0x16aa28[_0x23a75d(0x2b1)])===_0x23a75d(0x348)&&(this['_disposeChartEventSubscriptions'](_0x3451e4),_0x16aa28[_0x23a75d(0x382)](),this[_0x23a75d(0x488)][_0x23a75d(0x312)](_0x3451e4)),this['_chartHostProvider'][_0x23a75d(0x2f4)](_0x3451e4),this['_chartHostProvider'][_0x23a75d(0x447)](_0x3451e4);}[_0x217258(0x4ce)](_0x43163d){const _0x5ae071=_0x217258;let _0x1a13f9=this[_0x5ae071(0x488)][_0x5ae071(0x439)](_0x43163d);_0x1a13f9&&(this['_disposeChartEventSubscriptions'](_0x43163d),_0x1a13f9['dispose'](),this['_chartInstanceMap']['delete'](_0x43163d)),this[_0x5ae071(0x4ef)][_0x5ae071(0x2f4)](_0x43163d),this[_0x5ae071(0x4ef)][_0x5ae071(0x447)](_0x43163d);}[_0x217258(0x45c)](_0x1312b7){const _0x16fe23=_0x217258;var _0x369cde,_0x48cb9e;(_0x369cde=this[_0x16fe23(0x4d7)]['getRenderModel'](_0x59f049['EChartRenderEngineName']))==null||(_0x48cb9e=_0x369cde['emitChartEvent'])==null||_0x48cb9e[_0x16fe23(0x502)](_0x369cde,{'type':_0x16fe23(0x21d),'chartId':_0x1312b7});}['_notifySheetChartsDetached'](_0x226e88,_0x15d1f2){const _0x4ef4e2=_0x217258;let _0x3fe1e1=this[_0x4ef4e2(0x487)][_0x4ef4e2(0x1d9)](_0x226e88,_0x15d1f2);Object[_0x4ef4e2(0x18b)](_0x3fe1e1??{})[_0x4ef4e2(0x432)](_0x2eea16=>{const _0x4da8a9=_0x4ef4e2;if(_0x2eea16['drawingType']===_0x28a938[_0x4da8a9(0x32b)][_0x4da8a9(0x3fc)]){var _0x46d246,_0xb7a00f;(_0x46d246=this[_0x4da8a9(0x4d7)]['getRenderModel'](_0x59f049['EChartRenderEngineName']))==null||(_0xb7a00f=_0x46d246[_0x4da8a9(0x3a1)])==null||_0xb7a00f[_0x4da8a9(0x502)](_0x46d246,{'type':_0x4da8a9(0x28e),'chartId':_0x2eea16[_0x4da8a9(0x3e4)]});}});}[_0x217258(0x11e)](_0xbc23ba,_0x5e4c00){const _0x1bbcda=_0x217258;var _0x7b111d;return((_0x7b111d=_0xbc23ba[_0x1bbcda(0x4bf)])==null?void 0x0:_0x7b111d[_0x1bbcda(0x502)](_0xbc23ba,_0x5e4c00))??_0xbc23ba[_0x1bbcda(0x1f9)](_0x5e4c00)??null;}[_0x217258(0x17d)](_0x1bdfae){const _0x2af6b9=_0x217258;var _0x2b43a4;let _0x451f72=this['_sheetCanvasFloatDomManagerService'][_0x2af6b9(0x476)](_0x1bdfae);if(!_0x451f72)return null;let _0x8abfb=(_0x2b43a4=this[_0x2af6b9(0x4d4)][_0x2af6b9(0x4b7)](_0x451f72[_0x2af6b9(0x4e1)]))==null?void 0x0:_0x2b43a4[_0x2af6b9(0x193)];if(!_0x8abfb)return null;let _0xecfacf=this['_getChartRenderObject'](_0x8abfb,(0x0,_0x58f777[_0x2af6b9(0x26f)])({'unitId':_0x451f72[_0x2af6b9(0x4e1)],'subUnitId':_0x451f72[_0x2af6b9(0x26e)],'drawingId':_0x1bdfae}));return _0xecfacf?{'info':_0x451f72,'scene':_0x8abfb,'chartObject':_0xecfacf}:null;}[_0x217258(0x290)](_0x387054,_0xea8f74){const _0x492816=_0x217258;var _0x3cba4a,_0x1ee271,_0x4adb22,_0xbd7792;let _0x19a851=this['_getChartRenderObjectContext'](_0x387054);_0x19a851&&((_0x3cba4a=(_0x1ee271=_0x19a851['chartObject'])[_0x492816(0x16e)])==null||_0x3cba4a['call'](_0x1ee271,{'zIndex':_0xea8f74}),(_0x4adb22=(_0xbd7792=_0x19a851[_0x492816(0x399)])[_0x492816(0x1f1)])==null||_0x4adb22['call'](_0xbd7792,!0x0),_0x19a851['scene'][_0x492816(0x1f1)](!0x0));}[_0x217258(0x4c9)](_0x37fae9){const _0x3c9353=_0x217258;let _0x4630c0=this[_0x3c9353(0x256)][_0x3c9353(0x476)](_0x37fae9);if(!_0x4630c0)return;let _0x1e05c8=this[_0x3c9353(0x487)]['getDrawingOrder'](_0x4630c0[_0x3c9353(0x4e1)],_0x4630c0[_0x3c9353(0x26e)]);this['_setChartRuntimeZIndex'](_0x37fae9,_0x1e05c8[_0x3c9353(0x503)]);}[_0x217258(0x4b6)](_0x72fdfc){const _0x369691=_0x217258;let _0x584c37=this[_0x369691(0x256)]['getFloatDomInfo'](_0x72fdfc);if(!_0x584c37)return;let _0x123c89=this['_drawingManagerService'][_0x369691(0x230)](_0x584c37['unitId'],_0x584c37[_0x369691(0x26e)]),_0x55b23a=_0x123c89[_0x369691(0x2e1)](_0x72fdfc);this[_0x369691(0x290)](_0x72fdfc,_0x55b23a===-0x1?Math[_0x369691(0x19a)](_0x123c89[_0x369691(0x503)]-0x1,0x0):_0x55b23a);}['_resizeChart'](_0x412f6e,_0x5c1ef1){const _0x214050=_0x217258;let _0x54a04b=this['_sheetCanvasFloatDomManagerService'][_0x214050(0x476)](_0x412f6e);if(_0x5c1ef1[_0x214050(0x130)]!==void 0x0&&_0x5c1ef1[_0x214050(0x390)]!==void 0x0&&_0x54a04b){var _0x588d24;let {subUnitId:_0x469c33}=_0x54a04b,_0x34f330=(_0x588d24=this[_0x214050(0x360)][_0x214050(0x34f)](_0x28a938[_0x214050(0x270)][_0x214050(0x3df)]))==null?void 0x0:_0x588d24['getActiveSheet']();if((_0x34f330==null?void 0x0:_0x34f330[_0x214050(0x2f8)]())===_0x469c33){let {width:_0x21235e,height:_0x41ff09}=_0x5c1ef1,_0x3ac6f6=this['_chartModelService'][_0x214050(0x26b)](_0x412f6e),_0x77280=_0x3ac6f6==null?void 0x0:_0x3ac6f6['style'];(Math[_0x214050(0x1d1)](_0x21235e-((_0x77280==null?void 0x0:_0x77280[_0x214050(0x130)])||0x0))>0x1||Math[_0x214050(0x1d1)](_0x41ff09-((_0x77280==null?void 0x0:_0x77280[_0x214050(0x390)])||0x0))>0x1)&&(_0x3ac6f6==null||_0x3ac6f6[_0x214050(0x393)]({..._0x77280,'width':_0x21235e,'height':_0x41ff09}));}}}[_0x217258(0x2e4)](_0x19449,_0x36ed2c,_0x5335f2=0x0){const _0x25c2f3=_0x217258;let _0x414d51=this[_0x25c2f3(0x2c9)][_0x25c2f3(0x439)](_0x19449);_0x414d51||(_0x414d51=(0x0,_0x28a938[_0x25c2f3(0x176)])(_0x47535c=>{const _0xf54bb3=_0x25c2f3;this[_0xf54bb3(0x37f)](_0x19449,_0x47535c);},_0x5335f2),this['_debounceHandleMap'][_0x25c2f3(0x3fb)](_0x19449,_0x414d51)),_0x414d51(_0x36ed2c);}[_0x217258(0x148)](){const _0x2c7c22=_0x217258;let _0x2535ce=this[_0x2c7c22(0x158)],_0x2a0da4=_0x273a31=>{const _0x104d37=_0x2c7c22;if(!_0x2535ce['has'](_0x273a31)){let _0xff9273=(0x0,_0x28a938[_0x104d37(0x176)])((_0x7bc6e0,_0x13033e,_0x280d3a,_0x38b45c)=>{const _0x251a66=_0x104d37;var _0x5aa8c9,_0x292598;if(!_0x280d3a)return;(_0x5aa8c9=_0x280d3a[_0x251a66(0x30f)])==null||_0x5aa8c9[_0x251a66(0x196)][_0x251a66(0x432)]((_0x5cacc3,_0x5962a4)=>{const _0x9fef24=_0x251a66;_0x5cacc3[_0x9fef24(0x173)]||=this[_0x9fef24(0x345)]['t'](_0x9fef24(0x44b))+'\x20'+(_0x5962a4+0x1);}),_0x280d3a[_0x251a66(0x37e)][_0x251a66(0x432)]((_0x4d0f5a,_0x2ca8d0)=>{const _0x4be24c=_0x251a66;_0x4d0f5a[_0x4be24c(0x118)]||=this[_0x4be24c(0x345)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x2ca8d0+0x1);});let _0x385fbe=this[_0x251a66(0x1ca)](_0x7bc6e0,_0x38b45c),_0x4d6e1d=(_0x292598=this[_0x251a66(0x360)][_0x251a66(0x34f)](_0x28a938[_0x251a66(0x270)][_0x251a66(0x3df)]))==null?void 0x0:_0x292598['getActiveSheet']();(_0x4d6e1d==null?void 0x0:_0x4d6e1d['getSheetId']())===_0x13033e&&this['render'](_0x7bc6e0['id'],_0x280d3a,_0x385fbe);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x2535ce['set'](_0x273a31,_0xff9273);}return _0x2535ce['get'](_0x273a31);};this[_0x2c7c22(0x19f)](this['_univerInstanceService'][_0x2c7c22(0x127)][_0x2c7c22(0x20b)](_0x3e386e=>{const _0x561114=_0x2c7c22;let _0x10bb17=this['_univerInstanceService'][_0x561114(0x34f)](_0x28a938[_0x561114(0x270)][_0x561114(0x3df)]);if(_0x3e386e&&_0x10bb17&&_0x10bb17[_0x561114(0x269)]()===_0x3e386e){var _0x1fe9eb;let _0x292477=_0x10bb17['getActiveSheet']()[_0x561114(0x2f8)]();this['_lastActiveSheet']&&(this[_0x561114(0x3e0)]['unitId']!==_0x3e386e||this[_0x561114(0x3e0)][_0x561114(0x26e)]!==_0x292477)&&this[_0x561114(0x4a3)](this[_0x561114(0x3e0)][_0x561114(0x4e1)],this[_0x561114(0x3e0)][_0x561114(0x26e)]),this[_0x561114(0x3e0)]={'unitId':_0x3e386e,'subUnitId':_0x292477};let _0x1e40c3=this[_0x561114(0x487)][_0x561114(0x1d9)](_0x3e386e,_0x292477);if(!((_0x1fe9eb=this['_renderManagerService'][_0x561114(0x4b7)](_0x3e386e))!=null&&_0x1fe9eb[_0x561114(0x355)](_0x10595b[_0x561114(0x20e)])[_0x561114(0x3a2)](_0x292477)))return;if(_0x1e40c3)for(let _0x97b559 in _0x1e40c3){let {drawingId:_0x1287e4}=_0x1e40c3[_0x97b559],_0x5adff2=this[_0x561114(0x136)][_0x561114(0x26b)](_0x1287e4);_0x5adff2&&_0x2a0da4(_0x5adff2['id'])(_0x5adff2,_0x292477,_0x5adff2[_0x561114(0x1c5)],this['_localeService'][_0x561114(0x287)]());}}})),this[_0x2c7c22(0x19f)](this[_0x2c7c22(0x4c7)][_0x2c7c22(0x27f)][_0x2c7c22(0x20b)](()=>{const _0x3c5afe=_0x2c7c22;var _0x473f00;let _0x2be64b=this[_0x3c5afe(0x360)][_0x3c5afe(0x34f)](_0x28a938[_0x3c5afe(0x270)][_0x3c5afe(0x3df)]);if(!_0x2be64b)return;let _0x12c125=_0x2be64b['getUnitId'](),_0x270d45=_0x2be64b['getActiveSheet']()['getSheetId'](),_0x55be66=this[_0x3c5afe(0x487)][_0x3c5afe(0x1d9)](_0x12c125,_0x270d45);if((_0x473f00=this[_0x3c5afe(0x4d4)][_0x3c5afe(0x4b7)](_0x12c125))!=null&&_0x473f00[_0x3c5afe(0x355)](_0x10595b[_0x3c5afe(0x20e)])['getSkeleton'](_0x270d45)&&_0x55be66)for(let _0x2ca86c in _0x55be66){let {drawingId:_0x47b55f}=_0x55be66[_0x2ca86c],_0x40d711=this[_0x3c5afe(0x136)][_0x3c5afe(0x26b)](_0x47b55f);_0x40d711&&_0x2a0da4(_0x40d711['id'])(_0x40d711,_0x270d45,_0x40d711[_0x3c5afe(0x1c5)],this[_0x3c5afe(0x345)][_0x3c5afe(0x287)]());}})),this[_0x2c7c22(0x19f)](this[_0x2c7c22(0x487)][_0x2c7c22(0x493)][_0x2c7c22(0x20b)](_0xdd87b5=>{const _0x311540=_0x2c7c22;_0xdd87b5[_0x311540(0x432)](_0x490e99=>{const _0x2c9476=_0x311540;var _0x783079;let {drawingId:_0x7e20f1,unitId:_0x43e07e,subUnitId:_0x1c4ca8}=_0x490e99,_0x460954=this[_0x2c9476(0x4d4)]['getRenderUnitById'](_0x43e07e);if((_0x460954==null?void 0x0:_0x460954['type'])!==_0x28a938[_0x2c9476(0x270)]['UNIVER_SHEET']||!_0x460954[_0x2c9476(0x355)](_0x10595b[_0x2c9476(0x20e)])[_0x2c9476(0x3a2)](_0x1c4ca8))return;let {drawingType:_0x5fce07}=this[_0x2c9476(0x487)][_0x2c9476(0x4bc)](_0x490e99);if(_0x5fce07!==_0x28a938[_0x2c9476(0x32b)][_0x2c9476(0x3fc)])return;let _0x2a609f=this[_0x2c9476(0x256)]['getFloatDomInfo'](_0x7e20f1);this[_0x2c9476(0x229)](_0x7e20f1);let _0x333150=new _0x28a938[(_0x2c9476(0x172))]();this[_0x2c9476(0x281)][_0x2c9476(0x3fb)](_0x7e20f1,_0x333150);let _0xdf2bd2=(_0x2a609f==null?void 0x0:_0x2a609f[_0x2c9476(0x3da)])??_0x7e20f1,_0x3789d2=_0x2a609f==null?void 0x0:_0x2a609f['rect'],_0x42620b=(_0x783079=this[_0x2c9476(0x4d4)]['getRenderUnitById'](_0x43e07e))==null?void 0x0:_0x783079[_0x2c9476(0x193)];if(_0x3789d2){let _0x563829=new _0x5d9385(_0x3789d2,async _0x48d0ce=>{const _0x33604c=_0x2c9476;var _0x292413;let _0x24354c=this['_univerInstanceService']['getCurrentUnitOfType'](_0x28a938[_0x33604c(0x270)]['UNIVER_SHEET']);if((_0x24354c==null?void 0x0:_0x24354c[_0x33604c(0x269)]())===_0x43e07e&&((_0x292413=_0x24354c['getActiveSheet']())==null?void 0x0:_0x292413[_0x33604c(0x2f8)]())===_0x1c4ca8&&(this[_0x33604c(0x4ef)][_0x33604c(0x462)](_0x7e20f1),_0x48d0ce)){let {width:_0x22a6f4,height:_0x323081}=_0x3789d2;this[_0x33604c(0x2e4)](_0x7e20f1,{'width':_0x22a6f4,'height':_0x323081},0x64);let _0x56dd70=this[_0x33604c(0x136)]['getChartModel'](_0x7e20f1);_0x56dd70!=null&&_0x56dd70[_0x33604c(0x1c5)]&&await this[_0x33604c(0x375)](_0x7e20f1,_0x56dd70[_0x33604c(0x1c5)],this['createRuntimeChartStyle'](_0x56dd70,this[_0x33604c(0x345)][_0x33604c(0x287)]()));}});_0x333150[_0x2c9476(0x19f)](_0x563829),_0x333150['disposeWithMe'](this[_0x2c9476(0x360)][_0x2c9476(0x127)]['subscribe'](()=>_0x563829['scheduler'][_0x2c9476(0x441)]())),_0x42620b&&_0x333150[_0x2c9476(0x19f)](_0x42620b[_0x2c9476(0x45b)]()[_0x2c9476(0x324)][_0x2c9476(0x20b)](({objects:_0x221b10})=>{const _0x190749=_0x2c9476;if(_0x221b10[_0x190749(0x327)](_0x3789d2[_0x190749(0x3af)])){var _0x226688;_0x563829[_0x190749(0x1f6)]['flush'](),(_0x226688=this[_0x190749(0x2c9)]['get'](_0x7e20f1))==null||_0x226688[_0x190749(0x2c6)](),this[_0x190749(0x37f)](_0x7e20f1,{'width':_0x3789d2['width'],'height':_0x3789d2[_0x190749(0x390)]});}}));}_0x42620b&&_0x333150[_0x2c9476(0x19f)](_0x42620b['onTransformChange$'][_0x2c9476(0x1c2)](_0x3ab4eb=>{const _0x4d22c8=_0x2c9476;var _0x9a9133;_0x3ab4eb['type']===_0x18e11[_0x4d22c8(0x46a)][_0x4d22c8(0x4e9)]&&(_0x9a9133=document[_0x4d22c8(0x3dd)](_0xdf2bd2))!=null&&_0x9a9133[_0x4d22c8(0x3de)]('.chart-host')&&this[_0x4d22c8(0x4ef)][_0x4d22c8(0x462)](_0x7e20f1);}));let _0x4138f6=this[_0x2c9476(0x136)][_0x2c9476(0x26b)](_0x7e20f1);_0x4138f6&&_0x333150[_0x2c9476(0x19f)]((0x0,_0xbe6d29[_0x2c9476(0x397)])([_0x4138f6[_0x2c9476(0x498)],_0x4138f6['style$'],this[_0x2c9476(0x345)][_0x2c9476(0x4d6)]])[_0x2c9476(0x20b)](([_0x4ccfae,_0x365585,_0x4cd40a])=>{_0x2a0da4(_0x4138f6['id'])(_0x4138f6,_0x1c4ca8,_0x4ccfae,_0x4cd40a);}));});})),this['disposeWithMe']((0x0,_0xbe6d29['combineLatest'])([this[_0x2c7c22(0x487)]['remove$']])[_0x2c7c22(0x20b)](([_0x4a0e05])=>{_0x4a0e05['forEach'](_0x343be3=>{const _0x2be1eb=_0x57e5;var _0x312d8b;let {drawingId:_0x4a7d9a}=_0x343be3;this[_0x2be1eb(0x229)](_0x4a7d9a),((_0x312d8b=this['_chartModelService'][_0x2be1eb(0x38c)])==null?void 0x0:_0x312d8b['id'])===_0x4a7d9a&&this[_0x2be1eb(0x136)][_0x2be1eb(0x146)](null),this[_0x2be1eb(0x4a1)](_0x4a7d9a),this['_chartHostProvider'][_0x2be1eb(0x2f4)](_0x4a7d9a),this['_resetChartRuntimeZIndex'](_0x4a7d9a),this['_disposeChartRenderInstance'](_0x4a7d9a),this[_0x2be1eb(0x48e)][_0x2be1eb(0x2e2)](_0x4a7d9a),this[_0x2be1eb(0x45c)](_0x4a7d9a),this['_lastRenderInputMap']['delete'](_0x4a7d9a),this[_0x2be1eb(0x1d2)]['delete'](_0x4a7d9a);});}));}['setElementEditMode'](_0x3b28d5,_0x2f0dcb){const _0x28ab03=_0x217258;var _0x5e1bcf;_0x2f0dcb?this[_0x28ab03(0x1d2)][_0x28ab03(0x3fb)](_0x3b28d5,!0x0):this[_0x28ab03(0x1d2)][_0x28ab03(0x312)](_0x3b28d5),(_0x5e1bcf=this[_0x28ab03(0x488)]['get'](_0x3b28d5))==null||_0x5e1bcf[_0x28ab03(0x304)](_0x2f0dcb);}async[_0x217258(0x16c)](_0x4c8c95,_0x12432e){const _0x390389=_0x217258;var _0x4827d8;let _0x1c6d2e=this[_0x390389(0x465)][_0x390389(0x439)](_0x4c8c95),_0x59c4ef=(_0x4827d8=this['_sheetCanvasFloatDomManagerService'][_0x390389(0x476)](_0x4c8c95))==null?void 0x0:_0x4827d8[_0x390389(0x4b0)];if(_0x1c6d2e&&_0x59c4ef)return(await this[_0x390389(0x4d7)][_0x390389(0x16c)]({'chartId':_0x4c8c95,'config':_0x1c6d2e[_0x390389(0x1c5)],'style':_0x1c6d2e[_0x390389(0x1df)],'width':_0x59c4ef[_0x390389(0x130)],'height':_0x59c4ef[_0x390389(0x390)]},_0x12432e))['dataUrl'];if((_0x12432e==null?void 0x0:_0x12432e[_0x390389(0x466)])===_0x59f049[_0x390389(0x469)][_0x390389(0x3d7)])return;let _0x5ee7ae=this[_0x390389(0x2e7)](_0x4c8c95);return _0x5ee7ae?(0x0,_0x59f049['chartImageSourceToDataUrl'])(_0x5ee7ae):void 0x0;}['on'](_0x1c5a46,_0x53813b,_0x3e1674){const _0x36286a=_0x217258;let _0x7026dd=this[_0x36286a(0x2d5)][_0x36286a(0x439)](_0x1c5a46);_0x7026dd||(_0x7026dd=new Map(),this['_chartEventHandlers'][_0x36286a(0x3fb)](_0x1c5a46,_0x7026dd));let _0x5b4e9f=_0x7026dd[_0x36286a(0x439)](_0x53813b);_0x5b4e9f||(_0x5b4e9f=new Set(),_0x7026dd[_0x36286a(0x3fb)](_0x53813b,_0x5b4e9f)),_0x5b4e9f['add'](_0x3e1674);let _0x40ea78=this[_0x36286a(0x488)][_0x36286a(0x439)](_0x1c5a46);return _0x40ea78&&this[_0x36286a(0x1c1)](_0x1c5a46,_0x40ea78,_0x53813b,_0x3e1674),{'dispose':()=>{const _0x14dd4d=_0x36286a;var _0x4a9af8;(_0x4a9af8=this[_0x14dd4d(0x2d5)]['get'](_0x1c5a46))==null||(_0x4a9af8=_0x4a9af8[_0x14dd4d(0x439)](_0x53813b))==null||_0x4a9af8[_0x14dd4d(0x312)](_0x3e1674),this[_0x14dd4d(0x438)](_0x1c5a46,_0x53813b,_0x3e1674);}};}[_0x217258(0x2e7)](_0x7be715){const _0x587008=_0x217258;let _0x4c2c10=this['_univerInstanceService'][_0x587008(0x34f)](_0x28a938[_0x587008(0x270)][_0x587008(0x3df)]),_0x11d2a1=_0x4c2c10==null?void 0x0:_0x4c2c10[_0x587008(0x24f)](),_0x36f2b9=_0x4c2c10==null?void 0x0:_0x4c2c10['getUnitId'](),_0x58676f=_0x11d2a1==null?void 0x0:_0x11d2a1[_0x587008(0x2f8)]();if(_0x36f2b9&&_0x58676f)return this[_0x587008(0x48e)][_0x587008(0x208)]({'unitId':_0x36f2b9,'subUnitId':_0x58676f,'chartId':_0x7be715});}['_bindChartEventHandlers'](_0xec0994,_0x5c4079){const _0x2997b1=_0x217258;let _0x1b9527=this['_chartEventHandlers'][_0x2997b1(0x439)](_0xec0994);_0x1b9527&&_0x1b9527[_0x2997b1(0x432)]((_0x3a51e3,_0x335424)=>{const _0x4a2847=_0x2997b1;_0x3a51e3[_0x4a2847(0x432)](_0xf86ed9=>this['_bindChartEventHandler'](_0xec0994,_0x5c4079,_0x335424,_0xf86ed9));});}[_0x217258(0x1c1)](_0x56d057,_0x2dc93a,_0xdaccf7,_0x501682){const _0x312e91=_0x217258;let _0x1dc336=this['_chartEventSubscriptions']['get'](_0x56d057);_0x1dc336||(_0x1dc336=new Map(),this[_0x312e91(0x1d0)]['set'](_0x56d057,_0x1dc336));let _0x4747c4=_0x1dc336[_0x312e91(0x439)](_0xdaccf7);_0x4747c4||(_0x4747c4=new Map(),_0x1dc336['set'](_0xdaccf7,_0x4747c4)),!_0x4747c4[_0x312e91(0x327)](_0x501682)&&_0x4747c4[_0x312e91(0x3fb)](_0x501682,_0x2dc93a['on'](_0xdaccf7,_0x501682));}[_0x217258(0x438)](_0x11d55d,_0x58eba4,_0x45d95c){const _0xe5d588=_0x217258;var _0x461e49,_0x14db88;let _0x5f1945=(_0x461e49=this[_0xe5d588(0x1d0)][_0xe5d588(0x439)](_0x11d55d))==null?void 0x0:_0x461e49[_0xe5d588(0x439)](_0x58eba4);_0x5f1945==null||(_0x14db88=_0x5f1945['get'](_0x45d95c))==null||_0x14db88[_0xe5d588(0x382)](),_0x5f1945==null||_0x5f1945[_0xe5d588(0x312)](_0x45d95c);}[_0x217258(0x4a1)](_0x1ccd7c){const _0x32cc5e=_0x217258;let _0x12b1a8=this[_0x32cc5e(0x1d0)][_0x32cc5e(0x439)](_0x1ccd7c);_0x12b1a8==null||_0x12b1a8[_0x32cc5e(0x432)](_0x71d1ca=>{const _0x212f71=_0x32cc5e;_0x71d1ca['forEach'](_0x4f0744=>_0x4f0744['dispose']()),_0x71d1ca[_0x212f71(0x4ba)]();}),this[_0x32cc5e(0x1d0)]['delete'](_0x1ccd7c);}[_0x217258(0x1ca)](_0x347dff,_0x4ff57b){const _0x202d9a=_0x217258;return _0x17d195(_0x347dff,_0x4ff57b,this[_0x202d9a(0x2d6)]);}[_0x217258(0x4a8)](_0x1cf6aa){return this['_getChartRenderSkipReason'](_0x1cf6aa)==null;}['_getChartRenderSkipReason'](_0x2441d0){const _0x4dd27b=_0x217258;var _0x5953c6;let _0x556d74=this['_sheetCanvasFloatDomManagerService'][_0x4dd27b(0x476)](_0x2441d0);if(!_0x556d74)return _0x4dd27b(0x109);let {subUnitId:_0x1f7e5e}=_0x556d74,_0x5448e9=(_0x5953c6=this[_0x4dd27b(0x360)][_0x4dd27b(0x34f)](_0x28a938[_0x4dd27b(0x270)][_0x4dd27b(0x3df)]))==null?void 0x0:_0x5953c6['getActiveSheet']();if(!_0x5448e9)return _0x4dd27b(0x367);if(_0x5448e9[_0x4dd27b(0x2f8)]()!==_0x1f7e5e)return _0x4dd27b(0x1b5);}async[_0x217258(0x375)](_0x592d82,_0x401fc6,_0xd8c8e8,_0x45946b={}){const _0x33b7c8=_0x217258;let _0x5ed07b=this[_0x33b7c8(0x4d7)][_0x33b7c8(0x370)](_0x59f049[_0x33b7c8(0x3cc)]);if(!_0x5ed07b)return;let _0x36551a=this[_0x33b7c8(0x465)][_0x33b7c8(0x439)](_0x592d82);if(this[_0x33b7c8(0x465)][_0x33b7c8(0x3fb)](_0x592d82,{'config':_0x401fc6,'style':_0xd8c8e8}),this[_0x33b7c8(0x431)](_0x592d82))return;let {canAnimate:_0x611ef,renderMode:_0x1aeda4,shouldStartTransientAnimation:_0x3020d3,transientAnimationActive:_0x5133e2}=this[_0x33b7c8(0x23f)](_0x592d82,_0x36551a!=null,_0x45946b[_0x33b7c8(0x2a4)]===!0x0);if(_0x1aeda4===_0x59f049[_0x33b7c8(0x309)][_0x33b7c8(0x2e3)])this['_disposeChartDomInstance'](_0x592d82);else{var _0x5d9d86;this[_0x33b7c8(0x4ef)][_0x33b7c8(0x3d5)](_0x592d82),((_0x5d9d86=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x5d9d86['id'])===_0x592d82&&this[_0x33b7c8(0x4c9)](_0x592d82);}let _0x58513b=_0x1aeda4===_0x59f049[_0x33b7c8(0x309)][_0x33b7c8(0x2e3)]?_0x59f049[_0x33b7c8(0x309)][_0x33b7c8(0x2e3)]:_0x59f049[_0x33b7c8(0x309)][_0x33b7c8(0x2cd)],_0x59b9c4=await this['_chartHostProvider'][_0x33b7c8(0x3bb)](_0x592d82,_0x58513b);if(!_0x59b9c4){_0x3020d3&&this[_0x33b7c8(0x47a)](_0x592d82);return;}this[_0x33b7c8(0x4ef)][_0x33b7c8(0x22a)](_0x592d82,_0x5133e2?_0x59f049[_0x33b7c8(0x2b4)]:null);let _0x1f8118=this[_0x33b7c8(0x4f2)](_0x592d82,_0x58513b,_0x5ed07b);_0x1f8118[_0x33b7c8(0x30c)](_0x59b9c4);try{let _0xb48a76={'chartId':_0x592d82,'config':_0x401fc6,'style':_0xd8c8e8};_0x611ef&&_0x36551a&&_0x1f8118[_0x33b7c8(0x373)]?await _0x1f8118[_0x33b7c8(0x373)]({'chartId':_0x592d82,'config':_0x36551a['config'],'style':_0x36551a[_0x33b7c8(0x1df)]},_0xb48a76,{'duration':_0x59f049[_0x33b7c8(0x2b4)]}):await _0x1f8118[_0x33b7c8(0x375)](_0xb48a76),await this['_cacheActiveDomChartSnapshot'](_0x592d82,_0x1aeda4,_0x1f8118),_0x611ef&&_0x5133e2&&this[_0x33b7c8(0x180)](_0x592d82);}catch(_0xb668){if(_0x3020d3&&this[_0x33b7c8(0x47a)](_0x592d82),_0x1aeda4!==_0x59f049[_0x33b7c8(0x309)][_0x33b7c8(0x2e3)])throw _0xb668;}}async['_cacheActiveDomChartSnapshot'](_0x1e6cfc,_0x233176,_0x143a5a){const _0x1596ef=_0x217258;var _0x2f86fc;if(_0x233176!==_0x59f049['ChartRenderMode']['Dom']||((_0x2f86fc=this[_0x1596ef(0x136)][_0x1596ef(0x38c)])==null?void 0x0:_0x2f86fc['id'])!==_0x1e6cfc)return;let _0x3111d4=await this['_chartHostProvider'][_0x1596ef(0x3bb)](_0x1e6cfc,_0x59f049[_0x1596ef(0x309)]['Image']);if(!_0x3111d4)return;let _0x4cac50=_0x3111d4[_0x1596ef(0x4fb)]();try{let _0x5e0bba=await _0x143a5a['exportImg']();_0x5e0bba&&_0x3111d4[_0x1596ef(0x13e)]({'type':_0x59f049[_0x1596ef(0x44c)][_0x1596ef(0x46c)],'url':_0x5e0bba},_0x4cac50)&&_0x3111d4['requestPaint']();}catch{}}[_0x217258(0x23f)](_0x3da2c4,_0x2c28f6,_0x4c6113){const _0x1bc859=_0x217258;let _0x57deb0=this[_0x1bc859(0x3bc)](_0x3da2c4),_0x66eb4f=_0x57deb0===_0x59f049['ChartRenderMode'][_0x1bc859(0x2cd)]&&_0x4c6113&&_0x2c28f6&&this[_0x1bc859(0x1dd)](_0x3da2c4),_0x27beb7=this[_0x1bc859(0x440)][_0x1bc859(0x327)](_0x3da2c4);return{'canAnimate':_0x66eb4f,'renderMode':_0x27beb7?_0x59f049[_0x1bc859(0x309)][_0x1bc859(0x2cd)]:_0x57deb0,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x27beb7};}[_0x217258(0x1dd)](_0xe97252){const _0x4ee3a5=_0x217258;var _0x4b7a62,_0x1efe2d,_0x84b074,_0x1f5fdc;if(typeof document>'u'||typeof window>'u'||document['visibilityState']==='hidden'||(_0x4b7a62=(_0x1efe2d=window)['matchMedia'])!=null&&(_0x4b7a62=_0x4b7a62[_0x4ee3a5(0x502)](_0x1efe2d,_0x4ee3a5(0x2e6)))!=null&&_0x4b7a62[_0x4ee3a5(0x3a9)]||(_0x84b074=(_0x1f5fdc=window)[_0x4ee3a5(0x43b)])!=null&&(_0x84b074=_0x84b074[_0x4ee3a5(0x502)](_0x1f5fdc,'print'))!=null&&_0x84b074[_0x4ee3a5(0x3a9)])return!0x1;let _0x46d7b8=this[_0x4ee3a5(0x4ef)][_0x4ee3a5(0x329)](_0xe97252);return _0x46d7b8!=null&&_0x46d7b8['width']>0x0&&_0x46d7b8[_0x4ee3a5(0x390)]>0x0&&_0x46d7b8[_0x4ee3a5(0x2a8)]>0x0&&_0x46d7b8[_0x4ee3a5(0x41b)]>0x0&&_0x46d7b8[_0x4ee3a5(0x106)]<window[_0x4ee3a5(0x38f)]&&_0x46d7b8[_0x4ee3a5(0x1e7)]<window[_0x4ee3a5(0x27d)];}[_0x217258(0x1ce)](_0x35fdca){const _0x1255fd=_0x217258;let _0x4f48fa=this['_dataUpdateAnimationTimers'][_0x1255fd(0x439)](_0x35fdca);_0x4f48fa&&(clearTimeout(_0x4f48fa),this[_0x1255fd(0x2c3)][_0x1255fd(0x312)](_0x35fdca)),this[_0x1255fd(0x440)][_0x1255fd(0x442)](_0x35fdca),this['_chartHostProvider'][_0x1255fd(0x22a)](_0x35fdca,_0x59f049[_0x1255fd(0x2b4)]);}[_0x217258(0x180)](_0x33078d){const _0x52a3ca=_0x217258;let _0x11659c=this[_0x52a3ca(0x2c3)][_0x52a3ca(0x439)](_0x33078d);_0x11659c&&clearTimeout(_0x11659c);let _0xe492ad=setTimeout(()=>{const _0x5d5cdf=_0x52a3ca;this['_dataUpdateAnimationTimers']['delete'](_0x33078d),this['_dataUpdateAnimationChartIds'][_0x5d5cdf(0x312)](_0x33078d)&&(this[_0x5d5cdf(0x4ef)][_0x5d5cdf(0x22a)](_0x33078d,null),this[_0x5d5cdf(0x234)](_0x33078d),this[_0x5d5cdf(0x463)](_0x33078d));},_0x59f049[_0x52a3ca(0x2b4)]);this[_0x52a3ca(0x2c3)]['set'](_0x33078d,_0xe492ad);}[_0x217258(0x47a)](_0xa2298){const _0x3d7804=_0x217258;let _0xe53377=this[_0x3d7804(0x2c3)][_0x3d7804(0x439)](_0xa2298);_0xe53377&&(clearTimeout(_0xe53377),this[_0x3d7804(0x2c3)]['delete'](_0xa2298)),this['_dataUpdateAnimationChartIds'][_0x3d7804(0x312)](_0xa2298),this['_chartHostProvider'][_0x3d7804(0x22a)](_0xa2298,null);}async[_0x217258(0x2f9)](_0x39fc96,_0x1b766e,_0x384744){const _0x40e4e8=_0x217258;let _0x5542d7=this[_0x40e4e8(0x487)][_0x40e4e8(0x1d9)](_0x39fc96,_0x1b766e),_0x403372=this[_0x40e4e8(0x487)]['getDrawingOrder'](_0x39fc96,_0x1b766e),_0x56da98=Object[_0x40e4e8(0x18b)](_0x5542d7??{})[_0x40e4e8(0x3ce)](_0x105806=>_0x105806['drawingType']===_0x28a938['DrawingTypeEnum'][_0x40e4e8(0x3fc)]&&_0x105806[_0x40e4e8(0x3fe)]!==!0x0);await Promise[_0x40e4e8(0x464)](_0x56da98[_0x40e4e8(0x4cd)](async _0x31e06b=>{const _0x291148=_0x40e4e8;let _0x142377=await this[_0x291148(0x23c)](_0x31e06b,_0x403372);_0x142377&&(_0x384744[_0x291148(0x504)](_0x142377,_0x18e11[_0x291148(0x3ac)]),_0x31e06b[_0x291148(0x3c1)]&&(0x0,_0x43857a[_0x291148(0x13b)])({'drawingId':_0x31e06b[_0x291148(0x3c1)],'unitId':_0x39fc96,'subUnitId':_0x1b766e},_0x142377,_0x384744,this[_0x291148(0x487)]));}));}async[_0x217258(0x23c)](_0x53a8cb,_0x2a9bdf){const _0x51e2f8=_0x217258;let _0x186c12=this[_0x51e2f8(0x136)][_0x51e2f8(0x26b)](_0x53a8cb[_0x51e2f8(0x3e4)]),_0x2d0494=this[_0x51e2f8(0x4d7)][_0x51e2f8(0x370)](_0x59f049['EChartRenderEngineName']),_0x53e5a4=_0x53a8cb['transform'],_0x561fd1=_0x186c12==null?void 0x0:_0x186c12[_0x51e2f8(0x1c5)];if(!_0x186c12||!_0x2d0494||!_0x53e5a4||!_0x561fd1||_0x53e5a4['width']==null||_0x53e5a4[_0x51e2f8(0x390)]==null)return null;let _0x3f5c8c=new _0x2579a8(_0x53a8cb[_0x51e2f8(0x3e4)],{'width':_0x53e5a4[_0x51e2f8(0x130)],'height':_0x53e5a4[_0x51e2f8(0x390)]}),_0x9fde51=_0x2d0494['createChartInstance'](_0x59f049['ChartRenderMode'][_0x51e2f8(0x2e3)],this[_0x51e2f8(0x33e)]());_0x9fde51[_0x51e2f8(0x30c)](_0x3f5c8c);let _0x8ba4c5;try{await _0x9fde51[_0x51e2f8(0x375)]({'chartId':_0x53a8cb['drawingId'],'config':_0x561fd1,'style':this['createRuntimeChartStyle'](_0x186c12,this[_0x51e2f8(0x345)][_0x51e2f8(0x287)]())});}catch(_0x55c12a){console['error']('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x55c12a);}finally{_0x8ba4c5=_0x3f5c8c[_0x51e2f8(0x35b)](),_0x9fde51['dispose'](),_0x3f5c8c[_0x51e2f8(0x382)]();}let _0x167b5f=this[_0x51e2f8(0x48e)][_0x51e2f8(0x208)]({'unitId':_0x53a8cb[_0x51e2f8(0x4e1)],'subUnitId':_0x53a8cb[_0x51e2f8(0x26e)],'chartId':_0x53a8cb[_0x51e2f8(0x3e4)]}),_0x108e59=_0x8ba4c5??_0x167b5f;if(!_0x108e59)return null;let _0x5045cb=_0x2a9bdf[_0x51e2f8(0x2e1)](_0x53a8cb['drawingId']);return new _0x3eab91((0x0,_0x58f777[_0x51e2f8(0x26f)])(_0x53a8cb),{..._0x53e5a4,..._0x2fb4ab[_0x51e2f8(0x21b)],..._0x40084e(_0x3f5c8c['style']),'visible':!0x0,'zIndex':_0x5045cb===-0x1?Math[_0x51e2f8(0x19a)](_0x2a9bdf['length']-0x1,0x0):_0x5045cb},()=>_0x108e59,void 0x0,_0x8ba4c5?()=>_0x799ed(_0x8ba4c5):void 0x0);}['_getOrCreateChartRenderInstance'](_0x5085ab,_0xdc43ca,_0x554b05){const _0x3c984e=_0x217258;let _0x2e918c=this[_0x3c984e(0x488)]['get'](_0x5085ab);if((_0x2e918c==null?void 0x0:_0x2e918c['mode'])===_0xdc43ca)return _0x2e918c;_0x2e918c&&(this[_0x3c984e(0x4a1)](_0x5085ab),_0x2e918c[_0x3c984e(0x382)](),this[_0x3c984e(0x488)][_0x3c984e(0x312)](_0x5085ab));let _0x31c81d=_0x554b05['createChartInstance'](_0xdc43ca,this['_createChartRenderInstanceContext']());return this['_chartInstanceMap'][_0x3c984e(0x3fb)](_0x5085ab,_0x31c81d),_0x31c81d[_0x3c984e(0x304)](this['_chartElementEditMode'][_0x3c984e(0x439)](_0x5085ab)===!0x0),this['_bindChartEventHandlers'](_0x5085ab,_0x31c81d),_0x31c81d;}[_0x217258(0x33e)](){const _0x883ddd=_0x217258;return{'resolveHostStyle':({style:_0x315a41})=>(0x0,_0x59f049[_0x883ddd(0x17a)])({'style':_0x315a41,'getRenderColor':_0xb8ca0e=>this[_0x883ddd(0x2f5)][_0x883ddd(0x156)](_0xb8ca0e)}),'resolveRenderBackgroundColor':({style:_0x18f828})=>this['_chartThemeService']['getRenderColor']((0x0,_0x59f049['resolveChartStyleBackgroundColor'])(_0x18f828))};}['_disposeChartChangeListeners'](_0x425185){const _0x27746b=_0x217258;var _0x585bf7,_0x11bdf8,_0x35211e;(_0x585bf7=this[_0x27746b(0x281)][_0x27746b(0x439)](_0x425185))==null||_0x585bf7['dispose'](),this[_0x27746b(0x281)][_0x27746b(0x312)](_0x425185),(_0x11bdf8=this['_renderDebounceMap'][_0x27746b(0x439)](_0x425185))==null||_0x11bdf8[_0x27746b(0x2c6)](),this[_0x27746b(0x158)][_0x27746b(0x312)](_0x425185),(_0x35211e=this[_0x27746b(0x2c9)][_0x27746b(0x439)](_0x425185))==null||_0x35211e[_0x27746b(0x2c6)](),this[_0x27746b(0x2c9)][_0x27746b(0x312)](_0x425185);}[_0x217258(0x2ab)](){const _0x1473ef=_0x217258;this[_0x1473ef(0x158)][_0x1473ef(0x432)](_0x10e309=>_0x10e309['cancel']()),this[_0x1473ef(0x158)]['clear'](),this['_debounceHandleMap'][_0x1473ef(0x432)](_0x28407a=>_0x28407a[_0x1473ef(0x2c6)]()),this[_0x1473ef(0x2c9)][_0x1473ef(0x4ba)]();}['dispose'](){const _0x52c99b=_0x217258;this[_0x52c99b(0x281)][_0x52c99b(0x432)](_0x46420f=>_0x46420f[_0x52c99b(0x382)]()),this[_0x52c99b(0x281)][_0x52c99b(0x4ba)](),this['_dataUpdateAnimationTimers'][_0x52c99b(0x432)](_0x1d191b=>clearTimeout(_0x1d191b)),this[_0x52c99b(0x2c3)][_0x52c99b(0x4ba)](),this[_0x52c99b(0x440)][_0x52c99b(0x4ba)](),Array['from'](this['_chartInstanceMap'][_0x52c99b(0x1aa)]())['forEach'](_0x1ba099=>this['_disposeChartRenderInstance'](_0x1ba099)),this['_chartEventHandlers'][_0x52c99b(0x4ba)](),this[_0x52c99b(0x1d2)]['clear'](),this['_cancelDebouncedCallbacks'](),this[_0x52c99b(0x465)][_0x52c99b(0x4ba)](),this[_0x52c99b(0x216)]=null,this[_0x52c99b(0x3e0)]=null,super[_0x52c99b(0x382)]();}};_0x5564f6=_0x17871f([_0x2abdbf(0x0,_0x1de7de),_0x2abdbf(0x1,(0x0,_0x28a938['Inject'])(_0x2fb4ab[_0x217258(0x3d2)])),_0x2abdbf(0x2,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x30b)])),_0x2abdbf(0x3,_0x58f777[_0x217258(0x18c)]),_0x2abdbf(0x4,_0x28a938[_0x217258(0x33d)]),_0x2abdbf(0x5,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x18e11['IRenderManagerService'])),_0x2abdbf(0x6,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938[_0x217258(0x33b)])),_0x2abdbf(0x7,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938[_0x217258(0x353)])),_0x2abdbf(0x8,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x59f049['ChartThemeService'])),_0x2abdbf(0x9,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938[_0x217258(0x3b1)])),_0x2abdbf(0xa,_0x28a938[_0x217258(0x134)]),_0x2abdbf(0xb,(0x0,_0x28a938['Inject'])(_0x3424d1)),_0x2abdbf(0xc,_0x59f049[_0x217258(0x3be)])],_0x5564f6);let _0x453b7d=(0x0,_0x28a938[_0x217258(0x22b)])(_0x217258(0x2cf)),_0x46522a=class extends _0x1b7174[_0x217258(0x468)]{constructor(_0x302edf,_0x2e7638,_0x57e09a,_0x3c2135,_0x2ca0da){const _0x21fb5e=_0x217258;super(_0x2ca0da),this[_0x21fb5e(0x136)]=_0x302edf,this['_sheetsChartService']=_0x2e7638,this['_commandService']=_0x57e09a,this[_0x21fb5e(0x360)]=_0x3c2135,_0x5c5268(this,_0x21fb5e(0x344),!0x1),_0x5c5268(this,_0x21fb5e(0x2da),new _0xbe6d29[(_0x21fb5e(0x388))](!0x1)),_0x5c5268(this,_0x21fb5e(0x23a),new _0xbe6d29[(_0x21fb5e(0x388))](null)),_0x5c5268(this,_0x21fb5e(0x18e),this[_0x21fb5e(0x2da)][_0x21fb5e(0x405)]()),_0x5c5268(this,_0x21fb5e(0x347),this[_0x21fb5e(0x23a)][_0x21fb5e(0x405)]());}get[_0x217258(0x3b0)](){return this['_chartModelService']['activeChartModel']??null;}get[_0x217258(0x34b)](){const _0x1655ed=_0x217258;return this[_0x1655ed(0x2da)]['getValue']();}get[_0x217258(0x3b6)](){const _0x1aa758=_0x217258;return this[_0x1aa758(0x344)];}['setRangeSelectMode'](_0x32f571){const _0x21f900=_0x217258;this[_0x21f900(0x344)]=_0x32f571;}['setChartEditorOpen'](_0x1f0c5f){const _0x2e600a=_0x217258;this[_0x2e600a(0x2da)]['getValue']()!==_0x1f0c5f&&this['_chartEditorOpen$'][_0x2e600a(0x10b)](_0x1f0c5f);}[_0x217258(0x334)](_0x373fe9){const _0x120ef9=_0x217258;var _0x38fe62;return this[_0x120ef9(0x34b)]&&((_0x38fe62=this[_0x120ef9(0x136)][_0x120ef9(0x38c)])==null?void 0x0:_0x38fe62['id'])===_0x373fe9;}[_0x217258(0x472)](_0x11f26e,_0x3fc55f){const _0x1ca8d4=_0x217258;this['_panelRoute$'][_0x1ca8d4(0x10b)]({'chartId':_0x11f26e,'route':_0x3fc55f});}[_0x217258(0x471)](){const _0x2e4145=_0x217258;this[_0x2e4145(0x23a)][_0x2e4145(0x10b)](null);}[_0x217258(0x3c5)](_0x167173){const _0x4f6003=_0x217258;let _0x542812=this['_chartModelService'][_0x4f6003(0x38c)];_0x542812&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x542812['id'],'range':_0x167173});}['setOrientation'](_0x1463a3){const _0x1d66da=_0x217258;let _0x36ff6b=this[_0x1d66da(0x136)][_0x1d66da(0x38c)];if(!_0x36ff6b)return;let _0x332a1c=this[_0x1d66da(0x3db)][_0x1d66da(0x26d)](_0x36ff6b['id']);if(!_0x332a1c||Array[_0x1d66da(0x2bd)](_0x332a1c))return;let _0x59b170={..._0x332a1c,'isRowDirection':_0x1463a3===_0x59f049[_0x1d66da(0x199)][_0x1d66da(0x3f4)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x36ff6b['id'],'range':_0x59b170});}[_0x217258(0x267)](_0x1847b3){const _0x16b2c0=_0x217258;var _0xcc9d4b;this[_0x16b2c0(0x2b2)]['executeCommand'](_0x173cb1[_0x16b2c0(0x202)]['id'],{..._0x1847b3,'unitId':((_0xcc9d4b=this['_univerInstanceService'][_0x16b2c0(0x102)]())==null?void 0x0:_0xcc9d4b[_0x16b2c0(0x269)]())??''});}[_0x217258(0x1e0)](_0x43b19a){const _0x28ff7b=_0x217258;var _0x1f561b;this[_0x28ff7b(0x2b2)][_0x28ff7b(0x1ab)](_0x173cb1[_0x28ff7b(0x14e)]['id'],{..._0x43b19a,'unitId':((_0x1f561b=this['_univerInstanceService'][_0x28ff7b(0x102)]())==null?void 0x0:_0x1f561b['getUnitId']())??''});}['dispose'](){const _0x1cfb6b=_0x217258;this[_0x1cfb6b(0x2da)][_0x1cfb6b(0x45e)](),this[_0x1cfb6b(0x23a)][_0x1cfb6b(0x45e)](),super[_0x1cfb6b(0x382)]();}};_0x46522a=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x30b)])),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x2ec)])),_0x2abdbf(0x2,_0x28a938[_0x217258(0x48d)]),_0x2abdbf(0x3,_0x28a938['IUniverInstanceService']),_0x2abdbf(0x4,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x1b7174['ChartViewStateRegistry']))],_0x46522a);var _0x31b858;let _0x4646e5={'axis':{..._0x1b7174[_0x217258(0x4ea)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x1b7174[_0x217258(0x31c)],'heatmap':_0x1b7174[_0x217258(0x2b7)],'indicatorLine':_0x1b7174['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'legend':_0x1b7174[_0x217258(0x21f)],'lineAndArea':_0x1b7174[_0x217258(0x315)],'pareto':_0x1b7174[_0x217258(0x2d0)],'pie':_0x1b7174[_0x217258(0x4ec)],'relation':{..._0x1b7174[_0x217258(0x3a8)],'useValueAsSymbolSize':!0x0},'radar':_0x1b7174[_0x217258(0x467)],'series':{..._0x1b7174['DEFAULT_CHART_SERIES_VALUES'],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x31b858=_0x59f049['RTLChartStyle'][_0x217258(0x444)])==null?void 0x0:_0x31b858[_0x217258(0x4bb)])??!0x1}},'style':_0x1b7174['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x1b7174[_0x217258(0x282)],'trendline':_0x1b7174[_0x217258(0x19d)],'waterfallStyle':_0x1b7174[_0x217258(0x1f2)],'wordCloud':_0x1b7174[_0x217258(0x489)]},_0x16c350=_0x4c370f=>_0x4c370f['getCurrentUnitOfType'](_0x28a938['UniverInstanceType'][_0x217258(0x3df)])[_0x217258(0x269)](),_0x5a8096=_0x16eba1=>{const _0x1f4030=_0x217258;var _0x75d8f7;return(_0x75d8f7=_0x16eba1[_0x1f4030(0x34f)](_0x28a938['UniverInstanceType'][_0x1f4030(0x3df)])[_0x1f4030(0x24f)]())==null?void 0x0:_0x75d8f7['getSheetId']();},_0x1d7190=()=>{const _0x249282=_0x217258;var _0x173506;let _0x26d727=(0x0,_0x545d4c[_0x249282(0x34c)])(_0x453b7d),_0x4b2b2c=(0x0,_0x545d4c[_0x249282(0x34c)])(_0x173cb1[_0x249282(0x30b)]),_0x559956=(0x0,_0x545d4c[_0x249282(0x34c)])(_0x28a938[_0x249282(0x33b)]),_0x2cd93f=(0x0,_0x545d4c['useDependency'])(_0x28a938[_0x249282(0x353)]),_0x1a92de=(0x0,_0x173cb1[_0x249282(0x124)])(_0x2cd93f),_0x2aa47b=(0x0,_0x127ca7[_0x249282(0x338)])(()=>{const _0x2abdb6=_0x249282;let _0x2fedae=_0xeea476(_0x37bd32['concat'](),_0x1a92de);return(0x0,_0x1b7174[_0x2abdb6(0x409)])(_0x2fedae[_0x2abdb6(0x4cd)](_0xcfea78=>({'id':_0xcfea78['id'],'label':_0x559956['t']('sheets-chart-ui.chartTypes.'+_0xcfea78[_0x2abdb6(0x236)]),'pieSecondaryPlotType':_0xcfea78[_0x2abdb6(0x27e)],'value':_0xcfea78[_0x2abdb6(0x1e9)]})));},[_0x1a92de,_0x559956]),_0x440651=(0x0,_0x545d4c[_0x249282(0x4c4)])(_0x4b2b2c['activeChartModel$'],_0x4b2b2c['activeChartModel']),_0x5c7ee7=(0x0,_0x545d4c[_0x249282(0x4c4)])(_0x440651==null?void 0x0:_0x440651[_0x249282(0x2de)],_0x440651==null?void 0x0:_0x440651['context']),_0x4dae2b=(0x0,_0x545d4c[_0x249282(0x4c4)])(_0x440651==null?void 0x0:_0x440651[_0x249282(0x457)],_0x440651==null?void 0x0:_0x440651[_0x249282(0x2c0)]),_0x4adfe8=(0x0,_0x545d4c[_0x249282(0x4c4)])(_0x4dae2b==null?void 0x0:_0x4dae2b[_0x249282(0x4aa)],_0x4dae2b==null?void 0x0:_0x4dae2b['getRangeInfo']()),_0x3cbdc0=Array['isArray'](_0x4adfe8),_0x3620b5=_0x4adfe8&&!_0x3cbdc0&&_0x4adfe8[_0x249282(0x387)]?_0x59f049[_0x249282(0x199)]['Row']:_0x59f049[_0x249282(0x199)][_0x249282(0x1f3)],_0x1da894=_0x3cbdc0?(_0x173506=_0x4adfe8[0x0])==null?void 0x0:_0x173506[_0x249282(0x298)]:_0x4adfe8==null?void 0x0:_0x4adfe8['rangeInfo'];return(0x0,_0x52a1b3[_0x249282(0x112)])('div',{'className':_0x249282(0x2df),'children':[(0x0,_0x52a1b3[_0x249282(0x404)])(_0x1b7174[_0x249282(0x2c4)],{'chartTypeOptions':_0x2aa47b,'dataSourceControl':(0x0,_0x52a1b3[_0x249282(0x404)])(_0x1722c4,{'dataRange':_0x4adfe8,'primaryRange':_0x1da894}),'categoryToggleLabel':_0x559956['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x3620b5===_0x59f049[_0x249282(0x199)]['Row']?_0x3620b5+'\x20'+(((_0x1da894==null?void 0x0:_0x1da894['range'][_0x249282(0x12f)])??0x0)+0x1):_0x3620b5+'\x20'+(0x0,_0x28a938[_0x249282(0x454)])((_0x1da894==null?void 0x0:_0x1da894[_0x249282(0x298)][_0x249282(0x116)])??0x0)),'orientationControl':_0x3cbdc0?void 0x0:(0x0,_0x52a1b3[_0x249282(0x404)])(_0x44fa10[_0x249282(0x398)],{'size':_0x249282(0x395),'onClick':()=>_0x26d727[_0x249282(0x1b7)](_0x3620b5===_0x59f049['DataOrientation'][_0x249282(0x3f4)]?_0x59f049[_0x249282(0x199)][_0x249282(0x1f3)]:_0x59f049[_0x249282(0x199)][_0x249282(0x3f4)]),'children':_0x559956['t'](_0x249282(0x1fb))})}),(0x0,_0x52a1b3[_0x249282(0x404)])(_0x44fa10[_0x249282(0x14b)],{'checked':(_0x5c7ee7==null?void 0x0:_0x5c7ee7['plotVisibleOnly'])===!0x1,'disabled':!_0x440651,'onChange':_0x23db55=>{_0x440651&&_0x26d727['executeChartUpdateConfig']({'chartModelId':_0x440651['id'],'context':{'plotVisibleOnly':!_0x23db55}});},'children':_0x559956['t'](_0x249282(0x1ee))})]});};function _0x1722c4(_0x2b0589){const _0x55d17e=_0x217258;let {dataRange:_0x4f834d,primaryRange:_0x47a599}=_0x2b0589,_0x6fdb16=(0x0,_0x545d4c[_0x55d17e(0x34c)])(_0x453b7d),_0x74620b=(0x0,_0x545d4c['useDependency'])(_0x28a938[_0x55d17e(0x33b)]),_0x56cd51=(0x0,_0x545d4c[_0x55d17e(0x34c)])(_0x28a938[_0x55d17e(0x33d)]),_0x3eff7f=(0x0,_0x545d4c[_0x55d17e(0x34c)])(_0x28a938[_0x55d17e(0x201)]),[_0x5da390,_0x5479e5]=(0x0,_0x127ca7[_0x55d17e(0x34d)])(!0x1),[_0x5a0108,_0x4ac5f8]=(0x0,_0x127ca7[_0x55d17e(0x34d)])(!0x1),[_0x56dae6,_0x22c761]=(0x0,_0x127ca7['useState'])(),_0x553db5=_0x16c350(_0x56cd51),_0x277f14=_0x5a8096(_0x56cd51),_0xd07b6e=_0x4f834d?_0x56ce5e(_0x4f834d,_0x56cd51):'',_0x215230=(0x0,_0x127ca7[_0x55d17e(0x266)])(_0xd07b6e),_0x50070e=(0x0,_0x127ca7[_0x55d17e(0x266)])(void 0x0),_0x44d09f=(0x0,_0x127ca7['useRef'])(null);(0x0,_0x127ca7['useEffect'])(()=>{const _0x54b2c7=_0x55d17e;_0x6fdb16[_0x54b2c7(0x45d)](_0x5da390),_0x3eff7f['setContextValue'](_0x28a938[_0x54b2c7(0x410)],_0x5da390);},[_0x3eff7f,_0x5da390,_0x6fdb16]),(0x0,_0x127ca7[_0x55d17e(0x181)])(()=>()=>{const _0x1a5df1=_0x55d17e;_0x6fdb16[_0x1a5df1(0x45d)](!0x1),_0x3eff7f[_0x1a5df1(0x29d)](_0x28a938['FOCUSING_PANEL_EDITOR'],!0x1);},[_0x3eff7f,_0x6fdb16]);let _0x2d602b=(0x0,_0x127ca7['useCallback'])(_0x9ad236=>{const _0x54b477=_0x55d17e;var _0xa2f4ed;if(_0x56ce5e(_0x4f834d,_0x56cd51)===_0x9ad236)return _0x22c761(void 0x0),!0x0;let _0x323e5d=_0x9ad236['split'](_0x3d8df7['matchToken'][_0x54b477(0x177)]);if(!_0x9ad236[_0x54b477(0x2d3)]()||_0x323e5d['length']!==0x1||!((_0xa2f4ed=_0x44d09f[_0x54b477(0x185)])!=null&&_0xa2f4ed[_0x54b477(0x20f)]()))return _0x22c761(_0x74620b['t'](_0x54b477(0x4f8))),!0x1;let {unitId:_0x283871,sheetName:_0x4906f3,range:_0x508bbd}=(0x0,_0x3d8df7['deserializeRangeWithSheet'])(_0x323e5d[0x0]),_0x30c407=_0x283871||_0x553db5,_0x2b4dfb=_0x56cd51[_0x54b477(0x499)](_0x30c407),_0x3a6586=(_0x47a599==null?void 0x0:_0x47a599[_0x54b477(0x4e1)])===_0x30c407?_0x47a599[_0x54b477(0x26e)]:_0x277f14,_0x1f14e1=_0x4906f3?_0x2b4dfb==null?void 0x0:_0x2b4dfb['getSheetBySheetName'](_0x4906f3):_0x2b4dfb==null?void 0x0:_0x2b4dfb['getSheetBySheetId'](_0x3a6586??'');return!_0x2b4dfb||!_0x1f14e1||!(0x0,_0x28a938[_0x54b477(0x1d8)])(_0x508bbd,_0x1f14e1)?(_0x22c761(_0x74620b['t'](_0x54b477(0x4f8))),!0x1):(_0x22c761(void 0x0),_0x6fdb16[_0x54b477(0x3c5)]({'rangeInfo':{'range':_0x508bbd,'unitId':_0x30c407,'subUnitId':_0x1f14e1[_0x54b477(0x2f8)]()}}),!0x0);},[_0x4f834d,_0x74620b,_0x47a599,_0x6fdb16,_0x277f14,_0x553db5,_0x56cd51]),_0x1eff6f=(0x0,_0x127ca7[_0x55d17e(0x338)])(()=>({'keyCodes':[{'keyCode':_0x545d4c[_0x55d17e(0x139)][_0x55d17e(0x37c)],'nativeTextEditorBehavior':_0x545d4c[_0x55d17e(0x145)][_0x55d17e(0x2fe)]}],'handler':_0x37ea93=>{const _0x5c5bdc=_0x55d17e;_0x37ea93===_0x545d4c[_0x5c5bdc(0x139)][_0x5c5bdc(0x37c)]&&_0x2d602b(_0x215230['current'])&&(_0x50070e[_0x5c5bdc(0x185)]=_0x215230['current']);}}),[_0x2d602b]);return(0x0,_0x52a1b3[_0x55d17e(0x404)])(_0x55d17e(0x3cd),{'className':_0x55d17e(0x169),'children':(0x0,_0x52a1b3[_0x55d17e(0x112)])('div',{'children':[(0x0,_0x52a1b3[_0x55d17e(0x404)])(_0x1b7174[_0x55d17e(0x408)],{'title':_0x74620b['t'](_0x55d17e(0x48c))}),(0x0,_0x52a1b3[_0x55d17e(0x404)])(_0x587c55[_0x55d17e(0x15c)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x553db5,'subUnitId':_0x277f14,'initialValue':_0xd07b6e,'keyboardEventConfig':_0x1eff6f,'selectorRef':_0x44d09f,'onChange':(_0x55576e,_0x4684a6)=>{const _0x171217=_0x55d17e;_0x215230[_0x171217(0x185)]=_0x4684a6,_0x5a0108&&_0x50070e[_0x171217(0x185)]!==_0x4684a6&&_0x2d602b(_0x4684a6)&&(_0x50070e[_0x171217(0x185)]=_0x4684a6);},'onFocusChange':(_0xc3c11a,_0x240895)=>{const _0x4654d0=_0x55d17e;if(_0x240895!==void 0x0&&(_0x215230['current']=_0x240895),_0x5a0108||_0x5479e5(_0xc3c11a),_0xc3c11a)_0x50070e['current']=_0x215230[_0x4654d0(0x185)];else{let _0x349e24=_0x50070e[_0x4654d0(0x185)];_0x50070e[_0x4654d0(0x185)]=void 0x0,_0x349e24!==void 0x0&&_0x215230[_0x4654d0(0x185)]!==_0x349e24&&_0x2d602b(_0x215230[_0x4654d0(0x185)]);}},'onRangeSelectorDialogVisibleChange':_0x19df7e=>{_0x4ac5f8(_0x19df7e),_0x5479e5(_0x19df7e);}}),_0x56dae6?(0x0,_0x52a1b3[_0x55d17e(0x404)])(_0x55d17e(0x3cd),{'className':'univer-my-1\x20univer-text-xs\x20univer-text-red-500','children':_0x56dae6}):null]})});}function _0x51c386(_0x1ce8f6){const _0x56558b=_0x217258;return(0x0,_0x52a1b3['jsxs'])(_0x1b7174[_0x56558b(0x108)],{'id':_0x1ce8f6['id'],'children':[(0x0,_0x52a1b3[_0x56558b(0x404)])(_0x1b7174['ChartSectionAccordionTrigger'],{'children':_0x1ce8f6[_0x56558b(0x173)]}),(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x56558b(0x400)],{'children':_0x1ce8f6[_0x56558b(0x383)]})]});}let _0x4a7c9b=_0x39108f=>{const _0x506d8e=_0x217258;let _0x1c2661=(0x0,_0x545d4c[_0x506d8e(0x34c)])(_0x28a938['LocaleService']),_0x5dafcc=(0x0,_0x545d4c[_0x506d8e(0x34c)])(_0x453b7d),_0x4a3b0c=(0x0,_0x545d4c[_0x506d8e(0x34c)])(_0x173cb1['ChartModelService']),_0xbd7cf7=(0x0,_0x545d4c[_0x506d8e(0x4c4)])(_0x4a3b0c[_0x506d8e(0x2aa)],_0x4a3b0c[_0x506d8e(0x38c)]),_0x2b43d9=(0x0,_0x545d4c['useObservable'])(_0x5dafcc[_0x506d8e(0x347)],null),_0x126145=_0x2b43d9&&_0x2b43d9[_0x506d8e(0x22f)]===(_0xbd7cf7==null?void 0x0:_0xbd7cf7['id'])?_0x2b43d9[_0x506d8e(0x1b8)]:null,_0x5b94c6=(0x0,_0x1b7174['useChartEditorChartType'])(),_0x61fb66=(0x0,_0x1b7174['useChartEditorHasRightAxis'])(),[_0x43ff34,_0xe90ed9]=(0x0,_0x127ca7['useState'])(null);(0x0,_0x127ca7[_0x506d8e(0x181)])(()=>{const _0x441b97=_0x506d8e;_0x126145!=null&&_0x126145[_0x441b97(0x350)]&&_0xe90ed9(_0x126145[_0x441b97(0x350)]);},[_0x126145]);let _0x12a98f=_0x59f049[_0x506d8e(0x197)]['baseOn'](_0x5b94c6,_0x59f049['ChartTypeBits'][_0x506d8e(0x41c)]),_0x5c3176=_0x5b94c6===_0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x1fc)],_0xa4f234=_0x5b94c6===_0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x38a)],_0x3c2b90=_0x5b94c6===_0x59f049['ChartTypeBits'][_0x506d8e(0x224)],_0x26852d=_0x59f049['chartBitsUtils']['baseOn'](_0x5b94c6,_0x59f049[_0x506d8e(0x49f)]['Bubble']),_0x26d26d=_0x5b94c6===_0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x385)],_0x51473f=_0x5b94c6===_0x59f049['ChartTypeBits'][_0x506d8e(0x473)],_0x3692ac=_0x5b94c6===_0x59f049[_0x506d8e(0x49f)]['Pareto'],_0x1837ca=_0x5b94c6===_0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x1a4)],_0x166b57,_0x2005ac;switch(_0x5b94c6){case _0x59f049['ChartTypeBits']['Candlestick']:_0x166b57=_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x3e3)],_0x2005ac=_0x1c2661['t'](_0x506d8e(0x380));break;case _0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x326)]:_0x166b57=_0x1b7174[_0x506d8e(0x2c1)]['Histogram'],_0x2005ac=_0x1c2661['t']('sheets-chart-ui.section.histogram');break;case _0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x2f0)]:_0x166b57=_0x1b7174['ChartEditPanelSection'][_0x506d8e(0x2f0)],_0x2005ac=_0x1c2661['t'](_0x506d8e(0x214));break;case _0x59f049['ChartTypeBits'][_0x506d8e(0x280)]:_0x166b57=_0x1b7174[_0x506d8e(0x2c1)]['Sunburst'],_0x2005ac=_0x1c2661['t'](_0x506d8e(0x207));break;case _0x59f049[_0x506d8e(0x49f)][_0x506d8e(0x4fe)]:_0x166b57=_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x4fe)],_0x2005ac=_0x1c2661['t'](_0x506d8e(0x226));break;case _0x59f049['ChartTypeBits'][_0x506d8e(0x3e6)]:_0x166b57=_0x1b7174[_0x506d8e(0x2c1)]['Chord'],_0x2005ac=_0x1c2661['t'](_0x506d8e(0x31f));}let _0x8e2b=(0x0,_0x1b7174['chartTypeSupportsCapability'])(_0x5b94c6,_0x1b7174[_0x506d8e(0x448)]['GeneralSeries'])&&!_0x26852d&&!_0x3692ac;return(0x0,_0x52a1b3['jsxs'])(_0x1b7174[_0x506d8e(0x48a)],{'value':_0x43ff34,'onChange':_0xe90ed9,'children':[(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)]['ChartStyle'],'label':_0x1c2661['t'](_0x506d8e(0x42d)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x42a)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x1df)]})}),(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x2d9)],'label':_0x1c2661['t'](_0x506d8e(0x494)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartTitlesSection'],{'commitMode':_0x506d8e(0x1fa),'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x1a1)],'selectedTitleKey':_0x126145==null?void 0x0:_0x126145[_0x506d8e(0x1e2)]})}),(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x1a5)],{'section':_0x506d8e(0x3d6)}),_0x8e2b&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x346)],'label':_0x1c2661['t'](_0x506d8e(0x421)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x325)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)]['series'],'NumberFormatField':_0x1b7174[_0x506d8e(0x485)],'selectedSeriesId':_0x126145==null?void 0x0:_0x126145['seriesId']})}),_0x51473f&&(0x0,_0x52a1b3['jsx'])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x239)],'label':_0x1c2661['t'](_0x506d8e(0x433)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x4fd)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x40d)],'getDefaultBucketName':({seriesName:_0x155f03,target:_0x2a4cb3})=>_0x2a4cb3===_0x59f049[_0x506d8e(0x2ae)][_0x506d8e(0x1e4)]?_0x1c2661['t'](_0x506d8e(0x190)):_0x155f03?_0x155f03+'-('+_0x1c2661['t'](_0x2a4cb3===_0x59f049[_0x506d8e(0x2ae)][_0x506d8e(0x16a)]?_0x506d8e(0x351):'sheets-chart-ui.waterfall.negative')+')':'','NumberFormatField':_0x1b7174[_0x506d8e(0x485)],'selectedSeriesId':_0x126145==null?void 0x0:_0x126145['seriesId']})}),_0x3692ac&&(0x0,_0x52a1b3[_0x506d8e(0x112)])(_0x52a1b3['Fragment'],{'children':[(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x2cc)],'label':_0x1c2661['t'](_0x506d8e(0x164)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartParetoSeriesSection'],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x3ab)],'NumberFormatField':_0x1b7174[_0x506d8e(0x485)],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x2fc)],'label':_0x1c2661['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x3f3)],{'defaultValues':_0x39108f['defaultValues'][_0x506d8e(0x3ab)],'NumberFormatField':_0x1b7174[_0x506d8e(0x485)],'showDataPointEditor':!0x1,'target':'cumulativeLineStyle'})})]}),_0x12a98f&&(0x0,_0x52a1b3['jsx'])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x288)],'label':_0x1c2661['t'](_0x506d8e(0x4de)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartPieStyleSection'],{'defaultValues':_0x39108f[_0x506d8e(0x45a)]['pie'],'NumberFormatField':_0x1b7174[_0x506d8e(0x485)]})}),_0xa4f234&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)]['WordCloud'],'label':_0x1c2661['t'](_0x506d8e(0x4ff)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartWordCloudStyleSection'],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x4f1)]})}),_0x5c3176&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x1fc)],'label':_0x1c2661['t'](_0x506d8e(0x314)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174['ChartRadarStyleSection'],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x210)]})}),_0x3c2b90&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x224)],'label':_0x1c2661['t'](_0x506d8e(0x123)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartFunnelStyleSection'],{'defaultValues':_0x39108f[_0x506d8e(0x45a)]['funnel'],'gapControl':_0x506d8e(0x3f8)})}),_0x1837ca&&(0x0,_0x52a1b3['jsx'])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)]['Heatmap'],'label':_0x1c2661['t'](_0x506d8e(0x4c3)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x425)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x479)]})}),_0x26d26d&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x385)],'label':_0x1c2661['t'](_0x506d8e(0x299)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x1c3)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x13f)]})}),(0x0,_0x1b7174['chartTypeSupportsLineAndAreaStyle'])(_0x5b94c6)&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x14d)],'label':_0x1c2661['t'](_0x59f049['chartBitsUtils'][_0x506d8e(0x44a)](_0x5b94c6,_0x59f049['ChartTypeBits'][_0x506d8e(0x474)])?_0x506d8e(0x4e6):_0x506d8e(0x10f)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x179)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)]['lineAndArea'],'lineStyleControl':_0x506d8e(0x19c)})}),(0x0,_0x1b7174[_0x506d8e(0x200)])(_0x5b94c6,_0x1b7174[_0x506d8e(0x448)][_0x506d8e(0x407)])&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x407)],'label':_0x1c2661['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x328)],{'defaultValues':_0x39108f['defaultValues'][_0x506d8e(0x2f1)]})}),(0x0,_0x1b7174[_0x506d8e(0x200)])(_0x5b94c6,_0x1b7174[_0x506d8e(0x448)][_0x506d8e(0x3ba)])&&(0x0,_0x52a1b3[_0x506d8e(0x112)])(_0x52a1b3[_0x506d8e(0x426)],{'children':[(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x2c5)],'label':_0x1c2661['t'](_0x506d8e(0x3c4)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x4d3)],{'axis':'x','defaultValues':_0x39108f[_0x506d8e(0x45a)][_0x506d8e(0x2ce)],'NumberFormatField':_0x1b7174[_0x506d8e(0x485)]})}),(0x0,_0x52a1b3['jsx'])(_0x51c386,{'id':_0x1b7174['ChartEditPanelSection'][_0x506d8e(0x11c)],'label':_0x1c2661['t'](_0x506d8e(0x13a)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartAxisSection'],{'axis':'y','defaultValues':_0x39108f['defaultValues'][_0x506d8e(0x2ce)],'NumberFormatField':_0x1b7174['ChartNumberFormatAtom']})}),(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x1a5)],{'section':_0x506d8e(0x3f6)}),_0x61fb66&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)]['RightVerticalAxis'],'label':_0x1c2661['t']('sheets-chart-ui.common.rightVerticalAxis'),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x4d3)],{'axis':_0x506d8e(0x3c6),'defaultValues':_0x39108f[_0x506d8e(0x45a)]['axis'],'NumberFormatField':_0x1b7174['ChartNumberFormatAtom']})}),(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174['ChartEditPanelSection'][_0x506d8e(0x480)],'label':_0x1c2661['t'](_0x506d8e(0x129)),'children':(0x0,_0x52a1b3['jsx'])(_0x1b7174[_0x506d8e(0x4e8)],{'defaultValues':_0x39108f['defaultValues']['axis']})})]}),(0x0,_0x1b7174[_0x506d8e(0x200)])(_0x5b94c6,_0x1b7174[_0x506d8e(0x448)][_0x506d8e(0x1cd)])&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174[_0x506d8e(0x2c1)][_0x506d8e(0x1cd)],'label':_0x1c2661['t'](_0x506d8e(0x1e8)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174['ChartIndicatorLineSection'],{'defaultValues':_0x39108f['defaultValues']['indicatorLine']})}),(0x0,_0x59f049[_0x506d8e(0x35e)])(_0x5b94c6)&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x1b7174['ChartEditPanelSection'][_0x506d8e(0x47b)],'label':_0x1c2661['t'](_0x506d8e(0x4db)),'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x3ec)],{'defaultValues':_0x39108f[_0x506d8e(0x45a)]['trendline']})}),_0x166b57&&_0x2005ac&&(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x51c386,{'id':_0x166b57,'label':_0x2005ac,'children':(0x0,_0x52a1b3[_0x506d8e(0x404)])(_0x1b7174[_0x506d8e(0x495)],{})})]});};function _0x5388e6(_0x5c829c){const _0x1dfb87=_0x217258;let {className:_0x45f550}=_0x5c829c,[_0x332a5e,_0x2c43d8]=(0x0,_0x127ca7[_0x1dfb87(0x34d)])(_0x1b7174[_0x1dfb87(0x378)][_0x1dfb87(0x3a7)]),_0x2fd94f=(0x0,_0x545d4c[_0x1dfb87(0x34c)])(_0x28a938['Injector']),_0x50be61=(0x0,_0x545d4c[_0x1dfb87(0x34c)])(_0x28a938[_0x1dfb87(0x33b)]),_0x582ef6=(0x0,_0x545d4c['useDependency'])(_0x453b7d),_0x5b9a90=(0x0,_0x545d4c['useDependency'])(_0x173cb1[_0x1dfb87(0x30b)]),_0x5de86a=(0x0,_0x545d4c[_0x1dfb87(0x34c)])(_0x173cb1[_0x1dfb87(0x2ec)]),_0x4cc694=(0x0,_0x545d4c[_0x1dfb87(0x4c4)])(_0x5b9a90[_0x1dfb87(0x2aa)],_0x5b9a90[_0x1dfb87(0x38c)]),_0x240bb9=(0x0,_0x545d4c[_0x1dfb87(0x4c4)])(_0x582ef6['panelRoute$'],null),_0xa59be0=(0x0,_0x127ca7[_0x1dfb87(0x338)])(()=>{const _0x5e3dfc=_0x1dfb87;var _0x40ad63;if(!_0x4cc694)return null;let _0x5528b3=_0x5de86a[_0x5e3dfc(0x26d)](_0x4cc694['id']);if(!_0x5528b3)return null;let _0x2efd29=Array[_0x5e3dfc(0x2bd)](_0x5528b3)?(_0x40ad63=_0x5528b3[0x0])==null?void 0x0:_0x40ad63['range']:_0x5528b3[_0x5e3dfc(0x36e)];return _0x2efd29?new _0x1b7174[(_0x5e3dfc(0x2b6))](_0x4cc694,new _0x173cb1[(_0x5e3dfc(0x1b4))]({'unitId':_0x2efd29[_0x5e3dfc(0x4e1)],'subUnitId':_0x2efd29['subUnitId'],'chartId':_0x4cc694['id'],'injector':_0x2fd94f})):null;},[_0x4cc694,_0x2fd94f,_0x5de86a]);if((0x0,_0x127ca7['useEffect'])(()=>{const _0x487176=_0x1dfb87;var _0x340e85,_0x5b9aee;_0x4cc694&&(_0x240bb9==null?void 0x0:_0x240bb9[_0x487176(0x22f)])===_0x4cc694['id']&&(((_0x340e85=_0x240bb9['route'])==null?void 0x0:_0x340e85[_0x487176(0x171)])===_0x1b7174[_0x487176(0x378)][_0x487176(0x500)]&&_0x2c43d8(_0x1b7174['ChartEditPanelTab'][_0x487176(0x500)]),((_0x5b9aee=_0x240bb9['route'])==null?void 0x0:_0x5b9aee[_0x487176(0x171)])===_0x1b7174[_0x487176(0x378)][_0x487176(0x3a7)]&&_0x2c43d8(_0x1b7174['ChartEditPanelTab']['Data']));},[_0x4cc694,_0x240bb9]),!_0xa59be0)return null;let _0x2d21b5=(0x0,_0x52a1b3[_0x1dfb87(0x404)])(_0x1dfb87(0x3cd),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x332a5e===_0x1b7174['ChartEditPanelTab'][_0x1dfb87(0x500)]?_0x1dfb87(0x39f):_0x1dfb87(0x24d))+_0x1dfb87(0x4af)+(_0x45f550??'')+_0x1dfb87(0x1b2),'children':(0x0,_0x52a1b3[_0x1dfb87(0x404)])(_0x1b7174[_0x1dfb87(0x3cf)],{'ariaLabel':_0x50be61['t'](_0x1dfb87(0x1d7)),'activeTab':_0x332a5e,'onTabChange':_0x2c43d8,'tabListClassName':_0x1dfb87(0x32d),'panelClassName':_0x332a5e===_0x1b7174[_0x1dfb87(0x378)][_0x1dfb87(0x500)]?_0x1dfb87(0x4b3):void 0x0,'tabs':[{'id':_0x1b7174[_0x1dfb87(0x378)][_0x1dfb87(0x3a7)],'panelId':_0x7d1aa,'title':_0x50be61['t'](_0x1dfb87(0x286)),'content':(0x0,_0x52a1b3['jsx'])(_0x1d7190,{})},{'id':_0x1b7174[_0x1dfb87(0x378)][_0x1dfb87(0x500)],'panelId':_0x40ac1c,'title':_0x50be61['t'](_0x1dfb87(0x3fd)),'content':(0x0,_0x52a1b3['jsx'])(_0x4a7c9b,{'defaultValues':_0x4646e5})}]})});return(0x0,_0x52a1b3[_0x1dfb87(0x404)])(_0x1b7174[_0x1dfb87(0x1af)],{'chartUIService':_0x582ef6,'hostAdapter':_0xa59be0,'children':_0x2d21b5});}let _0x3ae32e=_0x217258(0x4f4),_0x7d1aa=_0x217258(0x2c7),_0x40ac1c='sheet-chart-style-panel';function _0x473257(_0x3ad8a6){const _0x5528a5=_0x217258;return _0x3ad8a6[_0x5528a5(0x503)]===0x1&&_0x4689be(_0x3ad8a6[0x0]);}function _0x4689be(_0x4a964c){const _0x131ff8=_0x217258;return(_0x4a964c==null?void 0x0:_0x4a964c[_0x131ff8(0x3e9)])===_0x28a938[_0x131ff8(0x32b)][_0x131ff8(0x3fc)]&&!_0x4a964c[_0x131ff8(0x3c1)];}let _0xaac83d=class extends _0x28a938['Disposable']{constructor(_0x2689e1,_0x2fa8c4,_0x42d582,_0x585edc,_0x3c6b58,_0x3116fc,_0x587b7c,_0x55dfe8,_0x7a4e4f,_0x399e54,_0x58c86a,_0x470b41,_0x702147,_0x5eee90,_0x2a5c3f){const _0x1dd9cd=_0x217258;var _0xa57bf7;super(),this[_0x1dd9cd(0x487)]=_0x2689e1,this[_0x1dd9cd(0x360)]=_0x2fa8c4,this[_0x1dd9cd(0x136)]=_0x42d582,this[_0x1dd9cd(0x3db)]=_0x585edc,this[_0x1dd9cd(0x1ec)]=_0x3c6b58,this['_sheetDrawingHitTestService']=_0x3116fc,this[_0x1dd9cd(0x2b8)]=_0x587b7c,this[_0x1dd9cd(0x1ae)]=_0x55dfe8,this[_0x1dd9cd(0x256)]=_0x7a4e4f,this[_0x1dd9cd(0x445)]=_0x399e54,this[_0x1dd9cd(0x2b2)]=_0x58c86a,this['_sheetsChartUIService']=_0x470b41,this['_contextService']=_0x702147,this[_0x1dd9cd(0x345)]=_0x5eee90,_0x5c5268(this,_0x1dd9cd(0x42e),null),_0x5c5268(this,_0x1dd9cd(0x19b),void 0x0),this[_0x1dd9cd(0x19b)]=((_0xa57bf7=_0x2a5c3f[_0x1dd9cd(0x212)](_0x1dd9cd(0x121)))==null?void 0x0:_0xa57bf7[_0x1dd9cd(0x1ef)])===!0x0,this[_0x1dd9cd(0x273)](),this[_0x1dd9cd(0x19f)](this[_0x1dd9cd(0x360)][_0x1dd9cd(0x23b)](_0x28a938[_0x1dd9cd(0x270)][_0x1dd9cd(0x3df)])[_0x1dd9cd(0x20b)](_0x18bb83=>{const _0x446a9c=_0x1dd9cd;var _0x2930c8;_0x18bb83||(_0x2930c8=this[_0x446a9c(0x42e)])==null||_0x2930c8['dispose']();})),this['disposeWithMe']((0x0,_0x28a938[_0x1dd9cd(0x323)])(this[_0x1dd9cd(0x32a)][_0x1dd9cd(0x374)]['subscribe'](async({drawing:_0x22a46e})=>{await this['_handleDrawingDoubleClick'](_0x22a46e);})));}[_0x217258(0x1e3)](){const _0x4f3002=_0x217258;this[_0x4f3002(0x42e)]=this['_sidebarService'][_0x4f3002(0x248)]({'id':_0x3ae32e,'header':{'title':this[_0x4f3002(0x345)]['t'](_0x4f3002(0x1d7))},'width':0x154,'children':{'label':_0x3ae32e},'onClose':()=>{const _0x49d7c8=_0x4f3002;this[_0x49d7c8(0x42e)]=null,this[_0x49d7c8(0x2ba)](),this[_0x49d7c8(0x136)][_0x49d7c8(0x38c)]&&this['_chartModelService'][_0x49d7c8(0x146)](null),this['_drawingManagerService'][_0x49d7c8(0x279)](null),this['_contextService'][_0x49d7c8(0x29d)](_0x28a938['FOCUSING_COMMON_DRAWINGS'],!0x1);}});}[_0x217258(0x101)](){const _0x14eb96=_0x217258;let _0x40238a=this[_0x14eb96(0x42e)];this[_0x14eb96(0x42e)]=null,this[_0x14eb96(0x2ba)](),this[_0x14eb96(0x136)][_0x14eb96(0x38c)]&&this[_0x14eb96(0x136)][_0x14eb96(0x146)](null),_0x40238a==null||_0x40238a[_0x14eb96(0x382)]();}[_0x217258(0x3f2)](){const _0x492f99=_0x217258;let _0x2ca7b2=this['_univerInstanceService'][_0x492f99(0x34f)](_0x28a938[_0x492f99(0x270)][_0x492f99(0x3df)]);this['disposeWithMe'](this[_0x492f99(0x2b8)][_0x492f99(0x38d)]['subscribe'](_0x34644f=>{const _0x491c38=_0x492f99;_0x34644f['id']===_0x491c38(0x4f4)&&(_0x34644f[_0x491c38(0x191)]||this['_sidebarService'][_0x491c38(0x38d)][_0x491c38(0x10b)]({'visible':!0x1}));})),this[_0x492f99(0x19f)]((0x0,_0xbe6d29[_0x492f99(0x397)])([this['_chartModelService'][_0x492f99(0x2aa)],this[_0x492f99(0x1c9)][_0x492f99(0x18e)]])['pipe']((0x0,_0xbe6d29[_0x492f99(0x4cd)])(([_0x43ec2a,_0x2947c6])=>_0x2947c6?(_0x43ec2a==null?void 0x0:_0x43ec2a['id'])??null:null),(0x0,_0xbe6d29[_0x492f99(0x13d)])(),(0x0,_0xbe6d29[_0x492f99(0x3c0)])(null),(0x0,_0xbe6d29[_0x492f99(0x27c)])())[_0x492f99(0x20b)](([_0xf2f2e5,_0x35a187])=>{const _0x26ba01=_0x492f99;this[_0x26ba01(0x240)](_0xf2f2e5,_0x35a187);})),this[_0x492f99(0x19f)](this[_0x492f99(0x136)]['activeChartModel$'][_0x492f99(0x20b)](_0x2c196d=>{const _0x2526c8=_0x492f99;!_0x2c196d&&this[_0x2526c8(0x42e)]&&this['hidePanel']();})),this[_0x492f99(0x19f)](this[_0x492f99(0x2b2)]['onCommandExecuted'](_0x41a613=>{const _0x383544=_0x492f99;if(_0x41a613['id']===_0x190ef1['id']){let _0x389715=_0x41a613[_0x383544(0x3a5)];if(!_0x4689be(this['_drawingManagerService'][_0x383544(0x4bc)]({'unitId':_0x389715['unitId'],'subUnitId':_0x389715[_0x383544(0x26e)],'drawingId':_0x389715[_0x383544(0x3e4)]})))return;this['openChartPanelById'](_0x389715[_0x383544(0x3e4)],_0x389715[_0x383544(0x1b8)]);}if(_0x41a613['id']===_0x4ca062['id']&&this['hidePanel'](),_0x41a613['id']===_0x173cb1['RemoveSheetsChartMutation']['id']){var _0x2e6b03;_0x41a613[_0x383544(0x3a5)][_0x383544(0x22f)]===((_0x2e6b03=this[_0x383544(0x136)]['activeChartModel'])==null?void 0x0:_0x2e6b03['id'])&&this[_0x383544(0x101)](),this[_0x383544(0x4b5)][_0x383544(0x117)](_0x28a938[_0x383544(0x46e)])&&(this['_contextService'][_0x383544(0x29d)](_0x28a938[_0x383544(0x46e)],!0x1),this['_drawingManagerService'][_0x383544(0x279)](null));}})),this['disposeWithMe'](this[_0x492f99(0x256)][_0x492f99(0x310)][_0x492f99(0x20b)](({id:_0x2be70a})=>{const _0x255ca9=_0x492f99;this['_sheetsChartUIService']['isElementEditModeActive'](_0x2be70a)&&this[_0x255ca9(0x101)]();})),this[_0x492f99(0x19f)](this[_0x492f99(0x256)]['transformChange$']['subscribe'](({id:_0x485d37})=>{const _0x5f2272=_0x492f99;this[_0x5f2272(0x1c9)]['isElementEditModeActive'](_0x485d37)&&(this['_sheetsChartUIService'][_0x5f2272(0x471)](),this[_0x5f2272(0x1ec)][_0x5f2272(0x304)](_0x485d37,!0x1),this[_0x5f2272(0x29f)](_0x485d37)&&this[_0x5f2272(0x1ec)][_0x5f2272(0x304)](_0x485d37,!0x0));})),this['disposeWithMe'](this[_0x492f99(0x487)][_0x492f99(0x3d9)][_0x492f99(0x20b)](_0x3e31d9=>{const _0x560574=_0x492f99;let _0x4e4fa1=_0x3e31d9[0x0];if(!this['_sheetsChartUIService'][_0x560574(0x3b6)]){if(_0x473257(_0x3e31d9)){var _0x24527a;let _0x5d9f3f=this[_0x560574(0x136)][_0x560574(0x26b)](_0x4e4fa1[_0x560574(0x3e4)]);_0x5d9f3f&&this[_0x560574(0x22d)](_0x5d9f3f['id'])&&((_0x24527a=this[_0x560574(0x136)][_0x560574(0x38c)])==null?void 0x0:_0x24527a['id'])!==_0x5d9f3f['id']&&this['_chartModelService'][_0x560574(0x146)](_0x5d9f3f);}else this[_0x560574(0x136)][_0x560574(0x38c)]&&this[_0x560574(0x136)][_0x560574(0x146)](null),!_0x4e4fa1&&!this[_0x560574(0x1c9)][_0x560574(0x3b6)]&&this[_0x560574(0x101)]();}})),_0x2ca7b2&&(this['disposeWithMe'](_0x2ca7b2[_0x492f99(0x3f9)][_0x492f99(0x20b)](()=>{const _0x2f6e8f=_0x492f99;this[_0x2f6e8f(0x101)]();})),this[_0x492f99(0x19f)](_0x2ca7b2['activeSheet$'][_0x492f99(0x20b)](()=>{const _0x98138b=_0x492f99;this[_0x98138b(0x101)]();})));}async[_0x217258(0x3b3)](_0x42d6d4){const _0x3ce698=_0x217258;this[_0x3ce698(0x1c9)][_0x3ce698(0x34b)]||_0x4689be(_0x42d6d4)&&this[_0x3ce698(0x22d)](_0x42d6d4[_0x3ce698(0x3e4)])&&await this[_0x3ce698(0x339)](_0x42d6d4[_0x3ce698(0x4e1)],_0x42d6d4['subUnitId'],_0x42d6d4[_0x3ce698(0x3e4)]);}async['_openEditPanelByDoubleClick'](_0x3c7450,_0x176546,_0xfda3c9){const _0x3745be=_0x217258;this['_chartModelService'][_0x3745be(0x26b)](_0xfda3c9)&&this['_isOwnedChart'](_0xfda3c9)&&await this[_0x3745be(0x2b2)]['executeCommand'](_0x190ef1['id'],{'unitId':_0x3c7450,'subUnitId':_0x176546,'drawingId':_0xfda3c9});}[_0x217258(0x163)](_0x3a5827,_0x576f79){const _0x53e599=_0x217258;let _0x25e47f=this[_0x53e599(0x136)][_0x53e599(0x26b)](_0x3a5827);_0x25e47f&&this[_0x53e599(0x22d)](_0x3a5827)&&(this[_0x53e599(0x136)][_0x53e599(0x146)](_0x25e47f),this[_0x53e599(0x1e3)](),this[_0x53e599(0x111)](_0x3a5827,_0x576f79??null));}[_0x217258(0x111)](_0x58bba6,_0x3ec3bf){const _0x456af8=_0x217258;this[_0x456af8(0x1c9)][_0x456af8(0x28a)](!0x0),this[_0x456af8(0x1c9)][_0x456af8(0x472)](_0x58bba6,_0x3ec3bf);}[_0x217258(0x2ba)](){const _0x23054a=_0x217258;this[_0x23054a(0x1c9)][_0x23054a(0x28a)](!0x1);}[_0x217258(0x240)](_0x35d7f8,_0x2883c4){const _0x13678d=_0x217258;_0x35d7f8!==_0x2883c4&&(_0x35d7f8&&this['_chartRenderService'][_0x13678d(0x304)](_0x35d7f8,!0x1),this[_0x13678d(0x1c9)]['clearPanelRoute'](),_0x2883c4&&(this[_0x13678d(0x1c9)][_0x13678d(0x472)](_0x2883c4,null),this[_0x13678d(0x1ec)][_0x13678d(0x304)](_0x2883c4,this['_shouldEnableChartElementEdit'](_0x2883c4))));}[_0x217258(0x273)](){const _0x335cb7=_0x217258;this[_0x335cb7(0x1ae)]['mergeMenu'](_0x174481),this[_0x335cb7(0x445)][_0x335cb7(0x368)](_0x28a938['DrawingTypeEnum'][_0x335cb7(0x3fc)],this['getChartPopupMenus'][_0x335cb7(0x30c)](this));}['_shouldEnableChartElementEdit'](_0x533215){const _0x400bde=_0x217258;let _0x5ee226=this[_0x400bde(0x136)][_0x400bde(0x26b)](_0x533215);return!this['_isChartElementEditEnabled']||!_0x5ee226||!this[_0x400bde(0x22d)](_0x533215)?!0x1:_0x51c4c1(_0x5ee226['chartType']);}[_0x217258(0x12e)](_0x271770,_0x1a6215,_0x3a0ed1,_0x35d346){const _0x4ff83b=_0x217258;if(!this[_0x4ff83b(0x136)][_0x4ff83b(0x26b)](_0x3a0ed1))return[];let _0xa7d71c=[{'label':this[_0x4ff83b(0x345)]['t'](_0x4ff83b(0x3b5)),'index':0x0,'commandId':_0x190ef1['id'],'commandParams':{'unitId':_0x271770,'subUnitId':_0x1a6215,'drawingId':_0x3a0ed1},'disable':_0x35d346!==_0x28a938[_0x4ff83b(0x32b)][_0x4ff83b(0x3fc)]}];return this[_0x4ff83b(0x22d)](_0x3a0ed1)?[..._0xa7d71c,{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x466b35[_0x4ff83b(0x428)]['id'],'commandParams':{'unitId':_0x271770,'drawings':[{'unitId':_0x271770,'subUnitId':_0x1a6215,'drawingId':_0x3a0ed1,'drawingType':_0x35d346}]},'disable':!0x1},{'label':this[_0x4ff83b(0x345)]['t']('sheets-chart-ui.common.hideChartPanel'),'index':0x2,'commandId':_0x4ca062['id'],'commandParams':{'unitId':_0x271770,'subUnitId':_0x1a6215,'drawingId':_0x3a0ed1},'disable':!0x1}]:_0xa7d71c;}[_0x217258(0x22d)](_0x4bf310){const _0x3dc673=_0x217258;return this['_sheetsChartService'][_0x3dc673(0x26d)](_0x4bf310)!==void 0x0;}};_0xaac83d=_0x17871f([_0x2abdbf(0x0,_0x58f777[_0x217258(0x18c)]),_0x2abdbf(0x1,_0x28a938['IUniverInstanceService']),_0x2abdbf(0x2,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x30b)])),_0x2abdbf(0x3,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x2ec)])),_0x2abdbf(0x4,(0x0,_0x28a938['Inject'])(_0x5564f6)),_0x2abdbf(0x5,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x2fb4ab[_0x217258(0x3fa)])),_0x2abdbf(0x6,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x545d4c[_0x217258(0x3c2)])),_0x2abdbf(0x7,_0x545d4c[_0x217258(0x4a6)]),_0x2abdbf(0x8,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x2fb4ab[_0x217258(0x3d2)])),_0x2abdbf(0x9,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x10595b[_0x217258(0x1b3)])),_0x2abdbf(0xa,_0x28a938[_0x217258(0x48d)]),_0x2abdbf(0xb,_0x453b7d),_0x2abdbf(0xc,_0x28a938[_0x217258(0x201)]),_0x2abdbf(0xd,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938[_0x217258(0x33b)])),_0x2abdbf(0xe,_0x28a938[_0x217258(0x134)])],_0xaac83d);var _0x3900d9=_0x217258(0x103),_0x2bd78a='1.3.1';let _0x4cb6ef=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x129e8c,_0x2f91df){const _0x2f0896=_0x217258;super(),this[_0x2f0896(0x254)]=_0x129e8c,this[_0x2f0896(0x136)]=_0x2f91df,this[_0x2f0896(0x4a4)]();}[_0x217258(0x4a4)](){const _0x3aba60=_0x217258;this[_0x3aba60(0x19f)](this[_0x3aba60(0x254)][_0x3aba60(0x205)][_0x3aba60(0x20b)](_0x22f0ac=>{const _0x24b824=_0x3aba60;this[_0x24b824(0x136)]['removeChartModel'](_0x22f0ac);}));}};_0x4cb6ef=_0x17871f([_0x2abdbf(0x0,_0x1de7de),_0x2abdbf(0x1,(0x0,_0x28a938['Inject'])(_0x173cb1['ChartModelService']))],_0x4cb6ef);let _0x772501=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x126a5b,_0x382f52,_0x21ab4e,_0xd13c41,_0x1f38fc,_0x13c10d){const _0x2dec74=_0x217258;super(),this[_0x2dec74(0x136)]=_0x126a5b,this['_chartRenderService']=_0x382f52,this['_localeService']=_0x21ab4e,this[_0x2dec74(0x186)]=_0xd13c41,this[_0x2dec74(0x2b2)]=_0x1f38fc,this[_0x2dec74(0x3e5)]=_0x13c10d,_0x5c5268(this,_0x2dec74(0x3aa),new Map()),_0x5c5268(this,'_pendingDataUpdateChartIds',new Set()),this[_0x2dec74(0x4a4)](),this[_0x2dec74(0x275)](),this[_0x2dec74(0x4f7)]();}[_0x217258(0x4f7)](){const _0x3f70d0=_0x217258;this[_0x3f70d0(0x19f)](this['_sheetPrintInterceptorService'][_0x3f70d0(0x3e7)][_0x3f70d0(0x3a6)](this[_0x3f70d0(0x3e5)]['interceptor'][_0x3f70d0(0x257)]()[_0x3f70d0(0x183)],{'handler':(_0x59570c,_0x1f0101,_0x126778)=>{const _0x3e17aa=_0x3f70d0;let _0xd0d783=this[_0x3e17aa(0x1ec)]['renderChartsForPrinting'](_0x1f0101['unitId'],_0x1f0101[_0x3e17aa(0x26e)],_0x1f0101[_0x3e17aa(0x193)]);return _0x1f0101[_0x3e17aa(0x1fe)][_0x3e17aa(0x442)](_0xd0d783),_0x126778(_0x59570c);}}));}[_0x217258(0x4a4)](){const _0x2bc2c6=_0x217258;this[_0x2bc2c6(0x19f)](this[_0x2bc2c6(0x136)][_0x2bc2c6(0x37b)][_0x2bc2c6(0x20b)](_0x431b72=>{const _0xfcd1d=_0x2bc2c6;if(_0x431b72){let _0x5ade94=new _0x28a938['DisposableCollection']();_0x5ade94[_0xfcd1d(0x442)](_0x431b72['dataSource$'][_0xfcd1d(0x4c5)]((0x0,_0xbe6d29['switchMap'])(_0x367985=>_0x367985['data$'][_0xfcd1d(0x4c5)]((0x0,_0xbe6d29[_0xfcd1d(0x204)])(0x1))))[_0xfcd1d(0x20b)](()=>{const _0x22370c=_0xfcd1d;this['_pendingDataUpdateChartIds'][_0x22370c(0x442)](_0x431b72['id']);})),_0x5ade94[_0xfcd1d(0x442)](_0x431b72['config$'][_0xfcd1d(0x4c5)]((0x0,_0xbe6d29[_0xfcd1d(0x2d2)])(_0x431b72[_0xfcd1d(0x1a9)]),(0x0,_0xbe6d29[_0xfcd1d(0x2d2)])(this[_0xfcd1d(0x345)]['direction$']),(0x0,_0xbe6d29['debounceTime'])(0x64))['subscribe'](([[_0x8f095f,_0x225519],_0x1942f0])=>{const _0x1eeca4=_0xfcd1d;var _0x37b8f9;if(!_0x8f095f)return;(_0x37b8f9=_0x8f095f[_0x1eeca4(0x30f)])==null||_0x37b8f9[_0x1eeca4(0x196)][_0x1eeca4(0x432)]((_0xe66b34,_0x5df8c8)=>{const _0x28c281=_0x1eeca4;_0xe66b34['label']||=this[_0x28c281(0x345)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x5df8c8+0x1);}),_0x8f095f[_0x1eeca4(0x37e)]['forEach']((_0x1030dc,_0x55adb0)=>{const _0x27bb19=_0x1eeca4;_0x1030dc[_0x27bb19(0x118)]||=this[_0x27bb19(0x345)]['t'](_0x27bb19(0x184))+'\x20'+(_0x55adb0+0x1);});let _0x44e6a1=this[_0x1eeca4(0x1ec)][_0x1eeca4(0x1ca)](_0x431b72,_0x1942f0),_0xe933d=this[_0x1eeca4(0x114)][_0x1eeca4(0x312)](_0x431b72['id']);this[_0x1eeca4(0x1ec)][_0x1eeca4(0x375)](_0x431b72['id'],_0x8f095f,_0x44e6a1,{'animateDataUpdate':_0xe933d});})),_0x431b72['onDispose'](()=>{const _0x4d4bdf=_0xfcd1d;this[_0x4d4bdf(0x114)]['delete'](_0x431b72['id']),_0x5ade94[_0x4d4bdf(0x382)]();});}}));}[_0x217258(0x275)](){const _0x579ecd=_0x217258;this[_0x579ecd(0x19f)](this['_commandService']['onCommandExecuted'](_0x474b2b=>{const _0x184b7f=_0x579ecd;if(_0x474b2b['id']!==_0x173cb1[_0x184b7f(0x335)]['id'])return;let _0x2121bf=_0x474b2b['params'];_0x2121bf!=null&&_0x2121bf['chartModelId']&&Promise[_0x184b7f(0x17b)]()[_0x184b7f(0x1fd)](()=>this[_0x184b7f(0x371)](_0x2121bf));}));}['_renderAfterChartUpdateMutation'](_0x3da92d){const _0x5bbbde=_0x217258;let _0x2b28f5=this[_0x5bbbde(0x136)][_0x5bbbde(0x26b)](_0x3da92d['chartModelId']);if(!_0x2b28f5||_0x2b28f5[_0x5bbbde(0x4e3)]!==_0x59f049[_0x5bbbde(0x49f)][_0x5bbbde(0x38a)])return;let _0x2b84ea=_0x2b28f5[_0x5bbbde(0x1c5)];_0x2b84ea?this[_0x5bbbde(0x31d)](_0x2b28f5,_0x2b84ea):this[_0x5bbbde(0x110)](_0x2b28f5);}[_0x217258(0x110)](_0x4c4b24){const _0x4b09dd=_0x217258;if(this['_pendingMutationConfigRenders'][_0x4b09dd(0x439)](_0x4c4b24['id']))return;let _0x249d7a=_0x4c4b24[_0x4b09dd(0x498)]['pipe']((0x0,_0xbe6d29['filter'])(_0x1c3f81=>_0x1c3f81!=null),(0x0,_0xbe6d29[_0x4b09dd(0x4e7)])(0x1))[_0x4b09dd(0x20b)](_0x3d5e08=>{const _0x10105f=_0x4b09dd;this[_0x10105f(0x3aa)]['delete'](_0x4c4b24['id']),this[_0x10105f(0x31d)](_0x4c4b24,_0x3d5e08);});this[_0x4b09dd(0x3aa)][_0x4b09dd(0x3fb)](_0x4c4b24['id'],_0x249d7a),_0x4c4b24[_0x4b09dd(0x435)](()=>{const _0x59b6e7=_0x4b09dd;_0x249d7a[_0x59b6e7(0x2d7)](),this[_0x59b6e7(0x3aa)][_0x59b6e7(0x312)](_0x4c4b24['id']);});}[_0x217258(0x31d)](_0x19976c,_0x14a438){const _0x338116=_0x217258;let _0xf3a18e=this[_0x338116(0x1ec)][_0x338116(0x1ca)](_0x19976c,this[_0x338116(0x345)][_0x338116(0x287)]());this[_0x338116(0x1ec)]['render'](_0x19976c['id'],_0x14a438,_0xf3a18e);}};_0x772501=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x30b)])),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x5564f6)),_0x2abdbf(0x2,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938[_0x217258(0x33b)])),_0x2abdbf(0x3,_0x453b7d),_0x2abdbf(0x4,_0x28a938[_0x217258(0x48d)]),_0x2abdbf(0x5,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x10595b[_0x217258(0x154)]))],_0x772501);function _0x2bdb8e(_0x61f8a8,_0x3f20aa){const _0x43a90a=_0x217258;return _0x61f8a8[_0x43a90a(0x4e1)]!==_0x3f20aa[_0x43a90a(0x4e1)]||_0x61f8a8[_0x43a90a(0x26e)]!==_0x3f20aa[_0x43a90a(0x2a2)]?_0x61f8a8:{..._0x61f8a8,'subUnitId':_0x3f20aa[_0x43a90a(0x2af)]};}function _0x214e11(_0xa137ea,_0xb47e11){const _0x47a598=_0x217258;return(_0xa137ea==null?void 0x0:_0xa137ea[_0x47a598(0x4e2)])===_0x59f049[_0x47a598(0x3ef)][_0x47a598(0x10a)]?{..._0xa137ea,'source':_0x2bdb8e(_0xa137ea[_0x47a598(0x427)],_0xb47e11)}:_0xa137ea;}function _0x34ab8a(_0xb94342,_0x389670){const _0x5b73f6=_0x217258;let {rangeInfo:_0x2521cd}=_0xb94342;return Array['isArray'](_0x2521cd)?{..._0xb94342,'rangeInfo':_0x2521cd[_0x5b73f6(0x4cd)](_0x23f52c=>({..._0x23f52c,..._0x23f52c[_0x5b73f6(0x151)]?{'header':_0x214e11(_0x23f52c[_0x5b73f6(0x151)],_0x389670)}:{},'range':_0x2bdb8e(_0x23f52c[_0x5b73f6(0x298)],_0x389670)}))}:{..._0xb94342,'rangeInfo':{..._0x2521cd,..._0x2521cd[_0x5b73f6(0x151)]?{'header':{..._0x2521cd[_0x5b73f6(0x151)],..._0x2521cd[_0x5b73f6(0x151)]['titles']?{'titles':_0x423175(_0x2521cd[_0x5b73f6(0x151)][_0x5b73f6(0x1a1)],_0x389670)}:{}}}:{},'rangeInfo':_0x2bdb8e(_0x2521cd['rangeInfo'],_0x389670)}};}function _0x423175(_0x278da2,_0x26b945){const _0x24361c=_0x217258;return _0x278da2[_0x24361c(0x4e2)]===_0x59f049[_0x24361c(0x3ef)][_0x24361c(0x43f)]?{..._0x278da2,'values':{..._0x278da2[_0x24361c(0x18b)]}}:_0x278da2[_0x24361c(0x4e2)]===_0x59f049['ChartSourceHeaderTitleType'][_0x24361c(0x47f)]?{..._0x278da2,'values':Object['fromEntries'](Object[_0x24361c(0x296)](_0x278da2['values'])['map'](([_0x3bfc9d,_0x5d2448])=>[_0x3bfc9d,_0x5d2448&&_0x2bdb8e(_0x5d2448,_0x26b945)]))}:{..._0x278da2,'values':Object[_0x24361c(0x16b)](Object['entries'](_0x278da2[_0x24361c(0x18b)])[_0x24361c(0x4cd)](([_0x4cf0aa,_0x533da8])=>[_0x4cf0aa,_0x533da8&&_0x214e11(_0x533da8,_0x26b945)]))};}function _0x22428d(_0x2c4676,_0x14a559,_0x43860b,_0x4515a6){const _0x54f786=_0x217258;let _0x4dd3f0=(0x0,_0x58f777[_0x54f786(0x17f)])(_0x2c4676,_0x14a559,_0x43860b),_0x115ced=[];for(let _0x6da87a of _0x14a559){let _0x3e14e5=_0x4dd3f0[_0x54f786(0x261)]['get'](_0x6da87a[_0x54f786(0x3e4)]),_0x579b1b=_0x4515a6(_0x6da87a);_0x3e14e5&&_0x579b1b&&_0x115ced[_0x54f786(0x227)]({'targetChartId':_0x3e14e5,'source':_0x34ab8a(_0x579b1b,_0x43860b)});}return _0x115ced;}let _0x1442d0=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x4f5c5e,_0x5271e7,_0x3c7b98,_0x4b0396,_0x31f64d){const _0x88fdf1=_0x217258;super(),this[_0x88fdf1(0x360)]=_0x4f5c5e,this['_sheetInterceptorService']=_0x5271e7,this[_0x88fdf1(0x277)]=_0x3c7b98,this[_0x88fdf1(0x136)]=_0x4b0396,this[_0x88fdf1(0x3db)]=_0x31f64d,this[_0x88fdf1(0x220)]();}[_0x217258(0x220)](){const _0xfb5000=_0x217258;this[_0xfb5000(0x19f)](this[_0xfb5000(0x2db)]['interceptCommand']({'getMutations':_0x1ade77=>{const _0x28a5b9=_0xfb5000;if(_0x1ade77['id']===_0x4274f9[_0x28a5b9(0x4a9)]['id']){let _0x5db868=(0x0,_0x4274f9[_0x28a5b9(0x4ed)])(this['_univerInstanceService'],_0x1ade77[_0x28a5b9(0x3a5)]);if(!_0x5db868)return{'redos':[],'undos':[]};let {unitId:_0x415d8f,subUnitId:_0x3d629f}=_0x5db868,_0x1216ba=this['_sheetDrawingService'][_0x28a5b9(0x1d9)](_0x415d8f,_0x3d629f),_0x44cfb5=Object[_0x28a5b9(0x18b)](_0x1216ba)[_0x28a5b9(0x3ce)](_0x206576=>_0x206576[_0x28a5b9(0x3e9)]===_0x28a938[_0x28a5b9(0x32b)][_0x28a5b9(0x3fc)]);if(_0x44cfb5['length']===0x0)return{'redos':[],'undos':[]};let _0xc06920=[],_0x235a93=[];for(let _0x38d035=0x0;_0x38d035<_0x44cfb5['length'];_0x38d035++){let _0x43212d=_0x44cfb5[_0x38d035],_0x2cf46c=this[_0x28a5b9(0x136)][_0x28a5b9(0x26b)](_0x43212d[_0x28a5b9(0x3e4)]);if(!_0x2cf46c)continue;let _0x57113b=this[_0x28a5b9(0x3db)][_0x28a5b9(0x26d)](_0x2cf46c['id']);if(!_0x57113b)continue;let {chartType:_0xdd6120,context:_0x49cfdd,style:_0x4f7818,dataAggregation:_0x5e7666}=_0x2cf46c[_0x28a5b9(0x276)]();_0xc06920[_0x28a5b9(0x227)]({'id':_0x173cb1[_0x28a5b9(0x232)]['id'],'params':{'unitId':_0x415d8f,'subUnitId':_0x3d629f,'chartId':_0x43212d[_0x28a5b9(0x3e4)]}}),_0x235a93[_0x28a5b9(0x227)]({'id':_0x173cb1[_0x28a5b9(0x3c3)]['id'],'params':{'unitId':_0x415d8f,'subUnitId':_0x3d629f,'chartId':_0x43212d['drawingId'],'chartType':_0xdd6120,...(0x0,_0x173cb1[_0x28a5b9(0x46b)])(_0x57113b),'context':_0x49cfdd,'style':_0x4f7818,'dataAggregation':_0x5e7666}});}return{'redos':_0xc06920,'undos':_0x235a93};}if(_0x1ade77['id']===_0x4274f9[_0x28a5b9(0x16d)]['id']){let {unitId:_0x612e5e,subUnitId:_0x2b2679,targetSubUnitId:_0x2e16c5,copyContext:_0x4abe75}=_0x1ade77['params'];if(!_0x612e5e||!_0x2b2679||!_0x2e16c5)return{'redos':[],'undos':[]};let _0x48ecb9=this[_0x28a5b9(0x277)][_0x28a5b9(0x1d9)](_0x612e5e,_0x2b2679),_0x3d59da=Object[_0x28a5b9(0x18b)](_0x48ecb9)['filter'](_0x232818=>_0x232818['drawingType']===_0x28a938['DrawingTypeEnum'][_0x28a5b9(0x3fc)]);if(_0x3d59da[_0x28a5b9(0x503)]===0x0)return{'redos':[],'undos':[]};let _0x34afbf=_0x22428d(_0x4abe75,_0x3d59da,{'unitId':_0x612e5e,'sourceSubUnitId':_0x2b2679,'targetSubUnitId':_0x2e16c5},_0x419499=>{const _0x18bd99=_0x28a5b9;let _0x2a6f3a=this[_0x18bd99(0x136)]['getChartModel'](_0x419499['drawingId']);if(!_0x2a6f3a)return;let _0x220ded=this[_0x18bd99(0x3db)][_0x18bd99(0x26d)](_0x2a6f3a['id']);if(!_0x220ded)return;let {chartType:_0x41ea57,context:_0x421149,style:_0x4f3a7d,dataAggregation:_0x2196ff}=_0x2a6f3a[_0x18bd99(0x276)]();return{'rangeInfo':_0x220ded,'chartType':_0x41ea57,'context':_0x421149,'style':_0x4f3a7d,'dataAggregation':_0x2196ff};}),_0x3fd6ec=[],_0x5c5b98=[];for(let {targetChartId:_0x4b5ac1,source:_0x3da5b6}of _0x34afbf){let {rangeInfo:_0x3d03d6,chartType:_0x58d772,context:_0x1a93ae,style:_0x7ab181,dataAggregation:_0xc73a1d}=_0x3da5b6;_0x3fd6ec[_0x28a5b9(0x227)]({'id':_0x173cb1[_0x28a5b9(0x3c3)]['id'],'params':{'unitId':_0x612e5e,'subUnitId':_0x2e16c5,'chartId':_0x4b5ac1,'chartType':_0x58d772,...(0x0,_0x173cb1['toInsertChartMutationSource'])(_0x3d03d6),'context':_0x1a93ae,'style':_0x7ab181,'dataAggregation':_0xc73a1d}}),_0x5c5b98['push']({'id':_0x173cb1['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x612e5e,'subUnitId':_0x2e16c5,'chartId':_0x4b5ac1}});}return{'redos':_0x3fd6ec,'undos':_0x5c5b98};}return{'redos':[],'undos':[]};}}));}};_0x1442d0=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938['IUniverInstanceService'])),_0x2abdbf(0x1,(0x0,_0x28a938['Inject'])(_0x4274f9[_0x217258(0x12c)])),_0x2abdbf(0x2,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x466b35[_0x217258(0x278)])),_0x2abdbf(0x3,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x30b)])),_0x2abdbf(0x4,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x2ec)]))],_0x1442d0);let _0x157651=_0x1c318c=>_0x1c318c[_0x217258(0x34f)](_0x28a938[_0x217258(0x270)]['UNIVER_SHEET'])[_0x217258(0x269)](),_0x197700=_0x2c4ef4=>{const _0x59b052=_0x217258;var _0x570c1a;return(_0x570c1a=_0x2c4ef4['getCurrentUnitOfType'](_0x28a938[_0x59b052(0x270)]['UNIVER_SHEET'])[_0x59b052(0x24f)]())==null?void 0x0:_0x570c1a[_0x59b052(0x2f8)]();};function _0x5b5b00(){const _0x1e469d=_0x217258;var _0x381fbe;let _0x46fc9d=(0x0,_0x545d4c['useDependency'])(_0x453b7d),_0x49f614=(0x0,_0x545d4c[_0x1e469d(0x34c)])(_0x173cb1['ChartModelService']),_0xaf19db=(0x0,_0x545d4c['useDependency'])(_0x173cb1[_0x1e469d(0x2ec)]),_0x19122e=(0x0,_0x545d4c[_0x1e469d(0x34c)])(_0x28a938[_0x1e469d(0x33b)]),_0x9a40e7=(0x0,_0x545d4c[_0x1e469d(0x34c)])(_0x28a938['Injector']),_0x3593ba=(0x0,_0x173cb1['getAllowedChartTypes'])(_0x9a40e7),_0x549b95=(0x0,_0x127ca7[_0x1e469d(0x338)])(()=>{const _0x4926b6=_0x1e469d;let _0x5eafe4=_0xeea476(_0x37bd32[_0x4926b6(0x283)](),_0x3593ba);return(0x0,_0x1b7174[_0x4926b6(0x409)])(_0x5eafe4[_0x4926b6(0x4cd)](_0x55acda=>({'id':_0x55acda['id'],'label':_0x19122e['t'](_0x4926b6(0x364)+_0x55acda[_0x4926b6(0x236)]),'pieSecondaryPlotType':_0x55acda[_0x4926b6(0x27e)],'value':_0x55acda[_0x4926b6(0x1e9)]})));},[_0x3593ba,_0x19122e]),_0x2435b6=(0x0,_0x545d4c[_0x1e469d(0x4c4)])(_0x49f614['activeChartModel$'],_0x49f614[_0x1e469d(0x38c)]),_0x448194=_0x2435b6?_0xaf19db[_0x1e469d(0x24a)](_0x2435b6['id']):void 0x0,_0x223eb2=(0x0,_0x545d4c[_0x1e469d(0x4c4)])(_0x448194==null?void 0x0:_0x448194[_0x1e469d(0x4aa)],_0x448194==null?void 0x0:_0x448194[_0x1e469d(0x12b)]()),_0x39392a=Array[_0x1e469d(0x2bd)](_0x223eb2),_0x6b1912=_0x223eb2&&!_0x39392a&&_0x223eb2[_0x1e469d(0x387)]?_0x59f049[_0x1e469d(0x199)][_0x1e469d(0x3f4)]:_0x59f049[_0x1e469d(0x199)]['Column'],_0x12d328=_0x39392a?(_0x381fbe=_0x223eb2[0x0])==null?void 0x0:_0x381fbe[_0x1e469d(0x298)]:_0x223eb2==null?void 0x0:_0x223eb2[_0x1e469d(0x36e)];return(0x0,_0x52a1b3[_0x1e469d(0x404)])(_0x1e469d(0x3cd),{'className':_0x1e469d(0x2df),'children':(0x0,_0x52a1b3[_0x1e469d(0x404)])(_0x1b7174[_0x1e469d(0x2c4)],{'chartTypeOptions':_0x549b95,'dataSourceControl':(0x0,_0x52a1b3[_0x1e469d(0x404)])(_0x5275f8,{'dataRange':_0x223eb2,'primaryRange':_0x12d328}),'categoryToggleLabel':_0x19122e['t'](_0x1e469d(0x15b),_0x6b1912===_0x59f049[_0x1e469d(0x199)][_0x1e469d(0x3f4)]?_0x6b1912+'\x20'+(((_0x12d328==null?void 0x0:_0x12d328[_0x1e469d(0x298)][_0x1e469d(0x12f)])??0x0)+0x1):_0x6b1912+'\x20'+(0x0,_0x28a938[_0x1e469d(0x454)])((_0x12d328==null?void 0x0:_0x12d328[_0x1e469d(0x298)][_0x1e469d(0x116)])??0x0)),'orientationControl':_0x39392a?void 0x0:(0x0,_0x52a1b3[_0x1e469d(0x404)])(_0x44fa10[_0x1e469d(0x398)],{'size':_0x1e469d(0x395),'onClick':()=>_0x46fc9d[_0x1e469d(0x1b7)](_0x6b1912===_0x59f049[_0x1e469d(0x199)]['Row']?_0x59f049[_0x1e469d(0x199)][_0x1e469d(0x1f3)]:_0x59f049[_0x1e469d(0x199)][_0x1e469d(0x3f4)]),'children':_0x19122e['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x5275f8(_0x332b3b){const _0x1b51e5=_0x217258;let {dataRange:_0xd6849a,primaryRange:_0x4f7e1c}=_0x332b3b,_0x5077e5=(0x0,_0x545d4c[_0x1b51e5(0x34c)])(_0x453b7d),_0x195d0e=(0x0,_0x545d4c['useDependency'])(_0x28a938[_0x1b51e5(0x33b)]),_0x507f20=(0x0,_0x545d4c['useDependency'])(_0x28a938['IUniverInstanceService']),[_0x9b360b,_0x25ffda]=(0x0,_0x127ca7[_0x1b51e5(0x34d)])(!0x1),[_0x113e8f,_0x25f8e7]=(0x0,_0x127ca7['useState'])(!0x1),_0x57e07e=_0x157651(_0x507f20),_0x41d331=_0x197700(_0x507f20);(0x0,_0x127ca7[_0x1b51e5(0x181)])(()=>{const _0x1b65f7=_0x1b51e5;_0x5077e5[_0x1b65f7(0x45d)](_0x9b360b);},[_0x9b360b,_0x5077e5]);let _0x4f5ac3=(0x0,_0x127ca7[_0x1b51e5(0x338)])(()=>(0x0,_0x28a938[_0x1b51e5(0x176)])(async _0x261a25=>{const _0x1d8348=_0x1b51e5;var _0x5ab3ff;if(_0x56ce5e(_0xd6849a,_0x507f20)===_0x261a25)return;let _0xf53d94=_0x261a25[_0x1d8348(0x252)](',')[_0x1d8348(0x3ce)](Boolean)[_0x1d8348(0x4cd)](_0x3d8df7[_0x1d8348(0x36b)])[0x0];if(!_0xf53d94)return;let {unitId:_0x2e277c,sheetName:_0x47e1dd,range:_0x410dd1}=_0xf53d94,_0x56f3f7=_0x2e277c||_0x57e07e,_0x2a6fcf=((_0x5ab3ff=_0x507f20[_0x1d8348(0x499)](_0x56f3f7)['getSheetBySheetName'](_0x47e1dd))==null?void 0x0:_0x5ab3ff['getSheetId']())||(_0x4f7e1c==null?void 0x0:_0x4f7e1c['subUnitId'])||_0x41d331;_0x2a6fcf&&_0x5077e5[_0x1d8348(0x3c5)]({'rangeInfo':{'range':_0x410dd1,'unitId':_0x56f3f7,'subUnitId':_0x2a6fcf}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0xd6849a,_0x4f7e1c,_0x5077e5,_0x41d331,_0x57e07e,_0x507f20]);return(0x0,_0x127ca7[_0x1b51e5(0x181)])(()=>()=>_0x4f5ac3['cancel'](),[_0x4f5ac3]),(0x0,_0x52a1b3[_0x1b51e5(0x404)])('div',{'className':_0x1b51e5(0x169),'children':(0x0,_0x52a1b3[_0x1b51e5(0x112)])(_0x1b51e5(0x3cd),{'children':[(0x0,_0x52a1b3[_0x1b51e5(0x404)])(_0x1b7174[_0x1b51e5(0x408)],{'title':_0x195d0e['t']('sheets-chart-ui.common.dataRange')}),(0x0,_0x52a1b3[_0x1b51e5(0x404)])(_0x587c55[_0x1b51e5(0x225)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x57e07e,'subUnitId':_0x41d331,'initialValue':_0xd6849a?_0x56ce5e(_0xd6849a,_0x507f20):'','onChange':(_0x74822,_0x5d13b9)=>_0x4f5ac3(_0x5d13b9),'onFocusChange':_0x3e0ebc=>{_0x113e8f||_0x25ffda(_0x3e0ebc);},'onRangeSelectorDialogVisibleChange':_0x22fd04=>{_0x25f8e7(_0x22fd04),_0x25ffda(_0x22fd04);}})]})});}function _0x6d5080(){const _0x5c4840=_0x217258;let [_0x526968,_0x449a6f]=(0x0,_0x127ca7[_0x5c4840(0x34d)])(_0x1b7174[_0x5c4840(0x378)][_0x5c4840(0x3a7)]),_0xe6b1d3=(0x0,_0x545d4c[_0x5c4840(0x34c)])(_0x28a938[_0x5c4840(0x353)]),_0x4c4ff3=(0x0,_0x545d4c[_0x5c4840(0x34c)])(_0x28a938[_0x5c4840(0x33b)]),_0x2c2a78=(0x0,_0x545d4c['useDependency'])(_0x453b7d),_0xc8715b=(0x0,_0x545d4c[_0x5c4840(0x34c)])(_0x173cb1['ChartModelService']),_0x5bffbd=(0x0,_0x545d4c['useDependency'])(_0x173cb1[_0x5c4840(0x2ec)]),_0x49f6f7=(0x0,_0x545d4c[_0x5c4840(0x4c4)])(_0xc8715b['activeChartModel$'],_0xc8715b[_0x5c4840(0x38c)]),_0x165a76=(0x0,_0x545d4c[_0x5c4840(0x4c4)])(_0x2c2a78[_0x5c4840(0x347)],null),_0x33d240=(0x0,_0x127ca7[_0x5c4840(0x338)])(()=>{const _0x5c53fa=_0x5c4840;var _0x38c4bf;if(!_0x49f6f7)return null;let _0x203ffc=_0x5bffbd[_0x5c53fa(0x26d)](_0x49f6f7['id']);if(!_0x203ffc)return null;let _0x4d228b=Array[_0x5c53fa(0x2bd)](_0x203ffc)?(_0x38c4bf=_0x203ffc[0x0])==null?void 0x0:_0x38c4bf[_0x5c53fa(0x298)]:_0x203ffc[_0x5c53fa(0x36e)];return _0x4d228b?new _0x1b7174[(_0x5c53fa(0x2b6))](_0x49f6f7,new _0x173cb1[(_0x5c53fa(0x1b4))]({'unitId':_0x4d228b[_0x5c53fa(0x4e1)],'subUnitId':_0x4d228b[_0x5c53fa(0x26e)],'chartId':_0x49f6f7['id'],'injector':_0xe6b1d3})):null;},[_0x49f6f7,_0xe6b1d3,_0x5bffbd]);if((0x0,_0x127ca7[_0x5c4840(0x181)])(()=>{const _0x535a36=_0x5c4840;var _0x3996bb,_0x45f249;_0x49f6f7&&(_0x165a76==null?void 0x0:_0x165a76[_0x535a36(0x22f)])===_0x49f6f7['id']&&(((_0x3996bb=_0x165a76[_0x535a36(0x1b8)])==null?void 0x0:_0x3996bb[_0x535a36(0x171)])===_0x1b7174['ChartEditPanelTab'][_0x535a36(0x500)]&&_0x449a6f(_0x1b7174[_0x535a36(0x378)][_0x535a36(0x500)]),((_0x45f249=_0x165a76[_0x535a36(0x1b8)])==null?void 0x0:_0x45f249[_0x535a36(0x171)])===_0x1b7174[_0x535a36(0x378)][_0x535a36(0x3a7)]&&_0x449a6f(_0x1b7174[_0x535a36(0x378)][_0x535a36(0x3a7)]));},[_0x49f6f7,_0x165a76]),!_0x33d240)return null;let _0x326878=(0x0,_0x52a1b3[_0x5c4840(0x404)])(_0x5c4840(0x3cd),{'className':_0x5c4840(0x1b0),'children':(0x0,_0x52a1b3[_0x5c4840(0x404)])(_0x1b7174[_0x5c4840(0x3cf)],{'ariaLabel':_0x4c4ff3['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x526968,'onTabChange':_0x449a6f,'tabListClassName':_0x5c4840(0x113),'panelClassName':_0x526968===_0x1b7174[_0x5c4840(0x378)][_0x5c4840(0x500)]?_0x5c4840(0x1c0):_0x5c4840(0x39f),'tabs':[{'id':_0x1b7174[_0x5c4840(0x378)][_0x5c4840(0x3a7)],'panelId':_0x5c4840(0x443),'title':_0x4c4ff3['t'](_0x5c4840(0x286)),'content':(0x0,_0x52a1b3[_0x5c4840(0x404)])(_0x5b5b00,{})},{'id':_0x1b7174['ChartEditPanelTab'][_0x5c4840(0x500)],'panelId':_0x5c4840(0x358),'title':_0x4c4ff3['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x52a1b3[_0x5c4840(0x404)])(_0x4a7c9b,{'defaultValues':_0x4646e5})}]})});return(0x0,_0x52a1b3[_0x5c4840(0x404)])(_0x1b7174[_0x5c4840(0x3ea)],{'chartUIService':_0x2c2a78,'hostAdapter':_0x33d240,'children':_0x326878});}let _0xaf71c=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x517ba0){const _0x1e9b7a=_0x217258;super(),this[_0x1e9b7a(0x19f)](_0x517ba0[_0x1e9b7a(0x1eb)](_0x3ae32e,_0x6d5080));}};_0xaf71c=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x545d4c[_0x217258(0x4d0)]))],_0xaf71c);let _0x385ad9=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x38b40e,_0xf61a33,_0x8c93c7,_0x5a91f2,_0x28833d,_0x4e7f0f,_0x1e009b,_0xaa0b60,_0x2e8dce){const _0x33bc48=_0x217258;super(),this[_0x33bc48(0x487)]=_0x38b40e,this[_0x33bc48(0x136)]=_0xf61a33,this[_0x33bc48(0x2b8)]=_0x8c93c7,this[_0x33bc48(0x1ae)]=_0x5a91f2,this[_0x33bc48(0x445)]=_0x28833d,this[_0x33bc48(0x2b2)]=_0x4e7f0f,this['_sheetsChartUIService']=_0x1e009b,this[_0x33bc48(0x4b5)]=_0xaa0b60,this[_0x33bc48(0x345)]=_0x2e8dce,_0x5c5268(this,_0x33bc48(0x42e),null),_0x5c5268(this,'_panelInitialized',!0x1),this['_initMenus']();}[_0x217258(0x382)](){this['hidePanel'](),super['dispose']();}[_0x217258(0x3f2)](){const _0xc27f6e=_0x217258;this[_0xc27f6e(0x150)]||(this[_0xc27f6e(0x150)]=!0x0,this[_0xc27f6e(0x19f)](this[_0xc27f6e(0x2b2)]['onCommandExecuted'](_0x1ac621=>{const _0x30b86e=_0xc27f6e;if(_0x1ac621['id']!==_0x190ef1['id'])return;let _0xef87b2=_0x1ac621[_0x30b86e(0x3a5)];this['openChartPanelById'](_0xef87b2[_0x30b86e(0x3e4)],_0xef87b2[_0x30b86e(0x1b8)]);})));}[_0x217258(0x163)](_0x49357e,_0x3f1d94){const _0x16146f=_0x217258;let _0xc3447e=this[_0x16146f(0x136)][_0x16146f(0x26b)](_0x49357e);_0xc3447e&&(this[_0x16146f(0x136)][_0x16146f(0x146)](_0xc3447e),this[_0x16146f(0x1e3)](),this[_0x16146f(0x1c9)][_0x16146f(0x28a)](!0x0),this['_sheetsChartUIService']['setPanelRoute'](_0x49357e,_0x3f1d94??null));}[_0x217258(0x101)](){const _0x42568a=_0x217258;let _0x13f484=this[_0x42568a(0x42e)];this['_sidebarDisposable']=null,this['_clearPanelState'](),_0x13f484==null||_0x13f484[_0x42568a(0x382)]();}[_0x217258(0x273)](){const _0x3d8468=_0x217258;this[_0x3d8468(0x1ae)][_0x3d8468(0x501)]({[_0x545d4c[_0x3d8468(0x475)][_0x3d8468(0x33c)]]:{[_0x3bf4a1['id']]:{'order':0x4,'menuItemFactory':_0x93d49a}}}),this[_0x3d8468(0x445)][_0x3d8468(0x368)](_0x28a938['DrawingTypeEnum'][_0x3d8468(0x3fc)],(_0x2d1e1a,_0x2ae521,_0x315b62,_0x288549)=>[{'label':this[_0x3d8468(0x345)]['t'](_0x3d8468(0x1d7)),'index':0x0,'commandId':_0x190ef1['id'],'commandParams':{'unitId':_0x2d1e1a,'subUnitId':_0x2ae521,'drawingId':_0x315b62},'disable':_0x288549!==_0x28a938[_0x3d8468(0x32b)][_0x3d8468(0x3fc)]},{'label':this[_0x3d8468(0x345)]['t'](_0x3d8468(0x349)),'index':0x1,'commandId':_0x466b35[_0x3d8468(0x428)]['id'],'commandParams':{'unitId':_0x2d1e1a,'drawings':[{'unitId':_0x2d1e1a,'subUnitId':_0x2ae521,'drawingId':_0x315b62,'drawingType':_0x288549}]},'disable':!0x1}],_0x3d8468(0x307));}[_0x217258(0x1e3)](){const _0x4d7340=_0x217258;this['_sidebarDisposable']=this[_0x4d7340(0x2b8)]['open']({'id':_0x3ae32e,'header':{'title':this[_0x4d7340(0x345)]['t'](_0x4d7340(0x1d7))},'children':{'label':_0x3ae32e},'onClose':()=>{const _0x77deee=_0x4d7340;this[_0x77deee(0x42e)]=null,this[_0x77deee(0x3ae)]();}});}['_clearPanelState'](){const _0x45608b=_0x217258;this['_sheetsChartUIService'][_0x45608b(0x28a)](!0x1),this[_0x45608b(0x1c9)]['clearPanelRoute'](),this[_0x45608b(0x136)]['activeChartModel']&&this[_0x45608b(0x136)][_0x45608b(0x146)](null),this[_0x45608b(0x487)][_0x45608b(0x279)](null),this[_0x45608b(0x4b5)][_0x45608b(0x29d)](_0x28a938[_0x45608b(0x46e)],!0x1);}};_0x385ad9=_0x17871f([_0x2abdbf(0x0,_0x58f777[_0x217258(0x18c)]),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1['ChartModelService'])),_0x2abdbf(0x2,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x545d4c[_0x217258(0x3c2)])),_0x2abdbf(0x3,_0x545d4c[_0x217258(0x4a6)]),_0x2abdbf(0x4,(0x0,_0x28a938['Inject'])(_0x10595b[_0x217258(0x1b3)])),_0x2abdbf(0x5,_0x28a938['ICommandService']),_0x2abdbf(0x6,_0x453b7d),_0x2abdbf(0x7,_0x28a938[_0x217258(0x201)]),_0x2abdbf(0x8,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938['LocaleService']))],_0x385ad9);let _0x43443c=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x3ae25c,_0xbc8cbf,_0x15930d,_0x11fb1c,_0xa2b464){const _0x5a020f=_0x217258;super(),this['_sheetSkeletonService']=_0x3ae25c,this[_0x5a020f(0x451)]=_0xbc8cbf,this[_0x5a020f(0x277)]=_0x15930d,this[_0x5a020f(0x136)]=_0x11fb1c,this[_0x5a020f(0x3db)]=_0xa2b464,_0x5c5268(this,_0x5a020f(0x128),void 0x0),this[_0x5a020f(0x424)]();}get[_0x217258(0x153)](){const _0x256b5d=_0x217258;return this[_0x256b5d(0x277)]['getFocusDrawings']();}[_0x217258(0x424)](){const _0x562b05=_0x217258;this[_0x562b05(0x19f)](this[_0x562b05(0x451)][_0x562b05(0x272)]({'id':_0x173cb1[_0x562b05(0x357)],'onBeforeCopyFocusedObject':(_0xa20189,_0xc65b7,_0x1bfc07)=>{const _0x4072ff=_0x562b05;this[_0x4072ff(0x128)]=null;let _0x2433da=this[_0x4072ff(0x153)]['filter'](_0x21577a=>this[_0x4072ff(0x22d)](_0x21577a));return _0x2433da['length']!==0x0&&(this[_0x4072ff(0x128)]={'unitId':_0xa20189,'subUnitId':_0xc65b7,'copyType':_0x1bfc07,'drawings':_0x2433da},!0x0);},'onBeforeCopy':(_0x256d73,_0x260e4d,_0x46f96d,_0x3aa855)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x256d73,_0x260e4d,_0x46f96d,_0x3aa855);},'onPasteCells':(_0x542670,_0x69b2f9,_0x559a16,_0x32a596)=>{const _0x146710=_0x562b05;if(!_0x32a596[_0x146710(0x246)]||!_0x542670||!this[_0x146710(0x128)])return{'redos':[],'undos':[]};let {pasteType:_0x3f5f76}=_0x32a596;return _0x3f5f76===_0x10595b['PREDEFINED_HOOK_NAME'][_0x146710(0x1cc)]?this[_0x146710(0x195)](_0x69b2f9,this[_0x146710(0x128)][_0x146710(0x4c6)]===_0x10595b[_0x146710(0x1d6)][_0x146710(0x391)]):{'redos':[],'undos':[]};}}));}[_0x217258(0x149)](_0x53dcb7,_0x524b7e,_0x46aa20,_0x1cb143){const _0x517e67=_0x217258;let _0x4a8733=this[_0x517e67(0x3ca)][_0x517e67(0x3a2)](_0x53dcb7,_0x524b7e);if(!_0x4a8733)return;let _0x1dccd0=(0x0,_0x4274f9['attachRangeWithCoord'])(_0x4a8733,_0x46aa20);if(!_0x1dccd0)return;let {startX:_0x201b13,endX:_0x2e0ced,startY:_0x3ca477,endY:_0xa9c3f1}=_0x1dccd0,_0x29d092=this[_0x517e67(0x277)]['getDrawingData'](_0x53dcb7,_0x524b7e),_0x187265=[];for(let [_0x4f6bfc,_0x314ac2]of Object[_0x517e67(0x296)](_0x29d092)){if(!this['_isOwnedChart'](_0x314ac2))continue;let {transform:_0x5a7df8}=_0x314ac2;if(!_0x5a7df8)continue;let {left:_0x1f9a8d=0x0,top:_0x1e41eb=0x0,width:_0x11f380=0x0,height:_0x2c8d19=0x0}=_0x5a7df8;_0x201b13<=_0x1f9a8d&&_0x2e0ced>=_0x1f9a8d+_0x11f380&&_0x3ca477<=_0x1e41eb&&_0xa9c3f1>=_0x1e41eb+_0x2c8d19&&_0x187265[_0x517e67(0x227)](_0x314ac2);}_0x187265[_0x517e67(0x503)]>0x0&&(this[_0x517e67(0x128)]={'unitId':_0x53dcb7,'subUnitId':_0x524b7e,'copyType':_0x1cb143,'copyRange':_0x46aa20,'drawings':_0x187265});}[_0x217258(0x22d)](_0x2efe5f){const _0xb34fac=_0x217258;return _0x2efe5f['drawingType']===_0x28a938['DrawingTypeEnum'][_0xb34fac(0x3fc)]&&this[_0xb34fac(0x3db)][_0xb34fac(0x1c8)](_0x2efe5f['unitId'],_0x2efe5f[_0xb34fac(0x3e4)])===_0x2efe5f[_0xb34fac(0x26e)];}['_generatePasteMutations'](_0x9a0999,_0x4c1ad6){const _0x4c826c=_0x217258;let {unitId:_0xb64633,subUnitId:_0x44f7a8,range:_0x4667e8}=_0x9a0999,_0x3d6e52=this['_sheetSkeletonService'][_0x4c826c(0x3a2)](_0xb64633,_0x44f7a8);if(!_0x3d6e52)return{'redos':[],'undos':[]};let _0x2e67f4=(0x0,_0x4274f9['discreteRangeToRange'])(_0x4667e8),{unitId:_0x55b3b3,subUnitId:_0x3d1ed2,copyRange:_0x1e96de,drawings:_0x3c31af}=this[_0x4c826c(0x128)],_0x523f41=this[_0x4c826c(0x3ca)][_0x4c826c(0x3a2)](_0x55b3b3,_0x3d1ed2);if(!_0x523f41)return{'redos':[],'undos':[]};let _0x5dbbd0=[],_0x15af75=[];for(let _0x36ccbf of _0x3c31af){let {drawingId:_0x593a05,transform:_0x5d873f,sheetTransform:_0x1e0126}=_0x36ccbf,_0xda35bd=this[_0x4c826c(0x136)]['getChartModel'](_0x593a05);if(!_0xda35bd||!_0x5d873f||!_0x1e0126)continue;let _0x1cccb2=this[_0x4c826c(0x178)]({'transform':_0x5d873f,'sheetTransform':_0x1e0126},{'skeleton':_0x523f41,'range':_0x1e96de},{'skeleton':_0x3d6e52,'range':_0x2e67f4});if(_0x4c1ad6){let {redos:_0x13fe1d,undos:_0x56d378}=this['_generateCutPasteMutations']({'fromUnitId':_0x55b3b3,'fromSubUnitId':_0x3d1ed2,'toUnitId':_0xb64633,'toSubUnitId':_0x44f7a8,'drawing':_0x36ccbf,'newTransforms':_0x1cccb2},_0xda35bd);_0x5dbbd0[_0x4c826c(0x227)](..._0x13fe1d),_0x15af75[_0x4c826c(0x227)](..._0x56d378);continue;}let {redos:_0x478f4e,undos:_0x8d8338}=this[_0x4c826c(0x4d2)]({'toUnitId':_0xb64633,'toSubUnitId':_0x44f7a8,'drawing':_0x36ccbf,'newTransforms':_0x1cccb2},_0xda35bd);_0x5dbbd0['push'](..._0x478f4e),_0x15af75[_0x4c826c(0x227)](..._0x8d8338);}return{'redos':_0x5dbbd0,'undos':_0x15af75};}['_generateCutPasteMutations'](_0x2fb783,_0xc46de6){const _0x32bff1=_0x217258;let {fromUnitId:_0x560bb9,fromSubUnitId:_0x356855,toUnitId:_0x1c4ac5,toSubUnitId:_0x2cc1f7,drawing:_0x26d68b,newTransforms:_0x1a5a0c}=_0x2fb783,_0x52b9fa={..._0x26d68b,'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'transform':_0x1a5a0c[_0x32bff1(0x1e1)],'sheetTransform':_0x1a5a0c['sheetTransform']};if(_0x1c4ac5===_0x560bb9&&_0x2cc1f7===_0x356855){let {redo:_0xea8f11,undo:_0x37d14f,objects:_0x58311a}=this['_sheetDrawingService'][_0x32bff1(0x119)]([_0x52b9fa]);return{'redos':[{'id':_0x466b35[_0x32bff1(0x369)]['id'],'params':{'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'type':_0x466b35['DrawingApplyType']['UPDATE'],'op':_0xea8f11,'objects':_0x58311a}}],'undos':[{'id':_0x466b35[_0x32bff1(0x369)]['id'],'params':{'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'type':_0x466b35['DrawingApplyType']['UPDATE'],'op':_0x37d14f,'objects':_0x58311a}}]};}{let _0x63f460=this[_0x32bff1(0x277)][_0x32bff1(0x159)]([_0x26d68b]),_0x289663=this[_0x32bff1(0x277)][_0x32bff1(0x363)]([_0x52b9fa]),_0x500f91=this[_0x32bff1(0x3db)]['getChartSourceSpec'](_0xc46de6['id']);if(!_0x500f91)return{'redos':[],'undos':[]};let {chartType:_0x4c9416,context:_0x439e2e,style:_0x1a3182,dataAggregation:_0xd108ee}=_0xc46de6[_0x32bff1(0x276)]();return{'redos':[{'id':_0x466b35['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x560bb9,'subUnitId':_0x356855,'type':_0x466b35['DrawingApplyType']['REMOVE'],'op':_0x63f460[_0x32bff1(0x192)],'objects':_0x63f460[_0x32bff1(0x18a)]}},{'id':_0x173cb1[_0x32bff1(0x232)]['id'],'params':{'unitId':_0x560bb9,'subUnitId':_0x356855,'chartId':_0x26d68b['drawingId']}},{'id':_0x466b35[_0x32bff1(0x369)]['id'],'params':{'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'type':_0x466b35['DrawingApplyType'][_0x32bff1(0x1ac)],'op':_0x289663['redo'],'objects':_0x289663[_0x32bff1(0x18a)]}},{'id':_0x173cb1[_0x32bff1(0x3c3)]['id'],'params':{'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'chartId':_0x26d68b[_0x32bff1(0x3e4)],'chartType':_0x4c9416,...(0x0,_0x173cb1[_0x32bff1(0x46b)])(_0x500f91),'context':_0x439e2e,'style':_0x1a3182,'dataAggregation':_0xd108ee}}],'undos':[{'id':_0x466b35[_0x32bff1(0x369)]['id'],'params':{'unitId':_0x560bb9,'subUnitId':_0x356855,'type':_0x466b35['DrawingApplyType']['INSERT'],'op':_0x63f460[_0x32bff1(0x29e)],'objects':_0x63f460[_0x32bff1(0x18a)]}},{'id':_0x173cb1[_0x32bff1(0x3c3)]['id'],'params':{'unitId':_0x560bb9,'subUnitId':_0x356855,'chartId':_0x26d68b[_0x32bff1(0x3e4)],'chartType':_0x4c9416,...(0x0,_0x173cb1['toInsertChartMutationSource'])(_0x500f91),'context':_0x439e2e,'style':_0x1a3182,'dataAggregation':_0xd108ee}},{'id':_0x466b35[_0x32bff1(0x369)]['id'],'params':{'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'type':_0x466b35['DrawingApplyType'][_0x32bff1(0x470)],'op':_0x289663[_0x32bff1(0x29e)],'objects':_0x289663[_0x32bff1(0x18a)]}},{'id':_0x173cb1['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x1c4ac5,'subUnitId':_0x2cc1f7,'chartId':_0x26d68b[_0x32bff1(0x3e4)]}}]};}}[_0x217258(0x4d2)](_0x315592,_0x244022){const _0x48d1f7=_0x217258;let {toUnitId:_0x2ff1b1,toSubUnitId:_0x41ac83,drawing:_0x5cdea1,newTransforms:_0x118752}=_0x315592,_0x186b1f=(0x0,_0x28a938[_0x48d1f7(0x340)])(),_0x54041a={..._0x5cdea1,'unitId':_0x2ff1b1,'subUnitId':_0x41ac83,'drawingId':_0x186b1f,'transform':_0x118752[_0x48d1f7(0x1e1)],'sheetTransform':_0x118752['sheetTransform']},{redo:_0xb0bb4b,undo:_0x5251f9,objects:_0x11417c}=this[_0x48d1f7(0x277)][_0x48d1f7(0x363)]([_0x54041a]),_0x536b87=this['_sheetsChartService']['getChartSourceSpec'](_0x244022['id']);if(!_0x536b87)return{'redos':[],'undos':[]};let {chartType:_0x24dd0b,context:_0x553650,style:_0x3f64c1,dataAggregation:_0x1f3934}=_0x244022[_0x48d1f7(0x276)]();return{'redos':[{'id':_0x466b35['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2ff1b1,'subUnitId':_0x41ac83,'type':_0x466b35[_0x48d1f7(0x1c7)][_0x48d1f7(0x1ac)],'op':_0xb0bb4b,'objects':_0x11417c}},{'id':_0x173cb1['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x2ff1b1,'subUnitId':_0x41ac83,'chartId':_0x186b1f,'chartType':_0x24dd0b,...(0x0,_0x173cb1['toInsertChartMutationSource'])(_0x536b87),'context':_0x553650,'style':_0x3f64c1,'dataAggregation':_0x1f3934}}],'undos':[{'id':_0x466b35['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2ff1b1,'subUnitId':_0x41ac83,'type':_0x466b35[_0x48d1f7(0x1c7)][_0x48d1f7(0x470)],'op':_0x5251f9,'objects':_0x11417c}},{'id':_0x173cb1[_0x48d1f7(0x232)]['id'],'params':{'unitId':_0x2ff1b1,'subUnitId':_0x41ac83,'chartId':_0x186b1f}}]};}[_0x217258(0x178)](_0x2679e8,_0x162f78,_0x4ab57e){const _0x40a919=_0x217258;let {range:_0x4b52d0,skeleton:_0x23a4a6}=_0x162f78,{range:_0x5ee7ea,skeleton:_0x303fcf}=_0x4ab57e,{transform:_0x58c399,sheetTransform:_0x5bf2a3}=_0x2679e8,_0x218efa={..._0x58c399};if(_0x4b52d0){let _0x401fc9=(0x0,_0x4274f9[_0x40a919(0x47d)])(_0x23a4a6,_0x4b52d0),_0x16840c=(0x0,_0x4274f9['attachRangeWithCoord'])(_0x303fcf,_0x5ee7ea);if(_0x401fc9&&_0x16840c){let _0x4f8648=_0x16840c[_0x40a919(0x244)]-_0x401fc9[_0x40a919(0x244)],_0x55effa=_0x16840c[_0x40a919(0x33f)]-_0x401fc9['startY'];_0x218efa[_0x40a919(0x106)]=(_0x218efa[_0x40a919(0x106)]??0x0)+_0x4f8648,_0x218efa[_0x40a919(0x1e7)]=(_0x218efa[_0x40a919(0x1e7)]??0x0)+_0x55effa;}}else{let _0x3e4f3e=(0x0,_0x4274f9['attachRangeWithCoord'])(_0x303fcf,_0x5ee7ea);_0x218efa[_0x40a919(0x106)]=_0x3e4f3e==null?void 0x0:_0x3e4f3e[_0x40a919(0x244)],_0x218efa[_0x40a919(0x1e7)]=_0x3e4f3e==null?void 0x0:_0x3e4f3e[_0x40a919(0x33f)];}return{'transform':_0x218efa,'sheetTransform':(0x0,_0x466b35['transformToDrawingPosition'])(_0x218efa,_0x303fcf)??_0x5bf2a3};}};_0x43443c=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x4274f9['SheetSkeletonService'])),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x10595b['ISheetClipboardService'])),_0x2abdbf(0x2,(0x0,_0x28a938['Inject'])(_0x466b35[_0x217258(0x278)])),_0x2abdbf(0x3,(0x0,_0x28a938['Inject'])(_0x173cb1[_0x217258(0x30b)])),_0x2abdbf(0x4,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x2ec)]))],_0x43443c);let _0x23033f=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x5b56d0,_0x396a57,_0x29b6e4,_0x43317c){const _0x497dcb=_0x217258;super(),this[_0x497dcb(0x2b2)]=_0x5b56d0,this[_0x497dcb(0x345)]=_0x396a57,this['_sheetPermissionCheckController']=_0x29b6e4,this['_sheetsChartService']=_0x43317c,this[_0x497dcb(0x423)]();}[_0x217258(0x423)](){const _0x1b0ebe=_0x217258;this[_0x1b0ebe(0x19f)](this['_commandService']['beforeCommandExecuted'](_0x11e078=>{const _0x4ca496=_0x1b0ebe;let _0x187afb,_0x2222de;if(_0x11e078['id']===_0x173cb1[_0x4ca496(0x386)]['id']){let _0x227b43=_0x11e078['params'];_0x187afb=_0x227b43[_0x4ca496(0x4e1)],_0x2222de=_0x227b43['subUnitId'];}else{if(_0x11e078['id']===_0x173cb1[_0x4ca496(0x202)]['id']||_0x11e078['id']===_0x173cb1[_0x4ca496(0x14e)]['id']){let _0x136606=_0x11e078[_0x4ca496(0x3a5)];_0x187afb=_0x136606[_0x4ca496(0x4e1)],_0x2222de=this[_0x4ca496(0x3db)]['getSubUnitId'](_0x136606[_0x4ca496(0x4e1)],_0x136606[_0x4ca496(0x175)]);}}_0x187afb&&_0x2222de&&(this[_0x4ca496(0x4a2)][_0x4ca496(0x322)]({'workbookTypes':[_0x4274f9[_0x4ca496(0x38e)]],'worksheetTypes':[_0x4274f9[_0x4ca496(0x1d5)]]},_0x187afb,_0x2222de)||this[_0x4ca496(0x4a2)][_0x4ca496(0x4c1)](this[_0x4ca496(0x345)]['t']('sheets-chart-ui.permission.editErr')));}));}};_0x23033f=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938['ICommandService'])),_0x2abdbf(0x1,(0x0,_0x28a938['Inject'])(_0x28a938[_0x217258(0x33b)])),_0x2abdbf(0x2,(0x0,_0x28a938['Inject'])(_0x4274f9[_0x217258(0x14a)])),_0x2abdbf(0x3,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x173cb1[_0x217258(0x2ec)]))],_0x23033f);let _0xc82d73=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x17c6b7,_0x1a1112){const _0xd7abdd=_0x217258;super(),this[_0xd7abdd(0x2f3)]=_0x1a1112,this[_0xd7abdd(0x19f)](_0x17c6b7[_0xd7abdd(0x1eb)](this));}[_0x217258(0x2b3)](_0x30004e){const _0x28c1d7=_0x217258;return _0x28c1d7(0x4e1)in _0x30004e&&_0x28c1d7(0x26e)in _0x30004e;}[_0x217258(0x16c)](_0x5e28c9,_0x43955e){const _0xee5b5a=_0x217258;return this[_0xee5b5a(0x2f3)][_0xee5b5a(0x16c)](_0x5e28c9[_0xee5b5a(0x3c7)](),_0x43955e);}};_0xc82d73=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x1b7174[_0x217258(0x1db)])),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x5564f6))],_0xc82d73);let _0x1ace4f=class extends _0x28a938[_0x217258(0x44d)]{constructor(_0x5399b3=_0x567ce1,_0x3b49c8,_0x5bcb16,_0x5efc50){const _0x52f875=_0x217258;super(),this[_0x52f875(0x31e)]=_0x5399b3,this['_injector']=_0x3b49c8,this[_0x52f875(0x16f)]=_0x5bcb16,this[_0x52f875(0x2b2)]=_0x5efc50;let {..._0x416149}=(0x0,_0x28a938[_0x52f875(0x13c)])({},_0x567ce1,this[_0x52f875(0x31e)]);this[_0x52f875(0x16f)][_0x52f875(0x264)](_0x126a5d,_0x416149),this[_0x52f875(0x336)]();}[_0x217258(0x23e)](){const _0x24f9f1=_0x217258;let _0x6ce36b=[[_0xaf71c],[_0x453b7d,{'useClass':_0x46522a}],[_0x1de7de,{'useClass':_0x46d260}],[_0x3424d1],[_0x5564f6],[_0xc82d73],[_0x385ad9],[_0x4cb6ef],[_0x772501],[_0x43443c],[_0x1442d0],[_0x23033f]],_0x1a7015=[[_0xaf71c],[_0x385ad9],[_0x772501],[_0x4cb6ef],[_0xc82d73],[_0x453b7d],[_0x43443c],[_0x1442d0],[_0x23033f]];_0x6ce36b['forEach'](_0x38aba2=>this[_0x24f9f1(0x491)][_0x24f9f1(0x442)](_0x38aba2)),(0x0,_0x28a938['touchDependencies'])(this[_0x24f9f1(0x491)],_0x1a7015);}['onRendered'](){const _0x44c1f5=_0x217258;var _0xc31c9e;(_0xc31c9e=this['_injector'][_0x44c1f5(0x439)](_0x385ad9))==null||_0xc31c9e['initPanel']();}['_initCommands'](){const _0x1125f2=_0x217258;[_0x3bf4a1,_0x190ef1]['forEach'](_0x5b3320=>this[_0x1125f2(0x19f)](this[_0x1125f2(0x2b2)]['registerCommand'](_0x5b3320)));}};_0x5c5268(_0x1ace4f,_0x217258(0x4e2),_0x28a938['UniverInstanceType'][_0x217258(0x3df)]),_0x5c5268(_0x1ace4f,'pluginName',_0x217258(0x4ae)),_0x5c5268(_0x1ace4f,'packageName',_0x3900d9),_0x5c5268(_0x1ace4f,_0x217258(0x482),_0x2bd78a),_0x1ace4f=_0x17871f([(0x0,_0x28a938['DependentOn'])(_0x358ad4[_0x217258(0x4fa)],_0x58f777['UniverDrawingPlugin'],_0x18e11[_0x217258(0x403)],_0x4274f9[_0x217258(0x417)],_0x466b35[_0x217258(0x311)],_0x1b7174[_0x217258(0x413)],_0x173cb1[_0x217258(0x4b4)],_0x2fb4ab[_0x217258(0x4c8)],_0x10595b['UniverSheetsMobileUIPlugin'],_0x545d4c[_0x217258(0x157)]),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x28a938[_0x217258(0x353)])),_0x2abdbf(0x2,_0x28a938['IConfigService']),_0x2abdbf(0x3,_0x28a938[_0x217258(0x48d)])],_0x1ace4f);let _0x58bd17={'scaleX':0x1,'scaleY':0x1};function _0x448864(_0x53c0fa){let _0x1aeb53=_0x53c0fa['nativeEvent'];return _0x1aeb53 instanceof MouseEvent?_0x1aeb53:void 0x0;}function _0x346f35(_0xe69828){const _0x2a1fa3=_0x217258;let _0x57901a=_0xe69828[_0x2a1fa3(0x293)],_0xa1cb3f=_0x57901a==null?void 0x0:_0x57901a[_0x2a1fa3(0x3c9)];return _0xa1cb3f instanceof Element?_0xa1cb3f:void 0x0;}function _0x346d61(_0x256eff){const _0xa8f92e=_0x217258;var _0x1a044b;return(_0x1a044b=_0x346f35(_0x256eff))==null?void 0x0:_0x1a044b[_0xa8f92e(0x1f0)]();}function _0xe66cdf(_0x528d9e){const _0x18e54c=_0x217258;return _0x528d9e['width']||_0x528d9e[_0x18e54c(0x2a8)]-_0x528d9e[_0x18e54c(0x106)];}function _0x103908(_0x3d1034){const _0x44fb00=_0x217258;return _0x3d1034[_0x44fb00(0x390)]||_0x3d1034[_0x44fb00(0x41b)]-_0x3d1034['top'];}function _0x36aa28(_0x16ec75,_0x42f0fe){const _0x2f2898=_0x217258;let _0x1e9385=_0x16ec75['clientWidth']||(_0x16ec75 instanceof HTMLElement?_0x16ec75[_0x2f2898(0x29a)]:0x0),_0x518018=_0x16ec75[_0x2f2898(0x268)]||(_0x16ec75 instanceof HTMLElement?_0x16ec75[_0x2f2898(0x1ea)]:0x0),_0x5c2bff=_0xe66cdf(_0x42f0fe),_0x2dd20d=_0x103908(_0x42f0fe);return{'scaleX':_0x1e9385>0x0&&_0x5c2bff>0x0?_0x5c2bff/_0x1e9385:_0x58bd17[_0x2f2898(0x3ff)],'scaleY':_0x518018>0x0&&_0x2dd20d>0x0?_0x2dd20d/_0x518018:_0x58bd17[_0x2f2898(0x414)]};}function _0x358b7e(_0x1f4b82,_0x565306,_0x12f9b0){const _0x363547=_0x217258;return{'left':_0x1f4b82[_0x363547(0x106)]+_0x565306[_0x363547(0x106)]*_0x12f9b0[_0x363547(0x3ff)],'right':_0x1f4b82[_0x363547(0x106)]+_0x565306[_0x363547(0x2a8)]*_0x12f9b0['scaleX'],'top':_0x1f4b82[_0x363547(0x1e7)]+_0x565306[_0x363547(0x1e7)]*_0x12f9b0[_0x363547(0x414)],'bottom':_0x1f4b82[_0x363547(0x1e7)]+_0x565306[_0x363547(0x41b)]*_0x12f9b0[_0x363547(0x414)]};}function _0x140f9e(_0x28c350){const _0xe7fa1d=_0x217258;let _0x13075d=_0x346f35(_0x28c350),_0x2aa8e1=_0x28c350[_0xe7fa1d(0x40b)][_0xe7fa1d(0x1e5)];if(_0x13075d&&_0x2aa8e1){let _0x1c52ae=_0x13075d[_0xe7fa1d(0x1f0)]();return()=>{const _0x180214=_0xe7fa1d;let _0x4d816d=_0x13075d[_0x180214(0x1f0)]();return(_0x13075d[_0x180214(0x43e)]||_0xe66cdf(_0x4d816d)>0x0||_0x103908(_0x4d816d)>0x0)&&(_0x1c52ae=_0x4d816d),_0x358b7e(_0x1c52ae,_0x2aa8e1,_0x36aa28(_0x13075d,_0x1c52ae));};}return()=>{const _0x4bf472=_0xe7fa1d;let _0x4cfd3a=_0x346d61(_0x28c350);if(_0x4cfd3a&&_0x2aa8e1)return _0x358b7e(_0x4cfd3a,_0x2aa8e1,_0x13075d?_0x36aa28(_0x13075d,_0x4cfd3a):_0x58bd17);let _0x35b259=_0x448864(_0x28c350),_0x418d4a=_0x13075d&&_0x4cfd3a?_0x36aa28(_0x13075d,_0x4cfd3a):_0x58bd17,_0x36dcdd=(_0x35b259==null?void 0x0:_0x35b259[_0x4bf472(0x1ed)])??(_0x4cfd3a?_0x4cfd3a[_0x4bf472(0x106)]+_0x28c350['localPoint']['x']*_0x418d4a[_0x4bf472(0x3ff)]:_0x28c350['localPoint']['x']),_0x1f8df4=(_0x35b259==null?void 0x0:_0x35b259[_0x4bf472(0x2f2)])??(_0x4cfd3a?_0x4cfd3a['top']+_0x28c350[_0x4bf472(0x3d8)]['y']*_0x418d4a[_0x4bf472(0x414)]:_0x28c350[_0x4bf472(0x3d8)]['y']);return{'left':_0x36dcdd,'right':_0x36dcdd+0x1,'top':_0x1f8df4,'bottom':_0x1f8df4+0x1};};}function _0xb347ce(_0x8dace1){const _0x21bde9=_0x217258;return typeof _0x8dace1==_0x21bde9(0x455)&&Number[_0x21bde9(0x213)](_0x8dace1);}function _0x43ec6b(_0x1c2c18){if(!_0x1c2c18||typeof _0x1c2c18!='object')return!0x0;let {startX:_0x29e753,endX:_0x19dcc4,startY:_0x5b3086,endY:_0x652ad8}=_0x1c2c18;return!_0xb347ce(_0x29e753)||!_0xb347ce(_0x19dcc4)||!_0xb347ce(_0x5b3086)||!_0xb347ce(_0x652ad8)||_0x19dcc4-_0x29e753>0x2&&_0x652ad8-_0x5b3086>0x2;}function _0x301b15(_0x387266){const _0x5b802b=_0x217258;return _0x387266[_0x5b802b(0x2a8)]<=_0x387266['left']||_0x387266['bottom']<=_0x387266[_0x5b802b(0x1e7)]?!0x1:typeof window>'u'||_0x387266['right']>0x0&&_0x387266[_0x5b802b(0x41b)]>0x0&&_0x387266[_0x5b802b(0x106)]<window[_0x5b802b(0x38f)]&&_0x387266[_0x5b802b(0x1e7)]<window['innerHeight'];}function _0x1c9b99(_0x121000){const _0x453ec7=_0x217258;var _0x5c868f;return _0x121000==null||(_0x5c868f=_0x121000[_0x453ec7(0x39b)])==null?void 0x0:_0x5c868f['call'](_0x121000);}function _0x344294(_0x2dddbe,_0x1987f8,_0x1beeb6){const _0xcfd4a=_0x217258;let _0x4fea86=_0x140f9e(_0x2dddbe),_0x1f126f=_0x1c9b99(_0x1987f8),_0x253ae4=_0x4fea86(),_0x29d567=new _0xbe6d29['BehaviorSubject'](_0x253ae4),_0x3a2d8c=new _0x28a938[(_0xcfd4a(0x2a7))](),_0x5ec98f=!0x1,_0x1b8d87=!0x1,_0xd87e13=_0x4b9853=>_0x43ec6b(_0x1f126f)&&_0x301b15(_0x4b9853),_0x4ea63a=()=>{_0x1b8d87||_0x5ec98f||(_0x1b8d87=!0x0,queueMicrotask(()=>{if(_0x1b8d87=!0x1,!_0x5ec98f){let _0x3555a6=_0x4fea86();if(!_0xd87e13(_0x3555a6)){_0x1beeb6();return;}_0x29d567['next'](_0x3555a6);}}));};return _0x1987f8&&_0x3a2d8c['add'](_0x1987f8['subscribe'](_0x4a0662=>{_0x1f126f=_0x4a0662,_0x4ea63a();})),typeof window<'u'&&_0x3a2d8c[_0xcfd4a(0x442)]((0x0,_0xbe6d29[_0xcfd4a(0x13c)])((0x0,_0xbe6d29[_0xcfd4a(0x3f1)])(window,'scroll',{'capture':!0x0}),(0x0,_0xbe6d29[_0xcfd4a(0x3f1)])(window,_0xcfd4a(0x377)))[_0xcfd4a(0x4c5)]((0x0,_0xbe6d29[_0xcfd4a(0x2fd)])(0x10))[_0xcfd4a(0x20b)](_0x4ea63a)),{'initialRect':_0x253ae4,'anchorRect$':_0x29d567['asObservable'](),'visible':_0xd87e13(_0x253ae4),'dispose':()=>{const _0x414a26=_0xcfd4a;_0x5ec98f=!0x0,_0x3a2d8c[_0x414a26(0x382)](),_0x29d567[_0x414a26(0x45e)]();}};}let _0x4d12ba=_0x217258(0x198),_0x5bbb5e=class extends _0x28a938[_0x217258(0x172)]{constructor(_0x5b445b,_0x3c1d50,_0x4c8e17,_0x51b0bf,_0x27ae1c,_0x37197e,_0x51bee3,_0x51ac6d,_0x340b57){const _0x50db6c=_0x217258;super(),this[_0x50db6c(0x136)]=_0x5b445b,this['_chartRenderService']=_0x3c1d50,this['_chartHostProvider']=_0x4c8e17,this[_0x50db6c(0x445)]=_0x51b0bf,this[_0x50db6c(0x256)]=_0x27ae1c,this[_0x50db6c(0x186)]=_0x37197e,this['_adapterRegistry']=_0x51bee3,this[_0x50db6c(0x2b2)]=_0x51ac6d,this['_injector']=_0x340b57,_0x5c5268(this,'_popupDisposable',null),_0x5c5268(this,'_popupChartId',null),_0x5c5268(this,'_popupSessionKey',null),this[_0x50db6c(0x4b9)](),this[_0x50db6c(0x1f7)]();}['dispose'](){const _0x37fbe5=_0x217258;this[_0x37fbe5(0x2f6)](),super[_0x37fbe5(0x382)]();}[_0x217258(0x4b9)](){const _0xc61ffc=_0x217258;let _0x3903c0=(0x0,_0x1b7174['createChartElementFloatMenuAdapter'])({'chartUIService':this[_0xc61ffc(0x186)],'getHostAdapter':_0x4539dd=>{const _0x8c0dd7=_0xc61ffc;let _0x415ae1=this[_0x8c0dd7(0x136)][_0x8c0dd7(0x26b)](_0x4539dd[_0x8c0dd7(0x22f)]);if(_0x415ae1&&_0x4539dd[_0x8c0dd7(0x26e)])return new _0x1b7174[(_0x8c0dd7(0x2b6))](_0x415ae1,new _0x173cb1[(_0x8c0dd7(0x1b4))]({'unitId':_0x4539dd[_0x8c0dd7(0x4e1)],'subUnitId':_0x4539dd[_0x8c0dd7(0x26e)],'chartId':_0x4539dd[_0x8c0dd7(0x22f)],'injector':this['_injector']}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x50c0b7=>{const _0x23457a=_0xc61ffc;let {unitId:_0x363101,subUnitId:_0x3de237,drawingId:_0xe759fd,chartId:_0x490844}=_0x50c0b7,_0x2d6ce1=(0x0,_0x1b7174[_0x23457a(0x24e)])(_0x50c0b7[_0x23457a(0x3c9)]);this[_0x23457a(0x2b2)][_0x23457a(0x1ab)](_0x190ef1['id'],{'unitId':_0x363101,'subUnitId':_0x3de237??'','drawingId':_0xe759fd??_0x490844,..._0x2d6ce1?{'route':_0x2d6ce1}:{}});}});this[_0xc61ffc(0x19f)](this[_0xc61ffc(0x10d)][_0xc61ffc(0x1eb)](_0x4d12ba,_0x3903c0));}[_0x217258(0x1f7)](){const _0x119168=_0x217258;this['disposeWithMe'](this[_0x119168(0x136)][_0x119168(0x37b)][_0x119168(0x20b)](_0x3b475a=>{const _0x31df3d=_0x119168;let _0xa8b12f=new _0x28a938[(_0x31df3d(0x2a7))]();_0xa8b12f[_0x31df3d(0x442)](this['_chartRenderService']['on'](_0x3b475a['id'],_0x31df3d(0x453),_0x43be41=>{const _0x519e0b=_0x31df3d;this[_0x519e0b(0x459)](_0x3b475a['id'],_0x43be41);})),_0xa8b12f[_0x31df3d(0x442)](this['_chartRenderService']['on'](_0x3b475a['id'],_0x31df3d(0x167),()=>{const _0x152424=_0x31df3d;this[_0x152424(0x339)](_0x3b475a['id']);})),_0x3b475a[_0x31df3d(0x435)](()=>{const _0x352d3a=_0x31df3d;_0xa8b12f[_0x352d3a(0x382)](),this[_0x352d3a(0x2e5)](_0x3b475a['id']);}),this[_0x31df3d(0x19f)](_0xa8b12f);})),this[_0x119168(0x19f)]((0x0,_0xbe6d29[_0x119168(0x397)])([this[_0x119168(0x136)][_0x119168(0x2aa)],this['_chartUIService']['chartEditorOpen$']])[_0x119168(0x20b)](([_0x528d55,_0x354732])=>{const _0x1401dd=_0x119168;(!_0x354732||this[_0x1401dd(0x46d)]&&(_0x528d55==null?void 0x0:_0x528d55['id'])!==this[_0x1401dd(0x46d)])&&this[_0x1401dd(0x2f6)]();})),this[_0x119168(0x19f)](this[_0x119168(0x256)][_0x119168(0x406)][_0x119168(0x20b)](({id:_0x9f69c4})=>{this['_clearSelectedTarget'](_0x9f69c4);})),this[_0x119168(0x19f)](this[_0x119168(0x256)][_0x119168(0x310)][_0x119168(0x20b)](({id:_0x3a9be2})=>{const _0x4c749a=_0x119168;this[_0x4c749a(0x2e5)](_0x3a9be2);})),this[_0x119168(0x19f)](this['_chartHostProvider'][_0x119168(0x205)][_0x119168(0x20b)](_0x1cdfe2=>{const _0x344de5=_0x119168;this[_0x344de5(0x2e5)](_0x1cdfe2);}));}[_0x217258(0x339)](_0x1b9a26){const _0x2d36e1=_0x217258;if(this[_0x2d36e1(0x186)][_0x2d36e1(0x34b)])return;let _0x2a6f94=this['_chartModelService'][_0x2d36e1(0x26b)](_0x1b9a26),_0x54f8d4=this[_0x2d36e1(0x256)]['getFloatDomInfo'](_0x1b9a26);_0x2a6f94&&_0x54f8d4&&this['_commandService']['executeCommand'](_0x190ef1['id'],{'unitId':_0x54f8d4[_0x2d36e1(0x4e1)],'subUnitId':_0x54f8d4[_0x2d36e1(0x26e)]??'','drawingId':_0x1b9a26});}[_0x217258(0x459)](_0x86798b,_0x4f20a0){const _0x34849b=_0x217258;if(!this['_chartUIService'][_0x34849b(0x334)](_0x86798b))return;let _0x3aeeec=this[_0x34849b(0x136)][_0x34849b(0x26b)](_0x86798b),_0x5bed13=_0x3aeeec?_0xa1eb05(_0x3aeeec,_0x4f20a0[_0x34849b(0x40b)]):void 0x0;if(!_0x5bed13){this[_0x34849b(0x186)][_0x34849b(0x471)](),this[_0x34849b(0x2f6)]();return;}let _0x42d00b=this[_0x34849b(0x256)][_0x34849b(0x476)](_0x86798b);if(!_0x3aeeec||!_0x42d00b){this[_0x34849b(0x186)][_0x34849b(0x471)](),this[_0x34849b(0x2f6)]();return;}let _0x684a2a=JSON[_0x34849b(0x295)]([_0x42d00b['unitId'],_0x42d00b[_0x34849b(0x26e)],_0x86798b,_0x5bed13[_0x34849b(0x3c9)]]);if(this[_0x34849b(0x1a8)]&&this[_0x34849b(0x33a)]===_0x684a2a||(this['_chartUIService'][_0x34849b(0x472)](_0x86798b,_0x5bed13['route']),this[_0x34849b(0x2f6)](),!_0x5bed13['showFloatMenu']))return;let _0x373388=_0x344294(_0x4f20a0,_0x42d00b[_0x34849b(0x478)],()=>this[_0x34849b(0x2fb)](_0x86798b));if(!_0x373388['visible']){_0x373388[_0x34849b(0x382)]();return;}let _0x4df1ca=this['_sheetCanvasPopManagerService'][_0x34849b(0x14f)](_0x373388[_0x34849b(0x49e)],_0x373388[_0x34849b(0x241)],{'componentKey':_0x1b7174[_0x34849b(0x41f)],'constrainToCanvas':!0x0,'direction':_0x34849b(0x2bf),'offset':[0x0,0x8],'extraProps':{'unitId':_0x42d00b[_0x34849b(0x4e1)],'subUnitId':_0x42d00b[_0x34849b(0x26e)],'chartId':_0x86798b,'drawingId':_0x86798b,'element':_0x4f20a0['hit'],'target':_0x5bed13['target'],'adapterKey':_0x4d12ba}},_0x42d00b[_0x34849b(0x4e1)],_0x42d00b[_0x34849b(0x26e)])??null;if(!_0x4df1ca){_0x373388[_0x34849b(0x382)]();return;}let _0x181d5a=new _0x28a938[(_0x34849b(0x2a7))]();_0x181d5a[_0x34849b(0x442)](_0x4df1ca),_0x181d5a[_0x34849b(0x442)](_0x373388),this[_0x34849b(0x1a8)]=_0x181d5a,this['_popupChartId']=_0x86798b,this['_popupSessionKey']=_0x684a2a;}[_0x217258(0x2f6)](){const _0xcfd6c2=_0x217258;var _0x49516a;(_0x49516a=this['_popupDisposable'])==null||_0x49516a['dispose'](),this['_popupDisposable']=null,this[_0xcfd6c2(0x46d)]=null,this[_0xcfd6c2(0x33a)]=null;}[_0x217258(0x2e5)](_0x5bbe19){const _0x2ee651=_0x217258;(this[_0x2ee651(0x186)][_0x2ee651(0x334)](_0x5bbe19)||this[_0x2ee651(0x46d)]===_0x5bbe19)&&(this[_0x2ee651(0x186)][_0x2ee651(0x471)](),this[_0x2ee651(0x46d)]===_0x5bbe19&&this[_0x2ee651(0x2f6)]());}['_clearHiddenSelectedTarget'](_0x2a296b){const _0x3dc365=_0x217258;this[_0x3dc365(0x2e5)](_0x2a296b),this['_chartUIService']['isElementEditModeActive'](_0x2a296b)&&(this[_0x3dc365(0x1ec)][_0x3dc365(0x304)](_0x2a296b,!0x1),this[_0x3dc365(0x1ec)][_0x3dc365(0x304)](_0x2a296b,!0x0));}};_0x5bbb5e=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938['Inject'])(_0x173cb1['ChartModelService'])),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x5564f6)),_0x2abdbf(0x2,_0x1de7de),_0x2abdbf(0x3,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x10595b['SheetCanvasPopManagerService'])),_0x2abdbf(0x4,(0x0,_0x28a938['Inject'])(_0x2fb4ab[_0x217258(0x3d2)])),_0x2abdbf(0x5,_0x453b7d),_0x2abdbf(0x6,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x1b7174['ChartElementFloatMenuAdapterRegistry'])),_0x2abdbf(0x7,_0x28a938[_0x217258(0x48d)]),_0x2abdbf(0x8,(0x0,_0x28a938['Inject'])(_0x28a938[_0x217258(0x353)]))],_0x5bbb5e);function _0x2b243e({ref:_0x573973,..._0x1055a5}){const _0x36ad43=_0x217258;let {preserveStrokeWidth:_0x4edf3d,icon:_0x253422,id:_0x3bae65,className:_0x556aef,extend:_0x4a2388,..._0xb0f131}=_0x1055a5,_0x218e7b=('univerjs-icon\x20univerjs-icon-'+_0x3bae65+'\x20'+(_0x556aef||''))[_0x36ad43(0x2d3)](),_0x98f663='_'+(0x0,_0x127ca7[_0x36ad43(0x2d1)])(),_0xf8fd68=(0x0,_0x127ca7[_0x36ad43(0x266)])(null);return(0x0,_0x127ca7[_0x36ad43(0x1ba)])(_0x573973,()=>_0xf8fd68[_0x36ad43(0x185)]),(0x0,_0x127ca7[_0x36ad43(0x4f6)])(()=>{const _0x1810be=_0x36ad43;if(_0x4edf3d&&_0xf8fd68[_0x1810be(0x185)]&&_0xf8fd68['current']['localName']===_0x253422[_0x1810be(0x47c)])return _0x2f1696(_0xf8fd68['current']);},[_0x4edf3d,_0x253422]),_0x3bc275(_0x253422,''+_0x3bae65,{'defIds':_0x253422[_0x36ad43(0x32f)],'idSuffix':_0x98f663},{'ref':_0xf8fd68,'className':_0x218e7b,..._0xb0f131},_0x4a2388);}function _0x3bc275(_0xdef0f,_0x536092,_0x9feaa1,_0x1b3766,_0x2ef335){const _0x197c1b=_0x217258;return(0x0,_0x127ca7[_0x197c1b(0x3d1)])(_0xdef0f[_0x197c1b(0x47c)],{'key':_0x536092,..._0x413f85(_0xdef0f,_0x9feaa1,_0x2ef335),..._0x1b3766},(_0x340dda(_0xdef0f,_0x9feaa1)['children']||[])['map']((_0x6bbec,_0x2983a4)=>_0x3bc275(_0x6bbec,_0x536092+'-'+_0xdef0f[_0x197c1b(0x47c)]+'-'+_0x2983a4,_0x9feaa1,void 0x0,_0x2ef335)));}function _0x413f85(_0x1cdb68,_0x1d7718,_0x2ed182){const _0xc84fc8=_0x217258;let _0x2a96c1={..._0x1cdb68[_0xc84fc8(0x125)]};_0x2ed182!=null&&_0x2ed182[_0xc84fc8(0x3d4)]&&_0x2a96c1['fill']===_0xc84fc8(0x3d4)&&(_0x2a96c1['fill']=_0x2ed182[_0xc84fc8(0x3d4)]),_0x2ed182!=null&&_0x2ed182[_0xc84fc8(0x3d4)]&&_0x2a96c1[_0xc84fc8(0x147)]===_0xc84fc8(0x3d4)&&(_0x2a96c1['stroke']=_0x2ed182[_0xc84fc8(0x3d4)]),_0x1cdb68['tag']===_0xc84fc8(0x394)&&_0x2a96c1['id']&&(_0x2a96c1['id']+=_0x1d7718[_0xc84fc8(0x135)]),Object[_0xc84fc8(0x296)](_0x2a96c1)[_0xc84fc8(0x432)](([_0x365a98,_0x1822cb])=>{const _0x291594=_0xc84fc8;_0x365a98==='mask'&&typeof _0x1822cb==_0x291594(0x1d4)&&(_0x2a96c1[_0x365a98]=_0x1822cb['replace'](/url\(#(.*)\)/,_0x291594(0x331)+_0x1d7718[_0x291594(0x135)]+')'));});let {defIds:_0x2584ad}=_0x1d7718;return!_0x2584ad||_0x2584ad[_0xc84fc8(0x503)]===0x0||(_0x1cdb68[_0xc84fc8(0x47c)]===_0xc84fc8(0x1ff)&&_0x2a96c1[_0xc84fc8(0x28c)]&&(_0x2a96c1[_0xc84fc8(0x28c)]+=_0x1d7718['idSuffix']),Object[_0xc84fc8(0x296)](_0x2a96c1)[_0xc84fc8(0x432)](([_0x23dcf0,_0x406cdf])=>{const _0x34b67e=_0xc84fc8;typeof _0x406cdf==_0x34b67e(0x1d4)&&(_0x2a96c1[_0x23dcf0]=_0x406cdf[_0x34b67e(0x492)](/url\(#(.*)\)/,_0x34b67e(0x331)+_0x1d7718[_0x34b67e(0x135)]+')'));})),_0x2a96c1;}function _0x340dda(_0x69c3ec,_0x4c7c9b){const _0x4ec44c=_0x217258;var _0x5195d8;let {defIds:_0x25a7ec}=_0x4c7c9b;return!_0x25a7ec||_0x25a7ec[_0x4ec44c(0x503)]===0x0?_0x69c3ec:_0x69c3ec[_0x4ec44c(0x47c)]===_0x4ec44c(0x384)&&(_0x5195d8=_0x69c3ec[_0x4ec44c(0x383)])!=null&&_0x5195d8[_0x4ec44c(0x503)]?{..._0x69c3ec,'children':_0x69c3ec[_0x4ec44c(0x383)]['map'](_0x4fa0aa=>typeof _0x4fa0aa[_0x4ec44c(0x125)]['id']==_0x4ec44c(0x1d4)&&_0x25a7ec&&_0x25a7ec[_0x4ec44c(0x188)](_0x4fa0aa['attrs']['id'])?{..._0x4fa0aa,'attrs':{..._0x4fa0aa['attrs'],'id':_0x4fa0aa[_0x4ec44c(0x125)]['id']+_0x4c7c9b[_0x4ec44c(0x135)]}}:_0x4fa0aa)}:_0x69c3ec;}function _0x2f1696(_0x1a290f){const _0xc98d48=_0x217258;let _0x42e986=_0x1a290f['viewBox'][_0xc98d48(0x3bf)],_0x401a0c=Math[_0xc98d48(0x19a)](_0x42e986[_0xc98d48(0x130)],_0x42e986[_0xc98d48(0x390)]);if(!Number[_0xc98d48(0x213)](_0x401a0c)||_0x401a0c<=0x0||_0x42e986[_0xc98d48(0x130)]<=0x0||_0x42e986[_0xc98d48(0x390)]<=0x0)return()=>void 0x0;let _0x17b448=0x10/_0x401a0c,_0x1812a2=Array[_0xc98d48(0x21e)](_0x1a290f[_0xc98d48(0x39a)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))['flatMap'](_0x5c07e5=>{const _0x5449c6=_0xc98d48;let _0x49e595=getComputedStyle(_0x5c07e5),_0x35b7cb=Number['parseFloat'](_0x49e595[_0x5449c6(0x39e)]);return _0x49e595[_0x5449c6(0x147)]==='none'||Number['parseFloat'](_0x49e595[_0x5449c6(0x25f)])===0x0||_0x49e595['vectorEffect']===_0x5449c6(0x389)||!Number['isFinite'](_0x35b7cb)||_0x35b7cb<=0x0?[]:[{'element':_0x5c07e5,'hadStyleAttribute':_0x5c07e5[_0x5449c6(0x1ad)](_0x5449c6(0x1df)),'originalStrokeWidth':_0x35b7cb,'strokeWidth':_0x3f10fe(_0x5c07e5[_0x5449c6(0x1df)],_0x5449c6(0x249))}];})[_0xc98d48(0x4cd)](_0x476bc5=>({'appliedStrokeWidth':null,'element':_0x476bc5[_0xc98d48(0x45f)],'hadStyleAttribute':_0x476bc5['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x476bc5[_0xc98d48(0x2a6)],'strokeWidth':_0x476bc5[_0xc98d48(0x39e)]}));if(_0x1812a2[_0xc98d48(0x503)]===0x0)return()=>void 0x0;let _0x5a304f=(_0x29301e,_0x4b5000)=>{const _0x4bf622=_0xc98d48;if(_0x42e986[_0x4bf622(0x130)]<=0x0||_0x42e986[_0x4bf622(0x390)]<=0x0||_0x29301e<=0x0||_0x4b5000<=0x0)return;let _0x206153=Math[_0x4bf622(0x35f)](_0x29301e/_0x42e986[_0x4bf622(0x130)],_0x4b5000/_0x42e986['height']);!Number[_0x4bf622(0x213)](_0x206153)||_0x206153<=0x0||_0x1812a2[_0x4bf622(0x432)](_0x3a5864=>{const _0x169170=_0x4bf622;if(_0x3a5864[_0x169170(0x25b)])return;if(_0x3a5864[_0x169170(0x231)]!==null&&(_0x3a5864['element'][_0x169170(0x1df)][_0x169170(0x316)](_0x169170(0x249))!==_0x3a5864['appliedStrokeWidth']||_0x3a5864[_0x169170(0x45f)][_0x169170(0x1df)][_0x169170(0x38b)](_0x169170(0x249))!==_0x3a5864['strokeWidth'][_0x169170(0x11b)])){_0x3a5864[_0x169170(0x231)]=null,_0x3a5864[_0x169170(0x25b)]=!0x0;return;}let _0x113c44=_0x3a5864[_0x169170(0x2a6)]*_0x17b448/_0x206153,_0x4b6e6e=Number(_0x113c44[_0x169170(0x1b1)](0xc))+'px';_0x3a5864['element'][_0x169170(0x1df)]['setProperty'](_0x169170(0x249),_0x4b6e6e,_0x3a5864[_0x169170(0x39e)][_0x169170(0x11b)]),_0x3a5864[_0x169170(0x231)]=_0x4b6e6e;});},_0x473812=_0x1a290f[_0xc98d48(0x1f0)]();_0x5a304f(_0x473812[_0xc98d48(0x130)],_0x473812[_0xc98d48(0x390)]);let _0x4f7074=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x5c1cef=>{const _0x598beb=_0xc98d48;if(_0x5c1cef[_0x598beb(0x2bb)](_0x26d330=>_0x26d330[_0x598beb(0x3c9)]===_0x1a290f)){let _0x5191d4=_0x1a290f[_0x598beb(0x1f0)]();_0x5a304f(_0x5191d4[_0x598beb(0x130)],_0x5191d4[_0x598beb(0x390)]);}});return _0x4f7074==null||_0x4f7074['observe'](_0x1a290f),()=>{const _0x2f0575=_0xc98d48;_0x4f7074==null||_0x4f7074[_0x2f0575(0x43d)](),_0x1812a2[_0x2f0575(0x432)](_0x50225b=>{const _0x28aa53=_0x2f0575;_0x50225b[_0x28aa53(0x231)]!==null&&(_0x13c0bd(_0x50225b[_0x28aa53(0x45f)][_0x28aa53(0x1df)],_0x28aa53(0x249),_0x50225b[_0x28aa53(0x231)],_0x50225b['strokeWidth'][_0x28aa53(0x11b)],_0x50225b[_0x28aa53(0x39e)]),!_0x50225b[_0x28aa53(0x1d3)]&&_0x50225b[_0x28aa53(0x45f)][_0x28aa53(0x1df)][_0x28aa53(0x503)]===0x0&&_0x50225b['element']['removeAttribute'](_0x28aa53(0x1df)));});};}function _0x3f10fe(_0x14616c,_0x3d9e16){return{'priority':_0x14616c['getPropertyPriority'](_0x3d9e16),'value':_0x14616c['getPropertyValue'](_0x3d9e16)};}function _0x13c0bd(_0x10f599,_0x46dbc5,_0x477b47,_0x5abbb9,_0x45fb35){const _0x5768da=_0x217258;_0x10f599[_0x5768da(0x316)](_0x46dbc5)===_0x477b47&&_0x10f599['getPropertyPriority'](_0x46dbc5)===_0x5abbb9&&(_0x45fb35['value']?_0x10f599[_0x5768da(0x372)](_0x46dbc5,_0x45fb35[_0x5768da(0x1e9)],_0x45fb35['priority']):_0x10f599[_0x5768da(0x253)](_0x46dbc5));}_0x2b243e['displayName']=_0x217258(0x4d9);let _0x3f0528={'tag':_0x217258(0x27b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x217258(0x155),'width':_0x217258(0x170),'height':_0x217258(0x170)},'children':[{'tag':_0x217258(0x2a3),'attrs':{'fill':_0x217258(0x284),'d':_0x217258(0x26c)}}]},_0x4b0fd1=(0x0,_0x127ca7[_0x217258(0x2ed)])(function(_0x2424eb,_0x416e5f){const _0x19457d=_0x217258;return(0x0,_0x127ca7['createElement'])(_0x2b243e,Object[_0x19457d(0x144)]({},_0x2424eb,{'id':'pen-icon','ref':_0x416e5f,'icon':_0x3f0528}));});_0x4b0fd1['displayName']=_0x217258(0x3e8);let _0x4b57bf=class extends _0x28a938['Disposable']{constructor(_0x352c28,_0x199c1a){const _0xf015f8=_0x217258;super(),this['_componentManager']=_0x352c28,this[_0xf015f8(0x2cb)]=_0x199c1a,this[_0xf015f8(0x412)](),this[_0xf015f8(0x3dc)]();}[_0x217258(0x412)](){const _0x80d9f0=_0x217258;this[_0x80d9f0(0x19f)](this['_iconManager'][_0x80d9f0(0x1eb)]({'PenIcon':_0x4b0fd1}));}[_0x217258(0x3dc)](){const _0x5cf5b2=_0x217258;[[_0x3ae32e,_0x5388e6]][_0x5cf5b2(0x432)](([_0x3a9fb3,_0x53b6d9])=>{const _0x1b7c7e=_0x5cf5b2;this[_0x1b7c7e(0x19f)](this[_0x1b7c7e(0x4da)][_0x1b7c7e(0x1eb)](_0x3a9fb3,_0x53b6d9));});}};_0x4b57bf=_0x17871f([_0x2abdbf(0x0,(0x0,_0x28a938['Inject'])(_0x545d4c[_0x217258(0x4d0)])),_0x2abdbf(0x1,(0x0,_0x28a938[_0x217258(0x2e9)])(_0x545d4c[_0x217258(0x3c8)]))],_0x4b57bf);let _0x4b5856=class extends _0x28a938[_0x217258(0x44d)]{constructor(_0x2f0d55=_0x567ce1,_0xabafd1,_0x287622,_0x5a9379){const _0x784f49=_0x217258;super(),this['_config']=_0x2f0d55,this[_0x784f49(0x491)]=_0xabafd1,this[_0x784f49(0x16f)]=_0x287622,this[_0x784f49(0x2b2)]=_0x5a9379,_0x5c5268(this,_0x784f49(0x24c),void 0x0);let {..._0x34a093}=(0x0,_0x28a938[_0x784f49(0x13c)])({},_0x567ce1,this[_0x784f49(0x31e)]);this[_0x784f49(0x24c)]=_0x34a093,this[_0x784f49(0x16f)][_0x784f49(0x264)](_0x126a5d,_0x34a093),this['_initCommands']();}[_0x217258(0x23e)](){const _0x2ed871=_0x217258;this[_0x2ed871(0x491)][_0x2ed871(0x442)]([_0x4b57bf]),this[_0x2ed871(0x491)][_0x2ed871(0x439)](_0x4b57bf);let _0x3a0167=this['_injector'],_0x35c675=[[_0x453b7d,{'useClass':_0x46522a}],[_0x1de7de,{'useClass':_0x46d260}],[_0x3424d1],[_0x5564f6],[_0xc82d73],[_0xaac83d],[_0x4cb6ef],[_0x772501],[_0x43443c],[_0x1442d0],[_0x23033f]],_0x32878f=[[_0xaac83d],[_0x772501],[_0x4cb6ef],[_0xc82d73],[_0x453b7d],[_0x43443c],[_0x1442d0],[_0x23033f]];this[_0x2ed871(0x24c)][_0x2ed871(0x1ef)]&&(_0x35c675[_0x2ed871(0x227)]([_0x5bbb5e]),_0x32878f[_0x2ed871(0x227)]([_0x5bbb5e])),_0x35c675[_0x2ed871(0x432)](_0x25dd79=>_0x3a0167[_0x2ed871(0x442)](_0x25dd79)),(0x0,_0x28a938[_0x2ed871(0x2e0)])(this['_injector'],_0x32878f);}[_0x217258(0x365)](){const _0x4a558d=_0x217258;var _0x3de10a;(_0x3de10a=this['_injector']['get'](_0xaac83d))==null||_0x3de10a[_0x4a558d(0x3f2)]();}['_initCommands'](){const _0x5b4d82=_0x217258;[_0x3bf4a1,_0xc3e3ce,_0x4960d8,_0x5dddb1,_0x31c620,_0x190ef1,_0x4ca062][_0x5b4d82(0x432)](_0x498280=>this['disposeWithMe'](this[_0x5b4d82(0x2b2)][_0x5b4d82(0x4bd)](_0x498280)));}};_0x5c5268(_0x4b5856,_0x217258(0x4e2),_0x28a938[_0x217258(0x270)]['UNIVER_SHEET']),_0x5c5268(_0x4b5856,_0x217258(0x161),_0x217258(0x4ae)),_0x5c5268(_0x4b5856,_0x217258(0x4b2),_0x3900d9),_0x5c5268(_0x4b5856,_0x217258(0x482),_0x2bd78a),_0x4b5856=_0x17871f([(0x0,_0x28a938['DependentOn'])(_0x358ad4[_0x217258(0x4fa)],_0x58f777['UniverDrawingPlugin'],_0x18e11[_0x217258(0x403)],_0x4274f9[_0x217258(0x417)],_0x466b35[_0x217258(0x311)],_0x1b7174[_0x217258(0x132)],_0x173cb1[_0x217258(0x4b4)],_0x2fb4ab[_0x217258(0x285)],_0x10595b[_0x217258(0x3ad)]),_0x2abdbf(0x1,(0x0,_0x28a938['Inject'])(_0x28a938[_0x217258(0x353)])),_0x2abdbf(0x2,_0x28a938[_0x217258(0x134)]),_0x2abdbf(0x3,_0x28a938['ICommandService'])],_0x4b5856),_0x72609a['ChartOpenPanelOperation']=_0x190ef1,Object[_0x217258(0x4a7)](_0x72609a,_0x217258(0x4c2),{'enumerable':!0x0,'get':function(){return _0x5564f6;}}),_0x72609a['ISheetsChartUIService']=_0x453b7d,_0x72609a[_0x217258(0x300)]=_0x126a5d,Object[_0x217258(0x4a7)](_0x72609a,_0x217258(0x218),{'enumerable':!0x0,'get':function(){return _0xaac83d;}}),_0x72609a[_0x217258(0x4e0)]=_0x174481,Object['defineProperty'](_0x72609a,_0x217258(0x1bd),{'enumerable':!0x0,'get':function(){return _0x46522a;}}),Object[_0x217258(0x4a7)](_0x72609a,_0x217258(0x1b6),{'enumerable':!0x0,'get':function(){return _0x1ace4f;}}),Object[_0x217258(0x4a7)](_0x72609a,_0x217258(0x4ae),{'enumerable':!0x0,'get':function(){return _0x4b5856;}}),_0x72609a[_0x217258(0x29b)]=_0x344294;}));
|
|
1
|
+
function _0x4020(_0x195abb,_0x1e3d83){_0x195abb=_0x195abb-0x177;const _0xc90910=_0xc909();let _0x40207c=_0xc90910[_0x195abb];return _0x40207c;}function _0xc909(){const _0x3b951b=['depthAxis','exportImg','chartModelAdded$','LineAndArea','IChartRenderModelManagerService','_activateEditPanelState','DRAWING_CHART','CHART_HOST_BORDER_RADIUS','_onChange','transformer','SheetsSelectionsService','featurePluginOrderUpdate$','_requestPaint','getOwnPropertyDescriptor','_focusedDrawings','_univerInstanceService','_urlImage','IUniverInstanceService','UniverDrawingPlugin','IndicatorLine','CHART_DATA_UPDATE_ANIMATION_DURATION','_pendingToken','buildChartTypeSelectOptions','arc','position$','OPERATION','MobileChartEditorProvider','RemoveSheetCommand','sheet.command.chart.export-focused-image','isLatest','_getOuterRect','activeChartModel$','_init','ChartSectionAccordion','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','3PngfbD','_activateHostWrapper','_sidebarDisposable','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart-ui.section.treemap','CommandType','Boxplot','matchToken','pointerId','MEDIA','@univerjs-pro/engine-chart','pairwise','ChartImageExportFormat','getFocusDrawings','_dataUpdateAnimationDuration','getRenderColor','forEach','_sheetsChartUIService','_initActiveRuntimeLayerListener','Checkbox','Radar','sheets-chart-ui.chartTypes.line','ChartEditPanelTab','hadStyleAttribute','lineTo','sheets-chart-ui.common.deleteChart','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','removeAttribute','_chartHostProvider','type','_canvasFloatDomService','min','ICommandService','split','getElementById','_initCommands','_restoreHostWrapper','isArray','makeDirty','SheetPermissionCheckController','_iconManager','multiply','colorChannel1','DRAWING_OBJECT_LAYER_INDEX','mobile-sheet-chart-setup-panel','close','_chartModelService','_chartEventHandlers','getPropertyPriority','_panelInitialized','then','keys','ParetoBarSeries','_resolveLayout','rangeSelectMode','_chartThemeService','_markNotReady','_prepareDataUpdateRender','ContextMenuPosition','viewBound','promise','_bindChartEventHandler','getRect','number','matchMedia','PenIcon','RemoveSheetDrawingCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','defaultValues','getAllowedChartTypes','DEFAULT_CHART_PARETO_VALUES','chartType','titleKey','combineLatest','naturalHeight','_registerIcons','path','dataSource','syncLayout','sidebarOptions$','domLayers','getContextValue','renderChartsForPrinting','subscribe','segmented','_sheetInterceptorService','sheet-chart-setup-panel','_version','ChartLegendSection','getUnitId','_initMenus','prototype','evented','DownloadImageIcon','max','_applyHostStyle','sheets-chart-ui.section.wordCloud','getMatrix','map','iterator','Series','sheets-chart-ui.common.switchRowColumn','next','_resetChartRuntimeZIndex','scheduler','COPY_TYPE','SheetDrawingHitTestService','getBatchRemoveOp','sheets-chart-ui.common.trendline','items','getFocusedUnit','_disposeChartDomInstance','useState','DEFAULT_CHART_SERIES_VALUES','deriveStateFromActiveSheet$','clientWidth','remove','sheets-chart-ui.common.editChart','url','scroll','Subtotal','priority','_canAnimateDataUpdate','dataUrl','.png','context','Dom','28494gAMBFd','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','UniverRenderEnginePlugin','defineProperty','Inject','_pending','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_rect','attachPopupToDynamicAbsolutePosition','openChartPanelById','ChartEditorTabs','setChartEditorOpen','getCanvasElement','_chartRenderMode','_getOrCreateChartRenderInstance','removeEventListener','Image','Treemap','getActiveSheet','sheets-chart-ui.common.horizontalAxis','@univerjs/sheets','_isOwnedChart','blockExecuteWithoutPermission','_gesture','style','remove$','series','_config','setImage','strokeWidth','ChartTitlesSection','isReleased','sheets-chart-ui.common.useAsCategoryLabels','Canvas','_requestChartCanvasRender','attachRangeWithCoord','tab','IconManager','Gauge','setDataRange','context$','_registerAdapter','addObject','Relation','DependentOn','ChartStyle','labelId','sheets-chart-ui.common.category','_createPrintingChartObject','_rerenderLatest','UniverDesign','ISidebarService','InsertSheetsChartMutation','_generatePasteMutations','debounceTime','dataSource$','deserializeRangeWithSheet','getParent','entries','_readGeometry','save','OVERRIDE_NATIVE','_popupChartId','afterRender$','_isChartElementEditEnabled','sheets-chart-ui.section.relation','Fragment','sheets-chart-ui.chartTypes.','decorate','useDependency','string','getRenderModel','isConnected','onPointerUp','SheetsChartService','flatMap','transparent','@univerjs/drawing','DrawingTypeEnum','logicalOuterRect','_snapshotKey','function','rightY','innerHeight','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.copy','resourceCollector','createElement','UniverInstanceType','UniverLicensePlugin','_pointerEvents','renderTransition','isHit','UniverDrawingUi','debounce','getChartDataSource','DisposableCollection','_activeChartId','sheet.chart.edit.panel','RENDER_CLASS_TYPE','clear','sheet.command.chart.copy-focused-chart','_lastRenderInputMap','ChartHostAdapter','getValue','getChartModel','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','Observable','_markReady','sheets-chart-ui.section.histogram','_keepChartCapture','_pendingHost','showFloatMenu','@univerjs-pro/sheets-chart-ui','sheets-chart.ui.service','SetDrawingApplyMutation','exportImage','6776jEtvJU','add','attrs','getInterceptPoints','getDrawingShapeKeyByDrawingSearch','_requestedUrl','featurePluginGroupUpdate$','setContextValue','IMenuManagerService','1em','matches','scaleY','take','sheets-chart-ui.common.chartStyle','target','transformChange$','innerWidth','image','click','_drawChartImage','ChartSetupPanel','config$','rangeInfo','inactive-sheet','_pendingUrlImage','sheets-chart-ui.common.chart','category','_getChartRenderObjectContext','assign','amd','getMenuHiddenObservable','@univerjs/engine-render','_openEditPanelByDoubleClick','References','includes','updateFloatDom','clearPanelRoute','ChartDomFrame','_cancelGesture','useRef','_executeChartUpdateSourceConfig','ChartWaterfallStyleSection','insertGroupObject','_getHostPlacement','DeleteIcon','PRINTING_COMPONENT_COLLECT','href','Url','Candlestick','ISheetDrawingService','removeHost','getTransformerByCreate','Funnel','subscribeEvent','getCurrentTypeOfUnit$','stroke-width','hasPointerCapture','CHART_TYPE_CATALOG','throttleTime','ChartAndAxisTitles','objects','current','DEFAULT_CHART_INDICATOR_LINE_VALUES','toFixed','resolveChartCreationIntent','_chartHostMap','sheets-chart-ui.common.chartAndAxisTitles','mountNode','_handleDrawingDoubleClick','idSuffix','render','clearImage','removeProperty','UniverProSheetsChart','univer-overflow-visible','ensureMount','sheets-chart-ui.section.gridlinesAndTicks','ChartSectionAccordionTrigger','_restoreFloatDomPositionStream','DEFAULT_CHART_TITLE_VALUES','_openPanel','removeHost$','KeyCode','COMMA','MenuItemType','ChartThreeDSection','addEventListener','getFloatDomInfo','_panelRoute$','heatmap','setConfig','getDirection','Disposable','useObservable','ChartEditorCapability','color','add$','getName','SHEETS_CHART_PLUGIN_NAME','InsertChartCommand','@univerjs/drawing-ui','hit','activeChartModel','parentElement','registerFeatureMenu','chartEditorOpen','ThemeService','sheetChartDataAnimation','ChartIcon','finally','markHostNotReady','chartBitsUtils','syncHostLayout','globalAlpha','Row','getSkeleton','isInGroup','pointerEvents','getUnit','_disposeChartEventSubscription','#-#','options','setObjectType','-univer-mx-4','RightVerticalAxis','_themeService','sheets-chart-ui.section.gauge','ensureHandle','SheetInterceptorService','ChartRenderMode','WordCloud','find','DrawingApplyType','merge','value','panelRoute$','pluginName','_setHostStyle','_deactivateEditPanelState','ChartRelationStyleSection','unitId','_applyActiveChartRuntimeZIndex','children','ContextMenuGroup','BehaviorSubject','focused$','defIds','getRuntimeContext','React','UniverSheetsChartUIPlugin','hasAttribute','getChartPopupMenus','scaleX','BUTTON','_entries','FOCUSING_PANEL_EDITOR','ChartSeriesSection','_domFrame','generateRandomId','width','switchMap','download','DEFAULT_CHART_PIE_VALUES','assignStyle','endsWith','interceptor','_popupDisposable','_resolveChartRenderMode','handleActiveSubUnitChange','section','sheets-chart-ui.common.insertChart','_pendingDataUpdateChartIds','Line','_localeService','invalidateSnapshot','CopySheetCommand','div','chartTypeCanUseTrendLine','markNotReady','drawingType','releasePointerCapture','toPrimitive','isValidRange','height','_rangeSelectMode','copyType','UNIVER_SHEET','Waterfall','setProps','pointercancel','resolveChartStyleBackgroundColor','_registerComponents','getSubUnitId','delete','_chartChangeSubscriptions','drawImage','IConfigService','_savedWrapperStyle','SheetsChartUIMenuSchema','anonymous','top','getPropertyValue','transformToDrawingPosition','ChartHeatmapStyleSection','getSheetId','_sheetDrawingService','UniverChartUIPlugin','sheets-chart-ui.section.chord','ChartImageExportService','_activeDomReadyChartIds','addClipboardHook','_frameStyle','defer','CUT','dom','plotVisibleOnly','ChartRadarStyleSection','(prefers-reduced-motion:\x20reduce)','isRowDirection','indicatorLine','setPanelRoute','NativeTextEditorShortcutBehavior','baseVal','error','getSheetBySheetName','toStringTag','all','ChartParetoSeriesSection','source','abs','distinctUntilChanged','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','Trendline','_initActiveChartModelListener','3xGtUxb','clip','.chart-host','_notifyChartRemoved','LocaleService','ChartFrameContentMode','sheets-chart-ui.waterfall.subtotal','missing-float-dom','_callback','cancelPending','supports','true','_bindChartEventHandlers','_closePopup','sheets-chart-ui.common.series','onDispose','IDrawingManagerService','sheets-chart-ui.section.pie','CHART','1000','clearChart','_initDrawingDeactivationListener','format','nextVersion','axis','7764RlaYhO','createChartInstance','style$','545dTuRrr','domId','useCallback','_scheduleDataUpdateAnimationEnd','UniverSheetsUi','cancel','SheetCopyCommand','strokeOpacity','Injector','waterfallStyle','Sunburst','Chord','sheets-chart-ui.common.rightVerticalAxis','PREDEFINED_HOOK_NAME','DEFAULT_CHART_WATERFALL_STYLE_VALUES','sheets-chart-ui.common.dataRange','sheets-chart-ui.chartTypes.area','-univer-mx-4\x20univer-overflow-visible','indexOf','_scheduler','sheets-chart-ui.common.verticalAxis','WorksheetEditPermission','ObjectType','titles','xlink:href','zIndex','range','naturalWidth','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','COMMAND','displayName','_snapshotStore','chartEditorOpen$','opacity','REMOVE','ImageBitmap','restore','@univerjs/sheets-drawing','RTLChartStyle','_clearPendingUrlImage','darkMode$','_renderService','EChartRenderEngineName','OTHERS','element','direction$','_menuManagerService','_alignFloatDomPositionWithSceneRender','with','complete','Style','_removeHost$','pieSecondaryPlotType','disconnect','getSheetBySheetId','enableChartElementFloatMenu','_renderChartModel','sheets-chart-ui.common.showHiddenData','_renderWhenConfigReady','copyId','Subject','getConfig','_resizeChart','getCurrentRangeDisable$','ChartEditBlockTitle','sheetChartDataAnimationDuration','initPanel','UniverSheetsPlugin','SheetCanvasFloatDomManagerService','length','nativeEvent','RibbonInsertGroup','Bubble','ENTER','_shouldEnableChartElementEdit','call','dblclick','_sheetsChartService','ChartIndicatorLineSection','_createChartRenderInstanceContext','Heatmap','request','absolute','rightYAxis','querySelectorAll','@univerjs/sheets-drawing-ui','RemoveSheetsChartMutation','SheetsChartUIController','getBatchAddOp','checkMounted','transform','getDrawingOrder','visibilityState','Pie','chartTypeSupportsLineAndAreaStyle','onerror','replace','useImperativeHandle','originalStrokeWidth','resolveChartElementSelection','emitChartEvent','sheet-chart-style-panel','@univerjs/ui','_applyHostInteractionState','_generateCutPasteMutations','UniverSheetsDrawingUi','_getSceneAndTransformerByDrawingSearch','sheets-chart-ui.section.sunburst','verify','_getFloatDomInfo','flush','_waiter','Legend','ChartNumberFormatAtom','sheets-chart-ui.chord.target','CHART_ELEMENT_FLOAT_MENU_COMPONENT','_chartEventSubscriptions','getDrawingData','legend','forwardRef','register','_managed','getBoundingClientRect','sheets-chart-ui.permission.editErr','ChartThemeService','_debounceHandleMap','_sheetPrintInterceptorService','_renderModelManager','VerticalAxis','_shouldSuppressRender','_sheetDrawingHitTestService','_bindPointerEvents','concat','executeCommand','_disposeChartEventSubscriptions','GridlinesAndTicks','524493XZREFy','hidePanel','ChartTypeBits','1167509HqHBPb','groupId','ImageChartHost','numberToABC','UniverSheetsMobileUIPlugin','none','drawingId','_listenChartUpdateMutations','non-scaling-stroke','print','DEFAULT_CHART_LINE_AND_AREA_VALUES','ancestorTransform','_clearPanelState','push','sourceSubUnitId','sheets-chart-ui.section.waterfall','mobile-sheet-chart-style-panel','sheetTransform','ChartSourceHeaderTitleType','mask','WorkbookEditablePermission','_contextService','object','serializeRangeWithSheet','UniverSheetsDrawingMobileUIPlugin','lineAndArea','updateFloatDomProps','UniverProSheetsChartUi','focusDrawing','requestPaint','_chartRenderService','_drawingManagerService','allSettled','onPointerDown','ensureHost','_isProviderDisposed','useEffect','removeChartModel','disposeWithMe','skip','getSheetCommandTarget','sheets-chart-ui.waterfall.negative','from','_getChartRenderSkipReason','visible','auto','@univerjs-pro/chart-ui','_chartEditorOpen$','startWith','_loadUrlImage','bottom','invert','ComponentManager','filter','onRendered','_chartHostProviderService','offsetHeight','baseOn','executeChartUpdateConfig','_cancelDebouncedCallbacks','touchDependencies','getDrawingByParam','getRenderUnitById','getRangeInfo','animateDataUpdate','_deactivateDataUpdateAnimation','onPointerMove','ChartUIService','jsxs','_chartSnapshotStoreService','_disposeChartRenderInstance','UniverUi','_hostStyle','_running','_draw','some','undo','border','react/jsx-runtime','_disposeImage','sheets-chart-ui.section.funnel','bounds','_commandService','parseFloat','_addWatermark','FOCUSING_COMMON_DRAWINGS','closePath','small','_createHost','_cancelHostWait','_sheetClipboardService','_notifySheetChartsDetached','Bar','createRuntimeChartStyle','engine','toDisposable','right','_disposeChartChangeListeners','fromEntries','setOrientation','80fxsTex','label','_disposed','ChartStyleSection','ChartRenderService','_updateTransform','Pareto','ChartAxisSection','setPointerCapture','DEFAULT_CHART_FUNNEL_VALUES','chartTypeSupportsCapability','values','imageBitmap','getObject','rangeInfo$','resolve','_getOrCreateSheetChartHost','endY','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','moveX','_clearSelectedTarget','ChartSectionAccordionItem','radar','chartModelId','Fail\x20to\x20create\x20float\x20dom','getImage','sheets-chart-ui.section.paretoBar','header','canvas','ChartEditPanelSection','chartObject','dataset','Combination','_getDrawable','relation','asObservable','top-center','onStarting','2507396iStyoe','_chartElementEditMode','SHEET_CHART_RENDER_OBJECT_CONFIG','update','sheets-chart-ui.common.customize','radius','UniverDrawing','get','barStyle','Column','SheetCanvasPopManagerService','constructor','_clearHiddenSelectedTarget','getCurrentUnitOfType','INSERT','defs','_subscribeChartEvents','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','_chartUIService','localPoint','getChartSourceSpec','_dataUpdateAnimationChartIds','useId','Overlay','_createCopyInfoByRange','serialize','route','sheetDisposed$','classType','UniverIcon','focus$','@univerjs/sheets-ui','_initCopyPaste','getHostSize','initialRect','set','_resolvedConfig','_sheetSkeletonService','IContextService','_getPlacement','mode','DRAWING','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Transform','anchorRect$','DEFAULT_PASTE','_setChartRuntimeZIndex','sheets-chart-ui.common.exportImage','ChartWordCloudStyleSection','getCurrentLastSelection','Reference','checkChartCanRender','Scatter','UniverMobileUIPlugin','_original','sheets-chart-ui.config','isManaged','_chartInstanceMap','moveTo','isElementEditModeActive','version','Button','univer-my-1\x20univer-text-xs\x20univer-text-red-500','offsetWidth','ChartFrameLayout','GROUP','ChartModelService','trim','HorizontalAxis','ChartUpdateConfigMutation','SVG','seriesId','contains','_initPrinting','missing-active-sheet','univer-flex\x20univer-flex-col\x20univer-gap-3','onload','featurePluginUngroupUpdate$','_image','_popupSessionKey','UniverProLicense','SheetSkeletonManagerService','_injector','name','sheetId','clientHeight','3197592yuJSqx','useChartEditorChartType','scene','SheetChartConfigAdapter','registerRenderObjectFactory','_copyInfo','open','clientX','tag','61434DzudEg','DEFAULT_CHART_AXIS_VALUES','_debounceHandle','createIdentifier','ChartUpdateConfigCommand','permissionCheckWithoutRange','resolveChartEditPanelRoute','symbol','onCommandExecuted','setActiveChartModel','url(#$1','startY','preventDefault','commitSnapshot','getOrCreateDrawingCopyPlan','ChartViewStateRegistry','1.4.0','applyPoint','_componentManager','Rect','data$','ChartImageSourceType','_getCurrentSnapshotImage','_pendingMutationConfigRenders','has','_getChartSnapshotKey','@univerjs-pro/license','useMemo','_markHostReady','ChartUpdateSourceCommand','CopyDoubleIcon','PieSecondaryPlotType','toInsertChartMutationSource','_getChartRenderObject','onTransformChange$','_drawChartFrame','UPDATE','cumulativeLineStyle','fromEvent','react','DEFAULT_CHART_TRENDLINE_VALUES','_getImage','allSeriesStyle','_suppressClick','DEFAULT_CHART_STYLE_VALUES','_sheetCanvasPopManagerService','UniverSheetsDrawingPlugin','Data','ChartTypeSpecificStyleSection','lostpointercapture','_configService','stroke','startX','_geometry','setStyle','_lastActiveSheet','appliedStrokeWidth','pipe','GeneralSeries','drawingIds','Area','startColumn','dispose','chartId','setProperty','http://www.w3.org/2000/svg','univer-shrink-0','offsetLeft','getObjectIncludeInGroup','changing$','checkHost','_renderAfterChartUpdateMutation','_bindChartPointerEvents','sheets-chart-ui.common.openChartPanel','left','ChartSectionAccordionContent','funnel','setElementEditMode','translate','_adapterRegistry','changeEnd$','sheets-chart-ui.host.provider','_releaseGesture','detach','rect','jsx','_createImageChartHost','UniverSheetsChartPlugin','setHostStyle','withLatestFrom','ChartOpenPanelOperation','pen-icon','interceptCommand','resolveChartRuntimeStyle','sheets-chart-ui.waterfall.positive','sheet.operation.open-chart-panel','_openFloatMenu','combineLatestWith','use','config','_sidebarService','event','getChartSnapshotImage','_generateCopyPasteMutations','createChartElementFloatMenuAdapter','DEFAULT_CHART_HEATMAP_VALUES','wordCloud','getHostClientRect','_renderDebounceMap','_frame','UniverSheetsChartMobileUIPlugin','hasOwnProperty','_sheetPermissionCheckController','offsetTop','subUnitId','_registerChartImageRenderObjectFactory','startRow','_dataUpdateAnimationTimers','_initPermission','Axes','registerCommand','fill','svg','DataOrientation','ChartEditorProvider','onDoubleClick$','SHEETS_CHART_PLUGIN_CONFIG_KEY','redo','packageName','create','sheets-chart-ui.common.hideChartPanel','_renderManagerService','setDataUpdateAnimation','img','_initSheetChange','Plugin','select','idMap','parent','_url','@univerjs/core','IRenderManagerService','params'];_0xc909=function(){return _0x3b951b;};return _0xc909();}(function(_0x3cdbbb,_0x3dddee){const _0x23e61a=_0x4020,_0x160daa=_0x3cdbbb();while(!![]){try{const _0x12095f=-parseInt(_0x23e61a(0x54c))/0x1*(parseInt(_0x23e61a(0x49a))/0x2)+parseInt(_0x23e61a(0x30a))/0x3*(parseInt(_0x23e61a(0x43b))/0x4)+parseInt(_0x23e61a(0x326))/0x5*(-parseInt(_0x23e61a(0x1ab))/0x6)+-parseInt(_0x23e61a(0x3b1))/0x7+-parseInt(_0x23e61a(0x491))/0x8+-parseInt(_0x23e61a(0x3ae))/0x9*(-parseInt(_0x23e61a(0x415))/0xa)+parseInt(_0x23e61a(0x220))/0xb*(parseInt(_0x23e61a(0x323))/0xc);if(_0x12095f===_0x3dddee)break;else _0x160daa['push'](_0x160daa['shift']());}catch(_0x2b54d6){_0x160daa['push'](_0x160daa['shift']());}}}(_0xc909,0x4cfcb),function(_0x2c7c3b,_0x4b6bb9){const _0x347958=_0x4020;typeof exports==_0x347958(0x3c7)&&typeof module<'u'?_0x4b6bb9(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license')):typeof define==_0x347958(0x1fc)&&define[_0x347958(0x23d)]?define(['exports',_0x347958(0x526),'@univerjs-pro/sheets-chart',_0x347958(0x1f8),_0x347958(0x34b),_0x347958(0x37b),_0x347958(0x45a),_0x347958(0x38c),'rxjs',_0x347958(0x3df),_0x347958(0x556),_0x347958(0x1bf),'@univerjs/engine-formula',_0x347958(0x4c1),'@univerjs/design','@univerjs/sheets-formula-ui',_0x347958(0x3ff),_0x347958(0x284),_0x347958(0x23f),_0x347958(0x4b4)],_0x4b6bb9):(_0x2c7c3b=typeof globalThis<'u'?globalThis:_0x2c7c3b||self,_0x4b6bb9(_0x2c7c3b[_0x347958(0x3cc)]={},_0x2c7c3b['UniverCore'],_0x2c7c3b[_0x347958(0x269)],_0x2c7c3b[_0x347958(0x441)],_0x2c7c3b['UniverSheetsDrawing'],_0x2c7c3b[_0x347958(0x38f)],_0x2c7c3b[_0x347958(0x32a)],_0x2c7c3b[_0x347958(0x3f8)],_0x2c7c3b['rxjs'],_0x2c7c3b['UniverProChartUi'],_0x2c7c3b['UniverProEngineChart'],_0x2c7c3b['UniverSheets'],_0x2c7c3b['UniverEngineFormula'],_0x2c7c3b[_0x347958(0x2b4)],_0x2c7c3b[_0x347958(0x1dd)],_0x2c7c3b['UniverSheetsFormulaUi'],_0x2c7c3b[_0x347958(0x2b4)],_0x2c7c3b[_0x347958(0x208)],_0x2c7c3b['UniverEngineRender'],_0x2c7c3b[_0x347958(0x48b)]));}(this,function(_0x30b554,_0x1ba070,_0x113ca7,_0x135c9c,_0x302521,_0x2cd04e,_0x53e756,_0x21688c,_0x5e3636,_0x37f706,_0x214e0a,_0x4a6d0b,_0x5f0a10,_0x119d22,_0x2b4c09,_0x33c938,_0x4da08e,_0xad66ff,_0x1d47e2,_0x427f18){const _0x185be1=_0x4020;Object[_0x185be1(0x1ae)](_0x30b554,Symbol[_0x185be1(0x301)],{'value':'Module'});let _0x272d7b={'type':_0x1ba070['CommandType'][_0x185be1(0x542)],'id':_0x185be1(0x4f9),'handler'(){return!0x0;}},_0x130aa7=_0x185be1(0x472),_0x3e134f={'enableChartElementFloatMenu':!0x0},_0x3007d3={'type':_0x1ba070[_0x185be1(0x551)]['OPERATION'],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}};function _0xf9815d(_0x1d54b9){const _0x34eea3=_0x185be1;let _0x328c14=_0x1d54b9[_0x34eea3(0x442)](_0x302521[_0x34eea3(0x251)])[_0x34eea3(0x559)]();if(_0x328c14['length']!==0x1)return null;let _0x439db3=_0x328c14[0x0];return _0x439db3[_0x34eea3(0x2d3)]===_0x1ba070[_0x34eea3(0x1f9)][_0x34eea3(0x52f)]?_0x439db3:null;}function _0x45783c(_0xb8b276,_0x1fcd8c){const _0x1f7733=_0x185be1;let _0x28e693=document['createElement']('a');_0x28e693[_0x1f7733(0x24e)]=_0xb8b276,_0x28e693[_0x1f7733(0x2c1)]=_0x1fcd8c,_0x28e693[_0x1f7733(0x232)]();}let _0xb862c8={'id':'sheet.command.chart.open-focused-panel','type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':(_0x4e3e26,_0x1eba5b)=>{const _0x184117=_0x185be1;let _0xdcd5ae=_0xf9815d(_0x4e3e26);return _0xdcd5ae?_0x4e3e26[_0x184117(0x442)](_0x1ba070[_0x184117(0x56c)])[_0x184117(0x3ab)](_0x272d7b['id'],{'unitId':_0xdcd5ae[_0x184117(0x2ac)],'subUnitId':_0xdcd5ae['subUnitId'],'drawingId':_0xdcd5ae[_0x184117(0x3b7)],..._0x1eba5b!=null&&_0x1eba5b[_0x184117(0x455)]?{'route':_0x1eba5b['route']}:{}}):!0x1;}},_0xb06e29={'id':_0x185be1(0x210),'type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':_0x182a0d=>_0xf9815d(_0x182a0d)?_0x182a0d[_0x185be1(0x442)](_0x1ba070[_0x185be1(0x56c)])[_0x185be1(0x3ab)](_0x53e756[_0x185be1(0x32c)]['id']):!0x1},_0x4c423d={'id':_0x185be1(0x545),'type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':async _0x16af07=>{const _0x27dcab=_0x185be1;let _0x1a3f3b=_0xf9815d(_0x16af07);if(!_0x1a3f3b)return!0x1;let _0x18886f=await _0x16af07[_0x27dcab(0x442)](_0x37f706[_0x27dcab(0x2f0)])[_0x27dcab(0x21f)]({'unitId':_0x1a3f3b['unitId'],'subUnitId':_0x1a3f3b['subUnitId'],'getId':()=>_0x1a3f3b[_0x27dcab(0x3b7)]});return _0x18886f?(_0x45783c(_0x18886f,_0x1a3f3b['drawingId']+_0x27dcab(0x1a8)),!0x0):!0x1;}},_0x1468ca={'id':'sheet.command.chart.delete-focused-chart','type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':_0x1ac7f3=>{const _0x23fd9b=_0x185be1;let _0x3a9333=_0xf9815d(_0x1ac7f3);return _0x3a9333?_0x1ac7f3[_0x23fd9b(0x442)](_0x1ba070[_0x23fd9b(0x56c)])[_0x23fd9b(0x3ab)](_0x302521[_0x23fd9b(0x58e)]['id'],{'unitId':_0x3a9333['unitId'],'drawings':[{'unitId':_0x3a9333[_0x23fd9b(0x2ac)],'subUnitId':_0x3a9333[_0x23fd9b(0x50c)],'drawingId':_0x3a9333[_0x23fd9b(0x3b7)],'drawingType':_0x1ba070[_0x23fd9b(0x1f9)][_0x23fd9b(0x52f)]}]}):!0x1;}},_0x1b45e5={'type':_0x1ba070['CommandType'][_0x185be1(0x343)],'id':'sheet.command.menu-insert-chart','handler':async(_0x33745e,_0x36fff7)=>{const _0x2d946b=_0x185be1;let _0x13d062=(0x0,_0x4a6d0b[_0x2d946b(0x3d9)])(_0x33745e[_0x2d946b(0x442)](_0x1ba070[_0x2d946b(0x53a)]));if(!_0x13d062)return!0x1;let _0x1a70b1=_0x33745e[_0x2d946b(0x442)](_0x4a6d0b[_0x2d946b(0x533)])[_0x2d946b(0x46c)]();if(!_0x1a70b1)return!0x1;let {range:_0x357dbb}=_0x1a70b1,_0x1d9385=_0x33745e[_0x2d946b(0x442)](_0x1ba070[_0x2d946b(0x56c)]),{unitId:_0x11f5d3,subUnitId:_0x3eccd7}=_0x13d062,{pieSecondaryPlotType:_0xd50a4,value:_0x499bfe}=_0x36fff7,_0x5f24a7=_0xd50a4!==void 0x0;if(_0x5f24a7&&(_0x499bfe!==_0x214e0a[_0x2d946b(0x3b0)][_0x2d946b(0x383)]||_0xd50a4!==_0x214e0a['PieSecondaryPlotType']['Pie']&&_0xd50a4!==_0x214e0a[_0x2d946b(0x4b9)][_0x2d946b(0x40d)]))return!0x1;let _0x2b719d=_0x5f24a7?(0x0,_0x1ba070[_0x2d946b(0x2be)])():void 0x0;return _0x1d9385['executeCommand'](_0x113ca7[_0x2d946b(0x283)]['id'],{'unitId':_0x11f5d3,'subUnitId':_0x3eccd7,'chartType':_0x499bfe,..._0x2b719d&&_0xd50a4?{'chartId':_0x2b719d,'config':{'unitId':_0x11f5d3,'chartModelId':_0x2b719d,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0xd50a4}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x357dbb[_0x2d946b(0x2ac)]??_0x11f5d3,'subUnitId':_0x357dbb[_0x2d946b(0x48f)]??_0x3eccd7,'range':_0x357dbb}}});}};function _0x5dbc9b(_0x2e8097,_0x301fb7){const _0xc69185=_0x185be1;if(_0x2e8097==null)return'';if(Array[_0xc69185(0x571)](_0x2e8097)){var _0x4ff02e;let _0x8f42a1=(_0x4ff02e=_0x2e8097[0x0])==null?void 0x0:_0x4ff02e[_0xc69185(0x340)];return _0x8f42a1?_0x30e19f(_0x8f42a1,_0x301fb7):'';}return _0x30e19f(_0x2e8097['rangeInfo'],_0x301fb7);}function _0x30e19f(_0x218ed3,_0x18118e){const _0x6fd158=_0x185be1;var _0x1662fc;let {unitId:_0x2c65bb,subUnitId:_0x58b5ce,range:_0x20c606}=_0x218ed3,_0x288647=(_0x1662fc=_0x18118e['getUnit'](_0x2c65bb))==null?void 0x0:_0x1662fc[_0x6fd158(0x35c)](_0x58b5ce);if(!_0x288647)return'';let _0x5a96d3=_0x288647[_0x6fd158(0x281)]();return(0x0,_0x5f0a10[_0x6fd158(0x3c8)])(_0x5a96d3,_0x20c606);}let _0x552a93=_0x37f706[_0x185be1(0x259)][_0x185be1(0x18e)](_0x1631a5=>({'id':'id'in _0x1631a5?_0x1631a5['id']:void 0x0,'labelId':_0x1631a5['labelId'],'pieSecondaryPlotType':_0x185be1(0x35a)in _0x1631a5?_0x1631a5['pieSecondaryPlotType']:void 0x0,'value':_0x1631a5[_0x185be1(0x2a6)],'icon':_0x1631a5['iconName']}));function _0x19a8f7(_0x3b43b5=_0x552a93){const _0xa4eb6f=_0x185be1;return _0x3b43b5[_0xa4eb6f(0x18e)](({id:_0x51d362,icon:_0x14a77d,value:_0x2bd5d7})=>{const _0x1778a8=_0xa4eb6f;let _0x3021e3=(0x0,_0x37f706[_0x1778a8(0x260)])(_0x51d362??String(_0x2bd5d7)),_0x57f572=_0x3021e3?{'value':_0x3021e3[_0x1778a8(0x593)],..._0x3021e3[_0x1778a8(0x35a)]?{'pieSecondaryPlotType':_0x3021e3[_0x1778a8(0x35a)]}:{}}:{'value':_0x2bd5d7};return{'icon':_0x14a77d,'value':_0x51d362??_0x2bd5d7,'params':_0x57f572};});}let _0x36e3f4=(_0x57bf63,_0x376e73)=>{const _0x1ad1da=_0x185be1;if(_0x376e73[_0x1ad1da(0x36b)]===0x1&&_0x376e73[0x0]===_0x1ad1da(0x302))return _0x57bf63;if(_0x376e73[_0x1ad1da(0x36b)]>0x1){let _0x2abc89=new Set();for(let _0x4f04bd of _0x376e73)_0x2abc89[_0x1ad1da(0x221)](Number(_0x4f04bd));return _0x57bf63[_0x1ad1da(0x3e6)](_0x5dc28d=>_0x2abc89[_0x1ad1da(0x4b2)](_0x5dc28d['value']));}return[];};function _0x20768b(_0x2a7ee7){const _0x30dfc3=_0x185be1;let _0x5f40ee=_0x2a7ee7['get'](_0x1ba070[_0x30dfc3(0x53a)]),_0x24b0c9=(0x0,_0x113ca7[_0x30dfc3(0x591)])(_0x2a7ee7),_0x2f07a7=_0x36e3f4(_0x552a93[_0x30dfc3(0x3aa)](),_0x24b0c9),_0x107016=_0x19a8f7(_0x2f07a7)[_0x30dfc3(0x18e)]((_0x634878,_0x2a365d)=>({'icon':_0x634878['icon'],'value':_0x634878[_0x30dfc3(0x2a6)],'params':_0x634878[_0x30dfc3(0x528)],'label':'sheets-chart-ui.chartTypes.'+_0x2f07a7[_0x2a365d][_0x30dfc3(0x1d9)]}));return{'id':_0x1b45e5['id'],'type':_0x21688c[_0x30dfc3(0x274)]['SELECTOR'],'selectionsCommandId':_0x1b45e5['id'],'selections':_0x107016,'icon':'ChartIcon','tooltip':_0x30dfc3(0x2ca),'activated$':(0x0,_0x53e756[_0x30dfc3(0x19e)])(_0x5f40ee,!0x1,()=>new _0x5e3636[(_0x30dfc3(0x216))](_0x5bf916=>{_0x5bf916['next'](!0x1);})),'hidden$':(0x0,_0x21688c[_0x30dfc3(0x23e)])(_0x2a7ee7,_0x1ba070['UniverInstanceType'][_0x30dfc3(0x2da)]),'disabled$':(0x0,_0x53e756[_0x30dfc3(0x365)])(_0x2a7ee7)};}function _0x4e33b2(_0x2b450e){'@babel/helpers - typeof';const _0x3cfb49=_0x185be1;return _0x4e33b2=typeof Symbol==_0x3cfb49(0x1fc)&&typeof Symbol[_0x3cfb49(0x18f)]==_0x3cfb49(0x4a1)?function(_0x3380f3){return typeof _0x3380f3;}:function(_0x2bf019){const _0x4b410c=_0x3cfb49;return _0x2bf019&&typeof Symbol=='function'&&_0x2bf019[_0x4b410c(0x446)]===Symbol&&_0x2bf019!==Symbol[_0x4b410c(0x187)]?_0x4b410c(0x4a1):typeof _0x2bf019;},_0x4e33b2(_0x2b450e);}function _0x4eb96c(_0xbbbc31,_0x5c4eed){const _0x5b1369=_0x185be1;if(_0x4e33b2(_0xbbbc31)!=_0x5b1369(0x3c7)||!_0xbbbc31)return _0xbbbc31;var _0x3554ca=_0xbbbc31[Symbol[_0x5b1369(0x2d5)]];if(_0x3554ca!==void 0x0){var _0x19ee6e=_0x3554ca[_0x5b1369(0x371)](_0xbbbc31,_0x5c4eed||'default');if(_0x4e33b2(_0x19ee6e)!=_0x5b1369(0x3c7))return _0x19ee6e;throw TypeError(_0x5b1369(0x58f));}return(_0x5c4eed===_0x5b1369(0x1f1)?String:Number)(_0xbbbc31);}function _0x3b2b7d(_0x561dc6){const _0x5b9476=_0x185be1;var _0x2a50a4=_0x4eb96c(_0x561dc6,_0x5b9476(0x1f1));return _0x4e33b2(_0x2a50a4)==_0x5b9476(0x4a1)?_0x2a50a4:_0x2a50a4+'';}function _0x3d73b3(_0x5084ab,_0x5dd563,_0x2b6534){return(_0x5dd563=_0x3b2b7d(_0x5dd563))in _0x5084ab?Object['defineProperty'](_0x5084ab,_0x5dd563,{'value':_0x2b6534,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5084ab[_0x5dd563]=_0x2b6534,_0x5084ab;}function _0x42d632(_0x51f198,_0x5bb495){return function(_0x427e9f,_0x4d690b){_0x5bb495(_0x427e9f,_0x4d690b,_0x51f198);};}function _0x11ef44(_0xf2e45b,_0x51199a,_0x2a1ddf,_0x283bdc){const _0x2469e5=_0x185be1;var _0x36194c=arguments['length'],_0x203301=_0x36194c<0x3?_0x51199a:_0x283bdc===null?_0x283bdc=Object[_0x2469e5(0x536)](_0x51199a,_0x2a1ddf):_0x283bdc,_0x26c8f2;if(typeof Reflect=='object'&&typeof Reflect[_0x2469e5(0x1ef)]==_0x2469e5(0x1fc))_0x203301=Reflect['decorate'](_0xf2e45b,_0x51199a,_0x2a1ddf,_0x283bdc);else{for(var _0x53f5ae=_0xf2e45b['length']-0x1;_0x53f5ae>=0x0;_0x53f5ae--)(_0x26c8f2=_0xf2e45b[_0x53f5ae])&&(_0x203301=(_0x36194c<0x3?_0x26c8f2(_0x203301):_0x36194c>0x3?_0x26c8f2(_0x51199a,_0x2a1ddf,_0x203301):_0x26c8f2(_0x51199a,_0x2a1ddf))||_0x203301);}return _0x36194c>0x3&&_0x203301&&Object[_0x2469e5(0x1ae)](_0x51199a,_0x2a1ddf,_0x203301),_0x203301;}let _0x24cbf9=(0x0,_0x1ba070[_0x185be1(0x49d)])(_0x185be1(0x21d)),_0x27af68=class extends _0x37f706[_0x185be1(0x3f4)]{constructor(_0x256fc5,_0x55c5c5,_0xcb445d,_0x28c980,_0x39113a){const _0x48b63a=_0x185be1;super(_0x39113a),this[_0x48b63a(0x57a)]=_0x256fc5,this[_0x48b63a(0x373)]=_0x55c5c5,this[_0x48b63a(0x403)]=_0xcb445d,this[_0x48b63a(0x538)]=_0x28c980,_0x3d73b3(this,'_rangeSelectMode',!0x1),_0x3d73b3(this,'_chartEditorOpen$',new _0x5e3636[(_0x48b63a(0x2b0))](!0x1)),_0x3d73b3(this,_0x48b63a(0x278),new _0x5e3636[(_0x48b63a(0x2b0))](null)),_0x3d73b3(this,_0x48b63a(0x346),this[_0x48b63a(0x3e0)][_0x48b63a(0x438)]()),_0x3d73b3(this,_0x48b63a(0x2a7),this[_0x48b63a(0x278)][_0x48b63a(0x438)]());}get['activeRuntimeModel'](){const _0x5daee1=_0x185be1;return this[_0x5daee1(0x57a)][_0x5daee1(0x286)]??null;}get[_0x185be1(0x289)](){const _0x34cedb=_0x185be1;return this['_chartEditorOpen$'][_0x34cedb(0x213)]();}get[_0x185be1(0x582)](){const _0x3ce7af=_0x185be1;return this[_0x3ce7af(0x2d8)];}['setRangeSelectMode'](_0x1bccd4){const _0x14b70c=_0x185be1;this[_0x14b70c(0x2d8)]=_0x1bccd4;}['setChartEditorOpen'](_0x7a2c52){const _0x456005=_0x185be1;this[_0x456005(0x3e0)][_0x456005(0x213)]()!==_0x7a2c52&&this['_chartEditorOpen$']['next'](_0x7a2c52);}[_0x185be1(0x476)](_0x4f59b1){const _0x10cf96=_0x185be1;var _0x3d6a9f;return this[_0x10cf96(0x289)]&&((_0x3d6a9f=this[_0x10cf96(0x57a)][_0x10cf96(0x286)])==null?void 0x0:_0x3d6a9f['id'])===_0x4f59b1;}[_0x185be1(0x2fc)](_0x12c4d6,_0x5119a7){this['_panelRoute$']['next']({'chartId':_0x12c4d6,'route':_0x5119a7});}[_0x185be1(0x244)](){const _0x35892a=_0x185be1;this[_0x35892a(0x278)][_0x35892a(0x192)](null);}['setDataRange'](_0x45646d){const _0x27b313=_0x185be1;let _0xb2994d=this[_0x27b313(0x57a)][_0x27b313(0x286)];_0xb2994d&&this[_0x27b313(0x248)]({'chartModelId':_0xb2994d['id'],'range':_0x45646d});}[_0x185be1(0x414)](_0x576ef4){const _0x315257=_0x185be1;let _0x54fb45=this['_chartModelService'][_0x315257(0x286)];if(!_0x54fb45)return;let _0x3218ab=this['_sheetsChartService'][_0x315257(0x44f)](_0x54fb45['id']);if(!_0x3218ab||Array[_0x315257(0x571)](_0x3218ab))return;let _0x4a9f72={..._0x3218ab,'isRowDirection':_0x576ef4===_0x214e0a[_0x315257(0x515)][_0x315257(0x292)]};this[_0x315257(0x248)]({'chartModelId':_0x54fb45['id'],'range':_0x4a9f72});}[_0x185be1(0x3eb)](_0x540d32){const _0x9bc8d3=_0x185be1;var _0x6441c9;this[_0x9bc8d3(0x403)][_0x9bc8d3(0x3ab)](_0x113ca7[_0x9bc8d3(0x49e)]['id'],{..._0x540d32,'unitId':((_0x6441c9=this['_univerInstanceService'][_0x9bc8d3(0x19a)]())==null?void 0x0:_0x6441c9[_0x9bc8d3(0x185)]())??''});}[_0x185be1(0x248)](_0x410d17){const _0x3b8f28=_0x185be1;var _0x11f04a;this['_commandService'][_0x3b8f28(0x3ab)](_0x113ca7[_0x3b8f28(0x4b7)]['id'],{..._0x410d17,'unitId':((_0x11f04a=this[_0x3b8f28(0x538)][_0x3b8f28(0x19a)]())==null?void 0x0:_0x11f04a['getUnitId']())??''});}[_0x185be1(0x4d8)](){const _0x469e5d=_0x185be1;this[_0x469e5d(0x3e0)]['complete'](),this['_panelRoute$']['complete'](),super[_0x469e5d(0x4d8)]();}};_0x27af68=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x1f5)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x3,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706[_0x185be1(0x4a9)]))],_0x27af68);var _0x2b81be;let _0x3580d8={'axis':{..._0x37f706[_0x185be1(0x49b)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x37f706[_0x185be1(0x41e)],'heatmap':_0x37f706[_0x185be1(0x503)],'indicatorLine':_0x37f706[_0x185be1(0x25e)],'legend':_0x37f706['DEFAULT_CHART_LEGEND_VALUES'],'lineAndArea':_0x37f706[_0x185be1(0x3bb)],'pareto':_0x37f706[_0x185be1(0x592)],'pie':_0x37f706[_0x185be1(0x2c2)],'relation':{..._0x37f706['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x0},'radar':_0x37f706['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x37f706[_0x185be1(0x19d)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x2b81be=_0x214e0a[_0x185be1(0x34c)][_0x185be1(0x4c4)])==null?void 0x0:_0x2b81be[_0x185be1(0x379)])??!0x1}},'style':_0x37f706[_0x185be1(0x4c6)],'titles':_0x37f706[_0x185be1(0x26f)],'trendline':_0x37f706[_0x185be1(0x4c2)],'waterfallStyle':_0x37f706[_0x185be1(0x334)],'wordCloud':_0x37f706['DEFAULT_CHART_WORD_CLOUD_VALUES']},_0xd3bdbf=_0x1cde78=>_0x1cde78['getCurrentUnitOfType'](_0x1ba070['UniverInstanceType'][_0x185be1(0x2da)])[_0x185be1(0x185)](),_0x1019e2=_0x4afc5b=>{const _0x405e48=_0x185be1;var _0x3ee2ff;return(_0x3ee2ff=_0x4afc5b[_0x405e48(0x448)](_0x1ba070[_0x405e48(0x203)][_0x405e48(0x2da)])[_0x405e48(0x1bd)]())==null?void 0x0:_0x3ee2ff[_0x405e48(0x2ec)]();},_0x2a6a33=()=>{const _0x5d02a7=_0x185be1;var _0x9e2e62;let _0x30e773=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x24cbf9),_0x1282ab=(0x0,_0x21688c['useDependency'])(_0x113ca7[_0x5d02a7(0x47d)]),_0x534876=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x1ba070['LocaleService']),_0x5dc338=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x1ba070[_0x5d02a7(0x32e)]),_0x20222d=(0x0,_0x113ca7[_0x5d02a7(0x591)])(_0x5dc338),_0x42e883=(0x0,_0x119d22[_0x5d02a7(0x4b5)])(()=>{const _0x5c3c14=_0x5d02a7;let _0x33a1bb=_0x36e3f4(_0x552a93['concat'](),_0x20222d);return(0x0,_0x37f706[_0x5c3c14(0x53f)])(_0x33a1bb[_0x5c3c14(0x18e)](_0x4f581f=>({'id':_0x4f581f['id'],'label':_0x534876['t'](_0x5c3c14(0x1ee)+_0x4f581f[_0x5c3c14(0x1d9)]),'pieSecondaryPlotType':_0x4f581f[_0x5c3c14(0x35a)],'value':_0x4f581f[_0x5c3c14(0x2a6)]})));},[_0x20222d,_0x534876]),_0x4d3a90=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x1282ab[_0x5d02a7(0x548)],_0x1282ab[_0x5d02a7(0x286)]),_0xb9ee79=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1d3)],_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1a9)]),_0x23a24d=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1e2)],_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x179)]),_0x16072e=(0x0,_0x21688c['useObservable'])(_0x23a24d==null?void 0x0:_0x23a24d[_0x5d02a7(0x423)],_0x23a24d==null?void 0x0:_0x23a24d[_0x5d02a7(0x3f0)]()),_0x267ec9=Array[_0x5d02a7(0x571)](_0x16072e),_0x5373ae=_0x16072e&&!_0x267ec9&&_0x16072e[_0x5d02a7(0x2fa)]?_0x214e0a['DataOrientation'][_0x5d02a7(0x292)]:_0x214e0a['DataOrientation']['Column'],_0x1cb8af=_0x267ec9?(_0x9e2e62=_0x16072e[0x0])==null?void 0x0:_0x9e2e62[_0x5d02a7(0x340)]:_0x16072e==null?void 0x0:_0x16072e[_0x5d02a7(0x236)];return(0x0,_0x4da08e[_0x5d02a7(0x3f5)])(_0x5d02a7(0x2d0),{'className':_0x5d02a7(0x54f),'children':[(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x37f706[_0x5d02a7(0x234)],{'chartTypeOptions':_0x42e883,'dataSourceControl':(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x2bf4f5,{'dataRange':_0x16072e,'primaryRange':_0x1cb8af}),'categoryToggleLabel':_0x534876['t'](_0x5d02a7(0x1cb),_0x5373ae===_0x214e0a[_0x5d02a7(0x515)]['Row']?_0x5373ae+'\x20'+(((_0x1cb8af==null?void 0x0:_0x1cb8af['range'][_0x5d02a7(0x50e)])??0x0)+0x1):_0x5373ae+'\x20'+(0x0,_0x1ba070[_0x5d02a7(0x3b4)])((_0x1cb8af==null?void 0x0:_0x1cb8af[_0x5d02a7(0x340)][_0x5d02a7(0x4d7)])??0x0)),'orientationControl':_0x267ec9?void 0x0:(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x2b4c09[_0x5d02a7(0x478)],{'size':_0x5d02a7(0x408),'onClick':()=>_0x30e773[_0x5d02a7(0x414)](_0x5373ae===_0x214e0a['DataOrientation']['Row']?_0x214e0a[_0x5d02a7(0x515)][_0x5d02a7(0x444)]:_0x214e0a['DataOrientation']['Row']),'children':_0x534876['t'](_0x5d02a7(0x191))})}),(0x0,_0x4da08e['jsx'])(_0x2b4c09[_0x5d02a7(0x55f)],{'checked':(_0xb9ee79==null?void 0x0:_0xb9ee79[_0x5d02a7(0x2f7)])===!0x1,'disabled':!_0x4d3a90,'onChange':_0x590394=>{const _0x1efd4c=_0x5d02a7;_0x4d3a90&&_0x30e773[_0x1efd4c(0x3eb)]({'chartModelId':_0x4d3a90['id'],'context':{'plotVisibleOnly':!_0x590394}});},'children':_0x534876['t'](_0x5d02a7(0x35f))})]});};function _0x2bf4f5(_0x3b546f){const _0x11da79=_0x185be1;let {dataRange:_0x3669cb,primaryRange:_0x46af0d}=_0x3b546f,_0x33c965=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x24cbf9),_0x16cc84=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x1ba070[_0x11da79(0x30e)]),_0x38c107=(0x0,_0x21688c['useDependency'])(_0x1ba070[_0x11da79(0x53a)]),_0x528290=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x1ba070[_0x11da79(0x461)]),[_0x148d74,_0x59d831]=(0x0,_0x119d22[_0x11da79(0x19c)])(!0x1),[_0x5ebbf1,_0x2dbee1]=(0x0,_0x119d22[_0x11da79(0x19c)])(!0x1),[_0x29a408,_0x3c79d1]=(0x0,_0x119d22['useState'])(),_0x298e13=_0xd3bdbf(_0x38c107),_0x514529=_0x1019e2(_0x38c107),_0x53f55f=_0x3669cb?_0x5dbc9b(_0x3669cb,_0x38c107):'',_0x49e533=(0x0,_0x119d22['useRef'])(_0x53f55f),_0x5e33cb=(0x0,_0x119d22[_0x11da79(0x247)])(void 0x0),_0x2b1a95=(0x0,_0x119d22['useRef'])(null);(0x0,_0x119d22[_0x11da79(0x3d5)])(()=>{const _0xd2fe7=_0x11da79;_0x33c965['setRangeSelectMode'](_0x148d74),_0x528290[_0xd2fe7(0x227)](_0x1ba070[_0xd2fe7(0x2bb)],_0x148d74);},[_0x528290,_0x148d74,_0x33c965]),(0x0,_0x119d22[_0x11da79(0x3d5)])(()=>()=>{const _0x537b71=_0x11da79;_0x33c965['setRangeSelectMode'](!0x1),_0x528290['setContextValue'](_0x1ba070[_0x537b71(0x2bb)],!0x1);},[_0x528290,_0x33c965]);let _0x42a02f=(0x0,_0x119d22[_0x11da79(0x328)])(_0x6c4056=>{const _0xa4d9c4=_0x11da79;var _0x4b267c;if(_0x5dbc9b(_0x3669cb,_0x38c107)===_0x6c4056)return _0x3c79d1(void 0x0),!0x0;let _0x3cd6da=_0x6c4056['split'](_0x5f0a10[_0xa4d9c4(0x553)][_0xa4d9c4(0x273)]);if(!_0x6c4056[_0xa4d9c4(0x47e)]()||_0x3cd6da['length']!==0x1||!((_0x4b267c=_0x2b1a95['current'])!=null&&_0x4b267c[_0xa4d9c4(0x392)]()))return _0x3c79d1(_0x16cc84['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x574112,sheetName:_0x5dc783,range:_0x405503}=(0x0,_0x5f0a10[_0xa4d9c4(0x1e3)])(_0x3cd6da[0x0]),_0x272307=_0x574112||_0x298e13,_0x54f792=_0x38c107[_0xa4d9c4(0x296)](_0x272307),_0x2da021=(_0x46af0d==null?void 0x0:_0x46af0d[_0xa4d9c4(0x2ac)])===_0x272307?_0x46af0d['subUnitId']:_0x514529,_0x4ed872=_0x5dc783?_0x54f792==null?void 0x0:_0x54f792[_0xa4d9c4(0x300)](_0x5dc783):_0x54f792==null?void 0x0:_0x54f792[_0xa4d9c4(0x35c)](_0x2da021??'');return!_0x54f792||!_0x4ed872||!(0x0,_0x1ba070[_0xa4d9c4(0x2d6)])(_0x405503,_0x4ed872)?(_0x3c79d1(_0x16cc84['t']('sheets-chart-ui.common.invalidDataRange')),!0x1):(_0x3c79d1(void 0x0),_0x33c965[_0xa4d9c4(0x1d2)]({'rangeInfo':{'range':_0x405503,'unitId':_0x272307,'subUnitId':_0x4ed872[_0xa4d9c4(0x2ec)]()}}),!0x0);},[_0x3669cb,_0x16cc84,_0x46af0d,_0x33c965,_0x514529,_0x298e13,_0x38c107]),_0x56e29f=(0x0,_0x119d22['useMemo'])(()=>({'keyCodes':[{'keyCode':_0x21688c[_0x11da79(0x272)]['ENTER'],'nativeTextEditorBehavior':_0x21688c[_0x11da79(0x2fd)][_0x11da79(0x1e8)]}],'handler':_0x281578=>{const _0x35d9ce=_0x11da79;_0x281578===_0x21688c['KeyCode'][_0x35d9ce(0x36f)]&&_0x42a02f(_0x49e533[_0x35d9ce(0x25d)])&&(_0x5e33cb['current']=_0x49e533[_0x35d9ce(0x25d)]);}}),[_0x42a02f]);return(0x0,_0x4da08e[_0x11da79(0x4ef)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0x4da08e['jsxs'])('div',{'children':[(0x0,_0x4da08e['jsx'])(_0x37f706[_0x11da79(0x366)],{'title':_0x16cc84['t'](_0x11da79(0x335))}),(0x0,_0x4da08e[_0x11da79(0x4ef)])(_0x33c938['RangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x298e13,'subUnitId':_0x514529,'initialValue':_0x53f55f,'keyboardEventConfig':_0x56e29f,'selectorRef':_0x2b1a95,'onChange':(_0x2fa769,_0x252bed)=>{const _0xe0b4f0=_0x11da79;_0x49e533[_0xe0b4f0(0x25d)]=_0x252bed,_0x5ebbf1&&_0x5e33cb[_0xe0b4f0(0x25d)]!==_0x252bed&&_0x42a02f(_0x252bed)&&(_0x5e33cb['current']=_0x252bed);},'onFocusChange':(_0x48ddf5,_0x5c24cb)=>{const _0x12d49f=_0x11da79;if(_0x5c24cb!==void 0x0&&(_0x49e533['current']=_0x5c24cb),_0x5ebbf1||_0x59d831(_0x48ddf5),_0x48ddf5)_0x5e33cb['current']=_0x49e533[_0x12d49f(0x25d)];else{let _0x1d5f2e=_0x5e33cb['current'];_0x5e33cb[_0x12d49f(0x25d)]=void 0x0,_0x1d5f2e!==void 0x0&&_0x49e533[_0x12d49f(0x25d)]!==_0x1d5f2e&&_0x42a02f(_0x49e533[_0x12d49f(0x25d)]);}},'onRangeSelectorDialogVisibleChange':_0x491492=>{_0x2dbee1(_0x491492),_0x59d831(_0x491492);}}),_0x29a408?(0x0,_0x4da08e[_0x11da79(0x4ef)])(_0x11da79(0x2d0),{'className':_0x11da79(0x479),'children':_0x29a408}):null]})});}function _0x6a5c93(_0x4d27a8){const _0x14e05f=_0x185be1;return(0x0,_0x4da08e[_0x14e05f(0x3f5)])(_0x37f706[_0x14e05f(0x42a)],{'id':_0x4d27a8['id'],'children':[(0x0,_0x4da08e['jsx'])(_0x37f706[_0x14e05f(0x26d)],{'children':_0x4d27a8[_0x14e05f(0x416)]}),(0x0,_0x4da08e['jsx'])(_0x37f706[_0x14e05f(0x4e5)],{'children':_0x4d27a8[_0x14e05f(0x2ae)]})]});}let _0x2f4187=_0x398f42=>{const _0x2aea59=_0x185be1;let _0x3ceb5e=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x1ba070[_0x2aea59(0x30e)]),_0x3b0329=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x24cbf9),_0xe05430=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x113ca7['ChartModelService']),_0x35b328=(0x0,_0x21688c['useObservable'])(_0xe05430['activeChartModel$'],_0xe05430[_0x2aea59(0x286)]),_0x4decfa=(0x0,_0x21688c[_0x2aea59(0x27d)])(_0x3b0329['panelRoute$'],null),_0xc99d2a=_0x4decfa&&_0x4decfa[_0x2aea59(0x4d9)]===(_0x35b328==null?void 0x0:_0x35b328['id'])?_0x4decfa[_0x2aea59(0x455)]:null,_0x5c1c10=(0x0,_0x37f706[_0x2aea59(0x492)])(),_0x5b5d8a=(0x0,_0x37f706['useChartEditorHasRightAxis'])(),[_0x4a0549,_0x1e0cfc]=(0x0,_0x119d22[_0x2aea59(0x19c)])(null);(0x0,_0x119d22['useEffect'])(()=>{const _0x42e8f4=_0x2aea59;_0xc99d2a!=null&&_0xc99d2a[_0x42e8f4(0x2c9)]&&_0x1e0cfc(_0xc99d2a[_0x42e8f4(0x2c9)]);},[_0xc99d2a]);let _0x4524bb=_0x214e0a['chartBitsUtils'][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x383)]),_0x3b3837=_0x5c1c10===_0x214e0a['ChartTypeBits']['Radar'],_0xd19031=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x2a2)],_0x238186=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x254)],_0x33c8cf=_0x214e0a[_0x2aea59(0x28f)][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x36e)]),_0xc9d18a=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x1d6)],_0x25b62f=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x2db)],_0x1fc057=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x41b)],_0x12328b=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x376)],_0x180ff2,_0x491e12;switch(_0x5c1c10){case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x250)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x250)],_0x491e12=_0x3ceb5e['t']('sheets-chart-ui.section.candlestick');break;case _0x214e0a[_0x2aea59(0x3b0)]['Histogram']:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Histogram'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x218));break;case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x1bc)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Treemap'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x550));break;case _0x214e0a[_0x2aea59(0x3b0)]['Sunburst']:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x330)],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x391));break;case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x1d1)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Gauge'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x29e));break;case _0x214e0a[_0x2aea59(0x3b0)]['Chord']:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x331)],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x2ef));}let _0xed0c23=(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)][_0x2aea59(0x4d4)])&&!_0x33c8cf&&!_0x1fc057;return(0x0,_0x4da08e[_0x2aea59(0x3f5)])(_0x37f706[_0x2aea59(0x54a)],{'value':_0x4a0549,'onChange':_0x1e0cfc,'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x1d8)],'label':_0x3ceb5e['t'](_0x2aea59(0x22d)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x418)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x1c3)]})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x25b)],'label':_0x3ceb5e['t'](_0x2aea59(0x262)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x1c9)],{'commitMode':'blur','defaultValues':_0x398f42[_0x2aea59(0x590)]['titles'],'selectedTitleKey':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x594)]})}),(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartThreeDSection'],{'section':'view'}),_0xed0c23&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x190)],'label':_0x3ceb5e['t'](_0x2aea59(0x318)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2bc)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x1c5)],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'selectedSeriesId':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x482)]})}),_0x25b62f&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['WaterfallSeries'],'label':_0x3ceb5e['t'](_0x2aea59(0x3c0)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x249)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x32f)],'getDefaultBucketName':({seriesName:_0x145c41,target:_0x1173d5})=>_0x1173d5===_0x214e0a['ChartWaterfallStyleTarget'][_0x2aea59(0x1a4)]?_0x3ceb5e['t'](_0x2aea59(0x310)):_0x145c41?_0x145c41+'-('+_0x3ceb5e['t'](_0x1173d5===_0x214e0a['ChartWaterfallStyleTarget']['Positive']?_0x2aea59(0x4f8):_0x2aea59(0x3da))+')':'','NumberFormatField':_0x37f706[_0x2aea59(0x397)],'selectedSeriesId':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x482)]})}),_0x1fc057&&(0x0,_0x4da08e['jsxs'])(_0x4da08e[_0x2aea59(0x1ed)],{'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x580)],'label':_0x3ceb5e['t'](_0x2aea59(0x42f)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x303)],{'defaultValues':_0x398f42['defaultValues']['pareto'],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'showDataPointEditor':!0x0,'target':_0x2aea59(0x443)})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection']['ParetoLineSeries'],'label':_0x3ceb5e['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x303)],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['pareto'],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'showDataPointEditor':!0x1,'target':_0x2aea59(0x4bf)})})]}),_0x4524bb&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['PieStyle'],'label':_0x3ceb5e['t'](_0x2aea59(0x31b)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartPieStyleSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['pie'],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),_0xd19031&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x2a2)],'label':_0x3ceb5e['t'](_0x2aea59(0x18c)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x46b)],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x504)]})}),_0x3b3837&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x560)],'label':_0x3ceb5e['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x2f8)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x42b)]})}),_0x238186&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['Funnel'],'label':_0x3ceb5e['t'](_0x2aea59(0x401)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartFunnelStyleSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x4e6)],'gapControl':_0x2aea59(0x522)})}),_0x12328b&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x376)],'label':_0x3ceb5e['t']('sheets-chart-ui.common.heatmap'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2eb)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x279)]})}),_0xc9d18a&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection']['Relation'],'label':_0x3ceb5e['t'](_0x2aea59(0x1ec)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2ab)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x437)]})}),(0x0,_0x37f706[_0x2aea59(0x384)])(_0x5c1c10)&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x52c)],'label':_0x3ceb5e['t'](_0x214e0a[_0x2aea59(0x28f)][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x4d6)])?_0x2aea59(0x336):_0x2aea59(0x561)),'children':(0x0,_0x4da08e['jsx'])(_0x37f706['ChartLineAndAreaSection'],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x3ca)],'lineStyleControl':_0x2aea59(0x180)})}),(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)]['Legend'])&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x396)],'label':_0x3ceb5e['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x184)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x39c)]})}),(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)][_0x2aea59(0x511)])&&(0x0,_0x4da08e[_0x2aea59(0x3f5)])(_0x4da08e[_0x2aea59(0x1ed)],{'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x47f)],'label':_0x3ceb5e['t'](_0x2aea59(0x1be)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartAxisSection'],{'axis':'x','defaultValues':_0x398f42['defaultValues']['axis'],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x3a6)],'label':_0x3ceb5e['t'](_0x2aea59(0x33a)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x41c)],{'axis':'y','defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x322)],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x275)],{'section':_0x2aea59(0x529)}),_0x5b5d8a&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x29c)],'label':_0x3ceb5e['t'](_0x2aea59(0x332)),'children':(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x41c)],{'axis':_0x2aea59(0x1fd),'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x322)],'NumberFormatField':_0x37f706[_0x2aea59(0x397)]})}),(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x3ad)],'label':_0x3ceb5e['t'](_0x2aea59(0x26c)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartGridlinesAndTicksSection'],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x322)]})})]}),(0x0,_0x37f706['chartTypeSupportsCapability'])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)]['IndicatorLine'])&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x53c)],'label':_0x3ceb5e['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x374)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x2fb)]})}),(0x0,_0x214e0a[_0x2aea59(0x2d1)])(_0x5c1c10)&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x308)],'label':_0x3ceb5e['t'](_0x2aea59(0x198)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartTrendlineSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['trendline']})}),_0x180ff2&&_0x491e12&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x180ff2,'label':_0x491e12,'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x4ca)],{})})]});};function _0x1fb49a(_0x23aa9a){const _0x15b4f2=_0x185be1;let {className:_0x479c1b}=_0x23aa9a,[_0x5b63d7,_0x1e967d]=(0x0,_0x119d22['useState'])(_0x37f706['ChartEditPanelTab'][_0x15b4f2(0x4c9)]),_0x1ac4c3=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x1ba070[_0x15b4f2(0x32e)]),_0x555ae1=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x1ba070[_0x15b4f2(0x30e)]),_0x4dc7c8=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x24cbf9),_0x285e76=(0x0,_0x21688c['useDependency'])(_0x113ca7['ChartModelService']),_0x2cff30=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x113ca7[_0x15b4f2(0x1f5)]),_0x4aab32=(0x0,_0x21688c[_0x15b4f2(0x27d)])(_0x285e76[_0x15b4f2(0x548)],_0x285e76[_0x15b4f2(0x286)]),_0xd4b653=(0x0,_0x21688c[_0x15b4f2(0x27d)])(_0x4dc7c8['panelRoute$'],null),_0x3db6a7=(0x0,_0x119d22[_0x15b4f2(0x4b5)])(()=>{const _0x2938a3=_0x15b4f2;var _0x142fee;if(!_0x4aab32)return null;let _0x51ad01=_0x2cff30[_0x2938a3(0x44f)](_0x4aab32['id']);if(!_0x51ad01)return null;let _0x3115f3=Array['isArray'](_0x51ad01)?(_0x142fee=_0x51ad01[0x0])==null?void 0x0:_0x142fee[_0x2938a3(0x340)]:_0x51ad01['rangeInfo'];return _0x3115f3?new _0x37f706[(_0x2938a3(0x212))](_0x4aab32,new _0x113ca7[(_0x2938a3(0x494))]({'unitId':_0x3115f3[_0x2938a3(0x2ac)],'subUnitId':_0x3115f3[_0x2938a3(0x50c)],'chartId':_0x4aab32['id'],'injector':_0x1ac4c3})):null;},[_0x4aab32,_0x1ac4c3,_0x2cff30]);if((0x0,_0x119d22['useEffect'])(()=>{const _0x13b0ef=_0x15b4f2;var _0x155230,_0x2039a7;_0x4aab32&&(_0xd4b653==null?void 0x0:_0xd4b653[_0x13b0ef(0x4d9)])===_0x4aab32['id']&&(((_0x155230=_0xd4b653[_0x13b0ef(0x455)])==null?void 0x0:_0x155230['tab'])===_0x37f706['ChartEditPanelTab'][_0x13b0ef(0x358)]&&_0x1e967d(_0x37f706['ChartEditPanelTab'][_0x13b0ef(0x358)]),((_0x2039a7=_0xd4b653[_0x13b0ef(0x455)])==null?void 0x0:_0x2039a7['tab'])===_0x37f706[_0x13b0ef(0x562)][_0x13b0ef(0x4c9)]&&_0x1e967d(_0x37f706[_0x13b0ef(0x562)][_0x13b0ef(0x4c9)]));},[_0x4aab32,_0xd4b653]),!_0x3db6a7)return null;let _0x4c0a5d=(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x15b4f2(0x2d0),{'className':_0x15b4f2(0x427)+(_0x5b63d7===_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)]?_0x15b4f2(0x26a):'univer-overflow-hidden')+_0x15b4f2(0x465)+(_0x479c1b??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x37f706['ChartEditorTabs'],{'ariaLabel':_0x555ae1['t'](_0x15b4f2(0x1a1)),'activeTab':_0x5b63d7,'onTabChange':_0x1e967d,'tabListClassName':_0x15b4f2(0x4dc),'panelClassName':_0x5b63d7===_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)]?_0x15b4f2(0x29b):void 0x0,'tabs':[{'id':_0x37f706['ChartEditPanelTab'][_0x15b4f2(0x4c9)],'panelId':_0x136d41,'title':_0x555ae1['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x2a6a33,{})},{'id':_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)],'panelId':_0x3281ac,'title':_0x555ae1['t'](_0x15b4f2(0x43f)),'content':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x2f4187,{'defaultValues':_0x3580d8})}]})});return(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x37f706[_0x15b4f2(0x516)],{'chartUIService':_0x4dc7c8,'hostAdapter':_0x3db6a7,'children':_0x4c0a5d});}let _0x209d81=_0x185be1(0x20d),_0x136d41=_0x185be1(0x182),_0x3281ac=_0x185be1(0x38b);function _0x56fe1b(_0x44961a){const _0x37933f=_0x185be1;let _0xd44c93=_0x44961a['get'](_0x302521['ISheetDrawingService']);return _0xd44c93[_0x37933f(0x459)][_0x37933f(0x4d3)]((0x0,_0x5e3636[_0x37933f(0x3e1)])(_0xd44c93['getFocusDrawings']()),(0x0,_0x5e3636[_0x37933f(0x18e)])(()=>_0xf9815d(_0x44961a)==null));}function _0xe71819(_0x18ebae){const _0x425b72=_0x185be1;let _0x1c1b97=_0x18ebae['get'](_0x21688c[_0x425b72(0x1de)]);return{'activated$':(0x0,_0x5e3636[_0x425b72(0x2f4)])(()=>_0x1c1b97['sidebarOptions$'][_0x425b72(0x4d3)]((0x0,_0x5e3636[_0x425b72(0x3e1)])(_0x1c1b97[_0x425b72(0x299)]),(0x0,_0x5e3636[_0x425b72(0x18e)])(_0x145697=>_0x145697[_0x425b72(0x3dd)]===!0x0&&_0x145697['id']===_0x425b72(0x20d)),(0x0,_0x5e3636[_0x425b72(0x306)])())),'id':_0xb862c8['id'],'commandId':_0xb862c8['id'],'type':_0x21688c[_0x425b72(0x274)][_0x425b72(0x2b9)],'title':_0x18ebae[_0x425b72(0x442)](_0x1ba070['LocaleService'])['t'](_0x425b72(0x4e3)),'icon':_0x425b72(0x58d),'hidden$':_0x56fe1b(_0x18ebae)};}function _0x47de30(_0x2a081a){const _0x4e2f65=_0x185be1;return{'id':_0xb06e29['id'],'commandId':_0xb06e29['id'],'type':_0x21688c[_0x4e2f65(0x274)][_0x4e2f65(0x2b9)],'title':_0x2a081a['get'](_0x1ba070['LocaleService'])['t'](_0x4e2f65(0x200)),'icon':_0x4e2f65(0x4b8),'hidden$':_0x56fe1b(_0x2a081a)};}function _0x1f915c(_0xfc4d7f){const _0xa4b44e=_0x185be1;return{'id':_0x4c423d['id'],'commandId':_0x4c423d['id'],'type':_0x21688c[_0xa4b44e(0x274)][_0xa4b44e(0x2b9)],'title':_0xfc4d7f[_0xa4b44e(0x442)](_0x1ba070[_0xa4b44e(0x30e)])['t'](_0xa4b44e(0x46a)),'icon':_0xa4b44e(0x189),'hidden$':_0x56fe1b(_0xfc4d7f)};}function _0x22dd34(_0x37c81){const _0x38f9a0=_0x185be1;return{'id':_0x1468ca['id'],'commandId':_0x1468ca['id'],'type':_0x21688c[_0x38f9a0(0x274)][_0x38f9a0(0x2b9)],'title':_0x37c81['get'](_0x1ba070['LocaleService'])['t'](_0x38f9a0(0x565)),'icon':_0x38f9a0(0x24c),'hidden$':_0x56fe1b(_0x37c81)};}let _0x5b9097={[_0x21688c[_0x185be1(0x36d)][_0x185be1(0x555)]]:{[_0x1b45e5['id']]:{'order':0x4,'menuItemFactory':_0x20768b}},[_0x21688c[_0x185be1(0x586)][_0x185be1(0x464)]]:{[_0x21688c[_0x185be1(0x2af)][_0x185be1(0x351)]]:{[_0xb862c8['id']]:{'order':0x0,'menuItemFactory':_0xe71819},[_0xb06e29['id']]:{'order':0x1,'menuItemFactory':_0x47de30},[_0x4c423d['id']]:{'order':0x3,'menuItemFactory':_0x1f915c},[_0x1468ca['id']]:{'order':0x4,'menuItemFactory':_0x22dd34}}}};function _0x2679c1(_0x18ceeb){const _0x502746=_0x185be1;return _0x18ceeb===_0x214e0a[_0x502746(0x3b0)][_0x502746(0x435)]||_0x18ceeb===_0x214e0a[_0x502746(0x3b0)][_0x502746(0x560)]||_0x18ceeb===_0x214e0a['ChartTypeBits'][_0x502746(0x552)]||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x2cc)])||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x444)])||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x4d6)])||_0x214e0a['chartBitsUtils'][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x46f)]);}function _0x3fa9dc(_0xaf464f){const _0x1e0b8c=_0x185be1;return _0x2679c1(_0xaf464f)||_0x214e0a[_0x1e0b8c(0x28f)][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a['ChartTypeBits'][_0x1e0b8c(0x383)])||_0x214e0a['chartBitsUtils'][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a[_0x1e0b8c(0x3b0)][_0x1e0b8c(0x41b)])||_0x214e0a[_0x1e0b8c(0x28f)][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a[_0x1e0b8c(0x3b0)][_0x1e0b8c(0x2db)]);}function _0x25eb04(_0x239441,_0x3d4743){const _0x201e3d=_0x185be1;let _0x1092b7=(0x0,_0x37f706[_0x201e3d(0x389)])(_0x239441,_0x3d4743),_0x31d3f8=_0x1092b7?(0x0,_0x37f706['resolveChartEditPanelRoute'])(_0x1092b7[_0x201e3d(0x22e)]):void 0x0;if(_0x1092b7&&_0x31d3f8)return{..._0x1092b7,'route':_0x31d3f8,'showFloatMenu':_0x3fa9dc(_0x239441[_0x201e3d(0x593)])&&_0x1092b7[_0x201e3d(0x21b)]};}var _0x370ca0=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x481570){const _0x4e71b5=_0x185be1;super(),this[_0x4e71b5(0x312)]=_0x481570,_0x3d73b3(this,_0x4e71b5(0x507),null),_0x3d73b3(this,_0x4e71b5(0x3fa),!0x1),_0x3d73b3(this,_0x4e71b5(0x1b0),!0x1);}[_0x185be1(0x377)](){const _0x4c90a8=_0x185be1;this['_disposed']||(this[_0x4c90a8(0x1b0)]=!0x0,!this[_0x4c90a8(0x3fa)]&&this[_0x4c90a8(0x507)]===null&&(this[_0x4c90a8(0x507)]=requestAnimationFrame(()=>this[_0x4c90a8(0x394)]())));}[_0x185be1(0x394)](){const _0x352380=_0x185be1;if(this[_0x352380(0x417)]||this['_running'])return;this[_0x352380(0x313)]();let _0x277110=this[_0x352380(0x312)]();_0x277110&&(this[_0x352380(0x3fa)]=!0x0,_0x277110['catch'](_0x31948b=>console['error'](_0x31948b))[_0x352380(0x28d)](()=>{const _0x273f5f=_0x352380;this[_0x273f5f(0x3fa)]=!0x1,this[_0x273f5f(0x1b0)]&&this[_0x273f5f(0x377)]();}));}['cancelPending'](){const _0x3637be=_0x185be1;this['_pending']=!0x1,this[_0x3637be(0x507)]!==null&&(cancelAnimationFrame(this[_0x3637be(0x507)]),this[_0x3637be(0x507)]=null);}[_0x185be1(0x4d8)](){const _0x24235e=_0x185be1;this[_0x24235e(0x313)](),super[_0x24235e(0x4d8)]();}},_0x11d874=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x5c95e8,_0xb0ab8f){const _0x284e56=_0x185be1;super(),this[_0x284e56(0x1b2)]=_0x5c95e8,this[_0x284e56(0x531)]=_0xb0ab8f,_0x3d73b3(this,'_scheduler',void 0x0),_0x3d73b3(this,'_geometry',void 0x0),this[_0x284e56(0x4cf)]=this[_0x284e56(0x1e6)](),this[_0x284e56(0x339)]=new _0x370ca0(()=>this['_updateGeometry']()),this[_0x284e56(0x3d7)](this['_scheduler']),this['disposeWithMe'](_0x5c95e8[_0x284e56(0x4bc)]['subscribeEvent'](()=>this['_scheduler'][_0x284e56(0x377)]()));}get[_0x185be1(0x194)](){const _0x47e524=_0x185be1;return this[_0x47e524(0x339)];}['_updateGeometry'](){const _0x41bb2a=_0x185be1;let _0x2050b9=this[_0x41bb2a(0x1e6)](),_0x2c3991=this['_geometry'],_0x491e20=_0x2050b9[_0x41bb2a(0x2bf)]!==_0x2c3991[_0x41bb2a(0x2bf)]||_0x2050b9[_0x41bb2a(0x2d7)]!==_0x2c3991[_0x41bb2a(0x2d7)];if(_0x491e20||_0x2050b9[_0x41bb2a(0x4e4)]!==_0x2c3991['left']||_0x2050b9[_0x41bb2a(0x2e8)]!==_0x2c3991[_0x41bb2a(0x2e8)])return this['_geometry']=_0x2050b9,this[_0x41bb2a(0x531)](_0x491e20);}[_0x185be1(0x1e6)](){const _0x4d3ca1=_0x185be1;let {left:_0x562cd9,top:_0x283edc,width:_0x48dea3,height:_0x1958e8}=this[_0x4d3ca1(0x1b2)];return{'left':_0x562cd9,'top':_0x283edc,'width':_0x48dea3,'height':_0x1958e8};}};function _0xb4e4c5(_0x1dc292,_0x32b326=0x1){const _0x24dfe1=_0x185be1;return{'width':Math[_0x24dfe1(0x18a)](_0x32b326,_0x1dc292[_0x24dfe1(0x2bf)]),'height':Math[_0x24dfe1(0x18a)](_0x32b326,_0x1dc292['height'])};}function _0xa8b433(_0x3fa06f,_0x1029a3={},_0x4142fc={'left':0x0,'top':0x0}){const _0x21b7d4=_0x185be1;let _0x2f5926=_0x1029a3[_0x21b7d4(0x2b8)]??0x1,_0x65b59d=_0x1029a3['scaleY']??0x1,_0x19f3ae=_0x37f706[_0x21b7d4(0x47b)]['resolve']({'logicalOuterRect':{'left':_0x4142fc['left']>0x0?-_0x4142fc[_0x21b7d4(0x4e4)]:0x0,'top':_0x4142fc[_0x21b7d4(0x2e8)]>0x0?-_0x4142fc[_0x21b7d4(0x2e8)]:0x0,..._0xb4e4c5(_0x3fa06f)},'scale':{'scaleX':_0x2f5926,'scaleY':_0x65b59d},'hostStyle':{},'contentMode':_0x37f706[_0x21b7d4(0x30f)]['Overlay']});return{'left':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x4e4)],'top':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2e8)],'width':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2bf)],'height':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2d7)],'scaleX':_0x2f5926,'scaleY':_0x65b59d};}function _0x519b59(_0x1ec340){const _0x5b7081=_0x185be1;switch(_0x1ec340[_0x5b7081(0x569)]){case _0x214e0a['ChartImageSourceType'][_0x5b7081(0x1cc)]:return _0x1ec340[_0x5b7081(0x431)];case _0x214e0a['ChartImageSourceType'][_0x5b7081(0x349)]:return _0x1ec340[_0x5b7081(0x421)];default:return;}}var _0x4613b7=class extends _0x1d47e2['Rect']{constructor(_0x1bc672,_0xc0f3d2,_0x23236f,_0x592aa8=()=>!0x1,_0x5dfc54=()=>{}){const _0x3adb06=_0x185be1;super(_0x1bc672,{..._0xc0f3d2,'evented':_0xc0f3d2[_0x3adb06(0x188)]??!0x0}),this[_0x3adb06(0x4c3)]=_0x23236f,this[_0x3adb06(0x3a7)]=_0x592aa8,this[_0x3adb06(0x400)]=_0x5dfc54,_0x3d73b3(this,_0x3adb06(0x539),null),_0x3d73b3(this,'_url',null),_0x3d73b3(this,_0x3adb06(0x225),null),_0x3d73b3(this,_0x3adb06(0x238),null),this[_0x3adb06(0x29a)](_0x1d47e2[_0x3adb06(0x33c)][_0x3adb06(0x31c)]);}['dispose'](){const _0x5a33a7=_0x185be1;this[_0x5a33a7(0x34d)](),this[_0x5a33a7(0x539)]=null,this[_0x5a33a7(0x525)]=null,this[_0x5a33a7(0x225)]=null,this[_0x5a33a7(0x400)](),super[_0x5a33a7(0x4d8)]();}['render'](_0x4933f1,_0x41f579){const _0x1d7ecb=_0x185be1;if(!this['visible'])return this[_0x1d7ecb(0x572)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x53eca6=this[_0x1d7ecb(0x4c3)]();return _0x53eca6&&this[_0x1d7ecb(0x436)](_0x53eca6),this['makeDirty'](!0x1),this;}if(!this[_0x1d7ecb(0x380)])return this;let {width:_0x24eee0,height:_0x2c1c2a,left:_0x3701e2,top:_0x5101da}=this['getRealBound']();if(this['isRender'](_0x41f579)){let {top:_0x48e5ee,left:_0x7f5311,bottom:_0x3fdd7d,right:_0x320c67}=_0x41f579[_0x1d7ecb(0x587)];if(_0x24eee0+this['strokeWidth']+_0x3701e2<_0x7f5311||_0x320c67<_0x3701e2||_0x2c1c2a+this[_0x1d7ecb(0x1c8)]+_0x5101da<_0x48e5ee||_0x3fdd7d<_0x5101da)return this;}let _0x5db178=this[_0x1d7ecb(0x380)]['getMatrix']();_0x4933f1['save']();let _0x3d0192=_0x3701e2+_0x24eee0/0x2,_0x1ca99b=_0x5101da+_0x2c1c2a/0x2;return _0x4933f1['transform'](_0x5db178[0x0],_0x5db178[0x1],_0x5db178[0x2],_0x5db178[0x3],_0x3d0192,_0x1ca99b),this[_0x1d7ecb(0x347)]!==0x1&&(_0x4933f1[_0x1d7ecb(0x291)]=this[_0x1d7ecb(0x347)]),this[_0x1d7ecb(0x3fb)](_0x4933f1,void 0x0,_0x24eee0,_0x2c1c2a),_0x4933f1[_0x1d7ecb(0x34a)](),this['makeDirty'](!0x1),this;}['_draw'](_0x46fc51,_0x478d60,_0x500d04=this['width'],_0x3dc6a9=this[_0x185be1(0x2d7)]){const _0x494b7b=_0x185be1;this[_0x494b7b(0x4bd)](_0x46fc51,_0x500d04,_0x3dc6a9,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x494b7b(0x233)](_0x46fc51,_0x500d04,_0x3dc6a9),this[_0x494b7b(0x4bd)](_0x46fc51,_0x500d04,_0x3dc6a9,{'fill':void 0x0});}[_0x185be1(0x4bd)](_0x305335,_0x32d552,_0x5e354b,_0x50ca9a){const _0x4b45d8=_0x185be1;_0x305335[_0x4b45d8(0x1e7)](),_0x305335[_0x4b45d8(0x4e8)](-_0x32d552/0x2,-_0x5e354b/0x2),_0x1d47e2[_0x4b45d8(0x4ad)]['drawWith'](_0x305335,_0xce2f89(this,_0x32d552,_0x5e354b,_0x50ca9a)),_0x305335['restore']();}[_0x185be1(0x207)](_0x175348){const _0x29ccc0=_0x185be1;let {left:_0x4d9158,top:_0x171018,width:_0x17dec3,height:_0x36a2b9}=this['getRealBound'](),_0x548c5c=_0x4d9158+_0x17dec3/0x2,_0x7b01ef=_0x171018+_0x36a2b9/0x2,_0x4358d2=this[_0x29ccc0(0x380)][_0x29ccc0(0x18d)](),_0x6aa88d=new _0x1d47e2[(_0x29ccc0(0x466))]([_0x4358d2[0x0],_0x4358d2[0x1],_0x4358d2[0x2],_0x4358d2[0x3],_0x548c5c,_0x7b01ef]),_0x20384e=this[_0x29ccc0(0x1e4)](),_0x592e54=(this[_0x29ccc0(0x294)]&&(_0x20384e==null?void 0x0:_0x20384e[_0x29ccc0(0x457)])===_0x1d47e2[_0x29ccc0(0x20e)][_0x29ccc0(0x47c)]?_0x20384e[_0x29ccc0(0x3bc)][_0x29ccc0(0x575)](_0x6aa88d):_0x6aa88d)[_0x29ccc0(0x3e4)]()[_0x29ccc0(0x4ab)](_0x175348),_0x550e4a=_0x17dec3/0x2,_0x5c3ed2=_0x36a2b9/0x2;return _0x592e54['x']>=-_0x550e4a-this[_0x29ccc0(0x1c8)]/0x2&&_0x592e54['x']<=_0x550e4a+this['strokeWidth']/0x2&&_0x592e54['y']>=-_0x5c3ed2-this[_0x29ccc0(0x1c8)]/0x2&&_0x592e54['y']<=_0x5c3ed2+this[_0x29ccc0(0x1c8)]/0x2;}[_0x185be1(0x233)](_0x194a70,_0x1ff8b2,_0x51363b){const _0x2fac39=_0x185be1;let _0x5ec302=this[_0x2fac39(0x4c3)](),_0x5358c6=_0x5ec302?this['_getDrawable'](_0x5ec302):void 0x0;if(!_0x5358c6)return;let {width:_0x3eb9cc,height:_0x5875cf}=_0xb4e4c5({'width':_0x1ff8b2,'height':_0x51363b},0x0);_0x3eb9cc!==0x0&&_0x5875cf!==0x0&&(_0x194a70[_0x2fac39(0x1e7)](),_0x194a70[_0x2fac39(0x4e8)](-_0x1ff8b2/0x2,-_0x51363b/0x2),_0x176795(_0x194a70,_0x3eb9cc,_0x5875cf,this[_0x2fac39(0x440)]),_0x194a70[_0x2fac39(0x30b)](),_0x194a70[_0x2fac39(0x2e3)](_0x5358c6,0x0,0x0,_0x3eb9cc,_0x5875cf),_0x194a70[_0x2fac39(0x34a)]());}[_0x185be1(0x436)](_0x34fcfa){const _0x211448=_0x185be1;var _0x39066e;let _0x3157b6=_0x519b59(_0x34fcfa);if(_0x3157b6)return _0x3157b6;if(_0x34fcfa['type']===_0x214e0a[_0x211448(0x4af)][_0x211448(0x24f)]&&(this['_requestedUrl']!==_0x34fcfa['url']&&(this['_requestedUrl']=_0x34fcfa[_0x211448(0x1a2)],this[_0x211448(0x34d)](),this['_url']!==_0x34fcfa[_0x211448(0x1a2)]&&this[_0x211448(0x3e2)](_0x34fcfa[_0x211448(0x1a2)])),(_0x39066e=this['_urlImage'])!=null&&_0x39066e['complete']&&this[_0x211448(0x539)][_0x211448(0x341)]>0x0&&this['_urlImage'][_0x211448(0x596)]>0x0))return this[_0x211448(0x539)];}['_loadUrlImage'](_0x2b3b93){const _0x58e20a=_0x185be1;let _0x2fb3bd=document[_0x58e20a(0x202)](_0x58e20a(0x51f));this['_pendingUrlImage']=_0x2fb3bd,_0x2fb3bd['crossOrigin']=_0x58e20a(0x2e7),_0x2fb3bd[_0x58e20a(0x487)]=()=>{const _0x1a961b=_0x58e20a;this[_0x1a961b(0x225)]===_0x2b3b93&&this[_0x1a961b(0x238)]===_0x2fb3bd&&(_0x2fb3bd[_0x1a961b(0x341)]>0x0&&_0x2fb3bd[_0x1a961b(0x596)]>0x0&&(this['_url']=_0x2b3b93,this[_0x1a961b(0x539)]=_0x2fb3bd),this[_0x1a961b(0x34d)](),this[_0x1a961b(0x572)](!0x0));},_0x2fb3bd[_0x58e20a(0x385)]=()=>{const _0x1ab85b=_0x58e20a;this[_0x1ab85b(0x238)]===_0x2fb3bd&&this[_0x1ab85b(0x34d)]();},_0x2fb3bd['src']=_0x2b3b93;}[_0x185be1(0x34d)](){const _0x32e472=_0x185be1;this[_0x32e472(0x238)]&&=(this[_0x32e472(0x238)]['onload']=null,this[_0x32e472(0x238)][_0x32e472(0x385)]=null,null);}};function _0xce2f89(_0x3c3b5b,_0x7aec6a,_0x2f1100,_0x332e9c){const _0x4fdb51=_0x185be1;let _0x8ecab9=Object[_0x4fdb51(0x51b)](_0x3c3b5b);return Object[_0x4fdb51(0x1ae)](_0x8ecab9,'width',{'value':_0x7aec6a}),Object[_0x4fdb51(0x1ae)](_0x8ecab9,_0x4fdb51(0x2d7),{'value':_0x2f1100}),Object[_0x4fdb51(0x57f)](_0x332e9c)['forEach'](_0x4031e3=>{const _0xb75209=_0x4fdb51;Object[_0xb75209(0x1ae)](_0x8ecab9,_0x4031e3,{'value':_0x332e9c[_0x4031e3]});}),_0x8ecab9;}function _0x176795(_0x30b7c4,_0x485c59,_0x39f8e5,_0x3e58f1){const _0x6407ca=_0x185be1;let _0x61fbe2=Math[_0x6407ca(0x56b)](_0x3e58f1||0x0,_0x485c59/0x2,_0x39f8e5/0x2);_0x30b7c4['beginPath'](),_0x61fbe2?(_0x30b7c4[_0x6407ca(0x475)](_0x61fbe2,0x0),_0x30b7c4[_0x6407ca(0x564)](_0x485c59-_0x61fbe2,0x0),_0x30b7c4[_0x6407ca(0x540)](_0x485c59-_0x61fbe2,_0x61fbe2,_0x61fbe2,Math['PI']*0x3/0x2,0x0,!0x1),_0x30b7c4[_0x6407ca(0x564)](_0x485c59,_0x39f8e5-_0x61fbe2),_0x30b7c4[_0x6407ca(0x540)](_0x485c59-_0x61fbe2,_0x39f8e5-_0x61fbe2,_0x61fbe2,0x0,Math['PI']/0x2,!0x1),_0x30b7c4[_0x6407ca(0x564)](_0x61fbe2,_0x39f8e5),_0x30b7c4[_0x6407ca(0x540)](_0x61fbe2,_0x39f8e5-_0x61fbe2,_0x61fbe2,Math['PI']/0x2,Math['PI'],!0x1),_0x30b7c4[_0x6407ca(0x564)](0x0,_0x61fbe2),_0x30b7c4[_0x6407ca(0x540)](_0x61fbe2,_0x61fbe2,_0x61fbe2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30b7c4[_0x6407ca(0x407)]()):(_0x30b7c4[_0x6407ca(0x4ee)](0x0,0x0,_0x485c59,_0x39f8e5),_0x30b7c4[_0x6407ca(0x407)]());}function _0x173e38(_0x9d4dd5){const _0x49503b=_0x185be1;(_0x9d4dd5==null?void 0x0:_0x9d4dd5[_0x49503b(0x569)])===_0x214e0a['ChartImageSourceType'][_0x49503b(0x349)]&&_0x9d4dd5[_0x49503b(0x421)][_0x49503b(0x579)]();}function _0x564ffd(_0x241fbe){const _0x421d05=_0x185be1;return _0x241fbe['unitId']+_0x421d05(0x298)+_0x241fbe[_0x421d05(0x50c)]+_0x421d05(0x298)+_0x241fbe[_0x421d05(0x4d9)];}var _0x437b6a=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(..._0x3c8ac8){const _0x2434b8=_0x185be1;super(..._0x3c8ac8),_0x3d73b3(this,_0x2434b8(0x2ba),new Map());}[_0x185be1(0x321)](_0xa2f677){const _0x172b13=_0x185be1;let _0x31a022=_0x564ffd(_0xa2f677),_0x20fae4=this['_entries'][_0x172b13(0x442)](_0x31a022)??{'version':0x0};return _0x20fae4[_0x172b13(0x477)]+=0x1,this[_0x172b13(0x2ba)]['set'](_0x31a022,_0x20fae4),_0x20fae4['version'];}[_0x185be1(0x546)](_0x330396,_0x2cb0b9){const _0x6e72c0=_0x185be1;var _0xd93545;return((_0xd93545=this['_entries']['get'](_0x564ffd(_0x330396)))==null?void 0x0:_0xd93545[_0x6e72c0(0x477)])===_0x2cb0b9;}[_0x185be1(0x1c7)](_0x20cc5e,_0x343c86,_0xa95723){const _0x5dfb7c=_0x185be1;if(!this[_0x5dfb7c(0x546)](_0x20cc5e,_0xa95723))return _0x173e38(_0x343c86),!0x1;let _0x398b3d=_0x564ffd(_0x20cc5e),_0x2656e9=this[_0x5dfb7c(0x2ba)][_0x5dfb7c(0x442)](_0x398b3d)??{'version':_0xa95723},_0x5ee743=_0x2656e9[_0x5dfb7c(0x231)];return _0x2656e9[_0x5dfb7c(0x231)]=_0x343c86,_0x2656e9['version']=_0xa95723,this[_0x5dfb7c(0x2ba)]['set'](_0x398b3d,_0x2656e9),_0x5ee743!==_0x343c86&&_0x173e38(_0x5ee743),!0x0;}['getImage'](_0x38140c){const _0x2c92b0=_0x185be1;var _0x155b9d;return(_0x155b9d=this[_0x2c92b0(0x2ba)]['get'](_0x564ffd(_0x38140c)))==null?void 0x0:_0x155b9d[_0x2c92b0(0x231)];}[_0x185be1(0x267)](_0x294d28){const _0x4064a9=_0x185be1;let _0x420edb=_0x564ffd(_0x294d28),_0x31a002=this[_0x4064a9(0x2ba)][_0x4064a9(0x442)](_0x420edb);_0x31a002&&(_0x173e38(_0x31a002['image']),this['_entries']['delete'](_0x420edb));}[_0x185be1(0x31e)](_0x45e532){const _0x28da69=_0x185be1;for(let [_0xdbd71f,_0x213cc5]of this['_entries'])_0xdbd71f[_0x28da69(0x2c4)](_0x28da69(0x298)+_0x45e532)&&(_0x173e38(_0x213cc5[_0x28da69(0x231)]),this[_0x28da69(0x2ba)]['delete'](_0xdbd71f));}[_0x185be1(0x4d8)](){const _0x584e5b=_0x185be1;this[_0x584e5b(0x2ba)]['forEach'](_0x1b7f87=>_0x173e38(_0x1b7f87['image'])),this[_0x584e5b(0x2ba)][_0x584e5b(0x20f)](),super['dispose']();}};function _0x5738e(_0x2a8431,_0x53129f=0x7d0){let _0x470f85=null,_0x4440a3=null,_0x127702=!0x1,_0x1a85ca=()=>{},_0x4f3fef=()=>{_0x470f85!=null&&(clearInterval(_0x470f85),_0x470f85=null),_0x4440a3!=null&&(clearTimeout(_0x4440a3),_0x4440a3=null);};return{'promise':new Promise((_0xa2edb1,_0x2b96d6)=>{_0x1a85ca=_0x2b96d6;let _0x2348d0=()=>{const _0x14cf48=_0x4020;let _0x32ece5=document[_0x14cf48(0x56e)](_0x2a8431);_0x32ece5&&!_0x127702&&(_0x127702=!0x0,_0x4f3fef(),_0xa2edb1(_0x32ece5));};_0x2348d0(),_0x127702||(_0x470f85=setInterval(_0x2348d0,16.666666666666668),_0x4440a3=setTimeout(()=>{const _0x3093f0=_0x4020;_0x127702||(_0x127702=!0x0,_0x4f3fef(),_0x2b96d6(Error(_0x3093f0(0x342)+_0x2a8431+'\x22.')));},_0x53129f));}),'cancel':()=>{const _0xd5fb57=_0x4020;_0x127702||(_0x127702=!0x0,_0x4f3fef(),_0x1a85ca(Error(_0xd5fb57(0x1b1)+_0x2a8431+'\x22.')));}};}var _0x792e16=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x2c7c93,_0x423671,_0x2fc9ad,_0x1cb4c0,_0x1ff6f5,_0x493fca,_0x8b0a60,_0x45c341){const _0x21740a=_0x185be1;super(),this['chartId']=_0x2c7c93,this['_getFloatDomInfo']=_0x423671,this[_0x21740a(0x462)]=_0x2fc9ad,this[_0x21740a(0x2a9)]=_0x1cb4c0,this['_isProviderDisposed']=_0x1ff6f5,this[_0x21740a(0x217)]=_0x493fca,this[_0x21740a(0x584)]=_0x8b0a60,this[_0x21740a(0x3a9)]=_0x45c341,_0x3d73b3(this,_0x21740a(0x463),_0x214e0a[_0x21740a(0x2a1)]['Dom']),_0x3d73b3(this,_0x21740a(0x2bd),null),_0x3d73b3(this,_0x21740a(0x39f),!0x1),_0x3d73b3(this,_0x21740a(0x53e),null),_0x3d73b3(this,'_pendingHost',null),_0x3d73b3(this,_0x21740a(0x395),null),_0x3d73b3(this,_0x21740a(0x3f9),{}),_0x3d73b3(this,_0x21740a(0x2e5),null),_0x3d73b3(this,_0x21740a(0x55a),null),_0x3d73b3(this,'_pointerEvents',null);}[_0x185be1(0x473)](){const _0x3e0885=_0x185be1;return this[_0x3e0885(0x39f)];}['markUnmanaged'](){const _0x57a707=_0x185be1;this[_0x57a707(0x39f)]=!0x1;}[_0x185be1(0x58a)](){const _0x186d53=_0x185be1;let _0x1f505c=this[_0x186d53(0x462)]();return _0x1f505c?{'width':_0x1f505c['width'],'height':_0x1f505c[_0x186d53(0x2d7)]}:null;}[_0x185be1(0x4d0)](_0x56993e){const _0x5a1889=_0x185be1;this['_hostStyle']=_0x56993e,this[_0x5a1889(0x2a9)](_0x56993e),this['_applyHostStyle']();}async['ensureHandle'](){const _0x32d374=_0x185be1;if(this[_0x32d374(0x417)]||this['_isProviderDisposed']())throw Error(_0x32d374(0x42d));let _0x7cd639=this[_0x32d374(0x393)](),_0x474e54=(_0x7cd639==null?void 0x0:_0x7cd639['domId'])??this['chartId'],_0x5cd2a1=document['getElementById'](_0x474e54);if(this[_0x32d374(0x2bd)]&&_0x5cd2a1!=null&&_0x5cd2a1[_0x32d374(0x483)](this[_0x32d374(0x2bd)]['mountNode']))return{'mountNode':this[_0x32d374(0x2bd)][_0x32d374(0x263)],'dispose':()=>{const _0x5ca131=_0x32d374;this['dispose'](),_0x7cd639==null||_0x7cd639[_0x5ca131(0x4d8)][_0x5ca131(0x4d8)]();}};if(this[_0x32d374(0x21a)])return this[_0x32d374(0x21a)];let _0x6046f5=this['_createHost']();return this[_0x32d374(0x21a)]=_0x6046f5,_0x6046f5[_0x32d374(0x57e)](()=>{const _0x517932=_0x32d374;this['_pendingHost']===_0x6046f5&&(this[_0x517932(0x21a)]=null);},()=>{const _0x44a5cf=_0x32d374;this[_0x44a5cf(0x21a)]===_0x6046f5&&(this[_0x44a5cf(0x21a)]=null);}),_0x6046f5;}async[_0x185be1(0x26b)](){const _0x4629fe=_0x185be1;try{return(await this[_0x4629fe(0x29f)]())[_0x4629fe(0x263)];}catch{return null;}}['checkMounted'](){const _0x12ddb9=_0x185be1;let _0x189ef4=this[_0x12ddb9(0x393)](),_0x5454ff=(_0x189ef4==null?void 0x0:_0x189ef4[_0x12ddb9(0x327)])??this[_0x12ddb9(0x4d9)],_0x3c5a98=document['getElementById'](_0x5454ff);return!!(this[_0x12ddb9(0x2bd)]&&_0x3c5a98!=null&&_0x3c5a98[_0x12ddb9(0x483)](this[_0x12ddb9(0x2bd)][_0x12ddb9(0x263)]));}[_0x185be1(0x17a)](){const _0x647af9=_0x185be1;if(!this[_0x647af9(0x2bd)])return;let _0x3e602b=this['_getPlacement']();_0x3e602b&&this[_0x647af9(0x2bd)][_0x647af9(0x43e)](this[_0x647af9(0x581)](_0x3e602b),this['_frameStyle']());}['markReady'](){const _0xcb81ef=_0x185be1;this[_0xcb81ef(0x217)]();}[_0x185be1(0x2d2)](){const _0x1bfdaa=_0x185be1;this[_0x1bfdaa(0x584)]();}[_0x185be1(0x51e)](_0x147c84){const _0x4792d5=_0x185be1;this[_0x4792d5(0x55a)]=_0x147c84;let _0x353803=this[_0x4792d5(0x393)](),_0x226c00=document[_0x4792d5(0x56e)]((_0x353803==null?void 0x0:_0x353803['domId'])??this[_0x4792d5(0x4d9)]);_0x226c00&&this[_0x4792d5(0x38d)](_0x226c00);}['dispose'](){const _0x37da9e=_0x185be1;var _0x4bc871,_0x3e339b;this['_disposed']||(this['markNotReady'](),this[_0x37da9e(0x53e)]=null,this[_0x37da9e(0x21a)]=null,this[_0x37da9e(0x40a)](),this[_0x37da9e(0x39f)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x4bc871=this['_pointerEvents'])==null||_0x4bc871[_0x37da9e(0x4d8)](),this[_0x37da9e(0x205)]=null,(_0x3e339b=this[_0x37da9e(0x2bd)])==null||_0x3e339b[_0x37da9e(0x4d8)](),this[_0x37da9e(0x2bd)]=null,this[_0x37da9e(0x570)](),super[_0x37da9e(0x4d8)]());}async[_0x185be1(0x409)](){const _0x3b2890=_0x185be1;let _0x39e002=this[_0x3b2890(0x393)]();if(!_0x39e002)throw Error(_0x3b2890(0x42d));let _0x41add0=_0x39e002['domId']??this[_0x3b2890(0x4d9)],_0x4878f8=_0x5738e(_0x41add0),_0x3f6be8=Symbol(this[_0x3b2890(0x4d9)]);this['_pendingToken']=_0x3f6be8,this[_0x3b2890(0x395)]=_0x4878f8;try{var _0x5b97f0;let _0x506fa3=await _0x4878f8[_0x3b2890(0x588)],_0x5c9ed4=this[_0x3b2890(0x393)](),_0x46bbcb=(_0x5c9ed4==null?void 0x0:_0x5c9ed4[_0x3b2890(0x327)])??this['chartId'];if(this['_disposed']||this[_0x3b2890(0x3d4)]()||this[_0x3b2890(0x53e)]!==_0x3f6be8||!_0x5c9ed4||_0x46bbcb!==_0x41add0||document[_0x3b2890(0x56e)](_0x41add0)!==_0x506fa3||!_0x506fa3['isConnected'])throw Error(_0x3b2890(0x42d));let _0x2dd0b1=this['_getPlacement']();if(!_0x2dd0b1)throw Error(_0x3b2890(0x42d));let _0x38be07=new _0x37f706[(_0x3b2890(0x245))](_0x506fa3);return _0x38be07['update'](this[_0x3b2890(0x581)](_0x2dd0b1),this[_0x3b2890(0x2f3)]()),this[_0x3b2890(0x54d)](_0x506fa3),this[_0x3b2890(0x2bd)]=_0x38be07,(_0x5b97f0=this[_0x3b2890(0x205)])==null||_0x5b97f0[_0x3b2890(0x4d8)](),this[_0x3b2890(0x205)]=this['_bindPointerEvents'](_0x506fa3),this[_0x3b2890(0x39f)]=!0x0,{'mountNode':_0x38be07[_0x3b2890(0x263)],'dispose':()=>{const _0x3c40ef=_0x3b2890;this[_0x3c40ef(0x4d8)](),_0x39e002[_0x3c40ef(0x4d8)]['dispose']();}};}finally{this[_0x3b2890(0x395)]===_0x4878f8&&(this[_0x3b2890(0x395)]=null),this['_pendingToken']===_0x3f6be8&&(this['_pendingToken']=null);}}[_0x185be1(0x40a)](){const _0x455de9=_0x185be1;let _0x4bdee8=this['_waiter'];_0x4bdee8&&(_0x4bdee8['cancel'](),this[_0x455de9(0x395)]=null);}[_0x185be1(0x18b)](){const _0x14b948=_0x185be1;let _0x4de6e2=this[_0x14b948(0x462)]();this['_domFrame']&&_0x4de6e2&&this[_0x14b948(0x2bd)][_0x14b948(0x43e)](this[_0x14b948(0x581)](_0x4de6e2),this['_frameStyle']());}[_0x185be1(0x581)](_0x2c1c07){const _0x5cf62a=_0x185be1;return _0x37f706[_0x5cf62a(0x47b)][_0x5cf62a(0x424)]({'logicalOuterRect':{'left':_0x2c1c07[_0x5cf62a(0x4e4)],'top':_0x2c1c07['top'],'width':_0x2c1c07[_0x5cf62a(0x2bf)],'height':_0x2c1c07[_0x5cf62a(0x2d7)]},'scale':{'scaleX':_0x2c1c07[_0x5cf62a(0x2b8)],'scaleY':_0x2c1c07[_0x5cf62a(0x22b)]},'hostStyle':this[_0x5cf62a(0x2f3)](),'contentMode':_0x37f706['ChartFrameContentMode'][_0x5cf62a(0x452)]});}[_0x185be1(0x2f3)](){const _0x3890dc=_0x185be1;return{...this[_0x3890dc(0x3f9)],'radius':_0x37f706[_0x3890dc(0x530)]};}[_0x185be1(0x54d)](_0xfe6cee){const _0x38dc1e=_0x185be1;let _0x40dea1=_0xfe6cee['parentElement'];_0x40dea1&&(this[_0x38dc1e(0x2e5)]||={'zIndex':_0x40dea1[_0x38dc1e(0x1c3)][_0x38dc1e(0x33f)],'pointerEvents':_0x40dea1[_0x38dc1e(0x1c3)]['pointerEvents']},_0x40dea1['style'][_0x38dc1e(0x33f)]=_0x38dc1e(0x31d),this[_0x38dc1e(0x38d)](_0xfe6cee));}[_0x185be1(0x38d)](_0x539669){const _0x1246c4=_0x185be1;let _0x189e1c=_0x539669[_0x1246c4(0x287)];if(!_0x189e1c)return;let _0x1b2a2a=this['_dataUpdateAnimationDuration'];_0x1b2a2a==null?(delete _0x539669['dataset']['sheetChartDataAnimation'],delete _0x539669['dataset'][_0x1246c4(0x367)],_0x189e1c['style'][_0x1246c4(0x295)]=_0x1246c4(0x3de)):(_0x539669[_0x1246c4(0x434)]['sheetChartDataAnimation']=_0x1246c4(0x315),_0x539669['dataset'][_0x1246c4(0x367)]=String(_0x1b2a2a),_0x189e1c[_0x1246c4(0x1c3)]['pointerEvents']=_0x1246c4(0x3b6));}[_0x185be1(0x570)](){const _0x4c7d4b=_0x185be1;if(!this[_0x4c7d4b(0x2e5)])return;let _0x3468f1=this[_0x4c7d4b(0x393)](),_0x54dc35=(_0x3468f1==null?void 0x0:_0x3468f1[_0x4c7d4b(0x327)])??this['chartId'],_0x48742a=document[_0x4c7d4b(0x56e)](_0x54dc35);_0x48742a==null||delete _0x48742a[_0x4c7d4b(0x434)][_0x4c7d4b(0x28b)],_0x48742a==null||delete _0x48742a[_0x4c7d4b(0x434)][_0x4c7d4b(0x367)];let _0x15a773=_0x48742a==null?void 0x0:_0x48742a[_0x4c7d4b(0x287)];_0x15a773&&(_0x15a773[_0x4c7d4b(0x1c3)][_0x4c7d4b(0x33f)]=this[_0x4c7d4b(0x2e5)][_0x4c7d4b(0x33f)],_0x15a773[_0x4c7d4b(0x1c3)][_0x4c7d4b(0x295)]=this[_0x4c7d4b(0x2e5)][_0x4c7d4b(0x295)]),this[_0x4c7d4b(0x2e5)]=null;}},_0x2c5282=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x3bc844,_0x4af276,_0x30c6d1,_0x3f1907){const _0x43644f=_0x185be1;super(),this[_0x43644f(0x471)]=_0x4af276,_0x3d73b3(this,'_gesture',null),_0x3d73b3(this,'_suppressClick',!0x1);let _0x1efd21=_0x2ca67c=>{const _0x227087=_0x43644f;this[_0x227087(0x4c5)]&&(_0x2ca67c[_0x227087(0x4a6)](),_0x2ca67c['stopImmediatePropagation']());},_0x27a063=_0xb05423=>{const _0x3feb21=_0x43644f;let _0xde55b4=this['_gesture'];(_0xde55b4==null?void 0x0:_0xde55b4['event'][_0x3feb21(0x554)])===_0xb05423[_0x3feb21(0x554)]&&!_0xde55b4[_0x3feb21(0x22e)][_0x3feb21(0x258)](_0xb05423[_0x3feb21(0x554)])&&this[_0x3feb21(0x246)]();};_0x3bc844[_0x43644f(0x276)](_0x43644f(0x232),_0x1efd21,!0x0),_0x3bc844[_0x43644f(0x276)](_0x43644f(0x372),_0x1efd21,!0x0),_0x3bc844[_0x43644f(0x276)](_0x43644f(0x4cb),_0x27a063),this[_0x43644f(0x3d7)]((0x0,_0x1ba070[_0x43644f(0x410)])(()=>{const _0x32cca3=_0x43644f;_0x3bc844[_0x32cca3(0x1ba)](_0x32cca3(0x232),_0x1efd21,!0x0),_0x3bc844[_0x32cca3(0x1ba)](_0x32cca3(0x372),_0x1efd21,!0x0),_0x3bc844['removeEventListener'](_0x32cca3(0x4cb),_0x27a063),_0x3f1907(_0x4af276);})),this[_0x43644f(0x3d7)](_0x30c6d1['subscribe'](()=>{const _0x2d162e=_0x43644f;this[_0x2d162e(0x1c2)]&&(this[_0x2d162e(0x4c5)]=!0x0);})),_0x3f1907({'onPointerDown':_0xd461cd=>{const _0x4c4074=_0x43644f;this[_0x4c4074(0x4c5)]=!0x1,_0xd461cd instanceof PointerEvent&&_0xd461cd[_0x4c4074(0x22e)]instanceof Element&&_0x3bc844[_0x4c4074(0x483)](_0xd461cd['target'])&&(this[_0x4c4074(0x1c2)]={'target':_0xd461cd[_0x4c4074(0x22e)],'event':_0xd461cd}),_0x4af276['onPointerDown'](_0xd461cd),this[_0x4c4074(0x219)](_0xd461cd);},'onPointerMove':_0x1fb34c=>{const _0x235c13=_0x43644f;_0x4af276[_0x235c13(0x3f3)](_0x1fb34c),this[_0x235c13(0x219)](_0x1fb34c);},'onPointerUp':_0x195e07=>{const _0x186e67=_0x43644f;try{_0x4af276[_0x186e67(0x1f4)](_0x195e07);}finally{var _0x145c8b;_0x195e07 instanceof PointerEvent&&((_0x145c8b=this['_gesture'])==null?void 0x0:_0x145c8b[_0x186e67(0x4ff)][_0x186e67(0x554)])===_0x195e07[_0x186e67(0x554)]&&this[_0x186e67(0x4ec)]();}}});}['dispose'](){const _0x4f2397=_0x185be1;this['_disposed']||(this[_0x4f2397(0x246)](),super[_0x4f2397(0x4d8)]());}[_0x185be1(0x219)](_0x21bf46){const _0x102345=_0x185be1;let _0x2bc9f3=this[_0x102345(0x1c2)];_0x21bf46 instanceof PointerEvent&&(_0x2bc9f3==null?void 0x0:_0x2bc9f3[_0x102345(0x4ff)]['pointerId'])===_0x21bf46[_0x102345(0x554)]&&(_0x2bc9f3[_0x102345(0x4ff)]=_0x21bf46,_0x2bc9f3[_0x102345(0x22e)]['isConnected']?_0x2bc9f3[_0x102345(0x22e)][_0x102345(0x41d)](_0x21bf46[_0x102345(0x554)]):this[_0x102345(0x246)]());}['_releaseGesture'](){const _0x2908ab=_0x185be1;let _0x277ec6=this[_0x2908ab(0x1c2)];this['_gesture']=null,_0x277ec6!=null&&_0x277ec6[_0x2908ab(0x22e)][_0x2908ab(0x258)](_0x277ec6['event'][_0x2908ab(0x554)])&&_0x277ec6['target'][_0x2908ab(0x2d4)](_0x277ec6[_0x2908ab(0x4ff)][_0x2908ab(0x554)]);}[_0x185be1(0x246)](){const _0x57a8ef=_0x185be1;let _0x338e34=this[_0x57a8ef(0x1c2)];this[_0x57a8ef(0x4ec)](),_0x338e34&&this[_0x57a8ef(0x471)]['onPointerUp'](new PointerEvent(_0x57a8ef(0x2dd),_0x338e34[_0x57a8ef(0x4ff)]));}},_0x311011=class extends _0x214e0a['ImageChartHost']{constructor(_0x1fc059,_0x40ceff,_0x52e8b6,_0x27c41a,_0x2b5fc0,_0xdd3b09){const _0x1c69d3=_0x185be1;super(_0x1fc059),this['_getOuterRect']=_0x40ceff,this[_0x1c69d3(0x2a9)]=_0x52e8b6,this[_0x1c69d3(0x1fb)]=_0x27c41a,this[_0x1c69d3(0x345)]=_0x2b5fc0,this[_0x1c69d3(0x535)]=_0xdd3b09;}['getRect'](){const _0x363033=_0x185be1;let _0x40f635=this[_0x363033(0x547)]();return _0x40f635?_0xb4e4c5(_0x40f635):null;}[_0x185be1(0x4d0)](_0x4d9067){this['_setHostStyle'](_0x4d9067);}[_0x185be1(0x321)](){const _0x267852=_0x185be1;return this['_snapshotStore'][_0x267852(0x321)](this[_0x267852(0x1fb)]);}[_0x185be1(0x4a7)](_0x1ff083,_0x506472){const _0x10f0a4=_0x185be1;return this[_0x10f0a4(0x345)]['setImage'](this[_0x10f0a4(0x1fb)],_0x1ff083,_0x506472);}[_0x185be1(0x3ce)](){const _0x10e2f2=_0x185be1;this[_0x10e2f2(0x535)]();}[_0x185be1(0x2ce)](){const _0x4d12fb=_0x185be1;this[_0x4d12fb(0x345)][_0x4d12fb(0x321)](this[_0x4d12fb(0x1fb)]);}};let _0x18915e=0.5;function _0xbe7594(_0x229f4c){const _0x488404=_0x185be1;let _0x28bb44=Math[_0x488404(0x18a)](_0x229f4c['endX']-_0x229f4c[_0x488404(0x4ce)],0x0),_0x57dc84=Math[_0x488404(0x18a)](_0x229f4c[_0x488404(0x426)]-_0x229f4c[_0x488404(0x4a5)],0x0),_0x47c12c=_0x229f4c['absolute'][_0x488404(0x4e4)]&&_0x229f4c[_0x488404(0x2bf)]-_0x28bb44>_0x18915e,_0x3771da=_0x229f4c[_0x488404(0x378)][_0x488404(0x2e8)]&&_0x229f4c[_0x488404(0x2d7)]-_0x57dc84>_0x18915e;return!_0x47c12c&&!_0x3771da?_0x229f4c:{..._0x229f4c,'absolute':{'left':!_0x47c12c&&_0x229f4c[_0x488404(0x378)][_0x488404(0x4e4)],'top':!_0x3771da&&_0x229f4c[_0x488404(0x378)][_0x488404(0x2e8)]}};}function _0x11b810(_0x9dd616){const _0x41e565=_0x185be1;if(!Object[_0x41e565(0x187)][_0x41e565(0x509)]['call'](_0x9dd616,_0x41e565(0x3fe)))return _0x9dd616;let {border:_0x55fc8f,..._0x5cdecf}=_0x9dd616;return{..._0x5cdecf,'stroke':(_0x55fc8f==null?void 0x0:_0x55fc8f[_0x41e565(0x27f)])??_0x41e565(0x1f7),'strokeWidth':(_0x55fc8f==null?void 0x0:_0x55fc8f[_0x41e565(0x2bf)])??0x0};}let _0x3fe827=class extends _0x1ba070['Disposable']{constructor(_0x44912d,_0x18ef64,_0x32e451,_0x13c7ca){const _0x367df4=_0x185be1;super(),this[_0x367df4(0x1ff)]=_0x44912d,this[_0x367df4(0x51d)]=_0x18ef64,this['_chartSnapshotStoreService']=_0x32e451,this[_0x367df4(0x56a)]=_0x13c7ca,_0x3d73b3(this,_0x367df4(0x261),new Map()),_0x3d73b3(this,_0x367df4(0x2f1),new Set()),_0x3d73b3(this,_0x367df4(0x359),new _0x5e3636[(_0x367df4(0x362))]()),_0x3d73b3(this,'removeHost$',this[_0x367df4(0x359)][_0x367df4(0x438)]()),this[_0x367df4(0x3d7)](this[_0x367df4(0x1ff)][_0x367df4(0x1c4)]['subscribe'](_0x2fc6cc=>{const _0x395bf0=_0x367df4;let _0x861914=this[_0x395bf0(0x261)][_0x395bf0(0x442)](_0x2fc6cc['id']);_0x861914!=null&&_0x861914[_0x395bf0(0x473)]()&&(_0x861914['markUnmanaged'](),this[_0x395bf0(0x359)]['next'](_0x2fc6cc['id']));}));}[_0x185be1(0x390)](_0x2857c9){const _0x1b4a90=_0x185be1;if(_0x2857c9==null)return;let _0x138a84=this['_renderManagerService'][_0x1b4a90(0x3ef)](_0x2857c9),_0x3d4f88=_0x138a84==null?void 0x0:_0x138a84[_0x1b4a90(0x493)];return _0x138a84==null||_0x3d4f88==null?null:{'scene':_0x3d4f88,'transformer':_0x3d4f88['getTransformerByCreate'](),'renderUnit':_0x138a84,'canvas':_0x138a84[_0x1b4a90(0x40f)][_0x1b4a90(0x1b7)]()};}['setBorder'](_0x4c92f7,_0x3b370c){const _0x50ca3d=_0x185be1;let _0x49d2b1=this[_0x50ca3d(0x1ff)],_0x48887f=_0x3b370c||'transparent',_0xb40ce8=_0x49d2b1[_0x50ca3d(0x277)](_0x4c92f7);if(_0xb40ce8){let {unitId:_0x26fb25,subUnitId:_0x57624a}=_0xb40ce8;_0x49d2b1['updateFloatDomProps'](_0x26fb25,_0x57624a,_0x4c92f7,{'stroke':_0x48887f});}}['setHostStyle'](_0xadbe23,_0x3c4210){const _0x140013=_0x185be1;let _0x5f03dc=this[_0x140013(0x1ff)],_0x4973de=_0x5f03dc[_0x140013(0x277)](_0xadbe23);if(_0x4973de){let {unitId:_0x169789,subUnitId:_0x5576b6}=_0x4973de;_0x5f03dc[_0x140013(0x3cb)](_0x169789,_0x5576b6,_0xadbe23,_0x11b810(_0x3c4210));}}[_0x185be1(0x45c)](_0x13d5e5){const _0x2adc0b=_0x185be1;let _0x40405c=this[_0x2adc0b(0x1ff)][_0x2adc0b(0x277)](_0x13d5e5);return _0x40405c?_0x40405c[_0x2adc0b(0x4ee)]:null;}[_0x185be1(0x505)](_0x31c451){const _0x1b8e73=_0x185be1;let _0x31f53b=this[_0x1b8e73(0x1ff)][_0x1b8e73(0x277)](_0x31c451),_0x422ba3=document['getElementById']((_0x31f53b==null?void 0x0:_0x31f53b[_0x1b8e73(0x327)])??_0x31c451);return(_0x422ba3==null?void 0x0:_0x422ba3['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x537512,_0x57d2ba){const _0x319bb6=_0x185be1;var _0x29bb77;(_0x29bb77=this[_0x319bb6(0x261)][_0x319bb6(0x442)](_0x537512))==null||_0x29bb77[_0x319bb6(0x51e)](_0x57d2ba);}[_0x185be1(0x4e0)](_0x2767fa){const _0x380bf4=_0x185be1;var _0xcd8849;return((_0xcd8849=this[_0x380bf4(0x261)][_0x380bf4(0x442)](_0x2767fa))==null?void 0x0:_0xcd8849[_0x380bf4(0x37f)]())??!0x1;}['syncHostLayout'](_0x3080b4){const _0x33cd38=_0x185be1;var _0x3ab472;(_0x3ab472=this[_0x33cd38(0x261)]['get'](_0x3080b4))==null||_0x3ab472[_0x33cd38(0x17a)]();}[_0x185be1(0x252)](_0x47718e){const _0x410986=_0x185be1;let _0x50ea63=this[_0x410986(0x261)]['get'](_0x47718e);_0x50ea63&&(_0x50ea63[_0x410986(0x4d8)](),this['_canvasFloatDomService']['updateFloatDom'](_0x47718e,{'eventPassThrough':!0x0})),this[_0x410986(0x261)][_0x410986(0x2e1)](_0x47718e);}async[_0x185be1(0x3d3)](_0x147f3b,_0x3ff653){const _0x115849=_0x185be1;if(_0x3ff653===_0x214e0a['ChartRenderMode'][_0x115849(0x1bb)])return this[_0x115849(0x4f0)](_0x147f3b);if(_0x3ff653===_0x214e0a['ChartRenderMode']['Dom'])return this[_0x115849(0x425)](_0x147f3b);let _0x4fb662=this[_0x115849(0x425)](_0x147f3b);if(!_0x4fb662)throw Error(_0x115849(0x42d));return _0x4fb662[_0x115849(0x29f)]();}['isDomReady'](_0x54e089){const _0x20156b=_0x185be1;var _0x18239d;return this[_0x20156b(0x2f1)][_0x20156b(0x4b2)](_0x54e089)?(_0x18239d=this[_0x20156b(0x261)][_0x20156b(0x442)](_0x54e089))!=null&&_0x18239d['checkMounted']()?!0x0:(this[_0x20156b(0x2f1)][_0x20156b(0x2e1)](_0x54e089),this['_restoreFloatDomPositionStream'](_0x54e089),!0x1):!0x1;}[_0x185be1(0x28e)](_0x5b51d0){const _0x2a8e21=_0x185be1;this['_activeDomReadyChartIds'][_0x2a8e21(0x2e1)](_0x5b51d0)&&(this[_0x2a8e21(0x26e)](_0x5b51d0),this[_0x2a8e21(0x1cd)](_0x5b51d0));}['invalidateSnapshot'](_0x2a382b){const _0x3615d6=_0x185be1;let _0x5bb988=this[_0x3615d6(0x4b3)](_0x2a382b);_0x5bb988&&this[_0x3615d6(0x3f6)][_0x3615d6(0x321)](_0x5bb988);}[_0x185be1(0x4f0)](_0x14dd88){const _0x34e000=_0x185be1;let _0x29ed6f=this[_0x34e000(0x4b3)](_0x14dd88);return!_0x29ed6f||!this['getHostSize'](_0x14dd88)?null:new _0x311011(_0x14dd88,()=>this[_0x34e000(0x45c)](_0x14dd88),_0x560d2e=>this[_0x34e000(0x4f2)](_0x14dd88,_0x560d2e),_0x29ed6f,this['_chartSnapshotStoreService'],()=>this[_0x34e000(0x1cd)](_0x14dd88));}[_0x185be1(0x425)](_0x5390e2){const _0x472aa4=_0x185be1;if(!this[_0x472aa4(0x45c)](_0x5390e2))return null;this['_canvasFloatDomService'][_0x472aa4(0x243)](_0x5390e2,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x51f341=this['_chartHostMap']['get'](_0x5390e2);if(_0x51f341)return _0x51f341;let _0x4e9287=new _0x792e16(_0x5390e2,()=>this[_0x472aa4(0x1ff)][_0x472aa4(0x277)](_0x5390e2),()=>this['_getHostPlacement'](_0x5390e2),_0x15d901=>this[_0x472aa4(0x4f2)](_0x5390e2,_0x15d901),()=>this[_0x472aa4(0x417)],()=>this['_markHostReady'](_0x5390e2),()=>this[_0x472aa4(0x28e)](_0x5390e2),_0x32d5c0=>this[_0x472aa4(0x4e2)](_0x5390e2,_0x32d5c0));return this['_chartHostMap'][_0x472aa4(0x45e)](_0x5390e2,_0x4e9287),_0x4e9287;}[_0x185be1(0x4e2)](_0x33bee9,_0x1d2d05){const _0x5b9766=_0x185be1;var _0x2e3c52;let _0x33fe46=this[_0x5b9766(0x1ff)][_0x5b9766(0x277)](_0x33bee9),_0x37e08b=(_0x2e3c52=this[_0x5b9766(0x56a)][_0x5b9766(0x17c)][_0x5b9766(0x2a3)](([_0x5bd3d8])=>_0x5bd3d8===_0x33bee9))==null?void 0x0:_0x2e3c52[0x1],_0x431ba9=_0x33fe46?this[_0x5b9766(0x390)](_0x33fe46[_0x5b9766(0x2ac)]):null;if(!_0x33fe46||!_0x37e08b||!_0x431ba9)return(0x0,_0x1ba070[_0x5b9766(0x410)])(()=>{});let _0x4ed94d=(0x0,_0x135c9c[_0x5b9766(0x224)])({'unitId':_0x33fe46[_0x5b9766(0x2ac)],'subUnitId':_0x33fe46[_0x5b9766(0x50c)],'drawingId':_0x33bee9});return new _0x2c5282(_0x1d2d05,{'onPointerDown':_0x37e08b[_0x5b9766(0x3d2)],'onPointerMove':_0x37e08b['onPointerMove'],'onPointerUp':_0x37e08b[_0x5b9766(0x1f4)]},_0x431ba9[_0x5b9766(0x532)][_0x5b9766(0x4df)][_0x5b9766(0x4d3)]((0x0,_0x5e3636[_0x5b9766(0x3e6)])(_0x4db467=>_0x4db467[_0x5b9766(0x25c)][_0x5b9766(0x4b2)](_0x4ed94d)&&((_0x4db467[_0x5b9766(0x428)]??0x0)!==0x0||(_0x4db467['moveY']??0x0)!==0x0))),_0x1c9eb7=>this[_0x5b9766(0x56a)][_0x5b9766(0x243)](_0x33bee9,_0x1c9eb7));}[_0x185be1(0x4b6)](_0x367a37){const _0x38afad=_0x185be1;this[_0x38afad(0x2f1)][_0x38afad(0x4b2)](_0x367a37)||(this[_0x38afad(0x2f1)]['add'](_0x367a37),this['_alignFloatDomPositionWithSceneRender'](_0x367a37),this[_0x38afad(0x1cd)](_0x367a37));}[_0x185be1(0x355)](_0x176e5b){const _0x356c91=_0x185be1;var _0x1c96ce;let _0x2cba7a=this[_0x356c91(0x1ff)][_0x356c91(0x277)](_0x176e5b),_0x20d30f=_0x2cba7a?(_0x1c96ce=this[_0x356c91(0x51d)][_0x356c91(0x3ef)](_0x2cba7a[_0x356c91(0x2ac)]))==null?void 0x0:_0x1c96ce[_0x356c91(0x493)]:null;if(!_0x2cba7a||!_0x20d30f)return;let _0x3f20be=(0x0,_0x5e3636[_0x356c91(0x2a5)])(_0x2cba7a[_0x356c91(0x541)]['pipe']((0x0,_0x5e3636[_0x356c91(0x22c)])(0x1)),_0x20d30f[_0x356c91(0x1ea)][_0x356c91(0x4d3)]((0x0,_0x5e3636[_0x356c91(0x4f3)])(_0x2cba7a['position$']),(0x0,_0x5e3636[_0x356c91(0x18e)])(([,_0x3b1449])=>_0x3b1449)))[_0x356c91(0x4d3)]((0x0,_0x5e3636[_0x356c91(0x306)])(),(0x0,_0x5e3636[_0x356c91(0x18e)])(_0xbe7594));this[_0x356c91(0x56a)][_0x356c91(0x243)](_0x176e5b,{'position$':_0x3f20be});}[_0x185be1(0x26e)](_0x37fbbc){const _0x1521f1=_0x185be1;let _0x2f81b8=this[_0x1521f1(0x1ff)]['getFloatDomInfo'](_0x37fbbc);_0x2f81b8&&this['_canvasFloatDomService'][_0x1521f1(0x243)](_0x37fbbc,{'position$':_0x2f81b8[_0x1521f1(0x541)]});}[_0x185be1(0x4b3)](_0x363000){const _0x1fd9ec=_0x185be1;let _0x1611a4=this[_0x1fd9ec(0x1ff)][_0x1fd9ec(0x277)](_0x363000);return _0x1611a4?{'unitId':_0x1611a4['unitId'],'subUnitId':_0x1611a4['subUnitId'],'chartId':_0x363000}:null;}['_requestChartCanvasRender'](_0x49d1ff){const _0xe10c47=_0x185be1;var _0xf2f798,_0x38ec36,_0xcba4df;let _0x198ef4=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x49d1ff);if(!_0x198ef4)return;let _0x3d3366=(_0xf2f798=this[_0xe10c47(0x51d)]['getRenderUnitById'](_0x198ef4[_0xe10c47(0x2ac)]))==null?void 0x0:_0xf2f798['scene'],_0x206f3c=(_0x3d3366==null||(_0x38ec36=_0x3d3366[_0xe10c47(0x4de)])==null?void 0x0:_0x38ec36[_0xe10c47(0x371)](_0x3d3366,(0x0,_0x135c9c['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x198ef4[_0xe10c47(0x2ac)],'subUnitId':_0x198ef4['subUnitId'],'drawingId':_0x49d1ff})))??(_0x3d3366==null?void 0x0:_0x3d3366['getObject']((0x0,_0x135c9c[_0xe10c47(0x224)])({'unitId':_0x198ef4[_0xe10c47(0x2ac)],'subUnitId':_0x198ef4[_0xe10c47(0x50c)],'drawingId':_0x49d1ff})))??null;_0x206f3c==null||(_0xcba4df=_0x206f3c['makeDirty'])==null||_0xcba4df[_0xe10c47(0x371)](_0x206f3c,!0x0),_0x3d3366==null||_0x3d3366[_0xe10c47(0x572)](!0x0);}[_0x185be1(0x24b)](_0x58a5bf){const _0x2972d7=_0x185be1;let _0x2d26b7=this[_0x2972d7(0x1ff)][_0x2972d7(0x277)](_0x58a5bf);if(!_0x2d26b7)return null;let _0x3e7919=this[_0x2972d7(0x390)](_0x2d26b7['unitId']),_0x290c37=_0x3e7919==null?void 0x0:_0x3e7919[_0x2972d7(0x493)],_0x4bc370=document[_0x2972d7(0x56e)](_0x2d26b7[_0x2972d7(0x327)]??_0x58a5bf);return _0xa8b433(_0x2d26b7[_0x2972d7(0x4ee)],{'scaleX':(_0x290c37==null?void 0x0:_0x290c37[_0x2972d7(0x2b8)])??0x1,'scaleY':(_0x290c37==null?void 0x0:_0x290c37[_0x2972d7(0x22b)])??0x1},_0x4bc370?{'left':_0x4bc370[_0x2972d7(0x4dd)],'top':_0x4bc370[_0x2972d7(0x50b)]}:void 0x0);}['dispose'](){const _0x18b42a=_0x185be1;this[_0x18b42a(0x417)]||(Array['from'](this[_0x18b42a(0x261)]['keys']())['forEach'](_0x4ea283=>this[_0x18b42a(0x252)](_0x4ea283)),this[_0x18b42a(0x2f1)]['clear'](),this[_0x18b42a(0x359)][_0x18b42a(0x357)](),super[_0x18b42a(0x4d8)]());}};_0x3fe827=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1d47e2['IRenderManagerService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x437b6a)),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['CanvasFloatDomService']))],_0x3fe827);let _0xd413d=(0x0,_0x1ba070['createIdentifier'])(_0x185be1(0x4eb)),_0x1d526d=_0x214e0a[_0x185be1(0x2a1)][_0x185be1(0x1bb)];var _0x2da126=class extends _0x214e0a[_0x185be1(0x3b3)]{constructor(_0x5051f7,_0x4b9cf3){const _0x12ca4b=_0x185be1;super(_0x5051f7),this[_0x12ca4b(0x1b2)]=_0x4b9cf3,_0x3d73b3(this,_0x12ca4b(0x183),0x0),_0x3d73b3(this,'_image',void 0x0),_0x3d73b3(this,_0x12ca4b(0x1c3),{});}['getRect'](){return this['_rect'];}[_0x185be1(0x4d0)](_0x469177){const _0x130438=_0x185be1;this[_0x130438(0x1c3)]=_0x469177;}[_0x185be1(0x321)](){const _0x3c8f48=_0x185be1;return++this[_0x3c8f48(0x183)];}[_0x185be1(0x4a7)](_0x12ea5a,_0x211a46){const _0x4af1a5=_0x185be1;return _0x211a46===this[_0x4af1a5(0x183)]?(_0x173e38(this[_0x4af1a5(0x489)]),this['_image']=_0x12ea5a,!0x0):(_0x173e38(_0x12ea5a),!0x1);}['requestPaint'](){}[_0x185be1(0x2ce)](){const _0x5a9222=_0x185be1;this[_0x5a9222(0x183)]+=0x1;}['takeSnapshot'](){const _0x5f434e=_0x185be1;let _0x31794e=this[_0x5f434e(0x489)];return this['_image']=void 0x0,_0x31794e;}['dispose'](){const _0x5c7ad1=_0x185be1;_0x173e38(this[_0x5c7ad1(0x489)]),this[_0x5c7ad1(0x489)]=void 0x0,super['dispose']();}};function _0x9b82a3(_0x16cbf0,_0xddb1de,_0x4a22bb){const _0xdd3b32=_0x185be1;let _0x56f5df=_0x16cbf0[_0xdd3b32(0x2b3)](_0xddb1de),_0x449dee={..._0x16cbf0[_0xdd3b32(0x1c3)],'runtime':{..._0x56f5df,'layoutInset':0x8,..._0x4a22bb===void 0x0?{}:{'addWatermark':_0x4a22bb}},'direction':_0xddb1de};return(0x0,_0x214e0a[_0xdd3b32(0x4f7)])(_0x449dee,_0x16cbf0[_0xdd3b32(0x593)]);}let _0x17894a=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x2e5b06,_0x258d9b,_0x164c07,_0x3eddfd,_0x1aa14f,_0x35a3a4,_0x41d16e,_0x26bfdd,_0x45206d,_0x303c97,_0x56ead9,_0x3221c0,_0x49e278){const _0x58bcb4=_0x185be1;super(),this[_0x58bcb4(0x568)]=_0x2e5b06,this[_0x58bcb4(0x1ff)]=_0x258d9b,this[_0x58bcb4(0x57a)]=_0x164c07,this[_0x58bcb4(0x3d0)]=_0x3eddfd,this[_0x58bcb4(0x538)]=_0x1aa14f,this[_0x58bcb4(0x51d)]=_0x35a3a4,this[_0x58bcb4(0x2cd)]=_0x41d16e,this['_injector']=_0x26bfdd,this[_0x58bcb4(0x583)]=_0x45206d,this['_themeService']=_0x303c97,this[_0x58bcb4(0x4cc)]=_0x56ead9,this[_0x58bcb4(0x3f6)]=_0x3221c0,this['_renderModelManager']=_0x49e278,_0x3d73b3(this,_0x58bcb4(0x474),new Map()),_0x3d73b3(this,'_chartEventHandlers',new Map()),_0x3d73b3(this,_0x58bcb4(0x39a),new Map()),_0x3d73b3(this,_0x58bcb4(0x43c),new Map()),_0x3d73b3(this,_0x58bcb4(0x506),new Map()),_0x3d73b3(this,_0x58bcb4(0x3a3),new Map()),_0x3d73b3(this,_0x58bcb4(0x2e2),new Map()),_0x3d73b3(this,_0x58bcb4(0x1b8),void 0x0),_0x3d73b3(this,'_addWatermark',void 0x0),_0x3d73b3(this,_0x58bcb4(0x211),new Map()),_0x3d73b3(this,'_dataUpdateAnimationChartIds',new Set()),_0x3d73b3(this,_0x58bcb4(0x50f),new Map()),_0x3d73b3(this,_0x58bcb4(0x20c),null),_0x3d73b3(this,_0x58bcb4(0x4d1),null);let _0x411af1=(0x0,_0x113ca7[_0x58bcb4(0x591)])(this[_0x58bcb4(0x48d)]),_0x6b89a7=this[_0x58bcb4(0x4cc)]['getConfig'](_0x113ca7[_0x58bcb4(0x518)]);this[_0x58bcb4(0x1b8)]=(_0x6b89a7==null?void 0x0:_0x6b89a7['chartRenderMode'])??_0x1d526d,this[_0x58bcb4(0x405)]=_0x411af1[_0x58bcb4(0x36b)]!==0x1||_0x411af1[0x0]!==_0x58bcb4(0x302),this[_0x58bcb4(0x50d)](),this[_0x58bcb4(0x309)](),this[_0x58bcb4(0x31f)](),this[_0x58bcb4(0x55e)](),this[_0x58bcb4(0x2c8)]();}[_0x185be1(0x500)](_0x24f209){const _0x2cb030=_0x185be1;let _0x38caf9=this[_0x2cb030(0x4b3)](_0x24f209);return _0x38caf9?this[_0x2cb030(0x3f6)][_0x2cb030(0x42e)](_0x38caf9):void 0x0;}[_0x185be1(0x2c7)](_0x1a0384){const _0x12f43e=_0x185be1;var _0x3f074b;return((_0x3f074b=this['_chartModelService'][_0x12f43e(0x286)])==null?void 0x0:_0x3f074b['id'])===_0x1a0384?_0x214e0a[_0x12f43e(0x2a1)]['Dom']:this[_0x12f43e(0x1b8)];}[_0x185be1(0x4b3)](_0x11a0dc){const _0x2eb81d=_0x185be1;let _0x334847=this['_sheetCanvasFloatDomManagerService'][_0x2eb81d(0x277)](_0x11a0dc);return _0x334847?{'unitId':_0x334847[_0x2eb81d(0x2ac)],'subUnitId':_0x334847[_0x2eb81d(0x50c)],'chartId':_0x11a0dc}:null;}[_0x185be1(0x50d)](){const _0x48cc25=_0x185be1;this['_chartRenderMode']===_0x214e0a[_0x48cc25(0x2a1)][_0x48cc25(0x1bb)]&&this[_0x48cc25(0x3d7)](this[_0x48cc25(0x1ff)][_0x48cc25(0x495)](_0x1ba070[_0x48cc25(0x1f9)][_0x48cc25(0x52f)],({key:_0x5a0bb3,config:_0x4ec003,unitId:_0x4a45fe,subUnitId:_0x286b02,drawingId:_0xc903b9})=>new _0x4613b7(_0x5a0bb3,_0x4ec003,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x4a45fe,'subUnitId':_0x286b02,'chartId':_0xc903b9}),()=>this[_0x48cc25(0x568)]['isDomReady'](_0xc903b9))));}[_0x185be1(0x309)](){const _0x4083f3=_0x185be1;this['disposeWithMe'](this[_0x4083f3(0x57a)][_0x4083f3(0x548)]['subscribe'](_0x684518=>{const _0xf8e524=_0x4083f3;let _0x48da59=(_0x684518==null?void 0x0:_0x684518['id'])??null,_0x572a3c=this[_0xf8e524(0x20c)];_0x572a3c!==_0x48da59&&(_0x572a3c&&(this['_chartHostProvider'][_0xf8e524(0x28e)](_0x572a3c),this[_0xf8e524(0x193)](_0x572a3c),this[_0xf8e524(0x19b)](_0x572a3c)),this['_activeChartId']=_0x48da59,_0x48da59&&(this[_0xf8e524(0x3f2)](_0x48da59),this['_chartHostProvider'][_0xf8e524(0x28e)](_0x48da59),this[_0xf8e524(0x2ad)](_0x48da59),this[_0xf8e524(0x1dc)](_0x48da59)));}));}[_0x185be1(0x31f)](){const _0x23fe6f=_0x185be1;this[_0x23fe6f(0x3d7)](this['_drawingManagerService'][_0x23fe6f(0x226)][_0x23fe6f(0x17f)](_0x4e4617=>{const _0x5b1e14=_0x23fe6f;var _0x238050;let _0x145f8a=(_0x238050=this['_chartModelService'][_0x5b1e14(0x286)])==null?void 0x0:_0x238050['id'];_0x145f8a&&_0x4e4617[_0x5b1e14(0x3fc)](_0x602d9b=>_0x602d9b[_0x5b1e14(0x2ae)][_0x5b1e14(0x3fc)](_0x38d39d=>_0x38d39d[_0x5b1e14(0x3b7)]===_0x145f8a))&&this[_0x5b1e14(0x57a)]['setActiveChartModel'](null);})),this['disposeWithMe'](this[_0x23fe6f(0x3d0)][_0x23fe6f(0x488)][_0x23fe6f(0x17f)](_0x23c3b7=>{const _0x4f5e1b=_0x23fe6f;var _0x4785e2;let _0xcda561=(_0x4785e2=this['_chartModelService'][_0x4f5e1b(0x286)])==null?void 0x0:_0x4785e2['id'];_0xcda561&&_0x23c3b7['some'](_0x5dd2a8=>_0x5dd2a8[_0x4f5e1b(0x524)]['drawingId']===_0xcda561||_0x5dd2a8[_0x4f5e1b(0x2ae)][_0x4f5e1b(0x3fc)](_0x49bac6=>_0x49bac6[_0x4f5e1b(0x3b7)]===_0xcda561))&&this[_0x4f5e1b(0x57a)]['setActiveChartModel'](null);}));}['_initActiveRuntimeLayerListener'](){const _0x246af9=_0x185be1;this[_0x246af9(0x3d7)](this['_drawingManagerService'][_0x246af9(0x534)][_0x246af9(0x17f)](_0x284401=>{const _0x4de0fa=_0x246af9;var _0x3d7dad;let _0x347967=(_0x3d7dad=this[_0x4de0fa(0x57a)]['activeChartModel'])==null?void 0x0:_0x3d7dad['id'];if(!_0x347967){_0x284401[_0x4de0fa(0x4d5)][_0x4de0fa(0x55c)](_0x494728=>{const _0x3dc324=_0x4de0fa;this['_chartModelService'][_0x3dc324(0x214)](_0x494728)&&this[_0x3dc324(0x193)](_0x494728);});return;}let _0x1bedac=this[_0x4de0fa(0x1ff)][_0x4de0fa(0x277)](_0x347967);(_0x1bedac==null?void 0x0:_0x1bedac['unitId'])===_0x284401[_0x4de0fa(0x2ac)]&&_0x1bedac[_0x4de0fa(0x50c)]===_0x284401[_0x4de0fa(0x50c)]&&this[_0x4de0fa(0x2ad)](_0x347967);})),this[_0x246af9(0x3d7)](this[_0x246af9(0x3d0)]['add$']['subscribe'](_0x18e2a0=>{const _0x341be5=_0x246af9;var _0xb6a895;let _0x35b140=(_0xb6a895=this[_0x341be5(0x57a)][_0x341be5(0x286)])==null?void 0x0:_0xb6a895['id'];if(!_0x35b140)return;let _0x319fb0=this['_sheetCanvasFloatDomManagerService'][_0x341be5(0x277)](_0x35b140);_0x319fb0&&_0x18e2a0[_0x341be5(0x3fc)](_0x363dab=>_0x363dab[_0x341be5(0x2ac)]===_0x319fb0['unitId']&&_0x363dab[_0x341be5(0x50c)]===_0x319fb0[_0x341be5(0x50c)])&&this[_0x341be5(0x2ad)](_0x35b140);})),this['disposeWithMe'](this[_0x246af9(0x57a)]['chartModelRemoved$'][_0x246af9(0x17f)](_0x1883f8=>{const _0x5e8c0b=_0x246af9;var _0x247ded;this['_disposeChartChangeListeners'](_0x1883f8),this[_0x5e8c0b(0x3ac)](_0x1883f8),this[_0x5e8c0b(0x57b)][_0x5e8c0b(0x2e1)](_0x1883f8),this[_0x5e8c0b(0x3f2)](_0x1883f8),this[_0x5e8c0b(0x211)]['delete'](_0x1883f8),this[_0x5e8c0b(0x3f6)]['clearChart'](_0x1883f8),this[_0x5e8c0b(0x30d)](_0x1883f8),this[_0x5e8c0b(0x568)][_0x5e8c0b(0x28e)](_0x1883f8),((_0x247ded=this['_chartModelService'][_0x5e8c0b(0x286)])==null?void 0x0:_0x247ded['id'])===_0x1883f8?this['_chartModelService'][_0x5e8c0b(0x4a3)](null):this[_0x5e8c0b(0x193)](_0x1883f8),this[_0x5e8c0b(0x3f7)](_0x1883f8);}));}[_0x185be1(0x1dc)](_0x6683d1){const _0x32ac78=_0x185be1;let _0x3a60dc=this[_0x32ac78(0x211)][_0x32ac78(0x442)](_0x6683d1);_0x3a60dc&&this[_0x32ac78(0x266)](_0x6683d1,_0x3a60dc[_0x32ac78(0x4fd)],_0x3a60dc[_0x32ac78(0x1c3)]);}['_disposeChartDomInstance'](_0x50fa2f){const _0x1cc2b7=_0x185be1;let _0x3cb7ab=this[_0x1cc2b7(0x474)]['get'](_0x50fa2f);(_0x3cb7ab==null?void 0x0:_0x3cb7ab[_0x1cc2b7(0x463)])===_0x1cc2b7(0x2f6)&&(this['_disposeChartEventSubscriptions'](_0x50fa2f),_0x3cb7ab[_0x1cc2b7(0x4d8)](),this[_0x1cc2b7(0x474)][_0x1cc2b7(0x2e1)](_0x50fa2f)),this[_0x1cc2b7(0x568)][_0x1cc2b7(0x28e)](_0x50fa2f),this[_0x1cc2b7(0x568)][_0x1cc2b7(0x252)](_0x50fa2f);}[_0x185be1(0x3f7)](_0x2c9b8b){const _0x346c12=_0x185be1;let _0x511150=this[_0x346c12(0x474)][_0x346c12(0x442)](_0x2c9b8b);_0x511150&&(this[_0x346c12(0x3ac)](_0x2c9b8b),_0x511150[_0x346c12(0x4d8)](),this[_0x346c12(0x474)][_0x346c12(0x2e1)](_0x2c9b8b)),this[_0x346c12(0x568)][_0x346c12(0x28e)](_0x2c9b8b),this[_0x346c12(0x568)]['removeHost'](_0x2c9b8b);}['_notifyChartRemoved'](_0x32155d){const _0x10e797=_0x185be1;var _0x370037,_0x16a5e0;(_0x370037=this['_renderModelManager'][_0x10e797(0x1f2)](_0x214e0a[_0x10e797(0x350)]))==null||(_0x16a5e0=_0x370037['emitChartEvent'])==null||_0x16a5e0[_0x10e797(0x371)](_0x370037,{'type':_0x10e797(0x1a0),'chartId':_0x32155d});}[_0x185be1(0x40c)](_0x20efe0,_0x3d11b0){const _0x137311=_0x185be1;let _0x1d0547=this['_drawingManagerService'][_0x137311(0x39b)](_0x20efe0,_0x3d11b0);Object[_0x137311(0x420)](_0x1d0547??{})[_0x137311(0x55c)](_0xb6dac7=>{const _0x1a5f59=_0x137311;if(_0xb6dac7[_0x1a5f59(0x2d3)]===_0x1ba070[_0x1a5f59(0x1f9)]['DRAWING_CHART']){var _0x358992,_0x4b0b10;(_0x358992=this[_0x1a5f59(0x3a5)]['getRenderModel'](_0x214e0a['EChartRenderEngineName']))==null||(_0x4b0b10=_0x358992[_0x1a5f59(0x38a)])==null||_0x4b0b10['call'](_0x358992,{'type':_0x1a5f59(0x4ed),'chartId':_0xb6dac7[_0x1a5f59(0x3b7)]});}});}[_0x185be1(0x4bb)](_0x2ad88e,_0x159a38){const _0x37d74e=_0x185be1;var _0x38d88b;return((_0x38d88b=_0x2ad88e['getObjectIncludeInGroup'])==null?void 0x0:_0x38d88b[_0x37d74e(0x371)](_0x2ad88e,_0x159a38))??_0x2ad88e[_0x37d74e(0x422)](_0x159a38)??null;}[_0x185be1(0x23b)](_0x454453){const _0x50ce9a=_0x185be1;var _0xddecbc;let _0x3cd5c5=this['_sheetCanvasFloatDomManagerService'][_0x50ce9a(0x277)](_0x454453);if(!_0x3cd5c5)return null;let _0x4b05f7=(_0xddecbc=this[_0x50ce9a(0x51d)]['getRenderUnitById'](_0x3cd5c5[_0x50ce9a(0x2ac)]))==null?void 0x0:_0xddecbc[_0x50ce9a(0x493)];if(!_0x4b05f7)return null;let _0x25ae1f=this['_getChartRenderObject'](_0x4b05f7,(0x0,_0x135c9c[_0x50ce9a(0x224)])({'unitId':_0x3cd5c5[_0x50ce9a(0x2ac)],'subUnitId':_0x3cd5c5[_0x50ce9a(0x50c)],'drawingId':_0x454453}));return _0x25ae1f?{'info':_0x3cd5c5,'scene':_0x4b05f7,'chartObject':_0x25ae1f}:null;}[_0x185be1(0x469)](_0x1f3adc,_0x35637f){const _0x3e093c=_0x185be1;var _0xee82e2,_0x4d5527,_0x410aeb,_0x5517f4;let _0x5864a3=this[_0x3e093c(0x23b)](_0x1f3adc);_0x5864a3&&((_0xee82e2=(_0x4d5527=_0x5864a3[_0x3e093c(0x433)])[_0x3e093c(0x2dc)])==null||_0xee82e2['call'](_0x4d5527,{'zIndex':_0x35637f}),(_0x410aeb=(_0x5517f4=_0x5864a3[_0x3e093c(0x433)])[_0x3e093c(0x572)])==null||_0x410aeb[_0x3e093c(0x371)](_0x5517f4,!0x0),_0x5864a3[_0x3e093c(0x493)][_0x3e093c(0x572)](!0x0));}[_0x185be1(0x2ad)](_0x35d02e){const _0x3ea9ea=_0x185be1;let _0x33e246=this[_0x3ea9ea(0x1ff)][_0x3ea9ea(0x277)](_0x35d02e);if(!_0x33e246)return;let _0x545574=this[_0x3ea9ea(0x3d0)][_0x3ea9ea(0x381)](_0x33e246[_0x3ea9ea(0x2ac)],_0x33e246[_0x3ea9ea(0x50c)]);this[_0x3ea9ea(0x469)](_0x35d02e,_0x545574[_0x3ea9ea(0x36b)]);}[_0x185be1(0x193)](_0x33c950){const _0x396599=_0x185be1;let _0x76a090=this[_0x396599(0x1ff)][_0x396599(0x277)](_0x33c950);if(!_0x76a090)return;let _0x44fb7d=this[_0x396599(0x3d0)][_0x396599(0x381)](_0x76a090[_0x396599(0x2ac)],_0x76a090[_0x396599(0x50c)]),_0x514b0e=_0x44fb7d['indexOf'](_0x33c950);this['_setChartRuntimeZIndex'](_0x33c950,_0x514b0e===-0x1?Math['max'](_0x44fb7d[_0x396599(0x36b)]-0x1,0x0):_0x514b0e);}[_0x185be1(0x364)](_0x2d3c20,_0xc6a44e){const _0x1aa99e=_0x185be1;let _0x5cb347=this['_sheetCanvasFloatDomManagerService'][_0x1aa99e(0x277)](_0x2d3c20);if(_0xc6a44e['width']!==void 0x0&&_0xc6a44e[_0x1aa99e(0x2d7)]!==void 0x0&&_0x5cb347){var _0x2e5a28;let {subUnitId:_0xff2c08}=_0x5cb347,_0x50fabe=(_0x2e5a28=this[_0x1aa99e(0x538)][_0x1aa99e(0x448)](_0x1ba070[_0x1aa99e(0x203)][_0x1aa99e(0x2da)]))==null?void 0x0:_0x2e5a28[_0x1aa99e(0x1bd)]();if((_0x50fabe==null?void 0x0:_0x50fabe[_0x1aa99e(0x2ec)]())===_0xff2c08){let {width:_0x323673,height:_0x517359}=_0xc6a44e,_0x498a79=this['_chartModelService'][_0x1aa99e(0x214)](_0x2d3c20),_0x1090e4=_0x498a79==null?void 0x0:_0x498a79[_0x1aa99e(0x1c3)];(Math[_0x1aa99e(0x305)](_0x323673-((_0x1090e4==null?void 0x0:_0x1090e4[_0x1aa99e(0x2bf)])||0x0))>0x1||Math[_0x1aa99e(0x305)](_0x517359-((_0x1090e4==null?void 0x0:_0x1090e4[_0x1aa99e(0x2d7)])||0x0))>0x1)&&(_0x498a79==null||_0x498a79[_0x1aa99e(0x2c3)]({..._0x1090e4,'width':_0x323673,'height':_0x517359}));}}}[_0x185be1(0x49c)](_0x38e102,_0x281e48,_0x3a2a4e=0x0){const _0xa2bf84=_0x185be1;let _0x5bfb3d=this[_0xa2bf84(0x3a3)][_0xa2bf84(0x442)](_0x38e102);_0x5bfb3d||(_0x5bfb3d=(0x0,_0x1ba070[_0xa2bf84(0x209)])(_0x2875e6=>{const _0x2d34a8=_0xa2bf84;this[_0x2d34a8(0x364)](_0x38e102,_0x2875e6);},_0x3a2a4e),this[_0xa2bf84(0x3a3)]['set'](_0x38e102,_0x5bfb3d)),_0x5bfb3d(_0x281e48);}['handleActiveSubUnitChange'](){const _0x32983b=_0x185be1;let _0x5ed765=this[_0x32983b(0x506)],_0x23d07a=_0x3a570d=>{const _0x13ffaa=_0x32983b;if(!_0x5ed765[_0x13ffaa(0x4b2)](_0x3a570d)){let _0x6ca47=(0x0,_0x1ba070[_0x13ffaa(0x209)])((_0x5a8949,_0x2540d4,_0x36f48d,_0x11581e)=>{const _0x4501a7=_0x13ffaa;var _0x3f5c94,_0x4cab33;if(!_0x36f48d)return;(_0x3f5c94=_0x36f48d['category'])==null||_0x3f5c94[_0x4501a7(0x199)][_0x4501a7(0x55c)]((_0x3e4bc2,_0x46e27f)=>{const _0x38ac14=_0x4501a7;_0x3e4bc2['label']||=this[_0x38ac14(0x2cd)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x46e27f+0x1);}),_0x36f48d[_0x4501a7(0x1c5)]['forEach']((_0x4b2342,_0x2cdab9)=>{const _0x5ec0b0=_0x4501a7;_0x4b2342[_0x5ec0b0(0x48e)]||=this[_0x5ec0b0(0x2cd)]['t'](_0x5ec0b0(0x398))+'\x20'+(_0x2cdab9+0x1);});let _0x3d376=this[_0x4501a7(0x40e)](_0x5a8949,_0x11581e),_0x128f9d=(_0x4cab33=this[_0x4501a7(0x538)][_0x4501a7(0x448)](_0x1ba070[_0x4501a7(0x203)]['UNIVER_SHEET']))==null?void 0x0:_0x4cab33['getActiveSheet']();(_0x128f9d==null?void 0x0:_0x128f9d[_0x4501a7(0x2ec)]())===_0x2540d4&&this['render'](_0x5a8949['id'],_0x36f48d,_0x3d376);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x5ed765['set'](_0x3a570d,_0x6ca47);}return _0x5ed765[_0x13ffaa(0x442)](_0x3a570d);};this['disposeWithMe'](this[_0x32983b(0x538)][_0x32983b(0x2b1)][_0x32983b(0x17f)](_0x386cc7=>{const _0xf4fdd9=_0x32983b;let _0x1478ca=this[_0xf4fdd9(0x538)][_0xf4fdd9(0x448)](_0x1ba070['UniverInstanceType']['UNIVER_SHEET']);if(_0x386cc7&&_0x1478ca&&_0x1478ca[_0xf4fdd9(0x185)]()===_0x386cc7){var _0x1fcf29;let _0x4bdd3b=_0x1478ca[_0xf4fdd9(0x1bd)]()[_0xf4fdd9(0x2ec)]();this[_0xf4fdd9(0x4d1)]&&(this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x2ac)]!==_0x386cc7||this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x50c)]!==_0x4bdd3b)&&this[_0xf4fdd9(0x40c)](this['_lastActiveSheet']['unitId'],this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x50c)]),this[_0xf4fdd9(0x4d1)]={'unitId':_0x386cc7,'subUnitId':_0x4bdd3b};let _0x4df9c2=this['_drawingManagerService'][_0xf4fdd9(0x39b)](_0x386cc7,_0x4bdd3b);if(!((_0x1fcf29=this[_0xf4fdd9(0x51d)]['getRenderUnitById'](_0x386cc7))!=null&&_0x1fcf29[_0xf4fdd9(0x356)](_0x53e756[_0xf4fdd9(0x48c)])['getSkeleton'](_0x4bdd3b)))return;if(_0x4df9c2)for(let _0x30e1d2 in _0x4df9c2){let {drawingId:_0x13b491}=_0x4df9c2[_0x30e1d2],_0x11f4a7=this['_chartModelService']['getChartModel'](_0x13b491);_0x11f4a7&&_0x23d07a(_0x11f4a7['id'])(_0x11f4a7,_0x4bdd3b,_0x11f4a7[_0xf4fdd9(0x4fd)],this[_0xf4fdd9(0x2cd)][_0xf4fdd9(0x27b)]());}}})),this[_0x32983b(0x3d7)](this[_0x32983b(0x29d)][_0x32983b(0x34e)][_0x32983b(0x17f)](()=>{const _0x3de60a=_0x32983b;var _0x48d059;let _0x4fe046=this['_univerInstanceService'][_0x3de60a(0x448)](_0x1ba070[_0x3de60a(0x203)][_0x3de60a(0x2da)]);if(!_0x4fe046)return;let _0x26b046=_0x4fe046['getUnitId'](),_0x35ef17=_0x4fe046[_0x3de60a(0x1bd)]()[_0x3de60a(0x2ec)](),_0x3972f6=this[_0x3de60a(0x3d0)][_0x3de60a(0x39b)](_0x26b046,_0x35ef17);if((_0x48d059=this[_0x3de60a(0x51d)][_0x3de60a(0x3ef)](_0x26b046))!=null&&_0x48d059[_0x3de60a(0x356)](_0x53e756['SheetSkeletonManagerService'])[_0x3de60a(0x293)](_0x35ef17)&&_0x3972f6)for(let _0x521669 in _0x3972f6){let {drawingId:_0x3a9aba}=_0x3972f6[_0x521669],_0x5b38f9=this[_0x3de60a(0x57a)]['getChartModel'](_0x3a9aba);_0x5b38f9&&_0x23d07a(_0x5b38f9['id'])(_0x5b38f9,_0x35ef17,_0x5b38f9['config'],this[_0x3de60a(0x2cd)]['getDirection']());}})),this[_0x32983b(0x3d7)](this['_drawingManagerService'][_0x32983b(0x280)][_0x32983b(0x17f)](_0x43c78d=>{const _0x3adf13=_0x32983b;_0x43c78d[_0x3adf13(0x55c)](_0x100f61=>{const _0x29713d=_0x3adf13;var _0x409d56;let {drawingId:_0x57f2fe,unitId:_0x1b8eb2,subUnitId:_0x10e9fe}=_0x100f61,_0x4b61ed=this[_0x29713d(0x51d)]['getRenderUnitById'](_0x1b8eb2);if((_0x4b61ed==null?void 0x0:_0x4b61ed[_0x29713d(0x569)])!==_0x1ba070[_0x29713d(0x203)]['UNIVER_SHEET']||!_0x4b61ed[_0x29713d(0x356)](_0x53e756[_0x29713d(0x48c)])['getSkeleton'](_0x10e9fe))return;let {drawingType:_0x49841b}=this[_0x29713d(0x3d0)]['getDrawingByParam'](_0x100f61);if(_0x49841b!==_0x1ba070['DrawingTypeEnum'][_0x29713d(0x52f)])return;let _0x116311=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x57f2fe);this[_0x29713d(0x412)](_0x57f2fe);let _0x2877ef=new _0x1ba070['Disposable']();this[_0x29713d(0x2e2)][_0x29713d(0x45e)](_0x57f2fe,_0x2877ef);let _0x182945=(_0x116311==null?void 0x0:_0x116311['domId'])??_0x57f2fe,_0x401b9d=_0x116311==null?void 0x0:_0x116311[_0x29713d(0x4ee)],_0x2f9e1b=(_0x409d56=this[_0x29713d(0x51d)]['getRenderUnitById'](_0x1b8eb2))==null?void 0x0:_0x409d56[_0x29713d(0x493)];if(_0x401b9d){let _0x502ce1=new _0x11d874(_0x401b9d,async _0x35cbc8=>{const _0xad7fc6=_0x29713d;var _0x1e5da9;let _0x28de5e=this[_0xad7fc6(0x538)][_0xad7fc6(0x448)](_0x1ba070['UniverInstanceType'][_0xad7fc6(0x2da)]);if((_0x28de5e==null?void 0x0:_0x28de5e['getUnitId']())===_0x1b8eb2&&((_0x1e5da9=_0x28de5e[_0xad7fc6(0x1bd)]())==null?void 0x0:_0x1e5da9[_0xad7fc6(0x2ec)]())===_0x10e9fe&&(this['_chartHostProvider'][_0xad7fc6(0x290)](_0x57f2fe),_0x35cbc8)){let {width:_0x548b45,height:_0x4f295c}=_0x401b9d;this['_debounceHandle'](_0x57f2fe,{'width':_0x548b45,'height':_0x4f295c},0x64);let _0x1f817b=this[_0xad7fc6(0x57a)]['getChartModel'](_0x57f2fe);_0x1f817b!=null&&_0x1f817b['config']&&await this['render'](_0x57f2fe,_0x1f817b[_0xad7fc6(0x4fd)],this[_0xad7fc6(0x40e)](_0x1f817b,this['_localeService'][_0xad7fc6(0x27b)]()));}});_0x2877ef['disposeWithMe'](_0x502ce1),_0x2877ef[_0x29713d(0x3d7)](this[_0x29713d(0x538)]['focused$'][_0x29713d(0x17f)](()=>_0x502ce1[_0x29713d(0x194)][_0x29713d(0x313)]())),_0x2f9e1b&&_0x2877ef[_0x29713d(0x3d7)](_0x2f9e1b[_0x29713d(0x253)]()[_0x29713d(0x4ea)][_0x29713d(0x17f)](({objects:_0x5b4bb3})=>{const _0x4b7dd3=_0x29713d;if(_0x5b4bb3[_0x4b7dd3(0x4b2)](_0x401b9d['oKey'])){var _0x56e3af;_0x502ce1[_0x4b7dd3(0x194)][_0x4b7dd3(0x394)](),(_0x56e3af=this[_0x4b7dd3(0x3a3)][_0x4b7dd3(0x442)](_0x57f2fe))==null||_0x56e3af[_0x4b7dd3(0x32b)](),this[_0x4b7dd3(0x364)](_0x57f2fe,{'width':_0x401b9d[_0x4b7dd3(0x2bf)],'height':_0x401b9d['height']});}}));}_0x2f9e1b&&_0x2877ef[_0x29713d(0x3d7)](_0x2f9e1b[_0x29713d(0x4bc)][_0x29713d(0x255)](_0x3c145c=>{const _0x166dae=_0x29713d;var _0x525839;_0x3c145c[_0x166dae(0x569)]===_0x1d47e2['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['scale']&&(_0x525839=document['getElementById'](_0x182945))!=null&&_0x525839['querySelector'](_0x166dae(0x30c))&&this[_0x166dae(0x568)][_0x166dae(0x290)](_0x57f2fe);}));let _0x218c59=this[_0x29713d(0x57a)][_0x29713d(0x214)](_0x57f2fe);_0x218c59&&_0x2877ef['disposeWithMe']((0x0,_0x5e3636[_0x29713d(0x595)])([_0x218c59[_0x29713d(0x235)],_0x218c59[_0x29713d(0x325)],this[_0x29713d(0x2cd)][_0x29713d(0x353)]])[_0x29713d(0x17f)](([_0x2063ec,_0x249d6b,_0x354d6e])=>{_0x23d07a(_0x218c59['id'])(_0x218c59,_0x10e9fe,_0x2063ec,_0x354d6e);}));});})),this['disposeWithMe']((0x0,_0x5e3636['combineLatest'])([this[_0x32983b(0x3d0)][_0x32983b(0x1c4)]])['subscribe'](([_0xd5d76d])=>{const _0x587827=_0x32983b;_0xd5d76d[_0x587827(0x55c)](_0x4bedc2=>{const _0x4b628c=_0x587827;var _0x35b4c5;let {drawingId:_0x105959}=_0x4bedc2;this[_0x4b628c(0x412)](_0x105959),((_0x35b4c5=this[_0x4b628c(0x57a)][_0x4b628c(0x286)])==null?void 0x0:_0x35b4c5['id'])===_0x105959&&this[_0x4b628c(0x57a)][_0x4b628c(0x4a3)](null),this['_disposeChartEventSubscriptions'](_0x105959),this['_chartHostProvider'][_0x4b628c(0x28e)](_0x105959),this[_0x4b628c(0x193)](_0x105959),this[_0x4b628c(0x3f7)](_0x105959),this[_0x4b628c(0x3f6)][_0x4b628c(0x31e)](_0x105959),this[_0x4b628c(0x30d)](_0x105959),this[_0x4b628c(0x211)][_0x4b628c(0x2e1)](_0x105959),this[_0x4b628c(0x43c)]['delete'](_0x105959);});}));}[_0x185be1(0x4e7)](_0x371996,_0x15954f){const _0x25f174=_0x185be1;var _0x1b46ad;_0x15954f?this[_0x25f174(0x43c)][_0x25f174(0x45e)](_0x371996,!0x0):this[_0x25f174(0x43c)][_0x25f174(0x2e1)](_0x371996),(_0x1b46ad=this[_0x25f174(0x474)][_0x25f174(0x442)](_0x371996))==null||_0x1b46ad[_0x25f174(0x4e7)](_0x15954f);}async[_0x185be1(0x21f)](_0x43b866,_0x1274c2){const _0x15d650=_0x185be1;var _0x5a7b83;let _0x1ac339=this[_0x15d650(0x211)][_0x15d650(0x442)](_0x43b866),_0x405e73=(_0x5a7b83=this[_0x15d650(0x1ff)][_0x15d650(0x277)](_0x43b866))==null?void 0x0:_0x5a7b83['rect'];if(_0x1ac339&&_0x405e73)return(await this[_0x15d650(0x3a5)]['exportImage']({'chartId':_0x43b866,'config':_0x1ac339[_0x15d650(0x4fd)],'style':_0x1ac339[_0x15d650(0x1c3)],'width':_0x405e73[_0x15d650(0x2bf)],'height':_0x405e73[_0x15d650(0x2d7)]},_0x1274c2))[_0x15d650(0x1a7)];if((_0x1274c2==null?void 0x0:_0x1274c2[_0x15d650(0x320)])===_0x214e0a[_0x15d650(0x558)][_0x15d650(0x481)])return;let _0x5a18fd=this[_0x15d650(0x4b0)](_0x43b866);return _0x5a18fd?(0x0,_0x214e0a['chartImageSourceToDataUrl'])(_0x5a18fd):void 0x0;}['on'](_0x3d13b8,_0x2cdb3f,_0x2a87e3){const _0x30a038=_0x185be1;let _0x3aaf4d=this[_0x30a038(0x57b)][_0x30a038(0x442)](_0x3d13b8);_0x3aaf4d||(_0x3aaf4d=new Map(),this[_0x30a038(0x57b)]['set'](_0x3d13b8,_0x3aaf4d));let _0x312670=_0x3aaf4d[_0x30a038(0x442)](_0x2cdb3f);_0x312670||(_0x312670=new Set(),_0x3aaf4d[_0x30a038(0x45e)](_0x2cdb3f,_0x312670)),_0x312670[_0x30a038(0x221)](_0x2a87e3);let _0x59f17c=this[_0x30a038(0x474)][_0x30a038(0x442)](_0x3d13b8);return _0x59f17c&&this[_0x30a038(0x589)](_0x3d13b8,_0x59f17c,_0x2cdb3f,_0x2a87e3),{'dispose':()=>{const _0x17f4c2=_0x30a038;var _0x317dfc;(_0x317dfc=this[_0x17f4c2(0x57b)][_0x17f4c2(0x442)](_0x3d13b8))==null||(_0x317dfc=_0x317dfc[_0x17f4c2(0x442)](_0x2cdb3f))==null||_0x317dfc['delete'](_0x2a87e3),this[_0x17f4c2(0x297)](_0x3d13b8,_0x2cdb3f,_0x2a87e3);}};}[_0x185be1(0x4b0)](_0xfe25d6){const _0x36c42c=_0x185be1;let _0x347335=this[_0x36c42c(0x538)]['getCurrentUnitOfType'](_0x1ba070[_0x36c42c(0x203)][_0x36c42c(0x2da)]),_0x123437=_0x347335==null?void 0x0:_0x347335[_0x36c42c(0x1bd)](),_0x6619d4=_0x347335==null?void 0x0:_0x347335[_0x36c42c(0x185)](),_0x732c6=_0x123437==null?void 0x0:_0x123437[_0x36c42c(0x2ec)]();if(_0x6619d4&&_0x732c6)return this[_0x36c42c(0x3f6)][_0x36c42c(0x42e)]({'unitId':_0x6619d4,'subUnitId':_0x732c6,'chartId':_0xfe25d6});}['_bindChartEventHandlers'](_0xd71e4a,_0x57d387){const _0x33ca42=_0x185be1;let _0x3592c1=this[_0x33ca42(0x57b)][_0x33ca42(0x442)](_0xd71e4a);_0x3592c1&&_0x3592c1[_0x33ca42(0x55c)]((_0x285944,_0x1faa15)=>{const _0x539f97=_0x33ca42;_0x285944[_0x539f97(0x55c)](_0x3102f0=>this[_0x539f97(0x589)](_0xd71e4a,_0x57d387,_0x1faa15,_0x3102f0));});}[_0x185be1(0x589)](_0x1ab416,_0x153afb,_0x24e739,_0xc563c){const _0x14ddb8=_0x185be1;let _0xb042e1=this[_0x14ddb8(0x39a)]['get'](_0x1ab416);_0xb042e1||(_0xb042e1=new Map(),this['_chartEventSubscriptions'][_0x14ddb8(0x45e)](_0x1ab416,_0xb042e1));let _0xf14fde=_0xb042e1[_0x14ddb8(0x442)](_0x24e739);_0xf14fde||(_0xf14fde=new Map(),_0xb042e1[_0x14ddb8(0x45e)](_0x24e739,_0xf14fde)),_0xf14fde[_0x14ddb8(0x4b2)](_0xc563c)||_0xf14fde[_0x14ddb8(0x45e)](_0xc563c,_0x153afb['on'](_0x24e739,_0xc563c));}[_0x185be1(0x297)](_0x4602b1,_0x4ccab9,_0x91135e){const _0x3a9508=_0x185be1;var _0x2ac58a,_0x68c87b;let _0x43cfd5=(_0x2ac58a=this[_0x3a9508(0x39a)]['get'](_0x4602b1))==null?void 0x0:_0x2ac58a['get'](_0x4ccab9);_0x43cfd5==null||(_0x68c87b=_0x43cfd5['get'](_0x91135e))==null||_0x68c87b[_0x3a9508(0x4d8)](),_0x43cfd5==null||_0x43cfd5[_0x3a9508(0x2e1)](_0x91135e);}[_0x185be1(0x3ac)](_0x3046da){const _0x3d157e=_0x185be1;let _0x79c8ea=this[_0x3d157e(0x39a)]['get'](_0x3046da);_0x79c8ea==null||_0x79c8ea[_0x3d157e(0x55c)](_0x1fa0be=>{const _0xbf55cd=_0x3d157e;_0x1fa0be[_0xbf55cd(0x55c)](_0x5bc103=>_0x5bc103[_0xbf55cd(0x4d8)]()),_0x1fa0be[_0xbf55cd(0x20f)]();}),this['_chartEventSubscriptions'][_0x3d157e(0x2e1)](_0x3046da);}['createRuntimeChartStyle'](_0x5b125c,_0x504409){const _0x25e644=_0x185be1;return _0x9b82a3(_0x5b125c,_0x504409,this[_0x25e644(0x405)]);}[_0x185be1(0x46e)](_0x1f137f){const _0x4874ef=_0x185be1;return this[_0x4874ef(0x3dc)](_0x1f137f)==null;}[_0x185be1(0x3dc)](_0xecb556){const _0x43e75b=_0x185be1;var _0xb836c6;let _0x3751e7=this[_0x43e75b(0x1ff)][_0x43e75b(0x277)](_0xecb556);if(!_0x3751e7)return _0x43e75b(0x311);let {subUnitId:_0x588ab8}=_0x3751e7,_0x23b6eb=(_0xb836c6=this[_0x43e75b(0x538)][_0x43e75b(0x448)](_0x1ba070[_0x43e75b(0x203)][_0x43e75b(0x2da)]))==null?void 0x0:_0xb836c6[_0x43e75b(0x1bd)]();if(!_0x23b6eb)return _0x43e75b(0x485);if(_0x23b6eb['getSheetId']()!==_0x588ab8)return _0x43e75b(0x237);}async[_0x185be1(0x266)](_0x18f640,_0x34b324,_0x468045,_0x5c4fa4={}){const _0x1b937d=_0x185be1;let _0x1a0d89=this[_0x1b937d(0x3a5)][_0x1b937d(0x1f2)](_0x214e0a[_0x1b937d(0x350)]);if(!_0x1a0d89)return;let _0x74a098=this[_0x1b937d(0x211)][_0x1b937d(0x442)](_0x18f640);if(this[_0x1b937d(0x211)][_0x1b937d(0x45e)](_0x18f640,{'config':_0x34b324,'style':_0x468045}),this[_0x1b937d(0x3dc)](_0x18f640))return;let {canAnimate:_0x55db5a,renderMode:_0x3b36b3,shouldStartTransientAnimation:_0x38d269,transientAnimationActive:_0x8218dc}=this[_0x1b937d(0x585)](_0x18f640,_0x74a098!=null,_0x5c4fa4[_0x1b937d(0x3f1)]===!0x0);if(_0x3b36b3===_0x214e0a['ChartRenderMode'][_0x1b937d(0x1bb)])this[_0x1b937d(0x19b)](_0x18f640);else{var _0x59b265;this['_chartHostProvider'][_0x1b937d(0x2ce)](_0x18f640),((_0x59b265=this[_0x1b937d(0x57a)][_0x1b937d(0x286)])==null?void 0x0:_0x59b265['id'])===_0x18f640&&this[_0x1b937d(0x2ad)](_0x18f640);}let _0x46c057=_0x3b36b3===_0x214e0a[_0x1b937d(0x2a1)]['Image']?_0x214e0a[_0x1b937d(0x2a1)]['Image']:_0x214e0a[_0x1b937d(0x2a1)][_0x1b937d(0x1aa)],_0x12ea3a=await this[_0x1b937d(0x568)][_0x1b937d(0x3d3)](_0x18f640,_0x46c057);if(!_0x12ea3a){_0x38d269&&this[_0x1b937d(0x3f2)](_0x18f640);return;}this[_0x1b937d(0x568)][_0x1b937d(0x51e)](_0x18f640,_0x8218dc?_0x214e0a[_0x1b937d(0x53d)]:null);let _0x55ff5a=this['_getOrCreateChartRenderInstance'](_0x18f640,_0x46c057,_0x1a0d89);_0x55ff5a['bind'](_0x12ea3a);try{let _0x3f3ffa={'chartId':_0x18f640,'config':_0x34b324,'style':_0x468045};_0x55db5a&&_0x74a098&&_0x55ff5a[_0x1b937d(0x206)]?await _0x55ff5a[_0x1b937d(0x206)]({'chartId':_0x18f640,'config':_0x74a098[_0x1b937d(0x4fd)],'style':_0x74a098['style']},_0x3f3ffa,{'duration':_0x214e0a[_0x1b937d(0x53d)]}):await _0x55ff5a[_0x1b937d(0x266)](_0x3f3ffa),await this['_cacheActiveDomChartSnapshot'](_0x18f640,_0x3b36b3,_0x55ff5a),_0x55db5a&&_0x8218dc&&this[_0x1b937d(0x329)](_0x18f640);}catch(_0x3d9c1e){if(_0x38d269&&this[_0x1b937d(0x3f2)](_0x18f640),_0x3b36b3!==_0x214e0a[_0x1b937d(0x2a1)][_0x1b937d(0x1bb)])throw _0x3d9c1e;}}async['_cacheActiveDomChartSnapshot'](_0x30d92d,_0x2f2783,_0x55e1e3){const _0x356308=_0x185be1;var _0x31e068;if(_0x2f2783!==_0x214e0a[_0x356308(0x2a1)]['Dom']||((_0x31e068=this[_0x356308(0x57a)][_0x356308(0x286)])==null?void 0x0:_0x31e068['id'])!==_0x30d92d)return;let _0x50d875=await this[_0x356308(0x568)]['ensureHost'](_0x30d92d,_0x214e0a[_0x356308(0x2a1)]['Image']);if(!_0x50d875)return;let _0x7395bc=_0x50d875[_0x356308(0x321)]();try{let _0x51031d=await _0x55e1e3[_0x356308(0x52a)]();_0x51031d&&_0x50d875[_0x356308(0x4a7)]({'type':_0x214e0a[_0x356308(0x4af)][_0x356308(0x24f)],'url':_0x51031d},_0x7395bc)&&_0x50d875[_0x356308(0x3ce)]();}catch{}}[_0x185be1(0x585)](_0x323da6,_0x279341,_0x458bce){const _0x446363=_0x185be1;let _0x73f77e=this[_0x446363(0x2c7)](_0x323da6),_0x4b12ee=_0x73f77e===_0x214e0a[_0x446363(0x2a1)]['Dom']&&_0x458bce&&_0x279341&&this[_0x446363(0x1a6)](_0x323da6),_0x4a70d9=this[_0x446363(0x450)][_0x446363(0x4b2)](_0x323da6);return{'canAnimate':_0x4b12ee,'renderMode':_0x4a70d9?_0x214e0a['ChartRenderMode']['Dom']:_0x73f77e,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x4a70d9};}[_0x185be1(0x1a6)](_0xf83a42){const _0x3e2f9c=_0x185be1;var _0xda7461,_0x554542,_0x3ab84e,_0x2f9558;if(typeof document>'u'||typeof window>'u'||document[_0x3e2f9c(0x382)]==='hidden'||(_0xda7461=(_0x554542=window)[_0x3e2f9c(0x58c)])!=null&&(_0xda7461=_0xda7461[_0x3e2f9c(0x371)](_0x554542,_0x3e2f9c(0x2f9)))!=null&&_0xda7461[_0x3e2f9c(0x22a)]||(_0x3ab84e=(_0x2f9558=window)[_0x3e2f9c(0x58c)])!=null&&(_0x3ab84e=_0x3ab84e['call'](_0x2f9558,_0x3e2f9c(0x3ba)))!=null&&_0x3ab84e[_0x3e2f9c(0x22a)])return!0x1;let _0x1af2d1=this['_chartHostProvider'][_0x3e2f9c(0x505)](_0xf83a42);return _0x1af2d1!=null&&_0x1af2d1[_0x3e2f9c(0x2bf)]>0x0&&_0x1af2d1[_0x3e2f9c(0x2d7)]>0x0&&_0x1af2d1['right']>0x0&&_0x1af2d1['bottom']>0x0&&_0x1af2d1[_0x3e2f9c(0x4e4)]<window[_0x3e2f9c(0x230)]&&_0x1af2d1[_0x3e2f9c(0x2e8)]<window[_0x3e2f9c(0x1fe)];}['_activateDataUpdateAnimation'](_0x482516){const _0x30085d=_0x185be1;let _0x46a093=this[_0x30085d(0x50f)][_0x30085d(0x442)](_0x482516);_0x46a093&&(clearTimeout(_0x46a093),this[_0x30085d(0x50f)][_0x30085d(0x2e1)](_0x482516)),this['_dataUpdateAnimationChartIds']['add'](_0x482516),this['_chartHostProvider'][_0x30085d(0x51e)](_0x482516,_0x214e0a[_0x30085d(0x53d)]);}[_0x185be1(0x329)](_0x423770){const _0x30ca0b=_0x185be1;let _0x514dce=this[_0x30ca0b(0x50f)]['get'](_0x423770);_0x514dce&&clearTimeout(_0x514dce);let _0x20f6ea=setTimeout(()=>{const _0x50c99f=_0x30ca0b;this['_dataUpdateAnimationTimers'][_0x50c99f(0x2e1)](_0x423770),this[_0x50c99f(0x450)]['delete'](_0x423770)&&(this[_0x50c99f(0x568)]['setDataUpdateAnimation'](_0x423770,null),this[_0x50c99f(0x19b)](_0x423770),this['_rerenderLatest'](_0x423770));},_0x214e0a[_0x30ca0b(0x53d)]);this[_0x30ca0b(0x50f)][_0x30ca0b(0x45e)](_0x423770,_0x20f6ea);}[_0x185be1(0x3f2)](_0x33aa00){const _0x550e36=_0x185be1;let _0x265bdb=this[_0x550e36(0x50f)]['get'](_0x33aa00);_0x265bdb&&(clearTimeout(_0x265bdb),this[_0x550e36(0x50f)][_0x550e36(0x2e1)](_0x33aa00)),this[_0x550e36(0x450)][_0x550e36(0x2e1)](_0x33aa00),this[_0x550e36(0x568)][_0x550e36(0x51e)](_0x33aa00,null);}async[_0x185be1(0x17e)](_0x36ef48,_0x5a33f9,_0x4c40ec){const _0x5f2860=_0x185be1;let _0x4db4aa=this[_0x5f2860(0x3d0)][_0x5f2860(0x39b)](_0x36ef48,_0x5a33f9),_0x1a389d=this[_0x5f2860(0x3d0)]['getDrawingOrder'](_0x36ef48,_0x5a33f9),_0x3488c8=Object['values'](_0x4db4aa??{})[_0x5f2860(0x3e6)](_0x47d05b=>_0x47d05b[_0x5f2860(0x2d3)]===_0x1ba070[_0x5f2860(0x1f9)]['DRAWING_CHART']&&_0x47d05b['hidden']!==!0x0);await Promise[_0x5f2860(0x3d1)](_0x3488c8[_0x5f2860(0x18e)](async _0x550891=>{const _0x1db8ec=_0x5f2860;let _0x11945b=await this['_createPrintingChartObject'](_0x550891,_0x1a389d);_0x11945b&&(_0x4c40ec[_0x1db8ec(0x1d5)](_0x11945b,_0x1d47e2[_0x1db8ec(0x577)]),_0x550891[_0x1db8ec(0x3b2)]&&(0x0,_0xad66ff[_0x1db8ec(0x24a)])({'drawingId':_0x550891[_0x1db8ec(0x3b2)],'unitId':_0x36ef48,'subUnitId':_0x5a33f9},_0x11945b,_0x4c40ec,this['_drawingManagerService']));}));}async[_0x185be1(0x1db)](_0x1b8dd7,_0x4b208a){const _0x22a9f2=_0x185be1;let _0x120692=this[_0x22a9f2(0x57a)]['getChartModel'](_0x1b8dd7[_0x22a9f2(0x3b7)]),_0x9c4e57=this[_0x22a9f2(0x3a5)][_0x22a9f2(0x1f2)](_0x214e0a[_0x22a9f2(0x350)]),_0x522385=_0x1b8dd7[_0x22a9f2(0x380)],_0x1e8bc0=_0x120692==null?void 0x0:_0x120692[_0x22a9f2(0x4fd)];if(!_0x120692||!_0x9c4e57||!_0x522385||!_0x1e8bc0||_0x522385[_0x22a9f2(0x2bf)]==null||_0x522385[_0x22a9f2(0x2d7)]==null)return null;let _0x4aee76=new _0x2da126(_0x1b8dd7[_0x22a9f2(0x3b7)],{'width':_0x522385[_0x22a9f2(0x2bf)],'height':_0x522385['height']}),_0x174d5f=_0x9c4e57[_0x22a9f2(0x324)](_0x214e0a[_0x22a9f2(0x2a1)][_0x22a9f2(0x1bb)],this[_0x22a9f2(0x375)]());_0x174d5f['bind'](_0x4aee76);let _0x4c0648;try{await _0x174d5f[_0x22a9f2(0x266)]({'chartId':_0x1b8dd7[_0x22a9f2(0x3b7)],'config':_0x1e8bc0,'style':this['createRuntimeChartStyle'](_0x120692,this[_0x22a9f2(0x2cd)]['getDirection']())});}catch(_0xa3bfc){console[_0x22a9f2(0x2ff)](_0x22a9f2(0x54b),_0xa3bfc);}finally{_0x4c0648=_0x4aee76['takeSnapshot'](),_0x174d5f[_0x22a9f2(0x4d8)](),_0x4aee76['dispose']();}let _0x2f4df9=this['_chartSnapshotStoreService'][_0x22a9f2(0x42e)]({'unitId':_0x1b8dd7['unitId'],'subUnitId':_0x1b8dd7[_0x22a9f2(0x50c)],'chartId':_0x1b8dd7['drawingId']}),_0x442245=_0x4c0648??_0x2f4df9;if(!_0x442245)return null;let _0x209c38=_0x4b208a[_0x22a9f2(0x338)](_0x1b8dd7[_0x22a9f2(0x3b7)]);return new _0x4613b7((0x0,_0x135c9c[_0x22a9f2(0x224)])(_0x1b8dd7),{..._0x522385,..._0x2cd04e[_0x22a9f2(0x43d)],..._0x11b810(_0x4aee76['style']),'visible':!0x0,'zIndex':_0x209c38===-0x1?Math['max'](_0x4b208a[_0x22a9f2(0x36b)]-0x1,0x0):_0x209c38},()=>_0x442245,void 0x0,_0x4c0648?()=>_0x173e38(_0x4c0648):void 0x0);}[_0x185be1(0x1b9)](_0x46d06c,_0x35227d,_0x56267d){const _0x133c69=_0x185be1;let _0xd6d053=this[_0x133c69(0x474)][_0x133c69(0x442)](_0x46d06c);if((_0xd6d053==null?void 0x0:_0xd6d053['mode'])===_0x35227d)return _0xd6d053;_0xd6d053&&(this[_0x133c69(0x3ac)](_0x46d06c),_0xd6d053[_0x133c69(0x4d8)](),this['_chartInstanceMap'][_0x133c69(0x2e1)](_0x46d06c));let _0x25f6b7=_0x56267d[_0x133c69(0x324)](_0x35227d,this['_createChartRenderInstanceContext']());return this[_0x133c69(0x474)]['set'](_0x46d06c,_0x25f6b7),_0x25f6b7[_0x133c69(0x4e7)](this[_0x133c69(0x43c)][_0x133c69(0x442)](_0x46d06c)===!0x0),this[_0x133c69(0x316)](_0x46d06c,_0x25f6b7),_0x25f6b7;}[_0x185be1(0x375)](){const _0x1baaf8=_0x185be1;return{'resolveHostStyle':({style:_0xade062})=>(0x0,_0x214e0a['resolveDefaultChartHostFrameStyle'])({'style':_0xade062,'getRenderColor':_0x3c7998=>this[_0x1baaf8(0x583)][_0x1baaf8(0x55b)](_0x3c7998)}),'resolveRenderBackgroundColor':({style:_0xa876fe})=>this[_0x1baaf8(0x583)][_0x1baaf8(0x55b)]((0x0,_0x214e0a[_0x1baaf8(0x2de)])(_0xa876fe))};}[_0x185be1(0x412)](_0x1f685a){const _0x226862=_0x185be1;var _0x35560e,_0x142404,_0x47dfe4;(_0x35560e=this['_chartChangeSubscriptions']['get'](_0x1f685a))==null||_0x35560e[_0x226862(0x4d8)](),this[_0x226862(0x2e2)]['delete'](_0x1f685a),(_0x142404=this[_0x226862(0x506)][_0x226862(0x442)](_0x1f685a))==null||_0x142404[_0x226862(0x32b)](),this['_renderDebounceMap'][_0x226862(0x2e1)](_0x1f685a),(_0x47dfe4=this[_0x226862(0x3a3)]['get'](_0x1f685a))==null||_0x47dfe4[_0x226862(0x32b)](),this[_0x226862(0x3a3)]['delete'](_0x1f685a);}[_0x185be1(0x3ec)](){const _0x50f0be=_0x185be1;this[_0x50f0be(0x506)][_0x50f0be(0x55c)](_0x175c15=>_0x175c15[_0x50f0be(0x32b)]()),this[_0x50f0be(0x506)][_0x50f0be(0x20f)](),this[_0x50f0be(0x3a3)]['forEach'](_0x415542=>_0x415542[_0x50f0be(0x32b)]()),this[_0x50f0be(0x3a3)][_0x50f0be(0x20f)]();}[_0x185be1(0x4d8)](){const _0x15b287=_0x185be1;this['_chartChangeSubscriptions']['forEach'](_0x54fedc=>_0x54fedc[_0x15b287(0x4d8)]()),this[_0x15b287(0x2e2)][_0x15b287(0x20f)](),this[_0x15b287(0x50f)]['forEach'](_0x8998cd=>clearTimeout(_0x8998cd)),this['_dataUpdateAnimationTimers'][_0x15b287(0x20f)](),this[_0x15b287(0x450)][_0x15b287(0x20f)](),Array[_0x15b287(0x3db)](this[_0x15b287(0x474)][_0x15b287(0x57f)]())[_0x15b287(0x55c)](_0x148259=>this[_0x15b287(0x3f7)](_0x148259)),this['_chartEventHandlers'][_0x15b287(0x20f)](),this[_0x15b287(0x43c)][_0x15b287(0x20f)](),this['_cancelDebouncedCallbacks'](),this[_0x15b287(0x211)][_0x15b287(0x20f)](),this[_0x15b287(0x20c)]=null,this[_0x15b287(0x4d1)]=null,super[_0x15b287(0x4d8)]();}};_0x17894a=_0x11ef44([_0x42d632(0x0,_0xd413d),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e['SheetCanvasFloatDomManagerService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x3,_0x135c9c[_0x185be1(0x31a)]),_0x42d632(0x4,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x5,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1d47e2[_0x185be1(0x527)])),_0x42d632(0x6,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x7,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x214e0a[_0x185be1(0x3a2)])),_0x42d632(0x9,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x28a)])),_0x42d632(0xa,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0xb,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x437b6a)),_0x42d632(0xc,_0x214e0a[_0x185be1(0x52d)])],_0x17894a);function _0x3c8e5b(_0x107124){const _0x39ebd6=_0x185be1;return _0x107124[_0x39ebd6(0x36b)]===0x1&&_0x5e33bf(_0x107124[0x0]);}function _0x5e33bf(_0x37a9d0){const _0x4fceb5=_0x185be1;return(_0x37a9d0==null?void 0x0:_0x37a9d0[_0x4fceb5(0x2d3)])===_0x1ba070[_0x4fceb5(0x1f9)][_0x4fceb5(0x52f)]&&!_0x37a9d0['groupId'];}let _0x188c9f=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x263749,_0x4d16ba,_0x5bb589,_0x5e1d9f,_0x50a286,_0x127d70,_0x125e9c,_0x37d8c3,_0x2b2252,_0x300383,_0x225cc2,_0x33082b,_0x235d34,_0x1b5ddd,_0xcf9271){const _0x47302a=_0x185be1;var _0x4b0319;super(),this['_drawingManagerService']=_0x263749,this[_0x47302a(0x538)]=_0x4d16ba,this['_chartModelService']=_0x5bb589,this[_0x47302a(0x373)]=_0x5e1d9f,this[_0x47302a(0x3cf)]=_0x50a286,this[_0x47302a(0x3a8)]=_0x127d70,this[_0x47302a(0x4fe)]=_0x125e9c,this[_0x47302a(0x354)]=_0x37d8c3,this['_sheetCanvasFloatDomManagerService']=_0x2b2252,this[_0x47302a(0x4c7)]=_0x300383,this[_0x47302a(0x403)]=_0x225cc2,this['_sheetsChartUIService']=_0x33082b,this['_contextService']=_0x235d34,this[_0x47302a(0x2cd)]=_0x1b5ddd,_0x3d73b3(this,'_sidebarDisposable',null),_0x3d73b3(this,_0x47302a(0x1eb),void 0x0),this[_0x47302a(0x1eb)]=((_0x4b0319=_0xcf9271[_0x47302a(0x363)](_0x47302a(0x472)))==null?void 0x0:_0x4b0319[_0x47302a(0x35d)])===!0x0,this['_initMenus'](),this[_0x47302a(0x3d7)](this['_univerInstanceService'][_0x47302a(0x256)](_0x1ba070[_0x47302a(0x203)][_0x47302a(0x2da)])['subscribe'](_0x359b9b=>{const _0x397646=_0x47302a;if(!_0x359b9b){var _0x2e5a3d;(_0x2e5a3d=this[_0x397646(0x54e)])==null||_0x2e5a3d[_0x397646(0x4d8)]();}})),this[_0x47302a(0x3d7)]((0x0,_0x1ba070[_0x47302a(0x410)])(this[_0x47302a(0x3a8)][_0x47302a(0x517)][_0x47302a(0x17f)](async({drawing:_0x2065d1})=>{const _0x5aa296=_0x47302a;await this[_0x5aa296(0x264)](_0x2065d1);})));}[_0x185be1(0x270)](){const _0x4f2519=_0x185be1;this[_0x4f2519(0x54e)]=this[_0x4f2519(0x4fe)][_0x4f2519(0x497)]({'id':_0x209d81,'header':{'title':this[_0x4f2519(0x2cd)]['t'](_0x4f2519(0x1a1))},'width':0x154,'children':{'label':_0x209d81},'onClose':()=>{const _0x10c6b5=_0x4f2519;this['_sidebarDisposable']=null,this[_0x10c6b5(0x2aa)](),this['_chartModelService']['activeChartModel']&&this['_chartModelService']['setActiveChartModel'](null),this[_0x10c6b5(0x3d0)][_0x10c6b5(0x3cd)](null),this[_0x10c6b5(0x3c6)]['setContextValue'](_0x1ba070[_0x10c6b5(0x406)],!0x1);}});}['hidePanel'](){const _0xb57b14=_0x185be1;let _0x352947=this[_0xb57b14(0x54e)];this[_0xb57b14(0x54e)]=null,this[_0xb57b14(0x2aa)](),this[_0xb57b14(0x57a)][_0xb57b14(0x286)]&&this[_0xb57b14(0x57a)]['setActiveChartModel'](null),_0x352947==null||_0x352947['dispose']();}[_0x185be1(0x368)](){const _0x270fa8=_0x185be1;let _0x5da46e=this[_0x270fa8(0x538)][_0x270fa8(0x448)](_0x1ba070[_0x270fa8(0x203)][_0x270fa8(0x2da)]);this[_0x270fa8(0x3d7)](this['_sidebarService'][_0x270fa8(0x17b)][_0x270fa8(0x17f)](_0x21e523=>{const _0x4cb2fc=_0x270fa8;_0x21e523['id']==='sheet.chart.edit.panel'&&(_0x21e523[_0x4cb2fc(0x3dd)]||this[_0x4cb2fc(0x4fe)][_0x4cb2fc(0x17b)][_0x4cb2fc(0x192)]({'visible':!0x1}));})),this[_0x270fa8(0x3d7)]((0x0,_0x5e3636[_0x270fa8(0x595)])([this['_chartModelService'][_0x270fa8(0x548)],this[_0x270fa8(0x55d)][_0x270fa8(0x346)]])[_0x270fa8(0x4d3)]((0x0,_0x5e3636[_0x270fa8(0x18e)])(([_0xab375c,_0x4cf55e])=>_0x4cf55e?(_0xab375c==null?void 0x0:_0xab375c['id'])??null:null),(0x0,_0x5e3636[_0x270fa8(0x306)])(),(0x0,_0x5e3636[_0x270fa8(0x3e1)])(null),(0x0,_0x5e3636[_0x270fa8(0x557)])())[_0x270fa8(0x17f)](([_0xcebb9b,_0x2329b8])=>{this['_syncActiveEditChart'](_0xcebb9b,_0x2329b8);})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x57a)][_0x270fa8(0x548)][_0x270fa8(0x17f)](_0x556559=>{const _0x44eef0=_0x270fa8;!_0x556559&&this[_0x44eef0(0x54e)]&&this[_0x44eef0(0x3af)]();})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x403)]['onCommandExecuted'](_0x9df25c=>{const _0x5cd8f7=_0x270fa8;if(_0x9df25c['id']===_0x272d7b['id']){let _0x84d32a=_0x9df25c['params'];if(!_0x5e33bf(this[_0x5cd8f7(0x3d0)][_0x5cd8f7(0x3ee)]({'unitId':_0x84d32a['unitId'],'subUnitId':_0x84d32a[_0x5cd8f7(0x50c)],'drawingId':_0x84d32a['drawingId']})))return;this[_0x5cd8f7(0x1b4)](_0x84d32a[_0x5cd8f7(0x3b7)],_0x84d32a[_0x5cd8f7(0x455)]);}if(_0x9df25c['id']===_0x3007d3['id']&&this[_0x5cd8f7(0x3af)](),_0x9df25c['id']===_0x113ca7['RemoveSheetsChartMutation']['id']){var _0x3b0c19;_0x9df25c[_0x5cd8f7(0x528)]['chartId']===((_0x3b0c19=this[_0x5cd8f7(0x57a)][_0x5cd8f7(0x286)])==null?void 0x0:_0x3b0c19['id'])&&this['hidePanel'](),this[_0x5cd8f7(0x3c6)][_0x5cd8f7(0x17d)](_0x1ba070['FOCUSING_COMMON_DRAWINGS'])&&(this[_0x5cd8f7(0x3c6)][_0x5cd8f7(0x227)](_0x1ba070['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5cd8f7(0x3d0)][_0x5cd8f7(0x3cd)](null));}})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x1ff)][_0x270fa8(0x1c4)]['subscribe'](({id:_0xbc8251})=>{const _0x53edca=_0x270fa8;this[_0x53edca(0x55d)][_0x53edca(0x476)](_0xbc8251)&&this[_0x53edca(0x3af)]();})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x1ff)][_0x270fa8(0x22f)][_0x270fa8(0x17f)](({id:_0x24d7f6})=>{const _0x5bf1d1=_0x270fa8;this['_sheetsChartUIService'][_0x5bf1d1(0x476)](_0x24d7f6)&&(this[_0x5bf1d1(0x55d)][_0x5bf1d1(0x244)](),this[_0x5bf1d1(0x3cf)][_0x5bf1d1(0x4e7)](_0x24d7f6,!0x1),this[_0x5bf1d1(0x370)](_0x24d7f6)&&this[_0x5bf1d1(0x3cf)][_0x5bf1d1(0x4e7)](_0x24d7f6,!0x0));})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x3d0)]['focus$'][_0x270fa8(0x17f)](_0x9125a8=>{const _0x7a854c=_0x270fa8;let _0x57f2ef=_0x9125a8[0x0];if(!this[_0x7a854c(0x55d)][_0x7a854c(0x582)]){if(_0x3c8e5b(_0x9125a8)){var _0x25b4cd;let _0x22113d=this[_0x7a854c(0x57a)]['getChartModel'](_0x57f2ef[_0x7a854c(0x3b7)]);_0x22113d&&this['_isOwnedChart'](_0x22113d['id'])&&((_0x25b4cd=this['_chartModelService'][_0x7a854c(0x286)])==null?void 0x0:_0x25b4cd['id'])!==_0x22113d['id']&&this[_0x7a854c(0x57a)][_0x7a854c(0x4a3)](_0x22113d);}else this[_0x7a854c(0x57a)][_0x7a854c(0x286)]&&this[_0x7a854c(0x57a)]['setActiveChartModel'](null),!_0x57f2ef&&!this[_0x7a854c(0x55d)]['rangeSelectMode']&&this[_0x7a854c(0x3af)]();}})),_0x5da46e&&(this[_0x270fa8(0x3d7)](_0x5da46e[_0x270fa8(0x456)][_0x270fa8(0x17f)](()=>{this['hidePanel']();})),this['disposeWithMe'](_0x5da46e['activeSheet$'][_0x270fa8(0x17f)](()=>{const _0x337c97=_0x270fa8;this[_0x337c97(0x3af)]();})));}async['_handleDrawingDoubleClick'](_0x14c3c4){const _0x4b936e=_0x185be1;this[_0x4b936e(0x55d)]['chartEditorOpen']||_0x5e33bf(_0x14c3c4)&&this['_isOwnedChart'](_0x14c3c4[_0x4b936e(0x3b7)])&&await this[_0x4b936e(0x240)](_0x14c3c4[_0x4b936e(0x2ac)],_0x14c3c4[_0x4b936e(0x50c)],_0x14c3c4[_0x4b936e(0x3b7)]);}async[_0x185be1(0x240)](_0x46c676,_0xdc8580,_0x157931){const _0x235b71=_0x185be1;this[_0x235b71(0x57a)][_0x235b71(0x214)](_0x157931)&&this[_0x235b71(0x1c0)](_0x157931)&&await this[_0x235b71(0x403)][_0x235b71(0x3ab)](_0x272d7b['id'],{'unitId':_0x46c676,'subUnitId':_0xdc8580,'drawingId':_0x157931});}[_0x185be1(0x1b4)](_0x49ef16,_0x5c27ac){const _0x307600=_0x185be1;let _0x562ac9=this[_0x307600(0x57a)][_0x307600(0x214)](_0x49ef16);_0x562ac9&&this[_0x307600(0x1c0)](_0x49ef16)&&(this[_0x307600(0x57a)][_0x307600(0x4a3)](_0x562ac9),this['_openPanel'](),this[_0x307600(0x52e)](_0x49ef16,_0x5c27ac??null));}[_0x185be1(0x52e)](_0x588566,_0x42ba5c){const _0x55a0ce=_0x185be1;this['_sheetsChartUIService']['setChartEditorOpen'](!0x0),this[_0x55a0ce(0x55d)][_0x55a0ce(0x2fc)](_0x588566,_0x42ba5c);}[_0x185be1(0x2aa)](){const _0x339e2c=_0x185be1;this[_0x339e2c(0x55d)][_0x339e2c(0x1b6)](!0x1);}['_syncActiveEditChart'](_0x1c8c7b,_0x1b5941){const _0x2722a4=_0x185be1;_0x1c8c7b!==_0x1b5941&&(_0x1c8c7b&&this[_0x2722a4(0x3cf)][_0x2722a4(0x4e7)](_0x1c8c7b,!0x1),this['_sheetsChartUIService'][_0x2722a4(0x244)](),_0x1b5941&&(this['_sheetsChartUIService']['setPanelRoute'](_0x1b5941,null),this[_0x2722a4(0x3cf)][_0x2722a4(0x4e7)](_0x1b5941,this['_shouldEnableChartElementEdit'](_0x1b5941))));}[_0x185be1(0x186)](){const _0x4634bc=_0x185be1;this[_0x4634bc(0x354)]['mergeMenu'](_0x5b9097),this[_0x4634bc(0x4c7)][_0x4634bc(0x288)](_0x1ba070[_0x4634bc(0x1f9)][_0x4634bc(0x52f)],this['getChartPopupMenus']['bind'](this),void 0x0,_0x4634bc(0x28c));}[_0x185be1(0x370)](_0x1ef203){const _0x408336=_0x185be1;let _0xde4105=this[_0x408336(0x57a)][_0x408336(0x214)](_0x1ef203);return!this[_0x408336(0x1eb)]||!_0xde4105||!this[_0x408336(0x1c0)](_0x1ef203)?!0x1:_0x3fa9dc(_0xde4105[_0x408336(0x593)]);}[_0x185be1(0x2b7)](_0x22960b,_0x4ab040,_0x2b5d60,_0x4f9b9d){const _0x14d054=_0x185be1;if(!this[_0x14d054(0x57a)][_0x14d054(0x214)](_0x2b5d60))return[];let _0x2618f6=[{'label':this['_localeService']['t'](_0x14d054(0x4e3)),'index':0x0,'commandId':_0x272d7b['id'],'commandParams':{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60},'disable':_0x4f9b9d!==_0x1ba070[_0x14d054(0x1f9)][_0x14d054(0x52f)]}];return this['_isOwnedChart'](_0x2b5d60)?[..._0x2618f6,{'label':this[_0x14d054(0x2cd)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x302521[_0x14d054(0x58e)]['id'],'commandParams':{'unitId':_0x22960b,'drawings':[{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60,'drawingType':_0x4f9b9d}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x14d054(0x51c)),'index':0x2,'commandId':_0x3007d3['id'],'commandParams':{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60},'disable':!0x1}]:_0x2618f6;}[_0x185be1(0x1c0)](_0x490025){const _0x4775bf=_0x185be1;return this[_0x4775bf(0x373)][_0x4775bf(0x44f)](_0x490025)!==void 0x0;}};_0x188c9f=_0x11ef44([_0x42d632(0x0,_0x135c9c['IDrawingManagerService']),_0x42d632(0x1,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x2,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a)),_0x42d632(0x5,(0x0,_0x1ba070['Inject'])(_0x2cd04e[_0x185be1(0x196)])),_0x42d632(0x6,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['ISidebarService'])),_0x42d632(0x7,_0x21688c[_0x185be1(0x228)]),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x9,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['SheetCanvasPopManagerService'])),_0x42d632(0xa,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0xb,_0x24cbf9),_0x42d632(0xc,_0x1ba070[_0x185be1(0x461)]),_0x42d632(0xd,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0xe,_0x1ba070['IConfigService'])],_0x188c9f);var _0x3a2800=_0x185be1(0x21c),_0x23c060=_0x185be1(0x4aa);let _0x3ca18e=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x1da552,_0x3ca932){const _0x54023a=_0x185be1;super(),this[_0x54023a(0x3e8)]=_0x1da552,this[_0x54023a(0x57a)]=_0x3ca932,this['_init']();}['_init'](){const _0x2ad764=_0x185be1;this['disposeWithMe'](this['_chartHostProviderService'][_0x2ad764(0x271)][_0x2ad764(0x17f)](_0x32f78b=>{const _0x56d33f=_0x2ad764;this[_0x56d33f(0x57a)][_0x56d33f(0x3d6)](_0x32f78b);}));}};_0x3ca18e=_0x11ef44([_0x42d632(0x0,_0xd413d),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)]))],_0x3ca18e);let _0x198776=class extends _0x1ba070['Disposable']{constructor(_0x39f94f,_0x52461c,_0x19b0b6,_0x444702,_0xc4654c,_0x11447e){const _0x16e24e=_0x185be1;super(),this['_chartModelService']=_0x39f94f,this[_0x16e24e(0x3cf)]=_0x52461c,this[_0x16e24e(0x2cd)]=_0x19b0b6,this[_0x16e24e(0x44d)]=_0x444702,this[_0x16e24e(0x403)]=_0xc4654c,this[_0x16e24e(0x3a4)]=_0x11447e,_0x3d73b3(this,_0x16e24e(0x4b1),new Map()),_0x3d73b3(this,_0x16e24e(0x2cb),new Set()),this[_0x16e24e(0x549)](),this[_0x16e24e(0x3b8)](),this[_0x16e24e(0x484)]();}['_initPrinting'](){const _0x451fbc=_0x185be1;this[_0x451fbc(0x3d7)](this[_0x451fbc(0x3a4)][_0x451fbc(0x2c5)]['intercept'](this[_0x451fbc(0x3a4)][_0x451fbc(0x2c5)][_0x451fbc(0x223)]()[_0x451fbc(0x24d)],{'handler':(_0x4b772a,_0x41b623,_0x50a8a1)=>{const _0x2075bf=_0x451fbc;let _0x362684=this[_0x2075bf(0x3cf)]['renderChartsForPrinting'](_0x41b623['unitId'],_0x41b623[_0x2075bf(0x50c)],_0x41b623[_0x2075bf(0x493)]);return _0x41b623[_0x2075bf(0x201)][_0x2075bf(0x221)](_0x362684),_0x50a8a1(_0x4b772a);}}));}[_0x185be1(0x549)](){const _0x1522cc=_0x185be1;this[_0x1522cc(0x3d7)](this[_0x1522cc(0x57a)][_0x1522cc(0x52b)][_0x1522cc(0x17f)](_0x1a0647=>{const _0xed2856=_0x1522cc;if(_0x1a0647){let _0x5c71c2=new _0x1ba070[(_0xed2856(0x20b))]();_0x5c71c2['add'](_0x1a0647['dataSource$'][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x2c0)])(_0x23fa5d=>_0x23fa5d[_0xed2856(0x4ae)][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x3d8)])(0x1))))['subscribe'](()=>{const _0x4670e8=_0xed2856;this[_0x4670e8(0x2cb)][_0x4670e8(0x221)](_0x1a0647['id']);})),_0x5c71c2['add'](_0x1a0647[_0xed2856(0x235)][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x4fb)])(_0x1a0647[_0xed2856(0x325)]),(0x0,_0x5e3636[_0xed2856(0x4fb)])(this[_0xed2856(0x2cd)][_0xed2856(0x353)]),(0x0,_0x5e3636[_0xed2856(0x1e1)])(0x64))['subscribe'](([[_0x2b6fa2,_0x35e250],_0x324441])=>{const _0x1cfc00=_0xed2856;var _0x2540cb;if(!_0x2b6fa2)return;(_0x2540cb=_0x2b6fa2[_0x1cfc00(0x23a)])==null||_0x2540cb[_0x1cfc00(0x199)]['forEach']((_0x166ad5,_0x44bd8c)=>{const _0x38bf58=_0x1cfc00;_0x166ad5['label']||=this[_0x38bf58(0x2cd)]['t'](_0x38bf58(0x1da))+'\x20'+(_0x44bd8c+0x1);}),_0x2b6fa2[_0x1cfc00(0x1c5)][_0x1cfc00(0x55c)]((_0xbc5d91,_0x2d5f4b)=>{const _0x3504e6=_0x1cfc00;_0xbc5d91[_0x3504e6(0x48e)]||=this[_0x3504e6(0x2cd)]['t'](_0x3504e6(0x398))+'\x20'+(_0x2d5f4b+0x1);});let _0x36caf6=this[_0x1cfc00(0x3cf)][_0x1cfc00(0x40e)](_0x1a0647,_0x324441),_0x419f23=this[_0x1cfc00(0x2cb)]['delete'](_0x1a0647['id']);this[_0x1cfc00(0x3cf)][_0x1cfc00(0x266)](_0x1a0647['id'],_0x2b6fa2,_0x36caf6,{'animateDataUpdate':_0x419f23});})),_0x1a0647['onDispose'](()=>{const _0x4adec0=_0xed2856;this[_0x4adec0(0x2cb)][_0x4adec0(0x2e1)](_0x1a0647['id']),_0x5c71c2[_0x4adec0(0x4d8)]();});}}));}[_0x185be1(0x3b8)](){const _0x42e7dc=_0x185be1;this['disposeWithMe'](this[_0x42e7dc(0x403)][_0x42e7dc(0x4a2)](_0x5882bd=>{const _0x3aa2e1=_0x42e7dc;if(_0x5882bd['id']!==_0x113ca7[_0x3aa2e1(0x480)]['id'])return;let _0x1f8ac1=_0x5882bd[_0x3aa2e1(0x528)];_0x1f8ac1!=null&&_0x1f8ac1[_0x3aa2e1(0x42c)]&&Promise['resolve']()[_0x3aa2e1(0x57e)](()=>this[_0x3aa2e1(0x4e1)](_0x1f8ac1));}));}[_0x185be1(0x4e1)](_0x536bad){const _0x164e1d=_0x185be1;let _0x2a72cf=this['_chartModelService'][_0x164e1d(0x214)](_0x536bad['chartModelId']);if(!_0x2a72cf||_0x2a72cf[_0x164e1d(0x593)]!==_0x214e0a[_0x164e1d(0x3b0)][_0x164e1d(0x2a2)])return;let _0x4b5ade=_0x2a72cf[_0x164e1d(0x4fd)];_0x4b5ade?this[_0x164e1d(0x35e)](_0x2a72cf,_0x4b5ade):this[_0x164e1d(0x360)](_0x2a72cf);}['_renderWhenConfigReady'](_0x35e56b){const _0x12ff50=_0x185be1;if(this[_0x12ff50(0x4b1)][_0x12ff50(0x442)](_0x35e56b['id']))return;let _0xfc5e2f=_0x35e56b[_0x12ff50(0x235)][_0x12ff50(0x4d3)]((0x0,_0x5e3636[_0x12ff50(0x3e6)])(_0x589d4b=>_0x589d4b!=null),(0x0,_0x5e3636['take'])(0x1))['subscribe'](_0x283ff8=>{const _0x2009ee=_0x12ff50;this[_0x2009ee(0x4b1)][_0x2009ee(0x2e1)](_0x35e56b['id']),this[_0x2009ee(0x35e)](_0x35e56b,_0x283ff8);});this[_0x12ff50(0x4b1)]['set'](_0x35e56b['id'],_0xfc5e2f),_0x35e56b[_0x12ff50(0x319)](()=>{const _0x4f7e2e=_0x12ff50;_0xfc5e2f['unsubscribe'](),this['_pendingMutationConfigRenders'][_0x4f7e2e(0x2e1)](_0x35e56b['id']);});}[_0x185be1(0x35e)](_0x18b3a6,_0x11821b){const _0x349a64=_0x185be1;let _0x25487d=this[_0x349a64(0x3cf)][_0x349a64(0x40e)](_0x18b3a6,this[_0x349a64(0x2cd)]['getDirection']());this['_chartRenderService']['render'](_0x18b3a6['id'],_0x11821b,_0x25487d);}};_0x198776=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x17894a)),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x3,_0x24cbf9),_0x42d632(0x4,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x5,(0x0,_0x1ba070['Inject'])(_0x53e756['SheetPrintInterceptorService']))],_0x198776);function _0x1fdfe6(_0x195ad5,_0x445b75){const _0x5cec51=_0x185be1;return _0x195ad5[_0x5cec51(0x2ac)]!==_0x445b75[_0x5cec51(0x2ac)]||_0x195ad5[_0x5cec51(0x50c)]!==_0x445b75[_0x5cec51(0x3bf)]?_0x195ad5:{..._0x195ad5,'subUnitId':_0x445b75['targetSubUnitId']};}function _0x232a8d(_0x3c204a,_0x265b98){const _0x15ed44=_0x185be1;return(_0x3c204a==null?void 0x0:_0x3c204a[_0x15ed44(0x569)])===_0x214e0a[_0x15ed44(0x3c3)][_0x15ed44(0x46d)]?{..._0x3c204a,'source':_0x1fdfe6(_0x3c204a[_0x15ed44(0x304)],_0x265b98)}:_0x3c204a;}function _0x2f07ad(_0x21c965,_0x1b37e4){const _0x27de60=_0x185be1;let {rangeInfo:_0x34ff1a}=_0x21c965;return Array[_0x27de60(0x571)](_0x34ff1a)?{..._0x21c965,'rangeInfo':_0x34ff1a[_0x27de60(0x18e)](_0x3d4de5=>({..._0x3d4de5,..._0x3d4de5[_0x27de60(0x430)]?{'header':_0x232a8d(_0x3d4de5['header'],_0x1b37e4)}:{},'range':_0x1fdfe6(_0x3d4de5[_0x27de60(0x340)],_0x1b37e4)}))}:{..._0x21c965,'rangeInfo':{..._0x34ff1a,..._0x34ff1a[_0x27de60(0x430)]?{'header':{..._0x34ff1a[_0x27de60(0x430)],..._0x34ff1a[_0x27de60(0x430)][_0x27de60(0x33d)]?{'titles':_0x41ecb7(_0x34ff1a[_0x27de60(0x430)][_0x27de60(0x33d)],_0x1b37e4)}:{}}}:{},'rangeInfo':_0x1fdfe6(_0x34ff1a[_0x27de60(0x236)],_0x1b37e4)}};}function _0x41ecb7(_0x27640d,_0x1640d5){const _0x441a8d=_0x185be1;return _0x27640d[_0x441a8d(0x569)]===_0x214e0a[_0x441a8d(0x3c3)]['Literals']?{..._0x27640d,'values':{..._0x27640d['values']}}:_0x27640d[_0x441a8d(0x569)]===_0x214e0a[_0x441a8d(0x3c3)][_0x441a8d(0x241)]?{..._0x27640d,'values':Object[_0x441a8d(0x413)](Object['entries'](_0x27640d[_0x441a8d(0x420)])[_0x441a8d(0x18e)](([_0x584116,_0x32e45d])=>[_0x584116,_0x32e45d&&_0x1fdfe6(_0x32e45d,_0x1640d5)]))}:{..._0x27640d,'values':Object[_0x441a8d(0x413)](Object[_0x441a8d(0x1e5)](_0x27640d['values'])['map'](([_0x29894f,_0x4311d8])=>[_0x29894f,_0x4311d8&&_0x232a8d(_0x4311d8,_0x1640d5)]))};}function _0x15356e(_0x513e8d,_0x479b6e,_0x4e8782,_0x2e4e64){const _0x50c828=_0x185be1;let _0x21441c=(0x0,_0x135c9c[_0x50c828(0x4a8)])(_0x513e8d,_0x479b6e,_0x4e8782),_0xfc5d68=[];for(let _0x202819 of _0x479b6e){let _0x347b90=_0x21441c[_0x50c828(0x523)]['get'](_0x202819[_0x50c828(0x3b7)]),_0x513acd=_0x2e4e64(_0x202819);_0x347b90&&_0x513acd&&_0xfc5d68['push']({'targetChartId':_0x347b90,'source':_0x2f07ad(_0x513acd,_0x4e8782)});}return _0xfc5d68;}let _0x1d1094=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x29c9e7,_0x349318,_0x2225e6,_0x10736f,_0x3eaa39){const _0xa358a7=_0x185be1;super(),this[_0xa358a7(0x538)]=_0x29c9e7,this['_sheetInterceptorService']=_0x349318,this[_0xa358a7(0x2ed)]=_0x2225e6,this[_0xa358a7(0x57a)]=_0x10736f,this[_0xa358a7(0x373)]=_0x3eaa39,this[_0xa358a7(0x520)]();}[_0x185be1(0x520)](){const _0x4e6fab=_0x185be1;this[_0x4e6fab(0x3d7)](this[_0x4e6fab(0x181)][_0x4e6fab(0x4f6)]({'getMutations':_0x51f249=>{const _0x63495d=_0x4e6fab;if(_0x51f249['id']===_0x4a6d0b[_0x63495d(0x544)]['id']){let _0x3227f7=(0x0,_0x4a6d0b[_0x63495d(0x3d9)])(this['_univerInstanceService'],_0x51f249[_0x63495d(0x528)]);if(!_0x3227f7)return{'redos':[],'undos':[]};let {unitId:_0x5c39e9,subUnitId:_0x5b8362}=_0x3227f7,_0x587b30=this[_0x63495d(0x2ed)][_0x63495d(0x39b)](_0x5c39e9,_0x5b8362),_0x20f234=Object[_0x63495d(0x420)](_0x587b30)['filter'](_0x3bf972=>_0x3bf972[_0x63495d(0x2d3)]===_0x1ba070['DrawingTypeEnum'][_0x63495d(0x52f)]);if(_0x20f234[_0x63495d(0x36b)]===0x0)return{'redos':[],'undos':[]};let _0x3f13ca=[],_0x25ba65=[];for(let _0x10855b=0x0;_0x10855b<_0x20f234[_0x63495d(0x36b)];_0x10855b++){let _0x5988d5=_0x20f234[_0x10855b],_0x5b924b=this['_chartModelService'][_0x63495d(0x214)](_0x5988d5[_0x63495d(0x3b7)]);if(!_0x5b924b)continue;let _0x4f910c=this[_0x63495d(0x373)][_0x63495d(0x44f)](_0x5b924b['id']);if(!_0x4f910c)continue;let {chartType:_0x9ce8c1,context:_0x55e9e8,style:_0x5ab78a,dataAggregation:_0x4750ff}=_0x5b924b['serialize']();_0x3f13ca[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x37c)]['id'],'params':{'unitId':_0x5c39e9,'subUnitId':_0x5b8362,'chartId':_0x5988d5[_0x63495d(0x3b7)]}}),_0x25ba65[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x1df)]['id'],'params':{'unitId':_0x5c39e9,'subUnitId':_0x5b8362,'chartId':_0x5988d5[_0x63495d(0x3b7)],'chartType':_0x9ce8c1,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x4f910c),'context':_0x55e9e8,'style':_0x5ab78a,'dataAggregation':_0x4750ff}});}return{'redos':_0x3f13ca,'undos':_0x25ba65};}if(_0x51f249['id']===_0x4a6d0b[_0x63495d(0x2cf)]['id']){let {unitId:_0x558d32,subUnitId:_0x44b0c8,targetSubUnitId:_0x1d4c31,copyContext:_0x552e92}=_0x51f249[_0x63495d(0x528)];if(!_0x558d32||!_0x44b0c8||!_0x1d4c31)return{'redos':[],'undos':[]};let _0x1bbae9=this[_0x63495d(0x2ed)][_0x63495d(0x39b)](_0x558d32,_0x44b0c8),_0x4a5434=Object['values'](_0x1bbae9)[_0x63495d(0x3e6)](_0x21fba=>_0x21fba[_0x63495d(0x2d3)]===_0x1ba070[_0x63495d(0x1f9)][_0x63495d(0x52f)]);if(_0x4a5434['length']===0x0)return{'redos':[],'undos':[]};let _0x3ae24e=_0x15356e(_0x552e92,_0x4a5434,{'unitId':_0x558d32,'sourceSubUnitId':_0x44b0c8,'targetSubUnitId':_0x1d4c31},_0x33e606=>{const _0x25c4d4=_0x63495d;let _0x158640=this[_0x25c4d4(0x57a)]['getChartModel'](_0x33e606[_0x25c4d4(0x3b7)]);if(!_0x158640)return;let _0x3cb7cb=this['_sheetsChartService']['getChartSourceSpec'](_0x158640['id']);if(!_0x3cb7cb)return;let {chartType:_0x781ede,context:_0x1f91e6,style:_0xf27599,dataAggregation:_0x149623}=_0x158640[_0x25c4d4(0x454)]();return{'rangeInfo':_0x3cb7cb,'chartType':_0x781ede,'context':_0x1f91e6,'style':_0xf27599,'dataAggregation':_0x149623};}),_0x4f956a=[],_0xd1ef98=[];for(let {targetChartId:_0x531981,source:_0x390e7f}of _0x3ae24e){let {rangeInfo:_0x59de1d,chartType:_0x339f4,context:_0x463675,style:_0x21716b,dataAggregation:_0x5b3444}=_0x390e7f;_0x4f956a[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x1df)]['id'],'params':{'unitId':_0x558d32,'subUnitId':_0x1d4c31,'chartId':_0x531981,'chartType':_0x339f4,...(0x0,_0x113ca7[_0x63495d(0x4ba)])(_0x59de1d),'context':_0x463675,'style':_0x21716b,'dataAggregation':_0x5b3444}}),_0xd1ef98[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x37c)]['id'],'params':{'unitId':_0x558d32,'subUnitId':_0x1d4c31,'chartId':_0x531981}});}return{'redos':_0x4f956a,'undos':_0xd1ef98};}return{'redos':[],'undos':[]};}}));}};_0x1d1094=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x53a)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b[_0x185be1(0x2a0)])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x302521['ISheetDrawingService'])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)]))],_0x1d1094);let _0x4bb399=_0x224773=>_0x224773[_0x185be1(0x448)](_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)])[_0x185be1(0x185)](),_0x53ef75=_0x3869cd=>{const _0x113979=_0x185be1;var _0x351149;return(_0x351149=_0x3869cd[_0x113979(0x448)](_0x1ba070[_0x113979(0x203)]['UNIVER_SHEET'])[_0x113979(0x1bd)]())==null?void 0x0:_0x351149[_0x113979(0x2ec)]();};function _0x55b881(){const _0x22b13=_0x185be1;var _0x3d2f17;let _0x556b8c=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x24cbf9),_0x5b14d4=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x113ca7[_0x22b13(0x47d)]),_0x17c6df=(0x0,_0x21688c['useDependency'])(_0x113ca7[_0x22b13(0x1f5)]),_0x37301e=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x1ba070[_0x22b13(0x30e)]),_0x21b572=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x1ba070[_0x22b13(0x32e)]),_0x2ed605=(0x0,_0x113ca7['getAllowedChartTypes'])(_0x21b572),_0x40a35b=(0x0,_0x119d22[_0x22b13(0x4b5)])(()=>{const _0x48541d=_0x22b13;let _0x399792=_0x36e3f4(_0x552a93[_0x48541d(0x3aa)](),_0x2ed605);return(0x0,_0x37f706[_0x48541d(0x53f)])(_0x399792[_0x48541d(0x18e)](_0x3db817=>({'id':_0x3db817['id'],'label':_0x37301e['t'](_0x48541d(0x1ee)+_0x3db817[_0x48541d(0x1d9)]),'pieSecondaryPlotType':_0x3db817[_0x48541d(0x35a)],'value':_0x3db817[_0x48541d(0x2a6)]})));},[_0x2ed605,_0x37301e]),_0x26938d=(0x0,_0x21688c['useObservable'])(_0x5b14d4[_0x22b13(0x548)],_0x5b14d4[_0x22b13(0x286)]),_0x43cdf6=_0x26938d?_0x17c6df[_0x22b13(0x20a)](_0x26938d['id']):void 0x0,_0x61961a=(0x0,_0x21688c[_0x22b13(0x27d)])(_0x43cdf6==null?void 0x0:_0x43cdf6[_0x22b13(0x423)],_0x43cdf6==null?void 0x0:_0x43cdf6[_0x22b13(0x3f0)]()),_0x21bdcc=Array[_0x22b13(0x571)](_0x61961a),_0xdb2f77=_0x61961a&&!_0x21bdcc&&_0x61961a[_0x22b13(0x2fa)]?_0x214e0a['DataOrientation'][_0x22b13(0x292)]:_0x214e0a['DataOrientation'][_0x22b13(0x444)],_0x35f2b8=_0x21bdcc?(_0x3d2f17=_0x61961a[0x0])==null?void 0x0:_0x3d2f17[_0x22b13(0x340)]:_0x61961a==null?void 0x0:_0x61961a['rangeInfo'];return(0x0,_0x4da08e[_0x22b13(0x4ef)])(_0x22b13(0x2d0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':(0x0,_0x4da08e['jsx'])(_0x37f706['ChartSetupPanel'],{'chartTypeOptions':_0x40a35b,'dataSourceControl':(0x0,_0x4da08e[_0x22b13(0x4ef)])(_0x27fbd0,{'dataRange':_0x61961a,'primaryRange':_0x35f2b8}),'categoryToggleLabel':_0x37301e['t'](_0x22b13(0x1cb),_0xdb2f77===_0x214e0a['DataOrientation']['Row']?_0xdb2f77+'\x20'+(((_0x35f2b8==null?void 0x0:_0x35f2b8[_0x22b13(0x340)]['startRow'])??0x0)+0x1):_0xdb2f77+'\x20'+(0x0,_0x1ba070['numberToABC'])((_0x35f2b8==null?void 0x0:_0x35f2b8[_0x22b13(0x340)][_0x22b13(0x4d7)])??0x0)),'orientationControl':_0x21bdcc?void 0x0:(0x0,_0x4da08e['jsx'])(_0x2b4c09['Button'],{'size':_0x22b13(0x408),'onClick':()=>_0x556b8c[_0x22b13(0x414)](_0xdb2f77===_0x214e0a['DataOrientation'][_0x22b13(0x292)]?_0x214e0a[_0x22b13(0x515)]['Column']:_0x214e0a[_0x22b13(0x515)][_0x22b13(0x292)]),'children':_0x37301e['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x27fbd0(_0x2a354a){const _0x218b04=_0x185be1;let {dataRange:_0x5070cc,primaryRange:_0x3825f8}=_0x2a354a,_0x3d1891=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x24cbf9),_0x1772ce=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x1ba070[_0x218b04(0x30e)]),_0x116a12=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x1ba070[_0x218b04(0x53a)]),[_0x4a978a,_0x2579b8]=(0x0,_0x119d22[_0x218b04(0x19c)])(!0x1),[_0x993173,_0x5adfc3]=(0x0,_0x119d22[_0x218b04(0x19c)])(!0x1),_0x4c95db=_0x4bb399(_0x116a12),_0x2c0306=_0x53ef75(_0x116a12);(0x0,_0x119d22['useEffect'])(()=>{_0x3d1891['setRangeSelectMode'](_0x4a978a);},[_0x4a978a,_0x3d1891]);let _0x980303=(0x0,_0x119d22['useMemo'])(()=>(0x0,_0x1ba070[_0x218b04(0x209)])(async _0x401bef=>{const _0x126085=_0x218b04;var _0x56e1ad;if(_0x5dbc9b(_0x5070cc,_0x116a12)===_0x401bef)return;let _0x501c4d=_0x401bef[_0x126085(0x56d)](',')[_0x126085(0x3e6)](Boolean)[_0x126085(0x18e)](_0x5f0a10[_0x126085(0x1e3)])[0x0];if(!_0x501c4d)return;let {unitId:_0x5c36dd,sheetName:_0x2199a4,range:_0x2bac72}=_0x501c4d,_0x7cb56c=_0x5c36dd||_0x4c95db,_0xfcd8a1=((_0x56e1ad=_0x116a12[_0x126085(0x296)](_0x7cb56c)[_0x126085(0x300)](_0x2199a4))==null?void 0x0:_0x56e1ad[_0x126085(0x2ec)]())||(_0x3825f8==null?void 0x0:_0x3825f8[_0x126085(0x50c)])||_0x2c0306;_0xfcd8a1&&_0x3d1891['setDataRange']({'rangeInfo':{'range':_0x2bac72,'unitId':_0x7cb56c,'subUnitId':_0xfcd8a1}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x5070cc,_0x3825f8,_0x3d1891,_0x2c0306,_0x4c95db,_0x116a12]);return(0x0,_0x119d22['useEffect'])(()=>()=>_0x980303[_0x218b04(0x32b)](),[_0x980303]),(0x0,_0x4da08e[_0x218b04(0x4ef)])('div',{'className':_0x218b04(0x486),'children':(0x0,_0x4da08e[_0x218b04(0x3f5)])(_0x218b04(0x2d0),{'children':[(0x0,_0x4da08e[_0x218b04(0x4ef)])(_0x37f706['ChartEditBlockTitle'],{'title':_0x1772ce['t'](_0x218b04(0x335))}),(0x0,_0x4da08e[_0x218b04(0x4ef)])(_0x33c938['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4c95db,'subUnitId':_0x2c0306,'initialValue':_0x5070cc?_0x5dbc9b(_0x5070cc,_0x116a12):'','onChange':(_0xfc584f,_0x1f7986)=>_0x980303(_0x1f7986),'onFocusChange':_0x56efec=>{_0x993173||_0x2579b8(_0x56efec);},'onRangeSelectorDialogVisibleChange':_0x24eb7d=>{_0x5adfc3(_0x24eb7d),_0x2579b8(_0x24eb7d);}})]})});}function _0x4653eb(){const _0x263066=_0x185be1;let [_0x494dcc,_0x1c1015]=(0x0,_0x119d22['useState'])(_0x37f706[_0x263066(0x562)][_0x263066(0x4c9)]),_0x18526a=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x1ba070[_0x263066(0x32e)]),_0x3f3135=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x1ba070[_0x263066(0x30e)]),_0x26e140=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x24cbf9),_0xfc0d2f=(0x0,_0x21688c['useDependency'])(_0x113ca7['ChartModelService']),_0xdcfbf3=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x113ca7['SheetsChartService']),_0x430fc9=(0x0,_0x21688c['useObservable'])(_0xfc0d2f[_0x263066(0x548)],_0xfc0d2f[_0x263066(0x286)]),_0x217015=(0x0,_0x21688c[_0x263066(0x27d)])(_0x26e140[_0x263066(0x2a7)],null),_0x2e3f1d=(0x0,_0x119d22[_0x263066(0x4b5)])(()=>{const _0x109f4d=_0x263066;var _0x1bce0a;if(!_0x430fc9)return null;let _0x89c3f4=_0xdcfbf3['getChartSourceSpec'](_0x430fc9['id']);if(!_0x89c3f4)return null;let _0x4f7717=Array[_0x109f4d(0x571)](_0x89c3f4)?(_0x1bce0a=_0x89c3f4[0x0])==null?void 0x0:_0x1bce0a[_0x109f4d(0x340)]:_0x89c3f4[_0x109f4d(0x236)];return _0x4f7717?new _0x37f706[(_0x109f4d(0x212))](_0x430fc9,new _0x113ca7[(_0x109f4d(0x494))]({'unitId':_0x4f7717[_0x109f4d(0x2ac)],'subUnitId':_0x4f7717['subUnitId'],'chartId':_0x430fc9['id'],'injector':_0x18526a})):null;},[_0x430fc9,_0x18526a,_0xdcfbf3]);if((0x0,_0x119d22['useEffect'])(()=>{const _0x323608=_0x263066;var _0x4b3b10,_0x1fbcea;_0x430fc9&&(_0x217015==null?void 0x0:_0x217015[_0x323608(0x4d9)])===_0x430fc9['id']&&(((_0x4b3b10=_0x217015[_0x323608(0x455)])==null?void 0x0:_0x4b3b10[_0x323608(0x1cf)])===_0x37f706[_0x323608(0x562)][_0x323608(0x358)]&&_0x1c1015(_0x37f706[_0x323608(0x562)][_0x323608(0x358)]),((_0x1fbcea=_0x217015[_0x323608(0x455)])==null?void 0x0:_0x1fbcea[_0x323608(0x1cf)])===_0x37f706[_0x323608(0x562)][_0x323608(0x4c9)]&&_0x1c1015(_0x37f706[_0x323608(0x562)][_0x323608(0x4c9)]));},[_0x430fc9,_0x217015]),!_0x2e3f1d)return null;let _0x44448b=(0x0,_0x4da08e['jsx'])(_0x263066(0x2d0),{'className':_0x263066(0x44c),'children':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x37f706[_0x263066(0x1b5)],{'ariaLabel':_0x3f3135['t'](_0x263066(0x1a1)),'activeTab':_0x494dcc,'onTabChange':_0x1c1015,'tabListClassName':_0x263066(0x215),'panelClassName':_0x494dcc===_0x37f706[_0x263066(0x562)][_0x263066(0x358)]?_0x263066(0x337):_0x263066(0x26a),'tabs':[{'id':_0x37f706[_0x263066(0x562)]['Data'],'panelId':_0x263066(0x578),'title':_0x3f3135['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x55b881,{})},{'id':_0x37f706[_0x263066(0x562)][_0x263066(0x358)],'panelId':_0x263066(0x3c1),'title':_0x3f3135['t'](_0x263066(0x43f)),'content':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x2f4187,{'defaultValues':_0x3580d8})}]})});return(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x37f706[_0x263066(0x543)],{'chartUIService':_0x26e140,'hostAdapter':_0x2e3f1d,'children':_0x44448b});}let _0x55b2f6=class extends _0x1ba070['Disposable']{constructor(_0xb488d0){const _0x1a5b0a=_0x185be1;super(),this[_0x1a5b0a(0x3d7)](_0xb488d0[_0x1a5b0a(0x39e)](_0x209d81,_0x4653eb));}};_0x55b2f6=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['ComponentManager']))],_0x55b2f6);let _0x272d0f=class extends _0x1ba070['Disposable']{constructor(_0xbba1b5,_0x38d610,_0x2362d9,_0x363e8c,_0x55aa49,_0x331b2d,_0xa53247,_0x16e359,_0x13d676){const _0x341ae2=_0x185be1;super(),this[_0x341ae2(0x3d0)]=_0xbba1b5,this[_0x341ae2(0x57a)]=_0x38d610,this[_0x341ae2(0x4fe)]=_0x2362d9,this[_0x341ae2(0x354)]=_0x363e8c,this[_0x341ae2(0x4c7)]=_0x55aa49,this[_0x341ae2(0x403)]=_0x331b2d,this['_sheetsChartUIService']=_0xa53247,this[_0x341ae2(0x3c6)]=_0x16e359,this[_0x341ae2(0x2cd)]=_0x13d676,_0x3d73b3(this,_0x341ae2(0x54e),null),_0x3d73b3(this,_0x341ae2(0x57d),!0x1),this[_0x341ae2(0x186)]();}[_0x185be1(0x4d8)](){const _0x4d159a=_0x185be1;this['hidePanel'](),super[_0x4d159a(0x4d8)]();}[_0x185be1(0x368)](){const _0x1af7f2=_0x185be1;this[_0x1af7f2(0x57d)]||(this[_0x1af7f2(0x57d)]=!0x0,this[_0x1af7f2(0x3d7)](this['_commandService'][_0x1af7f2(0x4a2)](_0x1e7136=>{const _0x23b74f=_0x1af7f2;if(_0x1e7136['id']!==_0x272d7b['id'])return;let _0x29a7f4=_0x1e7136['params'];this[_0x23b74f(0x1b4)](_0x29a7f4[_0x23b74f(0x3b7)],_0x29a7f4[_0x23b74f(0x455)]);})));}[_0x185be1(0x1b4)](_0x451e17,_0x1471c4){const _0x1660f5=_0x185be1;let _0x2cc95f=this[_0x1660f5(0x57a)][_0x1660f5(0x214)](_0x451e17);_0x2cc95f&&(this['_chartModelService']['setActiveChartModel'](_0x2cc95f),this['_openPanel'](),this[_0x1660f5(0x55d)][_0x1660f5(0x1b6)](!0x0),this['_sheetsChartUIService'][_0x1660f5(0x2fc)](_0x451e17,_0x1471c4??null));}[_0x185be1(0x3af)](){const _0x14d563=_0x185be1;let _0x254ebd=this[_0x14d563(0x54e)];this['_sidebarDisposable']=null,this['_clearPanelState'](),_0x254ebd==null||_0x254ebd[_0x14d563(0x4d8)]();}['_initMenus'](){const _0x3848b0=_0x185be1;this[_0x3848b0(0x354)]['mergeMenu']({[_0x21688c['RibbonInsertGroup'][_0x3848b0(0x555)]]:{[_0x1b45e5['id']]:{'order':0x4,'menuItemFactory':_0x20768b}}}),this[_0x3848b0(0x4c7)][_0x3848b0(0x288)](_0x1ba070[_0x3848b0(0x1f9)][_0x3848b0(0x52f)],(_0x4aa11e,_0x328fda,_0x2600d8,_0x5b99fe)=>[{'label':this[_0x3848b0(0x2cd)]['t'](_0x3848b0(0x1a1)),'index':0x0,'commandId':_0x272d7b['id'],'commandParams':{'unitId':_0x4aa11e,'subUnitId':_0x328fda,'drawingId':_0x2600d8},'disable':_0x5b99fe!==_0x1ba070[_0x3848b0(0x1f9)][_0x3848b0(0x52f)]},{'label':this[_0x3848b0(0x2cd)]['t'](_0x3848b0(0x565)),'index':0x1,'commandId':_0x302521[_0x3848b0(0x58e)]['id'],'commandParams':{'unitId':_0x4aa11e,'drawings':[{'unitId':_0x4aa11e,'subUnitId':_0x328fda,'drawingId':_0x2600d8,'drawingType':_0x5b99fe}]},'disable':!0x1}],_0x3848b0(0x239));}[_0x185be1(0x270)](){const _0x537984=_0x185be1;this['_sidebarDisposable']=this[_0x537984(0x4fe)]['open']({'id':_0x209d81,'header':{'title':this[_0x537984(0x2cd)]['t'](_0x537984(0x1a1))},'children':{'label':_0x209d81},'onClose':()=>{const _0x2df3f3=_0x537984;this['_sidebarDisposable']=null,this[_0x2df3f3(0x3bd)]();}});}[_0x185be1(0x3bd)](){const _0x4623ac=_0x185be1;this['_sheetsChartUIService'][_0x4623ac(0x1b6)](!0x1),this[_0x4623ac(0x55d)]['clearPanelRoute'](),this[_0x4623ac(0x57a)][_0x4623ac(0x286)]&&this[_0x4623ac(0x57a)][_0x4623ac(0x4a3)](null),this['_drawingManagerService'][_0x4623ac(0x3cd)](null),this[_0x4623ac(0x3c6)][_0x4623ac(0x227)](_0x1ba070[_0x4623ac(0x406)],!0x1);}};_0x272d0f=_0x11ef44([_0x42d632(0x0,_0x135c9c[_0x185be1(0x31a)]),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x2,(0x0,_0x1ba070['Inject'])(_0x21688c['ISidebarService'])),_0x42d632(0x3,_0x21688c[_0x185be1(0x228)]),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['SheetCanvasPopManagerService'])),_0x42d632(0x5,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x6,_0x24cbf9),_0x42d632(0x7,_0x1ba070[_0x185be1(0x461)]),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070['LocaleService']))],_0x272d0f);let _0x2350ba=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x8dd860,_0x18f1de,_0x7535ab,_0xe216aa,_0x780452){const _0x3cd61a=_0x185be1;super(),this[_0x3cd61a(0x460)]=_0x8dd860,this[_0x3cd61a(0x40b)]=_0x18f1de,this['_sheetDrawingService']=_0x7535ab,this[_0x3cd61a(0x57a)]=_0xe216aa,this[_0x3cd61a(0x373)]=_0x780452,_0x3d73b3(this,_0x3cd61a(0x496),void 0x0),this['_initCopyPaste']();}get[_0x185be1(0x537)](){const _0x4ea1bb=_0x185be1;return this[_0x4ea1bb(0x2ed)][_0x4ea1bb(0x559)]();}[_0x185be1(0x45b)](){const _0x21e69b=_0x185be1;this[_0x21e69b(0x3d7)](this['_sheetClipboardService'][_0x21e69b(0x2f2)]({'id':_0x113ca7[_0x21e69b(0x282)],'onBeforeCopyFocusedObject':(_0x10942d,_0xc1a191,_0x2f541d)=>{const _0x2594c4=_0x21e69b;this['_copyInfo']=null;let _0x198363=this[_0x2594c4(0x537)]['filter'](_0x2c8590=>this['_isOwnedChart'](_0x2c8590));return _0x198363[_0x2594c4(0x36b)]!==0x0&&(this[_0x2594c4(0x496)]={'unitId':_0x10942d,'subUnitId':_0xc1a191,'copyType':_0x2f541d,'drawings':_0x198363},!0x0);},'onBeforeCopy':(_0x4f6fbb,_0x247896,_0x4e784c,_0x46c461)=>{const _0x10e6ac=_0x21e69b;this[_0x10e6ac(0x496)]=null,this[_0x10e6ac(0x453)](_0x4f6fbb,_0x247896,_0x4e784c,_0x46c461);},'onPasteCells':(_0x57e3cc,_0x224203,_0x4321b5,_0x295948)=>{const _0x746d33=_0x21e69b;if(!_0x295948[_0x746d33(0x361)]||!_0x57e3cc||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x246833}=_0x295948;return _0x246833===_0x53e756[_0x746d33(0x333)][_0x746d33(0x468)]?this[_0x746d33(0x1e0)](_0x224203,this[_0x746d33(0x496)][_0x746d33(0x2d9)]===_0x53e756[_0x746d33(0x195)][_0x746d33(0x2f5)]):{'redos':[],'undos':[]};}}));}[_0x185be1(0x453)](_0xcad044,_0x43f125,_0x47c3a6,_0x9cf2b){const _0x425982=_0x185be1;let _0x3d80d2=this[_0x425982(0x460)][_0x425982(0x293)](_0xcad044,_0x43f125);if(!_0x3d80d2)return;let _0x19ed6a=(0x0,_0x4a6d0b[_0x425982(0x1ce)])(_0x3d80d2,_0x47c3a6);if(!_0x19ed6a)return;let {startX:_0x4d032d,endX:_0x132823,startY:_0x20be70,endY:_0xfbb54d}=_0x19ed6a,_0x47af45=this[_0x425982(0x2ed)][_0x425982(0x39b)](_0xcad044,_0x43f125),_0x1e6ac8=[];for(let [_0x465134,_0xbe048f]of Object[_0x425982(0x1e5)](_0x47af45)){if(!this['_isOwnedChart'](_0xbe048f))continue;let {transform:_0x3f5069}=_0xbe048f;if(!_0x3f5069)continue;let {left:_0x79babd=0x0,top:_0xbc359=0x0,width:_0x58892c=0x0,height:_0x2db593=0x0}=_0x3f5069;_0x4d032d<=_0x79babd&&_0x132823>=_0x79babd+_0x58892c&&_0x20be70<=_0xbc359&&_0xfbb54d>=_0xbc359+_0x2db593&&_0x1e6ac8[_0x425982(0x3be)](_0xbe048f);}_0x1e6ac8[_0x425982(0x36b)]>0x0&&(this[_0x425982(0x496)]={'unitId':_0xcad044,'subUnitId':_0x43f125,'copyType':_0x9cf2b,'copyRange':_0x47c3a6,'drawings':_0x1e6ac8});}[_0x185be1(0x1c0)](_0x19e623){const _0x44ff2d=_0x185be1;return _0x19e623['drawingType']===_0x1ba070[_0x44ff2d(0x1f9)][_0x44ff2d(0x52f)]&&this[_0x44ff2d(0x373)][_0x44ff2d(0x2e0)](_0x19e623[_0x44ff2d(0x2ac)],_0x19e623[_0x44ff2d(0x3b7)])===_0x19e623[_0x44ff2d(0x50c)];}[_0x185be1(0x1e0)](_0x225726,_0x3013b1){const _0x19e75c=_0x185be1;let {unitId:_0x5c3489,subUnitId:_0x4abcfa,range:_0x4b35bc}=_0x225726,_0x4e9cfe=this[_0x19e75c(0x460)][_0x19e75c(0x293)](_0x5c3489,_0x4abcfa);if(!_0x4e9cfe)return{'redos':[],'undos':[]};let _0x80acde=(0x0,_0x4a6d0b['discreteRangeToRange'])(_0x4b35bc),{unitId:_0x1ebf76,subUnitId:_0xcbba83,copyRange:_0x3d001a,drawings:_0x4afac9}=this[_0x19e75c(0x496)],_0xdef1c8=this[_0x19e75c(0x460)][_0x19e75c(0x293)](_0x1ebf76,_0xcbba83);if(!_0xdef1c8)return{'redos':[],'undos':[]};let _0x2734eb=[],_0x29c2cf=[];for(let _0x50a825 of _0x4afac9){let {drawingId:_0x536da5,transform:_0x283a8d,sheetTransform:_0x507292}=_0x50a825,_0x3d6dcf=this[_0x19e75c(0x57a)][_0x19e75c(0x214)](_0x536da5);if(!_0x3d6dcf||!_0x283a8d||!_0x507292)continue;let _0x41a320=this[_0x19e75c(0x41a)]({'transform':_0x283a8d,'sheetTransform':_0x507292},{'skeleton':_0xdef1c8,'range':_0x3d001a},{'skeleton':_0x4e9cfe,'range':_0x80acde});if(_0x3013b1){let {redos:_0x498b98,undos:_0x409a91}=this['_generateCutPasteMutations']({'fromUnitId':_0x1ebf76,'fromSubUnitId':_0xcbba83,'toUnitId':_0x5c3489,'toSubUnitId':_0x4abcfa,'drawing':_0x50a825,'newTransforms':_0x41a320},_0x3d6dcf);_0x2734eb[_0x19e75c(0x3be)](..._0x498b98),_0x29c2cf[_0x19e75c(0x3be)](..._0x409a91);continue;}let {redos:_0x29d840,undos:_0x9066e9}=this[_0x19e75c(0x501)]({'toUnitId':_0x5c3489,'toSubUnitId':_0x4abcfa,'drawing':_0x50a825,'newTransforms':_0x41a320},_0x3d6dcf);_0x2734eb[_0x19e75c(0x3be)](..._0x29d840),_0x29c2cf['push'](..._0x9066e9);}return{'redos':_0x2734eb,'undos':_0x29c2cf};}[_0x185be1(0x38e)](_0x5b246e,_0x5caf2a){const _0x39f6b3=_0x185be1;let {fromUnitId:_0x486007,fromSubUnitId:_0x1a5330,toUnitId:_0x47d21a,toSubUnitId:_0x5694c3,drawing:_0x38656c,newTransforms:_0x11463b}=_0x5b246e,_0x2bee85={..._0x38656c,'unitId':_0x47d21a,'subUnitId':_0x5694c3,'transform':_0x11463b[_0x39f6b3(0x380)],'sheetTransform':_0x11463b[_0x39f6b3(0x3c2)]};if(_0x47d21a===_0x486007&&_0x5694c3===_0x1a5330){let {redo:_0xec6bdb,undo:_0x461093,objects:_0x4e36e7}=this[_0x39f6b3(0x2ed)]['getBatchUpdateOp']([_0x2bee85]);return{'redos':[{'id':_0x302521['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x4be)],'op':_0xec6bdb,'objects':_0x4e36e7}}],'undos':[{'id':_0x302521['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x4be)],'op':_0x461093,'objects':_0x4e36e7}}]};}{let _0x3d30cf=this[_0x39f6b3(0x2ed)][_0x39f6b3(0x197)]([_0x38656c]),_0x15d77f=this[_0x39f6b3(0x2ed)][_0x39f6b3(0x37e)]([_0x2bee85]),_0x22a9d7=this['_sheetsChartService'][_0x39f6b3(0x44f)](_0x5caf2a['id']);if(!_0x22a9d7)return{'redos':[],'undos':[]};let {chartType:_0x34912a,context:_0x3fe20d,style:_0x2df613,dataAggregation:_0x4c969c}=_0x5caf2a[_0x39f6b3(0x454)]();return{'redos':[{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'type':_0x302521['DrawingApplyType'][_0x39f6b3(0x348)],'op':_0x3d30cf[_0x39f6b3(0x519)],'objects':_0x3d30cf[_0x39f6b3(0x25c)]}},{'id':_0x113ca7[_0x39f6b3(0x37c)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'chartId':_0x38656c[_0x39f6b3(0x3b7)]}},{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x449)],'op':_0x15d77f[_0x39f6b3(0x519)],'objects':_0x15d77f[_0x39f6b3(0x25c)]}},{'id':_0x113ca7['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'chartId':_0x38656c[_0x39f6b3(0x3b7)],'chartType':_0x34912a,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x22a9d7),'context':_0x3fe20d,'style':_0x2df613,'dataAggregation':_0x4c969c}}],'undos':[{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x449)],'op':_0x3d30cf[_0x39f6b3(0x3fd)],'objects':_0x3d30cf['objects']}},{'id':_0x113ca7[_0x39f6b3(0x1df)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'chartId':_0x38656c[_0x39f6b3(0x3b7)],'chartType':_0x34912a,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x22a9d7),'context':_0x3fe20d,'style':_0x2df613,'dataAggregation':_0x4c969c}},{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x348)],'op':_0x15d77f[_0x39f6b3(0x3fd)],'objects':_0x15d77f[_0x39f6b3(0x25c)]}},{'id':_0x113ca7[_0x39f6b3(0x37c)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'chartId':_0x38656c[_0x39f6b3(0x3b7)]}}]};}}[_0x185be1(0x501)](_0x74b221,_0x2a3a29){const _0x14e7e3=_0x185be1;let {toUnitId:_0x56f5b1,toSubUnitId:_0x566969,drawing:_0x266441,newTransforms:_0x1d9d0f}=_0x74b221,_0x47f499=(0x0,_0x1ba070[_0x14e7e3(0x2be)])(),_0x174f9d={..._0x266441,'unitId':_0x56f5b1,'subUnitId':_0x566969,'drawingId':_0x47f499,'transform':_0x1d9d0f[_0x14e7e3(0x380)],'sheetTransform':_0x1d9d0f['sheetTransform']},{redo:_0x555b1c,undo:_0x5bba1c,objects:_0x499a63}=this[_0x14e7e3(0x2ed)][_0x14e7e3(0x37e)]([_0x174f9d]),_0x19acd4=this[_0x14e7e3(0x373)][_0x14e7e3(0x44f)](_0x2a3a29['id']);if(!_0x19acd4)return{'redos':[],'undos':[]};let {chartType:_0x5a23ad,context:_0x42e407,style:_0x282e07,dataAggregation:_0x1eabae}=_0x2a3a29['serialize']();return{'redos':[{'id':_0x302521[_0x14e7e3(0x21e)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'type':_0x302521[_0x14e7e3(0x2a4)][_0x14e7e3(0x449)],'op':_0x555b1c,'objects':_0x499a63}},{'id':_0x113ca7['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'chartId':_0x47f499,'chartType':_0x5a23ad,...(0x0,_0x113ca7[_0x14e7e3(0x4ba)])(_0x19acd4),'context':_0x42e407,'style':_0x282e07,'dataAggregation':_0x1eabae}}],'undos':[{'id':_0x302521[_0x14e7e3(0x21e)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'type':_0x302521[_0x14e7e3(0x2a4)][_0x14e7e3(0x348)],'op':_0x5bba1c,'objects':_0x499a63}},{'id':_0x113ca7[_0x14e7e3(0x37c)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'chartId':_0x47f499}}]};}['_updateTransform'](_0x589594,_0x9f0c69,_0x3135c9){const _0x16f0d8=_0x185be1;let {range:_0x1dde0d,skeleton:_0x5a911d}=_0x9f0c69,{range:_0x2ad859,skeleton:_0x31bc47}=_0x3135c9,{transform:_0x4f6aeb,sheetTransform:_0x42901f}=_0x589594,_0x4db09b={..._0x4f6aeb};if(_0x1dde0d){let _0x26ae98=(0x0,_0x4a6d0b['attachRangeWithCoord'])(_0x5a911d,_0x1dde0d),_0x16074f=(0x0,_0x4a6d0b[_0x16f0d8(0x1ce)])(_0x31bc47,_0x2ad859);if(_0x26ae98&&_0x16074f){let _0x1dfd05=_0x16074f[_0x16f0d8(0x4ce)]-_0x26ae98[_0x16f0d8(0x4ce)],_0x806013=_0x16074f[_0x16f0d8(0x4a5)]-_0x26ae98[_0x16f0d8(0x4a5)];_0x4db09b[_0x16f0d8(0x4e4)]=(_0x4db09b[_0x16f0d8(0x4e4)]??0x0)+_0x1dfd05,_0x4db09b['top']=(_0x4db09b[_0x16f0d8(0x2e8)]??0x0)+_0x806013;}}else{let _0x59548e=(0x0,_0x4a6d0b['attachRangeWithCoord'])(_0x31bc47,_0x2ad859);_0x4db09b[_0x16f0d8(0x4e4)]=_0x59548e==null?void 0x0:_0x59548e[_0x16f0d8(0x4ce)],_0x4db09b[_0x16f0d8(0x2e8)]=_0x59548e==null?void 0x0:_0x59548e[_0x16f0d8(0x4a5)];}return{'transform':_0x4db09b,'sheetTransform':(0x0,_0x302521[_0x16f0d8(0x2ea)])(_0x4db09b,_0x31bc47)??_0x42901f};}};_0x2350ba=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b['SheetSkeletonService'])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['ISheetClipboardService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x302521['ISheetDrawingService'])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)]))],_0x2350ba);let _0x5ad7a4=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x390267,_0x1ba6bf,_0x4e9431,_0x5677c0){const _0x86227c=_0x185be1;super(),this[_0x86227c(0x403)]=_0x390267,this[_0x86227c(0x2cd)]=_0x1ba6bf,this[_0x86227c(0x50a)]=_0x4e9431,this[_0x86227c(0x373)]=_0x5677c0,this[_0x86227c(0x510)]();}['_initPermission'](){const _0x5ea84a=_0x185be1;this[_0x5ea84a(0x3d7)](this[_0x5ea84a(0x403)]['beforeCommandExecuted'](_0x39ce06=>{const _0x3502c1=_0x5ea84a;let _0xa0a5ed,_0x5e7018;if(_0x39ce06['id']===_0x113ca7[_0x3502c1(0x283)]['id']){let _0x5ea0ea=_0x39ce06['params'];_0xa0a5ed=_0x5ea0ea[_0x3502c1(0x2ac)],_0x5e7018=_0x5ea0ea[_0x3502c1(0x50c)];}else{if(_0x39ce06['id']===_0x113ca7[_0x3502c1(0x49e)]['id']||_0x39ce06['id']===_0x113ca7['ChartUpdateSourceCommand']['id']){let _0x459cb0=_0x39ce06[_0x3502c1(0x528)];_0xa0a5ed=_0x459cb0['unitId'],_0x5e7018=this['_sheetsChartService']['getSubUnitId'](_0x459cb0['unitId'],_0x459cb0[_0x3502c1(0x42c)]);}}_0xa0a5ed&&_0x5e7018&&(this[_0x3502c1(0x50a)][_0x3502c1(0x49f)]({'workbookTypes':[_0x4a6d0b[_0x3502c1(0x3c5)]],'worksheetTypes':[_0x4a6d0b[_0x3502c1(0x33b)]]},_0xa0a5ed,_0x5e7018)||this['_sheetPermissionCheckController'][_0x3502c1(0x1c1)](this['_localeService']['t'](_0x3502c1(0x3a1))));}));}};_0x5ad7a4=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x56c)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b[_0x185be1(0x573)])),_0x42d632(0x3,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x1f5)]))],_0x5ad7a4);let _0x3940f9=class extends _0x1ba070['Disposable']{constructor(_0x2f7d6c,_0xf4ebb4){const _0x125d94=_0x185be1;super(),this['_renderService']=_0xf4ebb4,this[_0x125d94(0x3d7)](_0x2f7d6c[_0x125d94(0x39e)](this));}[_0x185be1(0x314)](_0x56c444){const _0xb23da7=_0x185be1;return _0xb23da7(0x2ac)in _0x56c444&&_0xb23da7(0x50c)in _0x56c444;}[_0x185be1(0x21f)](_0x1818dc,_0x12f592){const _0x300efe=_0x185be1;return this[_0x300efe(0x34f)][_0x300efe(0x21f)](_0x1818dc['getId'](),_0x12f592);}};_0x3940f9=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706[_0x185be1(0x2f0)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a))],_0x3940f9);let _0x33d9ac=class extends _0x1ba070[_0x185be1(0x521)]{constructor(_0x391b80=_0x3e134f,_0x52f8ec,_0x29fa10,_0x194775){const _0x5cfc07=_0x185be1;super(),this[_0x5cfc07(0x1c6)]=_0x391b80,this[_0x5cfc07(0x48d)]=_0x52f8ec,this[_0x5cfc07(0x4cc)]=_0x29fa10,this[_0x5cfc07(0x403)]=_0x194775;let {..._0x2aad1d}=(0x0,_0x1ba070[_0x5cfc07(0x2a5)])({},_0x3e134f,this['_config']);this[_0x5cfc07(0x4cc)]['setConfig'](_0x130aa7,_0x2aad1d),this[_0x5cfc07(0x56f)]();}[_0x185be1(0x43a)](){const _0x2fe5e4=_0x185be1;let _0x1714dd=[[_0x55b2f6],[_0x24cbf9,{'useClass':_0x27af68}],[_0xd413d,{'useClass':_0x3fe827}],[_0x437b6a],[_0x17894a],[_0x3940f9],[_0x272d0f],[_0x3ca18e],[_0x198776],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]],_0x102046=[[_0x55b2f6],[_0x272d0f],[_0x198776],[_0x3ca18e],[_0x3940f9],[_0x24cbf9],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]];_0x1714dd[_0x2fe5e4(0x55c)](_0x1c4354=>this[_0x2fe5e4(0x48d)][_0x2fe5e4(0x221)](_0x1c4354)),(0x0,_0x1ba070['touchDependencies'])(this[_0x2fe5e4(0x48d)],_0x102046);}[_0x185be1(0x3e7)](){const _0x332dca=_0x185be1;var _0x1879d0;(_0x1879d0=this[_0x332dca(0x48d)]['get'](_0x272d0f))==null||_0x1879d0['initPanel']();}['_initCommands'](){const _0x680dbc=_0x185be1;[_0x1b45e5,_0x272d7b][_0x680dbc(0x55c)](_0x167d1d=>this[_0x680dbc(0x3d7)](this['_commandService'][_0x680dbc(0x512)](_0x167d1d)));}};_0x3d73b3(_0x33d9ac,'type',_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)]),_0x3d73b3(_0x33d9ac,_0x185be1(0x2a8),_0x185be1(0x2b5)),_0x3d73b3(_0x33d9ac,_0x185be1(0x51a),_0x3a2800),_0x3d73b3(_0x33d9ac,_0x185be1(0x477),_0x23c060),_0x33d9ac=_0x11ef44([(0x0,_0x1ba070['DependentOn'])(_0x427f18[_0x185be1(0x204)],_0x135c9c[_0x185be1(0x53b)],_0x1d47e2[_0x185be1(0x1ad)],_0x4a6d0b[_0x185be1(0x369)],_0x302521[_0x185be1(0x4c8)],_0x37f706['UniverChartMobileUIPlugin'],_0x113ca7[_0x185be1(0x4f1)],_0x2cd04e[_0x185be1(0x3c9)],_0x53e756[_0x185be1(0x3b5)],_0x21688c[_0x185be1(0x470)]),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0x3,_0x1ba070['ICommandService'])],_0x33d9ac);let _0x21e63e={'scaleX':0x1,'scaleY':0x1};function _0x2ed8c6(_0x1d015d){let _0x33679e=_0x1d015d['nativeEvent'];return _0x33679e instanceof MouseEvent?_0x33679e:void 0x0;}function _0x3f2c65(_0x1a469e){const _0x257975=_0x185be1;let _0x1f3144=_0x1a469e[_0x257975(0x36c)],_0x2a2efc=_0x1f3144==null?void 0x0:_0x1f3144[_0x257975(0x22e)];return _0x2a2efc instanceof Element?_0x2a2efc:void 0x0;}function _0x3ef814(_0x39fe75){var _0x2ae5e1;return(_0x2ae5e1=_0x3f2c65(_0x39fe75))==null?void 0x0:_0x2ae5e1['getBoundingClientRect']();}function _0x24cbed(_0x30a918){const _0x34d495=_0x185be1;return _0x30a918[_0x34d495(0x2bf)]||_0x30a918['right']-_0x30a918[_0x34d495(0x4e4)];}function _0x5632b6(_0x564e5d){const _0x524ea4=_0x185be1;return _0x564e5d[_0x524ea4(0x2d7)]||_0x564e5d[_0x524ea4(0x3e3)]-_0x564e5d['top'];}function _0xd4405(_0x10e780,_0x2e02a2){const _0x4e6a92=_0x185be1;let _0xd43d9a=_0x10e780[_0x4e6a92(0x19f)]||(_0x10e780 instanceof HTMLElement?_0x10e780[_0x4e6a92(0x47a)]:0x0),_0x5bbbd2=_0x10e780[_0x4e6a92(0x490)]||(_0x10e780 instanceof HTMLElement?_0x10e780[_0x4e6a92(0x3e9)]:0x0),_0x57bb21=_0x24cbed(_0x2e02a2),_0xb184fd=_0x5632b6(_0x2e02a2);return{'scaleX':_0xd43d9a>0x0&&_0x57bb21>0x0?_0x57bb21/_0xd43d9a:_0x21e63e['scaleX'],'scaleY':_0x5bbbd2>0x0&&_0xb184fd>0x0?_0xb184fd/_0x5bbbd2:_0x21e63e[_0x4e6a92(0x22b)]};}function _0x118688(_0x560e24,_0xaecb3b,_0x3ab594){const _0x4416a4=_0x185be1;return{'left':_0x560e24[_0x4416a4(0x4e4)]+_0xaecb3b['left']*_0x3ab594[_0x4416a4(0x2b8)],'right':_0x560e24['left']+_0xaecb3b[_0x4416a4(0x411)]*_0x3ab594['scaleX'],'top':_0x560e24['top']+_0xaecb3b[_0x4416a4(0x2e8)]*_0x3ab594[_0x4416a4(0x22b)],'bottom':_0x560e24[_0x4416a4(0x2e8)]+_0xaecb3b[_0x4416a4(0x3e3)]*_0x3ab594['scaleY']};}function _0x9ec622(_0x2d819f){const _0x4785b9=_0x185be1;let _0x7dba25=_0x3f2c65(_0x2d819f),_0x4aaf9f=_0x2d819f['hit'][_0x4785b9(0x402)];if(_0x7dba25&&_0x4aaf9f){let _0x4fba48=_0x7dba25['getBoundingClientRect']();return()=>{const _0x5c4cf9=_0x4785b9;let _0x511998=_0x7dba25['getBoundingClientRect']();return(_0x7dba25[_0x5c4cf9(0x1f3)]||_0x24cbed(_0x511998)>0x0||_0x5632b6(_0x511998)>0x0)&&(_0x4fba48=_0x511998),_0x118688(_0x4fba48,_0x4aaf9f,_0xd4405(_0x7dba25,_0x4fba48));};}return()=>{const _0x4f3878=_0x4785b9;let _0x11a5f5=_0x3ef814(_0x2d819f);if(_0x11a5f5&&_0x4aaf9f)return _0x118688(_0x11a5f5,_0x4aaf9f,_0x7dba25?_0xd4405(_0x7dba25,_0x11a5f5):_0x21e63e);let _0x2750b3=_0x2ed8c6(_0x2d819f),_0x31f3ef=_0x7dba25&&_0x11a5f5?_0xd4405(_0x7dba25,_0x11a5f5):_0x21e63e,_0x595750=(_0x2750b3==null?void 0x0:_0x2750b3[_0x4f3878(0x498)])??(_0x11a5f5?_0x11a5f5['left']+_0x2d819f[_0x4f3878(0x44e)]['x']*_0x31f3ef['scaleX']:_0x2d819f[_0x4f3878(0x44e)]['x']),_0x2395d1=(_0x2750b3==null?void 0x0:_0x2750b3['clientY'])??(_0x11a5f5?_0x11a5f5[_0x4f3878(0x2e8)]+_0x2d819f[_0x4f3878(0x44e)]['y']*_0x31f3ef['scaleY']:_0x2d819f[_0x4f3878(0x44e)]['y']);return{'left':_0x595750,'right':_0x595750+0x1,'top':_0x2395d1,'bottom':_0x2395d1+0x1};};}function _0x242ee3(_0x32e2a8){const _0x195cc6=_0x185be1;return typeof _0x32e2a8==_0x195cc6(0x58b)&&Number['isFinite'](_0x32e2a8);}function _0x2de7b3(_0x4c900d){if(!_0x4c900d||typeof _0x4c900d!='object')return!0x0;let {startX:_0x383fb1,endX:_0x28df9f,startY:_0x322b88,endY:_0x871ea3}=_0x4c900d;return!_0x242ee3(_0x383fb1)||!_0x242ee3(_0x28df9f)||!_0x242ee3(_0x322b88)||!_0x242ee3(_0x871ea3)||_0x28df9f-_0x383fb1>0x2&&_0x871ea3-_0x322b88>0x2;}function _0x1d2db0(_0xcee359){const _0x1ad106=_0x185be1;return _0xcee359['right']<=_0xcee359[_0x1ad106(0x4e4)]||_0xcee359[_0x1ad106(0x3e3)]<=_0xcee359[_0x1ad106(0x2e8)]?!0x1:typeof window>'u'||_0xcee359[_0x1ad106(0x411)]>0x0&&_0xcee359['bottom']>0x0&&_0xcee359[_0x1ad106(0x4e4)]<window['innerWidth']&&_0xcee359[_0x1ad106(0x2e8)]<window[_0x1ad106(0x1fe)];}function _0x3b8d0f(_0x41aa09){const _0xc9badf=_0x185be1;var _0x229965;return _0x41aa09==null||(_0x229965=_0x41aa09['getValue'])==null?void 0x0:_0x229965[_0xc9badf(0x371)](_0x41aa09);}function _0x5cbd1c(_0x9a2a85,_0x1c80f5,_0x6eda6e){const _0xd35ce5=_0x185be1;let _0x6d95d1=_0x9ec622(_0x9a2a85),_0x33456f=_0x3b8d0f(_0x1c80f5),_0x2534a7=_0x6d95d1(),_0x2ce8f3=new _0x5e3636[(_0xd35ce5(0x2b0))](_0x2534a7),_0x13fad3=new _0x1ba070[(_0xd35ce5(0x20b))](),_0x2d05cf=!0x1,_0x19eebe=!0x1,_0x284cb5=_0x2319fc=>_0x2de7b3(_0x33456f)&&_0x1d2db0(_0x2319fc),_0x2ca0ae=()=>{_0x19eebe||_0x2d05cf||(_0x19eebe=!0x0,queueMicrotask(()=>{if(_0x19eebe=!0x1,!_0x2d05cf){let _0x3172ee=_0x6d95d1();if(!_0x284cb5(_0x3172ee)){_0x6eda6e();return;}_0x2ce8f3['next'](_0x3172ee);}}));};return _0x1c80f5&&_0x13fad3[_0xd35ce5(0x221)](_0x1c80f5['subscribe'](_0x586d0f=>{_0x33456f=_0x586d0f,_0x2ca0ae();})),typeof window<'u'&&_0x13fad3[_0xd35ce5(0x221)]((0x0,_0x5e3636[_0xd35ce5(0x2a5)])((0x0,_0x5e3636['fromEvent'])(window,_0xd35ce5(0x1a3),{'capture':!0x0}),(0x0,_0x5e3636[_0xd35ce5(0x4c0)])(window,'resize'))['pipe']((0x0,_0x5e3636[_0xd35ce5(0x25a)])(0x10))[_0xd35ce5(0x17f)](_0x2ca0ae)),{'initialRect':_0x2534a7,'anchorRect$':_0x2ce8f3['asObservable'](),'visible':_0x284cb5(_0x2534a7),'dispose':()=>{const _0x47b7c7=_0xd35ce5;_0x2d05cf=!0x0,_0x13fad3['dispose'](),_0x2ce8f3[_0x47b7c7(0x357)]();}};}let _0x4343c9='sheets-chart-element-float-menu',_0x463620=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x25fe3c,_0x18566d,_0x1cd18a,_0x2febe2,_0x1f99c1,_0x597968,_0x17bb34,_0x5c84a1,_0x25f17d){const _0x25b098=_0x185be1;super(),this['_chartModelService']=_0x25fe3c,this['_chartRenderService']=_0x18566d,this['_chartHostProvider']=_0x1cd18a,this[_0x25b098(0x4c7)]=_0x2febe2,this[_0x25b098(0x1ff)]=_0x1f99c1,this['_chartUIService']=_0x597968,this[_0x25b098(0x4e9)]=_0x17bb34,this[_0x25b098(0x403)]=_0x5c84a1,this[_0x25b098(0x48d)]=_0x25f17d,_0x3d73b3(this,'_popupDisposable',null),_0x3d73b3(this,_0x25b098(0x1e9),null),_0x3d73b3(this,_0x25b098(0x48a),null),this[_0x25b098(0x1d4)](),this['_subscribeChartEvents']();}[_0x185be1(0x4d8)](){const _0x2ca51c=_0x185be1;this[_0x2ca51c(0x317)](),super['dispose']();}['_registerAdapter'](){const _0x49323f=_0x185be1;let _0xf03ab1=(0x0,_0x37f706[_0x49323f(0x502)])({'chartUIService':this[_0x49323f(0x44d)],'getHostAdapter':_0x58ac64=>{const _0x3fed8d=_0x49323f;let _0x475528=this[_0x3fed8d(0x57a)]['getChartModel'](_0x58ac64[_0x3fed8d(0x4d9)]);if(_0x475528&&_0x58ac64[_0x3fed8d(0x50c)])return new _0x37f706[(_0x3fed8d(0x212))](_0x475528,new _0x113ca7[(_0x3fed8d(0x494))]({'unitId':_0x58ac64[_0x3fed8d(0x2ac)],'subUnitId':_0x58ac64[_0x3fed8d(0x50c)],'chartId':_0x58ac64[_0x3fed8d(0x4d9)],'injector':this[_0x3fed8d(0x48d)]}));},'close':()=>this[_0x49323f(0x317)](),'openFullPanel':_0x56b019=>{const _0x3de08f=_0x49323f;let {unitId:_0x3fbd27,subUnitId:_0x2f59b1,drawingId:_0x15bb11,chartId:_0x3a72c0}=_0x56b019,_0x1dcdd1=(0x0,_0x37f706[_0x3de08f(0x4a0)])(_0x56b019['target']);this[_0x3de08f(0x403)][_0x3de08f(0x3ab)](_0x272d7b['id'],{'unitId':_0x3fbd27,'subUnitId':_0x2f59b1??'','drawingId':_0x15bb11??_0x3a72c0,..._0x1dcdd1?{'route':_0x1dcdd1}:{}});}});this[_0x49323f(0x3d7)](this['_adapterRegistry'][_0x49323f(0x39e)](_0x4343c9,_0xf03ab1));}[_0x185be1(0x44b)](){const _0x24152e=_0x185be1;this['disposeWithMe'](this[_0x24152e(0x57a)]['chartModelAdded$'][_0x24152e(0x17f)](_0x1b2457=>{const _0x564cbe=_0x24152e;let _0x5076d0=new _0x1ba070[(_0x564cbe(0x20b))]();_0x5076d0[_0x564cbe(0x221)](this['_chartRenderService']['on'](_0x1b2457['id'],'click',_0xe033c=>{const _0x187d37=_0x564cbe;this[_0x187d37(0x4fa)](_0x1b2457['id'],_0xe033c);})),_0x5076d0[_0x564cbe(0x221)](this[_0x564cbe(0x3cf)]['on'](_0x1b2457['id'],_0x564cbe(0x372),()=>{const _0x54eaee=_0x564cbe;this[_0x54eaee(0x240)](_0x1b2457['id']);})),_0x1b2457['onDispose'](()=>{const _0x5ec7a0=_0x564cbe;_0x5076d0[_0x5ec7a0(0x4d8)](),this[_0x5ec7a0(0x429)](_0x1b2457['id']);}),this['disposeWithMe'](_0x5076d0);})),this['disposeWithMe']((0x0,_0x5e3636[_0x24152e(0x595)])([this[_0x24152e(0x57a)]['activeChartModel$'],this[_0x24152e(0x44d)][_0x24152e(0x346)]])[_0x24152e(0x17f)](([_0x55adbc,_0x5b999b])=>{const _0x1e0102=_0x24152e;(!_0x5b999b||this[_0x1e0102(0x1e9)]&&(_0x55adbc==null?void 0x0:_0x55adbc['id'])!==this['_popupChartId'])&&this[_0x1e0102(0x317)]();})),this['disposeWithMe'](this[_0x24152e(0x1ff)][_0x24152e(0x22f)][_0x24152e(0x17f)](({id:_0x356958})=>{const _0x48911a=_0x24152e;this[_0x48911a(0x429)](_0x356958);})),this[_0x24152e(0x3d7)](this[_0x24152e(0x1ff)]['remove$'][_0x24152e(0x17f)](({id:_0x1a781b})=>{this['_clearSelectedTarget'](_0x1a781b);})),this[_0x24152e(0x3d7)](this['_chartHostProvider'][_0x24152e(0x271)][_0x24152e(0x17f)](_0xa5de23=>{const _0xa15802=_0x24152e;this[_0xa15802(0x429)](_0xa5de23);}));}[_0x185be1(0x240)](_0x224caa){const _0x5712d4=_0x185be1;if(this['_chartUIService']['chartEditorOpen'])return;let _0x5ce5b4=this[_0x5712d4(0x57a)]['getChartModel'](_0x224caa),_0x51c6d4=this[_0x5712d4(0x1ff)]['getFloatDomInfo'](_0x224caa);_0x5ce5b4&&_0x51c6d4&&this[_0x5712d4(0x403)][_0x5712d4(0x3ab)](_0x272d7b['id'],{'unitId':_0x51c6d4[_0x5712d4(0x2ac)],'subUnitId':_0x51c6d4[_0x5712d4(0x50c)]??'','drawingId':_0x224caa});}[_0x185be1(0x4fa)](_0x38e501,_0x1ace15){const _0x4b77dc=_0x185be1;if(!this[_0x4b77dc(0x44d)]['isElementEditModeActive'](_0x38e501))return;let _0x56c6a5=this[_0x4b77dc(0x57a)][_0x4b77dc(0x214)](_0x38e501),_0x231924=_0x56c6a5?_0x25eb04(_0x56c6a5,_0x1ace15[_0x4b77dc(0x285)]):void 0x0;if(!_0x231924){this['_chartUIService']['clearPanelRoute'](),this['_closePopup']();return;}let _0x32ac7f=this[_0x4b77dc(0x1ff)][_0x4b77dc(0x277)](_0x38e501);if(!_0x56c6a5||!_0x32ac7f){this['_chartUIService'][_0x4b77dc(0x244)](),this['_closePopup']();return;}let _0x2a42d0=JSON['stringify']([_0x32ac7f[_0x4b77dc(0x2ac)],_0x32ac7f[_0x4b77dc(0x50c)],_0x38e501,_0x231924[_0x4b77dc(0x22e)]]);if(this[_0x4b77dc(0x2c6)]&&this[_0x4b77dc(0x48a)]===_0x2a42d0||(this[_0x4b77dc(0x44d)][_0x4b77dc(0x2fc)](_0x38e501,_0x231924[_0x4b77dc(0x455)]),this[_0x4b77dc(0x317)](),!_0x231924[_0x4b77dc(0x21b)]))return;let _0x244dc3=_0x5cbd1c(_0x1ace15,_0x32ac7f[_0x4b77dc(0x541)],()=>this['_clearHiddenSelectedTarget'](_0x38e501));if(!_0x244dc3['visible']){_0x244dc3[_0x4b77dc(0x4d8)]();return;}let _0x533bd3=this[_0x4b77dc(0x4c7)][_0x4b77dc(0x1b3)](_0x244dc3[_0x4b77dc(0x45d)],_0x244dc3[_0x4b77dc(0x467)],{'componentKey':_0x37f706[_0x4b77dc(0x399)],'constrainToCanvas':!0x0,'direction':_0x4b77dc(0x439),'offset':[0x0,0x8],'extraProps':{'unitId':_0x32ac7f[_0x4b77dc(0x2ac)],'subUnitId':_0x32ac7f['subUnitId'],'chartId':_0x38e501,'drawingId':_0x38e501,'element':_0x1ace15[_0x4b77dc(0x285)],'target':_0x231924[_0x4b77dc(0x22e)],'adapterKey':_0x4343c9}},_0x32ac7f[_0x4b77dc(0x2ac)],_0x32ac7f[_0x4b77dc(0x50c)])??null;if(!_0x533bd3){_0x244dc3['dispose']();return;}let _0x5c63b9=new _0x1ba070[(_0x4b77dc(0x20b))]();_0x5c63b9[_0x4b77dc(0x221)](_0x533bd3),_0x5c63b9[_0x4b77dc(0x221)](_0x244dc3),this['_popupDisposable']=_0x5c63b9,this[_0x4b77dc(0x1e9)]=_0x38e501,this[_0x4b77dc(0x48a)]=_0x2a42d0;}[_0x185be1(0x317)](){const _0x52d89b=_0x185be1;var _0x1a6d99;(_0x1a6d99=this[_0x52d89b(0x2c6)])==null||_0x1a6d99[_0x52d89b(0x4d8)](),this[_0x52d89b(0x2c6)]=null,this[_0x52d89b(0x1e9)]=null,this[_0x52d89b(0x48a)]=null;}[_0x185be1(0x429)](_0x18dd8b){const _0x571951=_0x185be1;(this[_0x571951(0x44d)][_0x571951(0x476)](_0x18dd8b)||this[_0x571951(0x1e9)]===_0x18dd8b)&&(this[_0x571951(0x44d)]['clearPanelRoute'](),this['_popupChartId']===_0x18dd8b&&this[_0x571951(0x317)]());}[_0x185be1(0x447)](_0xa6e898){const _0x4e730e=_0x185be1;this[_0x4e730e(0x429)](_0xa6e898),this[_0x4e730e(0x44d)][_0x4e730e(0x476)](_0xa6e898)&&(this['_chartRenderService'][_0x4e730e(0x4e7)](_0xa6e898,!0x1),this['_chartRenderService'][_0x4e730e(0x4e7)](_0xa6e898,!0x0));}};_0x463620=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a)),_0x42d632(0x2,_0xd413d),_0x42d632(0x3,(0x0,_0x1ba070['Inject'])(_0x53e756[_0x185be1(0x445)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x5,_0x24cbf9),_0x42d632(0x6,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706['ChartElementFloatMenuAdapterRegistry'])),_0x42d632(0x7,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x8,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)]))],_0x463620);function _0x182c49({ref:_0x5dd9ab,..._0x349a09}){const _0x178ad8=_0x185be1;let {preserveStrokeWidth:_0x5d235e,icon:_0x1bc32b,id:_0x4f3afd,className:_0x2cfdfe,extend:_0x29ac6a,..._0x135fcc}=_0x349a09,_0x19c71b=('univerjs-icon\x20univerjs-icon-'+_0x4f3afd+'\x20'+(_0x2cfdfe||''))[_0x178ad8(0x47e)](),_0x2394fd='_'+(0x0,_0x119d22[_0x178ad8(0x451)])(),_0x6328d4=(0x0,_0x119d22[_0x178ad8(0x247)])(null);return(0x0,_0x119d22[_0x178ad8(0x387)])(_0x5dd9ab,()=>_0x6328d4[_0x178ad8(0x25d)]),(0x0,_0x119d22['useLayoutEffect'])(()=>{const _0x579026=_0x178ad8;if(_0x5d235e&&_0x6328d4[_0x579026(0x25d)]&&_0x6328d4[_0x579026(0x25d)]['localName']===_0x1bc32b['tag'])return _0x153657(_0x6328d4[_0x579026(0x25d)]);},[_0x5d235e,_0x1bc32b]),_0x44bc3d(_0x1bc32b,''+_0x4f3afd,{'defIds':_0x1bc32b[_0x178ad8(0x2b2)],'idSuffix':_0x2394fd},{'ref':_0x6328d4,'className':_0x19c71b,..._0x135fcc},_0x29ac6a);}function _0x44bc3d(_0xe4b1ba,_0x426e08,_0x48f15b,_0x3f5ad7,_0x514442){const _0x110b6e=_0x185be1;return(0x0,_0x119d22[_0x110b6e(0x202)])(_0xe4b1ba['tag'],{'key':_0x426e08,..._0x1e27dc(_0xe4b1ba,_0x48f15b,_0x514442),..._0x3f5ad7},(_0x59f34a(_0xe4b1ba,_0x48f15b)[_0x110b6e(0x2ae)]||[])['map']((_0x4b0b8a,_0x540836)=>_0x44bc3d(_0x4b0b8a,_0x426e08+'-'+_0xe4b1ba['tag']+'-'+_0x540836,_0x48f15b,void 0x0,_0x514442)));}function _0x1e27dc(_0xacf82,_0x5a56e6,_0x175caf){const _0x1ec90b=_0x185be1;let _0xd11172={..._0xacf82['attrs']};_0x175caf!=null&&_0x175caf['colorChannel1']&&_0xd11172[_0x1ec90b(0x513)]==='colorChannel1'&&(_0xd11172[_0x1ec90b(0x513)]=_0x175caf[_0x1ec90b(0x576)]),_0x175caf!=null&&_0x175caf[_0x1ec90b(0x576)]&&_0xd11172[_0x1ec90b(0x4cd)]===_0x1ec90b(0x576)&&(_0xd11172['stroke']=_0x175caf[_0x1ec90b(0x576)]),_0xacf82[_0x1ec90b(0x499)]==='mask'&&_0xd11172['id']&&(_0xd11172['id']+=_0x5a56e6['idSuffix']),Object['entries'](_0xd11172)[_0x1ec90b(0x55c)](([_0x48ed00,_0x3ea8b1])=>{const _0x355aab=_0x1ec90b;_0x48ed00===_0x355aab(0x3c4)&&typeof _0x3ea8b1=='string'&&(_0xd11172[_0x48ed00]=_0x3ea8b1[_0x355aab(0x386)](/url\(#(.*)\)/,_0x355aab(0x4a4)+_0x5a56e6[_0x355aab(0x265)]+')'));});let {defIds:_0x272dfb}=_0x5a56e6;return!_0x272dfb||_0x272dfb[_0x1ec90b(0x36b)]===0x0||(_0xacf82['tag']===_0x1ec90b(0x4fc)&&_0xd11172['xlink:href']&&(_0xd11172[_0x1ec90b(0x33e)]+=_0x5a56e6[_0x1ec90b(0x265)]),Object[_0x1ec90b(0x1e5)](_0xd11172)[_0x1ec90b(0x55c)](([_0x54cec9,_0x259a4d])=>{const _0x3b4f15=_0x1ec90b;typeof _0x259a4d=='string'&&(_0xd11172[_0x54cec9]=_0x259a4d['replace'](/url\(#(.*)\)/,_0x3b4f15(0x4a4)+_0x5a56e6['idSuffix']+')'));})),_0xd11172;}function _0x59f34a(_0x5b4e32,_0x16a6b1){const _0x4b8024=_0x185be1;var _0xb1d0bd;let {defIds:_0xaf4fab}=_0x16a6b1;return!_0xaf4fab||_0xaf4fab[_0x4b8024(0x36b)]===0x0?_0x5b4e32:_0x5b4e32[_0x4b8024(0x499)]===_0x4b8024(0x44a)&&(_0xb1d0bd=_0x5b4e32[_0x4b8024(0x2ae)])!=null&&_0xb1d0bd[_0x4b8024(0x36b)]?{..._0x5b4e32,'children':_0x5b4e32[_0x4b8024(0x2ae)]['map'](_0x38b3d5=>typeof _0x38b3d5[_0x4b8024(0x222)]['id']=='string'&&_0xaf4fab&&_0xaf4fab[_0x4b8024(0x242)](_0x38b3d5['attrs']['id'])?{..._0x38b3d5,'attrs':{..._0x38b3d5[_0x4b8024(0x222)],'id':_0x38b3d5[_0x4b8024(0x222)]['id']+_0x16a6b1[_0x4b8024(0x265)]}}:_0x38b3d5)}:_0x5b4e32;}function _0x153657(_0x590911){const _0x5263bb=_0x185be1;let _0x26037c=_0x590911['viewBox'][_0x5263bb(0x2fe)],_0x3af486=Math[_0x5263bb(0x18a)](_0x26037c[_0x5263bb(0x2bf)],_0x26037c[_0x5263bb(0x2d7)]);if(!Number['isFinite'](_0x3af486)||_0x3af486<=0x0||_0x26037c[_0x5263bb(0x2bf)]<=0x0||_0x26037c[_0x5263bb(0x2d7)]<=0x0)return()=>void 0x0;let _0x2cf2b2=0x10/_0x3af486,_0x578e64=Array['from'](_0x590911[_0x5263bb(0x37a)](_0x5263bb(0x307)))[_0x5263bb(0x1f6)](_0x1bec4e=>{const _0x1236e3=_0x5263bb;let _0x3ff320=getComputedStyle(_0x1bec4e),_0x15cb0c=Number[_0x1236e3(0x404)](_0x3ff320[_0x1236e3(0x1c8)]);return _0x3ff320['stroke']==='none'||Number[_0x1236e3(0x404)](_0x3ff320[_0x1236e3(0x32d)])===0x0||_0x3ff320['vectorEffect']===_0x1236e3(0x3b9)||!Number['isFinite'](_0x15cb0c)||_0x15cb0c<=0x0?[]:[{'element':_0x1bec4e,'hadStyleAttribute':_0x1bec4e[_0x1236e3(0x2b6)](_0x1236e3(0x1c3)),'originalStrokeWidth':_0x15cb0c,'strokeWidth':_0x4b7ae9(_0x1bec4e[_0x1236e3(0x1c3)],'stroke-width')}];})['map'](_0x3745f6=>({'appliedStrokeWidth':null,'element':_0x3745f6[_0x5263bb(0x352)],'hadStyleAttribute':_0x3745f6[_0x5263bb(0x563)],'isReleased':!0x1,'originalStrokeWidth':_0x3745f6['originalStrokeWidth'],'strokeWidth':_0x3745f6[_0x5263bb(0x1c8)]}));if(_0x578e64['length']===0x0)return()=>void 0x0;let _0x1e956d=(_0x37b5ad,_0x2706be)=>{const _0x7a78a4=_0x5263bb;if(_0x26037c[_0x7a78a4(0x2bf)]<=0x0||_0x26037c['height']<=0x0||_0x37b5ad<=0x0||_0x2706be<=0x0)return;let _0x5b1945=Math[_0x7a78a4(0x56b)](_0x37b5ad/_0x26037c[_0x7a78a4(0x2bf)],_0x2706be/_0x26037c[_0x7a78a4(0x2d7)]);!Number['isFinite'](_0x5b1945)||_0x5b1945<=0x0||_0x578e64['forEach'](_0x2c3ceb=>{const _0x126983=_0x7a78a4;if(_0x2c3ceb[_0x126983(0x1ca)])return;if(_0x2c3ceb[_0x126983(0x4d2)]!==null&&(_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)]['getPropertyValue']('stroke-width')!==_0x2c3ceb[_0x126983(0x4d2)]||_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)]['getPropertyPriority'](_0x126983(0x257))!==_0x2c3ceb[_0x126983(0x1c8)][_0x126983(0x1a5)])){_0x2c3ceb[_0x126983(0x4d2)]=null,_0x2c3ceb['isReleased']=!0x0;return;}let _0xfbefcb=_0x2c3ceb[_0x126983(0x388)]*_0x2cf2b2/_0x5b1945,_0x2dce5c=Number(_0xfbefcb[_0x126983(0x25f)](0xc))+'px';_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)][_0x126983(0x4da)](_0x126983(0x257),_0x2dce5c,_0x2c3ceb[_0x126983(0x1c8)][_0x126983(0x1a5)]),_0x2c3ceb['appliedStrokeWidth']=_0x2dce5c;});},_0x2dc694=_0x590911['getBoundingClientRect']();_0x1e956d(_0x2dc694[_0x5263bb(0x2bf)],_0x2dc694[_0x5263bb(0x2d7)]);let _0x26312d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3b117c=>{const _0x227902=_0x5263bb;if(_0x3b117c[_0x227902(0x3fc)](_0x85a2ef=>_0x85a2ef[_0x227902(0x22e)]===_0x590911)){let _0xc4ff18=_0x590911[_0x227902(0x3a0)]();_0x1e956d(_0xc4ff18[_0x227902(0x2bf)],_0xc4ff18[_0x227902(0x2d7)]);}});return _0x26312d==null||_0x26312d['observe'](_0x590911),()=>{const _0x2b009e=_0x5263bb;_0x26312d==null||_0x26312d[_0x2b009e(0x35b)](),_0x578e64['forEach'](_0x55b0ea=>{const _0x3273fa=_0x2b009e;_0x55b0ea[_0x3273fa(0x4d2)]!==null&&(_0x570277(_0x55b0ea[_0x3273fa(0x352)][_0x3273fa(0x1c3)],_0x3273fa(0x257),_0x55b0ea[_0x3273fa(0x4d2)],_0x55b0ea[_0x3273fa(0x1c8)][_0x3273fa(0x1a5)],_0x55b0ea['strokeWidth']),!_0x55b0ea[_0x3273fa(0x563)]&&_0x55b0ea[_0x3273fa(0x352)]['style'][_0x3273fa(0x36b)]===0x0&&_0x55b0ea['element'][_0x3273fa(0x567)](_0x3273fa(0x1c3)));});};}function _0x4b7ae9(_0x4a0336,_0x542a14){const _0x12efa4=_0x185be1;return{'priority':_0x4a0336[_0x12efa4(0x57c)](_0x542a14),'value':_0x4a0336[_0x12efa4(0x2e9)](_0x542a14)};}function _0x570277(_0x5b59f3,_0x11b102,_0x54f359,_0x3d8782,_0x37581a){const _0x4287ef=_0x185be1;_0x5b59f3[_0x4287ef(0x2e9)](_0x11b102)===_0x54f359&&_0x5b59f3[_0x4287ef(0x57c)](_0x11b102)===_0x3d8782&&(_0x37581a[_0x4287ef(0x2a6)]?_0x5b59f3[_0x4287ef(0x4da)](_0x11b102,_0x37581a[_0x4287ef(0x2a6)],_0x37581a['priority']):_0x5b59f3[_0x4287ef(0x268)](_0x11b102));}_0x182c49[_0x185be1(0x344)]=_0x185be1(0x458);let _0x5862f1={'tag':_0x185be1(0x514),'attrs':{'xmlns':_0x185be1(0x4db),'fill':_0x185be1(0x3b6),'viewBox':'0\x200\x2016\x2016','width':_0x185be1(0x229),'height':'1em'},'children':[{'tag':_0x185be1(0x178),'attrs':{'fill':'currentColor','d':_0x185be1(0x1ac)}}]},_0x175fdc=(0x0,_0x119d22[_0x185be1(0x39d)])(function(_0x58e26d,_0x578ea6){const _0x25dca1=_0x185be1;return(0x0,_0x119d22['createElement'])(_0x182c49,Object[_0x25dca1(0x23c)]({},_0x58e26d,{'id':_0x25dca1(0x4f5),'ref':_0x578ea6,'icon':_0x5862f1}));});_0x175fdc[_0x185be1(0x344)]=_0x185be1(0x58d);let _0x5c48f7=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x217116,_0x1cf749){const _0x231968=_0x185be1;super(),this['_componentManager']=_0x217116,this['_iconManager']=_0x1cf749,this[_0x231968(0x177)](),this[_0x231968(0x2df)]();}['_registerIcons'](){const _0x10ff5f=_0x185be1;this[_0x10ff5f(0x3d7)](this[_0x10ff5f(0x574)][_0x10ff5f(0x39e)]({'PenIcon':_0x175fdc}));}[_0x185be1(0x2df)](){const _0x4469e1=_0x185be1;[[_0x209d81,_0x1fb49a]][_0x4469e1(0x55c)](([_0x2074c1,_0x22992b])=>{const _0x2764e1=_0x4469e1;this[_0x2764e1(0x3d7)](this[_0x2764e1(0x4ac)][_0x2764e1(0x39e)](_0x2074c1,_0x22992b));});}};_0x5c48f7=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c[_0x185be1(0x3e5)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c[_0x185be1(0x1d0)]))],_0x5c48f7);let _0x169178=class extends _0x1ba070[_0x185be1(0x521)]{constructor(_0x36e776=_0x3e134f,_0x560af7,_0x325d9b,_0x1bb772){const _0x339043=_0x185be1;super(),this['_config']=_0x36e776,this[_0x339043(0x48d)]=_0x560af7,this[_0x339043(0x4cc)]=_0x325d9b,this['_commandService']=_0x1bb772,_0x3d73b3(this,'_resolvedConfig',void 0x0);let {..._0x5c0078}=(0x0,_0x1ba070[_0x339043(0x2a5)])({},_0x3e134f,this['_config']);this[_0x339043(0x45f)]=_0x5c0078,this[_0x339043(0x4cc)][_0x339043(0x27a)](_0x130aa7,_0x5c0078),this['_initCommands']();}[_0x185be1(0x43a)](){const _0x8c7ce5=_0x185be1;this[_0x8c7ce5(0x48d)][_0x8c7ce5(0x221)]([_0x5c48f7]),this['_injector']['get'](_0x5c48f7);let _0x16f575=this[_0x8c7ce5(0x48d)],_0x489ea9=[[_0x24cbf9,{'useClass':_0x27af68}],[_0xd413d,{'useClass':_0x3fe827}],[_0x437b6a],[_0x17894a],[_0x3940f9],[_0x188c9f],[_0x3ca18e],[_0x198776],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]],_0x30ae9c=[[_0x188c9f],[_0x198776],[_0x3ca18e],[_0x3940f9],[_0x24cbf9],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]];this[_0x8c7ce5(0x45f)][_0x8c7ce5(0x35d)]&&(_0x489ea9[_0x8c7ce5(0x3be)]([_0x463620]),_0x30ae9c[_0x8c7ce5(0x3be)]([_0x463620])),_0x489ea9['forEach'](_0xabfdd6=>_0x16f575['add'](_0xabfdd6)),(0x0,_0x1ba070[_0x8c7ce5(0x3ed)])(this[_0x8c7ce5(0x48d)],_0x30ae9c);}[_0x185be1(0x3e7)](){const _0x5047d0=_0x185be1;var _0xbecac9;(_0xbecac9=this[_0x5047d0(0x48d)][_0x5047d0(0x442)](_0x188c9f))==null||_0xbecac9[_0x5047d0(0x368)]();}['_initCommands'](){const _0x48caf5=_0x185be1;[_0x1b45e5,_0xb862c8,_0xb06e29,_0x4c423d,_0x1468ca,_0x272d7b,_0x3007d3][_0x48caf5(0x55c)](_0x319ac3=>this[_0x48caf5(0x3d7)](this[_0x48caf5(0x403)][_0x48caf5(0x512)](_0x319ac3)));}};_0x3d73b3(_0x169178,_0x185be1(0x569),_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)]),_0x3d73b3(_0x169178,'pluginName','UniverSheetsChartUIPlugin'),_0x3d73b3(_0x169178,_0x185be1(0x51a),_0x3a2800),_0x3d73b3(_0x169178,_0x185be1(0x477),_0x23c060),_0x169178=_0x11ef44([(0x0,_0x1ba070[_0x185be1(0x1d7)])(_0x427f18[_0x185be1(0x204)],_0x135c9c[_0x185be1(0x53b)],_0x1d47e2[_0x185be1(0x1ad)],_0x4a6d0b[_0x185be1(0x369)],_0x302521['UniverSheetsDrawingPlugin'],_0x37f706[_0x185be1(0x2ee)],_0x113ca7[_0x185be1(0x4f1)],_0x2cd04e['UniverSheetsDrawingUIPlugin'],_0x53e756['UniverSheetsUIPlugin']),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0x3,_0x1ba070[_0x185be1(0x56c)])],_0x169178),_0x30b554[_0x185be1(0x4f4)]=_0x272d7b,Object['defineProperty'](_0x30b554,_0x185be1(0x419),{'enumerable':!0x0,'get':function(){return _0x17894a;}}),_0x30b554['ISheetsChartUIService']=_0x24cbf9,_0x30b554[_0x185be1(0x566)]=_0x130aa7,Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x37d),{'enumerable':!0x0,'get':function(){return _0x188c9f;}}),_0x30b554[_0x185be1(0x2e6)]=_0x5b9097,Object['defineProperty'](_0x30b554,'SheetsChartUIService',{'enumerable':!0x0,'get':function(){return _0x27af68;}}),Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x508),{'enumerable':!0x0,'get':function(){return _0x33d9ac;}}),Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x2b5),{'enumerable':!0x0,'get':function(){return _0x169178;}}),_0x30b554['createChartElementPopupAnchorObserver']=_0x5cbd1c;}));
|