@univerjs-pro/boards-chart-ui 1.0.0-beta.0 → 1.0.0-beta.1
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.css +8 -43
- 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/components/BoardChartInsertPanel.d.ts +3 -3
- package/lib/types/services/board-chart-clipboard-adapter.d.ts +3 -3
- package/lib/types/services/board-chart-data-edit.service.d.ts +4 -3
- package/lib/types/services/board-chart-render.service.d.ts +3 -3
- package/lib/types/services/board-chart-snapshot-render.service.d.ts +2 -2
- package/lib/types/services/board-chart-ui.service.d.ts +4 -4
- package/lib/types/services/chart-image-export-provider.d.ts +21 -0
- 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 +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x139398=_0x1864;(function(_0xab37d0,_0x2f8a47){const _0x5381a5=_0x1864,_0x45bb56=_0xab37d0();while(!![]){try{const _0x51d5f0=-parseInt(_0x5381a5(0x1a7))/0x1*(parseInt(_0x5381a5(0x2bf))/0x2)+parseInt(_0x5381a5(0x364))/0x3*(-parseInt(_0x5381a5(0x20c))/0x4)+parseInt(_0x5381a5(0x2dd))/0x5+-parseInt(_0x5381a5(0x3d1))/0x6+parseInt(_0x5381a5(0x218))/0x7*(parseInt(_0x5381a5(0x1d0))/0x8)+parseInt(_0x5381a5(0x315))/0x9*(-parseInt(_0x5381a5(0x35e))/0xa)+parseInt(_0x5381a5(0x26f))/0xb;if(_0x51d5f0===_0x2f8a47)break;else _0x45bb56['push'](_0x45bb56['shift']());}catch(_0x247cec){_0x45bb56['push'](_0x45bb56['shift']());}}}(_0x4b51,0x55044),Object['defineProperty'](exports,Symbol[_0x139398(0x262)],{'value':_0x139398(0x3e6)}));let e=require('@univerjs-pro/boards'),t=require('@univerjs-pro/boards-ui'),n=require('@univerjs/core'),r=require('rxjs'),i=require('@univerjs-pro/boards-chart'),a=require('@univerjs-pro/chart-ui'),o=require('@univerjs-pro/engine-chart'),s=require('@univerjs/design'),c=require('@univerjs/icons'),l=require('@univerjs/ui'),u=require('react'),d=require('react/jsx-runtime'),f=require('@univerjs-pro/license'),p=require('@univerjs/engine-render');function _0x4b51(){const _0x12ca60=['keys','min','DEFAULT_CHART_SERIES_VALUES','updateShared','PieStyle','ThemeService','getTransformerByCreate','prototype','element','toStringTag','pending','resize','Waterfall','DEFAULT_CHART_PIE_VALUES','click','Optional','hidden','getDataSource','style','ChartSectionAccordion','fillStyle','BoardDomChartHost','11354343hLJpAK','touchDependencies','clientHeight','markReady','add','_disposeChartEventSubscription','useObservable','flipY','ChartEditPanel','useEffect','boards-chart-ui.common.deleteChart','board-chart-setup-panel','chartElement','_watchSnapshotUpdates','BoardDeleteSelectionOperation','flipX','clientY','nativeEvent','map','plan','_config','render','left','boards-chart-ui.chord.target','createRenderInput','ChartRadarStyleSection','_clearActiveEditOverlay','onInserted','onCancel','chart','ChartSectionAccordionContent','complete','boards-chart-ui.common.editChart','issue','_popupDisposable','iterator','manual','_sidePanelService','_element','collect','onerror','ChartSeriesFillFields','merge','axisId','params','BoardChartFloatingToolbarRenderController','isFinite','top','mode','_renderModelManager','symbol','ChartSeriesSelector','boards-chart-ui.section.waterfall','UniverRenderEnginePlugin','labelId','BoardToolType','borderWidth','createElement','ParetoBarSeries','invalidateChart','changeChartSource','BoardChartOpenEditController','getDataSourceSharingCount','boards-chart-ui.common.category','ChartTypeSpecificDataSection','requestSnapshot','fromEvent','UniverLicensePlugin','getHostStyle','getOwnPropertyDescriptor','_openFloatMenu','dispose$','chartIdByElementId','Pareto','push','IBoardChartUIService','ChartSeriesDataLabelFields','chartType$','setElementEditMode','_closePopup','342qWsfSE','filter','config','refreshChartModel','boards-chart-ui.common.horizontalAxis','innerHeight','board-chart','activeRuntimeModel$','style$','heatmap','object','anonymous','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','ChartWordCloudShapeField','parseInt','setStyle','_chartEventDisposables','ChartSeriesRightAxisField','relation','ready','createChartInstance','BoardChartModelService','ChartThemeService','updateItem','ChartEditorCapability','BarStacked','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','ChartSectionAccordionItem','getObjectIncludeInGroup','activeScene','2366180zcQEtP','_boardCanvasPopManagerService','_syncPanel','@univerjs-pro/boards-chart-ui','setConfig','getObject','UniverInstanceType','DEFAULT_CHART_PARETO_VALUES','useState','ComponentManager','Series','DEFAULT_CHART_TITLE_VALUES','IBoardSidePanelService','Relation','DEFAULT_CHART_LINE_AND_AREA_VALUES','waterfall','cumulativeLineStyle','_renderManagerService','isDarkMode','univer-w-full\x20univer-justify-start','getViewState','useDependency','onEditData','registerChartInstance','getElement','titleKey','BoardChartClipboardAdapter','Scatter','focusedId','dispose','image','boards-chart-ui.dataEditor.unavailable','stroke','subUnitId','rightY','GeneralSeries','Image','ChartTypeSpecificSetupSection','match','subscribe','\x20has\x20no\x20render\x20config.','clearControl$','DEFAULT_CHART_WATERFALL_SETUP_VALUES','IndicatorLine','_openEditSession','get','Select','baseOn','boards-chart-ui.common.setup','ChartEditPanelTab','_editSessionService','_configService','bottom','ChartSeriesDataPointFields','_drawChartImage','borderClassName','227079EXVmuN','_resolveFrameStyle','boards-chart-ui.dataEditor.updateFailed','_applyHostStyle','boxSizing','_setActiveEditOverlay','source','sharingCount','ChartLineAndAreaSection','PenIcon','small','boards-chart-ui.candlestick.high','current','ChartSeriesTypeField','BoardChartUIService','name','scene','_chartThemeService','ChartViewStateKey','checkMounted','Histogram','BoardInteractionSurfaceService','ChartInlineTableEditor','boards-chart-ui.section.paretoLine','value','boards-chart-ui.common.label','boards-chart-ui.common.valueField','Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','size','_chartElementEditMode','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','ChartLegendSection','ChartSnapshotQueue','executeCommand','BoardChartBuilderAdapter','UpdateBoardChartConfigCommand','_getBoardsUIConfig','right','composite','throttleTime','getBoardElementRenderObjectKey','Chart','Disposable','IBoardClipboardResourceAdapterService','initialRect','BOARD_CHART_SNAPSHOT_BORDER_WIDTH','HorizontalAxis','ChartStackField','arc','Legend','pluginName','board-chart.data-editor-dialog','Doughnut','preventDefault','_chartEventSubscriptions','InlineChartCreationIssueCode','naturalWidth','Style','resolveChartElementSelection','toSpec','ChartIndicatorLineSection','ChartWaterfallStyleSection','Axes','border','_chartUIService','anchorRect$','_renderContext','naturalHeight','_adapter','ChartWordCloudMaskImageIdField','_subscribeChartEvents','registerRenderModule','updateDataForChart','30VxVRyp','radius','BoardElementType','code','ChartTypeBits','ChartTypeField','3pTSGKg','getChartModel','_domLayerService','join','useRef','boards-chart-ui.common.legend','boards-chart-ui.common.verticalAxis','DEFAULT_CHART_STYLE_VALUES','targetUnitId','BOARDS_CHART_UI_PLUGIN_CONFIG_KEY','boards-chart-ui.common.switchRowColumn','forEach','_registerAdapter','UniverBoardsPlugin','_native','board-chart.dialog.data-editor','subscribeEvent','lineTo','asObservable','BOARDS_CHART_UI_PLUGIN_NAME','Button','getActiveSession','_commandService','boards-chart-element-float-menu','_activePanelDisposable','boards-chart-ui.common.customize','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','InvalidCandlestickData','ChartEditorProvider','CHART_TYPE_CATALOG','engine','useChartEditorChartType','pendingInsert','UniverBoardsUIPlugin','_getChartRuntimeKey','boards-chart-ui.common.data','_injector','elementIdMap','getBoundingClientRect','_notifyScene','radar','_activePanelKey','disposeWithMe','route','setActiveChartRuntime','dataSources','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','IUniverInstanceService','localPoint','strokeStyle','span','themeBorderColor','board-chart.snapshot-renderer','_snapshotService','getSnapshot','_interactionSurfaceService','_instanceService','getDataEditState','beginPath','axis','dataSource','Treemap','boards-chart-ui.section.pie','children','setFocusedSwimlaneLane','ChartSectionAccordionTrigger','boards-chart-ui.section.paretoBar','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','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-white\x20dark:!univer-bg-gray-900','SetBoardChartDataSourceMutation','innerWidth','IBoardUIStateService','secondaryPlot','ChartThemeField','AreaPercentStacked','defaultChartConfig','_popupRuntimeKey','DEFAULT_CHART_RELATION_VALUES','transparent','Sunburst','ChartHostRenderMode','board-chart.edit-panel','attachPopupToObject','default','overflow','boards-chart-ui.config','selectedIds','Gauge','getValue','div','stopPropagation','additionalRenderAdapters','_activeLayerDisposable','createObject','_draw','board-chart-active','boards-chart-ui.candlestick.columnsError','Trendline','DEFAULT_CHART_AXIS_VALUES','rgb(','elementUpdate$','_listenChartResourceMutations','univer-flex\x20univer-justify-end\x20univer-gap-2','ChartWordCloudRepeatField','funnel','DEFAULT_BOARD_CHART_VALUES','VerticalAxis','delete-chart','preparePaste','3120234cgVFpC','elements','BarPercentStacked','values','boards-chart-ui.section.sunburst','boards-chart-ui.common.insertChartFailed','_resolveElementObject','_canvasPopupService','buildChartTypeSelectOptions','IDialogService','_chartEventHandlers','constructor','drawImage','_updateFrameStyle','syncLayout','onClose','boards-chart-ui.common.heatmap','ensureMount','getState','titles','elementRemoved','Module','boards-chart-ui.common.cancel','_attachScheduled','chartModelRemoved$','getElementById','toDisposable','extraProps','tryBuildInlineChartCreationPlan','chartBitsUtils','executeChartUpdateConfig','getRuntimeContext','_syncActiveChart','_clearActiveLayer','_snapshotRefreshers','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','board-chart-style-panel','DEFAULT_CHART_RADAR_VALUES','markNotReady','_clearHiddenSelectedTarget','_host','delete','crossOrigin','getFrameStyle','quickToolbar','ChartNumberFormatTextField','IBoardElementService','GridlinesAndTicks','DisposableCollection','ChartSeriesRoot','DEFAULT_CHART_FUNNEL_VALUES','fill','boards-chart-ui.section.gauge','_popupSelectionKey','BOARDS_UI_PLUGIN_CONFIG_KEY','_frameStyle','charts','ICommandService','EmptyData','ensureChartModel','_shouldWaitForChartConfig','_closeActivePanel','max','_registerComponents','_bindChartEventHandlers','function','activeSession$','ChartAndAxisTitles','row','CHART_HOST_DEFAULT_BORDER_COLOR','change','univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','scroll','_bindChartEventHandler','_syncSelectionState','activeRuntimeModel','hit','Candlestick','model','LineAndArea','SetBoardChartSnapshotMutation','IRenderManagerService','toPrimitive','ChartType','_disposeChartEventSubscriptions','boards-chart-ui.common.insert','rgba(255,\x20255,\x20255,\x200.18)','boards-chart-ui.candlestick.open','dataSourceId','ChartAxisSection','_localeService','clsx','getCurrentRenderModel','Pie','Dom','select','getRenderColor','elementAdd$','univer-text-xs\x20univer-text-red-600','moveTo','borderRadius','changeStart$','ChartSeriesPointFields','Funnel','stylizeSpec','Heatmap','WordCloud','_activeSession$','boards-chart-ui.chartTypes.','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','updateElement','boards-chart-ui.common.tableDataEmpty','Column','_renderService','pipe','updateFrameStyle','boards-chart-ui.section.lineAndArea','getUnit','selectionChange','setActiveChartById','boards-chart-ui.candlestick.low','jsxs','boards-chart-ui.common.chartType','defineProperty','button','_requestSnapshotForObject','_drawFrameStroke','resolveRotatedBoardObjectAnchorBound','angle','1.0.0-beta.0','height','emitEvent','vertical','offsetHeight','pageChange','boards-chart-ui.section.indicatorLine','target','_clearPopup','boards-chart-ui.common.value','save','status','isElementEditModeActive','_activeEditOverlay','Bubble','primary','IBoardElementStateService','width','UNIVER_BOARD','boards-chart-ui.common.editData','_adapterRegistry','showFloatMenu','ParetoLineSeries','string','barStyle','number','set','frameStyle','univer-w-full\x20!univer-min-w-0','DEFAULT_CHART_WATERFALL_STYLE_VALUES','config$','chartInvalidated$','legend','_isPopupSelectionStillActive','enabled','Chord','DEFAULT_CHART_TRENDLINE_VALUES','type','_scheduleAttachObjectDoubleClicks','ChartParetoSeriesSection','onFileLoaded$','Data','ChartRelationStyleSection','2487cyaYnP','Tools','board.operation.chart.open-data-editor','_boardElementService','transformByState','top-center','_chartRenderService','context','clientX','split','boards-chart-ui.common.chartAndAxisTitles','activeTool','clear','_resourceService','boards-chart-ui.chord.source','_clearPopupIfSelectionChanged','createChartInlineStarterData','Sankey','length','resolve','generateRandomId','color','getCanvasElement','ChartTitlesSection','UniverChartUIPlugin','LocaleService','BoardChartRenderAdapter','clip','img','series','onCommandExecuted','popup','pie','syncObject','lineAndArea','seriesId','restore','_attachObjectDoubleClicks','key','RemoveBoardChartDataSourceMutation','borderColor','9728ncPfNb','univer-shrink-0\x20univer-px-3','_univerInstanceService','_modelService','DataUrlImageChartHost','some','selectElements','IChartRenderModelManagerService','absolute','boards-chart-ui.common.chartStyle','createIdentifier','ICanvasPopupService','registerItem','changeEnd$','doubleClick','position','dataUrl','BoardCanvasPopManagerService','state$','_showPopupForSelection','BOARD_INSERT_CHART_PANEL_COMPONENT','boards-chart-ui.common.trendline','bounds','transformStart','onload','pieSecondaryPlotType','tools','interactionSurfaceActive$','DEFAULT_CHART_LEGEND_VALUES','_removeRenderAdapter','boards-chart-ui.section.chord','resourceService','ChartStyle','toolbar','ChartCommonDataMappingSection','section','CommandType','_objectDblclickDisposables','enableChartTool','translate','!univer-w-36\x20!univer-min-w-0','ChartPieStyleSection','backgroundColor','_activeChart','Plugin','boards-chart-ui.common.duplicate','_createChartRenderInstanceContext','isTransforming','elementRemove$','from','chartStyle','indicatorLine','payload','tab','_attachNativeLoadHandlers','elementId','DeleteIcon','Line','strokeWidth','board.chart.floating-toolbar','622672eDkQyb','RightVerticalAxis','getElementData','slice','registerCommand','UpdateBoardChartDataSourceCommand','_activeLayerId','bind','decorate','takeUntil','_chartInstanceMap','jsx','112YenvHz','BehaviorSubject','_themeService','registerAdapter','register','BoardChartEditSessionService','getChartIdsByDataSource','hostFill','CHART_HOST_DEFAULT_BORDER_RADIUS','makeDirty','getChart','WaterfallSeries','deepClone','getRenderUnitById','ChartEditPanelSection','AreaStacked','has','unitId','open','chartId','ChartSeriesBorderFields','BoardChartResourceService','onReady','_elementStateService','IBoardChartSnapshotRendererService','find','pareto','_buildPopupSelectionKey','scaleX','_init','includes','Inject','Injector','CHART_ELEMENT_FLOAT_MENU_COMPONENT','scaleY','ChartGridlinesAndTicksSection','resolveBoardElementWorldBounds','boards-chart-ui.section.histogram','InsertBoardChartOperation','next','useMemo','ChartHeatmapStyleSection','_uiStateService','ChartWaterfallSetupFields','board-chart-floating-toolbar','getDirection','BoardChartSelectionController','visible','ChartTrendlineSection','UniverBoardsChartPlugin','_appendRenderAdapter','Separator','_componentManager','rect','DEFAULT_CHART_WORD_CLOUD_VALUES','close','chartType','tryPrepareInlineChartData','boards-chart-ui.section.treemap','ChartHostAdapter','Radar','unsubscribe','call','border-box','univer-flex\x20univer-flex-col\x20univer-gap-2'];_0x4b51=function(){return _0x12ca60;};return _0x4b51();}const m=_0x139398(0x3b9),h={};function g(_0x4b4a54){'@babel/helpers - typeof';const _0x46b184=_0x139398;return g=typeof Symbol==_0x46b184(0x412)&&typeof Symbol[_0x46b184(0x292)]=='symbol'?function(_0x4238d6){return typeof _0x4238d6;}:function(_0x74c1db){const _0x296add=_0x46b184;return _0x74c1db&&typeof Symbol==_0x296add(0x412)&&_0x74c1db[_0x296add(0x3dc)]===Symbol&&_0x74c1db!==Symbol[_0x296add(0x260)]?_0x296add(0x2a1):typeof _0x74c1db;},g(_0x4b4a54);}function _(_0x44922f,_0x1749e5){const _0x5716fd=_0x139398;if(g(_0x44922f)!=_0x5716fd(0x2c9)||!_0x44922f)return _0x44922f;var _0xd51fdf=_0x44922f[Symbol[_0x5716fd(0x423)]];if(_0xd51fdf!==void 0x0){var _0x306cb3=_0xd51fdf[_0x5716fd(0x256)](_0x44922f,_0x1749e5||_0x5716fd(0x3b7));if(g(_0x306cb3)!=_0x5716fd(0x2c9))return _0x306cb3;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1749e5===_0x5716fd(0x193)?String:Number)(_0x44922f);}function v(_0x322b86){const _0x114ca4=_0x139398;var _0x712ea3=_(_0x322b86,_0x114ca4(0x193));return g(_0x712ea3)==_0x114ca4(0x2a1)?_0x712ea3:_0x712ea3+'';}function y(_0x13cde1,_0x548182,_0x1fef09){const _0x21cc21=_0x139398;return(_0x548182=v(_0x548182))in _0x13cde1?Object[_0x21cc21(0x176)](_0x13cde1,_0x548182,{'value':_0x1fef09,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x13cde1[_0x548182]=_0x1fef09,_0x13cde1;}function b(_0x4eeb27,_0x5a4200){return function(_0x111ef2,_0x5484a7){_0x5a4200(_0x111ef2,_0x5484a7,_0x4eeb27);};}function x(_0x2a8fb7,_0x43c114,_0x3f6f50,_0x57b8d1){const _0x53c7cf=_0x139398;var _0x10e71f=arguments[_0x53c7cf(0x1b9)],_0x419388=_0x10e71f<0x3?_0x43c114:_0x57b8d1===null?_0x57b8d1=Object[_0x53c7cf(0x2b4)](_0x43c114,_0x3f6f50):_0x57b8d1,_0x39bea8;if(typeof Reflect==_0x53c7cf(0x2c9)&&typeof Reflect[_0x53c7cf(0x214)]==_0x53c7cf(0x412))_0x419388=Reflect[_0x53c7cf(0x214)](_0x2a8fb7,_0x43c114,_0x3f6f50,_0x57b8d1);else{for(var _0xc4c982=_0x2a8fb7[_0x53c7cf(0x1b9)]-0x1;_0xc4c982>=0x0;_0xc4c982--)(_0x39bea8=_0x2a8fb7[_0xc4c982])&&(_0x419388=(_0x10e71f<0x3?_0x39bea8(_0x419388):_0x10e71f>0x3?_0x39bea8(_0x43c114,_0x3f6f50,_0x419388):_0x39bea8(_0x43c114,_0x3f6f50))||_0x419388);}return _0x10e71f>0x3&&_0x419388&&Object[_0x53c7cf(0x176)](_0x43c114,_0x3f6f50,_0x419388),_0x419388;}function S(_0xfb5d9,_0x53b6c1){const _0x1d7841=_0x139398;return(_0xfb5d9==null?void 0x0:_0xfb5d9[_0x1d7841(0x205)])===(_0x53b6c1==null?void 0x0:_0x53b6c1[_0x1d7841(0x205)])&&(_0xfb5d9==null?void 0x0:_0xfb5d9['section'])===(_0x53b6c1==null?void 0x0:_0x53b6c1[_0x1d7841(0x1f3)])&&(_0xfb5d9==null?void 0x0:_0xfb5d9[_0x1d7841(0x2f6)])===(_0x53b6c1==null?void 0x0:_0x53b6c1['titleKey'])&&(_0xfb5d9==null?void 0x0:_0xfb5d9[_0x1d7841(0x29a)])===(_0x53b6c1==null?void 0x0:_0x53b6c1['axisId'])&&(_0xfb5d9==null?void 0x0:_0xfb5d9['seriesId'])===(_0x53b6c1==null?void 0x0:_0x53b6c1['seriesId']);}function C(_0x5b9126,_0x12e937){const _0x2df72b=_0x139398;return(_0x5b9126==null?void 0x0:_0x5b9126['unitId'])===_0x12e937[_0x2df72b(0x229)]&&_0x5b9126[_0x2df72b(0x2fe)]===_0x12e937['subUnitId']&&_0x5b9126[_0x2df72b(0x207)]===_0x12e937[_0x2df72b(0x207)]&&_0x5b9126['chartId']===_0x12e937[_0x2df72b(0x22b)]&&_0x5b9126[_0x2df72b(0x31b)]===_0x12e937[_0x2df72b(0x31b)]&&S(_0x5b9126[_0x2df72b(0x38f)],_0x12e937[_0x2df72b(0x38f)]);}let w=class extends n[_0x139398(0x33f)]{constructor(_0x21b16c,_0x9b1308){const _0x4785fb=_0x139398;super(),this['_elementStateService']=_0x21b16c,this[_0x4785fb(0x1aa)]=_0x9b1308,y(this,_0x4785fb(0x43c),new r[(_0x4785fb(0x219))](null)),y(this,_0x4785fb(0x413),this[_0x4785fb(0x43c)][_0x4785fb(0x376)]()),this[_0x4785fb(0x38e)](this[_0x4785fb(0x22f)][_0x4785fb(0x1e2)][_0x4785fb(0x304)](_0x3f00c4=>this[_0x4785fb(0x41b)](_0x3f00c4))),this[_0x4785fb(0x38e)](this[_0x4785fb(0x1aa)][_0x4785fb(0x200)][_0x4785fb(0x304)](_0x415f79=>{const _0x6d263c=_0x4785fb;let _0x297c4d=this[_0x6d263c(0x379)]();_0x297c4d&&_0x415f79[_0x6d263c(0x1d5)](_0x3ef368=>_0x3ef368['unitId']===_0x297c4d[_0x6d263c(0x229)]&&_0x3ef368[_0x6d263c(0x2fe)]===_0x297c4d[_0x6d263c(0x2fe)]&&_0x3ef368[_0x6d263c(0x207)]===_0x297c4d[_0x6d263c(0x207)])&&this[_0x6d263c(0x24f)](_0x6d263c(0x3e5));}));}['dispose'](){const _0xf336c=_0x139398;this[_0xf336c(0x24f)]('dispose'),this[_0xf336c(0x43c)][_0xf336c(0x28e)](),super[_0xf336c(0x2fa)]();}[_0x139398(0x379)](){const _0x8f77fc=_0x139398;return this[_0x8f77fc(0x43c)][_0x8f77fc(0x3bc)]();}['open'](_0x10ce78){const _0x22ae86=_0x139398;let _0x4adcc4={..._0x10ce78};C(this['getActiveSession'](),_0x4adcc4)||this[_0x22ae86(0x43c)]['next'](_0x4adcc4);}['close'](_0x2ff440){const _0x245e1e=_0x139398;this['getActiveSession']()&&this[_0x245e1e(0x43c)][_0x245e1e(0x23f)](null);}['_syncSelectionState'](_0x1475ed){const _0x44b1b0=_0x139398;let _0x67addd=this[_0x44b1b0(0x379)]();if(!_0x67addd)return;if(_0x1475ed[_0x44b1b0(0x1ff)]){this[_0x44b1b0(0x24f)](_0x44b1b0(0x1e7));return;}if(!_0x1475ed[_0x44b1b0(0x1ae)]){this[_0x44b1b0(0x24f)]('selectionChange');return;}if(_0x1475ed['context'][_0x44b1b0(0x229)]!==_0x67addd[_0x44b1b0(0x229)]){this['close'](_0x44b1b0(0x171));return;}if(_0x1475ed[_0x44b1b0(0x1ae)][_0x44b1b0(0x2fe)]!==_0x67addd[_0x44b1b0(0x2fe)]){this[_0x44b1b0(0x24f)](_0x44b1b0(0x181));return;}if(_0x1475ed[_0x44b1b0(0x3ba)][_0x44b1b0(0x1b9)]!==0x1||_0x1475ed[_0x44b1b0(0x2f9)]!==_0x67addd['elementId']){this[_0x44b1b0(0x24f)](_0x44b1b0(0x171));return;}let _0x1bd4cf=this[_0x44b1b0(0x1aa)][_0x44b1b0(0x3ea)](_0x67addd['unitId'],_0x67addd[_0x44b1b0(0x2fe)],_0x67addd[_0x44b1b0(0x207)]);(!_0x1bd4cf||_0x1bd4cf[_0x44b1b0(0x261)][_0x44b1b0(0x1a1)]!==e[_0x44b1b0(0x360)][_0x44b1b0(0x33e)]||_0x1bd4cf[_0x44b1b0(0x261)][_0x44b1b0(0x22b)]!==_0x67addd[_0x44b1b0(0x22b)])&&this[_0x44b1b0(0x24f)]('selectionChange');}};w=x([b(0x0,t[_0x139398(0x18c)]),b(0x1,e[_0x139398(0x3ff)])],w);const T=new Set([o[_0x139398(0x362)]['ColumnStacked'],o[_0x139398(0x362)]['ColumnPercentStacked'],o['ChartTypeBits'][_0x139398(0x2d8)],o['ChartTypeBits'][_0x139398(0x3d3)],o[_0x139398(0x362)][_0x139398(0x349)],o['ChartTypeBits'][_0x139398(0x227)],o[_0x139398(0x362)][_0x139398(0x3ae)],o['ChartTypeBits'][_0x139398(0x2b8)]]),E=a[_0x139398(0x381)][_0x139398(0x2c0)](_0x1d8f88=>!T[_0x139398(0x228)](_0x1d8f88[_0x139398(0x32d)])),D=(0x0,n[_0x139398(0x1da)])('board-chart.ui.service');let O=class extends a['ChartUIService']{constructor(_0x1b4218,_0xc7a3ac,_0x39baf8,_0x588f8f){const _0x583930=_0x139398;super(_0x588f8f),this[_0x583930(0x1d3)]=_0x1b4218,this['_resourceService']=_0xc7a3ac,this['_commandService']=_0x39baf8;}get[_0x139398(0x41c)](){const _0x3450bc=_0x139398;return this[_0x3450bc(0x1d3)][_0x3450bc(0x41c)];}get['activeRuntimeModel$'](){const _0x5f41b3=_0x139398;return this[_0x5f41b3(0x1d3)][_0x5f41b3(0x2c6)];}get[_0x139398(0x1ef)](){const _0x249a1c=_0x139398;return this[_0x249a1c(0x1b4)];}[_0x139398(0x3ef)](_0x283806){const _0x222ef2=_0x139398;let _0x6f27ad=this['_modelService'][_0x222ef2(0x41c)],_0x978493=_0x283806['unitId']??(_0x6f27ad==null?void 0x0:_0x6f27ad[_0x222ef2(0x229)]),_0x1dc04e=_0x283806[_0x222ef2(0x22b)]??(_0x6f27ad==null?void 0x0:_0x6f27ad[_0x222ef2(0x22b)]);!_0x978493||!_0x1dc04e||this[_0x222ef2(0x37a)][_0x222ef2(0x336)](i[_0x222ef2(0x338)]['id'],{..._0x283806,'unitId':_0x978493,'chartId':_0x1dc04e});}};O=x([b(0x0,(0x0,n[_0x139398(0x237)])(i[_0x139398(0x2d4)])),b(0x1,(0x0,n[_0x139398(0x237)])(i[_0x139398(0x22d)])),b(0x2,n[_0x139398(0x40a)]),b(0x3,(0x0,n[_0x139398(0x237)])(a['ChartViewStateRegistry']))],O);const k=_0x139398(0x20b);function ee(_0x2cc98e){const _0x4fc2e9=_0x139398;_0x2cc98e[_0x4fc2e9(0x3be)]();}function te(_0x3286fe){const _0x18c2a1=_0x139398;var _0x27efe0,_0x257d72;let _0x1ea5c0=(0x0,l[_0x18c2a1(0x2f2)])(n[_0x18c2a1(0x40a)]),_0x592054=(0x0,l[_0x18c2a1(0x2f2)])(n[_0x18c2a1(0x238)]),_0x835b97=(0x0,l[_0x18c2a1(0x2f2)])(n[_0x18c2a1(0x393)]),_0x7e92d4=(0x0,l[_0x18c2a1(0x2f2)])(n[_0x18c2a1(0x1c0)]),_0x3c755f=(0x0,l[_0x18c2a1(0x2f2)])(i['BoardChartModelService']),_0x4a86aa=(0x0,l['useDependency'])(D),_0x3e2140=(0x0,l[_0x18c2a1(0x2f2)])(w),_0x33915e=(0x0,u['useMemo'])(()=>_0x3c755f[_0x18c2a1(0x40c)](_0x3286fe[_0x18c2a1(0x229)],_0x3286fe[_0x18c2a1(0x22b)]),[_0x3286fe['chartId'],_0x3286fe['unitId'],_0x3c755f]),_0x3588a6=(0x0,l['useObservable'])(_0x33915e==null?void 0x0:_0x33915e['model'][_0x18c2a1(0x2bc)],_0x33915e==null?void 0x0:_0x33915e[_0x18c2a1(0x41f)][_0x18c2a1(0x250)]),_0x199a23=(0x0,l[_0x18c2a1(0x275)])(_0x33915e==null?void 0x0:_0x33915e[_0x18c2a1(0x41f)]['style$'],_0x33915e==null?void 0x0:_0x33915e[_0x18c2a1(0x41f)][_0x18c2a1(0x26b)]),_0x7d5ee4=(0x0,u['useMemo'])(()=>{const _0x32a18e=_0x18c2a1;let _0x5c1daa=_0x835b97[_0x32a18e(0x170)](_0x3286fe[_0x32a18e(0x229)],n[_0x32a18e(0x2e3)][_0x32a18e(0x18e)]);return!_0x33915e||!_0x5c1daa?null:new a['ChartHostAdapter'](_0x33915e[_0x32a18e(0x41f)],new i[(_0x32a18e(0x337))]({'unitId':_0x3286fe[_0x32a18e(0x229)],'pageId':_0x3286fe['subUnitId'],'chartId':_0x3286fe[_0x32a18e(0x22b)],'elementId':_0x3286fe[_0x32a18e(0x207)],'boardModel':_0x5c1daa,'injector':_0x592054}));},[_0x3286fe,_0x592054,_0x33915e,_0x835b97]),_0x3fecdf=(0x0,u['useMemo'])(()=>(0x0,a[_0x18c2a1(0x3d9)])(E[_0x18c2a1(0x281)](_0x4bd6c2=>({..._0x4bd6c2,'label':_0x7e92d4['t']('boards-chart-ui.chartTypes.'+_0x4bd6c2[_0x18c2a1(0x2a5)])}))),[_0x7e92d4]);if(!_0x33915e)return null;let _0x1571d7=()=>{const _0x56354f=_0x18c2a1;_0x3e2140['open']({'chartId':_0x3286fe[_0x56354f(0x22b)],'elementId':_0x3286fe[_0x56354f(0x207)],'source':_0x56354f(0x3fd),'subUnitId':_0x3286fe['subUnitId'],'unitId':_0x3286fe[_0x56354f(0x229)]});},_0x11a235=()=>_0x1ea5c0[_0x18c2a1(0x336)](t[_0x18c2a1(0x27d)]['id']),_0x1fc1cc=_0x3682ec=>{const _0x4eea19=_0x18c2a1;var _0x3139cf,_0x3c1df0,_0x9eeeb1;if(_0x3c755f[_0x4eea19(0x390)](_0x33915e),!_0x7d5ee4)return;let _0x23d2ef=_0x3fecdf[_0x4eea19(0x231)](_0x50cd3e=>_0x50cd3e[_0x4eea19(0x32d)]===_0x3682ec),_0x45061b=(_0x23d2ef==null?void 0x0:_0x23d2ef['chartType'])??Number(_0x3682ec);if((_0x3139cf=(_0x3c1df0=_0x4a86aa['getViewState'](a[_0x4eea19(0x327)][_0x4eea19(0x424)]))['set'])==null||_0x3139cf[_0x4eea19(0x256)](_0x3c1df0,_0x7d5ee4,_0x45061b),_0x23d2ef!=null&&_0x23d2ef[_0x4eea19(0x1e9)]){var _0x1f1b4b,_0x38712b,_0x74fab7,_0x4d194f;(_0x1f1b4b=(_0x38712b=_0x4a86aa[_0x4eea19(0x2f1)](a['ChartViewStateKey'][_0x4eea19(0x42e)]))[_0x4eea19(0x196)])==null||_0x1f1b4b[_0x4eea19(0x256)](_0x38712b,_0x7d5ee4,{'composite':{..._0x199a23==null||(_0x74fab7=_0x199a23[_0x4eea19(0x1c7)])==null?void 0x0:_0x74fab7[_0x4eea19(0x33b)],'enabled':!0x0,'secondaryPlot':{..._0x199a23==null||(_0x4d194f=_0x199a23[_0x4eea19(0x1c7)])==null||(_0x4d194f=_0x4d194f['composite'])==null?void 0x0:_0x4d194f[_0x4eea19(0x3ac)],'type':_0x23d2ef[_0x4eea19(0x1e9)]}}});}else{if(_0x45061b===o['ChartTypeBits'][_0x4eea19(0x42e)]&&_0x199a23!=null&&(_0x9eeeb1=_0x199a23[_0x4eea19(0x1c7)])!=null&&_0x9eeeb1[_0x4eea19(0x33b)]){var _0x1989d1,_0x5d2962;(_0x1989d1=(_0x5d2962=_0x4a86aa[_0x4eea19(0x2f1)](a[_0x4eea19(0x327)][_0x4eea19(0x42e)]))[_0x4eea19(0x196)])==null||_0x1989d1[_0x4eea19(0x256)](_0x5d2962,_0x7d5ee4,{'composite':{..._0x199a23[_0x4eea19(0x1c7)][_0x4eea19(0x33b)],'enabled':!0x1}});}}},_0x246acc=(_0x199a23==null||(_0x27efe0=_0x199a23['pie'])==null||(_0x27efe0=_0x27efe0['composite'])==null?void 0x0:_0x27efe0['enabled'])===!0x0?(_0x257d72=_0x199a23[_0x18c2a1(0x1c7)][_0x18c2a1(0x33b)][_0x18c2a1(0x3ac)])==null?void 0x0:_0x257d72[_0x18c2a1(0x1a1)]:void 0x0,_0x1deed6=_0x246acc?_0x3fecdf[_0x18c2a1(0x231)](_0x55021e=>_0x55021e[_0x18c2a1(0x1e9)]===_0x246acc):void 0x0;return(0x0,d['jsxs'])(_0x18c2a1(0x3bd),{'className':(0x0,s[_0x18c2a1(0x42c)])(_0x18c2a1(0x168),s[_0x18c2a1(0x314)]),'data-u-comp':_0x18c2a1(0x244),'role':_0x18c2a1(0x1f1),'onMouseDown':ee,'onPointerDown':ee,'children':[(0x0,d[_0x18c2a1(0x217)])(s[_0x18c2a1(0x30b)],{'aria-label':_0x7e92d4['t'](_0x18c2a1(0x175)),'className':_0x18c2a1(0x1f8),'value':(_0x1deed6==null?void 0x0:_0x1deed6[_0x18c2a1(0x32d)])??String(_0x3588a6),'options':_0x3fecdf,'onChange':_0x1fc1cc}),(0x0,d['jsx'])(s[_0x18c2a1(0x24b)],{'orientation':_0x18c2a1(0x17f)}),(0x0,d[_0x18c2a1(0x217)])('button',{'type':_0x18c2a1(0x177),'aria-label':_0x7e92d4['t'](_0x18c2a1(0x28f)),'title':_0x7e92d4['t']('boards-chart-ui.common.editChart'),'className':_0x18c2a1(0x418),'data-toolbar-item':'edit-chart','onClick':_0x1571d7,'children':(0x0,d['jsx'])(c[_0x18c2a1(0x31e)],{})}),(0x0,d[_0x18c2a1(0x217)])(_0x18c2a1(0x177),{'type':_0x18c2a1(0x177),'aria-label':_0x7e92d4['t'](_0x18c2a1(0x279)),'title':_0x7e92d4['t'](_0x18c2a1(0x279)),'className':'univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','data-toolbar-item':_0x18c2a1(0x3cf),'onClick':_0x11a235,'children':(0x0,d['jsx'])(c[_0x18c2a1(0x208)],{})})]});}function A(_0x46933a){const _0x2d05f8=_0x139398;let _0x49c563=_0x46933a[_0x2d05f8(0x1c6)][_0x2d05f8(0x3ec)];return _0x49c563?(0x0,d['jsx'])(te,{..._0x49c563}):null;}let j=class extends n['RxDisposable']{constructor(_0x2e19d7,_0x191ad8,_0x3fe9e9,_0x2fd923,_0x4da2e1,_0x7328fc,_0x43c9c6){const _0x2d0049=_0x139398;super(),this[_0x2d0049(0x357)]=_0x2e19d7,this[_0x2d0049(0x2de)]=_0x191ad8,this[_0x2d0049(0x1aa)]=_0x3fe9e9,this[_0x2d0049(0x22f)]=_0x2fd923,this[_0x2d0049(0x242)]=_0x4da2e1,this[_0x2d0049(0x30f)]=_0x7328fc,this['_interactionSurfaceService']=_0x43c9c6,y(this,_0x2d0049(0x291),null),y(this,'_popupSelectionKey',null),this['_init']();}[_0x139398(0x2fa)](){const _0x44af6b=_0x139398;this['_clearPopup'](),super[_0x44af6b(0x2fa)]();}[_0x139398(0x235)](){const _0x5596d6=_0x139398;let _0x185f32=this[_0x5596d6(0x357)][_0x5596d6(0x325)][_0x5596d6(0x25f)]();this[_0x5596d6(0x38e)]((0x0,n[_0x5596d6(0x3eb)])(_0x185f32['createControl$'][_0x5596d6(0x16d)]((0x0,r[_0x5596d6(0x215)])(this[_0x5596d6(0x2b6)]))[_0x5596d6(0x304)](()=>{const _0x331e5c=_0x5596d6;this[_0x331e5c(0x1e3)]();}))),this['disposeWithMe']((0x0,n['toDisposable'])(_0x185f32[_0x5596d6(0x306)]['pipe']((0x0,r['takeUntil'])(this[_0x5596d6(0x2b6)]))['subscribe'](()=>{const _0x4fbe7d=_0x5596d6;this[_0x4fbe7d(0x1b6)]();}))),this[_0x5596d6(0x38e)]((0x0,n[_0x5596d6(0x3eb)])(_0x185f32[_0x5596d6(0x436)][_0x5596d6(0x16d)]((0x0,r['takeUntil'])(this[_0x5596d6(0x2b6)]))[_0x5596d6(0x304)](()=>{this['_clearPopup']();}))),this[_0x5596d6(0x38e)]((0x0,n[_0x5596d6(0x3eb)])(_0x185f32[_0x5596d6(0x1dd)][_0x5596d6(0x16d)]((0x0,r[_0x5596d6(0x215)])(this[_0x5596d6(0x2b6)]))['subscribe'](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe']((0x0,n[_0x5596d6(0x3eb)])(this[_0x5596d6(0x22f)][_0x5596d6(0x1e2)][_0x5596d6(0x16d)]((0x0,r['takeUntil'])(this['dispose$']))['subscribe'](()=>{const _0x20a762=_0x5596d6;setTimeout(()=>this[_0x20a762(0x1e3)](),0x0);}))),this['disposeWithMe']((0x0,n[_0x5596d6(0x3eb)])(this['_uiStateService']['state$'][_0x5596d6(0x16d)]((0x0,r[_0x5596d6(0x215)])(this['dispose$']))[_0x5596d6(0x304)](()=>{const _0x598877=_0x5596d6;setTimeout(()=>this[_0x598877(0x1e3)](),0x0);}))),this['disposeWithMe']((0x0,n[_0x5596d6(0x3eb)])(this[_0x5596d6(0x30f)][_0x5596d6(0x413)][_0x5596d6(0x16d)]((0x0,r[_0x5596d6(0x215)])(this['dispose$']))[_0x5596d6(0x304)](_0x44325c=>{const _0x1dfbd8=_0x5596d6;if(_0x44325c){this[_0x1dfbd8(0x184)]();return;}setTimeout(()=>this[_0x1dfbd8(0x1e3)](),0x0);}))),this['disposeWithMe']((0x0,n[_0x5596d6(0x3eb)])(this[_0x5596d6(0x39b)][_0x5596d6(0x1eb)][_0x5596d6(0x16d)]((0x0,r[_0x5596d6(0x215)])(this[_0x5596d6(0x2b6)]))[_0x5596d6(0x304)](_0x5eec73=>{const _0x16391d=_0x5596d6;if(_0x5eec73){this[_0x16391d(0x184)]();return;}setTimeout(()=>this[_0x16391d(0x1e3)](),0x0);})));}[_0x139398(0x184)](){const _0x15605b=_0x139398;var _0x153722;(_0x153722=this[_0x15605b(0x291)])==null||_0x153722[_0x15605b(0x2fa)](),this['_popupDisposable']=null,this['_popupSelectionKey']=null;}[_0x139398(0x1b6)](){setTimeout(()=>{const _0x898d98=_0x1864;this[_0x898d98(0x19d)]()||this[_0x898d98(0x184)]();},0x0);}[_0x139398(0x19d)](){const _0x155c5c=_0x139398;let _0x1c97ee=this[_0x155c5c(0x22f)][_0x155c5c(0x39a)]();return!_0x1c97ee['context']||_0x1c97ee['selectedIds']['length']!==0x1?!0x1:this['_popupSelectionKey']===this[_0x155c5c(0x233)](_0x1c97ee[_0x155c5c(0x1ae)]['unitId'],_0x1c97ee[_0x155c5c(0x1ae)][_0x155c5c(0x2fe)],_0x1c97ee[_0x155c5c(0x3ba)][0x0]);}[_0x139398(0x233)](_0x323b7a,_0x4eefd2,_0x1ead44){return _0x323b7a+':'+_0x4eefd2+':'+_0x1ead44;}['_showPopupForSelection'](){const _0x5b5e47=_0x139398;if(this[_0x5b5e47(0x39b)]['isInteractionSurfaceActive']||this[_0x5b5e47(0x30f)][_0x5b5e47(0x379)]()){this[_0x5b5e47(0x184)]();return;}let _0x144bdc=this[_0x5b5e47(0x22f)][_0x5b5e47(0x39a)](),_0x23b68d=this[_0x5b5e47(0x242)][_0x5b5e47(0x3e3)]();if(_0x144bdc[_0x5b5e47(0x1ff)]||_0x23b68d[_0x5b5e47(0x384)]||_0x23b68d['activeTool']!==null&&_0x23b68d[_0x5b5e47(0x1b2)]!==e['BoardToolType']['Select']||!_0x144bdc[_0x5b5e47(0x1ae)]||_0x144bdc['context'][_0x5b5e47(0x229)]!==this[_0x5b5e47(0x357)]['unitId']||_0x144bdc['selectedIds']['length']!==0x1||_0x144bdc[_0x5b5e47(0x2f9)]==null){this[_0x5b5e47(0x184)]();return;}let _0x4f5bab=this[_0x5b5e47(0x1aa)][_0x5b5e47(0x3ea)](_0x144bdc[_0x5b5e47(0x1ae)][_0x5b5e47(0x229)],_0x144bdc[_0x5b5e47(0x1ae)][_0x5b5e47(0x2fe)],_0x144bdc[_0x5b5e47(0x2f9)]);if(!_0x4f5bab||_0x4f5bab[_0x5b5e47(0x261)][_0x5b5e47(0x1a1)]!==e['BoardElementType']['Chart']){this[_0x5b5e47(0x184)]();return;}let _0x16e6e6=this[_0x5b5e47(0x3d7)](_0x4f5bab);if(!_0x16e6e6){this[_0x5b5e47(0x184)]();return;}let _0x4d5518=this[_0x5b5e47(0x233)](_0x4f5bab['unitId'],_0x4f5bab[_0x5b5e47(0x2fe)],_0x4f5bab[_0x5b5e47(0x207)]);this[_0x5b5e47(0x291)]&&this[_0x5b5e47(0x406)]===_0x4d5518||(this[_0x5b5e47(0x184)](),this[_0x5b5e47(0x291)]=this[_0x5b5e47(0x38e)](this[_0x5b5e47(0x2de)][_0x5b5e47(0x3b6)](_0x4f5bab[_0x5b5e47(0x229)],_0x4f5bab[_0x5b5e47(0x2fe)],_0x16e6e6,{'componentKey':k,'direction':_0x5b5e47(0x1ac),'offset':[0x0,0x24],'anchorBoundResolver':t[_0x5b5e47(0x17a)],'extraProps':{'unitId':_0x4f5bab[_0x5b5e47(0x229)],'subUnitId':_0x4f5bab[_0x5b5e47(0x2fe)],'elementId':_0x4f5bab[_0x5b5e47(0x207)],'chartId':_0x4f5bab['element'][_0x5b5e47(0x22b)]}})),this[_0x5b5e47(0x406)]=_0x4d5518);}[_0x139398(0x3d7)](_0x3cc0f7){const _0x4a8b08=_0x139398;var _0x323581;let _0x4fa7ce=(0x0,t[_0x4a8b08(0x33d)])(_0x3cc0f7[_0x4a8b08(0x229)],_0x3cc0f7[_0x4a8b08(0x207)]),_0x3eb44f=this[_0x4a8b08(0x357)]['scene'];return((_0x323581=_0x3eb44f[_0x4a8b08(0x2db)])==null?void 0x0:_0x323581['call'](_0x3eb44f,_0x4fa7ce))??_0x3eb44f[_0x4a8b08(0x2e2)](_0x4fa7ce)??null;}};j=x([b(0x1,(0x0,n[_0x139398(0x237)])(t[_0x139398(0x1e1)])),b(0x2,e[_0x139398(0x3ff)]),b(0x3,t[_0x139398(0x18c)]),b(0x4,t[_0x139398(0x3ab)]),b(0x5,(0x0,n[_0x139398(0x237)])(w)),b(0x6,(0x0,n['Inject'])(t[_0x139398(0x32a)]))],j);let M=class extends n['RxDisposable']{constructor(_0x51b264,_0x2e4f5e,_0x1a6c14,_0x45b5c1,_0x282c22,_0x2f9503){const _0x55d6a5=_0x139398;super(),this[_0x55d6a5(0x357)]=_0x51b264,this[_0x55d6a5(0x39c)]=_0x2e4f5e,this[_0x55d6a5(0x1aa)]=_0x1a6c14,this[_0x55d6a5(0x22f)]=_0x45b5c1,this[_0x55d6a5(0x242)]=_0x282c22,this[_0x55d6a5(0x30f)]=_0x2f9503,y(this,_0x55d6a5(0x3e8),!0x1),y(this,'_objectDblclickDisposables',null),this[_0x55d6a5(0x235)]();}[_0x139398(0x235)](){const _0x50bf9e=_0x139398;let {unitId:_0x412cc3}=this[_0x50bf9e(0x357)],_0x4a28e0=this[_0x50bf9e(0x39c)][_0x50bf9e(0x170)](_0x412cc3,n[_0x50bf9e(0x2e3)][_0x50bf9e(0x18e)]);this[_0x50bf9e(0x38e)]((0x0,n[_0x50bf9e(0x3eb)])(()=>{const _0x5832b0=_0x50bf9e;var _0xc59f26;return(_0xc59f26=this[_0x5832b0(0x1f5)])==null?void 0x0:_0xc59f26['dispose']();})),_0x4a28e0&&(this[_0x50bf9e(0x1a2)](_0x4a28e0),this['disposeWithMe'](this['_boardElementService'][_0x50bf9e(0x432)]['subscribe'](_0xad71b0=>{const _0x1a975e=_0x50bf9e;_0xad71b0[_0x1a975e(0x1d5)](_0x2e79ae=>_0x2e79ae[_0x1a975e(0x229)]===_0x412cc3)&&this['_scheduleAttachObjectDoubleClicks'](_0x4a28e0);})),this['disposeWithMe'](this['_boardElementService'][_0x50bf9e(0x3c8)][_0x50bf9e(0x304)](_0x5f2bb0=>{const _0x508731=_0x50bf9e;_0x5f2bb0[_0x508731(0x1d5)](_0x1132a3=>_0x1132a3[_0x508731(0x229)]===_0x412cc3)&&this[_0x508731(0x1a2)](_0x4a28e0);})),this[_0x50bf9e(0x38e)](this[_0x50bf9e(0x1aa)][_0x50bf9e(0x200)][_0x50bf9e(0x304)](_0xd0d7f5=>{const _0x2d4ac9=_0x50bf9e;_0xd0d7f5[_0x2d4ac9(0x1d5)](_0xca34d0=>_0xca34d0['unitId']===_0x412cc3)&&this['_scheduleAttachObjectDoubleClicks'](_0x4a28e0);})),this[_0x50bf9e(0x38e)](this[_0x50bf9e(0x22f)][_0x50bf9e(0x1e2)][_0x50bf9e(0x304)](_0x1b2685=>{const _0xf6da8d=_0x50bf9e;var _0x530f1c;((_0x530f1c=_0x1b2685[_0xf6da8d(0x1ae)])==null?void 0x0:_0x530f1c[_0xf6da8d(0x229)])===_0x412cc3&&this[_0xf6da8d(0x1a2)](_0x4a28e0);})));}[_0x139398(0x1a2)](_0x453372){const _0x37d832=_0x139398;this[_0x37d832(0x3e8)]||(this[_0x37d832(0x3e8)]=!0x0,Promise[_0x37d832(0x1ba)]()['then'](()=>this[_0x37d832(0x1cc)](_0x453372)));}[_0x139398(0x1cc)](_0x130b9b){const _0xf446f9=_0x139398;var _0x4bac4a;this['_attachScheduled']=!0x1;let {scene:_0x41572f,unitId:_0x3d1919}=this[_0xf446f9(0x357)],_0x3f3197=_0x130b9b['getActivePageId'](),_0x458813=this[_0xf446f9(0x1aa)]['getElementOrder'](_0x3d1919,_0x3f3197),_0x536bc3=new n[(_0xf446f9(0x401))]();(_0x4bac4a=this[_0xf446f9(0x1f5)])==null||_0x4bac4a['dispose'](),this[_0xf446f9(0x1f5)]=_0x536bc3,_0x458813[_0xf446f9(0x36f)](_0x4a7c31=>{const _0x44bab2=_0xf446f9;var _0x5611bb;let _0x47a88e=this['_boardElementService']['getElementById'](_0x3d1919,_0x3f3197,_0x4a7c31);if(!_0x47a88e||_0x47a88e['element'][_0x44bab2(0x1a1)]!==e[_0x44bab2(0x360)][_0x44bab2(0x33e)])return;let _0x296332=(0x0,t[_0x44bab2(0x33d)])(_0x3d1919,_0x4a7c31),_0xa0013b=((_0x5611bb=_0x41572f[_0x44bab2(0x2db)])==null?void 0x0:_0x5611bb[_0x44bab2(0x256)](_0x41572f,_0x296332))??_0x41572f[_0x44bab2(0x2e2)](_0x296332);_0xa0013b&&_0x536bc3[_0x44bab2(0x273)]((0x0,n[_0x44bab2(0x3eb)])(_0xa0013b['onDblclick$'][_0x44bab2(0x374)]((_0x54590d,_0x518835)=>{const _0x16914e=_0x44bab2;this[_0x16914e(0x309)](_0x47a88e,_0x54590d,_0x518835);})));});}[_0x139398(0x309)](_0x2ba2c6,_0x50d11f,_0x634ed3){const _0xaf290d=_0x139398;var _0xc59a37;if(this[_0xaf290d(0x242)][_0xaf290d(0x3e3)]()[_0xaf290d(0x384)]||this[_0xaf290d(0x22f)][_0xaf290d(0x39a)]()[_0xaf290d(0x1ff)]||_0x2ba2c6[_0xaf290d(0x261)][_0xaf290d(0x1a1)]!==e[_0xaf290d(0x360)][_0xaf290d(0x33e)])return;let _0x137503={'unitId':_0x2ba2c6[_0xaf290d(0x229)],'subUnitId':_0x2ba2c6[_0xaf290d(0x2fe)]};this[_0xaf290d(0x22f)][_0xaf290d(0x1d6)](_0x137503,[_0x2ba2c6[_0xaf290d(0x207)]],_0x2ba2c6[_0xaf290d(0x207)]),this[_0xaf290d(0x22f)][_0xaf290d(0x3a4)](_0x137503,null),this[_0xaf290d(0x30f)][_0xaf290d(0x22a)]({'chartId':_0x2ba2c6['element'][_0xaf290d(0x22b)],'elementId':_0x2ba2c6[_0xaf290d(0x207)],'source':_0xaf290d(0x1de),'subUnitId':_0x2ba2c6[_0xaf290d(0x2fe)],'unitId':_0x2ba2c6[_0xaf290d(0x229)]}),_0x634ed3&&(_0x634ed3['skipNextObservers']=!0x0),_0x50d11f==null||(_0xc59a37=_0x50d11f[_0xaf290d(0x34a)])==null||_0xc59a37[_0xaf290d(0x256)](_0x50d11f);}};M=x([b(0x1,n['IUniverInstanceService']),b(0x2,e[_0x139398(0x3ff)]),b(0x3,t[_0x139398(0x18c)]),b(0x4,t[_0x139398(0x3ab)]),b(0x5,(0x0,n['Inject'])(w))],M);let N=class extends n[_0x139398(0x33f)]{constructor(_0x50a507,_0x1f9c7b,_0x539c2b){const _0x3508af=_0x139398;super(),this['_resourceService']=_0x50a507,this[_0x3508af(0x1d3)]=_0x1f9c7b,this[_0x3508af(0x37a)]=_0x539c2b;}[_0x139398(0x39d)](_0xddbfa1,_0x4f1033){const _0x27dd01=_0x139398;let _0xaebc5b=this[_0x27dd01(0x1b4)][_0x27dd01(0x222)](_0xddbfa1,_0x4f1033),_0x589fba=_0xaebc5b?this[_0x27dd01(0x1b4)][_0x27dd01(0x26a)](_0xddbfa1,_0xaebc5b[_0x27dd01(0x429)]):void 0x0;return!_0xaebc5b||!_0x589fba?null:{'chartId':_0x4f1033,'chartType':_0xaebc5b[_0x27dd01(0x250)],'dataSource':{..._0x589fba,'values':_0x589fba[_0x27dd01(0x3d4)][_0x27dd01(0x281)](_0x4f9d66=>[..._0x4f9d66])},'sharingCount':this[_0x27dd01(0x1b4)][_0x27dd01(0x2ad)](_0xddbfa1,_0x589fba['id']),'unitId':_0xddbfa1};}async[_0x139398(0x35d)](_0x2d1e7d){const _0x21a229=_0x139398;var _0x194080;let _0x42f667=this[_0x21a229(0x39d)](_0x2d1e7d[_0x21a229(0x229)],_0x2d1e7d['chartId']);if(!_0x42f667||_0x2d1e7d[_0x21a229(0x3d4)]['length']===0x0)return!0x1;let _0x69d924=(_0x194080=this[_0x21a229(0x1b4)][_0x21a229(0x222)](_0x2d1e7d[_0x21a229(0x229)],_0x2d1e7d[_0x21a229(0x22b)]))==null?void 0x0:_0x194080[_0x21a229(0x250)];if(_0x69d924===void 0x0)return!0x1;let _0x138a4f=(0x0,a['tryPrepareInlineChartData'])(_0x69d924,_0x2d1e7d[_0x21a229(0x3d4)]);if(!_0x138a4f['ok']||_0x42f667[_0x21a229(0x31c)]>0x1&&!_0x2d1e7d[_0x21a229(0x25c)]&&!await this[_0x21a229(0x37a)][_0x21a229(0x336)](i['DuplicateBoardChartDataSourceCommand']['id'],{'chartId':_0x2d1e7d['chartId'],'unitId':_0x2d1e7d[_0x21a229(0x229)]}))return!0x1;let _0x3b4baa=this['_resourceService'][_0x21a229(0x222)](_0x2d1e7d['unitId'],_0x2d1e7d[_0x21a229(0x22b)]);if(!_0x3b4baa)return!0x1;let _0x1f4d5f=await this[_0x21a229(0x37a)][_0x21a229(0x336)](i[_0x21a229(0x211)]['id'],{'dataSourceId':_0x3b4baa[_0x21a229(0x429)],'name':_0x2d1e7d['name'],'unitId':_0x2d1e7d['unitId'],'values':_0x138a4f['values']});return _0x1f4d5f&&this[_0x21a229(0x1d3)][_0x21a229(0x2c2)](_0x2d1e7d[_0x21a229(0x229)],_0x2d1e7d[_0x21a229(0x22b)]),!!_0x1f4d5f;}};N=x([b(0x0,(0x0,n[_0x139398(0x237)])(i[_0x139398(0x22d)])),b(0x1,(0x0,n['Inject'])(i[_0x139398(0x2d4)])),b(0x2,n['ICommandService'])],N);const ne=_0x139398(0x348);function re(_0x448360){const _0x5021d8=_0x139398;let _0x4919df=(0x0,l[_0x5021d8(0x2f2)])(N),_0xd01cbc=(0x0,l[_0x5021d8(0x2f2)])(n[_0x5021d8(0x1c0)]),_0x25a132=_0x4919df[_0x5021d8(0x39d)](_0x448360[_0x5021d8(0x229)],_0x448360[_0x5021d8(0x22b)]),[_0x23597e,_0x44a240]=(0x0,u[_0x5021d8(0x2e5)])(()=>(_0x25a132==null?void 0x0:_0x25a132[_0x5021d8(0x3a0)][_0x5021d8(0x3d4)][_0x5021d8(0x281)](_0x7ab47e=>[..._0x7ab47e]))??[]),[_0x3277d9,_0x2e1bc6]=(0x0,u[_0x5021d8(0x2e5)])(null),_0x24e192=((_0x25a132==null?void 0x0:_0x25a132[_0x5021d8(0x31c)])??0x0)>0x1,_0x299ac6={[a[_0x5021d8(0x34c)]['UnknownOption']]:_0xd01cbc['t'](_0x5021d8(0x3d6)),[a['InlineChartCreationIssueCode']['EmptyData']]:_0xd01cbc['t'](_0x5021d8(0x16a)),[a[_0x5021d8(0x34c)][_0x5021d8(0x37f)]]:_0xd01cbc['t']('boards-chart-ui.candlestick.columnsError')};if(!_0x25a132)return(0x0,d[_0x5021d8(0x217)])(_0x5021d8(0x3bd),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0xd01cbc['t'](_0x5021d8(0x2fc))});let _0xaee33=async _0x51fbf3=>{const _0x2053a9=_0x5021d8;var _0xf35027;let _0x120815=(0x0,a[_0x2053a9(0x251)])(_0x25a132['chartType'],_0x23597e);if(!_0x120815['ok']){_0x2e1bc6(_0x299ac6[_0x120815[_0x2053a9(0x290)][_0x2053a9(0x361)]]);return;}if(!await _0x4919df['updateDataForChart']({'chartId':_0x448360[_0x2053a9(0x22b)],'name':_0x25a132[_0x2053a9(0x3a0)]['name'],'unitId':_0x448360[_0x2053a9(0x229)],'updateShared':_0x51fbf3,'values':_0x120815[_0x2053a9(0x3d4)]})){_0x2e1bc6(_0xd01cbc['t'](_0x2053a9(0x317)));return;}_0x2e1bc6(null),(_0xf35027=_0x448360['onClose'])==null||_0xf35027['call'](_0x448360);};return(0x0,d[_0x5021d8(0x174)])(_0x5021d8(0x3bd),{'className':_0x5021d8(0x2cb),'children':[(0x0,d[_0x5021d8(0x217)])(a[_0x5021d8(0x32b)],{'values':_0x23597e,'parsePastedText':o['parseInlineChartTable'],'onChange':_0x44a240}),_0x3277d9&&(0x0,d[_0x5021d8(0x217)])(_0x5021d8(0x3bd),{'className':_0x5021d8(0x433),'children':_0x3277d9}),(0x0,d[_0x5021d8(0x174)])(_0x5021d8(0x3bd),{'className':_0x5021d8(0x3ca),'children':[_0x448360[_0x5021d8(0x3e0)]&&(0x0,d[_0x5021d8(0x217)])(s[_0x5021d8(0x378)],{'type':'button','variant':_0x5021d8(0x3b7),'onClick':_0x448360[_0x5021d8(0x3e0)],'children':_0xd01cbc['t'](_0x5021d8(0x3e7))}),_0x24e192&&(0x0,d[_0x5021d8(0x217)])(s[_0x5021d8(0x378)],{'type':_0x5021d8(0x177),'variant':_0x5021d8(0x3b7),'onClick':()=>_0xaee33(!0x1),'children':_0xd01cbc['t'](_0x5021d8(0x1fd))}),(0x0,d[_0x5021d8(0x217)])(s[_0x5021d8(0x378)],{'type':_0x5021d8(0x177),'variant':_0x5021d8(0x18b),'onClick':()=>_0xaee33(!0x0),'children':_0xd01cbc['t']('boards-chart-ui.common.apply')})]})]});}const ie={'id':_0x139398(0x1a9),'type':n[_0x139398(0x1f4)]['OPERATION'],'handler':(_0x298168,_0x5858b1)=>{const _0x4a42c5=_0x139398;if(!_0x5858b1||!_0x298168[_0x4a42c5(0x30a)](N)['getDataEditState'](_0x5858b1[_0x4a42c5(0x229)],_0x5858b1[_0x4a42c5(0x22b)])||!_0x298168['get'](l[_0x4a42c5(0x2e6)])[_0x4a42c5(0x30a)](_0x4a42c5(0x348)))return!0x1;let _0x2b07d1=_0x298168[_0x4a42c5(0x30a)](l[_0x4a42c5(0x3da)]),_0xdaca7c=_0x298168[_0x4a42c5(0x30a)](n[_0x4a42c5(0x1c0)]),_0x1520fe=null,_0x58073e=()=>{const _0x32a1d7=_0x4a42c5;_0x1520fe==null||_0x1520fe[_0x32a1d7(0x2fa)](),_0x1520fe=null;};return _0x1520fe=_0x2b07d1[_0x4a42c5(0x22a)]({'id':_0x4a42c5(0x373),'title':{'title':_0xdaca7c['t'](_0x4a42c5(0x18f))},'width':0x2f8,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':ne,'props':{..._0x5858b1,'onClose':_0x58073e}}},'onClose':_0x58073e}),!0x0;}},P=_0x139398(0x3b5),F={'axis':{...a[_0x139398(0x3c6)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':a[_0x139398(0x1ec)],'lineAndArea':a[_0x139398(0x2eb)],'pareto':a[_0x139398(0x2e4)],'funnel':a[_0x139398(0x403)],'heatmap':a['DEFAULT_CHART_HEATMAP_VALUES'],'indicatorLine':a['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'pie':{...a[_0x139398(0x266)],'doughnutHole':0x0,'pieHole':0x0},'relation':{...a[_0x139398(0x3b1)],'useValueAsSymbolSize':!0x0},'radar':a[_0x139398(0x3f6)],'series':{...a[_0x139398(0x25b)],'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':a[_0x139398(0x36b)],'titles':a[_0x139398(0x2e8)],'trendline':a[_0x139398(0x1a0)],'waterfall':{...a[_0x139398(0x307)],'useSubtotal':!0x1},'waterfallStyle':a[_0x139398(0x199)],'wordCloud':a[_0x139398(0x24e)]},ae=[o[_0x139398(0x362)][_0x139398(0x209)],o[_0x139398(0x362)][_0x139398(0x254)],o[_0x139398(0x362)]['WordCloud'],o[_0x139398(0x362)][_0x139398(0x2f8)],o['ChartTypeBits'][_0x139398(0x2ea)],o[_0x139398(0x362)][_0x139398(0x1b8)],o[_0x139398(0x362)]['Heatmap'],o[_0x139398(0x362)]['Boxplot'],o[_0x139398(0x362)][_0x139398(0x41e)],o['ChartTypeBits'][_0x139398(0x329)],o[_0x139398(0x362)][_0x139398(0x3a1)],o[_0x139398(0x362)]['Sunburst'],o[_0x139398(0x362)][_0x139398(0x3bb)],o['ChartTypeBits'][_0x139398(0x19f)]];function oe(_0x26aa58){const _0x1abede=_0x139398;let _0x113f10=(0x0,l['useDependency'])(n['LocaleService']);return(0x0,d[_0x1abede(0x174)])(_0x1abede(0x3bd),{'children':[(0x0,d[_0x1abede(0x217)])(a['ChartEditBlockTitle'],{'title':_0x113f10['t'](_0x1abede(0x387))}),(0x0,d[_0x1abede(0x217)])(s[_0x1abede(0x378)],{'type':_0x1abede(0x177),'variant':'default','className':_0x1abede(0x2f0),'onClick':_0x26aa58[_0x1abede(0x2f3)],'children':_0x113f10['t']('boards-chart-ui.common.editData')})]});}function se(){const _0x454927=_0x139398;let _0x3e9d49=(0x0,a[_0x454927(0x383)])();return(0x0,d[_0x454927(0x217)])(a['ChartGradientFillField'],{'visible':ae['every'](_0x51cae1=>!o[_0x454927(0x3ee)][_0x454927(0x30c)](_0x3e9d49,_0x51cae1))});}function ce(_0x5c4554){const _0xbe5b37=_0x139398;return(0x0,d[_0xbe5b37(0x174)])(a[_0xbe5b37(0x2da)],{'id':_0x5c4554['id'],'children':[(0x0,d[_0xbe5b37(0x217)])(a[_0xbe5b37(0x3a5)],{'children':_0x5c4554['label']}),(0x0,d[_0xbe5b37(0x217)])(a[_0xbe5b37(0x28d)],{'children':_0x5c4554[_0xbe5b37(0x3a3)]})]});}function le(_0x44325b,_0x4b9be5){const _0x391bc3=_0x139398;let _0xdbac60=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x43b)],_0x17289b=o[_0x391bc3(0x3ee)][_0x391bc3(0x30c)](_0x44325b,o[_0x391bc3(0x362)][_0x391bc3(0x18a)]),_0x10047b=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x438)],_0x711e45=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x2ea)],_0x50a69b=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x43a)],_0x3bddb1=o['chartBitsUtils'][_0x391bc3(0x30c)](_0x44325b,o[_0x391bc3(0x362)][_0x391bc3(0x42e)]),_0xb0d963=_0x44325b===o['ChartTypeBits'][_0x391bc3(0x254)],_0x47a758=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x265)],_0x1ea920=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x2b8)],_0x1f3afd=_0x44325b===o['ChartTypeBits']['Candlestick'],_0xe7d9ea=_0x44325b===o['ChartTypeBits'][_0x391bc3(0x329)],_0x366ac5=_0x44325b===o['ChartTypeBits'][_0x391bc3(0x3a1)],_0x372632=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x3b3)],_0x2c5268=_0x44325b===o[_0x391bc3(0x362)][_0x391bc3(0x3bb)],_0x16b689=_0x44325b===o['ChartTypeBits'][_0x391bc3(0x19f)],_0x4543f5=[a['ChartEditPanelSection']['ChartStyle'],a['ChartEditPanelSection']['ChartAndAxisTitles']];return _0xdbac60&&_0x4543f5[_0x391bc3(0x2b9)](a['ChartEditPanelSection'][_0x391bc3(0x43b)]),(0x0,a['chartTypeSupportsCapability'])(_0x44325b,a[_0x391bc3(0x2d7)][_0x391bc3(0x300)])&&!_0x17289b&&!_0x1ea920&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x2e7)]),_0x47a758&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)]['WaterfallSeries']),_0x1ea920&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x2a9)],a['ChartEditPanelSection'][_0x391bc3(0x192)]),_0x3bddb1&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x25d)]),_0xb0d963&&_0x4543f5['push'](a[_0x391bc3(0x226)][_0x391bc3(0x254)]),_0x10047b&&_0x4543f5['push'](a['ChartEditPanelSection'][_0x391bc3(0x438)]),_0x50a69b&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x43a)]),_0x711e45&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x2ea)]),(0x0,a['chartTypeSupportsLineAndAreaStyle'])(_0x44325b)&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)]['LineAndArea']),(0x0,a['chartTypeSupportsCapability'])(_0x44325b,a[_0x391bc3(0x2d7)]['Legend'])&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x346)]),(0x0,a['chartTypeSupportsCapability'])(_0x44325b,a['ChartEditorCapability'][_0x391bc3(0x353)])&&(_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x343)],a['ChartEditPanelSection']['VerticalAxis']),_0x4b9be5&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x20d)]),_0x4543f5[_0x391bc3(0x2b9)](a['ChartEditPanelSection'][_0x391bc3(0x400)])),(0x0,a['chartTypeSupportsCapability'])(_0x44325b,a[_0x391bc3(0x2d7)][_0x391bc3(0x308)])&&_0x4543f5['push'](a[_0x391bc3(0x226)][_0x391bc3(0x308)]),(0x0,o['chartTypeCanUseTrendLine'])(_0x44325b)&&_0x4543f5[_0x391bc3(0x2b9)](a['ChartEditPanelSection'][_0x391bc3(0x3c5)]),_0x1f3afd&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x41e)]),_0xe7d9ea&&_0x4543f5[_0x391bc3(0x2b9)](a['ChartEditPanelSection'][_0x391bc3(0x329)]),_0x366ac5&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)][_0x391bc3(0x3a1)]),_0x372632&&_0x4543f5[_0x391bc3(0x2b9)](a[_0x391bc3(0x226)]['Sunburst']),_0x2c5268&&_0x4543f5[_0x391bc3(0x2b9)](a['ChartEditPanelSection']['Gauge']),_0x16b689&&_0x4543f5[_0x391bc3(0x2b9)](a['ChartEditPanelSection'][_0x391bc3(0x19f)]),_0x4543f5;}function ue(_0x879b9e){const _0xd757fc=_0x139398;var _0x3e6721,_0x2da834,_0x271d98;let _0x3093e5=(0x0,l['useDependency'])(n['LocaleService']),_0x1e3fe8=(0x0,a['useChartEditorChartType'])(),_0x1d9495=(0x0,a['useChartEditorHasRightAxis'])(),[_0x292a9a,_0x16b2e0]=(0x0,u[_0xd757fc(0x2e5)])(null),_0x2ffb20=le(_0x1e3fe8,_0x1d9495),_0x53c77c=(0x0,d['jsx'])(a['ChartTypeSpecificStyleSection'],{}),_0x2e5420={[a[_0xd757fc(0x226)][_0xd757fc(0x41e)]]:_0x3093e5['t']('boards-chart-ui.section.candlestick'),[a[_0xd757fc(0x226)]['ChartAndAxisTitles']]:_0x3093e5['t'](_0xd757fc(0x1b1)),[a[_0xd757fc(0x226)][_0xd757fc(0x1f0)]]:_0x3093e5['t'](_0xd757fc(0x1d9)),[a[_0xd757fc(0x226)]['Chord']]:_0x3093e5['t'](_0xd757fc(0x1ee)),[a[_0xd757fc(0x226)][_0xd757fc(0x438)]]:_0x3093e5['t']('boards-chart-ui.section.funnel'),[a[_0xd757fc(0x226)][_0xd757fc(0x3bb)]]:_0x3093e5['t'](_0xd757fc(0x405)),[a[_0xd757fc(0x226)]['GridlinesAndTicks']]:_0x3093e5['t']('boards-chart-ui.section.gridlinesAndTicks'),[a[_0xd757fc(0x226)][_0xd757fc(0x43a)]]:_0x3093e5['t'](_0xd757fc(0x3e1)),[a[_0xd757fc(0x226)][_0xd757fc(0x329)]]:_0x3093e5['t'](_0xd757fc(0x23d)),[a[_0xd757fc(0x226)][_0xd757fc(0x343)]]:_0x3093e5['t'](_0xd757fc(0x2c3)),[a[_0xd757fc(0x226)][_0xd757fc(0x308)]]:_0x3093e5['t'](_0xd757fc(0x182)),[a[_0xd757fc(0x226)][_0xd757fc(0x346)]]:_0x3093e5['t'](_0xd757fc(0x369)),[a[_0xd757fc(0x226)][_0xd757fc(0x420)]]:_0x3093e5['t'](_0xd757fc(0x16f)),[a[_0xd757fc(0x226)][_0xd757fc(0x2a9)]]:_0x3093e5['t'](_0xd757fc(0x3a6)),[a[_0xd757fc(0x226)][_0xd757fc(0x192)]]:_0x3093e5['t'](_0xd757fc(0x32c)),[a['ChartEditPanelSection'][_0xd757fc(0x25d)]]:_0x3093e5['t'](_0xd757fc(0x3a2)),[a[_0xd757fc(0x226)][_0xd757fc(0x254)]]:_0x3093e5['t']('boards-chart-ui.section.radar'),[a['ChartEditPanelSection'][_0xd757fc(0x2ea)]]:_0x3093e5['t']('boards-chart-ui.section.relation'),[a[_0xd757fc(0x226)][_0xd757fc(0x20d)]]:_0x3093e5['t']('boards-chart-ui.common.rightVerticalAxis'),[a[_0xd757fc(0x226)]['Series']]:_0x3093e5['t']('boards-chart-ui.common.series'),[a['ChartEditPanelSection'][_0xd757fc(0x3b3)]]:_0x3093e5['t'](_0xd757fc(0x3d5)),[a[_0xd757fc(0x226)]['Treemap']]:_0x3093e5['t'](_0xd757fc(0x252)),[a[_0xd757fc(0x226)]['Trendline']]:_0x3093e5['t'](_0xd757fc(0x1e5)),[a[_0xd757fc(0x226)]['VerticalAxis']]:_0x3093e5['t'](_0xd757fc(0x36a)),[a[_0xd757fc(0x226)][_0xd757fc(0x223)]]:_0x3093e5['t'](_0xd757fc(0x2a3)),[a['ChartEditPanelSection'][_0xd757fc(0x43b)]]:_0x3093e5['t']('boards-chart-ui.section.wordCloud')};(0x0,u[_0xd757fc(0x278)])(()=>{const _0x2039f2=_0xd757fc;var _0x1a7729;(_0x1a7729=_0x879b9e['route'])!=null&&_0x1a7729[_0x2039f2(0x1f3)]&&_0x16b2e0(_0x879b9e[_0x2039f2(0x38f)][_0x2039f2(0x1f3)]);},[_0x879b9e[_0xd757fc(0x38f)]]);let _0x15cf2d={[a[_0xd757fc(0x226)][_0xd757fc(0x1f0)]]:(0x0,d[_0xd757fc(0x217)])(a['ChartStyleSection'],{'defaultValues':F['style'],'showBodyFont':!0x0}),[a['ChartEditPanelSection'][_0xd757fc(0x414)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x1be)],{'commitMode':_0xd757fc(0x417),'defaultValues':F[_0xd757fc(0x3e4)],'selectedTitleKey':(_0x3e6721=_0x879b9e[_0xd757fc(0x38f)])==null?void 0x0:_0x3e6721[_0xd757fc(0x2f6)]}),[a['ChartEditPanelSection'][_0xd757fc(0x2e7)]]:(0x0,d[_0xd757fc(0x174)])(a[_0xd757fc(0x402)],{'defaultValues':F[_0xd757fc(0x1c4)],'NumberFormatField':a[_0xd757fc(0x3fe)],'selectedSeriesId':(_0x2da834=_0x879b9e['route'])==null?void 0x0:_0x2da834[_0xd757fc(0x1ca)],'children':[(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x2a2)],{}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x322)],{'individualOnly':!0x0}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x298)],{}),(0x0,d['jsx'])(a[_0xd757fc(0x22c)],{}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x437)],{}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x2d0)],{}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x2bb)],{}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x312)],{})]}),[a[_0xd757fc(0x226)]['WaterfallSeries']]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x352)],{'defaultValues':F['waterfallStyle'],'NumberFormatField':a[_0xd757fc(0x3fe)],'selectedSeriesId':(_0x271d98=_0x879b9e[_0xd757fc(0x38f)])==null?void 0x0:_0x271d98[_0xd757fc(0x1ca)],'showBucketName':()=>!0x0}),[a['ChartEditPanelSection'][_0xd757fc(0x2a9)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x1a3)],{'defaultValues':F[_0xd757fc(0x232)],'NumberFormatField':a[_0xd757fc(0x3fe)],'showDataPointEditor':!0x0,'target':_0xd757fc(0x194)}),[a['ChartEditPanelSection'][_0xd757fc(0x192)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x1a3)],{'defaultValues':F[_0xd757fc(0x232)],'NumberFormatField':a[_0xd757fc(0x3fe)],'showDataPointEditor':!0x0,'target':_0xd757fc(0x2ed)}),[a[_0xd757fc(0x226)][_0xd757fc(0x25d)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x1f9)],{'defaultValues':F[_0xd757fc(0x1c7)],'NumberFormatField':a[_0xd757fc(0x3fe)]}),[a[_0xd757fc(0x226)]['WordCloud']]:(0x0,d[_0xd757fc(0x174)])(a['ChartWordCloudRoot'],{'children':[(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x2cc)],{'defaultValues':F['wordCloud']}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x35a)],{}),(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x3cb)],{'defaultValues':F['wordCloud']})]}),[a[_0xd757fc(0x226)]['Radar']]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x288)],{'defaultValues':F[_0xd757fc(0x38c)]}),[a[_0xd757fc(0x226)][_0xd757fc(0x438)]]:(0x0,d['jsx'])(a['ChartFunnelStyleSection'],{'defaultValues':F[_0xd757fc(0x3cc)],'gapControl':_0xd757fc(0x195)}),[a[_0xd757fc(0x226)]['Heatmap']]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x241)],{'defaultValues':F[_0xd757fc(0x2c8)]}),[a['ChartEditPanelSection'][_0xd757fc(0x2ea)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x1a6)],{'defaultValues':F[_0xd757fc(0x2d1)]}),[a[_0xd757fc(0x226)][_0xd757fc(0x420)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x31d)],{'defaultValues':F[_0xd757fc(0x1c9)],'lineStyleControl':_0xd757fc(0x430)}),[a['ChartEditPanelSection']['Legend']]:(0x0,d['jsx'])(a[_0xd757fc(0x334)],{'defaultValues':F[_0xd757fc(0x19c)]}),[a[_0xd757fc(0x226)][_0xd757fc(0x343)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x42a)],{'axis':'x','defaultValues':F[_0xd757fc(0x39f)],'NumberFormatField':a[_0xd757fc(0x3fe)]}),[a['ChartEditPanelSection'][_0xd757fc(0x3ce)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x42a)],{'axis':'y','defaultValues':F['axis'],'NumberFormatField':a[_0xd757fc(0x3fe)]}),[a[_0xd757fc(0x226)][_0xd757fc(0x20d)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x42a)],{'axis':_0xd757fc(0x2ff),'defaultValues':F['axis'],'NumberFormatField':a[_0xd757fc(0x3fe)]}),[a[_0xd757fc(0x226)][_0xd757fc(0x400)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x23b)],{'defaultValues':F[_0xd757fc(0x39f)]}),[a[_0xd757fc(0x226)][_0xd757fc(0x308)]]:(0x0,d[_0xd757fc(0x217)])(a[_0xd757fc(0x351)],{'defaultValues':F[_0xd757fc(0x203)]}),[a[_0xd757fc(0x226)]['Trendline']]:(0x0,d['jsx'])(a[_0xd757fc(0x248)],{'defaultValues':F['trendline']}),[a[_0xd757fc(0x226)][_0xd757fc(0x41e)]]:_0x53c77c,[a[_0xd757fc(0x226)][_0xd757fc(0x329)]]:_0x53c77c,[a[_0xd757fc(0x226)][_0xd757fc(0x3a1)]]:_0x53c77c,[a[_0xd757fc(0x226)][_0xd757fc(0x3b3)]]:_0x53c77c,[a[_0xd757fc(0x226)][_0xd757fc(0x3bb)]]:_0x53c77c,[a[_0xd757fc(0x226)]['Chord']]:_0x53c77c};return(0x0,d['jsx'])(a[_0xd757fc(0x26c)],{'value':_0x292a9a,'onChange':_0x16b2e0,'children':_0x2ffb20[_0xd757fc(0x281)](_0x700d3d=>(0x0,d['jsx'])(ce,{'id':_0x700d3d,'label':_0x2e5420[_0x700d3d],'children':_0x15cf2d[_0x700d3d]},_0x700d3d))});}function de({unitId:_0x39050a,subUnitId:_0x5576c6,elementId:_0x2c7d53,chartId:_0x4bc0db}){const _0x1d80f8=_0x139398;let _0x2c7ab9=(0x0,l[_0x1d80f8(0x2f2)])(i[_0x1d80f8(0x2d4)]),_0x5074a4=(0x0,l['useDependency'])(D),_0x5bea24=(0x0,l[_0x1d80f8(0x2f2)])(n['LocaleService']),_0x4621d8=(0x0,l[_0x1d80f8(0x2f2)])(n[_0x1d80f8(0x40a)]),_0xea408f=(0x0,l[_0x1d80f8(0x2f2)])(n['Injector']),_0x560783=(0x0,l[_0x1d80f8(0x2f2)])(n[_0x1d80f8(0x393)]),_0x3ae607=(0x0,l[_0x1d80f8(0x2f2)])(w),_0x6fded3=(0x0,l['useObservable'])(_0x2c7ab9[_0x1d80f8(0x2c6)],_0x2c7ab9['activeRuntimeModel']),_0x5e14a9=(0x0,l[_0x1d80f8(0x275)])(_0x3ae607[_0x1d80f8(0x413)],_0x3ae607[_0x1d80f8(0x379)]()),[_0x5cc233,_0x12fd2e]=(0x0,u[_0x1d80f8(0x2e5)])(a[_0x1d80f8(0x30e)][_0x1d80f8(0x1a5)]),_0x1801e9=(_0x5e14a9==null?void 0x0:_0x5e14a9['unitId'])===_0x39050a&&_0x5e14a9['chartId']===_0x4bc0db&&_0x5e14a9[_0x1d80f8(0x207)]===_0x2c7d53?_0x5e14a9[_0x1d80f8(0x38f)]:void 0x0;(0x0,u[_0x1d80f8(0x278)])(()=>{const _0x2b34a2=_0x1d80f8;_0x2c7ab9[_0x2b34a2(0x172)](_0x39050a,_0x4bc0db);},[_0x4bc0db,_0x2c7ab9,_0x39050a]),(0x0,u[_0x1d80f8(0x278)])(()=>{const _0x18c729=_0x1d80f8;_0x1801e9!=null&&_0x1801e9[_0x18c729(0x205)]&&_0x12fd2e(_0x1801e9['tab']);},[_0x1801e9]);let _0x15ea10=(_0x6fded3==null?void 0x0:_0x6fded3[_0x1d80f8(0x229)])===_0x39050a&&_0x6fded3[_0x1d80f8(0x22b)]===_0x4bc0db,_0x93e10e=(0x0,u[_0x1d80f8(0x240)])(()=>{const _0x36ef99=_0x1d80f8;if(!_0x15ea10)return null;let _0x1d239c=_0x560783[_0x36ef99(0x170)](_0x39050a,n[_0x36ef99(0x2e3)][_0x36ef99(0x18e)]);return _0x1d239c?new a['ChartHostAdapter'](_0x6fded3[_0x36ef99(0x41f)],new i['BoardChartBuilderAdapter']({'unitId':_0x39050a,'pageId':_0x5576c6,'chartId':_0x4bc0db,'elementId':_0x2c7d53,'boardModel':_0x1d239c,'injector':_0xea408f})):null;},[_0x6fded3,_0x4bc0db,_0x2c7d53,_0xea408f,_0x15ea10,_0x5576c6,_0x39050a,_0x560783]),_0x36a2b7=(0x0,u[_0x1d80f8(0x240)])(()=>(0x0,a[_0x1d80f8(0x3d9)])(a[_0x1d80f8(0x381)]['map'](_0xa3240e=>({..._0xa3240e,'label':_0x5bea24['t'](_0x1d80f8(0x167)+_0xa3240e['labelId'])}))),[_0x5bea24]);return!_0x15ea10||!_0x93e10e?null:(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x380)],{'chartUIService':_0x5074a4,'hostAdapter':_0x93e10e,'children':(0x0,d[_0x1d80f8(0x174)])(_0x1d80f8(0x3bd),{'className':_0x1d80f8(0x3a8),'children':[(0x0,d['jsx'])(a['ChartEditPanelTabs'],{'ariaLabel':_0x5bea24['t'](_0x1d80f8(0x28f)),'className':_0x1d80f8(0x1d1),'items':[{'label':_0x5bea24['t']('boards-chart-ui.common.setup'),'panelId':fe,'value':a[_0x1d80f8(0x30e)][_0x1d80f8(0x1a5)]},{'label':_0x5bea24['t'](_0x1d80f8(0x37d)),'panelId':pe,'value':a[_0x1d80f8(0x30e)][_0x1d80f8(0x34e)]}],'value':_0x5cc233,'onChange':_0x12fd2e}),_0x5cc233===a['ChartEditPanelTab'][_0x1d80f8(0x1a5)]?(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x277)],{'id':fe,'label':_0x5bea24['t'](_0x1d80f8(0x30d)),'children':(0x0,d[_0x1d80f8(0x174)])(_0x1d80f8(0x3bd),{'className':_0x1d80f8(0x333),'children':[(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x363)],{'options':_0x36a2b7}),(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x302)],{}),(0x0,d['jsx'])(a[_0x1d80f8(0x3ad)],{}),(0x0,d[_0x1d80f8(0x217)])(se,{}),(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x344)],{}),(0x0,d[_0x1d80f8(0x217)])(oe,{'onEditData':()=>_0x4621d8[_0x1d80f8(0x336)](ie['id'],{'unitId':_0x39050a,'chartId':_0x4bc0db})}),(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x1f2)],{'orientationControl':(0x0,d[_0x1d80f8(0x217)])(s[_0x1d80f8(0x378)],{'size':_0x1d80f8(0x31f),'onClick':()=>_0x5074a4[_0x1d80f8(0x3ef)]({'patch':{'context':{'orient':_0x6fded3[_0x1d80f8(0x31b)]['isRowDirection']?'column':_0x1d80f8(0x415)}}}),'children':_0x5bea24['t'](_0x1d80f8(0x36e))})}),(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x2af)],{}),(0x0,d[_0x1d80f8(0x217)])(a[_0x1d80f8(0x243)],{'defaultValues':F[_0x1d80f8(0x2ec)]})]})}):(0x0,d['jsx'])(a['ChartEditPanel'],{'id':pe,'label':_0x5bea24['t']('boards-chart-ui.common.customize'),'children':(0x0,d['jsx'])(ue,{'route':_0x1801e9})})]})});}const fe=_0x139398(0x27a),pe=_0x139398(0x3f5),me=o[_0x139398(0x416)],I=o[_0x139398(0x220)];function L(_0x698b80){const _0x4b50ad=_0x139398;var _0x3555e4,_0x2d6281;let _0x51d8de=_0x698b80[_0x4b50ad(0x202)]??{},_0x560fd8=_0x51d8de[_0x4b50ad(0x2a7)]===0x0?0x0:z(_0x51d8de['borderWidth'],z((_0x3555e4=_0x698b80[_0x4b50ad(0x27b)])==null||(_0x3555e4=_0x3555e4['stroke'])==null?void 0x0:_0x3555e4[_0x4b50ad(0x18d)],0x1));return{'fill':_0x698b80[_0x4b50ad(0x21f)]??_0x51d8de[_0x4b50ad(0x1fa)]??o[_0x4b50ad(0x3af)][_0x4b50ad(0x1fa)],'stroke':_0x51d8de[_0x4b50ad(0x1cf)]??((_0x2d6281=_0x698b80['chartElement'])==null||(_0x2d6281=_0x2d6281[_0x4b50ad(0x2fd)])==null?void 0x0:_0x2d6281[_0x4b50ad(0x1bc)])??_0x698b80[_0x4b50ad(0x397)]??(_0x698b80[_0x4b50ad(0x2ef)]?_0x4b50ad(0x427):me),'strokeWidth':_0x560fd8,'radius':I};}function R(_0x33ffcc,_0x29bd25){const _0x201e33=_0x139398;let _0x3df972=Math[_0x201e33(0x40f)](0x0,_0x29bd25[_0x201e33(0x20a)]);return{'left':_0x3df972,'top':_0x3df972,'width':Math[_0x201e33(0x40f)](0x1,_0x33ffcc[_0x201e33(0x18d)]-_0x3df972*0x2),'height':Math[_0x201e33(0x40f)](0x1,_0x33ffcc['height']-_0x3df972*0x2)};}function he(_0x362fff,_0x2bc2fd){const _0x236169=_0x139398;let _0x95c7a9=-0x1/0x2;return{'left':_0x95c7a9,'top':_0x95c7a9,'width':Math[_0x236169(0x40f)](0x1,_0x362fff[_0x236169(0x18d)]),'height':Math['max'](0x1,_0x362fff[_0x236169(0x17d)]),'radius':Math[_0x236169(0x40f)](0x0,_0x2bc2fd[_0x236169(0x35f)]-_0x2bc2fd[_0x236169(0x20a)]/0x2)};}function z(_0x4cdce8,_0x52e762){const _0x3a1fa8=_0x139398;return typeof _0x4cdce8=='number'&&Number[_0x3a1fa8(0x29d)](_0x4cdce8)&&_0x4cdce8>0x0?_0x4cdce8:_0x52e762;}function ge(_0x3326a4){const _0x1b9be0=_0x139398;var _0x1f7fc9;let _0x24f6a3=(_0x1f7fc9=_0x3326a4[_0x1b9be0(0x303)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x1f7fc9[0x1];if(_0x24f6a3){let _0x1d368d=_0x24f6a3[_0x1b9be0(0x1b9)]===0x3?_0x24f6a3[_0x1b9be0(0x1b0)]('')[_0x1b9be0(0x281)](_0xf24782=>''+_0xf24782+_0xf24782)[_0x1b9be0(0x367)](''):_0x24f6a3;return _0x1b9be0(0x3c7)+Number[_0x1b9be0(0x2cd)](_0x1d368d[_0x1b9be0(0x20f)](0x0,0x2),0x10)+',\x20'+Number[_0x1b9be0(0x2cd)](_0x1d368d[_0x1b9be0(0x20f)](0x2,0x4),0x10)+',\x20'+Number[_0x1b9be0(0x2cd)](_0x1d368d['slice'](0x4,0x6),0x10)+')';}let _0x5e249e=document[_0x1b9be0(0x2a8)](_0x1b9be0(0x396));return _0x5e249e[_0x1b9be0(0x26b)][_0x1b9be0(0x1bc)]=_0x3326a4,_0x5e249e[_0x1b9be0(0x26b)]['color']||_0x3326a4;}let B=class extends n[_0x139398(0x33f)]{constructor(_0x3300a1,_0x4e6111,_0x59af25){const _0x392962=_0x139398;super(),this[_0x392962(0x42b)]=_0x3300a1,this[_0x392962(0x326)]=_0x4e6111,this[_0x392962(0x2a0)]=_0x59af25,y(this,'_chartInstanceMap',new Map()),y(this,_0x392962(0x332),new Map()),y(this,_0x392962(0x3db),new Map()),y(this,'_chartEventSubscriptions',new Map());}['createChartInstance'](_0x5315be){const _0x1a3d67=_0x139398;return _0x5315be?this[_0x1a3d67(0x2a0)][_0x1a3d67(0x2d3)](_0x5315be,this[_0x1a3d67(0x1fe)]()):this['_renderModelManager']['createChartInstance']();}[_0x139398(0x2f4)](_0x524841,_0x3b58fc,_0x2d96e0){const _0x3810dc=_0x139398;let _0x3951be=this[_0x3810dc(0x386)](_0x524841,_0x3b58fc),_0x278f92=this['_chartInstanceMap'][_0x3810dc(0x30a)](_0x3951be);return _0x278f92&&_0x278f92!==_0x2d96e0&&(this[_0x3810dc(0x425)](_0x3951be),_0x278f92[_0x3810dc(0x2fa)]()),this['_chartInstanceMap'][_0x3810dc(0x196)](_0x3951be,_0x2d96e0),_0x2d96e0['setElementEditMode'](this[_0x3810dc(0x332)][_0x3810dc(0x30a)](_0x3951be)===!0x0),this[_0x3810dc(0x411)](_0x3951be,_0x2d96e0),{'dispose':()=>{const _0x2f537e=_0x3810dc;this[_0x2f537e(0x216)]['get'](_0x3951be)===_0x2d96e0&&(this[_0x2f537e(0x425)](_0x3951be),this[_0x2f537e(0x216)][_0x2f537e(0x3fa)](_0x3951be));}};}[_0x139398(0x2bd)](_0x5122b2,_0x2cd332,_0x10bd69){const _0x36aa85=_0x139398;var _0x487d84;let _0xf5d7ac=this[_0x36aa85(0x386)](_0x5122b2,_0x2cd332);_0x10bd69?this[_0x36aa85(0x332)][_0x36aa85(0x196)](_0xf5d7ac,!0x0):this['_chartElementEditMode'][_0x36aa85(0x3fa)](_0xf5d7ac),(_0x487d84=this[_0x36aa85(0x216)][_0x36aa85(0x30a)](_0xf5d7ac))==null||_0x487d84[_0x36aa85(0x2bd)](_0x10bd69);}['isElementEditModeActive'](_0x326920,_0x266f6e){const _0x2d9ca4=_0x139398;return this[_0x2d9ca4(0x332)][_0x2d9ca4(0x30a)](this[_0x2d9ca4(0x386)](_0x326920,_0x266f6e))===!0x0;}['on'](_0x4266cf,_0x1d69f5,_0x2159aa,_0x1ac1c3){const _0x141a77=_0x139398;let _0x69240f=this[_0x141a77(0x386)](_0x4266cf,_0x1d69f5),_0x12c75b=this[_0x141a77(0x3db)]['get'](_0x69240f);_0x12c75b||(_0x12c75b=new Map(),this[_0x141a77(0x3db)][_0x141a77(0x196)](_0x69240f,_0x12c75b));let _0xb280fb=_0x12c75b[_0x141a77(0x30a)](_0x2159aa);_0xb280fb||(_0xb280fb=new Set(),_0x12c75b[_0x141a77(0x196)](_0x2159aa,_0xb280fb)),_0xb280fb[_0x141a77(0x273)](_0x1ac1c3);let _0x32b63d=this[_0x141a77(0x216)][_0x141a77(0x30a)](_0x69240f);return _0x32b63d&&this[_0x141a77(0x41a)](_0x69240f,_0x32b63d,_0x2159aa,_0x1ac1c3),{'dispose':()=>{const _0x2fc92e=_0x141a77;let _0x5e984c=this[_0x2fc92e(0x3db)][_0x2fc92e(0x30a)](_0x69240f),_0x46b820=_0x5e984c==null?void 0x0:_0x5e984c[_0x2fc92e(0x30a)](_0x2159aa);_0x46b820==null||_0x46b820[_0x2fc92e(0x3fa)](_0x1ac1c3),(_0x46b820==null?void 0x0:_0x46b820[_0x2fc92e(0x331)])===0x0&&(_0x5e984c==null||_0x5e984c[_0x2fc92e(0x3fa)](_0x2159aa)),(_0x5e984c==null?void 0x0:_0x5e984c[_0x2fc92e(0x331)])===0x0&&this[_0x2fc92e(0x3db)]['delete'](_0x69240f),this[_0x2fc92e(0x274)](_0x69240f,_0x2159aa,_0x1ac1c3);}};}[_0x139398(0x287)](_0x2a35b8){const _0x4399c0=_0x139398;let _0x2867b=_0x2a35b8[_0x4399c0(0x41f)][_0x4399c0(0x2c1)];if(!_0x2867b)throw Error('Board\x20chart\x20'+_0x2a35b8['chartId']+_0x4399c0(0x305));let _0x2280a4=this[_0x4399c0(0x42b)][_0x4399c0(0x245)]();return{'chartConfig':_0x2867b,'chartStyle':(0x0,o['resolveChartRuntimeStyle'])({..._0x2a35b8[_0x4399c0(0x41f)][_0x4399c0(0x26b)],'runtime':_0x2a35b8[_0x4399c0(0x41f)][_0x4399c0(0x3f0)](_0x2280a4),'direction':_0x2280a4},_0x2867b['type'])};}['createRenderSpec'](_0x6d2b2f,_0xd90dc0,_0x210bb2){const _0x586ef1=_0x139398;let {chartConfig:_0x1a340e,chartStyle:_0x29242e}=this[_0x586ef1(0x287)](_0x6d2b2f),_0x5c2e0a=this[_0x586ef1(0x2a0)][_0x586ef1(0x42d)]();return{'spec':_0x5c2e0a[_0x586ef1(0x439)](_0x5c2e0a[_0x586ef1(0x350)](_0x1a340e,_0x29242e),{'chartConfig':_0x1a340e,'chartStyle':_0x29242e,'chartInstance':_0x210bb2},_0xd90dc0),'chartConfig':_0x1a340e,'chartStyle':_0x29242e,'hostStyle':this[_0x586ef1(0x2b3)](_0x29242e)};}[_0x139398(0x2b3)](_0x3243d5){const _0x21e4b9=_0x139398;return(0x0,o['resolveDefaultChartHostFrameStyle'])({'style':_0x3243d5,'getRenderColor':_0x3ab0c5=>this['_chartThemeService'][_0x21e4b9(0x431)](_0x3ab0c5)});}['applyHostStyle'](_0x625612,_0x32b567){const _0x21d6f1=_0x139398;var _0xb38e03;_0x625612[_0x21d6f1(0x26b)][_0x21d6f1(0x354)]=(_0xb38e03=_0x32b567[_0x21d6f1(0x354)])!=null&&_0xb38e03[_0x21d6f1(0x1bc)]&&_0x32b567[_0x21d6f1(0x354)][_0x21d6f1(0x18d)]?_0x32b567[_0x21d6f1(0x354)][_0x21d6f1(0x18d)]+'px\x20solid\x20'+ge(_0x32b567['border'][_0x21d6f1(0x1bc)]):'',_0x625612[_0x21d6f1(0x26b)][_0x21d6f1(0x1fa)]=ge(_0x32b567[_0x21d6f1(0x404)]??_0x21d6f1(0x3b2)),_0x625612['style'][_0x21d6f1(0x435)]=_0x32b567[_0x21d6f1(0x35f)]?_0x32b567[_0x21d6f1(0x35f)]+'px':I+'px',_0x625612['style'][_0x21d6f1(0x3b8)]=_0x21d6f1(0x269),_0x625612[_0x21d6f1(0x26b)]['boxSizing']='border-box';}['_createChartRenderInstanceContext'](){const _0x4749b4=_0x139398;return{'resolveHostStyle':({style:_0x45cdd9})=>({'fill':this[_0x4749b4(0x2b3)](_0x45cdd9)['fill']}),'resolveRenderBackgroundColor':({hostStyle:_0x5a4c7b})=>_0x5a4c7b['fill'],'prepareSpec':({mode:_0x2613af,spec:_0x442c0b})=>_0x2613af===_0x4749b4(0x2fb)?{..._0x442c0b,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x442c0b};}['_bindChartEventHandlers'](_0x4a3496,_0x154ff2){const _0x3fd697=_0x139398;let _0xb9bfbc=this[_0x3fd697(0x3db)][_0x3fd697(0x30a)](_0x4a3496);_0xb9bfbc&&_0xb9bfbc[_0x3fd697(0x36f)]((_0x5b40a5,_0x2eb831)=>{const _0x3d06f9=_0x3fd697;_0x5b40a5['forEach'](_0x4170b4=>this[_0x3d06f9(0x41a)](_0x4a3496,_0x154ff2,_0x2eb831,_0x4170b4));});}[_0x139398(0x41a)](_0x197c2b,_0x174ff2,_0x296a83,_0xc2aef){const _0xf11896=_0x139398;let _0x25f5e1=this[_0xf11896(0x34b)][_0xf11896(0x30a)](_0x197c2b);_0x25f5e1||(_0x25f5e1=new Map(),this[_0xf11896(0x34b)][_0xf11896(0x196)](_0x197c2b,_0x25f5e1));let _0x255f56=_0x25f5e1[_0xf11896(0x30a)](_0x296a83);_0x255f56||(_0x255f56=new Map(),_0x25f5e1['set'](_0x296a83,_0x255f56)),!_0x255f56[_0xf11896(0x228)](_0xc2aef)&&_0x255f56[_0xf11896(0x196)](_0xc2aef,_0x174ff2['on'](_0x296a83,_0xc2aef));}[_0x139398(0x274)](_0x360d66,_0x2b1d14,_0x3ab3d1){const _0x5e32d2=_0x139398;var _0x2cba79,_0x1f0d1b;let _0x43008e=(_0x2cba79=this[_0x5e32d2(0x34b)]['get'](_0x360d66))==null?void 0x0:_0x2cba79['get'](_0x2b1d14);_0x43008e==null||(_0x1f0d1b=_0x43008e[_0x5e32d2(0x30a)](_0x3ab3d1))==null||_0x1f0d1b[_0x5e32d2(0x2fa)](),_0x43008e==null||_0x43008e['delete'](_0x3ab3d1);}[_0x139398(0x425)](_0x5436b7){const _0x57f9a4=_0x139398;let _0x3eb496=this[_0x57f9a4(0x34b)]['get'](_0x5436b7);_0x3eb496==null||_0x3eb496['forEach'](_0x4bd874=>{const _0x25087f=_0x57f9a4;_0x4bd874['forEach'](_0x32afba=>_0x32afba[_0x25087f(0x2fa)]()),_0x4bd874[_0x25087f(0x1b3)]();}),this[_0x57f9a4(0x34b)][_0x57f9a4(0x3fa)](_0x5436b7);}['_getChartRuntimeKey'](_0x100528,_0x3fb9f9){return _0x100528+'::'+_0x3fb9f9;}[_0x139398(0x2fa)](){const _0x12f680=_0x139398;this['_chartInstanceMap'][_0x12f680(0x36f)](_0xc089cc=>_0xc089cc['dispose']()),this[_0x12f680(0x216)][_0x12f680(0x1b3)](),this[_0x12f680(0x332)][_0x12f680(0x1b3)](),this[_0x12f680(0x3db)][_0x12f680(0x1b3)](),Array[_0x12f680(0x201)](this[_0x12f680(0x34b)][_0x12f680(0x259)]())['forEach'](_0x517845=>this['_disposeChartEventSubscriptions'](_0x517845)),super['dispose']();}};B=x([b(0x0,(0x0,n[_0x139398(0x237)])(n[_0x139398(0x1c0)])),b(0x1,(0x0,n[_0x139398(0x237)])(o[_0x139398(0x2d5)])),b(0x2,o[_0x139398(0x1d7)])],B);let V=class extends n[_0x139398(0x33f)]{constructor(_0x4ebb92,_0x1343cc,_0x3da891,_0x4a69cb,_0x3dc2f7,_0x23a372,_0x13073e){const _0x1f5703=_0x139398;super(),this[_0x1f5703(0x357)]=_0x4ebb92,this[_0x1f5703(0x30f)]=_0x1343cc,this[_0x1f5703(0x294)]=_0x3da891,this[_0x1f5703(0x1d3)]=_0x4a69cb,this[_0x1f5703(0x16c)]=_0x3dc2f7,this['_chartUIService']=_0x23a372,this[_0x1f5703(0x42b)]=_0x13073e,y(this,_0x1f5703(0x38d),null),y(this,_0x1f5703(0x37c),null),y(this,_0x1f5703(0x189),null),this[_0x1f5703(0x38e)](this[_0x1f5703(0x30f)][_0x1f5703(0x413)][_0x1f5703(0x304)](_0x26544d=>this['_syncPanel'](_0x26544d)));}[_0x139398(0x2fa)](){const _0x25dc95=_0x139398;this[_0x25dc95(0x40e)](),super['dispose']();}[_0x139398(0x2df)](_0x1ef875){const _0x1e43a6=_0x139398;var _0x3a3b46;if(!_0x1ef875||_0x1ef875[_0x1e43a6(0x229)]!==this[_0x1e43a6(0x357)]['unitId']){this[_0x1e43a6(0x40e)]();return;}let _0x2a6a0c=this[_0x1e43a6(0x1d3)]['ensureChartModel'](_0x1ef875[_0x1e43a6(0x229)],_0x1ef875[_0x1e43a6(0x22b)]);if(!_0x2a6a0c){this['_closeActivePanel']();return;}let _0x4d8fdd=[P,_0x1ef875[_0x1e43a6(0x229)],_0x1ef875['subUnitId'],_0x1ef875[_0x1e43a6(0x207)]][_0x1e43a6(0x367)](':');if(this[_0x1e43a6(0x38d)]===_0x4d8fdd){this[_0x1e43a6(0x1d3)][_0x1e43a6(0x390)](_0x2a6a0c),this['_setActiveEditOverlay'](_0x1ef875[_0x1e43a6(0x229)],_0x1ef875[_0x1e43a6(0x22b)]);return;}(_0x3a3b46=this[_0x1e43a6(0x37c)])==null||_0x3a3b46[_0x1e43a6(0x2fa)](),this[_0x1e43a6(0x1d3)][_0x1e43a6(0x390)](_0x2a6a0c),this[_0x1e43a6(0x31a)](_0x1ef875[_0x1e43a6(0x229)],_0x1ef875[_0x1e43a6(0x22b)]),this[_0x1e43a6(0x38d)]=_0x4d8fdd,this['_activePanelDisposable']=this['_sidePanelService'][_0x1e43a6(0x22a)]({'id':P,'header':{'title':this[_0x1e43a6(0x42b)]['t'](_0x1e43a6(0x28f))},'width':0x184,'children':{'label':P,'unitId':_0x1ef875[_0x1e43a6(0x229)],'subUnitId':_0x1ef875[_0x1e43a6(0x2fe)],'elementId':_0x1ef875[_0x1e43a6(0x207)],'chartId':_0x1ef875[_0x1e43a6(0x22b)]},'onClose':_0x463233=>{const _0x3f8d1c=_0x1e43a6;this[_0x3f8d1c(0x38d)]===_0x4d8fdd&&(this[_0x3f8d1c(0x38d)]=null,this['_activePanelDisposable']=null,this[_0x3f8d1c(0x289)](),this[_0x3f8d1c(0x1d3)]['setActiveChartRuntime'](null),_0x463233===_0x3f8d1c(0x293)&&this['_editSessionService'][_0x3f8d1c(0x24f)](_0x3f8d1c(0x293)));}});}[_0x139398(0x40e)](){const _0x52bd54=_0x139398;var _0x3ee61a;if(!this[_0x52bd54(0x38d)]){this['_clearActiveEditOverlay']();return;}(_0x3ee61a=this[_0x52bd54(0x37c)])==null||_0x3ee61a[_0x52bd54(0x2fa)](),this[_0x52bd54(0x37c)]=null,this[_0x52bd54(0x38d)]=null,this[_0x52bd54(0x289)](),this['_modelService'][_0x52bd54(0x390)](null);}[_0x139398(0x31a)](_0x5da529,_0x1c6b7f){const _0x2cb8a7=_0x139398;let _0x444a5e=this['_activeEditOverlay'];((_0x444a5e==null?void 0x0:_0x444a5e[_0x2cb8a7(0x229)])!==_0x5da529||_0x444a5e[_0x2cb8a7(0x22b)]!==_0x1c6b7f)&&(this['_clearActiveEditOverlay'](),this[_0x2cb8a7(0x189)]={'unitId':_0x5da529,'chartId':_0x1c6b7f},this[_0x2cb8a7(0x16c)]['setElementEditMode'](_0x5da529,_0x1c6b7f,!0x0));}[_0x139398(0x289)](){const _0x393442=_0x139398;let _0x1db6cd=this[_0x393442(0x189)];_0x1db6cd&&(this[_0x393442(0x189)]=null,this[_0x393442(0x16c)]['setElementEditMode'](_0x1db6cd[_0x393442(0x229)],_0x1db6cd['chartId'],!0x1));}};V=x([b(0x1,(0x0,n[_0x139398(0x237)])(w)),b(0x2,(0x0,n[_0x139398(0x237)])(t[_0x139398(0x2e9)])),b(0x3,(0x0,n[_0x139398(0x237)])(i[_0x139398(0x2d4)])),b(0x4,(0x0,n[_0x139398(0x237)])(B)),b(0x5,D),b(0x6,(0x0,n[_0x139398(0x237)])(n[_0x139398(0x1c0)]))],V);var _e=class extends n[_0x139398(0x33f)]{constructor(_0x2e9a8d,_0x836af4,_0x3149b6){const _0x442365=_0x139398;super(),this[_0x442365(0x22b)]=_0x2e9a8d,this['_host']=_0x836af4,this[_0x442365(0x318)]=_0x3149b6,y(this,_0x442365(0x29f),o['ChartHostRenderMode'][_0x442365(0x42f)]);}['getRect'](){const _0x583477=_0x139398;let _0x1c5770=this[_0x583477(0x3f9)][_0x583477(0x38a)]();return{'width':Math[_0x583477(0x40f)](0x1,_0x1c5770[_0x583477(0x18d)]),'height':Math[_0x583477(0x40f)](0x1,_0x1c5770[_0x583477(0x17d)])};}[_0x139398(0x2ce)](_0x19b8ce){const _0xfd01dc=_0x139398;this[_0xfd01dc(0x318)](this['_host'],_0x19b8ce);}async[_0x139398(0x3e2)](){return this['_host'];}[_0x139398(0x328)](){return!0x0;}[_0x139398(0x3df)](){}[_0x139398(0x272)](){}[_0x139398(0x3f7)](){}};function ve({chartElement:_0x96feb9,chartId:_0xb4cd29,unitId:_0x139a86}){const _0x33bec6=_0x139398;let _0x4718b5=(0x0,u[_0x33bec6(0x368)])(null),_0x45df15=(0x0,l[_0x33bec6(0x2f2)])(i[_0x33bec6(0x2d4)]),_0x2318e9=(0x0,l[_0x33bec6(0x2f2)])(B);return(0x0,u[_0x33bec6(0x278)])(()=>{const _0x2c4659=_0x33bec6;let _0x4805c2=_0x4718b5[_0x2c4659(0x321)];if(!_0x4805c2)return;let _0x48b121=_0x45df15[_0x2c4659(0x40c)](_0x139a86,_0xb4cd29);if(!_0x48b121)return;_0x45df15[_0x2c4659(0x390)](_0x48b121);let _0x21bdec=new _e(_0xb4cd29,_0x4805c2,(_0x587556,_0x8a6255)=>_0x2318e9['applyHostStyle'](_0x587556,{'fill':_0x8a6255[_0x2c4659(0x404)]??_0x2c4659(0x3b2)})),_0x494db8=_0x2318e9[_0x2c4659(0x2d3)](o['ChartHostRenderMode'][_0x2c4659(0x42f)]),_0x1b0bcc=_0x2318e9[_0x2c4659(0x2f4)](_0x139a86,_0xb4cd29,_0x494db8);_0x494db8[_0x2c4659(0x213)](_0x21bdec);let _0x5e6a7b=(0x0,r['combineLatest'])([_0x48b121[_0x2c4659(0x41f)][_0x2c4659(0x19a)],_0x48b121['model'][_0x2c4659(0x2c7)]])['pipe']((0x0,r['filter'])(([_0x198223])=>_0x198223!=null))[_0x2c4659(0x304)](()=>{const _0x808199=_0x2c4659;let {chartConfig:_0x3cd967,chartStyle:_0x452287}=_0x2318e9[_0x808199(0x287)](_0x48b121);ye(_0x4805c2,_0x96feb9,_0x452287,_0x2318e9),_0x494db8[_0x808199(0x284)]({'chartId':_0xb4cd29,'config':_0x3cd967,'style':_0x452287});});return()=>{const _0x3d9f5e=_0x2c4659;var _0x46cc9;_0x5e6a7b[_0x3d9f5e(0x255)](),_0x1b0bcc[_0x3d9f5e(0x2fa)](),_0x494db8['dispose'](),_0x21bdec[_0x3d9f5e(0x2fa)](),((_0x46cc9=_0x45df15[_0x3d9f5e(0x41c)])==null?void 0x0:_0x46cc9[_0x3d9f5e(0x229)])===_0x139a86&&_0x45df15[_0x3d9f5e(0x41c)][_0x3d9f5e(0x22b)]===_0xb4cd29&&_0x45df15[_0x3d9f5e(0x390)](null);};},[_0x96feb9,_0xb4cd29,_0x45df15,_0x2318e9,_0x139a86]),(0x0,d[_0x33bec6(0x217)])(_0x33bec6(0x3bd),{'className':_0x33bec6(0x37e),'data-board-chart-dom-renderer':_0xb4cd29,'children':(0x0,d[_0x33bec6(0x217)])('div',{'ref':_0x4718b5,'data-board-chart-dom-content-host':_0xb4cd29})});}function ye(_0x28f202,_0x54b250,_0x4cab78,_0x390a83){const _0x12ff31=_0x139398;let _0x19d3eb=_0x390a83[_0x12ff31(0x2b3)](_0x4cab78)[_0x12ff31(0x404)],_0x33453b=L({'chartStyle':_0x4cab78,'chartElement':_0x54b250,'hostFill':_0x19d3eb}),_0xd06a30=Math[_0x12ff31(0x40f)](0x0,_0x33453b[_0x12ff31(0x20a)]);_0x28f202['style'][_0x12ff31(0x1df)]=_0x12ff31(0x1d8),_0x28f202[_0x12ff31(0x26b)][_0x12ff31(0x285)]=_0xd06a30+'px',_0x28f202[_0x12ff31(0x26b)][_0x12ff31(0x29e)]=_0xd06a30+'px',_0x28f202[_0x12ff31(0x26b)][_0x12ff31(0x33a)]=_0xd06a30+'px',_0x28f202[_0x12ff31(0x26b)][_0x12ff31(0x311)]=_0xd06a30+'px',_0x28f202['style'][_0x12ff31(0x1fa)]=_0x33453b['fill'],_0x28f202['style'][_0x12ff31(0x435)]=Math[_0x12ff31(0x40f)](0x0,_0x33453b['radius']-_0xd06a30)+'px',_0x28f202[_0x12ff31(0x26b)][_0x12ff31(0x3b8)]=_0x12ff31(0x269),_0x28f202[_0x12ff31(0x26b)][_0x12ff31(0x319)]=_0x12ff31(0x257);}const be=(0x0,n['createIdentifier'])(_0x139398(0x398));function xe(_0x53fc23){return{..._0x53fc23,'borderWidth':0x0};}var Se=class{constructor(_0x4a5693){const _0x10f829=_0x139398;this[_0x10f829(0x16c)]=_0x4a5693;}async[_0x139398(0x284)](_0x1cd7d8,_0x2e5ae4){const _0x3ec25a=_0x139398;if(typeof document>'u')throw TypeError(_0x3ec25a(0x330));let _0x1395f2=new o[(_0x3ec25a(0x1d4))](_0x2e5ae4[_0x3ec25a(0x22b)],{'width':_0x1cd7d8[_0x3ec25a(0x18d)],'height':_0x1cd7d8[_0x3ec25a(0x17d)]}),_0x45dd7c=this['_renderService'][_0x3ec25a(0x2d3)](o[_0x3ec25a(0x3b4)]['Image']);try{let {chartConfig:_0x1185a4,chartStyle:_0x27c5c0}=this[_0x3ec25a(0x16c)][_0x3ec25a(0x287)](_0x2e5ae4);_0x45dd7c['bind'](_0x1395f2),await _0x45dd7c['render']({'chartId':_0x2e5ae4[_0x3ec25a(0x22b)],'config':_0x1185a4,'style':xe(_0x27c5c0)});let _0x2eabd5=_0x1395f2['getDataUrl']();if(!_0x2eabd5)throw Error(_0x3ec25a(0x2d9)+_0x2e5ae4[_0x3ec25a(0x229)]+'/'+_0x2e5ae4[_0x3ec25a(0x22b)]);return _0x2eabd5;}finally{_0x45dd7c[_0x3ec25a(0x2fa)](),_0x1395f2[_0x3ec25a(0x2fa)]();}}};let H=class extends a[_0x139398(0x335)]{constructor(_0x2074da,_0x13d363,_0x3a1451,_0x221839){super(_0x2074da,_0x13d363,_0x221839??new Se(_0x3a1451));}};H=x([b(0x0,(0x0,n['Inject'])(n['LocaleService'])),b(0x1,(0x0,n[_0x139398(0x237)])(i[_0x139398(0x2d4)])),b(0x2,(0x0,n[_0x139398(0x237)])(B)),b(0x3,(0x0,n[_0x139398(0x268)])(be))],H);let U=class extends n[_0x139398(0x33f)]{constructor(_0x5a6cd9,_0x202637,_0x3a6654,_0x1d34e0,_0xd74493){const _0x5e7ce2=_0x139398;super(),this[_0x5e7ce2(0x357)]=_0x5a6cd9,this[_0x5e7ce2(0x30f)]=_0x202637,this['_boardElementService']=_0x3a6654,this[_0x5e7ce2(0x366)]=_0x1d34e0,this['_snapshotService']=_0xd74493,y(this,_0x5e7ce2(0x212),null),y(this,_0x5e7ce2(0x3c0),null),y(this,_0x5e7ce2(0x1fb),null),this['disposeWithMe'](this[_0x5e7ce2(0x30f)][_0x5e7ce2(0x413)][_0x5e7ce2(0x304)](_0x1be594=>this['_syncActiveChart'](_0x1be594)));}[_0x139398(0x2fa)](){const _0x146e33=_0x139398;this[_0x146e33(0x3f2)](),super[_0x146e33(0x2fa)]();}[_0x139398(0x3f1)](_0x5aae87){const _0x4a918b=_0x139398;if(!_0x5aae87||_0x5aae87[_0x4a918b(0x229)]!==this[_0x4a918b(0x357)][_0x4a918b(0x229)]){this['_clearActiveLayer']();return;}let _0x43cc6d=this[_0x4a918b(0x1aa)][_0x4a918b(0x20e)](_0x5aae87[_0x4a918b(0x229)],_0x5aae87[_0x4a918b(0x2fe)]),_0x9bac13=_0x43cc6d[_0x5aae87[_0x4a918b(0x207)]];if(!_0x9bac13||_0x9bac13[_0x4a918b(0x261)][_0x4a918b(0x1a1)]!==e[_0x4a918b(0x360)]['Chart']||_0x9bac13[_0x4a918b(0x261)][_0x4a918b(0x22b)]!==_0x5aae87[_0x4a918b(0x22b)]){this[_0x4a918b(0x3f2)]();return;}let _0x5581a0=(0x0,e[_0x4a918b(0x23c)])(_0x43cc6d,_0x9bac13[_0x4a918b(0x207)]);if(!_0x5581a0){this[_0x4a918b(0x3f2)]();return;}let _0x57bf1d=_0x9bac13['element'],_0x4b09e5=_0x57bf1d[_0x4a918b(0x22b)],_0x3f7bcf=[_0x4a918b(0x3c3),_0x5aae87[_0x4a918b(0x229)],_0x5aae87[_0x4a918b(0x2fe)],_0x9bac13[_0x4a918b(0x207)]]['join'](':');if(this[_0x4a918b(0x212)]===_0x3f7bcf){this[_0x4a918b(0x1fb)]={'chartId':_0x4b09e5,'unitId':_0x5aae87['unitId']},this[_0x4a918b(0x366)][_0x4a918b(0x2d6)](_0x3f7bcf,{'rect':_0x5581a0,'content':()=>(0x0,d[_0x4a918b(0x217)])(ve,{'chartId':_0x4b09e5,'chartElement':_0x57bf1d,'unitId':_0x5aae87[_0x4a918b(0x229)]})});return;}this[_0x4a918b(0x3f2)](),this[_0x4a918b(0x212)]=_0x3f7bcf,this['_activeChart']={'chartId':_0x4b09e5,'unitId':_0x5aae87[_0x4a918b(0x229)]},this[_0x4a918b(0x3c0)]=this[_0x4a918b(0x366)][_0x4a918b(0x1dc)]({'id':_0x3f7bcf,'unitId':_0x5aae87['unitId'],'subUnitId':_0x5aae87[_0x4a918b(0x2fe)],'elementId':_0x9bac13['elementId'],'rect':_0x5581a0,'interactive':!0x0,'zIndex':0x1,'content':()=>(0x0,d[_0x4a918b(0x217)])(ve,{'chartId':_0x4b09e5,'chartElement':_0x57bf1d,'unitId':_0x5aae87['unitId']})});}['_clearActiveLayer'](){const _0x2c20ae=_0x139398;var _0x3a7120;let _0x3529ff=this[_0x2c20ae(0x1fb)];(_0x3a7120=this[_0x2c20ae(0x3c0)])==null||_0x3a7120['dispose'](),this[_0x2c20ae(0x3c0)]=null,this['_activeLayerId']=null,this[_0x2c20ae(0x1fb)]=null,_0x3529ff&&this[_0x2c20ae(0x399)]['invalidateChart'](_0x3529ff['unitId'],_0x3529ff[_0x2c20ae(0x22b)]);}};U=x([b(0x1,(0x0,n[_0x139398(0x237)])(w)),b(0x2,e[_0x139398(0x3ff)]),b(0x3,(0x0,n[_0x139398(0x237)])(t['BoardDomLayerService'])),b(0x4,(0x0,n['Inject'])(H))],U);let W=class extends n[_0x139398(0x33f)]{constructor(_0x3af101,_0x5d9169,_0x12b8be,_0x1dcf17){const _0xe588f8=_0x139398;super(),this[_0xe588f8(0x37a)]=_0x3af101,this['_snapshotService']=_0x5d9169,this[_0xe588f8(0x1b4)]=_0x12b8be,this[_0xe588f8(0x1d3)]=_0x1dcf17,this[_0xe588f8(0x3c9)]();}[_0x139398(0x3c9)](){const _0x1801c8=_0x139398;this['disposeWithMe'](this[_0x1801c8(0x37a)][_0x1801c8(0x1c5)](_0x33aff8=>{const _0x2763c8=_0x1801c8;if(_0x33aff8['id']===i[_0x2763c8(0x421)]['id']){var _0x466f9c;let _0x23e025=_0x33aff8[_0x2763c8(0x29b)];_0x23e025!=null&&_0x23e025[_0x2763c8(0x229)]&&(_0x466f9c=_0x23e025[_0x2763c8(0x28c)])!=null&&_0x466f9c['id']&&(this[_0x2763c8(0x40d)](_0x23e025)?this[_0x2763c8(0x399)][_0x2763c8(0x2aa)](_0x23e025[_0x2763c8(0x229)],_0x23e025['chart']['id'],{'waitForConfig':!0x0}):this[_0x2763c8(0x399)][_0x2763c8(0x2aa)](_0x23e025[_0x2763c8(0x229)],_0x23e025[_0x2763c8(0x28c)]['id']));return;}if(_0x33aff8['id']===i['SetBoardChartDataSourceMutation']['id']){var _0x4eb6b6;let _0x19fece=_0x33aff8[_0x2763c8(0x29b)];if(!(_0x19fece!=null&&_0x19fece[_0x2763c8(0x229)])||!((_0x4eb6b6=_0x19fece[_0x2763c8(0x3a0)])!=null&&_0x4eb6b6['id']))return;this['_resourceService'][_0x2763c8(0x21e)](_0x19fece['unitId'],_0x19fece[_0x2763c8(0x3a0)]['id'])[_0x2763c8(0x36f)](_0x330ae5=>this['_snapshotService']['invalidateChart'](_0x19fece[_0x2763c8(0x229)],_0x330ae5,{'waitForConfig':!0x0}));}}));}[_0x139398(0x40d)](_0x399fa1){const _0x5b6b82=_0x139398;var _0x2813fa;let _0x1da4d0=(_0x2813fa=this['_modelService'][_0x5b6b82(0x365)](_0x399fa1[_0x5b6b82(0x229)],_0x399fa1['chart']['id']))==null||(_0x2813fa=_0x2813fa[_0x5b6b82(0x41f)][_0x5b6b82(0x2c1)])==null?void 0x0:_0x2813fa[_0x5b6b82(0x1a1)];return _0x1da4d0!=null&&_0x1da4d0!==_0x399fa1[_0x5b6b82(0x28c)][_0x5b6b82(0x250)];}};W=x([b(0x0,n[_0x139398(0x40a)]),b(0x1,(0x0,n[_0x139398(0x237)])(H)),b(0x2,(0x0,n[_0x139398(0x237)])(i[_0x139398(0x22d)])),b(0x3,(0x0,n[_0x139398(0x237)])(i['BoardChartModelService']))],W);var Ce=_0x139398(0x2e0),we=_0x139398(0x17c);const G={'scaleX':0x1,'scaleY':0x1};function Te(_0x4eac31){const _0x3adc3c=_0x139398;let _0x3f67ed=_0x4eac31[_0x3adc3c(0x280)];return typeof MouseEvent<'u'&&_0x3f67ed instanceof MouseEvent?_0x3f67ed:void 0x0;}function Ee(_0x533317){const _0x184f60=_0x139398;let _0x9100a5=_0x533317[_0x184f60(0x280)],_0x5b0570=_0x9100a5==null?void 0x0:_0x9100a5[_0x184f60(0x183)];return typeof Element<'u'&&_0x5b0570 instanceof Element?_0x5b0570:void 0x0;}function De(_0x3510ec){const _0x14f522=_0x139398;return _0x3510ec[_0x14f522(0x18d)]||_0x3510ec[_0x14f522(0x33a)]-_0x3510ec[_0x14f522(0x285)];}function Oe(_0x5839e9){const _0x4ca3f9=_0x139398;return _0x5839e9[_0x4ca3f9(0x17d)]||_0x5839e9[_0x4ca3f9(0x311)]-_0x5839e9[_0x4ca3f9(0x29e)];}function K(_0x432dec,_0x1e160f){const _0x56c113=_0x139398;let _0x8cd518=_0x432dec['clientWidth']||(typeof HTMLElement<'u'&&_0x432dec instanceof HTMLElement?_0x432dec['offsetWidth']:0x0),_0x231a91=_0x432dec[_0x56c113(0x271)]||(typeof HTMLElement<'u'&&_0x432dec instanceof HTMLElement?_0x432dec[_0x56c113(0x180)]:0x0),_0x948a9e=De(_0x1e160f),_0x23628a=Oe(_0x1e160f);return{'scaleX':_0x8cd518>0x0&&_0x948a9e>0x0?_0x948a9e/_0x8cd518:G['scaleX'],'scaleY':_0x231a91>0x0&&_0x23628a>0x0?_0x23628a/_0x231a91:G[_0x56c113(0x23a)]};}function ke(_0x5ec92a,_0x338429,_0x143c4d){const _0x179012=_0x139398;return{'left':_0x5ec92a[_0x179012(0x285)]+_0x338429[_0x179012(0x285)]*_0x143c4d[_0x179012(0x234)],'right':_0x5ec92a[_0x179012(0x285)]+_0x338429[_0x179012(0x33a)]*_0x143c4d['scaleX'],'top':_0x5ec92a[_0x179012(0x29e)]+_0x338429['top']*_0x143c4d['scaleY'],'bottom':_0x5ec92a[_0x179012(0x29e)]+_0x338429[_0x179012(0x311)]*_0x143c4d['scaleY']};}function _0x1864(_0xf2cc9f,_0x483563){_0xf2cc9f=_0xf2cc9f-0x167;const _0x4b5153=_0x4b51();let _0x186401=_0x4b5153[_0xf2cc9f];return _0x186401;}function Ae(_0x40d827){const _0x24cc73=_0x139398;let _0xd66601=Ee(_0x40d827),_0x5ce93e=_0x40d827[_0x24cc73(0x41d)][_0x24cc73(0x1e6)];return _0xd66601&&_0x5ce93e?()=>{let _0x216b63=_0xd66601['getBoundingClientRect']();return ke(_0x216b63,_0x5ce93e,K(_0xd66601,_0x216b63));}:()=>{const _0x4ba3f9=_0x24cc73;let _0x48767e=_0xd66601==null?void 0x0:_0xd66601[_0x4ba3f9(0x38a)]();if(_0xd66601&&_0x48767e&&_0x5ce93e)return ke(_0x48767e,_0x5ce93e,K(_0xd66601,_0x48767e));let _0x13b44e=Te(_0x40d827),_0x4e4663=_0xd66601&&_0x48767e?K(_0xd66601,_0x48767e):G,_0x2f705e=(_0x13b44e==null?void 0x0:_0x13b44e[_0x4ba3f9(0x1af)])??(_0x48767e?_0x48767e[_0x4ba3f9(0x285)]+_0x40d827['localPoint']['x']*_0x4e4663['scaleX']:_0x40d827[_0x4ba3f9(0x394)]['x']),_0x307ea3=(_0x13b44e==null?void 0x0:_0x13b44e[_0x4ba3f9(0x27f)])??(_0x48767e?_0x48767e[_0x4ba3f9(0x29e)]+_0x40d827[_0x4ba3f9(0x394)]['y']*_0x4e4663[_0x4ba3f9(0x23a)]:_0x40d827[_0x4ba3f9(0x394)]['y']);return{'left':_0x2f705e,'right':_0x2f705e+0x1,'top':_0x307ea3,'bottom':_0x307ea3+0x1};};}function je(_0x4042f3){const _0x32c64e=_0x139398;return _0x4042f3[_0x32c64e(0x33a)]<=_0x4042f3['left']||_0x4042f3[_0x32c64e(0x311)]<=_0x4042f3['top']?!0x1:typeof window>'u'||_0x4042f3['right']>0x0&&_0x4042f3['bottom']>0x0&&_0x4042f3[_0x32c64e(0x285)]<window[_0x32c64e(0x3aa)]&&_0x4042f3[_0x32c64e(0x29e)]<window[_0x32c64e(0x2c4)];}function Me(_0x2c27b7,_0x5f48de){const _0x3b1381=_0x139398;let _0x47d399=Ae(_0x2c27b7),_0x394523=_0x47d399(),_0x14d7ee=new r['BehaviorSubject'](_0x394523),_0x94cd62=new n[(_0x3b1381(0x401))](),_0x5d267c=!0x1,_0x42aa56=!0x1;return typeof window<'u'&&_0x94cd62[_0x3b1381(0x273)]((0x0,r[_0x3b1381(0x299)])((0x0,r[_0x3b1381(0x2b1)])(window,_0x3b1381(0x419),{'capture':!0x0}),(0x0,r[_0x3b1381(0x2b1)])(window,_0x3b1381(0x264)))[_0x3b1381(0x16d)]((0x0,r[_0x3b1381(0x33c)])(0x10))['subscribe'](()=>{_0x42aa56||_0x5d267c||(_0x42aa56=!0x0,queueMicrotask(()=>{if(_0x42aa56=!0x1,_0x5d267c)return;let _0x251d09=_0x47d399();if(!je(_0x251d09)){_0x5f48de();return;}_0x14d7ee['next'](_0x251d09);}));})),{'initialRect':_0x394523,'anchorRect$':_0x14d7ee[_0x3b1381(0x376)](),'visible':je(_0x394523),'dispose':()=>{const _0xd6f2a5=_0x3b1381;_0x5d267c=!0x0,_0x94cd62[_0xd6f2a5(0x2fa)](),_0x14d7ee[_0xd6f2a5(0x28e)]();}};}const Ne=_0x139398(0x37b);function q(_0x44910e,_0x2878f5){return _0x44910e+'::'+_0x2878f5;}let J=class extends n['Disposable']{constructor(_0x364fe8,_0x2d0fde,_0x191de7,_0x2bd131,_0x503060,_0x3bdc18,_0x30534a,_0x596df3,_0x30a95a){const _0x7277af=_0x139398;super(),this[_0x7277af(0x1d3)]=_0x364fe8,this['_chartRenderService']=_0x2d0fde,this[_0x7277af(0x355)]=_0x191de7,this['_editSessionService']=_0x2bd131,this[_0x7277af(0x190)]=_0x503060,this['_canvasPopupService']=_0x3bdc18,this[_0x7277af(0x2ee)]=_0x30534a,this['_univerInstanceService']=_0x596df3,this[_0x7277af(0x388)]=_0x30a95a,y(this,'_chartEventDisposables',new Map()),y(this,_0x7277af(0x291),null),y(this,_0x7277af(0x3b0),null),this[_0x7277af(0x370)](),this['_subscribeChartEvents']();}[_0x139398(0x2fa)](){const _0x338a84=_0x139398;this[_0x338a84(0x2be)](),this[_0x338a84(0x2cf)][_0x338a84(0x36f)](_0x118693=>_0x118693[_0x338a84(0x2fa)]()),this[_0x338a84(0x2cf)][_0x338a84(0x1b3)](),super['dispose']();}[_0x139398(0x370)](){const _0x55bdea=_0x139398;let _0x1422e8=(0x0,a['createChartElementFloatMenuAdapter'])({'chartUIService':this[_0x55bdea(0x355)],'getHostAdapter':_0x437920=>{const _0x209072=_0x55bdea;this[_0x209072(0x1d3)][_0x209072(0x172)](_0x437920[_0x209072(0x229)],_0x437920[_0x209072(0x22b)]);let _0xc6e2c3=this['_modelService'][_0x209072(0x365)](_0x437920[_0x209072(0x229)],_0x437920[_0x209072(0x22b)]),_0x52de25=this[_0x209072(0x1d2)][_0x209072(0x170)](_0x437920[_0x209072(0x229)],n[_0x209072(0x2e3)][_0x209072(0x18e)]),_0x114727=this['_editSessionService'][_0x209072(0x379)]();if(!(!_0xc6e2c3||!_0x52de25||!_0x114727))return new a[(_0x209072(0x253))](_0xc6e2c3[_0x209072(0x41f)],new i[(_0x209072(0x337))]({'unitId':_0x437920[_0x209072(0x229)],'pageId':_0x114727[_0x209072(0x2fe)],'chartId':_0x437920[_0x209072(0x22b)],'elementId':_0x114727[_0x209072(0x207)],'boardModel':_0x52de25,'injector':this[_0x209072(0x388)]}));},'close':()=>this[_0x55bdea(0x2be)](),'openFullPanel':_0x2bc3e0=>{const _0x41e554=_0x55bdea;this[_0x41e554(0x1d3)][_0x41e554(0x172)](_0x2bc3e0[_0x41e554(0x229)],_0x2bc3e0[_0x41e554(0x22b)]);let _0xeb0eac=this[_0x41e554(0x30f)][_0x41e554(0x379)]();(_0xeb0eac==null?void 0x0:_0xeb0eac[_0x41e554(0x229)])===_0x2bc3e0[_0x41e554(0x229)]&&_0xeb0eac['chartId']===_0x2bc3e0[_0x41e554(0x22b)]&&this['_editSessionService']['open']({..._0xeb0eac,'route':(0x0,a['resolveChartEditPanelRoute'])(_0x2bc3e0[_0x41e554(0x183)]),'source':'programmatic'}),this[_0x41e554(0x2be)]();}});this['disposeWithMe'](this[_0x55bdea(0x190)]['register'](Ne,_0x1422e8));}[_0x139398(0x35b)](){const _0x2b4db6=_0x139398;this['disposeWithMe'](this[_0x2b4db6(0x1d3)]['chartModelAdded$'][_0x2b4db6(0x304)](_0x61baf5=>{const _0x4a9e85=_0x2b4db6;let _0x4747e0=q(_0x61baf5[_0x4a9e85(0x229)],_0x61baf5[_0x4a9e85(0x22b)]);if(this[_0x4a9e85(0x2cf)][_0x4a9e85(0x228)](_0x4747e0))return;let _0x50a46f=new n[(_0x4a9e85(0x401))]();_0x50a46f[_0x4a9e85(0x273)](this[_0x4a9e85(0x1ad)]['on'](_0x61baf5[_0x4a9e85(0x229)],_0x61baf5[_0x4a9e85(0x22b)],_0x4a9e85(0x267),_0x3aaf6d=>{const _0x3aff48=_0x4a9e85;this['_openFloatMenu'](_0x61baf5[_0x3aff48(0x229)],_0x61baf5[_0x3aff48(0x22b)],_0x3aaf6d);})),this[_0x4a9e85(0x2cf)][_0x4a9e85(0x196)](_0x4747e0,_0x50a46f);})),this[_0x2b4db6(0x38e)](this[_0x2b4db6(0x1d3)][_0x2b4db6(0x3e9)][_0x2b4db6(0x304)](_0x193667=>{const _0x382064=_0x2b4db6;var _0x3679ce;let _0xe2b0a=q(_0x193667[_0x382064(0x229)],_0x193667[_0x382064(0x22b)]);(_0x3679ce=this['_chartEventDisposables']['get'](_0xe2b0a))==null||_0x3679ce[_0x382064(0x2fa)](),this[_0x382064(0x2cf)][_0x382064(0x3fa)](_0xe2b0a),this[_0x382064(0x3b0)]===_0xe2b0a&&this[_0x382064(0x2be)]();})),this[_0x2b4db6(0x38e)](this[_0x2b4db6(0x1d3)]['activeRuntimeModel$'][_0x2b4db6(0x304)](_0x2ca2ed=>{const _0x591907=_0x2b4db6;let _0x3183db=_0x2ca2ed?q(_0x2ca2ed['unitId'],_0x2ca2ed[_0x591907(0x22b)]):null;(!_0x3183db||this[_0x591907(0x3b0)]&&_0x3183db!==this['_popupRuntimeKey'])&&this[_0x591907(0x2be)]();}));}[_0x139398(0x2b5)](_0x150190,_0x384691,_0x13ecd8){const _0x39fe68=_0x139398;if(!this[_0x39fe68(0x1ad)][_0x39fe68(0x188)](_0x150190,_0x384691))return;let _0x3a6920=this['_modelService']['getChartModel'](_0x150190,_0x384691),_0x2d6ced=_0x3a6920?(0x0,a[_0x39fe68(0x34f)])(_0x3a6920[_0x39fe68(0x41f)],_0x13ecd8[_0x39fe68(0x41d)]):void 0x0;if(!_0x3a6920||!_0x2d6ced){this[_0x39fe68(0x2be)]();return;}if(this['_modelService']['setActiveChartRuntime'](_0x3a6920),this['_closePopup'](),!_0x2d6ced[_0x39fe68(0x191)])return;let _0x562657=this['_renderManagerService'][_0x39fe68(0x225)](_0x150190);if(!_0x562657)return;let _0x4ea609=Me(_0x13ecd8,()=>this[_0x39fe68(0x3f8)](_0x150190,_0x384691));if(!_0x4ea609[_0x39fe68(0x247)]){_0x4ea609['dispose']();return;}let _0x13371f=this[_0x39fe68(0x3d8)]['addPopup']({'componentKey':a[_0x39fe68(0x239)],'direction':_0x39fe68(0x1ac),'offset':[0x0,0x8],'unitId':_0x150190,'subUnitId':'','anchorRect':_0x4ea609[_0x39fe68(0x341)],'anchorRect$':_0x4ea609[_0x39fe68(0x356)],'canvasElement':_0x562657[_0x39fe68(0x382)][_0x39fe68(0x1bd)](),'extraProps':{'unitId':_0x150190,'chartId':_0x384691,'element':_0x13ecd8[_0x39fe68(0x41d)],'target':_0x2d6ced[_0x39fe68(0x183)],'adapterKey':Ne}}),_0x3db6b1=new n[(_0x39fe68(0x401))]();_0x3db6b1[_0x39fe68(0x273)](_0x4ea609),_0x3db6b1[_0x39fe68(0x273)]({'dispose':()=>this[_0x39fe68(0x3d8)]['removePopup'](_0x13371f)}),this[_0x39fe68(0x291)]=_0x3db6b1,this[_0x39fe68(0x3b0)]=q(_0x150190,_0x384691);}[_0x139398(0x2be)](){const _0x53b259=_0x139398;var _0x2279e0;(_0x2279e0=this[_0x53b259(0x291)])==null||_0x2279e0[_0x53b259(0x2fa)](),this[_0x53b259(0x291)]=null,this['_popupRuntimeKey']=null;}[_0x139398(0x3f8)](_0x158d18,_0xda04db){const _0x46c5f6=_0x139398;this[_0x46c5f6(0x2be)](),this[_0x46c5f6(0x1ad)][_0x46c5f6(0x188)](_0x158d18,_0xda04db)&&(this[_0x46c5f6(0x1ad)]['setElementEditMode'](_0x158d18,_0xda04db,!0x1),this['_chartRenderService']['setElementEditMode'](_0x158d18,_0xda04db,!0x0));}};J=x([b(0x0,(0x0,n['Inject'])(i[_0x139398(0x2d4)])),b(0x1,(0x0,n['Inject'])(B)),b(0x2,D),b(0x3,(0x0,n[_0x139398(0x237)])(w)),b(0x4,(0x0,n[_0x139398(0x237)])(a['ChartElementFloatMenuAdapterRegistry'])),b(0x5,(0x0,n['Inject'])(l[_0x139398(0x1db)])),b(0x6,p[_0x139398(0x422)]),b(0x7,n[_0x139398(0x393)]),b(0x8,(0x0,n[_0x139398(0x237)])(n[_0x139398(0x238)]))],J);function Pe(_0x26a717,_0x12e0d3,_0xc9ea7c,_0x392cd2){let _0x55f0cf={'chartType':_0x12e0d3,'data':_0xc9ea7c,..._0x392cd2?{'style':_0x392cd2}:{}};return{..._0x26a717,'options':_0x55f0cf};}function Fe(_0x26f0cc){const _0x5aa6af=_0x139398;let _0x4729aa=(0x0,l[_0x5aa6af(0x2f2)])(n[_0x5aa6af(0x40a)]),_0x11fd43=(0x0,l[_0x5aa6af(0x2f2)])(n['LocaleService']),_0x55ea95=(0x0,u['useMemo'])(()=>(0x0,a[_0x5aa6af(0x3d9)])(a[_0x5aa6af(0x381)][_0x5aa6af(0x281)](_0x305e59=>({..._0x305e59,'label':_0x11fd43['t']('boards-chart-ui.chartTypes.'+_0x305e59[_0x5aa6af(0x2a5)])}))),[_0x11fd43]),[_0x203f50,_0x511568]=(0x0,u[_0x5aa6af(0x2e5)])(String(o[_0x5aa6af(0x362)][_0x5aa6af(0x16b)])),_0x1b4027=_0x55ea95[_0x5aa6af(0x231)](_0x12c9d1=>_0x12c9d1[_0x5aa6af(0x32d)]===_0x203f50),_0x3dfaaf=(_0x1b4027==null?void 0x0:_0x1b4027[_0x5aa6af(0x250)])??o['ChartTypeBits'][_0x5aa6af(0x16b)],[_0xc3ba56,_0x32882b]=(0x0,u[_0x5aa6af(0x2e5)])(()=>i[_0x5aa6af(0x3cd)][_0x5aa6af(0x281)](_0xad4e59=>[..._0xad4e59])),[_0x50e66f,_0x199440]=(0x0,u[_0x5aa6af(0x2e5)])(null),_0x15c863={[a['InlineChartCreationIssueCode']['UnknownOption']]:_0x11fd43['t'](_0x5aa6af(0x3d6)),[a[_0x5aa6af(0x34c)][_0x5aa6af(0x40b)]]:_0x11fd43['t'](_0x5aa6af(0x16a)),[a['InlineChartCreationIssueCode'][_0x5aa6af(0x37f)]]:_0x11fd43['t'](_0x5aa6af(0x3c4))},_0x4f4abe=_0x55f32d=>(0x0,a[_0x5aa6af(0x1b7)])(_0x55f32d,{'candlestickClose':_0x11fd43['t']('boards-chart-ui.candlestick.close'),'candlestickHigh':_0x11fd43['t'](_0x5aa6af(0x320)),'candlestickLow':_0x11fd43['t'](_0x5aa6af(0x173)),'candlestickOpen':_0x11fd43['t'](_0x5aa6af(0x428)),'category':_0x11fd43['t'](_0x5aa6af(0x2ae)),'chordSource':_0x11fd43['t'](_0x5aa6af(0x1b5)),'chordTarget':_0x11fd43['t'](_0x5aa6af(0x286)),'label':_0x11fd43['t'](_0x5aa6af(0x32e)),'sunburstHierarchy':_0x11fd43['t']('boards-chart-ui.sunburst.hierarchy'),'value':_0x11fd43['t'](_0x5aa6af(0x185)),'valueField':_0x11fd43['t'](_0x5aa6af(0x32f))});return(0x0,d['jsxs'])(_0x5aa6af(0x3bd),{'className':_0x5aa6af(0x3f4),'children':[(0x0,d[_0x5aa6af(0x174)])(_0x5aa6af(0x3bd),{'className':_0x5aa6af(0x258),'children':[(0x0,d['jsx'])(_0x5aa6af(0x3bd),{'className':_0x5aa6af(0x392),'children':_0x11fd43['t'](_0x5aa6af(0x175))}),(0x0,d[_0x5aa6af(0x217)])(s[_0x5aa6af(0x30b)],{'className':_0x5aa6af(0x198),'value':_0x203f50,'options':_0x55ea95,'onChange':_0xfb5e85=>{const _0x308273=_0x5aa6af;var _0x432af4;_0x511568(_0xfb5e85);let _0xa8e523=((_0x432af4=_0x55ea95[_0x308273(0x231)](_0x30f013=>_0x30f013['value']===_0xfb5e85))==null?void 0x0:_0x432af4[_0x308273(0x250)])??Number(_0xfb5e85),_0x154403=_0x4f4abe(_0xa8e523);_0x154403&&_0x32882b(_0x154403);}})]}),(0x0,d['jsxs'])(_0x5aa6af(0x3bd),{'className':_0x5aa6af(0x258),'children':[(0x0,d[_0x5aa6af(0x217)])(_0x5aa6af(0x3bd),{'className':_0x5aa6af(0x392),'children':_0x11fd43['t'](_0x5aa6af(0x387))}),(0x0,d['jsx'])(a['ChartInlineTableEditor'],{'values':_0xc3ba56,'minColumns':(0x0,a['getChartInlineTableMinColumns'])(_0x3dfaaf),'parsePastedText':o['parseInlineChartTable'],'onChange':_0x32882b})]}),_0x50e66f&&(0x0,d[_0x5aa6af(0x217)])('div',{'className':_0x5aa6af(0x433),'children':_0x50e66f}),(0x0,d[_0x5aa6af(0x174)])('div',{'className':_0x5aa6af(0x3ca),'children':[_0x26f0cc[_0x5aa6af(0x28b)]&&(0x0,d['jsx'])(s[_0x5aa6af(0x378)],{'type':_0x5aa6af(0x177),'variant':_0x5aa6af(0x3b7),'onClick':_0x26f0cc[_0x5aa6af(0x28b)],'children':_0x11fd43['t'](_0x5aa6af(0x3e7))}),(0x0,d['jsx'])(s['Button'],{'type':_0x5aa6af(0x177),'variant':'primary','onClick':async()=>{const _0x49fb7b=_0x5aa6af;var _0x573305;let _0x436fdc=(0x0,a[_0x49fb7b(0x3ed)])({'optionId':_0x203f50,'values':_0xc3ba56});if(!_0x436fdc['ok']){_0x199440(_0x15c863[_0x436fdc[_0x49fb7b(0x290)][_0x49fb7b(0x361)]]);return;}if(!await _0x4729aa[_0x49fb7b(0x336)](e[_0x49fb7b(0x23e)]['id'],Pe(_0x26f0cc['insertParams'],_0x436fdc[_0x49fb7b(0x282)]['chartType'],_0x436fdc[_0x49fb7b(0x282)][_0x49fb7b(0x3d4)],_0x436fdc[_0x49fb7b(0x282)][_0x49fb7b(0x26b)]))){_0x199440(_0x11fd43['t'](_0x49fb7b(0x3d6)));return;}_0x199440(null),(_0x573305=_0x26f0cc[_0x49fb7b(0x28a)])==null||_0x573305[_0x49fb7b(0x256)](_0x26f0cc);},'children':_0x11fd43['t'](_0x5aa6af(0x426))})]})]});}let Y=class extends n[_0x139398(0x33f)]{constructor(_0x63ad28){const _0x10ed6f=_0x139398;super(),this[_0x10ed6f(0x24c)]=_0x63ad28,this[_0x10ed6f(0x410)]();}[_0x139398(0x410)](){const _0x2b29b5=_0x139398;this['disposeWithMe'](this[_0x2b29b5(0x24c)]['register'](P,de)),this[_0x2b29b5(0x38e)](this[_0x2b29b5(0x24c)][_0x2b29b5(0x21c)](ne,re)),this[_0x2b29b5(0x38e)](this[_0x2b29b5(0x24c)]['register'](t[_0x2b29b5(0x1e4)],Fe)),this['disposeWithMe'](this[_0x2b29b5(0x24c)][_0x2b29b5(0x21c)](k,A));}};Y=x([b(0x0,(0x0,n[_0x139398(0x237)])(l[_0x139398(0x2e6)]))],Y);var Ie=class extends p[_0x139398(0x301)]{constructor(_0x2ccd62,_0x5f2133){const _0x505fd9=_0x139398;super(_0x2ccd62,_0x5f2133),y(this,_0x505fd9(0x295),void 0x0),y(this,'_frameStyle',void 0x0),this[_0x505fd9(0x295)]=_0x5f2133[_0x505fd9(0x261)],this[_0x505fd9(0x408)]=_0x5f2133[_0x505fd9(0x197)],this[_0x505fd9(0x206)]();}[_0x139398(0x169)](_0xa6ac35){const _0x558475=_0x139398;this[_0x558475(0x295)]=_0xa6ac35,this['makeDirty'](!0x0);}[_0x139398(0x16e)](_0xda88d8){const _0x3ef26a=_0x139398;Le(this['_frameStyle'],_0xda88d8)||(this[_0x3ef26a(0x408)]=_0xda88d8,this[_0x3ef26a(0x221)](!0x0));}['getElement'](){const _0x130872=_0x139398;return this[_0x130872(0x295)];}[_0x139398(0x3fc)](){return this['_frameStyle'];}[_0x139398(0x2ab)](_0xe6f76b){const _0x34faf6=_0x139398;this[_0x34faf6(0x372)]??(this[_0x34faf6(0x372)]=document[_0x34faf6(0x2a8)](_0x34faf6(0x1c3)),this['_native'][_0x34faf6(0x3fb)]=_0x34faf6(0x2ca)),this[_0x34faf6(0x206)](),this[_0x34faf6(0x372)]['src']=_0xe6f76b;}[_0x139398(0x3c2)](_0x5231b7,_0x8c79f,_0x1768b8=this[_0x139398(0x18d)],_0x13fa3f=this[_0x139398(0x17d)]){const _0x212484=_0x139398;let _0x141664=this[_0x212484(0x408)],_0x1b9193=R({'width':_0x1768b8,'height':_0x13fa3f},_0x141664);_0x5231b7[_0x212484(0x186)](),_0x5231b7['translate'](-_0x1768b8/0x2,-_0x13fa3f/0x2),X(_0x5231b7,0x0,0x0,_0x1768b8,_0x13fa3f,_0x141664[_0x212484(0x35f)]),_0x5231b7[_0x212484(0x26d)]=_0x141664[_0x212484(0x404)],_0x5231b7[_0x212484(0x404)](),_0x5231b7['restore'](),this[_0x212484(0x313)](_0x5231b7,_0x1768b8,_0x13fa3f,_0x1b9193,_0x141664),this[_0x212484(0x179)](_0x5231b7,_0x1768b8,_0x13fa3f,_0x141664);}[_0x139398(0x313)](_0x57fdf5,_0x3ad43d,_0x3bd99d,_0x5adf03,_0x42aaba){const _0x32b619=_0x139398;var _0x11288c;!((_0x11288c=this[_0x32b619(0x372)])!=null&&_0x11288c[_0x32b619(0x28e)])||this[_0x32b619(0x372)][_0x32b619(0x34d)]<=0x0||this[_0x32b619(0x372)][_0x32b619(0x358)]<=0x0||(_0x57fdf5[_0x32b619(0x186)](),_0x57fdf5[_0x32b619(0x1f7)](-_0x3ad43d/0x2,-_0x3bd99d/0x2),X(_0x57fdf5,_0x5adf03[_0x32b619(0x285)],_0x5adf03[_0x32b619(0x29e)],_0x5adf03[_0x32b619(0x18d)],_0x5adf03[_0x32b619(0x17d)],Math[_0x32b619(0x40f)](0x0,_0x42aaba[_0x32b619(0x35f)]-_0x42aaba[_0x32b619(0x20a)])),_0x57fdf5[_0x32b619(0x1c2)](),_0x57fdf5[_0x32b619(0x3dd)](this[_0x32b619(0x372)],_0x5adf03[_0x32b619(0x285)],_0x5adf03[_0x32b619(0x29e)],_0x5adf03[_0x32b619(0x18d)],_0x5adf03[_0x32b619(0x17d)]),_0x57fdf5[_0x32b619(0x1cb)]());}[_0x139398(0x179)](_0x13d836,_0x303be7,_0x5a0202,_0x41f912){const _0x1ac375=_0x139398;if(_0x41f912[_0x1ac375(0x20a)]<=0x0)return;let _0x80eba7=he({'width':_0x303be7,'height':_0x5a0202},_0x41f912);_0x13d836['save'](),_0x13d836[_0x1ac375(0x1f7)](-_0x303be7/0x2,-_0x5a0202/0x2),X(_0x13d836,_0x80eba7[_0x1ac375(0x285)],_0x80eba7[_0x1ac375(0x29e)],_0x80eba7[_0x1ac375(0x18d)],_0x80eba7['height'],_0x80eba7['radius']),_0x13d836[_0x1ac375(0x395)]=_0x41f912[_0x1ac375(0x2fd)],_0x13d836['lineWidth']=_0x41f912[_0x1ac375(0x20a)],_0x13d836[_0x1ac375(0x2fd)](),_0x13d836['restore']();}[_0x139398(0x38b)](){const _0xd362d5=_0x139398;var _0x4b7e7a;let _0x436fe4=(_0x4b7e7a=this['getEngine']())==null?void 0x0:_0x4b7e7a[_0xd362d5(0x2dc)];_0x436fe4&&(_0x436fe4[_0xd362d5(0x221)](!0x0),_0x436fe4[_0xd362d5(0x284)](),_0x436fe4[_0xd362d5(0x1a4)][_0xd362d5(0x17e)](this['oKey']));}[_0x139398(0x206)](){const _0x496a4c=_0x139398;this[_0x496a4c(0x372)]&&(this[_0x496a4c(0x372)][_0x496a4c(0x1e8)]=()=>{this['_notifyScene']();},this['_native'][_0x496a4c(0x297)]=()=>{const _0x351b88=_0x496a4c;this[_0x351b88(0x38b)]();});}};function X(_0x5bbb50,_0x2e35ac,_0x53f0a6,_0x14fc88,_0x288cb1,_0xf100d){const _0x18c8ea=_0x139398;let _0x17fcf5=Math[_0x18c8ea(0x25a)](_0xf100d||0x0,_0x14fc88/0x2,_0x288cb1/0x2);if(_0x5bbb50[_0x18c8ea(0x39e)](),!_0x17fcf5){_0x5bbb50[_0x18c8ea(0x24d)](_0x2e35ac,_0x53f0a6,_0x14fc88,_0x288cb1),_0x5bbb50['closePath']();return;}_0x5bbb50[_0x18c8ea(0x434)](_0x2e35ac+_0x17fcf5,_0x53f0a6),_0x5bbb50[_0x18c8ea(0x375)](_0x2e35ac+_0x14fc88-_0x17fcf5,_0x53f0a6),_0x5bbb50[_0x18c8ea(0x345)](_0x2e35ac+_0x14fc88-_0x17fcf5,_0x53f0a6+_0x17fcf5,_0x17fcf5,Math['PI']*0x3/0x2,0x0,!0x1),_0x5bbb50[_0x18c8ea(0x375)](_0x2e35ac+_0x14fc88,_0x53f0a6+_0x288cb1-_0x17fcf5),_0x5bbb50['arc'](_0x2e35ac+_0x14fc88-_0x17fcf5,_0x53f0a6+_0x288cb1-_0x17fcf5,_0x17fcf5,0x0,Math['PI']/0x2,!0x1),_0x5bbb50[_0x18c8ea(0x375)](_0x2e35ac+_0x17fcf5,_0x53f0a6+_0x288cb1),_0x5bbb50[_0x18c8ea(0x345)](_0x2e35ac+_0x17fcf5,_0x53f0a6+_0x288cb1-_0x17fcf5,_0x17fcf5,Math['PI']/0x2,Math['PI'],!0x1),_0x5bbb50[_0x18c8ea(0x375)](_0x2e35ac,_0x53f0a6+_0x17fcf5),_0x5bbb50['arc'](_0x2e35ac+_0x17fcf5,_0x53f0a6+_0x17fcf5,_0x17fcf5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5bbb50['closePath']();}function Le(_0x561a42,_0x4c8efd){const _0x1aec39=_0x139398;return _0x561a42['fill']===_0x4c8efd[_0x1aec39(0x404)]&&_0x561a42[_0x1aec39(0x2fd)]===_0x4c8efd[_0x1aec39(0x2fd)]&&_0x561a42[_0x1aec39(0x20a)]===_0x4c8efd[_0x1aec39(0x20a)]&&_0x561a42[_0x1aec39(0x35f)]===_0x4c8efd[_0x1aec39(0x35f)];}function Re(_0x4906d8){const _0x2b425c=_0x139398;let {element:_0x299340}=_0x4906d8['elementDataItem'];return _0x299340[_0x2b425c(0x1a1)]===e['BoardElementType']['Chart']?_0x299340:null;}let Z=class{constructor(_0x34d38e,_0x2de0e6,_0x17d87b,_0x58b623){const _0x63ea77=_0x139398;this[_0x63ea77(0x21a)]=_0x34d38e,this[_0x63ea77(0x399)]=_0x2de0e6,this['_resourceService']=_0x17d87b,this[_0x63ea77(0x16c)]=_0x58b623,y(this,_0x63ea77(0x324),_0x63ea77(0x28c)),y(this,_0x63ea77(0x3f3),new WeakMap());}[_0x139398(0x3c1)](_0x566a59){const _0xd8ed40=_0x139398;let _0x41ba05=Re(_0x566a59);if(!_0x41ba05)return null;let _0x1fbeea=Math['max'](0x1,_0x566a59[_0xd8ed40(0x1e6)]['width']),_0x314591=Math[_0xd8ed40(0x40f)](0x1,_0x566a59[_0xd8ed40(0x1e6)]['height']),_0x875716=new Ie(_0x566a59['key'],{'url':_0xd8ed40(0x3a7),'left':_0x566a59[_0xd8ed40(0x1e6)]['left'],'top':_0x566a59[_0xd8ed40(0x1e6)][_0xd8ed40(0x29e)],'width':_0x1fbeea,'height':_0x314591,'angle':_0x566a59[_0xd8ed40(0x1e6)][_0xd8ed40(0x17b)],'flipX':_0x566a59[_0xd8ed40(0x1e6)][_0xd8ed40(0x27e)],'flipY':_0x566a59[_0xd8ed40(0x1e6)][_0xd8ed40(0x276)],'zIndex':_0x566a59['zIndex'],'visible':_0x41ba05[_0xd8ed40(0x247)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x41ba05,'frameStyle':this[_0xd8ed40(0x316)](_0x566a59[_0xd8ed40(0x229)],_0x41ba05)});return this[_0xd8ed40(0x27c)](_0x875716,this[_0xd8ed40(0x178)](_0x566a59[_0xd8ed40(0x229)],_0x875716),_0x566a59[_0xd8ed40(0x229)]),_0x875716;}[_0x139398(0x1c8)](_0x9a68de,_0xcfd87b){const _0x3127ef=_0x139398;var _0x25580e;if(!(_0x9a68de instanceof Ie))return!0x1;let _0x14d299=Re(_0xcfd87b);return _0x14d299?(_0xcfd87b['preserveTransform']||_0x9a68de[_0x3127ef(0x1ab)](_0xcfd87b[_0x3127ef(0x1e6)]),_0x9a68de['updateElement'](_0x14d299),this[_0x3127ef(0x3de)](_0xcfd87b[_0x3127ef(0x229)],_0x9a68de),(_0x25580e=this[_0x3127ef(0x3f3)][_0x3127ef(0x30a)](_0x9a68de))==null||_0x25580e(),!0x0):!0x1;}['_watchSnapshotUpdates'](_0x295bb,_0x14e621,_0x108a06){const _0x4e7e78=_0x139398;if(!_0x14e621)return;let _0x182190=null,_0x4963fd=null,_0x5cda82=!0x1,_0x5afa5a=_0x228063=>{const _0x491172=_0x1864;if(_0x4963fd!==_0x228063){if(_0x182190==null||_0x182190[_0x491172(0x255)](),_0x182190=null,_0x4963fd=_0x228063,_0x228063[_0x491172(0x187)]===_0x491172(0x2d2)&&_0x228063[_0x491172(0x1e0)]){_0x295bb[_0x491172(0x2ab)](_0x228063[_0x491172(0x1e0)]);return;}_0x228063['status']===_0x491172(0x263)&&(_0x182190=this[_0x491172(0x399)]['snapshotUpdated$'][_0x491172(0x304)](_0x53826b=>{const _0x484b45=_0x491172;if(_0x53826b!==_0x228063||_0x53826b[_0x484b45(0x187)]!==_0x484b45(0x2d2)||!_0x53826b[_0x484b45(0x1e0)]){if(_0x53826b===_0x228063&&_0x53826b[_0x484b45(0x187)]==='error'&&!_0x5cda82){_0x5cda82=!0x0;let _0x39aa93=this[_0x484b45(0x178)](_0x108a06,_0x295bb);_0x39aa93&&_0x5afa5a(_0x39aa93);}return;}_0x295bb[_0x484b45(0x2ab)](_0x53826b['dataUrl']),_0x182190==null||_0x182190[_0x484b45(0x255)](),_0x182190=null;}));}};_0x5afa5a(_0x14e621);let _0xf45634=()=>{const _0x5d27a1=_0x1864;_0x5cda82=!0x1;let _0x23b62f=this[_0x5d27a1(0x178)](_0x108a06,_0x295bb);_0x23b62f&&_0x5afa5a(_0x23b62f);};this[_0x4e7e78(0x3f3)]['set'](_0x295bb,_0xf45634);let _0x59e24b=this['_snapshotService'][_0x4e7e78(0x19b)][_0x4e7e78(0x304)](_0x29daac=>{const _0x5a780d=_0x4e7e78;_0x29daac[_0x5a780d(0x229)]===_0x108a06&&_0x29daac[_0x5a780d(0x22b)]===_0x295bb[_0x5a780d(0x2f5)]()['chartId']&&_0xf45634();});_0x295bb['onDispose$'][_0x4e7e78(0x374)](()=>{const _0x380131=_0x4e7e78;_0x182190==null||_0x182190[_0x380131(0x255)](),_0x59e24b[_0x380131(0x255)](),this[_0x380131(0x3f3)][_0x380131(0x3fa)](_0x295bb);});}['_requestSnapshotForObject'](_0x3d14bc,_0x1f043f){const _0xa73028=_0x139398;let _0x61c368=this['_updateFrameStyle'](_0x3d14bc,_0x1f043f),_0x461b1f=R({'width':Math[_0xa73028(0x40f)](0x1,_0x1f043f[_0xa73028(0x18d)]),'height':Math[_0xa73028(0x40f)](0x1,_0x1f043f[_0xa73028(0x17d)])},_0x61c368);return this[_0xa73028(0x399)][_0xa73028(0x2b0)]({'unitId':_0x3d14bc,'chartId':_0x1f043f[_0xa73028(0x2f5)]()[_0xa73028(0x22b)],'width':_0x461b1f[_0xa73028(0x18d)],'height':_0x461b1f['height'],'mode':'main'});}['_updateFrameStyle'](_0x57c530,_0x366a13){const _0x41e2d0=_0x139398;let _0x17860b=this[_0x41e2d0(0x316)](_0x57c530,_0x366a13[_0x41e2d0(0x2f5)]());return _0x366a13[_0x41e2d0(0x16e)](_0x17860b),_0x17860b;}[_0x139398(0x316)](_0x47e2c4,_0x1a4495){const _0x2f561e=_0x139398;var _0x4646ff;let _0x456fb4=(_0x4646ff=this['_resourceService']['getChart'](_0x47e2c4,_0x1a4495[_0x2f561e(0x22b)]))==null?void 0x0:_0x4646ff[_0x2f561e(0x26b)];return L({'chartStyle':_0x456fb4,'chartElement':_0x1a4495,'hostFill':_0x456fb4?this['_renderService'][_0x2f561e(0x2b3)](_0x456fb4)[_0x2f561e(0x404)]:void 0x0,'isDarkMode':this[_0x2f561e(0x21a)]['darkMode']});}};Z=x([b(0x0,(0x0,n[_0x139398(0x237)])(n[_0x139398(0x25e)])),b(0x1,(0x0,n['Inject'])(H)),b(0x2,(0x0,n['Inject'])(i[_0x139398(0x22d)])),b(0x3,(0x0,n[_0x139398(0x237)])(B))],Z);function ze(_0x53a547){const _0x49209b=_0x139398;return _0x53a547[_0x49209b(0x1a1)]===e[_0x49209b(0x360)]['Chart'];}let Q=class{constructor(_0x1f0f68){const _0xab20f=_0x139398;this[_0xab20f(0x1b4)]=_0x1f0f68,y(this,_0xab20f(0x1cd),_0xab20f(0x2c5));}[_0x139398(0x296)](_0x3139f0){const _0x118a6f=_0x139398;let _0x11f29c={},_0x259f13={},_0x4ef715={};return _0x3139f0[_0x118a6f(0x3d2)]['forEach'](_0x884dad=>{const _0x32d1a8=_0x118a6f;if(!ze(_0x884dad))return;let _0x545714=this[_0x32d1a8(0x1b4)][_0x32d1a8(0x222)](_0x3139f0[_0x32d1a8(0x229)],_0x884dad[_0x32d1a8(0x22b)]),_0x404b8c=_0x545714?this['_resourceService']['getDataSource'](_0x3139f0['unitId'],_0x545714['dataSourceId']):void 0x0;!_0x545714||!_0x404b8c||(_0x11f29c[_0x545714['id']]=n['Tools']['deepClone'](_0x545714),_0x259f13[_0x404b8c['id']]=n['Tools']['deepClone'](_0x404b8c),_0x4ef715[_0x884dad['id']]=_0x545714['id']);}),Object[_0x118a6f(0x259)](_0x11f29c)[_0x118a6f(0x1b9)]===0x0?null:{'charts':_0x11f29c,'dataSources':_0x259f13,'chartIdByElementId':_0x4ef715};}[_0x139398(0x3d0)](_0x212dff){const _0x35e81f=_0x139398;if(!Be(_0x212dff[_0x35e81f(0x204)]))return null;let _0x20c668=_0x212dff[_0x35e81f(0x204)],_0x5f4f03=new Map();_0x212dff[_0x35e81f(0x389)][_0x35e81f(0x36f)]((_0xff4605,_0x557c3d)=>{const _0x5aa418=_0x35e81f;_0x5f4f03[_0x5aa418(0x196)](_0xff4605,_0x557c3d);});let _0x40009f=new Map(),_0x570257=new Map(),_0x4532fe=_0x212dff['elements'][_0x35e81f(0x281)](_0x36fcf1=>{const _0x3d06bd=_0x35e81f;if(!ze(_0x36fcf1))return _0x36fcf1;let _0xb816f8=_0x5f4f03['get'](_0x36fcf1['id']),_0x478ba1=_0xb816f8?_0x20c668[_0x3d06bd(0x2b7)][_0xb816f8]:void 0x0;if(!_0x478ba1||!_0x20c668[_0x3d06bd(0x409)][_0x478ba1])return _0x36fcf1;let _0x4e6939=_0x40009f[_0x3d06bd(0x30a)](_0x478ba1);return _0x4e6939||(_0x4e6939=(0x0,n[_0x3d06bd(0x1bb)])(0x6),_0x40009f[_0x3d06bd(0x196)](_0x478ba1,_0x4e6939)),{..._0x36fcf1,'chartId':_0x4e6939};});_0x40009f[_0x35e81f(0x36f)]((_0x4cd905,_0x5d5b12)=>{const _0x56e9bd=_0x35e81f;var _0x236ff0;let _0x1a69ea=(_0x236ff0=_0x20c668[_0x56e9bd(0x409)][_0x5d5b12])==null?void 0x0:_0x236ff0[_0x56e9bd(0x429)];_0x1a69ea&&!_0x570257[_0x56e9bd(0x228)](_0x1a69ea)&&_0x570257[_0x56e9bd(0x196)](_0x1a69ea,(0x0,n[_0x56e9bd(0x1bb)])(0x6));});let _0x2358bd=[];_0x570257[_0x35e81f(0x36f)]((_0x312952,_0x576f20)=>{const _0x5f43b1=_0x35e81f;let _0x57f254=_0x20c668[_0x5f43b1(0x391)][_0x576f20];_0x57f254&&_0x2358bd['push']({...n['Tools'][_0x5f43b1(0x224)](_0x57f254),'id':_0x312952,'values':_0x57f254['values']['map'](_0xadddfd=>[..._0xadddfd])});});let _0x4c0c30=[];return _0x40009f[_0x35e81f(0x36f)]((_0x4fb774,_0x309a61)=>{const _0x4d725b=_0x35e81f;let _0x9ebb18=_0x20c668[_0x4d725b(0x409)][_0x309a61],_0x27b3e4=_0x9ebb18?_0x570257[_0x4d725b(0x30a)](_0x9ebb18[_0x4d725b(0x429)]):void 0x0;!_0x9ebb18||!_0x27b3e4||_0x4c0c30[_0x4d725b(0x2b9)]({...n[_0x4d725b(0x1a8)][_0x4d725b(0x224)](_0x9ebb18),'id':_0x4fb774,'dataSourceId':_0x27b3e4});}),_0x4c0c30[_0x35e81f(0x1b9)]===0x0?null:{'elements':_0x4532fe,'redoMutations':[..._0x2358bd[_0x35e81f(0x281)](_0x329187=>({'id':i[_0x35e81f(0x3a9)]['id'],'params':{'unitId':_0x212dff['targetUnitId'],'dataSource':_0x329187}})),..._0x4c0c30[_0x35e81f(0x281)](_0x5a5536=>({'id':i[_0x35e81f(0x421)]['id'],'params':{'unitId':_0x212dff[_0x35e81f(0x36c)],'chart':_0x5a5536}}))],'undoMutations':[..._0x4c0c30[_0x35e81f(0x281)](_0x46703f=>({'id':i['RemoveBoardChartSnapshotMutation']['id'],'params':{'unitId':_0x212dff['targetUnitId'],'chartId':_0x46703f['id']}})),..._0x2358bd[_0x35e81f(0x281)](_0x11196b=>({'id':i[_0x35e81f(0x1ce)]['id'],'params':{'unitId':_0x212dff['targetUnitId'],'dataSourceId':_0x11196b['id']}}))]};}};Q=x([b(0x0,(0x0,n['Inject'])(i['BoardChartResourceService']))],Q);function Be(_0x4fa33a){const _0x21eb75=_0x139398;if(!_0x4fa33a||typeof _0x4fa33a!=_0x21eb75(0x2c9))return!0x1;let _0x373265=_0x4fa33a;return!!_0x373265[_0x21eb75(0x409)]&&!!_0x373265[_0x21eb75(0x391)]&&!!_0x373265[_0x21eb75(0x2b7)];}const Ve='UNIVER_BOARDS_CHART_UI_PLUGIN';let $=class extends n[_0x139398(0x1fc)]{constructor(_0x140bc5=h,_0x4effe7,_0x551b4e,_0x1db239){const _0x3207a9=_0x139398;super(),this[_0x3207a9(0x283)]=_0x140bc5,this['_injector']=_0x4effe7,this[_0x3207a9(0x310)]=_0x551b4e,this[_0x3207a9(0x2ee)]=_0x1db239,y(this,_0x3207a9(0x359),null);let {..._0x292d57}=(0x0,n['merge'])({},h,this[_0x3207a9(0x283)]);this[_0x3207a9(0x310)][_0x3207a9(0x2e1)](m,_0x292d57);}['onStarting'](){const _0x276d5c=_0x139398;this[_0x276d5c(0x38e)](this[_0x276d5c(0x388)][_0x276d5c(0x30a)](n['ICommandService'])[_0x276d5c(0x210)](ie)),[[B],[H],[D,{'useClass':O}],[N],[w],[J],[Z],[Q],[W],[Y]][_0x276d5c(0x36f)](_0x3faf3a=>this[_0x276d5c(0x388)]['add'](_0x3faf3a)),(0x0,n[_0x276d5c(0x270)])(this[_0x276d5c(0x388)],[[B],[H],[D],[N],[w],[J]]),this[_0x276d5c(0x388)][_0x276d5c(0x30a)](Y);let _0x3c99f8=this[_0x276d5c(0x388)]['get'](Z);this[_0x276d5c(0x359)]=_0x3c99f8,this[_0x276d5c(0x24a)](_0x3c99f8),this[_0x276d5c(0x38e)]((0x0,n['toDisposable'])(()=>{const _0x11fe95=_0x276d5c;this[_0x11fe95(0x1ed)](_0x3c99f8),this[_0x11fe95(0x359)]=null;}));let _0x1826ea=this['_injector']['get'](t[_0x276d5c(0x340)]);this[_0x276d5c(0x38e)](_0x1826ea[_0x276d5c(0x21b)](this[_0x276d5c(0x388)]['get'](Q))),this[_0x276d5c(0x38e)](this[_0x276d5c(0x388)][_0x276d5c(0x30a)](W));}[_0x139398(0x22e)](){const _0x13ace1=_0x139398;this['disposeWithMe'](this[_0x13ace1(0x2ee)][_0x13ace1(0x35c)](n[_0x13ace1(0x2e3)]['UNIVER_BOARD'],M)),this[_0x13ace1(0x38e)](this[_0x13ace1(0x2ee)][_0x13ace1(0x35c)](n['UniverInstanceType'][_0x13ace1(0x18e)],U)),this[_0x13ace1(0x38e)](this['_renderManagerService'][_0x13ace1(0x35c)](n[_0x13ace1(0x2e3)][_0x13ace1(0x18e)],V)),this[_0x13ace1(0x38e)](this[_0x13ace1(0x2ee)]['registerRenderModule'](n[_0x13ace1(0x2e3)][_0x13ace1(0x18e)],j));}[_0x139398(0x24a)](_0x578722){const _0x1bd199=_0x139398;var _0xbf2477,_0x10c995;let _0x4e370b=this[_0x1bd199(0x339)](),_0x53840c=_0x4e370b[_0x1bd199(0x3bf)]??[];_0x53840c[_0x1bd199(0x236)](_0x578722)||this[_0x1bd199(0x310)][_0x1bd199(0x2e1)](t['BOARDS_UI_PLUGIN_CONFIG_KEY'],{..._0x4e370b,'additionalRenderAdapters':[..._0x53840c,_0x578722],'toolbar':{..._0x4e370b[_0x1bd199(0x1f1)],'tools':{...(_0xbf2477=_0x4e370b[_0x1bd199(0x1f1)])==null?void 0x0:_0xbf2477['tools'],[e[_0x1bd199(0x2a6)][_0x1bd199(0x33e)]]:He((_0x10c995=_0x4e370b[_0x1bd199(0x1f1)])==null||(_0x10c995=_0x10c995[_0x1bd199(0x1ea)])==null?void 0x0:_0x10c995[e[_0x1bd199(0x2a6)][_0x1bd199(0x33e)]])}}});}['_removeRenderAdapter'](_0x2e4ecc){const _0x384efb=_0x139398;var _0x3ea211;let _0x17a8d4=this[_0x384efb(0x339)](),_0x4add9c=(_0x3ea211=_0x17a8d4[_0x384efb(0x3bf)])==null?void 0x0:_0x3ea211[_0x384efb(0x2c0)](_0x5c2dad=>_0x5c2dad!==_0x2e4ecc);this[_0x384efb(0x310)][_0x384efb(0x2e1)](t[_0x384efb(0x407)],{..._0x17a8d4,'additionalRenderAdapters':_0x4add9c});}['_getBoardsUIConfig'](){const _0x19553d=_0x139398;return this[_0x19553d(0x310)]['getConfig'](t[_0x19553d(0x407)])??{};}};y($,_0x139398(0x347),Ve),y($,'packageName',Ce),y($,'version',we),y($,_0x139398(0x1a1),n[_0x139398(0x2e3)][_0x139398(0x18e)]),$=x([(0x0,n['DependentOn'])(f[_0x139398(0x2b2)],p[_0x139398(0x2a4)],e[_0x139398(0x371)],a[_0x139398(0x1bf)],i[_0x139398(0x249)],t[_0x139398(0x385)]),b(0x1,(0x0,n[_0x139398(0x237)])(n['Injector'])),b(0x2,n['IConfigService']),b(0x3,p[_0x139398(0x422)])],$);function He(_0x35d566){const _0x4481f0=_0x139398;return _0x35d566===!0x1?!0x1:typeof _0x35d566!=_0x4481f0(0x2c9)||{..._0x35d566,'enabled':_0x35d566[_0x4481f0(0x19e)]??!0x0};}exports[_0x139398(0x36d)]=m,exports[_0x139398(0x377)]=Ve,exports[_0x139398(0x342)]=0x0,Object[_0x139398(0x176)](exports,_0x139398(0x2f7),{'enumerable':!0x0,'get':function(){return Q;}}),Object['defineProperty'](exports,'BoardChartDataEditService',{'enumerable':!0x0,'get':function(){return N;}}),Object[_0x139398(0x176)](exports,_0x139398(0x21d),{'enumerable':!0x0,'get':function(){return w;}}),Object['defineProperty'](exports,_0x139398(0x29c),{'enumerable':!0x0,'get':function(){return j;}}),Object[_0x139398(0x176)](exports,_0x139398(0x2ac),{'enumerable':!0x0,'get':function(){return M;}}),Object[_0x139398(0x176)](exports,'BoardChartPanelController',{'enumerable':!0x0,'get':function(){return V;}}),Object[_0x139398(0x176)](exports,_0x139398(0x1c1),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x139398(0x176)](exports,'BoardChartRenderService',{'enumerable':!0x0,'get':function(){return B;}}),Object[_0x139398(0x176)](exports,_0x139398(0x246),{'enumerable':!0x0,'get':function(){return U;}}),Object[_0x139398(0x176)](exports,'BoardChartSnapshotRefreshController',{'enumerable':!0x0,'get':function(){return W;}}),Object[_0x139398(0x176)](exports,'BoardChartSnapshotRenderService',{'enumerable':!0x0,'get':function(){return H;}}),Object[_0x139398(0x176)](exports,_0x139398(0x323),{'enumerable':!0x0,'get':function(){return O;}}),exports[_0x139398(0x26e)]=_e,exports[_0x139398(0x230)]=be,exports[_0x139398(0x2ba)]=D,Object[_0x139398(0x176)](exports,'UniverBoardsChartUIPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x139398(0x1f6)]=He,exports['resolveBoardChartSnapshotStyle']=xe;
|
|
1
|
+
const _0x5c3e77=_0x1449;(function(_0x36c183,_0x5867c5){const _0x5da216=_0x1449,_0x1cd474=_0x36c183();while(!![]){try{const _0x779ede=parseInt(_0x5da216(0x212))/0x1*(parseInt(_0x5da216(0x2fe))/0x2)+parseInt(_0x5da216(0x204))/0x3+-parseInt(_0x5da216(0x29a))/0x4+-parseInt(_0x5da216(0x1c9))/0x5+parseInt(_0x5da216(0x2ba))/0x6*(parseInt(_0x5da216(0x25f))/0x7)+-parseInt(_0x5da216(0x239))/0x8+parseInt(_0x5da216(0x426))/0x9*(-parseInt(_0x5da216(0x2ef))/0xa);if(_0x779ede===_0x5867c5)break;else _0x1cd474['push'](_0x1cd474['shift']());}catch(_0x1a3124){_0x1cd474['push'](_0x1cd474['shift']());}}}(_0x5206,0x252d9),Object[_0x5c3e77(0x3dd)](exports,Symbol[_0x5c3e77(0x2e3)],{'value':_0x5c3e77(0x33d)}));let e=require('@univerjs-pro/boards'),t=require('@univerjs-pro/boards-ui'),n=require('@univerjs/core'),r=require('rxjs'),i=require('@univerjs-pro/boards-chart'),a=require('@univerjs-pro/chart-ui'),o=require('@univerjs/design'),s=require('@univerjs/icons'),c=require('@univerjs/ui'),l=require('react'),u=require('@univerjs-pro/engine-chart'),d=require('react/jsx-runtime'),f=require('@univerjs-pro/license'),p=require('@univerjs/engine-render');const m=_0x5c3e77(0x367),h={};function g(_0x137567){'@babel/helpers - typeof';const _0x4346f2=_0x5c3e77;return g=typeof Symbol==_0x4346f2(0x2df)&&typeof Symbol[_0x4346f2(0x2d6)]==_0x4346f2(0x224)?function(_0x45acea){return typeof _0x45acea;}:function(_0x132a1f){const _0x162514=_0x4346f2;return _0x132a1f&&typeof Symbol==_0x162514(0x2df)&&_0x132a1f[_0x162514(0x3aa)]===Symbol&&_0x132a1f!==Symbol[_0x162514(0x3b8)]?_0x162514(0x224):typeof _0x132a1f;},g(_0x137567);}function _(_0x332e15,_0x52619c){const _0x3ddf83=_0x5c3e77;if(g(_0x332e15)!=_0x3ddf83(0x2ce)||!_0x332e15)return _0x332e15;var _0x38fe11=_0x332e15[Symbol[_0x3ddf83(0x2af)]];if(_0x38fe11!==void 0x0){var _0x6fdf76=_0x38fe11['call'](_0x332e15,_0x52619c||_0x3ddf83(0x350));if(g(_0x6fdf76)!=_0x3ddf83(0x2ce))return _0x6fdf76;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x52619c===_0x3ddf83(0x31b)?String:Number)(_0x332e15);}function v(_0xa1619b){const _0x401488=_0x5c3e77;var _0x59520c=_(_0xa1619b,'string');return g(_0x59520c)==_0x401488(0x224)?_0x59520c:_0x59520c+'';}function y(_0x3e664b,_0x2b5597,_0x4ea347){return(_0x2b5597=v(_0x2b5597))in _0x3e664b?Object['defineProperty'](_0x3e664b,_0x2b5597,{'value':_0x4ea347,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e664b[_0x2b5597]=_0x4ea347,_0x3e664b;}function b(_0x45f49b,_0x10cb66){return function(_0x2b8290,_0x14a3ca){_0x10cb66(_0x2b8290,_0x14a3ca,_0x45f49b);};}function x(_0x1a1aee,_0x3d6e95,_0x3522c5,_0x2f5d04){const _0x563a33=_0x5c3e77;var _0x390fd8=arguments[_0x563a33(0x1e8)],_0x2844d6=_0x390fd8<0x3?_0x3d6e95:_0x2f5d04===null?_0x2f5d04=Object[_0x563a33(0x202)](_0x3d6e95,_0x3522c5):_0x2f5d04,_0x5b2304;if(typeof Reflect==_0x563a33(0x2ce)&&typeof Reflect[_0x563a33(0x255)]==_0x563a33(0x2df))_0x2844d6=Reflect[_0x563a33(0x255)](_0x1a1aee,_0x3d6e95,_0x3522c5,_0x2f5d04);else{for(var _0x343261=_0x1a1aee['length']-0x1;_0x343261>=0x0;_0x343261--)(_0x5b2304=_0x1a1aee[_0x343261])&&(_0x2844d6=(_0x390fd8<0x3?_0x5b2304(_0x2844d6):_0x390fd8>0x3?_0x5b2304(_0x3d6e95,_0x3522c5,_0x2844d6):_0x5b2304(_0x3d6e95,_0x3522c5))||_0x2844d6);}return _0x390fd8>0x3&&_0x2844d6&&Object['defineProperty'](_0x3d6e95,_0x3522c5,_0x2844d6),_0x2844d6;}function S(_0x25382c,_0x3c23c3){const _0x2d8047=_0x5c3e77;return(_0x25382c==null?void 0x0:_0x25382c[_0x2d8047(0x333)])===(_0x3c23c3==null?void 0x0:_0x3c23c3[_0x2d8047(0x333)])&&(_0x25382c==null?void 0x0:_0x25382c[_0x2d8047(0x2ca)])===(_0x3c23c3==null?void 0x0:_0x3c23c3[_0x2d8047(0x2ca)])&&(_0x25382c==null?void 0x0:_0x25382c[_0x2d8047(0x3ec)])===(_0x3c23c3==null?void 0x0:_0x3c23c3[_0x2d8047(0x3ec)])&&(_0x25382c==null?void 0x0:_0x25382c['axisId'])===(_0x3c23c3==null?void 0x0:_0x3c23c3['axisId'])&&(_0x25382c==null?void 0x0:_0x25382c[_0x2d8047(0x22c)])===(_0x3c23c3==null?void 0x0:_0x3c23c3[_0x2d8047(0x22c)]);}function C(_0x3a9a2f,_0x4d0be8){const _0x681219=_0x5c3e77;return(_0x3a9a2f==null?void 0x0:_0x3a9a2f[_0x681219(0x3cd)])===_0x4d0be8[_0x681219(0x3cd)]&&_0x3a9a2f['subUnitId']===_0x4d0be8['subUnitId']&&_0x3a9a2f['elementId']===_0x4d0be8[_0x681219(0x2d3)]&&_0x3a9a2f['chartId']===_0x4d0be8['chartId']&&_0x3a9a2f[_0x681219(0x2a9)]===_0x4d0be8[_0x681219(0x2a9)]&&S(_0x3a9a2f[_0x681219(0x273)],_0x4d0be8[_0x681219(0x273)]);}let w=class extends n[_0x5c3e77(0x375)]{constructor(_0x1a3d3e,_0x42f83f){const _0x280d06=_0x5c3e77;super(),this[_0x280d06(0x2b2)]=_0x1a3d3e,this[_0x280d06(0x1b7)]=_0x42f83f,y(this,_0x280d06(0x1ab),new r[(_0x280d06(0x2f4))](null)),y(this,_0x280d06(0x400),this[_0x280d06(0x1ab)]['asObservable']()),this[_0x280d06(0x1b3)](this[_0x280d06(0x2b2)][_0x280d06(0x2cc)][_0x280d06(0x2d9)](_0x5e625c=>this[_0x280d06(0x1dc)](_0x5e625c))),this['disposeWithMe'](this['_boardElementService']['elementRemove$'][_0x280d06(0x2d9)](_0x19e4d7=>{const _0x1b7a39=_0x280d06;let _0x391bdb=this['getActiveSession']();_0x391bdb&&_0x19e4d7[_0x1b7a39(0x41b)](_0x2c376a=>_0x2c376a[_0x1b7a39(0x3cd)]===_0x391bdb['unitId']&&_0x2c376a[_0x1b7a39(0x2cd)]===_0x391bdb[_0x1b7a39(0x2cd)]&&_0x2c376a[_0x1b7a39(0x2d3)]===_0x391bdb[_0x1b7a39(0x2d3)])&&this[_0x1b7a39(0x372)]('elementRemoved');}));}[_0x5c3e77(0x3f9)](){const _0x2d1657=_0x5c3e77;this[_0x2d1657(0x372)](_0x2d1657(0x3f9)),this['_activeSession$'][_0x2d1657(0x43d)](),super[_0x2d1657(0x3f9)]();}['getActiveSession'](){return this['_activeSession$']['getValue']();}[_0x5c3e77(0x36b)](_0x132e11){const _0x4e6ac8=_0x5c3e77;let _0x430197={..._0x132e11};C(this[_0x4e6ac8(0x3b5)](),_0x430197)||this['_activeSession$'][_0x4e6ac8(0x20b)](_0x430197);}[_0x5c3e77(0x372)](_0x1a73c9){const _0x45f77b=_0x5c3e77;this[_0x45f77b(0x3b5)]()&&this['_activeSession$']['next'](null);}[_0x5c3e77(0x1dc)](_0x2f9743){const _0x37fd60=_0x5c3e77;let _0x3ec5c2=this[_0x37fd60(0x3b5)]();if(!_0x3ec5c2)return;if(_0x2f9743['isTransforming']){this['close'](_0x37fd60(0x277));return;}if(!_0x2f9743[_0x37fd60(0x364)]){this['close'](_0x37fd60(0x36e));return;}if(_0x2f9743[_0x37fd60(0x364)][_0x37fd60(0x3cd)]!==_0x3ec5c2['unitId']){this[_0x37fd60(0x372)](_0x37fd60(0x36e));return;}if(_0x2f9743[_0x37fd60(0x364)][_0x37fd60(0x2cd)]!==_0x3ec5c2[_0x37fd60(0x2cd)]){this['close'](_0x37fd60(0x305));return;}if(_0x2f9743[_0x37fd60(0x42a)][_0x37fd60(0x1e8)]!==0x1||_0x2f9743[_0x37fd60(0x439)]!==_0x3ec5c2['elementId']){this['close'](_0x37fd60(0x36e));return;}let _0x383362=this[_0x37fd60(0x1b7)][_0x37fd60(0x222)](_0x3ec5c2[_0x37fd60(0x3cd)],_0x3ec5c2[_0x37fd60(0x2cd)],_0x3ec5c2[_0x37fd60(0x2d3)]);(!_0x383362||_0x383362[_0x37fd60(0x27b)][_0x37fd60(0x2b8)]!==e[_0x37fd60(0x41a)][_0x37fd60(0x318)]||_0x383362[_0x37fd60(0x27b)]['chartId']!==_0x3ec5c2[_0x37fd60(0x1ca)])&&this[_0x37fd60(0x372)]('selectionChange');}};w=x([b(0x0,t[_0x5c3e77(0x18f)]),b(0x1,e[_0x5c3e77(0x20e)])],w);const T=new Set([u[_0x5c3e77(0x3d6)][_0x5c3e77(0x37c)],u['ChartTypeBits'][_0x5c3e77(0x28b)],u['ChartTypeBits']['BarStacked'],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x31d)],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x270)],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x388)],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x313)],u[_0x5c3e77(0x3d6)]['Pareto']]),E=a[_0x5c3e77(0x327)][_0x5c3e77(0x419)](_0x1f9688=>!T[_0x5c3e77(0x1d4)](_0x1f9688['value'])),D=(0x0,n[_0x5c3e77(0x21c)])('board-chart.ui.service');let O=class extends a[_0x5c3e77(0x42e)]{constructor(_0x4e5cb1,_0x4bf271,_0x17794f,_0x4fdf73){const _0x10e87b=_0x5c3e77;super(_0x4fdf73),this[_0x10e87b(0x18e)]=_0x4e5cb1,this[_0x10e87b(0x441)]=_0x4bf271,this['_commandService']=_0x17794f;}get[_0x5c3e77(0x218)](){const _0x39b839=_0x5c3e77;return this[_0x39b839(0x18e)][_0x39b839(0x218)];}get[_0x5c3e77(0x3e7)](){return this['_modelService']['activeRuntimeModel$'];}get[_0x5c3e77(0x1ef)](){return this['_resourceService'];}[_0x5c3e77(0x3e9)](_0x194729){const _0x551bef=_0x5c3e77;let _0x26be2e=this[_0x551bef(0x18e)]['activeRuntimeModel'],_0xb7bef6=_0x194729['unitId']??(_0x26be2e==null?void 0x0:_0x26be2e[_0x551bef(0x3cd)]),_0x5b697b=_0x194729[_0x551bef(0x1ca)]??(_0x26be2e==null?void 0x0:_0x26be2e[_0x551bef(0x1ca)]);!_0xb7bef6||!_0x5b697b||this[_0x551bef(0x2f1)][_0x551bef(0x1c7)](i[_0x551bef(0x1b8)]['id'],{..._0x194729,'unitId':_0xb7bef6,'chartId':_0x5b697b});}};O=x([b(0x0,(0x0,n[_0x5c3e77(0x3ba)])(i[_0x5c3e77(0x2f9)])),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(i['BoardChartResourceService'])),b(0x2,n[_0x5c3e77(0x29f)]),b(0x3,(0x0,n[_0x5c3e77(0x3ba)])(a[_0x5c3e77(0x41d)]))],O);const ee=_0x5c3e77(0x27f);function te(_0x53e231){const _0x216fa0=_0x5c3e77;_0x53e231[_0x216fa0(0x411)]();}function ne(_0x290a42){const _0x1f4fad=_0x5c3e77;let _0x3c091c=(0x0,c[_0x1f4fad(0x200)])(n[_0x1f4fad(0x29f)]),_0x4f79e5=(0x0,c[_0x1f4fad(0x200)])(n[_0x1f4fad(0x1c0)]),_0x52736a=(0x0,c[_0x1f4fad(0x200)])(i[_0x1f4fad(0x2f9)]),_0x552c53=(0x0,c['useDependency'])(w),_0x12b025=(0x0,a[_0x1f4fad(0x244)])(_0x290a42[_0x1f4fad(0x194)]),{extraProps:_0x181ba3}=_0x290a42;return(0x0,d['jsxs'])('div',{'className':(0x0,o['clsx'])(_0x1f4fad(0x306),o[_0x1f4fad(0x2a8)]),'data-u-comp':_0x1f4fad(0x425),'role':_0x1f4fad(0x2de),'onMouseDown':te,'onPointerDown':te,'children':[(0x0,d[_0x1f4fad(0x340)])(o[_0x1f4fad(0x24e)],{'aria-label':_0x4f79e5['t'](_0x1f4fad(0x18c)),'className':_0x1f4fad(0x24f),'value':_0x12b025[_0x1f4fad(0x2e4)],'options':_0x290a42[_0x1f4fad(0x194)],'onChange':_0x5ee986=>{const _0x1e80cc=_0x1f4fad;_0x52736a[_0x1e80cc(0x2b4)](_0x181ba3[_0x1e80cc(0x3cd)],_0x181ba3[_0x1e80cc(0x1ca)]),_0x12b025['setValue'](_0x5ee986);}}),(0x0,d['jsx'])(o['Separator'],{'orientation':_0x1f4fad(0x188)}),(0x0,d[_0x1f4fad(0x340)])(o[_0x1f4fad(0x25b)],{'size':_0x1f4fad(0x1e0),'variant':'ghost','type':_0x1f4fad(0x1c1),'aria-label':_0x4f79e5['t'](_0x1f4fad(0x414)),'title':_0x4f79e5['t']('boards-chart-ui.common.editChart'),'data-toolbar-item':_0x1f4fad(0x3e2),'onClick':()=>{const _0x17bc93=_0x1f4fad;_0x552c53['open']({'chartId':_0x181ba3[_0x17bc93(0x1ca)],'elementId':_0x181ba3['elementId'],'source':_0x17bc93(0x32b),'subUnitId':_0x181ba3[_0x17bc93(0x2cd)],'unitId':_0x181ba3[_0x17bc93(0x3cd)]});},'children':(0x0,d['jsx'])(s[_0x1f4fad(0x19e)],{})}),(0x0,d['jsx'])(o[_0x1f4fad(0x25b)],{'size':_0x1f4fad(0x1e0),'variant':_0x1f4fad(0x342),'type':_0x1f4fad(0x1c1),'aria-label':_0x4f79e5['t'](_0x1f4fad(0x3f3)),'title':_0x4f79e5['t'](_0x1f4fad(0x3f3)),'data-toolbar-item':'delete-chart','onClick':()=>_0x3c091c[_0x1f4fad(0x1c7)](t[_0x1f4fad(0x3bb)]['id']),'children':(0x0,d['jsx'])(s[_0x1f4fad(0x3f2)],{})})]});}function re(_0x4e68a8){const _0x2e5f49=_0x5c3e77;let _0x279f42=(0x0,c[_0x2e5f49(0x200)])(n['Injector']),_0x30068c=(0x0,c['useDependency'])(n[_0x2e5f49(0x256)]),_0x1a19fd=(0x0,c[_0x2e5f49(0x200)])(n[_0x2e5f49(0x1c0)]),_0x15c647=(0x0,c[_0x2e5f49(0x200)])(i[_0x2e5f49(0x2f9)]),_0x381933=(0x0,c[_0x2e5f49(0x200)])(D),_0x4ff36c=(0x0,l[_0x2e5f49(0x373)])(()=>_0x15c647[_0x2e5f49(0x3fb)](_0x4e68a8[_0x2e5f49(0x3cd)],_0x4e68a8['chartId']),[_0x4e68a8[_0x2e5f49(0x1ca)],_0x4e68a8[_0x2e5f49(0x3cd)],_0x15c647]),_0x3d8af6=(0x0,l[_0x2e5f49(0x373)])(()=>{const _0x2eae17=_0x2e5f49;let _0x1a7ba8=_0x30068c[_0x2eae17(0x232)](_0x4e68a8[_0x2eae17(0x3cd)],n[_0x2eae17(0x25c)][_0x2eae17(0x374)]);return!_0x4ff36c||!_0x1a7ba8?null:new a[(_0x2eae17(0x278))](_0x4ff36c['model'],new i['BoardChartConfigAdapter']({'unitId':_0x4e68a8['unitId'],'pageId':_0x4e68a8[_0x2eae17(0x2cd)],'chartId':_0x4e68a8[_0x2eae17(0x1ca)],'elementId':_0x4e68a8[_0x2eae17(0x2d3)],'boardModel':_0x1a7ba8,'injector':_0x279f42}));},[_0x4e68a8,_0x279f42,_0x4ff36c,_0x30068c]),_0x40a36d=(0x0,l[_0x2e5f49(0x373)])(()=>(0x0,a[_0x2e5f49(0x3ca)])(E[_0x2e5f49(0x1d0)](_0x2ffe5d=>({..._0x2ffe5d,'label':_0x1a19fd['t'](_0x2e5f49(0x3f0)+_0x2ffe5d[_0x2e5f49(0x1fc)])}))),[_0x1a19fd]);return!_0x4ff36c||!_0x3d8af6?null:(0x0,d[_0x2e5f49(0x340)])(a[_0x2e5f49(0x3a5)],{'chartUIService':_0x381933,'hostAdapter':_0x3d8af6,'children':(0x0,d[_0x2e5f49(0x340)])(ne,{'extraProps':_0x4e68a8,'typeOptions':_0x40a36d})});}function ie(_0x4dfbea){const _0x4fb754=_0x5c3e77;let _0x4cde29=_0x4dfbea['popup'][_0x4fb754(0x3fc)];return _0x4cde29?(0x0,d[_0x4fb754(0x340)])(re,{..._0x4cde29}):null;}let k=class extends n[_0x5c3e77(0x21d)]{constructor(_0x5f47f1,_0x1c411b,_0x5ac010,_0x5b8d86,_0x5b4355,_0x195fdf,_0x444f62){const _0x63aad1=_0x5c3e77;super(),this[_0x63aad1(0x2f0)]=_0x5f47f1,this[_0x63aad1(0x294)]=_0x1c411b,this[_0x63aad1(0x1b7)]=_0x5ac010,this[_0x63aad1(0x2b2)]=_0x5b8d86,this[_0x63aad1(0x190)]=_0x5b4355,this[_0x63aad1(0x1ed)]=_0x195fdf,this[_0x63aad1(0x205)]=_0x444f62,y(this,_0x63aad1(0x1df),null),y(this,_0x63aad1(0x2e0),null),this['_init']();}[_0x5c3e77(0x3f9)](){this['_clearPopup'](),super['dispose']();}[_0x5c3e77(0x1da)](){const _0x4330b8=_0x5c3e77;let _0x3d329c=this['_renderContext'][_0x4330b8(0x415)][_0x4330b8(0x36c)]();this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(_0x3d329c[_0x4330b8(0x3b0)][_0x4330b8(0x2bb)]((0x0,r[_0x4330b8(0x250)])(this[_0x4330b8(0x432)]))[_0x4330b8(0x2d9)](()=>{this['_showPopupForSelection']();}))),this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(_0x3d329c['clearControl$'][_0x4330b8(0x2bb)]((0x0,r[_0x4330b8(0x250)])(this[_0x4330b8(0x432)]))[_0x4330b8(0x2d9)](()=>{this['_clearPopupIfSelectionChanged']();}))),this[_0x4330b8(0x1b3)]((0x0,n['toDisposable'])(_0x3d329c[_0x4330b8(0x404)]['pipe']((0x0,r[_0x4330b8(0x250)])(this['dispose$']))[_0x4330b8(0x2d9)](()=>{const _0x27bbad=_0x4330b8;this[_0x27bbad(0x3d0)]();}))),this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(_0x3d329c[_0x4330b8(0x381)][_0x4330b8(0x2bb)]((0x0,r[_0x4330b8(0x250)])(this[_0x4330b8(0x432)]))[_0x4330b8(0x2d9)](()=>{const _0x11e9c5=_0x4330b8;setTimeout(()=>this[_0x11e9c5(0x307)](),0x0);}))),this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(this[_0x4330b8(0x2b2)][_0x4330b8(0x2cc)][_0x4330b8(0x2bb)]((0x0,r['takeUntil'])(this['dispose$']))[_0x4330b8(0x2d9)](()=>{const _0x3fd960=_0x4330b8;setTimeout(()=>this[_0x3fd960(0x307)](),0x0);}))),this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(this[_0x4330b8(0x190)][_0x4330b8(0x2cc)]['pipe']((0x0,r['takeUntil'])(this['dispose$']))[_0x4330b8(0x2d9)](()=>{const _0x1d5640=_0x4330b8;setTimeout(()=>this[_0x1d5640(0x307)](),0x0);}))),this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(this['_editSessionService'][_0x4330b8(0x400)][_0x4330b8(0x2bb)]((0x0,r[_0x4330b8(0x250)])(this['dispose$']))[_0x4330b8(0x2d9)](_0x1e1075=>{const _0x117ad8=_0x4330b8;if(_0x1e1075){this['_clearPopup']();return;}setTimeout(()=>this[_0x117ad8(0x307)](),0x0);}))),this[_0x4330b8(0x1b3)]((0x0,n[_0x4330b8(0x262)])(this[_0x4330b8(0x205)]['interactionSurfaceActive$'][_0x4330b8(0x2bb)]((0x0,r[_0x4330b8(0x250)])(this[_0x4330b8(0x432)]))['subscribe'](_0x37cc72=>{const _0x44ac4e=_0x4330b8;if(_0x37cc72){this['_clearPopup']();return;}setTimeout(()=>this[_0x44ac4e(0x307)](),0x0);})));}[_0x5c3e77(0x3d0)](){const _0x523db9=_0x5c3e77;var _0x4d84e5;(_0x4d84e5=this[_0x523db9(0x1df)])==null||_0x4d84e5[_0x523db9(0x3f9)](),this[_0x523db9(0x1df)]=null,this[_0x523db9(0x2e0)]=null;}['_clearPopupIfSelectionChanged'](){setTimeout(()=>{const _0xa87800=_0x1449;this[_0xa87800(0x42c)]()||this[_0xa87800(0x3d0)]();},0x0);}[_0x5c3e77(0x42c)](){const _0x342135=_0x5c3e77;let _0x3d9430=this['_elementStateService']['getSnapshot']();return!_0x3d9430[_0x342135(0x364)]||_0x3d9430['selectedIds'][_0x342135(0x1e8)]!==0x1?!0x1:this[_0x342135(0x2e0)]===this[_0x342135(0x34c)](_0x3d9430[_0x342135(0x364)][_0x342135(0x3cd)],_0x3d9430['context'][_0x342135(0x2cd)],_0x3d9430[_0x342135(0x42a)][0x0]);}['_buildPopupSelectionKey'](_0x3ace50,_0x45a0fe,_0x41704e){return _0x3ace50+':'+_0x45a0fe+':'+_0x41704e;}['_showPopupForSelection'](){const _0x4c9cbe=_0x5c3e77;if(this[_0x4c9cbe(0x205)][_0x4c9cbe(0x2f5)]||this[_0x4c9cbe(0x1ed)][_0x4c9cbe(0x3b5)]()){this[_0x4c9cbe(0x3d0)]();return;}let _0x316f33=this[_0x4c9cbe(0x2b2)]['getSnapshot'](),_0x14c6fa=this['_uiStateService'][_0x4c9cbe(0x2e6)]();if(_0x316f33[_0x4c9cbe(0x36d)]||_0x14c6fa['pendingInsert']||_0x14c6fa[_0x4c9cbe(0x351)]!==null&&_0x14c6fa[_0x4c9cbe(0x351)]!==e[_0x4c9cbe(0x1a9)]['Select']||!_0x316f33[_0x4c9cbe(0x364)]||_0x316f33[_0x4c9cbe(0x364)][_0x4c9cbe(0x3cd)]!==this['_renderContext'][_0x4c9cbe(0x3cd)]||_0x316f33[_0x4c9cbe(0x42a)][_0x4c9cbe(0x1e8)]!==0x1||_0x316f33[_0x4c9cbe(0x439)]==null){this[_0x4c9cbe(0x3d0)]();return;}let _0x7b866d=this[_0x4c9cbe(0x1b7)][_0x4c9cbe(0x222)](_0x316f33[_0x4c9cbe(0x364)][_0x4c9cbe(0x3cd)],_0x316f33[_0x4c9cbe(0x364)][_0x4c9cbe(0x2cd)],_0x316f33[_0x4c9cbe(0x439)]);if(!_0x7b866d||_0x7b866d['element'][_0x4c9cbe(0x2b8)]!==e[_0x4c9cbe(0x41a)][_0x4c9cbe(0x318)]){this[_0x4c9cbe(0x3d0)]();return;}let _0x5d6c27=this[_0x4c9cbe(0x24a)](_0x7b866d);if(!_0x5d6c27){this[_0x4c9cbe(0x3d0)]();return;}let _0x35459b=this[_0x4c9cbe(0x34c)](_0x7b866d[_0x4c9cbe(0x3cd)],_0x7b866d['subUnitId'],_0x7b866d[_0x4c9cbe(0x2d3)]);this[_0x4c9cbe(0x1df)]&&this[_0x4c9cbe(0x2e0)]===_0x35459b||(this[_0x4c9cbe(0x3d0)](),this['_popupDisposable']=this['disposeWithMe'](this[_0x4c9cbe(0x294)][_0x4c9cbe(0x266)](_0x7b866d[_0x4c9cbe(0x3cd)],_0x7b866d[_0x4c9cbe(0x2cd)],_0x5d6c27,{'componentKey':ee,'direction':'top-center','offset':[0x0,0x24],'anchorBoundResolver':t[_0x4c9cbe(0x1a3)],'extraProps':{'unitId':_0x7b866d[_0x4c9cbe(0x3cd)],'subUnitId':_0x7b866d[_0x4c9cbe(0x2cd)],'elementId':_0x7b866d['elementId'],'chartId':_0x7b866d[_0x4c9cbe(0x27b)][_0x4c9cbe(0x1ca)]}})),this[_0x4c9cbe(0x2e0)]=_0x35459b);}[_0x5c3e77(0x24a)](_0x50d5be){const _0x48a09e=_0x5c3e77;var _0x21cf49;let _0x4fb2d5=(0x0,t[_0x48a09e(0x299)])(_0x50d5be[_0x48a09e(0x3cd)],_0x50d5be[_0x48a09e(0x2d3)]),_0xc8bdc4=this[_0x48a09e(0x2f0)][_0x48a09e(0x415)];return((_0x21cf49=_0xc8bdc4[_0x48a09e(0x30c)])==null?void 0x0:_0x21cf49['call'](_0xc8bdc4,_0x4fb2d5))??_0xc8bdc4['getObject'](_0x4fb2d5)??null;}};k=x([b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(t[_0x5c3e77(0x3c1)])),b(0x2,e['IBoardElementService']),b(0x3,t['IBoardElementStateService']),b(0x4,t[_0x5c3e77(0x2bf)]),b(0x5,(0x0,n['Inject'])(w)),b(0x6,(0x0,n[_0x5c3e77(0x3ba)])(t['BoardInteractionSurfaceService']))],k);let A=class extends n[_0x5c3e77(0x21d)]{constructor(_0x509545,_0x5e7e99,_0x46c1ce,_0x236b73,_0x2e6bdb,_0x1021d5){const _0x622732=_0x5c3e77;super(),this[_0x622732(0x2f0)]=_0x509545,this[_0x622732(0x311)]=_0x5e7e99,this['_boardElementService']=_0x46c1ce,this['_elementStateService']=_0x236b73,this[_0x622732(0x190)]=_0x2e6bdb,this[_0x622732(0x1ed)]=_0x1021d5,y(this,_0x622732(0x276),!0x1),y(this,'_objectDblclickDisposables',null),this[_0x622732(0x1da)]();}[_0x5c3e77(0x1da)](){const _0x175a39=_0x5c3e77;let {unitId:_0x19b7e6}=this[_0x175a39(0x2f0)],_0x24c472=this[_0x175a39(0x311)]['getUnit'](_0x19b7e6,n['UniverInstanceType'][_0x175a39(0x374)]);this['disposeWithMe']((0x0,n['toDisposable'])(()=>{const _0x3825cb=_0x175a39;var _0x334ce4;return(_0x334ce4=this[_0x3825cb(0x283)])==null?void 0x0:_0x334ce4[_0x3825cb(0x3f9)]();})),_0x24c472&&(this['_scheduleAttachObjectDoubleClicks'](_0x24c472),this[_0x175a39(0x1b3)](this[_0x175a39(0x1b7)][_0x175a39(0x43b)][_0x175a39(0x2d9)](_0x3f4dc1=>{const _0x5b61cf=_0x175a39;_0x3f4dc1[_0x5b61cf(0x41b)](_0x268988=>_0x268988[_0x5b61cf(0x3cd)]===_0x19b7e6)&&this[_0x5b61cf(0x186)](_0x24c472);})),this[_0x175a39(0x1b3)](this['_boardElementService']['elementUpdate$']['subscribe'](_0x2cb1c6=>{const _0x5bad7e=_0x175a39;_0x2cb1c6[_0x5bad7e(0x41b)](_0x50c8be=>_0x50c8be['unitId']===_0x19b7e6)&&this[_0x5bad7e(0x186)](_0x24c472);})),this['disposeWithMe'](this[_0x175a39(0x1b7)][_0x175a39(0x332)][_0x175a39(0x2d9)](_0x241de3=>{const _0x3e2cd3=_0x175a39;_0x241de3[_0x3e2cd3(0x41b)](_0x4532fb=>_0x4532fb[_0x3e2cd3(0x3cd)]===_0x19b7e6)&&this['_scheduleAttachObjectDoubleClicks'](_0x24c472);})),this[_0x175a39(0x1b3)](this[_0x175a39(0x2b2)][_0x175a39(0x2cc)][_0x175a39(0x2d9)](_0x483af0=>{const _0x517b36=_0x175a39;var _0x1fcb47;((_0x1fcb47=_0x483af0['context'])==null?void 0x0:_0x1fcb47[_0x517b36(0x3cd)])===_0x19b7e6&&this[_0x517b36(0x186)](_0x24c472);})));}[_0x5c3e77(0x186)](_0x5da5e6){const _0x112a6e=_0x5c3e77;this['_attachScheduled']||(this[_0x112a6e(0x276)]=!0x0,Promise[_0x112a6e(0x34a)]()['then'](()=>this[_0x112a6e(0x370)](_0x5da5e6)));}[_0x5c3e77(0x370)](_0x1b7b3d){const _0x5b1992=_0x5c3e77;var _0x121d2b;this[_0x5b1992(0x276)]=!0x1;let {scene:_0x826dfe,unitId:_0x3cc5fe}=this['_renderContext'],_0xa44574=_0x1b7b3d[_0x5b1992(0x215)](),_0x20f5fa=this[_0x5b1992(0x1b7)][_0x5b1992(0x354)](_0x3cc5fe,_0xa44574),_0x40b7c8=new n[(_0x5b1992(0x386))]();(_0x121d2b=this['_objectDblclickDisposables'])==null||_0x121d2b['dispose'](),this[_0x5b1992(0x283)]=_0x40b7c8,_0x20f5fa[_0x5b1992(0x3f4)](_0x31d1ba=>{const _0x5e0aea=_0x5b1992;var _0x31c473;let _0x3dfa2d=this['_boardElementService'][_0x5e0aea(0x222)](_0x3cc5fe,_0xa44574,_0x31d1ba);if(!_0x3dfa2d||_0x3dfa2d[_0x5e0aea(0x27b)][_0x5e0aea(0x2b8)]!==e[_0x5e0aea(0x41a)]['Chart'])return;let _0x83444a=(0x0,t[_0x5e0aea(0x299)])(_0x3cc5fe,_0x31d1ba),_0x1e4223=((_0x31c473=_0x826dfe[_0x5e0aea(0x30c)])==null?void 0x0:_0x31c473[_0x5e0aea(0x36a)](_0x826dfe,_0x83444a))??_0x826dfe[_0x5e0aea(0x22e)](_0x83444a);_0x1e4223&&_0x40b7c8[_0x5e0aea(0x26c)]((0x0,n[_0x5e0aea(0x262)])(_0x1e4223['onDblclick$'][_0x5e0aea(0x248)]((_0x296e64,_0x1dce57)=>{this['_openEditSession'](_0x3dfa2d,_0x296e64,_0x1dce57);})));});}[_0x5c3e77(0x413)](_0x2c3ac7,_0x2af08d,_0x3a8ee4){const _0x24ae06=_0x5c3e77;var _0x2e7ccb;if(this[_0x24ae06(0x190)][_0x24ae06(0x2e6)]()['pendingInsert']||this[_0x24ae06(0x2b2)]['getSnapshot']()[_0x24ae06(0x36d)]||_0x2c3ac7[_0x24ae06(0x27b)][_0x24ae06(0x2b8)]!==e[_0x24ae06(0x41a)][_0x24ae06(0x318)])return;let _0x416a5f={'unitId':_0x2c3ac7['unitId'],'subUnitId':_0x2c3ac7['subUnitId']};this['_elementStateService']['selectElements'](_0x416a5f,[_0x2c3ac7[_0x24ae06(0x2d3)]],_0x2c3ac7[_0x24ae06(0x2d3)]),this[_0x24ae06(0x2b2)][_0x24ae06(0x366)](_0x416a5f,null),this[_0x24ae06(0x1ed)][_0x24ae06(0x36b)]({'chartId':_0x2c3ac7[_0x24ae06(0x27b)][_0x24ae06(0x1ca)],'elementId':_0x2c3ac7[_0x24ae06(0x2d3)],'source':_0x24ae06(0x42b),'subUnitId':_0x2c3ac7[_0x24ae06(0x2cd)],'unitId':_0x2c3ac7[_0x24ae06(0x3cd)]}),_0x3a8ee4&&(_0x3a8ee4[_0x24ae06(0x3d7)]=!0x0),_0x2af08d==null||(_0x2e7ccb=_0x2af08d['preventDefault'])==null||_0x2e7ccb[_0x24ae06(0x36a)](_0x2af08d);}};A=x([b(0x1,n[_0x5c3e77(0x256)]),b(0x2,e[_0x5c3e77(0x20e)]),b(0x3,t[_0x5c3e77(0x18f)]),b(0x4,t['IBoardUIStateService']),b(0x5,(0x0,n[_0x5c3e77(0x3ba)])(w))],A);let j=class extends n[_0x5c3e77(0x375)]{constructor(_0x2c76b8,_0x1514d6,_0x33c5b0){const _0x51863d=_0x5c3e77;super(),this[_0x51863d(0x441)]=_0x2c76b8,this[_0x51863d(0x18e)]=_0x1514d6,this[_0x51863d(0x2f1)]=_0x33c5b0;}[_0x5c3e77(0x40e)](_0x32918f,_0x59e601){const _0x50f12d=_0x5c3e77;let _0x22a6cf=this[_0x50f12d(0x441)][_0x50f12d(0x2ad)](_0x32918f,_0x59e601),_0x1eb0e4=_0x22a6cf?this[_0x50f12d(0x441)][_0x50f12d(0x32f)](_0x32918f,_0x22a6cf[_0x50f12d(0x33e)]):void 0x0;return!_0x22a6cf||!_0x1eb0e4?null:{'chartId':_0x59e601,'chartType':_0x22a6cf[_0x50f12d(0x23e)],'dataSource':_0x1eb0e4,'sharingCount':this['_resourceService'][_0x50f12d(0x3e8)](_0x32918f,_0x1eb0e4['id']),'unitId':_0x32918f};}async[_0x5c3e77(0x1c6)](_0x37b919){const _0x3d95bb=_0x5c3e77;var _0x36f2cc;if(!this[_0x3d95bb(0x40e)](_0x37b919[_0x3d95bb(0x3cd)],_0x37b919['chartId'])||_0x37b919[_0x3d95bb(0x3f7)]['length']===0x0)return!0x1;let _0x149889=(_0x36f2cc=this[_0x3d95bb(0x441)][_0x3d95bb(0x2ad)](_0x37b919[_0x3d95bb(0x3cd)],_0x37b919[_0x3d95bb(0x1ca)]))==null?void 0x0:_0x36f2cc['chartType'];if(_0x149889===void 0x0)return!0x1;let _0x5dda23=(0x0,a[_0x3d95bb(0x2ee)])(_0x149889,_0x37b919[_0x3d95bb(0x3f7)]);if(!_0x5dda23['ok'])return!0x1;let _0x301305=await this[_0x3d95bb(0x291)](_0x37b919[_0x3d95bb(0x3cd)],_0x37b919[_0x3d95bb(0x1ca)],{'values':_0x5dda23[_0x3d95bb(0x3f7)]});return _0x301305&&this[_0x3d95bb(0x18e)][_0x3d95bb(0x221)](_0x37b919[_0x3d95bb(0x3cd)],_0x37b919['chartId']),!!_0x301305;}[_0x5c3e77(0x291)](_0x1af487,_0x3ee930,_0x58aadf){const _0x54b1d2=_0x5c3e77;return this[_0x54b1d2(0x2f1)][_0x54b1d2(0x1c7)](i[_0x54b1d2(0x233)]['id'],{'unitId':_0x1af487,'chartId':_0x3ee930,'dataSource':_0x58aadf});}};j=x([b(0x0,(0x0,n[_0x5c3e77(0x3ba)])(i['BoardChartResourceService'])),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(i[_0x5c3e77(0x2f9)])),b(0x2,n[_0x5c3e77(0x29f)])],j);const ae=_0x5c3e77(0x300);function oe(_0x3d651a){const _0xf44cf5=_0x5c3e77;let _0x5aa414=(0x0,c[_0xf44cf5(0x200)])(j),_0x412013=(0x0,c[_0xf44cf5(0x200)])(n[_0xf44cf5(0x1c0)]),_0x1ddffa=_0x5aa414[_0xf44cf5(0x40e)](_0x3d651a['unitId'],_0x3d651a[_0xf44cf5(0x1ca)]),[_0x50a2f6,_0x375ff1]=(0x0,l['useState'])(()=>(0x0,u['isInlineChartDataSource'])(_0x1ddffa==null?void 0x0:_0x1ddffa[_0xf44cf5(0x263)])?_0x1ddffa[_0xf44cf5(0x263)][_0xf44cf5(0x3f7)][_0xf44cf5(0x1d0)](_0x2ee631=>[..._0x2ee631]):[]),[_0x443200,_0x51b2b4]=(0x0,l['useState'])(()=>(0x0,u[_0xf44cf5(0x339)])(_0x1ddffa==null?void 0x0:_0x1ddffa[_0xf44cf5(0x263)])?_0xf44cf5(0x197):_0xf44cf5(0x26a)),[_0x396cc2,_0x117d72]=(0x0,l['useState'])(null),[_0x2a0eb1,_0x1a11fe]=(0x0,l[_0xf44cf5(0x3c2)])(null),_0x2e33ea={[a[_0xf44cf5(0x2be)]['UnknownOption']]:_0x412013['t'](_0xf44cf5(0x264)),[a[_0xf44cf5(0x2be)][_0xf44cf5(0x2fa)]]:_0x412013['t']('boards-chart-ui.common.tableDataEmpty'),[a[_0xf44cf5(0x2be)][_0xf44cf5(0x20a)]]:_0x412013['t'](_0xf44cf5(0x2a0))};if(!_0x1ddffa)return(0x0,d[_0xf44cf5(0x340)])(_0xf44cf5(0x3db),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x412013['t'](_0xf44cf5(0x442))});let _0x32345c=async _0x50b6ec=>{const _0x21dd17=_0xf44cf5;var _0x5332cb;if(_0x443200===_0x21dd17(0x197)){var _0x427c1a;if(!_0x396cc2)return;if(!await _0x5aa414[_0x21dd17(0x291)](_0x3d651a[_0x21dd17(0x3cd)],_0x3d651a['chartId'],_0x396cc2)){_0x1a11fe(_0x412013['t'](_0x21dd17(0x1fb)));return;}_0x1a11fe(null),(_0x427c1a=_0x3d651a[_0x21dd17(0x303)])==null||_0x427c1a[_0x21dd17(0x36a)](_0x3d651a);return;}let _0x593398=(0x0,a[_0x21dd17(0x2ee)])(_0x1ddffa[_0x21dd17(0x23e)],_0x50a2f6);if(!_0x593398['ok']){_0x1a11fe(_0x2e33ea[_0x593398[_0x21dd17(0x2c8)][_0x21dd17(0x408)]]);return;}if(!await _0x5aa414['updateDataForChart']({'chartId':_0x3d651a['chartId'],'name':_0x1ddffa[_0x21dd17(0x263)][_0x21dd17(0x319)],'unitId':_0x3d651a[_0x21dd17(0x3cd)],'updateShared':_0x50b6ec,'values':_0x593398[_0x21dd17(0x3f7)]})){_0x1a11fe(_0x412013['t']('boards-chart-ui.dataEditor.updateFailed'));return;}_0x1a11fe(null),(_0x5332cb=_0x3d651a[_0x21dd17(0x303)])==null||_0x5332cb['call'](_0x3d651a);};return(0x0,d[_0xf44cf5(0x37d)])(_0xf44cf5(0x3db),{'className':_0xf44cf5(0x17e),'children':[(0x0,d[_0xf44cf5(0x340)])(a[_0xf44cf5(0x2a4)],{'mode':_0x443200,'initialSource':(0x0,u[_0xf44cf5(0x339)])(_0x1ddffa[_0xf44cf5(0x263)])?_0x1ddffa[_0xf44cf5(0x263)][_0xf44cf5(0x2a9)]:void 0x0,'inlineContent':(0x0,d[_0xf44cf5(0x340)])(a[_0xf44cf5(0x234)],{'values':_0x50a2f6,'parsePastedText':u[_0xf44cf5(0x18b)],'onChange':_0x375ff1}),'onModeChange':_0x21047a=>{_0x51b2b4(_0x21047a),_0x117d72(null);},'onPreviewChange':(_0x2bcedc,_0x3afb4b)=>_0x117d72(_0x2bcedc&&_0x3afb4b[_0xf44cf5(0x392)]===u[_0xf44cf5(0x304)][_0xf44cf5(0x435)]?{'source':_0x2bcedc}:null)}),_0x2a0eb1&&(0x0,d[_0xf44cf5(0x340)])(_0xf44cf5(0x3db),{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x2a0eb1}),(0x0,d[_0xf44cf5(0x37d)])(_0xf44cf5(0x3db),{'className':_0xf44cf5(0x34b),'children':[_0x3d651a[_0xf44cf5(0x303)]&&(0x0,d[_0xf44cf5(0x340)])(o[_0xf44cf5(0x25b)],{'type':_0xf44cf5(0x1c1),'variant':'default','onClick':_0x3d651a[_0xf44cf5(0x303)],'children':_0x412013['t']('boards-chart-ui.common.cancel')}),(0x0,d[_0xf44cf5(0x340)])(o[_0xf44cf5(0x25b)],{'type':_0xf44cf5(0x1c1),'variant':_0xf44cf5(0x2ed),'disabled':_0x443200===_0xf44cf5(0x197)&&!_0x396cc2,'onClick':()=>_0x32345c(!0x0),'children':_0x412013['t'](_0xf44cf5(0x1fa))})]})]});}const se={'id':_0x5c3e77(0x3a7),'type':n[_0x5c3e77(0x380)][_0x5c3e77(0x1f6)],'handler':(_0x547bd4,_0x34f021)=>{const _0x554b41=_0x5c3e77;if(!_0x34f021||!_0x547bd4['get'](j)[_0x554b41(0x40e)](_0x34f021[_0x554b41(0x3cd)],_0x34f021[_0x554b41(0x1ca)])||!_0x547bd4['get'](c['ComponentManager'])[_0x554b41(0x2e5)](_0x554b41(0x300)))return!0x1;let _0x284fbe=_0x547bd4[_0x554b41(0x2e5)](c[_0x554b41(0x1e1)]),_0x1f2cc2=_0x547bd4[_0x554b41(0x2e5)](n[_0x554b41(0x1c0)]),_0x16d3da=null,_0x4e4e7e=()=>{_0x16d3da==null||_0x16d3da['dispose'](),_0x16d3da=null;};return _0x16d3da=_0x284fbe[_0x554b41(0x36b)]({'id':'board-chart.dialog.data-editor','title':{'title':_0x1f2cc2['t'](_0x554b41(0x3bd))},'width':_0x554b41(0x1e9),'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':ae,'props':{..._0x34f021,'onClose':_0x4e4e7e}}},'onClose':_0x4e4e7e}),!0x0;}},M=_0x5c3e77(0x1ba),N={'axis':{...a[_0x5c3e77(0x365)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':a[_0x5c3e77(0x349)],'lineAndArea':a[_0x5c3e77(0x1f5)],'pareto':a['DEFAULT_CHART_PARETO_VALUES'],'funnel':a[_0x5c3e77(0x39a)],'heatmap':a[_0x5c3e77(0x1ad)],'indicatorLine':a['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'pie':{...a['DEFAULT_CHART_PIE_VALUES'],'doughnutHole':0x0,'pieHole':0x0},'relation':{...a['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x0},'radar':a[_0x5c3e77(0x35c)],'series':{...a[_0x5c3e77(0x389)],'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':a[_0x5c3e77(0x434)],'titles':a['DEFAULT_CHART_TITLE_VALUES'],'trendline':a[_0x5c3e77(0x1a5)],'waterfall':{...a[_0x5c3e77(0x387)],'useSubtotal':!0x1},'waterfallStyle':a[_0x5c3e77(0x3a0)],'wordCloud':a[_0x5c3e77(0x1aa)]},ce=[u[_0x5c3e77(0x3d6)][_0x5c3e77(0x28f)],u[_0x5c3e77(0x3d6)]['Radar'],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x24c)],u[_0x5c3e77(0x3d6)]['Scatter'],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x422)],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x405)],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x397)],u['ChartTypeBits'][_0x5c3e77(0x325)],u['ChartTypeBits'][_0x5c3e77(0x3f8)],u['ChartTypeBits']['Histogram'],u[_0x5c3e77(0x3d6)][_0x5c3e77(0x267)],u[_0x5c3e77(0x3d6)]['Sunburst'],u[_0x5c3e77(0x3d6)]['Gauge'],u['ChartTypeBits'][_0x5c3e77(0x428)]];function le(_0x402dde){const _0x163d00=_0x5c3e77;let _0x5b1e6d=(0x0,c['useDependency'])(n[_0x163d00(0x1c0)]);return(0x0,d[_0x163d00(0x37d)])(_0x163d00(0x3db),{'children':[(0x0,d['jsx'])(a[_0x163d00(0x2d2)],{'title':_0x5b1e6d['t']('boards-chart-ui.common.data')}),(0x0,d[_0x163d00(0x340)])(o['Button'],{'type':'button','variant':_0x163d00(0x350),'className':_0x163d00(0x252),'onClick':_0x402dde[_0x163d00(0x24d)],'children':_0x5b1e6d['t'](_0x163d00(0x3bd))})]});}function ue(){const _0xae218e=_0x5c3e77;let _0x5009b0=(0x0,a[_0xae218e(0x32d)])();return(0x0,d[_0xae218e(0x340)])(a['ChartGradientFillField'],{'visible':ce[_0xae218e(0x40c)](_0x25fe3f=>!u[_0xae218e(0x1cf)][_0xae218e(0x1a4)](_0x5009b0,_0x25fe3f))});}function de(_0x828de0){const _0x255faf=_0x5c3e77;return(0x0,d[_0x255faf(0x37d)])(a[_0x255faf(0x18d)],{'id':_0x828de0['id'],'children':[(0x0,d[_0x255faf(0x340)])(a[_0x255faf(0x3e3)],{'children':_0x828de0[_0x255faf(0x378)]}),(0x0,d[_0x255faf(0x340)])(a[_0x255faf(0x1d7)],{'children':_0x828de0['children']})]});}function fe(_0x2659e6,_0x1d78b8){const _0x107824=_0x5c3e77;let _0x3c98ed=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x24c)],_0x1bd67d=u[_0x107824(0x1cf)]['baseOn'](_0x2659e6,u['ChartTypeBits'][_0x107824(0x1de)]),_0x176c3b=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x431)],_0x2cacb5=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x422)],_0xebf1b0=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x397)],_0x517fed=u[_0x107824(0x1cf)][_0x107824(0x1a4)](_0x2659e6,u[_0x107824(0x3d6)][_0x107824(0x369)]),_0x423b49=_0x2659e6===u['ChartTypeBits'][_0x107824(0x2bd)],_0x4ed203=_0x2659e6===u[_0x107824(0x3d6)]['Waterfall'],_0x284d02=_0x2659e6===u['ChartTypeBits'][_0x107824(0x17d)],_0x47800f=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x3f8)],_0x22ff9c=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x3f5)],_0xafbff8=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x267)],_0x3e2c25=_0x2659e6===u['ChartTypeBits'][_0x107824(0x336)],_0x386e46=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x394)],_0x3be80d=_0x2659e6===u[_0x107824(0x3d6)][_0x107824(0x428)],_0x27318b=[a[_0x107824(0x1a0)][_0x107824(0x2c3)],a[_0x107824(0x1a0)][_0x107824(0x198)]];return _0x3c98ed&&_0x27318b['push'](a['ChartEditPanelSection'][_0x107824(0x24c)]),(0x0,a['chartTypeSupportsCapability'])(_0x2659e6,a[_0x107824(0x2e8)][_0x107824(0x25d)])&&!_0x1bd67d&&!_0x284d02&&_0x27318b[_0x107824(0x1ec)](a['ChartEditPanelSection'][_0x107824(0x358)]),_0x4ed203&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x398)]),_0x284d02&&_0x27318b['push'](a[_0x107824(0x1a0)][_0x107824(0x1d6)],a[_0x107824(0x1a0)][_0x107824(0x286)]),_0x517fed&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x1be)]),_0x423b49&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x2bd)]),_0x176c3b&&_0x27318b['push'](a[_0x107824(0x1a0)][_0x107824(0x431)]),_0xebf1b0&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x397)]),_0x2cacb5&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x422)]),(0x0,a[_0x107824(0x39b)])(_0x2659e6)&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x1b9)]),(0x0,a[_0x107824(0x242)])(_0x2659e6,a['ChartEditorCapability'][_0x107824(0x213)])&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)]['Legend']),(0x0,a['chartTypeSupportsCapability'])(_0x2659e6,a['ChartEditorCapability']['Axes'])&&(_0x27318b['push'](a[_0x107824(0x1a0)]['HorizontalAxis'],a['ChartEditPanelSection'][_0x107824(0x220)]),_0x1d78b8&&_0x27318b['push'](a['ChartEditPanelSection'][_0x107824(0x326)]),_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)]['GridlinesAndTicks'])),(0x0,a[_0x107824(0x242)])(_0x2659e6,a[_0x107824(0x2e8)][_0x107824(0x33a)])&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)]['IndicatorLine']),(0x0,u[_0x107824(0x376)])(_0x2659e6)&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x3f6)]),_0x47800f&&_0x27318b['push'](a[_0x107824(0x1a0)][_0x107824(0x3f8)]),_0x22ff9c&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)]['Histogram']),_0xafbff8&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)]['Treemap']),_0x3e2c25&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x336)]),_0x386e46&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x394)]),_0x3be80d&&_0x27318b[_0x107824(0x1ec)](a[_0x107824(0x1a0)][_0x107824(0x428)]),_0x27318b;}function pe(_0x4389cf){const _0x2e4545=_0x5c3e77;var _0x268572,_0x44fc09,_0x5f1e50;let _0xa1ec43=(0x0,c[_0x2e4545(0x200)])(n[_0x2e4545(0x1c0)]),_0x28ce3d=(0x0,a['useChartEditorChartType'])(),_0xfdd9d7=(0x0,a[_0x2e4545(0x1e5)])(),[_0x98b499,_0x27533e]=(0x0,l[_0x2e4545(0x3c2)])(null),_0xbc676c=fe(_0x28ce3d,_0xfdd9d7),_0x6a4d07=(0x0,d[_0x2e4545(0x340)])(a['ChartTypeSpecificStyleSection'],{}),_0x2818f2={[a[_0x2e4545(0x1a0)][_0x2e4545(0x3f8)]]:_0xa1ec43['t'](_0x2e4545(0x225)),[a['ChartEditPanelSection'][_0x2e4545(0x198)]]:_0xa1ec43['t'](_0x2e4545(0x3b7)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x2c3)]]:_0xa1ec43['t'](_0x2e4545(0x1ae)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x428)]]:_0xa1ec43['t'](_0x2e4545(0x1c8)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x431)]]:_0xa1ec43['t'](_0x2e4545(0x3de)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x394)]]:_0xa1ec43['t'](_0x2e4545(0x28d)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x2ff)]]:_0xa1ec43['t'](_0x2e4545(0x268)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x397)]]:_0xa1ec43['t'](_0x2e4545(0x22b)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x3f5)]]:_0xa1ec43['t']('boards-chart-ui.section.histogram'),[a[_0x2e4545(0x1a0)][_0x2e4545(0x27d)]]:_0xa1ec43['t'](_0x2e4545(0x295)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x33a)]]:_0xa1ec43['t'](_0x2e4545(0x26f)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x213)]]:_0xa1ec43['t']('boards-chart-ui.common.legend'),[a[_0x2e4545(0x1a0)][_0x2e4545(0x1b9)]]:_0xa1ec43['t'](_0x2e4545(0x3ee)),[a['ChartEditPanelSection'][_0x2e4545(0x1d6)]]:_0xa1ec43['t']('boards-chart-ui.section.paretoBar'),[a[_0x2e4545(0x1a0)][_0x2e4545(0x286)]]:_0xa1ec43['t'](_0x2e4545(0x43e)),[a[_0x2e4545(0x1a0)]['PieStyle']]:_0xa1ec43['t']('boards-chart-ui.section.pie'),[a['ChartEditPanelSection']['Radar']]:_0xa1ec43['t'](_0x2e4545(0x322)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x422)]]:_0xa1ec43['t'](_0x2e4545(0x2a5)),[a[_0x2e4545(0x1a0)]['RightVerticalAxis']]:_0xa1ec43['t'](_0x2e4545(0x23b)),[a['ChartEditPanelSection'][_0x2e4545(0x358)]]:_0xa1ec43['t']('boards-chart-ui.common.series'),[a[_0x2e4545(0x1a0)][_0x2e4545(0x336)]]:_0xa1ec43['t'](_0x2e4545(0x1ce)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x267)]]:_0xa1ec43['t'](_0x2e4545(0x393)),[a[_0x2e4545(0x1a0)][_0x2e4545(0x3f6)]]:_0xa1ec43['t'](_0x2e4545(0x201)),[a[_0x2e4545(0x1a0)]['VerticalAxis']]:_0xa1ec43['t']('boards-chart-ui.common.verticalAxis'),[a[_0x2e4545(0x1a0)][_0x2e4545(0x398)]]:_0xa1ec43['t']('boards-chart-ui.section.waterfall'),[a[_0x2e4545(0x1a0)][_0x2e4545(0x24c)]]:_0xa1ec43['t']('boards-chart-ui.section.wordCloud')};(0x0,l['useEffect'])(()=>{const _0x5ae16e=_0x2e4545;var _0x3dc307;(_0x3dc307=_0x4389cf[_0x5ae16e(0x273)])!=null&&_0x3dc307[_0x5ae16e(0x2ca)]&&_0x27533e(_0x4389cf['route'][_0x5ae16e(0x2ca)]);},[_0x4389cf[_0x2e4545(0x273)]]);let _0x36da25={[a['ChartEditPanelSection'][_0x2e4545(0x2c3)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x338)],{'defaultValues':N[_0x2e4545(0x29c)],'showBodyFont':!0x0}),[a['ChartEditPanelSection']['ChartAndAxisTitles']]:(0x0,d['jsx'])(a[_0x2e4545(0x3c0)],{'commitMode':'change','defaultValues':N[_0x2e4545(0x2ac)],'selectedTitleKey':(_0x268572=_0x4389cf[_0x2e4545(0x273)])==null?void 0x0:_0x268572[_0x2e4545(0x3ec)]}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x358)]]:(0x0,d[_0x2e4545(0x37d)])(a['ChartSeriesRoot'],{'defaultValues':N[_0x2e4545(0x420)],'NumberFormatField':a['ChartNumberFormatTextField'],'selectedSeriesId':(_0x44fc09=_0x4389cf[_0x2e4545(0x273)])==null?void 0x0:_0x44fc09[_0x2e4545(0x22c)],'children':[(0x0,d[_0x2e4545(0x340)])(a['ChartSeriesSelector'],{}),(0x0,d['jsx'])(a[_0x2e4545(0x379)],{'individualOnly':!0x0}),(0x0,d['jsx'])(a[_0x2e4545(0x3e0)],{}),(0x0,d[_0x2e4545(0x340)])(a['ChartSeriesBorderFields'],{}),(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x43f)],{}),(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x3ff)],{}),(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x3d3)],{}),(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x438)],{})]}),[a['ChartEditPanelSection'][_0x2e4545(0x398)]]:(0x0,d[_0x2e4545(0x340)])(a['ChartWaterfallStyleSection'],{'defaultValues':N[_0x2e4545(0x427)],'NumberFormatField':a[_0x2e4545(0x1d1)],'selectedSeriesId':(_0x5f1e50=_0x4389cf[_0x2e4545(0x273)])==null?void 0x0:_0x5f1e50[_0x2e4545(0x22c)],'showBucketName':()=>!0x0}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x1d6)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x33f)],{'defaultValues':N['pareto'],'NumberFormatField':a['ChartNumberFormatTextField'],'showDataPointEditor':!0x0,'target':'barStyle'}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x286)]]:(0x0,d[_0x2e4545(0x340)])(a['ChartParetoSeriesSection'],{'defaultValues':N[_0x2e4545(0x424)],'NumberFormatField':a['ChartNumberFormatTextField'],'showDataPointEditor':!0x0,'target':_0x2e4545(0x280)}),[a[_0x2e4545(0x1a0)]['PieStyle']]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x2aa)],{'defaultValues':N[_0x2e4545(0x30a)],'NumberFormatField':a['ChartNumberFormatTextField']}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x24c)]]:(0x0,d['jsxs'])(a['ChartWordCloudRoot'],{'children':[(0x0,d['jsx'])(a[_0x2e4545(0x390)],{'defaultValues':N[_0x2e4545(0x2a6)]}),(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x1cd)],{}),(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x3cf)],{'defaultValues':N[_0x2e4545(0x2a6)]})]}),[a[_0x2e4545(0x1a0)]['Radar']]:(0x0,d['jsx'])(a[_0x2e4545(0x3e6)],{'defaultValues':N[_0x2e4545(0x41f)]}),[a['ChartEditPanelSection']['Funnel']]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x20c)],{'defaultValues':N[_0x2e4545(0x34d)],'gapControl':'number'}),[a['ChartEditPanelSection']['Heatmap']]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x35a)],{'defaultValues':N[_0x2e4545(0x1c3)]}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x422)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x3cb)],{'defaultValues':N[_0x2e4545(0x39c)]}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x1b9)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x3ce)],{'defaultValues':N[_0x2e4545(0x22f)],'lineStyleControl':_0x2e4545(0x272)}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x213)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x308)],{'defaultValues':N['legend']}),[a['ChartEditPanelSection'][_0x2e4545(0x27d)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x2a2)],{'axis':'x','defaultValues':N[_0x2e4545(0x23f)],'NumberFormatField':a[_0x2e4545(0x1d1)]}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x220)]]:(0x0,d['jsx'])(a['ChartAxisSection'],{'axis':'y','defaultValues':N[_0x2e4545(0x23f)],'NumberFormatField':a[_0x2e4545(0x1d1)]}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x326)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x2a2)],{'axis':_0x2e4545(0x288),'defaultValues':N[_0x2e4545(0x23f)],'NumberFormatField':a[_0x2e4545(0x1d1)]}),[a['ChartEditPanelSection'][_0x2e4545(0x2ff)]]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x1eb)],{'defaultValues':N['axis']}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x33a)]]:(0x0,d[_0x2e4545(0x340)])(a['ChartIndicatorLineSection'],{'defaultValues':N['indicatorLine']}),[a[_0x2e4545(0x1a0)]['Trendline']]:(0x0,d[_0x2e4545(0x340)])(a[_0x2e4545(0x183)],{'defaultValues':N['trendline']}),[a[_0x2e4545(0x1a0)][_0x2e4545(0x3f8)]]:_0x6a4d07,[a[_0x2e4545(0x1a0)][_0x2e4545(0x3f5)]]:_0x6a4d07,[a[_0x2e4545(0x1a0)][_0x2e4545(0x267)]]:_0x6a4d07,[a[_0x2e4545(0x1a0)]['Sunburst']]:_0x6a4d07,[a[_0x2e4545(0x1a0)]['Gauge']]:_0x6a4d07,[a[_0x2e4545(0x1a0)][_0x2e4545(0x428)]]:_0x6a4d07};return(0x0,d['jsx'])(a[_0x2e4545(0x40b)],{'value':_0x98b499,'onChange':_0x27533e,'children':_0xbc676c[_0x2e4545(0x1d0)](_0x29e2a9=>(0x0,d[_0x2e4545(0x340)])(de,{'id':_0x29e2a9,'label':_0x2818f2[_0x29e2a9],'children':_0x36da25[_0x29e2a9]},_0x29e2a9))});}function me({unitId:_0xdf6182,subUnitId:_0x2f8617,elementId:_0x3b5091,chartId:_0x4c8f76}){const _0x5bf61a=_0x5c3e77;let _0x59df91=(0x0,c[_0x5bf61a(0x200)])(i[_0x5bf61a(0x2f9)]),_0x5db5ae=(0x0,c[_0x5bf61a(0x200)])(D),_0x39a724=(0x0,c[_0x5bf61a(0x200)])(n[_0x5bf61a(0x1c0)]),_0x21310a=(0x0,c[_0x5bf61a(0x200)])(n['ICommandService']),_0x55803d=(0x0,c[_0x5bf61a(0x200)])(n[_0x5bf61a(0x356)]),_0x52e23d=(0x0,c[_0x5bf61a(0x200)])(n[_0x5bf61a(0x256)]),_0x581de3=(0x0,c['useDependency'])(w),_0x5cd468=(0x0,c[_0x5bf61a(0x3c3)])(_0x59df91[_0x5bf61a(0x3e7)],_0x59df91[_0x5bf61a(0x218)]),_0x497698=(0x0,c[_0x5bf61a(0x3c3)])(_0x581de3[_0x5bf61a(0x400)],_0x581de3[_0x5bf61a(0x3b5)]()),[_0x50a414,_0x1f0a9a]=(0x0,l[_0x5bf61a(0x3c2)])(a['ChartEditPanelTab'][_0x5bf61a(0x3c9)]),_0x19c035=(_0x497698==null?void 0x0:_0x497698[_0x5bf61a(0x3cd)])===_0xdf6182&&_0x497698[_0x5bf61a(0x1ca)]===_0x4c8f76&&_0x497698[_0x5bf61a(0x2d3)]===_0x3b5091?_0x497698['route']:void 0x0;(0x0,l[_0x5bf61a(0x228)])(()=>{const _0x39c3e4=_0x5bf61a;_0x59df91[_0x39c3e4(0x2b4)](_0xdf6182,_0x4c8f76);},[_0x4c8f76,_0x59df91,_0xdf6182]),(0x0,l[_0x5bf61a(0x228)])(()=>{const _0x27d2bc=_0x5bf61a;_0x19c035!=null&&_0x19c035[_0x27d2bc(0x333)]&&_0x1f0a9a(_0x19c035['tab']);},[_0x19c035]);let _0x407610=(_0x5cd468==null?void 0x0:_0x5cd468[_0x5bf61a(0x3cd)])===_0xdf6182&&_0x5cd468['chartId']===_0x4c8f76,_0x50f366=(0x0,l[_0x5bf61a(0x373)])(()=>{const _0xe113ce=_0x5bf61a;if(!_0x407610)return null;let _0x3127d5=_0x52e23d[_0xe113ce(0x232)](_0xdf6182,n['UniverInstanceType'][_0xe113ce(0x374)]);return _0x3127d5?new a[(_0xe113ce(0x278))](_0x5cd468[_0xe113ce(0x1e2)],new i['BoardChartConfigAdapter']({'unitId':_0xdf6182,'pageId':_0x2f8617,'chartId':_0x4c8f76,'elementId':_0x3b5091,'boardModel':_0x3127d5,'injector':_0x55803d})):null;},[_0x5cd468,_0x4c8f76,_0x3b5091,_0x55803d,_0x407610,_0x2f8617,_0xdf6182,_0x52e23d]),_0x5b55f7=(0x0,l[_0x5bf61a(0x373)])(()=>(0x0,a[_0x5bf61a(0x3ca)])(a['CHART_TYPE_CATALOG']['map'](_0x3e8e5f=>({..._0x3e8e5f,'label':_0x39a724['t'](_0x5bf61a(0x3f0)+_0x3e8e5f[_0x5bf61a(0x1fc)])}))),[_0x39a724]);return!_0x407610||!_0x50f366?null:(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x3a5)],{'chartUIService':_0x5db5ae,'hostAdapter':_0x50f366,'children':(0x0,d[_0x5bf61a(0x37d)])('div',{'className':_0x5bf61a(0x3be),'children':[(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x42d)],{'ariaLabel':_0x39a724['t'](_0x5bf61a(0x414)),'className':_0x5bf61a(0x238),'items':[{'label':_0x39a724['t'](_0x5bf61a(0x39d)),'panelId':P,'value':a[_0x5bf61a(0x259)][_0x5bf61a(0x3c9)]},{'label':_0x39a724['t'](_0x5bf61a(0x209)),'panelId':F,'value':a[_0x5bf61a(0x259)]['Style']}],'value':_0x50a414,'onChange':_0x1f0a9a}),_0x50a414===a['ChartEditPanelTab'][_0x5bf61a(0x3c9)]?(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x321)],{'id':P,'label':_0x39a724['t'](_0x5bf61a(0x39d)),'children':(0x0,d[_0x5bf61a(0x37d)])(_0x5bf61a(0x3db),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','children':[(0x0,d[_0x5bf61a(0x340)])(a['ChartTypeField'],{'options':_0x5b55f7}),(0x0,d[_0x5bf61a(0x340)])(a['ChartTypeSpecificSetupSection'],{}),(0x0,d['jsx'])(a[_0x5bf61a(0x3af)],{}),(0x0,d[_0x5bf61a(0x340)])(ue,{}),(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x399)],{}),(0x0,d[_0x5bf61a(0x340)])(le,{'onEditData':()=>_0x21310a[_0x5bf61a(0x1c7)](se['id'],{'unitId':_0xdf6182,'chartId':_0x4c8f76})}),(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x1e4)],{'orientationControl':(0x0,d[_0x5bf61a(0x340)])(o[_0x5bf61a(0x25b)],{'size':_0x5bf61a(0x1e0),'onClick':()=>_0x5db5ae[_0x5bf61a(0x3e9)]({'patch':{'context':{'orient':_0x5cd468[_0x5bf61a(0x2a9)][_0x5bf61a(0x191)]?_0x5bf61a(0x3da):_0x5bf61a(0x2b1)}}}),'children':_0x39a724['t'](_0x5bf61a(0x3fd))})}),(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x314)],{}),(0x0,d['jsx'])(a[_0x5bf61a(0x1ea)],{'defaultValues':N[_0x5bf61a(0x217)]})]})}):(0x0,d[_0x5bf61a(0x340)])(a[_0x5bf61a(0x321)],{'id':F,'label':_0x39a724['t'](_0x5bf61a(0x209)),'children':(0x0,d[_0x5bf61a(0x340)])(pe,{'route':_0x19c035})})]})});}const P=_0x5c3e77(0x3d9),F=_0x5c3e77(0x436),he=u[_0x5c3e77(0x2c2)],I=u['CHART_HOST_DEFAULT_BORDER_RADIUS'];function L(_0x396601){const _0xb10166=_0x5c3e77;var _0x17a103,_0x5cf587;let _0x33bbd1=_0x396601[_0xb10166(0x29b)]??{},_0x2e379c=_0x33bbd1[_0xb10166(0x320)]===0x0?0x0:ve(_0x33bbd1[_0xb10166(0x320)],ve((_0x17a103=_0x396601[_0xb10166(0x2dc)])==null||(_0x17a103=_0x17a103[_0xb10166(0x1b1)])==null?void 0x0:_0x17a103['width'],0x1));return{'fill':_0x396601[_0xb10166(0x347)]??_0x33bbd1['backgroundColor']??u[_0xb10166(0x38d)][_0xb10166(0x1bf)],'stroke':_0x33bbd1[_0xb10166(0x17b)]??((_0x5cf587=_0x396601[_0xb10166(0x2dc)])==null||(_0x5cf587=_0x5cf587[_0xb10166(0x1b1)])==null?void 0x0:_0x5cf587[_0xb10166(0x284)])??_0x396601[_0xb10166(0x298)]??(_0x396601['isDarkMode']?_0xb10166(0x3ae):he),'strokeWidth':_0x2e379c,'radius':I};}function ge(_0x4fda8f,_0x32ddd6){const _0x4587cf=_0x5c3e77;let _0x18f6f1=Math[_0x4587cf(0x3ea)](0x0,_0x32ddd6['strokeWidth']);return{'left':_0x18f6f1,'top':_0x18f6f1,'width':Math[_0x4587cf(0x3ea)](0x1,_0x4fda8f[_0x4587cf(0x32a)]-_0x18f6f1*0x2),'height':Math[_0x4587cf(0x3ea)](0x1,_0x4fda8f['height']-_0x18f6f1*0x2)};}function _e(_0x31b269,_0x317869){const _0x45b8ba=_0x5c3e77;let _0x36ad34=-0x1/0x2;return{'left':_0x36ad34,'top':_0x36ad34,'width':Math[_0x45b8ba(0x3ea)](0x1,_0x31b269[_0x45b8ba(0x32a)]),'height':Math[_0x45b8ba(0x3ea)](0x1,_0x31b269['height']),'radius':Math[_0x45b8ba(0x3ea)](0x0,_0x317869['radius']-_0x317869[_0x45b8ba(0x35b)]/0x2)};}function ve(_0x59c1f3,_0x267686){const _0x2522a3=_0x5c3e77;return typeof _0x59c1f3==_0x2522a3(0x1c4)&&Number[_0x2522a3(0x1e7)](_0x59c1f3)&&_0x59c1f3>0x0?_0x59c1f3:_0x267686;}function ye(_0x2ab11d){const _0x3139fd=_0x5c3e77;var _0xedd821;let _0x12329a=(_0xedd821=_0x2ab11d[_0x3139fd(0x2eb)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0xedd821[0x1];if(_0x12329a){let _0x10eb11=_0x12329a[_0x3139fd(0x1e8)]===0x3?_0x12329a['split']('')['map'](_0x2f4ed8=>''+_0x2f4ed8+_0x2f4ed8)[_0x3139fd(0x2da)](''):_0x12329a;return'rgb('+Number[_0x3139fd(0x1dd)](_0x10eb11[_0x3139fd(0x1ac)](0x0,0x2),0x10)+',\x20'+Number[_0x3139fd(0x1dd)](_0x10eb11[_0x3139fd(0x1ac)](0x2,0x4),0x10)+',\x20'+Number[_0x3139fd(0x1dd)](_0x10eb11[_0x3139fd(0x1ac)](0x4,0x6),0x10)+')';}let _0x3244ec=document[_0x3139fd(0x226)](_0x3139fd(0x2d7));return _0x3244ec[_0x3139fd(0x29c)]['color']=_0x2ab11d,_0x3244ec[_0x3139fd(0x29c)][_0x3139fd(0x284)]||_0x2ab11d;}let R=class extends n[_0x5c3e77(0x375)]{constructor(_0x2348a5,_0x34ae59,_0x28233e){const _0x7b1916=_0x5c3e77;super(),this['_localeService']=_0x2348a5,this[_0x7b1916(0x18a)]=_0x34ae59,this['_renderModelManager']=_0x28233e,y(this,_0x7b1916(0x2f6),new Map()),y(this,_0x7b1916(0x363),new Map()),y(this,_0x7b1916(0x27a),new Map()),y(this,'_chartEventSubscriptions',new Map());}[_0x5c3e77(0x269)](_0x1cecf2){const _0x57b590=_0x5c3e77;return _0x1cecf2?this[_0x57b590(0x335)]['createChartInstance'](_0x1cecf2,this[_0x57b590(0x199)]()):this['_renderModelManager'][_0x57b590(0x269)]();}['registerChartInstance'](_0xadcf78,_0x13c5ae,_0x5cbb37){const _0x42d948=_0x5c3e77;let _0x1851d3=this['_getChartRuntimeKey'](_0xadcf78,_0x13c5ae),_0x58150b=this[_0x42d948(0x2f6)]['get'](_0x1851d3);return _0x58150b&&_0x58150b!==_0x5cbb37&&(this[_0x42d948(0x2d0)](_0x1851d3),_0x58150b['dispose']()),this['_chartInstanceMap'][_0x42d948(0x3e1)](_0x1851d3,_0x5cbb37),_0x5cbb37['setElementEditMode'](this[_0x42d948(0x363)][_0x42d948(0x2e5)](_0x1851d3)===!0x0),this['_bindChartEventHandlers'](_0x1851d3,_0x5cbb37),{'dispose':()=>{const _0x7f9c78=_0x42d948;this[_0x7f9c78(0x2f6)][_0x7f9c78(0x2e5)](_0x1851d3)===_0x5cbb37&&(this[_0x7f9c78(0x2d0)](_0x1851d3),this[_0x7f9c78(0x2f6)][_0x7f9c78(0x1bc)](_0x1851d3));}};}[_0x5c3e77(0x346)](_0x905097,_0x495d71,_0x17256e){const _0x5dcafd=_0x5c3e77;var _0x2fc08f;let _0x4f2b6a=this[_0x5dcafd(0x3a3)](_0x905097,_0x495d71);_0x17256e?this[_0x5dcafd(0x363)][_0x5dcafd(0x3e1)](_0x4f2b6a,!0x0):this[_0x5dcafd(0x363)]['delete'](_0x4f2b6a),(_0x2fc08f=this[_0x5dcafd(0x2f6)][_0x5dcafd(0x2e5)](_0x4f2b6a))==null||_0x2fc08f[_0x5dcafd(0x346)](_0x17256e);}[_0x5c3e77(0x3a8)](_0x33d48c,_0x51ec3d){const _0x5e068d=_0x5c3e77;return this[_0x5e068d(0x363)]['get'](this[_0x5e068d(0x3a3)](_0x33d48c,_0x51ec3d))===!0x0;}['on'](_0x399b14,_0x487fad,_0x411a49,_0x54ab26){const _0x58b924=_0x5c3e77;let _0x24eaa4=this[_0x58b924(0x3a3)](_0x399b14,_0x487fad),_0x4fac30=this[_0x58b924(0x27a)]['get'](_0x24eaa4);_0x4fac30||(_0x4fac30=new Map(),this[_0x58b924(0x27a)]['set'](_0x24eaa4,_0x4fac30));let _0x256c56=_0x4fac30[_0x58b924(0x2e5)](_0x411a49);_0x256c56||(_0x256c56=new Set(),_0x4fac30['set'](_0x411a49,_0x256c56)),_0x256c56[_0x58b924(0x26c)](_0x54ab26);let _0x30fec5=this[_0x58b924(0x2f6)][_0x58b924(0x2e5)](_0x24eaa4);return _0x30fec5&&this['_bindChartEventHandler'](_0x24eaa4,_0x30fec5,_0x411a49,_0x54ab26),{'dispose':()=>{const _0x206c13=_0x58b924;let _0x87e36f=this[_0x206c13(0x27a)][_0x206c13(0x2e5)](_0x24eaa4),_0x5cf1f7=_0x87e36f==null?void 0x0:_0x87e36f[_0x206c13(0x2e5)](_0x411a49);_0x5cf1f7==null||_0x5cf1f7[_0x206c13(0x1bc)](_0x54ab26),(_0x5cf1f7==null?void 0x0:_0x5cf1f7[_0x206c13(0x348)])===0x0&&(_0x87e36f==null||_0x87e36f[_0x206c13(0x1bc)](_0x411a49)),(_0x87e36f==null?void 0x0:_0x87e36f['size'])===0x0&&this[_0x206c13(0x27a)][_0x206c13(0x1bc)](_0x24eaa4),this[_0x206c13(0x245)](_0x24eaa4,_0x411a49,_0x54ab26);}};}[_0x5c3e77(0x1f7)](_0x41e90f){const _0x20ccc2=_0x5c3e77;let _0x1aca0c=_0x41e90f['model'][_0x20ccc2(0x368)];if(!_0x1aca0c)throw Error(_0x20ccc2(0x440)+_0x41e90f['chartId']+_0x20ccc2(0x29e));let _0x103365=this[_0x20ccc2(0x33b)][_0x20ccc2(0x3b9)]();return{'chartConfig':_0x1aca0c,'chartStyle':(0x0,u[_0x20ccc2(0x1bb)])({..._0x41e90f[_0x20ccc2(0x1e2)][_0x20ccc2(0x29c)],'runtime':_0x41e90f['model'][_0x20ccc2(0x236)](_0x103365),'direction':_0x103365},_0x1aca0c[_0x20ccc2(0x2b8)])};}[_0x5c3e77(0x3ed)](_0x477cdd,_0x8a969e,_0x580f0b){const _0x1d4482=_0x5c3e77;let {chartConfig:_0x1edf58,chartStyle:_0x245529}=this['createRenderInput'](_0x477cdd),_0x2ac867=this[_0x1d4482(0x335)][_0x1d4482(0x297)]();return{'spec':_0x2ac867[_0x1d4482(0x3ab)](_0x2ac867['toSpec'](_0x1edf58,_0x245529),{'chartConfig':_0x1edf58,'chartStyle':_0x245529,'chartInstance':_0x580f0b},_0x8a969e),'chartConfig':_0x1edf58,'chartStyle':_0x245529,'hostStyle':this['getHostStyle'](_0x245529)};}['getHostStyle'](_0x2e6543){const _0xcb8028=_0x5c3e77;return(0x0,u[_0xcb8028(0x251)])({'style':_0x2e6543,'getRenderColor':_0x2fd3b7=>this['_chartThemeService'][_0xcb8028(0x412)](_0x2fd3b7)});}['applyHostStyle'](_0xc39f16,_0x28a36c){const _0x48712b=_0x5c3e77;var _0x464d81;_0xc39f16['style'][_0x48712b(0x274)]=(_0x464d81=_0x28a36c[_0x48712b(0x274)])!=null&&_0x464d81[_0x48712b(0x284)]&&_0x28a36c[_0x48712b(0x274)][_0x48712b(0x32a)]?_0x28a36c[_0x48712b(0x274)][_0x48712b(0x32a)]+_0x48712b(0x230)+ye(_0x28a36c[_0x48712b(0x274)][_0x48712b(0x284)]):'',_0xc39f16[_0x48712b(0x29c)][_0x48712b(0x1bf)]=ye(_0x28a36c['fill']??_0x48712b(0x2db)),_0xc39f16[_0x48712b(0x29c)][_0x48712b(0x2ec)]=_0x28a36c['radius']?_0x28a36c['radius']+'px':I+'px',_0xc39f16[_0x48712b(0x29c)][_0x48712b(0x433)]=_0x48712b(0x334),_0xc39f16[_0x48712b(0x29c)][_0x48712b(0x23c)]=_0x48712b(0x382);}[_0x5c3e77(0x199)](){const _0x4a6db8=_0x5c3e77;return{'resolveHostStyle':({style:_0x362bf5})=>({'fill':this[_0x4a6db8(0x2f3)](_0x362bf5)[_0x4a6db8(0x3c5)]}),'resolveRenderBackgroundColor':({hostStyle:_0x1fdc8f})=>_0x1fdc8f[_0x4a6db8(0x3c5)],'prepareSpec':({mode:_0x31fbe2,spec:_0x7a4918})=>_0x31fbe2===_0x4a6db8(0x1b4)?{..._0x7a4918,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x7a4918};}[_0x5c3e77(0x42f)](_0x190e7d,_0x18c353){const _0x4d3498=_0x5c3e77;let _0x4bd400=this[_0x4d3498(0x27a)]['get'](_0x190e7d);_0x4bd400&&_0x4bd400[_0x4d3498(0x3f4)]((_0x5cb04c,_0x428d85)=>{const _0x39a9d3=_0x4d3498;_0x5cb04c['forEach'](_0x38af79=>this[_0x39a9d3(0x385)](_0x190e7d,_0x18c353,_0x428d85,_0x38af79));});}[_0x5c3e77(0x385)](_0x31b2b0,_0x29de51,_0x409bb0,_0x46d463){const _0x355fdc=_0x5c3e77;let _0x18eb8c=this[_0x355fdc(0x1a1)]['get'](_0x31b2b0);_0x18eb8c||(_0x18eb8c=new Map(),this[_0x355fdc(0x1a1)][_0x355fdc(0x3e1)](_0x31b2b0,_0x18eb8c));let _0xa88c13=_0x18eb8c[_0x355fdc(0x2e5)](_0x409bb0);_0xa88c13||(_0xa88c13=new Map(),_0x18eb8c[_0x355fdc(0x3e1)](_0x409bb0,_0xa88c13)),!_0xa88c13[_0x355fdc(0x1d4)](_0x46d463)&&_0xa88c13[_0x355fdc(0x3e1)](_0x46d463,_0x29de51['on'](_0x409bb0,_0x46d463));}[_0x5c3e77(0x245)](_0x2952d6,_0x2835f1,_0x2ceea1){const _0x187dd0=_0x5c3e77;var _0x1e9111,_0x597b37;let _0xdc0f4=(_0x1e9111=this[_0x187dd0(0x1a1)][_0x187dd0(0x2e5)](_0x2952d6))==null?void 0x0:_0x1e9111[_0x187dd0(0x2e5)](_0x2835f1);_0xdc0f4==null||(_0x597b37=_0xdc0f4[_0x187dd0(0x2e5)](_0x2ceea1))==null||_0x597b37[_0x187dd0(0x3f9)](),_0xdc0f4==null||_0xdc0f4['delete'](_0x2ceea1);}[_0x5c3e77(0x2d0)](_0x3c98c2){const _0x11bb69=_0x5c3e77;let _0x103f49=this['_chartEventSubscriptions'][_0x11bb69(0x2e5)](_0x3c98c2);_0x103f49==null||_0x103f49[_0x11bb69(0x3f4)](_0x338690=>{const _0x34abd1=_0x11bb69;_0x338690[_0x34abd1(0x3f4)](_0xf2bd0f=>_0xf2bd0f['dispose']()),_0x338690[_0x34abd1(0x416)]();}),this[_0x11bb69(0x1a1)]['delete'](_0x3c98c2);}['_getChartRuntimeKey'](_0x1d8ccf,_0x17e7ad){return _0x1d8ccf+'::'+_0x17e7ad;}['dispose'](){const _0x2ac5ce=_0x5c3e77;this[_0x2ac5ce(0x2f6)][_0x2ac5ce(0x3f4)](_0x13def0=>_0x13def0[_0x2ac5ce(0x3f9)]()),this[_0x2ac5ce(0x2f6)][_0x2ac5ce(0x416)](),this[_0x2ac5ce(0x363)][_0x2ac5ce(0x416)](),this['_chartEventHandlers']['clear'](),Array[_0x2ac5ce(0x189)](this[_0x2ac5ce(0x1a1)]['keys']())['forEach'](_0xb954ef=>this[_0x2ac5ce(0x2d0)](_0xb954ef)),super[_0x2ac5ce(0x3f9)]();}};R=x([b(0x0,(0x0,n['Inject'])(n[_0x5c3e77(0x1c0)])),b(0x1,(0x0,n['Inject'])(u['ChartThemeService'])),b(0x2,u[_0x5c3e77(0x345)])],R);let z=class extends n[_0x5c3e77(0x375)]{constructor(_0x543b1b,_0x152d14,_0x564a3c,_0x3a89a8,_0x5483fb,_0x2c3250,_0x3877eb){const _0x127bae=_0x5c3e77;super(),this['_renderContext']=_0x543b1b,this[_0x127bae(0x1ed)]=_0x152d14,this[_0x127bae(0x2b0)]=_0x564a3c,this['_modelService']=_0x3a89a8,this[_0x127bae(0x211)]=_0x5483fb,this[_0x127bae(0x2fd)]=_0x2c3250,this['_localeService']=_0x3877eb,y(this,'_activePanelKey',null),y(this,'_activePanelDisposable',null),y(this,_0x127bae(0x3ac),null),this['disposeWithMe'](this['_editSessionService'][_0x127bae(0x400)]['subscribe'](_0x59113a=>this[_0x127bae(0x1ff)](_0x59113a)));}[_0x5c3e77(0x3f9)](){const _0x2dbeec=_0x5c3e77;this[_0x2dbeec(0x246)](),super['dispose']();}[_0x5c3e77(0x1ff)](_0x580fc4){const _0x47f4c2=_0x5c3e77;var _0x43bf23;if(!_0x580fc4||_0x580fc4[_0x47f4c2(0x3cd)]!==this['_renderContext']['unitId']){this[_0x47f4c2(0x246)]();return;}let _0x57a96f=this[_0x47f4c2(0x18e)][_0x47f4c2(0x3fb)](_0x580fc4[_0x47f4c2(0x3cd)],_0x580fc4[_0x47f4c2(0x1ca)]);if(!_0x57a96f){this[_0x47f4c2(0x246)]();return;}let _0x2e0ead=[M,_0x580fc4[_0x47f4c2(0x3cd)],_0x580fc4[_0x47f4c2(0x2cd)],_0x580fc4[_0x47f4c2(0x2d3)]][_0x47f4c2(0x2da)](':');if(this[_0x47f4c2(0x402)]===_0x2e0ead){this[_0x47f4c2(0x18e)][_0x47f4c2(0x407)](_0x57a96f),this[_0x47f4c2(0x22a)](_0x580fc4['unitId'],_0x580fc4['chartId']);return;}(_0x43bf23=this[_0x47f4c2(0x26e)])==null||_0x43bf23['dispose'](),this['_modelService']['setActiveChartRuntime'](_0x57a96f),this[_0x47f4c2(0x22a)](_0x580fc4[_0x47f4c2(0x3cd)],_0x580fc4[_0x47f4c2(0x1ca)]),this[_0x47f4c2(0x402)]=_0x2e0ead,this['_activePanelDisposable']=this[_0x47f4c2(0x2b0)][_0x47f4c2(0x36b)]({'id':M,'header':{'title':this[_0x47f4c2(0x33b)]['t'](_0x47f4c2(0x414))},'width':0x184,'children':{'label':M,'unitId':_0x580fc4[_0x47f4c2(0x3cd)],'subUnitId':_0x580fc4[_0x47f4c2(0x2cd)],'elementId':_0x580fc4[_0x47f4c2(0x2d3)],'chartId':_0x580fc4[_0x47f4c2(0x1ca)]},'onClose':_0x274259=>{const _0x33fc8f=_0x47f4c2;this[_0x33fc8f(0x402)]===_0x2e0ead&&(this[_0x33fc8f(0x402)]=null,this[_0x33fc8f(0x26e)]=null,this[_0x33fc8f(0x1d9)](),this['_modelService']['setActiveChartRuntime'](null),_0x274259===_0x33fc8f(0x331)&&this['_editSessionService'][_0x33fc8f(0x372)](_0x33fc8f(0x331)));}});}[_0x5c3e77(0x246)](){const _0x55134f=_0x5c3e77;var _0x96ace0;if(!this[_0x55134f(0x402)]){this[_0x55134f(0x1d9)]();return;}(_0x96ace0=this[_0x55134f(0x26e)])==null||_0x96ace0[_0x55134f(0x3f9)](),this['_activePanelDisposable']=null,this[_0x55134f(0x402)]=null,this[_0x55134f(0x1d9)](),this['_modelService'][_0x55134f(0x407)](null);}[_0x5c3e77(0x22a)](_0x5944ca,_0x2d13d4){const _0xe23ae7=_0x5c3e77;let _0x34fcf6=this[_0xe23ae7(0x3ac)];((_0x34fcf6==null?void 0x0:_0x34fcf6[_0xe23ae7(0x3cd)])!==_0x5944ca||_0x34fcf6['chartId']!==_0x2d13d4)&&(this[_0xe23ae7(0x1d9)](),this[_0xe23ae7(0x3ac)]={'unitId':_0x5944ca,'chartId':_0x2d13d4},this['_renderService'][_0xe23ae7(0x346)](_0x5944ca,_0x2d13d4,!0x0));}[_0x5c3e77(0x1d9)](){const _0x461b36=_0x5c3e77;let _0x1f3c03=this[_0x461b36(0x3ac)];_0x1f3c03&&(this[_0x461b36(0x3ac)]=null,this['_renderService']['setElementEditMode'](_0x1f3c03[_0x461b36(0x3cd)],_0x1f3c03[_0x461b36(0x1ca)],!0x1));}};z=x([b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(w)),b(0x2,(0x0,n[_0x5c3e77(0x3ba)])(t[_0x5c3e77(0x3bf)])),b(0x3,(0x0,n[_0x5c3e77(0x3ba)])(i['BoardChartModelService'])),b(0x4,(0x0,n[_0x5c3e77(0x3ba)])(R)),b(0x5,D),b(0x6,(0x0,n[_0x5c3e77(0x3ba)])(n[_0x5c3e77(0x1c0)]))],z);var be=class extends n[_0x5c3e77(0x375)]{constructor(_0x1e57fd,_0x836e69,_0x4c10fc){const _0xcc68a1=_0x5c3e77;super(),this[_0xcc68a1(0x1ca)]=_0x1e57fd,this['_host']=_0x836e69,this[_0xcc68a1(0x1f9)]=_0x4c10fc,y(this,_0xcc68a1(0x38a),u[_0xcc68a1(0x2f8)][_0xcc68a1(0x2e1)]);}['getRect'](){const _0x2bc183=_0x5c3e77;return{'width':Math[_0x2bc183(0x3ea)](0x1,this[_0x2bc183(0x180)][_0x2bc183(0x31c)]),'height':Math['max'](0x1,this['_host'][_0x2bc183(0x254)])};}[_0x5c3e77(0x17c)](_0x2f0dcb){const _0x3361a9=_0x5c3e77;this[_0x3361a9(0x1f9)](this[_0x3361a9(0x180)],_0x2f0dcb);}async[_0x5c3e77(0x3d1)](){return this['_host'];}[_0x5c3e77(0x281)](){return!0x0;}[_0x5c3e77(0x355)](){}[_0x5c3e77(0x43a)](){}[_0x5c3e77(0x1db)](){}};function xe({chartElement:_0x6fa919,chartId:_0xb89f1f,unitId:_0x1f0bbf}){const _0x45d075=_0x5c3e77;let _0x580c71=(0x0,l[_0x45d075(0x3c6)])(null),_0x1965e1=(0x0,c[_0x45d075(0x200)])(i[_0x45d075(0x2f9)]),_0x236175=(0x0,c['useDependency'])(R),_0x37290c=(0x0,c[_0x45d075(0x200)])(n[_0x45d075(0x1c0)]);return(0x0,l['useEffect'])(()=>{const _0x13488c=_0x45d075;let _0x21d181=_0x580c71[_0x13488c(0x2c5)];if(!_0x21d181)return;let _0x54383e=_0x1965e1['ensureChartModel'](_0x1f0bbf,_0xb89f1f);if(!_0x54383e)return;_0x1965e1[_0x13488c(0x407)](_0x54383e);let _0x2a24d1=new be(_0xb89f1f,_0x21d181,(_0x2d5e95,_0xc5543b)=>_0x236175[_0x13488c(0x223)](_0x2d5e95,{'fill':_0xc5543b[_0x13488c(0x3c5)]??_0x13488c(0x2db)})),_0x108bed=_0x236175[_0x13488c(0x269)](u[_0x13488c(0x2f8)]['Dom']),_0x517877=_0x236175[_0x13488c(0x406)](_0x1f0bbf,_0xb89f1f,_0x108bed);_0x108bed['bind'](_0x2a24d1);let _0x5cc8af=(0x0,r[_0x13488c(0x41c)])([_0x54383e['model'][_0x13488c(0x292)],_0x54383e[_0x13488c(0x1e2)][_0x13488c(0x235)],_0x37290c[_0x13488c(0x219)]])[_0x13488c(0x2bb)]((0x0,r['filter'])(([_0x1198d9])=>_0x1198d9!=null))['subscribe'](()=>{const _0x3cf8b1=_0x13488c;let {chartConfig:_0x169008,chartStyle:_0x192eaf}=_0x236175[_0x3cf8b1(0x1f7)](_0x54383e);Se(_0x21d181,_0x6fa919,_0x192eaf,_0x236175),_0x108bed[_0x3cf8b1(0x310)]({'chartId':_0xb89f1f,'config':_0x169008,'style':_0x192eaf})[_0x3cf8b1(0x3a6)](()=>{});});return()=>{const _0x3bee4e=_0x13488c;var _0x6ffa5f;_0x5cc8af[_0x3bee4e(0x279)](),_0x517877['dispose'](),_0x108bed['dispose'](),_0x2a24d1[_0x3bee4e(0x3f9)](),((_0x6ffa5f=_0x1965e1[_0x3bee4e(0x218)])==null?void 0x0:_0x6ffa5f[_0x3bee4e(0x3cd)])===_0x1f0bbf&&_0x1965e1[_0x3bee4e(0x218)]['chartId']===_0xb89f1f&&_0x1965e1[_0x3bee4e(0x407)](null);};},[_0x6fa919,_0xb89f1f,_0x37290c,_0x1965e1,_0x236175,_0x1f0bbf]),(0x0,d[_0x45d075(0x340)])(_0x45d075(0x3db),{'className':_0x45d075(0x2d5),'data-board-chart-dom-renderer':_0xb89f1f,'children':(0x0,d[_0x45d075(0x340)])(_0x45d075(0x3db),{'ref':_0x580c71,'data-board-chart-dom-content-host':_0xb89f1f})});}function Se(_0x38b560,_0x228e90,_0x1d7213,_0x2c5708){const _0x18fa22=_0x5c3e77;let _0x1d7724=_0x2c5708['getHostStyle'](_0x1d7213)['fill'],_0xaacb29=L({'chartStyle':_0x1d7213,'chartElement':_0x228e90,'hostFill':_0x1d7724}),_0x47bda2=Math['max'](0x0,_0xaacb29[_0x18fa22(0x35b)]);_0x38b560[_0x18fa22(0x29c)][_0x18fa22(0x3b1)]='absolute',_0x38b560[_0x18fa22(0x29c)][_0x18fa22(0x3b4)]=_0x47bda2+'px',_0x38b560['style'][_0x18fa22(0x39f)]=_0x47bda2+'px',_0x38b560[_0x18fa22(0x29c)]['right']=_0x47bda2+'px',_0x38b560['style']['bottom']=_0x47bda2+'px',_0x38b560[_0x18fa22(0x29c)][_0x18fa22(0x1bf)]=_0xaacb29[_0x18fa22(0x3c5)],_0x38b560[_0x18fa22(0x29c)][_0x18fa22(0x2ec)]=Math['max'](0x0,_0xaacb29[_0x18fa22(0x261)]-_0x47bda2)+'px',_0x38b560[_0x18fa22(0x29c)]['overflow']=_0x18fa22(0x334),_0x38b560[_0x18fa22(0x29c)][_0x18fa22(0x23c)]=_0x18fa22(0x382);}const Ce=(0x0,n[_0x5c3e77(0x21c)])(_0x5c3e77(0x352));function we(_0x1837b6){return{..._0x1837b6,'borderWidth':0x0};}var Te=class{constructor(_0x308ad9){const _0x34dbcf=_0x5c3e77;this[_0x34dbcf(0x211)]=_0x308ad9;}async[_0x5c3e77(0x310)](_0x5dc909,_0x1d4e45){const _0x4c8d46=_0x5c3e77;if(typeof document>'u')throw TypeError('Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.');let _0x41dc59=new u[(_0x4c8d46(0x253))](_0x1d4e45[_0x4c8d46(0x1ca)],{'width':_0x5dc909[_0x4c8d46(0x32a)],'height':_0x5dc909[_0x4c8d46(0x207)]}),_0x18031d=this[_0x4c8d46(0x211)][_0x4c8d46(0x269)](u[_0x4c8d46(0x2f8)][_0x4c8d46(0x196)]);try{let {chartConfig:_0x2ff979,chartStyle:_0x3118d0}=this['_renderService'][_0x4c8d46(0x1f7)](_0x1d4e45);_0x18031d['bind'](_0x41dc59),await _0x18031d[_0x4c8d46(0x310)]({'chartId':_0x1d4e45[_0x4c8d46(0x1ca)],'config':_0x2ff979,'style':we(_0x3118d0)});let _0x4f7cde=_0x41dc59['getDataUrl']();if(!_0x4f7cde)throw Error(_0x4c8d46(0x31e)+_0x1d4e45[_0x4c8d46(0x3cd)]+'/'+_0x1d4e45[_0x4c8d46(0x1ca)]);return _0x4f7cde;}finally{_0x18031d['dispose'](),_0x41dc59[_0x4c8d46(0x3f9)]();}}};let B=class extends a[_0x5c3e77(0x353)]{constructor(_0x2c463a,_0x2c5aee,_0x7960f1,_0x160152){super(_0x2c463a,_0x2c5aee,_0x160152??new Te(_0x7960f1));}};B=x([b(0x0,(0x0,n[_0x5c3e77(0x3ba)])(n[_0x5c3e77(0x1c0)])),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(i[_0x5c3e77(0x2f9)])),b(0x2,(0x0,n[_0x5c3e77(0x3ba)])(R)),b(0x3,(0x0,n[_0x5c3e77(0x34f)])(Ce))],B);let V=class extends n['Disposable']{constructor(_0x405e03,_0xa6ef5c,_0x10067d,_0x4447b4,_0x432449){const _0x5d5f6c=_0x5c3e77;super(),this[_0x5d5f6c(0x2f0)]=_0x405e03,this['_editSessionService']=_0xa6ef5c,this['_boardElementService']=_0x10067d,this[_0x5d5f6c(0x3eb)]=_0x4447b4,this['_snapshotService']=_0x432449,y(this,_0x5d5f6c(0x195),null),y(this,_0x5d5f6c(0x391),null),y(this,_0x5d5f6c(0x275),null),this[_0x5d5f6c(0x1b3)](this[_0x5d5f6c(0x1ed)][_0x5d5f6c(0x400)][_0x5d5f6c(0x2d9)](_0x41f618=>this['_syncActiveChart'](_0x41f618)));}[_0x5c3e77(0x3f9)](){const _0xc1ead6=_0x5c3e77;this[_0xc1ead6(0x193)](),super[_0xc1ead6(0x3f9)]();}['_syncActiveChart'](_0x574334){const _0x4a16da=_0x5c3e77;if(!_0x574334||_0x574334[_0x4a16da(0x3cd)]!==this[_0x4a16da(0x2f0)][_0x4a16da(0x3cd)]){this[_0x4a16da(0x193)]();return;}let _0x70275=this['_boardElementService'][_0x4a16da(0x249)](_0x574334['unitId'],_0x574334[_0x4a16da(0x2cd)]),_0x4ee827=_0x70275[_0x574334[_0x4a16da(0x2d3)]];if(!_0x4ee827||_0x4ee827['element'][_0x4a16da(0x2b8)]!==e[_0x4a16da(0x41a)][_0x4a16da(0x318)]||_0x4ee827[_0x4a16da(0x27b)][_0x4a16da(0x1ca)]!==_0x574334[_0x4a16da(0x1ca)]){this['_clearActiveLayer']();return;}let _0x2201b8=(0x0,e[_0x4a16da(0x258)])(_0x70275,_0x4ee827[_0x4a16da(0x2d3)]);if(!_0x2201b8){this['_clearActiveLayer']();return;}let _0x564220=_0x4ee827[_0x4a16da(0x27b)],_0x5a4de4=_0x564220[_0x4a16da(0x1ca)],_0x243763=[_0x4a16da(0x2d8),_0x574334['unitId'],_0x574334[_0x4a16da(0x2cd)],_0x4ee827[_0x4a16da(0x2d3)]][_0x4a16da(0x2da)](':');if(this['_activeLayerId']===_0x243763){this[_0x4a16da(0x275)]={'chartId':_0x5a4de4,'unitId':_0x574334['unitId']},this[_0x4a16da(0x3eb)]['updateItem'](_0x243763,{'rect':_0x2201b8,'content':()=>(0x0,d[_0x4a16da(0x340)])(xe,{'chartId':_0x5a4de4,'chartElement':_0x564220,'unitId':_0x574334['unitId']})});return;}this[_0x4a16da(0x193)](),this['_activeLayerId']=_0x243763,this[_0x4a16da(0x275)]={'chartId':_0x5a4de4,'unitId':_0x574334[_0x4a16da(0x3cd)]},this[_0x4a16da(0x391)]=this[_0x4a16da(0x3eb)][_0x4a16da(0x25e)]({'id':_0x243763,'unitId':_0x574334[_0x4a16da(0x3cd)],'subUnitId':_0x574334[_0x4a16da(0x2cd)],'elementId':_0x4ee827[_0x4a16da(0x2d3)],'rect':_0x2201b8,'interactive':!0x0,'zIndex':0x1,'content':()=>(0x0,d[_0x4a16da(0x340)])(xe,{'chartId':_0x5a4de4,'chartElement':_0x564220,'unitId':_0x574334[_0x4a16da(0x3cd)]})});}['_clearActiveLayer'](){const _0x3db661=_0x5c3e77;var _0x242648;let _0x298118=this['_activeChart'];(_0x242648=this[_0x3db661(0x391)])==null||_0x242648['dispose'](),this['_activeLayerDisposable']=null,this[_0x3db661(0x195)]=null,this[_0x3db661(0x275)]=null,_0x298118&&this['_snapshotService'][_0x3db661(0x1b5)](_0x298118['unitId'],_0x298118[_0x3db661(0x1ca)],{'waitForConfig':!0x0});}};V=x([b(0x1,(0x0,n['Inject'])(w)),b(0x2,e[_0x5c3e77(0x20e)]),b(0x3,(0x0,n[_0x5c3e77(0x3ba)])(t[_0x5c3e77(0x3df)])),b(0x4,(0x0,n['Inject'])(B))],V);let H=class extends n[_0x5c3e77(0x375)]{constructor(_0x2e39a9,_0x1a91de,_0x2a2519,_0x59b6be){const _0x1df137=_0x5c3e77;super(),this[_0x1df137(0x2f1)]=_0x2e39a9,this[_0x1df137(0x1a2)]=_0x1a91de,this[_0x1df137(0x441)]=_0x2a2519,this[_0x1df137(0x18e)]=_0x59b6be,this['_listenChartResourceMutations']();}['_listenChartResourceMutations'](){const _0xcfbb6e=_0x5c3e77;this[_0xcfbb6e(0x1b3)](this['_commandService']['onCommandExecuted'](_0x5bffff=>{const _0x3fd293=_0xcfbb6e;if(_0x5bffff['id']===i[_0x3fd293(0x216)]['id']){var _0x10bdc0;let _0x536ad5=_0x5bffff[_0x3fd293(0x39e)];_0x536ad5!=null&&_0x536ad5[_0x3fd293(0x3cd)]&&(_0x10bdc0=_0x536ad5[_0x3fd293(0x328)])!=null&&_0x10bdc0['id']&&(this['_shouldWaitForChartConfig'](_0x536ad5)?this[_0x3fd293(0x1a2)]['invalidateChart'](_0x536ad5[_0x3fd293(0x3cd)],_0x536ad5[_0x3fd293(0x328)]['id'],{'waitForConfig':!0x0}):this[_0x3fd293(0x1a2)][_0x3fd293(0x1b5)](_0x536ad5[_0x3fd293(0x3cd)],_0x536ad5[_0x3fd293(0x328)]['id']));return;}if(_0x5bffff['id']===i[_0x3fd293(0x30d)]['id']){var _0x5c82a1;let _0x595005=_0x5bffff[_0x3fd293(0x39e)];if(!(_0x595005!=null&&_0x595005[_0x3fd293(0x3cd)])||!((_0x5c82a1=_0x595005[_0x3fd293(0x263)])!=null&&_0x5c82a1['id']))return;this['_resourceService'][_0x3fd293(0x33c)](_0x595005[_0x3fd293(0x3cd)],_0x595005['dataSource']['id'])['forEach'](_0x54e0d6=>this[_0x3fd293(0x1a2)][_0x3fd293(0x1b5)](_0x595005[_0x3fd293(0x3cd)],_0x54e0d6,{'waitForConfig':!0x0}));}}));}[_0x5c3e77(0x37b)](_0x1d4282){const _0x1039fc=_0x5c3e77;var _0x26c679;let _0x28d896=(_0x26c679=this[_0x1039fc(0x18e)][_0x1039fc(0x359)](_0x1d4282[_0x1039fc(0x3cd)],_0x1d4282[_0x1039fc(0x328)]['id']))==null||(_0x26c679=_0x26c679[_0x1039fc(0x1e2)][_0x1039fc(0x368)])==null?void 0x0:_0x26c679['type'];return _0x28d896!=null&&_0x28d896!==_0x1d4282[_0x1039fc(0x328)][_0x1039fc(0x23e)];}};H=x([b(0x0,n['ICommandService']),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(B)),b(0x2,(0x0,n[_0x5c3e77(0x3ba)])(i[_0x5c3e77(0x27e)])),b(0x3,(0x0,n[_0x5c3e77(0x3ba)])(i[_0x5c3e77(0x2f9)]))],H);var Ee=_0x5c3e77(0x3e5),De=_0x5c3e77(0x35e);const U={'scaleX':0x1,'scaleY':0x1};function _0x5206(){const _0x302942=['onload','ColumnPercentStacked','BoardChartEditSessionService','boards-chart-ui.section.gauge','_renderManagerService','Line','innerWidth','changeDataSource','config$','BoardChartUIService','_boardCanvasPopManagerService','boards-chart-ui.common.horizontalAxis','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','getCurrentRenderModel','themeBorderColor','getBoardElementRenderObjectKey','503156MnPWoK','chartStyle','style','drawImage','\x20has\x20no\x20render\x20config.','ICommandService','boards-chart-ui.candlestick.columnsError','plan','ChartAxisSection','DEFAULT_BOARD_CHART_VALUES','ChartReferencedDataSourceEditor','boards-chart-ui.section.relation','wordCloud','localPoint','borderClassName','source','ChartPieStyleSection','BoardChartClipboardAdapter','titles','getChart','BoardChartConfigAdapter','toPrimitive','_sidePanelService','row','_elementStateService','crossOrigin','setActiveChartById','_chartRenderService','getElement','resolveChartElementSelection','type','dataUrl','18SxKpbg','pipe','scaleX','Radar','InlineChartCreationIssueCode','IBoardUIStateService','ChartElementFloatMenuAdapterRegistry','boards-chart-ui.common.valueField','CHART_HOST_DEFAULT_BORDER_COLOR','ChartStyle','collect','current','visible','BoardChartDataEditService','issue','registerCommand','section','enabled','state$','subUnitId','object','dataSources','_disposeChartEventSubscriptions','registerAdapter','ChartEditBlockTitle','elementId','anchorRect$','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','iterator','span','board-chart-active','subscribe','join','transparent','chartElement','boards-chart-ui.common.label','toolbar','function','_popupSelectionKey','Dom','onReady','toStringTag','value','get','getState','targetUnitId','ChartEditorCapability','src','payload','match','borderRadius','primary','tryPrepareInlineChartData','110HdFYBT','_renderContext','_commandService','supports','getHostStyle','BehaviorSubject','isInteractionSurfaceActive','_chartInstanceMap','_themeService','ChartHostRenderMode','BoardChartModelService','EmptyData','naturalHeight','_subscribeChartEvents','_chartUIService','33938YCsKxs','GridlinesAndTicks','board-chart.data-editor-dialog','removePopup','BoardChartSnapshotRenderService','onClose','ChartDataSourceRuntimeStatus','pageChange','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','_showPopupForSelection','ChartLegendSection','moveTo','pie','changeChartSource','getObjectIncludeInGroup','SetBoardChartDataSourceMutation','showFloatMenu','_drawChartImage','render','_instanceService','getConfig','AreaPercentStacked','ChartTypeSpecificDataSection','IRenderManagerService','getId','getChartInlineTableMinColumns','Chart','name','UNIVER_BOARDS_CHART_UI_PLUGIN','string','clientWidth','BarPercentStacked','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','engine','borderWidth','ChartEditPanel','boards-chart-ui.section.radar','scaleY','_element','Boxplot','RightVerticalAxis','CHART_TYPE_CATALOG','chart','boards-chart-ui.common.category','width','quickToolbar','preparePaste','useChartEditorChartType','_watchSnapshotUpdates','getDataSource','transformByState','manual','elementRemove$','tab','hidden','_renderModelManager','Sunburst','deepClone','ChartStyleSection','isReferencedChartDataSource','IndicatorLine','_localeService','getChartIdsByDataSource','Module','dataSourceId','ChartParetoSeriesSection','jsx','_requestSnapshotForObject','ghost','frameStyle','InsertBoardChartCommand','IChartRenderModelManagerService','setElementEditMode','hostFill','size','DEFAULT_CHART_LEGEND_VALUES','resolve','univer-flex\x20univer-justify-end\x20univer-gap-2','_buildPopupSelectionKey','funnel','_canvasPopupService','Optional','default','activeTool','board-chart.snapshot-renderer','ChartSnapshotQueue','getElementOrder','syncLayout','Injector','bounds','Series','getChartModel','ChartHeatmapStyleSection','strokeWidth','DEFAULT_CHART_RADAR_VALUES','anonymous','1.0.0-beta.1','clip','chartIdByElementId','_attachNativeLoadHandlers','boards-chart-ui.chord.target','_chartElementEditMode','context','DEFAULT_CHART_AXIS_VALUES','setFocusedSwimlaneLane','boards-chart-ui.config','config','Pie','call','open','getTransformerByCreate','isTransforming','selectionChange','_componentManager','_attachObjectDoubleClicks','syncObject','close','useMemo','UNIVER_BOARD','Disposable','chartTypeCanUseTrendLine','snapshotUpdated$','label','ChartSeriesTypeField','updateElement','_shouldWaitForChartConfig','ColumnStacked','jsxs','chartInvalidated$','closePath','CommandType','changeEnd$','border-box','CHART_ELEMENT_FLOAT_MENU_COMPONENT','fromEvent','_bindChartEventHandler','DisposableCollection','DEFAULT_CHART_WATERFALL_SETUP_VALUES','AreaStacked','DEFAULT_CHART_SERIES_VALUES','mode','asObservable','_drawFrameStroke','defaultChartConfig','throttleTime','ChartImageExportService','ChartWordCloudShapeField','_activeLayerDisposable','status','boards-chart-ui.section.treemap','Gauge','getScene','oKey','Heatmap','WaterfallSeries','ChartStackField','DEFAULT_CHART_FUNNEL_VALUES','chartTypeSupportsLineAndAreaStyle','relation','boards-chart-ui.common.setup','params','top','DEFAULT_CHART_WATERFALL_STYLE_VALUES','angle','UniverBoardsPlugin','_getChartRuntimeKey','programmatic','ChartEditorProvider','catch','board.operation.chart.open-data-editor','isElementEditModeActive','_native','constructor','stylizeSpec','_activeEditOverlay','_univerInstanceService','rgba(255,\x20255,\x20255,\x200.18)','ChartThemeField','createControl$','position','nativeEvent','Column','left','getActiveSession','ComponentManager','boards-chart-ui.common.chartAndAxisTitles','prototype','getDirection','Inject','BoardDeleteSelectionOperation','UniverChartUIPlugin','boards-chart-ui.common.editData','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','IBoardSidePanelService','ChartTitlesSection','BoardCanvasPopManagerService','useState','useObservable','_frameStyle','fill','useRef','_snapshotRefreshers','tryBuildInlineChartCreationPlan','Data','buildChartTypeSelectOptions','ChartRelationStyleSection','IConfigService','unitId','ChartLineAndAreaSection','ChartWordCloudRepeatField','_clearPopup','ensureMount','clientY','ChartSeriesDataLabelFields','updateFrameStyle','save','ChartTypeBits','skipNextObservers','_popupRuntimeKey','board-chart-setup-panel','column','div','_closePopup','defineProperty','boards-chart-ui.section.funnel','BoardDomLayerService','ChartSeriesFillFields','set','edit-chart','ChartSectionAccordionTrigger','min','@univerjs-pro/boards-chart-ui','ChartRadarStyleSection','activeRuntimeModel$','getDataSourceSharingCount','executeChartUpdateConfig','max','_domLayerService','titleKey','createRenderSpec','boards-chart-ui.section.lineAndArea','tools','boards-chart-ui.chartTypes.','lineWidth','DeleteIcon','boards-chart-ui.common.deleteChart','forEach','Histogram','Trendline','values','Candlestick','dispose','restore','ensureChartModel','extraProps','boards-chart-ui.common.switchRowColumn','right','ChartSeriesRightAxisField','activeSession$','preserveTransform','_activePanelKey','keys','changeStart$','Sankey','registerChartInstance','setActiveChartRuntime','code','charts','IBoardClipboardResourceAdapterService','ChartSectionAccordion','every','BoardChartSelectionController','getDataEditState','univer-w-full\x20!univer-min-w-0','onCancel','stopPropagation','getRenderColor','_openEditSession','boards-chart-ui.common.editChart','scene','clear','zIndex','version','filter','BoardElementType','some','combineLatest','ChartViewStateRegistry','flipX','radar','series','chartModelAdded$','Relation','_updateFrameStyle','pareto','board-chart-floating-toolbar','61164YTYmXm','waterfallStyle','Chord','naturalWidth','selectedIds','doubleClick','_isPopupSelectionStillActive','ChartEditPanelTabs','ChartUIService','_bindChartEventHandlers','ThemeService','Funnel','dispose$','overflow','DEFAULT_CHART_STYLE_VALUES','READY','board-chart-style-panel','RemoveBoardChartSnapshotMutation','ChartSeriesDataPointFields','focusedId','markReady','elementAdd$','BOARD_CHART_SNAPSHOT_BORDER_WIDTH','complete','boards-chart-ui.section.paretoLine','ChartSeriesPointFields','Board\x20chart\x20','_resourceService','boards-chart-ui.dataEditor.unavailable','makeDirty','onerror','additionalRenderAdapters','getCanvasElement','borderColor','setStyle','Pareto','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','_resolveFrameStyle','_host','translate','find','ChartTrendlineSection','_adapter','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','_scheduleAttachObjectDoubleClicks','click','vertical','from','_chartThemeService','parseInlineChartTable','boards-chart-ui.common.chartType','ChartSectionAccordionItem','_modelService','IBoardElementStateService','_uiStateService','isRowDirection','resolveBoardChartSnapshotStyle','_clearActiveLayer','typeOptions','_activeLayerId','Image','referenced','ChartAndAxisTitles','_createChartRenderInstanceContext','RemoveBoardChartDataSourceMutation','elementIdMap','DependentOn','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','PenIcon','registerRenderModule','ChartEditPanelSection','_chartEventSubscriptions','_snapshotService','resolveRotatedBoardObjectAnchorBound','baseOn','DEFAULT_CHART_TRENDLINE_VALUES','ready','_injector','_adapterRegistry','BoardToolType','DEFAULT_CHART_WORD_CLOUD_VALUES','_activeSession$','slice','DEFAULT_CHART_HEATMAP_VALUES','boards-chart-ui.common.chartStyle','BoardChartRenderService','enableChartTool','stroke','scroll','disposeWithMe','image','invalidateChart','hit','_boardElementService','UpdateBoardChartConfigCommand','LineAndArea','board-chart.edit-panel','resolveChartRuntimeStyle','delete','_notifyScene','PieStyle','backgroundColor','LocaleService','button','BoardDomChartHost','heatmap','number','IBoardChartSnapshotRendererService','updateDataForChart','executeCommand','boards-chart-ui.section.chord','960940rLCCWa','chartId','boards-chart-ui.sunburst.hierarchy','exportImage','ChartWordCloudMaskImageIdField','boards-chart-ui.section.sunburst','chartBitsUtils','map','ChartNumberFormatTextField','register','BoardChartFloatingToolbarRenderController','has','target','ParetoBarSeries','ChartSectionAccordionContent','createObject','_clearActiveEditOverlay','_init','markNotReady','_syncSelectionState','parseInt','Bubble','_popupDisposable','small','IDialogService','model','flipY','ChartCommonDataMappingSection','useChartEditorHasRightAxis','createChartElementFloatMenuAdapter','isFinite','length','min(1120px,\x20calc(100vw\x20-\x2032px))','ChartWaterfallSetupFields','ChartGridlinesAndTicksSection','push','_editSessionService','packageName','resourceService','Tools','arc','onStarting','elements','getBoundingClientRect','DEFAULT_CHART_LINE_AND_AREA_VALUES','OPERATION','createRenderInput','chartModelRemoved$','_applyHostStyle','boards-chart-ui.common.apply','boards-chart-ui.dataEditor.updateFailed','labelId','touchDependencies','rect','_syncPanel','useDependency','boards-chart-ui.common.trendline','getOwnPropertyDescriptor','boards-chart-ui.common.cancel','758505ljHrdI','_interactionSurfaceService','_configService','height','fillStyle','boards-chart-ui.common.customize','InvalidCandlestickData','next','ChartFunnelStyleSection','board-chart','IBoardElementService','resolveChartEditPanelRoute','BoardChartPanelController','_renderService','12rwFEcQ','Legend','_config','getActivePageId','SetBoardChartSnapshotMutation','waterfall','activeRuntimeModel','direction$','lineTo','main','createIdentifier','RxDisposable','beginPath','BOARDS_UI_PLUGIN_CONFIG_KEY','VerticalAxis','refreshChartModel','getElementById','applyHostStyle','symbol','boards-chart-ui.section.candlestick','createElement','requestSnapshot','useEffect','_getBoardsUIConfig','_setActiveEditOverlay','boards-chart-ui.common.heatmap','seriesId','BoardChartRenderAdapter','getObject','lineAndArea','px\x20solid\x20','offsetWidth','getUnit','ChangeBoardChartDataSourceCommand','ChartInlineTableEditor','style$','getRuntimeContext','error','univer-shrink-0\x20univer-px-3','279888zjDcQz','Plugin','boards-chart-ui.common.rightVerticalAxis','boxSizing','elementDataItem','chartType','axis','UniverBoardsUIPlugin','_removeRenderAdapter','chartTypeSupportsCapability','_draw','useChartTypeFieldState','_disposeChartEventSubscription','_closeActivePanel','setConfig','subscribeEvent','getElementData','_resolveElementObject','_clearHiddenSelectedTarget','WordCloud','onEditData','Select','!univer-w-36\x20!univer-min-w-0','takeUntil','resolveDefaultChartHostFrameStyle','univer-w-full\x20univer-justify-start','DataUrlImageChartHost','clientHeight','decorate','IUniverInstanceService','onFileLoaded$','resolveBoardElementWorldBounds','ChartEditPanelTab','_chartEventDisposables','Button','UniverInstanceType','GeneralSeries','registerItem','288253VeRFMS','innerHeight','radius','toDisposable','dataSource','boards-chart-ui.common.insertChartFailed','bottom','attachPopupToObject','Treemap','boards-chart-ui.section.gridlinesAndTicks','createChartInstance','inline','boards-chart-ui.candlestick.open','add','merge','_activePanelDisposable','boards-chart-ui.section.indicatorLine','Doughnut','UniverRenderEnginePlugin','select','route','border','_activeChart','_attachScheduled','transformStart','ChartHostAdapter','unsubscribe','_chartEventHandlers','element','_registerAdapter','HorizontalAxis','BoardChartResourceService','board.chart.floating-toolbar','cumulativeLineStyle','checkMounted','UniverBoardsChartPlugin','_objectDblclickDisposables','color','getInfo','ParetoLineSeries','boards-chart-ui.candlestick.low','rightY','strokeStyle'];_0x5206=function(){return _0x302942;};return _0x5206();}function Oe(_0x870aca){const _0x5b6c29=_0x5c3e77;let _0x321e87=_0x870aca[_0x5b6c29(0x3b2)];return typeof MouseEvent<'u'&&_0x321e87 instanceof MouseEvent?_0x321e87:void 0x0;}function ke(_0x26b2de){let _0x59e98a=_0x26b2de['nativeEvent'],_0x519fd8=_0x59e98a==null?void 0x0:_0x59e98a['target'];return typeof Element<'u'&&_0x519fd8 instanceof Element?_0x519fd8:void 0x0;}function Ae(_0x557bcd){const _0x341393=_0x5c3e77;return _0x557bcd[_0x341393(0x32a)]||_0x557bcd[_0x341393(0x3fe)]-_0x557bcd[_0x341393(0x3b4)];}function je(_0x323e24){const _0x598cf3=_0x5c3e77;return _0x323e24[_0x598cf3(0x207)]||_0x323e24[_0x598cf3(0x265)]-_0x323e24[_0x598cf3(0x39f)];}function W(_0x151501,_0x49c22c){const _0x2448f1=_0x5c3e77;let _0x1e62bf=_0x151501[_0x2448f1(0x31c)]||(typeof HTMLElement<'u'&&_0x151501 instanceof HTMLElement?_0x151501[_0x2448f1(0x231)]:0x0),_0x44e779=_0x151501[_0x2448f1(0x254)]||(typeof HTMLElement<'u'&&_0x151501 instanceof HTMLElement?_0x151501['offsetHeight']:0x0),_0x41cfe1=Ae(_0x49c22c),_0x2bcd6f=je(_0x49c22c);return{'scaleX':_0x1e62bf>0x0&&_0x41cfe1>0x0?_0x41cfe1/_0x1e62bf:U[_0x2448f1(0x2bc)],'scaleY':_0x44e779>0x0&&_0x2bcd6f>0x0?_0x2bcd6f/_0x44e779:U['scaleY']};}function Me(_0x47b482,_0x26aac8,_0x246c75){const _0x311bb0=_0x5c3e77;return{'left':_0x47b482[_0x311bb0(0x3b4)]+_0x26aac8[_0x311bb0(0x3b4)]*_0x246c75['scaleX'],'right':_0x47b482[_0x311bb0(0x3b4)]+_0x26aac8['right']*_0x246c75[_0x311bb0(0x2bc)],'top':_0x47b482['top']+_0x26aac8[_0x311bb0(0x39f)]*_0x246c75[_0x311bb0(0x323)],'bottom':_0x47b482['top']+_0x26aac8[_0x311bb0(0x265)]*_0x246c75[_0x311bb0(0x323)]};}function Ne(_0x42fd53){const _0x24a66e=_0x5c3e77;let _0x41b9a9=ke(_0x42fd53),_0x52ddf7=_0x42fd53[_0x24a66e(0x1b6)][_0x24a66e(0x357)];return _0x41b9a9&&_0x52ddf7?()=>{const _0x3a24a6=_0x24a66e;let _0x558f40=_0x41b9a9[_0x3a24a6(0x1f4)]();return Me(_0x558f40,_0x52ddf7,W(_0x41b9a9,_0x558f40));}:()=>{const _0x4d5ac1=_0x24a66e;let _0x1032a6=_0x41b9a9==null?void 0x0:_0x41b9a9[_0x4d5ac1(0x1f4)]();if(_0x41b9a9&&_0x1032a6&&_0x52ddf7)return Me(_0x1032a6,_0x52ddf7,W(_0x41b9a9,_0x1032a6));let _0x1340e2=Oe(_0x42fd53),_0xa3ebc=_0x41b9a9&&_0x1032a6?W(_0x41b9a9,_0x1032a6):U,_0x5f2258=(_0x1340e2==null?void 0x0:_0x1340e2['clientX'])??(_0x1032a6?_0x1032a6['left']+_0x42fd53[_0x4d5ac1(0x2a7)]['x']*_0xa3ebc['scaleX']:_0x42fd53['localPoint']['x']),_0x520bde=(_0x1340e2==null?void 0x0:_0x1340e2[_0x4d5ac1(0x3d2)])??(_0x1032a6?_0x1032a6[_0x4d5ac1(0x39f)]+_0x42fd53[_0x4d5ac1(0x2a7)]['y']*_0xa3ebc[_0x4d5ac1(0x323)]:_0x42fd53[_0x4d5ac1(0x2a7)]['y']);return{'left':_0x5f2258,'right':_0x5f2258+0x1,'top':_0x520bde,'bottom':_0x520bde+0x1};};}function Pe(_0x42f80a){const _0x524ee0=_0x5c3e77;return _0x42f80a[_0x524ee0(0x3fe)]<=_0x42f80a[_0x524ee0(0x3b4)]||_0x42f80a[_0x524ee0(0x265)]<=_0x42f80a['top']?!0x1:typeof window>'u'||_0x42f80a[_0x524ee0(0x3fe)]>0x0&&_0x42f80a[_0x524ee0(0x265)]>0x0&&_0x42f80a[_0x524ee0(0x3b4)]<window[_0x524ee0(0x290)]&&_0x42f80a[_0x524ee0(0x39f)]<window[_0x524ee0(0x260)];}function Fe(_0x5ed791,_0x553229){const _0x4bb586=_0x5c3e77;let _0x77812d=Ne(_0x5ed791),_0x1dbfff=_0x77812d(),_0x5b02af=new r[(_0x4bb586(0x2f4))](_0x1dbfff),_0x3fb19d=new n['DisposableCollection'](),_0x4b4454=!0x1,_0x52d7cf=!0x1;return typeof window<'u'&&_0x3fb19d['add']((0x0,r[_0x4bb586(0x26d)])((0x0,r[_0x4bb586(0x384)])(window,_0x4bb586(0x1b2),{'capture':!0x0}),(0x0,r[_0x4bb586(0x384)])(window,'resize'))[_0x4bb586(0x2bb)]((0x0,r[_0x4bb586(0x38e)])(0x10))['subscribe'](()=>{_0x52d7cf||_0x4b4454||(_0x52d7cf=!0x0,queueMicrotask(()=>{if(_0x52d7cf=!0x1,_0x4b4454)return;let _0x3bdbd2=_0x77812d();if(!Pe(_0x3bdbd2)){_0x553229();return;}_0x5b02af['next'](_0x3bdbd2);}));})),{'initialRect':_0x1dbfff,'anchorRect$':_0x5b02af[_0x4bb586(0x38b)](),'visible':Pe(_0x1dbfff),'dispose':()=>{const _0x1c43e7=_0x4bb586;_0x4b4454=!0x0,_0x3fb19d[_0x1c43e7(0x3f9)](),_0x5b02af[_0x1c43e7(0x43d)]();}};}const Ie='boards-chart-element-float-menu';function G(_0x571f1f,_0x51599f){return _0x571f1f+'::'+_0x51599f;}let K=class extends n[_0x5c3e77(0x375)]{constructor(_0x12b5cb,_0x179e49,_0x498160,_0x5e599b,_0x29370b,_0xb125b9,_0x448449,_0x1ee435,_0x4fa925){const _0x49a1e3=_0x5c3e77;super(),this[_0x49a1e3(0x18e)]=_0x12b5cb,this[_0x49a1e3(0x2b5)]=_0x179e49,this[_0x49a1e3(0x2fd)]=_0x498160,this[_0x49a1e3(0x1ed)]=_0x5e599b,this[_0x49a1e3(0x1a8)]=_0x29370b,this['_canvasPopupService']=_0xb125b9,this[_0x49a1e3(0x28e)]=_0x448449,this[_0x49a1e3(0x3ad)]=_0x1ee435,this[_0x49a1e3(0x1a7)]=_0x4fa925,y(this,_0x49a1e3(0x25a),new Map()),y(this,_0x49a1e3(0x1df),null),y(this,_0x49a1e3(0x3d8),null),this[_0x49a1e3(0x27c)](),this[_0x49a1e3(0x2fc)]();}[_0x5c3e77(0x3f9)](){const _0x162db6=_0x5c3e77;this[_0x162db6(0x3dc)](),this[_0x162db6(0x25a)][_0x162db6(0x3f4)](_0x8d81d2=>_0x8d81d2[_0x162db6(0x3f9)]()),this[_0x162db6(0x25a)]['clear'](),super[_0x162db6(0x3f9)]();}['_registerAdapter'](){const _0x4f92f8=_0x5c3e77;let _0x49eb02=(0x0,a[_0x4f92f8(0x1e6)])({'chartUIService':this[_0x4f92f8(0x2fd)],'getHostAdapter':_0x3412c0=>{const _0x2582c0=_0x4f92f8;this[_0x2582c0(0x18e)][_0x2582c0(0x2b4)](_0x3412c0[_0x2582c0(0x3cd)],_0x3412c0[_0x2582c0(0x1ca)]);let _0x1be318=this[_0x2582c0(0x18e)][_0x2582c0(0x359)](_0x3412c0[_0x2582c0(0x3cd)],_0x3412c0[_0x2582c0(0x1ca)]),_0x2d35a6=this[_0x2582c0(0x3ad)][_0x2582c0(0x232)](_0x3412c0[_0x2582c0(0x3cd)],n[_0x2582c0(0x25c)]['UNIVER_BOARD']),_0x371b24=this[_0x2582c0(0x1ed)][_0x2582c0(0x3b5)]();if(!(!_0x1be318||!_0x2d35a6||!_0x371b24))return new a[(_0x2582c0(0x278))](_0x1be318[_0x2582c0(0x1e2)],new i[(_0x2582c0(0x2ae))]({'unitId':_0x3412c0['unitId'],'pageId':_0x371b24['subUnitId'],'chartId':_0x3412c0[_0x2582c0(0x1ca)],'elementId':_0x371b24[_0x2582c0(0x2d3)],'boardModel':_0x2d35a6,'injector':this[_0x2582c0(0x1a7)]}));},'close':()=>this[_0x4f92f8(0x3dc)](),'openFullPanel':_0x13db0d=>{const _0xa1a5fe=_0x4f92f8;this['_modelService'][_0xa1a5fe(0x2b4)](_0x13db0d[_0xa1a5fe(0x3cd)],_0x13db0d['chartId']);let _0x560f0e=this[_0xa1a5fe(0x1ed)][_0xa1a5fe(0x3b5)]();(_0x560f0e==null?void 0x0:_0x560f0e[_0xa1a5fe(0x3cd)])===_0x13db0d['unitId']&&_0x560f0e[_0xa1a5fe(0x1ca)]===_0x13db0d[_0xa1a5fe(0x1ca)]&&this[_0xa1a5fe(0x1ed)][_0xa1a5fe(0x36b)]({..._0x560f0e,'route':(0x0,a[_0xa1a5fe(0x20f)])(_0x13db0d[_0xa1a5fe(0x1d5)]),'source':_0xa1a5fe(0x3a4)}),this['_closePopup']();}});this[_0x4f92f8(0x1b3)](this['_adapterRegistry']['register'](Ie,_0x49eb02));}['_subscribeChartEvents'](){const _0x3cb0ab=_0x5c3e77;this[_0x3cb0ab(0x1b3)](this[_0x3cb0ab(0x18e)][_0x3cb0ab(0x421)]['subscribe'](_0x47c0dd=>{const _0x5b12a1=_0x3cb0ab;let _0x9577c1=G(_0x47c0dd[_0x5b12a1(0x3cd)],_0x47c0dd[_0x5b12a1(0x1ca)]);if(this[_0x5b12a1(0x25a)][_0x5b12a1(0x1d4)](_0x9577c1))return;let _0x5bbdf9=new n['DisposableCollection']();_0x5bbdf9[_0x5b12a1(0x26c)](this[_0x5b12a1(0x2b5)]['on'](_0x47c0dd[_0x5b12a1(0x3cd)],_0x47c0dd[_0x5b12a1(0x1ca)],_0x5b12a1(0x187),_0x1669f7=>{const _0x2286de=_0x5b12a1;this['_openFloatMenu'](_0x47c0dd[_0x2286de(0x3cd)],_0x47c0dd[_0x2286de(0x1ca)],_0x1669f7);})),this[_0x5b12a1(0x25a)][_0x5b12a1(0x3e1)](_0x9577c1,_0x5bbdf9);})),this[_0x3cb0ab(0x1b3)](this[_0x3cb0ab(0x18e)][_0x3cb0ab(0x1f8)]['subscribe'](_0x2f4c52=>{const _0x27277d=_0x3cb0ab;var _0x1699aa;let _0x56291b=G(_0x2f4c52[_0x27277d(0x3cd)],_0x2f4c52[_0x27277d(0x1ca)]);(_0x1699aa=this['_chartEventDisposables'][_0x27277d(0x2e5)](_0x56291b))==null||_0x1699aa[_0x27277d(0x3f9)](),this[_0x27277d(0x25a)][_0x27277d(0x1bc)](_0x56291b),this[_0x27277d(0x3d8)]===_0x56291b&&this[_0x27277d(0x3dc)]();})),this[_0x3cb0ab(0x1b3)](this['_modelService'][_0x3cb0ab(0x3e7)][_0x3cb0ab(0x2d9)](_0x24c861=>{const _0x14c0cf=_0x3cb0ab;let _0x311059=_0x24c861?G(_0x24c861['unitId'],_0x24c861['chartId']):null;(!_0x311059||this[_0x14c0cf(0x3d8)]&&_0x311059!==this[_0x14c0cf(0x3d8)])&&this[_0x14c0cf(0x3dc)]();}));}['_openFloatMenu'](_0x460980,_0x5c7539,_0x59e209){const _0xc65b87=_0x5c3e77;if(!this[_0xc65b87(0x2b5)][_0xc65b87(0x3a8)](_0x460980,_0x5c7539))return;let _0x3ca8c1=this[_0xc65b87(0x18e)][_0xc65b87(0x359)](_0x460980,_0x5c7539),_0x5467cc=_0x3ca8c1?(0x0,a[_0xc65b87(0x2b7)])(_0x3ca8c1['model'],_0x59e209['hit']):void 0x0;if(!_0x3ca8c1||!_0x5467cc){this[_0xc65b87(0x3dc)]();return;}if(this[_0xc65b87(0x18e)][_0xc65b87(0x407)](_0x3ca8c1),this[_0xc65b87(0x3dc)](),!_0x5467cc[_0xc65b87(0x30e)])return;let _0x4bf767=this[_0xc65b87(0x28e)]['getRenderUnitById'](_0x460980);if(!_0x4bf767)return;let _0x3cfcda=Fe(_0x59e209,()=>this[_0xc65b87(0x24b)](_0x460980,_0x5c7539));if(!_0x3cfcda['visible']){_0x3cfcda[_0xc65b87(0x3f9)]();return;}let _0x3fb76a=this['_canvasPopupService']['addPopup']({'componentKey':a[_0xc65b87(0x383)],'direction':'top-center','offset':[0x0,0x8],'unitId':_0x460980,'subUnitId':'','anchorRect':_0x3cfcda['initialRect'],'anchorRect$':_0x3cfcda[_0xc65b87(0x2d4)],'canvasElement':_0x4bf767[_0xc65b87(0x31f)][_0xc65b87(0x17a)](),'extraProps':{'unitId':_0x460980,'chartId':_0x5c7539,'element':_0x59e209['hit'],'target':_0x5467cc[_0xc65b87(0x1d5)],'adapterKey':Ie}}),_0xbe3beb=new n[(_0xc65b87(0x386))]();_0xbe3beb[_0xc65b87(0x26c)](_0x3cfcda),_0xbe3beb[_0xc65b87(0x26c)]({'dispose':()=>this[_0xc65b87(0x34e)][_0xc65b87(0x301)](_0x3fb76a)}),this[_0xc65b87(0x1df)]=_0xbe3beb,this[_0xc65b87(0x3d8)]=G(_0x460980,_0x5c7539);}[_0x5c3e77(0x3dc)](){const _0x1d6ca4=_0x5c3e77;var _0x552a9c;(_0x552a9c=this['_popupDisposable'])==null||_0x552a9c['dispose'](),this[_0x1d6ca4(0x1df)]=null,this[_0x1d6ca4(0x3d8)]=null;}[_0x5c3e77(0x24b)](_0x1ce647,_0x1f868b){const _0x5320fa=_0x5c3e77;this[_0x5320fa(0x3dc)](),this[_0x5320fa(0x2b5)][_0x5320fa(0x3a8)](_0x1ce647,_0x1f868b)&&(this[_0x5320fa(0x2b5)][_0x5320fa(0x346)](_0x1ce647,_0x1f868b,!0x1),this[_0x5320fa(0x2b5)][_0x5320fa(0x346)](_0x1ce647,_0x1f868b,!0x0));}};K=x([b(0x0,(0x0,n[_0x5c3e77(0x3ba)])(i['BoardChartModelService'])),b(0x1,(0x0,n['Inject'])(R)),b(0x2,D),b(0x3,(0x0,n[_0x5c3e77(0x3ba)])(w)),b(0x4,(0x0,n[_0x5c3e77(0x3ba)])(a[_0x5c3e77(0x2c0)])),b(0x5,(0x0,n[_0x5c3e77(0x3ba)])(c['ICanvasPopupService'])),b(0x6,p[_0x5c3e77(0x315)]),b(0x7,n['IUniverInstanceService']),b(0x8,(0x0,n['Inject'])(n[_0x5c3e77(0x356)]))],K);function Le(_0x346249,_0x47df2a,_0x2d0c97,_0x595cd3,_0x278caf){let _0xf0820f={'chartType':_0x47df2a,'data':_0x2d0c97,..._0x278caf?{'dataSource':_0x278caf}:{},..._0x595cd3?{'style':_0x595cd3}:{}};return{..._0x346249,'options':_0xf0820f};}function Re(_0x5f181a){const _0x52eb12=_0x5c3e77;let _0x57bc0f=(0x0,c[_0x52eb12(0x200)])(n['ICommandService']),_0x211d0f=(0x0,c[_0x52eb12(0x200)])(n[_0x52eb12(0x1c0)]),_0x13e447=(0x0,l[_0x52eb12(0x373)])(()=>(0x0,a[_0x52eb12(0x3ca)])(a['CHART_TYPE_CATALOG']['map'](_0x326e49=>({..._0x326e49,'label':_0x211d0f['t'](_0x52eb12(0x3f0)+_0x326e49[_0x52eb12(0x1fc)])}))),[_0x211d0f]),[_0x3f5173,_0x2db660]=(0x0,l['useState'])(String(u['ChartTypeBits'][_0x52eb12(0x3b3)])),_0x33331e=_0x13e447[_0x52eb12(0x182)](_0x454541=>_0x454541[_0x52eb12(0x2e4)]===_0x3f5173),_0x121bf3=(_0x33331e==null?void 0x0:_0x33331e[_0x52eb12(0x23e)])??u[_0x52eb12(0x3d6)]['Column'],[_0x23c204,_0x452403]=(0x0,l[_0x52eb12(0x3c2)])(()=>i[_0x52eb12(0x2a3)]['map'](_0x2ad465=>[..._0x2ad465])),[_0xbf1b98,_0x1142ce]=(0x0,l[_0x52eb12(0x3c2)])(_0x52eb12(0x26a)),[_0x1b768a,_0x401b4b]=(0x0,l['useState'])(null),[_0x39ec6d,_0x51157a]=(0x0,l[_0x52eb12(0x3c2)])([]),[_0x22965a,_0x4ad9e4]=(0x0,l[_0x52eb12(0x3c2)])(null),_0x56f7c7={[a[_0x52eb12(0x2be)]['UnknownOption']]:_0x211d0f['t'](_0x52eb12(0x264)),[a[_0x52eb12(0x2be)]['EmptyData']]:_0x211d0f['t']('boards-chart-ui.common.tableDataEmpty'),[a[_0x52eb12(0x2be)][_0x52eb12(0x20a)]]:_0x211d0f['t'](_0x52eb12(0x2a0))},_0x34d5af=_0x2a640e=>(0x0,a['createChartInlineStarterData'])(_0x2a640e,{'candlestickClose':_0x211d0f['t']('boards-chart-ui.candlestick.close'),'candlestickHigh':_0x211d0f['t']('boards-chart-ui.candlestick.high'),'candlestickLow':_0x211d0f['t'](_0x52eb12(0x287)),'candlestickOpen':_0x211d0f['t'](_0x52eb12(0x26b)),'category':_0x211d0f['t'](_0x52eb12(0x329)),'chordSource':_0x211d0f['t']('boards-chart-ui.chord.source'),'chordTarget':_0x211d0f['t'](_0x52eb12(0x362)),'label':_0x211d0f['t'](_0x52eb12(0x2dd)),'sunburstHierarchy':_0x211d0f['t'](_0x52eb12(0x1cb)),'value':_0x211d0f['t']('boards-chart-ui.common.value'),'valueField':_0x211d0f['t'](_0x52eb12(0x2c1))});return(0x0,d[_0x52eb12(0x37d)])(_0x52eb12(0x3db),{'className':_0x52eb12(0x185),'children':[(0x0,d[_0x52eb12(0x37d)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,d[_0x52eb12(0x340)])(_0x52eb12(0x3db),{'className':_0x52eb12(0x296),'children':_0x211d0f['t'](_0x52eb12(0x18c))}),(0x0,d[_0x52eb12(0x340)])(o[_0x52eb12(0x24e)],{'className':_0x52eb12(0x40f),'value':_0x3f5173,'options':_0x13e447,'onChange':_0xce85c=>{const _0x23ab5a=_0x52eb12;var _0x249fbb;_0x2db660(_0xce85c);let _0xa8068b=((_0x249fbb=_0x13e447[_0x23ab5a(0x182)](_0x28d483=>_0x28d483['value']===_0xce85c))==null?void 0x0:_0x249fbb['chartType'])??Number(_0xce85c),_0x948646=_0x34d5af(_0xa8068b);_0x948646&&_0x452403(_0x948646);}})]}),(0x0,d[_0x52eb12(0x340)])(a[_0x52eb12(0x2a4)],{'mode':_0xbf1b98,'inlineContent':(0x0,d['jsx'])(a['ChartInlineTableEditor'],{'values':_0x23c204,'minColumns':(0x0,a[_0x52eb12(0x317)])(_0x121bf3),'parsePastedText':u[_0x52eb12(0x18b)],'onChange':_0x452403}),'onModeChange':_0x40d69b=>{_0x1142ce(_0x40d69b),_0x401b4b(null),_0x51157a([]);},'onPreviewChange':(_0x1f8a93,_0x20806b)=>{const _0x599207=_0x52eb12;_0x1f8a93&&_0x20806b[_0x599207(0x392)]===u[_0x599207(0x304)][_0x599207(0x435)]&&_0x20806b['values']?(_0x401b4b({'source':_0x1f8a93}),_0x51157a(_0x20806b['values']['map'](_0x5983a0=>[..._0x5983a0]))):(_0x401b4b(null),_0x51157a([]));}}),_0x22965a&&(0x0,d[_0x52eb12(0x340)])('div',{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x22965a}),(0x0,d['jsxs'])(_0x52eb12(0x3db),{'className':_0x52eb12(0x34b),'children':[_0x5f181a[_0x52eb12(0x410)]&&(0x0,d[_0x52eb12(0x340)])(o['Button'],{'type':_0x52eb12(0x1c1),'variant':'default','onClick':_0x5f181a[_0x52eb12(0x410)],'children':_0x211d0f['t'](_0x52eb12(0x203))}),(0x0,d[_0x52eb12(0x340)])(o[_0x52eb12(0x25b)],{'type':_0x52eb12(0x1c1),'variant':_0x52eb12(0x2ed),'disabled':_0xbf1b98==='referenced'&&!_0x1b768a,'onClick':async()=>{const _0xa7f0c2=_0x52eb12;var _0x3ed4ab;let _0x2a446b=(0x0,a[_0xa7f0c2(0x3c8)])({'optionId':_0x3f5173,'values':_0xbf1b98===_0xa7f0c2(0x197)?_0x39ec6d:_0x23c204});if(!_0x2a446b['ok']){_0x4ad9e4(_0x56f7c7[_0x2a446b['issue']['code']]);return;}if(!await _0x57bc0f[_0xa7f0c2(0x1c7)](e[_0xa7f0c2(0x344)]['id'],Le(_0x5f181a['insertParams'],_0x2a446b[_0xa7f0c2(0x2a1)][_0xa7f0c2(0x23e)],_0x2a446b[_0xa7f0c2(0x2a1)]['values'],_0x2a446b['plan']['style'],_0xbf1b98===_0xa7f0c2(0x197)?_0x1b768a??void 0x0:void 0x0))){_0x4ad9e4(_0x211d0f['t'](_0xa7f0c2(0x264)));return;}_0x4ad9e4(null),(_0x3ed4ab=_0x5f181a['onInserted'])==null||_0x3ed4ab['call'](_0x5f181a);},'children':_0x211d0f['t']('boards-chart-ui.common.insert')})]})]});}let q=class extends n[_0x5c3e77(0x375)]{constructor(_0x384b44){const _0x276a9a=_0x5c3e77;super(),this[_0x276a9a(0x36f)]=_0x384b44,this['_registerComponents']();}['_registerComponents'](){const _0x47b6fd=_0x5c3e77;this[_0x47b6fd(0x1b3)](this[_0x47b6fd(0x36f)][_0x47b6fd(0x1d2)](M,me)),this['disposeWithMe'](this['_componentManager'][_0x47b6fd(0x1d2)](ae,oe)),this[_0x47b6fd(0x1b3)](this[_0x47b6fd(0x36f)][_0x47b6fd(0x1d2)](t['BOARD_INSERT_CHART_PANEL_COMPONENT'],Re)),this[_0x47b6fd(0x1b3)](this[_0x47b6fd(0x36f)][_0x47b6fd(0x1d2)](ee,ie));}};q=x([b(0x0,(0x0,n['Inject'])(c[_0x5c3e77(0x3b6)]))],q);var ze=class extends p['Image']{constructor(_0x2becef,_0x1687fe){const _0x160fe4=_0x5c3e77;super(_0x2becef,_0x1687fe),y(this,_0x160fe4(0x324),void 0x0),y(this,_0x160fe4(0x3c4),void 0x0),this[_0x160fe4(0x324)]=_0x1687fe[_0x160fe4(0x27b)],this[_0x160fe4(0x3c4)]=_0x1687fe[_0x160fe4(0x343)],this['_attachNativeLoadHandlers']();}[_0x5c3e77(0x37a)](_0x23d8f9){const _0x3c9c51=_0x5c3e77;this[_0x3c9c51(0x324)]=_0x23d8f9,this[_0x3c9c51(0x177)](!0x0);}['updateFrameStyle'](_0x4968a0){const _0x2d7346=_0x5c3e77;Be(this[_0x2d7346(0x3c4)],_0x4968a0)||(this['_frameStyle']=_0x4968a0,this[_0x2d7346(0x177)](!0x0));}[_0x5c3e77(0x2b6)](){const _0x3daf83=_0x5c3e77;return this[_0x3daf83(0x324)];}['getFrameStyle'](){return this['_frameStyle'];}[_0x5c3e77(0x30b)](_0xcfee3a){const _0x1749e5=_0x5c3e77;this[_0x1749e5(0x3a9)]??(this[_0x1749e5(0x3a9)]=document['createElement']('img'),this[_0x1749e5(0x3a9)][_0x1749e5(0x2b3)]=_0x1749e5(0x35d)),this[_0x1749e5(0x361)](),this[_0x1749e5(0x3a9)][_0x1749e5(0x2e9)]=_0xcfee3a;}[_0x5c3e77(0x243)](_0x3a6595,_0x2ce94d,_0x3d9ee5=this[_0x5c3e77(0x32a)],_0x3110a7=this[_0x5c3e77(0x207)]){const _0x5467f7=_0x5c3e77;let _0x3d7988=this[_0x5467f7(0x3c4)],_0x53e215=ge({'width':_0x3d9ee5,'height':_0x3110a7},_0x3d7988);_0x3a6595[_0x5467f7(0x3d5)](),_0x3a6595[_0x5467f7(0x181)](-_0x3d9ee5/0x2,-_0x3110a7/0x2),J(_0x3a6595,0x0,0x0,_0x3d9ee5,_0x3110a7,_0x3d7988[_0x5467f7(0x261)]),_0x3a6595[_0x5467f7(0x208)]=_0x3d7988[_0x5467f7(0x3c5)],_0x3a6595[_0x5467f7(0x3c5)](),_0x3a6595['restore'](),this[_0x5467f7(0x30f)](_0x3a6595,_0x3d9ee5,_0x3110a7,_0x53e215,_0x3d7988),this[_0x5467f7(0x38c)](_0x3a6595,_0x3d9ee5,_0x3110a7,_0x3d7988);}['_drawChartImage'](_0x181963,_0x48a46a,_0x37588a,_0x164cdd,_0x4319f9){const _0x215346=_0x5c3e77;var _0x26d552;!((_0x26d552=this[_0x215346(0x3a9)])!=null&&_0x26d552[_0x215346(0x43d)])||this[_0x215346(0x3a9)][_0x215346(0x429)]<=0x0||this[_0x215346(0x3a9)][_0x215346(0x2fb)]<=0x0||(_0x181963['save'](),_0x181963[_0x215346(0x181)](-_0x48a46a/0x2,-_0x37588a/0x2),J(_0x181963,_0x164cdd[_0x215346(0x3b4)],_0x164cdd['top'],_0x164cdd[_0x215346(0x32a)],_0x164cdd[_0x215346(0x207)],Math[_0x215346(0x3ea)](0x0,_0x4319f9['radius']-_0x4319f9[_0x215346(0x35b)])),_0x181963[_0x215346(0x35f)](),_0x181963[_0x215346(0x29d)](this['_native'],_0x164cdd['left'],_0x164cdd[_0x215346(0x39f)],_0x164cdd[_0x215346(0x32a)],_0x164cdd[_0x215346(0x207)]),_0x181963[_0x215346(0x3fa)]());}[_0x5c3e77(0x38c)](_0x5b1f48,_0x3bd710,_0x583129,_0x3693e4){const _0x21a700=_0x5c3e77;if(_0x3693e4[_0x21a700(0x35b)]<=0x0)return;let _0x4a283d=_e({'width':_0x3bd710,'height':_0x583129},_0x3693e4);_0x5b1f48[_0x21a700(0x3d5)](),_0x5b1f48[_0x21a700(0x181)](-_0x3bd710/0x2,-_0x583129/0x2),J(_0x5b1f48,_0x4a283d[_0x21a700(0x3b4)],_0x4a283d[_0x21a700(0x39f)],_0x4a283d[_0x21a700(0x32a)],_0x4a283d[_0x21a700(0x207)],_0x4a283d[_0x21a700(0x261)]),_0x5b1f48[_0x21a700(0x289)]=_0x3693e4[_0x21a700(0x1b1)],_0x5b1f48[_0x21a700(0x3f1)]=_0x3693e4[_0x21a700(0x35b)],_0x5b1f48[_0x21a700(0x1b1)](),_0x5b1f48[_0x21a700(0x3fa)]();}[_0x5c3e77(0x1bd)](){const _0x1aa36a=_0x5c3e77;let _0x5509cc=this[_0x1aa36a(0x395)]();this[_0x1aa36a(0x177)](!0x0),_0x5509cc==null||_0x5509cc[_0x1aa36a(0x257)]['emitEvent'](this[_0x1aa36a(0x396)]);}[_0x5c3e77(0x361)](){const _0x378e05=_0x5c3e77;this['_native']&&(this[_0x378e05(0x3a9)][_0x378e05(0x28a)]=()=>{const _0x31be45=_0x378e05;this[_0x31be45(0x177)](!0x0),this[_0x31be45(0x1bd)]();},this[_0x378e05(0x3a9)][_0x378e05(0x178)]=()=>{const _0x2146bf=_0x378e05;this[_0x2146bf(0x1bd)]();});}};function J(_0x58f160,_0x3f7b69,_0xdb53e5,_0x5685f6,_0x4ff190,_0x3fbaf5){const _0x2bda68=_0x5c3e77;let _0x3a8efe=Math[_0x2bda68(0x3e4)](_0x3fbaf5||0x0,_0x5685f6/0x2,_0x4ff190/0x2);if(_0x58f160[_0x2bda68(0x21e)](),!_0x3a8efe){_0x58f160[_0x2bda68(0x1fe)](_0x3f7b69,_0xdb53e5,_0x5685f6,_0x4ff190),_0x58f160[_0x2bda68(0x37f)]();return;}_0x58f160[_0x2bda68(0x309)](_0x3f7b69+_0x3a8efe,_0xdb53e5),_0x58f160['lineTo'](_0x3f7b69+_0x5685f6-_0x3a8efe,_0xdb53e5),_0x58f160['arc'](_0x3f7b69+_0x5685f6-_0x3a8efe,_0xdb53e5+_0x3a8efe,_0x3a8efe,Math['PI']*0x3/0x2,0x0,!0x1),_0x58f160[_0x2bda68(0x21a)](_0x3f7b69+_0x5685f6,_0xdb53e5+_0x4ff190-_0x3a8efe),_0x58f160['arc'](_0x3f7b69+_0x5685f6-_0x3a8efe,_0xdb53e5+_0x4ff190-_0x3a8efe,_0x3a8efe,0x0,Math['PI']/0x2,!0x1),_0x58f160[_0x2bda68(0x21a)](_0x3f7b69+_0x3a8efe,_0xdb53e5+_0x4ff190),_0x58f160[_0x2bda68(0x1f1)](_0x3f7b69+_0x3a8efe,_0xdb53e5+_0x4ff190-_0x3a8efe,_0x3a8efe,Math['PI']/0x2,Math['PI'],!0x1),_0x58f160[_0x2bda68(0x21a)](_0x3f7b69,_0xdb53e5+_0x3a8efe),_0x58f160[_0x2bda68(0x1f1)](_0x3f7b69+_0x3a8efe,_0xdb53e5+_0x3a8efe,_0x3a8efe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58f160[_0x2bda68(0x37f)]();}function Be(_0x54e5ba,_0x1c1422){const _0x1fb3ae=_0x5c3e77;return _0x54e5ba[_0x1fb3ae(0x3c5)]===_0x1c1422['fill']&&_0x54e5ba[_0x1fb3ae(0x1b1)]===_0x1c1422[_0x1fb3ae(0x1b1)]&&_0x54e5ba[_0x1fb3ae(0x35b)]===_0x1c1422[_0x1fb3ae(0x35b)]&&_0x54e5ba['radius']===_0x1c1422[_0x1fb3ae(0x261)];}function Ve(_0x3a082b){const _0x373495=_0x5c3e77;let {element:_0x2b0712}=_0x3a082b[_0x373495(0x23d)];return _0x2b0712['type']===e[_0x373495(0x41a)]['Chart']?_0x2b0712:null;}let Y=class{constructor(_0x2d0e97,_0xe60785,_0x56ee1f,_0x1343dd){const _0x4c7e96=_0x5c3e77;this[_0x4c7e96(0x2f7)]=_0x2d0e97,this[_0x4c7e96(0x1a2)]=_0xe60785,this[_0x4c7e96(0x441)]=_0x56ee1f,this[_0x4c7e96(0x211)]=_0x1343dd,y(this,_0x4c7e96(0x319),_0x4c7e96(0x328)),y(this,_0x4c7e96(0x3c7),new WeakMap());}[_0x5c3e77(0x1d8)](_0x5d2677){const _0x983167=_0x5c3e77;let _0x483b58=Ve(_0x5d2677);if(!_0x483b58)return null;let _0x298963=Math['max'](0x1,_0x5d2677[_0x983167(0x357)][_0x983167(0x32a)]),_0x3a3543=Math[_0x983167(0x3ea)](0x1,_0x5d2677[_0x983167(0x357)][_0x983167(0x207)]),_0x5e67dd=new ze(_0x5d2677['key'],{'url':_0x983167(0x19d),'left':_0x5d2677['bounds'][_0x983167(0x3b4)],'top':_0x5d2677[_0x983167(0x357)][_0x983167(0x39f)],'width':_0x298963,'height':_0x3a3543,'angle':_0x5d2677[_0x983167(0x357)][_0x983167(0x3a1)],'flipX':_0x5d2677['bounds'][_0x983167(0x41e)],'flipY':_0x5d2677[_0x983167(0x357)][_0x983167(0x1e3)],'zIndex':_0x5d2677[_0x983167(0x417)],'visible':_0x483b58[_0x983167(0x2c6)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x483b58,'frameStyle':this[_0x983167(0x17f)](_0x5d2677[_0x983167(0x3cd)],_0x483b58)});return this[_0x983167(0x32e)](_0x5e67dd,this['_requestSnapshotForObject'](_0x5d2677[_0x983167(0x3cd)],_0x5e67dd),_0x5d2677[_0x983167(0x3cd)]),_0x5e67dd;}[_0x5c3e77(0x371)](_0x4a614f,_0x128807){const _0x4a3ebb=_0x5c3e77;var _0x18e58f;if(!(_0x4a614f instanceof ze))return!0x1;let _0x193b66=Ve(_0x128807);return _0x193b66?(_0x128807[_0x4a3ebb(0x401)]||_0x4a614f[_0x4a3ebb(0x330)](_0x128807[_0x4a3ebb(0x357)]),_0x4a614f[_0x4a3ebb(0x37a)](_0x193b66),this[_0x4a3ebb(0x423)](_0x128807[_0x4a3ebb(0x3cd)],_0x4a614f),(_0x18e58f=this[_0x4a3ebb(0x3c7)][_0x4a3ebb(0x2e5)](_0x4a614f))==null||_0x18e58f(),!0x0):!0x1;}[_0x5c3e77(0x32e)](_0x1a6185,_0x2e685f,_0x18a721){const _0x12efb2=_0x5c3e77;if(!_0x2e685f)return;let _0x2c2f47=null,_0x99a0aa=null,_0x2c8315=!0x1,_0x25a1d7=_0x1ee63e=>{const _0x5c21d1=_0x1449;if(_0x99a0aa!==_0x1ee63e){if(_0x2c2f47==null||_0x2c2f47['unsubscribe'](),_0x2c2f47=null,_0x99a0aa=_0x1ee63e,_0x1ee63e[_0x5c21d1(0x392)]===_0x5c21d1(0x1a6)&&_0x1ee63e['dataUrl']){_0x1a6185[_0x5c21d1(0x30b)](_0x1ee63e[_0x5c21d1(0x2b9)]);return;}_0x1ee63e[_0x5c21d1(0x392)]==='pending'&&(_0x2c2f47=this[_0x5c21d1(0x1a2)][_0x5c21d1(0x377)][_0x5c21d1(0x2d9)](_0x4106ed=>{const _0x13d610=_0x5c21d1;if(_0x4106ed!==_0x1ee63e||_0x4106ed[_0x13d610(0x392)]!=='ready'||!_0x4106ed['dataUrl']){if(_0x4106ed===_0x1ee63e&&_0x4106ed[_0x13d610(0x392)]===_0x13d610(0x237)&&!_0x2c8315){_0x2c8315=!0x0;let _0x1c052f=this[_0x13d610(0x341)](_0x18a721,_0x1a6185);_0x1c052f&&_0x25a1d7(_0x1c052f);}return;}_0x1a6185[_0x13d610(0x30b)](_0x4106ed[_0x13d610(0x2b9)]),_0x2c2f47==null||_0x2c2f47[_0x13d610(0x279)](),_0x2c2f47=null;}));}};_0x25a1d7(_0x2e685f);let _0x539535=()=>{const _0x4bce8b=_0x1449;_0x2c8315=!0x1;let _0x836ac2=this[_0x4bce8b(0x341)](_0x18a721,_0x1a6185);_0x836ac2&&_0x25a1d7(_0x836ac2);};this[_0x12efb2(0x3c7)]['set'](_0x1a6185,_0x539535);let _0x25216f=this[_0x12efb2(0x1a2)][_0x12efb2(0x37e)]['subscribe'](_0x2dbf3c=>{const _0x26bb05=_0x12efb2;_0x2dbf3c['unitId']===_0x18a721&&_0x2dbf3c[_0x26bb05(0x1ca)]===_0x1a6185[_0x26bb05(0x2b6)]()[_0x26bb05(0x1ca)]&&_0x539535();});_0x1a6185['onDispose$'][_0x12efb2(0x248)](()=>{const _0x5d5a16=_0x12efb2;_0x2c2f47==null||_0x2c2f47[_0x5d5a16(0x279)](),_0x25216f[_0x5d5a16(0x279)](),this[_0x5d5a16(0x3c7)]['delete'](_0x1a6185);});}[_0x5c3e77(0x341)](_0x5a6e01,_0x53b4dd){const _0x3fd612=_0x5c3e77;let _0x322773=this[_0x3fd612(0x423)](_0x5a6e01,_0x53b4dd),_0x371af0=ge({'width':Math['max'](0x1,_0x53b4dd[_0x3fd612(0x32a)]),'height':Math[_0x3fd612(0x3ea)](0x1,_0x53b4dd[_0x3fd612(0x207)])},_0x322773);return this[_0x3fd612(0x1a2)][_0x3fd612(0x227)]({'unitId':_0x5a6e01,'chartId':_0x53b4dd[_0x3fd612(0x2b6)]()[_0x3fd612(0x1ca)],'width':_0x371af0[_0x3fd612(0x32a)],'height':_0x371af0[_0x3fd612(0x207)],'mode':_0x3fd612(0x21b)});}[_0x5c3e77(0x423)](_0x218763,_0x423efe){const _0x579c23=_0x5c3e77;let _0x3cd4eb=this[_0x579c23(0x17f)](_0x218763,_0x423efe[_0x579c23(0x2b6)]());return _0x423efe[_0x579c23(0x3d4)](_0x3cd4eb),_0x3cd4eb;}[_0x5c3e77(0x17f)](_0x2743a9,_0x17fadf){const _0x2f2702=_0x5c3e77;var _0x193904;let _0x54f4e8=(_0x193904=this[_0x2f2702(0x441)][_0x2f2702(0x2ad)](_0x2743a9,_0x17fadf[_0x2f2702(0x1ca)]))==null?void 0x0:_0x193904[_0x2f2702(0x29c)];return L({'chartStyle':_0x54f4e8,'chartElement':_0x17fadf,'hostFill':_0x54f4e8?this['_renderService'][_0x2f2702(0x2f3)](_0x54f4e8)[_0x2f2702(0x3c5)]:void 0x0,'isDarkMode':this[_0x2f2702(0x2f7)]['darkMode']});}};Y=x([b(0x0,(0x0,n[_0x5c3e77(0x3ba)])(n[_0x5c3e77(0x430)])),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(B)),b(0x2,(0x0,n[_0x5c3e77(0x3ba)])(i['BoardChartResourceService'])),b(0x3,(0x0,n[_0x5c3e77(0x3ba)])(R))],Y);function He(_0x520278){const _0x189c37=_0x5c3e77;return _0x520278[_0x189c37(0x2b8)]===e[_0x189c37(0x41a)][_0x189c37(0x318)];}let X=class{constructor(_0xbd12){const _0x2369b0=_0x5c3e77;this['_resourceService']=_0xbd12,y(this,'key',_0x2369b0(0x20d));}[_0x5c3e77(0x2c4)](_0x51e38e){const _0x743efd=_0x5c3e77;let _0x18ec8a={},_0x42c4b8={},_0x30cc88={};return _0x51e38e[_0x743efd(0x1f3)]['forEach'](_0x48d225=>{const _0x125e14=_0x743efd;if(!He(_0x48d225))return;let _0x3c89e8=this[_0x125e14(0x441)][_0x125e14(0x2ad)](_0x51e38e[_0x125e14(0x3cd)],_0x48d225[_0x125e14(0x1ca)]),_0x4b43f9=_0x3c89e8?this[_0x125e14(0x441)][_0x125e14(0x32f)](_0x51e38e[_0x125e14(0x3cd)],_0x3c89e8[_0x125e14(0x33e)]):void 0x0;!_0x3c89e8||!_0x4b43f9||(_0x18ec8a[_0x3c89e8['id']]=n[_0x125e14(0x1f0)][_0x125e14(0x337)](_0x3c89e8),_0x42c4b8[_0x4b43f9['id']]=_0x4b43f9,_0x30cc88[_0x48d225['id']]=_0x3c89e8['id']);}),Object[_0x743efd(0x403)](_0x18ec8a)[_0x743efd(0x1e8)]===0x0?null:{'charts':_0x18ec8a,'dataSources':_0x42c4b8,'chartIdByElementId':_0x30cc88};}[_0x5c3e77(0x32c)](_0x14fab3){const _0x37ef46=_0x5c3e77;if(!Ue(_0x14fab3[_0x37ef46(0x2ea)]))return null;let _0x143263=_0x14fab3[_0x37ef46(0x2ea)],_0x4117e5=new Map();_0x14fab3[_0x37ef46(0x19b)][_0x37ef46(0x3f4)]((_0xd4d48,_0x25855b)=>{const _0x570fa4=_0x37ef46;_0x4117e5[_0x570fa4(0x3e1)](_0xd4d48,_0x25855b);});let _0x44eae3=new Map(),_0x1ef1a6=new Map(),_0xdbf816=_0x14fab3[_0x37ef46(0x1f3)][_0x37ef46(0x1d0)](_0xa4a914=>{const _0x50b1b4=_0x37ef46;if(!He(_0xa4a914))return _0xa4a914;let _0x49e2e9=_0x4117e5[_0x50b1b4(0x2e5)](_0xa4a914['id']),_0x1c00b6=_0x49e2e9?_0x143263[_0x50b1b4(0x360)][_0x49e2e9]:void 0x0;if(!_0x1c00b6||!_0x143263[_0x50b1b4(0x409)][_0x1c00b6])return _0xa4a914;let _0x51e8c1=_0x44eae3[_0x50b1b4(0x2e5)](_0x1c00b6);return _0x51e8c1||(_0x51e8c1=(0x0,n['generateRandomId'])(0x6),_0x44eae3[_0x50b1b4(0x3e1)](_0x1c00b6,_0x51e8c1)),{..._0xa4a914,'chartId':_0x51e8c1};});_0x44eae3[_0x37ef46(0x3f4)]((_0x4f9aed,_0x1ddff4)=>{const _0x8278ad=_0x37ef46;var _0x2be7d7;let _0x538d3b=(_0x2be7d7=_0x143263['charts'][_0x1ddff4])==null?void 0x0:_0x2be7d7[_0x8278ad(0x33e)];_0x538d3b&&!_0x1ef1a6[_0x8278ad(0x1d4)](_0x538d3b)&&_0x1ef1a6['set'](_0x538d3b,(0x0,n['generateRandomId'])(0x6));});let _0x25e429=[];_0x1ef1a6['forEach']((_0x4a9318,_0x1ed4d9)=>{const _0x4c21fe=_0x37ef46;let _0x1c7b76=_0x143263[_0x4c21fe(0x2cf)][_0x1ed4d9];_0x1c7b76&&_0x25e429[_0x4c21fe(0x1ec)]({..._0x1c7b76,'id':_0x4a9318});});let _0x3b975c=[];return _0x44eae3[_0x37ef46(0x3f4)]((_0x5475db,_0x460073)=>{const _0x4427a1=_0x37ef46;let _0x577073=_0x143263[_0x4427a1(0x409)][_0x460073],_0x351deb=_0x577073?_0x1ef1a6[_0x4427a1(0x2e5)](_0x577073[_0x4427a1(0x33e)]):void 0x0;!_0x577073||!_0x351deb||_0x3b975c[_0x4427a1(0x1ec)]({..._0x577073,'id':_0x5475db,'dataSourceId':_0x351deb});}),_0x3b975c[_0x37ef46(0x1e8)]===0x0?null:{'elements':_0xdbf816,'redoMutations':[..._0x25e429[_0x37ef46(0x1d0)](_0x388363=>({'id':i[_0x37ef46(0x30d)]['id'],'params':{'unitId':_0x14fab3[_0x37ef46(0x2e7)],'dataSource':_0x388363}})),..._0x3b975c[_0x37ef46(0x1d0)](_0x5190c1=>({'id':i[_0x37ef46(0x216)]['id'],'params':{'unitId':_0x14fab3['targetUnitId'],'chart':_0x5190c1}}))],'undoMutations':[..._0x3b975c[_0x37ef46(0x1d0)](_0x14ceba=>({'id':i[_0x37ef46(0x437)]['id'],'params':{'unitId':_0x14fab3[_0x37ef46(0x2e7)],'chartId':_0x14ceba['id']}})),..._0x25e429['map'](_0x17ce6f=>({'id':i[_0x37ef46(0x19a)]['id'],'params':{'unitId':_0x14fab3[_0x37ef46(0x2e7)],'dataSourceId':_0x17ce6f['id']}}))]};}};X=x([b(0x0,(0x0,n['Inject'])(i[_0x5c3e77(0x27e)]))],X);function _0x1449(_0x297955,_0x76c5c9){_0x297955=_0x297955-0x177;const _0x520670=_0x5206();let _0x14497f=_0x520670[_0x297955];return _0x14497f;}function Ue(_0x3e25ad){const _0x552d21=_0x5c3e77;if(!_0x3e25ad||typeof _0x3e25ad!=_0x552d21(0x2ce))return!0x1;let _0x30407f=_0x3e25ad;return!!_0x30407f[_0x552d21(0x409)]&&!!_0x30407f[_0x552d21(0x2cf)]&&!!_0x30407f['chartIdByElementId'];}let Z=class extends n[_0x5c3e77(0x375)]{constructor(_0x24fe8a,_0x46fdfd){const _0x335f51=_0x5c3e77;super(),this[_0x335f51(0x1a2)]=_0x46fdfd,this[_0x335f51(0x1b3)](_0x24fe8a[_0x335f51(0x1d2)](this));}['supports'](_0x35abed){const _0x3c265b=_0x5c3e77;return _0x3c265b(0x3cd)in _0x35abed&&_0x3c265b(0x2b6)in _0x35abed;}[_0x5c3e77(0x1cc)](_0x128cee){const _0xbeaf58=_0x5c3e77;if(!this[_0xbeaf58(0x2f2)](_0x128cee))return Promise[_0xbeaf58(0x34a)](void 0x0);let _0x1e8ae1=_0x128cee[_0xbeaf58(0x285)]()[_0xbeaf58(0x348)];return this[_0xbeaf58(0x1a2)][_0xbeaf58(0x1cc)]({'unitId':_0x128cee[_0xbeaf58(0x3cd)],'chartId':_0x128cee[_0xbeaf58(0x316)](),'width':Math[_0xbeaf58(0x3ea)](0x1,(_0x1e8ae1==null?void 0x0:_0x1e8ae1[_0xbeaf58(0x32a)])??0x1),'height':Math[_0xbeaf58(0x3ea)](0x1,(_0x1e8ae1==null?void 0x0:_0x1e8ae1[_0xbeaf58(0x207)])??0x1),'mode':_0xbeaf58(0x21b)});}};Z=x([b(0x0,(0x0,n['Inject'])(a[_0x5c3e77(0x38f)])),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(B))],Z);const We=_0x5c3e77(0x31a);let Q=class extends n[_0x5c3e77(0x23a)]{constructor(_0x5e6496=h,_0x526305,_0x12d18e,_0x50d6e3){const _0x27c442=_0x5c3e77;super(),this[_0x27c442(0x214)]=_0x5e6496,this['_injector']=_0x526305,this[_0x27c442(0x206)]=_0x12d18e,this[_0x27c442(0x28e)]=_0x50d6e3,y(this,_0x27c442(0x184),null);let {..._0x4ed386}=(0x0,n[_0x27c442(0x26d)])({},h,this['_config']);this[_0x27c442(0x206)]['setConfig'](m,_0x4ed386);}[_0x5c3e77(0x1f2)](){const _0x490bbe=_0x5c3e77;this['disposeWithMe'](this[_0x490bbe(0x1a7)]['get'](n['ICommandService'])[_0x490bbe(0x2c9)](se)),[[R],[B],[Z],[D,{'useClass':O}],[j],[w],[K],[Y],[X],[H],[q]]['forEach'](_0x322ac6=>this[_0x490bbe(0x1a7)]['add'](_0x322ac6)),(0x0,n[_0x490bbe(0x1fd)])(this[_0x490bbe(0x1a7)],[[R],[B],[Z],[D],[j],[w],[K]]),this[_0x490bbe(0x1a7)][_0x490bbe(0x2e5)](q);let _0x2ba9b6=this[_0x490bbe(0x1a7)][_0x490bbe(0x2e5)](Y);this[_0x490bbe(0x184)]=_0x2ba9b6,this['_appendRenderAdapter'](_0x2ba9b6),this[_0x490bbe(0x1b3)]((0x0,n[_0x490bbe(0x262)])(()=>{const _0x1f758=_0x490bbe;this[_0x1f758(0x241)](_0x2ba9b6),this[_0x1f758(0x184)]=null;}));let _0x316941=this[_0x490bbe(0x1a7)][_0x490bbe(0x2e5)](t[_0x490bbe(0x40a)]);this[_0x490bbe(0x1b3)](_0x316941[_0x490bbe(0x2d1)](this['_injector']['get'](X))),this[_0x490bbe(0x1b3)](this['_injector'][_0x490bbe(0x2e5)](H));}[_0x5c3e77(0x2e2)](){const _0x251202=_0x5c3e77;this[_0x251202(0x1b3)](this[_0x251202(0x28e)][_0x251202(0x19f)](n[_0x251202(0x25c)][_0x251202(0x374)],A)),this[_0x251202(0x1b3)](this[_0x251202(0x28e)][_0x251202(0x19f)](n[_0x251202(0x25c)][_0x251202(0x374)],V)),this['disposeWithMe'](this[_0x251202(0x28e)][_0x251202(0x19f)](n[_0x251202(0x25c)][_0x251202(0x374)],z)),this[_0x251202(0x1b3)](this['_renderManagerService']['registerRenderModule'](n[_0x251202(0x25c)][_0x251202(0x374)],k));}['_appendRenderAdapter'](_0x553ec3){const _0x18d570=_0x5c3e77;var _0x2bc30c,_0x2671a0;let _0x5e945d=this[_0x18d570(0x229)](),_0x13598f=_0x5e945d['additionalRenderAdapters']??[];_0x13598f['includes'](_0x553ec3)||this[_0x18d570(0x206)]['setConfig'](t[_0x18d570(0x21f)],{..._0x5e945d,'additionalRenderAdapters':[..._0x13598f,_0x553ec3],'toolbar':{..._0x5e945d[_0x18d570(0x2de)],'tools':{...(_0x2bc30c=_0x5e945d[_0x18d570(0x2de)])==null?void 0x0:_0x2bc30c[_0x18d570(0x3ef)],[e[_0x18d570(0x1a9)][_0x18d570(0x318)]]:$((_0x2671a0=_0x5e945d[_0x18d570(0x2de)])==null||(_0x2671a0=_0x2671a0[_0x18d570(0x3ef)])==null?void 0x0:_0x2671a0[e[_0x18d570(0x1a9)][_0x18d570(0x318)]])}}});}[_0x5c3e77(0x241)](_0x18c5e4){const _0x5a078a=_0x5c3e77;var _0x12dfe0;let _0x571992=this['_getBoardsUIConfig'](),_0x53af24=(_0x12dfe0=_0x571992[_0x5a078a(0x179)])==null?void 0x0:_0x12dfe0[_0x5a078a(0x419)](_0x1b2fc6=>_0x1b2fc6!==_0x18c5e4);this[_0x5a078a(0x206)][_0x5a078a(0x247)](t[_0x5a078a(0x21f)],{..._0x571992,'additionalRenderAdapters':_0x53af24});}[_0x5c3e77(0x229)](){const _0x15a521=_0x5c3e77;return this[_0x15a521(0x206)][_0x15a521(0x312)](t[_0x15a521(0x21f)])??{};}};y(Q,'pluginName',We),y(Q,_0x5c3e77(0x1ee),Ee),y(Q,_0x5c3e77(0x418),De),y(Q,_0x5c3e77(0x2b8),n[_0x5c3e77(0x25c)]['UNIVER_BOARD']),Q=x([(0x0,n[_0x5c3e77(0x19c)])(f['UniverLicensePlugin'],p[_0x5c3e77(0x271)],e[_0x5c3e77(0x3a2)],a[_0x5c3e77(0x3bc)],i[_0x5c3e77(0x282)],t[_0x5c3e77(0x240)]),b(0x1,(0x0,n[_0x5c3e77(0x3ba)])(n[_0x5c3e77(0x356)])),b(0x2,n[_0x5c3e77(0x3cc)]),b(0x3,p['IRenderManagerService'])],Q);function $(_0x53377c){const _0x3d0c39=_0x5c3e77;return _0x53377c===!0x1?!0x1:typeof _0x53377c!='object'||{..._0x53377c,'enabled':_0x53377c[_0x3d0c39(0x2cb)]??!0x0};}exports['BOARDS_CHART_UI_PLUGIN_CONFIG_KEY']=m,exports['BOARDS_CHART_UI_PLUGIN_NAME']=We,exports[_0x5c3e77(0x43c)]=0x0,Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x2ab),{'enumerable':!0x0,'get':function(){return X;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x2c7),{'enumerable':!0x0,'get':function(){return j;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x28c),{'enumerable':!0x0,'get':function(){return w;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x1d3),{'enumerable':!0x0,'get':function(){return k;}}),Object['defineProperty'](exports,'BoardChartOpenEditController',{'enumerable':!0x0,'get':function(){return A;}}),Object['defineProperty'](exports,_0x5c3e77(0x210),{'enumerable':!0x0,'get':function(){return z;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x22d),{'enumerable':!0x0,'get':function(){return Y;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x1af),{'enumerable':!0x0,'get':function(){return R;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x40d),{'enumerable':!0x0,'get':function(){return V;}}),Object[_0x5c3e77(0x3dd)](exports,'BoardChartSnapshotRefreshController',{'enumerable':!0x0,'get':function(){return H;}}),Object['defineProperty'](exports,_0x5c3e77(0x302),{'enumerable':!0x0,'get':function(){return B;}}),Object[_0x5c3e77(0x3dd)](exports,_0x5c3e77(0x293),{'enumerable':!0x0,'get':function(){return O;}}),exports[_0x5c3e77(0x1c2)]=be,exports[_0x5c3e77(0x1c5)]=Ce,exports['IBoardChartUIService']=D,Object[_0x5c3e77(0x3dd)](exports,'UniverBoardsChartUIPlugin',{'enumerable':!0x0,'get':function(){return Q;}}),exports[_0x5c3e77(0x1b0)]=$,exports[_0x5c3e77(0x192)]=we;
|