@univerjs-pro/sheets-chart-ui 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/chart-geometry-subscription.d.ts +14 -0
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +3 -1
- 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 +18 -18
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x58e4e4=_0x29f5;(function(_0x346cfa,_0x20d307){const _0x3829c2=_0x29f5,_0x153f00=_0x346cfa();while(!![]){try{const _0x19f0f1=-parseInt(_0x3829c2(0x32e))/0x1+-parseInt(_0x3829c2(0x117))/0x2*(-parseInt(_0x3829c2(0x291))/0x3)+-parseInt(_0x3829c2(0x382))/0x4+-parseInt(_0x3829c2(0x36e))/0x5*(parseInt(_0x3829c2(0x229))/0x6)+-parseInt(_0x3829c2(0x24c))/0x7*(-parseInt(_0x3829c2(0x1bc))/0x8)+parseInt(_0x3829c2(0x2b3))/0x9*(parseInt(_0x3829c2(0x3b6))/0xa)+-parseInt(_0x3829c2(0x27e))/0xb;if(_0x19f0f1===_0x20d307)break;else _0x153f00['push'](_0x153f00['shift']());}catch(_0x2681fb){_0x153f00['push'](_0x153f00['shift']());}}}(_0x3cf9,0xce2d9));import{CommandType as _0x19398e,DependentOn as _0x39613b,Disposable as _0x7b52dc,DisposableCollection as _0x2329d0,DrawingTypeEnum as _0x43df04,FOCUSING_COMMON_DRAWINGS as _0x654e75,FOCUSING_PANEL_EDITOR as _0x4b847,ICommandService as _0x10f119,IConfigService as _0x58cb4f,IContextService as _0x2eb5c4,IUniverInstanceService as _0x5b54fc,Inject as _0x569e33,Injector as _0x56051b,LocaleService as _0x37903c,Plugin as _0x5bf473,ThemeService as _0x3d87f5,UniverInstanceType as _0xaf509f,createIdentifier as _0x2fa213,debounce as _0x1569e2,generateRandomId as _0x5120c1,isValidRange as _0xbde51a,merge as _0x11a014,numberToABC as _0x47d2a3,toDisposable as _0x43ce57,touchDependencies as _0x1942f9}from'@univerjs/core';import{ChartModelService as _0x1e33a9,ChartUpdateConfigCommand as _0x22f7cc,ChartUpdateConfigMutation as _0x364aee,ChartUpdateSourceCommand as _0x112901,InsertChartCommand as _0x467e05,InsertSheetsChartMutation as _0x550a74,RemoveSheetsChartMutation as _0x13af68,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x2b0dc7,SHEETS_CHART_PLUGIN_NAME as _0x1a849f,SheetChartConfigAdapter as _0x4cd08c,SheetsChartService as _0x5b7264,UniverSheetsChartPlugin as _0x67f924,getAllowedChartTypes as _0x1fd812,toInsertChartMutationSource as _0x589193}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x1e7a38,UniverDrawingPlugin as _0x868a1c,getDrawingShapeKeyByDrawingSearch as _0x14acce,getOrCreateDrawingCopyPlan as _0x4ce057}from'@univerjs/drawing';import{DrawingApplyType as _0x398764,ISheetDrawingService as _0xcf65a5,RemoveSheetDrawingCommand as _0x52fe4a,SetDrawingApplyMutation as _0x189847,UniverSheetsDrawingPlugin as _0x4288b5,transformToDrawingPosition as _0x53cf80}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x38aa53,SheetCanvasFloatDomManagerService as _0x351035,SheetDrawingHitTestService as _0x9d629b,UniverSheetsDrawingMobileUIPlugin as _0x4484cc,UniverSheetsDrawingUIPlugin as _0x5941b2}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x5d9d74,ISheetClipboardService as _0x246f06,PREDEFINED_HOOK_NAME as _0x105d29,SheetCanvasPopManagerService as _0x4b4fef,SheetCopyCommand as _0x172363,SheetPrintInterceptorService as _0x38c41d,SheetSkeletonManagerService as _0x4bbaee,UniverSheetsMobileUIPlugin as _0x27b4b2,UniverSheetsUIPlugin as _0x2fb4ea,deriveStateFromActiveSheet$ as _0x2eadaf,getCurrentRangeDisable$ as _0x59d29f}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x7e60e8,ComponentManager as _0x122d09,ContextMenuGroup as _0x1d6826,ContextMenuPosition as _0x587e60,IMenuManagerService as _0x26ea5c,ISidebarService as _0x14cdc6,IconManager as _0x501d02,KeyCode as _0x33a6fb,MenuItemType as _0x40ad65,NativeTextEditorShortcutBehavior as _0xb02455,RibbonInsertGroup as _0x134022,UniverMobileUIPlugin as _0x2c7e38,getMenuHiddenObservable as _0x1fa6a2,useDependency as _0x341106,useObservable as _0x169faa}from'@univerjs/ui';import{BehaviorSubject as _0x251b31,Observable as _0x382ded,Subject as _0x456331,combineLatest as _0x485af5,combineLatestWith as _0x53855c,debounceTime as _0xd01ebe,distinctUntilChanged as _0x23f42d,filter as _0x24a54a,fromEvent as _0x1c4ba6,map as _0x587f1,merge as _0x3f8f2e,pairwise as _0x76194f,skip as _0x587be2,startWith as _0x4f483a,switchMap as _0x31738a,take as _0x315267,throttleTime as _0xc9a711,withLatestFrom as _0x3fe11d}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x99cfd,CHART_HOST_BORDER_RADIUS as _0x5af627,CHART_TYPE_CATALOG as _0x85502f,ChartAxisSection as _0x28695d,ChartDomFrame as _0x1af803,ChartEditBlockTitle as _0x5bbce0,ChartEditPanelSection as _0xacfab2,ChartEditPanelTab as _0x305e77,ChartEditorCapability as _0x1146fb,ChartEditorProvider as _0x1673a5,ChartEditorTabs as _0x60d2ef,ChartElementFloatMenuAdapterRegistry as _0x1995df,ChartFrameContentMode as _0x5ddbd5,ChartFrameLayout as _0x16653f,ChartFunnelStyleSection as _0x2b6c2e,ChartGridlinesAndTicksSection as _0x6840bc,ChartHeatmapStyleSection as _0x464207,ChartHostAdapter as _0x47dff2,ChartImageExportService as _0x105d73,ChartIndicatorLineSection as _0x1be756,ChartLegendSection as _0x399936,ChartLineAndAreaSection as _0x5cce89,ChartNumberFormatAtom as _0x54c9b4,ChartParetoSeriesSection as _0x1e47fa,ChartPieStyleSection as _0x5ca595,ChartRadarStyleSection as _0x49accc,ChartRelationStyleSection as _0x17770f,ChartSectionAccordion as _0x3e0e80,ChartSectionAccordionContent as _0x52594e,ChartSectionAccordionItem as _0x33d6de,ChartSectionAccordionTrigger as _0x5043ee,ChartSeriesSection as _0x1e64ca,ChartSetupPanel as _0x239fe1,ChartStyleSection as _0x35f468,ChartTitlesSection as _0x38bcb8,ChartTrendlineSection as _0x322608,ChartTypeSpecificStyleSection as _0x21b296,ChartUIService as _0x1eef01,ChartViewStateRegistry as _0x7cd67c,ChartWaterfallStyleSection as _0x41a5e3,ChartWordCloudStyleSection as _0x318410,DEFAULT_CHART_AXIS_VALUES as _0x473cc5,DEFAULT_CHART_FUNNEL_VALUES as _0x3c4c8b,DEFAULT_CHART_HEATMAP_VALUES as _0x1cd218,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x1f1171,DEFAULT_CHART_LEGEND_VALUES as _0x35dc7a,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x486b7d,DEFAULT_CHART_PARETO_VALUES as _0x3d84e3,DEFAULT_CHART_PIE_VALUES as _0x5881e2,DEFAULT_CHART_RADAR_VALUES as _0x5704fa,DEFAULT_CHART_RELATION_VALUES as _0x10b920,DEFAULT_CHART_SERIES_VALUES as _0x5bf23e,DEFAULT_CHART_STYLE_VALUES as _0x1cd657,DEFAULT_CHART_TITLE_VALUES as _0x2a6745,DEFAULT_CHART_TRENDLINE_VALUES as _0x57534a,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x3dd03e,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x154301,MobileChartEditorProvider as _0x441e57,UniverChartMobileUIPlugin as _0x29b95c,UniverChartUIPlugin as _0x690a4d,buildChartTypeSelectOptions as _0x99c448,chartTypeSupportsCapability as _0x24b610,chartTypeSupportsLineAndAreaStyle as _0x1c7739,createChartElementFloatMenuAdapter as _0xb3abd,resolveChartCreationIntent as _0x924dc9,resolveChartEditPanelRoute as _0xb7f32b,resolveChartElementSelection as _0x10d2ee,useChartEditorChartType as _0x33d88d,useChartEditorHasRightAxis as _0x3503bf}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x4c1e3b,ChartImageExportFormat as _0x3f3eb8,ChartImageSourceType as _0x385294,ChartRenderMode as _0x3f6e51,ChartSourceHeaderTitleType as _0x4265c5,ChartThemeService as _0x3a2489,ChartTypeBits as _0x5ec5cb,ChartWaterfallStyleTarget as _0x498f80,DataOrientation as _0x28717b,EChartRenderEngineName as _0x1a63a8,IChartRenderModelManagerService as _0x1c66b2,ImageChartHost as _0xeb5e8c,PieSecondaryPlotType as _0x3e9108,RTLChartStyle as _0x40d6b3,chartBitsUtils as _0x31bb43,chartImageSourceToDataUrl as _0x25ae08,chartTypeCanUseTrendLine as _0x1a1c3c,resolveChartRuntimeStyle as _0x56bf83,resolveChartStyleBackgroundColor as _0x445815,resolveDefaultChartHostFrameStyle as _0x16cfdd}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x242788,RemoveSheetCommand as _0x54620f,SheetInterceptorService as _0x2cb268,SheetPermissionCheckController as _0x47e334,SheetSkeletonService as _0x2f70f2,SheetsSelectionsService as _0x3699f1,UniverSheetsPlugin as _0x1dcfa0,WorkbookEditablePermission as _0x554cec,WorksheetEditPermission as _0x32625b,attachRangeWithCoord as _0x5067a4,discreteRangeToRange as _0x5ebcb8,getSheetCommandTarget as _0x130794}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x404b59,matchToken as _0x3b02a9,serializeRangeWithSheet as _0x1e8e5e}from'@univerjs/engine-formula';import{insertGroupObject as _0x1aaef1}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x2521be,IRenderManagerService as _0x11bbe7,ObjectType as _0x274d57,RENDER_CLASS_TYPE as _0x349e8f,Rect as _0x45ef13,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xda7662,Transform as _0x4325f2,UniverRenderEnginePlugin as _0x15fe35}from'@univerjs/engine-render';import{useCallback as _0x5b263f,useEffect as _0x34e514,useMemo as _0x207894,useRef as _0x33bb4f,useState as _0x5b2f59}from'react';import{Button as _0x3e78e8,Checkbox as _0x2a16f3}from'@univerjs/design';import{MobileRangeSelector as _0x5f3f11,RangeSelector as _0x1311f6}from'@univerjs/sheets-formula-ui';import{Fragment as _0x5a0c00,jsx as _0x4200cc,jsxs as _0x3d17e9}from'react/jsx-runtime';import{UniverLicensePlugin as _0x28eac2}from'@univerjs-pro/license';import{PenIcon as _0x463fa8}from'@univerjs/icons';const H={'type':_0x19398e[_0x58e4e4(0x177)],'id':_0x58e4e4(0x38e),'handler'(){return!0x0;}},Sr=_0x58e4e4(0x2fe),Cr={'enableChartElementFloatMenu':!0x0},wr={'type':_0x19398e['OPERATION'],'id':_0x58e4e4(0x2f8),'handler'(){return!0x0;}};function Tr(_0x2bb87d){const _0x49d5e5=_0x58e4e4;let _0x2ece5c=_0x2bb87d[_0x49d5e5(0x368)](_0xcf65a5)['getFocusDrawings']();if(_0x2ece5c[_0x49d5e5(0x334)]!==0x1)return null;let _0x189ebc=_0x2ece5c[0x0];return _0x189ebc[_0x49d5e5(0x2c2)]===_0x43df04[_0x49d5e5(0x1aa)]?_0x189ebc:null;}function Er(_0x1985f7,_0x3bf782){const _0x1be72b=_0x58e4e4;let _0x255e0d=document[_0x1be72b(0x127)]('a');_0x255e0d[_0x1be72b(0x369)]=_0x1985f7,_0x255e0d[_0x1be72b(0x180)]=_0x3bf782,_0x255e0d[_0x1be72b(0x1cf)]();}const Dr={'id':_0x58e4e4(0x2d1),'type':_0x19398e[_0x58e4e4(0x1f1)],'handler':(_0x490333,_0x2c010c)=>{const _0x151409=_0x58e4e4;let _0x36c5fa=Tr(_0x490333);return _0x36c5fa?_0x490333[_0x151409(0x368)](_0x10f119)[_0x151409(0x1ee)](H['id'],{'unitId':_0x36c5fa[_0x151409(0x380)],'subUnitId':_0x36c5fa['subUnitId'],'drawingId':_0x36c5fa[_0x151409(0x2dc)],..._0x2c010c!=null&&_0x2c010c[_0x151409(0x2fb)]?{'route':_0x2c010c['route']}:{}}):!0x1;}},Or={'id':_0x58e4e4(0x139),'type':_0x19398e['COMMAND'],'handler':_0x514a5f=>Tr(_0x514a5f)?_0x514a5f['get'](_0x10f119)['executeCommand'](_0x172363['id']):!0x1},kr={'id':_0x58e4e4(0x3d4),'type':_0x19398e[_0x58e4e4(0x1f1)],'handler':async _0x3cd84e=>{const _0x1d71a9=_0x58e4e4;let _0x18a266=Tr(_0x3cd84e);if(!_0x18a266)return!0x1;let _0x2c749c=await _0x3cd84e[_0x1d71a9(0x368)](_0x105d73)[_0x1d71a9(0x2a4)]({'unitId':_0x18a266['unitId'],'subUnitId':_0x18a266[_0x1d71a9(0x28c)],'getId':()=>_0x18a266[_0x1d71a9(0x2dc)]});return _0x2c749c?(Er(_0x2c749c,_0x18a266[_0x1d71a9(0x2dc)]+_0x1d71a9(0x1ac)),!0x0):!0x1;}},Ar={'id':_0x58e4e4(0x3cd),'type':_0x19398e[_0x58e4e4(0x1f1)],'handler':_0x241168=>{const _0x3e3505=_0x58e4e4;let _0x1178c7=Tr(_0x241168);return _0x1178c7?_0x241168[_0x3e3505(0x368)](_0x10f119)[_0x3e3505(0x1ee)](_0x52fe4a['id'],{'unitId':_0x1178c7[_0x3e3505(0x380)],'drawings':[{'unitId':_0x1178c7[_0x3e3505(0x380)],'subUnitId':_0x1178c7[_0x3e3505(0x28c)],'drawingId':_0x1178c7['drawingId'],'drawingType':_0x43df04[_0x3e3505(0x1aa)]}]}):!0x1;}},U={'type':_0x19398e['COMMAND'],'id':_0x58e4e4(0x21a),'handler':async(_0x3c6b1f,_0x1bdfcf)=>{const _0x22d97d=_0x58e4e4;let _0x32f2de=_0x130794(_0x3c6b1f['get'](_0x5b54fc));if(!_0x32f2de)return!0x1;let _0x193bb4=_0x3c6b1f['get'](_0x3699f1)['getCurrentLastSelection']();if(!_0x193bb4)return!0x1;let {range:_0x10581c}=_0x193bb4,_0x2e6fac=_0x3c6b1f['get'](_0x10f119),{unitId:_0x74667d,subUnitId:_0x5081c2}=_0x32f2de,{pieSecondaryPlotType:_0x461575,value:_0x7609bb}=_0x1bdfcf,_0x36a7df=_0x461575!==void 0x0;if(_0x36a7df&&(_0x7609bb!==_0x5ec5cb[_0x22d97d(0x2e0)]||_0x461575!==_0x3e9108['Pie']&&_0x461575!==_0x3e9108[_0x22d97d(0x20b)]))return!0x1;let _0x348f18=_0x36a7df?_0x5120c1():void 0x0;return _0x2e6fac[_0x22d97d(0x1ee)](_0x467e05['id'],{'unitId':_0x74667d,'subUnitId':_0x5081c2,'chartType':_0x7609bb,..._0x348f18&&_0x461575?{'chartId':_0x348f18,'config':{'unitId':_0x74667d,'chartModelId':_0x348f18,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x461575}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x10581c[_0x22d97d(0x380)]??_0x74667d,'subUnitId':_0x10581c[_0x22d97d(0x1cc)]??_0x5081c2,'range':_0x10581c}}});}};function jr(_0x584b81,_0x58a23a){const _0x32fbf9=_0x58e4e4;if(_0x584b81==null)return'';if(Array[_0x32fbf9(0x10d)](_0x584b81)){var _0x556089;let _0x2970fa=(_0x556089=_0x584b81[0x0])==null?void 0x0:_0x556089[_0x32fbf9(0x3b2)];return _0x2970fa?Mr(_0x2970fa,_0x58a23a):'';}return Mr(_0x584b81[_0x32fbf9(0x18a)],_0x58a23a);}function Mr(_0x4ab168,_0x19bb8b){const _0x30b4de=_0x58e4e4;var _0x449de7;let {unitId:_0x5dbf00,subUnitId:_0x588cb5,range:_0x2abdb3}=_0x4ab168,_0x2c06ad=(_0x449de7=_0x19bb8b['getUnit'](_0x5dbf00))==null?void 0x0:_0x449de7[_0x30b4de(0x2d3)](_0x588cb5);if(!_0x2c06ad)return'';let _0x1a547e=_0x2c06ad[_0x30b4de(0x254)]();return _0x1e8e5e(_0x1a547e,_0x2abdb3);}const Nr=_0x85502f['map'](_0x14856f=>({'id':'id'in _0x14856f?_0x14856f['id']:void 0x0,'labelId':_0x14856f['labelId'],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x14856f?_0x14856f[_0x58e4e4(0x17d)]:void 0x0,'value':_0x14856f[_0x58e4e4(0x256)],'icon':_0x14856f[_0x58e4e4(0x1b7)]}));function Pr(_0x44cfef=Nr){return _0x44cfef['map'](({id:_0x567279,icon:_0x28226c,value:_0x59a462})=>{const _0x3b0654=_0x29f5;let _0x5abd4d=_0x924dc9(_0x567279??String(_0x59a462)),_0x472215=_0x5abd4d?{'value':_0x5abd4d[_0x3b0654(0x341)],..._0x5abd4d[_0x3b0654(0x17d)]?{'pieSecondaryPlotType':_0x5abd4d[_0x3b0654(0x17d)]}:{}}:{'value':_0x59a462};return{'icon':_0x28226c,'value':_0x567279??_0x59a462,'params':_0x472215};});}const Fr=(_0x53d9e7,_0x27667c)=>{const _0x1a1fa5=_0x58e4e4;if(_0x27667c[_0x1a1fa5(0x334)]===0x1&&_0x27667c[0x0]==='all')return _0x53d9e7;if(_0x27667c[_0x1a1fa5(0x334)]>0x1){let _0x151099=new Set();for(let _0x16dfb4 of _0x27667c)_0x151099[_0x1a1fa5(0x1c7)](Number(_0x16dfb4));return _0x53d9e7[_0x1a1fa5(0x19e)](_0x5dcad4=>_0x151099[_0x1a1fa5(0x39b)](_0x5dcad4[_0x1a1fa5(0x256)]));}return[];};function Ir(_0x2f54ec){const _0x1cd9ae=_0x58e4e4;let _0xbbb808=_0x2f54ec['get'](_0x5b54fc),_0x4a7b04=_0x1fd812(_0x2f54ec),_0x37fb69=Fr(Nr[_0x1cd9ae(0x2fc)](),_0x4a7b04),_0x12ecf9=Pr(_0x37fb69)[_0x1cd9ae(0x3b3)]((_0x223b2f,_0x12f6f2)=>({'icon':_0x223b2f[_0x1cd9ae(0x3bb)],'value':_0x223b2f[_0x1cd9ae(0x256)],'params':_0x223b2f['params'],'label':_0x1cd9ae(0x27a)+_0x37fb69[_0x12f6f2][_0x1cd9ae(0x2af)]}));return{'id':U['id'],'type':_0x40ad65[_0x1cd9ae(0x280)],'selectionsCommandId':U['id'],'selections':_0x12ecf9,'icon':_0x1cd9ae(0x2ab),'tooltip':_0x1cd9ae(0x31c),'activated$':_0x2eadaf(_0xbbb808,!0x1,()=>new _0x382ded(_0x2d23da=>{const _0x472d9e=_0x1cd9ae;_0x2d23da[_0x472d9e(0x31b)](!0x1);})),'hidden$':_0x1fa6a2(_0x2f54ec,_0xaf509f[_0x1cd9ae(0x16d)]),'disabled$':_0x59d29f(_0x2f54ec)};}function Lr(_0x4b1778){const _0x11b31a=_0x58e4e4;let _0x397264=_0x4b1778[_0x11b31a(0x368)](_0xcf65a5);return _0x397264[_0x11b31a(0x328)][_0x11b31a(0x3b1)](_0x4f483a(_0x397264[_0x11b31a(0x321)]()),_0x587f1(()=>Tr(_0x4b1778)==null));}function Rr(_0x41609e){const _0x5d269a=_0x58e4e4;return{'id':Dr['id'],'commandId':Dr['id'],'type':_0x40ad65[_0x5d269a(0x30f)],'title':_0x41609e['get'](_0x37903c)['t'](_0x5d269a(0x111)),'icon':_0x5d269a(0x30d),'hidden$':Lr(_0x41609e)};}function zr(_0x1c62c8){const _0x1d02b3=_0x58e4e4;return{'id':Or['id'],'commandId':Or['id'],'type':_0x40ad65[_0x1d02b3(0x30f)],'title':_0x1c62c8[_0x1d02b3(0x368)](_0x37903c)['t'](_0x1d02b3(0x2d7)),'icon':_0x1d02b3(0x27b),'hidden$':Lr(_0x1c62c8)};}function Br(_0x1bd382){const _0x4ea40e=_0x58e4e4;return{'id':kr['id'],'commandId':kr['id'],'type':_0x40ad65[_0x4ea40e(0x30f)],'title':_0x1bd382[_0x4ea40e(0x368)](_0x37903c)['t'](_0x4ea40e(0x1b8)),'icon':'DownloadImageIcon','hidden$':Lr(_0x1bd382)};}function Vr(_0xef6eae){const _0x46fce2=_0x58e4e4;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x40ad65[_0x46fce2(0x30f)],'title':_0xef6eae[_0x46fce2(0x368)](_0x37903c)['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x46fce2(0x223),'hidden$':Lr(_0xef6eae)};}const Hr={[_0x134022[_0x58e4e4(0x312)]]:{[U['id']]:{'order':0x4,'menuItemFactory':Ir}},[_0x587e60[_0x58e4e4(0x1e0)]]:{[_0x1d6826[_0x58e4e4(0x2cf)]]:{[Dr['id']]:{'order':0x0,'menuItemFactory':Rr},[Or['id']]:{'order':0x1,'menuItemFactory':zr},[kr['id']]:{'order':0x3,'menuItemFactory':Br},[Ar['id']]:{'order':0x4,'menuItemFactory':Vr}}}};function Ur(_0x5d0062){const _0x4b26ad=_0x58e4e4;return _0x5d0062===_0x5ec5cb[_0x4b26ad(0x28a)]||_0x5d0062===_0x5ec5cb[_0x4b26ad(0x33a)]||_0x5d0062===_0x5ec5cb[_0x4b26ad(0x15b)]||_0x31bb43[_0x4b26ad(0x300)](_0x5d0062,_0x5ec5cb['Line'])||_0x31bb43[_0x4b26ad(0x300)](_0x5d0062,_0x5ec5cb[_0x4b26ad(0x186)])||_0x31bb43[_0x4b26ad(0x300)](_0x5d0062,_0x5ec5cb[_0x4b26ad(0x2be)])||_0x31bb43[_0x4b26ad(0x300)](_0x5d0062,_0x5ec5cb[_0x4b26ad(0x38c)]);}function Wr(_0x3b5b3c){const _0x1ac299=_0x58e4e4;return Ur(_0x3b5b3c)||_0x31bb43[_0x1ac299(0x300)](_0x3b5b3c,_0x5ec5cb[_0x1ac299(0x2e0)])||_0x31bb43['baseOn'](_0x3b5b3c,_0x5ec5cb['Pareto'])||_0x31bb43[_0x1ac299(0x300)](_0x3b5b3c,_0x5ec5cb[_0x1ac299(0x31e)]);}function Gr(_0x1648dc,_0xe045ed){const _0x3dca60=_0x58e4e4;let _0xbfac78=_0x10d2ee(_0x1648dc,_0xe045ed),_0x4fe8de=_0xbfac78?_0xb7f32b(_0xbfac78[_0x3dca60(0x11f)]):void 0x0;if(_0xbfac78&&_0x4fe8de)return{..._0xbfac78,'route':_0x4fe8de,'showFloatMenu':Wr(_0x1648dc[_0x3dca60(0x341)])&&_0xbfac78['showFloatMenu']};}function Kr(_0x15a723,_0x106016=0x1){const _0x215064=_0x58e4e4;return{'width':Math['max'](_0x106016,_0x15a723[_0x215064(0x384)]),'height':Math['max'](_0x106016,_0x15a723['height'])};}function qr(_0x14f7e6,_0x23f9f5={},_0x1fe7bf={'left':0x0,'top':0x0}){const _0x44f526=_0x58e4e4;let _0x44d527=_0x23f9f5['scaleX']??0x1,_0x5155b9=_0x23f9f5[_0x44f526(0x263)]??0x1,_0x30e3be=_0x16653f[_0x44f526(0x2f6)]({'logicalOuterRect':{'left':_0x1fe7bf[_0x44f526(0x270)]>0x0?-_0x1fe7bf[_0x44f526(0x270)]:0x0,'top':_0x1fe7bf[_0x44f526(0x23a)]>0x0?-_0x1fe7bf[_0x44f526(0x23a)]:0x0,...Kr(_0x14f7e6)},'scale':{'scaleX':_0x44d527,'scaleY':_0x5155b9},'hostStyle':{},'contentMode':_0x5ddbd5[_0x44f526(0x119)]});return{'left':_0x30e3be['logicalOuterRect'][_0x44f526(0x270)],'top':_0x30e3be[_0x44f526(0x1c1)]['top'],'width':_0x30e3be[_0x44f526(0x1c1)][_0x44f526(0x384)],'height':_0x30e3be[_0x44f526(0x1c1)][_0x44f526(0x1d7)],'scaleX':_0x44d527,'scaleY':_0x5155b9};}function Jr(_0x596874){'@babel/helpers - typeof';const _0x2beebe=_0x58e4e4;return Jr=typeof Symbol==_0x2beebe(0x2de)&&typeof Symbol[_0x2beebe(0x21b)]==_0x2beebe(0x1e6)?function(_0x1c3d6f){return typeof _0x1c3d6f;}:function(_0x2fc70b){const _0x180f71=_0x2beebe;return _0x2fc70b&&typeof Symbol==_0x180f71(0x2de)&&_0x2fc70b[_0x180f71(0x354)]===Symbol&&_0x2fc70b!==Symbol['prototype']?_0x180f71(0x1e6):typeof _0x2fc70b;},Jr(_0x596874);}function Yr(_0xf2ca3b,_0x242419){const _0x5f4077=_0x58e4e4;if(Jr(_0xf2ca3b)!=_0x5f4077(0x36d)||!_0xf2ca3b)return _0xf2ca3b;var _0x2cdef7=_0xf2ca3b[Symbol[_0x5f4077(0x315)]];if(_0x2cdef7!==void 0x0){var _0x12ba68=_0x2cdef7[_0x5f4077(0x29e)](_0xf2ca3b,_0x242419||'default');if(Jr(_0x12ba68)!=_0x5f4077(0x36d))return _0x12ba68;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x242419===_0x5f4077(0x1a2)?String:Number)(_0xf2ca3b);}function Xr(_0x5b7860){const _0x5f1f56=_0x58e4e4;var _0x35282e=Yr(_0x5b7860,_0x5f1f56(0x1a2));return Jr(_0x35282e)==_0x5f1f56(0x1e6)?_0x35282e:_0x35282e+'';}function W(_0x2e2ce9,_0x216614,_0x4c893b){const _0x274d6f=_0x58e4e4;return(_0x216614=Xr(_0x216614))in _0x2e2ce9?Object[_0x274d6f(0x12d)](_0x2e2ce9,_0x216614,{'value':_0x4c893b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2e2ce9[_0x216614]=_0x4c893b,_0x2e2ce9;}function Zr(_0x14f1a2){const _0x4071cb=_0x58e4e4;switch(_0x14f1a2['type']){case _0x385294[_0x4071cb(0x32a)]:return _0x14f1a2[_0x4071cb(0x305)];case _0x385294['ImageBitmap']:return _0x14f1a2['imageBitmap'];default:return;}}var Qr=class extends _0x45ef13{constructor(_0x64cc9a,_0x1fa63f,_0x65fa6d,_0x556feb=()=>!0x1,_0x5dbf17=()=>{}){const _0x993a89=_0x58e4e4;super(_0x64cc9a,{..._0x1fa63f,'evented':_0x1fa63f[_0x993a89(0x35c)]??!0x0}),this[_0x993a89(0x2ce)]=_0x65fa6d,this[_0x993a89(0x23d)]=_0x556feb,this[_0x993a89(0x146)]=_0x5dbf17,W(this,_0x993a89(0x133),null),W(this,'_url',null),W(this,'_requestedUrl',null),W(this,_0x993a89(0x35d),null),this[_0x993a89(0x2d9)](_0x274d57[_0x993a89(0x1d2)]);}[_0x58e4e4(0x125)](){const _0x1dc7c7=_0x58e4e4;this[_0x1dc7c7(0x340)](),this[_0x1dc7c7(0x133)]=null,this[_0x1dc7c7(0x214)]=null,this[_0x1dc7c7(0x30c)]=null,this[_0x1dc7c7(0x146)](),super[_0x1dc7c7(0x125)]();}['render'](_0x2d72c3,_0x4b6482){const _0x370ade=_0x58e4e4;if(!this[_0x370ade(0x2cd)])return this[_0x370ade(0x293)](!0x1),this;if(this[_0x370ade(0x23d)]()){let _0x81adaa=this['_getImage']();return _0x81adaa&&this[_0x370ade(0x2f4)](_0x81adaa),this[_0x370ade(0x293)](!0x1),this;}if(!this['transform'])return this;let {width:_0x53e8ea,height:_0x13166d,left:_0x2c88db,top:_0x229abe}=this[_0x370ade(0x2bf)]();if(this[_0x370ade(0x261)](_0x4b6482)){let {top:_0x12ec07,left:_0x385720,bottom:_0x26b796,right:_0x20f19d}=_0x4b6482[_0x370ade(0x323)];if(_0x53e8ea+this[_0x370ade(0x199)]+_0x2c88db<_0x385720||_0x20f19d<_0x2c88db||_0x13166d+this['strokeWidth']+_0x229abe<_0x12ec07||_0x26b796<_0x229abe)return this;}let _0x541837=this[_0x370ade(0x361)]['getMatrix']();_0x2d72c3[_0x370ade(0x24d)]();let _0x4bdd59=_0x2c88db+_0x53e8ea/0x2,_0x2198ec=_0x229abe+_0x13166d/0x2;return _0x2d72c3[_0x370ade(0x361)](_0x541837[0x0],_0x541837[0x1],_0x541837[0x2],_0x541837[0x3],_0x4bdd59,_0x2198ec),this[_0x370ade(0x207)]!==0x1&&(_0x2d72c3[_0x370ade(0x12a)]=this['opacity']),this[_0x370ade(0x165)](_0x2d72c3,void 0x0,_0x53e8ea,_0x13166d),_0x2d72c3['restore'](),this[_0x370ade(0x293)](!0x1),this;}['_draw'](_0xf537f6,_0x5ecbc4,_0x4f83e4=this[_0x58e4e4(0x384)],_0x327e73=this['height']){const _0x24e592=_0x58e4e4;this[_0x24e592(0x26d)](_0xf537f6,_0x4f83e4,_0x327e73,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x24e592(0x231)](_0xf537f6,_0x4f83e4,_0x327e73),this[_0x24e592(0x26d)](_0xf537f6,_0x4f83e4,_0x327e73,{'fill':void 0x0});}['_drawChartFrame'](_0x372a67,_0x56497d,_0x1e7265,_0x286b5c){const _0x514917=_0x58e4e4;_0x372a67[_0x514917(0x24d)](),_0x372a67[_0x514917(0x196)](-_0x56497d/0x2,-_0x1e7265/0x2),_0x45ef13['drawWith'](_0x372a67,$r(this,_0x56497d,_0x1e7265,_0x286b5c)),_0x372a67[_0x514917(0x108)]();}[_0x58e4e4(0x1bd)](_0x58f4b5){const _0x3ac57f=_0x58e4e4;let {left:_0x47280b,top:_0x3f9e62,width:_0x142611,height:_0x18bc0e}=this[_0x3ac57f(0x2bf)](),_0x2e31f7=_0x47280b+_0x142611/0x2,_0x1306d9=_0x3f9e62+_0x18bc0e/0x2,_0x3570d1=this['transform'][_0x3ac57f(0x3bc)](),_0xe987eb=new _0x4325f2([_0x3570d1[0x0],_0x3570d1[0x1],_0x3570d1[0x2],_0x3570d1[0x3],_0x2e31f7,_0x1306d9]),_0xf84502=this[_0x3ac57f(0x3b7)](),_0x612de1=(this[_0x3ac57f(0x2ac)]&&(_0xf84502==null?void 0x0:_0xf84502['classType'])===_0x349e8f[_0x3ac57f(0x2ef)]?_0xf84502[_0x3ac57f(0x362)][_0x3ac57f(0x190)](_0xe987eb):_0xe987eb)[_0x3ac57f(0x3ad)]()[_0x3ac57f(0x26f)](_0x58f4b5),_0x2f3f87=_0x142611/0x2,_0x27f791=_0x18bc0e/0x2;return _0x612de1['x']>=-_0x2f3f87-this[_0x3ac57f(0x199)]/0x2&&_0x612de1['x']<=_0x2f3f87+this[_0x3ac57f(0x199)]/0x2&&_0x612de1['y']>=-_0x27f791-this['strokeWidth']/0x2&&_0x612de1['y']<=_0x27f791+this['strokeWidth']/0x2;}[_0x58e4e4(0x231)](_0x2d3000,_0x5268b9,_0x59acbf){const _0x30efef=_0x58e4e4;let _0xccec2e=this[_0x30efef(0x2ce)](),_0x4980de=_0xccec2e?this['_getDrawable'](_0xccec2e):void 0x0;if(!_0x4980de)return;let {width:_0x75781e,height:_0x1115a0}=Kr({'width':_0x5268b9,'height':_0x59acbf},0x0);_0x75781e!==0x0&&_0x1115a0!==0x0&&(_0x2d3000[_0x30efef(0x24d)](),_0x2d3000[_0x30efef(0x196)](-_0x5268b9/0x2,-_0x59acbf/0x2),ei(_0x2d3000,_0x75781e,_0x1115a0,this[_0x30efef(0x14d)]),_0x2d3000[_0x30efef(0x29c)](),_0x2d3000['drawImage'](_0x4980de,0x0,0x0,_0x75781e,_0x1115a0),_0x2d3000[_0x30efef(0x108)]());}[_0x58e4e4(0x2f4)](_0x1ce95c){const _0x3955b7=_0x58e4e4;var _0x49b402;let _0x4da3be=Zr(_0x1ce95c);if(_0x4da3be)return _0x4da3be;if(_0x1ce95c['type']===_0x385294[_0x3955b7(0x37e)]&&(this[_0x3955b7(0x30c)]!==_0x1ce95c['url']&&(this['_requestedUrl']=_0x1ce95c[_0x3955b7(0x155)],this[_0x3955b7(0x340)](),this[_0x3955b7(0x214)]!==_0x1ce95c['url']&&this[_0x3955b7(0x34f)](_0x1ce95c['url'])),(_0x49b402=this['_urlImage'])!=null&&_0x49b402['complete']&&this[_0x3955b7(0x133)][_0x3955b7(0x2ed)]>0x0&&this[_0x3955b7(0x133)][_0x3955b7(0x1fd)]>0x0))return this[_0x3955b7(0x133)];}[_0x58e4e4(0x34f)](_0xac5f87){const _0x1b0b5a=_0x58e4e4;let _0xbc975a=document[_0x1b0b5a(0x127)]('img');this[_0x1b0b5a(0x35d)]=_0xbc975a,_0xbc975a[_0x1b0b5a(0x366)]=_0x1b0b5a(0x1fa),_0xbc975a['onload']=()=>{const _0x14bf8f=_0x1b0b5a;this[_0x14bf8f(0x30c)]===_0xac5f87&&this[_0x14bf8f(0x35d)]===_0xbc975a&&(_0xbc975a[_0x14bf8f(0x2ed)]>0x0&&_0xbc975a['naturalHeight']>0x0&&(this[_0x14bf8f(0x214)]=_0xac5f87,this[_0x14bf8f(0x133)]=_0xbc975a),this[_0x14bf8f(0x340)](),this[_0x14bf8f(0x293)](!0x0));},_0xbc975a['onerror']=()=>{const _0x363286=_0x1b0b5a;this[_0x363286(0x35d)]===_0xbc975a&&this[_0x363286(0x340)]();},_0xbc975a[_0x1b0b5a(0x12f)]=_0xac5f87;}[_0x58e4e4(0x340)](){const _0x2b92b0=_0x58e4e4;this[_0x2b92b0(0x35d)]&&=(this[_0x2b92b0(0x35d)][_0x2b92b0(0x28b)]=null,this[_0x2b92b0(0x35d)]['onerror']=null,null);}};function $r(_0x4193a7,_0x2ecebe,_0x444127,_0x6b7aff){const _0x27edcd=_0x58e4e4;let _0x674cc1=Object['create'](_0x4193a7);return Object[_0x27edcd(0x12d)](_0x674cc1,'width',{'value':_0x2ecebe}),Object[_0x27edcd(0x12d)](_0x674cc1,'height',{'value':_0x444127}),Object[_0x27edcd(0x1ce)](_0x6b7aff)[_0x27edcd(0x2db)](_0x19f85f=>{const _0x3a67db=_0x27edcd;Object[_0x3a67db(0x12d)](_0x674cc1,_0x19f85f,{'value':_0x6b7aff[_0x19f85f]});}),_0x674cc1;}function ei(_0xfc5043,_0x1193a6,_0x25022b,_0x2d4f93){const _0x3df7b2=_0x58e4e4;let _0xd096a3=Math[_0x3df7b2(0x227)](_0x2d4f93||0x0,_0x1193a6/0x2,_0x25022b/0x2);if(_0xfc5043[_0x3df7b2(0x2bc)](),!_0xd096a3){_0xfc5043[_0x3df7b2(0x148)](0x0,0x0,_0x1193a6,_0x25022b),_0xfc5043[_0x3df7b2(0x142)]();return;}_0xfc5043['moveTo'](_0xd096a3,0x0),_0xfc5043['lineTo'](_0x1193a6-_0xd096a3,0x0),_0xfc5043[_0x3df7b2(0x203)](_0x1193a6-_0xd096a3,_0xd096a3,_0xd096a3,Math['PI']*0x3/0x2,0x0,!0x1),_0xfc5043[_0x3df7b2(0x2ad)](_0x1193a6,_0x25022b-_0xd096a3),_0xfc5043[_0x3df7b2(0x203)](_0x1193a6-_0xd096a3,_0x25022b-_0xd096a3,_0xd096a3,0x0,Math['PI']/0x2,!0x1),_0xfc5043[_0x3df7b2(0x2ad)](_0xd096a3,_0x25022b),_0xfc5043[_0x3df7b2(0x203)](_0xd096a3,_0x25022b-_0xd096a3,_0xd096a3,Math['PI']/0x2,Math['PI'],!0x1),_0xfc5043['lineTo'](0x0,_0xd096a3),_0xfc5043[_0x3df7b2(0x203)](_0xd096a3,_0xd096a3,_0xd096a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xfc5043['closePath']();}function G(_0x68ece8){const _0x3a0620=_0x58e4e4;(_0x68ece8==null?void 0x0:_0x68ece8[_0x3a0620(0x2e2)])===_0x385294[_0x3a0620(0x276)]&&_0x68ece8['imageBitmap'][_0x3a0620(0x1f2)]();}function ti(_0x26ce41){const _0x165d57=_0x58e4e4;return _0x26ce41['unitId']+_0x165d57(0x16f)+_0x26ce41[_0x165d57(0x28c)]+'#-#'+_0x26ce41[_0x165d57(0x1f8)];}var ni=class extends _0x7b52dc{constructor(..._0x245b6f){const _0x22545b=_0x58e4e4;super(..._0x245b6f),W(this,_0x22545b(0x174),new Map());}[_0x58e4e4(0x23c)](_0x3d9fc2){const _0x402ec9=_0x58e4e4;let _0x173f0a=ti(_0x3d9fc2),_0x119129=this['_entries'][_0x402ec9(0x368)](_0x173f0a)??{'version':0x0};return _0x119129[_0x402ec9(0x2f7)]+=0x1,this[_0x402ec9(0x174)]['set'](_0x173f0a,_0x119129),_0x119129[_0x402ec9(0x2f7)];}[_0x58e4e4(0x356)](_0x3d9f50,_0x542bb9){const _0x2f73c4=_0x58e4e4;var _0x53dc27;return((_0x53dc27=this[_0x2f73c4(0x174)][_0x2f73c4(0x368)](ti(_0x3d9f50)))==null?void 0x0:_0x53dc27[_0x2f73c4(0x2f7)])===_0x542bb9;}['setImage'](_0x36e448,_0x2abd8b,_0x2e9a40){const _0x18377b=_0x58e4e4;if(!this['isLatest'](_0x36e448,_0x2e9a40))return G(_0x2abd8b),!0x1;let _0x20e329=ti(_0x36e448),_0x33e4f6=this[_0x18377b(0x174)][_0x18377b(0x368)](_0x20e329)??{'version':_0x2e9a40},_0x5de05b=_0x33e4f6['image'];return _0x33e4f6[_0x18377b(0x236)]=_0x2abd8b,_0x33e4f6['version']=_0x2e9a40,this[_0x18377b(0x174)][_0x18377b(0x37a)](_0x20e329,_0x33e4f6),_0x5de05b!==_0x2abd8b&&G(_0x5de05b),!0x0;}[_0x58e4e4(0x3d2)](_0x189349){const _0xf972f2=_0x58e4e4;var _0x5d109c;return(_0x5d109c=this['_entries'][_0xf972f2(0x368)](ti(_0x189349)))==null?void 0x0:_0x5d109c[_0xf972f2(0x236)];}[_0x58e4e4(0x1ab)](_0x9b01c1){const _0x6c40cf=_0x58e4e4;let _0x32ab65=ti(_0x9b01c1),_0x1bb16c=this[_0x6c40cf(0x174)]['get'](_0x32ab65);_0x1bb16c&&(G(_0x1bb16c[_0x6c40cf(0x236)]),this['_entries'][_0x6c40cf(0x25c)](_0x32ab65));}['clearChart'](_0x2f9987){const _0x184fee=_0x58e4e4;for(let [_0x461482,_0x12cd5b]of this['_entries'])_0x461482[_0x184fee(0x349)](_0x184fee(0x16f)+_0x2f9987)&&(G(_0x12cd5b[_0x184fee(0x236)]),this[_0x184fee(0x174)]['delete'](_0x461482));}[_0x58e4e4(0x125)](){const _0x5308ad=_0x58e4e4;this[_0x5308ad(0x174)]['forEach'](_0x527090=>G(_0x527090['image'])),this[_0x5308ad(0x174)]['clear'](),super['dispose']();}};function ri(_0x1388d3,_0x568e5b=0x7d0){let _0x14a4ba=null,_0x2dd598=null,_0x5a377f=!0x1,_0x4df966=()=>{},_0x4b78a0=()=>{_0x14a4ba!=null&&(clearInterval(_0x14a4ba),_0x14a4ba=null),_0x2dd598!=null&&(clearTimeout(_0x2dd598),_0x2dd598=null);};return{'promise':new Promise((_0x2a5c32,_0x4f5c70)=>{_0x4df966=_0x4f5c70;let _0x27b3cd=()=>{let _0x190b20=document['getElementById'](_0x1388d3);_0x190b20&&!_0x5a377f&&(_0x5a377f=!0x0,_0x4b78a0(),_0x2a5c32(_0x190b20));};_0x27b3cd(),!_0x5a377f&&(_0x14a4ba=setInterval(_0x27b3cd,16.666666666666668),_0x2dd598=setTimeout(()=>{const _0x59c749=_0x29f5;_0x5a377f||(_0x5a377f=!0x0,_0x4b78a0(),_0x4f5c70(Error(_0x59c749(0x1ae)+_0x1388d3+'\x22.')));},_0x568e5b));}),'cancel':()=>{_0x5a377f||(_0x5a377f=!0x0,_0x4b78a0(),_0x4df966(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x1388d3+'\x22.')));}};}var ii=class extends _0x7b52dc{constructor(_0x4619b1,_0x275443,_0x5d48d5,_0x5d205f,_0x24675c,_0xf5411f,_0x2244b9){const _0x535502=_0x58e4e4;super(),this[_0x535502(0x1f8)]=_0x4619b1,this[_0x535502(0x342)]=_0x275443,this[_0x535502(0x1f0)]=_0x5d48d5,this[_0x535502(0x1ad)]=_0x5d205f,this['_isProviderDisposed']=_0x24675c,this[_0x535502(0x131)]=_0xf5411f,this[_0x535502(0x1d4)]=_0x2244b9,W(this,_0x535502(0x26e),_0x3f6e51[_0x535502(0x166)]),W(this,'_domFrame',null),W(this,_0x535502(0x3cc),!0x1),W(this,'_pendingToken',null),W(this,_0x535502(0x2ba),null),W(this,_0x535502(0x3ba),null),W(this,'_hostStyle',{}),W(this,'_savedWrapperStyle',null),W(this,_0x535502(0x2df),null);}[_0x58e4e4(0x182)](){const _0x3005de=_0x58e4e4;return this[_0x3005de(0x3cc)];}[_0x58e4e4(0x123)](){const _0x49925d=_0x58e4e4;this[_0x49925d(0x3cc)]=!0x1;}['getRect'](){const _0x5d4d84=_0x58e4e4;let _0x20daa6=this[_0x5d4d84(0x1f0)]();return _0x20daa6?{'width':_0x20daa6[_0x5d4d84(0x384)],'height':_0x20daa6['height']}:null;}['setStyle'](_0x52523e){const _0x52f8c8=_0x58e4e4;this[_0x52f8c8(0x2c4)]=_0x52523e,this[_0x52f8c8(0x1ad)](_0x52523e),this[_0x52f8c8(0x20f)]();}async[_0x58e4e4(0x388)](){const _0x1f3381=_0x58e4e4;if(this['_disposed']||this[_0x1f3381(0x3a4)]())throw Error(_0x1f3381(0x3cb));let _0x51a196=this[_0x1f3381(0x342)](),_0x16b75c=(_0x51a196==null?void 0x0:_0x51a196[_0x1f3381(0x2ca)])??this[_0x1f3381(0x1f8)],_0x316cdc=document[_0x1f3381(0x1e4)](_0x16b75c);if(this[_0x1f3381(0x2ff)]&&_0x316cdc!=null&&_0x316cdc['contains'](this[_0x1f3381(0x2ff)][_0x1f3381(0x252)]))return{'mountNode':this['_domFrame'][_0x1f3381(0x252)],'dispose':()=>{const _0x3e0926=_0x1f3381;this[_0x3e0926(0x125)](),_0x51a196==null||_0x51a196['dispose'][_0x3e0926(0x125)]();}};if(this[_0x1f3381(0x2ba)])return this[_0x1f3381(0x2ba)];let _0x457edf=this[_0x1f3381(0x329)]();return this['_pendingHost']=_0x457edf,_0x457edf['then'](()=>{const _0x3a0f73=_0x1f3381;this[_0x3a0f73(0x2ba)]===_0x457edf&&(this[_0x3a0f73(0x2ba)]=null);},()=>{const _0x498282=_0x1f3381;this[_0x498282(0x2ba)]===_0x457edf&&(this['_pendingHost']=null);}),_0x457edf;}async[_0x58e4e4(0x3ae)](){const _0x289762=_0x58e4e4;try{return(await this[_0x289762(0x388)]())[_0x289762(0x252)];}catch{return null;}}[_0x58e4e4(0x2a2)](){const _0x3e38e3=_0x58e4e4;let _0x350d08=this[_0x3e38e3(0x342)](),_0x4010f0=(_0x350d08==null?void 0x0:_0x350d08['domId'])??this[_0x3e38e3(0x1f8)],_0x53d4c7=document[_0x3e38e3(0x1e4)](_0x4010f0);return!!(this[_0x3e38e3(0x2ff)]&&_0x53d4c7!=null&&_0x53d4c7[_0x3e38e3(0x1ba)](this[_0x3e38e3(0x2ff)]['mountNode']));}[_0x58e4e4(0x12b)](){const _0x52e1a1=_0x58e4e4;if(!this['_domFrame'])return;let _0x4c1884=this['_getPlacement']();_0x4c1884&&this[_0x52e1a1(0x2ff)][_0x52e1a1(0x2cc)](this[_0x52e1a1(0x365)](_0x4c1884),this[_0x52e1a1(0x15a)]());}['markReady'](){const _0x253afb=_0x58e4e4;this[_0x253afb(0x131)]();}['markNotReady'](){this['_markNotReady']();}['setDataUpdateAnimation'](_0x55d2f6){const _0x45260c=_0x58e4e4;this['_dataUpdateAnimationDuration']=_0x55d2f6;let _0x1546cb=this['_getFloatDomInfo'](),_0x3c9c89=document[_0x45260c(0x1e4)]((_0x1546cb==null?void 0x0:_0x1546cb[_0x45260c(0x2ca)])??this[_0x45260c(0x1f8)]);_0x3c9c89&&this['_applyHostInteractionState'](_0x3c9c89);}[_0x58e4e4(0x125)](){const _0x323336=_0x58e4e4;var _0x17ec34;this[_0x323336(0x2c6)]||(this[_0x323336(0x217)](),this[_0x323336(0x21f)]=null,this[_0x323336(0x2ba)]=null,this[_0x323336(0x34c)](),this[_0x323336(0x3cc)]=!0x1,this[_0x323336(0x2df)]=null,(_0x17ec34=this[_0x323336(0x2ff)])==null||_0x17ec34[_0x323336(0x125)](),this[_0x323336(0x2ff)]=null,this[_0x323336(0x353)](),super['dispose']());}async[_0x58e4e4(0x329)](){const _0x31d291=_0x58e4e4;let _0x5aa94f=this['_getFloatDomInfo']();if(!_0x5aa94f)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x19f904=_0x5aa94f[_0x31d291(0x2ca)]??this[_0x31d291(0x1f8)],_0x5b4972=ri(_0x19f904),_0x44a00d=Symbol(this[_0x31d291(0x1f8)]);this[_0x31d291(0x21f)]=_0x44a00d,this[_0x31d291(0x3ba)]=_0x5b4972;try{let _0x2e7e81=await _0x5b4972[_0x31d291(0x297)],_0x252b5b=this[_0x31d291(0x342)](),_0x22d38b=(_0x252b5b==null?void 0x0:_0x252b5b[_0x31d291(0x2ca)])??this[_0x31d291(0x1f8)];if(this[_0x31d291(0x2c6)]||this[_0x31d291(0x3a4)]()||this['_pendingToken']!==_0x44a00d||!_0x252b5b||_0x22d38b!==_0x19f904||document['getElementById'](_0x19f904)!==_0x2e7e81||!_0x2e7e81[_0x31d291(0x38a)])throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x1bddd4=this[_0x31d291(0x1f0)]();if(!_0x1bddd4)throw Error(_0x31d291(0x3cb));let _0x383e33=new _0x1af803(_0x2e7e81);return _0x383e33[_0x31d291(0x2cc)](this[_0x31d291(0x365)](_0x1bddd4),this['_frameStyle']()),this[_0x31d291(0x32c)](_0x2e7e81),this['_domFrame']=_0x383e33,this['_managed']=!0x0,{'mountNode':_0x383e33['mountNode'],'dispose':()=>{const _0x18f48e=_0x31d291;this['dispose'](),_0x5aa94f[_0x18f48e(0x125)][_0x18f48e(0x125)]();}};}finally{this['_waiter']===_0x5b4972&&(this['_waiter']=null),this[_0x31d291(0x21f)]===_0x44a00d&&(this['_pendingToken']=null);}}['_cancelHostWait'](){const _0x3930c6=_0x58e4e4;let _0x1514fb=this[_0x3930c6(0x3ba)];_0x1514fb&&(_0x1514fb[_0x3930c6(0x28d)](),this[_0x3930c6(0x3ba)]=null);}[_0x58e4e4(0x20f)](){const _0x42c67b=_0x58e4e4;let _0x1c415f=this[_0x42c67b(0x1f0)]();this[_0x42c67b(0x2ff)]&&_0x1c415f&&this[_0x42c67b(0x2ff)][_0x42c67b(0x2cc)](this[_0x42c67b(0x365)](_0x1c415f),this[_0x42c67b(0x15a)]());}[_0x58e4e4(0x365)](_0x1ec2b7){const _0x9b0fcc=_0x58e4e4;return _0x16653f['resolve']({'logicalOuterRect':{'left':_0x1ec2b7[_0x9b0fcc(0x270)],'top':_0x1ec2b7[_0x9b0fcc(0x23a)],'width':_0x1ec2b7['width'],'height':_0x1ec2b7[_0x9b0fcc(0x1d7)]},'scale':{'scaleX':_0x1ec2b7[_0x9b0fcc(0x2a6)],'scaleY':_0x1ec2b7['scaleY']},'hostStyle':this['_frameStyle'](),'contentMode':_0x5ddbd5[_0x9b0fcc(0x119)]});}['_frameStyle'](){return{...this['_hostStyle'],'radius':_0x5af627};}[_0x58e4e4(0x32c)](_0x201a83){const _0x1fb6b7=_0x58e4e4;let _0x4e5af8=_0x201a83[_0x1fb6b7(0x24f)];_0x4e5af8&&(this[_0x1fb6b7(0x3c7)]||={'zIndex':_0x4e5af8[_0x1fb6b7(0x2dd)][_0x1fb6b7(0x179)],'pointerEvents':_0x4e5af8[_0x1fb6b7(0x2dd)][_0x1fb6b7(0x2b6)]},_0x4e5af8[_0x1fb6b7(0x2dd)][_0x1fb6b7(0x179)]=_0x1fb6b7(0x27f),this[_0x1fb6b7(0x201)](_0x201a83));}[_0x58e4e4(0x201)](_0xb0a359){const _0x2ce144=_0x58e4e4;let _0x8f5f3a=_0xb0a359[_0x2ce144(0x24f)];if(!_0x8f5f3a)return;let _0x3910ac=this['_dataUpdateAnimationDuration'];if(_0x3910ac!=null){_0xb0a359[_0x2ce144(0x202)][_0x2ce144(0x13e)]=_0x2ce144(0x1c6),_0xb0a359[_0x2ce144(0x202)][_0x2ce144(0x126)]=String(_0x3910ac),_0x8f5f3a['style'][_0x2ce144(0x2b6)]=_0x2ce144(0x234);return;}delete _0xb0a359[_0x2ce144(0x202)][_0x2ce144(0x13e)],delete _0xb0a359['dataset'][_0x2ce144(0x126)],_0x8f5f3a[_0x2ce144(0x2dd)][_0x2ce144(0x2b6)]=_0x2ce144(0x2e8);}[_0x58e4e4(0x353)](){const _0x4ecde0=_0x58e4e4;if(!this[_0x4ecde0(0x3c7)])return;let _0x4f369f=this[_0x4ecde0(0x342)](),_0x20c830=(_0x4f369f==null?void 0x0:_0x4f369f['domId'])??this['chartId'],_0x34ae6e=document[_0x4ecde0(0x1e4)](_0x20c830);_0x34ae6e==null||delete _0x34ae6e['dataset']['sheetChartDataAnimation'],_0x34ae6e==null||delete _0x34ae6e[_0x4ecde0(0x202)][_0x4ecde0(0x126)];let _0x326bda=_0x34ae6e==null?void 0x0:_0x34ae6e['parentElement'];_0x326bda&&(_0x326bda[_0x4ecde0(0x2dd)][_0x4ecde0(0x179)]=this['_savedWrapperStyle'][_0x4ecde0(0x179)],_0x326bda[_0x4ecde0(0x2dd)]['pointerEvents']=this[_0x4ecde0(0x3c7)][_0x4ecde0(0x2b6)]),this[_0x4ecde0(0x3c7)]=null;}},ai=class extends _0xeb5e8c{constructor(_0x3f5e0f,_0x4b90d1,_0x2ebf7f,_0x3c5c8b,_0x201e3a,_0x226595){const _0x29dbe3=_0x58e4e4;super(_0x3f5e0f),this[_0x29dbe3(0x24e)]=_0x4b90d1,this[_0x29dbe3(0x1ad)]=_0x2ebf7f,this[_0x29dbe3(0x16a)]=_0x3c5c8b,this['_snapshotStore']=_0x201e3a,this[_0x29dbe3(0x37f)]=_0x226595;}[_0x58e4e4(0x307)](){const _0x373ef7=_0x58e4e4;let _0x15ccf2=this[_0x373ef7(0x24e)]();return _0x15ccf2?Kr(_0x15ccf2):null;}['setStyle'](_0x305cd1){const _0x51cc2b=_0x58e4e4;this[_0x51cc2b(0x1ad)](_0x305cd1);}['nextVersion'](){const _0x37a6a5=_0x58e4e4;return this[_0x37a6a5(0x1a6)][_0x37a6a5(0x23c)](this[_0x37a6a5(0x16a)]);}['commitSnapshot'](_0x42245d,_0x14d22c){const _0x3bdc02=_0x58e4e4;return this[_0x3bdc02(0x1a6)][_0x3bdc02(0x2f2)](this[_0x3bdc02(0x16a)],_0x42245d,_0x14d22c);}[_0x58e4e4(0x100)](){const _0x312e36=_0x58e4e4;this[_0x312e36(0x37f)]();}['invalidateSnapshot'](){const _0x5a105b=_0x58e4e4;this[_0x5a105b(0x1a6)][_0x5a105b(0x23c)](this['_snapshotKey']);}};function K(_0x34f329,_0x369889){return function(_0x793a5f,_0x5bee1f){_0x369889(_0x793a5f,_0x5bee1f,_0x34f329);};}function q(_0x3a23d7,_0x55cc55,_0x151f43,_0x41e3d6){const _0x36aadd=_0x58e4e4;var _0x5bd004=arguments[_0x36aadd(0x334)],_0xebb8ed=_0x5bd004<0x3?_0x55cc55:_0x41e3d6===null?_0x41e3d6=Object[_0x36aadd(0x168)](_0x55cc55,_0x151f43):_0x41e3d6,_0x56950e;if(typeof Reflect=='object'&&typeof Reflect[_0x36aadd(0x372)]==_0x36aadd(0x2de))_0xebb8ed=Reflect[_0x36aadd(0x372)](_0x3a23d7,_0x55cc55,_0x151f43,_0x41e3d6);else{for(var _0x53516b=_0x3a23d7[_0x36aadd(0x334)]-0x1;_0x53516b>=0x0;_0x53516b--)(_0x56950e=_0x3a23d7[_0x53516b])&&(_0xebb8ed=(_0x5bd004<0x3?_0x56950e(_0xebb8ed):_0x5bd004>0x3?_0x56950e(_0x55cc55,_0x151f43,_0xebb8ed):_0x56950e(_0x55cc55,_0x151f43))||_0xebb8ed);}return _0x5bd004>0x3&&_0xebb8ed&&Object[_0x36aadd(0x12d)](_0x55cc55,_0x151f43,_0xebb8ed),_0xebb8ed;}const oi=0.5;function si(_0x4f2b5d){const _0x6291e6=_0x58e4e4;let _0x5d9f5a=Math[_0x6291e6(0x20e)](_0x4f2b5d[_0x6291e6(0x313)]-_0x4f2b5d[_0x6291e6(0x11c)],0x0),_0x25afa0=Math[_0x6291e6(0x20e)](_0x4f2b5d[_0x6291e6(0x14e)]-_0x4f2b5d[_0x6291e6(0x2e3)],0x0),_0x584976=_0x4f2b5d[_0x6291e6(0x3a7)]['left']&&_0x4f2b5d['width']-_0x5d9f5a>oi,_0xd4f1bc=_0x4f2b5d['absolute'][_0x6291e6(0x23a)]&&_0x4f2b5d['height']-_0x25afa0>oi;return!_0x584976&&!_0xd4f1bc?_0x4f2b5d:{..._0x4f2b5d,'absolute':{'left':!_0x584976&&_0x4f2b5d[_0x6291e6(0x3a7)][_0x6291e6(0x270)],'top':!_0xd4f1bc&&_0x4f2b5d['absolute'][_0x6291e6(0x23a)]}};}function ci(_0x1fa05c){const _0x2aeff7=_0x58e4e4;if(!Object[_0x2aeff7(0x27d)][_0x2aeff7(0x2eb)]['call'](_0x1fa05c,_0x2aeff7(0x2b8)))return _0x1fa05c;let {border:_0x5e8363,..._0xbe3d25}=_0x1fa05c;return{..._0xbe3d25,'stroke':(_0x5e8363==null?void 0x0:_0x5e8363[_0x2aeff7(0x374)])??_0x2aeff7(0x156),'strokeWidth':(_0x5e8363==null?void 0x0:_0x5e8363['width'])??0x0};}function _0x3cf9(){const _0x2397e2=['isFinite','_disposed','Reference','UniverSheetsChartUIPlugin','_clearSelectedTarget','domId','resourceCollector','update','visible','_getImage','OTHERS','intercept','sheet.command.chart.open-focused-panel','undo','getSheetBySheetId','OVERRIDE_NATIVE','WaterfallSeries','getUnit','sheets-chart-ui.common.copy','_chartHostProviderService','setObjectType','_listenChartUpdateMutations','forEach','drawingId','style','function','_dataUpdateAnimationDuration','Pie','_initPermission','type','startY','Axes','sheets-chart-element-float-menu','params','innerHeight','auto','setChartEditorOpen','engine','hasOwnProperty','setOrientation','naturalWidth','div','GROUP','_updateTransform','_initDrawingDeactivationListener','setImage','_openPanel','_getDrawable','redo','resolve','version','sheet.operation.hide-chart-panel','_deactivateDataUpdateAnimation','_registerChartImageRenderObjectFactory','route','concat','_adapterRegistry','sheets-chart-ui.config','_domFrame','baseOn','-univer-mx-4\x20univer-overflow-visible','_sheetCanvasPopManagerService','clientHeight','_getChartRenderSkipReason','canvas','_shouldEnableChartElementEdit','getRect','_registerComponents','_config','_initSheetChange','all','_requestedUrl','PenIcon','chartObject','BUTTON','ParetoBarSeries','entries','MEDIA','endX','_closePopup','toPrimitive','sheets-chart-ui.waterfall.positive','takeSnapshot','afterRender$','clearPanelRoute','funnel','next','sheets-chart-ui.common.insertChart','featurePluginUngroupUpdate$','Waterfall','defaultValues','getActiveSheet','getFocusDrawings','format','viewBound','initialRect','_initMenus','sheets-chart.ui.service','top-center','focus$','_createHost','Canvas','sheets-chart-ui.section.chord','_activateHostWrapper','getValue','552415EDLCPb','_pendingDataUpdateChartIds','addObject','position$','setContextValue','Legend','length','registerRenderObjectFactory','(prefers-reduced-motion:\x20reduce)','_addWatermark','assignStyle','_sheetsChartUIService','Radar','sheet-chart-style-panel','error','univer-flex\x20univer-flex-col\x20univer-gap-3','open','getChartSnapshotImage','_clearPendingUrlImage','chartType','_getFloatDomInfo','then','_getOrCreateSheetChartHost','bind','_panelInitialized','setHostStyle','univer-my-1\x20univer-text-xs\x20univer-text-red-500','endsWith','_popupChartId','_sheetDrawingHitTestService','_cancelHostWait','checkHost','Subtotal','_loadUrlImage','_clearChartRuntimeCache','_isChartElementEditEnabled','source','_restoreHostWrapper','constructor','attachPopupToDynamicAbsolutePosition','isLatest','COMMA','getSheetId','SVG','_version','some','evented','_pendingUrlImage','-univer-mx-4','bottom','blockExecuteWithoutPermission','transform','ancestorTransform','ChartAndAxisTitles','remove$','_resolveLayout','crossOrigin','sheets-chart-ui.section.paretoLine','get','href','_syncActiveEditChart','select','_sidebarService','object','2736845jyukAD','clientX','getChartSourceSpec','featurePluginOrderUpdate$','decorate','serialize','color','offsetHeight','_sheetClipboardService','sheets-chart-ui.common.verticalAxis','openChartPanelById','panelRoute$','set','trendline','getDrawingOrder','getRenderUnitById','Url','_requestPaint','unitId','segmented','2944676MApSYU','_chartRenderMode','width','removeHost$','sheets-chart-ui.common.switchRowColumn','_componentManager','ensureHandle','univer-shrink-0','isConnected','_subscribeChartEvents','Scatter','Heatmap','sheet.operation.open-chart-panel','sheets-chart-ui.common.deleteChart','subscribeEvent','executeChartUpdateConfig','_sheetsChartService','_generatePasteMutations','getDirection','visibilityState','_initCopyPaste','name','sheets-chart-ui.common.dataRange','clear','indexOf','has','chartModelRemoved$','_resolveChartRenderMode','_pendingMutationConfigRenders','_clearHiddenSelectedTarget','dataSource$','sheets-chart-ui.waterfall.negative','_openEditPanelByDoubleClick','_activateEditPanelState','_isProviderDisposed','sheets-chart-ui.section.radar','header','absolute','_rangeSelectMode','_chartHostMap','getContextValue','setDataRange','ENTER','invert','ensureMount','_rect','_renderManagerService','pipe','range','map','onDispose','matchMedia','63430brwuLL','getParent','number','animateDataUpdate','_waiter','icon','getMatrix','register','sheetDisposed$','sheets-chart-ui.common.chart','setElementEditMode','_prepareDataUpdateRender','stringify','Relation','.chart-host','missing-float-dom','getRenderModel','_savedWrapperStyle','renderTransition','_isOwnedChart','_chartChangeSubscriptions','Fail\x20to\x20create\x20float\x20dom','_managed','sheet.command.chart.delete-focused-chart','Trendline','getRenderColor','legend','_panelRoute$','getImage','_cancelDebouncedCallbacks','sheet.command.chart.export-focused-image','rangeSelectMode','getBoundingClientRect','requestPaint','_debounceHandle','interceptCommand','sheets-chart-ui.common.customize','_lastRenderInputMap','disposeWithMe','_disposeChartEventSubscription','onCommandExecuted','restore','sheets-chart-ui.section.waterfall','syncHostLayout','scene','removeHost','isArray','univer-overflow-hidden','onRendered','_createChartRenderInstanceContext','sheets-chart-ui.common.openChartPanel','_resetChartRuntimeZIndex','_alignFloatDomPositionWithSceneRender','activeSheet$','relation','_commandService','359378lVQzCc','sheets-chart-ui.section.sunburst','Overlay','_cacheActiveDomChartSnapshot','getCurrentTypeOfUnit$','startX','REMOVE','Gauge','target','series','sheets-chart-ui.section.gridlinesAndTicks','_registerAdapter','markUnmanaged','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','dispose','sheetChartDataAnimationDuration','createElement','_resolvedConfig','offsetLeft','globalAlpha','syncLayout','_scheduleDataUpdateAnimationEnd','defineProperty','ChartStyle','src','_sheetSkeletonService','_markReady','_chartEventHandlers','_urlImage','small','@univerjs-pro/sheets-chart-ui','Chord','direction$','getChartPopupMenus','sheet.command.chart.copy-focused-chart','Candlestick','setConfig','rightY','_chartElementEditMode','sheetChartDataAnimation','sidebarOptions$','_chartHostProvider','getSubUnitId','closePath','_disposeChartChangeListeners','bounds','idMap','_disposeImage','HorizontalAxis','rect','_menuManagerService','push','sheets-chart-ui.common.invalidDataRange','_generateCopyPasteMutations','radius','endY','registerFeatureMenu','rangeInfo$','allSettled','univer-overflow-visible','renderChartsForPrinting','sheets-chart-ui.common.series','url','transparent','_canAnimateDataUpdate','_clearSheetChartRuntimeCaches','trim','_frameStyle','Boxplot','sheets-chart-ui.chord.target','sheets-chart-ui.common.horizontalAxis','Sunburst','_deactivateEditPanelState','_themeService','clientY','_sheetPrintInterceptorService','chartModelId','section','_draw','Dom','_canvasFloatDomService','getOwnPropertyDescriptor','getBatchUpdateOp','_snapshotKey','matches','getFocusedUnit','UNIVER_SHEET','_markHostReady','#-#','_initPrinting','_renderService','_injector','createRuntimeChartStyle','_entries','removeChartModel','_initCommands','OPERATION','dom','zIndex','innerWidth','_requestChartCanvasRender','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','pieSecondaryPlotType','category','_image','download','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','isManaged','_chartThemeService','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','current','Column','_handleDrawingDoubleClick','_copyInfo','_chartSnapshotStoreService','rangeInfo','chartEditorOpen','WordCloud','checkChartCanRender','onTransformChange$','sourceSubUnitId','multiply','_renderChartModel','CUT','context','offsetTop','_renderWhenConfigReady','translate','Treemap','_initActiveChartModelListener','strokeWidth','_getOrCreateChartRenderInstance','chartRenderMode','_univerInstanceService','sheet.chart.edit.panel','filter','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setStyle','sheets-chart-ui.common.rightVerticalAxis','string','_createPrintingChartObject','_chartEditorOpen$','_sheetInterceptorService','_snapshotStore','_renderModelManager','getSkeleton','Data','DRAWING_CHART','clearImage','.png','_setHostStyle','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','onDoubleClick$','sheets-chart-ui.section.gauge','Row','_initActiveRuntimeLayerListener','copyId','getConfig','_contextService','_clearPanelState','iconName','sheets-chart-ui.common.exportImage','_activateDataUpdateAnimation','contains','_getHostPlacement','9204088tvZjEe','isHit','_drawingManagerService','_registerIcons','getFloatDomInfo','logicalOuterRect','items','mobile-sheet-chart-setup-panel','_restoreFloatDomPositionStream','sheets-chart-ui.common.setup','true','add','_dataUpdateAnimationChartIds','_sheetCanvasFloatDomManagerService','subscribe','Funnel','sheetId','_activeDomReadyChartIds','keys','click','sheets-chart-ui.common.editChart','titleKey','CHART','objects','_markNotReady','enableChartElementFloatMenu','_getSceneAndTransformerByDrawingSearch','height','_getCurrentSnapshotImage','_getChartRenderObject','Histogram','IndicatorLine','_bindChartEventHandlers','hidePanel','Image','render','DRAWING','pareto','sheets-chart-ui.waterfall.subtotal','_bindChartEventHandler','getElementById','missing-active-sheet','symbol','config$','transformChange$','sheets-chart-ui.common.legend','getBatchAddOp','nativeEvent','DEFAULT_PASTE','focusDrawing','executeCommand','setActiveChartModel','_getPlacement','COMMAND','close','VerticalAxis','showFloatMenu','pie','initPanel','getHostSize','chartId','complete','anonymous','querySelector','axis','naturalHeight','sheets-chart-ui.section.wordCloud','_disposeChartEventSubscriptions','PRINTING_COMPONENT_COLLECT','_applyHostInteractionState','dataset','arc','style$','startRow','getTransformerByCreate','opacity','fromEntries','supports','INSERT','Bar','sheets-chart-ui.section.histogram','groupId','max','_applyHostStyle','sheets-chart-ui.common.hideChartPanel','_configService','_createCopyInfoByRange','right','_url','mergeMenu','_focusedDrawings','markNotReady','getRangeInfo','interceptor','sheet.command.menu-insert-chart','iterator','offsetWidth','sheets-chart-ui.common.useAsCategoryLabels','add$','_pendingToken','getObjectIncludeInGroup','label','beforeCommandExecuted','DeleteIcon','sheets-chart-ui.section.paretoBar','setBorder','values','min','ParetoLineSeries','12bJQBml','updateFloatDom','onStarting','RightVerticalAxis','sheets-chart-ui.section.treemap','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_applyActiveChartRuntimeZIndex','_createImageChartHost','_drawChartImage','sheets-chart-ui.common.chartStyle','_chartEventSubscriptions','none','sheets-chart-ui.common.trendline','image','Pareto','getInterceptPoints','allSeriesStyle','top','GridlinesAndTicks','nextVersion','_shouldSuppressRender','Literals','invalidateSnapshot','activeChartModel','_activeChartId','_localeService','_sidebarDisposable','clearChart','_sheetPermissionCheckController','getObject','darkMode$','pluginName','getRuntimeContext','titles','_setChartRuntimeZIndex','7HwgqUm','save','_getOuterRect','parentElement','_chartUIService','seriesId','mountNode','isDomReady','getName','chartEditorOpen$','value','_lastActiveSheet','sheets-chart-ui.section.funnel','tab','resize','config','delete','_chartModelService','copyType','scroll','_getChartSnapshotKey','isRender','getBatchRemoveOp','scaleY','Series','activeRuntimeModel','getCanvasElement','setPanelRoute','sheet-chart-setup-panel','addClipboardHook','_generateCutPasteMutations','_chartInstanceMap','localPoint','_drawChartFrame','mode','applyPoint','left','dataUrl','_popupSessionKey','commitSnapshot','ensureHost','_resizeChart','ImageBitmap','markHostNotReady','_rerenderLatest','_renderDebounceMap','sheets-chart-ui.chartTypes.','CopyDoubleIcon','print','prototype','3195852imtNye','1000','SELECTOR','hit','UPDATE','chartModelAdded$','unsubscribe','packageName','updateFloatDomProps','_executeChartUpdateSourceConfig','activeChartModel$','children','Combination','onload','subUnitId','cancel','getDrawingData','_chartRenderService','_dataUpdateAnimationTimers','21TJYOGJ','rightYAxis','makeDirty','_removeHost$','dblclick','setRangeSelectMode','promise','abs','barStyle','getCurrentUnitOfType','Style','clip','split','call','dataSource','_disposeChartDomInstance','getDrawingByParam','checkMounted','createChartInstance','exportImage','isElementEditModeActive','scaleX','setDataUpdateAnimation','sheetTransform','_popupDisposable','getChartModel','ChartIcon','isInGroup','lineTo','data$','labelId','_init','_debounceHandleMap','isRowDirection','1575JKDMxR','drawingIds','context$','pointerEvents','_iconManager','border','sheets-chart-ui.section.candlestick','_pendingHost','registerCommand','beginPath','_disposeChartRenderInstance','Area','getRealBound','wordCloud','_sheetDrawingService','drawingType','getUnitId','_hostStyle'];_0x3cf9=function(){return _0x2397e2;};return _0x3cf9();}let li=class extends _0x7b52dc{constructor(_0x311083,_0x5542e1,_0x558d5a,_0x387afb){const _0x57f2f7=_0x58e4e4;super(),this['_sheetCanvasFloatDomManagerService']=_0x311083,this['_renderManagerService']=_0x5542e1,this[_0x57f2f7(0x189)]=_0x558d5a,this[_0x57f2f7(0x167)]=_0x387afb,W(this,_0x57f2f7(0x3a9),new Map()),W(this,'_activeDomReadyChartIds',new Set()),W(this,_0x57f2f7(0x294),new _0x456331()),W(this,_0x57f2f7(0x385),this['_removeHost$']['asObservable']()),this[_0x57f2f7(0x105)](this[_0x57f2f7(0x1c9)]['remove$']['subscribe'](_0x5bd0c1=>{const _0x56410f=_0x57f2f7;let _0x523ccd=this['_chartHostMap'][_0x56410f(0x368)](_0x5bd0c1['id']);_0x523ccd!=null&&_0x523ccd[_0x56410f(0x182)]()&&(_0x523ccd[_0x56410f(0x123)](),this[_0x56410f(0x294)][_0x56410f(0x31b)](_0x5bd0c1['id']));}));}['_getSceneAndTransformerByDrawingSearch'](_0x15a338){const _0x450317=_0x58e4e4;if(_0x15a338==null)return;let _0xeb2bd7=this[_0x450317(0x3b0)][_0x450317(0x37d)](_0x15a338),_0x529dbe=_0xeb2bd7==null?void 0x0:_0xeb2bd7[_0x450317(0x10b)];return _0xeb2bd7==null||_0x529dbe==null?null:{'scene':_0x529dbe,'transformer':_0x529dbe[_0x450317(0x206)](),'renderUnit':_0xeb2bd7,'canvas':_0xeb2bd7[_0x450317(0x2ea)][_0x450317(0x266)]()};}[_0x58e4e4(0x225)](_0x3f0320,_0x3044a4){const _0x1319fd=_0x58e4e4;let _0x101ab=this[_0x1319fd(0x1c9)],_0x538318=_0x3044a4||_0x1319fd(0x156),_0x2645cb=_0x101ab[_0x1319fd(0x1c0)](_0x3f0320);if(_0x2645cb){let {unitId:_0x2bd959,subUnitId:_0x5d54e8}=_0x2645cb;_0x101ab[_0x1319fd(0x286)](_0x2bd959,_0x5d54e8,_0x3f0320,{'stroke':_0x538318});}}['setHostStyle'](_0x5753cf,_0x22bcfc){const _0x8d6c=_0x58e4e4;let _0x533cf7=this['_sheetCanvasFloatDomManagerService'],_0x4f6439=_0x533cf7[_0x8d6c(0x1c0)](_0x5753cf);if(_0x4f6439){let {unitId:_0xad1710,subUnitId:_0x4d3a62}=_0x4f6439;_0x533cf7[_0x8d6c(0x286)](_0xad1710,_0x4d3a62,_0x5753cf,ci(_0x22bcfc));}}[_0x58e4e4(0x1f7)](_0x1b6979){const _0x42b451=_0x58e4e4;let _0x203c0d=this['_sheetCanvasFloatDomManagerService'][_0x42b451(0x1c0)](_0x1b6979);return _0x203c0d?_0x203c0d[_0x42b451(0x148)]:null;}['getHostClientRect'](_0x334811){const _0x55b748=_0x58e4e4;let _0x33c8e3=this['_sheetCanvasFloatDomManagerService'][_0x55b748(0x1c0)](_0x334811),_0x47887d=document['getElementById']((_0x33c8e3==null?void 0x0:_0x33c8e3['domId'])??_0x334811);return(_0x47887d==null?void 0x0:_0x47887d[_0x55b748(0xff)]())??null;}[_0x58e4e4(0x2a7)](_0x5f22eb,_0x2d6928){const _0x374033=_0x58e4e4;var _0x1b9bef;(_0x1b9bef=this[_0x374033(0x3a9)][_0x374033(0x368)](_0x5f22eb))==null||_0x1b9bef[_0x374033(0x2a7)](_0x2d6928);}[_0x58e4e4(0x34d)](_0x1049c0){const _0x1e78f1=_0x58e4e4;var _0x388484;return((_0x388484=this[_0x1e78f1(0x3a9)][_0x1e78f1(0x368)](_0x1049c0))==null?void 0x0:_0x388484[_0x1e78f1(0x2a2)]())??!0x1;}[_0x58e4e4(0x10a)](_0x25b9ab){const _0x3dda62=_0x58e4e4;var _0x598e58;(_0x598e58=this[_0x3dda62(0x3a9)][_0x3dda62(0x368)](_0x25b9ab))==null||_0x598e58[_0x3dda62(0x12b)]();}['removeHost'](_0x3c6e6d){const _0x9b1e78=_0x58e4e4;let _0x368f3d=this['_chartHostMap'][_0x9b1e78(0x368)](_0x3c6e6d);_0x368f3d==null||_0x368f3d[_0x9b1e78(0x125)](),this[_0x9b1e78(0x3a9)][_0x9b1e78(0x25c)](_0x3c6e6d);}async[_0x58e4e4(0x274)](_0x2337f4,_0x4901d2){const _0x1053af=_0x58e4e4;if(_0x4901d2===_0x3f6e51[_0x1053af(0x1de)])return this[_0x1053af(0x230)](_0x2337f4);if(_0x4901d2===_0x3f6e51[_0x1053af(0x166)])return this['_getOrCreateSheetChartHost'](_0x2337f4);let _0x4826c8=this[_0x1053af(0x344)](_0x2337f4);if(!_0x4826c8)throw Error(_0x1053af(0x3cb));return _0x4826c8[_0x1053af(0x388)]();}[_0x58e4e4(0x253)](_0x52bf5b){const _0x59fbe3=_0x58e4e4;var _0x2b86ba;return this['_activeDomReadyChartIds'][_0x59fbe3(0x39b)](_0x52bf5b)?(_0x2b86ba=this['_chartHostMap'][_0x59fbe3(0x368)](_0x52bf5b))!=null&&_0x2b86ba[_0x59fbe3(0x2a2)]()?!0x0:(this[_0x59fbe3(0x1cd)][_0x59fbe3(0x25c)](_0x52bf5b),this[_0x59fbe3(0x1c4)](_0x52bf5b),!0x1):!0x1;}[_0x58e4e4(0x277)](_0x49e822){const _0xc680ec=_0x58e4e4;this[_0xc680ec(0x1cd)][_0xc680ec(0x25c)](_0x49e822)&&(this['_restoreFloatDomPositionStream'](_0x49e822),this['_requestChartCanvasRender'](_0x49e822));}[_0x58e4e4(0x23f)](_0x3b0867){const _0xd2a430=_0x58e4e4;let _0x1490ac=this[_0xd2a430(0x260)](_0x3b0867);_0x1490ac&&this[_0xd2a430(0x189)]['nextVersion'](_0x1490ac);}[_0x58e4e4(0x230)](_0x4a52bc){const _0x4879e3=_0x58e4e4;let _0x411ffc=this[_0x4879e3(0x260)](_0x4a52bc);return!_0x411ffc||!this[_0x4879e3(0x1f7)](_0x4a52bc)?null:new ai(_0x4a52bc,()=>this[_0x4879e3(0x1f7)](_0x4a52bc),_0x5dee82=>this[_0x4879e3(0x347)](_0x4a52bc,_0x5dee82),_0x411ffc,this[_0x4879e3(0x189)],()=>this['_requestChartCanvasRender'](_0x4a52bc));}[_0x58e4e4(0x344)](_0x5bea9e){const _0x3c2ba2=_0x58e4e4;if(!this[_0x3c2ba2(0x1f7)](_0x5bea9e))return null;this[_0x3c2ba2(0x167)][_0x3c2ba2(0x22a)](_0x5bea9e,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x1a5873=this[_0x3c2ba2(0x3a9)][_0x3c2ba2(0x368)](_0x5bea9e);if(_0x1a5873)return _0x1a5873;let _0x1eaeaa=new ii(_0x5bea9e,()=>this['_sheetCanvasFloatDomManagerService'][_0x3c2ba2(0x1c0)](_0x5bea9e),()=>this['_getHostPlacement'](_0x5bea9e),_0x2148ee=>this[_0x3c2ba2(0x347)](_0x5bea9e,_0x2148ee),()=>this['_disposed'],()=>this[_0x3c2ba2(0x16e)](_0x5bea9e),()=>this[_0x3c2ba2(0x277)](_0x5bea9e));return this['_chartHostMap']['set'](_0x5bea9e,_0x1eaeaa),_0x1eaeaa;}[_0x58e4e4(0x16e)](_0x45b6ba){const _0x2b1516=_0x58e4e4;this[_0x2b1516(0x1cd)][_0x2b1516(0x39b)](_0x45b6ba)||(this[_0x2b1516(0x1cd)][_0x2b1516(0x1c7)](_0x45b6ba),this[_0x2b1516(0x113)](_0x45b6ba),this['_requestChartCanvasRender'](_0x45b6ba));}[_0x58e4e4(0x113)](_0x4d808e){const _0x1a775a=_0x58e4e4;var _0x5a0981;let _0x3195f8=this['_sheetCanvasFloatDomManagerService'][_0x1a775a(0x1c0)](_0x4d808e),_0x12d0a0=_0x3195f8?(_0x5a0981=this['_renderManagerService']['getRenderUnitById'](_0x3195f8['unitId']))==null?void 0x0:_0x5a0981[_0x1a775a(0x10b)]:null;if(!_0x3195f8||!_0x12d0a0)return;let _0xffaf7=_0x3f8f2e(_0x3195f8[_0x1a775a(0x331)]['pipe'](_0x315267(0x1)),_0x12d0a0[_0x1a775a(0x318)]['pipe'](_0x3fe11d(_0x3195f8[_0x1a775a(0x331)]),_0x587f1(([,_0x5f3aff])=>_0x5f3aff)))[_0x1a775a(0x3b1)](_0x23f42d(),_0x587f1(si));this['_canvasFloatDomService'][_0x1a775a(0x22a)](_0x4d808e,{'position$':_0xffaf7});}[_0x58e4e4(0x1c4)](_0xe4bb4c){const _0x2dc3db=_0x58e4e4;let _0x3759cc=this[_0x2dc3db(0x1c9)][_0x2dc3db(0x1c0)](_0xe4bb4c);_0x3759cc&&this['_canvasFloatDomService'][_0x2dc3db(0x22a)](_0xe4bb4c,{'position$':_0x3759cc[_0x2dc3db(0x331)]});}[_0x58e4e4(0x260)](_0x2e2e32){const _0x5e5086=_0x58e4e4;let _0x1dd1f7=this['_sheetCanvasFloatDomManagerService'][_0x5e5086(0x1c0)](_0x2e2e32);return _0x1dd1f7?{'unitId':_0x1dd1f7[_0x5e5086(0x380)],'subUnitId':_0x1dd1f7[_0x5e5086(0x28c)],'chartId':_0x2e2e32}:null;}[_0x58e4e4(0x17b)](_0x2860c8){const _0x9b85c8=_0x58e4e4;var _0xd4b0b,_0x1b108b,_0x5863b9;let _0x10a36a=this[_0x9b85c8(0x1c9)][_0x9b85c8(0x1c0)](_0x2860c8);if(!_0x10a36a)return;let _0x41b3d1=(_0xd4b0b=this[_0x9b85c8(0x3b0)][_0x9b85c8(0x37d)](_0x10a36a['unitId']))==null?void 0x0:_0xd4b0b[_0x9b85c8(0x10b)],_0x21d4fa=(_0x41b3d1==null||(_0x1b108b=_0x41b3d1['getObjectIncludeInGroup'])==null?void 0x0:_0x1b108b['call'](_0x41b3d1,_0x14acce({'unitId':_0x10a36a[_0x9b85c8(0x380)],'subUnitId':_0x10a36a[_0x9b85c8(0x28c)],'drawingId':_0x2860c8})))??(_0x41b3d1==null?void 0x0:_0x41b3d1['getObject'](_0x14acce({'unitId':_0x10a36a['unitId'],'subUnitId':_0x10a36a[_0x9b85c8(0x28c)],'drawingId':_0x2860c8})))??null;_0x21d4fa==null||(_0x5863b9=_0x21d4fa[_0x9b85c8(0x293)])==null||_0x5863b9['call'](_0x21d4fa,!0x0),_0x41b3d1==null||_0x41b3d1[_0x9b85c8(0x293)](!0x0);}[_0x58e4e4(0x1bb)](_0x4597d6){const _0x5d4f5d=_0x58e4e4;let _0x1123e7=this[_0x5d4f5d(0x1c9)][_0x5d4f5d(0x1c0)](_0x4597d6);if(!_0x1123e7)return null;let _0x3129ae=this[_0x5d4f5d(0x1d6)](_0x1123e7[_0x5d4f5d(0x380)]),_0x2723e0=_0x3129ae==null?void 0x0:_0x3129ae[_0x5d4f5d(0x10b)],_0x4eed6e=document[_0x5d4f5d(0x1e4)](_0x1123e7['domId']??_0x4597d6);return qr(_0x1123e7[_0x5d4f5d(0x148)],{'scaleX':(_0x2723e0==null?void 0x0:_0x2723e0[_0x5d4f5d(0x2a6)])??0x1,'scaleY':(_0x2723e0==null?void 0x0:_0x2723e0['scaleY'])??0x1},_0x4eed6e?{'left':_0x4eed6e[_0x5d4f5d(0x129)],'top':_0x4eed6e[_0x5d4f5d(0x194)]}:void 0x0);}[_0x58e4e4(0x125)](){const _0x18e31b=_0x58e4e4;this['_disposed']||(this[_0x18e31b(0x3a9)]['forEach'](_0x1edcc6=>_0x1edcc6[_0x18e31b(0x125)]()),this[_0x18e31b(0x3a9)]['clear'](),this['_activeDomReadyChartIds'][_0x18e31b(0x399)](),this[_0x18e31b(0x294)][_0x18e31b(0x1f9)](),super[_0x18e31b(0x125)]());}};li=q([K(0x0,_0x569e33(_0x351035)),K(0x1,_0x569e33(_0x11bbe7)),K(0x2,_0x569e33(ni)),K(0x3,_0x569e33(_0x7e60e8))],li);const ui=_0x2fa213('sheets-chart-ui.host.provider'),di=_0x3f6e51[_0x58e4e4(0x1de)];var fi=class extends _0xeb5e8c{constructor(_0x42e494,_0x253387){const _0x3d3465=_0x58e4e4;super(_0x42e494),this['_rect']=_0x253387,W(this,_0x3d3465(0x35a),0x0),W(this,_0x3d3465(0x17f),void 0x0),W(this,'style',{});}[_0x58e4e4(0x307)](){const _0x2e6409=_0x58e4e4;return this[_0x2e6409(0x3af)];}[_0x58e4e4(0x1a0)](_0x323a02){const _0x1bbb10=_0x58e4e4;this[_0x1bbb10(0x2dd)]=_0x323a02;}[_0x58e4e4(0x23c)](){const _0x51cac6=_0x58e4e4;return++this[_0x51cac6(0x35a)];}[_0x58e4e4(0x273)](_0x47e873,_0x44b208){const _0x4a7f38=_0x58e4e4;return _0x44b208===this[_0x4a7f38(0x35a)]?(G(this['_image']),this[_0x4a7f38(0x17f)]=_0x47e873,!0x0):(G(_0x47e873),!0x1);}[_0x58e4e4(0x100)](){}[_0x58e4e4(0x23f)](){const _0x500fcc=_0x58e4e4;this[_0x500fcc(0x35a)]+=0x1;}[_0x58e4e4(0x317)](){const _0x5a8e36=_0x58e4e4;let _0x403cec=this[_0x5a8e36(0x17f)];return this[_0x5a8e36(0x17f)]=void 0x0,_0x403cec;}['dispose'](){const _0x19a052=_0x58e4e4;G(this[_0x19a052(0x17f)]),this['_image']=void 0x0,super[_0x19a052(0x125)]();}};function pi(_0x5eb532,_0x4500ed,_0x4ef046){const _0x2d1fd9=_0x58e4e4;let _0x598d1f=_0x5eb532[_0x2d1fd9(0x249)](_0x4500ed),_0xf436e3={..._0x5eb532[_0x2d1fd9(0x2dd)],'runtime':{..._0x598d1f,'layoutInset':0x8,..._0x4ef046===void 0x0?{}:{'addWatermark':_0x4ef046}},'direction':_0x4500ed};return _0x56bf83(_0xf436e3,_0x5eb532[_0x2d1fd9(0x341)]);}let J=class extends _0x7b52dc{constructor(_0x1a5369,_0x190def,_0x29cd39,_0x1c6184,_0x392ddf,_0x338b07,_0x443890,_0x1fe97c,_0x514cae,_0x1bd2f1,_0x4f87a2,_0x36b37b,_0x357cc9){const _0x3f4202=_0x58e4e4;super(),this['_chartHostProvider']=_0x1a5369,this[_0x3f4202(0x1c9)]=_0x190def,this[_0x3f4202(0x25d)]=_0x29cd39,this[_0x3f4202(0x1be)]=_0x1c6184,this['_univerInstanceService']=_0x392ddf,this['_renderManagerService']=_0x338b07,this[_0x3f4202(0x242)]=_0x443890,this[_0x3f4202(0x172)]=_0x1fe97c,this[_0x3f4202(0x183)]=_0x514cae,this['_themeService']=_0x1bd2f1,this['_configService']=_0x4f87a2,this[_0x3f4202(0x189)]=_0x36b37b,this[_0x3f4202(0x1a7)]=_0x357cc9,W(this,'_chartInstanceMap',new Map()),W(this,_0x3f4202(0x132),new Map()),W(this,_0x3f4202(0x233),new Map()),W(this,_0x3f4202(0x13d),new Map()),W(this,_0x3f4202(0x279),new Map()),W(this,_0x3f4202(0x2b1),new Map()),W(this,_0x3f4202(0x3ca),new Map()),W(this,_0x3f4202(0x383),void 0x0),W(this,_0x3f4202(0x337),void 0x0),W(this,_0x3f4202(0x104),new Map()),W(this,_0x3f4202(0x1c8),new Set()),W(this,_0x3f4202(0x290),new Map()),W(this,_0x3f4202(0x241),null),W(this,_0x3f4202(0x257),null);let _0x1c7db8=_0x1fd812(this[_0x3f4202(0x172)]),_0x3a34a0=this['_configService'][_0x3f4202(0x1b4)](_0x2b0dc7);this[_0x3f4202(0x383)]=(_0x3a34a0==null?void 0x0:_0x3a34a0[_0x3f4202(0x19b)])??di,this[_0x3f4202(0x337)]=_0x1c7db8['length']!==0x1||_0x1c7db8[0x0]!=='all',this[_0x3f4202(0x2fa)](),this[_0x3f4202(0x198)](),this[_0x3f4202(0x2f1)](),this[_0x3f4202(0x1b2)](),this['handleActiveSubUnitChange']();}[_0x58e4e4(0x33f)](_0x23b484){const _0x247a82=_0x58e4e4;let _0x5a33b6=this[_0x247a82(0x260)](_0x23b484);return _0x5a33b6?this['_chartSnapshotStoreService'][_0x247a82(0x3d2)](_0x5a33b6):void 0x0;}[_0x58e4e4(0x39d)](_0x182b99){const _0xcb5b43=_0x58e4e4;var _0x551b1f;return((_0x551b1f=this[_0xcb5b43(0x25d)][_0xcb5b43(0x240)])==null?void 0x0:_0x551b1f['id'])===_0x182b99?_0x3f6e51[_0xcb5b43(0x166)]:this[_0xcb5b43(0x383)];}['_getChartSnapshotKey'](_0x51ecbc){const _0x267637=_0x58e4e4;let _0x1a08f0=this[_0x267637(0x1c9)][_0x267637(0x1c0)](_0x51ecbc);return _0x1a08f0?{'unitId':_0x1a08f0[_0x267637(0x380)],'subUnitId':_0x1a08f0[_0x267637(0x28c)],'chartId':_0x51ecbc}:null;}[_0x58e4e4(0x2fa)](){const _0x22fd34=_0x58e4e4;this[_0x22fd34(0x383)]===_0x3f6e51['Image']&&this[_0x22fd34(0x105)](this['_sheetCanvasFloatDomManagerService'][_0x22fd34(0x335)](_0x43df04['DRAWING_CHART'],({key:_0x4c7968,config:_0x19fc8f,unitId:_0x170de3,subUnitId:_0x2618e7,drawingId:_0x1017b1})=>new Qr(_0x4c7968,_0x19fc8f,()=>this[_0x22fd34(0x189)][_0x22fd34(0x3d2)]({'unitId':_0x170de3,'subUnitId':_0x2618e7,'chartId':_0x1017b1}),()=>this['_chartHostProvider'][_0x22fd34(0x253)](_0x1017b1))));}[_0x58e4e4(0x198)](){const _0x58b019=_0x58e4e4;this[_0x58b019(0x105)](this[_0x58b019(0x25d)]['activeChartModel$'][_0x58b019(0x1ca)](_0x19e4d7=>{const _0x349dde=_0x58b019;let _0x5b7b4a=(_0x19e4d7==null?void 0x0:_0x19e4d7['id'])??null,_0x1f1630=this['_activeChartId'];_0x1f1630!==_0x5b7b4a&&(_0x1f1630&&(this[_0x349dde(0x140)]['markHostNotReady'](_0x1f1630),this[_0x349dde(0x112)](_0x1f1630),this[_0x349dde(0x2a0)](_0x1f1630)),this[_0x349dde(0x241)]=_0x5b7b4a,_0x5b7b4a&&(this[_0x349dde(0x2f9)](_0x5b7b4a),this[_0x349dde(0x140)]['markHostNotReady'](_0x5b7b4a),this[_0x349dde(0x22f)](_0x5b7b4a),this[_0x349dde(0x278)](_0x5b7b4a)));}));}[_0x58e4e4(0x2f1)](){const _0xb1e8e9=_0x58e4e4;this['disposeWithMe'](this[_0xb1e8e9(0x1be)]['featurePluginGroupUpdate$']['subscribe'](_0x145e57=>{const _0x58acbc=_0xb1e8e9;var _0xf264ff;let _0x4c129e=(_0xf264ff=this[_0x58acbc(0x25d)]['activeChartModel'])==null?void 0x0:_0xf264ff['id'];_0x4c129e&&_0x145e57[_0x58acbc(0x35b)](_0x57d3fe=>_0x57d3fe[_0x58acbc(0x289)][_0x58acbc(0x35b)](_0x3d636b=>_0x3d636b['drawingId']===_0x4c129e))&&this[_0x58acbc(0x25d)][_0x58acbc(0x1ef)](null);})),this['disposeWithMe'](this[_0xb1e8e9(0x1be)][_0xb1e8e9(0x31d)][_0xb1e8e9(0x1ca)](_0x104498=>{const _0x139198=_0xb1e8e9;var _0x445379;let _0x1ef62c=(_0x445379=this[_0x139198(0x25d)][_0x139198(0x240)])==null?void 0x0:_0x445379['id'];_0x1ef62c&&_0x104498[_0x139198(0x35b)](_0x25b60d=>_0x25b60d['parent'][_0x139198(0x2dc)]===_0x1ef62c||_0x25b60d[_0x139198(0x289)]['some'](_0x2ed25a=>_0x2ed25a[_0x139198(0x2dc)]===_0x1ef62c))&&this[_0x139198(0x25d)]['setActiveChartModel'](null);}));}[_0x58e4e4(0x1b2)](){const _0x56047c=_0x58e4e4;this[_0x56047c(0x105)](this[_0x56047c(0x1be)][_0x56047c(0x371)][_0x56047c(0x1ca)](_0x3374bf=>{const _0x3165=_0x56047c;var _0x5d1f6e;let _0x2f96aa=(_0x5d1f6e=this[_0x3165(0x25d)][_0x3165(0x240)])==null?void 0x0:_0x5d1f6e['id'];if(!_0x2f96aa){_0x3374bf[_0x3165(0x2b4)][_0x3165(0x2db)](_0x506291=>{const _0xff7400=_0x3165;this[_0xff7400(0x25d)][_0xff7400(0x2aa)](_0x506291)&&this[_0xff7400(0x112)](_0x506291);});return;}let _0x2ac52a=this[_0x3165(0x1c9)][_0x3165(0x1c0)](_0x2f96aa);(_0x2ac52a==null?void 0x0:_0x2ac52a[_0x3165(0x380)])===_0x3374bf['unitId']&&_0x2ac52a['subUnitId']===_0x3374bf[_0x3165(0x28c)]&&this[_0x3165(0x22f)](_0x2f96aa);})),this[_0x56047c(0x105)](this['_drawingManagerService'][_0x56047c(0x21e)][_0x56047c(0x1ca)](_0x405132=>{const _0xadf0bf=_0x56047c;var _0x42b0d0;let _0x469fc8=(_0x42b0d0=this['_chartModelService'][_0xadf0bf(0x240)])==null?void 0x0:_0x42b0d0['id'];if(!_0x469fc8)return;let _0x29e7e4=this[_0xadf0bf(0x1c9)][_0xadf0bf(0x1c0)](_0x469fc8);_0x29e7e4&&_0x405132['some'](_0x2fd064=>_0x2fd064['unitId']===_0x29e7e4['unitId']&&_0x2fd064[_0xadf0bf(0x28c)]===_0x29e7e4[_0xadf0bf(0x28c)])&&this['_applyActiveChartRuntimeZIndex'](_0x469fc8);})),this['disposeWithMe'](this[_0x56047c(0x25d)][_0x56047c(0x39c)][_0x56047c(0x1ca)](_0x2018c5=>{const _0x46ed17=_0x56047c;var _0x582d0b;this[_0x46ed17(0x143)](_0x2018c5),this['_deactivateDataUpdateAnimation'](_0x2018c5),this[_0x46ed17(0x104)]['delete'](_0x2018c5),this['_chartSnapshotStoreService']['clearChart'](_0x2018c5),this['_clearChartRuntimeCache'](_0x2018c5),this['_chartHostProvider'][_0x46ed17(0x277)](_0x2018c5),((_0x582d0b=this['_chartModelService'][_0x46ed17(0x240)])==null?void 0x0:_0x582d0b['id'])===_0x2018c5?this[_0x46ed17(0x25d)][_0x46ed17(0x1ef)](null):this[_0x46ed17(0x112)](_0x2018c5),this[_0x46ed17(0x2bd)](_0x2018c5);}));}[_0x58e4e4(0x278)](_0x5c55c2){const _0x5f1d7c=_0x58e4e4;let _0x1fde5c=this[_0x5f1d7c(0x104)][_0x5f1d7c(0x368)](_0x5c55c2);_0x1fde5c&&this[_0x5f1d7c(0x1df)](_0x5c55c2,_0x1fde5c[_0x5f1d7c(0x25b)],_0x1fde5c['style']);}[_0x58e4e4(0x2a0)](_0x4de041){const _0x3b7efc=_0x58e4e4;let _0x4ed3c3=this[_0x3b7efc(0x26b)][_0x3b7efc(0x368)](_0x4de041);(_0x4ed3c3==null?void 0x0:_0x4ed3c3[_0x3b7efc(0x26e)])===_0x3b7efc(0x178)&&(this[_0x3b7efc(0x1ff)](_0x4de041),_0x4ed3c3['dispose'](),this[_0x3b7efc(0x26b)]['delete'](_0x4de041)),this[_0x3b7efc(0x140)][_0x3b7efc(0x277)](_0x4de041),this[_0x3b7efc(0x140)][_0x3b7efc(0x10c)](_0x4de041);}[_0x58e4e4(0x2bd)](_0x2d1e69){const _0x5b12b2=_0x58e4e4;let _0x2dff96=this[_0x5b12b2(0x26b)]['get'](_0x2d1e69);_0x2dff96&&(this[_0x5b12b2(0x1ff)](_0x2d1e69),_0x2dff96[_0x5b12b2(0x125)](),this[_0x5b12b2(0x26b)][_0x5b12b2(0x25c)](_0x2d1e69)),this[_0x5b12b2(0x140)][_0x5b12b2(0x277)](_0x2d1e69),this[_0x5b12b2(0x140)][_0x5b12b2(0x10c)](_0x2d1e69);}[_0x58e4e4(0x350)](_0x34fd28){const _0xb34bcc=_0x58e4e4;var _0x3feefa,_0x3697bf;(_0x3feefa=this['_renderModelManager'][_0xb34bcc(0x3c6)](_0x1a63a8))==null||(_0x3697bf=_0x3feefa['clearRuntimeCache'])==null||_0x3697bf['call'](_0x3feefa,_0x34fd28);}['_clearSheetChartRuntimeCaches'](_0x5e2b3c,_0x223fe8){const _0x167f39=_0x58e4e4;let _0xfffa1e=this[_0x167f39(0x1be)][_0x167f39(0x28e)](_0x5e2b3c,_0x223fe8);Object[_0x167f39(0x226)](_0xfffa1e??{})[_0x167f39(0x2db)](_0x4a82ac=>{const _0x4b10fc=_0x167f39;_0x4a82ac[_0x4b10fc(0x2c2)]===_0x43df04[_0x4b10fc(0x1aa)]&&this[_0x4b10fc(0x350)](_0x4a82ac[_0x4b10fc(0x2dc)]);});}['_getChartRenderObject'](_0x213838,_0x921d77){const _0x18c5b7=_0x58e4e4;var _0x3c209c;return((_0x3c209c=_0x213838[_0x18c5b7(0x220)])==null?void 0x0:_0x3c209c['call'](_0x213838,_0x921d77))??_0x213838[_0x18c5b7(0x246)](_0x921d77)??null;}['_getChartRenderObjectContext'](_0x30beb9){const _0x41f6e0=_0x58e4e4;var _0x3ff69e;let _0x4ca008=this['_sheetCanvasFloatDomManagerService'][_0x41f6e0(0x1c0)](_0x30beb9);if(!_0x4ca008)return null;let _0x2caf69=(_0x3ff69e=this[_0x41f6e0(0x3b0)][_0x41f6e0(0x37d)](_0x4ca008[_0x41f6e0(0x380)]))==null?void 0x0:_0x3ff69e[_0x41f6e0(0x10b)];if(!_0x2caf69)return null;let _0x435ed6=this[_0x41f6e0(0x1d9)](_0x2caf69,_0x14acce({'unitId':_0x4ca008[_0x41f6e0(0x380)],'subUnitId':_0x4ca008[_0x41f6e0(0x28c)],'drawingId':_0x30beb9}));return _0x435ed6?{'info':_0x4ca008,'scene':_0x2caf69,'chartObject':_0x435ed6}:null;}['_setChartRuntimeZIndex'](_0x109a7a,_0x256509){const _0x5f3c60=_0x58e4e4;var _0x1a5f98,_0x15b948,_0x1af30c,_0x27989;let _0x4d95aa=this['_getChartRenderObjectContext'](_0x109a7a);_0x4d95aa&&((_0x1a5f98=(_0x15b948=_0x4d95aa[_0x5f3c60(0x30e)])['setProps'])==null||_0x1a5f98[_0x5f3c60(0x29e)](_0x15b948,{'zIndex':_0x256509}),(_0x1af30c=(_0x27989=_0x4d95aa[_0x5f3c60(0x30e)])[_0x5f3c60(0x293)])==null||_0x1af30c[_0x5f3c60(0x29e)](_0x27989,!0x0),_0x4d95aa['scene'][_0x5f3c60(0x293)](!0x0));}[_0x58e4e4(0x22f)](_0x4a3a15){const _0x58b2af=_0x58e4e4;let _0x820fc9=this[_0x58b2af(0x1c9)][_0x58b2af(0x1c0)](_0x4a3a15);if(!_0x820fc9)return;let _0x2c707f=this[_0x58b2af(0x1be)]['getDrawingOrder'](_0x820fc9['unitId'],_0x820fc9[_0x58b2af(0x28c)]);this[_0x58b2af(0x24b)](_0x4a3a15,_0x2c707f[_0x58b2af(0x334)]);}['_resetChartRuntimeZIndex'](_0x2c625a){const _0x4df2bd=_0x58e4e4;let _0x1cff88=this[_0x4df2bd(0x1c9)][_0x4df2bd(0x1c0)](_0x2c625a);if(!_0x1cff88)return;let _0x17d944=this['_drawingManagerService'][_0x4df2bd(0x37c)](_0x1cff88[_0x4df2bd(0x380)],_0x1cff88[_0x4df2bd(0x28c)]),_0x4c8b52=_0x17d944[_0x4df2bd(0x39a)](_0x2c625a);this['_setChartRuntimeZIndex'](_0x2c625a,_0x4c8b52===-0x1?Math[_0x4df2bd(0x20e)](_0x17d944[_0x4df2bd(0x334)]-0x1,0x0):_0x4c8b52);}[_0x58e4e4(0x275)](_0x1b1273,_0x43e037){const _0x4f879d=_0x58e4e4;let _0x9e3340=this[_0x4f879d(0x1c9)]['getFloatDomInfo'](_0x1b1273);if(_0x43e037[_0x4f879d(0x384)]!==void 0x0&&_0x43e037[_0x4f879d(0x1d7)]!==void 0x0&&_0x9e3340){var _0x4f2c8c;let {subUnitId:_0x170cfd}=_0x9e3340,_0x28f1f0=(_0x4f2c8c=this[_0x4f879d(0x19c)]['getCurrentUnitOfType'](_0xaf509f[_0x4f879d(0x16d)]))==null?void 0x0:_0x4f2c8c['getActiveSheet']();if((_0x28f1f0==null?void 0x0:_0x28f1f0[_0x4f879d(0x358)]())===_0x170cfd){let {width:_0x14008c,height:_0x593a9d}=_0x43e037,_0x36c9bb=this[_0x4f879d(0x25d)][_0x4f879d(0x2aa)](_0x1b1273),_0x438bba=_0x36c9bb==null?void 0x0:_0x36c9bb[_0x4f879d(0x2dd)];if(Math[_0x4f879d(0x298)](_0x14008c-((_0x438bba==null?void 0x0:_0x438bba[_0x4f879d(0x384)])||0x0))>0x1||Math[_0x4f879d(0x298)](_0x593a9d-((_0x438bba==null?void 0x0:_0x438bba[_0x4f879d(0x1d7)])||0x0))>0x1){_0x36c9bb==null||_0x36c9bb[_0x4f879d(0x338)]({..._0x438bba,'width':_0x14008c,'height':_0x593a9d});let _0x57c226=this[_0x4f879d(0x26b)][_0x4f879d(0x368)](_0x1b1273);_0x57c226&&(this[_0x4f879d(0x140)]['syncHostLayout'](_0x1b1273),_0x57c226[_0x4f879d(0x25a)]());}}}}[_0x58e4e4(0x101)](_0x5b8844,_0x3e86c7,_0x4a6d00=0x0){const _0x3d5540=_0x58e4e4;let _0x231247=this[_0x3d5540(0x2b1)][_0x3d5540(0x368)](_0x5b8844);_0x231247||(_0x231247=_0x1569e2(_0x17c866=>{const _0x3284be=_0x3d5540;this[_0x3284be(0x275)](_0x5b8844,_0x17c866);},_0x4a6d00),this[_0x3d5540(0x2b1)]['set'](_0x5b8844,_0x231247)),_0x231247(_0x3e86c7);}['handleActiveSubUnitChange'](){const _0xe7b64c=_0x58e4e4;let _0x28c48b=this['_renderDebounceMap'],_0x17dfa8=_0x24ec75=>{const _0x330edd=_0x29f5;if(!_0x28c48b['has'](_0x24ec75)){let _0x3272f7=_0x1569e2((_0x57bd86,_0x47da91,_0x1f1d39,_0x5e605c)=>{const _0x45404c=_0x29f5;var _0x188652,_0x219041;if(!_0x1f1d39)return;(_0x188652=_0x1f1d39[_0x45404c(0x17e)])==null||_0x188652[_0x45404c(0x1c2)][_0x45404c(0x2db)]((_0x4cae86,_0x591d26)=>{const _0x1c0275=_0x45404c;_0x4cae86[_0x1c0275(0x221)]||=this[_0x1c0275(0x242)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x591d26+0x1);}),_0x1f1d39[_0x45404c(0x120)][_0x45404c(0x2db)]((_0x11bb9a,_0x27d303)=>{const _0x5b8ceb=_0x45404c;_0x11bb9a[_0x5b8ceb(0x397)]||=this[_0x5b8ceb(0x242)]['t'](_0x5b8ceb(0x15c))+'\x20'+(_0x27d303+0x1);});let _0x4bc805=this['createRuntimeChartStyle'](_0x57bd86,_0x5e605c),_0xf2ed9f=(_0x219041=this['_univerInstanceService'][_0x45404c(0x29a)](_0xaf509f['UNIVER_SHEET']))==null?void 0x0:_0x219041['getActiveSheet']();(_0xf2ed9f==null?void 0x0:_0xf2ed9f['getSheetId']())===_0x47da91&&this[_0x45404c(0x1df)](_0x57bd86['id'],_0x1f1d39,_0x4bc805);},0x11);_0x28c48b['set'](_0x24ec75,_0x3272f7);}return _0x28c48b[_0x330edd(0x368)](_0x24ec75);};this['disposeWithMe'](this[_0xe7b64c(0x19c)]['focused$']['subscribe'](_0x560c84=>{const _0x217066=_0xe7b64c;let _0x2ed6b6=this['_univerInstanceService']['getCurrentUnitOfType'](_0xaf509f[_0x217066(0x16d)]);if(_0x560c84&&_0x2ed6b6&&_0x2ed6b6[_0x217066(0x2c3)]()===_0x560c84){var _0x525e76;let _0x36ed1b=_0x2ed6b6[_0x217066(0x320)]()[_0x217066(0x358)]();this['_lastActiveSheet']&&(this[_0x217066(0x257)][_0x217066(0x380)]!==_0x560c84||this[_0x217066(0x257)]['subUnitId']!==_0x36ed1b)&&this[_0x217066(0x158)](this[_0x217066(0x257)][_0x217066(0x380)],this['_lastActiveSheet'][_0x217066(0x28c)]),this[_0x217066(0x257)]={'unitId':_0x560c84,'subUnitId':_0x36ed1b};let _0x14eb17=this[_0x217066(0x1be)]['getDrawingData'](_0x560c84,_0x36ed1b);if(!((_0x525e76=this[_0x217066(0x3b0)][_0x217066(0x37d)](_0x560c84))!=null&&_0x525e76['with'](_0x4bbaee)[_0x217066(0x1a8)](_0x36ed1b)))return;if(_0x14eb17)for(let _0x23d652 in _0x14eb17){let {drawingId:_0x505c47}=_0x14eb17[_0x23d652],_0x39b7b6=this[_0x217066(0x25d)][_0x217066(0x2aa)](_0x505c47);_0x39b7b6&&_0x17dfa8(_0x39b7b6['id'])(_0x39b7b6,_0x36ed1b,_0x39b7b6[_0x217066(0x25b)],this[_0x217066(0x242)]['getDirection']());}}})),this[_0xe7b64c(0x105)](this[_0xe7b64c(0x160)][_0xe7b64c(0x247)][_0xe7b64c(0x1ca)](()=>{const _0x1dc4b2=_0xe7b64c;var _0x4b64b1;let _0x1808e2=this[_0x1dc4b2(0x19c)][_0x1dc4b2(0x29a)](_0xaf509f['UNIVER_SHEET']);if(!_0x1808e2)return;let _0x559d7d=_0x1808e2[_0x1dc4b2(0x2c3)](),_0x20abae=_0x1808e2['getActiveSheet']()[_0x1dc4b2(0x358)](),_0x17dfef=this[_0x1dc4b2(0x1be)][_0x1dc4b2(0x28e)](_0x559d7d,_0x20abae);if((_0x4b64b1=this[_0x1dc4b2(0x3b0)][_0x1dc4b2(0x37d)](_0x559d7d))!=null&&_0x4b64b1['with'](_0x4bbaee)[_0x1dc4b2(0x1a8)](_0x20abae)&&_0x17dfef)for(let _0x18cf1c in _0x17dfef){let {drawingId:_0x478a84}=_0x17dfef[_0x18cf1c],_0x4ea202=this[_0x1dc4b2(0x25d)][_0x1dc4b2(0x2aa)](_0x478a84);_0x4ea202&&_0x17dfa8(_0x4ea202['id'])(_0x4ea202,_0x20abae,_0x4ea202[_0x1dc4b2(0x25b)],this[_0x1dc4b2(0x242)]['getDirection']());}})),this[_0xe7b64c(0x105)](this[_0xe7b64c(0x1be)]['add$'][_0xe7b64c(0x1ca)](_0x2383ba=>{const _0x14167b=_0xe7b64c;_0x2383ba[_0x14167b(0x2db)](_0x308fdf=>{const _0x98fb98=_0x14167b;var _0x5a972e;let {drawingId:_0x2eae85,unitId:_0x26e5c4,subUnitId:_0x3b163b}=_0x308fdf,_0x53f1b4=this['_renderManagerService'][_0x98fb98(0x37d)](_0x26e5c4);if((_0x53f1b4==null?void 0x0:_0x53f1b4[_0x98fb98(0x2e2)])!==_0xaf509f[_0x98fb98(0x16d)]||!_0x53f1b4['with'](_0x4bbaee)[_0x98fb98(0x1a8)](_0x3b163b))return;let {drawingType:_0x493f54}=this[_0x98fb98(0x1be)][_0x98fb98(0x2a1)](_0x308fdf);if(_0x493f54!==_0x43df04[_0x98fb98(0x1aa)])return;let _0x25d440=this[_0x98fb98(0x1c9)][_0x98fb98(0x1c0)](_0x2eae85);this[_0x98fb98(0x143)](_0x2eae85);let _0x1e9d89=new _0x7b52dc();this[_0x98fb98(0x3ca)][_0x98fb98(0x37a)](_0x2eae85,_0x1e9d89);let _0x176c5e=(_0x25d440==null?void 0x0:_0x25d440[_0x98fb98(0x2ca)])??_0x2eae85,_0x2cebf7=_0x25d440==null?void 0x0:_0x25d440['rect'],_0x3aff63=(_0x5a972e=this[_0x98fb98(0x3b0)][_0x98fb98(0x37d)](_0x26e5c4))==null?void 0x0:_0x5a972e[_0x98fb98(0x10b)];_0x2cebf7&&_0x1e9d89[_0x98fb98(0x105)](_0x2cebf7[_0x98fb98(0x18e)][_0x98fb98(0x390)](_0x4eaace=>{const _0x4f2dc3=_0x98fb98;let {type:_0x5f33e9,value:_0x4b596c}=_0x4eaace;if(_0xda7662[_0x4f2dc3(0x25a)]===_0x5f33e9||_0xda7662[_0x4f2dc3(0x30b)]===_0x5f33e9){let {width:_0x5f4133,height:_0x2c3a22}=_0x4b596c;this[_0x4f2dc3(0x101)](_0x2eae85,{'width':_0x5f4133,'height':_0x2c3a22},0x64);}})),_0x3aff63&&_0x1e9d89[_0x98fb98(0x105)](_0x3aff63[_0x98fb98(0x18e)][_0x98fb98(0x390)](_0x5ca415=>{const _0x495478=_0x98fb98;var _0x10d0c9;_0x5ca415[_0x495478(0x2e2)]===_0xda7662['scale']&&(_0x10d0c9=document[_0x495478(0x1e4)](_0x176c5e))!=null&&_0x10d0c9[_0x495478(0x1fb)](_0x495478(0x3c4))&&this[_0x495478(0x140)][_0x495478(0x10a)](_0x2eae85);}));let _0x4ad535=this['_chartModelService'][_0x98fb98(0x2aa)](_0x2eae85);_0x4ad535&&_0x1e9d89[_0x98fb98(0x105)](_0x485af5([_0x4ad535[_0x98fb98(0x1e7)],_0x4ad535[_0x98fb98(0x204)],this[_0x98fb98(0x242)]['direction$']])[_0x98fb98(0x1ca)](([_0x14f000,_0xb6bc77,_0x3302a2])=>{_0x17dfa8(_0x4ad535['id'])(_0x4ad535,_0x3b163b,_0x14f000,_0x3302a2);}));});})),this[_0xe7b64c(0x105)](_0x485af5([this[_0xe7b64c(0x1be)][_0xe7b64c(0x364)]])[_0xe7b64c(0x1ca)](([_0x5515e6])=>{const _0x25043d=_0xe7b64c;_0x5515e6[_0x25043d(0x2db)](_0x123bd5=>{const _0x479523=_0x25043d;var _0x24816d;let {drawingId:_0x45f5ff}=_0x123bd5;this[_0x479523(0x143)](_0x45f5ff),((_0x24816d=this[_0x479523(0x25d)][_0x479523(0x240)])==null?void 0x0:_0x24816d['id'])===_0x45f5ff&&this[_0x479523(0x25d)][_0x479523(0x1ef)](null),this[_0x479523(0x1ff)](_0x45f5ff),this[_0x479523(0x132)][_0x479523(0x25c)](_0x45f5ff),this[_0x479523(0x140)][_0x479523(0x277)](_0x45f5ff),this[_0x479523(0x112)](_0x45f5ff),this[_0x479523(0x2bd)](_0x45f5ff),this[_0x479523(0x189)][_0x479523(0x244)](_0x45f5ff),this[_0x479523(0x350)](_0x45f5ff),this[_0x479523(0x104)][_0x479523(0x25c)](_0x45f5ff),this[_0x479523(0x13d)][_0x479523(0x25c)](_0x45f5ff);});}));}[_0x58e4e4(0x3c0)](_0x3722e8,_0x5e33c1){const _0x56786c=_0x58e4e4;var _0x5afd27;_0x5e33c1?this[_0x56786c(0x13d)]['set'](_0x3722e8,!0x0):this[_0x56786c(0x13d)][_0x56786c(0x25c)](_0x3722e8),(_0x5afd27=this[_0x56786c(0x26b)][_0x56786c(0x368)](_0x3722e8))==null||_0x5afd27[_0x56786c(0x3c0)](_0x5e33c1);}async['exportImage'](_0x4d88e1,_0x2c8f03){const _0x2fa065=_0x58e4e4;var _0x12346b;let _0xc11fc4=this[_0x2fa065(0x104)][_0x2fa065(0x368)](_0x4d88e1),_0x55655d=(_0x12346b=this[_0x2fa065(0x1c9)][_0x2fa065(0x1c0)](_0x4d88e1))==null?void 0x0:_0x12346b['rect'];if(_0xc11fc4&&_0x55655d)return(await this[_0x2fa065(0x1a7)][_0x2fa065(0x2a4)]({'chartId':_0x4d88e1,'config':_0xc11fc4[_0x2fa065(0x25b)],'style':_0xc11fc4[_0x2fa065(0x2dd)],'width':_0x55655d[_0x2fa065(0x384)],'height':_0x55655d[_0x2fa065(0x1d7)]},_0x2c8f03))[_0x2fa065(0x271)];if((_0x2c8f03==null?void 0x0:_0x2c8f03[_0x2fa065(0x322)])===_0x3f3eb8[_0x2fa065(0x359)])return;let _0x52fc83=this['_getCurrentSnapshotImage'](_0x4d88e1);return _0x52fc83?_0x25ae08(_0x52fc83):void 0x0;}['on'](_0x18ee4b,_0xddafc1,_0x3eaace){const _0x353875=_0x58e4e4;let _0x4c2945=this[_0x353875(0x132)][_0x353875(0x368)](_0x18ee4b);_0x4c2945||(_0x4c2945=new Map(),this[_0x353875(0x132)][_0x353875(0x37a)](_0x18ee4b,_0x4c2945));let _0xe80137=_0x4c2945[_0x353875(0x368)](_0xddafc1);_0xe80137||(_0xe80137=new Set(),_0x4c2945[_0x353875(0x37a)](_0xddafc1,_0xe80137)),_0xe80137[_0x353875(0x1c7)](_0x3eaace);let _0x2758dc=this[_0x353875(0x26b)][_0x353875(0x368)](_0x18ee4b);return _0x2758dc&&this['_bindChartEventHandler'](_0x18ee4b,_0x2758dc,_0xddafc1,_0x3eaace),{'dispose':()=>{const _0x6efcd7=_0x353875;var _0x4cff5b;(_0x4cff5b=this[_0x6efcd7(0x132)][_0x6efcd7(0x368)](_0x18ee4b))==null||(_0x4cff5b=_0x4cff5b[_0x6efcd7(0x368)](_0xddafc1))==null||_0x4cff5b[_0x6efcd7(0x25c)](_0x3eaace),this[_0x6efcd7(0x106)](_0x18ee4b,_0xddafc1,_0x3eaace);}};}[_0x58e4e4(0x1d8)](_0x3e2465){const _0x30c257=_0x58e4e4;let _0x22488a=this[_0x30c257(0x19c)]['getCurrentUnitOfType'](_0xaf509f['UNIVER_SHEET']),_0x5284f5=_0x22488a==null?void 0x0:_0x22488a[_0x30c257(0x320)](),_0x143513=_0x22488a==null?void 0x0:_0x22488a[_0x30c257(0x2c3)](),_0x3fd6a4=_0x5284f5==null?void 0x0:_0x5284f5['getSheetId']();if(_0x143513&&_0x3fd6a4)return this[_0x30c257(0x189)][_0x30c257(0x3d2)]({'unitId':_0x143513,'subUnitId':_0x3fd6a4,'chartId':_0x3e2465});}[_0x58e4e4(0x1dc)](_0x68840a,_0x129819){const _0x1de20d=_0x58e4e4;let _0xa21eff=this[_0x1de20d(0x132)][_0x1de20d(0x368)](_0x68840a);_0xa21eff&&_0xa21eff[_0x1de20d(0x2db)]((_0xe55d81,_0x6ff48b)=>{_0xe55d81['forEach'](_0x49bae4=>this['_bindChartEventHandler'](_0x68840a,_0x129819,_0x6ff48b,_0x49bae4));});}[_0x58e4e4(0x1e3)](_0x580116,_0x552173,_0x401d1d,_0x57f213){const _0x3687a1=_0x58e4e4;let _0xa7c291=this[_0x3687a1(0x233)][_0x3687a1(0x368)](_0x580116);_0xa7c291||(_0xa7c291=new Map(),this['_chartEventSubscriptions'][_0x3687a1(0x37a)](_0x580116,_0xa7c291));let _0x4fb655=_0xa7c291['get'](_0x401d1d);_0x4fb655||(_0x4fb655=new Map(),_0xa7c291['set'](_0x401d1d,_0x4fb655)),!_0x4fb655[_0x3687a1(0x39b)](_0x57f213)&&_0x4fb655[_0x3687a1(0x37a)](_0x57f213,_0x552173['on'](_0x401d1d,_0x57f213));}[_0x58e4e4(0x106)](_0x47f4f5,_0x2b9195,_0x42bc36){const _0x4a3d03=_0x58e4e4;var _0x29c712,_0x27b81;let _0x1afd82=(_0x29c712=this[_0x4a3d03(0x233)]['get'](_0x47f4f5))==null?void 0x0:_0x29c712[_0x4a3d03(0x368)](_0x2b9195);_0x1afd82==null||(_0x27b81=_0x1afd82[_0x4a3d03(0x368)](_0x42bc36))==null||_0x27b81[_0x4a3d03(0x125)](),_0x1afd82==null||_0x1afd82[_0x4a3d03(0x25c)](_0x42bc36);}[_0x58e4e4(0x1ff)](_0x393598){const _0x2e1c20=_0x58e4e4;let _0x506951=this[_0x2e1c20(0x233)][_0x2e1c20(0x368)](_0x393598);_0x506951==null||_0x506951['forEach'](_0x552cfb=>{_0x552cfb['forEach'](_0x6f465=>_0x6f465['dispose']()),_0x552cfb['clear']();}),this[_0x2e1c20(0x233)][_0x2e1c20(0x25c)](_0x393598);}['createRuntimeChartStyle'](_0x5bbbb5,_0x300d67){const _0x12812a=_0x58e4e4;return pi(_0x5bbbb5,_0x300d67,this[_0x12812a(0x337)]);}[_0x58e4e4(0x18d)](_0x380c6d){const _0x6c331d=_0x58e4e4;return this[_0x6c331d(0x304)](_0x380c6d)==null;}[_0x58e4e4(0x304)](_0x4a1ff3){const _0x96a117=_0x58e4e4;var _0x1c2901;let _0x1064dc=this['_sheetCanvasFloatDomManagerService'][_0x96a117(0x1c0)](_0x4a1ff3);if(!_0x1064dc)return _0x96a117(0x3c5);let {subUnitId:_0x28ff2b}=_0x1064dc,_0x1a6b5a=(_0x1c2901=this['_univerInstanceService'][_0x96a117(0x29a)](_0xaf509f['UNIVER_SHEET']))==null?void 0x0:_0x1c2901['getActiveSheet']();if(!_0x1a6b5a)return _0x96a117(0x1e5);if(_0x1a6b5a[_0x96a117(0x358)]()!==_0x28ff2b)return'inactive-sheet';}async[_0x58e4e4(0x1df)](_0x131ebf,_0x3b4618,_0x5b0285,_0x4f699a={}){const _0x470b2a=_0x58e4e4;let _0x1e469a=this['_renderModelManager'][_0x470b2a(0x3c6)](_0x1a63a8);if(!_0x1e469a)return;let _0x52b318=this[_0x470b2a(0x104)][_0x470b2a(0x368)](_0x131ebf);if(this[_0x470b2a(0x104)][_0x470b2a(0x37a)](_0x131ebf,{'config':_0x3b4618,'style':_0x5b0285}),this[_0x470b2a(0x304)](_0x131ebf))return;let {canAnimate:_0x52f502,renderMode:_0x5b1b57,shouldStartTransientAnimation:_0x52f72c,transientAnimationActive:_0x40f7ad}=this['_prepareDataUpdateRender'](_0x131ebf,_0x52b318!=null,_0x4f699a[_0x470b2a(0x3b9)]===!0x0);if(_0x5b1b57===_0x3f6e51['Image'])this['_disposeChartDomInstance'](_0x131ebf);else{var _0x924cfd;this[_0x470b2a(0x140)][_0x470b2a(0x23f)](_0x131ebf),((_0x924cfd=this[_0x470b2a(0x25d)][_0x470b2a(0x240)])==null?void 0x0:_0x924cfd['id'])===_0x131ebf&&this[_0x470b2a(0x22f)](_0x131ebf);}let _0x2ebae5=_0x5b1b57===_0x3f6e51[_0x470b2a(0x1de)]?_0x3f6e51[_0x470b2a(0x1de)]:_0x3f6e51[_0x470b2a(0x166)],_0x49cf16=await this[_0x470b2a(0x140)][_0x470b2a(0x274)](_0x131ebf,_0x2ebae5);if(!_0x49cf16){_0x52f72c&&this['_deactivateDataUpdateAnimation'](_0x131ebf);return;}this[_0x470b2a(0x140)][_0x470b2a(0x2a7)](_0x131ebf,_0x40f7ad?_0x4c1e3b:null);let _0x4c1e=this['_getOrCreateChartRenderInstance'](_0x131ebf,_0x2ebae5,_0x1e469a);_0x4c1e[_0x470b2a(0x345)](_0x49cf16);try{let _0x388548={'chartId':_0x131ebf,'config':_0x3b4618,'style':_0x5b0285};_0x52f502&&_0x52b318&&_0x4c1e[_0x470b2a(0x3c8)]?await _0x4c1e[_0x470b2a(0x3c8)]({'chartId':_0x131ebf,'config':_0x52b318['config'],'style':_0x52b318[_0x470b2a(0x2dd)]},_0x388548,{'duration':_0x4c1e3b}):await _0x4c1e['render'](_0x388548),await this[_0x470b2a(0x11a)](_0x131ebf,_0x5b1b57,_0x4c1e),_0x52f502&&_0x40f7ad&&this[_0x470b2a(0x12c)](_0x131ebf);}catch(_0x234644){if(_0x52f72c&&this['_deactivateDataUpdateAnimation'](_0x131ebf),_0x5b1b57!==_0x3f6e51[_0x470b2a(0x1de)])throw _0x234644;}}async[_0x58e4e4(0x11a)](_0x5e0592,_0x4cc50e,_0x3d6bc8){const _0x56866a=_0x58e4e4;var _0x5479d4;if(_0x4cc50e!==_0x3f6e51[_0x56866a(0x166)]||((_0x5479d4=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x5479d4['id'])!==_0x5e0592)return;let _0x388d83=await this[_0x56866a(0x140)]['ensureHost'](_0x5e0592,_0x3f6e51[_0x56866a(0x1de)]);if(!_0x388d83)return;let _0xf8a8a8=_0x388d83[_0x56866a(0x23c)]();try{let _0x216dc8=await _0x3d6bc8['exportImg']();_0x216dc8&&_0x388d83[_0x56866a(0x273)]({'type':_0x385294['Url'],'url':_0x216dc8},_0xf8a8a8)&&_0x388d83['requestPaint']();}catch{}}[_0x58e4e4(0x3c1)](_0x332841,_0x5f502d,_0x2a486f){const _0x5c66f8=_0x58e4e4;let _0x4cf9c1=this[_0x5c66f8(0x39d)](_0x332841),_0x19ad03=_0x4cf9c1===_0x3f6e51[_0x5c66f8(0x166)]&&_0x2a486f&&_0x5f502d&&this[_0x5c66f8(0x157)](_0x332841),_0x2a35dc=this[_0x5c66f8(0x1c8)][_0x5c66f8(0x39b)](_0x332841);return{'canAnimate':_0x19ad03,'renderMode':_0x2a35dc?_0x3f6e51[_0x5c66f8(0x166)]:_0x4cf9c1,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x2a35dc};}[_0x58e4e4(0x157)](_0x57542e){const _0x412ce3=_0x58e4e4;var _0x76e843,_0x42cbba,_0x382684,_0x2e4b1f;if(typeof document>'u'||typeof window>'u'||document[_0x412ce3(0x395)]==='hidden'||(_0x76e843=(_0x42cbba=window)[_0x412ce3(0x3b5)])!=null&&(_0x76e843=_0x76e843[_0x412ce3(0x29e)](_0x42cbba,_0x412ce3(0x336)))!=null&&_0x76e843[_0x412ce3(0x16b)]||(_0x382684=(_0x2e4b1f=window)[_0x412ce3(0x3b5)])!=null&&(_0x382684=_0x382684[_0x412ce3(0x29e)](_0x2e4b1f,_0x412ce3(0x27c)))!=null&&_0x382684[_0x412ce3(0x16b)])return!0x1;let _0x42d0b9=this[_0x412ce3(0x140)]['getHostClientRect'](_0x57542e);return _0x42d0b9!=null&&_0x42d0b9[_0x412ce3(0x384)]>0x0&&_0x42d0b9[_0x412ce3(0x1d7)]>0x0&&_0x42d0b9[_0x412ce3(0x213)]>0x0&&_0x42d0b9[_0x412ce3(0x35f)]>0x0&&_0x42d0b9[_0x412ce3(0x270)]<window[_0x412ce3(0x17a)]&&_0x42d0b9[_0x412ce3(0x23a)]<window[_0x412ce3(0x2e7)];}[_0x58e4e4(0x1b9)](_0x1b0dfd){const _0x225b44=_0x58e4e4;let _0x176941=this[_0x225b44(0x290)]['get'](_0x1b0dfd);_0x176941&&(clearTimeout(_0x176941),this['_dataUpdateAnimationTimers'][_0x225b44(0x25c)](_0x1b0dfd)),this[_0x225b44(0x1c8)][_0x225b44(0x1c7)](_0x1b0dfd),this[_0x225b44(0x140)][_0x225b44(0x2a7)](_0x1b0dfd,_0x4c1e3b);}[_0x58e4e4(0x12c)](_0xc6bb70){const _0x32c1ad=_0x58e4e4;let _0x36634a=this[_0x32c1ad(0x290)][_0x32c1ad(0x368)](_0xc6bb70);_0x36634a&&clearTimeout(_0x36634a);let _0x3acc3b=setTimeout(()=>{const _0x30f406=_0x32c1ad;this['_dataUpdateAnimationTimers']['delete'](_0xc6bb70),this[_0x30f406(0x1c8)][_0x30f406(0x25c)](_0xc6bb70)&&(this[_0x30f406(0x140)][_0x30f406(0x2a7)](_0xc6bb70,null),this[_0x30f406(0x2a0)](_0xc6bb70),this[_0x30f406(0x278)](_0xc6bb70));},_0x4c1e3b);this[_0x32c1ad(0x290)][_0x32c1ad(0x37a)](_0xc6bb70,_0x3acc3b);}[_0x58e4e4(0x2f9)](_0x3f78c7){const _0x5aab75=_0x58e4e4;let _0x30233e=this[_0x5aab75(0x290)][_0x5aab75(0x368)](_0x3f78c7);_0x30233e&&(clearTimeout(_0x30233e),this['_dataUpdateAnimationTimers']['delete'](_0x3f78c7)),this[_0x5aab75(0x1c8)][_0x5aab75(0x25c)](_0x3f78c7),this[_0x5aab75(0x140)][_0x5aab75(0x2a7)](_0x3f78c7,null);}async[_0x58e4e4(0x153)](_0x18fa7e,_0x3eb321,_0x455be6){const _0x526269=_0x58e4e4;let _0x5456d0=this['_drawingManagerService']['getDrawingData'](_0x18fa7e,_0x3eb321),_0x449c66=this[_0x526269(0x1be)][_0x526269(0x37c)](_0x18fa7e,_0x3eb321),_0x2f2043=Object[_0x526269(0x226)](_0x5456d0??{})[_0x526269(0x19e)](_0x410e02=>_0x410e02[_0x526269(0x2c2)]===_0x43df04[_0x526269(0x1aa)]&&_0x410e02['hidden']!==!0x0);await Promise[_0x526269(0x151)](_0x2f2043[_0x526269(0x3b3)](async _0x4223d1=>{const _0x1740fc=_0x526269;let _0x4387bc=await this['_createPrintingChartObject'](_0x4223d1,_0x449c66);_0x4387bc&&(_0x455be6[_0x1740fc(0x330)](_0x4387bc,_0x2521be),_0x4223d1['groupId']&&_0x1aaef1({'drawingId':_0x4223d1[_0x1740fc(0x20d)],'unitId':_0x18fa7e,'subUnitId':_0x3eb321},_0x4387bc,_0x455be6,this[_0x1740fc(0x1be)]));}));}async[_0x58e4e4(0x1a3)](_0x495731,_0xa0dfcc){const _0x43d611=_0x58e4e4;let _0x4d41a8=this[_0x43d611(0x25d)][_0x43d611(0x2aa)](_0x495731['drawingId']),_0x36ef2c=this[_0x43d611(0x1a7)][_0x43d611(0x3c6)](_0x1a63a8),_0x25b3a0=_0x495731['transform'],_0x4ec851=_0x4d41a8==null?void 0x0:_0x4d41a8[_0x43d611(0x25b)];if(!_0x4d41a8||!_0x36ef2c||!_0x25b3a0||!_0x4ec851||_0x25b3a0[_0x43d611(0x384)]==null||_0x25b3a0[_0x43d611(0x1d7)]==null)return null;let _0x10e549=new fi(_0x495731[_0x43d611(0x2dc)],{'width':_0x25b3a0['width'],'height':_0x25b3a0[_0x43d611(0x1d7)]}),_0x2864cf=_0x36ef2c[_0x43d611(0x2a3)](_0x3f6e51[_0x43d611(0x1de)],this[_0x43d611(0x110)]());_0x2864cf[_0x43d611(0x345)](_0x10e549);let _0x685bc1;try{await _0x2864cf[_0x43d611(0x1df)]({'chartId':_0x495731[_0x43d611(0x2dc)],'config':_0x4ec851,'style':this[_0x43d611(0x173)](_0x4d41a8,this[_0x43d611(0x242)][_0x43d611(0x394)]())});}catch(_0x1b83e1){console[_0x43d611(0x33c)](_0x43d611(0x184),_0x1b83e1);}finally{_0x685bc1=_0x10e549[_0x43d611(0x317)](),_0x2864cf[_0x43d611(0x125)](),_0x10e549['dispose']();}let _0x39d861=this['_chartSnapshotStoreService'][_0x43d611(0x3d2)]({'unitId':_0x495731['unitId'],'subUnitId':_0x495731[_0x43d611(0x28c)],'chartId':_0x495731[_0x43d611(0x2dc)]}),_0x5ade07=_0x685bc1??_0x39d861;if(!_0x5ade07)return null;let _0xaa2f40=_0xa0dfcc[_0x43d611(0x39a)](_0x495731['drawingId']);return new Qr(_0x14acce(_0x495731),{..._0x25b3a0,..._0x38aa53,...ci(_0x10e549[_0x43d611(0x2dd)]),'visible':!0x0,'zIndex':_0xaa2f40===-0x1?Math[_0x43d611(0x20e)](_0xa0dfcc[_0x43d611(0x334)]-0x1,0x0):_0xaa2f40},()=>_0x5ade07,void 0x0,_0x685bc1?()=>G(_0x685bc1):void 0x0);}[_0x58e4e4(0x19a)](_0x301767,_0x53b2c7,_0x43d373){const _0x908b23=_0x58e4e4;let _0x3b6dcf=this[_0x908b23(0x26b)][_0x908b23(0x368)](_0x301767);if((_0x3b6dcf==null?void 0x0:_0x3b6dcf[_0x908b23(0x26e)])===_0x53b2c7)return _0x3b6dcf;_0x3b6dcf&&(this[_0x908b23(0x1ff)](_0x301767),_0x3b6dcf[_0x908b23(0x125)](),this['_chartInstanceMap'][_0x908b23(0x25c)](_0x301767));let _0x35b5f2=_0x43d373['createChartInstance'](_0x53b2c7,this[_0x908b23(0x110)]());return this[_0x908b23(0x26b)][_0x908b23(0x37a)](_0x301767,_0x35b5f2),_0x35b5f2[_0x908b23(0x3c0)](this[_0x908b23(0x13d)][_0x908b23(0x368)](_0x301767)===!0x0),this[_0x908b23(0x1dc)](_0x301767,_0x35b5f2),_0x35b5f2;}[_0x58e4e4(0x110)](){const _0x5a4401=_0x58e4e4;return{'resolveHostStyle':({style:_0x30e148})=>_0x16cfdd({'style':_0x30e148,'getRenderColor':_0x5a6aed=>this[_0x5a4401(0x183)]['getRenderColor'](_0x5a6aed)}),'resolveRenderBackgroundColor':({style:_0x1caeff})=>this[_0x5a4401(0x183)][_0x5a4401(0x3cf)](_0x445815(_0x1caeff))};}[_0x58e4e4(0x143)](_0x3a5b97){const _0x399aab=_0x58e4e4;var _0x493009,_0x245a2d,_0x297167;(_0x493009=this[_0x399aab(0x3ca)][_0x399aab(0x368)](_0x3a5b97))==null||_0x493009[_0x399aab(0x125)](),this[_0x399aab(0x3ca)][_0x399aab(0x25c)](_0x3a5b97),(_0x245a2d=this[_0x399aab(0x279)][_0x399aab(0x368)](_0x3a5b97))==null||_0x245a2d[_0x399aab(0x28d)](),this[_0x399aab(0x279)][_0x399aab(0x25c)](_0x3a5b97),(_0x297167=this[_0x399aab(0x2b1)][_0x399aab(0x368)](_0x3a5b97))==null||_0x297167[_0x399aab(0x28d)](),this[_0x399aab(0x2b1)]['delete'](_0x3a5b97);}[_0x58e4e4(0x3d3)](){const _0x29f77c=_0x58e4e4;this[_0x29f77c(0x279)]['forEach'](_0x3da9c1=>_0x3da9c1['cancel']()),this[_0x29f77c(0x279)][_0x29f77c(0x399)](),this[_0x29f77c(0x2b1)][_0x29f77c(0x2db)](_0x2650cc=>_0x2650cc['cancel']()),this[_0x29f77c(0x2b1)][_0x29f77c(0x399)]();}[_0x58e4e4(0x125)](){const _0x1d4856=_0x58e4e4;this[_0x1d4856(0x3ca)][_0x1d4856(0x2db)](_0x221a0a=>_0x221a0a[_0x1d4856(0x125)]()),this[_0x1d4856(0x3ca)]['clear'](),this[_0x1d4856(0x290)][_0x1d4856(0x2db)](_0x42c79b=>clearTimeout(_0x42c79b)),this['_dataUpdateAnimationTimers'][_0x1d4856(0x399)](),this[_0x1d4856(0x1c8)][_0x1d4856(0x399)](),Array['from'](this[_0x1d4856(0x26b)][_0x1d4856(0x1ce)]())[_0x1d4856(0x2db)](_0x1b727c=>this['_disposeChartRenderInstance'](_0x1b727c)),this[_0x1d4856(0x13d)][_0x1d4856(0x399)](),this[_0x1d4856(0x3d3)](),this[_0x1d4856(0x104)][_0x1d4856(0x399)](),this[_0x1d4856(0x241)]=null,this[_0x1d4856(0x257)]=null,super[_0x1d4856(0x125)]();}};J=q([K(0x0,ui),K(0x1,_0x569e33(_0x351035)),K(0x2,_0x569e33(_0x1e33a9)),K(0x3,_0x1e7a38),K(0x4,_0x5b54fc),K(0x5,_0x569e33(_0x11bbe7)),K(0x6,_0x569e33(_0x37903c)),K(0x7,_0x569e33(_0x56051b)),K(0x8,_0x569e33(_0x3a2489)),K(0x9,_0x569e33(_0x3d87f5)),K(0xa,_0x58cb4f),K(0xb,_0x569e33(ni)),K(0xc,_0x1c66b2)],J);const Y=_0x2fa213(_0x58e4e4(0x326));let mi=class extends _0x1eef01{constructor(_0xe4ac28,_0x3398a1,_0x495bd2,_0x2156f6,_0x5d1833){const _0x498e5f=_0x58e4e4;super(_0x5d1833),this[_0x498e5f(0x25d)]=_0xe4ac28,this[_0x498e5f(0x392)]=_0x3398a1,this[_0x498e5f(0x116)]=_0x495bd2,this[_0x498e5f(0x19c)]=_0x2156f6,W(this,_0x498e5f(0x3a8),!0x1),W(this,_0x498e5f(0x1a4),new _0x251b31(!0x1)),W(this,_0x498e5f(0x3d1),new _0x251b31(null)),W(this,_0x498e5f(0x255),this['_chartEditorOpen$']['asObservable']()),W(this,'panelRoute$',this['_panelRoute$']['asObservable']());}get[_0x58e4e4(0x265)](){const _0x1411d0=_0x58e4e4;return this[_0x1411d0(0x25d)]['activeChartModel']??null;}get[_0x58e4e4(0x18b)](){const _0x421e43=_0x58e4e4;return this[_0x421e43(0x1a4)][_0x421e43(0x32d)]();}get[_0x58e4e4(0x3d5)](){const _0x66c226=_0x58e4e4;return this[_0x66c226(0x3a8)];}[_0x58e4e4(0x296)](_0x568cc3){const _0xc92b09=_0x58e4e4;this[_0xc92b09(0x3a8)]=_0x568cc3;}[_0x58e4e4(0x2e9)](_0x1c3b25){const _0x460346=_0x58e4e4;this[_0x460346(0x1a4)][_0x460346(0x32d)]()!==_0x1c3b25&&this['_chartEditorOpen$'][_0x460346(0x31b)](_0x1c3b25);}[_0x58e4e4(0x2a5)](_0xbc040b){const _0x4c6bd9=_0x58e4e4;var _0x70e2c5;return this['chartEditorOpen']&&((_0x70e2c5=this[_0x4c6bd9(0x25d)][_0x4c6bd9(0x240)])==null?void 0x0:_0x70e2c5['id'])===_0xbc040b;}['setPanelRoute'](_0x1fd30d,_0x17295c){const _0x5eca7f=_0x58e4e4;this[_0x5eca7f(0x3d1)][_0x5eca7f(0x31b)]({'chartId':_0x1fd30d,'route':_0x17295c});}[_0x58e4e4(0x319)](){const _0x659a9d=_0x58e4e4;this[_0x659a9d(0x3d1)]['next'](null);}[_0x58e4e4(0x3ab)](_0x3da4c2){const _0x2650fa=_0x58e4e4;let _0x3cfed8=this[_0x2650fa(0x25d)][_0x2650fa(0x240)];_0x3cfed8&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x3cfed8['id'],'range':_0x3da4c2});}[_0x58e4e4(0x2ec)](_0x379c4f){const _0x43b024=_0x58e4e4;let _0x273d41=this[_0x43b024(0x25d)][_0x43b024(0x240)];if(!_0x273d41)return;let _0x5bd6e2=this['_sheetsChartService'][_0x43b024(0x370)](_0x273d41['id']);if(!_0x5bd6e2||Array[_0x43b024(0x10d)](_0x5bd6e2))return;let _0x32de64={..._0x5bd6e2,'isRowDirection':_0x379c4f===_0x28717b[_0x43b024(0x1b1)]};this[_0x43b024(0x287)]({'chartModelId':_0x273d41['id'],'range':_0x32de64});}[_0x58e4e4(0x391)](_0x35c3c9){const _0xcef51=_0x58e4e4;var _0x5da427;this[_0xcef51(0x116)]['executeCommand'](_0x22f7cc['id'],{..._0x35c3c9,'unitId':((_0x5da427=this['_univerInstanceService'][_0xcef51(0x16c)]())==null?void 0x0:_0x5da427[_0xcef51(0x2c3)]())??''});}[_0x58e4e4(0x287)](_0x1cf51a){const _0x25ab9a=_0x58e4e4;var _0x4fdd5c;this['_commandService'][_0x25ab9a(0x1ee)](_0x112901['id'],{..._0x1cf51a,'unitId':((_0x4fdd5c=this[_0x25ab9a(0x19c)][_0x25ab9a(0x16c)]())==null?void 0x0:_0x4fdd5c['getUnitId']())??''});}[_0x58e4e4(0x125)](){const _0x14cbf1=_0x58e4e4;this['_chartEditorOpen$'][_0x14cbf1(0x1f9)](),this[_0x14cbf1(0x3d1)][_0x14cbf1(0x1f9)](),super[_0x14cbf1(0x125)]();}};mi=q([K(0x0,_0x569e33(_0x1e33a9)),K(0x1,_0x569e33(_0x5b7264)),K(0x2,_0x10f119),K(0x3,_0x5b54fc),K(0x4,_0x569e33(_0x7cd67c))],mi);var hi;function _0x29f5(_0x8e27ea,_0x30832c){_0x8e27ea=_0x8e27ea-0xff;const _0x3cf939=_0x3cf9();let _0x29f5f7=_0x3cf939[_0x8e27ea];return _0x29f5f7;}const gi={'axis':{..._0x473cc5,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x3c4c8b,'heatmap':_0x1cd218,'indicatorLine':_0x1f1171,'legend':_0x35dc7a,'lineAndArea':_0x486b7d,'pareto':_0x3d84e3,'pie':_0x5881e2,'relation':{..._0x10b920,'useValueAsSymbolSize':!0x0},'radar':_0x5704fa,'series':{..._0x5bf23e,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((hi=_0x40d6b3[_0x58e4e4(0x239)])==null?void 0x0:hi[_0x58e4e4(0x292)])??!0x1}},'style':_0x1cd657,'titles':_0x2a6745,'trendline':_0x57534a,'waterfallStyle':_0x3dd03e,'wordCloud':_0x154301},_i=_0x4b7fb3=>_0x4b7fb3[_0x58e4e4(0x29a)](_0xaf509f[_0x58e4e4(0x16d)])[_0x58e4e4(0x2c3)](),vi=_0x2e0c2d=>{const _0x5b9cbd=_0x58e4e4;var _0x4507fb;return(_0x4507fb=_0x2e0c2d['getCurrentUnitOfType'](_0xaf509f[_0x5b9cbd(0x16d)])['getActiveSheet']())==null?void 0x0:_0x4507fb[_0x5b9cbd(0x358)]();},yi=()=>{const _0x55f22d=_0x58e4e4;var _0x36a28e;let _0x1fa679=_0x341106(Y),_0x423323=_0x341106(_0x1e33a9),_0x6a7be=_0x341106(_0x37903c),_0x14a4a3=_0x341106(_0x56051b),_0x4a20e4=_0x1fd812(_0x14a4a3),_0x5e80ed=_0x207894(()=>{const _0x367b9f=_0x29f5;let _0x5aa8bc=Fr(Nr[_0x367b9f(0x2fc)](),_0x4a20e4);return _0x99c448(_0x5aa8bc['map'](_0x33abaf=>({'id':_0x33abaf['id'],'label':_0x6a7be['t'](_0x367b9f(0x27a)+_0x33abaf[_0x367b9f(0x2af)]),'pieSecondaryPlotType':_0x33abaf[_0x367b9f(0x17d)],'value':_0x33abaf[_0x367b9f(0x256)]})));},[_0x4a20e4,_0x6a7be]),_0x3432a1=_0x169faa(_0x423323[_0x55f22d(0x288)],_0x423323[_0x55f22d(0x240)]),_0xe8a483=_0x169faa(_0x3432a1==null?void 0x0:_0x3432a1[_0x55f22d(0x2b5)],_0x3432a1==null?void 0x0:_0x3432a1[_0x55f22d(0x193)]),_0x18ec2e=_0x169faa(_0x3432a1==null?void 0x0:_0x3432a1[_0x55f22d(0x3a0)],_0x3432a1==null?void 0x0:_0x3432a1[_0x55f22d(0x29f)]),_0x2d8d3c=_0x169faa(_0x18ec2e==null?void 0x0:_0x18ec2e['rangeInfo$'],_0x18ec2e==null?void 0x0:_0x18ec2e[_0x55f22d(0x218)]()),_0x3536a8=Array[_0x55f22d(0x10d)](_0x2d8d3c),_0x2f8520=_0x2d8d3c&&!_0x3536a8&&_0x2d8d3c[_0x55f22d(0x2b2)]?_0x28717b[_0x55f22d(0x1b1)]:_0x28717b[_0x55f22d(0x186)],_0x15db5c=_0x3536a8?(_0x36a28e=_0x2d8d3c[0x0])==null?void 0x0:_0x36a28e[_0x55f22d(0x3b2)]:_0x2d8d3c==null?void 0x0:_0x2d8d3c[_0x55f22d(0x18a)];return _0x3d17e9(_0x55f22d(0x2ee),{'className':_0x55f22d(0x17c),'children':[_0x4200cc(_0x239fe1,{'chartTypeOptions':_0x5e80ed,'dataSourceControl':_0x4200cc(bi,{'dataRange':_0x2d8d3c,'primaryRange':_0x15db5c}),'categoryToggleLabel':_0x6a7be['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x2f8520===_0x28717b[_0x55f22d(0x1b1)]?_0x2f8520+'\x20'+(((_0x15db5c==null?void 0x0:_0x15db5c[_0x55f22d(0x3b2)][_0x55f22d(0x205)])??0x0)+0x1):_0x2f8520+'\x20'+_0x47d2a3((_0x15db5c==null?void 0x0:_0x15db5c['range']['startColumn'])??0x0)),'orientationControl':_0x3536a8?void 0x0:_0x4200cc(_0x3e78e8,{'size':_0x55f22d(0x134),'onClick':()=>_0x1fa679[_0x55f22d(0x2ec)](_0x2f8520===_0x28717b['Row']?_0x28717b[_0x55f22d(0x186)]:_0x28717b[_0x55f22d(0x1b1)]),'children':_0x6a7be['t'](_0x55f22d(0x386))})}),_0x4200cc(_0x2a16f3,{'checked':(_0xe8a483==null?void 0x0:_0xe8a483['plotVisibleOnly'])===!0x1,'disabled':!_0x3432a1,'onChange':_0x445792=>{const _0x45b52f=_0x55f22d;_0x3432a1&&_0x1fa679[_0x45b52f(0x391)]({'chartModelId':_0x3432a1['id'],'context':{'plotVisibleOnly':!_0x445792}});},'children':_0x6a7be['t']('sheets-chart-ui.common.showHiddenData')})]});};function bi(_0x15d72e){const _0xebd840=_0x58e4e4;let {dataRange:_0x389be9,primaryRange:_0x10a581}=_0x15d72e,_0x18bbab=_0x341106(Y),_0x942bf6=_0x341106(_0x37903c),_0x3a4d8f=_0x341106(_0x5b54fc),_0x3f89de=_0x341106(_0x2eb5c4),[_0x19cc5d,_0x109821]=_0x5b2f59(!0x1),[_0x59a855,_0x54674e]=_0x5b2f59(!0x1),[_0x375300,_0x38c33f]=_0x5b2f59(),_0x421389=_i(_0x3a4d8f),_0x10f365=vi(_0x3a4d8f),_0x4fb5d3=_0x389be9?jr(_0x389be9,_0x3a4d8f):'',_0x36b10e=_0x33bb4f(_0x4fb5d3),_0x59f985=_0x33bb4f(void 0x0),_0x3ae7ad=_0x33bb4f(null);_0x34e514(()=>{const _0x56129f=_0x29f5;_0x18bbab['setRangeSelectMode'](_0x19cc5d),_0x3f89de[_0x56129f(0x332)](_0x4b847,_0x19cc5d);},[_0x3f89de,_0x19cc5d,_0x18bbab]),_0x34e514(()=>()=>{const _0x13877e=_0x29f5;_0x18bbab[_0x13877e(0x296)](!0x1),_0x3f89de[_0x13877e(0x332)](_0x4b847,!0x1);},[_0x3f89de,_0x18bbab]);let _0x3afcfc=_0x5b263f(_0x4a58c3=>{const _0x42f8ca=_0x29f5;var _0x457d9c;if(jr(_0x389be9,_0x3a4d8f)===_0x4a58c3)return _0x38c33f(void 0x0),!0x0;let _0x16b585=_0x4a58c3[_0x42f8ca(0x29d)](_0x3b02a9[_0x42f8ca(0x357)]);if(!_0x4a58c3[_0x42f8ca(0x159)]()||_0x16b585[_0x42f8ca(0x334)]!==0x1||!((_0x457d9c=_0x3ae7ad[_0x42f8ca(0x185)])!=null&&_0x457d9c['verify']()))return _0x38c33f(_0x942bf6['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x37c138,sheetName:_0x2c7623,range:_0x478285}=_0x404b59(_0x16b585[0x0]),_0x3e7631=_0x37c138||_0x421389,_0x25c30c=_0x3a4d8f[_0x42f8ca(0x2d6)](_0x3e7631),_0x48b763=(_0x10a581==null?void 0x0:_0x10a581[_0x42f8ca(0x380)])===_0x3e7631?_0x10a581['subUnitId']:_0x10f365,_0x2b2b9c=_0x2c7623?_0x25c30c==null?void 0x0:_0x25c30c['getSheetBySheetName'](_0x2c7623):_0x25c30c==null?void 0x0:_0x25c30c[_0x42f8ca(0x2d3)](_0x48b763??'');return!_0x25c30c||!_0x2b2b9c||!_0xbde51a(_0x478285,_0x2b2b9c)?(_0x38c33f(_0x942bf6['t'](_0x42f8ca(0x14b))),!0x1):(_0x38c33f(void 0x0),_0x18bbab[_0x42f8ca(0x3ab)]({'rangeInfo':{'range':_0x478285,'unitId':_0x3e7631,'subUnitId':_0x2b2b9c[_0x42f8ca(0x358)]()}}),!0x0);},[_0x389be9,_0x942bf6,_0x10a581,_0x18bbab,_0x10f365,_0x421389,_0x3a4d8f]),_0x21fa63=_0x207894(()=>({'keyCodes':[{'keyCode':_0x33a6fb['ENTER'],'nativeTextEditorBehavior':_0xb02455[_0xebd840(0x2d4)]}],'handler':_0x558a9c=>{const _0x220cde=_0xebd840;_0x558a9c===_0x33a6fb[_0x220cde(0x3ac)]&&_0x3afcfc(_0x36b10e[_0x220cde(0x185)])&&(_0x59f985[_0x220cde(0x185)]=_0x36b10e[_0x220cde(0x185)]);}}),[_0x3afcfc]);return _0x4200cc(_0xebd840(0x2ee),{'className':_0xebd840(0x33d),'children':_0x3d17e9('div',{'children':[_0x4200cc(_0x5bbce0,{'title':_0x942bf6['t'](_0xebd840(0x398))}),_0x4200cc(_0x1311f6,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x421389,'subUnitId':_0x10f365,'initialValue':_0x4fb5d3,'keyboardEventConfig':_0x21fa63,'selectorRef':_0x3ae7ad,'onChange':(_0x32d0d8,_0x511cfa)=>{const _0xd736ff=_0xebd840;_0x36b10e['current']=_0x511cfa,_0x59a855&&_0x59f985[_0xd736ff(0x185)]!==_0x511cfa&&_0x3afcfc(_0x511cfa)&&(_0x59f985[_0xd736ff(0x185)]=_0x511cfa);},'onFocusChange':(_0x22f498,_0x402daa)=>{const _0x42f20b=_0xebd840;if(_0x402daa!==void 0x0&&(_0x36b10e[_0x42f20b(0x185)]=_0x402daa),_0x59a855||_0x109821(_0x22f498),_0x22f498)_0x59f985[_0x42f20b(0x185)]=_0x36b10e[_0x42f20b(0x185)];else{let _0x85d8a9=_0x59f985[_0x42f20b(0x185)];_0x59f985[_0x42f20b(0x185)]=void 0x0,_0x85d8a9!==void 0x0&&_0x36b10e[_0x42f20b(0x185)]!==_0x85d8a9&&_0x3afcfc(_0x36b10e[_0x42f20b(0x185)]);}},'onRangeSelectorDialogVisibleChange':_0x46e7a9=>{_0x54674e(_0x46e7a9),_0x109821(_0x46e7a9);}}),_0x375300?_0x4200cc('div',{'className':_0xebd840(0x348),'children':_0x375300}):null]})});}function X(_0x1facb1){const _0x18a693=_0x58e4e4;return _0x3d17e9(_0x33d6de,{'id':_0x1facb1['id'],'children':[_0x4200cc(_0x5043ee,{'children':_0x1facb1[_0x18a693(0x221)]}),_0x4200cc(_0x52594e,{'children':_0x1facb1[_0x18a693(0x289)]})]});}const xi=_0x359dee=>{const _0x17e196=_0x58e4e4;let _0xee715b=_0x341106(_0x37903c),_0x171b43=_0x341106(Y),_0x4741ef=_0x341106(_0x1e33a9),_0x1ccc85=_0x169faa(_0x4741ef[_0x17e196(0x288)],_0x4741ef[_0x17e196(0x240)]),_0x10f32c=_0x169faa(_0x171b43['panelRoute$'],null),_0x282784=_0x10f32c&&_0x10f32c[_0x17e196(0x1f8)]===(_0x1ccc85==null?void 0x0:_0x1ccc85['id'])?_0x10f32c[_0x17e196(0x2fb)]:null,_0x5b0086=_0x33d88d(),_0x419a4c=_0x3503bf(),[_0x4bc977,_0x37a7b5]=_0x5b2f59(null);_0x34e514(()=>{const _0x49a8a1=_0x17e196;_0x282784!=null&&_0x282784[_0x49a8a1(0x164)]&&_0x37a7b5(_0x282784[_0x49a8a1(0x164)]);},[_0x282784]);let _0x2ecf80=_0x31bb43['baseOn'](_0x5b0086,_0x5ec5cb[_0x17e196(0x2e0)]),_0x1bbbb1=_0x5b0086===_0x5ec5cb[_0x17e196(0x33a)],_0x2f14c0=_0x5b0086===_0x5ec5cb[_0x17e196(0x18c)],_0x142f54=_0x5b0086===_0x5ec5cb[_0x17e196(0x1cb)],_0x310f92=_0x31bb43[_0x17e196(0x300)](_0x5b0086,_0x5ec5cb['Bubble']),_0x4e9f13=_0x5b0086===_0x5ec5cb[_0x17e196(0x3c3)],_0x5ad89b=_0x5b0086===_0x5ec5cb[_0x17e196(0x31e)],_0x1f45b5=_0x5b0086===_0x5ec5cb[_0x17e196(0x237)],_0x5dcdf6=_0x5b0086===_0x5ec5cb[_0x17e196(0x38d)],_0x64673e,_0x1e21f;switch(_0x5b0086){case _0x5ec5cb[_0x17e196(0x13a)]:_0x64673e=_0xacfab2[_0x17e196(0x13a)],_0x1e21f=_0xee715b['t'](_0x17e196(0x2b9));break;case _0x5ec5cb[_0x17e196(0x1da)]:_0x64673e=_0xacfab2[_0x17e196(0x1da)],_0x1e21f=_0xee715b['t'](_0x17e196(0x20c));break;case _0x5ec5cb[_0x17e196(0x197)]:_0x64673e=_0xacfab2[_0x17e196(0x197)],_0x1e21f=_0xee715b['t'](_0x17e196(0x22d));break;case _0x5ec5cb['Sunburst']:_0x64673e=_0xacfab2[_0x17e196(0x15e)],_0x1e21f=_0xee715b['t'](_0x17e196(0x118));break;case _0x5ec5cb[_0x17e196(0x11e)]:_0x64673e=_0xacfab2[_0x17e196(0x11e)],_0x1e21f=_0xee715b['t'](_0x17e196(0x1b0));break;case _0x5ec5cb[_0x17e196(0x136)]:_0x64673e=_0xacfab2[_0x17e196(0x136)],_0x1e21f=_0xee715b['t'](_0x17e196(0x32b));}let _0x321dfc=_0x24b610(_0x5b0086,_0x1146fb['GeneralSeries'])&&!_0x310f92&&!_0x1f45b5;return _0x3d17e9(_0x3e0e80,{'value':_0x4bc977,'onChange':_0x37a7b5,'children':[_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x12e)],'label':_0xee715b['t'](_0x17e196(0x232)),'children':_0x4200cc(_0x35f468,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x2dd)]})}),_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x363)],'label':_0xee715b['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x4200cc(_0x38bcb8,{'commitMode':'blur','defaultValues':_0x359dee['defaultValues'][_0x17e196(0x24a)],'selectedTitleKey':_0x282784==null?void 0x0:_0x282784[_0x17e196(0x1d1)]})}),_0x321dfc&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x264)],'label':_0xee715b['t'](_0x17e196(0x154)),'children':_0x4200cc(_0x1e64ca,{'defaultValues':_0x359dee[_0x17e196(0x31f)]['series'],'NumberFormatField':_0x54c9b4,'selectedSeriesId':_0x282784==null?void 0x0:_0x282784[_0x17e196(0x251)]})}),_0x5ad89b&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x2d5)],'label':_0xee715b['t'](_0x17e196(0x109)),'children':_0x4200cc(_0x41a5e3,{'defaultValues':_0x359dee[_0x17e196(0x31f)]['waterfallStyle'],'getDefaultBucketName':({seriesName:_0x4f3cd5,target:_0x51764e})=>_0x51764e===_0x498f80[_0x17e196(0x34e)]?_0xee715b['t'](_0x17e196(0x1e2)):_0x4f3cd5?_0x4f3cd5+'-('+_0xee715b['t'](_0x51764e===_0x498f80['Positive']?_0x17e196(0x316):_0x17e196(0x3a1))+')':'','NumberFormatField':_0x54c9b4,'selectedSeriesId':_0x282784==null?void 0x0:_0x282784['seriesId']})}),_0x1f45b5&&_0x3d17e9(_0x5a0c00,{'children':[_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x310)],'label':_0xee715b['t'](_0x17e196(0x224)),'children':_0x4200cc(_0x1e47fa,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x1e1)],'NumberFormatField':_0x54c9b4,'showDataPointEditor':!0x0,'target':_0x17e196(0x299)})}),_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x228)],'label':_0xee715b['t'](_0x17e196(0x367)),'children':_0x4200cc(_0x1e47fa,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x1e1)],'NumberFormatField':_0x54c9b4,'showDataPointEditor':!0x1,'target':'cumulativeLineStyle'})})]}),_0x2ecf80&&_0x4200cc(X,{'id':_0xacfab2['PieStyle'],'label':_0xee715b['t']('sheets-chart-ui.section.pie'),'children':_0x4200cc(_0x5ca595,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x1f5)],'NumberFormatField':_0x54c9b4})}),_0x2f14c0&&_0x4200cc(X,{'id':_0xacfab2['WordCloud'],'label':_0xee715b['t'](_0x17e196(0x1fe)),'children':_0x4200cc(_0x318410,{'defaultValues':_0x359dee['defaultValues'][_0x17e196(0x2c0)]})}),_0x1bbbb1&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x33a)],'label':_0xee715b['t'](_0x17e196(0x3a5)),'children':_0x4200cc(_0x49accc,{'defaultValues':_0x359dee[_0x17e196(0x31f)]['radar']})}),_0x142f54&&_0x4200cc(X,{'id':_0xacfab2['Funnel'],'label':_0xee715b['t'](_0x17e196(0x258)),'children':_0x4200cc(_0x2b6c2e,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x31a)],'gapControl':_0x17e196(0x36b)})}),_0x5dcdf6&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x38d)],'label':_0xee715b['t']('sheets-chart-ui.common.heatmap'),'children':_0x4200cc(_0x464207,{'defaultValues':_0x359dee[_0x17e196(0x31f)]['heatmap']})}),_0x4e9f13&&_0x4200cc(X,{'id':_0xacfab2['Relation'],'label':_0xee715b['t']('sheets-chart-ui.section.relation'),'children':_0x4200cc(_0x17770f,{'defaultValues':_0x359dee['defaultValues'][_0x17e196(0x115)]})}),_0x1c7739(_0x5b0086)&&_0x4200cc(X,{'id':_0xacfab2['LineAndArea'],'label':_0xee715b['t']('sheets-chart-ui.section.lineAndArea'),'children':_0x4200cc(_0x5cce89,{'defaultValues':_0x359dee[_0x17e196(0x31f)]['lineAndArea'],'lineStyleControl':_0x17e196(0x381)})}),_0x24b610(_0x5b0086,_0x1146fb['Legend'])&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x333)],'label':_0xee715b['t'](_0x17e196(0x1e9)),'children':_0x4200cc(_0x399936,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x3d0)]})}),_0x24b610(_0x5b0086,_0x1146fb[_0x17e196(0x2e4)])&&_0x3d17e9(_0x5a0c00,{'children':[_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x147)],'label':_0xee715b['t'](_0x17e196(0x15d)),'children':_0x4200cc(_0x28695d,{'axis':'x','defaultValues':_0x359dee[_0x17e196(0x31f)]['axis'],'NumberFormatField':_0x54c9b4})}),_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x1f3)],'label':_0xee715b['t'](_0x17e196(0x377)),'children':_0x4200cc(_0x28695d,{'axis':'y','defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x1fc)],'NumberFormatField':_0x54c9b4})}),_0x419a4c&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x22c)],'label':_0xee715b['t'](_0x17e196(0x1a1)),'children':_0x4200cc(_0x28695d,{'axis':_0x17e196(0x13c),'defaultValues':_0x359dee[_0x17e196(0x31f)]['axis'],'NumberFormatField':_0x54c9b4})}),_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x23b)],'label':_0xee715b['t'](_0x17e196(0x121)),'children':_0x4200cc(_0x6840bc,{'defaultValues':_0x359dee['defaultValues'][_0x17e196(0x1fc)]})})]}),_0x24b610(_0x5b0086,_0x1146fb['IndicatorLine'])&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x1db)],'label':_0xee715b['t']('sheets-chart-ui.section.indicatorLine'),'children':_0x4200cc(_0x1be756,{'defaultValues':_0x359dee[_0x17e196(0x31f)]['indicatorLine']})}),_0x1a1c3c(_0x5b0086)&&_0x4200cc(X,{'id':_0xacfab2[_0x17e196(0x3ce)],'label':_0xee715b['t'](_0x17e196(0x235)),'children':_0x4200cc(_0x322608,{'defaultValues':_0x359dee[_0x17e196(0x31f)][_0x17e196(0x37b)]})}),_0x64673e&&_0x1e21f&&_0x4200cc(X,{'id':_0x64673e,'label':_0x1e21f,'children':_0x4200cc(_0x21b296,{})})]});};function Si(_0x3f0106){const _0x5e4ff9=_0x58e4e4;let {className:_0x53a8fe}=_0x3f0106,[_0x4ef5d2,_0x50d7d6]=_0x5b2f59(_0x305e77[_0x5e4ff9(0x1a9)]),_0x4b5e21=_0x341106(_0x56051b),_0x8c37cb=_0x341106(_0x37903c),_0x30a602=_0x341106(Y),_0x3f4e6c=_0x341106(_0x1e33a9),_0x35aa8b=_0x341106(_0x5b7264),_0x39ee5=_0x169faa(_0x3f4e6c['activeChartModel$'],_0x3f4e6c[_0x5e4ff9(0x240)]),_0x4468d1=_0x169faa(_0x30a602[_0x5e4ff9(0x379)],null),_0x1e8985=_0x207894(()=>{const _0x446b72=_0x5e4ff9;var _0x526c3b;if(!_0x39ee5)return null;let _0xac2d71=_0x35aa8b[_0x446b72(0x370)](_0x39ee5['id']);if(!_0xac2d71)return null;let _0x4bc2ae=Array[_0x446b72(0x10d)](_0xac2d71)?(_0x526c3b=_0xac2d71[0x0])==null?void 0x0:_0x526c3b[_0x446b72(0x3b2)]:_0xac2d71['rangeInfo'];return _0x4bc2ae?new _0x47dff2(_0x39ee5,new _0x4cd08c({'unitId':_0x4bc2ae[_0x446b72(0x380)],'subUnitId':_0x4bc2ae['subUnitId'],'chartId':_0x39ee5['id'],'injector':_0x4b5e21})):null;},[_0x39ee5,_0x4b5e21,_0x35aa8b]);if(_0x34e514(()=>{const _0x3a9964=_0x5e4ff9;var _0x25f8c4,_0x27d3d0;_0x39ee5&&(_0x4468d1==null?void 0x0:_0x4468d1[_0x3a9964(0x1f8)])===_0x39ee5['id']&&(((_0x25f8c4=_0x4468d1[_0x3a9964(0x2fb)])==null?void 0x0:_0x25f8c4[_0x3a9964(0x259)])===_0x305e77[_0x3a9964(0x29b)]&&_0x50d7d6(_0x305e77[_0x3a9964(0x29b)]),((_0x27d3d0=_0x4468d1[_0x3a9964(0x2fb)])==null?void 0x0:_0x27d3d0[_0x3a9964(0x259)])===_0x305e77[_0x3a9964(0x1a9)]&&_0x50d7d6(_0x305e77['Data']));},[_0x39ee5,_0x4468d1]),!_0x1e8985)return null;let _0x132521=_0x4200cc('div',{'className':_0x5e4ff9(0x22e)+(_0x4ef5d2===_0x305e77[_0x5e4ff9(0x29b)]?_0x5e4ff9(0x152):_0x5e4ff9(0x10e))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x53a8fe??'')+_0x5e4ff9(0x19f),'children':_0x4200cc(_0x60d2ef,{'ariaLabel':_0x8c37cb['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x4ef5d2,'onTabChange':_0x50d7d6,'tabListClassName':_0x5e4ff9(0x389),'panelClassName':_0x4ef5d2===_0x305e77[_0x5e4ff9(0x29b)]?_0x5e4ff9(0x35e):void 0x0,'tabs':[{'id':_0x305e77[_0x5e4ff9(0x1a9)],'panelId':wi,'title':_0x8c37cb['t'](_0x5e4ff9(0x1c5)),'content':_0x4200cc(yi,{})},{'id':_0x305e77['Style'],'panelId':Ti,'title':_0x8c37cb['t'](_0x5e4ff9(0x103)),'content':_0x4200cc(xi,{'defaultValues':gi})}]})});return _0x4200cc(_0x1673a5,{'chartUIService':_0x30a602,'hostAdapter':_0x1e8985,'children':_0x132521});}const Ci=_0x58e4e4(0x19d),wi=_0x58e4e4(0x268),Ti=_0x58e4e4(0x33b);function Ei(_0xe3ce78){const _0x2485c4=_0x58e4e4;return _0xe3ce78[_0x2485c4(0x334)]===0x1&&Di(_0xe3ce78[0x0]);}function Di(_0x27995f){const _0x3d2b8c=_0x58e4e4;return(_0x27995f==null?void 0x0:_0x27995f[_0x3d2b8c(0x2c2)])===_0x43df04[_0x3d2b8c(0x1aa)]&&!_0x27995f[_0x3d2b8c(0x20d)];}let Oi=class extends _0x7b52dc{constructor(_0xf9718e,_0x26cf5f,_0x44e1d2,_0x2237a6,_0x2b6049,_0x3f01dc,_0x2a5b75,_0xf9ee02,_0x3ea4b5,_0x132e9b,_0x5ca31c,_0x4ee41c,_0x268bee,_0x3e11e1,_0x38f5d2){const _0x20aa6a=_0x58e4e4;var _0x58ef19;super(),this[_0x20aa6a(0x1be)]=_0xf9718e,this[_0x20aa6a(0x19c)]=_0x26cf5f,this[_0x20aa6a(0x25d)]=_0x44e1d2,this[_0x20aa6a(0x392)]=_0x2237a6,this[_0x20aa6a(0x28f)]=_0x2b6049,this[_0x20aa6a(0x34b)]=_0x3f01dc,this[_0x20aa6a(0x36c)]=_0x2a5b75,this[_0x20aa6a(0x149)]=_0xf9ee02,this[_0x20aa6a(0x1c9)]=_0x3ea4b5,this[_0x20aa6a(0x302)]=_0x132e9b,this[_0x20aa6a(0x116)]=_0x5ca31c,this['_sheetsChartUIService']=_0x4ee41c,this['_contextService']=_0x268bee,this['_localeService']=_0x3e11e1,W(this,'_sidebarDisposable',null),W(this,_0x20aa6a(0x351),void 0x0),this[_0x20aa6a(0x351)]=((_0x58ef19=_0x38f5d2[_0x20aa6a(0x1b4)](_0x20aa6a(0x2fe)))==null?void 0x0:_0x58ef19['enableChartElementFloatMenu'])===!0x0,this[_0x20aa6a(0x325)](),this[_0x20aa6a(0x105)](this[_0x20aa6a(0x19c)][_0x20aa6a(0x11b)](_0xaf509f[_0x20aa6a(0x16d)])[_0x20aa6a(0x1ca)](_0x48c80c=>{const _0x3e8af9=_0x20aa6a;var _0x4fa36b;_0x48c80c||(_0x4fa36b=this[_0x3e8af9(0x243)])==null||_0x4fa36b['dispose']();})),this[_0x20aa6a(0x105)](_0x43ce57(this[_0x20aa6a(0x34b)][_0x20aa6a(0x1af)]['subscribe'](async({drawing:_0x100193})=>{const _0x3db610=_0x20aa6a;await this[_0x3db610(0x187)](_0x100193);})));}[_0x58e4e4(0x2f3)](){const _0x3f748c=_0x58e4e4;this[_0x3f748c(0x243)]=this[_0x3f748c(0x36c)][_0x3f748c(0x33e)]({'id':Ci,'header':{'title':this['_localeService']['t'](_0x3f748c(0x1d0))},'width':0x154,'children':{'label':Ci},'onClose':()=>{const _0x10c1ff=_0x3f748c;this['_sidebarDisposable']=null,this[_0x10c1ff(0x15f)](),this['_chartModelService'][_0x10c1ff(0x240)]&&this[_0x10c1ff(0x25d)][_0x10c1ff(0x1ef)](null),this[_0x10c1ff(0x1be)][_0x10c1ff(0x1ed)](null),this['_contextService'][_0x10c1ff(0x332)](_0x654e75,!0x1);}});}[_0x58e4e4(0x1dd)](){const _0x2c8a38=_0x58e4e4;let _0x39f85e=this[_0x2c8a38(0x243)];this[_0x2c8a38(0x243)]=null,this[_0x2c8a38(0x15f)](),this[_0x2c8a38(0x25d)][_0x2c8a38(0x240)]&&this[_0x2c8a38(0x25d)][_0x2c8a38(0x1ef)](null),_0x39f85e==null||_0x39f85e['dispose']();}[_0x58e4e4(0x1f6)](){const _0x306640=_0x58e4e4;let _0x304708=this[_0x306640(0x19c)][_0x306640(0x29a)](_0xaf509f[_0x306640(0x16d)]);this[_0x306640(0x105)](this[_0x306640(0x36c)][_0x306640(0x13f)]['subscribe'](_0x515ae3=>{const _0x50ef64=_0x306640;_0x515ae3['id']===_0x50ef64(0x19d)&&(_0x515ae3[_0x50ef64(0x2cd)]||this[_0x50ef64(0x36c)][_0x50ef64(0x13f)]['next']({'visible':!0x1}));})),this['disposeWithMe'](_0x485af5([this['_chartModelService'][_0x306640(0x288)],this[_0x306640(0x339)][_0x306640(0x255)]])[_0x306640(0x3b1)](_0x587f1(([_0x35e052,_0x56f91f])=>_0x56f91f?(_0x35e052==null?void 0x0:_0x35e052['id'])??null:null),_0x23f42d(),_0x4f483a(null),_0x76194f())['subscribe'](([_0x3086b1,_0x234486])=>{const _0x5b262a=_0x306640;this[_0x5b262a(0x36a)](_0x3086b1,_0x234486);})),this['disposeWithMe'](this[_0x306640(0x25d)]['activeChartModel$'][_0x306640(0x1ca)](_0x4d9677=>{const _0x18e767=_0x306640;!_0x4d9677&&this[_0x18e767(0x243)]&&this['hidePanel']();})),this[_0x306640(0x105)](this['_commandService'][_0x306640(0x107)](_0x4bd048=>{const _0x1b71a3=_0x306640;if(_0x4bd048['id']===H['id']){let _0x1ef6f1=_0x4bd048[_0x1b71a3(0x2e6)];if(!Di(this['_drawingManagerService'][_0x1b71a3(0x2a1)]({'unitId':_0x1ef6f1['unitId'],'subUnitId':_0x1ef6f1[_0x1b71a3(0x28c)],'drawingId':_0x1ef6f1[_0x1b71a3(0x2dc)]})))return;this[_0x1b71a3(0x378)](_0x1ef6f1[_0x1b71a3(0x2dc)],_0x1ef6f1[_0x1b71a3(0x2fb)]);}if(_0x4bd048['id']===wr['id']&&this[_0x1b71a3(0x1dd)](),_0x4bd048['id']===_0x13af68['id']){var _0x1cf649;_0x4bd048[_0x1b71a3(0x2e6)][_0x1b71a3(0x1f8)]===((_0x1cf649=this[_0x1b71a3(0x25d)][_0x1b71a3(0x240)])==null?void 0x0:_0x1cf649['id'])&&this[_0x1b71a3(0x1dd)](),this['_contextService'][_0x1b71a3(0x3aa)](_0x654e75)&&(this['_contextService'][_0x1b71a3(0x332)](_0x654e75,!0x1),this[_0x1b71a3(0x1be)]['focusDrawing'](null));}})),this[_0x306640(0x105)](this[_0x306640(0x1c9)][_0x306640(0x364)][_0x306640(0x1ca)](({id:_0x160b3e})=>{const _0x521060=_0x306640;this[_0x521060(0x339)][_0x521060(0x2a5)](_0x160b3e)&&this[_0x521060(0x1dd)]();})),this[_0x306640(0x105)](this[_0x306640(0x1c9)][_0x306640(0x1e8)][_0x306640(0x1ca)](({id:_0x4936a3})=>{const _0x195b27=_0x306640;this[_0x195b27(0x339)][_0x195b27(0x2a5)](_0x4936a3)&&(this['_sheetsChartUIService']['clearPanelRoute'](),this[_0x195b27(0x28f)]['setElementEditMode'](_0x4936a3,!0x1),this[_0x195b27(0x306)](_0x4936a3)&&this['_chartRenderService'][_0x195b27(0x3c0)](_0x4936a3,!0x0));})),this[_0x306640(0x105)](this[_0x306640(0x1be)][_0x306640(0x328)][_0x306640(0x1ca)](_0x40a57f=>{const _0x100eea=_0x306640;let _0x36a119=_0x40a57f[0x0];if(!this[_0x100eea(0x339)][_0x100eea(0x3d5)]){if(Ei(_0x40a57f)){var _0x5a106c;let _0x383f8f=this[_0x100eea(0x25d)]['getChartModel'](_0x36a119['drawingId']);_0x383f8f&&this[_0x100eea(0x3c9)](_0x383f8f['id'])&&((_0x5a106c=this[_0x100eea(0x25d)]['activeChartModel'])==null?void 0x0:_0x5a106c['id'])!==_0x383f8f['id']&&this['_chartModelService']['setActiveChartModel'](_0x383f8f);return;}this['_chartModelService'][_0x100eea(0x240)]&&this[_0x100eea(0x25d)][_0x100eea(0x1ef)](null),!_0x36a119&&!this[_0x100eea(0x339)][_0x100eea(0x3d5)]&&this[_0x100eea(0x1dd)]();}})),_0x304708&&(this[_0x306640(0x105)](_0x304708[_0x306640(0x3be)][_0x306640(0x1ca)](()=>{const _0x32a22f=_0x306640;this[_0x32a22f(0x1dd)]();})),this[_0x306640(0x105)](_0x304708[_0x306640(0x114)][_0x306640(0x1ca)](()=>{const _0x26d559=_0x306640;this[_0x26d559(0x1dd)]();})));}async[_0x58e4e4(0x187)](_0xa29f4d){const _0x41663a=_0x58e4e4;this[_0x41663a(0x339)]['chartEditorOpen']||Di(_0xa29f4d)&&this[_0x41663a(0x3c9)](_0xa29f4d[_0x41663a(0x2dc)])&&await this['_openEditPanelByDoubleClick'](_0xa29f4d[_0x41663a(0x380)],_0xa29f4d[_0x41663a(0x28c)],_0xa29f4d[_0x41663a(0x2dc)]);}async[_0x58e4e4(0x3a2)](_0x260318,_0x5d3981,_0x2d9ef7){const _0x22ef6a=_0x58e4e4;this[_0x22ef6a(0x25d)][_0x22ef6a(0x2aa)](_0x2d9ef7)&&this[_0x22ef6a(0x3c9)](_0x2d9ef7)&&await this[_0x22ef6a(0x116)][_0x22ef6a(0x1ee)](H['id'],{'unitId':_0x260318,'subUnitId':_0x5d3981,'drawingId':_0x2d9ef7});}[_0x58e4e4(0x378)](_0x3ff514,_0x3bd5a6){const _0x324a8c=_0x58e4e4;let _0xf16633=this[_0x324a8c(0x25d)][_0x324a8c(0x2aa)](_0x3ff514);_0xf16633&&this[_0x324a8c(0x3c9)](_0x3ff514)&&(this[_0x324a8c(0x25d)][_0x324a8c(0x1ef)](_0xf16633),this[_0x324a8c(0x2f3)](),this['_activateEditPanelState'](_0x3ff514,_0x3bd5a6??null));}[_0x58e4e4(0x3a3)](_0x16e737,_0x4cd168){const _0x3c869e=_0x58e4e4;this['_sheetsChartUIService'][_0x3c869e(0x2e9)](!0x0),this[_0x3c869e(0x339)][_0x3c869e(0x267)](_0x16e737,_0x4cd168);}['_deactivateEditPanelState'](){const _0x22d91f=_0x58e4e4;this[_0x22d91f(0x339)][_0x22d91f(0x2e9)](!0x1);}[_0x58e4e4(0x36a)](_0xa649ad,_0x401026){const _0x21e92b=_0x58e4e4;_0xa649ad!==_0x401026&&(_0xa649ad&&this['_chartRenderService'][_0x21e92b(0x3c0)](_0xa649ad,!0x1),this[_0x21e92b(0x339)][_0x21e92b(0x319)](),_0x401026&&(this[_0x21e92b(0x339)][_0x21e92b(0x267)](_0x401026,null),this[_0x21e92b(0x28f)][_0x21e92b(0x3c0)](_0x401026,this[_0x21e92b(0x306)](_0x401026))));}['_initMenus'](){const _0x306232=_0x58e4e4;this[_0x306232(0x149)][_0x306232(0x215)](Hr),this[_0x306232(0x302)][_0x306232(0x14f)](_0x43df04['DRAWING_CHART'],this[_0x306232(0x138)][_0x306232(0x345)](this));}[_0x58e4e4(0x306)](_0x294621){const _0x1e33bb=_0x58e4e4;let _0x49a31d=this[_0x1e33bb(0x25d)][_0x1e33bb(0x2aa)](_0x294621);return!this['_isChartElementEditEnabled']||!_0x49a31d||!this[_0x1e33bb(0x3c9)](_0x294621)?!0x1:Wr(_0x49a31d['chartType']);}['getChartPopupMenus'](_0x34a847,_0x128d80,_0x430b96,_0x175a98){const _0x48f850=_0x58e4e4;if(!this['_chartModelService'][_0x48f850(0x2aa)](_0x430b96))return[];let _0x3ea601=[{'label':this[_0x48f850(0x242)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':H['id'],'commandParams':{'unitId':_0x34a847,'subUnitId':_0x128d80,'drawingId':_0x430b96},'disable':_0x175a98!==_0x43df04[_0x48f850(0x1aa)]}];return this['_isOwnedChart'](_0x430b96)?[..._0x3ea601,{'label':this[_0x48f850(0x242)]['t'](_0x48f850(0x38f)),'index':0x1,'commandId':_0x52fe4a['id'],'commandParams':{'unitId':_0x34a847,'drawings':[{'unitId':_0x34a847,'subUnitId':_0x128d80,'drawingId':_0x430b96,'drawingType':_0x175a98}]},'disable':!0x1},{'label':this[_0x48f850(0x242)]['t'](_0x48f850(0x210)),'index':0x2,'commandId':wr['id'],'commandParams':{'unitId':_0x34a847,'subUnitId':_0x128d80,'drawingId':_0x430b96},'disable':!0x1}]:_0x3ea601;}['_isOwnedChart'](_0x370b30){const _0x483c92=_0x58e4e4;return this[_0x483c92(0x392)][_0x483c92(0x370)](_0x370b30)!==void 0x0;}};Oi=q([K(0x0,_0x1e7a38),K(0x1,_0x5b54fc),K(0x2,_0x569e33(_0x1e33a9)),K(0x3,_0x569e33(_0x5b7264)),K(0x4,_0x569e33(J)),K(0x5,_0x569e33(_0x9d629b)),K(0x6,_0x569e33(_0x14cdc6)),K(0x7,_0x26ea5c),K(0x8,_0x569e33(_0x351035)),K(0x9,_0x569e33(_0x4b4fef)),K(0xa,_0x10f119),K(0xb,Y),K(0xc,_0x2eb5c4),K(0xd,_0x569e33(_0x37903c)),K(0xe,_0x58cb4f)],Oi);var ki=_0x58e4e4(0x135),Ai='1.0.3';let ji=class extends _0x7b52dc{constructor(_0x11cab6,_0x4528a4){const _0x1366f0=_0x58e4e4;super(),this[_0x1366f0(0x2d8)]=_0x11cab6,this[_0x1366f0(0x25d)]=_0x4528a4,this['_init']();}[_0x58e4e4(0x2b0)](){const _0x43325f=_0x58e4e4;this[_0x43325f(0x105)](this['_chartHostProviderService'][_0x43325f(0x385)][_0x43325f(0x1ca)](_0x4d6e8c=>{const _0x5a0b99=_0x43325f;this[_0x5a0b99(0x25d)][_0x5a0b99(0x175)](_0x4d6e8c);}));}};ji=q([K(0x0,ui),K(0x1,_0x569e33(_0x1e33a9))],ji);let Mi=class extends _0x7b52dc{constructor(_0x125952,_0x2f7327,_0x1b54d6,_0x2a2f15,_0x561ec0,_0xb8902e){const _0x18a496=_0x58e4e4;super(),this['_chartModelService']=_0x125952,this[_0x18a496(0x28f)]=_0x2f7327,this[_0x18a496(0x242)]=_0x1b54d6,this[_0x18a496(0x250)]=_0x2a2f15,this['_commandService']=_0x561ec0,this[_0x18a496(0x162)]=_0xb8902e,W(this,_0x18a496(0x39e),new Map()),W(this,_0x18a496(0x32f),new Set()),this[_0x18a496(0x2b0)](),this[_0x18a496(0x2da)](),this[_0x18a496(0x170)]();}[_0x58e4e4(0x170)](){const _0x3c1436=_0x58e4e4;this[_0x3c1436(0x105)](this[_0x3c1436(0x162)]['interceptor'][_0x3c1436(0x2d0)](this['_sheetPrintInterceptorService'][_0x3c1436(0x219)][_0x3c1436(0x238)]()[_0x3c1436(0x200)],{'handler':(_0x2c65c3,_0x140212,_0x31c781)=>{const _0x57153f=_0x3c1436;let _0x4c11f5=this[_0x57153f(0x28f)][_0x57153f(0x153)](_0x140212['unitId'],_0x140212[_0x57153f(0x28c)],_0x140212[_0x57153f(0x10b)]);return _0x140212[_0x57153f(0x2cb)][_0x57153f(0x1c7)](_0x4c11f5),_0x31c781(_0x2c65c3);}}));}[_0x58e4e4(0x2b0)](){const _0x4cb5fa=_0x58e4e4;this[_0x4cb5fa(0x105)](this[_0x4cb5fa(0x25d)][_0x4cb5fa(0x283)][_0x4cb5fa(0x1ca)](_0x1e2885=>{const _0x70699=_0x4cb5fa;if(_0x1e2885){let _0x1bccf2=new _0x2329d0();_0x1bccf2[_0x70699(0x1c7)](_0x1e2885[_0x70699(0x3a0)][_0x70699(0x3b1)](_0x31738a(_0x5c8324=>_0x5c8324[_0x70699(0x2ae)][_0x70699(0x3b1)](_0x587be2(0x1))))[_0x70699(0x1ca)](()=>{const _0x205437=_0x70699;this[_0x205437(0x32f)]['add'](_0x1e2885['id']);})),_0x1bccf2['add'](_0x1e2885[_0x70699(0x1e7)][_0x70699(0x3b1)](_0x53855c(_0x1e2885[_0x70699(0x204)]),_0x53855c(this[_0x70699(0x242)][_0x70699(0x137)]),_0xd01ebe(0x64))[_0x70699(0x1ca)](([[_0x55e150,_0x5b4e7d],_0x40a4fb])=>{const _0x1c3941=_0x70699;var _0x617eaa;if(!_0x55e150)return;(_0x617eaa=_0x55e150[_0x1c3941(0x17e)])==null||_0x617eaa[_0x1c3941(0x1c2)][_0x1c3941(0x2db)]((_0x364802,_0x123df1)=>{const _0x48dcdc=_0x1c3941;_0x364802[_0x48dcdc(0x221)]||=this['_localeService']['t']('sheets-chart-ui.common.category')+'\x20'+(_0x123df1+0x1);}),_0x55e150['series'][_0x1c3941(0x2db)]((_0x325c3a,_0x295635)=>{const _0x4bc95d=_0x1c3941;_0x325c3a[_0x4bc95d(0x397)]||=this[_0x4bc95d(0x242)]['t'](_0x4bc95d(0x15c))+'\x20'+(_0x295635+0x1);});let _0x58fc06=this[_0x1c3941(0x28f)][_0x1c3941(0x173)](_0x1e2885,_0x40a4fb),_0x1dc627=this[_0x1c3941(0x32f)][_0x1c3941(0x25c)](_0x1e2885['id']);this[_0x1c3941(0x28f)][_0x1c3941(0x1df)](_0x1e2885['id'],_0x55e150,_0x58fc06,{'animateDataUpdate':_0x1dc627});})),_0x1e2885[_0x70699(0x3b4)](()=>{const _0x53eaf2=_0x70699;this['_pendingDataUpdateChartIds'][_0x53eaf2(0x25c)](_0x1e2885['id']),_0x1bccf2['dispose']();});}}));}[_0x58e4e4(0x2da)](){const _0x1d7d57=_0x58e4e4;this[_0x1d7d57(0x105)](this[_0x1d7d57(0x116)][_0x1d7d57(0x107)](_0x44dc85=>{const _0x27b22c=_0x1d7d57;if(_0x44dc85['id']!==_0x364aee['id'])return;let _0x4a2daa=_0x44dc85['params'];_0x4a2daa!=null&&_0x4a2daa['chartModelId']&&Promise[_0x27b22c(0x2f6)]()[_0x27b22c(0x343)](()=>this['_renderAfterChartUpdateMutation'](_0x4a2daa));}));}['_renderAfterChartUpdateMutation'](_0x4aa729){const _0x45f23c=_0x58e4e4;let _0x426fc4=this[_0x45f23c(0x25d)][_0x45f23c(0x2aa)](_0x4aa729[_0x45f23c(0x163)]);if(!_0x426fc4||_0x426fc4['chartType']!==_0x5ec5cb[_0x45f23c(0x18c)])return;let _0x2f4cbb=_0x426fc4['config'];if(!_0x2f4cbb){this[_0x45f23c(0x195)](_0x426fc4);return;}this[_0x45f23c(0x191)](_0x426fc4,_0x2f4cbb);}[_0x58e4e4(0x195)](_0x1b9fab){const _0x3a42bf=_0x58e4e4;if(this[_0x3a42bf(0x39e)][_0x3a42bf(0x368)](_0x1b9fab['id']))return;let _0x3e092e=_0x1b9fab[_0x3a42bf(0x1e7)]['pipe'](_0x24a54a(_0x564ad1=>_0x564ad1!=null),_0x315267(0x1))[_0x3a42bf(0x1ca)](_0x53ac36=>{const _0x4b9bbb=_0x3a42bf;this['_pendingMutationConfigRenders']['delete'](_0x1b9fab['id']),this[_0x4b9bbb(0x191)](_0x1b9fab,_0x53ac36);});this[_0x3a42bf(0x39e)][_0x3a42bf(0x37a)](_0x1b9fab['id'],_0x3e092e),_0x1b9fab[_0x3a42bf(0x3b4)](()=>{const _0x1aac7e=_0x3a42bf;_0x3e092e[_0x1aac7e(0x284)](),this[_0x1aac7e(0x39e)][_0x1aac7e(0x25c)](_0x1b9fab['id']);});}[_0x58e4e4(0x191)](_0x1bd6e3,_0x1f0d22){const _0x2850bf=_0x58e4e4;let _0x263794=this[_0x2850bf(0x28f)][_0x2850bf(0x173)](_0x1bd6e3,this['_localeService'][_0x2850bf(0x394)]());this['_chartRenderService']['render'](_0x1bd6e3['id'],_0x1f0d22,_0x263794);}};Mi=q([K(0x0,_0x569e33(_0x1e33a9)),K(0x1,_0x569e33(J)),K(0x2,_0x569e33(_0x37903c)),K(0x3,Y),K(0x4,_0x10f119),K(0x5,_0x569e33(_0x38c41d))],Mi);function Ni(_0x102ca6,_0x2f42e6){const _0x156c62=_0x58e4e4;return _0x102ca6['unitId']!==_0x2f42e6[_0x156c62(0x380)]||_0x102ca6[_0x156c62(0x28c)]!==_0x2f42e6[_0x156c62(0x18f)]?_0x102ca6:{..._0x102ca6,'subUnitId':_0x2f42e6['targetSubUnitId']};}function Pi(_0x4bfaf6,_0x9982b0){const _0xfc1605=_0x58e4e4;return(_0x4bfaf6==null?void 0x0:_0x4bfaf6[_0xfc1605(0x2e2)])===_0x4265c5[_0xfc1605(0x2c7)]?{..._0x4bfaf6,'source':Ni(_0x4bfaf6[_0xfc1605(0x352)],_0x9982b0)}:_0x4bfaf6;}function Fi(_0x7ae460,_0x22cfa9){const _0x5f296e=_0x58e4e4;let {rangeInfo:_0x163f43}=_0x7ae460;return Array[_0x5f296e(0x10d)](_0x163f43)?{..._0x7ae460,'rangeInfo':_0x163f43[_0x5f296e(0x3b3)](_0x39b546=>({..._0x39b546,..._0x39b546[_0x5f296e(0x3a6)]?{'header':Pi(_0x39b546['header'],_0x22cfa9)}:{},'range':Ni(_0x39b546['range'],_0x22cfa9)}))}:{..._0x7ae460,'rangeInfo':{..._0x163f43,..._0x163f43[_0x5f296e(0x3a6)]?{'header':{..._0x163f43[_0x5f296e(0x3a6)],..._0x163f43[_0x5f296e(0x3a6)][_0x5f296e(0x24a)]?{'titles':Ii(_0x163f43[_0x5f296e(0x3a6)][_0x5f296e(0x24a)],_0x22cfa9)}:{}}}:{},'rangeInfo':Ni(_0x163f43['rangeInfo'],_0x22cfa9)}};}function Ii(_0x226c2d,_0x5307a0){const _0x50bf64=_0x58e4e4;return _0x226c2d[_0x50bf64(0x2e2)]===_0x4265c5[_0x50bf64(0x23e)]?{..._0x226c2d,'values':{..._0x226c2d['values']}}:_0x226c2d['type']===_0x4265c5['References']?{..._0x226c2d,'values':Object[_0x50bf64(0x208)](Object[_0x50bf64(0x311)](_0x226c2d[_0x50bf64(0x226)])[_0x50bf64(0x3b3)](([_0x1cb50b,_0x28e739])=>[_0x1cb50b,_0x28e739&&Ni(_0x28e739,_0x5307a0)]))}:{..._0x226c2d,'values':Object[_0x50bf64(0x208)](Object[_0x50bf64(0x311)](_0x226c2d[_0x50bf64(0x226)])[_0x50bf64(0x3b3)](([_0x55df0e,_0xcb7975])=>[_0x55df0e,_0xcb7975&&Pi(_0xcb7975,_0x5307a0)]))};}function Li(_0x5b7e78,_0x5e15f7,_0x241d76,_0x481565){const _0x9e4053=_0x58e4e4;let _0x13ef6f=_0x4ce057(_0x5b7e78,_0x5e15f7,_0x241d76),_0x436baf=[];for(let _0x25f66f of _0x5e15f7){let _0x4ae408=_0x13ef6f[_0x9e4053(0x145)][_0x9e4053(0x368)](_0x25f66f[_0x9e4053(0x2dc)]),_0x5ce299=_0x481565(_0x25f66f);_0x4ae408&&_0x5ce299&&_0x436baf['push']({'targetChartId':_0x4ae408,'source':Fi(_0x5ce299,_0x241d76)});}return _0x436baf;}let Ri=class extends _0x7b52dc{constructor(_0xa38e11,_0x2d8be8,_0x98eb8,_0x45de97,_0x13fe63){const _0x258b97=_0x58e4e4;super(),this[_0x258b97(0x19c)]=_0xa38e11,this[_0x258b97(0x1a5)]=_0x2d8be8,this['_sheetDrawingService']=_0x98eb8,this[_0x258b97(0x25d)]=_0x45de97,this[_0x258b97(0x392)]=_0x13fe63,this[_0x258b97(0x30a)]();}[_0x58e4e4(0x30a)](){const _0x2f65eb=_0x58e4e4;this[_0x2f65eb(0x105)](this['_sheetInterceptorService'][_0x2f65eb(0x102)]({'getMutations':_0x4dbecc=>{const _0x59b1ad=_0x2f65eb;if(_0x4dbecc['id']===_0x54620f['id']){let _0x126ccb=_0x130794(this[_0x59b1ad(0x19c)],_0x4dbecc[_0x59b1ad(0x2e6)]);if(!_0x126ccb)return{'redos':[],'undos':[]};let {unitId:_0x276da6,subUnitId:_0x30e488}=_0x126ccb,_0xdd1901=this[_0x59b1ad(0x2c1)]['getDrawingData'](_0x276da6,_0x30e488),_0x29f7ef=Object[_0x59b1ad(0x226)](_0xdd1901)['filter'](_0x4b6e94=>_0x4b6e94[_0x59b1ad(0x2c2)]===_0x43df04[_0x59b1ad(0x1aa)]);if(_0x29f7ef['length']===0x0)return{'redos':[],'undos':[]};let _0x3863a3=[],_0x151303=[];for(let _0x440482=0x0;_0x440482<_0x29f7ef['length'];_0x440482++){let _0x5be21d=_0x29f7ef[_0x440482],_0x2bea6b=this['_chartModelService'][_0x59b1ad(0x2aa)](_0x5be21d['drawingId']);if(!_0x2bea6b)continue;let _0x296d95=this[_0x59b1ad(0x392)][_0x59b1ad(0x370)](_0x2bea6b['id']);if(!_0x296d95)continue;let {chartType:_0x12e7a9,context:_0x93c311,style:_0x5917d8,dataAggregation:_0x51a959}=_0x2bea6b[_0x59b1ad(0x373)]();_0x3863a3[_0x59b1ad(0x14a)]({'id':_0x13af68['id'],'params':{'unitId':_0x276da6,'subUnitId':_0x30e488,'chartId':_0x5be21d[_0x59b1ad(0x2dc)]}}),_0x151303[_0x59b1ad(0x14a)]({'id':_0x550a74['id'],'params':{'unitId':_0x276da6,'subUnitId':_0x30e488,'chartId':_0x5be21d[_0x59b1ad(0x2dc)],'chartType':_0x12e7a9,..._0x589193(_0x296d95),'context':_0x93c311,'style':_0x5917d8,'dataAggregation':_0x51a959}});}return{'redos':_0x3863a3,'undos':_0x151303};}if(_0x4dbecc['id']===_0x242788['id']){let {unitId:_0x47b4b7,subUnitId:_0x36a693,targetSubUnitId:_0x12bf3b,copyContext:_0x5b0180}=_0x4dbecc[_0x59b1ad(0x2e6)];if(!_0x47b4b7||!_0x36a693||!_0x12bf3b)return{'redos':[],'undos':[]};let _0x3532dd=this['_sheetDrawingService']['getDrawingData'](_0x47b4b7,_0x36a693),_0x3c49df=Object[_0x59b1ad(0x226)](_0x3532dd)[_0x59b1ad(0x19e)](_0x28f9fb=>_0x28f9fb[_0x59b1ad(0x2c2)]===_0x43df04['DRAWING_CHART']);if(_0x3c49df[_0x59b1ad(0x334)]===0x0)return{'redos':[],'undos':[]};let _0x24fa6a=Li(_0x5b0180,_0x3c49df,{'unitId':_0x47b4b7,'sourceSubUnitId':_0x36a693,'targetSubUnitId':_0x12bf3b},_0x7627a1=>{const _0x2ae128=_0x59b1ad;let _0x55395f=this['_chartModelService'][_0x2ae128(0x2aa)](_0x7627a1[_0x2ae128(0x2dc)]);if(!_0x55395f)return;let _0x56b2b3=this[_0x2ae128(0x392)]['getChartSourceSpec'](_0x55395f['id']);if(!_0x56b2b3)return;let {chartType:_0x4e54ee,context:_0x3fe9f8,style:_0x21d393,dataAggregation:_0x1ec007}=_0x55395f[_0x2ae128(0x373)]();return{'rangeInfo':_0x56b2b3,'chartType':_0x4e54ee,'context':_0x3fe9f8,'style':_0x21d393,'dataAggregation':_0x1ec007};}),_0x23e180=[],_0x5cd57d=[];for(let {targetChartId:_0xe3e692,source:_0x44ce65}of _0x24fa6a){let {rangeInfo:_0xca3c09,chartType:_0x1a6f5a,context:_0x23f4d6,style:_0x165e92,dataAggregation:_0x363897}=_0x44ce65;_0x23e180[_0x59b1ad(0x14a)]({'id':_0x550a74['id'],'params':{'unitId':_0x47b4b7,'subUnitId':_0x12bf3b,'chartId':_0xe3e692,'chartType':_0x1a6f5a,..._0x589193(_0xca3c09),'context':_0x23f4d6,'style':_0x165e92,'dataAggregation':_0x363897}}),_0x5cd57d[_0x59b1ad(0x14a)]({'id':_0x13af68['id'],'params':{'unitId':_0x47b4b7,'subUnitId':_0x12bf3b,'chartId':_0xe3e692}});}return{'redos':_0x23e180,'undos':_0x5cd57d};}return{'redos':[],'undos':[]};}}));}};Ri=q([K(0x0,_0x569e33(_0x5b54fc)),K(0x1,_0x569e33(_0x2cb268)),K(0x2,_0x569e33(_0xcf65a5)),K(0x3,_0x569e33(_0x1e33a9)),K(0x4,_0x569e33(_0x5b7264))],Ri);const zi=_0x3b6236=>_0x3b6236[_0x58e4e4(0x29a)](_0xaf509f[_0x58e4e4(0x16d)])['getUnitId'](),Bi=_0x4b7297=>{const _0x4dab1d=_0x58e4e4;var _0x4ca812;return(_0x4ca812=_0x4b7297['getCurrentUnitOfType'](_0xaf509f['UNIVER_SHEET'])[_0x4dab1d(0x320)]())==null?void 0x0:_0x4ca812[_0x4dab1d(0x358)]();};function Vi(){const _0x433d9c=_0x58e4e4;var _0x1645c3;let _0x4f6d23=_0x341106(Y),_0x401465=_0x341106(_0x1e33a9),_0x20be33=_0x341106(_0x5b7264),_0x18e33d=_0x341106(_0x37903c),_0x9604e8=_0x341106(_0x56051b),_0x474379=_0x1fd812(_0x9604e8),_0xce813e=_0x207894(()=>{const _0x5cbff0=_0x29f5;let _0x11b3e5=Fr(Nr['concat'](),_0x474379);return _0x99c448(_0x11b3e5[_0x5cbff0(0x3b3)](_0x4ef759=>({'id':_0x4ef759['id'],'label':_0x18e33d['t'](_0x5cbff0(0x27a)+_0x4ef759[_0x5cbff0(0x2af)]),'pieSecondaryPlotType':_0x4ef759[_0x5cbff0(0x17d)],'value':_0x4ef759[_0x5cbff0(0x256)]})));},[_0x474379,_0x18e33d]),_0x237ab7=_0x169faa(_0x401465[_0x433d9c(0x288)],_0x401465['activeChartModel']),_0x5b65b0=_0x237ab7?_0x20be33['getChartDataSource'](_0x237ab7['id']):void 0x0,_0x3681dc=_0x169faa(_0x5b65b0==null?void 0x0:_0x5b65b0[_0x433d9c(0x150)],_0x5b65b0==null?void 0x0:_0x5b65b0['getRangeInfo']()),_0x23c9f1=Array['isArray'](_0x3681dc),_0x3bd5c1=_0x3681dc&&!_0x23c9f1&&_0x3681dc[_0x433d9c(0x2b2)]?_0x28717b[_0x433d9c(0x1b1)]:_0x28717b[_0x433d9c(0x186)],_0x789bb4=_0x23c9f1?(_0x1645c3=_0x3681dc[0x0])==null?void 0x0:_0x1645c3[_0x433d9c(0x3b2)]:_0x3681dc==null?void 0x0:_0x3681dc['rangeInfo'];return _0x4200cc(_0x433d9c(0x2ee),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':_0x4200cc(_0x239fe1,{'chartTypeOptions':_0xce813e,'dataSourceControl':_0x4200cc(Hi,{'dataRange':_0x3681dc,'primaryRange':_0x789bb4}),'categoryToggleLabel':_0x18e33d['t'](_0x433d9c(0x21d),_0x3bd5c1===_0x28717b[_0x433d9c(0x1b1)]?_0x3bd5c1+'\x20'+(((_0x789bb4==null?void 0x0:_0x789bb4[_0x433d9c(0x3b2)]['startRow'])??0x0)+0x1):_0x3bd5c1+'\x20'+_0x47d2a3((_0x789bb4==null?void 0x0:_0x789bb4[_0x433d9c(0x3b2)]['startColumn'])??0x0)),'orientationControl':_0x23c9f1?void 0x0:_0x4200cc(_0x3e78e8,{'size':_0x433d9c(0x134),'onClick':()=>_0x4f6d23['setOrientation'](_0x3bd5c1===_0x28717b[_0x433d9c(0x1b1)]?_0x28717b[_0x433d9c(0x186)]:_0x28717b[_0x433d9c(0x1b1)]),'children':_0x18e33d['t'](_0x433d9c(0x386))})})});}function Hi(_0x3f358f){const _0x3282e2=_0x58e4e4;let {dataRange:_0x222944,primaryRange:_0xb95159}=_0x3f358f,_0x50d021=_0x341106(Y),_0x4d888f=_0x341106(_0x37903c),_0x134abe=_0x341106(_0x5b54fc),[_0x30aec1,_0x114bb1]=_0x5b2f59(!0x1),[_0x10b734,_0x5e0148]=_0x5b2f59(!0x1),_0x4894d6=zi(_0x134abe),_0x1ad692=Bi(_0x134abe);_0x34e514(()=>{_0x50d021['setRangeSelectMode'](_0x30aec1);},[_0x30aec1,_0x50d021]);let _0x612ada=_0x207894(()=>_0x1569e2(async _0x14586b=>{const _0x301f38=_0x29f5;var _0x439eb1;if(jr(_0x222944,_0x134abe)===_0x14586b)return;let _0x35e573=_0x14586b[_0x301f38(0x29d)](',')[_0x301f38(0x19e)](Boolean)['map'](_0x404b59)[0x0];if(!_0x35e573)return;let {unitId:_0x42fb11,sheetName:_0x5ef0a2,range:_0x15b5a3}=_0x35e573,_0x575080=_0x42fb11||_0x4894d6,_0x1bbd25=((_0x439eb1=_0x134abe['getUnit'](_0x575080)['getSheetBySheetName'](_0x5ef0a2))==null?void 0x0:_0x439eb1[_0x301f38(0x358)]())||(_0xb95159==null?void 0x0:_0xb95159[_0x301f38(0x28c)])||_0x1ad692;_0x1bbd25&&_0x50d021[_0x301f38(0x3ab)]({'rangeInfo':{'range':_0x15b5a3,'unitId':_0x575080,'subUnitId':_0x1bbd25}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x222944,_0xb95159,_0x50d021,_0x1ad692,_0x4894d6,_0x134abe]);return _0x34e514(()=>()=>_0x612ada['cancel'](),[_0x612ada]),_0x4200cc('div',{'className':_0x3282e2(0x33d),'children':_0x3d17e9(_0x3282e2(0x2ee),{'children':[_0x4200cc(_0x5bbce0,{'title':_0x4d888f['t'](_0x3282e2(0x398))}),_0x4200cc(_0x5f3f11,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4894d6,'subUnitId':_0x1ad692,'initialValue':_0x222944?jr(_0x222944,_0x134abe):'','onChange':(_0x248cef,_0x35e8a1)=>_0x612ada(_0x35e8a1),'onFocusChange':_0xc50a6e=>{_0x10b734||_0x114bb1(_0xc50a6e);},'onRangeSelectorDialogVisibleChange':_0x2673e5=>{_0x5e0148(_0x2673e5),_0x114bb1(_0x2673e5);}})]})});}function Ui(){const _0x49241e=_0x58e4e4;let [_0xff068d,_0xe92e04]=_0x5b2f59(_0x305e77['Data']),_0x68cbe3=_0x341106(_0x56051b),_0x30431e=_0x341106(_0x37903c),_0x3f6e50=_0x341106(Y),_0x43f74b=_0x341106(_0x1e33a9),_0x4b027e=_0x341106(_0x5b7264),_0x5143fc=_0x169faa(_0x43f74b['activeChartModel$'],_0x43f74b['activeChartModel']),_0x5357d0=_0x169faa(_0x3f6e50['panelRoute$'],null),_0x1934cd=_0x207894(()=>{const _0x326917=_0x29f5;var _0x30be75;if(!_0x5143fc)return null;let _0x1be03b=_0x4b027e['getChartSourceSpec'](_0x5143fc['id']);if(!_0x1be03b)return null;let _0xe88b2=Array[_0x326917(0x10d)](_0x1be03b)?(_0x30be75=_0x1be03b[0x0])==null?void 0x0:_0x30be75[_0x326917(0x3b2)]:_0x1be03b['rangeInfo'];return _0xe88b2?new _0x47dff2(_0x5143fc,new _0x4cd08c({'unitId':_0xe88b2['unitId'],'subUnitId':_0xe88b2['subUnitId'],'chartId':_0x5143fc['id'],'injector':_0x68cbe3})):null;},[_0x5143fc,_0x68cbe3,_0x4b027e]);if(_0x34e514(()=>{const _0xae7191=_0x29f5;var _0x333682,_0x350847;_0x5143fc&&(_0x5357d0==null?void 0x0:_0x5357d0[_0xae7191(0x1f8)])===_0x5143fc['id']&&(((_0x333682=_0x5357d0[_0xae7191(0x2fb)])==null?void 0x0:_0x333682[_0xae7191(0x259)])===_0x305e77[_0xae7191(0x29b)]&&_0xe92e04(_0x305e77[_0xae7191(0x29b)]),((_0x350847=_0x5357d0[_0xae7191(0x2fb)])==null?void 0x0:_0x350847[_0xae7191(0x259)])===_0x305e77['Data']&&_0xe92e04(_0x305e77[_0xae7191(0x1a9)]));},[_0x5143fc,_0x5357d0]),!_0x1934cd)return null;let _0x999e7=_0x4200cc(_0x49241e(0x2ee),{'className':_0x49241e(0x181),'children':_0x4200cc(_0x60d2ef,{'ariaLabel':_0x30431e['t'](_0x49241e(0x1d0)),'activeTab':_0xff068d,'onTabChange':_0xe92e04,'tabListClassName':_0x49241e(0x124),'panelClassName':_0xff068d===_0x305e77[_0x49241e(0x29b)]?_0x49241e(0x301):_0x49241e(0x152),'tabs':[{'id':_0x305e77[_0x49241e(0x1a9)],'panelId':_0x49241e(0x1c3),'title':_0x30431e['t'](_0x49241e(0x1c5)),'content':_0x4200cc(Vi,{})},{'id':_0x305e77[_0x49241e(0x29b)],'panelId':'mobile-sheet-chart-style-panel','title':_0x30431e['t'](_0x49241e(0x103)),'content':_0x4200cc(xi,{'defaultValues':gi})}]})});return _0x4200cc(_0x441e57,{'chartUIService':_0x3f6e50,'hostAdapter':_0x1934cd,'children':_0x999e7});}let Wi=class extends _0x7b52dc{constructor(_0x470a0c){const _0x484895=_0x58e4e4;super(),this[_0x484895(0x105)](_0x470a0c[_0x484895(0x3bd)](Ci,Ui));}};Wi=q([K(0x0,_0x569e33(_0x122d09))],Wi);let Gi=class extends _0x7b52dc{constructor(_0x14aa3f,_0x676c44,_0x5789a7,_0xf1f60f,_0x2499cb,_0x171a9f,_0x6a907e,_0x4ca951,_0x40c408){const _0x42ba53=_0x58e4e4;super(),this[_0x42ba53(0x1be)]=_0x14aa3f,this[_0x42ba53(0x25d)]=_0x676c44,this[_0x42ba53(0x36c)]=_0x5789a7,this['_menuManagerService']=_0xf1f60f,this[_0x42ba53(0x302)]=_0x2499cb,this['_commandService']=_0x171a9f,this['_sheetsChartUIService']=_0x6a907e,this[_0x42ba53(0x1b5)]=_0x4ca951,this['_localeService']=_0x40c408,W(this,_0x42ba53(0x243),null),W(this,_0x42ba53(0x346),!0x1),this[_0x42ba53(0x325)]();}[_0x58e4e4(0x125)](){const _0x46d4c1=_0x58e4e4;this[_0x46d4c1(0x1dd)](),super[_0x46d4c1(0x125)]();}[_0x58e4e4(0x1f6)](){const _0x1b1e8e=_0x58e4e4;this[_0x1b1e8e(0x346)]||(this[_0x1b1e8e(0x346)]=!0x0,this[_0x1b1e8e(0x105)](this[_0x1b1e8e(0x116)]['onCommandExecuted'](_0x4eab79=>{const _0x31b3a9=_0x1b1e8e;if(_0x4eab79['id']!==H['id'])return;let _0x1d0059=_0x4eab79[_0x31b3a9(0x2e6)];this[_0x31b3a9(0x378)](_0x1d0059[_0x31b3a9(0x2dc)],_0x1d0059[_0x31b3a9(0x2fb)]);})));}['openChartPanelById'](_0x45e375,_0x5aeb3e){const _0x19fe79=_0x58e4e4;let _0x4d271d=this[_0x19fe79(0x25d)]['getChartModel'](_0x45e375);_0x4d271d&&(this[_0x19fe79(0x25d)][_0x19fe79(0x1ef)](_0x4d271d),this[_0x19fe79(0x2f3)](),this[_0x19fe79(0x339)]['setChartEditorOpen'](!0x0),this[_0x19fe79(0x339)][_0x19fe79(0x267)](_0x45e375,_0x5aeb3e??null));}[_0x58e4e4(0x1dd)](){const _0x3133b8=_0x58e4e4;let _0x1d28c0=this[_0x3133b8(0x243)];this[_0x3133b8(0x243)]=null,this[_0x3133b8(0x1b6)](),_0x1d28c0==null||_0x1d28c0[_0x3133b8(0x125)]();}[_0x58e4e4(0x325)](){const _0x339c06=_0x58e4e4;this['_menuManagerService'][_0x339c06(0x215)]({[_0x134022[_0x339c06(0x312)]]:{[U['id']]:{'order':0x4,'menuItemFactory':Ir}}}),this[_0x339c06(0x302)]['registerFeatureMenu'](_0x43df04[_0x339c06(0x1aa)],(_0x3b66b1,_0x234881,_0x1503ee,_0x193848)=>[{'label':this['_localeService']['t']('sheets-chart-ui.common.editChart'),'index':0x0,'commandId':H['id'],'commandParams':{'unitId':_0x3b66b1,'subUnitId':_0x234881,'drawingId':_0x1503ee},'disable':_0x193848!==_0x43df04[_0x339c06(0x1aa)]},{'label':this['_localeService']['t'](_0x339c06(0x38f)),'index':0x1,'commandId':_0x52fe4a['id'],'commandParams':{'unitId':_0x3b66b1,'drawings':[{'unitId':_0x3b66b1,'subUnitId':_0x234881,'drawingId':_0x1503ee,'drawingType':_0x193848}]},'disable':!0x1}],_0x339c06(0x3bf));}[_0x58e4e4(0x2f3)](){const _0x5b9546=_0x58e4e4;this[_0x5b9546(0x243)]=this[_0x5b9546(0x36c)]['open']({'id':Ci,'header':{'title':this[_0x5b9546(0x242)]['t']('sheets-chart-ui.common.editChart')},'children':{'label':Ci},'onClose':()=>{this['_sidebarDisposable']=null,this['_clearPanelState']();}});}[_0x58e4e4(0x1b6)](){const _0x4c3332=_0x58e4e4;this[_0x4c3332(0x339)]['setChartEditorOpen'](!0x1),this[_0x4c3332(0x339)]['clearPanelRoute'](),this[_0x4c3332(0x25d)]['activeChartModel']&&this[_0x4c3332(0x25d)][_0x4c3332(0x1ef)](null),this['_drawingManagerService'][_0x4c3332(0x1ed)](null),this[_0x4c3332(0x1b5)][_0x4c3332(0x332)](_0x654e75,!0x1);}};Gi=q([K(0x0,_0x1e7a38),K(0x1,_0x569e33(_0x1e33a9)),K(0x2,_0x569e33(_0x14cdc6)),K(0x3,_0x26ea5c),K(0x4,_0x569e33(_0x4b4fef)),K(0x5,_0x10f119),K(0x6,Y),K(0x7,_0x2eb5c4),K(0x8,_0x569e33(_0x37903c))],Gi);let Ki=class extends _0x7b52dc{constructor(_0x568490,_0x1c4521,_0x2ab6a1,_0x16d124,_0xee0ae9){const _0x129188=_0x58e4e4;super(),this['_sheetSkeletonService']=_0x568490,this[_0x129188(0x376)]=_0x1c4521,this['_sheetDrawingService']=_0x2ab6a1,this['_chartModelService']=_0x16d124,this[_0x129188(0x392)]=_0xee0ae9,W(this,_0x129188(0x188),void 0x0),this[_0x129188(0x396)]();}get[_0x58e4e4(0x216)](){const _0x513ca8=_0x58e4e4;return this[_0x513ca8(0x2c1)]['getFocusDrawings']();}[_0x58e4e4(0x396)](){const _0x4a9b44=_0x58e4e4;this[_0x4a9b44(0x105)](this[_0x4a9b44(0x376)][_0x4a9b44(0x269)]({'id':_0x1a849f,'onBeforeCopyFocusedObject':(_0x45ae04,_0xb9b814,_0x2be47c)=>{const _0x35369f=_0x4a9b44;this[_0x35369f(0x188)]=null;let _0x1b2ac1=this[_0x35369f(0x216)]['filter'](_0x4b9f17=>this['_isOwnedChart'](_0x4b9f17));return _0x1b2ac1['length']!==0x0&&(this[_0x35369f(0x188)]={'unitId':_0x45ae04,'subUnitId':_0xb9b814,'copyType':_0x2be47c,'drawings':_0x1b2ac1},!0x0);},'onBeforeCopy':(_0x409c44,_0x181c45,_0x32c76b,_0x57cde8)=>{const _0x3c6a7b=_0x4a9b44;this['_copyInfo']=null,this[_0x3c6a7b(0x212)](_0x409c44,_0x181c45,_0x32c76b,_0x57cde8);},'onPasteCells':(_0x388ebc,_0x18da43,_0x5a7c3c,_0x51a585)=>{const _0x3d413c=_0x4a9b44;if(!_0x51a585[_0x3d413c(0x1b3)]||!_0x388ebc||!this[_0x3d413c(0x188)])return{'redos':[],'undos':[]};let {pasteType:_0x333071}=_0x51a585;return _0x333071===_0x105d29[_0x3d413c(0x1ec)]?this['_generatePasteMutations'](_0x18da43,this[_0x3d413c(0x188)][_0x3d413c(0x25e)]===_0x5d9d74[_0x3d413c(0x192)]):{'redos':[],'undos':[]};}}));}[_0x58e4e4(0x212)](_0x71f907,_0x485c6e,_0x1f51c6,_0x36363b){const _0x48eb6a=_0x58e4e4;let _0x37c82b=this[_0x48eb6a(0x130)]['getSkeleton'](_0x71f907,_0x485c6e);if(!_0x37c82b)return;let _0x2f7ca6=_0x5067a4(_0x37c82b,_0x1f51c6);if(!_0x2f7ca6)return;let {startX:_0x26e1da,endX:_0x529c1d,startY:_0x287de1,endY:_0x1997f3}=_0x2f7ca6,_0x4b0406=this[_0x48eb6a(0x2c1)][_0x48eb6a(0x28e)](_0x71f907,_0x485c6e),_0x110e5c=[];for(let [_0x7a1c50,_0x1020bd]of Object[_0x48eb6a(0x311)](_0x4b0406)){if(!this['_isOwnedChart'](_0x1020bd))continue;let {transform:_0x140226}=_0x1020bd;if(!_0x140226)continue;let {left:_0x39f628=0x0,top:_0x594b38=0x0,width:_0x58534b=0x0,height:_0x456b8c=0x0}=_0x140226;_0x26e1da<=_0x39f628&&_0x529c1d>=_0x39f628+_0x58534b&&_0x287de1<=_0x594b38&&_0x1997f3>=_0x594b38+_0x456b8c&&_0x110e5c[_0x48eb6a(0x14a)](_0x1020bd);}_0x110e5c[_0x48eb6a(0x334)]>0x0&&(this[_0x48eb6a(0x188)]={'unitId':_0x71f907,'subUnitId':_0x485c6e,'copyType':_0x36363b,'copyRange':_0x1f51c6,'drawings':_0x110e5c});}['_isOwnedChart'](_0x1919ea){const _0x5de08a=_0x58e4e4;return _0x1919ea[_0x5de08a(0x2c2)]===_0x43df04[_0x5de08a(0x1aa)]&&this[_0x5de08a(0x392)][_0x5de08a(0x141)](_0x1919ea[_0x5de08a(0x380)],_0x1919ea['drawingId'])===_0x1919ea[_0x5de08a(0x28c)];}[_0x58e4e4(0x393)](_0x3fc118,_0x10a7f5){const _0x36587f=_0x58e4e4;let {unitId:_0x1e14ad,subUnitId:_0x5bb887,range:_0x3da128}=_0x3fc118,_0x1e3dce=this[_0x36587f(0x130)][_0x36587f(0x1a8)](_0x1e14ad,_0x5bb887);if(!_0x1e3dce)return{'redos':[],'undos':[]};let _0x40f56a=_0x5ebcb8(_0x3da128),{unitId:_0x4445ea,subUnitId:_0x41b72f,copyRange:_0xa62d79,drawings:_0xc94191}=this[_0x36587f(0x188)],_0x4b72c5=this[_0x36587f(0x130)]['getSkeleton'](_0x4445ea,_0x41b72f);if(!_0x4b72c5)return{'redos':[],'undos':[]};let _0x4b4769=[],_0x45e7cc=[];for(let _0x1572d7 of _0xc94191){let {drawingId:_0xc98f43,transform:_0x210195,sheetTransform:_0x652d90}=_0x1572d7,_0x58e6c6=this['_chartModelService']['getChartModel'](_0xc98f43);if(!_0x58e6c6||!_0x210195||!_0x652d90)continue;let _0x3f8120=this[_0x36587f(0x2f0)]({'transform':_0x210195,'sheetTransform':_0x652d90},{'skeleton':_0x4b72c5,'range':_0xa62d79},{'skeleton':_0x1e3dce,'range':_0x40f56a});if(_0x10a7f5){let {redos:_0x129f54,undos:_0x553e3e}=this['_generateCutPasteMutations']({'fromUnitId':_0x4445ea,'fromSubUnitId':_0x41b72f,'toUnitId':_0x1e14ad,'toSubUnitId':_0x5bb887,'drawing':_0x1572d7,'newTransforms':_0x3f8120},_0x58e6c6);_0x4b4769[_0x36587f(0x14a)](..._0x129f54),_0x45e7cc[_0x36587f(0x14a)](..._0x553e3e);continue;}let {redos:_0x23f8a6,undos:_0x1f72bd}=this[_0x36587f(0x14c)]({'toUnitId':_0x1e14ad,'toSubUnitId':_0x5bb887,'drawing':_0x1572d7,'newTransforms':_0x3f8120},_0x58e6c6);_0x4b4769['push'](..._0x23f8a6),_0x45e7cc['push'](..._0x1f72bd);}return{'redos':_0x4b4769,'undos':_0x45e7cc};}[_0x58e4e4(0x26a)](_0x14fd3f,_0x507eba){const _0x379140=_0x58e4e4;let {fromUnitId:_0x547142,fromSubUnitId:_0x3f23b7,toUnitId:_0x458e5b,toSubUnitId:_0x2a9f23,drawing:_0x49b947,newTransforms:_0x10aa41}=_0x14fd3f,_0x11a46f={..._0x49b947,'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'transform':_0x10aa41[_0x379140(0x361)],'sheetTransform':_0x10aa41[_0x379140(0x2a8)]};if(_0x458e5b===_0x547142&&_0x2a9f23===_0x3f23b7){let {redo:_0x3f81a5,undo:_0x5928b1,objects:_0x5d398f}=this[_0x379140(0x2c1)][_0x379140(0x169)]([_0x11a46f]);return{'redos':[{'id':_0x189847['id'],'params':{'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'type':_0x398764[_0x379140(0x282)],'op':_0x3f81a5,'objects':_0x5d398f}}],'undos':[{'id':_0x189847['id'],'params':{'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'type':_0x398764[_0x379140(0x282)],'op':_0x5928b1,'objects':_0x5d398f}}]};}{let _0x2b73fd=this['_sheetDrawingService'][_0x379140(0x262)]([_0x49b947]),_0x4efb46=this[_0x379140(0x2c1)][_0x379140(0x1ea)]([_0x11a46f]),_0x57e7eb=this[_0x379140(0x392)][_0x379140(0x370)](_0x507eba['id']);if(!_0x57e7eb)return{'redos':[],'undos':[]};let {chartType:_0x3c990a,context:_0x3e98a6,style:_0x53bfe8,dataAggregation:_0x3c7a89}=_0x507eba['serialize']();return{'redos':[{'id':_0x189847['id'],'params':{'unitId':_0x547142,'subUnitId':_0x3f23b7,'type':_0x398764[_0x379140(0x11d)],'op':_0x2b73fd[_0x379140(0x2f5)],'objects':_0x2b73fd[_0x379140(0x1d3)]}},{'id':_0x13af68['id'],'params':{'unitId':_0x547142,'subUnitId':_0x3f23b7,'chartId':_0x49b947['drawingId']}},{'id':_0x189847['id'],'params':{'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'type':_0x398764[_0x379140(0x20a)],'op':_0x4efb46[_0x379140(0x2f5)],'objects':_0x4efb46['objects']}},{'id':_0x550a74['id'],'params':{'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'chartId':_0x49b947[_0x379140(0x2dc)],'chartType':_0x3c990a,..._0x589193(_0x57e7eb),'context':_0x3e98a6,'style':_0x53bfe8,'dataAggregation':_0x3c7a89}}],'undos':[{'id':_0x189847['id'],'params':{'unitId':_0x547142,'subUnitId':_0x3f23b7,'type':_0x398764[_0x379140(0x20a)],'op':_0x2b73fd[_0x379140(0x2d2)],'objects':_0x2b73fd[_0x379140(0x1d3)]}},{'id':_0x550a74['id'],'params':{'unitId':_0x547142,'subUnitId':_0x3f23b7,'chartId':_0x49b947[_0x379140(0x2dc)],'chartType':_0x3c990a,..._0x589193(_0x57e7eb),'context':_0x3e98a6,'style':_0x53bfe8,'dataAggregation':_0x3c7a89}},{'id':_0x189847['id'],'params':{'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'type':_0x398764['REMOVE'],'op':_0x4efb46['undo'],'objects':_0x4efb46['objects']}},{'id':_0x13af68['id'],'params':{'unitId':_0x458e5b,'subUnitId':_0x2a9f23,'chartId':_0x49b947['drawingId']}}]};}}[_0x58e4e4(0x14c)](_0x31bc9b,_0x300d8e){const _0x1ea222=_0x58e4e4;let {toUnitId:_0x1e6b8e,toSubUnitId:_0x27b205,drawing:_0x8f4c92,newTransforms:_0xb686af}=_0x31bc9b,_0x329e96=_0x5120c1(),_0x1d9b76={..._0x8f4c92,'unitId':_0x1e6b8e,'subUnitId':_0x27b205,'drawingId':_0x329e96,'transform':_0xb686af['transform'],'sheetTransform':_0xb686af[_0x1ea222(0x2a8)]},{redo:_0xcea574,undo:_0x3df2c8,objects:_0x5aaa1b}=this['_sheetDrawingService'][_0x1ea222(0x1ea)]([_0x1d9b76]),_0x535430=this['_sheetsChartService'][_0x1ea222(0x370)](_0x300d8e['id']);if(!_0x535430)return{'redos':[],'undos':[]};let {chartType:_0x4dc561,context:_0x11d4fe,style:_0x3e36dc,dataAggregation:_0x536441}=_0x300d8e[_0x1ea222(0x373)]();return{'redos':[{'id':_0x189847['id'],'params':{'unitId':_0x1e6b8e,'subUnitId':_0x27b205,'type':_0x398764[_0x1ea222(0x20a)],'op':_0xcea574,'objects':_0x5aaa1b}},{'id':_0x550a74['id'],'params':{'unitId':_0x1e6b8e,'subUnitId':_0x27b205,'chartId':_0x329e96,'chartType':_0x4dc561,..._0x589193(_0x535430),'context':_0x11d4fe,'style':_0x3e36dc,'dataAggregation':_0x536441}}],'undos':[{'id':_0x189847['id'],'params':{'unitId':_0x1e6b8e,'subUnitId':_0x27b205,'type':_0x398764[_0x1ea222(0x11d)],'op':_0x3df2c8,'objects':_0x5aaa1b}},{'id':_0x13af68['id'],'params':{'unitId':_0x1e6b8e,'subUnitId':_0x27b205,'chartId':_0x329e96}}]};}[_0x58e4e4(0x2f0)](_0x2b6106,_0x484986,_0x31a937){const _0x537ff7=_0x58e4e4;let {range:_0x337bbf,skeleton:_0x3f6059}=_0x484986,{range:_0x139093,skeleton:_0x39723a}=_0x31a937,{transform:_0x5c1dfc,sheetTransform:_0x453bf1}=_0x2b6106,_0x3dfc59={..._0x5c1dfc};if(_0x337bbf){let _0x4a1a9b=_0x5067a4(_0x3f6059,_0x337bbf),_0x4fc488=_0x5067a4(_0x39723a,_0x139093);if(_0x4a1a9b&&_0x4fc488){let _0xc24fd5=_0x4fc488[_0x537ff7(0x11c)]-_0x4a1a9b['startX'],_0x50ac2c=_0x4fc488[_0x537ff7(0x2e3)]-_0x4a1a9b[_0x537ff7(0x2e3)];_0x3dfc59['left']=(_0x3dfc59['left']??0x0)+_0xc24fd5,_0x3dfc59[_0x537ff7(0x23a)]=(_0x3dfc59['top']??0x0)+_0x50ac2c;}}else{let _0x1a89dc=_0x5067a4(_0x39723a,_0x139093);_0x3dfc59[_0x537ff7(0x270)]=_0x1a89dc==null?void 0x0:_0x1a89dc['startX'],_0x3dfc59['top']=_0x1a89dc==null?void 0x0:_0x1a89dc[_0x537ff7(0x2e3)];}return{'transform':_0x3dfc59,'sheetTransform':_0x53cf80(_0x3dfc59,_0x39723a)??_0x453bf1};}};Ki=q([K(0x0,_0x569e33(_0x2f70f2)),K(0x1,_0x569e33(_0x246f06)),K(0x2,_0x569e33(_0xcf65a5)),K(0x3,_0x569e33(_0x1e33a9)),K(0x4,_0x569e33(_0x5b7264))],Ki);let qi=class extends _0x7b52dc{constructor(_0x42bd26,_0x2d5edf,_0x1d67d9,_0x2d3dad){const _0x4a5ec8=_0x58e4e4;super(),this[_0x4a5ec8(0x116)]=_0x42bd26,this[_0x4a5ec8(0x242)]=_0x2d5edf,this[_0x4a5ec8(0x245)]=_0x1d67d9,this[_0x4a5ec8(0x392)]=_0x2d3dad,this['_initPermission']();}[_0x58e4e4(0x2e1)](){const _0x23b9d5=_0x58e4e4;this[_0x23b9d5(0x105)](this[_0x23b9d5(0x116)][_0x23b9d5(0x222)](_0x44b526=>{const _0x1937ea=_0x23b9d5;let _0x1c8354,_0x16eba7;if(_0x44b526['id']===_0x467e05['id']){let _0x350acd=_0x44b526[_0x1937ea(0x2e6)];_0x1c8354=_0x350acd['unitId'],_0x16eba7=_0x350acd[_0x1937ea(0x28c)];}else{if(_0x44b526['id']===_0x22f7cc['id']||_0x44b526['id']===_0x112901['id']){let _0x53f5e9=_0x44b526[_0x1937ea(0x2e6)];_0x1c8354=_0x53f5e9['unitId'],_0x16eba7=this[_0x1937ea(0x392)][_0x1937ea(0x141)](_0x53f5e9[_0x1937ea(0x380)],_0x53f5e9[_0x1937ea(0x163)]);}}_0x1c8354&&_0x16eba7&&(this['_sheetPermissionCheckController']['permissionCheckWithoutRange']({'workbookTypes':[_0x554cec],'worksheetTypes':[_0x32625b]},_0x1c8354,_0x16eba7)||this[_0x1937ea(0x245)][_0x1937ea(0x360)](this[_0x1937ea(0x242)]['t']('sheets-chart-ui.permission.editErr')));}));}};qi=q([K(0x0,_0x569e33(_0x10f119)),K(0x1,_0x569e33(_0x37903c)),K(0x2,_0x569e33(_0x47e334)),K(0x3,_0x569e33(_0x5b7264))],qi);let Z=class extends _0x7b52dc{constructor(_0x5e5315,_0x32f971){const _0x58d169=_0x58e4e4;super(),this[_0x58d169(0x171)]=_0x32f971,this[_0x58d169(0x105)](_0x5e5315['register'](this));}[_0x58e4e4(0x209)](_0x3b0a18){const _0x5d6299=_0x58e4e4;return _0x5d6299(0x380)in _0x3b0a18&&'subUnitId'in _0x3b0a18;}[_0x58e4e4(0x2a4)](_0x28fdb8,_0x1d57f6){const _0x27a773=_0x58e4e4;return this[_0x27a773(0x171)][_0x27a773(0x2a4)](_0x28fdb8['getId'](),_0x1d57f6);}};Z=q([K(0x0,_0x569e33(_0x105d73)),K(0x1,_0x569e33(J))],Z);let Q=class extends _0x5bf473{constructor(_0x48ecba=Cr,_0x4a1e56,_0x133aa2,_0x34144d){const _0x478423=_0x58e4e4;super(),this['_config']=_0x48ecba,this[_0x478423(0x172)]=_0x4a1e56,this[_0x478423(0x211)]=_0x133aa2,this[_0x478423(0x116)]=_0x34144d;let {..._0xf0083e}=_0x11a014({},Cr,this[_0x478423(0x309)]);this[_0x478423(0x211)][_0x478423(0x13b)](Sr,_0xf0083e),this[_0x478423(0x176)]();}['onStarting'](){const _0x112e99=_0x58e4e4;let _0x3e4a42=[[Wi],[Y,{'useClass':mi}],[ui,{'useClass':li}],[ni],[J],[Z],[Gi],[ji],[Mi],[Ki],[Ri],[qi]],_0xc8cd1e=[[Wi],[Gi],[Mi],[ji],[Z],[Y],[Ki],[Ri],[qi]];_0x3e4a42['forEach'](_0x3a337c=>this[_0x112e99(0x172)]['add'](_0x3a337c)),_0x1942f9(this[_0x112e99(0x172)],_0xc8cd1e);}['onRendered'](){const _0x1d7e17=_0x58e4e4;var _0x1d80b1;(_0x1d80b1=this[_0x1d7e17(0x172)]['get'](Gi))==null||_0x1d80b1['initPanel']();}['_initCommands'](){const _0x44976f=_0x58e4e4;[U,H]['forEach'](_0x51cf8b=>this[_0x44976f(0x105)](this[_0x44976f(0x116)][_0x44976f(0x2bb)](_0x51cf8b)));}};W(Q,_0x58e4e4(0x2e2),_0xaf509f['UNIVER_SHEET']),W(Q,_0x58e4e4(0x248),_0x58e4e4(0x2c8)),W(Q,'packageName',ki),W(Q,_0x58e4e4(0x2f7),Ai),Q=q([_0x39613b(_0x28eac2,_0x868a1c,_0x15fe35,_0x1dcfa0,_0x4288b5,_0x29b95c,_0x67f924,_0x4484cc,_0x27b4b2,_0x2c7e38),K(0x1,_0x569e33(_0x56051b)),K(0x2,_0x58cb4f),K(0x3,_0x10f119)],Q);const Ji={'scaleX':0x1,'scaleY':0x1};function Yi(_0x36e4e7){const _0xc0bd36=_0x58e4e4;let _0x233857=_0x36e4e7[_0xc0bd36(0x1eb)];return _0x233857 instanceof MouseEvent?_0x233857:void 0x0;}function Xi(_0x14643e){const _0x46b799=_0x58e4e4;let _0x3fa723=_0x14643e[_0x46b799(0x1eb)],_0x1449b5=_0x3fa723==null?void 0x0:_0x3fa723[_0x46b799(0x11f)];return _0x1449b5 instanceof Element?_0x1449b5:void 0x0;}function Zi(_0x55199c){const _0x35ffa1=_0x58e4e4;var _0x5c239a;return(_0x5c239a=Xi(_0x55199c))==null?void 0x0:_0x5c239a[_0x35ffa1(0xff)]();}function Qi(_0x17bf67){const _0x4e4f5e=_0x58e4e4;return _0x17bf67[_0x4e4f5e(0x384)]||_0x17bf67[_0x4e4f5e(0x213)]-_0x17bf67[_0x4e4f5e(0x270)];}function $i(_0x26d55f){const _0x4b0300=_0x58e4e4;return _0x26d55f['height']||_0x26d55f[_0x4b0300(0x35f)]-_0x26d55f['top'];}function ea(_0x403e4d,_0x27f46a){const _0x557a89=_0x58e4e4;let _0x319c2a=_0x403e4d['clientWidth']||(_0x403e4d instanceof HTMLElement?_0x403e4d[_0x557a89(0x21c)]:0x0),_0x251b98=_0x403e4d[_0x557a89(0x303)]||(_0x403e4d instanceof HTMLElement?_0x403e4d[_0x557a89(0x375)]:0x0),_0x4d2d8b=Qi(_0x27f46a),_0x171b61=$i(_0x27f46a);return{'scaleX':_0x319c2a>0x0&&_0x4d2d8b>0x0?_0x4d2d8b/_0x319c2a:Ji[_0x557a89(0x2a6)],'scaleY':_0x251b98>0x0&&_0x171b61>0x0?_0x171b61/_0x251b98:Ji['scaleY']};}function ta(_0x3683ea,_0x17348c,_0x3e7792){const _0x4cc5a5=_0x58e4e4;return{'left':_0x3683ea[_0x4cc5a5(0x270)]+_0x17348c['left']*_0x3e7792['scaleX'],'right':_0x3683ea[_0x4cc5a5(0x270)]+_0x17348c[_0x4cc5a5(0x213)]*_0x3e7792[_0x4cc5a5(0x2a6)],'top':_0x3683ea['top']+_0x17348c[_0x4cc5a5(0x23a)]*_0x3e7792[_0x4cc5a5(0x263)],'bottom':_0x3683ea['top']+_0x17348c[_0x4cc5a5(0x35f)]*_0x3e7792[_0x4cc5a5(0x263)]};}function na(_0xb67c3a){const _0x301210=_0x58e4e4;let _0x506a00=Xi(_0xb67c3a),_0x1b0d1f=_0xb67c3a[_0x301210(0x281)][_0x301210(0x144)];return _0x506a00&&_0x1b0d1f?()=>{let _0x340d42=_0x506a00['getBoundingClientRect']();return ta(_0x340d42,_0x1b0d1f,ea(_0x506a00,_0x340d42));}:()=>{const _0x259abf=_0x301210;let _0x517d2c=Zi(_0xb67c3a);if(_0x517d2c&&_0x1b0d1f)return ta(_0x517d2c,_0x1b0d1f,_0x506a00?ea(_0x506a00,_0x517d2c):Ji);let _0x56bf82=Yi(_0xb67c3a),_0x16ee67=_0x506a00&&_0x517d2c?ea(_0x506a00,_0x517d2c):Ji,_0x1baa26=(_0x56bf82==null?void 0x0:_0x56bf82[_0x259abf(0x36f)])??(_0x517d2c?_0x517d2c['left']+_0xb67c3a[_0x259abf(0x26c)]['x']*_0x16ee67['scaleX']:_0xb67c3a[_0x259abf(0x26c)]['x']),_0xfe09c3=(_0x56bf82==null?void 0x0:_0x56bf82[_0x259abf(0x161)])??(_0x517d2c?_0x517d2c[_0x259abf(0x23a)]+_0xb67c3a[_0x259abf(0x26c)]['y']*_0x16ee67[_0x259abf(0x263)]:_0xb67c3a[_0x259abf(0x26c)]['y']);return{'left':_0x1baa26,'right':_0x1baa26+0x1,'top':_0xfe09c3,'bottom':_0xfe09c3+0x1};};}function ra(_0x7940ed){const _0xad3816=_0x58e4e4;return typeof _0x7940ed==_0xad3816(0x3b8)&&Number[_0xad3816(0x2c5)](_0x7940ed);}function ia(_0x15703d){const _0x25c8e1=_0x58e4e4;if(!_0x15703d||typeof _0x15703d!=_0x25c8e1(0x36d))return!0x0;let {startX:_0x4aab9b,endX:_0x2fee5e,startY:_0x21c362,endY:_0x5c71d9}=_0x15703d;return!ra(_0x4aab9b)||!ra(_0x2fee5e)||!ra(_0x21c362)||!ra(_0x5c71d9)||_0x2fee5e-_0x4aab9b>0x2&&_0x5c71d9-_0x21c362>0x2;}function aa(_0x52e625){const _0x4b0e5a=_0x58e4e4;return _0x52e625[_0x4b0e5a(0x213)]<=_0x52e625[_0x4b0e5a(0x270)]||_0x52e625[_0x4b0e5a(0x35f)]<=_0x52e625[_0x4b0e5a(0x23a)]?!0x1:typeof window>'u'||_0x52e625['right']>0x0&&_0x52e625['bottom']>0x0&&_0x52e625[_0x4b0e5a(0x270)]<window['innerWidth']&&_0x52e625[_0x4b0e5a(0x23a)]<window['innerHeight'];}function oa(_0x18ee35){var _0x52d523;return _0x18ee35==null||(_0x52d523=_0x18ee35['getValue'])==null?void 0x0:_0x52d523['call'](_0x18ee35);}function sa(_0x3e6e4a,_0x2efcd0,_0x4ede13){const _0x152084=_0x58e4e4;let _0x8afbb3=na(_0x3e6e4a),_0x1b145a=oa(_0x2efcd0),_0x2f8eb6=_0x8afbb3(),_0x48d3f7=new _0x251b31(_0x2f8eb6),_0x40be4c=new _0x2329d0(),_0x189a13=!0x1,_0x2398ae=!0x1,_0x501527=_0xc6f781=>ia(_0x1b145a)&&aa(_0xc6f781),_0x378160=()=>{_0x2398ae||_0x189a13||(_0x2398ae=!0x0,queueMicrotask(()=>{if(_0x2398ae=!0x1,!_0x189a13){let _0x59a026=_0x8afbb3();if(!_0x501527(_0x59a026)){_0x4ede13();return;}_0x48d3f7['next'](_0x59a026);}}));};return _0x2efcd0&&_0x40be4c['add'](_0x2efcd0[_0x152084(0x1ca)](_0x1db3b8=>{_0x1b145a=_0x1db3b8,_0x378160();})),typeof window<'u'&&_0x40be4c[_0x152084(0x1c7)](_0x3f8f2e(_0x1c4ba6(window,_0x152084(0x25f),{'capture':!0x0}),_0x1c4ba6(window,_0x152084(0x25a)))[_0x152084(0x3b1)](_0xc9a711(0x10))[_0x152084(0x1ca)](_0x378160)),{'initialRect':_0x2f8eb6,'anchorRect$':_0x48d3f7['asObservable'](),'visible':_0x501527(_0x2f8eb6),'dispose':()=>{const _0x3c3f7e=_0x152084;_0x189a13=!0x0,_0x40be4c['dispose'](),_0x48d3f7[_0x3c3f7e(0x1f9)]();}};}const ca=_0x58e4e4(0x2e5);let la=class extends _0x7b52dc{constructor(_0x3a599c,_0x5d3611,_0x43bb17,_0x2bd7f9,_0x1a7cf8,_0x319f92,_0x4dc87e,_0x33b3bf,_0x2e49d9){const _0x299c73=_0x58e4e4;super(),this['_chartModelService']=_0x3a599c,this[_0x299c73(0x28f)]=_0x5d3611,this[_0x299c73(0x140)]=_0x43bb17,this['_sheetCanvasPopManagerService']=_0x2bd7f9,this[_0x299c73(0x1c9)]=_0x1a7cf8,this[_0x299c73(0x250)]=_0x319f92,this['_adapterRegistry']=_0x4dc87e,this[_0x299c73(0x116)]=_0x33b3bf,this[_0x299c73(0x172)]=_0x2e49d9,W(this,'_popupDisposable',null),W(this,'_popupChartId',null),W(this,'_popupSessionKey',null),this[_0x299c73(0x122)](),this[_0x299c73(0x38b)]();}[_0x58e4e4(0x125)](){const _0x41170e=_0x58e4e4;this[_0x41170e(0x314)](),super[_0x41170e(0x125)]();}[_0x58e4e4(0x122)](){const _0x5c81bb=_0x58e4e4;let _0x57e2ec=_0xb3abd({'chartUIService':this['_chartUIService'],'getHostAdapter':_0x5a4dba=>{const _0x3badff=_0x29f5;let _0x39d0e7=this[_0x3badff(0x25d)][_0x3badff(0x2aa)](_0x5a4dba['chartId']);if(_0x39d0e7&&_0x5a4dba['subUnitId'])return new _0x47dff2(_0x39d0e7,new _0x4cd08c({'unitId':_0x5a4dba[_0x3badff(0x380)],'subUnitId':_0x5a4dba[_0x3badff(0x28c)],'chartId':_0x5a4dba[_0x3badff(0x1f8)],'injector':this[_0x3badff(0x172)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x4f93e6=>{const _0x2b02f0=_0x29f5;let {unitId:_0x34274e,subUnitId:_0x3b600c,drawingId:_0x2213e9,chartId:_0x1a7f34}=_0x4f93e6,_0x3a7173=_0xb7f32b(_0x4f93e6[_0x2b02f0(0x11f)]);this[_0x2b02f0(0x116)][_0x2b02f0(0x1ee)](H['id'],{'unitId':_0x34274e,'subUnitId':_0x3b600c??'','drawingId':_0x2213e9??_0x1a7f34,..._0x3a7173?{'route':_0x3a7173}:{}});}});this[_0x5c81bb(0x105)](this[_0x5c81bb(0x2fd)][_0x5c81bb(0x3bd)](ca,_0x57e2ec));}['_subscribeChartEvents'](){const _0x318b8b=_0x58e4e4;this[_0x318b8b(0x105)](this[_0x318b8b(0x25d)][_0x318b8b(0x283)][_0x318b8b(0x1ca)](_0x212ea6=>{const _0x436457=_0x318b8b;let _0x517d4b=new _0x2329d0();_0x517d4b[_0x436457(0x1c7)](this[_0x436457(0x28f)]['on'](_0x212ea6['id'],_0x436457(0x1cf),_0x145bf6=>{this['_openFloatMenu'](_0x212ea6['id'],_0x145bf6);})),_0x517d4b[_0x436457(0x1c7)](this[_0x436457(0x28f)]['on'](_0x212ea6['id'],_0x436457(0x295),()=>{const _0x46315b=_0x436457;this[_0x46315b(0x3a2)](_0x212ea6['id']);})),_0x212ea6['onDispose'](()=>{const _0x2b83d5=_0x436457;_0x517d4b[_0x2b83d5(0x125)](),this[_0x2b83d5(0x2c9)](_0x212ea6['id']);}),this[_0x436457(0x105)](_0x517d4b);})),this['disposeWithMe'](_0x485af5([this[_0x318b8b(0x25d)][_0x318b8b(0x288)],this[_0x318b8b(0x250)][_0x318b8b(0x255)]])[_0x318b8b(0x1ca)](([_0x42f0b3,_0x30b7ef])=>{const _0x46e3db=_0x318b8b;(!_0x30b7ef||this[_0x46e3db(0x34a)]&&(_0x42f0b3==null?void 0x0:_0x42f0b3['id'])!==this[_0x46e3db(0x34a)])&&this['_closePopup']();})),this[_0x318b8b(0x105)](this['_sheetCanvasFloatDomManagerService'][_0x318b8b(0x1e8)][_0x318b8b(0x1ca)](({id:_0x1ca026})=>{this['_clearSelectedTarget'](_0x1ca026);})),this[_0x318b8b(0x105)](this[_0x318b8b(0x1c9)][_0x318b8b(0x364)][_0x318b8b(0x1ca)](({id:_0x478500})=>{this['_clearSelectedTarget'](_0x478500);})),this[_0x318b8b(0x105)](this[_0x318b8b(0x140)][_0x318b8b(0x385)][_0x318b8b(0x1ca)](_0x982758=>{const _0x1371f3=_0x318b8b;this[_0x1371f3(0x2c9)](_0x982758);}));}['_openEditPanelByDoubleClick'](_0xdb21d9){const _0x31ced8=_0x58e4e4;if(this[_0x31ced8(0x250)]['chartEditorOpen'])return;let _0x3b4b16=this['_chartModelService']['getChartModel'](_0xdb21d9),_0xfef217=this['_sheetCanvasFloatDomManagerService'][_0x31ced8(0x1c0)](_0xdb21d9);_0x3b4b16&&_0xfef217&&this[_0x31ced8(0x116)][_0x31ced8(0x1ee)](H['id'],{'unitId':_0xfef217[_0x31ced8(0x380)],'subUnitId':_0xfef217['subUnitId']??'','drawingId':_0xdb21d9});}['_openFloatMenu'](_0x91515e,_0x476609){const _0x5dd236=_0x58e4e4;if(!this[_0x5dd236(0x250)][_0x5dd236(0x2a5)](_0x91515e))return;let _0x2e5f38=this[_0x5dd236(0x25d)][_0x5dd236(0x2aa)](_0x91515e),_0x5156d3=_0x2e5f38?Gr(_0x2e5f38,_0x476609['hit']):void 0x0;if(!_0x5156d3){this['_chartUIService'][_0x5dd236(0x319)](),this['_closePopup']();return;}let _0x3cbcaf=this[_0x5dd236(0x1c9)][_0x5dd236(0x1c0)](_0x91515e);if(!_0x2e5f38||!_0x3cbcaf){this['_chartUIService'][_0x5dd236(0x319)](),this[_0x5dd236(0x314)]();return;}let _0x241b05=JSON[_0x5dd236(0x3c2)]([_0x3cbcaf[_0x5dd236(0x380)],_0x3cbcaf[_0x5dd236(0x28c)],_0x91515e,_0x5156d3[_0x5dd236(0x11f)]]);if(this[_0x5dd236(0x2a9)]&&this['_popupSessionKey']===_0x241b05||(this[_0x5dd236(0x250)][_0x5dd236(0x267)](_0x91515e,_0x5156d3[_0x5dd236(0x2fb)]),this[_0x5dd236(0x314)](),!_0x5156d3[_0x5dd236(0x1f4)]))return;let _0x54efd0=sa(_0x476609,_0x3cbcaf['position$'],()=>this[_0x5dd236(0x39f)](_0x91515e));if(!_0x54efd0['visible']){_0x54efd0[_0x5dd236(0x125)]();return;}let _0x585ab2=this[_0x5dd236(0x302)][_0x5dd236(0x355)](_0x54efd0[_0x5dd236(0x324)],_0x54efd0['anchorRect$'],{'componentKey':_0x99cfd,'constrainToCanvas':!0x0,'direction':_0x5dd236(0x327),'offset':[0x0,0x8],'extraProps':{'unitId':_0x3cbcaf[_0x5dd236(0x380)],'subUnitId':_0x3cbcaf[_0x5dd236(0x28c)],'chartId':_0x91515e,'drawingId':_0x91515e,'element':_0x476609['hit'],'target':_0x5156d3['target'],'adapterKey':ca}},_0x3cbcaf[_0x5dd236(0x380)],_0x3cbcaf[_0x5dd236(0x28c)])??null;if(!_0x585ab2){_0x54efd0[_0x5dd236(0x125)]();return;}let _0x5ef71f=new _0x2329d0();_0x5ef71f['add'](_0x585ab2),_0x5ef71f['add'](_0x54efd0),this[_0x5dd236(0x2a9)]=_0x5ef71f,this[_0x5dd236(0x34a)]=_0x91515e,this[_0x5dd236(0x272)]=_0x241b05;}[_0x58e4e4(0x314)](){const _0x925358=_0x58e4e4;var _0x34c82a;(_0x34c82a=this[_0x925358(0x2a9)])==null||_0x34c82a[_0x925358(0x125)](),this[_0x925358(0x2a9)]=null,this[_0x925358(0x34a)]=null,this[_0x925358(0x272)]=null;}[_0x58e4e4(0x2c9)](_0x245293){const _0x12467f=_0x58e4e4;(this[_0x12467f(0x250)][_0x12467f(0x2a5)](_0x245293)||this['_popupChartId']===_0x245293)&&(this[_0x12467f(0x250)]['clearPanelRoute'](),this[_0x12467f(0x34a)]===_0x245293&&this[_0x12467f(0x314)]());}[_0x58e4e4(0x39f)](_0x5f2a59){const _0x25be77=_0x58e4e4;this['_clearSelectedTarget'](_0x5f2a59),this['_chartUIService'][_0x25be77(0x2a5)](_0x5f2a59)&&(this['_chartRenderService']['setElementEditMode'](_0x5f2a59,!0x1),this[_0x25be77(0x28f)]['setElementEditMode'](_0x5f2a59,!0x0));}};la=q([K(0x0,_0x569e33(_0x1e33a9)),K(0x1,_0x569e33(J)),K(0x2,ui),K(0x3,_0x569e33(_0x4b4fef)),K(0x4,_0x569e33(_0x351035)),K(0x5,Y),K(0x6,_0x569e33(_0x1995df)),K(0x7,_0x10f119),K(0x8,_0x569e33(_0x56051b))],la);let ua=class extends _0x7b52dc{constructor(_0x59c231,_0x1eea01){const _0xf64a58=_0x58e4e4;super(),this[_0xf64a58(0x387)]=_0x59c231,this[_0xf64a58(0x2b7)]=_0x1eea01,this['_registerIcons'](),this[_0xf64a58(0x308)]();}[_0x58e4e4(0x1bf)](){const _0x15f05c=_0x58e4e4;this[_0x15f05c(0x105)](this['_iconManager']['register']({'PenIcon':_0x463fa8}));}[_0x58e4e4(0x308)](){const _0x145fd0=_0x58e4e4;[[Ci,Si]][_0x145fd0(0x2db)](([_0x2260f2,_0x3dc024])=>{const _0x160831=_0x145fd0;this['disposeWithMe'](this[_0x160831(0x387)][_0x160831(0x3bd)](_0x2260f2,_0x3dc024));});}};ua=q([K(0x0,_0x569e33(_0x122d09)),K(0x1,_0x569e33(_0x501d02))],ua);let $=class extends _0x5bf473{constructor(_0x9f51ad=Cr,_0x3ae84d,_0x127ceb,_0x2c58e4){const _0x1852ab=_0x58e4e4;super(),this['_config']=_0x9f51ad,this[_0x1852ab(0x172)]=_0x3ae84d,this[_0x1852ab(0x211)]=_0x127ceb,this[_0x1852ab(0x116)]=_0x2c58e4,W(this,_0x1852ab(0x128),void 0x0);let {..._0xfbd542}=_0x11a014({},Cr,this[_0x1852ab(0x309)]);this[_0x1852ab(0x128)]=_0xfbd542,this['_configService'][_0x1852ab(0x13b)](Sr,_0xfbd542),this[_0x1852ab(0x176)]();}[_0x58e4e4(0x22b)](){const _0x1e3e1a=_0x58e4e4;this[_0x1e3e1a(0x172)][_0x1e3e1a(0x1c7)]([ua]),this[_0x1e3e1a(0x172)][_0x1e3e1a(0x368)](ua);let _0x8f25f8=this['_injector'],_0xe151a9=[[Y,{'useClass':mi}],[ui,{'useClass':li}],[ni],[J],[Z],[Oi],[ji],[Mi],[Ki],[Ri],[qi]],_0x50e3d6=[[Oi],[Mi],[ji],[Z],[Y],[Ki],[Ri],[qi]];this['_resolvedConfig'][_0x1e3e1a(0x1d5)]&&(_0xe151a9['push']([la]),_0x50e3d6[_0x1e3e1a(0x14a)]([la])),_0xe151a9['forEach'](_0x4be033=>_0x8f25f8[_0x1e3e1a(0x1c7)](_0x4be033)),_0x1942f9(this[_0x1e3e1a(0x172)],_0x50e3d6);}[_0x58e4e4(0x10f)](){const _0x5be627=_0x58e4e4;var _0x571cd9;(_0x571cd9=this[_0x5be627(0x172)][_0x5be627(0x368)](Oi))==null||_0x571cd9[_0x5be627(0x1f6)]();}['_initCommands'](){const _0x18acf0=_0x58e4e4;[U,Dr,Or,kr,Ar,H,wr][_0x18acf0(0x2db)](_0x51e7c6=>this[_0x18acf0(0x105)](this[_0x18acf0(0x116)][_0x18acf0(0x2bb)](_0x51e7c6)));}};W($,_0x58e4e4(0x2e2),_0xaf509f[_0x58e4e4(0x16d)]),W($,_0x58e4e4(0x248),'UniverSheetsChartUIPlugin'),W($,_0x58e4e4(0x285),ki),W($,_0x58e4e4(0x2f7),Ai),$=q([_0x39613b(_0x28eac2,_0x868a1c,_0x15fe35,_0x1dcfa0,_0x4288b5,_0x690a4d,_0x67f924,_0x5941b2,_0x2fb4ea),K(0x1,_0x569e33(_0x56051b)),K(0x2,_0x58cb4f),K(0x3,_0x10f119)],$);export{H as ChartOpenPanelOperation,J as ChartRenderService,Y as ISheetsChartUIService,Sr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Oi as SheetsChartUIController,Hr as SheetsChartUIMenuSchema,mi as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,sa as createChartElementPopupAnchorObserver};
|
|
1
|
+
const _0x5d1a27=_0x14cc;(function(_0x316ab6,_0x4cbe5d){const _0x430d9f=_0x14cc,_0xbcd091=_0x316ab6();while(!![]){try{const _0x4dde00=-parseInt(_0x430d9f(0x379))/0x1+-parseInt(_0x430d9f(0x161))/0x2+-parseInt(_0x430d9f(0x176))/0x3*(parseInt(_0x430d9f(0x2b8))/0x4)+-parseInt(_0x430d9f(0x1a5))/0x5+-parseInt(_0x430d9f(0x235))/0x6+-parseInt(_0x430d9f(0x3bc))/0x7*(-parseInt(_0x430d9f(0x23b))/0x8)+parseInt(_0x430d9f(0x2a0))/0x9;if(_0x4dde00===_0x4cbe5d)break;else _0xbcd091['push'](_0xbcd091['shift']());}catch(_0x1ce40a){_0xbcd091['push'](_0xbcd091['shift']());}}}(_0x8646,0xbb3db));import{CommandType as _0x467099,DependentOn as _0x5da506,Disposable as _0x23a464,DisposableCollection as _0x396c56,DrawingTypeEnum as _0x4c00c3,FOCUSING_COMMON_DRAWINGS as _0x29388d,FOCUSING_PANEL_EDITOR as _0x3d0cdc,ICommandService as _0x23023c,IConfigService as _0x332790,IContextService as _0xae1c0,IUniverInstanceService as _0x50dd4e,Inject as _0x233312,Injector as _0x26189f,LocaleService as _0x2365aa,Plugin as _0x48bc1a,ThemeService as _0x6bd0cf,UniverInstanceType as _0x2a3654,createIdentifier as _0x4fb58e,debounce as _0x265549,generateRandomId as _0x23f566,isValidRange as _0x2f7016,merge as _0x11f8eb,numberToABC as _0x2a8fac,toDisposable as _0x1094b2,touchDependencies as _0x5b8a57}from'@univerjs/core';import{ChartModelService as _0xef00ca,ChartUpdateConfigCommand as _0x459ce1,ChartUpdateConfigMutation as _0x18807f,ChartUpdateSourceCommand as _0x38e7ef,InsertChartCommand as _0x6ba0fd,InsertSheetsChartMutation as _0x5c166f,RemoveSheetsChartMutation as _0x2ccbfe,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1b5ad5,SHEETS_CHART_PLUGIN_NAME as _0xff1a05,SheetChartConfigAdapter as _0x467243,SheetsChartService as _0x45f46e,UniverSheetsChartPlugin as _0x5a4ecb,getAllowedChartTypes as _0x2ab3f2,toInsertChartMutationSource as _0x1d8687}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x2a46aa,UniverDrawingPlugin as _0x5eca96,getDrawingShapeKeyByDrawingSearch as _0x4f61f4,getOrCreateDrawingCopyPlan as _0x5a52ec}from'@univerjs/drawing';import{DrawingApplyType as _0x30b7e4,ISheetDrawingService as _0x1ddd2c,RemoveSheetDrawingCommand as _0x14d389,SetDrawingApplyMutation as _0x16136c,UniverSheetsDrawingPlugin as _0x180756,transformToDrawingPosition as _0x38630f}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x379573,SheetCanvasFloatDomManagerService as _0x1cd243,SheetDrawingHitTestService as _0x1c6a95,UniverSheetsDrawingMobileUIPlugin as _0x559b0f,UniverSheetsDrawingUIPlugin as _0x4e1419}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0xe1391d,ISheetClipboardService as _0x48255a,PREDEFINED_HOOK_NAME as _0x9ae0ee,SheetCanvasPopManagerService as _0x1ac4ba,SheetCopyCommand as _0x49cae7,SheetPrintInterceptorService as _0x4e275e,SheetSkeletonManagerService as _0x4936ae,UniverSheetsMobileUIPlugin as _0x479d7b,UniverSheetsUIPlugin as _0x43225f,deriveStateFromActiveSheet$ as _0x3ed158,getCurrentRangeDisable$ as _0x177389}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x2f4ea6,ComponentManager as _0x59c972,ContextMenuGroup as _0x3caad2,ContextMenuPosition as _0x44ac90,IMenuManagerService as _0x3d6daf,ISidebarService as _0xe0c109,IconManager as _0x448b57,KeyCode as _0x85e98f,MenuItemType as _0x2d6dc8,NativeTextEditorShortcutBehavior as _0x1a8c0d,RibbonInsertGroup as _0x17e5d5,UniverMobileUIPlugin as _0x3593c7,getMenuHiddenObservable as _0x441bd8,useDependency as _0x216cfe,useObservable as _0x103df8}from'@univerjs/ui';import{BehaviorSubject as _0x36066b,Observable as _0x54465a,Subject as _0x19954c,combineLatest as _0x276a93,combineLatestWith as _0xedeac2,debounceTime as _0x13ec66,distinctUntilChanged as _0x29a798,filter as _0x5482cb,fromEvent as _0x320bfe,map as _0x1f7349,merge as _0x1ef318,pairwise as _0x18ea1,skip as _0x83aac8,startWith as _0x40fbf9,switchMap as _0x2ddbf4,take as _0x25844e,throttleTime as _0xff450d,withLatestFrom as _0x33b91a}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x1ac861,CHART_HOST_BORDER_RADIUS as _0x35f395,CHART_TYPE_CATALOG as _0x17f712,ChartAxisSection as _0x49da1a,ChartDomFrame as _0x389f97,ChartEditBlockTitle as _0x207394,ChartEditPanelSection as _0x5cd548,ChartEditPanelTab as _0x45ab14,ChartEditorCapability as _0x2db937,ChartEditorProvider as _0xadc9c2,ChartEditorTabs as _0x3e5287,ChartElementFloatMenuAdapterRegistry as _0x4222e1,ChartFrameContentMode as _0x2717d0,ChartFrameLayout as _0x513278,ChartFunnelStyleSection as _0x10f257,ChartGridlinesAndTicksSection as _0x275af9,ChartHeatmapStyleSection as _0xdb5d0c,ChartHostAdapter as _0x21eaab,ChartImageExportService as _0x5e98c4,ChartIndicatorLineSection as _0x2206f1,ChartLegendSection as _0x167edd,ChartLineAndAreaSection as _0x2adbfb,ChartNumberFormatAtom as _0x1952a3,ChartParetoSeriesSection as _0x19f761,ChartPieStyleSection as _0xfe26d,ChartRadarStyleSection as _0x29bb05,ChartRelationStyleSection as _0x3b130a,ChartSectionAccordion as _0x180c10,ChartSectionAccordionContent as _0x25002a,ChartSectionAccordionItem as _0x3ef861,ChartSectionAccordionTrigger as _0x57ffd4,ChartSeriesSection as _0x352738,ChartSetupPanel as _0xc7bb52,ChartStyleSection as _0x31470c,ChartTitlesSection as _0x2ba23b,ChartTrendlineSection as _0x3dc659,ChartTypeSpecificStyleSection as _0x47de5c,ChartUIService as _0x116c21,ChartViewStateRegistry as _0x3e8107,ChartWaterfallStyleSection as _0x3ed512,ChartWordCloudStyleSection as _0xbc59ea,DEFAULT_CHART_AXIS_VALUES as _0x139b61,DEFAULT_CHART_FUNNEL_VALUES as _0xb27861,DEFAULT_CHART_HEATMAP_VALUES as _0x12c1e1,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x31ba77,DEFAULT_CHART_LEGEND_VALUES as _0x5f58c5,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x446fe7,DEFAULT_CHART_PARETO_VALUES as _0x1643ce,DEFAULT_CHART_PIE_VALUES as _0x4d97b0,DEFAULT_CHART_RADAR_VALUES as _0x65c5c5,DEFAULT_CHART_RELATION_VALUES as _0x394271,DEFAULT_CHART_SERIES_VALUES as _0x268902,DEFAULT_CHART_STYLE_VALUES as _0x2b1fd5,DEFAULT_CHART_TITLE_VALUES as _0x164823,DEFAULT_CHART_TRENDLINE_VALUES as _0x4a9bbd,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x506e01,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x580b40,MobileChartEditorProvider as _0x5c14bf,UniverChartMobileUIPlugin as _0xd0b56d,UniverChartUIPlugin as _0x5af706,buildChartTypeSelectOptions as _0x5db475,chartTypeSupportsCapability as _0x4a2ff9,chartTypeSupportsLineAndAreaStyle as _0x4aab43,createChartElementFloatMenuAdapter as _0x32b76b,resolveChartCreationIntent as _0x518a98,resolveChartEditPanelRoute as _0x2ab4ba,resolveChartElementSelection as _0x422e0a,useChartEditorChartType as _0x2bf8dc,useChartEditorHasRightAxis as _0x207a58}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x24781a,ChartImageExportFormat as _0x4d43e3,ChartImageSourceType as _0x1a6044,ChartRenderMode as _0x5aea83,ChartSourceHeaderTitleType as _0x3471e0,ChartThemeService as _0x5a9273,ChartTypeBits as _0x1b41ef,ChartWaterfallStyleTarget as _0x4f4eae,DataOrientation as _0x10a164,EChartRenderEngineName as _0x2e63c9,IChartRenderModelManagerService as _0x51da78,ImageChartHost as _0x25bd7c,PieSecondaryPlotType as _0x5a7f11,RTLChartStyle as _0x53921e,chartBitsUtils as _0x159690,chartImageSourceToDataUrl as _0xa2d3cc,chartTypeCanUseTrendLine as _0x34a7ab,resolveChartRuntimeStyle as _0x2f8ba8,resolveChartStyleBackgroundColor as _0x2a1999,resolveDefaultChartHostFrameStyle as _0x214c2a}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x488928,RemoveSheetCommand as _0x3c652c,SheetInterceptorService as _0x304912,SheetPermissionCheckController as _0x5672ce,SheetSkeletonService as _0x5f5b10,SheetsSelectionsService as _0x4b6f39,UniverSheetsPlugin as _0x282fcb,WorkbookEditablePermission as _0x467779,WorksheetEditPermission as _0x311452,attachRangeWithCoord as _0x57f3f4,discreteRangeToRange as _0x4c3d52,getSheetCommandTarget as _0x374c25}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x560030,matchToken as _0x11cdbd,serializeRangeWithSheet as _0x2a42f7}from'@univerjs/engine-formula';import{insertGroupObject as _0x43a0ef}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x1f3967,IRenderManagerService as _0x2b6adf,ObjectType as _0x4e0d4f,RENDER_CLASS_TYPE as _0x332d03,Rect as _0x5ea5cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4f6e63,Transform as _0x23b379,UniverRenderEnginePlugin as _0x2c2309}from'@univerjs/engine-render';import{useCallback as _0x2b3d4a,useEffect as _0x3b35d2,useMemo as _0x1f6146,useRef as _0x399028,useState as _0x4cb90f}from'react';import{Button as _0x926487,Checkbox as _0x277379}from'@univerjs/design';import{MobileRangeSelector as _0x411079,RangeSelector as _0x16fe39}from'@univerjs/sheets-formula-ui';import{Fragment as _0x59371d,jsx as _0x29cee8,jsxs as _0x191e51}from'react/jsx-runtime';import{UniverLicensePlugin as _0x18ed5a}from'@univerjs-pro/license';import{PenIcon as _0x54e35}from'@univerjs/icons';const V={'type':_0x467099['OPERATION'],'id':_0x5d1a27(0x2a3),'handler'(){return!0x0;}},Cr=_0x5d1a27(0x258),wr={'enableChartElementFloatMenu':!0x0},Tr={'type':_0x467099[_0x5d1a27(0x20a)],'id':_0x5d1a27(0x2a5),'handler'(){return!0x0;}};function Er(_0x583ce8){const _0x5b702f=_0x5d1a27;let _0x31b3fe=_0x583ce8[_0x5b702f(0x3a6)](_0x1ddd2c)[_0x5b702f(0x23a)]();if(_0x31b3fe[_0x5b702f(0x355)]!==0x1)return null;let _0x3c4fa9=_0x31b3fe[0x0];return _0x3c4fa9[_0x5b702f(0x3e5)]===_0x4c00c3['DRAWING_CHART']?_0x3c4fa9:null;}function Dr(_0x331887,_0xfe0b15){const _0x573f7f=_0x5d1a27;let _0x273a97=document[_0x573f7f(0x26b)]('a');_0x273a97[_0x573f7f(0x231)]=_0x331887,_0x273a97['download']=_0xfe0b15,_0x273a97['click']();}const Or={'id':_0x5d1a27(0x24b),'type':_0x467099['COMMAND'],'handler':(_0x29e1f4,_0x5356ad)=>{const _0x1a90f4=_0x5d1a27;let _0x30f72a=Er(_0x29e1f4);return _0x30f72a?_0x29e1f4['get'](_0x23023c)[_0x1a90f4(0x2de)](V['id'],{'unitId':_0x30f72a['unitId'],'subUnitId':_0x30f72a[_0x1a90f4(0x2b4)],'drawingId':_0x30f72a['drawingId'],..._0x5356ad!=null&&_0x5356ad['route']?{'route':_0x5356ad[_0x1a90f4(0x204)]}:{}}):!0x1;}},kr={'id':_0x5d1a27(0x2e2),'type':_0x467099['COMMAND'],'handler':_0x22c2fc=>Er(_0x22c2fc)?_0x22c2fc[_0x5d1a27(0x3a6)](_0x23023c)[_0x5d1a27(0x2de)](_0x49cae7['id']):!0x1},Ar={'id':_0x5d1a27(0x292),'type':_0x467099[_0x5d1a27(0x26c)],'handler':async _0x3b7a5d=>{const _0x3da94b=_0x5d1a27;let _0x34144a=Er(_0x3b7a5d);if(!_0x34144a)return!0x1;let _0x335602=await _0x3b7a5d['get'](_0x5e98c4)[_0x3da94b(0x369)]({'unitId':_0x34144a[_0x3da94b(0x1b7)],'subUnitId':_0x34144a['subUnitId'],'getId':()=>_0x34144a['drawingId']});return _0x335602?(Dr(_0x335602,_0x34144a[_0x3da94b(0x14a)]+'.png'),!0x0):!0x1;}},jr={'id':'sheet.command.chart.delete-focused-chart','type':_0x467099[_0x5d1a27(0x26c)],'handler':_0x4a1c44=>{const _0x2b9c57=_0x5d1a27;let _0x4e218d=Er(_0x4a1c44);return _0x4e218d?_0x4a1c44[_0x2b9c57(0x3a6)](_0x23023c)[_0x2b9c57(0x2de)](_0x14d389['id'],{'unitId':_0x4e218d[_0x2b9c57(0x1b7)],'drawings':[{'unitId':_0x4e218d[_0x2b9c57(0x1b7)],'subUnitId':_0x4e218d[_0x2b9c57(0x2b4)],'drawingId':_0x4e218d[_0x2b9c57(0x14a)],'drawingType':_0x4c00c3[_0x2b9c57(0x249)]}]}):!0x1;}},H={'type':_0x467099[_0x5d1a27(0x26c)],'id':_0x5d1a27(0x17b),'handler':async(_0x34be5a,_0x228037)=>{const _0x11ae4c=_0x5d1a27;let _0x40f837=_0x374c25(_0x34be5a['get'](_0x50dd4e));if(!_0x40f837)return!0x1;let _0x5e9ae9=_0x34be5a[_0x11ae4c(0x3a6)](_0x4b6f39)[_0x11ae4c(0x3c5)]();if(!_0x5e9ae9)return!0x1;let {range:_0x4921f1}=_0x5e9ae9,_0x2d0c53=_0x34be5a[_0x11ae4c(0x3a6)](_0x23023c),{unitId:_0x3097fb,subUnitId:_0x4421bf}=_0x40f837,{pieSecondaryPlotType:_0x498b43,value:_0x1c2c23}=_0x228037,_0x574fc5=_0x498b43!==void 0x0;if(_0x574fc5&&(_0x1c2c23!==_0x1b41ef[_0x11ae4c(0x350)]||_0x498b43!==_0x5a7f11[_0x11ae4c(0x350)]&&_0x498b43!==_0x5a7f11[_0x11ae4c(0x34e)]))return!0x1;let _0x1456dd=_0x574fc5?_0x23f566():void 0x0;return _0x2d0c53[_0x11ae4c(0x2de)](_0x6ba0fd['id'],{'unitId':_0x3097fb,'subUnitId':_0x4421bf,'chartType':_0x1c2c23,..._0x1456dd&&_0x498b43?{'chartId':_0x1456dd,'config':{'unitId':_0x3097fb,'chartModelId':_0x1456dd,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x498b43}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x4921f1[_0x11ae4c(0x1b7)]??_0x3097fb,'subUnitId':_0x4921f1['sheetId']??_0x4421bf,'range':_0x4921f1}}});}};function Mr(_0x597091,_0x5668b7){const _0x2a3304=_0x5d1a27;if(_0x597091==null)return'';if(Array[_0x2a3304(0x25b)](_0x597091)){var _0x5a21de;let _0x29dabd=(_0x5a21de=_0x597091[0x0])==null?void 0x0:_0x5a21de['range'];return _0x29dabd?Nr(_0x29dabd,_0x5668b7):'';}return Nr(_0x597091[_0x2a3304(0x2a6)],_0x5668b7);}function Nr(_0x8483df,_0x4d27c4){const _0x53285f=_0x5d1a27;var _0x4a8658;let {unitId:_0x3585b4,subUnitId:_0x48b819,range:_0xa4d388}=_0x8483df,_0x21131a=(_0x4a8658=_0x4d27c4[_0x53285f(0x2f4)](_0x3585b4))==null?void 0x0:_0x4a8658[_0x53285f(0x337)](_0x48b819);if(!_0x21131a)return'';let _0x54b2d5=_0x21131a[_0x53285f(0x339)]();return _0x2a42f7(_0x54b2d5,_0xa4d388);}const Pr=_0x17f712[_0x5d1a27(0x1a0)](_0x378beb=>({'id':'id'in _0x378beb?_0x378beb['id']:void 0x0,'labelId':_0x378beb[_0x5d1a27(0x356)],'pieSecondaryPlotType':_0x5d1a27(0x3dc)in _0x378beb?_0x378beb[_0x5d1a27(0x3dc)]:void 0x0,'value':_0x378beb[_0x5d1a27(0x385)],'icon':_0x378beb['iconName']}));function Fr(_0xbef68d=Pr){const _0x3e4a8b=_0x5d1a27;return _0xbef68d[_0x3e4a8b(0x1a0)](({id:_0x524082,icon:_0xb03523,value:_0x1256c8})=>{const _0x921799=_0x3e4a8b;let _0x521d88=_0x518a98(_0x524082??String(_0x1256c8)),_0x5bc2b6=_0x521d88?{'value':_0x521d88[_0x921799(0x38a)],..._0x521d88[_0x921799(0x3dc)]?{'pieSecondaryPlotType':_0x521d88['pieSecondaryPlotType']}:{}}:{'value':_0x1256c8};return{'icon':_0xb03523,'value':_0x524082??_0x1256c8,'params':_0x5bc2b6};});}const Ir=(_0x271545,_0x4a28ea)=>{const _0x1f94d2=_0x5d1a27;if(_0x4a28ea[_0x1f94d2(0x355)]===0x1&&_0x4a28ea[0x0]==='all')return _0x271545;if(_0x4a28ea[_0x1f94d2(0x355)]>0x1){let _0x628f00=new Set();for(let _0xffd095 of _0x4a28ea)_0x628f00[_0x1f94d2(0x248)](Number(_0xffd095));return _0x271545[_0x1f94d2(0x1e4)](_0x427970=>_0x628f00[_0x1f94d2(0x21c)](_0x427970['value']));}return[];};function Lr(_0x309860){const _0xcb2ea=_0x5d1a27;let _0x524b45=_0x309860[_0xcb2ea(0x3a6)](_0x50dd4e),_0x522039=_0x2ab3f2(_0x309860),_0x4feedd=Ir(Pr[_0xcb2ea(0x37b)](),_0x522039),_0x32118a=Fr(_0x4feedd)[_0xcb2ea(0x1a0)]((_0x185cee,_0x10b8a3)=>({'icon':_0x185cee[_0xcb2ea(0x1d9)],'value':_0x185cee[_0xcb2ea(0x385)],'params':_0x185cee[_0xcb2ea(0x398)],'label':'sheets-chart-ui.chartTypes.'+_0x4feedd[_0x10b8a3][_0xcb2ea(0x356)]}));return{'id':H['id'],'type':_0x2d6dc8[_0xcb2ea(0x2df)],'selectionsCommandId':H['id'],'selections':_0x32118a,'icon':'ChartIcon','tooltip':'sheets-chart-ui.common.insertChart','activated$':_0x3ed158(_0x524b45,!0x1,()=>new _0x54465a(_0xe912f3=>{const _0x23f377=_0xcb2ea;_0xe912f3[_0x23f377(0x2db)](!0x1);})),'hidden$':_0x441bd8(_0x309860,_0x2a3654[_0xcb2ea(0x1d7)]),'disabled$':_0x177389(_0x309860)};}function Rr(_0x19ccba){const _0x18922e=_0x5d1a27;let _0xfec7ec=_0x19ccba[_0x18922e(0x3a6)](_0x1ddd2c);return _0xfec7ec[_0x18922e(0x1d0)][_0x18922e(0x186)](_0x40fbf9(_0xfec7ec[_0x18922e(0x23a)]()),_0x1f7349(()=>Er(_0x19ccba)==null));}function zr(_0x151efa){const _0x5158d6=_0x5d1a27;return{'id':Or['id'],'commandId':Or['id'],'type':_0x2d6dc8[_0x5158d6(0x3bb)],'title':_0x151efa[_0x5158d6(0x3a6)](_0x2365aa)['t'](_0x5158d6(0x32c)),'icon':_0x5158d6(0x2b1),'hidden$':Rr(_0x151efa)};}function _0x14cc(_0x571550,_0x11d5bb){_0x571550=_0x571550-0x116;const _0x86467d=_0x8646();let _0x14cc66=_0x86467d[_0x571550];return _0x14cc66;}function Br(_0x9a9ea3){const _0x262cae=_0x5d1a27;return{'id':kr['id'],'commandId':kr['id'],'type':_0x2d6dc8['BUTTON'],'title':_0x9a9ea3['get'](_0x2365aa)['t'](_0x262cae(0x2f0)),'icon':_0x262cae(0x1d5),'hidden$':Rr(_0x9a9ea3)};}function Vr(_0x4359ac){const _0x7ec655=_0x5d1a27;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x2d6dc8[_0x7ec655(0x3bb)],'title':_0x4359ac[_0x7ec655(0x3a6)](_0x2365aa)['t'](_0x7ec655(0x304)),'icon':_0x7ec655(0x12b),'hidden$':Rr(_0x4359ac)};}function Hr(_0x1ca1aa){const _0x103bf7=_0x5d1a27;return{'id':jr['id'],'commandId':jr['id'],'type':_0x2d6dc8[_0x103bf7(0x3bb)],'title':_0x1ca1aa[_0x103bf7(0x3a6)](_0x2365aa)['t'](_0x103bf7(0x148)),'icon':_0x103bf7(0x13b),'hidden$':Rr(_0x1ca1aa)};}const Ur={[_0x17e5d5['MEDIA']]:{[H['id']]:{'order':0x4,'menuItemFactory':Lr}},[_0x44ac90[_0x5d1a27(0x297)]]:{[_0x3caad2[_0x5d1a27(0x1df)]]:{[Or['id']]:{'order':0x0,'menuItemFactory':zr},[kr['id']]:{'order':0x1,'menuItemFactory':Br},[Ar['id']]:{'order':0x3,'menuItemFactory':Vr},[jr['id']]:{'order':0x4,'menuItemFactory':Hr}}}};function Wr(_0xb1cebb){const _0x3ce1f7=_0x5d1a27;return _0xb1cebb===_0x1b41ef[_0x3ce1f7(0x25e)]||_0xb1cebb===_0x1b41ef[_0x3ce1f7(0x141)]||_0xb1cebb===_0x1b41ef[_0x3ce1f7(0x160)]||_0x159690['baseOn'](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x29b)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x27b)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x226)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x3c2)]);}function Gr(_0xaefe7c){const _0x413fda=_0x5d1a27;return Wr(_0xaefe7c)||_0x159690['baseOn'](_0xaefe7c,_0x1b41ef[_0x413fda(0x350)])||_0x159690[_0x413fda(0x38d)](_0xaefe7c,_0x1b41ef[_0x413fda(0x14b)])||_0x159690[_0x413fda(0x38d)](_0xaefe7c,_0x1b41ef[_0x413fda(0x2cf)]);}function Kr(_0x5ddde5,_0x195fd5){const _0x57e9e6=_0x5d1a27;let _0x5ecf3e=_0x422e0a(_0x5ddde5,_0x195fd5),_0x9f055b=_0x5ecf3e?_0x2ab4ba(_0x5ecf3e[_0x57e9e6(0x2cb)]):void 0x0;if(_0x5ecf3e&&_0x9f055b)return{..._0x5ecf3e,'route':_0x9f055b,'showFloatMenu':Gr(_0x5ddde5['chartType'])&&_0x5ecf3e[_0x57e9e6(0x2ba)]};}function qr(_0x361046){'@babel/helpers - typeof';const _0x4bb31d=_0x5d1a27;return qr=typeof Symbol==_0x4bb31d(0x2b5)&&typeof Symbol[_0x4bb31d(0x2c4)]==_0x4bb31d(0x3d2)?function(_0xae1662){return typeof _0xae1662;}:function(_0x1dd17e){const _0x269932=_0x4bb31d;return _0x1dd17e&&typeof Symbol==_0x269932(0x2b5)&&_0x1dd17e['constructor']===Symbol&&_0x1dd17e!==Symbol[_0x269932(0x1e1)]?_0x269932(0x3d2):typeof _0x1dd17e;},qr(_0x361046);}function Jr(_0x4ac941,_0x3d08bb){const _0x15daad=_0x5d1a27;if(qr(_0x4ac941)!=_0x15daad(0x382)||!_0x4ac941)return _0x4ac941;var _0x3be49f=_0x4ac941[Symbol[_0x15daad(0x122)]];if(_0x3be49f!==void 0x0){var _0x522b48=_0x3be49f[_0x15daad(0x172)](_0x4ac941,_0x3d08bb||_0x15daad(0x30e));if(qr(_0x522b48)!=_0x15daad(0x382))return _0x522b48;throw TypeError(_0x15daad(0x1ad));}return(_0x3d08bb===_0x15daad(0x130)?String:Number)(_0x4ac941);}function Yr(_0x3c0759){const _0x1a405e=_0x5d1a27;var _0x8cdb7b=Jr(_0x3c0759,_0x1a405e(0x130));return qr(_0x8cdb7b)==_0x1a405e(0x3d2)?_0x8cdb7b:_0x8cdb7b+'';}function U(_0xc3f1f3,_0xe4b05e,_0x5e675d){return(_0xe4b05e=Yr(_0xe4b05e))in _0xc3f1f3?Object['defineProperty'](_0xc3f1f3,_0xe4b05e,{'value':_0x5e675d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xc3f1f3[_0xe4b05e]=_0x5e675d,_0xc3f1f3;}var Xr=class extends _0x23a464{constructor(_0x594e65,_0x26e135){const _0x19bdc5=_0x5d1a27;super(),this[_0x19bdc5(0x15a)]=_0x594e65,this['_onChange']=_0x26e135,U(this,_0x19bdc5(0x1f1),null),U(this,_0x19bdc5(0x3d6),void 0x0),this[_0x19bdc5(0x3d6)]=this[_0x19bdc5(0x2ca)](),this['disposeWithMe'](_0x594e65[_0x19bdc5(0x16f)][_0x19bdc5(0x1a7)](()=>{const _0x18fd1d=_0x19bdc5;this['_frame']===null&&(this[_0x18fd1d(0x1f1)]=requestAnimationFrame(()=>this[_0x18fd1d(0x171)]()));}));}[_0x5d1a27(0x171)](){const _0xdf3da9=_0x5d1a27;if(this[_0xdf3da9(0x117)](),this['_disposed'])return;let _0x47c250=this[_0xdf3da9(0x2ca)](),_0x4476b0=this[_0xdf3da9(0x3d6)],_0x4d78b3=_0x47c250['width']!==_0x4476b0[_0xdf3da9(0x175)]||_0x47c250[_0xdf3da9(0x364)]!==_0x4476b0[_0xdf3da9(0x364)];(_0x4d78b3||_0x47c250[_0xdf3da9(0x290)]!==_0x4476b0[_0xdf3da9(0x290)]||_0x47c250[_0xdf3da9(0x2c0)]!==_0x4476b0[_0xdf3da9(0x2c0)])&&(this['_geometry']=_0x47c250,this[_0xdf3da9(0x2e0)](_0x4d78b3));}[_0x5d1a27(0x117)](){const _0x3de33d=_0x5d1a27;this[_0x3de33d(0x1f1)]!==null&&(cancelAnimationFrame(this[_0x3de33d(0x1f1)]),this[_0x3de33d(0x1f1)]=null);}[_0x5d1a27(0x33d)](){const _0x5d2702=_0x5d1a27;this['cancelPending'](),super[_0x5d2702(0x33d)]();}['_readGeometry'](){let {left:_0x598042,top:_0x562772,width:_0x47f02e,height:_0x1865e3}=this['_rect'];return{'left':_0x598042,'top':_0x562772,'width':_0x47f02e,'height':_0x1865e3};}};function Zr(_0x4d7b58,_0x4895e0=0x1){const _0x592d8b=_0x5d1a27;return{'width':Math[_0x592d8b(0x189)](_0x4895e0,_0x4d7b58[_0x592d8b(0x175)]),'height':Math[_0x592d8b(0x189)](_0x4895e0,_0x4d7b58[_0x592d8b(0x364)])};}function Qr(_0x5cf04a,_0x4409ff={},_0x511460={'left':0x0,'top':0x0}){const _0x36f7d1=_0x5d1a27;let _0x13eb5e=_0x4409ff[_0x36f7d1(0x39a)]??0x1,_0x1c306a=_0x4409ff[_0x36f7d1(0x3e4)]??0x1,_0xc4c1d9=_0x513278[_0x36f7d1(0x2ad)]({'logicalOuterRect':{'left':_0x511460[_0x36f7d1(0x290)]>0x0?-_0x511460[_0x36f7d1(0x290)]:0x0,'top':_0x511460[_0x36f7d1(0x2c0)]>0x0?-_0x511460['top']:0x0,...Zr(_0x5cf04a)},'scale':{'scaleX':_0x13eb5e,'scaleY':_0x1c306a},'hostStyle':{},'contentMode':_0x2717d0[_0x36f7d1(0x2a7)]});return{'left':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x290)],'top':_0xc4c1d9['logicalOuterRect'][_0x36f7d1(0x2c0)],'width':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x175)],'height':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x364)],'scaleX':_0x13eb5e,'scaleY':_0x1c306a};}function $r(_0x395f0f){const _0x530544=_0x5d1a27;switch(_0x395f0f['type']){case _0x1a6044[_0x530544(0x12c)]:return _0x395f0f[_0x530544(0x1bf)];case _0x1a6044['ImageBitmap']:return _0x395f0f['imageBitmap'];default:return;}}var ei=class extends _0x5ea5cc{constructor(_0x582c0b,_0x104f6b,_0x7428bd,_0xf0dbb5=()=>!0x1,_0x5133f9=()=>{}){const _0x828a57=_0x5d1a27;super(_0x582c0b,{..._0x104f6b,'evented':_0x104f6b['evented']??!0x0}),this[_0x828a57(0x33a)]=_0x7428bd,this[_0x828a57(0x224)]=_0xf0dbb5,this[_0x828a57(0x374)]=_0x5133f9,U(this,'_urlImage',null),U(this,_0x828a57(0x1a9),null),U(this,_0x828a57(0x391),null),U(this,_0x828a57(0x18f),null),this[_0x828a57(0x3cd)](_0x4e0d4f[_0x828a57(0x359)]);}['dispose'](){const _0x37366a=_0x5d1a27;this[_0x37366a(0x3ac)](),this[_0x37366a(0x2e9)]=null,this['_url']=null,this[_0x37366a(0x391)]=null,this[_0x37366a(0x374)](),super[_0x37366a(0x33d)]();}[_0x5d1a27(0x3a9)](_0x58365f,_0x2f1917){const _0x5c5e6e=_0x5d1a27;if(!this[_0x5c5e6e(0x268)])return this[_0x5c5e6e(0x3d3)](!0x1),this;if(this[_0x5c5e6e(0x224)]()){let _0x27d562=this[_0x5c5e6e(0x33a)]();return _0x27d562&&this[_0x5c5e6e(0x2b9)](_0x27d562),this['makeDirty'](!0x1),this;}if(!this['transform'])return this;let {width:_0x2de7c4,height:_0x19ee73,left:_0x37f1a2,top:_0x4289e5}=this['getRealBound']();if(this[_0x5c5e6e(0x332)](_0x2f1917)){let {top:_0x417b3c,left:_0x70fa66,bottom:_0xe18500,right:_0xddf5dd}=_0x2f1917['viewBound'];if(_0x2de7c4+this[_0x5c5e6e(0x28e)]+_0x37f1a2<_0x70fa66||_0xddf5dd<_0x37f1a2||_0x19ee73+this[_0x5c5e6e(0x28e)]+_0x4289e5<_0x417b3c||_0xe18500<_0x4289e5)return this;}let _0x394050=this[_0x5c5e6e(0x31c)][_0x5c5e6e(0x2f8)]();_0x58365f['save']();let _0x13bc46=_0x37f1a2+_0x2de7c4/0x2,_0x52513a=_0x4289e5+_0x19ee73/0x2;return _0x58365f[_0x5c5e6e(0x31c)](_0x394050[0x0],_0x394050[0x1],_0x394050[0x2],_0x394050[0x3],_0x13bc46,_0x52513a),this[_0x5c5e6e(0x19c)]!==0x1&&(_0x58365f[_0x5c5e6e(0x31b)]=this[_0x5c5e6e(0x19c)]),this[_0x5c5e6e(0x17e)](_0x58365f,void 0x0,_0x2de7c4,_0x19ee73),_0x58365f['restore'](),this[_0x5c5e6e(0x3d3)](!0x1),this;}[_0x5d1a27(0x17e)](_0x577183,_0xfb4ba4,_0x18adc1=this[_0x5d1a27(0x175)],_0x598729=this[_0x5d1a27(0x364)]){const _0x11e147=_0x5d1a27;this['_drawChartFrame'](_0x577183,_0x18adc1,_0x598729,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x577183,_0x18adc1,_0x598729),this[_0x11e147(0x2f7)](_0x577183,_0x18adc1,_0x598729,{'fill':void 0x0});}[_0x5d1a27(0x2f7)](_0x4fa236,_0x57a93f,_0x123bb1,_0x2ca99f){const _0x6e99ce=_0x5d1a27;_0x4fa236[_0x6e99ce(0x2d2)](),_0x4fa236[_0x6e99ce(0x31f)](-_0x57a93f/0x2,-_0x123bb1/0x2),_0x5ea5cc[_0x6e99ce(0x36b)](_0x4fa236,ti(this,_0x57a93f,_0x123bb1,_0x2ca99f)),_0x4fa236[_0x6e99ce(0x1b6)]();}[_0x5d1a27(0x2be)](_0x5b72b8){const _0x3326fa=_0x5d1a27;let {left:_0x2afe18,top:_0x385f61,width:_0x210a80,height:_0x2dd21c}=this[_0x3326fa(0x3ab)](),_0x38ae97=_0x2afe18+_0x210a80/0x2,_0x200f25=_0x385f61+_0x2dd21c/0x2,_0x222110=this[_0x3326fa(0x31c)][_0x3326fa(0x2f8)](),_0x3c964b=new _0x23b379([_0x222110[0x0],_0x222110[0x1],_0x222110[0x2],_0x222110[0x3],_0x38ae97,_0x200f25]),_0x2c935d=this[_0x3326fa(0x317)](),_0x5ade1f=(this[_0x3326fa(0x272)]&&(_0x2c935d==null?void 0x0:_0x2c935d['classType'])===_0x332d03[_0x3326fa(0x338)]?_0x2c935d['ancestorTransform']['multiply'](_0x3c964b):_0x3c964b)[_0x3326fa(0x132)]()[_0x3326fa(0x1da)](_0x5b72b8),_0x32834f=_0x210a80/0x2,_0x2a48bd=_0x2dd21c/0x2;return _0x5ade1f['x']>=-_0x32834f-this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['x']<=_0x32834f+this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['y']>=-_0x2a48bd-this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['y']<=_0x2a48bd+this[_0x3326fa(0x28e)]/0x2;}[_0x5d1a27(0x313)](_0x5ae456,_0x862e8f,_0x2c9acb){const _0x1d48ce=_0x5d1a27;let _0x37d858=this[_0x1d48ce(0x33a)](),_0x541194=_0x37d858?this[_0x1d48ce(0x2b9)](_0x37d858):void 0x0;if(!_0x541194)return;let {width:_0x2e1aee,height:_0x413dc4}=Zr({'width':_0x862e8f,'height':_0x2c9acb},0x0);_0x2e1aee!==0x0&&_0x413dc4!==0x0&&(_0x5ae456['save'](),_0x5ae456[_0x1d48ce(0x31f)](-_0x862e8f/0x2,-_0x2c9acb/0x2),ni(_0x5ae456,_0x2e1aee,_0x413dc4,this[_0x1d48ce(0x320)]),_0x5ae456['clip'](),_0x5ae456['drawImage'](_0x541194,0x0,0x0,_0x2e1aee,_0x413dc4),_0x5ae456[_0x1d48ce(0x1b6)]());}[_0x5d1a27(0x2b9)](_0x208f8b){const _0x417b13=_0x5d1a27;var _0x375448;let _0x52edce=$r(_0x208f8b);if(_0x52edce)return _0x52edce;if(_0x208f8b[_0x417b13(0x17a)]===_0x1a6044[_0x417b13(0x2fa)]&&(this['_requestedUrl']!==_0x208f8b[_0x417b13(0x34f)]&&(this[_0x417b13(0x391)]=_0x208f8b[_0x417b13(0x34f)],this['_clearPendingUrlImage'](),this[_0x417b13(0x1a9)]!==_0x208f8b['url']&&this['_loadUrlImage'](_0x208f8b[_0x417b13(0x34f)])),(_0x375448=this['_urlImage'])!=null&&_0x375448[_0x417b13(0x293)]&&this[_0x417b13(0x2e9)][_0x417b13(0x190)]>0x0&&this[_0x417b13(0x2e9)]['naturalHeight']>0x0))return this[_0x417b13(0x2e9)];}[_0x5d1a27(0x131)](_0x19b273){const _0x3db1ec=_0x5d1a27;let _0x3c9b13=document['createElement'](_0x3db1ec(0x38f));this['_pendingUrlImage']=_0x3c9b13,_0x3c9b13[_0x3db1ec(0x273)]=_0x3db1ec(0x329),_0x3c9b13[_0x3db1ec(0x25d)]=()=>{const _0x1d4af9=_0x3db1ec;this[_0x1d4af9(0x391)]===_0x19b273&&this[_0x1d4af9(0x18f)]===_0x3c9b13&&(_0x3c9b13[_0x1d4af9(0x190)]>0x0&&_0x3c9b13['naturalHeight']>0x0&&(this[_0x1d4af9(0x1a9)]=_0x19b273,this[_0x1d4af9(0x2e9)]=_0x3c9b13),this[_0x1d4af9(0x3ac)](),this[_0x1d4af9(0x3d3)](!0x0));},_0x3c9b13[_0x3db1ec(0x2a8)]=()=>{this['_pendingUrlImage']===_0x3c9b13&&this['_clearPendingUrlImage']();},_0x3c9b13[_0x3db1ec(0x2d4)]=_0x19b273;}[_0x5d1a27(0x3ac)](){const _0x5b2b27=_0x5d1a27;this['_pendingUrlImage']&&=(this[_0x5b2b27(0x18f)][_0x5b2b27(0x25d)]=null,this['_pendingUrlImage'][_0x5b2b27(0x2a8)]=null,null);}};function ti(_0x3e5c21,_0x565333,_0x392638,_0x474c12){const _0xaf2bdc=_0x5d1a27;let _0x51223f=Object[_0xaf2bdc(0x2ea)](_0x3e5c21);return Object[_0xaf2bdc(0x35d)](_0x51223f,_0xaf2bdc(0x175),{'value':_0x565333}),Object[_0xaf2bdc(0x35d)](_0x51223f,'height',{'value':_0x392638}),Object[_0xaf2bdc(0x30d)](_0x474c12)['forEach'](_0x2ce193=>{const _0x5ccbfd=_0xaf2bdc;Object[_0x5ccbfd(0x35d)](_0x51223f,_0x2ce193,{'value':_0x474c12[_0x2ce193]});}),_0x51223f;}function ni(_0x80484a,_0x4142d9,_0x5e50e7,_0x55be85){const _0x33e8d1=_0x5d1a27;let _0xd4024d=Math['min'](_0x55be85||0x0,_0x4142d9/0x2,_0x5e50e7/0x2);if(_0x80484a[_0x33e8d1(0x1ec)](),!_0xd4024d){_0x80484a[_0x33e8d1(0x1ed)](0x0,0x0,_0x4142d9,_0x5e50e7),_0x80484a[_0x33e8d1(0x2ed)]();return;}_0x80484a[_0x33e8d1(0x3c0)](_0xd4024d,0x0),_0x80484a[_0x33e8d1(0x146)](_0x4142d9-_0xd4024d,0x0),_0x80484a['arc'](_0x4142d9-_0xd4024d,_0xd4024d,_0xd4024d,Math['PI']*0x3/0x2,0x0,!0x1),_0x80484a[_0x33e8d1(0x146)](_0x4142d9,_0x5e50e7-_0xd4024d),_0x80484a[_0x33e8d1(0x1fa)](_0x4142d9-_0xd4024d,_0x5e50e7-_0xd4024d,_0xd4024d,0x0,Math['PI']/0x2,!0x1),_0x80484a[_0x33e8d1(0x146)](_0xd4024d,_0x5e50e7),_0x80484a[_0x33e8d1(0x1fa)](_0xd4024d,_0x5e50e7-_0xd4024d,_0xd4024d,Math['PI']/0x2,Math['PI'],!0x1),_0x80484a['lineTo'](0x0,_0xd4024d),_0x80484a['arc'](_0xd4024d,_0xd4024d,_0xd4024d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x80484a[_0x33e8d1(0x2ed)]();}function W(_0x49c4b4){const _0x400660=_0x5d1a27;(_0x49c4b4==null?void 0x0:_0x49c4b4['type'])===_0x1a6044[_0x400660(0x150)]&&_0x49c4b4[_0x400660(0x276)]['close']();}function ri(_0xe809a4){const _0x37a795=_0x5d1a27;return _0xe809a4['unitId']+_0x37a795(0x3b4)+_0xe809a4[_0x37a795(0x2b4)]+_0x37a795(0x3b4)+_0xe809a4[_0x37a795(0x191)];}var ii=class extends _0x23a464{constructor(..._0x21f733){super(..._0x21f733),U(this,'_entries',new Map());}[_0x5d1a27(0x1e5)](_0x3b299f){const _0x105471=_0x5d1a27;let _0x3a7a8b=ri(_0x3b299f),_0x4b4f32=this[_0x105471(0x121)][_0x105471(0x3a6)](_0x3a7a8b)??{'version':0x0};return _0x4b4f32['version']+=0x1,this[_0x105471(0x121)][_0x105471(0x30a)](_0x3a7a8b,_0x4b4f32),_0x4b4f32[_0x105471(0x1ef)];}[_0x5d1a27(0x116)](_0x88d2c5,_0x580260){const _0x321f5e=_0x5d1a27;var _0x1bfcf2;return((_0x1bfcf2=this[_0x321f5e(0x121)][_0x321f5e(0x3a6)](ri(_0x88d2c5)))==null?void 0x0:_0x1bfcf2[_0x321f5e(0x1ef)])===_0x580260;}[_0x5d1a27(0x308)](_0x1d90bb,_0x21c894,_0x4da691){const _0x312779=_0x5d1a27;if(!this['isLatest'](_0x1d90bb,_0x4da691))return W(_0x21c894),!0x1;let _0x42983d=ri(_0x1d90bb),_0x8d2ae3=this[_0x312779(0x121)][_0x312779(0x3a6)](_0x42983d)??{'version':_0x4da691},_0x14c234=_0x8d2ae3['image'];return _0x8d2ae3[_0x312779(0x3de)]=_0x21c894,_0x8d2ae3[_0x312779(0x1ef)]=_0x4da691,this[_0x312779(0x121)][_0x312779(0x30a)](_0x42983d,_0x8d2ae3),_0x14c234!==_0x21c894&&W(_0x14c234),!0x0;}[_0x5d1a27(0x265)](_0x3ebeaa){const _0x1f290f=_0x5d1a27;var _0x12901c;return(_0x12901c=this[_0x1f290f(0x121)][_0x1f290f(0x3a6)](ri(_0x3ebeaa)))==null?void 0x0:_0x12901c[_0x1f290f(0x3de)];}[_0x5d1a27(0x17d)](_0x2d8a8a){const _0x48c3ee=_0x5d1a27;let _0x120b6d=ri(_0x2d8a8a),_0x873c1=this[_0x48c3ee(0x121)][_0x48c3ee(0x3a6)](_0x120b6d);_0x873c1&&(W(_0x873c1[_0x48c3ee(0x3de)]),this[_0x48c3ee(0x121)]['delete'](_0x120b6d));}[_0x5d1a27(0x26f)](_0x55090c){const _0x110284=_0x5d1a27;for(let [_0x1f0488,_0x149550]of this[_0x110284(0x121)])_0x1f0488[_0x110284(0x152)](_0x110284(0x3b4)+_0x55090c)&&(W(_0x149550[_0x110284(0x3de)]),this[_0x110284(0x121)][_0x110284(0x198)](_0x1f0488));}[_0x5d1a27(0x33d)](){const _0x185079=_0x5d1a27;this[_0x185079(0x121)]['forEach'](_0x2f088d=>W(_0x2f088d[_0x185079(0x3de)])),this['_entries'][_0x185079(0x368)](),super[_0x185079(0x33d)]();}};function ai(_0x57dda2,_0x5bdcee=0x7d0){let _0x3a4396=null,_0x3adb69=null,_0x1eb1ee=!0x1,_0x240ae4=()=>{},_0x3c64a6=()=>{_0x3a4396!=null&&(clearInterval(_0x3a4396),_0x3a4396=null),_0x3adb69!=null&&(clearTimeout(_0x3adb69),_0x3adb69=null);};return{'promise':new Promise((_0x38da1f,_0x376601)=>{_0x240ae4=_0x376601;let _0xc50627=()=>{let _0x29fa99=document['getElementById'](_0x57dda2);_0x29fa99&&!_0x1eb1ee&&(_0x1eb1ee=!0x0,_0x3c64a6(),_0x38da1f(_0x29fa99));};_0xc50627(),!_0x1eb1ee&&(_0x3a4396=setInterval(_0xc50627,16.666666666666668),_0x3adb69=setTimeout(()=>{const _0x1453a8=_0x14cc;_0x1eb1ee||(_0x1eb1ee=!0x0,_0x3c64a6(),_0x376601(Error(_0x1453a8(0x28b)+_0x57dda2+'\x22.')));},_0x5bdcee));}),'cancel':()=>{const _0x24c65e=_0x14cc;_0x1eb1ee||(_0x1eb1ee=!0x0,_0x3c64a6(),_0x240ae4(Error(_0x24c65e(0x1a3)+_0x57dda2+'\x22.')));}};}var oi=class extends _0x23a464{constructor(_0x4ba281,_0x907386,_0x1ce389,_0x230554,_0x6ee953,_0x3373a3,_0x3c97e9){const _0x488081=_0x5d1a27;super(),this[_0x488081(0x191)]=_0x4ba281,this[_0x488081(0x2c1)]=_0x907386,this[_0x488081(0x346)]=_0x1ce389,this[_0x488081(0x1bc)]=_0x230554,this[_0x488081(0x2fe)]=_0x6ee953,this['_markReady']=_0x3373a3,this[_0x488081(0x14e)]=_0x3c97e9,U(this,_0x488081(0x295),_0x5aea83[_0x488081(0x3da)]),U(this,'_domFrame',null),U(this,'_managed',!0x1),U(this,_0x488081(0x1fe),null),U(this,'_pendingHost',null),U(this,'_waiter',null),U(this,'_hostStyle',{}),U(this,_0x488081(0x168),null),U(this,_0x488081(0x1ff),null);}['isManaged'](){return this['_managed'];}[_0x5d1a27(0x3b0)](){const _0x50c754=_0x5d1a27;this[_0x50c754(0x21f)]=!0x1;}[_0x5d1a27(0x218)](){const _0x296d0f=_0x5d1a27;let _0x4bd90a=this[_0x296d0f(0x346)]();return _0x4bd90a?{'width':_0x4bd90a[_0x296d0f(0x175)],'height':_0x4bd90a[_0x296d0f(0x364)]}:null;}['setStyle'](_0x44fcb4){const _0x4eff3c=_0x5d1a27;this['_hostStyle']=_0x44fcb4,this[_0x4eff3c(0x1bc)](_0x44fcb4),this[_0x4eff3c(0x20e)]();}async['ensureHandle'](){const _0x4a8246=_0x5d1a27;if(this['_disposed']||this[_0x4a8246(0x2fe)]())throw Error(_0x4a8246(0x156));let _0x4011c3=this[_0x4a8246(0x2c1)](),_0x1790d6=(_0x4011c3==null?void 0x0:_0x4011c3[_0x4a8246(0x2b2)])??this['chartId'],_0x423806=document[_0x4a8246(0x197)](_0x1790d6);if(this['_domFrame']&&_0x423806!=null&&_0x423806['contains'](this[_0x4a8246(0x1ab)][_0x4a8246(0x256)]))return{'mountNode':this['_domFrame'][_0x4a8246(0x256)],'dispose':()=>{const _0x1ff4e5=_0x4a8246;this[_0x1ff4e5(0x33d)](),_0x4011c3==null||_0x4011c3[_0x1ff4e5(0x33d)][_0x1ff4e5(0x33d)]();}};if(this[_0x4a8246(0x228)])return this[_0x4a8246(0x228)];let _0x18de21=this[_0x4a8246(0x3a2)]();return this[_0x4a8246(0x228)]=_0x18de21,_0x18de21[_0x4a8246(0x138)](()=>{const _0x302aa9=_0x4a8246;this[_0x302aa9(0x228)]===_0x18de21&&(this[_0x302aa9(0x228)]=null);},()=>{const _0x446f84=_0x4a8246;this[_0x446f84(0x228)]===_0x18de21&&(this[_0x446f84(0x228)]=null);}),_0x18de21;}async['ensureMount'](){const _0x1c64b1=_0x5d1a27;try{return(await this[_0x1c64b1(0x24f)]())[_0x1c64b1(0x256)];}catch{return null;}}[_0x5d1a27(0x3ad)](){const _0x26ca55=_0x5d1a27;let _0x4ed78e=this[_0x26ca55(0x2c1)](),_0x539636=(_0x4ed78e==null?void 0x0:_0x4ed78e['domId'])??this['chartId'],_0xf0fd=document[_0x26ca55(0x197)](_0x539636);return!!(this[_0x26ca55(0x1ab)]&&_0xf0fd!=null&&_0xf0fd['contains'](this['_domFrame'][_0x26ca55(0x256)]));}[_0x5d1a27(0x1b9)](){const _0x3b39fb=_0x5d1a27;if(!this[_0x3b39fb(0x1ab)])return;let _0x2b0f06=this[_0x3b39fb(0x346)]();_0x2b0f06&&this[_0x3b39fb(0x1ab)][_0x3b39fb(0x327)](this[_0x3b39fb(0x2f3)](_0x2b0f06),this[_0x3b39fb(0x32a)]());}[_0x5d1a27(0x306)](){const _0x5adb65=_0x5d1a27;this[_0x5adb65(0x35b)]();}['markNotReady'](){const _0x7f08cc=_0x5d1a27;this[_0x7f08cc(0x14e)]();}[_0x5d1a27(0x20d)](_0x53088d){const _0x57cfdb=_0x5d1a27;this['_dataUpdateAnimationDuration']=_0x53088d;let _0xafb59e=this[_0x57cfdb(0x2c1)](),_0x271081=document[_0x57cfdb(0x197)]((_0xafb59e==null?void 0x0:_0xafb59e['domId'])??this['chartId']);_0x271081&&this[_0x57cfdb(0x383)](_0x271081);}[_0x5d1a27(0x33d)](){const _0x3db4c4=_0x5d1a27;var _0x58143b;this[_0x3db4c4(0x378)]||(this[_0x3db4c4(0x221)](),this[_0x3db4c4(0x1fe)]=null,this['_pendingHost']=null,this[_0x3db4c4(0x188)](),this[_0x3db4c4(0x21f)]=!0x1,this[_0x3db4c4(0x1ff)]=null,(_0x58143b=this[_0x3db4c4(0x1ab)])==null||_0x58143b[_0x3db4c4(0x33d)](),this[_0x3db4c4(0x1ab)]=null,this[_0x3db4c4(0x1e2)](),super[_0x3db4c4(0x33d)]());}async[_0x5d1a27(0x3a2)](){const _0x348a1e=_0x5d1a27;let _0x1ad76d=this['_getFloatDomInfo']();if(!_0x1ad76d)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0xcdf71=_0x1ad76d[_0x348a1e(0x2b2)]??this[_0x348a1e(0x191)],_0x510e6b=ai(_0xcdf71),_0x4995d8=Symbol(this[_0x348a1e(0x191)]);this[_0x348a1e(0x1fe)]=_0x4995d8,this['_waiter']=_0x510e6b;try{let _0x2e9a75=await _0x510e6b[_0x348a1e(0x319)],_0x1dd12e=this[_0x348a1e(0x2c1)](),_0xb3e5a=(_0x1dd12e==null?void 0x0:_0x1dd12e[_0x348a1e(0x2b2)])??this[_0x348a1e(0x191)];if(this[_0x348a1e(0x378)]||this['_isProviderDisposed']()||this[_0x348a1e(0x1fe)]!==_0x4995d8||!_0x1dd12e||_0xb3e5a!==_0xcdf71||document[_0x348a1e(0x197)](_0xcdf71)!==_0x2e9a75||!_0x2e9a75[_0x348a1e(0x254)])throw Error(_0x348a1e(0x156));let _0x5b7744=this[_0x348a1e(0x346)]();if(!_0x5b7744)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x350573=new _0x389f97(_0x2e9a75);return _0x350573['update'](this[_0x348a1e(0x2f3)](_0x5b7744),this[_0x348a1e(0x32a)]()),this[_0x348a1e(0x126)](_0x2e9a75),this[_0x348a1e(0x1ab)]=_0x350573,this['_managed']=!0x0,{'mountNode':_0x350573[_0x348a1e(0x256)],'dispose':()=>{const _0xf5a2d1=_0x348a1e;this[_0xf5a2d1(0x33d)](),_0x1ad76d['dispose'][_0xf5a2d1(0x33d)]();}};}finally{this['_waiter']===_0x510e6b&&(this[_0x348a1e(0x227)]=null),this[_0x348a1e(0x1fe)]===_0x4995d8&&(this[_0x348a1e(0x1fe)]=null);}}['_cancelHostWait'](){const _0x424957=_0x5d1a27;let _0x48f6ef=this[_0x424957(0x227)];_0x48f6ef&&(_0x48f6ef[_0x424957(0x1b5)](),this[_0x424957(0x227)]=null);}[_0x5d1a27(0x20e)](){const _0x1ff1c7=_0x5d1a27;let _0x3344f4=this[_0x1ff1c7(0x346)]();this[_0x1ff1c7(0x1ab)]&&_0x3344f4&&this['_domFrame'][_0x1ff1c7(0x327)](this[_0x1ff1c7(0x2f3)](_0x3344f4),this[_0x1ff1c7(0x32a)]());}[_0x5d1a27(0x2f3)](_0x1d0c83){const _0x21ff01=_0x5d1a27;return _0x513278[_0x21ff01(0x2ad)]({'logicalOuterRect':{'left':_0x1d0c83[_0x21ff01(0x290)],'top':_0x1d0c83[_0x21ff01(0x2c0)],'width':_0x1d0c83[_0x21ff01(0x175)],'height':_0x1d0c83[_0x21ff01(0x364)]},'scale':{'scaleX':_0x1d0c83[_0x21ff01(0x39a)],'scaleY':_0x1d0c83[_0x21ff01(0x3e4)]},'hostStyle':this[_0x21ff01(0x32a)](),'contentMode':_0x2717d0[_0x21ff01(0x2a7)]});}['_frameStyle'](){const _0x94ac84=_0x5d1a27;return{...this[_0x94ac84(0x174)],'radius':_0x35f395};}[_0x5d1a27(0x126)](_0x34dc4f){const _0x460a0d=_0x5d1a27;let _0xdf9007=_0x34dc4f[_0x460a0d(0x27e)];_0xdf9007&&(this['_savedWrapperStyle']||={'zIndex':_0xdf9007['style'][_0x460a0d(0x2d8)],'pointerEvents':_0xdf9007[_0x460a0d(0x2ce)]['pointerEvents']},_0xdf9007['style']['zIndex']=_0x460a0d(0x27c),this[_0x460a0d(0x383)](_0x34dc4f));}[_0x5d1a27(0x383)](_0x171866){const _0x20f0d8=_0x5d1a27;let _0xd56eae=_0x171866['parentElement'];if(!_0xd56eae)return;let _0x4f4eff=this[_0x20f0d8(0x1ff)];if(_0x4f4eff!=null){_0x171866[_0x20f0d8(0x283)]['sheetChartDataAnimation']=_0x20f0d8(0x349),_0x171866[_0x20f0d8(0x283)][_0x20f0d8(0x274)]=String(_0x4f4eff),_0xd56eae[_0x20f0d8(0x2ce)][_0x20f0d8(0x25c)]='none';return;}delete _0x171866[_0x20f0d8(0x283)][_0x20f0d8(0x37d)],delete _0x171866[_0x20f0d8(0x283)]['sheetChartDataAnimationDuration'],_0xd56eae[_0x20f0d8(0x2ce)][_0x20f0d8(0x25c)]=_0x20f0d8(0x1ca);}[_0x5d1a27(0x1e2)](){const _0x52ab4e=_0x5d1a27;if(!this[_0x52ab4e(0x168)])return;let _0x50c6e3=this[_0x52ab4e(0x2c1)](),_0x5309a2=(_0x50c6e3==null?void 0x0:_0x50c6e3[_0x52ab4e(0x2b2)])??this['chartId'],_0x48047a=document['getElementById'](_0x5309a2);_0x48047a==null||delete _0x48047a[_0x52ab4e(0x283)]['sheetChartDataAnimation'],_0x48047a==null||delete _0x48047a[_0x52ab4e(0x283)]['sheetChartDataAnimationDuration'];let _0x4c4759=_0x48047a==null?void 0x0:_0x48047a[_0x52ab4e(0x27e)];_0x4c4759&&(_0x4c4759[_0x52ab4e(0x2ce)][_0x52ab4e(0x2d8)]=this[_0x52ab4e(0x168)][_0x52ab4e(0x2d8)],_0x4c4759[_0x52ab4e(0x2ce)][_0x52ab4e(0x25c)]=this[_0x52ab4e(0x168)]['pointerEvents']),this[_0x52ab4e(0x168)]=null;}},si=class extends _0x25bd7c{constructor(_0x1a6a39,_0x5f2984,_0x270fd0,_0x2a9d9d,_0x85b03b,_0x1d7109){const _0x515762=_0x5d1a27;super(_0x1a6a39),this['_getOuterRect']=_0x5f2984,this['_setHostStyle']=_0x270fd0,this[_0x515762(0x145)]=_0x2a9d9d,this[_0x515762(0x2b0)]=_0x85b03b,this[_0x515762(0x2e7)]=_0x1d7109;}[_0x5d1a27(0x218)](){const _0x297cc1=_0x5d1a27;let _0x164c50=this[_0x297cc1(0x3d4)]();return _0x164c50?Zr(_0x164c50):null;}[_0x5d1a27(0x21e)](_0x1e180e){const _0x3b8334=_0x5d1a27;this[_0x3b8334(0x1bc)](_0x1e180e);}['nextVersion'](){const _0x546af4=_0x5d1a27;return this[_0x546af4(0x2b0)][_0x546af4(0x1e5)](this[_0x546af4(0x145)]);}[_0x5d1a27(0x12e)](_0x59262b,_0x4fa65f){const _0x2760e6=_0x5d1a27;return this[_0x2760e6(0x2b0)]['setImage'](this[_0x2760e6(0x145)],_0x59262b,_0x4fa65f);}['requestPaint'](){this['_requestPaint']();}[_0x5d1a27(0x18d)](){const _0x594ee7=_0x5d1a27;this[_0x594ee7(0x2b0)][_0x594ee7(0x1e5)](this['_snapshotKey']);}};function G(_0x52c357,_0x522e17){return function(_0x440f00,_0x2cc5ca){_0x522e17(_0x440f00,_0x2cc5ca,_0x52c357);};}function K(_0x3e0926,_0x5189a0,_0x8434f,_0x17415){const _0x18de32=_0x5d1a27;var _0x39b294=arguments[_0x18de32(0x355)],_0x394fbb=_0x39b294<0x3?_0x5189a0:_0x17415===null?_0x17415=Object[_0x18de32(0x118)](_0x5189a0,_0x8434f):_0x17415,_0x25643d;if(typeof Reflect==_0x18de32(0x382)&&typeof Reflect[_0x18de32(0x147)]==_0x18de32(0x2b5))_0x394fbb=Reflect['decorate'](_0x3e0926,_0x5189a0,_0x8434f,_0x17415);else{for(var _0x3241af=_0x3e0926['length']-0x1;_0x3241af>=0x0;_0x3241af--)(_0x25643d=_0x3e0926[_0x3241af])&&(_0x394fbb=(_0x39b294<0x3?_0x25643d(_0x394fbb):_0x39b294>0x3?_0x25643d(_0x5189a0,_0x8434f,_0x394fbb):_0x25643d(_0x5189a0,_0x8434f))||_0x394fbb);}return _0x39b294>0x3&&_0x394fbb&&Object[_0x18de32(0x35d)](_0x5189a0,_0x8434f,_0x394fbb),_0x394fbb;}const ci=0.5;function li(_0x1862fa){const _0x581f12=_0x5d1a27;let _0x35d0c1=Math[_0x581f12(0x189)](_0x1862fa['endX']-_0x1862fa[_0x581f12(0x12d)],0x0),_0x2d7ebf=Math[_0x581f12(0x189)](_0x1862fa[_0x581f12(0x16a)]-_0x1862fa['startY'],0x0),_0x3f3994=_0x1862fa['absolute'][_0x581f12(0x290)]&&_0x1862fa[_0x581f12(0x175)]-_0x35d0c1>ci,_0x5e3eab=_0x1862fa[_0x581f12(0x360)]['top']&&_0x1862fa[_0x581f12(0x364)]-_0x2d7ebf>ci;return!_0x3f3994&&!_0x5e3eab?_0x1862fa:{..._0x1862fa,'absolute':{'left':!_0x3f3994&&_0x1862fa[_0x581f12(0x360)][_0x581f12(0x290)],'top':!_0x5e3eab&&_0x1862fa[_0x581f12(0x360)][_0x581f12(0x2c0)]}};}function ui(_0x5b07c3){const _0x500303=_0x5d1a27;if(!Object[_0x500303(0x1e1)]['hasOwnProperty'][_0x500303(0x172)](_0x5b07c3,_0x500303(0x208)))return _0x5b07c3;let {border:_0x36b6de,..._0x101202}=_0x5b07c3;return{..._0x101202,'stroke':(_0x36b6de==null?void 0x0:_0x36b6de['color'])??_0x500303(0x2ee),'strokeWidth':(_0x36b6de==null?void 0x0:_0x36b6de[_0x500303(0x175)])??0x0};}let di=class extends _0x23a464{constructor(_0x7997d2,_0x513620,_0x8a69e4,_0x4d5b8f,_0x2e0f7b){const _0x55111a=_0x5d1a27;super(),this['_sheetCanvasFloatDomManagerService']=_0x7997d2,this[_0x55111a(0x185)]=_0x513620,this['_chartSnapshotStoreService']=_0x8a69e4,this['_canvasFloatDomService']=_0x4d5b8f,this[_0x55111a(0x2aa)]=_0x2e0f7b,U(this,_0x55111a(0x281),new Map()),U(this,_0x55111a(0x2a1),new Set()),U(this,_0x55111a(0x1db),new _0x19954c()),U(this,_0x55111a(0x21a),this[_0x55111a(0x1db)]['asObservable']()),this[_0x55111a(0x27a)](this[_0x55111a(0x11a)][_0x55111a(0x241)][_0x55111a(0x3d5)](_0x4bd5f9=>{const _0x3a607e=_0x55111a;let _0x326507=this['_chartHostMap']['get'](_0x4bd5f9['id']);_0x326507!=null&&_0x326507['isManaged']()&&(_0x326507['markUnmanaged'](),this[_0x3a607e(0x1db)]['next'](_0x4bd5f9['id']));}));}[_0x5d1a27(0x315)](_0x383783){const _0x569a8d=_0x5d1a27;if(_0x383783==null)return;let _0x3df475=this[_0x569a8d(0x185)][_0x569a8d(0x22d)](_0x383783),_0x3c7809=_0x3df475==null?void 0x0:_0x3df475['scene'];return _0x3df475==null||_0x3c7809==null?null:{'scene':_0x3c7809,'transformer':_0x3c7809[_0x569a8d(0x271)](),'renderUnit':_0x3df475,'canvas':_0x3df475[_0x569a8d(0x285)][_0x569a8d(0x139)]()};}['setBorder'](_0x437aad,_0x3c27c4){const _0x59fe10=_0x5d1a27;let _0x1500a7=this['_sheetCanvasFloatDomManagerService'],_0x10bcfa=_0x3c27c4||_0x59fe10(0x2ee),_0x93be27=_0x1500a7['getFloatDomInfo'](_0x437aad);if(_0x93be27){let {unitId:_0x30bdc4,subUnitId:_0x5586a6}=_0x93be27;_0x1500a7[_0x59fe10(0x1fd)](_0x30bdc4,_0x5586a6,_0x437aad,{'stroke':_0x10bcfa});}}[_0x5d1a27(0x372)](_0x392f2e,_0x29e92b){const _0x3ab366=_0x5d1a27;let _0x52c50f=this[_0x3ab366(0x11a)],_0x28c1a8=_0x52c50f[_0x3ab366(0x177)](_0x392f2e);if(_0x28c1a8){let {unitId:_0x4914ce,subUnitId:_0x3fa3e0}=_0x28c1a8;_0x52c50f[_0x3ab366(0x1fd)](_0x4914ce,_0x3fa3e0,_0x392f2e,ui(_0x29e92b));}}[_0x5d1a27(0x30b)](_0x33450d){const _0x586d8d=_0x5d1a27;let _0x656898=this[_0x586d8d(0x11a)][_0x586d8d(0x177)](_0x33450d);return _0x656898?_0x656898[_0x586d8d(0x1ed)]:null;}[_0x5d1a27(0x3a4)](_0x102860){const _0x1a050b=_0x5d1a27;let _0x4e1143=this[_0x1a050b(0x11a)][_0x1a050b(0x177)](_0x102860),_0x29e5f1=document[_0x1a050b(0x197)]((_0x4e1143==null?void 0x0:_0x4e1143['domId'])??_0x102860);return(_0x29e5f1==null?void 0x0:_0x29e5f1['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x54327c,_0x317554){const _0x43b79f=_0x5d1a27;var _0x404688;(_0x404688=this[_0x43b79f(0x281)]['get'](_0x54327c))==null||_0x404688[_0x43b79f(0x20d)](_0x317554);}[_0x5d1a27(0x203)](_0x1e7ed8){const _0x4badb1=_0x5d1a27;var _0x536447;return((_0x536447=this['_chartHostMap'][_0x4badb1(0x3a6)](_0x1e7ed8))==null?void 0x0:_0x536447['checkMounted']())??!0x1;}['syncHostLayout'](_0x474c61){const _0x743960=_0x5d1a27;var _0x5c3c1c;(_0x5c3c1c=this[_0x743960(0x281)][_0x743960(0x3a6)](_0x474c61))==null||_0x5c3c1c['syncLayout']();}[_0x5d1a27(0x2d9)](_0x5e08fc){const _0x5e760f=_0x5d1a27;let _0xb92023=this[_0x5e760f(0x281)]['get'](_0x5e08fc);_0xb92023&&(_0xb92023[_0x5e760f(0x33d)](),this['_canvasFloatDomService'][_0x5e760f(0x134)](_0x5e08fc,{'eventPassThrough':!0x0})),this[_0x5e760f(0x281)][_0x5e760f(0x198)](_0x5e08fc);}async['ensureHost'](_0x524b2d,_0x22593a){const _0x2775b6=_0x5d1a27;if(_0x22593a===_0x5aea83[_0x2775b6(0x2af)])return this[_0x2775b6(0x361)](_0x524b2d);if(_0x22593a===_0x5aea83[_0x2775b6(0x3da)])return this[_0x2775b6(0x1e9)](_0x524b2d);let _0x4ed721=this['_getOrCreateSheetChartHost'](_0x524b2d);if(!_0x4ed721)throw Error(_0x2775b6(0x156));return _0x4ed721[_0x2775b6(0x24f)]();}['isDomReady'](_0x248b49){const _0x3a8708=_0x5d1a27;var _0x5d6daa;return this[_0x3a8708(0x2a1)][_0x3a8708(0x21c)](_0x248b49)?(_0x5d6daa=this[_0x3a8708(0x281)][_0x3a8708(0x3a6)](_0x248b49))!=null&&_0x5d6daa[_0x3a8708(0x3ad)]()?!0x0:(this[_0x3a8708(0x2a1)][_0x3a8708(0x198)](_0x248b49),this[_0x3a8708(0x2bc)](_0x248b49),!0x1):!0x1;}[_0x5d1a27(0x39f)](_0xd16df8){const _0x5ae275=_0x5d1a27;this[_0x5ae275(0x2a1)][_0x5ae275(0x198)](_0xd16df8)&&(this[_0x5ae275(0x2bc)](_0xd16df8),this[_0x5ae275(0x1cd)](_0xd16df8));}[_0x5d1a27(0x18d)](_0x4fdbac){const _0x1ea1ca=_0x5d1a27;let _0x32dbdc=this[_0x1ea1ca(0x232)](_0x4fdbac);_0x32dbdc&&this[_0x1ea1ca(0x3d9)][_0x1ea1ca(0x1e5)](_0x32dbdc);}[_0x5d1a27(0x361)](_0x1e792c){const _0x39d868=_0x5d1a27;let _0x40c6a1=this[_0x39d868(0x232)](_0x1e792c);return!_0x40c6a1||!this[_0x39d868(0x30b)](_0x1e792c)?null:new si(_0x1e792c,()=>this[_0x39d868(0x30b)](_0x1e792c),_0x209da7=>this[_0x39d868(0x372)](_0x1e792c,_0x209da7),_0x40c6a1,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x1e792c));}['_getOrCreateSheetChartHost'](_0x1949e6){const _0x359ada=_0x5d1a27;var _0x15e89e;if(!this[_0x359ada(0x30b)](_0x1949e6))return null;this[_0x359ada(0x128)]['updateFloatDom'](_0x1949e6,{'eventPassThrough':((_0x15e89e=this[_0x359ada(0x2aa)][_0x359ada(0x26e)])==null?void 0x0:_0x15e89e['id'])!==_0x1949e6,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x53e06b=this[_0x359ada(0x281)][_0x359ada(0x3a6)](_0x1949e6);if(_0x53e06b)return _0x53e06b;let _0x48d801=new oi(_0x1949e6,()=>this[_0x359ada(0x11a)][_0x359ada(0x177)](_0x1949e6),()=>this[_0x359ada(0x222)](_0x1949e6),_0x4d3c36=>this[_0x359ada(0x372)](_0x1949e6,_0x4d3c36),()=>this[_0x359ada(0x378)],()=>this[_0x359ada(0x25f)](_0x1949e6),()=>this[_0x359ada(0x39f)](_0x1949e6));return this[_0x359ada(0x281)]['set'](_0x1949e6,_0x48d801),_0x48d801;}[_0x5d1a27(0x25f)](_0x2a8f0f){const _0x2eb98a=_0x5d1a27;this[_0x2eb98a(0x2a1)][_0x2eb98a(0x21c)](_0x2a8f0f)||(this['_activeDomReadyChartIds'][_0x2eb98a(0x248)](_0x2a8f0f),this[_0x2eb98a(0x384)](_0x2a8f0f),this[_0x2eb98a(0x1cd)](_0x2a8f0f));}[_0x5d1a27(0x384)](_0x3af27a){const _0x43130c=_0x5d1a27;var _0x292b59;let _0x7c2818=this[_0x43130c(0x11a)][_0x43130c(0x177)](_0x3af27a),_0x52209b=_0x7c2818?(_0x292b59=this['_renderManagerService']['getRenderUnitById'](_0x7c2818[_0x43130c(0x1b7)]))==null?void 0x0:_0x292b59[_0x43130c(0x1d8)]:null;if(!_0x7c2818||!_0x52209b)return;let _0x35242c=_0x1ef318(_0x7c2818[_0x43130c(0x2b7)][_0x43130c(0x186)](_0x25844e(0x1)),_0x52209b[_0x43130c(0x264)][_0x43130c(0x186)](_0x33b91a(_0x7c2818[_0x43130c(0x2b7)]),_0x1f7349(([,_0x73adad])=>_0x73adad)))[_0x43130c(0x186)](_0x29a798(),_0x1f7349(li));this[_0x43130c(0x128)][_0x43130c(0x134)](_0x3af27a,{'position$':_0x35242c});}[_0x5d1a27(0x2bc)](_0x143173){const _0x5beb8e=_0x5d1a27;let _0x5e94b0=this[_0x5beb8e(0x11a)][_0x5beb8e(0x177)](_0x143173);_0x5e94b0&&this[_0x5beb8e(0x128)][_0x5beb8e(0x134)](_0x143173,{'position$':_0x5e94b0['position$']});}['_getChartSnapshotKey'](_0x3aa5d1){const _0x30a216=_0x5d1a27;let _0x4bfe33=this[_0x30a216(0x11a)][_0x30a216(0x177)](_0x3aa5d1);return _0x4bfe33?{'unitId':_0x4bfe33['unitId'],'subUnitId':_0x4bfe33['subUnitId'],'chartId':_0x3aa5d1}:null;}[_0x5d1a27(0x1cd)](_0x379a73){const _0xccb6dc=_0x5d1a27;var _0x1af499,_0x342b6d,_0x44ae60;let _0x4f245f=this[_0xccb6dc(0x11a)][_0xccb6dc(0x177)](_0x379a73);if(!_0x4f245f)return;let _0x156d1e=(_0x1af499=this[_0xccb6dc(0x185)][_0xccb6dc(0x22d)](_0x4f245f[_0xccb6dc(0x1b7)]))==null?void 0x0:_0x1af499[_0xccb6dc(0x1d8)],_0x248d0e=(_0x156d1e==null||(_0x342b6d=_0x156d1e[_0xccb6dc(0x29d)])==null?void 0x0:_0x342b6d['call'](_0x156d1e,_0x4f61f4({'unitId':_0x4f245f[_0xccb6dc(0x1b7)],'subUnitId':_0x4f245f['subUnitId'],'drawingId':_0x379a73})))??(_0x156d1e==null?void 0x0:_0x156d1e['getObject'](_0x4f61f4({'unitId':_0x4f245f[_0xccb6dc(0x1b7)],'subUnitId':_0x4f245f['subUnitId'],'drawingId':_0x379a73})))??null;_0x248d0e==null||(_0x44ae60=_0x248d0e[_0xccb6dc(0x3d3)])==null||_0x44ae60[_0xccb6dc(0x172)](_0x248d0e,!0x0),_0x156d1e==null||_0x156d1e[_0xccb6dc(0x3d3)](!0x0);}['_getHostPlacement'](_0x25a05a){const _0x10c9c6=_0x5d1a27;let _0x4ebbe2=this[_0x10c9c6(0x11a)][_0x10c9c6(0x177)](_0x25a05a);if(!_0x4ebbe2)return null;let _0x5b889a=this[_0x10c9c6(0x315)](_0x4ebbe2[_0x10c9c6(0x1b7)]),_0x4bf859=_0x5b889a==null?void 0x0:_0x5b889a[_0x10c9c6(0x1d8)],_0x1125de=document[_0x10c9c6(0x197)](_0x4ebbe2[_0x10c9c6(0x2b2)]??_0x25a05a);return Qr(_0x4ebbe2[_0x10c9c6(0x1ed)],{'scaleX':(_0x4bf859==null?void 0x0:_0x4bf859['scaleX'])??0x1,'scaleY':(_0x4bf859==null?void 0x0:_0x4bf859[_0x10c9c6(0x3e4)])??0x1},_0x1125de?{'left':_0x1125de[_0x10c9c6(0x206)],'top':_0x1125de[_0x10c9c6(0x2c2)]}:void 0x0);}['dispose'](){const _0x19a586=_0x5d1a27;this['_disposed']||(Array[_0x19a586(0x38b)](this[_0x19a586(0x281)]['keys']())[_0x19a586(0x1e0)](_0x27ac38=>this[_0x19a586(0x2d9)](_0x27ac38)),this['_activeDomReadyChartIds'][_0x19a586(0x368)](),this[_0x19a586(0x1db)][_0x19a586(0x293)](),super['dispose']());}};di=K([G(0x0,_0x233312(_0x1cd243)),G(0x1,_0x233312(_0x2b6adf)),G(0x2,_0x233312(ii)),G(0x3,_0x233312(_0x2f4ea6)),G(0x4,_0x233312(_0xef00ca))],di);const fi=_0x4fb58e(_0x5d1a27(0x289)),pi=_0x5aea83['Image'];var mi=class extends _0x25bd7c{constructor(_0x5f357e,_0x106a5){const _0x579565=_0x5d1a27;super(_0x5f357e),this['_rect']=_0x106a5,U(this,'_version',0x0),U(this,_0x579565(0x386),void 0x0),U(this,_0x579565(0x2ce),{});}[_0x5d1a27(0x218)](){return this['_rect'];}[_0x5d1a27(0x21e)](_0x4b5525){const _0x4bb4be=_0x5d1a27;this[_0x4bb4be(0x2ce)]=_0x4b5525;}[_0x5d1a27(0x1e5)](){return++this['_version'];}[_0x5d1a27(0x12e)](_0x59f3a7,_0x5114dd){const _0x4625f3=_0x5d1a27;return _0x5114dd===this[_0x4625f3(0x3ae)]?(W(this[_0x4625f3(0x386)]),this[_0x4625f3(0x386)]=_0x59f3a7,!0x0):(W(_0x59f3a7),!0x1);}['requestPaint'](){}[_0x5d1a27(0x18d)](){const _0x590436=_0x5d1a27;this[_0x590436(0x3ae)]+=0x1;}[_0x5d1a27(0x244)](){const _0xf3916c=_0x5d1a27;let _0x5a78e3=this['_image'];return this[_0xf3916c(0x386)]=void 0x0,_0x5a78e3;}[_0x5d1a27(0x33d)](){const _0x213ce3=_0x5d1a27;W(this[_0x213ce3(0x386)]),this[_0x213ce3(0x386)]=void 0x0,super[_0x213ce3(0x33d)]();}};function hi(_0x50ac94,_0x23b007,_0x14a4d8){const _0x528570=_0x5d1a27;let _0x14e7f6=_0x50ac94[_0x528570(0x1eb)](_0x23b007),_0x2f2289={..._0x50ac94[_0x528570(0x2ce)],'runtime':{..._0x14e7f6,'layoutInset':0x8,..._0x14a4d8===void 0x0?{}:{'addWatermark':_0x14a4d8}},'direction':_0x23b007};return _0x2f8ba8(_0x2f2289,_0x50ac94[_0x528570(0x38a)]);}let q=class extends _0x23a464{constructor(_0x3d9543,_0x209ebe,_0x499a6d,_0x1b91b5,_0x1f9a31,_0x4303a5,_0x5277a7,_0x5cbef9,_0x2c720a,_0x47a5ec,_0x38e233,_0xe3b539,_0x577199){const _0x1d0111=_0x5d1a27;super(),this['_chartHostProvider']=_0x3d9543,this[_0x1d0111(0x11a)]=_0x209ebe,this['_chartModelService']=_0x499a6d,this['_drawingManagerService']=_0x1b91b5,this[_0x1d0111(0x3d8)]=_0x1f9a31,this[_0x1d0111(0x185)]=_0x4303a5,this[_0x1d0111(0x166)]=_0x5277a7,this[_0x1d0111(0x305)]=_0x5cbef9,this['_chartThemeService']=_0x2c720a,this[_0x1d0111(0x30f)]=_0x47a5ec,this[_0x1d0111(0x1d2)]=_0x38e233,this[_0x1d0111(0x3d9)]=_0xe3b539,this[_0x1d0111(0x1be)]=_0x577199,U(this,'_chartInstanceMap',new Map()),U(this,'_chartEventHandlers',new Map()),U(this,_0x1d0111(0x38e),new Map()),U(this,_0x1d0111(0x330),new Map()),U(this,_0x1d0111(0x16b),new Map()),U(this,_0x1d0111(0x32f),new Map()),U(this,_0x1d0111(0x15b),new Map()),U(this,_0x1d0111(0x3c3),void 0x0),U(this,_0x1d0111(0x2bd),void 0x0),U(this,_0x1d0111(0x2e5),new Map()),U(this,'_dataUpdateAnimationChartIds',new Set()),U(this,_0x1d0111(0x2f9),new Map()),U(this,_0x1d0111(0x13c),null),U(this,_0x1d0111(0x1c4),null);let _0x1237c5=_0x2ab3f2(this[_0x1d0111(0x305)]),_0x4a239c=this['_configService']['getConfig'](_0x1b5ad5);this['_chartRenderMode']=(_0x4a239c==null?void 0x0:_0x4a239c[_0x1d0111(0x2f2)])??pi,this[_0x1d0111(0x2bd)]=_0x1237c5[_0x1d0111(0x355)]!==0x1||_0x1237c5[0x0]!==_0x1d0111(0x22c),this['_registerChartImageRenderObjectFactory'](),this[_0x1d0111(0x242)](),this[_0x1d0111(0x34d)](),this['_initActiveRuntimeLayerListener'](),this[_0x1d0111(0x294)]();}[_0x5d1a27(0x2ef)](_0x53acff){const _0x3630d2=_0x5d1a27;let _0x11a893=this[_0x3630d2(0x232)](_0x53acff);return _0x11a893?this[_0x3630d2(0x3d9)][_0x3630d2(0x265)](_0x11a893):void 0x0;}[_0x5d1a27(0x36c)](_0x519ea9){const _0x472788=_0x5d1a27;var _0xe21558;return((_0xe21558=this[_0x472788(0x2aa)][_0x472788(0x26e)])==null?void 0x0:_0xe21558['id'])===_0x519ea9?_0x5aea83[_0x472788(0x3da)]:this[_0x472788(0x3c3)];}['_getChartSnapshotKey'](_0x121303){const _0x3d3c43=_0x5d1a27;let _0x1ebb17=this[_0x3d3c43(0x11a)]['getFloatDomInfo'](_0x121303);return _0x1ebb17?{'unitId':_0x1ebb17[_0x3d3c43(0x1b7)],'subUnitId':_0x1ebb17['subUnitId'],'chartId':_0x121303}:null;}[_0x5d1a27(0x182)](){const _0x20d07c=_0x5d1a27;this[_0x20d07c(0x3c3)]===_0x5aea83[_0x20d07c(0x2af)]&&this[_0x20d07c(0x27a)](this[_0x20d07c(0x11a)][_0x20d07c(0x1c8)](_0x4c00c3[_0x20d07c(0x249)],({key:_0xffa377,config:_0x3b1b9f,unitId:_0x4931bd,subUnitId:_0x21f0bb,drawingId:_0x1a5059})=>new ei(_0xffa377,_0x3b1b9f,()=>this[_0x20d07c(0x3d9)][_0x20d07c(0x265)]({'unitId':_0x4931bd,'subUnitId':_0x21f0bb,'chartId':_0x1a5059}),()=>this[_0x20d07c(0x22b)][_0x20d07c(0x29a)](_0x1a5059))));}[_0x5d1a27(0x242)](){const _0x471c2e=_0x5d1a27;this[_0x471c2e(0x27a)](this[_0x471c2e(0x2aa)][_0x471c2e(0x209)][_0x471c2e(0x3d5)](_0x37397c=>{const _0x534bc3=_0x471c2e;let _0x2640c1=(_0x37397c==null?void 0x0:_0x37397c['id'])??null,_0x3ab3ef=this['_activeChartId'];_0x3ab3ef!==_0x2640c1&&(_0x3ab3ef&&(this[_0x534bc3(0x22b)]['markHostNotReady'](_0x3ab3ef),this[_0x534bc3(0x362)](_0x3ab3ef),this[_0x534bc3(0x3b6)](_0x3ab3ef)),this[_0x534bc3(0x13c)]=_0x2640c1,_0x2640c1&&(this[_0x534bc3(0x2ae)](_0x2640c1),this[_0x534bc3(0x22b)][_0x534bc3(0x39f)](_0x2640c1),this[_0x534bc3(0x33c)](_0x2640c1),this[_0x534bc3(0x11e)](_0x2640c1)));}));}['_initDrawingDeactivationListener'](){const _0x1cc975=_0x5d1a27;this[_0x1cc975(0x27a)](this[_0x1cc975(0x3cb)][_0x1cc975(0x1c6)]['subscribe'](_0x57722e=>{const _0x29c530=_0x1cc975;var _0x3ee79e;let _0x1991ff=(_0x3ee79e=this[_0x29c530(0x2aa)][_0x29c530(0x26e)])==null?void 0x0:_0x3ee79e['id'];_0x1991ff&&_0x57722e[_0x29c530(0x119)](_0x5ef1de=>_0x5ef1de[_0x29c530(0x389)]['some'](_0x230952=>_0x230952['drawingId']===_0x1991ff))&&this[_0x29c530(0x2aa)][_0x29c530(0x284)](null);})),this[_0x1cc975(0x27a)](this['_drawingManagerService'][_0x1cc975(0x1fc)]['subscribe'](_0x3a94a1=>{const _0x4c0a24=_0x1cc975;var _0x49b553;let _0x260838=(_0x49b553=this[_0x4c0a24(0x2aa)][_0x4c0a24(0x26e)])==null?void 0x0:_0x49b553['id'];_0x260838&&_0x3a94a1[_0x4c0a24(0x119)](_0x26348c=>_0x26348c[_0x4c0a24(0x299)][_0x4c0a24(0x14a)]===_0x260838||_0x26348c[_0x4c0a24(0x389)][_0x4c0a24(0x119)](_0x373eab=>_0x373eab['drawingId']===_0x260838))&&this['_chartModelService'][_0x4c0a24(0x284)](null);}));}[_0x5d1a27(0x157)](){const _0x451f68=_0x5d1a27;this['disposeWithMe'](this[_0x451f68(0x3cb)][_0x451f68(0x2da)][_0x451f68(0x3d5)](_0x202b8c=>{const _0x53eedb=_0x451f68;var _0x2fe626;let _0x5232c6=(_0x2fe626=this[_0x53eedb(0x2aa)][_0x53eedb(0x26e)])==null?void 0x0:_0x2fe626['id'];if(!_0x5232c6){_0x202b8c[_0x53eedb(0x341)][_0x53eedb(0x1e0)](_0x49de68=>{const _0x4e2655=_0x53eedb;this[_0x4e2655(0x2aa)][_0x4e2655(0x1ce)](_0x49de68)&&this[_0x4e2655(0x362)](_0x49de68);});return;}let _0x3da9ca=this['_sheetCanvasFloatDomManagerService'][_0x53eedb(0x177)](_0x5232c6);(_0x3da9ca==null?void 0x0:_0x3da9ca['unitId'])===_0x202b8c[_0x53eedb(0x1b7)]&&_0x3da9ca[_0x53eedb(0x2b4)]===_0x202b8c[_0x53eedb(0x2b4)]&&this[_0x53eedb(0x33c)](_0x5232c6);})),this[_0x451f68(0x27a)](this['_drawingManagerService']['add$'][_0x451f68(0x3d5)](_0x4eb363=>{const _0x1aab6f=_0x451f68;var _0x1b9a6f;let _0x2e95bc=(_0x1b9a6f=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x1b9a6f['id'];if(!_0x2e95bc)return;let _0x403b08=this[_0x1aab6f(0x11a)]['getFloatDomInfo'](_0x2e95bc);_0x403b08&&_0x4eb363['some'](_0xec3d56=>_0xec3d56[_0x1aab6f(0x1b7)]===_0x403b08[_0x1aab6f(0x1b7)]&&_0xec3d56['subUnitId']===_0x403b08['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x2e95bc);})),this[_0x451f68(0x27a)](this['_chartModelService']['chartModelRemoved$'][_0x451f68(0x3d5)](_0x48699e=>{const _0x1d81a9=_0x451f68;var _0x516f15;this[_0x1d81a9(0x2b6)](_0x48699e),this[_0x1d81a9(0x25a)](_0x48699e),this[_0x1d81a9(0x39d)][_0x1d81a9(0x198)](_0x48699e),this['_deactivateDataUpdateAnimation'](_0x48699e),this['_lastRenderInputMap'][_0x1d81a9(0x198)](_0x48699e),this[_0x1d81a9(0x3d9)][_0x1d81a9(0x26f)](_0x48699e),this[_0x1d81a9(0x31e)](_0x48699e),this[_0x1d81a9(0x22b)]['markHostNotReady'](_0x48699e),((_0x516f15=this[_0x1d81a9(0x2aa)][_0x1d81a9(0x26e)])==null?void 0x0:_0x516f15['id'])===_0x48699e?this[_0x1d81a9(0x2aa)]['setActiveChartModel'](null):this['_resetChartRuntimeZIndex'](_0x48699e),this[_0x1d81a9(0x288)](_0x48699e);}));}['_rerenderLatest'](_0x17c875){const _0x58087b=_0x5d1a27;let _0x178cd3=this[_0x58087b(0x2e5)][_0x58087b(0x3a6)](_0x17c875);_0x178cd3&&this[_0x58087b(0x3a9)](_0x17c875,_0x178cd3['config'],_0x178cd3[_0x58087b(0x2ce)]);}['_disposeChartDomInstance'](_0x12effe){const _0xd9cdce=_0x5d1a27;let _0x3d408a=this['_chartInstanceMap'][_0xd9cdce(0x3a6)](_0x12effe);(_0x3d408a==null?void 0x0:_0x3d408a[_0xd9cdce(0x295)])==='dom'&&(this[_0xd9cdce(0x25a)](_0x12effe),_0x3d408a['dispose'](),this[_0xd9cdce(0x3bd)][_0xd9cdce(0x198)](_0x12effe)),this[_0xd9cdce(0x22b)][_0xd9cdce(0x39f)](_0x12effe),this['_chartHostProvider'][_0xd9cdce(0x2d9)](_0x12effe);}[_0x5d1a27(0x288)](_0x491692){const _0x36d9c6=_0x5d1a27;let _0x4b7e35=this[_0x36d9c6(0x3bd)][_0x36d9c6(0x3a6)](_0x491692);_0x4b7e35&&(this[_0x36d9c6(0x25a)](_0x491692),_0x4b7e35[_0x36d9c6(0x33d)](),this['_chartInstanceMap'][_0x36d9c6(0x198)](_0x491692)),this[_0x36d9c6(0x22b)]['markHostNotReady'](_0x491692),this[_0x36d9c6(0x22b)][_0x36d9c6(0x2d9)](_0x491692);}[_0x5d1a27(0x31e)](_0x949d74){const _0x57e3ce=_0x5d1a27;var _0x2b4237,_0x2c5644;(_0x2b4237=this[_0x57e3ce(0x1be)][_0x57e3ce(0x2d1)](_0x2e63c9))==null||(_0x2c5644=_0x2b4237[_0x57e3ce(0x19a)])==null||_0x2c5644[_0x57e3ce(0x172)](_0x2b4237,_0x949d74);}[_0x5d1a27(0x1f2)](_0x2e78a2,_0x34bbb8){const _0xb5a983=_0x5d1a27;let _0x237d67=this[_0xb5a983(0x3cb)][_0xb5a983(0x3be)](_0x2e78a2,_0x34bbb8);Object[_0xb5a983(0x2d7)](_0x237d67??{})[_0xb5a983(0x1e0)](_0x4f2ed4=>{const _0x46a09d=_0xb5a983;_0x4f2ed4['drawingType']===_0x4c00c3[_0x46a09d(0x249)]&&this[_0x46a09d(0x31e)](_0x4f2ed4['drawingId']);});}['_getChartRenderObject'](_0x4d5b91,_0x2f9d27){const _0x5b116e=_0x5d1a27;var _0x22489b;return((_0x22489b=_0x4d5b91[_0x5b116e(0x29d)])==null?void 0x0:_0x22489b['call'](_0x4d5b91,_0x2f9d27))??_0x4d5b91[_0x5b116e(0x32d)](_0x2f9d27)??null;}['_getChartRenderObjectContext'](_0x1a6899){const _0x53db05=_0x5d1a27;var _0x4aef54;let _0x1facfe=this[_0x53db05(0x11a)]['getFloatDomInfo'](_0x1a6899);if(!_0x1facfe)return null;let _0x5a639b=(_0x4aef54=this[_0x53db05(0x185)][_0x53db05(0x22d)](_0x1facfe[_0x53db05(0x1b7)]))==null?void 0x0:_0x4aef54[_0x53db05(0x1d8)];if(!_0x5a639b)return null;let _0x25e6b6=this[_0x53db05(0x1d1)](_0x5a639b,_0x4f61f4({'unitId':_0x1facfe[_0x53db05(0x1b7)],'subUnitId':_0x1facfe[_0x53db05(0x2b4)],'drawingId':_0x1a6899}));return _0x25e6b6?{'info':_0x1facfe,'scene':_0x5a639b,'chartObject':_0x25e6b6}:null;}[_0x5d1a27(0x15f)](_0x11e9be,_0x4a980b){const _0x4e075c=_0x5d1a27;var _0x87f12e,_0x35e8d7,_0x3a076d,_0x3c3def;let _0x3f8fc0=this[_0x4e075c(0x278)](_0x11e9be);_0x3f8fc0&&((_0x87f12e=(_0x35e8d7=_0x3f8fc0[_0x4e075c(0x307)])[_0x4e075c(0x170)])==null||_0x87f12e[_0x4e075c(0x172)](_0x35e8d7,{'zIndex':_0x4a980b}),(_0x3a076d=(_0x3c3def=_0x3f8fc0[_0x4e075c(0x307)])[_0x4e075c(0x3d3)])==null||_0x3a076d[_0x4e075c(0x172)](_0x3c3def,!0x0),_0x3f8fc0[_0x4e075c(0x1d8)][_0x4e075c(0x3d3)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0xf7b291){const _0x141170=_0x5d1a27;let _0x1288e8=this[_0x141170(0x11a)][_0x141170(0x177)](_0xf7b291);if(!_0x1288e8)return;let _0x1bbb53=this[_0x141170(0x3cb)][_0x141170(0x2ac)](_0x1288e8[_0x141170(0x1b7)],_0x1288e8[_0x141170(0x2b4)]);this[_0x141170(0x15f)](_0xf7b291,_0x1bbb53[_0x141170(0x355)]);}[_0x5d1a27(0x362)](_0x3288db){const _0x5200c8=_0x5d1a27;let _0x3525d0=this[_0x5200c8(0x11a)]['getFloatDomInfo'](_0x3288db);if(!_0x3525d0)return;let _0x10d22e=this[_0x5200c8(0x3cb)][_0x5200c8(0x2ac)](_0x3525d0[_0x5200c8(0x1b7)],_0x3525d0[_0x5200c8(0x2b4)]),_0x49b075=_0x10d22e[_0x5200c8(0x1b1)](_0x3288db);this[_0x5200c8(0x15f)](_0x3288db,_0x49b075===-0x1?Math[_0x5200c8(0x189)](_0x10d22e[_0x5200c8(0x355)]-0x1,0x0):_0x49b075);}[_0x5d1a27(0x35e)](_0xa66dbf,_0x1fb2d7){const _0x61e5b8=_0x5d1a27;let _0x56cf6d=this['_sheetCanvasFloatDomManagerService'][_0x61e5b8(0x177)](_0xa66dbf);if(_0x1fb2d7[_0x61e5b8(0x175)]!==void 0x0&&_0x1fb2d7['height']!==void 0x0&&_0x56cf6d){var _0xdf8a6e;let {subUnitId:_0x276d41}=_0x56cf6d,_0x57e807=(_0xdf8a6e=this[_0x61e5b8(0x3d8)]['getCurrentUnitOfType'](_0x2a3654[_0x61e5b8(0x1d7)]))==null?void 0x0:_0xdf8a6e[_0x61e5b8(0x144)]();if((_0x57e807==null?void 0x0:_0x57e807[_0x61e5b8(0x1c1)]())===_0x276d41){let {width:_0x4cb2f6,height:_0x59c2ac}=_0x1fb2d7,_0x400200=this[_0x61e5b8(0x2aa)]['getChartModel'](_0xa66dbf),_0x19bf2f=_0x400200==null?void 0x0:_0x400200[_0x61e5b8(0x2ce)];(Math['abs'](_0x4cb2f6-((_0x19bf2f==null?void 0x0:_0x19bf2f[_0x61e5b8(0x175)])||0x0))>0x1||Math[_0x61e5b8(0x124)](_0x59c2ac-((_0x19bf2f==null?void 0x0:_0x19bf2f[_0x61e5b8(0x364)])||0x0))>0x1)&&(_0x400200==null||_0x400200[_0x61e5b8(0x257)]({..._0x19bf2f,'width':_0x4cb2f6,'height':_0x59c2ac}));}}}['_debounceHandle'](_0x346003,_0x1ad532,_0x320117=0x0){const _0x513691=_0x5d1a27;let _0x176dba=this[_0x513691(0x32f)][_0x513691(0x3a6)](_0x346003);_0x176dba||(_0x176dba=_0x265549(_0x2f3898=>{const _0x533f8b=_0x513691;this[_0x533f8b(0x35e)](_0x346003,_0x2f3898);},_0x320117),this['_debounceHandleMap']['set'](_0x346003,_0x176dba)),_0x176dba(_0x1ad532);}[_0x5d1a27(0x294)](){const _0x2e9ac9=_0x5d1a27;let _0xbe35de=this[_0x2e9ac9(0x16b)],_0x5c110a=_0x35eed8=>{const _0xc2094e=_0x2e9ac9;if(!_0xbe35de[_0xc2094e(0x21c)](_0x35eed8)){let _0x203508=_0x265549((_0xdfd2c8,_0x5c5dbf,_0x198dec,_0x2128d6)=>{const _0x27df2d=_0xc2094e;var _0x15cdee,_0x358004;if(!_0x198dec)return;(_0x15cdee=_0x198dec[_0x27df2d(0x142)])==null||_0x15cdee['items']['forEach']((_0x1c874d,_0x57bb02)=>{const _0x58d08d=_0x27df2d;_0x1c874d[_0x58d08d(0x27d)]||=this[_0x58d08d(0x166)]['t'](_0x58d08d(0x3b9))+'\x20'+(_0x57bb02+0x1);}),_0x198dec[_0x27df2d(0x1e8)][_0x27df2d(0x1e0)]((_0x257ff7,_0x465c12)=>{const _0x417713=_0x27df2d;_0x257ff7[_0x417713(0x1ea)]||=this[_0x417713(0x166)]['t'](_0x417713(0x344))+'\x20'+(_0x465c12+0x1);});let _0x3c9d13=this['createRuntimeChartStyle'](_0xdfd2c8,_0x2128d6),_0x17e905=(_0x358004=this[_0x27df2d(0x3d8)][_0x27df2d(0x3ce)](_0x2a3654[_0x27df2d(0x1d7)]))==null?void 0x0:_0x358004[_0x27df2d(0x144)]();(_0x17e905==null?void 0x0:_0x17e905['getSheetId']())===_0x5c5dbf&&this[_0x27df2d(0x3a9)](_0xdfd2c8['id'],_0x198dec,_0x3c9d13);},0x11);_0xbe35de[_0xc2094e(0x30a)](_0x35eed8,_0x203508);}return _0xbe35de['get'](_0x35eed8);};this[_0x2e9ac9(0x27a)](this[_0x2e9ac9(0x3d8)][_0x2e9ac9(0x1f4)][_0x2e9ac9(0x3d5)](_0x4ed89d=>{const _0x4ad113=_0x2e9ac9;let _0x2fcae0=this[_0x4ad113(0x3d8)][_0x4ad113(0x3ce)](_0x2a3654[_0x4ad113(0x1d7)]);if(_0x4ed89d&&_0x2fcae0&&_0x2fcae0[_0x4ad113(0x18b)]()===_0x4ed89d){var _0x4d784b;let _0x1021ca=_0x2fcae0[_0x4ad113(0x144)]()[_0x4ad113(0x1c1)]();this['_lastActiveSheet']&&(this['_lastActiveSheet'][_0x4ad113(0x1b7)]!==_0x4ed89d||this[_0x4ad113(0x1c4)][_0x4ad113(0x2b4)]!==_0x1021ca)&&this['_clearSheetChartRuntimeCaches'](this[_0x4ad113(0x1c4)]['unitId'],this['_lastActiveSheet'][_0x4ad113(0x2b4)]),this[_0x4ad113(0x1c4)]={'unitId':_0x4ed89d,'subUnitId':_0x1021ca};let _0x10cc4b=this[_0x4ad113(0x3cb)][_0x4ad113(0x3be)](_0x4ed89d,_0x1021ca);if(!((_0x4d784b=this[_0x4ad113(0x185)]['getRenderUnitById'](_0x4ed89d))!=null&&_0x4d784b[_0x4ad113(0x388)](_0x4936ae)[_0x4ad113(0x392)](_0x1021ca)))return;if(_0x10cc4b)for(let _0x513d45 in _0x10cc4b){let {drawingId:_0x262d52}=_0x10cc4b[_0x513d45],_0x355c83=this[_0x4ad113(0x2aa)]['getChartModel'](_0x262d52);_0x355c83&&_0x5c110a(_0x355c83['id'])(_0x355c83,_0x1021ca,_0x355c83[_0x4ad113(0x2cc)],this[_0x4ad113(0x166)]['getDirection']());}}})),this[_0x2e9ac9(0x27a)](this[_0x2e9ac9(0x30f)][_0x2e9ac9(0x3a1)][_0x2e9ac9(0x3d5)](()=>{const _0x2c7bfd=_0x2e9ac9;var _0x5670ff;let _0x27e4d4=this['_univerInstanceService'][_0x2c7bfd(0x3ce)](_0x2a3654[_0x2c7bfd(0x1d7)]);if(!_0x27e4d4)return;let _0x16e761=_0x27e4d4[_0x2c7bfd(0x18b)](),_0x26c129=_0x27e4d4[_0x2c7bfd(0x144)]()['getSheetId'](),_0xea312d=this[_0x2c7bfd(0x3cb)][_0x2c7bfd(0x3be)](_0x16e761,_0x26c129);if((_0x5670ff=this[_0x2c7bfd(0x185)][_0x2c7bfd(0x22d)](_0x16e761))!=null&&_0x5670ff['with'](_0x4936ae)['getSkeleton'](_0x26c129)&&_0xea312d)for(let _0x5e4669 in _0xea312d){let {drawingId:_0x17242d}=_0xea312d[_0x5e4669],_0x3d781a=this[_0x2c7bfd(0x2aa)][_0x2c7bfd(0x1ce)](_0x17242d);_0x3d781a&&_0x5c110a(_0x3d781a['id'])(_0x3d781a,_0x26c129,_0x3d781a[_0x2c7bfd(0x2cc)],this[_0x2c7bfd(0x166)][_0x2c7bfd(0x36e)]());}})),this['disposeWithMe'](this[_0x2e9ac9(0x3cb)]['add$'][_0x2e9ac9(0x3d5)](_0x2978d6=>{_0x2978d6['forEach'](_0x203411=>{const _0x223f9d=_0x14cc;var _0x3e7c6d;let {drawingId:_0x531008,unitId:_0x59e377,subUnitId:_0x4746cd}=_0x203411,_0x3f2bc2=this['_renderManagerService']['getRenderUnitById'](_0x59e377);if((_0x3f2bc2==null?void 0x0:_0x3f2bc2[_0x223f9d(0x17a)])!==_0x2a3654[_0x223f9d(0x1d7)]||!_0x3f2bc2[_0x223f9d(0x388)](_0x4936ae)[_0x223f9d(0x392)](_0x4746cd))return;let {drawingType:_0x5b3c60}=this[_0x223f9d(0x3cb)]['getDrawingByParam'](_0x203411);if(_0x5b3c60!==_0x4c00c3[_0x223f9d(0x249)])return;let _0x191ad7=this[_0x223f9d(0x11a)][_0x223f9d(0x177)](_0x531008);this[_0x223f9d(0x2b6)](_0x531008);let _0x2e3960=new _0x23a464();this[_0x223f9d(0x15b)][_0x223f9d(0x30a)](_0x531008,_0x2e3960);let _0x4b194c=(_0x191ad7==null?void 0x0:_0x191ad7[_0x223f9d(0x2b2)])??_0x531008,_0x3d2695=_0x191ad7==null?void 0x0:_0x191ad7[_0x223f9d(0x1ed)],_0x4582c9=(_0x3e7c6d=this[_0x223f9d(0x185)][_0x223f9d(0x22d)](_0x59e377))==null?void 0x0:_0x3e7c6d[_0x223f9d(0x1d8)];if(_0x3d2695){let _0x339b70=new Xr(_0x3d2695,_0x4c209a=>{const _0x39817a=_0x223f9d;var _0x5d964e;let _0xb726f9=this[_0x39817a(0x3d8)][_0x39817a(0x3ce)](_0x2a3654['UNIVER_SHEET']);if((_0xb726f9==null?void 0x0:_0xb726f9[_0x39817a(0x18b)]())===_0x59e377&&((_0x5d964e=_0xb726f9[_0x39817a(0x144)]())==null?void 0x0:_0x5d964e[_0x39817a(0x1c1)]())===_0x4746cd&&(this['_chartHostProvider'][_0x39817a(0x155)](_0x531008),_0x4c209a)){var _0x15d4e9;(_0x15d4e9=this[_0x39817a(0x3bd)][_0x39817a(0x3a6)](_0x531008))==null||_0x15d4e9[_0x39817a(0x183)](),this[_0x39817a(0x353)](_0x531008,{'width':_0x3d2695[_0x39817a(0x175)],'height':_0x3d2695[_0x39817a(0x364)]},0x64);}});_0x2e3960[_0x223f9d(0x27a)](_0x339b70),_0x2e3960[_0x223f9d(0x27a)](this[_0x223f9d(0x3d8)][_0x223f9d(0x1f4)][_0x223f9d(0x3d5)](()=>_0x339b70[_0x223f9d(0x117)]())),_0x4582c9&&_0x2e3960[_0x223f9d(0x27a)](_0x4582c9[_0x223f9d(0x271)]()[_0x223f9d(0x345)][_0x223f9d(0x3d5)](({objects:_0x5127fe})=>{const _0x39e659=_0x223f9d;if(_0x5127fe[_0x39e659(0x21c)](_0x3d2695['oKey'])){var _0xd6bb38;_0x339b70[_0x39e659(0x171)](),(_0xd6bb38=this[_0x39e659(0x32f)]['get'](_0x531008))==null||_0xd6bb38[_0x39e659(0x171)]();}}));}_0x4582c9&&_0x2e3960[_0x223f9d(0x27a)](_0x4582c9['onTransformChange$'][_0x223f9d(0x1a7)](_0x3ccca9=>{const _0x3c2623=_0x223f9d;var _0xf21c06;_0x3ccca9[_0x3c2623(0x17a)]===_0x4f6e63[_0x3c2623(0x335)]&&(_0xf21c06=document[_0x3c2623(0x197)](_0x4b194c))!=null&&_0xf21c06['querySelector']('.chart-host')&&this[_0x3c2623(0x22b)][_0x3c2623(0x155)](_0x531008);}));let _0x3ddace=this[_0x223f9d(0x2aa)]['getChartModel'](_0x531008);_0x3ddace&&_0x2e3960[_0x223f9d(0x27a)](_0x276a93([_0x3ddace[_0x223f9d(0x310)],_0x3ddace['style$'],this[_0x223f9d(0x166)]['direction$']])[_0x223f9d(0x3d5)](([_0x3cc470,_0x194435,_0x554d10])=>{_0x5c110a(_0x3ddace['id'])(_0x3ddace,_0x4746cd,_0x3cc470,_0x554d10);}));});})),this[_0x2e9ac9(0x27a)](_0x276a93([this[_0x2e9ac9(0x3cb)][_0x2e9ac9(0x241)]])[_0x2e9ac9(0x3d5)](([_0x1290ca])=>{_0x1290ca['forEach'](_0x3a8fef=>{const _0x5119e6=_0x14cc;var _0xca086d;let {drawingId:_0x4ef6d1}=_0x3a8fef;this[_0x5119e6(0x2b6)](_0x4ef6d1),((_0xca086d=this[_0x5119e6(0x2aa)]['activeChartModel'])==null?void 0x0:_0xca086d['id'])===_0x4ef6d1&&this[_0x5119e6(0x2aa)]['setActiveChartModel'](null),this[_0x5119e6(0x25a)](_0x4ef6d1),this[_0x5119e6(0x22b)][_0x5119e6(0x39f)](_0x4ef6d1),this[_0x5119e6(0x362)](_0x4ef6d1),this['_disposeChartRenderInstance'](_0x4ef6d1),this[_0x5119e6(0x3d9)][_0x5119e6(0x26f)](_0x4ef6d1),this[_0x5119e6(0x31e)](_0x4ef6d1),this[_0x5119e6(0x2e5)][_0x5119e6(0x198)](_0x4ef6d1),this[_0x5119e6(0x330)][_0x5119e6(0x198)](_0x4ef6d1);});}));}[_0x5d1a27(0x318)](_0x24aaab,_0x26246e){const _0x3d48ea=_0x5d1a27;var _0x1082b8;_0x26246e?this[_0x3d48ea(0x330)][_0x3d48ea(0x30a)](_0x24aaab,!0x0):this[_0x3d48ea(0x330)][_0x3d48ea(0x198)](_0x24aaab),(_0x1082b8=this[_0x3d48ea(0x3bd)]['get'](_0x24aaab))==null||_0x1082b8[_0x3d48ea(0x318)](_0x26246e);}async[_0x5d1a27(0x369)](_0x1d5376,_0x58bfd9){const _0xa1f167=_0x5d1a27;var _0x515554;let _0x9ec81b=this[_0xa1f167(0x2e5)][_0xa1f167(0x3a6)](_0x1d5376),_0x1f1e98=(_0x515554=this[_0xa1f167(0x11a)][_0xa1f167(0x177)](_0x1d5376))==null?void 0x0:_0x515554[_0xa1f167(0x1ed)];if(_0x9ec81b&&_0x1f1e98)return(await this['_renderModelManager']['exportImage']({'chartId':_0x1d5376,'config':_0x9ec81b[_0xa1f167(0x2cc)],'style':_0x9ec81b[_0xa1f167(0x2ce)],'width':_0x1f1e98[_0xa1f167(0x175)],'height':_0x1f1e98['height']},_0x58bfd9))[_0xa1f167(0x12f)];if((_0x58bfd9==null?void 0x0:_0x58bfd9[_0xa1f167(0x243)])===_0x4d43e3['SVG'])return;let _0x5c1cd8=this[_0xa1f167(0x1b2)](_0x1d5376);return _0x5c1cd8?_0xa2d3cc(_0x5c1cd8):void 0x0;}['on'](_0x15a4f9,_0x20003c,_0x98d7ae){const _0x4ff7e6=_0x5d1a27;let _0x4e5008=this[_0x4ff7e6(0x39d)][_0x4ff7e6(0x3a6)](_0x15a4f9);_0x4e5008||(_0x4e5008=new Map(),this[_0x4ff7e6(0x39d)]['set'](_0x15a4f9,_0x4e5008));let _0x28ab7e=_0x4e5008[_0x4ff7e6(0x3a6)](_0x20003c);_0x28ab7e||(_0x28ab7e=new Set(),_0x4e5008['set'](_0x20003c,_0x28ab7e)),_0x28ab7e['add'](_0x98d7ae);let _0x57330b=this[_0x4ff7e6(0x3bd)][_0x4ff7e6(0x3a6)](_0x15a4f9);return _0x57330b&&this[_0x4ff7e6(0x238)](_0x15a4f9,_0x57330b,_0x20003c,_0x98d7ae),{'dispose':()=>{const _0x80fd2c=_0x4ff7e6;var _0x6bdbbc;(_0x6bdbbc=this['_chartEventHandlers'][_0x80fd2c(0x3a6)](_0x15a4f9))==null||(_0x6bdbbc=_0x6bdbbc[_0x80fd2c(0x3a6)](_0x20003c))==null||_0x6bdbbc[_0x80fd2c(0x198)](_0x98d7ae),this[_0x80fd2c(0x1dd)](_0x15a4f9,_0x20003c,_0x98d7ae);}};}[_0x5d1a27(0x1b2)](_0x549e3c){const _0x454bb3=_0x5d1a27;let _0x1f3c9f=this[_0x454bb3(0x3d8)]['getCurrentUnitOfType'](_0x2a3654['UNIVER_SHEET']),_0x3d6262=_0x1f3c9f==null?void 0x0:_0x1f3c9f[_0x454bb3(0x144)](),_0x535206=_0x1f3c9f==null?void 0x0:_0x1f3c9f['getUnitId'](),_0x36ad0b=_0x3d6262==null?void 0x0:_0x3d6262[_0x454bb3(0x1c1)]();if(_0x535206&&_0x36ad0b)return this[_0x454bb3(0x3d9)][_0x454bb3(0x265)]({'unitId':_0x535206,'subUnitId':_0x36ad0b,'chartId':_0x549e3c});}[_0x5d1a27(0x1a1)](_0x3c64d2,_0x1d1970){const _0x3fa1c1=_0x5d1a27;let _0x10b02f=this['_chartEventHandlers'][_0x3fa1c1(0x3a6)](_0x3c64d2);_0x10b02f&&_0x10b02f['forEach']((_0x4dcb27,_0x17850f)=>{const _0x3b45f4=_0x3fa1c1;_0x4dcb27[_0x3b45f4(0x1e0)](_0x4cc795=>this[_0x3b45f4(0x238)](_0x3c64d2,_0x1d1970,_0x17850f,_0x4cc795));});}[_0x5d1a27(0x238)](_0x194e44,_0x7c4ff0,_0x3e6506,_0x57c76d){const _0x2f9880=_0x5d1a27;let _0x384b90=this[_0x2f9880(0x38e)][_0x2f9880(0x3a6)](_0x194e44);_0x384b90||(_0x384b90=new Map(),this[_0x2f9880(0x38e)][_0x2f9880(0x30a)](_0x194e44,_0x384b90));let _0x40a4b9=_0x384b90[_0x2f9880(0x3a6)](_0x3e6506);_0x40a4b9||(_0x40a4b9=new Map(),_0x384b90[_0x2f9880(0x30a)](_0x3e6506,_0x40a4b9)),!_0x40a4b9[_0x2f9880(0x21c)](_0x57c76d)&&_0x40a4b9[_0x2f9880(0x30a)](_0x57c76d,_0x7c4ff0['on'](_0x3e6506,_0x57c76d));}[_0x5d1a27(0x1dd)](_0x4651d1,_0x23183f,_0x4994eb){const _0x271ec2=_0x5d1a27;var _0x5ed8d6,_0x174c94;let _0x44401d=(_0x5ed8d6=this[_0x271ec2(0x38e)][_0x271ec2(0x3a6)](_0x4651d1))==null?void 0x0:_0x5ed8d6[_0x271ec2(0x3a6)](_0x23183f);_0x44401d==null||(_0x174c94=_0x44401d[_0x271ec2(0x3a6)](_0x4994eb))==null||_0x174c94[_0x271ec2(0x33d)](),_0x44401d==null||_0x44401d[_0x271ec2(0x198)](_0x4994eb);}[_0x5d1a27(0x25a)](_0xe956c2){const _0x46ec4c=_0x5d1a27;let _0x1fb421=this[_0x46ec4c(0x38e)][_0x46ec4c(0x3a6)](_0xe956c2);_0x1fb421==null||_0x1fb421[_0x46ec4c(0x1e0)](_0x5752fb=>{const _0x43d8f9=_0x46ec4c;_0x5752fb[_0x43d8f9(0x1e0)](_0xa17092=>_0xa17092['dispose']()),_0x5752fb[_0x43d8f9(0x368)]();}),this[_0x46ec4c(0x38e)]['delete'](_0xe956c2);}[_0x5d1a27(0x37e)](_0x509bc7,_0xee3f17){const _0x56d28c=_0x5d1a27;return hi(_0x509bc7,_0xee3f17,this[_0x56d28c(0x2bd)]);}[_0x5d1a27(0x270)](_0x444b69){return this['_getChartRenderSkipReason'](_0x444b69)==null;}[_0x5d1a27(0x14c)](_0x19fb13){const _0x2679a5=_0x5d1a27;var _0x5eac1f;let _0x5a4e1b=this[_0x2679a5(0x11a)]['getFloatDomInfo'](_0x19fb13);if(!_0x5a4e1b)return _0x2679a5(0x3af);let {subUnitId:_0x79ffa}=_0x5a4e1b,_0x562b76=(_0x5eac1f=this[_0x2679a5(0x3d8)]['getCurrentUnitOfType'](_0x2a3654[_0x2679a5(0x1d7)]))==null?void 0x0:_0x5eac1f['getActiveSheet']();if(!_0x562b76)return _0x2679a5(0x32b);if(_0x562b76['getSheetId']()!==_0x79ffa)return'inactive-sheet';}async[_0x5d1a27(0x3a9)](_0x521c4e,_0x12ced0,_0x4dc6e8,_0x57e08d={}){const _0x580562=_0x5d1a27;let _0x6b9048=this[_0x580562(0x1be)][_0x580562(0x2d1)](_0x2e63c9);if(!_0x6b9048)return;let _0x5c7937=this['_lastRenderInputMap'][_0x580562(0x3a6)](_0x521c4e);if(this[_0x580562(0x2e5)][_0x580562(0x30a)](_0x521c4e,{'config':_0x12ced0,'style':_0x4dc6e8}),this['_getChartRenderSkipReason'](_0x521c4e))return;let {canAnimate:_0x38dd22,renderMode:_0xaeb34c,shouldStartTransientAnimation:_0x382cfc,transientAnimationActive:_0x170528}=this[_0x580562(0x3a8)](_0x521c4e,_0x5c7937!=null,_0x57e08d['animateDataUpdate']===!0x0);if(_0xaeb34c===_0x5aea83[_0x580562(0x2af)])this[_0x580562(0x3b6)](_0x521c4e);else{var _0x10436e;this[_0x580562(0x22b)]['invalidateSnapshot'](_0x521c4e),((_0x10436e=this[_0x580562(0x2aa)][_0x580562(0x26e)])==null?void 0x0:_0x10436e['id'])===_0x521c4e&&this[_0x580562(0x33c)](_0x521c4e);}let _0x5dea7b=_0xaeb34c===_0x5aea83[_0x580562(0x2af)]?_0x5aea83[_0x580562(0x2af)]:_0x5aea83[_0x580562(0x3da)],_0x245a02=await this['_chartHostProvider'][_0x580562(0x13a)](_0x521c4e,_0x5dea7b);if(!_0x245a02){_0x382cfc&&this[_0x580562(0x2ae)](_0x521c4e);return;}this['_chartHostProvider'][_0x580562(0x20d)](_0x521c4e,_0x170528?_0x24781a:null);let _0x43b4fb=this[_0x580562(0x3b2)](_0x521c4e,_0x5dea7b,_0x6b9048);_0x43b4fb[_0x580562(0x19d)](_0x245a02);try{let _0x3164d6={'chartId':_0x521c4e,'config':_0x12ced0,'style':_0x4dc6e8};_0x38dd22&&_0x5c7937&&_0x43b4fb['renderTransition']?await _0x43b4fb[_0x580562(0x24e)]({'chartId':_0x521c4e,'config':_0x5c7937['config'],'style':_0x5c7937['style']},_0x3164d6,{'duration':_0x24781a}):await _0x43b4fb[_0x580562(0x3a9)](_0x3164d6),await this[_0x580562(0x3e8)](_0x521c4e,_0xaeb34c,_0x43b4fb),_0x38dd22&&_0x170528&&this[_0x580562(0x2cd)](_0x521c4e);}catch(_0x59f127){if(_0x382cfc&&this[_0x580562(0x2ae)](_0x521c4e),_0xaeb34c!==_0x5aea83[_0x580562(0x2af)])throw _0x59f127;}}async[_0x5d1a27(0x3e8)](_0x538a64,_0x48665a,_0x46b519){const _0x522b0c=_0x5d1a27;var _0x1367e5;if(_0x48665a!==_0x5aea83[_0x522b0c(0x3da)]||((_0x1367e5=this['_chartModelService'][_0x522b0c(0x26e)])==null?void 0x0:_0x1367e5['id'])!==_0x538a64)return;let _0x24ac94=await this[_0x522b0c(0x22b)][_0x522b0c(0x13a)](_0x538a64,_0x5aea83[_0x522b0c(0x2af)]);if(!_0x24ac94)return;let _0x16434f=_0x24ac94[_0x522b0c(0x1e5)]();try{let _0x130b0e=await _0x46b519['exportImg']();_0x130b0e&&_0x24ac94['commitSnapshot']({'type':_0x1a6044[_0x522b0c(0x2fa)],'url':_0x130b0e},_0x16434f)&&_0x24ac94[_0x522b0c(0x2fc)]();}catch{}}[_0x5d1a27(0x3a8)](_0x173e64,_0x44dc8d,_0x44e1b3){const _0x5e99e0=_0x5d1a27;let _0x833ee7=this['_resolveChartRenderMode'](_0x173e64),_0x537970=_0x833ee7===_0x5aea83[_0x5e99e0(0x3da)]&&_0x44e1b3&&_0x44dc8d&&this['_canAnimateDataUpdate'](_0x173e64),_0x44a3d7=this['_dataUpdateAnimationChartIds'][_0x5e99e0(0x21c)](_0x173e64);return{'canAnimate':_0x537970,'renderMode':_0x44a3d7?_0x5aea83['Dom']:_0x833ee7,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x44a3d7};}[_0x5d1a27(0x33b)](_0x5958a2){const _0x50ef35=_0x5d1a27;var _0x1043dd,_0x4e6471,_0x45e172,_0x50392c;if(typeof document>'u'||typeof window>'u'||document[_0x50ef35(0x39c)]===_0x50ef35(0x1f7)||(_0x1043dd=(_0x4e6471=window)[_0x50ef35(0x2bf)])!=null&&(_0x1043dd=_0x1043dd[_0x50ef35(0x172)](_0x4e6471,_0x50ef35(0x3a5)))!=null&&_0x1043dd[_0x50ef35(0x3db)]||(_0x45e172=(_0x50392c=window)['matchMedia'])!=null&&(_0x45e172=_0x45e172['call'](_0x50392c,_0x50ef35(0x237)))!=null&&_0x45e172[_0x50ef35(0x3db)])return!0x1;let _0x37281f=this[_0x50ef35(0x22b)][_0x50ef35(0x3a4)](_0x5958a2);return _0x37281f!=null&&_0x37281f[_0x50ef35(0x175)]>0x0&&_0x37281f[_0x50ef35(0x364)]>0x0&&_0x37281f[_0x50ef35(0x135)]>0x0&&_0x37281f[_0x50ef35(0x1a8)]>0x0&&_0x37281f['left']<window[_0x50ef35(0x17c)]&&_0x37281f[_0x50ef35(0x2c0)]<window[_0x50ef35(0x1f0)];}['_activateDataUpdateAnimation'](_0xb917e9){const _0x459eaf=_0x5d1a27;let _0x3e1c7a=this[_0x459eaf(0x2f9)][_0x459eaf(0x3a6)](_0xb917e9);_0x3e1c7a&&(clearTimeout(_0x3e1c7a),this['_dataUpdateAnimationTimers'][_0x459eaf(0x198)](_0xb917e9)),this[_0x459eaf(0x3aa)][_0x459eaf(0x248)](_0xb917e9),this[_0x459eaf(0x22b)]['setDataUpdateAnimation'](_0xb917e9,_0x24781a);}[_0x5d1a27(0x2cd)](_0x389eca){const _0x531bb6=_0x5d1a27;let _0x3ba4ef=this[_0x531bb6(0x2f9)][_0x531bb6(0x3a6)](_0x389eca);_0x3ba4ef&&clearTimeout(_0x3ba4ef);let _0x439dc8=setTimeout(()=>{const _0x425c93=_0x531bb6;this[_0x425c93(0x2f9)][_0x425c93(0x198)](_0x389eca),this[_0x425c93(0x3aa)][_0x425c93(0x198)](_0x389eca)&&(this[_0x425c93(0x22b)][_0x425c93(0x20d)](_0x389eca,null),this[_0x425c93(0x3b6)](_0x389eca),this[_0x425c93(0x11e)](_0x389eca));},_0x24781a);this[_0x531bb6(0x2f9)][_0x531bb6(0x30a)](_0x389eca,_0x439dc8);}['_deactivateDataUpdateAnimation'](_0x3f2a15){const _0x4f5076=_0x5d1a27;let _0x10411c=this['_dataUpdateAnimationTimers'][_0x4f5076(0x3a6)](_0x3f2a15);_0x10411c&&(clearTimeout(_0x10411c),this['_dataUpdateAnimationTimers'][_0x4f5076(0x198)](_0x3f2a15)),this[_0x4f5076(0x3aa)]['delete'](_0x3f2a15),this['_chartHostProvider'][_0x4f5076(0x20d)](_0x3f2a15,null);}async[_0x5d1a27(0x2ff)](_0xc5649e,_0x12dbcc,_0x4b4d49){const _0x596be6=_0x5d1a27;let _0x1ee45f=this['_drawingManagerService']['getDrawingData'](_0xc5649e,_0x12dbcc),_0x1691cd=this[_0x596be6(0x3cb)]['getDrawingOrder'](_0xc5649e,_0x12dbcc),_0x164b09=Object[_0x596be6(0x2d7)](_0x1ee45f??{})['filter'](_0x2361df=>_0x2361df[_0x596be6(0x3e5)]===_0x4c00c3[_0x596be6(0x249)]&&_0x2361df[_0x596be6(0x1f7)]!==!0x0);await Promise[_0x596be6(0x3e0)](_0x164b09[_0x596be6(0x1a0)](async _0x11e99b=>{const _0x529ca5=_0x596be6;let _0x5b0b20=await this['_createPrintingChartObject'](_0x11e99b,_0x1691cd);_0x5b0b20&&(_0x4b4d49[_0x529ca5(0x129)](_0x5b0b20,_0x1f3967),_0x11e99b['groupId']&&_0x43a0ef({'drawingId':_0x11e99b[_0x529ca5(0x3c6)],'unitId':_0xc5649e,'subUnitId':_0x12dbcc},_0x5b0b20,_0x4b4d49,this[_0x529ca5(0x3cb)]));}));}async[_0x5d1a27(0x15c)](_0x5e7bf9,_0x1a3788){const _0x42b38c=_0x5d1a27;let _0x113b50=this[_0x42b38c(0x2aa)][_0x42b38c(0x1ce)](_0x5e7bf9[_0x42b38c(0x14a)]),_0x151be7=this[_0x42b38c(0x1be)][_0x42b38c(0x2d1)](_0x2e63c9),_0x433e17=_0x5e7bf9['transform'],_0x152100=_0x113b50==null?void 0x0:_0x113b50[_0x42b38c(0x2cc)];if(!_0x113b50||!_0x151be7||!_0x433e17||!_0x152100||_0x433e17[_0x42b38c(0x175)]==null||_0x433e17[_0x42b38c(0x364)]==null)return null;let _0x2d420c=new mi(_0x5e7bf9[_0x42b38c(0x14a)],{'width':_0x433e17[_0x42b38c(0x175)],'height':_0x433e17['height']}),_0x3bbf78=_0x151be7['createChartInstance'](_0x5aea83[_0x42b38c(0x2af)],this[_0x42b38c(0x24a)]());_0x3bbf78[_0x42b38c(0x19d)](_0x2d420c);let _0x48b975;try{await _0x3bbf78[_0x42b38c(0x3a9)]({'chartId':_0x5e7bf9['drawingId'],'config':_0x152100,'style':this[_0x42b38c(0x37e)](_0x113b50,this[_0x42b38c(0x166)]['getDirection']())});}catch(_0x4ef31f){console[_0x42b38c(0x252)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x4ef31f);}finally{_0x48b975=_0x2d420c[_0x42b38c(0x244)](),_0x3bbf78[_0x42b38c(0x33d)](),_0x2d420c[_0x42b38c(0x33d)]();}let _0xa02c34=this[_0x42b38c(0x3d9)][_0x42b38c(0x265)]({'unitId':_0x5e7bf9[_0x42b38c(0x1b7)],'subUnitId':_0x5e7bf9['subUnitId'],'chartId':_0x5e7bf9[_0x42b38c(0x14a)]}),_0x4f51ce=_0x48b975??_0xa02c34;if(!_0x4f51ce)return null;let _0x338244=_0x1a3788[_0x42b38c(0x1b1)](_0x5e7bf9['drawingId']);return new ei(_0x4f61f4(_0x5e7bf9),{..._0x433e17,..._0x379573,...ui(_0x2d420c[_0x42b38c(0x2ce)]),'visible':!0x0,'zIndex':_0x338244===-0x1?Math['max'](_0x1a3788[_0x42b38c(0x355)]-0x1,0x0):_0x338244},()=>_0x4f51ce,void 0x0,_0x48b975?()=>W(_0x48b975):void 0x0);}[_0x5d1a27(0x3b2)](_0x1e5596,_0x5748b0,_0x3f0585){const _0xf08016=_0x5d1a27;let _0x5d24c1=this['_chartInstanceMap'][_0xf08016(0x3a6)](_0x1e5596);if((_0x5d24c1==null?void 0x0:_0x5d24c1[_0xf08016(0x295)])===_0x5748b0)return _0x5d24c1;_0x5d24c1&&(this[_0xf08016(0x25a)](_0x1e5596),_0x5d24c1['dispose'](),this[_0xf08016(0x3bd)][_0xf08016(0x198)](_0x1e5596));let _0x5ef45e=_0x3f0585[_0xf08016(0x23c)](_0x5748b0,this[_0xf08016(0x24a)]());return this['_chartInstanceMap'][_0xf08016(0x30a)](_0x1e5596,_0x5ef45e),_0x5ef45e[_0xf08016(0x318)](this[_0xf08016(0x330)]['get'](_0x1e5596)===!0x0),this[_0xf08016(0x1a1)](_0x1e5596,_0x5ef45e),_0x5ef45e;}[_0x5d1a27(0x24a)](){const _0x132047=_0x5d1a27;return{'resolveHostStyle':({style:_0x2a2352})=>_0x214c2a({'style':_0x2a2352,'getRenderColor':_0x36102f=>this['_chartThemeService']['getRenderColor'](_0x36102f)}),'resolveRenderBackgroundColor':({style:_0xaa2ac7})=>this[_0x132047(0x28f)][_0x132047(0x181)](_0x2a1999(_0xaa2ac7))};}['_disposeChartChangeListeners'](_0x287c0a){const _0x2e3a61=_0x5d1a27;var _0x39594b,_0x58f0a1,_0x34eb74;(_0x39594b=this['_chartChangeSubscriptions'][_0x2e3a61(0x3a6)](_0x287c0a))==null||_0x39594b['dispose'](),this[_0x2e3a61(0x15b)][_0x2e3a61(0x198)](_0x287c0a),(_0x58f0a1=this['_renderDebounceMap'][_0x2e3a61(0x3a6)](_0x287c0a))==null||_0x58f0a1[_0x2e3a61(0x1b5)](),this[_0x2e3a61(0x16b)]['delete'](_0x287c0a),(_0x34eb74=this[_0x2e3a61(0x32f)]['get'](_0x287c0a))==null||_0x34eb74[_0x2e3a61(0x1b5)](),this[_0x2e3a61(0x32f)]['delete'](_0x287c0a);}[_0x5d1a27(0x36f)](){const _0x193229=_0x5d1a27;this[_0x193229(0x16b)][_0x193229(0x1e0)](_0xeef3c4=>_0xeef3c4[_0x193229(0x1b5)]()),this[_0x193229(0x16b)][_0x193229(0x368)](),this['_debounceHandleMap'][_0x193229(0x1e0)](_0x1dac2d=>_0x1dac2d[_0x193229(0x1b5)]()),this[_0x193229(0x32f)]['clear']();}[_0x5d1a27(0x33d)](){const _0x29603b=_0x5d1a27;this[_0x29603b(0x15b)]['forEach'](_0x4681f2=>_0x4681f2[_0x29603b(0x33d)]()),this[_0x29603b(0x15b)][_0x29603b(0x368)](),this[_0x29603b(0x2f9)][_0x29603b(0x1e0)](_0x4f4a3f=>clearTimeout(_0x4f4a3f)),this[_0x29603b(0x2f9)][_0x29603b(0x368)](),this[_0x29603b(0x3aa)]['clear'](),Array[_0x29603b(0x38b)](this[_0x29603b(0x3bd)][_0x29603b(0x30d)]())[_0x29603b(0x1e0)](_0x3dfa90=>this[_0x29603b(0x288)](_0x3dfa90)),this[_0x29603b(0x39d)][_0x29603b(0x368)](),this[_0x29603b(0x330)][_0x29603b(0x368)](),this[_0x29603b(0x36f)](),this['_lastRenderInputMap']['clear'](),this[_0x29603b(0x13c)]=null,this[_0x29603b(0x1c4)]=null,super[_0x29603b(0x33d)]();}};q=K([G(0x0,fi),G(0x1,_0x233312(_0x1cd243)),G(0x2,_0x233312(_0xef00ca)),G(0x3,_0x2a46aa),G(0x4,_0x50dd4e),G(0x5,_0x233312(_0x2b6adf)),G(0x6,_0x233312(_0x2365aa)),G(0x7,_0x233312(_0x26189f)),G(0x8,_0x233312(_0x5a9273)),G(0x9,_0x233312(_0x6bd0cf)),G(0xa,_0x332790),G(0xb,_0x233312(ii)),G(0xc,_0x51da78)],q);const J=_0x4fb58e(_0x5d1a27(0x1b4));let gi=class extends _0x116c21{constructor(_0x4b5ee1,_0x429cec,_0x513cf2,_0x2dc0b6,_0x13c4e4){const _0x357d50=_0x5d1a27;super(_0x13c4e4),this[_0x357d50(0x2aa)]=_0x4b5ee1,this[_0x357d50(0x1f9)]=_0x429cec,this[_0x357d50(0x3c7)]=_0x513cf2,this[_0x357d50(0x3d8)]=_0x2dc0b6,U(this,_0x357d50(0x1c3),!0x1),U(this,_0x357d50(0x1ee),new _0x36066b(!0x1)),U(this,_0x357d50(0x291),new _0x36066b(null)),U(this,_0x357d50(0x26d),this[_0x357d50(0x1ee)][_0x357d50(0x1cb)]()),U(this,_0x357d50(0x192),this[_0x357d50(0x291)][_0x357d50(0x1cb)]());}get[_0x5d1a27(0x371)](){const _0x574be4=_0x5d1a27;return this['_chartModelService'][_0x574be4(0x26e)]??null;}get[_0x5d1a27(0x380)](){const _0x443c1c=_0x5d1a27;return this[_0x443c1c(0x1ee)]['getValue']();}get['rangeSelectMode'](){return this['_rangeSelectMode'];}[_0x5d1a27(0x179)](_0x1348d4){const _0x45b48d=_0x5d1a27;this[_0x45b48d(0x1c3)]=_0x1348d4;}['setChartEditorOpen'](_0x28746d){const _0x3a5396=_0x5d1a27;this[_0x3a5396(0x1ee)][_0x3a5396(0x194)]()!==_0x28746d&&this[_0x3a5396(0x1ee)][_0x3a5396(0x2db)](_0x28746d);}['isElementEditModeActive'](_0x4c106c){const _0x559e67=_0x5d1a27;var _0xfeca62;return this[_0x559e67(0x380)]&&((_0xfeca62=this['_chartModelService'][_0x559e67(0x26e)])==null?void 0x0:_0xfeca62['id'])===_0x4c106c;}[_0x5d1a27(0x1c9)](_0x28a1d9,_0x593608){const _0x1545bb=_0x5d1a27;this[_0x1545bb(0x291)][_0x1545bb(0x2db)]({'chartId':_0x28a1d9,'route':_0x593608});}[_0x5d1a27(0x202)](){const _0x3bcdc5=_0x5d1a27;this[_0x3bcdc5(0x291)][_0x3bcdc5(0x2db)](null);}[_0x5d1a27(0x342)](_0x3542a8){const _0x4b9050=_0x5d1a27;let _0x11e529=this[_0x4b9050(0x2aa)]['activeChartModel'];_0x11e529&&this[_0x4b9050(0x18c)]({'chartModelId':_0x11e529['id'],'range':_0x3542a8});}[_0x5d1a27(0x2a2)](_0x47977a){const _0x5b29eb=_0x5d1a27;let _0x2ef30e=this[_0x5b29eb(0x2aa)][_0x5b29eb(0x26e)];if(!_0x2ef30e)return;let _0x3b3e8d=this[_0x5b29eb(0x1f9)][_0x5b29eb(0x34a)](_0x2ef30e['id']);if(!_0x3b3e8d||Array[_0x5b29eb(0x25b)](_0x3b3e8d))return;let _0x37cba0={..._0x3b3e8d,'isRowDirection':_0x47977a===_0x10a164[_0x5b29eb(0x1aa)]};this[_0x5b29eb(0x18c)]({'chartModelId':_0x2ef30e['id'],'range':_0x37cba0});}[_0x5d1a27(0x366)](_0x3a5305){const _0x20e815=_0x5d1a27;var _0x63c4d4;this['_commandService'][_0x20e815(0x2de)](_0x459ce1['id'],{..._0x3a5305,'unitId':((_0x63c4d4=this[_0x20e815(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x63c4d4[_0x20e815(0x18b)]())??''});}[_0x5d1a27(0x18c)](_0x182431){const _0x39fb47=_0x5d1a27;var _0x4fc40a;this[_0x39fb47(0x3c7)]['executeCommand'](_0x38e7ef['id'],{..._0x182431,'unitId':((_0x4fc40a=this[_0x39fb47(0x3d8)][_0x39fb47(0x376)]())==null?void 0x0:_0x4fc40a['getUnitId']())??''});}[_0x5d1a27(0x33d)](){const _0x3338a7=_0x5d1a27;this[_0x3338a7(0x1ee)][_0x3338a7(0x293)](),this['_panelRoute$'][_0x3338a7(0x293)](),super[_0x3338a7(0x33d)]();}};gi=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(_0x45f46e)),G(0x2,_0x23023c),G(0x3,_0x50dd4e),G(0x4,_0x233312(_0x3e8107))],gi);var _i;const vi={'axis':{..._0x139b61,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0xb27861,'heatmap':_0x12c1e1,'indicatorLine':_0x31ba77,'legend':_0x5f58c5,'lineAndArea':_0x446fe7,'pareto':_0x1643ce,'pie':_0x4d97b0,'relation':{..._0x394271,'useValueAsSymbolSize':!0x0},'radar':_0x65c5c5,'series':{..._0x268902,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_i=_0x53921e[_0x5d1a27(0x3b8)])==null?void 0x0:_i[_0x5d1a27(0x184)])??!0x1}},'style':_0x2b1fd5,'titles':_0x164823,'trendline':_0x4a9bbd,'waterfallStyle':_0x506e01,'wordCloud':_0x580b40},yi=_0x260156=>_0x260156[_0x5d1a27(0x3ce)](_0x2a3654[_0x5d1a27(0x1d7)])[_0x5d1a27(0x18b)](),bi=_0x11e824=>{const _0x2e2817=_0x5d1a27;var _0x449535;return(_0x449535=_0x11e824['getCurrentUnitOfType'](_0x2a3654[_0x2e2817(0x1d7)])[_0x2e2817(0x144)]())==null?void 0x0:_0x449535[_0x2e2817(0x1c1)]();},xi=()=>{const _0x1d3453=_0x5d1a27;var _0x821a5c;let _0x2d5107=_0x216cfe(J),_0x2fa751=_0x216cfe(_0xef00ca),_0x19d7e6=_0x216cfe(_0x2365aa),_0x408264=_0x216cfe(_0x26189f),_0x342b3e=_0x2ab3f2(_0x408264),_0x2117ae=_0x1f6146(()=>{const _0x41319a=_0x14cc;let _0x46bd6c=Ir(Pr[_0x41319a(0x37b)](),_0x342b3e);return _0x5db475(_0x46bd6c[_0x41319a(0x1a0)](_0x1bc774=>({'id':_0x1bc774['id'],'label':_0x19d7e6['t']('sheets-chart-ui.chartTypes.'+_0x1bc774['labelId']),'pieSecondaryPlotType':_0x1bc774['pieSecondaryPlotType'],'value':_0x1bc774[_0x41319a(0x385)]})));},[_0x342b3e,_0x19d7e6]),_0x2d27ad=_0x103df8(_0x2fa751[_0x1d3453(0x209)],_0x2fa751[_0x1d3453(0x26e)]),_0x4db033=_0x103df8(_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x261)],_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x216)]),_0x47e898=_0x103df8(_0x2d27ad==null?void 0x0:_0x2d27ad['dataSource$'],_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x230)]),_0x40cd65=_0x103df8(_0x47e898==null?void 0x0:_0x47e898[_0x1d3453(0x301)],_0x47e898==null?void 0x0:_0x47e898[_0x1d3453(0x351)]()),_0x291d20=Array['isArray'](_0x40cd65),_0x525383=_0x40cd65&&!_0x291d20&&_0x40cd65[_0x1d3453(0x1c2)]?_0x10a164[_0x1d3453(0x1aa)]:_0x10a164[_0x1d3453(0x27b)],_0x18f9bc=_0x291d20?(_0x821a5c=_0x40cd65[0x0])==null?void 0x0:_0x821a5c['range']:_0x40cd65==null?void 0x0:_0x40cd65[_0x1d3453(0x2a6)];return _0x191e51(_0x1d3453(0x21b),{'className':_0x1d3453(0x1b3),'children':[_0x29cee8(_0xc7bb52,{'chartTypeOptions':_0x2117ae,'dataSourceControl':_0x29cee8(Si,{'dataRange':_0x40cd65,'primaryRange':_0x18f9bc}),'categoryToggleLabel':_0x19d7e6['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x525383===_0x10a164[_0x1d3453(0x1aa)]?_0x525383+'\x20'+(((_0x18f9bc==null?void 0x0:_0x18f9bc['range']['startRow'])??0x0)+0x1):_0x525383+'\x20'+_0x2a8fac((_0x18f9bc==null?void 0x0:_0x18f9bc[_0x1d3453(0x363)][_0x1d3453(0x1b0)])??0x0)),'orientationControl':_0x291d20?void 0x0:_0x29cee8(_0x926487,{'size':_0x1d3453(0x1f5),'onClick':()=>_0x2d5107[_0x1d3453(0x2a2)](_0x525383===_0x10a164[_0x1d3453(0x1aa)]?_0x10a164[_0x1d3453(0x27b)]:_0x10a164[_0x1d3453(0x1aa)]),'children':_0x19d7e6['t'](_0x1d3453(0x11b))})}),_0x29cee8(_0x277379,{'checked':(_0x4db033==null?void 0x0:_0x4db033[_0x1d3453(0x1d6)])===!0x1,'disabled':!_0x2d27ad,'onChange':_0xd5b326=>{const _0x9a463d=_0x1d3453;_0x2d27ad&&_0x2d5107[_0x9a463d(0x366)]({'chartModelId':_0x2d27ad['id'],'context':{'plotVisibleOnly':!_0xd5b326}});},'children':_0x19d7e6['t'](_0x1d3453(0x2c5))})]});};function Si(_0x3dcadb){const _0x5c7209=_0x5d1a27;let {dataRange:_0xbd2409,primaryRange:_0x1199ea}=_0x3dcadb,_0x34255d=_0x216cfe(J),_0x2382d6=_0x216cfe(_0x2365aa),_0x49ec34=_0x216cfe(_0x50dd4e),_0x13937d=_0x216cfe(_0xae1c0),[_0x263cd8,_0x2a7bcd]=_0x4cb90f(!0x1),[_0x4018d0,_0x3ae1e5]=_0x4cb90f(!0x1),[_0xae9213,_0x121163]=_0x4cb90f(),_0x3c5cd7=yi(_0x49ec34),_0x43098e=bi(_0x49ec34),_0x6ea478=_0xbd2409?Mr(_0xbd2409,_0x49ec34):'',_0x3f8d6a=_0x399028(_0x6ea478),_0x197953=_0x399028(void 0x0),_0xf7a52d=_0x399028(null);_0x3b35d2(()=>{const _0x1d81c0=_0x14cc;_0x34255d[_0x1d81c0(0x179)](_0x263cd8),_0x13937d[_0x1d81c0(0x343)](_0x3d0cdc,_0x263cd8);},[_0x13937d,_0x263cd8,_0x34255d]),_0x3b35d2(()=>()=>{const _0x11d9b7=_0x14cc;_0x34255d[_0x11d9b7(0x179)](!0x1),_0x13937d[_0x11d9b7(0x343)](_0x3d0cdc,!0x1);},[_0x13937d,_0x34255d]);let _0x2b45dc=_0x2b3d4a(_0x3aa38d=>{const _0x1f1b64=_0x14cc;var _0x586d82;if(Mr(_0xbd2409,_0x49ec34)===_0x3aa38d)return _0x121163(void 0x0),!0x0;let _0x766572=_0x3aa38d[_0x1f1b64(0x259)](_0x11cdbd['COMMA']);if(!_0x3aa38d['trim']()||_0x766572[_0x1f1b64(0x355)]!==0x1||!((_0x586d82=_0xf7a52d['current'])!=null&&_0x586d82[_0x1f1b64(0x35a)]()))return _0x121163(_0x2382d6['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x28fbcd,sheetName:_0x259904,range:_0x17a314}=_0x560030(_0x766572[0x0]),_0x51acc4=_0x28fbcd||_0x3c5cd7,_0x25494b=_0x49ec34[_0x1f1b64(0x2f4)](_0x51acc4),_0x3b7aba=(_0x1199ea==null?void 0x0:_0x1199ea[_0x1f1b64(0x1b7)])===_0x51acc4?_0x1199ea[_0x1f1b64(0x2b4)]:_0x43098e,_0x3f32f8=_0x259904?_0x25494b==null?void 0x0:_0x25494b[_0x1f1b64(0x3c8)](_0x259904):_0x25494b==null?void 0x0:_0x25494b['getSheetBySheetId'](_0x3b7aba??'');return!_0x25494b||!_0x3f32f8||!_0x2f7016(_0x17a314,_0x3f32f8)?(_0x121163(_0x2382d6['t'](_0x1f1b64(0x3c4))),!0x1):(_0x121163(void 0x0),_0x34255d[_0x1f1b64(0x342)]({'rangeInfo':{'range':_0x17a314,'unitId':_0x51acc4,'subUnitId':_0x3f32f8[_0x1f1b64(0x1c1)]()}}),!0x0);},[_0xbd2409,_0x2382d6,_0x1199ea,_0x34255d,_0x43098e,_0x3c5cd7,_0x49ec34]),_0x443d1d=_0x1f6146(()=>({'keyCodes':[{'keyCode':_0x85e98f[_0x5c7209(0x262)],'nativeTextEditorBehavior':_0x1a8c0d[_0x5c7209(0x3ba)]}],'handler':_0x5baa9e=>{const _0x2cf8b6=_0x5c7209;_0x5baa9e===_0x85e98f[_0x2cf8b6(0x262)]&&_0x2b45dc(_0x3f8d6a[_0x2cf8b6(0x2d3)])&&(_0x197953[_0x2cf8b6(0x2d3)]=_0x3f8d6a['current']);}}),[_0x2b45dc]);return _0x29cee8(_0x5c7209(0x21b),{'className':_0x5c7209(0x321),'children':_0x191e51('div',{'children':[_0x29cee8(_0x207394,{'title':_0x2382d6['t'](_0x5c7209(0x24c))}),_0x29cee8(_0x16fe39,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x3c5cd7,'subUnitId':_0x43098e,'initialValue':_0x6ea478,'keyboardEventConfig':_0x443d1d,'selectorRef':_0xf7a52d,'onChange':(_0x4b6b40,_0x30e007)=>{const _0x444a7c=_0x5c7209;_0x3f8d6a[_0x444a7c(0x2d3)]=_0x30e007,_0x4018d0&&_0x197953[_0x444a7c(0x2d3)]!==_0x30e007&&_0x2b45dc(_0x30e007)&&(_0x197953[_0x444a7c(0x2d3)]=_0x30e007);},'onFocusChange':(_0x58003,_0x4902f1)=>{const _0x417571=_0x5c7209;if(_0x4902f1!==void 0x0&&(_0x3f8d6a[_0x417571(0x2d3)]=_0x4902f1),_0x4018d0||_0x2a7bcd(_0x58003),_0x58003)_0x197953[_0x417571(0x2d3)]=_0x3f8d6a[_0x417571(0x2d3)];else{let _0x48ebeb=_0x197953[_0x417571(0x2d3)];_0x197953[_0x417571(0x2d3)]=void 0x0,_0x48ebeb!==void 0x0&&_0x3f8d6a[_0x417571(0x2d3)]!==_0x48ebeb&&_0x2b45dc(_0x3f8d6a[_0x417571(0x2d3)]);}},'onRangeSelectorDialogVisibleChange':_0x27c37e=>{_0x3ae1e5(_0x27c37e),_0x2a7bcd(_0x27c37e);}}),_0xae9213?_0x29cee8(_0x5c7209(0x21b),{'className':_0x5c7209(0x196),'children':_0xae9213}):null]})});}function Y(_0x494b5a){const _0xdef697=_0x5d1a27;return _0x191e51(_0x3ef861,{'id':_0x494b5a['id'],'children':[_0x29cee8(_0x57ffd4,{'children':_0x494b5a['label']}),_0x29cee8(_0x25002a,{'children':_0x494b5a[_0xdef697(0x389)]})]});}const Ci=_0x49a043=>{const _0x30202b=_0x5d1a27;let _0x40ea29=_0x216cfe(_0x2365aa),_0x3c1d04=_0x216cfe(J),_0xa52dec=_0x216cfe(_0xef00ca),_0x2f9deb=_0x103df8(_0xa52dec[_0x30202b(0x209)],_0xa52dec['activeChartModel']),_0x5e949c=_0x103df8(_0x3c1d04[_0x30202b(0x192)],null),_0x1797d1=_0x5e949c&&_0x5e949c[_0x30202b(0x191)]===(_0x2f9deb==null?void 0x0:_0x2f9deb['id'])?_0x5e949c['route']:null,_0x590a20=_0x2bf8dc(),_0x4c1da0=_0x207a58(),[_0x3d6bb7,_0x2a173a]=_0x4cb90f(null);_0x3b35d2(()=>{const _0x3d2fe7=_0x30202b;_0x1797d1!=null&&_0x1797d1['section']&&_0x2a173a(_0x1797d1[_0x3d2fe7(0x165)]);},[_0x1797d1]);let _0x2fdb6e=_0x159690[_0x30202b(0x38d)](_0x590a20,_0x1b41ef[_0x30202b(0x350)]),_0x38a967=_0x590a20===_0x1b41ef[_0x30202b(0x141)],_0x2b8a79=_0x590a20===_0x1b41ef[_0x30202b(0x15d)],_0x46c981=_0x590a20===_0x1b41ef[_0x30202b(0x3d7)],_0x1ac061=_0x159690['baseOn'](_0x590a20,_0x1b41ef[_0x30202b(0x20f)]),_0x5f3c99=_0x590a20===_0x1b41ef[_0x30202b(0x30c)],_0x5b3247=_0x590a20===_0x1b41ef['Waterfall'],_0x1662bb=_0x590a20===_0x1b41ef[_0x30202b(0x14b)],_0x1873fc=_0x590a20===_0x1b41ef[_0x30202b(0x200)],_0x53d0b2,_0x33beab;switch(_0x590a20){case _0x1b41ef['Candlestick']:_0x53d0b2=_0x5cd548['Candlestick'],_0x33beab=_0x40ea29['t'](_0x30202b(0x36a));break;case _0x1b41ef['Histogram']:_0x53d0b2=_0x5cd548['Histogram'],_0x33beab=_0x40ea29['t'](_0x30202b(0x207));break;case _0x1b41ef[_0x30202b(0x16d)]:_0x53d0b2=_0x5cd548[_0x30202b(0x16d)],_0x33beab=_0x40ea29['t']('sheets-chart-ui.section.treemap');break;case _0x1b41ef[_0x30202b(0x15e)]:_0x53d0b2=_0x5cd548['Sunburst'],_0x33beab=_0x40ea29['t'](_0x30202b(0x2f1));break;case _0x1b41ef[_0x30202b(0x236)]:_0x53d0b2=_0x5cd548['Gauge'],_0x33beab=_0x40ea29['t']('sheets-chart-ui.section.gauge');break;case _0x1b41ef[_0x30202b(0x212)]:_0x53d0b2=_0x5cd548[_0x30202b(0x212)],_0x33beab=_0x40ea29['t'](_0x30202b(0x1cc));}let _0x534c1e=_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x37a)])&&!_0x1ac061&&!_0x1662bb;return _0x191e51(_0x180c10,{'value':_0x3d6bb7,'onChange':_0x2a173a,'children':[_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x140)],'label':_0x40ea29['t'](_0x30202b(0x18a)),'children':_0x29cee8(_0x31470c,{'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x2ce)]})}),_0x29cee8(Y,{'id':_0x5cd548['ChartAndAxisTitles'],'label':_0x40ea29['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x29cee8(_0x2ba23b,{'commitMode':_0x30202b(0x300),'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x1a2)],'selectedTitleKey':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x326)]})}),_0x534c1e&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x127)],'label':_0x40ea29['t'](_0x30202b(0x225)),'children':_0x29cee8(_0x352738,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['series'],'NumberFormatField':_0x1952a3,'selectedSeriesId':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x316)]})}),_0x5b3247&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x266)],'label':_0x40ea29['t']('sheets-chart-ui.section.waterfall'),'children':_0x29cee8(_0x3ed512,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['waterfallStyle'],'getDefaultBucketName':({seriesName:_0x33a2f1,target:_0xf4b4c9})=>_0xf4b4c9===_0x4f4eae[_0x30202b(0x163)]?_0x40ea29['t']('sheets-chart-ui.waterfall.subtotal'):_0x33a2f1?_0x33a2f1+'-('+_0x40ea29['t'](_0xf4b4c9===_0x4f4eae[_0x30202b(0x367)]?_0x30202b(0x1a6):_0x30202b(0x3b7))+')':'','NumberFormatField':_0x1952a3,'selectedSeriesId':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x316)]})}),_0x1662bb&&_0x191e51(_0x59371d,{'children':[_0x29cee8(Y,{'id':_0x5cd548['ParetoBarSeries'],'label':_0x40ea29['t']('sheets-chart-ui.section.paretoBar'),'children':_0x29cee8(_0x19f761,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x348)],'NumberFormatField':_0x1952a3,'showDataPointEditor':!0x0,'target':_0x30202b(0x162)})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x325)],'label':_0x40ea29['t'](_0x30202b(0x120)),'children':_0x29cee8(_0x19f761,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x348)],'NumberFormatField':_0x1952a3,'showDataPointEditor':!0x1,'target':_0x30202b(0x14d)})})]}),_0x2fdb6e&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x1d4)],'label':_0x40ea29['t'](_0x30202b(0x1fb)),'children':_0x29cee8(_0xfe26d,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x396)],'NumberFormatField':_0x1952a3})}),_0x2b8a79&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x15d)],'label':_0x40ea29['t'](_0x30202b(0x38c)),'children':_0x29cee8(_0xbc59ea,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['wordCloud']})}),_0x38a967&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x141)],'label':_0x40ea29['t'](_0x30202b(0x303)),'children':_0x29cee8(_0x29bb05,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['radar']})}),_0x46c981&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x3d7)],'label':_0x40ea29['t']('sheets-chart-ui.section.funnel'),'children':_0x29cee8(_0x10f257,{'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x323)],'gapControl':_0x30202b(0x354)})}),_0x1873fc&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x200)],'label':_0x40ea29['t']('sheets-chart-ui.common.heatmap'),'children':_0x29cee8(_0xdb5d0c,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x2dd)]})}),_0x5f3c99&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x30c)],'label':_0x40ea29['t'](_0x30202b(0x164)),'children':_0x29cee8(_0x3b130a,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x2ab)]})}),_0x4aab43(_0x590a20)&&_0x29cee8(Y,{'id':_0x5cd548['LineAndArea'],'label':_0x40ea29['t'](_0x30202b(0x143)),'children':_0x29cee8(_0x2adbfb,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x39b)],'lineStyleControl':_0x30202b(0x26a)})}),_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x1c7)])&&_0x29cee8(Y,{'id':_0x5cd548['Legend'],'label':_0x40ea29['t'](_0x30202b(0x393)),'children':_0x29cee8(_0x167edd,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x234)]})}),_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x2c6)])&&_0x191e51(_0x59371d,{'children':[_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x33e)],'label':_0x40ea29['t'](_0x30202b(0x32e)),'children':_0x29cee8(_0x49da1a,{'axis':'x','defaultValues':_0x49a043[_0x30202b(0x2c3)]['axis'],'NumberFormatField':_0x1952a3})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x240)],'label':_0x40ea29['t'](_0x30202b(0x357)),'children':_0x29cee8(_0x49da1a,{'axis':'y','defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x37c)],'NumberFormatField':_0x1952a3})}),_0x4c1da0&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x394)],'label':_0x40ea29['t'](_0x30202b(0x3dd)),'children':_0x29cee8(_0x49da1a,{'axis':_0x30202b(0x37f),'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x37c)],'NumberFormatField':_0x1952a3})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x253)],'label':_0x40ea29['t'](_0x30202b(0x34b)),'children':_0x29cee8(_0x275af9,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x37c)]})})]}),_0x4a2ff9(_0x590a20,_0x2db937['IndicatorLine'])&&_0x29cee8(Y,{'id':_0x5cd548['IndicatorLine'],'label':_0x40ea29['t'](_0x30202b(0x340)),'children':_0x29cee8(_0x2206f1,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x14f)]})}),_0x34a7ab(_0x590a20)&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x20b)],'label':_0x40ea29['t'](_0x30202b(0x3a0)),'children':_0x29cee8(_0x3dc659,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x223)]})}),_0x53d0b2&&_0x33beab&&_0x29cee8(Y,{'id':_0x53d0b2,'label':_0x33beab,'children':_0x29cee8(_0x47de5c,{})})]});};function wi(_0x2d1c46){const _0x3e8853=_0x5d1a27;let {className:_0x38830e}=_0x2d1c46,[_0x3f95af,_0x5e685c]=_0x4cb90f(_0x45ab14[_0x3e8853(0x211)]),_0x7a754=_0x216cfe(_0x26189f),_0x109bed=_0x216cfe(_0x2365aa),_0x416249=_0x216cfe(J),_0x1b105c=_0x216cfe(_0xef00ca),_0x3e01c0=_0x216cfe(_0x45f46e),_0x1001fa=_0x103df8(_0x1b105c[_0x3e8853(0x209)],_0x1b105c[_0x3e8853(0x26e)]),_0xc7ec1b=_0x103df8(_0x416249['panelRoute$'],null),_0x32d10d=_0x1f6146(()=>{const _0x5924fc=_0x3e8853;var _0x2e7f02;if(!_0x1001fa)return null;let _0x2d6363=_0x3e01c0['getChartSourceSpec'](_0x1001fa['id']);if(!_0x2d6363)return null;let _0x168565=Array[_0x5924fc(0x25b)](_0x2d6363)?(_0x2e7f02=_0x2d6363[0x0])==null?void 0x0:_0x2e7f02['range']:_0x2d6363[_0x5924fc(0x2a6)];return _0x168565?new _0x21eaab(_0x1001fa,new _0x467243({'unitId':_0x168565[_0x5924fc(0x1b7)],'subUnitId':_0x168565[_0x5924fc(0x2b4)],'chartId':_0x1001fa['id'],'injector':_0x7a754})):null;},[_0x1001fa,_0x7a754,_0x3e01c0]);if(_0x3b35d2(()=>{const _0x4ef729=_0x3e8853;var _0x354e57,_0x381f7a;_0x1001fa&&(_0xc7ec1b==null?void 0x0:_0xc7ec1b['chartId'])===_0x1001fa['id']&&(((_0x354e57=_0xc7ec1b[_0x4ef729(0x204)])==null?void 0x0:_0x354e57[_0x4ef729(0x3e7)])===_0x45ab14[_0x4ef729(0x2dc)]&&_0x5e685c(_0x45ab14[_0x4ef729(0x2dc)]),((_0x381f7a=_0xc7ec1b[_0x4ef729(0x204)])==null?void 0x0:_0x381f7a[_0x4ef729(0x3e7)])===_0x45ab14['Data']&&_0x5e685c(_0x45ab14['Data']));},[_0x1001fa,_0xc7ec1b]),!_0x32d10d)return null;let _0x370d22=_0x29cee8(_0x3e8853(0x21b),{'className':_0x3e8853(0x322)+(_0x3f95af===_0x45ab14['Style']?_0x3e8853(0x2e4):_0x3e8853(0x3e1))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x38830e??'')+_0x3e8853(0x2fd),'children':_0x29cee8(_0x3e5287,{'ariaLabel':_0x109bed['t'](_0x3e8853(0x387)),'activeTab':_0x3f95af,'onTabChange':_0x5e685c,'tabListClassName':_0x3e8853(0x16c),'panelClassName':_0x3f95af===_0x45ab14[_0x3e8853(0x2dc)]?_0x3e8853(0x286):void 0x0,'tabs':[{'id':_0x45ab14['Data'],'panelId':Ei,'title':_0x109bed['t'](_0x3e8853(0x136)),'content':_0x29cee8(xi,{})},{'id':_0x45ab14['Style'],'panelId':Di,'title':_0x109bed['t']('sheets-chart-ui.common.customize'),'content':_0x29cee8(Ci,{'defaultValues':vi})}]})});return _0x29cee8(_0xadc9c2,{'chartUIService':_0x416249,'hostAdapter':_0x32d10d,'children':_0x370d22});}function _0x8646(){const _0xdf6270=['setElementEditMode','promise','hit','globalAlpha','transform','direction$','_clearChartRuntimeCache','translate','radius','univer-flex\x20univer-flex-col\x20univer-gap-3','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','funnel','copyId','ParetoLineSeries','titleKey','update','onRendered','anonymous','_frameStyle','missing-active-sheet','sheets-chart-ui.common.openChartPanel','getObject','sheets-chart-ui.common.horizontalAxis','_debounceHandleMap','_chartElementEditMode','source','isRender','_contextService','push','scale','_openFloatMenu','getSheetBySheetId','GROUP','getName','_getImage','_canAnimateDataUpdate','_applyActiveChartRuntimeZIndex','dispose','HorizontalAxis','serialize','sheets-chart-ui.section.indicatorLine','drawingIds','setDataRange','setContextValue','sheets-chart-ui.chord.target','changeEnd$','_getPlacement','setChartEditorOpen','pareto','true','getChartSourceSpec','sheets-chart-ui.section.gridlinesAndTicks','@univerjs-pro/sheets-chart-ui','_initDrawingDeactivationListener','Bar','url','Pie','getRangeInfo','sheets-chart-ui.common.chart','_debounceHandle','select','length','labelId','sheets-chart-ui.common.verticalAxis','_menuManagerService','CHART','verify','_markReady','_sidebarDisposable','defineProperty','_resizeChart','_initMenus','absolute','_createImageChartHost','_resetChartRuntimeZIndex','range','height','mobile-sheet-chart-style-panel','executeChartUpdateConfig','Positive','clear','exportImage','sheets-chart-ui.section.candlestick','drawWith','_resolveChartRenderMode','_clearSelectedTarget','getDirection','_cancelDebouncedCallbacks','_registerIcons','activeRuntimeModel','setHostStyle','header','_disposeImage','getBatchUpdateOp','getFocusedUnit','sourceSubUnitId','_disposed','171649cEQPnG','GeneralSeries','concat','axis','sheetChartDataAnimation','createRuntimeChartStyle','rightY','chartEditorOpen','activeSheet$','object','_applyHostInteractionState','_alignFloatDomPositionWithSceneRender','value','_image','sheets-chart-ui.common.editChart','with','children','chartType','from','sheets-chart-ui.section.wordCloud','baseOn','_chartEventSubscriptions','img','offsetHeight','_requestedUrl','getSkeleton','sheets-chart-ui.common.legend','RightVerticalAxis','sheet.chart.edit.panel','pie','getId','params','_generatePasteMutations','scaleX','lineAndArea','visibilityState','_chartEventHandlers','data$','markHostNotReady','sheets-chart-ui.common.trendline','darkMode$','_createHost','getDrawingByParam','getHostClientRect','(prefers-reduced-motion:\x20reduce)','get','sheet-chart-setup-panel','_prepareDataUpdateRender','render','_dataUpdateAnimationChartIds','getRealBound','_clearPendingUrlImage','checkMounted','_version','missing-float-dom','markUnmanaged','_sheetCanvasPopManagerService','_getOrCreateChartRenderInstance','resourceCollector','#-#','INSERT','_disposeChartDomInstance','sheets-chart-ui.waterfall.negative','allSeriesStyle','sheets-chart-ui.common.category','OVERRIDE_NATIVE','BUTTON','8860334urLkhV','_chartInstanceMap','getDrawingData','_registerAdapter','moveTo','redo','Scatter','_chartRenderMode','sheets-chart-ui.common.invalidDataRange','getCurrentLastSelection','groupId','_commandService','getSheetBySheetName','sheetTransform','objects','_drawingManagerService','_initPermission','setObjectType','getCurrentUnitOfType','hidePanel','top-center','chartModelAdded$','symbol','makeDirty','_getOuterRect','subscribe','_geometry','Funnel','_univerInstanceService','_chartSnapshotStoreService','Dom','matches','pieSecondaryPlotType','sheets-chart-ui.common.rightVerticalAxis','image','_initPrinting','allSettled','univer-overflow-hidden','initPanel','_popupDisposable','scaleY','drawingType','scroll','tab','_cacheActiveDomChartSnapshot','_deactivateEditPanelState','isLatest','cancelPending','getOwnPropertyDescriptor','some','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.switchRowColumn','bounds','UniverSheetsChartUIPlugin','_rerenderLatest','_focusedDrawings','sheets-chart-ui.section.paretoLine','_entries','toPrimitive','_closePopup','abs','_initCommands','_activateHostWrapper','Series','_canvasFloatDomService','addObject','sheets-chart-ui.permission.editErr','DownloadImageIcon','Canvas','startX','commitSnapshot','dataUrl','string','_loadUrlImage','invert','_initSheetChange','updateFloatDom','right','sheets-chart-ui.common.setup','targetSubUnitId','then','getCanvasElement','ensureHost','DeleteIcon','_activeChartId','clientX','getChartDataSource','_iconManager','ChartStyle','Radar','category','sheets-chart-ui.section.lineAndArea','getActiveSheet','_snapshotKey','lineTo','decorate','sheets-chart-ui.common.deleteChart','_sidebarService','drawingId','Pareto','_getChartRenderSkipReason','cumulativeLineStyle','_markNotReady','indicatorLine','ImageBitmap','chartModelId','endsWith','clientY','setConfig','syncHostLayout','Fail\x20to\x20create\x20float\x20dom','_initActiveRuntimeLayerListener','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','mobile-sheet-chart-setup-panel','_rect','_chartChangeSubscriptions','_createPrintingChartObject','WordCloud','Sunburst','_setChartRuntimeZIndex','Boxplot','237764reznim','barStyle','Subtotal','sheets-chart-ui.section.relation','section','_localeService','idMap','_savedWrapperStyle','isElementEditModeActive','endY','_renderDebounceMap','univer-shrink-0','Treemap','undo','onTransformChange$','setProps','flush','call','sheets-chart-ui.common.customize','_hostStyle','width','7953oDQLuJ','getFloatDomInfo','_panelInitialized','setRangeSelectMode','type','sheet.command.menu-insert-chart','innerWidth','clearImage','_draw','_sheetClipboardService','registerCommand','getRenderColor','_registerChartImageRenderObjectFactory','resize','rightYAxis','_renderManagerService','pipe','UPDATE','_cancelHostWait','max','sheets-chart-ui.common.chartStyle','getUnitId','_executeChartUpdateSourceConfig','invalidateSnapshot','anchorRect$','_pendingUrlImage','naturalWidth','chartId','panelRoute$','sheetDisposed$','getValue','stringify','univer-my-1\x20univer-text-xs\x20univer-text-red-500','getElementById','delete','_config','clearRuntimeCache','getBatchRemoveOp','opacity','bind','offsetWidth','_sheetSkeletonService','map','_bindChartEventHandlers','titles','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','intercept','5680540NVpHFS','sheets-chart-ui.waterfall.positive','subscribeEvent','bottom','_url','Row','_domFrame','logicalOuterRect','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DEFAULT_PASTE','localPoint','startColumn','indexOf','_getCurrentSnapshotImage','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart.ui.service','cancel','restore','unitId','_chartUIService','syncLayout','addClipboardHook','getCurrentTypeOfUnit$','_setHostStyle','_adapterRegistry','_renderModelManager','canvas','1.0.4','getSheetId','isRowDirection','_rangeSelectMode','_lastActiveSheet','_chartHostProviderService','featurePluginGroupUpdate$','Legend','registerRenderObjectFactory','setPanelRoute','auto','asObservable','sheets-chart-ui.section.chord','_requestChartCanvasRender','getChartModel','sheets-chart-element-float-menu','focus$','_getChartRenderObject','_configService','unsubscribe','PieStyle','CopyDoubleIcon','plotVisibleOnly','UNIVER_SHEET','scene','icon','applyPoint','_removeHost$','_generateCopyPasteMutations','_disposeChartEventSubscription','blockExecuteWithoutPermission','OTHERS','forEach','prototype','_restoreHostWrapper','References','filter','nextVersion','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','attachPopupToDynamicAbsolutePosition','series','_getOrCreateSheetChartHost','name','getRuntimeContext','beginPath','rect','_chartEditorOpen$','version','innerHeight','_frame','_clearSheetChartRuntimeCaches','_isChartElementEditEnabled','focused$','small','_componentManager','hidden','registerFeatureMenu','_sheetsChartService','arc','sheets-chart-ui.section.pie','featurePluginUngroupUpdate$','updateFloatDomProps','_pendingToken','_dataUpdateAnimationDuration','Heatmap','clientWidth','clearPanelRoute','checkHost','route','_pendingDataUpdateChartIds','offsetLeft','sheets-chart-ui.section.histogram','border','activeChartModel$','OPERATION','Trendline','Reference','setDataUpdateAnimation','_applyHostStyle','Bubble','fromEntries','Data','Chord','copyType','_chartRenderService','entries','context','_syncActiveEditChart','getRect','_shouldEnableChartElementEdit','removeHost$','div','has','items','setStyle','_managed','_sheetsChartUIService','markNotReady','_getHostPlacement','trendline','_shouldSuppressRender','sheets-chart-ui.common.series','Area','_waiter','_pendingHost','_renderAfterChartUpdateMutation','permissionCheckWithoutRange','_chartHostProvider','all','getRenderUnitById','transformChange$','supports','dataSource','href','_getChartSnapshotKey','register','legend','7834110KNjtiq','Gauge','print','_bindChartEventHandler','_clearPanelState','getFocusDrawings','8NDSCoi','createChartInstance','_popupSessionKey','_sheetDrawingHitTestService','click','VerticalAxis','remove$','_initActiveChartModelListener','format','takeSnapshot','enableChartElementFloatMenu','_initCopyPaste','_popupChartId','add','DRAWING_CHART','_createChartRenderInstanceContext','sheet.command.chart.open-focused-panel','sheets-chart-ui.common.dataRange','_openPanel','renderTransition','ensureHandle','_createCopyInfoByRange','CUT','error','GridlinesAndTicks','isConnected','pluginName','mountNode','assignStyle','sheets-chart-ui.config','split','_disposeChartEventSubscriptions','isArray','pointerEvents','onload','Combination','_markHostReady','_activateEditPanelState','context$','ENTER','sheets-chart-ui.common.hideChartPanel','afterRender$','getImage','WaterfallSeries','initialRect','visible','_clearHiddenSelectedTarget','segmented','createElement','COMMAND','chartEditorOpen$','activeChartModel','clearChart','checkChartCanRender','getTransformerByCreate','isInGroup','crossOrigin','sheetChartDataAnimationDuration','getContextValue','imageBitmap','_generateCutPasteMutations','_getChartRenderObjectContext','open','disposeWithMe','Column','1000','label','parentElement','_renderChartModel','packageName','_chartHostMap','_sheetInterceptorService','dataset','setActiveChartModel','engine','-univer-mx-4','onDispose','_disposeChartRenderInstance','sheets-chart-ui.host.provider','_pendingMutationConfigRenders','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_handleDrawingDoubleClick','onCommandExecuted','strokeWidth','_chartThemeService','left','_panelRoute$','sheet.command.chart.export-focused-image','complete','handleActiveSubUnitChange','mode','_sheetDrawingService','DRAWING','MEDIA','parent','isDomReady','Line','_openEditPanelByDoubleClick','getObjectIncludeInGroup','_listenChartUpdateMutations','PRINTING_COMPONENT_COLLECT','30766482eryXjY','_activeDomReadyChartIds','setOrientation','sheet.operation.open-chart-panel','focusDrawing','sheet.operation.hide-chart-panel','rangeInfo','Overlay','onerror','nativeEvent','_chartModelService','relation','getDrawingOrder','resolve','_deactivateDataUpdateAnimation','Image','_snapshotStore','PenIcon','domId','_resolvedConfig','subUnitId','function','_disposeChartChangeListeners','position$','1788reiHXb','_getDrawable','showFloatMenu','sheet-chart-style-panel','_restoreFloatDomPositionStream','_addWatermark','isHit','matchMedia','top','_getFloatDomInfo','offsetTop','defaultValues','iterator','sheets-chart-ui.common.showHiddenData','Axes','onStarting','rangeSelectMode','_renderService','_readGeometry','target','config','_scheduleDataUpdateAnimationEnd','style','Waterfall','-univer-mx-4\x20univer-overflow-visible','getRenderModel','save','current','src','sidebarOptions$','mergeMenu','values','zIndex','removeHost','featurePluginOrderUpdate$','next','Style','heatmap','executeCommand','SELECTOR','_onChange','_updateTransform','sheet.command.chart.copy-focused-chart','openChartPanelById','univer-overflow-visible','_lastRenderInputMap','_sheetPrintInterceptorService','_requestPaint','REMOVE','_urlImage','create','Literals','_subscribeChartEvents','closePath','transparent','getChartSnapshotImage','sheets-chart-ui.common.copy','sheets-chart-ui.section.sunburst','chartRenderMode','_resolveLayout','getUnit','startY','_isOwnedChart','_drawChartFrame','getMatrix','_dataUpdateAnimationTimers','Url','getBoundingClientRect','requestPaint','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_isProviderDisposed','renderChartsForPrinting','blur','rangeInfo$','interceptor','sheets-chart-ui.section.radar','sheets-chart-ui.common.exportImage','_injector','markReady','chartObject','setImage','_init','set','getHostSize','Relation','keys','default','_themeService','config$','_sheetPermissionCheckController','_copyInfo','_drawChartImage','_registerComponents','_getSceneAndTransformerByDrawingSearch','seriesId','getParent'];_0x8646=function(){return _0xdf6270;};return _0x8646();}const Ti=_0x5d1a27(0x395),Ei=_0x5d1a27(0x3a7),Di=_0x5d1a27(0x2bb);function Oi(_0x478553){const _0x1bc8d0=_0x5d1a27;return _0x478553[_0x1bc8d0(0x355)]===0x1&&ki(_0x478553[0x0]);}function ki(_0x41fbe3){const _0x5a1ca2=_0x5d1a27;return(_0x41fbe3==null?void 0x0:_0x41fbe3['drawingType'])===_0x4c00c3[_0x5a1ca2(0x249)]&&!_0x41fbe3[_0x5a1ca2(0x3c6)];}let Ai=class extends _0x23a464{constructor(_0x2dde0f,_0x40d197,_0xd52bff,_0x271c96,_0x240fe6,_0x11f046,_0x23806f,_0x592bff,_0x4c8f72,_0x480f84,_0xbda961,_0x233b6f,_0x500f89,_0x3f2702,_0x61fac3){const _0x2623c4=_0x5d1a27;var _0x4c2bb5;super(),this['_drawingManagerService']=_0x2dde0f,this['_univerInstanceService']=_0x40d197,this[_0x2623c4(0x2aa)]=_0xd52bff,this['_sheetsChartService']=_0x271c96,this[_0x2623c4(0x214)]=_0x240fe6,this['_sheetDrawingHitTestService']=_0x11f046,this[_0x2623c4(0x149)]=_0x23806f,this[_0x2623c4(0x358)]=_0x592bff,this[_0x2623c4(0x11a)]=_0x4c8f72,this[_0x2623c4(0x3b1)]=_0x480f84,this[_0x2623c4(0x3c7)]=_0xbda961,this[_0x2623c4(0x220)]=_0x233b6f,this['_contextService']=_0x500f89,this[_0x2623c4(0x166)]=_0x3f2702,U(this,'_sidebarDisposable',null),U(this,_0x2623c4(0x1f3),void 0x0),this[_0x2623c4(0x1f3)]=((_0x4c2bb5=_0x61fac3['getConfig']('sheets-chart-ui.config'))==null?void 0x0:_0x4c2bb5[_0x2623c4(0x245)])===!0x0,this[_0x2623c4(0x35f)](),this[_0x2623c4(0x27a)](this[_0x2623c4(0x3d8)][_0x2623c4(0x1bb)](_0x2a3654[_0x2623c4(0x1d7)])[_0x2623c4(0x3d5)](_0x320c63=>{const _0x113432=_0x2623c4;var _0x2021d6;_0x320c63||(_0x2021d6=this[_0x113432(0x35c)])==null||_0x2021d6[_0x113432(0x33d)]();})),this[_0x2623c4(0x27a)](_0x1094b2(this[_0x2623c4(0x23e)]['onDoubleClick$'][_0x2623c4(0x3d5)](async({drawing:_0x549ab5})=>{const _0x372abc=_0x2623c4;await this[_0x372abc(0x28c)](_0x549ab5);})));}[_0x5d1a27(0x24d)](){const _0x23d676=_0x5d1a27;this[_0x23d676(0x35c)]=this[_0x23d676(0x149)][_0x23d676(0x279)]({'id':Ti,'header':{'title':this[_0x23d676(0x166)]['t'](_0x23d676(0x387))},'width':0x154,'children':{'label':Ti},'onClose':()=>{const _0x16f777=_0x23d676;this[_0x16f777(0x35c)]=null,this[_0x16f777(0x3e9)](),this[_0x16f777(0x2aa)][_0x16f777(0x26e)]&&this[_0x16f777(0x2aa)][_0x16f777(0x284)](null),this['_drawingManagerService'][_0x16f777(0x2a4)](null),this[_0x16f777(0x333)][_0x16f777(0x343)](_0x29388d,!0x1);}});}[_0x5d1a27(0x3cf)](){const _0x6a0c3a=_0x5d1a27;let _0x5138fc=this[_0x6a0c3a(0x35c)];this[_0x6a0c3a(0x35c)]=null,this['_deactivateEditPanelState'](),this['_chartModelService'][_0x6a0c3a(0x26e)]&&this[_0x6a0c3a(0x2aa)][_0x6a0c3a(0x284)](null),_0x5138fc==null||_0x5138fc['dispose']();}[_0x5d1a27(0x3e2)](){const _0x3c0f88=_0x5d1a27;let _0x1e6d1a=this['_univerInstanceService'][_0x3c0f88(0x3ce)](_0x2a3654[_0x3c0f88(0x1d7)]);this[_0x3c0f88(0x27a)](this[_0x3c0f88(0x149)][_0x3c0f88(0x2d5)][_0x3c0f88(0x3d5)](_0x135ecc=>{const _0x195bb6=_0x3c0f88;_0x135ecc['id']===_0x195bb6(0x395)&&(_0x135ecc[_0x195bb6(0x268)]||this[_0x195bb6(0x149)][_0x195bb6(0x2d5)][_0x195bb6(0x2db)]({'visible':!0x1}));})),this[_0x3c0f88(0x27a)](_0x276a93([this[_0x3c0f88(0x2aa)][_0x3c0f88(0x209)],this[_0x3c0f88(0x220)][_0x3c0f88(0x26d)]])[_0x3c0f88(0x186)](_0x1f7349(([_0x52307c,_0x3ff019])=>_0x3ff019?(_0x52307c==null?void 0x0:_0x52307c['id'])??null:null),_0x29a798(),_0x40fbf9(null),_0x18ea1())[_0x3c0f88(0x3d5)](([_0x349a89,_0x36b54b])=>{this['_syncActiveEditChart'](_0x349a89,_0x36b54b);})),this['disposeWithMe'](this['_chartModelService']['activeChartModel$'][_0x3c0f88(0x3d5)](_0x576a7f=>{!_0x576a7f&&this['_sidebarDisposable']&&this['hidePanel']();})),this['disposeWithMe'](this[_0x3c0f88(0x3c7)][_0x3c0f88(0x28d)](_0x23d14e=>{const _0x95d784=_0x3c0f88;if(_0x23d14e['id']===V['id']){let _0xc9de1=_0x23d14e[_0x95d784(0x398)];if(!ki(this['_drawingManagerService'][_0x95d784(0x3a3)]({'unitId':_0xc9de1['unitId'],'subUnitId':_0xc9de1[_0x95d784(0x2b4)],'drawingId':_0xc9de1[_0x95d784(0x14a)]})))return;this[_0x95d784(0x2e3)](_0xc9de1['drawingId'],_0xc9de1['route']);}if(_0x23d14e['id']===Tr['id']&&this[_0x95d784(0x3cf)](),_0x23d14e['id']===_0x2ccbfe['id']){var _0x3434c3;_0x23d14e[_0x95d784(0x398)][_0x95d784(0x191)]===((_0x3434c3=this[_0x95d784(0x2aa)][_0x95d784(0x26e)])==null?void 0x0:_0x3434c3['id'])&&this[_0x95d784(0x3cf)](),this[_0x95d784(0x333)][_0x95d784(0x275)](_0x29388d)&&(this['_contextService'][_0x95d784(0x343)](_0x29388d,!0x1),this[_0x95d784(0x3cb)][_0x95d784(0x2a4)](null));}})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x3c0f88(0x241)]['subscribe'](({id:_0x105a80})=>{const _0x40c757=_0x3c0f88;this[_0x40c757(0x220)][_0x40c757(0x169)](_0x105a80)&&this[_0x40c757(0x3cf)]();})),this[_0x3c0f88(0x27a)](this['_sheetCanvasFloatDomManagerService'][_0x3c0f88(0x22e)][_0x3c0f88(0x3d5)](({id:_0x19a2e7})=>{const _0x26b152=_0x3c0f88;this['_sheetsChartUIService']['isElementEditModeActive'](_0x19a2e7)&&(this[_0x26b152(0x220)][_0x26b152(0x202)](),this['_chartRenderService'][_0x26b152(0x318)](_0x19a2e7,!0x1),this['_shouldEnableChartElementEdit'](_0x19a2e7)&&this[_0x26b152(0x214)][_0x26b152(0x318)](_0x19a2e7,!0x0));})),this[_0x3c0f88(0x27a)](this[_0x3c0f88(0x3cb)][_0x3c0f88(0x1d0)][_0x3c0f88(0x3d5)](_0x56b215=>{const _0x439fc3=_0x3c0f88;let _0x235568=_0x56b215[0x0];if(!this['_sheetsChartUIService'][_0x439fc3(0x2c8)]){if(Oi(_0x56b215)){var _0xe127fb;let _0x371b24=this[_0x439fc3(0x2aa)][_0x439fc3(0x1ce)](_0x235568[_0x439fc3(0x14a)]);_0x371b24&&this[_0x439fc3(0x2f6)](_0x371b24['id'])&&((_0xe127fb=this[_0x439fc3(0x2aa)]['activeChartModel'])==null?void 0x0:_0xe127fb['id'])!==_0x371b24['id']&&this[_0x439fc3(0x2aa)][_0x439fc3(0x284)](_0x371b24);return;}this[_0x439fc3(0x2aa)][_0x439fc3(0x26e)]&&this[_0x439fc3(0x2aa)][_0x439fc3(0x284)](null),!_0x235568&&!this[_0x439fc3(0x220)][_0x439fc3(0x2c8)]&&this[_0x439fc3(0x3cf)]();}})),_0x1e6d1a&&(this[_0x3c0f88(0x27a)](_0x1e6d1a[_0x3c0f88(0x193)][_0x3c0f88(0x3d5)](()=>{const _0x4456bb=_0x3c0f88;this[_0x4456bb(0x3cf)]();})),this[_0x3c0f88(0x27a)](_0x1e6d1a[_0x3c0f88(0x381)][_0x3c0f88(0x3d5)](()=>{const _0x589fcf=_0x3c0f88;this[_0x589fcf(0x3cf)]();})));}async[_0x5d1a27(0x28c)](_0x9e04c0){const _0x22cdae=_0x5d1a27;this[_0x22cdae(0x220)]['chartEditorOpen']||ki(_0x9e04c0)&&this[_0x22cdae(0x2f6)](_0x9e04c0[_0x22cdae(0x14a)])&&await this['_openEditPanelByDoubleClick'](_0x9e04c0['unitId'],_0x9e04c0[_0x22cdae(0x2b4)],_0x9e04c0[_0x22cdae(0x14a)]);}async[_0x5d1a27(0x29c)](_0x34c7c7,_0x5bc67f,_0x7ca4c){const _0x11c89e=_0x5d1a27;this[_0x11c89e(0x2aa)][_0x11c89e(0x1ce)](_0x7ca4c)&&this[_0x11c89e(0x2f6)](_0x7ca4c)&&await this[_0x11c89e(0x3c7)][_0x11c89e(0x2de)](V['id'],{'unitId':_0x34c7c7,'subUnitId':_0x5bc67f,'drawingId':_0x7ca4c});}[_0x5d1a27(0x2e3)](_0x2b0235,_0x170b04){const _0x5856d3=_0x5d1a27;let _0x3507c8=this[_0x5856d3(0x2aa)][_0x5856d3(0x1ce)](_0x2b0235);_0x3507c8&&this[_0x5856d3(0x2f6)](_0x2b0235)&&(this['_chartModelService'][_0x5856d3(0x284)](_0x3507c8),this[_0x5856d3(0x24d)](),this[_0x5856d3(0x260)](_0x2b0235,_0x170b04??null));}['_activateEditPanelState'](_0x1b8de6,_0x4ddbae){const _0x2c521d=_0x5d1a27;this[_0x2c521d(0x220)][_0x2c521d(0x347)](!0x0),this['_sheetsChartUIService'][_0x2c521d(0x1c9)](_0x1b8de6,_0x4ddbae);}[_0x5d1a27(0x3e9)](){const _0x262d8e=_0x5d1a27;this[_0x262d8e(0x220)][_0x262d8e(0x347)](!0x1);}[_0x5d1a27(0x217)](_0x43ce1c,_0x57caf7){const _0x55f38b=_0x5d1a27;_0x43ce1c!==_0x57caf7&&(_0x43ce1c&&this['_chartRenderService'][_0x55f38b(0x318)](_0x43ce1c,!0x1),this['_sheetsChartUIService'][_0x55f38b(0x202)](),_0x57caf7&&(this['_sheetsChartUIService'][_0x55f38b(0x1c9)](_0x57caf7,null),this[_0x55f38b(0x214)][_0x55f38b(0x318)](_0x57caf7,this[_0x55f38b(0x219)](_0x57caf7))));}[_0x5d1a27(0x35f)](){const _0x446b63=_0x5d1a27;this[_0x446b63(0x358)][_0x446b63(0x2d6)](Ur),this[_0x446b63(0x3b1)]['registerFeatureMenu'](_0x4c00c3[_0x446b63(0x249)],this['getChartPopupMenus'][_0x446b63(0x19d)](this));}[_0x5d1a27(0x219)](_0x43f4f9){const _0x9d0e84=_0x5d1a27;let _0x5d58d0=this[_0x9d0e84(0x2aa)][_0x9d0e84(0x1ce)](_0x43f4f9);return!this['_isChartElementEditEnabled']||!_0x5d58d0||!this[_0x9d0e84(0x2f6)](_0x43f4f9)?!0x1:Gr(_0x5d58d0[_0x9d0e84(0x38a)]);}['getChartPopupMenus'](_0x5a5f2a,_0x570c49,_0x5a77b7,_0x2ab1de){const _0x3c8705=_0x5d1a27;if(!this[_0x3c8705(0x2aa)][_0x3c8705(0x1ce)](_0x5a77b7))return[];let _0x455200=[{'label':this[_0x3c8705(0x166)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7},'disable':_0x2ab1de!==_0x4c00c3['DRAWING_CHART']}];return this[_0x3c8705(0x2f6)](_0x5a77b7)?[..._0x455200,{'label':this[_0x3c8705(0x166)]['t'](_0x3c8705(0x148)),'index':0x1,'commandId':_0x14d389['id'],'commandParams':{'unitId':_0x5a5f2a,'drawings':[{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7,'drawingType':_0x2ab1de}]},'disable':!0x1},{'label':this[_0x3c8705(0x166)]['t'](_0x3c8705(0x263)),'index':0x2,'commandId':Tr['id'],'commandParams':{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7},'disable':!0x1}]:_0x455200;}[_0x5d1a27(0x2f6)](_0xbf2523){const _0x26ed4a=_0x5d1a27;return this['_sheetsChartService'][_0x26ed4a(0x34a)](_0xbf2523)!==void 0x0;}};Ai=K([G(0x0,_0x2a46aa),G(0x1,_0x50dd4e),G(0x2,_0x233312(_0xef00ca)),G(0x3,_0x233312(_0x45f46e)),G(0x4,_0x233312(q)),G(0x5,_0x233312(_0x1c6a95)),G(0x6,_0x233312(_0xe0c109)),G(0x7,_0x3d6daf),G(0x8,_0x233312(_0x1cd243)),G(0x9,_0x233312(_0x1ac4ba)),G(0xa,_0x23023c),G(0xb,J),G(0xc,_0xae1c0),G(0xd,_0x233312(_0x2365aa)),G(0xe,_0x332790)],Ai);var ji=_0x5d1a27(0x34c),Mi=_0x5d1a27(0x1c0);let X=class extends _0x23a464{constructor(_0x4c8634,_0x3effcf){const _0x59ba34=_0x5d1a27;super(),this[_0x59ba34(0x1c5)]=_0x4c8634,this[_0x59ba34(0x2aa)]=_0x3effcf,this[_0x59ba34(0x309)]();}[_0x5d1a27(0x309)](){const _0x4c9352=_0x5d1a27;this[_0x4c9352(0x27a)](this['_chartHostProviderService'][_0x4c9352(0x21a)][_0x4c9352(0x3d5)](_0x571b75=>{const _0x5d9112=_0x4c9352;this[_0x5d9112(0x2aa)]['removeChartModel'](_0x571b75);}));}};X=K([G(0x0,fi),G(0x1,_0x233312(_0xef00ca))],X);let Ni=class extends _0x23a464{constructor(_0x5e8598,_0x337282,_0x2e7b8f,_0x118939,_0x5867b4,_0x471965){const _0x4028d3=_0x5d1a27;super(),this['_chartModelService']=_0x5e8598,this[_0x4028d3(0x214)]=_0x337282,this[_0x4028d3(0x166)]=_0x2e7b8f,this[_0x4028d3(0x1b8)]=_0x118939,this['_commandService']=_0x5867b4,this[_0x4028d3(0x2e6)]=_0x471965,U(this,_0x4028d3(0x28a),new Map()),U(this,'_pendingDataUpdateChartIds',new Set()),this[_0x4028d3(0x309)](),this[_0x4028d3(0x29e)](),this[_0x4028d3(0x3df)]();}[_0x5d1a27(0x3df)](){const _0x478c6b=_0x5d1a27;this[_0x478c6b(0x27a)](this['_sheetPrintInterceptorService'][_0x478c6b(0x302)][_0x478c6b(0x1a4)](this[_0x478c6b(0x2e6)][_0x478c6b(0x302)]['getInterceptPoints']()[_0x478c6b(0x29f)],{'handler':(_0x51b5ab,_0x1077cf,_0x485525)=>{const _0x3635e8=_0x478c6b;let _0x2cf49b=this[_0x3635e8(0x214)][_0x3635e8(0x2ff)](_0x1077cf[_0x3635e8(0x1b7)],_0x1077cf[_0x3635e8(0x2b4)],_0x1077cf[_0x3635e8(0x1d8)]);return _0x1077cf[_0x3635e8(0x3b3)][_0x3635e8(0x248)](_0x2cf49b),_0x485525(_0x51b5ab);}}));}['_init'](){const _0x52f5bd=_0x5d1a27;this[_0x52f5bd(0x27a)](this[_0x52f5bd(0x2aa)]['chartModelAdded$'][_0x52f5bd(0x3d5)](_0x28e32a=>{const _0x2dd2d1=_0x52f5bd;if(_0x28e32a){let _0x20d669=new _0x396c56();_0x20d669[_0x2dd2d1(0x248)](_0x28e32a['dataSource$'][_0x2dd2d1(0x186)](_0x2ddbf4(_0x35c592=>_0x35c592[_0x2dd2d1(0x39e)][_0x2dd2d1(0x186)](_0x83aac8(0x1))))[_0x2dd2d1(0x3d5)](()=>{const _0x21374d=_0x2dd2d1;this[_0x21374d(0x205)][_0x21374d(0x248)](_0x28e32a['id']);})),_0x20d669[_0x2dd2d1(0x248)](_0x28e32a[_0x2dd2d1(0x310)][_0x2dd2d1(0x186)](_0xedeac2(_0x28e32a['style$']),_0xedeac2(this[_0x2dd2d1(0x166)][_0x2dd2d1(0x31d)]),_0x13ec66(0x64))['subscribe'](([[_0x1ed5e6,_0x4d416d],_0x303bc7])=>{const _0x437848=_0x2dd2d1;var _0x5b1165;if(!_0x1ed5e6)return;(_0x5b1165=_0x1ed5e6[_0x437848(0x142)])==null||_0x5b1165[_0x437848(0x21d)][_0x437848(0x1e0)]((_0x25e0fe,_0xaac3de)=>{const _0x582248=_0x437848;_0x25e0fe[_0x582248(0x27d)]||=this['_localeService']['t'](_0x582248(0x3b9))+'\x20'+(_0xaac3de+0x1);}),_0x1ed5e6['series']['forEach']((_0x5c9fba,_0x2d69a5)=>{const _0x4e8776=_0x437848;_0x5c9fba[_0x4e8776(0x1ea)]||=this[_0x4e8776(0x166)]['t'](_0x4e8776(0x344))+'\x20'+(_0x2d69a5+0x1);});let _0x3daf3c=this[_0x437848(0x214)][_0x437848(0x37e)](_0x28e32a,_0x303bc7),_0x45cdb9=this[_0x437848(0x205)][_0x437848(0x198)](_0x28e32a['id']);this[_0x437848(0x214)][_0x437848(0x3a9)](_0x28e32a['id'],_0x1ed5e6,_0x3daf3c,{'animateDataUpdate':_0x45cdb9});})),_0x28e32a[_0x2dd2d1(0x287)](()=>{const _0xe5245=_0x2dd2d1;this['_pendingDataUpdateChartIds']['delete'](_0x28e32a['id']),_0x20d669[_0xe5245(0x33d)]();});}}));}[_0x5d1a27(0x29e)](){const _0x3da67b=_0x5d1a27;this[_0x3da67b(0x27a)](this[_0x3da67b(0x3c7)]['onCommandExecuted'](_0x1d2451=>{const _0x35c51a=_0x3da67b;if(_0x1d2451['id']!==_0x18807f['id'])return;let _0xe70386=_0x1d2451[_0x35c51a(0x398)];_0xe70386!=null&&_0xe70386[_0x35c51a(0x151)]&&Promise['resolve']()[_0x35c51a(0x138)](()=>this['_renderAfterChartUpdateMutation'](_0xe70386));}));}[_0x5d1a27(0x229)](_0xca0ef8){const _0x5b7c86=_0x5d1a27;let _0x5d0779=this[_0x5b7c86(0x2aa)][_0x5b7c86(0x1ce)](_0xca0ef8[_0x5b7c86(0x151)]);if(!_0x5d0779||_0x5d0779[_0x5b7c86(0x38a)]!==_0x1b41ef['WordCloud'])return;let _0x48052d=_0x5d0779['config'];if(!_0x48052d){this['_renderWhenConfigReady'](_0x5d0779);return;}this[_0x5b7c86(0x27f)](_0x5d0779,_0x48052d);}['_renderWhenConfigReady'](_0x58bb07){const _0x24b584=_0x5d1a27;if(this['_pendingMutationConfigRenders']['get'](_0x58bb07['id']))return;let _0x36c374=_0x58bb07[_0x24b584(0x310)][_0x24b584(0x186)](_0x5482cb(_0x464c37=>_0x464c37!=null),_0x25844e(0x1))['subscribe'](_0x392e4d=>{const _0x286f39=_0x24b584;this['_pendingMutationConfigRenders'][_0x286f39(0x198)](_0x58bb07['id']),this[_0x286f39(0x27f)](_0x58bb07,_0x392e4d);});this[_0x24b584(0x28a)][_0x24b584(0x30a)](_0x58bb07['id'],_0x36c374),_0x58bb07[_0x24b584(0x287)](()=>{const _0x39d0f9=_0x24b584;_0x36c374[_0x39d0f9(0x1d3)](),this[_0x39d0f9(0x28a)][_0x39d0f9(0x198)](_0x58bb07['id']);});}[_0x5d1a27(0x27f)](_0x73cdb2,_0x1c0b42){const _0x22a8b3=_0x5d1a27;let _0x36103f=this[_0x22a8b3(0x214)][_0x22a8b3(0x37e)](_0x73cdb2,this[_0x22a8b3(0x166)][_0x22a8b3(0x36e)]());this[_0x22a8b3(0x214)][_0x22a8b3(0x3a9)](_0x73cdb2['id'],_0x1c0b42,_0x36103f);}};Ni=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(q)),G(0x2,_0x233312(_0x2365aa)),G(0x3,J),G(0x4,_0x23023c),G(0x5,_0x233312(_0x4e275e))],Ni);function Pi(_0x562665,_0x137765){const _0x1f8f17=_0x5d1a27;return _0x562665['unitId']!==_0x137765['unitId']||_0x562665['subUnitId']!==_0x137765[_0x1f8f17(0x377)]?_0x562665:{..._0x562665,'subUnitId':_0x137765[_0x1f8f17(0x137)]};}function Fi(_0x16d908,_0x359e25){const _0x5aa20f=_0x5d1a27;return(_0x16d908==null?void 0x0:_0x16d908['type'])===_0x3471e0[_0x5aa20f(0x20c)]?{..._0x16d908,'source':Pi(_0x16d908[_0x5aa20f(0x331)],_0x359e25)}:_0x16d908;}function Ii(_0xd5a030,_0x250e13){const _0x1c284c=_0x5d1a27;let {rangeInfo:_0x45a59e}=_0xd5a030;return Array[_0x1c284c(0x25b)](_0x45a59e)?{..._0xd5a030,'rangeInfo':_0x45a59e['map'](_0x44570d=>({..._0x44570d,..._0x44570d[_0x1c284c(0x373)]?{'header':Fi(_0x44570d['header'],_0x250e13)}:{},'range':Pi(_0x44570d[_0x1c284c(0x363)],_0x250e13)}))}:{..._0xd5a030,'rangeInfo':{..._0x45a59e,..._0x45a59e[_0x1c284c(0x373)]?{'header':{..._0x45a59e['header'],..._0x45a59e[_0x1c284c(0x373)][_0x1c284c(0x1a2)]?{'titles':Li(_0x45a59e[_0x1c284c(0x373)]['titles'],_0x250e13)}:{}}}:{},'rangeInfo':Pi(_0x45a59e['rangeInfo'],_0x250e13)}};}function Li(_0x5d4ed4,_0x5f04fd){const _0xeb7db4=_0x5d1a27;return _0x5d4ed4[_0xeb7db4(0x17a)]===_0x3471e0[_0xeb7db4(0x2eb)]?{..._0x5d4ed4,'values':{..._0x5d4ed4[_0xeb7db4(0x2d7)]}}:_0x5d4ed4['type']===_0x3471e0[_0xeb7db4(0x1e3)]?{..._0x5d4ed4,'values':Object[_0xeb7db4(0x210)](Object[_0xeb7db4(0x215)](_0x5d4ed4[_0xeb7db4(0x2d7)])[_0xeb7db4(0x1a0)](([_0x2b3072,_0x57bf43])=>[_0x2b3072,_0x57bf43&&Pi(_0x57bf43,_0x5f04fd)]))}:{..._0x5d4ed4,'values':Object[_0xeb7db4(0x210)](Object[_0xeb7db4(0x215)](_0x5d4ed4[_0xeb7db4(0x2d7)])['map'](([_0xb2f407,_0x798a0e])=>[_0xb2f407,_0x798a0e&&Fi(_0x798a0e,_0x5f04fd)]))};}function Ri(_0x46ad12,_0x1a576e,_0x77bc73,_0x216db5){const _0x11e98f=_0x5d1a27;let _0x56b66d=_0x5a52ec(_0x46ad12,_0x1a576e,_0x77bc73),_0xbd2284=[];for(let _0x40c26e of _0x1a576e){let _0x2118dd=_0x56b66d[_0x11e98f(0x167)][_0x11e98f(0x3a6)](_0x40c26e[_0x11e98f(0x14a)]),_0x402903=_0x216db5(_0x40c26e);_0x2118dd&&_0x402903&&_0xbd2284['push']({'targetChartId':_0x2118dd,'source':Ii(_0x402903,_0x77bc73)});}return _0xbd2284;}let zi=class extends _0x23a464{constructor(_0x394407,_0x2a9b73,_0x56b795,_0x2aa0ba,_0xe61303){const _0x36868b=_0x5d1a27;super(),this[_0x36868b(0x3d8)]=_0x394407,this[_0x36868b(0x282)]=_0x2a9b73,this[_0x36868b(0x296)]=_0x56b795,this[_0x36868b(0x2aa)]=_0x2aa0ba,this[_0x36868b(0x1f9)]=_0xe61303,this[_0x36868b(0x133)]();}[_0x5d1a27(0x133)](){const _0x3b293d=_0x5d1a27;this[_0x3b293d(0x27a)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0xe78c25=>{const _0x2c326f=_0x3b293d;if(_0xe78c25['id']===_0x3c652c['id']){let _0x2945dd=_0x374c25(this[_0x2c326f(0x3d8)],_0xe78c25[_0x2c326f(0x398)]);if(!_0x2945dd)return{'redos':[],'undos':[]};let {unitId:_0x8e553f,subUnitId:_0x390cf1}=_0x2945dd,_0x126833=this[_0x2c326f(0x296)]['getDrawingData'](_0x8e553f,_0x390cf1),_0x432628=Object[_0x2c326f(0x2d7)](_0x126833)[_0x2c326f(0x1e4)](_0x3cf80b=>_0x3cf80b[_0x2c326f(0x3e5)]===_0x4c00c3[_0x2c326f(0x249)]);if(_0x432628[_0x2c326f(0x355)]===0x0)return{'redos':[],'undos':[]};let _0x1c5190=[],_0x1b3f5a=[];for(let _0x1c2559=0x0;_0x1c2559<_0x432628[_0x2c326f(0x355)];_0x1c2559++){let _0xb2fe78=_0x432628[_0x1c2559],_0x52c747=this[_0x2c326f(0x2aa)][_0x2c326f(0x1ce)](_0xb2fe78[_0x2c326f(0x14a)]);if(!_0x52c747)continue;let _0x5ddbab=this[_0x2c326f(0x1f9)][_0x2c326f(0x34a)](_0x52c747['id']);if(!_0x5ddbab)continue;let {chartType:_0x3a0508,context:_0x3645fb,style:_0x1e675f,dataAggregation:_0x3dd4e9}=_0x52c747[_0x2c326f(0x33f)]();_0x1c5190['push']({'id':_0x2ccbfe['id'],'params':{'unitId':_0x8e553f,'subUnitId':_0x390cf1,'chartId':_0xb2fe78[_0x2c326f(0x14a)]}}),_0x1b3f5a['push']({'id':_0x5c166f['id'],'params':{'unitId':_0x8e553f,'subUnitId':_0x390cf1,'chartId':_0xb2fe78['drawingId'],'chartType':_0x3a0508,..._0x1d8687(_0x5ddbab),'context':_0x3645fb,'style':_0x1e675f,'dataAggregation':_0x3dd4e9}});}return{'redos':_0x1c5190,'undos':_0x1b3f5a};}if(_0xe78c25['id']===_0x488928['id']){let {unitId:_0xbff3b6,subUnitId:_0x36672f,targetSubUnitId:_0x3e59d9,copyContext:_0x5eb2fd}=_0xe78c25[_0x2c326f(0x398)];if(!_0xbff3b6||!_0x36672f||!_0x3e59d9)return{'redos':[],'undos':[]};let _0x3c81f6=this[_0x2c326f(0x296)][_0x2c326f(0x3be)](_0xbff3b6,_0x36672f),_0x164b38=Object[_0x2c326f(0x2d7)](_0x3c81f6)[_0x2c326f(0x1e4)](_0x4ab087=>_0x4ab087['drawingType']===_0x4c00c3[_0x2c326f(0x249)]);if(_0x164b38[_0x2c326f(0x355)]===0x0)return{'redos':[],'undos':[]};let _0x590a8e=Ri(_0x5eb2fd,_0x164b38,{'unitId':_0xbff3b6,'sourceSubUnitId':_0x36672f,'targetSubUnitId':_0x3e59d9},_0x32f152=>{const _0x10674c=_0x2c326f;let _0x43e997=this[_0x10674c(0x2aa)][_0x10674c(0x1ce)](_0x32f152[_0x10674c(0x14a)]);if(!_0x43e997)return;let _0xcecec7=this[_0x10674c(0x1f9)]['getChartSourceSpec'](_0x43e997['id']);if(!_0xcecec7)return;let {chartType:_0x22a600,context:_0x44e72e,style:_0x340a97,dataAggregation:_0x518a15}=_0x43e997[_0x10674c(0x33f)]();return{'rangeInfo':_0xcecec7,'chartType':_0x22a600,'context':_0x44e72e,'style':_0x340a97,'dataAggregation':_0x518a15};}),_0x1d03e0=[],_0x1c145c=[];for(let {targetChartId:_0x509af5,source:_0x159705}of _0x590a8e){let {rangeInfo:_0x4b3da0,chartType:_0x469797,context:_0x23b832,style:_0x1d04a7,dataAggregation:_0x20d5b0}=_0x159705;_0x1d03e0[_0x2c326f(0x334)]({'id':_0x5c166f['id'],'params':{'unitId':_0xbff3b6,'subUnitId':_0x3e59d9,'chartId':_0x509af5,'chartType':_0x469797,..._0x1d8687(_0x4b3da0),'context':_0x23b832,'style':_0x1d04a7,'dataAggregation':_0x20d5b0}}),_0x1c145c[_0x2c326f(0x334)]({'id':_0x2ccbfe['id'],'params':{'unitId':_0xbff3b6,'subUnitId':_0x3e59d9,'chartId':_0x509af5}});}return{'redos':_0x1d03e0,'undos':_0x1c145c};}return{'redos':[],'undos':[]};}}));}};zi=K([G(0x0,_0x233312(_0x50dd4e)),G(0x1,_0x233312(_0x304912)),G(0x2,_0x233312(_0x1ddd2c)),G(0x3,_0x233312(_0xef00ca)),G(0x4,_0x233312(_0x45f46e))],zi);const Bi=_0x1c8cda=>_0x1c8cda[_0x5d1a27(0x3ce)](_0x2a3654[_0x5d1a27(0x1d7)])['getUnitId'](),Vi=_0x1cf69f=>{const _0x44abdb=_0x5d1a27;var _0x424646;return(_0x424646=_0x1cf69f[_0x44abdb(0x3ce)](_0x2a3654[_0x44abdb(0x1d7)])[_0x44abdb(0x144)]())==null?void 0x0:_0x424646['getSheetId']();};function Hi(){const _0x284930=_0x5d1a27;var _0x3741dc;let _0x3303bf=_0x216cfe(J),_0x38e54e=_0x216cfe(_0xef00ca),_0x23175f=_0x216cfe(_0x45f46e),_0x479a84=_0x216cfe(_0x2365aa),_0x290aa9=_0x216cfe(_0x26189f),_0x510501=_0x2ab3f2(_0x290aa9),_0x5108c5=_0x1f6146(()=>{const _0x2f50ae=_0x14cc;let _0x1cd075=Ir(Pr[_0x2f50ae(0x37b)](),_0x510501);return _0x5db475(_0x1cd075['map'](_0x33ba6a=>({'id':_0x33ba6a['id'],'label':_0x479a84['t']('sheets-chart-ui.chartTypes.'+_0x33ba6a['labelId']),'pieSecondaryPlotType':_0x33ba6a[_0x2f50ae(0x3dc)],'value':_0x33ba6a['value']})));},[_0x510501,_0x479a84]),_0x35672d=_0x103df8(_0x38e54e[_0x284930(0x209)],_0x38e54e[_0x284930(0x26e)]),_0x1632de=_0x35672d?_0x23175f[_0x284930(0x13e)](_0x35672d['id']):void 0x0,_0xdb09be=_0x103df8(_0x1632de==null?void 0x0:_0x1632de[_0x284930(0x301)],_0x1632de==null?void 0x0:_0x1632de[_0x284930(0x351)]()),_0x22cb04=Array[_0x284930(0x25b)](_0xdb09be),_0x484b97=_0xdb09be&&!_0x22cb04&&_0xdb09be['isRowDirection']?_0x10a164[_0x284930(0x1aa)]:_0x10a164[_0x284930(0x27b)],_0x3204c0=_0x22cb04?(_0x3741dc=_0xdb09be[0x0])==null?void 0x0:_0x3741dc[_0x284930(0x363)]:_0xdb09be==null?void 0x0:_0xdb09be[_0x284930(0x2a6)];return _0x29cee8(_0x284930(0x21b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':_0x29cee8(_0xc7bb52,{'chartTypeOptions':_0x5108c5,'dataSourceControl':_0x29cee8(Ui,{'dataRange':_0xdb09be,'primaryRange':_0x3204c0}),'categoryToggleLabel':_0x479a84['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x484b97===_0x10a164[_0x284930(0x1aa)]?_0x484b97+'\x20'+(((_0x3204c0==null?void 0x0:_0x3204c0[_0x284930(0x363)]['startRow'])??0x0)+0x1):_0x484b97+'\x20'+_0x2a8fac((_0x3204c0==null?void 0x0:_0x3204c0[_0x284930(0x363)]['startColumn'])??0x0)),'orientationControl':_0x22cb04?void 0x0:_0x29cee8(_0x926487,{'size':_0x284930(0x1f5),'onClick':()=>_0x3303bf[_0x284930(0x2a2)](_0x484b97===_0x10a164[_0x284930(0x1aa)]?_0x10a164[_0x284930(0x27b)]:_0x10a164['Row']),'children':_0x479a84['t'](_0x284930(0x11b))})})});}function Ui(_0x21751d){const _0x2d6411=_0x5d1a27;let {dataRange:_0xdf9f03,primaryRange:_0x50e0a3}=_0x21751d,_0x2b19c1=_0x216cfe(J),_0x377b37=_0x216cfe(_0x2365aa),_0x133861=_0x216cfe(_0x50dd4e),[_0x208508,_0x32259b]=_0x4cb90f(!0x1),[_0x5e1304,_0x347459]=_0x4cb90f(!0x1),_0x5a2c6d=Bi(_0x133861),_0x1a6d2d=Vi(_0x133861);_0x3b35d2(()=>{_0x2b19c1['setRangeSelectMode'](_0x208508);},[_0x208508,_0x2b19c1]);let _0x18f0fe=_0x1f6146(()=>_0x265549(async _0x2e9fa3=>{const _0x3afa26=_0x14cc;var _0x4c48b6;if(Mr(_0xdf9f03,_0x133861)===_0x2e9fa3)return;let _0x26563d=_0x2e9fa3['split'](',')[_0x3afa26(0x1e4)](Boolean)[_0x3afa26(0x1a0)](_0x560030)[0x0];if(!_0x26563d)return;let {unitId:_0x469a17,sheetName:_0x9d3bfd,range:_0xd93312}=_0x26563d,_0x361aa0=_0x469a17||_0x5a2c6d,_0x188674=((_0x4c48b6=_0x133861[_0x3afa26(0x2f4)](_0x361aa0)['getSheetBySheetName'](_0x9d3bfd))==null?void 0x0:_0x4c48b6[_0x3afa26(0x1c1)]())||(_0x50e0a3==null?void 0x0:_0x50e0a3['subUnitId'])||_0x1a6d2d;_0x188674&&_0x2b19c1['setDataRange']({'rangeInfo':{'range':_0xd93312,'unitId':_0x361aa0,'subUnitId':_0x188674}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0xdf9f03,_0x50e0a3,_0x2b19c1,_0x1a6d2d,_0x5a2c6d,_0x133861]);return _0x3b35d2(()=>()=>_0x18f0fe[_0x2d6411(0x1b5)](),[_0x18f0fe]),_0x29cee8(_0x2d6411(0x21b),{'className':_0x2d6411(0x321),'children':_0x191e51(_0x2d6411(0x21b),{'children':[_0x29cee8(_0x207394,{'title':_0x377b37['t'](_0x2d6411(0x24c))}),_0x29cee8(_0x411079,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x5a2c6d,'subUnitId':_0x1a6d2d,'initialValue':_0xdf9f03?Mr(_0xdf9f03,_0x133861):'','onChange':(_0x79867d,_0xf4327d)=>_0x18f0fe(_0xf4327d),'onFocusChange':_0x153787=>{_0x5e1304||_0x32259b(_0x153787);},'onRangeSelectorDialogVisibleChange':_0x22b81c=>{_0x347459(_0x22b81c),_0x32259b(_0x22b81c);}})]})});}function Wi(){const _0x481c1c=_0x5d1a27;let [_0x5eb381,_0x1dbfc]=_0x4cb90f(_0x45ab14[_0x481c1c(0x211)]),_0xc18f48=_0x216cfe(_0x26189f),_0x4fe645=_0x216cfe(_0x2365aa),_0x4eda04=_0x216cfe(J),_0x282604=_0x216cfe(_0xef00ca),_0x8fcbb8=_0x216cfe(_0x45f46e),_0xfcdce2=_0x103df8(_0x282604['activeChartModel$'],_0x282604[_0x481c1c(0x26e)]),_0x1de565=_0x103df8(_0x4eda04[_0x481c1c(0x192)],null),_0x2e2098=_0x1f6146(()=>{const _0x45246c=_0x481c1c;var _0x2eca5a;if(!_0xfcdce2)return null;let _0x2b2c70=_0x8fcbb8[_0x45246c(0x34a)](_0xfcdce2['id']);if(!_0x2b2c70)return null;let _0x107a39=Array[_0x45246c(0x25b)](_0x2b2c70)?(_0x2eca5a=_0x2b2c70[0x0])==null?void 0x0:_0x2eca5a['range']:_0x2b2c70[_0x45246c(0x2a6)];return _0x107a39?new _0x21eaab(_0xfcdce2,new _0x467243({'unitId':_0x107a39['unitId'],'subUnitId':_0x107a39[_0x45246c(0x2b4)],'chartId':_0xfcdce2['id'],'injector':_0xc18f48})):null;},[_0xfcdce2,_0xc18f48,_0x8fcbb8]);if(_0x3b35d2(()=>{const _0x1b0356=_0x481c1c;var _0x2e9afa,_0x58d497;_0xfcdce2&&(_0x1de565==null?void 0x0:_0x1de565[_0x1b0356(0x191)])===_0xfcdce2['id']&&(((_0x2e9afa=_0x1de565[_0x1b0356(0x204)])==null?void 0x0:_0x2e9afa[_0x1b0356(0x3e7)])===_0x45ab14[_0x1b0356(0x2dc)]&&_0x1dbfc(_0x45ab14['Style']),((_0x58d497=_0x1de565['route'])==null?void 0x0:_0x58d497[_0x1b0356(0x3e7)])===_0x45ab14['Data']&&_0x1dbfc(_0x45ab14[_0x1b0356(0x211)]));},[_0xfcdce2,_0x1de565]),!_0x2e2098)return null;let _0x3434cf=_0x29cee8(_0x481c1c(0x21b),{'className':_0x481c1c(0x158),'children':_0x29cee8(_0x3e5287,{'ariaLabel':_0x4fe645['t'](_0x481c1c(0x387)),'activeTab':_0x5eb381,'onTabChange':_0x1dbfc,'tabListClassName':_0x481c1c(0x1e6),'panelClassName':_0x5eb381===_0x45ab14[_0x481c1c(0x2dc)]?_0x481c1c(0x2d0):_0x481c1c(0x2e4),'tabs':[{'id':_0x45ab14[_0x481c1c(0x211)],'panelId':_0x481c1c(0x159),'title':_0x4fe645['t']('sheets-chart-ui.common.setup'),'content':_0x29cee8(Hi,{})},{'id':_0x45ab14[_0x481c1c(0x2dc)],'panelId':_0x481c1c(0x365),'title':_0x4fe645['t'](_0x481c1c(0x173)),'content':_0x29cee8(Ci,{'defaultValues':vi})}]})});return _0x29cee8(_0x5c14bf,{'chartUIService':_0x4eda04,'hostAdapter':_0x2e2098,'children':_0x3434cf});}let Gi=class extends _0x23a464{constructor(_0x2c3ee9){const _0x938203=_0x5d1a27;super(),this[_0x938203(0x27a)](_0x2c3ee9['register'](Ti,Wi));}};Gi=K([G(0x0,_0x233312(_0x59c972))],Gi);let Ki=class extends _0x23a464{constructor(_0x4f95d7,_0x24b88f,_0x4ff6fa,_0x575776,_0x59bb7e,_0x58a717,_0x16114b,_0x3278d2,_0x36e901){const _0x207839=_0x5d1a27;super(),this[_0x207839(0x3cb)]=_0x4f95d7,this[_0x207839(0x2aa)]=_0x24b88f,this[_0x207839(0x149)]=_0x4ff6fa,this['_menuManagerService']=_0x575776,this['_sheetCanvasPopManagerService']=_0x59bb7e,this['_commandService']=_0x58a717,this[_0x207839(0x220)]=_0x16114b,this[_0x207839(0x333)]=_0x3278d2,this['_localeService']=_0x36e901,U(this,_0x207839(0x35c),null),U(this,'_panelInitialized',!0x1),this[_0x207839(0x35f)]();}[_0x5d1a27(0x33d)](){const _0x1724ff=_0x5d1a27;this['hidePanel'](),super[_0x1724ff(0x33d)]();}['initPanel'](){const _0x413497=_0x5d1a27;this[_0x413497(0x178)]||(this[_0x413497(0x178)]=!0x0,this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x26dd12=>{const _0x3db47=_0x413497;if(_0x26dd12['id']!==V['id'])return;let _0x92f053=_0x26dd12[_0x3db47(0x398)];this[_0x3db47(0x2e3)](_0x92f053[_0x3db47(0x14a)],_0x92f053[_0x3db47(0x204)]);})));}['openChartPanelById'](_0x3026ac,_0x1172e4){const _0x54a176=_0x5d1a27;let _0x99a209=this[_0x54a176(0x2aa)][_0x54a176(0x1ce)](_0x3026ac);_0x99a209&&(this[_0x54a176(0x2aa)][_0x54a176(0x284)](_0x99a209),this[_0x54a176(0x24d)](),this[_0x54a176(0x220)][_0x54a176(0x347)](!0x0),this[_0x54a176(0x220)]['setPanelRoute'](_0x3026ac,_0x1172e4??null));}[_0x5d1a27(0x3cf)](){const _0x344d71=_0x5d1a27;let _0x247b67=this['_sidebarDisposable'];this[_0x344d71(0x35c)]=null,this[_0x344d71(0x239)](),_0x247b67==null||_0x247b67[_0x344d71(0x33d)]();}['_initMenus'](){const _0x2413e5=_0x5d1a27;this[_0x2413e5(0x358)][_0x2413e5(0x2d6)]({[_0x17e5d5[_0x2413e5(0x298)]]:{[H['id']]:{'order':0x4,'menuItemFactory':Lr}}}),this[_0x2413e5(0x3b1)][_0x2413e5(0x1f8)](_0x4c00c3['DRAWING_CHART'],(_0xd37126,_0x374946,_0x32b62a,_0x3865e4)=>[{'label':this[_0x2413e5(0x166)]['t'](_0x2413e5(0x387)),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0xd37126,'subUnitId':_0x374946,'drawingId':_0x32b62a},'disable':_0x3865e4!==_0x4c00c3['DRAWING_CHART']},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x14d389['id'],'commandParams':{'unitId':_0xd37126,'drawings':[{'unitId':_0xd37126,'subUnitId':_0x374946,'drawingId':_0x32b62a,'drawingType':_0x3865e4}]},'disable':!0x1}],_0x2413e5(0x352));}['_openPanel'](){const _0x7d5a19=_0x5d1a27;this[_0x7d5a19(0x35c)]=this[_0x7d5a19(0x149)][_0x7d5a19(0x279)]({'id':Ti,'header':{'title':this[_0x7d5a19(0x166)]['t'](_0x7d5a19(0x387))},'children':{'label':Ti},'onClose':()=>{const _0x3348fe=_0x7d5a19;this[_0x3348fe(0x35c)]=null,this[_0x3348fe(0x239)]();}});}['_clearPanelState'](){const _0x495605=_0x5d1a27;this[_0x495605(0x220)]['setChartEditorOpen'](!0x1),this[_0x495605(0x220)]['clearPanelRoute'](),this[_0x495605(0x2aa)][_0x495605(0x26e)]&&this[_0x495605(0x2aa)][_0x495605(0x284)](null),this['_drawingManagerService'][_0x495605(0x2a4)](null),this['_contextService'][_0x495605(0x343)](_0x29388d,!0x1);}};Ki=K([G(0x0,_0x2a46aa),G(0x1,_0x233312(_0xef00ca)),G(0x2,_0x233312(_0xe0c109)),G(0x3,_0x3d6daf),G(0x4,_0x233312(_0x1ac4ba)),G(0x5,_0x23023c),G(0x6,J),G(0x7,_0xae1c0),G(0x8,_0x233312(_0x2365aa))],Ki);let qi=class extends _0x23a464{constructor(_0x43f5d2,_0x396aa0,_0x39bf63,_0x4a5406,_0x3cecde){const _0x4a0920=_0x5d1a27;super(),this[_0x4a0920(0x19f)]=_0x43f5d2,this['_sheetClipboardService']=_0x396aa0,this[_0x4a0920(0x296)]=_0x39bf63,this[_0x4a0920(0x2aa)]=_0x4a5406,this[_0x4a0920(0x1f9)]=_0x3cecde,U(this,_0x4a0920(0x312),void 0x0),this[_0x4a0920(0x246)]();}get[_0x5d1a27(0x11f)](){const _0x39ef58=_0x5d1a27;return this[_0x39ef58(0x296)][_0x39ef58(0x23a)]();}['_initCopyPaste'](){const _0x32d143=_0x5d1a27;this['disposeWithMe'](this[_0x32d143(0x17f)][_0x32d143(0x1ba)]({'id':_0xff1a05,'onBeforeCopyFocusedObject':(_0x303e17,_0x3bc218,_0x43ecd6)=>{const _0x107ee9=_0x32d143;this[_0x107ee9(0x312)]=null;let _0x4751f7=this[_0x107ee9(0x11f)]['filter'](_0x130316=>this[_0x107ee9(0x2f6)](_0x130316));return _0x4751f7[_0x107ee9(0x355)]!==0x0&&(this[_0x107ee9(0x312)]={'unitId':_0x303e17,'subUnitId':_0x3bc218,'copyType':_0x43ecd6,'drawings':_0x4751f7},!0x0);},'onBeforeCopy':(_0x225331,_0x2c05c4,_0xf8074c,_0x5d786f)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x225331,_0x2c05c4,_0xf8074c,_0x5d786f);},'onPasteCells':(_0x4ac869,_0x16e126,_0x269def,_0x4d6426)=>{const _0x337c0d=_0x32d143;if(!_0x4d6426[_0x337c0d(0x324)]||!_0x4ac869||!this[_0x337c0d(0x312)])return{'redos':[],'undos':[]};let {pasteType:_0x1fbc93}=_0x4d6426;return _0x1fbc93===_0x9ae0ee[_0x337c0d(0x1ae)]?this['_generatePasteMutations'](_0x16e126,this[_0x337c0d(0x312)][_0x337c0d(0x213)]===_0xe1391d[_0x337c0d(0x251)]):{'redos':[],'undos':[]};}}));}[_0x5d1a27(0x250)](_0x314717,_0x4779bd,_0x53a0ba,_0x35b8b3){const _0x52b7b0=_0x5d1a27;let _0x2e7a0e=this[_0x52b7b0(0x19f)][_0x52b7b0(0x392)](_0x314717,_0x4779bd);if(!_0x2e7a0e)return;let _0x61bf22=_0x57f3f4(_0x2e7a0e,_0x53a0ba);if(!_0x61bf22)return;let {startX:_0x5a07ca,endX:_0x50cc4c,startY:_0x41c52e,endY:_0xd97ab8}=_0x61bf22,_0x24f51c=this[_0x52b7b0(0x296)][_0x52b7b0(0x3be)](_0x314717,_0x4779bd),_0x29c650=[];for(let [_0xe396fd,_0x15fe67]of Object[_0x52b7b0(0x215)](_0x24f51c)){if(!this[_0x52b7b0(0x2f6)](_0x15fe67))continue;let {transform:_0x26f885}=_0x15fe67;if(!_0x26f885)continue;let {left:_0x56e398=0x0,top:_0x370801=0x0,width:_0x2a2a74=0x0,height:_0x2d8522=0x0}=_0x26f885;_0x5a07ca<=_0x56e398&&_0x50cc4c>=_0x56e398+_0x2a2a74&&_0x41c52e<=_0x370801&&_0xd97ab8>=_0x370801+_0x2d8522&&_0x29c650[_0x52b7b0(0x334)](_0x15fe67);}_0x29c650[_0x52b7b0(0x355)]>0x0&&(this[_0x52b7b0(0x312)]={'unitId':_0x314717,'subUnitId':_0x4779bd,'copyType':_0x35b8b3,'copyRange':_0x53a0ba,'drawings':_0x29c650});}[_0x5d1a27(0x2f6)](_0xfd669d){const _0x4395d1=_0x5d1a27;return _0xfd669d[_0x4395d1(0x3e5)]===_0x4c00c3[_0x4395d1(0x249)]&&this[_0x4395d1(0x1f9)]['getSubUnitId'](_0xfd669d[_0x4395d1(0x1b7)],_0xfd669d[_0x4395d1(0x14a)])===_0xfd669d[_0x4395d1(0x2b4)];}[_0x5d1a27(0x399)](_0x3d3f55,_0x52d1a8){const _0x3a8f6e=_0x5d1a27;let {unitId:_0x26c0f0,subUnitId:_0x12eb82,range:_0x5d3123}=_0x3d3f55,_0x39e3ab=this[_0x3a8f6e(0x19f)][_0x3a8f6e(0x392)](_0x26c0f0,_0x12eb82);if(!_0x39e3ab)return{'redos':[],'undos':[]};let _0x419e4c=_0x4c3d52(_0x5d3123),{unitId:_0x10ab60,subUnitId:_0x55a3c6,copyRange:_0x21de5d,drawings:_0x2d98e5}=this['_copyInfo'],_0x4f02c3=this[_0x3a8f6e(0x19f)][_0x3a8f6e(0x392)](_0x10ab60,_0x55a3c6);if(!_0x4f02c3)return{'redos':[],'undos':[]};let _0x267af3=[],_0x3ab04f=[];for(let _0x4c1f94 of _0x2d98e5){let {drawingId:_0x12c231,transform:_0x190959,sheetTransform:_0xe06b59}=_0x4c1f94,_0x77737=this[_0x3a8f6e(0x2aa)][_0x3a8f6e(0x1ce)](_0x12c231);if(!_0x77737||!_0x190959||!_0xe06b59)continue;let _0x2a5c83=this['_updateTransform']({'transform':_0x190959,'sheetTransform':_0xe06b59},{'skeleton':_0x4f02c3,'range':_0x21de5d},{'skeleton':_0x39e3ab,'range':_0x419e4c});if(_0x52d1a8){let {redos:_0x3fda03,undos:_0x6d5d2f}=this['_generateCutPasteMutations']({'fromUnitId':_0x10ab60,'fromSubUnitId':_0x55a3c6,'toUnitId':_0x26c0f0,'toSubUnitId':_0x12eb82,'drawing':_0x4c1f94,'newTransforms':_0x2a5c83},_0x77737);_0x267af3['push'](..._0x3fda03),_0x3ab04f[_0x3a8f6e(0x334)](..._0x6d5d2f);continue;}let {redos:_0x1d8ea9,undos:_0x97ae3}=this[_0x3a8f6e(0x1dc)]({'toUnitId':_0x26c0f0,'toSubUnitId':_0x12eb82,'drawing':_0x4c1f94,'newTransforms':_0x2a5c83},_0x77737);_0x267af3[_0x3a8f6e(0x334)](..._0x1d8ea9),_0x3ab04f[_0x3a8f6e(0x334)](..._0x97ae3);}return{'redos':_0x267af3,'undos':_0x3ab04f};}[_0x5d1a27(0x277)](_0x567a44,_0x272d30){const _0x2d9293=_0x5d1a27;let {fromUnitId:_0x28bda1,fromSubUnitId:_0x2b5801,toUnitId:_0x2b184e,toSubUnitId:_0x2e25b3,drawing:_0x3fb740,newTransforms:_0x430015}=_0x567a44,_0x36a1ea={..._0x3fb740,'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'transform':_0x430015[_0x2d9293(0x31c)],'sheetTransform':_0x430015[_0x2d9293(0x3c9)]};if(_0x2b184e===_0x28bda1&&_0x2e25b3===_0x2b5801){let {redo:_0x237ec6,undo:_0x37b5e3,objects:_0x2e1f41}=this[_0x2d9293(0x296)][_0x2d9293(0x375)]([_0x36a1ea]);return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4[_0x2d9293(0x187)],'op':_0x237ec6,'objects':_0x2e1f41}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4['UPDATE'],'op':_0x37b5e3,'objects':_0x2e1f41}}]};}{let _0x373a3c=this['_sheetDrawingService'][_0x2d9293(0x19b)]([_0x3fb740]),_0x80e613=this['_sheetDrawingService']['getBatchAddOp']([_0x36a1ea]),_0x2100d4=this[_0x2d9293(0x1f9)][_0x2d9293(0x34a)](_0x272d30['id']);if(!_0x2100d4)return{'redos':[],'undos':[]};let {chartType:_0x393093,context:_0xed6402,style:_0x20f597,dataAggregation:_0x481acb}=_0x272d30[_0x2d9293(0x33f)]();return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'type':_0x30b7e4['REMOVE'],'op':_0x373a3c[_0x2d9293(0x3c1)],'objects':_0x373a3c[_0x2d9293(0x3ca)]}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'chartId':_0x3fb740[_0x2d9293(0x14a)]}},{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4['INSERT'],'op':_0x80e613['redo'],'objects':_0x80e613[_0x2d9293(0x3ca)]}},{'id':_0x5c166f['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'chartId':_0x3fb740[_0x2d9293(0x14a)],'chartType':_0x393093,..._0x1d8687(_0x2100d4),'context':_0xed6402,'style':_0x20f597,'dataAggregation':_0x481acb}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'type':_0x30b7e4[_0x2d9293(0x3b5)],'op':_0x373a3c[_0x2d9293(0x16e)],'objects':_0x373a3c[_0x2d9293(0x3ca)]}},{'id':_0x5c166f['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'chartId':_0x3fb740[_0x2d9293(0x14a)],'chartType':_0x393093,..._0x1d8687(_0x2100d4),'context':_0xed6402,'style':_0x20f597,'dataAggregation':_0x481acb}},{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4[_0x2d9293(0x2e8)],'op':_0x80e613['undo'],'objects':_0x80e613['objects']}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'chartId':_0x3fb740[_0x2d9293(0x14a)]}}]};}}[_0x5d1a27(0x1dc)](_0x10bfcd,_0x2bb0b6){const _0x42822e=_0x5d1a27;let {toUnitId:_0x2a12d2,toSubUnitId:_0x524874,drawing:_0x48befe,newTransforms:_0xdc912f}=_0x10bfcd,_0xbe8213=_0x23f566(),_0x5186e6={..._0x48befe,'unitId':_0x2a12d2,'subUnitId':_0x524874,'drawingId':_0xbe8213,'transform':_0xdc912f[_0x42822e(0x31c)],'sheetTransform':_0xdc912f[_0x42822e(0x3c9)]},{redo:_0x90caeb,undo:_0x186aed,objects:_0x402573}=this[_0x42822e(0x296)]['getBatchAddOp']([_0x5186e6]),_0x379940=this['_sheetsChartService'][_0x42822e(0x34a)](_0x2bb0b6['id']);if(!_0x379940)return{'redos':[],'undos':[]};let {chartType:_0x4495c1,context:_0x57c980,style:_0x4ffd2a,dataAggregation:_0xf3c09b}=_0x2bb0b6[_0x42822e(0x33f)]();return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'type':_0x30b7e4['INSERT'],'op':_0x90caeb,'objects':_0x402573}},{'id':_0x5c166f['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'chartId':_0xbe8213,'chartType':_0x4495c1,..._0x1d8687(_0x379940),'context':_0x57c980,'style':_0x4ffd2a,'dataAggregation':_0xf3c09b}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'type':_0x30b7e4[_0x42822e(0x2e8)],'op':_0x186aed,'objects':_0x402573}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'chartId':_0xbe8213}}]};}[_0x5d1a27(0x2e1)](_0x4193f5,_0x54b4a4,_0x1f9966){const _0x1561fc=_0x5d1a27;let {range:_0x10eecd,skeleton:_0x14660b}=_0x54b4a4,{range:_0x1f6912,skeleton:_0x28a3b4}=_0x1f9966,{transform:_0x542698,sheetTransform:_0x553e2a}=_0x4193f5,_0x54bdcb={..._0x542698};if(_0x10eecd){let _0x58eac9=_0x57f3f4(_0x14660b,_0x10eecd),_0x3cc4ae=_0x57f3f4(_0x28a3b4,_0x1f6912);if(_0x58eac9&&_0x3cc4ae){let _0x2f6c28=_0x3cc4ae[_0x1561fc(0x12d)]-_0x58eac9[_0x1561fc(0x12d)],_0x4b76c9=_0x3cc4ae['startY']-_0x58eac9[_0x1561fc(0x2f5)];_0x54bdcb[_0x1561fc(0x290)]=(_0x54bdcb[_0x1561fc(0x290)]??0x0)+_0x2f6c28,_0x54bdcb[_0x1561fc(0x2c0)]=(_0x54bdcb[_0x1561fc(0x2c0)]??0x0)+_0x4b76c9;}}else{let _0x1df664=_0x57f3f4(_0x28a3b4,_0x1f6912);_0x54bdcb[_0x1561fc(0x290)]=_0x1df664==null?void 0x0:_0x1df664[_0x1561fc(0x12d)],_0x54bdcb[_0x1561fc(0x2c0)]=_0x1df664==null?void 0x0:_0x1df664[_0x1561fc(0x2f5)];}return{'transform':_0x54bdcb,'sheetTransform':_0x38630f(_0x54bdcb,_0x28a3b4)??_0x553e2a};}};qi=K([G(0x0,_0x233312(_0x5f5b10)),G(0x1,_0x233312(_0x48255a)),G(0x2,_0x233312(_0x1ddd2c)),G(0x3,_0x233312(_0xef00ca)),G(0x4,_0x233312(_0x45f46e))],qi);let Ji=class extends _0x23a464{constructor(_0x4208d8,_0x575892,_0xb87fab,_0x1cb9aa){const _0x50d4b4=_0x5d1a27;super(),this[_0x50d4b4(0x3c7)]=_0x4208d8,this[_0x50d4b4(0x166)]=_0x575892,this[_0x50d4b4(0x311)]=_0xb87fab,this['_sheetsChartService']=_0x1cb9aa,this[_0x50d4b4(0x3cc)]();}[_0x5d1a27(0x3cc)](){const _0x26ed8a=_0x5d1a27;this[_0x26ed8a(0x27a)](this['_commandService']['beforeCommandExecuted'](_0x54fd4a=>{const _0x3c9dfc=_0x26ed8a;let _0x2e279d,_0x3825bc;if(_0x54fd4a['id']===_0x6ba0fd['id']){let _0x50e304=_0x54fd4a['params'];_0x2e279d=_0x50e304[_0x3c9dfc(0x1b7)],_0x3825bc=_0x50e304['subUnitId'];}else{if(_0x54fd4a['id']===_0x459ce1['id']||_0x54fd4a['id']===_0x38e7ef['id']){let _0x18267b=_0x54fd4a[_0x3c9dfc(0x398)];_0x2e279d=_0x18267b[_0x3c9dfc(0x1b7)],_0x3825bc=this[_0x3c9dfc(0x1f9)]['getSubUnitId'](_0x18267b[_0x3c9dfc(0x1b7)],_0x18267b[_0x3c9dfc(0x151)]);}}_0x2e279d&&_0x3825bc&&(this['_sheetPermissionCheckController'][_0x3c9dfc(0x22a)]({'workbookTypes':[_0x467779],'worksheetTypes':[_0x311452]},_0x2e279d,_0x3825bc)||this[_0x3c9dfc(0x311)][_0x3c9dfc(0x1de)](this[_0x3c9dfc(0x166)]['t'](_0x3c9dfc(0x12a))));}));}};Ji=K([G(0x0,_0x233312(_0x23023c)),G(0x1,_0x233312(_0x2365aa)),G(0x2,_0x233312(_0x5672ce)),G(0x3,_0x233312(_0x45f46e))],Ji);let Z=class extends _0x23a464{constructor(_0x209e2e,_0x102e16){const _0x2f3b65=_0x5d1a27;super(),this['_renderService']=_0x102e16,this[_0x2f3b65(0x27a)](_0x209e2e[_0x2f3b65(0x233)](this));}[_0x5d1a27(0x22f)](_0x5a9495){const _0x142e66=_0x5d1a27;return _0x142e66(0x1b7)in _0x5a9495&&'subUnitId'in _0x5a9495;}['exportImage'](_0x4ea67c,_0x7f7e2){const _0x52d504=_0x5d1a27;return this[_0x52d504(0x2c9)]['exportImage'](_0x4ea67c[_0x52d504(0x397)](),_0x7f7e2);}};Z=K([G(0x0,_0x233312(_0x5e98c4)),G(0x1,_0x233312(q))],Z);let Q=class extends _0x48bc1a{constructor(_0x355b8f=wr,_0x96b64c,_0x233087,_0x11070b){const _0x420905=_0x5d1a27;super(),this['_config']=_0x355b8f,this[_0x420905(0x305)]=_0x96b64c,this[_0x420905(0x1d2)]=_0x233087,this[_0x420905(0x3c7)]=_0x11070b;let {..._0x5b25e9}=_0x11f8eb({},wr,this['_config']);this['_configService'][_0x420905(0x154)](Cr,_0x5b25e9),this[_0x420905(0x125)]();}[_0x5d1a27(0x2c7)](){const _0x271dbc=_0x5d1a27;let _0xba615f=[[Gi],[J,{'useClass':gi}],[fi,{'useClass':di}],[ii],[q],[Z],[Ki],[X],[Ni],[qi],[zi],[Ji]],_0x2509e6=[[Gi],[Ki],[Ni],[X],[Z],[J],[qi],[zi],[Ji]];_0xba615f[_0x271dbc(0x1e0)](_0x2a9e35=>this['_injector']['add'](_0x2a9e35)),_0x5b8a57(this[_0x271dbc(0x305)],_0x2509e6);}[_0x5d1a27(0x328)](){const _0x4ead84=_0x5d1a27;var _0x2cb75e;(_0x2cb75e=this['_injector'][_0x4ead84(0x3a6)](Ki))==null||_0x2cb75e[_0x4ead84(0x3e2)]();}[_0x5d1a27(0x125)](){const _0x266d10=_0x5d1a27;[H,V][_0x266d10(0x1e0)](_0x1e7aaa=>this[_0x266d10(0x27a)](this[_0x266d10(0x3c7)][_0x266d10(0x180)](_0x1e7aaa)));}};U(Q,'type',_0x2a3654[_0x5d1a27(0x1d7)]),U(Q,_0x5d1a27(0x255),_0x5d1a27(0x11d)),U(Q,_0x5d1a27(0x280),ji),U(Q,'version',Mi),Q=K([_0x5da506(_0x18ed5a,_0x5eca96,_0x2c2309,_0x282fcb,_0x180756,_0xd0b56d,_0x5a4ecb,_0x559b0f,_0x479d7b,_0x3593c7),G(0x1,_0x233312(_0x26189f)),G(0x2,_0x332790),G(0x3,_0x23023c)],Q);const Yi={'scaleX':0x1,'scaleY':0x1};function Xi(_0xa1465){let _0x290c73=_0xa1465['nativeEvent'];return _0x290c73 instanceof MouseEvent?_0x290c73:void 0x0;}function Zi(_0x3ac1c9){const _0x5647f9=_0x5d1a27;let _0x30e82c=_0x3ac1c9[_0x5647f9(0x2a9)],_0x76325=_0x30e82c==null?void 0x0:_0x30e82c[_0x5647f9(0x2cb)];return _0x76325 instanceof Element?_0x76325:void 0x0;}function Qi(_0x3894e3){const _0x7fc1c2=_0x5d1a27;var _0x514511;return(_0x514511=Zi(_0x3894e3))==null?void 0x0:_0x514511[_0x7fc1c2(0x2fb)]();}function $i(_0x2c76f7){const _0x115d1d=_0x5d1a27;return _0x2c76f7[_0x115d1d(0x175)]||_0x2c76f7[_0x115d1d(0x135)]-_0x2c76f7[_0x115d1d(0x290)];}function ea(_0xf6718a){const _0x4200db=_0x5d1a27;return _0xf6718a['height']||_0xf6718a[_0x4200db(0x1a8)]-_0xf6718a[_0x4200db(0x2c0)];}function ta(_0x232dd3,_0x4838d8){const _0x467205=_0x5d1a27;let _0x337f42=_0x232dd3[_0x467205(0x201)]||(_0x232dd3 instanceof HTMLElement?_0x232dd3[_0x467205(0x19e)]:0x0),_0x41b66d=_0x232dd3['clientHeight']||(_0x232dd3 instanceof HTMLElement?_0x232dd3[_0x467205(0x390)]:0x0),_0x5b0acd=$i(_0x4838d8),_0x321089=ea(_0x4838d8);return{'scaleX':_0x337f42>0x0&&_0x5b0acd>0x0?_0x5b0acd/_0x337f42:Yi[_0x467205(0x39a)],'scaleY':_0x41b66d>0x0&&_0x321089>0x0?_0x321089/_0x41b66d:Yi[_0x467205(0x3e4)]};}function na(_0x196843,_0x47270c,_0x537f4e){const _0x268328=_0x5d1a27;return{'left':_0x196843[_0x268328(0x290)]+_0x47270c[_0x268328(0x290)]*_0x537f4e[_0x268328(0x39a)],'right':_0x196843['left']+_0x47270c[_0x268328(0x135)]*_0x537f4e[_0x268328(0x39a)],'top':_0x196843['top']+_0x47270c[_0x268328(0x2c0)]*_0x537f4e['scaleY'],'bottom':_0x196843['top']+_0x47270c[_0x268328(0x1a8)]*_0x537f4e[_0x268328(0x3e4)]};}function ra(_0x1ca010){const _0x4187de=_0x5d1a27;let _0x39c649=Zi(_0x1ca010),_0x19fe0b=_0x1ca010[_0x4187de(0x31a)][_0x4187de(0x11c)];if(_0x39c649&&_0x19fe0b){let _0x4d533d=_0x39c649['getBoundingClientRect']();return()=>{const _0x103da1=_0x4187de;let _0x4ea136=_0x39c649[_0x103da1(0x2fb)]();return(_0x39c649[_0x103da1(0x254)]||$i(_0x4ea136)>0x0||ea(_0x4ea136)>0x0)&&(_0x4d533d=_0x4ea136),na(_0x4d533d,_0x19fe0b,ta(_0x39c649,_0x4d533d));};}return()=>{const _0x4bc8fe=_0x4187de;let _0x224fe5=Qi(_0x1ca010);if(_0x224fe5&&_0x19fe0b)return na(_0x224fe5,_0x19fe0b,_0x39c649?ta(_0x39c649,_0x224fe5):Yi);let _0x9713ea=Xi(_0x1ca010),_0x221fd3=_0x39c649&&_0x224fe5?ta(_0x39c649,_0x224fe5):Yi,_0xc7bad6=(_0x9713ea==null?void 0x0:_0x9713ea[_0x4bc8fe(0x13d)])??(_0x224fe5?_0x224fe5[_0x4bc8fe(0x290)]+_0x1ca010[_0x4bc8fe(0x1af)]['x']*_0x221fd3[_0x4bc8fe(0x39a)]:_0x1ca010[_0x4bc8fe(0x1af)]['x']),_0xeb927f=(_0x9713ea==null?void 0x0:_0x9713ea[_0x4bc8fe(0x153)])??(_0x224fe5?_0x224fe5[_0x4bc8fe(0x2c0)]+_0x1ca010[_0x4bc8fe(0x1af)]['y']*_0x221fd3[_0x4bc8fe(0x3e4)]:_0x1ca010['localPoint']['y']);return{'left':_0xc7bad6,'right':_0xc7bad6+0x1,'top':_0xeb927f,'bottom':_0xeb927f+0x1};};}function ia(_0x2e6543){return typeof _0x2e6543=='number'&&Number['isFinite'](_0x2e6543);}function aa(_0xb79097){if(!_0xb79097||typeof _0xb79097!='object')return!0x0;let {startX:_0x5241ea,endX:_0x6691c3,startY:_0xc2483b,endY:_0x29f2e9}=_0xb79097;return!ia(_0x5241ea)||!ia(_0x6691c3)||!ia(_0xc2483b)||!ia(_0x29f2e9)||_0x6691c3-_0x5241ea>0x2&&_0x29f2e9-_0xc2483b>0x2;}function oa(_0x1866d9){const _0x536688=_0x5d1a27;return _0x1866d9[_0x536688(0x135)]<=_0x1866d9[_0x536688(0x290)]||_0x1866d9[_0x536688(0x1a8)]<=_0x1866d9[_0x536688(0x2c0)]?!0x1:typeof window>'u'||_0x1866d9[_0x536688(0x135)]>0x0&&_0x1866d9[_0x536688(0x1a8)]>0x0&&_0x1866d9[_0x536688(0x290)]<window[_0x536688(0x17c)]&&_0x1866d9[_0x536688(0x2c0)]<window[_0x536688(0x1f0)];}function sa(_0x3912e7){const _0x13f2a3=_0x5d1a27;var _0xf08aad;return _0x3912e7==null||(_0xf08aad=_0x3912e7[_0x13f2a3(0x194)])==null?void 0x0:_0xf08aad[_0x13f2a3(0x172)](_0x3912e7);}function ca(_0x5084bc,_0x2fe628,_0x4334a0){const _0x335b43=_0x5d1a27;let _0x9fc8e9=ra(_0x5084bc),_0x7eeb5=sa(_0x2fe628),_0x2af830=_0x9fc8e9(),_0x22ecbb=new _0x36066b(_0x2af830),_0x14335d=new _0x396c56(),_0x3a55f9=!0x1,_0x298f3f=!0x1,_0x280fec=_0x2ab23d=>aa(_0x7eeb5)&&oa(_0x2ab23d),_0x5e04cf=()=>{_0x298f3f||_0x3a55f9||(_0x298f3f=!0x0,queueMicrotask(()=>{const _0x131a6c=_0x14cc;if(_0x298f3f=!0x1,!_0x3a55f9){let _0x293ca5=_0x9fc8e9();if(!_0x280fec(_0x293ca5)){_0x4334a0();return;}_0x22ecbb[_0x131a6c(0x2db)](_0x293ca5);}}));};return _0x2fe628&&_0x14335d[_0x335b43(0x248)](_0x2fe628[_0x335b43(0x3d5)](_0x51bf98=>{_0x7eeb5=_0x51bf98,_0x5e04cf();})),typeof window<'u'&&_0x14335d['add'](_0x1ef318(_0x320bfe(window,_0x335b43(0x3e6),{'capture':!0x0}),_0x320bfe(window,_0x335b43(0x183)))[_0x335b43(0x186)](_0xff450d(0x10))['subscribe'](_0x5e04cf)),{'initialRect':_0x2af830,'anchorRect$':_0x22ecbb[_0x335b43(0x1cb)](),'visible':_0x280fec(_0x2af830),'dispose':()=>{const _0x72e260=_0x335b43;_0x3a55f9=!0x0,_0x14335d[_0x72e260(0x33d)](),_0x22ecbb[_0x72e260(0x293)]();}};}const la=_0x5d1a27(0x1cf);let ua=class extends _0x23a464{constructor(_0x5a7c0b,_0x283999,_0x2845bd,_0x415dd1,_0x4c75a2,_0x26e1d1,_0x44c891,_0x59c6af,_0x480b7b){const _0x173107=_0x5d1a27;super(),this[_0x173107(0x2aa)]=_0x5a7c0b,this[_0x173107(0x214)]=_0x283999,this[_0x173107(0x22b)]=_0x2845bd,this[_0x173107(0x3b1)]=_0x415dd1,this['_sheetCanvasFloatDomManagerService']=_0x4c75a2,this[_0x173107(0x1b8)]=_0x26e1d1,this[_0x173107(0x1bd)]=_0x44c891,this['_commandService']=_0x59c6af,this[_0x173107(0x305)]=_0x480b7b,U(this,_0x173107(0x3e3),null),U(this,_0x173107(0x247),null),U(this,_0x173107(0x23d),null),this['_registerAdapter'](),this['_subscribeChartEvents']();}[_0x5d1a27(0x33d)](){const _0x1eed79=_0x5d1a27;this[_0x1eed79(0x123)](),super['dispose']();}[_0x5d1a27(0x3bf)](){const _0xd3593a=_0x5d1a27;let _0x5b3488=_0x32b76b({'chartUIService':this[_0xd3593a(0x1b8)],'getHostAdapter':_0x411f85=>{const _0x5e99bf=_0xd3593a;let _0x2896ad=this[_0x5e99bf(0x2aa)]['getChartModel'](_0x411f85[_0x5e99bf(0x191)]);if(_0x2896ad&&_0x411f85[_0x5e99bf(0x2b4)])return new _0x21eaab(_0x2896ad,new _0x467243({'unitId':_0x411f85[_0x5e99bf(0x1b7)],'subUnitId':_0x411f85[_0x5e99bf(0x2b4)],'chartId':_0x411f85[_0x5e99bf(0x191)],'injector':this[_0x5e99bf(0x305)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x286131=>{const _0x4bdf57=_0xd3593a;let {unitId:_0x19462f,subUnitId:_0xb1b77b,drawingId:_0x1f6a8a,chartId:_0x24eb35}=_0x286131,_0x106480=_0x2ab4ba(_0x286131[_0x4bdf57(0x2cb)]);this['_commandService'][_0x4bdf57(0x2de)](V['id'],{'unitId':_0x19462f,'subUnitId':_0xb1b77b??'','drawingId':_0x1f6a8a??_0x24eb35,..._0x106480?{'route':_0x106480}:{}});}});this[_0xd3593a(0x27a)](this[_0xd3593a(0x1bd)][_0xd3593a(0x233)](la,_0x5b3488));}[_0x5d1a27(0x2ec)](){const _0x46ea0a=_0x5d1a27;this['disposeWithMe'](this[_0x46ea0a(0x2aa)][_0x46ea0a(0x3d1)]['subscribe'](_0x13adec=>{const _0x4fbc9a=_0x46ea0a;let _0x44c317=new _0x396c56();_0x44c317['add'](this[_0x4fbc9a(0x214)]['on'](_0x13adec['id'],_0x4fbc9a(0x23f),_0x4b3bae=>{const _0x3b1f41=_0x4fbc9a;this[_0x3b1f41(0x336)](_0x13adec['id'],_0x4b3bae);})),_0x44c317['add'](this['_chartRenderService']['on'](_0x13adec['id'],'dblclick',()=>{const _0x3008b6=_0x4fbc9a;this[_0x3008b6(0x29c)](_0x13adec['id']);})),_0x13adec['onDispose'](()=>{const _0x5ca524=_0x4fbc9a;_0x44c317[_0x5ca524(0x33d)](),this[_0x5ca524(0x36d)](_0x13adec['id']);}),this[_0x4fbc9a(0x27a)](_0x44c317);})),this[_0x46ea0a(0x27a)](_0x276a93([this[_0x46ea0a(0x2aa)]['activeChartModel$'],this[_0x46ea0a(0x1b8)][_0x46ea0a(0x26d)]])['subscribe'](([_0x3e49ef,_0x42faf2])=>{const _0x5751e8=_0x46ea0a;(!_0x42faf2||this[_0x5751e8(0x247)]&&(_0x3e49ef==null?void 0x0:_0x3e49ef['id'])!==this['_popupChartId'])&&this['_closePopup']();})),this[_0x46ea0a(0x27a)](this[_0x46ea0a(0x11a)][_0x46ea0a(0x22e)][_0x46ea0a(0x3d5)](({id:_0x5d7b56})=>{const _0x37aff2=_0x46ea0a;this[_0x37aff2(0x36d)](_0x5d7b56);})),this[_0x46ea0a(0x27a)](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x46ea0a(0x3d5)](({id:_0x5d7db8})=>{this['_clearSelectedTarget'](_0x5d7db8);})),this[_0x46ea0a(0x27a)](this['_chartHostProvider']['removeHost$'][_0x46ea0a(0x3d5)](_0x1bd1b3=>{this['_clearSelectedTarget'](_0x1bd1b3);}));}[_0x5d1a27(0x29c)](_0x1e25d3){const _0x4e5490=_0x5d1a27;if(this['_chartUIService'][_0x4e5490(0x380)])return;let _0x23d589=this[_0x4e5490(0x2aa)][_0x4e5490(0x1ce)](_0x1e25d3),_0x4ccfc0=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x1e25d3);_0x23d589&&_0x4ccfc0&&this[_0x4e5490(0x3c7)]['executeCommand'](V['id'],{'unitId':_0x4ccfc0[_0x4e5490(0x1b7)],'subUnitId':_0x4ccfc0[_0x4e5490(0x2b4)]??'','drawingId':_0x1e25d3});}[_0x5d1a27(0x336)](_0x3c5fc8,_0x56e635){const _0x430b3d=_0x5d1a27;if(!this[_0x430b3d(0x1b8)][_0x430b3d(0x169)](_0x3c5fc8))return;let _0x257e33=this[_0x430b3d(0x2aa)][_0x430b3d(0x1ce)](_0x3c5fc8),_0x40c8e9=_0x257e33?Kr(_0x257e33,_0x56e635[_0x430b3d(0x31a)]):void 0x0;if(!_0x40c8e9){this[_0x430b3d(0x1b8)][_0x430b3d(0x202)](),this[_0x430b3d(0x123)]();return;}let _0x2173dd=this[_0x430b3d(0x11a)][_0x430b3d(0x177)](_0x3c5fc8);if(!_0x257e33||!_0x2173dd){this[_0x430b3d(0x1b8)][_0x430b3d(0x202)](),this[_0x430b3d(0x123)]();return;}let _0xe02dc1=JSON[_0x430b3d(0x195)]([_0x2173dd[_0x430b3d(0x1b7)],_0x2173dd[_0x430b3d(0x2b4)],_0x3c5fc8,_0x40c8e9[_0x430b3d(0x2cb)]]);if(this[_0x430b3d(0x3e3)]&&this[_0x430b3d(0x23d)]===_0xe02dc1||(this[_0x430b3d(0x1b8)][_0x430b3d(0x1c9)](_0x3c5fc8,_0x40c8e9[_0x430b3d(0x204)]),this['_closePopup'](),!_0x40c8e9[_0x430b3d(0x2ba)]))return;let _0x222e73=ca(_0x56e635,_0x2173dd['position$'],()=>this[_0x430b3d(0x269)](_0x3c5fc8));if(!_0x222e73[_0x430b3d(0x268)]){_0x222e73[_0x430b3d(0x33d)]();return;}let _0x5bd492=this[_0x430b3d(0x3b1)][_0x430b3d(0x1e7)](_0x222e73[_0x430b3d(0x267)],_0x222e73[_0x430b3d(0x18e)],{'componentKey':_0x1ac861,'constrainToCanvas':!0x0,'direction':_0x430b3d(0x3d0),'offset':[0x0,0x8],'extraProps':{'unitId':_0x2173dd[_0x430b3d(0x1b7)],'subUnitId':_0x2173dd[_0x430b3d(0x2b4)],'chartId':_0x3c5fc8,'drawingId':_0x3c5fc8,'element':_0x56e635['hit'],'target':_0x40c8e9[_0x430b3d(0x2cb)],'adapterKey':la}},_0x2173dd[_0x430b3d(0x1b7)],_0x2173dd[_0x430b3d(0x2b4)])??null;if(!_0x5bd492){_0x222e73[_0x430b3d(0x33d)]();return;}let _0x40dca0=new _0x396c56();_0x40dca0[_0x430b3d(0x248)](_0x5bd492),_0x40dca0['add'](_0x222e73),this[_0x430b3d(0x3e3)]=_0x40dca0,this['_popupChartId']=_0x3c5fc8,this[_0x430b3d(0x23d)]=_0xe02dc1;}[_0x5d1a27(0x123)](){const _0x3eb48b=_0x5d1a27;var _0x4d7602;(_0x4d7602=this[_0x3eb48b(0x3e3)])==null||_0x4d7602[_0x3eb48b(0x33d)](),this[_0x3eb48b(0x3e3)]=null,this[_0x3eb48b(0x247)]=null,this[_0x3eb48b(0x23d)]=null;}[_0x5d1a27(0x36d)](_0x51c87c){const _0x2c65c7=_0x5d1a27;(this[_0x2c65c7(0x1b8)][_0x2c65c7(0x169)](_0x51c87c)||this[_0x2c65c7(0x247)]===_0x51c87c)&&(this[_0x2c65c7(0x1b8)][_0x2c65c7(0x202)](),this['_popupChartId']===_0x51c87c&&this[_0x2c65c7(0x123)]());}[_0x5d1a27(0x269)](_0x512a0a){const _0x1afd20=_0x5d1a27;this[_0x1afd20(0x36d)](_0x512a0a),this[_0x1afd20(0x1b8)]['isElementEditModeActive'](_0x512a0a)&&(this[_0x1afd20(0x214)][_0x1afd20(0x318)](_0x512a0a,!0x1),this[_0x1afd20(0x214)]['setElementEditMode'](_0x512a0a,!0x0));}};ua=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(q)),G(0x2,fi),G(0x3,_0x233312(_0x1ac4ba)),G(0x4,_0x233312(_0x1cd243)),G(0x5,J),G(0x6,_0x233312(_0x4222e1)),G(0x7,_0x23023c),G(0x8,_0x233312(_0x26189f))],ua);let da=class extends _0x23a464{constructor(_0x504c23,_0xd49bcb){const _0x867c8f=_0x5d1a27;super(),this[_0x867c8f(0x1f6)]=_0x504c23,this[_0x867c8f(0x13f)]=_0xd49bcb,this[_0x867c8f(0x370)](),this[_0x867c8f(0x314)]();}[_0x5d1a27(0x370)](){const _0x8427ff=_0x5d1a27;this[_0x8427ff(0x27a)](this[_0x8427ff(0x13f)][_0x8427ff(0x233)]({'PenIcon':_0x54e35}));}['_registerComponents'](){[[Ti,wi]]['forEach'](([_0x407070,_0x2acc82])=>{const _0x449dba=_0x14cc;this[_0x449dba(0x27a)](this['_componentManager']['register'](_0x407070,_0x2acc82));});}};da=K([G(0x0,_0x233312(_0x59c972)),G(0x1,_0x233312(_0x448b57))],da);let $=class extends _0x48bc1a{constructor(_0x19f4e3=wr,_0xd00b1,_0x3564f9,_0x3230c4){const _0x4be0dc=_0x5d1a27;super(),this[_0x4be0dc(0x199)]=_0x19f4e3,this['_injector']=_0xd00b1,this['_configService']=_0x3564f9,this[_0x4be0dc(0x3c7)]=_0x3230c4,U(this,'_resolvedConfig',void 0x0);let {..._0x2375ee}=_0x11f8eb({},wr,this[_0x4be0dc(0x199)]);this[_0x4be0dc(0x2b3)]=_0x2375ee,this[_0x4be0dc(0x1d2)][_0x4be0dc(0x154)](Cr,_0x2375ee),this[_0x4be0dc(0x125)]();}[_0x5d1a27(0x2c7)](){const _0x54ca65=_0x5d1a27;this[_0x54ca65(0x305)][_0x54ca65(0x248)]([da]),this[_0x54ca65(0x305)][_0x54ca65(0x3a6)](da);let _0x63f4c=this[_0x54ca65(0x305)],_0x3531cc=[[J,{'useClass':gi}],[fi,{'useClass':di}],[ii],[q],[Z],[Ai],[X],[Ni],[qi],[zi],[Ji]],_0x5007e1=[[Ai],[Ni],[X],[Z],[J],[qi],[zi],[Ji]];this[_0x54ca65(0x2b3)][_0x54ca65(0x245)]&&(_0x3531cc['push']([ua]),_0x5007e1['push']([ua])),_0x3531cc['forEach'](_0x5b699d=>_0x63f4c[_0x54ca65(0x248)](_0x5b699d)),_0x5b8a57(this[_0x54ca65(0x305)],_0x5007e1);}[_0x5d1a27(0x328)](){const _0x5c25c9=_0x5d1a27;var _0x4c3b38;(_0x4c3b38=this[_0x5c25c9(0x305)][_0x5c25c9(0x3a6)](Ai))==null||_0x4c3b38['initPanel']();}[_0x5d1a27(0x125)](){const _0x4a6ad5=_0x5d1a27;[H,Or,kr,Ar,jr,V,Tr][_0x4a6ad5(0x1e0)](_0x3703a9=>this['disposeWithMe'](this[_0x4a6ad5(0x3c7)]['registerCommand'](_0x3703a9)));}};U($,'type',_0x2a3654['UNIVER_SHEET']),U($,_0x5d1a27(0x255),'UniverSheetsChartUIPlugin'),U($,_0x5d1a27(0x280),ji),U($,'version',Mi),$=K([_0x5da506(_0x18ed5a,_0x5eca96,_0x2c2309,_0x282fcb,_0x180756,_0x5af706,_0x5a4ecb,_0x4e1419,_0x43225f),G(0x1,_0x233312(_0x26189f)),G(0x2,_0x332790),G(0x3,_0x23023c)],$);export{V as ChartOpenPanelOperation,q as ChartRenderService,J as ISheetsChartUIService,Cr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Ai as SheetsChartUIController,Ur as SheetsChartUIMenuSchema,gi as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,ca as createChartElementPopupAnchorObserver};
|