@univerjs-pro/sheets-chart-ui 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3d5cf7=_0x128e;(function(_0x5ab66f,_0x373302){const _0x80f08d=_0x128e,_0x19681b=_0x5ab66f();while(!![]){try{const _0x5cb3e7=-parseInt(_0x80f08d(0x13a))/0x1+-parseInt(_0x80f08d(0x121))/0x2+parseInt(_0x80f08d(0x21a))/0x3+parseInt(_0x80f08d(0x204))/0x4*(parseInt(_0x80f08d(0x2dd))/0x5)+-parseInt(_0x80f08d(0x10d))/0x6*(parseInt(_0x80f08d(0x1c4))/0x7)+parseInt(_0x80f08d(0x1e1))/0x8*(parseInt(_0x80f08d(0x9d))/0x9)+parseInt(_0x80f08d(0xe1))/0xa;if(_0x5cb3e7===_0x373302)break;else _0x19681b['push'](_0x19681b['shift']());}catch(_0x1fe97c){_0x19681b['push'](_0x19681b['shift']());}}}(_0x4d66,0x954f6));import{CommandType as _0x19596e,DependentOn as _0x47f387,Disposable as _0x2fb1ef,DisposableCollection as _0x158f73,DrawingTypeEnum as _0x6c27df,FOCUSING_COMMON_DRAWINGS as _0x5b2ee9,FOCUSING_PANEL_EDITOR as _0x59cb6d,ICommandService as _0x58813c,IConfigService as _0x4d949b,IContextService as _0x55cdc9,IUniverInstanceService as _0x10cca1,Inject as _0x2412ba,Injector as _0x30a3ac,LocaleService as _0x1b3de3,Plugin as _0x512a78,ThemeService as _0x366adb,UniverInstanceType as _0x24eda4,createIdentifier as _0x11672e,debounce as _0xee06f5,generateRandomId as _0x51b909,isValidRange as _0x38cf08,merge as _0x1b0edf,numberToABC as _0x418f59,toDisposable as _0x2aec9e,touchDependencies as _0x380e5f}from'@univerjs/core';import{ChartModelService as _0x3bca3d,ChartUpdateConfigCommand as _0x267c66,ChartUpdateConfigMutation as _0x3564e4,ChartUpdateSourceCommand as _0x291888,InsertChartCommand as _0x566eb7,InsertSheetsChartMutation as _0x46e3c0,RemoveSheetsChartMutation as _0x880899,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x34b3bd,SHEETS_CHART_PLUGIN_NAME as _0x509732,SheetChartConfigAdapter as _0xbbd696,SheetsChartService as _0x2e63d1,UniverSheetsChartPlugin as _0x10b4cb,getAllowedChartTypes as _0x2f808b,toInsertChartMutationSource as _0x13cdf3}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x586ba8,UniverDrawingPlugin as _0x37970a,getDrawingShapeKeyByDrawingSearch as _0x803bf4,getOrCreateDrawingCopyPlan as _0x4731aa}from'@univerjs/drawing';import{DrawingApplyType as _0x390b1e,ISheetDrawingService as _0x57747b,RemoveSheetDrawingCommand as _0x2b1fce,SetDrawingApplyMutation as _0x338d82,UniverSheetsDrawingPlugin as _0x1e5946,transformToDrawingPosition as _0x4c2154}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x48acb8,SheetCanvasFloatDomManagerService as _0x2c89c3,SheetDrawingHitTestService as _0x10f9e3,UniverSheetsDrawingMobileUIPlugin as _0x4b13c1,UniverSheetsDrawingUIPlugin as _0x44088b}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x11ba8f,ISheetClipboardService as _0x5e7929,PREDEFINED_HOOK_NAME as _0x2f8251,SheetCanvasPopManagerService as _0x282db4,SheetCopyCommand as _0x5ddfb3,SheetPrintInterceptorService as _0x105853,SheetSkeletonManagerService as _0x5923dc,UniverSheetsMobileUIPlugin as _0xdafa2f,UniverSheetsUIPlugin as _0xb93c19,deriveStateFromActiveSheet$ as _0xad1885,getCurrentRangeDisable$ as _0x7d2624}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x596dee,ComponentManager as _0x28eabc,ContextMenuGroup as _0x4ced7c,ContextMenuPosition as _0x2542a1,IMenuManagerService as _0x396304,ISidebarService as _0x13a09f,IconManager as _0x4a18a2,KeyCode as _0x435b1e,MenuItemType as _0x2b911f,NativeTextEditorShortcutBehavior as _0x57ba32,RibbonInsertGroup as _0x2eb803,UniverMobileUIPlugin as _0x2ae22d,getMenuHiddenObservable as _0x35dd96,useDependency as _0x1dea06,useObservable as _0x3832af}from'@univerjs/ui';import{BehaviorSubject as _0x5b6f90,Observable as _0x122c76,Subject as _0x241224,combineLatest as _0x1db2bd,combineLatestWith as _0x25e680,debounceTime as _0x11cd90,distinctUntilChanged as _0x4efa49,filter as _0x529ef0,fromEvent as _0x5d7b0b,map as _0x5ae0a1,merge as _0x13ca18,pairwise as _0x5c3b76,skip as _0x30100f,startWith as _0x48cf77,switchMap as _0x2cdf1a,take as _0x4b99c4,throttleTime as _0x243dee,withLatestFrom as _0x58a9c1}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x2dc276,CHART_HOST_BORDER_RADIUS as _0x1c6c71,CHART_TYPE_CATALOG as _0x448e3a,ChartAxisSection as _0x13d188,ChartDomFrame as _0x276764,ChartEditBlockTitle as _0x5070ea,ChartEditPanelSection as _0x19a3d3,ChartEditPanelTab as _0x13e4c6,ChartEditorCapability as _0xc5aad3,ChartEditorProvider as _0xdcd0d6,ChartEditorTabs as _0x57f522,ChartElementFloatMenuAdapterRegistry as _0x4c2822,ChartFrameContentMode as _0x3efb2b,ChartFrameLayout as _0x20f2ca,ChartFunnelStyleSection as _0x2eca89,ChartGridlinesAndTicksSection as _0x243049,ChartHeatmapStyleSection as _0x3c4a9f,ChartHostAdapter as _0x12187a,ChartImageExportService as _0x364415,ChartIndicatorLineSection as _0x2090d6,ChartLegendSection as _0x55946a,ChartLineAndAreaSection as _0x3a3a43,ChartNumberFormatAtom as _0x7be48e,ChartParetoSeriesSection as _0x1e53eb,ChartPieStyleSection as _0x58d756,ChartRadarStyleSection as _0x4fc2db,ChartRelationStyleSection as _0x292672,ChartSectionAccordion as _0x442675,ChartSectionAccordionContent as _0x4514cf,ChartSectionAccordionItem as _0x2d9d69,ChartSectionAccordionTrigger as _0x404467,ChartSeriesSection as _0x249e64,ChartSetupPanel as _0x2e1952,ChartStyleSection as _0x23d5b2,ChartThreeDSection as _0x3fe7e8,ChartTitlesSection as _0x36c2b4,ChartTrendlineSection as _0x467b53,ChartTypeSpecificStyleSection as _0x10c7aa,ChartUIService as _0x326db3,ChartViewStateRegistry as _0x37a60a,ChartWaterfallStyleSection as _0xafb5c5,ChartWordCloudStyleSection as _0x1d8e48,DEFAULT_CHART_AXIS_VALUES as _0x71d548,DEFAULT_CHART_FUNNEL_VALUES as _0x436d03,DEFAULT_CHART_HEATMAP_VALUES as _0x5ad09f,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x37d78e,DEFAULT_CHART_LEGEND_VALUES as _0xbc743d,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x1f042f,DEFAULT_CHART_PARETO_VALUES as _0xf28f19,DEFAULT_CHART_PIE_VALUES as _0x20d0e2,DEFAULT_CHART_RADAR_VALUES as _0x19e23f,DEFAULT_CHART_RELATION_VALUES as _0x310d76,DEFAULT_CHART_SERIES_VALUES as _0x282ee0,DEFAULT_CHART_STYLE_VALUES as _0x3520ce,DEFAULT_CHART_TITLE_VALUES as _0x218db3,DEFAULT_CHART_TRENDLINE_VALUES as _0x5a6f4e,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x5f0786,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x101e70,MobileChartEditorProvider as _0x30b090,UniverChartMobileUIPlugin as _0x33ed67,UniverChartUIPlugin as _0x493b28,buildChartTypeSelectOptions as _0xa54980,chartTypeSupportsCapability as _0x21e878,chartTypeSupportsLineAndAreaStyle as _0x3b12ac,createChartElementFloatMenuAdapter as _0x2baaac,resolveChartCreationIntent as _0x3268d9,resolveChartEditPanelRoute as _0x29f604,resolveChartElementSelection as _0x11d534,useChartEditorChartType as _0x50fe44,useChartEditorHasRightAxis as _0x234765}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x1d451e,ChartImageExportFormat as _0x377cd6,ChartImageSourceType as _0x227d7f,ChartRenderMode as _0x3fb293,ChartSourceHeaderTitleType as _0x29025a,ChartThemeService as _0x266e8e,ChartTypeBits as _0x5f487a,ChartWaterfallStyleTarget as _0xe4991b,DataOrientation as _0x563d52,EChartRenderEngineName as _0x19d69a,IChartRenderModelManagerService as _0x510afd,ImageChartHost as _0x16d275,PieSecondaryPlotType as _0x44e386,RTLChartStyle as _0x5e32aa,chartBitsUtils as _0x3e85b6,chartImageSourceToDataUrl as _0xc3e295,chartTypeCanUseTrendLine as _0x3dac42,resolveChartRuntimeStyle as _0xa22984,resolveChartStyleBackgroundColor as _0x1778af,resolveDefaultChartHostFrameStyle as _0x124f00}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x5a2480,RemoveSheetCommand as _0x239bf2,SheetInterceptorService as _0x5ad87a,SheetPermissionCheckController as _0x174b66,SheetSkeletonService as _0x5239c8,SheetsSelectionsService as _0x1bfcbe,UniverSheetsPlugin as _0xb01d8b,WorkbookEditablePermission as _0x4d97bc,WorksheetEditPermission as _0x694200,attachRangeWithCoord as _0x474f06,discreteRangeToRange as _0x44cffd,getSheetCommandTarget as _0x4334f0}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x5527e7,matchToken as _0xcf11e0,serializeRangeWithSheet as _0x4ecc9d}from'@univerjs/engine-formula';import{insertGroupObject as _0x2b105c}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x3639ce,IRenderManagerService as _0x41dfd3,ObjectType as _0x3b1fc4,RENDER_CLASS_TYPE as _0x1073b4,Rect as _0x582308,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1d3686,Transform as _0x25f709,UniverRenderEnginePlugin as _0x189186}from'@univerjs/engine-render';import{useCallback as _0x2181fc,useEffect as _0x439bb1,useMemo as _0x5656c1,useRef as _0x2d358c,useState as _0x406374}from'react';import{Button as _0x401d58,Checkbox as _0xc69a80}from'@univerjs/design';import{MobileRangeSelector as _0x282c55,RangeSelector as _0x4047da}from'@univerjs/sheets-formula-ui';import{Fragment as _0x1cff7a,jsx as _0x59ab0d,jsxs as _0x3560a0}from'react/jsx-runtime';import{UniverLicensePlugin as _0x39d933}from'@univerjs-pro/license';import{PenIcon as _0x24a57c}from'@univerjs/icons';const U={'type':_0x19596e[_0x3d5cf7(0x226)],'id':_0x3d5cf7(0x10b),'handler'(){return!0x0;}},Sr=_0x3d5cf7(0x223),Cr={'enableChartElementFloatMenu':!0x0},wr={'type':_0x19596e[_0x3d5cf7(0x226)],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}};function Tr(_0x4caad4){const _0x158c25=_0x3d5cf7;let _0x39013b=_0x4caad4[_0x158c25(0xd7)](_0x57747b)[_0x158c25(0x22f)]();if(_0x39013b[_0x158c25(0x136)]!==0x1)return null;let _0x38f76d=_0x39013b[0x0];return _0x38f76d[_0x158c25(0x2ad)]===_0x6c27df[_0x158c25(0x1fc)]?_0x38f76d:null;}function Er(_0x1f16da,_0x4eec84){const _0x496cd8=_0x3d5cf7;let _0x26f84a=document[_0x496cd8(0x366)]('a');_0x26f84a[_0x496cd8(0x1fa)]=_0x1f16da,_0x26f84a[_0x496cd8(0x9c)]=_0x4eec84,_0x26f84a[_0x496cd8(0x178)]();}const Dr={'id':_0x3d5cf7(0x112),'type':_0x19596e[_0x3d5cf7(0x144)],'handler':(_0x422c5e,_0x3eb8f1)=>{const _0x1c0436=_0x3d5cf7;let _0x5413c6=Tr(_0x422c5e);return _0x5413c6?_0x422c5e[_0x1c0436(0xd7)](_0x58813c)[_0x1c0436(0xc4)](U['id'],{'unitId':_0x5413c6[_0x1c0436(0x276)],'subUnitId':_0x5413c6[_0x1c0436(0x131)],'drawingId':_0x5413c6[_0x1c0436(0x268)],..._0x3eb8f1!=null&&_0x3eb8f1[_0x1c0436(0x35e)]?{'route':_0x3eb8f1['route']}:{}}):!0x1;}},Or={'id':_0x3d5cf7(0x262),'type':_0x19596e[_0x3d5cf7(0x144)],'handler':_0x10612a=>Tr(_0x10612a)?_0x10612a[_0x3d5cf7(0xd7)](_0x58813c)[_0x3d5cf7(0xc4)](_0x5ddfb3['id']):!0x1},kr={'id':_0x3d5cf7(0x29c),'type':_0x19596e[_0x3d5cf7(0x144)],'handler':async _0x2a2247=>{const _0xcc4494=_0x3d5cf7;let _0x4d50b7=Tr(_0x2a2247);if(!_0x4d50b7)return!0x1;let _0x4b2662=await _0x2a2247['get'](_0x364415)['exportImage']({'unitId':_0x4d50b7[_0xcc4494(0x276)],'subUnitId':_0x4d50b7[_0xcc4494(0x131)],'getId':()=>_0x4d50b7[_0xcc4494(0x268)]});return _0x4b2662?(Er(_0x4b2662,_0x4d50b7['drawingId']+_0xcc4494(0x336)),!0x0):!0x1;}},Ar={'id':_0x3d5cf7(0x313),'type':_0x19596e['COMMAND'],'handler':_0x1c5ed8=>{const _0x55dd6f=_0x3d5cf7;let _0x453b8e=Tr(_0x1c5ed8);return _0x453b8e?_0x1c5ed8[_0x55dd6f(0xd7)](_0x58813c)['executeCommand'](_0x2b1fce['id'],{'unitId':_0x453b8e[_0x55dd6f(0x276)],'drawings':[{'unitId':_0x453b8e[_0x55dd6f(0x276)],'subUnitId':_0x453b8e[_0x55dd6f(0x131)],'drawingId':_0x453b8e[_0x55dd6f(0x268)],'drawingType':_0x6c27df[_0x55dd6f(0x1fc)]}]}):!0x1;}},W={'type':_0x19596e['COMMAND'],'id':_0x3d5cf7(0x311),'handler':async(_0x23b1f2,_0x1c3047)=>{const _0x543975=_0x3d5cf7;let _0x23d045=_0x4334f0(_0x23b1f2[_0x543975(0xd7)](_0x10cca1));if(!_0x23d045)return!0x1;let _0x1ed3c4=_0x23b1f2[_0x543975(0xd7)](_0x1bfcbe)['getCurrentLastSelection']();if(!_0x1ed3c4)return!0x1;let {range:_0x27be45}=_0x1ed3c4,_0x2a0157=_0x23b1f2[_0x543975(0xd7)](_0x58813c),{unitId:_0x20746b,subUnitId:_0x1234f3}=_0x23d045,{pieSecondaryPlotType:_0x5059eb,value:_0x11795a}=_0x1c3047,_0x386224=_0x5059eb!==void 0x0;if(_0x386224&&(_0x11795a!==_0x5f487a[_0x543975(0x19b)]||_0x5059eb!==_0x44e386[_0x543975(0x19b)]&&_0x5059eb!==_0x44e386[_0x543975(0x232)]))return!0x1;let _0x47b93b=_0x386224?_0x51b909():void 0x0;return _0x2a0157[_0x543975(0xc4)](_0x566eb7['id'],{'unitId':_0x20746b,'subUnitId':_0x1234f3,'chartType':_0x11795a,..._0x47b93b&&_0x5059eb?{'chartId':_0x47b93b,'config':{'unitId':_0x20746b,'chartModelId':_0x47b93b,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x5059eb}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x27be45[_0x543975(0x276)]??_0x20746b,'subUnitId':_0x27be45['sheetId']??_0x1234f3,'range':_0x27be45}}});}};function jr(_0x230df0,_0x1b505b){const _0x547726=_0x3d5cf7;if(_0x230df0==null)return'';if(Array[_0x547726(0x334)](_0x230df0)){var _0x679c40;let _0xf2f82=(_0x679c40=_0x230df0[0x0])==null?void 0x0:_0x679c40['range'];return _0xf2f82?Mr(_0xf2f82,_0x1b505b):'';}return Mr(_0x230df0[_0x547726(0x246)],_0x1b505b);}function Mr(_0x5dcbfe,_0x3babbc){const _0x8b2850=_0x3d5cf7;var _0x3d51ab;let {unitId:_0x3474bd,subUnitId:_0xa1cdcc,range:_0x514c44}=_0x5dcbfe,_0x163970=(_0x3d51ab=_0x3babbc['getUnit'](_0x3474bd))==null?void 0x0:_0x3d51ab[_0x8b2850(0x196)](_0xa1cdcc);if(!_0x163970)return'';let _0x1eb6fc=_0x163970['getName']();return _0x4ecc9d(_0x1eb6fc,_0x514c44);}const Nr=_0x448e3a['map'](_0x1d93f5=>({'id':'id'in _0x1d93f5?_0x1d93f5['id']:void 0x0,'labelId':_0x1d93f5['labelId'],'pieSecondaryPlotType':_0x3d5cf7(0xaf)in _0x1d93f5?_0x1d93f5[_0x3d5cf7(0xaf)]:void 0x0,'value':_0x1d93f5[_0x3d5cf7(0x346)],'icon':_0x1d93f5['iconName']}));function _0x4d66(){const _0x194e2e=['section','stringify','wordCloud','naturalHeight','focusDrawing','markUnmanaged','chartEditorOpen$','evented','unsubscribe','_addWatermark','_cancelGesture','INSERT','sheet.command.chart.export-focused-image','current','_chartRenderMode','_chartHostProviderService','DownloadImageIcon','_chartEventSubscriptions','GROUP','setOrientation','setHostStyle','changing$','updateFloatDomProps','focused$','_panelRoute$','_contextService','radar','dataset','trim','drawingType','_sheetsChartUIService','pointercancel','WordCloud','_bindChartPointerEvents','entries','hasPointerCapture','sheets-chart-ui.section.gridlinesAndTicks','_generateCopyPasteMutations','_pending','_draw','Treemap','depthAxis','rightY','getRect','LineAndArea','univer-overflow-hidden','naturalWidth','Overlay','open','GridlinesAndTicks','setDataUpdateAnimation','_getDrawable','number','attachPopupToDynamicAbsolutePosition','disposeWithMe','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_createImageChartHost','intercept','_getOrCreateChartRenderInstance','allSeriesStyle','blur','missing-active-sheet','chartModelRemoved$','_sheetsChartService','imageBitmap','_bindPointerEvents','_componentManager','Reference','hasOwnProperty','bind','mobile-sheet-chart-setup-panel','titleKey','chartEditorOpen','Pareto','sheets-chart-ui.waterfall.subtotal','_setHostStyle','_chartSnapshotStoreService','81030zlugys','function','_disposeChartEventSubscriptions','_univerInstanceService','_disposeImage','_getSceneAndTransformerByDrawingSearch','update','_renderManagerService','_clearPendingUrlImage','sheets-chart-ui.common.customize','all','_shouldSuppressRender','getDirection','ensureHost','_registerComponents','hidden','_initActiveRuntimeLayerListener','isElementEditModeActive','_chartHostProvider','absolute','sheets-chart-ui.section.pie','_disposed','clientHeight','parentElement','Boxplot','_openFloatMenu','domId','relation','_handleDrawingDoubleClick','setChartEditorOpen','getRangeInfo','data$','position$','_applyActiveChartRuntimeZIndex','sheets-chart-ui.common.rightVerticalAxis','markReady','cancel','getCurrentUnitOfType','render','removeHost$','sheets-chart-ui.section.chord','getImage','getUnitId','transform','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_chartThemeService','getOwnPropertyDescriptor','setConfig','clearImage','items','_sheetSkeletonService','ENTER','sheet.command.menu-insert-chart','getSheetBySheetName','sheet.command.chart.delete-focused-chart','_sheetPrintInterceptorService','pluginName','_registerAdapter','sheets-chart-ui.chartTypes.','undo','_getHostPlacement','_resolvedConfig','packageName','titles','push','ChartIcon','sheets-chart-ui.common.invalidDataRange','_localeService','setContextValue','target','moveTo','Fail\x20to\x20create\x20float\x20dom','sheets-chart-ui.common.exportImage','isManaged','querySelector','_callback','string','activeRuntimeModel','_debounceHandleMap','resolve','sheets-chart-ui.common.chartStyle','_chartRenderService','clientWidth','getSkeleton','ParetoBarSeries','Candlestick','_restoreHostWrapper','isArray','sheets-chart-ui.common.useAsCategoryLabels','.png','engine','invalidateSnapshot','_pendingMutationConfigRenders','dblclick','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_initActiveChartModelListener','onPointerUp','rangeInfo$','small','ensureHandle','type','close','sheets-chart-ui.section.treemap','defaultValues','indicatorLine','value','endX','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','sheets-chart-ui.section.candlestick','right','_releaseGesture','Axes','_chartHostMap','bottom','getDrawingByParam','_pendingDataUpdateChartIds','_sheetDrawingService','_getChartRenderObject','_popupSessionKey','_initMenus','_isOwnedChart','MEDIA','event','_rangeSelectMode','_frameStyle','Url','translate','getChartDataSource','_snapshotKey','route','idMap','logicalOuterRect','missing-float-dom','_syncActiveEditChart','_generateCutPasteMutations','_menuManagerService','_markNotReady','createElement','DEFAULT_PASTE','sheets-chart.ui.service','removeEventListener','getContextValue','objects','has','chartRenderMode','WaterfallSeries','subscribe','sheets-chart-ui.section.sunburst','_openEditPanelByDoubleClick','_dataUpdateAnimationDuration','sheets-chart-ui.section.wordCloud','min','_loadUrlImage','contains','setProps','sheets-chart-ui.common.dataRange','_themeService','setObjectType','remove','header','onTransformChange$','finally','ParetoLineSeries','nextVersion','requestPaint','BUTTON','getCanvasElement','_savedWrapperStyle','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','_managed','createRuntimeChartStyle','Funnel','baseOn','_listenChartUpdateMutations','_initSheetChange','sheets-chart-ui.section.indicatorLine','download','2337165ZoMGvz','chartObject','HorizontalAxis','_renderChartModel','_config','defineProperty','viewBound','getBoundingClientRect','onRendered','enableChartElementFloatMenu','decorate','image','source','_openPanel','renderTransition','_updateGeometry','getFocusedUnit','featurePluginGroupUpdate$','pieSecondaryPlotType','setActiveChartModel','_dataUpdateAnimationChartIds','getRenderModel','removeHost','values','_disposeChartChangeListeners','getActiveSheet','beforeCommandExecuted','_isChartElementEditEnabled','onload','params','img','pipe','sheets-chart-ui.common.verticalAxis','setImage','waterfallStyle','_hostStyle','_clearHiddenSelectedTarget','_chartEventHandlers','exportImg','executeCommand','focus$','takeSnapshot','sheet-chart-style-panel','setStyle','clear','getMatrix','_suppressClick','_iconManager','label','IndicatorLine','lostpointercapture','_resizeChart','_chartUIService','redo','_canvasFloatDomService','getRealBound','mergeMenu','OTHERS','get','_snapshotStore','Style','name','getHostClientRect','indexOf','_resolveLayout','setPointerCapture','_readGeometry','isDomReady','14987390rRfoEV','category','map','onerror','_getPlacement','detach','create','sheets-chart-ui.host.provider','matches','segmented','canvas','_requestChartCanvasRender','sheets-chart-element-float-menu','sheets-chart-ui.waterfall.positive','sheetChartDataAnimation','concat','DeleteIcon','showFloatMenu','getTransformerByCreate','_entries','getBatchUpdateOp','_sidebarService','max','Area','heatmap','left','_gesture','_drawChartImage','addClipboardHook','_getFloatDomInfo','_createPrintingChartObject','mobile-sheet-chart-style-panel','height','promise','assignStyle','trendline','_commandService','hidePanel','toPrimitive','getValue','rangeSelectMode','rect','sheet.operation.open-chart-panel','_scheduler','2265936EPHHRc','sheets-chart-ui.common.openChartPanel','addEventListener','_rerenderLatest','beginPath','sheet.command.chart.open-focused-panel','_activateDataUpdateAnimation','chartModelId','delete','_geometry','sheets-chart-ui.section.waterfall','UPDATE','config$','PieStyle','labelId','_pendingHost','_scheduleDataUpdateAnimationEnd','Legend','barStyle','flush','1641374JxreKp','sheet.chart.edit.panel','view','_image','startX','_applyHostInteractionState','_getOuterRect','tab','prototype','getChartSourceSpec','asObservable','set','clientX','ImageBitmap','_chartInstanceMap','targetSubUnitId','subUnitId','_getChartSnapshotKey','univer-my-1\x20univer-text-xs\x20univer-text-red-500','univer-overflow-visible','_panelInitialized','length','_lastRenderInputMap','initialRect','hit','708490wSIaFj','_sidebarDisposable','interceptCommand','_keepChartCapture','scheduler','from','transparent','#-#','sheetTransform','bounds','COMMAND','univer-flex\x20univer-flex-col\x20univer-gap-3','visible','filter','sheets-chart-ui.section.paretoBar','with','_getOrCreateSheetChartHost','markHostNotReady','RightVerticalAxis','_pendingToken','seriesId','_chartModelService','getDrawingData','startColumn','_popupDisposable','_injector','renderChartsForPrinting','univer-shrink-0','crossOrigin','_frame','pareto','_dataUpdateAnimationTimers','top','getSheetId','_lastActiveSheet','Series','_requestedUrl','innerWidth','_renderDebounceMap','Scatter','_registerChartImageRenderObjectFactory','_disposeChartDomInstance','closePath','_activateEditPanelState','applyPoint','dataSource$','\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','setElementEditMode','setRangeSelectMode','Data','emitChartEvent','lineTo','_pointerEvents','Waterfall','visibilityState','DRAWING','_alignFloatDomPositionWithSceneRender','copyId','updateFloatDom','axis','clearPanelRoute','Dom','click','sheets-chart-ui.common.horizontalAxis','pointerId','_disposeChartRenderInstance','_drawChartFrame','_url','SELECTOR','sheets-chart-ui.common.copy','-univer-mx-4\x20univer-overflow-visible','_clearPanelState','isFinite','_deactivateEditPanelState','_adapterRegistry','drawImage','_drawingManagerService','_sheetClipboardService','plotVisibleOnly','Canvas','PenIcon','src','Row','getRenderColor','_notifyChartRemoved','blockExecuteWithoutPermission','ChartAndAxisTitles','_copyInfo','createChartInstance','_onChange','_chartElementEditMode','legend','getSheetBySheetId','_subscribeChartEvents','constructor','_init','isConnected','Pie','onPointerMove','CopyDoubleIcon','_markHostReady','_clearSelectedTarget','sheets-chart-ui.common.category','_cacheActiveDomChartSnapshot','_bindChartEventHandler','_getCurrentSnapshotImage','scaleY','range','opacity','_rect','sourceSubUnitId','_applyHostStyle','abs','_resetChartRuntimeZIndex','_renderModelManager','sidebarOptions$','sheets-chart-ui.common.series','initPanel','_sheetCanvasFloatDomManagerService','dataSource','_pendingUrlImage','transformChange$','setPanelRoute','oKey','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','Sunburst','cumulativeLineStyle','_getChartRenderSkipReason','sheets-chart-ui.common.editChart','_renderWhenConfigReady','sheets-chart-ui.common.switchRowColumn','_domFrame','CUT','Heatmap','anchorRect$','_debounceHandle','_generatePasteMutations','activeChartModel$','21HXDVTP','getElementById','registerFeatureMenu','find','isLatest','_deactivateDataUpdateAnimation','sheet-chart-setup-panel','_createHost','symbol','_getImage','commitSnapshot','getHostSize','restore','nativeEvent','div','_disposeChartEventSubscription','_registerIcons','_original','Subtotal','isRowDirection','_prepareDataUpdateRender','_initPrinting','complete','1.2.0','sheetDisposed$','_executeChartUpdateSourceConfig','_cancelHostWait','Trendline','getChartSnapshotImage','16JSAVSp','REMOVE','_canAnimateDataUpdate','Bubble','_urlImage','panelRoute$','sheets-chart-ui.common.heatmap','handleActiveSubUnitChange','resize','sheets-chart-ui.common.setup','getBatchAddOp','onPointerDown','_activeDomReadyChartIds','getDrawingOrder','remove$','afterRender$','default','Line','_cancelDebouncedCallbacks','call','Column','top-center','isHit','width','_popupChartId','href','chartId','DRAWING_CHART','Chord','_chartChangeSubscriptions','registerCommand','ensureMount','scene','version','syncLayout','188rbOmnP','Histogram','strokeWidth','style$','_activateHostWrapper','sheets-chart-ui.common.deleteChart','setBorder','clientY','supports','parent','_version','_createChartRenderInstanceContext','next','_initPermission','startY','chartType','context$','getRenderUnitById','keys','sheets-chart-ui.common.trendline','clearChart','serialize','1481784zpFDnB','_restoreFloatDomPositionStream','Image','dataUrl','localPoint','subscribeEvent','exportImage','VerticalAxis','onDispose','sheets-chart-ui.config','_closePopup','featurePluginUngroupUpdate$','OPERATION','sheetChartDataAnimationDuration','mode','sheets-chart-ui.chord.target','mountNode','chartModelAdded$','checkChartCanRender','onDoubleClick$','_activeChartId','getFocusDrawings','request','scaleX','Bar','registerRenderObjectFactory','_markReady','multiply','_resolveChartRenderMode','UNIVER_SHEET','children','groupId','_isProviderDisposed','config','sheets-chart-ui.section.radar','_initDrawingDeactivationListener','dispose','classType','openChartPanelById','setDataRange','split','_sheetPermissionCheckController','zIndex','OVERRIDE_NATIVE','rangeInfo','checkMounted','stopImmediatePropagation','drawWith','drawingIds','sheets-chart-ui.common.legend','arc','_renderService','getChartModel','_waiter','_setChartRuntimeZIndex','getObject','featurePluginOrderUpdate$','forEach','_focusedDrawings','some','endsWith','error','releasePointerCapture','object','startRow','getFloatDomInfo','_getChartRenderObjectContext','innerHeight','pointerEvents','add','_createCopyInfoByRange','getSubUnitId','sheet.command.chart.copy-focused-chart','_updateTransform','matchMedia','_initCommands','1000','series','drawingId','onCommandExecuted','sheets-chart-ui.waterfall.negative','executeChartUpdateConfig','sheets-chart-ui.chartTypes.line','makeDirty','_requestPaint','_notifySheetChartsDetached','_removeHost$','animateDataUpdate','offsetWidth','Radar','sheets-chart-ui.chartTypes.area','getObjectIncludeInGroup','unitId','verify','then','_running','darkMode$','getUnit','style','syncHostLayout','sheets-chart-ui.section.relation','Relation','sheets-chart-ui.section.paretoLine','moveY','getInterceptPoints','_sheetDrawingHitTestService','activeChartModel','register','scroll','_shouldEnableChartElementEdit','getChartPopupMenus','_sheetCanvasPopManagerService','_renderAfterChartUpdateMutation','offsetLeft','Gauge','_configService','cancelPending','_chartEditorOpen$'];_0x4d66=function(){return _0x194e2e;};return _0x4d66();}function Pr(_0x20570b=Nr){const _0x40f706=_0x3d5cf7;return _0x20570b[_0x40f706(0xe3)](({id:_0x1e12f3,icon:_0x94fa5d,value:_0x3d69e7})=>{const _0x36c4ea=_0x40f706;let _0x5e9126=_0x3268d9(_0x1e12f3??String(_0x3d69e7)),_0x5088bb=_0x5e9126?{'value':_0x5e9126[_0x36c4ea(0x213)],..._0x5e9126['pieSecondaryPlotType']?{'pieSecondaryPlotType':_0x5e9126['pieSecondaryPlotType']}:{}}:{'value':_0x3d69e7};return{'icon':_0x94fa5d,'value':_0x1e12f3??_0x3d69e7,'params':_0x5088bb};});}const Fr=(_0x183ffd,_0x1f7a35)=>{const _0x68b112=_0x3d5cf7;if(_0x1f7a35[_0x68b112(0x136)]===0x1&&_0x1f7a35[0x0]===_0x68b112(0x2e7))return _0x183ffd;if(_0x1f7a35[_0x68b112(0x136)]>0x1){let _0x7a2db7=new Set();for(let _0x2ac2a3 of _0x1f7a35)_0x7a2db7[_0x68b112(0x25f)](Number(_0x2ac2a3));return _0x183ffd[_0x68b112(0x147)](_0x4df40a=>_0x7a2db7[_0x68b112(0x36c)](_0x4df40a['value']));}return[];};function Ir(_0x3be3e6){const _0x55370f=_0x3d5cf7;let _0x22156e=_0x3be3e6[_0x55370f(0xd7)](_0x10cca1),_0x2023b9=_0x2f808b(_0x3be3e6),_0x1e0655=Fr(Nr[_0x55370f(0xf0)](),_0x2023b9),_0x19c1ae=Pr(_0x1e0655)[_0x55370f(0xe3)]((_0x214827,_0x22f138)=>({'icon':_0x214827['icon'],'value':_0x214827[_0x55370f(0x346)],'params':_0x214827[_0x55370f(0xba)],'label':_0x55370f(0x317)+_0x1e0655[_0x22f138][_0x55370f(0x11b)]}));return{'id':W['id'],'type':_0x2b911f[_0x55370f(0x17e)],'selectionsCommandId':W['id'],'selections':_0x19c1ae,'icon':_0x55370f(0x31e),'tooltip':'sheets-chart-ui.common.insertChart','activated$':_0xad1885(_0x22156e,!0x1,()=>new _0x122c76(_0x2aaa61=>{_0x2aaa61['next'](!0x1);})),'hidden$':_0x35dd96(_0x3be3e6,_0x24eda4[_0x55370f(0x237)]),'disabled$':_0x7d2624(_0x3be3e6)};}function Lr(_0x2bda1c){const _0x270f3e=_0x3d5cf7;let _0x1931d3=_0x2bda1c[_0x270f3e(0xd7)](_0x57747b);return _0x1931d3[_0x270f3e(0xc5)][_0x270f3e(0xbc)](_0x48cf77(_0x1931d3[_0x270f3e(0x22f)]()),_0x5ae0a1(()=>Tr(_0x2bda1c)==null));}function Rr(_0x3626d7){const _0x3b25dd=_0x3d5cf7;return{'id':Dr['id'],'commandId':Dr['id'],'type':_0x2b911f[_0x3b25dd(0x91)],'title':_0x3626d7[_0x3b25dd(0xd7)](_0x1b3de3)['t'](_0x3b25dd(0x10e)),'icon':_0x3b25dd(0x18a),'hidden$':Lr(_0x3626d7)};}function zr(_0x146094){const _0x1e849e=_0x3d5cf7;return{'id':Or['id'],'commandId':Or['id'],'type':_0x2b911f[_0x1e849e(0x91)],'title':_0x146094[_0x1e849e(0xd7)](_0x1b3de3)['t'](_0x1e849e(0x17f)),'icon':_0x1e849e(0x19d),'hidden$':Lr(_0x146094)};}function Br(_0xc24bf){const _0x234870=_0x3d5cf7;return{'id':kr['id'],'commandId':kr['id'],'type':_0x2b911f['BUTTON'],'title':_0xc24bf[_0x234870(0xd7)](_0x1b3de3)['t'](_0x234870(0x325)),'icon':_0x234870(0x2a0),'hidden$':Lr(_0xc24bf)};}function Vr(_0x2f3d78){const _0x504439=_0x3d5cf7;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x2b911f[_0x504439(0x91)],'title':_0x2f3d78[_0x504439(0xd7)](_0x1b3de3)['t'](_0x504439(0x209)),'icon':_0x504439(0xf1),'hidden$':Lr(_0x2f3d78)};}const Hr={[_0x2eb803[_0x3d5cf7(0x356)]]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}},[_0x2542a1[_0x3d5cf7(0x171)]]:{[_0x4ced7c[_0x3d5cf7(0xd6)]]:{[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(_0x407296){const _0x4b31be=_0x3d5cf7;return _0x407296===_0x5f487a['Combination']||_0x407296===_0x5f487a['Radar']||_0x407296===_0x5f487a[_0x4b31be(0x2f5)]||_0x3e85b6['baseOn'](_0x407296,_0x5f487a[_0x4b31be(0x1f2)])||_0x3e85b6[_0x4b31be(0x98)](_0x407296,_0x5f487a['Column'])||_0x3e85b6[_0x4b31be(0x98)](_0x407296,_0x5f487a[_0x4b31be(0xf8)])||_0x3e85b6['baseOn'](_0x407296,_0x5f487a[_0x4b31be(0x161)]);}function Wr(_0x435710){const _0x517c8e=_0x3d5cf7;return Ur(_0x435710)||_0x3e85b6['baseOn'](_0x435710,_0x5f487a['Pie'])||_0x3e85b6[_0x517c8e(0x98)](_0x435710,_0x5f487a[_0x517c8e(0x2d9)])||_0x3e85b6[_0x517c8e(0x98)](_0x435710,_0x5f487a[_0x517c8e(0x16f)]);}function Gr(_0xe14dec,_0x81386a){const _0x282bb9=_0x3d5cf7;let _0x476baf=_0x11d534(_0xe14dec,_0x81386a),_0x5e27e9=_0x476baf?_0x29f604(_0x476baf[_0x282bb9(0x322)]):void 0x0;if(_0x476baf&&_0x5e27e9)return{..._0x476baf,'route':_0x5e27e9,'showFloatMenu':Wr(_0xe14dec[_0x282bb9(0x213)])&&_0x476baf['showFloatMenu']};}function Kr(_0x273f43){'@babel/helpers - typeof';const _0x4e8cb7=_0x3d5cf7;return Kr=typeof Symbol==_0x4e8cb7(0x2de)&&typeof Symbol['iterator']==_0x4e8cb7(0x1cc)?function(_0x59ddf3){return typeof _0x59ddf3;}:function(_0x44fd7b){const _0x3394e9=_0x4e8cb7;return _0x44fd7b&&typeof Symbol==_0x3394e9(0x2de)&&_0x44fd7b[_0x3394e9(0x198)]===Symbol&&_0x44fd7b!==Symbol[_0x3394e9(0x129)]?_0x3394e9(0x1cc):typeof _0x44fd7b;},Kr(_0x273f43);}function qr(_0x3abf3e,_0x59d57b){const _0x1d5493=_0x3d5cf7;if(Kr(_0x3abf3e)!=_0x1d5493(0x259)||!_0x3abf3e)return _0x3abf3e;var _0x33b99d=_0x3abf3e[Symbol[_0x1d5493(0x107)]];if(_0x33b99d!==void 0x0){var _0x22ed1c=_0x33b99d[_0x1d5493(0x1f4)](_0x3abf3e,_0x59d57b||_0x1d5493(0x1f1));if(Kr(_0x22ed1c)!=_0x1d5493(0x259))return _0x22ed1c;throw TypeError(_0x1d5493(0x309));}return(_0x59d57b===_0x1d5493(0x329)?String:Number)(_0x3abf3e);}function Jr(_0x1f60b4){const _0x320c63=_0x3d5cf7;var _0xc00a42=qr(_0x1f60b4,'string');return Kr(_0xc00a42)==_0x320c63(0x1cc)?_0xc00a42:_0xc00a42+'';}function G(_0x2147ba,_0x1b0805,_0x16ac9d){const _0x562489=_0x3d5cf7;return(_0x1b0805=Jr(_0x1b0805))in _0x2147ba?Object[_0x562489(0xa2)](_0x2147ba,_0x1b0805,{'value':_0x16ac9d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2147ba[_0x1b0805]=_0x16ac9d,_0x2147ba;}var Yr=class extends _0x2fb1ef{constructor(_0x37e520){const _0x1875fe=_0x3d5cf7;super(),this['_callback']=_0x37e520,G(this,_0x1875fe(0x157),null),G(this,_0x1875fe(0x279),!0x1),G(this,_0x1875fe(0x2b6),!0x1);}['request'](){const _0x27aa89=_0x3d5cf7;this[_0x27aa89(0x2f2)]||(this[_0x27aa89(0x2b6)]=!0x0,!this['_running']&&this[_0x27aa89(0x157)]===null&&(this[_0x27aa89(0x157)]=requestAnimationFrame(()=>this[_0x27aa89(0x120)]())));}[_0x3d5cf7(0x120)](){const _0x48188d=_0x3d5cf7;if(this[_0x48188d(0x2f2)]||this[_0x48188d(0x279)])return;this[_0x48188d(0x28e)]();let _0x2f6c94=this[_0x48188d(0x328)]();_0x2f6c94&&(this[_0x48188d(0x279)]=!0x0,_0x2f6c94['catch'](_0x520c47=>console[_0x48188d(0x257)](_0x520c47))[_0x48188d(0x8d)](()=>{const _0x148049=_0x48188d;this[_0x148049(0x279)]=!0x1,this[_0x148049(0x2b6)]&&this['request']();}));}[_0x3d5cf7(0x28e)](){const _0xdc9e44=_0x3d5cf7;this[_0xdc9e44(0x2b6)]=!0x1,this[_0xdc9e44(0x157)]!==null&&(cancelAnimationFrame(this[_0xdc9e44(0x157)]),this[_0xdc9e44(0x157)]=null);}[_0x3d5cf7(0x23e)](){const _0x523239=_0x3d5cf7;this[_0x523239(0x28e)](),super['dispose']();}},Xr=class extends _0x2fb1ef{constructor(_0x320c14,_0x3aa355){const _0x52ebb5=_0x3d5cf7;super(),this[_0x52ebb5(0x1a7)]=_0x320c14,this['_onChange']=_0x3aa355,G(this,_0x52ebb5(0x10c),void 0x0),G(this,_0x52ebb5(0x116),void 0x0),this['_geometry']=this[_0x52ebb5(0xdf)](),this['_scheduler']=new Yr(()=>this[_0x52ebb5(0xac)]()),this[_0x52ebb5(0x2c6)](this['_scheduler']),this[_0x52ebb5(0x2c6)](_0x320c14[_0x52ebb5(0x8c)][_0x52ebb5(0x21f)](()=>this['_scheduler'][_0x52ebb5(0x230)]()));}get[_0x3d5cf7(0x13e)](){const _0x2987e6=_0x3d5cf7;return this[_0x2987e6(0x10c)];}[_0x3d5cf7(0xac)](){const _0x4ab276=_0x3d5cf7;let _0x24e548=this[_0x4ab276(0xdf)](),_0x774df9=this[_0x4ab276(0x116)],_0x34cf95=_0x24e548[_0x4ab276(0x1f8)]!==_0x774df9[_0x4ab276(0x1f8)]||_0x24e548[_0x4ab276(0x101)]!==_0x774df9[_0x4ab276(0x101)];if(_0x34cf95||_0x24e548[_0x4ab276(0xfa)]!==_0x774df9[_0x4ab276(0xfa)]||_0x24e548[_0x4ab276(0x15a)]!==_0x774df9['top'])return this[_0x4ab276(0x116)]=_0x24e548,this[_0x4ab276(0x193)](_0x34cf95);}['_readGeometry'](){const _0x213eed=_0x3d5cf7;let {left:_0x382f21,top:_0x1c7f3e,width:_0x1c5c79,height:_0x40be97}=this[_0x213eed(0x1a7)];return{'left':_0x382f21,'top':_0x1c7f3e,'width':_0x1c5c79,'height':_0x40be97};}};function Zr(_0x174131,_0x3278e1=0x1){const _0x1e483f=_0x3d5cf7;return{'width':Math[_0x1e483f(0xf7)](_0x3278e1,_0x174131[_0x1e483f(0x1f8)]),'height':Math['max'](_0x3278e1,_0x174131[_0x1e483f(0x101)])};}function Qr(_0x27c4ee,_0x53dff7={},_0x21f1af={'left':0x0,'top':0x0}){const _0x20fb99=_0x3d5cf7;let _0x59576a=_0x53dff7[_0x20fb99(0x231)]??0x1,_0x4248a1=_0x53dff7['scaleY']??0x1,_0x4f0a3a=_0x20f2ca[_0x20fb99(0x32c)]({'logicalOuterRect':{'left':_0x21f1af['left']>0x0?-_0x21f1af[_0x20fb99(0xfa)]:0x0,'top':_0x21f1af[_0x20fb99(0x15a)]>0x0?-_0x21f1af[_0x20fb99(0x15a)]:0x0,...Zr(_0x27c4ee)},'scale':{'scaleX':_0x59576a,'scaleY':_0x4248a1},'hostStyle':{},'contentMode':_0x3efb2b['Overlay']});return{'left':_0x4f0a3a['logicalOuterRect']['left'],'top':_0x4f0a3a[_0x20fb99(0x360)][_0x20fb99(0x15a)],'width':_0x4f0a3a[_0x20fb99(0x360)][_0x20fb99(0x1f8)],'height':_0x4f0a3a[_0x20fb99(0x360)][_0x20fb99(0x101)],'scaleX':_0x59576a,'scaleY':_0x4248a1};}function $r(_0x44f376){const _0x14060b=_0x3d5cf7;switch(_0x44f376['type']){case _0x227d7f[_0x14060b(0x189)]:return _0x44f376[_0x14060b(0xeb)];case _0x227d7f[_0x14060b(0x12e)]:return _0x44f376[_0x14060b(0x2d0)];default:return;}}var ei=class extends _0x582308{constructor(_0x14bd0c,_0x3adaaf,_0x3f97de,_0x2a90f6=()=>!0x1,_0xf3a9b=()=>{}){const _0x5831cc=_0x3d5cf7;super(_0x14bd0c,{..._0x3adaaf,'evented':_0x3adaaf[_0x5831cc(0x297)]??!0x0}),this[_0x5831cc(0x1cd)]=_0x3f97de,this[_0x5831cc(0x2e8)]=_0x2a90f6,this[_0x5831cc(0x2e1)]=_0xf3a9b,G(this,_0x5831cc(0x1e5),null),G(this,'_url',null),G(this,_0x5831cc(0x15e),null),G(this,_0x5831cc(0x1b2),null),this[_0x5831cc(0x89)](_0x3b1fc4['CHART']);}[_0x3d5cf7(0x23e)](){const _0x23e741=_0x3d5cf7;this[_0x23e741(0x2e5)](),this[_0x23e741(0x1e5)]=null,this[_0x23e741(0x17d)]=null,this[_0x23e741(0x15e)]=null,this[_0x23e741(0x2e1)](),super[_0x23e741(0x23e)]();}[_0x3d5cf7(0x303)](_0x4f5087,_0x373672){const _0x58627b=_0x3d5cf7;if(!this['visible'])return this[_0x58627b(0x26d)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x40598d=this[_0x58627b(0x1cd)]();return _0x40598d&&this[_0x58627b(0x2c3)](_0x40598d),this[_0x58627b(0x26d)](!0x1),this;}if(!this[_0x58627b(0x308)])return this;let {width:_0x248974,height:_0xba5ec2,left:_0x47fe78,top:_0x5cee21}=this[_0x58627b(0xd4)]();if(this['isRender'](_0x373672)){let {top:_0x137838,left:_0x188e68,bottom:_0x5d6ee9,right:_0x502045}=_0x373672[_0x58627b(0xa3)];if(_0x248974+this['strokeWidth']+_0x47fe78<_0x188e68||_0x502045<_0x47fe78||_0xba5ec2+this['strokeWidth']+_0x5cee21<_0x137838||_0x5d6ee9<_0x5cee21)return this;}let _0x1e548c=this[_0x58627b(0x308)]['getMatrix']();_0x4f5087['save']();let _0x44ed70=_0x47fe78+_0x248974/0x2,_0x6cca90=_0x5cee21+_0xba5ec2/0x2;return _0x4f5087[_0x58627b(0x308)](_0x1e548c[0x0],_0x1e548c[0x1],_0x1e548c[0x2],_0x1e548c[0x3],_0x44ed70,_0x6cca90),this['opacity']!==0x1&&(_0x4f5087['globalAlpha']=this[_0x58627b(0x1a6)]),this[_0x58627b(0x2b7)](_0x4f5087,void 0x0,_0x248974,_0xba5ec2),_0x4f5087[_0x58627b(0x1d0)](),this[_0x58627b(0x26d)](!0x1),this;}[_0x3d5cf7(0x2b7)](_0x38e7cf,_0x472d10,_0x28bb28=this[_0x3d5cf7(0x1f8)],_0xd21f52=this[_0x3d5cf7(0x101)]){const _0x2e7500=_0x3d5cf7;this['_drawChartFrame'](_0x38e7cf,_0x28bb28,_0xd21f52,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x2e7500(0xfc)](_0x38e7cf,_0x28bb28,_0xd21f52),this[_0x2e7500(0x17c)](_0x38e7cf,_0x28bb28,_0xd21f52,{'fill':void 0x0});}[_0x3d5cf7(0x17c)](_0x1f558f,_0x5b0237,_0x31850e,_0x4d1256){const _0x2b0dc2=_0x3d5cf7;_0x1f558f['save'](),_0x1f558f[_0x2b0dc2(0x35b)](-_0x5b0237/0x2,-_0x31850e/0x2),_0x582308[_0x2b0dc2(0x249)](_0x1f558f,ti(this,_0x5b0237,_0x31850e,_0x4d1256)),_0x1f558f[_0x2b0dc2(0x1d0)]();}[_0x3d5cf7(0x1f7)](_0x5a2ae0){const _0x1e7c83=_0x3d5cf7;let {left:_0x109265,top:_0xf75d52,width:_0x2122d8,height:_0x592a85}=this['getRealBound'](),_0x191a6e=_0x109265+_0x2122d8/0x2,_0x21dea3=_0xf75d52+_0x592a85/0x2,_0x49e9b4=this[_0x1e7c83(0x308)][_0x1e7c83(0xca)](),_0x10ae2c=new _0x25f709([_0x49e9b4[0x0],_0x49e9b4[0x1],_0x49e9b4[0x2],_0x49e9b4[0x3],_0x191a6e,_0x21dea3]),_0x530884=this['getParent'](),_0x45acbb=(this['isInGroup']&&(_0x530884==null?void 0x0:_0x530884[_0x1e7c83(0x23f)])===_0x1073b4[_0x1e7c83(0x2a2)]?_0x530884['ancestorTransform'][_0x1e7c83(0x235)](_0x10ae2c):_0x10ae2c)['invert']()[_0x1e7c83(0x166)](_0x5a2ae0),_0x51dd9f=_0x2122d8/0x2,_0x324fa8=_0x592a85/0x2;return _0x45acbb['x']>=-_0x51dd9f-this['strokeWidth']/0x2&&_0x45acbb['x']<=_0x51dd9f+this[_0x1e7c83(0x206)]/0x2&&_0x45acbb['y']>=-_0x324fa8-this['strokeWidth']/0x2&&_0x45acbb['y']<=_0x324fa8+this[_0x1e7c83(0x206)]/0x2;}[_0x3d5cf7(0xfc)](_0x3b2337,_0x45944a,_0x4c2bcf){const _0x2f3e2b=_0x3d5cf7;let _0x13933e=this['_getImage'](),_0x2bfd00=_0x13933e?this[_0x2f3e2b(0x2c3)](_0x13933e):void 0x0;if(!_0x2bfd00)return;let {width:_0x341619,height:_0x45a9e4}=Zr({'width':_0x45944a,'height':_0x4c2bcf},0x0);_0x341619!==0x0&&_0x45a9e4!==0x0&&(_0x3b2337['save'](),_0x3b2337[_0x2f3e2b(0x35b)](-_0x45944a/0x2,-_0x4c2bcf/0x2),ni(_0x3b2337,_0x341619,_0x45a9e4,this['radius']),_0x3b2337['clip'](),_0x3b2337[_0x2f3e2b(0x185)](_0x2bfd00,0x0,0x0,_0x341619,_0x45a9e4),_0x3b2337['restore']());}[_0x3d5cf7(0x2c3)](_0xc8d79b){const _0x1ea40b=_0x3d5cf7;var _0x123903;let _0x461f66=$r(_0xc8d79b);if(_0x461f66)return _0x461f66;if(_0xc8d79b[_0x1ea40b(0x341)]===_0x227d7f[_0x1ea40b(0x35a)]&&(this[_0x1ea40b(0x15e)]!==_0xc8d79b['url']&&(this['_requestedUrl']=_0xc8d79b['url'],this['_clearPendingUrlImage'](),this['_url']!==_0xc8d79b['url']&&this[_0x1ea40b(0x375)](_0xc8d79b['url'])),(_0x123903=this['_urlImage'])!=null&&_0x123903[_0x1ea40b(0x1da)]&&this['_urlImage']['naturalWidth']>0x0&&this[_0x1ea40b(0x1e5)][_0x1ea40b(0x293)]>0x0))return this[_0x1ea40b(0x1e5)];}[_0x3d5cf7(0x375)](_0x4b108e){const _0x4d1542=_0x3d5cf7;let _0x5e73d5=document['createElement'](_0x4d1542(0xbb));this[_0x4d1542(0x1b2)]=_0x5e73d5,_0x5e73d5[_0x4d1542(0x156)]='anonymous',_0x5e73d5[_0x4d1542(0xb9)]=()=>{const _0x34882b=_0x4d1542;this[_0x34882b(0x15e)]===_0x4b108e&&this[_0x34882b(0x1b2)]===_0x5e73d5&&(_0x5e73d5[_0x34882b(0x2be)]>0x0&&_0x5e73d5[_0x34882b(0x293)]>0x0&&(this[_0x34882b(0x17d)]=_0x4b108e,this['_urlImage']=_0x5e73d5),this[_0x34882b(0x2e5)](),this[_0x34882b(0x26d)](!0x0));},_0x5e73d5[_0x4d1542(0xe4)]=()=>{const _0x544754=_0x4d1542;this['_pendingUrlImage']===_0x5e73d5&&this[_0x544754(0x2e5)]();},_0x5e73d5[_0x4d1542(0x18b)]=_0x4b108e;}[_0x3d5cf7(0x2e5)](){const _0x35f0e6=_0x3d5cf7;this['_pendingUrlImage']&&=(this[_0x35f0e6(0x1b2)][_0x35f0e6(0xb9)]=null,this[_0x35f0e6(0x1b2)][_0x35f0e6(0xe4)]=null,null);}};function ti(_0x20a8a1,_0x208df7,_0x4f2ee6,_0x4870ef){const _0x130296=_0x3d5cf7;let _0x48cdb6=Object[_0x130296(0xe7)](_0x20a8a1);return Object[_0x130296(0xa2)](_0x48cdb6,_0x130296(0x1f8),{'value':_0x208df7}),Object['defineProperty'](_0x48cdb6,_0x130296(0x101),{'value':_0x4f2ee6}),Object[_0x130296(0x216)](_0x4870ef)[_0x130296(0x253)](_0x5ca689=>{Object['defineProperty'](_0x48cdb6,_0x5ca689,{'value':_0x4870ef[_0x5ca689]});}),_0x48cdb6;}function ni(_0x4608a0,_0x478c14,_0x378393,_0x2045b9){const _0x47abba=_0x3d5cf7;let _0x1cb8fc=Math[_0x47abba(0x374)](_0x2045b9||0x0,_0x478c14/0x2,_0x378393/0x2);_0x4608a0[_0x47abba(0x111)](),_0x1cb8fc?(_0x4608a0[_0x47abba(0x323)](_0x1cb8fc,0x0),_0x4608a0[_0x47abba(0x16d)](_0x478c14-_0x1cb8fc,0x0),_0x4608a0[_0x47abba(0x24c)](_0x478c14-_0x1cb8fc,_0x1cb8fc,_0x1cb8fc,Math['PI']*0x3/0x2,0x0,!0x1),_0x4608a0[_0x47abba(0x16d)](_0x478c14,_0x378393-_0x1cb8fc),_0x4608a0[_0x47abba(0x24c)](_0x478c14-_0x1cb8fc,_0x378393-_0x1cb8fc,_0x1cb8fc,0x0,Math['PI']/0x2,!0x1),_0x4608a0[_0x47abba(0x16d)](_0x1cb8fc,_0x378393),_0x4608a0[_0x47abba(0x24c)](_0x1cb8fc,_0x378393-_0x1cb8fc,_0x1cb8fc,Math['PI']/0x2,Math['PI'],!0x1),_0x4608a0[_0x47abba(0x16d)](0x0,_0x1cb8fc),_0x4608a0[_0x47abba(0x24c)](_0x1cb8fc,_0x1cb8fc,_0x1cb8fc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4608a0['closePath']()):(_0x4608a0[_0x47abba(0x10a)](0x0,0x0,_0x478c14,_0x378393),_0x4608a0[_0x47abba(0x164)]());}function K(_0x4f5f9a){const _0x19c4d8=_0x3d5cf7;(_0x4f5f9a==null?void 0x0:_0x4f5f9a[_0x19c4d8(0x341)])===_0x227d7f[_0x19c4d8(0x12e)]&&_0x4f5f9a['imageBitmap'][_0x19c4d8(0x342)]();}function ri(_0x334279){const _0x47c12b=_0x3d5cf7;return _0x334279[_0x47c12b(0x276)]+_0x47c12b(0x141)+_0x334279[_0x47c12b(0x131)]+_0x47c12b(0x141)+_0x334279[_0x47c12b(0x1fb)];}var ii=class extends _0x2fb1ef{constructor(..._0x19c4a6){const _0x458889=_0x3d5cf7;super(..._0x19c4a6),G(this,_0x458889(0xf4),new Map());}[_0x3d5cf7(0x8f)](_0x525849){const _0x5fcd2f=_0x3d5cf7;let _0x2ab717=ri(_0x525849),_0x435170=this[_0x5fcd2f(0xf4)][_0x5fcd2f(0xd7)](_0x2ab717)??{'version':0x0};return _0x435170['version']+=0x1,this[_0x5fcd2f(0xf4)][_0x5fcd2f(0x12c)](_0x2ab717,_0x435170),_0x435170[_0x5fcd2f(0x202)];}[_0x3d5cf7(0x1c8)](_0x2e930f,_0x4ddf96){const _0x46844e=_0x3d5cf7;var _0x514092;return((_0x514092=this[_0x46844e(0xf4)][_0x46844e(0xd7)](ri(_0x2e930f)))==null?void 0x0:_0x514092[_0x46844e(0x202)])===_0x4ddf96;}[_0x3d5cf7(0xbe)](_0x3ef308,_0x2fbb00,_0x25e6a1){const _0x2df860=_0x3d5cf7;if(!this[_0x2df860(0x1c8)](_0x3ef308,_0x25e6a1))return K(_0x2fbb00),!0x1;let _0x1ad480=ri(_0x3ef308),_0x66e0aa=this[_0x2df860(0xf4)][_0x2df860(0xd7)](_0x1ad480)??{'version':_0x25e6a1},_0x1b822e=_0x66e0aa[_0x2df860(0xa8)];return _0x66e0aa[_0x2df860(0xa8)]=_0x2fbb00,_0x66e0aa[_0x2df860(0x202)]=_0x25e6a1,this['_entries'][_0x2df860(0x12c)](_0x1ad480,_0x66e0aa),_0x1b822e!==_0x2fbb00&&K(_0x1b822e),!0x0;}['getImage'](_0xc02243){const _0x5701f8=_0x3d5cf7;var _0x5aef5b;return(_0x5aef5b=this[_0x5701f8(0xf4)][_0x5701f8(0xd7)](ri(_0xc02243)))==null?void 0x0:_0x5aef5b[_0x5701f8(0xa8)];}[_0x3d5cf7(0x30d)](_0x5a79f1){const _0x21f408=_0x3d5cf7;let _0x1abcb4=ri(_0x5a79f1),_0x2abc1e=this[_0x21f408(0xf4)][_0x21f408(0xd7)](_0x1abcb4);_0x2abc1e&&(K(_0x2abc1e[_0x21f408(0xa8)]),this[_0x21f408(0xf4)]['delete'](_0x1abcb4));}[_0x3d5cf7(0x218)](_0x252fe1){const _0x474bff=_0x3d5cf7;for(let [_0x2ec508,_0x36fd93]of this[_0x474bff(0xf4)])_0x2ec508[_0x474bff(0x256)](_0x474bff(0x141)+_0x252fe1)&&(K(_0x36fd93[_0x474bff(0xa8)]),this['_entries'][_0x474bff(0x115)](_0x2ec508));}[_0x3d5cf7(0x23e)](){const _0x425918=_0x3d5cf7;this['_entries']['forEach'](_0x59c73c=>K(_0x59c73c['image'])),this['_entries'][_0x425918(0xc9)](),super[_0x425918(0x23e)]();}};function ai(_0xa2971e,_0x5afb0f=0x7d0){let _0x1feebe=null,_0x5ea12b=null,_0x1d1acd=!0x1,_0x2eaf1f=()=>{},_0xe2d283=()=>{_0x1feebe!=null&&(clearInterval(_0x1feebe),_0x1feebe=null),_0x5ea12b!=null&&(clearTimeout(_0x5ea12b),_0x5ea12b=null);};return{'promise':new Promise((_0x21f331,_0x4512e5)=>{_0x2eaf1f=_0x4512e5;let _0x1c61c1=()=>{const _0x1e721e=_0x128e;let _0xb30c25=document[_0x1e721e(0x1c5)](_0xa2971e);_0xb30c25&&!_0x1d1acd&&(_0x1d1acd=!0x0,_0xe2d283(),_0x21f331(_0xb30c25));};_0x1c61c1(),!_0x1d1acd&&(_0x1feebe=setInterval(_0x1c61c1,16.666666666666668),_0x5ea12b=setTimeout(()=>{_0x1d1acd||(_0x1d1acd=!0x0,_0xe2d283(),_0x4512e5(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0xa2971e+'\x22.')));},_0x5afb0f));}),'cancel':()=>{_0x1d1acd||(_0x1d1acd=!0x0,_0xe2d283(),_0x2eaf1f(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0xa2971e+'\x22.')));}};}var oi=class extends _0x2fb1ef{constructor(_0x48cc39,_0x101f87,_0x324e78,_0x478f09,_0x3679a3,_0x1f0544,_0x5757e0,_0x117055){const _0x319b29=_0x3d5cf7;super(),this[_0x319b29(0x1fb)]=_0x48cc39,this[_0x319b29(0xfe)]=_0x101f87,this[_0x319b29(0xe5)]=_0x324e78,this[_0x319b29(0x2db)]=_0x478f09,this['_isProviderDisposed']=_0x3679a3,this[_0x319b29(0x234)]=_0x1f0544,this[_0x319b29(0x365)]=_0x5757e0,this[_0x319b29(0x2d1)]=_0x117055,G(this,'mode',_0x3fb293[_0x319b29(0x177)]),G(this,_0x319b29(0x1bd),null),G(this,_0x319b29(0x95),!0x1),G(this,_0x319b29(0x14d),null),G(this,_0x319b29(0x11c),null),G(this,'_waiter',null),G(this,'_hostStyle',{}),G(this,'_savedWrapperStyle',null),G(this,'_dataUpdateAnimationDuration',null),G(this,_0x319b29(0x16e),null);}[_0x3d5cf7(0x326)](){return this['_managed'];}['markUnmanaged'](){const _0x451fc7=_0x3d5cf7;this[_0x451fc7(0x95)]=!0x1;}[_0x3d5cf7(0x2bb)](){const _0x36f62a=_0x3d5cf7;let _0x1435ec=this['_getPlacement']();return _0x1435ec?{'width':_0x1435ec[_0x36f62a(0x1f8)],'height':_0x1435ec[_0x36f62a(0x101)]}:null;}[_0x3d5cf7(0xc8)](_0x33f8d7){const _0x833116=_0x3d5cf7;this[_0x833116(0xc0)]=_0x33f8d7,this['_setHostStyle'](_0x33f8d7),this['_applyHostStyle']();}async[_0x3d5cf7(0x340)](){const _0x5429b7=_0x3d5cf7;if(this[_0x5429b7(0x2f2)]||this[_0x5429b7(0x23a)]())throw Error(_0x5429b7(0x324));let _0x2f1607=this[_0x5429b7(0xfe)](),_0x434542=(_0x2f1607==null?void 0x0:_0x2f1607['domId'])??this[_0x5429b7(0x1fb)],_0x3117e6=document[_0x5429b7(0x1c5)](_0x434542);if(this[_0x5429b7(0x1bd)]&&_0x3117e6!=null&&_0x3117e6[_0x5429b7(0x376)](this[_0x5429b7(0x1bd)][_0x5429b7(0x22a)]))return{'mountNode':this[_0x5429b7(0x1bd)][_0x5429b7(0x22a)],'dispose':()=>{const _0x44af80=_0x5429b7;this['dispose'](),_0x2f1607==null||_0x2f1607[_0x44af80(0x23e)][_0x44af80(0x23e)]();}};if(this[_0x5429b7(0x11c)])return this['_pendingHost'];let _0xb40faa=this[_0x5429b7(0x1cb)]();return this[_0x5429b7(0x11c)]=_0xb40faa,_0xb40faa['then'](()=>{const _0x1cd05a=_0x5429b7;this[_0x1cd05a(0x11c)]===_0xb40faa&&(this['_pendingHost']=null);},()=>{const _0x5463b9=_0x5429b7;this[_0x5463b9(0x11c)]===_0xb40faa&&(this[_0x5463b9(0x11c)]=null);}),_0xb40faa;}async[_0x3d5cf7(0x200)](){const _0x935f62=_0x3d5cf7;try{return(await this[_0x935f62(0x340)]())[_0x935f62(0x22a)];}catch{return null;}}['checkMounted'](){const _0x140486=_0x3d5cf7;let _0x1f3872=this['_getFloatDomInfo'](),_0x24bdcd=(_0x1f3872==null?void 0x0:_0x1f3872[_0x140486(0x2f7)])??this['chartId'],_0x534e4d=document[_0x140486(0x1c5)](_0x24bdcd);return!!(this[_0x140486(0x1bd)]&&_0x534e4d!=null&&_0x534e4d[_0x140486(0x376)](this[_0x140486(0x1bd)][_0x140486(0x22a)]));}[_0x3d5cf7(0x203)](){const _0x2c22b9=_0x3d5cf7;if(!this[_0x2c22b9(0x1bd)])return;let _0x334824=this['_getPlacement']();_0x334824&&this[_0x2c22b9(0x1bd)][_0x2c22b9(0x2e3)](this[_0x2c22b9(0xdd)](_0x334824),this[_0x2c22b9(0x359)]());}[_0x3d5cf7(0x300)](){const _0x5513ff=_0x3d5cf7;this[_0x5513ff(0x234)]();}['markNotReady'](){this['_markNotReady']();}[_0x3d5cf7(0x2c2)](_0x565836){const _0x107609=_0x3d5cf7;this[_0x107609(0x372)]=_0x565836;let _0x1e8250=this[_0x107609(0xfe)](),_0x52917f=document['getElementById']((_0x1e8250==null?void 0x0:_0x1e8250['domId'])??this['chartId']);_0x52917f&&this[_0x107609(0x126)](_0x52917f);}[_0x3d5cf7(0x23e)](){const _0x59b49a=_0x3d5cf7;var _0x187969,_0x101c99;this['_disposed']||(this['markNotReady'](),this[_0x59b49a(0x14d)]=null,this['_pendingHost']=null,this['_cancelHostWait'](),this['_managed']=!0x1,this[_0x59b49a(0x372)]=null,(_0x187969=this['_pointerEvents'])==null||_0x187969['dispose'](),this[_0x59b49a(0x16e)]=null,(_0x101c99=this[_0x59b49a(0x1bd)])==null||_0x101c99['dispose'](),this[_0x59b49a(0x1bd)]=null,this[_0x59b49a(0x333)](),super[_0x59b49a(0x23e)]());}async[_0x3d5cf7(0x1cb)](){const _0x38cc8f=_0x3d5cf7;let _0x4e15da=this[_0x38cc8f(0xfe)]();if(!_0x4e15da)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0xae38aa=_0x4e15da[_0x38cc8f(0x2f7)]??this[_0x38cc8f(0x1fb)],_0x3e53b2=ai(_0xae38aa),_0x5b9ee6=Symbol(this[_0x38cc8f(0x1fb)]);this[_0x38cc8f(0x14d)]=_0x5b9ee6,this['_waiter']=_0x3e53b2;try{var _0x1d3e36;let _0x44776d=await _0x3e53b2[_0x38cc8f(0x102)],_0x4ba6e4=this[_0x38cc8f(0xfe)](),_0x26ef27=(_0x4ba6e4==null?void 0x0:_0x4ba6e4[_0x38cc8f(0x2f7)])??this[_0x38cc8f(0x1fb)];if(this[_0x38cc8f(0x2f2)]||this[_0x38cc8f(0x23a)]()||this[_0x38cc8f(0x14d)]!==_0x5b9ee6||!_0x4ba6e4||_0x26ef27!==_0xae38aa||document['getElementById'](_0xae38aa)!==_0x44776d||!_0x44776d[_0x38cc8f(0x19a)])throw Error(_0x38cc8f(0x324));let _0x29675e=this[_0x38cc8f(0xe5)]();if(!_0x29675e)throw Error(_0x38cc8f(0x324));let _0x3d3037=new _0x276764(_0x44776d);return _0x3d3037[_0x38cc8f(0x2e3)](this[_0x38cc8f(0xdd)](_0x29675e),this[_0x38cc8f(0x359)]()),this[_0x38cc8f(0x208)](_0x44776d),this[_0x38cc8f(0x1bd)]=_0x3d3037,(_0x1d3e36=this['_pointerEvents'])==null||_0x1d3e36['dispose'](),this[_0x38cc8f(0x16e)]=this[_0x38cc8f(0x2d1)](_0x44776d),this['_managed']=!0x0,{'mountNode':_0x3d3037[_0x38cc8f(0x22a)],'dispose':()=>{const _0xecae4a=_0x38cc8f;this[_0xecae4a(0x23e)](),_0x4e15da[_0xecae4a(0x23e)][_0xecae4a(0x23e)]();}};}finally{this['_waiter']===_0x3e53b2&&(this[_0x38cc8f(0x24f)]=null),this[_0x38cc8f(0x14d)]===_0x5b9ee6&&(this[_0x38cc8f(0x14d)]=null);}}[_0x3d5cf7(0x1de)](){const _0x1bf723=_0x3d5cf7;let _0x2dea4c=this['_waiter'];_0x2dea4c&&(_0x2dea4c[_0x1bf723(0x301)](),this[_0x1bf723(0x24f)]=null);}[_0x3d5cf7(0x1a9)](){const _0x161fcd=_0x3d5cf7;let _0x61f38f=this[_0x161fcd(0xe5)]();this[_0x161fcd(0x1bd)]&&_0x61f38f&&this[_0x161fcd(0x1bd)][_0x161fcd(0x2e3)](this['_resolveLayout'](_0x61f38f),this['_frameStyle']());}[_0x3d5cf7(0xdd)](_0x285813){const _0x20500d=_0x3d5cf7;return _0x20f2ca['resolve']({'logicalOuterRect':{'left':_0x285813[_0x20500d(0xfa)],'top':_0x285813[_0x20500d(0x15a)],'width':_0x285813['width'],'height':_0x285813['height']},'scale':{'scaleX':_0x285813[_0x20500d(0x231)],'scaleY':_0x285813[_0x20500d(0x1a4)]},'hostStyle':this[_0x20500d(0x359)](),'contentMode':_0x3efb2b[_0x20500d(0x2bf)]});}[_0x3d5cf7(0x359)](){return{...this['_hostStyle'],'radius':_0x1c6c71};}[_0x3d5cf7(0x208)](_0x470945){const _0x2a4b6a=_0x3d5cf7;let _0x1264d4=_0x470945[_0x2a4b6a(0x2f4)];_0x1264d4&&(this[_0x2a4b6a(0x93)]||={'zIndex':_0x1264d4[_0x2a4b6a(0x27c)][_0x2a4b6a(0x244)],'pointerEvents':_0x1264d4['style']['pointerEvents']},_0x1264d4['style']['zIndex']=_0x2a4b6a(0x266),this[_0x2a4b6a(0x126)](_0x470945));}[_0x3d5cf7(0x126)](_0x4a95d3){const _0x579021=_0x3d5cf7;let _0x7aac23=_0x4a95d3['parentElement'];if(!_0x7aac23)return;let _0x25f2ec=this[_0x579021(0x372)];_0x25f2ec==null?(delete _0x4a95d3[_0x579021(0x2ab)][_0x579021(0xef)],delete _0x4a95d3[_0x579021(0x2ab)]['sheetChartDataAnimationDuration'],_0x7aac23[_0x579021(0x27c)][_0x579021(0x25e)]='auto'):(_0x4a95d3[_0x579021(0x2ab)][_0x579021(0xef)]='true',_0x4a95d3[_0x579021(0x2ab)][_0x579021(0x227)]=String(_0x25f2ec),_0x7aac23[_0x579021(0x27c)]['pointerEvents']='none');}[_0x3d5cf7(0x333)](){const _0x4dbc9b=_0x3d5cf7;if(!this[_0x4dbc9b(0x93)])return;let _0x2577b6=this[_0x4dbc9b(0xfe)](),_0x266221=(_0x2577b6==null?void 0x0:_0x2577b6[_0x4dbc9b(0x2f7)])??this[_0x4dbc9b(0x1fb)],_0x1194eb=document[_0x4dbc9b(0x1c5)](_0x266221);_0x1194eb==null||delete _0x1194eb[_0x4dbc9b(0x2ab)][_0x4dbc9b(0xef)],_0x1194eb==null||delete _0x1194eb[_0x4dbc9b(0x2ab)][_0x4dbc9b(0x227)];let _0x6adca1=_0x1194eb==null?void 0x0:_0x1194eb[_0x4dbc9b(0x2f4)];_0x6adca1&&(_0x6adca1['style'][_0x4dbc9b(0x244)]=this['_savedWrapperStyle']['zIndex'],_0x6adca1[_0x4dbc9b(0x27c)][_0x4dbc9b(0x25e)]=this[_0x4dbc9b(0x93)][_0x4dbc9b(0x25e)]),this[_0x4dbc9b(0x93)]=null;}},si=class extends _0x2fb1ef{constructor(_0x366d74,_0x4d5140,_0x2c0e60,_0x20396f){const _0x4ce989=_0x3d5cf7;super(),this[_0x4ce989(0x1d5)]=_0x4d5140,G(this,_0x4ce989(0xfb),null),G(this,_0x4ce989(0xcb),!0x1);let _0x570873=_0x31d620=>{const _0x23747a=_0x4ce989;this[_0x23747a(0xcb)]&&(_0x31d620['preventDefault'](),_0x31d620[_0x23747a(0x248)]());},_0x1e8cdc=_0x30255e=>{const _0x20fdfb=_0x4ce989;let _0x36f231=this['_gesture'];(_0x36f231==null?void 0x0:_0x36f231[_0x20fdfb(0x357)]['pointerId'])===_0x30255e[_0x20fdfb(0x17a)]&&!_0x36f231['target'][_0x20fdfb(0x2b3)](_0x30255e[_0x20fdfb(0x17a)])&&this['_cancelGesture']();};_0x366d74['addEventListener']('click',_0x570873,!0x0),_0x366d74[_0x4ce989(0x10f)](_0x4ce989(0x33a),_0x570873,!0x0),_0x366d74[_0x4ce989(0x10f)](_0x4ce989(0xcf),_0x1e8cdc),this[_0x4ce989(0x2c6)](_0x2aec9e(()=>{const _0x4bc9b1=_0x4ce989;_0x366d74[_0x4bc9b1(0x369)](_0x4bc9b1(0x178),_0x570873,!0x0),_0x366d74['removeEventListener'](_0x4bc9b1(0x33a),_0x570873,!0x0),_0x366d74[_0x4bc9b1(0x369)](_0x4bc9b1(0xcf),_0x1e8cdc),_0x20396f(_0x4d5140);})),this[_0x4ce989(0x2c6)](_0x2c0e60[_0x4ce989(0x36f)](()=>{const _0x151667=_0x4ce989;this['_gesture']&&(this[_0x151667(0xcb)]=!0x0);})),_0x20396f({'onPointerDown':_0x4934a2=>{const _0x45c918=_0x4ce989;this[_0x45c918(0xcb)]=!0x1,_0x4934a2 instanceof PointerEvent&&_0x4934a2[_0x45c918(0x322)]instanceof Element&&_0x366d74[_0x45c918(0x376)](_0x4934a2[_0x45c918(0x322)])&&(this[_0x45c918(0xfb)]={'target':_0x4934a2['target'],'event':_0x4934a2}),_0x4d5140[_0x45c918(0x1ec)](_0x4934a2),this[_0x45c918(0x13d)](_0x4934a2);},'onPointerMove':_0x3c359e=>{const _0xbc9fa7=_0x4ce989;_0x4d5140['onPointerMove'](_0x3c359e),this[_0xbc9fa7(0x13d)](_0x3c359e);},'onPointerUp':_0x38e74a=>{const _0x2b9d9d=_0x4ce989;try{_0x4d5140[_0x2b9d9d(0x33d)](_0x38e74a);}finally{var _0x31073f;_0x38e74a instanceof PointerEvent&&((_0x31073f=this[_0x2b9d9d(0xfb)])==null?void 0x0:_0x31073f[_0x2b9d9d(0x357)][_0x2b9d9d(0x17a)])===_0x38e74a['pointerId']&&this['_releaseGesture']();}}});}[_0x3d5cf7(0x23e)](){const _0x279941=_0x3d5cf7;this[_0x279941(0x2f2)]||(this[_0x279941(0x29a)](),super[_0x279941(0x23e)]());}['_keepChartCapture'](_0x49f1a8){const _0x3bd8a4=_0x3d5cf7;let _0x237e06=this[_0x3bd8a4(0xfb)];_0x49f1a8 instanceof PointerEvent&&(_0x237e06==null?void 0x0:_0x237e06[_0x3bd8a4(0x357)][_0x3bd8a4(0x17a)])===_0x49f1a8[_0x3bd8a4(0x17a)]&&(_0x237e06[_0x3bd8a4(0x357)]=_0x49f1a8,_0x237e06[_0x3bd8a4(0x322)][_0x3bd8a4(0x19a)]?_0x237e06[_0x3bd8a4(0x322)][_0x3bd8a4(0xde)](_0x49f1a8[_0x3bd8a4(0x17a)]):this[_0x3bd8a4(0x29a)]());}[_0x3d5cf7(0x34b)](){const _0x26c8c0=_0x3d5cf7;let _0x625ef5=this[_0x26c8c0(0xfb)];this[_0x26c8c0(0xfb)]=null,_0x625ef5!=null&&_0x625ef5[_0x26c8c0(0x322)]['hasPointerCapture'](_0x625ef5['event']['pointerId'])&&_0x625ef5[_0x26c8c0(0x322)][_0x26c8c0(0x258)](_0x625ef5[_0x26c8c0(0x357)]['pointerId']);}[_0x3d5cf7(0x29a)](){const _0x5880f9=_0x3d5cf7;let _0x244ae1=this[_0x5880f9(0xfb)];this[_0x5880f9(0x34b)](),_0x244ae1&&this[_0x5880f9(0x1d5)]['onPointerUp'](new PointerEvent(_0x5880f9(0x2af),_0x244ae1['event']));}},ci=class extends _0x16d275{constructor(_0x3c9060,_0x14241a,_0x263c7b,_0x748e0a,_0x87b88e,_0x3092ca){const _0xbb1720=_0x3d5cf7;super(_0x3c9060),this[_0xbb1720(0x127)]=_0x14241a,this[_0xbb1720(0x2db)]=_0x263c7b,this[_0xbb1720(0x35d)]=_0x748e0a,this['_snapshotStore']=_0x87b88e,this[_0xbb1720(0x26e)]=_0x3092ca;}[_0x3d5cf7(0x2bb)](){const _0x77792f=_0x3d5cf7;let _0x207072=this[_0x77792f(0x127)]();return _0x207072?Zr(_0x207072):null;}[_0x3d5cf7(0xc8)](_0x102abf){this['_setHostStyle'](_0x102abf);}[_0x3d5cf7(0x8f)](){const _0x4f8700=_0x3d5cf7;return this['_snapshotStore'][_0x4f8700(0x8f)](this[_0x4f8700(0x35d)]);}[_0x3d5cf7(0x1ce)](_0x40878b,_0x243a7d){const _0x3aa822=_0x3d5cf7;return this[_0x3aa822(0xd8)]['setImage'](this[_0x3aa822(0x35d)],_0x40878b,_0x243a7d);}['requestPaint'](){const _0x35718a=_0x3d5cf7;this[_0x35718a(0x26e)]();}[_0x3d5cf7(0x338)](){const _0x1fdbc9=_0x3d5cf7;this[_0x1fdbc9(0xd8)][_0x1fdbc9(0x8f)](this[_0x1fdbc9(0x35d)]);}};function q(_0x1a8f29,_0x567d84){return function(_0x3c3300,_0x5af000){_0x567d84(_0x3c3300,_0x5af000,_0x1a8f29);};}function J(_0x136f8e,_0x1db4c4,_0x265f94,_0x2f305a){const _0x184848=_0x3d5cf7;var _0x2f413f=arguments[_0x184848(0x136)],_0x55061a=_0x2f413f<0x3?_0x1db4c4:_0x2f305a===null?_0x2f305a=Object[_0x184848(0x30b)](_0x1db4c4,_0x265f94):_0x2f305a,_0x580831;if(typeof Reflect==_0x184848(0x259)&&typeof Reflect['decorate']==_0x184848(0x2de))_0x55061a=Reflect[_0x184848(0xa7)](_0x136f8e,_0x1db4c4,_0x265f94,_0x2f305a);else{for(var _0x1ee521=_0x136f8e[_0x184848(0x136)]-0x1;_0x1ee521>=0x0;_0x1ee521--)(_0x580831=_0x136f8e[_0x1ee521])&&(_0x55061a=(_0x2f413f<0x3?_0x580831(_0x55061a):_0x2f413f>0x3?_0x580831(_0x1db4c4,_0x265f94,_0x55061a):_0x580831(_0x1db4c4,_0x265f94))||_0x55061a);}return _0x2f413f>0x3&&_0x55061a&&Object[_0x184848(0xa2)](_0x1db4c4,_0x265f94,_0x55061a),_0x55061a;}const li=0.5;function ui(_0x4aac08){const _0x2b49=_0x3d5cf7;let _0x38fb7d=Math[_0x2b49(0xf7)](_0x4aac08[_0x2b49(0x347)]-_0x4aac08[_0x2b49(0x125)],0x0),_0x189e8f=Math[_0x2b49(0xf7)](_0x4aac08['endY']-_0x4aac08[_0x2b49(0x212)],0x0),_0x1ff101=_0x4aac08[_0x2b49(0x2f0)][_0x2b49(0xfa)]&&_0x4aac08[_0x2b49(0x1f8)]-_0x38fb7d>li,_0x1af63b=_0x4aac08['absolute']['top']&&_0x4aac08[_0x2b49(0x101)]-_0x189e8f>li;return!_0x1ff101&&!_0x1af63b?_0x4aac08:{..._0x4aac08,'absolute':{'left':!_0x1ff101&&_0x4aac08['absolute'][_0x2b49(0xfa)],'top':!_0x1af63b&&_0x4aac08['absolute']['top']}};}function di(_0x2dade9){const _0x5e8338=_0x3d5cf7;if(!Object['prototype'][_0x5e8338(0x2d4)][_0x5e8338(0x1f4)](_0x2dade9,'border'))return _0x2dade9;let {border:_0x287795,..._0x1b1b28}=_0x2dade9;return{..._0x1b1b28,'stroke':(_0x287795==null?void 0x0:_0x287795['color'])??_0x5e8338(0x140),'strokeWidth':(_0x287795==null?void 0x0:_0x287795[_0x5e8338(0x1f8)])??0x0};}let fi=class extends _0x2fb1ef{constructor(_0x3ebba5,_0x420d30,_0x54d789,_0x2eb765){const _0x152362=_0x3d5cf7;super(),this['_sheetCanvasFloatDomManagerService']=_0x3ebba5,this[_0x152362(0x2e4)]=_0x420d30,this[_0x152362(0x2dc)]=_0x54d789,this['_canvasFloatDomService']=_0x2eb765,G(this,_0x152362(0x34d),new Map()),G(this,_0x152362(0x1ed),new Set()),G(this,_0x152362(0x270),new _0x241224()),G(this,_0x152362(0x304),this[_0x152362(0x270)][_0x152362(0x12b)]()),this[_0x152362(0x2c6)](this[_0x152362(0x1b0)][_0x152362(0x1ef)][_0x152362(0x36f)](_0x245a18=>{const _0x898f10=_0x152362;let _0x285b11=this[_0x898f10(0x34d)][_0x898f10(0xd7)](_0x245a18['id']);_0x285b11!=null&&_0x285b11['isManaged']()&&(_0x285b11[_0x898f10(0x295)](),this['_removeHost$'][_0x898f10(0x210)](_0x245a18['id']));}));}['_getSceneAndTransformerByDrawingSearch'](_0x3b4b6d){const _0x420ced=_0x3d5cf7;if(_0x3b4b6d==null)return;let _0x8a6b66=this[_0x420ced(0x2e4)][_0x420ced(0x215)](_0x3b4b6d),_0x414e9e=_0x8a6b66==null?void 0x0:_0x8a6b66[_0x420ced(0x201)];return _0x8a6b66==null||_0x414e9e==null?null:{'scene':_0x414e9e,'transformer':_0x414e9e[_0x420ced(0xf3)](),'renderUnit':_0x8a6b66,'canvas':_0x8a6b66[_0x420ced(0x337)][_0x420ced(0x92)]()};}[_0x3d5cf7(0x20a)](_0x5a5528,_0x11fece){const _0x57dfa7=_0x3d5cf7;let _0x2e036a=this[_0x57dfa7(0x1b0)],_0x51be12=_0x11fece||_0x57dfa7(0x140),_0x243065=_0x2e036a[_0x57dfa7(0x25b)](_0x5a5528);if(_0x243065){let {unitId:_0x77b3f9,subUnitId:_0x2ee2d1}=_0x243065;_0x2e036a[_0x57dfa7(0x2a6)](_0x77b3f9,_0x2ee2d1,_0x5a5528,{'stroke':_0x51be12});}}[_0x3d5cf7(0x2a4)](_0x5d26d8,_0x1baf23){const _0x342d4d=_0x3d5cf7;let _0x550742=this[_0x342d4d(0x1b0)],_0x1d6fad=_0x550742['getFloatDomInfo'](_0x5d26d8);if(_0x1d6fad){let {unitId:_0x26da15,subUnitId:_0x364b0c}=_0x1d6fad;_0x550742[_0x342d4d(0x2a6)](_0x26da15,_0x364b0c,_0x5d26d8,di(_0x1baf23));}}[_0x3d5cf7(0x1cf)](_0x2b0a5d){const _0x1282ea=_0x3d5cf7;let _0x2f43ca=this[_0x1282ea(0x1b0)][_0x1282ea(0x25b)](_0x2b0a5d);return _0x2f43ca?_0x2f43ca[_0x1282ea(0x10a)]:null;}[_0x3d5cf7(0xdb)](_0x3d8ede){const _0x4ee8a4=_0x3d5cf7;let _0x521556=this[_0x4ee8a4(0x1b0)]['getFloatDomInfo'](_0x3d8ede),_0xd28738=document[_0x4ee8a4(0x1c5)]((_0x521556==null?void 0x0:_0x521556[_0x4ee8a4(0x2f7)])??_0x3d8ede);return(_0xd28738==null?void 0x0:_0xd28738[_0x4ee8a4(0xa4)]())??null;}[_0x3d5cf7(0x2c2)](_0x484f57,_0x471ee6){const _0x1331e1=_0x3d5cf7;var _0x5e0141;(_0x5e0141=this[_0x1331e1(0x34d)][_0x1331e1(0xd7)](_0x484f57))==null||_0x5e0141[_0x1331e1(0x2c2)](_0x471ee6);}['checkHost'](_0x4aa63e){const _0x268d5f=_0x3d5cf7;var _0x1784f0;return((_0x1784f0=this[_0x268d5f(0x34d)][_0x268d5f(0xd7)](_0x4aa63e))==null?void 0x0:_0x1784f0[_0x268d5f(0x247)]())??!0x1;}[_0x3d5cf7(0x27d)](_0x245f78){var _0x42c568;(_0x42c568=this['_chartHostMap']['get'](_0x245f78))==null||_0x42c568['syncLayout']();}[_0x3d5cf7(0xb3)](_0x569645){const _0x3b4cd8=_0x3d5cf7;let _0x40e4d7=this[_0x3b4cd8(0x34d)][_0x3b4cd8(0xd7)](_0x569645);_0x40e4d7&&(_0x40e4d7['dispose'](),this[_0x3b4cd8(0xd3)][_0x3b4cd8(0x174)](_0x569645,{'eventPassThrough':!0x0})),this[_0x3b4cd8(0x34d)]['delete'](_0x569645);}async[_0x3d5cf7(0x2ea)](_0x1bce7b,_0x5f087f){const _0x5d874f=_0x3d5cf7;if(_0x5f087f===_0x3fb293[_0x5d874f(0x21c)])return this[_0x5d874f(0x2c8)](_0x1bce7b);if(_0x5f087f===_0x3fb293[_0x5d874f(0x177)])return this[_0x5d874f(0x14a)](_0x1bce7b);let _0x358ff7=this['_getOrCreateSheetChartHost'](_0x1bce7b);if(!_0x358ff7)throw Error(_0x5d874f(0x324));return _0x358ff7[_0x5d874f(0x340)]();}[_0x3d5cf7(0xe0)](_0x539951){const _0x50e4ae=_0x3d5cf7;var _0xa43cd7;return this[_0x50e4ae(0x1ed)]['has'](_0x539951)?(_0xa43cd7=this[_0x50e4ae(0x34d)]['get'](_0x539951))!=null&&_0xa43cd7[_0x50e4ae(0x247)]()?!0x0:(this[_0x50e4ae(0x1ed)][_0x50e4ae(0x115)](_0x539951),this['_restoreFloatDomPositionStream'](_0x539951),!0x1):!0x1;}['markHostNotReady'](_0xdca03e){const _0x4371ae=_0x3d5cf7;this[_0x4371ae(0x1ed)][_0x4371ae(0x115)](_0xdca03e)&&(this[_0x4371ae(0x21b)](_0xdca03e),this[_0x4371ae(0xec)](_0xdca03e));}[_0x3d5cf7(0x338)](_0x270874){const _0x66500c=_0x3d5cf7;let _0x40a42b=this[_0x66500c(0x132)](_0x270874);_0x40a42b&&this[_0x66500c(0x2dc)][_0x66500c(0x8f)](_0x40a42b);}[_0x3d5cf7(0x2c8)](_0x420390){const _0x567fcc=_0x3d5cf7;let _0x241530=this[_0x567fcc(0x132)](_0x420390);return!_0x241530||!this[_0x567fcc(0x1cf)](_0x420390)?null:new ci(_0x420390,()=>this[_0x567fcc(0x1cf)](_0x420390),_0x4bc0d5=>this[_0x567fcc(0x2a4)](_0x420390,_0x4bc0d5),_0x241530,this[_0x567fcc(0x2dc)],()=>this[_0x567fcc(0xec)](_0x420390));}[_0x3d5cf7(0x14a)](_0x11df8b){const _0x5d8d26=_0x3d5cf7;if(!this[_0x5d8d26(0x1cf)](_0x11df8b))return null;this['_canvasFloatDomService'][_0x5d8d26(0x174)](_0x11df8b,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x366dc2=this[_0x5d8d26(0x34d)]['get'](_0x11df8b);if(_0x366dc2)return _0x366dc2;let _0x5d0180=new oi(_0x11df8b,()=>this[_0x5d8d26(0x1b0)][_0x5d8d26(0x25b)](_0x11df8b),()=>this[_0x5d8d26(0x319)](_0x11df8b),_0x37ff87=>this[_0x5d8d26(0x2a4)](_0x11df8b,_0x37ff87),()=>this['_disposed'],()=>this['_markHostReady'](_0x11df8b),()=>this['markHostNotReady'](_0x11df8b),_0x4d664e=>this[_0x5d8d26(0x2b1)](_0x11df8b,_0x4d664e));return this[_0x5d8d26(0x34d)][_0x5d8d26(0x12c)](_0x11df8b,_0x5d0180),_0x5d0180;}[_0x3d5cf7(0x2b1)](_0x41c89e,_0x228d8f){const _0x22a026=_0x3d5cf7;var _0x46ba07;let _0x35da29=this['_sheetCanvasFloatDomManagerService'][_0x22a026(0x25b)](_0x41c89e),_0x27fcba=(_0x46ba07=this[_0x22a026(0xd3)]['domLayers'][_0x22a026(0x1c7)](([_0x3a8542])=>_0x3a8542===_0x41c89e))==null?void 0x0:_0x46ba07[0x1],_0x19f7ec=_0x35da29?this[_0x22a026(0x2e2)](_0x35da29['unitId']):null;if(!_0x35da29||!_0x27fcba||!_0x19f7ec)return _0x2aec9e(()=>{});let _0x75c6ad=_0x803bf4({'unitId':_0x35da29[_0x22a026(0x276)],'subUnitId':_0x35da29[_0x22a026(0x131)],'drawingId':_0x41c89e});return new si(_0x228d8f,{'onPointerDown':_0x27fcba['onPointerDown'],'onPointerMove':_0x27fcba[_0x22a026(0x19c)],'onPointerUp':_0x27fcba[_0x22a026(0x33d)]},_0x19f7ec['transformer'][_0x22a026(0x2a5)][_0x22a026(0xbc)](_0x529ef0(_0x2a557b=>_0x2a557b['objects'][_0x22a026(0x36c)](_0x75c6ad)&&((_0x2a557b['moveX']??0x0)!==0x0||(_0x2a557b[_0x22a026(0x281)]??0x0)!==0x0))),_0x6bc068=>this[_0x22a026(0xd3)]['updateFloatDom'](_0x41c89e,_0x6bc068));}[_0x3d5cf7(0x19e)](_0x51fedd){const _0x58e60d=_0x3d5cf7;this[_0x58e60d(0x1ed)][_0x58e60d(0x36c)](_0x51fedd)||(this[_0x58e60d(0x1ed)][_0x58e60d(0x25f)](_0x51fedd),this['_alignFloatDomPositionWithSceneRender'](_0x51fedd),this[_0x58e60d(0xec)](_0x51fedd));}[_0x3d5cf7(0x172)](_0x5bf661){const _0x13a5e6=_0x3d5cf7;var _0xaac0a2;let _0x52ea2d=this[_0x13a5e6(0x1b0)]['getFloatDomInfo'](_0x5bf661),_0x4fc8d1=_0x52ea2d?(_0xaac0a2=this[_0x13a5e6(0x2e4)][_0x13a5e6(0x215)](_0x52ea2d[_0x13a5e6(0x276)]))==null?void 0x0:_0xaac0a2['scene']:null;if(!_0x52ea2d||!_0x4fc8d1)return;let _0xcc4239=_0x13ca18(_0x52ea2d[_0x13a5e6(0x2fd)]['pipe'](_0x4b99c4(0x1)),_0x4fc8d1[_0x13a5e6(0x1f0)][_0x13a5e6(0xbc)](_0x58a9c1(_0x52ea2d['position$']),_0x5ae0a1(([,_0x279485])=>_0x279485)))[_0x13a5e6(0xbc)](_0x4efa49(),_0x5ae0a1(ui));this[_0x13a5e6(0xd3)]['updateFloatDom'](_0x5bf661,{'position$':_0xcc4239});}[_0x3d5cf7(0x21b)](_0x584a01){const _0x32d671=_0x3d5cf7;let _0x3dbed9=this[_0x32d671(0x1b0)]['getFloatDomInfo'](_0x584a01);_0x3dbed9&&this[_0x32d671(0xd3)][_0x32d671(0x174)](_0x584a01,{'position$':_0x3dbed9[_0x32d671(0x2fd)]});}['_getChartSnapshotKey'](_0x23745b){const _0xcaca33=_0x3d5cf7;let _0x1172c8=this[_0xcaca33(0x1b0)][_0xcaca33(0x25b)](_0x23745b);return _0x1172c8?{'unitId':_0x1172c8[_0xcaca33(0x276)],'subUnitId':_0x1172c8[_0xcaca33(0x131)],'chartId':_0x23745b}:null;}[_0x3d5cf7(0xec)](_0x2425b6){const _0x136a61=_0x3d5cf7;var _0x59f9be,_0x29cd0d,_0x376ea1;let _0x24a0b4=this[_0x136a61(0x1b0)][_0x136a61(0x25b)](_0x2425b6);if(!_0x24a0b4)return;let _0x1d0b55=(_0x59f9be=this[_0x136a61(0x2e4)][_0x136a61(0x215)](_0x24a0b4[_0x136a61(0x276)]))==null?void 0x0:_0x59f9be['scene'],_0x2a935c=(_0x1d0b55==null||(_0x29cd0d=_0x1d0b55['getObjectIncludeInGroup'])==null?void 0x0:_0x29cd0d[_0x136a61(0x1f4)](_0x1d0b55,_0x803bf4({'unitId':_0x24a0b4[_0x136a61(0x276)],'subUnitId':_0x24a0b4['subUnitId'],'drawingId':_0x2425b6})))??(_0x1d0b55==null?void 0x0:_0x1d0b55[_0x136a61(0x251)](_0x803bf4({'unitId':_0x24a0b4[_0x136a61(0x276)],'subUnitId':_0x24a0b4[_0x136a61(0x131)],'drawingId':_0x2425b6})))??null;_0x2a935c==null||(_0x376ea1=_0x2a935c[_0x136a61(0x26d)])==null||_0x376ea1[_0x136a61(0x1f4)](_0x2a935c,!0x0),_0x1d0b55==null||_0x1d0b55['makeDirty'](!0x0);}['_getHostPlacement'](_0x1d4ca8){const _0x1db35e=_0x3d5cf7;let _0x22f5c2=this[_0x1db35e(0x1b0)]['getFloatDomInfo'](_0x1d4ca8);if(!_0x22f5c2)return null;let _0x1b62bd=this[_0x1db35e(0x2e2)](_0x22f5c2['unitId']),_0x28be52=_0x1b62bd==null?void 0x0:_0x1b62bd[_0x1db35e(0x201)],_0x55df07=document[_0x1db35e(0x1c5)](_0x22f5c2[_0x1db35e(0x2f7)]??_0x1d4ca8);return Qr(_0x22f5c2[_0x1db35e(0x10a)],{'scaleX':(_0x28be52==null?void 0x0:_0x28be52['scaleX'])??0x1,'scaleY':(_0x28be52==null?void 0x0:_0x28be52[_0x1db35e(0x1a4)])??0x1},_0x55df07?{'left':_0x55df07[_0x1db35e(0x28b)],'top':_0x55df07['offsetTop']}:void 0x0);}[_0x3d5cf7(0x23e)](){const _0x401511=_0x3d5cf7;this['_disposed']||(Array[_0x401511(0x13f)](this[_0x401511(0x34d)][_0x401511(0x216)]())['forEach'](_0x55d2e4=>this[_0x401511(0xb3)](_0x55d2e4)),this[_0x401511(0x1ed)][_0x401511(0xc9)](),this[_0x401511(0x270)][_0x401511(0x1da)](),super['dispose']());}};fi=J([q(0x0,_0x2412ba(_0x2c89c3)),q(0x1,_0x2412ba(_0x41dfd3)),q(0x2,_0x2412ba(ii)),q(0x3,_0x2412ba(_0x596dee))],fi);const pi=_0x11672e(_0x3d5cf7(0xe8)),mi=_0x3fb293[_0x3d5cf7(0x21c)];var hi=class extends _0x16d275{constructor(_0x213a36,_0x67cbdf){const _0x14637f=_0x3d5cf7;super(_0x213a36),this['_rect']=_0x67cbdf,G(this,_0x14637f(0x20e),0x0),G(this,'_image',void 0x0),G(this,'style',{});}[_0x3d5cf7(0x2bb)](){const _0x54d57d=_0x3d5cf7;return this[_0x54d57d(0x1a7)];}[_0x3d5cf7(0xc8)](_0x51da10){const _0x227c54=_0x3d5cf7;this[_0x227c54(0x27c)]=_0x51da10;}[_0x3d5cf7(0x8f)](){const _0x4b7a2d=_0x3d5cf7;return++this[_0x4b7a2d(0x20e)];}[_0x3d5cf7(0x1ce)](_0x8f16b5,_0x344f62){const _0x34f1a6=_0x3d5cf7;return _0x344f62===this[_0x34f1a6(0x20e)]?(K(this[_0x34f1a6(0x124)]),this[_0x34f1a6(0x124)]=_0x8f16b5,!0x0):(K(_0x8f16b5),!0x1);}['requestPaint'](){}[_0x3d5cf7(0x338)](){const _0x32a03a=_0x3d5cf7;this[_0x32a03a(0x20e)]+=0x1;}['takeSnapshot'](){const _0x5f1a5e=_0x3d5cf7;let _0x5a2922=this[_0x5f1a5e(0x124)];return this['_image']=void 0x0,_0x5a2922;}[_0x3d5cf7(0x23e)](){const _0xd32e86=_0x3d5cf7;K(this[_0xd32e86(0x124)]),this[_0xd32e86(0x124)]=void 0x0,super['dispose']();}};function gi(_0x47432c,_0x5b6e73,_0x152ca6){let _0x130774=_0x47432c['getRuntimeContext'](_0x5b6e73),_0x785efe={..._0x47432c['style'],'runtime':{..._0x130774,'layoutInset':0x8,..._0x152ca6===void 0x0?{}:{'addWatermark':_0x152ca6}},'direction':_0x5b6e73};return _0xa22984(_0x785efe,_0x47432c['chartType']);}let Y=class extends _0x2fb1ef{constructor(_0x443560,_0xcba27f,_0x939a40,_0x102c53,_0x21e5b1,_0x5eb076,_0x4a807b,_0x34a320,_0x2038b9,_0xfc2998,_0x5eca14,_0x20c68b,_0x2e742d){const _0x173f26=_0x3d5cf7;super(),this[_0x173f26(0x2ef)]=_0x443560,this[_0x173f26(0x1b0)]=_0xcba27f,this[_0x173f26(0x14f)]=_0x939a40,this[_0x173f26(0x186)]=_0x102c53,this[_0x173f26(0x2e0)]=_0x21e5b1,this['_renderManagerService']=_0x5eb076,this[_0x173f26(0x320)]=_0x4a807b,this['_injector']=_0x34a320,this[_0x173f26(0x30a)]=_0x2038b9,this['_themeService']=_0xfc2998,this[_0x173f26(0x28d)]=_0x5eca14,this[_0x173f26(0x2dc)]=_0x20c68b,this[_0x173f26(0x1ac)]=_0x2e742d,G(this,'_chartInstanceMap',new Map()),G(this,_0x173f26(0xc2),new Map()),G(this,_0x173f26(0x2a1),new Map()),G(this,'_chartElementEditMode',new Map()),G(this,_0x173f26(0x160),new Map()),G(this,_0x173f26(0x32b),new Map()),G(this,_0x173f26(0x1fe),new Map()),G(this,_0x173f26(0x29e),void 0x0),G(this,'_addWatermark',void 0x0),G(this,_0x173f26(0x137),new Map()),G(this,'_dataUpdateAnimationChartIds',new Set()),G(this,_0x173f26(0x159),new Map()),G(this,_0x173f26(0x22e),null),G(this,_0x173f26(0x15c),null);let _0x20db31=_0x2f808b(this['_injector']),_0x1956f6=this['_configService']['getConfig'](_0x34b3bd);this[_0x173f26(0x29e)]=(_0x1956f6==null?void 0x0:_0x1956f6[_0x173f26(0x36d)])??mi,this[_0x173f26(0x299)]=_0x20db31[_0x173f26(0x136)]!==0x1||_0x20db31[0x0]!==_0x173f26(0x2e7),this[_0x173f26(0x162)](),this[_0x173f26(0x33c)](),this[_0x173f26(0x23d)](),this[_0x173f26(0x2ed)](),this['handleActiveSubUnitChange']();}[_0x3d5cf7(0x1e0)](_0x2b3912){const _0xe0f5fd=_0x3d5cf7;let _0x5cde64=this['_getChartSnapshotKey'](_0x2b3912);return _0x5cde64?this['_chartSnapshotStoreService'][_0xe0f5fd(0x306)](_0x5cde64):void 0x0;}[_0x3d5cf7(0x236)](_0x488b22){const _0x175b48=_0x3d5cf7;var _0xe6ec2e;return((_0xe6ec2e=this[_0x175b48(0x14f)]['activeChartModel'])==null?void 0x0:_0xe6ec2e['id'])===_0x488b22?_0x3fb293[_0x175b48(0x177)]:this[_0x175b48(0x29e)];}[_0x3d5cf7(0x132)](_0x12dad5){const _0x1540aa=_0x3d5cf7;let _0xd608b4=this[_0x1540aa(0x1b0)][_0x1540aa(0x25b)](_0x12dad5);return _0xd608b4?{'unitId':_0xd608b4[_0x1540aa(0x276)],'subUnitId':_0xd608b4[_0x1540aa(0x131)],'chartId':_0x12dad5}:null;}[_0x3d5cf7(0x162)](){const _0x2d1042=_0x3d5cf7;this['_chartRenderMode']===_0x3fb293['Image']&&this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x2d1042(0x233)](_0x6c27df['DRAWING_CHART'],({key:_0x4c21ba,config:_0x4e3f3d,unitId:_0x2656bf,subUnitId:_0x5cbab3,drawingId:_0x2fafea})=>new ei(_0x4c21ba,_0x4e3f3d,()=>this['_chartSnapshotStoreService'][_0x2d1042(0x306)]({'unitId':_0x2656bf,'subUnitId':_0x5cbab3,'chartId':_0x2fafea}),()=>this[_0x2d1042(0x2ef)][_0x2d1042(0xe0)](_0x2fafea))));}[_0x3d5cf7(0x33c)](){this['disposeWithMe'](this['_chartModelService']['activeChartModel$']['subscribe'](_0x3284ff=>{const _0x353f16=_0x128e;let _0x2d00c9=(_0x3284ff==null?void 0x0:_0x3284ff['id'])??null,_0x2ccae=this['_activeChartId'];_0x2ccae!==_0x2d00c9&&(_0x2ccae&&(this[_0x353f16(0x2ef)][_0x353f16(0x14b)](_0x2ccae),this[_0x353f16(0x1ab)](_0x2ccae),this['_disposeChartDomInstance'](_0x2ccae)),this['_activeChartId']=_0x2d00c9,_0x2d00c9&&(this['_deactivateDataUpdateAnimation'](_0x2d00c9),this[_0x353f16(0x2ef)]['markHostNotReady'](_0x2d00c9),this[_0x353f16(0x2fe)](_0x2d00c9),this[_0x353f16(0x110)](_0x2d00c9)));}));}['_initDrawingDeactivationListener'](){const _0xa6834a=_0x3d5cf7;this[_0xa6834a(0x2c6)](this[_0xa6834a(0x186)][_0xa6834a(0xae)][_0xa6834a(0x36f)](_0x1d465=>{const _0x3b1427=_0xa6834a;var _0x62d0d1;let _0x5d22ba=(_0x62d0d1=this[_0x3b1427(0x14f)][_0x3b1427(0x284)])==null?void 0x0:_0x62d0d1['id'];_0x5d22ba&&_0x1d465[_0x3b1427(0x255)](_0x1a47fc=>_0x1a47fc[_0x3b1427(0x238)][_0x3b1427(0x255)](_0x1937ae=>_0x1937ae[_0x3b1427(0x268)]===_0x5d22ba))&&this[_0x3b1427(0x14f)][_0x3b1427(0xb0)](null);})),this[_0xa6834a(0x2c6)](this[_0xa6834a(0x186)][_0xa6834a(0x225)][_0xa6834a(0x36f)](_0x1d4d2b=>{const _0xd3152d=_0xa6834a;var _0x4e569a;let _0x1fab96=(_0x4e569a=this[_0xd3152d(0x14f)]['activeChartModel'])==null?void 0x0:_0x4e569a['id'];_0x1fab96&&_0x1d4d2b[_0xd3152d(0x255)](_0xb209c6=>_0xb209c6[_0xd3152d(0x20d)][_0xd3152d(0x268)]===_0x1fab96||_0xb209c6[_0xd3152d(0x238)]['some'](_0x439055=>_0x439055['drawingId']===_0x1fab96))&&this[_0xd3152d(0x14f)]['setActiveChartModel'](null);}));}[_0x3d5cf7(0x2ed)](){const _0x138114=_0x3d5cf7;this[_0x138114(0x2c6)](this['_drawingManagerService'][_0x138114(0x252)]['subscribe'](_0x1206b1=>{const _0x28c37f=_0x138114;var _0x13223a;let _0x4f9e79=(_0x13223a=this[_0x28c37f(0x14f)][_0x28c37f(0x284)])==null?void 0x0:_0x13223a['id'];if(!_0x4f9e79){_0x1206b1[_0x28c37f(0x24a)][_0x28c37f(0x253)](_0x23953d=>{const _0x1ade65=_0x28c37f;this[_0x1ade65(0x14f)]['getChartModel'](_0x23953d)&&this['_resetChartRuntimeZIndex'](_0x23953d);});return;}let _0x2e0857=this['_sheetCanvasFloatDomManagerService'][_0x28c37f(0x25b)](_0x4f9e79);(_0x2e0857==null?void 0x0:_0x2e0857['unitId'])===_0x1206b1[_0x28c37f(0x276)]&&_0x2e0857['subUnitId']===_0x1206b1[_0x28c37f(0x131)]&&this[_0x28c37f(0x2fe)](_0x4f9e79);})),this[_0x138114(0x2c6)](this['_drawingManagerService']['add$']['subscribe'](_0x4ead06=>{const _0xc788ec=_0x138114;var _0x5c38eb;let _0x15fdd8=(_0x5c38eb=this[_0xc788ec(0x14f)][_0xc788ec(0x284)])==null?void 0x0:_0x5c38eb['id'];if(!_0x15fdd8)return;let _0xd77958=this[_0xc788ec(0x1b0)][_0xc788ec(0x25b)](_0x15fdd8);_0xd77958&&_0x4ead06['some'](_0x441f42=>_0x441f42['unitId']===_0xd77958[_0xc788ec(0x276)]&&_0x441f42[_0xc788ec(0x131)]===_0xd77958['subUnitId'])&&this[_0xc788ec(0x2fe)](_0x15fdd8);})),this[_0x138114(0x2c6)](this[_0x138114(0x14f)][_0x138114(0x2ce)]['subscribe'](_0x1572c8=>{const _0x4df4aa=_0x138114;var _0x533579;this['_disposeChartChangeListeners'](_0x1572c8),this['_disposeChartEventSubscriptions'](_0x1572c8),this[_0x4df4aa(0xc2)][_0x4df4aa(0x115)](_0x1572c8),this['_deactivateDataUpdateAnimation'](_0x1572c8),this[_0x4df4aa(0x137)][_0x4df4aa(0x115)](_0x1572c8),this['_chartSnapshotStoreService'][_0x4df4aa(0x218)](_0x1572c8),this[_0x4df4aa(0x18e)](_0x1572c8),this[_0x4df4aa(0x2ef)]['markHostNotReady'](_0x1572c8),((_0x533579=this[_0x4df4aa(0x14f)][_0x4df4aa(0x284)])==null?void 0x0:_0x533579['id'])===_0x1572c8?this[_0x4df4aa(0x14f)]['setActiveChartModel'](null):this['_resetChartRuntimeZIndex'](_0x1572c8),this[_0x4df4aa(0x17b)](_0x1572c8);}));}[_0x3d5cf7(0x110)](_0x59441d){const _0x5e22d9=_0x3d5cf7;let _0x503a40=this[_0x5e22d9(0x137)]['get'](_0x59441d);_0x503a40&&this[_0x5e22d9(0x303)](_0x59441d,_0x503a40['config'],_0x503a40[_0x5e22d9(0x27c)]);}[_0x3d5cf7(0x163)](_0x427211){const _0x177efa=_0x3d5cf7;let _0x230137=this[_0x177efa(0x12f)]['get'](_0x427211);(_0x230137==null?void 0x0:_0x230137[_0x177efa(0x228)])==='dom'&&(this[_0x177efa(0x2df)](_0x427211),_0x230137[_0x177efa(0x23e)](),this[_0x177efa(0x12f)]['delete'](_0x427211)),this[_0x177efa(0x2ef)][_0x177efa(0x14b)](_0x427211),this['_chartHostProvider'][_0x177efa(0xb3)](_0x427211);}[_0x3d5cf7(0x17b)](_0x5a321b){const _0x3b041f=_0x3d5cf7;let _0x5ad147=this[_0x3b041f(0x12f)][_0x3b041f(0xd7)](_0x5a321b);_0x5ad147&&(this['_disposeChartEventSubscriptions'](_0x5a321b),_0x5ad147['dispose'](),this[_0x3b041f(0x12f)][_0x3b041f(0x115)](_0x5a321b)),this[_0x3b041f(0x2ef)]['markHostNotReady'](_0x5a321b),this[_0x3b041f(0x2ef)][_0x3b041f(0xb3)](_0x5a321b);}[_0x3d5cf7(0x18e)](_0x26ca1c){const _0x3a6f26=_0x3d5cf7;var _0x228d2f,_0x58161c;(_0x228d2f=this[_0x3a6f26(0x1ac)][_0x3a6f26(0xb2)](_0x19d69a))==null||(_0x58161c=_0x228d2f[_0x3a6f26(0x16c)])==null||_0x58161c[_0x3a6f26(0x1f4)](_0x228d2f,{'type':_0x3a6f26(0x8a),'chartId':_0x26ca1c});}['_notifySheetChartsDetached'](_0x30a9be,_0x1b1de3){const _0x3a70ae=_0x3d5cf7;let _0x5b0816=this['_drawingManagerService'][_0x3a70ae(0x150)](_0x30a9be,_0x1b1de3);Object[_0x3a70ae(0xb4)](_0x5b0816??{})['forEach'](_0x2d050a=>{const _0x22175c=_0x3a70ae;if(_0x2d050a[_0x22175c(0x2ad)]===_0x6c27df[_0x22175c(0x1fc)]){var _0x538e04,_0x2b48c4;(_0x538e04=this[_0x22175c(0x1ac)][_0x22175c(0xb2)](_0x19d69a))==null||(_0x2b48c4=_0x538e04[_0x22175c(0x16c)])==null||_0x2b48c4[_0x22175c(0x1f4)](_0x538e04,{'type':_0x22175c(0xe6),'chartId':_0x2d050a[_0x22175c(0x268)]});}});}[_0x3d5cf7(0x352)](_0x3a0302,_0xf1002f){const _0xa0944e=_0x3d5cf7;var _0x591f6f;return((_0x591f6f=_0x3a0302[_0xa0944e(0x275)])==null?void 0x0:_0x591f6f['call'](_0x3a0302,_0xf1002f))??_0x3a0302['getObject'](_0xf1002f)??null;}[_0x3d5cf7(0x25c)](_0x119746){const _0x36d201=_0x3d5cf7;var _0x5757dd;let _0x5377e0=this['_sheetCanvasFloatDomManagerService'][_0x36d201(0x25b)](_0x119746);if(!_0x5377e0)return null;let _0x34d08b=(_0x5757dd=this['_renderManagerService'][_0x36d201(0x215)](_0x5377e0[_0x36d201(0x276)]))==null?void 0x0:_0x5757dd[_0x36d201(0x201)];if(!_0x34d08b)return null;let _0x49322d=this[_0x36d201(0x352)](_0x34d08b,_0x803bf4({'unitId':_0x5377e0[_0x36d201(0x276)],'subUnitId':_0x5377e0[_0x36d201(0x131)],'drawingId':_0x119746}));return _0x49322d?{'info':_0x5377e0,'scene':_0x34d08b,'chartObject':_0x49322d}:null;}[_0x3d5cf7(0x250)](_0x5363f9,_0xd6969f){const _0x714157=_0x3d5cf7;var _0x25bc4a,_0x37913f,_0x5c45d4,_0x5b53c3;let _0x6ddf94=this['_getChartRenderObjectContext'](_0x5363f9);_0x6ddf94&&((_0x25bc4a=(_0x37913f=_0x6ddf94['chartObject'])[_0x714157(0x377)])==null||_0x25bc4a[_0x714157(0x1f4)](_0x37913f,{'zIndex':_0xd6969f}),(_0x5c45d4=(_0x5b53c3=_0x6ddf94[_0x714157(0x9e)])[_0x714157(0x26d)])==null||_0x5c45d4[_0x714157(0x1f4)](_0x5b53c3,!0x0),_0x6ddf94['scene'][_0x714157(0x26d)](!0x0));}[_0x3d5cf7(0x2fe)](_0x68db42){const _0x4249a7=_0x3d5cf7;let _0x35a166=this[_0x4249a7(0x1b0)][_0x4249a7(0x25b)](_0x68db42);if(!_0x35a166)return;let _0x510199=this[_0x4249a7(0x186)][_0x4249a7(0x1ee)](_0x35a166['unitId'],_0x35a166[_0x4249a7(0x131)]);this[_0x4249a7(0x250)](_0x68db42,_0x510199[_0x4249a7(0x136)]);}[_0x3d5cf7(0x1ab)](_0x3912d8){const _0xa41848=_0x3d5cf7;let _0xd960b9=this['_sheetCanvasFloatDomManagerService'][_0xa41848(0x25b)](_0x3912d8);if(!_0xd960b9)return;let _0x275999=this[_0xa41848(0x186)][_0xa41848(0x1ee)](_0xd960b9[_0xa41848(0x276)],_0xd960b9[_0xa41848(0x131)]),_0x2a0055=_0x275999[_0xa41848(0xdc)](_0x3912d8);this['_setChartRuntimeZIndex'](_0x3912d8,_0x2a0055===-0x1?Math['max'](_0x275999[_0xa41848(0x136)]-0x1,0x0):_0x2a0055);}[_0x3d5cf7(0xd0)](_0x4b601d,_0x3a7541){const _0x36b141=_0x3d5cf7;let _0x3626ea=this[_0x36b141(0x1b0)][_0x36b141(0x25b)](_0x4b601d);if(_0x3a7541['width']!==void 0x0&&_0x3a7541['height']!==void 0x0&&_0x3626ea){var _0x5534f2;let {subUnitId:_0x2c3551}=_0x3626ea,_0x10713e=(_0x5534f2=this[_0x36b141(0x2e0)][_0x36b141(0x302)](_0x24eda4['UNIVER_SHEET']))==null?void 0x0:_0x5534f2[_0x36b141(0xb6)]();if((_0x10713e==null?void 0x0:_0x10713e[_0x36b141(0x15b)]())===_0x2c3551){let {width:_0x189ebf,height:_0x1be8cb}=_0x3a7541,_0x1fe04c=this[_0x36b141(0x14f)][_0x36b141(0x24e)](_0x4b601d),_0x10bea5=_0x1fe04c==null?void 0x0:_0x1fe04c[_0x36b141(0x27c)];(Math[_0x36b141(0x1aa)](_0x189ebf-((_0x10bea5==null?void 0x0:_0x10bea5['width'])||0x0))>0x1||Math['abs'](_0x1be8cb-((_0x10bea5==null?void 0x0:_0x10bea5[_0x36b141(0x101)])||0x0))>0x1)&&(_0x1fe04c==null||_0x1fe04c[_0x36b141(0x103)]({..._0x10bea5,'width':_0x189ebf,'height':_0x1be8cb}));}}}[_0x3d5cf7(0x1c1)](_0x2d7ab6,_0x2e371c,_0x3d3dbe=0x0){const _0x1a68d3=_0x3d5cf7;let _0x12afb4=this[_0x1a68d3(0x32b)][_0x1a68d3(0xd7)](_0x2d7ab6);_0x12afb4||(_0x12afb4=_0xee06f5(_0x53716b=>{const _0x2b3d31=_0x1a68d3;this[_0x2b3d31(0xd0)](_0x2d7ab6,_0x53716b);},_0x3d3dbe),this[_0x1a68d3(0x32b)]['set'](_0x2d7ab6,_0x12afb4)),_0x12afb4(_0x2e371c);}[_0x3d5cf7(0x1e8)](){const _0x24c9f4=_0x3d5cf7;let _0x5ac197=this['_renderDebounceMap'],_0x4ba8c3=_0x25704f=>{const _0x38f076=_0x128e;if(!_0x5ac197[_0x38f076(0x36c)](_0x25704f)){let _0x801124=_0xee06f5((_0xfe05a8,_0x263062,_0x280527,_0x5f3f14)=>{const _0x2a828b=_0x38f076;var _0x91de48,_0x3aa20f;if(!_0x280527)return;(_0x91de48=_0x280527[_0x2a828b(0xe2)])==null||_0x91de48[_0x2a828b(0x30e)][_0x2a828b(0x253)]((_0x2b1813,_0x3e5b9a)=>{const _0x37a1c6=_0x2a828b;_0x2b1813[_0x37a1c6(0xcd)]||=this[_0x37a1c6(0x320)]['t'](_0x37a1c6(0x1a0))+'\x20'+(_0x3e5b9a+0x1);}),_0x280527[_0x2a828b(0x267)][_0x2a828b(0x253)]((_0x20dfd9,_0x482484)=>{const _0x1c947d=_0x2a828b;_0x20dfd9[_0x1c947d(0xda)]||=this['_localeService']['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x482484+0x1);});let _0xcfa003=this['createRuntimeChartStyle'](_0xfe05a8,_0x5f3f14),_0x5a253c=(_0x3aa20f=this['_univerInstanceService'][_0x2a828b(0x302)](_0x24eda4[_0x2a828b(0x237)]))==null?void 0x0:_0x3aa20f[_0x2a828b(0xb6)]();(_0x5a253c==null?void 0x0:_0x5a253c[_0x2a828b(0x15b)]())===_0x263062&&this['render'](_0xfe05a8['id'],_0x280527,_0xcfa003);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x5ac197[_0x38f076(0x12c)](_0x25704f,_0x801124);}return _0x5ac197[_0x38f076(0xd7)](_0x25704f);};this[_0x24c9f4(0x2c6)](this[_0x24c9f4(0x2e0)][_0x24c9f4(0x2a7)]['subscribe'](_0x53b496=>{const _0x3fc33d=_0x24c9f4;let _0x5882fe=this['_univerInstanceService'][_0x3fc33d(0x302)](_0x24eda4[_0x3fc33d(0x237)]);if(_0x53b496&&_0x5882fe&&_0x5882fe[_0x3fc33d(0x307)]()===_0x53b496){var _0x3df4b6;let _0x5ddb50=_0x5882fe[_0x3fc33d(0xb6)]()['getSheetId']();this['_lastActiveSheet']&&(this[_0x3fc33d(0x15c)][_0x3fc33d(0x276)]!==_0x53b496||this[_0x3fc33d(0x15c)][_0x3fc33d(0x131)]!==_0x5ddb50)&&this[_0x3fc33d(0x26f)](this['_lastActiveSheet'][_0x3fc33d(0x276)],this[_0x3fc33d(0x15c)][_0x3fc33d(0x131)]),this[_0x3fc33d(0x15c)]={'unitId':_0x53b496,'subUnitId':_0x5ddb50};let _0x56d6bd=this[_0x3fc33d(0x186)]['getDrawingData'](_0x53b496,_0x5ddb50);if(!((_0x3df4b6=this['_renderManagerService'][_0x3fc33d(0x215)](_0x53b496))!=null&&_0x3df4b6[_0x3fc33d(0x149)](_0x5923dc)[_0x3fc33d(0x330)](_0x5ddb50)))return;if(_0x56d6bd)for(let _0x4ce6d2 in _0x56d6bd){let {drawingId:_0xabdc63}=_0x56d6bd[_0x4ce6d2],_0x5e39dd=this[_0x3fc33d(0x14f)][_0x3fc33d(0x24e)](_0xabdc63);_0x5e39dd&&_0x4ba8c3(_0x5e39dd['id'])(_0x5e39dd,_0x5ddb50,_0x5e39dd[_0x3fc33d(0x23b)],this['_localeService'][_0x3fc33d(0x2e9)]());}}})),this['disposeWithMe'](this[_0x24c9f4(0x379)][_0x24c9f4(0x27a)][_0x24c9f4(0x36f)](()=>{const _0x7460c5=_0x24c9f4;var _0x1fc136;let _0x3d22f6=this[_0x7460c5(0x2e0)][_0x7460c5(0x302)](_0x24eda4[_0x7460c5(0x237)]);if(!_0x3d22f6)return;let _0x540e3d=_0x3d22f6[_0x7460c5(0x307)](),_0x44b2c5=_0x3d22f6[_0x7460c5(0xb6)]()[_0x7460c5(0x15b)](),_0x2ec323=this['_drawingManagerService']['getDrawingData'](_0x540e3d,_0x44b2c5);if((_0x1fc136=this[_0x7460c5(0x2e4)][_0x7460c5(0x215)](_0x540e3d))!=null&&_0x1fc136[_0x7460c5(0x149)](_0x5923dc)[_0x7460c5(0x330)](_0x44b2c5)&&_0x2ec323)for(let _0x297466 in _0x2ec323){let {drawingId:_0x55a567}=_0x2ec323[_0x297466],_0x51ccbf=this[_0x7460c5(0x14f)][_0x7460c5(0x24e)](_0x55a567);_0x51ccbf&&_0x4ba8c3(_0x51ccbf['id'])(_0x51ccbf,_0x44b2c5,_0x51ccbf['config'],this['_localeService']['getDirection']());}})),this[_0x24c9f4(0x2c6)](this[_0x24c9f4(0x186)]['add$']['subscribe'](_0x4cf903=>{const _0x2507d1=_0x24c9f4;_0x4cf903[_0x2507d1(0x253)](_0x3c7b76=>{const _0x443794=_0x2507d1;var _0x592bd7;let {drawingId:_0x178a04,unitId:_0x506d06,subUnitId:_0x2ad1bd}=_0x3c7b76,_0x5c4055=this[_0x443794(0x2e4)][_0x443794(0x215)](_0x506d06);if((_0x5c4055==null?void 0x0:_0x5c4055['type'])!==_0x24eda4['UNIVER_SHEET']||!_0x5c4055[_0x443794(0x149)](_0x5923dc)[_0x443794(0x330)](_0x2ad1bd))return;let {drawingType:_0x17e106}=this[_0x443794(0x186)]['getDrawingByParam'](_0x3c7b76);if(_0x17e106!==_0x6c27df[_0x443794(0x1fc)])return;let _0x187abf=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x178a04);this[_0x443794(0xb5)](_0x178a04);let _0x3365d6=new _0x2fb1ef();this['_chartChangeSubscriptions']['set'](_0x178a04,_0x3365d6);let _0x2f8427=(_0x187abf==null?void 0x0:_0x187abf['domId'])??_0x178a04,_0x105405=_0x187abf==null?void 0x0:_0x187abf[_0x443794(0x10a)],_0x4df88b=(_0x592bd7=this['_renderManagerService']['getRenderUnitById'](_0x506d06))==null?void 0x0:_0x592bd7[_0x443794(0x201)];if(_0x105405){let _0x61ab26=new Xr(_0x105405,async _0x1aee54=>{const _0x555db8=_0x443794;var _0x2b5e3b;let _0x3fd7b2=this[_0x555db8(0x2e0)][_0x555db8(0x302)](_0x24eda4[_0x555db8(0x237)]);if((_0x3fd7b2==null?void 0x0:_0x3fd7b2['getUnitId']())===_0x506d06&&((_0x2b5e3b=_0x3fd7b2['getActiveSheet']())==null?void 0x0:_0x2b5e3b['getSheetId']())===_0x2ad1bd&&(this[_0x555db8(0x2ef)]['syncHostLayout'](_0x178a04),_0x1aee54)){let {width:_0x2daf1a,height:_0x146ebb}=_0x105405;this['_debounceHandle'](_0x178a04,{'width':_0x2daf1a,'height':_0x146ebb},0x64);let _0x28049b=this[_0x555db8(0x14f)][_0x555db8(0x24e)](_0x178a04);_0x28049b!=null&&_0x28049b[_0x555db8(0x23b)]&&await this[_0x555db8(0x303)](_0x178a04,_0x28049b[_0x555db8(0x23b)],this['createRuntimeChartStyle'](_0x28049b,this[_0x555db8(0x320)][_0x555db8(0x2e9)]()));}});_0x3365d6[_0x443794(0x2c6)](_0x61ab26),_0x3365d6['disposeWithMe'](this[_0x443794(0x2e0)]['focused$'][_0x443794(0x36f)](()=>_0x61ab26[_0x443794(0x13e)][_0x443794(0x28e)]())),_0x4df88b&&_0x3365d6[_0x443794(0x2c6)](_0x4df88b['getTransformerByCreate']()['changeEnd$'][_0x443794(0x36f)](({objects:_0x30d7a9})=>{const _0x3f6748=_0x443794;if(_0x30d7a9[_0x3f6748(0x36c)](_0x105405[_0x3f6748(0x1b5)])){var _0x417946;_0x61ab26[_0x3f6748(0x13e)][_0x3f6748(0x120)](),(_0x417946=this[_0x3f6748(0x32b)][_0x3f6748(0xd7)](_0x178a04))==null||_0x417946[_0x3f6748(0x301)](),this['_resizeChart'](_0x178a04,{'width':_0x105405[_0x3f6748(0x1f8)],'height':_0x105405[_0x3f6748(0x101)]});}}));}_0x4df88b&&_0x3365d6[_0x443794(0x2c6)](_0x4df88b['onTransformChange$'][_0x443794(0x21f)](_0x27dc76=>{const _0x554c6e=_0x443794;var _0x421ba3;_0x27dc76[_0x554c6e(0x341)]===_0x1d3686['scale']&&(_0x421ba3=document[_0x554c6e(0x1c5)](_0x2f8427))!=null&&_0x421ba3[_0x554c6e(0x327)]('.chart-host')&&this[_0x554c6e(0x2ef)][_0x554c6e(0x27d)](_0x178a04);}));let _0xf4a2be=this[_0x443794(0x14f)][_0x443794(0x24e)](_0x178a04);_0xf4a2be&&_0x3365d6[_0x443794(0x2c6)](_0x1db2bd([_0xf4a2be[_0x443794(0x119)],_0xf4a2be['style$'],this[_0x443794(0x320)]['direction$']])[_0x443794(0x36f)](([_0x32bc85,_0x202646,_0x1ceb34])=>{_0x4ba8c3(_0xf4a2be['id'])(_0xf4a2be,_0x2ad1bd,_0x32bc85,_0x1ceb34);}));});})),this['disposeWithMe'](_0x1db2bd([this[_0x24c9f4(0x186)]['remove$']])['subscribe'](([_0x349537])=>{const _0x7a0d31=_0x24c9f4;_0x349537[_0x7a0d31(0x253)](_0x1af9d4=>{const _0x3ea742=_0x7a0d31;var _0x49c034;let {drawingId:_0xc4270b}=_0x1af9d4;this[_0x3ea742(0xb5)](_0xc4270b),((_0x49c034=this[_0x3ea742(0x14f)][_0x3ea742(0x284)])==null?void 0x0:_0x49c034['id'])===_0xc4270b&&this['_chartModelService']['setActiveChartModel'](null),this[_0x3ea742(0x2df)](_0xc4270b),this['_chartHostProvider'][_0x3ea742(0x14b)](_0xc4270b),this[_0x3ea742(0x1ab)](_0xc4270b),this[_0x3ea742(0x17b)](_0xc4270b),this[_0x3ea742(0x2dc)]['clearChart'](_0xc4270b),this['_notifyChartRemoved'](_0xc4270b),this[_0x3ea742(0x137)][_0x3ea742(0x115)](_0xc4270b),this[_0x3ea742(0x194)][_0x3ea742(0x115)](_0xc4270b);});}));}['setElementEditMode'](_0x530ba9,_0x17cd16){const _0x2f0353=_0x3d5cf7;var _0x28046b;_0x17cd16?this[_0x2f0353(0x194)][_0x2f0353(0x12c)](_0x530ba9,!0x0):this['_chartElementEditMode'][_0x2f0353(0x115)](_0x530ba9),(_0x28046b=this[_0x2f0353(0x12f)][_0x2f0353(0xd7)](_0x530ba9))==null||_0x28046b[_0x2f0353(0x169)](_0x17cd16);}async[_0x3d5cf7(0x220)](_0x3a9d80,_0x1aeba7){const _0x117b37=_0x3d5cf7;var _0x22cee3;let _0x200ecb=this[_0x117b37(0x137)][_0x117b37(0xd7)](_0x3a9d80),_0x29066=(_0x22cee3=this['_sheetCanvasFloatDomManagerService'][_0x117b37(0x25b)](_0x3a9d80))==null?void 0x0:_0x22cee3[_0x117b37(0x10a)];if(_0x200ecb&&_0x29066)return(await this[_0x117b37(0x1ac)][_0x117b37(0x220)]({'chartId':_0x3a9d80,'config':_0x200ecb[_0x117b37(0x23b)],'style':_0x200ecb[_0x117b37(0x27c)],'width':_0x29066[_0x117b37(0x1f8)],'height':_0x29066[_0x117b37(0x101)]},_0x1aeba7))[_0x117b37(0x21d)];if((_0x1aeba7==null?void 0x0:_0x1aeba7['format'])===_0x377cd6['SVG'])return;let _0x117552=this[_0x117b37(0x1a3)](_0x3a9d80);return _0x117552?_0xc3e295(_0x117552):void 0x0;}['on'](_0x47ad28,_0x46e6fe,_0x5e1f9e){const _0x561968=_0x3d5cf7;let _0x32da86=this[_0x561968(0xc2)][_0x561968(0xd7)](_0x47ad28);_0x32da86||(_0x32da86=new Map(),this['_chartEventHandlers'][_0x561968(0x12c)](_0x47ad28,_0x32da86));let _0x4a20df=_0x32da86[_0x561968(0xd7)](_0x46e6fe);_0x4a20df||(_0x4a20df=new Set(),_0x32da86[_0x561968(0x12c)](_0x46e6fe,_0x4a20df)),_0x4a20df[_0x561968(0x25f)](_0x5e1f9e);let _0x522c17=this['_chartInstanceMap'][_0x561968(0xd7)](_0x47ad28);return _0x522c17&&this[_0x561968(0x1a2)](_0x47ad28,_0x522c17,_0x46e6fe,_0x5e1f9e),{'dispose':()=>{const _0x2eef99=_0x561968;var _0x326e5a;(_0x326e5a=this['_chartEventHandlers']['get'](_0x47ad28))==null||(_0x326e5a=_0x326e5a[_0x2eef99(0xd7)](_0x46e6fe))==null||_0x326e5a[_0x2eef99(0x115)](_0x5e1f9e),this[_0x2eef99(0x1d3)](_0x47ad28,_0x46e6fe,_0x5e1f9e);}};}[_0x3d5cf7(0x1a3)](_0x308387){const _0x245450=_0x3d5cf7;let _0x124955=this[_0x245450(0x2e0)][_0x245450(0x302)](_0x24eda4[_0x245450(0x237)]),_0x53e8ae=_0x124955==null?void 0x0:_0x124955['getActiveSheet'](),_0x1caf3b=_0x124955==null?void 0x0:_0x124955[_0x245450(0x307)](),_0xe72f05=_0x53e8ae==null?void 0x0:_0x53e8ae[_0x245450(0x15b)]();if(_0x1caf3b&&_0xe72f05)return this[_0x245450(0x2dc)]['getImage']({'unitId':_0x1caf3b,'subUnitId':_0xe72f05,'chartId':_0x308387});}['_bindChartEventHandlers'](_0x394d01,_0x52ec77){const _0x468095=_0x3d5cf7;let _0x500d95=this[_0x468095(0xc2)]['get'](_0x394d01);_0x500d95&&_0x500d95[_0x468095(0x253)]((_0x4d82a8,_0x5d3f00)=>{_0x4d82a8['forEach'](_0x4d04ae=>this['_bindChartEventHandler'](_0x394d01,_0x52ec77,_0x5d3f00,_0x4d04ae));});}['_bindChartEventHandler'](_0x5db50b,_0x26ab14,_0x46cec4,_0x836150){const _0x3758c9=_0x3d5cf7;let _0x2eced3=this[_0x3758c9(0x2a1)][_0x3758c9(0xd7)](_0x5db50b);_0x2eced3||(_0x2eced3=new Map(),this[_0x3758c9(0x2a1)][_0x3758c9(0x12c)](_0x5db50b,_0x2eced3));let _0x4bca51=_0x2eced3['get'](_0x46cec4);_0x4bca51||(_0x4bca51=new Map(),_0x2eced3[_0x3758c9(0x12c)](_0x46cec4,_0x4bca51)),!_0x4bca51[_0x3758c9(0x36c)](_0x836150)&&_0x4bca51[_0x3758c9(0x12c)](_0x836150,_0x26ab14['on'](_0x46cec4,_0x836150));}['_disposeChartEventSubscription'](_0x1c67b4,_0x29e44f,_0x5618e4){const _0x300ed9=_0x3d5cf7;var _0x55199,_0xd09a25;let _0x50b353=(_0x55199=this['_chartEventSubscriptions'][_0x300ed9(0xd7)](_0x1c67b4))==null?void 0x0:_0x55199['get'](_0x29e44f);_0x50b353==null||(_0xd09a25=_0x50b353[_0x300ed9(0xd7)](_0x5618e4))==null||_0xd09a25[_0x300ed9(0x23e)](),_0x50b353==null||_0x50b353[_0x300ed9(0x115)](_0x5618e4);}['_disposeChartEventSubscriptions'](_0x5b6388){const _0xc76a84=_0x3d5cf7;let _0x589de6=this[_0xc76a84(0x2a1)]['get'](_0x5b6388);_0x589de6==null||_0x589de6['forEach'](_0x46785f=>{const _0x2bcc27=_0xc76a84;_0x46785f[_0x2bcc27(0x253)](_0x5afc89=>_0x5afc89[_0x2bcc27(0x23e)]()),_0x46785f['clear']();}),this[_0xc76a84(0x2a1)][_0xc76a84(0x115)](_0x5b6388);}[_0x3d5cf7(0x96)](_0x3ce0d5,_0x5a4c6f){const _0x9d9583=_0x3d5cf7;return gi(_0x3ce0d5,_0x5a4c6f,this[_0x9d9583(0x299)]);}[_0x3d5cf7(0x22c)](_0x2efb34){return this['_getChartRenderSkipReason'](_0x2efb34)==null;}[_0x3d5cf7(0x1b9)](_0x185b2f){const _0x3ab10d=_0x3d5cf7;var _0x352485;let _0x4fc414=this[_0x3ab10d(0x1b0)]['getFloatDomInfo'](_0x185b2f);if(!_0x4fc414)return _0x3ab10d(0x361);let {subUnitId:_0x193f28}=_0x4fc414,_0x514117=(_0x352485=this[_0x3ab10d(0x2e0)][_0x3ab10d(0x302)](_0x24eda4[_0x3ab10d(0x237)]))==null?void 0x0:_0x352485[_0x3ab10d(0xb6)]();if(!_0x514117)return _0x3ab10d(0x2cd);if(_0x514117[_0x3ab10d(0x15b)]()!==_0x193f28)return'inactive-sheet';}async[_0x3d5cf7(0x303)](_0x410632,_0xd04e07,_0xc8dd30,_0x388286={}){const _0xa52f17=_0x3d5cf7;let _0x4996a1=this[_0xa52f17(0x1ac)][_0xa52f17(0xb2)](_0x19d69a);if(!_0x4996a1)return;let _0x3f3f40=this[_0xa52f17(0x137)][_0xa52f17(0xd7)](_0x410632);if(this[_0xa52f17(0x137)][_0xa52f17(0x12c)](_0x410632,{'config':_0xd04e07,'style':_0xc8dd30}),this['_getChartRenderSkipReason'](_0x410632))return;let {canAnimate:_0x5adf3e,renderMode:_0xc52001,shouldStartTransientAnimation:_0x16cf93,transientAnimationActive:_0x2b5d18}=this[_0xa52f17(0x1d8)](_0x410632,_0x3f3f40!=null,_0x388286[_0xa52f17(0x271)]===!0x0);if(_0xc52001===_0x3fb293[_0xa52f17(0x21c)])this[_0xa52f17(0x163)](_0x410632);else{var _0x597211;this[_0xa52f17(0x2ef)][_0xa52f17(0x338)](_0x410632),((_0x597211=this[_0xa52f17(0x14f)][_0xa52f17(0x284)])==null?void 0x0:_0x597211['id'])===_0x410632&&this[_0xa52f17(0x2fe)](_0x410632);}let _0xabe485=_0xc52001===_0x3fb293[_0xa52f17(0x21c)]?_0x3fb293[_0xa52f17(0x21c)]:_0x3fb293[_0xa52f17(0x177)],_0x221f32=await this[_0xa52f17(0x2ef)][_0xa52f17(0x2ea)](_0x410632,_0xabe485);if(!_0x221f32){_0x16cf93&&this[_0xa52f17(0x1c9)](_0x410632);return;}this[_0xa52f17(0x2ef)][_0xa52f17(0x2c2)](_0x410632,_0x2b5d18?_0x1d451e:null);let _0x936b59=this[_0xa52f17(0x2ca)](_0x410632,_0xabe485,_0x4996a1);_0x936b59[_0xa52f17(0x2d5)](_0x221f32);try{let _0x5d68eb={'chartId':_0x410632,'config':_0xd04e07,'style':_0xc8dd30};_0x5adf3e&&_0x3f3f40&&_0x936b59[_0xa52f17(0xab)]?await _0x936b59[_0xa52f17(0xab)]({'chartId':_0x410632,'config':_0x3f3f40[_0xa52f17(0x23b)],'style':_0x3f3f40[_0xa52f17(0x27c)]},_0x5d68eb,{'duration':_0x1d451e}):await _0x936b59[_0xa52f17(0x303)](_0x5d68eb),await this[_0xa52f17(0x1a1)](_0x410632,_0xc52001,_0x936b59),_0x5adf3e&&_0x2b5d18&&this['_scheduleDataUpdateAnimationEnd'](_0x410632);}catch(_0x56e52f){if(_0x16cf93&&this[_0xa52f17(0x1c9)](_0x410632),_0xc52001!==_0x3fb293[_0xa52f17(0x21c)])throw _0x56e52f;}}async[_0x3d5cf7(0x1a1)](_0x239bfa,_0x5120eb,_0x45b69e){const _0x4c42ad=_0x3d5cf7;var _0x4e3c29;if(_0x5120eb!==_0x3fb293[_0x4c42ad(0x177)]||((_0x4e3c29=this[_0x4c42ad(0x14f)][_0x4c42ad(0x284)])==null?void 0x0:_0x4e3c29['id'])!==_0x239bfa)return;let _0x41bff4=await this['_chartHostProvider']['ensureHost'](_0x239bfa,_0x3fb293['Image']);if(!_0x41bff4)return;let _0x15dad0=_0x41bff4[_0x4c42ad(0x8f)]();try{let _0x54c89d=await _0x45b69e[_0x4c42ad(0xc3)]();_0x54c89d&&_0x41bff4['commitSnapshot']({'type':_0x227d7f[_0x4c42ad(0x35a)],'url':_0x54c89d},_0x15dad0)&&_0x41bff4[_0x4c42ad(0x90)]();}catch{}}['_prepareDataUpdateRender'](_0x2ff6e5,_0x2cec85,_0x39041f){const _0x3b3cc8=_0x3d5cf7;let _0x387b74=this[_0x3b3cc8(0x236)](_0x2ff6e5),_0x223ae0=_0x387b74===_0x3fb293[_0x3b3cc8(0x177)]&&_0x39041f&&_0x2cec85&&this[_0x3b3cc8(0x1e3)](_0x2ff6e5),_0xc5d26a=this[_0x3b3cc8(0xb1)][_0x3b3cc8(0x36c)](_0x2ff6e5);return{'canAnimate':_0x223ae0,'renderMode':_0xc5d26a?_0x3fb293[_0x3b3cc8(0x177)]:_0x387b74,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xc5d26a};}[_0x3d5cf7(0x1e3)](_0x39f2b6){const _0x3f74bd=_0x3d5cf7;var _0x321ea7,_0x31a072,_0x1e2b20,_0x3568de;if(typeof document>'u'||typeof window>'u'||document[_0x3f74bd(0x170)]===_0x3f74bd(0x2ec)||(_0x321ea7=(_0x31a072=window)[_0x3f74bd(0x264)])!=null&&(_0x321ea7=_0x321ea7[_0x3f74bd(0x1f4)](_0x31a072,'(prefers-reduced-motion:\x20reduce)'))!=null&&_0x321ea7['matches']||(_0x1e2b20=(_0x3568de=window)[_0x3f74bd(0x264)])!=null&&(_0x1e2b20=_0x1e2b20['call'](_0x3568de,'print'))!=null&&_0x1e2b20[_0x3f74bd(0xe9)])return!0x1;let _0x5e7f9b=this[_0x3f74bd(0x2ef)][_0x3f74bd(0xdb)](_0x39f2b6);return _0x5e7f9b!=null&&_0x5e7f9b['width']>0x0&&_0x5e7f9b['height']>0x0&&_0x5e7f9b[_0x3f74bd(0x34a)]>0x0&&_0x5e7f9b[_0x3f74bd(0x34e)]>0x0&&_0x5e7f9b['left']<window[_0x3f74bd(0x15f)]&&_0x5e7f9b['top']<window[_0x3f74bd(0x25d)];}[_0x3d5cf7(0x113)](_0x4f0e27){const _0x51d1c0=_0x3d5cf7;let _0x3ea651=this['_dataUpdateAnimationTimers'][_0x51d1c0(0xd7)](_0x4f0e27);_0x3ea651&&(clearTimeout(_0x3ea651),this[_0x51d1c0(0x159)][_0x51d1c0(0x115)](_0x4f0e27)),this[_0x51d1c0(0xb1)]['add'](_0x4f0e27),this[_0x51d1c0(0x2ef)][_0x51d1c0(0x2c2)](_0x4f0e27,_0x1d451e);}[_0x3d5cf7(0x11d)](_0x5c08cd){const _0x5efd5f=_0x3d5cf7;let _0x21e75d=this[_0x5efd5f(0x159)][_0x5efd5f(0xd7)](_0x5c08cd);_0x21e75d&&clearTimeout(_0x21e75d);let _0x51756b=setTimeout(()=>{const _0x1112db=_0x5efd5f;this['_dataUpdateAnimationTimers'][_0x1112db(0x115)](_0x5c08cd),this[_0x1112db(0xb1)]['delete'](_0x5c08cd)&&(this['_chartHostProvider'][_0x1112db(0x2c2)](_0x5c08cd,null),this[_0x1112db(0x163)](_0x5c08cd),this[_0x1112db(0x110)](_0x5c08cd));},_0x1d451e);this[_0x5efd5f(0x159)][_0x5efd5f(0x12c)](_0x5c08cd,_0x51756b);}[_0x3d5cf7(0x1c9)](_0x12e045){const _0x4584cb=_0x3d5cf7;let _0x356d4c=this[_0x4584cb(0x159)][_0x4584cb(0xd7)](_0x12e045);_0x356d4c&&(clearTimeout(_0x356d4c),this[_0x4584cb(0x159)][_0x4584cb(0x115)](_0x12e045)),this[_0x4584cb(0xb1)][_0x4584cb(0x115)](_0x12e045),this[_0x4584cb(0x2ef)][_0x4584cb(0x2c2)](_0x12e045,null);}async[_0x3d5cf7(0x154)](_0x4d0136,_0x18dd36,_0x37ab9f){const _0x5e4346=_0x3d5cf7;let _0xabba6f=this['_drawingManagerService']['getDrawingData'](_0x4d0136,_0x18dd36),_0x353d5c=this[_0x5e4346(0x186)]['getDrawingOrder'](_0x4d0136,_0x18dd36),_0x59867a=Object[_0x5e4346(0xb4)](_0xabba6f??{})['filter'](_0x500b3d=>_0x500b3d[_0x5e4346(0x2ad)]===_0x6c27df[_0x5e4346(0x1fc)]&&_0x500b3d['hidden']!==!0x0);await Promise['allSettled'](_0x59867a[_0x5e4346(0xe3)](async _0x173012=>{const _0x31a592=_0x5e4346;let _0x2992cd=await this[_0x31a592(0xff)](_0x173012,_0x353d5c);_0x2992cd&&(_0x37ab9f['addObject'](_0x2992cd,_0x3639ce),_0x173012['groupId']&&_0x2b105c({'drawingId':_0x173012[_0x31a592(0x239)],'unitId':_0x4d0136,'subUnitId':_0x18dd36},_0x2992cd,_0x37ab9f,this[_0x31a592(0x186)]));}));}async[_0x3d5cf7(0xff)](_0x477797,_0x223241){const _0x351306=_0x3d5cf7;let _0x4922ac=this[_0x351306(0x14f)][_0x351306(0x24e)](_0x477797[_0x351306(0x268)]),_0x396d75=this[_0x351306(0x1ac)][_0x351306(0xb2)](_0x19d69a),_0x4bebe4=_0x477797[_0x351306(0x308)],_0x42bd90=_0x4922ac==null?void 0x0:_0x4922ac[_0x351306(0x23b)];if(!_0x4922ac||!_0x396d75||!_0x4bebe4||!_0x42bd90||_0x4bebe4['width']==null||_0x4bebe4[_0x351306(0x101)]==null)return null;let _0x440c34=new hi(_0x477797[_0x351306(0x268)],{'width':_0x4bebe4['width'],'height':_0x4bebe4[_0x351306(0x101)]}),_0x294d9d=_0x396d75[_0x351306(0x192)](_0x3fb293[_0x351306(0x21c)],this['_createChartRenderInstanceContext']());_0x294d9d[_0x351306(0x2d5)](_0x440c34);let _0x2eef47;try{await _0x294d9d[_0x351306(0x303)]({'chartId':_0x477797[_0x351306(0x268)],'config':_0x42bd90,'style':this[_0x351306(0x96)](_0x4922ac,this[_0x351306(0x320)]['getDirection']())});}catch(_0x73bff0){console[_0x351306(0x257)](_0x351306(0x348),_0x73bff0);}finally{_0x2eef47=_0x440c34[_0x351306(0xc6)](),_0x294d9d['dispose'](),_0x440c34[_0x351306(0x23e)]();}let _0x2bc337=this['_chartSnapshotStoreService'][_0x351306(0x306)]({'unitId':_0x477797[_0x351306(0x276)],'subUnitId':_0x477797[_0x351306(0x131)],'chartId':_0x477797['drawingId']}),_0x34fb2f=_0x2eef47??_0x2bc337;if(!_0x34fb2f)return null;let _0x32ce65=_0x223241[_0x351306(0xdc)](_0x477797[_0x351306(0x268)]);return new ei(_0x803bf4(_0x477797),{..._0x4bebe4,..._0x48acb8,...di(_0x440c34[_0x351306(0x27c)]),'visible':!0x0,'zIndex':_0x32ce65===-0x1?Math['max'](_0x223241['length']-0x1,0x0):_0x32ce65},()=>_0x34fb2f,void 0x0,_0x2eef47?()=>K(_0x2eef47):void 0x0);}['_getOrCreateChartRenderInstance'](_0x4e5aa7,_0xb98275,_0x3d6a8e){const _0x585b78=_0x3d5cf7;let _0x58b7cf=this[_0x585b78(0x12f)][_0x585b78(0xd7)](_0x4e5aa7);if((_0x58b7cf==null?void 0x0:_0x58b7cf[_0x585b78(0x228)])===_0xb98275)return _0x58b7cf;_0x58b7cf&&(this[_0x585b78(0x2df)](_0x4e5aa7),_0x58b7cf['dispose'](),this[_0x585b78(0x12f)][_0x585b78(0x115)](_0x4e5aa7));let _0x1086d0=_0x3d6a8e['createChartInstance'](_0xb98275,this['_createChartRenderInstanceContext']());return this[_0x585b78(0x12f)][_0x585b78(0x12c)](_0x4e5aa7,_0x1086d0),_0x1086d0[_0x585b78(0x169)](this['_chartElementEditMode']['get'](_0x4e5aa7)===!0x0),this['_bindChartEventHandlers'](_0x4e5aa7,_0x1086d0),_0x1086d0;}[_0x3d5cf7(0x20f)](){const _0x56b764=_0x3d5cf7;return{'resolveHostStyle':({style:_0x51a124})=>_0x124f00({'style':_0x51a124,'getRenderColor':_0x11ee14=>this[_0x56b764(0x30a)][_0x56b764(0x18d)](_0x11ee14)}),'resolveRenderBackgroundColor':({style:_0x3fdb9b})=>this[_0x56b764(0x30a)][_0x56b764(0x18d)](_0x1778af(_0x3fdb9b))};}[_0x3d5cf7(0xb5)](_0x5da99d){const _0x3b9fe7=_0x3d5cf7;var _0x148733,_0x267204,_0x4180ce;(_0x148733=this[_0x3b9fe7(0x1fe)][_0x3b9fe7(0xd7)](_0x5da99d))==null||_0x148733[_0x3b9fe7(0x23e)](),this[_0x3b9fe7(0x1fe)]['delete'](_0x5da99d),(_0x267204=this[_0x3b9fe7(0x160)][_0x3b9fe7(0xd7)](_0x5da99d))==null||_0x267204[_0x3b9fe7(0x301)](),this[_0x3b9fe7(0x160)][_0x3b9fe7(0x115)](_0x5da99d),(_0x4180ce=this[_0x3b9fe7(0x32b)]['get'](_0x5da99d))==null||_0x4180ce[_0x3b9fe7(0x301)](),this[_0x3b9fe7(0x32b)]['delete'](_0x5da99d);}[_0x3d5cf7(0x1f3)](){const _0x5963f8=_0x3d5cf7;this['_renderDebounceMap'][_0x5963f8(0x253)](_0x4c3b86=>_0x4c3b86[_0x5963f8(0x301)]()),this[_0x5963f8(0x160)][_0x5963f8(0xc9)](),this[_0x5963f8(0x32b)][_0x5963f8(0x253)](_0x3e521f=>_0x3e521f[_0x5963f8(0x301)]()),this['_debounceHandleMap'][_0x5963f8(0xc9)]();}['dispose'](){const _0x4367f6=_0x3d5cf7;this[_0x4367f6(0x1fe)][_0x4367f6(0x253)](_0x3cf360=>_0x3cf360['dispose']()),this[_0x4367f6(0x1fe)][_0x4367f6(0xc9)](),this[_0x4367f6(0x159)][_0x4367f6(0x253)](_0x16262c=>clearTimeout(_0x16262c)),this[_0x4367f6(0x159)]['clear'](),this[_0x4367f6(0xb1)]['clear'](),Array[_0x4367f6(0x13f)](this[_0x4367f6(0x12f)][_0x4367f6(0x216)]())[_0x4367f6(0x253)](_0x46c3e5=>this['_disposeChartRenderInstance'](_0x46c3e5)),this['_chartEventHandlers'][_0x4367f6(0xc9)](),this[_0x4367f6(0x194)][_0x4367f6(0xc9)](),this[_0x4367f6(0x1f3)](),this[_0x4367f6(0x137)][_0x4367f6(0xc9)](),this[_0x4367f6(0x22e)]=null,this['_lastActiveSheet']=null,super['dispose']();}};Y=J([q(0x0,pi),q(0x1,_0x2412ba(_0x2c89c3)),q(0x2,_0x2412ba(_0x3bca3d)),q(0x3,_0x586ba8),q(0x4,_0x10cca1),q(0x5,_0x2412ba(_0x41dfd3)),q(0x6,_0x2412ba(_0x1b3de3)),q(0x7,_0x2412ba(_0x30a3ac)),q(0x8,_0x2412ba(_0x266e8e)),q(0x9,_0x2412ba(_0x366adb)),q(0xa,_0x4d949b),q(0xb,_0x2412ba(ii)),q(0xc,_0x510afd)],Y);const X=_0x11672e(_0x3d5cf7(0x368));let _i=class extends _0x326db3{constructor(_0x4e83ad,_0x3daba0,_0x4e340a,_0x3e4df4,_0x28f9a6){const _0x5ddc28=_0x3d5cf7;super(_0x28f9a6),this[_0x5ddc28(0x14f)]=_0x4e83ad,this[_0x5ddc28(0x2cf)]=_0x3daba0,this[_0x5ddc28(0x105)]=_0x4e340a,this['_univerInstanceService']=_0x3e4df4,G(this,'_rangeSelectMode',!0x1),G(this,'_chartEditorOpen$',new _0x5b6f90(!0x1)),G(this,_0x5ddc28(0x2a8),new _0x5b6f90(null)),G(this,_0x5ddc28(0x296),this['_chartEditorOpen$'][_0x5ddc28(0x12b)]()),G(this,'panelRoute$',this['_panelRoute$'][_0x5ddc28(0x12b)]());}get[_0x3d5cf7(0x32a)](){const _0x3afed6=_0x3d5cf7;return this[_0x3afed6(0x14f)]['activeChartModel']??null;}get[_0x3d5cf7(0x2d8)](){const _0x3471f3=_0x3d5cf7;return this[_0x3471f3(0x28f)][_0x3471f3(0x108)]();}get[_0x3d5cf7(0x109)](){const _0xa65ffe=_0x3d5cf7;return this[_0xa65ffe(0x358)];}[_0x3d5cf7(0x16a)](_0x18d1bf){this['_rangeSelectMode']=_0x18d1bf;}[_0x3d5cf7(0x2fa)](_0x42e5cf){const _0x525ee4=_0x3d5cf7;this[_0x525ee4(0x28f)][_0x525ee4(0x108)]()!==_0x42e5cf&&this[_0x525ee4(0x28f)][_0x525ee4(0x210)](_0x42e5cf);}[_0x3d5cf7(0x2ee)](_0x1d2a05){const _0x32ce5e=_0x3d5cf7;var _0xe7d95b;return this[_0x32ce5e(0x2d8)]&&((_0xe7d95b=this[_0x32ce5e(0x14f)]['activeChartModel'])==null?void 0x0:_0xe7d95b['id'])===_0x1d2a05;}[_0x3d5cf7(0x1b4)](_0x41076f,_0xcff6ff){const _0x13c3f4=_0x3d5cf7;this[_0x13c3f4(0x2a8)]['next']({'chartId':_0x41076f,'route':_0xcff6ff});}[_0x3d5cf7(0x176)](){const _0x4144b0=_0x3d5cf7;this[_0x4144b0(0x2a8)][_0x4144b0(0x210)](null);}['setDataRange'](_0x4fc25a){const _0x92eeb3=_0x3d5cf7;let _0x119436=this['_chartModelService'][_0x92eeb3(0x284)];_0x119436&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x119436['id'],'range':_0x4fc25a});}[_0x3d5cf7(0x2a3)](_0x417ede){const _0x3476b0=_0x3d5cf7;let _0x46d6d3=this[_0x3476b0(0x14f)][_0x3476b0(0x284)];if(!_0x46d6d3)return;let _0x4bcddf=this[_0x3476b0(0x2cf)]['getChartSourceSpec'](_0x46d6d3['id']);if(!_0x4bcddf||Array[_0x3476b0(0x334)](_0x4bcddf))return;let _0x19e95e={..._0x4bcddf,'isRowDirection':_0x417ede===_0x563d52[_0x3476b0(0x18c)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x46d6d3['id'],'range':_0x19e95e});}[_0x3d5cf7(0x26b)](_0x47c2bd){const _0x59fc69=_0x3d5cf7;var _0x1b8bf7;this[_0x59fc69(0x105)][_0x59fc69(0xc4)](_0x267c66['id'],{..._0x47c2bd,'unitId':((_0x1b8bf7=this[_0x59fc69(0x2e0)]['getFocusedUnit']())==null?void 0x0:_0x1b8bf7[_0x59fc69(0x307)]())??''});}[_0x3d5cf7(0x1dd)](_0x3090ae){const _0x3b9da8=_0x3d5cf7;var _0x29e3b6;this[_0x3b9da8(0x105)]['executeCommand'](_0x291888['id'],{..._0x3090ae,'unitId':((_0x29e3b6=this[_0x3b9da8(0x2e0)][_0x3b9da8(0xad)]())==null?void 0x0:_0x29e3b6[_0x3b9da8(0x307)]())??''});}['dispose'](){const _0x37608c=_0x3d5cf7;this['_chartEditorOpen$'][_0x37608c(0x1da)](),this[_0x37608c(0x2a8)][_0x37608c(0x1da)](),super[_0x37608c(0x23e)]();}};_i=J([q(0x0,_0x2412ba(_0x3bca3d)),q(0x1,_0x2412ba(_0x2e63d1)),q(0x2,_0x58813c),q(0x3,_0x10cca1),q(0x4,_0x2412ba(_0x37a60a))],_i);var vi;const yi={'axis':{..._0x71d548,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x436d03,'heatmap':_0x5ad09f,'indicatorLine':_0x37d78e,'legend':_0xbc743d,'lineAndArea':_0x1f042f,'pareto':_0xf28f19,'pie':_0x20d0e2,'relation':{..._0x310d76,'useValueAsSymbolSize':!0x0},'radar':_0x19e23f,'series':{..._0x282ee0,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((vi=_0x5e32aa[_0x3d5cf7(0x2cb)])==null?void 0x0:vi['rightYAxis'])??!0x1}},'style':_0x3520ce,'titles':_0x218db3,'trendline':_0x5a6f4e,'waterfallStyle':_0x5f0786,'wordCloud':_0x101e70},bi=_0x2aa6a6=>_0x2aa6a6['getCurrentUnitOfType'](_0x24eda4[_0x3d5cf7(0x237)])['getUnitId'](),xi=_0x984667=>{const _0x10462c=_0x3d5cf7;var _0x58ed8e;return(_0x58ed8e=_0x984667[_0x10462c(0x302)](_0x24eda4[_0x10462c(0x237)])[_0x10462c(0xb6)]())==null?void 0x0:_0x58ed8e['getSheetId']();},Si=()=>{const _0x1bbc79=_0x3d5cf7;var _0x489b92;let _0x38ae0b=_0x1dea06(X),_0x33a48c=_0x1dea06(_0x3bca3d),_0x292fb0=_0x1dea06(_0x1b3de3),_0x5e53cd=_0x1dea06(_0x30a3ac),_0x16fc36=_0x2f808b(_0x5e53cd),_0x2ed615=_0x5656c1(()=>{const _0x44bf62=_0x128e;let _0x289f11=Fr(Nr['concat'](),_0x16fc36);return _0xa54980(_0x289f11[_0x44bf62(0xe3)](_0x2665cc=>({'id':_0x2665cc['id'],'label':_0x292fb0['t'](_0x44bf62(0x317)+_0x2665cc[_0x44bf62(0x11b)]),'pieSecondaryPlotType':_0x2665cc[_0x44bf62(0xaf)],'value':_0x2665cc['value']})));},[_0x16fc36,_0x292fb0]),_0x3e02d2=_0x3832af(_0x33a48c[_0x1bbc79(0x1c3)],_0x33a48c[_0x1bbc79(0x284)]),_0x1df231=_0x3832af(_0x3e02d2==null?void 0x0:_0x3e02d2[_0x1bbc79(0x214)],_0x3e02d2==null?void 0x0:_0x3e02d2['context']),_0x3f693f=_0x3832af(_0x3e02d2==null?void 0x0:_0x3e02d2[_0x1bbc79(0x167)],_0x3e02d2==null?void 0x0:_0x3e02d2[_0x1bbc79(0x1b1)]),_0x2f5788=_0x3832af(_0x3f693f==null?void 0x0:_0x3f693f[_0x1bbc79(0x33e)],_0x3f693f==null?void 0x0:_0x3f693f[_0x1bbc79(0x2fb)]()),_0x491c02=Array[_0x1bbc79(0x334)](_0x2f5788),_0x557c4c=_0x2f5788&&!_0x491c02&&_0x2f5788[_0x1bbc79(0x1d7)]?_0x563d52[_0x1bbc79(0x18c)]:_0x563d52[_0x1bbc79(0x1f5)],_0x5a16ff=_0x491c02?(_0x489b92=_0x2f5788[0x0])==null?void 0x0:_0x489b92[_0x1bbc79(0x1a5)]:_0x2f5788==null?void 0x0:_0x2f5788[_0x1bbc79(0x246)];return _0x3560a0(_0x1bbc79(0x1d2),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':[_0x59ab0d(_0x2e1952,{'chartTypeOptions':_0x2ed615,'dataSourceControl':_0x59ab0d(Ci,{'dataRange':_0x2f5788,'primaryRange':_0x5a16ff}),'categoryToggleLabel':_0x292fb0['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x557c4c===_0x563d52[_0x1bbc79(0x18c)]?_0x557c4c+'\x20'+(((_0x5a16ff==null?void 0x0:_0x5a16ff['range'][_0x1bbc79(0x25a)])??0x0)+0x1):_0x557c4c+'\x20'+_0x418f59((_0x5a16ff==null?void 0x0:_0x5a16ff['range'][_0x1bbc79(0x151)])??0x0)),'orientationControl':_0x491c02?void 0x0:_0x59ab0d(_0x401d58,{'size':_0x1bbc79(0x33f),'onClick':()=>_0x38ae0b[_0x1bbc79(0x2a3)](_0x557c4c===_0x563d52[_0x1bbc79(0x18c)]?_0x563d52[_0x1bbc79(0x1f5)]:_0x563d52[_0x1bbc79(0x18c)]),'children':_0x292fb0['t']('sheets-chart-ui.common.switchRowColumn')})}),_0x59ab0d(_0xc69a80,{'checked':(_0x1df231==null?void 0x0:_0x1df231[_0x1bbc79(0x188)])===!0x1,'disabled':!_0x3e02d2,'onChange':_0x5bf7c9=>{const _0x8d783d=_0x1bbc79;_0x3e02d2&&_0x38ae0b[_0x8d783d(0x26b)]({'chartModelId':_0x3e02d2['id'],'context':{'plotVisibleOnly':!_0x5bf7c9}});},'children':_0x292fb0['t']('sheets-chart-ui.common.showHiddenData')})]});};function Ci(_0x4ff72f){const _0xf99b40=_0x3d5cf7;let {dataRange:_0x3c23fd,primaryRange:_0x44fe3d}=_0x4ff72f,_0x22e74b=_0x1dea06(X),_0x7c1a2e=_0x1dea06(_0x1b3de3),_0x55ad3e=_0x1dea06(_0x10cca1),_0x5603ee=_0x1dea06(_0x55cdc9),[_0x376494,_0x4db362]=_0x406374(!0x1),[_0x4d0e0a,_0x2f55dc]=_0x406374(!0x1),[_0x55fad8,_0x926638]=_0x406374(),_0x9f9bc7=bi(_0x55ad3e),_0x523576=xi(_0x55ad3e),_0x134e16=_0x3c23fd?jr(_0x3c23fd,_0x55ad3e):'',_0x5f5d4e=_0x2d358c(_0x134e16),_0x2cc283=_0x2d358c(void 0x0),_0x71c36a=_0x2d358c(null);_0x439bb1(()=>{const _0x52cca7=_0x128e;_0x22e74b[_0x52cca7(0x16a)](_0x376494),_0x5603ee['setContextValue'](_0x59cb6d,_0x376494);},[_0x5603ee,_0x376494,_0x22e74b]),_0x439bb1(()=>()=>{const _0xae4f50=_0x128e;_0x22e74b[_0xae4f50(0x16a)](!0x1),_0x5603ee[_0xae4f50(0x321)](_0x59cb6d,!0x1);},[_0x5603ee,_0x22e74b]);let _0x218945=_0x2181fc(_0x44dd77=>{const _0x39b412=_0x128e;var _0x56e076;if(jr(_0x3c23fd,_0x55ad3e)===_0x44dd77)return _0x926638(void 0x0),!0x0;let _0x5ddeb9=_0x44dd77[_0x39b412(0x242)](_0xcf11e0['COMMA']);if(!_0x44dd77[_0x39b412(0x2ac)]()||_0x5ddeb9['length']!==0x1||!((_0x56e076=_0x71c36a[_0x39b412(0x29d)])!=null&&_0x56e076[_0x39b412(0x277)]()))return _0x926638(_0x7c1a2e['t'](_0x39b412(0x31f))),!0x1;let {unitId:_0x4c96f1,sheetName:_0x175ac2,range:_0x38976e}=_0x5527e7(_0x5ddeb9[0x0]),_0x116bac=_0x4c96f1||_0x9f9bc7,_0x353f6d=_0x55ad3e[_0x39b412(0x27b)](_0x116bac),_0x5b3bc4=(_0x44fe3d==null?void 0x0:_0x44fe3d[_0x39b412(0x276)])===_0x116bac?_0x44fe3d[_0x39b412(0x131)]:_0x523576,_0x4ffc22=_0x175ac2?_0x353f6d==null?void 0x0:_0x353f6d['getSheetBySheetName'](_0x175ac2):_0x353f6d==null?void 0x0:_0x353f6d[_0x39b412(0x196)](_0x5b3bc4??'');return!_0x353f6d||!_0x4ffc22||!_0x38cf08(_0x38976e,_0x4ffc22)?(_0x926638(_0x7c1a2e['t'](_0x39b412(0x31f))),!0x1):(_0x926638(void 0x0),_0x22e74b['setDataRange']({'rangeInfo':{'range':_0x38976e,'unitId':_0x116bac,'subUnitId':_0x4ffc22[_0x39b412(0x15b)]()}}),!0x0);},[_0x3c23fd,_0x7c1a2e,_0x44fe3d,_0x22e74b,_0x523576,_0x9f9bc7,_0x55ad3e]),_0x25a2c7=_0x5656c1(()=>({'keyCodes':[{'keyCode':_0x435b1e[_0xf99b40(0x310)],'nativeTextEditorBehavior':_0x57ba32[_0xf99b40(0x245)]}],'handler':_0x1d2a83=>{const _0x5d938a=_0xf99b40;_0x1d2a83===_0x435b1e[_0x5d938a(0x310)]&&_0x218945(_0x5f5d4e[_0x5d938a(0x29d)])&&(_0x2cc283[_0x5d938a(0x29d)]=_0x5f5d4e[_0x5d938a(0x29d)]);}}),[_0x218945]);return _0x59ab0d(_0xf99b40(0x1d2),{'className':_0xf99b40(0x145),'children':_0x3560a0(_0xf99b40(0x1d2),{'children':[_0x59ab0d(_0x5070ea,{'title':_0x7c1a2e['t'](_0xf99b40(0x378))}),_0x59ab0d(_0x4047da,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x9f9bc7,'subUnitId':_0x523576,'initialValue':_0x134e16,'keyboardEventConfig':_0x25a2c7,'selectorRef':_0x71c36a,'onChange':(_0x2b54fd,_0xc63814)=>{const _0x388d94=_0xf99b40;_0x5f5d4e[_0x388d94(0x29d)]=_0xc63814,_0x4d0e0a&&_0x2cc283[_0x388d94(0x29d)]!==_0xc63814&&_0x218945(_0xc63814)&&(_0x2cc283[_0x388d94(0x29d)]=_0xc63814);},'onFocusChange':(_0x25f8f2,_0x315f5a)=>{const _0x40490b=_0xf99b40;if(_0x315f5a!==void 0x0&&(_0x5f5d4e[_0x40490b(0x29d)]=_0x315f5a),_0x4d0e0a||_0x4db362(_0x25f8f2),_0x25f8f2)_0x2cc283[_0x40490b(0x29d)]=_0x5f5d4e[_0x40490b(0x29d)];else{let _0x22563d=_0x2cc283[_0x40490b(0x29d)];_0x2cc283['current']=void 0x0,_0x22563d!==void 0x0&&_0x5f5d4e['current']!==_0x22563d&&_0x218945(_0x5f5d4e[_0x40490b(0x29d)]);}},'onRangeSelectorDialogVisibleChange':_0x2812fc=>{_0x2f55dc(_0x2812fc),_0x4db362(_0x2812fc);}}),_0x55fad8?_0x59ab0d(_0xf99b40(0x1d2),{'className':_0xf99b40(0x133),'children':_0x55fad8}):null]})});}function Z(_0x2f53b6){const _0x1dd3bd=_0x3d5cf7;return _0x3560a0(_0x2d9d69,{'id':_0x2f53b6['id'],'children':[_0x59ab0d(_0x404467,{'children':_0x2f53b6['label']}),_0x59ab0d(_0x4514cf,{'children':_0x2f53b6[_0x1dd3bd(0x238)]})]});}const wi=_0xe603ba=>{const _0x4942fe=_0x3d5cf7;let _0x3555b8=_0x1dea06(_0x1b3de3),_0x12381d=_0x1dea06(X),_0x588b76=_0x1dea06(_0x3bca3d),_0x10dabd=_0x3832af(_0x588b76[_0x4942fe(0x1c3)],_0x588b76['activeChartModel']),_0xf741d6=_0x3832af(_0x12381d[_0x4942fe(0x1e6)],null),_0x2aa8d1=_0xf741d6&&_0xf741d6['chartId']===(_0x10dabd==null?void 0x0:_0x10dabd['id'])?_0xf741d6[_0x4942fe(0x35e)]:null,_0x51a063=_0x50fe44(),_0xe6b490=_0x234765(),[_0x526a55,_0x2745e3]=_0x406374(null);_0x439bb1(()=>{const _0x198847=_0x4942fe;_0x2aa8d1!=null&&_0x2aa8d1[_0x198847(0x290)]&&_0x2745e3(_0x2aa8d1['section']);},[_0x2aa8d1]);let _0x349f7a=_0x3e85b6['baseOn'](_0x51a063,_0x5f487a[_0x4942fe(0x19b)]),_0x3b216c=_0x51a063===_0x5f487a[_0x4942fe(0x273)],_0x347c28=_0x51a063===_0x5f487a[_0x4942fe(0x2b0)],_0x31bba9=_0x51a063===_0x5f487a[_0x4942fe(0x97)],_0x42c8fe=_0x3e85b6['baseOn'](_0x51a063,_0x5f487a[_0x4942fe(0x1e4)]),_0x3d16de=_0x51a063===_0x5f487a[_0x4942fe(0x27f)],_0x39dcee=_0x51a063===_0x5f487a[_0x4942fe(0x16f)],_0x5292a9=_0x51a063===_0x5f487a[_0x4942fe(0x2d9)],_0xda241d=_0x51a063===_0x5f487a[_0x4942fe(0x1bf)],_0x32cc19,_0x1e1c97;switch(_0x51a063){case _0x5f487a[_0x4942fe(0x332)]:_0x32cc19=_0x19a3d3[_0x4942fe(0x332)],_0x1e1c97=_0x3555b8['t'](_0x4942fe(0x349));break;case _0x5f487a[_0x4942fe(0x205)]:_0x32cc19=_0x19a3d3[_0x4942fe(0x205)],_0x1e1c97=_0x3555b8['t']('sheets-chart-ui.section.histogram');break;case _0x5f487a[_0x4942fe(0x2b8)]:_0x32cc19=_0x19a3d3['Treemap'],_0x1e1c97=_0x3555b8['t'](_0x4942fe(0x343));break;case _0x5f487a[_0x4942fe(0x1b7)]:_0x32cc19=_0x19a3d3[_0x4942fe(0x1b7)],_0x1e1c97=_0x3555b8['t'](_0x4942fe(0x370));break;case _0x5f487a[_0x4942fe(0x28c)]:_0x32cc19=_0x19a3d3[_0x4942fe(0x28c)],_0x1e1c97=_0x3555b8['t']('sheets-chart-ui.section.gauge');break;case _0x5f487a[_0x4942fe(0x1fd)]:_0x32cc19=_0x19a3d3[_0x4942fe(0x1fd)],_0x1e1c97=_0x3555b8['t'](_0x4942fe(0x305));}let _0x54688f=_0x21e878(_0x51a063,_0xc5aad3['GeneralSeries'])&&!_0x42c8fe&&!_0x5292a9;return _0x3560a0(_0x442675,{'value':_0x526a55,'onChange':_0x2745e3,'children':[_0x59ab0d(Z,{'id':_0x19a3d3['ChartStyle'],'label':_0x3555b8['t'](_0x4942fe(0x32d)),'children':_0x59ab0d(_0x23d5b2,{'defaultValues':_0xe603ba[_0x4942fe(0x344)]['style']})}),_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x190)],'label':_0x3555b8['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x59ab0d(_0x36c2b4,{'commitMode':_0x4942fe(0x2cc),'defaultValues':_0xe603ba['defaultValues'][_0x4942fe(0x31c)],'selectedTitleKey':_0x2aa8d1==null?void 0x0:_0x2aa8d1[_0x4942fe(0x2d7)]})}),_0x59ab0d(_0x3fe7e8,{'section':_0x4942fe(0x123)}),_0x54688f&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x15d)],'label':_0x3555b8['t'](_0x4942fe(0x1ae)),'children':_0x59ab0d(_0x249e64,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x267)],'NumberFormatField':_0x7be48e,'selectedSeriesId':_0x2aa8d1==null?void 0x0:_0x2aa8d1[_0x4942fe(0x14e)]})}),_0x39dcee&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x36e)],'label':_0x3555b8['t'](_0x4942fe(0x117)),'children':_0x59ab0d(_0xafb5c5,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0xbf)],'getDefaultBucketName':({seriesName:_0x3da2a6,target:_0x186ee4})=>_0x186ee4===_0xe4991b[_0x4942fe(0x1d6)]?_0x3555b8['t'](_0x4942fe(0x2da)):_0x3da2a6?_0x3da2a6+'-('+_0x3555b8['t'](_0x186ee4===_0xe4991b['Positive']?_0x4942fe(0xee):_0x4942fe(0x26a))+')':'','NumberFormatField':_0x7be48e,'selectedSeriesId':_0x2aa8d1==null?void 0x0:_0x2aa8d1['seriesId']})}),_0x5292a9&&_0x3560a0(_0x1cff7a,{'children':[_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x331)],'label':_0x3555b8['t'](_0x4942fe(0x148)),'children':_0x59ab0d(_0x1e53eb,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x158)],'NumberFormatField':_0x7be48e,'showDataPointEditor':!0x0,'target':_0x4942fe(0x11f)})}),_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x8e)],'label':_0x3555b8['t'](_0x4942fe(0x280)),'children':_0x59ab0d(_0x1e53eb,{'defaultValues':_0xe603ba[_0x4942fe(0x344)]['pareto'],'NumberFormatField':_0x7be48e,'showDataPointEditor':!0x1,'target':_0x4942fe(0x1b8)})})]}),_0x349f7a&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x11a)],'label':_0x3555b8['t'](_0x4942fe(0x2f1)),'children':_0x59ab0d(_0x58d756,{'defaultValues':_0xe603ba['defaultValues']['pie'],'NumberFormatField':_0x7be48e})}),_0x347c28&&_0x59ab0d(Z,{'id':_0x19a3d3['WordCloud'],'label':_0x3555b8['t'](_0x4942fe(0x373)),'children':_0x59ab0d(_0x1d8e48,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x292)]})}),_0x3b216c&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x273)],'label':_0x3555b8['t'](_0x4942fe(0x23c)),'children':_0x59ab0d(_0x4fc2db,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x2aa)]})}),_0x31bba9&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x97)],'label':_0x3555b8['t']('sheets-chart-ui.section.funnel'),'children':_0x59ab0d(_0x2eca89,{'defaultValues':_0xe603ba[_0x4942fe(0x344)]['funnel'],'gapControl':'select'})}),_0xda241d&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x1bf)],'label':_0x3555b8['t'](_0x4942fe(0x1e7)),'children':_0x59ab0d(_0x3c4a9f,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0xf9)]})}),_0x3d16de&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x27f)],'label':_0x3555b8['t'](_0x4942fe(0x27e)),'children':_0x59ab0d(_0x292672,{'defaultValues':_0xe603ba['defaultValues'][_0x4942fe(0x2f8)]})}),_0x3b12ac(_0x51a063)&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x2bc)],'label':_0x3555b8['t'](_0x3e85b6[_0x4942fe(0x98)](_0x51a063,_0x5f487a[_0x4942fe(0xf8)])?_0x4942fe(0x274):_0x4942fe(0x26c)),'children':_0x59ab0d(_0x3a3a43,{'defaultValues':_0xe603ba[_0x4942fe(0x344)]['lineAndArea'],'lineStyleControl':_0x4942fe(0xea)})}),_0x21e878(_0x51a063,_0xc5aad3[_0x4942fe(0x11e)])&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x11e)],'label':_0x3555b8['t'](_0x4942fe(0x24b)),'children':_0x59ab0d(_0x55946a,{'defaultValues':_0xe603ba['defaultValues'][_0x4942fe(0x195)]})}),_0x21e878(_0x51a063,_0xc5aad3[_0x4942fe(0x34c)])&&_0x3560a0(_0x1cff7a,{'children':[_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x9f)],'label':_0x3555b8['t'](_0x4942fe(0x179)),'children':_0x59ab0d(_0x13d188,{'axis':'x','defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x175)],'NumberFormatField':_0x7be48e})}),_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x221)],'label':_0x3555b8['t'](_0x4942fe(0xbd)),'children':_0x59ab0d(_0x13d188,{'axis':'y','defaultValues':_0xe603ba['defaultValues']['axis'],'NumberFormatField':_0x7be48e})}),_0x59ab0d(_0x3fe7e8,{'section':_0x4942fe(0x2b9)}),_0xe6b490&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x14c)],'label':_0x3555b8['t'](_0x4942fe(0x2ff)),'children':_0x59ab0d(_0x13d188,{'axis':_0x4942fe(0x2ba),'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x175)],'NumberFormatField':_0x7be48e})}),_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x2c1)],'label':_0x3555b8['t'](_0x4942fe(0x2b4)),'children':_0x59ab0d(_0x243049,{'defaultValues':_0xe603ba[_0x4942fe(0x344)]['axis']})})]}),_0x21e878(_0x51a063,_0xc5aad3[_0x4942fe(0xce)])&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0xce)],'label':_0x3555b8['t'](_0x4942fe(0x9b)),'children':_0x59ab0d(_0x2090d6,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x345)]})}),_0x3dac42(_0x51a063)&&_0x59ab0d(Z,{'id':_0x19a3d3[_0x4942fe(0x1df)],'label':_0x3555b8['t'](_0x4942fe(0x217)),'children':_0x59ab0d(_0x467b53,{'defaultValues':_0xe603ba[_0x4942fe(0x344)][_0x4942fe(0x104)]})}),_0x32cc19&&_0x1e1c97&&_0x59ab0d(Z,{'id':_0x32cc19,'label':_0x1e1c97,'children':_0x59ab0d(_0x10c7aa,{})})]});};function Ti(_0x41dba9){const _0x101e71=_0x3d5cf7;let {className:_0x40b060}=_0x41dba9,[_0x393a6c,_0x6d8b6b]=_0x406374(_0x13e4c6[_0x101e71(0x16b)]),_0x2659c6=_0x1dea06(_0x30a3ac),_0x5362f7=_0x1dea06(_0x1b3de3),_0x3799a8=_0x1dea06(X),_0x603d44=_0x1dea06(_0x3bca3d),_0x1463ea=_0x1dea06(_0x2e63d1),_0x574cb4=_0x3832af(_0x603d44[_0x101e71(0x1c3)],_0x603d44[_0x101e71(0x284)]),_0x53a1e3=_0x3832af(_0x3799a8[_0x101e71(0x1e6)],null),_0x1450de=_0x5656c1(()=>{const _0x309a6b=_0x101e71;var _0x348904;if(!_0x574cb4)return null;let _0x3dd49d=_0x1463ea[_0x309a6b(0x12a)](_0x574cb4['id']);if(!_0x3dd49d)return null;let _0x27f182=Array[_0x309a6b(0x334)](_0x3dd49d)?(_0x348904=_0x3dd49d[0x0])==null?void 0x0:_0x348904[_0x309a6b(0x1a5)]:_0x3dd49d[_0x309a6b(0x246)];return _0x27f182?new _0x12187a(_0x574cb4,new _0xbbd696({'unitId':_0x27f182[_0x309a6b(0x276)],'subUnitId':_0x27f182[_0x309a6b(0x131)],'chartId':_0x574cb4['id'],'injector':_0x2659c6})):null;},[_0x574cb4,_0x2659c6,_0x1463ea]);if(_0x439bb1(()=>{const _0x1a4bcb=_0x101e71;var _0x39544b,_0x3ca2a7;_0x574cb4&&(_0x53a1e3==null?void 0x0:_0x53a1e3[_0x1a4bcb(0x1fb)])===_0x574cb4['id']&&(((_0x39544b=_0x53a1e3[_0x1a4bcb(0x35e)])==null?void 0x0:_0x39544b[_0x1a4bcb(0x128)])===_0x13e4c6[_0x1a4bcb(0xd9)]&&_0x6d8b6b(_0x13e4c6[_0x1a4bcb(0xd9)]),((_0x3ca2a7=_0x53a1e3[_0x1a4bcb(0x35e)])==null?void 0x0:_0x3ca2a7[_0x1a4bcb(0x128)])===_0x13e4c6['Data']&&_0x6d8b6b(_0x13e4c6[_0x1a4bcb(0x16b)]));},[_0x574cb4,_0x53a1e3]),!_0x1450de)return null;let _0x33dda2=_0x59ab0d(_0x101e71(0x1d2),{'className':_0x101e71(0x168)+(_0x393a6c===_0x13e4c6[_0x101e71(0xd9)]?_0x101e71(0x134):_0x101e71(0x2bd))+_0x101e71(0x33b)+(_0x40b060??'')+_0x101e71(0x2c7),'children':_0x59ab0d(_0x57f522,{'ariaLabel':_0x5362f7['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x393a6c,'onTabChange':_0x6d8b6b,'tabListClassName':_0x101e71(0x155),'panelClassName':_0x393a6c===_0x13e4c6['Style']?'-univer-mx-4':void 0x0,'tabs':[{'id':_0x13e4c6['Data'],'panelId':Di,'title':_0x5362f7['t']('sheets-chart-ui.common.setup'),'content':_0x59ab0d(Si,{})},{'id':_0x13e4c6['Style'],'panelId':Oi,'title':_0x5362f7['t'](_0x101e71(0x2e6)),'content':_0x59ab0d(wi,{'defaultValues':yi})}]})});return _0x59ab0d(_0xdcd0d6,{'chartUIService':_0x3799a8,'hostAdapter':_0x1450de,'children':_0x33dda2});}const Ei=_0x3d5cf7(0x122),Di=_0x3d5cf7(0x1ca),Oi=_0x3d5cf7(0xc7);function ki(_0xd05e9){return _0xd05e9['length']===0x1&&Ai(_0xd05e9[0x0]);}function Ai(_0xed6ad5){const _0xc63659=_0x3d5cf7;return(_0xed6ad5==null?void 0x0:_0xed6ad5[_0xc63659(0x2ad)])===_0x6c27df[_0xc63659(0x1fc)]&&!_0xed6ad5[_0xc63659(0x239)];}let ji=class extends _0x2fb1ef{constructor(_0xee59bc,_0x47df7b,_0x20a325,_0x11ad41,_0x1d86ec,_0x31c979,_0x230122,_0x3c08dd,_0x5b5cb1,_0x3555d6,_0x17a991,_0x3fb505,_0x59d0dd,_0x22aaa1,_0x162481){const _0x291737=_0x3d5cf7;var _0x369c02;super(),this[_0x291737(0x186)]=_0xee59bc,this[_0x291737(0x2e0)]=_0x47df7b,this[_0x291737(0x14f)]=_0x20a325,this[_0x291737(0x2cf)]=_0x11ad41,this['_chartRenderService']=_0x1d86ec,this['_sheetDrawingHitTestService']=_0x31c979,this[_0x291737(0xf6)]=_0x230122,this[_0x291737(0x364)]=_0x3c08dd,this[_0x291737(0x1b0)]=_0x5b5cb1,this[_0x291737(0x289)]=_0x3555d6,this[_0x291737(0x105)]=_0x17a991,this[_0x291737(0x2ae)]=_0x3fb505,this[_0x291737(0x2a9)]=_0x59d0dd,this['_localeService']=_0x22aaa1,G(this,_0x291737(0x13b),null),G(this,'_isChartElementEditEnabled',void 0x0),this[_0x291737(0xb8)]=((_0x369c02=_0x162481['getConfig'](_0x291737(0x223)))==null?void 0x0:_0x369c02[_0x291737(0xa6)])===!0x0,this[_0x291737(0x354)](),this[_0x291737(0x2c6)](this[_0x291737(0x2e0)]['getCurrentTypeOfUnit$'](_0x24eda4['UNIVER_SHEET'])[_0x291737(0x36f)](_0x174402=>{const _0x27edfb=_0x291737;var _0x22e40c;_0x174402||(_0x22e40c=this[_0x27edfb(0x13b)])==null||_0x22e40c[_0x27edfb(0x23e)]();})),this[_0x291737(0x2c6)](_0x2aec9e(this[_0x291737(0x283)][_0x291737(0x22d)]['subscribe'](async({drawing:_0x3b1780})=>{const _0x2f10ac=_0x291737;await this[_0x2f10ac(0x2f9)](_0x3b1780);})));}[_0x3d5cf7(0xaa)](){const _0x1499f3=_0x3d5cf7;this[_0x1499f3(0x13b)]=this['_sidebarService']['open']({'id':Ei,'header':{'title':this[_0x1499f3(0x320)]['t'](_0x1499f3(0x1ba))},'width':0x154,'children':{'label':Ei},'onClose':()=>{const _0x51de20=_0x1499f3;this[_0x51de20(0x13b)]=null,this[_0x51de20(0x183)](),this[_0x51de20(0x14f)]['activeChartModel']&&this[_0x51de20(0x14f)][_0x51de20(0xb0)](null),this[_0x51de20(0x186)][_0x51de20(0x294)](null),this[_0x51de20(0x2a9)][_0x51de20(0x321)](_0x5b2ee9,!0x1);}});}['hidePanel'](){const _0x5cf317=_0x3d5cf7;let _0x59c911=this[_0x5cf317(0x13b)];this[_0x5cf317(0x13b)]=null,this['_deactivateEditPanelState'](),this[_0x5cf317(0x14f)][_0x5cf317(0x284)]&&this[_0x5cf317(0x14f)]['setActiveChartModel'](null),_0x59c911==null||_0x59c911[_0x5cf317(0x23e)]();}['initPanel'](){const _0x217a82=_0x3d5cf7;let _0x35f58c=this[_0x217a82(0x2e0)][_0x217a82(0x302)](_0x24eda4[_0x217a82(0x237)]);this[_0x217a82(0x2c6)](this[_0x217a82(0xf6)][_0x217a82(0x1ad)][_0x217a82(0x36f)](_0x59e0b2=>{const _0x3675a8=_0x217a82;_0x59e0b2['id']===_0x3675a8(0x122)&&(_0x59e0b2[_0x3675a8(0x146)]||this[_0x3675a8(0xf6)][_0x3675a8(0x1ad)][_0x3675a8(0x210)]({'visible':!0x1}));})),this[_0x217a82(0x2c6)](_0x1db2bd([this[_0x217a82(0x14f)][_0x217a82(0x1c3)],this[_0x217a82(0x2ae)][_0x217a82(0x296)]])[_0x217a82(0xbc)](_0x5ae0a1(([_0x33c85f,_0x4c954b])=>_0x4c954b?(_0x33c85f==null?void 0x0:_0x33c85f['id'])??null:null),_0x4efa49(),_0x48cf77(null),_0x5c3b76())[_0x217a82(0x36f)](([_0x16f902,_0x54ca7f])=>{const _0x16e840=_0x217a82;this[_0x16e840(0x362)](_0x16f902,_0x54ca7f);})),this[_0x217a82(0x2c6)](this[_0x217a82(0x14f)][_0x217a82(0x1c3)]['subscribe'](_0x2f5feb=>{const _0x1a4df6=_0x217a82;!_0x2f5feb&&this[_0x1a4df6(0x13b)]&&this['hidePanel']();})),this[_0x217a82(0x2c6)](this['_commandService'][_0x217a82(0x269)](_0x5873cd=>{const _0x3f3225=_0x217a82;if(_0x5873cd['id']===U['id']){let _0x11752d=_0x5873cd[_0x3f3225(0xba)];if(!Ai(this[_0x3f3225(0x186)][_0x3f3225(0x34f)]({'unitId':_0x11752d[_0x3f3225(0x276)],'subUnitId':_0x11752d[_0x3f3225(0x131)],'drawingId':_0x11752d['drawingId']})))return;this['openChartPanelById'](_0x11752d[_0x3f3225(0x268)],_0x11752d['route']);}if(_0x5873cd['id']===wr['id']&&this[_0x3f3225(0x106)](),_0x5873cd['id']===_0x880899['id']){var _0x19e5e8;_0x5873cd['params']['chartId']===((_0x19e5e8=this['_chartModelService'][_0x3f3225(0x284)])==null?void 0x0:_0x19e5e8['id'])&&this['hidePanel'](),this[_0x3f3225(0x2a9)][_0x3f3225(0x36a)](_0x5b2ee9)&&(this[_0x3f3225(0x2a9)][_0x3f3225(0x321)](_0x5b2ee9,!0x1),this['_drawingManagerService'][_0x3f3225(0x294)](null));}})),this[_0x217a82(0x2c6)](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x217a82(0x36f)](({id:_0x52ade1})=>{const _0xead5fc=_0x217a82;this[_0xead5fc(0x2ae)][_0xead5fc(0x2ee)](_0x52ade1)&&this[_0xead5fc(0x106)]();})),this[_0x217a82(0x2c6)](this[_0x217a82(0x1b0)]['transformChange$'][_0x217a82(0x36f)](({id:_0x89601d})=>{const _0x1fc5f4=_0x217a82;this[_0x1fc5f4(0x2ae)]['isElementEditModeActive'](_0x89601d)&&(this[_0x1fc5f4(0x2ae)][_0x1fc5f4(0x176)](),this[_0x1fc5f4(0x32e)][_0x1fc5f4(0x169)](_0x89601d,!0x1),this[_0x1fc5f4(0x287)](_0x89601d)&&this[_0x1fc5f4(0x32e)][_0x1fc5f4(0x169)](_0x89601d,!0x0));})),this[_0x217a82(0x2c6)](this[_0x217a82(0x186)][_0x217a82(0xc5)][_0x217a82(0x36f)](_0x2bc858=>{const _0x50e657=_0x217a82;let _0x2c59ba=_0x2bc858[0x0];if(!this['_sheetsChartUIService'][_0x50e657(0x109)]){if(ki(_0x2bc858)){var _0x1f018a;let _0x48a383=this[_0x50e657(0x14f)]['getChartModel'](_0x2c59ba[_0x50e657(0x268)]);_0x48a383&&this[_0x50e657(0x355)](_0x48a383['id'])&&((_0x1f018a=this[_0x50e657(0x14f)][_0x50e657(0x284)])==null?void 0x0:_0x1f018a['id'])!==_0x48a383['id']&&this[_0x50e657(0x14f)][_0x50e657(0xb0)](_0x48a383);}else this[_0x50e657(0x14f)]['activeChartModel']&&this[_0x50e657(0x14f)]['setActiveChartModel'](null),!_0x2c59ba&&!this[_0x50e657(0x2ae)]['rangeSelectMode']&&this[_0x50e657(0x106)]();}})),_0x35f58c&&(this[_0x217a82(0x2c6)](_0x35f58c[_0x217a82(0x1dc)][_0x217a82(0x36f)](()=>{const _0x40e477=_0x217a82;this[_0x40e477(0x106)]();})),this['disposeWithMe'](_0x35f58c['activeSheet$'][_0x217a82(0x36f)](()=>{const _0x390169=_0x217a82;this[_0x390169(0x106)]();})));}async[_0x3d5cf7(0x2f9)](_0x81a40){const _0x161a8e=_0x3d5cf7;this[_0x161a8e(0x2ae)][_0x161a8e(0x2d8)]||Ai(_0x81a40)&&this[_0x161a8e(0x355)](_0x81a40['drawingId'])&&await this['_openEditPanelByDoubleClick'](_0x81a40[_0x161a8e(0x276)],_0x81a40[_0x161a8e(0x131)],_0x81a40['drawingId']);}async[_0x3d5cf7(0x371)](_0x35feb0,_0x2e0f4a,_0x348510){const _0x274e6a=_0x3d5cf7;this[_0x274e6a(0x14f)][_0x274e6a(0x24e)](_0x348510)&&this[_0x274e6a(0x355)](_0x348510)&&await this[_0x274e6a(0x105)][_0x274e6a(0xc4)](U['id'],{'unitId':_0x35feb0,'subUnitId':_0x2e0f4a,'drawingId':_0x348510});}[_0x3d5cf7(0x240)](_0x6b6db,_0x1c0d26){const _0x3f224c=_0x3d5cf7;let _0x451b05=this[_0x3f224c(0x14f)]['getChartModel'](_0x6b6db);_0x451b05&&this[_0x3f224c(0x355)](_0x6b6db)&&(this[_0x3f224c(0x14f)][_0x3f224c(0xb0)](_0x451b05),this[_0x3f224c(0xaa)](),this[_0x3f224c(0x165)](_0x6b6db,_0x1c0d26??null));}[_0x3d5cf7(0x165)](_0x46ddfd,_0x8cdc3c){const _0x434946=_0x3d5cf7;this[_0x434946(0x2ae)][_0x434946(0x2fa)](!0x0),this[_0x434946(0x2ae)][_0x434946(0x1b4)](_0x46ddfd,_0x8cdc3c);}[_0x3d5cf7(0x183)](){const _0x11a875=_0x3d5cf7;this[_0x11a875(0x2ae)][_0x11a875(0x2fa)](!0x1);}[_0x3d5cf7(0x362)](_0x57b7c3,_0x2b2120){const _0x286caf=_0x3d5cf7;_0x57b7c3!==_0x2b2120&&(_0x57b7c3&&this['_chartRenderService'][_0x286caf(0x169)](_0x57b7c3,!0x1),this[_0x286caf(0x2ae)]['clearPanelRoute'](),_0x2b2120&&(this[_0x286caf(0x2ae)][_0x286caf(0x1b4)](_0x2b2120,null),this[_0x286caf(0x32e)][_0x286caf(0x169)](_0x2b2120,this[_0x286caf(0x287)](_0x2b2120))));}[_0x3d5cf7(0x354)](){const _0x51e912=_0x3d5cf7;this[_0x51e912(0x364)][_0x51e912(0xd5)](Hr),this[_0x51e912(0x289)][_0x51e912(0x1c6)](_0x6c27df[_0x51e912(0x1fc)],this['getChartPopupMenus'][_0x51e912(0x2d5)](this));}['_shouldEnableChartElementEdit'](_0x46e58c){const _0x1b95ad=_0x3d5cf7;let _0x49017a=this[_0x1b95ad(0x14f)][_0x1b95ad(0x24e)](_0x46e58c);return!this[_0x1b95ad(0xb8)]||!_0x49017a||!this[_0x1b95ad(0x355)](_0x46e58c)?!0x1:Wr(_0x49017a['chartType']);}[_0x3d5cf7(0x288)](_0x4dbd84,_0x51993a,_0x3f5f00,_0x12fc4a){const _0x1bc9c2=_0x3d5cf7;if(!this[_0x1bc9c2(0x14f)]['getChartModel'](_0x3f5f00))return[];let _0x28216f=[{'label':this[_0x1bc9c2(0x320)]['t'](_0x1bc9c2(0x10e)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x4dbd84,'subUnitId':_0x51993a,'drawingId':_0x3f5f00},'disable':_0x12fc4a!==_0x6c27df[_0x1bc9c2(0x1fc)]}];return this[_0x1bc9c2(0x355)](_0x3f5f00)?[..._0x28216f,{'label':this[_0x1bc9c2(0x320)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x2b1fce['id'],'commandParams':{'unitId':_0x4dbd84,'drawings':[{'unitId':_0x4dbd84,'subUnitId':_0x51993a,'drawingId':_0x3f5f00,'drawingType':_0x12fc4a}]},'disable':!0x1},{'label':this[_0x1bc9c2(0x320)]['t']('sheets-chart-ui.common.hideChartPanel'),'index':0x2,'commandId':wr['id'],'commandParams':{'unitId':_0x4dbd84,'subUnitId':_0x51993a,'drawingId':_0x3f5f00},'disable':!0x1}]:_0x28216f;}[_0x3d5cf7(0x355)](_0x3afa61){const _0x3ca1c4=_0x3d5cf7;return this[_0x3ca1c4(0x2cf)]['getChartSourceSpec'](_0x3afa61)!==void 0x0;}};ji=J([q(0x0,_0x586ba8),q(0x1,_0x10cca1),q(0x2,_0x2412ba(_0x3bca3d)),q(0x3,_0x2412ba(_0x2e63d1)),q(0x4,_0x2412ba(Y)),q(0x5,_0x2412ba(_0x10f9e3)),q(0x6,_0x2412ba(_0x13a09f)),q(0x7,_0x396304),q(0x8,_0x2412ba(_0x2c89c3)),q(0x9,_0x2412ba(_0x282db4)),q(0xa,_0x58813c),q(0xb,X),q(0xc,_0x55cdc9),q(0xd,_0x2412ba(_0x1b3de3)),q(0xe,_0x4d949b)],ji);var Mi='@univerjs-pro/sheets-chart-ui',Ni=_0x3d5cf7(0x1db);let Pi=class extends _0x2fb1ef{constructor(_0x1c3ade,_0x23407f){const _0x308467=_0x3d5cf7;super(),this[_0x308467(0x29f)]=_0x1c3ade,this['_chartModelService']=_0x23407f,this[_0x308467(0x199)]();}['_init'](){this['disposeWithMe'](this['_chartHostProviderService']['removeHost$']['subscribe'](_0x232a45=>{const _0x3a3935=_0x128e;this[_0x3a3935(0x14f)]['removeChartModel'](_0x232a45);}));}};Pi=J([q(0x0,pi),q(0x1,_0x2412ba(_0x3bca3d))],Pi);let Fi=class extends _0x2fb1ef{constructor(_0x5d4638,_0x50310e,_0x217eaa,_0x4f9d78,_0x4b8808,_0x255bea){const _0x4db7b5=_0x3d5cf7;super(),this[_0x4db7b5(0x14f)]=_0x5d4638,this['_chartRenderService']=_0x50310e,this['_localeService']=_0x217eaa,this[_0x4db7b5(0xd1)]=_0x4f9d78,this[_0x4db7b5(0x105)]=_0x4b8808,this['_sheetPrintInterceptorService']=_0x255bea,G(this,'_pendingMutationConfigRenders',new Map()),G(this,_0x4db7b5(0x350),new Set()),this[_0x4db7b5(0x199)](),this[_0x4db7b5(0x99)](),this[_0x4db7b5(0x1d9)]();}[_0x3d5cf7(0x1d9)](){const _0x53eadd=_0x3d5cf7;this[_0x53eadd(0x2c6)](this[_0x53eadd(0x314)]['interceptor'][_0x53eadd(0x2c9)](this[_0x53eadd(0x314)]['interceptor'][_0x53eadd(0x282)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x5100e5,_0x4454b3,_0x3d8387)=>{const _0x15716e=_0x53eadd;let _0x11265a=this['_chartRenderService']['renderChartsForPrinting'](_0x4454b3[_0x15716e(0x276)],_0x4454b3[_0x15716e(0x131)],_0x4454b3[_0x15716e(0x201)]);return _0x4454b3['resourceCollector'][_0x15716e(0x25f)](_0x11265a),_0x3d8387(_0x5100e5);}}));}[_0x3d5cf7(0x199)](){const _0x453393=_0x3d5cf7;this[_0x453393(0x2c6)](this[_0x453393(0x14f)][_0x453393(0x22b)][_0x453393(0x36f)](_0x50c13f=>{const _0x9f4dc3=_0x453393;if(_0x50c13f){let _0xe385d1=new _0x158f73();_0xe385d1['add'](_0x50c13f[_0x9f4dc3(0x167)][_0x9f4dc3(0xbc)](_0x2cdf1a(_0x1b5db0=>_0x1b5db0[_0x9f4dc3(0x2fc)][_0x9f4dc3(0xbc)](_0x30100f(0x1))))[_0x9f4dc3(0x36f)](()=>{const _0x20ac93=_0x9f4dc3;this[_0x20ac93(0x350)][_0x20ac93(0x25f)](_0x50c13f['id']);})),_0xe385d1[_0x9f4dc3(0x25f)](_0x50c13f[_0x9f4dc3(0x119)][_0x9f4dc3(0xbc)](_0x25e680(_0x50c13f[_0x9f4dc3(0x207)]),_0x25e680(this[_0x9f4dc3(0x320)]['direction$']),_0x11cd90(0x64))[_0x9f4dc3(0x36f)](([[_0x2deab2,_0x226107],_0x437656])=>{const _0x4924c8=_0x9f4dc3;var _0x4dcd74;if(!_0x2deab2)return;(_0x4dcd74=_0x2deab2[_0x4924c8(0xe2)])==null||_0x4dcd74[_0x4924c8(0x30e)][_0x4924c8(0x253)]((_0x3bad25,_0xc64047)=>{const _0x105804=_0x4924c8;_0x3bad25[_0x105804(0xcd)]||=this[_0x105804(0x320)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0xc64047+0x1);}),_0x2deab2['series']['forEach']((_0x3caf5f,_0x2a08ae)=>{const _0x25bf0f=_0x4924c8;_0x3caf5f['name']||=this['_localeService']['t'](_0x25bf0f(0x229))+'\x20'+(_0x2a08ae+0x1);});let _0x9c78e2=this['_chartRenderService'][_0x4924c8(0x96)](_0x50c13f,_0x437656),_0x4fb2e6=this[_0x4924c8(0x350)][_0x4924c8(0x115)](_0x50c13f['id']);this[_0x4924c8(0x32e)][_0x4924c8(0x303)](_0x50c13f['id'],_0x2deab2,_0x9c78e2,{'animateDataUpdate':_0x4fb2e6});})),_0x50c13f['onDispose'](()=>{const _0x5ca8ec=_0x9f4dc3;this[_0x5ca8ec(0x350)][_0x5ca8ec(0x115)](_0x50c13f['id']),_0xe385d1[_0x5ca8ec(0x23e)]();});}}));}['_listenChartUpdateMutations'](){const _0x179a34=_0x3d5cf7;this[_0x179a34(0x2c6)](this['_commandService'][_0x179a34(0x269)](_0x47ba0b=>{const _0x740c23=_0x179a34;if(_0x47ba0b['id']!==_0x3564e4['id'])return;let _0x1a2ea1=_0x47ba0b[_0x740c23(0xba)];_0x1a2ea1!=null&&_0x1a2ea1[_0x740c23(0x114)]&&Promise[_0x740c23(0x32c)]()[_0x740c23(0x278)](()=>this[_0x740c23(0x28a)](_0x1a2ea1));}));}[_0x3d5cf7(0x28a)](_0x4b3ae2){const _0x1025f7=_0x3d5cf7;let _0x52f02d=this['_chartModelService']['getChartModel'](_0x4b3ae2[_0x1025f7(0x114)]);if(!_0x52f02d||_0x52f02d[_0x1025f7(0x213)]!==_0x5f487a[_0x1025f7(0x2b0)])return;let _0x3bf6db=_0x52f02d[_0x1025f7(0x23b)];_0x3bf6db?this[_0x1025f7(0xa0)](_0x52f02d,_0x3bf6db):this[_0x1025f7(0x1bb)](_0x52f02d);}['_renderWhenConfigReady'](_0x3376e2){const _0x5c07a4=_0x3d5cf7;if(this[_0x5c07a4(0x339)][_0x5c07a4(0xd7)](_0x3376e2['id']))return;let _0x4435ad=_0x3376e2[_0x5c07a4(0x119)][_0x5c07a4(0xbc)](_0x529ef0(_0x356e4b=>_0x356e4b!=null),_0x4b99c4(0x1))['subscribe'](_0x42641a=>{const _0x44e330=_0x5c07a4;this[_0x44e330(0x339)][_0x44e330(0x115)](_0x3376e2['id']),this[_0x44e330(0xa0)](_0x3376e2,_0x42641a);});this['_pendingMutationConfigRenders'][_0x5c07a4(0x12c)](_0x3376e2['id'],_0x4435ad),_0x3376e2[_0x5c07a4(0x222)](()=>{const _0x269069=_0x5c07a4;_0x4435ad[_0x269069(0x298)](),this[_0x269069(0x339)]['delete'](_0x3376e2['id']);});}[_0x3d5cf7(0xa0)](_0x23e44a,_0x27c931){const _0x195888=_0x3d5cf7;let _0x4c532d=this[_0x195888(0x32e)]['createRuntimeChartStyle'](_0x23e44a,this[_0x195888(0x320)][_0x195888(0x2e9)]());this[_0x195888(0x32e)][_0x195888(0x303)](_0x23e44a['id'],_0x27c931,_0x4c532d);}};Fi=J([q(0x0,_0x2412ba(_0x3bca3d)),q(0x1,_0x2412ba(Y)),q(0x2,_0x2412ba(_0x1b3de3)),q(0x3,X),q(0x4,_0x58813c),q(0x5,_0x2412ba(_0x105853))],Fi);function Ii(_0x524096,_0x27960d){const _0x1fb04f=_0x3d5cf7;return _0x524096[_0x1fb04f(0x276)]!==_0x27960d[_0x1fb04f(0x276)]||_0x524096[_0x1fb04f(0x131)]!==_0x27960d[_0x1fb04f(0x1a8)]?_0x524096:{..._0x524096,'subUnitId':_0x27960d[_0x1fb04f(0x130)]};}function Li(_0xd3d925,_0x584a44){const _0x3ca9ba=_0x3d5cf7;return(_0xd3d925==null?void 0x0:_0xd3d925[_0x3ca9ba(0x341)])===_0x29025a[_0x3ca9ba(0x2d3)]?{..._0xd3d925,'source':Ii(_0xd3d925[_0x3ca9ba(0xa9)],_0x584a44)}:_0xd3d925;}function Ri(_0xd4aa2c,_0x4eab27){const _0x1cb30a=_0x3d5cf7;let {rangeInfo:_0x3a14d2}=_0xd4aa2c;return Array[_0x1cb30a(0x334)](_0x3a14d2)?{..._0xd4aa2c,'rangeInfo':_0x3a14d2[_0x1cb30a(0xe3)](_0x3e6820=>({..._0x3e6820,..._0x3e6820[_0x1cb30a(0x8b)]?{'header':Li(_0x3e6820[_0x1cb30a(0x8b)],_0x4eab27)}:{},'range':Ii(_0x3e6820['range'],_0x4eab27)}))}:{..._0xd4aa2c,'rangeInfo':{..._0x3a14d2,..._0x3a14d2[_0x1cb30a(0x8b)]?{'header':{..._0x3a14d2['header'],..._0x3a14d2[_0x1cb30a(0x8b)][_0x1cb30a(0x31c)]?{'titles':zi(_0x3a14d2['header'][_0x1cb30a(0x31c)],_0x4eab27)}:{}}}:{},'rangeInfo':Ii(_0x3a14d2[_0x1cb30a(0x246)],_0x4eab27)}};}function zi(_0x11cd49,_0x561bf2){const _0x3fa07c=_0x3d5cf7;return _0x11cd49[_0x3fa07c(0x341)]===_0x29025a['Literals']?{..._0x11cd49,'values':{..._0x11cd49[_0x3fa07c(0xb4)]}}:_0x11cd49[_0x3fa07c(0x341)]===_0x29025a['References']?{..._0x11cd49,'values':Object['fromEntries'](Object[_0x3fa07c(0x2b2)](_0x11cd49[_0x3fa07c(0xb4)])[_0x3fa07c(0xe3)](([_0x798a35,_0x3df19e])=>[_0x798a35,_0x3df19e&&Ii(_0x3df19e,_0x561bf2)]))}:{..._0x11cd49,'values':Object['fromEntries'](Object[_0x3fa07c(0x2b2)](_0x11cd49[_0x3fa07c(0xb4)])[_0x3fa07c(0xe3)](([_0x3b44ec,_0x1e7824])=>[_0x3b44ec,_0x1e7824&&Li(_0x1e7824,_0x561bf2)]))};}function Bi(_0x47aeba,_0x4bb308,_0x1198e6,_0x5d0216){const _0x4bfe59=_0x3d5cf7;let _0x3ea61b=_0x4731aa(_0x47aeba,_0x4bb308,_0x1198e6),_0x4e8a00=[];for(let _0x92c1d4 of _0x4bb308){let _0xb09d8b=_0x3ea61b[_0x4bfe59(0x35f)][_0x4bfe59(0xd7)](_0x92c1d4[_0x4bfe59(0x268)]),_0x2adcbe=_0x5d0216(_0x92c1d4);_0xb09d8b&&_0x2adcbe&&_0x4e8a00[_0x4bfe59(0x31d)]({'targetChartId':_0xb09d8b,'source':Ri(_0x2adcbe,_0x1198e6)});}return _0x4e8a00;}let Vi=class extends _0x2fb1ef{constructor(_0x29dd0c,_0x45e295,_0x5c2caa,_0x4b31c0,_0x587489){const _0x25e8dc=_0x3d5cf7;super(),this[_0x25e8dc(0x2e0)]=_0x29dd0c,this['_sheetInterceptorService']=_0x45e295,this[_0x25e8dc(0x351)]=_0x5c2caa,this[_0x25e8dc(0x14f)]=_0x4b31c0,this[_0x25e8dc(0x2cf)]=_0x587489,this[_0x25e8dc(0x9a)]();}[_0x3d5cf7(0x9a)](){const _0x5bac76=_0x3d5cf7;this[_0x5bac76(0x2c6)](this['_sheetInterceptorService'][_0x5bac76(0x13c)]({'getMutations':_0x1355a5=>{const _0x3a32c5=_0x5bac76;if(_0x1355a5['id']===_0x239bf2['id']){let _0x2dbc31=_0x4334f0(this[_0x3a32c5(0x2e0)],_0x1355a5['params']);if(!_0x2dbc31)return{'redos':[],'undos':[]};let {unitId:_0x4c9ce3,subUnitId:_0x417f35}=_0x2dbc31,_0x5b0269=this[_0x3a32c5(0x351)][_0x3a32c5(0x150)](_0x4c9ce3,_0x417f35),_0x4dae45=Object['values'](_0x5b0269)['filter'](_0x14b07f=>_0x14b07f[_0x3a32c5(0x2ad)]===_0x6c27df[_0x3a32c5(0x1fc)]);if(_0x4dae45[_0x3a32c5(0x136)]===0x0)return{'redos':[],'undos':[]};let _0x489b3b=[],_0x45ab96=[];for(let _0x3e88aa=0x0;_0x3e88aa<_0x4dae45['length'];_0x3e88aa++){let _0xffe09e=_0x4dae45[_0x3e88aa],_0x14be47=this[_0x3a32c5(0x14f)][_0x3a32c5(0x24e)](_0xffe09e[_0x3a32c5(0x268)]);if(!_0x14be47)continue;let _0x2c81bf=this[_0x3a32c5(0x2cf)]['getChartSourceSpec'](_0x14be47['id']);if(!_0x2c81bf)continue;let {chartType:_0x580a8b,context:_0x4ac753,style:_0x4d7ed0,dataAggregation:_0x383f48}=_0x14be47[_0x3a32c5(0x219)]();_0x489b3b[_0x3a32c5(0x31d)]({'id':_0x880899['id'],'params':{'unitId':_0x4c9ce3,'subUnitId':_0x417f35,'chartId':_0xffe09e[_0x3a32c5(0x268)]}}),_0x45ab96[_0x3a32c5(0x31d)]({'id':_0x46e3c0['id'],'params':{'unitId':_0x4c9ce3,'subUnitId':_0x417f35,'chartId':_0xffe09e[_0x3a32c5(0x268)],'chartType':_0x580a8b,..._0x13cdf3(_0x2c81bf),'context':_0x4ac753,'style':_0x4d7ed0,'dataAggregation':_0x383f48}});}return{'redos':_0x489b3b,'undos':_0x45ab96};}if(_0x1355a5['id']===_0x5a2480['id']){let {unitId:_0x532158,subUnitId:_0x28ffec,targetSubUnitId:_0x5c4413,copyContext:_0x54078c}=_0x1355a5['params'];if(!_0x532158||!_0x28ffec||!_0x5c4413)return{'redos':[],'undos':[]};let _0x5f171d=this['_sheetDrawingService']['getDrawingData'](_0x532158,_0x28ffec),_0xd9a7f1=Object[_0x3a32c5(0xb4)](_0x5f171d)[_0x3a32c5(0x147)](_0x363f15=>_0x363f15[_0x3a32c5(0x2ad)]===_0x6c27df[_0x3a32c5(0x1fc)]);if(_0xd9a7f1['length']===0x0)return{'redos':[],'undos':[]};let _0x4ecfa5=Bi(_0x54078c,_0xd9a7f1,{'unitId':_0x532158,'sourceSubUnitId':_0x28ffec,'targetSubUnitId':_0x5c4413},_0x4d7a52=>{const _0x342368=_0x3a32c5;let _0x29b22f=this[_0x342368(0x14f)][_0x342368(0x24e)](_0x4d7a52[_0x342368(0x268)]);if(!_0x29b22f)return;let _0x1956ee=this['_sheetsChartService']['getChartSourceSpec'](_0x29b22f['id']);if(!_0x1956ee)return;let {chartType:_0x30185c,context:_0x43e121,style:_0x23c6d9,dataAggregation:_0x19ae4b}=_0x29b22f[_0x342368(0x219)]();return{'rangeInfo':_0x1956ee,'chartType':_0x30185c,'context':_0x43e121,'style':_0x23c6d9,'dataAggregation':_0x19ae4b};}),_0x5ae256=[],_0x1081f5=[];for(let {targetChartId:_0x4bd59d,source:_0x315642}of _0x4ecfa5){let {rangeInfo:_0xc77dbd,chartType:_0x1bdd47,context:_0x483588,style:_0x54f5d8,dataAggregation:_0x42ae2e}=_0x315642;_0x5ae256[_0x3a32c5(0x31d)]({'id':_0x46e3c0['id'],'params':{'unitId':_0x532158,'subUnitId':_0x5c4413,'chartId':_0x4bd59d,'chartType':_0x1bdd47,..._0x13cdf3(_0xc77dbd),'context':_0x483588,'style':_0x54f5d8,'dataAggregation':_0x42ae2e}}),_0x1081f5[_0x3a32c5(0x31d)]({'id':_0x880899['id'],'params':{'unitId':_0x532158,'subUnitId':_0x5c4413,'chartId':_0x4bd59d}});}return{'redos':_0x5ae256,'undos':_0x1081f5};}return{'redos':[],'undos':[]};}}));}};Vi=J([q(0x0,_0x2412ba(_0x10cca1)),q(0x1,_0x2412ba(_0x5ad87a)),q(0x2,_0x2412ba(_0x57747b)),q(0x3,_0x2412ba(_0x3bca3d)),q(0x4,_0x2412ba(_0x2e63d1))],Vi);const Hi=_0x37e8f5=>_0x37e8f5['getCurrentUnitOfType'](_0x24eda4['UNIVER_SHEET'])[_0x3d5cf7(0x307)](),Ui=_0x20924e=>{const _0x156cdf=_0x3d5cf7;var _0x385f9e;return(_0x385f9e=_0x20924e['getCurrentUnitOfType'](_0x24eda4[_0x156cdf(0x237)])[_0x156cdf(0xb6)]())==null?void 0x0:_0x385f9e[_0x156cdf(0x15b)]();};function Wi(){const _0x25652b=_0x3d5cf7;var _0x3f84cd;let _0x53015d=_0x1dea06(X),_0x33018e=_0x1dea06(_0x3bca3d),_0x26404d=_0x1dea06(_0x2e63d1),_0x5ee6cc=_0x1dea06(_0x1b3de3),_0x1ef287=_0x1dea06(_0x30a3ac),_0x135920=_0x2f808b(_0x1ef287),_0x24b009=_0x5656c1(()=>{const _0x26541f=_0x128e;let _0x4e5445=Fr(Nr[_0x26541f(0xf0)](),_0x135920);return _0xa54980(_0x4e5445[_0x26541f(0xe3)](_0x4ffba4=>({'id':_0x4ffba4['id'],'label':_0x5ee6cc['t'](_0x26541f(0x317)+_0x4ffba4['labelId']),'pieSecondaryPlotType':_0x4ffba4[_0x26541f(0xaf)],'value':_0x4ffba4[_0x26541f(0x346)]})));},[_0x135920,_0x5ee6cc]),_0x3efca9=_0x3832af(_0x33018e[_0x25652b(0x1c3)],_0x33018e[_0x25652b(0x284)]),_0x33fb88=_0x3efca9?_0x26404d[_0x25652b(0x35c)](_0x3efca9['id']):void 0x0,_0x54de05=_0x3832af(_0x33fb88==null?void 0x0:_0x33fb88[_0x25652b(0x33e)],_0x33fb88==null?void 0x0:_0x33fb88[_0x25652b(0x2fb)]()),_0x1debfb=Array[_0x25652b(0x334)](_0x54de05),_0x35f4b9=_0x54de05&&!_0x1debfb&&_0x54de05[_0x25652b(0x1d7)]?_0x563d52[_0x25652b(0x18c)]:_0x563d52[_0x25652b(0x1f5)],_0x33fa92=_0x1debfb?(_0x3f84cd=_0x54de05[0x0])==null?void 0x0:_0x3f84cd[_0x25652b(0x1a5)]:_0x54de05==null?void 0x0:_0x54de05[_0x25652b(0x246)];return _0x59ab0d('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':_0x59ab0d(_0x2e1952,{'chartTypeOptions':_0x24b009,'dataSourceControl':_0x59ab0d(Gi,{'dataRange':_0x54de05,'primaryRange':_0x33fa92}),'categoryToggleLabel':_0x5ee6cc['t'](_0x25652b(0x335),_0x35f4b9===_0x563d52[_0x25652b(0x18c)]?_0x35f4b9+'\x20'+(((_0x33fa92==null?void 0x0:_0x33fa92[_0x25652b(0x1a5)][_0x25652b(0x25a)])??0x0)+0x1):_0x35f4b9+'\x20'+_0x418f59((_0x33fa92==null?void 0x0:_0x33fa92[_0x25652b(0x1a5)]['startColumn'])??0x0)),'orientationControl':_0x1debfb?void 0x0:_0x59ab0d(_0x401d58,{'size':'small','onClick':()=>_0x53015d[_0x25652b(0x2a3)](_0x35f4b9===_0x563d52[_0x25652b(0x18c)]?_0x563d52[_0x25652b(0x1f5)]:_0x563d52[_0x25652b(0x18c)]),'children':_0x5ee6cc['t'](_0x25652b(0x1bc))})})});}function Gi(_0x4565f5){const _0x5547d3=_0x3d5cf7;let {dataRange:_0x51d97f,primaryRange:_0x338f76}=_0x4565f5,_0x1ed76c=_0x1dea06(X),_0xf35f18=_0x1dea06(_0x1b3de3),_0x4e7e26=_0x1dea06(_0x10cca1),[_0x59dddf,_0x35fd45]=_0x406374(!0x1),[_0x1a4e21,_0x34e35b]=_0x406374(!0x1),_0x31bfae=Hi(_0x4e7e26),_0x2a3058=Ui(_0x4e7e26);_0x439bb1(()=>{const _0x440398=_0x128e;_0x1ed76c[_0x440398(0x16a)](_0x59dddf);},[_0x59dddf,_0x1ed76c]);let _0x38be42=_0x5656c1(()=>_0xee06f5(async _0xb686a6=>{const _0x199353=_0x128e;var _0x4a52d1;if(jr(_0x51d97f,_0x4e7e26)===_0xb686a6)return;let _0xa9c574=_0xb686a6[_0x199353(0x242)](',')[_0x199353(0x147)](Boolean)[_0x199353(0xe3)](_0x5527e7)[0x0];if(!_0xa9c574)return;let {unitId:_0x1da1b3,sheetName:_0x10f578,range:_0xf1ec8f}=_0xa9c574,_0x356fb9=_0x1da1b3||_0x31bfae,_0x242a92=((_0x4a52d1=_0x4e7e26[_0x199353(0x27b)](_0x356fb9)[_0x199353(0x312)](_0x10f578))==null?void 0x0:_0x4a52d1[_0x199353(0x15b)]())||(_0x338f76==null?void 0x0:_0x338f76[_0x199353(0x131)])||_0x2a3058;_0x242a92&&_0x1ed76c[_0x199353(0x241)]({'rangeInfo':{'range':_0xf1ec8f,'unitId':_0x356fb9,'subUnitId':_0x242a92}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x51d97f,_0x338f76,_0x1ed76c,_0x2a3058,_0x31bfae,_0x4e7e26]);return _0x439bb1(()=>()=>_0x38be42[_0x5547d3(0x301)](),[_0x38be42]),_0x59ab0d(_0x5547d3(0x1d2),{'className':_0x5547d3(0x145),'children':_0x3560a0(_0x5547d3(0x1d2),{'children':[_0x59ab0d(_0x5070ea,{'title':_0xf35f18['t'](_0x5547d3(0x378))}),_0x59ab0d(_0x282c55,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x31bfae,'subUnitId':_0x2a3058,'initialValue':_0x51d97f?jr(_0x51d97f,_0x4e7e26):'','onChange':(_0xd3c4ad,_0x82188b)=>_0x38be42(_0x82188b),'onFocusChange':_0x2a4063=>{_0x1a4e21||_0x35fd45(_0x2a4063);},'onRangeSelectorDialogVisibleChange':_0x155f01=>{_0x34e35b(_0x155f01),_0x35fd45(_0x155f01);}})]})});}function Ki(){const _0x4865c9=_0x3d5cf7;let [_0x17e9dc,_0x2e8ea9]=_0x406374(_0x13e4c6[_0x4865c9(0x16b)]),_0x3dce2f=_0x1dea06(_0x30a3ac),_0x2eeff3=_0x1dea06(_0x1b3de3),_0x249185=_0x1dea06(X),_0x2faecb=_0x1dea06(_0x3bca3d),_0xfecfda=_0x1dea06(_0x2e63d1),_0x18e925=_0x3832af(_0x2faecb[_0x4865c9(0x1c3)],_0x2faecb['activeChartModel']),_0x313e6d=_0x3832af(_0x249185['panelRoute$'],null),_0x37d8ae=_0x5656c1(()=>{const _0x3e85c1=_0x4865c9;var _0xe42876;if(!_0x18e925)return null;let _0x5cb13e=_0xfecfda[_0x3e85c1(0x12a)](_0x18e925['id']);if(!_0x5cb13e)return null;let _0x514c34=Array[_0x3e85c1(0x334)](_0x5cb13e)?(_0xe42876=_0x5cb13e[0x0])==null?void 0x0:_0xe42876[_0x3e85c1(0x1a5)]:_0x5cb13e[_0x3e85c1(0x246)];return _0x514c34?new _0x12187a(_0x18e925,new _0xbbd696({'unitId':_0x514c34['unitId'],'subUnitId':_0x514c34[_0x3e85c1(0x131)],'chartId':_0x18e925['id'],'injector':_0x3dce2f})):null;},[_0x18e925,_0x3dce2f,_0xfecfda]);if(_0x439bb1(()=>{const _0x102a44=_0x4865c9;var _0x528052,_0x3a08eb;_0x18e925&&(_0x313e6d==null?void 0x0:_0x313e6d[_0x102a44(0x1fb)])===_0x18e925['id']&&(((_0x528052=_0x313e6d[_0x102a44(0x35e)])==null?void 0x0:_0x528052[_0x102a44(0x128)])===_0x13e4c6[_0x102a44(0xd9)]&&_0x2e8ea9(_0x13e4c6['Style']),((_0x3a08eb=_0x313e6d[_0x102a44(0x35e)])==null?void 0x0:_0x3a08eb['tab'])===_0x13e4c6[_0x102a44(0x16b)]&&_0x2e8ea9(_0x13e4c6[_0x102a44(0x16b)]));},[_0x18e925,_0x313e6d]),!_0x37d8ae)return null;let _0x1a376c=_0x59ab0d(_0x4865c9(0x1d2),{'className':_0x4865c9(0x1b6),'children':_0x59ab0d(_0x57f522,{'ariaLabel':_0x2eeff3['t'](_0x4865c9(0x1ba)),'activeTab':_0x17e9dc,'onTabChange':_0x2e8ea9,'tabListClassName':_0x4865c9(0x94),'panelClassName':_0x17e9dc===_0x13e4c6[_0x4865c9(0xd9)]?_0x4865c9(0x180):'univer-overflow-visible','tabs':[{'id':_0x13e4c6[_0x4865c9(0x16b)],'panelId':_0x4865c9(0x2d6),'title':_0x2eeff3['t'](_0x4865c9(0x1ea)),'content':_0x59ab0d(Wi,{})},{'id':_0x13e4c6[_0x4865c9(0xd9)],'panelId':_0x4865c9(0x100),'title':_0x2eeff3['t'](_0x4865c9(0x2e6)),'content':_0x59ab0d(wi,{'defaultValues':yi})}]})});return _0x59ab0d(_0x30b090,{'chartUIService':_0x249185,'hostAdapter':_0x37d8ae,'children':_0x1a376c});}let qi=class extends _0x2fb1ef{constructor(_0xf67556){const _0x2daf30=_0x3d5cf7;super(),this[_0x2daf30(0x2c6)](_0xf67556[_0x2daf30(0x285)](Ei,Ki));}};qi=J([q(0x0,_0x2412ba(_0x28eabc))],qi);let Ji=class extends _0x2fb1ef{constructor(_0x4e95ea,_0x53442e,_0xbd145b,_0x43b7da,_0x1c04bc,_0xeca5fb,_0x52edb3,_0x292cb3,_0xf366f){const _0xe5817e=_0x3d5cf7;super(),this['_drawingManagerService']=_0x4e95ea,this['_chartModelService']=_0x53442e,this['_sidebarService']=_0xbd145b,this[_0xe5817e(0x364)]=_0x43b7da,this[_0xe5817e(0x289)]=_0x1c04bc,this['_commandService']=_0xeca5fb,this[_0xe5817e(0x2ae)]=_0x52edb3,this[_0xe5817e(0x2a9)]=_0x292cb3,this[_0xe5817e(0x320)]=_0xf366f,G(this,_0xe5817e(0x13b),null),G(this,_0xe5817e(0x135),!0x1),this[_0xe5817e(0x354)]();}[_0x3d5cf7(0x23e)](){const _0x360463=_0x3d5cf7;this['hidePanel'](),super[_0x360463(0x23e)]();}[_0x3d5cf7(0x1af)](){const _0x5965d5=_0x3d5cf7;this[_0x5965d5(0x135)]||(this['_panelInitialized']=!0x0,this[_0x5965d5(0x2c6)](this[_0x5965d5(0x105)][_0x5965d5(0x269)](_0x4804bf=>{const _0x1b8af9=_0x5965d5;if(_0x4804bf['id']!==U['id'])return;let _0x514e99=_0x4804bf[_0x1b8af9(0xba)];this['openChartPanelById'](_0x514e99[_0x1b8af9(0x268)],_0x514e99[_0x1b8af9(0x35e)]);})));}[_0x3d5cf7(0x240)](_0x5ed54e,_0x5cd0c5){const _0x221a61=_0x3d5cf7;let _0x3eed46=this[_0x221a61(0x14f)][_0x221a61(0x24e)](_0x5ed54e);_0x3eed46&&(this[_0x221a61(0x14f)][_0x221a61(0xb0)](_0x3eed46),this['_openPanel'](),this['_sheetsChartUIService']['setChartEditorOpen'](!0x0),this['_sheetsChartUIService'][_0x221a61(0x1b4)](_0x5ed54e,_0x5cd0c5??null));}[_0x3d5cf7(0x106)](){const _0xb66eb9=_0x3d5cf7;let _0x3e33d7=this[_0xb66eb9(0x13b)];this[_0xb66eb9(0x13b)]=null,this[_0xb66eb9(0x181)](),_0x3e33d7==null||_0x3e33d7[_0xb66eb9(0x23e)]();}['_initMenus'](){const _0x15f57a=_0x3d5cf7;this[_0x15f57a(0x364)][_0x15f57a(0xd5)]({[_0x2eb803['MEDIA']]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}}}),this[_0x15f57a(0x289)][_0x15f57a(0x1c6)](_0x6c27df['DRAWING_CHART'],(_0xcb4aeb,_0x383be4,_0x207257,_0x1c51b2)=>[{'label':this['_localeService']['t'](_0x15f57a(0x1ba)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0xcb4aeb,'subUnitId':_0x383be4,'drawingId':_0x207257},'disable':_0x1c51b2!==_0x6c27df[_0x15f57a(0x1fc)]},{'label':this[_0x15f57a(0x320)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x2b1fce['id'],'commandParams':{'unitId':_0xcb4aeb,'drawings':[{'unitId':_0xcb4aeb,'subUnitId':_0x383be4,'drawingId':_0x207257,'drawingType':_0x1c51b2}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}['_openPanel'](){const _0x2676fc=_0x3d5cf7;this[_0x2676fc(0x13b)]=this[_0x2676fc(0xf6)][_0x2676fc(0x2c0)]({'id':Ei,'header':{'title':this['_localeService']['t'](_0x2676fc(0x1ba))},'children':{'label':Ei},'onClose':()=>{const _0x3841c5=_0x2676fc;this['_sidebarDisposable']=null,this[_0x3841c5(0x181)]();}});}[_0x3d5cf7(0x181)](){const _0x41d6aa=_0x3d5cf7;this[_0x41d6aa(0x2ae)][_0x41d6aa(0x2fa)](!0x1),this[_0x41d6aa(0x2ae)][_0x41d6aa(0x176)](),this['_chartModelService'][_0x41d6aa(0x284)]&&this[_0x41d6aa(0x14f)][_0x41d6aa(0xb0)](null),this[_0x41d6aa(0x186)]['focusDrawing'](null),this[_0x41d6aa(0x2a9)][_0x41d6aa(0x321)](_0x5b2ee9,!0x1);}};Ji=J([q(0x0,_0x586ba8),q(0x1,_0x2412ba(_0x3bca3d)),q(0x2,_0x2412ba(_0x13a09f)),q(0x3,_0x396304),q(0x4,_0x2412ba(_0x282db4)),q(0x5,_0x58813c),q(0x6,X),q(0x7,_0x55cdc9),q(0x8,_0x2412ba(_0x1b3de3))],Ji);let Yi=class extends _0x2fb1ef{constructor(_0x4ab2c9,_0x572a07,_0x280b58,_0x191896,_0x486209){const _0x3847ad=_0x3d5cf7;super(),this[_0x3847ad(0x30f)]=_0x4ab2c9,this[_0x3847ad(0x187)]=_0x572a07,this[_0x3847ad(0x351)]=_0x280b58,this[_0x3847ad(0x14f)]=_0x191896,this[_0x3847ad(0x2cf)]=_0x486209,G(this,_0x3847ad(0x191),void 0x0),this['_initCopyPaste']();}get[_0x3d5cf7(0x254)](){const _0x5babf7=_0x3d5cf7;return this[_0x5babf7(0x351)][_0x5babf7(0x22f)]();}['_initCopyPaste'](){const _0x48e5b1=_0x3d5cf7;this['disposeWithMe'](this['_sheetClipboardService'][_0x48e5b1(0xfd)]({'id':_0x509732,'onBeforeCopyFocusedObject':(_0x4f1a01,_0xdc54b3,_0x2ce483)=>{const _0x2f3665=_0x48e5b1;this['_copyInfo']=null;let _0x1434d3=this['_focusedDrawings'][_0x2f3665(0x147)](_0x1d48e9=>this[_0x2f3665(0x355)](_0x1d48e9));return _0x1434d3['length']!==0x0&&(this[_0x2f3665(0x191)]={'unitId':_0x4f1a01,'subUnitId':_0xdc54b3,'copyType':_0x2ce483,'drawings':_0x1434d3},!0x0);},'onBeforeCopy':(_0x1c89b1,_0x2db539,_0x2c92ef,_0x52cede)=>{const _0x4f3514=_0x48e5b1;this[_0x4f3514(0x191)]=null,this[_0x4f3514(0x260)](_0x1c89b1,_0x2db539,_0x2c92ef,_0x52cede);},'onPasteCells':(_0x2642f4,_0x38a735,_0x51a05c,_0x4570f7)=>{const _0x304922=_0x48e5b1;if(!_0x4570f7[_0x304922(0x173)]||!_0x2642f4||!this[_0x304922(0x191)])return{'redos':[],'undos':[]};let {pasteType:_0x876e0b}=_0x4570f7;return _0x876e0b===_0x2f8251[_0x304922(0x367)]?this[_0x304922(0x1c2)](_0x38a735,this[_0x304922(0x191)]['copyType']===_0x11ba8f[_0x304922(0x1be)]):{'redos':[],'undos':[]};}}));}[_0x3d5cf7(0x260)](_0x5c25bc,_0x4b4d2c,_0x2d887f,_0x592145){const _0x5198aa=_0x3d5cf7;let _0xdfc751=this[_0x5198aa(0x30f)][_0x5198aa(0x330)](_0x5c25bc,_0x4b4d2c);if(!_0xdfc751)return;let _0x3eb5e9=_0x474f06(_0xdfc751,_0x2d887f);if(!_0x3eb5e9)return;let {startX:_0x116019,endX:_0xc7a49f,startY:_0x37f4f6,endY:_0x700313}=_0x3eb5e9,_0xb890c0=this[_0x5198aa(0x351)]['getDrawingData'](_0x5c25bc,_0x4b4d2c),_0x422efb=[];for(let [_0x42ed76,_0x5a3cd0]of Object[_0x5198aa(0x2b2)](_0xb890c0)){if(!this[_0x5198aa(0x355)](_0x5a3cd0))continue;let {transform:_0x273cc4}=_0x5a3cd0;if(!_0x273cc4)continue;let {left:_0x4abb4c=0x0,top:_0x1e9006=0x0,width:_0x2a8bc9=0x0,height:_0x22bbb8=0x0}=_0x273cc4;_0x116019<=_0x4abb4c&&_0xc7a49f>=_0x4abb4c+_0x2a8bc9&&_0x37f4f6<=_0x1e9006&&_0x700313>=_0x1e9006+_0x22bbb8&&_0x422efb['push'](_0x5a3cd0);}_0x422efb[_0x5198aa(0x136)]>0x0&&(this['_copyInfo']={'unitId':_0x5c25bc,'subUnitId':_0x4b4d2c,'copyType':_0x592145,'copyRange':_0x2d887f,'drawings':_0x422efb});}[_0x3d5cf7(0x355)](_0xd832eb){const _0x498adc=_0x3d5cf7;return _0xd832eb['drawingType']===_0x6c27df[_0x498adc(0x1fc)]&&this[_0x498adc(0x2cf)][_0x498adc(0x261)](_0xd832eb[_0x498adc(0x276)],_0xd832eb[_0x498adc(0x268)])===_0xd832eb[_0x498adc(0x131)];}[_0x3d5cf7(0x1c2)](_0x4f09f9,_0x16b1f1){const _0x1a80c3=_0x3d5cf7;let {unitId:_0x56cf13,subUnitId:_0x4740f9,range:_0x32a568}=_0x4f09f9,_0x5791d0=this[_0x1a80c3(0x30f)][_0x1a80c3(0x330)](_0x56cf13,_0x4740f9);if(!_0x5791d0)return{'redos':[],'undos':[]};let _0x5aa0b9=_0x44cffd(_0x32a568),{unitId:_0xf240d4,subUnitId:_0x5aba30,copyRange:_0x2d5495,drawings:_0x33ed7c}=this[_0x1a80c3(0x191)],_0x4fc6f2=this['_sheetSkeletonService']['getSkeleton'](_0xf240d4,_0x5aba30);if(!_0x4fc6f2)return{'redos':[],'undos':[]};let _0x1389b1=[],_0x189131=[];for(let _0x5dec3b of _0x33ed7c){let {drawingId:_0x4cf502,transform:_0x3eac2a,sheetTransform:_0x540254}=_0x5dec3b,_0x590285=this[_0x1a80c3(0x14f)][_0x1a80c3(0x24e)](_0x4cf502);if(!_0x590285||!_0x3eac2a||!_0x540254)continue;let _0xfce6bf=this[_0x1a80c3(0x263)]({'transform':_0x3eac2a,'sheetTransform':_0x540254},{'skeleton':_0x4fc6f2,'range':_0x2d5495},{'skeleton':_0x5791d0,'range':_0x5aa0b9});if(_0x16b1f1){let {redos:_0x4a06df,undos:_0x221e17}=this[_0x1a80c3(0x363)]({'fromUnitId':_0xf240d4,'fromSubUnitId':_0x5aba30,'toUnitId':_0x56cf13,'toSubUnitId':_0x4740f9,'drawing':_0x5dec3b,'newTransforms':_0xfce6bf},_0x590285);_0x1389b1[_0x1a80c3(0x31d)](..._0x4a06df),_0x189131[_0x1a80c3(0x31d)](..._0x221e17);continue;}let {redos:_0x45aa38,undos:_0x537006}=this[_0x1a80c3(0x2b5)]({'toUnitId':_0x56cf13,'toSubUnitId':_0x4740f9,'drawing':_0x5dec3b,'newTransforms':_0xfce6bf},_0x590285);_0x1389b1[_0x1a80c3(0x31d)](..._0x45aa38),_0x189131[_0x1a80c3(0x31d)](..._0x537006);}return{'redos':_0x1389b1,'undos':_0x189131};}[_0x3d5cf7(0x363)](_0x435ed1,_0x4fcc9b){const _0x67e1ac=_0x3d5cf7;let {fromUnitId:_0x5d198e,fromSubUnitId:_0x570026,toUnitId:_0x21c40e,toSubUnitId:_0x1aab61,drawing:_0x3b546b,newTransforms:_0x543491}=_0x435ed1,_0x36b48d={..._0x3b546b,'unitId':_0x21c40e,'subUnitId':_0x1aab61,'transform':_0x543491[_0x67e1ac(0x308)],'sheetTransform':_0x543491[_0x67e1ac(0x142)]};if(_0x21c40e===_0x5d198e&&_0x1aab61===_0x570026){let {redo:_0x2db493,undo:_0x3f9bb3,objects:_0x409e39}=this[_0x67e1ac(0x351)][_0x67e1ac(0xf5)]([_0x36b48d]);return{'redos':[{'id':_0x338d82['id'],'params':{'unitId':_0x21c40e,'subUnitId':_0x1aab61,'type':_0x390b1e[_0x67e1ac(0x118)],'op':_0x2db493,'objects':_0x409e39}}],'undos':[{'id':_0x338d82['id'],'params':{'unitId':_0x21c40e,'subUnitId':_0x1aab61,'type':_0x390b1e[_0x67e1ac(0x118)],'op':_0x3f9bb3,'objects':_0x409e39}}]};}{let _0x1b7077=this[_0x67e1ac(0x351)]['getBatchRemoveOp']([_0x3b546b]),_0x2332c5=this['_sheetDrawingService'][_0x67e1ac(0x1eb)]([_0x36b48d]),_0x402995=this['_sheetsChartService'][_0x67e1ac(0x12a)](_0x4fcc9b['id']);if(!_0x402995)return{'redos':[],'undos':[]};let {chartType:_0x36f770,context:_0x44057e,style:_0x440aaf,dataAggregation:_0x4c3b0e}=_0x4fcc9b['serialize']();return{'redos':[{'id':_0x338d82['id'],'params':{'unitId':_0x5d198e,'subUnitId':_0x570026,'type':_0x390b1e[_0x67e1ac(0x1e2)],'op':_0x1b7077[_0x67e1ac(0xd2)],'objects':_0x1b7077[_0x67e1ac(0x36b)]}},{'id':_0x880899['id'],'params':{'unitId':_0x5d198e,'subUnitId':_0x570026,'chartId':_0x3b546b['drawingId']}},{'id':_0x338d82['id'],'params':{'unitId':_0x21c40e,'subUnitId':_0x1aab61,'type':_0x390b1e[_0x67e1ac(0x29b)],'op':_0x2332c5[_0x67e1ac(0xd2)],'objects':_0x2332c5['objects']}},{'id':_0x46e3c0['id'],'params':{'unitId':_0x21c40e,'subUnitId':_0x1aab61,'chartId':_0x3b546b[_0x67e1ac(0x268)],'chartType':_0x36f770,..._0x13cdf3(_0x402995),'context':_0x44057e,'style':_0x440aaf,'dataAggregation':_0x4c3b0e}}],'undos':[{'id':_0x338d82['id'],'params':{'unitId':_0x5d198e,'subUnitId':_0x570026,'type':_0x390b1e[_0x67e1ac(0x29b)],'op':_0x1b7077['undo'],'objects':_0x1b7077[_0x67e1ac(0x36b)]}},{'id':_0x46e3c0['id'],'params':{'unitId':_0x5d198e,'subUnitId':_0x570026,'chartId':_0x3b546b[_0x67e1ac(0x268)],'chartType':_0x36f770,..._0x13cdf3(_0x402995),'context':_0x44057e,'style':_0x440aaf,'dataAggregation':_0x4c3b0e}},{'id':_0x338d82['id'],'params':{'unitId':_0x21c40e,'subUnitId':_0x1aab61,'type':_0x390b1e[_0x67e1ac(0x1e2)],'op':_0x2332c5[_0x67e1ac(0x318)],'objects':_0x2332c5['objects']}},{'id':_0x880899['id'],'params':{'unitId':_0x21c40e,'subUnitId':_0x1aab61,'chartId':_0x3b546b[_0x67e1ac(0x268)]}}]};}}[_0x3d5cf7(0x2b5)](_0x2723d2,_0x37d860){const _0x385d45=_0x3d5cf7;let {toUnitId:_0x22c0f3,toSubUnitId:_0x54158f,drawing:_0x175f37,newTransforms:_0x1f77e2}=_0x2723d2,_0x530c51=_0x51b909(),_0x2f9b1a={..._0x175f37,'unitId':_0x22c0f3,'subUnitId':_0x54158f,'drawingId':_0x530c51,'transform':_0x1f77e2[_0x385d45(0x308)],'sheetTransform':_0x1f77e2['sheetTransform']},{redo:_0x420d5c,undo:_0x53abc4,objects:_0x59861d}=this['_sheetDrawingService'][_0x385d45(0x1eb)]([_0x2f9b1a]),_0x435735=this[_0x385d45(0x2cf)]['getChartSourceSpec'](_0x37d860['id']);if(!_0x435735)return{'redos':[],'undos':[]};let {chartType:_0x138737,context:_0x4ba964,style:_0xd475d9,dataAggregation:_0x550b41}=_0x37d860['serialize']();return{'redos':[{'id':_0x338d82['id'],'params':{'unitId':_0x22c0f3,'subUnitId':_0x54158f,'type':_0x390b1e[_0x385d45(0x29b)],'op':_0x420d5c,'objects':_0x59861d}},{'id':_0x46e3c0['id'],'params':{'unitId':_0x22c0f3,'subUnitId':_0x54158f,'chartId':_0x530c51,'chartType':_0x138737,..._0x13cdf3(_0x435735),'context':_0x4ba964,'style':_0xd475d9,'dataAggregation':_0x550b41}}],'undos':[{'id':_0x338d82['id'],'params':{'unitId':_0x22c0f3,'subUnitId':_0x54158f,'type':_0x390b1e[_0x385d45(0x1e2)],'op':_0x53abc4,'objects':_0x59861d}},{'id':_0x880899['id'],'params':{'unitId':_0x22c0f3,'subUnitId':_0x54158f,'chartId':_0x530c51}}]};}[_0x3d5cf7(0x263)](_0x509b32,_0x5d9c89,_0x5a2637){const _0x2a0bf6=_0x3d5cf7;let {range:_0x280392,skeleton:_0x1ecdae}=_0x5d9c89,{range:_0x509864,skeleton:_0x3de933}=_0x5a2637,{transform:_0x54adce,sheetTransform:_0x5c527e}=_0x509b32,_0xbfa1d2={..._0x54adce};if(_0x280392){let _0x50c2af=_0x474f06(_0x1ecdae,_0x280392),_0x4d740a=_0x474f06(_0x3de933,_0x509864);if(_0x50c2af&&_0x4d740a){let _0xc56a5=_0x4d740a[_0x2a0bf6(0x125)]-_0x50c2af['startX'],_0x320638=_0x4d740a[_0x2a0bf6(0x212)]-_0x50c2af[_0x2a0bf6(0x212)];_0xbfa1d2['left']=(_0xbfa1d2[_0x2a0bf6(0xfa)]??0x0)+_0xc56a5,_0xbfa1d2[_0x2a0bf6(0x15a)]=(_0xbfa1d2[_0x2a0bf6(0x15a)]??0x0)+_0x320638;}}else{let _0xe78e80=_0x474f06(_0x3de933,_0x509864);_0xbfa1d2[_0x2a0bf6(0xfa)]=_0xe78e80==null?void 0x0:_0xe78e80['startX'],_0xbfa1d2[_0x2a0bf6(0x15a)]=_0xe78e80==null?void 0x0:_0xe78e80[_0x2a0bf6(0x212)];}return{'transform':_0xbfa1d2,'sheetTransform':_0x4c2154(_0xbfa1d2,_0x3de933)??_0x5c527e};}};Yi=J([q(0x0,_0x2412ba(_0x5239c8)),q(0x1,_0x2412ba(_0x5e7929)),q(0x2,_0x2412ba(_0x57747b)),q(0x3,_0x2412ba(_0x3bca3d)),q(0x4,_0x2412ba(_0x2e63d1))],Yi);let Xi=class extends _0x2fb1ef{constructor(_0x569911,_0x2e931c,_0x549e1d,_0x35a9b4){const _0x17dbb7=_0x3d5cf7;super(),this[_0x17dbb7(0x105)]=_0x569911,this[_0x17dbb7(0x320)]=_0x2e931c,this[_0x17dbb7(0x243)]=_0x549e1d,this['_sheetsChartService']=_0x35a9b4,this[_0x17dbb7(0x211)]();}[_0x3d5cf7(0x211)](){const _0x341d0f=_0x3d5cf7;this['disposeWithMe'](this[_0x341d0f(0x105)][_0x341d0f(0xb7)](_0x36ab3a=>{const _0x133726=_0x341d0f;let _0x315476,_0x4a83ae;if(_0x36ab3a['id']===_0x566eb7['id']){let _0x4a9823=_0x36ab3a['params'];_0x315476=_0x4a9823[_0x133726(0x276)],_0x4a83ae=_0x4a9823[_0x133726(0x131)];}else{if(_0x36ab3a['id']===_0x267c66['id']||_0x36ab3a['id']===_0x291888['id']){let _0x4ff99e=_0x36ab3a['params'];_0x315476=_0x4ff99e[_0x133726(0x276)],_0x4a83ae=this[_0x133726(0x2cf)][_0x133726(0x261)](_0x4ff99e['unitId'],_0x4ff99e['chartModelId']);}}_0x315476&&_0x4a83ae&&(this['_sheetPermissionCheckController']['permissionCheckWithoutRange']({'workbookTypes':[_0x4d97bc],'worksheetTypes':[_0x694200]},_0x315476,_0x4a83ae)||this[_0x133726(0x243)][_0x133726(0x18f)](this[_0x133726(0x320)]['t']('sheets-chart-ui.permission.editErr')));}));}};Xi=J([q(0x0,_0x2412ba(_0x58813c)),q(0x1,_0x2412ba(_0x1b3de3)),q(0x2,_0x2412ba(_0x174b66)),q(0x3,_0x2412ba(_0x2e63d1))],Xi);let Zi=class extends _0x2fb1ef{constructor(_0x59de8f,_0x59b975){const _0x906f4b=_0x3d5cf7;super(),this[_0x906f4b(0x24d)]=_0x59b975,this[_0x906f4b(0x2c6)](_0x59de8f[_0x906f4b(0x285)](this));}[_0x3d5cf7(0x20c)](_0x12db2b){const _0x53594d=_0x3d5cf7;return _0x53594d(0x276)in _0x12db2b&&_0x53594d(0x131)in _0x12db2b;}[_0x3d5cf7(0x220)](_0x136de7,_0x54dc24){const _0x243732=_0x3d5cf7;return this['_renderService'][_0x243732(0x220)](_0x136de7['getId'](),_0x54dc24);}};Zi=J([q(0x0,_0x2412ba(_0x364415)),q(0x1,_0x2412ba(Y))],Zi);let Q=class extends _0x512a78{constructor(_0x434df3=Cr,_0xc0dfc8,_0x3b1474,_0x473ee0){const _0x640cbc=_0x3d5cf7;super(),this['_config']=_0x434df3,this['_injector']=_0xc0dfc8,this[_0x640cbc(0x28d)]=_0x3b1474,this[_0x640cbc(0x105)]=_0x473ee0;let {..._0x221c9c}=_0x1b0edf({},Cr,this[_0x640cbc(0xa1)]);this[_0x640cbc(0x28d)][_0x640cbc(0x30c)](Sr,_0x221c9c),this[_0x640cbc(0x265)]();}['onStarting'](){const _0x2730f1=_0x3d5cf7;let _0x3e8aa6=[[qi],[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[Ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x263ba5=[[qi],[Ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];_0x3e8aa6[_0x2730f1(0x253)](_0x5671d1=>this[_0x2730f1(0x153)]['add'](_0x5671d1)),_0x380e5f(this[_0x2730f1(0x153)],_0x263ba5);}[_0x3d5cf7(0xa5)](){const _0xb0ce6d=_0x3d5cf7;var _0x29c818;(_0x29c818=this[_0xb0ce6d(0x153)][_0xb0ce6d(0xd7)](Ji))==null||_0x29c818[_0xb0ce6d(0x1af)]();}[_0x3d5cf7(0x265)](){const _0x55b1b2=_0x3d5cf7;[W,U][_0x55b1b2(0x253)](_0x3c5b31=>this[_0x55b1b2(0x2c6)](this['_commandService'][_0x55b1b2(0x1ff)](_0x3c5b31)));}};G(Q,'type',_0x24eda4[_0x3d5cf7(0x237)]),G(Q,_0x3d5cf7(0x315),'UniverSheetsChartUIPlugin'),G(Q,_0x3d5cf7(0x31b),Mi),G(Q,_0x3d5cf7(0x202),Ni),Q=J([_0x47f387(_0x39d933,_0x37970a,_0x189186,_0xb01d8b,_0x1e5946,_0x33ed67,_0x10b4cb,_0x4b13c1,_0xdafa2f,_0x2ae22d),q(0x1,_0x2412ba(_0x30a3ac)),q(0x2,_0x4d949b),q(0x3,_0x58813c)],Q);const Qi={'scaleX':0x1,'scaleY':0x1};function $i(_0x43f109){const _0x347192=_0x3d5cf7;let _0x401b77=_0x43f109[_0x347192(0x1d1)];return _0x401b77 instanceof MouseEvent?_0x401b77:void 0x0;}function ea(_0x3f8777){const _0x2b4a2b=_0x3d5cf7;let _0x1fe45d=_0x3f8777[_0x2b4a2b(0x1d1)],_0x5e7ea8=_0x1fe45d==null?void 0x0:_0x1fe45d[_0x2b4a2b(0x322)];return _0x5e7ea8 instanceof Element?_0x5e7ea8:void 0x0;}function ta(_0x9164ee){const _0x2bb947=_0x3d5cf7;var _0x4da00e;return(_0x4da00e=ea(_0x9164ee))==null?void 0x0:_0x4da00e[_0x2bb947(0xa4)]();}function na(_0x496e55){const _0x52fbbb=_0x3d5cf7;return _0x496e55[_0x52fbbb(0x1f8)]||_0x496e55['right']-_0x496e55[_0x52fbbb(0xfa)];}function ra(_0xf67f6c){const _0xf311a6=_0x3d5cf7;return _0xf67f6c['height']||_0xf67f6c[_0xf311a6(0x34e)]-_0xf67f6c['top'];}function ia(_0x370d1b,_0x5e4764){const _0x1af1e7=_0x3d5cf7;let _0xc0b9ce=_0x370d1b[_0x1af1e7(0x32f)]||(_0x370d1b instanceof HTMLElement?_0x370d1b[_0x1af1e7(0x272)]:0x0),_0x5aa570=_0x370d1b[_0x1af1e7(0x2f3)]||(_0x370d1b instanceof HTMLElement?_0x370d1b['offsetHeight']:0x0),_0x8b83cb=na(_0x5e4764),_0x31b864=ra(_0x5e4764);return{'scaleX':_0xc0b9ce>0x0&&_0x8b83cb>0x0?_0x8b83cb/_0xc0b9ce:Qi[_0x1af1e7(0x231)],'scaleY':_0x5aa570>0x0&&_0x31b864>0x0?_0x31b864/_0x5aa570:Qi[_0x1af1e7(0x1a4)]};}function aa(_0x4c15d9,_0x11e9e2,_0x449cb7){const _0x1583f7=_0x3d5cf7;return{'left':_0x4c15d9[_0x1583f7(0xfa)]+_0x11e9e2[_0x1583f7(0xfa)]*_0x449cb7[_0x1583f7(0x231)],'right':_0x4c15d9['left']+_0x11e9e2['right']*_0x449cb7['scaleX'],'top':_0x4c15d9[_0x1583f7(0x15a)]+_0x11e9e2[_0x1583f7(0x15a)]*_0x449cb7[_0x1583f7(0x1a4)],'bottom':_0x4c15d9[_0x1583f7(0x15a)]+_0x11e9e2[_0x1583f7(0x34e)]*_0x449cb7[_0x1583f7(0x1a4)]};}function oa(_0x44ff0b){const _0x5ad388=_0x3d5cf7;let _0x44cd67=ea(_0x44ff0b),_0x22726c=_0x44ff0b[_0x5ad388(0x139)][_0x5ad388(0x143)];if(_0x44cd67&&_0x22726c){let _0xd238da=_0x44cd67['getBoundingClientRect']();return()=>{const _0x3f710a=_0x5ad388;let _0x8f2844=_0x44cd67[_0x3f710a(0xa4)]();return(_0x44cd67['isConnected']||na(_0x8f2844)>0x0||ra(_0x8f2844)>0x0)&&(_0xd238da=_0x8f2844),aa(_0xd238da,_0x22726c,ia(_0x44cd67,_0xd238da));};}return()=>{const _0x248417=_0x5ad388;let _0x7969f5=ta(_0x44ff0b);if(_0x7969f5&&_0x22726c)return aa(_0x7969f5,_0x22726c,_0x44cd67?ia(_0x44cd67,_0x7969f5):Qi);let _0x12f895=$i(_0x44ff0b),_0x11ce65=_0x44cd67&&_0x7969f5?ia(_0x44cd67,_0x7969f5):Qi,_0x215933=(_0x12f895==null?void 0x0:_0x12f895[_0x248417(0x12d)])??(_0x7969f5?_0x7969f5[_0x248417(0xfa)]+_0x44ff0b['localPoint']['x']*_0x11ce65[_0x248417(0x231)]:_0x44ff0b['localPoint']['x']),_0x8a028e=(_0x12f895==null?void 0x0:_0x12f895[_0x248417(0x20b)])??(_0x7969f5?_0x7969f5[_0x248417(0x15a)]+_0x44ff0b[_0x248417(0x21e)]['y']*_0x11ce65['scaleY']:_0x44ff0b[_0x248417(0x21e)]['y']);return{'left':_0x215933,'right':_0x215933+0x1,'top':_0x8a028e,'bottom':_0x8a028e+0x1};};}function sa(_0x151a48){const _0x4feaf1=_0x3d5cf7;return typeof _0x151a48==_0x4feaf1(0x2c4)&&Number[_0x4feaf1(0x182)](_0x151a48);}function _0x128e(_0x4f6222,_0x190107){_0x4f6222=_0x4f6222-0x89;const _0x4d6636=_0x4d66();let _0x128eda=_0x4d6636[_0x4f6222];return _0x128eda;}function ca(_0x51a8c5){const _0x225199=_0x3d5cf7;if(!_0x51a8c5||typeof _0x51a8c5!=_0x225199(0x259))return!0x0;let {startX:_0x45ad95,endX:_0x274ce3,startY:_0x8377f9,endY:_0x4c9876}=_0x51a8c5;return!sa(_0x45ad95)||!sa(_0x274ce3)||!sa(_0x8377f9)||!sa(_0x4c9876)||_0x274ce3-_0x45ad95>0x2&&_0x4c9876-_0x8377f9>0x2;}function la(_0x19d986){const _0x2ea417=_0x3d5cf7;return _0x19d986['right']<=_0x19d986[_0x2ea417(0xfa)]||_0x19d986[_0x2ea417(0x34e)]<=_0x19d986[_0x2ea417(0x15a)]?!0x1:typeof window>'u'||_0x19d986['right']>0x0&&_0x19d986[_0x2ea417(0x34e)]>0x0&&_0x19d986[_0x2ea417(0xfa)]<window[_0x2ea417(0x15f)]&&_0x19d986[_0x2ea417(0x15a)]<window[_0x2ea417(0x25d)];}function ua(_0x171793){const _0x44b70e=_0x3d5cf7;var _0x16ae31;return _0x171793==null||(_0x16ae31=_0x171793[_0x44b70e(0x108)])==null?void 0x0:_0x16ae31['call'](_0x171793);}function da(_0x324d21,_0x43fdc0,_0x20faa0){const _0x370a26=_0x3d5cf7;let _0x1c1f01=oa(_0x324d21),_0x1668e9=ua(_0x43fdc0),_0x54e074=_0x1c1f01(),_0xcf76ea=new _0x5b6f90(_0x54e074),_0x362a74=new _0x158f73(),_0x5f21ef=!0x1,_0x3e0c54=!0x1,_0x556b39=_0x20db19=>ca(_0x1668e9)&&la(_0x20db19),_0x2fe52d=()=>{_0x3e0c54||_0x5f21ef||(_0x3e0c54=!0x0,queueMicrotask(()=>{const _0x1bfcc1=_0x128e;if(_0x3e0c54=!0x1,!_0x5f21ef){let _0x52c784=_0x1c1f01();if(!_0x556b39(_0x52c784)){_0x20faa0();return;}_0xcf76ea[_0x1bfcc1(0x210)](_0x52c784);}}));};return _0x43fdc0&&_0x362a74[_0x370a26(0x25f)](_0x43fdc0[_0x370a26(0x36f)](_0x40ed7d=>{_0x1668e9=_0x40ed7d,_0x2fe52d();})),typeof window<'u'&&_0x362a74[_0x370a26(0x25f)](_0x13ca18(_0x5d7b0b(window,_0x370a26(0x286),{'capture':!0x0}),_0x5d7b0b(window,_0x370a26(0x1e9)))[_0x370a26(0xbc)](_0x243dee(0x10))['subscribe'](_0x2fe52d)),{'initialRect':_0x54e074,'anchorRect$':_0xcf76ea[_0x370a26(0x12b)](),'visible':_0x556b39(_0x54e074),'dispose':()=>{const _0x2f046e=_0x370a26;_0x5f21ef=!0x0,_0x362a74['dispose'](),_0xcf76ea[_0x2f046e(0x1da)]();}};}const fa=_0x3d5cf7(0xed);let pa=class extends _0x2fb1ef{constructor(_0x1dd903,_0x3877e0,_0x588807,_0x1d4bc5,_0x56d5e4,_0x29db91,_0x437eec,_0x4e3713,_0x570273){const _0x456ac3=_0x3d5cf7;super(),this[_0x456ac3(0x14f)]=_0x1dd903,this['_chartRenderService']=_0x3877e0,this[_0x456ac3(0x2ef)]=_0x588807,this[_0x456ac3(0x289)]=_0x1d4bc5,this['_sheetCanvasFloatDomManagerService']=_0x56d5e4,this[_0x456ac3(0xd1)]=_0x29db91,this[_0x456ac3(0x184)]=_0x437eec,this[_0x456ac3(0x105)]=_0x4e3713,this[_0x456ac3(0x153)]=_0x570273,G(this,_0x456ac3(0x152),null),G(this,'_popupChartId',null),G(this,_0x456ac3(0x353),null),this[_0x456ac3(0x316)](),this[_0x456ac3(0x197)]();}[_0x3d5cf7(0x23e)](){const _0x2446eb=_0x3d5cf7;this[_0x2446eb(0x224)](),super['dispose']();}[_0x3d5cf7(0x316)](){const _0x19fb86=_0x3d5cf7;let _0x12d2d6=_0x2baaac({'chartUIService':this[_0x19fb86(0xd1)],'getHostAdapter':_0x224e3e=>{const _0x486aab=_0x19fb86;let _0x2422ea=this[_0x486aab(0x14f)][_0x486aab(0x24e)](_0x224e3e[_0x486aab(0x1fb)]);if(_0x2422ea&&_0x224e3e['subUnitId'])return new _0x12187a(_0x2422ea,new _0xbbd696({'unitId':_0x224e3e[_0x486aab(0x276)],'subUnitId':_0x224e3e['subUnitId'],'chartId':_0x224e3e[_0x486aab(0x1fb)],'injector':this[_0x486aab(0x153)]}));},'close':()=>this[_0x19fb86(0x224)](),'openFullPanel':_0x5297e4=>{const _0x35eb95=_0x19fb86;let {unitId:_0x15da68,subUnitId:_0x45b4f9,drawingId:_0x2bbe48,chartId:_0x1261e7}=_0x5297e4,_0x229b35=_0x29f604(_0x5297e4['target']);this[_0x35eb95(0x105)]['executeCommand'](U['id'],{'unitId':_0x15da68,'subUnitId':_0x45b4f9??'','drawingId':_0x2bbe48??_0x1261e7,..._0x229b35?{'route':_0x229b35}:{}});}});this['disposeWithMe'](this['_adapterRegistry']['register'](fa,_0x12d2d6));}[_0x3d5cf7(0x197)](){const _0x156416=_0x3d5cf7;this[_0x156416(0x2c6)](this[_0x156416(0x14f)]['chartModelAdded$'][_0x156416(0x36f)](_0x21e6aa=>{const _0x130bff=_0x156416;let _0x47f4f0=new _0x158f73();_0x47f4f0['add'](this['_chartRenderService']['on'](_0x21e6aa['id'],_0x130bff(0x178),_0x3ec710=>{this['_openFloatMenu'](_0x21e6aa['id'],_0x3ec710);})),_0x47f4f0[_0x130bff(0x25f)](this['_chartRenderService']['on'](_0x21e6aa['id'],_0x130bff(0x33a),()=>{const _0x3340bd=_0x130bff;this[_0x3340bd(0x371)](_0x21e6aa['id']);})),_0x21e6aa['onDispose'](()=>{const _0x43aa49=_0x130bff;_0x47f4f0[_0x43aa49(0x23e)](),this['_clearSelectedTarget'](_0x21e6aa['id']);}),this['disposeWithMe'](_0x47f4f0);})),this[_0x156416(0x2c6)](_0x1db2bd([this['_chartModelService'][_0x156416(0x1c3)],this['_chartUIService'][_0x156416(0x296)]])[_0x156416(0x36f)](([_0x5e8f95,_0x3e1a41])=>{const _0xfa6976=_0x156416;(!_0x3e1a41||this['_popupChartId']&&(_0x5e8f95==null?void 0x0:_0x5e8f95['id'])!==this[_0xfa6976(0x1f9)])&&this[_0xfa6976(0x224)]();})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x156416(0x1b3)][_0x156416(0x36f)](({id:_0x12b897})=>{const _0x41ed91=_0x156416;this[_0x41ed91(0x19f)](_0x12b897);})),this[_0x156416(0x2c6)](this['_sheetCanvasFloatDomManagerService'][_0x156416(0x1ef)]['subscribe'](({id:_0x123270})=>{this['_clearSelectedTarget'](_0x123270);})),this[_0x156416(0x2c6)](this['_chartHostProvider']['removeHost$'][_0x156416(0x36f)](_0x474d72=>{const _0x1d63bb=_0x156416;this[_0x1d63bb(0x19f)](_0x474d72);}));}[_0x3d5cf7(0x371)](_0x144ed6){const _0x2a3bb6=_0x3d5cf7;if(this['_chartUIService']['chartEditorOpen'])return;let _0x4920bc=this[_0x2a3bb6(0x14f)][_0x2a3bb6(0x24e)](_0x144ed6),_0x757468=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x144ed6);_0x4920bc&&_0x757468&&this[_0x2a3bb6(0x105)]['executeCommand'](U['id'],{'unitId':_0x757468[_0x2a3bb6(0x276)],'subUnitId':_0x757468['subUnitId']??'','drawingId':_0x144ed6});}[_0x3d5cf7(0x2f6)](_0xcb208c,_0x1efad9){const _0x2da10c=_0x3d5cf7;if(!this[_0x2da10c(0xd1)][_0x2da10c(0x2ee)](_0xcb208c))return;let _0x4d7b1b=this[_0x2da10c(0x14f)][_0x2da10c(0x24e)](_0xcb208c),_0x45afbd=_0x4d7b1b?Gr(_0x4d7b1b,_0x1efad9[_0x2da10c(0x139)]):void 0x0;if(!_0x45afbd){this[_0x2da10c(0xd1)][_0x2da10c(0x176)](),this['_closePopup']();return;}let _0x2abbde=this['_sheetCanvasFloatDomManagerService'][_0x2da10c(0x25b)](_0xcb208c);if(!_0x4d7b1b||!_0x2abbde){this['_chartUIService']['clearPanelRoute'](),this['_closePopup']();return;}let _0xb946bd=JSON[_0x2da10c(0x291)]([_0x2abbde[_0x2da10c(0x276)],_0x2abbde['subUnitId'],_0xcb208c,_0x45afbd[_0x2da10c(0x322)]]);if(this[_0x2da10c(0x152)]&&this[_0x2da10c(0x353)]===_0xb946bd||(this[_0x2da10c(0xd1)][_0x2da10c(0x1b4)](_0xcb208c,_0x45afbd[_0x2da10c(0x35e)]),this[_0x2da10c(0x224)](),!_0x45afbd[_0x2da10c(0xf2)]))return;let _0x3c269e=da(_0x1efad9,_0x2abbde[_0x2da10c(0x2fd)],()=>this[_0x2da10c(0xc1)](_0xcb208c));if(!_0x3c269e[_0x2da10c(0x146)]){_0x3c269e[_0x2da10c(0x23e)]();return;}let _0x10ddb2=this[_0x2da10c(0x289)][_0x2da10c(0x2c5)](_0x3c269e[_0x2da10c(0x138)],_0x3c269e[_0x2da10c(0x1c0)],{'componentKey':_0x2dc276,'constrainToCanvas':!0x0,'direction':_0x2da10c(0x1f6),'offset':[0x0,0x8],'extraProps':{'unitId':_0x2abbde[_0x2da10c(0x276)],'subUnitId':_0x2abbde[_0x2da10c(0x131)],'chartId':_0xcb208c,'drawingId':_0xcb208c,'element':_0x1efad9['hit'],'target':_0x45afbd[_0x2da10c(0x322)],'adapterKey':fa}},_0x2abbde[_0x2da10c(0x276)],_0x2abbde[_0x2da10c(0x131)])??null;if(!_0x10ddb2){_0x3c269e[_0x2da10c(0x23e)]();return;}let _0x2ecba8=new _0x158f73();_0x2ecba8[_0x2da10c(0x25f)](_0x10ddb2),_0x2ecba8['add'](_0x3c269e),this[_0x2da10c(0x152)]=_0x2ecba8,this[_0x2da10c(0x1f9)]=_0xcb208c,this[_0x2da10c(0x353)]=_0xb946bd;}[_0x3d5cf7(0x224)](){const _0x383a3a=_0x3d5cf7;var _0x1b1332;(_0x1b1332=this[_0x383a3a(0x152)])==null||_0x1b1332[_0x383a3a(0x23e)](),this[_0x383a3a(0x152)]=null,this[_0x383a3a(0x1f9)]=null,this[_0x383a3a(0x353)]=null;}[_0x3d5cf7(0x19f)](_0x482bf2){const _0x367101=_0x3d5cf7;(this[_0x367101(0xd1)][_0x367101(0x2ee)](_0x482bf2)||this[_0x367101(0x1f9)]===_0x482bf2)&&(this[_0x367101(0xd1)][_0x367101(0x176)](),this[_0x367101(0x1f9)]===_0x482bf2&&this[_0x367101(0x224)]());}[_0x3d5cf7(0xc1)](_0x42de68){const _0x5b7018=_0x3d5cf7;this[_0x5b7018(0x19f)](_0x42de68),this[_0x5b7018(0xd1)][_0x5b7018(0x2ee)](_0x42de68)&&(this[_0x5b7018(0x32e)]['setElementEditMode'](_0x42de68,!0x1),this[_0x5b7018(0x32e)]['setElementEditMode'](_0x42de68,!0x0));}};pa=J([q(0x0,_0x2412ba(_0x3bca3d)),q(0x1,_0x2412ba(Y)),q(0x2,pi),q(0x3,_0x2412ba(_0x282db4)),q(0x4,_0x2412ba(_0x2c89c3)),q(0x5,X),q(0x6,_0x2412ba(_0x4c2822)),q(0x7,_0x58813c),q(0x8,_0x2412ba(_0x30a3ac))],pa);let ma=class extends _0x2fb1ef{constructor(_0x484aa4,_0x45480b){const _0x4708ac=_0x3d5cf7;super(),this[_0x4708ac(0x2d2)]=_0x484aa4,this[_0x4708ac(0xcc)]=_0x45480b,this[_0x4708ac(0x1d4)](),this['_registerComponents']();}[_0x3d5cf7(0x1d4)](){const _0x459ffb=_0x3d5cf7;this['disposeWithMe'](this[_0x459ffb(0xcc)][_0x459ffb(0x285)]({'PenIcon':_0x24a57c}));}[_0x3d5cf7(0x2eb)](){[[Ei,Ti]]['forEach'](([_0x5eb403,_0xe1384e])=>{const _0x1ef030=_0x128e;this[_0x1ef030(0x2c6)](this['_componentManager'][_0x1ef030(0x285)](_0x5eb403,_0xe1384e));});}};ma=J([q(0x0,_0x2412ba(_0x28eabc)),q(0x1,_0x2412ba(_0x4a18a2))],ma);let $=class extends _0x512a78{constructor(_0x1e0115=Cr,_0x2a4bcd,_0x15e5da,_0x1b2197){const _0x500a81=_0x3d5cf7;super(),this[_0x500a81(0xa1)]=_0x1e0115,this['_injector']=_0x2a4bcd,this[_0x500a81(0x28d)]=_0x15e5da,this['_commandService']=_0x1b2197,G(this,_0x500a81(0x31a),void 0x0);let {..._0x3d4dff}=_0x1b0edf({},Cr,this[_0x500a81(0xa1)]);this[_0x500a81(0x31a)]=_0x3d4dff,this['_configService'][_0x500a81(0x30c)](Sr,_0x3d4dff),this['_initCommands']();}['onStarting'](){const _0x1c1d39=_0x3d5cf7;this['_injector']['add']([ma]),this[_0x1c1d39(0x153)]['get'](ma);let _0x3285bd=this[_0x1c1d39(0x153)],_0xbd53d=[[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x404a5d=[[ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];this[_0x1c1d39(0x31a)]['enableChartElementFloatMenu']&&(_0xbd53d['push']([pa]),_0x404a5d[_0x1c1d39(0x31d)]([pa])),_0xbd53d['forEach'](_0x53180d=>_0x3285bd[_0x1c1d39(0x25f)](_0x53180d)),_0x380e5f(this[_0x1c1d39(0x153)],_0x404a5d);}[_0x3d5cf7(0xa5)](){const _0xfd3f36=_0x3d5cf7;var _0x2846e3;(_0x2846e3=this[_0xfd3f36(0x153)]['get'](ji))==null||_0x2846e3[_0xfd3f36(0x1af)]();}[_0x3d5cf7(0x265)](){const _0x2d19cc=_0x3d5cf7;[W,Dr,Or,kr,Ar,U,wr][_0x2d19cc(0x253)](_0x164001=>this[_0x2d19cc(0x2c6)](this['_commandService'][_0x2d19cc(0x1ff)](_0x164001)));}};G($,_0x3d5cf7(0x341),_0x24eda4['UNIVER_SHEET']),G($,_0x3d5cf7(0x315),'UniverSheetsChartUIPlugin'),G($,_0x3d5cf7(0x31b),Mi),G($,_0x3d5cf7(0x202),Ni),$=J([_0x47f387(_0x39d933,_0x37970a,_0x189186,_0xb01d8b,_0x1e5946,_0x493b28,_0x10b4cb,_0x44088b,_0xb93c19),q(0x1,_0x2412ba(_0x30a3ac)),q(0x2,_0x4d949b),q(0x3,_0x58813c)],$);export{U as ChartOpenPanelOperation,Y as ChartRenderService,X as ISheetsChartUIService,Sr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,ji as SheetsChartUIController,Hr as SheetsChartUIMenuSchema,_i as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,da as createChartElementPopupAnchorObserver};
|
|
1
|
+
const _0x568f44=_0x1779;(function(_0x5948bf,_0x2ccf31){const _0x26badf=_0x1779,_0x2dc794=_0x5948bf();while(!![]){try{const _0x56f6aa=-parseInt(_0x26badf(0x355))/0x1*(-parseInt(_0x26badf(0x3eb))/0x2)+-parseInt(_0x26badf(0x33c))/0x3*(-parseInt(_0x26badf(0x34f))/0x4)+-parseInt(_0x26badf(0x279))/0x5*(-parseInt(_0x26badf(0x1f8))/0x6)+-parseInt(_0x26badf(0x32f))/0x7*(parseInt(_0x26badf(0x249))/0x8)+-parseInt(_0x26badf(0x236))/0x9*(parseInt(_0x26badf(0x3a8))/0xa)+-parseInt(_0x26badf(0x3c1))/0xb*(parseInt(_0x26badf(0x22c))/0xc)+parseInt(_0x26badf(0x473))/0xd;if(_0x56f6aa===_0x2ccf31)break;else _0x2dc794['push'](_0x2dc794['shift']());}catch(_0x4ab38e){_0x2dc794['push'](_0x2dc794['shift']());}}}(_0xbdb0,0x2c514));import{CommandType as _0x52ca64,DependentOn as _0x35d89e,Disposable as _0x32a96b,DisposableCollection as _0x3b9cf9,DrawingTypeEnum as _0x30e73a,FOCUSING_COMMON_DRAWINGS as _0x4ec8e1,FOCUSING_PANEL_EDITOR as _0x4dd650,ICommandService as _0x5729da,IConfigService as _0x4fc0b3,IContextService as _0x1e8f48,IUniverInstanceService as _0x16f441,Inject as _0x563aa6,Injector as _0x363c1f,LocaleService as _0x565815,Plugin as _0x33d61d,ThemeService as _0x4e6706,UniverInstanceType as _0x1878f2,createIdentifier as _0x174872,debounce as _0x391583,generateRandomId as _0x3ad20e,isValidRange as _0x3a4aeb,merge as _0x5b74ec,numberToABC as _0x55d7a0,toDisposable as _0x2d1683,touchDependencies as _0x1479f7}from'@univerjs/core';import{ChartModelService as _0x813c91,ChartUpdateConfigCommand as _0x58088e,ChartUpdateConfigMutation as _0x2d7535,ChartUpdateSourceCommand as _0x4c9a08,InsertChartCommand as _0x48b185,InsertSheetsChartMutation as _0x2e95ef,RemoveSheetsChartMutation as _0x2f36b6,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1b154d,SHEETS_CHART_PLUGIN_NAME as _0x1f2559,SheetChartConfigAdapter as _0x212bb6,SheetsChartService as _0x42909b,UniverSheetsChartPlugin as _0x3db818,getAllowedChartTypes as _0x470b30,toInsertChartMutationSource as _0x20e3f4}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x1506f9,UniverDrawingPlugin as _0x2d7235,getDrawingShapeKeyByDrawingSearch as _0x3a9253,getOrCreateDrawingCopyPlan as _0x2063c6}from'@univerjs/drawing';import{DrawingApplyType as _0x36dcf8,ISheetDrawingService as _0x4a1b9d,RemoveSheetDrawingCommand as _0x77c0fa,SetDrawingApplyMutation as _0xdf3001,UniverSheetsDrawingPlugin as _0x56fa26,transformToDrawingPosition as _0x34e272}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x2cbe4d,SheetCanvasFloatDomManagerService as _0x3a2ef5,SheetDrawingHitTestService as _0x511ac0,UniverSheetsDrawingMobileUIPlugin as _0x308d50,UniverSheetsDrawingUIPlugin as _0x58f807}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x2893f4,ISheetClipboardService as _0x243151,PREDEFINED_HOOK_NAME as _0x3ce4a3,SheetCanvasPopManagerService as _0x5608a1,SheetCopyCommand as _0x304a39,SheetPrintInterceptorService as _0x280361,SheetSkeletonManagerService as _0x1d95b5,UniverSheetsMobileUIPlugin as _0xe8fbb,UniverSheetsUIPlugin as _0x1bb619,deriveStateFromActiveSheet$ as _0x173cd5,getCurrentRangeDisable$ as _0x243206}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x42fb0e,ComponentManager as _0x20b208,ContextMenuGroup as _0x3aa4cf,ContextMenuPosition as _0xb8bf29,IMenuManagerService as _0x4e7db,ISidebarService as _0x5ccc92,IconManager as _0x4c37de,KeyCode as _0x2c257f,MenuItemType as _0x446f1e,NativeTextEditorShortcutBehavior as _0x27beea,RibbonInsertGroup as _0x250386,UniverMobileUIPlugin as _0x1d0c0d,getMenuHiddenObservable as _0x4ea1e3,useDependency as _0x4f2768,useObservable as _0x1685e2}from'@univerjs/ui';import{BehaviorSubject as _0x5e4432,Observable as _0x2e3536,Subject as _0x485029,combineLatest as _0x4d9f86,combineLatestWith as _0x55b45b,debounceTime as _0x3670fa,distinctUntilChanged as _0x9fa683,filter as _0x463ec2,fromEvent as _0x11e0c5,map as _0x448995,merge as _0x22c62d,pairwise as _0x4ed551,skip as _0x464565,startWith as _0x489f7e,switchMap as _0xce7639,take as _0x421ce1,throttleTime as _0x109990,withLatestFrom as _0x2ebf12}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0xeabddf,CHART_HOST_BORDER_RADIUS as _0x2acd22,CHART_TYPE_CATALOG as _0x15ab4e,ChartAxisSection as _0x3bfe6d,ChartDomFrame as _0x3caa9d,ChartEditBlockTitle as _0x508ec3,ChartEditPanelSection as _0x1781f5,ChartEditPanelTab as _0x5f40c4,ChartEditorCapability as _0x5d33a1,ChartEditorProvider as _0x45cd6c,ChartEditorTabs as _0x2e879b,ChartElementFloatMenuAdapterRegistry as _0x3f448f,ChartFrameContentMode as _0x3b9569,ChartFrameLayout as _0x1c6b54,ChartFunnelStyleSection as _0x3cf98c,ChartGridlinesAndTicksSection as _0x40c39d,ChartHeatmapStyleSection as _0x13f9c4,ChartHostAdapter as _0x31f947,ChartImageExportService as _0xd103b1,ChartIndicatorLineSection as _0x41c24a,ChartLegendSection as _0x15915d,ChartLineAndAreaSection as _0x821aeb,ChartNumberFormatAtom as _0x34dedf,ChartParetoSeriesSection as _0x3f4d48,ChartPieStyleSection as _0x59d704,ChartRadarStyleSection as _0x3f9639,ChartRelationStyleSection as _0x5e8dd6,ChartSectionAccordion as _0x160cf1,ChartSectionAccordionContent as _0x95b2aa,ChartSectionAccordionItem as _0x563858,ChartSectionAccordionTrigger as _0x4a850c,ChartSeriesSection as _0x174135,ChartSetupPanel as _0x510c9c,ChartStyleSection as _0x47ca4f,ChartThreeDSection as _0x5ced47,ChartTitlesSection as _0x5aecd9,ChartTrendlineSection as _0x5c9d76,ChartTypeSpecificStyleSection as _0x11bae9,ChartUIService as _0x36e2b6,ChartViewStateRegistry as _0x30b2eb,ChartWaterfallStyleSection as _0x2938a9,ChartWordCloudStyleSection as _0x4b785,DEFAULT_CHART_AXIS_VALUES as _0x395abf,DEFAULT_CHART_FUNNEL_VALUES as _0x41df45,DEFAULT_CHART_HEATMAP_VALUES as _0x3fc348,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0xbd1eff,DEFAULT_CHART_LEGEND_VALUES as _0x3d9ac2,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x3cb407,DEFAULT_CHART_PARETO_VALUES as _0x4373a1,DEFAULT_CHART_PIE_VALUES as _0x50edfa,DEFAULT_CHART_RADAR_VALUES as _0x565e78,DEFAULT_CHART_RELATION_VALUES as _0x19c60e,DEFAULT_CHART_SERIES_VALUES as _0x4525c2,DEFAULT_CHART_STYLE_VALUES as _0x2362f8,DEFAULT_CHART_TITLE_VALUES as _0x188053,DEFAULT_CHART_TRENDLINE_VALUES as _0x28cd2c,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x1059be,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x40e7c5,MobileChartEditorProvider as _0x39aa66,UniverChartMobileUIPlugin as _0xc4c0b6,UniverChartUIPlugin as _0x68f4d6,buildChartTypeSelectOptions as _0x51c3dc,chartTypeSupportsCapability as _0x271148,chartTypeSupportsLineAndAreaStyle as _0x4f08c2,createChartElementFloatMenuAdapter as _0x3ef70c,resolveChartCreationIntent as _0x41217c,resolveChartEditPanelRoute as _0x453d33,resolveChartElementSelection as _0x2f844b,useChartEditorChartType as _0x231993,useChartEditorHasRightAxis as _0x1cd3fd}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x38e848,ChartImageExportFormat as _0x364b9f,ChartImageSourceType as _0x124645,ChartRenderMode as _0x497f9d,ChartSourceHeaderTitleType as _0xe5b562,ChartThemeService as _0x3aa033,ChartTypeBits as _0x18d4e2,ChartWaterfallStyleTarget as _0x117c24,DataOrientation as _0x10ec2f,EChartRenderEngineName as _0x14e22a,IChartRenderModelManagerService as _0x144ce6,ImageChartHost as _0x2015a0,PieSecondaryPlotType as _0x477e6d,RTLChartStyle as _0x27bed4,chartBitsUtils as _0x40d255,chartImageSourceToDataUrl as _0x422f65,chartTypeCanUseTrendLine as _0x1556b5,resolveChartRuntimeStyle as _0x1d9711,resolveChartStyleBackgroundColor as _0x293065,resolveDefaultChartHostFrameStyle as _0x36f200}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x2df6ed,RemoveSheetCommand as _0xd68d63,SheetInterceptorService as _0x291913,SheetPermissionCheckController as _0x30fb2d,SheetSkeletonService as _0x3d3ce7,SheetsSelectionsService as _0x2cf1ee,UniverSheetsPlugin as _0x2c14ef,WorkbookEditablePermission as _0x306905,WorksheetEditPermission as _0x33354a,attachRangeWithCoord as _0x44de7e,discreteRangeToRange as _0x129c71,getSheetCommandTarget as _0x43665e}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x2380a3,matchToken as _0x41291b,serializeRangeWithSheet as _0x30069b}from'@univerjs/engine-formula';import{insertGroupObject as _0x1ab7fb}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x56b329,IRenderManagerService as _0x35685d,ObjectType as _0x148723,RENDER_CLASS_TYPE as _0x4c858a,Rect as _0x56fb67,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x565982,Transform as _0x1797fb,UniverRenderEnginePlugin as _0x300fdb}from'@univerjs/engine-render';import{useCallback as _0x56c0bd,useEffect as _0x2b9eea,useMemo as _0x1c5e24,useRef as _0x540079,useState as _0x3e5ae0}from'react';import{Button as _0xa27a39,Checkbox as _0x3eedcd}from'@univerjs/design';import{MobileRangeSelector as _0xdc0c83,RangeSelector as _0x1bd946}from'@univerjs/sheets-formula-ui';import{Fragment as _0x36736c,jsx as _0x2f8009,jsxs as _0x48f77f}from'react/jsx-runtime';import{UniverLicensePlugin as _0x34a976}from'@univerjs-pro/license';import{PenIcon as _0x2c239e}from'@univerjs/icons';const U={'type':_0x52ca64[_0x568f44(0x45e)],'id':_0x568f44(0x3f4),'handler'(){return!0x0;}},Sr=_0x568f44(0x2a4),Cr={'enableChartElementFloatMenu':!0x0},wr={'type':_0x52ca64[_0x568f44(0x45e)],'id':_0x568f44(0x1e3),'handler'(){return!0x0;}};function Tr(_0x248bb1){const _0x490e62=_0x568f44;let _0x5567d1=_0x248bb1['get'](_0x4a1b9d)[_0x490e62(0x3f9)]();if(_0x5567d1[_0x490e62(0x429)]!==0x1)return null;let _0x2bf14b=_0x5567d1[0x0];return _0x2bf14b[_0x490e62(0x20d)]===_0x30e73a[_0x490e62(0x312)]?_0x2bf14b:null;}function Er(_0x3ca6a0,_0x557a35){const _0x4c7c03=_0x568f44;let _0x43d7d5=document[_0x4c7c03(0x2b4)]('a');_0x43d7d5[_0x4c7c03(0x29a)]=_0x3ca6a0,_0x43d7d5[_0x4c7c03(0x440)]=_0x557a35,_0x43d7d5['click']();}const Dr={'id':_0x568f44(0x448),'type':_0x52ca64['COMMAND'],'handler':(_0x444ba1,_0x5b0a47)=>{const _0x35f75f=_0x568f44;let _0x3d2d74=Tr(_0x444ba1);return _0x3d2d74?_0x444ba1[_0x35f75f(0x37e)](_0x5729da)[_0x35f75f(0x1f7)](U['id'],{'unitId':_0x3d2d74[_0x35f75f(0x45f)],'subUnitId':_0x3d2d74[_0x35f75f(0x206)],'drawingId':_0x3d2d74[_0x35f75f(0x2e0)],..._0x5b0a47!=null&&_0x5b0a47[_0x35f75f(0x27e)]?{'route':_0x5b0a47[_0x35f75f(0x27e)]}:{}}):!0x1;}},Or={'id':_0x568f44(0x3a9),'type':_0x52ca64[_0x568f44(0x2de)],'handler':_0x544e26=>Tr(_0x544e26)?_0x544e26['get'](_0x5729da)[_0x568f44(0x1f7)](_0x304a39['id']):!0x1},kr={'id':'sheet.command.chart.export-focused-image','type':_0x52ca64[_0x568f44(0x2de)],'handler':async _0x97bcca=>{const _0x257554=_0x568f44;let _0x3a2dac=Tr(_0x97bcca);if(!_0x3a2dac)return!0x1;let _0x13ad22=await _0x97bcca[_0x257554(0x37e)](_0xd103b1)[_0x257554(0x1e6)]({'unitId':_0x3a2dac[_0x257554(0x45f)],'subUnitId':_0x3a2dac[_0x257554(0x206)],'getId':()=>_0x3a2dac[_0x257554(0x2e0)]});return _0x13ad22?(Er(_0x13ad22,_0x3a2dac[_0x257554(0x2e0)]+'.png'),!0x0):!0x1;}},Ar={'id':_0x568f44(0x226),'type':_0x52ca64[_0x568f44(0x2de)],'handler':_0x35dd01=>{const _0x4bfde5=_0x568f44;let _0xd65bc9=Tr(_0x35dd01);return _0xd65bc9?_0x35dd01[_0x4bfde5(0x37e)](_0x5729da)[_0x4bfde5(0x1f7)](_0x77c0fa['id'],{'unitId':_0xd65bc9['unitId'],'drawings':[{'unitId':_0xd65bc9[_0x4bfde5(0x45f)],'subUnitId':_0xd65bc9[_0x4bfde5(0x206)],'drawingId':_0xd65bc9[_0x4bfde5(0x2e0)],'drawingType':_0x30e73a[_0x4bfde5(0x312)]}]}):!0x1;}},W={'type':_0x52ca64[_0x568f44(0x2de)],'id':_0x568f44(0x2e9),'handler':async(_0x19287d,_0x98b408)=>{const _0x1c074b=_0x568f44;let _0x10422b=_0x43665e(_0x19287d[_0x1c074b(0x37e)](_0x16f441));if(!_0x10422b)return!0x1;let _0x8f6112=_0x19287d[_0x1c074b(0x37e)](_0x2cf1ee)['getCurrentLastSelection']();if(!_0x8f6112)return!0x1;let {range:_0x2ac58b}=_0x8f6112,_0x1c0842=_0x19287d['get'](_0x5729da),{unitId:_0x2ec02c,subUnitId:_0x5a1383}=_0x10422b,{pieSecondaryPlotType:_0x218702,value:_0xdfb3ca}=_0x98b408,_0x369bf7=_0x218702!==void 0x0;if(_0x369bf7&&(_0xdfb3ca!==_0x18d4e2[_0x1c074b(0x308)]||_0x218702!==_0x477e6d[_0x1c074b(0x308)]&&_0x218702!==_0x477e6d[_0x1c074b(0x47b)]))return!0x1;let _0x55afd1=_0x369bf7?_0x3ad20e():void 0x0;return _0x1c0842[_0x1c074b(0x1f7)](_0x48b185['id'],{'unitId':_0x2ec02c,'subUnitId':_0x5a1383,'chartType':_0xdfb3ca,..._0x55afd1&&_0x218702?{'chartId':_0x55afd1,'config':{'unitId':_0x2ec02c,'chartModelId':_0x55afd1,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x218702}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x2ac58b[_0x1c074b(0x45f)]??_0x2ec02c,'subUnitId':_0x2ac58b[_0x1c074b(0x2e4)]??_0x5a1383,'range':_0x2ac58b}}});}};function jr(_0x162675,_0x21f667){const _0x4d8eda=_0x568f44;if(_0x162675==null)return'';if(Array['isArray'](_0x162675)){var _0x4f2154;let _0x149a2b=(_0x4f2154=_0x162675[0x0])==null?void 0x0:_0x4f2154[_0x4d8eda(0x338)];return _0x149a2b?Mr(_0x149a2b,_0x21f667):'';}return Mr(_0x162675[_0x4d8eda(0x247)],_0x21f667);}function Mr(_0x281a28,_0x460317){const _0x23efde=_0x568f44;var _0x8f6c04;let {unitId:_0x19bcd9,subUnitId:_0x93d5b8,range:_0x4a2c50}=_0x281a28,_0x3c76bd=(_0x8f6c04=_0x460317[_0x23efde(0x20b)](_0x19bcd9))==null?void 0x0:_0x8f6c04[_0x23efde(0x467)](_0x93d5b8);if(!_0x3c76bd)return'';let _0x427353=_0x3c76bd[_0x23efde(0x3f7)]();return _0x30069b(_0x427353,_0x4a2c50);}const Nr=_0x15ab4e['map'](_0x535e26=>({'id':'id'in _0x535e26?_0x535e26['id']:void 0x0,'labelId':_0x535e26['labelId'],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x535e26?_0x535e26[_0x568f44(0x414)]:void 0x0,'value':_0x535e26[_0x568f44(0x2a0)],'icon':_0x535e26[_0x568f44(0x1f2)]}));function Pr(_0x480b10=Nr){const _0x2a012a=_0x568f44;return _0x480b10[_0x2a012a(0x2ab)](({id:_0x1c701f,icon:_0x34d651,value:_0x378677})=>{const _0x58d377=_0x2a012a;let _0x3f8e60=_0x41217c(_0x1c701f??String(_0x378677)),_0x1dc37c=_0x3f8e60?{'value':_0x3f8e60[_0x58d377(0x443)],..._0x3f8e60[_0x58d377(0x414)]?{'pieSecondaryPlotType':_0x3f8e60[_0x58d377(0x414)]}:{}}:{'value':_0x378677};return{'icon':_0x34d651,'value':_0x1c701f??_0x378677,'params':_0x1dc37c};});}const Fr=(_0x41ec05,_0x572715)=>{const _0x38d49a=_0x568f44;if(_0x572715[_0x38d49a(0x429)]===0x1&&_0x572715[0x0]===_0x38d49a(0x333))return _0x41ec05;if(_0x572715[_0x38d49a(0x429)]>0x1){let _0x2c2c9e=new Set();for(let _0x4478f4 of _0x572715)_0x2c2c9e[_0x38d49a(0x371)](Number(_0x4478f4));return _0x41ec05[_0x38d49a(0x26b)](_0x374d56=>_0x2c2c9e['has'](_0x374d56[_0x38d49a(0x2a0)]));}return[];};function Ir(_0x2affc7){const _0x4c4883=_0x568f44;let _0x42f43a=_0x2affc7[_0x4c4883(0x37e)](_0x16f441),_0x3a8e12=_0x470b30(_0x2affc7),_0x4a1d2e=Fr(Nr[_0x4c4883(0x2ee)](),_0x3a8e12),_0x2aeec5=Pr(_0x4a1d2e)[_0x4c4883(0x2ab)]((_0x2c8e18,_0x18d42a)=>({'icon':_0x2c8e18['icon'],'value':_0x2c8e18[_0x4c4883(0x2a0)],'params':_0x2c8e18[_0x4c4883(0x337)],'label':_0x4c4883(0x356)+_0x4a1d2e[_0x18d42a][_0x4c4883(0x30c)]}));return{'id':W['id'],'type':_0x446f1e[_0x4c4883(0x2ae)],'selectionsCommandId':W['id'],'selections':_0x2aeec5,'icon':_0x4c4883(0x2b6),'tooltip':_0x4c4883(0x3c8),'activated$':_0x173cd5(_0x42f43a,!0x1,()=>new _0x2e3536(_0xa50d3c=>{_0xa50d3c['next'](!0x1);})),'hidden$':_0x4ea1e3(_0x2affc7,_0x1878f2['UNIVER_SHEET']),'disabled$':_0x243206(_0x2affc7)};}function Lr(_0x3f1ce4){const _0x2a82ca=_0x568f44;let _0x8f2ab6=_0x3f1ce4[_0x2a82ca(0x37e)](_0x4a1b9d);return _0x8f2ab6[_0x2a82ca(0x1e8)][_0x2a82ca(0x277)](_0x489f7e(_0x8f2ab6['getFocusDrawings']()),_0x448995(()=>Tr(_0x3f1ce4)==null));}function Rr(_0x2e2c70){const _0x45b62b=_0x568f44;return{'id':Dr['id'],'commandId':Dr['id'],'type':_0x446f1e[_0x45b62b(0x47a)],'title':_0x2e2c70[_0x45b62b(0x37e)](_0x565815)['t']('sheets-chart-ui.common.openChartPanel'),'icon':_0x45b62b(0x418),'hidden$':Lr(_0x2e2c70)};}function zr(_0x422ddb){const _0x4507bb=_0x568f44;return{'id':Or['id'],'commandId':Or['id'],'type':_0x446f1e[_0x4507bb(0x47a)],'title':_0x422ddb[_0x4507bb(0x37e)](_0x565815)['t']('sheets-chart-ui.common.copy'),'icon':_0x4507bb(0x208),'hidden$':Lr(_0x422ddb)};}function Br(_0x1a6852){const _0x26ffe2=_0x568f44;return{'id':kr['id'],'commandId':kr['id'],'type':_0x446f1e[_0x26ffe2(0x47a)],'title':_0x1a6852['get'](_0x565815)['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':Lr(_0x1a6852)};}function Vr(_0x577d3a){const _0x1172a7=_0x568f44;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x446f1e['BUTTON'],'title':_0x577d3a[_0x1172a7(0x37e)](_0x565815)['t'](_0x1172a7(0x445)),'icon':_0x1172a7(0x421),'hidden$':Lr(_0x577d3a)};}const Hr={[_0x250386[_0x568f44(0x1d3)]]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}},[_0xb8bf29[_0x568f44(0x391)]]:{[_0x3aa4cf['OTHERS']]:{[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(_0x4aaa76){const _0x2643fb=_0x568f44;return _0x4aaa76===_0x18d4e2[_0x2643fb(0x1f6)]||_0x4aaa76===_0x18d4e2[_0x2643fb(0x36e)]||_0x4aaa76===_0x18d4e2['Boxplot']||_0x40d255[_0x2643fb(0x3e9)](_0x4aaa76,_0x18d4e2[_0x2643fb(0x45a)])||_0x40d255['baseOn'](_0x4aaa76,_0x18d4e2[_0x2643fb(0x319)])||_0x40d255[_0x2643fb(0x3e9)](_0x4aaa76,_0x18d4e2[_0x2643fb(0x1b4)])||_0x40d255[_0x2643fb(0x3e9)](_0x4aaa76,_0x18d4e2[_0x2643fb(0x457)]);}function Wr(_0xcf704e){const _0x40d3b8=_0x568f44;return Ur(_0xcf704e)||_0x40d255[_0x40d3b8(0x3e9)](_0xcf704e,_0x18d4e2['Pie'])||_0x40d255[_0x40d3b8(0x3e9)](_0xcf704e,_0x18d4e2[_0x40d3b8(0x322)])||_0x40d255[_0x40d3b8(0x3e9)](_0xcf704e,_0x18d4e2[_0x40d3b8(0x2e3)]);}function Gr(_0x426d3b,_0x113e53){const _0x4f85b4=_0x568f44;let _0x1484d2=_0x2f844b(_0x426d3b,_0x113e53),_0x29e832=_0x1484d2?_0x453d33(_0x1484d2[_0x4f85b4(0x33f)]):void 0x0;if(_0x1484d2&&_0x29e832)return{..._0x1484d2,'route':_0x29e832,'showFloatMenu':Wr(_0x426d3b[_0x4f85b4(0x443)])&&_0x1484d2[_0x4f85b4(0x35c)]};}function Kr(_0x896e0d){'@babel/helpers - typeof';const _0x50993b=_0x568f44;return Kr=typeof Symbol==_0x50993b(0x35a)&&typeof Symbol['iterator']==_0x50993b(0x37c)?function(_0x30bfc3){return typeof _0x30bfc3;}:function(_0x4863cc){const _0x5340c2=_0x50993b;return _0x4863cc&&typeof Symbol=='function'&&_0x4863cc[_0x5340c2(0x375)]===Symbol&&_0x4863cc!==Symbol[_0x5340c2(0x3f0)]?_0x5340c2(0x37c):typeof _0x4863cc;},Kr(_0x896e0d);}function qr(_0x5d1ee8,_0x3187bc){const _0x223bc6=_0x568f44;if(Kr(_0x5d1ee8)!='object'||!_0x5d1ee8)return _0x5d1ee8;var _0x17ae5b=_0x5d1ee8[Symbol[_0x223bc6(0x34d)]];if(_0x17ae5b!==void 0x0){var _0x4a5524=_0x17ae5b[_0x223bc6(0x1f1)](_0x5d1ee8,_0x3187bc||_0x223bc6(0x290));if(Kr(_0x4a5524)!='object')return _0x4a5524;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3187bc===_0x223bc6(0x1c5)?String:Number)(_0x5d1ee8);}function Jr(_0x4bc241){const _0x43f3c0=_0x568f44;var _0x559ba5=qr(_0x4bc241,_0x43f3c0(0x1c5));return Kr(_0x559ba5)=='symbol'?_0x559ba5:_0x559ba5+'';}function G(_0x367c40,_0x3daff0,_0x536dbe){const _0x42d239=_0x568f44;return(_0x3daff0=Jr(_0x3daff0))in _0x367c40?Object[_0x42d239(0x261)](_0x367c40,_0x3daff0,{'value':_0x536dbe,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x367c40[_0x3daff0]=_0x536dbe,_0x367c40;}var Yr=class extends _0x32a96b{constructor(_0x34d30a){const _0x628e27=_0x568f44;super(),this[_0x628e27(0x3c7)]=_0x34d30a,G(this,_0x628e27(0x1b2),null),G(this,_0x628e27(0x477),!0x1),G(this,_0x628e27(0x313),!0x1);}['request'](){const _0x556c03=_0x568f44;this[_0x556c03(0x480)]||(this['_pending']=!0x0,!this[_0x556c03(0x477)]&&this[_0x556c03(0x1b2)]===null&&(this['_frame']=requestAnimationFrame(()=>this[_0x556c03(0x26a)]())));}[_0x568f44(0x26a)](){const _0x4e694f=_0x568f44;if(this[_0x4e694f(0x480)]||this['_running'])return;this[_0x4e694f(0x3c3)]();let _0x5ec5d1=this[_0x4e694f(0x3c7)]();_0x5ec5d1&&(this[_0x4e694f(0x477)]=!0x0,_0x5ec5d1[_0x4e694f(0x268)](_0x37f434=>console[_0x4e694f(0x207)](_0x37f434))[_0x4e694f(0x1e5)](()=>{const _0x36b96d=_0x4e694f;this[_0x36b96d(0x477)]=!0x1,this['_pending']&&this['request']();}));}['cancelPending'](){const _0x500ac4=_0x568f44;this[_0x500ac4(0x313)]=!0x1,this['_frame']!==null&&(cancelAnimationFrame(this[_0x500ac4(0x1b2)]),this[_0x500ac4(0x1b2)]=null);}[_0x568f44(0x3d3)](){const _0x2eb3dc=_0x568f44;this[_0x2eb3dc(0x3c3)](),super['dispose']();}},Xr=class extends _0x32a96b{constructor(_0x506f23,_0x15d42b){const _0x4626cb=_0x568f44;super(),this['_rect']=_0x506f23,this[_0x4626cb(0x36b)]=_0x15d42b,G(this,_0x4626cb(0x21e),void 0x0),G(this,_0x4626cb(0x484),void 0x0),this['_geometry']=this[_0x4626cb(0x24b)](),this[_0x4626cb(0x21e)]=new Yr(()=>this[_0x4626cb(0x378)]()),this[_0x4626cb(0x349)](this[_0x4626cb(0x21e)]),this[_0x4626cb(0x349)](_0x506f23[_0x4626cb(0x367)][_0x4626cb(0x466)](()=>this['_scheduler'][_0x4626cb(0x464)]()));}get[_0x568f44(0x323)](){const _0x57bb68=_0x568f44;return this[_0x57bb68(0x21e)];}[_0x568f44(0x378)](){const _0x78553e=_0x568f44;let _0x4f40d3=this['_readGeometry'](),_0x490362=this[_0x78553e(0x484)],_0x558ef6=_0x4f40d3[_0x78553e(0x1cf)]!==_0x490362[_0x78553e(0x1cf)]||_0x4f40d3[_0x78553e(0x2b0)]!==_0x490362[_0x78553e(0x2b0)];if(_0x558ef6||_0x4f40d3[_0x78553e(0x242)]!==_0x490362[_0x78553e(0x242)]||_0x4f40d3[_0x78553e(0x382)]!==_0x490362[_0x78553e(0x382)])return this[_0x78553e(0x484)]=_0x4f40d3,this['_onChange'](_0x558ef6);}[_0x568f44(0x24b)](){let {left:_0x4bf1ec,top:_0x11bcf5,width:_0x4ba413,height:_0x3a4c68}=this['_rect'];return{'left':_0x4bf1ec,'top':_0x11bcf5,'width':_0x4ba413,'height':_0x3a4c68};}};function Zr(_0x1ac8e6,_0x3c3fea=0x1){const _0x54903d=_0x568f44;return{'width':Math[_0x54903d(0x2f5)](_0x3c3fea,_0x1ac8e6[_0x54903d(0x1cf)]),'height':Math[_0x54903d(0x2f5)](_0x3c3fea,_0x1ac8e6[_0x54903d(0x2b0)])};}function Qr(_0x30f236,_0x660267={},_0x7f2b02={'left':0x0,'top':0x0}){const _0x53c73e=_0x568f44;let _0x7c23c4=_0x660267[_0x53c73e(0x455)]??0x1,_0x5a7b7f=_0x660267[_0x53c73e(0x438)]??0x1,_0x57edfe=_0x1c6b54['resolve']({'logicalOuterRect':{'left':_0x7f2b02[_0x53c73e(0x242)]>0x0?-_0x7f2b02[_0x53c73e(0x242)]:0x0,'top':_0x7f2b02[_0x53c73e(0x382)]>0x0?-_0x7f2b02[_0x53c73e(0x382)]:0x0,...Zr(_0x30f236)},'scale':{'scaleX':_0x7c23c4,'scaleY':_0x5a7b7f},'hostStyle':{},'contentMode':_0x3b9569[_0x53c73e(0x381)]});return{'left':_0x57edfe[_0x53c73e(0x489)]['left'],'top':_0x57edfe['logicalOuterRect'][_0x53c73e(0x382)],'width':_0x57edfe[_0x53c73e(0x489)]['width'],'height':_0x57edfe[_0x53c73e(0x489)][_0x53c73e(0x2b0)],'scaleX':_0x7c23c4,'scaleY':_0x5a7b7f};}function $r(_0x3785aa){const _0x338235=_0x568f44;switch(_0x3785aa[_0x338235(0x2b9)]){case _0x124645[_0x338235(0x3fc)]:return _0x3785aa['canvas'];case _0x124645['ImageBitmap']:return _0x3785aa['imageBitmap'];default:return;}}var ei=class extends _0x56fb67{constructor(_0x2c2f63,_0x45c506,_0x5088ac,_0x3145a5=()=>!0x1,_0x44248d=()=>{}){const _0x4f51a1=_0x568f44;super(_0x2c2f63,{..._0x45c506,'evented':_0x45c506['evented']??!0x0}),this[_0x4f51a1(0x346)]=_0x5088ac,this[_0x4f51a1(0x30b)]=_0x3145a5,this[_0x4f51a1(0x463)]=_0x44248d,G(this,_0x4f51a1(0x212),null),G(this,_0x4f51a1(0x1fd),null),G(this,'_requestedUrl',null),G(this,_0x4f51a1(0x307),null),this[_0x4f51a1(0x39d)](_0x148723[_0x4f51a1(0x461)]);}[_0x568f44(0x3d3)](){const _0x2da022=_0x568f44;this['_clearPendingUrlImage'](),this[_0x2da022(0x212)]=null,this['_url']=null,this[_0x2da022(0x224)]=null,this[_0x2da022(0x463)](),super['dispose']();}[_0x568f44(0x311)](_0xa78ef6,_0x4e6dff){const _0x5ae664=_0x568f44;if(!this[_0x5ae664(0x460)])return this['makeDirty'](!0x1),this;if(this[_0x5ae664(0x30b)]()){let _0x20cd2a=this[_0x5ae664(0x346)]();return _0x20cd2a&&this[_0x5ae664(0x444)](_0x20cd2a),this[_0x5ae664(0x1cb)](!0x1),this;}if(!this['transform'])return this;let {width:_0x140cd2,height:_0x359c25,left:_0x12ab68,top:_0x5ab44c}=this[_0x5ae664(0x3ae)]();if(this[_0x5ae664(0x305)](_0x4e6dff)){let {top:_0xf7c964,left:_0x3c06e8,bottom:_0x1ef34d,right:_0x11189c}=_0x4e6dff[_0x5ae664(0x3d0)];if(_0x140cd2+this[_0x5ae664(0x223)]+_0x12ab68<_0x3c06e8||_0x11189c<_0x12ab68||_0x359c25+this['strokeWidth']+_0x5ab44c<_0xf7c964||_0x1ef34d<_0x5ab44c)return this;}let _0x2358b9=this[_0x5ae664(0x231)][_0x5ae664(0x30f)]();_0xa78ef6[_0x5ae664(0x2f8)]();let _0x3bfe18=_0x12ab68+_0x140cd2/0x2,_0x36ad72=_0x5ab44c+_0x359c25/0x2;return _0xa78ef6[_0x5ae664(0x231)](_0x2358b9[0x0],_0x2358b9[0x1],_0x2358b9[0x2],_0x2358b9[0x3],_0x3bfe18,_0x36ad72),this[_0x5ae664(0x266)]!==0x1&&(_0xa78ef6[_0x5ae664(0x252)]=this[_0x5ae664(0x266)]),this[_0x5ae664(0x304)](_0xa78ef6,void 0x0,_0x140cd2,_0x359c25),_0xa78ef6[_0x5ae664(0x260)](),this[_0x5ae664(0x1cb)](!0x1),this;}[_0x568f44(0x304)](_0x483933,_0x3f8148,_0x253604=this['width'],_0x57cd59=this[_0x568f44(0x2b0)]){const _0x269a51=_0x568f44;this[_0x269a51(0x278)](_0x483933,_0x253604,_0x57cd59,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x269a51(0x241)](_0x483933,_0x253604,_0x57cd59),this[_0x269a51(0x278)](_0x483933,_0x253604,_0x57cd59,{'fill':void 0x0});}[_0x568f44(0x278)](_0xf0801c,_0x676e2d,_0x1e3ee9,_0x2206b1){const _0x1051c0=_0x568f44;_0xf0801c['save'](),_0xf0801c['translate'](-_0x676e2d/0x2,-_0x1e3ee9/0x2),_0x56fb67[_0x1051c0(0x417)](_0xf0801c,ti(this,_0x676e2d,_0x1e3ee9,_0x2206b1)),_0xf0801c['restore']();}[_0x568f44(0x265)](_0x12065e){const _0x2fbcdb=_0x568f44;let {left:_0x4c24d0,top:_0x3f67d4,width:_0x2b50a1,height:_0x4a5da3}=this[_0x2fbcdb(0x3ae)](),_0x8ec080=_0x4c24d0+_0x2b50a1/0x2,_0x12c25a=_0x3f67d4+_0x4a5da3/0x2,_0x385da5=this[_0x2fbcdb(0x231)]['getMatrix'](),_0x36c8e6=new _0x1797fb([_0x385da5[0x0],_0x385da5[0x1],_0x385da5[0x2],_0x385da5[0x3],_0x8ec080,_0x12c25a]),_0x5bfa1f=this[_0x2fbcdb(0x31a)](),_0x1d0835=(this[_0x2fbcdb(0x450)]&&(_0x5bfa1f==null?void 0x0:_0x5bfa1f[_0x2fbcdb(0x475)])===_0x4c858a[_0x2fbcdb(0x45d)]?_0x5bfa1f['ancestorTransform'][_0x2fbcdb(0x39b)](_0x36c8e6):_0x36c8e6)['invert']()['applyPoint'](_0x12065e),_0x100feb=_0x2b50a1/0x2,_0x45115d=_0x4a5da3/0x2;return _0x1d0835['x']>=-_0x100feb-this['strokeWidth']/0x2&&_0x1d0835['x']<=_0x100feb+this['strokeWidth']/0x2&&_0x1d0835['y']>=-_0x45115d-this['strokeWidth']/0x2&&_0x1d0835['y']<=_0x45115d+this[_0x2fbcdb(0x223)]/0x2;}[_0x568f44(0x241)](_0x39061a,_0x429842,_0x51abf4){const _0x4a9ea6=_0x568f44;let _0x5dbfe9=this[_0x4a9ea6(0x346)](),_0x552ea4=_0x5dbfe9?this[_0x4a9ea6(0x444)](_0x5dbfe9):void 0x0;if(!_0x552ea4)return;let {width:_0xdbfdac,height:_0x3bfc2a}=Zr({'width':_0x429842,'height':_0x51abf4},0x0);_0xdbfdac!==0x0&&_0x3bfc2a!==0x0&&(_0x39061a[_0x4a9ea6(0x2f8)](),_0x39061a['translate'](-_0x429842/0x2,-_0x51abf4/0x2),ni(_0x39061a,_0xdbfdac,_0x3bfc2a,this[_0x4a9ea6(0x389)]),_0x39061a[_0x4a9ea6(0x384)](),_0x39061a[_0x4a9ea6(0x43b)](_0x552ea4,0x0,0x0,_0xdbfdac,_0x3bfc2a),_0x39061a['restore']());}[_0x568f44(0x444)](_0x17c4fe){const _0x11c306=_0x568f44;var _0x5a4b2d;let _0x4728ae=$r(_0x17c4fe);if(_0x4728ae)return _0x4728ae;if(_0x17c4fe[_0x11c306(0x2b9)]===_0x124645['Url']&&(this[_0x11c306(0x224)]!==_0x17c4fe['url']&&(this[_0x11c306(0x224)]=_0x17c4fe[_0x11c306(0x2af)],this[_0x11c306(0x1c1)](),this[_0x11c306(0x1fd)]!==_0x17c4fe['url']&&this[_0x11c306(0x1d1)](_0x17c4fe['url'])),(_0x5a4b2d=this[_0x11c306(0x212)])!=null&&_0x5a4b2d['complete']&&this[_0x11c306(0x212)]['naturalWidth']>0x0&&this[_0x11c306(0x212)][_0x11c306(0x2ba)]>0x0))return this['_urlImage'];}[_0x568f44(0x1d1)](_0x5c0a36){const _0x1b453a=_0x568f44;let _0x4d1636=document[_0x1b453a(0x2b4)](_0x1b453a(0x217));this['_pendingUrlImage']=_0x4d1636,_0x4d1636[_0x1b453a(0x454)]=_0x1b453a(0x2a2),_0x4d1636[_0x1b453a(0x314)]=()=>{const _0x42d1a3=_0x1b453a;this[_0x42d1a3(0x224)]===_0x5c0a36&&this['_pendingUrlImage']===_0x4d1636&&(_0x4d1636['naturalWidth']>0x0&&_0x4d1636[_0x42d1a3(0x2ba)]>0x0&&(this['_url']=_0x5c0a36,this[_0x42d1a3(0x212)]=_0x4d1636),this[_0x42d1a3(0x1c1)](),this[_0x42d1a3(0x1cb)](!0x0));},_0x4d1636[_0x1b453a(0x43e)]=()=>{const _0x10bbc6=_0x1b453a;this[_0x10bbc6(0x307)]===_0x4d1636&&this[_0x10bbc6(0x1c1)]();},_0x4d1636[_0x1b453a(0x485)]=_0x5c0a36;}[_0x568f44(0x1c1)](){const _0x5038e9=_0x568f44;this[_0x5038e9(0x307)]&&=(this[_0x5038e9(0x307)][_0x5038e9(0x314)]=null,this['_pendingUrlImage'][_0x5038e9(0x43e)]=null,null);}};function ti(_0x48079d,_0x3d5a7f,_0x4e4e53,_0x12684a){const _0x1b11d5=_0x568f44;let _0xf57087=Object[_0x1b11d5(0x310)](_0x48079d);return Object['defineProperty'](_0xf57087,_0x1b11d5(0x1cf),{'value':_0x3d5a7f}),Object[_0x1b11d5(0x261)](_0xf57087,_0x1b11d5(0x2b0),{'value':_0x4e4e53}),Object[_0x1b11d5(0x487)](_0x12684a)['forEach'](_0x110730=>{const _0x5875c1=_0x1b11d5;Object[_0x5875c1(0x261)](_0xf57087,_0x110730,{'value':_0x12684a[_0x110730]});}),_0xf57087;}function ni(_0x549e39,_0x223354,_0x4ce862,_0x309df5){const _0x2afc93=_0x568f44;let _0x55d731=Math[_0x2afc93(0x2dd)](_0x309df5||0x0,_0x223354/0x2,_0x4ce862/0x2);_0x549e39[_0x2afc93(0x2fe)](),_0x55d731?(_0x549e39['moveTo'](_0x55d731,0x0),_0x549e39[_0x2afc93(0x267)](_0x223354-_0x55d731,0x0),_0x549e39['arc'](_0x223354-_0x55d731,_0x55d731,_0x55d731,Math['PI']*0x3/0x2,0x0,!0x1),_0x549e39[_0x2afc93(0x267)](_0x223354,_0x4ce862-_0x55d731),_0x549e39[_0x2afc93(0x1b8)](_0x223354-_0x55d731,_0x4ce862-_0x55d731,_0x55d731,0x0,Math['PI']/0x2,!0x1),_0x549e39['lineTo'](_0x55d731,_0x4ce862),_0x549e39[_0x2afc93(0x1b8)](_0x55d731,_0x4ce862-_0x55d731,_0x55d731,Math['PI']/0x2,Math['PI'],!0x1),_0x549e39[_0x2afc93(0x267)](0x0,_0x55d731),_0x549e39[_0x2afc93(0x1b8)](_0x55d731,_0x55d731,_0x55d731,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x549e39[_0x2afc93(0x411)]()):(_0x549e39[_0x2afc93(0x372)](0x0,0x0,_0x223354,_0x4ce862),_0x549e39[_0x2afc93(0x411)]());}function K(_0x3cb925){const _0x1761c4=_0x568f44;(_0x3cb925==null?void 0x0:_0x3cb925[_0x1761c4(0x2b9)])===_0x124645[_0x1761c4(0x28c)]&&_0x3cb925[_0x1761c4(0x3fb)][_0x1761c4(0x334)]();}function ri(_0x59794a){const _0x174cff=_0x568f44;return _0x59794a['unitId']+_0x174cff(0x44b)+_0x59794a[_0x174cff(0x206)]+_0x174cff(0x44b)+_0x59794a['chartId'];}var ii=class extends _0x32a96b{constructor(..._0x1587ed){const _0x23003d=_0x568f44;super(..._0x1587ed),G(this,_0x23003d(0x3ce),new Map());}[_0x568f44(0x3e1)](_0x51f861){const _0x380736=_0x568f44;let _0x36f574=ri(_0x51f861),_0x218067=this[_0x380736(0x3ce)][_0x380736(0x37e)](_0x36f574)??{'version':0x0};return _0x218067['version']+=0x1,this[_0x380736(0x3ce)]['set'](_0x36f574,_0x218067),_0x218067[_0x380736(0x209)];}['isLatest'](_0x2ddea1,_0x2dcbb5){const _0x3ef025=_0x568f44;var _0x20c830;return((_0x20c830=this[_0x3ef025(0x3ce)]['get'](ri(_0x2ddea1)))==null?void 0x0:_0x20c830[_0x3ef025(0x209)])===_0x2dcbb5;}['setImage'](_0x518a51,_0x5380bd,_0xcc6ab5){const _0x4654ab=_0x568f44;if(!this[_0x4654ab(0x34e)](_0x518a51,_0xcc6ab5))return K(_0x5380bd),!0x1;let _0x37d889=ri(_0x518a51),_0x1215aa=this['_entries'][_0x4654ab(0x37e)](_0x37d889)??{'version':_0xcc6ab5},_0x389774=_0x1215aa[_0x4654ab(0x1d8)];return _0x1215aa['image']=_0x5380bd,_0x1215aa[_0x4654ab(0x209)]=_0xcc6ab5,this['_entries'][_0x4654ab(0x1c3)](_0x37d889,_0x1215aa),_0x389774!==_0x5380bd&&K(_0x389774),!0x0;}[_0x568f44(0x41e)](_0x1ed089){const _0x4758cb=_0x568f44;var _0x2c776e;return(_0x2c776e=this[_0x4758cb(0x3ce)][_0x4758cb(0x37e)](ri(_0x1ed089)))==null?void 0x0:_0x2c776e['image'];}['clearImage'](_0x39f478){const _0x28dbf4=_0x568f44;let _0xdb2f48=ri(_0x39f478),_0x478891=this[_0x28dbf4(0x3ce)][_0x28dbf4(0x37e)](_0xdb2f48);_0x478891&&(K(_0x478891[_0x28dbf4(0x1d8)]),this[_0x28dbf4(0x3ce)]['delete'](_0xdb2f48));}[_0x568f44(0x33e)](_0x3d8a5a){const _0x59fa82=_0x568f44;for(let [_0x2d1053,_0x1e1126]of this[_0x59fa82(0x3ce)])_0x2d1053[_0x59fa82(0x35b)](_0x59fa82(0x44b)+_0x3d8a5a)&&(K(_0x1e1126[_0x59fa82(0x1d8)]),this['_entries'][_0x59fa82(0x2e5)](_0x2d1053));}[_0x568f44(0x3d3)](){const _0x1cba65=_0x568f44;this[_0x1cba65(0x3ce)][_0x1cba65(0x3ac)](_0x265989=>K(_0x265989['image'])),this[_0x1cba65(0x3ce)][_0x1cba65(0x361)](),super[_0x1cba65(0x3d3)]();}};function ai(_0x483787,_0x32aae6=0x7d0){let _0x3c7442=null,_0x29de76=null,_0x201d5c=!0x1,_0x339ab0=()=>{},_0x2d3238=()=>{_0x3c7442!=null&&(clearInterval(_0x3c7442),_0x3c7442=null),_0x29de76!=null&&(clearTimeout(_0x29de76),_0x29de76=null);};return{'promise':new Promise((_0x1e404a,_0x46839d)=>{_0x339ab0=_0x46839d;let _0x564f7f=()=>{const _0x39b15d=_0x1779;let _0x3918c3=document[_0x39b15d(0x482)](_0x483787);_0x3918c3&&!_0x201d5c&&(_0x201d5c=!0x0,_0x2d3238(),_0x1e404a(_0x3918c3));};_0x564f7f(),!_0x201d5c&&(_0x3c7442=setInterval(_0x564f7f,16.666666666666668),_0x29de76=setTimeout(()=>{const _0x52e296=_0x1779;_0x201d5c||(_0x201d5c=!0x0,_0x2d3238(),_0x46839d(Error(_0x52e296(0x3f8)+_0x483787+'\x22.')));},_0x32aae6));}),'cancel':()=>{const _0x3e42b4=_0x1779;_0x201d5c||(_0x201d5c=!0x0,_0x2d3238(),_0x339ab0(Error(_0x3e42b4(0x2cf)+_0x483787+'\x22.')));}};}var oi=class extends _0x32a96b{constructor(_0x4b752d,_0xc75f1e,_0x29795f,_0x124f68,_0xbec7a,_0x45737b,_0x1972aa,_0x3cca31){const _0x347fab=_0x568f44;super(),this[_0x347fab(0x43d)]=_0x4b752d,this[_0x347fab(0x296)]=_0xc75f1e,this[_0x347fab(0x47d)]=_0x29795f,this[_0x347fab(0x3d5)]=_0x124f68,this['_isProviderDisposed']=_0xbec7a,this[_0x347fab(0x204)]=_0x45737b,this['_markNotReady']=_0x1972aa,this[_0x347fab(0x3d9)]=_0x3cca31,G(this,_0x347fab(0x2ec),_0x497f9d[_0x347fab(0x331)]),G(this,_0x347fab(0x26d),null),G(this,_0x347fab(0x25f),!0x1),G(this,_0x347fab(0x25a),null),G(this,'_pendingHost',null),G(this,'_waiter',null),G(this,'_hostStyle',{}),G(this,_0x347fab(0x25c),null),G(this,'_dataUpdateAnimationDuration',null),G(this,_0x347fab(0x3fa),null);}['isManaged'](){return this['_managed'];}[_0x568f44(0x46f)](){const _0x527c26=_0x568f44;this[_0x527c26(0x25f)]=!0x1;}[_0x568f44(0x2b3)](){let _0x2a9f90=this['_getPlacement']();return _0x2a9f90?{'width':_0x2a9f90['width'],'height':_0x2a9f90['height']}:null;}[_0x568f44(0x3cb)](_0x232256){const _0x4b71bc=_0x568f44;this[_0x4b71bc(0x3db)]=_0x232256,this[_0x4b71bc(0x3d5)](_0x232256),this[_0x4b71bc(0x426)]();}async[_0x568f44(0x3bb)](){const _0x20e537=_0x568f44;if(this['_disposed']||this[_0x20e537(0x3fd)]())throw Error(_0x20e537(0x43c));let _0x29ceb9=this[_0x20e537(0x296)](),_0x414e02=(_0x29ceb9==null?void 0x0:_0x29ceb9['domId'])??this[_0x20e537(0x43d)],_0xd72174=document[_0x20e537(0x482)](_0x414e02);if(this['_domFrame']&&_0xd72174!=null&&_0xd72174[_0x20e537(0x386)](this[_0x20e537(0x26d)]['mountNode']))return{'mountNode':this['_domFrame'][_0x20e537(0x44d)],'dispose':()=>{const _0x44668a=_0x20e537;this[_0x44668a(0x3d3)](),_0x29ceb9==null||_0x29ceb9[_0x44668a(0x3d3)][_0x44668a(0x3d3)]();}};if(this[_0x20e537(0x39a)])return this[_0x20e537(0x39a)];let _0x2cd2df=this['_createHost']();return this['_pendingHost']=_0x2cd2df,_0x2cd2df[_0x20e537(0x2f3)](()=>{const _0x4acec8=_0x20e537;this[_0x4acec8(0x39a)]===_0x2cd2df&&(this[_0x4acec8(0x39a)]=null);},()=>{const _0x420d99=_0x20e537;this[_0x420d99(0x39a)]===_0x2cd2df&&(this['_pendingHost']=null);}),_0x2cd2df;}async['ensureMount'](){const _0x513d90=_0x568f44;try{return(await this[_0x513d90(0x3bb)]())[_0x513d90(0x44d)];}catch{return null;}}[_0x568f44(0x399)](){const _0x5cb270=_0x568f44;let _0x4badba=this[_0x5cb270(0x296)](),_0x13abda=(_0x4badba==null?void 0x0:_0x4badba['domId'])??this[_0x5cb270(0x43d)],_0xc576d4=document[_0x5cb270(0x482)](_0x13abda);return!!(this[_0x5cb270(0x26d)]&&_0xc576d4!=null&&_0xc576d4[_0x5cb270(0x386)](this[_0x5cb270(0x26d)]['mountNode']));}['syncLayout'](){const _0x2b2bf5=_0x568f44;if(!this[_0x2b2bf5(0x26d)])return;let _0x46af5a=this['_getPlacement']();_0x46af5a&&this[_0x2b2bf5(0x26d)][_0x2b2bf5(0x2ac)](this['_resolveLayout'](_0x46af5a),this[_0x2b2bf5(0x295)]());}[_0x568f44(0x413)](){this['_markReady']();}[_0x568f44(0x1e7)](){this['_markNotReady']();}[_0x568f44(0x27f)](_0xab554a){const _0x5b8910=_0x568f44;this[_0x5b8910(0x397)]=_0xab554a;let _0x3ed10e=this['_getFloatDomInfo'](),_0x16d2de=document[_0x5b8910(0x482)]((_0x3ed10e==null?void 0x0:_0x3ed10e[_0x5b8910(0x1b7)])??this['chartId']);_0x16d2de&&this['_applyHostInteractionState'](_0x16d2de);}[_0x568f44(0x3d3)](){const _0x4b9288=_0x568f44;var _0x2f6380,_0xda3e42;this[_0x4b9288(0x480)]||(this[_0x4b9288(0x1e7)](),this[_0x4b9288(0x25a)]=null,this[_0x4b9288(0x39a)]=null,this[_0x4b9288(0x286)](),this['_managed']=!0x1,this[_0x4b9288(0x397)]=null,(_0x2f6380=this[_0x4b9288(0x3fa)])==null||_0x2f6380[_0x4b9288(0x3d3)](),this[_0x4b9288(0x3fa)]=null,(_0xda3e42=this[_0x4b9288(0x26d)])==null||_0xda3e42['dispose'](),this[_0x4b9288(0x26d)]=null,this[_0x4b9288(0x271)](),super['dispose']());}async[_0x568f44(0x410)](){const _0x12e0b9=_0x568f44;let _0x2b06b1=this[_0x12e0b9(0x296)]();if(!_0x2b06b1)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x4aa344=_0x2b06b1['domId']??this['chartId'],_0x4c941f=ai(_0x4aa344),_0x20f2d5=Symbol(this['chartId']);this['_pendingToken']=_0x20f2d5,this[_0x12e0b9(0x344)]=_0x4c941f;try{var _0x39c488;let _0x250ae4=await _0x4c941f[_0x12e0b9(0x392)],_0x5e3dbb=this[_0x12e0b9(0x296)](),_0x13752=(_0x5e3dbb==null?void 0x0:_0x5e3dbb[_0x12e0b9(0x1b7)])??this[_0x12e0b9(0x43d)];if(this['_disposed']||this[_0x12e0b9(0x3fd)]()||this[_0x12e0b9(0x25a)]!==_0x20f2d5||!_0x5e3dbb||_0x13752!==_0x4aa344||document['getElementById'](_0x4aa344)!==_0x250ae4||!_0x250ae4[_0x12e0b9(0x31c)])throw Error(_0x12e0b9(0x43c));let _0x31231f=this['_getPlacement']();if(!_0x31231f)throw Error(_0x12e0b9(0x43c));let _0x488e06=new _0x3caa9d(_0x250ae4);return _0x488e06['update'](this[_0x12e0b9(0x293)](_0x31231f),this['_frameStyle']()),this[_0x12e0b9(0x257)](_0x250ae4),this['_domFrame']=_0x488e06,(_0x39c488=this[_0x12e0b9(0x3fa)])==null||_0x39c488[_0x12e0b9(0x3d3)](),this[_0x12e0b9(0x3fa)]=this[_0x12e0b9(0x3d9)](_0x250ae4),this[_0x12e0b9(0x25f)]=!0x0,{'mountNode':_0x488e06['mountNode'],'dispose':()=>{const _0x3be1b6=_0x12e0b9;this['dispose'](),_0x2b06b1[_0x3be1b6(0x3d3)][_0x3be1b6(0x3d3)]();}};}finally{this['_waiter']===_0x4c941f&&(this['_waiter']=null),this[_0x12e0b9(0x25a)]===_0x20f2d5&&(this['_pendingToken']=null);}}[_0x568f44(0x286)](){const _0x46c886=_0x568f44;let _0x16cdf9=this[_0x46c886(0x344)];_0x16cdf9&&(_0x16cdf9[_0x46c886(0x420)](),this[_0x46c886(0x344)]=null);}[_0x568f44(0x426)](){const _0x597357=_0x568f44;let _0x447270=this[_0x597357(0x47d)]();this['_domFrame']&&_0x447270&&this[_0x597357(0x26d)][_0x597357(0x2ac)](this['_resolveLayout'](_0x447270),this[_0x597357(0x295)]());}[_0x568f44(0x293)](_0x2d41b7){const _0x40e0c0=_0x568f44;return _0x1c6b54[_0x40e0c0(0x369)]({'logicalOuterRect':{'left':_0x2d41b7['left'],'top':_0x2d41b7[_0x40e0c0(0x382)],'width':_0x2d41b7[_0x40e0c0(0x1cf)],'height':_0x2d41b7[_0x40e0c0(0x2b0)]},'scale':{'scaleX':_0x2d41b7[_0x40e0c0(0x455)],'scaleY':_0x2d41b7[_0x40e0c0(0x438)]},'hostStyle':this['_frameStyle'](),'contentMode':_0x3b9569[_0x40e0c0(0x381)]});}[_0x568f44(0x295)](){return{...this['_hostStyle'],'radius':_0x2acd22};}[_0x568f44(0x257)](_0x560f23){const _0x40abe6=_0x568f44;let _0x53b4b1=_0x560f23[_0x40abe6(0x24c)];_0x53b4b1&&(this[_0x40abe6(0x25c)]||={'zIndex':_0x53b4b1[_0x40abe6(0x20f)][_0x40abe6(0x2ea)],'pointerEvents':_0x53b4b1['style'][_0x40abe6(0x407)]},_0x53b4b1[_0x40abe6(0x20f)][_0x40abe6(0x2ea)]=_0x40abe6(0x228),this[_0x40abe6(0x377)](_0x560f23));}[_0x568f44(0x377)](_0x282f7f){const _0x3232f3=_0x568f44;let _0x41f14d=_0x282f7f[_0x3232f3(0x24c)];if(!_0x41f14d)return;let _0x383801=this[_0x3232f3(0x397)];_0x383801==null?(delete _0x282f7f[_0x3232f3(0x38d)]['sheetChartDataAnimation'],delete _0x282f7f[_0x3232f3(0x38d)][_0x3232f3(0x259)],_0x41f14d[_0x3232f3(0x20f)][_0x3232f3(0x407)]='auto'):(_0x282f7f[_0x3232f3(0x38d)][_0x3232f3(0x492)]=_0x3232f3(0x20e),_0x282f7f[_0x3232f3(0x38d)]['sheetChartDataAnimationDuration']=String(_0x383801),_0x41f14d[_0x3232f3(0x20f)]['pointerEvents']=_0x3232f3(0x1c6));}['_restoreHostWrapper'](){const _0x3a2931=_0x568f44;if(!this[_0x3a2931(0x25c)])return;let _0x3e7c69=this[_0x3a2931(0x296)](),_0x6d8858=(_0x3e7c69==null?void 0x0:_0x3e7c69[_0x3a2931(0x1b7)])??this['chartId'],_0x3e9fa7=document[_0x3a2931(0x482)](_0x6d8858);_0x3e9fa7==null||delete _0x3e9fa7[_0x3a2931(0x38d)][_0x3a2931(0x492)],_0x3e9fa7==null||delete _0x3e9fa7[_0x3a2931(0x38d)][_0x3a2931(0x259)];let _0x5dbae0=_0x3e9fa7==null?void 0x0:_0x3e9fa7[_0x3a2931(0x24c)];_0x5dbae0&&(_0x5dbae0[_0x3a2931(0x20f)][_0x3a2931(0x2ea)]=this['_savedWrapperStyle'][_0x3a2931(0x2ea)],_0x5dbae0[_0x3a2931(0x20f)][_0x3a2931(0x407)]=this['_savedWrapperStyle'][_0x3a2931(0x407)]),this[_0x3a2931(0x25c)]=null;}},si=class extends _0x32a96b{constructor(_0x51764d,_0x58350d,_0x3ff066,_0x480461){const _0x4616b4=_0x568f44;super(),this['_original']=_0x58350d,G(this,_0x4616b4(0x22e),null),G(this,'_suppressClick',!0x1);let _0x5d7578=_0x25de2b=>{const _0x16981d=_0x4616b4;this[_0x16981d(0x324)]&&(_0x25de2b[_0x16981d(0x403)](),_0x25de2b[_0x16981d(0x3e3)]());},_0x939e98=_0x1e574e=>{const _0x4c7f1d=_0x4616b4;let _0x115f3b=this['_gesture'];(_0x115f3b==null?void 0x0:_0x115f3b[_0x4c7f1d(0x38e)][_0x4c7f1d(0x229)])===_0x1e574e['pointerId']&&!_0x115f3b[_0x4c7f1d(0x33f)][_0x4c7f1d(0x240)](_0x1e574e[_0x4c7f1d(0x229)])&&this['_cancelGesture']();};_0x51764d[_0x4616b4(0x254)](_0x4616b4(0x3a7),_0x5d7578,!0x0),_0x51764d[_0x4616b4(0x254)](_0x4616b4(0x289),_0x5d7578,!0x0),_0x51764d[_0x4616b4(0x254)](_0x4616b4(0x387),_0x939e98),this[_0x4616b4(0x349)](_0x2d1683(()=>{const _0x474142=_0x4616b4;_0x51764d[_0x474142(0x366)]('click',_0x5d7578,!0x0),_0x51764d['removeEventListener']('dblclick',_0x5d7578,!0x0),_0x51764d['removeEventListener'](_0x474142(0x387),_0x939e98),_0x480461(_0x58350d);})),this[_0x4616b4(0x349)](_0x3ff066[_0x4616b4(0x21f)](()=>{const _0x3c4a71=_0x4616b4;this[_0x3c4a71(0x22e)]&&(this[_0x3c4a71(0x324)]=!0x0);})),_0x480461({'onPointerDown':_0x1cbfae=>{const _0x1c0188=_0x4616b4;this['_suppressClick']=!0x1,_0x1cbfae instanceof PointerEvent&&_0x1cbfae['target']instanceof Element&&_0x51764d[_0x1c0188(0x386)](_0x1cbfae['target'])&&(this[_0x1c0188(0x22e)]={'target':_0x1cbfae[_0x1c0188(0x33f)],'event':_0x1cbfae}),_0x58350d[_0x1c0188(0x2f6)](_0x1cbfae),this[_0x1c0188(0x380)](_0x1cbfae);},'onPointerMove':_0x3ec201=>{const _0x36bc3b=_0x4616b4;_0x58350d[_0x36bc3b(0x1fe)](_0x3ec201),this[_0x36bc3b(0x380)](_0x3ec201);},'onPointerUp':_0x5b48fa=>{const _0x230221=_0x4616b4;try{_0x58350d[_0x230221(0x23e)](_0x5b48fa);}finally{var _0x2a3908;_0x5b48fa instanceof PointerEvent&&((_0x2a3908=this[_0x230221(0x22e)])==null?void 0x0:_0x2a3908['event'][_0x230221(0x229)])===_0x5b48fa['pointerId']&&this[_0x230221(0x458)]();}}});}[_0x568f44(0x3d3)](){const _0x5017cc=_0x568f44;this[_0x5017cc(0x480)]||(this[_0x5017cc(0x30a)](),super[_0x5017cc(0x3d3)]());}[_0x568f44(0x380)](_0x5fa3b3){const _0x157819=_0x568f44;let _0x66b9dd=this['_gesture'];_0x5fa3b3 instanceof PointerEvent&&(_0x66b9dd==null?void 0x0:_0x66b9dd[_0x157819(0x38e)][_0x157819(0x229)])===_0x5fa3b3[_0x157819(0x229)]&&(_0x66b9dd['event']=_0x5fa3b3,_0x66b9dd[_0x157819(0x33f)][_0x157819(0x31c)]?_0x66b9dd[_0x157819(0x33f)]['setPointerCapture'](_0x5fa3b3[_0x157819(0x229)]):this[_0x157819(0x30a)]());}[_0x568f44(0x458)](){const _0x3f53cc=_0x568f44;let _0x47590a=this['_gesture'];this['_gesture']=null,_0x47590a!=null&&_0x47590a['target'][_0x3f53cc(0x240)](_0x47590a[_0x3f53cc(0x38e)][_0x3f53cc(0x229)])&&_0x47590a[_0x3f53cc(0x33f)][_0x3f53cc(0x1df)](_0x47590a['event']['pointerId']);}['_cancelGesture'](){const _0xb06b73=_0x568f44;let _0x9cb126=this['_gesture'];this[_0xb06b73(0x458)](),_0x9cb126&&this['_original']['onPointerUp'](new PointerEvent(_0xb06b73(0x2cc),_0x9cb126[_0xb06b73(0x38e)]));}},ci=class extends _0x2015a0{constructor(_0x5f31d2,_0x3360b6,_0x543230,_0x1847e7,_0x3d900a,_0x411129){const _0x2fca42=_0x568f44;super(_0x5f31d2),this[_0x2fca42(0x3cc)]=_0x3360b6,this[_0x2fca42(0x3d5)]=_0x543230,this['_snapshotKey']=_0x1847e7,this[_0x2fca42(0x456)]=_0x3d900a,this[_0x2fca42(0x49c)]=_0x411129;}['getRect'](){let _0x308c03=this['_getOuterRect']();return _0x308c03?Zr(_0x308c03):null;}[_0x568f44(0x3cb)](_0x54911b){const _0x5108b2=_0x568f44;this[_0x5108b2(0x3d5)](_0x54911b);}[_0x568f44(0x3e1)](){const _0x351185=_0x568f44;return this['_snapshotStore'][_0x351185(0x3e1)](this[_0x351185(0x2b7)]);}[_0x568f44(0x48a)](_0x166031,_0x46d51e){const _0x1f5ed1=_0x568f44;return this[_0x1f5ed1(0x456)][_0x1f5ed1(0x1d4)](this[_0x1f5ed1(0x2b7)],_0x166031,_0x46d51e);}[_0x568f44(0x238)](){this['_requestPaint']();}[_0x568f44(0x31f)](){const _0x2a3a8a=_0x568f44;this['_snapshotStore'][_0x2a3a8a(0x3e1)](this['_snapshotKey']);}};function q(_0x6f3f87,_0x5e2b50){return function(_0x4bb740,_0x390617){_0x5e2b50(_0x4bb740,_0x390617,_0x6f3f87);};}function J(_0x999086,_0x49565b,_0x4c36b0,_0x27d16d){const _0x37e2d6=_0x568f44;var _0x8f078f=arguments[_0x37e2d6(0x429)],_0x5cdf3c=_0x8f078f<0x3?_0x49565b:_0x27d16d===null?_0x27d16d=Object[_0x37e2d6(0x329)](_0x49565b,_0x4c36b0):_0x27d16d,_0x2a584f;if(typeof Reflect==_0x37e2d6(0x412)&&typeof Reflect[_0x37e2d6(0x330)]=='function')_0x5cdf3c=Reflect['decorate'](_0x999086,_0x49565b,_0x4c36b0,_0x27d16d);else{for(var _0xeb4019=_0x999086[_0x37e2d6(0x429)]-0x1;_0xeb4019>=0x0;_0xeb4019--)(_0x2a584f=_0x999086[_0xeb4019])&&(_0x5cdf3c=(_0x8f078f<0x3?_0x2a584f(_0x5cdf3c):_0x8f078f>0x3?_0x2a584f(_0x49565b,_0x4c36b0,_0x5cdf3c):_0x2a584f(_0x49565b,_0x4c36b0))||_0x5cdf3c);}return _0x8f078f>0x3&&_0x5cdf3c&&Object[_0x37e2d6(0x261)](_0x49565b,_0x4c36b0,_0x5cdf3c),_0x5cdf3c;}const li=0.5;function ui(_0x157289){const _0x5dcb13=_0x568f44;let _0x5df12a=Math[_0x5dcb13(0x2f5)](_0x157289[_0x5dcb13(0x1ec)]-_0x157289[_0x5dcb13(0x22d)],0x0),_0x24027c=Math['max'](_0x157289[_0x5dcb13(0x3f2)]-_0x157289[_0x5dcb13(0x306)],0x0),_0x32dab0=_0x157289[_0x5dcb13(0x374)][_0x5dcb13(0x242)]&&_0x157289['width']-_0x5df12a>li,_0x2abcc4=_0x157289['absolute'][_0x5dcb13(0x382)]&&_0x157289[_0x5dcb13(0x2b0)]-_0x24027c>li;return!_0x32dab0&&!_0x2abcc4?_0x157289:{..._0x157289,'absolute':{'left':!_0x32dab0&&_0x157289[_0x5dcb13(0x374)][_0x5dcb13(0x242)],'top':!_0x2abcc4&&_0x157289[_0x5dcb13(0x374)][_0x5dcb13(0x382)]}};}function di(_0x3a1844){const _0x515ce5=_0x568f44;if(!Object[_0x515ce5(0x3f0)][_0x515ce5(0x354)][_0x515ce5(0x1f1)](_0x3a1844,_0x515ce5(0x2d1)))return _0x3a1844;let {border:_0x39617c,..._0x401d22}=_0x3a1844;return{..._0x401d22,'stroke':(_0x39617c==null?void 0x0:_0x39617c['color'])??'transparent','strokeWidth':(_0x39617c==null?void 0x0:_0x39617c[_0x515ce5(0x1cf)])??0x0};}let fi=class extends _0x32a96b{constructor(_0x4bf381,_0x3c8a97,_0x4a67b5,_0x48a52f){const _0x5453a9=_0x568f44;super(),this[_0x5453a9(0x40b)]=_0x4bf381,this[_0x5453a9(0x45b)]=_0x3c8a97,this[_0x5453a9(0x213)]=_0x4a67b5,this['_canvasFloatDomService']=_0x48a52f,G(this,_0x5453a9(0x428),new Map()),G(this,_0x5453a9(0x29c),new Set()),G(this,'_removeHost$',new _0x485029()),G(this,'removeHost$',this[_0x5453a9(0x283)][_0x5453a9(0x298)]()),this[_0x5453a9(0x349)](this[_0x5453a9(0x40b)]['remove$'][_0x5453a9(0x21f)](_0x326480=>{const _0x79464d=_0x5453a9;let _0x24255c=this[_0x79464d(0x428)][_0x79464d(0x37e)](_0x326480['id']);_0x24255c!=null&&_0x24255c[_0x79464d(0x2ef)]()&&(_0x24255c['markUnmanaged'](),this[_0x79464d(0x283)][_0x79464d(0x3f1)](_0x326480['id']));}));}[_0x568f44(0x2e7)](_0x11e714){const _0x1e3287=_0x568f44;if(_0x11e714==null)return;let _0xd6a78b=this[_0x1e3287(0x45b)][_0x1e3287(0x363)](_0x11e714),_0x16daba=_0xd6a78b==null?void 0x0:_0xd6a78b['scene'];return _0xd6a78b==null||_0x16daba==null?null:{'scene':_0x16daba,'transformer':_0x16daba[_0x1e3287(0x1b3)](),'renderUnit':_0xd6a78b,'canvas':_0xd6a78b[_0x1e3287(0x3ad)][_0x1e3287(0x353)]()};}['setBorder'](_0x172295,_0x445c7a){const _0x5468d8=_0x568f44;let _0x2f8794=this[_0x5468d8(0x40b)],_0x3288c1=_0x445c7a||_0x5468d8(0x446),_0x361ce1=_0x2f8794[_0x5468d8(0x275)](_0x172295);if(_0x361ce1){let {unitId:_0x1141ba,subUnitId:_0x512a1b}=_0x361ce1;_0x2f8794[_0x5468d8(0x1b0)](_0x1141ba,_0x512a1b,_0x172295,{'stroke':_0x3288c1});}}['setHostStyle'](_0x269e45,_0x28388d){const _0x4f8599=_0x568f44;let _0x5e89cf=this[_0x4f8599(0x40b)],_0x3fff86=_0x5e89cf['getFloatDomInfo'](_0x269e45);if(_0x3fff86){let {unitId:_0x3bd750,subUnitId:_0x214563}=_0x3fff86;_0x5e89cf[_0x4f8599(0x1b0)](_0x3bd750,_0x214563,_0x269e45,di(_0x28388d));}}[_0x568f44(0x471)](_0xb74249){const _0xa18d79=_0x568f44;let _0x3413e1=this[_0xa18d79(0x40b)]['getFloatDomInfo'](_0xb74249);return _0x3413e1?_0x3413e1[_0xa18d79(0x372)]:null;}[_0x568f44(0x3cf)](_0x5b8be0){const _0x4bac9b=_0x568f44;let _0x26ba81=this[_0x4bac9b(0x40b)][_0x4bac9b(0x275)](_0x5b8be0),_0xbe3c00=document[_0x4bac9b(0x482)]((_0x26ba81==null?void 0x0:_0x26ba81[_0x4bac9b(0x1b7)])??_0x5b8be0);return(_0xbe3c00==null?void 0x0:_0xbe3c00['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x71378c,_0x416b38){const _0x3c6fd7=_0x568f44;var _0x5b0a08;(_0x5b0a08=this[_0x3c6fd7(0x428)][_0x3c6fd7(0x37e)](_0x71378c))==null||_0x5b0a08[_0x3c6fd7(0x27f)](_0x416b38);}[_0x568f44(0x21b)](_0x4061ca){const _0x4a5823=_0x568f44;var _0x3ef92e;return((_0x3ef92e=this[_0x4a5823(0x428)][_0x4a5823(0x37e)](_0x4061ca))==null?void 0x0:_0x3ef92e[_0x4a5823(0x399)]())??!0x1;}[_0x568f44(0x23b)](_0x18247d){const _0x33dc82=_0x568f44;var _0x5a9ea8;(_0x5a9ea8=this[_0x33dc82(0x428)][_0x33dc82(0x37e)](_0x18247d))==null||_0x5a9ea8[_0x33dc82(0x38a)]();}['removeHost'](_0x468aee){const _0x36a61c=_0x568f44;let _0x44a9b9=this[_0x36a61c(0x428)][_0x36a61c(0x37e)](_0x468aee);_0x44a9b9&&(_0x44a9b9['dispose'](),this[_0x36a61c(0x449)][_0x36a61c(0x24a)](_0x468aee,{'eventPassThrough':!0x0})),this[_0x36a61c(0x428)][_0x36a61c(0x2e5)](_0x468aee);}async['ensureHost'](_0x891c66,_0x2c9581){const _0x301107=_0x568f44;if(_0x2c9581===_0x497f9d[_0x301107(0x3d4)])return this[_0x301107(0x376)](_0x891c66);if(_0x2c9581===_0x497f9d[_0x301107(0x331)])return this['_getOrCreateSheetChartHost'](_0x891c66);let _0x2e27f5=this[_0x301107(0x335)](_0x891c66);if(!_0x2e27f5)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x2e27f5[_0x301107(0x3bb)]();}[_0x568f44(0x300)](_0x159279){const _0x4b2479=_0x568f44;var _0x43e00c;return this[_0x4b2479(0x29c)][_0x4b2479(0x317)](_0x159279)?(_0x43e00c=this[_0x4b2479(0x428)][_0x4b2479(0x37e)](_0x159279))!=null&&_0x43e00c[_0x4b2479(0x399)]()?!0x0:(this[_0x4b2479(0x29c)]['delete'](_0x159279),this['_restoreFloatDomPositionStream'](_0x159279),!0x1):!0x1;}[_0x568f44(0x3a1)](_0x4939aa){const _0x566761=_0x568f44;this[_0x566761(0x29c)]['delete'](_0x4939aa)&&(this[_0x566761(0x1bf)](_0x4939aa),this[_0x566761(0x23d)](_0x4939aa));}[_0x568f44(0x31f)](_0x134241){const _0x5c8fbd=_0x568f44;let _0x3d5aeb=this[_0x5c8fbd(0x321)](_0x134241);_0x3d5aeb&&this[_0x5c8fbd(0x213)][_0x5c8fbd(0x3e1)](_0x3d5aeb);}[_0x568f44(0x376)](_0xa3067d){const _0x5cc9cf=_0x568f44;let _0x144248=this['_getChartSnapshotKey'](_0xa3067d);return!_0x144248||!this[_0x5cc9cf(0x471)](_0xa3067d)?null:new ci(_0xa3067d,()=>this['getHostSize'](_0xa3067d),_0x8ed505=>this[_0x5cc9cf(0x1d9)](_0xa3067d,_0x8ed505),_0x144248,this['_chartSnapshotStoreService'],()=>this[_0x5cc9cf(0x23d)](_0xa3067d));}['_getOrCreateSheetChartHost'](_0x3eb74d){const _0x3c8df0=_0x568f44;if(!this[_0x3c8df0(0x471)](_0x3eb74d))return null;this['_canvasFloatDomService'][_0x3c8df0(0x24a)](_0x3eb74d,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x38ecb1=this[_0x3c8df0(0x428)]['get'](_0x3eb74d);if(_0x38ecb1)return _0x38ecb1;let _0xd130e=new oi(_0x3eb74d,()=>this[_0x3c8df0(0x40b)][_0x3c8df0(0x275)](_0x3eb74d),()=>this['_getHostPlacement'](_0x3eb74d),_0xb25238=>this[_0x3c8df0(0x1d9)](_0x3eb74d,_0xb25238),()=>this[_0x3c8df0(0x480)],()=>this[_0x3c8df0(0x469)](_0x3eb74d),()=>this[_0x3c8df0(0x3a1)](_0x3eb74d),_0x420e1c=>this[_0x3c8df0(0x339)](_0x3eb74d,_0x420e1c));return this['_chartHostMap']['set'](_0x3eb74d,_0xd130e),_0xd130e;}[_0x568f44(0x339)](_0x37d177,_0x4487c4){const _0x58850e=_0x568f44;var _0xeb44f;let _0x2113ab=this['_sheetCanvasFloatDomManagerService'][_0x58850e(0x275)](_0x37d177),_0x1ce0e0=(_0xeb44f=this[_0x58850e(0x449)]['domLayers']['find'](([_0xbfabca])=>_0xbfabca===_0x37d177))==null?void 0x0:_0xeb44f[0x1],_0x3a922c=_0x2113ab?this[_0x58850e(0x2e7)](_0x2113ab['unitId']):null;if(!_0x2113ab||!_0x1ce0e0||!_0x3a922c)return _0x2d1683(()=>{});let _0x45cb84=_0x3a9253({'unitId':_0x2113ab[_0x58850e(0x45f)],'subUnitId':_0x2113ab[_0x58850e(0x206)],'drawingId':_0x37d177});return new si(_0x4487c4,{'onPointerDown':_0x1ce0e0[_0x58850e(0x2f6)],'onPointerMove':_0x1ce0e0[_0x58850e(0x1fe)],'onPointerUp':_0x1ce0e0[_0x58850e(0x23e)]},_0x3a922c[_0x58850e(0x20a)][_0x58850e(0x3a2)][_0x58850e(0x277)](_0x463ec2(_0x173ab0=>_0x173ab0[_0x58850e(0x1d2)][_0x58850e(0x317)](_0x45cb84)&&((_0x173ab0[_0x58850e(0x3ea)]??0x0)!==0x0||(_0x173ab0['moveY']??0x0)!==0x0))),_0x199f69=>this[_0x58850e(0x449)][_0x58850e(0x24a)](_0x37d177,_0x199f69));}[_0x568f44(0x469)](_0x213f82){const _0xc9e811=_0x568f44;this[_0xc9e811(0x29c)][_0xc9e811(0x317)](_0x213f82)||(this['_activeDomReadyChartIds'][_0xc9e811(0x371)](_0x213f82),this['_alignFloatDomPositionWithSceneRender'](_0x213f82),this[_0xc9e811(0x23d)](_0x213f82));}[_0x568f44(0x294)](_0x39902a){const _0x1e8a72=_0x568f44;var _0x1e966;let _0x2b1564=this[_0x1e8a72(0x40b)][_0x1e8a72(0x275)](_0x39902a),_0x21efea=_0x2b1564?(_0x1e966=this[_0x1e8a72(0x45b)][_0x1e8a72(0x363)](_0x2b1564[_0x1e8a72(0x45f)]))==null?void 0x0:_0x1e966[_0x1e8a72(0x472)]:null;if(!_0x2b1564||!_0x21efea)return;let _0x4fa99b=_0x22c62d(_0x2b1564[_0x1e8a72(0x364)][_0x1e8a72(0x277)](_0x421ce1(0x1)),_0x21efea['afterRender$'][_0x1e8a72(0x277)](_0x2ebf12(_0x2b1564[_0x1e8a72(0x364)]),_0x448995(([,_0x3e365b])=>_0x3e365b)))[_0x1e8a72(0x277)](_0x9fa683(),_0x448995(ui));this['_canvasFloatDomService'][_0x1e8a72(0x24a)](_0x39902a,{'position$':_0x4fa99b});}[_0x568f44(0x1bf)](_0x8366d4){const _0x7ebcb0=_0x568f44;let _0x10dfc9=this[_0x7ebcb0(0x40b)][_0x7ebcb0(0x275)](_0x8366d4);_0x10dfc9&&this[_0x7ebcb0(0x449)][_0x7ebcb0(0x24a)](_0x8366d4,{'position$':_0x10dfc9['position$']});}[_0x568f44(0x321)](_0x4dd0ca){const _0x3bc8f5=_0x568f44;let _0x38a8e7=this[_0x3bc8f5(0x40b)][_0x3bc8f5(0x275)](_0x4dd0ca);return _0x38a8e7?{'unitId':_0x38a8e7['unitId'],'subUnitId':_0x38a8e7[_0x3bc8f5(0x206)],'chartId':_0x4dd0ca}:null;}['_requestChartCanvasRender'](_0x460d1d){const _0x37cf24=_0x568f44;var _0x3bb464,_0xd8fce0,_0x296ad7;let _0x263618=this[_0x37cf24(0x40b)]['getFloatDomInfo'](_0x460d1d);if(!_0x263618)return;let _0x1e2289=(_0x3bb464=this[_0x37cf24(0x45b)][_0x37cf24(0x363)](_0x263618[_0x37cf24(0x45f)]))==null?void 0x0:_0x3bb464['scene'],_0x1c743a=(_0x1e2289==null||(_0xd8fce0=_0x1e2289[_0x37cf24(0x227)])==null?void 0x0:_0xd8fce0[_0x37cf24(0x1f1)](_0x1e2289,_0x3a9253({'unitId':_0x263618[_0x37cf24(0x45f)],'subUnitId':_0x263618['subUnitId'],'drawingId':_0x460d1d})))??(_0x1e2289==null?void 0x0:_0x1e2289[_0x37cf24(0x1e2)](_0x3a9253({'unitId':_0x263618[_0x37cf24(0x45f)],'subUnitId':_0x263618[_0x37cf24(0x206)],'drawingId':_0x460d1d})))??null;_0x1c743a==null||(_0x296ad7=_0x1c743a[_0x37cf24(0x1cb)])==null||_0x296ad7[_0x37cf24(0x1f1)](_0x1c743a,!0x0),_0x1e2289==null||_0x1e2289[_0x37cf24(0x1cb)](!0x0);}['_getHostPlacement'](_0x1cfa86){const _0x30dc91=_0x568f44;let _0x4bd908=this['_sheetCanvasFloatDomManagerService'][_0x30dc91(0x275)](_0x1cfa86);if(!_0x4bd908)return null;let _0xa14f36=this[_0x30dc91(0x2e7)](_0x4bd908['unitId']),_0xb5778f=_0xa14f36==null?void 0x0:_0xa14f36[_0x30dc91(0x472)],_0x163b6a=document[_0x30dc91(0x482)](_0x4bd908['domId']??_0x1cfa86);return Qr(_0x4bd908[_0x30dc91(0x372)],{'scaleX':(_0xb5778f==null?void 0x0:_0xb5778f[_0x30dc91(0x455)])??0x1,'scaleY':(_0xb5778f==null?void 0x0:_0xb5778f['scaleY'])??0x1},_0x163b6a?{'left':_0x163b6a[_0x30dc91(0x3d8)],'top':_0x163b6a[_0x30dc91(0x23a)]}:void 0x0);}[_0x568f44(0x3d3)](){const _0x50f2ad=_0x568f44;this[_0x50f2ad(0x480)]||(Array['from'](this[_0x50f2ad(0x428)][_0x50f2ad(0x487)]())[_0x50f2ad(0x3ac)](_0x2558f4=>this[_0x50f2ad(0x341)](_0x2558f4)),this[_0x50f2ad(0x29c)]['clear'](),this[_0x50f2ad(0x283)][_0x50f2ad(0x1bc)](),super['dispose']());}};fi=J([q(0x0,_0x563aa6(_0x3a2ef5)),q(0x1,_0x563aa6(_0x35685d)),q(0x2,_0x563aa6(ii)),q(0x3,_0x563aa6(_0x42fb0e))],fi);const pi=_0x174872(_0x568f44(0x1e0)),mi=_0x497f9d[_0x568f44(0x3d4)];var hi=class extends _0x2015a0{constructor(_0x49d8c2,_0x40f5ea){const _0x353627=_0x568f44;super(_0x49d8c2),this['_rect']=_0x40f5ea,G(this,_0x353627(0x495),0x0),G(this,'_image',void 0x0),G(this,_0x353627(0x20f),{});}['getRect'](){const _0x49069f=_0x568f44;return this[_0x49069f(0x359)];}['setStyle'](_0x23c8c7){this['style']=_0x23c8c7;}[_0x568f44(0x3e1)](){const _0x348018=_0x568f44;return++this[_0x348018(0x495)];}[_0x568f44(0x48a)](_0x77809c,_0x2d93a9){const _0x2557b3=_0x568f44;return _0x2d93a9===this[_0x2557b3(0x495)]?(K(this[_0x2557b3(0x21a)]),this['_image']=_0x77809c,!0x0):(K(_0x77809c),!0x1);}['requestPaint'](){}[_0x568f44(0x31f)](){this['_version']+=0x1;}[_0x568f44(0x2bc)](){const _0x568d16=_0x568f44;let _0x56cd31=this[_0x568d16(0x21a)];return this['_image']=void 0x0,_0x56cd31;}[_0x568f44(0x3d3)](){const _0x382aa3=_0x568f44;K(this['_image']),this[_0x382aa3(0x21a)]=void 0x0,super[_0x382aa3(0x3d3)]();}};function gi(_0x190b13,_0x134739,_0x1d3461){const _0x3e2703=_0x568f44;let _0x2f693d=_0x190b13[_0x3e2703(0x423)](_0x134739),_0x369dbf={..._0x190b13[_0x3e2703(0x20f)],'runtime':{..._0x2f693d,'layoutInset':0x8,..._0x1d3461===void 0x0?{}:{'addWatermark':_0x1d3461}},'direction':_0x134739};return _0x1d9711(_0x369dbf,_0x190b13[_0x3e2703(0x443)]);}let Y=class extends _0x32a96b{constructor(_0x445d2b,_0x3ccae0,_0x4373b4,_0x5da141,_0x46f05e,_0x57f9b8,_0x36172e,_0x3d69dd,_0x5f511d,_0x1d3aae,_0x4435d2,_0x4aa398,_0x14df81){const _0x4cf63c=_0x568f44;super(),this[_0x4cf63c(0x22f)]=_0x445d2b,this['_sheetCanvasFloatDomManagerService']=_0x3ccae0,this[_0x4cf63c(0x3bf)]=_0x4373b4,this[_0x4cf63c(0x42f)]=_0x5da141,this['_univerInstanceService']=_0x46f05e,this[_0x4cf63c(0x45b)]=_0x57f9b8,this[_0x4cf63c(0x244)]=_0x36172e,this[_0x4cf63c(0x486)]=_0x3d69dd,this[_0x4cf63c(0x3b3)]=_0x5f511d,this[_0x4cf63c(0x2c0)]=_0x1d3aae,this['_configService']=_0x4435d2,this[_0x4cf63c(0x213)]=_0x4aa398,this[_0x4cf63c(0x325)]=_0x14df81,G(this,'_chartInstanceMap',new Map()),G(this,_0x4cf63c(0x2c3),new Map()),G(this,'_chartEventSubscriptions',new Map()),G(this,'_chartElementEditMode',new Map()),G(this,_0x4cf63c(0x33d),new Map()),G(this,_0x4cf63c(0x1ca),new Map()),G(this,_0x4cf63c(0x1c0),new Map()),G(this,'_chartRenderMode',void 0x0),G(this,_0x4cf63c(0x41b),void 0x0),G(this,_0x4cf63c(0x41a),new Map()),G(this,_0x4cf63c(0x400),new Set()),G(this,_0x4cf63c(0x26e),new Map()),G(this,_0x4cf63c(0x37f),null),G(this,_0x4cf63c(0x205),null);let _0x174d71=_0x470b30(this[_0x4cf63c(0x486)]),_0x3fc1fc=this['_configService']['getConfig'](_0x1b154d);this[_0x4cf63c(0x44f)]=(_0x3fc1fc==null?void 0x0:_0x3fc1fc['chartRenderMode'])??mi,this['_addWatermark']=_0x174d71[_0x4cf63c(0x429)]!==0x1||_0x174d71[0x0]!=='all',this[_0x4cf63c(0x1ba)](),this['_initActiveChartModelListener'](),this['_initDrawingDeactivationListener'](),this[_0x4cf63c(0x48f)](),this[_0x4cf63c(0x44c)]();}[_0x568f44(0x37d)](_0x5bbd6a){const _0x4f2585=_0x568f44;let _0x3cd9d3=this[_0x4f2585(0x321)](_0x5bbd6a);return _0x3cd9d3?this[_0x4f2585(0x213)]['getImage'](_0x3cd9d3):void 0x0;}[_0x568f44(0x370)](_0x535609){const _0x32ca83=_0x568f44;var _0xec4fa1;return((_0xec4fa1=this[_0x32ca83(0x3bf)][_0x32ca83(0x2d0)])==null?void 0x0:_0xec4fa1['id'])===_0x535609?_0x497f9d[_0x32ca83(0x331)]:this[_0x32ca83(0x44f)];}['_getChartSnapshotKey'](_0x2e174c){const _0x2166bc=_0x568f44;let _0x4e2216=this['_sheetCanvasFloatDomManagerService'][_0x2166bc(0x275)](_0x2e174c);return _0x4e2216?{'unitId':_0x4e2216['unitId'],'subUnitId':_0x4e2216[_0x2166bc(0x206)],'chartId':_0x2e174c}:null;}['_registerChartImageRenderObjectFactory'](){const _0x15eeaa=_0x568f44;this[_0x15eeaa(0x44f)]===_0x497f9d[_0x15eeaa(0x3d4)]&&this[_0x15eeaa(0x349)](this[_0x15eeaa(0x40b)]['registerRenderObjectFactory'](_0x30e73a[_0x15eeaa(0x312)],({key:_0x5f30c1,config:_0x4407a2,unitId:_0x228bd0,subUnitId:_0x181ba1,drawingId:_0x496f56})=>new ei(_0x5f30c1,_0x4407a2,()=>this[_0x15eeaa(0x213)][_0x15eeaa(0x41e)]({'unitId':_0x228bd0,'subUnitId':_0x181ba1,'chartId':_0x496f56}),()=>this['_chartHostProvider'][_0x15eeaa(0x300)](_0x496f56))));}[_0x568f44(0x3a0)](){const _0x59561c=_0x568f44;this['disposeWithMe'](this[_0x59561c(0x3bf)][_0x59561c(0x46a)][_0x59561c(0x21f)](_0x3e4622=>{const _0x361fb5=_0x59561c;let _0x5912d4=(_0x3e4622==null?void 0x0:_0x3e4622['id'])??null,_0x9e81fc=this[_0x361fb5(0x37f)];_0x9e81fc!==_0x5912d4&&(_0x9e81fc&&(this[_0x361fb5(0x22f)][_0x361fb5(0x3a1)](_0x9e81fc),this['_resetChartRuntimeZIndex'](_0x9e81fc),this[_0x361fb5(0x401)](_0x9e81fc)),this[_0x361fb5(0x37f)]=_0x5912d4,_0x5912d4&&(this[_0x361fb5(0x2fa)](_0x5912d4),this[_0x361fb5(0x22f)][_0x361fb5(0x3a1)](_0x5912d4),this[_0x361fb5(0x2fc)](_0x5912d4),this[_0x361fb5(0x490)](_0x5912d4)));}));}['_initDrawingDeactivationListener'](){const _0xfd275c=_0x568f44;this[_0xfd275c(0x349)](this[_0xfd275c(0x42f)][_0xfd275c(0x1f4)]['subscribe'](_0x266e09=>{const _0x2db046=_0xfd275c;var _0x278682;let _0x358945=(_0x278682=this[_0x2db046(0x3bf)]['activeChartModel'])==null?void 0x0:_0x278682['id'];_0x358945&&_0x266e09[_0x2db046(0x46c)](_0x312d64=>_0x312d64['children']['some'](_0x2c3250=>_0x2c3250[_0x2db046(0x2e0)]===_0x358945))&&this[_0x2db046(0x3bf)][_0x2db046(0x40d)](null);})),this['disposeWithMe'](this['_drawingManagerService']['featurePluginUngroupUpdate$'][_0xfd275c(0x21f)](_0x4afc20=>{const _0x72a6f=_0xfd275c;var _0x28bfb7;let _0x454a3d=(_0x28bfb7=this[_0x72a6f(0x3bf)][_0x72a6f(0x2d0)])==null?void 0x0:_0x28bfb7['id'];_0x454a3d&&_0x4afc20[_0x72a6f(0x46c)](_0x33d8ee=>_0x33d8ee['parent'][_0x72a6f(0x2e0)]===_0x454a3d||_0x33d8ee[_0x72a6f(0x2a7)]['some'](_0x20da41=>_0x20da41[_0x72a6f(0x2e0)]===_0x454a3d))&&this[_0x72a6f(0x3bf)][_0x72a6f(0x40d)](null);}));}[_0x568f44(0x48f)](){const _0x2925cd=_0x568f44;this[_0x2925cd(0x349)](this['_drawingManagerService']['featurePluginOrderUpdate$'][_0x2925cd(0x21f)](_0x1cea54=>{const _0x39f588=_0x2925cd;var _0x44e83b;let _0x16029a=(_0x44e83b=this['_chartModelService'][_0x39f588(0x2d0)])==null?void 0x0:_0x44e83b['id'];if(!_0x16029a){_0x1cea54[_0x39f588(0x1eb)][_0x39f588(0x3ac)](_0x57ee21=>{const _0x33d0bf=_0x39f588;this[_0x33d0bf(0x3bf)]['getChartModel'](_0x57ee21)&&this[_0x33d0bf(0x390)](_0x57ee21);});return;}let _0x18d86a=this[_0x39f588(0x40b)]['getFloatDomInfo'](_0x16029a);(_0x18d86a==null?void 0x0:_0x18d86a[_0x39f588(0x45f)])===_0x1cea54[_0x39f588(0x45f)]&&_0x18d86a[_0x39f588(0x206)]===_0x1cea54['subUnitId']&&this[_0x39f588(0x2fc)](_0x16029a);})),this['disposeWithMe'](this[_0x2925cd(0x42f)][_0x2925cd(0x447)][_0x2925cd(0x21f)](_0x5592b3=>{const _0x9dd3dd=_0x2925cd;var _0x30db41;let _0x1e1405=(_0x30db41=this[_0x9dd3dd(0x3bf)]['activeChartModel'])==null?void 0x0:_0x30db41['id'];if(!_0x1e1405)return;let _0x3a4746=this['_sheetCanvasFloatDomManagerService'][_0x9dd3dd(0x275)](_0x1e1405);_0x3a4746&&_0x5592b3[_0x9dd3dd(0x46c)](_0x2d6899=>_0x2d6899[_0x9dd3dd(0x45f)]===_0x3a4746[_0x9dd3dd(0x45f)]&&_0x2d6899[_0x9dd3dd(0x206)]===_0x3a4746[_0x9dd3dd(0x206)])&&this[_0x9dd3dd(0x2fc)](_0x1e1405);})),this[_0x2925cd(0x349)](this[_0x2925cd(0x3bf)][_0x2925cd(0x258)][_0x2925cd(0x21f)](_0x36f733=>{const _0x302aaa=_0x2925cd;var _0x2bd0d8;this['_disposeChartChangeListeners'](_0x36f733),this[_0x302aaa(0x2e6)](_0x36f733),this[_0x302aaa(0x2c3)][_0x302aaa(0x2e5)](_0x36f733),this['_deactivateDataUpdateAnimation'](_0x36f733),this[_0x302aaa(0x41a)]['delete'](_0x36f733),this[_0x302aaa(0x213)][_0x302aaa(0x33e)](_0x36f733),this[_0x302aaa(0x316)](_0x36f733),this[_0x302aaa(0x22f)][_0x302aaa(0x3a1)](_0x36f733),((_0x2bd0d8=this[_0x302aaa(0x3bf)][_0x302aaa(0x2d0)])==null?void 0x0:_0x2bd0d8['id'])===_0x36f733?this[_0x302aaa(0x3bf)]['setActiveChartModel'](null):this[_0x302aaa(0x390)](_0x36f733),this[_0x302aaa(0x262)](_0x36f733);}));}[_0x568f44(0x490)](_0x53d409){const _0x434e14=_0x568f44;let _0xd5906d=this[_0x434e14(0x41a)][_0x434e14(0x37e)](_0x53d409);_0xd5906d&&this[_0x434e14(0x311)](_0x53d409,_0xd5906d[_0x434e14(0x274)],_0xd5906d[_0x434e14(0x20f)]);}[_0x568f44(0x401)](_0x39c65a){const _0x98d71b=_0x568f44;let _0x3973dc=this['_chartInstanceMap']['get'](_0x39c65a);(_0x3973dc==null?void 0x0:_0x3973dc[_0x98d71b(0x2ec)])===_0x98d71b(0x3b9)&&(this[_0x98d71b(0x2e6)](_0x39c65a),_0x3973dc[_0x98d71b(0x3d3)](),this[_0x98d71b(0x2c7)][_0x98d71b(0x2e5)](_0x39c65a)),this[_0x98d71b(0x22f)][_0x98d71b(0x3a1)](_0x39c65a),this['_chartHostProvider'][_0x98d71b(0x341)](_0x39c65a);}[_0x568f44(0x262)](_0x411c0b){const _0x4e600e=_0x568f44;let _0x28ac92=this[_0x4e600e(0x2c7)][_0x4e600e(0x37e)](_0x411c0b);_0x28ac92&&(this[_0x4e600e(0x2e6)](_0x411c0b),_0x28ac92['dispose'](),this[_0x4e600e(0x2c7)][_0x4e600e(0x2e5)](_0x411c0b)),this['_chartHostProvider'][_0x4e600e(0x3a1)](_0x411c0b),this[_0x4e600e(0x22f)][_0x4e600e(0x341)](_0x411c0b);}[_0x568f44(0x316)](_0x43ed1e){const _0x4f1f29=_0x568f44;var _0x44d272,_0x5bafb4;(_0x44d272=this[_0x4f1f29(0x325)]['getRenderModel'](_0x14e22a))==null||(_0x5bafb4=_0x44d272[_0x4f1f29(0x44e)])==null||_0x5bafb4['call'](_0x44d272,{'type':_0x4f1f29(0x340),'chartId':_0x43ed1e});}[_0x568f44(0x1fc)](_0xc4338f,_0x95e647){const _0x5021b6=_0x568f44;let _0x286534=this['_drawingManagerService']['getDrawingData'](_0xc4338f,_0x95e647);Object[_0x5021b6(0x3b2)](_0x286534??{})[_0x5021b6(0x3ac)](_0x30a176=>{const _0x55836b=_0x5021b6;if(_0x30a176[_0x55836b(0x20d)]===_0x30e73a['DRAWING_CHART']){var _0x2d239b,_0x45fe71;(_0x2d239b=this['_renderModelManager']['getRenderModel'](_0x14e22a))==null||(_0x45fe71=_0x2d239b[_0x55836b(0x44e)])==null||_0x45fe71[_0x55836b(0x1f1)](_0x2d239b,{'type':_0x55836b(0x1d5),'chartId':_0x30a176[_0x55836b(0x2e0)]});}});}['_getChartRenderObject'](_0x248f78,_0x303175){const _0x4a8209=_0x568f44;var _0x19c94c;return((_0x19c94c=_0x248f78[_0x4a8209(0x227)])==null?void 0x0:_0x19c94c[_0x4a8209(0x1f1)](_0x248f78,_0x303175))??_0x248f78['getObject'](_0x303175)??null;}[_0x568f44(0x31e)](_0x5e91d5){const _0x301196=_0x568f44;var _0x1175a4;let _0x298269=this[_0x301196(0x40b)][_0x301196(0x275)](_0x5e91d5);if(!_0x298269)return null;let _0x2cbc54=(_0x1175a4=this['_renderManagerService'][_0x301196(0x363)](_0x298269[_0x301196(0x45f)]))==null?void 0x0:_0x1175a4[_0x301196(0x472)];if(!_0x2cbc54)return null;let _0x159ee8=this[_0x301196(0x39e)](_0x2cbc54,_0x3a9253({'unitId':_0x298269[_0x301196(0x45f)],'subUnitId':_0x298269[_0x301196(0x206)],'drawingId':_0x5e91d5}));return _0x159ee8?{'info':_0x298269,'scene':_0x2cbc54,'chartObject':_0x159ee8}:null;}[_0x568f44(0x299)](_0x380db8,_0x48c5d6){const _0x461743=_0x568f44;var _0x44a420,_0x53a0df,_0x4d495d,_0x37fd14;let _0x52b957=this[_0x461743(0x31e)](_0x380db8);_0x52b957&&((_0x44a420=(_0x53a0df=_0x52b957['chartObject'])[_0x461743(0x42e)])==null||_0x44a420[_0x461743(0x1f1)](_0x53a0df,{'zIndex':_0x48c5d6}),(_0x4d495d=(_0x37fd14=_0x52b957[_0x461743(0x2cd)])['makeDirty'])==null||_0x4d495d[_0x461743(0x1f1)](_0x37fd14,!0x0),_0x52b957[_0x461743(0x472)][_0x461743(0x1cb)](!0x0));}[_0x568f44(0x2fc)](_0x51a60c){const _0x5d02a3=_0x568f44;let _0x93ebbd=this[_0x5d02a3(0x40b)]['getFloatDomInfo'](_0x51a60c);if(!_0x93ebbd)return;let _0x5a5e8f=this[_0x5d02a3(0x42f)][_0x5d02a3(0x432)](_0x93ebbd[_0x5d02a3(0x45f)],_0x93ebbd[_0x5d02a3(0x206)]);this['_setChartRuntimeZIndex'](_0x51a60c,_0x5a5e8f[_0x5d02a3(0x429)]);}[_0x568f44(0x390)](_0x351524){const _0xfb19dd=_0x568f44;let _0x4aa44f=this[_0xfb19dd(0x40b)][_0xfb19dd(0x275)](_0x351524);if(!_0x4aa44f)return;let _0x53ea67=this[_0xfb19dd(0x42f)][_0xfb19dd(0x432)](_0x4aa44f['unitId'],_0x4aa44f['subUnitId']),_0x5044e5=_0x53ea67['indexOf'](_0x351524);this[_0xfb19dd(0x299)](_0x351524,_0x5044e5===-0x1?Math[_0xfb19dd(0x2f5)](_0x53ea67['length']-0x1,0x0):_0x5044e5);}[_0x568f44(0x28a)](_0xd20c31,_0x2f9eda){const _0xae17b9=_0x568f44;let _0x221895=this[_0xae17b9(0x40b)][_0xae17b9(0x275)](_0xd20c31);if(_0x2f9eda[_0xae17b9(0x1cf)]!==void 0x0&&_0x2f9eda[_0xae17b9(0x2b0)]!==void 0x0&&_0x221895){var _0x216758;let {subUnitId:_0x3ab752}=_0x221895,_0x45d83d=(_0x216758=this[_0xae17b9(0x42c)][_0xae17b9(0x2cb)](_0x1878f2[_0xae17b9(0x352)]))==null?void 0x0:_0x216758['getActiveSheet']();if((_0x45d83d==null?void 0x0:_0x45d83d['getSheetId']())===_0x3ab752){let {width:_0x13ea6c,height:_0xc9042}=_0x2f9eda,_0xd82f2d=this[_0xae17b9(0x3bf)][_0xae17b9(0x250)](_0xd20c31),_0x35d8d9=_0xd82f2d==null?void 0x0:_0xd82f2d[_0xae17b9(0x20f)];(Math[_0xae17b9(0x39c)](_0x13ea6c-((_0x35d8d9==null?void 0x0:_0x35d8d9['width'])||0x0))>0x1||Math[_0xae17b9(0x39c)](_0xc9042-((_0x35d8d9==null?void 0x0:_0x35d8d9[_0xae17b9(0x2b0)])||0x0))>0x1)&&(_0xd82f2d==null||_0xd82f2d['assignStyle']({..._0x35d8d9,'width':_0x13ea6c,'height':_0xc9042}));}}}[_0x568f44(0x3df)](_0x2af51c,_0x25056a,_0x1c08ac=0x0){const _0x5c6716=_0x568f44;let _0x528c39=this[_0x5c6716(0x1ca)][_0x5c6716(0x37e)](_0x2af51c);_0x528c39||(_0x528c39=_0x391583(_0x5a90bc=>{this['_resizeChart'](_0x2af51c,_0x5a90bc);},_0x1c08ac),this[_0x5c6716(0x1ca)][_0x5c6716(0x1c3)](_0x2af51c,_0x528c39)),_0x528c39(_0x25056a);}['handleActiveSubUnitChange'](){const _0x2c2949=_0x568f44;let _0x1b5184=this[_0x2c2949(0x33d)],_0x1dc51a=_0x580f5d=>{const _0x509d26=_0x2c2949;if(!_0x1b5184[_0x509d26(0x317)](_0x580f5d)){let _0x4eb934=_0x391583((_0x61cad,_0x5c33d4,_0x22dc78,_0x211636)=>{const _0x3602a1=_0x509d26;var _0x30dc09,_0x488395;if(!_0x22dc78)return;(_0x30dc09=_0x22dc78[_0x3602a1(0x3de)])==null||_0x30dc09[_0x3602a1(0x47c)][_0x3602a1(0x3ac)]((_0x32e7e3,_0x101856)=>{const _0x26b4a1=_0x3602a1;_0x32e7e3[_0x26b4a1(0x2ff)]||=this[_0x26b4a1(0x244)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x101856+0x1);}),_0x22dc78[_0x3602a1(0x1ff)]['forEach']((_0x250dce,_0x24e964)=>{const _0x56a289=_0x3602a1;_0x250dce['name']||=this[_0x56a289(0x244)]['t'](_0x56a289(0x2a8))+'\x20'+(_0x24e964+0x1);});let _0x260bf0=this[_0x3602a1(0x1b9)](_0x61cad,_0x211636),_0x1ad11d=(_0x488395=this['_univerInstanceService'][_0x3602a1(0x2cb)](_0x1878f2['UNIVER_SHEET']))==null?void 0x0:_0x488395[_0x3602a1(0x3b0)]();(_0x1ad11d==null?void 0x0:_0x1ad11d[_0x3602a1(0x38b)]())===_0x5c33d4&&this[_0x3602a1(0x311)](_0x61cad['id'],_0x22dc78,_0x260bf0);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x1b5184[_0x509d26(0x1c3)](_0x580f5d,_0x4eb934);}return _0x1b5184[_0x509d26(0x37e)](_0x580f5d);};this[_0x2c2949(0x349)](this[_0x2c2949(0x42c)]['focused$'][_0x2c2949(0x21f)](_0x552b99=>{const _0x53cb43=_0x2c2949;let _0x492f6f=this['_univerInstanceService']['getCurrentUnitOfType'](_0x1878f2[_0x53cb43(0x352)]);if(_0x552b99&&_0x492f6f&&_0x492f6f[_0x53cb43(0x453)]()===_0x552b99){var _0x4b8978;let _0x3e9a15=_0x492f6f[_0x53cb43(0x3b0)]()[_0x53cb43(0x38b)]();this['_lastActiveSheet']&&(this['_lastActiveSheet'][_0x53cb43(0x45f)]!==_0x552b99||this['_lastActiveSheet'][_0x53cb43(0x206)]!==_0x3e9a15)&&this['_notifySheetChartsDetached'](this['_lastActiveSheet'][_0x53cb43(0x45f)],this[_0x53cb43(0x205)][_0x53cb43(0x206)]),this[_0x53cb43(0x205)]={'unitId':_0x552b99,'subUnitId':_0x3e9a15};let _0xd2639d=this[_0x53cb43(0x42f)]['getDrawingData'](_0x552b99,_0x3e9a15);if(!((_0x4b8978=this[_0x53cb43(0x45b)][_0x53cb43(0x363)](_0x552b99))!=null&&_0x4b8978['with'](_0x1d95b5)[_0x53cb43(0x362)](_0x3e9a15)))return;if(_0xd2639d)for(let _0x40c7f8 in _0xd2639d){let {drawingId:_0x4b5a6e}=_0xd2639d[_0x40c7f8],_0x759b1f=this[_0x53cb43(0x3bf)]['getChartModel'](_0x4b5a6e);_0x759b1f&&_0x1dc51a(_0x759b1f['id'])(_0x759b1f,_0x3e9a15,_0x759b1f[_0x53cb43(0x274)],this[_0x53cb43(0x244)][_0x53cb43(0x282)]());}}})),this[_0x2c2949(0x349)](this[_0x2c2949(0x2c0)]['darkMode$'][_0x2c2949(0x21f)](()=>{const _0x43d053=_0x2c2949;var _0x1b6b4d;let _0x20232d=this[_0x43d053(0x42c)][_0x43d053(0x2cb)](_0x1878f2[_0x43d053(0x352)]);if(!_0x20232d)return;let _0x31430b=_0x20232d['getUnitId'](),_0x82e866=_0x20232d[_0x43d053(0x3b0)]()[_0x43d053(0x38b)](),_0x2aab03=this[_0x43d053(0x42f)][_0x43d053(0x336)](_0x31430b,_0x82e866);if((_0x1b6b4d=this[_0x43d053(0x45b)][_0x43d053(0x363)](_0x31430b))!=null&&_0x1b6b4d['with'](_0x1d95b5)['getSkeleton'](_0x82e866)&&_0x2aab03)for(let _0x3f0970 in _0x2aab03){let {drawingId:_0x3bcf0c}=_0x2aab03[_0x3f0970],_0x128e31=this[_0x43d053(0x3bf)][_0x43d053(0x250)](_0x3bcf0c);_0x128e31&&_0x1dc51a(_0x128e31['id'])(_0x128e31,_0x82e866,_0x128e31['config'],this[_0x43d053(0x244)][_0x43d053(0x282)]());}})),this[_0x2c2949(0x349)](this['_drawingManagerService']['add$']['subscribe'](_0x3827a0=>{_0x3827a0['forEach'](_0x314b03=>{const _0x317e33=_0x1779;var _0x247727;let {drawingId:_0x5c7657,unitId:_0x43ce09,subUnitId:_0x32accb}=_0x314b03,_0x91c23e=this[_0x317e33(0x45b)][_0x317e33(0x363)](_0x43ce09);if((_0x91c23e==null?void 0x0:_0x91c23e[_0x317e33(0x2b9)])!==_0x1878f2[_0x317e33(0x352)]||!_0x91c23e[_0x317e33(0x3d7)](_0x1d95b5)[_0x317e33(0x362)](_0x32accb))return;let {drawingType:_0x15e32e}=this['_drawingManagerService'][_0x317e33(0x1f3)](_0x314b03);if(_0x15e32e!==_0x30e73a[_0x317e33(0x312)])return;let _0xd6d2fb=this['_sheetCanvasFloatDomManagerService'][_0x317e33(0x275)](_0x5c7657);this[_0x317e33(0x1c8)](_0x5c7657);let _0x569ce3=new _0x32a96b();this[_0x317e33(0x1c0)][_0x317e33(0x1c3)](_0x5c7657,_0x569ce3);let _0x4ca4c9=(_0xd6d2fb==null?void 0x0:_0xd6d2fb['domId'])??_0x5c7657,_0x15ea46=_0xd6d2fb==null?void 0x0:_0xd6d2fb['rect'],_0x2d7d21=(_0x247727=this[_0x317e33(0x45b)][_0x317e33(0x363)](_0x43ce09))==null?void 0x0:_0x247727[_0x317e33(0x472)];if(_0x15ea46){let _0x4209fe=new Xr(_0x15ea46,async _0x21c8f5=>{const _0x3bb1cd=_0x317e33;var _0x2cb994;let _0x2d3268=this['_univerInstanceService'][_0x3bb1cd(0x2cb)](_0x1878f2[_0x3bb1cd(0x352)]);if((_0x2d3268==null?void 0x0:_0x2d3268['getUnitId']())===_0x43ce09&&((_0x2cb994=_0x2d3268[_0x3bb1cd(0x3b0)]())==null?void 0x0:_0x2cb994[_0x3bb1cd(0x38b)]())===_0x32accb&&(this[_0x3bb1cd(0x22f)][_0x3bb1cd(0x23b)](_0x5c7657),_0x21c8f5)){let {width:_0x4085a4,height:_0x5f3e24}=_0x15ea46;this[_0x3bb1cd(0x3df)](_0x5c7657,{'width':_0x4085a4,'height':_0x5f3e24},0x64);let _0x53c49d=this[_0x3bb1cd(0x3bf)]['getChartModel'](_0x5c7657);_0x53c49d!=null&&_0x53c49d[_0x3bb1cd(0x274)]&&await this[_0x3bb1cd(0x311)](_0x5c7657,_0x53c49d[_0x3bb1cd(0x274)],this[_0x3bb1cd(0x1b9)](_0x53c49d,this['_localeService'][_0x3bb1cd(0x282)]()));}});_0x569ce3[_0x317e33(0x349)](_0x4209fe),_0x569ce3[_0x317e33(0x349)](this[_0x317e33(0x42c)]['focused$'][_0x317e33(0x21f)](()=>_0x4209fe[_0x317e33(0x323)][_0x317e33(0x3c3)]())),_0x2d7d21&&_0x569ce3[_0x317e33(0x349)](_0x2d7d21[_0x317e33(0x1b3)]()[_0x317e33(0x26f)]['subscribe'](({objects:_0x54ed8e})=>{const _0x10d3a9=_0x317e33;if(_0x54ed8e[_0x10d3a9(0x317)](_0x15ea46[_0x10d3a9(0x2d2)])){var _0x3810a5;_0x4209fe[_0x10d3a9(0x323)][_0x10d3a9(0x26a)](),(_0x3810a5=this[_0x10d3a9(0x1ca)][_0x10d3a9(0x37e)](_0x5c7657))==null||_0x3810a5[_0x10d3a9(0x420)](),this['_resizeChart'](_0x5c7657,{'width':_0x15ea46['width'],'height':_0x15ea46[_0x10d3a9(0x2b0)]});}}));}_0x2d7d21&&_0x569ce3['disposeWithMe'](_0x2d7d21[_0x317e33(0x367)][_0x317e33(0x466)](_0x5a8f6a=>{const _0x34d383=_0x317e33;var _0x5acd7e;_0x5a8f6a['type']===_0x565982['scale']&&(_0x5acd7e=document[_0x34d383(0x482)](_0x4ca4c9))!=null&&_0x5acd7e[_0x34d383(0x29d)](_0x34d383(0x29e))&&this[_0x34d383(0x22f)][_0x34d383(0x23b)](_0x5c7657);}));let _0x263d32=this[_0x317e33(0x3bf)][_0x317e33(0x250)](_0x5c7657);_0x263d32&&_0x569ce3[_0x317e33(0x349)](_0x4d9f86([_0x263d32[_0x317e33(0x2c9)],_0x263d32[_0x317e33(0x3ca)],this[_0x317e33(0x244)][_0x317e33(0x2a6)]])[_0x317e33(0x21f)](([_0x4f05aa,_0x3d3202,_0x4d32e0])=>{_0x1dc51a(_0x263d32['id'])(_0x263d32,_0x32accb,_0x4f05aa,_0x4d32e0);}));});})),this[_0x2c2949(0x349)](_0x4d9f86([this[_0x2c2949(0x42f)]['remove$']])[_0x2c2949(0x21f)](([_0x504ae7])=>{const _0x2d5f4f=_0x2c2949;_0x504ae7[_0x2d5f4f(0x3ac)](_0xd7adfa=>{const _0x21bf0a=_0x2d5f4f;var _0x2ff312;let {drawingId:_0x4c4fc6}=_0xd7adfa;this[_0x21bf0a(0x1c8)](_0x4c4fc6),((_0x2ff312=this[_0x21bf0a(0x3bf)][_0x21bf0a(0x2d0)])==null?void 0x0:_0x2ff312['id'])===_0x4c4fc6&&this[_0x21bf0a(0x3bf)]['setActiveChartModel'](null),this[_0x21bf0a(0x2e6)](_0x4c4fc6),this[_0x21bf0a(0x22f)][_0x21bf0a(0x3a1)](_0x4c4fc6),this[_0x21bf0a(0x390)](_0x4c4fc6),this[_0x21bf0a(0x262)](_0x4c4fc6),this[_0x21bf0a(0x213)]['clearChart'](_0x4c4fc6),this[_0x21bf0a(0x316)](_0x4c4fc6),this['_lastRenderInputMap'][_0x21bf0a(0x2e5)](_0x4c4fc6),this[_0x21bf0a(0x2fb)][_0x21bf0a(0x2e5)](_0x4c4fc6);});}));}['setElementEditMode'](_0x57ad2f,_0x3f5fad){const _0xba62c0=_0x568f44;var _0x4c9aec;_0x3f5fad?this[_0xba62c0(0x2fb)][_0xba62c0(0x1c3)](_0x57ad2f,!0x0):this[_0xba62c0(0x2fb)]['delete'](_0x57ad2f),(_0x4c9aec=this['_chartInstanceMap']['get'](_0x57ad2f))==null||_0x4c9aec[_0xba62c0(0x219)](_0x3f5fad);}async[_0x568f44(0x1e6)](_0xd96ddc,_0x4e4a7f){const _0x1a45cf=_0x568f44;var _0x347fd4;let _0x46c8e1=this[_0x1a45cf(0x41a)][_0x1a45cf(0x37e)](_0xd96ddc),_0xfd09d=(_0x347fd4=this[_0x1a45cf(0x40b)][_0x1a45cf(0x275)](_0xd96ddc))==null?void 0x0:_0x347fd4['rect'];if(_0x46c8e1&&_0xfd09d)return(await this[_0x1a45cf(0x325)]['exportImage']({'chartId':_0xd96ddc,'config':_0x46c8e1[_0x1a45cf(0x274)],'style':_0x46c8e1[_0x1a45cf(0x20f)],'width':_0xfd09d['width'],'height':_0xfd09d[_0x1a45cf(0x2b0)]},_0x4e4a7f))[_0x1a45cf(0x358)];if((_0x4e4a7f==null?void 0x0:_0x4e4a7f[_0x1a45cf(0x3ab)])===_0x364b9f[_0x1a45cf(0x468)])return;let _0x3e503e=this[_0x1a45cf(0x2c4)](_0xd96ddc);return _0x3e503e?_0x422f65(_0x3e503e):void 0x0;}['on'](_0x2b4361,_0xf5b4c9,_0x344242){const _0x38d83d=_0x568f44;let _0x2669d2=this['_chartEventHandlers'][_0x38d83d(0x37e)](_0x2b4361);_0x2669d2||(_0x2669d2=new Map(),this[_0x38d83d(0x2c3)][_0x38d83d(0x1c3)](_0x2b4361,_0x2669d2));let _0x442762=_0x2669d2['get'](_0xf5b4c9);_0x442762||(_0x442762=new Set(),_0x2669d2[_0x38d83d(0x1c3)](_0xf5b4c9,_0x442762)),_0x442762['add'](_0x344242);let _0x2d3e68=this['_chartInstanceMap'][_0x38d83d(0x37e)](_0x2b4361);return _0x2d3e68&&this[_0x38d83d(0x491)](_0x2b4361,_0x2d3e68,_0xf5b4c9,_0x344242),{'dispose':()=>{const _0x5a7111=_0x38d83d;var _0x2c45f2;(_0x2c45f2=this[_0x5a7111(0x2c3)]['get'](_0x2b4361))==null||(_0x2c45f2=_0x2c45f2[_0x5a7111(0x37e)](_0xf5b4c9))==null||_0x2c45f2['delete'](_0x344242),this[_0x5a7111(0x404)](_0x2b4361,_0xf5b4c9,_0x344242);}};}['_getCurrentSnapshotImage'](_0x14f61c){const _0x54e92e=_0x568f44;let _0x265461=this[_0x54e92e(0x42c)][_0x54e92e(0x2cb)](_0x1878f2[_0x54e92e(0x352)]),_0x5825f2=_0x265461==null?void 0x0:_0x265461[_0x54e92e(0x3b0)](),_0x2bfc84=_0x265461==null?void 0x0:_0x265461['getUnitId'](),_0x5766be=_0x5825f2==null?void 0x0:_0x5825f2[_0x54e92e(0x38b)]();if(_0x2bfc84&&_0x5766be)return this[_0x54e92e(0x213)][_0x54e92e(0x41e)]({'unitId':_0x2bfc84,'subUnitId':_0x5766be,'chartId':_0x14f61c});}[_0x568f44(0x211)](_0xa97273,_0x587386){const _0x503078=_0x568f44;let _0xb57d8e=this[_0x503078(0x2c3)]['get'](_0xa97273);_0xb57d8e&&_0xb57d8e['forEach']((_0x168fad,_0x3c4e00)=>{const _0xcb8361=_0x503078;_0x168fad[_0xcb8361(0x3ac)](_0x4995c9=>this[_0xcb8361(0x491)](_0xa97273,_0x587386,_0x3c4e00,_0x4995c9));});}[_0x568f44(0x491)](_0x139ce9,_0x502687,_0x2f3f2f,_0x440471){const _0x3ae28e=_0x568f44;let _0x356bf7=this[_0x3ae28e(0x1be)][_0x3ae28e(0x37e)](_0x139ce9);_0x356bf7||(_0x356bf7=new Map(),this[_0x3ae28e(0x1be)][_0x3ae28e(0x1c3)](_0x139ce9,_0x356bf7));let _0x2356ce=_0x356bf7[_0x3ae28e(0x37e)](_0x2f3f2f);_0x2356ce||(_0x2356ce=new Map(),_0x356bf7[_0x3ae28e(0x1c3)](_0x2f3f2f,_0x2356ce)),!_0x2356ce[_0x3ae28e(0x317)](_0x440471)&&_0x2356ce['set'](_0x440471,_0x502687['on'](_0x2f3f2f,_0x440471));}[_0x568f44(0x404)](_0xa0d2ae,_0x4bc21e,_0x52b49e){const _0xccd4b0=_0x568f44;var _0x1c447f,_0x46323d;let _0x4f1dd7=(_0x1c447f=this[_0xccd4b0(0x1be)][_0xccd4b0(0x37e)](_0xa0d2ae))==null?void 0x0:_0x1c447f[_0xccd4b0(0x37e)](_0x4bc21e);_0x4f1dd7==null||(_0x46323d=_0x4f1dd7[_0xccd4b0(0x37e)](_0x52b49e))==null||_0x46323d['dispose'](),_0x4f1dd7==null||_0x4f1dd7[_0xccd4b0(0x2e5)](_0x52b49e);}['_disposeChartEventSubscriptions'](_0x3df7a9){const _0x3668a5=_0x568f44;let _0x52f9d0=this[_0x3668a5(0x1be)]['get'](_0x3df7a9);_0x52f9d0==null||_0x52f9d0[_0x3668a5(0x3ac)](_0x40f5ff=>{const _0x14d983=_0x3668a5;_0x40f5ff[_0x14d983(0x3ac)](_0x5e9e3e=>_0x5e9e3e[_0x14d983(0x3d3)]()),_0x40f5ff['clear']();}),this[_0x3668a5(0x1be)][_0x3668a5(0x2e5)](_0x3df7a9);}[_0x568f44(0x1b9)](_0x9ca8cf,_0x5db5c6){const _0x2b4a71=_0x568f44;return gi(_0x9ca8cf,_0x5db5c6,this[_0x2b4a71(0x41b)]);}['checkChartCanRender'](_0x56098e){const _0x2b5a72=_0x568f44;return this[_0x2b5a72(0x31b)](_0x56098e)==null;}[_0x568f44(0x31b)](_0x3bda09){const _0x5d41bd=_0x568f44;var _0x4a72a8;let _0x357272=this[_0x5d41bd(0x40b)][_0x5d41bd(0x275)](_0x3bda09);if(!_0x357272)return'missing-float-dom';let {subUnitId:_0x53ccf2}=_0x357272,_0x1704bb=(_0x4a72a8=this[_0x5d41bd(0x42c)]['getCurrentUnitOfType'](_0x1878f2[_0x5d41bd(0x352)]))==null?void 0x0:_0x4a72a8[_0x5d41bd(0x3b0)]();if(!_0x1704bb)return _0x5d41bd(0x35e);if(_0x1704bb[_0x5d41bd(0x38b)]()!==_0x53ccf2)return _0x5d41bd(0x1e4);}async[_0x568f44(0x311)](_0x493f3c,_0x4a1cfd,_0x24868e,_0x5846e4={}){const _0x209913=_0x568f44;let _0x5196c2=this[_0x209913(0x325)]['getRenderModel'](_0x14e22a);if(!_0x5196c2)return;let _0x3c8a30=this[_0x209913(0x41a)][_0x209913(0x37e)](_0x493f3c);if(this[_0x209913(0x41a)][_0x209913(0x1c3)](_0x493f3c,{'config':_0x4a1cfd,'style':_0x24868e}),this[_0x209913(0x31b)](_0x493f3c))return;let {canAnimate:_0x403e3c,renderMode:_0x3d4572,shouldStartTransientAnimation:_0x156490,transientAnimationActive:_0x1b8caf}=this[_0x209913(0x439)](_0x493f3c,_0x3c8a30!=null,_0x5846e4[_0x209913(0x243)]===!0x0);if(_0x3d4572===_0x497f9d[_0x209913(0x3d4)])this[_0x209913(0x401)](_0x493f3c);else{var _0xabe112;this[_0x209913(0x22f)][_0x209913(0x31f)](_0x493f3c),((_0xabe112=this[_0x209913(0x3bf)][_0x209913(0x2d0)])==null?void 0x0:_0xabe112['id'])===_0x493f3c&&this['_applyActiveChartRuntimeZIndex'](_0x493f3c);}let _0x2a5c6c=_0x3d4572===_0x497f9d[_0x209913(0x3d4)]?_0x497f9d[_0x209913(0x3d4)]:_0x497f9d[_0x209913(0x331)],_0x3b9089=await this[_0x209913(0x22f)][_0x209913(0x1fa)](_0x493f3c,_0x2a5c6c);if(!_0x3b9089){_0x156490&&this[_0x209913(0x2fa)](_0x493f3c);return;}this['_chartHostProvider'][_0x209913(0x27f)](_0x493f3c,_0x1b8caf?_0x38e848:null);let _0x4b1db6=this[_0x209913(0x3d2)](_0x493f3c,_0x2a5c6c,_0x5196c2);_0x4b1db6[_0x209913(0x398)](_0x3b9089);try{let _0x2dfb16={'chartId':_0x493f3c,'config':_0x4a1cfd,'style':_0x24868e};_0x403e3c&&_0x3c8a30&&_0x4b1db6['renderTransition']?await _0x4b1db6[_0x209913(0x379)]({'chartId':_0x493f3c,'config':_0x3c8a30[_0x209913(0x274)],'style':_0x3c8a30['style']},_0x2dfb16,{'duration':_0x38e848}):await _0x4b1db6[_0x209913(0x311)](_0x2dfb16),await this[_0x209913(0x37b)](_0x493f3c,_0x3d4572,_0x4b1db6),_0x403e3c&&_0x1b8caf&&this[_0x209913(0x2b8)](_0x493f3c);}catch(_0x206767){if(_0x156490&&this[_0x209913(0x2fa)](_0x493f3c),_0x3d4572!==_0x497f9d[_0x209913(0x3d4)])throw _0x206767;}}async['_cacheActiveDomChartSnapshot'](_0x340d5a,_0x4c5c48,_0x1ca762){const _0x36ded0=_0x568f44;var _0x5d1128;if(_0x4c5c48!==_0x497f9d['Dom']||((_0x5d1128=this[_0x36ded0(0x3bf)]['activeChartModel'])==null?void 0x0:_0x5d1128['id'])!==_0x340d5a)return;let _0x28013f=await this[_0x36ded0(0x22f)][_0x36ded0(0x1fa)](_0x340d5a,_0x497f9d['Image']);if(!_0x28013f)return;let _0x2ed417=_0x28013f[_0x36ded0(0x3e1)]();try{let _0xd22056=await _0x1ca762[_0x36ded0(0x288)]();_0xd22056&&_0x28013f[_0x36ded0(0x48a)]({'type':_0x124645['Url'],'url':_0xd22056},_0x2ed417)&&_0x28013f[_0x36ded0(0x238)]();}catch{}}['_prepareDataUpdateRender'](_0x710fff,_0x415cb6,_0x501582){const _0x390d7e=_0x568f44;let _0x3ee062=this[_0x390d7e(0x370)](_0x710fff),_0x42c941=_0x3ee062===_0x497f9d[_0x390d7e(0x331)]&&_0x501582&&_0x415cb6&&this[_0x390d7e(0x342)](_0x710fff),_0x50d041=this['_dataUpdateAnimationChartIds'][_0x390d7e(0x317)](_0x710fff);return{'canAnimate':_0x42c941,'renderMode':_0x50d041?_0x497f9d['Dom']:_0x3ee062,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x50d041};}['_canAnimateDataUpdate'](_0x55ca9b){const _0x495b02=_0x568f44;var _0x13168e,_0x62d2a,_0x4b2ff8,_0x471f50;if(typeof document>'u'||typeof window>'u'||document[_0x495b02(0x1bb)]===_0x495b02(0x34b)||(_0x13168e=(_0x62d2a=window)[_0x495b02(0x32e)])!=null&&(_0x13168e=_0x13168e[_0x495b02(0x1f1)](_0x62d2a,'(prefers-reduced-motion:\x20reduce)'))!=null&&_0x13168e[_0x495b02(0x2bb)]||(_0x4b2ff8=(_0x471f50=window)[_0x495b02(0x32e)])!=null&&(_0x4b2ff8=_0x4b2ff8[_0x495b02(0x1f1)](_0x471f50,_0x495b02(0x441)))!=null&&_0x4b2ff8[_0x495b02(0x2bb)])return!0x1;let _0x182a86=this[_0x495b02(0x22f)]['getHostClientRect'](_0x55ca9b);return _0x182a86!=null&&_0x182a86[_0x495b02(0x1cf)]>0x0&&_0x182a86[_0x495b02(0x2b0)]>0x0&&_0x182a86[_0x495b02(0x2c6)]>0x0&&_0x182a86[_0x495b02(0x2db)]>0x0&&_0x182a86[_0x495b02(0x242)]<window[_0x495b02(0x232)]&&_0x182a86[_0x495b02(0x382)]<window[_0x495b02(0x1dd)];}[_0x568f44(0x1ce)](_0x1a89f9){const _0x99055e=_0x568f44;let _0x368e3c=this['_dataUpdateAnimationTimers'][_0x99055e(0x37e)](_0x1a89f9);_0x368e3c&&(clearTimeout(_0x368e3c),this['_dataUpdateAnimationTimers'][_0x99055e(0x2e5)](_0x1a89f9)),this[_0x99055e(0x400)][_0x99055e(0x371)](_0x1a89f9),this[_0x99055e(0x22f)][_0x99055e(0x27f)](_0x1a89f9,_0x38e848);}[_0x568f44(0x2b8)](_0x41ede5){const _0x81bfe7=_0x568f44;let _0x35c756=this[_0x81bfe7(0x26e)][_0x81bfe7(0x37e)](_0x41ede5);_0x35c756&&clearTimeout(_0x35c756);let _0x523823=setTimeout(()=>{const _0x409c20=_0x81bfe7;this[_0x409c20(0x26e)][_0x409c20(0x2e5)](_0x41ede5),this['_dataUpdateAnimationChartIds'][_0x409c20(0x2e5)](_0x41ede5)&&(this[_0x409c20(0x22f)]['setDataUpdateAnimation'](_0x41ede5,null),this[_0x409c20(0x401)](_0x41ede5),this[_0x409c20(0x490)](_0x41ede5));},_0x38e848);this['_dataUpdateAnimationTimers'][_0x81bfe7(0x1c3)](_0x41ede5,_0x523823);}[_0x568f44(0x2fa)](_0x2f7a22){const _0x4330ec=_0x568f44;let _0x4a4a38=this[_0x4330ec(0x26e)][_0x4330ec(0x37e)](_0x2f7a22);_0x4a4a38&&(clearTimeout(_0x4a4a38),this['_dataUpdateAnimationTimers'][_0x4330ec(0x2e5)](_0x2f7a22)),this[_0x4330ec(0x400)][_0x4330ec(0x2e5)](_0x2f7a22),this['_chartHostProvider']['setDataUpdateAnimation'](_0x2f7a22,null);}async[_0x568f44(0x479)](_0xcf3c97,_0x444b56,_0x14bd46){const _0x3bf01e=_0x568f44;let _0x3dd4b0=this[_0x3bf01e(0x42f)]['getDrawingData'](_0xcf3c97,_0x444b56),_0x53b769=this[_0x3bf01e(0x42f)]['getDrawingOrder'](_0xcf3c97,_0x444b56),_0x8b7d61=Object[_0x3bf01e(0x3b2)](_0x3dd4b0??{})[_0x3bf01e(0x26b)](_0x4401d5=>_0x4401d5[_0x3bf01e(0x20d)]===_0x30e73a[_0x3bf01e(0x312)]&&_0x4401d5[_0x3bf01e(0x34b)]!==!0x0);await Promise['allSettled'](_0x8b7d61['map'](async _0x3d8e84=>{const _0x4c056a=_0x3bf01e;let _0x271ee2=await this[_0x4c056a(0x3b8)](_0x3d8e84,_0x53b769);_0x271ee2&&(_0x14bd46[_0x4c056a(0x470)](_0x271ee2,_0x56b329),_0x3d8e84['groupId']&&_0x1ab7fb({'drawingId':_0x3d8e84[_0x4c056a(0x43f)],'unitId':_0xcf3c97,'subUnitId':_0x444b56},_0x271ee2,_0x14bd46,this[_0x4c056a(0x42f)]));}));}async[_0x568f44(0x3b8)](_0x3bc6fc,_0x2eedb3){const _0x45089c=_0x568f44;let _0x5e3822=this[_0x45089c(0x3bf)][_0x45089c(0x250)](_0x3bc6fc['drawingId']),_0x448d3a=this[_0x45089c(0x325)][_0x45089c(0x2d5)](_0x14e22a),_0x135e59=_0x3bc6fc[_0x45089c(0x231)],_0x37c797=_0x5e3822==null?void 0x0:_0x5e3822[_0x45089c(0x274)];if(!_0x5e3822||!_0x448d3a||!_0x135e59||!_0x37c797||_0x135e59['width']==null||_0x135e59[_0x45089c(0x2b0)]==null)return null;let _0x29180a=new hi(_0x3bc6fc[_0x45089c(0x2e0)],{'width':_0x135e59[_0x45089c(0x1cf)],'height':_0x135e59[_0x45089c(0x2b0)]}),_0x2b04ca=_0x448d3a['createChartInstance'](_0x497f9d[_0x45089c(0x3d4)],this[_0x45089c(0x1f0)]());_0x2b04ca[_0x45089c(0x398)](_0x29180a);let _0x3da8e4;try{await _0x2b04ca[_0x45089c(0x311)]({'chartId':_0x3bc6fc[_0x45089c(0x2e0)],'config':_0x37c797,'style':this[_0x45089c(0x1b9)](_0x5e3822,this['_localeService'][_0x45089c(0x282)]())});}catch(_0x176c34){console[_0x45089c(0x207)](_0x45089c(0x230),_0x176c34);}finally{_0x3da8e4=_0x29180a[_0x45089c(0x2bc)](),_0x2b04ca[_0x45089c(0x3d3)](),_0x29180a[_0x45089c(0x3d3)]();}let _0x45e59f=this[_0x45089c(0x213)][_0x45089c(0x41e)]({'unitId':_0x3bc6fc[_0x45089c(0x45f)],'subUnitId':_0x3bc6fc[_0x45089c(0x206)],'chartId':_0x3bc6fc[_0x45089c(0x2e0)]}),_0x12887e=_0x3da8e4??_0x45e59f;if(!_0x12887e)return null;let _0x5f516c=_0x2eedb3[_0x45089c(0x326)](_0x3bc6fc['drawingId']);return new ei(_0x3a9253(_0x3bc6fc),{..._0x135e59,..._0x2cbe4d,...di(_0x29180a[_0x45089c(0x20f)]),'visible':!0x0,'zIndex':_0x5f516c===-0x1?Math[_0x45089c(0x2f5)](_0x2eedb3['length']-0x1,0x0):_0x5f516c},()=>_0x12887e,void 0x0,_0x3da8e4?()=>K(_0x3da8e4):void 0x0);}[_0x568f44(0x3d2)](_0x2f054f,_0x37c926,_0x2dab35){const _0x24b3c7=_0x568f44;let _0x15e434=this[_0x24b3c7(0x2c7)]['get'](_0x2f054f);if((_0x15e434==null?void 0x0:_0x15e434[_0x24b3c7(0x2ec)])===_0x37c926)return _0x15e434;_0x15e434&&(this['_disposeChartEventSubscriptions'](_0x2f054f),_0x15e434['dispose'](),this[_0x24b3c7(0x2c7)]['delete'](_0x2f054f));let _0x59deb4=_0x2dab35[_0x24b3c7(0x34c)](_0x37c926,this['_createChartRenderInstanceContext']());return this[_0x24b3c7(0x2c7)]['set'](_0x2f054f,_0x59deb4),_0x59deb4[_0x24b3c7(0x219)](this[_0x24b3c7(0x2fb)][_0x24b3c7(0x37e)](_0x2f054f)===!0x0),this[_0x24b3c7(0x211)](_0x2f054f,_0x59deb4),_0x59deb4;}[_0x568f44(0x1f0)](){const _0xbabba2=_0x568f44;return{'resolveHostStyle':({style:_0x12d77c})=>_0x36f200({'style':_0x12d77c,'getRenderColor':_0x5223d3=>this[_0xbabba2(0x3b3)]['getRenderColor'](_0x5223d3)}),'resolveRenderBackgroundColor':({style:_0x5c8d67})=>this['_chartThemeService'][_0xbabba2(0x483)](_0x293065(_0x5c8d67))};}['_disposeChartChangeListeners'](_0x2324f1){const _0x483886=_0x568f44;var _0x14810d,_0x1eef4f,_0x45f80c;(_0x14810d=this[_0x483886(0x1c0)][_0x483886(0x37e)](_0x2324f1))==null||_0x14810d['dispose'](),this[_0x483886(0x1c0)][_0x483886(0x2e5)](_0x2324f1),(_0x1eef4f=this[_0x483886(0x33d)][_0x483886(0x37e)](_0x2324f1))==null||_0x1eef4f[_0x483886(0x420)](),this[_0x483886(0x33d)]['delete'](_0x2324f1),(_0x45f80c=this['_debounceHandleMap'][_0x483886(0x37e)](_0x2324f1))==null||_0x45f80c[_0x483886(0x420)](),this['_debounceHandleMap'][_0x483886(0x2e5)](_0x2324f1);}[_0x568f44(0x3bc)](){const _0x9ad27d=_0x568f44;this[_0x9ad27d(0x33d)]['forEach'](_0x33febb=>_0x33febb[_0x9ad27d(0x420)]()),this[_0x9ad27d(0x33d)][_0x9ad27d(0x361)](),this[_0x9ad27d(0x1ca)]['forEach'](_0x2c3682=>_0x2c3682[_0x9ad27d(0x420)]()),this['_debounceHandleMap'][_0x9ad27d(0x361)]();}[_0x568f44(0x3d3)](){const _0x2a663b=_0x568f44;this[_0x2a663b(0x1c0)]['forEach'](_0x6e3bf1=>_0x6e3bf1['dispose']()),this['_chartChangeSubscriptions'][_0x2a663b(0x361)](),this[_0x2a663b(0x26e)][_0x2a663b(0x3ac)](_0x26a5cf=>clearTimeout(_0x26a5cf)),this[_0x2a663b(0x26e)]['clear'](),this[_0x2a663b(0x400)][_0x2a663b(0x361)](),Array[_0x2a663b(0x402)](this[_0x2a663b(0x2c7)][_0x2a663b(0x487)]())[_0x2a663b(0x3ac)](_0x1c7f38=>this[_0x2a663b(0x262)](_0x1c7f38)),this[_0x2a663b(0x2c3)][_0x2a663b(0x361)](),this[_0x2a663b(0x2fb)][_0x2a663b(0x361)](),this['_cancelDebouncedCallbacks'](),this['_lastRenderInputMap'][_0x2a663b(0x361)](),this[_0x2a663b(0x37f)]=null,this['_lastActiveSheet']=null,super[_0x2a663b(0x3d3)]();}};function _0x1779(_0x173119,_0x475397){_0x173119=_0x173119-0x1af;const _0xbdb09b=_0xbdb0();let _0x1779b0=_0xbdb09b[_0x173119];return _0x1779b0;}Y=J([q(0x0,pi),q(0x1,_0x563aa6(_0x3a2ef5)),q(0x2,_0x563aa6(_0x813c91)),q(0x3,_0x1506f9),q(0x4,_0x16f441),q(0x5,_0x563aa6(_0x35685d)),q(0x6,_0x563aa6(_0x565815)),q(0x7,_0x563aa6(_0x363c1f)),q(0x8,_0x563aa6(_0x3aa033)),q(0x9,_0x563aa6(_0x4e6706)),q(0xa,_0x4fc0b3),q(0xb,_0x563aa6(ii)),q(0xc,_0x144ce6)],Y);const X=_0x174872('sheets-chart.ui.service');let _i=class extends _0x36e2b6{constructor(_0x4a964c,_0xfb16ba,_0x1a6f3e,_0x2b9269,_0x3f5aef){const _0x1e6dfb=_0x568f44;super(_0x3f5aef),this['_chartModelService']=_0x4a964c,this[_0x1e6dfb(0x383)]=_0xfb16ba,this[_0x1e6dfb(0x42b)]=_0x1a6f3e,this['_univerInstanceService']=_0x2b9269,G(this,'_rangeSelectMode',!0x1),G(this,'_chartEditorOpen$',new _0x5e4432(!0x1)),G(this,_0x1e6dfb(0x28f),new _0x5e4432(null)),G(this,_0x1e6dfb(0x343),this[_0x1e6dfb(0x3fe)]['asObservable']()),G(this,_0x1e6dfb(0x1af),this[_0x1e6dfb(0x28f)][_0x1e6dfb(0x298)]());}get[_0x568f44(0x200)](){const _0x12d524=_0x568f44;return this['_chartModelService'][_0x12d524(0x2d0)]??null;}get['chartEditorOpen'](){const _0x302033=_0x568f44;return this[_0x302033(0x3fe)]['getValue']();}get[_0x568f44(0x436)](){const _0xb93654=_0x568f44;return this[_0xb93654(0x2f7)];}[_0x568f44(0x246)](_0x27d048){const _0xc6b3c9=_0x568f44;this[_0xc6b3c9(0x2f7)]=_0x27d048;}[_0x568f44(0x36c)](_0x5a98e5){const _0x4ae1e8=_0x568f44;this[_0x4ae1e8(0x3fe)][_0x4ae1e8(0x2ca)]()!==_0x5a98e5&&this[_0x4ae1e8(0x3fe)]['next'](_0x5a98e5);}[_0x568f44(0x31d)](_0x29627b){const _0x2e1187=_0x568f44;var _0x409de4;return this[_0x2e1187(0x33b)]&&((_0x409de4=this['_chartModelService'][_0x2e1187(0x2d0)])==null?void 0x0:_0x409de4['id'])===_0x29627b;}[_0x568f44(0x45c)](_0x122273,_0x163a62){const _0x238de3=_0x568f44;this['_panelRoute$'][_0x238de3(0x3f1)]({'chartId':_0x122273,'route':_0x163a62});}[_0x568f44(0x1c4)](){const _0x9c45d5=_0x568f44;this[_0x9c45d5(0x28f)][_0x9c45d5(0x3f1)](null);}[_0x568f44(0x203)](_0x460ad9){const _0xab5b94=_0x568f44;let _0xb7d69b=this[_0xab5b94(0x3bf)][_0xab5b94(0x2d0)];_0xb7d69b&&this[_0xab5b94(0x40e)]({'chartModelId':_0xb7d69b['id'],'range':_0x460ad9});}[_0x568f44(0x493)](_0x43ef87){const _0x2eec1b=_0x568f44;let _0x4e8d70=this['_chartModelService'][_0x2eec1b(0x2d0)];if(!_0x4e8d70)return;let _0x1f3f04=this[_0x2eec1b(0x383)][_0x2eec1b(0x269)](_0x4e8d70['id']);if(!_0x1f3f04||Array[_0x2eec1b(0x21d)](_0x1f3f04))return;let _0x57fa72={..._0x1f3f04,'isRowDirection':_0x43ef87===_0x10ec2f[_0x2eec1b(0x48b)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x4e8d70['id'],'range':_0x57fa72});}['executeChartUpdateConfig'](_0xc773d8){const _0x33a709=_0x568f44;var _0x28626d;this[_0x33a709(0x42b)][_0x33a709(0x1f7)](_0x58088e['id'],{..._0xc773d8,'unitId':((_0x28626d=this['_univerInstanceService'][_0x33a709(0x3f6)]())==null?void 0x0:_0x28626d['getUnitId']())??''});}[_0x568f44(0x40e)](_0x379a1c){const _0x20e46f=_0x568f44;var _0x4eff31;this[_0x20e46f(0x42b)][_0x20e46f(0x1f7)](_0x4c9a08['id'],{..._0x379a1c,'unitId':((_0x4eff31=this[_0x20e46f(0x42c)][_0x20e46f(0x3f6)]())==null?void 0x0:_0x4eff31[_0x20e46f(0x453)]())??''});}[_0x568f44(0x3d3)](){const _0x486ab3=_0x568f44;this[_0x486ab3(0x3fe)][_0x486ab3(0x1bc)](),this['_panelRoute$'][_0x486ab3(0x1bc)](),super[_0x486ab3(0x3d3)]();}};_i=J([q(0x0,_0x563aa6(_0x813c91)),q(0x1,_0x563aa6(_0x42909b)),q(0x2,_0x5729da),q(0x3,_0x16f441),q(0x4,_0x563aa6(_0x30b2eb))],_i);var vi;const yi={'axis':{..._0x395abf,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x41df45,'heatmap':_0x3fc348,'indicatorLine':_0xbd1eff,'legend':_0x3d9ac2,'lineAndArea':_0x3cb407,'pareto':_0x4373a1,'pie':_0x50edfa,'relation':{..._0x19c60e,'useValueAsSymbolSize':!0x0},'radar':_0x565e78,'series':{..._0x4525c2,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((vi=_0x27bed4[_0x568f44(0x320)])==null?void 0x0:vi[_0x568f44(0x40f)])??!0x1}},'style':_0x2362f8,'titles':_0x188053,'trendline':_0x28cd2c,'waterfallStyle':_0x1059be,'wordCloud':_0x40e7c5},bi=_0x431170=>_0x431170[_0x568f44(0x2cb)](_0x1878f2['UNIVER_SHEET'])[_0x568f44(0x453)](),xi=_0x1c0319=>{const _0xd4a90f=_0x568f44;var _0x5a54f6;return(_0x5a54f6=_0x1c0319['getCurrentUnitOfType'](_0x1878f2[_0xd4a90f(0x352)])[_0xd4a90f(0x3b0)]())==null?void 0x0:_0x5a54f6[_0xd4a90f(0x38b)]();},Si=()=>{const _0x3fb431=_0x568f44;var _0x4b603a;let _0x14b648=_0x4f2768(X),_0x41893d=_0x4f2768(_0x813c91),_0x5bc46f=_0x4f2768(_0x565815),_0x15a402=_0x4f2768(_0x363c1f),_0x1f3e84=_0x470b30(_0x15a402),_0x223dfa=_0x1c5e24(()=>{const _0x334fc8=_0x1779;let _0x40f76b=Fr(Nr['concat'](),_0x1f3e84);return _0x51c3dc(_0x40f76b[_0x334fc8(0x2ab)](_0x273ab6=>({'id':_0x273ab6['id'],'label':_0x5bc46f['t'](_0x334fc8(0x356)+_0x273ab6[_0x334fc8(0x30c)]),'pieSecondaryPlotType':_0x273ab6[_0x334fc8(0x414)],'value':_0x273ab6[_0x334fc8(0x2a0)]})));},[_0x1f3e84,_0x5bc46f]),_0x1f823d=_0x1685e2(_0x41893d[_0x3fb431(0x46a)],_0x41893d[_0x3fb431(0x2d0)]),_0x14b2c5=_0x1685e2(_0x1f823d==null?void 0x0:_0x1f823d[_0x3fb431(0x360)],_0x1f823d==null?void 0x0:_0x1f823d['context']),_0x533187=_0x1685e2(_0x1f823d==null?void 0x0:_0x1f823d[_0x3fb431(0x2f1)],_0x1f823d==null?void 0x0:_0x1f823d[_0x3fb431(0x36f)]),_0x435bc7=_0x1685e2(_0x533187==null?void 0x0:_0x533187[_0x3fb431(0x318)],_0x533187==null?void 0x0:_0x533187[_0x3fb431(0x393)]()),_0x3eeb13=Array[_0x3fb431(0x21d)](_0x435bc7),_0x28b9bc=_0x435bc7&&!_0x3eeb13&&_0x435bc7[_0x3fb431(0x30d)]?_0x10ec2f['Row']:_0x10ec2f[_0x3fb431(0x319)],_0x2e0cf1=_0x3eeb13?(_0x4b603a=_0x435bc7[0x0])==null?void 0x0:_0x4b603a[_0x3fb431(0x338)]:_0x435bc7==null?void 0x0:_0x435bc7[_0x3fb431(0x247)];return _0x48f77f(_0x3fb431(0x32b),{'className':_0x3fb431(0x465),'children':[_0x2f8009(_0x510c9c,{'chartTypeOptions':_0x223dfa,'dataSourceControl':_0x2f8009(Ci,{'dataRange':_0x435bc7,'primaryRange':_0x2e0cf1}),'categoryToggleLabel':_0x5bc46f['t'](_0x3fb431(0x481),_0x28b9bc===_0x10ec2f[_0x3fb431(0x48b)]?_0x28b9bc+'\x20'+(((_0x2e0cf1==null?void 0x0:_0x2e0cf1['range'][_0x3fb431(0x201)])??0x0)+0x1):_0x28b9bc+'\x20'+_0x55d7a0((_0x2e0cf1==null?void 0x0:_0x2e0cf1['range'][_0x3fb431(0x2c8)])??0x0)),'orientationControl':_0x3eeb13?void 0x0:_0x2f8009(_0xa27a39,{'size':_0x3fb431(0x28e),'onClick':()=>_0x14b648[_0x3fb431(0x493)](_0x28b9bc===_0x10ec2f['Row']?_0x10ec2f[_0x3fb431(0x319)]:_0x10ec2f['Row']),'children':_0x5bc46f['t'](_0x3fb431(0x2b5))})}),_0x2f8009(_0x3eedcd,{'checked':(_0x14b2c5==null?void 0x0:_0x14b2c5['plotVisibleOnly'])===!0x1,'disabled':!_0x1f823d,'onChange':_0x3ad1af=>{const _0x2d04a5=_0x3fb431;_0x1f823d&&_0x14b648[_0x2d04a5(0x3e4)]({'chartModelId':_0x1f823d['id'],'context':{'plotVisibleOnly':!_0x3ad1af}});},'children':_0x5bc46f['t'](_0x3fb431(0x47e))})]});};function Ci(_0x51678f){const _0x74b48b=_0x568f44;let {dataRange:_0x461821,primaryRange:_0x150397}=_0x51678f,_0x199fba=_0x4f2768(X),_0x4090bf=_0x4f2768(_0x565815),_0x21f324=_0x4f2768(_0x16f441),_0x5ec765=_0x4f2768(_0x1e8f48),[_0x446a21,_0x176208]=_0x3e5ae0(!0x1),[_0x54f2c2,_0x4d3152]=_0x3e5ae0(!0x1),[_0x2118c2,_0x3e622d]=_0x3e5ae0(),_0x55e752=bi(_0x21f324),_0x2a5489=xi(_0x21f324),_0x80282d=_0x461821?jr(_0x461821,_0x21f324):'',_0xa33b66=_0x540079(_0x80282d),_0x5a3d2e=_0x540079(void 0x0),_0x34a44a=_0x540079(null);_0x2b9eea(()=>{const _0x14a5d4=_0x1779;_0x199fba[_0x14a5d4(0x246)](_0x446a21),_0x5ec765[_0x14a5d4(0x302)](_0x4dd650,_0x446a21);},[_0x5ec765,_0x446a21,_0x199fba]),_0x2b9eea(()=>()=>{const _0xb9dd71=_0x1779;_0x199fba['setRangeSelectMode'](!0x1),_0x5ec765[_0xb9dd71(0x302)](_0x4dd650,!0x1);},[_0x5ec765,_0x199fba]);let _0x10b1ad=_0x56c0bd(_0x2a94a0=>{const _0x57b9e0=_0x1779;var _0x33bdff;if(jr(_0x461821,_0x21f324)===_0x2a94a0)return _0x3e622d(void 0x0),!0x0;let _0x40c83c=_0x2a94a0['split'](_0x41291b[_0x57b9e0(0x3b6)]);if(!_0x2a94a0[_0x57b9e0(0x2e8)]()||_0x40c83c['length']!==0x1||!((_0x33bdff=_0x34a44a[_0x57b9e0(0x23c)])!=null&&_0x33bdff['verify']()))return _0x3e622d(_0x4090bf['t'](_0x57b9e0(0x3c6))),!0x1;let {unitId:_0x188030,sheetName:_0x4d4b40,range:_0x1d24a9}=_0x2380a3(_0x40c83c[0x0]),_0x3b2081=_0x188030||_0x55e752,_0x3a5e9f=_0x21f324[_0x57b9e0(0x20b)](_0x3b2081),_0x582568=(_0x150397==null?void 0x0:_0x150397[_0x57b9e0(0x45f)])===_0x3b2081?_0x150397['subUnitId']:_0x2a5489,_0x3da1d9=_0x4d4b40?_0x3a5e9f==null?void 0x0:_0x3a5e9f[_0x57b9e0(0x3e5)](_0x4d4b40):_0x3a5e9f==null?void 0x0:_0x3a5e9f[_0x57b9e0(0x467)](_0x582568??'');return!_0x3a5e9f||!_0x3da1d9||!_0x3a4aeb(_0x1d24a9,_0x3da1d9)?(_0x3e622d(_0x4090bf['t'](_0x57b9e0(0x3c6))),!0x1):(_0x3e622d(void 0x0),_0x199fba[_0x57b9e0(0x203)]({'rangeInfo':{'range':_0x1d24a9,'unitId':_0x3b2081,'subUnitId':_0x3da1d9[_0x57b9e0(0x38b)]()}}),!0x0);},[_0x461821,_0x4090bf,_0x150397,_0x199fba,_0x2a5489,_0x55e752,_0x21f324]),_0xc6c749=_0x1c5e24(()=>({'keyCodes':[{'keyCode':_0x2c257f[_0x74b48b(0x1cd)],'nativeTextEditorBehavior':_0x27beea['OVERRIDE_NATIVE']}],'handler':_0x457410=>{const _0x31473b=_0x74b48b;_0x457410===_0x2c257f['ENTER']&&_0x10b1ad(_0xa33b66[_0x31473b(0x23c)])&&(_0x5a3d2e['current']=_0xa33b66[_0x31473b(0x23c)]);}}),[_0x10b1ad]);return _0x2f8009(_0x74b48b(0x32b),{'className':_0x74b48b(0x2ed),'children':_0x48f77f('div',{'children':[_0x2f8009(_0x508ec3,{'title':_0x4090bf['t']('sheets-chart-ui.common.dataRange')}),_0x2f8009(_0x1bd946,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x55e752,'subUnitId':_0x2a5489,'initialValue':_0x80282d,'keyboardEventConfig':_0xc6c749,'selectorRef':_0x34a44a,'onChange':(_0x6cfc4f,_0x475f1d)=>{const _0x237246=_0x74b48b;_0xa33b66[_0x237246(0x23c)]=_0x475f1d,_0x54f2c2&&_0x5a3d2e[_0x237246(0x23c)]!==_0x475f1d&&_0x10b1ad(_0x475f1d)&&(_0x5a3d2e[_0x237246(0x23c)]=_0x475f1d);},'onFocusChange':(_0x1856cd,_0x483d3c)=>{const _0x312ab2=_0x74b48b;if(_0x483d3c!==void 0x0&&(_0xa33b66[_0x312ab2(0x23c)]=_0x483d3c),_0x54f2c2||_0x176208(_0x1856cd),_0x1856cd)_0x5a3d2e[_0x312ab2(0x23c)]=_0xa33b66[_0x312ab2(0x23c)];else{let _0x32ac30=_0x5a3d2e[_0x312ab2(0x23c)];_0x5a3d2e[_0x312ab2(0x23c)]=void 0x0,_0x32ac30!==void 0x0&&_0xa33b66[_0x312ab2(0x23c)]!==_0x32ac30&&_0x10b1ad(_0xa33b66['current']);}},'onRangeSelectorDialogVisibleChange':_0x1faa7b=>{_0x4d3152(_0x1faa7b),_0x176208(_0x1faa7b);}}),_0x2118c2?_0x2f8009('div',{'className':_0x74b48b(0x1e1),'children':_0x2118c2}):null]})});}function Z(_0x10e6e4){const _0x47b9ed=_0x568f44;return _0x48f77f(_0x563858,{'id':_0x10e6e4['id'],'children':[_0x2f8009(_0x4a850c,{'children':_0x10e6e4['label']}),_0x2f8009(_0x95b2aa,{'children':_0x10e6e4[_0x47b9ed(0x2a7)]})]});}const wi=_0x1242f6=>{const _0x5c7c1f=_0x568f44;let _0x4280e8=_0x4f2768(_0x565815),_0x3340d6=_0x4f2768(X),_0xfaf41d=_0x4f2768(_0x813c91),_0x525ab7=_0x1685e2(_0xfaf41d[_0x5c7c1f(0x46a)],_0xfaf41d['activeChartModel']),_0xb7f2bb=_0x1685e2(_0x3340d6[_0x5c7c1f(0x1af)],null),_0x167551=_0xb7f2bb&&_0xb7f2bb[_0x5c7c1f(0x43d)]===(_0x525ab7==null?void 0x0:_0x525ab7['id'])?_0xb7f2bb[_0x5c7c1f(0x27e)]:null,_0x430929=_0x231993(),_0x4d9401=_0x1cd3fd(),[_0x4bd659,_0x20fd53]=_0x3e5ae0(null);_0x2b9eea(()=>{const _0x2a868f=_0x5c7c1f;_0x167551!=null&&_0x167551['section']&&_0x20fd53(_0x167551[_0x2a868f(0x48c)]);},[_0x167551]);let _0x4c9eff=_0x40d255[_0x5c7c1f(0x3e9)](_0x430929,_0x18d4e2[_0x5c7c1f(0x308)]),_0x428d19=_0x430929===_0x18d4e2[_0x5c7c1f(0x36e)],_0x34a523=_0x430929===_0x18d4e2[_0x5c7c1f(0x2c2)],_0x4d69e4=_0x430929===_0x18d4e2[_0x5c7c1f(0x23f)],_0x79776b=_0x40d255[_0x5c7c1f(0x3e9)](_0x430929,_0x18d4e2[_0x5c7c1f(0x3b4)]),_0x5c8844=_0x430929===_0x18d4e2['Relation'],_0x337e5c=_0x430929===_0x18d4e2[_0x5c7c1f(0x2e3)],_0x4e31bc=_0x430929===_0x18d4e2['Pareto'],_0xfbf927=_0x430929===_0x18d4e2[_0x5c7c1f(0x48d)],_0x24d6ce,_0x2f09a0;switch(_0x430929){case _0x18d4e2[_0x5c7c1f(0x27a)]:_0x24d6ce=_0x1781f5['Candlestick'],_0x2f09a0=_0x4280e8['t']('sheets-chart-ui.section.candlestick');break;case _0x18d4e2[_0x5c7c1f(0x49a)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x49a)],_0x2f09a0=_0x4280e8['t']('sheets-chart-ui.section.histogram');break;case _0x18d4e2[_0x5c7c1f(0x406)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x406)],_0x2f09a0=_0x4280e8['t'](_0x5c7c1f(0x34a));break;case _0x18d4e2['Sunburst']:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x1d0)],_0x2f09a0=_0x4280e8['t'](_0x5c7c1f(0x47f));break;case _0x18d4e2[_0x5c7c1f(0x27c)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x27c)],_0x2f09a0=_0x4280e8['t']('sheets-chart-ui.section.gauge');break;case _0x18d4e2[_0x5c7c1f(0x218)]:_0x24d6ce=_0x1781f5[_0x5c7c1f(0x218)],_0x2f09a0=_0x4280e8['t'](_0x5c7c1f(0x427));}let _0x4376f8=_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x297)])&&!_0x79776b&&!_0x4e31bc;return _0x48f77f(_0x160cf1,{'value':_0x4bd659,'onChange':_0x20fd53,'children':[_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x327)],'label':_0x4280e8['t'](_0x5c7c1f(0x409)),'children':_0x2f8009(_0x47ca4f,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['style']})}),_0x2f8009(Z,{'id':_0x1781f5['ChartAndAxisTitles'],'label':_0x4280e8['t'](_0x5c7c1f(0x235)),'children':_0x2f8009(_0x5aecd9,{'commitMode':_0x5c7c1f(0x2aa),'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x41f)],'selectedTitleKey':_0x167551==null?void 0x0:_0x167551[_0x5c7c1f(0x494)]})}),_0x2f8009(_0x5ced47,{'section':_0x5c7c1f(0x3ff)}),_0x4376f8&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x1dc)],'label':_0x4280e8['t']('sheets-chart-ui.common.series'),'children':_0x2f8009(_0x174135,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x1ff)],'NumberFormatField':_0x34dedf,'selectedSeriesId':_0x167551==null?void 0x0:_0x167551[_0x5c7c1f(0x33a)]})}),_0x337e5c&&_0x2f8009(Z,{'id':_0x1781f5['WaterfallSeries'],'label':_0x4280e8['t'](_0x5c7c1f(0x1ea)),'children':_0x2f8009(_0x2938a9,{'defaultValues':_0x1242f6['defaultValues'][_0x5c7c1f(0x20c)],'getDefaultBucketName':({seriesName:_0x1f9279,target:_0x1d0330})=>_0x1d0330===_0x117c24[_0x5c7c1f(0x3e2)]?_0x4280e8['t'](_0x5c7c1f(0x424)):_0x1f9279?_0x1f9279+'-('+_0x4280e8['t'](_0x1d0330===_0x117c24[_0x5c7c1f(0x2c1)]?_0x5c7c1f(0x396):'sheets-chart-ui.waterfall.negative')+')':'','NumberFormatField':_0x34dedf,'selectedSeriesId':_0x167551==null?void 0x0:_0x167551[_0x5c7c1f(0x33a)]})}),_0x4e31bc&&_0x48f77f(_0x36736c,{'children':[_0x2f8009(Z,{'id':_0x1781f5['ParetoBarSeries'],'label':_0x4280e8['t'](_0x5c7c1f(0x3e8)),'children':_0x2f8009(_0x3f4d48,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x433)],'NumberFormatField':_0x34dedf,'showDataPointEditor':!0x0,'target':_0x5c7c1f(0x280)})}),_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2b1)],'label':_0x4280e8['t'](_0x5c7c1f(0x416)),'children':_0x2f8009(_0x3f4d48,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x433)],'NumberFormatField':_0x34dedf,'showDataPointEditor':!0x1,'target':_0x5c7c1f(0x2ce)})})]}),_0x4c9eff&&_0x2f8009(Z,{'id':_0x1781f5['PieStyle'],'label':_0x4280e8['t'](_0x5c7c1f(0x49b)),'children':_0x2f8009(_0x59d704,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x365)],'NumberFormatField':_0x34dedf})}),_0x34a523&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2c2)],'label':_0x4280e8['t'](_0x5c7c1f(0x442)),'children':_0x2f8009(_0x4b785,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x1de)]})}),_0x428d19&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x36e)],'label':_0x4280e8['t'](_0x5c7c1f(0x24d)),'children':_0x2f8009(_0x3f9639,{'defaultValues':_0x1242f6['defaultValues'][_0x5c7c1f(0x3e0)]})}),_0x4d69e4&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x23f)],'label':_0x4280e8['t'](_0x5c7c1f(0x255)),'children':_0x2f8009(_0x3cf98c,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['funnel'],'gapControl':_0x5c7c1f(0x430)})}),_0xfbf927&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x48d)],'label':_0x4280e8['t'](_0x5c7c1f(0x22a)),'children':_0x2f8009(_0x13f9c4,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x3c0)]})}),_0x5c8844&&_0x2f8009(Z,{'id':_0x1781f5['Relation'],'label':_0x4280e8['t'](_0x5c7c1f(0x215)),'children':_0x2f8009(_0x5e8dd6,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x434)]})}),_0x4f08c2(_0x430929)&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x1bd)],'label':_0x4280e8['t'](_0x40d255[_0x5c7c1f(0x3e9)](_0x430929,_0x18d4e2[_0x5c7c1f(0x1b4)])?'sheets-chart-ui.chartTypes.area':_0x5c7c1f(0x373)),'children':_0x2f8009(_0x821aeb,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['lineAndArea'],'lineStyleControl':'segmented'})}),_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x2dc)])&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2dc)],'label':_0x4280e8['t'](_0x5c7c1f(0x3e6)),'children':_0x2f8009(_0x15915d,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['legend']})}),_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x3c2)])&&_0x48f77f(_0x36736c,{'children':[_0x2f8009(Z,{'id':_0x1781f5['HorizontalAxis'],'label':_0x4280e8['t'](_0x5c7c1f(0x40c)),'children':_0x2f8009(_0x3bfe6d,{'axis':'x','defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['axis'],'NumberFormatField':_0x34dedf})}),_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x1fb)],'label':_0x4280e8['t']('sheets-chart-ui.common.verticalAxis'),'children':_0x2f8009(_0x3bfe6d,{'axis':'y','defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x2e1)],'NumberFormatField':_0x34dedf})}),_0x2f8009(_0x5ced47,{'section':'depthAxis'}),_0x4d9401&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x2bd)],'label':_0x4280e8['t'](_0x5c7c1f(0x3d1)),'children':_0x2f8009(_0x3bfe6d,{'axis':_0x5c7c1f(0x422),'defaultValues':_0x1242f6[_0x5c7c1f(0x303)]['axis'],'NumberFormatField':_0x34dedf})}),_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x368)],'label':_0x4280e8['t'](_0x5c7c1f(0x38c)),'children':_0x2f8009(_0x40c39d,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x2e1)]})})]}),_0x271148(_0x430929,_0x5d33a1[_0x5c7c1f(0x476)])&&_0x2f8009(Z,{'id':_0x1781f5['IndicatorLine'],'label':_0x4280e8['t']('sheets-chart-ui.section.indicatorLine'),'children':_0x2f8009(_0x41c24a,{'defaultValues':_0x1242f6['defaultValues']['indicatorLine']})}),_0x1556b5(_0x430929)&&_0x2f8009(Z,{'id':_0x1781f5[_0x5c7c1f(0x437)],'label':_0x4280e8['t']('sheets-chart-ui.common.trendline'),'children':_0x2f8009(_0x5c9d76,{'defaultValues':_0x1242f6[_0x5c7c1f(0x303)][_0x5c7c1f(0x2da)]})}),_0x24d6ce&&_0x2f09a0&&_0x2f8009(Z,{'id':_0x24d6ce,'label':_0x2f09a0,'children':_0x2f8009(_0x11bae9,{})})]});};function Ti(_0x80190f){const _0x37d1a9=_0x568f44;let {className:_0x3d228d}=_0x80190f,[_0x3ddc9b,_0x2161ba]=_0x3e5ae0(_0x5f40c4['Data']),_0x1a3b5f=_0x4f2768(_0x363c1f),_0x1c0936=_0x4f2768(_0x565815),_0x5dd4c0=_0x4f2768(X),_0x26c381=_0x4f2768(_0x813c91),_0x47ebb2=_0x4f2768(_0x42909b),_0x30ed70=_0x1685e2(_0x26c381[_0x37d1a9(0x46a)],_0x26c381[_0x37d1a9(0x2d0)]),_0x3bfd44=_0x1685e2(_0x5dd4c0[_0x37d1a9(0x1af)],null),_0x2b4296=_0x1c5e24(()=>{const _0x1611fd=_0x37d1a9;var _0x3c5f65;if(!_0x30ed70)return null;let _0x2c0eb0=_0x47ebb2['getChartSourceSpec'](_0x30ed70['id']);if(!_0x2c0eb0)return null;let _0x137225=Array[_0x1611fd(0x21d)](_0x2c0eb0)?(_0x3c5f65=_0x2c0eb0[0x0])==null?void 0x0:_0x3c5f65[_0x1611fd(0x338)]:_0x2c0eb0[_0x1611fd(0x247)];return _0x137225?new _0x31f947(_0x30ed70,new _0x212bb6({'unitId':_0x137225[_0x1611fd(0x45f)],'subUnitId':_0x137225['subUnitId'],'chartId':_0x30ed70['id'],'injector':_0x1a3b5f})):null;},[_0x30ed70,_0x1a3b5f,_0x47ebb2]);if(_0x2b9eea(()=>{const _0x5e633d=_0x37d1a9;var _0x4638d4,_0x544a9b;_0x30ed70&&(_0x3bfd44==null?void 0x0:_0x3bfd44[_0x5e633d(0x43d)])===_0x30ed70['id']&&(((_0x4638d4=_0x3bfd44[_0x5e633d(0x27e)])==null?void 0x0:_0x4638d4[_0x5e633d(0x408)])===_0x5f40c4[_0x5e633d(0x2d9)]&&_0x2161ba(_0x5f40c4[_0x5e633d(0x2d9)]),((_0x544a9b=_0x3bfd44[_0x5e633d(0x27e)])==null?void 0x0:_0x544a9b['tab'])===_0x5f40c4[_0x5e633d(0x1c9)]&&_0x2161ba(_0x5f40c4[_0x5e633d(0x1c9)]));},[_0x30ed70,_0x3bfd44]),!_0x2b4296)return null;let _0x2abd49=_0x2f8009('div',{'className':_0x37d1a9(0x24f)+(_0x3ddc9b===_0x5f40c4[_0x37d1a9(0x2d9)]?_0x37d1a9(0x1f9):_0x37d1a9(0x44a))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3d228d??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x2f8009(_0x2e879b,{'ariaLabel':_0x1c0936['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x3ddc9b,'onTabChange':_0x2161ba,'tabListClassName':_0x37d1a9(0x3bd),'panelClassName':_0x3ddc9b===_0x5f40c4['Style']?_0x37d1a9(0x498):void 0x0,'tabs':[{'id':_0x5f40c4[_0x37d1a9(0x1c9)],'panelId':Di,'title':_0x1c0936['t'](_0x37d1a9(0x1ef)),'content':_0x2f8009(Si,{})},{'id':_0x5f40c4[_0x37d1a9(0x2d9)],'panelId':Oi,'title':_0x1c0936['t'](_0x37d1a9(0x264)),'content':_0x2f8009(wi,{'defaultValues':yi})}]})});return _0x2f8009(_0x45cd6c,{'chartUIService':_0x5dd4c0,'hostAdapter':_0x2b4296,'children':_0x2abd49});}const Ei=_0x568f44(0x216),Di='sheet-chart-setup-panel',Oi=_0x568f44(0x25e);function ki(_0x551554){return _0x551554['length']===0x1&&Ai(_0x551554[0x0]);}function Ai(_0x59783b){const _0x47f5fd=_0x568f44;return(_0x59783b==null?void 0x0:_0x59783b['drawingType'])===_0x30e73a[_0x47f5fd(0x312)]&&!_0x59783b[_0x47f5fd(0x43f)];}let ji=class extends _0x32a96b{constructor(_0x39479f,_0x31fc5e,_0x4cd9df,_0x40aeff,_0x5199ac,_0x66d32b,_0x1c8b62,_0x5c0b1a,_0x1cc57b,_0x2a2104,_0x454a9b,_0x343477,_0x3f456e,_0x2dcf8f,_0x530688){const _0x6df317=_0x568f44;var _0x46fc10;super(),this['_drawingManagerService']=_0x39479f,this['_univerInstanceService']=_0x31fc5e,this['_chartModelService']=_0x4cd9df,this[_0x6df317(0x383)]=_0x40aeff,this[_0x6df317(0x36d)]=_0x5199ac,this['_sheetDrawingHitTestService']=_0x66d32b,this['_sidebarService']=_0x1c8b62,this[_0x6df317(0x3ba)]=_0x5c0b1a,this['_sheetCanvasFloatDomManagerService']=_0x1cc57b,this['_sheetCanvasPopManagerService']=_0x2a2104,this[_0x6df317(0x42b)]=_0x454a9b,this['_sheetsChartUIService']=_0x343477,this[_0x6df317(0x3ec)]=_0x3f456e,this[_0x6df317(0x244)]=_0x2dcf8f,G(this,'_sidebarDisposable',null),G(this,_0x6df317(0x2d3),void 0x0),this[_0x6df317(0x2d3)]=((_0x46fc10=_0x530688['getConfig']('sheets-chart-ui.config'))==null?void 0x0:_0x46fc10['enableChartElementFloatMenu'])===!0x0,this['_initMenus'](),this[_0x6df317(0x349)](this[_0x6df317(0x42c)][_0x6df317(0x351)](_0x1878f2[_0x6df317(0x352)])[_0x6df317(0x21f)](_0x4880ee=>{const _0x4a006c=_0x6df317;var _0x1eea51;_0x4880ee||(_0x1eea51=this[_0x4a006c(0x21c)])==null||_0x1eea51[_0x4a006c(0x3d3)]();})),this[_0x6df317(0x349)](_0x2d1683(this['_sheetDrawingHitTestService']['onDoubleClick$'][_0x6df317(0x21f)](async({drawing:_0x172179})=>{await this['_handleDrawingDoubleClick'](_0x172179);})));}[_0x568f44(0x3c5)](){const _0x2ee5a=_0x568f44;this[_0x2ee5a(0x21c)]=this[_0x2ee5a(0x2a9)][_0x2ee5a(0x245)]({'id':Ei,'header':{'title':this[_0x2ee5a(0x244)]['t'](_0x2ee5a(0x36a))},'width':0x154,'children':{'label':Ei},'onClose':()=>{const _0xead910=_0x2ee5a;this['_sidebarDisposable']=null,this[_0xead910(0x35d)](),this[_0xead910(0x3bf)][_0xead910(0x2d0)]&&this[_0xead910(0x3bf)]['setActiveChartModel'](null),this[_0xead910(0x42f)][_0xead910(0x315)](null),this['_contextService'][_0xead910(0x302)](_0x4ec8e1,!0x1);}});}[_0x568f44(0x328)](){const _0x5916fa=_0x568f44;let _0x5f8a35=this[_0x5916fa(0x21c)];this['_sidebarDisposable']=null,this[_0x5916fa(0x35d)](),this[_0x5916fa(0x3bf)][_0x5916fa(0x2d0)]&&this[_0x5916fa(0x3bf)]['setActiveChartModel'](null),_0x5f8a35==null||_0x5f8a35['dispose']();}['initPanel'](){const _0x2256a0=_0x568f44;let _0x25a061=this[_0x2256a0(0x42c)][_0x2256a0(0x2cb)](_0x1878f2['UNIVER_SHEET']);this[_0x2256a0(0x349)](this['_sidebarService'][_0x2256a0(0x3b5)][_0x2256a0(0x21f)](_0x4d27c8=>{const _0x382a11=_0x2256a0;_0x4d27c8['id']===_0x382a11(0x216)&&(_0x4d27c8[_0x382a11(0x460)]||this[_0x382a11(0x2a9)][_0x382a11(0x3b5)][_0x382a11(0x3f1)]({'visible':!0x1}));})),this[_0x2256a0(0x349)](_0x4d9f86([this[_0x2256a0(0x3bf)]['activeChartModel$'],this[_0x2256a0(0x2a1)]['chartEditorOpen$']])[_0x2256a0(0x277)](_0x448995(([_0x332b89,_0xb0439e])=>_0xb0439e?(_0x332b89==null?void 0x0:_0x332b89['id'])??null:null),_0x9fa683(),_0x489f7e(null),_0x4ed551())[_0x2256a0(0x21f)](([_0x4dcc49,_0x5384d5])=>{const _0x262d01=_0x2256a0;this[_0x262d01(0x272)](_0x4dcc49,_0x5384d5);})),this[_0x2256a0(0x349)](this[_0x2256a0(0x3bf)][_0x2256a0(0x46a)][_0x2256a0(0x21f)](_0x3e3486=>{!_0x3e3486&&this['_sidebarDisposable']&&this['hidePanel']();})),this[_0x2256a0(0x349)](this[_0x2256a0(0x42b)][_0x2256a0(0x256)](_0x1540d3=>{const _0x4d44f0=_0x2256a0;if(_0x1540d3['id']===U['id']){let _0xcda278=_0x1540d3['params'];if(!Ai(this[_0x4d44f0(0x42f)]['getDrawingByParam']({'unitId':_0xcda278[_0x4d44f0(0x45f)],'subUnitId':_0xcda278[_0x4d44f0(0x206)],'drawingId':_0xcda278['drawingId']})))return;this[_0x4d44f0(0x284)](_0xcda278[_0x4d44f0(0x2e0)],_0xcda278['route']);}if(_0x1540d3['id']===wr['id']&&this[_0x4d44f0(0x328)](),_0x1540d3['id']===_0x2f36b6['id']){var _0x175db6;_0x1540d3['params'][_0x4d44f0(0x43d)]===((_0x175db6=this[_0x4d44f0(0x3bf)][_0x4d44f0(0x2d0)])==null?void 0x0:_0x175db6['id'])&&this[_0x4d44f0(0x328)](),this[_0x4d44f0(0x3ec)][_0x4d44f0(0x3cd)](_0x4ec8e1)&&(this[_0x4d44f0(0x3ec)]['setContextValue'](_0x4ec8e1,!0x1),this[_0x4d44f0(0x42f)]['focusDrawing'](null));}})),this['disposeWithMe'](this[_0x2256a0(0x40b)][_0x2256a0(0x1c7)][_0x2256a0(0x21f)](({id:_0x2e021d})=>{const _0x844b2=_0x2256a0;this[_0x844b2(0x2a1)][_0x844b2(0x31d)](_0x2e021d)&&this[_0x844b2(0x328)]();})),this['disposeWithMe'](this[_0x2256a0(0x40b)][_0x2256a0(0x2f4)][_0x2256a0(0x21f)](({id:_0x4cb55e})=>{const _0x2f553f=_0x2256a0;this[_0x2f553f(0x2a1)][_0x2f553f(0x31d)](_0x4cb55e)&&(this[_0x2f553f(0x2a1)][_0x2f553f(0x1c4)](),this['_chartRenderService'][_0x2f553f(0x219)](_0x4cb55e,!0x1),this[_0x2f553f(0x3f3)](_0x4cb55e)&&this[_0x2f553f(0x36d)][_0x2f553f(0x219)](_0x4cb55e,!0x0));})),this['disposeWithMe'](this[_0x2256a0(0x42f)][_0x2256a0(0x1e8)]['subscribe'](_0x50d100=>{const _0x35d933=_0x2256a0;let _0x1e6aff=_0x50d100[0x0];if(!this['_sheetsChartUIService'][_0x35d933(0x436)]){if(ki(_0x50d100)){var _0x50b446;let _0x61f410=this['_chartModelService'][_0x35d933(0x250)](_0x1e6aff[_0x35d933(0x2e0)]);_0x61f410&&this[_0x35d933(0x2d8)](_0x61f410['id'])&&((_0x50b446=this[_0x35d933(0x3bf)]['activeChartModel'])==null?void 0x0:_0x50b446['id'])!==_0x61f410['id']&&this[_0x35d933(0x3bf)]['setActiveChartModel'](_0x61f410);}else this[_0x35d933(0x3bf)]['activeChartModel']&&this[_0x35d933(0x3bf)]['setActiveChartModel'](null),!_0x1e6aff&&!this[_0x35d933(0x2a1)][_0x35d933(0x436)]&&this[_0x35d933(0x328)]();}})),_0x25a061&&(this[_0x2256a0(0x349)](_0x25a061[_0x2256a0(0x496)][_0x2256a0(0x21f)](()=>{const _0x17bf9c=_0x2256a0;this[_0x17bf9c(0x328)]();})),this[_0x2256a0(0x349)](_0x25a061['activeSheet$'][_0x2256a0(0x21f)](()=>{const _0x3406aa=_0x2256a0;this[_0x3406aa(0x328)]();})));}async['_handleDrawingDoubleClick'](_0x3d0cbd){const _0x1a6a64=_0x568f44;this[_0x1a6a64(0x2a1)][_0x1a6a64(0x33b)]||Ai(_0x3d0cbd)&&this[_0x1a6a64(0x2d8)](_0x3d0cbd['drawingId'])&&await this['_openEditPanelByDoubleClick'](_0x3d0cbd['unitId'],_0x3d0cbd[_0x1a6a64(0x206)],_0x3d0cbd['drawingId']);}async[_0x568f44(0x41c)](_0x1de6e0,_0x7897a4,_0x512dc2){const _0x3fcb56=_0x568f44;this[_0x3fcb56(0x3bf)][_0x3fcb56(0x250)](_0x512dc2)&&this[_0x3fcb56(0x2d8)](_0x512dc2)&&await this['_commandService']['executeCommand'](U['id'],{'unitId':_0x1de6e0,'subUnitId':_0x7897a4,'drawingId':_0x512dc2});}[_0x568f44(0x284)](_0x25d8a8,_0x269acb){const _0xe18d0a=_0x568f44;let _0x592241=this[_0xe18d0a(0x3bf)]['getChartModel'](_0x25d8a8);_0x592241&&this[_0xe18d0a(0x2d8)](_0x25d8a8)&&(this[_0xe18d0a(0x3bf)][_0xe18d0a(0x40d)](_0x592241),this[_0xe18d0a(0x3c5)](),this[_0xe18d0a(0x431)](_0x25d8a8,_0x269acb??null));}[_0x568f44(0x431)](_0x4ca463,_0x3a1e26){const _0x455fbb=_0x568f44;this['_sheetsChartUIService'][_0x455fbb(0x36c)](!0x0),this[_0x455fbb(0x2a1)][_0x455fbb(0x45c)](_0x4ca463,_0x3a1e26);}['_deactivateEditPanelState'](){const _0x4d6054=_0x568f44;this[_0x4d6054(0x2a1)][_0x4d6054(0x36c)](!0x1);}[_0x568f44(0x272)](_0x16d06a,_0x4be5e3){const _0x2a46ee=_0x568f44;_0x16d06a!==_0x4be5e3&&(_0x16d06a&&this[_0x2a46ee(0x36d)]['setElementEditMode'](_0x16d06a,!0x1),this[_0x2a46ee(0x2a1)][_0x2a46ee(0x1c4)](),_0x4be5e3&&(this['_sheetsChartUIService'][_0x2a46ee(0x45c)](_0x4be5e3,null),this['_chartRenderService'][_0x2a46ee(0x219)](_0x4be5e3,this[_0x2a46ee(0x3f3)](_0x4be5e3))));}[_0x568f44(0x309)](){const _0x303700=_0x568f44;this[_0x303700(0x3ba)][_0x303700(0x3ed)](Hr),this[_0x303700(0x48e)][_0x303700(0x1d7)](_0x30e73a[_0x303700(0x312)],this[_0x303700(0x2d4)][_0x303700(0x398)](this));}['_shouldEnableChartElementEdit'](_0x122878){const _0x11ab3c=_0x568f44;let _0x1301fc=this['_chartModelService'][_0x11ab3c(0x250)](_0x122878);return!this['_isChartElementEditEnabled']||!_0x1301fc||!this[_0x11ab3c(0x2d8)](_0x122878)?!0x1:Wr(_0x1301fc[_0x11ab3c(0x443)]);}[_0x568f44(0x2d4)](_0x371046,_0x3be012,_0xf2c8bf,_0x649331){const _0x53949f=_0x568f44;if(!this[_0x53949f(0x3bf)][_0x53949f(0x250)](_0xf2c8bf))return[];let _0x89c0cf=[{'label':this[_0x53949f(0x244)]['t'](_0x53949f(0x3c9)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x371046,'subUnitId':_0x3be012,'drawingId':_0xf2c8bf},'disable':_0x649331!==_0x30e73a[_0x53949f(0x312)]}];return this[_0x53949f(0x2d8)](_0xf2c8bf)?[..._0x89c0cf,{'label':this[_0x53949f(0x244)]['t'](_0x53949f(0x445)),'index':0x1,'commandId':_0x77c0fa['id'],'commandParams':{'unitId':_0x371046,'drawings':[{'unitId':_0x371046,'subUnitId':_0x3be012,'drawingId':_0xf2c8bf,'drawingType':_0x649331}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x53949f(0x281)),'index':0x2,'commandId':wr['id'],'commandParams':{'unitId':_0x371046,'subUnitId':_0x3be012,'drawingId':_0xf2c8bf},'disable':!0x1}]:_0x89c0cf;}[_0x568f44(0x2d8)](_0x54ca6c){return this['_sheetsChartService']['getChartSourceSpec'](_0x54ca6c)!==void 0x0;}};ji=J([q(0x0,_0x1506f9),q(0x1,_0x16f441),q(0x2,_0x563aa6(_0x813c91)),q(0x3,_0x563aa6(_0x42909b)),q(0x4,_0x563aa6(Y)),q(0x5,_0x563aa6(_0x511ac0)),q(0x6,_0x563aa6(_0x5ccc92)),q(0x7,_0x4e7db),q(0x8,_0x563aa6(_0x3a2ef5)),q(0x9,_0x563aa6(_0x5608a1)),q(0xa,_0x5729da),q(0xb,X),q(0xc,_0x1e8f48),q(0xd,_0x563aa6(_0x565815)),q(0xe,_0x4fc0b3)],ji);var Mi=_0x568f44(0x2ad),Ni=_0x568f44(0x497);let Pi=class extends _0x32a96b{constructor(_0x4f57ff,_0x43c277){const _0x387138=_0x568f44;super(),this[_0x387138(0x287)]=_0x4f57ff,this[_0x387138(0x3bf)]=_0x43c277,this[_0x387138(0x1da)]();}[_0x568f44(0x1da)](){const _0x256a64=_0x568f44;this[_0x256a64(0x349)](this[_0x256a64(0x287)][_0x256a64(0x276)][_0x256a64(0x21f)](_0x90d1ab=>{const _0x346265=_0x256a64;this[_0x346265(0x3bf)][_0x346265(0x2a3)](_0x90d1ab);}));}};Pi=J([q(0x0,pi),q(0x1,_0x563aa6(_0x813c91))],Pi);let Fi=class extends _0x32a96b{constructor(_0x2ec13c,_0x432c4f,_0x4ea2d7,_0x1df49d,_0x40dcad,_0x9bfb7a){const _0x433af6=_0x568f44;super(),this[_0x433af6(0x3bf)]=_0x2ec13c,this[_0x433af6(0x36d)]=_0x432c4f,this[_0x433af6(0x244)]=_0x4ea2d7,this[_0x433af6(0x270)]=_0x1df49d,this[_0x433af6(0x42b)]=_0x40dcad,this[_0x433af6(0x46d)]=_0x9bfb7a,G(this,'_pendingMutationConfigRenders',new Map()),G(this,_0x433af6(0x239),new Set()),this[_0x433af6(0x1da)](),this[_0x433af6(0x3d6)](),this[_0x433af6(0x301)]();}['_initPrinting'](){const _0x5e13e2=_0x568f44;this[_0x5e13e2(0x349)](this[_0x5e13e2(0x46d)][_0x5e13e2(0x43a)][_0x5e13e2(0x210)](this[_0x5e13e2(0x46d)][_0x5e13e2(0x43a)][_0x5e13e2(0x222)]()[_0x5e13e2(0x348)],{'handler':(_0x3732b5,_0x177f97,_0x163584)=>{const _0x3de501=_0x5e13e2;let _0x46543a=this[_0x3de501(0x36d)][_0x3de501(0x479)](_0x177f97[_0x3de501(0x45f)],_0x177f97[_0x3de501(0x206)],_0x177f97[_0x3de501(0x472)]);return _0x177f97['resourceCollector']['add'](_0x46543a),_0x163584(_0x3732b5);}}));}[_0x568f44(0x1da)](){const _0x14c69d=_0x568f44;this[_0x14c69d(0x349)](this['_chartModelService'][_0x14c69d(0x452)][_0x14c69d(0x21f)](_0x28ef28=>{const _0x1da7f5=_0x14c69d;if(_0x28ef28){let _0x3f2f5b=new _0x3b9cf9();_0x3f2f5b[_0x1da7f5(0x371)](_0x28ef28[_0x1da7f5(0x2f1)][_0x1da7f5(0x277)](_0xce7639(_0x5458a9=>_0x5458a9[_0x1da7f5(0x3af)][_0x1da7f5(0x277)](_0x464565(0x1))))['subscribe'](()=>{const _0xc03f4e=_0x1da7f5;this['_pendingDataUpdateChartIds'][_0xc03f4e(0x371)](_0x28ef28['id']);})),_0x3f2f5b[_0x1da7f5(0x371)](_0x28ef28[_0x1da7f5(0x2c9)][_0x1da7f5(0x277)](_0x55b45b(_0x28ef28[_0x1da7f5(0x3ca)]),_0x55b45b(this[_0x1da7f5(0x244)]['direction$']),_0x3670fa(0x64))['subscribe'](([[_0x540784,_0xacee99],_0x34cd9b])=>{const _0xa1419e=_0x1da7f5;var _0xe21e8f;if(!_0x540784)return;(_0xe21e8f=_0x540784[_0xa1419e(0x3de)])==null||_0xe21e8f[_0xa1419e(0x47c)]['forEach']((_0x1a5b6a,_0x51abe5)=>{_0x1a5b6a['label']||=this['_localeService']['t']('sheets-chart-ui.common.category')+'\x20'+(_0x51abe5+0x1);}),_0x540784[_0xa1419e(0x1ff)][_0xa1419e(0x3ac)]((_0x1dacd7,_0x4338b5)=>{const _0x1c1fc1=_0xa1419e;_0x1dacd7[_0x1c1fc1(0x3ee)]||=this['_localeService']['t'](_0x1c1fc1(0x2a8))+'\x20'+(_0x4338b5+0x1);});let _0x271ad2=this[_0xa1419e(0x36d)]['createRuntimeChartStyle'](_0x28ef28,_0x34cd9b),_0x4285e5=this[_0xa1419e(0x239)][_0xa1419e(0x2e5)](_0x28ef28['id']);this[_0xa1419e(0x36d)][_0xa1419e(0x311)](_0x28ef28['id'],_0x540784,_0x271ad2,{'animateDataUpdate':_0x4285e5});})),_0x28ef28[_0x1da7f5(0x474)](()=>{const _0xffd705=_0x1da7f5;this['_pendingDataUpdateChartIds'][_0xffd705(0x2e5)](_0x28ef28['id']),_0x3f2f5b[_0xffd705(0x3d3)]();});}}));}[_0x568f44(0x3d6)](){const _0x18ed8c=_0x568f44;this['disposeWithMe'](this[_0x18ed8c(0x42b)][_0x18ed8c(0x256)](_0x53b1d0=>{const _0x1b3eab=_0x18ed8c;if(_0x53b1d0['id']!==_0x2d7535['id'])return;let _0x3f59ed=_0x53b1d0[_0x1b3eab(0x337)];_0x3f59ed!=null&&_0x3f59ed[_0x1b3eab(0x1db)]&&Promise[_0x1b3eab(0x369)]()['then'](()=>this[_0x1b3eab(0x41d)](_0x3f59ed));}));}[_0x568f44(0x41d)](_0x4384e7){const _0x12265e=_0x568f44;let _0x5afc27=this['_chartModelService']['getChartModel'](_0x4384e7['chartModelId']);if(!_0x5afc27||_0x5afc27[_0x12265e(0x443)]!==_0x18d4e2['WordCloud'])return;let _0x3241c3=_0x5afc27['config'];_0x3241c3?this['_renderChartModel'](_0x5afc27,_0x3241c3):this[_0x12265e(0x1ed)](_0x5afc27);}[_0x568f44(0x1ed)](_0x2fe19d){const _0x5561dc=_0x568f44;if(this[_0x5561dc(0x237)]['get'](_0x2fe19d['id']))return;let _0x48aae2=_0x2fe19d[_0x5561dc(0x2c9)][_0x5561dc(0x277)](_0x463ec2(_0x4000bd=>_0x4000bd!=null),_0x421ce1(0x1))[_0x5561dc(0x21f)](_0xb042c6=>{const _0x28610f=_0x5561dc;this[_0x28610f(0x237)][_0x28610f(0x2e5)](_0x2fe19d['id']),this[_0x28610f(0x3a3)](_0x2fe19d,_0xb042c6);});this[_0x5561dc(0x237)]['set'](_0x2fe19d['id'],_0x48aae2),_0x2fe19d['onDispose'](()=>{const _0x23c920=_0x5561dc;_0x48aae2['unsubscribe'](),this[_0x23c920(0x237)][_0x23c920(0x2e5)](_0x2fe19d['id']);});}[_0x568f44(0x3a3)](_0xcd2a2b,_0x205df1){const _0x40e166=_0x568f44;let _0x401804=this[_0x40e166(0x36d)][_0x40e166(0x1b9)](_0xcd2a2b,this['_localeService']['getDirection']());this[_0x40e166(0x36d)][_0x40e166(0x311)](_0xcd2a2b['id'],_0x205df1,_0x401804);}};Fi=J([q(0x0,_0x563aa6(_0x813c91)),q(0x1,_0x563aa6(Y)),q(0x2,_0x563aa6(_0x565815)),q(0x3,X),q(0x4,_0x5729da),q(0x5,_0x563aa6(_0x280361))],Fi);function Ii(_0x4748c8,_0xb5a898){const _0x1f1359=_0x568f44;return _0x4748c8[_0x1f1359(0x45f)]!==_0xb5a898[_0x1f1359(0x45f)]||_0x4748c8['subUnitId']!==_0xb5a898['sourceSubUnitId']?_0x4748c8:{..._0x4748c8,'subUnitId':_0xb5a898[_0x1f1359(0x32c)]};}function Li(_0x456989,_0x21983b){const _0x48cdd7=_0x568f44;return(_0x456989==null?void 0x0:_0x456989['type'])===_0xe5b562[_0x48cdd7(0x2f0)]?{..._0x456989,'source':Ii(_0x456989[_0x48cdd7(0x1ee)],_0x21983b)}:_0x456989;}function Ri(_0x51ff65,_0xb39c49){const _0x246b43=_0x568f44;let {rangeInfo:_0x11eb4b}=_0x51ff65;return Array['isArray'](_0x11eb4b)?{..._0x51ff65,'rangeInfo':_0x11eb4b[_0x246b43(0x2ab)](_0x979cbf=>({..._0x979cbf,..._0x979cbf[_0x246b43(0x220)]?{'header':Li(_0x979cbf['header'],_0xb39c49)}:{},'range':Ii(_0x979cbf['range'],_0xb39c49)}))}:{..._0x51ff65,'rangeInfo':{..._0x11eb4b,..._0x11eb4b[_0x246b43(0x220)]?{'header':{..._0x11eb4b[_0x246b43(0x220)],..._0x11eb4b[_0x246b43(0x220)]['titles']?{'titles':zi(_0x11eb4b[_0x246b43(0x220)]['titles'],_0xb39c49)}:{}}}:{},'rangeInfo':Ii(_0x11eb4b['rangeInfo'],_0xb39c49)}};}function zi(_0x20c250,_0x3ea728){const _0x5085c9=_0x568f44;return _0x20c250[_0x5085c9(0x2b9)]===_0xe5b562[_0x5085c9(0x22b)]?{..._0x20c250,'values':{..._0x20c250['values']}}:_0x20c250['type']===_0xe5b562[_0x5085c9(0x202)]?{..._0x20c250,'values':Object[_0x5085c9(0x32d)](Object[_0x5085c9(0x1e9)](_0x20c250[_0x5085c9(0x3b2)])['map'](([_0x53966b,_0x452086])=>[_0x53966b,_0x452086&&Ii(_0x452086,_0x3ea728)]))}:{..._0x20c250,'values':Object[_0x5085c9(0x32d)](Object[_0x5085c9(0x1e9)](_0x20c250[_0x5085c9(0x3b2)])[_0x5085c9(0x2ab)](([_0x4ad668,_0x589769])=>[_0x4ad668,_0x589769&&Li(_0x589769,_0x3ea728)]))};}function Bi(_0x2549e6,_0x56c65d,_0xe369e0,_0x3fb541){const _0x17148e=_0x568f44;let _0x2eb338=_0x2063c6(_0x2549e6,_0x56c65d,_0xe369e0),_0x554081=[];for(let _0x2d07f1 of _0x56c65d){let _0x40129b=_0x2eb338[_0x17148e(0x273)][_0x17148e(0x37e)](_0x2d07f1[_0x17148e(0x2e0)]),_0x532ece=_0x3fb541(_0x2d07f1);_0x40129b&&_0x532ece&&_0x554081[_0x17148e(0x3f5)]({'targetChartId':_0x40129b,'source':Ri(_0x532ece,_0xe369e0)});}return _0x554081;}let Vi=class extends _0x32a96b{constructor(_0x43de4f,_0x6cd031,_0x3b94b0,_0x2bbb24,_0x3a4bb4){const _0x527305=_0x568f44;super(),this[_0x527305(0x42c)]=_0x43de4f,this[_0x527305(0x221)]=_0x6cd031,this[_0x527305(0x25d)]=_0x3b94b0,this[_0x527305(0x3bf)]=_0x2bbb24,this[_0x527305(0x383)]=_0x3a4bb4,this[_0x527305(0x3b7)]();}['_initSheetChange'](){const _0x1b8a19=_0x568f44;this[_0x1b8a19(0x349)](this[_0x1b8a19(0x221)][_0x1b8a19(0x27d)]({'getMutations':_0x44fcc5=>{const _0x2afdbf=_0x1b8a19;if(_0x44fcc5['id']===_0xd68d63['id']){let _0x3bfbf8=_0x43665e(this[_0x2afdbf(0x42c)],_0x44fcc5['params']);if(!_0x3bfbf8)return{'redos':[],'undos':[]};let {unitId:_0xfc5561,subUnitId:_0x2303e2}=_0x3bfbf8,_0x512463=this['_sheetDrawingService']['getDrawingData'](_0xfc5561,_0x2303e2),_0x1acccf=Object['values'](_0x512463)[_0x2afdbf(0x26b)](_0x4079f3=>_0x4079f3['drawingType']===_0x30e73a[_0x2afdbf(0x312)]);if(_0x1acccf[_0x2afdbf(0x429)]===0x0)return{'redos':[],'undos':[]};let _0x1a60c0=[],_0x27b68a=[];for(let _0x2ec64e=0x0;_0x2ec64e<_0x1acccf[_0x2afdbf(0x429)];_0x2ec64e++){let _0x1fd47b=_0x1acccf[_0x2ec64e],_0x527ba6=this[_0x2afdbf(0x3bf)]['getChartModel'](_0x1fd47b[_0x2afdbf(0x2e0)]);if(!_0x527ba6)continue;let _0x141cc4=this[_0x2afdbf(0x383)][_0x2afdbf(0x269)](_0x527ba6['id']);if(!_0x141cc4)continue;let {chartType:_0x5d1ad6,context:_0x12cfe2,style:_0x29d5fd,dataAggregation:_0x162c9b}=_0x527ba6['serialize']();_0x1a60c0['push']({'id':_0x2f36b6['id'],'params':{'unitId':_0xfc5561,'subUnitId':_0x2303e2,'chartId':_0x1fd47b[_0x2afdbf(0x2e0)]}}),_0x27b68a[_0x2afdbf(0x3f5)]({'id':_0x2e95ef['id'],'params':{'unitId':_0xfc5561,'subUnitId':_0x2303e2,'chartId':_0x1fd47b[_0x2afdbf(0x2e0)],'chartType':_0x5d1ad6,..._0x20e3f4(_0x141cc4),'context':_0x12cfe2,'style':_0x29d5fd,'dataAggregation':_0x162c9b}});}return{'redos':_0x1a60c0,'undos':_0x27b68a};}if(_0x44fcc5['id']===_0x2df6ed['id']){let {unitId:_0x4dfb92,subUnitId:_0x29f668,targetSubUnitId:_0x51b4ed,copyContext:_0x11371a}=_0x44fcc5['params'];if(!_0x4dfb92||!_0x29f668||!_0x51b4ed)return{'redos':[],'undos':[]};let _0x3d87a1=this[_0x2afdbf(0x25d)]['getDrawingData'](_0x4dfb92,_0x29f668),_0xf068d5=Object[_0x2afdbf(0x3b2)](_0x3d87a1)['filter'](_0x31f838=>_0x31f838[_0x2afdbf(0x20d)]===_0x30e73a[_0x2afdbf(0x312)]);if(_0xf068d5[_0x2afdbf(0x429)]===0x0)return{'redos':[],'undos':[]};let _0x1153ba=Bi(_0x11371a,_0xf068d5,{'unitId':_0x4dfb92,'sourceSubUnitId':_0x29f668,'targetSubUnitId':_0x51b4ed},_0x445508=>{const _0x418255=_0x2afdbf;let _0x152fd1=this[_0x418255(0x3bf)][_0x418255(0x250)](_0x445508[_0x418255(0x2e0)]);if(!_0x152fd1)return;let _0x911218=this[_0x418255(0x383)]['getChartSourceSpec'](_0x152fd1['id']);if(!_0x911218)return;let {chartType:_0x5478b1,context:_0xd35c94,style:_0xa2d329,dataAggregation:_0x551b90}=_0x152fd1['serialize']();return{'rangeInfo':_0x911218,'chartType':_0x5478b1,'context':_0xd35c94,'style':_0xa2d329,'dataAggregation':_0x551b90};}),_0x5cf1d5=[],_0x19bc05=[];for(let {targetChartId:_0x4ae744,source:_0x3ae15d}of _0x1153ba){let {rangeInfo:_0x36192a,chartType:_0x37ae46,context:_0x4914b9,style:_0x19176f,dataAggregation:_0x1cfd69}=_0x3ae15d;_0x5cf1d5[_0x2afdbf(0x3f5)]({'id':_0x2e95ef['id'],'params':{'unitId':_0x4dfb92,'subUnitId':_0x51b4ed,'chartId':_0x4ae744,'chartType':_0x37ae46,..._0x20e3f4(_0x36192a),'context':_0x4914b9,'style':_0x19176f,'dataAggregation':_0x1cfd69}}),_0x19bc05['push']({'id':_0x2f36b6['id'],'params':{'unitId':_0x4dfb92,'subUnitId':_0x51b4ed,'chartId':_0x4ae744}});}return{'redos':_0x5cf1d5,'undos':_0x19bc05};}return{'redos':[],'undos':[]};}}));}};Vi=J([q(0x0,_0x563aa6(_0x16f441)),q(0x1,_0x563aa6(_0x291913)),q(0x2,_0x563aa6(_0x4a1b9d)),q(0x3,_0x563aa6(_0x813c91)),q(0x4,_0x563aa6(_0x42909b))],Vi);const Hi=_0x1ec981=>_0x1ec981[_0x568f44(0x2cb)](_0x1878f2['UNIVER_SHEET'])[_0x568f44(0x453)](),Ui=_0x5ea9cc=>{const _0xb37ff1=_0x568f44;var _0x4b4854;return(_0x4b4854=_0x5ea9cc[_0xb37ff1(0x2cb)](_0x1878f2[_0xb37ff1(0x352)])['getActiveSheet']())==null?void 0x0:_0x4b4854['getSheetId']();};function Wi(){const _0x1b0baa=_0x568f44;var _0xfc5178;let _0x2e7d24=_0x4f2768(X),_0x3f08dd=_0x4f2768(_0x813c91),_0x3d90a4=_0x4f2768(_0x42909b),_0x17f5e4=_0x4f2768(_0x565815),_0x18c10d=_0x4f2768(_0x363c1f),_0x5d95b0=_0x470b30(_0x18c10d),_0x422e4e=_0x1c5e24(()=>{const _0x26596f=_0x1779;let _0x44a4e1=Fr(Nr[_0x26596f(0x2ee)](),_0x5d95b0);return _0x51c3dc(_0x44a4e1['map'](_0x4f4060=>({'id':_0x4f4060['id'],'label':_0x17f5e4['t'](_0x26596f(0x356)+_0x4f4060[_0x26596f(0x30c)]),'pieSecondaryPlotType':_0x4f4060[_0x26596f(0x414)],'value':_0x4f4060['value']})));},[_0x5d95b0,_0x17f5e4]),_0x160fe3=_0x1685e2(_0x3f08dd['activeChartModel$'],_0x3f08dd[_0x1b0baa(0x2d0)]),_0x25ebdd=_0x160fe3?_0x3d90a4[_0x1b0baa(0x499)](_0x160fe3['id']):void 0x0,_0x1ff593=_0x1685e2(_0x25ebdd==null?void 0x0:_0x25ebdd['rangeInfo$'],_0x25ebdd==null?void 0x0:_0x25ebdd['getRangeInfo']()),_0x230160=Array[_0x1b0baa(0x21d)](_0x1ff593),_0x55bad2=_0x1ff593&&!_0x230160&&_0x1ff593[_0x1b0baa(0x30d)]?_0x10ec2f[_0x1b0baa(0x48b)]:_0x10ec2f['Column'],_0x3a7f24=_0x230160?(_0xfc5178=_0x1ff593[0x0])==null?void 0x0:_0xfc5178[_0x1b0baa(0x338)]:_0x1ff593==null?void 0x0:_0x1ff593['rangeInfo'];return _0x2f8009(_0x1b0baa(0x32b),{'className':_0x1b0baa(0x465),'children':_0x2f8009(_0x510c9c,{'chartTypeOptions':_0x422e4e,'dataSourceControl':_0x2f8009(Gi,{'dataRange':_0x1ff593,'primaryRange':_0x3a7f24}),'categoryToggleLabel':_0x17f5e4['t'](_0x1b0baa(0x481),_0x55bad2===_0x10ec2f['Row']?_0x55bad2+'\x20'+(((_0x3a7f24==null?void 0x0:_0x3a7f24[_0x1b0baa(0x338)][_0x1b0baa(0x201)])??0x0)+0x1):_0x55bad2+'\x20'+_0x55d7a0((_0x3a7f24==null?void 0x0:_0x3a7f24[_0x1b0baa(0x338)][_0x1b0baa(0x2c8)])??0x0)),'orientationControl':_0x230160?void 0x0:_0x2f8009(_0xa27a39,{'size':_0x1b0baa(0x28e),'onClick':()=>_0x2e7d24[_0x1b0baa(0x493)](_0x55bad2===_0x10ec2f[_0x1b0baa(0x48b)]?_0x10ec2f[_0x1b0baa(0x319)]:_0x10ec2f[_0x1b0baa(0x48b)]),'children':_0x17f5e4['t'](_0x1b0baa(0x2b5))})})});}function Gi(_0xef4967){const _0x5a7564=_0x568f44;let {dataRange:_0x9b7cd,primaryRange:_0x345d7c}=_0xef4967,_0x22cfd6=_0x4f2768(X),_0x22cb18=_0x4f2768(_0x565815),_0x466da5=_0x4f2768(_0x16f441),[_0x3ab038,_0x16a560]=_0x3e5ae0(!0x1),[_0x5b1e65,_0x56574b]=_0x3e5ae0(!0x1),_0x948d05=Hi(_0x466da5),_0x16e9e7=Ui(_0x466da5);_0x2b9eea(()=>{const _0x56cfed=_0x1779;_0x22cfd6[_0x56cfed(0x246)](_0x3ab038);},[_0x3ab038,_0x22cfd6]);let _0x38d900=_0x1c5e24(()=>_0x391583(async _0x7a9794=>{const _0x51c3ef=_0x1779;var _0x2cc9fe;if(jr(_0x9b7cd,_0x466da5)===_0x7a9794)return;let _0x330bd0=_0x7a9794[_0x51c3ef(0x2c5)](',')[_0x51c3ef(0x26b)](Boolean)[_0x51c3ef(0x2ab)](_0x2380a3)[0x0];if(!_0x330bd0)return;let {unitId:_0x23593a,sheetName:_0x25f7e8,range:_0x3c0eae}=_0x330bd0,_0x2a2992=_0x23593a||_0x948d05,_0x538f99=((_0x2cc9fe=_0x466da5[_0x51c3ef(0x20b)](_0x2a2992)['getSheetBySheetName'](_0x25f7e8))==null?void 0x0:_0x2cc9fe[_0x51c3ef(0x38b)]())||(_0x345d7c==null?void 0x0:_0x345d7c[_0x51c3ef(0x206)])||_0x16e9e7;_0x538f99&&_0x22cfd6[_0x51c3ef(0x203)]({'rangeInfo':{'range':_0x3c0eae,'unitId':_0x2a2992,'subUnitId':_0x538f99}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x9b7cd,_0x345d7c,_0x22cfd6,_0x16e9e7,_0x948d05,_0x466da5]);return _0x2b9eea(()=>()=>_0x38d900['cancel'](),[_0x38d900]),_0x2f8009(_0x5a7564(0x32b),{'className':_0x5a7564(0x2ed),'children':_0x48f77f(_0x5a7564(0x32b),{'children':[_0x2f8009(_0x508ec3,{'title':_0x22cb18['t']('sheets-chart-ui.common.dataRange')}),_0x2f8009(_0xdc0c83,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x948d05,'subUnitId':_0x16e9e7,'initialValue':_0x9b7cd?jr(_0x9b7cd,_0x466da5):'','onChange':(_0x236391,_0x1f0cb7)=>_0x38d900(_0x1f0cb7),'onFocusChange':_0x34b027=>{_0x5b1e65||_0x16a560(_0x34b027);},'onRangeSelectorDialogVisibleChange':_0x7b4f64=>{_0x56574b(_0x7b4f64),_0x16a560(_0x7b4f64);}})]})});}function Ki(){const _0x805fb4=_0x568f44;let [_0x2169a9,_0x2619d1]=_0x3e5ae0(_0x5f40c4['Data']),_0x5d27cc=_0x4f2768(_0x363c1f),_0x48981c=_0x4f2768(_0x565815),_0x332f4c=_0x4f2768(X),_0x156437=_0x4f2768(_0x813c91),_0x1a5c43=_0x4f2768(_0x42909b),_0x3374b1=_0x1685e2(_0x156437['activeChartModel$'],_0x156437['activeChartModel']),_0x57a6a5=_0x1685e2(_0x332f4c['panelRoute$'],null),_0x5bff70=_0x1c5e24(()=>{const _0x17e8ba=_0x1779;var _0x53f8cc;if(!_0x3374b1)return null;let _0x2418c6=_0x1a5c43[_0x17e8ba(0x269)](_0x3374b1['id']);if(!_0x2418c6)return null;let _0x9c1576=Array[_0x17e8ba(0x21d)](_0x2418c6)?(_0x53f8cc=_0x2418c6[0x0])==null?void 0x0:_0x53f8cc[_0x17e8ba(0x338)]:_0x2418c6[_0x17e8ba(0x247)];return _0x9c1576?new _0x31f947(_0x3374b1,new _0x212bb6({'unitId':_0x9c1576['unitId'],'subUnitId':_0x9c1576[_0x17e8ba(0x206)],'chartId':_0x3374b1['id'],'injector':_0x5d27cc})):null;},[_0x3374b1,_0x5d27cc,_0x1a5c43]);if(_0x2b9eea(()=>{const _0x500dcf=_0x1779;var _0xdeb1b9,_0x268cb2;_0x3374b1&&(_0x57a6a5==null?void 0x0:_0x57a6a5[_0x500dcf(0x43d)])===_0x3374b1['id']&&(((_0xdeb1b9=_0x57a6a5[_0x500dcf(0x27e)])==null?void 0x0:_0xdeb1b9['tab'])===_0x5f40c4[_0x500dcf(0x2d9)]&&_0x2619d1(_0x5f40c4[_0x500dcf(0x2d9)]),((_0x268cb2=_0x57a6a5[_0x500dcf(0x27e)])==null?void 0x0:_0x268cb2['tab'])===_0x5f40c4[_0x500dcf(0x1c9)]&&_0x2619d1(_0x5f40c4['Data']));},[_0x3374b1,_0x57a6a5]),!_0x5bff70)return null;let _0x59dfe8=_0x2f8009(_0x805fb4(0x32b),{'className':_0x805fb4(0x451),'children':_0x2f8009(_0x2e879b,{'ariaLabel':_0x48981c['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x2169a9,'onTabChange':_0x2619d1,'tabListClassName':_0x805fb4(0x1cc),'panelClassName':_0x2169a9===_0x5f40c4['Style']?_0x805fb4(0x29f):_0x805fb4(0x1f9),'tabs':[{'id':_0x5f40c4[_0x805fb4(0x1c9)],'panelId':'mobile-sheet-chart-setup-panel','title':_0x48981c['t'](_0x805fb4(0x1ef)),'content':_0x2f8009(Wi,{})},{'id':_0x5f40c4[_0x805fb4(0x2d9)],'panelId':_0x805fb4(0x37a),'title':_0x48981c['t'](_0x805fb4(0x264)),'content':_0x2f8009(wi,{'defaultValues':yi})}]})});return _0x2f8009(_0x39aa66,{'chartUIService':_0x332f4c,'hostAdapter':_0x5bff70,'children':_0x59dfe8});}let qi=class extends _0x32a96b{constructor(_0xc715ea){const _0x4bc833=_0x568f44;super(),this[_0x4bc833(0x349)](_0xc715ea[_0x4bc833(0x42d)](Ei,Ki));}};qi=J([q(0x0,_0x563aa6(_0x20b208))],qi);let Ji=class extends _0x32a96b{constructor(_0x2d0675,_0x546667,_0x43881e,_0x572303,_0x416c9f,_0x49ad48,_0x5ca34a,_0xef0e71,_0x495710){const _0x256856=_0x568f44;super(),this[_0x256856(0x42f)]=_0x2d0675,this[_0x256856(0x3bf)]=_0x546667,this['_sidebarService']=_0x43881e,this[_0x256856(0x3ba)]=_0x572303,this[_0x256856(0x48e)]=_0x416c9f,this[_0x256856(0x42b)]=_0x49ad48,this[_0x256856(0x2a1)]=_0x5ca34a,this[_0x256856(0x3ec)]=_0xef0e71,this['_localeService']=_0x495710,G(this,_0x256856(0x21c),null),G(this,_0x256856(0x1b5),!0x1),this[_0x256856(0x309)]();}[_0x568f44(0x3d3)](){const _0x3bb54e=_0x568f44;this['hidePanel'](),super[_0x3bb54e(0x3d3)]();}[_0x568f44(0x3aa)](){const _0x1f5c50=_0x568f44;this['_panelInitialized']||(this[_0x1f5c50(0x1b5)]=!0x0,this[_0x1f5c50(0x349)](this['_commandService'][_0x1f5c50(0x256)](_0x244d8f=>{const _0x2a0899=_0x1f5c50;if(_0x244d8f['id']!==U['id'])return;let _0x37862c=_0x244d8f[_0x2a0899(0x337)];this[_0x2a0899(0x284)](_0x37862c[_0x2a0899(0x2e0)],_0x37862c['route']);})));}[_0x568f44(0x284)](_0x3f9fc5,_0xb735f7){const _0x2aeddf=_0x568f44;let _0x4d0304=this[_0x2aeddf(0x3bf)][_0x2aeddf(0x250)](_0x3f9fc5);_0x4d0304&&(this[_0x2aeddf(0x3bf)]['setActiveChartModel'](_0x4d0304),this[_0x2aeddf(0x3c5)](),this[_0x2aeddf(0x2a1)][_0x2aeddf(0x36c)](!0x0),this[_0x2aeddf(0x2a1)][_0x2aeddf(0x45c)](_0x3f9fc5,_0xb735f7??null));}[_0x568f44(0x328)](){const _0x47d34c=_0x568f44;let _0x489a44=this['_sidebarDisposable'];this[_0x47d34c(0x21c)]=null,this['_clearPanelState'](),_0x489a44==null||_0x489a44['dispose']();}[_0x568f44(0x309)](){const _0x3114ee=_0x568f44;this[_0x3114ee(0x3ba)]['mergeMenu']({[_0x250386['MEDIA']]:{[W['id']]:{'order':0x4,'menuItemFactory':Ir}}}),this[_0x3114ee(0x48e)][_0x3114ee(0x1d7)](_0x30e73a['DRAWING_CHART'],(_0x10dceb,_0x46278b,_0x4af3a0,_0x397369)=>[{'label':this[_0x3114ee(0x244)]['t'](_0x3114ee(0x36a)),'index':0x0,'commandId':U['id'],'commandParams':{'unitId':_0x10dceb,'subUnitId':_0x46278b,'drawingId':_0x4af3a0},'disable':_0x397369!==_0x30e73a[_0x3114ee(0x312)]},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x77c0fa['id'],'commandParams':{'unitId':_0x10dceb,'drawings':[{'unitId':_0x10dceb,'subUnitId':_0x46278b,'drawingId':_0x4af3a0,'drawingType':_0x397369}]},'disable':!0x1}],_0x3114ee(0x3be));}[_0x568f44(0x3c5)](){const _0x5e3f2e=_0x568f44;this[_0x5e3f2e(0x21c)]=this[_0x5e3f2e(0x2a9)][_0x5e3f2e(0x245)]({'id':Ei,'header':{'title':this[_0x5e3f2e(0x244)]['t'](_0x5e3f2e(0x36a))},'children':{'label':Ei},'onClose':()=>{const _0x566481=_0x5e3f2e;this[_0x566481(0x21c)]=null,this[_0x566481(0x3a4)]();}});}['_clearPanelState'](){const _0x24c65b=_0x568f44;this[_0x24c65b(0x2a1)][_0x24c65b(0x36c)](!0x1),this[_0x24c65b(0x2a1)]['clearPanelRoute'](),this[_0x24c65b(0x3bf)][_0x24c65b(0x2d0)]&&this['_chartModelService'][_0x24c65b(0x40d)](null),this[_0x24c65b(0x42f)][_0x24c65b(0x315)](null),this['_contextService'][_0x24c65b(0x302)](_0x4ec8e1,!0x1);}};Ji=J([q(0x0,_0x1506f9),q(0x1,_0x563aa6(_0x813c91)),q(0x2,_0x563aa6(_0x5ccc92)),q(0x3,_0x4e7db),q(0x4,_0x563aa6(_0x5608a1)),q(0x5,_0x5729da),q(0x6,X),q(0x7,_0x1e8f48),q(0x8,_0x563aa6(_0x565815))],Ji);let Yi=class extends _0x32a96b{constructor(_0x18eff4,_0x4ed046,_0x112a69,_0x1fca61,_0x3f6dbe){const _0x1fe112=_0x568f44;super(),this['_sheetSkeletonService']=_0x18eff4,this[_0x1fe112(0x488)]=_0x4ed046,this[_0x1fe112(0x25d)]=_0x112a69,this[_0x1fe112(0x3bf)]=_0x1fca61,this[_0x1fe112(0x383)]=_0x3f6dbe,G(this,'_copyInfo',void 0x0),this[_0x1fe112(0x3dd)]();}get['_focusedDrawings'](){return this['_sheetDrawingService']['getFocusDrawings']();}['_initCopyPaste'](){const _0xfdca69=_0x568f44;this['disposeWithMe'](this[_0xfdca69(0x488)][_0xfdca69(0x40a)]({'id':_0x1f2559,'onBeforeCopyFocusedObject':(_0x199ddf,_0x5deeb9,_0x3df710)=>{const _0x3d9358=_0xfdca69;this[_0x3d9358(0x46e)]=null;let _0xc5bf04=this['_focusedDrawings'][_0x3d9358(0x26b)](_0x3e1329=>this[_0x3d9358(0x2d8)](_0x3e1329));return _0xc5bf04['length']!==0x0&&(this['_copyInfo']={'unitId':_0x199ddf,'subUnitId':_0x5deeb9,'copyType':_0x3df710,'drawings':_0xc5bf04},!0x0);},'onBeforeCopy':(_0x3e64b4,_0x2912d0,_0x5226f2,_0x454b20)=>{const _0x12faa6=_0xfdca69;this[_0x12faa6(0x46e)]=null,this['_createCopyInfoByRange'](_0x3e64b4,_0x2912d0,_0x5226f2,_0x454b20);},'onPasteCells':(_0x57d416,_0x39f2ae,_0x55b7de,_0x5e76e1)=>{const _0x42d75c=_0xfdca69;if(!_0x5e76e1['copyId']||!_0x57d416||!this[_0x42d75c(0x46e)])return{'redos':[],'undos':[]};let {pasteType:_0x56293a}=_0x5e76e1;return _0x56293a===_0x3ce4a3[_0x42d75c(0x27b)]?this['_generatePasteMutations'](_0x39f2ae,this['_copyInfo'][_0x42d75c(0x2bf)]===_0x2893f4[_0x42d75c(0x3dc)]):{'redos':[],'undos':[]};}}));}[_0x568f44(0x1b6)](_0xb95d2,_0x18f9d7,_0x5929b8,_0x520e63){const _0x518566=_0x568f44;let _0x1e4645=this[_0x518566(0x419)][_0x518566(0x362)](_0xb95d2,_0x18f9d7);if(!_0x1e4645)return;let _0x5c0d3a=_0x44de7e(_0x1e4645,_0x5929b8);if(!_0x5c0d3a)return;let {startX:_0x58a5e5,endX:_0x28e438,startY:_0x4f9147,endY:_0x26ff25}=_0x5c0d3a,_0x2da7fc=this[_0x518566(0x25d)]['getDrawingData'](_0xb95d2,_0x18f9d7),_0x4f2aec=[];for(let [_0x2f848c,_0x377275]of Object[_0x518566(0x1e9)](_0x2da7fc)){if(!this[_0x518566(0x2d8)](_0x377275))continue;let {transform:_0x5dc103}=_0x377275;if(!_0x5dc103)continue;let {left:_0x1f53c0=0x0,top:_0x23cfa0=0x0,width:_0x5ba7f0=0x0,height:_0x559586=0x0}=_0x5dc103;_0x58a5e5<=_0x1f53c0&&_0x28e438>=_0x1f53c0+_0x5ba7f0&&_0x4f9147<=_0x23cfa0&&_0x26ff25>=_0x23cfa0+_0x559586&&_0x4f2aec[_0x518566(0x3f5)](_0x377275);}_0x4f2aec['length']>0x0&&(this['_copyInfo']={'unitId':_0xb95d2,'subUnitId':_0x18f9d7,'copyType':_0x520e63,'copyRange':_0x5929b8,'drawings':_0x4f2aec});}[_0x568f44(0x2d8)](_0x5ce91f){const _0x588771=_0x568f44;return _0x5ce91f[_0x588771(0x20d)]===_0x30e73a[_0x588771(0x312)]&&this[_0x588771(0x383)][_0x588771(0x385)](_0x5ce91f[_0x588771(0x45f)],_0x5ce91f[_0x588771(0x2e0)])===_0x5ce91f[_0x588771(0x206)];}['_generatePasteMutations'](_0x43bdfb,_0x2d4709){const _0x4ffda5=_0x568f44;let {unitId:_0x12d8c8,subUnitId:_0x175b94,range:_0x4d96a7}=_0x43bdfb,_0x4b4beb=this[_0x4ffda5(0x419)][_0x4ffda5(0x362)](_0x12d8c8,_0x175b94);if(!_0x4b4beb)return{'redos':[],'undos':[]};let _0xa420ad=_0x129c71(_0x4d96a7),{unitId:_0x573c7f,subUnitId:_0x2e41b9,copyRange:_0xe60323,drawings:_0x86b680}=this['_copyInfo'],_0x3df642=this[_0x4ffda5(0x419)]['getSkeleton'](_0x573c7f,_0x2e41b9);if(!_0x3df642)return{'redos':[],'undos':[]};let _0x183970=[],_0x2ec132=[];for(let _0x534d25 of _0x86b680){let {drawingId:_0x17de1c,transform:_0x58b414,sheetTransform:_0x349116}=_0x534d25,_0x4b46fb=this[_0x4ffda5(0x3bf)][_0x4ffda5(0x250)](_0x17de1c);if(!_0x4b46fb||!_0x58b414||!_0x349116)continue;let _0x559354=this[_0x4ffda5(0x405)]({'transform':_0x58b414,'sheetTransform':_0x349116},{'skeleton':_0x3df642,'range':_0xe60323},{'skeleton':_0x4b4beb,'range':_0xa420ad});if(_0x2d4709){let {redos:_0x4f5bda,undos:_0x4610c0}=this[_0x4ffda5(0x3c4)]({'fromUnitId':_0x573c7f,'fromSubUnitId':_0x2e41b9,'toUnitId':_0x12d8c8,'toSubUnitId':_0x175b94,'drawing':_0x534d25,'newTransforms':_0x559354},_0x4b46fb);_0x183970['push'](..._0x4f5bda),_0x2ec132['push'](..._0x4610c0);continue;}let {redos:_0x1997ee,undos:_0x57897e}=this[_0x4ffda5(0x1b1)]({'toUnitId':_0x12d8c8,'toSubUnitId':_0x175b94,'drawing':_0x534d25,'newTransforms':_0x559354},_0x4b46fb);_0x183970[_0x4ffda5(0x3f5)](..._0x1997ee),_0x2ec132[_0x4ffda5(0x3f5)](..._0x57897e);}return{'redos':_0x183970,'undos':_0x2ec132};}['_generateCutPasteMutations'](_0x4a4aea,_0x561a9c){const _0xadd9a=_0x568f44;let {fromUnitId:_0x3d981c,fromSubUnitId:_0x5af2ca,toUnitId:_0x3d796a,toSubUnitId:_0x39c440,drawing:_0x71e5d4,newTransforms:_0x1a9549}=_0x4a4aea,_0x306f8a={..._0x71e5d4,'unitId':_0x3d796a,'subUnitId':_0x39c440,'transform':_0x1a9549[_0xadd9a(0x231)],'sheetTransform':_0x1a9549[_0xadd9a(0x285)]};if(_0x3d796a===_0x3d981c&&_0x39c440===_0x5af2ca){let {redo:_0x4f1c96,undo:_0x46cec5,objects:_0x34a194}=this['_sheetDrawingService'][_0xadd9a(0x2d7)]([_0x306f8a]);return{'redos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x2b2)],'op':_0x4f1c96,'objects':_0x34a194}}],'undos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x2b2)],'op':_0x46cec5,'objects':_0x34a194}}]};}{let _0x26bf41=this[_0xadd9a(0x25d)][_0xadd9a(0x3e7)]([_0x71e5d4]),_0x1e5afa=this['_sheetDrawingService'][_0xadd9a(0x1c2)]([_0x306f8a]),_0x5cdd0a=this['_sheetsChartService'][_0xadd9a(0x269)](_0x561a9c['id']);if(!_0x5cdd0a)return{'redos':[],'undos':[]};let {chartType:_0x164141,context:_0x5b7029,style:_0x42bb66,dataAggregation:_0x2b79c5}=_0x561a9c['serialize']();return{'redos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'type':_0x36dcf8[_0xadd9a(0x2eb)],'op':_0x26bf41[_0xadd9a(0x38f)],'objects':_0x26bf41['objects']}},{'id':_0x2f36b6['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'chartId':_0x71e5d4[_0xadd9a(0x2e0)]}},{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x42a)],'op':_0x1e5afa[_0xadd9a(0x38f)],'objects':_0x1e5afa[_0xadd9a(0x1d2)]}},{'id':_0x2e95ef['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'chartId':_0x71e5d4['drawingId'],'chartType':_0x164141,..._0x20e3f4(_0x5cdd0a),'context':_0x5b7029,'style':_0x42bb66,'dataAggregation':_0x2b79c5}}],'undos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'type':_0x36dcf8[_0xadd9a(0x42a)],'op':_0x26bf41[_0xadd9a(0x39f)],'objects':_0x26bf41[_0xadd9a(0x1d2)]}},{'id':_0x2e95ef['id'],'params':{'unitId':_0x3d981c,'subUnitId':_0x5af2ca,'chartId':_0x71e5d4[_0xadd9a(0x2e0)],'chartType':_0x164141,..._0x20e3f4(_0x5cdd0a),'context':_0x5b7029,'style':_0x42bb66,'dataAggregation':_0x2b79c5}},{'id':_0xdf3001['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'type':_0x36dcf8[_0xadd9a(0x2eb)],'op':_0x1e5afa[_0xadd9a(0x39f)],'objects':_0x1e5afa[_0xadd9a(0x1d2)]}},{'id':_0x2f36b6['id'],'params':{'unitId':_0x3d796a,'subUnitId':_0x39c440,'chartId':_0x71e5d4['drawingId']}}]};}}[_0x568f44(0x1b1)](_0x472a11,_0xc09185){const _0x232577=_0x568f44;let {toUnitId:_0x5cfc10,toSubUnitId:_0x4971a0,drawing:_0xa6c0a,newTransforms:_0x377e98}=_0x472a11,_0xd0a85a=_0x3ad20e(),_0x25cd1a={..._0xa6c0a,'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'drawingId':_0xd0a85a,'transform':_0x377e98[_0x232577(0x231)],'sheetTransform':_0x377e98[_0x232577(0x285)]},{redo:_0x142232,undo:_0x4ebb74,objects:_0x3b70bf}=this['_sheetDrawingService'][_0x232577(0x1c2)]([_0x25cd1a]),_0x34c3ea=this[_0x232577(0x383)]['getChartSourceSpec'](_0xc09185['id']);if(!_0x34c3ea)return{'redos':[],'undos':[]};let {chartType:_0x365035,context:_0xa6cc3d,style:_0x60a31d,dataAggregation:_0x39b0c3}=_0xc09185['serialize']();return{'redos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'type':_0x36dcf8[_0x232577(0x42a)],'op':_0x142232,'objects':_0x3b70bf}},{'id':_0x2e95ef['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'chartId':_0xd0a85a,'chartType':_0x365035,..._0x20e3f4(_0x34c3ea),'context':_0xa6cc3d,'style':_0x60a31d,'dataAggregation':_0x39b0c3}}],'undos':[{'id':_0xdf3001['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'type':_0x36dcf8['REMOVE'],'op':_0x4ebb74,'objects':_0x3b70bf}},{'id':_0x2f36b6['id'],'params':{'unitId':_0x5cfc10,'subUnitId':_0x4971a0,'chartId':_0xd0a85a}}]};}['_updateTransform'](_0x291a31,_0x3eb974,_0x204437){const _0x1d0774=_0x568f44;let {range:_0x249f7e,skeleton:_0x3fd570}=_0x3eb974,{range:_0x339060,skeleton:_0x3c2dad}=_0x204437,{transform:_0x5da6f6,sheetTransform:_0x588657}=_0x291a31,_0x2c7748={..._0x5da6f6};if(_0x249f7e){let _0x30aa07=_0x44de7e(_0x3fd570,_0x249f7e),_0x40670e=_0x44de7e(_0x3c2dad,_0x339060);if(_0x30aa07&&_0x40670e){let _0x27faad=_0x40670e['startX']-_0x30aa07[_0x1d0774(0x22d)],_0x3513e6=_0x40670e[_0x1d0774(0x306)]-_0x30aa07[_0x1d0774(0x306)];_0x2c7748[_0x1d0774(0x242)]=(_0x2c7748['left']??0x0)+_0x27faad,_0x2c7748[_0x1d0774(0x382)]=(_0x2c7748[_0x1d0774(0x382)]??0x0)+_0x3513e6;}}else{let _0x3cb8b3=_0x44de7e(_0x3c2dad,_0x339060);_0x2c7748[_0x1d0774(0x242)]=_0x3cb8b3==null?void 0x0:_0x3cb8b3[_0x1d0774(0x22d)],_0x2c7748[_0x1d0774(0x382)]=_0x3cb8b3==null?void 0x0:_0x3cb8b3[_0x1d0774(0x306)];}return{'transform':_0x2c7748,'sheetTransform':_0x34e272(_0x2c7748,_0x3c2dad)??_0x588657};}};Yi=J([q(0x0,_0x563aa6(_0x3d3ce7)),q(0x1,_0x563aa6(_0x243151)),q(0x2,_0x563aa6(_0x4a1b9d)),q(0x3,_0x563aa6(_0x813c91)),q(0x4,_0x563aa6(_0x42909b))],Yi);function _0xbdb0(){const _0x52f390=['clearChart','target','remove','removeHost','_canAnimateDataUpdate','chartEditorOpen$','_waiter','_clearSelectedTarget','_getImage','permissionCheckWithoutRange','PRINTING_COMPONENT_COLLECT','disposeWithMe','sheets-chart-ui.section.treemap','hidden','createChartInstance','toPrimitive','isLatest','36kznNAD','clientY','getCurrentTypeOfUnit$','UNIVER_SHEET','getCanvasElement','hasOwnProperty','1GRHFmW','sheets-chart-ui.chartTypes.','_openFloatMenu','dataUrl','_rect','function','endsWith','showFloatMenu','_deactivateEditPanelState','missing-active-sheet','onRendered','context$','clear','getSkeleton','getRenderUnitById','position$','pie','removeEventListener','onTransformChange$','GridlinesAndTicks','resolve','sheets-chart-ui.common.editChart','_onChange','setChartEditorOpen','_chartRenderService','Radar','dataSource','_resolveChartRenderMode','add','rect','sheets-chart-ui.chartTypes.line','absolute','constructor','_createImageChartHost','_applyHostInteractionState','_updateGeometry','renderTransition','mobile-sheet-chart-style-panel','_cacheActiveDomChartSnapshot','symbol','getChartSnapshotImage','get','_activeChartId','_keepChartCapture','Overlay','top','_sheetsChartService','clip','getSubUnitId','contains','lostpointercapture','packageName','radius','syncLayout','getSheetId','sheets-chart-ui.section.gridlinesAndTicks','dataset','event','redo','_resetChartRuntimeZIndex','DRAWING','promise','getRangeInfo','anchorRect$','isFinite','sheets-chart-ui.waterfall.positive','_dataUpdateAnimationDuration','bind','checkMounted','_pendingHost','multiply','abs','setObjectType','_getChartRenderObject','undo','_initActiveChartModelListener','markHostNotReady','changing$','_renderChartModel','_clearPanelState','_sheetPermissionCheckController','number','click','20gJMDmj','sheet.command.chart.copy-focused-chart','initPanel','format','forEach','engine','getRealBound','data$','getActiveSheet','initialRect','values','_chartThemeService','Bubble','sidebarOptions$','COMMA','_initSheetChange','_createPrintingChartObject','dom','_menuManagerService','ensureHandle','_cancelDebouncedCallbacks','univer-shrink-0','sheets-chart-ui.common.chart','_chartModelService','heatmap','49170iAJDqE','Axes','cancelPending','_generateCutPasteMutations','_openPanel','sheets-chart-ui.common.invalidDataRange','_callback','sheets-chart-ui.common.insertChart','sheets-chart-ui.common.openChartPanel','style$','setStyle','_getOuterRect','getContextValue','_entries','getHostClientRect','viewBound','sheets-chart-ui.common.rightVerticalAxis','_getOrCreateChartRenderInstance','dispose','Image','_setHostStyle','_listenChartUpdateMutations','with','offsetLeft','_bindPointerEvents','localPoint','_hostStyle','CUT','_initCopyPaste','category','_debounceHandle','radar','nextVersion','Subtotal','stopImmediatePropagation','executeChartUpdateConfig','getSheetBySheetName','sheets-chart-ui.common.legend','getBatchRemoveOp','sheets-chart-ui.section.paretoBar','baseOn','moveX','384298NQbKlj','_contextService','mergeMenu','name','attachPopupToDynamicAbsolutePosition','prototype','next','endY','_shouldEnableChartElementEdit','sheet.operation.open-chart-panel','push','getFocusedUnit','getName','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','getFocusDrawings','_pointerEvents','imageBitmap','Canvas','_isProviderDisposed','_chartEditorOpen$','view','_dataUpdateAnimationChartIds','_disposeChartDomInstance','from','preventDefault','_disposeChartEventSubscription','_updateTransform','Treemap','pointerEvents','tab','sheets-chart-ui.common.chartStyle','addClipboardHook','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.horizontalAxis','setActiveChartModel','_executeChartUpdateSourceConfig','rightYAxis','_createHost','closePath','object','markReady','pieSecondaryPlotType','_clearHiddenSelectedTarget','sheets-chart-ui.section.paretoLine','drawWith','PenIcon','_sheetSkeletonService','_lastRenderInputMap','_addWatermark','_openEditPanelByDoubleClick','_renderAfterChartUpdateMutation','getImage','titles','cancel','DeleteIcon','rightY','getRuntimeContext','sheets-chart-ui.waterfall.subtotal','nativeEvent','_applyHostStyle','sheets-chart-ui.section.chord','_chartHostMap','length','INSERT','_commandService','_univerInstanceService','register','setProps','_drawingManagerService','select','_activateEditPanelState','getDrawingOrder','pareto','relation','pluginName','rangeSelectMode','Trendline','scaleY','_prepareDataUpdateRender','interceptor','drawImage','Fail\x20to\x20create\x20float\x20dom','chartId','onerror','groupId','download','print','sheets-chart-ui.section.wordCloud','chartType','_getDrawable','sheets-chart-ui.common.deleteChart','transparent','add$','sheet.command.chart.open-focused-panel','_canvasFloatDomService','univer-overflow-hidden','#-#','handleActiveSubUnitChange','mountNode','emitChartEvent','_chartRenderMode','isInGroup','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','chartModelAdded$','getUnitId','crossOrigin','scaleX','_snapshotStore','Scatter','_releaseGesture','_subscribeChartEvents','Line','_renderManagerService','setPanelRoute','GROUP','OPERATION','unitId','visible','CHART','bounds','_disposeImage','request','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','subscribeEvent','getSheetBySheetId','SVG','_markHostReady','activeChartModel$','setConfig','some','_sheetPrintInterceptorService','_copyInfo','markUnmanaged','addObject','getHostSize','scene','3867006uDAVyd','onDispose','classType','IndicatorLine','_running','hit','renderChartsForPrinting','BUTTON','Bar','items','_getPlacement','sheets-chart-ui.common.showHiddenData','sheets-chart-ui.section.sunburst','_disposed','sheets-chart-ui.common.useAsCategoryLabels','getElementById','getRenderColor','_geometry','src','_injector','keys','_sheetClipboardService','logicalOuterRect','commitSnapshot','Row','section','Heatmap','_sheetCanvasPopManagerService','_initActiveRuntimeLayerListener','_rerenderLatest','_bindChartEventHandler','sheetChartDataAnimation','setOrientation','titleKey','_version','sheetDisposed$','1.3.0','-univer-mx-4','getChartDataSource','Histogram','sheets-chart-ui.section.pie','_requestPaint','panelRoute$','updateFloatDomProps','_generateCopyPasteMutations','_frame','getTransformerByCreate','Area','_panelInitialized','_createCopyInfoByRange','domId','arc','createRuntimeChartStyle','_registerChartImageRenderObjectFactory','visibilityState','complete','LineAndArea','_chartEventSubscriptions','_restoreFloatDomPositionStream','_chartChangeSubscriptions','_clearPendingUrlImage','getBatchAddOp','set','clearPanelRoute','string','none','remove$','_disposeChartChangeListeners','Data','_debounceHandleMap','makeDirty','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','ENTER','_activateDataUpdateAnimation','width','Sunburst','_loadUrlImage','objects','MEDIA','setImage','detach','registerCommand','registerFeatureMenu','image','setHostStyle','_init','chartModelId','Series','innerHeight','wordCloud','releasePointerCapture','sheets-chart-ui.host.provider','univer-my-1\x20univer-text-xs\x20univer-text-red-500','getObject','sheet.operation.hide-chart-panel','inactive-sheet','finally','exportImage','markNotReady','focus$','entries','sheets-chart-ui.section.waterfall','drawingIds','endX','_renderWhenConfigReady','source','sheets-chart-ui.common.setup','_createChartRenderInstanceContext','call','iconName','getDrawingByParam','featurePluginGroupUpdate$','offsetWidth','Combination','executeCommand','974340Rwujgr','univer-overflow-visible','ensureHost','VerticalAxis','_notifySheetChartsDetached','_url','onPointerMove','series','activeRuntimeModel','startRow','References','setDataRange','_markReady','_lastActiveSheet','subUnitId','error','CopyDoubleIcon','version','transformer','getUnit','waterfallStyle','drawingType','true','style','intercept','_bindChartEventHandlers','_urlImage','_chartSnapshotStoreService','blockExecuteWithoutPermission','sheets-chart-ui.section.relation','sheet.chart.edit.panel','img','Chord','setElementEditMode','_image','checkHost','_sidebarDisposable','isArray','_scheduler','subscribe','header','_sheetInterceptorService','getInterceptPoints','strokeWidth','_requestedUrl','clientX','sheet.command.chart.delete-focused-chart','getObjectIncludeInGroup','1000','pointerId','sheets-chart-ui.common.heatmap','Literals','804BOoGjk','startX','_gesture','_chartHostProvider','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','transform','innerWidth','UniverSheetsChartUIPlugin','scroll','sheets-chart-ui.common.chartAndAxisTitles','613224lDhtKd','_pendingMutationConfigRenders','requestPaint','_pendingDataUpdateChartIds','offsetTop','syncHostLayout','current','_requestChartCanvasRender','onPointerUp','Funnel','hasPointerCapture','_drawChartImage','left','animateDataUpdate','_localeService','open','setRangeSelectMode','rangeInfo','_registerComponents','256udxBpC','updateFloatDom','_readGeometry','parentElement','sheets-chart-ui.section.radar','_popupChartId','\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','getChartModel','_initPermission','globalAlpha','enableChartElementFloatMenu','addEventListener','sheets-chart-ui.section.funnel','onCommandExecuted','_activateHostWrapper','chartModelRemoved$','sheetChartDataAnimationDuration','_pendingToken','clientHeight','_savedWrapperStyle','_sheetDrawingService','sheet-chart-style-panel','_managed','restore','defineProperty','_disposeChartRenderInstance','_popupSessionKey','sheets-chart-ui.common.customize','isHit','opacity','lineTo','catch','getChartSourceSpec','flush','filter','onStarting','_domFrame','_dataUpdateAnimationTimers','changeEnd$','_chartUIService','_restoreHostWrapper','_syncActiveEditChart','idMap','config','getFloatDomInfo','removeHost$','pipe','_drawChartFrame','10xvjFID','Candlestick','DEFAULT_PASTE','Gauge','interceptCommand','route','setDataUpdateAnimation','barStyle','sheets-chart-ui.common.hideChartPanel','getDirection','_removeHost$','openChartPanelById','sheetTransform','_cancelHostWait','_chartHostProviderService','exportImg','dblclick','_resizeChart','_initCommands','ImageBitmap','sheets-chart-ui.permission.editErr','small','_panelRoute$','default','_adapterRegistry','beforeCommandExecuted','_resolveLayout','_alignFloatDomPositionWithSceneRender','_frameStyle','_getFloatDomInfo','GeneralSeries','asObservable','_setChartRuntimeZIndex','href','_registerAdapter','_activeDomReadyChartIds','querySelector','.chart-host','-univer-mx-4\x20univer-overflow-visible','value','_sheetsChartUIService','anonymous','removeChartModel','sheets-chart-ui.config','_iconManager','direction$','children','sheets-chart-ui.chord.target','_sidebarService','blur','map','update','@univerjs-pro/sheets-chart-ui','SELECTOR','url','height','ParetoLineSeries','UPDATE','getRect','createElement','sheets-chart-ui.common.switchRowColumn','ChartIcon','_snapshotKey','_scheduleDataUpdateAnimationEnd','type','naturalHeight','matches','takeSnapshot','RightVerticalAxis','getBoundingClientRect','copyType','_themeService','Positive','WordCloud','_chartEventHandlers','_getCurrentSnapshotImage','split','right','_chartInstanceMap','startColumn','config$','getValue','getCurrentUnitOfType','pointercancel','chartObject','cumulativeLineStyle','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','activeChartModel','border','oKey','_isChartElementEditEnabled','getChartPopupMenus','getRenderModel','getId','getBatchUpdateOp','_isOwnedChart','Style','trendline','bottom','Legend','min','COMMAND','_popupDisposable','drawingId','axis','_closePopup','Waterfall','sheetId','delete','_disposeChartEventSubscriptions','_getSceneAndTransformerByDrawingSearch','trim','sheet.command.menu-insert-chart','zIndex','REMOVE','mode','univer-flex\x20univer-flex-col\x20univer-gap-3','concat','isManaged','Reference','dataSource$','_registerIcons','then','transformChange$','max','onPointerDown','_rangeSelectMode','save','_configService','_deactivateDataUpdateAnimation','_chartElementEditMode','_applyActiveChartRuntimeZIndex','_config','beginPath','label','isDomReady','_initPrinting','setContextValue','defaultValues','_draw','isRender','startY','_pendingUrlImage','Pie','_initMenus','_cancelGesture','_shouldSuppressRender','labelId','isRowDirection','_componentManager','getMatrix','create','render','DRAWING_CHART','_pending','onload','focusDrawing','_notifyChartRemoved','has','rangeInfo$','Column','getParent','_getChartRenderSkipReason','isConnected','isElementEditModeActive','_getChartRenderObjectContext','invalidateSnapshot','allSeriesStyle','_getChartSnapshotKey','Pareto','scheduler','_suppressClick','_renderModelManager','indexOf','ChartStyle','hidePanel','getOwnPropertyDescriptor','_renderService','div','targetSubUnitId','fromEntries','matchMedia','52549Khabhh','decorate','Dom','_resolvedConfig','all','close','_getOrCreateSheetChartHost','getDrawingData','params','range','_bindChartPointerEvents','seriesId','chartEditorOpen','14373fiGfaN','_renderDebounceMap'];_0xbdb0=function(){return _0x52f390;};return _0xbdb0();}let Xi=class extends _0x32a96b{constructor(_0x51e8da,_0x40c9e4,_0x599b71,_0x533477){const _0x143326=_0x568f44;super(),this[_0x143326(0x42b)]=_0x51e8da,this[_0x143326(0x244)]=_0x40c9e4,this['_sheetPermissionCheckController']=_0x599b71,this[_0x143326(0x383)]=_0x533477,this['_initPermission']();}[_0x568f44(0x251)](){const _0x3f9534=_0x568f44;this[_0x3f9534(0x349)](this[_0x3f9534(0x42b)][_0x3f9534(0x292)](_0x2464a8=>{const _0x1f7971=_0x3f9534;let _0x1b07ad,_0x13652;if(_0x2464a8['id']===_0x48b185['id']){let _0x37dac1=_0x2464a8['params'];_0x1b07ad=_0x37dac1[_0x1f7971(0x45f)],_0x13652=_0x37dac1[_0x1f7971(0x206)];}else{if(_0x2464a8['id']===_0x58088e['id']||_0x2464a8['id']===_0x4c9a08['id']){let _0x5e0067=_0x2464a8[_0x1f7971(0x337)];_0x1b07ad=_0x5e0067[_0x1f7971(0x45f)],_0x13652=this['_sheetsChartService'][_0x1f7971(0x385)](_0x5e0067[_0x1f7971(0x45f)],_0x5e0067[_0x1f7971(0x1db)]);}}_0x1b07ad&&_0x13652&&(this[_0x1f7971(0x3a5)][_0x1f7971(0x347)]({'workbookTypes':[_0x306905],'worksheetTypes':[_0x33354a]},_0x1b07ad,_0x13652)||this[_0x1f7971(0x3a5)][_0x1f7971(0x214)](this['_localeService']['t'](_0x1f7971(0x28d))));}));}};Xi=J([q(0x0,_0x563aa6(_0x5729da)),q(0x1,_0x563aa6(_0x565815)),q(0x2,_0x563aa6(_0x30fb2d)),q(0x3,_0x563aa6(_0x42909b))],Xi);let Zi=class extends _0x32a96b{constructor(_0x2e6394,_0x752c6e){const _0x2e6b0e=_0x568f44;super(),this['_renderService']=_0x752c6e,this[_0x2e6b0e(0x349)](_0x2e6394[_0x2e6b0e(0x42d)](this));}['supports'](_0x29cc65){const _0x16cba8=_0x568f44;return _0x16cba8(0x45f)in _0x29cc65&&_0x16cba8(0x206)in _0x29cc65;}[_0x568f44(0x1e6)](_0x109e54,_0x5758c5){const _0x56a347=_0x568f44;return this[_0x56a347(0x32a)][_0x56a347(0x1e6)](_0x109e54[_0x56a347(0x2d6)](),_0x5758c5);}};Zi=J([q(0x0,_0x563aa6(_0xd103b1)),q(0x1,_0x563aa6(Y))],Zi);let Q=class extends _0x33d61d{constructor(_0x54ad50=Cr,_0x43b3ff,_0x344d38,_0x12fc17){const _0xd4ed51=_0x568f44;super(),this['_config']=_0x54ad50,this['_injector']=_0x43b3ff,this[_0xd4ed51(0x2f9)]=_0x344d38,this[_0xd4ed51(0x42b)]=_0x12fc17;let {..._0x197415}=_0x5b74ec({},Cr,this[_0xd4ed51(0x2fd)]);this[_0xd4ed51(0x2f9)][_0xd4ed51(0x46b)](Sr,_0x197415),this[_0xd4ed51(0x28b)]();}[_0x568f44(0x26c)](){const _0x7d9b7=_0x568f44;let _0x3164a8=[[qi],[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[Ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x4ca6b2=[[qi],[Ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];_0x3164a8[_0x7d9b7(0x3ac)](_0x2b12fb=>this[_0x7d9b7(0x486)][_0x7d9b7(0x371)](_0x2b12fb)),_0x1479f7(this[_0x7d9b7(0x486)],_0x4ca6b2);}[_0x568f44(0x35f)](){const _0x566c4c=_0x568f44;var _0x3b3ead;(_0x3b3ead=this['_injector'][_0x566c4c(0x37e)](Ji))==null||_0x3b3ead['initPanel']();}[_0x568f44(0x28b)](){const _0x447af9=_0x568f44;[W,U][_0x447af9(0x3ac)](_0x27cc6b=>this[_0x447af9(0x349)](this['_commandService'][_0x447af9(0x1d6)](_0x27cc6b)));}};G(Q,_0x568f44(0x2b9),_0x1878f2['UNIVER_SHEET']),G(Q,_0x568f44(0x435),_0x568f44(0x233)),G(Q,'packageName',Mi),G(Q,'version',Ni),Q=J([_0x35d89e(_0x34a976,_0x2d7235,_0x300fdb,_0x2c14ef,_0x56fa26,_0xc4c0b6,_0x3db818,_0x308d50,_0xe8fbb,_0x1d0c0d),q(0x1,_0x563aa6(_0x363c1f)),q(0x2,_0x4fc0b3),q(0x3,_0x5729da)],Q);const Qi={'scaleX':0x1,'scaleY':0x1};function $i(_0x36350f){const _0x591747=_0x568f44;let _0x514543=_0x36350f[_0x591747(0x425)];return _0x514543 instanceof MouseEvent?_0x514543:void 0x0;}function ea(_0x4713cb){const _0x35d1d6=_0x568f44;let _0x591ab6=_0x4713cb[_0x35d1d6(0x425)],_0xba8e2e=_0x591ab6==null?void 0x0:_0x591ab6[_0x35d1d6(0x33f)];return _0xba8e2e instanceof Element?_0xba8e2e:void 0x0;}function ta(_0x3fde51){const _0x21ebf5=_0x568f44;var _0x407e1c;return(_0x407e1c=ea(_0x3fde51))==null?void 0x0:_0x407e1c[_0x21ebf5(0x2be)]();}function na(_0x500806){const _0x317d97=_0x568f44;return _0x500806[_0x317d97(0x1cf)]||_0x500806[_0x317d97(0x2c6)]-_0x500806[_0x317d97(0x242)];}function ra(_0x4d34d9){const _0x1df560=_0x568f44;return _0x4d34d9[_0x1df560(0x2b0)]||_0x4d34d9['bottom']-_0x4d34d9[_0x1df560(0x382)];}function ia(_0x21ad6e,_0x2d0f62){const _0x1e535b=_0x568f44;let _0x2a01bb=_0x21ad6e['clientWidth']||(_0x21ad6e instanceof HTMLElement?_0x21ad6e[_0x1e535b(0x1f5)]:0x0),_0x5db444=_0x21ad6e[_0x1e535b(0x25b)]||(_0x21ad6e instanceof HTMLElement?_0x21ad6e['offsetHeight']:0x0),_0x405e2d=na(_0x2d0f62),_0x12ea39=ra(_0x2d0f62);return{'scaleX':_0x2a01bb>0x0&&_0x405e2d>0x0?_0x405e2d/_0x2a01bb:Qi[_0x1e535b(0x455)],'scaleY':_0x5db444>0x0&&_0x12ea39>0x0?_0x12ea39/_0x5db444:Qi[_0x1e535b(0x438)]};}function aa(_0x5bc136,_0x4e536b,_0x404ea5){const _0xba87f3=_0x568f44;return{'left':_0x5bc136[_0xba87f3(0x242)]+_0x4e536b[_0xba87f3(0x242)]*_0x404ea5[_0xba87f3(0x455)],'right':_0x5bc136[_0xba87f3(0x242)]+_0x4e536b[_0xba87f3(0x2c6)]*_0x404ea5[_0xba87f3(0x455)],'top':_0x5bc136[_0xba87f3(0x382)]+_0x4e536b[_0xba87f3(0x382)]*_0x404ea5[_0xba87f3(0x438)],'bottom':_0x5bc136[_0xba87f3(0x382)]+_0x4e536b['bottom']*_0x404ea5['scaleY']};}function oa(_0x149fe4){const _0x5ceb20=_0x568f44;let _0x53fba8=ea(_0x149fe4),_0x418a30=_0x149fe4[_0x5ceb20(0x478)][_0x5ceb20(0x462)];if(_0x53fba8&&_0x418a30){let _0x3c2f10=_0x53fba8[_0x5ceb20(0x2be)]();return()=>{const _0x35c786=_0x5ceb20;let _0x3ccbc3=_0x53fba8['getBoundingClientRect']();return(_0x53fba8[_0x35c786(0x31c)]||na(_0x3ccbc3)>0x0||ra(_0x3ccbc3)>0x0)&&(_0x3c2f10=_0x3ccbc3),aa(_0x3c2f10,_0x418a30,ia(_0x53fba8,_0x3c2f10));};}return()=>{const _0x32b3eb=_0x5ceb20;let _0x4feec5=ta(_0x149fe4);if(_0x4feec5&&_0x418a30)return aa(_0x4feec5,_0x418a30,_0x53fba8?ia(_0x53fba8,_0x4feec5):Qi);let _0x298cae=$i(_0x149fe4),_0x20233b=_0x53fba8&&_0x4feec5?ia(_0x53fba8,_0x4feec5):Qi,_0x21e33e=(_0x298cae==null?void 0x0:_0x298cae[_0x32b3eb(0x225)])??(_0x4feec5?_0x4feec5[_0x32b3eb(0x242)]+_0x149fe4[_0x32b3eb(0x3da)]['x']*_0x20233b[_0x32b3eb(0x455)]:_0x149fe4['localPoint']['x']),_0x5cbf64=(_0x298cae==null?void 0x0:_0x298cae[_0x32b3eb(0x350)])??(_0x4feec5?_0x4feec5['top']+_0x149fe4[_0x32b3eb(0x3da)]['y']*_0x20233b[_0x32b3eb(0x438)]:_0x149fe4[_0x32b3eb(0x3da)]['y']);return{'left':_0x21e33e,'right':_0x21e33e+0x1,'top':_0x5cbf64,'bottom':_0x5cbf64+0x1};};}function sa(_0x5dcc58){const _0x428fb1=_0x568f44;return typeof _0x5dcc58==_0x428fb1(0x3a6)&&Number[_0x428fb1(0x395)](_0x5dcc58);}function ca(_0x9c62d6){if(!_0x9c62d6||typeof _0x9c62d6!='object')return!0x0;let {startX:_0x200f93,endX:_0x53f694,startY:_0x38d24b,endY:_0x5b01e5}=_0x9c62d6;return!sa(_0x200f93)||!sa(_0x53f694)||!sa(_0x38d24b)||!sa(_0x5b01e5)||_0x53f694-_0x200f93>0x2&&_0x5b01e5-_0x38d24b>0x2;}function la(_0x46be9a){const _0x314989=_0x568f44;return _0x46be9a[_0x314989(0x2c6)]<=_0x46be9a[_0x314989(0x242)]||_0x46be9a[_0x314989(0x2db)]<=_0x46be9a[_0x314989(0x382)]?!0x1:typeof window>'u'||_0x46be9a['right']>0x0&&_0x46be9a[_0x314989(0x2db)]>0x0&&_0x46be9a[_0x314989(0x242)]<window[_0x314989(0x232)]&&_0x46be9a[_0x314989(0x382)]<window[_0x314989(0x1dd)];}function ua(_0x250811){var _0x3adabf;return _0x250811==null||(_0x3adabf=_0x250811['getValue'])==null?void 0x0:_0x3adabf['call'](_0x250811);}function da(_0x43999f,_0x2da12d,_0x8ef709){const _0x1911d0=_0x568f44;let _0x5469ef=oa(_0x43999f),_0x4093a1=ua(_0x2da12d),_0x3e9fb7=_0x5469ef(),_0x77e33c=new _0x5e4432(_0x3e9fb7),_0x4db202=new _0x3b9cf9(),_0x21c1a0=!0x1,_0x323e06=!0x1,_0x23a780=_0xadd0e0=>ca(_0x4093a1)&&la(_0xadd0e0),_0x49759a=()=>{_0x323e06||_0x21c1a0||(_0x323e06=!0x0,queueMicrotask(()=>{const _0x1ea587=_0x1779;if(_0x323e06=!0x1,!_0x21c1a0){let _0x2a7919=_0x5469ef();if(!_0x23a780(_0x2a7919)){_0x8ef709();return;}_0x77e33c[_0x1ea587(0x3f1)](_0x2a7919);}}));};return _0x2da12d&&_0x4db202['add'](_0x2da12d[_0x1911d0(0x21f)](_0x2c4072=>{_0x4093a1=_0x2c4072,_0x49759a();})),typeof window<'u'&&_0x4db202[_0x1911d0(0x371)](_0x22c62d(_0x11e0c5(window,_0x1911d0(0x234),{'capture':!0x0}),_0x11e0c5(window,'resize'))[_0x1911d0(0x277)](_0x109990(0x10))[_0x1911d0(0x21f)](_0x49759a)),{'initialRect':_0x3e9fb7,'anchorRect$':_0x77e33c[_0x1911d0(0x298)](),'visible':_0x23a780(_0x3e9fb7),'dispose':()=>{const _0x6345fc=_0x1911d0;_0x21c1a0=!0x0,_0x4db202[_0x6345fc(0x3d3)](),_0x77e33c[_0x6345fc(0x1bc)]();}};}const fa='sheets-chart-element-float-menu';let pa=class extends _0x32a96b{constructor(_0x289cd8,_0x18608a,_0x2518d1,_0x42d881,_0x263cc4,_0x59da4f,_0x2b0f35,_0x268395,_0x27d40a){const _0x4498e1=_0x568f44;super(),this[_0x4498e1(0x3bf)]=_0x289cd8,this[_0x4498e1(0x36d)]=_0x18608a,this['_chartHostProvider']=_0x2518d1,this[_0x4498e1(0x48e)]=_0x42d881,this[_0x4498e1(0x40b)]=_0x263cc4,this[_0x4498e1(0x270)]=_0x59da4f,this[_0x4498e1(0x291)]=_0x2b0f35,this[_0x4498e1(0x42b)]=_0x268395,this[_0x4498e1(0x486)]=_0x27d40a,G(this,_0x4498e1(0x2df),null),G(this,_0x4498e1(0x24e),null),G(this,_0x4498e1(0x263),null),this[_0x4498e1(0x29b)](),this['_subscribeChartEvents']();}['dispose'](){const _0x1384a2=_0x568f44;this[_0x1384a2(0x2e2)](),super['dispose']();}[_0x568f44(0x29b)](){const _0x4e4f5c=_0x568f44;let _0x4032c1=_0x3ef70c({'chartUIService':this[_0x4e4f5c(0x270)],'getHostAdapter':_0x32a94d=>{const _0x535322=_0x4e4f5c;let _0x7a54ce=this[_0x535322(0x3bf)][_0x535322(0x250)](_0x32a94d[_0x535322(0x43d)]);if(_0x7a54ce&&_0x32a94d[_0x535322(0x206)])return new _0x31f947(_0x7a54ce,new _0x212bb6({'unitId':_0x32a94d[_0x535322(0x45f)],'subUnitId':_0x32a94d[_0x535322(0x206)],'chartId':_0x32a94d[_0x535322(0x43d)],'injector':this[_0x535322(0x486)]}));},'close':()=>this[_0x4e4f5c(0x2e2)](),'openFullPanel':_0x5dea27=>{const _0x44d567=_0x4e4f5c;let {unitId:_0x4ddd15,subUnitId:_0x4c36cd,drawingId:_0x4e5101,chartId:_0x38cba5}=_0x5dea27,_0x4186ea=_0x453d33(_0x5dea27['target']);this[_0x44d567(0x42b)][_0x44d567(0x1f7)](U['id'],{'unitId':_0x4ddd15,'subUnitId':_0x4c36cd??'','drawingId':_0x4e5101??_0x38cba5,..._0x4186ea?{'route':_0x4186ea}:{}});}});this[_0x4e4f5c(0x349)](this[_0x4e4f5c(0x291)][_0x4e4f5c(0x42d)](fa,_0x4032c1));}[_0x568f44(0x459)](){const _0x24b98a=_0x568f44;this['disposeWithMe'](this[_0x24b98a(0x3bf)][_0x24b98a(0x452)][_0x24b98a(0x21f)](_0x39b8f7=>{const _0x1a6b79=_0x24b98a;let _0x4107ff=new _0x3b9cf9();_0x4107ff[_0x1a6b79(0x371)](this[_0x1a6b79(0x36d)]['on'](_0x39b8f7['id'],'click',_0x3041c5=>{this['_openFloatMenu'](_0x39b8f7['id'],_0x3041c5);})),_0x4107ff[_0x1a6b79(0x371)](this[_0x1a6b79(0x36d)]['on'](_0x39b8f7['id'],_0x1a6b79(0x289),()=>{const _0x210a5e=_0x1a6b79;this[_0x210a5e(0x41c)](_0x39b8f7['id']);})),_0x39b8f7['onDispose'](()=>{const _0x555158=_0x1a6b79;_0x4107ff[_0x555158(0x3d3)](),this[_0x555158(0x345)](_0x39b8f7['id']);}),this[_0x1a6b79(0x349)](_0x4107ff);})),this[_0x24b98a(0x349)](_0x4d9f86([this[_0x24b98a(0x3bf)][_0x24b98a(0x46a)],this[_0x24b98a(0x270)][_0x24b98a(0x343)]])[_0x24b98a(0x21f)](([_0x49fb20,_0xf28883])=>{const _0x110bd8=_0x24b98a;(!_0xf28883||this['_popupChartId']&&(_0x49fb20==null?void 0x0:_0x49fb20['id'])!==this[_0x110bd8(0x24e)])&&this[_0x110bd8(0x2e2)]();})),this[_0x24b98a(0x349)](this['_sheetCanvasFloatDomManagerService'][_0x24b98a(0x2f4)]['subscribe'](({id:_0x4c42fa})=>{this['_clearSelectedTarget'](_0x4c42fa);})),this[_0x24b98a(0x349)](this[_0x24b98a(0x40b)][_0x24b98a(0x1c7)][_0x24b98a(0x21f)](({id:_0x38aff7})=>{this['_clearSelectedTarget'](_0x38aff7);})),this[_0x24b98a(0x349)](this['_chartHostProvider'][_0x24b98a(0x276)][_0x24b98a(0x21f)](_0xe4bc2f=>{const _0x394062=_0x24b98a;this[_0x394062(0x345)](_0xe4bc2f);}));}[_0x568f44(0x41c)](_0x7255e8){const _0x17fc86=_0x568f44;if(this[_0x17fc86(0x270)][_0x17fc86(0x33b)])return;let _0x1c88d9=this[_0x17fc86(0x3bf)][_0x17fc86(0x250)](_0x7255e8),_0x1bc586=this[_0x17fc86(0x40b)]['getFloatDomInfo'](_0x7255e8);_0x1c88d9&&_0x1bc586&&this[_0x17fc86(0x42b)]['executeCommand'](U['id'],{'unitId':_0x1bc586['unitId'],'subUnitId':_0x1bc586[_0x17fc86(0x206)]??'','drawingId':_0x7255e8});}[_0x568f44(0x357)](_0x3b7246,_0x37cc75){const _0x567208=_0x568f44;if(!this[_0x567208(0x270)][_0x567208(0x31d)](_0x3b7246))return;let _0x409ba0=this['_chartModelService'][_0x567208(0x250)](_0x3b7246),_0x1d314e=_0x409ba0?Gr(_0x409ba0,_0x37cc75[_0x567208(0x478)]):void 0x0;if(!_0x1d314e){this[_0x567208(0x270)][_0x567208(0x1c4)](),this[_0x567208(0x2e2)]();return;}let _0x55f6ed=this['_sheetCanvasFloatDomManagerService'][_0x567208(0x275)](_0x3b7246);if(!_0x409ba0||!_0x55f6ed){this[_0x567208(0x270)][_0x567208(0x1c4)](),this[_0x567208(0x2e2)]();return;}let _0x4e3561=JSON['stringify']([_0x55f6ed[_0x567208(0x45f)],_0x55f6ed[_0x567208(0x206)],_0x3b7246,_0x1d314e['target']]);if(this[_0x567208(0x2df)]&&this[_0x567208(0x263)]===_0x4e3561||(this[_0x567208(0x270)][_0x567208(0x45c)](_0x3b7246,_0x1d314e[_0x567208(0x27e)]),this['_closePopup'](),!_0x1d314e[_0x567208(0x35c)]))return;let _0xcb1576=da(_0x37cc75,_0x55f6ed[_0x567208(0x364)],()=>this[_0x567208(0x415)](_0x3b7246));if(!_0xcb1576['visible']){_0xcb1576['dispose']();return;}let _0x503eaf=this[_0x567208(0x48e)][_0x567208(0x3ef)](_0xcb1576[_0x567208(0x3b1)],_0xcb1576[_0x567208(0x394)],{'componentKey':_0xeabddf,'constrainToCanvas':!0x0,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x55f6ed['unitId'],'subUnitId':_0x55f6ed[_0x567208(0x206)],'chartId':_0x3b7246,'drawingId':_0x3b7246,'element':_0x37cc75[_0x567208(0x478)],'target':_0x1d314e[_0x567208(0x33f)],'adapterKey':fa}},_0x55f6ed[_0x567208(0x45f)],_0x55f6ed['subUnitId'])??null;if(!_0x503eaf){_0xcb1576['dispose']();return;}let _0x500fd1=new _0x3b9cf9();_0x500fd1[_0x567208(0x371)](_0x503eaf),_0x500fd1['add'](_0xcb1576),this['_popupDisposable']=_0x500fd1,this[_0x567208(0x24e)]=_0x3b7246,this[_0x567208(0x263)]=_0x4e3561;}[_0x568f44(0x2e2)](){const _0x400913=_0x568f44;var _0x167bff;(_0x167bff=this[_0x400913(0x2df)])==null||_0x167bff[_0x400913(0x3d3)](),this['_popupDisposable']=null,this[_0x400913(0x24e)]=null,this['_popupSessionKey']=null;}[_0x568f44(0x345)](_0x1895ba){const _0x281dd2=_0x568f44;(this[_0x281dd2(0x270)][_0x281dd2(0x31d)](_0x1895ba)||this[_0x281dd2(0x24e)]===_0x1895ba)&&(this[_0x281dd2(0x270)][_0x281dd2(0x1c4)](),this[_0x281dd2(0x24e)]===_0x1895ba&&this[_0x281dd2(0x2e2)]());}[_0x568f44(0x415)](_0x4dc339){const _0x54224f=_0x568f44;this[_0x54224f(0x345)](_0x4dc339),this[_0x54224f(0x270)][_0x54224f(0x31d)](_0x4dc339)&&(this[_0x54224f(0x36d)]['setElementEditMode'](_0x4dc339,!0x1),this[_0x54224f(0x36d)]['setElementEditMode'](_0x4dc339,!0x0));}};pa=J([q(0x0,_0x563aa6(_0x813c91)),q(0x1,_0x563aa6(Y)),q(0x2,pi),q(0x3,_0x563aa6(_0x5608a1)),q(0x4,_0x563aa6(_0x3a2ef5)),q(0x5,X),q(0x6,_0x563aa6(_0x3f448f)),q(0x7,_0x5729da),q(0x8,_0x563aa6(_0x363c1f))],pa);let ma=class extends _0x32a96b{constructor(_0x3f2145,_0x1ee2fb){const _0x508380=_0x568f44;super(),this['_componentManager']=_0x3f2145,this[_0x508380(0x2a5)]=_0x1ee2fb,this[_0x508380(0x2f2)](),this[_0x508380(0x248)]();}[_0x568f44(0x2f2)](){const _0x5c599f=_0x568f44;this[_0x5c599f(0x349)](this['_iconManager'][_0x5c599f(0x42d)]({'PenIcon':_0x2c239e}));}[_0x568f44(0x248)](){const _0x18be7f=_0x568f44;[[Ei,Ti]][_0x18be7f(0x3ac)](([_0x7abf53,_0x52dfa9])=>{const _0x351dc4=_0x18be7f;this['disposeWithMe'](this[_0x351dc4(0x30e)][_0x351dc4(0x42d)](_0x7abf53,_0x52dfa9));});}};ma=J([q(0x0,_0x563aa6(_0x20b208)),q(0x1,_0x563aa6(_0x4c37de))],ma);let $=class extends _0x33d61d{constructor(_0x5bee54=Cr,_0x45263e,_0x55835a,_0x211810){const _0x429f75=_0x568f44;super(),this[_0x429f75(0x2fd)]=_0x5bee54,this[_0x429f75(0x486)]=_0x45263e,this[_0x429f75(0x2f9)]=_0x55835a,this[_0x429f75(0x42b)]=_0x211810,G(this,'_resolvedConfig',void 0x0);let {..._0x1d8284}=_0x5b74ec({},Cr,this['_config']);this[_0x429f75(0x332)]=_0x1d8284,this[_0x429f75(0x2f9)][_0x429f75(0x46b)](Sr,_0x1d8284),this[_0x429f75(0x28b)]();}['onStarting'](){const _0x66f224=_0x568f44;this[_0x66f224(0x486)]['add']([ma]),this[_0x66f224(0x486)][_0x66f224(0x37e)](ma);let _0x21a370=this[_0x66f224(0x486)],_0x522741=[[X,{'useClass':_i}],[pi,{'useClass':fi}],[ii],[Y],[Zi],[ji],[Pi],[Fi],[Yi],[Vi],[Xi]],_0x240f33=[[ji],[Fi],[Pi],[Zi],[X],[Yi],[Vi],[Xi]];this[_0x66f224(0x332)][_0x66f224(0x253)]&&(_0x522741['push']([pa]),_0x240f33[_0x66f224(0x3f5)]([pa])),_0x522741[_0x66f224(0x3ac)](_0x46d216=>_0x21a370[_0x66f224(0x371)](_0x46d216)),_0x1479f7(this[_0x66f224(0x486)],_0x240f33);}['onRendered'](){const _0x4f57f4=_0x568f44;var _0x301748;(_0x301748=this[_0x4f57f4(0x486)][_0x4f57f4(0x37e)](ji))==null||_0x301748[_0x4f57f4(0x3aa)]();}[_0x568f44(0x28b)](){const _0x2b7d9a=_0x568f44;[W,Dr,Or,kr,Ar,U,wr][_0x2b7d9a(0x3ac)](_0x2d70f1=>this['disposeWithMe'](this[_0x2b7d9a(0x42b)][_0x2b7d9a(0x1d6)](_0x2d70f1)));}};G($,_0x568f44(0x2b9),_0x1878f2[_0x568f44(0x352)]),G($,_0x568f44(0x435),_0x568f44(0x233)),G($,_0x568f44(0x388),Mi),G($,_0x568f44(0x209),Ni),$=J([_0x35d89e(_0x34a976,_0x2d7235,_0x300fdb,_0x2c14ef,_0x56fa26,_0x68f4d6,_0x3db818,_0x58f807,_0x1bb619),q(0x1,_0x563aa6(_0x363c1f)),q(0x2,_0x4fc0b3),q(0x3,_0x5729da)],$);export{U as ChartOpenPanelOperation,Y as ChartRenderService,X as ISheetsChartUIService,Sr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,ji as SheetsChartUIController,Hr as SheetsChartUIMenuSchema,_i as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,da as createChartElementPopupAnchorObserver};
|