@univerjs-pro/boards-chart-ui 1.0.0-beta.1 → 1.0.0-beta.2
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/controllers/board-chart-element-float-menu.controller.d.ts +1 -0
- package/lib/types/services/board-chart-snapshot-render.service.d.ts +4 -1
- package/lib/types/services/chart-image-export-provider.d.ts +2 -2
- 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 +14 -14
- package/lib/types/common/BoardChartTypeOptions.d.ts +0 -134
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x420134=_0x1b7a;(function(_0x12730d,_0x476a58){const _0x4d2934=_0x1b7a,_0x2ff4e4=_0x12730d();while(!![]){try{const _0x57eb76=-parseInt(_0x4d2934(0x226))/0x1*(parseInt(_0x4d2934(0x21a))/0x2)+-parseInt(_0x4d2934(0x2b4))/0x3+-parseInt(_0x4d2934(0x308))/0x4+-parseInt(_0x4d2934(0x19a))/0x5+-parseInt(_0x4d2934(0x186))/0x6+-parseInt(_0x4d2934(0x2b2))/0x7+parseInt(_0x4d2934(0x1d4))/0x8;if(_0x57eb76===_0x476a58)break;else _0x2ff4e4['push'](_0x2ff4e4['shift']());}catch(_0x543fb8){_0x2ff4e4['push'](_0x2ff4e4['shift']());}}}(_0x2ae8,0x95d48));import{BoardElementType as _0xbbe6aa,BoardToolType as _0x3972cb,IBoardElementService as _0x3c3318,InsertBoardChartCommand as _0x5950c5,UniverBoardsPlugin as _0x499738,resolveBoardElementWorldBounds as _0x1f3663}from'@univerjs-pro/boards';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x3ce34f,BOARD_INSERT_CHART_PANEL_COMPONENT as _0x25b70a,BoardCanvasPopManagerService as _0x52e4c8,BoardDeleteSelectionOperation as _0x56ac06,BoardDomLayerService as _0x378753,BoardInteractionSurfaceService as _0x3acde6,IBoardClipboardResourceAdapterService as _0x52cf4e,IBoardElementStateService as _0x31d12a,IBoardSidePanelService as _0x4c7560,IBoardUIStateService as _0x466b44,UniverBoardsUIPlugin as _0x4f6771,getBoardElementRenderObjectKey as _0xce4805,resolveRotatedBoardObjectAnchorBound as _0x36333a}from'@univerjs-pro/boards-ui';import{CommandType as _0x3d6f82,DependentOn as _0x12277f,Disposable as _0x37367c,DisposableCollection as _0x23bb89,ICommandService as _0x1fe324,IConfigService as _0xd2ea59,IUniverInstanceService as _0xd96f74,Inject as _0x562f55,Injector as _0xd63000,LocaleService as _0x9e1c11,Optional as _0x4d6e48,Plugin as _0x10d04f,RxDisposable as _0x38bb52,ThemeService as _0x266ec7,Tools as _0x2f6a92,UniverInstanceType as _0x707cea,createIdentifier as _0x4fae56,generateRandomId as _0x28db8b,merge as _0x42b868,toDisposable as _0x114177,touchDependencies as _0x1e7ffb}from'@univerjs/core';import{BehaviorSubject as _0x126288,combineLatest as _0x3ed2cd,filter as _0x27dc02,fromEvent as _0x33ab4a,merge as _0x4d3929,takeUntil as _0x5901a1,throttleTime as _0x29335a}from'rxjs';import{BoardChartConfigAdapter as _0x4f64a2,BoardChartModelService as _0x19fb9a,BoardChartResourceService as _0x8c60,ChangeBoardChartDataSourceCommand as _0x479239,DEFAULT_BOARD_CHART_VALUES as _0x551cb2,RemoveBoardChartDataSourceMutation as _0xccd2ef,RemoveBoardChartSnapshotMutation as _0x57425b,SetBoardChartDataSourceMutation as _0x34a8cb,SetBoardChartSnapshotMutation as _0x47addf,UniverBoardsChartPlugin as _0x5c1c8a,UpdateBoardChartConfigCommand as _0x4a239f}from'@univerjs-pro/boards-chart';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x3df2c8,CHART_TYPE_CATALOG as _0x41a22e,ChartAxisSection as _0x3bce50,ChartCommonDataMappingSection as _0x4f7120,ChartEditBlockTitle as _0x3c486f,ChartEditPanel as _0x1e07c3,ChartEditPanelSection as _0x4c33db,ChartEditPanelTab as _0x2d4b13,ChartEditPanelTabs as _0x3f4560,ChartEditorCapability as _0x1f3daa,ChartEditorProvider as _0x38d517,ChartElementFloatMenuAdapterRegistry as _0xae228c,ChartFunnelStyleSection as _0x245efb,ChartGradientFillField as _0x4b623f,ChartGridlinesAndTicksSection as _0x38be78,ChartHeatmapStyleSection as _0x43dcb2,ChartHostAdapter as _0x1cfdd3,ChartImageExportService as _0x5802b4,ChartIndicatorLineSection as _0x2ec339,ChartInlineTableEditor as _0x34964e,ChartLegendSection as _0xcb1ed,ChartLineAndAreaSection as _0x4a1c62,ChartNumberFormatTextField as _0x3b55de,ChartParetoSeriesSection as _0x34ddb7,ChartPieStyleSection as _0x3b6e06,ChartRadarStyleSection as _0x2c7bb8,ChartReferencedDataSourceEditor as _0x450ca6,ChartRelationStyleSection as _0x1efc18,ChartSectionAccordion as _0x533994,ChartSectionAccordionContent as _0x3be325,ChartSectionAccordionItem as _0x1c4444,ChartSectionAccordionTrigger as _0x16cc65,ChartSeriesBorderFields as _0x1e885e,ChartSeriesDataLabelFields as _0x491b26,ChartSeriesDataPointFields as _0x14fec3,ChartSeriesFillFields as _0x31bfcd,ChartSeriesPointFields as _0x1521ac,ChartSeriesRightAxisField as _0x9473e9,ChartSeriesRoot as _0x1298fb,ChartSeriesSelector as _0x58fc41,ChartSeriesTypeField as _0x44ffa0,ChartSnapshotQueue as _0x2f0ffd,ChartStackField as _0x4cb525,ChartStyleSection as _0x243fc2,ChartThemeField as _0x6ad40f,ChartTitlesSection as _0x55db44,ChartTrendlineSection as _0x331351,ChartTypeField as _0xb03ed8,ChartTypeSpecificDataSection as _0x12a344,ChartTypeSpecificSetupSection as _0x5cba48,ChartTypeSpecificStyleSection as _0x1f5610,ChartUIService as _0xc35674,ChartViewStateRegistry as _0x243472,ChartWaterfallSetupFields as _0x1df86c,ChartWaterfallStyleSection as _0xc5b822,ChartWordCloudMaskImageIdField as _0x364feb,ChartWordCloudRepeatField as _0x2d7381,ChartWordCloudRoot as _0x347c60,ChartWordCloudShapeField as _0x54123c,DEFAULT_CHART_AXIS_VALUES as _0x55330d,DEFAULT_CHART_FUNNEL_VALUES as _0x18ae83,DEFAULT_CHART_HEATMAP_VALUES as _0x5685b8,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x39bc3c,DEFAULT_CHART_LEGEND_VALUES as _0x56644b,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x475e1f,DEFAULT_CHART_PARETO_VALUES as _0x523a9d,DEFAULT_CHART_PIE_VALUES as _0x292158,DEFAULT_CHART_RADAR_VALUES as _0x33566e,DEFAULT_CHART_RELATION_VALUES as _0x132015,DEFAULT_CHART_SERIES_VALUES as _0x15e876,DEFAULT_CHART_STYLE_VALUES as _0x420a41,DEFAULT_CHART_TITLE_VALUES as _0x1b2173,DEFAULT_CHART_TRENDLINE_VALUES as _0x4ef68a,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x3ba343,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x2929dc,DEFAULT_CHART_WORD_CLOUD_VALUES as _0xe8319e,InlineChartCreationIssueCode as _0x2f8c65,UniverChartUIPlugin as _0x2d77e6,buildChartTypeSelectOptions as _0x5e7700,chartTypeSupportsCapability as _0x57d0f8,chartTypeSupportsLineAndAreaStyle as _0x34ddfc,createChartElementFloatMenuAdapter as _0x459948,createChartInlineStarterData as _0x4d3703,getChartInlineTableMinColumns as _0x3a6a48,resolveChartEditPanelRoute as _0x54bddd,resolveChartElementSelection as _0x18d75a,tryBuildInlineChartCreationPlan as _0x321e23,tryPrepareInlineChartData as _0x1be431,useChartEditorChartType as _0xf3075c,useChartEditorHasRightAxis as _0x32edde,useChartTypeFieldState as _0x11bc28}from'@univerjs-pro/chart-ui';import{Button as _0x413d0f,Select as _0x1138bf,Separator as _0x168461,borderClassName as _0x46e847,clsx as _0x1c9fb4}from'@univerjs/design';import{DeleteIcon as _0x370cc6,PenIcon as _0x5cc677}from'@univerjs/icons';import{ComponentManager as _0x1af51d,ICanvasPopupService as _0xea016f,IDialogService as _0x223c84,useDependency as _0x30d157,useObservable as _0x265074}from'@univerjs/ui';import{useEffect as _0xe8772c,useMemo as _0x3b7d38,useRef as _0x5074cd,useState as _0x52cd5f}from'react';import{CHART_HOST_DEFAULT_BORDER_COLOR as _0x40ee15,CHART_HOST_DEFAULT_BORDER_RADIUS as _0x24da85,ChartDataSourceRuntimeStatus as _0x2b2838,ChartHostRenderMode as _0x155eff,ChartThemeService as _0x3c12b3,ChartTypeBits as _0x1f8f85,DataUrlImageChartHost as _0x965a83,IChartRenderModelManagerService as _0x177a5a,chartBitsUtils as _0x57039c,chartTypeCanUseTrendLine as _0x3bcf6e,defaultChartConfig as _0x5723a7,isInlineChartDataSource as _0x2877eb,isReferencedChartDataSource as _0x191f31,parseInlineChartTable as _0x1e6e18,resolveChartRuntimeStyle as _0x328c21,resolveDefaultChartHostFrameStyle as _0x225484}from'@univerjs-pro/engine-chart';import{jsx as _0x4c0ab2,jsxs as _0x5b5190}from'react/jsx-runtime';import{UniverLicensePlugin as _0x614a47}from'@univerjs-pro/license';import{IRenderManagerService as _0x4b3b8f,Image as _0x78fa0e,UniverRenderEnginePlugin as _0x165d51}from'@univerjs/engine-render';function _0x2ae8(){const _0x44582b=['chartIdByElementId','boards-chart-ui.common.chartType','_adapter','borderRadius','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','Boxplot','find','getChartModel','1066722UqVjrz','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Doughnut','boards-chart-ui.section.lineAndArea','_watchSnapshotUpdates','getConfig','restore','moveTo','_bindChartEventHandlers','registerCommand','onClose','dataUrl','deepClone','issue','plan','_injector','getDirection','removePopup','pie','elementAdd$','1785575WqkWmO','_modelService','boards-chart-ui.candlestick.low','boards-chart-ui.section.gridlinesAndTicks','_canvasPopupService','hidden','error','isRowDirection','doubleClick','_openFloatMenu','boards-chart-ui.common.insert','labelId','img','_attachScheduled','default','target','dataSources','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','oKey','getChartIdsByDataSource','changeDataSource','lineWidth','prototype','checkMounted','_resolveFrameStyle','number','_commandService','_renderModelManager','_localeService','getCurrentRenderModel','_chartRenderService','strokeWidth','markNotReady','row','dataSourceId','set','_attachNativeLoadHandlers','waterfall','boxSizing','_themeService','BarStacked','add','scaleY','UnknownOption','label','boards-chart-element-float-menu','_subscribeChartEvents','axis','borderWidth','showFloatMenu','wordCloud','mode','_element','px\x20solid\x20','syncObject','scroll','skipNextObservers','getTransformerByCreate','26058136uCfIcP','typeOptions','Treemap','additionalRenderAdapters','selectionChange','_init','chartStyle','focusedId','symbol','toolbar','changeChartSource','beginPath','getRenderColor','fill','bounds','scaleX','getDataSource','dispose','ColumnPercentStacked','getValue','getElementData','getInfo','chartType','pageChange','string','boards-chart-ui.common.horizontalAxis','ready','pareto','Legend','forEach','changeStart$','parseInt','boards-chart-ui.section.funnel','boards-chart-ui.section.wordCloud','clientY','emitEvent','change','Series','_chartEventDisposables','_syncPanel','_elementStateService','legend','VerticalAxis','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','main','setElementEditMode','call','_closeActivePanel','_openEditSession','boards-chart-ui.common.editChart','key','getId','_buildPopupSelectionKey','boards-chart-ui.section.chord','_getBoardsUIConfig','some','strokeStyle','\x20has\x20no\x20render\x20config.','boards-chart-ui.candlestick.columnsError','Waterfall','_boardCanvasPopManagerService','onStarting','selectedIds','size','tools','univer-w-full\x20!univer-min-w-0','version','Select','boards-chart-ui.dataEditor.updateFailed','boards-chart-ui.common.customize','926PIcMqh','button','map','src','_disposeChartEventSubscriptions','subscribeEvent','_resolveElementObject','setValue','activeTool','_sidePanelService','_syncSelectionState','state$','2013adSQiU','GridlinesAndTicks','Dom','attachPopupToObject','width','setActiveChartRuntime','visible','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','frameStyle','code','isElementEditModeActive','pipe','ghost','height','createRenderSpec','chartModelAdded$','onCommandExecuted','createElement','createChartInstance','get','dispose$','rect','chartElement','length','boards-chart-ui.section.gauge','_activePanelDisposable','_activePanelKey','makeDirty','axisId','setConfig','board.chart.floating-toolbar','ParetoBarSeries','render','_registerAdapter','elementId','_activeLayerDisposable','catch','setStyle','localPoint','InvalidCandlestickData','small','seriesId','boards-chart-ui.sunburst.hierarchy','children','syncLayout','activeRuntimeModel$','top','name','_shouldWaitForChartConfig','primary','transparent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','univer-flex\x20univer-justify-end\x20univer-gap-2','Scatter','Radar','getChart','quickToolbar','min(1120px,\x20calc(100vw\x20-\x2032px))','getHostStyle','boards-chart-ui.common.trendline','boards-chart-ui.chartTypes.','setActiveChartById','_clearActiveLayer','supports','_listenChartResourceMutations','bottom','_univerInstanceService','rgba(255,\x20255,\x20255,\x200.18)','_showPopupForSelection','ensureChartModel','_editSessionService','heatmap','boards-chart-ui.common.chartStyle','boards-chart-ui.common.heatmap','resourceService','model','WaterfallSeries','boards-chart-ui.common.value','_applyHostStyle','_adapterRegistry','clientWidth','_getChartRuntimeKey','_popupDisposable','open','unitId','boards-chart-ui.chord.target','toPrimitive','filter','innerHeight','_chartThemeService','subUnitId','getRect','onload','ColumnStacked','select','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','_resourceService','chartInvalidated$','getUnit','Chart','getObject','_drawChartImage','stroke','Column','board-chart-active','disposeWithMe','clientHeight','snapshotUpdated$','min','onEditData','referenced','getCanvasElement','resolve','subscribe','toSpec','context','1.0.0-beta.1','_registerComponents','executeCommand','transformStart','then','boards-chart-ui.common.chartAndAxisTitles','isDarkMode','elementDataItem','Line','function','invalidateChart','elementIdMap','status','_renderManagerService','_bindChartEventHandler','boards-chart-ui.section.treemap','getState','applyHostStyle','direction$','preparePaste','_popupSelectionKey','route','getDataUrl','scene','4531695zhQXeA','IndicatorLine','1251804uLMFtT','barStyle','keys','close','left','push','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','_activeLayerId','activeSession$','boards-chart-ui.candlestick.open','board-chart-setup-panel','board-chart-style-panel','boards-chart-ui.section.waterfall','_activeEditOverlay','_config','_configService','getSnapshot','selectElements','style','getElementById','from','_updateFrameStyle','board-chart.data-editor-dialog','slice','border','naturalWidth','elementUpdate$','getElementOrder','board-chart-floating-toolbar','boards-chart-ui.config','boards-chart-ui.common.editData','enabled','baseOn','_activeSession$','lineTo','_draw','_syncActiveChart','boards-chart-ui.common.tableDataEmpty','updateDataForChart','insertParams','boards-chart-ui.common.setup','indicatorLine','clear','_chartUIService','Trendline','bind','targetUnitId','_clearActiveEditOverlay','HorizontalAxis','_frameStyle','AreaStacked','UNIVER_BOARD','values','_clearPopupIfSelectionChanged','_clearPopup','Image','Relation','_renderService','boards-chart-ui.common.label','next','boards-chart-ui.candlestick.close','chartId','onerror','config','BarPercentStacked','includes','_interactionSurfaceService','boards-chart-ui.section.relation','image','decorate','_clearHiddenSelectedTarget','elements','section','boards-chart-ui.common.switchRowColumn','board-chart','delete','column','getElement','innerWidth','boards-chart-ui.section.paretoBar','type','interactionSurfaceActive$','_createChartRenderInstanceContext','Candlestick','447956OQTrXt','chart','onReady','overflow','params','_chartEventHandlers','position','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','rgb(','Data','transformByState','boards-chart-ui.common.series','preventDefault','isFinite','_activeChart','chartModelRemoved$','lineAndArea','_uiStateService','boards-chart-ui.section.histogram','LineAndArea','color','_renderContext','ensureMount','border-box','pendingInsert','boards-chart-ui.common.deleteChart','every','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','charts','getBoundingClientRect','fillStyle','boards-chart-ui.section.pie','config$','RightVerticalAxis','translate','complete','GeneralSeries','_objectDblclickDisposables','nativeEvent','isInteractionSurfaceActive','_closePopup','max','naturalHeight','split','asObservable','crossOrigin','elementRemove$','_requestSnapshotForObject','_chartElementEditMode','board.operation.chart.open-data-editor','_drawFrameStroke','Gauge','hostFill','Chord','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','boards-chart-ui.common.apply','angle','_chartEventSubscriptions','boards-chart-ui.chord.source','borderColor','Axes','_scheduleAttachObjectDoubleClicks','value','_boardElementService','boards-chart-ui.common.verticalAxis','flipX','_instanceService','_appendRenderAdapter','univer-w-full\x20univer-justify-start','div','rightY','inline','dataSource','_popupRuntimeKey','right','collect','boards-chart-ui.common.insertChartFailed','constructor','closePath','match','_domLayerService','getRenderUnitById','registerRenderModule','hit','boards-chart-ui.common.legend','top-center','engine','_snapshotRefreshers','updateElement','titleKey','source','boards-chart-ui.dataEditor.unavailable','arc','getDataEditState','backgroundColor','unsubscribe','extraProps','_componentManager','_removeRenderAdapter','cumulativeLineStyle','WordCloud','getDataSourceSharingCount','EmptyData','tab','onCancel','boards-chart-ui.common.cancel','Funnel','manual','getOwnPropertyDescriptor','Heatmap','_chartInstanceMap','_host','element','createRenderInput','save','ChartStyle','darkMode','ParetoLineSeries','stopPropagation','defineProperty','PieStyle','exportImage','register','edit-chart','activeRuntimeModel','refreshChartModel','has','isTransforming','radius','Sunburst','Histogram','_setActiveEditOverlay','Pareto','object','executeChartUpdateConfig','elementRemoved','join','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','delete-chart','programmatic','ChartAndAxisTitles','createControl$','getObjectIncludeInGroup','univer-flex\x20univer-flex-col\x20univer-gap-2','UNIVER_BOARDS_CHART_UI_PLUGIN','_snapshotService','_native','updateFrameStyle','updateItem','flipY','getActiveSession'];_0x2ae8=function(){return _0x44582b;};return _0x2ae8();}const Hn=_0x420134(0x2d1),Un={};function R(_0x358508){'@babel/helpers - typeof';const _0x2bfc76=_0x420134;return R=typeof Symbol==_0x2bfc76(0x2a3)&&typeof Symbol['iterator']==_0x2bfc76(0x1dc)?function(_0x562a87){return typeof _0x562a87;}:function(_0x5edf30){const _0x47dc0c=_0x2bfc76;return _0x5edf30&&typeof Symbol==_0x47dc0c(0x2a3)&&_0x5edf30[_0x47dc0c(0x355)]===Symbol&&_0x5edf30!==Symbol[_0x47dc0c(0x1b0)]?_0x47dc0c(0x1dc):typeof _0x5edf30;},R(_0x358508);}function Wn(_0x184ac9,_0x3d0f02){const _0x2de530=_0x420134;if(R(_0x184ac9)!=_0x2de530(0x16c)||!_0x184ac9)return _0x184ac9;var _0x34cd6b=_0x184ac9[Symbol[_0x2de530(0x27c)]];if(_0x34cd6b!==void 0x0){var _0x14cbfa=_0x34cd6b['call'](_0x184ac9,_0x3d0f02||_0x2de530(0x1a8));if(R(_0x14cbfa)!='object')return _0x14cbfa;throw TypeError(_0x2de530(0x187));}return(_0x3d0f02===_0x2de530(0x1ec)?String:Number)(_0x184ac9);}function Gn(_0x155ac){const _0xdb8d2c=_0x420134;var _0x4460fe=Wn(_0x155ac,'string');return R(_0x4460fe)==_0xdb8d2c(0x1dc)?_0x4460fe:_0x4460fe+'';}function z(_0xb175a2,_0x3920cf,_0x298a5e){const _0x4fb844=_0x420134;return(_0x3920cf=Gn(_0x3920cf))in _0xb175a2?Object[_0x4fb844(0x15e)](_0xb175a2,_0x3920cf,{'value':_0x298a5e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb175a2[_0x3920cf]=_0x298a5e,_0xb175a2;}function B(_0x47b74a,_0x35de9d){return function(_0x2f2d79,_0x2413a5){_0x35de9d(_0x2f2d79,_0x2413a5,_0x47b74a);};}function _0x1b7a(_0xc1e33e,_0x59e1b3){_0xc1e33e=_0xc1e33e-0x13f;const _0x2ae8f3=_0x2ae8();let _0x1b7ac6=_0x2ae8f3[_0xc1e33e];return _0x1b7ac6;}function V(_0x5170fd,_0x487913,_0x15d536,_0xf5b1f9){const _0x57b528=_0x420134;var _0x707ed4=arguments[_0x57b528(0x23d)],_0x59cbf1=_0x707ed4<0x3?_0x487913:_0xf5b1f9===null?_0xf5b1f9=Object[_0x57b528(0x153)](_0x487913,_0x15d536):_0xf5b1f9,_0x44d5bf;if(typeof Reflect=='object'&&typeof Reflect[_0x57b528(0x2f9)]==_0x57b528(0x2a3))_0x59cbf1=Reflect[_0x57b528(0x2f9)](_0x5170fd,_0x487913,_0x15d536,_0xf5b1f9);else{for(var _0x23e499=_0x5170fd[_0x57b528(0x23d)]-0x1;_0x23e499>=0x0;_0x23e499--)(_0x44d5bf=_0x5170fd[_0x23e499])&&(_0x59cbf1=(_0x707ed4<0x3?_0x44d5bf(_0x59cbf1):_0x707ed4>0x3?_0x44d5bf(_0x487913,_0x15d536,_0x59cbf1):_0x44d5bf(_0x487913,_0x15d536))||_0x59cbf1);}return _0x707ed4>0x3&&_0x59cbf1&&Object[_0x57b528(0x15e)](_0x487913,_0x15d536,_0x59cbf1),_0x59cbf1;}function Kn(_0x27e6f3,_0x1bf5a5){const _0x138211=_0x420134;return(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x14e)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5['tab'])&&(_0x27e6f3==null?void 0x0:_0x27e6f3['section'])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x2fc)])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x140)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5['titleKey'])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x242)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x242)])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x24f)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x24f)]);}function qn(_0x343e19,_0x14000c){const _0x36893e=_0x420134;return(_0x343e19==null?void 0x0:_0x343e19[_0x36893e(0x27a)])===_0x14000c[_0x36893e(0x27a)]&&_0x343e19[_0x36893e(0x280)]===_0x14000c[_0x36893e(0x280)]&&_0x343e19[_0x36893e(0x248)]===_0x14000c[_0x36893e(0x248)]&&_0x343e19[_0x36893e(0x2f1)]===_0x14000c[_0x36893e(0x2f1)]&&_0x343e19[_0x36893e(0x141)]===_0x14000c['source']&&Kn(_0x343e19['route'],_0x14000c['route']);}let H=class extends _0x37367c{constructor(_0x53c5b9,_0xce8ffc){const _0x5a37ba=_0x420134;super(),this[_0x5a37ba(0x1fc)]=_0x53c5b9,this[_0x5a37ba(0x347)]=_0xce8ffc,z(this,_0x5a37ba(0x2d5),new _0x126288(null)),z(this,_0x5a37ba(0x2bc),this[_0x5a37ba(0x2d5)][_0x5a37ba(0x334)]()),this[_0x5a37ba(0x28f)](this[_0x5a37ba(0x1fc)]['state$']['subscribe'](_0x360cdd=>this[_0x5a37ba(0x224)](_0x360cdd))),this[_0x5a37ba(0x28f)](this[_0x5a37ba(0x347)]['elementRemove$'][_0x5a37ba(0x297)](_0x5e2d50=>{const _0x49fc02=_0x5a37ba;let _0x555279=this[_0x49fc02(0x17d)]();_0x555279&&_0x5e2d50['some'](_0x29e260=>_0x29e260[_0x49fc02(0x27a)]===_0x555279[_0x49fc02(0x27a)]&&_0x29e260['subUnitId']===_0x555279[_0x49fc02(0x280)]&&_0x29e260['elementId']===_0x555279[_0x49fc02(0x248)])&&this[_0x49fc02(0x2b7)](_0x49fc02(0x16e));}));}[_0x420134(0x1e5)](){const _0x45382f=_0x420134;this[_0x45382f(0x2b7)](_0x45382f(0x1e5)),this[_0x45382f(0x2d5)][_0x45382f(0x32b)](),super[_0x45382f(0x1e5)]();}[_0x420134(0x17d)](){const _0x5c0b06=_0x420134;return this[_0x5c0b06(0x2d5)][_0x5c0b06(0x1e7)]();}['open'](_0x1a9e64){const _0x52a499=_0x420134;let _0x1f400f={..._0x1a9e64};qn(this[_0x52a499(0x17d)](),_0x1f400f)||this[_0x52a499(0x2d5)]['next'](_0x1f400f);}[_0x420134(0x2b7)](_0x2bdf6f){const _0x444fc6=_0x420134;this['getActiveSession']()&&this[_0x444fc6(0x2d5)][_0x444fc6(0x2ef)](null);}[_0x420134(0x224)](_0x3b265b){const _0xacc63e=_0x420134;let _0x41acd6=this['getActiveSession']();if(!_0x41acd6)return;if(_0x3b265b[_0xacc63e(0x166)]){this[_0xacc63e(0x2b7)](_0xacc63e(0x29d));return;}if(!_0x3b265b[_0xacc63e(0x299)]){this[_0xacc63e(0x2b7)]('selectionChange');return;}if(_0x3b265b[_0xacc63e(0x299)][_0xacc63e(0x27a)]!==_0x41acd6[_0xacc63e(0x27a)]){this['close']('selectionChange');return;}if(_0x3b265b[_0xacc63e(0x299)][_0xacc63e(0x280)]!==_0x41acd6[_0xacc63e(0x280)]){this[_0xacc63e(0x2b7)](_0xacc63e(0x1eb));return;}if(_0x3b265b[_0xacc63e(0x212)][_0xacc63e(0x23d)]!==0x1||_0x3b265b[_0xacc63e(0x1db)]!==_0x41acd6[_0xacc63e(0x248)]){this['close'](_0xacc63e(0x1d8));return;}let _0xd477d0=this[_0xacc63e(0x347)][_0xacc63e(0x2c7)](_0x41acd6[_0xacc63e(0x27a)],_0x41acd6[_0xacc63e(0x280)],_0x41acd6[_0xacc63e(0x248)]);(!_0xd477d0||_0xd477d0[_0xacc63e(0x157)]['type']!==_0xbbe6aa[_0xacc63e(0x289)]||_0xd477d0['element'][_0xacc63e(0x2f1)]!==_0x41acd6[_0xacc63e(0x2f1)])&&this[_0xacc63e(0x2b7)](_0xacc63e(0x1d8));}};H=V([B(0x0,_0x31d12a),B(0x1,_0x3c3318)],H);const Jn=new Set([_0x1f8f85[_0x420134(0x283)],_0x1f8f85[_0x420134(0x1e6)],_0x1f8f85[_0x420134(0x1c2)],_0x1f8f85[_0x420134(0x2f4)],_0x1f8f85[_0x420134(0x188)],_0x1f8f85[_0x420134(0x2e6)],_0x1f8f85['AreaPercentStacked'],_0x1f8f85['Pareto']]),Yn=_0x41a22e['filter'](_0x5139f2=>!Jn[_0x420134(0x165)](_0x5139f2[_0x420134(0x346)])),U=_0x4fae56('board-chart.ui.service');let Xn=class extends _0xc35674{constructor(_0x1a6120,_0x309f8b,_0x59ff97,_0x19815c){const _0x36819c=_0x420134;super(_0x19815c),this[_0x36819c(0x19b)]=_0x1a6120,this[_0x36819c(0x286)]=_0x309f8b,this['_commandService']=_0x59ff97;}get[_0x420134(0x163)](){const _0x556e72=_0x420134;return this[_0x556e72(0x19b)][_0x556e72(0x163)];}get[_0x420134(0x253)](){const _0x9cd2f2=_0x420134;return this[_0x9cd2f2(0x19b)][_0x9cd2f2(0x253)];}get[_0x420134(0x270)](){const _0x2a2359=_0x420134;return this[_0x2a2359(0x286)];}[_0x420134(0x16d)](_0x4a4873){const _0x2f2dd0=_0x420134;let _0x3871c4=this[_0x2f2dd0(0x19b)][_0x2f2dd0(0x163)],_0xe6c7ad=_0x4a4873[_0x2f2dd0(0x27a)]??(_0x3871c4==null?void 0x0:_0x3871c4[_0x2f2dd0(0x27a)]),_0x596ffd=_0x4a4873[_0x2f2dd0(0x2f1)]??(_0x3871c4==null?void 0x0:_0x3871c4[_0x2f2dd0(0x2f1)]);!_0xe6c7ad||!_0x596ffd||this[_0x2f2dd0(0x1b4)][_0x2f2dd0(0x29c)](_0x4a239f['id'],{..._0x4a4873,'unitId':_0xe6c7ad,'chartId':_0x596ffd});}};Xn=V([B(0x0,_0x562f55(_0x19fb9a)),B(0x1,_0x562f55(_0x8c60)),B(0x2,_0x1fe324),B(0x3,_0x562f55(_0x243472))],Xn);const Zn=_0x420134(0x244);function Qn(_0x4ceb8d){const _0x6f0693=_0x420134;_0x4ceb8d[_0x6f0693(0x15d)]();}function $n(_0x4fec86){const _0x8039c5=_0x420134;let _0x15502d=_0x30d157(_0x1fe324),_0x1a2cab=_0x30d157(_0x9e1c11),_0x191342=_0x30d157(_0x19fb9a),_0x2e3f05=_0x30d157(H),_0x440edc=_0x11bc28(_0x4fec86[_0x8039c5(0x1d5)]),{extraProps:_0x291b17}=_0x4fec86;return _0x5b5190(_0x8039c5(0x34d),{'className':_0x1c9fb4(_0x8039c5(0x182),_0x46e847),'data-u-comp':_0x8039c5(0x2d0),'role':_0x8039c5(0x1dd),'onMouseDown':Qn,'onPointerDown':Qn,'children':[_0x4c0ab2(_0x1138bf,{'aria-label':_0x1a2cab['t'](_0x8039c5(0x17f)),'className':'!univer-w-36\x20!univer-min-w-0','value':_0x440edc[_0x8039c5(0x346)],'options':_0x4fec86[_0x8039c5(0x1d5)],'onChange':_0x5eb392=>{const _0x2c053b=_0x8039c5;_0x191342[_0x2c053b(0x263)](_0x291b17[_0x2c053b(0x27a)],_0x291b17[_0x2c053b(0x2f1)]),_0x440edc[_0x2c053b(0x221)](_0x5eb392);}}),_0x4c0ab2(_0x168461,{'orientation':'vertical'}),_0x4c0ab2(_0x413d0f,{'size':_0x8039c5(0x24e),'variant':_0x8039c5(0x232),'type':_0x8039c5(0x21b),'aria-label':_0x1a2cab['t'](_0x8039c5(0x205)),'title':_0x1a2cab['t'](_0x8039c5(0x205)),'data-toolbar-item':_0x8039c5(0x162),'onClick':()=>{const _0x467b6b=_0x8039c5;_0x2e3f05[_0x467b6b(0x279)]({'chartId':_0x291b17['chartId'],'elementId':_0x291b17[_0x467b6b(0x248)],'source':_0x467b6b(0x25e),'subUnitId':_0x291b17[_0x467b6b(0x280)],'unitId':_0x291b17[_0x467b6b(0x27a)]});},'children':_0x4c0ab2(_0x5cc677,{})}),_0x4c0ab2(_0x413d0f,{'size':_0x8039c5(0x24e),'variant':_0x8039c5(0x232),'type':_0x8039c5(0x21b),'aria-label':_0x1a2cab['t'](_0x8039c5(0x321)),'title':_0x1a2cab['t']('boards-chart-ui.common.deleteChart'),'data-toolbar-item':_0x8039c5(0x171),'onClick':()=>_0x15502d[_0x8039c5(0x29c)](_0x56ac06['id']),'children':_0x4c0ab2(_0x370cc6,{})})]});}function er(_0x5976e3){const _0x57aff8=_0x420134;let _0x2c3581=_0x30d157(_0xd63000),_0x3065e7=_0x30d157(_0xd96f74),_0x58bf12=_0x30d157(_0x9e1c11),_0x5cf26a=_0x30d157(_0x19fb9a),_0xb53ada=_0x30d157(U),_0x4c66a2=_0x3b7d38(()=>_0x5cf26a[_0x57aff8(0x26b)](_0x5976e3['unitId'],_0x5976e3[_0x57aff8(0x2f1)]),[_0x5976e3[_0x57aff8(0x2f1)],_0x5976e3[_0x57aff8(0x27a)],_0x5cf26a]),_0x2ce560=_0x3b7d38(()=>{const _0x83afce=_0x57aff8;let _0x3db231=_0x3065e7[_0x83afce(0x288)](_0x5976e3[_0x83afce(0x27a)],_0x707cea[_0x83afce(0x2e7)]);return!_0x4c66a2||!_0x3db231?null:new _0x1cfdd3(_0x4c66a2[_0x83afce(0x271)],new _0x4f64a2({'unitId':_0x5976e3[_0x83afce(0x27a)],'pageId':_0x5976e3[_0x83afce(0x280)],'chartId':_0x5976e3[_0x83afce(0x2f1)],'elementId':_0x5976e3[_0x83afce(0x248)],'boardModel':_0x3db231,'injector':_0x2c3581}));},[_0x5976e3,_0x2c3581,_0x4c66a2,_0x3065e7]),_0x292813=_0x3b7d38(()=>_0x5e7700(Yn[_0x57aff8(0x21c)](_0x1762e2=>({..._0x1762e2,'label':_0x58bf12['t'](_0x57aff8(0x262)+_0x1762e2[_0x57aff8(0x1a5)])}))),[_0x58bf12]);return!_0x4c66a2||!_0x2ce560?null:_0x4c0ab2(_0x38d517,{'chartUIService':_0xb53ada,'hostAdapter':_0x2ce560,'children':_0x4c0ab2($n,{'extraProps':_0x5976e3,'typeOptions':_0x292813})});}function tr(_0x24f9d2){const _0x172309=_0x420134;let _0x10141b=_0x24f9d2['popup'][_0x172309(0x147)];return _0x10141b?_0x4c0ab2(er,{..._0x10141b}):null;}let nr=class extends _0x38bb52{constructor(_0x28367f,_0x121d81,_0x2f17e3,_0x44d53d,_0xe86e5,_0x50f2eb,_0xb9b266){const _0x280d41=_0x420134;super(),this[_0x280d41(0x31d)]=_0x28367f,this[_0x280d41(0x210)]=_0x121d81,this[_0x280d41(0x347)]=_0x2f17e3,this[_0x280d41(0x1fc)]=_0x44d53d,this[_0x280d41(0x319)]=_0xe86e5,this[_0x280d41(0x26c)]=_0x50f2eb,this[_0x280d41(0x2f6)]=_0xb9b266,z(this,_0x280d41(0x278),null),z(this,_0x280d41(0x2ae),null),this[_0x280d41(0x1d9)]();}['dispose'](){const _0x53c83d=_0x420134;this[_0x53c83d(0x2ea)](),super[_0x53c83d(0x1e5)]();}[_0x420134(0x1d9)](){const _0x269efc=_0x420134;let _0x1d5f8c=this['_renderContext']['scene'][_0x269efc(0x1d3)]();this['disposeWithMe'](_0x114177(_0x1d5f8c[_0x269efc(0x174)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{this['_showPopupForSelection']();}))),this[_0x269efc(0x28f)](_0x114177(_0x1d5f8c['clearControl$'][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](()=>{const _0x426e30=_0x269efc;this[_0x426e30(0x2e9)]();}))),this['disposeWithMe'](_0x114177(_0x1d5f8c[_0x269efc(0x1f2)][_0x269efc(0x231)](_0x5901a1(this['dispose$']))[_0x269efc(0x297)](()=>{const _0x5ee278=_0x269efc;this[_0x5ee278(0x2ea)]();}))),this[_0x269efc(0x28f)](_0x114177(_0x1d5f8c['changeEnd$']['pipe'](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](()=>{const _0x74a461=_0x269efc;setTimeout(()=>this[_0x74a461(0x26a)](),0x0);}))),this[_0x269efc(0x28f)](_0x114177(this['_elementStateService'][_0x269efc(0x225)]['pipe'](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe'](_0x114177(this[_0x269efc(0x319)]['state$'][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe'](_0x114177(this[_0x269efc(0x26c)][_0x269efc(0x2bc)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](_0x55b10b=>{const _0x3b4745=_0x269efc;if(_0x55b10b){this[_0x3b4745(0x2ea)]();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this[_0x269efc(0x28f)](_0x114177(this[_0x269efc(0x2f6)][_0x269efc(0x305)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](_0x3288e7=>{const _0x2768fb=_0x269efc;if(_0x3288e7){this['_clearPopup']();return;}setTimeout(()=>this[_0x2768fb(0x26a)](),0x0);})));}[_0x420134(0x2ea)](){const _0x56633c=_0x420134;var _0x1f56fc;(_0x1f56fc=this[_0x56633c(0x278)])==null||_0x1f56fc[_0x56633c(0x1e5)](),this[_0x56633c(0x278)]=null,this[_0x56633c(0x2ae)]=null;}[_0x420134(0x2e9)](){setTimeout(()=>{this['_isPopupSelectionStillActive']()||this['_clearPopup']();},0x0);}['_isPopupSelectionStillActive'](){const _0x273145=_0x420134;let _0x22a45c=this['_elementStateService'][_0x273145(0x2c4)]();return!_0x22a45c[_0x273145(0x299)]||_0x22a45c['selectedIds'][_0x273145(0x23d)]!==0x1?!0x1:this[_0x273145(0x2ae)]===this[_0x273145(0x208)](_0x22a45c['context']['unitId'],_0x22a45c['context'][_0x273145(0x280)],_0x22a45c[_0x273145(0x212)][0x0]);}[_0x420134(0x208)](_0x1cd596,_0x1d0d9d,_0x5ed633){return _0x1cd596+':'+_0x1d0d9d+':'+_0x5ed633;}[_0x420134(0x26a)](){const _0x45ed38=_0x420134;if(this[_0x45ed38(0x2f6)][_0x45ed38(0x32f)]||this[_0x45ed38(0x26c)][_0x45ed38(0x17d)]()){this[_0x45ed38(0x2ea)]();return;}let _0x1353b9=this[_0x45ed38(0x1fc)][_0x45ed38(0x2c4)](),_0xc37d24=this[_0x45ed38(0x319)][_0x45ed38(0x2aa)]();if(_0x1353b9[_0x45ed38(0x166)]||_0xc37d24[_0x45ed38(0x320)]||_0xc37d24[_0x45ed38(0x222)]!==null&&_0xc37d24[_0x45ed38(0x222)]!==_0x3972cb[_0x45ed38(0x217)]||!_0x1353b9[_0x45ed38(0x299)]||_0x1353b9[_0x45ed38(0x299)][_0x45ed38(0x27a)]!==this['_renderContext'][_0x45ed38(0x27a)]||_0x1353b9[_0x45ed38(0x212)]['length']!==0x1||_0x1353b9[_0x45ed38(0x1db)]==null){this[_0x45ed38(0x2ea)]();return;}let _0x4f7ece=this[_0x45ed38(0x347)][_0x45ed38(0x2c7)](_0x1353b9[_0x45ed38(0x299)][_0x45ed38(0x27a)],_0x1353b9['context'][_0x45ed38(0x280)],_0x1353b9[_0x45ed38(0x1db)]);if(!_0x4f7ece||_0x4f7ece['element']['type']!==_0xbbe6aa[_0x45ed38(0x289)]){this[_0x45ed38(0x2ea)]();return;}let _0x55a9bb=this[_0x45ed38(0x220)](_0x4f7ece);if(!_0x55a9bb){this['_clearPopup']();return;}let _0x5a5348=this[_0x45ed38(0x208)](_0x4f7ece[_0x45ed38(0x27a)],_0x4f7ece[_0x45ed38(0x280)],_0x4f7ece[_0x45ed38(0x248)]);this[_0x45ed38(0x278)]&&this[_0x45ed38(0x2ae)]===_0x5a5348||(this[_0x45ed38(0x2ea)](),this['_popupDisposable']=this['disposeWithMe'](this[_0x45ed38(0x210)][_0x45ed38(0x229)](_0x4f7ece[_0x45ed38(0x27a)],_0x4f7ece[_0x45ed38(0x280)],_0x55a9bb,{'componentKey':Zn,'direction':_0x45ed38(0x35d),'offset':[0x0,0x24],'anchorBoundResolver':_0x36333a,'extraProps':{'unitId':_0x4f7ece['unitId'],'subUnitId':_0x4f7ece[_0x45ed38(0x280)],'elementId':_0x4f7ece['elementId'],'chartId':_0x4f7ece[_0x45ed38(0x157)][_0x45ed38(0x2f1)]}})),this[_0x45ed38(0x2ae)]=_0x5a5348);}[_0x420134(0x220)](_0x4b039c){const _0x5d9517=_0x420134;var _0x24e10b;let _0x301907=_0xce4805(_0x4b039c['unitId'],_0x4b039c[_0x5d9517(0x248)]),_0x1b07b2=this['_renderContext'][_0x5d9517(0x2b1)];return((_0x24e10b=_0x1b07b2['getObjectIncludeInGroup'])==null?void 0x0:_0x24e10b[_0x5d9517(0x202)](_0x1b07b2,_0x301907))??_0x1b07b2['getObject'](_0x301907)??null;}};nr=V([B(0x1,_0x562f55(_0x52e4c8)),B(0x2,_0x3c3318),B(0x3,_0x31d12a),B(0x4,_0x466b44),B(0x5,_0x562f55(H)),B(0x6,_0x562f55(_0x3acde6))],nr);let W=class extends _0x38bb52{constructor(_0xb4a5ac,_0x93282a,_0x53eb5d,_0x24dc7c,_0x4c5306,_0x2c05f2){const _0x9a8054=_0x420134;super(),this[_0x9a8054(0x31d)]=_0xb4a5ac,this[_0x9a8054(0x34a)]=_0x93282a,this['_boardElementService']=_0x53eb5d,this[_0x9a8054(0x1fc)]=_0x24dc7c,this['_uiStateService']=_0x4c5306,this['_editSessionService']=_0x2c05f2,z(this,_0x9a8054(0x1a7),!0x1),z(this,_0x9a8054(0x32d),null),this[_0x9a8054(0x1d9)]();}[_0x420134(0x1d9)](){const _0x168d9c=_0x420134;let {unitId:_0xc604f3}=this['_renderContext'],_0x1038cd=this[_0x168d9c(0x34a)][_0x168d9c(0x288)](_0xc604f3,_0x707cea[_0x168d9c(0x2e7)]);this['disposeWithMe'](_0x114177(()=>{const _0x3713eb=_0x168d9c;var _0x2f14db;return(_0x2f14db=this[_0x3713eb(0x32d)])==null?void 0x0:_0x2f14db[_0x3713eb(0x1e5)]();})),_0x1038cd&&(this['_scheduleAttachObjectDoubleClicks'](_0x1038cd),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x199)][_0x168d9c(0x297)](_0x43fcb2=>{const _0x175dd2=_0x168d9c;_0x43fcb2['some'](_0x5c1698=>_0x5c1698[_0x175dd2(0x27a)]===_0xc604f3)&&this[_0x175dd2(0x345)](_0x1038cd);})),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x2ce)][_0x168d9c(0x297)](_0x41037a=>{const _0x2cbc62=_0x168d9c;_0x41037a[_0x2cbc62(0x20b)](_0x1ca818=>_0x1ca818[_0x2cbc62(0x27a)]===_0xc604f3)&&this[_0x2cbc62(0x345)](_0x1038cd);})),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x336)][_0x168d9c(0x297)](_0x4d25c7=>{const _0x1e8184=_0x168d9c;_0x4d25c7[_0x1e8184(0x20b)](_0x1bd4f5=>_0x1bd4f5[_0x1e8184(0x27a)]===_0xc604f3)&&this[_0x1e8184(0x345)](_0x1038cd);})),this['disposeWithMe'](this[_0x168d9c(0x1fc)]['state$'][_0x168d9c(0x297)](_0x508727=>{const _0x10801b=_0x168d9c;var _0x593571;((_0x593571=_0x508727[_0x10801b(0x299)])==null?void 0x0:_0x593571['unitId'])===_0xc604f3&&this[_0x10801b(0x345)](_0x1038cd);})));}['_scheduleAttachObjectDoubleClicks'](_0x38a777){const _0x4f0438=_0x420134;this['_attachScheduled']||(this[_0x4f0438(0x1a7)]=!0x0,Promise[_0x4f0438(0x296)]()[_0x4f0438(0x29e)](()=>this['_attachObjectDoubleClicks'](_0x38a777)));}['_attachObjectDoubleClicks'](_0x55111e){const _0x117531=_0x420134;var _0x3a7b7a;this[_0x117531(0x1a7)]=!0x1;let {scene:_0x2eb75e,unitId:_0x267efd}=this[_0x117531(0x31d)],_0x1f7888=_0x55111e['getActivePageId'](),_0x5a662c=this[_0x117531(0x347)][_0x117531(0x2cf)](_0x267efd,_0x1f7888),_0x251c45=new _0x23bb89();(_0x3a7b7a=this['_objectDblclickDisposables'])==null||_0x3a7b7a[_0x117531(0x1e5)](),this[_0x117531(0x32d)]=_0x251c45,_0x5a662c[_0x117531(0x1f1)](_0x36ef21=>{const _0x3fdf08=_0x117531;var _0x3bf882;let _0x4515a3=this['_boardElementService'][_0x3fdf08(0x2c7)](_0x267efd,_0x1f7888,_0x36ef21);if(!_0x4515a3||_0x4515a3[_0x3fdf08(0x157)][_0x3fdf08(0x304)]!==_0xbbe6aa['Chart'])return;let _0x384a04=_0xce4805(_0x267efd,_0x36ef21),_0x2e8b55=((_0x3bf882=_0x2eb75e[_0x3fdf08(0x175)])==null?void 0x0:_0x3bf882['call'](_0x2eb75e,_0x384a04))??_0x2eb75e[_0x3fdf08(0x28a)](_0x384a04);_0x2e8b55&&_0x251c45[_0x3fdf08(0x1c3)](_0x114177(_0x2e8b55['onDblclick$'][_0x3fdf08(0x21f)]((_0x2ba37e,_0x4251e7)=>{this['_openEditSession'](_0x4515a3,_0x2ba37e,_0x4251e7);})));});}[_0x420134(0x204)](_0x599000,_0x4cbae9,_0xc4a70e){const _0x18c83=_0x420134;var _0x1a4bdf;if(this[_0x18c83(0x319)][_0x18c83(0x2aa)]()[_0x18c83(0x320)]||this[_0x18c83(0x1fc)]['getSnapshot']()[_0x18c83(0x166)]||_0x599000[_0x18c83(0x157)]['type']!==_0xbbe6aa[_0x18c83(0x289)])return;let _0xbb3623={'unitId':_0x599000[_0x18c83(0x27a)],'subUnitId':_0x599000['subUnitId']};this['_elementStateService'][_0x18c83(0x2c5)](_0xbb3623,[_0x599000[_0x18c83(0x248)]],_0x599000['elementId']),this[_0x18c83(0x1fc)]['setFocusedSwimlaneLane'](_0xbb3623,null),this['_editSessionService'][_0x18c83(0x279)]({'chartId':_0x599000['element'][_0x18c83(0x2f1)],'elementId':_0x599000[_0x18c83(0x248)],'source':_0x18c83(0x1a2),'subUnitId':_0x599000[_0x18c83(0x280)],'unitId':_0x599000[_0x18c83(0x27a)]}),_0xc4a70e&&(_0xc4a70e[_0x18c83(0x1d2)]=!0x0),_0x4cbae9==null||(_0x1a4bdf=_0x4cbae9[_0x18c83(0x314)])==null||_0x1a4bdf[_0x18c83(0x202)](_0x4cbae9);}};W=V([B(0x1,_0xd96f74),B(0x2,_0x3c3318),B(0x3,_0x31d12a),B(0x4,_0x466b44),B(0x5,_0x562f55(H))],W);let G=class extends _0x37367c{constructor(_0x10ba7a,_0x120fde,_0x17d811){const _0x477c82=_0x420134;super(),this['_resourceService']=_0x10ba7a,this[_0x477c82(0x19b)]=_0x120fde,this[_0x477c82(0x1b4)]=_0x17d811;}[_0x420134(0x144)](_0x18cf3c,_0x10f3cd){const _0x681337=_0x420134;let _0x2c4da3=this[_0x681337(0x286)]['getChart'](_0x18cf3c,_0x10f3cd),_0x6b6e9e=_0x2c4da3?this[_0x681337(0x286)][_0x681337(0x1e4)](_0x18cf3c,_0x2c4da3[_0x681337(0x1bc)]):void 0x0;return!_0x2c4da3||!_0x6b6e9e?null:{'chartId':_0x10f3cd,'chartType':_0x2c4da3['chartType'],'dataSource':_0x6b6e9e,'sharingCount':this[_0x681337(0x286)][_0x681337(0x14c)](_0x18cf3c,_0x6b6e9e['id']),'unitId':_0x18cf3c};}async[_0x420134(0x2da)](_0x1d6c43){const _0x235786=_0x420134;var _0x2ecb99;if(!this['getDataEditState'](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)])||_0x1d6c43[_0x235786(0x2e8)][_0x235786(0x23d)]===0x0)return!0x1;let _0x206a01=(_0x2ecb99=this[_0x235786(0x286)][_0x235786(0x25d)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)]))==null?void 0x0:_0x2ecb99[_0x235786(0x1ea)];if(_0x206a01===void 0x0)return!0x1;let _0x4c3cb0=_0x1be431(_0x206a01,_0x1d6c43[_0x235786(0x2e8)]);if(!_0x4c3cb0['ok'])return!0x1;let _0x213b73=await this[_0x235786(0x1ae)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)],{'values':_0x4c3cb0[_0x235786(0x2e8)]});return _0x213b73&&this[_0x235786(0x19b)][_0x235786(0x164)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)]),!!_0x213b73;}['changeDataSource'](_0x434080,_0x24eb47,_0x58b4fc){const _0x6b2d3a=_0x420134;return this['_commandService'][_0x6b2d3a(0x29c)](_0x479239['id'],{'unitId':_0x434080,'chartId':_0x24eb47,'dataSource':_0x58b4fc});}};G=V([B(0x0,_0x562f55(_0x8c60)),B(0x1,_0x562f55(_0x19fb9a)),B(0x2,_0x1fe324)],G);const rr=_0x420134(0x2ca);function ir(_0x480c24){const _0x3c854b=_0x420134;let _0xee0574=_0x30d157(G),_0x59e778=_0x30d157(_0x9e1c11),_0x24edc7=_0xee0574[_0x3c854b(0x144)](_0x480c24[_0x3c854b(0x27a)],_0x480c24[_0x3c854b(0x2f1)]),[_0x5c816d,_0x434953]=_0x52cd5f(()=>_0x2877eb(_0x24edc7==null?void 0x0:_0x24edc7[_0x3c854b(0x350)])?_0x24edc7['dataSource']['values'][_0x3c854b(0x21c)](_0xf77431=>[..._0xf77431]):[]),[_0x1b9afd,_0x12c69b]=_0x52cd5f(()=>_0x191f31(_0x24edc7==null?void 0x0:_0x24edc7[_0x3c854b(0x350)])?_0x3c854b(0x294):_0x3c854b(0x34f)),[_0x50c5e2,_0x1904b1]=_0x52cd5f(null),[_0x3baecd,_0x2416bf]=_0x52cd5f(null),_0x19c047={[_0x2f8c65[_0x3c854b(0x1c5)]]:_0x59e778['t'](_0x3c854b(0x354)),[_0x2f8c65[_0x3c854b(0x14d)]]:_0x59e778['t'](_0x3c854b(0x2d9)),[_0x2f8c65[_0x3c854b(0x24d)]]:_0x59e778['t'](_0x3c854b(0x20e))};if(!_0x24edc7)return _0x4c0ab2(_0x3c854b(0x34d),{'className':_0x3c854b(0x1ab),'children':_0x59e778['t'](_0x3c854b(0x142))});let _0x8a27c7=async _0x1623c6=>{const _0x5c2c35=_0x3c854b;var _0x498d83;if(_0x1b9afd===_0x5c2c35(0x294)){var _0x9c9284;if(!_0x50c5e2)return;if(!await _0xee0574[_0x5c2c35(0x1ae)](_0x480c24[_0x5c2c35(0x27a)],_0x480c24[_0x5c2c35(0x2f1)],_0x50c5e2)){_0x2416bf(_0x59e778['t'](_0x5c2c35(0x218)));return;}_0x2416bf(null),(_0x9c9284=_0x480c24[_0x5c2c35(0x190)])==null||_0x9c9284[_0x5c2c35(0x202)](_0x480c24);return;}let _0x131fd7=_0x1be431(_0x24edc7[_0x5c2c35(0x1ea)],_0x5c816d);if(!_0x131fd7['ok']){_0x2416bf(_0x19c047[_0x131fd7[_0x5c2c35(0x193)][_0x5c2c35(0x22f)]]);return;}if(!await _0xee0574['updateDataForChart']({'chartId':_0x480c24[_0x5c2c35(0x2f1)],'name':_0x24edc7[_0x5c2c35(0x350)][_0x5c2c35(0x255)],'unitId':_0x480c24[_0x5c2c35(0x27a)],'updateShared':_0x1623c6,'values':_0x131fd7['values']})){_0x2416bf(_0x59e778['t']('boards-chart-ui.dataEditor.updateFailed'));return;}_0x2416bf(null),(_0x498d83=_0x480c24[_0x5c2c35(0x190)])==null||_0x498d83[_0x5c2c35(0x202)](_0x480c24);};return _0x5b5190(_0x3c854b(0x34d),{'className':_0x3c854b(0x285),'children':[_0x4c0ab2(_0x450ca6,{'mode':_0x1b9afd,'initialSource':_0x191f31(_0x24edc7[_0x3c854b(0x350)])?_0x24edc7[_0x3c854b(0x350)][_0x3c854b(0x141)]:void 0x0,'inlineContent':_0x4c0ab2(_0x34964e,{'values':_0x5c816d,'parsePastedText':_0x1e6e18,'onChange':_0x434953}),'onModeChange':_0x202201=>{_0x12c69b(_0x202201),_0x1904b1(null);},'onPreviewChange':(_0x71f4fe,_0x773d08)=>_0x1904b1(_0x71f4fe&&_0x773d08['status']===_0x2b2838['READY']?{'source':_0x71f4fe}:null)}),_0x3baecd&&_0x4c0ab2('div',{'className':_0x3c854b(0x2ba),'children':_0x3baecd}),_0x5b5190('div',{'className':_0x3c854b(0x25a),'children':[_0x480c24[_0x3c854b(0x190)]&&_0x4c0ab2(_0x413d0f,{'type':_0x3c854b(0x21b),'variant':_0x3c854b(0x1a8),'onClick':_0x480c24[_0x3c854b(0x190)],'children':_0x59e778['t']('boards-chart-ui.common.cancel')}),_0x4c0ab2(_0x413d0f,{'type':_0x3c854b(0x21b),'variant':'primary','disabled':_0x1b9afd===_0x3c854b(0x294)&&!_0x50c5e2,'onClick':()=>_0x8a27c7(!0x0),'children':_0x59e778['t'](_0x3c854b(0x33f))})]})]});}const ar={'id':_0x420134(0x339),'type':_0x3d6f82['OPERATION'],'handler':(_0x3fe2b2,_0x35ba63)=>{const _0x52936d=_0x420134;if(!_0x35ba63||!_0x3fe2b2[_0x52936d(0x239)](G)[_0x52936d(0x144)](_0x35ba63['unitId'],_0x35ba63[_0x52936d(0x2f1)])||!_0x3fe2b2[_0x52936d(0x239)](_0x1af51d)[_0x52936d(0x239)](_0x52936d(0x2ca)))return!0x1;let _0x32fe5d=_0x3fe2b2[_0x52936d(0x239)](_0x223c84),_0x33d508=_0x3fe2b2[_0x52936d(0x239)](_0x9e1c11),_0x52c759=null,_0x139068=()=>{const _0xaf1eb0=_0x52936d;_0x52c759==null||_0x52c759[_0xaf1eb0(0x1e5)](),_0x52c759=null;};return _0x52c759=_0x32fe5d[_0x52936d(0x279)]({'id':'board-chart.dialog.data-editor','title':{'title':_0x33d508['t'](_0x52936d(0x2d2))},'width':_0x52936d(0x25f),'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':rr,'props':{..._0x35ba63,'onClose':_0x139068}}},'onClose':_0x139068}),!0x0;}},or='board-chart.edit-panel',K={'axis':{..._0x55330d,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':_0x56644b,'lineAndArea':_0x475e1f,'pareto':_0x523a9d,'funnel':_0x18ae83,'heatmap':_0x5685b8,'indicatorLine':_0x39bc3c,'pie':{..._0x292158,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x132015,'useValueAsSymbolSize':!0x0},'radar':_0x33566e,'series':{..._0x15e876,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x420a41,'titles':_0x1b2173,'trendline':_0x4ef68a,'waterfall':{..._0x3ba343,'useSubtotal':!0x1},'waterfallStyle':_0x2929dc,'wordCloud':_0xe8319e},sr=[_0x1f8f85[_0x420134(0x2a2)],_0x1f8f85[_0x420134(0x25c)],_0x1f8f85[_0x420134(0x14b)],_0x1f8f85[_0x420134(0x25b)],_0x1f8f85[_0x420134(0x2ec)],_0x1f8f85['Sankey'],_0x1f8f85[_0x420134(0x154)],_0x1f8f85[_0x420134(0x183)],_0x1f8f85[_0x420134(0x307)],_0x1f8f85['Histogram'],_0x1f8f85[_0x420134(0x1d6)],_0x1f8f85[_0x420134(0x168)],_0x1f8f85[_0x420134(0x33b)],_0x1f8f85[_0x420134(0x33d)]];function cr(_0x3fef12){const _0x1dccf9=_0x420134;let _0x51d35b=_0x30d157(_0x9e1c11);return _0x5b5190('div',{'children':[_0x4c0ab2(_0x3c486f,{'title':_0x51d35b['t']('boards-chart-ui.common.data')}),_0x4c0ab2(_0x413d0f,{'type':_0x1dccf9(0x21b),'variant':_0x1dccf9(0x1a8),'className':_0x1dccf9(0x34c),'onClick':_0x3fef12[_0x1dccf9(0x293)],'children':_0x51d35b['t'](_0x1dccf9(0x2d2))})]});}function lr(){const _0x13a9ea=_0x420134;let _0x37f664=_0xf3075c();return _0x4c0ab2(_0x4b623f,{'visible':sr[_0x13a9ea(0x322)](_0xfd1de8=>!_0x57039c['baseOn'](_0x37f664,_0xfd1de8))});}function ur(_0x46f9ac){const _0x526817=_0x420134;return _0x5b5190(_0x1c4444,{'id':_0x46f9ac['id'],'children':[_0x4c0ab2(_0x16cc65,{'children':_0x46f9ac[_0x526817(0x1c6)]}),_0x4c0ab2(_0x3be325,{'children':_0x46f9ac[_0x526817(0x251)]})]});}function dr(_0x1bff27,_0x511105){const _0x28166c=_0x420134;let _0x100322=_0x1bff27===_0x1f8f85[_0x28166c(0x14b)],_0x290c3c=_0x57039c['baseOn'](_0x1bff27,_0x1f8f85['Bubble']),_0x1e842e=_0x1bff27===_0x1f8f85[_0x28166c(0x151)],_0x28bd5d=_0x1bff27===_0x1f8f85[_0x28166c(0x2ec)],_0x3a9dbd=_0x1bff27===_0x1f8f85[_0x28166c(0x154)],_0x4a6bb1=_0x57039c[_0x28166c(0x2d4)](_0x1bff27,_0x1f8f85['Pie']),_0x3ad990=_0x1bff27===_0x1f8f85[_0x28166c(0x25c)],_0x22cfcf=_0x1bff27===_0x1f8f85[_0x28166c(0x20f)],_0x5eacf3=_0x1bff27===_0x1f8f85[_0x28166c(0x16b)],_0xc86b1b=_0x1bff27===_0x1f8f85[_0x28166c(0x307)],_0x6e2ebd=_0x1bff27===_0x1f8f85['Histogram'],_0x4ff1bb=_0x1bff27===_0x1f8f85[_0x28166c(0x1d6)],_0xbf366c=_0x1bff27===_0x1f8f85['Sunburst'],_0x307438=_0x1bff27===_0x1f8f85[_0x28166c(0x33b)],_0x43df5b=_0x1bff27===_0x1f8f85[_0x28166c(0x33d)],_0x3c9395=[_0x4c33db[_0x28166c(0x15a)],_0x4c33db[_0x28166c(0x173)]];return _0x100322&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x14b)]),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x32c)])&&!_0x290c3c&&!_0x5eacf3&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Series']),_0x22cfcf&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x272)]),_0x5eacf3&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x245)],_0x4c33db[_0x28166c(0x15c)]),_0x4a6bb1&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x15f)]),_0x3ad990&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x25c)]),_0x1e842e&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x151)]),_0x3a9dbd&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x154)]),_0x28bd5d&&_0x3c9395['push'](_0x4c33db['Relation']),_0x34ddfc(_0x1bff27)&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x31b)]),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x1f0)])&&_0x3c9395['push'](_0x4c33db['Legend']),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x344)])&&(_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2e4)],_0x4c33db[_0x28166c(0x1fe)]),_0x511105&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x329)]),_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x227)])),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x2b3)])&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2b3)]),_0x3bcf6e(_0x1bff27)&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2e0)]),_0xc86b1b&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Candlestick']),_0x6e2ebd&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x169)]),_0x4ff1bb&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x1d6)]),_0xbf366c&&_0x3c9395['push'](_0x4c33db['Sunburst']),_0x307438&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x33b)]),_0x43df5b&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Chord']),_0x3c9395;}function fr(_0x179b97){const _0x3f708a=_0x420134;var _0xc0dc55,_0x5aec46,_0x562415;let _0x2a8c7e=_0x30d157(_0x9e1c11),_0x2740ff=_0xf3075c(),_0x3118ba=_0x32edde(),[_0x227105,_0x19584c]=_0x52cd5f(null),_0x44ae9c=dr(_0x2740ff,_0x3118ba),_0x19deec=_0x4c0ab2(_0x1f5610,{}),_0x1f668a={[_0x4c33db[_0x3f708a(0x307)]]:_0x2a8c7e['t']('boards-chart-ui.section.candlestick'),[_0x4c33db[_0x3f708a(0x173)]]:_0x2a8c7e['t'](_0x3f708a(0x29f)),[_0x4c33db[_0x3f708a(0x15a)]]:_0x2a8c7e['t'](_0x3f708a(0x26e)),[_0x4c33db[_0x3f708a(0x33d)]]:_0x2a8c7e['t'](_0x3f708a(0x209)),[_0x4c33db[_0x3f708a(0x151)]]:_0x2a8c7e['t'](_0x3f708a(0x1f4)),[_0x4c33db[_0x3f708a(0x33b)]]:_0x2a8c7e['t'](_0x3f708a(0x23e)),[_0x4c33db['GridlinesAndTicks']]:_0x2a8c7e['t'](_0x3f708a(0x19d)),[_0x4c33db[_0x3f708a(0x154)]]:_0x2a8c7e['t'](_0x3f708a(0x26f)),[_0x4c33db[_0x3f708a(0x169)]]:_0x2a8c7e['t'](_0x3f708a(0x31a)),[_0x4c33db['HorizontalAxis']]:_0x2a8c7e['t'](_0x3f708a(0x1ed)),[_0x4c33db[_0x3f708a(0x2b3)]]:_0x2a8c7e['t']('boards-chart-ui.section.indicatorLine'),[_0x4c33db[_0x3f708a(0x1f0)]]:_0x2a8c7e['t'](_0x3f708a(0x35c)),[_0x4c33db['LineAndArea']]:_0x2a8c7e['t'](_0x3f708a(0x189)),[_0x4c33db[_0x3f708a(0x245)]]:_0x2a8c7e['t'](_0x3f708a(0x303)),[_0x4c33db[_0x3f708a(0x15c)]]:_0x2a8c7e['t']('boards-chart-ui.section.paretoLine'),[_0x4c33db[_0x3f708a(0x15f)]]:_0x2a8c7e['t'](_0x3f708a(0x327)),[_0x4c33db[_0x3f708a(0x25c)]]:_0x2a8c7e['t']('boards-chart-ui.section.radar'),[_0x4c33db[_0x3f708a(0x2ec)]]:_0x2a8c7e['t'](_0x3f708a(0x2f7)),[_0x4c33db[_0x3f708a(0x329)]]:_0x2a8c7e['t']('boards-chart-ui.common.rightVerticalAxis'),[_0x4c33db[_0x3f708a(0x1f9)]]:_0x2a8c7e['t'](_0x3f708a(0x313)),[_0x4c33db[_0x3f708a(0x168)]]:_0x2a8c7e['t']('boards-chart-ui.section.sunburst'),[_0x4c33db[_0x3f708a(0x1d6)]]:_0x2a8c7e['t'](_0x3f708a(0x2a9)),[_0x4c33db[_0x3f708a(0x2e0)]]:_0x2a8c7e['t'](_0x3f708a(0x261)),[_0x4c33db[_0x3f708a(0x1fe)]]:_0x2a8c7e['t'](_0x3f708a(0x348)),[_0x4c33db[_0x3f708a(0x272)]]:_0x2a8c7e['t'](_0x3f708a(0x2c0)),[_0x4c33db['WordCloud']]:_0x2a8c7e['t'](_0x3f708a(0x1f5))};_0xe8772c(()=>{const _0x177091=_0x3f708a;var _0x191bb8;(_0x191bb8=_0x179b97[_0x177091(0x2af)])!=null&&_0x191bb8[_0x177091(0x2fc)]&&_0x19584c(_0x179b97[_0x177091(0x2af)][_0x177091(0x2fc)]);},[_0x179b97[_0x3f708a(0x2af)]]);let _0x21c454={[_0x4c33db[_0x3f708a(0x15a)]]:_0x4c0ab2(_0x243fc2,{'defaultValues':K[_0x3f708a(0x2c6)],'showBodyFont':!0x0}),[_0x4c33db[_0x3f708a(0x173)]]:_0x4c0ab2(_0x55db44,{'commitMode':_0x3f708a(0x1f8),'defaultValues':K['titles'],'selectedTitleKey':(_0xc0dc55=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0xc0dc55[_0x3f708a(0x140)]}),[_0x4c33db[_0x3f708a(0x1f9)]]:_0x5b5190(_0x1298fb,{'defaultValues':K['series'],'NumberFormatField':_0x3b55de,'selectedSeriesId':(_0x5aec46=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0x5aec46[_0x3f708a(0x24f)],'children':[_0x4c0ab2(_0x58fc41,{}),_0x4c0ab2(_0x44ffa0,{'individualOnly':!0x0}),_0x4c0ab2(_0x31bfcd,{}),_0x4c0ab2(_0x1e885e,{}),_0x4c0ab2(_0x1521ac,{}),_0x4c0ab2(_0x9473e9,{}),_0x4c0ab2(_0x491b26,{}),_0x4c0ab2(_0x14fec3,{})]}),[_0x4c33db[_0x3f708a(0x272)]]:_0x4c0ab2(_0xc5b822,{'defaultValues':K['waterfallStyle'],'NumberFormatField':_0x3b55de,'selectedSeriesId':(_0x562415=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0x562415[_0x3f708a(0x24f)],'showBucketName':()=>!0x0}),[_0x4c33db['ParetoBarSeries']]:_0x4c0ab2(_0x34ddb7,{'defaultValues':K[_0x3f708a(0x1ef)],'NumberFormatField':_0x3b55de,'showDataPointEditor':!0x0,'target':_0x3f708a(0x2b5)}),[_0x4c33db['ParetoLineSeries']]:_0x4c0ab2(_0x34ddb7,{'defaultValues':K[_0x3f708a(0x1ef)],'NumberFormatField':_0x3b55de,'showDataPointEditor':!0x0,'target':_0x3f708a(0x14a)}),[_0x4c33db[_0x3f708a(0x15f)]]:_0x4c0ab2(_0x3b6e06,{'defaultValues':K[_0x3f708a(0x198)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x14b)]]:_0x5b5190(_0x347c60,{'children':[_0x4c0ab2(_0x54123c,{'defaultValues':K['wordCloud']}),_0x4c0ab2(_0x364feb,{}),_0x4c0ab2(_0x2d7381,{'defaultValues':K[_0x3f708a(0x1cc)]})]}),[_0x4c33db[_0x3f708a(0x25c)]]:_0x4c0ab2(_0x2c7bb8,{'defaultValues':K['radar']}),[_0x4c33db[_0x3f708a(0x151)]]:_0x4c0ab2(_0x245efb,{'defaultValues':K['funnel'],'gapControl':'number'}),[_0x4c33db[_0x3f708a(0x154)]]:_0x4c0ab2(_0x43dcb2,{'defaultValues':K[_0x3f708a(0x26d)]}),[_0x4c33db['Relation']]:_0x4c0ab2(_0x1efc18,{'defaultValues':K['relation']}),[_0x4c33db[_0x3f708a(0x31b)]]:_0x4c0ab2(_0x4a1c62,{'defaultValues':K[_0x3f708a(0x318)],'lineStyleControl':_0x3f708a(0x284)}),[_0x4c33db[_0x3f708a(0x1f0)]]:_0x4c0ab2(_0xcb1ed,{'defaultValues':K[_0x3f708a(0x1fd)]}),[_0x4c33db[_0x3f708a(0x2e4)]]:_0x4c0ab2(_0x3bce50,{'axis':'x','defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x1fe)]]:_0x4c0ab2(_0x3bce50,{'axis':'y','defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x329)]]:_0x4c0ab2(_0x3bce50,{'axis':_0x3f708a(0x34e),'defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x227)]]:_0x4c0ab2(_0x38be78,{'defaultValues':K['axis']}),[_0x4c33db[_0x3f708a(0x2b3)]]:_0x4c0ab2(_0x2ec339,{'defaultValues':K[_0x3f708a(0x2dd)]}),[_0x4c33db[_0x3f708a(0x2e0)]]:_0x4c0ab2(_0x331351,{'defaultValues':K['trendline']}),[_0x4c33db['Candlestick']]:_0x19deec,[_0x4c33db['Histogram']]:_0x19deec,[_0x4c33db['Treemap']]:_0x19deec,[_0x4c33db['Sunburst']]:_0x19deec,[_0x4c33db['Gauge']]:_0x19deec,[_0x4c33db[_0x3f708a(0x33d)]]:_0x19deec};return _0x4c0ab2(_0x533994,{'value':_0x227105,'onChange':_0x19584c,'children':_0x44ae9c[_0x3f708a(0x21c)](_0xbb7021=>_0x4c0ab2(ur,{'id':_0xbb7021,'label':_0x1f668a[_0xbb7021],'children':_0x21c454[_0xbb7021]},_0xbb7021))});}function pr({unitId:_0x1f3763,subUnitId:_0x48df5a,elementId:_0x2de088,chartId:_0x4726f4}){const _0x5469b1=_0x420134;let _0x15c5a6=_0x30d157(_0x19fb9a),_0x22bb37=_0x30d157(U),_0x151ac4=_0x30d157(_0x9e1c11),_0x1bb29c=_0x30d157(_0x1fe324),_0xf249b7=_0x30d157(_0xd63000),_0x588159=_0x30d157(_0xd96f74),_0x2031b5=_0x30d157(H),_0x34aebc=_0x265074(_0x15c5a6['activeRuntimeModel$'],_0x15c5a6[_0x5469b1(0x163)]),_0x1080ef=_0x265074(_0x2031b5['activeSession$'],_0x2031b5['getActiveSession']()),[_0x2680f2,_0x445c4e]=_0x52cd5f(_0x2d4b13[_0x5469b1(0x311)]),_0x310eae=(_0x1080ef==null?void 0x0:_0x1080ef[_0x5469b1(0x27a)])===_0x1f3763&&_0x1080ef[_0x5469b1(0x2f1)]===_0x4726f4&&_0x1080ef[_0x5469b1(0x248)]===_0x2de088?_0x1080ef['route']:void 0x0;_0xe8772c(()=>{const _0x4ff9cf=_0x5469b1;_0x15c5a6[_0x4ff9cf(0x263)](_0x1f3763,_0x4726f4);},[_0x4726f4,_0x15c5a6,_0x1f3763]),_0xe8772c(()=>{const _0x40948c=_0x5469b1;_0x310eae!=null&&_0x310eae[_0x40948c(0x14e)]&&_0x445c4e(_0x310eae[_0x40948c(0x14e)]);},[_0x310eae]);let _0x12e347=(_0x34aebc==null?void 0x0:_0x34aebc['unitId'])===_0x1f3763&&_0x34aebc[_0x5469b1(0x2f1)]===_0x4726f4,_0x5dcc66=_0x3b7d38(()=>{const _0x390475=_0x5469b1;if(!_0x12e347)return null;let _0x10b846=_0x588159[_0x390475(0x288)](_0x1f3763,_0x707cea[_0x390475(0x2e7)]);return _0x10b846?new _0x1cfdd3(_0x34aebc[_0x390475(0x271)],new _0x4f64a2({'unitId':_0x1f3763,'pageId':_0x48df5a,'chartId':_0x4726f4,'elementId':_0x2de088,'boardModel':_0x10b846,'injector':_0xf249b7})):null;},[_0x34aebc,_0x4726f4,_0x2de088,_0xf249b7,_0x12e347,_0x48df5a,_0x1f3763,_0x588159]),_0x103dde=_0x3b7d38(()=>_0x5e7700(_0x41a22e['map'](_0x4f6b1c=>({..._0x4f6b1c,'label':_0x151ac4['t'](_0x5469b1(0x262)+_0x4f6b1c[_0x5469b1(0x1a5)])}))),[_0x151ac4]);return!_0x12e347||!_0x5dcc66?null:_0x4c0ab2(_0x38d517,{'chartUIService':_0x22bb37,'hostAdapter':_0x5dcc66,'children':_0x5b5190('div',{'className':_0x5469b1(0x323),'children':[_0x4c0ab2(_0x3f4560,{'ariaLabel':_0x151ac4['t'](_0x5469b1(0x205)),'className':'univer-shrink-0\x20univer-px-3','items':[{'label':_0x151ac4['t'](_0x5469b1(0x2dc)),'panelId':mr,'value':_0x2d4b13[_0x5469b1(0x311)]},{'label':_0x151ac4['t'](_0x5469b1(0x219)),'panelId':hr,'value':_0x2d4b13['Style']}],'value':_0x2680f2,'onChange':_0x445c4e}),_0x2680f2===_0x2d4b13[_0x5469b1(0x311)]?_0x4c0ab2(_0x1e07c3,{'id':mr,'label':_0x151ac4['t'](_0x5469b1(0x2dc)),'children':_0x5b5190('div',{'className':_0x5469b1(0x33e),'children':[_0x4c0ab2(_0xb03ed8,{'options':_0x103dde}),_0x4c0ab2(_0x5cba48,{}),_0x4c0ab2(_0x6ad40f,{}),_0x4c0ab2(lr,{}),_0x4c0ab2(_0x4cb525,{}),_0x4c0ab2(cr,{'onEditData':()=>_0x1bb29c[_0x5469b1(0x29c)](ar['id'],{'unitId':_0x1f3763,'chartId':_0x4726f4})}),_0x4c0ab2(_0x4f7120,{'orientationControl':_0x4c0ab2(_0x413d0f,{'size':'small','onClick':()=>_0x22bb37[_0x5469b1(0x16d)]({'patch':{'context':{'orient':_0x34aebc[_0x5469b1(0x141)][_0x5469b1(0x1a1)]?_0x5469b1(0x300):_0x5469b1(0x1bb)}}}),'children':_0x151ac4['t'](_0x5469b1(0x2fd))})}),_0x4c0ab2(_0x12a344,{}),_0x4c0ab2(_0x1df86c,{'defaultValues':K[_0x5469b1(0x1bf)]})]})}):_0x4c0ab2(_0x1e07c3,{'id':hr,'label':_0x151ac4['t']('boards-chart-ui.common.customize'),'children':_0x4c0ab2(fr,{'route':_0x310eae})})]})});}const mr=_0x420134(0x2be),hr=_0x420134(0x2bf),gr=_0x40ee15,_r=_0x24da85;function vr(_0x26dc89){const _0x16a93e=_0x420134;var _0x38a48d,_0x197c8d;let _0x2a1d5f=_0x26dc89[_0x16a93e(0x1da)]??{},_0x36b99f=_0x2a1d5f['borderWidth']===0x0?0x0:xr(_0x2a1d5f[_0x16a93e(0x1ca)],xr((_0x38a48d=_0x26dc89['chartElement'])==null||(_0x38a48d=_0x38a48d['stroke'])==null?void 0x0:_0x38a48d[_0x16a93e(0x22a)],0x1));return{'fill':_0x26dc89[_0x16a93e(0x33c)]??_0x2a1d5f[_0x16a93e(0x145)]??_0x5723a7[_0x16a93e(0x145)],'stroke':_0x2a1d5f[_0x16a93e(0x343)]??((_0x197c8d=_0x26dc89[_0x16a93e(0x23c)])==null||(_0x197c8d=_0x197c8d[_0x16a93e(0x28c)])==null?void 0x0:_0x197c8d[_0x16a93e(0x31c)])??_0x26dc89['themeBorderColor']??(_0x26dc89[_0x16a93e(0x2a0)]?_0x16a93e(0x269):gr),'strokeWidth':_0x36b99f,'radius':_r};}function yr(_0x3371c6,_0x181443){const _0x18e509=_0x420134;let _0x293a81=Math[_0x18e509(0x331)](0x0,_0x181443[_0x18e509(0x1b9)]);return{'left':_0x293a81,'top':_0x293a81,'width':Math[_0x18e509(0x331)](0x1,_0x3371c6[_0x18e509(0x22a)]-_0x293a81*0x2),'height':Math[_0x18e509(0x331)](0x1,_0x3371c6[_0x18e509(0x233)]-_0x293a81*0x2)};}function br(_0x4380c9,_0x5806f1){const _0x595aa9=_0x420134;let _0x20c69b=-0x1/0x2;return{'left':_0x20c69b,'top':_0x20c69b,'width':Math[_0x595aa9(0x331)](0x1,_0x4380c9['width']),'height':Math['max'](0x1,_0x4380c9[_0x595aa9(0x233)]),'radius':Math['max'](0x0,_0x5806f1['radius']-_0x5806f1[_0x595aa9(0x1b9)]/0x2)};}function xr(_0x219056,_0x2cfc63){const _0x3e583f=_0x420134;return typeof _0x219056==_0x3e583f(0x1b3)&&Number[_0x3e583f(0x315)](_0x219056)&&_0x219056>0x0?_0x219056:_0x2cfc63;}function Sr(_0x343d88){const _0x13752d=_0x420134;var _0x18166b;let _0x3d86e3=(_0x18166b=_0x343d88[_0x13752d(0x357)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x18166b[0x1];if(_0x3d86e3){let _0x2c626e=_0x3d86e3['length']===0x3?_0x3d86e3[_0x13752d(0x333)]('')[_0x13752d(0x21c)](_0x3a41b6=>''+_0x3a41b6+_0x3a41b6)[_0x13752d(0x16f)](''):_0x3d86e3;return _0x13752d(0x310)+Number['parseInt'](_0x2c626e['slice'](0x0,0x2),0x10)+',\x20'+Number[_0x13752d(0x1f3)](_0x2c626e['slice'](0x2,0x4),0x10)+',\x20'+Number['parseInt'](_0x2c626e[_0x13752d(0x2cb)](0x4,0x6),0x10)+')';}let _0x1a9a5c=document['createElement']('span');return _0x1a9a5c[_0x13752d(0x2c6)]['color']=_0x343d88,_0x1a9a5c[_0x13752d(0x2c6)][_0x13752d(0x31c)]||_0x343d88;}let q=class extends _0x37367c{constructor(_0x34f16a,_0x4206a5,_0x1320f1){const _0x1531a9=_0x420134;super(),this[_0x1531a9(0x1b6)]=_0x34f16a,this[_0x1531a9(0x27f)]=_0x4206a5,this[_0x1531a9(0x1b5)]=_0x1320f1,z(this,'_chartInstanceMap',new Map()),z(this,'_chartElementEditMode',new Map()),z(this,'_chartEventHandlers',new Map()),z(this,_0x1531a9(0x341),new Map());}['createChartInstance'](_0x59aac8){const _0x42b7ea=_0x420134;return _0x59aac8?this[_0x42b7ea(0x1b5)][_0x42b7ea(0x238)](_0x59aac8,this[_0x42b7ea(0x306)]()):this[_0x42b7ea(0x1b5)][_0x42b7ea(0x238)]();}['registerChartInstance'](_0x10f6f1,_0x4161ae,_0x34887f){const _0x2162aa=_0x420134;let _0x56ff99=this['_getChartRuntimeKey'](_0x10f6f1,_0x4161ae),_0x2ea9bc=this[_0x2162aa(0x155)]['get'](_0x56ff99);return _0x2ea9bc&&_0x2ea9bc!==_0x34887f&&(this[_0x2162aa(0x21e)](_0x56ff99),_0x2ea9bc[_0x2162aa(0x1e5)]()),this['_chartInstanceMap']['set'](_0x56ff99,_0x34887f),_0x34887f[_0x2162aa(0x201)](this[_0x2162aa(0x338)]['get'](_0x56ff99)===!0x0),this[_0x2162aa(0x18e)](_0x56ff99,_0x34887f),{'dispose':()=>{const _0x17dbe1=_0x2162aa;this[_0x17dbe1(0x155)][_0x17dbe1(0x239)](_0x56ff99)===_0x34887f&&(this[_0x17dbe1(0x21e)](_0x56ff99),this[_0x17dbe1(0x155)][_0x17dbe1(0x2ff)](_0x56ff99));}};}[_0x420134(0x201)](_0x16454e,_0x1657db,_0x5e3ab3){const _0x12c0f9=_0x420134;var _0x2f5282;let _0x466926=this[_0x12c0f9(0x277)](_0x16454e,_0x1657db);_0x5e3ab3?this[_0x12c0f9(0x338)][_0x12c0f9(0x1bd)](_0x466926,!0x0):this[_0x12c0f9(0x338)][_0x12c0f9(0x2ff)](_0x466926),(_0x2f5282=this['_chartInstanceMap'][_0x12c0f9(0x239)](_0x466926))==null||_0x2f5282['setElementEditMode'](_0x5e3ab3);}['isElementEditModeActive'](_0x43990f,_0x5980a0){const _0x77cf23=_0x420134;return this['_chartElementEditMode'][_0x77cf23(0x239)](this[_0x77cf23(0x277)](_0x43990f,_0x5980a0))===!0x0;}['on'](_0x3df1d2,_0x2fad73,_0x15dde0,_0x1a8fdc){const _0x44a48c=_0x420134;let _0x1ad055=this[_0x44a48c(0x277)](_0x3df1d2,_0x2fad73),_0x5a39a1=this[_0x44a48c(0x30d)][_0x44a48c(0x239)](_0x1ad055);_0x5a39a1||(_0x5a39a1=new Map(),this[_0x44a48c(0x30d)][_0x44a48c(0x1bd)](_0x1ad055,_0x5a39a1));let _0xe1e498=_0x5a39a1[_0x44a48c(0x239)](_0x15dde0);_0xe1e498||(_0xe1e498=new Set(),_0x5a39a1['set'](_0x15dde0,_0xe1e498)),_0xe1e498['add'](_0x1a8fdc);let _0x9f74ee=this[_0x44a48c(0x155)][_0x44a48c(0x239)](_0x1ad055);return _0x9f74ee&&this[_0x44a48c(0x2a8)](_0x1ad055,_0x9f74ee,_0x15dde0,_0x1a8fdc),{'dispose':()=>{const _0x2c51e3=_0x44a48c;let _0x2381a7=this['_chartEventHandlers']['get'](_0x1ad055),_0x20cdb6=_0x2381a7==null?void 0x0:_0x2381a7[_0x2c51e3(0x239)](_0x15dde0);_0x20cdb6==null||_0x20cdb6[_0x2c51e3(0x2ff)](_0x1a8fdc),(_0x20cdb6==null?void 0x0:_0x20cdb6[_0x2c51e3(0x213)])===0x0&&(_0x2381a7==null||_0x2381a7['delete'](_0x15dde0)),(_0x2381a7==null?void 0x0:_0x2381a7[_0x2c51e3(0x213)])===0x0&&this[_0x2c51e3(0x30d)][_0x2c51e3(0x2ff)](_0x1ad055),this['_disposeChartEventSubscription'](_0x1ad055,_0x15dde0,_0x1a8fdc);}};}[_0x420134(0x158)](_0x122908){const _0x33e94e=_0x420134;let _0x44ff46=_0x122908[_0x33e94e(0x271)][_0x33e94e(0x2f3)];if(!_0x44ff46)throw Error('Board\x20chart\x20'+_0x122908[_0x33e94e(0x2f1)]+_0x33e94e(0x20d));let _0x4d8de7=this['_localeService'][_0x33e94e(0x196)]();return{'chartConfig':_0x44ff46,'chartStyle':_0x328c21({..._0x122908[_0x33e94e(0x271)][_0x33e94e(0x2c6)],'runtime':_0x122908[_0x33e94e(0x271)]['getRuntimeContext'](_0x4d8de7),'direction':_0x4d8de7},_0x44ff46[_0x33e94e(0x304)])};}[_0x420134(0x234)](_0x13efa4,_0x90e6bd,_0x4c71f2){const _0x1f49f0=_0x420134;let {chartConfig:_0x94ab97,chartStyle:_0x5e7980}=this[_0x1f49f0(0x158)](_0x13efa4),_0x4089a5=this[_0x1f49f0(0x1b5)][_0x1f49f0(0x1b7)]();return{'spec':_0x4089a5['stylizeSpec'](_0x4089a5[_0x1f49f0(0x298)](_0x94ab97,_0x5e7980),{'chartConfig':_0x94ab97,'chartStyle':_0x5e7980,'chartInstance':_0x4c71f2},_0x90e6bd),'chartConfig':_0x94ab97,'chartStyle':_0x5e7980,'hostStyle':this[_0x1f49f0(0x260)](_0x5e7980)};}['getHostStyle'](_0x57f1b2){const _0x1541f5=_0x420134;return _0x225484({'style':_0x57f1b2,'getRenderColor':_0x1bb932=>this['_chartThemeService'][_0x1541f5(0x1e0)](_0x1bb932)});}[_0x420134(0x2ab)](_0xd7fe5b,_0x479ae6){const _0x19ead9=_0x420134;var _0x49739c;_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x2cc)]=(_0x49739c=_0x479ae6['border'])!=null&&_0x49739c[_0x19ead9(0x31c)]&&_0x479ae6[_0x19ead9(0x2cc)][_0x19ead9(0x22a)]?_0x479ae6['border']['width']+_0x19ead9(0x1cf)+Sr(_0x479ae6['border'][_0x19ead9(0x31c)]):'',_0xd7fe5b[_0x19ead9(0x2c6)]['backgroundColor']=Sr(_0x479ae6[_0x19ead9(0x1e1)]??_0x19ead9(0x258)),_0xd7fe5b['style'][_0x19ead9(0x181)]=_0x479ae6[_0x19ead9(0x167)]?_0x479ae6[_0x19ead9(0x167)]+'px':_r+'px',_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x30b)]='hidden',_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x1c0)]=_0x19ead9(0x31f);}[_0x420134(0x306)](){const _0x340dd7=_0x420134;return{'resolveHostStyle':({style:_0x1db57a})=>({'fill':this[_0x340dd7(0x260)](_0x1db57a)[_0x340dd7(0x1e1)]}),'resolveRenderBackgroundColor':({hostStyle:_0x2bd997})=>_0x2bd997[_0x340dd7(0x1e1)],'prepareSpec':({mode:_0x1c387f,spec:_0x6f12bb})=>_0x1c387f===_0x340dd7(0x2f8)?{..._0x6f12bb,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x6f12bb};}[_0x420134(0x18e)](_0x26d219,_0x459de0){const _0xdccbba=_0x420134;let _0x4b0f44=this[_0xdccbba(0x30d)][_0xdccbba(0x239)](_0x26d219);_0x4b0f44&&_0x4b0f44['forEach']((_0x4a5fcf,_0x487bef)=>{const _0x41ce27=_0xdccbba;_0x4a5fcf['forEach'](_0x4b8e20=>this[_0x41ce27(0x2a8)](_0x26d219,_0x459de0,_0x487bef,_0x4b8e20));});}[_0x420134(0x2a8)](_0xa503de,_0xc71692,_0x1f2019,_0x74bfc){const _0x1a841e=_0x420134;let _0x1292e5=this['_chartEventSubscriptions']['get'](_0xa503de);_0x1292e5||(_0x1292e5=new Map(),this[_0x1a841e(0x341)][_0x1a841e(0x1bd)](_0xa503de,_0x1292e5));let _0x180a00=_0x1292e5[_0x1a841e(0x239)](_0x1f2019);_0x180a00||(_0x180a00=new Map(),_0x1292e5['set'](_0x1f2019,_0x180a00)),!_0x180a00[_0x1a841e(0x165)](_0x74bfc)&&_0x180a00[_0x1a841e(0x1bd)](_0x74bfc,_0xc71692['on'](_0x1f2019,_0x74bfc));}['_disposeChartEventSubscription'](_0x376fca,_0x594e26,_0x4da838){const _0xf02f8d=_0x420134;var _0x4da1e2,_0x3f8dd4;let _0x503756=(_0x4da1e2=this['_chartEventSubscriptions'][_0xf02f8d(0x239)](_0x376fca))==null?void 0x0:_0x4da1e2[_0xf02f8d(0x239)](_0x594e26);_0x503756==null||(_0x3f8dd4=_0x503756['get'](_0x4da838))==null||_0x3f8dd4[_0xf02f8d(0x1e5)](),_0x503756==null||_0x503756['delete'](_0x4da838);}[_0x420134(0x21e)](_0xa047cf){const _0x27c33a=_0x420134;let _0x3dd3cc=this[_0x27c33a(0x341)][_0x27c33a(0x239)](_0xa047cf);_0x3dd3cc==null||_0x3dd3cc['forEach'](_0x10c899=>{const _0x44d7af=_0x27c33a;_0x10c899[_0x44d7af(0x1f1)](_0x1838cc=>_0x1838cc[_0x44d7af(0x1e5)]()),_0x10c899[_0x44d7af(0x2de)]();}),this[_0x27c33a(0x341)]['delete'](_0xa047cf);}[_0x420134(0x277)](_0xf05e8d,_0x5b4598){return _0xf05e8d+'::'+_0x5b4598;}['dispose'](){const _0x9e3c7f=_0x420134;this['_chartInstanceMap'][_0x9e3c7f(0x1f1)](_0x34ae9a=>_0x34ae9a[_0x9e3c7f(0x1e5)]()),this[_0x9e3c7f(0x155)][_0x9e3c7f(0x2de)](),this[_0x9e3c7f(0x338)][_0x9e3c7f(0x2de)](),this[_0x9e3c7f(0x30d)][_0x9e3c7f(0x2de)](),Array[_0x9e3c7f(0x2c8)](this[_0x9e3c7f(0x341)][_0x9e3c7f(0x2b6)]())[_0x9e3c7f(0x1f1)](_0x2c46c6=>this[_0x9e3c7f(0x21e)](_0x2c46c6)),super[_0x9e3c7f(0x1e5)]();}};q=V([B(0x0,_0x562f55(_0x9e1c11)),B(0x1,_0x562f55(_0x3c12b3)),B(0x2,_0x177a5a)],q);let Cr=class extends _0x37367c{constructor(_0x166c91,_0x3b51f3,_0x233d97,_0x576d22,_0x23720d,_0x49183d,_0x2dd9aa){const _0x120425=_0x420134;super(),this[_0x120425(0x31d)]=_0x166c91,this['_editSessionService']=_0x3b51f3,this[_0x120425(0x223)]=_0x233d97,this[_0x120425(0x19b)]=_0x576d22,this[_0x120425(0x2ed)]=_0x23720d,this[_0x120425(0x2df)]=_0x49183d,this[_0x120425(0x1b6)]=_0x2dd9aa,z(this,'_activePanelKey',null),z(this,_0x120425(0x23f),null),z(this,_0x120425(0x2c1),null),this[_0x120425(0x28f)](this[_0x120425(0x26c)][_0x120425(0x2bc)][_0x120425(0x297)](_0x36b9ed=>this[_0x120425(0x1fb)](_0x36b9ed)));}[_0x420134(0x1e5)](){const _0x421336=_0x420134;this[_0x421336(0x203)](),super['dispose']();}[_0x420134(0x1fb)](_0x40d9ce){const _0x428c91=_0x420134;var _0x325f03;if(!_0x40d9ce||_0x40d9ce[_0x428c91(0x27a)]!==this['_renderContext'][_0x428c91(0x27a)]){this[_0x428c91(0x203)]();return;}let _0x26dcc4=this['_modelService']['ensureChartModel'](_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce[_0x428c91(0x2f1)]);if(!_0x26dcc4){this[_0x428c91(0x203)]();return;}let _0x262fce=[or,_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce[_0x428c91(0x280)],_0x40d9ce['elementId']][_0x428c91(0x16f)](':');if(this[_0x428c91(0x240)]===_0x262fce){this[_0x428c91(0x19b)][_0x428c91(0x22b)](_0x26dcc4),this[_0x428c91(0x16a)](_0x40d9ce['unitId'],_0x40d9ce['chartId']);return;}(_0x325f03=this[_0x428c91(0x23f)])==null||_0x325f03['dispose'](),this[_0x428c91(0x19b)][_0x428c91(0x22b)](_0x26dcc4),this['_setActiveEditOverlay'](_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce['chartId']),this['_activePanelKey']=_0x262fce,this[_0x428c91(0x23f)]=this[_0x428c91(0x223)][_0x428c91(0x279)]({'id':or,'header':{'title':this[_0x428c91(0x1b6)]['t'](_0x428c91(0x205))},'width':0x184,'children':{'label':or,'unitId':_0x40d9ce[_0x428c91(0x27a)],'subUnitId':_0x40d9ce[_0x428c91(0x280)],'elementId':_0x40d9ce['elementId'],'chartId':_0x40d9ce[_0x428c91(0x2f1)]},'onClose':_0x1dca25=>{const _0xec29e0=_0x428c91;this['_activePanelKey']===_0x262fce&&(this[_0xec29e0(0x240)]=null,this[_0xec29e0(0x23f)]=null,this['_clearActiveEditOverlay'](),this[_0xec29e0(0x19b)]['setActiveChartRuntime'](null),_0x1dca25==='manual'&&this[_0xec29e0(0x26c)]['close'](_0xec29e0(0x152)));}});}[_0x420134(0x203)](){const _0x325b17=_0x420134;var _0x3bab25;if(!this[_0x325b17(0x240)]){this[_0x325b17(0x2e3)]();return;}(_0x3bab25=this[_0x325b17(0x23f)])==null||_0x3bab25['dispose'](),this[_0x325b17(0x23f)]=null,this[_0x325b17(0x240)]=null,this[_0x325b17(0x2e3)](),this[_0x325b17(0x19b)]['setActiveChartRuntime'](null);}[_0x420134(0x16a)](_0x2d5b11,_0x3539b1){const _0x56ac6c=_0x420134;let _0x13c4ed=this['_activeEditOverlay'];((_0x13c4ed==null?void 0x0:_0x13c4ed[_0x56ac6c(0x27a)])!==_0x2d5b11||_0x13c4ed['chartId']!==_0x3539b1)&&(this[_0x56ac6c(0x2e3)](),this[_0x56ac6c(0x2c1)]={'unitId':_0x2d5b11,'chartId':_0x3539b1},this[_0x56ac6c(0x2ed)][_0x56ac6c(0x201)](_0x2d5b11,_0x3539b1,!0x0));}[_0x420134(0x2e3)](){const _0xc42be6=_0x420134;let _0x270b62=this[_0xc42be6(0x2c1)];_0x270b62&&(this[_0xc42be6(0x2c1)]=null,this['_renderService'][_0xc42be6(0x201)](_0x270b62[_0xc42be6(0x27a)],_0x270b62[_0xc42be6(0x2f1)],!0x1));}};Cr=V([B(0x1,_0x562f55(H)),B(0x2,_0x562f55(_0x4c7560)),B(0x3,_0x562f55(_0x19fb9a)),B(0x4,_0x562f55(q)),B(0x5,U),B(0x6,_0x562f55(_0x9e1c11))],Cr);var wr=class extends _0x37367c{constructor(_0x4a6da8,_0xfd86c0,_0x20a3dd){const _0x11fc7c=_0x420134;super(),this[_0x11fc7c(0x2f1)]=_0x4a6da8,this[_0x11fc7c(0x156)]=_0xfd86c0,this['_applyHostStyle']=_0x20a3dd,z(this,_0x11fc7c(0x1cd),_0x155eff[_0x11fc7c(0x228)]);}[_0x420134(0x281)](){const _0x14ff25=_0x420134;return{'width':Math[_0x14ff25(0x331)](0x1,this[_0x14ff25(0x156)][_0x14ff25(0x276)]),'height':Math[_0x14ff25(0x331)](0x1,this[_0x14ff25(0x156)][_0x14ff25(0x290)])};}[_0x420134(0x24b)](_0x36fa0a){const _0x3b16f8=_0x420134;this[_0x3b16f8(0x274)](this[_0x3b16f8(0x156)],_0x36fa0a);}async[_0x420134(0x31e)](){return this['_host'];}[_0x420134(0x1b1)](){return!0x0;}[_0x420134(0x252)](){}['markReady'](){}[_0x420134(0x1ba)](){}};function Tr({chartElement:_0x16f34f,chartId:_0x34e73a,unitId:_0x364a95}){const _0x358180=_0x420134;let _0x5ba295=_0x5074cd(null),_0x4a7304=_0x30d157(_0x19fb9a),_0x4b255a=_0x30d157(q),_0x5a22f3=_0x30d157(_0x9e1c11);return _0xe8772c(()=>{const _0x1154bb=_0x1b7a;let _0x5e5db2=_0x5ba295['current'];if(!_0x5e5db2)return;let _0x4adc75=_0x4a7304[_0x1154bb(0x26b)](_0x364a95,_0x34e73a);if(!_0x4adc75)return;_0x4a7304[_0x1154bb(0x22b)](_0x4adc75);let _0xe030a5=new wr(_0x34e73a,_0x5e5db2,(_0x2a1d22,_0x251f7b)=>_0x4b255a[_0x1154bb(0x2ab)](_0x2a1d22,{'fill':_0x251f7b[_0x1154bb(0x1e1)]??_0x1154bb(0x258)})),_0x3f66b3=_0x4b255a[_0x1154bb(0x238)](_0x155eff['Dom']),_0x44f41b=_0x4b255a['registerChartInstance'](_0x364a95,_0x34e73a,_0x3f66b3);_0x3f66b3[_0x1154bb(0x2e1)](_0xe030a5);let _0x13b6b5=_0x3ed2cd([_0x4adc75[_0x1154bb(0x271)][_0x1154bb(0x328)],_0x4adc75[_0x1154bb(0x271)]['style$'],_0x5a22f3[_0x1154bb(0x2ac)]])[_0x1154bb(0x231)](_0x27dc02(([_0x515ee5])=>_0x515ee5!=null))[_0x1154bb(0x297)](()=>{const _0x4c126f=_0x1154bb;let {chartConfig:_0x4b7a9f,chartStyle:_0x5ec360}=_0x4b255a[_0x4c126f(0x158)](_0x4adc75);Er(_0x5e5db2,_0x16f34f,_0x5ec360,_0x4b255a),_0x3f66b3['render']({'chartId':_0x34e73a,'config':_0x4b7a9f,'style':_0x5ec360})[_0x4c126f(0x24a)](()=>{});});return()=>{const _0x12f7f6=_0x1154bb;var _0x3552b6;_0x13b6b5['unsubscribe'](),_0x44f41b[_0x12f7f6(0x1e5)](),_0x3f66b3[_0x12f7f6(0x1e5)](),_0xe030a5[_0x12f7f6(0x1e5)](),((_0x3552b6=_0x4a7304[_0x12f7f6(0x163)])==null?void 0x0:_0x3552b6[_0x12f7f6(0x27a)])===_0x364a95&&_0x4a7304['activeRuntimeModel'][_0x12f7f6(0x2f1)]===_0x34e73a&&_0x4a7304['setActiveChartRuntime'](null);};},[_0x16f34f,_0x34e73a,_0x5a22f3,_0x4a7304,_0x4b255a,_0x364a95]),_0x4c0ab2('div',{'className':_0x358180(0x22d),'data-board-chart-dom-renderer':_0x34e73a,'children':_0x4c0ab2(_0x358180(0x34d),{'ref':_0x5ba295,'data-board-chart-dom-content-host':_0x34e73a})});}function Er(_0x2a70e0,_0x1aefba,_0x251a9e,_0x2a29f2){const _0x508fee=_0x420134;let _0x867262=_0x2a29f2[_0x508fee(0x260)](_0x251a9e)[_0x508fee(0x1e1)],_0x5d5579=vr({'chartStyle':_0x251a9e,'chartElement':_0x1aefba,'hostFill':_0x867262}),_0x367a6e=Math[_0x508fee(0x331)](0x0,_0x5d5579[_0x508fee(0x1b9)]);_0x2a70e0['style'][_0x508fee(0x30e)]='absolute',_0x2a70e0['style']['left']=_0x367a6e+'px',_0x2a70e0['style'][_0x508fee(0x254)]=_0x367a6e+'px',_0x2a70e0[_0x508fee(0x2c6)]['right']=_0x367a6e+'px',_0x2a70e0[_0x508fee(0x2c6)][_0x508fee(0x267)]=_0x367a6e+'px',_0x2a70e0['style'][_0x508fee(0x145)]=_0x5d5579[_0x508fee(0x1e1)],_0x2a70e0['style'][_0x508fee(0x181)]=Math['max'](0x0,_0x5d5579['radius']-_0x367a6e)+'px',_0x2a70e0[_0x508fee(0x2c6)]['overflow']=_0x508fee(0x19f),_0x2a70e0['style'][_0x508fee(0x1c0)]=_0x508fee(0x31f);}const Dr=_0x4fae56('board-chart.snapshot-renderer'),Or=0x0;function kr(_0x401256){return{..._0x401256,'borderWidth':0x0};}var Ar=class{constructor(_0x2744fe){const _0x25d806=_0x420134;this[_0x25d806(0x2ed)]=_0x2744fe;}async['render'](_0x785990,_0x4e9a0d){const _0x5277db=_0x420134;if(typeof document>'u')throw TypeError('Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.');let _0x583422=new _0x965a83(_0x4e9a0d[_0x5277db(0x2f1)],{'width':_0x785990[_0x5277db(0x22a)],'height':_0x785990[_0x5277db(0x233)]}),_0x370174=this[_0x5277db(0x2ed)]['createChartInstance'](_0x155eff[_0x5277db(0x2eb)]);try{let {chartConfig:_0x10f966,chartStyle:_0x1e4c54}=this[_0x5277db(0x2ed)][_0x5277db(0x158)](_0x4e9a0d);_0x370174[_0x5277db(0x2e1)](_0x583422),await _0x370174[_0x5277db(0x246)]({'chartId':_0x4e9a0d[_0x5277db(0x2f1)],'config':_0x10f966,'style':kr(_0x1e4c54)});let _0x1ce984=_0x583422[_0x5277db(0x2b0)]();if(!_0x1ce984)throw Error(_0x5277db(0x170)+_0x4e9a0d['unitId']+'/'+_0x4e9a0d[_0x5277db(0x2f1)]);return _0x1ce984;}finally{_0x370174[_0x5277db(0x1e5)](),_0x583422[_0x5277db(0x1e5)]();}}};let J=class extends _0x2f0ffd{constructor(_0xc97590,_0x3ec5ba,_0x4a6200,_0x3e2296){super(_0xc97590,_0x3ec5ba,_0x3e2296??new Ar(_0x4a6200));}};J=V([B(0x0,_0x562f55(_0x9e1c11)),B(0x1,_0x562f55(_0x19fb9a)),B(0x2,_0x562f55(q)),B(0x3,_0x4d6e48(Dr))],J);let jr=class extends _0x37367c{constructor(_0x41e76c,_0x3dbe4c,_0x4603a8,_0xde9532,_0x1ab65f){const _0x3b8ca1=_0x420134;super(),this[_0x3b8ca1(0x31d)]=_0x41e76c,this[_0x3b8ca1(0x26c)]=_0x3dbe4c,this[_0x3b8ca1(0x347)]=_0x4603a8,this[_0x3b8ca1(0x358)]=_0xde9532,this[_0x3b8ca1(0x178)]=_0x1ab65f,z(this,'_activeLayerId',null),z(this,_0x3b8ca1(0x249),null),z(this,'_activeChart',null),this['disposeWithMe'](this[_0x3b8ca1(0x26c)][_0x3b8ca1(0x2bc)][_0x3b8ca1(0x297)](_0x3cda58=>this['_syncActiveChart'](_0x3cda58)));}[_0x420134(0x1e5)](){const _0x5dfba8=_0x420134;this[_0x5dfba8(0x264)](),super[_0x5dfba8(0x1e5)]();}[_0x420134(0x2d8)](_0x42b8be){const _0xea91ad=_0x420134;if(!_0x42b8be||_0x42b8be['unitId']!==this[_0xea91ad(0x31d)][_0xea91ad(0x27a)]){this[_0xea91ad(0x264)]();return;}let _0x81fa1a=this[_0xea91ad(0x347)][_0xea91ad(0x1e8)](_0x42b8be[_0xea91ad(0x27a)],_0x42b8be[_0xea91ad(0x280)]),_0x3ea33d=_0x81fa1a[_0x42b8be[_0xea91ad(0x248)]];if(!_0x3ea33d||_0x3ea33d[_0xea91ad(0x157)][_0xea91ad(0x304)]!==_0xbbe6aa[_0xea91ad(0x289)]||_0x3ea33d[_0xea91ad(0x157)][_0xea91ad(0x2f1)]!==_0x42b8be[_0xea91ad(0x2f1)]){this[_0xea91ad(0x264)]();return;}let _0x4a9d74=_0x1f3663(_0x81fa1a,_0x3ea33d['elementId']);if(!_0x4a9d74){this[_0xea91ad(0x264)]();return;}let _0xa3e032=_0x3ea33d[_0xea91ad(0x157)],_0x907f1e=_0xa3e032[_0xea91ad(0x2f1)],_0x59a97c=[_0xea91ad(0x28e),_0x42b8be['unitId'],_0x42b8be[_0xea91ad(0x280)],_0x3ea33d[_0xea91ad(0x248)]]['join'](':');if(this[_0xea91ad(0x2bb)]===_0x59a97c){this[_0xea91ad(0x316)]={'chartId':_0x907f1e,'unitId':_0x42b8be['unitId']},this[_0xea91ad(0x358)][_0xea91ad(0x17b)](_0x59a97c,{'rect':_0x4a9d74,'content':()=>_0x4c0ab2(Tr,{'chartId':_0x907f1e,'chartElement':_0xa3e032,'unitId':_0x42b8be[_0xea91ad(0x27a)]})});return;}this['_clearActiveLayer'](),this[_0xea91ad(0x2bb)]=_0x59a97c,this[_0xea91ad(0x316)]={'chartId':_0x907f1e,'unitId':_0x42b8be['unitId']},this[_0xea91ad(0x249)]=this['_domLayerService']['registerItem']({'id':_0x59a97c,'unitId':_0x42b8be[_0xea91ad(0x27a)],'subUnitId':_0x42b8be[_0xea91ad(0x280)],'elementId':_0x3ea33d[_0xea91ad(0x248)],'rect':_0x4a9d74,'interactive':!0x0,'zIndex':0x1,'content':()=>_0x4c0ab2(Tr,{'chartId':_0x907f1e,'chartElement':_0xa3e032,'unitId':_0x42b8be[_0xea91ad(0x27a)]})});}[_0x420134(0x264)](){const _0x1a7d28=_0x420134;var _0x5eee70;let _0x458f29=this[_0x1a7d28(0x316)];(_0x5eee70=this[_0x1a7d28(0x249)])==null||_0x5eee70[_0x1a7d28(0x1e5)](),this[_0x1a7d28(0x249)]=null,this[_0x1a7d28(0x2bb)]=null,this[_0x1a7d28(0x316)]=null,_0x458f29&&this[_0x1a7d28(0x178)][_0x1a7d28(0x2a4)](_0x458f29[_0x1a7d28(0x27a)],_0x458f29[_0x1a7d28(0x2f1)],{'waitForConfig':!0x0});}};jr=V([B(0x1,_0x562f55(H)),B(0x2,_0x3c3318),B(0x3,_0x562f55(_0x378753)),B(0x4,_0x562f55(J))],jr);let Y=class extends _0x37367c{constructor(_0x1b704c,_0x2c70d1,_0x5d1999,_0x5495f3){const _0x37bd31=_0x420134;super(),this[_0x37bd31(0x1b4)]=_0x1b704c,this['_snapshotService']=_0x2c70d1,this[_0x37bd31(0x286)]=_0x5d1999,this[_0x37bd31(0x19b)]=_0x5495f3,this['_listenChartResourceMutations']();}[_0x420134(0x266)](){const _0x17b11e=_0x420134;this['disposeWithMe'](this[_0x17b11e(0x1b4)][_0x17b11e(0x236)](_0x58abe1=>{const _0x248cf2=_0x17b11e;if(_0x58abe1['id']===_0x47addf['id']){var _0x2b2399;let _0x350972=_0x58abe1[_0x248cf2(0x30c)];_0x350972!=null&&_0x350972[_0x248cf2(0x27a)]&&(_0x2b2399=_0x350972[_0x248cf2(0x309)])!=null&&_0x2b2399['id']&&(this[_0x248cf2(0x256)](_0x350972)?this[_0x248cf2(0x178)][_0x248cf2(0x2a4)](_0x350972[_0x248cf2(0x27a)],_0x350972[_0x248cf2(0x309)]['id'],{'waitForConfig':!0x0}):this[_0x248cf2(0x178)][_0x248cf2(0x2a4)](_0x350972['unitId'],_0x350972['chart']['id']));return;}if(_0x58abe1['id']===_0x34a8cb['id']){var _0x369b5d;let _0x52a015=_0x58abe1[_0x248cf2(0x30c)];if(!(_0x52a015!=null&&_0x52a015[_0x248cf2(0x27a)])||!((_0x369b5d=_0x52a015[_0x248cf2(0x350)])!=null&&_0x369b5d['id']))return;this['_resourceService'][_0x248cf2(0x1ad)](_0x52a015['unitId'],_0x52a015[_0x248cf2(0x350)]['id'])[_0x248cf2(0x1f1)](_0xefab4a=>this[_0x248cf2(0x178)]['invalidateChart'](_0x52a015[_0x248cf2(0x27a)],_0xefab4a,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x302dc6){const _0x2afa4d=_0x420134;var _0xa8e4dc;let _0x5e351c=(_0xa8e4dc=this['_modelService'][_0x2afa4d(0x185)](_0x302dc6[_0x2afa4d(0x27a)],_0x302dc6[_0x2afa4d(0x309)]['id']))==null||(_0xa8e4dc=_0xa8e4dc[_0x2afa4d(0x271)][_0x2afa4d(0x2f3)])==null?void 0x0:_0xa8e4dc['type'];return _0x5e351c!=null&&_0x5e351c!==_0x302dc6['chart']['chartType'];}};Y=V([B(0x0,_0x1fe324),B(0x1,_0x562f55(J)),B(0x2,_0x562f55(_0x8c60)),B(0x3,_0x562f55(_0x19fb9a))],Y);var Mr='@univerjs-pro/boards-chart-ui',Nr=_0x420134(0x29a);const Pr={'scaleX':0x1,'scaleY':0x1};function Fr(_0x44351e){let _0x58369f=_0x44351e['nativeEvent'];return typeof MouseEvent<'u'&&_0x58369f instanceof MouseEvent?_0x58369f:void 0x0;}function Ir(_0xd567a3){const _0x41402d=_0x420134;let _0x5c9025=_0xd567a3[_0x41402d(0x32e)],_0x43a46f=_0x5c9025==null?void 0x0:_0x5c9025['target'];return typeof Element<'u'&&_0x43a46f instanceof Element?_0x43a46f:void 0x0;}function Lr(_0x213e56){const _0x590f6b=_0x420134;return _0x213e56['width']||_0x213e56[_0x590f6b(0x352)]-_0x213e56[_0x590f6b(0x2b8)];}function Rr(_0x3b5644){const _0x49e75f=_0x420134;return _0x3b5644[_0x49e75f(0x233)]||_0x3b5644[_0x49e75f(0x267)]-_0x3b5644[_0x49e75f(0x254)];}function zr(_0x466c78,_0x40fd6b){const _0x47f5b8=_0x420134;let _0x4d17ac=_0x466c78[_0x47f5b8(0x276)]||(typeof HTMLElement<'u'&&_0x466c78 instanceof HTMLElement?_0x466c78['offsetWidth']:0x0),_0x2be9d9=_0x466c78['clientHeight']||(typeof HTMLElement<'u'&&_0x466c78 instanceof HTMLElement?_0x466c78['offsetHeight']:0x0),_0xfc1c7f=Lr(_0x40fd6b),_0x34be0d=Rr(_0x40fd6b);return{'scaleX':_0x4d17ac>0x0&&_0xfc1c7f>0x0?_0xfc1c7f/_0x4d17ac:Pr[_0x47f5b8(0x1e3)],'scaleY':_0x2be9d9>0x0&&_0x34be0d>0x0?_0x34be0d/_0x2be9d9:Pr[_0x47f5b8(0x1c4)]};}function Br(_0x1de43c,_0x234e33,_0x46bfc8){const _0x43e7b8=_0x420134;return{'left':_0x1de43c[_0x43e7b8(0x2b8)]+_0x234e33[_0x43e7b8(0x2b8)]*_0x46bfc8[_0x43e7b8(0x1e3)],'right':_0x1de43c[_0x43e7b8(0x2b8)]+_0x234e33[_0x43e7b8(0x352)]*_0x46bfc8[_0x43e7b8(0x1e3)],'top':_0x1de43c[_0x43e7b8(0x254)]+_0x234e33[_0x43e7b8(0x254)]*_0x46bfc8[_0x43e7b8(0x1c4)],'bottom':_0x1de43c[_0x43e7b8(0x254)]+_0x234e33['bottom']*_0x46bfc8['scaleY']};}function Vr(_0x413595){const _0x586ae0=_0x420134;let _0x2b4f88=Ir(_0x413595),_0xd022a9=_0x413595[_0x586ae0(0x35b)]['bounds'];return _0x2b4f88&&_0xd022a9?()=>{let _0x11c1a3=_0x2b4f88['getBoundingClientRect']();return Br(_0x11c1a3,_0xd022a9,zr(_0x2b4f88,_0x11c1a3));}:()=>{const _0x240870=_0x586ae0;let _0x344f78=_0x2b4f88==null?void 0x0:_0x2b4f88[_0x240870(0x325)]();if(_0x2b4f88&&_0x344f78&&_0xd022a9)return Br(_0x344f78,_0xd022a9,zr(_0x2b4f88,_0x344f78));let _0x40ec44=Fr(_0x413595),_0x29f8b1=_0x2b4f88&&_0x344f78?zr(_0x2b4f88,_0x344f78):Pr,_0x2817cb=(_0x40ec44==null?void 0x0:_0x40ec44['clientX'])??(_0x344f78?_0x344f78[_0x240870(0x2b8)]+_0x413595['localPoint']['x']*_0x29f8b1[_0x240870(0x1e3)]:_0x413595['localPoint']['x']),_0x4aad3f=(_0x40ec44==null?void 0x0:_0x40ec44[_0x240870(0x1f6)])??(_0x344f78?_0x344f78[_0x240870(0x254)]+_0x413595['localPoint']['y']*_0x29f8b1[_0x240870(0x1c4)]:_0x413595[_0x240870(0x24c)]['y']);return{'left':_0x2817cb,'right':_0x2817cb+0x1,'top':_0x4aad3f,'bottom':_0x4aad3f+0x1};};}function Hr(_0xc29235){const _0x5c6941=_0x420134;return _0xc29235['right']<=_0xc29235['left']||_0xc29235['bottom']<=_0xc29235['top']?!0x1:typeof window>'u'||_0xc29235[_0x5c6941(0x352)]>0x0&&_0xc29235[_0x5c6941(0x267)]>0x0&&_0xc29235['left']<window[_0x5c6941(0x302)]&&_0xc29235[_0x5c6941(0x254)]<window[_0x5c6941(0x27e)];}function Ur(_0xfd4f50,_0x19eef6){const _0x30c3c7=_0x420134;let _0x2eb860=Vr(_0xfd4f50),_0x42510c=_0x2eb860(),_0x116921=new _0x126288(_0x42510c),_0x144aac=new _0x23bb89(),_0x4b008e=!0x1,_0x46de99=!0x1;return typeof window<'u'&&_0x144aac['add'](_0x4d3929(_0x33ab4a(window,_0x30c3c7(0x1d1),{'capture':!0x0}),_0x33ab4a(window,'resize'))[_0x30c3c7(0x231)](_0x29335a(0x10))['subscribe'](()=>{_0x46de99||_0x4b008e||(_0x46de99=!0x0,queueMicrotask(()=>{if(_0x46de99=!0x1,_0x4b008e)return;let _0x16279f=_0x2eb860();if(!Hr(_0x16279f)){_0x19eef6();return;}_0x116921['next'](_0x16279f);}));})),{'initialRect':_0x42510c,'anchorRect$':_0x116921[_0x30c3c7(0x334)](),'visible':Hr(_0x42510c),'dispose':()=>{const _0x3b3bb4=_0x30c3c7;_0x4b008e=!0x0,_0x144aac[_0x3b3bb4(0x1e5)](),_0x116921[_0x3b3bb4(0x32b)]();}};}const Wr=_0x420134(0x1c7);function Gr(_0x42caa0,_0x4d0ec4){return _0x42caa0+'::'+_0x4d0ec4;}let X=class extends _0x37367c{constructor(_0x222e5e,_0x518475,_0x236544,_0x54c527,_0xbbaf95,_0x313692,_0x150738,_0x573752,_0x15a373){const _0xc51e02=_0x420134;super(),this['_modelService']=_0x222e5e,this['_chartRenderService']=_0x518475,this['_chartUIService']=_0x236544,this[_0xc51e02(0x26c)]=_0x54c527,this[_0xc51e02(0x275)]=_0xbbaf95,this[_0xc51e02(0x19e)]=_0x313692,this['_renderManagerService']=_0x150738,this[_0xc51e02(0x268)]=_0x573752,this['_injector']=_0x15a373,z(this,_0xc51e02(0x1fa),new Map()),z(this,_0xc51e02(0x278),null),z(this,'_popupRuntimeKey',null),this[_0xc51e02(0x247)](),this[_0xc51e02(0x1c8)]();}[_0x420134(0x1e5)](){const _0x2dd440=_0x420134;this[_0x2dd440(0x330)](),this['_chartEventDisposables'][_0x2dd440(0x1f1)](_0x10f21a=>_0x10f21a['dispose']()),this['_chartEventDisposables'][_0x2dd440(0x2de)](),super[_0x2dd440(0x1e5)]();}[_0x420134(0x247)](){const _0x1eb2bf=_0x420134;let _0x2146b3=_0x459948({'chartUIService':this[_0x1eb2bf(0x2df)],'getHostAdapter':_0x185c11=>{const _0x4c5b02=_0x1eb2bf;this[_0x4c5b02(0x19b)][_0x4c5b02(0x263)](_0x185c11['unitId'],_0x185c11[_0x4c5b02(0x2f1)]);let _0x1415e9=this['_modelService'][_0x4c5b02(0x185)](_0x185c11[_0x4c5b02(0x27a)],_0x185c11[_0x4c5b02(0x2f1)]),_0x1a4faf=this['_univerInstanceService']['getUnit'](_0x185c11[_0x4c5b02(0x27a)],_0x707cea[_0x4c5b02(0x2e7)]),_0x205d09=this[_0x4c5b02(0x26c)][_0x4c5b02(0x17d)]();if(!(!_0x1415e9||!_0x1a4faf||!_0x205d09))return new _0x1cfdd3(_0x1415e9['model'],new _0x4f64a2({'unitId':_0x185c11[_0x4c5b02(0x27a)],'pageId':_0x205d09[_0x4c5b02(0x280)],'chartId':_0x185c11[_0x4c5b02(0x2f1)],'elementId':_0x205d09[_0x4c5b02(0x248)],'boardModel':_0x1a4faf,'injector':this['_injector']}));},'close':()=>this[_0x1eb2bf(0x330)](),'openFullPanel':_0x2b364a=>{const _0x39fc1e=_0x1eb2bf;this[_0x39fc1e(0x19b)]['setActiveChartById'](_0x2b364a[_0x39fc1e(0x27a)],_0x2b364a[_0x39fc1e(0x2f1)]);let _0x174713=this['_editSessionService'][_0x39fc1e(0x17d)]();(_0x174713==null?void 0x0:_0x174713[_0x39fc1e(0x27a)])===_0x2b364a[_0x39fc1e(0x27a)]&&_0x174713[_0x39fc1e(0x2f1)]===_0x2b364a[_0x39fc1e(0x2f1)]&&this[_0x39fc1e(0x26c)][_0x39fc1e(0x279)]({..._0x174713,'route':_0x54bddd(_0x2b364a[_0x39fc1e(0x1a9)]),'source':_0x39fc1e(0x172)}),this[_0x39fc1e(0x330)]();}});this[_0x1eb2bf(0x28f)](this['_adapterRegistry'][_0x1eb2bf(0x161)](Wr,_0x2146b3));}['_subscribeChartEvents'](){const _0x506d7b=_0x420134;this[_0x506d7b(0x28f)](this['_modelService'][_0x506d7b(0x235)][_0x506d7b(0x297)](_0x237a22=>{const _0xab5a19=_0x506d7b;let _0x205391=Gr(_0x237a22[_0xab5a19(0x27a)],_0x237a22['chartId']);if(this[_0xab5a19(0x1fa)][_0xab5a19(0x165)](_0x205391))return;let _0x2db218=new _0x23bb89();_0x2db218[_0xab5a19(0x1c3)](this[_0xab5a19(0x1b8)]['on'](_0x237a22[_0xab5a19(0x27a)],_0x237a22[_0xab5a19(0x2f1)],'click',_0x58a4b2=>{const _0x5581b2=_0xab5a19;this[_0x5581b2(0x1a3)](_0x237a22[_0x5581b2(0x27a)],_0x237a22['chartId'],_0x58a4b2);})),this[_0xab5a19(0x1fa)][_0xab5a19(0x1bd)](_0x205391,_0x2db218);})),this[_0x506d7b(0x28f)](this['_modelService'][_0x506d7b(0x317)][_0x506d7b(0x297)](_0x4ca844=>{const _0xaabe4b=_0x506d7b;var _0x5af8da;let _0x1acdaf=Gr(_0x4ca844[_0xaabe4b(0x27a)],_0x4ca844[_0xaabe4b(0x2f1)]);(_0x5af8da=this[_0xaabe4b(0x1fa)][_0xaabe4b(0x239)](_0x1acdaf))==null||_0x5af8da[_0xaabe4b(0x1e5)](),this[_0xaabe4b(0x1fa)][_0xaabe4b(0x2ff)](_0x1acdaf),this[_0xaabe4b(0x351)]===_0x1acdaf&&this[_0xaabe4b(0x330)]();})),this['disposeWithMe'](this[_0x506d7b(0x19b)]['activeRuntimeModel$'][_0x506d7b(0x297)](_0x538ed8=>{const _0x2953ca=_0x506d7b;let _0xc95797=_0x538ed8?Gr(_0x538ed8['unitId'],_0x538ed8['chartId']):null;(!_0xc95797||this[_0x2953ca(0x351)]&&_0xc95797!==this['_popupRuntimeKey'])&&this['_closePopup']();}));}[_0x420134(0x1a3)](_0x203091,_0x449cc9,_0x235eb2){const _0x5234f4=_0x420134;if(!this[_0x5234f4(0x1b8)][_0x5234f4(0x230)](_0x203091,_0x449cc9))return;let _0x39087e=this[_0x5234f4(0x19b)][_0x5234f4(0x185)](_0x203091,_0x449cc9),_0x57c227=_0x39087e?_0x18d75a(_0x39087e['model'],_0x235eb2[_0x5234f4(0x35b)]):void 0x0;if(!_0x39087e||!_0x57c227){this['_closePopup']();return;}if(this[_0x5234f4(0x19b)][_0x5234f4(0x22b)](_0x39087e),this[_0x5234f4(0x330)](),!_0x57c227[_0x5234f4(0x1cb)])return;let _0x37b5a3=this['_renderManagerService'][_0x5234f4(0x359)](_0x203091);if(!_0x37b5a3)return;let _0x3a56fb=Ur(_0x235eb2,()=>this[_0x5234f4(0x2fa)](_0x203091,_0x449cc9));if(!_0x3a56fb[_0x5234f4(0x22c)]){_0x3a56fb['dispose']();return;}let _0x447e64=this[_0x5234f4(0x19e)]['addPopup']({'componentKey':_0x3df2c8,'direction':_0x5234f4(0x35d),'offset':[0x0,0x8],'unitId':_0x203091,'subUnitId':'','anchorRect':_0x3a56fb['initialRect'],'anchorRect$':_0x3a56fb['anchorRect$'],'canvasElement':_0x37b5a3[_0x5234f4(0x35e)][_0x5234f4(0x295)](),'extraProps':{'unitId':_0x203091,'chartId':_0x449cc9,'element':_0x235eb2[_0x5234f4(0x35b)],'target':_0x57c227[_0x5234f4(0x1a9)],'adapterKey':Wr}}),_0x1daa56=new _0x23bb89();_0x1daa56['add'](_0x3a56fb),_0x1daa56[_0x5234f4(0x1c3)]({'dispose':()=>this[_0x5234f4(0x19e)][_0x5234f4(0x197)](_0x447e64)}),this[_0x5234f4(0x278)]=_0x1daa56,this['_popupRuntimeKey']=Gr(_0x203091,_0x449cc9);}['_closePopup'](){const _0x4bd38c=_0x420134;var _0x580bcb;(_0x580bcb=this[_0x4bd38c(0x278)])==null||_0x580bcb[_0x4bd38c(0x1e5)](),this[_0x4bd38c(0x278)]=null,this[_0x4bd38c(0x351)]=null;}[_0x420134(0x2fa)](_0x429581,_0x246f56){const _0x33614f=_0x420134;this[_0x33614f(0x330)](),this['_chartRenderService'][_0x33614f(0x230)](_0x429581,_0x246f56)&&(this[_0x33614f(0x1b8)]['setElementEditMode'](_0x429581,_0x246f56,!0x1),this[_0x33614f(0x1b8)][_0x33614f(0x201)](_0x429581,_0x246f56,!0x0));}};X=V([B(0x0,_0x562f55(_0x19fb9a)),B(0x1,_0x562f55(q)),B(0x2,U),B(0x3,_0x562f55(H)),B(0x4,_0x562f55(_0xae228c)),B(0x5,_0x562f55(_0xea016f)),B(0x6,_0x4b3b8f),B(0x7,_0xd96f74),B(0x8,_0x562f55(_0xd63000))],X);function Kr(_0x508fd6,_0x569e87,_0x35346f,_0x44bbc7,_0x4c2223){let _0x452b33={'chartType':_0x569e87,'data':_0x35346f,..._0x4c2223?{'dataSource':_0x4c2223}:{},..._0x44bbc7?{'style':_0x44bbc7}:{}};return{..._0x508fd6,'options':_0x452b33};}function qr(_0x5bed52){const _0x1b4753=_0x420134;let _0x273f1b=_0x30d157(_0x1fe324),_0x207aa5=_0x30d157(_0x9e1c11),_0x4aec13=_0x3b7d38(()=>_0x5e7700(_0x41a22e['map'](_0x177538=>({..._0x177538,'label':_0x207aa5['t'](_0x1b4753(0x262)+_0x177538[_0x1b4753(0x1a5)])}))),[_0x207aa5]),[_0x5f3823,_0x454c78]=_0x52cd5f(String(_0x1f8f85[_0x1b4753(0x28d)])),_0x1684bf=_0x4aec13[_0x1b4753(0x184)](_0x53e382=>_0x53e382[_0x1b4753(0x346)]===_0x5f3823),_0x1f5469=(_0x1684bf==null?void 0x0:_0x1684bf[_0x1b4753(0x1ea)])??_0x1f8f85['Column'],[_0x56ac2a,_0x31b51e]=_0x52cd5f(()=>_0x551cb2[_0x1b4753(0x21c)](_0x141f05=>[..._0x141f05])),[_0x3f58a1,_0x295678]=_0x52cd5f('inline'),[_0x1c90d0,_0x5a9d26]=_0x52cd5f(null),[_0x1c4ea8,_0x53ec3f]=_0x52cd5f([]),[_0x48ec25,_0x3c382f]=_0x52cd5f(null),_0x2e7068={[_0x2f8c65[_0x1b4753(0x1c5)]]:_0x207aa5['t'](_0x1b4753(0x354)),[_0x2f8c65['EmptyData']]:_0x207aa5['t']('boards-chart-ui.common.tableDataEmpty'),[_0x2f8c65['InvalidCandlestickData']]:_0x207aa5['t'](_0x1b4753(0x20e))},_0x51504f=_0x2ba176=>_0x4d3703(_0x2ba176,{'candlestickClose':_0x207aa5['t'](_0x1b4753(0x2f0)),'candlestickHigh':_0x207aa5['t']('boards-chart-ui.candlestick.high'),'candlestickLow':_0x207aa5['t'](_0x1b4753(0x19c)),'candlestickOpen':_0x207aa5['t'](_0x1b4753(0x2bd)),'category':_0x207aa5['t']('boards-chart-ui.common.category'),'chordSource':_0x207aa5['t'](_0x1b4753(0x342)),'chordTarget':_0x207aa5['t'](_0x1b4753(0x27b)),'label':_0x207aa5['t'](_0x1b4753(0x2ee)),'sunburstHierarchy':_0x207aa5['t'](_0x1b4753(0x250)),'value':_0x207aa5['t'](_0x1b4753(0x273)),'valueField':_0x207aa5['t']('boards-chart-ui.common.valueField')});return _0x5b5190(_0x1b4753(0x34d),{'className':_0x1b4753(0x1ff),'children':[_0x5b5190('div',{'className':_0x1b4753(0x176),'children':[_0x4c0ab2(_0x1b4753(0x34d),{'className':_0x1b4753(0x259),'children':_0x207aa5['t'](_0x1b4753(0x17f))}),_0x4c0ab2(_0x1138bf,{'className':_0x1b4753(0x215),'value':_0x5f3823,'options':_0x4aec13,'onChange':_0x225d19=>{const _0x410d75=_0x1b4753;var _0x18111f;_0x454c78(_0x225d19);let _0x5f0450=((_0x18111f=_0x4aec13[_0x410d75(0x184)](_0x1cef50=>_0x1cef50[_0x410d75(0x346)]===_0x225d19))==null?void 0x0:_0x18111f[_0x410d75(0x1ea)])??Number(_0x225d19),_0x1927d8=_0x51504f(_0x5f0450);_0x1927d8&&_0x31b51e(_0x1927d8);}})]}),_0x4c0ab2(_0x450ca6,{'mode':_0x3f58a1,'inlineContent':_0x4c0ab2(_0x34964e,{'values':_0x56ac2a,'minColumns':_0x3a6a48(_0x1f5469),'parsePastedText':_0x1e6e18,'onChange':_0x31b51e}),'onModeChange':_0x918b4d=>{_0x295678(_0x918b4d),_0x5a9d26(null),_0x53ec3f([]);},'onPreviewChange':(_0x5cb5a7,_0x104b6d)=>{const _0x189e33=_0x1b4753;_0x5cb5a7&&_0x104b6d['status']===_0x2b2838['READY']&&_0x104b6d[_0x189e33(0x2e8)]?(_0x5a9d26({'source':_0x5cb5a7}),_0x53ec3f(_0x104b6d[_0x189e33(0x2e8)]['map'](_0x265f94=>[..._0x265f94]))):(_0x5a9d26(null),_0x53ec3f([]));}}),_0x48ec25&&_0x4c0ab2(_0x1b4753(0x34d),{'className':_0x1b4753(0x2ba),'children':_0x48ec25}),_0x5b5190(_0x1b4753(0x34d),{'className':_0x1b4753(0x25a),'children':[_0x5bed52['onCancel']&&_0x4c0ab2(_0x413d0f,{'type':_0x1b4753(0x21b),'variant':_0x1b4753(0x1a8),'onClick':_0x5bed52[_0x1b4753(0x14f)],'children':_0x207aa5['t'](_0x1b4753(0x150))}),_0x4c0ab2(_0x413d0f,{'type':_0x1b4753(0x21b),'variant':_0x1b4753(0x257),'disabled':_0x3f58a1==='referenced'&&!_0x1c90d0,'onClick':async()=>{const _0x1902ff=_0x1b4753;var _0x316041;let _0x325f58=_0x321e23({'optionId':_0x5f3823,'values':_0x3f58a1===_0x1902ff(0x294)?_0x1c4ea8:_0x56ac2a});if(!_0x325f58['ok']){_0x3c382f(_0x2e7068[_0x325f58['issue']['code']]);return;}if(!await _0x273f1b['executeCommand'](_0x5950c5['id'],Kr(_0x5bed52[_0x1902ff(0x2db)],_0x325f58['plan'][_0x1902ff(0x1ea)],_0x325f58[_0x1902ff(0x194)][_0x1902ff(0x2e8)],_0x325f58[_0x1902ff(0x194)][_0x1902ff(0x2c6)],_0x3f58a1==='referenced'?_0x1c90d0??void 0x0:void 0x0))){_0x3c382f(_0x207aa5['t'](_0x1902ff(0x354)));return;}_0x3c382f(null),(_0x316041=_0x5bed52['onInserted'])==null||_0x316041['call'](_0x5bed52);},'children':_0x207aa5['t'](_0x1b4753(0x1a4))})]})]});}let Jr=class extends _0x37367c{constructor(_0x371060){const _0x1c225b=_0x420134;super(),this[_0x1c225b(0x148)]=_0x371060,this['_registerComponents']();}[_0x420134(0x29b)](){const _0x51ee15=_0x420134;this['disposeWithMe'](this[_0x51ee15(0x148)][_0x51ee15(0x161)](or,pr)),this[_0x51ee15(0x28f)](this[_0x51ee15(0x148)][_0x51ee15(0x161)](rr,ir)),this[_0x51ee15(0x28f)](this[_0x51ee15(0x148)][_0x51ee15(0x161)](_0x25b70a,qr)),this[_0x51ee15(0x28f)](this['_componentManager'][_0x51ee15(0x161)](Zn,tr));}};Jr=V([B(0x0,_0x562f55(_0x1af51d))],Jr);var Yr=class extends _0x78fa0e{constructor(_0x42baea,_0x13beff){const _0x272b0f=_0x420134;super(_0x42baea,_0x13beff),z(this,_0x272b0f(0x1ce),void 0x0),z(this,_0x272b0f(0x2e5),void 0x0),this[_0x272b0f(0x1ce)]=_0x13beff[_0x272b0f(0x157)],this[_0x272b0f(0x2e5)]=_0x13beff[_0x272b0f(0x22e)],this[_0x272b0f(0x1be)]();}['updateElement'](_0xca5999){const _0x5e3386=_0x420134;this[_0x5e3386(0x1ce)]=_0xca5999,this[_0x5e3386(0x241)](!0x0);}[_0x420134(0x17a)](_0x3ec575){const _0x4b4421=_0x420134;Zr(this[_0x4b4421(0x2e5)],_0x3ec575)||(this[_0x4b4421(0x2e5)]=_0x3ec575,this[_0x4b4421(0x241)](!0x0));}[_0x420134(0x301)](){return this['_element'];}['getFrameStyle'](){const _0x19d605=_0x420134;return this[_0x19d605(0x2e5)];}[_0x420134(0x1de)](_0x1f944d){const _0x592e4c=_0x420134;this[_0x592e4c(0x179)]??(this[_0x592e4c(0x179)]=document[_0x592e4c(0x237)](_0x592e4c(0x1a6)),this[_0x592e4c(0x179)][_0x592e4c(0x335)]='anonymous'),this[_0x592e4c(0x1be)](),this['_native'][_0x592e4c(0x21d)]=_0x1f944d;}[_0x420134(0x2d7)](_0x1eb322,_0x33134b,_0x5f4eb4=this[_0x420134(0x22a)],_0x595429=this['height']){const _0x376e40=_0x420134;let _0x346edb=this[_0x376e40(0x2e5)],_0x49f131=yr({'width':_0x5f4eb4,'height':_0x595429},_0x346edb);_0x1eb322['save'](),_0x1eb322['translate'](-_0x5f4eb4/0x2,-_0x595429/0x2),Xr(_0x1eb322,0x0,0x0,_0x5f4eb4,_0x595429,_0x346edb[_0x376e40(0x167)]),_0x1eb322[_0x376e40(0x326)]=_0x346edb[_0x376e40(0x1e1)],_0x1eb322['fill'](),_0x1eb322['restore'](),this['_drawChartImage'](_0x1eb322,_0x5f4eb4,_0x595429,_0x49f131,_0x346edb),this[_0x376e40(0x33a)](_0x1eb322,_0x5f4eb4,_0x595429,_0x346edb);}[_0x420134(0x28b)](_0x1081a1,_0x23f4eb,_0x407a27,_0x99035a,_0x2c5d4d){const _0x42eedb=_0x420134;var _0x17c5c3;!((_0x17c5c3=this[_0x42eedb(0x179)])!=null&&_0x17c5c3[_0x42eedb(0x32b)])||this[_0x42eedb(0x179)][_0x42eedb(0x2cd)]<=0x0||this[_0x42eedb(0x179)][_0x42eedb(0x332)]<=0x0||(_0x1081a1['save'](),_0x1081a1['translate'](-_0x23f4eb/0x2,-_0x407a27/0x2),Xr(_0x1081a1,_0x99035a[_0x42eedb(0x2b8)],_0x99035a[_0x42eedb(0x254)],_0x99035a[_0x42eedb(0x22a)],_0x99035a[_0x42eedb(0x233)],Math[_0x42eedb(0x331)](0x0,_0x2c5d4d[_0x42eedb(0x167)]-_0x2c5d4d[_0x42eedb(0x1b9)])),_0x1081a1['clip'](),_0x1081a1['drawImage'](this[_0x42eedb(0x179)],_0x99035a[_0x42eedb(0x2b8)],_0x99035a[_0x42eedb(0x254)],_0x99035a[_0x42eedb(0x22a)],_0x99035a[_0x42eedb(0x233)]),_0x1081a1[_0x42eedb(0x18c)]());}[_0x420134(0x33a)](_0x5cf8b4,_0x5b42b9,_0x179d92,_0x3a3e1d){const _0x13fe81=_0x420134;if(_0x3a3e1d[_0x13fe81(0x1b9)]<=0x0)return;let _0x346665=br({'width':_0x5b42b9,'height':_0x179d92},_0x3a3e1d);_0x5cf8b4[_0x13fe81(0x159)](),_0x5cf8b4[_0x13fe81(0x32a)](-_0x5b42b9/0x2,-_0x179d92/0x2),Xr(_0x5cf8b4,_0x346665['left'],_0x346665[_0x13fe81(0x254)],_0x346665[_0x13fe81(0x22a)],_0x346665[_0x13fe81(0x233)],_0x346665[_0x13fe81(0x167)]),_0x5cf8b4[_0x13fe81(0x20c)]=_0x3a3e1d[_0x13fe81(0x28c)],_0x5cf8b4[_0x13fe81(0x1af)]=_0x3a3e1d[_0x13fe81(0x1b9)],_0x5cf8b4[_0x13fe81(0x28c)](),_0x5cf8b4[_0x13fe81(0x18c)]();}['_notifyScene'](){const _0x32ee8e=_0x420134;let _0x32ea03=this['getScene']();this[_0x32ee8e(0x241)](!0x0),_0x32ea03==null||_0x32ea03['onFileLoaded$'][_0x32ee8e(0x1f7)](this[_0x32ee8e(0x1ac)]);}[_0x420134(0x1be)](){const _0x2c3472=_0x420134;this[_0x2c3472(0x179)]&&(this[_0x2c3472(0x179)][_0x2c3472(0x282)]=()=>{this['makeDirty'](!0x0),this['_notifyScene']();},this[_0x2c3472(0x179)][_0x2c3472(0x2f2)]=()=>{this['_notifyScene']();});}};function Xr(_0x1779ed,_0x317071,_0x59a591,_0x52ff5a,_0xfe2187,_0x2756aa){const _0x331f8c=_0x420134;let _0x1e7f85=Math[_0x331f8c(0x292)](_0x2756aa||0x0,_0x52ff5a/0x2,_0xfe2187/0x2);if(_0x1779ed[_0x331f8c(0x1df)](),!_0x1e7f85){_0x1779ed[_0x331f8c(0x23b)](_0x317071,_0x59a591,_0x52ff5a,_0xfe2187),_0x1779ed['closePath']();return;}_0x1779ed[_0x331f8c(0x18d)](_0x317071+_0x1e7f85,_0x59a591),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591+_0x1e7f85,_0x1e7f85,Math['PI']*0x3/0x2,0x0,!0x1),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x52ff5a,_0x59a591+_0xfe2187-_0x1e7f85),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591+_0xfe2187-_0x1e7f85,_0x1e7f85,0x0,Math['PI']/0x2,!0x1),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x1e7f85,_0x59a591+_0xfe2187),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x1e7f85,_0x59a591+_0xfe2187-_0x1e7f85,_0x1e7f85,Math['PI']/0x2,Math['PI'],!0x1),_0x1779ed['lineTo'](_0x317071,_0x59a591+_0x1e7f85),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x1e7f85,_0x59a591+_0x1e7f85,_0x1e7f85,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1779ed[_0x331f8c(0x356)]();}function Zr(_0xdd7c83,_0x4ea0b8){const _0x14cf59=_0x420134;return _0xdd7c83[_0x14cf59(0x1e1)]===_0x4ea0b8[_0x14cf59(0x1e1)]&&_0xdd7c83[_0x14cf59(0x28c)]===_0x4ea0b8[_0x14cf59(0x28c)]&&_0xdd7c83['strokeWidth']===_0x4ea0b8[_0x14cf59(0x1b9)]&&_0xdd7c83[_0x14cf59(0x167)]===_0x4ea0b8[_0x14cf59(0x167)];}function Qr(_0x4877bf){const _0x1af595=_0x420134;let {element:_0x1c1f61}=_0x4877bf[_0x1af595(0x2a1)];return _0x1c1f61['type']===_0xbbe6aa[_0x1af595(0x289)]?_0x1c1f61:null;}let Z=class{constructor(_0x1ca289,_0x450375,_0x5f008d,_0x23ddd2){const _0x557b58=_0x420134;this[_0x557b58(0x1c1)]=_0x1ca289,this[_0x557b58(0x178)]=_0x450375,this[_0x557b58(0x286)]=_0x5f008d,this[_0x557b58(0x2ed)]=_0x23ddd2,z(this,_0x557b58(0x255),_0x557b58(0x309)),z(this,'_snapshotRefreshers',new WeakMap());}['createObject'](_0x5c5edc){const _0x99d8bd=_0x420134;let _0x219ef8=Qr(_0x5c5edc);if(!_0x219ef8)return null;let _0xeff137=Math[_0x99d8bd(0x331)](0x1,_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x22a)]),_0x4bc186=Math['max'](0x1,_0x5c5edc['bounds'][_0x99d8bd(0x233)]),_0x2b69a3=new Yr(_0x5c5edc[_0x99d8bd(0x206)],{'url':_0x99d8bd(0x30f),'left':_0x5c5edc['bounds']['left'],'top':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x254)],'width':_0xeff137,'height':_0x4bc186,'angle':_0x5c5edc['bounds'][_0x99d8bd(0x340)],'flipX':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x349)],'flipY':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x17c)],'zIndex':_0x5c5edc['zIndex'],'visible':_0x219ef8[_0x99d8bd(0x22c)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x219ef8,'frameStyle':this[_0x99d8bd(0x1b2)](_0x5c5edc[_0x99d8bd(0x27a)],_0x219ef8)});return this[_0x99d8bd(0x18a)](_0x2b69a3,this[_0x99d8bd(0x337)](_0x5c5edc['unitId'],_0x2b69a3),_0x5c5edc[_0x99d8bd(0x27a)]),_0x2b69a3;}[_0x420134(0x1d0)](_0x3bebae,_0x1f5997){const _0xf83d78=_0x420134;var _0x4cc713;if(!(_0x3bebae instanceof Yr))return!0x1;let _0x386402=Qr(_0x1f5997);return _0x386402?(_0x1f5997['preserveTransform']||_0x3bebae[_0xf83d78(0x312)](_0x1f5997[_0xf83d78(0x1e2)]),_0x3bebae[_0xf83d78(0x13f)](_0x386402),this[_0xf83d78(0x2c9)](_0x1f5997[_0xf83d78(0x27a)],_0x3bebae),(_0x4cc713=this['_snapshotRefreshers'][_0xf83d78(0x239)](_0x3bebae))==null||_0x4cc713(),!0x0):!0x1;}[_0x420134(0x18a)](_0x28ab38,_0x1b16fe,_0x4343f5){const _0x68a272=_0x420134;if(!_0x1b16fe)return;let _0x57038d=null,_0x1d35d9=null,_0x116ad6=!0x1,_0x40e480=_0x3a3b8c=>{const _0x9df857=_0x1b7a;if(_0x1d35d9!==_0x3a3b8c){if(_0x57038d==null||_0x57038d[_0x9df857(0x146)](),_0x57038d=null,_0x1d35d9=_0x3a3b8c,_0x3a3b8c[_0x9df857(0x2a6)]===_0x9df857(0x1ee)&&_0x3a3b8c[_0x9df857(0x191)]){_0x28ab38[_0x9df857(0x1de)](_0x3a3b8c['dataUrl']);return;}_0x3a3b8c[_0x9df857(0x2a6)]==='pending'&&(_0x57038d=this[_0x9df857(0x178)][_0x9df857(0x291)]['subscribe'](_0x52e14d=>{const _0x12d88b=_0x9df857;if(_0x52e14d!==_0x3a3b8c||_0x52e14d[_0x12d88b(0x2a6)]!==_0x12d88b(0x1ee)||!_0x52e14d[_0x12d88b(0x191)]){if(_0x52e14d===_0x3a3b8c&&_0x52e14d['status']===_0x12d88b(0x1a0)&&!_0x116ad6){_0x116ad6=!0x0;let _0x1a7f07=this[_0x12d88b(0x337)](_0x4343f5,_0x28ab38);_0x1a7f07&&_0x40e480(_0x1a7f07);}return;}_0x28ab38['changeChartSource'](_0x52e14d[_0x12d88b(0x191)]),_0x57038d==null||_0x57038d[_0x12d88b(0x146)](),_0x57038d=null;}));}};_0x40e480(_0x1b16fe);let _0x3f32b9=()=>{const _0x1e1973=_0x1b7a;_0x116ad6=!0x1;let _0x38e792=this[_0x1e1973(0x337)](_0x4343f5,_0x28ab38);_0x38e792&&_0x40e480(_0x38e792);};this[_0x68a272(0x35f)][_0x68a272(0x1bd)](_0x28ab38,_0x3f32b9);let _0x52d7b9=this[_0x68a272(0x178)][_0x68a272(0x287)]['subscribe'](_0x2fe6fe=>{const _0x5230c2=_0x68a272;_0x2fe6fe[_0x5230c2(0x27a)]===_0x4343f5&&_0x2fe6fe[_0x5230c2(0x2f1)]===_0x28ab38['getElement']()[_0x5230c2(0x2f1)]&&_0x3f32b9();});_0x28ab38['onDispose$'][_0x68a272(0x21f)](()=>{const _0x25334a=_0x68a272;_0x57038d==null||_0x57038d[_0x25334a(0x146)](),_0x52d7b9[_0x25334a(0x146)](),this[_0x25334a(0x35f)]['delete'](_0x28ab38);});}[_0x420134(0x337)](_0x5833c6,_0x57fdae){const _0x597da4=_0x420134;let _0x4d9849=this[_0x597da4(0x2c9)](_0x5833c6,_0x57fdae),_0x9d07d9=yr({'width':Math[_0x597da4(0x331)](0x1,_0x57fdae[_0x597da4(0x22a)]),'height':Math['max'](0x1,_0x57fdae[_0x597da4(0x233)])},_0x4d9849);return this[_0x597da4(0x178)]['requestSnapshot']({'unitId':_0x5833c6,'chartId':_0x57fdae[_0x597da4(0x301)]()['chartId'],'width':_0x9d07d9['width'],'height':_0x9d07d9['height'],'mode':_0x597da4(0x200)});}[_0x420134(0x2c9)](_0x2b258a,_0x56fa5e){const _0x3c23d0=_0x420134;let _0x342406=this[_0x3c23d0(0x1b2)](_0x2b258a,_0x56fa5e[_0x3c23d0(0x301)]());return _0x56fa5e[_0x3c23d0(0x17a)](_0x342406),_0x342406;}['_resolveFrameStyle'](_0xf69f8b,_0x34e833){const _0x4cd75c=_0x420134;var _0x279c91;let _0x49ea43=(_0x279c91=this[_0x4cd75c(0x286)][_0x4cd75c(0x25d)](_0xf69f8b,_0x34e833[_0x4cd75c(0x2f1)]))==null?void 0x0:_0x279c91['style'];return vr({'chartStyle':_0x49ea43,'chartElement':_0x34e833,'hostFill':_0x49ea43?this['_renderService']['getHostStyle'](_0x49ea43)['fill']:void 0x0,'isDarkMode':this[_0x4cd75c(0x1c1)][_0x4cd75c(0x15b)]});}};Z=V([B(0x0,_0x562f55(_0x266ec7)),B(0x1,_0x562f55(J)),B(0x2,_0x562f55(_0x8c60)),B(0x3,_0x562f55(q))],Z);function $r(_0x3e4d28){const _0x90c0d0=_0x420134;return _0x3e4d28[_0x90c0d0(0x304)]===_0xbbe6aa['Chart'];}let Q=class{constructor(_0x4caea8){const _0x573837=_0x420134;this['_resourceService']=_0x4caea8,z(this,'key',_0x573837(0x2fe));}[_0x420134(0x353)](_0x5651c0){const _0x1558cd=_0x420134;let _0x40e3ab={},_0xba70b5={},_0x1a1591={};return _0x5651c0['elements'][_0x1558cd(0x1f1)](_0xca2985=>{const _0x512a95=_0x1558cd;if(!$r(_0xca2985))return;let _0x5dd750=this[_0x512a95(0x286)][_0x512a95(0x25d)](_0x5651c0[_0x512a95(0x27a)],_0xca2985[_0x512a95(0x2f1)]),_0x5e9b23=_0x5dd750?this[_0x512a95(0x286)][_0x512a95(0x1e4)](_0x5651c0[_0x512a95(0x27a)],_0x5dd750[_0x512a95(0x1bc)]):void 0x0;!_0x5dd750||!_0x5e9b23||(_0x40e3ab[_0x5dd750['id']]=_0x2f6a92[_0x512a95(0x192)](_0x5dd750),_0xba70b5[_0x5e9b23['id']]=_0x5e9b23,_0x1a1591[_0xca2985['id']]=_0x5dd750['id']);}),Object[_0x1558cd(0x2b6)](_0x40e3ab)['length']===0x0?null:{'charts':_0x40e3ab,'dataSources':_0xba70b5,'chartIdByElementId':_0x1a1591};}[_0x420134(0x2ad)](_0x8b4b2b){const _0x2948ef=_0x420134;if(!ei(_0x8b4b2b['payload']))return null;let _0x548325=_0x8b4b2b['payload'],_0xb6c86c=new Map();_0x8b4b2b[_0x2948ef(0x2a5)][_0x2948ef(0x1f1)]((_0x5b6758,_0x5411eb)=>{const _0x5ef7a8=_0x2948ef;_0xb6c86c[_0x5ef7a8(0x1bd)](_0x5b6758,_0x5411eb);});let _0x4ce9dc=new Map(),_0x283d96=new Map(),_0x34742f=_0x8b4b2b[_0x2948ef(0x2fb)]['map'](_0x15768d=>{const _0x3b4548=_0x2948ef;if(!$r(_0x15768d))return _0x15768d;let _0x537de0=_0xb6c86c[_0x3b4548(0x239)](_0x15768d['id']),_0x47a583=_0x537de0?_0x548325[_0x3b4548(0x17e)][_0x537de0]:void 0x0;if(!_0x47a583||!_0x548325[_0x3b4548(0x324)][_0x47a583])return _0x15768d;let _0xaa1666=_0x4ce9dc[_0x3b4548(0x239)](_0x47a583);return _0xaa1666||(_0xaa1666=_0x28db8b(0x6),_0x4ce9dc[_0x3b4548(0x1bd)](_0x47a583,_0xaa1666)),{..._0x15768d,'chartId':_0xaa1666};});_0x4ce9dc[_0x2948ef(0x1f1)]((_0x1fc726,_0x3fa63d)=>{const _0x27c90a=_0x2948ef;var _0x2f7d6d;let _0x3d8b33=(_0x2f7d6d=_0x548325[_0x27c90a(0x324)][_0x3fa63d])==null?void 0x0:_0x2f7d6d['dataSourceId'];_0x3d8b33&&!_0x283d96[_0x27c90a(0x165)](_0x3d8b33)&&_0x283d96[_0x27c90a(0x1bd)](_0x3d8b33,_0x28db8b(0x6));});let _0x1df832=[];_0x283d96[_0x2948ef(0x1f1)]((_0x41de74,_0x14f30a)=>{const _0x34cdde=_0x2948ef;let _0x59c185=_0x548325[_0x34cdde(0x1aa)][_0x14f30a];_0x59c185&&_0x1df832[_0x34cdde(0x2b9)]({..._0x59c185,'id':_0x41de74});});let _0x24a336=[];return _0x4ce9dc[_0x2948ef(0x1f1)]((_0x3ca471,_0x2cfc32)=>{const _0xc15b47=_0x2948ef;let _0x5afff4=_0x548325[_0xc15b47(0x324)][_0x2cfc32],_0x1cbbeb=_0x5afff4?_0x283d96['get'](_0x5afff4[_0xc15b47(0x1bc)]):void 0x0;!_0x5afff4||!_0x1cbbeb||_0x24a336[_0xc15b47(0x2b9)]({..._0x5afff4,'id':_0x3ca471,'dataSourceId':_0x1cbbeb});}),_0x24a336[_0x2948ef(0x23d)]===0x0?null:{'elements':_0x34742f,'redoMutations':[..._0x1df832[_0x2948ef(0x21c)](_0x53589e=>({'id':_0x34a8cb['id'],'params':{'unitId':_0x8b4b2b['targetUnitId'],'dataSource':_0x53589e}})),..._0x24a336['map'](_0x5620cc=>({'id':_0x47addf['id'],'params':{'unitId':_0x8b4b2b['targetUnitId'],'chart':_0x5620cc}}))],'undoMutations':[..._0x24a336['map'](_0x5e91ef=>({'id':_0x57425b['id'],'params':{'unitId':_0x8b4b2b[_0x2948ef(0x2e2)],'chartId':_0x5e91ef['id']}})),..._0x1df832['map'](_0x41b844=>({'id':_0xccd2ef['id'],'params':{'unitId':_0x8b4b2b[_0x2948ef(0x2e2)],'dataSourceId':_0x41b844['id']}}))]};}};Q=V([B(0x0,_0x562f55(_0x8c60))],Q);function ei(_0xf729f3){const _0x28ca7f=_0x420134;if(!_0xf729f3||typeof _0xf729f3!='object')return!0x1;let _0x248e05=_0xf729f3;return!!_0x248e05[_0x28ca7f(0x324)]&&!!_0x248e05[_0x28ca7f(0x1aa)]&&!!_0x248e05[_0x28ca7f(0x17e)];}let ti=class extends _0x37367c{constructor(_0x2f3f98,_0x3746e8){const _0x50f0b4=_0x420134;super(),this[_0x50f0b4(0x178)]=_0x3746e8,this[_0x50f0b4(0x28f)](_0x2f3f98[_0x50f0b4(0x161)](this));}['supports'](_0x45fe51){return'unitId'in _0x45fe51&&'getElement'in _0x45fe51;}[_0x420134(0x160)](_0x4f583f){const _0x9fc8bd=_0x420134;if(!this[_0x9fc8bd(0x265)](_0x4f583f))return Promise[_0x9fc8bd(0x296)](void 0x0);let _0xbd7608=_0x4f583f[_0x9fc8bd(0x1e9)]()[_0x9fc8bd(0x213)];return this[_0x9fc8bd(0x178)]['exportImage']({'unitId':_0x4f583f[_0x9fc8bd(0x27a)],'chartId':_0x4f583f[_0x9fc8bd(0x207)](),'width':Math[_0x9fc8bd(0x331)](0x1,(_0xbd7608==null?void 0x0:_0xbd7608[_0x9fc8bd(0x22a)])??0x1),'height':Math[_0x9fc8bd(0x331)](0x1,(_0xbd7608==null?void 0x0:_0xbd7608[_0x9fc8bd(0x233)])??0x1),'mode':_0x9fc8bd(0x200)});}};ti=V([B(0x0,_0x562f55(_0x5802b4)),B(0x1,_0x562f55(J))],ti);const ni=_0x420134(0x177);let $=class extends _0x10d04f{constructor(_0x15e12a=Un,_0x3237da,_0x2d70db,_0x46f96c){const _0xa71f48=_0x420134;super(),this[_0xa71f48(0x2c2)]=_0x15e12a,this['_injector']=_0x3237da,this[_0xa71f48(0x2c3)]=_0x2d70db,this[_0xa71f48(0x2a7)]=_0x46f96c,z(this,_0xa71f48(0x180),null);let {..._0xd53ffe}=_0x42b868({},Un,this[_0xa71f48(0x2c2)]);this[_0xa71f48(0x2c3)][_0xa71f48(0x243)](Hn,_0xd53ffe);}[_0x420134(0x211)](){const _0x5d9f4f=_0x420134;this[_0x5d9f4f(0x28f)](this['_injector'][_0x5d9f4f(0x239)](_0x1fe324)[_0x5d9f4f(0x18f)](ar)),[[q],[J],[ti],[U,{'useClass':Xn}],[G],[H],[X],[Z],[Q],[Y],[Jr]][_0x5d9f4f(0x1f1)](_0x3ea398=>this['_injector'][_0x5d9f4f(0x1c3)](_0x3ea398)),_0x1e7ffb(this[_0x5d9f4f(0x195)],[[q],[J],[ti],[U],[G],[H],[X]]),this[_0x5d9f4f(0x195)]['get'](Jr);let _0xe57163=this[_0x5d9f4f(0x195)][_0x5d9f4f(0x239)](Z);this[_0x5d9f4f(0x180)]=_0xe57163,this[_0x5d9f4f(0x34b)](_0xe57163),this[_0x5d9f4f(0x28f)](_0x114177(()=>{const _0x531115=_0x5d9f4f;this[_0x531115(0x149)](_0xe57163),this['_adapter']=null;}));let _0x16ee28=this[_0x5d9f4f(0x195)]['get'](_0x52cf4e);this[_0x5d9f4f(0x28f)](_0x16ee28['registerAdapter'](this[_0x5d9f4f(0x195)][_0x5d9f4f(0x239)](Q))),this['disposeWithMe'](this[_0x5d9f4f(0x195)]['get'](Y));}[_0x420134(0x30a)](){const _0x5b3fbc=_0x420134;this[_0x5b3fbc(0x28f)](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],W)),this['disposeWithMe'](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],jr)),this[_0x5b3fbc(0x28f)](this[_0x5b3fbc(0x2a7)]['registerRenderModule'](_0x707cea[_0x5b3fbc(0x2e7)],Cr)),this['disposeWithMe'](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],nr));}[_0x420134(0x34b)](_0x4558c8){const _0x38b657=_0x420134;var _0x586499,_0x471141;let _0x398d14=this[_0x38b657(0x20a)](),_0x3aae28=_0x398d14[_0x38b657(0x1d7)]??[];_0x3aae28[_0x38b657(0x2f5)](_0x4558c8)||this[_0x38b657(0x2c3)][_0x38b657(0x243)](_0x3ce34f,{..._0x398d14,'additionalRenderAdapters':[..._0x3aae28,_0x4558c8],'toolbar':{..._0x398d14[_0x38b657(0x1dd)],'tools':{...(_0x586499=_0x398d14[_0x38b657(0x1dd)])==null?void 0x0:_0x586499[_0x38b657(0x214)],[_0x3972cb['Chart']]:ri((_0x471141=_0x398d14[_0x38b657(0x1dd)])==null||(_0x471141=_0x471141['tools'])==null?void 0x0:_0x471141[_0x3972cb[_0x38b657(0x289)]])}}});}[_0x420134(0x149)](_0xdd346b){const _0x4af92c=_0x420134;var _0x128d98;let _0x591a5b=this[_0x4af92c(0x20a)](),_0x47a073=(_0x128d98=_0x591a5b[_0x4af92c(0x1d7)])==null?void 0x0:_0x128d98[_0x4af92c(0x27d)](_0x17a690=>_0x17a690!==_0xdd346b);this[_0x4af92c(0x2c3)][_0x4af92c(0x243)](_0x3ce34f,{..._0x591a5b,'additionalRenderAdapters':_0x47a073});}[_0x420134(0x20a)](){const _0x598209=_0x420134;return this['_configService'][_0x598209(0x18b)](_0x3ce34f)??{};}};z($,'pluginName',ni),z($,'packageName',Mr),z($,_0x420134(0x216),Nr),z($,_0x420134(0x304),_0x707cea[_0x420134(0x2e7)]),$=V([_0x12277f(_0x614a47,_0x165d51,_0x499738,_0x2d77e6,_0x5c1c8a,_0x4f6771),B(0x1,_0x562f55(_0xd63000)),B(0x2,_0xd2ea59),B(0x3,_0x4b3b8f)],$);function ri(_0x55f488){const _0x16d7dc=_0x420134;return _0x55f488===!0x1?!0x1:typeof _0x55f488!=_0x16d7dc(0x16c)||{..._0x55f488,'enabled':_0x55f488[_0x16d7dc(0x2d3)]??!0x0};}export{Hn as BOARDS_CHART_UI_PLUGIN_CONFIG_KEY,ni as BOARDS_CHART_UI_PLUGIN_NAME,Or as BOARD_CHART_SNAPSHOT_BORDER_WIDTH,Q as BoardChartClipboardAdapter,G as BoardChartDataEditService,H as BoardChartEditSessionService,nr as BoardChartFloatingToolbarRenderController,W as BoardChartOpenEditController,Cr as BoardChartPanelController,Z as BoardChartRenderAdapter,q as BoardChartRenderService,jr as BoardChartSelectionController,Y as BoardChartSnapshotRefreshController,J as BoardChartSnapshotRenderService,Xn as BoardChartUIService,wr as BoardDomChartHost,Dr as IBoardChartSnapshotRendererService,U as IBoardChartUIService,$ as UniverBoardsChartUIPlugin,ri as enableChartTool,kr as resolveBoardChartSnapshotStyle};
|
|
1
|
+
const _0x499525=_0x30da;(function(_0x38e341,_0xfa7986){const _0x566d70=_0x30da,_0x1551a1=_0x38e341();while(!![]){try{const _0x27d56e=-parseInt(_0x566d70(0x38e))/0x1+-parseInt(_0x566d70(0x220))/0x2+-parseInt(_0x566d70(0x2de))/0x3*(-parseInt(_0x566d70(0x31f))/0x4)+parseInt(_0x566d70(0x26e))/0x5+-parseInt(_0x566d70(0x288))/0x6+parseInt(_0x566d70(0x30e))/0x7+parseInt(_0x566d70(0x323))/0x8*(parseInt(_0x566d70(0x32e))/0x9);if(_0x27d56e===_0xfa7986)break;else _0x1551a1['push'](_0x1551a1['shift']());}catch(_0x13a723){_0x1551a1['push'](_0x1551a1['shift']());}}}(_0x1a29,0x6e640));import{BoardElementType as _0xdc726d,BoardToolType as _0x354b3a,IBoardElementService as _0x312cb0,InsertBoardChartCommand as _0x3946e8,UniverBoardsPlugin as _0x57b6c8,resolveBoardElementWorldBounds as _0x477c18}from'@univerjs-pro/boards';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x31c398,BOARD_INSERT_CHART_PANEL_COMPONENT as _0x5d30bd,BoardCanvasPopManagerService as _0x211d45,BoardDeleteSelectionOperation as _0x567928,BoardDomLayerService as _0x128dd4,BoardInteractionSurfaceService as _0x1292ec,IBoardClipboardResourceAdapterService as _0x44a27a,IBoardElementStateService as _0x393ad4,IBoardSidePanelService as _0x30f374,IBoardUIStateService as _0x136685,UniverBoardsUIPlugin as _0x4548ff,getBoardElementRenderObjectKey as _0x53e8ae,resolveRotatedBoardObjectAnchorBound as _0x4386fb}from'@univerjs-pro/boards-ui';import{CommandType as _0x45a710,DependentOn as _0x3feff0,Disposable as _0x213704,DisposableCollection as _0x1ae3d6,ICommandService as _0xa6f2d7,IConfigService as _0x35e311,IUniverInstanceService as _0x1cc825,Inject as _0x496119,Injector as _0x11a7be,LocaleService as _0x4cc5cd,Optional as _0x202b18,Plugin as _0x3b30b9,RxDisposable as _0x3f8dd1,ThemeService as _0x2e9a52,Tools as _0x4d4a69,UniverInstanceType as _0x361416,createIdentifier as _0x4ed68c,generateRandomId as _0x131eab,merge as _0x9d3953,toDisposable as _0xdc18c3,touchDependencies as _0x580124}from'@univerjs/core';import{BehaviorSubject as _0x228f45,combineLatest as _0x5e1c78,filter as _0x405dcd,fromEvent as _0x52e2b8,merge as _0xdfa41a,takeUntil as _0x35fa67,throttleTime as _0xa0c0cb}from'rxjs';import{BoardChartConfigAdapter as _0x6807e4,BoardChartModelService as _0x37b64c,BoardChartResourceService as _0x2cd96e,ChangeBoardChartDataSourceCommand as _0xf1aeb9,DEFAULT_BOARD_CHART_VALUES as _0x3cdf2b,RemoveBoardChartDataSourceMutation as _0x2482df,RemoveBoardChartSnapshotMutation as _0x5b070f,SetBoardChartDataSourceMutation as _0x3a8c3f,SetBoardChartSnapshotMutation as _0x25379f,UniverBoardsChartPlugin as _0x1a1003,UpdateBoardChartConfigCommand as _0x64abad}from'@univerjs-pro/boards-chart';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x16dc10,CHART_TYPE_CATALOG as _0xcd7567,ChartAxisSection as _0x2d9afd,ChartCommonDataMappingSection as _0x4d1eed,ChartEditBlockTitle as _0x41b488,ChartEditPanel as _0x589747,ChartEditPanelSection as _0x5b8450,ChartEditPanelTab as _0x203d3b,ChartEditPanelTabs as _0x39cbb6,ChartEditorCapability as _0x4943ee,ChartEditorProvider as _0x33a395,ChartElementFloatMenuAdapterRegistry as _0x290800,ChartFunnelStyleSection as _0x562714,ChartGradientFillField as _0x1f745c,ChartGridlinesAndTicksSection as _0x3f6402,ChartHeatmapStyleSection as _0x11f289,ChartHostAdapter as _0x19ae32,ChartImageExportService as _0x133bcd,ChartIndicatorLineSection as _0x33e4a9,ChartInlineTableEditor as _0x46ec38,ChartLegendSection as _0x3c32af,ChartLineAndAreaSection as _0x2b1e2d,ChartNumberFormatTextField as _0x540a5a,ChartParetoSeriesSection as _0x29e8ea,ChartPieStyleSection as _0x1cec51,ChartRadarStyleSection as _0x268318,ChartReferencedDataSourceEditor as _0x2299e5,ChartRelationStyleSection as _0x4df0d1,ChartSectionAccordion as _0x4e0003,ChartSectionAccordionContent as _0x6e0864,ChartSectionAccordionItem as _0x50b71f,ChartSectionAccordionTrigger as _0x4c7dec,ChartSeriesBorderFields as _0x29f5b1,ChartSeriesDataLabelFields as _0x1338ba,ChartSeriesDataPointFields as _0x1b8135,ChartSeriesFillFields as _0x4bc933,ChartSeriesPointFields as _0x5ed9cf,ChartSeriesRightAxisField as _0x4649c6,ChartSeriesRoot as _0x5d9c1e,ChartSeriesSelector as _0x53abaa,ChartSeriesTypeField as _0x238b88,ChartSnapshotQueue as _0x33d8f8,ChartStackField as _0x496027,ChartStyleSection as _0x7de209,ChartThemeField as _0xa1e222,ChartTitlesSection as _0x3184e0,ChartTrendlineSection as _0x591f60,ChartTypeField as _0xe2b2cf,ChartTypeSpecificDataSection as _0x28acd5,ChartTypeSpecificSetupSection as _0x19773a,ChartTypeSpecificStyleSection as _0x193186,ChartUIService as _0x4830f0,ChartViewStateRegistry as _0x9541e8,ChartWaterfallSetupFields as _0x449bdd,ChartWaterfallStyleSection as _0x32067f,ChartWordCloudMaskImageIdField as _0x479703,ChartWordCloudRepeatField as _0x2ee956,ChartWordCloudRoot as _0x1faff9,ChartWordCloudShapeField as _0x22d31f,DEFAULT_CHART_AXIS_VALUES as _0x5d23a2,DEFAULT_CHART_FUNNEL_VALUES as _0x3a9214,DEFAULT_CHART_HEATMAP_VALUES as _0x2d5ad2,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x532c13,DEFAULT_CHART_LEGEND_VALUES as _0x25a1df,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x1c37b3,DEFAULT_CHART_PARETO_VALUES as _0x244003,DEFAULT_CHART_PIE_VALUES as _0x1919ae,DEFAULT_CHART_RADAR_VALUES as _0x2f3dba,DEFAULT_CHART_RELATION_VALUES as _0x121b5c,DEFAULT_CHART_SERIES_VALUES as _0x37e1f0,DEFAULT_CHART_STYLE_VALUES as _0x37589e,DEFAULT_CHART_TITLE_VALUES as _0x1980a5,DEFAULT_CHART_TRENDLINE_VALUES as _0x161001,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x1c1b97,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x3e6462,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x4ad83a,InlineChartCreationIssueCode as _0x80d379,UniverChartUIPlugin as _0xdb8921,buildChartTypeSelectOptions as _0x58277a,chartTypeSupportsCapability as _0xfc9559,chartTypeSupportsLineAndAreaStyle as _0xe71936,createChartElementFloatMenuAdapter as _0x2f2c9b,createChartInlineStarterData as _0x11f1c1,getChartInlineTableMinColumns as _0xf4efad,resolveChartEditPanelRoute as _0x25e98d,resolveChartElementSelection as _0x378845,tryBuildInlineChartCreationPlan as _0x37314a,tryPrepareInlineChartData as _0x32e79f,useChartEditorChartType as _0x45c5bb,useChartEditorHasRightAxis as _0x3f9900,useChartTypeFieldState as _0x15c904}from'@univerjs-pro/chart-ui';import{Button as _0x5f405e,Select as _0x32964c,Separator as _0x55bdb4,borderClassName as _0x335244,clsx as _0x49e11f}from'@univerjs/design';import{DeleteIcon as _0xe5b4d2,PenIcon as _0x184bb1}from'@univerjs/icons';import{ComponentManager as _0x16fbc0,ICanvasPopupService as _0x5cf6c4,IDialogService as _0xdc88e0,useDependency as _0x11c57d,useObservable as _0x4951fb}from'@univerjs/ui';import{useEffect as _0x3d65d5,useMemo as _0x2702de,useRef as _0x1acdce,useState as _0x41a5b5}from'react';import{jsx as _0x5e799c,jsxs as _0x325495}from'react/jsx-runtime';import{CHART_HOST_DEFAULT_BORDER_COLOR as _0x327fa2,CHART_HOST_DEFAULT_BORDER_RADIUS as _0x579e99,ChartDataSourceRuntimeStatus as _0x3dd533,ChartHostRenderMode as _0xa8a587,ChartImageExportFormat as _0x2b715c,ChartThemeService as _0x1b68cc,ChartTypeBits as _0x567e7a,DataUrlImageChartHost as _0x49c6c9,IChartRenderModelManagerService as _0x41c8ae,chartBitsUtils as _0x30c895,chartTypeCanUseTrendLine as _0x1d8e32,defaultChartConfig as _0x2ca23e,isInlineChartDataSource as _0x1a9228,isReferencedChartDataSource as _0x231714,parseInlineChartTable as _0x1411e1,resolveChartRuntimeStyle as _0x1ab5cb,resolveDefaultChartHostFrameStyle as _0x4da770}from'@univerjs-pro/engine-chart';import{UniverLicensePlugin as _0x37b437}from'@univerjs-pro/license';import{IRenderManagerService as _0x143b2,Image as _0x506295,UniverRenderEnginePlugin as _0x3fbab6}from'@univerjs/engine-render';const Un=_0x499525(0x1cc),Wn={};function R(_0xa0326d){'@babel/helpers - typeof';const _0x239059=_0x499525;return R=typeof Symbol==_0x239059(0x268)&&typeof Symbol[_0x239059(0x3b1)]==_0x239059(0x2b3)?function(_0x55ac58){return typeof _0x55ac58;}:function(_0x33645a){return _0x33645a&&typeof Symbol=='function'&&_0x33645a['constructor']===Symbol&&_0x33645a!==Symbol['prototype']?'symbol':typeof _0x33645a;},R(_0xa0326d);}function Gn(_0x3b46ac,_0x31adee){const _0x150429=_0x499525;if(R(_0x3b46ac)!=_0x150429(0x293)||!_0x3b46ac)return _0x3b46ac;var _0x2b48fb=_0x3b46ac[Symbol[_0x150429(0x249)]];if(_0x2b48fb!==void 0x0){var _0x594090=_0x2b48fb[_0x150429(0x34a)](_0x3b46ac,_0x31adee||'default');if(R(_0x594090)!=_0x150429(0x293))return _0x594090;throw TypeError(_0x150429(0x2af));}return(_0x31adee===_0x150429(0x1c7)?String:Number)(_0x3b46ac);}function Kn(_0x2f528c){const _0x27bd69=_0x499525;var _0x512812=Gn(_0x2f528c,_0x27bd69(0x1c7));return R(_0x512812)==_0x27bd69(0x2b3)?_0x512812:_0x512812+'';}function z(_0x472965,_0x3a93d9,_0x5d26f4){const _0xc4d921=_0x499525;return(_0x3a93d9=Kn(_0x3a93d9))in _0x472965?Object[_0xc4d921(0x1c1)](_0x472965,_0x3a93d9,{'value':_0x5d26f4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x472965[_0x3a93d9]=_0x5d26f4,_0x472965;}function B(_0x72a892,_0x20b89b){return function(_0x46f439,_0xa20057){_0x20b89b(_0x46f439,_0xa20057,_0x72a892);};}function V(_0x3ac159,_0x43dabe,_0x4b9c4d,_0x3883fe){const _0x24fab3=_0x499525;var _0x189b05=arguments[_0x24fab3(0x315)],_0x1840d6=_0x189b05<0x3?_0x43dabe:_0x3883fe===null?_0x3883fe=Object[_0x24fab3(0x353)](_0x43dabe,_0x4b9c4d):_0x3883fe,_0x103fdc;if(typeof Reflect==_0x24fab3(0x293)&&typeof Reflect['decorate']==_0x24fab3(0x268))_0x1840d6=Reflect['decorate'](_0x3ac159,_0x43dabe,_0x4b9c4d,_0x3883fe);else{for(var _0x4ebf95=_0x3ac159[_0x24fab3(0x315)]-0x1;_0x4ebf95>=0x0;_0x4ebf95--)(_0x103fdc=_0x3ac159[_0x4ebf95])&&(_0x1840d6=(_0x189b05<0x3?_0x103fdc(_0x1840d6):_0x189b05>0x3?_0x103fdc(_0x43dabe,_0x4b9c4d,_0x1840d6):_0x103fdc(_0x43dabe,_0x4b9c4d))||_0x1840d6);}return _0x189b05>0x3&&_0x1840d6&&Object[_0x24fab3(0x1c1)](_0x43dabe,_0x4b9c4d,_0x1840d6),_0x1840d6;}function qn(_0x144e9d,_0x2fea97){const _0x101448=_0x499525;return(_0x144e9d==null?void 0x0:_0x144e9d[_0x101448(0x2e9)])===(_0x2fea97==null?void 0x0:_0x2fea97[_0x101448(0x2e9)])&&(_0x144e9d==null?void 0x0:_0x144e9d[_0x101448(0x2a1)])===(_0x2fea97==null?void 0x0:_0x2fea97[_0x101448(0x2a1)])&&(_0x144e9d==null?void 0x0:_0x144e9d[_0x101448(0x3b8)])===(_0x2fea97==null?void 0x0:_0x2fea97['titleKey'])&&(_0x144e9d==null?void 0x0:_0x144e9d[_0x101448(0x383)])===(_0x2fea97==null?void 0x0:_0x2fea97['axisId'])&&(_0x144e9d==null?void 0x0:_0x144e9d[_0x101448(0x2ba)])===(_0x2fea97==null?void 0x0:_0x2fea97[_0x101448(0x2ba)]);}function Jn(_0x3a0190,_0x5922bd){const _0x202e13=_0x499525;return(_0x3a0190==null?void 0x0:_0x3a0190[_0x202e13(0x262)])===_0x5922bd[_0x202e13(0x262)]&&_0x3a0190[_0x202e13(0x237)]===_0x5922bd['subUnitId']&&_0x3a0190[_0x202e13(0x34d)]===_0x5922bd[_0x202e13(0x34d)]&&_0x3a0190[_0x202e13(0x24c)]===_0x5922bd['chartId']&&_0x3a0190[_0x202e13(0x364)]===_0x5922bd[_0x202e13(0x364)]&&qn(_0x3a0190[_0x202e13(0x347)],_0x5922bd['route']);}function _0x30da(_0x2d81e7,_0x3ced10){_0x2d81e7=_0x2d81e7-0x192;const _0x1a29e7=_0x1a29();let _0x30daa6=_0x1a29e7[_0x2d81e7];return _0x30daa6;}let H=class extends _0x213704{constructor(_0x26a8b2,_0x4210d1){const _0x3d293c=_0x499525;super(),this[_0x3d293c(0x193)]=_0x26a8b2,this[_0x3d293c(0x1cb)]=_0x4210d1,z(this,_0x3d293c(0x2b6),new _0x228f45(null)),z(this,_0x3d293c(0x30b),this[_0x3d293c(0x2b6)][_0x3d293c(0x297)]()),this[_0x3d293c(0x2e6)](this[_0x3d293c(0x193)][_0x3d293c(0x20e)][_0x3d293c(0x1e5)](_0x4eec9f=>this[_0x3d293c(0x2f1)](_0x4eec9f))),this['disposeWithMe'](this[_0x3d293c(0x1cb)][_0x3d293c(0x374)]['subscribe'](_0x56da4e=>{const _0x3a98d7=_0x3d293c;let _0x44759f=this[_0x3a98d7(0x1b2)]();_0x44759f&&_0x56da4e[_0x3a98d7(0x243)](_0x524033=>_0x524033[_0x3a98d7(0x262)]===_0x44759f[_0x3a98d7(0x262)]&&_0x524033[_0x3a98d7(0x237)]===_0x44759f[_0x3a98d7(0x237)]&&_0x524033[_0x3a98d7(0x34d)]===_0x44759f[_0x3a98d7(0x34d)])&&this[_0x3a98d7(0x1b9)](_0x3a98d7(0x26c));}));}[_0x499525(0x211)](){const _0x259639=_0x499525;this['close'](_0x259639(0x211)),this[_0x259639(0x2b6)][_0x259639(0x1f6)](),super['dispose']();}[_0x499525(0x1b2)](){const _0x3db540=_0x499525;return this[_0x3db540(0x2b6)][_0x3db540(0x378)]();}[_0x499525(0x2a4)](_0x1550ea){const _0x24a9b8=_0x499525;let _0x14891b={..._0x1550ea};Jn(this[_0x24a9b8(0x1b2)](),_0x14891b)||this['_activeSession$'][_0x24a9b8(0x22a)](_0x14891b);}[_0x499525(0x1b9)](_0x80a4f2){const _0x3829e4=_0x499525;this['getActiveSession']()&&this[_0x3829e4(0x2b6)][_0x3829e4(0x22a)](null);}[_0x499525(0x2f1)](_0x57c227){const _0x18c4d7=_0x499525;let _0x45ca48=this[_0x18c4d7(0x1b2)]();if(!_0x45ca48)return;if(_0x57c227['isTransforming']){this[_0x18c4d7(0x1b9)](_0x18c4d7(0x2b8));return;}if(!_0x57c227[_0x18c4d7(0x281)]){this['close'](_0x18c4d7(0x294));return;}if(_0x57c227[_0x18c4d7(0x281)][_0x18c4d7(0x262)]!==_0x45ca48[_0x18c4d7(0x262)]){this[_0x18c4d7(0x1b9)](_0x18c4d7(0x294));return;}if(_0x57c227[_0x18c4d7(0x281)][_0x18c4d7(0x237)]!==_0x45ca48[_0x18c4d7(0x237)]){this['close']('pageChange');return;}if(_0x57c227[_0x18c4d7(0x35c)][_0x18c4d7(0x315)]!==0x1||_0x57c227[_0x18c4d7(0x301)]!==_0x45ca48[_0x18c4d7(0x34d)]){this['close']('selectionChange');return;}let _0x173ac9=this[_0x18c4d7(0x1cb)][_0x18c4d7(0x2ae)](_0x45ca48[_0x18c4d7(0x262)],_0x45ca48[_0x18c4d7(0x237)],_0x45ca48[_0x18c4d7(0x34d)]);(!_0x173ac9||_0x173ac9[_0x18c4d7(0x1c3)]['type']!==_0xdc726d[_0x18c4d7(0x2d4)]||_0x173ac9[_0x18c4d7(0x1c3)][_0x18c4d7(0x24c)]!==_0x45ca48['chartId'])&&this[_0x18c4d7(0x1b9)](_0x18c4d7(0x294));}};H=V([B(0x0,_0x393ad4),B(0x1,_0x312cb0)],H);const U=_0x4ed68c(_0x499525(0x1b3));let Yn=class extends _0x4830f0{constructor(_0x7e7958,_0x59ef79,_0x1f406f,_0x4a2c93){const _0x1e1808=_0x499525;super(_0x4a2c93),this[_0x1e1808(0x214)]=_0x7e7958,this[_0x1e1808(0x265)]=_0x59ef79,this[_0x1e1808(0x1be)]=_0x1f406f;}get[_0x499525(0x2eb)](){const _0x476675=_0x499525;return this[_0x476675(0x214)][_0x476675(0x2eb)];}get[_0x499525(0x2a2)](){const _0x337cba=_0x499525;return this['_modelService'][_0x337cba(0x2a2)];}get[_0x499525(0x3b4)](){const _0x4bc6a9=_0x499525;return this[_0x4bc6a9(0x265)];}[_0x499525(0x1d6)](_0x1ab00c){const _0x62001b=_0x499525;let _0x1937f5=this[_0x62001b(0x214)][_0x62001b(0x2eb)],_0x39204e=_0x1ab00c[_0x62001b(0x262)]??(_0x1937f5==null?void 0x0:_0x1937f5[_0x62001b(0x262)]),_0x111bf9=_0x1ab00c['chartId']??(_0x1937f5==null?void 0x0:_0x1937f5[_0x62001b(0x24c)]);!_0x39204e||!_0x111bf9||this[_0x62001b(0x1be)][_0x62001b(0x1f2)](_0x64abad['id'],{..._0x1ab00c,'unitId':_0x39204e,'chartId':_0x111bf9});}};Yn=V([B(0x0,_0x496119(_0x37b64c)),B(0x1,_0x496119(_0x2cd96e)),B(0x2,_0xa6f2d7),B(0x3,_0x496119(_0x9541e8))],Yn);const Xn=_0x499525(0x396);function Zn(_0x27154c){_0x27154c['stopPropagation']();}function Qn(_0x1059ba){const _0x54494e=_0x499525;let _0x2b78a2=_0x11c57d(_0xa6f2d7),_0x219da4=_0x11c57d(_0x4cc5cd),_0x3e429b=_0x11c57d(_0x37b64c),_0x27a99b=_0x11c57d(H),_0x5f3054=_0x15c904(_0x1059ba[_0x54494e(0x2cc)]),{extraProps:_0x1841fa}=_0x1059ba;return _0x325495('div',{'className':_0x49e11f(_0x54494e(0x295),_0x335244),'data-u-comp':_0x54494e(0x3ab),'role':'toolbar','onMouseDown':Zn,'onPointerDown':Zn,'children':[_0x5e799c(_0x32964c,{'aria-label':_0x219da4['t'](_0x54494e(0x29c)),'className':_0x54494e(0x35d),'value':_0x5f3054['value'],'options':_0x1059ba[_0x54494e(0x2cc)],'onChange':_0x18fedf=>{const _0x2e5e54=_0x54494e;_0x3e429b[_0x2e5e54(0x1c2)](_0x1841fa[_0x2e5e54(0x262)],_0x1841fa[_0x2e5e54(0x24c)]),_0x5f3054['setValue'](_0x18fedf);}}),_0x5e799c(_0x55bdb4,{'orientation':_0x54494e(0x21c)}),_0x5e799c(_0x5f405e,{'size':'small','variant':_0x54494e(0x2b7),'type':_0x54494e(0x390),'aria-label':_0x219da4['t']('boards-chart-ui.common.editChart'),'title':_0x219da4['t'](_0x54494e(0x20d)),'data-toolbar-item':'edit-chart','onClick':()=>{const _0x621bba=_0x54494e;_0x27a99b[_0x621bba(0x2a4)]({'chartId':_0x1841fa[_0x621bba(0x24c)],'elementId':_0x1841fa[_0x621bba(0x34d)],'source':_0x621bba(0x1a1),'subUnitId':_0x1841fa[_0x621bba(0x237)],'unitId':_0x1841fa[_0x621bba(0x262)]});},'children':_0x5e799c(_0x184bb1,{})}),_0x5e799c(_0x5f405e,{'size':_0x54494e(0x329),'variant':_0x54494e(0x2b7),'type':_0x54494e(0x390),'aria-label':_0x219da4['t'](_0x54494e(0x226)),'title':_0x219da4['t']('boards-chart-ui.common.deleteChart'),'data-toolbar-item':'delete-chart','onClick':()=>_0x2b78a2[_0x54494e(0x1f2)](_0x567928['id']),'children':_0x5e799c(_0xe5b4d2,{})})]});}function $n(_0x709337){const _0x28e243=_0x499525;let _0x277699=_0x11c57d(_0x11a7be),_0x4fc4ad=_0x11c57d(_0x1cc825),_0x4e3801=_0x11c57d(_0x4cc5cd),_0x35a121=_0x11c57d(_0x37b64c),_0x29d06f=_0x11c57d(U),_0x43df61=_0x2702de(()=>_0x35a121[_0x28e243(0x2ec)](_0x709337[_0x28e243(0x262)],_0x709337[_0x28e243(0x24c)]),[_0x709337[_0x28e243(0x24c)],_0x709337[_0x28e243(0x262)],_0x35a121]),_0x380f03=_0x2702de(()=>{const _0x1353fc=_0x28e243;let _0x5c83d2=_0x4fc4ad[_0x1353fc(0x1ec)](_0x709337[_0x1353fc(0x262)],_0x361416[_0x1353fc(0x2df)]);return!_0x43df61||!_0x5c83d2?null:new _0x19ae32(_0x43df61['model'],new _0x6807e4({'unitId':_0x709337[_0x1353fc(0x262)],'pageId':_0x709337['subUnitId'],'chartId':_0x709337['chartId'],'elementId':_0x709337[_0x1353fc(0x34d)],'boardModel':_0x5c83d2,'injector':_0x277699}));},[_0x709337,_0x277699,_0x43df61,_0x4fc4ad]),_0x2266f3=_0x2702de(()=>_0x58277a(_0xcd7567['map'](_0x45d954=>({..._0x45d954,'label':_0x4e3801['t'](_0x28e243(0x3a2)+_0x45d954[_0x28e243(0x1a2)])}))),[_0x4e3801]);return!_0x43df61||!_0x380f03?null:_0x5e799c(_0x33a395,{'chartUIService':_0x29d06f,'hostAdapter':_0x380f03,'children':_0x5e799c(Qn,{'extraProps':_0x709337,'typeOptions':_0x2266f3})});}function er(_0x7c6b36){const _0x309abe=_0x499525;let _0x2349bc=_0x7c6b36[_0x309abe(0x3a1)][_0x309abe(0x1cf)];return _0x2349bc?_0x5e799c($n,{..._0x2349bc}):null;}let tr=class extends _0x3f8dd1{constructor(_0x5dae3a,_0x388674,_0x5dd35d,_0x4dcdd8,_0xf22711,_0x5390b7,_0x415028){const _0xc208a1=_0x499525;super(),this[_0xc208a1(0x31c)]=_0x5dae3a,this[_0xc208a1(0x349)]=_0x388674,this['_boardElementService']=_0x5dd35d,this[_0xc208a1(0x193)]=_0x4dcdd8,this[_0xc208a1(0x1fe)]=_0xf22711,this[_0xc208a1(0x2ab)]=_0x5390b7,this[_0xc208a1(0x1d1)]=_0x415028,z(this,'_popupDisposable',null),z(this,_0xc208a1(0x23e),null),this['_init']();}[_0x499525(0x211)](){this['_clearPopup'](),super['dispose']();}['_init'](){const _0x4b5fc5=_0x499525;let _0x38aabc=this[_0x4b5fc5(0x31c)][_0x4b5fc5(0x21b)]['getTransformerByCreate']();this[_0x4b5fc5(0x2e6)](_0xdc18c3(_0x38aabc[_0x4b5fc5(0x267)][_0x4b5fc5(0x203)](_0x35fa67(this['dispose$']))[_0x4b5fc5(0x1e5)](()=>{const _0x588d1e=_0x4b5fc5;this[_0x588d1e(0x2d5)]();}))),this[_0x4b5fc5(0x2e6)](_0xdc18c3(_0x38aabc[_0x4b5fc5(0x19a)][_0x4b5fc5(0x203)](_0x35fa67(this['dispose$']))['subscribe'](()=>{const _0x39dea4=_0x4b5fc5;this[_0x39dea4(0x37c)]();}))),this['disposeWithMe'](_0xdc18c3(_0x38aabc[_0x4b5fc5(0x29a)][_0x4b5fc5(0x203)](_0x35fa67(this[_0x4b5fc5(0x2ce)]))[_0x4b5fc5(0x1e5)](()=>{const _0x405d69=_0x4b5fc5;this[_0x405d69(0x38f)]();}))),this['disposeWithMe'](_0xdc18c3(_0x38aabc[_0x4b5fc5(0x20f)][_0x4b5fc5(0x203)](_0x35fa67(this['dispose$']))[_0x4b5fc5(0x1e5)](()=>{const _0x302880=_0x4b5fc5;setTimeout(()=>this[_0x302880(0x2d5)](),0x0);}))),this['disposeWithMe'](_0xdc18c3(this[_0x4b5fc5(0x193)][_0x4b5fc5(0x20e)][_0x4b5fc5(0x203)](_0x35fa67(this[_0x4b5fc5(0x2ce)]))[_0x4b5fc5(0x1e5)](()=>{const _0x3c7bf9=_0x4b5fc5;setTimeout(()=>this[_0x3c7bf9(0x2d5)](),0x0);}))),this[_0x4b5fc5(0x2e6)](_0xdc18c3(this[_0x4b5fc5(0x1fe)][_0x4b5fc5(0x20e)][_0x4b5fc5(0x203)](_0x35fa67(this['dispose$']))['subscribe'](()=>{const _0x4c168d=_0x4b5fc5;setTimeout(()=>this[_0x4c168d(0x2d5)](),0x0);}))),this[_0x4b5fc5(0x2e6)](_0xdc18c3(this['_editSessionService'][_0x4b5fc5(0x30b)][_0x4b5fc5(0x203)](_0x35fa67(this[_0x4b5fc5(0x2ce)]))[_0x4b5fc5(0x1e5)](_0x428467=>{const _0x58e7b7=_0x4b5fc5;if(_0x428467){this[_0x58e7b7(0x38f)]();return;}setTimeout(()=>this[_0x58e7b7(0x2d5)](),0x0);}))),this['disposeWithMe'](_0xdc18c3(this[_0x4b5fc5(0x1d1)][_0x4b5fc5(0x372)]['pipe'](_0x35fa67(this[_0x4b5fc5(0x2ce)]))[_0x4b5fc5(0x1e5)](_0x522391=>{const _0x57c7ed=_0x4b5fc5;if(_0x522391){this[_0x57c7ed(0x38f)]();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);})));}[_0x499525(0x38f)](){const _0x53987c=_0x499525;var _0x51c405;(_0x51c405=this['_popupDisposable'])==null||_0x51c405[_0x53987c(0x211)](),this[_0x53987c(0x27d)]=null,this['_popupSelectionKey']=null;}[_0x499525(0x37c)](){setTimeout(()=>{const _0x43da3d=_0x30da;this[_0x43da3d(0x197)]()||this['_clearPopup']();},0x0);}[_0x499525(0x197)](){const _0x5c6533=_0x499525;let _0x300f39=this['_elementStateService'][_0x5c6533(0x1b8)]();return!_0x300f39[_0x5c6533(0x281)]||_0x300f39[_0x5c6533(0x35c)][_0x5c6533(0x315)]!==0x1?!0x1:this['_popupSelectionKey']===this['_buildPopupSelectionKey'](_0x300f39[_0x5c6533(0x281)][_0x5c6533(0x262)],_0x300f39['context'][_0x5c6533(0x237)],_0x300f39[_0x5c6533(0x35c)][0x0]);}['_buildPopupSelectionKey'](_0x2de2c9,_0x1d1625,_0x43216a){return _0x2de2c9+':'+_0x1d1625+':'+_0x43216a;}[_0x499525(0x2d5)](){const _0xa3d91e=_0x499525;if(this[_0xa3d91e(0x1d1)]['isInteractionSurfaceActive']||this[_0xa3d91e(0x2ab)][_0xa3d91e(0x1b2)]()){this['_clearPopup']();return;}let _0x572889=this[_0xa3d91e(0x193)][_0xa3d91e(0x1b8)](),_0x224254=this['_uiStateService']['getState']();if(_0x572889[_0xa3d91e(0x2fb)]||_0x224254['pendingInsert']||_0x224254[_0xa3d91e(0x26d)]!==null&&_0x224254[_0xa3d91e(0x26d)]!==_0x354b3a[_0xa3d91e(0x21e)]||!_0x572889[_0xa3d91e(0x281)]||_0x572889[_0xa3d91e(0x281)][_0xa3d91e(0x262)]!==this['_renderContext'][_0xa3d91e(0x262)]||_0x572889['selectedIds'][_0xa3d91e(0x315)]!==0x1||_0x572889['focusedId']==null){this[_0xa3d91e(0x38f)]();return;}let _0x2ca8f1=this['_boardElementService'][_0xa3d91e(0x2ae)](_0x572889[_0xa3d91e(0x281)][_0xa3d91e(0x262)],_0x572889[_0xa3d91e(0x281)][_0xa3d91e(0x237)],_0x572889[_0xa3d91e(0x301)]);if(!_0x2ca8f1||_0x2ca8f1[_0xa3d91e(0x1c3)][_0xa3d91e(0x1b0)]!==_0xdc726d['Chart']){this[_0xa3d91e(0x38f)]();return;}let _0x2b9354=this['_resolveElementObject'](_0x2ca8f1);if(!_0x2b9354){this['_clearPopup']();return;}let _0x33c759=this[_0xa3d91e(0x324)](_0x2ca8f1[_0xa3d91e(0x262)],_0x2ca8f1['subUnitId'],_0x2ca8f1[_0xa3d91e(0x34d)]);this['_popupDisposable']&&this[_0xa3d91e(0x23e)]===_0x33c759||(this[_0xa3d91e(0x38f)](),this[_0xa3d91e(0x27d)]=this[_0xa3d91e(0x2e6)](this[_0xa3d91e(0x349)]['attachPopupToObject'](_0x2ca8f1[_0xa3d91e(0x262)],_0x2ca8f1[_0xa3d91e(0x237)],_0x2b9354,{'componentKey':Xn,'direction':'top-center','offset':[0x0,0x24],'anchorBoundResolver':_0x4386fb,'extraProps':{'unitId':_0x2ca8f1['unitId'],'subUnitId':_0x2ca8f1['subUnitId'],'elementId':_0x2ca8f1[_0xa3d91e(0x34d)],'chartId':_0x2ca8f1[_0xa3d91e(0x1c3)]['chartId']}})),this[_0xa3d91e(0x23e)]=_0x33c759);}['_resolveElementObject'](_0x126a04){const _0x1d1c2e=_0x499525;var _0x56ca45;let _0x170db6=_0x53e8ae(_0x126a04[_0x1d1c2e(0x262)],_0x126a04[_0x1d1c2e(0x34d)]),_0x46aafd=this[_0x1d1c2e(0x31c)][_0x1d1c2e(0x21b)];return((_0x56ca45=_0x46aafd[_0x1d1c2e(0x1d7)])==null?void 0x0:_0x56ca45[_0x1d1c2e(0x34a)](_0x46aafd,_0x170db6))??_0x46aafd['getObject'](_0x170db6)??null;}};tr=V([B(0x1,_0x496119(_0x211d45)),B(0x2,_0x312cb0),B(0x3,_0x393ad4),B(0x4,_0x136685),B(0x5,_0x496119(H)),B(0x6,_0x496119(_0x1292ec))],tr);let W=class extends _0x3f8dd1{constructor(_0x12e008,_0xe71117,_0x3ee4ca,_0x3df3d4,_0x445434,_0xb8876d){const _0x5b7c3c=_0x499525;super(),this['_renderContext']=_0x12e008,this['_instanceService']=_0xe71117,this[_0x5b7c3c(0x1cb)]=_0x3ee4ca,this['_elementStateService']=_0x3df3d4,this[_0x5b7c3c(0x1fe)]=_0x445434,this[_0x5b7c3c(0x2ab)]=_0xb8876d,z(this,_0x5b7c3c(0x334),!0x1),z(this,_0x5b7c3c(0x28e),null),this[_0x5b7c3c(0x397)]();}[_0x499525(0x397)](){const _0x16d91d=_0x499525;let {unitId:_0x228750}=this[_0x16d91d(0x31c)],_0x50dfe0=this[_0x16d91d(0x2a9)][_0x16d91d(0x1ec)](_0x228750,_0x361416[_0x16d91d(0x2df)]);this['disposeWithMe'](_0xdc18c3(()=>{const _0x52ed3d=_0x16d91d;var _0x5bd823;return(_0x5bd823=this['_objectDblclickDisposables'])==null?void 0x0:_0x5bd823[_0x52ed3d(0x211)]();})),_0x50dfe0&&(this[_0x16d91d(0x1e9)](_0x50dfe0),this[_0x16d91d(0x2e6)](this['_boardElementService'][_0x16d91d(0x1d2)][_0x16d91d(0x1e5)](_0x1fd45d=>{const _0x4de2d1=_0x16d91d;_0x1fd45d[_0x4de2d1(0x243)](_0xdf140=>_0xdf140[_0x4de2d1(0x262)]===_0x228750)&&this['_scheduleAttachObjectDoubleClicks'](_0x50dfe0);})),this['disposeWithMe'](this[_0x16d91d(0x1cb)][_0x16d91d(0x1f5)]['subscribe'](_0x105c67=>{const _0x2fe05d=_0x16d91d;_0x105c67[_0x2fe05d(0x243)](_0x119e45=>_0x119e45['unitId']===_0x228750)&&this[_0x2fe05d(0x1e9)](_0x50dfe0);})),this[_0x16d91d(0x2e6)](this[_0x16d91d(0x1cb)][_0x16d91d(0x374)]['subscribe'](_0x46f328=>{const _0x49a26c=_0x16d91d;_0x46f328[_0x49a26c(0x243)](_0x8e8471=>_0x8e8471[_0x49a26c(0x262)]===_0x228750)&&this[_0x49a26c(0x1e9)](_0x50dfe0);})),this[_0x16d91d(0x2e6)](this[_0x16d91d(0x193)][_0x16d91d(0x20e)][_0x16d91d(0x1e5)](_0xa3b51a=>{const _0x43c924=_0x16d91d;var _0xcbc00b;((_0xcbc00b=_0xa3b51a[_0x43c924(0x281)])==null?void 0x0:_0xcbc00b['unitId'])===_0x228750&&this[_0x43c924(0x1e9)](_0x50dfe0);})));}[_0x499525(0x1e9)](_0x25b3ff){const _0x2c0033=_0x499525;this[_0x2c0033(0x334)]||(this['_attachScheduled']=!0x0,Promise[_0x2c0033(0x33f)]()[_0x2c0033(0x333)](()=>this['_attachObjectDoubleClicks'](_0x25b3ff)));}[_0x499525(0x223)](_0x347716){const _0x5b1d87=_0x499525;var _0x40993f;this['_attachScheduled']=!0x1;let {scene:_0x4746d5,unitId:_0x425121}=this[_0x5b1d87(0x31c)],_0x192f7e=_0x347716[_0x5b1d87(0x306)](),_0x43ad50=this[_0x5b1d87(0x1cb)][_0x5b1d87(0x222)](_0x425121,_0x192f7e),_0x11cadf=new _0x1ae3d6();(_0x40993f=this[_0x5b1d87(0x28e)])==null||_0x40993f[_0x5b1d87(0x211)](),this[_0x5b1d87(0x28e)]=_0x11cadf,_0x43ad50['forEach'](_0x309d7d=>{const _0x58092e=_0x5b1d87;var _0x470363;let _0x288114=this[_0x58092e(0x1cb)][_0x58092e(0x2ae)](_0x425121,_0x192f7e,_0x309d7d);if(!_0x288114||_0x288114[_0x58092e(0x1c3)][_0x58092e(0x1b0)]!==_0xdc726d[_0x58092e(0x2d4)])return;let _0x4d4e0b=_0x53e8ae(_0x425121,_0x309d7d),_0x366d7a=((_0x470363=_0x4746d5[_0x58092e(0x1d7)])==null?void 0x0:_0x470363[_0x58092e(0x34a)](_0x4746d5,_0x4d4e0b))??_0x4746d5[_0x58092e(0x259)](_0x4d4e0b);_0x366d7a&&_0x11cadf[_0x58092e(0x34b)](_0xdc18c3(_0x366d7a[_0x58092e(0x23a)][_0x58092e(0x192)]((_0x2e854d,_0x31a914)=>{this['_openEditSession'](_0x288114,_0x2e854d,_0x31a914);})));});}[_0x499525(0x29e)](_0x1a2568,_0x231b8f,_0x18b963){const _0x35d784=_0x499525;var _0x209a22;if(this[_0x35d784(0x1fe)][_0x35d784(0x199)]()['pendingInsert']||this[_0x35d784(0x193)][_0x35d784(0x1b8)]()['isTransforming']||_0x1a2568[_0x35d784(0x1c3)][_0x35d784(0x1b0)]!==_0xdc726d[_0x35d784(0x2d4)])return;let _0x3654d8={'unitId':_0x1a2568['unitId'],'subUnitId':_0x1a2568[_0x35d784(0x237)]};this[_0x35d784(0x193)][_0x35d784(0x291)](_0x3654d8,[_0x1a2568[_0x35d784(0x34d)]],_0x1a2568[_0x35d784(0x34d)]),this['_elementStateService'][_0x35d784(0x399)](_0x3654d8,null),this['_editSessionService']['open']({'chartId':_0x1a2568[_0x35d784(0x1c3)][_0x35d784(0x24c)],'elementId':_0x1a2568[_0x35d784(0x34d)],'source':_0x35d784(0x3ad),'subUnitId':_0x1a2568[_0x35d784(0x237)],'unitId':_0x1a2568[_0x35d784(0x262)]}),_0x18b963&&(_0x18b963[_0x35d784(0x1af)]=!0x0),_0x231b8f==null||(_0x209a22=_0x231b8f[_0x35d784(0x36a)])==null||_0x209a22[_0x35d784(0x34a)](_0x231b8f);}};W=V([B(0x1,_0x1cc825),B(0x2,_0x312cb0),B(0x3,_0x393ad4),B(0x4,_0x136685),B(0x5,_0x496119(H))],W);let G=class extends _0x213704{constructor(_0x573841,_0x349908,_0x1cb7f2){const _0xb42741=_0x499525;super(),this[_0xb42741(0x265)]=_0x573841,this['_modelService']=_0x349908,this[_0xb42741(0x1be)]=_0x1cb7f2;}[_0x499525(0x27f)](_0xd07978,_0x5688cc){const _0x371915=_0x499525;let _0x52ae2e=this[_0x371915(0x265)]['getChart'](_0xd07978,_0x5688cc),_0x50d631=_0x52ae2e?this[_0x371915(0x265)][_0x371915(0x3a4)](_0xd07978,_0x52ae2e[_0x371915(0x2a8)]):void 0x0;return!_0x52ae2e||!_0x50d631?null:{'chartId':_0x5688cc,'chartType':_0x52ae2e[_0x371915(0x276)],'dataSource':_0x50d631,'sharingCount':this[_0x371915(0x265)][_0x371915(0x1bf)](_0xd07978,_0x50d631['id']),'unitId':_0xd07978};}async[_0x499525(0x24f)](_0x2a4ff1){const _0x4d23bc=_0x499525;var _0x142100;if(!this['getDataEditState'](_0x2a4ff1[_0x4d23bc(0x262)],_0x2a4ff1[_0x4d23bc(0x24c)])||_0x2a4ff1[_0x4d23bc(0x1b4)][_0x4d23bc(0x315)]===0x0)return!0x1;let _0x165279=(_0x142100=this[_0x4d23bc(0x265)]['getChart'](_0x2a4ff1[_0x4d23bc(0x262)],_0x2a4ff1['chartId']))==null?void 0x0:_0x142100[_0x4d23bc(0x276)];if(_0x165279===void 0x0)return!0x1;let _0x4f6004=_0x32e79f(_0x165279,_0x2a4ff1['values']);if(!_0x4f6004['ok'])return!0x1;let _0x2f19f0=await this[_0x4d23bc(0x2d8)](_0x2a4ff1[_0x4d23bc(0x262)],_0x2a4ff1['chartId'],{'values':_0x4f6004[_0x4d23bc(0x1b4)]});return _0x2f19f0&&this[_0x4d23bc(0x214)][_0x4d23bc(0x3b5)](_0x2a4ff1[_0x4d23bc(0x262)],_0x2a4ff1[_0x4d23bc(0x24c)]),!!_0x2f19f0;}[_0x499525(0x2d8)](_0x382322,_0x5d827e,_0x44180d){const _0x2a68e5=_0x499525;return this[_0x2a68e5(0x1be)][_0x2a68e5(0x1f2)](_0xf1aeb9['id'],{'unitId':_0x382322,'chartId':_0x5d827e,'dataSource':_0x44180d});}};G=V([B(0x0,_0x496119(_0x2cd96e)),B(0x1,_0x496119(_0x37b64c)),B(0x2,_0xa6f2d7)],G);const nr=_0x499525(0x1d4);function rr(_0x4ec50d){const _0x4c51e4=_0x499525;let _0x3b6e8f=_0x11c57d(G),_0x3dde35=_0x11c57d(_0x4cc5cd),_0x51ce5d=_0x3b6e8f[_0x4c51e4(0x27f)](_0x4ec50d[_0x4c51e4(0x262)],_0x4ec50d[_0x4c51e4(0x24c)]),[_0x46cfd3,_0x1878e4]=_0x41a5b5(()=>_0x1a9228(_0x51ce5d==null?void 0x0:_0x51ce5d['dataSource'])?_0x51ce5d[_0x4c51e4(0x31a)][_0x4c51e4(0x1b4)][_0x4c51e4(0x22f)](_0x593242=>[..._0x593242]):[]),[_0x400154,_0x4b65fb]=_0x41a5b5(()=>_0x231714(_0x51ce5d==null?void 0x0:_0x51ce5d[_0x4c51e4(0x31a)])?_0x4c51e4(0x257):_0x4c51e4(0x286)),[_0xa22bd6,_0x25a5c4]=_0x41a5b5(null),[_0x1bf0bf,_0x3848d0]=_0x41a5b5(null),_0x4b1966={[_0x80d379[_0x4c51e4(0x1dc)]]:_0x3dde35['t'](_0x4c51e4(0x1eb)),[_0x80d379[_0x4c51e4(0x36e)]]:_0x3dde35['t'](_0x4c51e4(0x1bb)),[_0x80d379[_0x4c51e4(0x331)]]:_0x3dde35['t']('boards-chart-ui.candlestick.columnsError')};if(!_0x51ce5d)return _0x5e799c('div',{'className':_0x4c51e4(0x3ba),'children':_0x3dde35['t']('boards-chart-ui.dataEditor.unavailable')});let _0x4d4f8a=async _0x1c2090=>{const _0x1deb57=_0x4c51e4;var _0x5e3f24;if(_0x400154===_0x1deb57(0x257)){var _0x156d31;if(!_0xa22bd6)return;if(!await _0x3b6e8f['changeDataSource'](_0x4ec50d['unitId'],_0x4ec50d[_0x1deb57(0x24c)],_0xa22bd6)){_0x3848d0(_0x3dde35['t'](_0x1deb57(0x335)));return;}_0x3848d0(null),(_0x156d31=_0x4ec50d['onClose'])==null||_0x156d31[_0x1deb57(0x34a)](_0x4ec50d);return;}let _0x52d7bb=_0x32e79f(_0x51ce5d[_0x1deb57(0x276)],_0x46cfd3);if(!_0x52d7bb['ok']){_0x3848d0(_0x4b1966[_0x52d7bb[_0x1deb57(0x2a3)][_0x1deb57(0x22c)]]);return;}if(!await _0x3b6e8f[_0x1deb57(0x24f)]({'chartId':_0x4ec50d[_0x1deb57(0x24c)],'name':_0x51ce5d[_0x1deb57(0x31a)][_0x1deb57(0x252)],'unitId':_0x4ec50d[_0x1deb57(0x262)],'updateShared':_0x1c2090,'values':_0x52d7bb[_0x1deb57(0x1b4)]})){_0x3848d0(_0x3dde35['t']('boards-chart-ui.dataEditor.updateFailed'));return;}_0x3848d0(null),(_0x5e3f24=_0x4ec50d[_0x1deb57(0x23c)])==null||_0x5e3f24[_0x1deb57(0x34a)](_0x4ec50d);};return _0x325495(_0x4c51e4(0x1d8),{'className':_0x4c51e4(0x35b),'children':[_0x5e799c(_0x2299e5,{'mode':_0x400154,'initialSource':_0x231714(_0x51ce5d[_0x4c51e4(0x31a)])?_0x51ce5d['dataSource'][_0x4c51e4(0x364)]:void 0x0,'inlineContent':_0x5e799c(_0x46ec38,{'values':_0x46cfd3,'parsePastedText':_0x1411e1,'onChange':_0x1878e4}),'onModeChange':_0x5d5a8e=>{_0x4b65fb(_0x5d5a8e),_0x25a5c4(null);},'onPreviewChange':(_0x114164,_0x23ade7)=>_0x25a5c4(_0x114164&&_0x23ade7[_0x4c51e4(0x360)]===_0x3dd533[_0x4c51e4(0x1a4)]?{'source':_0x114164}:null)}),_0x1bf0bf&&_0x5e799c(_0x4c51e4(0x1d8),{'className':_0x4c51e4(0x2a5),'children':_0x1bf0bf}),_0x325495(_0x4c51e4(0x1d8),{'className':_0x4c51e4(0x1e7),'children':[_0x4ec50d[_0x4c51e4(0x23c)]&&_0x5e799c(_0x5f405e,{'type':_0x4c51e4(0x390),'variant':_0x4c51e4(0x386),'onClick':_0x4ec50d[_0x4c51e4(0x23c)],'children':_0x3dde35['t']('boards-chart-ui.common.cancel')}),_0x5e799c(_0x5f405e,{'type':_0x4c51e4(0x390),'variant':'primary','disabled':_0x400154===_0x4c51e4(0x257)&&!_0xa22bd6,'onClick':()=>_0x4d4f8a(!0x0),'children':_0x3dde35['t'](_0x4c51e4(0x1df))})]})]});}const ir={'id':_0x499525(0x37e),'type':_0x45a710['OPERATION'],'handler':(_0x491b8f,_0x1201e6)=>{const _0x3a92a9=_0x499525;if(!_0x1201e6||!_0x491b8f[_0x3a92a9(0x234)](G)[_0x3a92a9(0x27f)](_0x1201e6['unitId'],_0x1201e6[_0x3a92a9(0x24c)])||!_0x491b8f[_0x3a92a9(0x234)](_0x16fbc0)[_0x3a92a9(0x234)](_0x3a92a9(0x1d4)))return!0x1;let _0xf1c735=_0x491b8f['get'](_0xdc88e0),_0x4f17e7=_0x491b8f[_0x3a92a9(0x234)](_0x4cc5cd),_0x550564=null,_0x187f3f=()=>{const _0x137e2a=_0x3a92a9;_0x550564==null||_0x550564[_0x137e2a(0x211)](),_0x550564=null;};return _0x550564=_0xf1c735['open']({'id':_0x3a92a9(0x25d),'title':{'title':_0x4f17e7['t']('boards-chart-ui.common.editData')},'width':_0x3a92a9(0x34e),'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':nr,'props':{..._0x1201e6,'onClose':_0x187f3f}}},'onClose':_0x187f3f}),!0x0;}},ar='board-chart.edit-panel',K={'axis':{..._0x5d23a2,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':_0x25a1df,'lineAndArea':_0x1c37b3,'pareto':_0x244003,'funnel':_0x3a9214,'heatmap':_0x2d5ad2,'indicatorLine':_0x532c13,'pie':{..._0x1919ae,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x121b5c,'useValueAsSymbolSize':!0x0},'radar':_0x2f3dba,'series':{..._0x37e1f0,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x37589e,'titles':_0x1980a5,'trendline':_0x161001,'waterfall':{..._0x1c1b97,'useSubtotal':!0x1},'waterfallStyle':_0x3e6462,'wordCloud':_0x4ad83a},or=[_0x567e7a[_0x499525(0x22d)],_0x567e7a[_0x499525(0x39c)],_0x567e7a[_0x499525(0x2bf)],_0x567e7a['Scatter'],_0x567e7a['Relation'],_0x567e7a[_0x499525(0x241)],_0x567e7a['Heatmap'],_0x567e7a[_0x499525(0x2ed)],_0x567e7a['Candlestick'],_0x567e7a[_0x499525(0x3ac)],_0x567e7a['Treemap'],_0x567e7a[_0x499525(0x1ef)],_0x567e7a['Gauge'],_0x567e7a[_0x499525(0x1ca)]];function sr(_0x1c3ab7){const _0x14f2c4=_0x499525;let _0x121b81=_0x11c57d(_0x4cc5cd);return _0x325495('div',{'children':[_0x5e799c(_0x41b488,{'title':_0x121b81['t']('boards-chart-ui.common.data')}),_0x5e799c(_0x5f405e,{'type':_0x14f2c4(0x390),'variant':_0x14f2c4(0x386),'className':'univer-w-full\x20univer-justify-start','onClick':_0x1c3ab7[_0x14f2c4(0x218)],'children':_0x121b81['t'](_0x14f2c4(0x1a0))})]});}function cr(){const _0x16154d=_0x499525;let _0x81ff1e=_0x45c5bb();return _0x5e799c(_0x1f745c,{'visible':or[_0x16154d(0x369)](_0xf84c40=>!_0x30c895[_0x16154d(0x287)](_0x81ff1e,_0xf84c40))});}function lr(_0x1801a8){const _0x1afb38=_0x499525;return _0x325495(_0x50b71f,{'id':_0x1801a8['id'],'children':[_0x5e799c(_0x4c7dec,{'children':_0x1801a8['label']}),_0x5e799c(_0x6e0864,{'children':_0x1801a8[_0x1afb38(0x219)]})]});}function ur(_0x4e77f1,_0x1c651a){const _0x23d040=_0x499525;let _0x1d2474=_0x4e77f1===_0x567e7a[_0x23d040(0x2bf)],_0x424cda=_0x30c895[_0x23d040(0x287)](_0x4e77f1,_0x567e7a[_0x23d040(0x209)]),_0x260991=_0x4e77f1===_0x567e7a['Funnel'],_0x99ba75=_0x4e77f1===_0x567e7a[_0x23d040(0x1c0)],_0x2da4e4=_0x4e77f1===_0x567e7a['Heatmap'],_0x3d65c7=_0x30c895[_0x23d040(0x287)](_0x4e77f1,_0x567e7a['Pie']),_0x653abc=_0x4e77f1===_0x567e7a[_0x23d040(0x39c)],_0x58cc0b=_0x4e77f1===_0x567e7a[_0x23d040(0x354)],_0x8fad1e=_0x4e77f1===_0x567e7a[_0x23d040(0x195)],_0x7cb747=_0x4e77f1===_0x567e7a['Candlestick'],_0x4d362a=_0x4e77f1===_0x567e7a[_0x23d040(0x3ac)],_0x137d9a=_0x4e77f1===_0x567e7a[_0x23d040(0x205)],_0x3a9ad9=_0x4e77f1===_0x567e7a['Sunburst'],_0x59225b=_0x4e77f1===_0x567e7a[_0x23d040(0x3b9)],_0x1d6f34=_0x4e77f1===_0x567e7a[_0x23d040(0x1ca)],_0x403486=[_0x5b8450[_0x23d040(0x28a)],_0x5b8450[_0x23d040(0x342)]];return _0x1d2474&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x2bf)]),_0xfc9559(_0x4e77f1,_0x4943ee['GeneralSeries'])&&!_0x424cda&&!_0x8fad1e&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x3af)]),_0x58cc0b&&_0x403486['push'](_0x5b8450['WaterfallSeries']),_0x8fad1e&&_0x403486['push'](_0x5b8450['ParetoBarSeries'],_0x5b8450[_0x23d040(0x365)]),_0x3d65c7&&_0x403486[_0x23d040(0x357)](_0x5b8450['PieStyle']),_0x653abc&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x39c)]),_0x260991&&_0x403486['push'](_0x5b8450[_0x23d040(0x27b)]),_0x2da4e4&&_0x403486['push'](_0x5b8450[_0x23d040(0x29b)]),_0x99ba75&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x1c0)]),_0xe71936(_0x4e77f1)&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x1dd)]),_0xfc9559(_0x4e77f1,_0x4943ee['Legend'])&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x1ed)]),_0xfc9559(_0x4e77f1,_0x4943ee[_0x23d040(0x1b6)])&&(_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x350)],_0x5b8450[_0x23d040(0x32c)]),_0x1c651a&&_0x403486[_0x23d040(0x357)](_0x5b8450['RightVerticalAxis']),_0x403486[_0x23d040(0x357)](_0x5b8450['GridlinesAndTicks'])),_0xfc9559(_0x4e77f1,_0x4943ee[_0x23d040(0x36f)])&&_0x403486[_0x23d040(0x357)](_0x5b8450['IndicatorLine']),_0x1d8e32(_0x4e77f1)&&_0x403486['push'](_0x5b8450[_0x23d040(0x21f)]),_0x7cb747&&_0x403486['push'](_0x5b8450[_0x23d040(0x278)]),_0x4d362a&&_0x403486[_0x23d040(0x357)](_0x5b8450['Histogram']),_0x137d9a&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x205)]),_0x3a9ad9&&_0x403486['push'](_0x5b8450['Sunburst']),_0x59225b&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x3b9)]),_0x1d6f34&&_0x403486[_0x23d040(0x357)](_0x5b8450[_0x23d040(0x1ca)]),_0x403486;}function dr(_0x4dcefe){const _0x438dd7=_0x499525;var _0x32f0d7,_0xadf9d7,_0x3cf055;let _0x3ea5ad=_0x11c57d(_0x4cc5cd),_0x61aac5=_0x45c5bb(),_0x107975=_0x3f9900(),[_0x3e74ee,_0x4e99db]=_0x41a5b5(null),_0x12818b=ur(_0x61aac5,_0x107975),_0x20b720=_0x5e799c(_0x193186,{}),_0x349e5a={[_0x5b8450[_0x438dd7(0x278)]]:_0x3ea5ad['t'](_0x438dd7(0x2b0)),[_0x5b8450['ChartAndAxisTitles']]:_0x3ea5ad['t'](_0x438dd7(0x35e)),[_0x5b8450[_0x438dd7(0x28a)]]:_0x3ea5ad['t'](_0x438dd7(0x19d)),[_0x5b8450[_0x438dd7(0x1ca)]]:_0x3ea5ad['t'](_0x438dd7(0x2e8)),[_0x5b8450[_0x438dd7(0x27b)]]:_0x3ea5ad['t'](_0x438dd7(0x1a6)),[_0x5b8450[_0x438dd7(0x3b9)]]:_0x3ea5ad['t'](_0x438dd7(0x253)),[_0x5b8450[_0x438dd7(0x225)]]:_0x3ea5ad['t'](_0x438dd7(0x3a8)),[_0x5b8450['Heatmap']]:_0x3ea5ad['t'](_0x438dd7(0x25a)),[_0x5b8450[_0x438dd7(0x3ac)]]:_0x3ea5ad['t'](_0x438dd7(0x39f)),[_0x5b8450[_0x438dd7(0x350)]]:_0x3ea5ad['t'](_0x438dd7(0x27c)),[_0x5b8450[_0x438dd7(0x36f)]]:_0x3ea5ad['t'](_0x438dd7(0x3b6)),[_0x5b8450[_0x438dd7(0x1ed)]]:_0x3ea5ad['t'](_0x438dd7(0x377)),[_0x5b8450[_0x438dd7(0x1dd)]]:_0x3ea5ad['t'](_0x438dd7(0x208)),[_0x5b8450[_0x438dd7(0x2d2)]]:_0x3ea5ad['t'](_0x438dd7(0x37a)),[_0x5b8450[_0x438dd7(0x365)]]:_0x3ea5ad['t']('boards-chart-ui.section.paretoLine'),[_0x5b8450[_0x438dd7(0x344)]]:_0x3ea5ad['t']('boards-chart-ui.section.pie'),[_0x5b8450[_0x438dd7(0x39c)]]:_0x3ea5ad['t']('boards-chart-ui.section.radar'),[_0x5b8450[_0x438dd7(0x1c0)]]:_0x3ea5ad['t']('boards-chart-ui.section.relation'),[_0x5b8450['RightVerticalAxis']]:_0x3ea5ad['t']('boards-chart-ui.common.rightVerticalAxis'),[_0x5b8450[_0x438dd7(0x3af)]]:_0x3ea5ad['t'](_0x438dd7(0x1c6)),[_0x5b8450[_0x438dd7(0x1ef)]]:_0x3ea5ad['t'](_0x438dd7(0x1ea)),[_0x5b8450[_0x438dd7(0x205)]]:_0x3ea5ad['t'](_0x438dd7(0x27e)),[_0x5b8450['Trendline']]:_0x3ea5ad['t']('boards-chart-ui.common.trendline'),[_0x5b8450['VerticalAxis']]:_0x3ea5ad['t'](_0x438dd7(0x320)),[_0x5b8450[_0x438dd7(0x2c9)]]:_0x3ea5ad['t'](_0x438dd7(0x1f8)),[_0x5b8450[_0x438dd7(0x2bf)]]:_0x3ea5ad['t'](_0x438dd7(0x289))};_0x3d65d5(()=>{const _0x4d7cfb=_0x438dd7;var _0x78f0be;(_0x78f0be=_0x4dcefe['route'])!=null&&_0x78f0be[_0x4d7cfb(0x2a1)]&&_0x4e99db(_0x4dcefe[_0x4d7cfb(0x347)]['section']);},[_0x4dcefe[_0x438dd7(0x347)]]);let _0x140d75={[_0x5b8450[_0x438dd7(0x28a)]]:_0x5e799c(_0x7de209,{'defaultValues':K[_0x438dd7(0x1d0)],'showBodyFont':!0x0}),[_0x5b8450['ChartAndAxisTitles']]:_0x5e799c(_0x3184e0,{'commitMode':'change','defaultValues':K[_0x438dd7(0x388)],'selectedTitleKey':(_0x32f0d7=_0x4dcefe[_0x438dd7(0x347)])==null?void 0x0:_0x32f0d7[_0x438dd7(0x3b8)]}),[_0x5b8450[_0x438dd7(0x3af)]]:_0x325495(_0x5d9c1e,{'defaultValues':K['series'],'NumberFormatField':_0x540a5a,'selectedSeriesId':(_0xadf9d7=_0x4dcefe['route'])==null?void 0x0:_0xadf9d7['seriesId'],'children':[_0x5e799c(_0x53abaa,{}),_0x5e799c(_0x238b88,{'individualOnly':!0x0}),_0x5e799c(_0x4bc933,{}),_0x5e799c(_0x29f5b1,{}),_0x5e799c(_0x5ed9cf,{}),_0x5e799c(_0x4649c6,{}),_0x5e799c(_0x1338ba,{}),_0x5e799c(_0x1b8135,{})]}),[_0x5b8450['WaterfallSeries']]:_0x5e799c(_0x32067f,{'defaultValues':K[_0x438dd7(0x28f)],'NumberFormatField':_0x540a5a,'selectedSeriesId':(_0x3cf055=_0x4dcefe[_0x438dd7(0x347)])==null?void 0x0:_0x3cf055[_0x438dd7(0x2ba)],'showBucketName':()=>!0x0}),[_0x5b8450[_0x438dd7(0x2d2)]]:_0x5e799c(_0x29e8ea,{'defaultValues':K[_0x438dd7(0x1e8)],'NumberFormatField':_0x540a5a,'showDataPointEditor':!0x0,'target':_0x438dd7(0x239)}),[_0x5b8450[_0x438dd7(0x365)]]:_0x5e799c(_0x29e8ea,{'defaultValues':K[_0x438dd7(0x1e8)],'NumberFormatField':_0x540a5a,'showDataPointEditor':!0x0,'target':'cumulativeLineStyle'}),[_0x5b8450[_0x438dd7(0x344)]]:_0x5e799c(_0x1cec51,{'defaultValues':K['pie'],'NumberFormatField':_0x540a5a}),[_0x5b8450[_0x438dd7(0x2bf)]]:_0x325495(_0x1faff9,{'children':[_0x5e799c(_0x22d31f,{'defaultValues':K[_0x438dd7(0x346)]}),_0x5e799c(_0x479703,{}),_0x5e799c(_0x2ee956,{'defaultValues':K[_0x438dd7(0x346)]})]}),[_0x5b8450[_0x438dd7(0x39c)]]:_0x5e799c(_0x268318,{'defaultValues':K[_0x438dd7(0x366)]}),[_0x5b8450[_0x438dd7(0x27b)]]:_0x5e799c(_0x562714,{'defaultValues':K['funnel'],'gapControl':_0x438dd7(0x385)}),[_0x5b8450[_0x438dd7(0x29b)]]:_0x5e799c(_0x11f289,{'defaultValues':K[_0x438dd7(0x221)]}),[_0x5b8450['Relation']]:_0x5e799c(_0x4df0d1,{'defaultValues':K[_0x438dd7(0x206)]}),[_0x5b8450[_0x438dd7(0x1dd)]]:_0x5e799c(_0x2b1e2d,{'defaultValues':K[_0x438dd7(0x28b)],'lineStyleControl':_0x438dd7(0x363)}),[_0x5b8450[_0x438dd7(0x1ed)]]:_0x5e799c(_0x3c32af,{'defaultValues':K[_0x438dd7(0x35f)]}),[_0x5b8450['HorizontalAxis']]:_0x5e799c(_0x2d9afd,{'axis':'x','defaultValues':K[_0x438dd7(0x32a)],'NumberFormatField':_0x540a5a}),[_0x5b8450['VerticalAxis']]:_0x5e799c(_0x2d9afd,{'axis':'y','defaultValues':K[_0x438dd7(0x32a)],'NumberFormatField':_0x540a5a}),[_0x5b8450[_0x438dd7(0x395)]]:_0x5e799c(_0x2d9afd,{'axis':'rightY','defaultValues':K[_0x438dd7(0x32a)],'NumberFormatField':_0x540a5a}),[_0x5b8450[_0x438dd7(0x225)]]:_0x5e799c(_0x3f6402,{'defaultValues':K[_0x438dd7(0x32a)]}),[_0x5b8450[_0x438dd7(0x36f)]]:_0x5e799c(_0x33e4a9,{'defaultValues':K[_0x438dd7(0x1e1)]}),[_0x5b8450['Trendline']]:_0x5e799c(_0x591f60,{'defaultValues':K[_0x438dd7(0x2e7)]}),[_0x5b8450[_0x438dd7(0x278)]]:_0x20b720,[_0x5b8450[_0x438dd7(0x3ac)]]:_0x20b720,[_0x5b8450[_0x438dd7(0x205)]]:_0x20b720,[_0x5b8450[_0x438dd7(0x1ef)]]:_0x20b720,[_0x5b8450[_0x438dd7(0x3b9)]]:_0x20b720,[_0x5b8450['Chord']]:_0x20b720};return _0x5e799c(_0x4e0003,{'value':_0x3e74ee,'onChange':_0x4e99db,'children':_0x12818b[_0x438dd7(0x22f)](_0x212b45=>_0x5e799c(lr,{'id':_0x212b45,'label':_0x349e5a[_0x212b45],'children':_0x140d75[_0x212b45]},_0x212b45))});}function fr({unitId:_0x16a00d,subUnitId:_0x16f3b5,elementId:_0x51e8a5,chartId:_0xb4525a}){const _0x39d0d4=_0x499525;let _0x1f7794=_0x11c57d(_0x37b64c),_0x450bcc=_0x11c57d(U),_0x51e4ca=_0x11c57d(_0x4cc5cd),_0x569017=_0x11c57d(_0xa6f2d7),_0xc4552e=_0x11c57d(_0x11a7be),_0x1975fb=_0x11c57d(_0x1cc825),_0x3c5a0f=_0x11c57d(H),_0x240d47=_0x4951fb(_0x1f7794['activeRuntimeModel$'],_0x1f7794[_0x39d0d4(0x2eb)]),_0x39ffdf=_0x4951fb(_0x3c5a0f[_0x39d0d4(0x30b)],_0x3c5a0f[_0x39d0d4(0x1b2)]()),[_0xb0ea26,_0x45a24f]=_0x41a5b5(_0x203d3b['Data']),_0x3db81b=(_0x39ffdf==null?void 0x0:_0x39ffdf[_0x39d0d4(0x262)])===_0x16a00d&&_0x39ffdf[_0x39d0d4(0x24c)]===_0xb4525a&&_0x39ffdf['elementId']===_0x51e8a5?_0x39ffdf[_0x39d0d4(0x347)]:void 0x0;_0x3d65d5(()=>{const _0x3034d0=_0x39d0d4;_0x1f7794[_0x3034d0(0x1c2)](_0x16a00d,_0xb4525a);},[_0xb4525a,_0x1f7794,_0x16a00d]),_0x3d65d5(()=>{const _0x737f7f=_0x39d0d4;_0x3db81b!=null&&_0x3db81b['tab']&&_0x45a24f(_0x3db81b[_0x737f7f(0x2e9)]);},[_0x3db81b]);let _0xf0036f=(_0x240d47==null?void 0x0:_0x240d47[_0x39d0d4(0x262)])===_0x16a00d&&_0x240d47[_0x39d0d4(0x24c)]===_0xb4525a,_0x43d558=_0x2702de(()=>{const _0x5a8f46=_0x39d0d4;if(!_0xf0036f)return null;let _0x2878db=_0x1975fb[_0x5a8f46(0x1ec)](_0x16a00d,_0x361416[_0x5a8f46(0x2df)]);return _0x2878db?new _0x19ae32(_0x240d47[_0x5a8f46(0x1a9)],new _0x6807e4({'unitId':_0x16a00d,'pageId':_0x16f3b5,'chartId':_0xb4525a,'elementId':_0x51e8a5,'boardModel':_0x2878db,'injector':_0xc4552e})):null;},[_0x240d47,_0xb4525a,_0x51e8a5,_0xc4552e,_0xf0036f,_0x16f3b5,_0x16a00d,_0x1975fb]),_0x21266a=_0x2702de(()=>_0x58277a(_0xcd7567['map'](_0x255372=>({..._0x255372,'label':_0x51e4ca['t'](_0x39d0d4(0x3a2)+_0x255372['labelId'])}))),[_0x51e4ca]);return!_0xf0036f||!_0x43d558?null:_0x5e799c(_0x33a395,{'chartUIService':_0x450bcc,'hostAdapter':_0x43d558,'children':_0x325495(_0x39d0d4(0x1d8),{'className':_0x39d0d4(0x2fa),'children':[_0x5e799c(_0x39cbb6,{'ariaLabel':_0x51e4ca['t'](_0x39d0d4(0x20d)),'className':_0x39d0d4(0x1f7),'items':[{'label':_0x51e4ca['t'](_0x39d0d4(0x302)),'panelId':pr,'value':_0x203d3b['Data']},{'label':_0x51e4ca['t'](_0x39d0d4(0x398)),'panelId':mr,'value':_0x203d3b[_0x39d0d4(0x3a0)]}],'value':_0xb0ea26,'onChange':_0x45a24f}),_0xb0ea26===_0x203d3b['Data']?_0x5e799c(_0x589747,{'id':pr,'label':_0x51e4ca['t']('boards-chart-ui.common.setup'),'children':_0x325495(_0x39d0d4(0x1d8),{'className':_0x39d0d4(0x1a5),'children':[_0x5e799c(_0xe2b2cf,{'options':_0x21266a}),_0x5e799c(_0x19773a,{}),_0x5e799c(_0xa1e222,{}),_0x5e799c(cr,{}),_0x5e799c(_0x496027,{}),_0x5e799c(sr,{'onEditData':()=>_0x569017[_0x39d0d4(0x1f2)](ir['id'],{'unitId':_0x16a00d,'chartId':_0xb4525a})}),_0x5e799c(_0x4d1eed,{'orientationControl':_0x5e799c(_0x5f405e,{'size':_0x39d0d4(0x329),'onClick':()=>_0x450bcc[_0x39d0d4(0x1d6)]({'patch':{'context':{'orient':_0x240d47[_0x39d0d4(0x364)][_0x39d0d4(0x32f)]?_0x39d0d4(0x28c):_0x39d0d4(0x212)}}}),'children':_0x51e4ca['t'](_0x39d0d4(0x367))})}),_0x5e799c(_0x28acd5,{}),_0x5e799c(_0x449bdd,{'defaultValues':K['waterfall']})]})}):_0x5e799c(_0x589747,{'id':mr,'label':_0x51e4ca['t'](_0x39d0d4(0x398)),'children':_0x5e799c(dr,{'route':_0x3db81b})})]})});}const pr=_0x499525(0x1d5),mr=_0x499525(0x37f),hr=_0x327fa2,gr=_0x579e99;function _r(_0x46c67e){const _0x2c9d0d=_0x499525;var _0x18c310,_0x202a21;let _0x3c04d1=_0x46c67e[_0x2c9d0d(0x263)]??{},_0x30709c=_0x3c04d1[_0x2c9d0d(0x264)]===0x0?0x0:br(_0x3c04d1[_0x2c9d0d(0x264)],br((_0x18c310=_0x46c67e['chartElement'])==null||(_0x18c310=_0x18c310[_0x2c9d0d(0x322)])==null?void 0x0:_0x18c310[_0x2c9d0d(0x230)],0x1));return{'fill':_0x46c67e['hostFill']??_0x3c04d1['backgroundColor']??_0x2ca23e['backgroundColor'],'stroke':_0x3c04d1[_0x2c9d0d(0x362)]??((_0x202a21=_0x46c67e[_0x2c9d0d(0x2db)])==null||(_0x202a21=_0x202a21['stroke'])==null?void 0x0:_0x202a21[_0x2c9d0d(0x1e2)])??_0x46c67e[_0x2c9d0d(0x361)]??(_0x46c67e[_0x2c9d0d(0x2e5)]?_0x2c9d0d(0x1ab):hr),'strokeWidth':_0x30709c,'radius':gr};}function vr(_0x52919f,_0x5583ef){const _0x577113=_0x499525;let _0x4ec53f=Math[_0x577113(0x22b)](0x0,_0x5583ef[_0x577113(0x1f9)]);return{'left':_0x4ec53f,'top':_0x4ec53f,'width':Math[_0x577113(0x22b)](0x1,_0x52919f[_0x577113(0x230)]-_0x4ec53f*0x2),'height':Math['max'](0x1,_0x52919f[_0x577113(0x1ee)]-_0x4ec53f*0x2)};}function yr(_0x385d07,_0x292269){const _0x3e8b43=_0x499525;let _0x42abf8=-0x1/0x2;return{'left':_0x42abf8,'top':_0x42abf8,'width':Math['max'](0x1,_0x385d07['width']),'height':Math[_0x3e8b43(0x22b)](0x1,_0x385d07[_0x3e8b43(0x1ee)]),'radius':Math[_0x3e8b43(0x22b)](0x0,_0x292269[_0x3e8b43(0x384)]-_0x292269['strokeWidth']/0x2)};}function br(_0x4172ac,_0x3bfe35){const _0x568d31=_0x499525;return typeof _0x4172ac==_0x568d31(0x385)&&Number[_0x568d31(0x24d)](_0x4172ac)&&_0x4172ac>0x0?_0x4172ac:_0x3bfe35;}function _0x1a29(){const _0x4591c4=['_canvasPopupService','offsetWidth','typeOptions','getElementData','dispose$','boards-chart-ui.candlestick.close','markNotReady','error','ParetoBarSeries','strokeStyle','Chart','_showPopupForSelection','createElement','registerItem','changeDataSource','_domLayerService','clientWidth','chartElement','_applyHostStyle','boards-chart-ui.common.value','108YqJily','UNIVER_BOARD','left','clip','_chartEventHandlers','_adapter','boards-chart-ui.chord.target','isDarkMode','disposeWithMe','trendline','boards-chart-ui.section.chord','tab','getHostStyle','activeRuntimeModel','ensureChartModel','Boxplot','Dom','min','boards-chart-ui.candlestick.columnsError','_syncSelectionState','targetUnitId','initialRect','find','getScene','unsubscribe','dataSources','span','_getBoardsUIConfig','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','isTransforming','updateItem','bottom','top','_closePopup','bind','focusedId','boards-chart-ui.common.setup','keys','updateFrameStyle','setConfig','getActivePageId','_bindChartEventHandlers','fillStyle','anonymous','_requestSnapshotForObject','activeSession$','_snapshotRefreshers','match','747943mKNYCJ','version','_disposeChartEventSubscriptions','_syncPanel','UNIVER_BOARDS_CHART_UI_PLUGIN','programmatic','anchorRect$','length','_renderModelManager','markReady','_chartEventSubscriptions','overflow','dataSource','univer-w-full\x20!univer-min-w-0','_renderContext','getConfig','backgroundColor','1300qShtor','boards-chart-ui.common.verticalAxis','stylizeSpec','stroke','272BaRkOp','_buildPopupSelectionKey','value','_registerAdapter','tools','_sidePanelService','small','axis','setElementEditMode','VerticalAxis','innerHeight','157347XSEKBQ','isRowDirection','from','InvalidCandlestickData','config$','then','_attachScheduled','boards-chart-ui.dataEditor.updateFailed','_activeEditOverlay','additionalRenderAdapters','invalidateChart','_config','parseInt','image','_renderManagerService','style$','\x20has\x20no\x20render\x20config.','resolve','mode','_setActiveEditOverlay','ChartAndAxisTitles','supports','PieStyle','_appendRenderAdapter','wordCloud','route','fill','_boardCanvasPopManagerService','call','add','1.0.0-beta.2','elementId','min(1120px,\x20calc(100vw\x20-\x2032px))','_getChartRuntimeKey','HorizontalAxis','zIndex','getInfo','getOwnPropertyDescriptor','Waterfall','snapshotUpdated$','createRenderSpec','push','toSpec','_drawChartImage','chart','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','selectedIds','!univer-w-36\x20!univer-min-w-0','boards-chart-ui.common.chartAndAxisTitles','legend','status','themeBorderColor','borderColor','select','source','ParetoLineSeries','radar','boards-chart-ui.common.switchRowColumn','deepClone','every','preventDefault','flipX','restore','_notifyScene','EmptyData','IndicatorLine','_activeChart','naturalHeight','interactionSurfaceActive$','_componentManager','elementRemove$','forEach','key','boards-chart-ui.common.legend','getValue','translate','boards-chart-ui.section.paretoBar','_attachNativeLoadHandlers','_clearPopupIfSelectionChanged','_renderService','board.operation.chart.open-data-editor','board-chart-style-panel','clientX','render','_updateFrameStyle','axisId','radius','number','default','_univerInstanceService','titles','_popupSessionKey','_createChartRenderInstanceContext','chartInvalidated$','register','scaleY','258170ZUIMKo','_clearPopup','button','closePath','getElement','_snapshotService','_chartUIService','RightVerticalAxis','board.chart.floating-toolbar','_init','boards-chart-ui.common.customize','setFocusedSwimlaneLane','border-box','manual','Radar','innerWidth','checkMounted','boards-chart-ui.section.histogram','Style','popup','boards-chart-ui.chartTypes.','split','getDataSource','chartIdByElementId','config','boards-chart-ui.candlestick.low','boards-chart-ui.section.gridlinesAndTicks','removePopup','rgb(','board-chart-floating-toolbar','Histogram','doubleClick','showFloatMenu','Series','board-chart.snapshot-renderer','iterator','localPoint','onReady','resourceService','refreshChartModel','boards-chart-ui.section.indicatorLine','absolute','titleKey','Gauge','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','subscribeEvent','_elementStateService','join','Pareto','_activePanelDisposable','_isPopupSelectionStillActive','onDispose$','getState','clearControl$','includes','slice','boards-chart-ui.common.chartStyle','boards-chart-element-float-menu','createChartInstance','boards-chart-ui.common.editData','quickToolbar','labelId','registerRenderModule','READY','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','boards-chart-ui.section.funnel','_clearHiddenSelectedTarget','current','model','boards-chart-ui.common.category','rgba(255,\x20255,\x20255,\x200.18)','delete','emitEvent','exportImage','skipNextObservers','type','preparePaste','getActiveSession','board-chart.ui.service','values','border','Axes','getFrameStyle','getSnapshot','close','transformByState','boards-chart-ui.common.tableDataEmpty','_localeService','_openFloatMenu','_commandService','getDataSourceSharingCount','Relation','defineProperty','setActiveChartById','element','boards-chart-ui.candlestick.high','_configService','boards-chart-ui.common.series','string','pending','elementDataItem','Chord','_boardElementService','boards-chart-ui.config','params','registerCommand','extraProps','style','_interactionSurfaceService','elementAdd$','preserveTransform','board-chart.data-editor-dialog','board-chart-setup-panel','executeChartUpdateConfig','getObjectIncludeInGroup','div','plan','_element','borderRadius','UnknownOption','LineAndArea','board-chart-active','boards-chart-ui.common.apply','has','indicatorLine','color','_frameStyle','set','subscribe','rect','univer-flex\x20univer-justify-end\x20univer-gap-2','pareto','_scheduleAttachObjectDoubleClicks','boards-chart-ui.section.sunburst','boards-chart-ui.common.insertChartFailed','getUnit','Legend','height','Sunburst','getRenderColor','crossOrigin','executeCommand','save','getChart','elementUpdate$','complete','univer-shrink-0\x20univer-px-3','boards-chart-ui.section.waterfall','strokeWidth','clientHeight','position','lineWidth','chartModelRemoved$','_uiStateService','darkMode','onerror','SVG','onInserted','pipe','Column','Treemap','relation','applyHostStyle','boards-chart-ui.section.lineAndArea','Bubble','hit','bounds','moveTo','boards-chart-ui.common.editChart','state$','changeEnd$','pluginName','dispose','row','catch','_modelService','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','registerChartInstance','_syncActiveChart','onEditData','children','elements','scene','vertical','clear','Select','Trendline','311546KGSsWX','heatmap','getElementOrder','_attachObjectDoubleClicks','_activeLayerDisposable','GridlinesAndTicks','boards-chart-ui.common.deleteChart','_chartThemeService','hidden','resize','next','max','code','Line','_chartElementEditMode','map','width','right','filter','nativeEvent','get','elementIdMap','visible','subUnitId','target','barStyle','onDblclick$','setActiveChartRuntime','onClose','_subscribeChartEvents','_popupSelectionKey','changeChartSource','engine','Sankey','_host','some','addPopup','_popupRuntimeKey','ready','_activePanelKey','_bindChartEventHandler','toPrimitive','onCancel','img','chartId','isFinite','univer-flex\x20univer-flex-col\x20univer-gap-2','updateDataForChart','angle','main','name','boards-chart-ui.section.gauge','_native','_clearActiveEditOverlay','click','referenced','onCommandExecuted','getObject','boards-chart-ui.common.heatmap','getRect','@univerjs-pro/boards-chart-ui','board-chart.dialog.data-editor','arc','_chartRenderService','getCacheKey','src','unitId','chartStyle','borderWidth','_resourceService','_injector','createControl$','function','requestSnapshot','format','_resolveFrameStyle','elementRemoved','activeTool','4420860WBGWdT','Image','Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','lineTo','_disposeChartEventSubscription','primary','top-center','payload','chartType','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','Candlestick','boards-chart-ui.sunburst.hierarchy','_drawFrameStroke','Funnel','boards-chart-ui.common.horizontalAxis','_popupDisposable','boards-chart-ui.section.treemap','getDataEditState','onStarting','context','getBoundingClientRect','dataUrl','createRenderInput','scaleX','inline','baseOn','4386240YbDSWp','boards-chart-ui.section.wordCloud','ChartStyle','lineAndArea','column','makeDirty','_objectDblclickDisposables','waterfallStyle','boards-chart-ui.chord.source','selectElements','_adapterRegistry','object','selectionChange','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','onload','asObservable','syncLayout','boards-chart-ui.common.label','changeStart$','Heatmap','boards-chart-ui.common.chartType','updateElement','_openEditSession','_removeRenderAdapter','board-chart','section','activeRuntimeModel$','issue','open','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','_activeLayerId','chartModelAdded$','dataSourceId','_instanceService','scroll','_editSessionService','getChartModel','_chartEventDisposables','getElementById','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','boards-chart-ui.section.candlestick','registerAdapter','getChartIdsByDataSource','symbol','setStyle','_clearActiveLayer','_activeSession$','ghost','transformStart','boards-chart-ui.common.insert','seriesId','toolbar','charts','boxSizing','_draw','WordCloud','size','_chartInstanceMap','_closeActivePanel','isElementEditModeActive','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','_watchSnapshotUpdates','transparent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','boards-chart-ui.common.valueField','WaterfallSeries'];_0x1a29=function(){return _0x4591c4;};return _0x1a29();}function xr(_0x1eb3a4){const _0x2b6628=_0x499525;var _0x3c0cf7;let _0x499d57=(_0x3c0cf7=_0x1eb3a4[_0x2b6628(0x30d)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x3c0cf7[0x1];if(_0x499d57){let _0x2527d6=_0x499d57[_0x2b6628(0x315)]===0x3?_0x499d57[_0x2b6628(0x3a3)]('')[_0x2b6628(0x22f)](_0x47dce=>''+_0x47dce+_0x47dce)['join'](''):_0x499d57;return _0x2b6628(0x3aa)+Number[_0x2b6628(0x33a)](_0x2527d6[_0x2b6628(0x19c)](0x0,0x2),0x10)+',\x20'+Number[_0x2b6628(0x33a)](_0x2527d6[_0x2b6628(0x19c)](0x2,0x4),0x10)+',\x20'+Number[_0x2b6628(0x33a)](_0x2527d6[_0x2b6628(0x19c)](0x4,0x6),0x10)+')';}let _0x456d90=document['createElement'](_0x2b6628(0x2f8));return _0x456d90[_0x2b6628(0x1d0)][_0x2b6628(0x1e2)]=_0x1eb3a4,_0x456d90['style']['color']||_0x1eb3a4;}let q=class extends _0x213704{constructor(_0x1dbae4,_0xf825ba,_0x3f3fa2){const _0x25c77a=_0x499525;super(),this[_0x25c77a(0x1bc)]=_0x1dbae4,this[_0x25c77a(0x227)]=_0xf825ba,this['_renderModelManager']=_0x3f3fa2,z(this,_0x25c77a(0x2c1),new Map()),z(this,_0x25c77a(0x22e),new Map()),z(this,_0x25c77a(0x2e2),new Map()),z(this,'_chartEventSubscriptions',new Map());}[_0x499525(0x19f)](_0xdd89b5){const _0x8dad8e=_0x499525;return _0xdd89b5?this[_0x8dad8e(0x316)][_0x8dad8e(0x19f)](_0xdd89b5,this[_0x8dad8e(0x38a)]()):this[_0x8dad8e(0x316)][_0x8dad8e(0x19f)]();}[_0x499525(0x216)](_0x33dfd3,_0x231f11,_0x2f042f){const _0x27adaf=_0x499525;let _0x16256f=this[_0x27adaf(0x34f)](_0x33dfd3,_0x231f11),_0xbba8ce=this[_0x27adaf(0x2c1)]['get'](_0x16256f);return _0xbba8ce&&_0xbba8ce!==_0x2f042f&&(this[_0x27adaf(0x310)](_0x16256f),_0xbba8ce[_0x27adaf(0x211)]()),this['_chartInstanceMap'][_0x27adaf(0x1e4)](_0x16256f,_0x2f042f),_0x2f042f[_0x27adaf(0x32b)](this[_0x27adaf(0x22e)]['get'](_0x16256f)===!0x0),this['_bindChartEventHandlers'](_0x16256f,_0x2f042f),{'dispose':()=>{const _0x5afa06=_0x27adaf;this[_0x5afa06(0x2c1)][_0x5afa06(0x234)](_0x16256f)===_0x2f042f&&(this[_0x5afa06(0x310)](_0x16256f),this['_chartInstanceMap'][_0x5afa06(0x1ac)](_0x16256f));}};}[_0x499525(0x32b)](_0x369bf7,_0x9395e,_0x12606c){const _0x455cda=_0x499525;var _0x5ea828;let _0xff87de=this[_0x455cda(0x34f)](_0x369bf7,_0x9395e);_0x12606c?this[_0x455cda(0x22e)][_0x455cda(0x1e4)](_0xff87de,!0x0):this[_0x455cda(0x22e)]['delete'](_0xff87de),(_0x5ea828=this['_chartInstanceMap'][_0x455cda(0x234)](_0xff87de))==null||_0x5ea828['setElementEditMode'](_0x12606c);}[_0x499525(0x2c3)](_0xc34d54,_0x4ccaa8){const _0x108377=_0x499525;return this['_chartElementEditMode'][_0x108377(0x234)](this[_0x108377(0x34f)](_0xc34d54,_0x4ccaa8))===!0x0;}['on'](_0x55552b,_0x2998f9,_0x48923d,_0x137840){const _0x4f392a=_0x499525;let _0x4c64f5=this['_getChartRuntimeKey'](_0x55552b,_0x2998f9),_0x57b9fd=this['_chartEventHandlers'][_0x4f392a(0x234)](_0x4c64f5);_0x57b9fd||(_0x57b9fd=new Map(),this['_chartEventHandlers'][_0x4f392a(0x1e4)](_0x4c64f5,_0x57b9fd));let _0x1bfef3=_0x57b9fd[_0x4f392a(0x234)](_0x48923d);_0x1bfef3||(_0x1bfef3=new Set(),_0x57b9fd['set'](_0x48923d,_0x1bfef3)),_0x1bfef3[_0x4f392a(0x34b)](_0x137840);let _0x34d30f=this['_chartInstanceMap'][_0x4f392a(0x234)](_0x4c64f5);return _0x34d30f&&this['_bindChartEventHandler'](_0x4c64f5,_0x34d30f,_0x48923d,_0x137840),{'dispose':()=>{const _0x346d83=_0x4f392a;let _0x8db6eb=this['_chartEventHandlers'][_0x346d83(0x234)](_0x4c64f5),_0x16e698=_0x8db6eb==null?void 0x0:_0x8db6eb['get'](_0x48923d);_0x16e698==null||_0x16e698[_0x346d83(0x1ac)](_0x137840),(_0x16e698==null?void 0x0:_0x16e698[_0x346d83(0x2c0)])===0x0&&(_0x8db6eb==null||_0x8db6eb[_0x346d83(0x1ac)](_0x48923d)),(_0x8db6eb==null?void 0x0:_0x8db6eb[_0x346d83(0x2c0)])===0x0&&this[_0x346d83(0x2e2)][_0x346d83(0x1ac)](_0x4c64f5),this[_0x346d83(0x272)](_0x4c64f5,_0x48923d,_0x137840);}};}[_0x499525(0x284)](_0x20ff05){const _0x53fcd1=_0x499525;let _0x569f97=_0x20ff05['model'][_0x53fcd1(0x3a6)];if(!_0x569f97)throw Error('Board\x20chart\x20'+_0x20ff05[_0x53fcd1(0x24c)]+_0x53fcd1(0x33e));let _0x2fd581=this['_localeService']['getDirection']();return{'chartConfig':_0x569f97,'chartStyle':_0x1ab5cb({..._0x20ff05[_0x53fcd1(0x1a9)][_0x53fcd1(0x1d0)],'runtime':_0x20ff05[_0x53fcd1(0x1a9)]['getRuntimeContext'](_0x2fd581),'direction':_0x2fd581},_0x569f97[_0x53fcd1(0x1b0)])};}[_0x499525(0x356)](_0x3568e5,_0x1ba426,_0x296c9b){const _0x4fb153=_0x499525;let {chartConfig:_0x35102f,chartStyle:_0x497f89}=this[_0x4fb153(0x284)](_0x3568e5),_0x54b446=this[_0x4fb153(0x316)]['getCurrentRenderModel']();return{'spec':_0x54b446[_0x4fb153(0x321)](_0x54b446[_0x4fb153(0x358)](_0x35102f,_0x497f89),{'chartConfig':_0x35102f,'chartStyle':_0x497f89,'chartInstance':_0x296c9b},_0x1ba426),'chartConfig':_0x35102f,'chartStyle':_0x497f89,'hostStyle':this[_0x4fb153(0x2ea)](_0x497f89)};}[_0x499525(0x2ea)](_0x3d8ec4){const _0x16cdfc=_0x499525;return _0x4da770({'style':_0x3d8ec4,'getRenderColor':_0x382bee=>this['_chartThemeService'][_0x16cdfc(0x1f0)](_0x382bee)});}[_0x499525(0x207)](_0x37af11,_0x317c2a){const _0x532e06=_0x499525;var _0xe9d622;_0x37af11[_0x532e06(0x1d0)][_0x532e06(0x1b5)]=(_0xe9d622=_0x317c2a['border'])!=null&&_0xe9d622[_0x532e06(0x1e2)]&&_0x317c2a['border']['width']?_0x317c2a[_0x532e06(0x1b5)][_0x532e06(0x230)]+'px\x20solid\x20'+xr(_0x317c2a[_0x532e06(0x1b5)][_0x532e06(0x1e2)]):'',_0x37af11[_0x532e06(0x1d0)][_0x532e06(0x31e)]=xr(_0x317c2a[_0x532e06(0x348)]??'transparent'),_0x37af11['style'][_0x532e06(0x1db)]=_0x317c2a[_0x532e06(0x384)]?_0x317c2a[_0x532e06(0x384)]+'px':gr+'px',_0x37af11[_0x532e06(0x1d0)][_0x532e06(0x319)]=_0x532e06(0x228),_0x37af11[_0x532e06(0x1d0)]['boxSizing']='border-box';}['_createChartRenderInstanceContext'](){const _0x4a146e=_0x499525;return{'resolveHostStyle':({style:_0x18f5ae})=>({'fill':this[_0x4a146e(0x2ea)](_0x18f5ae)[_0x4a146e(0x348)]}),'resolveRenderBackgroundColor':({hostStyle:_0x1cb747})=>_0x1cb747[_0x4a146e(0x348)],'prepareSpec':({mode:_0x467736,spec:_0x54f28e})=>_0x467736===_0x4a146e(0x33b)?{..._0x54f28e,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x54f28e};}[_0x499525(0x307)](_0x576401,_0x1c438b){const _0x14ebc0=_0x499525;let _0x6d0f13=this['_chartEventHandlers'][_0x14ebc0(0x234)](_0x576401);_0x6d0f13&&_0x6d0f13[_0x14ebc0(0x375)]((_0x24ed5b,_0x3f9af0)=>{const _0x55eb8f=_0x14ebc0;_0x24ed5b[_0x55eb8f(0x375)](_0x4828b9=>this[_0x55eb8f(0x248)](_0x576401,_0x1c438b,_0x3f9af0,_0x4828b9));});}['_bindChartEventHandler'](_0x365b4f,_0x839d29,_0x3c6377,_0x1354e8){const _0x2b3f21=_0x499525;let _0x477d6d=this[_0x2b3f21(0x318)][_0x2b3f21(0x234)](_0x365b4f);_0x477d6d||(_0x477d6d=new Map(),this[_0x2b3f21(0x318)]['set'](_0x365b4f,_0x477d6d));let _0x1a18dd=_0x477d6d[_0x2b3f21(0x234)](_0x3c6377);_0x1a18dd||(_0x1a18dd=new Map(),_0x477d6d[_0x2b3f21(0x1e4)](_0x3c6377,_0x1a18dd)),!_0x1a18dd[_0x2b3f21(0x1e0)](_0x1354e8)&&_0x1a18dd[_0x2b3f21(0x1e4)](_0x1354e8,_0x839d29['on'](_0x3c6377,_0x1354e8));}[_0x499525(0x272)](_0x51cc8c,_0x772e52,_0x2bc170){const _0x25ef23=_0x499525;var _0x3f45d9,_0x2002be;let _0x3785d4=(_0x3f45d9=this[_0x25ef23(0x318)][_0x25ef23(0x234)](_0x51cc8c))==null?void 0x0:_0x3f45d9[_0x25ef23(0x234)](_0x772e52);_0x3785d4==null||(_0x2002be=_0x3785d4[_0x25ef23(0x234)](_0x2bc170))==null||_0x2002be[_0x25ef23(0x211)](),_0x3785d4==null||_0x3785d4[_0x25ef23(0x1ac)](_0x2bc170);}[_0x499525(0x310)](_0x408d58){const _0x4870b4=_0x499525;let _0x30722d=this[_0x4870b4(0x318)]['get'](_0x408d58);_0x30722d==null||_0x30722d[_0x4870b4(0x375)](_0x5b99fa=>{const _0x649653=_0x4870b4;_0x5b99fa[_0x649653(0x375)](_0x421e55=>_0x421e55[_0x649653(0x211)]()),_0x5b99fa[_0x649653(0x21d)]();}),this[_0x4870b4(0x318)][_0x4870b4(0x1ac)](_0x408d58);}[_0x499525(0x34f)](_0x24f483,_0x56b05f){return _0x24f483+'::'+_0x56b05f;}['dispose'](){const _0x4086f9=_0x499525;this[_0x4086f9(0x2c1)][_0x4086f9(0x375)](_0x547b61=>_0x547b61['dispose']()),this['_chartInstanceMap'][_0x4086f9(0x21d)](),this[_0x4086f9(0x22e)][_0x4086f9(0x21d)](),this['_chartEventHandlers'][_0x4086f9(0x21d)](),Array[_0x4086f9(0x330)](this[_0x4086f9(0x318)][_0x4086f9(0x303)]())[_0x4086f9(0x375)](_0x419469=>this['_disposeChartEventSubscriptions'](_0x419469)),super[_0x4086f9(0x211)]();}};q=V([B(0x0,_0x496119(_0x4cc5cd)),B(0x1,_0x496119(_0x1b68cc)),B(0x2,_0x41c8ae)],q);let Sr=class extends _0x213704{constructor(_0x4946b0,_0x2746dc,_0x372d11,_0x401836,_0x4b8572,_0x43c7c5,_0x1c4d44){const _0x469945=_0x499525;super(),this[_0x469945(0x31c)]=_0x4946b0,this[_0x469945(0x2ab)]=_0x2746dc,this[_0x469945(0x328)]=_0x372d11,this[_0x469945(0x214)]=_0x401836,this[_0x469945(0x37d)]=_0x4b8572,this[_0x469945(0x394)]=_0x43c7c5,this[_0x469945(0x1bc)]=_0x1c4d44,z(this,_0x469945(0x247),null),z(this,_0x469945(0x196),null),z(this,_0x469945(0x336),null),this[_0x469945(0x2e6)](this[_0x469945(0x2ab)]['activeSession$'][_0x469945(0x1e5)](_0x5b150f=>this[_0x469945(0x311)](_0x5b150f)));}[_0x499525(0x211)](){const _0x553776=_0x499525;this['_closeActivePanel'](),super[_0x553776(0x211)]();}[_0x499525(0x311)](_0x379193){const _0x53d369=_0x499525;var _0x48cde6;if(!_0x379193||_0x379193[_0x53d369(0x262)]!==this[_0x53d369(0x31c)][_0x53d369(0x262)]){this[_0x53d369(0x2c2)]();return;}let _0x21d5a4=this[_0x53d369(0x214)][_0x53d369(0x2ec)](_0x379193[_0x53d369(0x262)],_0x379193['chartId']);if(!_0x21d5a4){this['_closeActivePanel']();return;}let _0x2ad05a=[ar,_0x379193['unitId'],_0x379193[_0x53d369(0x237)],_0x379193[_0x53d369(0x34d)]][_0x53d369(0x194)](':');if(this[_0x53d369(0x247)]===_0x2ad05a){this[_0x53d369(0x214)]['setActiveChartRuntime'](_0x21d5a4),this[_0x53d369(0x341)](_0x379193['unitId'],_0x379193[_0x53d369(0x24c)]);return;}(_0x48cde6=this[_0x53d369(0x196)])==null||_0x48cde6[_0x53d369(0x211)](),this[_0x53d369(0x214)]['setActiveChartRuntime'](_0x21d5a4),this[_0x53d369(0x341)](_0x379193[_0x53d369(0x262)],_0x379193[_0x53d369(0x24c)]),this[_0x53d369(0x247)]=_0x2ad05a,this['_activePanelDisposable']=this[_0x53d369(0x328)][_0x53d369(0x2a4)]({'id':ar,'header':{'title':this[_0x53d369(0x1bc)]['t']('boards-chart-ui.common.editChart')},'width':0x184,'children':{'label':ar,'unitId':_0x379193['unitId'],'subUnitId':_0x379193[_0x53d369(0x237)],'elementId':_0x379193[_0x53d369(0x34d)],'chartId':_0x379193[_0x53d369(0x24c)]},'onClose':_0x4709af=>{const _0x5e60de=_0x53d369;this[_0x5e60de(0x247)]===_0x2ad05a&&(this[_0x5e60de(0x247)]=null,this['_activePanelDisposable']=null,this[_0x5e60de(0x255)](),this[_0x5e60de(0x214)][_0x5e60de(0x23b)](null),_0x4709af==='manual'&&this[_0x5e60de(0x2ab)]['close'](_0x5e60de(0x39b)));}});}[_0x499525(0x2c2)](){const _0x457610=_0x499525;var _0x2ffb7c;if(!this['_activePanelKey']){this[_0x457610(0x255)]();return;}(_0x2ffb7c=this[_0x457610(0x196)])==null||_0x2ffb7c['dispose'](),this[_0x457610(0x196)]=null,this['_activePanelKey']=null,this['_clearActiveEditOverlay'](),this['_modelService'][_0x457610(0x23b)](null);}[_0x499525(0x341)](_0x5d58d9,_0x2b7835){const _0x58a27f=_0x499525;let _0x2d60ee=this[_0x58a27f(0x336)];((_0x2d60ee==null?void 0x0:_0x2d60ee['unitId'])!==_0x5d58d9||_0x2d60ee[_0x58a27f(0x24c)]!==_0x2b7835)&&(this[_0x58a27f(0x255)](),this[_0x58a27f(0x336)]={'unitId':_0x5d58d9,'chartId':_0x2b7835},this[_0x58a27f(0x37d)]['setElementEditMode'](_0x5d58d9,_0x2b7835,!0x0));}[_0x499525(0x255)](){const _0x8986f6=_0x499525;let _0x199bbc=this[_0x8986f6(0x336)];_0x199bbc&&(this[_0x8986f6(0x336)]=null,this[_0x8986f6(0x37d)][_0x8986f6(0x32b)](_0x199bbc['unitId'],_0x199bbc[_0x8986f6(0x24c)],!0x1));}};Sr=V([B(0x1,_0x496119(H)),B(0x2,_0x496119(_0x30f374)),B(0x3,_0x496119(_0x37b64c)),B(0x4,_0x496119(q)),B(0x5,U),B(0x6,_0x496119(_0x4cc5cd))],Sr);var Cr=class extends _0x213704{constructor(_0x396cbe,_0x4874b4,_0x212c37){const _0x343c01=_0x499525;super(),this['chartId']=_0x396cbe,this['_host']=_0x4874b4,this[_0x343c01(0x2dc)]=_0x212c37,z(this,_0x343c01(0x340),_0xa8a587[_0x343c01(0x2ee)]);}[_0x499525(0x25b)](){const _0x28a92f=_0x499525;return{'width':Math[_0x28a92f(0x22b)](0x1,this[_0x28a92f(0x242)][_0x28a92f(0x2da)]),'height':Math[_0x28a92f(0x22b)](0x1,this[_0x28a92f(0x242)][_0x28a92f(0x1fa)])};}[_0x499525(0x2b4)](_0x4c1fa6){const _0x10d507=_0x499525;this[_0x10d507(0x2dc)](this[_0x10d507(0x242)],_0x4c1fa6);}async['ensureMount'](){const _0x5e4500=_0x499525;return this[_0x5e4500(0x242)];}[_0x499525(0x39e)](){return!0x0;}[_0x499525(0x298)](){}[_0x499525(0x317)](){}[_0x499525(0x2d0)](){}};function wr({chartElement:_0x1132ed,chartId:_0x5ee556,unitId:_0x4d97dc}){const _0x571376=_0x499525;let _0x33779c=_0x1acdce(null),_0x1deb74=_0x11c57d(_0x37b64c),_0x7fceea=_0x11c57d(q),_0x4747be=_0x11c57d(_0x4cc5cd);return _0x3d65d5(()=>{const _0x29bca0=_0x30da;let _0x578849=_0x33779c[_0x29bca0(0x1a8)];if(!_0x578849)return;let _0x4500e9=_0x1deb74['ensureChartModel'](_0x4d97dc,_0x5ee556);if(!_0x4500e9)return;_0x1deb74[_0x29bca0(0x23b)](_0x4500e9);let _0x229e79=new Cr(_0x5ee556,_0x578849,(_0xc27f05,_0x35a582)=>_0x7fceea[_0x29bca0(0x207)](_0xc27f05,{'fill':_0x35a582[_0x29bca0(0x348)]??_0x29bca0(0x2c6)})),_0x435fac=_0x7fceea[_0x29bca0(0x19f)](_0xa8a587[_0x29bca0(0x2ee)]),_0x3f45c3=_0x7fceea[_0x29bca0(0x216)](_0x4d97dc,_0x5ee556,_0x435fac);_0x435fac[_0x29bca0(0x300)](_0x229e79);let _0x5a8b27=_0x5e1c78([_0x4500e9[_0x29bca0(0x1a9)][_0x29bca0(0x332)],_0x4500e9[_0x29bca0(0x1a9)][_0x29bca0(0x33d)],_0x4747be['direction$']])[_0x29bca0(0x203)](_0x405dcd(([_0x4e8691])=>_0x4e8691!=null))[_0x29bca0(0x1e5)](()=>{const _0x54f469=_0x29bca0;let {chartConfig:_0x4812f8,chartStyle:_0x354e7d}=_0x7fceea['createRenderInput'](_0x4500e9);Tr(_0x578849,_0x1132ed,_0x354e7d,_0x7fceea),_0x435fac['render']({'chartId':_0x5ee556,'config':_0x4812f8,'style':_0x354e7d})[_0x54f469(0x213)](()=>{});});return()=>{const _0x4da877=_0x29bca0;var _0x5da3f7;_0x5a8b27[_0x4da877(0x2f6)](),_0x3f45c3[_0x4da877(0x211)](),_0x435fac[_0x4da877(0x211)](),_0x229e79[_0x4da877(0x211)](),((_0x5da3f7=_0x1deb74[_0x4da877(0x2eb)])==null?void 0x0:_0x5da3f7[_0x4da877(0x262)])===_0x4d97dc&&_0x1deb74[_0x4da877(0x2eb)][_0x4da877(0x24c)]===_0x5ee556&&_0x1deb74['setActiveChartRuntime'](null);};},[_0x1132ed,_0x5ee556,_0x4747be,_0x1deb74,_0x7fceea,_0x4d97dc]),_0x5e799c(_0x571376(0x1d8),{'className':_0x571376(0x215),'data-board-chart-dom-renderer':_0x5ee556,'children':_0x5e799c(_0x571376(0x1d8),{'ref':_0x33779c,'data-board-chart-dom-content-host':_0x5ee556})});}function Tr(_0x564803,_0x1bce15,_0x588040,_0x5113dc){const _0x49c41b=_0x499525;let _0x1dcfe3=_0x5113dc['getHostStyle'](_0x588040)['fill'],_0x385e76=_r({'chartStyle':_0x588040,'chartElement':_0x1bce15,'hostFill':_0x1dcfe3}),_0x3dca35=Math[_0x49c41b(0x22b)](0x0,_0x385e76[_0x49c41b(0x1f9)]);_0x564803['style'][_0x49c41b(0x1fb)]=_0x49c41b(0x3b7),_0x564803['style']['left']=_0x3dca35+'px',_0x564803[_0x49c41b(0x1d0)][_0x49c41b(0x2fe)]=_0x3dca35+'px',_0x564803[_0x49c41b(0x1d0)]['right']=_0x3dca35+'px',_0x564803[_0x49c41b(0x1d0)][_0x49c41b(0x2fd)]=_0x3dca35+'px',_0x564803[_0x49c41b(0x1d0)]['backgroundColor']=_0x385e76['fill'],_0x564803['style'][_0x49c41b(0x1db)]=Math['max'](0x0,_0x385e76[_0x49c41b(0x384)]-_0x3dca35)+'px',_0x564803[_0x49c41b(0x1d0)]['overflow']=_0x49c41b(0x228),_0x564803[_0x49c41b(0x1d0)][_0x49c41b(0x2bd)]=_0x49c41b(0x39a);}const Er=_0x4ed68c(_0x499525(0x3b0)),Dr=0x0;function Or(_0x6cdd10){return{..._0x6cdd10,'borderWidth':0x0};}var kr=class{constructor(_0x269532,_0x432d53){const _0x3ea76f=_0x499525;this[_0x3ea76f(0x37d)]=_0x269532,this[_0x3ea76f(0x316)]=_0x432d53;}async[_0x499525(0x381)](_0x460e6a,_0x214d45){const _0x18a717=_0x499525;if(typeof document>'u')throw TypeError(_0x18a717(0x270));let {chartConfig:_0x4aa720,chartStyle:_0x52278f}=this['_renderService'][_0x18a717(0x284)](_0x214d45),_0x5a92c4=Or(_0x52278f);if(_0x460e6a['format']===_0x2b715c[_0x18a717(0x201)])return(await this[_0x18a717(0x316)][_0x18a717(0x1ae)]({'chartId':_0x214d45['chartId'],'config':_0x4aa720,'style':_0x5a92c4,'width':_0x460e6a[_0x18a717(0x230)],'height':_0x460e6a[_0x18a717(0x1ee)]},{'format':_0x460e6a[_0x18a717(0x26a)]}))['dataUrl'];let _0x741c87=new _0x49c6c9(_0x214d45[_0x18a717(0x24c)],{'width':_0x460e6a[_0x18a717(0x230)],'height':_0x460e6a[_0x18a717(0x1ee)]}),_0x21d1b1=this[_0x18a717(0x37d)]['createChartInstance'](_0xa8a587[_0x18a717(0x26f)]);try{_0x21d1b1['bind'](_0x741c87),await _0x21d1b1[_0x18a717(0x381)]({'chartId':_0x214d45[_0x18a717(0x24c)],'config':_0x4aa720,'style':_0x5a92c4});let _0x3bff8b=_0x741c87['getDataUrl']();if(!_0x3bff8b)throw Error(_0x18a717(0x277)+_0x214d45['unitId']+'/'+_0x214d45[_0x18a717(0x24c)]);return _0x3bff8b;}finally{_0x21d1b1[_0x18a717(0x211)](),_0x741c87['dispose']();}}};let J=class extends _0x33d8f8{constructor(_0x38e024,_0x8239c6,_0x1eed6d,_0x2a46c5,_0x3c057a){super(_0x38e024,_0x8239c6,_0x3c057a??new kr(_0x1eed6d,_0x2a46c5));}[_0x499525(0x260)](_0x2107e5){const _0x278369=_0x499525;let _0x3f4dda=super[_0x278369(0x260)](_0x2107e5);return _0x2107e5[_0x278369(0x26a)]===_0x2b715c[_0x278369(0x201)]?_0x3f4dda+'::'+_0x2107e5[_0x278369(0x26a)]:_0x3f4dda;}};J=V([B(0x0,_0x496119(_0x4cc5cd)),B(0x1,_0x496119(_0x37b64c)),B(0x2,_0x496119(q)),B(0x3,_0x41c8ae),B(0x4,_0x202b18(Er))],J);let Ar=class extends _0x213704{constructor(_0x5b1f26,_0x17b239,_0x6378bb,_0x147172,_0x7b0b11){const _0x18b668=_0x499525;super(),this[_0x18b668(0x31c)]=_0x5b1f26,this['_editSessionService']=_0x17b239,this[_0x18b668(0x1cb)]=_0x6378bb,this[_0x18b668(0x2d9)]=_0x147172,this['_snapshotService']=_0x7b0b11,z(this,_0x18b668(0x2a6),null),z(this,'_activeLayerDisposable',null),z(this,_0x18b668(0x370),null),this[_0x18b668(0x2e6)](this[_0x18b668(0x2ab)][_0x18b668(0x30b)][_0x18b668(0x1e5)](_0x20143b=>this[_0x18b668(0x217)](_0x20143b)));}['dispose'](){const _0x129a63=_0x499525;this[_0x129a63(0x2b5)](),super['dispose']();}['_syncActiveChart'](_0x5a4f99){const _0x255c30=_0x499525;if(!_0x5a4f99||_0x5a4f99[_0x255c30(0x262)]!==this['_renderContext'][_0x255c30(0x262)]){this[_0x255c30(0x2b5)]();return;}let _0x24b149=this['_boardElementService'][_0x255c30(0x2cd)](_0x5a4f99[_0x255c30(0x262)],_0x5a4f99['subUnitId']),_0x241c06=_0x24b149[_0x5a4f99[_0x255c30(0x34d)]];if(!_0x241c06||_0x241c06[_0x255c30(0x1c3)][_0x255c30(0x1b0)]!==_0xdc726d[_0x255c30(0x2d4)]||_0x241c06[_0x255c30(0x1c3)]['chartId']!==_0x5a4f99['chartId']){this[_0x255c30(0x2b5)]();return;}let _0x1922c9=_0x477c18(_0x24b149,_0x241c06[_0x255c30(0x34d)]);if(!_0x1922c9){this[_0x255c30(0x2b5)]();return;}let _0x5b5966=_0x241c06[_0x255c30(0x1c3)],_0x5427a0=_0x5b5966[_0x255c30(0x24c)],_0x3a0d57=[_0x255c30(0x1de),_0x5a4f99[_0x255c30(0x262)],_0x5a4f99[_0x255c30(0x237)],_0x241c06['elementId']][_0x255c30(0x194)](':');if(this[_0x255c30(0x2a6)]===_0x3a0d57){this[_0x255c30(0x370)]={'chartId':_0x5427a0,'unitId':_0x5a4f99[_0x255c30(0x262)]},this[_0x255c30(0x2d9)][_0x255c30(0x2fc)](_0x3a0d57,{'rect':_0x1922c9,'content':()=>_0x5e799c(wr,{'chartId':_0x5427a0,'chartElement':_0x5b5966,'unitId':_0x5a4f99['unitId']})});return;}this['_clearActiveLayer'](),this[_0x255c30(0x2a6)]=_0x3a0d57,this[_0x255c30(0x370)]={'chartId':_0x5427a0,'unitId':_0x5a4f99[_0x255c30(0x262)]},this['_activeLayerDisposable']=this[_0x255c30(0x2d9)][_0x255c30(0x2d7)]({'id':_0x3a0d57,'unitId':_0x5a4f99[_0x255c30(0x262)],'subUnitId':_0x5a4f99[_0x255c30(0x237)],'elementId':_0x241c06[_0x255c30(0x34d)],'rect':_0x1922c9,'interactive':!0x0,'zIndex':0x1,'content':()=>_0x5e799c(wr,{'chartId':_0x5427a0,'chartElement':_0x5b5966,'unitId':_0x5a4f99[_0x255c30(0x262)]})});}['_clearActiveLayer'](){const _0x27e614=_0x499525;var _0x42ab76;let _0xd6fe5=this[_0x27e614(0x370)];(_0x42ab76=this[_0x27e614(0x224)])==null||_0x42ab76[_0x27e614(0x211)](),this[_0x27e614(0x224)]=null,this['_activeLayerId']=null,this[_0x27e614(0x370)]=null,_0xd6fe5&&this[_0x27e614(0x393)]['invalidateChart'](_0xd6fe5['unitId'],_0xd6fe5[_0x27e614(0x24c)],{'waitForConfig':!0x0});}};Ar=V([B(0x1,_0x496119(H)),B(0x2,_0x312cb0),B(0x3,_0x496119(_0x128dd4)),B(0x4,_0x496119(J))],Ar);let Y=class extends _0x213704{constructor(_0x585d1c,_0x158900,_0x272c0a,_0x28168b){const _0x3ccd06=_0x499525;super(),this[_0x3ccd06(0x1be)]=_0x585d1c,this[_0x3ccd06(0x393)]=_0x158900,this[_0x3ccd06(0x265)]=_0x272c0a,this['_modelService']=_0x28168b,this['_listenChartResourceMutations']();}['_listenChartResourceMutations'](){const _0xc7c1a=_0x499525;this[_0xc7c1a(0x2e6)](this[_0xc7c1a(0x1be)][_0xc7c1a(0x258)](_0x2efa27=>{const _0x1b2306=_0xc7c1a;if(_0x2efa27['id']===_0x25379f['id']){var _0x58c26c;let _0x17511e=_0x2efa27[_0x1b2306(0x1cd)];_0x17511e!=null&&_0x17511e['unitId']&&(_0x58c26c=_0x17511e[_0x1b2306(0x35a)])!=null&&_0x58c26c['id']&&(this['_shouldWaitForChartConfig'](_0x17511e)?this[_0x1b2306(0x393)][_0x1b2306(0x338)](_0x17511e[_0x1b2306(0x262)],_0x17511e[_0x1b2306(0x35a)]['id'],{'waitForConfig':!0x0}):this[_0x1b2306(0x393)]['invalidateChart'](_0x17511e['unitId'],_0x17511e[_0x1b2306(0x35a)]['id']));return;}if(_0x2efa27['id']===_0x3a8c3f['id']){var _0x4d2085;let _0x5bc514=_0x2efa27[_0x1b2306(0x1cd)];if(!(_0x5bc514!=null&&_0x5bc514[_0x1b2306(0x262)])||!((_0x4d2085=_0x5bc514['dataSource'])!=null&&_0x4d2085['id']))return;this[_0x1b2306(0x265)][_0x1b2306(0x2b2)](_0x5bc514[_0x1b2306(0x262)],_0x5bc514['dataSource']['id'])[_0x1b2306(0x375)](_0x1a9586=>this[_0x1b2306(0x393)][_0x1b2306(0x338)](_0x5bc514[_0x1b2306(0x262)],_0x1a9586,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x4703b6){const _0x1de3cd=_0x499525;var _0x4c2075;let _0x157fc0=(_0x4c2075=this[_0x1de3cd(0x214)][_0x1de3cd(0x2ac)](_0x4703b6[_0x1de3cd(0x262)],_0x4703b6[_0x1de3cd(0x35a)]['id']))==null||(_0x4c2075=_0x4c2075['model'][_0x1de3cd(0x3a6)])==null?void 0x0:_0x4c2075[_0x1de3cd(0x1b0)];return _0x157fc0!=null&&_0x157fc0!==_0x4703b6[_0x1de3cd(0x35a)][_0x1de3cd(0x276)];}};Y=V([B(0x0,_0xa6f2d7),B(0x1,_0x496119(J)),B(0x2,_0x496119(_0x2cd96e)),B(0x3,_0x496119(_0x37b64c))],Y);var jr=_0x499525(0x25c),Mr=_0x499525(0x34c);const Nr={'scaleX':0x1,'scaleY':0x1};function Pr(_0x44e7fa){const _0x223699=_0x499525;let _0x468ad7=_0x44e7fa[_0x223699(0x233)];return typeof MouseEvent<'u'&&_0x468ad7 instanceof MouseEvent?_0x468ad7:void 0x0;}function Fr(_0x3d45a3){const _0x7d7d15=_0x499525;let _0x24df18=_0x3d45a3['nativeEvent'],_0x3f419e=_0x24df18==null?void 0x0:_0x24df18[_0x7d7d15(0x238)];return typeof Element<'u'&&_0x3f419e instanceof Element?_0x3f419e:void 0x0;}function Ir(_0x1bfa5f){return _0x1bfa5f['width']||_0x1bfa5f['right']-_0x1bfa5f['left'];}function Lr(_0x2943a7){const _0x332c89=_0x499525;return _0x2943a7[_0x332c89(0x1ee)]||_0x2943a7[_0x332c89(0x2fd)]-_0x2943a7[_0x332c89(0x2fe)];}function Rr(_0x300fb2,_0x4c4ff2){const _0x5d8bcd=_0x499525;let _0x2fc1db=_0x300fb2['clientWidth']||(typeof HTMLElement<'u'&&_0x300fb2 instanceof HTMLElement?_0x300fb2[_0x5d8bcd(0x2cb)]:0x0),_0x23a684=_0x300fb2['clientHeight']||(typeof HTMLElement<'u'&&_0x300fb2 instanceof HTMLElement?_0x300fb2['offsetHeight']:0x0),_0x39e558=Ir(_0x4c4ff2),_0x111f64=Lr(_0x4c4ff2);return{'scaleX':_0x2fc1db>0x0&&_0x39e558>0x0?_0x39e558/_0x2fc1db:Nr['scaleX'],'scaleY':_0x23a684>0x0&&_0x111f64>0x0?_0x111f64/_0x23a684:Nr[_0x5d8bcd(0x38d)]};}function zr(_0x1b7147,_0x22a9d4,_0x1c9763){const _0xe639ef=_0x499525;return{'left':_0x1b7147[_0xe639ef(0x2e0)]+_0x22a9d4['left']*_0x1c9763[_0xe639ef(0x285)],'right':_0x1b7147[_0xe639ef(0x2e0)]+_0x22a9d4[_0xe639ef(0x231)]*_0x1c9763['scaleX'],'top':_0x1b7147[_0xe639ef(0x2fe)]+_0x22a9d4['top']*_0x1c9763[_0xe639ef(0x38d)],'bottom':_0x1b7147['top']+_0x22a9d4[_0xe639ef(0x2fd)]*_0x1c9763[_0xe639ef(0x38d)]};}function Br(_0x1a448c){const _0x54a6b2=_0x499525;let _0x22b6f9=Fr(_0x1a448c),_0x20f8c3=_0x1a448c[_0x54a6b2(0x20a)]['bounds'];return _0x22b6f9&&_0x20f8c3?()=>{const _0x774a8f=_0x54a6b2;let _0x32c8ca=_0x22b6f9[_0x774a8f(0x282)]();return zr(_0x32c8ca,_0x20f8c3,Rr(_0x22b6f9,_0x32c8ca));}:()=>{const _0x5bcd50=_0x54a6b2;let _0x3e3ba9=_0x22b6f9==null?void 0x0:_0x22b6f9[_0x5bcd50(0x282)]();if(_0x22b6f9&&_0x3e3ba9&&_0x20f8c3)return zr(_0x3e3ba9,_0x20f8c3,Rr(_0x22b6f9,_0x3e3ba9));let _0x442af8=Pr(_0x1a448c),_0x47e73a=_0x22b6f9&&_0x3e3ba9?Rr(_0x22b6f9,_0x3e3ba9):Nr,_0x1051b9=(_0x442af8==null?void 0x0:_0x442af8[_0x5bcd50(0x380)])??(_0x3e3ba9?_0x3e3ba9['left']+_0x1a448c[_0x5bcd50(0x3b2)]['x']*_0x47e73a[_0x5bcd50(0x285)]:_0x1a448c['localPoint']['x']),_0x2bbe22=(_0x442af8==null?void 0x0:_0x442af8['clientY'])??(_0x3e3ba9?_0x3e3ba9[_0x5bcd50(0x2fe)]+_0x1a448c[_0x5bcd50(0x3b2)]['y']*_0x47e73a[_0x5bcd50(0x38d)]:_0x1a448c[_0x5bcd50(0x3b2)]['y']);return{'left':_0x1051b9,'right':_0x1051b9+0x1,'top':_0x2bbe22,'bottom':_0x2bbe22+0x1};};}function Vr(_0x45c2c6){const _0x4cfb8a=_0x499525;return _0x45c2c6[_0x4cfb8a(0x231)]<=_0x45c2c6[_0x4cfb8a(0x2e0)]||_0x45c2c6['bottom']<=_0x45c2c6[_0x4cfb8a(0x2fe)]?!0x1:typeof window>'u'||_0x45c2c6[_0x4cfb8a(0x231)]>0x0&&_0x45c2c6[_0x4cfb8a(0x2fd)]>0x0&&_0x45c2c6['left']<window[_0x4cfb8a(0x39d)]&&_0x45c2c6[_0x4cfb8a(0x2fe)]<window[_0x4cfb8a(0x32d)];}function Hr(_0x2954a2,_0x304fa9){const _0x5207fd=_0x499525;let _0xb7b762=Br(_0x2954a2),_0x5864c9=_0xb7b762(),_0x12cf3a=new _0x228f45(_0x5864c9),_0x167c20=new _0x1ae3d6(),_0x1f732f=!0x1,_0x357b5f=!0x1;return typeof window<'u'&&_0x167c20[_0x5207fd(0x34b)](_0xdfa41a(_0x52e2b8(window,_0x5207fd(0x2aa),{'capture':!0x0}),_0x52e2b8(window,_0x5207fd(0x229)))[_0x5207fd(0x203)](_0xa0c0cb(0x10))[_0x5207fd(0x1e5)](()=>{_0x357b5f||_0x1f732f||(_0x357b5f=!0x0,queueMicrotask(()=>{if(_0x357b5f=!0x1,_0x1f732f)return;let _0x495da1=_0xb7b762();if(!Vr(_0x495da1)){_0x304fa9();return;}_0x12cf3a['next'](_0x495da1);}));})),{'initialRect':_0x5864c9,'anchorRect$':_0x12cf3a[_0x5207fd(0x297)](),'visible':Vr(_0x5864c9),'dispose':()=>{const _0x23c716=_0x5207fd;_0x1f732f=!0x0,_0x167c20[_0x23c716(0x211)](),_0x12cf3a[_0x23c716(0x1f6)]();}};}const Ur=_0x499525(0x19e);function Wr(_0xe9599c,_0x31b6aa){return _0xe9599c+'::'+_0x31b6aa;}let X=class extends _0x213704{constructor(_0x102adf,_0x352a90,_0x8c3f67,_0x39a750,_0x517cc7,_0x537e76,_0x335a83,_0x5c20f6,_0x41c9f5){const _0x3544fc=_0x499525;super(),this[_0x3544fc(0x214)]=_0x102adf,this[_0x3544fc(0x25f)]=_0x352a90,this[_0x3544fc(0x394)]=_0x8c3f67,this[_0x3544fc(0x2ab)]=_0x39a750,this[_0x3544fc(0x292)]=_0x517cc7,this[_0x3544fc(0x2ca)]=_0x537e76,this[_0x3544fc(0x33c)]=_0x335a83,this[_0x3544fc(0x387)]=_0x5c20f6,this['_injector']=_0x41c9f5,z(this,'_chartEventDisposables',new Map()),z(this,_0x3544fc(0x27d),null),z(this,'_popupRuntimeKey',null),z(this,_0x3544fc(0x389),null),this['_registerAdapter'](),this['_subscribeChartEvents']();}[_0x499525(0x211)](){const _0x51206a=_0x499525;this[_0x51206a(0x2ff)](),this[_0x51206a(0x2ad)][_0x51206a(0x375)](_0x16618b=>_0x16618b['dispose']()),this[_0x51206a(0x2ad)][_0x51206a(0x21d)](),super[_0x51206a(0x211)]();}[_0x499525(0x326)](){const _0x3f4252=_0x499525;let _0x40e9f6=_0x2f2c9b({'chartUIService':this[_0x3f4252(0x394)],'getHostAdapter':_0x4a13ec=>{const _0x218f87=_0x3f4252;this['_modelService'][_0x218f87(0x1c2)](_0x4a13ec['unitId'],_0x4a13ec[_0x218f87(0x24c)]);let _0x370334=this[_0x218f87(0x214)]['getChartModel'](_0x4a13ec['unitId'],_0x4a13ec[_0x218f87(0x24c)]),_0x41e7a7=this[_0x218f87(0x387)][_0x218f87(0x1ec)](_0x4a13ec[_0x218f87(0x262)],_0x361416['UNIVER_BOARD']),_0x2b5c11=this[_0x218f87(0x2ab)][_0x218f87(0x1b2)]();if(!(!_0x370334||!_0x41e7a7||!_0x2b5c11))return new _0x19ae32(_0x370334[_0x218f87(0x1a9)],new _0x6807e4({'unitId':_0x4a13ec[_0x218f87(0x262)],'pageId':_0x2b5c11[_0x218f87(0x237)],'chartId':_0x4a13ec['chartId'],'elementId':_0x2b5c11[_0x218f87(0x34d)],'boardModel':_0x41e7a7,'injector':this[_0x218f87(0x266)]}));},'close':()=>this[_0x3f4252(0x2ff)](),'openFullPanel':_0x1a4df0=>{const _0x1cc568=_0x3f4252;this[_0x1cc568(0x214)][_0x1cc568(0x1c2)](_0x1a4df0['unitId'],_0x1a4df0[_0x1cc568(0x24c)]);let _0x46cad7=this[_0x1cc568(0x2ab)][_0x1cc568(0x1b2)]();(_0x46cad7==null?void 0x0:_0x46cad7['unitId'])===_0x1a4df0[_0x1cc568(0x262)]&&_0x46cad7[_0x1cc568(0x24c)]===_0x1a4df0[_0x1cc568(0x24c)]&&this[_0x1cc568(0x2ab)][_0x1cc568(0x2a4)]({..._0x46cad7,'route':_0x25e98d(_0x1a4df0['target']),'source':_0x1cc568(0x313)}),this[_0x1cc568(0x2ff)]();}});this[_0x3f4252(0x2e6)](this[_0x3f4252(0x292)][_0x3f4252(0x38c)](Ur,_0x40e9f6));}[_0x499525(0x23d)](){const _0x4617eb=_0x499525;this[_0x4617eb(0x2e6)](this[_0x4617eb(0x214)][_0x4617eb(0x2a7)]['subscribe'](_0x3d4f8b=>{const _0x5b8ee4=_0x4617eb;let _0x3b6f82=Wr(_0x3d4f8b['unitId'],_0x3d4f8b[_0x5b8ee4(0x24c)]);if(this[_0x5b8ee4(0x2ad)][_0x5b8ee4(0x1e0)](_0x3b6f82))return;let _0x424922=new _0x1ae3d6();_0x424922[_0x5b8ee4(0x34b)](this[_0x5b8ee4(0x25f)]['on'](_0x3d4f8b[_0x5b8ee4(0x262)],_0x3d4f8b['chartId'],_0x5b8ee4(0x256),_0x438f5b=>{const _0x2f0c30=_0x5b8ee4;this['_openFloatMenu'](_0x3d4f8b['unitId'],_0x3d4f8b[_0x2f0c30(0x24c)],_0x438f5b);})),this[_0x5b8ee4(0x2ad)][_0x5b8ee4(0x1e4)](_0x3b6f82,_0x424922);})),this['disposeWithMe'](this[_0x4617eb(0x214)][_0x4617eb(0x1fd)][_0x4617eb(0x1e5)](_0x4ba92a=>{const _0x174a80=_0x4617eb;var _0x154907;let _0x31c2b0=Wr(_0x4ba92a[_0x174a80(0x262)],_0x4ba92a[_0x174a80(0x24c)]);(_0x154907=this['_chartEventDisposables'][_0x174a80(0x234)](_0x31c2b0))==null||_0x154907[_0x174a80(0x211)](),this[_0x174a80(0x2ad)][_0x174a80(0x1ac)](_0x31c2b0),this[_0x174a80(0x245)]===_0x31c2b0&&this[_0x174a80(0x2ff)]();})),this['disposeWithMe'](this[_0x4617eb(0x214)][_0x4617eb(0x2a2)][_0x4617eb(0x1e5)](_0x5eb145=>{const _0x5bea00=_0x4617eb;let _0x22ade7=_0x5eb145?Wr(_0x5eb145[_0x5bea00(0x262)],_0x5eb145[_0x5bea00(0x24c)]):null;(!_0x22ade7||this['_popupRuntimeKey']&&_0x22ade7!==this['_popupRuntimeKey'])&&this[_0x5bea00(0x2ff)]();}));}[_0x499525(0x1bd)](_0x4b3248,_0x50ef25,_0x48ccf0){const _0x19e8f8=_0x499525;if(!this[_0x19e8f8(0x25f)]['isElementEditModeActive'](_0x4b3248,_0x50ef25))return;let _0x21163f=this[_0x19e8f8(0x214)]['getChartModel'](_0x4b3248,_0x50ef25),_0xf48b4e=_0x21163f?_0x378845(_0x21163f[_0x19e8f8(0x1a9)],_0x48ccf0[_0x19e8f8(0x20a)]):void 0x0;if(!_0x21163f||!_0xf48b4e){this[_0x19e8f8(0x2ff)]();return;}let _0x491c1d=JSON['stringify']([_0x4b3248,_0x50ef25,_0xf48b4e[_0x19e8f8(0x238)]]);if(this[_0x19e8f8(0x27d)]&&this[_0x19e8f8(0x389)]===_0x491c1d||(this[_0x19e8f8(0x214)][_0x19e8f8(0x23b)](_0x21163f),this[_0x19e8f8(0x2ff)](),!_0xf48b4e[_0x19e8f8(0x3ae)]))return;let _0x2a9c9a=this['_renderManagerService']['getRenderUnitById'](_0x4b3248);if(!_0x2a9c9a)return;let _0x37279b=Hr(_0x48ccf0,()=>this[_0x19e8f8(0x1a7)](_0x4b3248,_0x50ef25));if(!_0x37279b[_0x19e8f8(0x236)]){_0x37279b[_0x19e8f8(0x211)]();return;}let _0x227257=this['_canvasPopupService'][_0x19e8f8(0x244)]({'componentKey':_0x16dc10,'direction':_0x19e8f8(0x274),'offset':[0x0,0x8],'unitId':_0x4b3248,'subUnitId':'','anchorRect':_0x37279b[_0x19e8f8(0x2f3)],'anchorRect$':_0x37279b[_0x19e8f8(0x314)],'canvasElement':_0x2a9c9a[_0x19e8f8(0x240)]['getCanvasElement'](),'extraProps':{'unitId':_0x4b3248,'chartId':_0x50ef25,'element':_0x48ccf0[_0x19e8f8(0x20a)],'target':_0xf48b4e[_0x19e8f8(0x238)],'adapterKey':Ur}}),_0x187846=new _0x1ae3d6();_0x187846[_0x19e8f8(0x34b)](_0x37279b),_0x187846[_0x19e8f8(0x34b)]({'dispose':()=>this[_0x19e8f8(0x2ca)][_0x19e8f8(0x3a9)](_0x227257)}),this['_popupDisposable']=_0x187846,this[_0x19e8f8(0x245)]=Wr(_0x4b3248,_0x50ef25),this[_0x19e8f8(0x389)]=_0x491c1d;}['_closePopup'](){const _0x43a07f=_0x499525;var _0x2fd7f5;(_0x2fd7f5=this['_popupDisposable'])==null||_0x2fd7f5[_0x43a07f(0x211)](),this['_popupDisposable']=null,this[_0x43a07f(0x245)]=null,this[_0x43a07f(0x389)]=null;}[_0x499525(0x1a7)](_0x3c7103,_0x21e513){const _0x518d02=_0x499525;this['_closePopup'](),this[_0x518d02(0x25f)][_0x518d02(0x2c3)](_0x3c7103,_0x21e513)&&(this[_0x518d02(0x25f)]['setElementEditMode'](_0x3c7103,_0x21e513,!0x1),this[_0x518d02(0x25f)][_0x518d02(0x32b)](_0x3c7103,_0x21e513,!0x0));}};X=V([B(0x0,_0x496119(_0x37b64c)),B(0x1,_0x496119(q)),B(0x2,U),B(0x3,_0x496119(H)),B(0x4,_0x496119(_0x290800)),B(0x5,_0x496119(_0x5cf6c4)),B(0x6,_0x143b2),B(0x7,_0x1cc825),B(0x8,_0x496119(_0x11a7be))],X);function Gr(_0x329ff6,_0x58a0f6,_0x49c9d1,_0x12c7a7,_0x505176){let _0x1d469e={'chartType':_0x58a0f6,'data':_0x49c9d1,..._0x505176?{'dataSource':_0x505176}:{},..._0x12c7a7?{'style':_0x12c7a7}:{}};return{..._0x329ff6,'options':_0x1d469e};}function Kr(_0x4283ad){const _0x3e1ea6=_0x499525;let _0x5361ab=_0x11c57d(_0xa6f2d7),_0x7262e4=_0x11c57d(_0x4cc5cd),_0x5d70d3=_0x2702de(()=>_0x58277a(_0xcd7567[_0x3e1ea6(0x22f)](_0x20dbb0=>({..._0x20dbb0,'label':_0x7262e4['t'](_0x3e1ea6(0x3a2)+_0x20dbb0[_0x3e1ea6(0x1a2)])}))),[_0x7262e4]),[_0x181378,_0x4d49ea]=_0x41a5b5(String(_0x567e7a[_0x3e1ea6(0x204)])),_0x2ff2e3=_0x5d70d3[_0x3e1ea6(0x2f4)](_0x31c547=>_0x31c547[_0x3e1ea6(0x325)]===_0x181378),_0x4dd25e=(_0x2ff2e3==null?void 0x0:_0x2ff2e3[_0x3e1ea6(0x276)])??_0x567e7a[_0x3e1ea6(0x204)],[_0x2fb396,_0x3e340c]=_0x41a5b5(()=>_0x3cdf2b[_0x3e1ea6(0x22f)](_0x4eee4b=>[..._0x4eee4b])),[_0x313cf6,_0x5b9e4c]=_0x41a5b5(_0x3e1ea6(0x286)),[_0x453965,_0x410665]=_0x41a5b5(null),[_0x5a2854,_0x16a022]=_0x41a5b5([]),[_0x346a7a,_0x5afbd5]=_0x41a5b5(null),_0x299f01={[_0x80d379[_0x3e1ea6(0x1dc)]]:_0x7262e4['t'](_0x3e1ea6(0x1eb)),[_0x80d379[_0x3e1ea6(0x36e)]]:_0x7262e4['t'](_0x3e1ea6(0x1bb)),[_0x80d379[_0x3e1ea6(0x331)]]:_0x7262e4['t'](_0x3e1ea6(0x2f0))},_0x405ca3=_0x2c0593=>_0x11f1c1(_0x2c0593,{'candlestickClose':_0x7262e4['t'](_0x3e1ea6(0x2cf)),'candlestickHigh':_0x7262e4['t'](_0x3e1ea6(0x1c4)),'candlestickLow':_0x7262e4['t'](_0x3e1ea6(0x3a7)),'candlestickOpen':_0x7262e4['t']('boards-chart-ui.candlestick.open'),'category':_0x7262e4['t'](_0x3e1ea6(0x1aa)),'chordSource':_0x7262e4['t'](_0x3e1ea6(0x290)),'chordTarget':_0x7262e4['t'](_0x3e1ea6(0x2e4)),'label':_0x7262e4['t'](_0x3e1ea6(0x299)),'sunburstHierarchy':_0x7262e4['t'](_0x3e1ea6(0x279)),'value':_0x7262e4['t'](_0x3e1ea6(0x2dd)),'valueField':_0x7262e4['t'](_0x3e1ea6(0x2c8))});return _0x325495('div',{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','children':[_0x325495(_0x3e1ea6(0x1d8),{'className':_0x3e1ea6(0x24e),'children':[_0x5e799c(_0x3e1ea6(0x1d8),{'className':_0x3e1ea6(0x2c7),'children':_0x7262e4['t'](_0x3e1ea6(0x29c))}),_0x5e799c(_0x32964c,{'className':_0x3e1ea6(0x31b),'value':_0x181378,'options':_0x5d70d3,'onChange':_0x30ceec=>{const _0x5672b1=_0x3e1ea6;var _0xfdfb9;_0x4d49ea(_0x30ceec);let _0x3495c9=((_0xfdfb9=_0x5d70d3[_0x5672b1(0x2f4)](_0x66a077=>_0x66a077[_0x5672b1(0x325)]===_0x30ceec))==null?void 0x0:_0xfdfb9[_0x5672b1(0x276)])??Number(_0x30ceec),_0x1d26da=_0x405ca3(_0x3495c9);_0x1d26da&&_0x3e340c(_0x1d26da);}})]}),_0x5e799c(_0x2299e5,{'mode':_0x313cf6,'inlineContent':_0x5e799c(_0x46ec38,{'values':_0x2fb396,'minColumns':_0xf4efad(_0x4dd25e),'parsePastedText':_0x1411e1,'onChange':_0x3e340c}),'onModeChange':_0xb790f4=>{_0x5b9e4c(_0xb790f4),_0x410665(null),_0x16a022([]);},'onPreviewChange':(_0x1ff0f7,_0x3ab033)=>{const _0x437f85=_0x3e1ea6;_0x1ff0f7&&_0x3ab033[_0x437f85(0x360)]===_0x3dd533[_0x437f85(0x1a4)]&&_0x3ab033[_0x437f85(0x1b4)]?(_0x410665({'source':_0x1ff0f7}),_0x16a022(_0x3ab033[_0x437f85(0x1b4)]['map'](_0x4723db=>[..._0x4723db]))):(_0x410665(null),_0x16a022([]));}}),_0x346a7a&&_0x5e799c(_0x3e1ea6(0x1d8),{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x346a7a}),_0x325495(_0x3e1ea6(0x1d8),{'className':_0x3e1ea6(0x1e7),'children':[_0x4283ad[_0x3e1ea6(0x24a)]&&_0x5e799c(_0x5f405e,{'type':_0x3e1ea6(0x390),'variant':_0x3e1ea6(0x386),'onClick':_0x4283ad[_0x3e1ea6(0x24a)],'children':_0x7262e4['t']('boards-chart-ui.common.cancel')}),_0x5e799c(_0x5f405e,{'type':_0x3e1ea6(0x390),'variant':_0x3e1ea6(0x273),'disabled':_0x313cf6===_0x3e1ea6(0x257)&&!_0x453965,'onClick':async()=>{const _0x54fa9b=_0x3e1ea6;var _0x51bfe5;let _0x3ccf12=_0x37314a({'optionId':_0x181378,'values':_0x313cf6===_0x54fa9b(0x257)?_0x5a2854:_0x2fb396});if(!_0x3ccf12['ok']){_0x5afbd5(_0x299f01[_0x3ccf12['issue'][_0x54fa9b(0x22c)]]);return;}if(!await _0x5361ab[_0x54fa9b(0x1f2)](_0x3946e8['id'],Gr(_0x4283ad['insertParams'],_0x3ccf12[_0x54fa9b(0x1d9)][_0x54fa9b(0x276)],_0x3ccf12[_0x54fa9b(0x1d9)][_0x54fa9b(0x1b4)],_0x3ccf12[_0x54fa9b(0x1d9)][_0x54fa9b(0x1d0)],_0x313cf6===_0x54fa9b(0x257)?_0x453965??void 0x0:void 0x0))){_0x5afbd5(_0x7262e4['t'](_0x54fa9b(0x1eb)));return;}_0x5afbd5(null),(_0x51bfe5=_0x4283ad[_0x54fa9b(0x202)])==null||_0x51bfe5['call'](_0x4283ad);},'children':_0x7262e4['t'](_0x3e1ea6(0x2b9))})]})]});}let qr=class extends _0x213704{constructor(_0x1e7cf6){const _0x1948d2=_0x499525;super(),this[_0x1948d2(0x373)]=_0x1e7cf6,this['_registerComponents']();}['_registerComponents'](){const _0x5c01d1=_0x499525;this['disposeWithMe'](this[_0x5c01d1(0x373)][_0x5c01d1(0x38c)](ar,fr)),this[_0x5c01d1(0x2e6)](this[_0x5c01d1(0x373)][_0x5c01d1(0x38c)](nr,rr)),this[_0x5c01d1(0x2e6)](this[_0x5c01d1(0x373)]['register'](_0x5d30bd,Kr)),this[_0x5c01d1(0x2e6)](this['_componentManager'][_0x5c01d1(0x38c)](Xn,er));}};qr=V([B(0x0,_0x496119(_0x16fbc0))],qr);var Jr=class extends _0x506295{constructor(_0xa7a9f8,_0x599c91){const _0x589514=_0x499525;super(_0xa7a9f8,_0x599c91),z(this,_0x589514(0x1da),void 0x0),z(this,_0x589514(0x1e3),void 0x0),this['_element']=_0x599c91[_0x589514(0x1c3)],this[_0x589514(0x1e3)]=_0x599c91['frameStyle'],this['_attachNativeLoadHandlers']();}[_0x499525(0x29d)](_0x13c159){const _0x534a06=_0x499525;this[_0x534a06(0x1da)]=_0x13c159,this[_0x534a06(0x28d)](!0x0);}['updateFrameStyle'](_0x5f27d9){const _0x5536a9=_0x499525;Xr(this[_0x5536a9(0x1e3)],_0x5f27d9)||(this[_0x5536a9(0x1e3)]=_0x5f27d9,this[_0x5536a9(0x28d)](!0x0));}[_0x499525(0x392)](){return this['_element'];}[_0x499525(0x1b7)](){const _0x15e00d=_0x499525;return this[_0x15e00d(0x1e3)];}[_0x499525(0x23f)](_0x1ddee1){const _0x294246=_0x499525;this[_0x294246(0x254)]??(this[_0x294246(0x254)]=document[_0x294246(0x2d6)](_0x294246(0x24b)),this['_native'][_0x294246(0x1f1)]=_0x294246(0x309)),this[_0x294246(0x37b)](),this[_0x294246(0x254)][_0x294246(0x261)]=_0x1ddee1;}[_0x499525(0x2be)](_0x58716e,_0x243dee,_0x4f67a9=this['width'],_0x4929ce=this[_0x499525(0x1ee)]){const _0x10333c=_0x499525;let _0x3bc569=this[_0x10333c(0x1e3)],_0x28a255=vr({'width':_0x4f67a9,'height':_0x4929ce},_0x3bc569);_0x58716e[_0x10333c(0x1f3)](),_0x58716e['translate'](-_0x4f67a9/0x2,-_0x4929ce/0x2),Yr(_0x58716e,0x0,0x0,_0x4f67a9,_0x4929ce,_0x3bc569['radius']),_0x58716e[_0x10333c(0x308)]=_0x3bc569[_0x10333c(0x348)],_0x58716e['fill'](),_0x58716e[_0x10333c(0x36c)](),this[_0x10333c(0x359)](_0x58716e,_0x4f67a9,_0x4929ce,_0x28a255,_0x3bc569),this[_0x10333c(0x27a)](_0x58716e,_0x4f67a9,_0x4929ce,_0x3bc569);}[_0x499525(0x359)](_0xaccbf,_0xb75fb1,_0x243d72,_0x4dbfd0,_0x2d46bf){const _0xcd9a4d=_0x499525;var _0x172706;!((_0x172706=this[_0xcd9a4d(0x254)])!=null&&_0x172706[_0xcd9a4d(0x1f6)])||this[_0xcd9a4d(0x254)]['naturalWidth']<=0x0||this[_0xcd9a4d(0x254)][_0xcd9a4d(0x371)]<=0x0||(_0xaccbf['save'](),_0xaccbf[_0xcd9a4d(0x379)](-_0xb75fb1/0x2,-_0x243d72/0x2),Yr(_0xaccbf,_0x4dbfd0[_0xcd9a4d(0x2e0)],_0x4dbfd0[_0xcd9a4d(0x2fe)],_0x4dbfd0[_0xcd9a4d(0x230)],_0x4dbfd0['height'],Math[_0xcd9a4d(0x22b)](0x0,_0x2d46bf[_0xcd9a4d(0x384)]-_0x2d46bf[_0xcd9a4d(0x1f9)])),_0xaccbf[_0xcd9a4d(0x2e1)](),_0xaccbf['drawImage'](this['_native'],_0x4dbfd0[_0xcd9a4d(0x2e0)],_0x4dbfd0[_0xcd9a4d(0x2fe)],_0x4dbfd0['width'],_0x4dbfd0[_0xcd9a4d(0x1ee)]),_0xaccbf[_0xcd9a4d(0x36c)]());}[_0x499525(0x27a)](_0x4433c4,_0x18193e,_0xb22f99,_0x5481a8){const _0x1ccc02=_0x499525;if(_0x5481a8[_0x1ccc02(0x1f9)]<=0x0)return;let _0x33d7af=yr({'width':_0x18193e,'height':_0xb22f99},_0x5481a8);_0x4433c4[_0x1ccc02(0x1f3)](),_0x4433c4[_0x1ccc02(0x379)](-_0x18193e/0x2,-_0xb22f99/0x2),Yr(_0x4433c4,_0x33d7af[_0x1ccc02(0x2e0)],_0x33d7af[_0x1ccc02(0x2fe)],_0x33d7af['width'],_0x33d7af['height'],_0x33d7af[_0x1ccc02(0x384)]),_0x4433c4[_0x1ccc02(0x2d3)]=_0x5481a8['stroke'],_0x4433c4[_0x1ccc02(0x1fc)]=_0x5481a8['strokeWidth'],_0x4433c4['stroke'](),_0x4433c4[_0x1ccc02(0x36c)]();}['_notifyScene'](){const _0xe401e5=_0x499525;let _0x13d689=this[_0xe401e5(0x2f5)]();this[_0xe401e5(0x28d)](!0x0),_0x13d689==null||_0x13d689['onFileLoaded$'][_0xe401e5(0x1ad)](this['oKey']);}['_attachNativeLoadHandlers'](){const _0x144046=_0x499525;this[_0x144046(0x254)]&&(this[_0x144046(0x254)][_0x144046(0x296)]=()=>{const _0x433448=_0x144046;this[_0x433448(0x28d)](!0x0),this[_0x433448(0x36d)]();},this[_0x144046(0x254)][_0x144046(0x200)]=()=>{const _0x1b3620=_0x144046;this[_0x1b3620(0x36d)]();});}};function Yr(_0x3d4719,_0xe1a6c,_0x17ec98,_0x47d713,_0x39a56f,_0x37e264){const _0x2987dd=_0x499525;let _0x5cbfc7=Math[_0x2987dd(0x2ef)](_0x37e264||0x0,_0x47d713/0x2,_0x39a56f/0x2);if(_0x3d4719['beginPath'](),!_0x5cbfc7){_0x3d4719[_0x2987dd(0x1e6)](_0xe1a6c,_0x17ec98,_0x47d713,_0x39a56f),_0x3d4719[_0x2987dd(0x391)]();return;}_0x3d4719[_0x2987dd(0x20c)](_0xe1a6c+_0x5cbfc7,_0x17ec98),_0x3d4719[_0x2987dd(0x271)](_0xe1a6c+_0x47d713-_0x5cbfc7,_0x17ec98),_0x3d4719[_0x2987dd(0x25e)](_0xe1a6c+_0x47d713-_0x5cbfc7,_0x17ec98+_0x5cbfc7,_0x5cbfc7,Math['PI']*0x3/0x2,0x0,!0x1),_0x3d4719['lineTo'](_0xe1a6c+_0x47d713,_0x17ec98+_0x39a56f-_0x5cbfc7),_0x3d4719[_0x2987dd(0x25e)](_0xe1a6c+_0x47d713-_0x5cbfc7,_0x17ec98+_0x39a56f-_0x5cbfc7,_0x5cbfc7,0x0,Math['PI']/0x2,!0x1),_0x3d4719[_0x2987dd(0x271)](_0xe1a6c+_0x5cbfc7,_0x17ec98+_0x39a56f),_0x3d4719[_0x2987dd(0x25e)](_0xe1a6c+_0x5cbfc7,_0x17ec98+_0x39a56f-_0x5cbfc7,_0x5cbfc7,Math['PI']/0x2,Math['PI'],!0x1),_0x3d4719[_0x2987dd(0x271)](_0xe1a6c,_0x17ec98+_0x5cbfc7),_0x3d4719[_0x2987dd(0x25e)](_0xe1a6c+_0x5cbfc7,_0x17ec98+_0x5cbfc7,_0x5cbfc7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3d4719[_0x2987dd(0x391)]();}function Xr(_0x827701,_0x126762){const _0x3ff939=_0x499525;return _0x827701['fill']===_0x126762[_0x3ff939(0x348)]&&_0x827701[_0x3ff939(0x322)]===_0x126762[_0x3ff939(0x322)]&&_0x827701[_0x3ff939(0x1f9)]===_0x126762['strokeWidth']&&_0x827701['radius']===_0x126762[_0x3ff939(0x384)];}function Zr(_0x483db0){const _0x1ad332=_0x499525;let {element:_0x13b63d}=_0x483db0[_0x1ad332(0x1c9)];return _0x13b63d[_0x1ad332(0x1b0)]===_0xdc726d[_0x1ad332(0x2d4)]?_0x13b63d:null;}let Z=class{constructor(_0x38bada,_0x362756,_0x56f629,_0x586dba){const _0x57783b=_0x499525;this['_themeService']=_0x38bada,this[_0x57783b(0x393)]=_0x362756,this[_0x57783b(0x265)]=_0x56f629,this[_0x57783b(0x37d)]=_0x586dba,z(this,'name',_0x57783b(0x35a)),z(this,_0x57783b(0x30c),new WeakMap());}['createObject'](_0x480f71){const _0x3bd133=_0x499525;let _0x5d372e=Zr(_0x480f71);if(!_0x5d372e)return null;let _0x1f9863=Math[_0x3bd133(0x22b)](0x1,_0x480f71[_0x3bd133(0x20b)][_0x3bd133(0x230)]),_0x4b49fc=Math['max'](0x1,_0x480f71[_0x3bd133(0x20b)][_0x3bd133(0x1ee)]),_0x4f4a01=new Jr(_0x480f71['key'],{'url':_0x3bd133(0x2c4),'left':_0x480f71['bounds'][_0x3bd133(0x2e0)],'top':_0x480f71[_0x3bd133(0x20b)][_0x3bd133(0x2fe)],'width':_0x1f9863,'height':_0x4b49fc,'angle':_0x480f71[_0x3bd133(0x20b)][_0x3bd133(0x250)],'flipX':_0x480f71[_0x3bd133(0x20b)][_0x3bd133(0x36b)],'flipY':_0x480f71[_0x3bd133(0x20b)]['flipY'],'zIndex':_0x480f71[_0x3bd133(0x351)],'visible':_0x5d372e[_0x3bd133(0x236)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x5d372e,'frameStyle':this[_0x3bd133(0x26b)](_0x480f71[_0x3bd133(0x262)],_0x5d372e)});return this[_0x3bd133(0x2c5)](_0x4f4a01,this[_0x3bd133(0x30a)](_0x480f71[_0x3bd133(0x262)],_0x4f4a01),_0x480f71[_0x3bd133(0x262)]),_0x4f4a01;}['syncObject'](_0x3b809d,_0x3a70fe){const _0xba34ea=_0x499525;var _0x559ebd;if(!(_0x3b809d instanceof Jr))return!0x1;let _0x43120e=Zr(_0x3a70fe);return _0x43120e?(_0x3a70fe[_0xba34ea(0x1d3)]||_0x3b809d[_0xba34ea(0x1ba)](_0x3a70fe[_0xba34ea(0x20b)]),_0x3b809d[_0xba34ea(0x29d)](_0x43120e),this[_0xba34ea(0x382)](_0x3a70fe[_0xba34ea(0x262)],_0x3b809d),(_0x559ebd=this[_0xba34ea(0x30c)]['get'](_0x3b809d))==null||_0x559ebd(),!0x0):!0x1;}['_watchSnapshotUpdates'](_0x48da06,_0x9eab06,_0x675bb2){const _0x8e84f2=_0x499525;if(!_0x9eab06)return;let _0x453c31=null,_0x311f8a=null,_0x1bdd13=!0x1,_0x1374c0=_0x58130f=>{const _0x178198=_0x30da;if(_0x311f8a!==_0x58130f){if(_0x453c31==null||_0x453c31['unsubscribe'](),_0x453c31=null,_0x311f8a=_0x58130f,_0x58130f[_0x178198(0x360)]===_0x178198(0x246)&&_0x58130f[_0x178198(0x283)]){_0x48da06[_0x178198(0x23f)](_0x58130f['dataUrl']);return;}_0x58130f[_0x178198(0x360)]===_0x178198(0x1c8)&&(_0x453c31=this[_0x178198(0x393)][_0x178198(0x355)][_0x178198(0x1e5)](_0x37c3dc=>{const _0x52e683=_0x178198;if(_0x37c3dc!==_0x58130f||_0x37c3dc[_0x52e683(0x360)]!==_0x52e683(0x246)||!_0x37c3dc[_0x52e683(0x283)]){if(_0x37c3dc===_0x58130f&&_0x37c3dc[_0x52e683(0x360)]===_0x52e683(0x2d1)&&!_0x1bdd13){_0x1bdd13=!0x0;let _0x46158c=this[_0x52e683(0x30a)](_0x675bb2,_0x48da06);_0x46158c&&_0x1374c0(_0x46158c);}return;}_0x48da06[_0x52e683(0x23f)](_0x37c3dc['dataUrl']),_0x453c31==null||_0x453c31[_0x52e683(0x2f6)](),_0x453c31=null;}));}};_0x1374c0(_0x9eab06);let _0x4017f9=()=>{_0x1bdd13=!0x1;let _0x1af2d4=this['_requestSnapshotForObject'](_0x675bb2,_0x48da06);_0x1af2d4&&_0x1374c0(_0x1af2d4);};this[_0x8e84f2(0x30c)][_0x8e84f2(0x1e4)](_0x48da06,_0x4017f9);let _0x2da9fc=this[_0x8e84f2(0x393)][_0x8e84f2(0x38b)][_0x8e84f2(0x1e5)](_0x1bb8dc=>{const _0x80528d=_0x8e84f2;_0x1bb8dc[_0x80528d(0x262)]===_0x675bb2&&_0x1bb8dc['chartId']===_0x48da06['getElement']()[_0x80528d(0x24c)]&&_0x4017f9();});_0x48da06[_0x8e84f2(0x198)][_0x8e84f2(0x192)](()=>{const _0x1afc39=_0x8e84f2;_0x453c31==null||_0x453c31[_0x1afc39(0x2f6)](),_0x2da9fc[_0x1afc39(0x2f6)](),this[_0x1afc39(0x30c)][_0x1afc39(0x1ac)](_0x48da06);});}[_0x499525(0x30a)](_0x30d026,_0x1817d5){const _0x51e51c=_0x499525;let _0x59133f=this[_0x51e51c(0x382)](_0x30d026,_0x1817d5),_0xac5fa5=vr({'width':Math[_0x51e51c(0x22b)](0x1,_0x1817d5[_0x51e51c(0x230)]),'height':Math[_0x51e51c(0x22b)](0x1,_0x1817d5[_0x51e51c(0x1ee)])},_0x59133f);return this[_0x51e51c(0x393)][_0x51e51c(0x269)]({'unitId':_0x30d026,'chartId':_0x1817d5['getElement']()[_0x51e51c(0x24c)],'width':_0xac5fa5[_0x51e51c(0x230)],'height':_0xac5fa5[_0x51e51c(0x1ee)],'mode':_0x51e51c(0x251)});}[_0x499525(0x382)](_0x706d2d,_0x476b3a){const _0x2a461f=_0x499525;let _0x1d3855=this['_resolveFrameStyle'](_0x706d2d,_0x476b3a[_0x2a461f(0x392)]());return _0x476b3a[_0x2a461f(0x304)](_0x1d3855),_0x1d3855;}[_0x499525(0x26b)](_0xe86c5e,_0x444a77){const _0x1cef76=_0x499525;var _0x29009a;let _0x524a0f=(_0x29009a=this[_0x1cef76(0x265)]['getChart'](_0xe86c5e,_0x444a77[_0x1cef76(0x24c)]))==null?void 0x0:_0x29009a[_0x1cef76(0x1d0)];return _r({'chartStyle':_0x524a0f,'chartElement':_0x444a77,'hostFill':_0x524a0f?this['_renderService'][_0x1cef76(0x2ea)](_0x524a0f)['fill']:void 0x0,'isDarkMode':this['_themeService'][_0x1cef76(0x1ff)]});}};Z=V([B(0x0,_0x496119(_0x2e9a52)),B(0x1,_0x496119(J)),B(0x2,_0x496119(_0x2cd96e)),B(0x3,_0x496119(q))],Z);function Qr(_0x34e0dd){const _0xf64a0=_0x499525;return _0x34e0dd[_0xf64a0(0x1b0)]===_0xdc726d[_0xf64a0(0x2d4)];}let Q=class{constructor(_0x3cdc57){const _0x432ba8=_0x499525;this[_0x432ba8(0x265)]=_0x3cdc57,z(this,_0x432ba8(0x376),_0x432ba8(0x2a0));}['collect'](_0x351a0e){const _0x36ca40=_0x499525;let _0x2fffe1={},_0x41e89a={},_0x195029={};return _0x351a0e[_0x36ca40(0x21a)][_0x36ca40(0x375)](_0x2c164f=>{const _0x1ce9f4=_0x36ca40;if(!Qr(_0x2c164f))return;let _0x415044=this['_resourceService'][_0x1ce9f4(0x1f4)](_0x351a0e['unitId'],_0x2c164f['chartId']),_0x229fd3=_0x415044?this['_resourceService'][_0x1ce9f4(0x3a4)](_0x351a0e['unitId'],_0x415044[_0x1ce9f4(0x2a8)]):void 0x0;!_0x415044||!_0x229fd3||(_0x2fffe1[_0x415044['id']]=_0x4d4a69[_0x1ce9f4(0x368)](_0x415044),_0x41e89a[_0x229fd3['id']]=_0x229fd3,_0x195029[_0x2c164f['id']]=_0x415044['id']);}),Object[_0x36ca40(0x303)](_0x2fffe1)['length']===0x0?null:{'charts':_0x2fffe1,'dataSources':_0x41e89a,'chartIdByElementId':_0x195029};}[_0x499525(0x1b1)](_0xc7d8b9){const _0x14d8df=_0x499525;if(!$r(_0xc7d8b9[_0x14d8df(0x275)]))return null;let _0x42a2b2=_0xc7d8b9[_0x14d8df(0x275)],_0x374d79=new Map();_0xc7d8b9[_0x14d8df(0x235)][_0x14d8df(0x375)]((_0x5c7296,_0x35ea31)=>{const _0x199e27=_0x14d8df;_0x374d79[_0x199e27(0x1e4)](_0x5c7296,_0x35ea31);});let _0x26ac29=new Map(),_0x19da8e=new Map(),_0x17310e=_0xc7d8b9[_0x14d8df(0x21a)][_0x14d8df(0x22f)](_0x1b313a=>{const _0x21cd6c=_0x14d8df;if(!Qr(_0x1b313a))return _0x1b313a;let _0x5d0d7f=_0x374d79[_0x21cd6c(0x234)](_0x1b313a['id']),_0x514426=_0x5d0d7f?_0x42a2b2['chartIdByElementId'][_0x5d0d7f]:void 0x0;if(!_0x514426||!_0x42a2b2['charts'][_0x514426])return _0x1b313a;let _0x38404e=_0x26ac29[_0x21cd6c(0x234)](_0x514426);return _0x38404e||(_0x38404e=_0x131eab(0x6),_0x26ac29[_0x21cd6c(0x1e4)](_0x514426,_0x38404e)),{..._0x1b313a,'chartId':_0x38404e};});_0x26ac29[_0x14d8df(0x375)]((_0x11bbc3,_0x3cb655)=>{const _0x46c810=_0x14d8df;var _0x2c80f4;let _0x300ec2=(_0x2c80f4=_0x42a2b2[_0x46c810(0x2bc)][_0x3cb655])==null?void 0x0:_0x2c80f4[_0x46c810(0x2a8)];_0x300ec2&&!_0x19da8e['has'](_0x300ec2)&&_0x19da8e[_0x46c810(0x1e4)](_0x300ec2,_0x131eab(0x6));});let _0x2d223e=[];_0x19da8e['forEach']((_0x11c2f4,_0x17eac4)=>{const _0x2004a8=_0x14d8df;let _0x570288=_0x42a2b2[_0x2004a8(0x2f7)][_0x17eac4];_0x570288&&_0x2d223e['push']({..._0x570288,'id':_0x11c2f4});});let _0x516b9c=[];return _0x26ac29[_0x14d8df(0x375)]((_0x1c36c4,_0x45732f)=>{const _0x39b9f9=_0x14d8df;let _0x38ef10=_0x42a2b2[_0x39b9f9(0x2bc)][_0x45732f],_0x5a1d63=_0x38ef10?_0x19da8e['get'](_0x38ef10[_0x39b9f9(0x2a8)]):void 0x0;!_0x38ef10||!_0x5a1d63||_0x516b9c[_0x39b9f9(0x357)]({..._0x38ef10,'id':_0x1c36c4,'dataSourceId':_0x5a1d63});}),_0x516b9c['length']===0x0?null:{'elements':_0x17310e,'redoMutations':[..._0x2d223e['map'](_0x2d1358=>({'id':_0x3a8c3f['id'],'params':{'unitId':_0xc7d8b9[_0x14d8df(0x2f2)],'dataSource':_0x2d1358}})),..._0x516b9c[_0x14d8df(0x22f)](_0x25f84c=>({'id':_0x25379f['id'],'params':{'unitId':_0xc7d8b9[_0x14d8df(0x2f2)],'chart':_0x25f84c}}))],'undoMutations':[..._0x516b9c[_0x14d8df(0x22f)](_0x35f789=>({'id':_0x5b070f['id'],'params':{'unitId':_0xc7d8b9[_0x14d8df(0x2f2)],'chartId':_0x35f789['id']}})),..._0x2d223e['map'](_0x4b99ef=>({'id':_0x2482df['id'],'params':{'unitId':_0xc7d8b9[_0x14d8df(0x2f2)],'dataSourceId':_0x4b99ef['id']}}))]};}};Q=V([B(0x0,_0x496119(_0x2cd96e))],Q);function $r(_0x363700){const _0x32f4e0=_0x499525;if(!_0x363700||typeof _0x363700!='object')return!0x1;let _0x5817b9=_0x363700;return!!_0x5817b9[_0x32f4e0(0x2bc)]&&!!_0x5817b9[_0x32f4e0(0x2f7)]&&!!_0x5817b9[_0x32f4e0(0x3a5)];}let ei=class extends _0x213704{constructor(_0x278c9f,_0x2b0dd7){const _0x180951=_0x499525;super(),this[_0x180951(0x393)]=_0x2b0dd7,this[_0x180951(0x2e6)](_0x278c9f[_0x180951(0x38c)](this));}[_0x499525(0x343)](_0x427182){return'unitId'in _0x427182&&'getElement'in _0x427182;}['exportImage'](_0x78a807,_0x2f7aa5){const _0x2b8d8d=_0x499525;if(!this[_0x2b8d8d(0x343)](_0x78a807))return Promise[_0x2b8d8d(0x33f)](void 0x0);let _0x329b38=_0x78a807[_0x2b8d8d(0x352)]()[_0x2b8d8d(0x2c0)];return this[_0x2b8d8d(0x393)][_0x2b8d8d(0x1ae)]({'unitId':_0x78a807[_0x2b8d8d(0x262)],'chartId':_0x78a807['getId'](),'width':Math[_0x2b8d8d(0x22b)](0x1,(_0x329b38==null?void 0x0:_0x329b38['width'])??0x1),'height':Math[_0x2b8d8d(0x22b)](0x1,(_0x329b38==null?void 0x0:_0x329b38[_0x2b8d8d(0x1ee)])??0x1),'format':_0x2f7aa5==null?void 0x0:_0x2f7aa5[_0x2b8d8d(0x26a)],'mode':'main'});}};ei=V([B(0x0,_0x496119(_0x133bcd)),B(0x1,_0x496119(J))],ei);const ti=_0x499525(0x312);let $=class extends _0x3b30b9{constructor(_0x90efb8=Wn,_0x177b50,_0x33d02c,_0x55dfa){const _0x13b54e=_0x499525;super(),this['_config']=_0x90efb8,this[_0x13b54e(0x266)]=_0x177b50,this[_0x13b54e(0x1c5)]=_0x33d02c,this[_0x13b54e(0x33c)]=_0x55dfa,z(this,_0x13b54e(0x2e3),null);let {..._0x52d3e0}=_0x9d3953({},Wn,this[_0x13b54e(0x339)]);this[_0x13b54e(0x1c5)][_0x13b54e(0x305)](Un,_0x52d3e0);}[_0x499525(0x280)](){const _0x1a2747=_0x499525;this[_0x1a2747(0x2e6)](this[_0x1a2747(0x266)][_0x1a2747(0x234)](_0xa6f2d7)[_0x1a2747(0x1ce)](ir)),[[q],[J],[ei],[U,{'useClass':Yn}],[G],[H],[X],[Z],[Q],[Y],[qr]][_0x1a2747(0x375)](_0x438b81=>this['_injector']['add'](_0x438b81)),_0x580124(this[_0x1a2747(0x266)],[[q],[J],[ei],[U],[G],[H],[X]]),this[_0x1a2747(0x266)][_0x1a2747(0x234)](qr);let _0x5bd797=this[_0x1a2747(0x266)][_0x1a2747(0x234)](Z);this['_adapter']=_0x5bd797,this[_0x1a2747(0x345)](_0x5bd797),this['disposeWithMe'](_0xdc18c3(()=>{const _0x3a3c89=_0x1a2747;this[_0x3a3c89(0x29f)](_0x5bd797),this[_0x3a3c89(0x2e3)]=null;}));let _0x2dc9f2=this['_injector'][_0x1a2747(0x234)](_0x44a27a);this['disposeWithMe'](_0x2dc9f2[_0x1a2747(0x2b1)](this[_0x1a2747(0x266)][_0x1a2747(0x234)](Q))),this[_0x1a2747(0x2e6)](this['_injector'][_0x1a2747(0x234)](Y));}[_0x499525(0x3b3)](){const _0x1cdc0b=_0x499525;this[_0x1cdc0b(0x2e6)](this[_0x1cdc0b(0x33c)][_0x1cdc0b(0x1a3)](_0x361416['UNIVER_BOARD'],W)),this[_0x1cdc0b(0x2e6)](this['_renderManagerService']['registerRenderModule'](_0x361416[_0x1cdc0b(0x2df)],Ar)),this[_0x1cdc0b(0x2e6)](this[_0x1cdc0b(0x33c)][_0x1cdc0b(0x1a3)](_0x361416[_0x1cdc0b(0x2df)],Sr)),this[_0x1cdc0b(0x2e6)](this[_0x1cdc0b(0x33c)][_0x1cdc0b(0x1a3)](_0x361416['UNIVER_BOARD'],tr));}[_0x499525(0x345)](_0x4db168){const _0x117a23=_0x499525;var _0x2cf1bc,_0x45c859;let _0x5a3e7f=this[_0x117a23(0x2f9)](),_0x440019=_0x5a3e7f[_0x117a23(0x337)]??[];_0x440019[_0x117a23(0x19b)](_0x4db168)||this[_0x117a23(0x1c5)]['setConfig'](_0x31c398,{..._0x5a3e7f,'additionalRenderAdapters':[..._0x440019,_0x4db168],'toolbar':{..._0x5a3e7f[_0x117a23(0x2bb)],'tools':{...(_0x2cf1bc=_0x5a3e7f[_0x117a23(0x2bb)])==null?void 0x0:_0x2cf1bc['tools'],[_0x354b3a[_0x117a23(0x2d4)]]:ni((_0x45c859=_0x5a3e7f[_0x117a23(0x2bb)])==null||(_0x45c859=_0x45c859[_0x117a23(0x327)])==null?void 0x0:_0x45c859[_0x354b3a[_0x117a23(0x2d4)]])}}});}[_0x499525(0x29f)](_0x4e7a1f){const _0x5f50a5=_0x499525;var _0x4ca5b6;let _0x37986f=this[_0x5f50a5(0x2f9)](),_0x19086b=(_0x4ca5b6=_0x37986f['additionalRenderAdapters'])==null?void 0x0:_0x4ca5b6[_0x5f50a5(0x232)](_0xfebe17=>_0xfebe17!==_0x4e7a1f);this['_configService']['setConfig'](_0x31c398,{..._0x37986f,'additionalRenderAdapters':_0x19086b});}[_0x499525(0x2f9)](){const _0x4836fd=_0x499525;return this[_0x4836fd(0x1c5)][_0x4836fd(0x31d)](_0x31c398)??{};}};z($,_0x499525(0x210),ti),z($,'packageName',jr),z($,_0x499525(0x30f),Mr),z($,_0x499525(0x1b0),_0x361416['UNIVER_BOARD']),$=V([_0x3feff0(_0x37b437,_0x3fbab6,_0x57b6c8,_0xdb8921,_0x1a1003,_0x4548ff),B(0x1,_0x496119(_0x11a7be)),B(0x2,_0x35e311),B(0x3,_0x143b2)],$);function ni(_0x38d483){const _0x5e7073=_0x499525;return _0x38d483===!0x1?!0x1:typeof _0x38d483!=_0x5e7073(0x293)||{..._0x38d483,'enabled':_0x38d483['enabled']??!0x0};}export{Un as BOARDS_CHART_UI_PLUGIN_CONFIG_KEY,ti as BOARDS_CHART_UI_PLUGIN_NAME,Dr as BOARD_CHART_SNAPSHOT_BORDER_WIDTH,Q as BoardChartClipboardAdapter,G as BoardChartDataEditService,H as BoardChartEditSessionService,tr as BoardChartFloatingToolbarRenderController,W as BoardChartOpenEditController,Sr as BoardChartPanelController,Z as BoardChartRenderAdapter,q as BoardChartRenderService,Ar as BoardChartSelectionController,Y as BoardChartSnapshotRefreshController,J as BoardChartSnapshotRenderService,Yn as BoardChartUIService,Cr as BoardDomChartHost,Er as IBoardChartSnapshotRendererService,U as IBoardChartUIService,$ as UniverBoardsChartUIPlugin,ni as enableChartTool,Or as resolveBoardChartSnapshotStyle};
|